@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202507031607 → 0.8.3

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3350ee=_0x1c0e;(function(_0x25c95e,_0x10ff52){const _0x507166=_0x1c0e,_0x355c65=_0x25c95e();while(!![]){try{const _0x37019a=-parseInt(_0x507166(0x2a0))/0x1+-parseInt(_0x507166(0x2e4))/0x2*(-parseInt(_0x507166(0x3cf))/0x3)+-parseInt(_0x507166(0x23e))/0x4+-parseInt(_0x507166(0x346))/0x5+-parseInt(_0x507166(0x329))/0x6+-parseInt(_0x507166(0x3a5))/0x7*(parseInt(_0x507166(0x3bb))/0x8)+-parseInt(_0x507166(0x287))/0x9*(-parseInt(_0x507166(0x2b8))/0xa);if(_0x37019a===_0x10ff52)break;else _0x355c65['push'](_0x355c65['shift']());}catch(_0xa64d6d){_0x355c65['push'](_0x355c65['shift']());}}}(_0x4eef,0xa2ff8));var $t=Object['defineProperty'],xt=(_0xcb6357,_0x1f747c,_0x1f410c)=>_0x1f747c in _0xcb6357?$t(_0xcb6357,_0x1f747c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f410c}):_0xcb6357[_0x1f747c]=_0x1f410c,_=(_0xd55914,_0x451d0c,_0x29211c)=>xt(_0xd55914,typeof _0x451d0c!='symbol'?_0x451d0c+'':_0x451d0c,_0x29211c);import{MemberService as _0x8f15fe,SessionStatus as _0x4485c4,CollaborationSessionService as _0x57d112,CollaborationStatus as _0x1337fa,CollaborationController as _0x51086c,ILocalCacheService as _0x19286a,CollaborationUIEventService as _0x37324c,CollaborationUIEventId as _0x2c5209,DataLoaderService as _0x1b7b50,DocCollaborationEntity as _0xdadc9e,getLocalCacheKey as _0x8d4d31,LOCAL_CACHE_INTERVAL as _0x12b7f8,LOCAL_CACHE_INTERVAL_KEY as _0x1596f6,UniverCollaborationClientPlugin as _0x1f0be0,CollaborationSocketService as _0x1f07a6,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x28e3b7,DEFAULT_WS_SESSION_TICKET_URL as _0x4cafab,UnitStatus as _0x17933f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x451ce6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5ad6bd}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x564372,Disposable as _0x277380,DOC_RANGE_TYPE as _0xaaa1c3,Inject as _0x5b9fea,Injector as _0xe07722,IUniverInstanceService as _0x37335e,ICommandService as _0x9a1f4f,debounce as _0x589781,Rectangle as _0x16615c,DisposableCollection as _0x53b460,toDisposable as _0x51abd0,UniverInstanceType as _0x599392,Tools as _0x35f79a,COLORS as _0x1bdd54,ColorKit as _0xf51dd4,ThemeService as _0x1ac192,fromEventSubject as _0x28b627,LocaleService as _0x2f61f2,createIdentifier as _0x2375f3,ILogService as _0x31d277,Optional as _0x7ff9b4,Workbook as _0x85ab8,CommandType as _0x1ffa86,IConfigService as _0x43f505,ILocalStorageService as _0x4713b6,DependentOn as _0x709a12,Plugin as _0x5a18e9,merge as _0x31d225,registerDependencies as _0xfa818f,mergeOverrideWithDependencies as _0x235f79,touchDependencies as _0x25196e,generateRandomId as _0x2b9da4}from'@univerjs/core';import{Shape as _0xaacab3,Rect as _0x1798fe,getColor as _0x538c62,RegularPolygon as _0x1be097,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3ec496,Vector2 as _0x44ecfd,SHEET_VIEWPORT_KEY as _0x64cd97,IRenderManagerService as _0x116a5e}from'@univerjs/engine-render';import{ISocketService as _0x4aa9e6,WebSocketService as _0x148df0,HTTPService as _0x2c67ed}from'@univerjs/network';import{IDocClipboardService as _0x2508fe,NodePositionConvertToCursor as _0x342b2c,NodePositionConvertToRectRange as _0x31dc04,TEXT_RANGE_LAYER_INDEX as _0x127282,SetDocZoomRatioOperation as _0x3f44f0,DocIMEInputManagerService as _0x239fa5,DocStateChangeManagerService as _0x451348}from'@univerjs/docs-ui';import{IImageIoService as _0x313adf}from'@univerjs/drawing';import{BehaviorSubject as _0x51a311,debounceTime as _0x2a7835,takeUntil as _0x51006e,Subject as _0x56c3ac,filter as _0x288981,switchMap as _0x46ff19,merge as _0x39d129,combineLatest as _0x14c56a,of as _0x1c14c3,fromEvent as _0xce820a,shareReplay as _0x350f4b,mapTo as _0x47598b,distinctUntilChanged as _0x2f42df}from'rxjs';import{ITransformService as _0x14f44f,CollaborationEvent as _0x3681b9,isTransformMutationFailure as _0x3aa2b1,isTransformMutationsWithChangesetSuccess as _0x79a16d,RevisionService as _0x5ef66c,ISnapshotServerService as _0x31d7eb}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x523d67,RichTextEditingMutation as _0x15b8a1,DocSelectionManagerService as _0x4ab227,DocSkeletonManagerService as _0x124b3c}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1cd16d,serializeRangeWithSheet as _0x13a25d}from'@univerjs/engine-formula';import{RefRangeService as _0x51dde3,SetSelectionsOperation as _0x4daa90,SheetsSelectionsService as _0x344184,EffectRefRangId as _0x519fb7,handleIRemoveRow as _0x5ee20f,handleIRemoveCol as _0x2f3df6,handleMoveRange as _0x1917a0,handleInsertRow as _0x376461,handleInsertRangeMoveRight as _0x6dc56e,handleInsertRangeMoveDown as _0xe4caaa,handleInsertCol as _0x14cbd2,handleDeleteRangeMoveUp as _0xf377c7,handleDeleteRangeMoveLeft as _0x28e58d,runRefRangeMutations as _0x5be300,SetWorksheetActivateCommand as _0x276a61}from'@univerjs/sheets';import{map as _0x5df5f6,filter as _0x491b95,throttleTime as _0x91a135,takeUntil as _0x372aa4,switchMap as _0xd94b8e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4ca43c,getCoordByCell as _0x9d7f7d,getSheetObject as _0x3e2b1c}from'@univerjs/sheets-ui';import{jsx as _0x11b2d1,jsxs as _0x3706b2}from'react/jsx-runtime';import{useObservable as _0x44c8cb,useDependency as _0x49d892,IUIPartsService as _0x33d21e,BuiltInUIPart as _0xbf09f1,connectInjector as _0x3f9823,IBeforeCloseService as _0x2fe75a,IMessageService as _0x49ee68,INotificationService as _0xc8d2ba}from'@univerjs/ui';import{Tooltip as _0x1c329d,clsx as _0x5c46ee,MessageType as _0x63ad23}from'@univerjs/design';import{forwardRef as _0x55dba7,useRef as _0x5a49cc,createElement as _0xd83ebb,useCallback as _0x2744b3}from'react';function _0x4eef(){const _0x573104=['getTypeOfUnitDisposed$','replace','error','attrs','color','range','off-line-icon_clip0_910_343','unshift','_scene','fillText','setInterval','onCommandExecuted','unit','transformSelections','YUUMI_RATE_OVER_LIMIT','APPLY_PERMISSION_DENIED','invokeId','transformMutation','[RemoteUniscriptService]:\x20no\x20focused\x20unit','round','collabStatus.notCollab','ONLINE','_cursorShapes','7633782GPeLrE','UNIVER_DOC','_refRangeService','ALREADY_EXISTS','_onRefRangeChange','INVALID_ARGUMENT','_unitStatus','onLocalMutation','_drawRectRange','svg','registerComponent','urlChange$','call','roomMembers','TEXT','has','key','0\x200\x2016\x2016','resize','ACTIVE_UNIT_EVENT_CHANNEL','with','selections','MOBILE_VERIFY_CODE_MISMATCH','_labelPosition','CHANGESET_REVISION_CONFILICT','from','_configService','[CollaborationDataLoaderController]','bottom','4017305wiPwHa','clipPath','_handleHover','dispose$','displayName','_doCreateSocket','_docStateChangeManagerService','_cursor','http://www.w3.org/2000/svg','1em','getTypeOfUnitAdded$','tag','SNAPSHOT_INVALID_SNAPSHOT','_anchor','_cachedData','_univerInstanceService','_collabCursorState$','collaboration.closeRoom','_urlService','_unitOnClients','APPLY_DUPLICATED','column','ranges','transformRemoteChangeset','WECHAT_HAS_BEEN_BOUND','_renderManagerService','m1Prime','removeParam','transformIMECache','FromArray','syncEditingCollabCursor','_startDocCollabCursor','_context','roomMembers$','YUUMI_ASYNCIO_CANCELLED','_getSessionTicket','setItem','memberID','yellow.400','DeleteRangeMoveUpCommandId','lineTo','_config','_hideTimer','colorChannel1','session.will-retry','_online','LOGIN_FAILED','editingUnit','getValue','_collabSessionService','stringify','className','getRelativeToViewportCoord','_cursors','INVITE_CODE_REQUIRED','CONNECTOR_DATA_TOO_LARGE','_instanceService','dispose','SUBMIT_CHANGESET_TIMEOUT','_docSkeletonManagerService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','length','_messageService','enableLocalCache','OFFLINE','forEach','_session','getCurrentUnitForType','/run/','YUUMI_AI_RUN_FAILED','collaboration.single-unit.warning','generateRandomId','_docTransformIMECacheService','setConfig','_saveCache','purple.300','_backgroundColor','MOBILE_HAS_BEEN_BOUND','hasOwnProperty','getUnitId','INTERNAL_ERROR','save','clearInterval','show','InsertRangeMoveRightCommandId','_removeCollabCursors','concat','AWAITING_WITH_PENDING','onPointerLeave$','_ensureSubject','split','_colorAssignService','currentSkeleton$','NO_OTHER_CLIENTS_EDITING','_uiPartsService','1512BVdsSy','addHandlerCallback','uni.network.url-service','white','getCurrentSelections','_initStatusComponent','LICENSE_DISTRO_REJECTED','_handleJoinEvent','LICENSE_MAX_UNITS_EXCEEDED','_initStatusListener','UNAUTHENTICATED','findNodePositionByCharIndex','url(#on-line-icon_clip0_910_349)','_getMergeRange','OTHER_CLIENT_EDITING','toRgbString','getItem','onTransformChange$','docStateChange$','_toggleOnline','application/json','registerRefRange','17672dHpfMz','_scheduleClearOtherTimer','collabStatus.fetchMiss','INVALID_INVITE_CODE','parse','current','substring','_transformService','_draw','getOwnPropertySymbols','UPDATE_CURSOR','params','subscribeEvent','_themeService','loadUnit','search','values','session.connection-failed','collabStatus.offline','_updateLocalCursor','12021RomlyI','_logService','YUUMI_CONNECTOR_URL_NOT_FOUND','reconnect','xlink:href','fillRule','get','_notificationService','RemoveColCommandId','_refreshCollabCursors','getCellPositionByOffset','getAncestorScale','setShapeProps','subUnitId','sheetID','getSheetId','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','unload','_heartbeatTimer','replaceDocRanges','addClipboardHook','_transformHistoryAndStateStack','debug','setStateCache','CLOSE_ROOM','_revisionService','SYNCED','isArray','on-line-icon','getSkeleton','init','unitId','row','endRow','_docTransformStateCacheService','setTimeout','_id','getRangePointData','setAlpha','deepClone','redoState','some','_init','_beforeCloseService','getParam','LICENSE_EXPORT_SIZE_EXCEEDED','doc.mutation.rich-text-editing','_updateCollabCursors','skeleton','getVpScrollXYInfoByPosToVp','_onCursorUpdate','TOO_MANY_REQUESTS','history','delete','_disabled','USERS_LEAVE','INVITE_CODE_HAS_BEEN_UES','YUUMI_UNABLE_LOAD_URL','InsertRowCommandId','clearTimeout','endColumn','getUniverSheetInstance','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collaborationController','OnLineIcon','getViewport','_registerRenderDependencies','_roomMembers$','InsertRangeMoveDownCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univerjs-icon\x20univerjs-icon-','_startSheetCollabCursor','collabCursorState$','add','random','none','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','saveTaskMap','fillStyle','getUndoRedoMutationParamsCache','_registerDependencies','cursorInfo$','OTHER_CLIENTS_EDITING','Warning','body','toString','USER_NOT_INVITED_CODE','wsSessionTicketUrl','actions','_initEntityListener','M0\x200H16V16H0z','contains','post','function','startRow','getConfig','data','pipe','_docTransformSelectionsService','_drawAnchor','activeSheet$','sheetId','DeleteRangeMoveLeftCommandId','status$','getMember','createInstance','executionId','onRendered','mutations','_send','executeCommand','updateOfflineData','href','_docClipboardService','_hovered','_localCacheService','SOCKET_FAILED_RETRY','_name','CONFLICT','min','Unknown\x20user','COMPLETION_FINISHED','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_FAILED','currentTheme$','icon','_hover','replaceState','848856tOySQJ','YUUMI_NO_CUBOID_FOR_QUESTION','_cursorInfo$','collabStatus.syncing','name','defs','_color','isActive','_handleHeartbeatEvent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REJECT','MUTATION','on-line-icon_clip0_910_349','runId','getOwnPropertyDescriptor','all','disableLocalCache','_onCursorDelete','unitID','setActiveRange','_initCommandExecutedListener','_handleLeaveEvent','_transformPreviousActiveRange','_getAnchorBounding','div','popstate','restore','event$','hide','size','children','_localeService','_imageIoService','_textBubble','_httpService','isEditing','_createSocketURL','univer-mr-2\x20univer-flex\x20univer-text-xl','saveImage','_entities','_memberService','_initDependencies','storage','complete','FETCH_MISS','Error','set','fill','_initEvent','EMAIL_HAS_BEEN_BOUND','black','InsertColCommandId','evenodd','_render','collaboration-client-ui.config','_sheetSkeletonManagerService','asObservable','transformByState','onPointerEnter$','getColorFromTheme','height','_initResize','_collabCursorController','rgba(255,\x20255,\x20255,\x200.01)','getRenderById','collaboration-client.offline-data-not-saved','sessionTicket','_lastPointer','_transformUndoRedoStack','includes','_status$','_colorIndex','_shapes','22122WJErnH','collab-client.tooltip.reconnect','triggerDblclick','push','text','Failed','_commandService','ENSURE_SNAPSHOT_EXECUTION','beginPath','assignAColorForMemberID','entries','getUnitStatus$','measureText','APPLY_REVISION_CONFILICT','subunit','RECT','location','requireSession','UNIVER_SHEET','next','defIds','undoState','_removeClearOtherTimer','_getSheetObject','addObject','616052tXNTOe','OffLineIcon','engine','getFocusedUnit','...','_toggleOffline','sessionStatus$','getCurrentRevOfUnit','_handleEvent','_getScale','getCollabEntity$','transformStateCache','width','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','saveOfflineData','assign','addObjects','map','idSuffix','session.collaboration-timeout','_updateSubUnitFromURLParams','getUnhiddenWorksheets','_clearOtherTimers','drawWith','15070IJbYkK','searchParams','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','disposeWithMe','_syncEditingCollabCursorService','setParam','top','eventID','string','getMemberID','UNRECOGNIZED','_scheduleHeartbeat','_localStorageService','_entityInit$','textRanges','collabStatus.synced','off-line-icon','EMAIL_VERIFY_CODE_MISMATCH','trim','onStarting','_getSaveTimeout','onPointerMove$','collab-text-anchor-','mask','PENDING','_scheduleSaving','url(#$1','whenReady','SOCKET_FAILED','YUUMI_ALL_TABLES_IS_INVALID','getSheetBySheetId','PERMISSION_DENIED','permission.content','SNAPSHOT_HAS_BEEN_REMOVED','_range','UNDEFINED','HEADER_MENU','getStateCache','startColumn','blue.400','registerRenderModule','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','172HqftJL','use','INVITE_CODE_ALREADY_BOUND','origin','getDocRanges','_anchorDot','cursorInfo','createSocket','_assignedColors','getActiveSheet','AWAITING','_drawTextRange','getCollabCursors$','newValue','_injector','_updateURLWithCurrentState','MoveRangeCommandId','transformMutationsWithChangeset','_docSyncEditingCollabCursorService','path','_collaborationUIEventService','subscribe','PY_RUNTIME_SCRIPT_ERROR','green.600','_saveTaskMap','YUUMI_URL_COL_OUT_OF_RANGE','0\x200\x2017\x2016','type','send','_eventUnsubscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','then','_setupBeforeClosingHandler','entityInit$','transform','UniverIcon','LICENSE_IMPORT_SIZE_EXCEEDED','m2Prime','arc','propertyIsEnumerable','code','selection','NOT_COLLAB','jiqing.500','prototype','_selfUnitIDs'];_0x4eef=function(){return _0x573104;};return _0x4eef();}import{IRemoteInstanceService as _0x53192e}from'@univerjs/rpc';var ci=Object[_0x3350ee(0x24c)],li=(_0x2bb656,_0x456147,_0x412212,_0x237058)=>{const _0x4a2ec5=_0x3350ee;for(var _0x4b079f=_0x237058>0x1?void 0x0:_0x237058?ci(_0x456147,_0x412212):_0x456147,_0x84a9ef=_0x2bb656[_0x4a2ec5(0x383)]-0x1,_0x119612;_0x84a9ef>=0x0;_0x84a9ef--)(_0x119612=_0x2bb656[_0x84a9ef])&&(_0x4b079f=_0x119612(_0x4b079f)||_0x4b079f);return _0x4b079f;},Je=(_0x206c89,_0x1ecb46)=>(_0x56350e,_0x372366)=>_0x1ecb46(_0x56350e,_0x372366,_0x206c89);let Ne=class extends _0x564372{constructor(_0x2e3265,_0x32340f){const _0x111e07=_0x3350ee;super(),this[_0x111e07(0x22f)]=_0x2e3265,this[_0x111e07(0x25e)]=_0x32340f,this[_0x111e07(0x1e8)]();}[_0x3350ee(0x1e8)](){const _0x5db7fa=_0x3350ee,_0x1608c4=this;this['disposeWithMe'](this[_0x5db7fa(0x22f)][_0x5db7fa(0x3e3)]({'onBeforePasteImage':async _0xee7501=>{const _0x403fa4=_0x5db7fa,_0x4a87e5=await _0x1608c4[_0x403fa4(0x25e)][_0x403fa4(0x264)](_0xee7501);return _0x4a87e5?{'source':_0x4a87e5['source'],'imageSourceType':_0x4a87e5['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x2508fe),Je(0x1,_0x313adf)],Ne);const Ze=[_0x3350ee(0x391),_0x3350ee(0x30f),_0x3350ee(0x2fb),'red.300',_0x3350ee(0x2e1),_0x3350ee(0x36c)];class ke extends _0x277380{constructor(){const _0x3ed128=_0x3350ee;super(...arguments),_(this,_0x3ed128(0x2ec),new Map()),_(this,'_colorIndex',0x0);}[_0x3350ee(0x290)](_0x315260){const _0x5d99c3=_0x3350ee;if(this[_0x5d99c3(0x2ec)]['has'](_0x315260))return this[_0x5d99c3(0x2ec)][_0x5d99c3(0x3d5)](_0x315260);const _0x1d8465=Ze[this[_0x5d99c3(0x285)]];return this[_0x5d99c3(0x285)]=(this[_0x5d99c3(0x285)]+0x1)%Ze[_0x5d99c3(0x383)],this[_0x5d99c3(0x2ec)][_0x5d99c3(0x26c)](_0x315260,_0x1d8465),_0x1d8465;}}function Tt(_0x3df05f){const _0x319dd1=_0x3350ee;let _0x58494a='';for(const _0x44c03d of _0x3df05f){const {startOffset:_0x495924,endOffset:_0x4cf61b,isActive:_0x272d27,rangeType:_0x2ee1b4,segmentId:_0x5b4a09,segmentPage:_0x54deb8}=_0x44c03d;_0x58494a[_0x319dd1(0x383)]&&(_0x58494a+=','),_0x58494a+=_0x495924+':'+_0x4cf61b+':'+(_0x272d27?'1':'0')+':'+_0x2ee1b4+':'+_0x5b4a09+':'+_0x54deb8;}return _0x58494a;}function _i(_0x1cfc2b){const _0x30b3a2=_0x3350ee,_0x1f8d5a=_0x1cfc2b[_0x30b3a2(0x3a0)](','),_0x4d4ac3=[];for(const _0x4cb81f of _0x1f8d5a){const [_0x1a3de8,_0x18049f,_0x1a22ad,_0x435257,_0x16cff4,_0x3f68e5]=_0x4cb81f[_0x30b3a2(0x3a0)](':');_0x4d4ac3['push']({'startOffset':Number(_0x1a3de8),'endOffset':Number(_0x18049f),'collapsed':_0x1a3de8===_0x18049f,'isActive':_0x1a22ad==='1','rangeType':_0x435257===_0xaaa1c3[_0x30b3a2(0x337)]?_0xaaa1c3[_0x30b3a2(0x337)]:_0xaaa1c3[_0x30b3a2(0x296)],'segmentId':typeof _0x16cff4==_0x30b3a2(0x2c2)?String(_0x16cff4):'','segmentPage':Number(_0x3f68e5!=null?_0x3f68e5:-0x1)});}return _0x4d4ac3[_0x30b3a2(0x1e7)](_0x55d9e3=>_0x55d9e3[_0x30b3a2(0x245)])||(_0x4d4ac3[0x0][_0x30b3a2(0x245)]=!0x0),_0x4d4ac3;}class He extends _0x564372{constructor(){const _0x34c435=_0x3350ee;super(...arguments),_(this,_0x34c435(0x356),new _0x51a311(null)),_(this,_0x34c435(0x206),this[_0x34c435(0x356)][_0x34c435(0x276)]());}[_0x3350ee(0x364)](_0x1b9280){const _0x46ac59=_0x3350ee,{unitID:_0x856c89,memberID:_0x41445e,textRanges:_0x5d3dde}=_0x1b9280,_0x1bd553=Tt(_0x5d3dde);if(_0x1bd553==='')return;const _0x599fe2={'unitID':_0x856c89,'memberID':_0x41445e,'selection':_0x1bd553};this[_0x46ac59(0x356)][_0x46ac59(0x29a)](_0x599fe2);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x22f81f,_0x36279f,_0x4bff49,_0x4f5a71)=>{const _0x493f3e=_0x3350ee;for(var _0x1e5733=_0x4f5a71>0x1?void 0x0:_0x4f5a71?hi(_0x36279f,_0x4bff49):_0x36279f,_0x401f39=_0x22f81f[_0x493f3e(0x383)]-0x1,_0x2188cd;_0x401f39>=0x0;_0x401f39--)(_0x2188cd=_0x22f81f[_0x401f39])&&(_0x1e5733=_0x2188cd(_0x1e5733)||_0x1e5733);return _0x1e5733;},P=(_0x5cdaa9,_0x12b6fe)=>(_0x2068e4,_0x1165ef)=>_0x12b6fe(_0x2068e4,_0x1165ef,_0x5cdaa9);const di=0x12c,fi=0x64;let Ue=class extends _0x564372{constructor(_0xb2696,_0x274a4b,_0x2ad34f,_0x1dd567,_0x3f1f6b,_0x3d5d97,_0x2eb681,_0x3eb096,_0x23b022){const _0x1db212=_0x3350ee;super(),_(this,'_online',!0x1),_(this,_0x1db212(0x1e8),!0x1),_(this,_0x1db212(0x240),new _0x51a311(new Map())),_(this,_0x1db212(0x20f),this['_cursorInfo$'][_0x1db212(0x276)]()),_(this,_0x1db212(0x201),new _0x51a311([])),_(this,_0x1db212(0x367),this[_0x1db212(0x201)][_0x1db212(0x21f)](_0x2a7835(di))),_(this,_0x1db212(0x3ce),_0x589781(_0x55a916=>{const _0x3fb46e=_0x1db212,_0x2b78a6={'eventID':_0x3681b9[_0x3fb46e(0x3c5)],'data':{'unitID':this[_0x3fb46e(0x250)],'memberID':this[_0x3fb46e(0x388)][_0x3fb46e(0x2c3)](),'selection':Tt(_0x55a916)}};this[_0x3fb46e(0x388)][_0x3fb46e(0x300)](_0x2b78a6,this[_0x3fb46e(0x250)]);},fi)),(this[_0x1db212(0x250)]=_0xb2696,this[_0x1db212(0x388)]=_0x274a4b,this[_0x1db212(0x2f2)]=_0x2ad34f,this['_colorAssignService']=_0x1dd567,this[_0x1db212(0x266)]=_0x3f1f6b,this['_syncEditingCollabCursorService']=_0x3d5d97,this[_0x1db212(0x3c2)]=_0x2eb681,this['_univerInstanceService']=_0x3eb096,this[_0x1db212(0x28d)]=_0x23b022);}get[_0x3350ee(0x2ea)](){const _0x3af871=_0x3350ee;return this['_cursorInfo$'][_0x3af871(0x376)]();}get[_0x3350ee(0x336)](){const _0x1b188f=_0x3350ee;return this[_0x1b188f(0x201)][_0x1b188f(0x376)]();}[_0x3350ee(0x37f)](){const _0x162ab1=_0x3350ee;super[_0x162ab1(0x37f)](),this['_cursorInfo$'][_0x162ab1(0x29a)](new Map()),this[_0x162ab1(0x240)][_0x162ab1(0x269)](),this[_0x162ab1(0x201)][_0x162ab1(0x29a)]([]),this[_0x162ab1(0x201)][_0x162ab1(0x269)]();}[_0x3350ee(0x3ed)](){const _0x555b46=_0x3350ee;this['_init']||(this[_0x555b46(0x1e8)]=!0x0,this[_0x555b46(0x388)][_0x555b46(0x2a6)][_0x555b46(0x21f)](_0x51006e(this['dispose$']))[_0x555b46(0x2f9)](_0x5c8732=>{const _0x72fd15=_0x555b46;_0x5c8732===_0x4485c4[_0x72fd15(0x327)]?this[_0x72fd15(0x3b8)]():this[_0x72fd15(0x2a5)]();}),this[_0x555b46(0x388)][_0x555b46(0x259)][_0x555b46(0x21f)](_0x51006e(this[_0x555b46(0x349)]))[_0x555b46(0x2f9)](_0x56f46d=>{const _0x52393c=_0x555b46,_0x20e73f=_0x56f46d['eventID'];_0x20e73f===_0x3681b9['UPDATE_CURSOR']&&this[_0x52393c(0x1f0)](_0x56f46d),_0x20e73f===_0x3681b9['USERS_LEAVE']&&this['_onCursorDelete'](_0x56f46d);}),this[_0x555b46(0x2bd)](this[_0x555b46(0x28d)][_0x555b46(0x31d)](_0x12b7a6=>{const _0x4a7eaf=_0x555b46,_0x164f55=_0x12b7a6[_0x4a7eaf(0x3c6)];_0x164f55!=null&&this[_0x4a7eaf(0x373)]&&_0x12b7a6['id']===_0x523d67['id']&&_0x164f55[_0x4a7eaf(0x3ee)]===this['unitID']&&_0x164f55[_0x4a7eaf(0x261)]===!0x1&&_0x164f55[_0x4a7eaf(0x35c)][_0x4a7eaf(0x383)]>0x0&&this[_0x4a7eaf(0x3ce)](_0x164f55[_0x4a7eaf(0x35c)]);})),this[_0x555b46(0x2be)][_0x555b46(0x206)][_0x555b46(0x21f)](_0x51006e(this[_0x555b46(0x349)]))['subscribe'](_0x2bc971=>{const _0x1764e8=_0x555b46;if((_0x2bc971==null?void 0x0:_0x2bc971['unitID'])!==this[_0x1764e8(0x250)])return;const _0x1b204a={'eventID':_0x3681b9[_0x1764e8(0x3c5)],'data':_0x2bc971};this[_0x1764e8(0x1f0)](_0x1b204a);}),this[_0x555b46(0x2bd)](this['_commandService']['onCommandExecuted'](_0x3403e5=>{const _0x533429=_0x555b46;if(_0x3403e5[_0x533429(0x3c6)]==null)return;const _0x18f0a7=_0x3403e5[_0x533429(0x3c6)];if(_0x3403e5['id']!==_0x15b8a1['id']||_0x18f0a7['unitId']!==this[_0x533429(0x250)])return;const _0x27123a={'id':_0x533429(0x1ec),'params':_0x18f0a7},_0x4762a3=this[_0x533429(0x2ea)];for(const [_0x254855,_0x5ca86a]of _0x4762a3){const _0xa78cae={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x533429(0x250)],'actions':null,'textRanges':_0x5ca86a[_0x533429(0x35c)]}},_0x92b34b=this[_0x533429(0x3c2)]['transformMutation'](_0x27123a,_0xa78cae,!0x1);if(_0x3aa2b1(_0x92b34b))throw _0x92b34b[_0x533429(0x314)];_0x4762a3[_0x533429(0x26c)](_0x254855,{..._0x5ca86a,'ranges':_0x92b34b['m2Prime'][_0x533429(0x3c6)][_0x533429(0x2c8)]});}queueMicrotask(()=>{const _0x4a67d4=_0x533429;this[_0x4a67d4(0x240)][_0x4a67d4(0x29a)](_0x4762a3);});})));}[_0x3350ee(0x1f0)](_0x39fe3e){const _0x333802=_0x3350ee;var _0x237f5b,_0x2c6e42;const {memberID:_0x2d9826,selection:_0x5784c3}=_0x39fe3e['data'],_0x5b0c10=_i(_0x5784c3),_0x3616b5=(_0x2c6e42=(_0x237f5b=this[_0x333802(0x266)][_0x333802(0x226)](this['unitID'],_0x2d9826))==null?void 0x0:_0x237f5b[_0x333802(0x242)])!=null?_0x2c6e42:_0x333802(0x236),_0x119037={'color':this[_0x333802(0x3a1)][_0x333802(0x290)](_0x2d9826),'name':_0x3616b5,'ranges':_0x5b0c10},_0x3d8356=this[_0x333802(0x2ea)];_0x3d8356[_0x333802(0x26c)](_0x2d9826,_0x119037),this[_0x333802(0x240)][_0x333802(0x29a)](_0x3d8356);}[_0x3350ee(0x24f)](_0x1d4c90){const _0x35fd4f=_0x3350ee,{memberID:_0x56b9b6}=_0x1d4c90[_0x35fd4f(0x21e)],_0x4bc535=this['cursorInfo'];_0x4bc535[_0x35fd4f(0x1f3)](_0x56b9b6),this[_0x35fd4f(0x240)]['next'](_0x4bc535);}[_0x3350ee(0x3b8)](){const _0xf8e2ed=_0x3350ee;var _0x301f59;if(this[_0xf8e2ed(0x373)]=!0x0,((_0x301f59=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x301f59[_0xf8e2ed(0x395)]())!==this[_0xf8e2ed(0x250)])return;const _0x791c98=this[_0xf8e2ed(0x2f2)][_0xf8e2ed(0x3d5)](_0x4ab227)[_0xf8e2ed(0x2e8)]();Array['isArray'](_0x791c98)&&_0x791c98['length']>0x0&&this[_0xf8e2ed(0x3ce)](_0x791c98);}[_0x3350ee(0x2a5)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x5b9fea(_0xe07722)),P(0x3,_0x5b9fea(ke)),P(0x4,_0x5b9fea(_0x8f15fe)),P(0x5,_0x5b9fea(He)),P(0x6,_0x14f44f),P(0x7,_0x37335e),P(0x8,_0x9a1f4f)],Ue);var Si=Object[_0x3350ee(0x24c)],mi=(_0x431c11,_0x592e7a,_0x2e2ce3,_0x3eb8c9)=>{const _0x43fe91=_0x3350ee;for(var _0x5549ee=_0x3eb8c9>0x1?void 0x0:_0x3eb8c9?Si(_0x592e7a,_0x2e2ce3):_0x592e7a,_0x2468d6=_0x431c11[_0x43fe91(0x383)]-0x1,_0x48f879;_0x2468d6>=0x0;_0x2468d6--)(_0x48f879=_0x431c11[_0x2468d6])&&(_0x5549ee=_0x48f879(_0x5549ee)||_0x5549ee);return _0x5549ee;},x=(_0x34c4b0,_0x159271)=>(_0x1bb30e,_0x12a2a2)=>_0x159271(_0x1bb30e,_0x12a2a2,_0x34c4b0);const Ii=0x12c,gi=0x64,vi=()=>{let _0x497756=[],_0x56b519=!0x1;return _0x124ad9=>{_0x497756['push'](_0x124ad9),_0x56b519||(_0x56b519=!0x0,setTimeout(()=>{const _0x9a9747=_0x1c0e;_0x497756[_0x9a9747(0x387)](_0x53f35b=>_0x53f35b()),_0x497756=[],_0x56b519=!0x1;}));};};let Me=class extends _0x564372{constructor(_0x112503,_0x1f84d6,_0x1989e3,_0x37a450,_0x3270ce,_0x25aea3,_0x5b0029,_0x4e214d){const _0x30794f=_0x3350ee;super(),_(this,_0x30794f(0x373),!0x1),_(this,_0x30794f(0x1e8),!0x1),_(this,_0x30794f(0x240),new _0x51a311(new Map())),_(this,_0x30794f(0x20f),this['_cursorInfo$'][_0x30794f(0x276)]()),_(this,_0x30794f(0x201),new _0x51a311([])),_(this,_0x30794f(0x367),this[_0x30794f(0x201)][_0x30794f(0x21f)](_0x2a7835(Ii))),_(this,_0x30794f(0x3ce),_0x589781((_0x29a381,_0x3964fe)=>{const _0x493c7c=_0x30794f,_0x257f43={'eventID':_0x3681b9[_0x493c7c(0x3c5)],'data':{'unitID':this[_0x493c7c(0x250)],'memberID':this['_session'][_0x493c7c(0x2c3)](),'selection':_0x13a25d(_0x29a381,_0x3964fe[_0x493c7c(0x317)])}};this['_session'][_0x493c7c(0x300)](_0x257f43,this[_0x493c7c(0x250)]);},gi)),(this['unitID']=_0x112503,this['_session']=_0x1f84d6,this[_0x30794f(0x2f2)]=_0x1989e3,this[_0x30794f(0x3a1)]=_0x37a450,this[_0x30794f(0x266)]=_0x3270ce,this['_univerInstanceService']=_0x25aea3,this[_0x30794f(0x28d)]=_0x5b0029,this[_0x30794f(0x32b)]=_0x4e214d);}get[_0x3350ee(0x2ea)](){const _0x4ae26=_0x3350ee;return this[_0x4ae26(0x240)][_0x4ae26(0x376)]();}get['roomMembers'](){const _0x428ed0=_0x3350ee;return this['_roomMembers$'][_0x428ed0(0x376)]();}[_0x3350ee(0x37f)](){const _0x92c3c=_0x3350ee;super[_0x92c3c(0x37f)](),this[_0x92c3c(0x240)][_0x92c3c(0x29a)](new Map()),this[_0x92c3c(0x240)]['complete'](),this['_roomMembers$'][_0x92c3c(0x29a)]([]),this[_0x92c3c(0x201)][_0x92c3c(0x269)]();}['init'](){const _0x388890=_0x3350ee;this['_init']||(this[_0x388890(0x1e8)]=!0x0,this[_0x388890(0x388)]['sessionStatus$'][_0x388890(0x21f)](_0x51006e(this['dispose$']))[_0x388890(0x2f9)](_0x42a32b=>{const _0x4d9148=_0x388890;_0x42a32b===_0x4485c4[_0x4d9148(0x327)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x388890(0x21f)](_0x51006e(this['dispose$']))[_0x388890(0x2f9)](_0x5a4e61=>{const _0xe6d29d=_0x388890,_0x5c7422=_0x5a4e61[_0xe6d29d(0x2c1)];_0x5c7422===_0x3681b9['UPDATE_CURSOR']&&this[_0xe6d29d(0x1f0)](_0x5a4e61),_0x5c7422===_0x3681b9[_0xe6d29d(0x1f5)]&&this[_0xe6d29d(0x24f)](_0x5a4e61);}),this[_0x388890(0x32d)](),this[_0x388890(0x2bd)](this[_0x388890(0x28d)][_0x388890(0x31d)](_0x4a4b9d=>{const _0x2c6330=_0x388890;if(this[_0x2c6330(0x373)]&&_0x4a4b9d['id']===_0x4daa90['id']&&_0x4a4b9d[_0x2c6330(0x3c6)][_0x2c6330(0x3ee)]===this[_0x2c6330(0x250)]){const _0x2b6df0=_0x4a4b9d[_0x2c6330(0x3c6)];this[_0x2c6330(0x3ce)](_0x2b6df0[_0x2c6330(0x3dc)],_0x2b6df0[_0x2c6330(0x33e)][0x0]);}})));}[_0x3350ee(0x1f0)](_0x392791){const _0x467fe5=_0x3350ee;var _0x3a7956,_0x217e42;const {memberID:_0x2e2c33,selection:_0x1feff2}=_0x392791[_0x467fe5(0x21e)],{sheetName:_0xea0434,range:_0x3f3a52}=_0x1cd16d(_0x1feff2),_0x3756ba={'name':(_0x217e42=(_0x3a7956=this[_0x467fe5(0x266)]['getMember'](this['unitID'],_0x2e2c33))==null?void 0x0:_0x3a7956['name'])!=null?_0x217e42:_0x467fe5(0x236),'range':this[_0x467fe5(0x3b2)](_0xea0434,_0x3f3a52),'sheetID':_0xea0434,'color':this[_0x467fe5(0x3a1)][_0x467fe5(0x290)](_0x2e2c33),'selection':_0x1feff2},_0x89a545=this[_0x467fe5(0x2ea)];_0x89a545[_0x467fe5(0x26c)](_0x2e2c33,_0x3756ba),this['_cursorInfo$']['next'](_0x89a545);}[_0x3350ee(0x24f)](_0x431e78){const _0x4d62bc=_0x3350ee,{memberID:_0x19b263}=_0x431e78['data'],_0x3da7ad=this[_0x4d62bc(0x2ea)];_0x3da7ad[_0x4d62bc(0x1f3)](_0x19b263),this['_cursorInfo$'][_0x4d62bc(0x29a)](_0x3da7ad);}[_0x3350ee(0x3b2)](_0xb13f7e,_0x5dccf9){const _0x489d0c=_0x3350ee;var _0x5509b9,_0x5d380a;const _0x341cc5=(_0x5d380a=(_0x5509b9=this[_0x489d0c(0x355)][_0x489d0c(0x1fb)](this[_0x489d0c(0x250)]))==null?void 0x0:_0x5509b9['getSheetBySheetId'](_0xb13f7e))==null?void 0x0:_0x5d380a['getMergeData']();return(_0x341cc5==null?void 0x0:_0x341cc5['find'](_0x49c374=>_0x16615c[_0x489d0c(0x219)](_0x49c374,_0x5dccf9)))||_0x5dccf9;}[_0x3350ee(0x32d)](){const _0x1df8ae=_0x3350ee,_0x1b1e65=new _0x53b460(),_0x470253=vi(),_0x28af9b=()=>{const _0x2b65f4=_0x1c0e;_0x1b1e65[_0x2b65f4(0x37f)]();const _0x1f97cf=(_0x5e6865,_0x3e5497,_0x55f21a,_0x1c698d)=>{const _0x1f147f=_0x2b65f4;let _0x38827f=[];switch(_0x5e6865['id']){case _0x519fb7[_0x1f147f(0x224)]:{_0x38827f=_0x28e58d(_0x5e6865,_0x1c698d);break;}case _0x519fb7[_0x1f147f(0x36d)]:{_0x38827f=_0xf377c7(_0x5e6865,_0x1c698d);break;}case _0x519fb7[_0x1f147f(0x271)]:{_0x38827f=_0x14cbd2(_0x5e6865,_0x1c698d);break;}case _0x519fb7[_0x1f147f(0x202)]:{_0x38827f=_0xe4caaa(_0x5e6865,_0x1c698d);break;}case _0x519fb7[_0x1f147f(0x39a)]:{_0x38827f=_0x6dc56e(_0x5e6865,_0x1c698d);break;}case _0x519fb7[_0x1f147f(0x1f8)]:{_0x38827f=_0x376461(_0x5e6865,_0x1c698d);break;}case _0x519fb7[_0x1f147f(0x2f4)]:{_0x38827f=_0x1917a0(_0x5e6865,_0x1c698d);break;}case _0x519fb7[_0x1f147f(0x3d7)]:{_0x38827f=_0x2f3df6(_0x5e6865,_0x1c698d);break;}case _0x519fb7['RemoveRowCommandId']:{_0x38827f=_0x5ee20f(_0x5e6865,_0x1c698d);break;}}const _0x38d087=_0x5be300(_0x38827f,_0x1c698d),_0x501f69=this[_0x1f147f(0x2ea)]['get'](_0x3e5497);if(_0x501f69&&_0x38d087){const _0x3e80e7={..._0x501f69,'range':_0x38d087};this[_0x1f147f(0x2ea)][_0x1f147f(0x26c)](_0x3e5497,_0x3e80e7),_0x470253(()=>{const _0x5db620=_0x1f147f,_0x145965=this[_0x5db620(0x32b)]['registerRefRange'](_0x38d087,_0x56905e=>(_0x145965['dispose'](),_0x1f97cf(_0x56905e,_0x3e5497,_0x55f21a,_0x38d087)));_0x1b1e65['add'](_0x145965);});}return{'redos':[],'undos':[]};};this[_0x2b65f4(0x2ea)]['forEach']((_0x57c61a,_0x38ae6d)=>{const _0x7b983a=_0x2b65f4,{range:_0x4230cc,sheetID:_0x322045}=_0x57c61a,_0x4bdf81=this[_0x7b983a(0x32b)][_0x7b983a(0x3ba)](_0x4230cc,_0x4d7f44=>(_0x4bdf81[_0x7b983a(0x37f)](),_0x1f97cf(_0x4d7f44,_0x38ae6d,_0x322045,_0x4230cc)));_0x1b1e65['add'](_0x4bdf81);});};this[_0x1df8ae(0x2bd)](_0x51abd0(this[_0x1df8ae(0x240)][_0x1df8ae(0x2f9)](()=>{_0x28af9b();})));}[_0x3350ee(0x3b8)](){const _0x5eac25=_0x3350ee;var _0x5b3b5e,_0xd885fb;if(this[_0x5eac25(0x373)]=!0x0,((_0x5b3b5e=this['_univerInstanceService'][_0x5eac25(0x2a3)]())==null?void 0x0:_0x5b3b5e['getUnitId']())!==this[_0x5eac25(0x250)])return;const _0x37e3d1=(_0xd885fb=this['_injector'][_0x5eac25(0x3d5)](_0x344184)[_0x5eac25(0x3a9)]())==null?void 0x0:_0xd885fb[0x0],_0x5dbbed=this[_0x5eac25(0x355)][_0x5eac25(0x389)](_0x599392[_0x5eac25(0x299)])[_0x5eac25(0x2ed)]();_0x37e3d1&&_0x5dbbed&&this[_0x5eac25(0x3ce)](_0x5dbbed[_0x5eac25(0x3de)](),_0x37e3d1);}[_0x3350ee(0x2a5)](){const _0x59b2ea=_0x3350ee;this[_0x59b2ea(0x373)]=!0x1;}};Me=mi([x(0x2,_0x5b9fea(_0xe07722)),x(0x3,_0x5b9fea(ke)),x(0x4,_0x5b9fea(_0x8f15fe)),x(0x5,_0x37335e),x(0x6,_0x9a1f4f),x(0x7,_0x5b9fea(_0x51dde3))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x18a92f,_0x1cff13,_0x47766c,_0x3966d2)=>{const _0x17e1e3=_0x3350ee;for(var _0x262881=_0x3966d2>0x1?void 0x0:_0x3966d2?pi(_0x1cff13,_0x47766c):_0x1cff13,_0xc05c6f=_0x18a92f[_0x17e1e3(0x383)]-0x1,_0x3a87d8;_0xc05c6f>=0x0;_0xc05c6f--)(_0x3a87d8=_0x18a92f[_0xc05c6f])&&(_0x262881=_0x3a87d8(_0x262881)||_0x262881);return _0x262881;},Se=(_0x55280c,_0x23f6ff)=>(_0x5e6768,_0x153c08)=>_0x23f6ff(_0x5e6768,_0x153c08,_0x55280c);let H=class extends _0x564372{constructor(_0x434caf,_0x4feafe,_0x44e8f0){const _0x2c6642=_0x3350ee;super(),_(this,_0x2c6642(0x265),new Map()),_(this,_0x2c6642(0x2c7),new _0x56c3ac()),(this[_0x2c6642(0x355)]=_0x434caf,this['_injector']=_0x4feafe,this[_0x2c6642(0x377)]=_0x44e8f0,this['_init']());}[_0x3350ee(0x37f)](){const _0x1a28b3=_0x3350ee;super[_0x1a28b3(0x37f)](),this[_0x1a28b3(0x2c7)]['complete'](),this[_0x1a28b3(0x265)][_0x1a28b3(0x387)](_0x2797dc=>_0x2797dc[_0x1a28b3(0x37f)]());}[_0x3350ee(0x2f0)](_0xdafddd){const _0x4504ff=_0x3350ee;return this[_0x4504ff(0x265)][_0x4504ff(0x338)](_0xdafddd)?this[_0x4504ff(0x265)][_0x4504ff(0x3d5)](_0xdafddd)['cursorInfo$']:this[_0x4504ff(0x2c7)]['pipe'](_0x288981(_0x47856b=>_0x47856b[_0x4504ff(0x250)]===_0xdafddd),_0x46ff19(_0x48e4f2=>_0x48e4f2['cursorInfo$']));}[_0x3350ee(0x1e8)](){const _0x53bc7d=_0x3350ee;this[_0x53bc7d(0x355)][_0x53bc7d(0x350)](_0x599392['UNIVER_SHEET'])[_0x53bc7d(0x21f)](_0x51006e(this['dispose$']))[_0x53bc7d(0x2f9)](async _0x10e692=>{const _0x593c71=_0x53bc7d,_0x194352=_0x10e692[_0x593c71(0x395)](),_0x17074b=await this[_0x593c71(0x205)](_0x194352);this[_0x593c71(0x2c7)][_0x593c71(0x29a)](_0x17074b),this['_entities']['set'](_0x194352,_0x17074b);}),this[_0x53bc7d(0x355)][_0x53bc7d(0x350)](_0x599392[_0x53bc7d(0x32a)])[_0x53bc7d(0x21f)](_0x51006e(this[_0x53bc7d(0x349)]))[_0x53bc7d(0x21f)](_0x288981(_0x7b4a=>!_0x7b4a[_0x53bc7d(0x395)]()['startsWith']('__')))[_0x53bc7d(0x2f9)](async _0xfbe6f3=>{const _0x215445=_0x53bc7d,_0x1e483a=_0xfbe6f3['getUnitId'](),_0x1a5411=await this[_0x215445(0x365)](_0x1e483a);this[_0x215445(0x2c7)][_0x215445(0x29a)](_0x1a5411),this[_0x215445(0x265)][_0x215445(0x26c)](_0x1e483a,_0x1a5411);}),_0x39d129(this[_0x53bc7d(0x355)][_0x53bc7d(0x312)](_0x599392['UNIVER_DOC']),this[_0x53bc7d(0x355)]['getTypeOfUnitDisposed$'](_0x599392[_0x53bc7d(0x299)]))[_0x53bc7d(0x21f)](_0x51006e(this[_0x53bc7d(0x349)]))[_0x53bc7d(0x2f9)](_0x465d1f=>{const _0x25490d=_0x53bc7d,_0x479925=_0x465d1f[_0x25490d(0x395)](),_0x49f4bf=this[_0x25490d(0x265)][_0x25490d(0x3d5)](_0x479925);_0x49f4bf&&(_0x49f4bf['dispose'](),this[_0x25490d(0x265)]['delete'](_0x479925));});}async[_0x3350ee(0x205)](_0x514a9c){const _0x42c8f1=_0x3350ee,_0x30bd6c=await this[_0x42c8f1(0x377)][_0x42c8f1(0x298)](_0x514a9c),_0x12465e=this['_injector'][_0x42c8f1(0x227)](Me,_0x514a9c,_0x30bd6c);return _0x12465e['init'](),_0x12465e;}async['_startDocCollabCursor'](_0x51e3e6){const _0x19f6ab=_0x3350ee,_0x32ea2e=await this[_0x19f6ab(0x377)]['requireSession'](_0x51e3e6),_0x197a99=this[_0x19f6ab(0x2f2)]['createInstance'](Ue,_0x51e3e6,_0x32ea2e);return _0x197a99['init'](),_0x197a99;}};H=Ci([Se(0x0,_0x37335e),Se(0x1,_0x5b9fea(_0xe07722)),Se(0x2,_0x5b9fea(_0x57d112))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1077f9,_0x221d66){const _0x1ef666=_0x3350ee;let {radius:_0x2230a8,width:_0x165d5f,height:_0x39506b}=_0x221d66;_0x2230a8=_0x2230a8!=null?_0x2230a8:0x0,_0x165d5f=_0x165d5f!=null?_0x165d5f:0x1e,_0x39506b=_0x39506b!=null?_0x39506b:0x1e;let _0x353773=0x0,_0x1dbd33=0x0,_0x516325=0x0;_0x353773=_0x1dbd33=_0x516325=Math['min'](_0x2230a8,_0x165d5f/0x2,_0x39506b/0x2),_0x1077f9[_0x1ef666(0x28f)](),_0x1077f9['moveTo'](_0x353773,0x0),_0x1077f9[_0x1ef666(0x36e)](_0x165d5f-_0x1dbd33,0x0),_0x1077f9['arc'](_0x165d5f-_0x1dbd33,_0x1dbd33,_0x1dbd33,Math['PI']*0x3/0x2,0x0,!0x1),_0x1077f9['lineTo'](_0x165d5f,_0x39506b-_0x516325),_0x1077f9[_0x1ef666(0x30a)](_0x165d5f-_0x516325,_0x39506b-_0x516325,_0x516325,0x0,Math['PI']/0x2,!0x1),_0x1077f9[_0x1ef666(0x36e)](0x0,_0x39506b),_0x1077f9['lineTo'](0x0,_0x353773),_0x1077f9[_0x1ef666(0x30a)](_0x353773,_0x353773,_0x353773,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1077f9['closePath'](),_0x221d66[_0x1ef666(0x26d)]&&(_0x1077f9['save'](),_0x1077f9[_0x1ef666(0x20c)]=_0x221d66['fill'],_0x221d66[_0x1ef666(0x3d4)]===_0x1ef666(0x272)?_0x1077f9[_0x1ef666(0x26d)](_0x1ef666(0x272)):_0x1077f9[_0x1ef666(0x26d)](),_0x1077f9[_0x1ef666(0x258)]());}class he extends _0xaacab3{constructor(_0x5a7f83,_0x1225b9){const _0x18847f=_0x3350ee;super(_0x5a7f83,_0x1225b9),_(this,'color'),_(this,'text'),(this[_0x18847f(0x316)]=_0x1225b9==null?void 0x0:_0x1225b9[_0x18847f(0x316)],this['text']=_0x1225b9==null?void 0x0:_0x1225b9[_0x18847f(0x28b)]);}static['drawWith'](_0x1e241c,_0x5d4a2a){const _0x3ac155=_0x3350ee,{text:_0x54dd1c,color:_0x398319}=_0x5d4a2a;_0x1e241c[_0x3ac155(0x397)](),_0x1e241c['font']=_0x3ac155(0x2e3);const _0x3c6431=_0x1e241c['measureText'](_0x54dd1c)['width'],_0x2ff594=Math[_0x3ac155(0x235)](_0x3c6431+0x2*me,Qe);Oi(_0x1e241c,{'height':ee,'radius':0x4,'width':_0x2ff594,'fill':_0x398319}),_0x1e241c[_0x3ac155(0x20c)]='#FFF';const _0x5b8379=me,_0x12180e=ee-Ei,_0x3f704a=Qe-0x2*me;if(_0x3c6431>_0x3f704a){let _0x4cf4fc='',_0x51a5c4=0x0;for(const _0x10fdad of _0x54dd1c){const _0xe3e502=_0x1e241c[_0x3ac155(0x293)](_0x10fdad)[_0x3ac155(0x2ac)];if(_0x51a5c4+_0xe3e502<=_0x3f704a-_0x1e241c['measureText'](_0x3ac155(0x2a4))['width'])_0x4cf4fc+=_0x10fdad,_0x51a5c4+=_0xe3e502;else{_0x4cf4fc+=_0x3ac155(0x2a4);break;}}_0x1e241c[_0x3ac155(0x31b)](_0x4cf4fc,_0x5b8379,_0x12180e);}else _0x1e241c[_0x3ac155(0x31b)](_0x54dd1c,_0x5b8379,_0x12180e);_0x1e241c[_0x3ac155(0x258)]();}[_0x3350ee(0x3c3)](_0xcfb8cc){const _0x52f8ad=_0x3350ee;he[_0x52f8ad(0x2b7)](_0xcfb8cc,this);}}const Ie=_0x3350ee(0x2d0),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3350ee(0x27d);class qe{constructor(_0x3a1a32,_0x32a31e,_0x2e7a2b,_0x380677){const _0x73762d=_0x3350ee;_(this,_0x73762d(0x286),[]),_(this,_0x73762d(0x353),null),_(this,_0x73762d(0x25f),null),_(this,'_anchorDot',null),_(this,_0x73762d(0x370),null),_(this,'_eventUnsubscribe',null),(this[_0x73762d(0x34d)]=_0x3a1a32,this[_0x73762d(0x31a)]=_0x32a31e,this['_docSkeleton']=_0x2e7a2b,this['_document']=_0x380677,this[_0x73762d(0x273)]());}set[_0x3350ee(0x23c)](_0x457c9e){const _0x4f6fdb=_0x3350ee;_0x457c9e?(this[_0x4f6fdb(0x2e9)]&&this[_0x4f6fdb(0x2e9)][_0x4f6fdb(0x25a)](),this[_0x4f6fdb(0x25f)]&&this[_0x4f6fdb(0x25f)][_0x4f6fdb(0x399)]()):(this[_0x4f6fdb(0x2e9)]&&this[_0x4f6fdb(0x2e9)][_0x4f6fdb(0x399)](),this['_textBubble']&&this[_0x4f6fdb(0x25f)][_0x4f6fdb(0x25a)]());}[_0x3350ee(0x37f)](){const _0x289641=_0x3350ee;for(const _0x414dc5 of this[_0x289641(0x286)])_0x414dc5[_0x289641(0x37f)]();this['_textBubble']&&this[_0x289641(0x25f)][_0x289641(0x37f)](),this['_anchorDot']&&this[_0x289641(0x2e9)]['dispose'](),this[_0x289641(0x353)]&&this['_anchor'][_0x289641(0x37f)](),this[_0x289641(0x301)]&&this[_0x289641(0x301)]();}[_0x3350ee(0x273)](){const _0x3fef3e=_0x3350ee;var _0x5ddff6;const {_docSkeleton:_0x486523,_document:_0x2050bb}=this,{color:_0xabfb84,name:_0xd8a296,ranges:_0x419784}=this[_0x3fef3e(0x34d)],_0x5b86a3=_0x2050bb['getOffsetConfig'](),{docsLeft:_0x1dcd3c,docsTop:_0x97e457}=_0x5b86a3,_0x1e9c03=new _0x342b2c(_0x5b86a3,_0x486523);for(const {startOffset:_0x30ad9d,endOffset:_0xc19611,rangeType:_0x42cb60,segmentId:_0x4842a2,segmentPage:_0x32fa9d,collapsed:_0x2b3835,isActive:_0x283610}of _0x419784){const _0x5c7640=_0x486523[_0x3fef3e(0x3b0)](_0x30ad9d,!0x0,_0x4842a2,_0x32fa9d);let _0x1f0a4b=_0x486523[_0x3fef3e(0x3b0)](_0xc19611,!0x0,_0x4842a2,_0x32fa9d);if(_0x1f0a4b==null&&(_0x1f0a4b=_0x486523[_0x3fef3e(0x3b0)](_0xc19611-0x1,!0x1,_0x4842a2,_0x32fa9d)),_0x283610){const {contentBoxPointGroup:_0x4b36cd}=_0x1e9c03[_0x3fef3e(0x3f4)](_0x1f0a4b,_0x1f0a4b);if(_0x4b36cd[_0x3fef3e(0x383)]===0x0)continue;this[_0x3fef3e(0x221)](_0xabfb84,_0x4b36cd,_0x1dcd3c,_0x97e457,_0xd8a296),this[_0x3fef3e(0x301)]=this[_0x3fef3e(0x348)]();}if(_0x5c7640&&_0x1f0a4b){if(_0x42cb60===_0xaaa1c3[_0x3fef3e(0x296)]){const _0x316d74=new _0x31dc04(_0x5b86a3,_0x486523),{pointGroup:_0x36a92d}=(_0x5ddff6=_0x316d74[_0x3fef3e(0x3f4)](_0x5c7640,_0x1f0a4b))!=null?_0x5ddff6:{};if(_0x36a92d==null||_0x36a92d[_0x3fef3e(0x383)]===0x0)continue;this[_0x3fef3e(0x331)](_0xabfb84,_0x36a92d,_0x1dcd3c,_0x97e457);}else{if(!_0x2b3835){const {borderBoxPointGroup:_0x58da8f}=_0x1e9c03[_0x3fef3e(0x3f4)](_0x5c7640,_0x1f0a4b);if(_0x58da8f[_0x3fef3e(0x383)]===0x0)continue;this[_0x3fef3e(0x2ef)](_0xabfb84,_0x58da8f,_0x1dcd3c,_0x97e457);}}}}}[_0x3350ee(0x221)](_0x192b23,_0x1e2954,_0x26770b,_0x471fe4,_0x5cc6d2){const _0x383ba8=_0x3350ee,_0x26b614=this['_getAnchorBounding'](_0x1e2954),{left:_0x145a70,top:_0x11cf06,height:_0x4dcfbf}=_0x26b614,_0xb309d1=this[_0x383ba8(0x2a9)](),_0x538a15=Di/_0xb309d1,_0x14c711=new _0x1798fe(Ie+_0x35f79a[_0x383ba8(0x38d)](X),{'left':_0x145a70+_0x26770b-_0x538a15,'top':_0x11cf06+_0x471fe4,'height':_0x4dcfbf,'width':Ri,'fill':_0x192b23||_0x538c62(_0x1bdd54[_0x383ba8(0x270)],0x0),'strokeWidth':_0x538a15,'stroke':Ni,'evented':!0x0});this[_0x383ba8(0x353)]=_0x14c711,this[_0x383ba8(0x31a)][_0x383ba8(0x29f)](_0x14c711,_0x127282);const _0x16ab69=new _0x1798fe(Ie+_0x35f79a['generateRandomId'](X),{'left':_0x145a70+_0x26770b-_0x538a15,'top':_0x11cf06+_0x471fe4-ge/0x2,'height':ge,'width':ge,'fill':_0x192b23||_0x538c62(_0x1bdd54[_0x383ba8(0x270)],0x0),'strokeWidth':0x0,'stroke':_0x192b23||_0x538c62(_0x1bdd54[_0x383ba8(0x270)],0x0),'evented':!0x1});this['_anchorDot']=_0x16ab69,this['_scene'][_0x383ba8(0x29f)](_0x16ab69,_0x127282);const _0xb62f22=new he(Ie+_0x35f79a[_0x383ba8(0x38d)](X),{'left':_0x145a70+_0x26770b-_0x538a15,'top':_0x11cf06+_0x471fe4-ee,'text':_0x5cc6d2,'color':_0x192b23});this[_0x383ba8(0x25f)]=_0xb62f22,this[_0x383ba8(0x31a)]['addObject'](_0xb62f22,_0x127282),this['_hover']=!0x1;}[_0x3350ee(0x348)](){const _0x3930ea=_0x3350ee,_0x2c74f6=this[_0x3930ea(0x353)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x57080c=_0x3930ea;this[_0x57080c(0x23c)]=!0x0;}),_0x46293b=this[_0x3930ea(0x353)][_0x3930ea(0x39e)]['subscribeEvent'](()=>{const _0x190b85=_0x3930ea;this[_0x190b85(0x370)]&&clearTimeout(this[_0x190b85(0x370)]),this[_0x190b85(0x370)]=setTimeout(()=>{const _0x2f1673=_0x190b85;this[_0x2f1673(0x23c)]=!0x1;},0x7d0);});return()=>{_0x2c74f6['unsubscribe'](),_0x46293b['unsubscribe']();};}[_0x3350ee(0x2ef)](_0x3c75ac,_0x4b240c,_0x4a494c,_0xbb59cd){const _0x321b93=_0x3350ee,_0x4407f3=new _0xf51dd4(_0x3c75ac)[_0x321b93(0x1e4)](0.2)[_0x321b93(0x3b4)](),_0x30f6de=new _0x1be097(bi+_0x35f79a[_0x321b93(0x38d)](X),{'pointsGroup':_0x4b240c,'fill':_0x4407f3||_0x538c62(_0x1bdd54[_0x321b93(0x270)],0.2),'left':_0x4a494c,'top':_0xbb59cd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x321b93(0x286)]['push'](_0x30f6de),this[_0x321b93(0x31a)][_0x321b93(0x29f)](_0x30f6de,_0x127282);}[_0x3350ee(0x331)](_0x575573,_0x173d7b,_0x1a895e,_0x3e83a3){const _0x51b213=_0x3350ee,_0x361157=new _0xf51dd4(_0x575573)[_0x51b213(0x1e4)](0.2)[_0x51b213(0x3b4)](),_0x2329c2=new _0x1be097(Ti+_0x35f79a[_0x51b213(0x38d)](X),{'pointsGroup':_0x173d7b,'fill':_0x361157||_0x538c62(_0x1bdd54['black'],0.2),'left':_0x1a895e,'top':_0x3e83a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x51b213(0x286)][_0x51b213(0x28a)](_0x2329c2),this[_0x51b213(0x31a)][_0x51b213(0x29f)](_0x2329c2,_0x127282);}[_0x3350ee(0x255)](_0x513e6c){const _0x2dffff=_0x513e6c[0x0],_0x1e1afd=_0x2dffff[0x0],_0x3fadbd=_0x2dffff[0x2],{x:_0x4d90bd,y:_0x1b2331}=_0x1e1afd,{x:_0x3eec4f,y:_0x48a77a}=_0x3fadbd;return{'left':_0x4d90bd,'top':_0x1b2331,'width':_0x3eec4f-_0x4d90bd,'height':_0x48a77a-_0x1b2331};}[_0x3350ee(0x2a9)](){const _0x134ec9=_0x3350ee,{scaleX:_0x376758,scaleY:_0x35240a}=this[_0x134ec9(0x31a)][_0x134ec9(0x3da)]();return Math['max'](_0x376758,_0x35240a);}}var Ui=Object[_0x3350ee(0x24c)],Mi=(_0x428951,_0x275229,_0x362b8b,_0x2fac70)=>{const _0x577b7c=_0x3350ee;for(var _0x1e7fd4=_0x2fac70>0x1?void 0x0:_0x2fac70?Ui(_0x275229,_0x362b8b):_0x275229,_0x576ff4=_0x428951[_0x577b7c(0x383)]-0x1,_0x516a16;_0x576ff4>=0x0;_0x576ff4--)(_0x516a16=_0x428951[_0x576ff4])&&(_0x1e7fd4=_0x516a16(_0x1e7fd4)||_0x1e7fd4);return _0x1e7fd4;},Z=(_0x188c11,_0x4916da)=>(_0x5314ea,_0x5f8129)=>_0x4916da(_0x5314ea,_0x5f8129,_0x188c11);let Le=class extends _0x564372{constructor(_0x3be7cb,_0x417b7e,_0x3d29b2,_0x3fc3b2,_0x169530){const _0x4e3b73=_0x3350ee;super(),_(this,_0x4e3b73(0x328),[]),_(this,_0x4e3b73(0x37b),[]),(this['_context']=_0x3be7cb,this[_0x4e3b73(0x381)]=_0x417b7e,this[_0x4e3b73(0x27c)]=_0x3d29b2,this[_0x4e3b73(0x28d)]=_0x3fc3b2,this['_themeService']=_0x169530,this[_0x4e3b73(0x1e8)]());}[_0x3350ee(0x1e8)](){const _0x480743=_0x3350ee,_0x505f1b=this[_0x480743(0x366)][_0x480743(0x3ee)],_0x1cc72e=this[_0x480743(0x381)];this['disposeWithMe'](_0x14c56a([this[_0x480743(0x27c)][_0x480743(0x2f0)](_0x505f1b),this[_0x480743(0x3c8)]['currentTheme$']])[_0x480743(0x21f)](_0x5df5f6(([_0x3793ff,_0x5ac8aa])=>({'skeleton':_0x1cc72e['getSkeleton'](),'cursors':[..._0x3793ff['values']()]['flatMap'](_0x422e00=>({..._0x422e00,'color':this[_0x480743(0x3c8)][_0x480743(0x279)](_0x422e00['color'])}))})))[_0x480743(0x2f9)](_0x55f124=>{const _0x2cfe12=_0x480743;if(this['_removeCollabCursors'](),_0x55f124){const {skeleton:_0x145715,cursors:_0x5378d9}=_0x55f124;this[_0x2cfe12(0x1ed)](_0x145715,_0x5378d9);}})),this[_0x480743(0x27b)](),this['_initCommandExecutedListener']();}[_0x3350ee(0x1ed)](_0x3d2a69,_0x3931dc){const _0x2deffd=_0x3350ee,{scene:_0x20edcd,mainComponent:_0xe53858}=this[_0x2deffd(0x366)],_0x5bd337=_0x3931dc[_0x2deffd(0x2b1)](_0x34f603=>new qe(_0x34f603,_0x20edcd,_0x3d2a69,_0xe53858));this[_0x2deffd(0x328)]=_0x5bd337,this['_cursors']=_0x3931dc;}[_0x3350ee(0x3d8)](){const _0x3d0c68=_0x3350ee;this['_removeCollabCursors']();const {scene:_0x50061e,mainComponent:_0x3bc0c9}=this[_0x3d0c68(0x366)],_0x2779ed=this[_0x3d0c68(0x381)][_0x3d0c68(0x3ec)](),_0x5669f9=this[_0x3d0c68(0x37b)][_0x3d0c68(0x2b1)](_0xffa6d4=>new qe(_0xffa6d4,_0x50061e,_0x2779ed,_0x3bc0c9));this['_cursorShapes']=_0x5669f9;}[_0x3350ee(0x39b)](){const _0x413932=_0x3350ee;this[_0x413932(0x328)][_0x413932(0x387)](_0x14f102=>_0x14f102[_0x413932(0x37f)]()),this[_0x413932(0x328)]=[];}[_0x3350ee(0x252)](){const _0x2507a7=_0x3350ee,_0x5db5c3=[_0x3f44f0['id']];this[_0x2507a7(0x2bd)](this['_commandService'][_0x2507a7(0x31d)](_0xdd393f=>{const _0x11d225=_0x2507a7;_0x5db5c3[_0x11d225(0x283)](_0xdd393f['id'])&&_0xdd393f[_0x11d225(0x3c6)]['unitId']===this['_context'][_0x11d225(0x3ee)]&&this[_0x11d225(0x3d8)]();}));}['_initResize'](){const _0x423277=_0x3350ee;this[_0x423277(0x2bd)](_0x28b627(this[_0x423277(0x366)][_0x423277(0x2a2)][_0x423277(0x3b6)])[_0x423277(0x21f)](_0x491b95(_0x42626e=>_0x42626e[_0x423277(0x2ff)]===_0x3ec496[_0x423277(0x33b)]),_0x91a135(0x10))[_0x423277(0x2f9)](()=>{const _0x2c1fbb=_0x423277;this[_0x2c1fbb(0x3d8)]();}));}};function _0x1c0e(_0x1eba4e,_0x2f2fb2){const _0x4eefbd=_0x4eef();return _0x1c0e=function(_0x1c0e97,_0x2f5998){_0x1c0e97=_0x1c0e97-0x1e4;let _0x5dcd23=_0x4eefbd[_0x1c0e97];return _0x5dcd23;},_0x1c0e(_0x1eba4e,_0x2f2fb2);}Le=Mi([Z(0x1,_0x5b9fea(_0x124b3c)),Z(0x2,_0x5b9fea(H)),Z(0x3,_0x9a1f4f),Z(0x4,_0x5b9fea(_0x1ac192))],Le);const Li=0x1,Pi=1.5;class wi extends _0xaacab3{constructor(_0x40869f,_0x36c70c){const _0x5e0704=_0x3350ee;super(_0x40869f,_0x36c70c),_(this,_0x5e0704(0x244)),_(this,_0x5e0704(0x230),!0x1),_(this,_0x5e0704(0x2dc)),_(this,'_name',''),_(this,'_labelPosition',_0x5e0704(0x2c0)),_(this,_0x5e0704(0x392)),(_0x36c70c&&this[_0x5e0704(0x3db)](_0x36c70c),this[_0x5e0704(0x278)][_0x5e0704(0x3c7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5e0704(0x39e)][_0x5e0704(0x3c7)](()=>this[_0x5e0704(0x3db)]({'hovered':!0x1})));}[_0x3350ee(0x3db)](_0x1fd385){const _0x41b482=_0x3350ee;var _0x133620,_0x4d52ee,_0x3ad859,_0x4ad444,_0x1808d3,_0x4ff13e;this['_color']=(_0x133620=_0x1fd385['color'])!=null?_0x133620:this[_0x41b482(0x244)],this[_0x41b482(0x230)]=(_0x4d52ee=_0x1fd385['hovered'])!=null?_0x4d52ee:this[_0x41b482(0x230)],this[_0x41b482(0x2dc)]=(_0x3ad859=_0x1fd385[_0x41b482(0x317)])!=null?_0x3ad859:this[_0x41b482(0x2dc)],this['_name']=(_0x4ad444=_0x1fd385[_0x41b482(0x242)])!=null?_0x4ad444:this['_name'],this['_labelPosition']=(_0x1808d3=_0x1fd385['labelPosition'])!=null?_0x1808d3:this[_0x41b482(0x340)],this[_0x41b482(0x392)]=(_0x4ff13e=_0x1fd385['backgroundColor'])!=null?_0x4ff13e:this['_backgroundColor'],this[_0x41b482(0x277)]({'width':_0x1fd385[_0x41b482(0x2ac)],'height':_0x1fd385[_0x41b482(0x27a)]});}['onMouseMove'](_0x2c90e1){const _0x3e375d=_0x3350ee,{row:_0x3e75c6,column:_0x27b637}=_0x2c90e1;if(_0x3e75c6>=this['_range'][_0x3e375d(0x21c)]&&_0x3e75c6<=this['_range'][_0x3e375d(0x3f0)]&&_0x27b637>=this[_0x3e375d(0x2dc)][_0x3e375d(0x2e0)]&&_0x27b637<=this[_0x3e375d(0x2dc)][_0x3e375d(0x1fa)]){this[_0x3e375d(0x3db)]({'hovered':!0x0});return;}this[_0x3e375d(0x3db)]({'hovered':!0x1});}[_0x3350ee(0x289)](_0x47b279){return!0x1;}['_draw'](_0x2162a0){const _0x1497dd=_0x3350ee;_0x1798fe['drawWith'](_0x2162a0,{'width':this[_0x1497dd(0x2ac)],'height':this[_0x1497dd(0x27a)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1497dd(0x392)]}),this[_0x1497dd(0x230)]&&(_0x2162a0[_0x1497dd(0x397)](),_0x2162a0[_0x1497dd(0x306)](0x1,0x0,0x0,0x1,this['width'],this[_0x1497dd(0x340)]===_0x1497dd(0x345)?0x0:-0x14),he[_0x1497dd(0x2b7)](_0x2162a0,{'text':this[_0x1497dd(0x233)],'color':this[_0x1497dd(0x244)]}),_0x2162a0[_0x1497dd(0x258)]());}}var Ai=Object[_0x3350ee(0x24c)],yi=(_0x35d678,_0x579ba4,_0x59791b,_0x520c26)=>{const _0x3b08b8=_0x3350ee;for(var _0x278899=_0x520c26>0x1?void 0x0:_0x520c26?Ai(_0x579ba4,_0x59791b):_0x579ba4,_0xe20100=_0x35d678[_0x3b08b8(0x383)]-0x1,_0x218d37;_0xe20100>=0x0;_0xe20100--)(_0x218d37=_0x35d678[_0xe20100])&&(_0x278899=_0x218d37(_0x278899)||_0x278899);return _0x278899;},ve=(_0x5174d0,_0x1dcdd7)=>(_0x402ffc,_0x35897f)=>_0x1dcdd7(_0x402ffc,_0x35897f,_0x5174d0);const $i=0x1389;let Pe=class extends _0x564372{constructor(_0xe60124,_0x26a286,_0x2f5b6f,_0x532e1d){const _0x16a780=_0x3350ee;super(),_(this,'_cursors',new Set()),_(this,_0x16a780(0x281),null),(this[_0x16a780(0x366)]=_0xe60124,this[_0x16a780(0x275)]=_0x26a286,this['_collabCursorController']=_0x2f5b6f,this[_0x16a780(0x3c8)]=_0x532e1d,this['_init']());}[_0x3350ee(0x1e8)](){const _0x2054f8=_0x3350ee;this[_0x2054f8(0x275)][_0x2054f8(0x3a2)][_0x2054f8(0x21f)](_0x372aa4(this[_0x2054f8(0x349)]),_0xd94b8e(_0x476e68=>{const _0x53d19e=_0x2054f8;if(_0x476e68){const _0x43cd69=_0x476e68[_0x53d19e(0x223)];return _0x14c56a(this[_0x53d19e(0x27c)][_0x53d19e(0x2f0)](this[_0x53d19e(0x366)][_0x53d19e(0x3ee)]),this[_0x53d19e(0x3c8)][_0x53d19e(0x23a)])['pipe'](_0x5df5f6(([_0x27e088,_0x1bc1b2])=>{const _0x31a9f=_0x53d19e,_0x4e583c=new Map();return _0x27e088[_0x31a9f(0x387)]((_0x55c777,_0x1325ae)=>{const _0x22392c=_0x31a9f;if(_0x55c777[_0x22392c(0x3dd)]===_0x43cd69){const _0x470d58={..._0x55c777};_0x470d58['color']=this[_0x22392c(0x3c8)][_0x22392c(0x279)](_0x55c777[_0x22392c(0x316)]),_0x4e583c[_0x22392c(0x26c)](_0x1325ae,_0x470d58);}}),{'skeleton':_0x476e68,'cursors':_0x4e583c};}));}return _0x1c14c3({'skeleton':null,'cursors':new Map()});}))[_0x2054f8(0x2f9)](({skeleton:_0x5bbfcb,cursors:_0x5b5c46})=>{const _0x89f567=_0x2054f8;this[_0x89f567(0x39b)](),_0x5bbfcb&&this[_0x89f567(0x1ed)](_0x5bbfcb,_0x5b5c46);}),this[_0x2054f8(0x275)][_0x2054f8(0x3a2)][_0x2054f8(0x2f9)](_0x5cd02b=>{const _0x263c2d=_0x2054f8;if(_0x5cd02b==null)return;const {skeleton:_0x36d791}=_0x5cd02b,{scene:_0x210630}=this[_0x263c2d(0x366)];_0x210630[_0x263c2d(0x2cf)][_0x263c2d(0x3c7)](_0x589781(_0x15c655=>{const _0x425c29=_0x263c2d;var _0x132f76,_0x273ceb;const {offsetX:_0x591a6e,offsetY:_0x30f40b}=_0x15c655,{x:_0xc633d1,y:_0xc478ab}=_0x210630[_0x425c29(0x37a)](_0x44ecfd[_0x425c29(0x363)]([_0x591a6e,_0x30f40b])),{scaleX:_0x3012c9,scaleY:_0x1864ca}=_0x210630[_0x425c29(0x3da)](),_0x13274b=_0x210630[_0x425c29(0x1ff)](_0x64cd97['VIEW_MAIN']),_0x1270a1=_0x210630[_0x425c29(0x1ef)](_0x44ecfd[_0x425c29(0x363)]([_0xc633d1,_0xc478ab]),_0x13274b),_0x533e9b=_0x36d791[_0x425c29(0x3d9)](_0x591a6e,_0x30f40b,_0x3012c9,_0x1864ca,_0x1270a1);((_0x132f76=this[_0x425c29(0x281)])==null?void 0x0:_0x132f76['column'])===_0x533e9b[_0x425c29(0x35b)]&&((_0x273ceb=this[_0x425c29(0x281)])==null?void 0x0:_0x273ceb[_0x425c29(0x3ef)])===_0x533e9b['row']||this[_0x425c29(0x37b)][_0x425c29(0x387)](_0x217cd1=>{_0x217cd1['onMouseMove'](_0x533e9b);});},0x64));});}[_0x3350ee(0x1ed)](_0x48cee2,_0x1019ea){const _0x6deb4a=_0x3350ee;var _0x170e04;const _0x50a8ba=(_0x170e04=this[_0x6deb4a(0x275)]['getCurrent']())==null?void 0x0:_0x170e04[_0x6deb4a(0x1ee)];if(!_0x50a8ba)return;const _0x3ffacf=this[_0x6deb4a(0x29e)]();if(!_0x3ffacf)return;this[_0x6deb4a(0x37b)]['forEach'](_0x4695aa=>{_0x4695aa['makeDirty']();});const {scene:_0x3f6e0e}=_0x3ffacf,_0x2953ee=xi(Array[_0x6deb4a(0x342)](_0x1019ea[_0x6deb4a(0x3cb)]()))[_0x6deb4a(0x2b1)](_0x1879b0=>{const _0x44dd47=_0x6deb4a,{color:_0x67fa1d,range:_0x432cb6,name:_0xd5a7d8,selection:_0x3d9565,sheetID:_0x301d33}=_0x1879b0,{startColumn:_0x24c93d,startRow:_0x3d0bf6,endColumn:_0x204643,endRow:_0x3ead6b}=_0x432cb6,_0x3054f1=_0x9d7f7d(_0x3d0bf6,_0x24c93d,_0x3f6e0e,_0x50a8ba),_0x186660=_0x9d7f7d(_0x3ead6b,_0x204643,_0x3f6e0e,_0x50a8ba),{columnHeaderHeightAndMarginTop:_0x52fee6}=_0x50a8ba,{startX:_0xc9f755,startY:_0x43173f}=_0x3054f1,{endX:_0x336bd8,endY:_0x549429}=_0x186660,_0x3c0ff9=_0x336bd8-_0xc9f755,_0x5ed5d4=_0x549429-_0x43173f,_0x10c4ee={'labelPosition':_0x43173f-_0x52fee6>=ee?'top':_0x44dd47(0x345),'sheetID':_0x301d33,'range':_0x432cb6,'color':_0x67fa1d,'name':_0xd5a7d8,'selection':_0x3d9565,'left':_0xc9f755,'top':_0x43173f,'width':_0x3c0ff9,'height':_0x5ed5d4,'evented':!0x1,'zIndex':$i};return new wi(_0xd5a7d8,_0x10c4ee);});_0x3f6e0e[_0x6deb4a(0x2b0)](_0x2953ee,Li),this['_cursors']=new Set(_0x2953ee);}['_removeCollabCursors'](){const _0x5333a0=_0x3350ee;var _0x5d8090;(_0x5d8090=this[_0x5333a0(0x37b)])==null||_0x5d8090[_0x5333a0(0x387)](_0x581915=>_0x581915['dispose']());}['_getSheetObject'](){const _0x58151a=_0x3350ee;return _0x3e2b1c(this[_0x58151a(0x366)][_0x58151a(0x31e)],this[_0x58151a(0x366)]);}};Pe=yi([ve(0x1,_0x5b9fea(_0x4ca43c)),ve(0x2,_0x5b9fea(H)),ve(0x3,_0x5b9fea(_0x1ac192))],Pe);function xi(_0x136f92){const _0x41d270=_0x3350ee,_0x47c151=new Map();return _0x136f92[_0x41d270(0x387)](_0x270707=>{const _0x54c260=_0x41d270;if(_0x47c151[_0x54c260(0x338)](_0x270707[_0x54c260(0x30d)])){const _0x2b7b2c=_0x47c151[_0x54c260(0x3d5)](_0x270707[_0x54c260(0x30d)]);_0x2b7b2c[_0x54c260(0x242)]+=',\x20'+_0x270707['name'];}else _0x47c151[_0x54c260(0x26c)](_0x270707[_0x54c260(0x30d)],_0x270707);}),Array[_0x41d270(0x342)](_0x47c151[_0x41d270(0x3cb)]());}var v=function(){const _0x1feea6=_0x3350ee;return v=Object[_0x1feea6(0x2af)]||function(_0x483892){const _0x4e9c04=_0x1feea6;for(var _0x4221d2,_0x27bdce=0x1,_0x167f6a=arguments[_0x4e9c04(0x383)];_0x27bdce<_0x167f6a;_0x27bdce++){_0x4221d2=arguments[_0x27bdce];for(var _0x27918d in _0x4221d2)Object[_0x4e9c04(0x310)][_0x4e9c04(0x394)]['call'](_0x4221d2,_0x27918d)&&(_0x483892[_0x27918d]=_0x4221d2[_0x27918d]);}return _0x483892;},v['apply'](this,arguments);},Bi=function(_0x4156d,_0x562546){const _0x225417=_0x3350ee;var _0x92dfd0={};for(var _0x374595 in _0x4156d)Object[_0x225417(0x310)]['hasOwnProperty'][_0x225417(0x335)](_0x4156d,_0x374595)&&_0x562546['indexOf'](_0x374595)<0x0&&(_0x92dfd0[_0x374595]=_0x4156d[_0x374595]);if(_0x4156d!=null&&typeof Object[_0x225417(0x3c4)]==_0x225417(0x21b)){for(var _0x170a52=0x0,_0x374595=Object['getOwnPropertySymbols'](_0x4156d);_0x170a52<_0x374595[_0x225417(0x383)];_0x170a52++)_0x562546['indexOf'](_0x374595[_0x170a52])<0x0&&Object[_0x225417(0x310)][_0x225417(0x30b)][_0x225417(0x335)](_0x4156d,_0x374595[_0x170a52])&&(_0x92dfd0[_0x374595[_0x170a52]]=_0x4156d[_0x374595[_0x170a52]]);}return _0x92dfd0;},Fe=_0x55dba7(function(_0x1176da,_0x5688e6){const _0x824e69=_0x3350ee;var _0x4b7e9a=_0x1176da['icon'],_0x4262f6=_0x1176da['id'],_0x47ac6e=_0x1176da[_0x824e69(0x379)],_0x4d02df=_0x1176da['extend'],_0x6a1e25=Bi(_0x1176da,[_0x824e69(0x23b),'id',_0x824e69(0x379),'extend']),_0x3a2585=_0x824e69(0x204)[_0x824e69(0x39c)](_0x4262f6,'\x20')['concat'](_0x47ac6e||'')[_0x824e69(0x2cc)](),_0x33a725=_0x5a49cc('_'[_0x824e69(0x39c)](Fi()));return Rt(_0x4b7e9a,''[_0x824e69(0x39c)](_0x4262f6),{'defIds':_0x4b7e9a[_0x824e69(0x29b)],'idSuffix':_0x33a725[_0x824e69(0x3c0)]},v({'ref':_0x5688e6,'className':_0x3a2585},_0x6a1e25),_0x4d02df);});function Rt(_0x284c40,_0x889379,_0xf40c13,_0x392403,_0x519cce){const _0x3dc5f4=_0x3350ee;return _0xd83ebb(_0x284c40[_0x3dc5f4(0x351)],v(v({'key':_0x889379},ki(_0x284c40,_0xf40c13,_0x519cce)),_0x392403),(Hi(_0x284c40,_0xf40c13)['children']||[])['map'](function(_0xc6cbfe,_0x4bf5c1){const _0x1da12b=_0x3dc5f4;return Rt(_0xc6cbfe,''[_0x1da12b(0x39c)](_0x889379,'-')[_0x1da12b(0x39c)](_0x284c40[_0x1da12b(0x351)],'-')['concat'](_0x4bf5c1),_0xf40c13,void 0x0,_0x519cce);}));}function ki(_0x35d73e,_0x2370b0,_0x48e778){const _0x34ed14=_0x3350ee;var _0x27fec3=v({},_0x35d73e[_0x34ed14(0x315)]);_0x48e778!=null&&_0x48e778['colorChannel1']&&_0x27fec3[_0x34ed14(0x26d)]===_0x34ed14(0x371)&&(_0x27fec3[_0x34ed14(0x26d)]=_0x48e778[_0x34ed14(0x371)]),_0x35d73e['tag']===_0x34ed14(0x2d1)&&_0x27fec3['id']&&(_0x27fec3['id']=_0x27fec3['id']+_0x2370b0[_0x34ed14(0x2b2)]),Object[_0x34ed14(0x291)](_0x27fec3)[_0x34ed14(0x387)](function(_0x1c451e){const _0x56ca37=_0x34ed14;var _0x1f70b8=_0x1c451e[0x0],_0xaa6e4d=_0x1c451e[0x1];_0x1f70b8===_0x56ca37(0x2d1)&&typeof _0xaa6e4d==_0x56ca37(0x2c2)&&(_0x27fec3[_0x1f70b8]=_0xaa6e4d[_0x56ca37(0x313)](/url\(#(.*)\)/,'url(#$1'[_0x56ca37(0x39c)](_0x2370b0[_0x56ca37(0x2b2)],')')));});var _0x3ebeaf=_0x2370b0[_0x34ed14(0x29b)];return!_0x3ebeaf||_0x3ebeaf[_0x34ed14(0x383)]===0x0||(_0x35d73e[_0x34ed14(0x351)]===_0x34ed14(0x2e5)&&_0x27fec3[_0x34ed14(0x3d3)]&&(_0x27fec3[_0x34ed14(0x3d3)]=_0x27fec3[_0x34ed14(0x3d3)]+_0x2370b0[_0x34ed14(0x2b2)]),Object['entries'](_0x27fec3)[_0x34ed14(0x387)](function(_0x953cf4){const _0x22c5f4=_0x34ed14;var _0x12dd3c=_0x953cf4[0x0],_0x13ae98=_0x953cf4[0x1];typeof _0x13ae98==_0x22c5f4(0x2c2)&&(_0x27fec3[_0x12dd3c]=_0x13ae98[_0x22c5f4(0x313)](/url\(#(.*)\)/,_0x22c5f4(0x2d4)[_0x22c5f4(0x39c)](_0x2370b0[_0x22c5f4(0x2b2)],')')));})),_0x27fec3;}function Hi(_0x3ddaf5,_0x44e484){const _0xe1f9fe=_0x3350ee;var _0x227cd2,_0x3c8e97=_0x44e484[_0xe1f9fe(0x29b)];return!_0x3c8e97||_0x3c8e97[_0xe1f9fe(0x383)]===0x0?_0x3ddaf5:_0x3ddaf5[_0xe1f9fe(0x351)]===_0xe1f9fe(0x243)&&(!((_0x227cd2=_0x3ddaf5[_0xe1f9fe(0x25c)])===null||_0x227cd2===void 0x0)&&_0x227cd2[_0xe1f9fe(0x383)])?v(v({},_0x3ddaf5),{'children':_0x3ddaf5[_0xe1f9fe(0x25c)][_0xe1f9fe(0x2b1)](function(_0x364813){const _0x2958d3=_0xe1f9fe;return typeof _0x364813[_0x2958d3(0x315)]['id']=='string'&&_0x3c8e97&&_0x3c8e97[_0x2958d3(0x283)](_0x364813[_0x2958d3(0x315)]['id'])?v(v({},_0x364813),{'attrs':v(v({},_0x364813[_0x2958d3(0x315)]),{'id':_0x364813[_0x2958d3(0x315)]['id']+_0x44e484['idSuffix']})}):_0x364813;})}):_0x3ddaf5;}function Fi(){const _0x161fd1=_0x3350ee;return Math[_0x161fd1(0x208)]()['toString'](0x24)[_0x161fd1(0x3c1)](0x2,0x8);}Fe[_0x3350ee(0x34a)]=_0x3350ee(0x307);var Yi={'tag':_0x3350ee(0x332),'attrs':{'xmlns':_0x3350ee(0x34e),'fill':'none','viewBox':_0x3350ee(0x33a),'width':_0x3350ee(0x34f),'height':_0x3350ee(0x34f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3350ee(0x2f7),'attrs':{'stroke':'currentColor','d':_0x3350ee(0x2ad),'strokeLinecap':_0x3350ee(0x325),'strokeLinejoin':_0x3350ee(0x325),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3350ee(0x347),'attrs':{'id':_0x3350ee(0x318)},'children':[{'tag':_0x3350ee(0x2f7),'attrs':{'fill':_0x3350ee(0x3a8),'d':_0x3350ee(0x218)}}]}]}],'defIds':[_0x3350ee(0x318)]},Dt=_0x55dba7(function(_0x25e929,_0x1fed38){const _0x5f4127=_0x3350ee;return _0xd83ebb(Fe,Object[_0x5f4127(0x2af)]({},_0x25e929,{'id':_0x5f4127(0x2ca),'ref':_0x1fed38,'icon':Yi}));});Dt[_0x3350ee(0x34a)]=_0x3350ee(0x2a1);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3350ee(0x209),'viewBox':_0x3350ee(0x2fe),'width':_0x3350ee(0x34f),'height':_0x3350ee(0x34f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3350ee(0x3b1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3350ee(0x3df),'strokeLinecap':'round','strokeLinejoin':_0x3350ee(0x325),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3350ee(0x347),'attrs':{'id':_0x3350ee(0x24a)},'children':[{'tag':_0x3350ee(0x2f7),'attrs':{'fill':_0x3350ee(0x3a8),'d':_0x3350ee(0x218),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3350ee(0x24a)]},Nt=_0x55dba7(function(_0x498a74,_0x4dfe38){const _0x326781=_0x3350ee;return _0xd83ebb(Fe,Object[_0x326781(0x2af)]({},_0x498a74,{'id':_0x326781(0x3eb),'ref':_0x4dfe38,'icon':ji}));});Nt[_0x3350ee(0x34a)]=_0x3350ee(0x1fe);function Vi(_0x45313d){const _0x370735=_0x3350ee;switch(_0x45313d){case _0x1337fa[_0x370735(0x386)]:return _0x370735(0x3cd);case _0x1337fa['CONFLICT']:return'collabStatus.conflict';case _0x1337fa[_0x370735(0x26a)]:return _0x370735(0x3bd);case _0x1337fa[_0x370735(0x30e)]:return _0x370735(0x326);case _0x1337fa[_0x370735(0x2ee)]:case _0x1337fa[_0x370735(0x39d)]:return _0x370735(0x241);case _0x1337fa[_0x370735(0x3e9)]:case _0x1337fa[_0x370735(0x2d2)]:return _0x370735(0x2c9);}}function Wi(_0x10eef4){const _0x443e1b=_0x3350ee,{status$:_0x10f10f}=_0x10eef4,_0x593345=_0x44c8cb(_0x10f10f,_0x1337fa[_0x443e1b(0x30e)]),_0x53329a=_0x49d892(_0x2f61f2),_0x4aefaf=_0x49d892(_0x57d112),_0x17e55c=_0x593345!==_0x1337fa[_0x443e1b(0x386)],_0x53abe8=_0x53329a['t'](Vi(_0x593345)),_0x2e015e=_0x17e55c?_0x11b2d1(Nt,{}):_0x11b2d1(Dt,{}),_0x3d69ed=_0x2744b3(()=>{const _0x813e10=_0x443e1b;_0x17e55c||_0x4aefaf[_0x813e10(0x3d2)]();},[_0x17e55c,_0x4aefaf]);function _0x53cb5e(){const _0x5d6ea5=_0x443e1b;return _0x3706b2(_0x5d6ea5(0x256),{'className':'univer-flex\x20univer-items-center','onClick':_0x3d69ed,'children':[_0x11b2d1(_0x5d6ea5(0x256),{'className':_0x5c46ee(_0x5d6ea5(0x263),{'univer-text-green-500':_0x17e55c,'univer-text-red-500':!_0x17e55c}),'children':_0x2e015e}),_0x11b2d1('div',{'className':_0x5d6ea5(0x2bc),'children':_0x53abe8})]});}return _0x17e55c?_0x53cb5e():_0x11b2d1(_0x1c329d,{'title':_0x53329a['t'](_0x443e1b(0x288)),'children':_0x53cb5e()});}var Xi=Object[_0x3350ee(0x24c)],Gi=(_0x3be2a5,_0x5eeedf,_0x46f048,_0x48818)=>{const _0x747bd7=_0x3350ee;for(var _0x5c68d5=_0x48818>0x1?void 0x0:_0x48818?Xi(_0x5eeedf,_0x46f048):_0x5eeedf,_0x195265=_0x3be2a5[_0x747bd7(0x383)]-0x1,_0x2793a6;_0x195265>=0x0;_0x195265--)(_0x2793a6=_0x3be2a5[_0x195265])&&(_0x5c68d5=_0x2793a6(_0x5c68d5)||_0x5c68d5);return _0x5c68d5;},Q=(_0x3493a7,_0xbe06e1)=>(_0x291702,_0x52ea00)=>_0xbe06e1(_0x291702,_0x52ea00,_0x3493a7);let te=class extends _0x277380{constructor(_0x59ebb6,_0x29eb6d,_0x4166cb,_0x3f6ca6){const _0x5ceda1=_0x3350ee;super(),_(this,_0x5ceda1(0x284),new _0x51a311(_0x1337fa[_0x5ceda1(0x30e)])),(this[_0x5ceda1(0x355)]=_0x59ebb6,this[_0x5ceda1(0x2f2)]=_0x29eb6d,this['_collaborationController']=_0x4166cb,this[_0x5ceda1(0x3a4)]=_0x3f6ca6,this[_0x5ceda1(0x3aa)](),this[_0x5ceda1(0x3ae)]());}[_0x3350ee(0x3ae)](){const _0x5f3058=_0x3350ee;this[_0x5f3058(0x2bd)](this['_univerInstanceService']['focused$'][_0x5f3058(0x21f)](_0x46ff19(()=>{const _0x31fb76=_0x5f3058,_0x63efab=this[_0x31fb76(0x355)][_0x31fb76(0x2a3)]();return _0x63efab?this[_0x31fb76(0x1fd)][_0x31fb76(0x2aa)](_0x63efab[_0x31fb76(0x395)]()):_0x1c14c3(null);}),_0x46ff19(_0x33a9e1=>_0x33a9e1?_0x33a9e1[_0x5f3058(0x225)]:_0x1c14c3(_0x1337fa[_0x5f3058(0x30e)])))[_0x5f3058(0x2f9)](_0x2a8b6f=>{const _0xc5afd9=_0x5f3058;this[_0xc5afd9(0x284)][_0xc5afd9(0x29a)](_0x2a8b6f);}));}[_0x3350ee(0x3aa)](){const _0x2ac006=_0x3350ee;this['disposeWithMe'](this[_0x2ac006(0x3a4)][_0x2ac006(0x333)](_0xbf09f1[_0x2ac006(0x2de)],()=>_0x3f9823(Ki({'status$':this[_0x2ac006(0x284)][_0x2ac006(0x276)]()}),this[_0x2ac006(0x2f2)])));}};te=Gi([Q(0x0,_0x37335e),Q(0x1,_0x5b9fea(_0xe07722)),Q(0x2,_0x5b9fea(_0x51086c)),Q(0x3,_0x33d21e)],te);function Ki(_0x50c4b3){const {status$:_0x3bef72}=_0x50c4b3;return function(){return _0x11b2d1(Wi,{'status$':_0x3bef72});};}var zi=Object[_0x3350ee(0x24c)],Ji=(_0x537ce9,_0x342560,_0x7a7da9,_0x29c414)=>{for(var _0x7cb492=_0x29c414>0x1?void 0x0:_0x29c414?zi(_0x342560,_0x7a7da9):_0x342560,_0x2c9301=_0x537ce9['length']-0x1,_0x3b7716;_0x2c9301>=0x0;_0x2c9301--)(_0x3b7716=_0x537ce9[_0x2c9301])&&(_0x7cb492=_0x3b7716(_0x7cb492)||_0x7cb492);return _0x7cb492;},B=(_0x4531b0,_0x24514b)=>(_0x3c9e34,_0x5f33db)=>_0x24514b(_0x3c9e34,_0x5f33db,_0x4531b0);let se=class extends _0x277380{constructor(_0x37c053,_0x335afa,_0x2f0bef,_0x454643,_0x38c6bc,_0x32d4ee){const _0x497f3d=_0x3350ee;super(),this['_beforeCloseService']=_0x37c053,this[_0x497f3d(0x231)]=_0x335afa,this[_0x497f3d(0x2f8)]=_0x2f0bef,this[_0x497f3d(0x384)]=_0x454643,this['_notificationService']=_0x38c6bc,this[_0x497f3d(0x25d)]=_0x32d4ee,this[_0x497f3d(0x304)](),this[_0x497f3d(0x26e)]();}[_0x3350ee(0x304)](){const _0x1b090b=_0x3350ee;this[_0x1b090b(0x2bd)](this[_0x1b090b(0x1e9)]['registerBeforeClose'](()=>{const _0x208b1b=_0x1b090b;if(this['_localCacheService'][_0x208b1b(0x20b)][_0x208b1b(0x25b)])return this[_0x208b1b(0x25d)]['t'](_0x208b1b(0x27f));}));}[_0x3350ee(0x26e)](){const _0x1cd355=_0x3350ee;this['disposeWithMe'](this[_0x1cd355(0x2f8)][_0x1cd355(0x259)][_0x1cd355(0x2f9)](_0x53f437=>{const _0x1b894e=_0x1cd355;_0x53f437['id']===_0x2c5209[_0x1b894e(0x3b3)]&&this[_0x1b894e(0x384)][_0x1b894e(0x399)]({'type':_0x63ad23['Warning'],'content':this['_localeService']['t'](_0x1b894e(0x38c))}),_0x53f437['id']===_0x2c5209[_0x1b894e(0x3e7)]&&this[_0x1b894e(0x384)][_0x1b894e(0x399)]({'type':_0x63ad23['Warning'],'content':this[_0x1b894e(0x25d)]['t']('collaboration.closeRoom')}),_0x53f437['id']===_0x2c5209['PERMISSION_DENIED']&&this[_0x1b894e(0x3d6)][_0x1b894e(0x399)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x1b894e(0x25d)]['t'](_0x1b894e(0x2da)),'type':'error','duration':0x0}),_0x53f437['id']===_0x2c5209[_0x1b894e(0x234)]&&this[_0x1b894e(0x384)][_0x1b894e(0x399)]({'type':_0x63ad23['Error'],'content':this['_localeService']['t'](_0x1b894e(0x357))+'('+_0x53f437[_0x1b894e(0x21e)]+')'}),_0x53f437['id']===_0x2c5209[_0x1b894e(0x239)]&&this[_0x1b894e(0x384)][_0x1b894e(0x399)]({'type':_0x63ad23['Warning'],'content':this[_0x1b894e(0x25d)]['t'](_0x53f437[_0x1b894e(0x21e)]||'')}),_0x53f437['id']===_0x2c5209[_0x1b894e(0x232)]&&this[_0x1b894e(0x384)][_0x1b894e(0x399)]({'type':_0x63ad23[_0x1b894e(0x211)],'content':this[_0x1b894e(0x25d)]['t'](_0x1b894e(0x372))}),_0x53f437['id']===_0x2c5209[_0x1b894e(0x2d6)]&&this[_0x1b894e(0x384)][_0x1b894e(0x399)]({'type':_0x63ad23[_0x1b894e(0x26b)],'content':this['_localeService']['t'](_0x1b894e(0x3cc))}),_0x53f437['id']===_0x2c5209[_0x1b894e(0x380)]&&this[_0x1b894e(0x384)]['show']({'type':_0x63ad23[_0x1b894e(0x26b)],'content':this[_0x1b894e(0x25d)]['t'](_0x1b894e(0x2b3))});}));}};se=Ji([B(0x0,_0x2fe75a),B(0x1,_0x19286a),B(0x2,_0x5b9fea(_0x37324c)),B(0x3,_0x49ee68),B(0x4,_0xc8d2ba),B(0x5,_0x5b9fea(_0x2f61f2))],se);const Zi=_0x3350ee(0x274),et={},Ut=_0x2375f3(_0x3350ee(0x3a7));var Qi=Object[_0x3350ee(0x24c)],qi=(_0x187639,_0x4e1959,_0x395d8e,_0x5079dd)=>{const _0x2b227d=_0x3350ee;for(var _0x42d7d9=_0x5079dd>0x1?void 0x0:_0x5079dd?Qi(_0x4e1959,_0x395d8e):_0x4e1959,_0x351c0d=_0x187639[_0x2b227d(0x383)]-0x1,_0x53d37c;_0x351c0d>=0x0;_0x351c0d--)(_0x53d37c=_0x187639[_0x351c0d])&&(_0x42d7d9=_0x53d37c(_0x42d7d9)||_0x42d7d9);return _0x42d7d9;},G=(_0x54b392,_0x2a6cc1)=>(_0x262629,_0x5423ce)=>_0x2a6cc1(_0x262629,_0x5423ce,_0x54b392);let ie=class extends _0x564372{constructor(_0x3adfa8,_0x36aa85,_0x5c33be,_0x49c6c6,_0x4b344a){const _0x535a4e=_0x3350ee;super(),this['_urlService']=_0x3adfa8,this[_0x535a4e(0x3d0)]=_0x36aa85,this[_0x535a4e(0x28d)]=_0x5c33be,this['_dataLoaderService']=_0x49c6c6,_0x4b344a?_0x4b344a==null||_0x4b344a[_0x535a4e(0x2d5)]()[_0x535a4e(0x303)](()=>this[_0x535a4e(0x1e8)]()):(this[_0x535a4e(0x3d0)][_0x535a4e(0x3e5)]('[CollaborationDataLoaderController]',_0x535a4e(0x1fc)),this[_0x535a4e(0x1e8)]());}async[_0x3350ee(0x1e8)](){const _0x473099=_0x3350ee,_0x2cf03c=this[_0x473099(0x358)][_0x473099(0x1ea)](_0x473099(0x31e)),_0x11c9ad=this[_0x473099(0x358)][_0x473099(0x1ea)](_0x473099(0x2ff)),_0x133292=this[_0x473099(0x358)][_0x473099(0x1ea)](_0x473099(0x295));if(!_0x2cf03c||!_0x11c9ad){this[_0x473099(0x3d0)][_0x473099(0x3e5)](_0x473099(0x344),_0x473099(0x20a));return;}const _0x26753c=await this['_dataLoaderService'][_0x473099(0x3c9)](_0x2cf03c,Number(_0x11c9ad),_0x133292);_0x26753c&&_0x26753c instanceof _0x85ab8&&this['_setupSubUnitSync'](_0x26753c);}async['_setupSubUnitSync'](_0x2f0467){const _0x47c16f=_0x3350ee;await this[_0x47c16f(0x2b4)](_0x2f0467),_0x2f0467[_0x47c16f(0x222)][_0x47c16f(0x21f)](_0x51006e(this[_0x47c16f(0x349)]))['subscribe'](_0x464d58=>{const _0x313c14=_0x47c16f;_0x464d58&&this[_0x313c14(0x2f3)](_0x464d58);}),this['_urlService'][_0x47c16f(0x334)]['pipe'](_0x51006e(this[_0x47c16f(0x349)]))[_0x47c16f(0x2f9)](()=>this['_updateSubUnitFromURLParams'](_0x2f0467));}[_0x3350ee(0x2f3)](_0x4c0bb9,_0x3389c0=!0x1){const _0x223903=_0x3350ee,_0x1e7efc=this[_0x223903(0x358)][_0x223903(0x1ea)]('subunit');_0x4c0bb9[_0x223903(0x3de)]()!==_0x1e7efc&&this[_0x223903(0x358)][_0x223903(0x2bf)](_0x223903(0x295),_0x4c0bb9[_0x223903(0x3de)](),_0x3389c0);}async['_updateSubUnitFromURLParams'](_0x3a3977){const _0x361253=_0x3350ee;var _0x31a6d6;const _0x5c3be3=this[_0x361253(0x358)][_0x361253(0x1ea)](_0x361253(0x295));if(!_0x5c3be3||!_0x3a3977[_0x361253(0x2d8)](_0x5c3be3)){const _0xa03369=_0x3a3977[_0x361253(0x2b5)]()[0x0],_0x3d4525=_0x3a3977[_0x361253(0x2d8)](_0xa03369);if(!_0x3d4525)return;this[_0x361253(0x2f3)](_0x3d4525,!0x0),await this[_0x361253(0x28d)]['executeCommand'](_0x276a61['id'],{'unitId':_0x3a3977[_0x361253(0x395)](),'subUnitId':_0xa03369});return;}((_0x31a6d6=_0x3a3977[_0x361253(0x2ed)]())==null?void 0x0:_0x31a6d6[_0x361253(0x3de)]())!==_0x5c3be3&&await this[_0x361253(0x28d)][_0x361253(0x22c)](_0x276a61['id'],{'unitId':_0x3a3977['getUnitId'](),'subUnitId':_0x5c3be3});}};ie=qi([G(0x0,Ut),G(0x1,_0x31d277),G(0x2,_0x9a1f4f),G(0x3,_0x5b9fea(_0x1b7b50)),G(0x4,_0x7ff9b4(_0x53192e))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0xc668f5,_0x315d42,_0x152b44,_0x257746)=>{for(var _0x515b71=_0x257746>0x1?void 0x0:_0x257746?en(_0x315d42,_0x152b44):_0x315d42,_0x17536f=_0xc668f5['length']-0x1,_0x228065;_0x17536f>=0x0;_0x17536f--)(_0x228065=_0xc668f5[_0x17536f])&&(_0x515b71=_0x228065(_0x515b71)||_0x515b71);return _0x515b71;},pe=(_0xf886ad,_0x3fa144)=>(_0x42f353,_0x2b97e2)=>_0x3fa144(_0x42f353,_0x2b97e2,_0xf886ad);let ne=class{constructor(_0x5a430a,_0x2d9477,_0x53189d){const _0x11e738=_0x3350ee;this['_injector']=_0x5a430a,this[_0x11e738(0x3c2)]=_0x2d9477,this[_0x11e738(0x35f)]=_0x53189d;}[_0x3350ee(0x362)](_0x4c3689){const _0x47bbd3=_0x3350ee;this[_0x47bbd3(0x282)](_0x4c3689),this[_0x47bbd3(0x254)](_0x4c3689);}[_0x3350ee(0x35d)](_0x26bb00){const _0x43be04=_0x3350ee,{unitID:_0x2a3751}=_0x26bb00,_0x4db392=this[_0x43be04(0x35f)][_0x43be04(0x27e)](_0x2a3751)['with'](_0x239fa5),{redoCache:_0x156f6b}=_0x4db392[_0x43be04(0x20d)]();if(_0x156f6b[_0x43be04(0x383)]===0x0)return _0x26bb00;let _0x5c7df2=_0x35f79a[_0x43be04(0x1e5)](_0x26bb00[_0x43be04(0x22a)][0x0]);for(let _0x57af4d=0x0;_0x57af4d<_0x156f6b[_0x43be04(0x383)];_0x57af4d++){const _0x585eb6={'id':'doc.mutation.rich-text-editing','params':{..._0x156f6b[_0x57af4d]}},_0x2a60c4=this[_0x43be04(0x3c2)][_0x43be04(0x323)](_0x5c7df2,_0x585eb6,!0x1);if(_0x3aa2b1(_0x2a60c4))throw _0x2a60c4['error'];_0x5c7df2=_0x2a60c4[_0x43be04(0x360)];}return{..._0x35f79a[_0x43be04(0x1e5)](_0x26bb00),'mutations':[_0x5c7df2]};}[_0x3350ee(0x282)](_0xf2389a){const _0xdfd3f8=_0x3350ee,{unitID:_0x19256e}=_0xf2389a,_0x13a5b2=this['_renderManagerService']['getRenderById'](_0x19256e)[_0xdfd3f8(0x33d)](_0x239fa5),{undoCache:_0x58fdf5,redoCache:_0xeb2a1a}=_0x13a5b2[_0xdfd3f8(0x20d)]();if(_0x58fdf5[_0xdfd3f8(0x383)]===0x0||_0xeb2a1a[_0xdfd3f8(0x383)]===0x0)return;const _0x17e695=[],_0x3d022a=[];let _0x5e4c8c=_0x35f79a[_0xdfd3f8(0x1e5)](_0xf2389a[_0xdfd3f8(0x22a)][0x0]),_0x312be3=_0x35f79a[_0xdfd3f8(0x1e5)](_0xf2389a[_0xdfd3f8(0x22a)][0x0]);for(let _0x1f6a43=_0x58fdf5['length']-0x1;_0x1f6a43>=0x0;_0x1f6a43--){const _0x57a555={'id':_0xdfd3f8(0x1ec),'params':{..._0x58fdf5[_0x1f6a43]}},_0x2afa6a={'id':'doc.mutation.rich-text-editing','params':{..._0xeb2a1a[_0x1f6a43]}},_0x5eba5f=this[_0xdfd3f8(0x3c2)][_0xdfd3f8(0x323)](_0x5e4c8c,_0x57a555,!0x1),_0x39b44e=this[_0xdfd3f8(0x3c2)][_0xdfd3f8(0x323)](_0x312be3,_0x2afa6a,!0x1);if(_0x3aa2b1(_0x5eba5f))throw _0x5eba5f[_0xdfd3f8(0x314)];if(_0x3aa2b1(_0x39b44e))throw _0x39b44e[_0xdfd3f8(0x314)];_0x17e695[_0xdfd3f8(0x319)](_0x5eba5f[_0xdfd3f8(0x309)][_0xdfd3f8(0x3c6)]),_0x3d022a[_0xdfd3f8(0x319)](_0x39b44e[_0xdfd3f8(0x309)][_0xdfd3f8(0x3c6)]),_0x5e4c8c=_0x5eba5f[_0xdfd3f8(0x360)],_0x312be3=_0x39b44e['m1Prime'];}_0x13a5b2['setUndoRedoMutationParamsCache']({'undoCache':_0x17e695,'redoCache':_0x3d022a});}[_0x3350ee(0x254)](_0x2a0704){const _0x43bc84=_0x3350ee,{unitID:_0x589fbf}=_0x2a0704,_0x54a1de=this[_0x43bc84(0x35f)]['getRenderById'](_0x589fbf)[_0x43bc84(0x33d)](_0x239fa5),_0x1deb1e=_0x54a1de['getActiveRange']();if(_0x1deb1e==null)return;const _0x5e7176=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a0704[_0x43bc84(0x250)],'actions':null,'textRanges':[_0x1deb1e]}}],_0x2859ba=this['_transformService']['transformMutationsWithChangeset'](_0x2a0704,_0x5e7176);if(!_0x79a16d(_0x2859ba))throw _0x2859ba[_0x43bc84(0x314)];const _0x2c96ab=_0x2859ba['m2Prime'][0x0]['params']['textRanges'];Array[_0x43bc84(0x3ea)](_0x2c96ab)&&_0x2c96ab[_0x43bc84(0x383)]&&_0x54a1de[_0x43bc84(0x251)](_0x2c96ab[0x0]);}};ne=tn([pe(0x0,_0x5b9fea(_0xe07722)),pe(0x1,_0x14f44f),pe(0x2,_0x116a5e)],ne);var sn=Object[_0x3350ee(0x24c)],nn=(_0x34e39c,_0x246b62,_0x469cba,_0x3819fa)=>{const _0x154800=_0x3350ee;for(var _0x40e001=_0x3819fa>0x1?void 0x0:_0x3819fa?sn(_0x246b62,_0x469cba):_0x246b62,_0xeba874=_0x34e39c[_0x154800(0x383)]-0x1,_0x3bcb2c;_0xeba874>=0x0;_0xeba874--)(_0x3bcb2c=_0x34e39c[_0xeba874])&&(_0x40e001=_0x3bcb2c(_0x40e001)||_0x40e001);return _0x40e001;},Ce=(_0x1690ed,_0x4ac98a)=>(_0x414a3a,_0x45ed01)=>_0x4ac98a(_0x414a3a,_0x45ed01,_0x1690ed);let re=class{constructor(_0x3d2840,_0x455ce5,_0xe92e96){const _0x57b44d=_0x3350ee;this[_0x57b44d(0x2f2)]=_0x3d2840,this[_0x57b44d(0x3c2)]=_0x455ce5,this[_0x57b44d(0x34c)]=_0xe92e96;}[_0x3350ee(0x2ab)](_0x3d1291){const _0x11bc7f=_0x3350ee;this[_0x11bc7f(0x3e4)](_0x3d1291);}[_0x3350ee(0x35d)](_0x125014){const _0x129ead=_0x3350ee,{unitID:_0xa00f09}=_0x125014,{collaboration:_0x1670ce}=this[_0x129ead(0x34c)][_0x129ead(0x2df)](_0xa00f09);if(_0x1670ce[_0x129ead(0x383)]===0x0)return _0x125014;let _0x2f8956=_0x35f79a['deepClone'](_0x125014[_0x129ead(0x22a)][0x0]);for(let _0x2d5359=0x0;_0x2d5359<_0x1670ce[_0x129ead(0x383)];_0x2d5359++){const _0x161fde={'id':_0x129ead(0x1ec),'params':{'unitId':_0x1670ce[_0x2d5359][_0x129ead(0x3ee)],..._0x1670ce[_0x2d5359][_0x129ead(0x1e6)]}},_0x43b3c9=this[_0x129ead(0x3c2)][_0x129ead(0x323)](_0x2f8956,_0x161fde,!0x1);if(_0x3aa2b1(_0x43b3c9))throw _0x43b3c9[_0x129ead(0x314)];_0x2f8956=_0x43b3c9['m1Prime'];}return{..._0x35f79a[_0x129ead(0x1e5)](_0x125014),'mutations':[_0x2f8956]};}[_0x3350ee(0x3e4)](_0x256497){const _0x3bdc24=_0x3350ee,{unitID:_0xc604d7}=_0x256497,{history:_0x4a596a,collaboration:_0x10fed8}=this[_0x3bdc24(0x34c)][_0x3bdc24(0x2df)](_0xc604d7);if(_0x4a596a[_0x3bdc24(0x383)]===0x0&&_0x10fed8[_0x3bdc24(0x383)]===0x0)return;const _0x49cc6a=[],_0x7796a8=[];let _0x15acb8=_0x35f79a['deepClone'](_0x256497[_0x3bdc24(0x22a)][0x0]),_0x29c307=_0x35f79a[_0x3bdc24(0x1e5)](_0x256497[_0x3bdc24(0x22a)][0x0]);for(let _0x4685ea=_0x4a596a[_0x3bdc24(0x383)]-0x1;_0x4685ea>=0x0;_0x4685ea--){const _0x457617={'id':_0x3bdc24(0x1ec),'params':{'unitId':_0x4a596a[_0x4685ea]['unitId'],..._0x4a596a[_0x4685ea][_0x3bdc24(0x29c)]}},_0x42df10={'id':_0x3bdc24(0x1ec),'params':{'unitId':_0x4a596a[_0x4685ea][_0x3bdc24(0x3ee)],..._0x4a596a[_0x4685ea][_0x3bdc24(0x1e6)]}},_0x32ea66=this[_0x3bdc24(0x3c2)][_0x3bdc24(0x323)](_0x15acb8,_0x457617,!0x1),_0xd45522=this[_0x3bdc24(0x3c2)][_0x3bdc24(0x323)](_0x29c307,_0x42df10,!0x1);if(_0x3aa2b1(_0x32ea66))throw _0x32ea66['error'];if(_0x3aa2b1(_0xd45522))throw _0xd45522['error'];_0x49cc6a['unshift']({..._0x4a596a[_0x4685ea],'undoState':_0x32ea66[_0x3bdc24(0x309)][_0x3bdc24(0x3c6)],'redoState':_0xd45522[_0x3bdc24(0x309)][_0x3bdc24(0x3c6)]}),_0x15acb8=_0x32ea66[_0x3bdc24(0x360)],_0x29c307=_0xd45522[_0x3bdc24(0x360)];}_0x15acb8=_0x35f79a[_0x3bdc24(0x1e5)](_0x256497[_0x3bdc24(0x22a)][0x0]),_0x29c307=_0x35f79a[_0x3bdc24(0x1e5)](_0x256497[_0x3bdc24(0x22a)][0x0]);for(let _0x302ce9=_0x10fed8[_0x3bdc24(0x383)]-0x1;_0x302ce9>=0x0;_0x302ce9--){const _0x562c3d={'id':_0x3bdc24(0x1ec),'params':{'unitId':_0x10fed8[_0x302ce9][_0x3bdc24(0x3ee)],..._0x10fed8[_0x302ce9][_0x3bdc24(0x29c)]}},_0xed071b={'id':_0x3bdc24(0x1ec),'params':{'unitId':_0x10fed8[_0x302ce9]['unitId'],..._0x10fed8[_0x302ce9][_0x3bdc24(0x1e6)]}},_0x188b1d=this[_0x3bdc24(0x3c2)]['transformMutation'](_0x15acb8,_0x562c3d,!0x1),_0x5a3890=this[_0x3bdc24(0x3c2)][_0x3bdc24(0x323)](_0x29c307,_0xed071b,!0x1);if(_0x3aa2b1(_0x188b1d))throw _0x188b1d['error'];if(_0x3aa2b1(_0x5a3890))throw _0x5a3890[_0x3bdc24(0x314)];_0x7796a8[_0x3bdc24(0x319)]({..._0x10fed8[_0x302ce9],'undoState':_0x188b1d[_0x3bdc24(0x309)][_0x3bdc24(0x3c6)],'redoState':_0x5a3890[_0x3bdc24(0x309)][_0x3bdc24(0x3c6)]}),_0x15acb8=_0x188b1d['m1Prime'],_0x29c307=_0x5a3890[_0x3bdc24(0x360)];}this[_0x3bdc24(0x34c)][_0x3bdc24(0x3e6)](_0xc604d7,{'history':_0x49cc6a,'collaboration':_0x7796a8});}};re=nn([Ce(0x0,_0x5b9fea(_0xe07722)),Ce(0x1,_0x14f44f),Ce(0x2,_0x5b9fea(_0x451348))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x29c686,_0x1d8136,_0x3ea9b1,_0x228ab9)=>{const _0x1cdac4=_0x3350ee;for(var _0x29fec5=_0x228ab9>0x1?void 0x0:_0x228ab9?rn(_0x1d8136,_0x3ea9b1):_0x1d8136,_0x19196a=_0x29c686[_0x1cdac4(0x383)]-0x1,_0x3b1aa4;_0x19196a>=0x0;_0x19196a--)(_0x3b1aa4=_0x29c686[_0x19196a])&&(_0x29fec5=_0x3b1aa4(_0x29fec5)||_0x29fec5);return _0x29fec5;},tt=(_0x555180,_0x1ef488)=>(_0x5820a6,_0x18c9e1)=>_0x1ef488(_0x5820a6,_0x18c9e1,_0x555180);let oe=class{constructor(_0x4a6f56,_0x142abc){const _0x2cbd83=_0x3350ee;this[_0x2cbd83(0x2f2)]=_0x4a6f56,this[_0x2cbd83(0x3c2)]=_0x142abc;}[_0x3350ee(0x31f)](_0x24e9ed){const _0x5b90dd=_0x3350ee;var _0x4938fb;const _0x32eac4=this[_0x5b90dd(0x2f2)]['get'](_0x4ab227),_0x5b0d4f=(_0x4938fb=_0x32eac4[_0x5b90dd(0x2e8)]())!=null?_0x4938fb:[];if(_0x5b0d4f[_0x5b90dd(0x383)]===0x0)return;const _0x5844be=_0x24e9ed[_0x5b90dd(0x250)],_0x1e1407=[{'id':_0x5b90dd(0x1ec),'params':{'unitId':_0x5844be,'actions':null,'textRanges':_0x5b0d4f}}],_0x3c3029=this[_0x5b90dd(0x3c2)][_0x5b90dd(0x2f5)](_0x24e9ed,_0x1e1407);if(!_0x79a16d(_0x3c3029))throw _0x3c3029[_0x5b90dd(0x314)];const _0x472ebf=_0x3c3029[_0x5b90dd(0x309)][0x0][_0x5b90dd(0x3c6)][_0x5b90dd(0x2c8)];Array[_0x5b90dd(0x3ea)](_0x472ebf)&&_0x472ebf[_0x5b90dd(0x383)]&&_0x32eac4[_0x5b90dd(0x3e2)](_0x472ebf,{'unitId':_0x5844be,'subUnitId':_0x5844be},!0x1);}};oe=on([tt(0x0,_0x5b9fea(_0xe07722)),tt(0x1,_0x14f44f)],oe);var an=Object[_0x3350ee(0x24c)],cn=(_0x5d7205,_0x1d35b9,_0x1311df,_0x3f3951)=>{const _0xe884b2=_0x3350ee;for(var _0x5f0f65=_0x3f3951>0x1?void 0x0:_0x3f3951?an(_0x1d35b9,_0x1311df):_0x1d35b9,_0x1aacdf=_0x5d7205[_0xe884b2(0x383)]-0x1,_0xe57917;_0x1aacdf>=0x0;_0x1aacdf--)(_0xe57917=_0x5d7205[_0x1aacdf])&&(_0x5f0f65=_0xe57917(_0x5f0f65)||_0x5f0f65);return _0x5f0f65;},U=(_0x57db5a,_0xdc297e)=>(_0x223557,_0x2c4439)=>_0xdc297e(_0x223557,_0x2c4439,_0x57db5a);let ae=class extends _0x277380{constructor(_0x4cff55,_0x57ee27,_0x16cf75,_0x5aa490,_0x2e3e43,_0x43c7af,_0x37aa90,_0x46ae37){const _0x51957e=_0x3350ee;super(),_(this,'_status$',new _0x51a311(_0x1337fa[_0x51957e(0x30e)])),(this[_0x51957e(0x34c)]=_0x4cff55,this[_0x51957e(0x1fd)]=_0x57ee27,this[_0x51957e(0x38e)]=_0x16cf75,this[_0x51957e(0x3f1)]=_0x5aa490,this[_0x51957e(0x220)]=_0x2e3e43,this['_docSyncEditingCollabCursorService']=_0x43c7af,this[_0x51957e(0x384)]=_0x37aa90,this['_localeService']=_0x46ae37,this[_0x51957e(0x217)]());}[_0x3350ee(0x217)](){const _0x89d182=_0x3350ee;this[_0x89d182(0x2bd)](this[_0x89d182(0x1fd)][_0x89d182(0x305)][_0x89d182(0x2f9)](_0x105fbf=>{const _0x1a48a0=_0x89d182,_0x385daf=this[_0x1a48a0(0x34c)][_0x1a48a0(0x3b7)][_0x1a48a0(0x2f9)](_0x39e3f9=>{const _0x3f7770=_0x1a48a0;if(_0x39e3f9==null)return;const {unitId:_0x5a0b10,redoState:_0x3d4d8e,commandId:_0x4d220a}=_0x39e3f9;if(_0x5a0b10!==_0x105fbf['unitID'])return;const _0x3c5b97={'id':_0x4d220a,'type':_0x1ffa86[_0x3f7770(0x249)],'params':{'unitId':_0x5a0b10,'actions':_0x3d4d8e[_0x3f7770(0x216)],'textRanges':null}};_0x105fbf[_0x3f7770(0x330)](_0x3c5b97);});if(_0x105fbf['disposeWithMe'](_0x385daf),_0x105fbf instanceof _0xdadc9e){const _0x2d200f={'onTransformIME':_0x57c1c2=>this[_0x1a48a0(0x38e)][_0x1a48a0(0x362)](_0x57c1c2),'onTransformState':_0x5140f2=>this[_0x1a48a0(0x3f1)]['transformStateCache'](_0x5140f2),'onTransformSelections':_0x529a46=>this['_docTransformSelectionsService'][_0x1a48a0(0x31f)](_0x529a46),'onSyncEditingCollabCursor':_0x4717e9=>this[_0x1a48a0(0x2f6)][_0x1a48a0(0x364)](_0x4717e9),'onTransformRemoteChangesetByIMECache':_0x244bbb=>this['_docTransformIMECacheService'][_0x1a48a0(0x35d)](_0x244bbb),'onTransformRemoteChangesetByStateCache':_0xf49841=>this[_0x1a48a0(0x3f1)][_0x1a48a0(0x35d)](_0xf49841)};_0x105fbf[_0x1a48a0(0x3a6)](_0x2d200f);}}));}};ae=cn([U(0x0,_0x5b9fea(_0x451348)),U(0x1,_0x5b9fea(_0x51086c)),U(0x2,_0x5b9fea(ne)),U(0x3,_0x5b9fea(re)),U(0x4,_0x5b9fea(oe)),U(0x5,_0x5b9fea(He)),U(0x6,_0x49ee68),U(0x7,_0x5b9fea(_0x2f61f2))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x42f004,_0x2f4859,_0x41fa77,_0x4bdcc8)=>{const _0x2133a8=_0x3350ee;for(var _0x329a4a=_0x4bdcc8>0x1?void 0x0:_0x4bdcc8?ln(_0x2f4859,_0x41fa77):_0x2f4859,_0x3e53f0=_0x42f004[_0x2133a8(0x383)]-0x1,_0x2a6070;_0x3e53f0>=0x0;_0x3e53f0--)(_0x2a6070=_0x42f004[_0x3e53f0])&&(_0x329a4a=_0x2a6070(_0x329a4a)||_0x329a4a);return _0x329a4a;},Ee=(_0x1944fb,_0x332cbc)=>(_0x26556c,_0x3e8032)=>_0x332cbc(_0x26556c,_0x3e8032,_0x1944fb);let we=class extends _0x277380{constructor(_0xfbca8d,_0x3a13f8,_0x1c186e){const _0x1cc4cd=_0x3350ee;super(),_(this,_0x1cc4cd(0x354),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x1cc4cd(0x1f4),!0x1),(this['_configService']=_0xfbca8d,this[_0x1cc4cd(0x2c6)]=_0x3a13f8,this['_revisionService']=_0x1c186e);}[_0x3350ee(0x24e)](){const _0x5a5a86=_0x3350ee;this[_0x5a5a86(0x1f4)]=!0x0;}[_0x3350ee(0x385)](){const _0x127c01=_0x3350ee;this[_0x127c01(0x1f4)]=!0x1;}get['saveTaskMap'](){const _0x32d30a=_0x3350ee;return this[_0x32d30a(0x2fc)];}[_0x3350ee(0x37f)](){const _0x5d438c=_0x3350ee;this['exhaustSavingTask']()[_0x5d438c(0x303)](()=>super[_0x5d438c(0x37f)]());}async['loadOfflineData'](_0x3471a1){const _0x24ca34=_0x3350ee;return this[_0x24ca34(0x1f4)]?null:this[_0x24ca34(0x2c6)][_0x24ca34(0x3b5)](_0x8d4d31(_0x3471a1));}async[_0x3350ee(0x2ae)](_0x13c38e,_0x1f28fa){const _0x1d2c66=_0x3350ee;return!!this[_0x1d2c66(0x2c6)][_0x1d2c66(0x36a)](_0x13c38e,_0x1f28fa);}[_0x3350ee(0x22d)](_0x5b7725,_0x246b5f,_0x3d13f5,_0x11def5){const _0x5e04e6=_0x3350ee,_0x4fece2=this[_0x5e04e6(0x3e8)][_0x5e04e6(0x2a7)](_0x5b7725);this['_cachedData'][_0x5e04e6(0x26c)](_0x5b7725,{'unitID':_0x5b7725,'type':_0x246b5f,'awaitingChangeset':_0x3d13f5,'mutations':_0x11def5,'rev':_0x4fece2}),this[_0x5e04e6(0x2fc)]['has'](_0x5b7725)||this[_0x5e04e6(0x2d3)](_0x5b7725);}[_0x3350ee(0x2d3)](_0x1d8ade){const _0x309d70=_0x3350ee,_0x5a7d41=this[_0x309d70(0x2ce)]();_0x5a7d41===0x0?this['_saveCache'](_0x1d8ade):this['_saveTaskMap'][_0x309d70(0x26c)](_0x1d8ade,setTimeout(()=>this[_0x309d70(0x390)](_0x1d8ade),_0x5a7d41));}['_getSaveTimeout'](){const _0x41e725=_0x3350ee;var _0xf92882;return(_0xf92882=this[_0x41e725(0x343)][_0x41e725(0x21d)](_0x1596f6))!=null?_0xf92882:_0x12b7f8;}[_0x3350ee(0x390)](_0x411f74){const _0x475bc8=_0x3350ee,_0x1f435a=this[_0x475bc8(0x2fc)]['get'](_0x411f74);return _0x1f435a!==void 0x0&&window['clearTimeout'](_0x1f435a),this['_localStorageService'][_0x475bc8(0x36a)](_0x8d4d31(_0x411f74),this[_0x475bc8(0x354)][_0x475bc8(0x3d5)](_0x411f74))[_0x475bc8(0x303)](()=>this[_0x475bc8(0x2fc)]['delete'](_0x411f74));}async['exhaustSavingTask'](){const _0x437691=_0x3350ee,_0x2873f0=[];this['_saveTaskMap'][_0x437691(0x387)]((_0x5c337a,_0x596d68)=>{const _0x271d0d=_0x437691;window['clearTimeout'](_0x5c337a),_0x2873f0['push'](this[_0x271d0d(0x390)](_0x596d68)[_0x271d0d(0x303)](()=>{const _0x312383=_0x271d0d;this[_0x312383(0x2fc)][_0x312383(0x1f3)](_0x596d68);}));}),await Promise[_0x437691(0x24d)](_0x2873f0);}};we=_n([Ee(0x0,_0x43f505),Ee(0x1,_0x4713b6),Ee(0x2,_0x5b9fea(_0x5ef66c))],we);class hn extends _0x564372{constructor(){const _0x42c7a8=_0x3350ee;super(),_(this,_0x42c7a8(0x334)),this[_0x42c7a8(0x334)]=_0xce820a(window,_0x42c7a8(0x257))['pipe'](_0x51006e(this[_0x42c7a8(0x349)]),_0x350f4b(0x1),_0x47598b(void 0x0));}[_0x3350ee(0x2bf)](_0xdb0102,_0x383bd9,_0x586b1b=!0x1){const _0x4b5da8=_0x3350ee,_0x57c7e9=new URL(window[_0x4b5da8(0x297)][_0x4b5da8(0x22e)]);_0x57c7e9['searchParams'][_0x4b5da8(0x26c)](_0xdb0102,_0x383bd9),_0x586b1b?window['history'][_0x4b5da8(0x23d)]('','',_0x57c7e9[_0x4b5da8(0x213)]()):window[_0x4b5da8(0x1f2)]['pushState']('','',_0x57c7e9['toString']());}[_0x3350ee(0x361)](_0x200e8c,_0x3ba3f7=!0x1){const _0x118a23=_0x3350ee,_0x5fcbfa=new URL(window[_0x118a23(0x297)][_0x118a23(0x22e)]);_0x5fcbfa[_0x118a23(0x2b9)]['delete'](_0x200e8c),_0x3ba3f7?window[_0x118a23(0x1f2)][_0x118a23(0x23d)]('','',_0x5fcbfa[_0x118a23(0x213)]()):window['history']['pushState']('','',_0x5fcbfa[_0x118a23(0x213)]());}[_0x3350ee(0x1ea)](_0x2716c9){const _0x19ab96=_0x3350ee;var _0x4cc9d1;return(_0x4cc9d1=new URL(window['location'][_0x19ab96(0x22e)])['searchParams'][_0x19ab96(0x3d5)](_0x2716c9))!=null?_0x4cc9d1:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x3350ee(0x24c)],fn=(_0x2fe6cd,_0x2ed0cc,_0x1d91eb)=>_0x2ed0cc in _0x2fe6cd?un(_0x2fe6cd,_0x2ed0cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d91eb}):_0x2fe6cd[_0x2ed0cc]=_0x1d91eb,Sn=(_0x410e22,_0x28f417,_0x32291e,_0x3b85b9)=>{const _0x2e35ea=_0x3350ee;for(var _0x4662b0=_0x3b85b9>0x1?void 0x0:_0x3b85b9?dn(_0x28f417,_0x32291e):_0x28f417,_0x4ecba1=_0x410e22[_0x2e35ea(0x383)]-0x1,_0x47a5fd;_0x4ecba1>=0x0;_0x4ecba1--)(_0x47a5fd=_0x410e22[_0x4ecba1])&&(_0x4662b0=_0x47a5fd(_0x4662b0)||_0x4662b0);return _0x4662b0;},Oe=(_0x2ff935,_0x3dbf29)=>(_0x37b524,_0x2c7289)=>_0x3dbf29(_0x37b524,_0x2c7289,_0x2ff935),mn=(_0xc44fcf,_0x45ebc4,_0x424d20)=>fn(_0xc44fcf,_0x45ebc4+'',_0x424d20);const In=_0x3350ee(0x203);let Ae=class extends _0x5a18e9{constructor(_0x251e86=et,_0xfeacdd,_0x3d9b8c,_0x1c6d10){const _0x11a270=_0x3350ee;super(),this[_0x11a270(0x36f)]=_0x251e86,this[_0x11a270(0x35f)]=_0xfeacdd,this['_injector']=_0x3d9b8c,this[_0x11a270(0x343)]=_0x1c6d10;const {..._0x4a9fcf}=_0x31d225({},et,this[_0x11a270(0x36f)]);this[_0x11a270(0x343)][_0x11a270(0x38f)](Zi,_0x4a9fcf);}[_0x3350ee(0x2cd)](){const _0x16247a=_0x3350ee;this[_0x16247a(0x20e)](),this['_initDependencies']();}[_0x3350ee(0x229)](){const _0x40f154=_0x3350ee;this[_0x40f154(0x200)]();}[_0x3350ee(0x20e)](){const _0x4fda6d=_0x3350ee;var _0x11ff86;const _0x33f939=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4aa9e6,{'useClass':_0x148df0}],[_0x19286a,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0xfa818f(this[_0x4fda6d(0x2f2)],_0x235f79(_0x33f939,(_0x11ff86=this['_config'])==null?void 0x0:_0x11ff86['override']));}[_0x3350ee(0x200)](){const _0x507062=_0x3350ee;this['disposeWithMe'](this[_0x507062(0x35f)][_0x507062(0x2e2)](_0x599392['UNIVER_DOC'],[Le])),this[_0x507062(0x2bd)](this[_0x507062(0x35f)][_0x507062(0x2e2)](_0x599392[_0x507062(0x299)],[Pe]));}[_0x3350ee(0x267)](){_0x25196e(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x709a12(_0x1f0be0),Oe(0x1,_0x116a5e),Oe(0x2,_0x5b9fea(_0xe07722)),Oe(0x3,_0x43f505)],Ae);var gn=Object[_0x3350ee(0x24c)],vn=(_0x453416,_0x4c5aee,_0x2aa7eb,_0x65facc)=>{const _0x5c086c=_0x3350ee;for(var _0x3c6b94=_0x65facc>0x1?void 0x0:_0x65facc?gn(_0x4c5aee,_0x2aa7eb):_0x4c5aee,_0x8a4b72=_0x453416[_0x5c086c(0x383)]-0x1,_0x24337d;_0x8a4b72>=0x0;_0x8a4b72--)(_0x24337d=_0x453416[_0x8a4b72])&&(_0x3c6b94=_0x24337d(_0x3c6b94)||_0x3c6b94);return _0x3c6b94;},K=(_0x1bd74f,_0x31fc11)=>(_0x58cb72,_0x184680)=>_0x31fc11(_0x58cb72,_0x184680,_0x1bd74f);let st=class extends _0x1f07a6{constructor(_0xc8c436,_0x463eb8,_0x25aa5e,_0x452057,_0x41a519){super(_0xc8c436,_0x463eb8,_0x25aa5e,_0x452057,_0x41a519);}async[_0x3350ee(0x2eb)](_0x3abb38){const _0x22bbe3=_0x3350ee,_0x9fcd55=await this[_0x22bbe3(0x369)](),_0x377126=this[_0x22bbe3(0x262)](_0x3abb38,_0x9fcd55);return this[_0x22bbe3(0x34b)](_0x377126);}[_0x3350ee(0x262)](_0x177779,_0x26524a){const _0x437b4e=_0x3350ee,_0x1d7019=typeof window>'u'?new URL(_0x177779):new URL(_0x177779,window[_0x437b4e(0x297)][_0x437b4e(0x2e7)]);_0x1d7019[_0x437b4e(0x2b9)][_0x437b4e(0x26c)](_0x437b4e(0x280),_0x26524a);const _0x265a27=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x437b4e(0x297)][_0x437b4e(0x3ca)]);return _0x265a27['get'](_0x437b4e(0x24b))&&_0x1d7019[_0x437b4e(0x2b9)]['set']('runId',_0x265a27['get']('runId')),_0x1d7019[_0x437b4e(0x213)]();}async[_0x3350ee(0x369)](){const _0x1ab7ef=_0x3350ee;var _0xb16ebc,_0x1bdbb3,_0x1fd4e9;const _0xfcedde=this[_0x1ab7ef(0x343)][_0x1ab7ef(0x21d)](_0x28e3b7),_0x1f4f12=(_0xb16ebc=_0xfcedde==null?void 0x0:_0xfcedde[_0x1ab7ef(0x215)])!=null?_0xb16ebc:_0x4cafab;return(_0x1fd4e9=(_0x1bdbb3=(await this[_0x1ab7ef(0x260)]['get'](_0x1f4f12,{'headers':{'Content-Type':_0x1ab7ef(0x3b9)}}))['body'])==null?void 0x0:_0x1bdbb3['ticket'])!=null?_0x1fd4e9:'';}};st=vn([K(0x0,_0x5b9fea(_0xe07722)),K(0x1,_0x5b9fea(_0x2c67ed)),K(0x2,_0x43f505),K(0x3,_0x31d277),K(0x4,_0x31d7eb)],st);const it=0x7530,nt=_0x3350ee(0x33c);class Fn extends _0x277380{constructor(){const _0x4c118a=_0x3350ee;super(),_(this,'_id',_0x2b9da4()),_(this,_0x4c118a(0x311),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x4c118a(0x3e1),null),_(this,_0x4c118a(0x2b6),new Map()),_(this,_0x4c118a(0x32f),new Map()),this[_0x4c118a(0x1e8)]();}['dispose'](){const _0xf66bdf=_0x3350ee;super[_0xf66bdf(0x37f)](),this[_0xf66bdf(0x2b6)][_0xf66bdf(0x387)]((_0x50b486,_0x58d28d)=>this[_0xf66bdf(0x29d)](_0x58d28d)),this[_0xf66bdf(0x3e1)]&&window[_0xf66bdf(0x398)](this[_0xf66bdf(0x3e1)]);}[_0x3350ee(0x292)](_0xf9f7bf){const _0x3bb188=_0x3350ee;return this[_0x3bb188(0x39f)](_0xf9f7bf)[_0x3bb188(0x21f)](_0x2f42df());}[_0x3350ee(0x375)](_0x12b16a){const _0x1649f3=_0x3350ee;this[_0x1649f3(0x311)][_0x1649f3(0x25b)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1649f3(0x207)](_0x12b16a),this['_send']({'type':0x0,'memberID':this[_0x1649f3(0x3f3)],'unitIDs':[_0x12b16a],'isForwarded':!0x1});}['disposeUnit'](_0x2684e2){const _0x1b0dc6=_0x3350ee;this[_0x1b0dc6(0x311)][_0x1b0dc6(0x1f3)](_0x2684e2),this[_0x1b0dc6(0x311)]['size']===0x0&&this[_0x1b0dc6(0x3e1)]&&window['clearInterval'](this[_0x1b0dc6(0x3e1)]);}[_0x3350ee(0x1e8)](){const _0x15466b=_0x3350ee;this['disposeWithMe'](_0x51abd0(_0xce820a(window,_0x15466b(0x268))[_0x15466b(0x2f9)](_0x19ad71=>{const _0x4ad611=_0x15466b;if(_0x19ad71[_0x4ad611(0x339)]!==nt||!_0x19ad71[_0x4ad611(0x2f1)])return;const _0x30f053=JSON[_0x4ad611(0x3bf)](_0x19ad71['newValue']);this[_0x4ad611(0x2a8)](_0x30f053);}))),window['addEventListener'](_0x15466b(0x3e0),()=>this[_0x15466b(0x22b)]({'type':0x1,'memberID':this[_0x15466b(0x3f3)],'unitIDs':Array['from'](this[_0x15466b(0x311)])}));}[_0x3350ee(0x2a8)](_0x580639){const _0x330e51=_0x3350ee;switch(_0x580639[_0x330e51(0x2ff)]){case 0x0:this[_0x330e51(0x3ac)](_0x580639);break;case 0x1:this[_0x330e51(0x253)](_0x580639);break;case 0x2:this[_0x330e51(0x246)](_0x580639);break;}}[_0x3350ee(0x3ac)](_0xccba3){const _0x29b013=_0x3350ee,{unitIDs:_0x4fc0a3,memberID:_0x50df41,isForwarded:_0x101d18}=_0xccba3;_0x4fc0a3[_0x29b013(0x387)](_0x3b2507=>{const _0x20bd21=_0x29b013;if(!_0x101d18&&this[_0x20bd21(0x359)][_0x20bd21(0x338)](_0x3b2507)&&this[_0x20bd21(0x39f)](_0x3b2507)[_0x20bd21(0x29a)](_0x17933f[_0x20bd21(0x210)]),!this[_0x20bd21(0x359)][_0x20bd21(0x338)](_0x3b2507)||!this[_0x20bd21(0x359)][_0x20bd21(0x3d5)](_0x3b2507)[_0x20bd21(0x338)](_0x50df41)){const _0x3b433a=this[_0x20bd21(0x359)]['get'](_0x3b2507)||new Set();_0x3b433a[_0x20bd21(0x207)](_0x50df41),this[_0x20bd21(0x359)]['set'](_0x3b2507,_0x3b433a),this['_scheduleClearOtherTimer'](_0x50df41);}}),_0x101d18||this[_0x29b013(0x22b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x29b013(0x311)]],'isForwarded':!0x0});}[_0x3350ee(0x3bc)](_0x3ff68f){const _0x3e27a3=_0x3350ee;this[_0x3e27a3(0x29d)](_0x3ff68f);const _0x2bf031=window[_0x3e27a3(0x3f2)](()=>{const _0x5e83aa=_0x3e27a3;this[_0x5e83aa(0x359)][_0x5e83aa(0x387)](_0x4ad680=>{const _0x1e9278=_0x5e83aa;_0x4ad680[_0x1e9278(0x1f3)](_0x3ff68f);});},it*0x2);this[_0x3e27a3(0x2b6)][_0x3e27a3(0x26c)](_0x3ff68f,_0x2bf031);}[_0x3350ee(0x29d)](_0x33daf0){const _0x22d284=_0x3350ee;if(this[_0x22d284(0x2b6)][_0x22d284(0x338)](_0x33daf0)){const _0x51534e=this[_0x22d284(0x2b6)][_0x22d284(0x3d5)](_0x33daf0);_0x51534e&&window[_0x22d284(0x1f9)](_0x51534e),this[_0x22d284(0x2b6)][_0x22d284(0x26c)](_0x33daf0,null);}}[_0x3350ee(0x253)](_0x40fdd6){const _0x1899a8=_0x3350ee,{memberID:_0x5f1b79,unitIDs:_0x3fd0bb}=_0x40fdd6;_0x3fd0bb[_0x1899a8(0x387)](_0xcf11e1=>{const _0x4bd44f=_0x1899a8;var _0x410ef6;const _0x1f11ad=this[_0x4bd44f(0x359)][_0x4bd44f(0x3d5)](_0xcf11e1);_0x1f11ad&&(_0x1f11ad[_0x4bd44f(0x1f3)](_0x5f1b79),(_0x410ef6=this['_ensureSubject'](_0xcf11e1))==null||_0x410ef6['next'](_0x1f11ad[_0x4bd44f(0x25b)]===0x0?_0x17933f[_0x4bd44f(0x3a3)]:_0x17933f[_0x4bd44f(0x210)]));}),this[_0x1899a8(0x29d)](_0x5f1b79);}[_0x3350ee(0x246)](_0x432922){const _0x5c6f96=_0x3350ee;this['_scheduleClearOtherTimer'](_0x432922[_0x5c6f96(0x36b)]);}[_0x3350ee(0x22b)](_0x3cf409){const _0x14f4e6=_0x3350ee;localStorage[_0x14f4e6(0x36a)](nt,JSON['stringify'](_0x3cf409));}[_0x3350ee(0x2c5)](){const _0x3d7aba=_0x3350ee;this['_heartbeatTimer']=window[_0x3d7aba(0x31c)](()=>{const _0x201927=_0x3d7aba;this['_send']({'type':0x2,'memberID':this[_0x201927(0x3f3)]});},it);}['_ensureSubject'](_0x5d7b3c){const _0x33f2e6=_0x3350ee;return this[_0x33f2e6(0x32f)][_0x33f2e6(0x338)](_0x5d7b3c)||this[_0x33f2e6(0x32f)][_0x33f2e6(0x26c)](_0x5d7b3c,new _0x51a311(_0x17933f[_0x33f2e6(0x3a3)])),this[_0x33f2e6(0x32f)]['get'](_0x5d7b3c);}}var Mt=(_0x5e1dad=>(_0x5e1dad[_0x5e1dad[_0x3350ee(0x2dd)]=0x0]=_0x3350ee(0x2dd),_0x5e1dad[_0x5e1dad['OK']=0x1]='OK',_0x5e1dad[_0x5e1dad[_0x3350ee(0x396)]=0x2]=_0x3350ee(0x396),_0x5e1dad[_0x5e1dad[_0x3350ee(0x2d9)]=0x3]=_0x3350ee(0x2d9),_0x5e1dad[_0x5e1dad['NOT_FOUND']=0x4]='NOT_FOUND',_0x5e1dad[_0x5e1dad[_0x3350ee(0x3af)]=0x5]=_0x3350ee(0x3af),_0x5e1dad[_0x5e1dad[_0x3350ee(0x32c)]=0x6]=_0x3350ee(0x32c),_0x5e1dad[_0x5e1dad[_0x3350ee(0x32e)]=0x7]=_0x3350ee(0x32e),_0x5e1dad[_0x5e1dad[_0x3350ee(0x1f1)]=0x8]=_0x3350ee(0x1f1),_0x5e1dad[_0x5e1dad['COMPLETION_FINISHED']=0x9]=_0x3350ee(0x237),_0x5e1dad[_0x5e1dad[_0x3350ee(0x374)]=0xa]=_0x3350ee(0x374),_0x5e1dad[_0x5e1dad[_0x3350ee(0x33f)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5e1dad[_0x5e1dad[_0x3350ee(0x2ba)]=0xc]=_0x3350ee(0x2ba),_0x5e1dad[_0x5e1dad['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3350ee(0x2cb),_0x5e1dad[_0x5e1dad[_0x3350ee(0x247)]=0xe]=_0x3350ee(0x247),_0x5e1dad[_0x5e1dad[_0x3350ee(0x341)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5e1dad[_0x5e1dad[_0x3350ee(0x352)]=0x1771]=_0x3350ee(0x352),_0x5e1dad[_0x5e1dad[_0x3350ee(0x2db)]=0x1772]=_0x3350ee(0x2db),_0x5e1dad[_0x5e1dad[_0x3350ee(0x28e)]=0x1773]=_0x3350ee(0x28e),_0x5e1dad[_0x5e1dad[_0x3350ee(0x248)]=0x1b59]='APPLY_REJECT',_0x5e1dad[_0x5e1dad[_0x3350ee(0x238)]=0x1b5a]=_0x3350ee(0x238),_0x5e1dad[_0x5e1dad[_0x3350ee(0x294)]=0x1b5b]=_0x3350ee(0x294),_0x5e1dad[_0x5e1dad[_0x3350ee(0x321)]=0x1b5c]=_0x3350ee(0x321),_0x5e1dad[_0x5e1dad[_0x3350ee(0x35a)]=0x1b5d]='APPLY_DUPLICATED',_0x5e1dad[_0x5e1dad[_0x3350ee(0x37d)]=0x1f41]=_0x3350ee(0x37d),_0x5e1dad[_0x5e1dad[_0x3350ee(0x3ad)]=0x2329]=_0x3350ee(0x3ad),_0x5e1dad[_0x5e1dad[_0x3350ee(0x2bb)]=0x232a]=_0x3350ee(0x2bb),_0x5e1dad[_0x5e1dad[_0x3350ee(0x308)]=0x232b]=_0x3350ee(0x308),_0x5e1dad[_0x5e1dad[_0x3350ee(0x1eb)]=0x232c]=_0x3350ee(0x1eb),_0x5e1dad[_0x5e1dad[_0x3350ee(0x3ab)]=0x232d]=_0x3350ee(0x3ab),_0x5e1dad[_0x5e1dad['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3350ee(0x1f7),_0x5e1dad[_0x5e1dad[_0x3350ee(0x2fd)]=0x2712]=_0x3350ee(0x2fd),_0x5e1dad[_0x5e1dad[_0x3350ee(0x320)]=0x2713]=_0x3350ee(0x320),_0x5e1dad[_0x5e1dad['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5e1dad[_0x5e1dad[_0x3350ee(0x23f)]=0x271a]=_0x3350ee(0x23f),_0x5e1dad[_0x5e1dad[_0x3350ee(0x368)]=0x271b]=_0x3350ee(0x368),_0x5e1dad[_0x5e1dad[_0x3350ee(0x382)]=0x271c]=_0x3350ee(0x382),_0x5e1dad[_0x5e1dad[_0x3350ee(0x2d7)]=0x271d]=_0x3350ee(0x2d7),_0x5e1dad[_0x5e1dad[_0x3350ee(0x302)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5e1dad[_0x5e1dad[_0x3350ee(0x38b)]=0x271f]=_0x3350ee(0x38b),_0x5e1dad[_0x5e1dad[_0x3350ee(0x3d1)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5e1dad[_0x5e1dad[_0x3350ee(0x2fa)]=0x2af9]=_0x3350ee(0x2fa),_0x5e1dad[_0x5e1dad[_0x3350ee(0x1f6)]=0x2ee1]=_0x3350ee(0x1f6),_0x5e1dad[_0x5e1dad[_0x3350ee(0x3be)]=0x2ee2]=_0x3350ee(0x3be),_0x5e1dad[_0x5e1dad[_0x3350ee(0x37c)]=0x2ee3]=_0x3350ee(0x37c),_0x5e1dad[_0x5e1dad['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3350ee(0x214),_0x5e1dad[_0x5e1dad[_0x3350ee(0x2e6)]=0x2ee5]=_0x3350ee(0x2e6),_0x5e1dad[_0x5e1dad[_0x3350ee(0x35e)]=0x32c9]=_0x3350ee(0x35e),_0x5e1dad[_0x5e1dad[_0x3350ee(0x393)]=0x32ca]=_0x3350ee(0x393),_0x5e1dad[_0x5e1dad[_0x3350ee(0x26f)]=0x32cb]=_0x3350ee(0x26f),_0x5e1dad[_0x5e1dad[_0x3350ee(0x2c4)]=-0x1]='UNRECOGNIZED',_0x5e1dad))(Mt||{}),pn=Object[_0x3350ee(0x24c)],Cn=(_0x39b258,_0x59a82c,_0x82d2cb,_0x1814cb)=>{const _0x4997e8=_0x3350ee;for(var _0x58950b=_0x1814cb>0x1?void 0x0:_0x1814cb?pn(_0x59a82c,_0x82d2cb):_0x59a82c,_0x418bd9=_0x39b258[_0x4997e8(0x383)]-0x1,_0x541147;_0x418bd9>=0x0;_0x418bd9--)(_0x541147=_0x39b258[_0x418bd9])&&(_0x58950b=_0x541147(_0x58950b)||_0x58950b);return _0x58950b;},be=(_0x1dd323,_0x87c54c)=>(_0x43a9fb,_0x1cac4)=>_0x87c54c(_0x43a9fb,_0x1cac4,_0x1dd323);let rt=class extends _0x277380{constructor(_0x589ed8,_0x81a728,_0x46a4c2){const _0x3ca0d0=_0x3350ee;super(),this[_0x3ca0d0(0x37e)]=_0x589ed8,this[_0x3ca0d0(0x260)]=_0x81a728,this[_0x3ca0d0(0x343)]=_0x46a4c2;}async['runOnServer'](_0x258ae8,_0x585cd8,_0x5cf4a3,..._0x587130){const _0x139c21=_0x3350ee;var _0x371bdc,_0x421d6a,_0x48df79,_0x59b7c4;const _0x3a41ce=this[_0x139c21(0x37e)]['getFocusedUnit']();if(!_0x3a41ce)throw new Error(_0x139c21(0x324));const _0x20c5f6=((_0x371bdc=this[_0x139c21(0x343)][_0x139c21(0x21d)](_0x451ce6))!=null?_0x371bdc:_0x5ad6bd)+'/'+_0x258ae8+_0x139c21(0x38a)+_0x585cd8,_0x19a8c4=new URL(window[_0x139c21(0x297)][_0x139c21(0x22e)]),_0x385ca5={'scriptId':_0x258ae8,'runId':(_0x421d6a=_0x19a8c4[_0x139c21(0x2b9)][_0x139c21(0x3d5)]('runId'))!=null?_0x421d6a:'','function':_0x585cd8,'unitId':_0x3a41ce[_0x139c21(0x395)](),'argsOfFunction':JSON[_0x139c21(0x378)](_0x587130),'invokeId':(_0x48df79=_0x5cf4a3[_0x139c21(0x322)])!=null?_0x48df79:'','executionId':(_0x59b7c4=_0x5cf4a3[_0x139c21(0x228)])!=null?_0x59b7c4:''};try{const _0x39d418=await this['_httpService'][_0x139c21(0x21a)](_0x20c5f6,{'body':_0x385ca5});return _0x39d418[_0x139c21(0x212)][_0x139c21(0x314)]&&_0x39d418['body'][_0x139c21(0x314)][_0x139c21(0x30c)]!==Mt['OK']?_0x139c21(0x28c):_0x39d418[_0x139c21(0x212)]['result'];}catch{return _0x139c21(0x28c);}}};rt=Cn([be(0x0,_0x37335e),be(0x1,_0x5b9fea(_0x2c67ed)),be(0x2,_0x43f505)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x5b4efa=_0x3518;(function(_0x2b4e24,_0x4a54d5){const _0xf92779=_0x3518,_0x4bdd20=_0x2b4e24();while(!![]){try{const _0x5acf14=-parseInt(_0xf92779(0x2fb))/0x1*(parseInt(_0xf92779(0x31a))/0x2)+parseInt(_0xf92779(0x2e8))/0x3*(-parseInt(_0xf92779(0x21d))/0x4)+-parseInt(_0xf92779(0x22e))/0x5+parseInt(_0xf92779(0x2fa))/0x6*(parseInt(_0xf92779(0x21f))/0x7)+parseInt(_0xf92779(0x2b5))/0x8+parseInt(_0xf92779(0x1a6))/0x9*(-parseInt(_0xf92779(0x365))/0xa)+parseInt(_0xf92779(0x1d7))/0xb;if(_0x5acf14===_0x4a54d5)break;else _0x4bdd20['push'](_0x4bdd20['shift']());}catch(_0x4d4dd6){_0x4bdd20['push'](_0x4bdd20['shift']());}}}(_0x3579,0x82305));var $t=Object[_0x5b4efa(0x34b)],xt=(_0x529035,_0x27c7f8,_0x8f79ff)=>_0x27c7f8 in _0x529035?$t(_0x529035,_0x27c7f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8f79ff}):_0x529035[_0x27c7f8]=_0x8f79ff,_=(_0x336db2,_0x71c694,_0x46e9fe)=>xt(_0x336db2,typeof _0x71c694!=_0x5b4efa(0x21e)?_0x71c694+'':_0x71c694,_0x46e9fe);import{MemberService as _0x24a34a,SessionStatus as _0x2d3788,CollaborationSessionService as _0x266dab,CollaborationStatus as _0x5152ea,CollaborationController as _0x408cc6,ILocalCacheService as _0x277322,CollaborationUIEventService as _0x1fe7b1,CollaborationUIEventId as _0x1eb493,DataLoaderService as _0x1465dc,DocCollaborationEntity as _0x309fe9,getLocalCacheKey as _0x2c338a,LOCAL_CACHE_INTERVAL as _0x356154,LOCAL_CACHE_INTERVAL_KEY as _0xf066de,UniverCollaborationClientPlugin as _0x3c18dc,CollaborationSocketService as _0x472bc4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4c11aa,DEFAULT_WS_SESSION_TICKET_URL as _0x21d4af,UnitStatus as _0x112e1e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x31621f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x733df}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x38ba1e,Disposable as _0x3449ee,DOC_RANGE_TYPE as _0x2a664c,Inject as _0x17f821,Injector as _0x1bdaf6,IUniverInstanceService as _0x166042,ICommandService as _0xb833f6,debounce as _0x1fb937,Rectangle as _0x44d08e,DisposableCollection as _0x5efb6b,toDisposable as _0x4e32ae,UniverInstanceType as _0x3860d6,Tools as _0x9af4da,COLORS as _0x55a633,ColorKit as _0x454f31,ThemeService as _0x2a5222,fromEventSubject as _0x5a2964,LocaleService as _0x144e47,createIdentifier as _0x5c862b,ILogService as _0x41ac4f,Optional as _0x2b45e6,Workbook as _0x32759e,CommandType as _0x5a7480,IConfigService as _0x556e6e,ILocalStorageService as _0x28ad72,DependentOn as _0x72a35,Plugin as _0x4d70f5,merge as _0x40ceb4,registerDependencies as _0x492771,mergeOverrideWithDependencies as _0x1ef9b1,touchDependencies as _0x48e288,generateRandomId as _0x27c680}from'@univerjs/core';import{Shape as _0x4b1f28,Rect as _0x2a533f,getColor as _0x5b1dc2,RegularPolygon as _0x12525e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x69d07d,Vector2 as _0x3bc027,SHEET_VIEWPORT_KEY as _0x3b852c,IRenderManagerService as _0x9df613}from'@univerjs/engine-render';import{ISocketService as _0x195750,WebSocketService as _0x2ff5db,HTTPService as _0x5817a5}from'@univerjs/network';import{IDocClipboardService as _0x29fb8a,NodePositionConvertToCursor as _0x19d055,NodePositionConvertToRectRange as _0xb7c07,TEXT_RANGE_LAYER_INDEX as _0x4e0af9,SetDocZoomRatioOperation as _0x5d1cf9,DocIMEInputManagerService as _0x328532,DocStateChangeManagerService as _0x1911b2}from'@univerjs/docs-ui';import{IImageIoService as _0xf6389b}from'@univerjs/drawing';import{BehaviorSubject as _0x4f34ea,debounceTime as _0x4f838c,takeUntil as _0x40f407,Subject as _0x5f2ef2,filter as _0x137306,switchMap as _0x542af7,merge as _0x4af1ba,combineLatest as _0x214175,of as _0x47a53c,fromEvent as _0x15f7b3,shareReplay as _0x3b7abc,mapTo as _0x13995b,distinctUntilChanged as _0x2f7c21}from'rxjs';import{ITransformService as _0x220695,CollaborationEvent as _0x180ebc,isTransformMutationFailure as _0x1985d5,isTransformMutationsWithChangesetSuccess as _0x196989,RevisionService as _0x383424,ISnapshotServerService as _0x26c83c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2cddaf,RichTextEditingMutation as _0x20931f,DocSelectionManagerService as _0x98b222,DocSkeletonManagerService as _0x5a7f44}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1a2468,serializeRangeWithSheet as _0x1bcb36}from'@univerjs/engine-formula';import{RefRangeService as _0x4ea11f,SetSelectionsOperation as _0x29afb5,SheetsSelectionsService as _0x53ed4d,EffectRefRangId as _0x1e58f9,handleIRemoveRow as _0x4df2f6,handleIRemoveCol as _0x1aec89,handleMoveRange as _0x5dd931,handleInsertRow as _0x569859,handleInsertRangeMoveRight as _0x3d227c,handleInsertRangeMoveDown as _0x49fc0f,handleInsertCol as _0x329a9c,handleDeleteRangeMoveUp as _0x35006c,handleDeleteRangeMoveLeft as _0x4efd28,runRefRangeMutations as _0x1630e4,SetWorksheetActivateCommand as _0x31db9e}from'@univerjs/sheets';import{map as _0x5c459e,filter as _0x482697,throttleTime as _0x513ffd,takeUntil as _0x46ab32,switchMap as _0x4e5146}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1da1db,getCoordByCell as _0x1805fb,getSheetObject as _0x486981}from'@univerjs/sheets-ui';function _0x3579(){const _0x2bc9aa=['_updateLocalCursor','length','onPointerMove$','NO_OTHER_CLIENTS_EDITING','undoState','imageSourceType','pushState','_transformHistoryAndStateStack','getSkeleton','post','roomMembers','getRenderById','url(#$1','_textBubble','pluginName','getCurrent','_online','url(#off-line-icon_clip0_910_343)','onPointerLeave$','INVITE_CODE_HAS_BEEN_UES','dispose$','collaboration.closeRoom','hovered','WECHAT_HAS_BEEN_BOUND','UPDATE_CURSOR','RECT','MUTATION','requireSession','#FFF','LICENSE_MAX_UNITS_EXCEEDED','_cursorInfo$','[CollaborationDataLoaderController]','clearInterval','YUUMI_SUBSCRIPTION_NOT_FOUND','map','height','_uiPartsService','SUBMIT_CHANGESET_TIMEOUT','asObservable','InsertRowCommandId','UNIVER_DOC','_initEntityListener','type','invokeId','setTimeout','INTERNAL_ERROR','loadUnit','transformMutation','width','_unitOnClients','newValue','makeDirty','_httpService','_collabCursorController','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','measureText','result','_docClipboardService','getMergeData','white','UNDEFINED','_color','univer-flex\x20univer-items-center','mutations','_revisionService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','on-line-icon_clip0_910_349','displayName','resize','_labelPosition','_initResize','next','syncEditingCollabCursor','generateRandomId','_transformUndoRedoStack','_collabSessionService','icon','_removeClearOtherTimer','1em','FromArray','2743872proiZv','eventID','_drawTextRange','event$','init','getActiveSheet','_range','flatMap','toRgbString','row','fillText','_config','location','clipPath','EMAIL_VERIFY_CODE_MISMATCH','setAlpha','_drawRectRange','color','getSheetId','ONLINE','uni.network.url-service','INVITE_CODE_ALREADY_BOUND','beginPath','rgba(255,\x20255,\x20255,\x200.01)','_cachedData','get','InsertColCommandId','AWAITING_WITH_PENDING','attrs','evenodd','getUnhiddenWorksheets','push','_refRangeService','round','getViewport','trim','_imageIoService','activeSheet$','createInstance','selection','endRow','wsSessionTicketUrl','INVITE_CODE_REQUIRED','path','_scheduleClearOtherTimer','dispose','collab-rect-range-','fill','status$','_toggleOffline','application/json','2742702jRZQmV','name','_startDocCollabCursor','_ensureSubject','sessionStatus$','OnLineIcon','SOCKET_FAILED_RETRY','getStateCache','INVALID_ARGUMENT','roomMembers$','transformStateCache','onPointerEnter$','onRendered','_dataLoaderService','YUUMI_ASYNCIO_CANCELLED','APPLY_NON_SEQUENTIAL_REVISION','isArray','colorChannel1','1634394shgjVJ','5267tbqNKm','getSheetBySheetId','_beforeCloseService','xlink:href','transformMutationsWithChangeset','className','moveTo','LICENSE_DISTRO_REJECTED','some','getColorFromTheme','_backgroundColor','AWAITING','_handleJoinEvent','_getAnchorBounding','enableLocalCache','getMember','getCurrentSelections','getConfig','getRangePointData','_transformService','values','delete','Failed','size','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','_anchor','Unknown\x20user','history','subUnitId','from','318OhrDvt','getCurrentRevOfUnit','all','YUUMI_CONNECTOR_URL_NOT_FOUND','urlChange$','registerRenderModule','setItem','purple.300','_hovered','DeleteRangeMoveUpCommandId','random','_getSaveTimeout','assignAColorForMemberID','_saveTaskMap','currentTheme$','NOT_COLLAB','top','m2Prime','textRanges','yellow.400','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','_createSocketURL','toString','backgroundColor','getUnitStatus$','forEach','split','debug','cursorInfo','key','LICENSE_IMPORT_SIZE_EXCEEDED','onCommandExecuted','UniverIcon','indexOf','arc','_cursor','disposeWithMe','TEXT','APPLY_PERMISSION_DENIED','getUndoRedoMutationParamsCache','substring','text','drawWith','_sheetSkeletonManagerService','closePath','_context','_hideTimer','off-line-icon','defineProperty','getVpScrollXYInfoByPosToVp','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','collabStatus.synced','_themeService','USER_NOT_INVITED_CODE','unitId','currentColor','addHandlerCallback','children','FETCH_MISS','unit','_docStateChangeManagerService','NOT_FOUND','range','unitID','_updateCollabCursors','_roomMembers$','_notificationService','executeCommand','jiqing.500','m1Prime','_cursors','_clearOtherTimers','getCurrentUnitForType','_toggleOnline','41480WkjHIc','getOwnPropertySymbols','permission.content','UNAUTHENTICATED','_docTransformIMECacheService','_onCursorDelete','COMPLETION_FINISHED','hide','getTypeOfUnitDisposed$','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','VIEW_MAIN','exhaustSavingTask','column','_transformPreviousActiveRange','_updateSubUnitFromURLParams','sheetId','_unitStatus','_entities','MoveRangeCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_draw','min','_lastPointer','_scheduleSaving','_docTransformSelectionsService','_doCreateSocket','_selfUnitIDs','code','collaboration-client.offline-data-not-saved','startRow','subunit','_refreshCollabCursors','OTHER_CLIENT_EDITING','override','defIds','call','_init','getUnitId','_scheduleHeartbeat','session.collaboration-timeout','fillRule','replace','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','_onRefRangeChange','ALREADY_EXISTS','_initDependencies','editingUnit','onMouseMove','whenReady','subscribeEvent','getAncestorScale','_hover','saveTaskMap','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONFLICT','collabStatus.offline','div','PERMISSION_DENIED','docStateChange$','getParam','_urlService','_handleEvent','set','InsertRangeMoveDownCommandId','_setupSubUnitSync','source','replaceState','_messageService','_id','extend','createSocket','complete','collabCursorState$','1602oNgYBT','_docSkeletonManagerService','lineTo','setShapeProps','_handleLeaveEvent','_saveCache','_collabCursorState$','_getSessionTicket','_commandService','params','YUUMI_RATE_OVER_LIMIT','getDocRanges','transform','startsWith','_scene','pipe','_docTransformStateCacheService','unload','_registerDependencies','addObject','collabStatus.notCollab','_assignedColors','DeleteRangeMoveLeftCommandId','_entityInit$','setUndoRedoMutationParamsCache','tag','function','_disabled','assign','_getScale','_heartbeatTimer','runId','red.300','APPLY_DUPLICATED','_handleHover','APPLY_REJECT','replaceDocRanges','InsertRangeMoveRightCommandId','_send','univer-mr-2\x20univer-flex\x20univer-text-xl','has','getFocusedUnit','_docSyncEditingCollabCursorService','_setupBeforeClosingHandler','_anchorDot','error','collab-text-anchor-','onTransformChange$','getItem','32205899NKKTPz','_logService','_colorIndex','max','_cursorShapes','updateOfflineData','blue.400','transformIMECache','_session','YUUMI_ALL_TABLES_IS_INVALID','_syncEditingCollabCursorService','Error','getValue','defs','isActive','_status$','_localStorageService','_updateURLWithCurrentState','setInterval','unsubscribe','doc.mutation.rich-text-editing','entries','YUUMI_NO_CUBOID_FOR_QUESTION','SYNCED','collaboration-client-ui.config','searchParams','findNodePositionByCharIndex','getCellPositionByOffset','_onCursorUpdate','concat','restore','then','body','transformRemoteChangeset','HEADER_MENU','string','_initStatusListener','LOGIN_FAILED','cursorInfo$','YUUMI_AI_RUN_FAILED','send','deepClone','onLocalMutation','save','popstate','isEditing','OFFLINE','getMemberID','ranges','selections','add','addObjects','MOBILE_VERIFY_CODE_MISMATCH','CONNECTOR_DATA_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','_handleHeartbeatEvent','removeParam','triggerDblclick','_removeCollabCursors','executionId','...','idSuffix','prototype','_renderManagerService','green.600','show','_registerRenderDependencies','_shapes','origin','YUUMI_UNABLE_LOAD_URL','4TRirba','symbol','21GwAoSD','saveOfflineData','storage','fillStyle','registerComponent','UNRECOGNIZED','currentSkeleton$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-text-range-','focused$','svg','with','_render','session.will-retry','getActiveRange','5323530omtGmb','sheetID','RemoveRowCommandId','onStarting','stringify','_initEvent','ticket','redoState','labelPosition','href','registerRefRange','_instanceService','_getSheetObject','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationController','getOwnPropertyDescriptor','_memberService','collaboration.single-unit.warning','_collaborationUIEventService','setParam','setActiveRange','getRelativeToViewportCoord','subscribe','_eventUnsubscribe','collabStatus.syncing','_name','_startSheetCollabCursor','black','memberID','data','session.connection-failed','getTypeOfUnitAdded$','_configService','reconnect','includes','transformByState','M0\x200H16V16H0z','_drawAnchor','_univerInstanceService','RemoveColCommandId','USERS_LEAVE','UNIVER_SHEET','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SNAPSHOT_HAS_BEEN_REMOVED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initCommandExecutedListener','off-line-icon_clip0_910_343','_colorAssignService','unshift','http://www.w3.org/2000/svg','_injector','current','addClipboardHook','Warning'];_0x3579=function(){return _0x2bc9aa;};return _0x3579();}import{jsx as _0x2b3c94,jsxs as _0x18f578}from'react/jsx-runtime';import{useObservable as _0x49029c,useDependency as _0x188343,IUIPartsService as _0xa159a1,BuiltInUIPart as _0x29a40d,connectInjector as _0x3c5ef4,IBeforeCloseService as _0x203a64,IMessageService as _0x3e5e5c,INotificationService as _0x427272}from'@univerjs/ui';import{Tooltip as _0x184e3c,clsx as _0x5653b9,MessageType as _0x21a0d4}from'@univerjs/design';import{forwardRef as _0x1df6b8,useRef as _0x5c48e3,createElement as _0x12f687,useCallback as _0x2efa88}from'react';import{IRemoteInstanceService as _0x55556f}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x3c5625,_0x70f817,_0x174628,_0x2a1131)=>{for(var _0x2c71d2=_0x2a1131>0x1?void 0x0:_0x2a1131?ci(_0x70f817,_0x174628):_0x70f817,_0xc0d6a6=_0x3c5625['length']-0x1,_0x2793c8;_0xc0d6a6>=0x0;_0xc0d6a6--)(_0x2793c8=_0x3c5625[_0xc0d6a6])&&(_0x2c71d2=_0x2793c8(_0x2c71d2)||_0x2c71d2);return _0x2c71d2;},Je=(_0x55830f,_0x13ad52)=>(_0x3e3f31,_0x380df2)=>_0x13ad52(_0x3e3f31,_0x380df2,_0x55830f);let Ne=class extends _0x38ba1e{constructor(_0x56b260,_0x29da77){const _0x4384c5=_0x5b4efa;super(),this[_0x4384c5(0x29e)]=_0x56b260,this[_0x4384c5(0x2d9)]=_0x29da77,this[_0x4384c5(0x17f)]();}[_0x5b4efa(0x17f)](){const _0x16696b=_0x5b4efa,_0xdc8f48=this;this[_0x16696b(0x33f)](this[_0x16696b(0x29e)][_0x16696b(0x262)]({'onBeforePasteImage':async _0x243a3e=>{const _0x193da1=_0x16696b,_0x1c0988=await _0xdc8f48[_0x193da1(0x2d9)]['saveImage'](_0x243a3e);return _0x1c0988?{'source':_0x1c0988[_0x193da1(0x19e)],'imageSourceType':_0x1c0988[_0x193da1(0x269)]}:null;}}));}};Ne=li([Je(0x0,_0x29fb8a),Je(0x1,_0xf6389b)],Ne);const Ze=[_0x5b4efa(0x321),_0x5b4efa(0x35f),_0x5b4efa(0x217),_0x5b4efa(0x1c6),_0x5b4efa(0x1dd),_0x5b4efa(0x32d)];class ke extends _0x3449ee{constructor(){const _0x55c215=_0x5b4efa;super(...arguments),_(this,_0x55c215(0x1bb),new Map()),_(this,_0x55c215(0x1d9),0x0);}[_0x5b4efa(0x326)](_0x9a15d7){const _0x4bcd26=_0x5b4efa;if(this[_0x4bcd26(0x1bb)][_0x4bcd26(0x1ce)](_0x9a15d7))return this[_0x4bcd26(0x1bb)]['get'](_0x9a15d7);const _0x46b5a4=Ze[this[_0x4bcd26(0x1d9)]];return this[_0x4bcd26(0x1d9)]=(this[_0x4bcd26(0x1d9)]+0x1)%Ze[_0x4bcd26(0x265)],this[_0x4bcd26(0x1bb)][_0x4bcd26(0x19b)](_0x9a15d7,_0x46b5a4),_0x46b5a4;}}function Tt(_0x487f4a){let _0x10427c='';for(const _0x4f1497 of _0x487f4a){const {startOffset:_0x8b75e1,endOffset:_0x51c189,isActive:_0x1f9244,rangeType:_0x49fb63,segmentId:_0x2eb0a9,segmentPage:_0x52a17a}=_0x4f1497;_0x10427c['length']&&(_0x10427c+=','),_0x10427c+=_0x8b75e1+':'+_0x51c189+':'+(_0x1f9244?'1':'0')+':'+_0x49fb63+':'+_0x2eb0a9+':'+_0x52a17a;}return _0x10427c;}function _i(_0x3be100){const _0x55f11b=_0x5b4efa,_0xf40a85=_0x3be100[_0x55f11b(0x335)](','),_0x53b3c7=[];for(const _0x47feae of _0xf40a85){const [_0x39195a,_0x5cb6c7,_0x3f1fb7,_0x37c4ec,_0x3e4ae7,_0x243074]=_0x47feae[_0x55f11b(0x335)](':');_0x53b3c7['push']({'startOffset':Number(_0x39195a),'endOffset':Number(_0x5cb6c7),'collapsed':_0x39195a===_0x5cb6c7,'isActive':_0x3f1fb7==='1','rangeType':_0x37c4ec===_0x2a664c[_0x55f11b(0x340)]?_0x2a664c[_0x55f11b(0x340)]:_0x2a664c['RECT'],'segmentId':typeof _0x3e4ae7==_0x55f11b(0x1fa)?String(_0x3e4ae7):'','segmentPage':Number(_0x243074!=null?_0x243074:-0x1)});}return _0x53b3c7[_0x55f11b(0x303)](_0xa7afb4=>_0xa7afb4[_0x55f11b(0x1e5)])||(_0x53b3c7[0x0]['isActive']=!0x0),_0x53b3c7;}class He extends _0x38ba1e{constructor(){const _0x472e94=_0x5b4efa;super(...arguments),_(this,_0x472e94(0x1ac),new _0x4f34ea(null)),_(this,_0x472e94(0x1a5),this[_0x472e94(0x1ac)]['asObservable']());}[_0x5b4efa(0x2ad)](_0x16d71d){const _0x63b3e=_0x5b4efa,{unitID:_0x22c91d,memberID:_0x189266,textRanges:_0x2be40a}=_0x16d71d,_0x22c3cb=Tt(_0x2be40a);if(_0x22c3cb==='')return;const _0x31091d={'unitID':_0x22c91d,'memberID':_0x189266,'selection':_0x22c3cb};this[_0x63b3e(0x1ac)][_0x63b3e(0x2ac)](_0x31091d);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x463ba1,_0x4a00ff,_0x19e82b,_0x3de992)=>{const _0x4b6b4a=_0x5b4efa;for(var _0x3fb88d=_0x3de992>0x1?void 0x0:_0x3de992?hi(_0x4a00ff,_0x19e82b):_0x4a00ff,_0xe3d178=_0x463ba1[_0x4b6b4a(0x265)]-0x1,_0x580a44;_0xe3d178>=0x0;_0xe3d178--)(_0x580a44=_0x463ba1[_0xe3d178])&&(_0x3fb88d=_0x580a44(_0x3fb88d)||_0x3fb88d);return _0x3fb88d;},P=(_0x374eda,_0x1028fb)=>(_0x49b27a,_0x12ca2b)=>_0x1028fb(_0x49b27a,_0x12ca2b,_0x374eda);const di=0x12c,fi=0x64;let Ue=class extends _0x38ba1e{constructor(_0x24667a,_0x6730ff,_0x548584,_0x196590,_0x268370,_0x108f86,_0x52b03c,_0x37fde9,_0x5f1eea){const _0x25bdfc=_0x5b4efa;super(),_(this,_0x25bdfc(0x274),!0x1),_(this,_0x25bdfc(0x17f),!0x1),_(this,_0x25bdfc(0x282),new _0x4f34ea(new Map())),_(this,_0x25bdfc(0x1fd),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4f34ea([])),_(this,_0x25bdfc(0x2f1),this[_0x25bdfc(0x35c)][_0x25bdfc(0x1b5)](_0x4f838c(di))),_(this,_0x25bdfc(0x264),_0x1fb937(_0x218bd0=>{const _0x528f02=_0x25bdfc,_0x2930dc={'eventID':_0x180ebc[_0x528f02(0x27c)],'data':{'unitID':this[_0x528f02(0x35a)],'memberID':this[_0x528f02(0x1df)]['getMemberID'](),'selection':Tt(_0x218bd0)}};this[_0x528f02(0x1df)][_0x528f02(0x1ff)](_0x2930dc,this['unitID']);},fi)),(this[_0x25bdfc(0x35a)]=_0x24667a,this['_session']=_0x6730ff,this[_0x25bdfc(0x260)]=_0x548584,this[_0x25bdfc(0x25d)]=_0x196590,this['_memberService']=_0x268370,this['_syncEditingCollabCursorService']=_0x108f86,this[_0x25bdfc(0x30e)]=_0x52b03c,this[_0x25bdfc(0x254)]=_0x37fde9,this[_0x25bdfc(0x1ae)]=_0x5f1eea);}get[_0x5b4efa(0x337)](){const _0x4a3287=_0x5b4efa;return this[_0x4a3287(0x282)][_0x4a3287(0x1e3)]();}get[_0x5b4efa(0x26e)](){const _0x938e37=_0x5b4efa;return this[_0x938e37(0x35c)][_0x938e37(0x1e3)]();}[_0x5b4efa(0x2e2)](){const _0x1acb29=_0x5b4efa;super[_0x1acb29(0x2e2)](),this[_0x1acb29(0x282)][_0x1acb29(0x2ac)](new Map()),this[_0x1acb29(0x282)][_0x1acb29(0x1a4)](),this[_0x1acb29(0x35c)][_0x1acb29(0x2ac)]([]),this[_0x1acb29(0x35c)][_0x1acb29(0x1a4)]();}[_0x5b4efa(0x2b9)](){const _0x33d503=_0x5b4efa;this[_0x33d503(0x17f)]||(this[_0x33d503(0x17f)]=!0x0,this['_session'][_0x33d503(0x2ec)][_0x33d503(0x1b5)](_0x40f407(this[_0x33d503(0x278)]))[_0x33d503(0x244)](_0x2287dd=>{const _0x4b7cdc=_0x33d503;_0x2287dd===_0x2d3788[_0x4b7cdc(0x2c8)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x33d503(0x1df)][_0x33d503(0x2b8)][_0x33d503(0x1b5)](_0x40f407(this[_0x33d503(0x278)]))[_0x33d503(0x244)](_0x24aaf3=>{const _0x3389e8=_0x33d503,_0x5bb586=_0x24aaf3[_0x3389e8(0x2b6)];_0x5bb586===_0x180ebc[_0x3389e8(0x27c)]&&this[_0x3389e8(0x1f3)](_0x24aaf3),_0x5bb586===_0x180ebc[_0x3389e8(0x256)]&&this[_0x3389e8(0x36a)](_0x24aaf3);}),this['disposeWithMe'](this[_0x33d503(0x1ae)][_0x33d503(0x33a)](_0x2e1b3e=>{const _0x349046=_0x33d503,_0x478206=_0x2e1b3e['params'];_0x478206!=null&&this[_0x349046(0x274)]&&_0x2e1b3e['id']===_0x2cddaf['id']&&_0x478206[_0x349046(0x351)]===this[_0x349046(0x35a)]&&_0x478206[_0x349046(0x204)]===!0x1&&_0x478206['ranges'][_0x349046(0x265)]>0x0&&this['_updateLocalCursor'](_0x478206[_0x349046(0x207)]);})),this[_0x33d503(0x1e1)]['collabCursorState$'][_0x33d503(0x1b5)](_0x40f407(this['dispose$']))['subscribe'](_0x54e332=>{const _0x5c1999=_0x33d503;if((_0x54e332==null?void 0x0:_0x54e332[_0x5c1999(0x35a)])!==this[_0x5c1999(0x35a)])return;const _0x3319e0={'eventID':_0x180ebc[_0x5c1999(0x27c)],'data':_0x54e332};this[_0x5c1999(0x1f3)](_0x3319e0);}),this[_0x33d503(0x33f)](this[_0x33d503(0x1ae)]['onCommandExecuted'](_0x30ee00=>{const _0x2b099c=_0x33d503;if(_0x30ee00[_0x2b099c(0x1af)]==null)return;const _0x52790c=_0x30ee00[_0x2b099c(0x1af)];if(_0x30ee00['id']!==_0x20931f['id']||_0x52790c[_0x2b099c(0x351)]!==this[_0x2b099c(0x35a)])return;const _0x48e40a={'id':_0x2b099c(0x1eb),'params':_0x52790c},_0x8ffe8a=this[_0x2b099c(0x337)];for(const [_0x19f17a,_0x15ff12]of _0x8ffe8a){const _0x4c7283={'id':_0x2b099c(0x1eb),'params':{'unitId':this[_0x2b099c(0x35a)],'actions':null,'textRanges':_0x15ff12['ranges']}},_0x36b768=this[_0x2b099c(0x30e)][_0x2b099c(0x293)](_0x48e40a,_0x4c7283,!0x1);if(_0x1985d5(_0x36b768))throw _0x36b768[_0x2b099c(0x1d3)];_0x8ffe8a[_0x2b099c(0x19b)](_0x19f17a,{..._0x15ff12,'ranges':_0x36b768[_0x2b099c(0x32b)]['params'][_0x2b099c(0x32c)]});}queueMicrotask(()=>{const _0x3e61dc=_0x2b099c;this[_0x3e61dc(0x282)][_0x3e61dc(0x2ac)](_0x8ffe8a);});})));}[_0x5b4efa(0x1f3)](_0x2074ba){const _0x1dcad4=_0x5b4efa;var _0x184383,_0x4cc89a;const {memberID:_0x507115,selection:_0x3d09a4}=_0x2074ba['data'],_0x5ce002=_i(_0x3d09a4),_0x43b486=(_0x4cc89a=(_0x184383=this['_memberService']['getMember'](this[_0x1dcad4(0x35a)],_0x507115))==null?void 0x0:_0x184383['name'])!=null?_0x4cc89a:_0x1dcad4(0x316),_0xab9e75={'color':this[_0x1dcad4(0x25d)][_0x1dcad4(0x326)](_0x507115),'name':_0x43b486,'ranges':_0x5ce002},_0x21479f=this[_0x1dcad4(0x337)];_0x21479f[_0x1dcad4(0x19b)](_0x507115,_0xab9e75),this[_0x1dcad4(0x282)][_0x1dcad4(0x2ac)](_0x21479f);}['_onCursorDelete'](_0x5bd8e5){const _0x2f0237=_0x5b4efa,{memberID:_0x44e85}=_0x5bd8e5[_0x2f0237(0x24b)],_0x217af6=this[_0x2f0237(0x337)];_0x217af6['delete'](_0x44e85),this[_0x2f0237(0x282)]['next'](_0x217af6);}['_toggleOnline'](){const _0x55da7f=_0x5b4efa;var _0x31459c;if(this[_0x55da7f(0x274)]=!0x0,((_0x31459c=this[_0x55da7f(0x254)][_0x55da7f(0x1cf)]())==null?void 0x0:_0x31459c[_0x55da7f(0x180)]())!==this[_0x55da7f(0x35a)])return;const _0x3d21e6=this[_0x55da7f(0x260)][_0x55da7f(0x2ce)](_0x98b222)[_0x55da7f(0x1b1)]();Array['isArray'](_0x3d21e6)&&_0x3d21e6['length']>0x0&&this[_0x55da7f(0x264)](_0x3d21e6);}[_0x5b4efa(0x2e6)](){const _0x392f88=_0x5b4efa;this[_0x392f88(0x274)]=!0x1;}};Ue=ui([P(0x2,_0x17f821(_0x1bdaf6)),P(0x3,_0x17f821(ke)),P(0x4,_0x17f821(_0x24a34a)),P(0x5,_0x17f821(He)),P(0x6,_0x220695),P(0x7,_0x166042),P(0x8,_0xb833f6)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x7e45f0,_0x2c4497,_0x25e8b4,_0x4d59ef)=>{const _0x4cca59=_0x5b4efa;for(var _0x336325=_0x4d59ef>0x1?void 0x0:_0x4d59ef?Si(_0x2c4497,_0x25e8b4):_0x2c4497,_0x2046c8=_0x7e45f0[_0x4cca59(0x265)]-0x1,_0x197e7a;_0x2046c8>=0x0;_0x2046c8--)(_0x197e7a=_0x7e45f0[_0x2046c8])&&(_0x336325=_0x197e7a(_0x336325)||_0x336325);return _0x336325;},x=(_0x1d08a4,_0x379143)=>(_0x5ea0e9,_0x3d3ff7)=>_0x379143(_0x5ea0e9,_0x3d3ff7,_0x1d08a4);const Ii=0x12c,gi=0x64,vi=()=>{let _0x570b6a=[],_0x2325a0=!0x1;return _0x23b2d4=>{const _0x4693bc=_0x3518;_0x570b6a[_0x4693bc(0x2d4)](_0x23b2d4),_0x2325a0||(_0x2325a0=!0x0,setTimeout(()=>{const _0x16e6aa=_0x4693bc;_0x570b6a[_0x16e6aa(0x334)](_0x231730=>_0x231730()),_0x570b6a=[],_0x2325a0=!0x1;}));};};let Me=class extends _0x38ba1e{constructor(_0x27ef78,_0x4f9b50,_0x2a9186,_0x312c85,_0x28743e,_0x8d1a72,_0xdbcaf2,_0x240fb2){const _0x20e65d=_0x5b4efa;super(),_(this,_0x20e65d(0x274),!0x1),_(this,_0x20e65d(0x17f),!0x1),_(this,_0x20e65d(0x282),new _0x4f34ea(new Map())),_(this,_0x20e65d(0x1fd),this[_0x20e65d(0x282)][_0x20e65d(0x28a)]()),_(this,_0x20e65d(0x35c),new _0x4f34ea([])),_(this,_0x20e65d(0x2f1),this[_0x20e65d(0x35c)][_0x20e65d(0x1b5)](_0x4f838c(Ii))),_(this,'_updateLocalCursor',_0x1fb937((_0x598937,_0x3b781e)=>{const _0x53acd4=_0x20e65d,_0xcbc5c4={'eventID':_0x180ebc['UPDATE_CURSOR'],'data':{'unitID':this[_0x53acd4(0x35a)],'memberID':this['_session'][_0x53acd4(0x206)](),'selection':_0x1bcb36(_0x598937,_0x3b781e['range'])}};this[_0x53acd4(0x1df)][_0x53acd4(0x1ff)](_0xcbc5c4,this[_0x53acd4(0x35a)]);},gi)),(this[_0x20e65d(0x35a)]=_0x27ef78,this['_session']=_0x4f9b50,this[_0x20e65d(0x260)]=_0x2a9186,this[_0x20e65d(0x25d)]=_0x312c85,this['_memberService']=_0x28743e,this[_0x20e65d(0x254)]=_0x8d1a72,this[_0x20e65d(0x1ae)]=_0xdbcaf2,this[_0x20e65d(0x2d5)]=_0x240fb2);}get[_0x5b4efa(0x337)](){const _0x5c0e36=_0x5b4efa;return this[_0x5c0e36(0x282)]['getValue']();}get[_0x5b4efa(0x26e)](){const _0x3bc16b=_0x5b4efa;return this[_0x3bc16b(0x35c)][_0x3bc16b(0x1e3)]();}[_0x5b4efa(0x2e2)](){const _0x1ab621=_0x5b4efa;super['dispose'](),this[_0x1ab621(0x282)][_0x1ab621(0x2ac)](new Map()),this[_0x1ab621(0x282)]['complete'](),this[_0x1ab621(0x35c)][_0x1ab621(0x2ac)]([]),this[_0x1ab621(0x35c)][_0x1ab621(0x1a4)]();}[_0x5b4efa(0x2b9)](){const _0x1a7bf3=_0x5b4efa;this[_0x1a7bf3(0x17f)]||(this[_0x1a7bf3(0x17f)]=!0x0,this[_0x1a7bf3(0x1df)][_0x1a7bf3(0x2ec)][_0x1a7bf3(0x1b5)](_0x40f407(this[_0x1a7bf3(0x278)]))[_0x1a7bf3(0x244)](_0x23dc3c=>{const _0x178acd=_0x1a7bf3;_0x23dc3c===_0x2d3788['ONLINE']?this['_toggleOnline']():this[_0x178acd(0x2e6)]();}),this[_0x1a7bf3(0x1df)][_0x1a7bf3(0x2b8)]['pipe'](_0x40f407(this[_0x1a7bf3(0x278)]))[_0x1a7bf3(0x244)](_0x5b6925=>{const _0x24e745=_0x1a7bf3,_0x679a20=_0x5b6925[_0x24e745(0x2b6)];_0x679a20===_0x180ebc[_0x24e745(0x27c)]&&this[_0x24e745(0x1f3)](_0x5b6925),_0x679a20===_0x180ebc[_0x24e745(0x256)]&&this[_0x24e745(0x36a)](_0x5b6925);}),this[_0x1a7bf3(0x187)](),this['disposeWithMe'](this[_0x1a7bf3(0x1ae)][_0x1a7bf3(0x33a)](_0x24c825=>{const _0x2892f1=_0x1a7bf3;if(this[_0x2892f1(0x274)]&&_0x24c825['id']===_0x29afb5['id']&&_0x24c825[_0x2892f1(0x1af)][_0x2892f1(0x351)]===this['unitID']){const _0x1feed2=_0x24c825[_0x2892f1(0x1af)];this[_0x2892f1(0x264)](_0x1feed2[_0x2892f1(0x318)],_0x1feed2[_0x2892f1(0x208)][0x0]);}})));}[_0x5b4efa(0x1f3)](_0x521ebc){const _0x3d25a1=_0x5b4efa;var _0x35b6bd,_0x692859;const {memberID:_0x5df45e,selection:_0xf892db}=_0x521ebc[_0x3d25a1(0x24b)],{sheetName:_0x11e7d6,range:_0x377045}=_0x1a2468(_0xf892db),_0xe93782={'name':(_0x692859=(_0x35b6bd=this[_0x3d25a1(0x23e)][_0x3d25a1(0x30a)](this[_0x3d25a1(0x35a)],_0x5df45e))==null?void 0x0:_0x35b6bd[_0x3d25a1(0x2e9)])!=null?_0x692859:_0x3d25a1(0x316),'range':this['_getMergeRange'](_0x11e7d6,_0x377045),'sheetID':_0x11e7d6,'color':this[_0x3d25a1(0x25d)][_0x3d25a1(0x326)](_0x5df45e),'selection':_0xf892db},_0x4abfa6=this[_0x3d25a1(0x337)];_0x4abfa6[_0x3d25a1(0x19b)](_0x5df45e,_0xe93782),this['_cursorInfo$'][_0x3d25a1(0x2ac)](_0x4abfa6);}[_0x5b4efa(0x36a)](_0x1eb7e3){const _0x5552f8=_0x5b4efa,{memberID:_0x1dd79}=_0x1eb7e3[_0x5552f8(0x24b)],_0x38f2d2=this[_0x5552f8(0x337)];_0x38f2d2[_0x5552f8(0x310)](_0x1dd79),this[_0x5552f8(0x282)][_0x5552f8(0x2ac)](_0x38f2d2);}['_getMergeRange'](_0x32ea38,_0x3eed9d){const _0x3be8b2=_0x5b4efa;var _0x1cefa1,_0x421447;const _0x1858fe=(_0x421447=(_0x1cefa1=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x1cefa1['getSheetBySheetId'](_0x32ea38))==null?void 0x0:_0x421447[_0x3be8b2(0x29f)]();return(_0x1858fe==null?void 0x0:_0x1858fe['find'](_0x3b8397=>_0x44d08e['contains'](_0x3b8397,_0x3eed9d)))||_0x3eed9d;}[_0x5b4efa(0x187)](){const _0x177758=_0x5b4efa,_0x403c19=new _0x5efb6b(),_0x51a554=vi(),_0x466adc=()=>{const _0x1bcb80=_0x3518;_0x403c19[_0x1bcb80(0x2e2)]();const _0x2252e0=(_0x5a1a33,_0x2a9304,_0x8b6a5e,_0x11bfd6)=>{const _0x4cc247=_0x1bcb80;let _0x26a695=[];switch(_0x5a1a33['id']){case _0x1e58f9[_0x4cc247(0x1bc)]:{_0x26a695=_0x4efd28(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x323)]:{_0x26a695=_0x35006c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x2cf)]:{_0x26a695=_0x329a9c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x19c)]:{_0x26a695=_0x49fc0f(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x1cb)]:{_0x26a695=_0x3d227c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x28b)]:{_0x26a695=_0x569859(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x377)]:{_0x26a695=_0x5dd931(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x255)]:{_0x26a695=_0x1aec89(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x230)]:{_0x26a695=_0x4df2f6(_0x5a1a33,_0x11bfd6);break;}}const _0xc993c4=_0x1630e4(_0x26a695,_0x11bfd6),_0x42f173=this[_0x4cc247(0x337)][_0x4cc247(0x2ce)](_0x2a9304);if(_0x42f173&&_0xc993c4){const _0x27a7a8={..._0x42f173,'range':_0xc993c4};this['cursorInfo'][_0x4cc247(0x19b)](_0x2a9304,_0x27a7a8),_0x51a554(()=>{const _0x1e7e55=_0x4cc247,_0x4c22f0=this[_0x1e7e55(0x2d5)][_0x1e7e55(0x238)](_0xc993c4,_0x41b9fa=>(_0x4c22f0[_0x1e7e55(0x2e2)](),_0x2252e0(_0x41b9fa,_0x2a9304,_0x8b6a5e,_0xc993c4)));_0x403c19[_0x1e7e55(0x209)](_0x4c22f0);});}return{'redos':[],'undos':[]};};this[_0x1bcb80(0x337)]['forEach']((_0x2bb16e,_0x1a1d19)=>{const _0x4bb9c5=_0x1bcb80,{range:_0x2da098,sheetID:_0x1d6879}=_0x2bb16e,_0x406f5f=this[_0x4bb9c5(0x2d5)]['registerRefRange'](_0x2da098,_0x200bf4=>(_0x406f5f[_0x4bb9c5(0x2e2)](),_0x2252e0(_0x200bf4,_0x1a1d19,_0x1d6879,_0x2da098)));_0x403c19[_0x4bb9c5(0x209)](_0x406f5f);});};this[_0x177758(0x33f)](_0x4e32ae(this[_0x177758(0x282)][_0x177758(0x244)](()=>{_0x466adc();})));}[_0x5b4efa(0x364)](){const _0x34ff01=_0x5b4efa;var _0x440d78,_0x1cca3b;if(this[_0x34ff01(0x274)]=!0x0,((_0x440d78=this['_univerInstanceService'][_0x34ff01(0x1cf)]())==null?void 0x0:_0x440d78[_0x34ff01(0x180)]())!==this[_0x34ff01(0x35a)])return;const _0x5b782a=(_0x1cca3b=this[_0x34ff01(0x260)][_0x34ff01(0x2ce)](_0x53ed4d)[_0x34ff01(0x30b)]())==null?void 0x0:_0x1cca3b[0x0],_0x2ab0e5=this[_0x34ff01(0x254)][_0x34ff01(0x363)](_0x3860d6[_0x34ff01(0x257)])[_0x34ff01(0x2ba)]();_0x5b782a&&_0x2ab0e5&&this[_0x34ff01(0x264)](_0x2ab0e5[_0x34ff01(0x2c7)](),_0x5b782a);}[_0x5b4efa(0x2e6)](){const _0x12ec0f=_0x5b4efa;this[_0x12ec0f(0x274)]=!0x1;}};Me=mi([x(0x2,_0x17f821(_0x1bdaf6)),x(0x3,_0x17f821(ke)),x(0x4,_0x17f821(_0x24a34a)),x(0x5,_0x166042),x(0x6,_0xb833f6),x(0x7,_0x17f821(_0x4ea11f))],Me);var pi=Object[_0x5b4efa(0x23d)],Ci=(_0x22de20,_0x32536b,_0xe977ea,_0x38947e)=>{for(var _0x57a421=_0x38947e>0x1?void 0x0:_0x38947e?pi(_0x32536b,_0xe977ea):_0x32536b,_0x2bad15=_0x22de20['length']-0x1,_0x33ab27;_0x2bad15>=0x0;_0x2bad15--)(_0x33ab27=_0x22de20[_0x2bad15])&&(_0x57a421=_0x33ab27(_0x57a421)||_0x57a421);return _0x57a421;},Se=(_0x293fb6,_0x24cf3d)=>(_0x148321,_0x10a89a)=>_0x24cf3d(_0x148321,_0x10a89a,_0x293fb6);let H=class extends _0x38ba1e{constructor(_0x107142,_0x27b89f,_0x22145e){const _0xa48bb2=_0x5b4efa;super(),_(this,_0xa48bb2(0x376),new Map()),_(this,_0xa48bb2(0x1bd),new _0x5f2ef2()),(this['_univerInstanceService']=_0x107142,this[_0xa48bb2(0x260)]=_0x27b89f,this[_0xa48bb2(0x2b0)]=_0x22145e,this['_init']());}[_0x5b4efa(0x2e2)](){const _0x40d0f8=_0x5b4efa;super['dispose'](),this[_0x40d0f8(0x1bd)][_0x40d0f8(0x1a4)](),this[_0x40d0f8(0x376)][_0x40d0f8(0x334)](_0x163e3d=>_0x163e3d['dispose']());}['getCollabCursors$'](_0x1b3ca3){const _0x16b502=_0x5b4efa;return this[_0x16b502(0x376)][_0x16b502(0x1ce)](_0x1b3ca3)?this['_entities'][_0x16b502(0x2ce)](_0x1b3ca3)[_0x16b502(0x1fd)]:this[_0x16b502(0x1bd)][_0x16b502(0x1b5)](_0x137306(_0x427f78=>_0x427f78['unitID']===_0x1b3ca3),_0x542af7(_0x102951=>_0x102951[_0x16b502(0x1fd)]));}[_0x5b4efa(0x17f)](){const _0x994cd3=_0x5b4efa;this[_0x994cd3(0x254)][_0x994cd3(0x24d)](_0x3860d6['UNIVER_SHEET'])[_0x994cd3(0x1b5)](_0x40f407(this['dispose$']))[_0x994cd3(0x244)](async _0x752353=>{const _0x37db3f=_0x994cd3,_0x12110c=_0x752353[_0x37db3f(0x180)](),_0x55ea7f=await this[_0x37db3f(0x248)](_0x12110c);this[_0x37db3f(0x1bd)]['next'](_0x55ea7f),this[_0x37db3f(0x376)][_0x37db3f(0x19b)](_0x12110c,_0x55ea7f);}),this['_univerInstanceService'][_0x994cd3(0x24d)](_0x3860d6[_0x994cd3(0x28c)])['pipe'](_0x40f407(this['dispose$']))[_0x994cd3(0x1b5)](_0x137306(_0x41f34f=>!_0x41f34f[_0x994cd3(0x180)]()[_0x994cd3(0x1b3)]('__')))['subscribe'](async _0xc39de6=>{const _0x5e7ade=_0x994cd3,_0x4ea224=_0xc39de6[_0x5e7ade(0x180)](),_0x57f1c7=await this[_0x5e7ade(0x2ea)](_0x4ea224);this[_0x5e7ade(0x1bd)][_0x5e7ade(0x2ac)](_0x57f1c7),this[_0x5e7ade(0x376)][_0x5e7ade(0x19b)](_0x4ea224,_0x57f1c7);}),_0x4af1ba(this['_univerInstanceService'][_0x994cd3(0x36d)](_0x3860d6[_0x994cd3(0x28c)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3860d6[_0x994cd3(0x257)]))[_0x994cd3(0x1b5)](_0x40f407(this[_0x994cd3(0x278)]))[_0x994cd3(0x244)](_0x1d734a=>{const _0x2253aa=_0x994cd3,_0x3465bf=_0x1d734a[_0x2253aa(0x180)](),_0x214371=this['_entities'][_0x2253aa(0x2ce)](_0x3465bf);_0x214371&&(_0x214371[_0x2253aa(0x2e2)](),this[_0x2253aa(0x376)][_0x2253aa(0x310)](_0x3465bf));});}async[_0x5b4efa(0x248)](_0x377ef7){const _0x576b16=_0x5b4efa,_0xb450b=await this[_0x576b16(0x2b0)][_0x576b16(0x27f)](_0x377ef7),_0x125c3a=this[_0x576b16(0x260)][_0x576b16(0x2db)](Me,_0x377ef7,_0xb450b);return _0x125c3a[_0x576b16(0x2b9)](),_0x125c3a;}async[_0x5b4efa(0x2ea)](_0x471737){const _0x2db2c2=_0x5b4efa,_0x2187f2=await this[_0x2db2c2(0x2b0)][_0x2db2c2(0x27f)](_0x471737),_0x5d60ae=this['_injector'][_0x2db2c2(0x2db)](Ue,_0x471737,_0x2187f2);return _0x5d60ae[_0x2db2c2(0x2b9)](),_0x5d60ae;}};H=Ci([Se(0x0,_0x166042),Se(0x1,_0x17f821(_0x1bdaf6)),Se(0x2,_0x17f821(_0x266dab))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x57ad48,_0x328025){const _0xe96a3e=_0x5b4efa;let {radius:_0x473d26,width:_0x52117c,height:_0x3f1459}=_0x328025;_0x473d26=_0x473d26!=null?_0x473d26:0x0,_0x52117c=_0x52117c!=null?_0x52117c:0x1e,_0x3f1459=_0x3f1459!=null?_0x3f1459:0x1e;let _0x458d96=0x0,_0x5404c7=0x0,_0x11c35e=0x0;_0x458d96=_0x5404c7=_0x11c35e=Math[_0xe96a3e(0x37a)](_0x473d26,_0x52117c/0x2,_0x3f1459/0x2),_0x57ad48[_0xe96a3e(0x2cb)](),_0x57ad48[_0xe96a3e(0x301)](_0x458d96,0x0),_0x57ad48[_0xe96a3e(0x1a8)](_0x52117c-_0x5404c7,0x0),_0x57ad48[_0xe96a3e(0x33d)](_0x52117c-_0x5404c7,_0x5404c7,_0x5404c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x57ad48[_0xe96a3e(0x1a8)](_0x52117c,_0x3f1459-_0x11c35e),_0x57ad48[_0xe96a3e(0x33d)](_0x52117c-_0x11c35e,_0x3f1459-_0x11c35e,_0x11c35e,0x0,Math['PI']/0x2,!0x1),_0x57ad48[_0xe96a3e(0x1a8)](0x0,_0x3f1459),_0x57ad48['lineTo'](0x0,_0x458d96),_0x57ad48['arc'](_0x458d96,_0x458d96,_0x458d96,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x57ad48[_0xe96a3e(0x347)](),_0x328025[_0xe96a3e(0x2e4)]&&(_0x57ad48[_0xe96a3e(0x202)](),_0x57ad48[_0xe96a3e(0x222)]=_0x328025[_0xe96a3e(0x2e4)],_0x328025[_0xe96a3e(0x183)]===_0xe96a3e(0x2d2)?_0x57ad48['fill']('evenodd'):_0x57ad48[_0xe96a3e(0x2e4)](),_0x57ad48['restore']());}class he extends _0x4b1f28{constructor(_0x3bc3a4,_0xe5da56){const _0x25b476=_0x5b4efa;super(_0x3bc3a4,_0xe5da56),_(this,'color'),_(this,_0x25b476(0x344)),(this[_0x25b476(0x2c6)]=_0xe5da56==null?void 0x0:_0xe5da56[_0x25b476(0x2c6)],this[_0x25b476(0x344)]=_0xe5da56==null?void 0x0:_0xe5da56['text']);}static['drawWith'](_0x81087a,_0x3a5c1c){const _0x4e3e08=_0x5b4efa,{text:_0x151c5b,color:_0x483a57}=_0x3a5c1c;_0x81087a['save'](),_0x81087a['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x15d97a=_0x81087a[_0x4e3e08(0x29c)](_0x151c5b)['width'],_0x1c0c02=Math[_0x4e3e08(0x37a)](_0x15d97a+0x2*me,Qe);Oi(_0x81087a,{'height':ee,'radius':0x4,'width':_0x1c0c02,'fill':_0x483a57}),_0x81087a[_0x4e3e08(0x222)]=_0x4e3e08(0x280);const _0x49433a=me,_0x135616=ee-Ei,_0x31c99c=Qe-0x2*me;if(_0x15d97a>_0x31c99c){let _0x25501e='',_0x1eb33c=0x0;for(const _0x5f5508 of _0x151c5b){const _0x177940=_0x81087a[_0x4e3e08(0x29c)](_0x5f5508)[_0x4e3e08(0x294)];if(_0x1eb33c+_0x177940<=_0x31c99c-_0x81087a[_0x4e3e08(0x29c)](_0x4e3e08(0x213))[_0x4e3e08(0x294)])_0x25501e+=_0x5f5508,_0x1eb33c+=_0x177940;else{_0x25501e+=_0x4e3e08(0x213);break;}}_0x81087a[_0x4e3e08(0x2bf)](_0x25501e,_0x49433a,_0x135616);}else _0x81087a[_0x4e3e08(0x2bf)](_0x151c5b,_0x49433a,_0x135616);_0x81087a['restore']();}[_0x5b4efa(0x379)](_0xfe3126){const _0x2b1d09=_0x5b4efa;he[_0x2b1d09(0x345)](_0xfe3126,this);}}const Ie=_0x5b4efa(0x1d4),bi=_0x5b4efa(0x227),Ti=_0x5b4efa(0x2e3),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x5b4efa(0x2cc);class qe{constructor(_0x4fe595,_0xe10bbf,_0x4166c0,_0xc7e4f){const _0x1544b4=_0x5b4efa;_(this,_0x1544b4(0x21a),[]),_(this,_0x1544b4(0x315),null),_(this,_0x1544b4(0x271),null),_(this,_0x1544b4(0x1d2),null),_(this,_0x1544b4(0x349),null),_(this,_0x1544b4(0x245),null),(this[_0x1544b4(0x33e)]=_0x4fe595,this[_0x1544b4(0x1b4)]=_0xe10bbf,this['_docSkeleton']=_0x4166c0,this['_document']=_0xc7e4f,this['_render']());}set[_0x5b4efa(0x18f)](_0x2947db){const _0x26f60f=_0x5b4efa;_0x2947db?(this[_0x26f60f(0x1d2)]&&this['_anchorDot'][_0x26f60f(0x36c)](),this[_0x26f60f(0x271)]&&this[_0x26f60f(0x271)]['show']()):(this[_0x26f60f(0x1d2)]&&this[_0x26f60f(0x1d2)][_0x26f60f(0x218)](),this[_0x26f60f(0x271)]&&this[_0x26f60f(0x271)][_0x26f60f(0x36c)]());}[_0x5b4efa(0x2e2)](){const _0x3e9584=_0x5b4efa;for(const _0x436a5e of this['_shapes'])_0x436a5e['dispose']();this[_0x3e9584(0x271)]&&this[_0x3e9584(0x271)]['dispose'](),this[_0x3e9584(0x1d2)]&&this[_0x3e9584(0x1d2)][_0x3e9584(0x2e2)](),this['_anchor']&&this[_0x3e9584(0x315)]['dispose'](),this[_0x3e9584(0x245)]&&this[_0x3e9584(0x245)]();}[_0x5b4efa(0x22b)](){const _0x2b9e5c=_0x5b4efa;var _0x194b6b;const {_docSkeleton:_0x1c28d8,_document:_0x2ac728}=this,{color:_0x1eb75a,name:_0x1f71e0,ranges:_0x5278ee}=this[_0x2b9e5c(0x33e)],_0x3c841f=_0x2ac728['getOffsetConfig'](),{docsLeft:_0x22d3c1,docsTop:_0x3bd3ba}=_0x3c841f,_0x2ce6da=new _0x19d055(_0x3c841f,_0x1c28d8);for(const {startOffset:_0x5c108f,endOffset:_0x2e3f89,rangeType:_0x1b9cea,segmentId:_0x55fb27,segmentPage:_0x309015,collapsed:_0x179e8e,isActive:_0x5dab44}of _0x5278ee){const _0x1c1b8a=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x5c108f,!0x0,_0x55fb27,_0x309015);let _0x4d77f8=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x2e3f89,!0x0,_0x55fb27,_0x309015);if(_0x4d77f8==null&&(_0x4d77f8=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x2e3f89-0x1,!0x1,_0x55fb27,_0x309015)),_0x5dab44){const {contentBoxPointGroup:_0x31ac75}=_0x2ce6da[_0x2b9e5c(0x30d)](_0x4d77f8,_0x4d77f8);if(_0x31ac75[_0x2b9e5c(0x265)]===0x0)continue;this['_drawAnchor'](_0x1eb75a,_0x31ac75,_0x22d3c1,_0x3bd3ba,_0x1f71e0),this[_0x2b9e5c(0x245)]=this[_0x2b9e5c(0x1c8)]();}if(_0x1c1b8a&&_0x4d77f8){if(_0x1b9cea===_0x2a664c[_0x2b9e5c(0x27d)]){const _0x330d55=new _0xb7c07(_0x3c841f,_0x1c28d8),{pointGroup:_0x2d0338}=(_0x194b6b=_0x330d55[_0x2b9e5c(0x30d)](_0x1c1b8a,_0x4d77f8))!=null?_0x194b6b:{};if(_0x2d0338==null||_0x2d0338[_0x2b9e5c(0x265)]===0x0)continue;this[_0x2b9e5c(0x2c5)](_0x1eb75a,_0x2d0338,_0x22d3c1,_0x3bd3ba);}else{if(!_0x179e8e){const {borderBoxPointGroup:_0x5d5bae}=_0x2ce6da[_0x2b9e5c(0x30d)](_0x1c1b8a,_0x4d77f8);if(_0x5d5bae[_0x2b9e5c(0x265)]===0x0)continue;this[_0x2b9e5c(0x2b7)](_0x1eb75a,_0x5d5bae,_0x22d3c1,_0x3bd3ba);}}}}}[_0x5b4efa(0x253)](_0x350d85,_0x5e49df,_0x290a3b,_0xd17abc,_0x34c6e4){const _0x3cce4c=_0x5b4efa,_0x58856e=this[_0x3cce4c(0x308)](_0x5e49df),{left:_0x1c34dc,top:_0x34876a,height:_0x323ec0}=_0x58856e,_0x5d748d=this[_0x3cce4c(0x1c3)](),_0x258791=Di/_0x5d748d,_0x5dd8bf=new _0x2a533f(Ie+_0x9af4da[_0x3cce4c(0x2ae)](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc,'height':_0x323ec0,'width':Ri,'fill':_0x350d85||_0x5b1dc2(_0x55a633['black'],0x0),'strokeWidth':_0x258791,'stroke':Ni,'evented':!0x0});this[_0x3cce4c(0x315)]=_0x5dd8bf,this[_0x3cce4c(0x1b4)]['addObject'](_0x5dd8bf,_0x4e0af9);const _0x105b57=new _0x2a533f(Ie+_0x9af4da['generateRandomId'](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc-ge/0x2,'height':ge,'width':ge,'fill':_0x350d85||_0x5b1dc2(_0x55a633['black'],0x0),'strokeWidth':0x0,'stroke':_0x350d85||_0x5b1dc2(_0x55a633[_0x3cce4c(0x249)],0x0),'evented':!0x1});this[_0x3cce4c(0x1d2)]=_0x105b57,this[_0x3cce4c(0x1b4)][_0x3cce4c(0x1b9)](_0x105b57,_0x4e0af9);const _0x3e9b15=new he(Ie+_0x9af4da['generateRandomId'](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc-ee,'text':_0x34c6e4,'color':_0x350d85});this[_0x3cce4c(0x271)]=_0x3e9b15,this[_0x3cce4c(0x1b4)]['addObject'](_0x3e9b15,_0x4e0af9),this[_0x3cce4c(0x18f)]=!0x1;}[_0x5b4efa(0x1c8)](){const _0x5245b2=_0x5b4efa,_0xee43f8=this[_0x5245b2(0x315)][_0x5245b2(0x2f3)][_0x5245b2(0x18d)](()=>{const _0x418e1c=_0x5245b2;this[_0x418e1c(0x18f)]=!0x0;}),_0x15be21=this['_anchor'][_0x5245b2(0x276)][_0x5245b2(0x18d)](()=>{const _0x1bd49f=_0x5245b2;this[_0x1bd49f(0x349)]&&clearTimeout(this[_0x1bd49f(0x349)]),this[_0x1bd49f(0x349)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3d9b84=_0x5245b2;_0xee43f8['unsubscribe'](),_0x15be21[_0x3d9b84(0x1ea)]();};}[_0x5b4efa(0x2b7)](_0x489991,_0x57b3cc,_0x36989c,_0x4b800f){const _0x26d4b2=_0x5b4efa,_0x28da89=new _0x454f31(_0x489991)['setAlpha'](0.2)[_0x26d4b2(0x2bd)](),_0x586e10=new _0x12525e(bi+_0x9af4da[_0x26d4b2(0x2ae)](X),{'pointsGroup':_0x57b3cc,'fill':_0x28da89||_0x5b1dc2(_0x55a633[_0x26d4b2(0x249)],0.2),'left':_0x36989c,'top':_0x4b800f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26d4b2(0x21a)]['push'](_0x586e10),this[_0x26d4b2(0x1b4)]['addObject'](_0x586e10,_0x4e0af9);}[_0x5b4efa(0x2c5)](_0x51cd11,_0x4a6410,_0x379b00,_0x378f3e){const _0x7db89d=_0x5b4efa,_0x20721a=new _0x454f31(_0x51cd11)[_0x7db89d(0x2c4)](0.2)[_0x7db89d(0x2bd)](),_0x286575=new _0x12525e(Ti+_0x9af4da[_0x7db89d(0x2ae)](X),{'pointsGroup':_0x4a6410,'fill':_0x20721a||_0x5b1dc2(_0x55a633[_0x7db89d(0x249)],0.2),'left':_0x379b00,'top':_0x378f3e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x7db89d(0x2d4)](_0x286575),this['_scene'][_0x7db89d(0x1b9)](_0x286575,_0x4e0af9);}[_0x5b4efa(0x308)](_0x12e0fa){const _0xfd6b6c=_0x12e0fa[0x0],_0x461538=_0xfd6b6c[0x0],_0x293ef1=_0xfd6b6c[0x2],{x:_0x1dbe25,y:_0x5c09bf}=_0x461538,{x:_0x269534,y:_0x6123f7}=_0x293ef1;return{'left':_0x1dbe25,'top':_0x5c09bf,'width':_0x269534-_0x1dbe25,'height':_0x6123f7-_0x5c09bf};}[_0x5b4efa(0x1c3)](){const _0x2076e7=_0x5b4efa,{scaleX:_0x24e228,scaleY:_0x3d53a0}=this[_0x2076e7(0x1b4)][_0x2076e7(0x18e)]();return Math[_0x2076e7(0x1da)](_0x24e228,_0x3d53a0);}}var Ui=Object[_0x5b4efa(0x23d)],Mi=(_0x5478d2,_0x3939ec,_0x4a42a0,_0x28f005)=>{const _0x3d7f61=_0x5b4efa;for(var _0x11c38d=_0x28f005>0x1?void 0x0:_0x28f005?Ui(_0x3939ec,_0x4a42a0):_0x3939ec,_0x576c0b=_0x5478d2[_0x3d7f61(0x265)]-0x1,_0x415aa1;_0x576c0b>=0x0;_0x576c0b--)(_0x415aa1=_0x5478d2[_0x576c0b])&&(_0x11c38d=_0x415aa1(_0x11c38d)||_0x11c38d);return _0x11c38d;},Z=(_0x3dd201,_0x517928)=>(_0x3af07f,_0x1be055)=>_0x517928(_0x3af07f,_0x1be055,_0x3dd201);let Le=class extends _0x38ba1e{constructor(_0x338157,_0x1dc8ed,_0x28fd50,_0x3bce3c,_0x29ff7c){const _0x438bcf=_0x5b4efa;super(),_(this,_0x438bcf(0x1db),[]),_(this,'_cursors',[]),(this[_0x438bcf(0x348)]=_0x338157,this['_docSkeletonManagerService']=_0x1dc8ed,this[_0x438bcf(0x299)]=_0x28fd50,this[_0x438bcf(0x1ae)]=_0x3bce3c,this[_0x438bcf(0x34f)]=_0x29ff7c,this['_init']());}['_init'](){const _0x5037a0=_0x5b4efa,_0x487b6c=this['_context']['unitId'],_0x4fe023=this[_0x5037a0(0x1a7)];this[_0x5037a0(0x33f)](_0x214175([this[_0x5037a0(0x299)]['getCollabCursors$'](_0x487b6c),this[_0x5037a0(0x34f)]['currentTheme$']])[_0x5037a0(0x1b5)](_0x5c459e(([_0x180091,_0x4e394c])=>({'skeleton':_0x4fe023[_0x5037a0(0x26c)](),'cursors':[..._0x180091[_0x5037a0(0x30f)]()][_0x5037a0(0x2bc)](_0x21340e=>({..._0x21340e,'color':this['_themeService'][_0x5037a0(0x304)](_0x21340e[_0x5037a0(0x2c6)])}))})))[_0x5037a0(0x244)](_0x31811e=>{const _0x290102=_0x5037a0;if(this[_0x290102(0x211)](),_0x31811e){const {skeleton:_0x5c9f1c,cursors:_0x597bdd}=_0x31811e;this['_updateCollabCursors'](_0x5c9f1c,_0x597bdd);}})),this[_0x5037a0(0x2ab)](),this['_initCommandExecutedListener']();}[_0x5b4efa(0x35b)](_0x299ba1,_0x4e121b){const _0x2fa31b=_0x5b4efa,{scene:_0x506cce,mainComponent:_0x5d0919}=this[_0x2fa31b(0x348)],_0x3f761f=_0x4e121b[_0x2fa31b(0x286)](_0x39001e=>new qe(_0x39001e,_0x506cce,_0x299ba1,_0x5d0919));this[_0x2fa31b(0x1db)]=_0x3f761f,this[_0x2fa31b(0x361)]=_0x4e121b;}[_0x5b4efa(0x17a)](){const _0x4b90d5=_0x5b4efa;this[_0x4b90d5(0x211)]();const {scene:_0xc8621d,mainComponent:_0x28cb3d}=this[_0x4b90d5(0x348)],_0x85e73b=this[_0x4b90d5(0x1a7)][_0x4b90d5(0x26c)](),_0x42b52c=this[_0x4b90d5(0x361)][_0x4b90d5(0x286)](_0x2b665e=>new qe(_0x2b665e,_0xc8621d,_0x85e73b,_0x28cb3d));this[_0x4b90d5(0x1db)]=_0x42b52c;}[_0x5b4efa(0x211)](){const _0x27d9bd=_0x5b4efa;this[_0x27d9bd(0x1db)][_0x27d9bd(0x334)](_0x2ac3db=>_0x2ac3db[_0x27d9bd(0x2e2)]()),this[_0x27d9bd(0x1db)]=[];}[_0x5b4efa(0x25b)](){const _0x1a5ce6=_0x5b4efa,_0x4388d0=[_0x5d1cf9['id']];this[_0x1a5ce6(0x33f)](this[_0x1a5ce6(0x1ae)][_0x1a5ce6(0x33a)](_0x23daf8=>{const _0xda2e14=_0x1a5ce6;_0x4388d0[_0xda2e14(0x250)](_0x23daf8['id'])&&_0x23daf8[_0xda2e14(0x1af)][_0xda2e14(0x351)]===this[_0xda2e14(0x348)][_0xda2e14(0x351)]&&this['_refreshCollabCursors']();}));}[_0x5b4efa(0x2ab)](){const _0xcf52ad=_0x5b4efa;this[_0xcf52ad(0x33f)](_0x5a2964(this[_0xcf52ad(0x348)]['engine'][_0xcf52ad(0x1d5)])[_0xcf52ad(0x1b5)](_0x482697(_0xe33e66=>_0xe33e66[_0xcf52ad(0x28e)]===_0x69d07d[_0xcf52ad(0x2a9)]),_0x513ffd(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x17f821(_0x5a7f44)),Z(0x2,_0x17f821(H)),Z(0x3,_0xb833f6),Z(0x4,_0x17f821(_0x2a5222))],Le);const Li=0x1,Pi=1.5;class wi extends _0x4b1f28{constructor(_0xda1779,_0x4a6eee){const _0x2dbcb3=_0x5b4efa;super(_0xda1779,_0x4a6eee),_(this,_0x2dbcb3(0x2a2)),_(this,_0x2dbcb3(0x322),!0x1),_(this,_0x2dbcb3(0x2bb)),_(this,'_name',''),_(this,_0x2dbcb3(0x2aa),_0x2dbcb3(0x32a)),_(this,_0x2dbcb3(0x305)),(_0x4a6eee&&this[_0x2dbcb3(0x1a9)](_0x4a6eee),this[_0x2dbcb3(0x2f3)][_0x2dbcb3(0x18d)](()=>this[_0x2dbcb3(0x1a9)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2dbcb3(0x18d)](()=>this[_0x2dbcb3(0x1a9)]({'hovered':!0x1})));}[_0x5b4efa(0x1a9)](_0x50befc){const _0x4ff658=_0x5b4efa;var _0x4f29ba,_0x2ebc3a,_0x47ae0d,_0x2b02ff,_0x44cc3f,_0x399c4b;this[_0x4ff658(0x2a2)]=(_0x4f29ba=_0x50befc[_0x4ff658(0x2c6)])!=null?_0x4f29ba:this[_0x4ff658(0x2a2)],this['_hovered']=(_0x2ebc3a=_0x50befc[_0x4ff658(0x27a)])!=null?_0x2ebc3a:this[_0x4ff658(0x322)],this[_0x4ff658(0x2bb)]=(_0x47ae0d=_0x50befc[_0x4ff658(0x359)])!=null?_0x47ae0d:this[_0x4ff658(0x2bb)],this[_0x4ff658(0x247)]=(_0x2b02ff=_0x50befc[_0x4ff658(0x2e9)])!=null?_0x2b02ff:this[_0x4ff658(0x247)],this[_0x4ff658(0x2aa)]=(_0x44cc3f=_0x50befc[_0x4ff658(0x236)])!=null?_0x44cc3f:this[_0x4ff658(0x2aa)],this[_0x4ff658(0x305)]=(_0x399c4b=_0x50befc[_0x4ff658(0x332)])!=null?_0x399c4b:this[_0x4ff658(0x305)],this[_0x4ff658(0x251)]({'width':_0x50befc['width'],'height':_0x50befc['height']});}['onMouseMove'](_0x5294cd){const _0x301395=_0x5b4efa,{row:_0x8249fc,column:_0x7125d5}=_0x5294cd;if(_0x8249fc>=this[_0x301395(0x2bb)][_0x301395(0x382)]&&_0x8249fc<=this[_0x301395(0x2bb)][_0x301395(0x2dd)]&&_0x7125d5>=this['_range']['startColumn']&&_0x7125d5<=this[_0x301395(0x2bb)]['endColumn']){this[_0x301395(0x1a9)]({'hovered':!0x0});return;}this[_0x301395(0x1a9)]({'hovered':!0x1});}[_0x5b4efa(0x210)](_0x249d97){return!0x1;}[_0x5b4efa(0x379)](_0x27b4c6){const _0x31c738=_0x5b4efa;_0x2a533f['drawWith'](_0x27b4c6,{'width':this[_0x31c738(0x294)],'height':this[_0x31c738(0x287)],'strokeWidth':Pi,'stroke':this[_0x31c738(0x2a2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31c738(0x322)]&&(_0x27b4c6['save'](),_0x27b4c6[_0x31c738(0x1b2)](0x1,0x0,0x0,0x1,this[_0x31c738(0x294)],this['_labelPosition']==='bottom'?0x0:-0x14),he['drawWith'](_0x27b4c6,{'text':this[_0x31c738(0x247)],'color':this['_color']}),_0x27b4c6[_0x31c738(0x1f5)]());}}var Ai=Object[_0x5b4efa(0x23d)],yi=(_0x1479b9,_0x43f71f,_0x2ed9f1,_0x18b280)=>{for(var _0x4cd9dc=_0x18b280>0x1?void 0x0:_0x18b280?Ai(_0x43f71f,_0x2ed9f1):_0x43f71f,_0x36e697=_0x1479b9['length']-0x1,_0x13e54a;_0x36e697>=0x0;_0x36e697--)(_0x13e54a=_0x1479b9[_0x36e697])&&(_0x4cd9dc=_0x13e54a(_0x4cd9dc)||_0x4cd9dc);return _0x4cd9dc;},ve=(_0x555392,_0x47cf92)=>(_0x361b00,_0x509076)=>_0x47cf92(_0x361b00,_0x509076,_0x555392);const $i=0x1389;let Pe=class extends _0x38ba1e{constructor(_0xf8c381,_0x459b4e,_0xda8c16,_0x5b672b){const _0x4b53d1=_0x5b4efa;super(),_(this,_0x4b53d1(0x361),new Set()),_(this,_0x4b53d1(0x37b),null),(this[_0x4b53d1(0x348)]=_0xf8c381,this[_0x4b53d1(0x346)]=_0x459b4e,this['_collabCursorController']=_0xda8c16,this[_0x4b53d1(0x34f)]=_0x5b672b,this[_0x4b53d1(0x17f)]());}[_0x5b4efa(0x17f)](){const _0x358050=_0x5b4efa;this[_0x358050(0x346)][_0x358050(0x225)][_0x358050(0x1b5)](_0x46ab32(this['dispose$']),_0x4e5146(_0x5e8241=>{const _0x49e2d9=_0x358050;if(_0x5e8241){const _0x3c09ed=_0x5e8241[_0x49e2d9(0x374)];return _0x214175(this[_0x49e2d9(0x299)]['getCollabCursors$'](this['_context'][_0x49e2d9(0x351)]),this[_0x49e2d9(0x34f)][_0x49e2d9(0x328)])['pipe'](_0x5c459e(([_0x2ef019,_0x2aba47])=>{const _0x44833e=_0x49e2d9,_0x25ea0e=new Map();return _0x2ef019[_0x44833e(0x334)]((_0x13e51e,_0x44837c)=>{const _0x2bf1cf=_0x44833e;if(_0x13e51e[_0x2bf1cf(0x22f)]===_0x3c09ed){const _0x4e1c8e={..._0x13e51e};_0x4e1c8e[_0x2bf1cf(0x2c6)]=this['_themeService']['getColorFromTheme'](_0x13e51e[_0x2bf1cf(0x2c6)]),_0x25ea0e[_0x2bf1cf(0x19b)](_0x44837c,_0x4e1c8e);}}),{'skeleton':_0x5e8241,'cursors':_0x25ea0e};}));}return _0x47a53c({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xac19fe,cursors:_0x441b8f})=>{this['_removeCollabCursors'](),_0xac19fe&&this['_updateCollabCursors'](_0xac19fe,_0x441b8f);}),this[_0x358050(0x346)][_0x358050(0x225)][_0x358050(0x244)](_0x36829f=>{const _0x52d262=_0x358050;if(_0x36829f==null)return;const {skeleton:_0x5ea167}=_0x36829f,{scene:_0x2b7f2b}=this['_context'];_0x2b7f2b[_0x52d262(0x266)][_0x52d262(0x18d)](_0x1fb937(_0x539cb0=>{const _0x4e1b4e=_0x52d262;var _0x1fa56c,_0x5bd23f;const {offsetX:_0x3a7935,offsetY:_0x1acc90}=_0x539cb0,{x:_0xd26f78,y:_0x131162}=_0x2b7f2b[_0x4e1b4e(0x243)](_0x3bc027['FromArray']([_0x3a7935,_0x1acc90])),{scaleX:_0x5667fb,scaleY:_0x477a8f}=_0x2b7f2b['getAncestorScale'](),_0x5c182b=_0x2b7f2b[_0x4e1b4e(0x2d7)](_0x3b852c[_0x4e1b4e(0x36f)]),_0x57a58e=_0x2b7f2b[_0x4e1b4e(0x34c)](_0x3bc027[_0x4e1b4e(0x2b4)]([_0xd26f78,_0x131162]),_0x5c182b),_0x4f93a4=_0x5ea167[_0x4e1b4e(0x1f2)](_0x3a7935,_0x1acc90,_0x5667fb,_0x477a8f,_0x57a58e);((_0x1fa56c=this['_lastPointer'])==null?void 0x0:_0x1fa56c[_0x4e1b4e(0x371)])===_0x4f93a4['column']&&((_0x5bd23f=this[_0x4e1b4e(0x37b)])==null?void 0x0:_0x5bd23f[_0x4e1b4e(0x2be)])===_0x4f93a4[_0x4e1b4e(0x2be)]||this[_0x4e1b4e(0x361)][_0x4e1b4e(0x334)](_0x593a65=>{const _0x204c89=_0x4e1b4e;_0x593a65[_0x204c89(0x18b)](_0x4f93a4);});},0x64));});}[_0x5b4efa(0x35b)](_0x34041d,_0x626307){const _0x5a5767=_0x5b4efa;var _0x2f0c31;const _0x145a68=(_0x2f0c31=this[_0x5a5767(0x346)][_0x5a5767(0x273)]())==null?void 0x0:_0x2f0c31['skeleton'];if(!_0x145a68)return;const _0xebf5f2=this[_0x5a5767(0x23a)]();if(!_0xebf5f2)return;this[_0x5a5767(0x361)][_0x5a5767(0x334)](_0x5744dd=>{const _0x5d7982=_0x5a5767;_0x5744dd[_0x5d7982(0x297)]();});const {scene:_0x532aea}=_0xebf5f2,_0x3bfa3d=xi(Array[_0x5a5767(0x319)](_0x626307[_0x5a5767(0x30f)]()))['map'](_0x4b43e2=>{const _0x5f0737=_0x5a5767,{color:_0x4d0ab1,range:_0x366077,name:_0xa22d07,selection:_0x91d209,sheetID:_0x4b69fe}=_0x4b43e2,{startColumn:_0x99ac3,startRow:_0xb38d3c,endColumn:_0x4c7974,endRow:_0x19302f}=_0x366077,_0xd8f93c=_0x1805fb(_0xb38d3c,_0x99ac3,_0x532aea,_0x145a68),_0x162226=_0x1805fb(_0x19302f,_0x4c7974,_0x532aea,_0x145a68),{columnHeaderHeightAndMarginTop:_0x686343}=_0x145a68,{startX:_0x178136,startY:_0x4078c1}=_0xd8f93c,{endX:_0x3b79f5,endY:_0x131048}=_0x162226,_0x45fb24=_0x3b79f5-_0x178136,_0x28aa84=_0x131048-_0x4078c1,_0x427666={'labelPosition':_0x4078c1-_0x686343>=ee?_0x5f0737(0x32a):'bottom','sheetID':_0x4b69fe,'range':_0x366077,'color':_0x4d0ab1,'name':_0xa22d07,'selection':_0x91d209,'left':_0x178136,'top':_0x4078c1,'width':_0x45fb24,'height':_0x28aa84,'evented':!0x1,'zIndex':$i};return new wi(_0xa22d07,_0x427666);});_0x532aea[_0x5a5767(0x20a)](_0x3bfa3d,Li),this[_0x5a5767(0x361)]=new Set(_0x3bfa3d);}[_0x5b4efa(0x211)](){const _0x2ca872=_0x5b4efa;var _0x4f6c86;(_0x4f6c86=this[_0x2ca872(0x361)])==null||_0x4f6c86['forEach'](_0xc9e74e=>_0xc9e74e[_0x2ca872(0x2e2)]());}[_0x5b4efa(0x23a)](){const _0x56d8b8=_0x5b4efa;return _0x486981(this[_0x56d8b8(0x348)][_0x56d8b8(0x356)],this[_0x56d8b8(0x348)]);}};Pe=yi([ve(0x1,_0x17f821(_0x1da1db)),ve(0x2,_0x17f821(H)),ve(0x3,_0x17f821(_0x2a5222))],Pe);function xi(_0x7aba54){const _0x333099=_0x5b4efa,_0x40969a=new Map();return _0x7aba54['forEach'](_0x1ec124=>{const _0x25f79f=_0x3518;if(_0x40969a[_0x25f79f(0x1ce)](_0x1ec124[_0x25f79f(0x2dc)])){const _0x3c3340=_0x40969a[_0x25f79f(0x2ce)](_0x1ec124[_0x25f79f(0x2dc)]);_0x3c3340[_0x25f79f(0x2e9)]+=',\x20'+_0x1ec124[_0x25f79f(0x2e9)];}else _0x40969a[_0x25f79f(0x19b)](_0x1ec124[_0x25f79f(0x2dc)],_0x1ec124);}),Array['from'](_0x40969a[_0x333099(0x30f)]());}var v=function(){const _0xaefbc1=_0x5b4efa;return v=Object[_0xaefbc1(0x1c2)]||function(_0x5383f8){for(var _0x4eea6a,_0x5a28d9=0x1,_0x409a84=arguments['length'];_0x5a28d9<_0x409a84;_0x5a28d9++){_0x4eea6a=arguments[_0x5a28d9];for(var _0x165c6e in _0x4eea6a)Object['prototype']['hasOwnProperty']['call'](_0x4eea6a,_0x165c6e)&&(_0x5383f8[_0x165c6e]=_0x4eea6a[_0x165c6e]);}return _0x5383f8;},v['apply'](this,arguments);},Bi=function(_0x47298e,_0x54a381){const _0x399769=_0x5b4efa;var _0x2b7ce7={};for(var _0xd08a9b in _0x47298e)Object[_0x399769(0x215)]['hasOwnProperty'][_0x399769(0x17e)](_0x47298e,_0xd08a9b)&&_0x54a381[_0x399769(0x33c)](_0xd08a9b)<0x0&&(_0x2b7ce7[_0xd08a9b]=_0x47298e[_0xd08a9b]);if(_0x47298e!=null&&typeof Object[_0x399769(0x366)]==_0x399769(0x1c0)){for(var _0x2d10b6=0x0,_0xd08a9b=Object[_0x399769(0x366)](_0x47298e);_0x2d10b6<_0xd08a9b[_0x399769(0x265)];_0x2d10b6++)_0x54a381['indexOf'](_0xd08a9b[_0x2d10b6])<0x0&&Object[_0x399769(0x215)]['propertyIsEnumerable'][_0x399769(0x17e)](_0x47298e,_0xd08a9b[_0x2d10b6])&&(_0x2b7ce7[_0xd08a9b[_0x2d10b6]]=_0x47298e[_0xd08a9b[_0x2d10b6]]);}return _0x2b7ce7;},Fe=_0x1df6b8(function(_0x5b4601,_0x9d724b){const _0x5100e8=_0x5b4efa;var _0x260e1=_0x5b4601['icon'],_0xad2415=_0x5b4601['id'],_0xc574f4=_0x5b4601[_0x5100e8(0x300)],_0x4dabe7=_0x5b4601['extend'],_0x13c037=Bi(_0x5b4601,[_0x5100e8(0x2b1),'id',_0x5100e8(0x300),_0x5100e8(0x1a2)]),_0x599876='univerjs-icon\x20univerjs-icon-'[_0x5100e8(0x1f4)](_0xad2415,'\x20')['concat'](_0xc574f4||'')[_0x5100e8(0x2d8)](),_0x245f3f=_0x5c48e3('_'[_0x5100e8(0x1f4)](Fi()));return Rt(_0x260e1,''[_0x5100e8(0x1f4)](_0xad2415),{'defIds':_0x260e1['defIds'],'idSuffix':_0x245f3f[_0x5100e8(0x261)]},v({'ref':_0x9d724b,'className':_0x599876},_0x13c037),_0x4dabe7);});function Rt(_0x1c0995,_0x5b501e,_0x29876f,_0x8e5b6c,_0xdb0e87){const _0x1de434=_0x5b4efa;return _0x12f687(_0x1c0995['tag'],v(v({'key':_0x5b501e},ki(_0x1c0995,_0x29876f,_0xdb0e87)),_0x8e5b6c),(Hi(_0x1c0995,_0x29876f)[_0x1de434(0x354)]||[])[_0x1de434(0x286)](function(_0x708733,_0x11c647){const _0x1048a6=_0x1de434;return Rt(_0x708733,''[_0x1048a6(0x1f4)](_0x5b501e,'-')[_0x1048a6(0x1f4)](_0x1c0995[_0x1048a6(0x1bf)],'-')['concat'](_0x11c647),_0x29876f,void 0x0,_0xdb0e87);}));}function ki(_0x4b8493,_0x8ff0cd,_0xfa32b5){const _0x3896ec=_0x5b4efa;var _0x5a225d=v({},_0x4b8493['attrs']);_0xfa32b5!=null&&_0xfa32b5['colorChannel1']&&_0x5a225d['fill']===_0x3896ec(0x2f9)&&(_0x5a225d[_0x3896ec(0x2e4)]=_0xfa32b5[_0x3896ec(0x2f9)]),_0x4b8493[_0x3896ec(0x1bf)]==='mask'&&_0x5a225d['id']&&(_0x5a225d['id']=_0x5a225d['id']+_0x8ff0cd['idSuffix']),Object[_0x3896ec(0x1ec)](_0x5a225d)[_0x3896ec(0x334)](function(_0x11a07c){const _0x114470=_0x3896ec;var _0x14d792=_0x11a07c[0x0],_0x561a8c=_0x11a07c[0x1];_0x14d792==='mask'&&typeof _0x561a8c==_0x114470(0x1fa)&&(_0x5a225d[_0x14d792]=_0x561a8c[_0x114470(0x184)](/url\(#(.*)\)/,_0x114470(0x270)[_0x114470(0x1f4)](_0x8ff0cd[_0x114470(0x214)],')')));});var _0x1b85ce=_0x8ff0cd[_0x3896ec(0x17d)];return!_0x1b85ce||_0x1b85ce['length']===0x0||(_0x4b8493['tag']==='use'&&_0x5a225d['xlink:href']&&(_0x5a225d['xlink:href']=_0x5a225d[_0x3896ec(0x2fe)]+_0x8ff0cd[_0x3896ec(0x214)]),Object['entries'](_0x5a225d)[_0x3896ec(0x334)](function(_0x2c83df){const _0x3bfa96=_0x3896ec;var _0x5155bd=_0x2c83df[0x0],_0x2a9659=_0x2c83df[0x1];typeof _0x2a9659==_0x3bfa96(0x1fa)&&(_0x5a225d[_0x5155bd]=_0x2a9659['replace'](/url\(#(.*)\)/,_0x3bfa96(0x270)['concat'](_0x8ff0cd[_0x3bfa96(0x214)],')')));})),_0x5a225d;}function Hi(_0x5362af,_0x356e26){const _0xc0818f=_0x5b4efa;var _0x2fdc6d,_0x50912c=_0x356e26[_0xc0818f(0x17d)];return!_0x50912c||_0x50912c[_0xc0818f(0x265)]===0x0?_0x5362af:_0x5362af[_0xc0818f(0x1bf)]==='defs'&&(!((_0x2fdc6d=_0x5362af[_0xc0818f(0x354)])===null||_0x2fdc6d===void 0x0)&&_0x2fdc6d[_0xc0818f(0x265)])?v(v({},_0x5362af),{'children':_0x5362af[_0xc0818f(0x354)][_0xc0818f(0x286)](function(_0x26a3a8){const _0x56d846=_0xc0818f;return typeof _0x26a3a8['attrs']['id']==_0x56d846(0x1fa)&&_0x50912c&&_0x50912c[_0x56d846(0x250)](_0x26a3a8[_0x56d846(0x2d1)]['id'])?v(v({},_0x26a3a8),{'attrs':v(v({},_0x26a3a8[_0x56d846(0x2d1)]),{'id':_0x26a3a8[_0x56d846(0x2d1)]['id']+_0x356e26['idSuffix']})}):_0x26a3a8;})}):_0x5362af;}function Fi(){const _0x2975e1=_0x5b4efa;return Math[_0x2975e1(0x324)]()[_0x2975e1(0x331)](0x24)[_0x2975e1(0x343)](0x2,0x8);}Fe[_0x5b4efa(0x2a8)]=_0x5b4efa(0x33b);var Yi={'tag':_0x5b4efa(0x229),'attrs':{'xmlns':_0x5b4efa(0x25f),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5b4efa(0x2b3),'height':_0x5b4efa(0x2b3)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b4efa(0x275)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'stroke':_0x5b4efa(0x352),'d':_0x5b4efa(0x36e),'strokeLinecap':_0x5b4efa(0x2d6),'strokeLinejoin':_0x5b4efa(0x2d6),'strokeWidth':1.2}}]},{'tag':_0x5b4efa(0x1e4),'attrs':{},'children':[{'tag':_0x5b4efa(0x2c2),'attrs':{'id':_0x5b4efa(0x25c)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'fill':_0x5b4efa(0x2a0),'d':_0x5b4efa(0x252)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x1df6b8(function(_0x3ea0d3,_0x7fcb92){const _0x222ad7=_0x5b4efa;return _0x12f687(Fe,Object['assign']({},_0x3ea0d3,{'id':_0x222ad7(0x34a),'ref':_0x7fcb92,'icon':Yi}));});Dt[_0x5b4efa(0x2a8)]='OffLineIcon';var ji={'tag':_0x5b4efa(0x229),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5b4efa(0x2b3),'height':_0x5b4efa(0x2b3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'stroke':_0x5b4efa(0x352),'d':_0x5b4efa(0x34d),'strokeLinecap':_0x5b4efa(0x2d6),'strokeLinejoin':_0x5b4efa(0x2d6),'strokeWidth':1.2}}]},{'tag':_0x5b4efa(0x1e4),'attrs':{},'children':[{'tag':_0x5b4efa(0x2c2),'attrs':{'id':_0x5b4efa(0x2a7)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'fill':_0x5b4efa(0x2a0),'d':_0x5b4efa(0x252),'transform':'translate(.97)'}}]}]}],'defIds':[_0x5b4efa(0x2a7)]},Nt=_0x1df6b8(function(_0x1c359f,_0x38e96b){const _0x1f724c=_0x5b4efa;return _0x12f687(Fe,Object[_0x1f724c(0x1c2)]({},_0x1c359f,{'id':'on-line-icon','ref':_0x38e96b,'icon':ji}));});Nt['displayName']=_0x5b4efa(0x2ed);function Vi(_0x1bd4fe){const _0x3bc281=_0x5b4efa;switch(_0x1bd4fe){case _0x5152ea[_0x3bc281(0x205)]:return _0x3bc281(0x194);case _0x5152ea['CONFLICT']:return'collabStatus.conflict';case _0x5152ea[_0x3bc281(0x355)]:return'collabStatus.fetchMiss';case _0x5152ea[_0x3bc281(0x329)]:return _0x3bc281(0x1ba);case _0x5152ea[_0x3bc281(0x306)]:case _0x5152ea[_0x3bc281(0x2d0)]:return _0x3bc281(0x246);case _0x5152ea[_0x3bc281(0x1ee)]:case _0x5152ea['PENDING']:return _0x3bc281(0x34e);}}function Wi(_0x2ff8d1){const _0x49ae99=_0x5b4efa,{status$:_0x3b6575}=_0x2ff8d1,_0xd4842e=_0x49029c(_0x3b6575,_0x5152ea[_0x49ae99(0x329)]),_0x18f783=_0x188343(_0x144e47),_0x1db4f6=_0x188343(_0x266dab),_0x4f95a4=_0xd4842e!==_0x5152ea[_0x49ae99(0x205)],_0x34df18=_0x18f783['t'](Vi(_0xd4842e)),_0x5cc39c=_0x4f95a4?_0x2b3c94(Nt,{}):_0x2b3c94(Dt,{}),_0x3ffa4e=_0x2efa88(()=>{const _0x4ff238=_0x49ae99;_0x4f95a4||_0x1db4f6[_0x4ff238(0x24f)]();},[_0x4f95a4,_0x1db4f6]);function _0x56fe87(){const _0x35c162=_0x49ae99;return _0x18f578(_0x35c162(0x195),{'className':_0x35c162(0x2a3),'onClick':_0x3ffa4e,'children':[_0x2b3c94('div',{'className':_0x5653b9(_0x35c162(0x1cd),{'univer-text-green-500':_0x4f95a4,'univer-text-red-500':!_0x4f95a4}),'children':_0x5cc39c}),_0x2b3c94(_0x35c162(0x195),{'className':_0x35c162(0x192),'children':_0x34df18})]});}return _0x4f95a4?_0x56fe87():_0x2b3c94(_0x184e3c,{'title':_0x18f783['t']('collab-client.tooltip.reconnect'),'children':_0x56fe87()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x143ba9,_0x53afdf,_0x45871a,_0x1e4059)=>{for(var _0x516cf0=_0x1e4059>0x1?void 0x0:_0x1e4059?Xi(_0x53afdf,_0x45871a):_0x53afdf,_0x5b89ea=_0x143ba9['length']-0x1,_0x2a823a;_0x5b89ea>=0x0;_0x5b89ea--)(_0x2a823a=_0x143ba9[_0x5b89ea])&&(_0x516cf0=_0x2a823a(_0x516cf0)||_0x516cf0);return _0x516cf0;},Q=(_0x58c43e,_0x25f4e2)=>(_0x3dc346,_0x4a266b)=>_0x25f4e2(_0x3dc346,_0x4a266b,_0x58c43e);let te=class extends _0x3449ee{constructor(_0x584fad,_0x41a164,_0x5c7bc5,_0x112a51){const _0x543e17=_0x5b4efa;super(),_(this,'_status$',new _0x4f34ea(_0x5152ea[_0x543e17(0x329)])),(this['_univerInstanceService']=_0x584fad,this[_0x543e17(0x260)]=_0x41a164,this[_0x543e17(0x23c)]=_0x5c7bc5,this['_uiPartsService']=_0x112a51,this[_0x543e17(0x29a)](),this[_0x543e17(0x1fb)]());}[_0x5b4efa(0x1fb)](){const _0xab2af=_0x5b4efa;this[_0xab2af(0x33f)](this[_0xab2af(0x254)][_0xab2af(0x228)]['pipe'](_0x542af7(()=>{const _0x855d83=_0xab2af,_0x2c17e1=this[_0x855d83(0x254)][_0x855d83(0x1cf)]();return _0x2c17e1?this[_0x855d83(0x23c)]['getCollabEntity$'](_0x2c17e1['getUnitId']()):_0x47a53c(null);}),_0x542af7(_0x2aae67=>_0x2aae67?_0x2aae67[_0xab2af(0x2e5)]:_0x47a53c(_0x5152ea[_0xab2af(0x329)])))[_0xab2af(0x244)](_0x554f37=>{const _0x599026=_0xab2af;this[_0x599026(0x1e6)][_0x599026(0x2ac)](_0x554f37);}));}[_0x5b4efa(0x29a)](){const _0x507abe=_0x5b4efa;this['disposeWithMe'](this[_0x507abe(0x288)][_0x507abe(0x223)](_0x29a40d[_0x507abe(0x1f9)],()=>_0x3c5ef4(Ki({'status$':this['_status$'][_0x507abe(0x28a)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x166042),Q(0x1,_0x17f821(_0x1bdaf6)),Q(0x2,_0x17f821(_0x408cc6)),Q(0x3,_0xa159a1)],te);function Ki(_0x161a69){const {status$:_0x4d300d}=_0x161a69;return function(){return _0x2b3c94(Wi,{'status$':_0x4d300d});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4bafcf,_0x13be4c,_0x3fda2b,_0x2d5f8d)=>{const _0x426693=_0x5b4efa;for(var _0x416016=_0x2d5f8d>0x1?void 0x0:_0x2d5f8d?zi(_0x13be4c,_0x3fda2b):_0x13be4c,_0x4cacdf=_0x4bafcf[_0x426693(0x265)]-0x1,_0x4268c4;_0x4cacdf>=0x0;_0x4cacdf--)(_0x4268c4=_0x4bafcf[_0x4cacdf])&&(_0x416016=_0x4268c4(_0x416016)||_0x416016);return _0x416016;},B=(_0x4d3914,_0x4fe3db)=>(_0x32cdca,_0x2d7777)=>_0x4fe3db(_0x32cdca,_0x2d7777,_0x4d3914);let se=class extends _0x3449ee{constructor(_0x5d3805,_0x3e33da,_0x25e9fe,_0x5a52f5,_0x2bf583,_0x2c8c52){const _0x122e62=_0x5b4efa;super(),this['_beforeCloseService']=_0x5d3805,this['_localCacheService']=_0x3e33da,this[_0x122e62(0x240)]=_0x25e9fe,this[_0x122e62(0x1a0)]=_0x5a52f5,this[_0x122e62(0x35d)]=_0x2bf583,this['_localeService']=_0x2c8c52,this[_0x122e62(0x1d1)](),this[_0x122e62(0x233)]();}['_setupBeforeClosingHandler'](){const _0x1dc9c8=_0x5b4efa;this['disposeWithMe'](this[_0x1dc9c8(0x2fd)]['registerBeforeClose'](()=>{const _0x4111bc=_0x1dc9c8;if(this['_localCacheService'][_0x4111bc(0x190)][_0x4111bc(0x312)])return this['_localeService']['t'](_0x4111bc(0x381));}));}[_0x5b4efa(0x233)](){const _0x563f53=_0x5b4efa;this[_0x563f53(0x33f)](this[_0x563f53(0x240)][_0x563f53(0x2b8)]['subscribe'](_0xfc6ee3=>{const _0x29d1ac=_0x563f53;_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x17b)]&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x23f))}),_0xfc6ee3['id']===_0x1eb493['CLOSE_ROOM']&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x279))}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x196)]&&this[_0x29d1ac(0x35d)][_0x29d1ac(0x218)]({'title':this[_0x29d1ac(0x191)]['t']('permission.title'),'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x367)),'type':_0x29d1ac(0x1d3),'duration':0x0}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x193)]&&this[_0x29d1ac(0x1a0)]['show']({'type':_0x21a0d4['Error'],'content':this['_localeService']['t'](_0x29d1ac(0x279))+'('+_0xfc6ee3[_0x29d1ac(0x24b)]+')'}),_0xfc6ee3['id']===_0x1eb493['JOIN_ROOM_FAILED']&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0xfc6ee3['data']||'')}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x2ee)]&&this[_0x29d1ac(0x1a0)]['show']({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x22c))}),_0xfc6ee3['id']===_0x1eb493['SOCKET_FAILED']&&this['_messageService'][_0x29d1ac(0x218)]({'type':_0x21a0d4['Error'],'content':this['_localeService']['t'](_0x29d1ac(0x24c))}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x289)]&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x1e2)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x182))});}));}};se=Ji([B(0x0,_0x203a64),B(0x1,_0x277322),B(0x2,_0x17f821(_0x1fe7b1)),B(0x3,_0x3e5e5c),B(0x4,_0x427272),B(0x5,_0x17f821(_0x144e47))],se);const Zi=_0x5b4efa(0x1ef),et={},Ut=_0x5c862b(_0x5b4efa(0x2c9));var Qi=Object[_0x5b4efa(0x23d)],qi=(_0x1d1b47,_0x433c16,_0x50fbea,_0x2c2c5c)=>{const _0x2fcd5a=_0x5b4efa;for(var _0x32aca1=_0x2c2c5c>0x1?void 0x0:_0x2c2c5c?Qi(_0x433c16,_0x50fbea):_0x433c16,_0x1062e8=_0x1d1b47[_0x2fcd5a(0x265)]-0x1,_0x13b283;_0x1062e8>=0x0;_0x1062e8--)(_0x13b283=_0x1d1b47[_0x1062e8])&&(_0x32aca1=_0x13b283(_0x32aca1)||_0x32aca1);return _0x32aca1;},G=(_0x3decbd,_0x199214)=>(_0x2eeffd,_0x35f84e)=>_0x199214(_0x2eeffd,_0x35f84e,_0x3decbd);let ie=class extends _0x38ba1e{constructor(_0x4461cb,_0x3e13ae,_0x3f2e37,_0x230b80,_0x5dc797){const _0xf8411c=_0x5b4efa;super(),this[_0xf8411c(0x199)]=_0x4461cb,this[_0xf8411c(0x1d8)]=_0x3e13ae,this['_commandService']=_0x3f2e37,this[_0xf8411c(0x2f5)]=_0x230b80,_0x5dc797?_0x5dc797==null||_0x5dc797[_0xf8411c(0x18c)]()[_0xf8411c(0x1f6)](()=>this[_0xf8411c(0x17f)]()):(this[_0xf8411c(0x1d8)][_0xf8411c(0x336)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xf8411c(0x17f)]());}async[_0x5b4efa(0x17f)](){const _0x303758=_0x5b4efa,_0x5b40fd=this[_0x303758(0x199)]['getParam']('unit'),_0x5121a2=this[_0x303758(0x199)]['getParam'](_0x303758(0x28e)),_0x28a06b=this[_0x303758(0x199)][_0x303758(0x198)](_0x303758(0x179));if(!_0x5b40fd||!_0x5121a2){this[_0x303758(0x1d8)][_0x303758(0x336)](_0x303758(0x283),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3301cc=await this[_0x303758(0x2f5)][_0x303758(0x292)](_0x5b40fd,Number(_0x5121a2),_0x28a06b);_0x3301cc&&_0x3301cc instanceof _0x32759e&&this[_0x303758(0x19d)](_0x3301cc);}async['_setupSubUnitSync'](_0x487df6){const _0x4e13ef=_0x5b4efa;await this[_0x4e13ef(0x373)](_0x487df6),_0x487df6[_0x4e13ef(0x2da)][_0x4e13ef(0x1b5)](_0x40f407(this[_0x4e13ef(0x278)]))[_0x4e13ef(0x244)](_0x51e891=>{_0x51e891&&this['_updateURLWithCurrentState'](_0x51e891);}),this[_0x4e13ef(0x199)][_0x4e13ef(0x31e)]['pipe'](_0x40f407(this[_0x4e13ef(0x278)]))[_0x4e13ef(0x244)](()=>this[_0x4e13ef(0x373)](_0x487df6));}[_0x5b4efa(0x1e8)](_0x519401,_0xf525af=!0x1){const _0x5874f7=_0x5b4efa,_0x41db4d=this[_0x5874f7(0x199)][_0x5874f7(0x198)](_0x5874f7(0x179));_0x519401[_0x5874f7(0x2c7)]()!==_0x41db4d&&this['_urlService'][_0x5874f7(0x241)](_0x5874f7(0x179),_0x519401[_0x5874f7(0x2c7)](),_0xf525af);}async['_updateSubUnitFromURLParams'](_0x572563){const _0x36e9cb=_0x5b4efa;var _0x5a2cc4;const _0x5c0488=this['_urlService']['getParam'](_0x36e9cb(0x179));if(!_0x5c0488||!_0x572563[_0x36e9cb(0x2fc)](_0x5c0488)){const _0x3de7cc=_0x572563[_0x36e9cb(0x2d3)]()[0x0],_0x2a154d=_0x572563[_0x36e9cb(0x2fc)](_0x3de7cc);if(!_0x2a154d)return;this[_0x36e9cb(0x1e8)](_0x2a154d,!0x0),await this[_0x36e9cb(0x1ae)][_0x36e9cb(0x35e)](_0x31db9e['id'],{'unitId':_0x572563[_0x36e9cb(0x180)](),'subUnitId':_0x3de7cc});return;}((_0x5a2cc4=_0x572563[_0x36e9cb(0x2ba)]())==null?void 0x0:_0x5a2cc4['getSheetId']())!==_0x5c0488&&await this[_0x36e9cb(0x1ae)][_0x36e9cb(0x35e)](_0x31db9e['id'],{'unitId':_0x572563[_0x36e9cb(0x180)](),'subUnitId':_0x5c0488});}};ie=qi([G(0x0,Ut),G(0x1,_0x41ac4f),G(0x2,_0xb833f6),G(0x3,_0x17f821(_0x1465dc)),G(0x4,_0x2b45e6(_0x55556f))],ie);function _0x3518(_0x365dd4,_0xfbcd4e){const _0x357957=_0x3579();return _0x3518=function(_0x3518ed,_0x2b63f4){_0x3518ed=_0x3518ed-0x179;let _0x33bc0b=_0x357957[_0x3518ed];return _0x33bc0b;},_0x3518(_0x365dd4,_0xfbcd4e);}var en=Object[_0x5b4efa(0x23d)],tn=(_0x4d4b3e,_0x3bbb11,_0x54b184,_0x2fecd3)=>{const _0x1e877e=_0x5b4efa;for(var _0x12746e=_0x2fecd3>0x1?void 0x0:_0x2fecd3?en(_0x3bbb11,_0x54b184):_0x3bbb11,_0x225b06=_0x4d4b3e[_0x1e877e(0x265)]-0x1,_0x1bc740;_0x225b06>=0x0;_0x225b06--)(_0x1bc740=_0x4d4b3e[_0x225b06])&&(_0x12746e=_0x1bc740(_0x12746e)||_0x12746e);return _0x12746e;},pe=(_0x56c055,_0x361a6d)=>(_0x221693,_0x13df08)=>_0x361a6d(_0x221693,_0x13df08,_0x56c055);let ne=class{constructor(_0x547ae4,_0x2d8757,_0x420e8b){const _0x4eef1d=_0x5b4efa;this[_0x4eef1d(0x260)]=_0x547ae4,this[_0x4eef1d(0x30e)]=_0x2d8757,this[_0x4eef1d(0x216)]=_0x420e8b;}[_0x5b4efa(0x1de)](_0x5b13cb){const _0xb576b5=_0x5b4efa;this[_0xb576b5(0x2af)](_0x5b13cb),this[_0xb576b5(0x372)](_0x5b13cb);}[_0x5b4efa(0x1f8)](_0x46e3de){const _0x14876b=_0x5b4efa,{unitID:_0xf63b19}=_0x46e3de,_0x5971c6=this[_0x14876b(0x216)]['getRenderById'](_0xf63b19)[_0x14876b(0x22a)](_0x328532),{redoCache:_0x3503ed}=_0x5971c6['getUndoRedoMutationParamsCache']();if(_0x3503ed[_0x14876b(0x265)]===0x0)return _0x46e3de;let _0x8fab45=_0x9af4da[_0x14876b(0x200)](_0x46e3de[_0x14876b(0x2a4)][0x0]);for(let _0x5252a9=0x0;_0x5252a9<_0x3503ed['length'];_0x5252a9++){const _0x350c2f={'id':_0x14876b(0x1eb),'params':{..._0x3503ed[_0x5252a9]}},_0xd4c022=this['_transformService'][_0x14876b(0x293)](_0x8fab45,_0x350c2f,!0x1);if(_0x1985d5(_0xd4c022))throw _0xd4c022[_0x14876b(0x1d3)];_0x8fab45=_0xd4c022[_0x14876b(0x360)];}return{..._0x9af4da[_0x14876b(0x200)](_0x46e3de),'mutations':[_0x8fab45]};}[_0x5b4efa(0x2af)](_0x324852){const _0x345202=_0x5b4efa,{unitID:_0x59cea0}=_0x324852,_0x4156f8=this[_0x345202(0x216)][_0x345202(0x26f)](_0x59cea0)[_0x345202(0x22a)](_0x328532),{undoCache:_0x586bdf,redoCache:_0x166b7f}=_0x4156f8[_0x345202(0x342)]();if(_0x586bdf[_0x345202(0x265)]===0x0||_0x166b7f[_0x345202(0x265)]===0x0)return;const _0x1c2ac5=[],_0x29d20f=[];let _0x53f1a6=_0x9af4da['deepClone'](_0x324852[_0x345202(0x2a4)][0x0]),_0x1e7bad=_0x9af4da[_0x345202(0x200)](_0x324852['mutations'][0x0]);for(let _0xda31b=_0x586bdf[_0x345202(0x265)]-0x1;_0xda31b>=0x0;_0xda31b--){const _0x593394={'id':'doc.mutation.rich-text-editing','params':{..._0x586bdf[_0xda31b]}},_0x57138c={'id':_0x345202(0x1eb),'params':{..._0x166b7f[_0xda31b]}},_0x51c0a5=this[_0x345202(0x30e)][_0x345202(0x293)](_0x53f1a6,_0x593394,!0x1),_0x103c02=this[_0x345202(0x30e)][_0x345202(0x293)](_0x1e7bad,_0x57138c,!0x1);if(_0x1985d5(_0x51c0a5))throw _0x51c0a5[_0x345202(0x1d3)];if(_0x1985d5(_0x103c02))throw _0x103c02[_0x345202(0x1d3)];_0x1c2ac5[_0x345202(0x25e)](_0x51c0a5['m2Prime'][_0x345202(0x1af)]),_0x29d20f['unshift'](_0x103c02[_0x345202(0x32b)][_0x345202(0x1af)]),_0x53f1a6=_0x51c0a5[_0x345202(0x360)],_0x1e7bad=_0x103c02[_0x345202(0x360)];}_0x4156f8[_0x345202(0x1be)]({'undoCache':_0x1c2ac5,'redoCache':_0x29d20f});}[_0x5b4efa(0x372)](_0x48d285){const _0x3ad753=_0x5b4efa,{unitID:_0x833123}=_0x48d285,_0x3b9767=this[_0x3ad753(0x216)][_0x3ad753(0x26f)](_0x833123)[_0x3ad753(0x22a)](_0x328532),_0x21aab9=_0x3b9767[_0x3ad753(0x22d)]();if(_0x21aab9==null)return;const _0x4c8958=[{'id':_0x3ad753(0x1eb),'params':{'unitId':_0x48d285['unitID'],'actions':null,'textRanges':[_0x21aab9]}}],_0x51cd2c=this[_0x3ad753(0x30e)]['transformMutationsWithChangeset'](_0x48d285,_0x4c8958);if(!_0x196989(_0x51cd2c))throw _0x51cd2c['error'];const _0x172382=_0x51cd2c[_0x3ad753(0x32b)][0x0]['params'][_0x3ad753(0x32c)];Array[_0x3ad753(0x2f8)](_0x172382)&&_0x172382['length']&&_0x3b9767[_0x3ad753(0x242)](_0x172382[0x0]);}};ne=tn([pe(0x0,_0x17f821(_0x1bdaf6)),pe(0x1,_0x220695),pe(0x2,_0x9df613)],ne);var sn=Object[_0x5b4efa(0x23d)],nn=(_0x43ff91,_0x2d67fc,_0x28e49e,_0x37695e)=>{const _0x4efb53=_0x5b4efa;for(var _0x3de108=_0x37695e>0x1?void 0x0:_0x37695e?sn(_0x2d67fc,_0x28e49e):_0x2d67fc,_0x34b967=_0x43ff91[_0x4efb53(0x265)]-0x1,_0x280f65;_0x34b967>=0x0;_0x34b967--)(_0x280f65=_0x43ff91[_0x34b967])&&(_0x3de108=_0x280f65(_0x3de108)||_0x3de108);return _0x3de108;},Ce=(_0x3fba6d,_0x4dd7c9)=>(_0x352390,_0x33a9f0)=>_0x4dd7c9(_0x352390,_0x33a9f0,_0x3fba6d);let re=class{constructor(_0x21505f,_0x18ae0c,_0x3b94d0){const _0x8496fd=_0x5b4efa;this['_injector']=_0x21505f,this['_transformService']=_0x18ae0c,this[_0x8496fd(0x357)]=_0x3b94d0;}[_0x5b4efa(0x2f2)](_0x1faeca){const _0x434690=_0x5b4efa;this[_0x434690(0x26b)](_0x1faeca);}[_0x5b4efa(0x1f8)](_0x5c29c9){const _0x13cf58=_0x5b4efa,{unitID:_0x1d74b8}=_0x5c29c9,{collaboration:_0x450f05}=this[_0x13cf58(0x357)][_0x13cf58(0x2ef)](_0x1d74b8);if(_0x450f05[_0x13cf58(0x265)]===0x0)return _0x5c29c9;let _0x4939f5=_0x9af4da[_0x13cf58(0x200)](_0x5c29c9[_0x13cf58(0x2a4)][0x0]);for(let _0x19240f=0x0;_0x19240f<_0x450f05[_0x13cf58(0x265)];_0x19240f++){const _0xb1ede9={'id':_0x13cf58(0x1eb),'params':{'unitId':_0x450f05[_0x19240f][_0x13cf58(0x351)],..._0x450f05[_0x19240f][_0x13cf58(0x235)]}},_0x373069=this[_0x13cf58(0x30e)]['transformMutation'](_0x4939f5,_0xb1ede9,!0x1);if(_0x1985d5(_0x373069))throw _0x373069[_0x13cf58(0x1d3)];_0x4939f5=_0x373069['m1Prime'];}return{..._0x9af4da[_0x13cf58(0x200)](_0x5c29c9),'mutations':[_0x4939f5]};}[_0x5b4efa(0x26b)](_0x24244c){const _0x331309=_0x5b4efa,{unitID:_0x24eee3}=_0x24244c,{history:_0x46a5cb,collaboration:_0x1b6b56}=this[_0x331309(0x357)][_0x331309(0x2ef)](_0x24eee3);if(_0x46a5cb[_0x331309(0x265)]===0x0&&_0x1b6b56[_0x331309(0x265)]===0x0)return;const _0x9404c=[],_0x1b6c9b=[];let _0x3fc43e=_0x9af4da['deepClone'](_0x24244c[_0x331309(0x2a4)][0x0]),_0x116698=_0x9af4da[_0x331309(0x200)](_0x24244c['mutations'][0x0]);for(let _0x11d5f1=_0x46a5cb[_0x331309(0x265)]-0x1;_0x11d5f1>=0x0;_0x11d5f1--){const _0x30d1f8={'id':_0x331309(0x1eb),'params':{'unitId':_0x46a5cb[_0x11d5f1][_0x331309(0x351)],..._0x46a5cb[_0x11d5f1][_0x331309(0x268)]}},_0x2a2c3f={'id':_0x331309(0x1eb),'params':{'unitId':_0x46a5cb[_0x11d5f1]['unitId'],..._0x46a5cb[_0x11d5f1]['redoState']}},_0x713cc4=this['_transformService'][_0x331309(0x293)](_0x3fc43e,_0x30d1f8,!0x1),_0x1c7c03=this[_0x331309(0x30e)]['transformMutation'](_0x116698,_0x2a2c3f,!0x1);if(_0x1985d5(_0x713cc4))throw _0x713cc4[_0x331309(0x1d3)];if(_0x1985d5(_0x1c7c03))throw _0x1c7c03['error'];_0x9404c[_0x331309(0x25e)]({..._0x46a5cb[_0x11d5f1],'undoState':_0x713cc4['m2Prime']['params'],'redoState':_0x1c7c03['m2Prime'][_0x331309(0x1af)]}),_0x3fc43e=_0x713cc4[_0x331309(0x360)],_0x116698=_0x1c7c03[_0x331309(0x360)];}_0x3fc43e=_0x9af4da[_0x331309(0x200)](_0x24244c[_0x331309(0x2a4)][0x0]),_0x116698=_0x9af4da['deepClone'](_0x24244c['mutations'][0x0]);for(let _0x51ab11=_0x1b6b56[_0x331309(0x265)]-0x1;_0x51ab11>=0x0;_0x51ab11--){const _0x148ae2={'id':_0x331309(0x1eb),'params':{'unitId':_0x1b6b56[_0x51ab11][_0x331309(0x351)],..._0x1b6b56[_0x51ab11][_0x331309(0x268)]}},_0x350b69={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b6b56[_0x51ab11][_0x331309(0x351)],..._0x1b6b56[_0x51ab11][_0x331309(0x235)]}},_0xf1c116=this[_0x331309(0x30e)]['transformMutation'](_0x3fc43e,_0x148ae2,!0x1),_0x1b0075=this[_0x331309(0x30e)][_0x331309(0x293)](_0x116698,_0x350b69,!0x1);if(_0x1985d5(_0xf1c116))throw _0xf1c116[_0x331309(0x1d3)];if(_0x1985d5(_0x1b0075))throw _0x1b0075[_0x331309(0x1d3)];_0x1b6c9b['unshift']({..._0x1b6b56[_0x51ab11],'undoState':_0xf1c116[_0x331309(0x32b)][_0x331309(0x1af)],'redoState':_0x1b0075[_0x331309(0x32b)]['params']}),_0x3fc43e=_0xf1c116['m1Prime'],_0x116698=_0x1b0075[_0x331309(0x360)];}this[_0x331309(0x357)]['setStateCache'](_0x24eee3,{'history':_0x9404c,'collaboration':_0x1b6c9b});}};re=nn([Ce(0x0,_0x17f821(_0x1bdaf6)),Ce(0x1,_0x220695),Ce(0x2,_0x17f821(_0x1911b2))],re);var rn=Object[_0x5b4efa(0x23d)],on=(_0x4e49f9,_0x54d7c0,_0x1fae96,_0x938fb1)=>{const _0x14eccb=_0x5b4efa;for(var _0x9f3014=_0x938fb1>0x1?void 0x0:_0x938fb1?rn(_0x54d7c0,_0x1fae96):_0x54d7c0,_0x39bd52=_0x4e49f9[_0x14eccb(0x265)]-0x1,_0x36e013;_0x39bd52>=0x0;_0x39bd52--)(_0x36e013=_0x4e49f9[_0x39bd52])&&(_0x9f3014=_0x36e013(_0x9f3014)||_0x9f3014);return _0x9f3014;},tt=(_0x2691de,_0x5e8031)=>(_0x391740,_0x3cc5d5)=>_0x5e8031(_0x391740,_0x3cc5d5,_0x2691de);let oe=class{constructor(_0x169c71,_0x124e2e){const _0x4dc5c5=_0x5b4efa;this[_0x4dc5c5(0x260)]=_0x169c71,this[_0x4dc5c5(0x30e)]=_0x124e2e;}['transformSelections'](_0x56d5c8){const _0x264f91=_0x5b4efa;var _0x6f0511;const _0x4539ca=this['_injector'][_0x264f91(0x2ce)](_0x98b222),_0x4f5f23=(_0x6f0511=_0x4539ca[_0x264f91(0x1b1)]())!=null?_0x6f0511:[];if(_0x4f5f23[_0x264f91(0x265)]===0x0)return;const _0x15fb76=_0x56d5c8[_0x264f91(0x35a)],_0x531daa=[{'id':_0x264f91(0x1eb),'params':{'unitId':_0x15fb76,'actions':null,'textRanges':_0x4f5f23}}],_0x115fbc=this[_0x264f91(0x30e)][_0x264f91(0x2ff)](_0x56d5c8,_0x531daa);if(!_0x196989(_0x115fbc))throw _0x115fbc[_0x264f91(0x1d3)];const _0x28730a=_0x115fbc[_0x264f91(0x32b)][0x0][_0x264f91(0x1af)][_0x264f91(0x32c)];Array[_0x264f91(0x2f8)](_0x28730a)&&_0x28730a[_0x264f91(0x265)]&&_0x4539ca[_0x264f91(0x1ca)](_0x28730a,{'unitId':_0x15fb76,'subUnitId':_0x15fb76},!0x1);}};oe=on([tt(0x0,_0x17f821(_0x1bdaf6)),tt(0x1,_0x220695)],oe);var an=Object[_0x5b4efa(0x23d)],cn=(_0x4fbff8,_0x273985,_0xd8dc04,_0x28d47e)=>{const _0x123bc6=_0x5b4efa;for(var _0x58c474=_0x28d47e>0x1?void 0x0:_0x28d47e?an(_0x273985,_0xd8dc04):_0x273985,_0x485d94=_0x4fbff8[_0x123bc6(0x265)]-0x1,_0x513567;_0x485d94>=0x0;_0x485d94--)(_0x513567=_0x4fbff8[_0x485d94])&&(_0x58c474=_0x513567(_0x58c474)||_0x58c474);return _0x58c474;},U=(_0x30725c,_0x12ebd1)=>(_0x402a31,_0x1af5ff)=>_0x12ebd1(_0x402a31,_0x1af5ff,_0x30725c);let ae=class extends _0x3449ee{constructor(_0xacb716,_0x2fab22,_0x4ae258,_0x4ba08d,_0x301437,_0x4216ef,_0x463a92,_0x5098e0){const _0x520df2=_0x5b4efa;super(),_(this,'_status$',new _0x4f34ea(_0x5152ea['NOT_COLLAB'])),(this[_0x520df2(0x357)]=_0xacb716,this[_0x520df2(0x23c)]=_0x2fab22,this[_0x520df2(0x369)]=_0x4ae258,this['_docTransformStateCacheService']=_0x4ba08d,this[_0x520df2(0x37d)]=_0x301437,this[_0x520df2(0x1d0)]=_0x4216ef,this[_0x520df2(0x1a0)]=_0x463a92,this[_0x520df2(0x191)]=_0x5098e0,this['_initEntityListener']());}[_0x5b4efa(0x28d)](){const _0xcfc892=_0x5b4efa;this[_0xcfc892(0x33f)](this[_0xcfc892(0x23c)]['entityInit$'][_0xcfc892(0x244)](_0x36ed2c=>{const _0x3c1291=_0xcfc892,_0x375bf6=this['_docStateChangeManagerService'][_0x3c1291(0x197)][_0x3c1291(0x244)](_0x51dbdb=>{const _0x13b779=_0x3c1291;if(_0x51dbdb==null)return;const {unitId:_0x287990,redoState:_0x407026,commandId:_0x2680a4}=_0x51dbdb;if(_0x287990!==_0x36ed2c[_0x13b779(0x35a)])return;const _0x23d6c4={'id':_0x2680a4,'type':_0x5a7480[_0x13b779(0x27e)],'params':{'unitId':_0x287990,'actions':_0x407026['actions'],'textRanges':null}};_0x36ed2c[_0x13b779(0x201)](_0x23d6c4);});if(_0x36ed2c[_0x3c1291(0x33f)](_0x375bf6),_0x36ed2c instanceof _0x309fe9){const _0x28b532={'onTransformIME':_0x17611e=>this[_0x3c1291(0x369)][_0x3c1291(0x1de)](_0x17611e),'onTransformState':_0x5d05e1=>this['_docTransformStateCacheService']['transformStateCache'](_0x5d05e1),'onTransformSelections':_0x328741=>this['_docTransformSelectionsService']['transformSelections'](_0x328741),'onSyncEditingCollabCursor':_0x35dabc=>this[_0x3c1291(0x1d0)][_0x3c1291(0x2ad)](_0x35dabc),'onTransformRemoteChangesetByIMECache':_0x278e31=>this[_0x3c1291(0x369)][_0x3c1291(0x1f8)](_0x278e31),'onTransformRemoteChangesetByStateCache':_0x259301=>this[_0x3c1291(0x1b6)]['transformRemoteChangeset'](_0x259301)};_0x36ed2c[_0x3c1291(0x353)](_0x28b532);}}));}};ae=cn([U(0x0,_0x17f821(_0x1911b2)),U(0x1,_0x17f821(_0x408cc6)),U(0x2,_0x17f821(ne)),U(0x3,_0x17f821(re)),U(0x4,_0x17f821(oe)),U(0x5,_0x17f821(He)),U(0x6,_0x3e5e5c),U(0x7,_0x17f821(_0x144e47))],ae);var ln=Object[_0x5b4efa(0x23d)],_n=(_0x469e46,_0x30dbe1,_0x30f4be,_0x4e4f30)=>{const _0x5f2e1e=_0x5b4efa;for(var _0x8df0e1=_0x4e4f30>0x1?void 0x0:_0x4e4f30?ln(_0x30dbe1,_0x30f4be):_0x30dbe1,_0x43abf2=_0x469e46[_0x5f2e1e(0x265)]-0x1,_0x34b2e6;_0x43abf2>=0x0;_0x43abf2--)(_0x34b2e6=_0x469e46[_0x43abf2])&&(_0x8df0e1=_0x34b2e6(_0x8df0e1)||_0x8df0e1);return _0x8df0e1;},Ee=(_0xab53ae,_0x51f54c)=>(_0x159b66,_0x2a8dcd)=>_0x51f54c(_0x159b66,_0x2a8dcd,_0xab53ae);let we=class extends _0x3449ee{constructor(_0x507ad5,_0x406c1f,_0x3255c0){const _0x3fd927=_0x5b4efa;super(),_(this,_0x3fd927(0x2cd),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3fd927(0x1c1),!0x1),(this['_configService']=_0x507ad5,this[_0x3fd927(0x1e7)]=_0x406c1f,this['_revisionService']=_0x3255c0);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5b4efa(0x309)](){const _0xac2b63=_0x5b4efa;this[_0xac2b63(0x1c1)]=!0x1;}get[_0x5b4efa(0x190)](){return this['_saveTaskMap'];}['dispose'](){const _0x8e1225=_0x5b4efa;this[_0x8e1225(0x370)]()['then'](()=>super[_0x8e1225(0x2e2)]());}async['loadOfflineData'](_0x588a21){const _0x4ead91=_0x5b4efa;return this[_0x4ead91(0x1c1)]?null:this[_0x4ead91(0x1e7)][_0x4ead91(0x1d6)](_0x2c338a(_0x588a21));}async[_0x5b4efa(0x220)](_0x106e50,_0x561bd7){const _0x4cbb86=_0x5b4efa;return!!this[_0x4cbb86(0x1e7)]['setItem'](_0x106e50,_0x561bd7);}[_0x5b4efa(0x1dc)](_0x4225a9,_0x4a9502,_0x563add,_0x1ada19){const _0x509726=_0x5b4efa,_0x2c2bf8=this[_0x509726(0x2a5)][_0x509726(0x31b)](_0x4225a9);this['_cachedData'][_0x509726(0x19b)](_0x4225a9,{'unitID':_0x4225a9,'type':_0x4a9502,'awaitingChangeset':_0x563add,'mutations':_0x1ada19,'rev':_0x2c2bf8}),this[_0x509726(0x327)]['has'](_0x4225a9)||this[_0x509726(0x37c)](_0x4225a9);}[_0x5b4efa(0x37c)](_0x293357){const _0x44e5a9=_0x5b4efa,_0x891a5=this[_0x44e5a9(0x325)]();_0x891a5===0x0?this[_0x44e5a9(0x1ab)](_0x293357):this[_0x44e5a9(0x327)][_0x44e5a9(0x19b)](_0x293357,setTimeout(()=>this[_0x44e5a9(0x1ab)](_0x293357),_0x891a5));}[_0x5b4efa(0x325)](){const _0x57ac19=_0x5b4efa;var _0x5384ba;return(_0x5384ba=this[_0x57ac19(0x24e)]['getConfig'](_0xf066de))!=null?_0x5384ba:_0x356154;}[_0x5b4efa(0x1ab)](_0x218aa1){const _0x2e1620=_0x5b4efa,_0x362902=this[_0x2e1620(0x327)][_0x2e1620(0x2ce)](_0x218aa1);return _0x362902!==void 0x0&&window['clearTimeout'](_0x362902),this['_localStorageService'][_0x2e1620(0x320)](_0x2c338a(_0x218aa1),this[_0x2e1620(0x2cd)][_0x2e1620(0x2ce)](_0x218aa1))['then'](()=>this[_0x2e1620(0x327)][_0x2e1620(0x310)](_0x218aa1));}async[_0x5b4efa(0x370)](){const _0x39bb73=_0x5b4efa,_0x36a49a=[];this[_0x39bb73(0x327)][_0x39bb73(0x334)]((_0x17e4f7,_0x2c37ce)=>{const _0x554666=_0x39bb73;window['clearTimeout'](_0x17e4f7),_0x36a49a[_0x554666(0x2d4)](this[_0x554666(0x1ab)](_0x2c37ce)['then'](()=>{const _0x11e9d9=_0x554666;this[_0x11e9d9(0x327)][_0x11e9d9(0x310)](_0x2c37ce);}));}),await Promise[_0x39bb73(0x31c)](_0x36a49a);}};we=_n([Ee(0x0,_0x556e6e),Ee(0x1,_0x28ad72),Ee(0x2,_0x17f821(_0x383424))],we);class hn extends _0x38ba1e{constructor(){const _0x2814f6=_0x5b4efa;super(),_(this,'urlChange$'),this[_0x2814f6(0x31e)]=_0x15f7b3(window,_0x2814f6(0x203))[_0x2814f6(0x1b5)](_0x40f407(this['dispose$']),_0x3b7abc(0x1),_0x13995b(void 0x0));}[_0x5b4efa(0x241)](_0x59bf82,_0x1335c1,_0x1cdf71=!0x1){const _0x48d1d3=_0x5b4efa,_0x2ce768=new URL(window['location'][_0x48d1d3(0x237)]);_0x2ce768['searchParams'][_0x48d1d3(0x19b)](_0x59bf82,_0x1335c1),_0x1cdf71?window['history'][_0x48d1d3(0x19f)]('','',_0x2ce768['toString']()):window[_0x48d1d3(0x317)][_0x48d1d3(0x26a)]('','',_0x2ce768[_0x48d1d3(0x331)]());}[_0x5b4efa(0x20f)](_0x2c5ac1,_0x3d8682=!0x1){const _0x40bcfd=_0x5b4efa,_0x42ff84=new URL(window['location'][_0x40bcfd(0x237)]);_0x42ff84[_0x40bcfd(0x1f0)][_0x40bcfd(0x310)](_0x2c5ac1),_0x3d8682?window[_0x40bcfd(0x317)][_0x40bcfd(0x19f)]('','',_0x42ff84[_0x40bcfd(0x331)]()):window[_0x40bcfd(0x317)][_0x40bcfd(0x26a)]('','',_0x42ff84[_0x40bcfd(0x331)]());}['getParam'](_0x421f06){const _0x5351cf=_0x5b4efa;var _0x5634ef;return(_0x5634ef=new URL(window[_0x5351cf(0x2c1)][_0x5351cf(0x237)])[_0x5351cf(0x1f0)][_0x5351cf(0x2ce)](_0x421f06))!=null?_0x5634ef:void 0x0;}}var un=Object[_0x5b4efa(0x34b)],dn=Object[_0x5b4efa(0x23d)],fn=(_0xc7b558,_0x22374c,_0x44e64a)=>_0x22374c in _0xc7b558?un(_0xc7b558,_0x22374c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44e64a}):_0xc7b558[_0x22374c]=_0x44e64a,Sn=(_0x572167,_0x1bcf5a,_0x41409b,_0x545312)=>{const _0x1ceac5=_0x5b4efa;for(var _0x5e57e7=_0x545312>0x1?void 0x0:_0x545312?dn(_0x1bcf5a,_0x41409b):_0x1bcf5a,_0xbe8102=_0x572167[_0x1ceac5(0x265)]-0x1,_0x7c7eb6;_0xbe8102>=0x0;_0xbe8102--)(_0x7c7eb6=_0x572167[_0xbe8102])&&(_0x5e57e7=_0x7c7eb6(_0x5e57e7)||_0x5e57e7);return _0x5e57e7;},Oe=(_0x1dd8c7,_0x45cdf2)=>(_0x33157f,_0x24bef0)=>_0x45cdf2(_0x33157f,_0x24bef0,_0x1dd8c7),mn=(_0x267786,_0x4c0219,_0x1f4f74)=>fn(_0x267786,_0x4c0219+'',_0x1f4f74);const In=_0x5b4efa(0x378);let Ae=class extends _0x4d70f5{constructor(_0x2a7952=et,_0x1c3aab,_0x236e41,_0x29891e){const _0xdeb9a1=_0x5b4efa;super(),this[_0xdeb9a1(0x2c0)]=_0x2a7952,this['_renderManagerService']=_0x1c3aab,this[_0xdeb9a1(0x260)]=_0x236e41,this[_0xdeb9a1(0x24e)]=_0x29891e;const {..._0x450841}=_0x40ceb4({},et,this['_config']);this[_0xdeb9a1(0x24e)]['setConfig'](Zi,_0x450841);}[_0x5b4efa(0x231)](){const _0x4b90c0=_0x5b4efa;this[_0x4b90c0(0x1b8)](),this['_initDependencies']();}[_0x5b4efa(0x2f4)](){const _0x37b4fc=_0x5b4efa;this[_0x37b4fc(0x219)]();}[_0x5b4efa(0x1b8)](){const _0x5a31d5=_0x5b4efa;var _0x2147d8;const _0x1c9c35=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x195750,{'useClass':_0x2ff5db}],[_0x277322,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x492771(this['_injector'],_0x1ef9b1(_0x1c9c35,(_0x2147d8=this[_0x5a31d5(0x2c0)])==null?void 0x0:_0x2147d8[_0x5a31d5(0x17c)]));}[_0x5b4efa(0x219)](){const _0x40cab6=_0x5b4efa;this['disposeWithMe'](this[_0x40cab6(0x216)][_0x40cab6(0x31f)](_0x3860d6[_0x40cab6(0x28c)],[Le])),this[_0x40cab6(0x33f)](this['_renderManagerService'][_0x40cab6(0x31f)](_0x3860d6[_0x40cab6(0x257)],[Pe]));}[_0x5b4efa(0x189)](){_0x48e288(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x5b4efa(0x272),In),Ae=Sn([_0x72a35(_0x3c18dc),Oe(0x1,_0x9df613),Oe(0x2,_0x17f821(_0x1bdaf6)),Oe(0x3,_0x556e6e)],Ae);var gn=Object[_0x5b4efa(0x23d)],vn=(_0x2f23a2,_0x3a109a,_0x5d3157,_0x15ae5e)=>{const _0x592b5f=_0x5b4efa;for(var _0xbbc9bb=_0x15ae5e>0x1?void 0x0:_0x15ae5e?gn(_0x3a109a,_0x5d3157):_0x3a109a,_0x250c49=_0x2f23a2[_0x592b5f(0x265)]-0x1,_0x1172de;_0x250c49>=0x0;_0x250c49--)(_0x1172de=_0x2f23a2[_0x250c49])&&(_0xbbc9bb=_0x1172de(_0xbbc9bb)||_0xbbc9bb);return _0xbbc9bb;},K=(_0x2b6d14,_0x57f836)=>(_0x30f1ba,_0x25b02e)=>_0x57f836(_0x30f1ba,_0x25b02e,_0x2b6d14);let st=class extends _0x472bc4{constructor(_0xe4c83b,_0x573cbc,_0x16428b,_0x28dbbb,_0xc01788){super(_0xe4c83b,_0x573cbc,_0x16428b,_0x28dbbb,_0xc01788);}async[_0x5b4efa(0x1a3)](_0x5d26b3){const _0xd8e6f2=_0x5b4efa,_0x59884d=await this['_getSessionTicket'](),_0x55d06a=this['_createSocketURL'](_0x5d26b3,_0x59884d);return this[_0xd8e6f2(0x37e)](_0x55d06a);}[_0x5b4efa(0x330)](_0x206d36,_0x3cfcfa){const _0x5ecf01=_0x5b4efa,_0x27f5dd=typeof window>'u'?new URL(_0x206d36):new URL(_0x206d36,window[_0x5ecf01(0x2c1)][_0x5ecf01(0x21b)]);_0x27f5dd[_0x5ecf01(0x1f0)][_0x5ecf01(0x19b)]('sessionTicket',_0x3cfcfa);const _0x150c41=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x150c41[_0x5ecf01(0x2ce)](_0x5ecf01(0x1c5))&&_0x27f5dd[_0x5ecf01(0x1f0)][_0x5ecf01(0x19b)](_0x5ecf01(0x1c5),_0x150c41[_0x5ecf01(0x2ce)]('runId')),_0x27f5dd[_0x5ecf01(0x331)]();}async[_0x5b4efa(0x1ad)](){const _0x137057=_0x5b4efa;var _0x9e2509,_0x5603f5,_0x26c747;const _0x3e7c57=this[_0x137057(0x24e)][_0x137057(0x30c)](_0x4c11aa),_0x456668=(_0x9e2509=_0x3e7c57==null?void 0x0:_0x3e7c57[_0x137057(0x2de)])!=null?_0x9e2509:_0x21d4af;return(_0x26c747=(_0x5603f5=(await this[_0x137057(0x298)][_0x137057(0x2ce)](_0x456668,{'headers':{'Content-Type':_0x137057(0x2e7)}}))[_0x137057(0x1f7)])==null?void 0x0:_0x5603f5[_0x137057(0x234)])!=null?_0x26c747:'';}};st=vn([K(0x0,_0x17f821(_0x1bdaf6)),K(0x1,_0x17f821(_0x5817a5)),K(0x2,_0x556e6e),K(0x3,_0x41ac4f),K(0x4,_0x26c83c)],st);const it=0x7530,nt=_0x5b4efa(0x20d);class Fn extends _0x3449ee{constructor(){const _0x58109a=_0x5b4efa;super(),_(this,_0x58109a(0x1a1),_0x27c680()),_(this,'_selfUnitIDs',new Set()),_(this,_0x58109a(0x295),new Map()),_(this,_0x58109a(0x1c4),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x58109a(0x17f)]();}['dispose'](){const _0x470065=_0x5b4efa;super[_0x470065(0x2e2)](),this[_0x470065(0x362)][_0x470065(0x334)]((_0xc17ee1,_0x2966da)=>this[_0x470065(0x2b2)](_0x2966da)),this[_0x470065(0x1c4)]&&window[_0x470065(0x284)](this[_0x470065(0x1c4)]);}[_0x5b4efa(0x333)](_0x4759e5){const _0x193f2c=_0x5b4efa;return this['_ensureSubject'](_0x4759e5)[_0x193f2c(0x1b5)](_0x2f7c21());}[_0x5b4efa(0x18a)](_0x59b837){const _0x5156ce=_0x5b4efa;this[_0x5156ce(0x37f)][_0x5156ce(0x312)]===0x0&&this[_0x5156ce(0x181)](),this[_0x5156ce(0x37f)][_0x5156ce(0x209)](_0x59b837),this['_send']({'type':0x0,'memberID':this[_0x5156ce(0x1a1)],'unitIDs':[_0x59b837],'isForwarded':!0x1});}['disposeUnit'](_0xa000c2){const _0x24f851=_0x5b4efa;this[_0x24f851(0x37f)]['delete'](_0xa000c2),this[_0x24f851(0x37f)][_0x24f851(0x312)]===0x0&&this[_0x24f851(0x1c4)]&&window[_0x24f851(0x284)](this[_0x24f851(0x1c4)]);}[_0x5b4efa(0x17f)](){const _0x39ab63=_0x5b4efa;this[_0x39ab63(0x33f)](_0x4e32ae(_0x15f7b3(window,_0x39ab63(0x221))[_0x39ab63(0x244)](_0x1eb5f5=>{const _0x34869f=_0x39ab63;if(_0x1eb5f5[_0x34869f(0x338)]!==nt||!_0x1eb5f5[_0x34869f(0x296)])return;const _0x22b185=JSON['parse'](_0x1eb5f5[_0x34869f(0x296)]);this[_0x34869f(0x19a)](_0x22b185);}))),window['addEventListener'](_0x39ab63(0x1b7),()=>this[_0x39ab63(0x1cc)]({'type':0x1,'memberID':this[_0x39ab63(0x1a1)],'unitIDs':Array[_0x39ab63(0x319)](this[_0x39ab63(0x37f)])}));}['_handleEvent'](_0x915058){const _0x386347=_0x5b4efa;switch(_0x915058['type']){case 0x0:this[_0x386347(0x307)](_0x915058);break;case 0x1:this[_0x386347(0x1aa)](_0x915058);break;case 0x2:this[_0x386347(0x20e)](_0x915058);break;}}[_0x5b4efa(0x307)](_0x1121c9){const _0x2956e4=_0x5b4efa,{unitIDs:_0x209618,memberID:_0x347a06,isForwarded:_0x542568}=_0x1121c9;_0x209618[_0x2956e4(0x334)](_0x589bb6=>{const _0x14cb52=_0x2956e4;if(!_0x542568&&this[_0x14cb52(0x295)][_0x14cb52(0x1ce)](_0x589bb6)&&this[_0x14cb52(0x2eb)](_0x589bb6)['next'](_0x112e1e[_0x14cb52(0x32f)]),!this[_0x14cb52(0x295)][_0x14cb52(0x1ce)](_0x589bb6)||!this[_0x14cb52(0x295)][_0x14cb52(0x2ce)](_0x589bb6)['has'](_0x347a06)){const _0x2e9ce8=this[_0x14cb52(0x295)]['get'](_0x589bb6)||new Set();_0x2e9ce8[_0x14cb52(0x209)](_0x347a06),this['_unitOnClients'][_0x14cb52(0x19b)](_0x589bb6,_0x2e9ce8),this[_0x14cb52(0x2e1)](_0x347a06);}}),_0x542568||this[_0x2956e4(0x1cc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5b4efa(0x2e1)](_0x2d26f9){const _0x192298=_0x5b4efa;this['_removeClearOtherTimer'](_0x2d26f9);const _0x48cd4b=window[_0x192298(0x290)](()=>{const _0x2aabab=_0x192298;this[_0x2aabab(0x295)][_0x2aabab(0x334)](_0x336eb7=>{const _0x36edda=_0x2aabab;_0x336eb7[_0x36edda(0x310)](_0x2d26f9);});},it*0x2);this[_0x192298(0x362)][_0x192298(0x19b)](_0x2d26f9,_0x48cd4b);}[_0x5b4efa(0x2b2)](_0x34d46e){const _0x201bfc=_0x5b4efa;if(this[_0x201bfc(0x362)][_0x201bfc(0x1ce)](_0x34d46e)){const _0x34f640=this['_clearOtherTimers']['get'](_0x34d46e);_0x34f640&&window['clearTimeout'](_0x34f640),this[_0x201bfc(0x362)]['set'](_0x34d46e,null);}}[_0x5b4efa(0x1aa)](_0x34ad89){const _0x438402=_0x5b4efa,{memberID:_0x3dd27e,unitIDs:_0x449d74}=_0x34ad89;_0x449d74['forEach'](_0x1c31d5=>{const _0x23973d=_0x3518;var _0x36722f;const _0x499164=this[_0x23973d(0x295)][_0x23973d(0x2ce)](_0x1c31d5);_0x499164&&(_0x499164['delete'](_0x3dd27e),(_0x36722f=this[_0x23973d(0x2eb)](_0x1c31d5))==null||_0x36722f['next'](_0x499164[_0x23973d(0x312)]===0x0?_0x112e1e[_0x23973d(0x267)]:_0x112e1e[_0x23973d(0x32f)]));}),this[_0x438402(0x2b2)](_0x3dd27e);}[_0x5b4efa(0x20e)](_0x4a2fc8){const _0x193399=_0x5b4efa;this[_0x193399(0x2e1)](_0x4a2fc8[_0x193399(0x24a)]);}['_send'](_0x2e7d04){const _0x195d38=_0x5b4efa;localStorage[_0x195d38(0x320)](nt,JSON[_0x195d38(0x232)](_0x2e7d04));}[_0x5b4efa(0x181)](){const _0x4fb66d=_0x5b4efa;this['_heartbeatTimer']=window[_0x4fb66d(0x1e9)](()=>{const _0x215ca5=_0x4fb66d;this['_send']({'type':0x2,'memberID':this[_0x215ca5(0x1a1)]});},it);}[_0x5b4efa(0x2eb)](_0x1b4bd1){const _0x10383e=_0x5b4efa;return this[_0x10383e(0x375)][_0x10383e(0x1ce)](_0x1b4bd1)||this['_unitStatus'][_0x10383e(0x19b)](_0x1b4bd1,new _0x4f34ea(_0x112e1e['NO_OTHER_CLIENTS_EDITING'])),this[_0x10383e(0x375)][_0x10383e(0x2ce)](_0x1b4bd1);}}var Mt=(_0x1db1b1=>(_0x1db1b1[_0x1db1b1['UNDEFINED']=0x0]=_0x5b4efa(0x2a1),_0x1db1b1[_0x1db1b1['OK']=0x1]='OK',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x291)]=0x2]=_0x5b4efa(0x291),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x196)]=0x3]='PERMISSION_DENIED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x358)]=0x4]=_0x5b4efa(0x358),_0x1db1b1[_0x1db1b1['UNAUTHENTICATED']=0x5]=_0x5b4efa(0x368),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x188)]=0x6]=_0x5b4efa(0x188),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2f0)]=0x7]=_0x5b4efa(0x2f0),_0x1db1b1[_0x1db1b1['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x36b)]=0x9]='COMPLETION_FINISHED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1fc)]=0xa]=_0x5b4efa(0x1fc),_0x1db1b1[_0x1db1b1['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x5b4efa(0x20b),_0x1db1b1[_0x1db1b1['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5b4efa(0x29b),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2c3)]=0xd]=_0x5b4efa(0x2c3),_0x1db1b1[_0x1db1b1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5b4efa(0x258),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x313)]=0x1389]=_0x5b4efa(0x313),_0x1db1b1[_0x1db1b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x259)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1db1b1[_0x1db1b1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1c9)]=0x1b59]=_0x5b4efa(0x1c9),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2f7)]=0x1b5a]=_0x5b4efa(0x2f7),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x185)]=0x1b5b]=_0x5b4efa(0x185),_0x1db1b1[_0x1db1b1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5b4efa(0x341),_0x1db1b1[_0x1db1b1['APPLY_DUPLICATED']=0x1b5d]=_0x5b4efa(0x1c7),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x20c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x281)]=0x2329]=_0x5b4efa(0x281),_0x1db1b1[_0x1db1b1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x339)]=0x232b]=_0x5b4efa(0x339),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x186)]=0x232c]=_0x5b4efa(0x186),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x302)]=0x232d]=_0x5b4efa(0x302),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x21c)]=0x2711]=_0x5b4efa(0x21c),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x23b)]=0x2712]=_0x5b4efa(0x23b),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1b0)]=0x2713]=_0x5b4efa(0x1b0),_0x1db1b1[_0x1db1b1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5b4efa(0x285),_0x1db1b1[_0x1db1b1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5b4efa(0x1ed),_0x1db1b1[_0x1db1b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5b4efa(0x2f6),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2a6)]=0x271c]=_0x5b4efa(0x2a6),_0x1db1b1[_0x1db1b1['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x5b4efa(0x1e0),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x226)]=0x271e]=_0x5b4efa(0x226),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1fe)]=0x271f]=_0x5b4efa(0x1fe),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x31d)]=0x2720]=_0x5b4efa(0x31d),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x314)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x277)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1db1b1[_0x1db1b1['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2df)]=0x2ee3]=_0x5b4efa(0x2df),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x350)]=0x2ee4]=_0x5b4efa(0x350),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2ca)]=0x2ee5]=_0x5b4efa(0x2ca),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x27b)]=0x32c9]=_0x5b4efa(0x27b),_0x1db1b1[_0x1db1b1['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1db1b1[_0x1db1b1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5b4efa(0x32e),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x224)]=-0x1]=_0x5b4efa(0x224),_0x1db1b1))(Mt||{}),pn=Object[_0x5b4efa(0x23d)],Cn=(_0x53a9a1,_0x577fab,_0x8dd0b2,_0x3f8f16)=>{const _0x381aa2=_0x5b4efa;for(var _0x5a8aa2=_0x3f8f16>0x1?void 0x0:_0x3f8f16?pn(_0x577fab,_0x8dd0b2):_0x577fab,_0x5daadc=_0x53a9a1[_0x381aa2(0x265)]-0x1,_0x3cc664;_0x5daadc>=0x0;_0x5daadc--)(_0x3cc664=_0x53a9a1[_0x5daadc])&&(_0x5a8aa2=_0x3cc664(_0x5a8aa2)||_0x5a8aa2);return _0x5a8aa2;},be=(_0x10715e,_0x3f887c)=>(_0x34f06c,_0x6247a5)=>_0x3f887c(_0x34f06c,_0x6247a5,_0x10715e);let rt=class extends _0x3449ee{constructor(_0x21f631,_0x365037,_0x44a3c2){const _0x1341a1=_0x5b4efa;super(),this['_instanceService']=_0x21f631,this[_0x1341a1(0x298)]=_0x365037,this['_configService']=_0x44a3c2;}async['runOnServer'](_0x1cac13,_0x493f47,_0x1ae1c0,..._0x5b275f){const _0x331b8c=_0x5b4efa;var _0x51fbe6,_0x1d2152,_0x2f5d76,_0x3a64a3;const _0x192ee8=this[_0x331b8c(0x239)]['getFocusedUnit']();if(!_0x192ee8)throw new Error(_0x331b8c(0x25a));const _0x577cc6=((_0x51fbe6=this[_0x331b8c(0x24e)][_0x331b8c(0x30c)](_0x31621f))!=null?_0x51fbe6:_0x733df)+'/'+_0x1cac13+'/run/'+_0x493f47,_0x27cc58=new URL(window['location']['href']),_0x10ba67={'scriptId':_0x1cac13,'runId':(_0x1d2152=_0x27cc58[_0x331b8c(0x1f0)][_0x331b8c(0x2ce)]('runId'))!=null?_0x1d2152:'','function':_0x493f47,'unitId':_0x192ee8[_0x331b8c(0x180)](),'argsOfFunction':JSON['stringify'](_0x5b275f),'invokeId':(_0x2f5d76=_0x1ae1c0[_0x331b8c(0x28f)])!=null?_0x2f5d76:'','executionId':(_0x3a64a3=_0x1ae1c0[_0x331b8c(0x212)])!=null?_0x3a64a3:''};try{const _0x2e06f7=await this['_httpService'][_0x331b8c(0x26d)](_0x577cc6,{'body':_0x10ba67});return _0x2e06f7['body'][_0x331b8c(0x1d3)]&&_0x2e06f7[_0x331b8c(0x1f7)][_0x331b8c(0x1d3)][_0x331b8c(0x380)]!==Mt['OK']?_0x331b8c(0x311):_0x2e06f7[_0x331b8c(0x1f7)][_0x331b8c(0x29d)];}catch{return _0x331b8c(0x311);}}};rt=Cn([be(0x0,_0x166042),be(0x1,_0x17f821(_0x5817a5)),be(0x2,_0x556e6e)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x5e9ef4=_0x1502;(function(_0x23fcc9,_0x1a10d2){const _0x3d7d57=_0x1502,_0x31aca4=_0x23fcc9();while(!![]){try{const _0x3c57dc=-parseInt(_0x3d7d57(0xad))/0x1+-parseInt(_0x3d7d57(0xaf))/0x2+-parseInt(_0x3d7d57(0xac))/0x3*(parseInt(_0x3d7d57(0xbb))/0x4)+parseInt(_0x3d7d57(0xbf))/0x5*(parseInt(_0x3d7d57(0xb6))/0x6)+parseInt(_0x3d7d57(0xb2))/0x7+parseInt(_0x3d7d57(0xb4))/0x8*(parseInt(_0x3d7d57(0xb5))/0x9)+parseInt(_0x3d7d57(0xbe))/0xa;if(_0x3c57dc===_0x1a10d2)break;else _0x31aca4['push'](_0x31aca4['shift']());}catch(_0x13409b){_0x31aca4['push'](_0x31aca4['shift']());}}}(_0x9931,0x3482d));const e={'collab-client':{'tooltip':{'reconnect':_0x5e9ef4(0xa8)}},'collabStatus':{'fetchMiss':_0x5e9ef4(0xa9),'conflict':_0x5e9ef4(0xbd),'notCollab':_0x5e9ef4(0xb7),'synced':_0x5e9ef4(0xb8),'syncing':'Syncing...','offline':_0x5e9ef4(0xae)},'session':{'connection-failed':_0x5e9ef4(0xb9),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x5e9ef4(0xb0),'collaboration-timeout':_0x5e9ef4(0xab)},'conflict':{'title':_0x5e9ef4(0xbc),'content':_0x5e9ef4(0xb3)},'permission':{'title':_0x5e9ef4(0xaa),'content':_0x5e9ef4(0xba)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x5e9ef4(0xc0)},'auth':{'needGotoLoginAlert':_0x5e9ef4(0xb1)}};function _0x9931(){const _0x56b9c1=['Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','295797XaDcPE','292923JaDDOy','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','441736JQZTeR','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','172368QsIJjA','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.','2161256Hzsbdq','9GqgoAE','1074684vkPvBo','Local\x20file','Synced','Connection\x20failed,\x20please\x20check\x20your\x20network.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','8uAMias','Collaboration\x20Conflict','Edit\x20conflicts','2730650iaXtcz','10jPoPck','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x9931=function(){return _0x56b9c1;};return _0x9931();}function _0x1502(_0x34fe4f,_0x32bed0){const _0x99317f=_0x9931();return _0x1502=function(_0x15022a,_0x51423c){_0x15022a=_0x15022a-0xa8;let _0x3ed953=_0x99317f[_0x15022a];return _0x3ed953;},_0x1502(_0x34fe4f,_0x32bed0);}export{e as default};
1
+ function _0x16e2(){const _0x40439f=['3618115NWGjdr','8228944kyTlXH','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.','38602hkRPiJ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Local\x20file','6158446iBDzgZ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4dajYdD','Click\x20to\x20Reconnect','Authentication\x20Error','Syncing\x20server\x20data...','Synced','3oWFdPt','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','9yWBflF','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','6585792TYLMlX','8741870JcWWiA','386631LmTNJr','Collaboration\x20Conflict','Syncing...'];_0x16e2=function(){return _0x40439f;};return _0x16e2();}const _0xb5669=_0x1591;(function(_0x15862e,_0x35488b){const _0x4b021e=_0x1591,_0x5d0934=_0x15862e();while(!![]){try{const _0x16fe14=-parseInt(_0x4b021e(0xca))/0x1+-parseInt(_0x4b021e(0xb7))/0x2*(parseInt(_0x4b021e(0xc3))/0x3)+parseInt(_0x4b021e(0xbe))/0x4*(-parseInt(_0x4b021e(0xcd))/0x5)+-parseInt(_0x4b021e(0xc8))/0x6+parseInt(_0x4b021e(0xbb))/0x7+parseInt(_0x4b021e(0xce))/0x8+parseInt(_0x4b021e(0xc5))/0x9*(parseInt(_0x4b021e(0xc9))/0xa);if(_0x16fe14===_0x35488b)break;else _0x5d0934['push'](_0x5d0934['shift']());}catch(_0x3cbc1a){_0x5d0934['push'](_0x5d0934['shift']());}}}(_0x16e2,0x87984));const e={'collab-client':{'tooltip':{'reconnect':_0xb5669(0xbf)}},'collabStatus':{'fetchMiss':_0xb5669(0xc1),'conflict':_0xb5669(0xb9),'notCollab':_0xb5669(0xba),'synced':_0xb5669(0xc2),'syncing':_0xb5669(0xcc),'offline':_0xb5669(0xbd)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xb5669(0xc4),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0xb5669(0xbc)},'conflict':{'title':_0xb5669(0xcb),'content':_0xb5669(0xcf)},'permission':{'title':_0xb5669(0xc0),'content':_0xb5669(0xc7)},'collaboration':{'single-unit':{'warning':_0xb5669(0xb8)},'closeRoom':_0xb5669(0xc6)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x1591(_0x21b8a6,_0x839841){const _0x16e211=_0x16e2();return _0x1591=function(_0x159135,_0x503215){_0x159135=_0x159135-0xb7;let _0x1da95a=_0x16e211[_0x159135];return _0x1da95a;},_0x1591(_0x21b8a6,_0x839841);}export{e as default};
@@ -1 +1 @@
1
- const _0x1fa832=_0x3b00;(function(_0x3a3559,_0x236640){const _0x32dfd1=_0x3b00,_0x4f31f4=_0x3a3559();while(!![]){try{const _0x2ca0bf=parseInt(_0x32dfd1(0x16a))/0x1*(parseInt(_0x32dfd1(0x16e))/0x2)+parseInt(_0x32dfd1(0x177))/0x3+parseInt(_0x32dfd1(0x168))/0x4+-parseInt(_0x32dfd1(0x171))/0x5*(-parseInt(_0x32dfd1(0x167))/0x6)+-parseInt(_0x32dfd1(0x16b))/0x7*(-parseInt(_0x32dfd1(0x165))/0x8)+parseInt(_0x32dfd1(0x173))/0x9+-parseInt(_0x32dfd1(0x17a))/0xa;if(_0x2ca0bf===_0x236640)break;else _0x4f31f4['push'](_0x4f31f4['shift']());}catch(_0xa746c6){_0x4f31f4['push'](_0x4f31f4['shift']());}}}(_0x5c13,0x3b706));const o={'collab-client':{'tooltip':{'reconnect':_0x1fa832(0x178)}},'collabStatus':{'fetchMiss':_0x1fa832(0x176),'conflict':_0x1fa832(0x179),'notCollab':_0x1fa832(0x175),'synced':'همگام\x20سازی','syncing':_0x1fa832(0x174),'offline':_0x1fa832(0x16d)},'session':{'connection-failed':_0x1fa832(0x172),'will-retry':_0x1fa832(0x166),'room-full':_0x1fa832(0x17b),'collaboration-timeout':_0x1fa832(0x163)},'conflict':{'title':_0x1fa832(0x164),'content':_0x1fa832(0x16c)},'permission':{'title':_0x1fa832(0x169),'content':_0x1fa832(0x16f)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x1fa832(0x170)},'auth':{'needGotoLoginAlert':_0x1fa832(0x162)}};function _0x3b00(_0x4cdd99,_0x51fa2a){const _0x5c13dd=_0x5c13();return _0x3b00=function(_0x3b0021,_0x509b46){_0x3b0021=_0x3b0021-0x162;let _0x6b9440=_0x5c13dd[_0x3b0021];return _0x6b9440;},_0x3b00(_0x4cdd99,_0x51fa2a);}function _0x5c13(){const _0x219e6a=['تداخل\x20ویرایش','15182280SXfOrj','اتاق\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همکاری','1016klsJZv','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','117408bgkNJe','521160xonbdp','خطای\x20اعتبارسنجی','3uGudmP','17934JbSwvn','یک\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شوند','50230vvfZzA','اعمال\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شد.','115oIsSrS','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','3217680WBcRCA','در\x20حال\x20همگام\x20سازی...','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1269291gEWqzx','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'];_0x5c13=function(){return _0x219e6a;};return _0x5c13();}export{o as default};
1
+ const _0x66df34=_0x5e49;(function(_0x325816,_0x338345){const _0x597e95=_0x5e49,_0x1d2939=_0x325816();while(!![]){try{const _0x18b15c=parseInt(_0x597e95(0x1e9))/0x1*(-parseInt(_0x597e95(0x1e4))/0x2)+-parseInt(_0x597e95(0x1ea))/0x3*(parseInt(_0x597e95(0x1f3))/0x4)+parseInt(_0x597e95(0x1e5))/0x5+parseInt(_0x597e95(0x1f5))/0x6*(parseInt(_0x597e95(0x1fc))/0x7)+-parseInt(_0x597e95(0x1f4))/0x8*(-parseInt(_0x597e95(0x1fb))/0x9)+parseInt(_0x597e95(0x1f1))/0xa*(-parseInt(_0x597e95(0x1ef))/0xb)+parseInt(_0x597e95(0x1eb))/0xc;if(_0x18b15c===_0x338345)break;else _0x1d2939['push'](_0x1d2939['shift']());}catch(_0x214933){_0x1d2939['push'](_0x1d2939['shift']());}}}(_0x21ea,0xe1e0c));function _0x21ea(){const _0x36f593=['48UmAXBE','در\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کنیم.','3019491XOoXgs','1374002gECHhL','2QviwJR','5836565VVSmeX','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','799702tVwZyZ','2805PvfEdC','16714656DlOdPM','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','پرونده\x20محلی','11SMdnYH','اعمال\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رفت.','13507450zWPsMx','خطای\x20اعتبارسنجی','5948tzaJPe','8TEZVEk'];_0x21ea=function(){return _0x36f593;};return _0x21ea();}const o={'collab-client':{'tooltip':{'reconnect':_0x66df34(0x1ed)}},'collabStatus':{'fetchMiss':_0x66df34(0x1f6),'conflict':_0x66df34(0x1ec),'notCollab':_0x66df34(0x1ee),'synced':'همگام\x20سازی','syncing':_0x66df34(0x1e6),'offline':_0x66df34(0x1f7)},'session':{'connection-failed':_0x66df34(0x1e7),'will-retry':_0x66df34(0x1fa),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x66df34(0x1f8)},'conflict':{'title':_0x66df34(0x1f9),'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x66df34(0x1f2),'content':_0x66df34(0x1f0)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x66df34(0x1e8)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x5e49(_0x2dbc86,_0x1572f1){const _0x21eaff=_0x21ea();return _0x5e49=function(_0x5e49ba,_0x426552){_0x5e49ba=_0x5e49ba-0x1e4;let _0x184d4c=_0x21eaff[_0x5e49ba];return _0x184d4c;},_0x5e49(_0x2dbc86,_0x1572f1);}export{o as default};