@univerjs-pro/collaboration-client-ui 0.6.5 → 0.6.6

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3e388d=_0xe21a;(function(_0x290eb5,_0x37d79c){const _0x5ac819=_0xe21a,_0x26a763=_0x290eb5();while(!![]){try{const _0x2b2177=-parseInt(_0x5ac819(0x1b2))/0x1*(parseInt(_0x5ac819(0xd4))/0x2)+-parseInt(_0x5ac819(0xd0))/0x3+parseInt(_0x5ac819(0x25d))/0x4+parseInt(_0x5ac819(0x1b0))/0x5+parseInt(_0x5ac819(0x20a))/0x6+parseInt(_0x5ac819(0x1c0))/0x7+parseInt(_0x5ac819(0x1a7))/0x8;if(_0x2b2177===_0x37d79c)break;else _0x26a763['push'](_0x26a763['shift']());}catch(_0x5d0946){_0x26a763['push'](_0x26a763['shift']());}}}(_0x41ef,0x2358d));var kt=Object[_0x3e388d(0x18c)],Bt=(_0x4b2a14,_0x1d27a3,_0x2d87ec)=>_0x1d27a3 in _0x4b2a14?kt(_0x4b2a14,_0x1d27a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d87ec}):_0x4b2a14[_0x1d27a3]=_0x2d87ec,h=(_0x134f36,_0x2690d8,_0x413eaf)=>Bt(_0x134f36,typeof _0x2690d8!=_0x3e388d(0xbd)?_0x2690d8+'':_0x2690d8,_0x413eaf);function _0x41ef(){const _0x469a84=['endRow','APPLY_REVISION_CONFILICT','collabCursorState$','univer-offline','_session','top','subscribeEvent','permission.content','startColumn','#fff','_onCursorDelete','16230Hqthoy','loadOfflineData','_handleHover','url(#$1','doc.mutation.rich-text-editing','getMemberID','SOCKET_FAILED','Error','LICENSE_IMPORT_SIZE_EXCEEDED','column','assign','_initEvent','data','round','_toggleOnline','bottom','prototype','_localStorageService','LICENSE_MAX_UNITS_EXCEEDED','add','exhaustSavingTask','_syncEditingCollabCursorService','m1Prime','textRanges','icon','isEditing','_backgroundColor','collab-client.tooltip.reconnect','_startSheetCollabCursor','_labelPosition','_commandService','disposeWithMe','collab-text-range-','debug','_config','getCollabCursors$','executeCommand','_registerRenderDependencies','get','min','_collabCursorState$','from','on-line-single_clip0_910_349','OffLineSingle','VIEW_MAIN','CONNECTOR_DATA_TOO_LARGE','addObject','asObservable','docStateChange$','resize','UNDEFINED','USERS_LEAVE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_document','transformSelections','sessionStatus$','_urlService','forEach','then','_scheduleClearOtherTimer','_cachedData','collaboration.closeRoom','_getMergeRange','_assignedColors','FromArray','TEXT','ticket','_textBubble','collaboration-client.offline-data-not-saved','findNodePositionByCharIndex','_shapes','skeleton','UniverIcon','use','_disabled','engine','search','next','CONFLICT','triggerDblclick','_collaborationUIEventService','_initCommandExecutedListener','AWAITING','858992IqiQZv','runOnServer','loadUnit','createInstance','set','getUnitId','currentColor','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','div','sheetID','0\x200\x2016\x2016','Failed','searchParams','parse','_registerDependencies','getOwnPropertySymbols','/run/','getTypeOfUnitDisposed$','INVALID_ARGUMENT','NOT_COLLAB','labelPosition','_entityInit$','range','dispose$','registerRenderModule','delete','UPDATE_CURSOR','_setupBeforeClosingHandler','currentSkeleton$','syncEditingCollabCursor','Unknown\x20user','_getSessionTicket','MoveRangeCommandId','subUnitId','_transformHistoryAndStateStack','attrs','redoState','getRangePointData','_online','_collaborationController','pipe','current','UNRECOGNIZED','disableLocalCache','setShapeProps','_updateCollabCursors','jiqing500','isArray','getValue','newValue','AWAITING_WITH_PENDING','tag','getActiveRange','addHandlerCallback','registerComponent','setParam','fillRule','gold400','getRenderById','_context','svg','evenodd','_getAnchorBounding','saveImage','mutations','cursorInfo$','hide','_entities','onPointerEnter$','name','_setupSubUnitSync','width','off-line-single_clip0_910_343','replace','_collabCursorController','_scheduleSaving','_selfUnitIDs','getCurrentRevOfUnit','OFFLINE','collabStatus.fetchMiss','symbol','history','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','_cursor','getCollabEntity$','_refRangeService','collabStatus.synced','getDocRanges','getRelativeToViewportCoord','univerjs-icon\x20univerjs-icon-','pushState','transformIMECache','onStarting','_init','none','body','_ensureSubject','getVpScrollXYInfoByPosToVp','apply','320721GCMzoe','cursorInfo','_handleJoinEvent','urlChange$','11582wSavte','init','setActiveRange','LICENSE_DISTRO_REJECTED','getStateCache','substring','ACTIVE_UNIT_EVENT_CHANNEL','APPLY_REJECT','_updateLocalCursor','0\x200\x2017\x2016','_transformPreviousActiveRange','row','DeleteRangeMoveLeftCommandId','_univerInstanceService','error','startsWith','result','getUnitStatus$','mask','setInterval','has','arc','sheetId','href','InsertRangeMoveDownCommandId','size','some','defIds','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setItem','CHANGESET_REVISION_CONFILICT','UNIVER_DOC','getParam','backgroundColor','addClipboardHook','_notificationService','setConfig','M0\x200H16V16H0z','PENDING','_startDocCollabCursor','measureText','INTERNAL_ERROR','unsubscribe','invokeId','getMember','PY_RUNTIME_SCRIPT_ERROR','defs','_docTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','_saveCache','transformMutationsWithChangeset','stringify','drawWith','unitID','_heartbeatTimer','SNAPSHOT_INVALID_SNAPSHOT','_cursorShapes','restore','getOwnPropertyDescriptor','univer-online','RECT','imageSourceType','popstate','_unitStatus','_status$','YUUMI_RATE_OVER_LIMIT','_scene','online','_colorIndex','_transformUndoRedoStack','getViewport','_docTransformIMECacheService','onMouseMove','memberID','_cursorInfo$','onCommandExecuted','isActive','APPLY_PERMISSION_DENIED','_themeService','transformRemoteChangeset','_updateSubUnitFromURLParams','transformStateCache','focused$','toString','_dataLoaderService','actions','idSuffix','ranges','params','activeSheet$','transformMutation','_renderManagerService','xlink:href','registerBeforeClose','onPointerLeave$','MUTATION','collaboration-client-ui.config','collabStatus.syncing','createSocket','getUndoRedoMutationParamsCache','_logService','unitId','YUUMI_SUBSCRIPTION_NOT_FOUND','color','_color','InsertRangeMoveRightCommandId','whenReady','source','_initStatusListener','_hovered','_handleEvent','flatMap','generateRandomId','call','univer-flex\x20univer-items-center','_revisionService','clipPath','origin','_httpService','_onRefRangeChange','toRgbString','_sheetSkeletonManagerService','collabStatus.notCollab','_initDependencies','random','_handleLeaveEvent','extend','ENSURE_SNAPSHOT_EXECUTION','key','endColumn','_hover','replaceState','event$','black','_docSkeletonManagerService','SYNCED','length','string','collabStatus.offline','_drawAnchor','transformByState','[CollaborationDataLoaderController]','roomMembers','roomMembers$','_docClipboardService','InsertColCommandId','getCurrentSelections','APPLY_DUPLICATED','_cursors','1em','transform','editingUnit','undoState','setTimeout','clearInterval','_configService','show','_initEntityListener','map','eventID','ALREADY_EXISTS','getTypeOfUnitAdded$','makeDirty','HEADER_MENU','type','_docSyncEditingCollabCursorService','fill','_anchor','_messageService','wsSessionTicketUrl','collaboration.single-unit.warning','application/json','#FFF','_range','getCurrent','displayName','_onCursorUpdate','hasOwnProperty','subscribe','UNIVER_SHEET','getSheetBySheetId','_send','hovered','subunit','defineProperty','getUniverSheetInstance','PERMISSION_DENIED','startRow','_eventUnsubscribe','deepClone','entries','purple300','_removeCollabCursors','DeleteRangeMoveUpCommandId','setStateCache','disposeUnit','lineTo','_injector','runId','getSheetId','_localeService','beginPath','_imageIoService','_lastPointer','override','fillStyle','FETCH_MISS','selection','_handleHeartbeatEvent','_localCacheService','getConfig','1147080AKtAzw','colorChannel1','moveTo','split','_clearOtherTimers','function','entityInit$','_unitOnClients','getFocusedUnit','68855zbgPQS','_collabSessionService','37mDJqNN','onRendered','location','unit','Warning','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','concat','code','_initResize','COMPLETION_FINISHED','m2Prime','getActiveSheet','OTHER_CLIENT_EDITING','_getScale','639422XinCgd','trim','getMergeData','_drawRectRange','_docTransformStateCacheService','OTHER_CLIENTS_EDITING','send','assignAColorForMemberID','SOCKET_FAILED_RETRY','_toggleOffline','_anchorDot','_instanceService','NOT_FOUND','propertyIsEnumerable','complete','_id','registerRefRange','onLocalMutation','clearTimeout','_saveTaskMap','_render','save','_scheduleHeartbeat','_getSaveTimeout','uni.network.url-service','UNAUTHENTICATED','indexOf','_name','max','with','dispose','YUUMI_URL_COL_OUT_OF_RANGE','getAncestorScale','_roomMembers$','_updateURLWithCurrentState','RemoveRowCommandId','APPLY_NON_SEQUENTIAL_REVISION','text','setAlpha','contains','push','url(#on-line-single_clip0_910_349)','_colorAssignService','saveTaskMap','TOO_MANY_REQUESTS','_beforeCloseService','_docStateChangeManagerService','session.connection-failed','RemoveColCommandId','_memberService','removeParam','path','children','_initStatusComponent','getItem','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_transformService','selections','translate(.97)','_hideTimer','unshift','getCellPositionByOffset'];_0x41ef=function(){return _0x469a84;};return _0x41ef();}import{MemberService as _0x238732,SessionStatus as _0x27b488,CollaborationSessionService as _0x226b9b,CollaborationStatus as _0x4dc1b2,CollaborationController as _0x5fcf18,ILocalCacheService as _0x40be6c,CollaborationUIEventService as _0x484e4b,CollaborationUIEventId as _0xf5cdcc,DataLoaderService as _0x4b359e,DocCollaborationEntity as _0xed19e0,getLocalCacheKey as _0x408b69,LOCAL_CACHE_INTERVAL as _0x275105,LOCAL_CACHE_INTERVAL_KEY as _0x1f5b93,UniverCollaborationClientPlugin as _0x43b555,CollaborationSocketService as _0x1325fc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x36bce9,DEFAULT_WS_SESSION_TICKET_URL as _0x5552ef,UnitStatus as _0x2601ca,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x320504,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x26e985}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x71590,Disposable as _0x5039df,DOC_RANGE_TYPE as _0x5420d9,Inject as _0x451e45,Injector as _0x573e99,IUniverInstanceService as _0x4111ca,ICommandService as _0xf7f849,debounce as _0x12cfa8,Rectangle as _0x4b7e11,DisposableCollection as _0x483fc8,toDisposable as _0x34271e,UniverInstanceType as _0x57e437,Tools as _0x281d76,COLORS as _0x25888c,ColorKit as _0x21e09a,ThemeService as _0x265c36,fromEventSubject as _0x1e3f7,LocaleService as _0x1dc184,createIdentifier as _0x2d5ffc,ILogService as _0x41776a,Optional as _0x293499,Workbook as _0x5afb19,CommandType as _0x2eed70,IConfigService as _0x35f2e2,ILocalStorageService as _0xacd7eb,DependentOn as _0x259ed6,Plugin as _0x5a86c9,merge as _0x489c13,registerDependencies as _0x4c3738,mergeOverrideWithDependencies as _0x1b7bb3,touchDependencies as _0x2db4ce,generateRandomId as _0x461160}from'@univerjs/core';import{Shape as _0x51909b,Rect as _0x1022b3,getColor as _0x4ccde2,RegularPolygon as _0x36d367,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x58b9cf,Vector2 as _0x2888a3,SHEET_VIEWPORT_KEY as _0x52488c,IRenderManagerService as _0x5edf55}from'@univerjs/engine-render';import{ISocketService as _0x271572,WebSocketService as _0x3961c0,HTTPService as _0x14d128}from'@univerjs/network';import{IDocClipboardService as _0x360704,NodePositionConvertToCursor as _0x2d2e62,NodePositionConvertToRectRange as _0x3d7378,TEXT_RANGE_LAYER_INDEX as _0x48545a,SetDocZoomRatioOperation as _0x1c281e,DocIMEInputManagerService as _0x2fdb1c,DocStateChangeManagerService as _0xe8bd55}from'@univerjs/docs-ui';import{IImageIoService as _0x382de0}from'@univerjs/drawing';import{BehaviorSubject as _0x1b6950,debounceTime as _0x5a031b,takeUntil as _0x1c3214,Subject as _0x3c95c8,filter as _0x2b9d6e,switchMap as _0x441807,merge as _0x309186,combineLatest as _0xc685ef,of as _0x1f6231,fromEvent as _0x5631ca,shareReplay as _0x31ad24,mapTo as _0x2f7678,distinctUntilChanged as _0x5c5a58}from'rxjs';import{SetTextSelectionsOperation as _0xc40017,RichTextEditingMutation as _0xc29686,DocSelectionManagerService as _0x58c7af,DocSkeletonManagerService as _0x592180}from'@univerjs/docs';import{ITransformService as _0x5eecd6,CollaborationEvent as _0x4cee8e,isTransformMutationFailure as _0x128467,isTransformMutationsWithChangesetSuccess as _0x2cea00,RevisionService as _0x1a313e,ISnapshotServerService as _0x159682}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3570ac,serializeRangeWithSheet as _0x1f0113}from'@univerjs/engine-formula';import{RefRangeService as _0xccfe7f,SetSelectionsOperation as _0x469672,SheetsSelectionsService as _0x69516b,EffectRefRangId as _0x58f5db,handleIRemoveRow as _0x5c472c,handleIRemoveCol as _0x1f1ccc,handleMoveRange as _0x56fc5c,handleInsertRow as _0x3bd0f5,handleInsertRangeMoveRight as _0x124869,handleInsertRangeMoveDown as _0x6d2828,handleInsertCol as _0x594f6d,handleDeleteRangeMoveUp as _0x21ed56,handleDeleteRangeMoveLeft as _0x4bc653,runRefRangeMutations as _0x399b84,SetWorksheetActivateCommand as _0x4d603b}from'@univerjs/sheets';import{map as _0x118d9c,filter as _0x4fbdb6,throttleTime as _0x207d6c,takeUntil as _0xdec47b,switchMap as _0x24c3ff}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4e6cb6,getCoordByCell as _0x48fa07,getSheetObject as _0x5e11cb}from'@univerjs/sheets-ui';import{jsx as _0x247bd0,jsxs as _0xc3f6c3}from'react/jsx-runtime';import{useObservable as _0x2b6a55,useDependency as _0x2a782f,IUIPartsService as _0x327498,BuiltInUIPart as _0x340c4e,connectInjector as _0x490bdd,IBeforeCloseService as _0x2dfdab,IMessageService as _0x2be41b,INotificationService as _0x2d5aac}from'@univerjs/ui';import{clsx as _0x46bbbf,Tooltip as _0x5721d5,MessageType as _0x46d169}from'@univerjs/design';import{forwardRef as _0x1f9f36,useRef as _0x1be905,createElement as _0xab44ed,useCallback as _0x5bd100}from'react';import{IRemoteInstanceService as _0x33fb54}from'@univerjs/rpc';var li=Object[_0x3e388d(0x10e)],hi=(_0x35f782,_0x3ad338,_0x29ff7b,_0x34a695)=>{const _0x5dcc35=_0x3e388d;for(var _0x467e4a=_0x34a695>0x1?void 0x0:_0x34a695?li(_0x3ad338,_0x29ff7b):_0x3ad338,_0x3b9a31=_0x35f782[_0x5dcc35(0x15c)]-0x1,_0x1fd994;_0x3b9a31>=0x0;_0x3b9a31--)(_0x1fd994=_0x35f782[_0x3b9a31])&&(_0x467e4a=_0x1fd994(_0x467e4a)||_0x467e4a);return _0x467e4a;},qe=(_0x355631,_0x24d8ea)=>(_0x2265b5,_0x44f788)=>_0x24d8ea(_0x2265b5,_0x44f788,_0x355631);let Me=class extends _0x71590{constructor(_0x491f05,_0x21cfe3){const _0x2d73d9=_0x3e388d;super(),this[_0x2d73d9(0x164)]=_0x491f05,this[_0x2d73d9(0x19e)]=_0x21cfe3,this['_init']();}[_0x3e388d(0xca)](){const _0xc39e3=_0x3e388d,_0xa77708=this;this[_0xc39e3(0x229)](this[_0xc39e3(0x164)][_0xc39e3(0xf6)]({'onBeforePasteImage':async _0x10da9c=>{const _0x445aa5=_0xc39e3,_0x34e4b5=await _0xa77708['_imageIoService'][_0x445aa5(0xac)](_0x10da9c);return _0x34e4b5?{'source':_0x34e4b5[_0x445aa5(0x13f)],'imageSourceType':_0x34e4b5[_0x445aa5(0x111)]}:null;}}));}};Me=hi([qe(0x0,_0x360704),qe(0x1,_0x382de0)],Me);const Qe=[_0x3e388d(0x193),_0x3e388d(0x9b),'verdancy600','red300','blue400',_0x3e388d(0xa6)];class He extends _0x5039df{constructor(){const _0x36b930=_0x3e388d;super(...arguments),h(this,_0x36b930(0x249),new Map()),h(this,_0x36b930(0x118),0x0);}[_0x3e388d(0x1c7)](_0x381d14){const _0x1c439d=_0x3e388d;if(this['_assignedColors']['has'](_0x381d14))return this[_0x1c439d(0x249)][_0x1c439d(0x230)](_0x381d14);const _0x4a62ca=Qe[this[_0x1c439d(0x118)]];return this[_0x1c439d(0x118)]=(this[_0x1c439d(0x118)]+0x1)%Qe[_0x1c439d(0x15c)],this[_0x1c439d(0x249)][_0x1c439d(0x261)](_0x381d14,_0x4a62ca),_0x4a62ca;}}function Dt(_0xc6cc77){const _0xb9306e=_0x3e388d;let _0x107f7b='';for(const _0xacb7f4 of _0xc6cc77){const {startOffset:_0x5d6379,endOffset:_0x25d3be,isActive:_0x16f7f5,rangeType:_0x3f81f6,segmentId:_0x595752,segmentPage:_0x4e0277}=_0xacb7f4;_0x107f7b[_0xb9306e(0x15c)]&&(_0x107f7b+=','),_0x107f7b+=_0x5d6379+':'+_0x25d3be+':'+(_0x16f7f5?'1':'0')+':'+_0x3f81f6+':'+_0x595752+':'+_0x4e0277;}return _0x107f7b;}function _i(_0x2ffbfc){const _0x2c3e35=_0x3e388d,_0x5f48fb=_0x2ffbfc['split'](','),_0x2d2c0c=[];for(const _0x3d05b5 of _0x5f48fb){const [_0x331c29,_0x4ad5ae,_0x13301a,_0xc495b2,_0xf492ce,_0x2f6159]=_0x3d05b5[_0x2c3e35(0x1aa)](':');_0x2d2c0c['push']({'startOffset':Number(_0x331c29),'endOffset':Number(_0x4ad5ae),'collapsed':_0x331c29===_0x4ad5ae,'isActive':_0x13301a==='1','rangeType':_0xc495b2===_0x5420d9[_0x2c3e35(0x24b)]?_0x5420d9['TEXT']:_0x5420d9[_0x2c3e35(0x110)],'segmentId':typeof _0xf492ce==_0x2c3e35(0x15d)?String(_0xf492ce):'','segmentPage':Number(_0x2f6159!=null?_0x2f6159:-0x1)});}return _0x2d2c0c[_0x2c3e35(0xee)](_0x503b0d=>_0x503b0d[_0x2c3e35(0x120)])||(_0x2d2c0c[0x0][_0x2c3e35(0x120)]=!0x0),_0x2d2c0c;}class je extends _0x71590{constructor(){const _0x51ee5c=_0x3e388d;super(...arguments),h(this,_0x51ee5c(0x232),new _0x1b6950(null)),h(this,'collabCursorState$',this[_0x51ee5c(0x232)][_0x51ee5c(0x239)]());}[_0x3e388d(0x27b)](_0x69a107){const {unitID:_0x493451,memberID:_0x44df97,textRanges:_0x381cb9}=_0x69a107,_0x9c6acc=Dt(_0x381cb9);if(_0x9c6acc==='')return;const _0x1c58db={'unitID':_0x493451,'memberID':_0x44df97,'selection':_0x9c6acc};this['_collabCursorState$']['next'](_0x1c58db);}}var ui=Object[_0x3e388d(0x10e)],di=(_0x443e52,_0x27a9ea,_0xfbd388,_0x5270a9)=>{const _0x2f927f=_0x3e388d;for(var _0x51f797=_0x5270a9>0x1?void 0x0:_0x5270a9?ui(_0x27a9ea,_0xfbd388):_0x27a9ea,_0x44df59=_0x443e52[_0x2f927f(0x15c)]-0x1,_0x5ae253;_0x44df59>=0x0;_0x44df59--)(_0x5ae253=_0x443e52[_0x44df59])&&(_0x51f797=_0x5ae253(_0x51f797)||_0x51f797);return _0x51f797;},U=(_0x20de49,_0x547182)=>(_0x3ab552,_0x1ee6c3)=>_0x547182(_0x3ab552,_0x1ee6c3,_0x20de49);const fi=0x12c,Si=0x64;let Ne=class extends _0x71590{constructor(_0x7921c1,_0x8aaea3,_0xfa315a,_0x16164a,_0x216978,_0x1b53f8,_0x543ace,_0xba4f2,_0x4363a0){const _0x5c52cd=_0x3e388d;super(),h(this,_0x5c52cd(0x284),!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new _0x1b6950(new Map())),h(this,_0x5c52cd(0xae),this[_0x5c52cd(0x11e)][_0x5c52cd(0x239)]()),h(this,_0x5c52cd(0x1e1),new _0x1b6950([])),h(this,_0x5c52cd(0x163),this['_roomMembers$'][_0x5c52cd(0x286)](_0x5a031b(fi))),h(this,'_updateLocalCursor',_0x12cfa8(_0x140c8a=>{const _0x6f07f7=_0x5c52cd,_0x4525b4={'eventID':_0x4cee8e['UPDATE_CURSOR'],'data':{'unitID':this[_0x6f07f7(0x109)],'memberID':this[_0x6f07f7(0x203)][_0x6f07f7(0x20f)](),'selection':Dt(_0x140c8a)}};this[_0x6f07f7(0x203)][_0x6f07f7(0x1c6)](_0x4525b4,this[_0x6f07f7(0x109)]);},Si)),(this[_0x5c52cd(0x109)]=_0x7921c1,this[_0x5c52cd(0x203)]=_0x8aaea3,this[_0x5c52cd(0x199)]=_0xfa315a,this[_0x5c52cd(0x1ea)]=_0x16164a,this[_0x5c52cd(0x1f1)]=_0x216978,this[_0x5c52cd(0x21f)]=_0x1b53f8,this[_0x5c52cd(0x1f9)]=_0x543ace,this[_0x5c52cd(0xe1)]=_0xba4f2,this[_0x5c52cd(0x228)]=_0x4363a0);}get[_0x3e388d(0xd1)](){const _0x42ffe5=_0x3e388d;return this[_0x42ffe5(0x11e)][_0x42ffe5(0x9d)]();}get['roomMembers'](){const _0x5b0224=_0x3e388d;return this[_0x5b0224(0x1e1)][_0x5b0224(0x9d)]();}[_0x3e388d(0x1de)](){const _0x20ee36=_0x3e388d;super[_0x20ee36(0x1de)](),this[_0x20ee36(0x11e)][_0x20ee36(0x257)](new Map()),this[_0x20ee36(0x11e)]['complete'](),this[_0x20ee36(0x1e1)][_0x20ee36(0x257)]([]),this['_roomMembers$'][_0x20ee36(0x1ce)]();}[_0x3e388d(0xd5)](){const _0x9adb59=_0x3e388d;this[_0x9adb59(0xca)]||(this[_0x9adb59(0xca)]=!0x0,this['_session'][_0x9adb59(0x241)][_0x9adb59(0x286)](_0x1c3214(this[_0x9adb59(0x275)]))[_0x9adb59(0x186)](_0x13fdc1=>{_0x13fdc1===_0x27b488['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x9adb59(0x203)][_0x9adb59(0x158)][_0x9adb59(0x286)](_0x1c3214(this['dispose$']))[_0x9adb59(0x186)](_0x55a71b=>{const _0xf6a3c3=_0x9adb59,_0x144148=_0x55a71b[_0xf6a3c3(0x173)];_0x144148===_0x4cee8e[_0xf6a3c3(0x278)]&&this[_0xf6a3c3(0x184)](_0x55a71b),_0x144148===_0x4cee8e[_0xf6a3c3(0x23d)]&&this[_0xf6a3c3(0x209)](_0x55a71b);}),this['disposeWithMe'](this[_0x9adb59(0x228)][_0x9adb59(0x11f)](_0x31f2fd=>{const _0x133e43=_0x9adb59,_0x4f546f=_0x31f2fd[_0x133e43(0x12c)];_0x4f546f!=null&&this[_0x133e43(0x284)]&&_0x31f2fd['id']===_0xc40017['id']&&_0x4f546f[_0x133e43(0x139)]===this[_0x133e43(0x109)]&&_0x4f546f[_0x133e43(0x223)]===!0x1&&_0x4f546f[_0x133e43(0x12b)][_0x133e43(0x15c)]>0x0&&this[_0x133e43(0xdc)](_0x4f546f['ranges']);})),this[_0x9adb59(0x21f)][_0x9adb59(0x201)][_0x9adb59(0x286)](_0x1c3214(this[_0x9adb59(0x275)]))['subscribe'](_0x5ee901=>{const _0x7b3d89=_0x9adb59;if((_0x5ee901==null?void 0x0:_0x5ee901[_0x7b3d89(0x109)])!==this[_0x7b3d89(0x109)])return;const _0x560c52={'eventID':_0x4cee8e[_0x7b3d89(0x278)],'data':_0x5ee901};this[_0x7b3d89(0x184)](_0x560c52);}),this[_0x9adb59(0x229)](this['_commandService']['onCommandExecuted'](_0x43a633=>{const _0x3b76c6=_0x9adb59;if(_0x43a633[_0x3b76c6(0x12c)]==null)return;const _0x3d6d77=_0x43a633[_0x3b76c6(0x12c)];if(_0x43a633['id']!==_0xc29686['id']||_0x3d6d77[_0x3b76c6(0x139)]!==this[_0x3b76c6(0x109)])return;const _0x44dea7={'id':_0x3b76c6(0x20e),'params':_0x3d6d77},_0x582143=this[_0x3b76c6(0xd1)];for(const [_0x5519c3,_0x9e965c]of _0x582143){const _0x59b93f={'id':_0x3b76c6(0x20e),'params':{'unitId':this[_0x3b76c6(0x109)],'actions':null,'textRanges':_0x9e965c[_0x3b76c6(0x12b)]}},_0x265e8a=this[_0x3b76c6(0x1f9)][_0x3b76c6(0x12e)](_0x44dea7,_0x59b93f,!0x1);if(_0x128467(_0x265e8a))throw _0x265e8a[_0x3b76c6(0xe2)];_0x582143[_0x3b76c6(0x261)](_0x5519c3,{..._0x9e965c,'ranges':_0x265e8a[_0x3b76c6(0x1bc)]['params'][_0x3b76c6(0x221)]});}queueMicrotask(()=>{const _0x1591ff=_0x3b76c6;this['_cursorInfo$'][_0x1591ff(0x257)](_0x582143);});})));}[_0x3e388d(0x184)](_0x166776){const _0x84366d=_0x3e388d;var _0x4efa6c,_0x5d173c;const {memberID:_0x6b1951,selection:_0x404d87}=_0x166776[_0x84366d(0x216)],_0x185a8d=_i(_0x404d87),_0x56a079=(_0x5d173c=(_0x4efa6c=this['_memberService'][_0x84366d(0x100)](this[_0x84366d(0x109)],_0x6b1951))==null?void 0x0:_0x4efa6c[_0x84366d(0xb2)])!=null?_0x5d173c:'Unknown\x20user',_0x46d39f={'color':this[_0x84366d(0x1ea)][_0x84366d(0x1c7)](_0x6b1951),'name':_0x56a079,'ranges':_0x185a8d},_0x1e4bba=this['cursorInfo'];_0x1e4bba[_0x84366d(0x261)](_0x6b1951,_0x46d39f),this['_cursorInfo$'][_0x84366d(0x257)](_0x1e4bba);}[_0x3e388d(0x209)](_0x58f546){const _0x5125f3=_0x3e388d,{memberID:_0xf29205}=_0x58f546[_0x5125f3(0x216)],_0x16c988=this['cursorInfo'];_0x16c988[_0x5125f3(0x277)](_0xf29205),this['_cursorInfo$']['next'](_0x16c988);}[_0x3e388d(0x218)](){const _0x1df416=_0x3e388d;var _0x584823;if(this[_0x1df416(0x284)]=!0x0,((_0x584823=this['_univerInstanceService'][_0x1df416(0x1af)]())==null?void 0x0:_0x584823[_0x1df416(0x262)]())!==this[_0x1df416(0x109)])return;const _0x215344=this[_0x1df416(0x199)][_0x1df416(0x230)](_0x58c7af)[_0x1df416(0xc4)]();Array[_0x1df416(0x9c)](_0x215344)&&_0x215344[_0x1df416(0x15c)]>0x0&&this[_0x1df416(0xdc)](_0x215344);}[_0x3e388d(0x1c9)](){const _0x4a7af5=_0x3e388d;this[_0x4a7af5(0x284)]=!0x1;}};Ne=di([U(0x2,_0x451e45(_0x573e99)),U(0x3,_0x451e45(He)),U(0x4,_0x451e45(_0x238732)),U(0x5,_0x451e45(je)),U(0x6,_0x5eecd6),U(0x7,_0x4111ca),U(0x8,_0xf7f849)],Ne);var mi=Object[_0x3e388d(0x10e)],gi=(_0x354707,_0x329579,_0x769a7a,_0x26a0c1)=>{for(var _0x498995=_0x26a0c1>0x1?void 0x0:_0x26a0c1?mi(_0x329579,_0x769a7a):_0x329579,_0xe91cfb=_0x354707['length']-0x1,_0x3c6c62;_0xe91cfb>=0x0;_0xe91cfb--)(_0x3c6c62=_0x354707[_0xe91cfb])&&(_0x498995=_0x3c6c62(_0x498995)||_0x498995);return _0x498995;},x=(_0x1759c6,_0x3babbd)=>(_0x3807e3,_0x372011)=>_0x3babbd(_0x3807e3,_0x372011,_0x1759c6);const vi=0x12c,Ii=0x64,pi=()=>{let _0x46cc4f=[],_0x10dedb=!0x1;return _0x2856dd=>{_0x46cc4f['push'](_0x2856dd),_0x10dedb||(_0x10dedb=!0x0,setTimeout(()=>{const _0x4f5dbc=_0xe21a;_0x46cc4f[_0x4f5dbc(0x243)](_0x2f0d97=>_0x2f0d97()),_0x46cc4f=[],_0x10dedb=!0x1;}));};};let we=class extends _0x71590{constructor(_0x200698,_0x5856da,_0x192241,_0x48f123,_0x756c30,_0x2661e5,_0x1a2238,_0x550f38){const _0x32bcda=_0x3e388d;super(),h(this,_0x32bcda(0x284),!0x1),h(this,_0x32bcda(0xca),!0x1),h(this,'_cursorInfo$',new _0x1b6950(new Map())),h(this,_0x32bcda(0xae),this[_0x32bcda(0x11e)][_0x32bcda(0x239)]()),h(this,_0x32bcda(0x1e1),new _0x1b6950([])),h(this,_0x32bcda(0x163),this[_0x32bcda(0x1e1)][_0x32bcda(0x286)](_0x5a031b(vi))),h(this,'_updateLocalCursor',_0x12cfa8((_0xbf5681,_0x4863c8)=>{const _0x59afc8=_0x32bcda,_0x20d36f={'eventID':_0x4cee8e[_0x59afc8(0x278)],'data':{'unitID':this[_0x59afc8(0x109)],'memberID':this[_0x59afc8(0x203)][_0x59afc8(0x20f)](),'selection':_0x1f0113(_0xbf5681,_0x4863c8[_0x59afc8(0x274)])}};this['_session'][_0x59afc8(0x1c6)](_0x20d36f,this['unitID']);},Ii)),(this[_0x32bcda(0x109)]=_0x200698,this[_0x32bcda(0x203)]=_0x5856da,this[_0x32bcda(0x199)]=_0x192241,this[_0x32bcda(0x1ea)]=_0x48f123,this[_0x32bcda(0x1f1)]=_0x756c30,this[_0x32bcda(0xe1)]=_0x2661e5,this[_0x32bcda(0x228)]=_0x1a2238,this[_0x32bcda(0xc2)]=_0x550f38);}get[_0x3e388d(0xd1)](){const _0x3796a2=_0x3e388d;return this[_0x3796a2(0x11e)][_0x3796a2(0x9d)]();}get[_0x3e388d(0x162)](){const _0xb5f682=_0x3e388d;return this[_0xb5f682(0x1e1)][_0xb5f682(0x9d)]();}['dispose'](){const _0x303f50=_0x3e388d;super['dispose'](),this['_cursorInfo$'][_0x303f50(0x257)](new Map()),this[_0x303f50(0x11e)]['complete'](),this[_0x303f50(0x1e1)][_0x303f50(0x257)]([]),this['_roomMembers$'][_0x303f50(0x1ce)]();}[_0x3e388d(0xd5)](){const _0x20c9dc=_0x3e388d;this[_0x20c9dc(0xca)]||(this[_0x20c9dc(0xca)]=!0x0,this['_session'][_0x20c9dc(0x241)][_0x20c9dc(0x286)](_0x1c3214(this[_0x20c9dc(0x275)]))[_0x20c9dc(0x186)](_0x242e8d=>{const _0x6cc1e8=_0x20c9dc;_0x242e8d===_0x27b488['ONLINE']?this[_0x6cc1e8(0x218)]():this[_0x6cc1e8(0x1c9)]();}),this[_0x20c9dc(0x203)][_0x20c9dc(0x158)][_0x20c9dc(0x286)](_0x1c3214(this[_0x20c9dc(0x275)]))[_0x20c9dc(0x186)](_0x3d8d1f=>{const _0x1f87ce=_0x20c9dc,_0x3f255e=_0x3d8d1f[_0x1f87ce(0x173)];_0x3f255e===_0x4cee8e[_0x1f87ce(0x278)]&&this[_0x1f87ce(0x184)](_0x3d8d1f),_0x3f255e===_0x4cee8e['USERS_LEAVE']&&this[_0x1f87ce(0x209)](_0x3d8d1f);}),this['_onRefRangeChange'](),this[_0x20c9dc(0x229)](this[_0x20c9dc(0x228)]['onCommandExecuted'](_0x437445=>{const _0x4e3458=_0x20c9dc;if(this[_0x4e3458(0x284)]&&_0x437445['id']===_0x469672['id']&&_0x437445[_0x4e3458(0x12c)][_0x4e3458(0x139)]===this['unitID']){const _0x1f118b=_0x437445['params'];this[_0x4e3458(0xdc)](_0x1f118b[_0x4e3458(0x27f)],_0x1f118b[_0x4e3458(0x1fa)][0x0]);}})));}[_0x3e388d(0x184)](_0xcef1c6){const _0xb6301a=_0x3e388d;var _0x4c37bc,_0x1330a6;const {memberID:_0x5c9b95,selection:_0x3fd022}=_0xcef1c6[_0xb6301a(0x216)],{sheetName:_0x141093,range:_0x1bf89e}=_0x3570ac(_0x3fd022),_0x546218={'name':(_0x1330a6=(_0x4c37bc=this[_0xb6301a(0x1f1)][_0xb6301a(0x100)](this[_0xb6301a(0x109)],_0x5c9b95))==null?void 0x0:_0x4c37bc[_0xb6301a(0xb2)])!=null?_0x1330a6:_0xb6301a(0x27c),'range':this[_0xb6301a(0x248)](_0x141093,_0x1bf89e),'sheetID':_0x141093,'color':this[_0xb6301a(0x1ea)][_0xb6301a(0x1c7)](_0x5c9b95),'selection':_0x3fd022},_0x3a5640=this[_0xb6301a(0xd1)];_0x3a5640[_0xb6301a(0x261)](_0x5c9b95,_0x546218),this[_0xb6301a(0x11e)][_0xb6301a(0x257)](_0x3a5640);}[_0x3e388d(0x209)](_0x2fbf88){const _0x4248b6=_0x3e388d,{memberID:_0x32c1b0}=_0x2fbf88['data'],_0x4d8a94=this[_0x4248b6(0xd1)];_0x4d8a94[_0x4248b6(0x277)](_0x32c1b0),this['_cursorInfo$'][_0x4248b6(0x257)](_0x4d8a94);}[_0x3e388d(0x248)](_0x3d4956,_0x110dcd){const _0x2f579b=_0x3e388d;var _0x7cdbae,_0x2f5afa;const _0x4b5497=(_0x2f5afa=(_0x7cdbae=this['_univerInstanceService'][_0x2f579b(0x18d)](this[_0x2f579b(0x109)]))==null?void 0x0:_0x7cdbae[_0x2f579b(0x188)](_0x3d4956))==null?void 0x0:_0x2f5afa[_0x2f579b(0x1c2)]();return(_0x4b5497==null?void 0x0:_0x4b5497['find'](_0x55cb8a=>_0x4b7e11[_0x2f579b(0x1e7)](_0x55cb8a,_0x110dcd)))||_0x110dcd;}[_0x3e388d(0x14b)](){const _0x30fea7=_0x3e388d,_0x1dcbc8=new _0x483fc8(),_0x57317e=pi(),_0xe149a6=()=>{const _0x54ea10=_0xe21a;_0x1dcbc8[_0x54ea10(0x1de)]();const _0x379959=(_0x11b1d5,_0x214844,_0x20e324,_0x377d1a)=>{const _0x3ac411=_0x54ea10;let _0x3592f6=[];switch(_0x11b1d5['id']){case _0x58f5db[_0x3ac411(0xe0)]:{_0x3592f6=_0x4bc653(_0x11b1d5,_0x377d1a);break;}case _0x58f5db[_0x3ac411(0x195)]:{_0x3592f6=_0x21ed56(_0x11b1d5,_0x377d1a);break;}case _0x58f5db[_0x3ac411(0x165)]:{_0x3592f6=_0x594f6d(_0x11b1d5,_0x377d1a);break;}case _0x58f5db[_0x3ac411(0xec)]:{_0x3592f6=_0x6d2828(_0x11b1d5,_0x377d1a);break;}case _0x58f5db[_0x3ac411(0x13d)]:{_0x3592f6=_0x124869(_0x11b1d5,_0x377d1a);break;}case _0x58f5db['InsertRowCommandId']:{_0x3592f6=_0x3bd0f5(_0x11b1d5,_0x377d1a);break;}case _0x58f5db[_0x3ac411(0x27e)]:{_0x3592f6=_0x56fc5c(_0x11b1d5,_0x377d1a);break;}case _0x58f5db[_0x3ac411(0x1f0)]:{_0x3592f6=_0x1f1ccc(_0x11b1d5,_0x377d1a);break;}case _0x58f5db[_0x3ac411(0x1e3)]:{_0x3592f6=_0x5c472c(_0x11b1d5,_0x377d1a);break;}}const _0x14b57b=_0x399b84(_0x3592f6,_0x377d1a),_0x416912=this[_0x3ac411(0xd1)][_0x3ac411(0x230)](_0x214844);if(_0x416912&&_0x14b57b){const _0x37ee17={..._0x416912,'range':_0x14b57b};this[_0x3ac411(0xd1)][_0x3ac411(0x261)](_0x214844,_0x37ee17),_0x57317e(()=>{const _0x594eb6=_0x3ac411,_0x59c952=this[_0x594eb6(0xc2)][_0x594eb6(0x1d0)](_0x14b57b,_0x3ea5f5=>(_0x59c952[_0x594eb6(0x1de)](),_0x379959(_0x3ea5f5,_0x214844,_0x20e324,_0x14b57b)));_0x1dcbc8[_0x594eb6(0x21d)](_0x59c952);});}return{'redos':[],'undos':[]};};this[_0x54ea10(0xd1)][_0x54ea10(0x243)]((_0x27406e,_0x168948)=>{const _0x4f6a8e=_0x54ea10,{range:_0x1494d1,sheetID:_0x207cde}=_0x27406e,_0x4e96dc=this[_0x4f6a8e(0xc2)][_0x4f6a8e(0x1d0)](_0x1494d1,_0x347a37=>(_0x4e96dc['dispose'](),_0x379959(_0x347a37,_0x168948,_0x207cde,_0x1494d1)));_0x1dcbc8[_0x4f6a8e(0x21d)](_0x4e96dc);});};this[_0x30fea7(0x229)](_0x34271e(this[_0x30fea7(0x11e)][_0x30fea7(0x186)](()=>{_0xe149a6();})));}['_toggleOnline'](){const _0x4096ec=_0x3e388d;var _0x59fe58,_0x180872;if(this[_0x4096ec(0x284)]=!0x0,((_0x59fe58=this[_0x4096ec(0xe1)][_0x4096ec(0x1af)]())==null?void 0x0:_0x59fe58[_0x4096ec(0x262)]())!==this[_0x4096ec(0x109)])return;const _0x5f1827=(_0x180872=this[_0x4096ec(0x199)][_0x4096ec(0x230)](_0x69516b)[_0x4096ec(0x166)]())==null?void 0x0:_0x180872[0x0],_0x1ed415=this[_0x4096ec(0xe1)]['getCurrentUnitForType'](_0x57e437['UNIVER_SHEET'])[_0x4096ec(0x1bd)]();_0x5f1827&&_0x1ed415&&this[_0x4096ec(0xdc)](_0x1ed415['getSheetId'](),_0x5f1827);}[_0x3e388d(0x1c9)](){const _0x5e191d=_0x3e388d;this[_0x5e191d(0x284)]=!0x1;}};we=gi([x(0x2,_0x451e45(_0x573e99)),x(0x3,_0x451e45(He)),x(0x4,_0x451e45(_0x238732)),x(0x5,_0x4111ca),x(0x6,_0xf7f849),x(0x7,_0x451e45(_0xccfe7f))],we);var Ci=Object['getOwnPropertyDescriptor'],bi=(_0x2cdba5,_0x24eaaa,_0x454358,_0x80074c)=>{for(var _0x1347a5=_0x80074c>0x1?void 0x0:_0x80074c?Ci(_0x24eaaa,_0x454358):_0x24eaaa,_0x57baa3=_0x2cdba5['length']-0x1,_0x432bcd;_0x57baa3>=0x0;_0x57baa3--)(_0x432bcd=_0x2cdba5[_0x57baa3])&&(_0x1347a5=_0x432bcd(_0x1347a5)||_0x1347a5);return _0x1347a5;},me=(_0x4f210a,_0x14fc21)=>(_0x1cb25d,_0x39dca5)=>_0x14fc21(_0x1cb25d,_0x39dca5,_0x4f210a);let H=class extends _0x71590{constructor(_0x1bf1af,_0x5e3e14,_0x27fc26){const _0x3026cf=_0x3e388d;super(),h(this,_0x3026cf(0xb0),new Map()),h(this,_0x3026cf(0x273),new _0x3c95c8()),(this[_0x3026cf(0xe1)]=_0x1bf1af,this[_0x3026cf(0x199)]=_0x5e3e14,this[_0x3026cf(0x1b1)]=_0x27fc26,this[_0x3026cf(0xca)]());}[_0x3e388d(0x1de)](){const _0x5dc4b7=_0x3e388d;super[_0x5dc4b7(0x1de)](),this[_0x5dc4b7(0x273)][_0x5dc4b7(0x1ce)](),this['_entities']['forEach'](_0x401734=>_0x401734[_0x5dc4b7(0x1de)]());}['getCollabCursors$'](_0x48ea55){const _0x50ee2a=_0x3e388d;return this['_entities'][_0x50ee2a(0xe8)](_0x48ea55)?this[_0x50ee2a(0xb0)][_0x50ee2a(0x230)](_0x48ea55)[_0x50ee2a(0xae)]:this['_entityInit$'][_0x50ee2a(0x286)](_0x2b9d6e(_0x395244=>_0x395244['unitID']===_0x48ea55),_0x441807(_0x4f2608=>_0x4f2608[_0x50ee2a(0xae)]));}[_0x3e388d(0xca)](){const _0x32aa50=_0x3e388d;this[_0x32aa50(0xe1)][_0x32aa50(0x175)](_0x57e437[_0x32aa50(0x187)])[_0x32aa50(0x286)](_0x1c3214(this[_0x32aa50(0x275)]))[_0x32aa50(0x186)](async _0x34187c=>{const _0x11e8bd=_0x32aa50,_0x4726f6=_0x34187c['getUnitId'](),_0x181e23=await this[_0x11e8bd(0x226)](_0x4726f6);this[_0x11e8bd(0x273)][_0x11e8bd(0x257)](_0x181e23),this[_0x11e8bd(0xb0)]['set'](_0x4726f6,_0x181e23);}),this[_0x32aa50(0xe1)][_0x32aa50(0x175)](_0x57e437[_0x32aa50(0xf3)])[_0x32aa50(0x286)](_0x1c3214(this[_0x32aa50(0x275)]))['pipe'](_0x2b9d6e(_0x5cfacf=>!_0x5cfacf[_0x32aa50(0x262)]()[_0x32aa50(0xe3)]('__')))['subscribe'](async _0x24bdb8=>{const _0x34d7ab=_0x32aa50,_0x196fd4=_0x24bdb8[_0x34d7ab(0x262)](),_0x5d3ddf=await this['_startDocCollabCursor'](_0x196fd4);this[_0x34d7ab(0x273)][_0x34d7ab(0x257)](_0x5d3ddf),this['_entities'][_0x34d7ab(0x261)](_0x196fd4,_0x5d3ddf);}),_0x309186(this[_0x32aa50(0xe1)][_0x32aa50(0x26f)](_0x57e437[_0x32aa50(0xf3)]),this[_0x32aa50(0xe1)]['getTypeOfUnitDisposed$'](_0x57e437[_0x32aa50(0x187)]))[_0x32aa50(0x286)](_0x1c3214(this['dispose$']))[_0x32aa50(0x186)](_0x228a74=>{const _0x35f19b=_0x32aa50,_0x33640c=_0x228a74[_0x35f19b(0x262)](),_0x3a0f41=this[_0x35f19b(0xb0)]['get'](_0x33640c);_0x3a0f41&&(_0x3a0f41[_0x35f19b(0x1de)](),this[_0x35f19b(0xb0)][_0x35f19b(0x277)](_0x33640c));});}async[_0x3e388d(0x226)](_0x2e34f5){const _0x17dc95=_0x3e388d,_0x4653b0=await this[_0x17dc95(0x1b1)]['requireSession'](_0x2e34f5),_0x3ee817=this[_0x17dc95(0x199)][_0x17dc95(0x260)](we,_0x2e34f5,_0x4653b0);return _0x3ee817[_0x17dc95(0xd5)](),_0x3ee817;}async[_0x3e388d(0xfb)](_0x4dc034){const _0x5cb2c1=_0x3e388d,_0x22dde5=await this[_0x5cb2c1(0x1b1)]['requireSession'](_0x4dc034),_0x3813e5=this[_0x5cb2c1(0x199)][_0x5cb2c1(0x260)](Ne,_0x4dc034,_0x22dde5);return _0x3813e5[_0x5cb2c1(0xd5)](),_0x3813e5;}};H=bi([me(0x0,_0x4111ca),me(0x1,_0x451e45(_0x573e99)),me(0x2,_0x451e45(_0x226b9b))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x20d55b,_0x15da32){const _0x5566f1=_0x3e388d;let {radius:_0x549b00,width:_0x2f68c9,height:_0x1af27e}=_0x15da32;_0x549b00=_0x549b00!=null?_0x549b00:0x0,_0x2f68c9=_0x2f68c9!=null?_0x2f68c9:0x1e,_0x1af27e=_0x1af27e!=null?_0x1af27e:0x1e;let _0x42ea32=0x0,_0x9def89=0x0,_0x32262d=0x0;_0x42ea32=_0x9def89=_0x32262d=Math[_0x5566f1(0x231)](_0x549b00,_0x2f68c9/0x2,_0x1af27e/0x2),_0x20d55b[_0x5566f1(0x19d)](),_0x20d55b[_0x5566f1(0x1a9)](_0x42ea32,0x0),_0x20d55b[_0x5566f1(0x198)](_0x2f68c9-_0x9def89,0x0),_0x20d55b[_0x5566f1(0xe9)](_0x2f68c9-_0x9def89,_0x9def89,_0x9def89,Math['PI']*0x3/0x2,0x0,!0x1),_0x20d55b['lineTo'](_0x2f68c9,_0x1af27e-_0x32262d),_0x20d55b['arc'](_0x2f68c9-_0x32262d,_0x1af27e-_0x32262d,_0x32262d,0x0,Math['PI']/0x2,!0x1),_0x20d55b[_0x5566f1(0x198)](0x0,_0x1af27e),_0x20d55b[_0x5566f1(0x198)](0x0,_0x42ea32),_0x20d55b['arc'](_0x42ea32,_0x42ea32,_0x42ea32,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20d55b['closePath'](),_0x15da32[_0x5566f1(0x17a)]&&(_0x20d55b[_0x5566f1(0x1d5)](),_0x20d55b[_0x5566f1(0x1a1)]=_0x15da32[_0x5566f1(0x17a)],_0x15da32[_0x5566f1(0xa5)]===_0x5566f1(0xaa)?_0x20d55b[_0x5566f1(0x17a)](_0x5566f1(0xaa)):_0x20d55b[_0x5566f1(0x17a)](),_0x20d55b['restore']());}class ue extends _0x51909b{constructor(_0x1e3e69,_0x5a8e59){const _0x6fb5e3=_0x3e388d;super(_0x1e3e69,_0x5a8e59),h(this,_0x6fb5e3(0x13b)),h(this,_0x6fb5e3(0x1e5)),(this[_0x6fb5e3(0x13b)]=_0x5a8e59==null?void 0x0:_0x5a8e59[_0x6fb5e3(0x13b)],this[_0x6fb5e3(0x1e5)]=_0x5a8e59==null?void 0x0:_0x5a8e59['text']);}static['drawWith'](_0x174343,_0x228c7f){const _0x9d8e98=_0x3e388d,{text:_0x220396,color:_0x4dc3e7}=_0x228c7f;_0x174343['save'](),_0x174343['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x17fbb9=_0x174343['measureText'](_0x220396)[_0x9d8e98(0xb4)],_0x4572e1=Math[_0x9d8e98(0x231)](_0x17fbb9+0x2*ge,et);Oi(_0x174343,{'height':te,'radius':0x4,'width':_0x4572e1,'fill':_0x4dc3e7}),_0x174343[_0x9d8e98(0x1a1)]=_0x9d8e98(0x180);const _0x47f693=ge,_0x4d4f5c=te-Ei,_0x5cb576=et-0x2*ge;if(_0x17fbb9>_0x5cb576){let _0x2c8891='',_0x771810=0x0;for(const _0x12bbea of _0x220396){const _0x25ff1e=_0x174343[_0x9d8e98(0xfc)](_0x12bbea)[_0x9d8e98(0xb4)];if(_0x771810+_0x25ff1e<=_0x5cb576-_0x174343[_0x9d8e98(0xfc)]('...')['width'])_0x2c8891+=_0x12bbea,_0x771810+=_0x25ff1e;else{_0x2c8891+='...';break;}}_0x174343['fillText'](_0x2c8891,_0x47f693,_0x4d4f5c);}else _0x174343['fillText'](_0x220396,_0x47f693,_0x4d4f5c);_0x174343[_0x9d8e98(0x10d)]();}['_draw'](_0x407bd4){ue['drawWith'](_0x407bd4,this);}}const ve='collab-text-anchor-',Ti=_0x3e388d(0x22a),Ri='collab-rect-range-',V=0x6,Di=1.5,Ie=0x4,Pi=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x484987,_0x5f534d,_0x3bee9e,_0x4385c3){const _0x509f34=_0x3e388d;h(this,_0x509f34(0x250),[]),h(this,'_anchor',null),h(this,_0x509f34(0x24d),null),h(this,_0x509f34(0x1ca),null),h(this,_0x509f34(0x1fc),null),h(this,_0x509f34(0x190),null),(this[_0x509f34(0xc0)]=_0x484987,this[_0x509f34(0x116)]=_0x5f534d,this['_docSkeleton']=_0x3bee9e,this[_0x509f34(0x23f)]=_0x4385c3,this[_0x509f34(0x1d4)]());}set[_0x3e388d(0x156)](_0x3409db){const _0x57848a=_0x3e388d;_0x3409db?(this[_0x57848a(0x1ca)]&&this[_0x57848a(0x1ca)][_0x57848a(0xaf)](),this['_textBubble']&&this[_0x57848a(0x24d)]['show']()):(this[_0x57848a(0x1ca)]&&this[_0x57848a(0x1ca)]['show'](),this['_textBubble']&&this[_0x57848a(0x24d)][_0x57848a(0xaf)]());}[_0x3e388d(0x1de)](){const _0x57b9eb=_0x3e388d;for(const _0x2649b1 of this[_0x57b9eb(0x250)])_0x2649b1[_0x57b9eb(0x1de)]();this['_textBubble']&&this['_textBubble'][_0x57b9eb(0x1de)](),this['_anchorDot']&&this[_0x57b9eb(0x1ca)][_0x57b9eb(0x1de)](),this[_0x57b9eb(0x17b)]&&this[_0x57b9eb(0x17b)][_0x57b9eb(0x1de)](),this[_0x57b9eb(0x190)]&&this[_0x57b9eb(0x190)]();}[_0x3e388d(0x1d4)](){const _0x5e9c8b=_0x3e388d;var _0x22174c;const {_docSkeleton:_0x207acb,_document:_0x42b698}=this,{color:_0x511045,name:_0x1ac196,ranges:_0x541dca}=this[_0x5e9c8b(0xc0)],_0x373ead=_0x42b698['getOffsetConfig'](),{docsLeft:_0x25400f,docsTop:_0x1e97bf}=_0x373ead,_0x598559=new _0x2d2e62(_0x373ead,_0x207acb);for(const {startOffset:_0x2a1a41,endOffset:_0x1fcab4,rangeType:_0x25f20a,segmentId:_0xe38d59,segmentPage:_0x51a31a,collapsed:_0x5c5492,isActive:_0x332100}of _0x541dca){const _0x1be7b8=_0x207acb[_0x5e9c8b(0x24f)](_0x2a1a41,!0x0,_0xe38d59,_0x51a31a);let _0x40e81c=_0x207acb[_0x5e9c8b(0x24f)](_0x1fcab4,!0x0,_0xe38d59,_0x51a31a);if(_0x40e81c==null&&(_0x40e81c=_0x207acb[_0x5e9c8b(0x24f)](_0x1fcab4-0x1,!0x1,_0xe38d59,_0x51a31a)),_0x332100){const {contentBoxPointGroup:_0x1a00e8}=_0x598559[_0x5e9c8b(0x283)](_0x40e81c,_0x40e81c);if(_0x1a00e8[_0x5e9c8b(0x15c)]===0x0)continue;this[_0x5e9c8b(0x15f)](_0x511045,_0x1a00e8,_0x25400f,_0x1e97bf,_0x1ac196),this['_eventUnsubscribe']=this[_0x5e9c8b(0x20c)]();}if(_0x1be7b8&&_0x40e81c){if(_0x25f20a===_0x5420d9[_0x5e9c8b(0x110)]){const _0x40c7ed=new _0x3d7378(_0x373ead,_0x207acb),{pointGroup:_0x1068e1}=(_0x22174c=_0x40c7ed[_0x5e9c8b(0x283)](_0x1be7b8,_0x40e81c))!=null?_0x22174c:{};if(_0x1068e1==null||_0x1068e1[_0x5e9c8b(0x15c)]===0x0)continue;this[_0x5e9c8b(0x1c3)](_0x511045,_0x1068e1,_0x25400f,_0x1e97bf);}else{if(!_0x5c5492){const {borderBoxPointGroup:_0x172a7a}=_0x598559['getRangePointData'](_0x1be7b8,_0x40e81c);if(_0x172a7a[_0x5e9c8b(0x15c)]===0x0)continue;this['_drawTextRange'](_0x511045,_0x172a7a,_0x25400f,_0x1e97bf);}}}}}[_0x3e388d(0x15f)](_0x1a92df,_0x2c0d32,_0x274a3d,_0x55c403,_0xb7ee78){const _0x23016a=_0x3e388d,_0x4525fb=this[_0x23016a(0xab)](_0x2c0d32),{left:_0x26bbaa,top:_0x4d492b,height:_0x52dbab}=_0x4525fb,_0x47ccd8=this[_0x23016a(0x1bf)](),_0x7b8a4e=Pi/_0x47ccd8,_0x578460=new _0x1022b3(ve+_0x281d76[_0x23016a(0x144)](V),{'left':_0x26bbaa+_0x274a3d-_0x7b8a4e,'top':_0x4d492b+_0x55c403,'height':_0x52dbab,'width':Di,'fill':_0x1a92df||_0x4ccde2(_0x25888c[_0x23016a(0x159)],0x0),'strokeWidth':_0x7b8a4e,'stroke':Mi,'evented':!0x0});this[_0x23016a(0x17b)]=_0x578460,this['_scene'][_0x23016a(0x238)](_0x578460,_0x48545a);const _0x1f2a0b=new _0x1022b3(ve+_0x281d76['generateRandomId'](V),{'left':_0x26bbaa+_0x274a3d-_0x7b8a4e,'top':_0x4d492b+_0x55c403-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1a92df||_0x4ccde2(_0x25888c[_0x23016a(0x159)],0x0),'strokeWidth':0x0,'stroke':_0x1a92df||_0x4ccde2(_0x25888c[_0x23016a(0x159)],0x0),'evented':!0x1});this[_0x23016a(0x1ca)]=_0x1f2a0b,this[_0x23016a(0x116)][_0x23016a(0x238)](_0x1f2a0b,_0x48545a);const _0x3c7514=new ue(ve+_0x281d76[_0x23016a(0x144)](V),{'left':_0x26bbaa+_0x274a3d-_0x7b8a4e,'top':_0x4d492b+_0x55c403-te,'text':_0xb7ee78,'color':_0x1a92df});this[_0x23016a(0x24d)]=_0x3c7514,this[_0x23016a(0x116)][_0x23016a(0x238)](_0x3c7514,_0x48545a),this[_0x23016a(0x156)]=!0x1;}[_0x3e388d(0x20c)](){const _0x452d79=_0x3e388d,_0x27b021=this[_0x452d79(0x17b)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x63b4=_0x452d79;this[_0x63b4(0x156)]=!0x0;}),_0x300ae7=this[_0x452d79(0x17b)][_0x452d79(0x132)]['subscribeEvent'](()=>{const _0x109f94=_0x452d79;this[_0x109f94(0x1fc)]&&clearTimeout(this['_hideTimer']),this[_0x109f94(0x1fc)]=setTimeout(()=>{const _0x464cbe=_0x109f94;this[_0x464cbe(0x156)]=!0x1;},0x7d0);});return()=>{const _0x5ad645=_0x452d79;_0x27b021['unsubscribe'](),_0x300ae7[_0x5ad645(0xfe)]();};}['_drawTextRange'](_0x2c7f6f,_0x4e413e,_0x164a0e,_0x35b5b9){const _0x45600c=_0x3e388d,_0x28ec07=new _0x21e09a(_0x2c7f6f)['setAlpha'](0.2)[_0x45600c(0x14c)](),_0x90a6d5=new _0x36d367(Ti+_0x281d76[_0x45600c(0x144)](V),{'pointsGroup':_0x4e413e,'fill':_0x28ec07||_0x4ccde2(_0x25888c[_0x45600c(0x159)],0.2),'left':_0x164a0e,'top':_0x35b5b9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x45600c(0x1e8)](_0x90a6d5),this[_0x45600c(0x116)][_0x45600c(0x238)](_0x90a6d5,_0x48545a);}[_0x3e388d(0x1c3)](_0x345408,_0x5b6ee6,_0xcfae87,_0x12ae76){const _0x112cf6=_0x3e388d,_0x36a518=new _0x21e09a(_0x345408)[_0x112cf6(0x1e6)](0.2)[_0x112cf6(0x14c)](),_0x51f571=new _0x36d367(Ri+_0x281d76[_0x112cf6(0x144)](V),{'pointsGroup':_0x5b6ee6,'fill':_0x36a518||_0x4ccde2(_0x25888c[_0x112cf6(0x159)],0.2),'left':_0xcfae87,'top':_0x12ae76,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x112cf6(0x250)][_0x112cf6(0x1e8)](_0x51f571),this[_0x112cf6(0x116)][_0x112cf6(0x238)](_0x51f571,_0x48545a);}[_0x3e388d(0xab)](_0x51f8ca){const _0x25f532=_0x51f8ca[0x0],_0x2f0cee=_0x25f532[0x0],_0x5b0a7e=_0x25f532[0x2],{x:_0x2d09bb,y:_0x5a47ca}=_0x2f0cee,{x:_0x35df2a,y:_0x3cc672}=_0x5b0a7e;return{'left':_0x2d09bb,'top':_0x5a47ca,'width':_0x35df2a-_0x2d09bb,'height':_0x3cc672-_0x5a47ca};}['_getScale'](){const _0x32ca9f=_0x3e388d,{scaleX:_0x2da080,scaleY:_0x8981b6}=this[_0x32ca9f(0x116)]['getAncestorScale']();return Math[_0x32ca9f(0x1dc)](_0x2da080,_0x8981b6);}}var Ni=Object[_0x3e388d(0x10e)],wi=(_0x5d0b69,_0x73a7c0,_0x4d6cd1,_0x51a2a5)=>{const _0x24ed2a=_0x3e388d;for(var _0x342d3b=_0x51a2a5>0x1?void 0x0:_0x51a2a5?Ni(_0x73a7c0,_0x4d6cd1):_0x73a7c0,_0x2dbc0d=_0x5d0b69[_0x24ed2a(0x15c)]-0x1,_0x24b7cb;_0x2dbc0d>=0x0;_0x2dbc0d--)(_0x24b7cb=_0x5d0b69[_0x2dbc0d])&&(_0x342d3b=_0x24b7cb(_0x342d3b)||_0x342d3b);return _0x342d3b;},q=(_0x5759f8,_0x10544b)=>(_0x316df1,_0x2a4633)=>_0x10544b(_0x316df1,_0x2a4633,_0x5759f8);let Ue=class extends _0x71590{constructor(_0x5ca3cc,_0x508c18,_0x4e1be3,_0x3c3101,_0x2736ed){const _0x162665=_0x3e388d;super(),h(this,_0x162665(0x10c),[]),h(this,_0x162665(0x168),[]),(this[_0x162665(0xa8)]=_0x5ca3cc,this[_0x162665(0x15a)]=_0x508c18,this[_0x162665(0xb7)]=_0x4e1be3,this[_0x162665(0x228)]=_0x3c3101,this[_0x162665(0x122)]=_0x2736ed,this[_0x162665(0xca)]());}[_0x3e388d(0xca)](){const _0x32110a=_0x3e388d,_0x28f349=this[_0x32110a(0xa8)][_0x32110a(0x139)],_0x41677b=this[_0x32110a(0x15a)];this['disposeWithMe'](_0xc685ef([this['_collabCursorController'][_0x32110a(0x22d)](_0x28f349),this[_0x32110a(0x122)]['currentTheme$']])[_0x32110a(0x286)](_0x118d9c(([_0xca9b33,_0x36a3c0])=>({'skeleton':_0x41677b['getSkeleton'](),'cursors':[..._0xca9b33['values']()][_0x32110a(0x143)](_0x44cc1b=>({..._0x44cc1b,'color':_0x36a3c0[_0x44cc1b[_0x32110a(0x13b)]]}))})))['subscribe'](_0x3ebdb9=>{const _0x542d3f=_0x32110a;if(this['_removeCollabCursors'](),_0x3ebdb9){const {skeleton:_0x2591d1,cursors:_0x38a6ce}=_0x3ebdb9;this[_0x542d3f(0x9a)](_0x2591d1,_0x38a6ce);}})),this[_0x32110a(0x1ba)](),this[_0x32110a(0x25b)]();}[_0x3e388d(0x9a)](_0x3d8f20,_0x153bf6){const _0x4f7ca9=_0x3e388d,{scene:_0x3a8071,mainComponent:_0x55d2ac}=this['_context'],_0x512ccd=_0x153bf6[_0x4f7ca9(0x172)](_0x2b96aa=>new tt(_0x2b96aa,_0x3a8071,_0x3d8f20,_0x55d2ac));this[_0x4f7ca9(0x10c)]=_0x512ccd,this[_0x4f7ca9(0x168)]=_0x153bf6;}['_refreshCollabCursors'](){const _0xfbbec4=_0x3e388d;this[_0xfbbec4(0x194)]();const {scene:_0x4c5aaf,mainComponent:_0x3792ee}=this[_0xfbbec4(0xa8)],_0x555181=this[_0xfbbec4(0x15a)]['getSkeleton'](),_0x3cfa3c=this[_0xfbbec4(0x168)][_0xfbbec4(0x172)](_0x1a9165=>new tt(_0x1a9165,_0x4c5aaf,_0x555181,_0x3792ee));this[_0xfbbec4(0x10c)]=_0x3cfa3c;}['_removeCollabCursors'](){const _0x3c47f5=_0x3e388d;this[_0x3c47f5(0x10c)]['forEach'](_0x5cac60=>_0x5cac60[_0x3c47f5(0x1de)]()),this[_0x3c47f5(0x10c)]=[];}['_initCommandExecutedListener'](){const _0x1a1fa9=_0x3e388d,_0x403be5=[_0x1c281e['id']];this['disposeWithMe'](this[_0x1a1fa9(0x228)][_0x1a1fa9(0x11f)](_0xa5f029=>{const _0x4f913a=_0x1a1fa9;_0x403be5['includes'](_0xa5f029['id'])&&_0xa5f029['params']['unitId']===this[_0x4f913a(0xa8)][_0x4f913a(0x139)]&&this['_refreshCollabCursors']();}));}[_0x3e388d(0x1ba)](){const _0x16bed6=_0x3e388d;this[_0x16bed6(0x229)](_0x1e3f7(this[_0x16bed6(0xa8)][_0x16bed6(0x255)]['onTransformChange$'])[_0x16bed6(0x286)](_0x4fbdb6(_0x552cf1=>_0x552cf1['type']===_0x58b9cf[_0x16bed6(0x23b)]),_0x207d6c(0x10))[_0x16bed6(0x186)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([q(0x1,_0x451e45(_0x592180)),q(0x2,_0x451e45(H)),q(0x3,_0xf7f849),q(0x4,_0x451e45(_0x265c36))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x51909b{constructor(_0x544dbf,_0xa1ca12){const _0x567467=_0x3e388d;super(_0x544dbf,_0xa1ca12),h(this,_0x567467(0x13c)),h(this,'_hovered',!0x1),h(this,_0x567467(0x181)),h(this,'_name',''),h(this,_0x567467(0x227),_0x567467(0x204)),h(this,'_backgroundColor'),(_0xa1ca12&&this['setShapeProps'](_0xa1ca12),this[_0x567467(0xb1)][_0x567467(0x205)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x567467(0x132)][_0x567467(0x205)](()=>this[_0x567467(0x99)]({'hovered':!0x1})));}[_0x3e388d(0x99)](_0x300c40){const _0x5a67d5=_0x3e388d;var _0x28e907,_0xcadeb8,_0x4c9b46,_0x4974b1,_0x2d0a5f,_0x2bc19d;this[_0x5a67d5(0x13c)]=(_0x28e907=_0x300c40[_0x5a67d5(0x13b)])!=null?_0x28e907:this[_0x5a67d5(0x13c)],this['_hovered']=(_0xcadeb8=_0x300c40[_0x5a67d5(0x18a)])!=null?_0xcadeb8:this[_0x5a67d5(0x141)],this['_range']=(_0x4c9b46=_0x300c40['range'])!=null?_0x4c9b46:this[_0x5a67d5(0x181)],this[_0x5a67d5(0x1db)]=(_0x4974b1=_0x300c40[_0x5a67d5(0xb2)])!=null?_0x4974b1:this[_0x5a67d5(0x1db)],this[_0x5a67d5(0x227)]=(_0x2d0a5f=_0x300c40[_0x5a67d5(0x272)])!=null?_0x2d0a5f:this[_0x5a67d5(0x227)],this[_0x5a67d5(0x224)]=(_0x2bc19d=_0x300c40[_0x5a67d5(0xf5)])!=null?_0x2bc19d:this[_0x5a67d5(0x224)],this[_0x5a67d5(0x160)]({'width':_0x300c40[_0x5a67d5(0xb4)],'height':_0x300c40['height']});}[_0x3e388d(0x11c)](_0x4177cb){const _0x2b9283=_0x3e388d,{row:_0x22f721,column:_0x10d7f0}=_0x4177cb;if(_0x22f721>=this[_0x2b9283(0x181)][_0x2b9283(0x18f)]&&_0x22f721<=this[_0x2b9283(0x181)][_0x2b9283(0x1ff)]&&_0x10d7f0>=this['_range'][_0x2b9283(0x207)]&&_0x10d7f0<=this[_0x2b9283(0x181)][_0x2b9283(0x155)]){this[_0x2b9283(0x99)]({'hovered':!0x0});return;}this[_0x2b9283(0x99)]({'hovered':!0x1});}[_0x3e388d(0x259)](_0x598139){return!0x1;}[_0x3e388d(0x264)](_0x4b1b65){const _0x35dc11=_0x3e388d;_0x1022b3[_0x35dc11(0x108)](_0x4b1b65,{'width':this[_0x35dc11(0xb4)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x35dc11(0x13c)],'evented':!0x1,'fill':this[_0x35dc11(0x224)]}),this[_0x35dc11(0x141)]&&(_0x4b1b65[_0x35dc11(0x1d5)](),_0x4b1b65[_0x35dc11(0x16a)](0x1,0x0,0x0,0x1,this[_0x35dc11(0xb4)],this[_0x35dc11(0x227)]===_0x35dc11(0x219)?0x0:-0x14),ue[_0x35dc11(0x108)](_0x4b1b65,{'text':this[_0x35dc11(0x1db)],'color':this[_0x35dc11(0x13c)]}),_0x4b1b65[_0x35dc11(0x10d)]());}}var yi=Object[_0x3e388d(0x10e)],$i=(_0x4f0fe7,_0xa69a2,_0x1d40cc,_0x5d0fb9)=>{const _0x54c86e=_0x3e388d;for(var _0x13585f=_0x5d0fb9>0x1?void 0x0:_0x5d0fb9?yi(_0xa69a2,_0x1d40cc):_0xa69a2,_0x4d2cfe=_0x4f0fe7[_0x54c86e(0x15c)]-0x1,_0x54ebe0;_0x4d2cfe>=0x0;_0x4d2cfe--)(_0x54ebe0=_0x4f0fe7[_0x4d2cfe])&&(_0x13585f=_0x54ebe0(_0x13585f)||_0x13585f);return _0x13585f;},pe=(_0xc0d592,_0x5700f1)=>(_0x71815e,_0x138550)=>_0x5700f1(_0x71815e,_0x138550,_0xc0d592);const xi=0x1389;let Le=class extends _0x71590{constructor(_0x229904,_0x2a3d7e,_0x3f1359,_0x38bec4){const _0x59759c=_0x3e388d;super(),h(this,'_cursors',new Set()),h(this,_0x59759c(0x19f),null),(this[_0x59759c(0xa8)]=_0x229904,this[_0x59759c(0x14d)]=_0x2a3d7e,this[_0x59759c(0xb7)]=_0x3f1359,this['_themeService']=_0x38bec4,this[_0x59759c(0xca)]());}[_0x3e388d(0xca)](){const _0x3ff4bf=_0x3e388d;this[_0x3ff4bf(0x14d)][_0x3ff4bf(0x27a)][_0x3ff4bf(0x286)](_0xdec47b(this['dispose$']),_0x24c3ff(_0x4e1d91=>{const _0x42072e=_0x3ff4bf;if(_0x4e1d91){const _0x25c6dc=_0x4e1d91[_0x42072e(0xea)];return _0xc685ef(this[_0x42072e(0xb7)][_0x42072e(0x22d)](this['_context'][_0x42072e(0x139)]),this[_0x42072e(0x122)]['currentTheme$'])['pipe'](_0x118d9c(([_0x413cc1,_0x8207ed])=>{const _0x1188c4=_0x42072e,_0x4ad981=new Map();return _0x413cc1[_0x1188c4(0x243)]((_0x34ad77,_0x138166)=>{const _0xb76870=_0x1188c4;if(_0x34ad77[_0xb76870(0x267)]===_0x25c6dc){const _0xcfc960={..._0x34ad77};_0xcfc960[_0xb76870(0x13b)]=_0x8207ed[_0x34ad77['color']],_0x4ad981['set'](_0x138166,_0xcfc960);}}),{'skeleton':_0x4e1d91,'cursors':_0x4ad981};}));}return _0x1f6231({'skeleton':null,'cursors':new Map()});}))[_0x3ff4bf(0x186)](({skeleton:_0x5f2e59,cursors:_0x5c994c})=>{const _0x252050=_0x3ff4bf;this[_0x252050(0x194)](),_0x5f2e59&&this[_0x252050(0x9a)](_0x5f2e59,_0x5c994c);}),this[_0x3ff4bf(0x14d)]['currentSkeleton$'][_0x3ff4bf(0x186)](_0x2c0d07=>{const _0x11eb13=_0x3ff4bf;if(_0x2c0d07==null)return;const {skeleton:_0x47d49a}=_0x2c0d07,{scene:_0xf259b7}=this[_0x11eb13(0xa8)];_0xf259b7['onPointerMove$'][_0x11eb13(0x205)](_0x12cfa8(_0x21f002=>{const _0x22d990=_0x11eb13;var _0x523d91,_0x4d8dfc;const {offsetX:_0x52ecb3,offsetY:_0x1eecc3}=_0x21f002,{x:_0x2b1aa2,y:_0x42185d}=_0xf259b7[_0x22d990(0xc5)](_0x2888a3[_0x22d990(0x24a)]([_0x52ecb3,_0x1eecc3])),{scaleX:_0x2b2682,scaleY:_0x34d972}=_0xf259b7[_0x22d990(0x1e0)](),_0x58288e=_0xf259b7[_0x22d990(0x11a)](_0x52488c[_0x22d990(0x236)]),_0x49a3d8=_0xf259b7[_0x22d990(0xce)](_0x2888a3[_0x22d990(0x24a)]([_0x2b1aa2,_0x42185d]),_0x58288e),_0x3ccfd6=_0x47d49a[_0x22d990(0x1fe)](_0x52ecb3,_0x1eecc3,_0x2b2682,_0x34d972,_0x49a3d8);((_0x523d91=this['_lastPointer'])==null?void 0x0:_0x523d91[_0x22d990(0x213)])===_0x3ccfd6[_0x22d990(0x213)]&&((_0x4d8dfc=this[_0x22d990(0x19f)])==null?void 0x0:_0x4d8dfc['row'])===_0x3ccfd6[_0x22d990(0xdf)]||this[_0x22d990(0x168)][_0x22d990(0x243)](_0x2b93ab=>{const _0x4cb156=_0x22d990;_0x2b93ab[_0x4cb156(0x11c)](_0x3ccfd6);});},0x64));});}[_0x3e388d(0x9a)](_0x59d17e,_0x5681fe){const _0xb98096=_0x3e388d;var _0x3a5398;const _0x33fad5=(_0x3a5398=this[_0xb98096(0x14d)][_0xb98096(0x182)]())==null?void 0x0:_0x3a5398[_0xb98096(0x251)];if(!_0x33fad5)return;const _0x550b06=this['_getSheetObject']();if(!_0x550b06)return;this[_0xb98096(0x168)][_0xb98096(0x243)](_0x27b4e7=>{const _0x42200e=_0xb98096;_0x27b4e7[_0x42200e(0x176)]();});const {scene:_0x6726f0}=_0x550b06,_0x2d7ce3=ki(Array['from'](_0x5681fe['values']()))['map'](_0x26f47d=>{const _0x193d9a=_0xb98096,{color:_0x2734b8,range:_0x4352f4,name:_0x5afe9f,selection:_0x1d0c48,sheetID:_0x4bc7f8}=_0x26f47d,{startColumn:_0x5ab03a,startRow:_0x41684f,endColumn:_0x220056,endRow:_0x3de578}=_0x4352f4,_0x100b1e=_0x48fa07(_0x41684f,_0x5ab03a,_0x6726f0,_0x33fad5),_0x4f3481=_0x48fa07(_0x3de578,_0x220056,_0x6726f0,_0x33fad5),{columnHeaderHeightAndMarginTop:_0x406058}=_0x33fad5,{startX:_0x23606b,startY:_0xf1654e}=_0x100b1e,{endX:_0x2779c7,endY:_0x87b7b9}=_0x4f3481,_0x409e9a=_0x2779c7-_0x23606b,_0x148083=_0x87b7b9-_0xf1654e,_0x222331={'labelPosition':_0xf1654e-_0x406058>=te?_0x193d9a(0x204):'bottom','sheetID':_0x4bc7f8,'range':_0x4352f4,'color':_0x2734b8,'name':_0x5afe9f,'selection':_0x1d0c48,'left':_0x23606b,'top':_0xf1654e,'width':_0x409e9a,'height':_0x148083,'evented':!0x1,'zIndex':xi};return new Ai(_0x5afe9f,_0x222331);});_0x6726f0['addObjects'](_0x2d7ce3,Ui),this['_cursors']=new Set(_0x2d7ce3);}[_0x3e388d(0x194)](){const _0x50b8c1=_0x3e388d;var _0x1a96c4;(_0x1a96c4=this[_0x50b8c1(0x168)])==null||_0x1a96c4[_0x50b8c1(0x243)](_0x90e4f8=>_0x90e4f8[_0x50b8c1(0x1de)]());}['_getSheetObject'](){const _0x4ccf6d=_0x3e388d;return _0x5e11cb(this['_context'][_0x4ccf6d(0x1b5)],this[_0x4ccf6d(0xa8)]);}};Le=$i([pe(0x1,_0x451e45(_0x4e6cb6)),pe(0x2,_0x451e45(H)),pe(0x3,_0x451e45(_0x265c36))],Le);function ki(_0x4e2ba9){const _0x278a9a=_0x3e388d,_0x59794d=new Map();return _0x4e2ba9[_0x278a9a(0x243)](_0x5e781a=>{const _0x1b4766=_0x278a9a;if(_0x59794d['has'](_0x5e781a[_0x1b4766(0x1a3)])){const _0xd63b90=_0x59794d[_0x1b4766(0x230)](_0x5e781a['selection']);_0xd63b90['name']+=',\x20'+_0x5e781a[_0x1b4766(0xb2)];}else _0x59794d[_0x1b4766(0x261)](_0x5e781a[_0x1b4766(0x1a3)],_0x5e781a);}),Array[_0x278a9a(0x233)](_0x59794d['values']());}var I=function(){const _0x3c6596=_0x3e388d;return I=Object[_0x3c6596(0x214)]||function(_0x18c1ff){const _0x4b1637=_0x3c6596;for(var _0x4928d1,_0x13593c=0x1,_0x23cf85=arguments[_0x4b1637(0x15c)];_0x13593c<_0x23cf85;_0x13593c++){_0x4928d1=arguments[_0x13593c];for(var _0x25e896 in _0x4928d1)Object[_0x4b1637(0x21a)][_0x4b1637(0x185)][_0x4b1637(0x145)](_0x4928d1,_0x25e896)&&(_0x18c1ff[_0x25e896]=_0x4928d1[_0x25e896]);}return _0x18c1ff;},I[_0x3c6596(0xcf)](this,arguments);},Bi=function(_0x20f1d9,_0x5e0b15){const _0x49148d=_0x3e388d;var _0x55e241={};for(var _0x52806d in _0x20f1d9)Object['prototype'][_0x49148d(0x185)]['call'](_0x20f1d9,_0x52806d)&&_0x5e0b15[_0x49148d(0x1da)](_0x52806d)<0x0&&(_0x55e241[_0x52806d]=_0x20f1d9[_0x52806d]);if(_0x20f1d9!=null&&typeof Object[_0x49148d(0x26d)]==_0x49148d(0x1ac)){for(var _0x188e76=0x0,_0x52806d=Object[_0x49148d(0x26d)](_0x20f1d9);_0x188e76<_0x52806d[_0x49148d(0x15c)];_0x188e76++)_0x5e0b15[_0x49148d(0x1da)](_0x52806d[_0x188e76])<0x0&&Object['prototype'][_0x49148d(0x1cd)]['call'](_0x20f1d9,_0x52806d[_0x188e76])&&(_0x55e241[_0x52806d[_0x188e76]]=_0x20f1d9[_0x52806d[_0x188e76]]);}return _0x55e241;},We=_0x1f9f36(function(_0x25be8b,_0x34a746){const _0x41e289=_0x3e388d;var _0x2340b3=_0x25be8b[_0x41e289(0x222)],_0x4bb7cb=_0x25be8b['id'],_0x6113ba=_0x25be8b['className'],_0x138aec=_0x25be8b[_0x41e289(0x152)],_0x34fbd1=Bi(_0x25be8b,[_0x41e289(0x222),'id','className',_0x41e289(0x152)]),_0x4b618f=_0x41e289(0xc6)[_0x41e289(0x1b8)](_0x4bb7cb,'\x20')['concat'](_0x6113ba||'')[_0x41e289(0x1c1)](),_0x1f7ca8=_0x1be905('_'['concat'](Wi()));return Pt(_0x2340b3,''[_0x41e289(0x1b8)](_0x4bb7cb),{'defIds':_0x2340b3[_0x41e289(0xef)],'idSuffix':_0x1f7ca8[_0x41e289(0x287)]},I({'ref':_0x34a746,'className':_0x4b618f},_0x34fbd1),_0x138aec);});function Pt(_0x339625,_0xa4f167,_0x2edce7,_0x22ac54,_0x322cd0){const _0x33a82d=_0x3e388d;return _0xab44ed(_0x339625[_0x33a82d(0xa0)],I(I({'key':_0xa4f167},Hi(_0x339625,_0x2edce7,_0x322cd0)),_0x22ac54),(ji(_0x339625,_0x2edce7)[_0x33a82d(0x1f4)]||[])[_0x33a82d(0x172)](function(_0x4bb981,_0xd5ae05){const _0x13e360=_0x33a82d;return Pt(_0x4bb981,''[_0x13e360(0x1b8)](_0xa4f167,'-')['concat'](_0x339625['tag'],'-')[_0x13e360(0x1b8)](_0xd5ae05),_0x2edce7,void 0x0,_0x322cd0);}));}function Hi(_0xf3dfb8,_0x4d6891,_0x355678){const _0x364a37=_0x3e388d;var _0x31e8a6=I({},_0xf3dfb8[_0x364a37(0x281)]);_0x355678!=null&&_0x355678[_0x364a37(0x1a8)]&&_0x31e8a6['fill']===_0x364a37(0x1a8)&&(_0x31e8a6[_0x364a37(0x17a)]=_0x355678[_0x364a37(0x1a8)]),_0xf3dfb8[_0x364a37(0xa0)]===_0x364a37(0xe6)&&_0x31e8a6['id']&&(_0x31e8a6['id']=_0x31e8a6['id']+_0x4d6891[_0x364a37(0x12a)]),Object[_0x364a37(0x192)](_0x31e8a6)['forEach'](function(_0x2be794){const _0x539801=_0x364a37;var _0x3cb2b9=_0x2be794[0x0],_0x5d3b50=_0x2be794[0x1];_0x3cb2b9==='mask'&&typeof _0x5d3b50==_0x539801(0x15d)&&(_0x31e8a6[_0x3cb2b9]=_0x5d3b50[_0x539801(0xb6)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x4d6891[_0x539801(0x12a)],')')));});var _0xaab2c=_0x4d6891['defIds'];return!_0xaab2c||_0xaab2c[_0x364a37(0x15c)]===0x0||(_0xf3dfb8['tag']===_0x364a37(0x253)&&_0x31e8a6[_0x364a37(0x130)]&&(_0x31e8a6['xlink:href']=_0x31e8a6['xlink:href']+_0x4d6891['idSuffix']),Object[_0x364a37(0x192)](_0x31e8a6)['forEach'](function(_0x21139f){const _0x3cd48d=_0x364a37;var _0x85e2a4=_0x21139f[0x0],_0x4991e5=_0x21139f[0x1];typeof _0x4991e5==_0x3cd48d(0x15d)&&(_0x31e8a6[_0x85e2a4]=_0x4991e5[_0x3cd48d(0xb6)](/url\(#(.*)\)/,_0x3cd48d(0x20d)['concat'](_0x4d6891['idSuffix'],')')));})),_0x31e8a6;}function ji(_0x57159e,_0x1668e8){const _0x358e12=_0x3e388d;var _0x4d215c,_0x42210e=_0x1668e8[_0x358e12(0xef)];return!_0x42210e||_0x42210e['length']===0x0?_0x57159e:_0x57159e[_0x358e12(0xa0)]===_0x358e12(0x102)&&(!((_0x4d215c=_0x57159e[_0x358e12(0x1f4)])===null||_0x4d215c===void 0x0)&&_0x4d215c['length'])?I(I({},_0x57159e),{'children':_0x57159e['children'][_0x358e12(0x172)](function(_0x788a42){const _0x327ad0=_0x358e12;return typeof _0x788a42[_0x327ad0(0x281)]['id']==_0x327ad0(0x15d)&&_0x42210e&&_0x42210e['indexOf'](_0x788a42[_0x327ad0(0x281)]['id'])>-0x1?I(I({},_0x788a42),{'attrs':I(I({},_0x788a42[_0x327ad0(0x281)]),{'id':_0x788a42[_0x327ad0(0x281)]['id']+_0x1668e8[_0x327ad0(0x12a)]})}):_0x788a42;})}):_0x57159e;}function Wi(){const _0x11e085=_0x3e388d;return Math[_0x11e085(0x150)]()['toString'](0x24)[_0x11e085(0xd9)](0x2,0x8);}We[_0x3e388d(0x183)]=_0x3e388d(0x252);var Fi={'tag':_0x3e388d(0xa9),'attrs':{'fill':_0x3e388d(0xcb),'viewBox':_0x3e388d(0x268),'width':_0x3e388d(0x169),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3e388d(0x1f3),'attrs':{'stroke':_0x3e388d(0x263),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3e388d(0x217),'strokeLinejoin':_0x3e388d(0x217),'strokeWidth':1.2}}]},{'tag':_0x3e388d(0x102),'attrs':{},'children':[{'tag':_0x3e388d(0x148),'attrs':{'id':_0x3e388d(0xb5)},'children':[{'tag':_0x3e388d(0x1f3),'attrs':{'fill':_0x3e388d(0x208),'d':_0x3e388d(0xf9)}}]}]}],'defIds':[_0x3e388d(0xb5)]},Mt=_0x1f9f36(function(_0xbec013,_0x57120d){const _0x3daa29=_0x3e388d;return _0xab44ed(We,Object[_0x3daa29(0x214)]({},_0xbec013,{'id':'off-line-single','ref':_0x57120d,'icon':Fi}));});Mt[_0x3e388d(0x183)]=_0x3e388d(0x235);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x3e388d(0xdd),'width':_0x3e388d(0x169),'height':_0x3e388d(0x169)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e388d(0x1e9)},'children':[{'tag':_0x3e388d(0x1f3),'attrs':{'stroke':'currentColor','d':_0x3e388d(0xbf),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3e388d(0x148),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3e388d(0x1f3),'attrs':{'fill':_0x3e388d(0x208),'d':'M0\x200H16V16H0z','transform':_0x3e388d(0x1fb)}}]}]}],'defIds':[_0x3e388d(0x234)]},Nt=_0x1f9f36(function(_0x3c01e3,_0x470776){const _0x56c0bc=_0x3e388d;return _0xab44ed(We,Object[_0x56c0bc(0x214)]({},_0x3c01e3,{'id':'on-line-single','ref':_0x470776,'icon':Yi}));});Nt[_0x3e388d(0x183)]='OnLineSingle';const Xi='univer-online-status-icon',Vi='univer-online-status-title',Gi='univer-online-status',Ki=_0x3e388d(0x10f),zi=_0x3e388d(0x202),G={'onlineStatusIcon':Xi,'onlineStatusTitle':Vi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x3f1f40){const _0x2db932=_0x3e388d;switch(_0x3f1f40){case _0x4dc1b2[_0x2db932(0xbb)]:return _0x2db932(0x15e);case _0x4dc1b2[_0x2db932(0x258)]:return'collabStatus.conflict';case _0x4dc1b2[_0x2db932(0x1a2)]:return _0x2db932(0xbc);case _0x4dc1b2[_0x2db932(0x271)]:return _0x2db932(0x14e);case _0x4dc1b2[_0x2db932(0x25c)]:case _0x4dc1b2[_0x2db932(0x9f)]:return _0x2db932(0x135);case _0x4dc1b2[_0x2db932(0x15b)]:case _0x4dc1b2[_0x2db932(0xfa)]:return _0x2db932(0xc3);}}function Zi(_0x46a5c4){const _0x6985c7=_0x3e388d,{status$:_0x12b888}=_0x46a5c4,_0x35e8d2=_0x2b6a55(_0x12b888,_0x4dc1b2[_0x6985c7(0x271)]),_0xc06a69=_0x2a782f(_0x1dc184),_0x338d16=_0x2a782f(_0x226b9b),_0x5d8d5d=_0x35e8d2!==_0x4dc1b2[_0x6985c7(0xbb)],_0x35c4a8=_0xc06a69['t'](Ji(_0x35e8d2)),_0x5ddd13=_0x46bbbf(G['onlineStatus'],{[G[_0x6985c7(0x117)]]:_0x5d8d5d,[G['offline']]:!_0x5d8d5d}),_0x12b502=_0x5d8d5d?_0x247bd0(Nt,{}):_0x247bd0(Mt,{}),_0x162fe1=_0x5bd100(()=>{_0x5d8d5d||_0x338d16['reconnect']();},[_0x5d8d5d,_0x338d16]);function _0x1e197e(){const _0x1a6849=_0x6985c7;return _0xc3f6c3(_0x1a6849(0x266),{'className':_0x46bbbf(_0x5ddd13,_0x1a6849(0x146)),'onClick':_0x162fe1,'children':[_0x247bd0('div',{'className':G['onlineStatusIcon'],'children':_0x12b502}),_0x247bd0(_0x1a6849(0x266),{'className':G['onlineStatusTitle'],'children':_0x35c4a8})]});}return _0x5d8d5d?_0x1e197e():_0x247bd0(_0x5721d5,{'title':_0xc06a69['t'](_0x6985c7(0x225)),'children':_0x1e197e()});}var qi=Object[_0x3e388d(0x10e)],Qi=(_0x4beadb,_0x5122c8,_0x3d025f,_0x4dd6b5)=>{const _0x1ff925=_0x3e388d;for(var _0x26dba0=_0x4dd6b5>0x1?void 0x0:_0x4dd6b5?qi(_0x5122c8,_0x3d025f):_0x5122c8,_0x2b6239=_0x4beadb[_0x1ff925(0x15c)]-0x1,_0x339e25;_0x2b6239>=0x0;_0x2b6239--)(_0x339e25=_0x4beadb[_0x2b6239])&&(_0x26dba0=_0x339e25(_0x26dba0)||_0x26dba0);return _0x26dba0;},Q=(_0x37b9d7,_0x3f1673)=>(_0x5425d8,_0x3d5b81)=>_0x3f1673(_0x5425d8,_0x3d5b81,_0x37b9d7);let se=class extends _0x5039df{constructor(_0x2c9b27,_0x415c5d,_0x4c0984,_0x5804f5){const _0x614ad0=_0x3e388d;super(),h(this,_0x614ad0(0x114),new _0x1b6950(_0x4dc1b2[_0x614ad0(0x271)])),(this[_0x614ad0(0xe1)]=_0x2c9b27,this[_0x614ad0(0x199)]=_0x415c5d,this['_collaborationController']=_0x4c0984,this['_uiPartsService']=_0x5804f5,this[_0x614ad0(0x1f5)](),this[_0x614ad0(0x140)]());}[_0x3e388d(0x140)](){const _0x23f19a=_0x3e388d;this['disposeWithMe'](this[_0x23f19a(0xe1)][_0x23f19a(0x126)][_0x23f19a(0x286)](_0x441807(()=>{const _0x545d0f=_0x23f19a,_0x5a80ea=this[_0x545d0f(0xe1)][_0x545d0f(0x1af)]();return _0x5a80ea?this[_0x545d0f(0x285)][_0x545d0f(0xc1)](_0x5a80ea['getUnitId']()):_0x1f6231(null);}),_0x441807(_0x249914=>_0x249914?_0x249914['status$']:_0x1f6231(_0x4dc1b2[_0x23f19a(0x271)])))[_0x23f19a(0x186)](_0x5df0a5=>{const _0x57e15f=_0x23f19a;this[_0x57e15f(0x114)][_0x57e15f(0x257)](_0x5df0a5);}));}[_0x3e388d(0x1f5)](){const _0x5eb6bc=_0x3e388d;this[_0x5eb6bc(0x229)](this['_uiPartsService'][_0x5eb6bc(0xa3)](_0x340c4e[_0x5eb6bc(0x177)],()=>_0x490bdd(en({'status$':this[_0x5eb6bc(0x114)][_0x5eb6bc(0x239)]()}),this[_0x5eb6bc(0x199)])));}};se=Qi([Q(0x0,_0x4111ca),Q(0x1,_0x451e45(_0x573e99)),Q(0x2,_0x451e45(_0x5fcf18)),Q(0x3,_0x327498)],se);function en(_0xfda601){const {status$:_0x52ff5a}=_0xfda601;return function(){return _0x247bd0(Zi,{'status$':_0x52ff5a});};}var tn=Object[_0x3e388d(0x10e)],sn=(_0x587a26,_0x3d2e40,_0x915a03,_0xbf401)=>{const _0x3e9dc2=_0x3e388d;for(var _0x4db79e=_0xbf401>0x1?void 0x0:_0xbf401?tn(_0x3d2e40,_0x915a03):_0x3d2e40,_0x5d3da3=_0x587a26[_0x3e9dc2(0x15c)]-0x1,_0x3623bd;_0x5d3da3>=0x0;_0x5d3da3--)(_0x3623bd=_0x587a26[_0x5d3da3])&&(_0x4db79e=_0x3623bd(_0x4db79e)||_0x4db79e);return _0x4db79e;},k=(_0xfbcdfb,_0x364761)=>(_0x5344a2,_0x28fca1)=>_0x364761(_0x5344a2,_0x28fca1,_0xfbcdfb);let ie=class extends _0x5039df{constructor(_0x183ba8,_0x4c8723,_0x2408ab,_0x2b2aa8,_0x42422d,_0x90fce9){const _0x338a3e=_0x3e388d;super(),this[_0x338a3e(0x1ed)]=_0x183ba8,this[_0x338a3e(0x1a5)]=_0x4c8723,this[_0x338a3e(0x25a)]=_0x2408ab,this['_messageService']=_0x2b2aa8,this[_0x338a3e(0xf7)]=_0x42422d,this[_0x338a3e(0x19c)]=_0x90fce9,this[_0x338a3e(0x279)](),this['_initEvent']();}[_0x3e388d(0x279)](){const _0x28c15f=_0x3e388d;this[_0x28c15f(0x229)](this[_0x28c15f(0x1ed)][_0x28c15f(0x131)](()=>{const _0x23e932=_0x28c15f;if(this[_0x23e932(0x1a5)][_0x23e932(0x1eb)][_0x23e932(0xed)])return this[_0x23e932(0x19c)]['t'](_0x23e932(0x24e));}));}[_0x3e388d(0x215)](){const _0x955e6b=_0x3e388d;this[_0x955e6b(0x229)](this[_0x955e6b(0x25a)][_0x955e6b(0x158)][_0x955e6b(0x186)](_0x288d56=>{const _0x113548=_0x955e6b;_0x288d56['id']===_0xf5cdcc[_0x113548(0x1be)]&&this[_0x113548(0x17c)][_0x113548(0x170)]({'type':_0x46d169[_0x113548(0x1b6)],'content':this[_0x113548(0x19c)]['t'](_0x113548(0x17e))}),_0x288d56['id']===_0xf5cdcc['CLOSE_ROOM']&&this[_0x113548(0x17c)][_0x113548(0x170)]({'type':_0x46d169['Warning'],'content':this['_localeService']['t'](_0x113548(0x247))}),_0x288d56['id']===_0xf5cdcc[_0x113548(0x18e)]&&this[_0x113548(0xf7)]['show']({'title':this[_0x113548(0x19c)]['t']('permission.title'),'content':this[_0x113548(0x19c)]['t'](_0x113548(0x206)),'type':'error','duration':0x0}),_0x288d56['id']===_0xf5cdcc[_0x113548(0x258)]&&this[_0x113548(0x17c)][_0x113548(0x170)]({'type':_0x46d169['Error'],'content':this[_0x113548(0x19c)]['t'](_0x113548(0x247))+'('+_0x288d56['data']+')'}),_0x288d56['id']===_0xf5cdcc['JOIN_ROOM_FAILED']&&this[_0x113548(0x17c)]['show']({'type':_0x46d169['Warning'],'content':this[_0x113548(0x19c)]['t'](_0x288d56[_0x113548(0x216)]||'')}),_0x288d56['id']===_0xf5cdcc[_0x113548(0x1c8)]&&this[_0x113548(0x17c)][_0x113548(0x170)]({'type':_0x46d169['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x288d56['id']===_0xf5cdcc[_0x113548(0x210)]&&this[_0x113548(0x17c)][_0x113548(0x170)]({'type':_0x46d169[_0x113548(0x211)],'content':this[_0x113548(0x19c)]['t'](_0x113548(0x1ef))}),_0x288d56['id']===_0xf5cdcc['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x46d169['Error'],'content':this[_0x113548(0x19c)]['t']('session.collaboration-timeout')});}));}};ie=sn([k(0x0,_0x2dfdab),k(0x1,_0x40be6c),k(0x2,_0x451e45(_0x484e4b)),k(0x3,_0x2be41b),k(0x4,_0x2d5aac),k(0x5,_0x451e45(_0x1dc184))],ie);const nn=_0x3e388d(0x134),st={},wt=_0x2d5ffc(_0x3e388d(0x1d8));var rn=Object[_0x3e388d(0x10e)],on=(_0x39d08e,_0x36dd23,_0x35a7ab,_0x1d0c53)=>{const _0x4fe361=_0x3e388d;for(var _0x4cc546=_0x1d0c53>0x1?void 0x0:_0x1d0c53?rn(_0x36dd23,_0x35a7ab):_0x36dd23,_0x3b98e3=_0x39d08e[_0x4fe361(0x15c)]-0x1,_0x14128a;_0x3b98e3>=0x0;_0x3b98e3--)(_0x14128a=_0x39d08e[_0x3b98e3])&&(_0x4cc546=_0x14128a(_0x4cc546)||_0x4cc546);return _0x4cc546;},K=(_0x5449e4,_0x4f7105)=>(_0x27ebc5,_0x2ae9c4)=>_0x4f7105(_0x27ebc5,_0x2ae9c4,_0x5449e4);let ne=class extends _0x71590{constructor(_0x5933f7,_0x4a01f0,_0x35b9aa,_0x91b68d,_0x55dfa3){const _0x3321f4=_0x3e388d;super(),this[_0x3321f4(0x242)]=_0x5933f7,this['_logService']=_0x4a01f0,this[_0x3321f4(0x228)]=_0x35b9aa,this[_0x3321f4(0x128)]=_0x91b68d,_0x55dfa3?_0x55dfa3==null||_0x55dfa3[_0x3321f4(0x13e)]()[_0x3321f4(0x244)](()=>this[_0x3321f4(0xca)]()):(this[_0x3321f4(0x138)][_0x3321f4(0x22b)](_0x3321f4(0x161),_0x3321f4(0x1b7)),this[_0x3321f4(0xca)]());}async[_0x3e388d(0xca)](){const _0x41c10c=_0x3e388d,_0x4b235d=this[_0x41c10c(0x242)]['getParam']('unit'),_0x370e6e=this['_urlService'][_0x41c10c(0xf4)]('type'),_0x262dc8=this['_urlService'][_0x41c10c(0xf4)](_0x41c10c(0x18b));if(!_0x4b235d||!_0x370e6e){this[_0x41c10c(0x138)][_0x41c10c(0x22b)](_0x41c10c(0x161),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x28930a=await this[_0x41c10c(0x128)][_0x41c10c(0x25f)](_0x4b235d,Number(_0x370e6e),_0x262dc8);_0x28930a&&_0x28930a instanceof _0x5afb19&&this[_0x41c10c(0xb3)](_0x28930a);}async[_0x3e388d(0xb3)](_0x2d25ca){const _0x20a44e=_0x3e388d;await this['_updateSubUnitFromURLParams'](_0x2d25ca),_0x2d25ca[_0x20a44e(0x12d)][_0x20a44e(0x286)](_0x1c3214(this[_0x20a44e(0x275)]))[_0x20a44e(0x186)](_0x2bade2=>{const _0x54e8ef=_0x20a44e;_0x2bade2&&this[_0x54e8ef(0x1e2)](_0x2bade2);}),this[_0x20a44e(0x242)]['urlChange$']['pipe'](_0x1c3214(this['dispose$']))['subscribe'](()=>this[_0x20a44e(0x124)](_0x2d25ca));}[_0x3e388d(0x1e2)](_0x3832d4,_0x519048=!0x1){const _0x13fb7f=_0x3e388d,_0x4b13a2=this['_urlService'][_0x13fb7f(0xf4)](_0x13fb7f(0x18b));_0x3832d4[_0x13fb7f(0x19b)]()!==_0x4b13a2&&this[_0x13fb7f(0x242)][_0x13fb7f(0xa4)]('subunit',_0x3832d4[_0x13fb7f(0x19b)](),_0x519048);}async[_0x3e388d(0x124)](_0x1aa97b){const _0x3aa78e=_0x3e388d;var _0x2625cd;const _0x37b679=this['_urlService'][_0x3aa78e(0xf4)]('subunit');if(!_0x37b679||!_0x1aa97b[_0x3aa78e(0x188)](_0x37b679)){const _0x124ff8=_0x1aa97b['getUnhiddenWorksheets']()[0x0],_0x4363bb=_0x1aa97b[_0x3aa78e(0x188)](_0x124ff8);if(!_0x4363bb)return;this['_updateURLWithCurrentState'](_0x4363bb,!0x0),await this[_0x3aa78e(0x228)][_0x3aa78e(0x22e)](_0x4d603b['id'],{'unitId':_0x1aa97b[_0x3aa78e(0x262)](),'subUnitId':_0x124ff8});return;}((_0x2625cd=_0x1aa97b['getActiveSheet']())==null?void 0x0:_0x2625cd[_0x3aa78e(0x19b)]())!==_0x37b679&&await this['_commandService']['executeCommand'](_0x4d603b['id'],{'unitId':_0x1aa97b[_0x3aa78e(0x262)](),'subUnitId':_0x37b679});}};ne=on([K(0x0,wt),K(0x1,_0x41776a),K(0x2,_0xf7f849),K(0x3,_0x451e45(_0x4b359e)),K(0x4,_0x293499(_0x33fb54))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x34a619,_0x200f3f,_0x12bddf,_0x42c6f1)=>{for(var _0x223777=_0x42c6f1>0x1?void 0x0:_0x42c6f1?an(_0x200f3f,_0x12bddf):_0x200f3f,_0x5e995f=_0x34a619['length']-0x1,_0x20edf8;_0x5e995f>=0x0;_0x5e995f--)(_0x20edf8=_0x34a619[_0x5e995f])&&(_0x223777=_0x20edf8(_0x223777)||_0x223777);return _0x223777;},Ce=(_0x3f8cab,_0x598063)=>(_0xc396de,_0x31d310)=>_0x598063(_0xc396de,_0x31d310,_0x3f8cab);let re=class{constructor(_0x2d1531,_0x558763,_0x3708bb){const _0x67073=_0x3e388d;this['_injector']=_0x2d1531,this[_0x67073(0x1f9)]=_0x558763,this[_0x67073(0x12f)]=_0x3708bb;}[_0x3e388d(0xc8)](_0x3a9508){const _0x36bfb0=_0x3e388d;this[_0x36bfb0(0x119)](_0x3a9508),this[_0x36bfb0(0xde)](_0x3a9508);}['transformRemoteChangeset'](_0x4db51){const _0x57f5be=_0x3e388d,{unitID:_0x4c4128}=_0x4db51,_0x47dc84=this[_0x57f5be(0x12f)][_0x57f5be(0xa7)](_0x4c4128)['with'](_0x2fdb1c),{redoCache:_0x556b9e}=_0x47dc84[_0x57f5be(0x137)]();if(_0x556b9e[_0x57f5be(0x15c)]===0x0)return _0x4db51;let _0x1c4464=_0x281d76[_0x57f5be(0x191)](_0x4db51[_0x57f5be(0xad)][0x0]);for(let _0x2129ec=0x0;_0x2129ec<_0x556b9e[_0x57f5be(0x15c)];_0x2129ec++){const _0x39724b={'id':_0x57f5be(0x20e),'params':{..._0x556b9e[_0x2129ec]}},_0x43fc1d=this[_0x57f5be(0x1f9)][_0x57f5be(0x12e)](_0x1c4464,_0x39724b,!0x1);if(_0x128467(_0x43fc1d))throw _0x43fc1d[_0x57f5be(0xe2)];_0x1c4464=_0x43fc1d[_0x57f5be(0x220)];}return{..._0x281d76[_0x57f5be(0x191)](_0x4db51),'mutations':[_0x1c4464]};}['_transformUndoRedoStack'](_0x2a0867){const _0x20c0cf=_0x3e388d,{unitID:_0x28ec74}=_0x2a0867,_0x1d6a73=this[_0x20c0cf(0x12f)]['getRenderById'](_0x28ec74)[_0x20c0cf(0x1dd)](_0x2fdb1c),{undoCache:_0x12fa86,redoCache:_0x2c645e}=_0x1d6a73[_0x20c0cf(0x137)]();if(_0x12fa86[_0x20c0cf(0x15c)]===0x0||_0x2c645e[_0x20c0cf(0x15c)]===0x0)return;const _0x351d43=[],_0x131f3b=[];let _0x38f676=_0x281d76[_0x20c0cf(0x191)](_0x2a0867[_0x20c0cf(0xad)][0x0]),_0x5ddf40=_0x281d76[_0x20c0cf(0x191)](_0x2a0867[_0x20c0cf(0xad)][0x0]);for(let _0x1a0ab1=_0x12fa86[_0x20c0cf(0x15c)]-0x1;_0x1a0ab1>=0x0;_0x1a0ab1--){const _0x85e9b1={'id':_0x20c0cf(0x20e),'params':{..._0x12fa86[_0x1a0ab1]}},_0x3273d9={'id':'doc.mutation.rich-text-editing','params':{..._0x2c645e[_0x1a0ab1]}},_0x2b8c1c=this[_0x20c0cf(0x1f9)][_0x20c0cf(0x12e)](_0x38f676,_0x85e9b1,!0x1),_0x3b7612=this[_0x20c0cf(0x1f9)]['transformMutation'](_0x5ddf40,_0x3273d9,!0x1);if(_0x128467(_0x2b8c1c))throw _0x2b8c1c['error'];if(_0x128467(_0x3b7612))throw _0x3b7612['error'];_0x351d43[_0x20c0cf(0x1fd)](_0x2b8c1c[_0x20c0cf(0x1bc)][_0x20c0cf(0x12c)]),_0x131f3b[_0x20c0cf(0x1fd)](_0x3b7612[_0x20c0cf(0x1bc)][_0x20c0cf(0x12c)]),_0x38f676=_0x2b8c1c[_0x20c0cf(0x220)],_0x5ddf40=_0x3b7612[_0x20c0cf(0x220)];}_0x1d6a73['setUndoRedoMutationParamsCache']({'undoCache':_0x351d43,'redoCache':_0x131f3b});}[_0x3e388d(0xde)](_0x135dff){const _0x435aba=_0x3e388d,{unitID:_0x194b81}=_0x135dff,_0x50dd0b=this[_0x435aba(0x12f)][_0x435aba(0xa7)](_0x194b81)['with'](_0x2fdb1c),_0x1d1ba1=_0x50dd0b[_0x435aba(0xa1)]();if(_0x1d1ba1==null)return;const _0x19466d=[{'id':_0x435aba(0x20e),'params':{'unitId':_0x135dff[_0x435aba(0x109)],'actions':null,'textRanges':[_0x1d1ba1]}}],_0x5a30b2=this[_0x435aba(0x1f9)][_0x435aba(0x106)](_0x135dff,_0x19466d);if(!_0x2cea00(_0x5a30b2))throw _0x5a30b2[_0x435aba(0xe2)];const _0xb5b7b2=_0x5a30b2[_0x435aba(0x1bc)][0x0]['params'][_0x435aba(0x221)];Array[_0x435aba(0x9c)](_0xb5b7b2)&&_0xb5b7b2['length']&&_0x50dd0b[_0x435aba(0xd6)](_0xb5b7b2[0x0]);}};re=cn([Ce(0x0,_0x451e45(_0x573e99)),Ce(0x1,_0x5eecd6),Ce(0x2,_0x5edf55)],re);var ln=Object['getOwnPropertyDescriptor'],hn=(_0x5442d9,_0x28042a,_0x102966,_0x1764a1)=>{const _0x229fd8=_0x3e388d;for(var _0x4c818b=_0x1764a1>0x1?void 0x0:_0x1764a1?ln(_0x28042a,_0x102966):_0x28042a,_0x37a62a=_0x5442d9[_0x229fd8(0x15c)]-0x1,_0x292b1d;_0x37a62a>=0x0;_0x37a62a--)(_0x292b1d=_0x5442d9[_0x37a62a])&&(_0x4c818b=_0x292b1d(_0x4c818b)||_0x4c818b);return _0x4c818b;},be=(_0x324939,_0x536834)=>(_0x5f3225,_0x23c2c1)=>_0x536834(_0x5f3225,_0x23c2c1,_0x324939);let oe=class{constructor(_0x1e79bc,_0x250bdc,_0xcca8eb){this['_injector']=_0x1e79bc,this['_transformService']=_0x250bdc,this['_docStateChangeManagerService']=_0xcca8eb;}[_0x3e388d(0x125)](_0x1a8ddb){const _0x3853f6=_0x3e388d;this[_0x3853f6(0x280)](_0x1a8ddb);}[_0x3e388d(0x123)](_0x99ad47){const _0x32530c=_0x3e388d,{unitID:_0x53f129}=_0x99ad47,{collaboration:_0x14d00e}=this[_0x32530c(0x1ee)][_0x32530c(0xd8)](_0x53f129);if(_0x14d00e[_0x32530c(0x15c)]===0x0)return _0x99ad47;let _0x46c0fe=_0x281d76[_0x32530c(0x191)](_0x99ad47[_0x32530c(0xad)][0x0]);for(let _0x50167a=0x0;_0x50167a<_0x14d00e[_0x32530c(0x15c)];_0x50167a++){const _0xe3a4af={'id':_0x32530c(0x20e),'params':{'unitId':_0x14d00e[_0x50167a][_0x32530c(0x139)],..._0x14d00e[_0x50167a][_0x32530c(0x282)]}},_0x2bce37=this[_0x32530c(0x1f9)]['transformMutation'](_0x46c0fe,_0xe3a4af,!0x1);if(_0x128467(_0x2bce37))throw _0x2bce37['error'];_0x46c0fe=_0x2bce37['m1Prime'];}return{..._0x281d76[_0x32530c(0x191)](_0x99ad47),'mutations':[_0x46c0fe]};}[_0x3e388d(0x280)](_0x53d1fb){const _0x2d3ae3=_0x3e388d,{unitID:_0x417095}=_0x53d1fb,{history:_0x2bcc2b,collaboration:_0x352e44}=this[_0x2d3ae3(0x1ee)]['getStateCache'](_0x417095);if(_0x2bcc2b['length']===0x0&&_0x352e44[_0x2d3ae3(0x15c)]===0x0)return;const _0x4c3af0=[],_0x2baf63=[];let _0xc3d591=_0x281d76['deepClone'](_0x53d1fb[_0x2d3ae3(0xad)][0x0]),_0x1c0462=_0x281d76[_0x2d3ae3(0x191)](_0x53d1fb[_0x2d3ae3(0xad)][0x0]);for(let _0x4a5d48=_0x2bcc2b[_0x2d3ae3(0x15c)]-0x1;_0x4a5d48>=0x0;_0x4a5d48--){const _0x4b45e9={'id':_0x2d3ae3(0x20e),'params':{'unitId':_0x2bcc2b[_0x4a5d48][_0x2d3ae3(0x139)],..._0x2bcc2b[_0x4a5d48][_0x2d3ae3(0x16c)]}},_0x326654={'id':_0x2d3ae3(0x20e),'params':{'unitId':_0x2bcc2b[_0x4a5d48][_0x2d3ae3(0x139)],..._0x2bcc2b[_0x4a5d48][_0x2d3ae3(0x282)]}},_0x4b3211=this[_0x2d3ae3(0x1f9)][_0x2d3ae3(0x12e)](_0xc3d591,_0x4b45e9,!0x1),_0x28e33f=this[_0x2d3ae3(0x1f9)][_0x2d3ae3(0x12e)](_0x1c0462,_0x326654,!0x1);if(_0x128467(_0x4b3211))throw _0x4b3211['error'];if(_0x128467(_0x28e33f))throw _0x28e33f[_0x2d3ae3(0xe2)];_0x4c3af0[_0x2d3ae3(0x1fd)]({..._0x2bcc2b[_0x4a5d48],'undoState':_0x4b3211[_0x2d3ae3(0x1bc)][_0x2d3ae3(0x12c)],'redoState':_0x28e33f[_0x2d3ae3(0x1bc)]['params']}),_0xc3d591=_0x4b3211[_0x2d3ae3(0x220)],_0x1c0462=_0x28e33f[_0x2d3ae3(0x220)];}_0xc3d591=_0x281d76[_0x2d3ae3(0x191)](_0x53d1fb['mutations'][0x0]),_0x1c0462=_0x281d76['deepClone'](_0x53d1fb[_0x2d3ae3(0xad)][0x0]);for(let _0x1e5ba7=_0x352e44[_0x2d3ae3(0x15c)]-0x1;_0x1e5ba7>=0x0;_0x1e5ba7--){const _0x288a99={'id':_0x2d3ae3(0x20e),'params':{'unitId':_0x352e44[_0x1e5ba7][_0x2d3ae3(0x139)],..._0x352e44[_0x1e5ba7][_0x2d3ae3(0x16c)]}},_0x4a33d7={'id':_0x2d3ae3(0x20e),'params':{'unitId':_0x352e44[_0x1e5ba7]['unitId'],..._0x352e44[_0x1e5ba7][_0x2d3ae3(0x282)]}},_0x44b2c9=this[_0x2d3ae3(0x1f9)][_0x2d3ae3(0x12e)](_0xc3d591,_0x288a99,!0x1),_0x46c8bd=this[_0x2d3ae3(0x1f9)]['transformMutation'](_0x1c0462,_0x4a33d7,!0x1);if(_0x128467(_0x44b2c9))throw _0x44b2c9[_0x2d3ae3(0xe2)];if(_0x128467(_0x46c8bd))throw _0x46c8bd[_0x2d3ae3(0xe2)];_0x2baf63[_0x2d3ae3(0x1fd)]({..._0x352e44[_0x1e5ba7],'undoState':_0x44b2c9[_0x2d3ae3(0x1bc)][_0x2d3ae3(0x12c)],'redoState':_0x46c8bd[_0x2d3ae3(0x1bc)]['params']}),_0xc3d591=_0x44b2c9[_0x2d3ae3(0x220)],_0x1c0462=_0x46c8bd[_0x2d3ae3(0x220)];}this[_0x2d3ae3(0x1ee)][_0x2d3ae3(0x196)](_0x417095,{'history':_0x4c3af0,'collaboration':_0x2baf63});}};oe=hn([be(0x0,_0x451e45(_0x573e99)),be(0x1,_0x5eecd6),be(0x2,_0x451e45(_0xe8bd55))],oe);var _n=Object[_0x3e388d(0x10e)],un=(_0x515a40,_0x57f933,_0x1d22fb,_0xd6ce47)=>{const _0x39df5a=_0x3e388d;for(var _0x3ca5bd=_0xd6ce47>0x1?void 0x0:_0xd6ce47?_n(_0x57f933,_0x1d22fb):_0x57f933,_0x570db4=_0x515a40[_0x39df5a(0x15c)]-0x1,_0x4212c1;_0x570db4>=0x0;_0x570db4--)(_0x4212c1=_0x515a40[_0x570db4])&&(_0x3ca5bd=_0x4212c1(_0x3ca5bd)||_0x3ca5bd);return _0x3ca5bd;},it=(_0x56ab30,_0x33632b)=>(_0x22dac7,_0x431de7)=>_0x33632b(_0x22dac7,_0x431de7,_0x56ab30);let ae=class{constructor(_0x198952,_0x586de2){const _0xc8a9a0=_0x3e388d;this['_injector']=_0x198952,this[_0xc8a9a0(0x1f9)]=_0x586de2;}[_0x3e388d(0x240)](_0x46dae8){const _0x4d63e8=_0x3e388d;var _0x33c58f;const _0xde00b0=this[_0x4d63e8(0x199)][_0x4d63e8(0x230)](_0x58c7af),_0x5aab64=(_0x33c58f=_0xde00b0[_0x4d63e8(0xc4)]())!=null?_0x33c58f:[];if(_0x5aab64[_0x4d63e8(0x15c)]===0x0)return;const _0x405874=_0x46dae8['unitID'],_0x52de17=[{'id':_0x4d63e8(0x20e),'params':{'unitId':_0x405874,'actions':null,'textRanges':_0x5aab64}}],_0x33d7b2=this[_0x4d63e8(0x1f9)][_0x4d63e8(0x106)](_0x46dae8,_0x52de17);if(!_0x2cea00(_0x33d7b2))throw _0x33d7b2[_0x4d63e8(0xe2)];const _0x1363f8=_0x33d7b2[_0x4d63e8(0x1bc)][0x0][_0x4d63e8(0x12c)][_0x4d63e8(0x221)];Array[_0x4d63e8(0x9c)](_0x1363f8)&&_0x1363f8[_0x4d63e8(0x15c)]&&_0xde00b0['replaceDocRanges'](_0x1363f8,{'unitId':_0x405874,'subUnitId':_0x405874},!0x1);}};ae=un([it(0x0,_0x451e45(_0x573e99)),it(0x1,_0x5eecd6)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x134aea,_0x2b5ad0,_0xb90698,_0x1c93a6)=>{const _0x418d95=_0x3e388d;for(var _0x296942=_0x1c93a6>0x1?void 0x0:_0x1c93a6?dn(_0x2b5ad0,_0xb90698):_0x2b5ad0,_0x4fede9=_0x134aea[_0x418d95(0x15c)]-0x1,_0x1814a6;_0x4fede9>=0x0;_0x4fede9--)(_0x1814a6=_0x134aea[_0x4fede9])&&(_0x296942=_0x1814a6(_0x296942)||_0x296942);return _0x296942;},M=(_0x12b2fc,_0x415b27)=>(_0x34c51a,_0x399b61)=>_0x415b27(_0x34c51a,_0x399b61,_0x12b2fc);let ce=class extends _0x5039df{constructor(_0x2bf6ba,_0x223344,_0x17ba31,_0x56eea7,_0x24710a,_0x4396a8,_0x7732d9,_0x1613fc){const _0x42ae79=_0x3e388d;super(),h(this,_0x42ae79(0x114),new _0x1b6950(_0x4dc1b2[_0x42ae79(0x271)])),(this[_0x42ae79(0x1ee)]=_0x2bf6ba,this[_0x42ae79(0x285)]=_0x223344,this[_0x42ae79(0x11b)]=_0x17ba31,this['_docTransformStateCacheService']=_0x56eea7,this[_0x42ae79(0x103)]=_0x24710a,this['_docSyncEditingCollabCursorService']=_0x4396a8,this[_0x42ae79(0x17c)]=_0x7732d9,this[_0x42ae79(0x19c)]=_0x1613fc,this[_0x42ae79(0x171)]());}[_0x3e388d(0x171)](){const _0x1e3188=_0x3e388d;this[_0x1e3188(0x229)](this[_0x1e3188(0x285)][_0x1e3188(0x1ad)][_0x1e3188(0x186)](_0x593a58=>{const _0x482ff7=_0x1e3188,_0x14b10a=this[_0x482ff7(0x1ee)][_0x482ff7(0x23a)][_0x482ff7(0x186)](_0x1bf8a1=>{const _0xbd51c9=_0x482ff7;if(_0x1bf8a1==null)return;const {unitId:_0x2d62bf,redoState:_0x145fdd,commandId:_0xef5a47}=_0x1bf8a1;if(_0x2d62bf!==_0x593a58[_0xbd51c9(0x109)])return;const _0xa661d7={'id':_0xef5a47,'type':_0x2eed70[_0xbd51c9(0x133)],'params':{'unitId':_0x2d62bf,'actions':_0x145fdd[_0xbd51c9(0x129)],'textRanges':null}};_0x593a58[_0xbd51c9(0x1d1)](_0xa661d7);});if(_0x593a58[_0x482ff7(0x229)](_0x14b10a),_0x593a58 instanceof _0xed19e0){const _0x31a864={'onTransformIME':_0x37400b=>this[_0x482ff7(0x11b)][_0x482ff7(0xc8)](_0x37400b),'onTransformState':_0x508b3c=>this[_0x482ff7(0x1c4)][_0x482ff7(0x125)](_0x508b3c),'onTransformSelections':_0x1fb13a=>this[_0x482ff7(0x103)][_0x482ff7(0x240)](_0x1fb13a),'onSyncEditingCollabCursor':_0x82c7c=>this[_0x482ff7(0x179)][_0x482ff7(0x27b)](_0x82c7c),'onTransformRemoteChangesetByIMECache':_0x5b4289=>this['_docTransformIMECacheService'][_0x482ff7(0x123)](_0x5b4289),'onTransformRemoteChangesetByStateCache':_0x591e21=>this[_0x482ff7(0x1c4)]['transformRemoteChangeset'](_0x591e21)};_0x593a58[_0x482ff7(0xa2)](_0x31a864);}}));}};ce=fn([M(0x0,_0x451e45(_0xe8bd55)),M(0x1,_0x451e45(_0x5fcf18)),M(0x2,_0x451e45(re)),M(0x3,_0x451e45(oe)),M(0x4,_0x451e45(ae)),M(0x5,_0x451e45(je)),M(0x6,_0x2be41b),M(0x7,_0x451e45(_0x1dc184))],ce);var Sn=Object[_0x3e388d(0x10e)],mn=(_0x315cf6,_0xb4486,_0x5503fb,_0x22b283)=>{const _0x42c90b=_0x3e388d;for(var _0x574794=_0x22b283>0x1?void 0x0:_0x22b283?Sn(_0xb4486,_0x5503fb):_0xb4486,_0x5c027e=_0x315cf6[_0x42c90b(0x15c)]-0x1,_0x1afef4;_0x5c027e>=0x0;_0x5c027e--)(_0x1afef4=_0x315cf6[_0x5c027e])&&(_0x574794=_0x1afef4(_0x574794)||_0x574794);return _0x574794;},Ee=(_0xa7bfa3,_0x3341ee)=>(_0xf53d25,_0x43cbee)=>_0x3341ee(_0xf53d25,_0x43cbee,_0xa7bfa3);let Ae=class extends _0x5039df{constructor(_0x3f722f,_0x583073,_0x3a9d2e){const _0x2a1cc5=_0x3e388d;super(),h(this,'_cachedData',new Map()),h(this,'_saveTaskMap',new Map()),h(this,'_disabled',!0x1),(this[_0x2a1cc5(0x16f)]=_0x3f722f,this[_0x2a1cc5(0x21b)]=_0x583073,this[_0x2a1cc5(0x147)]=_0x3a9d2e);}[_0x3e388d(0x98)](){const _0x5a95ea=_0x3e388d;this[_0x5a95ea(0x254)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x41aee5=_0x3e388d;return this[_0x41aee5(0x1d3)];}[_0x3e388d(0x1de)](){const _0x174659=_0x3e388d;this[_0x174659(0x21e)]()[_0x174659(0x244)](()=>super[_0x174659(0x1de)]());}async[_0x3e388d(0x20b)](_0x71873){const _0x3550a7=_0x3e388d;return this[_0x3550a7(0x254)]?null:this[_0x3550a7(0x21b)][_0x3550a7(0x1f6)](_0x408b69(_0x71873));}async['saveOfflineData'](_0x43b48f,_0x429bc8){const _0x593c59=_0x3e388d;return!!this[_0x593c59(0x21b)][_0x593c59(0xf1)](_0x43b48f,_0x429bc8);}['updateOfflineData'](_0x2ec860,_0x517b3d,_0x15ed3c,_0x5c5803){const _0x10818b=_0x3e388d,_0x4ab764=this[_0x10818b(0x147)][_0x10818b(0xba)](_0x2ec860);this[_0x10818b(0x246)][_0x10818b(0x261)](_0x2ec860,{'unitID':_0x2ec860,'type':_0x517b3d,'awaitingChangeset':_0x15ed3c,'mutations':_0x5c5803,'rev':_0x4ab764}),this['_saveTaskMap'][_0x10818b(0xe8)](_0x2ec860)||this['_scheduleSaving'](_0x2ec860);}[_0x3e388d(0xb8)](_0x2dcd97){const _0x1a4eba=_0x3e388d,_0x4260de=this[_0x1a4eba(0x1d7)]();_0x4260de===0x0?this[_0x1a4eba(0x105)](_0x2dcd97):this[_0x1a4eba(0x1d3)][_0x1a4eba(0x261)](_0x2dcd97,setTimeout(()=>this['_saveCache'](_0x2dcd97),_0x4260de));}[_0x3e388d(0x1d7)](){const _0x9e1c6b=_0x3e388d;var _0x415628;return(_0x415628=this[_0x9e1c6b(0x16f)][_0x9e1c6b(0x1a6)](_0x1f5b93))!=null?_0x415628:_0x275105;}[_0x3e388d(0x105)](_0x39c616){const _0x5b2c9f=_0x3e388d,_0x9bd480=this['_saveTaskMap']['get'](_0x39c616);return _0x9bd480!==void 0x0&&window[_0x5b2c9f(0x1d2)](_0x9bd480),this[_0x5b2c9f(0x21b)]['setItem'](_0x408b69(_0x39c616),this[_0x5b2c9f(0x246)][_0x5b2c9f(0x230)](_0x39c616))['then'](()=>this['_saveTaskMap'][_0x5b2c9f(0x277)](_0x39c616));}async[_0x3e388d(0x21e)](){const _0x3abdb9=_0x3e388d,_0x1611fc=[];this[_0x3abdb9(0x1d3)]['forEach']((_0x4a82d6,_0x30aa1b)=>{const _0x16c889=_0x3abdb9;window[_0x16c889(0x1d2)](_0x4a82d6),_0x1611fc['push'](this[_0x16c889(0x105)](_0x30aa1b)[_0x16c889(0x244)](()=>{const _0x36a4c9=_0x16c889;this[_0x36a4c9(0x1d3)][_0x36a4c9(0x277)](_0x30aa1b);}));}),await Promise['all'](_0x1611fc);}};Ae=mn([Ee(0x0,_0x35f2e2),Ee(0x1,_0xacd7eb),Ee(0x2,_0x451e45(_0x1a313e))],Ae);class gn extends _0x71590{constructor(){const _0x28335d=_0x3e388d;super(),h(this,'urlChange$'),this[_0x28335d(0xd3)]=_0x5631ca(window,_0x28335d(0x112))['pipe'](_0x1c3214(this['dispose$']),_0x31ad24(0x1),_0x2f7678(void 0x0));}[_0x3e388d(0xa4)](_0x439236,_0x198b31,_0x132561=!0x1){const _0x5b11dd=_0x3e388d,_0x40ca96=new URL(window[_0x5b11dd(0x1b4)][_0x5b11dd(0xeb)]);_0x40ca96['searchParams'][_0x5b11dd(0x261)](_0x439236,_0x198b31),_0x132561?window[_0x5b11dd(0xbe)][_0x5b11dd(0x157)]('','',_0x40ca96[_0x5b11dd(0x127)]()):window[_0x5b11dd(0xbe)][_0x5b11dd(0xc7)]('','',_0x40ca96[_0x5b11dd(0x127)]());}[_0x3e388d(0x1f2)](_0x1931e4,_0x573523=!0x1){const _0x3362d2=_0x3e388d,_0x5a2236=new URL(window['location'][_0x3362d2(0xeb)]);_0x5a2236[_0x3362d2(0x26a)]['delete'](_0x1931e4),_0x573523?window[_0x3362d2(0xbe)]['replaceState']('','',_0x5a2236[_0x3362d2(0x127)]()):window[_0x3362d2(0xbe)][_0x3362d2(0xc7)]('','',_0x5a2236[_0x3362d2(0x127)]());}['getParam'](_0x304e53){const _0x374b28=_0x3e388d;var _0x193af3;return(_0x193af3=new URL(window[_0x374b28(0x1b4)][_0x374b28(0xeb)])[_0x374b28(0x26a)][_0x374b28(0x230)](_0x304e53))!=null?_0x193af3:void 0x0;}}var vn=Object[_0x3e388d(0x18c)],In=Object['getOwnPropertyDescriptor'],pn=(_0x1a1338,_0x1cb50d,_0x3d2ce9)=>_0x1cb50d in _0x1a1338?vn(_0x1a1338,_0x1cb50d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d2ce9}):_0x1a1338[_0x1cb50d]=_0x3d2ce9,Cn=(_0x5b77f8,_0xc1d457,_0x50f712,_0x381ef7)=>{for(var _0x4ada08=_0x381ef7>0x1?void 0x0:_0x381ef7?In(_0xc1d457,_0x50f712):_0xc1d457,_0x42e355=_0x5b77f8['length']-0x1,_0x1354ee;_0x42e355>=0x0;_0x42e355--)(_0x1354ee=_0x5b77f8[_0x42e355])&&(_0x4ada08=_0x1354ee(_0x4ada08)||_0x4ada08);return _0x4ada08;},Oe=(_0x2fc275,_0x223554)=>(_0x574d3a,_0x4cb13d)=>_0x223554(_0x574d3a,_0x4cb13d,_0x2fc275),bn=(_0x82161f,_0x3aff59,_0x5c6d3d)=>pn(_0x82161f,_0x3aff59+'',_0x5c6d3d);const En='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x5a86c9{constructor(_0x5d2295=st,_0x1c3769,_0x237bd6,_0x2809e1){const _0x57ebf0=_0x3e388d;super(),this[_0x57ebf0(0x22c)]=_0x5d2295,this['_renderManagerService']=_0x1c3769,this['_injector']=_0x237bd6,this[_0x57ebf0(0x16f)]=_0x2809e1;const {..._0xe3e6c3}=_0x489c13({},st,this[_0x57ebf0(0x22c)]);this[_0x57ebf0(0x16f)][_0x57ebf0(0xf8)](nn,_0xe3e6c3);}[_0x3e388d(0xc9)](){const _0x178528=_0x3e388d;this[_0x178528(0x26c)](),this[_0x178528(0x14f)]();}[_0x3e388d(0x1b3)](){const _0x38dd00=_0x3e388d;this[_0x38dd00(0x22f)]();}[_0x3e388d(0x26c)](){const _0x3f8d90=_0x3e388d;var _0x551b04;const _0x3a0ee0=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x271572,{'useClass':_0x3961c0}],[_0x40be6c,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x4c3738(this[_0x3f8d90(0x199)],_0x1b7bb3(_0x3a0ee0,(_0x551b04=this['_config'])==null?void 0x0:_0x551b04[_0x3f8d90(0x1a0)]));}[_0x3e388d(0x22f)](){const _0x182fd1=_0x3e388d;this[_0x182fd1(0x229)](this['_renderManagerService']['registerRenderModule'](_0x57e437['UNIVER_DOC'],[Ue])),this[_0x182fd1(0x229)](this[_0x182fd1(0x12f)][_0x182fd1(0x276)](_0x57e437[_0x182fd1(0x187)],[Le]));}['_initDependencies'](){_0x2db4ce(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x259ed6(_0x43b555),Oe(0x1,_0x5edf55),Oe(0x2,_0x451e45(_0x573e99)),Oe(0x3,_0x35f2e2)],ye);var On=Object[_0x3e388d(0x10e)],Tn=(_0x445b3a,_0x39f94b,_0x304503,_0x1d9954)=>{const _0x5d407d=_0x3e388d;for(var _0x21a65d=_0x1d9954>0x1?void 0x0:_0x1d9954?On(_0x39f94b,_0x304503):_0x39f94b,_0xb83131=_0x445b3a[_0x5d407d(0x15c)]-0x1,_0x421506;_0xb83131>=0x0;_0xb83131--)(_0x421506=_0x445b3a[_0xb83131])&&(_0x21a65d=_0x421506(_0x21a65d)||_0x21a65d);return _0x21a65d;},z=(_0x484eef,_0x52dda3)=>(_0x1dcc6b,_0x22813d)=>_0x52dda3(_0x1dcc6b,_0x22813d,_0x484eef);let nt=class extends _0x1325fc{constructor(_0x205809,_0x10505e,_0x5c9482,_0x3a1d82,_0x1404e7){super(_0x205809,_0x10505e,_0x5c9482,_0x3a1d82,_0x1404e7);}async[_0x3e388d(0x136)](_0xb2b5d5){const _0x1ce6da=_0x3e388d,_0x13a0b8=await this[_0x1ce6da(0x27d)](),_0x56121e=this['_createSocketURL'](_0xb2b5d5,_0x13a0b8);return this['_doCreateSocket'](_0x56121e);}['_createSocketURL'](_0x5398a3,_0x2c5422){const _0xbcdbdc=_0x3e388d,_0x5d2658=typeof window>'u'?new URL(_0x5398a3):new URL(_0x5398a3,window['location'][_0xbcdbdc(0x149)]);_0x5d2658['searchParams']['set']('sessionTicket',_0x2c5422);const _0xc365ec=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xbcdbdc(0x256)]);return _0xc365ec['get'](_0xbcdbdc(0x19a))&&_0x5d2658[_0xbcdbdc(0x26a)][_0xbcdbdc(0x261)]('runId',_0xc365ec['get'](_0xbcdbdc(0x19a))),_0x5d2658[_0xbcdbdc(0x127)]();}async[_0x3e388d(0x27d)](){const _0x23ba68=_0x3e388d;var _0x1ab59a,_0x750b7c,_0x36c5ea;const _0x46c6f7=this[_0x23ba68(0x16f)]['getConfig'](_0x36bce9),_0x188cb9=(_0x1ab59a=_0x46c6f7==null?void 0x0:_0x46c6f7[_0x23ba68(0x17d)])!=null?_0x1ab59a:_0x5552ef;return(_0x36c5ea=(_0x750b7c=(await this[_0x23ba68(0x14a)][_0x23ba68(0x230)](_0x188cb9,{'headers':{'Content-Type':_0x23ba68(0x17f)}}))[_0x23ba68(0xcc)])==null?void 0x0:_0x750b7c[_0x23ba68(0x24c)])!=null?_0x36c5ea:'';}};nt=Tn([z(0x0,_0x451e45(_0x573e99)),z(0x1,_0x451e45(_0x14d128)),z(0x2,_0x35f2e2),z(0x3,_0x41776a),z(0x4,_0x159682)],nt);function _0xe21a(_0x566776,_0x406a8e){const _0x41ef08=_0x41ef();return _0xe21a=function(_0xe21aa7,_0x2bc83b){_0xe21aa7=_0xe21aa7-0x97;let _0x511ad6=_0x41ef08[_0xe21aa7];return _0x511ad6;},_0xe21a(_0x566776,_0x406a8e);}const rt=0x7530,ot=_0x3e388d(0xda);class Gn extends _0x5039df{constructor(){const _0x29f522=_0x3e388d;super(),h(this,'_id',_0x461160()),h(this,_0x29f522(0xb9),new Set()),h(this,_0x29f522(0x1ae),new Map()),h(this,_0x29f522(0x10a),null),h(this,_0x29f522(0x1ab),new Map()),h(this,_0x29f522(0x113),new Map()),this[_0x29f522(0xca)]();}[_0x3e388d(0x1de)](){const _0x376d73=_0x3e388d;super[_0x376d73(0x1de)](),this[_0x376d73(0x1ab)][_0x376d73(0x243)]((_0x2f6fb4,_0x560e27)=>this['_removeClearOtherTimer'](_0x560e27)),this[_0x376d73(0x10a)]&&window[_0x376d73(0x16e)](this['_heartbeatTimer']);}[_0x3e388d(0xe5)](_0x32b0a4){const _0x44d9a7=_0x3e388d;return this[_0x44d9a7(0xcd)](_0x32b0a4)[_0x44d9a7(0x286)](_0x5c5a58());}[_0x3e388d(0x16b)](_0x594616){const _0x5dfcf7=_0x3e388d;this[_0x5dfcf7(0xb9)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x5dfcf7(0xb9)][_0x5dfcf7(0x21d)](_0x594616),this[_0x5dfcf7(0x189)]({'type':0x0,'memberID':this[_0x5dfcf7(0x1cf)],'unitIDs':[_0x594616],'isForwarded':!0x1});}[_0x3e388d(0x197)](_0x5b94cf){const _0x3259f6=_0x3e388d;this['_selfUnitIDs'][_0x3259f6(0x277)](_0x5b94cf),this[_0x3259f6(0xb9)][_0x3259f6(0xed)]===0x0&&this[_0x3259f6(0x10a)]&&window[_0x3259f6(0x16e)](this[_0x3259f6(0x10a)]);}[_0x3e388d(0xca)](){const _0x3e470a=_0x3e388d;this[_0x3e470a(0x229)](_0x34271e(_0x5631ca(window,'storage')[_0x3e470a(0x186)](_0x1acefb=>{const _0x9e5ff7=_0x3e470a;if(_0x1acefb[_0x9e5ff7(0x154)]!==ot||!_0x1acefb['newValue'])return;const _0x20f716=JSON[_0x9e5ff7(0x26b)](_0x1acefb[_0x9e5ff7(0x9e)]);this['_handleEvent'](_0x20f716);}))),window['addEventListener']('unload',()=>this[_0x3e470a(0x189)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x3e470a(0x233)](this[_0x3e470a(0xb9)])}));}[_0x3e388d(0x142)](_0x413825){const _0x2f91c1=_0x3e388d;switch(_0x413825[_0x2f91c1(0x178)]){case 0x0:this[_0x2f91c1(0xd2)](_0x413825);break;case 0x1:this['_handleLeaveEvent'](_0x413825);break;case 0x2:this[_0x2f91c1(0x1a4)](_0x413825);break;}}[_0x3e388d(0xd2)](_0x4f7adb){const _0xeafb52=_0x3e388d,{unitIDs:_0x324be4,memberID:_0x43900f,isForwarded:_0x474b61}=_0x4f7adb;_0x324be4[_0xeafb52(0x243)](_0x1fba6b=>{const _0x4f58bc=_0xeafb52;if(!_0x474b61&&this[_0x4f58bc(0x1ae)][_0x4f58bc(0xe8)](_0x1fba6b)&&this[_0x4f58bc(0xcd)](_0x1fba6b)[_0x4f58bc(0x257)](_0x2601ca[_0x4f58bc(0x1c5)]),!this[_0x4f58bc(0x1ae)][_0x4f58bc(0xe8)](_0x1fba6b)||!this['_unitOnClients'][_0x4f58bc(0x230)](_0x1fba6b)[_0x4f58bc(0xe8)](_0x43900f)){const _0x3a549e=this[_0x4f58bc(0x1ae)]['get'](_0x1fba6b)||new Set();_0x3a549e['add'](_0x43900f),this[_0x4f58bc(0x1ae)][_0x4f58bc(0x261)](_0x1fba6b,_0x3a549e),this[_0x4f58bc(0x245)](_0x43900f);}}),_0x474b61||this[_0xeafb52(0x189)]({'type':0x0,'memberID':this[_0xeafb52(0x1cf)],'unitIDs':[...this[_0xeafb52(0xb9)]],'isForwarded':!0x0});}[_0x3e388d(0x245)](_0x42355e){const _0x4a3cea=_0x3e388d;this[_0x4a3cea(0x1f8)](_0x42355e);const _0x1c207b=window[_0x4a3cea(0x16d)](()=>{const _0x55d97e=_0x4a3cea;this[_0x55d97e(0x1ae)]['forEach'](_0x3315a7=>{const _0x22d7f1=_0x55d97e;_0x3315a7[_0x22d7f1(0x277)](_0x42355e);});},rt*0x2);this[_0x4a3cea(0x1ab)]['set'](_0x42355e,_0x1c207b);}[_0x3e388d(0x1f8)](_0x1110a8){const _0x100a21=_0x3e388d;if(this['_clearOtherTimers']['has'](_0x1110a8)){const _0x413b10=this[_0x100a21(0x1ab)][_0x100a21(0x230)](_0x1110a8);_0x413b10&&window[_0x100a21(0x1d2)](_0x413b10),this['_clearOtherTimers'][_0x100a21(0x261)](_0x1110a8,null);}}[_0x3e388d(0x151)](_0x18683b){const _0x24bf58=_0x3e388d,{memberID:_0x3d7e53,unitIDs:_0x50531b}=_0x18683b;_0x50531b[_0x24bf58(0x243)](_0x24194f=>{const _0x5570e7=_0x24bf58;var _0x5942a1;const _0x5d96d5=this['_unitOnClients'][_0x5570e7(0x230)](_0x24194f);_0x5d96d5&&(_0x5d96d5[_0x5570e7(0x277)](_0x3d7e53),(_0x5942a1=this[_0x5570e7(0xcd)](_0x24194f))==null||_0x5942a1[_0x5570e7(0x257)](_0x5d96d5['size']===0x0?_0x2601ca['NO_OTHER_CLIENTS_EDITING']:_0x2601ca[_0x5570e7(0x1c5)]));}),this[_0x24bf58(0x1f8)](_0x3d7e53);}['_handleHeartbeatEvent'](_0x12b17f){const _0x5da0b4=_0x3e388d;this['_scheduleClearOtherTimer'](_0x12b17f[_0x5da0b4(0x11d)]);}[_0x3e388d(0x189)](_0x429bee){const _0x10a3f6=_0x3e388d;localStorage[_0x10a3f6(0xf1)](ot,JSON[_0x10a3f6(0x107)](_0x429bee));}[_0x3e388d(0x1d6)](){const _0x47a136=_0x3e388d;this[_0x47a136(0x10a)]=window[_0x47a136(0xe7)](()=>{const _0x33dd01=_0x47a136;this[_0x33dd01(0x189)]({'type':0x2,'memberID':this[_0x33dd01(0x1cf)]});},rt);}['_ensureSubject'](_0x1b6aa9){const _0x171ea0=_0x3e388d;return this['_unitStatus'][_0x171ea0(0xe8)](_0x1b6aa9)||this['_unitStatus'][_0x171ea0(0x261)](_0x1b6aa9,new _0x1b6950(_0x2601ca['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x1b6aa9);}}var Ut=(_0x34a578=>(_0x34a578[_0x34a578[_0x3e388d(0x23c)]=0x0]=_0x3e388d(0x23c),_0x34a578[_0x34a578['OK']=0x1]='OK',_0x34a578[_0x34a578[_0x3e388d(0xfd)]=0x2]=_0x3e388d(0xfd),_0x34a578[_0x34a578[_0x3e388d(0x18e)]=0x3]=_0x3e388d(0x18e),_0x34a578[_0x34a578[_0x3e388d(0x1cc)]=0x4]='NOT_FOUND',_0x34a578[_0x34a578[_0x3e388d(0x1d9)]=0x5]='UNAUTHENTICATED',_0x34a578[_0x34a578[_0x3e388d(0x174)]=0x6]=_0x3e388d(0x174),_0x34a578[_0x34a578[_0x3e388d(0x270)]=0x7]=_0x3e388d(0x270),_0x34a578[_0x34a578[_0x3e388d(0x1ec)]=0x8]=_0x3e388d(0x1ec),_0x34a578[_0x34a578[_0x3e388d(0x1bb)]=0x9]='COMPLETION_FINISHED',_0x34a578[_0x34a578['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3e388d(0xf2),_0x34a578[_0x34a578[_0x3e388d(0x10b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x34a578[_0x34a578[_0x3e388d(0x1f7)]=0x1772]=_0x3e388d(0x1f7),_0x34a578[_0x34a578[_0x3e388d(0x153)]=0x1773]=_0x3e388d(0x153),_0x34a578[_0x34a578[_0x3e388d(0xdb)]=0x1b59]=_0x3e388d(0xdb),_0x34a578[_0x34a578[_0x3e388d(0x1e4)]=0x1b5a]=_0x3e388d(0x1e4),_0x34a578[_0x34a578[_0x3e388d(0x200)]=0x1b5b]=_0x3e388d(0x200),_0x34a578[_0x34a578[_0x3e388d(0x121)]=0x1b5c]=_0x3e388d(0x121),_0x34a578[_0x34a578[_0x3e388d(0x167)]=0x1b5d]='APPLY_DUPLICATED',_0x34a578[_0x34a578[_0x3e388d(0x237)]=0x1f41]=_0x3e388d(0x237),_0x34a578[_0x34a578[_0x3e388d(0x21c)]=0x2329]=_0x3e388d(0x21c),_0x34a578[_0x34a578[_0x3e388d(0xf0)]=0x232a]=_0x3e388d(0xf0),_0x34a578[_0x34a578[_0x3e388d(0x212)]=0x232b]=_0x3e388d(0x212),_0x34a578[_0x34a578[_0x3e388d(0x265)]=0x232c]=_0x3e388d(0x265),_0x34a578[_0x34a578[_0x3e388d(0xd7)]=0x232d]=_0x3e388d(0xd7),_0x34a578[_0x34a578[_0x3e388d(0x104)]=0x2711]=_0x3e388d(0x104),_0x34a578[_0x34a578[_0x3e388d(0x1df)]=0x2712]=_0x3e388d(0x1df),_0x34a578[_0x34a578['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3e388d(0x115),_0x34a578[_0x34a578[_0x3e388d(0x13a)]=0x2714]=_0x3e388d(0x13a),_0x34a578[_0x34a578[_0x3e388d(0x101)]=0x2af9]=_0x3e388d(0x101),_0x34a578[_0x34a578['UNRECOGNIZED']=-0x1]=_0x3e388d(0x97),_0x34a578))(Ut||{}),Rn=Object[_0x3e388d(0x10e)],Dn=(_0x505d0b,_0x185770,_0x5edaef,_0x3dd108)=>{for(var _0x31e286=_0x3dd108>0x1?void 0x0:_0x3dd108?Rn(_0x185770,_0x5edaef):_0x185770,_0x1b02fc=_0x505d0b['length']-0x1,_0x1315ec;_0x1b02fc>=0x0;_0x1b02fc--)(_0x1315ec=_0x505d0b[_0x1b02fc])&&(_0x31e286=_0x1315ec(_0x31e286)||_0x31e286);return _0x31e286;},Te=(_0x2a5ed0,_0x345b96)=>(_0x39f8ea,_0x50b445)=>_0x345b96(_0x39f8ea,_0x50b445,_0x2a5ed0);let at=class extends _0x5039df{constructor(_0x178333,_0x1c705d,_0x49df19){const _0x2d0a8f=_0x3e388d;super(),this['_instanceService']=_0x178333,this['_httpService']=_0x1c705d,this[_0x2d0a8f(0x16f)]=_0x49df19;}async[_0x3e388d(0x25e)](_0x137988,_0x325e7b,_0x56e8b7,..._0x5e60d8){const _0x30bee7=_0x3e388d;var _0x3b623f,_0x3f4e5a,_0x3bfca9,_0x528a70;const _0x37f839=this[_0x30bee7(0x1cb)][_0x30bee7(0x1af)]();if(!_0x37f839)throw new Error(_0x30bee7(0x23e));const _0x3f48a0=((_0x3b623f=this[_0x30bee7(0x16f)][_0x30bee7(0x1a6)](_0x320504))!=null?_0x3b623f:_0x26e985)+'/'+_0x137988+_0x30bee7(0x26e)+_0x325e7b,_0x39c5b8=new URL(window['location'][_0x30bee7(0xeb)]),_0x41bea8={'scriptId':_0x137988,'runId':(_0x3f4e5a=_0x39c5b8[_0x30bee7(0x26a)][_0x30bee7(0x230)](_0x30bee7(0x19a)))!=null?_0x3f4e5a:'','function':_0x325e7b,'unitId':_0x37f839[_0x30bee7(0x262)](),'argsOfFunction':JSON[_0x30bee7(0x107)](_0x5e60d8),'invokeId':(_0x3bfca9=_0x56e8b7[_0x30bee7(0xff)])!=null?_0x3bfca9:'','executionId':(_0x528a70=_0x56e8b7['executionId'])!=null?_0x528a70:''};try{const _0x6c0cb3=await this[_0x30bee7(0x14a)]['post'](_0x3f48a0,{'body':_0x41bea8});return _0x6c0cb3[_0x30bee7(0xcc)][_0x30bee7(0xe2)]&&_0x6c0cb3[_0x30bee7(0xcc)][_0x30bee7(0xe2)][_0x30bee7(0x1b9)]!==Ut['OK']?_0x30bee7(0x269):_0x6c0cb3['body'][_0x30bee7(0xe4)];}catch{return _0x30bee7(0x269);}}};at=Dn([Te(0x0,_0x4111ca),Te(0x1,_0x451e45(_0x14d128)),Te(0x2,_0x35f2e2)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x43bb79=_0x2165;(function(_0x347ad7,_0x299270){const _0x3453c3=_0x2165,_0x71e3d9=_0x347ad7();while(!![]){try{const _0x46a65a=parseInt(_0x3453c3(0x2ca))/0x1+-parseInt(_0x3453c3(0x322))/0x2*(-parseInt(_0x3453c3(0x2b6))/0x3)+parseInt(_0x3453c3(0x141))/0x4+parseInt(_0x3453c3(0x178))/0x5*(-parseInt(_0x3453c3(0x19a))/0x6)+parseInt(_0x3453c3(0x2ae))/0x7+-parseInt(_0x3453c3(0x164))/0x8*(parseInt(_0x3453c3(0x21e))/0x9)+-parseInt(_0x3453c3(0x1d6))/0xa*(parseInt(_0x3453c3(0x32f))/0xb);if(_0x46a65a===_0x299270)break;else _0x71e3d9['push'](_0x71e3d9['shift']());}catch(_0x3b7368){_0x71e3d9['push'](_0x71e3d9['shift']());}}}(_0xc1e6,0x2c889));var kt=Object[_0x43bb79(0x2e3)],Bt=(_0xa34ff1,_0x10ecda,_0x424518)=>_0x10ecda in _0xa34ff1?kt(_0xa34ff1,_0x10ecda,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x424518}):_0xa34ff1[_0x10ecda]=_0x424518,h=(_0x4c6651,_0x2d3d7e,_0x503c41)=>Bt(_0x4c6651,typeof _0x2d3d7e!='symbol'?_0x2d3d7e+'':_0x2d3d7e,_0x503c41);import{MemberService as _0x37af8c,SessionStatus as _0x273523,CollaborationSessionService as _0x7c3e68,CollaborationStatus as _0x295a76,CollaborationController as _0x1f8043,ILocalCacheService as _0x40a747,CollaborationUIEventService as _0x2afbbf,CollaborationUIEventId as _0x4e3bcd,DataLoaderService as _0x2b9e4f,DocCollaborationEntity as _0x4d904c,getLocalCacheKey as _0x4fed25,LOCAL_CACHE_INTERVAL as _0x2f141a,LOCAL_CACHE_INTERVAL_KEY as _0x43f15d,UniverCollaborationClientPlugin as _0x2ca347,CollaborationSocketService as _0x15437c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x18705f,DEFAULT_WS_SESSION_TICKET_URL as _0x4bd6be,UnitStatus as _0xeea638,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x220169,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1bf535}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x20b3a0,Disposable as _0xf5cf87,DOC_RANGE_TYPE as _0x2f84f6,Inject as _0x502d14,Injector as _0x4c43ee,IUniverInstanceService as _0x30bd00,ICommandService as _0x50f030,debounce as _0x40556a,Rectangle as _0x1667f3,DisposableCollection as _0x19c163,toDisposable as _0x48818b,UniverInstanceType as _0xdcdde7,Tools as _0x1aee49,COLORS as _0x6ea656,ColorKit as _0x273249,ThemeService as _0x3855f5,fromEventSubject as _0x470191,LocaleService as _0x523740,createIdentifier as _0x1c7058,ILogService as _0x2f4704,Optional as _0x1edf7d,Workbook as _0x25faec,CommandType as _0x9d124,IConfigService as _0x37fa78,ILocalStorageService as _0x20ef19,DependentOn as _0x15fe56,Plugin as _0x41cfd9,merge as _0x515488,registerDependencies as _0x4c220e,mergeOverrideWithDependencies as _0x16403f,touchDependencies as _0x53954a,generateRandomId as _0x3086f1}from'@univerjs/core';function _0x2165(_0x452122,_0x2243c1){const _0xc1e674=_0xc1e6();return _0x2165=function(_0x216590,_0x54ee6a){_0x216590=_0x216590-0x136;let _0x305134=_0xc1e674[_0x216590];return _0x305134;},_0x2165(_0x452122,_0x2243c1);}import{Shape as _0xa86e63,Rect as _0x362d91,getColor as _0x40fc5b,RegularPolygon as _0x2ceb69,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2e5b7a,Vector2 as _0x9059d4,SHEET_VIEWPORT_KEY as _0x5d32c6,IRenderManagerService as _0xc058b9}from'@univerjs/engine-render';import{ISocketService as _0x30a7a4,WebSocketService as _0x5b5369,HTTPService as _0x23a096}from'@univerjs/network';import{IDocClipboardService as _0xc1d2c4,NodePositionConvertToCursor as _0x32b91f,NodePositionConvertToRectRange as _0x53b43d,TEXT_RANGE_LAYER_INDEX as _0x16015d,SetDocZoomRatioOperation as _0xf3ff52,DocIMEInputManagerService as _0x597b13,DocStateChangeManagerService as _0x25b887}from'@univerjs/docs-ui';import{IImageIoService as _0x25cf39}from'@univerjs/drawing';import{BehaviorSubject as _0x4a6e6e,debounceTime as _0x4f80ed,takeUntil as _0x5c2067,Subject as _0x4e709e,filter as _0x5e10e8,switchMap as _0x86cf42,merge as _0x29b9e6,combineLatest as _0x4d4eea,of as _0x183dd6,fromEvent as _0x3d6b41,shareReplay as _0x174904,mapTo as _0x4b7cfd,distinctUntilChanged as _0x4d3ca7}from'rxjs';import{SetTextSelectionsOperation as _0x5101cb,RichTextEditingMutation as _0x30c0ed,DocSelectionManagerService as _0x18e240,DocSkeletonManagerService as _0x5c7f1f}from'@univerjs/docs';import{ITransformService as _0xf1490c,CollaborationEvent as _0x23be17,isTransformMutationFailure as _0x33576f,isTransformMutationsWithChangesetSuccess as _0x40ed42,RevisionService as _0x5d2c9b,ISnapshotServerService as _0x24a807}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x124612,serializeRangeWithSheet as _0x2a8595}from'@univerjs/engine-formula';import{RefRangeService as _0x54985e,SetSelectionsOperation as _0x212c87,SheetsSelectionsService as _0x4c706c,EffectRefRangId as _0x13c60a,handleIRemoveRow as _0x3cc387,handleIRemoveCol as _0x4117e2,handleMoveRange as _0x3d227f,handleInsertRow as _0x12da20,handleInsertRangeMoveRight as _0x5e3720,handleInsertRangeMoveDown as _0x4e38a6,handleInsertCol as _0x12b472,handleDeleteRangeMoveUp as _0x6f55fd,handleDeleteRangeMoveLeft as _0xe9bdcd,runRefRangeMutations as _0x1320ec,SetWorksheetActivateCommand as _0x1c6ab0}from'@univerjs/sheets';import{map as _0x40ab35,filter as _0x34fbec,throttleTime as _0x5df0c5,takeUntil as _0x3cd024,switchMap as _0x2eb6c0}from'rxjs/operators';import{SheetSkeletonManagerService as _0x35bd91,getCoordByCell as _0x43e42e,getSheetObject as _0x2be706}from'@univerjs/sheets-ui';import{jsx as _0x3da671,jsxs as _0x50f421}from'react/jsx-runtime';import{useObservable as _0x2ace30,useDependency as _0x102cf4,IUIPartsService as _0x2ff301,BuiltInUIPart as _0x5291b0,connectInjector as _0x3ffe91,IBeforeCloseService as _0xe6879f,IMessageService as _0x3b4620,INotificationService as _0x34cdf2}from'@univerjs/ui';import{clsx as _0x4e5491,Tooltip as _0x158bd2,MessageType as _0x4d8587}from'@univerjs/design';import{forwardRef as _0xe2b30c,useRef as _0x5d928b,createElement as _0x550281,useCallback as _0x5ad591}from'react';import{IRemoteInstanceService as _0x121ff4}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],hi=(_0x4eefae,_0x45ddcc,_0x3ebc5f,_0xd3365a)=>{const _0x5b71cf=_0x43bb79;for(var _0x48173c=_0xd3365a>0x1?void 0x0:_0xd3365a?li(_0x45ddcc,_0x3ebc5f):_0x45ddcc,_0x45542c=_0x4eefae[_0x5b71cf(0x17a)]-0x1,_0x1c438d;_0x45542c>=0x0;_0x45542c--)(_0x1c438d=_0x4eefae[_0x45542c])&&(_0x48173c=_0x1c438d(_0x48173c)||_0x48173c);return _0x48173c;},qe=(_0x3abb5a,_0x2289ab)=>(_0x596bcf,_0x509ed3)=>_0x2289ab(_0x596bcf,_0x509ed3,_0x3abb5a);let Me=class extends _0x20b3a0{constructor(_0x41c130,_0x1ddec9){const _0x5d1a3d=_0x43bb79;super(),this[_0x5d1a3d(0x2af)]=_0x41c130,this[_0x5d1a3d(0x210)]=_0x1ddec9,this[_0x5d1a3d(0x300)]();}[_0x43bb79(0x300)](){const _0x29a6d7=_0x43bb79,_0x529ea7=this;this[_0x29a6d7(0x222)](this[_0x29a6d7(0x2af)][_0x29a6d7(0x1f0)]({'onBeforePasteImage':async _0x7c9254=>{const _0x4e09f2=_0x29a6d7,_0x462556=await _0x529ea7[_0x4e09f2(0x210)][_0x4e09f2(0x276)](_0x7c9254);return _0x462556?{'source':_0x462556[_0x4e09f2(0x309)],'imageSourceType':_0x462556[_0x4e09f2(0x1e0)]}:null;}}));}};Me=hi([qe(0x0,_0xc1d2c4),qe(0x1,_0x25cf39)],Me);const Qe=[_0x43bb79(0x184),_0x43bb79(0x2f8),'verdancy600',_0x43bb79(0x319),'blue400',_0x43bb79(0x186)];class He extends _0xf5cf87{constructor(){const _0x5b46d7=_0x43bb79;super(...arguments),h(this,_0x5b46d7(0x234),new Map()),h(this,_0x5b46d7(0x144),0x0);}[_0x43bb79(0x13f)](_0x4b5618){const _0x1bb3f1=_0x43bb79;if(this[_0x1bb3f1(0x234)][_0x1bb3f1(0x1e3)](_0x4b5618))return this[_0x1bb3f1(0x234)][_0x1bb3f1(0x2dd)](_0x4b5618);const _0x4a9536=Qe[this[_0x1bb3f1(0x144)]];return this[_0x1bb3f1(0x144)]=(this[_0x1bb3f1(0x144)]+0x1)%Qe['length'],this[_0x1bb3f1(0x234)][_0x1bb3f1(0x28c)](_0x4b5618,_0x4a9536),_0x4a9536;}}function Dt(_0x3f54f6){const _0x54ae29=_0x43bb79;let _0x729130='';for(const _0x455710 of _0x3f54f6){const {startOffset:_0x53fcd4,endOffset:_0x16fc43,isActive:_0x1dd495,rangeType:_0x111b92,segmentId:_0x2bbd6d,segmentPage:_0x4c1c07}=_0x455710;_0x729130[_0x54ae29(0x17a)]&&(_0x729130+=','),_0x729130+=_0x53fcd4+':'+_0x16fc43+':'+(_0x1dd495?'1':'0')+':'+_0x111b92+':'+_0x2bbd6d+':'+_0x4c1c07;}return _0x729130;}function _i(_0x558997){const _0x3819e1=_0x43bb79,_0x493f22=_0x558997[_0x3819e1(0x1fe)](','),_0x417295=[];for(const _0x3c92bf of _0x493f22){const [_0xa9a082,_0x17c6d4,_0x5d8e13,_0x35aa52,_0x2531a1,_0x5d8442]=_0x3c92bf[_0x3819e1(0x1fe)](':');_0x417295[_0x3819e1(0x25b)]({'startOffset':Number(_0xa9a082),'endOffset':Number(_0x17c6d4),'collapsed':_0xa9a082===_0x17c6d4,'isActive':_0x5d8e13==='1','rangeType':_0x35aa52===_0x2f84f6[_0x3819e1(0x194)]?_0x2f84f6['TEXT']:_0x2f84f6[_0x3819e1(0x1e6)],'segmentId':typeof _0x2531a1=='string'?String(_0x2531a1):'','segmentPage':Number(_0x5d8442!=null?_0x5d8442:-0x1)});}return _0x417295[_0x3819e1(0x268)](_0x2c5a28=>_0x2c5a28[_0x3819e1(0x2d6)])||(_0x417295[0x0][_0x3819e1(0x2d6)]=!0x0),_0x417295;}class je extends _0x20b3a0{constructor(){const _0x55d869=_0x43bb79;super(...arguments),h(this,'_collabCursorState$',new _0x4a6e6e(null)),h(this,_0x55d869(0x327),this['_collabCursorState$']['asObservable']());}[_0x43bb79(0x2c8)](_0x1ae1ff){const {unitID:_0x53f658,memberID:_0x44f740,textRanges:_0x211f4e}=_0x1ae1ff,_0x258431=Dt(_0x211f4e);if(_0x258431==='')return;const _0x5ceda7={'unitID':_0x53f658,'memberID':_0x44f740,'selection':_0x258431};this['_collabCursorState$']['next'](_0x5ceda7);}}var ui=Object[_0x43bb79(0x1af)],di=(_0x4a4d1b,_0x3039fb,_0x5793f4,_0x1fc2d5)=>{const _0x162590=_0x43bb79;for(var _0x363f3d=_0x1fc2d5>0x1?void 0x0:_0x1fc2d5?ui(_0x3039fb,_0x5793f4):_0x3039fb,_0x161faf=_0x4a4d1b[_0x162590(0x17a)]-0x1,_0x5a781c;_0x161faf>=0x0;_0x161faf--)(_0x5a781c=_0x4a4d1b[_0x161faf])&&(_0x363f3d=_0x5a781c(_0x363f3d)||_0x363f3d);return _0x363f3d;},U=(_0x370ca0,_0x118dbc)=>(_0x458371,_0x2e0fe8)=>_0x118dbc(_0x458371,_0x2e0fe8,_0x370ca0);const fi=0x12c,Si=0x64;let Ne=class extends _0x20b3a0{constructor(_0x5c61e8,_0x174f11,_0x459165,_0xb832c2,_0x1e12e1,_0x4cff02,_0x25dbe1,_0xfe4586,_0x2558d3){const _0x5d9ab0=_0x43bb79;super(),h(this,_0x5d9ab0(0x20b),!0x1),h(this,'_init',!0x1),h(this,_0x5d9ab0(0x2a1),new _0x4a6e6e(new Map())),h(this,_0x5d9ab0(0x335),this[_0x5d9ab0(0x2a1)][_0x5d9ab0(0x248)]()),h(this,_0x5d9ab0(0x296),new _0x4a6e6e([])),h(this,_0x5d9ab0(0x17c),this[_0x5d9ab0(0x296)][_0x5d9ab0(0x2de)](_0x4f80ed(fi))),h(this,'_updateLocalCursor',_0x40556a(_0x62a703=>{const _0x5c7c2b=_0x5d9ab0,_0x3f051f={'eventID':_0x23be17['UPDATE_CURSOR'],'data':{'unitID':this[_0x5c7c2b(0x2b9)],'memberID':this['_session'][_0x5c7c2b(0x2b4)](),'selection':Dt(_0x62a703)}};this[_0x5c7c2b(0x246)]['send'](_0x3f051f,this[_0x5c7c2b(0x2b9)]);},Si)),(this[_0x5d9ab0(0x2b9)]=_0x5c61e8,this['_session']=_0x174f11,this[_0x5d9ab0(0x1c9)]=_0x459165,this['_colorAssignService']=_0xb832c2,this[_0x5d9ab0(0x21a)]=_0x1e12e1,this[_0x5d9ab0(0x170)]=_0x4cff02,this[_0x5d9ab0(0x252)]=_0x25dbe1,this[_0x5d9ab0(0x187)]=_0xfe4586,this[_0x5d9ab0(0x278)]=_0x2558d3);}get[_0x43bb79(0x282)](){const _0x58b21a=_0x43bb79;return this[_0x58b21a(0x2a1)]['getValue']();}get[_0x43bb79(0x2ec)](){const _0x50f41e=_0x43bb79;return this[_0x50f41e(0x296)][_0x50f41e(0x213)]();}[_0x43bb79(0x1bb)](){const _0x50c4d9=_0x43bb79;super[_0x50c4d9(0x1bb)](),this[_0x50c4d9(0x2a1)][_0x50c4d9(0x254)](new Map()),this[_0x50c4d9(0x2a1)][_0x50c4d9(0x302)](),this['_roomMembers$'][_0x50c4d9(0x254)]([]),this[_0x50c4d9(0x296)][_0x50c4d9(0x302)]();}[_0x43bb79(0x2b8)](){const _0x846f1f=_0x43bb79;this['_init']||(this['_init']=!0x0,this[_0x846f1f(0x246)][_0x846f1f(0x20c)][_0x846f1f(0x2de)](_0x5c2067(this['dispose$']))[_0x846f1f(0x32a)](_0x1fb6eb=>{const _0x4a81ac=_0x846f1f;_0x1fb6eb===_0x273523[_0x4a81ac(0x265)]?this['_toggleOnline']():this[_0x4a81ac(0x328)]();}),this[_0x846f1f(0x246)][_0x846f1f(0x261)]['pipe'](_0x5c2067(this[_0x846f1f(0x320)]))['subscribe'](_0x4697fa=>{const _0xb3656d=_0x846f1f,_0x264c0b=_0x4697fa[_0xb3656d(0x233)];_0x264c0b===_0x23be17[_0xb3656d(0x206)]&&this[_0xb3656d(0x26e)](_0x4697fa),_0x264c0b===_0x23be17[_0xb3656d(0x145)]&&this[_0xb3656d(0x2a5)](_0x4697fa);}),this[_0x846f1f(0x222)](this[_0x846f1f(0x278)][_0x846f1f(0x1e2)](_0x2a510e=>{const _0x5b4f3d=_0x846f1f,_0x49c408=_0x2a510e['params'];_0x49c408!=null&&this['_online']&&_0x2a510e['id']===_0x5101cb['id']&&_0x49c408['unitId']===this[_0x5b4f3d(0x2b9)]&&_0x49c408[_0x5b4f3d(0x2e9)]===!0x1&&_0x49c408[_0x5b4f3d(0x169)][_0x5b4f3d(0x17a)]>0x0&&this[_0x5b4f3d(0x1b2)](_0x49c408[_0x5b4f3d(0x169)]);})),this[_0x846f1f(0x170)][_0x846f1f(0x327)][_0x846f1f(0x2de)](_0x5c2067(this[_0x846f1f(0x320)]))[_0x846f1f(0x32a)](_0x504f79=>{const _0x4f091e=_0x846f1f;if((_0x504f79==null?void 0x0:_0x504f79[_0x4f091e(0x2b9)])!==this['unitID'])return;const _0x5649b4={'eventID':_0x23be17[_0x4f091e(0x206)],'data':_0x504f79};this[_0x4f091e(0x26e)](_0x5649b4);}),this[_0x846f1f(0x222)](this['_commandService'][_0x846f1f(0x1e2)](_0x5d0fb9=>{const _0x4f8e22=_0x846f1f;if(_0x5d0fb9[_0x4f8e22(0x1ce)]==null)return;const _0x48128f=_0x5d0fb9[_0x4f8e22(0x1ce)];if(_0x5d0fb9['id']!==_0x30c0ed['id']||_0x48128f[_0x4f8e22(0x294)]!==this[_0x4f8e22(0x2b9)])return;const _0x19da96={'id':_0x4f8e22(0x2f1),'params':_0x48128f},_0x32e2f0=this[_0x4f8e22(0x282)];for(const [_0x4bd559,_0x5b6fae]of _0x32e2f0){const _0x3bc1c6={'id':_0x4f8e22(0x2f1),'params':{'unitId':this[_0x4f8e22(0x2b9)],'actions':null,'textRanges':_0x5b6fae[_0x4f8e22(0x169)]}},_0x243eb5=this[_0x4f8e22(0x252)][_0x4f8e22(0x2e0)](_0x19da96,_0x3bc1c6,!0x1);if(_0x33576f(_0x243eb5))throw _0x243eb5[_0x4f8e22(0x31e)];_0x32e2f0[_0x4f8e22(0x28c)](_0x4bd559,{..._0x5b6fae,'ranges':_0x243eb5[_0x4f8e22(0x2b5)][_0x4f8e22(0x1ce)][_0x4f8e22(0x174)]});}queueMicrotask(()=>{const _0x2ff2b7=_0x4f8e22;this[_0x2ff2b7(0x2a1)][_0x2ff2b7(0x254)](_0x32e2f0);});})));}[_0x43bb79(0x26e)](_0x19db09){const _0x4e4ad3=_0x43bb79;var _0x415f7b,_0x4704b0;const {memberID:_0x5b6334,selection:_0x14589a}=_0x19db09[_0x4e4ad3(0x1ee)],_0x229dd1=_i(_0x14589a),_0x580c24=(_0x4704b0=(_0x415f7b=this[_0x4e4ad3(0x21a)][_0x4e4ad3(0x189)](this[_0x4e4ad3(0x2b9)],_0x5b6334))==null?void 0x0:_0x415f7b['name'])!=null?_0x4704b0:_0x4e4ad3(0x336),_0x4faf09={'color':this[_0x4e4ad3(0x25f)][_0x4e4ad3(0x13f)](_0x5b6334),'name':_0x580c24,'ranges':_0x229dd1},_0xc76c9c=this[_0x4e4ad3(0x282)];_0xc76c9c['set'](_0x5b6334,_0x4faf09),this[_0x4e4ad3(0x2a1)][_0x4e4ad3(0x254)](_0xc76c9c);}[_0x43bb79(0x2a5)](_0x23569b){const _0x36cc05=_0x43bb79,{memberID:_0xcb1b69}=_0x23569b[_0x36cc05(0x1ee)],_0x4fc200=this['cursorInfo'];_0x4fc200[_0x36cc05(0x31a)](_0xcb1b69),this[_0x36cc05(0x2a1)][_0x36cc05(0x254)](_0x4fc200);}[_0x43bb79(0x156)](){const _0x1b721e=_0x43bb79;var _0x5844f5;if(this[_0x1b721e(0x20b)]=!0x0,((_0x5844f5=this[_0x1b721e(0x187)][_0x1b721e(0x306)]())==null?void 0x0:_0x5844f5[_0x1b721e(0x231)]())!==this[_0x1b721e(0x2b9)])return;const _0x3a1c4c=this[_0x1b721e(0x1c9)][_0x1b721e(0x2dd)](_0x18e240)[_0x1b721e(0x28f)]();Array[_0x1b721e(0x173)](_0x3a1c4c)&&_0x3a1c4c[_0x1b721e(0x17a)]>0x0&&this[_0x1b721e(0x1b2)](_0x3a1c4c);}['_toggleOffline'](){const _0x4bba37=_0x43bb79;this[_0x4bba37(0x20b)]=!0x1;}};Ne=di([U(0x2,_0x502d14(_0x4c43ee)),U(0x3,_0x502d14(He)),U(0x4,_0x502d14(_0x37af8c)),U(0x5,_0x502d14(je)),U(0x6,_0xf1490c),U(0x7,_0x30bd00),U(0x8,_0x50f030)],Ne);var mi=Object[_0x43bb79(0x1af)],gi=(_0x1fa22d,_0x5140b8,_0x35e8ee,_0x5cf8ee)=>{const _0x58d08b=_0x43bb79;for(var _0x26d25e=_0x5cf8ee>0x1?void 0x0:_0x5cf8ee?mi(_0x5140b8,_0x35e8ee):_0x5140b8,_0x453587=_0x1fa22d[_0x58d08b(0x17a)]-0x1,_0x374bf4;_0x453587>=0x0;_0x453587--)(_0x374bf4=_0x1fa22d[_0x453587])&&(_0x26d25e=_0x374bf4(_0x26d25e)||_0x26d25e);return _0x26d25e;},x=(_0x3937ea,_0x23951e)=>(_0x8365f3,_0x473967)=>_0x23951e(_0x8365f3,_0x473967,_0x3937ea);const vi=0x12c,Ii=0x64,pi=()=>{let _0x10a483=[],_0x3b2ed5=!0x1;return _0x37f401=>{const _0x50c2c1=_0x2165;_0x10a483[_0x50c2c1(0x25b)](_0x37f401),_0x3b2ed5||(_0x3b2ed5=!0x0,setTimeout(()=>{const _0x53226a=_0x50c2c1;_0x10a483[_0x53226a(0x240)](_0x4a9793=>_0x4a9793()),_0x10a483=[],_0x3b2ed5=!0x1;}));};};let we=class extends _0x20b3a0{constructor(_0x287417,_0x310c20,_0x372e80,_0x5cbbb8,_0x4773b2,_0x96b02b,_0x1c462b,_0x5a0310){const _0x23456e=_0x43bb79;super(),h(this,'_online',!0x1),h(this,_0x23456e(0x300),!0x1),h(this,_0x23456e(0x2a1),new _0x4a6e6e(new Map())),h(this,'cursorInfo$',this[_0x23456e(0x2a1)][_0x23456e(0x248)]()),h(this,_0x23456e(0x296),new _0x4a6e6e([])),h(this,_0x23456e(0x17c),this[_0x23456e(0x296)]['pipe'](_0x4f80ed(vi))),h(this,_0x23456e(0x1b2),_0x40556a((_0x4e4b55,_0xdf5bdc)=>{const _0x517fc0=_0x23456e,_0x4de6b6={'eventID':_0x23be17['UPDATE_CURSOR'],'data':{'unitID':this[_0x517fc0(0x2b9)],'memberID':this['_session'][_0x517fc0(0x2b4)](),'selection':_0x2a8595(_0x4e4b55,_0xdf5bdc['range'])}};this[_0x517fc0(0x246)]['send'](_0x4de6b6,this['unitID']);},Ii)),(this[_0x23456e(0x2b9)]=_0x287417,this['_session']=_0x310c20,this[_0x23456e(0x1c9)]=_0x372e80,this['_colorAssignService']=_0x5cbbb8,this[_0x23456e(0x21a)]=_0x4773b2,this[_0x23456e(0x187)]=_0x96b02b,this[_0x23456e(0x278)]=_0x1c462b,this[_0x23456e(0x140)]=_0x5a0310);}get[_0x43bb79(0x282)](){const _0x47bf0e=_0x43bb79;return this[_0x47bf0e(0x2a1)][_0x47bf0e(0x213)]();}get['roomMembers'](){const _0x35ef9f=_0x43bb79;return this[_0x35ef9f(0x296)][_0x35ef9f(0x213)]();}[_0x43bb79(0x1bb)](){const _0x5455d5=_0x43bb79;super[_0x5455d5(0x1bb)](),this['_cursorInfo$'][_0x5455d5(0x254)](new Map()),this[_0x5455d5(0x2a1)][_0x5455d5(0x302)](),this['_roomMembers$'][_0x5455d5(0x254)]([]),this['_roomMembers$'][_0x5455d5(0x302)]();}[_0x43bb79(0x2b8)](){const _0x408dd3=_0x43bb79;this[_0x408dd3(0x300)]||(this[_0x408dd3(0x300)]=!0x0,this[_0x408dd3(0x246)]['sessionStatus$']['pipe'](_0x5c2067(this[_0x408dd3(0x320)]))[_0x408dd3(0x32a)](_0x22b9db=>{const _0x464395=_0x408dd3;_0x22b9db===_0x273523[_0x464395(0x265)]?this['_toggleOnline']():this[_0x464395(0x328)]();}),this[_0x408dd3(0x246)][_0x408dd3(0x261)][_0x408dd3(0x2de)](_0x5c2067(this[_0x408dd3(0x320)]))[_0x408dd3(0x32a)](_0x36ddf8=>{const _0x1b8e22=_0x408dd3,_0x1f7839=_0x36ddf8[_0x1b8e22(0x233)];_0x1f7839===_0x23be17[_0x1b8e22(0x206)]&&this[_0x1b8e22(0x26e)](_0x36ddf8),_0x1f7839===_0x23be17['USERS_LEAVE']&&this[_0x1b8e22(0x2a5)](_0x36ddf8);}),this[_0x408dd3(0x182)](),this[_0x408dd3(0x222)](this[_0x408dd3(0x278)][_0x408dd3(0x1e2)](_0x1eebf5=>{const _0x5b9ed4=_0x408dd3;if(this[_0x5b9ed4(0x20b)]&&_0x1eebf5['id']===_0x212c87['id']&&_0x1eebf5[_0x5b9ed4(0x1ce)][_0x5b9ed4(0x294)]===this['unitID']){const _0xc6472=_0x1eebf5[_0x5b9ed4(0x1ce)];this[_0x5b9ed4(0x1b2)](_0xc6472['subUnitId'],_0xc6472[_0x5b9ed4(0x2ac)][0x0]);}})));}[_0x43bb79(0x26e)](_0x34ba2a){const _0x14a269=_0x43bb79;var _0x1889c3,_0x5eca9b;const {memberID:_0x15b0ce,selection:_0x3e90c6}=_0x34ba2a['data'],{sheetName:_0xe9606b,range:_0x5b0a69}=_0x124612(_0x3e90c6),_0x2dd221={'name':(_0x5eca9b=(_0x1889c3=this[_0x14a269(0x21a)]['getMember'](this['unitID'],_0x15b0ce))==null?void 0x0:_0x1889c3[_0x14a269(0x27d)])!=null?_0x5eca9b:'Unknown\x20user','range':this[_0x14a269(0x2b0)](_0xe9606b,_0x5b0a69),'sheetID':_0xe9606b,'color':this[_0x14a269(0x25f)][_0x14a269(0x13f)](_0x15b0ce),'selection':_0x3e90c6},_0x277acd=this[_0x14a269(0x282)];_0x277acd[_0x14a269(0x28c)](_0x15b0ce,_0x2dd221),this['_cursorInfo$']['next'](_0x277acd);}['_onCursorDelete'](_0x3718a6){const _0x138fc9=_0x43bb79,{memberID:_0x132358}=_0x3718a6[_0x138fc9(0x1ee)],_0x3faaac=this[_0x138fc9(0x282)];_0x3faaac[_0x138fc9(0x31a)](_0x132358),this['_cursorInfo$'][_0x138fc9(0x254)](_0x3faaac);}[_0x43bb79(0x2b0)](_0x1eb882,_0x17005e){const _0x33b771=_0x43bb79;var _0xc73667,_0x4cf872;const _0x1039e9=(_0x4cf872=(_0xc73667=this['_univerInstanceService'][_0x33b771(0x23f)](this[_0x33b771(0x2b9)]))==null?void 0x0:_0xc73667[_0x33b771(0x1cc)](_0x1eb882))==null?void 0x0:_0x4cf872[_0x33b771(0x279)]();return(_0x1039e9==null?void 0x0:_0x1039e9['find'](_0x4c3228=>_0x1667f3[_0x33b771(0x22d)](_0x4c3228,_0x17005e)))||_0x17005e;}[_0x43bb79(0x182)](){const _0x11c96b=_0x43bb79,_0xf3905a=new _0x19c163(),_0x40a0b6=pi(),_0x34f7e7=()=>{const _0x396a0d=_0x2165;_0xf3905a[_0x396a0d(0x1bb)]();const _0x4c33ba=(_0x572150,_0x30b7a6,_0x21b2ef,_0x344f3c)=>{const _0x1cf7be=_0x396a0d;let _0x4b6985=[];switch(_0x572150['id']){case _0x13c60a[_0x1cf7be(0x262)]:{_0x4b6985=_0xe9bdcd(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x167)]:{_0x4b6985=_0x6f55fd(_0x572150,_0x344f3c);break;}case _0x13c60a['InsertColCommandId']:{_0x4b6985=_0x12b472(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x232)]:{_0x4b6985=_0x4e38a6(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x163)]:{_0x4b6985=_0x5e3720(_0x572150,_0x344f3c);break;}case _0x13c60a['InsertRowCommandId']:{_0x4b6985=_0x12da20(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x198)]:{_0x4b6985=_0x3d227f(_0x572150,_0x344f3c);break;}case _0x13c60a['RemoveColCommandId']:{_0x4b6985=_0x4117e2(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x176)]:{_0x4b6985=_0x3cc387(_0x572150,_0x344f3c);break;}}const _0x333222=_0x1320ec(_0x4b6985,_0x344f3c),_0x4a1b6e=this[_0x1cf7be(0x282)][_0x1cf7be(0x2dd)](_0x30b7a6);if(_0x4a1b6e&&_0x333222){const _0x1c7f5f={..._0x4a1b6e,'range':_0x333222};this['cursorInfo'][_0x1cf7be(0x28c)](_0x30b7a6,_0x1c7f5f),_0x40a0b6(()=>{const _0x3527af=_0x1cf7be,_0x11d875=this['_refRangeService'][_0x3527af(0x175)](_0x333222,_0x6b6bff=>(_0x11d875[_0x3527af(0x1bb)](),_0x4c33ba(_0x6b6bff,_0x30b7a6,_0x21b2ef,_0x333222)));_0xf3905a[_0x3527af(0x338)](_0x11d875);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3736a0,_0x4207ee)=>{const _0x22b8dd=_0x396a0d,{range:_0x183566,sheetID:_0x504b7e}=_0x3736a0,_0x1d8105=this[_0x22b8dd(0x140)][_0x22b8dd(0x175)](_0x183566,_0x4671d4=>(_0x1d8105[_0x22b8dd(0x1bb)](),_0x4c33ba(_0x4671d4,_0x4207ee,_0x504b7e,_0x183566)));_0xf3905a[_0x22b8dd(0x338)](_0x1d8105);});};this[_0x11c96b(0x222)](_0x48818b(this[_0x11c96b(0x2a1)][_0x11c96b(0x32a)](()=>{_0x34f7e7();})));}[_0x43bb79(0x156)](){const _0x52ab09=_0x43bb79;var _0x5c9e9c,_0x57323a;if(this[_0x52ab09(0x20b)]=!0x0,((_0x5c9e9c=this[_0x52ab09(0x187)][_0x52ab09(0x306)]())==null?void 0x0:_0x5c9e9c[_0x52ab09(0x231)]())!==this[_0x52ab09(0x2b9)])return;const _0x60a694=(_0x57323a=this[_0x52ab09(0x1c9)][_0x52ab09(0x2dd)](_0x4c706c)[_0x52ab09(0x318)]())==null?void 0x0:_0x57323a[0x0],_0x480b15=this[_0x52ab09(0x187)][_0x52ab09(0x161)](_0xdcdde7[_0x52ab09(0x1ae)])[_0x52ab09(0x24f)]();_0x60a694&&_0x480b15&&this[_0x52ab09(0x1b2)](_0x480b15[_0x52ab09(0x21b)](),_0x60a694);}[_0x43bb79(0x328)](){const _0x3535b0=_0x43bb79;this[_0x3535b0(0x20b)]=!0x1;}};we=gi([x(0x2,_0x502d14(_0x4c43ee)),x(0x3,_0x502d14(He)),x(0x4,_0x502d14(_0x37af8c)),x(0x5,_0x30bd00),x(0x6,_0x50f030),x(0x7,_0x502d14(_0x54985e))],we);var Ci=Object[_0x43bb79(0x1af)],bi=(_0x5c7918,_0x2b0c00,_0x13932c,_0x49fedc)=>{const _0x2fa5ce=_0x43bb79;for(var _0x1d051d=_0x49fedc>0x1?void 0x0:_0x49fedc?Ci(_0x2b0c00,_0x13932c):_0x2b0c00,_0x30a062=_0x5c7918[_0x2fa5ce(0x17a)]-0x1,_0x24b159;_0x30a062>=0x0;_0x30a062--)(_0x24b159=_0x5c7918[_0x30a062])&&(_0x1d051d=_0x24b159(_0x1d051d)||_0x1d051d);return _0x1d051d;},me=(_0x34be58,_0x3c85d6)=>(_0x7db483,_0xef43ca)=>_0x3c85d6(_0x7db483,_0xef43ca,_0x34be58);let H=class extends _0x20b3a0{constructor(_0x1e777b,_0x9cd388,_0x482db9){const _0x1d4bc1=_0x43bb79;super(),h(this,_0x1d4bc1(0x27e),new Map()),h(this,'_entityInit$',new _0x4e709e()),(this[_0x1d4bc1(0x187)]=_0x1e777b,this[_0x1d4bc1(0x1c9)]=_0x9cd388,this[_0x1d4bc1(0x1db)]=_0x482db9,this[_0x1d4bc1(0x300)]());}['dispose'](){const _0x45d1c6=_0x43bb79;super[_0x45d1c6(0x1bb)](),this[_0x45d1c6(0x26a)][_0x45d1c6(0x302)](),this['_entities']['forEach'](_0x2a78d8=>_0x2a78d8['dispose']());}[_0x43bb79(0x13b)](_0x136feb){const _0x365ec1=_0x43bb79;return this[_0x365ec1(0x27e)][_0x365ec1(0x1e3)](_0x136feb)?this[_0x365ec1(0x27e)][_0x365ec1(0x2dd)](_0x136feb)[_0x365ec1(0x335)]:this[_0x365ec1(0x26a)][_0x365ec1(0x2de)](_0x5e10e8(_0x2ef882=>_0x2ef882[_0x365ec1(0x2b9)]===_0x136feb),_0x86cf42(_0x2ebb75=>_0x2ebb75['cursorInfo$']));}['_init'](){const _0x53330a=_0x43bb79;this[_0x53330a(0x187)][_0x53330a(0x154)](_0xdcdde7[_0x53330a(0x1ae)])[_0x53330a(0x2de)](_0x5c2067(this['dispose$']))[_0x53330a(0x32a)](async _0x3241c8=>{const _0x41bd5d=_0x53330a,_0x2402d4=_0x3241c8[_0x41bd5d(0x231)](),_0x40e91d=await this[_0x41bd5d(0x2e2)](_0x2402d4);this[_0x41bd5d(0x26a)][_0x41bd5d(0x254)](_0x40e91d),this[_0x41bd5d(0x27e)][_0x41bd5d(0x28c)](_0x2402d4,_0x40e91d);}),this[_0x53330a(0x187)][_0x53330a(0x154)](_0xdcdde7['UNIVER_DOC'])[_0x53330a(0x2de)](_0x5c2067(this[_0x53330a(0x320)]))[_0x53330a(0x2de)](_0x5e10e8(_0x4c3a7f=>!_0x4c3a7f[_0x53330a(0x231)]()[_0x53330a(0x284)]('__')))[_0x53330a(0x32a)](async _0x112966=>{const _0x58d863=_0x53330a,_0x2506c4=_0x112966['getUnitId'](),_0x321fc=await this[_0x58d863(0x1dd)](_0x2506c4);this[_0x58d863(0x26a)][_0x58d863(0x254)](_0x321fc),this['_entities'][_0x58d863(0x28c)](_0x2506c4,_0x321fc);}),_0x29b9e6(this[_0x53330a(0x187)][_0x53330a(0x270)](_0xdcdde7[_0x53330a(0x205)]),this[_0x53330a(0x187)][_0x53330a(0x270)](_0xdcdde7['UNIVER_SHEET']))[_0x53330a(0x2de)](_0x5c2067(this[_0x53330a(0x320)]))['subscribe'](_0x4b2ec9=>{const _0x5e3833=_0x53330a,_0x194459=_0x4b2ec9[_0x5e3833(0x231)](),_0xc09648=this['_entities'][_0x5e3833(0x2dd)](_0x194459);_0xc09648&&(_0xc09648['dispose'](),this['_entities'][_0x5e3833(0x31a)](_0x194459));});}async[_0x43bb79(0x2e2)](_0x5c0ccb){const _0x51acd0=_0x43bb79,_0x489ef9=await this[_0x51acd0(0x1db)][_0x51acd0(0x2fb)](_0x5c0ccb),_0xfb6aa0=this['_injector'][_0x51acd0(0x1e9)](we,_0x5c0ccb,_0x489ef9);return _0xfb6aa0[_0x51acd0(0x2b8)](),_0xfb6aa0;}async['_startDocCollabCursor'](_0x72302b){const _0x4ffef8=_0x43bb79,_0x502282=await this[_0x4ffef8(0x1db)][_0x4ffef8(0x2fb)](_0x72302b),_0x4142b5=this[_0x4ffef8(0x1c9)][_0x4ffef8(0x1e9)](Ne,_0x72302b,_0x502282);return _0x4142b5[_0x4ffef8(0x2b8)](),_0x4142b5;}};H=bi([me(0x0,_0x30bd00),me(0x1,_0x502d14(_0x4c43ee)),me(0x2,_0x502d14(_0x7c3e68))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x453c7f,_0x15f03e){const _0x1945f4=_0x43bb79;let {radius:_0x62c391,width:_0x1f86bf,height:_0x11fd0c}=_0x15f03e;_0x62c391=_0x62c391!=null?_0x62c391:0x0,_0x1f86bf=_0x1f86bf!=null?_0x1f86bf:0x1e,_0x11fd0c=_0x11fd0c!=null?_0x11fd0c:0x1e;let _0x2a8ed1=0x0,_0x1fb764=0x0,_0x33a34a=0x0;_0x2a8ed1=_0x1fb764=_0x33a34a=Math[_0x1945f4(0x316)](_0x62c391,_0x1f86bf/0x2,_0x11fd0c/0x2),_0x453c7f[_0x1945f4(0x1f6)](),_0x453c7f[_0x1945f4(0x2c6)](_0x2a8ed1,0x0),_0x453c7f[_0x1945f4(0x333)](_0x1f86bf-_0x1fb764,0x0),_0x453c7f[_0x1945f4(0x15c)](_0x1f86bf-_0x1fb764,_0x1fb764,_0x1fb764,Math['PI']*0x3/0x2,0x0,!0x1),_0x453c7f['lineTo'](_0x1f86bf,_0x11fd0c-_0x33a34a),_0x453c7f['arc'](_0x1f86bf-_0x33a34a,_0x11fd0c-_0x33a34a,_0x33a34a,0x0,Math['PI']/0x2,!0x1),_0x453c7f[_0x1945f4(0x333)](0x0,_0x11fd0c),_0x453c7f[_0x1945f4(0x333)](0x0,_0x2a8ed1),_0x453c7f[_0x1945f4(0x15c)](_0x2a8ed1,_0x2a8ed1,_0x2a8ed1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x453c7f[_0x1945f4(0x211)](),_0x15f03e['fill']&&(_0x453c7f[_0x1945f4(0x25a)](),_0x453c7f['fillStyle']=_0x15f03e[_0x1945f4(0x1cf)],_0x15f03e[_0x1945f4(0x2a4)]==='evenodd'?_0x453c7f['fill']('evenodd'):_0x453c7f[_0x1945f4(0x1cf)](),_0x453c7f[_0x1945f4(0x283)]());}class ue extends _0xa86e63{constructor(_0x464938,_0x47c689){const _0xd1146b=_0x43bb79;super(_0x464938,_0x47c689),h(this,_0xd1146b(0x2c0)),h(this,_0xd1146b(0x292)),(this['color']=_0x47c689==null?void 0x0:_0x47c689[_0xd1146b(0x2c0)],this['text']=_0x47c689==null?void 0x0:_0x47c689[_0xd1146b(0x292)]);}static['drawWith'](_0x3a6511,_0x11cb1e){const _0x52749e=_0x43bb79,{text:_0x1df348,color:_0x3d6ebd}=_0x11cb1e;_0x3a6511[_0x52749e(0x25a)](),_0x3a6511['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1c7276=_0x3a6511[_0x52749e(0x30d)](_0x1df348)[_0x52749e(0x193)],_0x58d755=Math[_0x52749e(0x316)](_0x1c7276+0x2*ge,et);Oi(_0x3a6511,{'height':te,'radius':0x4,'width':_0x58d755,'fill':_0x3d6ebd}),_0x3a6511[_0x52749e(0x1d4)]=_0x52749e(0x1eb);const _0xd3db0e=ge,_0x157733=te-Ei,_0x518aea=et-0x2*ge;if(_0x1c7276>_0x518aea){let _0x592280='',_0x544b0e=0x0;for(const _0x4b49ff of _0x1df348){const _0x24f803=_0x3a6511[_0x52749e(0x30d)](_0x4b49ff)[_0x52749e(0x193)];if(_0x544b0e+_0x24f803<=_0x518aea-_0x3a6511[_0x52749e(0x30d)]('...')[_0x52749e(0x193)])_0x592280+=_0x4b49ff,_0x544b0e+=_0x24f803;else{_0x592280+=_0x52749e(0x199);break;}}_0x3a6511[_0x52749e(0x2d3)](_0x592280,_0xd3db0e,_0x157733);}else _0x3a6511['fillText'](_0x1df348,_0xd3db0e,_0x157733);_0x3a6511[_0x52749e(0x283)]();}['_draw'](_0x185b5d){const _0x4344bf=_0x43bb79;ue[_0x4344bf(0x2e6)](_0x185b5d,this);}}const ve=_0x43bb79(0x267),Ti=_0x43bb79(0x2be),Ri=_0x43bb79(0x2bd),V=0x6,Di=1.5,Ie=0x4,Pi=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x3c4aa8,_0x21ae7a,_0x278799,_0x1e0f8d){const _0x2b416f=_0x43bb79;h(this,_0x2b416f(0x2bf),[]),h(this,'_anchor',null),h(this,_0x2b416f(0x188),null),h(this,_0x2b416f(0x29f),null),h(this,'_hideTimer',null),h(this,_0x2b416f(0x14a),null),(this['_cursor']=_0x3c4aa8,this[_0x2b416f(0x171)]=_0x21ae7a,this[_0x2b416f(0x181)]=_0x278799,this[_0x2b416f(0x2d0)]=_0x1e0f8d,this['_render']());}set[_0x43bb79(0x143)](_0x2dfccc){const _0x45f06f=_0x43bb79;_0x2dfccc?(this[_0x45f06f(0x29f)]&&this['_anchorDot'][_0x45f06f(0x142)](),this[_0x45f06f(0x188)]&&this['_textBubble'][_0x45f06f(0x331)]()):(this['_anchorDot']&&this[_0x45f06f(0x29f)][_0x45f06f(0x331)](),this['_textBubble']&&this[_0x45f06f(0x188)][_0x45f06f(0x142)]());}['dispose'](){const _0x1ec0fb=_0x43bb79;for(const _0x54292b of this[_0x1ec0fb(0x2bf)])_0x54292b[_0x1ec0fb(0x1bb)]();this['_textBubble']&&this[_0x1ec0fb(0x188)][_0x1ec0fb(0x1bb)](),this[_0x1ec0fb(0x29f)]&&this['_anchorDot']['dispose'](),this[_0x1ec0fb(0x191)]&&this[_0x1ec0fb(0x191)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1ec0fb(0x14a)]();}[_0x43bb79(0x16f)](){const _0x3ed3b2=_0x43bb79;var _0x391320;const {_docSkeleton:_0x29f8ba,_document:_0x23e124}=this,{color:_0x1b9315,name:_0x2c2d67,ranges:_0x19cca2}=this[_0x3ed3b2(0x275)],_0x5b560c=_0x23e124['getOffsetConfig'](),{docsLeft:_0x152f74,docsTop:_0x109c1d}=_0x5b560c,_0x462249=new _0x32b91f(_0x5b560c,_0x29f8ba);for(const {startOffset:_0x27b420,endOffset:_0x1cce68,rangeType:_0x25ebf5,segmentId:_0x1ea897,segmentPage:_0x19bbeb,collapsed:_0x4f3216,isActive:_0x534ba1}of _0x19cca2){const _0x2949e9=_0x29f8ba['findNodePositionByCharIndex'](_0x27b420,!0x0,_0x1ea897,_0x19bbeb);let _0x21d84a=_0x29f8ba[_0x3ed3b2(0x1b3)](_0x1cce68,!0x0,_0x1ea897,_0x19bbeb);if(_0x21d84a==null&&(_0x21d84a=_0x29f8ba[_0x3ed3b2(0x1b3)](_0x1cce68-0x1,!0x1,_0x1ea897,_0x19bbeb)),_0x534ba1){const {contentBoxPointGroup:_0x1db4bd}=_0x462249[_0x3ed3b2(0x273)](_0x21d84a,_0x21d84a);if(_0x1db4bd[_0x3ed3b2(0x17a)]===0x0)continue;this[_0x3ed3b2(0x2bc)](_0x1b9315,_0x1db4bd,_0x152f74,_0x109c1d,_0x2c2d67),this[_0x3ed3b2(0x14a)]=this[_0x3ed3b2(0x2e7)]();}if(_0x2949e9&&_0x21d84a){if(_0x25ebf5===_0x2f84f6[_0x3ed3b2(0x1e6)]){const _0x2396c7=new _0x53b43d(_0x5b560c,_0x29f8ba),{pointGroup:_0x2722c8}=(_0x391320=_0x2396c7[_0x3ed3b2(0x273)](_0x2949e9,_0x21d84a))!=null?_0x391320:{};if(_0x2722c8==null||_0x2722c8[_0x3ed3b2(0x17a)]===0x0)continue;this[_0x3ed3b2(0x32b)](_0x1b9315,_0x2722c8,_0x152f74,_0x109c1d);}else{if(!_0x4f3216){const {borderBoxPointGroup:_0xa431b3}=_0x462249[_0x3ed3b2(0x273)](_0x2949e9,_0x21d84a);if(_0xa431b3[_0x3ed3b2(0x17a)]===0x0)continue;this[_0x3ed3b2(0x339)](_0x1b9315,_0xa431b3,_0x152f74,_0x109c1d);}}}}}[_0x43bb79(0x2bc)](_0x5d0d43,_0x266cb3,_0x30df6d,_0x42f7d4,_0x55faa9){const _0x46175d=_0x43bb79,_0x3b221d=this['_getAnchorBounding'](_0x266cb3),{left:_0x46c0fe,top:_0x2363a4,height:_0x30292e}=_0x3b221d,_0x36cabd=this[_0x46175d(0x2a8)](),_0x1a29e9=Pi/_0x36cabd,_0x4782ad=new _0x362d91(ve+_0x1aee49['generateRandomId'](V),{'left':_0x46c0fe+_0x30df6d-_0x1a29e9,'top':_0x2363a4+_0x42f7d4,'height':_0x30292e,'width':Di,'fill':_0x5d0d43||_0x40fc5b(_0x6ea656[_0x46175d(0x259)],0x0),'strokeWidth':_0x1a29e9,'stroke':Mi,'evented':!0x0});this[_0x46175d(0x191)]=_0x4782ad,this[_0x46175d(0x171)][_0x46175d(0x2b7)](_0x4782ad,_0x16015d);const _0x4834bb=new _0x362d91(ve+_0x1aee49[_0x46175d(0x2e5)](V),{'left':_0x46c0fe+_0x30df6d-_0x1a29e9,'top':_0x2363a4+_0x42f7d4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x5d0d43||_0x40fc5b(_0x6ea656[_0x46175d(0x259)],0x0),'strokeWidth':0x0,'stroke':_0x5d0d43||_0x40fc5b(_0x6ea656[_0x46175d(0x259)],0x0),'evented':!0x1});this[_0x46175d(0x29f)]=_0x4834bb,this[_0x46175d(0x171)][_0x46175d(0x2b7)](_0x4834bb,_0x16015d);const _0xeb4038=new ue(ve+_0x1aee49[_0x46175d(0x2e5)](V),{'left':_0x46c0fe+_0x30df6d-_0x1a29e9,'top':_0x2363a4+_0x42f7d4-te,'text':_0x55faa9,'color':_0x5d0d43});this[_0x46175d(0x188)]=_0xeb4038,this[_0x46175d(0x171)][_0x46175d(0x2b7)](_0xeb4038,_0x16015d),this[_0x46175d(0x143)]=!0x1;}[_0x43bb79(0x2e7)](){const _0x36d8c0=_0x43bb79,_0x3428f6=this[_0x36d8c0(0x191)][_0x36d8c0(0x148)][_0x36d8c0(0x2d4)](()=>{const _0x3bb726=_0x36d8c0;this[_0x3bb726(0x143)]=!0x0;}),_0x13ae98=this[_0x36d8c0(0x191)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x21e26a=_0x36d8c0;this[_0x21e26a(0x1cb)]&&clearTimeout(this[_0x21e26a(0x1cb)]),this[_0x21e26a(0x1cb)]=setTimeout(()=>{const _0xde0309=_0x21e26a;this[_0xde0309(0x143)]=!0x1;},0x7d0);});return()=>{const _0x42fcad=_0x36d8c0;_0x3428f6[_0x42fcad(0x13a)](),_0x13ae98[_0x42fcad(0x13a)]();};}[_0x43bb79(0x339)](_0x36cb9e,_0x412517,_0x47e15c,_0x1e99cc){const _0x373ae6=_0x43bb79,_0xab3b3b=new _0x273249(_0x36cb9e)[_0x373ae6(0x2f6)](0.2)[_0x373ae6(0x2d2)](),_0x1970f9=new _0x2ceb69(Ti+_0x1aee49['generateRandomId'](V),{'pointsGroup':_0x412517,'fill':_0xab3b3b||_0x40fc5b(_0x6ea656[_0x373ae6(0x259)],0.2),'left':_0x47e15c,'top':_0x1e99cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x373ae6(0x2bf)]['push'](_0x1970f9),this[_0x373ae6(0x171)][_0x373ae6(0x2b7)](_0x1970f9,_0x16015d);}[_0x43bb79(0x32b)](_0x531a74,_0x32242a,_0x4155b5,_0x37d166){const _0x39c3e5=_0x43bb79,_0x38cf33=new _0x273249(_0x531a74)[_0x39c3e5(0x2f6)](0.2)[_0x39c3e5(0x2d2)](),_0x2c5c69=new _0x2ceb69(Ri+_0x1aee49[_0x39c3e5(0x2e5)](V),{'pointsGroup':_0x32242a,'fill':_0x38cf33||_0x40fc5b(_0x6ea656['black'],0.2),'left':_0x4155b5,'top':_0x37d166,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39c3e5(0x2bf)][_0x39c3e5(0x25b)](_0x2c5c69),this['_scene'][_0x39c3e5(0x2b7)](_0x2c5c69,_0x16015d);}[_0x43bb79(0x203)](_0x37a6e0){const _0x127ca1=_0x37a6e0[0x0],_0xbfbbdd=_0x127ca1[0x0],_0x4dc338=_0x127ca1[0x2],{x:_0x48b51a,y:_0x4b7476}=_0xbfbbdd,{x:_0x5e93a1,y:_0x342dea}=_0x4dc338;return{'left':_0x48b51a,'top':_0x4b7476,'width':_0x5e93a1-_0x48b51a,'height':_0x342dea-_0x4b7476};}[_0x43bb79(0x2a8)](){const _0x36b4c2=_0x43bb79,{scaleX:_0x375780,scaleY:_0xd40e68}=this[_0x36b4c2(0x171)]['getAncestorScale']();return Math[_0x36b4c2(0x1fa)](_0x375780,_0xd40e68);}}var Ni=Object[_0x43bb79(0x1af)],wi=(_0x8a1ae4,_0x58bf28,_0x361ad9,_0x2e0763)=>{for(var _0x5c36d9=_0x2e0763>0x1?void 0x0:_0x2e0763?Ni(_0x58bf28,_0x361ad9):_0x58bf28,_0x2f59a3=_0x8a1ae4['length']-0x1,_0x4a44f5;_0x2f59a3>=0x0;_0x2f59a3--)(_0x4a44f5=_0x8a1ae4[_0x2f59a3])&&(_0x5c36d9=_0x4a44f5(_0x5c36d9)||_0x5c36d9);return _0x5c36d9;},q=(_0x11c8ea,_0x578282)=>(_0x2a5a12,_0x2c811f)=>_0x578282(_0x2a5a12,_0x2c811f,_0x11c8ea);let Ue=class extends _0x20b3a0{constructor(_0x58b777,_0x327f2e,_0x1d2027,_0x21729c,_0x5c1c8b){const _0x11b127=_0x43bb79;super(),h(this,'_cursorShapes',[]),h(this,_0x11b127(0x197),[]),(this['_context']=_0x58b777,this[_0x11b127(0x155)]=_0x327f2e,this['_collabCursorController']=_0x1d2027,this[_0x11b127(0x278)]=_0x21729c,this[_0x11b127(0x305)]=_0x5c1c8b,this['_init']());}[_0x43bb79(0x300)](){const _0x43b375=_0x43bb79,_0x3e3020=this['_context'][_0x43b375(0x294)],_0x266ba6=this[_0x43b375(0x155)];this[_0x43b375(0x222)](_0x4d4eea([this[_0x43b375(0x21c)][_0x43b375(0x13b)](_0x3e3020),this[_0x43b375(0x305)][_0x43b375(0x25c)]])['pipe'](_0x40ab35(([_0x5e849a,_0x1be157])=>({'skeleton':_0x266ba6['getSkeleton'](),'cursors':[..._0x5e849a[_0x43b375(0x2cf)]()][_0x43b375(0x239)](_0x50b36c=>({..._0x50b36c,'color':_0x1be157[_0x50b36c[_0x43b375(0x2c0)]]}))})))[_0x43b375(0x32a)](_0x2f574e=>{const _0x47f816=_0x43b375;if(this['_removeCollabCursors'](),_0x2f574e){const {skeleton:_0x5147e4,cursors:_0x5ac488}=_0x2f574e;this[_0x47f816(0x295)](_0x5147e4,_0x5ac488);}})),this[_0x43b375(0x23b)](),this[_0x43b375(0x1b5)]();}[_0x43bb79(0x295)](_0x4cf71e,_0x200821){const _0x118874=_0x43bb79,{scene:_0x4d4e1b,mainComponent:_0x127857}=this[_0x118874(0x311)],_0x4abc1f=_0x200821[_0x118874(0x2fa)](_0x3aad60=>new tt(_0x3aad60,_0x4d4e1b,_0x4cf71e,_0x127857));this[_0x118874(0x1a7)]=_0x4abc1f,this['_cursors']=_0x200821;}[_0x43bb79(0x1e1)](){const _0x380715=_0x43bb79;this['_removeCollabCursors']();const {scene:_0x454c11,mainComponent:_0xf05b06}=this[_0x380715(0x311)],_0x58f4ce=this[_0x380715(0x155)][_0x380715(0x27b)](),_0x487f74=this[_0x380715(0x197)][_0x380715(0x2fa)](_0x43fb89=>new tt(_0x43fb89,_0x454c11,_0x58f4ce,_0xf05b06));this[_0x380715(0x1a7)]=_0x487f74;}['_removeCollabCursors'](){const _0xdf32cb=_0x43bb79;this[_0xdf32cb(0x1a7)]['forEach'](_0x2549af=>_0x2549af['dispose']()),this['_cursorShapes']=[];}[_0x43bb79(0x1b5)](){const _0x187f44=_0x43bb79,_0x20a474=[_0xf3ff52['id']];this['disposeWithMe'](this['_commandService'][_0x187f44(0x1e2)](_0x4629f2=>{const _0x2e76a5=_0x187f44;_0x20a474[_0x2e76a5(0x1f4)](_0x4629f2['id'])&&_0x4629f2[_0x2e76a5(0x1ce)][_0x2e76a5(0x294)]===this['_context'][_0x2e76a5(0x294)]&&this[_0x2e76a5(0x1e1)]();}));}[_0x43bb79(0x23b)](){const _0x571ceb=_0x43bb79;this[_0x571ceb(0x222)](_0x470191(this[_0x571ceb(0x311)]['engine'][_0x571ceb(0x1ec)])[_0x571ceb(0x2de)](_0x34fbec(_0x5b7bd6=>_0x5b7bd6[_0x571ceb(0x33a)]===_0x2e5b7a[_0x571ceb(0x326)]),_0x5df0c5(0x10))[_0x571ceb(0x32a)](()=>{const _0x5ec8ad=_0x571ceb;this[_0x5ec8ad(0x1e1)]();}));}};Ue=wi([q(0x1,_0x502d14(_0x5c7f1f)),q(0x2,_0x502d14(H)),q(0x3,_0x50f030),q(0x4,_0x502d14(_0x3855f5))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0xa86e63{constructor(_0x20ca41,_0x2ffdb4){const _0x13f4e9=_0x43bb79;super(_0x20ca41,_0x2ffdb4),h(this,_0x13f4e9(0x257)),h(this,_0x13f4e9(0x24c),!0x1),h(this,_0x13f4e9(0x20d)),h(this,_0x13f4e9(0x32c),''),h(this,_0x13f4e9(0x280),_0x13f4e9(0x17f)),h(this,_0x13f4e9(0x256)),(_0x2ffdb4&&this[_0x13f4e9(0x20f)](_0x2ffdb4),this[_0x13f4e9(0x148)][_0x13f4e9(0x2d4)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x13f4e9(0x208)][_0x13f4e9(0x2d4)](()=>this[_0x13f4e9(0x20f)]({'hovered':!0x1})));}['setShapeProps'](_0x212224){const _0x1c5ea0=_0x43bb79;var _0x4fc934,_0x24cbda,_0x17cc46,_0x410a66,_0x59f8d6,_0x528cdc;this[_0x1c5ea0(0x257)]=(_0x4fc934=_0x212224[_0x1c5ea0(0x2c0)])!=null?_0x4fc934:this['_color'],this[_0x1c5ea0(0x24c)]=(_0x24cbda=_0x212224['hovered'])!=null?_0x24cbda:this[_0x1c5ea0(0x24c)],this[_0x1c5ea0(0x20d)]=(_0x17cc46=_0x212224[_0x1c5ea0(0x230)])!=null?_0x17cc46:this[_0x1c5ea0(0x20d)],this[_0x1c5ea0(0x32c)]=(_0x410a66=_0x212224[_0x1c5ea0(0x27d)])!=null?_0x410a66:this[_0x1c5ea0(0x32c)],this[_0x1c5ea0(0x280)]=(_0x59f8d6=_0x212224[_0x1c5ea0(0x29c)])!=null?_0x59f8d6:this[_0x1c5ea0(0x280)],this['_backgroundColor']=(_0x528cdc=_0x212224[_0x1c5ea0(0x321)])!=null?_0x528cdc:this['_backgroundColor'],this[_0x1c5ea0(0x147)]({'width':_0x212224['width'],'height':_0x212224[_0x1c5ea0(0x241)]});}['onMouseMove'](_0x3b3dc9){const _0x49729b=_0x43bb79,{row:_0x34f10d,column:_0x5c8557}=_0x3b3dc9;if(_0x34f10d>=this['_range'][_0x49729b(0x2cb)]&&_0x34f10d<=this[_0x49729b(0x20d)][_0x49729b(0x1bf)]&&_0x5c8557>=this[_0x49729b(0x20d)][_0x49729b(0x224)]&&_0x5c8557<=this[_0x49729b(0x20d)][_0x49729b(0x1e7)]){this[_0x49729b(0x20f)]({'hovered':!0x0});return;}this[_0x49729b(0x20f)]({'hovered':!0x1});}['triggerDblclick'](_0x196785){return!0x1;}[_0x43bb79(0x255)](_0x2bc6bb){const _0x5821e4=_0x43bb79;_0x362d91[_0x5821e4(0x2e6)](_0x2bc6bb,{'width':this['width'],'height':this[_0x5821e4(0x241)],'strokeWidth':Li,'stroke':this[_0x5821e4(0x257)],'evented':!0x1,'fill':this[_0x5821e4(0x256)]}),this[_0x5821e4(0x24c)]&&(_0x2bc6bb[_0x5821e4(0x25a)](),_0x2bc6bb[_0x5821e4(0x22f)](0x1,0x0,0x0,0x1,this[_0x5821e4(0x193)],this[_0x5821e4(0x280)]==='bottom'?0x0:-0x14),ue[_0x5821e4(0x2e6)](_0x2bc6bb,{'text':this[_0x5821e4(0x32c)],'color':this['_color']}),_0x2bc6bb[_0x5821e4(0x283)]());}}var yi=Object[_0x43bb79(0x1af)],$i=(_0x178b91,_0x30daf9,_0x4dea45,_0x2ef0ae)=>{for(var _0x357915=_0x2ef0ae>0x1?void 0x0:_0x2ef0ae?yi(_0x30daf9,_0x4dea45):_0x30daf9,_0x37b854=_0x178b91['length']-0x1,_0x2146ba;_0x37b854>=0x0;_0x37b854--)(_0x2146ba=_0x178b91[_0x37b854])&&(_0x357915=_0x2146ba(_0x357915)||_0x357915);return _0x357915;},pe=(_0x4b4a5f,_0x39666c)=>(_0x3b5381,_0xced5d7)=>_0x39666c(_0x3b5381,_0xced5d7,_0x4b4a5f);const xi=0x1389;let Le=class extends _0x20b3a0{constructor(_0x313314,_0x57686f,_0x3147e6,_0x28450b){const _0x392863=_0x43bb79;super(),h(this,_0x392863(0x197),new Set()),h(this,_0x392863(0x190),null),(this[_0x392863(0x311)]=_0x313314,this[_0x392863(0x166)]=_0x57686f,this[_0x392863(0x21c)]=_0x3147e6,this['_themeService']=_0x28450b,this[_0x392863(0x300)]());}[_0x43bb79(0x300)](){const _0x4e23e0=_0x43bb79;this[_0x4e23e0(0x166)][_0x4e23e0(0x1b6)][_0x4e23e0(0x2de)](_0x3cd024(this['dispose$']),_0x2eb6c0(_0x4ce146=>{const _0x110b67=_0x4e23e0;if(_0x4ce146){const _0x231493=_0x4ce146[_0x110b67(0x14f)];return _0x4d4eea(this['_collabCursorController'][_0x110b67(0x13b)](this[_0x110b67(0x311)][_0x110b67(0x294)]),this[_0x110b67(0x305)][_0x110b67(0x25c)])[_0x110b67(0x2de)](_0x40ab35(([_0x57f877,_0x152bb0])=>{const _0x519109=_0x110b67,_0x478e5d=new Map();return _0x57f877[_0x519109(0x240)]((_0x4687cd,_0x318f87)=>{const _0x381432=_0x519109;if(_0x4687cd[_0x381432(0x200)]===_0x231493){const _0x53c04d={..._0x4687cd};_0x53c04d[_0x381432(0x2c0)]=_0x152bb0[_0x4687cd[_0x381432(0x2c0)]],_0x478e5d['set'](_0x318f87,_0x53c04d);}}),{'skeleton':_0x4ce146,'cursors':_0x478e5d};}));}return _0x183dd6({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x13fe91,cursors:_0xd36a20})=>{const _0x1d18d4=_0x4e23e0;this[_0x1d18d4(0x2df)](),_0x13fe91&&this[_0x1d18d4(0x295)](_0x13fe91,_0xd36a20);}),this[_0x4e23e0(0x166)][_0x4e23e0(0x1b6)][_0x4e23e0(0x32a)](_0x2ad62b=>{const _0xce0c15=_0x4e23e0;if(_0x2ad62b==null)return;const {skeleton:_0x12497d}=_0x2ad62b,{scene:_0x302239}=this[_0xce0c15(0x311)];_0x302239[_0xce0c15(0x266)][_0xce0c15(0x2d4)](_0x40556a(_0x2b8c88=>{const _0x10433a=_0xce0c15;var _0x47b3be,_0x4eafdf;const {offsetX:_0x3d4460,offsetY:_0x965897}=_0x2b8c88,{x:_0x333317,y:_0x3248b6}=_0x302239[_0x10433a(0x1ab)](_0x9059d4['FromArray']([_0x3d4460,_0x965897])),{scaleX:_0x3db421,scaleY:_0x127dcd}=_0x302239[_0x10433a(0x209)](),_0x4fa8b7=_0x302239[_0x10433a(0x1b7)](_0x5d32c6[_0x10433a(0x317)]),_0xad6381=_0x302239[_0x10433a(0x1fb)](_0x9059d4[_0x10433a(0x196)]([_0x333317,_0x3248b6]),_0x4fa8b7),_0x3ff5d8=_0x12497d[_0x10433a(0x180)](_0x3d4460,_0x965897,_0x3db421,_0x127dcd,_0xad6381);((_0x47b3be=this['_lastPointer'])==null?void 0x0:_0x47b3be['column'])===_0x3ff5d8[_0x10433a(0x314)]&&((_0x4eafdf=this[_0x10433a(0x190)])==null?void 0x0:_0x4eafdf[_0x10433a(0x20e)])===_0x3ff5d8[_0x10433a(0x20e)]||this[_0x10433a(0x197)][_0x10433a(0x240)](_0x498191=>{const _0x108baa=_0x10433a;_0x498191[_0x108baa(0x260)](_0x3ff5d8);});},0x64));});}['_updateCollabCursors'](_0x18eedb,_0xa7d357){const _0x534d1a=_0x43bb79;var _0x25ced5;const _0x2ec10c=(_0x25ced5=this[_0x534d1a(0x166)][_0x534d1a(0x297)]())==null?void 0x0:_0x25ced5[_0x534d1a(0x250)];if(!_0x2ec10c)return;const _0x1ae862=this[_0x534d1a(0x2a2)]();if(!_0x1ae862)return;this[_0x534d1a(0x197)][_0x534d1a(0x240)](_0x417be9=>{const _0x315fb0=_0x534d1a;_0x417be9[_0x315fb0(0x1d5)]();});const {scene:_0x14d09d}=_0x1ae862,_0x41977c=ki(Array[_0x534d1a(0x1aa)](_0xa7d357[_0x534d1a(0x2cf)]()))[_0x534d1a(0x2fa)](_0x3f0469=>{const _0x4e20b2=_0x534d1a,{color:_0x522ffb,range:_0xc0c9b0,name:_0x59ebfe,selection:_0x244b47,sheetID:_0x2f090c}=_0x3f0469,{startColumn:_0x175872,startRow:_0xfc35ef,endColumn:_0x1dc26a,endRow:_0x20aa01}=_0xc0c9b0,_0x100dae=_0x43e42e(_0xfc35ef,_0x175872,_0x14d09d,_0x2ec10c),_0x33d30a=_0x43e42e(_0x20aa01,_0x1dc26a,_0x14d09d,_0x2ec10c),{columnHeaderHeightAndMarginTop:_0x369f45}=_0x2ec10c,{startX:_0x127648,startY:_0x598f53}=_0x100dae,{endX:_0x4a2102,endY:_0x25450e}=_0x33d30a,_0x1491e1=_0x4a2102-_0x127648,_0x5a5f52=_0x25450e-_0x598f53,_0x2cfd42={'labelPosition':_0x598f53-_0x369f45>=te?_0x4e20b2(0x17f):_0x4e20b2(0x157),'sheetID':_0x2f090c,'range':_0xc0c9b0,'color':_0x522ffb,'name':_0x59ebfe,'selection':_0x244b47,'left':_0x127648,'top':_0x598f53,'width':_0x1491e1,'height':_0x5a5f52,'evented':!0x1,'zIndex':xi};return new Ai(_0x59ebfe,_0x2cfd42);});_0x14d09d[_0x534d1a(0x16b)](_0x41977c,Ui),this[_0x534d1a(0x197)]=new Set(_0x41977c);}[_0x43bb79(0x2df)](){const _0x45b535=_0x43bb79;var _0x3e9f00;(_0x3e9f00=this[_0x45b535(0x197)])==null||_0x3e9f00[_0x45b535(0x240)](_0x4bfa31=>_0x4bfa31[_0x45b535(0x1bb)]());}[_0x43bb79(0x2a2)](){const _0x445878=_0x43bb79;return _0x2be706(this[_0x445878(0x311)]['unit'],this[_0x445878(0x311)]);}};Le=$i([pe(0x1,_0x502d14(_0x35bd91)),pe(0x2,_0x502d14(H)),pe(0x3,_0x502d14(_0x3855f5))],Le);function ki(_0x5eb819){const _0x507a83=_0x43bb79,_0x3757b9=new Map();return _0x5eb819[_0x507a83(0x240)](_0x5376cc=>{const _0x4ee7ed=_0x507a83;if(_0x3757b9['has'](_0x5376cc[_0x4ee7ed(0x1f7)])){const _0x4a1983=_0x3757b9[_0x4ee7ed(0x2dd)](_0x5376cc['selection']);_0x4a1983[_0x4ee7ed(0x27d)]+=',\x20'+_0x5376cc[_0x4ee7ed(0x27d)];}else _0x3757b9[_0x4ee7ed(0x28c)](_0x5376cc[_0x4ee7ed(0x1f7)],_0x5376cc);}),Array[_0x507a83(0x1aa)](_0x3757b9[_0x507a83(0x2cf)]());}var I=function(){const _0x2d4119=_0x43bb79;return I=Object[_0x2d4119(0x28b)]||function(_0x2b55c4){const _0x3500a0=_0x2d4119;for(var _0x35aef5,_0x4070b9=0x1,_0xc063d1=arguments[_0x3500a0(0x17a)];_0x4070b9<_0xc063d1;_0x4070b9++){_0x35aef5=arguments[_0x4070b9];for(var _0x35341e in _0x35aef5)Object[_0x3500a0(0x1d7)]['hasOwnProperty']['call'](_0x35aef5,_0x35341e)&&(_0x2b55c4[_0x35341e]=_0x35aef5[_0x35341e]);}return _0x2b55c4;},I[_0x2d4119(0x1c0)](this,arguments);},Bi=function(_0x3e0385,_0x45d85d){const _0x51f32e=_0x43bb79;var _0x362b89={};for(var _0x27167b in _0x3e0385)Object[_0x51f32e(0x1d7)][_0x51f32e(0x215)][_0x51f32e(0x237)](_0x3e0385,_0x27167b)&&_0x45d85d[_0x51f32e(0x1d8)](_0x27167b)<0x0&&(_0x362b89[_0x27167b]=_0x3e0385[_0x27167b]);if(_0x3e0385!=null&&typeof Object[_0x51f32e(0x17b)]=='function'){for(var _0x2c3e4a=0x0,_0x27167b=Object[_0x51f32e(0x17b)](_0x3e0385);_0x2c3e4a<_0x27167b[_0x51f32e(0x17a)];_0x2c3e4a++)_0x45d85d[_0x51f32e(0x1d8)](_0x27167b[_0x2c3e4a])<0x0&&Object[_0x51f32e(0x1d7)][_0x51f32e(0x218)]['call'](_0x3e0385,_0x27167b[_0x2c3e4a])&&(_0x362b89[_0x27167b[_0x2c3e4a]]=_0x3e0385[_0x27167b[_0x2c3e4a]]);}return _0x362b89;},We=_0xe2b30c(function(_0x1aa0ff,_0x4ad4de){const _0x311dc3=_0x43bb79;var _0x3fbb35=_0x1aa0ff['icon'],_0x582826=_0x1aa0ff['id'],_0x2a2c44=_0x1aa0ff[_0x311dc3(0x2f2)],_0x2d78e9=_0x1aa0ff[_0x311dc3(0x214)],_0x2b98cf=Bi(_0x1aa0ff,[_0x311dc3(0x2b1),'id',_0x311dc3(0x2f2),_0x311dc3(0x214)]),_0x3e83bd=_0x311dc3(0x2ce)[_0x311dc3(0x1ea)](_0x582826,'\x20')[_0x311dc3(0x1ea)](_0x2a2c44||'')[_0x311dc3(0x13e)](),_0x8a5d7d=_0x5d928b('_'[_0x311dc3(0x1ea)](Wi()));return Pt(_0x3fbb35,''[_0x311dc3(0x1ea)](_0x582826),{'defIds':_0x3fbb35[_0x311dc3(0x1f3)],'idSuffix':_0x8a5d7d['current']},I({'ref':_0x4ad4de,'className':_0x3e83bd},_0x2b98cf),_0x2d78e9);});function Pt(_0x365112,_0x5903b5,_0x4278e4,_0x4b091a,_0x11842f){const _0x1e31cb=_0x43bb79;return _0x550281(_0x365112[_0x1e31cb(0x160)],I(I({'key':_0x5903b5},Hi(_0x365112,_0x4278e4,_0x11842f)),_0x4b091a),(ji(_0x365112,_0x4278e4)[_0x1e31cb(0x1de)]||[])['map'](function(_0x451509,_0x2cefd1){const _0xc37883=_0x1e31cb;return Pt(_0x451509,''['concat'](_0x5903b5,'-')[_0xc37883(0x1ea)](_0x365112['tag'],'-')[_0xc37883(0x1ea)](_0x2cefd1),_0x4278e4,void 0x0,_0x11842f);}));}function Hi(_0x4caacd,_0x4a2bac,_0x40c80c){const _0x10b4d7=_0x43bb79;var _0x795aae=I({},_0x4caacd[_0x10b4d7(0x334)]);_0x40c80c!=null&&_0x40c80c[_0x10b4d7(0x168)]&&_0x795aae[_0x10b4d7(0x1cf)]===_0x10b4d7(0x168)&&(_0x795aae[_0x10b4d7(0x1cf)]=_0x40c80c[_0x10b4d7(0x168)]),_0x4caacd[_0x10b4d7(0x160)]===_0x10b4d7(0x1a5)&&_0x795aae['id']&&(_0x795aae['id']=_0x795aae['id']+_0x4a2bac[_0x10b4d7(0x2ff)]),Object[_0x10b4d7(0x27a)](_0x795aae)[_0x10b4d7(0x240)](function(_0x5aeeb4){const _0x2817f=_0x10b4d7;var _0x276dd2=_0x5aeeb4[0x0],_0x41a565=_0x5aeeb4[0x1];_0x276dd2==='mask'&&typeof _0x41a565==_0x2817f(0x1ba)&&(_0x795aae[_0x276dd2]=_0x41a565['replace'](/url\(#(.*)\)/,'url(#$1'[_0x2817f(0x1ea)](_0x4a2bac[_0x2817f(0x2ff)],')')));});var _0x16a49e=_0x4a2bac[_0x10b4d7(0x1f3)];return!_0x16a49e||_0x16a49e[_0x10b4d7(0x17a)]===0x0||(_0x4caacd[_0x10b4d7(0x160)]===_0x10b4d7(0x1da)&&_0x795aae[_0x10b4d7(0x323)]&&(_0x795aae[_0x10b4d7(0x323)]=_0x795aae[_0x10b4d7(0x323)]+_0x4a2bac[_0x10b4d7(0x2ff)]),Object['entries'](_0x795aae)[_0x10b4d7(0x240)](function(_0x383c50){const _0x2d7616=_0x10b4d7;var _0x2a07ed=_0x383c50[0x0],_0x108336=_0x383c50[0x1];typeof _0x108336=='string'&&(_0x795aae[_0x2a07ed]=_0x108336[_0x2d7616(0x313)](/url\(#(.*)\)/,_0x2d7616(0x1be)[_0x2d7616(0x1ea)](_0x4a2bac[_0x2d7616(0x2ff)],')')));})),_0x795aae;}function ji(_0x13b84f,_0x70dc79){const _0x131307=_0x43bb79;var _0x61a946,_0x17797a=_0x70dc79[_0x131307(0x1f3)];return!_0x17797a||_0x17797a['length']===0x0?_0x13b84f:_0x13b84f[_0x131307(0x160)]===_0x131307(0x16d)&&(!((_0x61a946=_0x13b84f[_0x131307(0x1de)])===null||_0x61a946===void 0x0)&&_0x61a946[_0x131307(0x17a)])?I(I({},_0x13b84f),{'children':_0x13b84f[_0x131307(0x1de)][_0x131307(0x2fa)](function(_0x274887){const _0x1cc7b7=_0x131307;return typeof _0x274887['attrs']['id']==_0x1cc7b7(0x1ba)&&_0x17797a&&_0x17797a['indexOf'](_0x274887[_0x1cc7b7(0x334)]['id'])>-0x1?I(I({},_0x274887),{'attrs':I(I({},_0x274887['attrs']),{'id':_0x274887[_0x1cc7b7(0x334)]['id']+_0x70dc79[_0x1cc7b7(0x2ff)]})}):_0x274887;})}):_0x13b84f;}function Wi(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}We[_0x43bb79(0x207)]='UniverIcon';var Fi={'tag':'svg','attrs':{'fill':_0x43bb79(0x18e),'viewBox':_0x43bb79(0x2f7),'width':_0x43bb79(0x221),'height':_0x43bb79(0x221)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x43bb79(0x25e),'attrs':{'stroke':_0x43bb79(0x226),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x43bb79(0x2c4),'strokeLinejoin':_0x43bb79(0x2c4),'strokeWidth':1.2}}]},{'tag':_0x43bb79(0x16d),'attrs':{},'children':[{'tag':_0x43bb79(0x1a9),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x43bb79(0x25e),'attrs':{'fill':_0x43bb79(0x1ed),'d':_0x43bb79(0x22c)}}]}]}],'defIds':[_0x43bb79(0x2b2)]},Mt=_0xe2b30c(function(_0x1b95aa,_0x2e7ade){const _0x40c2fc=_0x43bb79;return _0x550281(We,Object['assign']({},_0x1b95aa,{'id':_0x40c2fc(0x2d7),'ref':_0x2e7ade,'icon':Fi}));});function _0xc1e6(){const _0x793e11=['cursorInfo','restore','startsWith','[RemoteUniscriptService]:\x20no\x20focused\x20unit','newValue','on-line-single','offline','YUUMI_SUBSCRIPTION_NOT_FOUND','LICENSE_MAX_UNITS_EXCEEDED','assign','set','_getSaveTimeout','body','getDocRanges','loadUnit','YUUMI_RATE_OVER_LIMIT','text','size','unitId','_updateCollabCursors','_roomMembers$','getCurrent','onStarting','YUUMI_UNABLE_LOAD_URL','unload','_messageService','labelPosition','transformSelections','_handleLeaveEvent','_anchorDot','memberID','_cursorInfo$','_getSheetObject','with','fillRule','_onCursorDelete','_registerRenderDependencies','key','_getScale','_localCacheService','APPLY_REJECT','_heartbeatTimer','selections','transformRemoteChangeset','2535106IxMJCO','_docClipboardService','_getMergeRange','icon','off-line-single_clip0_910_343','_docStateChangeManagerService','getMemberID','m2Prime','1119qVilNg','addObject','init','unitID','_registerDependencies','getCurrentRevOfUnit','_drawAnchor','collab-rect-range-','collab-text-range-','_shapes','color','uni.network.url-service','NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','round','collaboration.closeRoom','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','syncEditingCollabCursor','history','29591eSTUCx','startRow','reconnect','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','univerjs-icon\x20univerjs-icon-','values','_document','clearTimeout','toRgbString','fillText','subscribeEvent','_unitStatus','isActive','off-line-single','_scheduleHeartbeat','getRenderById','wsSessionTicketUrl','enableLocalCache','collaboration-client.offline-data-not-saved','get','pipe','_removeCollabCursors','transformMutation','href','_startSheetCollabCursor','defineProperty','permission.title','generateRandomId','drawWith','_handleHover','SNAPSHOT_HAS_BEEN_REMOVED','isEditing','url(#on-line-single_clip0_910_349)','collab-client.tooltip.reconnect','roomMembers','setInterval','registerComponent','OFFLINE','translate(.97)','doc.mutation.rich-text-editing','className','collabStatus.syncing','collaboration-client-ui.config','_clearOtherTimers','setAlpha','0\x200\x2016\x2016','jiqing500','urlChange$','map','requireSession','setActiveRange','FETCH_MISS','getUnhiddenWorksheets','idSuffix','_init','subunit','complete','OffLineSingle','redoState','_themeService','getFocusedUnit','/run/','LICENSE_DISTRO_REJECTED','source','TOO_MANY_REQUESTS','search','createSocket','measureText','status$','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','_context','OTHER_CLIENT_EDITING','replace','column','_docTransformSelectionsService','min','VIEW_MAIN','getCurrentSelections','red300','delete','all','ticket','_docSyncEditingCollabCursorService','error','activeSheet$','dispose$','backgroundColor','1384HXykBQ','xlink:href','SUBMIT_CHANGESET_TIMEOUT','_collaborationController','resize','collabCursorState$','_toggleOffline','_renderManagerService','subscribe','_drawRectRange','_name','univer-online-status-title','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','482823kdeWEA','editingUnit','show','saveTaskMap','lineTo','attrs','cursorInfo$','Unknown\x20user','div','add','_drawTextRange','type','registerRenderModule','_updateSubUnitFromURLParams','APPLY_REVISION_CONFILICT','setTimeout','unsubscribe','getCollabCursors$','OTHER_CLIENTS_EDITING','_removeClearOtherTimer','trim','assignAColorForMemberID','_refRangeService','599064ljALAK','hide','_hover','_colorIndex','USERS_LEAVE','_beforeCloseService','transformByState','onPointerEnter$','_httpService','_eventUnsubscribe','[CollaborationDataLoaderController]','undoState','clearInterval','getParam','sheetId','OnLineSingle','_urlService','YUUMI_URL_COL_OUT_OF_RANGE','_updateURLWithCurrentState','getTypeOfUnitAdded$','_docSkeletonManagerService','_toggleOnline','bottom','_setupSubUnitSync','Warning','COMPLETION_FINISHED','SNAPSHOT_INVALID_SNAPSHOT','arc','UNAUTHENTICATED','_config','deepClone','tag','getCurrentUnitForType','_id','InsertRangeMoveRightCommandId','8wEAHBV','toString','_sheetSkeletonManagerService','DeleteRangeMoveUpCommandId','colorChannel1','ranges','getStateCache','addObjects','disposeUnit','defs','registerBeforeClose','_render','_syncEditingCollabCursorService','_scene','_configService','isArray','textRanges','registerRefRange','RemoveRowCommandId','setParam','340635qeOWYM','_unitOnClients','length','getOwnPropertySymbols','roomMembers$','origin','collaboration.single-unit.warning','top','getCellPositionByOffset','_docSkeleton','_onRefRangeChange','_saveTaskMap','purple300','_initStatusComponent','gold400','_univerInstanceService','_textBubble','getMember','SOCKET_FAILED_RETRY','unshift','loadOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','none','runOnServer','_lastPointer','_anchor','getConfig','width','TEXT','_scheduleClearOtherTimer','FromArray','_cursors','MoveRangeCommandId','...','6mzhzVH','transformIMECache','ACTIVE_UNIT_EVENT_CHANNEL','CLOSE_ROOM','APPLY_NON_SEQUENTIAL_REVISION','mutations','_docTransformStateCacheService','_saveCache','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onlineStatusTitle','transformStateCache','mask','_initEvent','_cursorShapes','_initStatusListener','clipPath','from','getRelativeToViewportCoord','_doCreateSocket','replaceState','UNIVER_SHEET','getOwnPropertyDescriptor','runId','_logService','_updateLocalCursor','findNodePositionByCharIndex','_setupBeforeClosingHandler','_initCommandExecutedListener','currentSkeleton$','getViewport','_cachedData','ALREADY_EXISTS','string','dispose','online','session.connection-failed','url(#$1','endRow','apply','AWAITING_WITH_PENDING','setItem','AWAITING','storage','getUndoRedoMutationParamsCache','_handleJoinEvent','_initEntityListener','_uiPartsService','_injector','debug','_hideTimer','getSheetBySheetId','_status$','params','fill','_instanceService','whenReady','univer-online-status','_selfUnitIDs','fillStyle','makeDirty','60llKayu','prototype','indexOf','session.will-retry','use','_collabSessionService','_collaborationUIEventService','_startDocCollabCursor','children','invokeId','imageSourceType','_refreshCollabCursors','onCommandExecuted','has','0\x200\x2017\x2016','_handleEvent','RECT','endColumn','_transformHistoryAndStateStack','createInstance','concat','#FFF','onTransformChange$','#fff','data','exhaustSavingTask','addClipboardHook','LICENSE_EXPORT_SIZE_EXCEEDED','disableLocalCache','defIds','includes','UNRECOGNIZED','beginPath','selection','_localStorageService','_createSocketURL','max','getVpScrollXYInfoByPosToVp','HEADER_MENU','saveOfflineData','split','_handleHeartbeatEvent','sheetID','INTERNAL_ERROR','collabStatus.notCollab','_getAnchorBounding','_ensureSubject','UNIVER_DOC','UPDATE_CURSOR','displayName','onPointerLeave$','getAncestorScale','sessionTicket','_online','sessionStatus$','_range','row','setShapeProps','_imageIoService','closePath','onLocalMutation','getValue','extend','hasOwnProperty','onlineStatusIcon','_getSessionTicket','propertyIsEnumerable','_docTransformIMECacheService','_memberService','getSheetId','_collabCursorController','_localeService','2571633Keydzd','APPLY_PERMISSION_DENIED','Failed','1em','disposeWithMe','_initDependencies','startColumn','_send','currentColor','NO_OTHER_CLIENTS_EDITING','location','CONFLICT','svg','pluginName','M0\x200H16V16H0z','contains','SOCKET_FAILED','transform','range','getUnitId','InsertRangeMoveDownCommandId','eventID','_assignedColors','_dataLoaderService','_transformPreviousActiveRange','call','INVALID_ARGUMENT','flatMap','searchParams','_initResize','univer-flex\x20univer-items-center','then','ENSURE_SNAPSHOT_EXECUTION','getUniverSheetInstance','forEach','height','popstate','stringify','UNDEFINED','override','_session','NOT_COLLAB','asObservable','PENDING','post','actions','_hovered','code','application/json','getActiveSheet','skeleton','pushState','_transformService','m1Prime','next','_draw','_backgroundColor','_color','APPLY_DUPLICATED','black','save','push','currentTheme$','_scheduleSaving','path','_colorAssignService','onMouseMove','event$','DeleteRangeMoveLeftCommandId','replaceDocRanges','getCollabEntity$','ONLINE','onPointerMove$','collab-text-anchor-','some','getUnitStatus$','_entityInit$','PERMISSION_DENIED','JOIN_ROOM_FAILED','_transformUndoRedoStack','_onCursorUpdate','CONNECTOR_DATA_TOO_LARGE','getTypeOfUnitDisposed$','_revisionService','result','getRangePointData','univer-online','_cursor','saveImage','on-line-single_clip0_910_349','_commandService','getMergeData','entries','getSkeleton','executeCommand','name','_entities','setConfig','_labelPosition','addEventListener'];_0xc1e6=function(){return _0x793e11;};return _0xc1e6();}Mt[_0x43bb79(0x207)]=_0x43bb79(0x303);var Yi={'tag':_0x43bb79(0x22a),'attrs':{'fill':'none','viewBox':_0x43bb79(0x1e4),'width':_0x43bb79(0x221),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x43bb79(0x2ea)},'children':[{'tag':'path','attrs':{'stroke':_0x43bb79(0x226),'d':_0x43bb79(0x32e),'strokeLinecap':_0x43bb79(0x2c4),'strokeLinejoin':_0x43bb79(0x2c4),'strokeWidth':1.2}}]},{'tag':_0x43bb79(0x16d),'attrs':{},'children':[{'tag':_0x43bb79(0x1a9),'attrs':{'id':_0x43bb79(0x277)},'children':[{'tag':'path','attrs':{'fill':_0x43bb79(0x1ed),'d':_0x43bb79(0x22c),'transform':_0x43bb79(0x2f0)}}]}]}],'defIds':[_0x43bb79(0x277)]},Nt=_0xe2b30c(function(_0x275292,_0x15d36c){const _0x2acfb9=_0x43bb79;return _0x550281(We,Object['assign']({},_0x275292,{'id':_0x2acfb9(0x287),'ref':_0x15d36c,'icon':Yi}));});Nt[_0x43bb79(0x207)]=_0x43bb79(0x150);const Xi='univer-online-status-icon',Vi=_0x43bb79(0x32d),Gi=_0x43bb79(0x1d2),Ki=_0x43bb79(0x274),zi='univer-offline',G={'onlineStatusIcon':Xi,'onlineStatusTitle':Vi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x20a656){const _0x45adf8=_0x43bb79;switch(_0x20a656){case _0x295a76[_0x45adf8(0x2ef)]:return'collabStatus.offline';case _0x295a76[_0x45adf8(0x229)]:return'collabStatus.conflict';case _0x295a76[_0x45adf8(0x2fd)]:return'collabStatus.fetchMiss';case _0x295a76['NOT_COLLAB']:return _0x45adf8(0x202);case _0x295a76[_0x45adf8(0x1c3)]:case _0x295a76[_0x45adf8(0x1c1)]:return _0x45adf8(0x2f3);case _0x295a76['SYNCED']:case _0x295a76[_0x45adf8(0x249)]:return'collabStatus.synced';}}function Zi(_0x42eba3){const _0x22a223=_0x43bb79,{status$:_0x25f177}=_0x42eba3,_0x504fbf=_0x2ace30(_0x25f177,_0x295a76[_0x22a223(0x247)]),_0x1caa7d=_0x102cf4(_0x523740),_0x3bc100=_0x102cf4(_0x7c3e68),_0xcc170f=_0x504fbf!==_0x295a76[_0x22a223(0x2ef)],_0x118b5c=_0x1caa7d['t'](Ji(_0x504fbf)),_0x4d87d5=_0x4e5491(G['onlineStatus'],{[G[_0x22a223(0x1bc)]]:_0xcc170f,[G[_0x22a223(0x288)]]:!_0xcc170f}),_0x3731c8=_0xcc170f?_0x3da671(Nt,{}):_0x3da671(Mt,{}),_0x4010a6=_0x5ad591(()=>{const _0x4a7a65=_0x22a223;_0xcc170f||_0x3bc100[_0x4a7a65(0x2cc)]();},[_0xcc170f,_0x3bc100]);function _0xabe85e(){const _0x2c8218=_0x22a223;return _0x50f421('div',{'className':_0x4e5491(_0x4d87d5,_0x2c8218(0x23c)),'onClick':_0x4010a6,'children':[_0x3da671(_0x2c8218(0x337),{'className':G[_0x2c8218(0x216)],'children':_0x3731c8}),_0x3da671(_0x2c8218(0x337),{'className':G[_0x2c8218(0x1a3)],'children':_0x118b5c})]});}return _0xcc170f?_0xabe85e():_0x3da671(_0x158bd2,{'title':_0x1caa7d['t'](_0x22a223(0x2eb)),'children':_0xabe85e()});}var qi=Object[_0x43bb79(0x1af)],Qi=(_0x288313,_0x5020e6,_0x80c6c2,_0x172425)=>{const _0x2211b7=_0x43bb79;for(var _0x697089=_0x172425>0x1?void 0x0:_0x172425?qi(_0x5020e6,_0x80c6c2):_0x5020e6,_0x5a185b=_0x288313[_0x2211b7(0x17a)]-0x1,_0x1448ce;_0x5a185b>=0x0;_0x5a185b--)(_0x1448ce=_0x288313[_0x5a185b])&&(_0x697089=_0x1448ce(_0x697089)||_0x697089);return _0x697089;},Q=(_0x4c6b9d,_0x24d85f)=>(_0x1505ce,_0x41cff0)=>_0x24d85f(_0x1505ce,_0x41cff0,_0x4c6b9d);let se=class extends _0xf5cf87{constructor(_0x1c3f6c,_0x824742,_0x4b42f7,_0x4c256f){const _0x566d3d=_0x43bb79;super(),h(this,_0x566d3d(0x1cd),new _0x4a6e6e(_0x295a76['NOT_COLLAB'])),(this[_0x566d3d(0x187)]=_0x1c3f6c,this[_0x566d3d(0x1c9)]=_0x824742,this['_collaborationController']=_0x4b42f7,this[_0x566d3d(0x1c8)]=_0x4c256f,this[_0x566d3d(0x185)](),this[_0x566d3d(0x1a8)]());}[_0x43bb79(0x1a8)](){const _0x342bbe=_0x43bb79;this[_0x342bbe(0x222)](this[_0x342bbe(0x187)]['focused$'][_0x342bbe(0x2de)](_0x86cf42(()=>{const _0x4b357f=_0x342bbe,_0x5a93b1=this[_0x4b357f(0x187)][_0x4b357f(0x306)]();return _0x5a93b1?this['_collaborationController'][_0x4b357f(0x264)](_0x5a93b1[_0x4b357f(0x231)]()):_0x183dd6(null);}),_0x86cf42(_0x458a37=>_0x458a37?_0x458a37[_0x342bbe(0x30e)]:_0x183dd6(_0x295a76[_0x342bbe(0x247)])))[_0x342bbe(0x32a)](_0x15fcbb=>{const _0x34a0a4=_0x342bbe;this['_status$'][_0x34a0a4(0x254)](_0x15fcbb);}));}[_0x43bb79(0x185)](){const _0x5ce680=_0x43bb79;this[_0x5ce680(0x222)](this['_uiPartsService'][_0x5ce680(0x2ee)](_0x5291b0[_0x5ce680(0x1fc)],()=>_0x3ffe91(en({'status$':this[_0x5ce680(0x1cd)]['asObservable']()}),this[_0x5ce680(0x1c9)])));}};se=Qi([Q(0x0,_0x30bd00),Q(0x1,_0x502d14(_0x4c43ee)),Q(0x2,_0x502d14(_0x1f8043)),Q(0x3,_0x2ff301)],se);function en(_0x5067da){const {status$:_0x340f63}=_0x5067da;return function(){return _0x3da671(Zi,{'status$':_0x340f63});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x1719b8,_0x5e243e,_0x3d2e7d,_0x4d8a2e)=>{for(var _0x452a4b=_0x4d8a2e>0x1?void 0x0:_0x4d8a2e?tn(_0x5e243e,_0x3d2e7d):_0x5e243e,_0x401141=_0x1719b8['length']-0x1,_0x40c807;_0x401141>=0x0;_0x401141--)(_0x40c807=_0x1719b8[_0x401141])&&(_0x452a4b=_0x40c807(_0x452a4b)||_0x452a4b);return _0x452a4b;},k=(_0x32faae,_0x22abef)=>(_0x2175a6,_0x569b67)=>_0x22abef(_0x2175a6,_0x569b67,_0x32faae);let ie=class extends _0xf5cf87{constructor(_0x1859ad,_0x3da4ae,_0x98135d,_0x12e44f,_0x23daf5,_0x3c34b5){const _0x44dd7e=_0x43bb79;super(),this[_0x44dd7e(0x146)]=_0x1859ad,this[_0x44dd7e(0x2a9)]=_0x3da4ae,this[_0x44dd7e(0x1dc)]=_0x98135d,this[_0x44dd7e(0x29b)]=_0x12e44f,this['_notificationService']=_0x23daf5,this[_0x44dd7e(0x21d)]=_0x3c34b5,this[_0x44dd7e(0x1b4)](),this['_initEvent']();}[_0x43bb79(0x1b4)](){const _0x2bd3d5=_0x43bb79;this[_0x2bd3d5(0x222)](this[_0x2bd3d5(0x146)][_0x2bd3d5(0x16e)](()=>{const _0x59a8b6=_0x2bd3d5;if(this[_0x59a8b6(0x2a9)]['saveTaskMap'][_0x59a8b6(0x293)])return this[_0x59a8b6(0x21d)]['t'](_0x59a8b6(0x2dc));}));}[_0x43bb79(0x1a6)](){const _0x1131e9=_0x43bb79;this['disposeWithMe'](this[_0x1131e9(0x1dc)][_0x1131e9(0x261)][_0x1131e9(0x32a)](_0x9b05ab=>{const _0x222dd1=_0x1131e9;_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x312)]&&this['_messageService'][_0x222dd1(0x331)]({'type':_0x4d8587[_0x222dd1(0x159)],'content':this['_localeService']['t'](_0x222dd1(0x17e))}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x19d)]&&this[_0x222dd1(0x29b)][_0x222dd1(0x331)]({'type':_0x4d8587['Warning'],'content':this[_0x222dd1(0x21d)]['t'](_0x222dd1(0x2c5))}),_0x9b05ab['id']===_0x4e3bcd['PERMISSION_DENIED']&&this['_notificationService'][_0x222dd1(0x331)]({'title':this['_localeService']['t'](_0x222dd1(0x2e4)),'content':this[_0x222dd1(0x21d)]['t']('permission.content'),'type':_0x222dd1(0x31e),'duration':0x0}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x229)]&&this[_0x222dd1(0x29b)]['show']({'type':_0x4d8587['Error'],'content':this['_localeService']['t'](_0x222dd1(0x2c5))+'('+_0x9b05ab[_0x222dd1(0x1ee)]+')'}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x26c)]&&this[_0x222dd1(0x29b)][_0x222dd1(0x331)]({'type':_0x4d8587['Warning'],'content':this['_localeService']['t'](_0x9b05ab['data']||'')}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x18a)]&&this[_0x222dd1(0x29b)]['show']({'type':_0x4d8587['Warning'],'content':this[_0x222dd1(0x21d)]['t'](_0x222dd1(0x1d9))}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x22e)]&&this['_messageService'][_0x222dd1(0x331)]({'type':_0x4d8587['Error'],'content':this['_localeService']['t'](_0x222dd1(0x1bd))}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x324)]&&this[_0x222dd1(0x29b)][_0x222dd1(0x331)]({'type':_0x4d8587['Error'],'content':this['_localeService']['t'](_0x222dd1(0x30f))});}));}};ie=sn([k(0x0,_0xe6879f),k(0x1,_0x40a747),k(0x2,_0x502d14(_0x2afbbf)),k(0x3,_0x3b4620),k(0x4,_0x34cdf2),k(0x5,_0x502d14(_0x523740))],ie);const nn=_0x43bb79(0x2f4),st={},wt=_0x1c7058(_0x43bb79(0x2c1));var rn=Object[_0x43bb79(0x1af)],on=(_0x2453f6,_0x2ea934,_0x452bb4,_0x5d4886)=>{const _0x40a2bb=_0x43bb79;for(var _0x1f8384=_0x5d4886>0x1?void 0x0:_0x5d4886?rn(_0x2ea934,_0x452bb4):_0x2ea934,_0x2058af=_0x2453f6[_0x40a2bb(0x17a)]-0x1,_0xa6f8cf;_0x2058af>=0x0;_0x2058af--)(_0xa6f8cf=_0x2453f6[_0x2058af])&&(_0x1f8384=_0xa6f8cf(_0x1f8384)||_0x1f8384);return _0x1f8384;},K=(_0x36648d,_0x43c332)=>(_0x5ba220,_0x4f1a2e)=>_0x43c332(_0x5ba220,_0x4f1a2e,_0x36648d);let ne=class extends _0x20b3a0{constructor(_0x572502,_0x475759,_0x36c5a2,_0x5e4c96,_0x5211b4){const _0x4c23c6=_0x43bb79;super(),this[_0x4c23c6(0x151)]=_0x572502,this['_logService']=_0x475759,this[_0x4c23c6(0x278)]=_0x36c5a2,this['_dataLoaderService']=_0x5e4c96,_0x5211b4?_0x5211b4==null||_0x5211b4[_0x4c23c6(0x1d1)]()['then'](()=>this[_0x4c23c6(0x300)]()):(this['_logService'][_0x4c23c6(0x1ca)](_0x4c23c6(0x14b),_0x4c23c6(0x2cd)),this[_0x4c23c6(0x300)]());}async[_0x43bb79(0x300)](){const _0x194052=_0x43bb79,_0x408c21=this[_0x194052(0x151)][_0x194052(0x14e)]('unit'),_0x301add=this['_urlService'][_0x194052(0x14e)](_0x194052(0x33a)),_0x111aeb=this['_urlService'][_0x194052(0x14e)]('subunit');if(!_0x408c21||!_0x301add){this[_0x194052(0x1b1)][_0x194052(0x1ca)](_0x194052(0x14b),_0x194052(0x1a2));return;}const _0xc02a23=await this[_0x194052(0x235)][_0x194052(0x290)](_0x408c21,Number(_0x301add),_0x111aeb);_0xc02a23&&_0xc02a23 instanceof _0x25faec&&this[_0x194052(0x158)](_0xc02a23);}async['_setupSubUnitSync'](_0x260ca4){const _0x133f43=_0x43bb79;await this[_0x133f43(0x137)](_0x260ca4),_0x260ca4[_0x133f43(0x31f)][_0x133f43(0x2de)](_0x5c2067(this[_0x133f43(0x320)]))['subscribe'](_0xb6e598=>{_0xb6e598&&this['_updateURLWithCurrentState'](_0xb6e598);}),this[_0x133f43(0x151)]['urlChange$'][_0x133f43(0x2de)](_0x5c2067(this[_0x133f43(0x320)]))[_0x133f43(0x32a)](()=>this[_0x133f43(0x137)](_0x260ca4));}[_0x43bb79(0x153)](_0x3edabb,_0xb1047c=!0x1){const _0x645af=_0x43bb79,_0x431911=this['_urlService']['getParam']('subunit');_0x3edabb[_0x645af(0x21b)]()!==_0x431911&&this[_0x645af(0x151)][_0x645af(0x177)](_0x645af(0x301),_0x3edabb[_0x645af(0x21b)](),_0xb1047c);}async[_0x43bb79(0x137)](_0x24649b){const _0xb59515=_0x43bb79;var _0x14c473;const _0x47cd97=this[_0xb59515(0x151)][_0xb59515(0x14e)](_0xb59515(0x301));if(!_0x47cd97||!_0x24649b[_0xb59515(0x1cc)](_0x47cd97)){const _0x138eeb=_0x24649b[_0xb59515(0x2fe)]()[0x0],_0x5a47ee=_0x24649b[_0xb59515(0x1cc)](_0x138eeb);if(!_0x5a47ee)return;this['_updateURLWithCurrentState'](_0x5a47ee,!0x0),await this[_0xb59515(0x278)][_0xb59515(0x27c)](_0x1c6ab0['id'],{'unitId':_0x24649b[_0xb59515(0x231)](),'subUnitId':_0x138eeb});return;}((_0x14c473=_0x24649b[_0xb59515(0x24f)]())==null?void 0x0:_0x14c473[_0xb59515(0x21b)]())!==_0x47cd97&&await this[_0xb59515(0x278)][_0xb59515(0x27c)](_0x1c6ab0['id'],{'unitId':_0x24649b['getUnitId'](),'subUnitId':_0x47cd97});}};ne=on([K(0x0,wt),K(0x1,_0x2f4704),K(0x2,_0x50f030),K(0x3,_0x502d14(_0x2b9e4f)),K(0x4,_0x1edf7d(_0x121ff4))],ne);var an=Object[_0x43bb79(0x1af)],cn=(_0x2b6f89,_0x1c9337,_0x1d32c5,_0x50747a)=>{const _0x45b85c=_0x43bb79;for(var _0x14fd23=_0x50747a>0x1?void 0x0:_0x50747a?an(_0x1c9337,_0x1d32c5):_0x1c9337,_0x5ae24e=_0x2b6f89[_0x45b85c(0x17a)]-0x1,_0x51096d;_0x5ae24e>=0x0;_0x5ae24e--)(_0x51096d=_0x2b6f89[_0x5ae24e])&&(_0x14fd23=_0x51096d(_0x14fd23)||_0x14fd23);return _0x14fd23;},Ce=(_0x2aa2c9,_0x1a67a4)=>(_0x25a596,_0x36e33c)=>_0x1a67a4(_0x25a596,_0x36e33c,_0x2aa2c9);let re=class{constructor(_0x26bbaa,_0x15cce5,_0x3f2f80){const _0x50af79=_0x43bb79;this['_injector']=_0x26bbaa,this[_0x50af79(0x252)]=_0x15cce5,this[_0x50af79(0x329)]=_0x3f2f80;}[_0x43bb79(0x19b)](_0x4b0598){const _0x579fdf=_0x43bb79;this['_transformUndoRedoStack'](_0x4b0598),this[_0x579fdf(0x236)](_0x4b0598);}['transformRemoteChangeset'](_0x20f3a6){const _0x4b9276=_0x43bb79,{unitID:_0x36296f}=_0x20f3a6,_0xac4e76=this[_0x4b9276(0x329)][_0x4b9276(0x2d9)](_0x36296f)[_0x4b9276(0x2a3)](_0x597b13),{redoCache:_0x4b7600}=_0xac4e76[_0x4b9276(0x1c5)]();if(_0x4b7600[_0x4b9276(0x17a)]===0x0)return _0x20f3a6;let _0x559bf2=_0x1aee49[_0x4b9276(0x15f)](_0x20f3a6[_0x4b9276(0x19f)][0x0]);for(let _0x388f28=0x0;_0x388f28<_0x4b7600[_0x4b9276(0x17a)];_0x388f28++){const _0x5bec9b={'id':'doc.mutation.rich-text-editing','params':{..._0x4b7600[_0x388f28]}},_0x2d5bb7=this[_0x4b9276(0x252)][_0x4b9276(0x2e0)](_0x559bf2,_0x5bec9b,!0x1);if(_0x33576f(_0x2d5bb7))throw _0x2d5bb7[_0x4b9276(0x31e)];_0x559bf2=_0x2d5bb7[_0x4b9276(0x253)];}return{..._0x1aee49[_0x4b9276(0x15f)](_0x20f3a6),'mutations':[_0x559bf2]};}[_0x43bb79(0x26d)](_0x495e04){const _0x2fbea4=_0x43bb79,{unitID:_0x326c13}=_0x495e04,_0xde3ca8=this[_0x2fbea4(0x329)][_0x2fbea4(0x2d9)](_0x326c13)[_0x2fbea4(0x2a3)](_0x597b13),{undoCache:_0x13ce29,redoCache:_0x2aecbd}=_0xde3ca8[_0x2fbea4(0x1c5)]();if(_0x13ce29[_0x2fbea4(0x17a)]===0x0||_0x2aecbd['length']===0x0)return;const _0x59bc6a=[],_0x1d8946=[];let _0x7558c6=_0x1aee49[_0x2fbea4(0x15f)](_0x495e04[_0x2fbea4(0x19f)][0x0]),_0x49c2d2=_0x1aee49['deepClone'](_0x495e04[_0x2fbea4(0x19f)][0x0]);for(let _0xd4d564=_0x13ce29[_0x2fbea4(0x17a)]-0x1;_0xd4d564>=0x0;_0xd4d564--){const _0x517acb={'id':_0x2fbea4(0x2f1),'params':{..._0x13ce29[_0xd4d564]}},_0x303b68={'id':_0x2fbea4(0x2f1),'params':{..._0x2aecbd[_0xd4d564]}},_0x4a46a0=this[_0x2fbea4(0x252)][_0x2fbea4(0x2e0)](_0x7558c6,_0x517acb,!0x1),_0x211ad0=this[_0x2fbea4(0x252)][_0x2fbea4(0x2e0)](_0x49c2d2,_0x303b68,!0x1);if(_0x33576f(_0x4a46a0))throw _0x4a46a0[_0x2fbea4(0x31e)];if(_0x33576f(_0x211ad0))throw _0x211ad0[_0x2fbea4(0x31e)];_0x59bc6a['unshift'](_0x4a46a0[_0x2fbea4(0x2b5)][_0x2fbea4(0x1ce)]),_0x1d8946['unshift'](_0x211ad0[_0x2fbea4(0x2b5)][_0x2fbea4(0x1ce)]),_0x7558c6=_0x4a46a0[_0x2fbea4(0x253)],_0x49c2d2=_0x211ad0[_0x2fbea4(0x253)];}_0xde3ca8['setUndoRedoMutationParamsCache']({'undoCache':_0x59bc6a,'redoCache':_0x1d8946});}['_transformPreviousActiveRange'](_0x23da26){const _0x362add=_0x43bb79,{unitID:_0x6133e3}=_0x23da26,_0x1e2ab0=this['_renderManagerService'][_0x362add(0x2d9)](_0x6133e3)[_0x362add(0x2a3)](_0x597b13),_0x1e2e6a=_0x1e2ab0['getActiveRange']();if(_0x1e2e6a==null)return;const _0x2cd88e=[{'id':_0x362add(0x2f1),'params':{'unitId':_0x23da26[_0x362add(0x2b9)],'actions':null,'textRanges':[_0x1e2e6a]}}],_0x20cc42=this[_0x362add(0x252)]['transformMutationsWithChangeset'](_0x23da26,_0x2cd88e);if(!_0x40ed42(_0x20cc42))throw _0x20cc42[_0x362add(0x31e)];const _0xc43c30=_0x20cc42['m2Prime'][0x0][_0x362add(0x1ce)][_0x362add(0x174)];Array['isArray'](_0xc43c30)&&_0xc43c30[_0x362add(0x17a)]&&_0x1e2ab0[_0x362add(0x2fc)](_0xc43c30[0x0]);}};re=cn([Ce(0x0,_0x502d14(_0x4c43ee)),Ce(0x1,_0xf1490c),Ce(0x2,_0xc058b9)],re);var ln=Object[_0x43bb79(0x1af)],hn=(_0x9c20d3,_0x1f5d67,_0x354a74,_0x411500)=>{const _0x6451bb=_0x43bb79;for(var _0x49a740=_0x411500>0x1?void 0x0:_0x411500?ln(_0x1f5d67,_0x354a74):_0x1f5d67,_0xe9749=_0x9c20d3[_0x6451bb(0x17a)]-0x1,_0x494e5b;_0xe9749>=0x0;_0xe9749--)(_0x494e5b=_0x9c20d3[_0xe9749])&&(_0x49a740=_0x494e5b(_0x49a740)||_0x49a740);return _0x49a740;},be=(_0x158457,_0x15a0e4)=>(_0xc02a45,_0x238308)=>_0x15a0e4(_0xc02a45,_0x238308,_0x158457);let oe=class{constructor(_0x35d51a,_0x300d54,_0x184483){const _0x554d60=_0x43bb79;this[_0x554d60(0x1c9)]=_0x35d51a,this['_transformService']=_0x300d54,this[_0x554d60(0x2b3)]=_0x184483;}[_0x43bb79(0x1a4)](_0x578ddd){const _0x99c1c2=_0x43bb79;this[_0x99c1c2(0x1e8)](_0x578ddd);}[_0x43bb79(0x2ad)](_0x17c834){const _0x506260=_0x43bb79,{unitID:_0x466306}=_0x17c834,{collaboration:_0x51b24e}=this['_docStateChangeManagerService'][_0x506260(0x16a)](_0x466306);if(_0x51b24e['length']===0x0)return _0x17c834;let _0x390679=_0x1aee49[_0x506260(0x15f)](_0x17c834['mutations'][0x0]);for(let _0x4590c7=0x0;_0x4590c7<_0x51b24e[_0x506260(0x17a)];_0x4590c7++){const _0x4d269a={'id':_0x506260(0x2f1),'params':{'unitId':_0x51b24e[_0x4590c7][_0x506260(0x294)],..._0x51b24e[_0x4590c7]['redoState']}},_0x49a837=this[_0x506260(0x252)]['transformMutation'](_0x390679,_0x4d269a,!0x1);if(_0x33576f(_0x49a837))throw _0x49a837['error'];_0x390679=_0x49a837[_0x506260(0x253)];}return{..._0x1aee49['deepClone'](_0x17c834),'mutations':[_0x390679]};}[_0x43bb79(0x1e8)](_0xe0a6fc){const _0x5720c9=_0x43bb79,{unitID:_0x4be11e}=_0xe0a6fc,{history:_0x5f57d9,collaboration:_0x42f24a}=this['_docStateChangeManagerService'][_0x5720c9(0x16a)](_0x4be11e);if(_0x5f57d9['length']===0x0&&_0x42f24a[_0x5720c9(0x17a)]===0x0)return;const _0x5f693c=[],_0x2e6798=[];let _0x2e488f=_0x1aee49['deepClone'](_0xe0a6fc['mutations'][0x0]),_0x5724cb=_0x1aee49[_0x5720c9(0x15f)](_0xe0a6fc[_0x5720c9(0x19f)][0x0]);for(let _0x9004d4=_0x5f57d9[_0x5720c9(0x17a)]-0x1;_0x9004d4>=0x0;_0x9004d4--){const _0x34d023={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5f57d9[_0x9004d4][_0x5720c9(0x294)],..._0x5f57d9[_0x9004d4][_0x5720c9(0x14c)]}},_0x2146ed={'id':_0x5720c9(0x2f1),'params':{'unitId':_0x5f57d9[_0x9004d4][_0x5720c9(0x294)],..._0x5f57d9[_0x9004d4]['redoState']}},_0x5715c0=this[_0x5720c9(0x252)]['transformMutation'](_0x2e488f,_0x34d023,!0x1),_0x2e0193=this[_0x5720c9(0x252)][_0x5720c9(0x2e0)](_0x5724cb,_0x2146ed,!0x1);if(_0x33576f(_0x5715c0))throw _0x5715c0[_0x5720c9(0x31e)];if(_0x33576f(_0x2e0193))throw _0x2e0193[_0x5720c9(0x31e)];_0x5f693c[_0x5720c9(0x18b)]({..._0x5f57d9[_0x9004d4],'undoState':_0x5715c0[_0x5720c9(0x2b5)]['params'],'redoState':_0x2e0193['m2Prime']['params']}),_0x2e488f=_0x5715c0[_0x5720c9(0x253)],_0x5724cb=_0x2e0193[_0x5720c9(0x253)];}_0x2e488f=_0x1aee49[_0x5720c9(0x15f)](_0xe0a6fc[_0x5720c9(0x19f)][0x0]),_0x5724cb=_0x1aee49['deepClone'](_0xe0a6fc['mutations'][0x0]);for(let _0x4a6178=_0x42f24a[_0x5720c9(0x17a)]-0x1;_0x4a6178>=0x0;_0x4a6178--){const _0x729bb4={'id':_0x5720c9(0x2f1),'params':{'unitId':_0x42f24a[_0x4a6178][_0x5720c9(0x294)],..._0x42f24a[_0x4a6178][_0x5720c9(0x14c)]}},_0x1556cf={'id':_0x5720c9(0x2f1),'params':{'unitId':_0x42f24a[_0x4a6178][_0x5720c9(0x294)],..._0x42f24a[_0x4a6178][_0x5720c9(0x304)]}},_0x157143=this[_0x5720c9(0x252)][_0x5720c9(0x2e0)](_0x2e488f,_0x729bb4,!0x1),_0x51fa00=this['_transformService'][_0x5720c9(0x2e0)](_0x5724cb,_0x1556cf,!0x1);if(_0x33576f(_0x157143))throw _0x157143[_0x5720c9(0x31e)];if(_0x33576f(_0x51fa00))throw _0x51fa00[_0x5720c9(0x31e)];_0x2e6798['unshift']({..._0x42f24a[_0x4a6178],'undoState':_0x157143[_0x5720c9(0x2b5)][_0x5720c9(0x1ce)],'redoState':_0x51fa00[_0x5720c9(0x2b5)][_0x5720c9(0x1ce)]}),_0x2e488f=_0x157143[_0x5720c9(0x253)],_0x5724cb=_0x51fa00[_0x5720c9(0x253)];}this[_0x5720c9(0x2b3)]['setStateCache'](_0x4be11e,{'history':_0x5f693c,'collaboration':_0x2e6798});}};oe=hn([be(0x0,_0x502d14(_0x4c43ee)),be(0x1,_0xf1490c),be(0x2,_0x502d14(_0x25b887))],oe);var _n=Object[_0x43bb79(0x1af)],un=(_0x33df4d,_0x271d2d,_0x3ad107,_0x31b5f5)=>{const _0x4c9b13=_0x43bb79;for(var _0x2ae069=_0x31b5f5>0x1?void 0x0:_0x31b5f5?_n(_0x271d2d,_0x3ad107):_0x271d2d,_0x565555=_0x33df4d[_0x4c9b13(0x17a)]-0x1,_0x50994b;_0x565555>=0x0;_0x565555--)(_0x50994b=_0x33df4d[_0x565555])&&(_0x2ae069=_0x50994b(_0x2ae069)||_0x2ae069);return _0x2ae069;},it=(_0xef449,_0x17e768)=>(_0x16e1e8,_0x1dd8f5)=>_0x17e768(_0x16e1e8,_0x1dd8f5,_0xef449);let ae=class{constructor(_0x23fccc,_0x20214c){const _0x4ee570=_0x43bb79;this[_0x4ee570(0x1c9)]=_0x23fccc,this[_0x4ee570(0x252)]=_0x20214c;}['transformSelections'](_0x341a18){const _0x59e065=_0x43bb79;var _0x13867f;const _0x206cc6=this['_injector'][_0x59e065(0x2dd)](_0x18e240),_0x460bf4=(_0x13867f=_0x206cc6[_0x59e065(0x28f)]())!=null?_0x13867f:[];if(_0x460bf4[_0x59e065(0x17a)]===0x0)return;const _0x5b6871=_0x341a18['unitID'],_0x1e43b7=[{'id':_0x59e065(0x2f1),'params':{'unitId':_0x5b6871,'actions':null,'textRanges':_0x460bf4}}],_0x1a1cda=this[_0x59e065(0x252)]['transformMutationsWithChangeset'](_0x341a18,_0x1e43b7);if(!_0x40ed42(_0x1a1cda))throw _0x1a1cda[_0x59e065(0x31e)];const _0x1fe3d4=_0x1a1cda['m2Prime'][0x0][_0x59e065(0x1ce)][_0x59e065(0x174)];Array[_0x59e065(0x173)](_0x1fe3d4)&&_0x1fe3d4[_0x59e065(0x17a)]&&_0x206cc6[_0x59e065(0x263)](_0x1fe3d4,{'unitId':_0x5b6871,'subUnitId':_0x5b6871},!0x1);}};ae=un([it(0x0,_0x502d14(_0x4c43ee)),it(0x1,_0xf1490c)],ae);var dn=Object[_0x43bb79(0x1af)],fn=(_0x55d564,_0x9484d2,_0xb3ba19,_0x2199af)=>{const _0x380074=_0x43bb79;for(var _0xfc8fe4=_0x2199af>0x1?void 0x0:_0x2199af?dn(_0x9484d2,_0xb3ba19):_0x9484d2,_0x1ff9d7=_0x55d564[_0x380074(0x17a)]-0x1,_0xe98bf1;_0x1ff9d7>=0x0;_0x1ff9d7--)(_0xe98bf1=_0x55d564[_0x1ff9d7])&&(_0xfc8fe4=_0xe98bf1(_0xfc8fe4)||_0xfc8fe4);return _0xfc8fe4;},M=(_0x5cffa3,_0x53a59e)=>(_0x237a73,_0x5ddf70)=>_0x53a59e(_0x237a73,_0x5ddf70,_0x5cffa3);let ce=class extends _0xf5cf87{constructor(_0x5e1933,_0x18e959,_0x39e74a,_0x4f6250,_0x138594,_0x5b8216,_0x51e447,_0x1c27a1){const _0x506de3=_0x43bb79;super(),h(this,_0x506de3(0x1cd),new _0x4a6e6e(_0x295a76['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5e1933,this[_0x506de3(0x325)]=_0x18e959,this[_0x506de3(0x219)]=_0x39e74a,this[_0x506de3(0x1a0)]=_0x4f6250,this[_0x506de3(0x315)]=_0x138594,this[_0x506de3(0x31d)]=_0x5b8216,this[_0x506de3(0x29b)]=_0x51e447,this[_0x506de3(0x21d)]=_0x1c27a1,this[_0x506de3(0x1c7)]());}[_0x43bb79(0x1c7)](){const _0x3024a6=_0x43bb79;this[_0x3024a6(0x222)](this[_0x3024a6(0x325)]['entityInit$'][_0x3024a6(0x32a)](_0x33fd00=>{const _0x32a071=_0x3024a6,_0x5564a2=this[_0x32a071(0x2b3)]['docStateChange$']['subscribe'](_0x4a0369=>{const _0x4a609=_0x32a071;if(_0x4a0369==null)return;const {unitId:_0x190759,redoState:_0x2a93d3,commandId:_0x2cbfb}=_0x4a0369;if(_0x190759!==_0x33fd00['unitID'])return;const _0x1dbba8={'id':_0x2cbfb,'type':_0x9d124['MUTATION'],'params':{'unitId':_0x190759,'actions':_0x2a93d3[_0x4a609(0x24b)],'textRanges':null}};_0x33fd00[_0x4a609(0x212)](_0x1dbba8);});if(_0x33fd00[_0x32a071(0x222)](_0x5564a2),_0x33fd00 instanceof _0x4d904c){const _0x115ac4={'onTransformIME':_0x22dce7=>this[_0x32a071(0x219)][_0x32a071(0x19b)](_0x22dce7),'onTransformState':_0x2afe02=>this[_0x32a071(0x1a0)][_0x32a071(0x1a4)](_0x2afe02),'onTransformSelections':_0x152526=>this['_docTransformSelectionsService'][_0x32a071(0x29d)](_0x152526),'onSyncEditingCollabCursor':_0x4cb8de=>this[_0x32a071(0x31d)]['syncEditingCollabCursor'](_0x4cb8de),'onTransformRemoteChangesetByIMECache':_0x44ac32=>this[_0x32a071(0x219)][_0x32a071(0x2ad)](_0x44ac32),'onTransformRemoteChangesetByStateCache':_0x2771ed=>this[_0x32a071(0x1a0)][_0x32a071(0x2ad)](_0x2771ed)};_0x33fd00['addHandlerCallback'](_0x115ac4);}}));}};ce=fn([M(0x0,_0x502d14(_0x25b887)),M(0x1,_0x502d14(_0x1f8043)),M(0x2,_0x502d14(re)),M(0x3,_0x502d14(oe)),M(0x4,_0x502d14(ae)),M(0x5,_0x502d14(je)),M(0x6,_0x3b4620),M(0x7,_0x502d14(_0x523740))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x2d5e3d,_0x1bcb49,_0x225803,_0x3c4ba5)=>{const _0x42df7b=_0x43bb79;for(var _0x232748=_0x3c4ba5>0x1?void 0x0:_0x3c4ba5?Sn(_0x1bcb49,_0x225803):_0x1bcb49,_0x20178c=_0x2d5e3d[_0x42df7b(0x17a)]-0x1,_0x3388c7;_0x20178c>=0x0;_0x20178c--)(_0x3388c7=_0x2d5e3d[_0x20178c])&&(_0x232748=_0x3388c7(_0x232748)||_0x232748);return _0x232748;},Ee=(_0x1c86d6,_0x5cfddc)=>(_0x41f7df,_0x363398)=>_0x5cfddc(_0x41f7df,_0x363398,_0x1c86d6);let Ae=class extends _0xf5cf87{constructor(_0x1a1840,_0x5b785f,_0x47449e){const _0x2fa527=_0x43bb79;super(),h(this,'_cachedData',new Map()),h(this,_0x2fa527(0x183),new Map()),h(this,'_disabled',!0x1),(this[_0x2fa527(0x172)]=_0x1a1840,this['_localStorageService']=_0x5b785f,this[_0x2fa527(0x271)]=_0x47449e);}[_0x43bb79(0x1f2)](){this['_disabled']=!0x0;}[_0x43bb79(0x2db)](){this['_disabled']=!0x1;}get[_0x43bb79(0x332)](){const _0x433da9=_0x43bb79;return this[_0x433da9(0x183)];}[_0x43bb79(0x1bb)](){const _0x1b5fbf=_0x43bb79;this[_0x1b5fbf(0x1ef)]()['then'](()=>super[_0x1b5fbf(0x1bb)]());}async[_0x43bb79(0x18c)](_0x5c078d){const _0x1987f7=_0x43bb79;return this['_disabled']?null:this[_0x1987f7(0x1f8)]['getItem'](_0x4fed25(_0x5c078d));}async[_0x43bb79(0x1fd)](_0x15f838,_0x2f8db2){const _0x119b74=_0x43bb79;return!!this[_0x119b74(0x1f8)]['setItem'](_0x15f838,_0x2f8db2);}['updateOfflineData'](_0x5e5bc4,_0x246ec3,_0x18fbf3,_0x3fb694){const _0x3cdcf7=_0x43bb79,_0x52c026=this[_0x3cdcf7(0x271)][_0x3cdcf7(0x2bb)](_0x5e5bc4);this[_0x3cdcf7(0x1b8)]['set'](_0x5e5bc4,{'unitID':_0x5e5bc4,'type':_0x246ec3,'awaitingChangeset':_0x18fbf3,'mutations':_0x3fb694,'rev':_0x52c026}),this[_0x3cdcf7(0x183)]['has'](_0x5e5bc4)||this[_0x3cdcf7(0x25d)](_0x5e5bc4);}[_0x43bb79(0x25d)](_0x2223ec){const _0x1a9c57=_0x43bb79,_0x5c6f9f=this[_0x1a9c57(0x28d)]();_0x5c6f9f===0x0?this['_saveCache'](_0x2223ec):this['_saveTaskMap'][_0x1a9c57(0x28c)](_0x2223ec,setTimeout(()=>this[_0x1a9c57(0x1a1)](_0x2223ec),_0x5c6f9f));}['_getSaveTimeout'](){const _0x420a7c=_0x43bb79;var _0x1e9464;return(_0x1e9464=this[_0x420a7c(0x172)]['getConfig'](_0x43f15d))!=null?_0x1e9464:_0x2f141a;}[_0x43bb79(0x1a1)](_0x126fdb){const _0x56af4d=_0x43bb79,_0x2d16c5=this[_0x56af4d(0x183)][_0x56af4d(0x2dd)](_0x126fdb);return _0x2d16c5!==void 0x0&&window[_0x56af4d(0x2d1)](_0x2d16c5),this['_localStorageService'][_0x56af4d(0x1c2)](_0x4fed25(_0x126fdb),this[_0x56af4d(0x1b8)][_0x56af4d(0x2dd)](_0x126fdb))[_0x56af4d(0x23d)](()=>this[_0x56af4d(0x183)][_0x56af4d(0x31a)](_0x126fdb));}async[_0x43bb79(0x1ef)](){const _0x4f32d9=_0x43bb79,_0x33abda=[];this[_0x4f32d9(0x183)][_0x4f32d9(0x240)]((_0x2e2c77,_0x17ad50)=>{const _0x3183c4=_0x4f32d9;window[_0x3183c4(0x2d1)](_0x2e2c77),_0x33abda[_0x3183c4(0x25b)](this[_0x3183c4(0x1a1)](_0x17ad50)['then'](()=>{const _0x39184f=_0x3183c4;this[_0x39184f(0x183)][_0x39184f(0x31a)](_0x17ad50);}));}),await Promise[_0x4f32d9(0x31b)](_0x33abda);}};Ae=mn([Ee(0x0,_0x37fa78),Ee(0x1,_0x20ef19),Ee(0x2,_0x502d14(_0x5d2c9b))],Ae);class gn extends _0x20b3a0{constructor(){const _0x4e1387=_0x43bb79;super(),h(this,_0x4e1387(0x2f9)),this[_0x4e1387(0x2f9)]=_0x3d6b41(window,_0x4e1387(0x242))[_0x4e1387(0x2de)](_0x5c2067(this[_0x4e1387(0x320)]),_0x174904(0x1),_0x4b7cfd(void 0x0));}[_0x43bb79(0x177)](_0x35483e,_0x452056,_0x504d69=!0x1){const _0x2121e7=_0x43bb79,_0x4e5d8c=new URL(window[_0x2121e7(0x228)][_0x2121e7(0x2e1)]);_0x4e5d8c[_0x2121e7(0x23a)][_0x2121e7(0x28c)](_0x35483e,_0x452056),_0x504d69?window[_0x2121e7(0x2c9)][_0x2121e7(0x1ad)]('','',_0x4e5d8c[_0x2121e7(0x165)]()):window[_0x2121e7(0x2c9)][_0x2121e7(0x251)]('','',_0x4e5d8c[_0x2121e7(0x165)]());}['removeParam'](_0x53f360,_0x36c4ae=!0x1){const _0x45c88f=_0x43bb79,_0x342374=new URL(window['location']['href']);_0x342374['searchParams'][_0x45c88f(0x31a)](_0x53f360),_0x36c4ae?window[_0x45c88f(0x2c9)][_0x45c88f(0x1ad)]('','',_0x342374[_0x45c88f(0x165)]()):window['history'][_0x45c88f(0x251)]('','',_0x342374['toString']());}[_0x43bb79(0x14e)](_0x399cb8){const _0x573f28=_0x43bb79;var _0x523814;return(_0x523814=new URL(window[_0x573f28(0x228)][_0x573f28(0x2e1)])[_0x573f28(0x23a)][_0x573f28(0x2dd)](_0x399cb8))!=null?_0x523814:void 0x0;}}var vn=Object[_0x43bb79(0x2e3)],In=Object[_0x43bb79(0x1af)],pn=(_0x567778,_0x4f924c,_0x21f07e)=>_0x4f924c in _0x567778?vn(_0x567778,_0x4f924c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21f07e}):_0x567778[_0x4f924c]=_0x21f07e,Cn=(_0x41e148,_0x50f27b,_0x18e64f,_0x1bc489)=>{const _0x18a128=_0x43bb79;for(var _0x211399=_0x1bc489>0x1?void 0x0:_0x1bc489?In(_0x50f27b,_0x18e64f):_0x50f27b,_0x49c085=_0x41e148[_0x18a128(0x17a)]-0x1,_0x4d5ad1;_0x49c085>=0x0;_0x49c085--)(_0x4d5ad1=_0x41e148[_0x49c085])&&(_0x211399=_0x4d5ad1(_0x211399)||_0x211399);return _0x211399;},Oe=(_0x313685,_0x574da4)=>(_0x331937,_0x4a47aa)=>_0x574da4(_0x331937,_0x4a47aa,_0x313685),bn=(_0x49d5e6,_0x109d5c,_0x4a3a2c)=>pn(_0x49d5e6,_0x109d5c+'',_0x4a3a2c);const En='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x41cfd9{constructor(_0x47a65c=st,_0x1d4bae,_0x465258,_0x16aa58){const _0x380b3b=_0x43bb79;super(),this[_0x380b3b(0x15e)]=_0x47a65c,this['_renderManagerService']=_0x1d4bae,this['_injector']=_0x465258,this['_configService']=_0x16aa58;const {..._0x5beea5}=_0x515488({},st,this[_0x380b3b(0x15e)]);this[_0x380b3b(0x172)][_0x380b3b(0x27f)](nn,_0x5beea5);}[_0x43bb79(0x298)](){const _0x287c82=_0x43bb79;this[_0x287c82(0x2ba)](),this[_0x287c82(0x223)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4a9c88=_0x43bb79;var _0x435fbc;const _0x49ba7a=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x30a7a4,{'useClass':_0x5b5369}],[_0x40a747,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x4c220e(this[_0x4a9c88(0x1c9)],_0x16403f(_0x49ba7a,(_0x435fbc=this['_config'])==null?void 0x0:_0x435fbc[_0x4a9c88(0x245)]));}[_0x43bb79(0x2a6)](){const _0x303e71=_0x43bb79;this['disposeWithMe'](this[_0x303e71(0x329)][_0x303e71(0x136)](_0xdcdde7['UNIVER_DOC'],[Ue])),this[_0x303e71(0x222)](this[_0x303e71(0x329)][_0x303e71(0x136)](_0xdcdde7['UNIVER_SHEET'],[Le]));}[_0x43bb79(0x223)](){const _0x2e8439=_0x43bb79;_0x53954a(this[_0x2e8439(0x1c9)],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,_0x43bb79(0x22b),En),ye=Cn([_0x15fe56(_0x2ca347),Oe(0x1,_0xc058b9),Oe(0x2,_0x502d14(_0x4c43ee)),Oe(0x3,_0x37fa78)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x552500,_0x205cfb,_0x1c674a,_0x3073f8)=>{for(var _0x46fb20=_0x3073f8>0x1?void 0x0:_0x3073f8?On(_0x205cfb,_0x1c674a):_0x205cfb,_0x2fa33f=_0x552500['length']-0x1,_0x519b06;_0x2fa33f>=0x0;_0x2fa33f--)(_0x519b06=_0x552500[_0x2fa33f])&&(_0x46fb20=_0x519b06(_0x46fb20)||_0x46fb20);return _0x46fb20;},z=(_0x255758,_0x54116d)=>(_0x56b959,_0x369d8d)=>_0x54116d(_0x56b959,_0x369d8d,_0x255758);let nt=class extends _0x15437c{constructor(_0x324b07,_0x15f4fd,_0x8bf73b,_0x4ddf17,_0x41e8a6){super(_0x324b07,_0x15f4fd,_0x8bf73b,_0x4ddf17,_0x41e8a6);}async[_0x43bb79(0x30c)](_0x1d1cec){const _0x516bb5=_0x43bb79,_0x333853=await this[_0x516bb5(0x217)](),_0x255f51=this['_createSocketURL'](_0x1d1cec,_0x333853);return this[_0x516bb5(0x1ac)](_0x255f51);}[_0x43bb79(0x1f9)](_0x556cc8,_0x4b174d){const _0x5bfa7c=_0x43bb79,_0x501ade=typeof window>'u'?new URL(_0x556cc8):new URL(_0x556cc8,window[_0x5bfa7c(0x228)][_0x5bfa7c(0x17d)]);_0x501ade[_0x5bfa7c(0x23a)]['set'](_0x5bfa7c(0x20a),_0x4b174d);const _0x2a2a31=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5bfa7c(0x228)][_0x5bfa7c(0x30b)]);return _0x2a2a31['get']('runId')&&_0x501ade[_0x5bfa7c(0x23a)][_0x5bfa7c(0x28c)](_0x5bfa7c(0x1b0),_0x2a2a31[_0x5bfa7c(0x2dd)](_0x5bfa7c(0x1b0))),_0x501ade[_0x5bfa7c(0x165)]();}async[_0x43bb79(0x217)](){const _0x1c5414=_0x43bb79;var _0x381f3a,_0x3720b6,_0x3858e4;const _0x4c6b35=this[_0x1c5414(0x172)][_0x1c5414(0x192)](_0x18705f),_0xc9f74c=(_0x381f3a=_0x4c6b35==null?void 0x0:_0x4c6b35[_0x1c5414(0x2da)])!=null?_0x381f3a:_0x4bd6be;return(_0x3858e4=(_0x3720b6=(await this[_0x1c5414(0x149)][_0x1c5414(0x2dd)](_0xc9f74c,{'headers':{'Content-Type':_0x1c5414(0x24e)}}))[_0x1c5414(0x28e)])==null?void 0x0:_0x3720b6[_0x1c5414(0x31c)])!=null?_0x3858e4:'';}};nt=Tn([z(0x0,_0x502d14(_0x4c43ee)),z(0x1,_0x502d14(_0x23a096)),z(0x2,_0x37fa78),z(0x3,_0x2f4704),z(0x4,_0x24a807)],nt);const rt=0x7530,ot=_0x43bb79(0x19c);class Gn extends _0xf5cf87{constructor(){const _0x2b37f5=_0x43bb79;super(),h(this,_0x2b37f5(0x162),_0x3086f1()),h(this,_0x2b37f5(0x1d3),new Set()),h(this,_0x2b37f5(0x179),new Map()),h(this,_0x2b37f5(0x2ab),null),h(this,_0x2b37f5(0x2f5),new Map()),h(this,_0x2b37f5(0x2d5),new Map()),this[_0x2b37f5(0x300)]();}[_0x43bb79(0x1bb)](){const _0xbe9d=_0x43bb79;super[_0xbe9d(0x1bb)](),this[_0xbe9d(0x2f5)]['forEach']((_0x4bf2b2,_0x2786de)=>this[_0xbe9d(0x13d)](_0x2786de)),this['_heartbeatTimer']&&window[_0xbe9d(0x14d)](this[_0xbe9d(0x2ab)]);}[_0x43bb79(0x269)](_0x3228d1){const _0x4b37e1=_0x43bb79;return this['_ensureSubject'](_0x3228d1)[_0x4b37e1(0x2de)](_0x4d3ca7());}[_0x43bb79(0x330)](_0x15d6d3){const _0x2201c7=_0x43bb79;this[_0x2201c7(0x1d3)][_0x2201c7(0x293)]===0x0&&this[_0x2201c7(0x2d8)](),this['_selfUnitIDs'][_0x2201c7(0x338)](_0x15d6d3),this[_0x2201c7(0x225)]({'type':0x0,'memberID':this[_0x2201c7(0x162)],'unitIDs':[_0x15d6d3],'isForwarded':!0x1});}[_0x43bb79(0x16c)](_0x2d7667){const _0x26d1b9=_0x43bb79;this[_0x26d1b9(0x1d3)][_0x26d1b9(0x31a)](_0x2d7667),this['_selfUnitIDs'][_0x26d1b9(0x293)]===0x0&&this['_heartbeatTimer']&&window[_0x26d1b9(0x14d)](this[_0x26d1b9(0x2ab)]);}[_0x43bb79(0x300)](){const _0x163513=_0x43bb79;this['disposeWithMe'](_0x48818b(_0x3d6b41(window,_0x163513(0x1c4))[_0x163513(0x32a)](_0x29664e=>{const _0x50dd9a=_0x163513;if(_0x29664e[_0x50dd9a(0x2a7)]!==ot||!_0x29664e['newValue'])return;const _0x4c590e=JSON['parse'](_0x29664e[_0x50dd9a(0x286)]);this[_0x50dd9a(0x1e5)](_0x4c590e);}))),window[_0x163513(0x281)](_0x163513(0x29a),()=>this[_0x163513(0x225)]({'type':0x1,'memberID':this[_0x163513(0x162)],'unitIDs':Array[_0x163513(0x1aa)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x395597){const _0x570514=_0x43bb79;switch(_0x395597[_0x570514(0x33a)]){case 0x0:this[_0x570514(0x1c6)](_0x395597);break;case 0x1:this['_handleLeaveEvent'](_0x395597);break;case 0x2:this[_0x570514(0x1ff)](_0x395597);break;}}['_handleJoinEvent'](_0x1d8f55){const _0x13c850=_0x43bb79,{unitIDs:_0x498e00,memberID:_0x3633ad,isForwarded:_0x4afd7d}=_0x1d8f55;_0x498e00[_0x13c850(0x240)](_0x39515e=>{const _0x126d11=_0x13c850;if(!_0x4afd7d&&this[_0x126d11(0x179)][_0x126d11(0x1e3)](_0x39515e)&&this[_0x126d11(0x204)](_0x39515e)[_0x126d11(0x254)](_0xeea638[_0x126d11(0x13c)]),!this[_0x126d11(0x179)][_0x126d11(0x1e3)](_0x39515e)||!this[_0x126d11(0x179)][_0x126d11(0x2dd)](_0x39515e)[_0x126d11(0x1e3)](_0x3633ad)){const _0x4c6556=this[_0x126d11(0x179)][_0x126d11(0x2dd)](_0x39515e)||new Set();_0x4c6556['add'](_0x3633ad),this['_unitOnClients'][_0x126d11(0x28c)](_0x39515e,_0x4c6556),this[_0x126d11(0x195)](_0x3633ad);}}),_0x4afd7d||this[_0x13c850(0x225)]({'type':0x0,'memberID':this[_0x13c850(0x162)],'unitIDs':[...this[_0x13c850(0x1d3)]],'isForwarded':!0x0});}[_0x43bb79(0x195)](_0x213f7a){const _0x3dcf6d=_0x43bb79;this[_0x3dcf6d(0x13d)](_0x213f7a);const _0x2caec4=window[_0x3dcf6d(0x139)](()=>{const _0x3a70ee=_0x3dcf6d;this[_0x3a70ee(0x179)][_0x3a70ee(0x240)](_0x3a007d=>{const _0x1f7987=_0x3a70ee;_0x3a007d[_0x1f7987(0x31a)](_0x213f7a);});},rt*0x2);this[_0x3dcf6d(0x2f5)][_0x3dcf6d(0x28c)](_0x213f7a,_0x2caec4);}[_0x43bb79(0x13d)](_0x26b6db){const _0x3709b1=_0x43bb79;if(this[_0x3709b1(0x2f5)][_0x3709b1(0x1e3)](_0x26b6db)){const _0x613bc5=this['_clearOtherTimers'][_0x3709b1(0x2dd)](_0x26b6db);_0x613bc5&&window['clearTimeout'](_0x613bc5),this[_0x3709b1(0x2f5)][_0x3709b1(0x28c)](_0x26b6db,null);}}[_0x43bb79(0x29e)](_0x515453){const _0x3e81ff=_0x43bb79,{memberID:_0x44b332,unitIDs:_0x314bd0}=_0x515453;_0x314bd0[_0x3e81ff(0x240)](_0x4df404=>{const _0x6d2e37=_0x3e81ff;var _0x5490c5;const _0x20601d=this['_unitOnClients']['get'](_0x4df404);_0x20601d&&(_0x20601d[_0x6d2e37(0x31a)](_0x44b332),(_0x5490c5=this[_0x6d2e37(0x204)](_0x4df404))==null||_0x5490c5['next'](_0x20601d['size']===0x0?_0xeea638[_0x6d2e37(0x227)]:_0xeea638[_0x6d2e37(0x13c)]));}),this[_0x3e81ff(0x13d)](_0x44b332);}[_0x43bb79(0x1ff)](_0x5f941){const _0x1f0faf=_0x43bb79;this[_0x1f0faf(0x195)](_0x5f941[_0x1f0faf(0x2a0)]);}[_0x43bb79(0x225)](_0x1d4e45){const _0x422d2c=_0x43bb79;localStorage[_0x422d2c(0x1c2)](ot,JSON[_0x422d2c(0x243)](_0x1d4e45));}[_0x43bb79(0x2d8)](){const _0x1c1d17=_0x43bb79;this['_heartbeatTimer']=window[_0x1c1d17(0x2ed)](()=>{const _0x3a58e5=_0x1c1d17;this[_0x3a58e5(0x225)]({'type':0x2,'memberID':this[_0x3a58e5(0x162)]});},rt);}[_0x43bb79(0x204)](_0x278161){const _0x5141f1=_0x43bb79;return this['_unitStatus'][_0x5141f1(0x1e3)](_0x278161)||this[_0x5141f1(0x2d5)][_0x5141f1(0x28c)](_0x278161,new _0x4a6e6e(_0xeea638[_0x5141f1(0x227)])),this[_0x5141f1(0x2d5)][_0x5141f1(0x2dd)](_0x278161);}}var Ut=(_0x570189=>(_0x570189[_0x570189[_0x43bb79(0x244)]=0x0]=_0x43bb79(0x244),_0x570189[_0x570189['OK']=0x1]='OK',_0x570189[_0x570189[_0x43bb79(0x201)]=0x2]=_0x43bb79(0x201),_0x570189[_0x570189['PERMISSION_DENIED']=0x3]=_0x43bb79(0x26b),_0x570189[_0x570189[_0x43bb79(0x2c2)]=0x4]='NOT_FOUND',_0x570189[_0x570189['UNAUTHENTICATED']=0x5]=_0x43bb79(0x15d),_0x570189[_0x570189['ALREADY_EXISTS']=0x6]=_0x43bb79(0x1b9),_0x570189[_0x570189[_0x43bb79(0x238)]=0x7]=_0x43bb79(0x238),_0x570189[_0x570189['TOO_MANY_REQUESTS']=0x8]=_0x43bb79(0x30a),_0x570189[_0x570189['COMPLETION_FINISHED']=0x9]=_0x43bb79(0x15a),_0x570189[_0x570189['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x43bb79(0x310),_0x570189[_0x570189[_0x43bb79(0x15b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x570189[_0x570189[_0x43bb79(0x2e8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x570189[_0x570189[_0x43bb79(0x23e)]=0x1773]=_0x43bb79(0x23e),_0x570189[_0x570189[_0x43bb79(0x2aa)]=0x1b59]='APPLY_REJECT',_0x570189[_0x570189[_0x43bb79(0x19e)]=0x1b5a]=_0x43bb79(0x19e),_0x570189[_0x570189[_0x43bb79(0x138)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x570189[_0x570189[_0x43bb79(0x21f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x570189[_0x570189[_0x43bb79(0x258)]=0x1b5d]=_0x43bb79(0x258),_0x570189[_0x570189['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x43bb79(0x26f),_0x570189[_0x570189[_0x43bb79(0x28a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x570189[_0x570189['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x43bb79(0x2c7),_0x570189[_0x570189[_0x43bb79(0x18d)]=0x232b]=_0x43bb79(0x18d),_0x570189[_0x570189[_0x43bb79(0x1f1)]=0x232c]=_0x43bb79(0x1f1),_0x570189[_0x570189[_0x43bb79(0x308)]=0x232d]=_0x43bb79(0x308),_0x570189[_0x570189[_0x43bb79(0x299)]=0x2711]=_0x43bb79(0x299),_0x570189[_0x570189[_0x43bb79(0x152)]=0x2712]=_0x43bb79(0x152),_0x570189[_0x570189[_0x43bb79(0x291)]=0x2713]=_0x43bb79(0x291),_0x570189[_0x570189[_0x43bb79(0x289)]=0x2714]=_0x43bb79(0x289),_0x570189[_0x570189[_0x43bb79(0x2c3)]=0x2af9]=_0x43bb79(0x2c3),_0x570189[_0x570189[_0x43bb79(0x1f5)]=-0x1]='UNRECOGNIZED',_0x570189))(Ut||{}),Rn=Object[_0x43bb79(0x1af)],Dn=(_0x4d84e4,_0x38c852,_0x7b009c,_0x18b675)=>{const _0x108cc1=_0x43bb79;for(var _0x1ba7db=_0x18b675>0x1?void 0x0:_0x18b675?Rn(_0x38c852,_0x7b009c):_0x38c852,_0x4ce84a=_0x4d84e4[_0x108cc1(0x17a)]-0x1,_0x1316b2;_0x4ce84a>=0x0;_0x4ce84a--)(_0x1316b2=_0x4d84e4[_0x4ce84a])&&(_0x1ba7db=_0x1316b2(_0x1ba7db)||_0x1ba7db);return _0x1ba7db;},Te=(_0x1d377d,_0x52b0c3)=>(_0x1d0948,_0xf773ad)=>_0x52b0c3(_0x1d0948,_0xf773ad,_0x1d377d);let at=class extends _0xf5cf87{constructor(_0x30a155,_0x934f0e,_0x4125bd){const _0x44f851=_0x43bb79;super(),this[_0x44f851(0x1d0)]=_0x30a155,this[_0x44f851(0x149)]=_0x934f0e,this[_0x44f851(0x172)]=_0x4125bd;}async[_0x43bb79(0x18f)](_0xfabe9d,_0x2c4c46,_0x357142,..._0x499358){const _0x4d3bf1=_0x43bb79;var _0x4d4cd1,_0x2fa253,_0x25ca2c,_0x1fb31e;const _0x555ddc=this[_0x4d3bf1(0x1d0)][_0x4d3bf1(0x306)]();if(!_0x555ddc)throw new Error(_0x4d3bf1(0x285));const _0x19b8d2=((_0x4d4cd1=this['_configService'][_0x4d3bf1(0x192)](_0x220169))!=null?_0x4d4cd1:_0x1bf535)+'/'+_0xfabe9d+_0x4d3bf1(0x307)+_0x2c4c46,_0x240385=new URL(window['location']['href']),_0x2d6e9a={'scriptId':_0xfabe9d,'runId':(_0x2fa253=_0x240385[_0x4d3bf1(0x23a)][_0x4d3bf1(0x2dd)](_0x4d3bf1(0x1b0)))!=null?_0x2fa253:'','function':_0x2c4c46,'unitId':_0x555ddc[_0x4d3bf1(0x231)](),'argsOfFunction':JSON[_0x4d3bf1(0x243)](_0x499358),'invokeId':(_0x25ca2c=_0x357142[_0x4d3bf1(0x1df)])!=null?_0x25ca2c:'','executionId':(_0x1fb31e=_0x357142['executionId'])!=null?_0x1fb31e:''};try{const _0x3b9dec=await this[_0x4d3bf1(0x149)][_0x4d3bf1(0x24a)](_0x19b8d2,{'body':_0x2d6e9a});return _0x3b9dec[_0x4d3bf1(0x28e)]['error']&&_0x3b9dec[_0x4d3bf1(0x28e)][_0x4d3bf1(0x31e)][_0x4d3bf1(0x24d)]!==Ut['OK']?_0x4d3bf1(0x220):_0x3b9dec['body'][_0x4d3bf1(0x272)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x30bd00),Te(0x1,_0x502d14(_0x23a096)),Te(0x2,_0x37fa78)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x311aa1=_0x2134;(function(_0x3f59a0,_0x4c3ed5){const _0x574c2f=_0x2134,_0xea86c2=_0x3f59a0();while(!![]){try{const _0x3ecc88=parseInt(_0x574c2f(0xe9))/0x1*(-parseInt(_0x574c2f(0xf7))/0x2)+-parseInt(_0x574c2f(0xfc))/0x3*(parseInt(_0x574c2f(0xf4))/0x4)+parseInt(_0x574c2f(0xfd))/0x5+parseInt(_0x574c2f(0xe6))/0x6+-parseInt(_0x574c2f(0xec))/0x7*(parseInt(_0x574c2f(0xf6))/0x8)+-parseInt(_0x574c2f(0xf9))/0x9*(-parseInt(_0x574c2f(0xf1))/0xa)+parseInt(_0x574c2f(0xfb))/0xb;if(_0x3ecc88===_0x4c3ed5)break;else _0xea86c2['push'](_0xea86c2['shift']());}catch(_0x35d676){_0xea86c2['push'](_0xea86c2['shift']());}}}(_0x472e,0xb9ec8));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x311aa1(0xf8),'conflict':_0x311aa1(0xf0),'notCollab':_0x311aa1(0xe5),'synced':_0x311aa1(0xfe),'syncing':_0x311aa1(0xef),'offline':_0x311aa1(0xe7)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x311aa1(0xf5),'room-full':_0x311aa1(0xeb),'collaboration-timeout':_0x311aa1(0xee)},'conflict':{'title':_0x311aa1(0xe8),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x311aa1(0xed),'content':_0x311aa1(0xfa)},'collaboration':{'single-unit':{'warning':_0x311aa1(0xf2)},'closeRoom':_0x311aa1(0xf3)},'auth':{'needGotoLoginAlert':_0x311aa1(0xea)}};function _0x472e(){const _0x5d19e8=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','4kiXxQt','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','40ZnZQgr','2214952pAFEAa','Syncing\x20server\x20data...','4289418qKPjqo','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','18077257xncOYH','3993729jWXmIc','2790595dsemAt','Synced','Local\x20file','5120298EcTFjp','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Collaboration\x20Conflict','1KOBoxq','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1130962sxyvdg','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','Edit\x20conflicts','20fTDVup','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x472e=function(){return _0x5d19e8;};return _0x472e();}function _0x2134(_0x50c416,_0x25816d){const _0x472ecb=_0x472e();return _0x2134=function(_0x213469,_0x516218){_0x213469=_0x213469-0xe5;let _0x37ae81=_0x472ecb[_0x213469];return _0x37ae81;},_0x2134(_0x50c416,_0x25816d);}export{e as default};
1
+ const _0x29e1b8=_0x1898;function _0xa3c1(){const _0x4f4ac4=['Edit\x20conflicts','1622880QydzlB','361055NssFpr','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','10730360MmTaVU','Synced','9prutOT','258TSPQzZ','11aUQLZj','37606vqZzJp','Click\x20to\x20Reconnect','Connection\x20failed,\x20please\x20check\x20your\x20network.','96CsGnEK','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','5345968bnZOES','Collaboration\x20Conflict','55596790vKjYAT','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.','696101GoesdU'];_0xa3c1=function(){return _0x4f4ac4;};return _0xa3c1();}(function(_0x362253,_0x2b821a){const _0x3456d6=_0x1898,_0xdd0fa1=_0x362253();while(!![]){try{const _0x497e86=-parseInt(_0x3456d6(0x1f3))/0x1+-parseInt(_0x3456d6(0x1ff))/0x2*(parseInt(_0x3456d6(0x1fd))/0x3)+-parseInt(_0x3456d6(0x205))/0x4+parseInt(_0x3456d6(0x1f4))/0x5*(parseInt(_0x3456d6(0x202))/0x6)+parseInt(_0x3456d6(0x209))/0x7+-parseInt(_0x3456d6(0x1fa))/0x8*(parseInt(_0x3456d6(0x1fc))/0x9)+-parseInt(_0x3456d6(0x207))/0xa*(-parseInt(_0x3456d6(0x1fe))/0xb);if(_0x497e86===_0x2b821a)break;else _0xdd0fa1['push'](_0xdd0fa1['shift']());}catch(_0x31c420){_0xdd0fa1['push'](_0xdd0fa1['shift']());}}}(_0xa3c1,0xdaf05));function _0x1898(_0x4c0abf,_0x1883f4){const _0xa3c1b6=_0xa3c1();return _0x1898=function(_0x189879,_0x465c59){_0x189879=_0x189879-0x1f3;let _0x346da1=_0xa3c1b6[_0x189879];return _0x346da1;},_0x1898(_0x4c0abf,_0x1883f4);}const e={'collab-client':{'tooltip':{'reconnect':_0x29e1b8(0x200)}},'collabStatus':{'fetchMiss':_0x29e1b8(0x204),'conflict':_0x29e1b8(0x20a),'notCollab':'Local\x20file','synced':_0x29e1b8(0x1fb),'syncing':_0x29e1b8(0x1f9),'offline':_0x29e1b8(0x1f8)},'session':{'connection-failed':_0x29e1b8(0x201),'will-retry':_0x29e1b8(0x1f7),'room-full':_0x29e1b8(0x203),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x29e1b8(0x206),'content':_0x29e1b8(0x208)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x29e1b8(0x1f5)},'auth':{'needGotoLoginAlert':_0x29e1b8(0x1f6)}};export{e as default};
@@ -1 +1 @@
1
- const _0xa71e97=_0xd594;function _0x1902(){const _0x112b6a=['یک\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همکاری','1053iEHqCZ','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','خطای\x20اعتبارسنجی','17826ieyGpx','5fkLdyS','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','3514533JXEjAR','14YIlsnd','733444RrlFwa','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','212994usbmok','اعمال\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ویرایش','272892pECwCo','1448EsqtDJ','اتاق\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شوند.','1131400uYNLhe','6RIGsul'];_0x1902=function(){return _0x112b6a;};return _0x1902();}function _0xd594(_0x4a0e84,_0x1a6e5){const _0x1902fe=_0x1902();return _0xd594=function(_0xd59401,_0x5c63df){_0xd59401=_0xd59401-0x17f;let _0x221e3d=_0x1902fe[_0xd59401];return _0x221e3d;},_0xd594(_0x4a0e84,_0x1a6e5);}(function(_0x339e6d,_0xa42b01){const _0x13097f=_0xd594,_0xc8c99a=_0x339e6d();while(!![]){try{const _0x306875=parseInt(_0x13097f(0x188))/0x1*(-parseInt(_0x13097f(0x18f))/0x2)+parseInt(_0x13097f(0x180))/0x3+parseInt(_0x13097f(0x194))/0x4*(parseInt(_0x13097f(0x190))/0x5)+parseInt(_0x13097f(0x183))/0x6*(parseInt(_0x13097f(0x193))/0x7)+-parseInt(_0x13097f(0x184))/0x8*(-parseInt(_0x13097f(0x18c))/0x9)+parseInt(_0x13097f(0x187))/0xa+-parseInt(_0x13097f(0x192))/0xb;if(_0x306875===_0xa42b01)break;else _0xc8c99a['push'](_0xc8c99a['shift']());}catch(_0x4f71ae){_0xc8c99a['push'](_0xc8c99a['shift']());}}}(_0x1902,0x1a0a3));const o={'collab-client':{'tooltip':{'reconnect':_0xa71e97(0x191)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0xa71e97(0x182),'notCollab':_0xa71e97(0x18a),'synced':'همگام\x20سازی','syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0xa71e97(0x17f),'room-full':_0xa71e97(0x185),'collaboration-timeout':_0xa71e97(0x186)},'conflict':{'title':_0xa71e97(0x18b),'content':_0xa71e97(0x189)},'permission':{'title':_0xa71e97(0x18e),'content':_0xa71e97(0x181)},'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':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0xa71e97(0x18d)}};export{o as default};
1
+ const _0x542510=_0x3980;function _0x3980(_0x771f36,_0x24eb03){const _0x16e5bf=_0x16e5();return _0x3980=function(_0x3980ee,_0x537138){_0x3980ee=_0x3980ee-0x1ae;let _0x9d69c2=_0x16e5bf[_0x3980ee];return _0x9d69c2;},_0x3980(_0x771f36,_0x24eb03);}(function(_0x3cade8,_0x44ad09){const _0x13c94f=_0x3980,_0x2ef39a=_0x3cade8();while(!![]){try{const _0x409d27=parseInt(_0x13c94f(0x1c2))/0x1*(parseInt(_0x13c94f(0x1af))/0x2)+parseInt(_0x13c94f(0x1be))/0x3*(parseInt(_0x13c94f(0x1b6))/0x4)+parseInt(_0x13c94f(0x1c5))/0x5+-parseInt(_0x13c94f(0x1c1))/0x6*(-parseInt(_0x13c94f(0x1c3))/0x7)+parseInt(_0x13c94f(0x1b4))/0x8+parseInt(_0x13c94f(0x1b9))/0x9*(-parseInt(_0x13c94f(0x1ba))/0xa)+parseInt(_0x13c94f(0x1bc))/0xb*(-parseInt(_0x13c94f(0x1b0))/0xc);if(_0x409d27===_0x44ad09)break;else _0x2ef39a['push'](_0x2ef39a['shift']());}catch(_0x1576fd){_0x2ef39a['push'](_0x2ef39a['shift']());}}}(_0x16e5,0xe0b4b));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x542510(0x1c4),'conflict':'تداخل\x20ویرایش','notCollab':_0x542510(0x1b5),'synced':_0x542510(0x1b3),'syncing':_0x542510(0x1b8),'offline':_0x542510(0x1b1)},'session':{'connection-failed':_0x542510(0x1b2),'will-retry':_0x542510(0x1b7),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x542510(0x1bb)},'conflict':{'title':_0x542510(0x1c0),'content':_0x542510(0x1ae)},'permission':{'title':_0x542510(0x1c6),'content':_0x542510(0x1bd)},'collaboration':{'single-unit':{'warning':_0x542510(0x1bf)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x16e5(){const _0x30ff45=['اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی','1128056iQdWmo','پرونده\x20محلی','4xaSmqV','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','در\x20حال\x20همگام\x20سازی...','509679qPlidY','260NevnZM','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','2903351DnuhcA','اعمال\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رفت.','4338351oDZxJM','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20همکاری','1624404TElgja','2089WQzWHi','14NzvhGv','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','3344200rGSZRc','خطای\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رفت.','118WCnfpu','24AyUYxK','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'];_0x16e5=function(){return _0x30ff45;};return _0x16e5();}export{o as default};