@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504141607 → 0.6.10-nightly.202504151606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x306380=_0x5f42;(function(_0x2b6f05,_0x43984d){const _0x5a9fb4=_0x5f42,_0x2d0284=_0x2b6f05();while(!![]){try{const _0x62b7d=parseInt(_0x5a9fb4(0x150))/0x1+parseInt(_0x5a9fb4(0x2ce))/0x2+-parseInt(_0x5a9fb4(0x258))/0x3*(parseInt(_0x5a9fb4(0x2b3))/0x4)+-parseInt(_0x5a9fb4(0x2bd))/0x5+parseInt(_0x5a9fb4(0x24c))/0x6*(parseInt(_0x5a9fb4(0x10a))/0x7)+-parseInt(_0x5a9fb4(0x189))/0x8+parseInt(_0x5a9fb4(0x1a9))/0x9;if(_0x62b7d===_0x43984d)break;else _0x2d0284['push'](_0x2d0284['shift']());}catch(_0x19340a){_0x2d0284['push'](_0x2d0284['shift']());}}}(_0x4b50,0xa7062));var Bt=Object[_0x306380(0xfd)],kt=(_0x131475,_0x4609d0,_0xcd055b)=>_0x4609d0 in _0x131475?Bt(_0x131475,_0x4609d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcd055b}):_0x131475[_0x4609d0]=_0xcd055b,_=(_0x5cf098,_0x574a31,_0x281220)=>kt(_0x5cf098,typeof _0x574a31!=_0x306380(0x27c)?_0x574a31+'':_0x574a31,_0x281220);import{MemberService as _0x58ec07,SessionStatus as _0x4739f2,CollaborationSessionService as _0x3f2fe9,CollaborationStatus as _0x344fd8,CollaborationController as _0x354dfa,ILocalCacheService as _0x2f27fe,CollaborationUIEventService as _0x27dc93,CollaborationUIEventId as _0x5532f5,DataLoaderService as _0x2f7e52,DocCollaborationEntity as _0x530020,getLocalCacheKey as _0x1ae124,LOCAL_CACHE_INTERVAL as _0xc97530,LOCAL_CACHE_INTERVAL_KEY as _0x4ab531,UniverCollaborationClientPlugin as _0x5bbdcb,CollaborationSocketService as _0x1b0c2c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x533465,DEFAULT_WS_SESSION_TICKET_URL as _0xa647e2,UnitStatus as _0x26192f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c2332,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1238ce}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x105c1b,Disposable as _0x212855,DOC_RANGE_TYPE as _0x56ed71,Inject as _0x3afd9e,Injector as _0x4b117,IUniverInstanceService as _0x5f5751,ICommandService as _0x459a93,debounce as _0xbbae5d,Rectangle as _0x507ca4,DisposableCollection as _0x5a6464,toDisposable as _0x360a92,UniverInstanceType as _0x1cd4b1,Tools as _0x322f9c,COLORS as _0x295266,ColorKit as _0x424f5f,ThemeService as _0x5a99a8,fromEventSubject as _0x18902a,LocaleService as _0x4d2fab,createIdentifier as _0x59fe85,ILogService as _0x3120e3,Optional as _0x1c9169,Workbook as _0x2e84fd,CommandType as _0x1846a2,IConfigService as _0xc0ea31,ILocalStorageService as _0x5971f0,DependentOn as _0x20d232,Plugin as _0x90d560,merge as _0x2d7b3e,registerDependencies as _0x1e658b,mergeOverrideWithDependencies as _0x3021db,touchDependencies as _0x2f0202,generateRandomId as _0xe28911}from'@univerjs/core';import{Shape as _0x4f35e0,Rect as _0x5327b6,getColor as _0x225e7c,RegularPolygon as _0x5b3fa0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5ed841,Vector2 as _0x53eff0,SHEET_VIEWPORT_KEY as _0x591dad,IRenderManagerService as _0x177c33}from'@univerjs/engine-render';import{ISocketService as _0x1c152f,WebSocketService as _0x1ad0bd,HTTPService as _0x6f80c5}from'@univerjs/network';import{IDocClipboardService as _0x137d1b,NodePositionConvertToCursor as _0x5dc671,NodePositionConvertToRectRange as _0x1cf8c7,TEXT_RANGE_LAYER_INDEX as _0x26434a,SetDocZoomRatioOperation as _0x4f7111,DocIMEInputManagerService as _0x369c07,DocStateChangeManagerService as _0x3d861c}from'@univerjs/docs-ui';import{IImageIoService as _0x189d5f}from'@univerjs/drawing';import{BehaviorSubject as _0x39027c,debounceTime as _0x4994e9,takeUntil as _0x49b09f,Subject as _0x33a3b3,filter as _0xf328a7,switchMap as _0x3181cc,merge as _0x28bbdf,combineLatest as _0x2619b0,of as _0x5bba0d,fromEvent as _0x1b2312,shareReplay as _0x51a7e2,mapTo as _0x33a373,distinctUntilChanged as _0x26e109}from'rxjs';import{SetTextSelectionsOperation as _0x13c439,RichTextEditingMutation as _0xfd7e7b,DocSelectionManagerService as _0x512101,DocSkeletonManagerService as _0x23a42f}from'@univerjs/docs';import{ITransformService as _0x7bf59f,CollaborationEvent as _0x16c4e7,isTransformMutationFailure as _0x321bf4,isTransformMutationsWithChangesetSuccess as _0x2157ba,RevisionService as _0x15ca61,ISnapshotServerService as _0x11ed14}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4ec294,serializeRangeWithSheet as _0x39053c}from'@univerjs/engine-formula';import{RefRangeService as _0x3fd995,SetSelectionsOperation as _0x776421,SheetsSelectionsService as _0x150107,EffectRefRangId as _0xc1ea65,handleIRemoveRow as _0x195556,handleIRemoveCol as _0x1e0c6d,handleMoveRange as _0x1eb516,handleInsertRow as _0x3b7722,handleInsertRangeMoveRight as _0x4e2884,handleInsertRangeMoveDown as _0x5f221d,handleInsertCol as _0x48cddb,handleDeleteRangeMoveUp as _0x123231,handleDeleteRangeMoveLeft as _0x34b7ca,runRefRangeMutations as _0x5d7082,SetWorksheetActivateCommand as _0x481dfe}from'@univerjs/sheets';import{map as _0x30e61e,filter as _0x11ec65,throttleTime as _0x1f4720,takeUntil as _0x5ae3f6,switchMap as _0x58e5da}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3e80f5,getCoordByCell as _0x5d8da6,getSheetObject as _0x1912c1}from'@univerjs/sheets-ui';import{jsx as _0x436a04,jsxs as _0x233a53}from'react/jsx-runtime';import{useObservable as _0x17463e,useDependency as _0x9b66f4,IUIPartsService as _0x294510,BuiltInUIPart as _0x567b99,connectInjector as _0x3afacf,IBeforeCloseService as _0xee54a5,IMessageService as _0x555e39,INotificationService as _0x278379}from'@univerjs/ui';import{clsx as _0x1fe989,Tooltip as _0x177b87,MessageType as _0x172d80}from'@univerjs/design';import{forwardRef as _0xce2410,useRef as _0x5407f6,createElement as _0x58e742,useCallback as _0x277056}from'react';import{IRemoteInstanceService as _0x33cba8}from'@univerjs/rpc';var li=Object[_0x306380(0x295)],_i=(_0x9f0370,_0x23a242,_0x385083,_0x451fd2)=>{const _0x30438d=_0x306380;for(var _0x1f4049=_0x451fd2>0x1?void 0x0:_0x451fd2?li(_0x23a242,_0x385083):_0x23a242,_0x1349a2=_0x9f0370[_0x30438d(0x2e0)]-0x1,_0x4153d4;_0x1349a2>=0x0;_0x1349a2--)(_0x4153d4=_0x9f0370[_0x1349a2])&&(_0x1f4049=_0x4153d4(_0x1f4049)||_0x1f4049);return _0x1f4049;},Qe=(_0x251118,_0xa631c4)=>(_0x1eca0a,_0x55301d)=>_0xa631c4(_0x1eca0a,_0x55301d,_0x251118);let Me=class extends _0x105c1b{constructor(_0x5a20fc,_0x16c35a){const _0x4177a6=_0x306380;super(),this['_docClipboardService']=_0x5a20fc,this['_imageIoService']=_0x16c35a,this[_0x4177a6(0x18a)]();}[_0x306380(0x18a)](){const _0x36585b=_0x306380,_0x5cfa00=this;this['disposeWithMe'](this['_docClipboardService'][_0x36585b(0x22e)]({'onBeforePasteImage':async _0x2c3a1f=>{const _0x5a852a=_0x36585b,_0x1e4444=await _0x5cfa00['_imageIoService']['saveImage'](_0x2c3a1f);return _0x1e4444?{'source':_0x1e4444[_0x5a852a(0x1ad)],'imageSourceType':_0x1e4444[_0x5a852a(0x2e8)]}:null;}}));}};Me=_i([Qe(0x0,_0x137d1b),Qe(0x1,_0x189d5f)],Me);const qe=[_0x306380(0x2d0),_0x306380(0x15f),_0x306380(0x252),'red300',_0x306380(0x166),'gold400'];class He extends _0x212855{constructor(){const _0xdea3fd=_0x306380;super(...arguments),_(this,_0xdea3fd(0x18f),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x593853){const _0x939159=_0x306380;if(this[_0x939159(0x18f)][_0x939159(0x291)](_0x593853))return this[_0x939159(0x18f)][_0x939159(0x1b8)](_0x593853);const _0x13a6bd=qe[this[_0x939159(0x2f2)]];return this[_0x939159(0x2f2)]=(this[_0x939159(0x2f2)]+0x1)%qe['length'],this[_0x939159(0x18f)]['set'](_0x593853,_0x13a6bd),_0x13a6bd;}}function Dt(_0x283dda){const _0x10df53=_0x306380;let _0xc66af3='';for(const _0xbe55cb of _0x283dda){const {startOffset:_0x47a69e,endOffset:_0x54f787,isActive:_0xebc776,rangeType:_0x22cacb,segmentId:_0x8e1e03,segmentPage:_0x4ab185}=_0xbe55cb;_0xc66af3[_0x10df53(0x2e0)]&&(_0xc66af3+=','),_0xc66af3+=_0x47a69e+':'+_0x54f787+':'+(_0xebc776?'1':'0')+':'+_0x22cacb+':'+_0x8e1e03+':'+_0x4ab185;}return _0xc66af3;}function hi(_0x1cd2af){const _0x3b127e=_0x306380,_0x58d181=_0x1cd2af[_0x3b127e(0x13a)](','),_0x454546=[];for(const _0x132e72 of _0x58d181){const [_0x29996a,_0x43277a,_0x1dcc91,_0xd5aadc,_0x5cd95c,_0x3357a0]=_0x132e72[_0x3b127e(0x13a)](':');_0x454546[_0x3b127e(0x11e)]({'startOffset':Number(_0x29996a),'endOffset':Number(_0x43277a),'collapsed':_0x29996a===_0x43277a,'isActive':_0x1dcc91==='1','rangeType':_0xd5aadc===_0x56ed71[_0x3b127e(0x1ed)]?_0x56ed71[_0x3b127e(0x1ed)]:_0x56ed71[_0x3b127e(0x1d3)],'segmentId':typeof _0x5cd95c==_0x3b127e(0x29b)?String(_0x5cd95c):'','segmentPage':Number(_0x3357a0!=null?_0x3357a0:-0x1)});}return _0x454546['some'](_0x3c2043=>_0x3c2043[_0x3b127e(0x15e)])||(_0x454546[0x0][_0x3b127e(0x15e)]=!0x0),_0x454546;}class je extends _0x105c1b{constructor(){const _0x466eef=_0x306380;super(...arguments),_(this,_0x466eef(0x12f),new _0x39027c(null)),_(this,_0x466eef(0x107),this[_0x466eef(0x12f)][_0x466eef(0x2af)]());}[_0x306380(0x210)](_0x413cd0){const _0x29af09=_0x306380,{unitID:_0x31990b,memberID:_0x578f77,textRanges:_0x2b3b27}=_0x413cd0,_0x2196bd=Dt(_0x2b3b27);if(_0x2196bd==='')return;const _0x33a069={'unitID':_0x31990b,'memberID':_0x578f77,'selection':_0x2196bd};this[_0x29af09(0x12f)][_0x29af09(0x157)](_0x33a069);}}var ui=Object[_0x306380(0x295)],di=(_0x3b586f,_0x5414f4,_0xb81e14,_0x5646e2)=>{const _0x537366=_0x306380;for(var _0x556555=_0x5646e2>0x1?void 0x0:_0x5646e2?ui(_0x5414f4,_0xb81e14):_0x5414f4,_0x55fb8e=_0x3b586f[_0x537366(0x2e0)]-0x1,_0x304b2e;_0x55fb8e>=0x0;_0x55fb8e--)(_0x304b2e=_0x3b586f[_0x55fb8e])&&(_0x556555=_0x304b2e(_0x556555)||_0x556555);return _0x556555;},U=(_0x4d32f9,_0x1a6e15)=>(_0x5127f5,_0x142c25)=>_0x1a6e15(_0x5127f5,_0x142c25,_0x4d32f9);const fi=0x12c,Si=0x64;let Pe=class extends _0x105c1b{constructor(_0x3a6867,_0x3e8cfe,_0x57848c,_0x2f839f,_0xc54b9,_0x39d743,_0x1efd33,_0x1da787,_0x57ff2c){const _0x12dd66=_0x306380;super(),_(this,_0x12dd66(0x22f),!0x1),_(this,'_init',!0x1),_(this,_0x12dd66(0x140),new _0x39027c(new Map())),_(this,_0x12dd66(0x172),this[_0x12dd66(0x140)][_0x12dd66(0x2af)]()),_(this,_0x12dd66(0x16f),new _0x39027c([])),_(this,_0x12dd66(0x243),this[_0x12dd66(0x16f)][_0x12dd66(0x17b)](_0x4994e9(fi))),_(this,_0x12dd66(0xf7),_0xbbae5d(_0x423499=>{const _0x53627a=_0x12dd66,_0x50cc7a={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this[_0x53627a(0x1ea)],'memberID':this[_0x53627a(0x161)]['getMemberID'](),'selection':Dt(_0x423499)}};this[_0x53627a(0x161)][_0x53627a(0x174)](_0x50cc7a,this[_0x53627a(0x1ea)]);},Si)),(this['unitID']=_0x3a6867,this['_session']=_0x3e8cfe,this['_injector']=_0x57848c,this[_0x12dd66(0x239)]=_0x2f839f,this['_memberService']=_0xc54b9,this[_0x12dd66(0xfb)]=_0x39d743,this[_0x12dd66(0x23b)]=_0x1efd33,this[_0x12dd66(0x1e8)]=_0x1da787,this['_commandService']=_0x57ff2c);}get['cursorInfo'](){const _0x1223b6=_0x306380;return this['_cursorInfo$'][_0x1223b6(0x242)]();}get[_0x306380(0x2be)](){const _0x473f83=_0x306380;return this[_0x473f83(0x16f)][_0x473f83(0x242)]();}['dispose'](){const _0x372c68=_0x306380;super[_0x372c68(0x211)](),this[_0x372c68(0x140)][_0x372c68(0x157)](new Map()),this['_cursorInfo$'][_0x372c68(0x191)](),this['_roomMembers$'][_0x372c68(0x157)]([]),this[_0x372c68(0x16f)]['complete']();}['init'](){const _0xa8c786=_0x306380;this[_0xa8c786(0x18a)]||(this[_0xa8c786(0x18a)]=!0x0,this['_session'][_0xa8c786(0x11d)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x1fd76a=>{const _0x8d2d82=_0xa8c786;_0x1fd76a===_0x4739f2[_0x8d2d82(0x2b2)]?this[_0x8d2d82(0x114)]():this[_0x8d2d82(0x118)]();}),this['_session'][_0xa8c786(0x1e9)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x14eec4=>{const _0x5eb650=_0xa8c786,_0x1070ef=_0x14eec4[_0x5eb650(0x253)];_0x1070ef===_0x16c4e7[_0x5eb650(0x224)]&&this['_onCursorUpdate'](_0x14eec4),_0x1070ef===_0x16c4e7[_0x5eb650(0x1fb)]&&this['_onCursorDelete'](_0x14eec4);}),this[_0xa8c786(0x1a6)](this['_commandService']['onCommandExecuted'](_0x309962=>{const _0x587603=_0xa8c786,_0x336373=_0x309962[_0x587603(0x18c)];_0x336373!=null&&this[_0x587603(0x22f)]&&_0x309962['id']===_0x13c439['id']&&_0x336373['unitId']===this[_0x587603(0x1ea)]&&_0x336373[_0x587603(0x1ce)]===!0x1&&_0x336373[_0x587603(0x25d)]['length']>0x0&&this[_0x587603(0xf7)](_0x336373[_0x587603(0x25d)]);})),this[_0xa8c786(0xfb)][_0xa8c786(0x107)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x225f2e=>{const _0x35255f=_0xa8c786;if((_0x225f2e==null?void 0x0:_0x225f2e['unitID'])!==this[_0x35255f(0x1ea)])return;const _0x2dbf46={'eventID':_0x16c4e7[_0x35255f(0x224)],'data':_0x225f2e};this[_0x35255f(0x165)](_0x2dbf46);}),this['disposeWithMe'](this[_0xa8c786(0x179)][_0xa8c786(0x287)](_0x1e16ec=>{const _0x3920b1=_0xa8c786;if(_0x1e16ec[_0x3920b1(0x18c)]==null)return;const _0xa60090=_0x1e16ec[_0x3920b1(0x18c)];if(_0x1e16ec['id']!==_0xfd7e7b['id']||_0xa60090[_0x3920b1(0x1f1)]!==this['unitID'])return;const _0x1e47f6={'id':_0x3920b1(0x117),'params':_0xa60090},_0x756dd9=this['cursorInfo'];for(const [_0x2bf78e,_0x13a282]of _0x756dd9){const _0x57a166={'id':_0x3920b1(0x117),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x13a282['ranges']}},_0x307e3c=this['_transformService']['transformMutation'](_0x1e47f6,_0x57a166,!0x1);if(_0x321bf4(_0x307e3c))throw _0x307e3c[_0x3920b1(0x282)];_0x756dd9[_0x3920b1(0x1d4)](_0x2bf78e,{..._0x13a282,'ranges':_0x307e3c[_0x3920b1(0x137)][_0x3920b1(0x18c)][_0x3920b1(0x204)]});}queueMicrotask(()=>{const _0x15658d=_0x3920b1;this['_cursorInfo$'][_0x15658d(0x157)](_0x756dd9);});})));}[_0x306380(0x165)](_0x26c1b9){const _0x289f7d=_0x306380;var _0xa41783,_0x1148ac;const {memberID:_0x591965,selection:_0x23c153}=_0x26c1b9['data'],_0x1bf309=hi(_0x23c153),_0x5a47ca=(_0x1148ac=(_0xa41783=this['_memberService']['getMember'](this['unitID'],_0x591965))==null?void 0x0:_0xa41783['name'])!=null?_0x1148ac:_0x289f7d(0x2df),_0x2a8c63={'color':this[_0x289f7d(0x239)][_0x289f7d(0x10b)](_0x591965),'name':_0x5a47ca,'ranges':_0x1bf309},_0x41f7de=this[_0x289f7d(0x24e)];_0x41f7de[_0x289f7d(0x1d4)](_0x591965,_0x2a8c63),this[_0x289f7d(0x140)][_0x289f7d(0x157)](_0x41f7de);}['_onCursorDelete'](_0x52d56b){const _0x25366c=_0x306380,{memberID:_0xdde4c}=_0x52d56b[_0x25366c(0x220)],_0x48eb00=this[_0x25366c(0x24e)];_0x48eb00[_0x25366c(0x1ae)](_0xdde4c),this[_0x25366c(0x140)][_0x25366c(0x157)](_0x48eb00);}[_0x306380(0x114)](){const _0x4a9997=_0x306380;var _0x47c3d4;if(this[_0x4a9997(0x22f)]=!0x0,((_0x47c3d4=this[_0x4a9997(0x1e8)][_0x4a9997(0x2d3)]())==null?void 0x0:_0x47c3d4[_0x4a9997(0x2a6)]())!==this['unitID'])return;const _0x1d5f81=this[_0x4a9997(0x1b9)][_0x4a9997(0x1b8)](_0x512101)['getDocRanges']();Array[_0x4a9997(0x2cf)](_0x1d5f81)&&_0x1d5f81['length']>0x0&&this[_0x4a9997(0xf7)](_0x1d5f81);}['_toggleOffline'](){const _0xa39840=_0x306380;this[_0xa39840(0x22f)]=!0x1;}};Pe=di([U(0x2,_0x3afd9e(_0x4b117)),U(0x3,_0x3afd9e(He)),U(0x4,_0x3afd9e(_0x58ec07)),U(0x5,_0x3afd9e(je)),U(0x6,_0x7bf59f),U(0x7,_0x5f5751),U(0x8,_0x459a93)],Pe);var mi=Object[_0x306380(0x295)],gi=(_0x32ef9d,_0x5447d1,_0x18cf65,_0x4e2c90)=>{const _0x353a9b=_0x306380;for(var _0x5e8a3d=_0x4e2c90>0x1?void 0x0:_0x4e2c90?mi(_0x5447d1,_0x18cf65):_0x5447d1,_0x197fa9=_0x32ef9d[_0x353a9b(0x2e0)]-0x1,_0x47db28;_0x197fa9>=0x0;_0x197fa9--)(_0x47db28=_0x32ef9d[_0x197fa9])&&(_0x5e8a3d=_0x47db28(_0x5e8a3d)||_0x5e8a3d);return _0x5e8a3d;},x=(_0x119f80,_0x13ab02)=>(_0x195e81,_0x5e9b04)=>_0x13ab02(_0x195e81,_0x5e9b04,_0x119f80);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4e1dac=[],_0x5eec4b=!0x1;return _0x5a5050=>{const _0xd61343=_0x5f42;_0x4e1dac[_0xd61343(0x11e)](_0x5a5050),_0x5eec4b||(_0x5eec4b=!0x0,setTimeout(()=>{const _0x22c38d=_0xd61343;_0x4e1dac[_0x22c38d(0x159)](_0x1b75ad=>_0x1b75ad()),_0x4e1dac=[],_0x5eec4b=!0x1;}));};};let we=class extends _0x105c1b{constructor(_0x4576e4,_0x3ead83,_0x4915c1,_0x4b4eb4,_0x4046d6,_0x3fa45b,_0x47cab6,_0x6df795){const _0x225d77=_0x306380;super(),_(this,_0x225d77(0x22f),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x39027c(new Map())),_(this,_0x225d77(0x172),this[_0x225d77(0x140)][_0x225d77(0x2af)]()),_(this,'_roomMembers$',new _0x39027c([])),_(this,_0x225d77(0x243),this[_0x225d77(0x16f)]['pipe'](_0x4994e9(vi))),_(this,_0x225d77(0xf7),_0xbbae5d((_0x303898,_0x396be6)=>{const _0x31388b=_0x225d77,_0x51bfed={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x31388b(0x161)][_0x31388b(0x1bf)](),'selection':_0x39053c(_0x303898,_0x396be6[_0x31388b(0x143)])}};this[_0x31388b(0x161)]['send'](_0x51bfed,this[_0x31388b(0x1ea)]);},Ii)),(this[_0x225d77(0x1ea)]=_0x4576e4,this[_0x225d77(0x161)]=_0x3ead83,this[_0x225d77(0x1b9)]=_0x4915c1,this['_colorAssignService']=_0x4b4eb4,this[_0x225d77(0x2d2)]=_0x4046d6,this[_0x225d77(0x1e8)]=_0x3fa45b,this['_commandService']=_0x47cab6,this[_0x225d77(0x23e)]=_0x6df795);}get[_0x306380(0x24e)](){return this['_cursorInfo$']['getValue']();}get[_0x306380(0x2be)](){const _0xc22387=_0x306380;return this[_0xc22387(0x16f)][_0xc22387(0x242)]();}[_0x306380(0x211)](){const _0x276cf6=_0x306380;super[_0x276cf6(0x211)](),this[_0x276cf6(0x140)][_0x276cf6(0x157)](new Map()),this[_0x276cf6(0x140)]['complete'](),this[_0x276cf6(0x16f)]['next']([]),this[_0x276cf6(0x16f)][_0x276cf6(0x191)]();}[_0x306380(0x25e)](){const _0x584d5b=_0x306380;this['_init']||(this[_0x584d5b(0x18a)]=!0x0,this['_session'][_0x584d5b(0x11d)]['pipe'](_0x49b09f(this[_0x584d5b(0x2cb)]))[_0x584d5b(0x126)](_0x31ff86=>{_0x31ff86===_0x4739f2['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x584d5b(0x161)][_0x584d5b(0x1e9)][_0x584d5b(0x17b)](_0x49b09f(this['dispose$']))['subscribe'](_0x52a06d=>{const _0x168465=_0x584d5b,_0x35ee7e=_0x52a06d['eventID'];_0x35ee7e===_0x16c4e7[_0x168465(0x224)]&&this[_0x168465(0x165)](_0x52a06d),_0x35ee7e===_0x16c4e7[_0x168465(0x1fb)]&&this['_onCursorDelete'](_0x52a06d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x584d5b(0x287)](_0x5a1c99=>{const _0x4e323c=_0x584d5b;if(this['_online']&&_0x5a1c99['id']===_0x776421['id']&&_0x5a1c99[_0x4e323c(0x18c)][_0x4e323c(0x1f1)]===this[_0x4e323c(0x1ea)]){const _0x57394c=_0x5a1c99[_0x4e323c(0x18c)];this['_updateLocalCursor'](_0x57394c[_0x4e323c(0x2ea)],_0x57394c[_0x4e323c(0x1c9)][0x0]);}})));}[_0x306380(0x165)](_0x403bb0){const _0x562fcb=_0x306380;var _0x23619e,_0x4c755b;const {memberID:_0xbf9057,selection:_0x225068}=_0x403bb0['data'],{sheetName:_0x2fc6f9,range:_0x31c163}=_0x4ec294(_0x225068),_0x5d70d2={'name':(_0x4c755b=(_0x23619e=this[_0x562fcb(0x2d2)][_0x562fcb(0x14a)](this[_0x562fcb(0x1ea)],_0xbf9057))==null?void 0x0:_0x23619e[_0x562fcb(0x147)])!=null?_0x4c755b:_0x562fcb(0x2df),'range':this[_0x562fcb(0x1d5)](_0x2fc6f9,_0x31c163),'sheetID':_0x2fc6f9,'color':this['_colorAssignService'][_0x562fcb(0x10b)](_0xbf9057),'selection':_0x225068},_0x3ac67a=this[_0x562fcb(0x24e)];_0x3ac67a[_0x562fcb(0x1d4)](_0xbf9057,_0x5d70d2),this['_cursorInfo$'][_0x562fcb(0x157)](_0x3ac67a);}['_onCursorDelete'](_0x5a5a88){const _0x4f6163=_0x306380,{memberID:_0x3546d6}=_0x5a5a88[_0x4f6163(0x220)],_0x33c606=this[_0x4f6163(0x24e)];_0x33c606[_0x4f6163(0x1ae)](_0x3546d6),this[_0x4f6163(0x140)][_0x4f6163(0x157)](_0x33c606);}[_0x306380(0x1d5)](_0x3edcd5,_0x4d991a){const _0x53363b=_0x306380;var _0x1e9c6b,_0x324fec;const _0x159f43=(_0x324fec=(_0x1e9c6b=this[_0x53363b(0x1e8)][_0x53363b(0x108)](this[_0x53363b(0x1ea)]))==null?void 0x0:_0x1e9c6b[_0x53363b(0x288)](_0x3edcd5))==null?void 0x0:_0x324fec['getMergeData']();return(_0x159f43==null?void 0x0:_0x159f43['find'](_0x49f230=>_0x507ca4[_0x53363b(0x276)](_0x49f230,_0x4d991a)))||_0x4d991a;}[_0x306380(0x129)](){const _0x328cd2=_0x306380,_0x2f848b=new _0x5a6464(),_0x1469d4=pi(),_0x1537b1=()=>{const _0x2a44dc=_0x5f42;_0x2f848b['dispose']();const _0x244a01=(_0x4391b9,_0x575005,_0x1494a3,_0x21a93b)=>{const _0x1fbec3=_0x5f42;let _0x529158=[];switch(_0x4391b9['id']){case _0xc1ea65[_0x1fbec3(0x2e5)]:{_0x529158=_0x34b7ca(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x15a)]:{_0x529158=_0x123231(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x262)]:{_0x529158=_0x48cddb(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1fe)]:{_0x529158=_0x5f221d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['InsertRangeMoveRightCommandId']:{_0x529158=_0x4e2884(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x2b4)]:{_0x529158=_0x3b7722(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1dc)]:{_0x529158=_0x1eb516(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveColCommandId']:{_0x529158=_0x1e0c6d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveRowCommandId']:{_0x529158=_0x195556(_0x4391b9,_0x21a93b);break;}}const _0x26eb8c=_0x5d7082(_0x529158,_0x21a93b),_0x2e5531=this[_0x1fbec3(0x24e)][_0x1fbec3(0x1b8)](_0x575005);if(_0x2e5531&&_0x26eb8c){const _0x2fc3a0={..._0x2e5531,'range':_0x26eb8c};this[_0x1fbec3(0x24e)][_0x1fbec3(0x1d4)](_0x575005,_0x2fc3a0),_0x1469d4(()=>{const _0x427444=_0x1fbec3,_0x2d719d=this[_0x427444(0x23e)]['registerRefRange'](_0x26eb8c,_0x15c90a=>(_0x2d719d[_0x427444(0x211)](),_0x244a01(_0x15c90a,_0x575005,_0x1494a3,_0x26eb8c)));_0x2f848b[_0x427444(0x184)](_0x2d719d);});}return{'redos':[],'undos':[]};};this[_0x2a44dc(0x24e)][_0x2a44dc(0x159)]((_0x2cb3bd,_0x5817b9)=>{const _0x4fb849=_0x2a44dc,{range:_0x34fbcd,sheetID:_0x5f4fb7}=_0x2cb3bd,_0x230a9c=this[_0x4fb849(0x23e)][_0x4fb849(0x105)](_0x34fbcd,_0x9a3eca=>(_0x230a9c['dispose'](),_0x244a01(_0x9a3eca,_0x5817b9,_0x5f4fb7,_0x34fbcd)));_0x2f848b[_0x4fb849(0x184)](_0x230a9c);});};this[_0x328cd2(0x1a6)](_0x360a92(this[_0x328cd2(0x140)]['subscribe'](()=>{_0x1537b1();})));}['_toggleOnline'](){const _0x29de14=_0x306380;var _0x4ca51b,_0x1638cb;if(this[_0x29de14(0x22f)]=!0x0,((_0x4ca51b=this[_0x29de14(0x1e8)][_0x29de14(0x2d3)]())==null?void 0x0:_0x4ca51b[_0x29de14(0x2a6)]())!==this['unitID'])return;const _0x30e1e7=(_0x1638cb=this['_injector'][_0x29de14(0x1b8)](_0x150107)[_0x29de14(0x16b)]())==null?void 0x0:_0x1638cb[0x0],_0x22a797=this[_0x29de14(0x1e8)][_0x29de14(0x249)](_0x1cd4b1['UNIVER_SHEET'])[_0x29de14(0x111)]();_0x30e1e7&&_0x22a797&&this['_updateLocalCursor'](_0x22a797[_0x29de14(0x2f6)](),_0x30e1e7);}[_0x306380(0x118)](){const _0x1b35af=_0x306380;this[_0x1b35af(0x22f)]=!0x1;}};we=gi([x(0x2,_0x3afd9e(_0x4b117)),x(0x3,_0x3afd9e(He)),x(0x4,_0x3afd9e(_0x58ec07)),x(0x5,_0x5f5751),x(0x6,_0x459a93),x(0x7,_0x3afd9e(_0x3fd995))],we);var Ci=Object[_0x306380(0x295)],Ei=(_0x268ded,_0x3ecd75,_0x2fc5e1,_0x4e0bbe)=>{const _0x20adf3=_0x306380;for(var _0x198b66=_0x4e0bbe>0x1?void 0x0:_0x4e0bbe?Ci(_0x3ecd75,_0x2fc5e1):_0x3ecd75,_0x3c9191=_0x268ded[_0x20adf3(0x2e0)]-0x1,_0xd240cf;_0x3c9191>=0x0;_0x3c9191--)(_0xd240cf=_0x268ded[_0x3c9191])&&(_0x198b66=_0xd240cf(_0x198b66)||_0x198b66);return _0x198b66;},me=(_0x5d1a2d,_0x3fb523)=>(_0x5b7c39,_0x414a19)=>_0x3fb523(_0x5b7c39,_0x414a19,_0x5d1a2d);let H=class extends _0x105c1b{constructor(_0x3c810e,_0x26cce3,_0x395e1e){const _0x14bf17=_0x306380;super(),_(this,'_entities',new Map()),_(this,_0x14bf17(0x2e9),new _0x33a3b3()),(this[_0x14bf17(0x1e8)]=_0x3c810e,this[_0x14bf17(0x1b9)]=_0x26cce3,this['_collabSessionService']=_0x395e1e,this['_init']());}[_0x306380(0x211)](){const _0x8a1bfb=_0x306380;super[_0x8a1bfb(0x211)](),this[_0x8a1bfb(0x2e9)][_0x8a1bfb(0x191)](),this['_entities'][_0x8a1bfb(0x159)](_0x26bc98=>_0x26bc98[_0x8a1bfb(0x211)]());}['getCollabCursors$'](_0x54ebb0){const _0x5f10e3=_0x306380;return this['_entities'][_0x5f10e3(0x291)](_0x54ebb0)?this[_0x5f10e3(0x14d)]['get'](_0x54ebb0)[_0x5f10e3(0x172)]:this['_entityInit$'][_0x5f10e3(0x17b)](_0xf328a7(_0x2218b0=>_0x2218b0[_0x5f10e3(0x1ea)]===_0x54ebb0),_0x3181cc(_0x5ab419=>_0x5ab419[_0x5f10e3(0x172)]));}['_init'](){const _0x291b68=_0x306380;this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1['UNIVER_SHEET'])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))['subscribe'](async _0x4c1eb7=>{const _0x337d38=_0x291b68,_0x4f3523=_0x4c1eb7['getUnitId'](),_0xd9f3cb=await this[_0x337d38(0x1db)](_0x4f3523);this['_entityInit$'][_0x337d38(0x157)](_0xd9f3cb),this[_0x337d38(0x14d)][_0x337d38(0x1d4)](_0x4f3523,_0xd9f3cb);}),this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1[_0x291b68(0x1ac)])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))[_0x291b68(0x17b)](_0xf328a7(_0x450915=>!_0x450915[_0x291b68(0x2a6)]()[_0x291b68(0x25c)]('__')))[_0x291b68(0x126)](async _0x15f012=>{const _0x16c7cd=_0x291b68,_0x194986=_0x15f012[_0x16c7cd(0x2a6)](),_0x35db0c=await this[_0x16c7cd(0x124)](_0x194986);this[_0x16c7cd(0x2e9)][_0x16c7cd(0x157)](_0x35db0c),this[_0x16c7cd(0x14d)][_0x16c7cd(0x1d4)](_0x194986,_0x35db0c);}),_0x28bbdf(this[_0x291b68(0x1e8)][_0x291b68(0x215)](_0x1cd4b1[_0x291b68(0x1ac)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1cd4b1[_0x291b68(0x1cd)]))['pipe'](_0x49b09f(this['dispose$']))[_0x291b68(0x126)](_0x3bf898=>{const _0x5bd334=_0x291b68,_0x48aaab=_0x3bf898['getUnitId'](),_0x19324f=this[_0x5bd334(0x14d)][_0x5bd334(0x1b8)](_0x48aaab);_0x19324f&&(_0x19324f[_0x5bd334(0x211)](),this['_entities'][_0x5bd334(0x1ae)](_0x48aaab));});}async[_0x306380(0x1db)](_0x860831){const _0x191711=_0x306380,_0x34dce6=await this[_0x191711(0x16a)][_0x191711(0x2d5)](_0x860831),_0xfa6f44=this['_injector'][_0x191711(0x2e2)](we,_0x860831,_0x34dce6);return _0xfa6f44[_0x191711(0x25e)](),_0xfa6f44;}async[_0x306380(0x124)](_0x1ce8c5){const _0x103040=_0x306380,_0x1a3a9c=await this[_0x103040(0x16a)][_0x103040(0x2d5)](_0x1ce8c5),_0xc36b86=this[_0x103040(0x1b9)][_0x103040(0x2e2)](Pe,_0x1ce8c5,_0x1a3a9c);return _0xc36b86['init'](),_0xc36b86;}};H=Ei([me(0x0,_0x5f5751),me(0x1,_0x3afd9e(_0x4b117)),me(0x2,_0x3afd9e(_0x3f2fe9))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2445ab,_0x4e40d7){const _0x148cc2=_0x306380;let {radius:_0x50e65d,width:_0x549034,height:_0x4ceffc}=_0x4e40d7;_0x50e65d=_0x50e65d!=null?_0x50e65d:0x0,_0x549034=_0x549034!=null?_0x549034:0x1e,_0x4ceffc=_0x4ceffc!=null?_0x4ceffc:0x1e;let _0x1fda8b=0x0,_0x3ee556=0x0,_0x1316cc=0x0;_0x1fda8b=_0x3ee556=_0x1316cc=Math['min'](_0x50e65d,_0x549034/0x2,_0x4ceffc/0x2),_0x2445ab[_0x148cc2(0x142)](),_0x2445ab[_0x148cc2(0x1e2)](_0x1fda8b,0x0),_0x2445ab[_0x148cc2(0x16e)](_0x549034-_0x3ee556,0x0),_0x2445ab[_0x148cc2(0x1a7)](_0x549034-_0x3ee556,_0x3ee556,_0x3ee556,Math['PI']*0x3/0x2,0x0,!0x1),_0x2445ab[_0x148cc2(0x16e)](_0x549034,_0x4ceffc-_0x1316cc),_0x2445ab['arc'](_0x549034-_0x1316cc,_0x4ceffc-_0x1316cc,_0x1316cc,0x0,Math['PI']/0x2,!0x1),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x4ceffc),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x1fda8b),_0x2445ab[_0x148cc2(0x1a7)](_0x1fda8b,_0x1fda8b,_0x1fda8b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2445ab[_0x148cc2(0x1b4)](),_0x4e40d7[_0x148cc2(0x1ca)]&&(_0x2445ab[_0x148cc2(0x156)](),_0x2445ab[_0x148cc2(0x20c)]=_0x4e40d7[_0x148cc2(0x1ca)],_0x4e40d7[_0x148cc2(0x2e3)]===_0x148cc2(0x2bb)?_0x2445ab[_0x148cc2(0x1ca)](_0x148cc2(0x2bb)):_0x2445ab[_0x148cc2(0x1ca)](),_0x2445ab['restore']());}class ue extends _0x4f35e0{constructor(_0x5b7a84,_0x37bcd3){const _0x4ea9d2=_0x306380;super(_0x5b7a84,_0x37bcd3),_(this,'color'),_(this,'text'),(this[_0x4ea9d2(0x27b)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x27b)],this[_0x4ea9d2(0x2e4)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x2e4)]);}static[_0x306380(0x10c)](_0x3805cb,_0xcbe71b){const _0x354eec=_0x306380,{text:_0x7b502d,color:_0x32fdaa}=_0xcbe71b;_0x3805cb['save'](),_0x3805cb['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1726bb=_0x3805cb[_0x354eec(0x125)](_0x7b502d)['width'],_0x4d835a=Math[_0x354eec(0x2dd)](_0x1726bb+0x2*ge,et);Oi(_0x3805cb,{'height':te,'radius':0x4,'width':_0x4d835a,'fill':_0x32fdaa}),_0x3805cb[_0x354eec(0x20c)]=_0x354eec(0x1a3);const _0x319e85=ge,_0x21861b=te-bi,_0x59fed5=et-0x2*ge;if(_0x1726bb>_0x59fed5){let _0x3f4635='',_0x1cec20=0x0;for(const _0x41e1e1 of _0x7b502d){const _0x4470fa=_0x3805cb[_0x354eec(0x125)](_0x41e1e1)[_0x354eec(0x14f)];if(_0x1cec20+_0x4470fa<=_0x59fed5-_0x3805cb[_0x354eec(0x125)](_0x354eec(0x2d7))[_0x354eec(0x14f)])_0x3f4635+=_0x41e1e1,_0x1cec20+=_0x4470fa;else{_0x3f4635+='...';break;}}_0x3805cb[_0x354eec(0x151)](_0x3f4635,_0x319e85,_0x21861b);}else _0x3805cb[_0x354eec(0x151)](_0x7b502d,_0x319e85,_0x21861b);_0x3805cb[_0x354eec(0x2c8)]();}[_0x306380(0x15c)](_0x53f14a){const _0x24dcda=_0x306380;ue[_0x24dcda(0x10c)](_0x53f14a,this);}}const ve=_0x306380(0x19a),Ti=_0x306380(0x1f9),Ri=_0x306380(0x11f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x306380(0x1de);class tt{constructor(_0x7c45bc,_0x1f6f5f,_0x1050aa,_0xacffb2){const _0x79f0e4=_0x306380;_(this,_0x79f0e4(0x28b),[]),_(this,_0x79f0e4(0x269),null),_(this,_0x79f0e4(0x2db),null),_(this,'_anchorDot',null),_(this,_0x79f0e4(0x286),null),_(this,_0x79f0e4(0x207),null),(this[_0x79f0e4(0x1f4)]=_0x7c45bc,this[_0x79f0e4(0x255)]=_0x1f6f5f,this[_0x79f0e4(0x228)]=_0x1050aa,this['_document']=_0xacffb2,this[_0x79f0e4(0x138)]());}set[_0x306380(0x2b0)](_0x1358ff){const _0x552770=_0x306380;_0x1358ff?(this[_0x552770(0x198)]&&this['_anchorDot'][_0x552770(0x2fa)](),this[_0x552770(0x2db)]&&this[_0x552770(0x2db)]['show']()):(this[_0x552770(0x198)]&&this[_0x552770(0x198)][_0x552770(0x292)](),this['_textBubble']&&this['_textBubble'][_0x552770(0x2fa)]());}['dispose'](){const _0x57e89b=_0x306380;for(const _0x1d3ede of this[_0x57e89b(0x28b)])_0x1d3ede[_0x57e89b(0x211)]();this[_0x57e89b(0x2db)]&&this[_0x57e89b(0x2db)][_0x57e89b(0x211)](),this[_0x57e89b(0x198)]&&this[_0x57e89b(0x198)]['dispose'](),this['_anchor']&&this[_0x57e89b(0x269)][_0x57e89b(0x211)](),this[_0x57e89b(0x207)]&&this[_0x57e89b(0x207)]();}[_0x306380(0x138)](){const _0xb90352=_0x306380;var _0x325bde;const {_docSkeleton:_0x38d41a,_document:_0x107246}=this,{color:_0x3d2b46,name:_0xcb23b4,ranges:_0x5e366b}=this[_0xb90352(0x1f4)],_0x22a25d=_0x107246[_0xb90352(0x17d)](),{docsLeft:_0x314aa5,docsTop:_0x2f7996}=_0x22a25d,_0x5a88a2=new _0x5dc671(_0x22a25d,_0x38d41a);for(const {startOffset:_0x5904b9,endOffset:_0x2e4639,rangeType:_0x358a2f,segmentId:_0x365daf,segmentPage:_0x590090,collapsed:_0x1ef8c2,isActive:_0x2e7d23}of _0x5e366b){const _0x5a866f=_0x38d41a['findNodePositionByCharIndex'](_0x5904b9,!0x0,_0x365daf,_0x590090);let _0x250a17=_0x38d41a[_0xb90352(0x158)](_0x2e4639,!0x0,_0x365daf,_0x590090);if(_0x250a17==null&&(_0x250a17=_0x38d41a['findNodePositionByCharIndex'](_0x2e4639-0x1,!0x1,_0x365daf,_0x590090)),_0x2e7d23){const {contentBoxPointGroup:_0x572fe7}=_0x5a88a2[_0xb90352(0x251)](_0x250a17,_0x250a17);if(_0x572fe7[_0xb90352(0x2e0)]===0x0)continue;this['_drawAnchor'](_0x3d2b46,_0x572fe7,_0x314aa5,_0x2f7996,_0xcb23b4),this['_eventUnsubscribe']=this[_0xb90352(0x285)]();}if(_0x5a866f&&_0x250a17){if(_0x358a2f===_0x56ed71['RECT']){const _0x3568f7=new _0x1cf8c7(_0x22a25d,_0x38d41a),{pointGroup:_0x10f6ac}=(_0x325bde=_0x3568f7[_0xb90352(0x251)](_0x5a866f,_0x250a17))!=null?_0x325bde:{};if(_0x10f6ac==null||_0x10f6ac[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1ab)](_0x3d2b46,_0x10f6ac,_0x314aa5,_0x2f7996);}else{if(!_0x1ef8c2){const {borderBoxPointGroup:_0x5d9b4f}=_0x5a88a2['getRangePointData'](_0x5a866f,_0x250a17);if(_0x5d9b4f[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1e5)](_0x3d2b46,_0x5d9b4f,_0x314aa5,_0x2f7996);}}}}}['_drawAnchor'](_0x21357b,_0x2d600d,_0x5a336a,_0x1a4900,_0x284138){const _0x2b22a7=_0x306380,_0x1d9762=this['_getAnchorBounding'](_0x2d600d),{left:_0xbd8a90,top:_0x47e5e0,height:_0xab9f57}=_0x1d9762,_0x252fb3=this[_0x2b22a7(0x283)](),_0x101b59=Ni/_0x252fb3,_0x4a4acf=new _0x5327b6(ve+_0x322f9c['generateRandomId'](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900,'height':_0xab9f57,'width':Di,'fill':_0x21357b||_0x225e7c(_0x295266['black'],0x0),'strokeWidth':_0x101b59,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x4a4acf,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x4a4acf,_0x26434a);const _0x1d15dc=new _0x5327b6(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'evented':!0x1});this[_0x2b22a7(0x198)]=_0x1d15dc,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x1d15dc,_0x26434a);const _0x23dc8c=new ue(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-te,'text':_0x284138,'color':_0x21357b});this[_0x2b22a7(0x2db)]=_0x23dc8c,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x23dc8c,_0x26434a),this[_0x2b22a7(0x2b0)]=!0x1;}[_0x306380(0x285)](){const _0x15614b=_0x306380,_0x287f2b=this[_0x15614b(0x269)][_0x15614b(0x231)][_0x15614b(0x1b7)](()=>{this['_hover']=!0x0;}),_0x1f692a=this[_0x15614b(0x269)][_0x15614b(0x1cb)][_0x15614b(0x1b7)](()=>{const _0x525dd1=_0x15614b;this[_0x525dd1(0x286)]&&clearTimeout(this['_hideTimer']),this[_0x525dd1(0x286)]=setTimeout(()=>{const _0x33feef=_0x525dd1;this[_0x33feef(0x2b0)]=!0x1;},0x7d0);});return()=>{const _0x5156b9=_0x15614b;_0x287f2b[_0x5156b9(0x188)](),_0x1f692a[_0x5156b9(0x188)]();};}[_0x306380(0x1e5)](_0x29d272,_0x1538dd,_0x51b94b,_0xe83a3){const _0x2cccb1=_0x306380,_0x4c115b=new _0x424f5f(_0x29d272)['setAlpha'](0.2)[_0x2cccb1(0x110)](),_0x372021=new _0x5b3fa0(Ti+_0x322f9c[_0x2cccb1(0x194)](X),{'pointsGroup':_0x1538dd,'fill':_0x4c115b||_0x225e7c(_0x295266['black'],0.2),'left':_0x51b94b,'top':_0xe83a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cccb1(0x28b)][_0x2cccb1(0x11e)](_0x372021),this['_scene']['addObject'](_0x372021,_0x26434a);}['_drawRectRange'](_0x36de9e,_0x16ddd8,_0x3d998a,_0x5d4be7){const _0x3d8888=_0x306380,_0x15cd67=new _0x424f5f(_0x36de9e)[_0x3d8888(0x162)](0.2)[_0x3d8888(0x110)](),_0x7d632b=new _0x5b3fa0(Ri+_0x322f9c[_0x3d8888(0x194)](X),{'pointsGroup':_0x16ddd8,'fill':_0x15cd67||_0x225e7c(_0x295266['black'],0.2),'left':_0x3d998a,'top':_0x5d4be7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d8888(0x28b)][_0x3d8888(0x11e)](_0x7d632b),this[_0x3d8888(0x255)][_0x3d8888(0x182)](_0x7d632b,_0x26434a);}['_getAnchorBounding'](_0x58ffde){const _0x4722a0=_0x58ffde[0x0],_0x351e20=_0x4722a0[0x0],_0x107c34=_0x4722a0[0x2],{x:_0x268274,y:_0xb63af8}=_0x351e20,{x:_0x26f3d1,y:_0x48f6a6}=_0x107c34;return{'left':_0x268274,'top':_0xb63af8,'width':_0x26f3d1-_0x268274,'height':_0x48f6a6-_0xb63af8};}[_0x306380(0x283)](){const _0x319b78=_0x306380,{scaleX:_0x579d9b,scaleY:_0x2e28aa}=this[_0x319b78(0x255)][_0x319b78(0x10d)]();return Math[_0x319b78(0x20a)](_0x579d9b,_0x2e28aa);}}var Pi=Object[_0x306380(0x295)],wi=(_0x577a48,_0x2079a2,_0x143da8,_0x2e31bf)=>{const _0x3a8c68=_0x306380;for(var _0xb880f9=_0x2e31bf>0x1?void 0x0:_0x2e31bf?Pi(_0x2079a2,_0x143da8):_0x2079a2,_0xd21418=_0x577a48[_0x3a8c68(0x2e0)]-0x1,_0x5c1bba;_0xd21418>=0x0;_0xd21418--)(_0x5c1bba=_0x577a48[_0xd21418])&&(_0xb880f9=_0x5c1bba(_0xb880f9)||_0xb880f9);return _0xb880f9;},Q=(_0x44e1b6,_0x1b9011)=>(_0x3bdd3b,_0x31ea26)=>_0x1b9011(_0x3bdd3b,_0x31ea26,_0x44e1b6);function _0x4b50(){const _0x4301f6=['getOwnPropertyDescriptor','_refreshCollabCursors','_cursors','undoState','setStateCache','post','string','UNAUTHENTICATED','_revisionService','random','NOT_FOUND','call','endRow','extend','_heartbeatTimer','engine','reconnect','getUnitId','translate(.97)','setTimeout','startColumn','_initDependencies','_localeService','actions','NOT_COLLAB','_collaborationController','asObservable','_hover','M0\x200H16V16H0z','ONLINE','4AIAueA','InsertRowCommandId','APPLY_NON_SEQUENTIAL_REVISION','_handleJoinEvent','urlChange$','getVpScrollXYInfoByPosToVp','then','invokeId','evenodd','univer-online-status-icon','1895785EwKAHv','roomMembers','exhaustSavingTask','INTERNAL_ERROR','_createSocketURL','_send','_sheetSkeletonManagerService','endColumn','propertyIsEnumerable','_docTransformIMECacheService','_disabled','restore','_handleHeartbeatEvent','_scheduleClearOtherTimer','dispose$','concat','0\x200\x2016\x2016','1083248zLVkOP','isArray','purple300','debug','_memberService','getFocusedUnit','memberID','requireSession','INVITE_CODE_HAS_BEEN_UES','...','_saveCache','transformSelections','idSuffix','_textBubble','_uiPartsService','min','_transformHistoryAndStateStack','Unknown\x20user','length','getCurrent','createInstance','fillRule','text','DeleteRangeMoveLeftCommandId','transform','_scheduleHeartbeat','imageSourceType','_entityInit$','subUnitId','_beforeCloseService','sheetId','_logService','_registerDependencies','saveOfflineData','transformByState','_setupBeforeClosingHandler','_colorIndex','_labelPosition','makeDirty','flatMap','getSheetId','_ensureSubject','MUTATION','clipPath','hide','_updateLocalCursor','_localStorageService','Error','_collaborationUIEventService','_syncEditingCollabCursorService','YUUMI_RATE_OVER_LIMIT','defineProperty','_dataLoaderService','use','onRendered','collabStatus.synced','round','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','none','registerRefRange','prototype','collabCursorState$','getUniverSheetInstance','on-line-single_clip0_910_349','756623PdVJdD','assignAColorForMemberID','drawWith','getAncestorScale','_renderManagerService','popstate','toRgbString','getActiveSheet','size','currentSkeleton$','_toggleOnline','removeParam','currentTheme$','doc.mutation.rich-text-editing','_toggleOffline','#fff','onlineStatus','_initEvent','getOwnPropertySymbols','sessionStatus$','push','collab-rect-range-','_updateURLWithCurrentState','updateOfflineData','WECHAT_HAS_BEEN_BOUND','_docTransformStateCacheService','_startDocCollabCursor','measureText','subscribe','collab-client.tooltip.reconnect','_transformPreviousActiveRange','_onRefRangeChange','deepClone','uni.network.url-service','YUUMI_URL_COL_OUT_OF_RANGE','1em','saveTaskMap','_collabCursorState$','top','replace','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-flex\x20univer-items-center','setShapeProps','_context','COMPLETION_FINISHED','m2Prime','_render','onPointerMove$','split','[CollaborationDataLoaderController]','PERMISSION_DENIED','_cachedData','row','registerBeforeClose','_cursorInfo$','defs','beginPath','range','_range','newValue','_removeClearOtherTimer','name','_clearOtherTimers','onLocalMutation','getMember','values','_docStateChangeManagerService','_entities','_hovered','width','385153vWyGoR','fillText','replaceState','svg','_status$','_notificationService','save','next','findNodePositionByCharIndex','forEach','DeleteRangeMoveUpCommandId','focused$','_draw','redoState','isActive','jiqing500','ALREADY_EXISTS','_session','setAlpha','_getSaveTimeout','apply','_onCursorUpdate','blue400','_handleLeaveEvent','_color','univer-online-status-title','_collabSessionService','getCurrentSelections','session.connection-failed','mask','lineTo','_roomMembers$','session.collaboration-timeout','collabStatus.notCollab','cursorInfo$','SNAPSHOT_INVALID_SNAPSHOT','send','clearTimeout','getUndoRedoMutationParamsCache','USER_NOT_INVITED_CODE','AWAITING','_commandService','icon','pipe','EMAIL_HAS_BEEN_BOUND','getOffsetConfig','addHandlerCallback','off-line-single_clip0_910_343','APPLY_PERMISSION_DENIED','map','addObject','transformStateCache','add','_backgroundColor','div','addObjects','unsubscribe','2174544pYTnlH','_init','column','params','univer-online-status','getCurrentRevOfUnit','_assignedColors','univerjs-icon\x20univerjs-icon-','complete','parse','LICENSE_DISTRO_REJECTED','generateRandomId','onMouseMove','unshift','_lastPointer','_anchorDot','UNRECOGNIZED','collab-text-anchor-','LOGIN_FAILED','ticket','_initStatusListener','key','HEADER_MENU','_registerRenderDependencies','NO_OTHER_CLIENTS_EDITING','APPLY_DUPLICATED','#FFF','unit','transformMutation','disposeWithMe','arc','ENSURE_SNAPSHOT_EXECUTION','10500318NSPcUn','docStateChange$','_drawRectRange','UNIVER_DOC','source','delete','selection','SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','_getSessionTicket','hasOwnProperty','closePath','_initStatusComponent','OTHER_CLIENT_EDITING','subscribeEvent','get','_injector','_getSheetObject','mutations','setUndoRedoMutationParamsCache','getParam','session.will-retry','getMemberID','SOCKET_FAILED_RETRY','colorChannel1','getSkeleton','_unitStatus','_messageService','getRenderById','result','url(#off-line-single_clip0_910_343)','getUnhiddenWorksheets','selections','fill','onPointerLeave$','replaceDocRanges','UNIVER_SHEET','isEditing','with','INVALID_INVITE_CODE','toString','defIds','RECT','set','_getMergeRange','m1Prime','searchParams','setInterval','PY_RUNTIME_SCRIPT_ERROR','FromArray','_startSheetCollabCursor','MoveRangeCommandId','loadUnit','rgba(255,\x20255,\x20255,\x200.01)','_initEntityListener','OTHER_CLIENTS_EDITING','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','moveTo','Failed','OFFLINE','_drawTextRange','VIEW_MAIN','collaboration.closeRoom','_univerInstanceService','event$','unitID','path','0\x200\x2017\x2016','TEXT','pushState','CHANGESET_REVISION_CONFILICT','black','unitId','SOCKET_FAILED','_id','_cursor','_selfUnitIDs','onlineStatusTitle','transformRemoteChangeset','sheetID','collab-text-range-','disposeUnit','USERS_LEAVE','APPLY_REJECT','from','InsertRangeMoveDownCommandId','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_updateSubUnitFromURLParams','_removeCollabCursors','enableLocalCache','textRanges','transformIMECache','body','_eventUnsubscribe','current','APPLY_REVISION_CONFILICT','max','createSocket','fillStyle','LICENSE_EXPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','_themeService','syncEditingCollabCursor','dispose','getCollabEntity$','YUUMI_SUBSCRIPTION_NOT_FOUND','override','getTypeOfUnitDisposed$','setParam','_initResize','on-line-single','getStateCache','tag','xlink:href','function','_scheduleSaving','hovered','CONFLICT','data','runId','assign','executeCommand','UPDATE_CURSOR','_docSkeletonManagerService','_cursorShapes','setConfig','_docSkeleton','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','getCollabCursors$','SUBMIT_CHANGESET_TIMEOUT','collabStatus.fetchMiss','addClipboardHook','_online','/run/','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','_localCacheService','getConfig','getItem','height','_instanceService','online','_colorAssignService','entries','_transformService','indexOf','transformMutationsWithChangeset','_refRangeService','YUUMI_UNABLE_LOAD_URL','_setupSubUnitSync','getRelativeToViewportCoord','getValue','roomMembers$','onTransformChange$','_httpService','offline','children','_collabCursorController','getCurrentUnitForType','storage','location','30wsEnuy','_initCommandExecutedListener','cursorInfo','startRow','type','getRangePointData','verdancy600','eventID','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_scene','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformUndoRedoStack','3896457DqbPlB','setItem','url(#on-line-single_clip0_910_349)','currentColor','startsWith','ranges','init','Warning','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','InsertColCommandId','addEventListener','attrs','FETCH_MISS','INVALID_ARGUMENT','OffLineSingle','collaboration.single-unit.warning','_anchor','trim','displayName','_configService','_urlService','_unitOnClients','className','onlineStatusIcon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','INVITE_CODE_REQUIRED','href','executionId','contains','subunit','_docTransformSelectionsService','history','_name','color','symbol','_doCreateSocket','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','runOnServer','onStarting','error','_getScale','TOO_MANY_REQUESTS','_handleHover','_hideTimer','onCommandExecuted','getSheetBySheetId','all','bottom','_shapes','entityInit$','UNDEFINED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','registerComponent','_docSyncEditingCollabCursorService','has','show','whenReady','_config'];_0x4b50=function(){return _0x4301f6;};return _0x4b50();}let Ue=class extends _0x105c1b{constructor(_0x39822f,_0x6dcf0a,_0x317a29,_0x172236,_0x475b74){const _0x384447=_0x306380;super(),_(this,'_cursorShapes',[]),_(this,_0x384447(0x297),[]),(this[_0x384447(0x135)]=_0x39822f,this[_0x384447(0x225)]=_0x6dcf0a,this['_collabCursorController']=_0x317a29,this[_0x384447(0x179)]=_0x172236,this[_0x384447(0x20f)]=_0x475b74,this[_0x384447(0x18a)]());}[_0x306380(0x18a)](){const _0x5529c7=_0x306380,_0x564d59=this[_0x5529c7(0x135)][_0x5529c7(0x1f1)],_0x175870=this[_0x5529c7(0x225)];this[_0x5529c7(0x1a6)](_0x2619b0([this[_0x5529c7(0x248)]['getCollabCursors$'](_0x564d59),this[_0x5529c7(0x20f)][_0x5529c7(0x116)]])[_0x5529c7(0x17b)](_0x30e61e(([_0x1f6338,_0x3cbfa5])=>({'skeleton':_0x175870[_0x5529c7(0x1c2)](),'cursors':[..._0x1f6338[_0x5529c7(0x14b)]()][_0x5529c7(0x2f5)](_0x40adf7=>({..._0x40adf7,'color':_0x3cbfa5[_0x40adf7['color']]}))})))[_0x5529c7(0x126)](_0x3fa891=>{const _0x4d78ec=_0x5529c7;if(this[_0x4d78ec(0x202)](),_0x3fa891){const {skeleton:_0x521253,cursors:_0x20443c}=_0x3fa891;this[_0x4d78ec(0x200)](_0x521253,_0x20443c);}})),this[_0x5529c7(0x217)](),this[_0x5529c7(0x24d)]();}[_0x306380(0x200)](_0x3c1fb8,_0x299ae9){const _0x2143d6=_0x306380,{scene:_0x24046b,mainComponent:_0x40bb03}=this[_0x2143d6(0x135)],_0x339606=_0x299ae9['map'](_0x613f62=>new tt(_0x613f62,_0x24046b,_0x3c1fb8,_0x40bb03));this[_0x2143d6(0x226)]=_0x339606,this[_0x2143d6(0x297)]=_0x299ae9;}[_0x306380(0x296)](){const _0xa3e5da=_0x306380;this['_removeCollabCursors']();const {scene:_0x545118,mainComponent:_0xdc8acb}=this['_context'],_0xaced44=this[_0xa3e5da(0x225)][_0xa3e5da(0x1c2)](),_0x299e42=this[_0xa3e5da(0x297)][_0xa3e5da(0x181)](_0x18a778=>new tt(_0x18a778,_0x545118,_0xaced44,_0xdc8acb));this['_cursorShapes']=_0x299e42;}[_0x306380(0x202)](){const _0x5cf876=_0x306380;this[_0x5cf876(0x226)]['forEach'](_0x84345d=>_0x84345d['dispose']()),this[_0x5cf876(0x226)]=[];}['_initCommandExecutedListener'](){const _0x24862f=_0x306380,_0x213c86=[_0x4f7111['id']];this[_0x24862f(0x1a6)](this['_commandService'][_0x24862f(0x287)](_0x1e47c3=>{const _0x27c2e0=_0x24862f;_0x213c86['includes'](_0x1e47c3['id'])&&_0x1e47c3[_0x27c2e0(0x18c)][_0x27c2e0(0x1f1)]===this[_0x27c2e0(0x135)][_0x27c2e0(0x1f1)]&&this[_0x27c2e0(0x296)]();}));}['_initResize'](){const _0x51a2b1=_0x306380;this[_0x51a2b1(0x1a6)](_0x18902a(this[_0x51a2b1(0x135)][_0x51a2b1(0x2a4)][_0x51a2b1(0x244)])[_0x51a2b1(0x17b)](_0x11ec65(_0x96cf30=>_0x96cf30['type']===_0x5ed841['resize']),_0x1f4720(0x10))[_0x51a2b1(0x126)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x3afd9e(_0x23a42f)),Q(0x2,_0x3afd9e(H)),Q(0x3,_0x459a93),Q(0x4,_0x3afd9e(_0x5a99a8))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x4f35e0{constructor(_0x497bdc,_0x46754a){const _0xdfcb97=_0x306380;super(_0x497bdc,_0x46754a),_(this,'_color'),_(this,_0xdfcb97(0x14e),!0x1),_(this,_0xdfcb97(0x144)),_(this,_0xdfcb97(0x27a),''),_(this,_0xdfcb97(0x2f3),_0xdfcb97(0x130)),_(this,_0xdfcb97(0x185)),(_0x46754a&&this[_0xdfcb97(0x134)](_0x46754a),this[_0xdfcb97(0x231)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x0})),this[_0xdfcb97(0x1cb)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x1})));}[_0x306380(0x134)](_0x59f89d){const _0x2140ea=_0x306380;var _0x38c1c0,_0x4ffb7d,_0x5797f2,_0x50b0b1,_0x2b4971,_0x3dedc6;this[_0x2140ea(0x168)]=(_0x38c1c0=_0x59f89d[_0x2140ea(0x27b)])!=null?_0x38c1c0:this[_0x2140ea(0x168)],this['_hovered']=(_0x4ffb7d=_0x59f89d[_0x2140ea(0x21e)])!=null?_0x4ffb7d:this[_0x2140ea(0x14e)],this['_range']=(_0x5797f2=_0x59f89d[_0x2140ea(0x143)])!=null?_0x5797f2:this[_0x2140ea(0x144)],this[_0x2140ea(0x27a)]=(_0x50b0b1=_0x59f89d[_0x2140ea(0x147)])!=null?_0x50b0b1:this[_0x2140ea(0x27a)],this['_labelPosition']=(_0x2b4971=_0x59f89d['labelPosition'])!=null?_0x2b4971:this['_labelPosition'],this[_0x2140ea(0x185)]=(_0x3dedc6=_0x59f89d['backgroundColor'])!=null?_0x3dedc6:this[_0x2140ea(0x185)],this[_0x2140ea(0x2f0)]({'width':_0x59f89d[_0x2140ea(0x14f)],'height':_0x59f89d[_0x2140ea(0x236)]});}[_0x306380(0x195)](_0x21e97b){const _0x4bd78c=_0x306380,{row:_0x5c2c98,column:_0x23d33c}=_0x21e97b;if(_0x5c2c98>=this['_range'][_0x4bd78c(0x24f)]&&_0x5c2c98<=this['_range'][_0x4bd78c(0x2a1)]&&_0x23d33c>=this[_0x4bd78c(0x144)][_0x4bd78c(0x2a9)]&&_0x23d33c<=this[_0x4bd78c(0x144)][_0x4bd78c(0x2c4)]){this[_0x4bd78c(0x134)]({'hovered':!0x0});return;}this[_0x4bd78c(0x134)]({'hovered':!0x1});}['triggerDblclick'](_0x45d975){return!0x1;}[_0x306380(0x15c)](_0x3e274c){const _0x54a289=_0x306380;_0x5327b6[_0x54a289(0x10c)](_0x3e274c,{'width':this[_0x54a289(0x14f)],'height':this[_0x54a289(0x236)],'strokeWidth':Li,'stroke':this[_0x54a289(0x168)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x3e274c[_0x54a289(0x156)](),_0x3e274c[_0x54a289(0x2e6)](0x1,0x0,0x0,0x1,this['width'],this[_0x54a289(0x2f3)]===_0x54a289(0x28a)?0x0:-0x14),ue[_0x54a289(0x10c)](_0x3e274c,{'text':this[_0x54a289(0x27a)],'color':this[_0x54a289(0x168)]}),_0x3e274c['restore']());}}var yi=Object[_0x306380(0x295)],$i=(_0x44c496,_0x5d8313,_0x2d6365,_0x3fea5e)=>{const _0xeb2e1=_0x306380;for(var _0x3d954a=_0x3fea5e>0x1?void 0x0:_0x3fea5e?yi(_0x5d8313,_0x2d6365):_0x5d8313,_0x198642=_0x44c496[_0xeb2e1(0x2e0)]-0x1,_0x3a6d5f;_0x198642>=0x0;_0x198642--)(_0x3a6d5f=_0x44c496[_0x198642])&&(_0x3d954a=_0x3a6d5f(_0x3d954a)||_0x3d954a);return _0x3d954a;},pe=(_0x3b0dbe,_0x370e34)=>(_0x598eb2,_0x1d3b0f)=>_0x370e34(_0x598eb2,_0x1d3b0f,_0x3b0dbe);const xi=0x1389;let Le=class extends _0x105c1b{constructor(_0x10351b,_0x69152b,_0x1a65d7,_0x256e09){const _0x27733a=_0x306380;super(),_(this,'_cursors',new Set()),_(this,_0x27733a(0x197),null),(this['_context']=_0x10351b,this['_sheetSkeletonManagerService']=_0x69152b,this['_collabCursorController']=_0x1a65d7,this[_0x27733a(0x20f)]=_0x256e09,this[_0x27733a(0x18a)]());}['_init'](){const _0x42ad86=_0x306380;this[_0x42ad86(0x2c3)][_0x42ad86(0x113)][_0x42ad86(0x17b)](_0x5ae3f6(this[_0x42ad86(0x2cb)]),_0x58e5da(_0x445998=>{const _0xfac379=_0x42ad86;if(_0x445998){const _0x2689a4=_0x445998[_0xfac379(0x2ec)];return _0x2619b0(this[_0xfac379(0x248)][_0xfac379(0x22b)](this['_context']['unitId']),this['_themeService'][_0xfac379(0x116)])['pipe'](_0x30e61e(([_0x3afed7,_0x4aafab])=>{const _0x457ab6=_0xfac379,_0x40f159=new Map();return _0x3afed7[_0x457ab6(0x159)]((_0x804e68,_0x250b5c)=>{const _0xdb204f=_0x457ab6;if(_0x804e68[_0xdb204f(0x1f8)]===_0x2689a4){const _0x24e5c1={..._0x804e68};_0x24e5c1[_0xdb204f(0x27b)]=_0x4aafab[_0x804e68['color']],_0x40f159[_0xdb204f(0x1d4)](_0x250b5c,_0x24e5c1);}}),{'skeleton':_0x445998,'cursors':_0x40f159};}));}return _0x5bba0d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x37e807,cursors:_0x10b842})=>{const _0x3cbd0c=_0x42ad86;this[_0x3cbd0c(0x202)](),_0x37e807&&this[_0x3cbd0c(0x200)](_0x37e807,_0x10b842);}),this[_0x42ad86(0x2c3)]['currentSkeleton$'][_0x42ad86(0x126)](_0x358a1d=>{const _0x520682=_0x42ad86;if(_0x358a1d==null)return;const {skeleton:_0x3cfc67}=_0x358a1d,{scene:_0x3cdff2}=this[_0x520682(0x135)];_0x3cdff2[_0x520682(0x139)]['subscribeEvent'](_0xbbae5d(_0x5b6e40=>{const _0x224469=_0x520682;var _0x10df28,_0xafca19;const {offsetX:_0x2aa8b8,offsetY:_0x27dcc3}=_0x5b6e40,{x:_0x4eaf21,y:_0x2a642b}=_0x3cdff2[_0x224469(0x241)](_0x53eff0[_0x224469(0x1da)]([_0x2aa8b8,_0x27dcc3])),{scaleX:_0x20a5ea,scaleY:_0x49a159}=_0x3cdff2['getAncestorScale'](),_0x9d3bbc=_0x3cdff2[_0x224469(0x261)](_0x591dad[_0x224469(0x1e6)]),_0x53a7c4=_0x3cdff2[_0x224469(0x2b8)](_0x53eff0[_0x224469(0x1da)]([_0x4eaf21,_0x2a642b]),_0x9d3bbc),_0x2cf6c9=_0x3cfc67['getCellPositionByOffset'](_0x2aa8b8,_0x27dcc3,_0x20a5ea,_0x49a159,_0x53a7c4);((_0x10df28=this[_0x224469(0x197)])==null?void 0x0:_0x10df28[_0x224469(0x18b)])===_0x2cf6c9[_0x224469(0x18b)]&&((_0xafca19=this[_0x224469(0x197)])==null?void 0x0:_0xafca19[_0x224469(0x13e)])===_0x2cf6c9[_0x224469(0x13e)]||this[_0x224469(0x297)][_0x224469(0x159)](_0x216bb6=>{_0x216bb6['onMouseMove'](_0x2cf6c9);});},0x64));});}[_0x306380(0x200)](_0x60a44e,_0x1af887){const _0x279560=_0x306380;var _0x31f219;const _0x7ba51e=(_0x31f219=this[_0x279560(0x2c3)][_0x279560(0x2e1)]())==null?void 0x0:_0x31f219['skeleton'];if(!_0x7ba51e)return;const _0x381813=this[_0x279560(0x1ba)]();if(!_0x381813)return;this[_0x279560(0x297)]['forEach'](_0x522db7=>{const _0x5b09e5=_0x279560;_0x522db7[_0x5b09e5(0x2f4)]();});const {scene:_0x3a2d55}=_0x381813,_0x1e5f0f=Bi(Array[_0x279560(0x1fd)](_0x1af887[_0x279560(0x14b)]()))[_0x279560(0x181)](_0x165fe5=>{const _0x4693f2=_0x279560,{color:_0x1499ea,range:_0x47bbc5,name:_0x1a2b92,selection:_0x1a6a4a,sheetID:_0x46615e}=_0x165fe5,{startColumn:_0x1f23b8,startRow:_0x9fb652,endColumn:_0x290274,endRow:_0x1cf1f6}=_0x47bbc5,_0x227c07=_0x5d8da6(_0x9fb652,_0x1f23b8,_0x3a2d55,_0x7ba51e),_0x4f8810=_0x5d8da6(_0x1cf1f6,_0x290274,_0x3a2d55,_0x7ba51e),{columnHeaderHeightAndMarginTop:_0x495d0c}=_0x7ba51e,{startX:_0x3fcdc6,startY:_0x4ce0ce}=_0x227c07,{endX:_0x1d6d9c,endY:_0x5c5626}=_0x4f8810,_0x59892c=_0x1d6d9c-_0x3fcdc6,_0x43fb27=_0x5c5626-_0x4ce0ce,_0x5d5597={'labelPosition':_0x4ce0ce-_0x495d0c>=te?_0x4693f2(0x130):'bottom','sheetID':_0x46615e,'range':_0x47bbc5,'color':_0x1499ea,'name':_0x1a2b92,'selection':_0x1a6a4a,'left':_0x3fcdc6,'top':_0x4ce0ce,'width':_0x59892c,'height':_0x43fb27,'evented':!0x1,'zIndex':xi};return new Ai(_0x1a2b92,_0x5d5597);});_0x3a2d55[_0x279560(0x187)](_0x1e5f0f,Ui),this[_0x279560(0x297)]=new Set(_0x1e5f0f);}[_0x306380(0x202)](){const _0x592c4e=_0x306380;var _0x38a64e;(_0x38a64e=this[_0x592c4e(0x297)])==null||_0x38a64e['forEach'](_0x31e68f=>_0x31e68f[_0x592c4e(0x211)]());}[_0x306380(0x1ba)](){const _0x2acf87=_0x306380;return _0x1912c1(this[_0x2acf87(0x135)][_0x2acf87(0x1a4)],this[_0x2acf87(0x135)]);}};Le=$i([pe(0x1,_0x3afd9e(_0x3e80f5)),pe(0x2,_0x3afd9e(H)),pe(0x3,_0x3afd9e(_0x5a99a8))],Le);function Bi(_0x366d3c){const _0x54231c=_0x306380,_0x2495f2=new Map();return _0x366d3c[_0x54231c(0x159)](_0x3b3a8d=>{const _0x1df2d5=_0x54231c;if(_0x2495f2['has'](_0x3b3a8d[_0x1df2d5(0x1af)])){const _0x2257f2=_0x2495f2[_0x1df2d5(0x1b8)](_0x3b3a8d[_0x1df2d5(0x1af)]);_0x2257f2['name']+=',\x20'+_0x3b3a8d[_0x1df2d5(0x147)];}else _0x2495f2[_0x1df2d5(0x1d4)](_0x3b3a8d[_0x1df2d5(0x1af)],_0x3b3a8d);}),Array[_0x54231c(0x1fd)](_0x2495f2[_0x54231c(0x14b)]());}var I=function(){const _0x2658d4=_0x306380;return I=Object[_0x2658d4(0x222)]||function(_0x5b9226){const _0xc10e1d=_0x2658d4;for(var _0x1e5a38,_0x438f1f=0x1,_0x53a828=arguments[_0xc10e1d(0x2e0)];_0x438f1f<_0x53a828;_0x438f1f++){_0x1e5a38=arguments[_0x438f1f];for(var _0x1cdfbc in _0x1e5a38)Object[_0xc10e1d(0x106)][_0xc10e1d(0x1b3)][_0xc10e1d(0x2a0)](_0x1e5a38,_0x1cdfbc)&&(_0x5b9226[_0x1cdfbc]=_0x1e5a38[_0x1cdfbc]);}return _0x5b9226;},I[_0x2658d4(0x164)](this,arguments);},ki=function(_0x366648,_0x35f734){const _0x5a0424=_0x306380;var _0x1278cc={};for(var _0x5c1c4a in _0x366648)Object[_0x5a0424(0x106)][_0x5a0424(0x1b3)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a)&&_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a)<0x0&&(_0x1278cc[_0x5c1c4a]=_0x366648[_0x5c1c4a]);if(_0x366648!=null&&typeof Object[_0x5a0424(0x11c)]==_0x5a0424(0x21c)){for(var _0x34bc38=0x0,_0x5c1c4a=Object[_0x5a0424(0x11c)](_0x366648);_0x34bc38<_0x5c1c4a[_0x5a0424(0x2e0)];_0x34bc38++)_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a[_0x34bc38])<0x0&&Object[_0x5a0424(0x106)][_0x5a0424(0x2c5)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a[_0x34bc38])&&(_0x1278cc[_0x5c1c4a[_0x34bc38]]=_0x366648[_0x5c1c4a[_0x34bc38]]);}return _0x1278cc;},We=_0xce2410(function(_0x27f7e2,_0xd6ec60){const _0x542ca4=_0x306380;var _0x4a53dc=_0x27f7e2[_0x542ca4(0x17a)],_0x161c90=_0x27f7e2['id'],_0x3a05be=_0x27f7e2['className'],_0x1eaa2a=_0x27f7e2[_0x542ca4(0x2a2)],_0x17ee7e=ki(_0x27f7e2,[_0x542ca4(0x17a),'id',_0x542ca4(0x26f),_0x542ca4(0x2a2)]),_0x3be5e7=_0x542ca4(0x190)['concat'](_0x161c90,'\x20')[_0x542ca4(0x2cc)](_0x3a05be||'')[_0x542ca4(0x26a)](),_0x396bc4=_0x5407f6('_'[_0x542ca4(0x2cc)](Wi()));return Nt(_0x4a53dc,''['concat'](_0x161c90),{'defIds':_0x4a53dc['defIds'],'idSuffix':_0x396bc4[_0x542ca4(0x208)]},I({'ref':_0xd6ec60,'className':_0x3be5e7},_0x17ee7e),_0x1eaa2a);});function Nt(_0x3cd6ec,_0x488d72,_0x38b07,_0x202d79,_0x3f7435){const _0x177217=_0x306380;return _0x58e742(_0x3cd6ec[_0x177217(0x21a)],I(I({'key':_0x488d72},Hi(_0x3cd6ec,_0x38b07,_0x3f7435)),_0x202d79),(ji(_0x3cd6ec,_0x38b07)[_0x177217(0x247)]||[])[_0x177217(0x181)](function(_0x3a6904,_0x2de3e0){const _0x582a4d=_0x177217;return Nt(_0x3a6904,''[_0x582a4d(0x2cc)](_0x488d72,'-')[_0x582a4d(0x2cc)](_0x3cd6ec['tag'],'-')[_0x582a4d(0x2cc)](_0x2de3e0),_0x38b07,void 0x0,_0x3f7435);}));}function Hi(_0x4bc236,_0x3ad4bd,_0x72c441){const _0x17bd7c=_0x306380;var _0x1655a1=I({},_0x4bc236[_0x17bd7c(0x264)]);_0x72c441!=null&&_0x72c441[_0x17bd7c(0x1c1)]&&_0x1655a1[_0x17bd7c(0x1ca)]===_0x17bd7c(0x1c1)&&(_0x1655a1[_0x17bd7c(0x1ca)]=_0x72c441[_0x17bd7c(0x1c1)]),_0x4bc236['tag']===_0x17bd7c(0x16d)&&_0x1655a1['id']&&(_0x1655a1['id']=_0x1655a1['id']+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)[_0x17bd7c(0x159)](function(_0x5da4d1){const _0x3ffbbc=_0x17bd7c;var _0x1b8412=_0x5da4d1[0x0],_0x44babd=_0x5da4d1[0x1];_0x1b8412===_0x3ffbbc(0x16d)&&typeof _0x44babd==_0x3ffbbc(0x29b)&&(_0x1655a1[_0x1b8412]=_0x44babd[_0x3ffbbc(0x131)](/url\(#(.*)\)/,'url(#$1'[_0x3ffbbc(0x2cc)](_0x3ad4bd[_0x3ffbbc(0x2da)],')')));});var _0x43f6d3=_0x3ad4bd[_0x17bd7c(0x1d2)];return!_0x43f6d3||_0x43f6d3[_0x17bd7c(0x2e0)]===0x0||(_0x4bc236[_0x17bd7c(0x21a)]===_0x17bd7c(0xff)&&_0x1655a1['xlink:href']&&(_0x1655a1[_0x17bd7c(0x21b)]=_0x1655a1[_0x17bd7c(0x21b)]+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)['forEach'](function(_0x308477){const _0x529c37=_0x17bd7c;var _0x91094e=_0x308477[0x0],_0x4efcb8=_0x308477[0x1];typeof _0x4efcb8==_0x529c37(0x29b)&&(_0x1655a1[_0x91094e]=_0x4efcb8['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3ad4bd['idSuffix'],')')));})),_0x1655a1;}function ji(_0x1eea27,_0x28d0a7){const _0x21b3f4=_0x306380;var _0x37ee19,_0x1a7ca=_0x28d0a7[_0x21b3f4(0x1d2)];return!_0x1a7ca||_0x1a7ca[_0x21b3f4(0x2e0)]===0x0?_0x1eea27:_0x1eea27[_0x21b3f4(0x21a)]===_0x21b3f4(0x141)&&(!((_0x37ee19=_0x1eea27[_0x21b3f4(0x247)])===null||_0x37ee19===void 0x0)&&_0x37ee19[_0x21b3f4(0x2e0)])?I(I({},_0x1eea27),{'children':_0x1eea27[_0x21b3f4(0x247)][_0x21b3f4(0x181)](function(_0x21fd6a){const _0x44f18e=_0x21b3f4;return typeof _0x21fd6a[_0x44f18e(0x264)]['id']==_0x44f18e(0x29b)&&_0x1a7ca&&_0x1a7ca['indexOf'](_0x21fd6a['attrs']['id'])>-0x1?I(I({},_0x21fd6a),{'attrs':I(I({},_0x21fd6a[_0x44f18e(0x264)]),{'id':_0x21fd6a[_0x44f18e(0x264)]['id']+_0x28d0a7[_0x44f18e(0x2da)]})}):_0x21fd6a;})}):_0x1eea27;}function Wi(){const _0xd48968=_0x306380;return Math[_0xd48968(0x29e)]()[_0xd48968(0x1d1)](0x24)['substring'](0x2,0x8);}We[_0x306380(0x26b)]='UniverIcon';var Fi={'tag':_0x306380(0x153),'attrs':{'fill':_0x306380(0x104),'viewBox':_0x306380(0x2cd),'width':_0x306380(0x12d),'height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x1c7)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'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':_0x306380(0x102),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1)}}]}]}],'defIds':[_0x306380(0x17f)]},Mt=_0xce2410(function(_0xf31a3f,_0x426331){return _0x58e742(We,Object['assign']({},_0xf31a3f,{'id':'off-line-single','ref':_0x426331,'icon':Fi}));});Mt[_0x306380(0x26b)]=_0x306380(0x267);var Vi={'tag':_0x306380(0x153),'attrs':{'fill':'none','viewBox':_0x306380(0x1ec),'width':'1em','height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x25a)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'d':_0x306380(0x103),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':_0x306380(0x2f9),'attrs':{'id':_0x306380(0x109)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1),'transform':_0x306380(0x2a7)}}]}]}],'defIds':[_0x306380(0x109)]},Pt=_0xce2410(function(_0x162c52,_0x41ad67){const _0x32d7f6=_0x306380;return _0x58e742(We,Object[_0x32d7f6(0x222)]({},_0x162c52,{'id':_0x32d7f6(0x218),'ref':_0x41ad67,'icon':Vi}));});Pt['displayName']='OnLineSingle';const Yi=_0x306380(0x2bc),Xi=_0x306380(0x169),Gi=_0x306380(0x18d),Ki='univer-online',zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x5bd2e2){const _0x1835ab=_0x306380;switch(_0x5bd2e2){case _0x344fd8[_0x1835ab(0x1e4)]:return'collabStatus.offline';case _0x344fd8[_0x1835ab(0x21f)]:return'collabStatus.conflict';case _0x344fd8[_0x1835ab(0x265)]:return _0x1835ab(0x22d);case _0x344fd8[_0x1835ab(0x2ad)]:return _0x1835ab(0x171);case _0x344fd8[_0x1835ab(0x178)]:case _0x344fd8[_0x1835ab(0x20e)]:return'collabStatus.syncing';case _0x344fd8['SYNCED']:case _0x344fd8['PENDING']:return _0x1835ab(0x101);}}function Zi(_0x3e7155){const _0x184906=_0x306380,{status$:_0x450851}=_0x3e7155,_0x74fc53=_0x17463e(_0x450851,_0x344fd8[_0x184906(0x2ad)]),_0x4e4d44=_0x9b66f4(_0x4d2fab),_0x200e54=_0x9b66f4(_0x3f2fe9),_0x2caf36=_0x74fc53!==_0x344fd8['OFFLINE'],_0x481aad=_0x4e4d44['t'](Ji(_0x74fc53)),_0x19e9a6=_0x1fe989(G[_0x184906(0x11a)],{[G[_0x184906(0x238)]]:_0x2caf36,[G[_0x184906(0x246)]]:!_0x2caf36}),_0x579c02=_0x2caf36?_0x436a04(Pt,{}):_0x436a04(Mt,{}),_0x4ef737=_0x277056(()=>{const _0x3215ec=_0x184906;_0x2caf36||_0x200e54[_0x3215ec(0x2a5)]();},[_0x2caf36,_0x200e54]);function _0x1dc4d3(){const _0x144c0b=_0x184906;return _0x233a53(_0x144c0b(0x186),{'className':_0x1fe989(_0x19e9a6,_0x144c0b(0x133)),'onClick':_0x4ef737,'children':[_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x270)],'children':_0x579c02}),_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x1f6)],'children':_0x481aad})]});}return _0x2caf36?_0x1dc4d3():_0x436a04(_0x177b87,{'title':_0x4e4d44['t'](_0x184906(0x127)),'children':_0x1dc4d3()});}var Qi=Object[_0x306380(0x295)],qi=(_0x5db617,_0x2e8173,_0x5545e8,_0x520313)=>{const _0xabb644=_0x306380;for(var _0xdb4e8d=_0x520313>0x1?void 0x0:_0x520313?Qi(_0x2e8173,_0x5545e8):_0x2e8173,_0x3ed90b=_0x5db617[_0xabb644(0x2e0)]-0x1,_0xb4e8a6;_0x3ed90b>=0x0;_0x3ed90b--)(_0xb4e8a6=_0x5db617[_0x3ed90b])&&(_0xdb4e8d=_0xb4e8a6(_0xdb4e8d)||_0xdb4e8d);return _0xdb4e8d;},q=(_0x4253ce,_0x5f4651)=>(_0x445246,_0x4d9a9e)=>_0x5f4651(_0x445246,_0x4d9a9e,_0x4253ce);let se=class extends _0x212855{constructor(_0x515c93,_0x3d7e4d,_0x544bb4,_0x1d0d0b){const _0x186b11=_0x306380;super(),_(this,_0x186b11(0x154),new _0x39027c(_0x344fd8[_0x186b11(0x2ad)])),(this['_univerInstanceService']=_0x515c93,this[_0x186b11(0x1b9)]=_0x3d7e4d,this[_0x186b11(0x2ae)]=_0x544bb4,this['_uiPartsService']=_0x1d0d0b,this[_0x186b11(0x1b5)](),this[_0x186b11(0x19d)]());}[_0x306380(0x19d)](){const _0x2f949c=_0x306380;this['disposeWithMe'](this[_0x2f949c(0x1e8)][_0x2f949c(0x15b)][_0x2f949c(0x17b)](_0x3181cc(()=>{const _0x45d96a=_0x2f949c,_0x3dee5b=this[_0x45d96a(0x1e8)][_0x45d96a(0x2d3)]();return _0x3dee5b?this[_0x45d96a(0x2ae)][_0x45d96a(0x212)](_0x3dee5b['getUnitId']()):_0x5bba0d(null);}),_0x3181cc(_0x10c9c5=>_0x10c9c5?_0x10c9c5['status$']:_0x5bba0d(_0x344fd8['NOT_COLLAB'])))[_0x2f949c(0x126)](_0x419ffe=>{const _0x3fe1e8=_0x2f949c;this[_0x3fe1e8(0x154)]['next'](_0x419ffe);}));}[_0x306380(0x1b5)](){const _0x4c54d7=_0x306380;this[_0x4c54d7(0x1a6)](this[_0x4c54d7(0x2dc)][_0x4c54d7(0x28f)](_0x567b99[_0x4c54d7(0x19f)],()=>_0x3afacf(en({'status$':this[_0x4c54d7(0x154)]['asObservable']()}),this['_injector'])));}};se=qi([q(0x0,_0x5f5751),q(0x1,_0x3afd9e(_0x4b117)),q(0x2,_0x3afd9e(_0x354dfa)),q(0x3,_0x294510)],se);function en(_0x138790){const {status$:_0x663ee8}=_0x138790;return function(){return _0x436a04(Zi,{'status$':_0x663ee8});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x3f3e7e,_0x5cc22d,_0x2b8508,_0x169924)=>{for(var _0x270d31=_0x169924>0x1?void 0x0:_0x169924?tn(_0x5cc22d,_0x2b8508):_0x5cc22d,_0x264715=_0x3f3e7e['length']-0x1,_0x2a22be;_0x264715>=0x0;_0x264715--)(_0x2a22be=_0x3f3e7e[_0x264715])&&(_0x270d31=_0x2a22be(_0x270d31)||_0x270d31);return _0x270d31;},B=(_0x3ff09c,_0x1003ec)=>(_0x3a6b50,_0x1e7411)=>_0x1003ec(_0x3a6b50,_0x1e7411,_0x3ff09c);let ie=class extends _0x212855{constructor(_0x31e968,_0x34550d,_0xc6c6d1,_0x5acc10,_0x30e725,_0x418b7b){const _0x322ef2=_0x306380;super(),this['_beforeCloseService']=_0x31e968,this[_0x322ef2(0x233)]=_0x34550d,this['_collaborationUIEventService']=_0xc6c6d1,this[_0x322ef2(0x1c4)]=_0x5acc10,this[_0x322ef2(0x155)]=_0x30e725,this[_0x322ef2(0x2ab)]=_0x418b7b,this[_0x322ef2(0x2f1)](),this['_initEvent']();}[_0x306380(0x2f1)](){const _0x3d8b0f=_0x306380;this['disposeWithMe'](this[_0x3d8b0f(0x2eb)][_0x3d8b0f(0x13f)](()=>{const _0x45fd60=_0x3d8b0f;if(this[_0x45fd60(0x233)][_0x45fd60(0x12e)][_0x45fd60(0x112)])return this[_0x45fd60(0x2ab)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x306380(0x11b)](){const _0x50c85b=_0x306380;this[_0x50c85b(0x1a6)](this[_0x50c85b(0xfa)][_0x50c85b(0x1e9)][_0x50c85b(0x126)](_0x29bf94=>{const _0x1a911e=_0x50c85b;_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1b6)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x268))}),_0x29bf94['id']===_0x5532f5['CLOSE_ROOM']&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x13c)]&&this['_notificationService'][_0x1a911e(0x292)]({'title':this[_0x1a911e(0x2ab)]['t']('permission.title'),'content':this[_0x1a911e(0x2ab)]['t']('permission.content'),'type':_0x1a911e(0x282),'duration':0x0}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x21f)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80['Error'],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1e7))+'('+_0x29bf94[_0x1a911e(0x220)]+')'}),_0x29bf94['id']===_0x5532f5['JOIN_ROOM_FAILED']&&this[_0x1a911e(0x1c4)]['show']({'type':_0x172d80['Warning'],'content':this[_0x1a911e(0x2ab)]['t'](_0x29bf94[_0x1a911e(0x220)]||'')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1c0)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1be))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1f2)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x16c))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x22c)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x170))});}));}};ie=sn([B(0x0,_0xee54a5),B(0x1,_0x2f27fe),B(0x2,_0x3afd9e(_0x27dc93)),B(0x3,_0x555e39),B(0x4,_0x278379),B(0x5,_0x3afd9e(_0x4d2fab))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x59fe85(_0x306380(0x12b));var rn=Object[_0x306380(0x295)],on=(_0x137ece,_0x43df47,_0x554251,_0x51bcfc)=>{const _0x4606cf=_0x306380;for(var _0x3c633b=_0x51bcfc>0x1?void 0x0:_0x51bcfc?rn(_0x43df47,_0x554251):_0x43df47,_0x31ffcf=_0x137ece[_0x4606cf(0x2e0)]-0x1,_0x46616b;_0x31ffcf>=0x0;_0x31ffcf--)(_0x46616b=_0x137ece[_0x31ffcf])&&(_0x3c633b=_0x46616b(_0x3c633b)||_0x3c633b);return _0x3c633b;},K=(_0xfff79f,_0x19f39e)=>(_0x321415,_0x11fd35)=>_0x19f39e(_0x321415,_0x11fd35,_0xfff79f);let ne=class extends _0x105c1b{constructor(_0x5db183,_0x1ac51e,_0x17e9d0,_0x25f071,_0x2f57c3){const _0x2fd740=_0x306380;super(),this['_urlService']=_0x5db183,this[_0x2fd740(0x2ed)]=_0x1ac51e,this[_0x2fd740(0x179)]=_0x17e9d0,this[_0x2fd740(0xfe)]=_0x25f071,_0x2f57c3?_0x2f57c3==null||_0x2f57c3[_0x2fd740(0x293)]()[_0x2fd740(0x2b9)](()=>this[_0x2fd740(0x18a)]()):(this['_logService'][_0x2fd740(0x2d1)](_0x2fd740(0x13b),_0x2fd740(0x254)),this[_0x2fd740(0x18a)]());}async[_0x306380(0x18a)](){const _0x231f9e=_0x306380,_0x1464bb=this[_0x231f9e(0x26d)]['getParam']('unit'),_0x4cbd2d=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x250)),_0x1f6de6=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x277));if(!_0x1464bb||!_0x4cbd2d){this[_0x231f9e(0x2ed)]['debug'](_0x231f9e(0x13b),_0x231f9e(0x1e1));return;}const _0xf0264=await this[_0x231f9e(0xfe)][_0x231f9e(0x1dd)](_0x1464bb,Number(_0x4cbd2d),_0x1f6de6);_0xf0264&&_0xf0264 instanceof _0x2e84fd&&this[_0x231f9e(0x240)](_0xf0264);}async[_0x306380(0x240)](_0x33e071){const _0x5dc777=_0x306380;await this[_0x5dc777(0x201)](_0x33e071),_0x33e071['activeSheet$'][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](_0xe3e86=>{_0xe3e86&&this['_updateURLWithCurrentState'](_0xe3e86);}),this[_0x5dc777(0x26d)][_0x5dc777(0x2b7)][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](()=>this[_0x5dc777(0x201)](_0x33e071));}[_0x306380(0x120)](_0x431ce7,_0x2bb391=!0x1){const _0x48b88b=_0x306380,_0x37b854=this[_0x48b88b(0x26d)][_0x48b88b(0x1bd)](_0x48b88b(0x277));_0x431ce7[_0x48b88b(0x2f6)]()!==_0x37b854&&this[_0x48b88b(0x26d)][_0x48b88b(0x216)](_0x48b88b(0x277),_0x431ce7[_0x48b88b(0x2f6)](),_0x2bb391);}async[_0x306380(0x201)](_0x41e3c2){const _0x3ffce6=_0x306380;var _0x2b8cfc;const _0x53ec31=this[_0x3ffce6(0x26d)][_0x3ffce6(0x1bd)]('subunit');if(!_0x53ec31||!_0x41e3c2['getSheetBySheetId'](_0x53ec31)){const _0x121b5e=_0x41e3c2[_0x3ffce6(0x1c8)]()[0x0],_0x16598c=_0x41e3c2[_0x3ffce6(0x288)](_0x121b5e);if(!_0x16598c)return;this[_0x3ffce6(0x120)](_0x16598c,!0x0),await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x121b5e});return;}((_0x2b8cfc=_0x41e3c2[_0x3ffce6(0x111)]())==null?void 0x0:_0x2b8cfc[_0x3ffce6(0x2f6)]())!==_0x53ec31&&await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x53ec31});}};ne=on([K(0x0,wt),K(0x1,_0x3120e3),K(0x2,_0x459a93),K(0x3,_0x3afd9e(_0x2f7e52)),K(0x4,_0x1c9169(_0x33cba8))],ne);var an=Object[_0x306380(0x295)],cn=(_0x1d5fc8,_0x4ae2c7,_0x66ab27,_0x294c31)=>{const _0x39c03f=_0x306380;for(var _0x58ed4a=_0x294c31>0x1?void 0x0:_0x294c31?an(_0x4ae2c7,_0x66ab27):_0x4ae2c7,_0x4279a7=_0x1d5fc8[_0x39c03f(0x2e0)]-0x1,_0x5ef3fe;_0x4279a7>=0x0;_0x4279a7--)(_0x5ef3fe=_0x1d5fc8[_0x4279a7])&&(_0x58ed4a=_0x5ef3fe(_0x58ed4a)||_0x58ed4a);return _0x58ed4a;},Ce=(_0x137953,_0x5b551f)=>(_0x4d5def,_0x4fee70)=>_0x5b551f(_0x4d5def,_0x4fee70,_0x137953);let re=class{constructor(_0x5375e0,_0x114fa9,_0x2333ca){const _0xf17f26=_0x306380;this[_0xf17f26(0x1b9)]=_0x5375e0,this[_0xf17f26(0x23b)]=_0x114fa9,this[_0xf17f26(0x10e)]=_0x2333ca;}['transformIMECache'](_0x133c1b){const _0x409057=_0x306380;this[_0x409057(0x257)](_0x133c1b),this[_0x409057(0x128)](_0x133c1b);}[_0x306380(0x1f7)](_0x425852){const _0x8f627b=_0x306380,{unitID:_0x2a7325}=_0x425852,_0x1a6cdd=this[_0x8f627b(0x10e)][_0x8f627b(0x1c5)](_0x2a7325)['with'](_0x369c07),{redoCache:_0xf4980d}=_0x1a6cdd[_0x8f627b(0x176)]();if(_0xf4980d[_0x8f627b(0x2e0)]===0x0)return _0x425852;let _0x411fe3=_0x322f9c['deepClone'](_0x425852[_0x8f627b(0x1bb)][0x0]);for(let _0x63f9c1=0x0;_0x63f9c1<_0xf4980d['length'];_0x63f9c1++){const _0x2e3940={'id':_0x8f627b(0x117),'params':{..._0xf4980d[_0x63f9c1]}},_0x1e0b23=this[_0x8f627b(0x23b)]['transformMutation'](_0x411fe3,_0x2e3940,!0x1);if(_0x321bf4(_0x1e0b23))throw _0x1e0b23[_0x8f627b(0x282)];_0x411fe3=_0x1e0b23['m1Prime'];}return{..._0x322f9c[_0x8f627b(0x12a)](_0x425852),'mutations':[_0x411fe3]};}[_0x306380(0x257)](_0x12ab8b){const _0x3927f4=_0x306380,{unitID:_0x85626}=_0x12ab8b,_0x5bbd97=this[_0x3927f4(0x10e)][_0x3927f4(0x1c5)](_0x85626)[_0x3927f4(0x1cf)](_0x369c07),{undoCache:_0x2d4da0,redoCache:_0x142f9c}=_0x5bbd97['getUndoRedoMutationParamsCache']();if(_0x2d4da0[_0x3927f4(0x2e0)]===0x0||_0x142f9c[_0x3927f4(0x2e0)]===0x0)return;const _0x175479=[],_0x1aad48=[];let _0x452568=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b['mutations'][0x0]),_0x17cee1=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b[_0x3927f4(0x1bb)][0x0]);for(let _0x116b3f=_0x2d4da0[_0x3927f4(0x2e0)]-0x1;_0x116b3f>=0x0;_0x116b3f--){const _0x1dd24c={'id':_0x3927f4(0x117),'params':{..._0x2d4da0[_0x116b3f]}},_0x483202={'id':_0x3927f4(0x117),'params':{..._0x142f9c[_0x116b3f]}},_0x180b8c=this[_0x3927f4(0x23b)][_0x3927f4(0x1a5)](_0x452568,_0x1dd24c,!0x1),_0x57848d=this[_0x3927f4(0x23b)]['transformMutation'](_0x17cee1,_0x483202,!0x1);if(_0x321bf4(_0x180b8c))throw _0x180b8c[_0x3927f4(0x282)];if(_0x321bf4(_0x57848d))throw _0x57848d['error'];_0x175479[_0x3927f4(0x196)](_0x180b8c['m2Prime'][_0x3927f4(0x18c)]),_0x1aad48[_0x3927f4(0x196)](_0x57848d[_0x3927f4(0x137)]['params']),_0x452568=_0x180b8c['m1Prime'],_0x17cee1=_0x57848d[_0x3927f4(0x1d6)];}_0x5bbd97[_0x3927f4(0x1bc)]({'undoCache':_0x175479,'redoCache':_0x1aad48});}[_0x306380(0x128)](_0x86ddcb){const _0x298518=_0x306380,{unitID:_0x11b421}=_0x86ddcb,_0x5712af=this['_renderManagerService'][_0x298518(0x1c5)](_0x11b421)[_0x298518(0x1cf)](_0x369c07),_0x11904a=_0x5712af['getActiveRange']();if(_0x11904a==null)return;const _0x5313e8=[{'id':_0x298518(0x117),'params':{'unitId':_0x86ddcb[_0x298518(0x1ea)],'actions':null,'textRanges':[_0x11904a]}}],_0x124675=this[_0x298518(0x23b)]['transformMutationsWithChangeset'](_0x86ddcb,_0x5313e8);if(!_0x2157ba(_0x124675))throw _0x124675[_0x298518(0x282)];const _0x5d6ca2=_0x124675[_0x298518(0x137)][0x0][_0x298518(0x18c)][_0x298518(0x204)];Array[_0x298518(0x2cf)](_0x5d6ca2)&&_0x5d6ca2[_0x298518(0x2e0)]&&_0x5712af['setActiveRange'](_0x5d6ca2[0x0]);}};re=cn([Ce(0x0,_0x3afd9e(_0x4b117)),Ce(0x1,_0x7bf59f),Ce(0x2,_0x177c33)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a60ad,_0x1d4814,_0x18f0fb,_0x4868e7)=>{const _0xe19d2f=_0x306380;for(var _0x30709c=_0x4868e7>0x1?void 0x0:_0x4868e7?ln(_0x1d4814,_0x18f0fb):_0x1d4814,_0xba1704=_0x1a60ad[_0xe19d2f(0x2e0)]-0x1,_0x7f0164;_0xba1704>=0x0;_0xba1704--)(_0x7f0164=_0x1a60ad[_0xba1704])&&(_0x30709c=_0x7f0164(_0x30709c)||_0x30709c);return _0x30709c;},Ee=(_0x5726fd,_0x284a40)=>(_0xb203ad,_0x17edaf)=>_0x284a40(_0xb203ad,_0x17edaf,_0x5726fd);let oe=class{constructor(_0x4d2a88,_0xfd729,_0x360081){const _0x1c5d1c=_0x306380;this[_0x1c5d1c(0x1b9)]=_0x4d2a88,this[_0x1c5d1c(0x23b)]=_0xfd729,this[_0x1c5d1c(0x14c)]=_0x360081;}[_0x306380(0x183)](_0x31f776){const _0x144dcd=_0x306380;this[_0x144dcd(0x2de)](_0x31f776);}[_0x306380(0x1f7)](_0x4c796f){const _0x436a98=_0x306380,{unitID:_0x41ea11}=_0x4c796f,{collaboration:_0x30b55b}=this[_0x436a98(0x14c)][_0x436a98(0x219)](_0x41ea11);if(_0x30b55b[_0x436a98(0x2e0)]===0x0)return _0x4c796f;let _0xecfa47=_0x322f9c[_0x436a98(0x12a)](_0x4c796f[_0x436a98(0x1bb)][0x0]);for(let _0x4765c8=0x0;_0x4765c8<_0x30b55b[_0x436a98(0x2e0)];_0x4765c8++){const _0x5476e0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30b55b[_0x4765c8][_0x436a98(0x1f1)],..._0x30b55b[_0x4765c8]['redoState']}},_0x2cdfe4=this['_transformService'][_0x436a98(0x1a5)](_0xecfa47,_0x5476e0,!0x1);if(_0x321bf4(_0x2cdfe4))throw _0x2cdfe4[_0x436a98(0x282)];_0xecfa47=_0x2cdfe4[_0x436a98(0x1d6)];}return{..._0x322f9c[_0x436a98(0x12a)](_0x4c796f),'mutations':[_0xecfa47]};}[_0x306380(0x2de)](_0x10f425){const _0x1f4820=_0x306380,{unitID:_0x1998fe}=_0x10f425,{history:_0x70fc5,collaboration:_0x19201c}=this['_docStateChangeManagerService'][_0x1f4820(0x219)](_0x1998fe);if(_0x70fc5['length']===0x0&&_0x19201c[_0x1f4820(0x2e0)]===0x0)return;const _0x563ef4=[],_0x49d2f4=[];let _0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x1a18a5=_0x70fc5[_0x1f4820(0x2e0)]-0x1;_0x1a18a5>=0x0;_0x1a18a5--){const _0x5e0dbe={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5]['unitId'],..._0x70fc5[_0x1a18a5][_0x1f4820(0x298)]}},_0x579e49={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5][_0x1f4820(0x1f1)],..._0x70fc5[_0x1a18a5][_0x1f4820(0x15d)]}},_0x48863d=this['_transformService'][_0x1f4820(0x1a5)](_0x462df3,_0x5e0dbe,!0x1),_0x2ff7eb=this[_0x1f4820(0x23b)]['transformMutation'](_0x37310f,_0x579e49,!0x1);if(_0x321bf4(_0x48863d))throw _0x48863d[_0x1f4820(0x282)];if(_0x321bf4(_0x2ff7eb))throw _0x2ff7eb[_0x1f4820(0x282)];_0x563ef4[_0x1f4820(0x196)]({..._0x70fc5[_0x1a18a5],'undoState':_0x48863d[_0x1f4820(0x137)][_0x1f4820(0x18c)],'redoState':_0x2ff7eb[_0x1f4820(0x137)][_0x1f4820(0x18c)]}),_0x462df3=_0x48863d[_0x1f4820(0x1d6)],_0x37310f=_0x2ff7eb[_0x1f4820(0x1d6)];}_0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c[_0x1f4820(0x12a)](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x4f471e=_0x19201c[_0x1f4820(0x2e0)]-0x1;_0x4f471e>=0x0;_0x4f471e--){const _0x3402d5={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x298)]}},_0x5dd02b={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x15d)]}},_0x2e8557=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x462df3,_0x3402d5,!0x1),_0x3cbd89=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x37310f,_0x5dd02b,!0x1);if(_0x321bf4(_0x2e8557))throw _0x2e8557[_0x1f4820(0x282)];if(_0x321bf4(_0x3cbd89))throw _0x3cbd89[_0x1f4820(0x282)];_0x49d2f4['unshift']({..._0x19201c[_0x4f471e],'undoState':_0x2e8557['m2Prime'][_0x1f4820(0x18c)],'redoState':_0x3cbd89['m2Prime'][_0x1f4820(0x18c)]}),_0x462df3=_0x2e8557[_0x1f4820(0x1d6)],_0x37310f=_0x3cbd89[_0x1f4820(0x1d6)];}this['_docStateChangeManagerService'][_0x1f4820(0x299)](_0x1998fe,{'history':_0x563ef4,'collaboration':_0x49d2f4});}};oe=_n([Ee(0x0,_0x3afd9e(_0x4b117)),Ee(0x1,_0x7bf59f),Ee(0x2,_0x3afd9e(_0x3d861c))],oe);var hn=Object[_0x306380(0x295)],un=(_0x3463ae,_0x150ecd,_0x3980ab,_0xbddcac)=>{const _0x1b0f79=_0x306380;for(var _0x959cf5=_0xbddcac>0x1?void 0x0:_0xbddcac?hn(_0x150ecd,_0x3980ab):_0x150ecd,_0xb9f0de=_0x3463ae[_0x1b0f79(0x2e0)]-0x1,_0x539c80;_0xb9f0de>=0x0;_0xb9f0de--)(_0x539c80=_0x3463ae[_0xb9f0de])&&(_0x959cf5=_0x539c80(_0x959cf5)||_0x959cf5);return _0x959cf5;},it=(_0x42711a,_0x4c06be)=>(_0x2608e1,_0x2ac2c6)=>_0x4c06be(_0x2608e1,_0x2ac2c6,_0x42711a);let ae=class{constructor(_0x248992,_0x402260){const _0x5d2739=_0x306380;this[_0x5d2739(0x1b9)]=_0x248992,this[_0x5d2739(0x23b)]=_0x402260;}['transformSelections'](_0x377380){const _0x29d80b=_0x306380;var _0x5f797;const _0xdf5d4a=this[_0x29d80b(0x1b9)][_0x29d80b(0x1b8)](_0x512101),_0xd98f1c=(_0x5f797=_0xdf5d4a['getDocRanges']())!=null?_0x5f797:[];if(_0xd98f1c[_0x29d80b(0x2e0)]===0x0)return;const _0x11fe1e=_0x377380['unitID'],_0x19fcf9=[{'id':_0x29d80b(0x117),'params':{'unitId':_0x11fe1e,'actions':null,'textRanges':_0xd98f1c}}],_0x4d71a9=this[_0x29d80b(0x23b)][_0x29d80b(0x23d)](_0x377380,_0x19fcf9);if(!_0x2157ba(_0x4d71a9))throw _0x4d71a9[_0x29d80b(0x282)];const _0x3ab2ed=_0x4d71a9[_0x29d80b(0x137)][0x0][_0x29d80b(0x18c)]['textRanges'];Array['isArray'](_0x3ab2ed)&&_0x3ab2ed['length']&&_0xdf5d4a[_0x29d80b(0x1cc)](_0x3ab2ed,{'unitId':_0x11fe1e,'subUnitId':_0x11fe1e},!0x1);}};ae=un([it(0x0,_0x3afd9e(_0x4b117)),it(0x1,_0x7bf59f)],ae);var dn=Object[_0x306380(0x295)],fn=(_0x4ae8a7,_0x515976,_0x48cb61,_0x11dde6)=>{const _0x194f81=_0x306380;for(var _0x32d922=_0x11dde6>0x1?void 0x0:_0x11dde6?dn(_0x515976,_0x48cb61):_0x515976,_0x4ea486=_0x4ae8a7[_0x194f81(0x2e0)]-0x1,_0x79be08;_0x4ea486>=0x0;_0x4ea486--)(_0x79be08=_0x4ae8a7[_0x4ea486])&&(_0x32d922=_0x79be08(_0x32d922)||_0x32d922);return _0x32d922;},M=(_0xba34d2,_0x4d410e)=>(_0x1c06e6,_0x43fe72)=>_0x4d410e(_0x1c06e6,_0x43fe72,_0xba34d2);let ce=class extends _0x212855{constructor(_0x35c4fa,_0x53bd8e,_0x49d381,_0x43d913,_0x38fb2b,_0x294169,_0x28d9b7,_0x342100){const _0x529c6c=_0x306380;super(),_(this,_0x529c6c(0x154),new _0x39027c(_0x344fd8['NOT_COLLAB'])),(this[_0x529c6c(0x14c)]=_0x35c4fa,this[_0x529c6c(0x2ae)]=_0x53bd8e,this[_0x529c6c(0x2c6)]=_0x49d381,this[_0x529c6c(0x123)]=_0x43d913,this[_0x529c6c(0x278)]=_0x38fb2b,this[_0x529c6c(0x290)]=_0x294169,this[_0x529c6c(0x1c4)]=_0x28d9b7,this[_0x529c6c(0x2ab)]=_0x342100,this[_0x529c6c(0x1df)]());}[_0x306380(0x1df)](){const _0x80f84a=_0x306380;this[_0x80f84a(0x1a6)](this[_0x80f84a(0x2ae)][_0x80f84a(0x28c)]['subscribe'](_0x2c1d62=>{const _0x3ecf4c=_0x80f84a,_0x433b06=this['_docStateChangeManagerService'][_0x3ecf4c(0x1aa)][_0x3ecf4c(0x126)](_0x231709=>{const _0x5956de=_0x3ecf4c;if(_0x231709==null)return;const {unitId:_0xc42a03,redoState:_0x36c3c7,commandId:_0x2306e5}=_0x231709;if(_0xc42a03!==_0x2c1d62[_0x5956de(0x1ea)])return;const _0x4a439d={'id':_0x2306e5,'type':_0x1846a2[_0x5956de(0x2f8)],'params':{'unitId':_0xc42a03,'actions':_0x36c3c7[_0x5956de(0x2ac)],'textRanges':null}};_0x2c1d62[_0x5956de(0x149)](_0x4a439d);});if(_0x2c1d62[_0x3ecf4c(0x1a6)](_0x433b06),_0x2c1d62 instanceof _0x530020){const _0x20c5a6={'onTransformIME':_0x5b5d21=>this[_0x3ecf4c(0x2c6)][_0x3ecf4c(0x205)](_0x5b5d21),'onTransformState':_0x48c2c4=>this[_0x3ecf4c(0x123)][_0x3ecf4c(0x183)](_0x48c2c4),'onTransformSelections':_0x417459=>this[_0x3ecf4c(0x278)][_0x3ecf4c(0x2d9)](_0x417459),'onSyncEditingCollabCursor':_0x362dd5=>this[_0x3ecf4c(0x290)][_0x3ecf4c(0x210)](_0x362dd5),'onTransformRemoteChangesetByIMECache':_0x1f8149=>this['_docTransformIMECacheService'][_0x3ecf4c(0x1f7)](_0x1f8149),'onTransformRemoteChangesetByStateCache':_0x169d36=>this[_0x3ecf4c(0x123)]['transformRemoteChangeset'](_0x169d36)};_0x2c1d62[_0x3ecf4c(0x17e)](_0x20c5a6);}}));}};ce=fn([M(0x0,_0x3afd9e(_0x3d861c)),M(0x1,_0x3afd9e(_0x354dfa)),M(0x2,_0x3afd9e(re)),M(0x3,_0x3afd9e(oe)),M(0x4,_0x3afd9e(ae)),M(0x5,_0x3afd9e(je)),M(0x6,_0x555e39),M(0x7,_0x3afd9e(_0x4d2fab))],ce);var Sn=Object[_0x306380(0x295)],mn=(_0x558ef0,_0x4b59bf,_0x56a666,_0x4fc549)=>{const _0x184afe=_0x306380;for(var _0x27919e=_0x4fc549>0x1?void 0x0:_0x4fc549?Sn(_0x4b59bf,_0x56a666):_0x4b59bf,_0x3c4f89=_0x558ef0[_0x184afe(0x2e0)]-0x1,_0x44dd11;_0x3c4f89>=0x0;_0x3c4f89--)(_0x44dd11=_0x558ef0[_0x3c4f89])&&(_0x27919e=_0x44dd11(_0x27919e)||_0x27919e);return _0x27919e;},be=(_0x2e7e58,_0x58c07a)=>(_0x4f4ddb,_0x66bc50)=>_0x58c07a(_0x4f4ddb,_0x66bc50,_0x2e7e58);let Ae=class extends _0x212855{constructor(_0x3f93f2,_0x11fa74,_0x277811){const _0x397773=_0x306380;super(),_(this,_0x397773(0x13d),new Map()),_(this,_0x397773(0x27f),new Map()),_(this,_0x397773(0x2c7),!0x1),(this[_0x397773(0x26c)]=_0x3f93f2,this[_0x397773(0xf8)]=_0x11fa74,this[_0x397773(0x29d)]=_0x277811);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x306380(0x203)](){this['_disabled']=!0x1;}get[_0x306380(0x12e)](){return this['_saveTaskMap'];}[_0x306380(0x211)](){const _0x429b2a=_0x306380;this[_0x429b2a(0x2bf)]()['then'](()=>super[_0x429b2a(0x211)]());}async['loadOfflineData'](_0xe7b16d){const _0x23f34c=_0x306380;return this[_0x23f34c(0x2c7)]?null:this[_0x23f34c(0xf8)][_0x23f34c(0x235)](_0x1ae124(_0xe7b16d));}async[_0x306380(0x2ef)](_0x320e70,_0x17cbf6){const _0x1d501c=_0x306380;return!!this[_0x1d501c(0xf8)]['setItem'](_0x320e70,_0x17cbf6);}[_0x306380(0x121)](_0x263ab1,_0x54c751,_0x1b632a,_0x186f8b){const _0x5e342c=_0x306380,_0x36846a=this[_0x5e342c(0x29d)][_0x5e342c(0x18e)](_0x263ab1);this['_cachedData'][_0x5e342c(0x1d4)](_0x263ab1,{'unitID':_0x263ab1,'type':_0x54c751,'awaitingChangeset':_0x1b632a,'mutations':_0x186f8b,'rev':_0x36846a}),this[_0x5e342c(0x27f)][_0x5e342c(0x291)](_0x263ab1)||this[_0x5e342c(0x21d)](_0x263ab1);}[_0x306380(0x21d)](_0x221e3b){const _0x246fff=_0x306380,_0x58fb67=this[_0x246fff(0x163)]();_0x58fb67===0x0?this[_0x246fff(0x2d8)](_0x221e3b):this[_0x246fff(0x27f)][_0x246fff(0x1d4)](_0x221e3b,setTimeout(()=>this[_0x246fff(0x2d8)](_0x221e3b),_0x58fb67));}[_0x306380(0x163)](){const _0x1f66d6=_0x306380;var _0x43f1d8;return(_0x43f1d8=this[_0x1f66d6(0x26c)][_0x1f66d6(0x234)](_0x4ab531))!=null?_0x43f1d8:_0xc97530;}[_0x306380(0x2d8)](_0x2242d6){const _0x2eca1e=_0x306380,_0x109f30=this[_0x2eca1e(0x27f)][_0x2eca1e(0x1b8)](_0x2242d6);return _0x109f30!==void 0x0&&window[_0x2eca1e(0x175)](_0x109f30),this[_0x2eca1e(0xf8)]['setItem'](_0x1ae124(_0x2242d6),this[_0x2eca1e(0x13d)][_0x2eca1e(0x1b8)](_0x2242d6))[_0x2eca1e(0x2b9)](()=>this['_saveTaskMap']['delete'](_0x2242d6));}async['exhaustSavingTask'](){const _0x1f76de=_0x306380,_0x3d368b=[];this[_0x1f76de(0x27f)][_0x1f76de(0x159)]((_0x54b11e,_0x4751a4)=>{const _0xad21b0=_0x1f76de;window[_0xad21b0(0x175)](_0x54b11e),_0x3d368b['push'](this[_0xad21b0(0x2d8)](_0x4751a4)[_0xad21b0(0x2b9)](()=>{const _0x45224c=_0xad21b0;this[_0x45224c(0x27f)][_0x45224c(0x1ae)](_0x4751a4);}));}),await Promise[_0x1f76de(0x289)](_0x3d368b);}};Ae=mn([be(0x0,_0xc0ea31),be(0x1,_0x5971f0),be(0x2,_0x3afd9e(_0x15ca61))],Ae);class gn extends _0x105c1b{constructor(){const _0x1efaa0=_0x306380;super(),_(this,_0x1efaa0(0x2b7)),this[_0x1efaa0(0x2b7)]=_0x1b2312(window,_0x1efaa0(0x10f))[_0x1efaa0(0x17b)](_0x49b09f(this[_0x1efaa0(0x2cb)]),_0x51a7e2(0x1),_0x33a373(void 0x0));}['setParam'](_0x891271,_0x282fbe,_0xe4140a=!0x1){const _0x19ed70=_0x306380,_0x301c81=new URL(window[_0x19ed70(0x24b)]['href']);_0x301c81[_0x19ed70(0x1d7)][_0x19ed70(0x1d4)](_0x891271,_0x282fbe),_0xe4140a?window['history'][_0x19ed70(0x152)]('','',_0x301c81[_0x19ed70(0x1d1)]()):window['history'][_0x19ed70(0x1ee)]('','',_0x301c81[_0x19ed70(0x1d1)]());}[_0x306380(0x115)](_0x340b4a,_0x130e90=!0x1){const _0x24d728=_0x306380,_0x37a95c=new URL(window[_0x24d728(0x24b)][_0x24d728(0x274)]);_0x37a95c[_0x24d728(0x1d7)]['delete'](_0x340b4a),_0x130e90?window[_0x24d728(0x279)][_0x24d728(0x152)]('','',_0x37a95c[_0x24d728(0x1d1)]()):window[_0x24d728(0x279)][_0x24d728(0x1ee)]('','',_0x37a95c[_0x24d728(0x1d1)]());}[_0x306380(0x1bd)](_0xa3c4a4){const _0x5b3bcd=_0x306380;var _0x6c9200;return(_0x6c9200=new URL(window['location'][_0x5b3bcd(0x274)])[_0x5b3bcd(0x1d7)]['get'](_0xa3c4a4))!=null?_0x6c9200:void 0x0;}}var vn=Object[_0x306380(0xfd)],In=Object['getOwnPropertyDescriptor'],pn=(_0x14262,_0x261fe4,_0x3ed8e2)=>_0x261fe4 in _0x14262?vn(_0x14262,_0x261fe4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ed8e2}):_0x14262[_0x261fe4]=_0x3ed8e2,Cn=(_0x31e64b,_0x22fda8,_0x36257a,_0x82c00)=>{const _0x3f8b1e=_0x306380;for(var _0x2ca7e9=_0x82c00>0x1?void 0x0:_0x82c00?In(_0x22fda8,_0x36257a):_0x22fda8,_0x2af5e4=_0x31e64b[_0x3f8b1e(0x2e0)]-0x1,_0x58d56a;_0x2af5e4>=0x0;_0x2af5e4--)(_0x58d56a=_0x31e64b[_0x2af5e4])&&(_0x2ca7e9=_0x58d56a(_0x2ca7e9)||_0x2ca7e9);return _0x2ca7e9;},Oe=(_0x1c561f,_0x5a2db1)=>(_0x172962,_0x5a1205)=>_0x5a2db1(_0x172962,_0x5a1205,_0x1c561f),En=(_0x579895,_0x2054c4,_0x11bb44)=>pn(_0x579895,_0x2054c4+'',_0x11bb44);const bn=_0x306380(0x132);let ye=class extends _0x90d560{constructor(_0x551e75=st,_0x1b2b55,_0xdd102a,_0x2872e1){const _0x57c648=_0x306380;super(),this[_0x57c648(0x294)]=_0x551e75,this[_0x57c648(0x10e)]=_0x1b2b55,this[_0x57c648(0x1b9)]=_0xdd102a,this[_0x57c648(0x26c)]=_0x2872e1;const {..._0x4cf0ce}=_0x2d7b3e({},st,this[_0x57c648(0x294)]);this['_configService'][_0x57c648(0x227)](nn,_0x4cf0ce);}[_0x306380(0x281)](){const _0x42dada=_0x306380;this[_0x42dada(0x2ee)](),this[_0x42dada(0x2aa)]();}[_0x306380(0x100)](){const _0x43a6f3=_0x306380;this[_0x43a6f3(0x1a0)]();}['_registerDependencies'](){const _0x3784d0=_0x306380;var _0x5c6ba1;const _0x225202=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x1c152f,{'useClass':_0x1ad0bd}],[_0x2f27fe,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x1e658b(this[_0x3784d0(0x1b9)],_0x3021db(_0x225202,(_0x5c6ba1=this[_0x3784d0(0x294)])==null?void 0x0:_0x5c6ba1[_0x3784d0(0x214)]));}[_0x306380(0x1a0)](){const _0x257579=_0x306380;this['disposeWithMe'](this['_renderManagerService'][_0x257579(0x22a)](_0x1cd4b1['UNIVER_DOC'],[Ue])),this[_0x257579(0x1a6)](this[_0x257579(0x10e)][_0x257579(0x22a)](_0x1cd4b1[_0x257579(0x1cd)],[Le]));}[_0x306380(0x2aa)](){_0x2f0202(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x20d232(_0x5bbdcb),Oe(0x1,_0x177c33),Oe(0x2,_0x3afd9e(_0x4b117)),Oe(0x3,_0xc0ea31)],ye);var On=Object[_0x306380(0x295)],Tn=(_0x158ea8,_0x1a6f01,_0x5650ca,_0x3f9b9c)=>{const _0x3047c4=_0x306380;for(var _0x2771f9=_0x3f9b9c>0x1?void 0x0:_0x3f9b9c?On(_0x1a6f01,_0x5650ca):_0x1a6f01,_0x4c0afb=_0x158ea8[_0x3047c4(0x2e0)]-0x1,_0x3299fa;_0x4c0afb>=0x0;_0x4c0afb--)(_0x3299fa=_0x158ea8[_0x4c0afb])&&(_0x2771f9=_0x3299fa(_0x2771f9)||_0x2771f9);return _0x2771f9;},z=(_0xd51696,_0x41f16b)=>(_0x1687b0,_0x442244)=>_0x41f16b(_0x1687b0,_0x442244,_0xd51696);let nt=class extends _0x1b0c2c{constructor(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22){super(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22);}async[_0x306380(0x20b)](_0xebd338){const _0x361353=_0x306380,_0x4d9076=await this[_0x361353(0x1b2)](),_0x128fef=this[_0x361353(0x2c1)](_0xebd338,_0x4d9076);return this[_0x361353(0x27d)](_0x128fef);}[_0x306380(0x2c1)](_0x5404b9,_0x5ad75b){const _0x521b6a=_0x306380,_0x4d5625=typeof window>'u'?new URL(_0x5404b9):new URL(_0x5404b9,window['location']['origin']);_0x4d5625[_0x521b6a(0x1d7)][_0x521b6a(0x1d4)]('sessionTicket',_0x5ad75b);const _0x12ca2b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x12ca2b[_0x521b6a(0x1b8)]('runId')&&_0x4d5625['searchParams'][_0x521b6a(0x1d4)](_0x521b6a(0x221),_0x12ca2b[_0x521b6a(0x1b8)](_0x521b6a(0x221))),_0x4d5625['toString']();}async[_0x306380(0x1b2)](){const _0x222b9e=_0x306380;var _0x447af1,_0x540313,_0x3bfc1b;const _0x5eb770=this['_configService'][_0x222b9e(0x234)](_0x533465),_0x55af49=(_0x447af1=_0x5eb770==null?void 0x0:_0x5eb770['wsSessionTicketUrl'])!=null?_0x447af1:_0xa647e2;return(_0x3bfc1b=(_0x540313=(await this[_0x222b9e(0x245)][_0x222b9e(0x1b8)](_0x55af49,{'headers':{'Content-Type':'application/json'}}))[_0x222b9e(0x206)])==null?void 0x0:_0x540313[_0x222b9e(0x19c)])!=null?_0x3bfc1b:'';}};nt=Tn([z(0x0,_0x3afd9e(_0x4b117)),z(0x1,_0x3afd9e(_0x6f80c5)),z(0x2,_0xc0ea31),z(0x3,_0x3120e3),z(0x4,_0x11ed14)],nt);const rt=0x7530,ot=_0x306380(0x232);class Gn extends _0x212855{constructor(){const _0x55074a=_0x306380;super(),_(this,_0x55074a(0x1f3),_0xe28911()),_(this,_0x55074a(0x1f5),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x55074a(0x2a3),null),_(this,_0x55074a(0x148),new Map()),_(this,_0x55074a(0x1c3),new Map()),this[_0x55074a(0x18a)]();}[_0x306380(0x211)](){const _0x5798a6=_0x306380;super[_0x5798a6(0x211)](),this[_0x5798a6(0x148)][_0x5798a6(0x159)]((_0x23a908,_0x3b8c18)=>this['_removeClearOtherTimer'](_0x3b8c18)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x5798a6(0x2a3)]);}[_0x306380(0x271)](_0x412a82){const _0x59a341=_0x306380;return this[_0x59a341(0x2f7)](_0x412a82)['pipe'](_0x26e109());}['editingUnit'](_0x11914e){const _0xfa1bef=_0x306380;this[_0xfa1bef(0x1f5)][_0xfa1bef(0x112)]===0x0&&this[_0xfa1bef(0x2e7)](),this[_0xfa1bef(0x1f5)][_0xfa1bef(0x184)](_0x11914e),this[_0xfa1bef(0x2c2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x11914e],'isForwarded':!0x1});}[_0x306380(0x1fa)](_0x19e465){const _0x13fdac=_0x306380;this[_0x13fdac(0x1f5)][_0x13fdac(0x1ae)](_0x19e465),this[_0x13fdac(0x1f5)][_0x13fdac(0x112)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x306380(0x18a)](){const _0x1d7488=_0x306380;this['disposeWithMe'](_0x360a92(_0x1b2312(window,_0x1d7488(0x24a))[_0x1d7488(0x126)](_0x36cb0f=>{const _0x2fea29=_0x1d7488;if(_0x36cb0f[_0x2fea29(0x19e)]!==ot||!_0x36cb0f[_0x2fea29(0x145)])return;const _0x34b156=JSON[_0x2fea29(0x192)](_0x36cb0f[_0x2fea29(0x145)]);this[_0x2fea29(0x1b1)](_0x34b156);}))),window[_0x1d7488(0x263)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1d7488(0x1fd)](this[_0x1d7488(0x1f5)])}));}[_0x306380(0x1b1)](_0x1520af){const _0x24f193=_0x306380;switch(_0x1520af[_0x24f193(0x250)]){case 0x0:this['_handleJoinEvent'](_0x1520af);break;case 0x1:this['_handleLeaveEvent'](_0x1520af);break;case 0x2:this[_0x24f193(0x2c9)](_0x1520af);break;}}[_0x306380(0x2b6)](_0x596af1){const _0x5e6698=_0x306380,{unitIDs:_0x38504b,memberID:_0x40b2a5,isForwarded:_0x56ec9e}=_0x596af1;_0x38504b[_0x5e6698(0x159)](_0xb4e42f=>{const _0x4e1aa1=_0x5e6698;if(!_0x56ec9e&&this['_unitOnClients']['has'](_0xb4e42f)&&this['_ensureSubject'](_0xb4e42f)[_0x4e1aa1(0x157)](_0x26192f['OTHER_CLIENTS_EDITING']),!this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x291)](_0xb4e42f)||!this['_unitOnClients']['get'](_0xb4e42f)[_0x4e1aa1(0x291)](_0x40b2a5)){const _0x258f8b=this[_0x4e1aa1(0x26e)]['get'](_0xb4e42f)||new Set();_0x258f8b[_0x4e1aa1(0x184)](_0x40b2a5),this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x1d4)](_0xb4e42f,_0x258f8b),this[_0x4e1aa1(0x2ca)](_0x40b2a5);}}),_0x56ec9e||this[_0x5e6698(0x2c2)]({'type':0x0,'memberID':this[_0x5e6698(0x1f3)],'unitIDs':[...this[_0x5e6698(0x1f5)]],'isForwarded':!0x0});}[_0x306380(0x2ca)](_0x74003c){const _0xf6bd2a=_0x306380;this[_0xf6bd2a(0x146)](_0x74003c);const _0x344e1f=window[_0xf6bd2a(0x2a8)](()=>{const _0x4530b4=_0xf6bd2a;this[_0x4530b4(0x26e)]['forEach'](_0x56e242=>{const _0x35e276=_0x4530b4;_0x56e242[_0x35e276(0x1ae)](_0x74003c);});},rt*0x2);this[_0xf6bd2a(0x148)][_0xf6bd2a(0x1d4)](_0x74003c,_0x344e1f);}[_0x306380(0x146)](_0x53616b){const _0x241241=_0x306380;if(this[_0x241241(0x148)][_0x241241(0x291)](_0x53616b)){const _0x74c6ea=this[_0x241241(0x148)][_0x241241(0x1b8)](_0x53616b);_0x74c6ea&&window['clearTimeout'](_0x74c6ea),this[_0x241241(0x148)][_0x241241(0x1d4)](_0x53616b,null);}}[_0x306380(0x167)](_0x414385){const _0x42523d=_0x306380,{memberID:_0x16804a,unitIDs:_0x352d1a}=_0x414385;_0x352d1a[_0x42523d(0x159)](_0x2dd0b2=>{const _0x96cb2d=_0x42523d;var _0x1f3953;const _0x34f618=this[_0x96cb2d(0x26e)][_0x96cb2d(0x1b8)](_0x2dd0b2);_0x34f618&&(_0x34f618[_0x96cb2d(0x1ae)](_0x16804a),(_0x1f3953=this[_0x96cb2d(0x2f7)](_0x2dd0b2))==null||_0x1f3953[_0x96cb2d(0x157)](_0x34f618[_0x96cb2d(0x112)]===0x0?_0x26192f[_0x96cb2d(0x1a1)]:_0x26192f[_0x96cb2d(0x1e0)]));}),this[_0x42523d(0x146)](_0x16804a);}[_0x306380(0x2c9)](_0x530796){const _0x3228b2=_0x306380;this[_0x3228b2(0x2ca)](_0x530796[_0x3228b2(0x2d4)]);}[_0x306380(0x2c2)](_0x2933b5){const _0x3278df=_0x306380;localStorage[_0x3278df(0x259)](ot,JSON['stringify'](_0x2933b5));}[_0x306380(0x2e7)](){const _0x4443bc=_0x306380;this[_0x4443bc(0x2a3)]=window[_0x4443bc(0x1d8)](()=>{const _0x1f3af7=_0x4443bc;this[_0x1f3af7(0x2c2)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x306380(0x2f7)](_0x45cdfb){const _0x4495ef=_0x306380;return this[_0x4495ef(0x1c3)][_0x4495ef(0x291)](_0x45cdfb)||this[_0x4495ef(0x1c3)][_0x4495ef(0x1d4)](_0x45cdfb,new _0x39027c(_0x26192f['NO_OTHER_CLIENTS_EDITING'])),this[_0x4495ef(0x1c3)][_0x4495ef(0x1b8)](_0x45cdfb);}}var Ut=(_0x4730d0=>(_0x4730d0[_0x4730d0[_0x306380(0x28d)]=0x0]='UNDEFINED',_0x4730d0[_0x4730d0['OK']=0x1]='OK',_0x4730d0[_0x4730d0['INTERNAL_ERROR']=0x2]=_0x306380(0x2c0),_0x4730d0[_0x4730d0[_0x306380(0x13c)]=0x3]='PERMISSION_DENIED',_0x4730d0[_0x4730d0['NOT_FOUND']=0x4]=_0x306380(0x29f),_0x4730d0[_0x4730d0[_0x306380(0x29c)]=0x5]='UNAUTHENTICATED',_0x4730d0[_0x4730d0[_0x306380(0x160)]=0x6]=_0x306380(0x160),_0x4730d0[_0x4730d0['INVALID_ARGUMENT']=0x7]=_0x306380(0x266),_0x4730d0[_0x4730d0['TOO_MANY_REQUESTS']=0x8]=_0x306380(0x284),_0x4730d0[_0x4730d0[_0x306380(0x136)]=0x9]='COMPLETION_FINISHED',_0x4730d0[_0x4730d0['LOGIN_FAILED']=0xa]=_0x306380(0x19b),_0x4730d0[_0x4730d0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x306380(0x1ef),_0x4730d0[_0x4730d0[_0x306380(0x173)]=0x1771]=_0x306380(0x173),_0x4730d0[_0x4730d0[_0x306380(0x1b0)]=0x1772]=_0x306380(0x1b0),_0x4730d0[_0x4730d0[_0x306380(0x1a8)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4730d0[_0x4730d0[_0x306380(0x1fc)]=0x1b59]='APPLY_REJECT',_0x4730d0[_0x4730d0[_0x306380(0x2b5)]=0x1b5a]=_0x306380(0x2b5),_0x4730d0[_0x4730d0[_0x306380(0x209)]=0x1b5b]=_0x306380(0x209),_0x4730d0[_0x4730d0[_0x306380(0x180)]=0x1b5c]=_0x306380(0x180),_0x4730d0[_0x4730d0[_0x306380(0x1a2)]=0x1b5d]=_0x306380(0x1a2),_0x4730d0[_0x4730d0[_0x306380(0x229)]=0x1f41]=_0x306380(0x229),_0x4730d0[_0x4730d0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x306380(0x27e),_0x4730d0[_0x4730d0[_0x306380(0x256)]=0x232a]=_0x306380(0x256),_0x4730d0[_0x4730d0[_0x306380(0x260)]=0x232b]=_0x306380(0x260),_0x4730d0[_0x4730d0[_0x306380(0x20d)]=0x232c]=_0x306380(0x20d),_0x4730d0[_0x4730d0[_0x306380(0x193)]=0x232d]=_0x306380(0x193),_0x4730d0[_0x4730d0[_0x306380(0x23f)]=0x2711]=_0x306380(0x23f),_0x4730d0[_0x4730d0[_0x306380(0x12c)]=0x2712]=_0x306380(0x12c),_0x4730d0[_0x4730d0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x306380(0xfc),_0x4730d0[_0x4730d0[_0x306380(0x213)]=0x2714]=_0x306380(0x213),_0x4730d0[_0x4730d0[_0x306380(0x1d9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4730d0[_0x4730d0[_0x306380(0x2d6)]=0x2ee1]=_0x306380(0x2d6),_0x4730d0[_0x4730d0['INVALID_INVITE_CODE']=0x2ee2]=_0x306380(0x1d0),_0x4730d0[_0x4730d0[_0x306380(0x273)]=0x2ee3]=_0x306380(0x273),_0x4730d0[_0x4730d0[_0x306380(0x177)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4730d0[_0x4730d0[_0x306380(0x1ff)]=0x2ee5]=_0x306380(0x1ff),_0x4730d0[_0x4730d0[_0x306380(0x122)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4730d0[_0x4730d0[_0x306380(0x272)]=0x32ca]=_0x306380(0x272),_0x4730d0[_0x4730d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x306380(0x17c),_0x4730d0[_0x4730d0['UNRECOGNIZED']=-0x1]=_0x306380(0x199),_0x4730d0))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x232ef5,_0x43b50b,_0x589066,_0x467341)=>{const _0x34e8a0=_0x306380;for(var _0x1a9202=_0x467341>0x1?void 0x0:_0x467341?Rn(_0x43b50b,_0x589066):_0x43b50b,_0x2f98fd=_0x232ef5[_0x34e8a0(0x2e0)]-0x1,_0x102be9;_0x2f98fd>=0x0;_0x2f98fd--)(_0x102be9=_0x232ef5[_0x2f98fd])&&(_0x1a9202=_0x102be9(_0x1a9202)||_0x1a9202);return _0x1a9202;},Te=(_0xa7d7bd,_0xc1adde)=>(_0x916aa,_0x5cd54a)=>_0xc1adde(_0x916aa,_0x5cd54a,_0xa7d7bd);function _0x5f42(_0x54fe83,_0x588624){const _0x4b500d=_0x4b50();return _0x5f42=function(_0x5f42cc,_0x355242){_0x5f42cc=_0x5f42cc-0xf7;let _0x2b47d0=_0x4b500d[_0x5f42cc];return _0x2b47d0;},_0x5f42(_0x54fe83,_0x588624);}let at=class extends _0x212855{constructor(_0xa74cbd,_0x216e25,_0x3281f7){const _0x2b1cad=_0x306380;super(),this[_0x2b1cad(0x237)]=_0xa74cbd,this[_0x2b1cad(0x245)]=_0x216e25,this['_configService']=_0x3281f7;}async[_0x306380(0x280)](_0x4258ec,_0x150119,_0x17a88d,..._0x5e78cf){const _0x9e5a65=_0x306380;var _0x592be8,_0x5aaad2,_0x13ee79,_0x544a82;const _0x5839f4=this[_0x9e5a65(0x237)]['getFocusedUnit']();if(!_0x5839f4)throw new Error(_0x9e5a65(0x28e));const _0x523f8e=((_0x592be8=this[_0x9e5a65(0x26c)]['getConfig'](_0x4c2332))!=null?_0x592be8:_0x1238ce)+'/'+_0x4258ec+_0x9e5a65(0x230)+_0x150119,_0x267f50=new URL(window[_0x9e5a65(0x24b)][_0x9e5a65(0x274)]),_0xcb36d4={'scriptId':_0x4258ec,'runId':(_0x5aaad2=_0x267f50[_0x9e5a65(0x1d7)][_0x9e5a65(0x1b8)](_0x9e5a65(0x221)))!=null?_0x5aaad2:'','function':_0x150119,'unitId':_0x5839f4[_0x9e5a65(0x2a6)](),'argsOfFunction':JSON['stringify'](_0x5e78cf),'invokeId':(_0x13ee79=_0x17a88d[_0x9e5a65(0x2ba)])!=null?_0x13ee79:'','executionId':(_0x544a82=_0x17a88d[_0x9e5a65(0x275)])!=null?_0x544a82:''};try{const _0x58c348=await this[_0x9e5a65(0x245)][_0x9e5a65(0x29a)](_0x523f8e,{'body':_0xcb36d4});return _0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x282)]&&_0x58c348['body'][_0x9e5a65(0x282)]['code']!==Ut['OK']?_0x9e5a65(0x1e3):_0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x1c6)];}catch{return _0x9e5a65(0x1e3);}}};at=Dn([Te(0x0,_0x5f5751),Te(0x1,_0x3afd9e(_0x6f80c5)),Te(0x2,_0xc0ea31)],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 _0x338775=_0x6421;(function(_0x4f1b61,_0x425bed){const _0x4504c9=_0x6421,_0x448b16=_0x4f1b61();while(!![]){try{const _0x210afb=-parseInt(_0x4504c9(0x32e))/0x1+-parseInt(_0x4504c9(0x20f))/0x2+parseInt(_0x4504c9(0x292))/0x3+-parseInt(_0x4504c9(0x2a3))/0x4+parseInt(_0x4504c9(0x1d2))/0x5*(-parseInt(_0x4504c9(0x21f))/0x6)+-parseInt(_0x4504c9(0x261))/0x7+-parseInt(_0x4504c9(0x161))/0x8*(-parseInt(_0x4504c9(0x24b))/0x9);if(_0x210afb===_0x425bed)break;else _0x448b16['push'](_0x448b16['shift']());}catch(_0xcfd4b9){_0x448b16['push'](_0x448b16['shift']());}}}(_0x1a4b,0xe4676));var Bt=Object[_0x338775(0x1a4)],kt=(_0x3d119a,_0x515ade,_0x1efb61)=>_0x515ade in _0x3d119a?Bt(_0x3d119a,_0x515ade,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1efb61}):_0x3d119a[_0x515ade]=_0x1efb61,_=(_0x45e1a9,_0xdcd824,_0x1164aa)=>kt(_0x45e1a9,typeof _0xdcd824!=_0x338775(0x21a)?_0xdcd824+'':_0xdcd824,_0x1164aa);import{MemberService as _0x18bd7b,SessionStatus as _0x1e6c87,CollaborationSessionService as _0x17f3f5,CollaborationStatus as _0x599881,CollaborationController as _0x4d31b0,ILocalCacheService as _0xe1c4aa,CollaborationUIEventService as _0x4a4b9a,CollaborationUIEventId as _0xa1b8b,DataLoaderService as _0x30c2b5,DocCollaborationEntity as _0x4442c1,getLocalCacheKey as _0x311acd,LOCAL_CACHE_INTERVAL as _0x288ada,LOCAL_CACHE_INTERVAL_KEY as _0x3ec25a,UniverCollaborationClientPlugin as _0x9e4dfb,CollaborationSocketService as _0x39ee57,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x58c66f,DEFAULT_WS_SESSION_TICKET_URL as _0x568d0a,UnitStatus as _0x39bb59,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2d1798,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x53ace2}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x13dc53,Disposable as _0x2fcb05,DOC_RANGE_TYPE as _0x47ca0c,Inject as _0x49d929,Injector as _0x241276,IUniverInstanceService as _0x364350,ICommandService as _0x20e3ab,debounce as _0x53e326,Rectangle as _0x314bd4,DisposableCollection as _0x2574a2,toDisposable as _0x294dcb,UniverInstanceType as _0x16d951,Tools as _0x16b904,COLORS as _0x45ad59,ColorKit as _0x3f0e63,ThemeService as _0xbbd8c4,fromEventSubject as _0x500592,LocaleService as _0x4f8085,createIdentifier as _0x4a52d9,ILogService as _0x610049,Optional as _0x7ee6ed,Workbook as _0x30c962,CommandType as _0x38c3e9,IConfigService as _0x189b35,ILocalStorageService as _0x4d8308,DependentOn as _0x23feaa,Plugin as _0x4fdff0,merge as _0x533a3e,registerDependencies as _0xf7a90d,mergeOverrideWithDependencies as _0x48daf9,touchDependencies as _0x224159,generateRandomId as _0x4eddce}from'@univerjs/core';import{Shape as _0x1c2ac1,Rect as _0x3d01dc,getColor as _0x2b18c7,RegularPolygon as _0xe32f83,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x54adbf,Vector2 as _0x4be85b,SHEET_VIEWPORT_KEY as _0x2485d0,IRenderManagerService as _0x51cd9d}from'@univerjs/engine-render';import{ISocketService as _0x5bd2fc,WebSocketService as _0x2afbd4,HTTPService as _0x291cab}from'@univerjs/network';import{IDocClipboardService as _0x25d06c,NodePositionConvertToCursor as _0x4d4d61,NodePositionConvertToRectRange as _0x22a0c4,TEXT_RANGE_LAYER_INDEX as _0x569e5a,SetDocZoomRatioOperation as _0x204e55,DocIMEInputManagerService as _0xbe88ec,DocStateChangeManagerService as _0x2c49da}from'@univerjs/docs-ui';import{IImageIoService as _0x24cbe5}from'@univerjs/drawing';import{BehaviorSubject as _0x119e86,debounceTime as _0xc53d9,takeUntil as _0x2cb0e5,Subject as _0x2e2613,filter as _0xc8bbca,switchMap as _0x49d0e8,merge as _0x1ec183,combineLatest as _0x35de87,of as _0x28c61a,fromEvent as _0x3b7334,shareReplay as _0x4e4a11,mapTo as _0x453bae,distinctUntilChanged as _0x3bfac6}from'rxjs';import{SetTextSelectionsOperation as _0xfe427b,RichTextEditingMutation as _0x359af5,DocSelectionManagerService as _0x46b0b1,DocSkeletonManagerService as _0x5cde45}from'@univerjs/docs';import{ITransformService as _0x5e8ec8,CollaborationEvent as _0x5d41e0,isTransformMutationFailure as _0x21d4bf,isTransformMutationsWithChangesetSuccess as _0xb88eb5,RevisionService as _0x9a1df6,ISnapshotServerService as _0x3c1e9f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2ffaa,serializeRangeWithSheet as _0x42b789}from'@univerjs/engine-formula';import{RefRangeService as _0x1e0d60,SetSelectionsOperation as _0x19f1d6,SheetsSelectionsService as _0xa5f728,EffectRefRangId as _0x28a6d5,handleIRemoveRow as _0x5db946,handleIRemoveCol as _0x19fbef,handleMoveRange as _0xb19e8b,handleInsertRow as _0x5298aa,handleInsertRangeMoveRight as _0x5c1d70,handleInsertRangeMoveDown as _0x12c421,handleInsertCol as _0x3db75d,handleDeleteRangeMoveUp as _0x5c49d2,handleDeleteRangeMoveLeft as _0x1047c0,runRefRangeMutations as _0x575d69,SetWorksheetActivateCommand as _0x9669d3}from'@univerjs/sheets';import{map as _0x454e1f,filter as _0x19ea32,throttleTime as _0x1394ad,takeUntil as _0x3e79f2,switchMap as _0x31ddfd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3a8b8d,getCoordByCell as _0x5db695,getSheetObject as _0x36933e}from'@univerjs/sheets-ui';import{jsx as _0x173f7e,jsxs as _0x221d11}from'react/jsx-runtime';import{useObservable as _0x53bc2a,useDependency as _0x5c8a09,IUIPartsService as _0x59d7ec,BuiltInUIPart as _0x3132f6,connectInjector as _0x23bfb1,IBeforeCloseService as _0x40a6e3,IMessageService as _0x56a492,INotificationService as _0x3f9af0}from'@univerjs/ui';import{clsx as _0x405117,Tooltip as _0x22b028,MessageType as _0x2fb3a3}from'@univerjs/design';import{forwardRef as _0x1ab954,useRef as _0x4e2ba4,createElement as _0x54392a,useCallback as _0x4c9483}from'react';function _0x6421(_0x5227b7,_0x47f22f){const _0x1a4b22=_0x1a4b();return _0x6421=function(_0x64215e,_0x5a8bd0){_0x64215e=_0x64215e-0x133;let _0x3967a2=_0x1a4b22[_0x64215e];return _0x3967a2;},_0x6421(_0x5227b7,_0x47f22f);}import{IRemoteInstanceService as _0x5930a9}from'@univerjs/rpc';var li=Object[_0x338775(0x311)],_i=(_0x2674ea,_0x5341df,_0x323b32,_0x55f8ae)=>{for(var _0x5b30a6=_0x55f8ae>0x1?void 0x0:_0x55f8ae?li(_0x5341df,_0x323b32):_0x5341df,_0x5180b3=_0x2674ea['length']-0x1,_0x2a08b9;_0x5180b3>=0x0;_0x5180b3--)(_0x2a08b9=_0x2674ea[_0x5180b3])&&(_0x5b30a6=_0x2a08b9(_0x5b30a6)||_0x5b30a6);return _0x5b30a6;},Qe=(_0x5979c2,_0x24aab2)=>(_0x3836e7,_0x453c37)=>_0x24aab2(_0x3836e7,_0x453c37,_0x5979c2);let Me=class extends _0x13dc53{constructor(_0x23a952,_0x206350){const _0x2ac723=_0x338775;super(),this[_0x2ac723(0x166)]=_0x23a952,this[_0x2ac723(0x24d)]=_0x206350,this[_0x2ac723(0x32f)]();}[_0x338775(0x32f)](){const _0x12f329=_0x338775,_0x15f0ff=this;this[_0x12f329(0x282)](this['_docClipboardService'][_0x12f329(0x246)]({'onBeforePasteImage':async _0x3e0e63=>{const _0x516a3d=_0x12f329,_0x2c3f02=await _0x15f0ff[_0x516a3d(0x24d)][_0x516a3d(0x2a6)](_0x3e0e63);return _0x2c3f02?{'source':_0x2c3f02[_0x516a3d(0x32a)],'imageSourceType':_0x2c3f02['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x25d06c),Qe(0x1,_0x24cbe5)],Me);const qe=[_0x338775(0x1d9),_0x338775(0x223),_0x338775(0x321),'red300',_0x338775(0x257),_0x338775(0x2e6)];class He extends _0x2fcb05{constructor(){const _0x57890e=_0x338775;super(...arguments),_(this,_0x57890e(0x202),new Map()),_(this,_0x57890e(0x27a),0x0);}[_0x338775(0x176)](_0x455729){const _0x16ad50=_0x338775;if(this[_0x16ad50(0x202)][_0x16ad50(0x1e3)](_0x455729))return this[_0x16ad50(0x202)][_0x16ad50(0x2be)](_0x455729);const _0x1fead5=qe[this[_0x16ad50(0x27a)]];return this[_0x16ad50(0x27a)]=(this[_0x16ad50(0x27a)]+0x1)%qe[_0x16ad50(0x160)],this[_0x16ad50(0x202)]['set'](_0x455729,_0x1fead5),_0x1fead5;}}function Dt(_0x378fb9){const _0x388e3e=_0x338775;let _0x28a336='';for(const _0x39ff38 of _0x378fb9){const {startOffset:_0x26d78a,endOffset:_0x4e223c,isActive:_0x1b714d,rangeType:_0x204fc5,segmentId:_0x36d680,segmentPage:_0x314f12}=_0x39ff38;_0x28a336[_0x388e3e(0x160)]&&(_0x28a336+=','),_0x28a336+=_0x26d78a+':'+_0x4e223c+':'+(_0x1b714d?'1':'0')+':'+_0x204fc5+':'+_0x36d680+':'+_0x314f12;}return _0x28a336;}function hi(_0x1f807c){const _0x34f7a2=_0x338775,_0x281b4b=_0x1f807c[_0x34f7a2(0x1db)](','),_0x56cc5a=[];for(const _0x3f4c50 of _0x281b4b){const [_0x3862d9,_0x13753d,_0x3033a6,_0x4435e1,_0x5c2356,_0x5cfbd3]=_0x3f4c50[_0x34f7a2(0x1db)](':');_0x56cc5a[_0x34f7a2(0x173)]({'startOffset':Number(_0x3862d9),'endOffset':Number(_0x13753d),'collapsed':_0x3862d9===_0x13753d,'isActive':_0x3033a6==='1','rangeType':_0x4435e1===_0x47ca0c[_0x34f7a2(0x2a9)]?_0x47ca0c[_0x34f7a2(0x2a9)]:_0x47ca0c[_0x34f7a2(0x243)],'segmentId':typeof _0x5c2356==_0x34f7a2(0x2da)?String(_0x5c2356):'','segmentPage':Number(_0x5cfbd3!=null?_0x5cfbd3:-0x1)});}return _0x56cc5a[_0x34f7a2(0x213)](_0x280cea=>_0x280cea['isActive'])||(_0x56cc5a[0x0][_0x34f7a2(0x269)]=!0x0),_0x56cc5a;}class je extends _0x13dc53{constructor(){const _0xc30aad=_0x338775;super(...arguments),_(this,_0xc30aad(0x235),new _0x119e86(null)),_(this,_0xc30aad(0x21d),this['_collabCursorState$']['asObservable']());}[_0x338775(0x1f6)](_0x5c6e74){const _0x3753a2=_0x338775,{unitID:_0x156397,memberID:_0x563eee,textRanges:_0x32ee4e}=_0x5c6e74,_0x419029=Dt(_0x32ee4e);if(_0x419029==='')return;const _0x5d2c03={'unitID':_0x156397,'memberID':_0x563eee,'selection':_0x419029};this[_0x3753a2(0x235)][_0x3753a2(0x152)](_0x5d2c03);}}var ui=Object[_0x338775(0x311)],di=(_0x2494d4,_0x40d692,_0x3d58f9,_0x14521b)=>{const _0x34c8cd=_0x338775;for(var _0x2bd187=_0x14521b>0x1?void 0x0:_0x14521b?ui(_0x40d692,_0x3d58f9):_0x40d692,_0x506453=_0x2494d4[_0x34c8cd(0x160)]-0x1,_0x5e2c22;_0x506453>=0x0;_0x506453--)(_0x5e2c22=_0x2494d4[_0x506453])&&(_0x2bd187=_0x5e2c22(_0x2bd187)||_0x2bd187);return _0x2bd187;},U=(_0x3f98af,_0x38dd00)=>(_0x22bfb3,_0x3e29a8)=>_0x38dd00(_0x22bfb3,_0x3e29a8,_0x3f98af);const fi=0x12c,Si=0x64;let Pe=class extends _0x13dc53{constructor(_0x1b4c37,_0x4dece6,_0x35d716,_0xc112f0,_0x13c806,_0x1e5e34,_0x5bc23d,_0x20f7a5,_0xe3e6cf){const _0x354056=_0x338775;super(),_(this,_0x354056(0x184),!0x1),_(this,_0x354056(0x32f),!0x1),_(this,_0x354056(0x159),new _0x119e86(new Map())),_(this,_0x354056(0x18c),this[_0x354056(0x159)][_0x354056(0x2e3)]()),_(this,_0x354056(0x2bd),new _0x119e86([])),_(this,_0x354056(0x22d),this['_roomMembers$']['pipe'](_0xc53d9(fi))),_(this,'_updateLocalCursor',_0x53e326(_0x3129d0=>{const _0x17d2db=_0x354056,_0x32da68={'eventID':_0x5d41e0[_0x17d2db(0x1d0)],'data':{'unitID':this[_0x17d2db(0x281)],'memberID':this[_0x17d2db(0x14d)][_0x17d2db(0x1c6)](),'selection':Dt(_0x3129d0)}};this['_session'][_0x17d2db(0x317)](_0x32da68,this['unitID']);},Si)),(this[_0x354056(0x281)]=_0x1b4c37,this[_0x354056(0x14d)]=_0x4dece6,this[_0x354056(0x277)]=_0x35d716,this['_colorAssignService']=_0xc112f0,this['_memberService']=_0x13c806,this[_0x354056(0x2bc)]=_0x1e5e34,this[_0x354056(0x2b3)]=_0x5bc23d,this['_univerInstanceService']=_0x20f7a5,this[_0x354056(0x19d)]=_0xe3e6cf);}get[_0x338775(0x2f0)](){const _0x26713b=_0x338775;return this[_0x26713b(0x159)][_0x26713b(0x331)]();}get[_0x338775(0x1e1)](){const _0x2378c3=_0x338775;return this[_0x2378c3(0x2bd)]['getValue']();}[_0x338775(0x1f8)](){const _0x27746f=_0x338775;super[_0x27746f(0x1f8)](),this[_0x27746f(0x159)]['next'](new Map()),this[_0x27746f(0x159)][_0x27746f(0x31f)](),this[_0x27746f(0x2bd)][_0x27746f(0x152)]([]),this[_0x27746f(0x2bd)][_0x27746f(0x31f)]();}[_0x338775(0x167)](){const _0x17f59b=_0x338775;this[_0x17f59b(0x32f)]||(this[_0x17f59b(0x32f)]=!0x0,this[_0x17f59b(0x14d)]['sessionStatus$'][_0x17f59b(0x2a1)](_0x2cb0e5(this[_0x17f59b(0x2ad)]))['subscribe'](_0x1bcb09=>{_0x1bcb09===_0x1e6c87['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x17f59b(0x14d)][_0x17f59b(0x250)]['pipe'](_0x2cb0e5(this[_0x17f59b(0x2ad)]))['subscribe'](_0x175bf8=>{const _0x28208b=_0x17f59b,_0x3b010c=_0x175bf8['eventID'];_0x3b010c===_0x5d41e0[_0x28208b(0x1d0)]&&this['_onCursorUpdate'](_0x175bf8),_0x3b010c===_0x5d41e0['USERS_LEAVE']&&this[_0x28208b(0x2dd)](_0x175bf8);}),this[_0x17f59b(0x282)](this[_0x17f59b(0x19d)]['onCommandExecuted'](_0x2c04b9=>{const _0x583b87=_0x17f59b,_0x38fdce=_0x2c04b9['params'];_0x38fdce!=null&&this['_online']&&_0x2c04b9['id']===_0xfe427b['id']&&_0x38fdce[_0x583b87(0x304)]===this['unitID']&&_0x38fdce['isEditing']===!0x1&&_0x38fdce[_0x583b87(0x1ce)][_0x583b87(0x160)]>0x0&&this['_updateLocalCursor'](_0x38fdce['ranges']);})),this[_0x17f59b(0x2bc)][_0x17f59b(0x21d)]['pipe'](_0x2cb0e5(this['dispose$']))[_0x17f59b(0x29b)](_0x57ecee=>{const _0x12d22f=_0x17f59b;if((_0x57ecee==null?void 0x0:_0x57ecee[_0x12d22f(0x281)])!==this[_0x12d22f(0x281)])return;const _0x273b4e={'eventID':_0x5d41e0['UPDATE_CURSOR'],'data':_0x57ecee};this['_onCursorUpdate'](_0x273b4e);}),this[_0x17f59b(0x282)](this[_0x17f59b(0x19d)]['onCommandExecuted'](_0x290a9d=>{const _0x1e0ba4=_0x17f59b;if(_0x290a9d['params']==null)return;const _0x4bff65=_0x290a9d[_0x1e0ba4(0x32c)];if(_0x290a9d['id']!==_0x359af5['id']||_0x4bff65[_0x1e0ba4(0x304)]!==this[_0x1e0ba4(0x281)])return;const _0x2fce09={'id':_0x1e0ba4(0x2ba),'params':_0x4bff65},_0x4648c4=this['cursorInfo'];for(const [_0x26f4ca,_0x21e119]of _0x4648c4){const _0x18c40d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1e0ba4(0x281)],'actions':null,'textRanges':_0x21e119[_0x1e0ba4(0x1ce)]}},_0x5f5705=this[_0x1e0ba4(0x2b3)][_0x1e0ba4(0x217)](_0x2fce09,_0x18c40d,!0x1);if(_0x21d4bf(_0x5f5705))throw _0x5f5705[_0x1e0ba4(0x2d0)];_0x4648c4['set'](_0x26f4ca,{..._0x21e119,'ranges':_0x5f5705[_0x1e0ba4(0x28b)][_0x1e0ba4(0x32c)]['textRanges']});}queueMicrotask(()=>{const _0x18dba3=_0x1e0ba4;this[_0x18dba3(0x159)][_0x18dba3(0x152)](_0x4648c4);});})));}['_onCursorUpdate'](_0x30c5b9){const _0x2071c1=_0x338775;var _0x31835b,_0x422203;const {memberID:_0x1b9cda,selection:_0x448fd6}=_0x30c5b9[_0x2071c1(0x143)],_0x147dae=hi(_0x448fd6),_0x24bc18=(_0x422203=(_0x31835b=this[_0x2071c1(0x24a)][_0x2071c1(0x16c)](this[_0x2071c1(0x281)],_0x1b9cda))==null?void 0x0:_0x31835b[_0x2071c1(0x20b)])!=null?_0x422203:_0x2071c1(0x26c),_0x2f3ae4={'color':this[_0x2071c1(0x2ea)][_0x2071c1(0x176)](_0x1b9cda),'name':_0x24bc18,'ranges':_0x147dae},_0x136179=this[_0x2071c1(0x2f0)];_0x136179[_0x2071c1(0x280)](_0x1b9cda,_0x2f3ae4),this[_0x2071c1(0x159)][_0x2071c1(0x152)](_0x136179);}[_0x338775(0x2dd)](_0x433611){const _0x2572c5=_0x338775,{memberID:_0xbf0061}=_0x433611[_0x2572c5(0x143)],_0xff9d4d=this[_0x2572c5(0x2f0)];_0xff9d4d[_0x2572c5(0x26f)](_0xbf0061),this[_0x2572c5(0x159)][_0x2572c5(0x152)](_0xff9d4d);}[_0x338775(0x2b4)](){const _0x432539=_0x338775;var _0x5d8c53;if(this[_0x432539(0x184)]=!0x0,((_0x5d8c53=this[_0x432539(0x211)][_0x432539(0x32d)]())==null?void 0x0:_0x5d8c53[_0x432539(0x192)]())!==this[_0x432539(0x281)])return;const _0x529676=this[_0x432539(0x277)][_0x432539(0x2be)](_0x46b0b1)[_0x432539(0x1f7)]();Array['isArray'](_0x529676)&&_0x529676[_0x432539(0x160)]>0x0&&this[_0x432539(0x203)](_0x529676);}[_0x338775(0x19e)](){const _0x360c6e=_0x338775;this[_0x360c6e(0x184)]=!0x1;}};Pe=di([U(0x2,_0x49d929(_0x241276)),U(0x3,_0x49d929(He)),U(0x4,_0x49d929(_0x18bd7b)),U(0x5,_0x49d929(je)),U(0x6,_0x5e8ec8),U(0x7,_0x364350),U(0x8,_0x20e3ab)],Pe);var mi=Object[_0x338775(0x311)],gi=(_0x4fd6b7,_0x55369a,_0x49aec6,_0x5726da)=>{const _0x4efa00=_0x338775;for(var _0x1c7916=_0x5726da>0x1?void 0x0:_0x5726da?mi(_0x55369a,_0x49aec6):_0x55369a,_0x1028fc=_0x4fd6b7[_0x4efa00(0x160)]-0x1,_0xf5ff12;_0x1028fc>=0x0;_0x1028fc--)(_0xf5ff12=_0x4fd6b7[_0x1028fc])&&(_0x1c7916=_0xf5ff12(_0x1c7916)||_0x1c7916);return _0x1c7916;},x=(_0x362b48,_0x197588)=>(_0x3dba63,_0x294d88)=>_0x197588(_0x3dba63,_0x294d88,_0x362b48);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4ead40=[],_0x5123af=!0x1;return _0x264c7e=>{const _0x5f5043=_0x6421;_0x4ead40[_0x5f5043(0x173)](_0x264c7e),_0x5123af||(_0x5123af=!0x0,setTimeout(()=>{const _0x441486=_0x5f5043;_0x4ead40[_0x441486(0x19b)](_0x457b3e=>_0x457b3e()),_0x4ead40=[],_0x5123af=!0x1;}));};};let we=class extends _0x13dc53{constructor(_0x22478d,_0x57baac,_0x45f8b7,_0x4feadb,_0xd52880,_0x3ccfcd,_0x493f99,_0x17ce01){const _0x11f247=_0x338775;super(),_(this,_0x11f247(0x184),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x119e86(new Map())),_(this,_0x11f247(0x18c),this[_0x11f247(0x159)][_0x11f247(0x2e3)]()),_(this,_0x11f247(0x2bd),new _0x119e86([])),_(this,'roomMembers$',this[_0x11f247(0x2bd)][_0x11f247(0x2a1)](_0xc53d9(vi))),_(this,'_updateLocalCursor',_0x53e326((_0x5e94db,_0x558be9)=>{const _0x5cfedb=_0x11f247,_0x1b39be={'eventID':_0x5d41e0[_0x5cfedb(0x1d0)],'data':{'unitID':this[_0x5cfedb(0x281)],'memberID':this[_0x5cfedb(0x14d)]['getMemberID'](),'selection':_0x42b789(_0x5e94db,_0x558be9[_0x5cfedb(0x2c2)])}};this[_0x5cfedb(0x14d)][_0x5cfedb(0x317)](_0x1b39be,this[_0x5cfedb(0x281)]);},Ii)),(this[_0x11f247(0x281)]=_0x22478d,this[_0x11f247(0x14d)]=_0x57baac,this[_0x11f247(0x277)]=_0x45f8b7,this['_colorAssignService']=_0x4feadb,this[_0x11f247(0x24a)]=_0xd52880,this[_0x11f247(0x211)]=_0x3ccfcd,this['_commandService']=_0x493f99,this[_0x11f247(0x24c)]=_0x17ce01);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5a7d08=_0x338775;return this[_0x5a7d08(0x2bd)][_0x5a7d08(0x331)]();}[_0x338775(0x1f8)](){const _0x4554e1=_0x338775;super[_0x4554e1(0x1f8)](),this[_0x4554e1(0x159)]['next'](new Map()),this[_0x4554e1(0x159)]['complete'](),this[_0x4554e1(0x2bd)]['next']([]),this[_0x4554e1(0x2bd)][_0x4554e1(0x31f)]();}['init'](){const _0x1b4e79=_0x338775;this[_0x1b4e79(0x32f)]||(this[_0x1b4e79(0x32f)]=!0x0,this[_0x1b4e79(0x14d)]['sessionStatus$'][_0x1b4e79(0x2a1)](_0x2cb0e5(this[_0x1b4e79(0x2ad)]))['subscribe'](_0x3093f2=>{const _0x3cf96c=_0x1b4e79;_0x3093f2===_0x1e6c87[_0x3cf96c(0x22f)]?this['_toggleOnline']():this[_0x3cf96c(0x19e)]();}),this[_0x1b4e79(0x14d)][_0x1b4e79(0x250)][_0x1b4e79(0x2a1)](_0x2cb0e5(this[_0x1b4e79(0x2ad)]))[_0x1b4e79(0x29b)](_0x516e96=>{const _0x1bae6b=_0x1b4e79,_0x48b1de=_0x516e96[_0x1bae6b(0x297)];_0x48b1de===_0x5d41e0[_0x1bae6b(0x1d0)]&&this[_0x1bae6b(0x1de)](_0x516e96),_0x48b1de===_0x5d41e0['USERS_LEAVE']&&this[_0x1bae6b(0x2dd)](_0x516e96);}),this[_0x1b4e79(0x26a)](),this[_0x1b4e79(0x282)](this[_0x1b4e79(0x19d)][_0x1b4e79(0x239)](_0x31fcc5=>{const _0x13d574=_0x1b4e79;if(this['_online']&&_0x31fcc5['id']===_0x19f1d6['id']&&_0x31fcc5[_0x13d574(0x32c)][_0x13d574(0x304)]===this['unitID']){const _0x3d9c7c=_0x31fcc5['params'];this[_0x13d574(0x203)](_0x3d9c7c['subUnitId'],_0x3d9c7c[_0x13d574(0x248)][0x0]);}})));}[_0x338775(0x1de)](_0x3588fd){const _0xab791c=_0x338775;var _0xf94f10,_0x2e604d;const {memberID:_0x23a4b8,selection:_0xdd1451}=_0x3588fd[_0xab791c(0x143)],{sheetName:_0x560cc3,range:_0x4069f0}=_0x2ffaa(_0xdd1451),_0x2b4e6a={'name':(_0x2e604d=(_0xf94f10=this[_0xab791c(0x24a)]['getMember'](this['unitID'],_0x23a4b8))==null?void 0x0:_0xf94f10[_0xab791c(0x20b)])!=null?_0x2e604d:'Unknown\x20user','range':this[_0xab791c(0x1fc)](_0x560cc3,_0x4069f0),'sheetID':_0x560cc3,'color':this[_0xab791c(0x2ea)]['assignAColorForMemberID'](_0x23a4b8),'selection':_0xdd1451},_0x51253a=this[_0xab791c(0x2f0)];_0x51253a['set'](_0x23a4b8,_0x2b4e6a),this[_0xab791c(0x159)]['next'](_0x51253a);}[_0x338775(0x2dd)](_0x5319e3){const _0x351625=_0x338775,{memberID:_0x484806}=_0x5319e3[_0x351625(0x143)],_0x3e4236=this['cursorInfo'];_0x3e4236[_0x351625(0x26f)](_0x484806),this[_0x351625(0x159)][_0x351625(0x152)](_0x3e4236);}[_0x338775(0x1fc)](_0x38d1f3,_0x421434){const _0x2d9b0f=_0x338775;var _0xfad0e9,_0x4a8053;const _0x3d0bf0=(_0x4a8053=(_0xfad0e9=this[_0x2d9b0f(0x211)][_0x2d9b0f(0x15e)](this[_0x2d9b0f(0x281)]))==null?void 0x0:_0xfad0e9[_0x2d9b0f(0x2b8)](_0x38d1f3))==null?void 0x0:_0x4a8053[_0x2d9b0f(0x2b0)]();return(_0x3d0bf0==null?void 0x0:_0x3d0bf0[_0x2d9b0f(0x197)](_0x478102=>_0x314bd4[_0x2d9b0f(0x1e9)](_0x478102,_0x421434)))||_0x421434;}[_0x338775(0x26a)](){const _0x3dc35d=_0x338775,_0x422265=new _0x2574a2(),_0x25e788=pi(),_0x2796e6=()=>{const _0x18faad=_0x6421;_0x422265[_0x18faad(0x1f8)]();const _0x1606d3=(_0x26870f,_0x49f659,_0x1e31fe,_0x3e8f4e)=>{const _0xfbc14e=_0x18faad;let _0x4828f4=[];switch(_0x26870f['id']){case _0x28a6d5[_0xfbc14e(0x18f)]:{_0x4828f4=_0x1047c0(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5['DeleteRangeMoveUpCommandId']:{_0x4828f4=_0x5c49d2(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x2ef)]:{_0x4828f4=_0x3db75d(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x183)]:{_0x4828f4=_0x12c421(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x194)]:{_0x4828f4=_0x5c1d70(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x191)]:{_0x4828f4=_0x5298aa(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x20a)]:{_0x4828f4=_0xb19e8b(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5[_0xfbc14e(0x330)]:{_0x4828f4=_0x19fbef(_0x26870f,_0x3e8f4e);break;}case _0x28a6d5['RemoveRowCommandId']:{_0x4828f4=_0x5db946(_0x26870f,_0x3e8f4e);break;}}const _0x165544=_0x575d69(_0x4828f4,_0x3e8f4e),_0x56c025=this['cursorInfo'][_0xfbc14e(0x2be)](_0x49f659);if(_0x56c025&&_0x165544){const _0x7cba35={..._0x56c025,'range':_0x165544};this[_0xfbc14e(0x2f0)][_0xfbc14e(0x280)](_0x49f659,_0x7cba35),_0x25e788(()=>{const _0x45652c=_0xfbc14e,_0x18621d=this[_0x45652c(0x24c)][_0x45652c(0x284)](_0x165544,_0x29ce9c=>(_0x18621d[_0x45652c(0x1f8)](),_0x1606d3(_0x29ce9c,_0x49f659,_0x1e31fe,_0x165544)));_0x422265[_0x45652c(0x1c9)](_0x18621d);});}return{'redos':[],'undos':[]};};this[_0x18faad(0x2f0)][_0x18faad(0x19b)]((_0x351cd9,_0x51a574)=>{const _0x1fbc9d=_0x18faad,{range:_0x5ab9ce,sheetID:_0x2c6652}=_0x351cd9,_0x1f6f2b=this['_refRangeService']['registerRefRange'](_0x5ab9ce,_0x3d7ee8=>(_0x1f6f2b[_0x1fbc9d(0x1f8)](),_0x1606d3(_0x3d7ee8,_0x51a574,_0x2c6652,_0x5ab9ce)));_0x422265[_0x1fbc9d(0x1c9)](_0x1f6f2b);});};this['disposeWithMe'](_0x294dcb(this[_0x3dc35d(0x159)][_0x3dc35d(0x29b)](()=>{_0x2796e6();})));}[_0x338775(0x2b4)](){const _0x30d986=_0x338775;var _0x1ce730,_0x21afe3;if(this[_0x30d986(0x184)]=!0x0,((_0x1ce730=this['_univerInstanceService'][_0x30d986(0x32d)]())==null?void 0x0:_0x1ce730[_0x30d986(0x192)]())!==this[_0x30d986(0x281)])return;const _0x501ff0=(_0x21afe3=this['_injector']['get'](_0xa5f728)[_0x30d986(0x2cb)]())==null?void 0x0:_0x21afe3[0x0],_0x2fe779=this[_0x30d986(0x211)][_0x30d986(0x31b)](_0x16d951['UNIVER_SHEET'])['getActiveSheet']();_0x501ff0&&_0x2fe779&&this[_0x30d986(0x203)](_0x2fe779[_0x30d986(0x267)](),_0x501ff0);}[_0x338775(0x19e)](){const _0x5455e8=_0x338775;this[_0x5455e8(0x184)]=!0x1;}};we=gi([x(0x2,_0x49d929(_0x241276)),x(0x3,_0x49d929(He)),x(0x4,_0x49d929(_0x18bd7b)),x(0x5,_0x364350),x(0x6,_0x20e3ab),x(0x7,_0x49d929(_0x1e0d60))],we);var Ci=Object[_0x338775(0x311)],Ei=(_0x4cbdec,_0x1ff611,_0x317bed,_0x2a172f)=>{for(var _0x2ecec3=_0x2a172f>0x1?void 0x0:_0x2a172f?Ci(_0x1ff611,_0x317bed):_0x1ff611,_0x46c703=_0x4cbdec['length']-0x1,_0x47c158;_0x46c703>=0x0;_0x46c703--)(_0x47c158=_0x4cbdec[_0x46c703])&&(_0x2ecec3=_0x47c158(_0x2ecec3)||_0x2ecec3);return _0x2ecec3;},me=(_0x407e50,_0x4d49cc)=>(_0x267d5c,_0x35972a)=>_0x4d49cc(_0x267d5c,_0x35972a,_0x407e50);let H=class extends _0x13dc53{constructor(_0x30ce13,_0x1bb287,_0x18449a){const _0x293641=_0x338775;super(),_(this,_0x293641(0x1ee),new Map()),_(this,'_entityInit$',new _0x2e2613()),(this['_univerInstanceService']=_0x30ce13,this[_0x293641(0x277)]=_0x1bb287,this[_0x293641(0x233)]=_0x18449a,this[_0x293641(0x32f)]());}[_0x338775(0x1f8)](){const _0x1b3092=_0x338775;super[_0x1b3092(0x1f8)](),this[_0x1b3092(0x2ca)][_0x1b3092(0x31f)](),this['_entities']['forEach'](_0x531d8b=>_0x531d8b['dispose']());}['getCollabCursors$'](_0x3e2f77){const _0x23c8f2=_0x338775;return this[_0x23c8f2(0x1ee)][_0x23c8f2(0x1e3)](_0x3e2f77)?this[_0x23c8f2(0x1ee)]['get'](_0x3e2f77)[_0x23c8f2(0x18c)]:this[_0x23c8f2(0x2ca)][_0x23c8f2(0x2a1)](_0xc8bbca(_0x1fe544=>_0x1fe544['unitID']===_0x3e2f77),_0x49d0e8(_0x5ed976=>_0x5ed976['cursorInfo$']));}[_0x338775(0x32f)](){const _0x3e7d53=_0x338775;this[_0x3e7d53(0x211)]['getTypeOfUnitAdded$'](_0x16d951[_0x3e7d53(0x2bb)])[_0x3e7d53(0x2a1)](_0x2cb0e5(this[_0x3e7d53(0x2ad)]))[_0x3e7d53(0x29b)](async _0x315ce0=>{const _0xacea2f=_0x3e7d53,_0x53fbcf=_0x315ce0['getUnitId'](),_0x5ac805=await this[_0xacea2f(0x2f9)](_0x53fbcf);this[_0xacea2f(0x2ca)][_0xacea2f(0x152)](_0x5ac805),this[_0xacea2f(0x1ee)][_0xacea2f(0x280)](_0x53fbcf,_0x5ac805);}),this[_0x3e7d53(0x211)][_0x3e7d53(0x1bc)](_0x16d951[_0x3e7d53(0x171)])['pipe'](_0x2cb0e5(this[_0x3e7d53(0x2ad)]))[_0x3e7d53(0x2a1)](_0xc8bbca(_0x1c0312=>!_0x1c0312['getUnitId']()['startsWith']('__')))[_0x3e7d53(0x29b)](async _0x11ee00=>{const _0xd7194d=_0x3e7d53,_0x3952d2=_0x11ee00[_0xd7194d(0x192)](),_0x318a1b=await this[_0xd7194d(0x28c)](_0x3952d2);this['_entityInit$'][_0xd7194d(0x152)](_0x318a1b),this[_0xd7194d(0x1ee)][_0xd7194d(0x280)](_0x3952d2,_0x318a1b);}),_0x1ec183(this[_0x3e7d53(0x211)][_0x3e7d53(0x158)](_0x16d951[_0x3e7d53(0x171)]),this[_0x3e7d53(0x211)][_0x3e7d53(0x158)](_0x16d951[_0x3e7d53(0x2bb)]))['pipe'](_0x2cb0e5(this[_0x3e7d53(0x2ad)]))['subscribe'](_0x2e3100=>{const _0xf67878=_0x3e7d53,_0x195153=_0x2e3100[_0xf67878(0x192)](),_0x5b2434=this[_0xf67878(0x1ee)]['get'](_0x195153);_0x5b2434&&(_0x5b2434[_0xf67878(0x1f8)](),this['_entities']['delete'](_0x195153));});}async[_0x338775(0x2f9)](_0x19091f){const _0x4bb32e=_0x338775,_0x4c3051=await this[_0x4bb32e(0x233)][_0x4bb32e(0x138)](_0x19091f),_0x4dcf0b=this[_0x4bb32e(0x277)][_0x4bb32e(0x206)](we,_0x19091f,_0x4c3051);return _0x4dcf0b[_0x4bb32e(0x167)](),_0x4dcf0b;}async['_startDocCollabCursor'](_0x3c5207){const _0xbced06=_0x338775,_0x3b321f=await this[_0xbced06(0x233)][_0xbced06(0x138)](_0x3c5207),_0x55dc9f=this['_injector'][_0xbced06(0x206)](Pe,_0x3c5207,_0x3b321f);return _0x55dc9f[_0xbced06(0x167)](),_0x55dc9f;}};H=Ei([me(0x0,_0x364350),me(0x1,_0x49d929(_0x241276)),me(0x2,_0x49d929(_0x17f3f5))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x18a84d,_0x4e3e4c){const _0x483e54=_0x338775;let {radius:_0x4e0849,width:_0x38c47d,height:_0x3ac3d1}=_0x4e3e4c;_0x4e0849=_0x4e0849!=null?_0x4e0849:0x0,_0x38c47d=_0x38c47d!=null?_0x38c47d:0x1e,_0x3ac3d1=_0x3ac3d1!=null?_0x3ac3d1:0x1e;let _0x2ee751=0x0,_0x748e11=0x0,_0x214c80=0x0;_0x2ee751=_0x748e11=_0x214c80=Math[_0x483e54(0x1fd)](_0x4e0849,_0x38c47d/0x2,_0x3ac3d1/0x2),_0x18a84d['beginPath'](),_0x18a84d[_0x483e54(0x2c5)](_0x2ee751,0x0),_0x18a84d['lineTo'](_0x38c47d-_0x748e11,0x0),_0x18a84d[_0x483e54(0x328)](_0x38c47d-_0x748e11,_0x748e11,_0x748e11,Math['PI']*0x3/0x2,0x0,!0x1),_0x18a84d['lineTo'](_0x38c47d,_0x3ac3d1-_0x214c80),_0x18a84d[_0x483e54(0x328)](_0x38c47d-_0x214c80,_0x3ac3d1-_0x214c80,_0x214c80,0x0,Math['PI']/0x2,!0x1),_0x18a84d[_0x483e54(0x1f1)](0x0,_0x3ac3d1),_0x18a84d['lineTo'](0x0,_0x2ee751),_0x18a84d[_0x483e54(0x328)](_0x2ee751,_0x2ee751,_0x2ee751,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x18a84d['closePath'](),_0x4e3e4c['fill']&&(_0x18a84d[_0x483e54(0x293)](),_0x18a84d[_0x483e54(0x1a1)]=_0x4e3e4c['fill'],_0x4e3e4c[_0x483e54(0x2cd)]==='evenodd'?_0x18a84d[_0x483e54(0x229)](_0x483e54(0x2b1)):_0x18a84d[_0x483e54(0x229)](),_0x18a84d[_0x483e54(0x2e9)]());}class ue extends _0x1c2ac1{constructor(_0xcd3cd9,_0x505832){const _0x1af57b=_0x338775;super(_0xcd3cd9,_0x505832),_(this,_0x1af57b(0x31c)),_(this,_0x1af57b(0x295)),(this[_0x1af57b(0x31c)]=_0x505832==null?void 0x0:_0x505832[_0x1af57b(0x31c)],this[_0x1af57b(0x295)]=_0x505832==null?void 0x0:_0x505832[_0x1af57b(0x295)]);}static[_0x338775(0x2a0)](_0x43e450,_0xd4c41){const _0x1525ec=_0x338775,{text:_0x24d219,color:_0xce119d}=_0xd4c41;_0x43e450['save'](),_0x43e450['font']=_0x1525ec(0x2f6);const _0x1d663d=_0x43e450[_0x1525ec(0x273)](_0x24d219)['width'],_0xa78c51=Math[_0x1525ec(0x1fd)](_0x1d663d+0x2*ge,et);Oi(_0x43e450,{'height':te,'radius':0x4,'width':_0xa78c51,'fill':_0xce119d}),_0x43e450['fillStyle']=_0x1525ec(0x2e5);const _0x2a78be=ge,_0x4cf78e=te-bi,_0xc9cfe5=et-0x2*ge;if(_0x1d663d>_0xc9cfe5){let _0x1f6162='',_0x17a75c=0x0;for(const _0x2411a6 of _0x24d219){const _0x5cc82c=_0x43e450[_0x1525ec(0x273)](_0x2411a6)[_0x1525ec(0x16d)];if(_0x17a75c+_0x5cc82c<=_0xc9cfe5-_0x43e450['measureText']('...')['width'])_0x1f6162+=_0x2411a6,_0x17a75c+=_0x5cc82c;else{_0x1f6162+=_0x1525ec(0x2b7);break;}}_0x43e450[_0x1525ec(0x1e7)](_0x1f6162,_0x2a78be,_0x4cf78e);}else _0x43e450[_0x1525ec(0x1e7)](_0x24d219,_0x2a78be,_0x4cf78e);_0x43e450[_0x1525ec(0x2e9)]();}[_0x338775(0x1ca)](_0x424bdc){ue['drawWith'](_0x424bdc,this);}}const ve='collab-text-anchor-',Ti=_0x338775(0x212),Ri=_0x338775(0x23f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x338775(0x251);class tt{constructor(_0x22d139,_0x58784a,_0xe4a7a0,_0x254232){const _0x58e4c4=_0x338775;_(this,_0x58e4c4(0x305),[]),_(this,_0x58e4c4(0x271),null),_(this,'_textBubble',null),_(this,_0x58e4c4(0x25d),null),_(this,_0x58e4c4(0x196),null),_(this,_0x58e4c4(0x253),null),(this[_0x58e4c4(0x270)]=_0x22d139,this[_0x58e4c4(0x283)]=_0x58784a,this[_0x58e4c4(0x240)]=_0xe4a7a0,this['_document']=_0x254232,this[_0x58e4c4(0x299)]());}set['_hover'](_0x2b2575){const _0x5b1ba0=_0x338775;_0x2b2575?(this[_0x5b1ba0(0x25d)]&&this[_0x5b1ba0(0x25d)][_0x5b1ba0(0x236)](),this[_0x5b1ba0(0x134)]&&this[_0x5b1ba0(0x134)][_0x5b1ba0(0x2b2)]()):(this[_0x5b1ba0(0x25d)]&&this[_0x5b1ba0(0x25d)][_0x5b1ba0(0x2b2)](),this[_0x5b1ba0(0x134)]&&this['_textBubble']['hide']());}[_0x338775(0x1f8)](){const _0x409dc6=_0x338775;for(const _0x4d72ab of this[_0x409dc6(0x305)])_0x4d72ab['dispose']();this[_0x409dc6(0x134)]&&this[_0x409dc6(0x134)][_0x409dc6(0x1f8)](),this[_0x409dc6(0x25d)]&&this[_0x409dc6(0x25d)][_0x409dc6(0x1f8)](),this[_0x409dc6(0x271)]&&this[_0x409dc6(0x271)][_0x409dc6(0x1f8)](),this['_eventUnsubscribe']&&this[_0x409dc6(0x253)]();}[_0x338775(0x299)](){const _0x2a5bdb=_0x338775;var _0x210cc2;const {_docSkeleton:_0x146699,_document:_0x3eae84}=this,{color:_0xae80d3,name:_0xa5ef69,ranges:_0x5befa5}=this[_0x2a5bdb(0x270)],_0x5126e1=_0x3eae84[_0x2a5bdb(0x2de)](),{docsLeft:_0x59000a,docsTop:_0x48d1d4}=_0x5126e1,_0x4ba43e=new _0x4d4d61(_0x5126e1,_0x146699);for(const {startOffset:_0x2b3b9e,endOffset:_0x46dd70,rangeType:_0x4be19a,segmentId:_0x511cff,segmentPage:_0x42015c,collapsed:_0x4238f3,isActive:_0x6c2d20}of _0x5befa5){const _0x4247bf=_0x146699[_0x2a5bdb(0x1ed)](_0x2b3b9e,!0x0,_0x511cff,_0x42015c);let _0x157146=_0x146699[_0x2a5bdb(0x1ed)](_0x46dd70,!0x0,_0x511cff,_0x42015c);if(_0x157146==null&&(_0x157146=_0x146699['findNodePositionByCharIndex'](_0x46dd70-0x1,!0x1,_0x511cff,_0x42015c)),_0x6c2d20){const {contentBoxPointGroup:_0x3d29eb}=_0x4ba43e['getRangePointData'](_0x157146,_0x157146);if(_0x3d29eb['length']===0x0)continue;this[_0x2a5bdb(0x208)](_0xae80d3,_0x3d29eb,_0x59000a,_0x48d1d4,_0xa5ef69),this[_0x2a5bdb(0x253)]=this[_0x2a5bdb(0x2ce)]();}if(_0x4247bf&&_0x157146){if(_0x4be19a===_0x47ca0c[_0x2a5bdb(0x243)]){const _0x2fb385=new _0x22a0c4(_0x5126e1,_0x146699),{pointGroup:_0x3bd6ea}=(_0x210cc2=_0x2fb385['getRangePointData'](_0x4247bf,_0x157146))!=null?_0x210cc2:{};if(_0x3bd6ea==null||_0x3bd6ea['length']===0x0)continue;this[_0x2a5bdb(0x1e5)](_0xae80d3,_0x3bd6ea,_0x59000a,_0x48d1d4);}else{if(!_0x4238f3){const {borderBoxPointGroup:_0x2906e2}=_0x4ba43e[_0x2a5bdb(0x2b6)](_0x4247bf,_0x157146);if(_0x2906e2[_0x2a5bdb(0x160)]===0x0)continue;this[_0x2a5bdb(0x2a7)](_0xae80d3,_0x2906e2,_0x59000a,_0x48d1d4);}}}}}[_0x338775(0x208)](_0x4fd6a3,_0x2bae4c,_0x4b2081,_0x5dd5bb,_0x449a58){const _0x58ecb2=_0x338775,_0x2d909a=this[_0x58ecb2(0x1ae)](_0x2bae4c),{left:_0xeb66b6,top:_0x89dbba,height:_0x2e1d68}=_0x2d909a,_0x12053e=this[_0x58ecb2(0x144)](),_0x2003d8=Ni/_0x12053e,_0x12e968=new _0x3d01dc(ve+_0x16b904[_0x58ecb2(0x29a)](X),{'left':_0xeb66b6+_0x4b2081-_0x2003d8,'top':_0x89dbba+_0x5dd5bb,'height':_0x2e1d68,'width':Di,'fill':_0x4fd6a3||_0x2b18c7(_0x45ad59[_0x58ecb2(0x2a4)],0x0),'strokeWidth':_0x2003d8,'stroke':Mi,'evented':!0x0});this[_0x58ecb2(0x271)]=_0x12e968,this[_0x58ecb2(0x283)]['addObject'](_0x12e968,_0x569e5a);const _0x294b89=new _0x3d01dc(ve+_0x16b904[_0x58ecb2(0x29a)](X),{'left':_0xeb66b6+_0x4b2081-_0x2003d8,'top':_0x89dbba+_0x5dd5bb-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4fd6a3||_0x2b18c7(_0x45ad59[_0x58ecb2(0x2a4)],0x0),'strokeWidth':0x0,'stroke':_0x4fd6a3||_0x2b18c7(_0x45ad59[_0x58ecb2(0x2a4)],0x0),'evented':!0x1});this[_0x58ecb2(0x25d)]=_0x294b89,this['_scene'][_0x58ecb2(0x276)](_0x294b89,_0x569e5a);const _0x115056=new ue(ve+_0x16b904[_0x58ecb2(0x29a)](X),{'left':_0xeb66b6+_0x4b2081-_0x2003d8,'top':_0x89dbba+_0x5dd5bb-te,'text':_0x449a58,'color':_0x4fd6a3});this[_0x58ecb2(0x134)]=_0x115056,this[_0x58ecb2(0x283)][_0x58ecb2(0x276)](_0x115056,_0x569e5a),this[_0x58ecb2(0x14c)]=!0x1;}[_0x338775(0x2ce)](){const _0x405c55=_0x338775,_0x1bca3a=this[_0x405c55(0x271)][_0x405c55(0x302)]['subscribeEvent'](()=>{const _0x437be0=_0x405c55;this[_0x437be0(0x14c)]=!0x0;}),_0x4f2fbe=this[_0x405c55(0x271)][_0x405c55(0x14a)][_0x405c55(0x2f2)](()=>{const _0x102095=_0x405c55;this[_0x102095(0x196)]&&clearTimeout(this[_0x102095(0x196)]),this['_hideTimer']=setTimeout(()=>{const _0x2e9452=_0x102095;this[_0x2e9452(0x14c)]=!0x1;},0x7d0);});return()=>{const _0x2cf52e=_0x405c55;_0x1bca3a[_0x2cf52e(0x214)](),_0x4f2fbe['unsubscribe']();};}[_0x338775(0x2a7)](_0x11a423,_0x3be05a,_0x114578,_0xb6dfdc){const _0x1900b7=_0x338775,_0x7e8b0a=new _0x3f0e63(_0x11a423)[_0x1900b7(0x329)](0.2)[_0x1900b7(0x17b)](),_0x2cc44f=new _0xe32f83(Ti+_0x16b904[_0x1900b7(0x29a)](X),{'pointsGroup':_0x3be05a,'fill':_0x7e8b0a||_0x2b18c7(_0x45ad59['black'],0.2),'left':_0x114578,'top':_0xb6dfdc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1900b7(0x305)][_0x1900b7(0x173)](_0x2cc44f),this['_scene']['addObject'](_0x2cc44f,_0x569e5a);}[_0x338775(0x1e5)](_0x4b6f9e,_0x57e558,_0x49caa2,_0xb9690c){const _0x56131b=_0x338775,_0x57a947=new _0x3f0e63(_0x4b6f9e)[_0x56131b(0x329)](0.2)[_0x56131b(0x17b)](),_0xcb451b=new _0xe32f83(Ri+_0x16b904['generateRandomId'](X),{'pointsGroup':_0x57e558,'fill':_0x57a947||_0x2b18c7(_0x45ad59[_0x56131b(0x2a4)],0.2),'left':_0x49caa2,'top':_0xb9690c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x56131b(0x305)][_0x56131b(0x173)](_0xcb451b),this['_scene']['addObject'](_0xcb451b,_0x569e5a);}[_0x338775(0x1ae)](_0x47e564){const _0x2fc1d8=_0x47e564[0x0],_0x315948=_0x2fc1d8[0x0],_0x2df148=_0x2fc1d8[0x2],{x:_0x2ddbbe,y:_0x15dcfa}=_0x315948,{x:_0x206a07,y:_0xd6ecd3}=_0x2df148;return{'left':_0x2ddbbe,'top':_0x15dcfa,'width':_0x206a07-_0x2ddbbe,'height':_0xd6ecd3-_0x15dcfa};}[_0x338775(0x144)](){const _0x372da5=_0x338775,{scaleX:_0x5bdb20,scaleY:_0x22c67e}=this[_0x372da5(0x283)][_0x372da5(0x249)]();return Math[_0x372da5(0x315)](_0x5bdb20,_0x22c67e);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x5ee130,_0x5401f7,_0x8eef80,_0x1324fa)=>{const _0x20f6d4=_0x338775;for(var _0x5331c0=_0x1324fa>0x1?void 0x0:_0x1324fa?Pi(_0x5401f7,_0x8eef80):_0x5401f7,_0x1ba507=_0x5ee130[_0x20f6d4(0x160)]-0x1,_0x316575;_0x1ba507>=0x0;_0x1ba507--)(_0x316575=_0x5ee130[_0x1ba507])&&(_0x5331c0=_0x316575(_0x5331c0)||_0x5331c0);return _0x5331c0;},Q=(_0x2043f4,_0x537bd8)=>(_0x2b0549,_0x4c8a93)=>_0x537bd8(_0x2b0549,_0x4c8a93,_0x2043f4);let Ue=class extends _0x13dc53{constructor(_0x1329a9,_0x10df49,_0x4c24df,_0x57e991,_0x5b3874){const _0x484115=_0x338775;super(),_(this,_0x484115(0x231),[]),_(this,_0x484115(0x26d),[]),(this[_0x484115(0x1a6)]=_0x1329a9,this[_0x484115(0x2c3)]=_0x10df49,this['_collabCursorController']=_0x4c24df,this[_0x484115(0x19d)]=_0x57e991,this[_0x484115(0x314)]=_0x5b3874,this[_0x484115(0x32f)]());}[_0x338775(0x32f)](){const _0x37dace=_0x338775,_0x56646f=this[_0x37dace(0x1a6)][_0x37dace(0x304)],_0x2ed3f2=this[_0x37dace(0x2c3)];this['disposeWithMe'](_0x35de87([this['_collabCursorController'][_0x37dace(0x2e4)](_0x56646f),this[_0x37dace(0x314)][_0x37dace(0x1dd)]])['pipe'](_0x454e1f(([_0x3858d7,_0xf030d9])=>({'skeleton':_0x2ed3f2[_0x37dace(0x175)](),'cursors':[..._0x3858d7[_0x37dace(0x145)]()][_0x37dace(0x224)](_0x48c6c9=>({..._0x48c6c9,'color':_0xf030d9[_0x48c6c9['color']]}))})))[_0x37dace(0x29b)](_0x6b3e3d=>{const _0x23f330=_0x37dace;if(this[_0x23f330(0x294)](),_0x6b3e3d){const {skeleton:_0x291fba,cursors:_0x580732}=_0x6b3e3d;this[_0x23f330(0x1eb)](_0x291fba,_0x580732);}})),this[_0x37dace(0x1a0)](),this[_0x37dace(0x1cd)]();}[_0x338775(0x1eb)](_0x1eb675,_0x9cec73){const _0x49f342=_0x338775,{scene:_0x1109e2,mainComponent:_0x242036}=this[_0x49f342(0x1a6)],_0x361c4a=_0x9cec73[_0x49f342(0x241)](_0x41757a=>new tt(_0x41757a,_0x1109e2,_0x1eb675,_0x242036));this[_0x49f342(0x231)]=_0x361c4a,this[_0x49f342(0x26d)]=_0x9cec73;}[_0x338775(0x238)](){const _0x15a76d=_0x338775;this[_0x15a76d(0x294)]();const {scene:_0x1a5270,mainComponent:_0x85bbf4}=this['_context'],_0x1ae87b=this[_0x15a76d(0x2c3)]['getSkeleton'](),_0xb2ac55=this[_0x15a76d(0x26d)][_0x15a76d(0x241)](_0xa7c5f8=>new tt(_0xa7c5f8,_0x1a5270,_0x1ae87b,_0x85bbf4));this[_0x15a76d(0x231)]=_0xb2ac55;}[_0x338775(0x294)](){const _0x44dcef=_0x338775;this[_0x44dcef(0x231)][_0x44dcef(0x19b)](_0x524a6f=>_0x524a6f[_0x44dcef(0x1f8)]()),this[_0x44dcef(0x231)]=[];}[_0x338775(0x1cd)](){const _0x1494e2=_0x338775,_0x47b1f7=[_0x204e55['id']];this[_0x1494e2(0x282)](this[_0x1494e2(0x19d)][_0x1494e2(0x239)](_0x5d6d26=>{const _0x4505b9=_0x1494e2;_0x47b1f7[_0x4505b9(0x164)](_0x5d6d26['id'])&&_0x5d6d26[_0x4505b9(0x32c)]['unitId']===this[_0x4505b9(0x1a6)][_0x4505b9(0x304)]&&this[_0x4505b9(0x238)]();}));}[_0x338775(0x1a0)](){const _0x27d2de=_0x338775;this[_0x27d2de(0x282)](_0x500592(this[_0x27d2de(0x1a6)][_0x27d2de(0x334)][_0x27d2de(0x182)])['pipe'](_0x19ea32(_0x1d170b=>_0x1d170b[_0x27d2de(0x1c0)]===_0x54adbf['resize']),_0x1394ad(0x10))[_0x27d2de(0x29b)](()=>{const _0x369682=_0x27d2de;this[_0x369682(0x238)]();}));}};Ue=wi([Q(0x1,_0x49d929(_0x5cde45)),Q(0x2,_0x49d929(H)),Q(0x3,_0x20e3ab),Q(0x4,_0x49d929(_0xbbd8c4))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x1c2ac1{constructor(_0x418c69,_0x3d2441){const _0x2361ca=_0x338775;super(_0x418c69,_0x3d2441),_(this,_0x2361ca(0x157)),_(this,_0x2361ca(0x181),!0x1),_(this,'_range'),_(this,_0x2361ca(0x1c3),''),_(this,_0x2361ca(0x1b7),'top'),_(this,_0x2361ca(0x2d2)),(_0x3d2441&&this[_0x2361ca(0x1f2)](_0x3d2441),this[_0x2361ca(0x302)][_0x2361ca(0x2f2)](()=>this[_0x2361ca(0x1f2)]({'hovered':!0x0})),this[_0x2361ca(0x14a)][_0x2361ca(0x2f2)](()=>this[_0x2361ca(0x1f2)]({'hovered':!0x1})));}[_0x338775(0x1f2)](_0x32b5eb){const _0x29a65c=_0x338775;var _0x35f8e9,_0x3adf7d,_0x4583f5,_0x125792,_0x7de314,_0x1b162f;this[_0x29a65c(0x157)]=(_0x35f8e9=_0x32b5eb[_0x29a65c(0x31c)])!=null?_0x35f8e9:this['_color'],this[_0x29a65c(0x181)]=(_0x3adf7d=_0x32b5eb[_0x29a65c(0x2aa)])!=null?_0x3adf7d:this[_0x29a65c(0x181)],this['_range']=(_0x4583f5=_0x32b5eb[_0x29a65c(0x2c2)])!=null?_0x4583f5:this[_0x29a65c(0x188)],this[_0x29a65c(0x1c3)]=(_0x125792=_0x32b5eb[_0x29a65c(0x20b)])!=null?_0x125792:this[_0x29a65c(0x1c3)],this['_labelPosition']=(_0x7de314=_0x32b5eb['labelPosition'])!=null?_0x7de314:this['_labelPosition'],this['_backgroundColor']=(_0x1b162f=_0x32b5eb['backgroundColor'])!=null?_0x1b162f:this[_0x29a65c(0x2d2)],this[_0x29a65c(0x2c6)]({'width':_0x32b5eb[_0x29a65c(0x16d)],'height':_0x32b5eb[_0x29a65c(0x2c8)]});}[_0x338775(0x254)](_0x213ff0){const _0x25a21b=_0x338775,{row:_0x45bf68,column:_0x12122f}=_0x213ff0;if(_0x45bf68>=this[_0x25a21b(0x188)][_0x25a21b(0x312)]&&_0x45bf68<=this[_0x25a21b(0x188)][_0x25a21b(0x216)]&&_0x12122f>=this[_0x25a21b(0x188)][_0x25a21b(0x1b1)]&&_0x12122f<=this[_0x25a21b(0x188)][_0x25a21b(0x187)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x25a21b(0x1f2)]({'hovered':!0x1});}[_0x338775(0x245)](_0x2bd9ca){return!0x1;}[_0x338775(0x1ca)](_0x40d126){const _0x45926f=_0x338775;_0x3d01dc[_0x45926f(0x2a0)](_0x40d126,{'width':this[_0x45926f(0x16d)],'height':this['height'],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x40d126[_0x45926f(0x293)](),_0x40d126[_0x45926f(0x2fe)](0x1,0x0,0x0,0x1,this[_0x45926f(0x16d)],this[_0x45926f(0x1b7)]==='bottom'?0x0:-0x14),ue[_0x45926f(0x2a0)](_0x40d126,{'text':this[_0x45926f(0x1c3)],'color':this[_0x45926f(0x157)]}),_0x40d126['restore']());}}var yi=Object[_0x338775(0x311)],$i=(_0x327663,_0x59844a,_0xa4f4b1,_0x43127d)=>{const _0x5f0189=_0x338775;for(var _0x3239ab=_0x43127d>0x1?void 0x0:_0x43127d?yi(_0x59844a,_0xa4f4b1):_0x59844a,_0x2eb40f=_0x327663[_0x5f0189(0x160)]-0x1,_0x238d1b;_0x2eb40f>=0x0;_0x2eb40f--)(_0x238d1b=_0x327663[_0x2eb40f])&&(_0x3239ab=_0x238d1b(_0x3239ab)||_0x3239ab);return _0x3239ab;},pe=(_0x5c40a1,_0x475634)=>(_0x3701f4,_0x2a8d71)=>_0x475634(_0x3701f4,_0x2a8d71,_0x5c40a1);const xi=0x1389;let Le=class extends _0x13dc53{constructor(_0xd806ef,_0x30bc6c,_0xdb1dc2,_0x3a1017){const _0x952ad8=_0x338775;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0xd806ef,this[_0x952ad8(0x335)]=_0x30bc6c,this['_collabCursorController']=_0xdb1dc2,this['_themeService']=_0x3a1017,this[_0x952ad8(0x32f)]());}[_0x338775(0x32f)](){const _0x165f04=_0x338775;this[_0x165f04(0x335)][_0x165f04(0x18b)][_0x165f04(0x2a1)](_0x3e79f2(this[_0x165f04(0x2ad)]),_0x31ddfd(_0x5e350d=>{const _0x40192e=_0x165f04;if(_0x5e350d){const _0x514b8c=_0x5e350d['sheetId'];return _0x35de87(this[_0x40192e(0x156)][_0x40192e(0x2e4)](this['_context'][_0x40192e(0x304)]),this['_themeService'][_0x40192e(0x1dd)])[_0x40192e(0x2a1)](_0x454e1f(([_0x16b346,_0x3b8031])=>{const _0xc34ef9=new Map();return _0x16b346['forEach']((_0x1ea489,_0x1e1f57)=>{const _0x2752af=_0x6421;if(_0x1ea489[_0x2752af(0x21e)]===_0x514b8c){const _0x225fd6={..._0x1ea489};_0x225fd6[_0x2752af(0x31c)]=_0x3b8031[_0x1ea489[_0x2752af(0x31c)]],_0xc34ef9[_0x2752af(0x280)](_0x1e1f57,_0x225fd6);}}),{'skeleton':_0x5e350d,'cursors':_0xc34ef9};}));}return _0x28c61a({'skeleton':null,'cursors':new Map()});}))[_0x165f04(0x29b)](({skeleton:_0x32115d,cursors:_0x6cd9e0})=>{const _0x299235=_0x165f04;this[_0x299235(0x294)](),_0x32115d&&this[_0x299235(0x1eb)](_0x32115d,_0x6cd9e0);}),this['_sheetSkeletonManagerService'][_0x165f04(0x18b)][_0x165f04(0x29b)](_0x4b7719=>{const _0x468285=_0x165f04;if(_0x4b7719==null)return;const {skeleton:_0x42e529}=_0x4b7719,{scene:_0x5ddbfb}=this[_0x468285(0x1a6)];_0x5ddbfb[_0x468285(0x32b)]['subscribeEvent'](_0x53e326(_0x30ae43=>{const _0x15bb4d=_0x468285;var _0x13fe85,_0x5b585a;const {offsetX:_0x5b4284,offsetY:_0x6ce6c}=_0x30ae43,{x:_0x58b3d5,y:_0x3234af}=_0x5ddbfb['getRelativeToViewportCoord'](_0x4be85b[_0x15bb4d(0x2e0)]([_0x5b4284,_0x6ce6c])),{scaleX:_0xdd2ff7,scaleY:_0x2f8755}=_0x5ddbfb['getAncestorScale'](),_0x16d017=_0x5ddbfb['getViewport'](_0x2485d0['VIEW_MAIN']),_0x45438f=_0x5ddbfb['getVpScrollXYInfoByPosToVp'](_0x4be85b[_0x15bb4d(0x2e0)]([_0x58b3d5,_0x3234af]),_0x16d017),_0x395233=_0x42e529[_0x15bb4d(0x1b8)](_0x5b4284,_0x6ce6c,_0xdd2ff7,_0x2f8755,_0x45438f);((_0x13fe85=this['_lastPointer'])==null?void 0x0:_0x13fe85[_0x15bb4d(0x266)])===_0x395233[_0x15bb4d(0x266)]&&((_0x5b585a=this[_0x15bb4d(0x2f4)])==null?void 0x0:_0x5b585a[_0x15bb4d(0x15a)])===_0x395233[_0x15bb4d(0x15a)]||this[_0x15bb4d(0x26d)]['forEach'](_0x1d245c=>{const _0x56c403=_0x15bb4d;_0x1d245c[_0x56c403(0x254)](_0x395233);});},0x64));});}[_0x338775(0x1eb)](_0x54381d,_0x34517e){const _0x19b848=_0x338775;var _0x327957;const _0xb40cba=(_0x327957=this[_0x19b848(0x335)]['getCurrent']())==null?void 0x0:_0x327957['skeleton'];if(!_0xb40cba)return;const _0x53178b=this[_0x19b848(0x333)]();if(!_0x53178b)return;this['_cursors']['forEach'](_0x4fac71=>{_0x4fac71['makeDirty']();});const {scene:_0x218970}=_0x53178b,_0x163b82=Bi(Array[_0x19b848(0x327)](_0x34517e[_0x19b848(0x145)]()))['map'](_0xc261e0=>{const {color:_0x54e5d5,range:_0x3836e6,name:_0x348349,selection:_0x18caf4,sheetID:_0x1d5f0c}=_0xc261e0,{startColumn:_0x512e0f,startRow:_0x2cb5e5,endColumn:_0x2f8c1e,endRow:_0x1c2e93}=_0x3836e6,_0xb7530=_0x5db695(_0x2cb5e5,_0x512e0f,_0x218970,_0xb40cba),_0x3f8cbe=_0x5db695(_0x1c2e93,_0x2f8c1e,_0x218970,_0xb40cba),{columnHeaderHeightAndMarginTop:_0x578571}=_0xb40cba,{startX:_0x9ed740,startY:_0x5ef8d8}=_0xb7530,{endX:_0x87dde5,endY:_0xb97f4f}=_0x3f8cbe,_0x1f30a5=_0x87dde5-_0x9ed740,_0x7a4674=_0xb97f4f-_0x5ef8d8,_0x376121={'labelPosition':_0x5ef8d8-_0x578571>=te?'top':'bottom','sheetID':_0x1d5f0c,'range':_0x3836e6,'color':_0x54e5d5,'name':_0x348349,'selection':_0x18caf4,'left':_0x9ed740,'top':_0x5ef8d8,'width':_0x1f30a5,'height':_0x7a4674,'evented':!0x1,'zIndex':xi};return new Ai(_0x348349,_0x376121);});_0x218970[_0x19b848(0x1d3)](_0x163b82,Ui),this[_0x19b848(0x26d)]=new Set(_0x163b82);}[_0x338775(0x294)](){const _0x1d83b1=_0x338775;var _0x2209b4;(_0x2209b4=this[_0x1d83b1(0x26d)])==null||_0x2209b4[_0x1d83b1(0x19b)](_0x5dbf91=>_0x5dbf91[_0x1d83b1(0x1f8)]());}[_0x338775(0x333)](){const _0x37832f=_0x338775;return _0x36933e(this['_context']['unit'],this[_0x37832f(0x1a6)]);}};Le=$i([pe(0x1,_0x49d929(_0x3a8b8d)),pe(0x2,_0x49d929(H)),pe(0x3,_0x49d929(_0xbbd8c4))],Le);function Bi(_0x254ea9){const _0x1815bc=_0x338775,_0x31247d=new Map();return _0x254ea9[_0x1815bc(0x19b)](_0x414f1b=>{const _0x31211f=_0x1815bc;if(_0x31247d[_0x31211f(0x1e3)](_0x414f1b[_0x31211f(0x22a)])){const _0x320f39=_0x31247d['get'](_0x414f1b[_0x31211f(0x22a)]);_0x320f39[_0x31211f(0x20b)]+=',\x20'+_0x414f1b['name'];}else _0x31247d['set'](_0x414f1b[_0x31211f(0x22a)],_0x414f1b);}),Array[_0x1815bc(0x327)](_0x31247d[_0x1815bc(0x145)]());}var I=function(){const _0x6ad7b6=_0x338775;return I=Object['assign']||function(_0x74be58){const _0x341c8a=_0x6421;for(var _0x5c720c,_0x2ecbcb=0x1,_0xd7567=arguments[_0x341c8a(0x160)];_0x2ecbcb<_0xd7567;_0x2ecbcb++){_0x5c720c=arguments[_0x2ecbcb];for(var _0x55b5f1 in _0x5c720c)Object[_0x341c8a(0x286)][_0x341c8a(0x2af)][_0x341c8a(0x2b9)](_0x5c720c,_0x55b5f1)&&(_0x74be58[_0x55b5f1]=_0x5c720c[_0x55b5f1]);}return _0x74be58;},I[_0x6ad7b6(0x1c5)](this,arguments);},ki=function(_0x444d7d,_0x798aee){const _0x2a4813=_0x338775;var _0x441de9={};for(var _0x287d0b in _0x444d7d)Object['prototype'][_0x2a4813(0x2af)][_0x2a4813(0x2b9)](_0x444d7d,_0x287d0b)&&_0x798aee['indexOf'](_0x287d0b)<0x0&&(_0x441de9[_0x287d0b]=_0x444d7d[_0x287d0b]);if(_0x444d7d!=null&&typeof Object['getOwnPropertySymbols']==_0x2a4813(0x1a9)){for(var _0x3b55ae=0x0,_0x287d0b=Object[_0x2a4813(0x155)](_0x444d7d);_0x3b55ae<_0x287d0b[_0x2a4813(0x160)];_0x3b55ae++)_0x798aee[_0x2a4813(0x1ef)](_0x287d0b[_0x3b55ae])<0x0&&Object[_0x2a4813(0x286)][_0x2a4813(0x20c)][_0x2a4813(0x2b9)](_0x444d7d,_0x287d0b[_0x3b55ae])&&(_0x441de9[_0x287d0b[_0x3b55ae]]=_0x444d7d[_0x287d0b[_0x3b55ae]]);}return _0x441de9;},We=_0x1ab954(function(_0x533267,_0x2270a2){const _0x15a17f=_0x338775;var _0x5c7758=_0x533267[_0x15a17f(0x319)],_0x2f966b=_0x533267['id'],_0x2a9829=_0x533267[_0x15a17f(0x308)],_0x44fcea=_0x533267[_0x15a17f(0x274)],_0x11c348=ki(_0x533267,[_0x15a17f(0x319),'id',_0x15a17f(0x308),_0x15a17f(0x274)]),_0x473d46='univerjs-icon\x20univerjs-icon-'[_0x15a17f(0x19a)](_0x2f966b,'\x20')['concat'](_0x2a9829||'')[_0x15a17f(0x22b)](),_0x109661=_0x4e2ba4('_'[_0x15a17f(0x19a)](Wi()));return Nt(_0x5c7758,''[_0x15a17f(0x19a)](_0x2f966b),{'defIds':_0x5c7758[_0x15a17f(0x139)],'idSuffix':_0x109661['current']},I({'ref':_0x2270a2,'className':_0x473d46},_0x11c348),_0x44fcea);});function Nt(_0x13a242,_0x474c3d,_0x21bf6b,_0x2c8ec5,_0x3f0ce2){const _0x132efd=_0x338775;return _0x54392a(_0x13a242[_0x132efd(0x1fb)],I(I({'key':_0x474c3d},Hi(_0x13a242,_0x21bf6b,_0x3f0ce2)),_0x2c8ec5),(ji(_0x13a242,_0x21bf6b)[_0x132efd(0x218)]||[])[_0x132efd(0x241)](function(_0x365560,_0x5b8671){const _0x4b2f4b=_0x132efd;return Nt(_0x365560,''[_0x4b2f4b(0x19a)](_0x474c3d,'-')[_0x4b2f4b(0x19a)](_0x13a242[_0x4b2f4b(0x1fb)],'-')['concat'](_0x5b8671),_0x21bf6b,void 0x0,_0x3f0ce2);}));}function Hi(_0x3b642e,_0xa3c65d,_0x43ce5a){const _0x3f3e67=_0x338775;var _0x170214=I({},_0x3b642e[_0x3f3e67(0x1cf)]);_0x43ce5a!=null&&_0x43ce5a[_0x3f3e67(0x2d3)]&&_0x170214[_0x3f3e67(0x229)]===_0x3f3e67(0x2d3)&&(_0x170214[_0x3f3e67(0x229)]=_0x43ce5a['colorChannel1']),_0x3b642e[_0x3f3e67(0x1fb)]===_0x3f3e67(0x23e)&&_0x170214['id']&&(_0x170214['id']=_0x170214['id']+_0xa3c65d[_0x3f3e67(0x186)]),Object[_0x3f3e67(0x29d)](_0x170214)['forEach'](function(_0x545a85){const _0x4fbef7=_0x3f3e67;var _0x477b60=_0x545a85[0x0],_0x4ab4be=_0x545a85[0x1];_0x477b60==='mask'&&typeof _0x4ab4be==_0x4fbef7(0x2da)&&(_0x170214[_0x477b60]=_0x4ab4be['replace'](/url\(#(.*)\)/,_0x4fbef7(0x1c8)[_0x4fbef7(0x19a)](_0xa3c65d['idSuffix'],')')));});var _0x3ce8e3=_0xa3c65d[_0x3f3e67(0x139)];return!_0x3ce8e3||_0x3ce8e3['length']===0x0||(_0x3b642e[_0x3f3e67(0x1fb)]==='use'&&_0x170214[_0x3f3e67(0x25b)]&&(_0x170214['xlink:href']=_0x170214[_0x3f3e67(0x25b)]+_0xa3c65d[_0x3f3e67(0x186)]),Object[_0x3f3e67(0x29d)](_0x170214)['forEach'](function(_0x19059b){const _0x1da46b=_0x3f3e67;var _0x4c2e0d=_0x19059b[0x0],_0x2e9d13=_0x19059b[0x1];typeof _0x2e9d13==_0x1da46b(0x2da)&&(_0x170214[_0x4c2e0d]=_0x2e9d13[_0x1da46b(0x148)](/url\(#(.*)\)/,_0x1da46b(0x1c8)[_0x1da46b(0x19a)](_0xa3c65d[_0x1da46b(0x186)],')')));})),_0x170214;}function ji(_0x5298a8,_0x157ff2){const _0x3dd34e=_0x338775;var _0x46b7e0,_0x5a85b8=_0x157ff2[_0x3dd34e(0x139)];return!_0x5a85b8||_0x5a85b8[_0x3dd34e(0x160)]===0x0?_0x5298a8:_0x5298a8[_0x3dd34e(0x1fb)]===_0x3dd34e(0x1e0)&&(!((_0x46b7e0=_0x5298a8[_0x3dd34e(0x218)])===null||_0x46b7e0===void 0x0)&&_0x46b7e0['length'])?I(I({},_0x5298a8),{'children':_0x5298a8[_0x3dd34e(0x218)][_0x3dd34e(0x241)](function(_0x56a1c0){const _0x2bdf3c=_0x3dd34e;return typeof _0x56a1c0[_0x2bdf3c(0x1cf)]['id']==_0x2bdf3c(0x2da)&&_0x5a85b8&&_0x5a85b8[_0x2bdf3c(0x1ef)](_0x56a1c0[_0x2bdf3c(0x1cf)]['id'])>-0x1?I(I({},_0x56a1c0),{'attrs':I(I({},_0x56a1c0[_0x2bdf3c(0x1cf)]),{'id':_0x56a1c0[_0x2bdf3c(0x1cf)]['id']+_0x157ff2['idSuffix']})}):_0x56a1c0;})}):_0x5298a8;}function Wi(){const _0x4bab62=_0x338775;return Math['random']()[_0x4bab62(0x31e)](0x24)[_0x4bab62(0x18a)](0x2,0x8);}We[_0x338775(0x1b2)]=_0x338775(0x2c4);var Fi={'tag':_0x338775(0x135),'attrs':{'fill':'none','viewBox':_0x338775(0x25c),'width':_0x338775(0x1af),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x338775(0x322)},'children':[{'tag':_0x338775(0x228),'attrs':{'stroke':_0x338775(0x2d7),'d':_0x338775(0x2d9),'strokeLinecap':_0x338775(0x298),'strokeLinejoin':_0x338775(0x298),'strokeWidth':1.2}}]},{'tag':_0x338775(0x1e0),'attrs':{},'children':[{'tag':_0x338775(0x2c7),'attrs':{'id':_0x338775(0x230)},'children':[{'tag':_0x338775(0x228),'attrs':{'fill':'#fff','d':_0x338775(0x2ab)}}]}]}],'defIds':[_0x338775(0x230)]},Mt=_0x1ab954(function(_0x3ee191,_0x14b78b){const _0x28d51f=_0x338775;return _0x54392a(We,Object[_0x28d51f(0x325)]({},_0x3ee191,{'id':_0x28d51f(0x1a2),'ref':_0x14b78b,'icon':Fi}));});Mt[_0x338775(0x1b2)]=_0x338775(0x1bd);var Vi={'tag':_0x338775(0x135),'attrs':{'fill':_0x338775(0x25e),'viewBox':'0\x200\x2017\x2016','width':_0x338775(0x1af),'height':_0x338775(0x1af)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x338775(0x228),'attrs':{'stroke':_0x338775(0x2d7),'d':_0x338775(0x1d7),'strokeLinecap':_0x338775(0x298),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x338775(0x1e0),'attrs':{},'children':[{'tag':_0x338775(0x2c7),'attrs':{'id':_0x338775(0x15d)},'children':[{'tag':_0x338775(0x228),'attrs':{'fill':_0x338775(0x290),'d':_0x338775(0x2ab),'transform':'translate(.97)'}}]}]}],'defIds':[_0x338775(0x15d)]},Pt=_0x1ab954(function(_0x516c12,_0x449a86){const _0x295ec0=_0x338775;return _0x54392a(We,Object[_0x295ec0(0x325)]({},_0x516c12,{'id':'on-line-single','ref':_0x449a86,'icon':Vi}));});Pt[_0x338775(0x1b2)]='OnLineSingle';const Yi=_0x338775(0x142),Xi=_0x338775(0x2fc),Gi=_0x338775(0x220),Ki=_0x338775(0x169),zi=_0x338775(0x1dc),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x4c55c3){const _0x3f123d=_0x338775;switch(_0x4c55c3){case _0x599881[_0x3f123d(0x180)]:return _0x3f123d(0x1e6);case _0x599881[_0x3f123d(0x17a)]:return _0x3f123d(0x1c1);case _0x599881[_0x3f123d(0x2d8)]:return'collabStatus.fetchMiss';case _0x599881[_0x3f123d(0x17e)]:return _0x3f123d(0x14e);case _0x599881[_0x3f123d(0x30e)]:case _0x599881['AWAITING_WITH_PENDING']:return _0x3f123d(0x136);case _0x599881[_0x3f123d(0x2d5)]:case _0x599881['PENDING']:return _0x3f123d(0x1f3);}}function Zi(_0x37a79c){const _0x280247=_0x338775,{status$:_0x130f15}=_0x37a79c,_0x5d0a70=_0x53bc2a(_0x130f15,_0x599881['NOT_COLLAB']),_0x14d1d6=_0x5c8a09(_0x4f8085),_0x343a90=_0x5c8a09(_0x17f3f5),_0x56e6d3=_0x5d0a70!==_0x599881[_0x280247(0x180)],_0x3e7dd0=_0x14d1d6['t'](Ji(_0x5d0a70)),_0x28559a=_0x405117(G[_0x280247(0x199)],{[G[_0x280247(0x150)]]:_0x56e6d3,[G[_0x280247(0x232)]]:!_0x56e6d3}),_0x3c53c3=_0x56e6d3?_0x173f7e(Pt,{}):_0x173f7e(Mt,{}),_0x4871f0=_0x4c9483(()=>{_0x56e6d3||_0x343a90['reconnect']();},[_0x56e6d3,_0x343a90]);function _0x5f4e1d(){const _0x41e4e9=_0x280247;return _0x221d11('div',{'className':_0x405117(_0x28559a,_0x41e4e9(0x31a)),'onClick':_0x4871f0,'children':[_0x173f7e(_0x41e4e9(0x259),{'className':G[_0x41e4e9(0x2c0)],'children':_0x3c53c3}),_0x173f7e(_0x41e4e9(0x259),{'className':G[_0x41e4e9(0x1bb)],'children':_0x3e7dd0})]});}return _0x56e6d3?_0x5f4e1d():_0x173f7e(_0x22b028,{'title':_0x14d1d6['t']('collab-client.tooltip.reconnect'),'children':_0x5f4e1d()});}var Qi=Object[_0x338775(0x311)],qi=(_0x4f9502,_0x821a1e,_0x51d48e,_0x4ddd65)=>{const _0x3bfd4b=_0x338775;for(var _0x3a6806=_0x4ddd65>0x1?void 0x0:_0x4ddd65?Qi(_0x821a1e,_0x51d48e):_0x821a1e,_0x278882=_0x4f9502[_0x3bfd4b(0x160)]-0x1,_0x2399b5;_0x278882>=0x0;_0x278882--)(_0x2399b5=_0x4f9502[_0x278882])&&(_0x3a6806=_0x2399b5(_0x3a6806)||_0x3a6806);return _0x3a6806;},q=(_0x1afdda,_0x540fcc)=>(_0x31790f,_0x3c8905)=>_0x540fcc(_0x31790f,_0x3c8905,_0x1afdda);let se=class extends _0x2fcb05{constructor(_0x32cba4,_0x57606c,_0x4e7b47,_0x9e374){const _0x258901=_0x338775;super(),_(this,_0x258901(0x1e4),new _0x119e86(_0x599881[_0x258901(0x17e)])),(this[_0x258901(0x211)]=_0x32cba4,this[_0x258901(0x277)]=_0x57606c,this[_0x258901(0x165)]=_0x4e7b47,this[_0x258901(0x29f)]=_0x9e374,this[_0x258901(0x198)](),this['_initStatusListener']());}[_0x338775(0x2ed)](){const _0x544d08=_0x338775;this[_0x544d08(0x282)](this[_0x544d08(0x211)][_0x544d08(0x221)][_0x544d08(0x2a1)](_0x49d0e8(()=>{const _0x1b3fff=_0x544d08,_0x8674b5=this['_univerInstanceService'][_0x1b3fff(0x32d)]();return _0x8674b5?this['_collaborationController'][_0x1b3fff(0x23c)](_0x8674b5[_0x1b3fff(0x192)]()):_0x28c61a(null);}),_0x49d0e8(_0x472eb0=>_0x472eb0?_0x472eb0[_0x544d08(0x1df)]:_0x28c61a(_0x599881[_0x544d08(0x17e)])))[_0x544d08(0x29b)](_0x5b18db=>{const _0x6d17dd=_0x544d08;this['_status$'][_0x6d17dd(0x152)](_0x5b18db);}));}['_initStatusComponent'](){const _0x39f631=_0x338775;this[_0x39f631(0x282)](this[_0x39f631(0x29f)]['registerComponent'](_0x3132f6[_0x39f631(0x201)],()=>_0x23bfb1(en({'status$':this[_0x39f631(0x1e4)][_0x39f631(0x2e3)]()}),this[_0x39f631(0x277)])));}};se=qi([q(0x0,_0x364350),q(0x1,_0x49d929(_0x241276)),q(0x2,_0x49d929(_0x4d31b0)),q(0x3,_0x59d7ec)],se);function en(_0x4bdf02){const {status$:_0x434408}=_0x4bdf02;return function(){return _0x173f7e(Zi,{'status$':_0x434408});};}var tn=Object[_0x338775(0x311)],sn=(_0x48c424,_0x3c6842,_0x403656,_0x1740d4)=>{for(var _0x3207ec=_0x1740d4>0x1?void 0x0:_0x1740d4?tn(_0x3c6842,_0x403656):_0x3c6842,_0x38ca5a=_0x48c424['length']-0x1,_0x468a17;_0x38ca5a>=0x0;_0x38ca5a--)(_0x468a17=_0x48c424[_0x38ca5a])&&(_0x3207ec=_0x468a17(_0x3207ec)||_0x3207ec);return _0x3207ec;},B=(_0x30c6d9,_0x495ee3)=>(_0x2aeb0b,_0x5c475f)=>_0x495ee3(_0x2aeb0b,_0x5c475f,_0x30c6d9);let ie=class extends _0x2fcb05{constructor(_0xf54292,_0x52f0ec,_0x3f53cf,_0x52d0f0,_0x4b38cc,_0x169788){const _0x1985dd=_0x338775;super(),this[_0x1985dd(0x310)]=_0xf54292,this['_localCacheService']=_0x52f0ec,this[_0x1985dd(0x15b)]=_0x3f53cf,this[_0x1985dd(0x19c)]=_0x52d0f0,this['_notificationService']=_0x4b38cc,this[_0x1985dd(0x1fe)]=_0x169788,this[_0x1985dd(0x18d)](),this[_0x1985dd(0x289)]();}['_setupBeforeClosingHandler'](){const _0x16ecda=_0x338775;this[_0x16ecda(0x282)](this['_beforeCloseService'][_0x16ecda(0x275)](()=>{const _0x5668e6=_0x16ecda;if(this[_0x5668e6(0x15f)][_0x5668e6(0x28e)][_0x5668e6(0x326)])return this['_localeService']['t'](_0x5668e6(0x1ad));}));}['_initEvent'](){const _0x35ade3=_0x338775;this[_0x35ade3(0x282)](this[_0x35ade3(0x15b)][_0x35ade3(0x250)][_0x35ade3(0x29b)](_0x55a39d=>{const _0x5396ce=_0x35ade3;_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x20e)]&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3['Warning'],'content':this[_0x5396ce(0x1fe)]['t']('collaboration.single-unit.warning')}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x1b9)]&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3[_0x5396ce(0x1a3)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x25a))}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x1ec)]&&this[_0x5396ce(0x1bf)][_0x5396ce(0x2b2)]({'title':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x13c)),'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x13b)),'type':_0x5396ce(0x2d0),'duration':0x0}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x17a)]&&this[_0x5396ce(0x19c)]['show']({'type':_0x2fb3a3[_0x5396ce(0x265)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x25a))+'('+_0x55a39d[_0x5396ce(0x143)]+')'}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x309)]&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3['Warning'],'content':this[_0x5396ce(0x1fe)]['t'](_0x55a39d[_0x5396ce(0x143)]||'')}),_0x55a39d['id']===_0xa1b8b['SOCKET_FAILED_RETRY']&&this[_0x5396ce(0x19c)][_0x5396ce(0x2b2)]({'type':_0x2fb3a3[_0x5396ce(0x1a3)],'content':this['_localeService']['t'](_0x5396ce(0x288))}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x2e1)]&&this['_messageService']['show']({'type':_0x2fb3a3[_0x5396ce(0x265)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x291))}),_0x55a39d['id']===_0xa1b8b[_0x5396ce(0x141)]&&this[_0x5396ce(0x19c)]['show']({'type':_0x2fb3a3[_0x5396ce(0x265)],'content':this[_0x5396ce(0x1fe)]['t'](_0x5396ce(0x268))});}));}};ie=sn([B(0x0,_0x40a6e3),B(0x1,_0xe1c4aa),B(0x2,_0x49d929(_0x4a4b9a)),B(0x3,_0x56a492),B(0x4,_0x3f9af0),B(0x5,_0x49d929(_0x4f8085))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x4a52d9(_0x338775(0x30c));var rn=Object[_0x338775(0x311)],on=(_0x195a11,_0x158fc6,_0x1ecf42,_0x17d558)=>{const _0x3aebbd=_0x338775;for(var _0x3ec5b6=_0x17d558>0x1?void 0x0:_0x17d558?rn(_0x158fc6,_0x1ecf42):_0x158fc6,_0x3fac12=_0x195a11[_0x3aebbd(0x160)]-0x1,_0x105aca;_0x3fac12>=0x0;_0x3fac12--)(_0x105aca=_0x195a11[_0x3fac12])&&(_0x3ec5b6=_0x105aca(_0x3ec5b6)||_0x3ec5b6);return _0x3ec5b6;},K=(_0x55ae46,_0x2f0165)=>(_0x2ea0c4,_0x56cd9f)=>_0x2f0165(_0x2ea0c4,_0x56cd9f,_0x55ae46);let ne=class extends _0x13dc53{constructor(_0x1636c3,_0x4cbe45,_0x1c1bb7,_0x1cc27e,_0x5de04f){const _0xef997c=_0x338775;super(),this[_0xef997c(0x237)]=_0x1636c3,this[_0xef997c(0x2a2)]=_0x4cbe45,this['_commandService']=_0x1c1bb7,this[_0xef997c(0x2fa)]=_0x1cc27e,_0x5de04f?_0x5de04f==null||_0x5de04f[_0xef997c(0x336)]()['then'](()=>this['_init']()):(this[_0xef997c(0x2a2)][_0xef997c(0x1ac)](_0xef997c(0x16f),_0xef997c(0x1e2)),this[_0xef997c(0x32f)]());}async[_0x338775(0x32f)](){const _0x4e705c=_0x338775,_0x90379d=this[_0x4e705c(0x237)][_0x4e705c(0x2d4)](_0x4e705c(0x1a7)),_0x9aef18=this[_0x4e705c(0x237)][_0x4e705c(0x2d4)]('type'),_0x42fa3c=this[_0x4e705c(0x237)][_0x4e705c(0x2d4)]('subunit');if(!_0x90379d||!_0x9aef18){this['_logService'][_0x4e705c(0x1ac)]('[CollaborationDataLoaderController]',_0x4e705c(0x28f));return;}const _0xac4dcd=await this[_0x4e705c(0x2fa)]['loadUnit'](_0x90379d,Number(_0x9aef18),_0x42fa3c);_0xac4dcd&&_0xac4dcd instanceof _0x30c962&&this[_0x4e705c(0x18e)](_0xac4dcd);}async[_0x338775(0x18e)](_0x437cc8){const _0x4a90b6=_0x338775;await this[_0x4a90b6(0x1cb)](_0x437cc8),_0x437cc8['activeSheet$'][_0x4a90b6(0x2a1)](_0x2cb0e5(this[_0x4a90b6(0x2ad)]))[_0x4a90b6(0x29b)](_0x5a9de5=>{const _0x2457bb=_0x4a90b6;_0x5a9de5&&this[_0x2457bb(0x147)](_0x5a9de5);}),this[_0x4a90b6(0x237)]['urlChange$'][_0x4a90b6(0x2a1)](_0x2cb0e5(this['dispose$']))['subscribe'](()=>this[_0x4a90b6(0x1cb)](_0x437cc8));}[_0x338775(0x147)](_0xd58bb8,_0x22c9c9=!0x1){const _0x5c2f4e=_0x338775,_0x3572c5=this[_0x5c2f4e(0x237)][_0x5c2f4e(0x2d4)](_0x5c2f4e(0x25f));_0xd58bb8[_0x5c2f4e(0x267)]()!==_0x3572c5&&this['_urlService'][_0x5c2f4e(0x23a)](_0x5c2f4e(0x25f),_0xd58bb8[_0x5c2f4e(0x267)](),_0x22c9c9);}async[_0x338775(0x1cb)](_0x5d9db2){const _0x1a6375=_0x338775;var _0x37000f;const _0x4075d=this[_0x1a6375(0x237)][_0x1a6375(0x2d4)](_0x1a6375(0x25f));if(!_0x4075d||!_0x5d9db2[_0x1a6375(0x2b8)](_0x4075d)){const _0xdeebf5=_0x5d9db2['getUnhiddenWorksheets']()[0x0],_0x127902=_0x5d9db2[_0x1a6375(0x2b8)](_0xdeebf5);if(!_0x127902)return;this[_0x1a6375(0x147)](_0x127902,!0x0),await this[_0x1a6375(0x19d)][_0x1a6375(0x195)](_0x9669d3['id'],{'unitId':_0x5d9db2[_0x1a6375(0x192)](),'subUnitId':_0xdeebf5});return;}((_0x37000f=_0x5d9db2[_0x1a6375(0x27c)]())==null?void 0x0:_0x37000f['getSheetId']())!==_0x4075d&&await this[_0x1a6375(0x19d)][_0x1a6375(0x195)](_0x9669d3['id'],{'unitId':_0x5d9db2[_0x1a6375(0x192)](),'subUnitId':_0x4075d});}};ne=on([K(0x0,wt),K(0x1,_0x610049),K(0x2,_0x20e3ab),K(0x3,_0x49d929(_0x30c2b5)),K(0x4,_0x7ee6ed(_0x5930a9))],ne);var an=Object[_0x338775(0x311)],cn=(_0x48879c,_0x584211,_0x198452,_0x774f2c)=>{for(var _0x238c65=_0x774f2c>0x1?void 0x0:_0x774f2c?an(_0x584211,_0x198452):_0x584211,_0x5bb591=_0x48879c['length']-0x1,_0x250254;_0x5bb591>=0x0;_0x5bb591--)(_0x250254=_0x48879c[_0x5bb591])&&(_0x238c65=_0x250254(_0x238c65)||_0x238c65);return _0x238c65;},Ce=(_0x1bc28a,_0x470fc0)=>(_0x16ed9d,_0x1cfd69)=>_0x470fc0(_0x16ed9d,_0x1cfd69,_0x1bc28a);function _0x1a4b(){const _0x8864d2=['save','_removeCollabCursors','text','NO_OTHER_CLIENTS_EDITING','eventID','round','_render','generateRandomId','subscribe','pushState','entries','editingUnit','_uiPartsService','drawWith','pipe','_logService','5939712zBDXrX','black','APPLY_REVISION_CONFILICT','saveImage','_drawTextRange','onRendered','TEXT','hovered','M0\x200H16V16H0z','APPLY_REJECT','dispose$','WECHAT_HAS_BEEN_BOUND','hasOwnProperty','getMergeData','evenodd','show','_transformService','_toggleOnline','_removeClearOtherTimer','getRangePointData','...','getSheetBySheetId','call','doc.mutation.rich-text-editing','UNIVER_SHEET','_syncEditingCollabCursorService','_roomMembers$','get','getActiveRange','onlineStatusIcon','href','range','_docSkeletonManagerService','UniverIcon','moveTo','transformByState','clipPath','height','_config','_entityInit$','getCurrentSelections','CONNECTOR_DATA_TOO_LARGE','fillRule','_handleHover','ALREADY_EXISTS','error','getStateCache','_backgroundColor','colorChannel1','getParam','SYNCED','loadOfflineData','currentColor','FETCH_MISS','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','string','search','_docTransformIMECacheService','_onCursorDelete','getOffsetConfig','LICENSE_EXPORT_SIZE_EXCEEDED','FromArray','SOCKET_FAILED','transformIMECache','asObservable','getCollabCursors$','#FFF','gold400','_handleLeaveEvent','_docStateChangeManagerService','restore','_colorAssignService','Failed','_revisionService','_initStatusListener','YUUMI_UNABLE_LOAD_URL','InsertColCommandId','cursorInfo','setActiveRange','subscribeEvent','getRenderById','_lastPointer','_renderManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setInterval','setItem','_startSheetCollabCursor','_dataLoaderService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-online-status-title','_docTransformStateCacheService','transform','undoState','transformSelections','memberID','onPointerEnter$','createSocket','unitId','_shapes','YUUMI_URL_COL_OUT_OF_RANGE','sessionTicket','className','JOIN_ROOM_FAILED','deepClone','OTHER_CLIENTS_EDITING','uni.network.url-service','/run/','AWAITING','APPLY_DUPLICATED','_beforeCloseService','getOwnPropertyDescriptor','startRow','override','_themeService','max','runOnServer','send','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','icon','univer-flex\x20univer-items-center','getCurrentUnitForType','color','onStarting','toString','complete','setUndoRedoMutationParamsCache','verdancy600','url(#off-line-single_clip0_910_343)','parse','_localStorageService','assign','size','from','arc','setAlpha','source','onPointerMove$','params','getFocusedUnit','411678tyodpQ','_init','RemoveColCommandId','getValue','unload','_getSheetObject','engine','_sheetSkeletonManagerService','whenReady','_unitOnClients','_textBubble','svg','collabStatus.syncing','_transformUndoRedoStack','requireSession','defIds','_saveCache','permission.content','permission.title','result','_getSaveTimeout','LOGIN_FAILED','APPLY_PERMISSION_DENIED','SUBMIT_CHANGESET_TIMEOUT','univer-online-status-icon','data','_getScale','values','_selfUnitIDs','_updateURLWithCurrentState','replace','isArray','onPointerLeave$','history','_hover','_session','collabStatus.notCollab','searchParams','online','LICENSE_MAX_UNITS_EXCEEDED','next','disposeUnit','location','getOwnPropertySymbols','_collabCursorController','_color','getTypeOfUnitDisposed$','_cursorInfo$','row','_collaborationUIEventService','UNDEFINED','on-line-single_clip0_910_349','getUniverSheetInstance','_localCacheService','length','507784puVfGK','_docTransformSelectionsService','_scheduleClearOtherTimer','includes','_collaborationController','_docClipboardService','init','_transformPreviousActiveRange','univer-online','key','INTERNAL_ERROR','getMember','width','getItem','[CollaborationDataLoaderController]','_instanceService','UNIVER_DOC','unshift','push','_handleJoinEvent','getSkeleton','assignAColorForMemberID','newValue','_heartbeatTimer','transformStateCache','CONFLICT','toRgbString','body','COMPLETION_FINISHED','NOT_COLLAB','transformMutationsWithChangeset','OFFLINE','_hovered','onTransformChange$','InsertRangeMoveDownCommandId','_online','ACTIVE_UNIT_EVENT_CHANNEL','idSuffix','endColumn','_range','code','substring','currentSkeleton$','cursorInfo$','_setupBeforeClosingHandler','_setupSubUnitSync','DeleteRangeMoveLeftCommandId','LICENSE_DISTRO_REJECTED','InsertRowCommandId','getUnitId','executionId','InsertRangeMoveRightCommandId','executeCommand','_hideTimer','find','_initStatusComponent','onlineStatus','concat','forEach','_messageService','_commandService','_toggleOffline','MOBILE_HAS_BEEN_BOUND','_initResize','fillStyle','off-line-single','Warning','defineProperty','_unitStatus','_context','unit','SNAPSHOT_INVALID_SNAPSHOT','function','stringify','post','debug','collaboration-client.offline-data-not-saved','_getAnchorBounding','1em','enableLocalCache','startColumn','displayName','actions','clearTimeout','_disabled','disableLocalCache','_labelPosition','getCellPositionByOffset','CLOSE_ROOM','_clearOtherTimers','onlineStatusTitle','getTypeOfUnitAdded$','OffLineSingle','updateOfflineData','_notificationService','type','collabStatus.conflict','_handleEvent','_name','wsSessionTicketUrl','apply','getMemberID','_getSessionTicket','url(#$1','add','_draw','_updateSubUnitFromURLParams','_id','_initCommandExecutedListener','ranges','attrs','UPDATE_CURSOR','INVITE_CODE_REQUIRED','5lyZlIW','addObjects','origin','setConfig','application/json','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','transformRemoteChangeset','purple300','exhaustSavingTask','split','univer-offline','currentTheme$','_onCursorUpdate','status$','defs','roomMembers','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','has','_status$','_drawRectRange','collabStatus.offline','fillText','ENSURE_SNAPSHOT_EXECUTION','contains','YUUMI_RATE_OVER_LIMIT','_updateCollabCursors','PERMISSION_DENIED','findNodePositionByCharIndex','_entities','indexOf','TOO_MANY_REQUESTS','lineTo','setShapeProps','collabStatus.synced','replaceDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','syncEditingCollabCursor','getDocRanges','dispose','m1Prime','getUndoRedoMutationParamsCache','tag','_getMergeRange','min','_localeService','textRanges','APPLY_NON_SEQUENTIAL_REVISION','HEADER_MENU','_assignedColors','_updateLocalCursor','NOT_FOUND','_ensureSubject','createInstance','INVALID_ARGUMENT','_drawAnchor','with','MoveRangeCommandId','name','propertyIsEnumerable','entityInit$','OTHER_CLIENT_EDITING','2604866dAyFva','_registerDependencies','_univerInstanceService','collab-text-range-','some','unsubscribe','_send','endRow','transformMutation','children','getConfig','symbol','_doCreateSocket','onLocalMutation','collabCursorState$','sheetID','4904610pxhdum','univer-online-status','focused$','_docSyncEditingCollabCursorService','jiqing500','flatMap','_handleHeartbeatEvent','registerRenderModule','invokeId','path','fill','selection','trim','redoState','roomMembers$','then','ONLINE','off-line-single_clip0_910_343','_cursorShapes','offline','_collabSessionService','USER_NOT_INVITED_CODE','_collabCursorState$','hide','_urlService','_refreshCollabCursors','onCommandExecuted','setParam','INVALID_INVITE_CODE','getCollabEntity$','_saveTaskMap','mask','collab-rect-range-','_docSkeleton','map','INVITE_CODE_ALREADY_BOUND','RECT','PY_RUNTIME_SCRIPT_ERROR','triggerDblclick','addClipboardHook','INVITE_CODE_HAS_BEEN_UES','selections','getAncestorScale','_memberService','801nmnZDP','_refRangeService','_imageIoService','urlChange$','SNAPSHOT_HAS_BEEN_REMOVED','event$','rgba(255,\x20255,\x20255,\x200.01)','replaceState','_eventUnsubscribe','onMouseMove','ticket','setTimeout','blue400','_createSocketURL','div','collaboration.closeRoom','xlink:href','0\x200\x2016\x2016','_anchorDot','none','subunit','docStateChange$','12185999UdWpkQ','storage','EMAIL_HAS_BEEN_BOUND','CHANGESET_REVISION_CONFILICT','Error','column','getSheetId','session.collaboration-timeout','isActive','_onRefRangeChange','_initDependencies','Unknown\x20user','_cursors','runId','delete','_cursor','_anchor','_registerRenderDependencies','measureText','extend','registerBeforeClose','addObject','_injector','mutations','saveOfflineData','_colorIndex','_configService','getActiveSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleSaving','pluginName','set','unitID','disposeWithMe','_scene','registerRefRange','UNAUTHENTICATED','prototype','_cachedData','session.will-retry','_initEvent','_httpService','m2Prime','_startDocCollabCursor','UNRECOGNIZED','saveTaskMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','#fff','session.connection-failed','3131328nDwsaD'];_0x1a4b=function(){return _0x8864d2;};return _0x1a4b();}let re=class{constructor(_0x199f14,_0x3fa48d,_0x51b22f){const _0x160fcc=_0x338775;this[_0x160fcc(0x277)]=_0x199f14,this[_0x160fcc(0x2b3)]=_0x3fa48d,this['_renderManagerService']=_0x51b22f;}['transformIMECache'](_0x382776){const _0x8b1c08=_0x338775;this[_0x8b1c08(0x137)](_0x382776),this[_0x8b1c08(0x168)](_0x382776);}[_0x338775(0x1d8)](_0x1aaac6){const _0x479746=_0x338775,{unitID:_0x5c410f}=_0x1aaac6,_0x342b0c=this['_renderManagerService']['getRenderById'](_0x5c410f)[_0x479746(0x209)](_0xbe88ec),{redoCache:_0x474799}=_0x342b0c[_0x479746(0x1fa)]();if(_0x474799[_0x479746(0x160)]===0x0)return _0x1aaac6;let _0x5e3a77=_0x16b904['deepClone'](_0x1aaac6[_0x479746(0x278)][0x0]);for(let _0x576b88=0x0;_0x576b88<_0x474799[_0x479746(0x160)];_0x576b88++){const _0x1f058f={'id':_0x479746(0x2ba),'params':{..._0x474799[_0x576b88]}},_0x232951=this[_0x479746(0x2b3)][_0x479746(0x217)](_0x5e3a77,_0x1f058f,!0x1);if(_0x21d4bf(_0x232951))throw _0x232951['error'];_0x5e3a77=_0x232951[_0x479746(0x1f9)];}return{..._0x16b904[_0x479746(0x30a)](_0x1aaac6),'mutations':[_0x5e3a77]};}['_transformUndoRedoStack'](_0x28860c){const _0xdd10c8=_0x338775,{unitID:_0x15fb16}=_0x28860c,_0x28bf3d=this[_0xdd10c8(0x2f5)][_0xdd10c8(0x2f3)](_0x15fb16)[_0xdd10c8(0x209)](_0xbe88ec),{undoCache:_0x4bcbac,redoCache:_0x15e65a}=_0x28bf3d[_0xdd10c8(0x1fa)]();if(_0x4bcbac[_0xdd10c8(0x160)]===0x0||_0x15e65a['length']===0x0)return;const _0x5b3563=[],_0x284ca9=[];let _0xdff85b=_0x16b904[_0xdd10c8(0x30a)](_0x28860c[_0xdd10c8(0x278)][0x0]),_0x1025bc=_0x16b904['deepClone'](_0x28860c[_0xdd10c8(0x278)][0x0]);for(let _0x19e2be=_0x4bcbac[_0xdd10c8(0x160)]-0x1;_0x19e2be>=0x0;_0x19e2be--){const _0x5f0a9f={'id':_0xdd10c8(0x2ba),'params':{..._0x4bcbac[_0x19e2be]}},_0x22a5bd={'id':_0xdd10c8(0x2ba),'params':{..._0x15e65a[_0x19e2be]}},_0x36e81f=this[_0xdd10c8(0x2b3)][_0xdd10c8(0x217)](_0xdff85b,_0x5f0a9f,!0x1),_0x3ea16f=this['_transformService'][_0xdd10c8(0x217)](_0x1025bc,_0x22a5bd,!0x1);if(_0x21d4bf(_0x36e81f))throw _0x36e81f[_0xdd10c8(0x2d0)];if(_0x21d4bf(_0x3ea16f))throw _0x3ea16f[_0xdd10c8(0x2d0)];_0x5b3563[_0xdd10c8(0x172)](_0x36e81f['m2Prime'][_0xdd10c8(0x32c)]),_0x284ca9[_0xdd10c8(0x172)](_0x3ea16f[_0xdd10c8(0x28b)][_0xdd10c8(0x32c)]),_0xdff85b=_0x36e81f[_0xdd10c8(0x1f9)],_0x1025bc=_0x3ea16f['m1Prime'];}_0x28bf3d[_0xdd10c8(0x320)]({'undoCache':_0x5b3563,'redoCache':_0x284ca9});}['_transformPreviousActiveRange'](_0x10810e){const _0x48a135=_0x338775,{unitID:_0x2e013d}=_0x10810e,_0x290531=this['_renderManagerService']['getRenderById'](_0x2e013d)[_0x48a135(0x209)](_0xbe88ec),_0x11977d=_0x290531[_0x48a135(0x2bf)]();if(_0x11977d==null)return;const _0x1a849f=[{'id':_0x48a135(0x2ba),'params':{'unitId':_0x10810e['unitID'],'actions':null,'textRanges':[_0x11977d]}}],_0x59c7f3=this['_transformService'][_0x48a135(0x17f)](_0x10810e,_0x1a849f);if(!_0xb88eb5(_0x59c7f3))throw _0x59c7f3['error'];const _0x60baf2=_0x59c7f3['m2Prime'][0x0][_0x48a135(0x32c)][_0x48a135(0x1ff)];Array[_0x48a135(0x149)](_0x60baf2)&&_0x60baf2['length']&&_0x290531[_0x48a135(0x2f1)](_0x60baf2[0x0]);}};re=cn([Ce(0x0,_0x49d929(_0x241276)),Ce(0x1,_0x5e8ec8),Ce(0x2,_0x51cd9d)],re);var ln=Object[_0x338775(0x311)],_n=(_0x51ed01,_0x16482e,_0x2a6eaa,_0x256785)=>{const _0x19e32f=_0x338775;for(var _0x3038d9=_0x256785>0x1?void 0x0:_0x256785?ln(_0x16482e,_0x2a6eaa):_0x16482e,_0xf7018f=_0x51ed01[_0x19e32f(0x160)]-0x1,_0x251a0c;_0xf7018f>=0x0;_0xf7018f--)(_0x251a0c=_0x51ed01[_0xf7018f])&&(_0x3038d9=_0x251a0c(_0x3038d9)||_0x3038d9);return _0x3038d9;},Ee=(_0x104fc9,_0x1b2ddd)=>(_0x1aecdf,_0x522dce)=>_0x1b2ddd(_0x1aecdf,_0x522dce,_0x104fc9);let oe=class{constructor(_0x1aa55a,_0x4c5ae6,_0x521df8){const _0x28b274=_0x338775;this['_injector']=_0x1aa55a,this[_0x28b274(0x2b3)]=_0x4c5ae6,this[_0x28b274(0x2e8)]=_0x521df8;}[_0x338775(0x179)](_0x1e1280){this['_transformHistoryAndStateStack'](_0x1e1280);}[_0x338775(0x1d8)](_0x49864e){const _0x436a42=_0x338775,{unitID:_0x5764e8}=_0x49864e,{collaboration:_0x3ba6c5}=this[_0x436a42(0x2e8)][_0x436a42(0x2d1)](_0x5764e8);if(_0x3ba6c5['length']===0x0)return _0x49864e;let _0x4c14fb=_0x16b904[_0x436a42(0x30a)](_0x49864e[_0x436a42(0x278)][0x0]);for(let _0x7bdf8d=0x0;_0x7bdf8d<_0x3ba6c5['length'];_0x7bdf8d++){const _0x2b95a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ba6c5[_0x7bdf8d][_0x436a42(0x304)],..._0x3ba6c5[_0x7bdf8d][_0x436a42(0x22c)]}},_0x3f2d31=this[_0x436a42(0x2b3)][_0x436a42(0x217)](_0x4c14fb,_0x2b95a8,!0x1);if(_0x21d4bf(_0x3f2d31))throw _0x3f2d31[_0x436a42(0x2d0)];_0x4c14fb=_0x3f2d31['m1Prime'];}return{..._0x16b904[_0x436a42(0x30a)](_0x49864e),'mutations':[_0x4c14fb]};}['_transformHistoryAndStateStack'](_0x417701){const _0x2f8ba4=_0x338775,{unitID:_0x21a2d2}=_0x417701,{history:_0x3771da,collaboration:_0x59c5fa}=this[_0x2f8ba4(0x2e8)][_0x2f8ba4(0x2d1)](_0x21a2d2);if(_0x3771da[_0x2f8ba4(0x160)]===0x0&&_0x59c5fa[_0x2f8ba4(0x160)]===0x0)return;const _0x4f762c=[],_0x520894=[];let _0x533135=_0x16b904['deepClone'](_0x417701[_0x2f8ba4(0x278)][0x0]),_0x33c14f=_0x16b904['deepClone'](_0x417701[_0x2f8ba4(0x278)][0x0]);for(let _0x57476d=_0x3771da[_0x2f8ba4(0x160)]-0x1;_0x57476d>=0x0;_0x57476d--){const _0x298450={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x3771da[_0x57476d][_0x2f8ba4(0x304)],..._0x3771da[_0x57476d][_0x2f8ba4(0x2ff)]}},_0x45f973={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x3771da[_0x57476d][_0x2f8ba4(0x304)],..._0x3771da[_0x57476d]['redoState']}},_0x795715=this['_transformService'][_0x2f8ba4(0x217)](_0x533135,_0x298450,!0x1),_0x909efd=this['_transformService']['transformMutation'](_0x33c14f,_0x45f973,!0x1);if(_0x21d4bf(_0x795715))throw _0x795715[_0x2f8ba4(0x2d0)];if(_0x21d4bf(_0x909efd))throw _0x909efd[_0x2f8ba4(0x2d0)];_0x4f762c[_0x2f8ba4(0x172)]({..._0x3771da[_0x57476d],'undoState':_0x795715[_0x2f8ba4(0x28b)][_0x2f8ba4(0x32c)],'redoState':_0x909efd[_0x2f8ba4(0x28b)][_0x2f8ba4(0x32c)]}),_0x533135=_0x795715['m1Prime'],_0x33c14f=_0x909efd[_0x2f8ba4(0x1f9)];}_0x533135=_0x16b904['deepClone'](_0x417701['mutations'][0x0]),_0x33c14f=_0x16b904[_0x2f8ba4(0x30a)](_0x417701[_0x2f8ba4(0x278)][0x0]);for(let _0x4d25b2=_0x59c5fa[_0x2f8ba4(0x160)]-0x1;_0x4d25b2>=0x0;_0x4d25b2--){const _0x21bdd0={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x59c5fa[_0x4d25b2]['unitId'],..._0x59c5fa[_0x4d25b2]['undoState']}},_0x19e1fe={'id':_0x2f8ba4(0x2ba),'params':{'unitId':_0x59c5fa[_0x4d25b2]['unitId'],..._0x59c5fa[_0x4d25b2][_0x2f8ba4(0x22c)]}},_0x21b172=this['_transformService']['transformMutation'](_0x533135,_0x21bdd0,!0x1),_0x423a05=this[_0x2f8ba4(0x2b3)]['transformMutation'](_0x33c14f,_0x19e1fe,!0x1);if(_0x21d4bf(_0x21b172))throw _0x21b172[_0x2f8ba4(0x2d0)];if(_0x21d4bf(_0x423a05))throw _0x423a05[_0x2f8ba4(0x2d0)];_0x520894[_0x2f8ba4(0x172)]({..._0x59c5fa[_0x4d25b2],'undoState':_0x21b172['m2Prime'][_0x2f8ba4(0x32c)],'redoState':_0x423a05['m2Prime'][_0x2f8ba4(0x32c)]}),_0x533135=_0x21b172[_0x2f8ba4(0x1f9)],_0x33c14f=_0x423a05[_0x2f8ba4(0x1f9)];}this[_0x2f8ba4(0x2e8)]['setStateCache'](_0x21a2d2,{'history':_0x4f762c,'collaboration':_0x520894});}};oe=_n([Ee(0x0,_0x49d929(_0x241276)),Ee(0x1,_0x5e8ec8),Ee(0x2,_0x49d929(_0x2c49da))],oe);var hn=Object[_0x338775(0x311)],un=(_0x33b15d,_0x401dc2,_0x5f2a9e,_0x104380)=>{for(var _0x556b51=_0x104380>0x1?void 0x0:_0x104380?hn(_0x401dc2,_0x5f2a9e):_0x401dc2,_0x457844=_0x33b15d['length']-0x1,_0x241344;_0x457844>=0x0;_0x457844--)(_0x241344=_0x33b15d[_0x457844])&&(_0x556b51=_0x241344(_0x556b51)||_0x556b51);return _0x556b51;},it=(_0x299383,_0x16500c)=>(_0x35c892,_0x4ea582)=>_0x16500c(_0x35c892,_0x4ea582,_0x299383);let ae=class{constructor(_0x419eca,_0x552c53){const _0x48f4a4=_0x338775;this[_0x48f4a4(0x277)]=_0x419eca,this[_0x48f4a4(0x2b3)]=_0x552c53;}[_0x338775(0x300)](_0x37b97a){const _0x2fdf01=_0x338775;var _0x5a17fb;const _0x3b7089=this[_0x2fdf01(0x277)][_0x2fdf01(0x2be)](_0x46b0b1),_0x4f2dee=(_0x5a17fb=_0x3b7089[_0x2fdf01(0x1f7)]())!=null?_0x5a17fb:[];if(_0x4f2dee[_0x2fdf01(0x160)]===0x0)return;const _0x2bb8ee=_0x37b97a[_0x2fdf01(0x281)],_0x173fdb=[{'id':_0x2fdf01(0x2ba),'params':{'unitId':_0x2bb8ee,'actions':null,'textRanges':_0x4f2dee}}],_0x23c94a=this[_0x2fdf01(0x2b3)][_0x2fdf01(0x17f)](_0x37b97a,_0x173fdb);if(!_0xb88eb5(_0x23c94a))throw _0x23c94a['error'];const _0x9e3f2=_0x23c94a[_0x2fdf01(0x28b)][0x0][_0x2fdf01(0x32c)]['textRanges'];Array[_0x2fdf01(0x149)](_0x9e3f2)&&_0x9e3f2[_0x2fdf01(0x160)]&&_0x3b7089[_0x2fdf01(0x1f4)](_0x9e3f2,{'unitId':_0x2bb8ee,'subUnitId':_0x2bb8ee},!0x1);}};ae=un([it(0x0,_0x49d929(_0x241276)),it(0x1,_0x5e8ec8)],ae);var dn=Object[_0x338775(0x311)],fn=(_0x403f1e,_0x6c6108,_0x5d76bf,_0x45392e)=>{const _0x23ca4a=_0x338775;for(var _0x83e9e8=_0x45392e>0x1?void 0x0:_0x45392e?dn(_0x6c6108,_0x5d76bf):_0x6c6108,_0xc3c360=_0x403f1e[_0x23ca4a(0x160)]-0x1,_0x566651;_0xc3c360>=0x0;_0xc3c360--)(_0x566651=_0x403f1e[_0xc3c360])&&(_0x83e9e8=_0x566651(_0x83e9e8)||_0x83e9e8);return _0x83e9e8;},M=(_0x2c3486,_0xb5bfe1)=>(_0x569312,_0x597a4e)=>_0xb5bfe1(_0x569312,_0x597a4e,_0x2c3486);let ce=class extends _0x2fcb05{constructor(_0x43ab5b,_0x7100b5,_0x2170b5,_0x4bd524,_0x1ec346,_0x6ca095,_0x46236c,_0x1f208e){const _0x5e481d=_0x338775;super(),_(this,_0x5e481d(0x1e4),new _0x119e86(_0x599881['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x43ab5b,this['_collaborationController']=_0x7100b5,this['_docTransformIMECacheService']=_0x2170b5,this['_docTransformStateCacheService']=_0x4bd524,this[_0x5e481d(0x162)]=_0x1ec346,this['_docSyncEditingCollabCursorService']=_0x6ca095,this[_0x5e481d(0x19c)]=_0x46236c,this['_localeService']=_0x1f208e,this['_initEntityListener']());}['_initEntityListener'](){const _0x19caf1=_0x338775;this[_0x19caf1(0x282)](this['_collaborationController'][_0x19caf1(0x20d)][_0x19caf1(0x29b)](_0x1bec84=>{const _0x4c8e30=_0x19caf1,_0x1e3b62=this[_0x4c8e30(0x2e8)][_0x4c8e30(0x260)][_0x4c8e30(0x29b)](_0x5362bc=>{const _0x2c084d=_0x4c8e30;if(_0x5362bc==null)return;const {unitId:_0x4b10ec,redoState:_0xb247d6,commandId:_0x4acece}=_0x5362bc;if(_0x4b10ec!==_0x1bec84['unitID'])return;const _0xe6a36d={'id':_0x4acece,'type':_0x38c3e9['MUTATION'],'params':{'unitId':_0x4b10ec,'actions':_0xb247d6[_0x2c084d(0x1b3)],'textRanges':null}};_0x1bec84[_0x2c084d(0x21c)](_0xe6a36d);});if(_0x1bec84[_0x4c8e30(0x282)](_0x1e3b62),_0x1bec84 instanceof _0x4442c1){const _0x51d872={'onTransformIME':_0x321b83=>this['_docTransformIMECacheService'][_0x4c8e30(0x2e2)](_0x321b83),'onTransformState':_0x153d9b=>this[_0x4c8e30(0x2fd)][_0x4c8e30(0x179)](_0x153d9b),'onTransformSelections':_0x205bfd=>this[_0x4c8e30(0x162)][_0x4c8e30(0x300)](_0x205bfd),'onSyncEditingCollabCursor':_0x34dd9f=>this[_0x4c8e30(0x222)][_0x4c8e30(0x1f6)](_0x34dd9f),'onTransformRemoteChangesetByIMECache':_0x323413=>this[_0x4c8e30(0x2dc)][_0x4c8e30(0x1d8)](_0x323413),'onTransformRemoteChangesetByStateCache':_0xfefb47=>this[_0x4c8e30(0x2fd)]['transformRemoteChangeset'](_0xfefb47)};_0x1bec84['addHandlerCallback'](_0x51d872);}}));}};ce=fn([M(0x0,_0x49d929(_0x2c49da)),M(0x1,_0x49d929(_0x4d31b0)),M(0x2,_0x49d929(re)),M(0x3,_0x49d929(oe)),M(0x4,_0x49d929(ae)),M(0x5,_0x49d929(je)),M(0x6,_0x56a492),M(0x7,_0x49d929(_0x4f8085))],ce);var Sn=Object[_0x338775(0x311)],mn=(_0x541f80,_0x316a00,_0x5c969a,_0x17c594)=>{const _0x5e5eb0=_0x338775;for(var _0x1f2d6c=_0x17c594>0x1?void 0x0:_0x17c594?Sn(_0x316a00,_0x5c969a):_0x316a00,_0x28d839=_0x541f80[_0x5e5eb0(0x160)]-0x1,_0x33d094;_0x28d839>=0x0;_0x28d839--)(_0x33d094=_0x541f80[_0x28d839])&&(_0x1f2d6c=_0x33d094(_0x1f2d6c)||_0x1f2d6c);return _0x1f2d6c;},be=(_0x54f8cc,_0x55d6e7)=>(_0x1c8f9b,_0x38be6e)=>_0x55d6e7(_0x1c8f9b,_0x38be6e,_0x54f8cc);let Ae=class extends _0x2fcb05{constructor(_0x7d26f2,_0x3a2e86,_0xd8d0fb){const _0x458c00=_0x338775;super(),_(this,'_cachedData',new Map()),_(this,_0x458c00(0x23d),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x7d26f2,this[_0x458c00(0x324)]=_0x3a2e86,this[_0x458c00(0x2ec)]=_0xd8d0fb);}[_0x338775(0x1b6)](){const _0xe6d7c3=_0x338775;this[_0xe6d7c3(0x1b5)]=!0x0;}[_0x338775(0x1b0)](){const _0x41bdb6=_0x338775;this[_0x41bdb6(0x1b5)]=!0x1;}get[_0x338775(0x28e)](){const _0x1cec0b=_0x338775;return this[_0x1cec0b(0x23d)];}[_0x338775(0x1f8)](){const _0x4c5856=_0x338775;this[_0x4c5856(0x1da)]()[_0x4c5856(0x22e)](()=>super['dispose']());}async[_0x338775(0x2d6)](_0x1020c9){const _0x40d918=_0x338775;return this['_disabled']?null:this[_0x40d918(0x324)][_0x40d918(0x16e)](_0x311acd(_0x1020c9));}async[_0x338775(0x279)](_0x3a1bec,_0x274495){const _0x3cb6eb=_0x338775;return!!this[_0x3cb6eb(0x324)][_0x3cb6eb(0x2f8)](_0x3a1bec,_0x274495);}[_0x338775(0x1be)](_0x5a2e27,_0x34df20,_0x1008be,_0x168a5f){const _0x40ee38=_0x338775,_0x23c710=this['_revisionService']['getCurrentRevOfUnit'](_0x5a2e27);this[_0x40ee38(0x287)]['set'](_0x5a2e27,{'unitID':_0x5a2e27,'type':_0x34df20,'awaitingChangeset':_0x1008be,'mutations':_0x168a5f,'rev':_0x23c710}),this[_0x40ee38(0x23d)][_0x40ee38(0x1e3)](_0x5a2e27)||this[_0x40ee38(0x27e)](_0x5a2e27);}[_0x338775(0x27e)](_0x1e3dfc){const _0x4a4720=_0x338775,_0x46d186=this[_0x4a4720(0x13e)]();_0x46d186===0x0?this['_saveCache'](_0x1e3dfc):this[_0x4a4720(0x23d)][_0x4a4720(0x280)](_0x1e3dfc,setTimeout(()=>this[_0x4a4720(0x13a)](_0x1e3dfc),_0x46d186));}['_getSaveTimeout'](){const _0x4ce271=_0x338775;var _0x26c987;return(_0x26c987=this[_0x4ce271(0x27b)][_0x4ce271(0x219)](_0x3ec25a))!=null?_0x26c987:_0x288ada;}[_0x338775(0x13a)](_0x3c09ce){const _0x449637=_0x338775,_0x2d3713=this[_0x449637(0x23d)]['get'](_0x3c09ce);return _0x2d3713!==void 0x0&&window[_0x449637(0x1b4)](_0x2d3713),this[_0x449637(0x324)]['setItem'](_0x311acd(_0x3c09ce),this['_cachedData'][_0x449637(0x2be)](_0x3c09ce))[_0x449637(0x22e)](()=>this[_0x449637(0x23d)][_0x449637(0x26f)](_0x3c09ce));}async['exhaustSavingTask'](){const _0x5b5148=_0x338775,_0x182cc3=[];this[_0x5b5148(0x23d)][_0x5b5148(0x19b)]((_0x2fe950,_0x12b883)=>{const _0x30c8f8=_0x5b5148;window[_0x30c8f8(0x1b4)](_0x2fe950),_0x182cc3['push'](this[_0x30c8f8(0x13a)](_0x12b883)[_0x30c8f8(0x22e)](()=>{this['_saveTaskMap']['delete'](_0x12b883);}));}),await Promise['all'](_0x182cc3);}};Ae=mn([be(0x0,_0x189b35),be(0x1,_0x4d8308),be(0x2,_0x49d929(_0x9a1df6))],Ae);class gn extends _0x13dc53{constructor(){const _0x2dcaff=_0x338775;super(),_(this,'urlChange$'),this[_0x2dcaff(0x24e)]=_0x3b7334(window,'popstate')['pipe'](_0x2cb0e5(this[_0x2dcaff(0x2ad)]),_0x4e4a11(0x1),_0x453bae(void 0x0));}['setParam'](_0x1fc01e,_0x4a8b1a,_0x436430=!0x1){const _0x237e6a=_0x338775,_0x560e14=new URL(window[_0x237e6a(0x154)]['href']);_0x560e14[_0x237e6a(0x14f)]['set'](_0x1fc01e,_0x4a8b1a),_0x436430?window['history'][_0x237e6a(0x252)]('','',_0x560e14['toString']()):window[_0x237e6a(0x14b)]['pushState']('','',_0x560e14['toString']());}['removeParam'](_0x151bbd,_0xa743ee=!0x1){const _0x5198a0=_0x338775,_0x4951ab=new URL(window[_0x5198a0(0x154)][_0x5198a0(0x2c1)]);_0x4951ab[_0x5198a0(0x14f)][_0x5198a0(0x26f)](_0x151bbd),_0xa743ee?window[_0x5198a0(0x14b)]['replaceState']('','',_0x4951ab[_0x5198a0(0x31e)]()):window[_0x5198a0(0x14b)][_0x5198a0(0x29c)]('','',_0x4951ab[_0x5198a0(0x31e)]());}[_0x338775(0x2d4)](_0x3f89ef){const _0x22a5af=_0x338775;var _0x1b97d7;return(_0x1b97d7=new URL(window['location'][_0x22a5af(0x2c1)])[_0x22a5af(0x14f)][_0x22a5af(0x2be)](_0x3f89ef))!=null?_0x1b97d7:void 0x0;}}var vn=Object[_0x338775(0x1a4)],In=Object[_0x338775(0x311)],pn=(_0x23265a,_0x3fc5e6,_0x3d7a0d)=>_0x3fc5e6 in _0x23265a?vn(_0x23265a,_0x3fc5e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d7a0d}):_0x23265a[_0x3fc5e6]=_0x3d7a0d,Cn=(_0x530e18,_0x59c146,_0x180c74,_0x2a43cb)=>{const _0x43a542=_0x338775;for(var _0x2042e2=_0x2a43cb>0x1?void 0x0:_0x2a43cb?In(_0x59c146,_0x180c74):_0x59c146,_0x3f13fa=_0x530e18[_0x43a542(0x160)]-0x1,_0x1b5827;_0x3f13fa>=0x0;_0x3f13fa--)(_0x1b5827=_0x530e18[_0x3f13fa])&&(_0x2042e2=_0x1b5827(_0x2042e2)||_0x2042e2);return _0x2042e2;},Oe=(_0x1f7d69,_0x5c1298)=>(_0x273b04,_0x1a5695)=>_0x5c1298(_0x273b04,_0x1a5695,_0x1f7d69),En=(_0x28ded7,_0x4baa8d,_0x498147)=>pn(_0x28ded7,_0x4baa8d+'',_0x498147);const bn=_0x338775(0x318);let ye=class extends _0x4fdff0{constructor(_0x3dc318=st,_0x4e3b48,_0x5ec8f5,_0x3aabc0){const _0x11128c=_0x338775;super(),this['_config']=_0x3dc318,this[_0x11128c(0x2f5)]=_0x4e3b48,this[_0x11128c(0x277)]=_0x5ec8f5,this[_0x11128c(0x27b)]=_0x3aabc0;const {..._0x1d0486}=_0x533a3e({},st,this[_0x11128c(0x2c9)]);this['_configService'][_0x11128c(0x1d5)](nn,_0x1d0486);}[_0x338775(0x31d)](){const _0x5acafe=_0x338775;this[_0x5acafe(0x210)](),this[_0x5acafe(0x26b)]();}[_0x338775(0x2a8)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3d1c3d=_0x338775;var _0x12874c;const _0x3630dd=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x5bd2fc,{'useClass':_0x2afbd4}],[_0xe1c4aa,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0xf7a90d(this[_0x3d1c3d(0x277)],_0x48daf9(_0x3630dd,(_0x12874c=this[_0x3d1c3d(0x2c9)])==null?void 0x0:_0x12874c[_0x3d1c3d(0x313)]));}[_0x338775(0x272)](){const _0x5136a6=_0x338775;this['disposeWithMe'](this[_0x5136a6(0x2f5)][_0x5136a6(0x226)](_0x16d951[_0x5136a6(0x171)],[Ue])),this['disposeWithMe'](this[_0x5136a6(0x2f5)][_0x5136a6(0x226)](_0x16d951[_0x5136a6(0x2bb)],[Le]));}['_initDependencies'](){_0x224159(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x338775(0x27f),bn),ye=Cn([_0x23feaa(_0x9e4dfb),Oe(0x1,_0x51cd9d),Oe(0x2,_0x49d929(_0x241276)),Oe(0x3,_0x189b35)],ye);var On=Object[_0x338775(0x311)],Tn=(_0x522510,_0x23c9c4,_0x2b88e4,_0x285bbe)=>{const _0x416e97=_0x338775;for(var _0x12f696=_0x285bbe>0x1?void 0x0:_0x285bbe?On(_0x23c9c4,_0x2b88e4):_0x23c9c4,_0x3abf0a=_0x522510[_0x416e97(0x160)]-0x1,_0x57e779;_0x3abf0a>=0x0;_0x3abf0a--)(_0x57e779=_0x522510[_0x3abf0a])&&(_0x12f696=_0x57e779(_0x12f696)||_0x12f696);return _0x12f696;},z=(_0x34d7c2,_0xe45ba2)=>(_0xe4ea84,_0x2fcaa9)=>_0xe45ba2(_0xe4ea84,_0x2fcaa9,_0x34d7c2);let nt=class extends _0x39ee57{constructor(_0x521f99,_0x5f3e3f,_0x3f921c,_0x43132f,_0x1a66d5){super(_0x521f99,_0x5f3e3f,_0x3f921c,_0x43132f,_0x1a66d5);}async[_0x338775(0x303)](_0x3a04ff){const _0x5d6975=_0x338775,_0x155dca=await this[_0x5d6975(0x1c7)](),_0x300289=this['_createSocketURL'](_0x3a04ff,_0x155dca);return this[_0x5d6975(0x21b)](_0x300289);}[_0x338775(0x258)](_0x3d8d13,_0x295fce){const _0x124d03=_0x338775,_0x57624f=typeof window>'u'?new URL(_0x3d8d13):new URL(_0x3d8d13,window['location'][_0x124d03(0x1d4)]);_0x57624f[_0x124d03(0x14f)][_0x124d03(0x280)](_0x124d03(0x307),_0x295fce);const _0x36c109=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x124d03(0x154)][_0x124d03(0x2db)]);return _0x36c109[_0x124d03(0x2be)](_0x124d03(0x26e))&&_0x57624f['searchParams'][_0x124d03(0x280)](_0x124d03(0x26e),_0x36c109[_0x124d03(0x2be)](_0x124d03(0x26e))),_0x57624f[_0x124d03(0x31e)]();}async[_0x338775(0x1c7)](){const _0x385dc9=_0x338775;var _0x7dc82,_0xfd3de1,_0xb67331;const _0x1847a5=this[_0x385dc9(0x27b)][_0x385dc9(0x219)](_0x58c66f),_0x370fd5=(_0x7dc82=_0x1847a5==null?void 0x0:_0x1847a5[_0x385dc9(0x1c4)])!=null?_0x7dc82:_0x568d0a;return(_0xb67331=(_0xfd3de1=(await this[_0x385dc9(0x28a)][_0x385dc9(0x2be)](_0x370fd5,{'headers':{'Content-Type':_0x385dc9(0x1d6)}}))['body'])==null?void 0x0:_0xfd3de1[_0x385dc9(0x255)])!=null?_0xb67331:'';}};nt=Tn([z(0x0,_0x49d929(_0x241276)),z(0x1,_0x49d929(_0x291cab)),z(0x2,_0x189b35),z(0x3,_0x610049),z(0x4,_0x3c1e9f)],nt);const rt=0x7530,ot=_0x338775(0x185);class Gn extends _0x2fcb05{constructor(){const _0x547d0e=_0x338775;super(),_(this,_0x547d0e(0x1cc),_0x4eddce()),_(this,_0x547d0e(0x146),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x547d0e(0x178),null),_(this,_0x547d0e(0x1ba),new Map()),_(this,_0x547d0e(0x1a5),new Map()),this[_0x547d0e(0x32f)]();}[_0x338775(0x1f8)](){const _0x16e666=_0x338775;super[_0x16e666(0x1f8)](),this[_0x16e666(0x1ba)]['forEach']((_0x384e4d,_0x3b2b4e)=>this[_0x16e666(0x2b5)](_0x3b2b4e)),this[_0x16e666(0x178)]&&window['clearInterval'](this[_0x16e666(0x178)]);}['getUnitStatus$'](_0x58b950){const _0x29b188=_0x338775;return this[_0x29b188(0x205)](_0x58b950)[_0x29b188(0x2a1)](_0x3bfac6());}[_0x338775(0x29e)](_0x17a3c8){const _0x56ab1f=_0x338775;this[_0x56ab1f(0x146)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x17a3c8),this[_0x56ab1f(0x215)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x17a3c8],'isForwarded':!0x1});}[_0x338775(0x153)](_0x3eab65){const _0x2530c5=_0x338775;this['_selfUnitIDs'][_0x2530c5(0x26f)](_0x3eab65),this[_0x2530c5(0x146)][_0x2530c5(0x326)]===0x0&&this[_0x2530c5(0x178)]&&window['clearInterval'](this[_0x2530c5(0x178)]);}['_init'](){const _0x2879f4=_0x338775;this[_0x2879f4(0x282)](_0x294dcb(_0x3b7334(window,_0x2879f4(0x262))[_0x2879f4(0x29b)](_0xc4b847=>{const _0x2a4e9b=_0x2879f4;if(_0xc4b847[_0x2a4e9b(0x16a)]!==ot||!_0xc4b847[_0x2a4e9b(0x177)])return;const _0x49bb7f=JSON[_0x2a4e9b(0x323)](_0xc4b847['newValue']);this['_handleEvent'](_0x49bb7f);}))),window['addEventListener'](_0x2879f4(0x332),()=>this[_0x2879f4(0x215)]({'type':0x1,'memberID':this[_0x2879f4(0x1cc)],'unitIDs':Array[_0x2879f4(0x327)](this[_0x2879f4(0x146)])}));}[_0x338775(0x1c2)](_0x5a44b3){const _0x38257f=_0x338775;switch(_0x5a44b3[_0x38257f(0x1c0)]){case 0x0:this[_0x38257f(0x174)](_0x5a44b3);break;case 0x1:this[_0x38257f(0x2e7)](_0x5a44b3);break;case 0x2:this[_0x38257f(0x225)](_0x5a44b3);break;}}[_0x338775(0x174)](_0x12e919){const _0x193f2f=_0x338775,{unitIDs:_0x48f775,memberID:_0x16030d,isForwarded:_0x56c0f6}=_0x12e919;_0x48f775['forEach'](_0x272212=>{const _0xe8436=_0x6421;if(!_0x56c0f6&&this[_0xe8436(0x133)]['has'](_0x272212)&&this[_0xe8436(0x205)](_0x272212)[_0xe8436(0x152)](_0x39bb59[_0xe8436(0x30b)]),!this[_0xe8436(0x133)][_0xe8436(0x1e3)](_0x272212)||!this[_0xe8436(0x133)][_0xe8436(0x2be)](_0x272212)[_0xe8436(0x1e3)](_0x16030d)){const _0x5aa938=this[_0xe8436(0x133)][_0xe8436(0x2be)](_0x272212)||new Set();_0x5aa938[_0xe8436(0x1c9)](_0x16030d),this[_0xe8436(0x133)][_0xe8436(0x280)](_0x272212,_0x5aa938),this['_scheduleClearOtherTimer'](_0x16030d);}}),_0x56c0f6||this[_0x193f2f(0x215)]({'type':0x0,'memberID':this[_0x193f2f(0x1cc)],'unitIDs':[...this[_0x193f2f(0x146)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5b20c9){const _0x4e0b9d=_0x338775;this[_0x4e0b9d(0x2b5)](_0x5b20c9);const _0x5b64f2=window[_0x4e0b9d(0x256)](()=>{const _0x2ade1a=_0x4e0b9d;this[_0x2ade1a(0x133)]['forEach'](_0x278fb9=>{_0x278fb9['delete'](_0x5b20c9);});},rt*0x2);this[_0x4e0b9d(0x1ba)][_0x4e0b9d(0x280)](_0x5b20c9,_0x5b64f2);}['_removeClearOtherTimer'](_0x13b54a){const _0x261633=_0x338775;if(this[_0x261633(0x1ba)][_0x261633(0x1e3)](_0x13b54a)){const _0x103982=this['_clearOtherTimers'][_0x261633(0x2be)](_0x13b54a);_0x103982&&window[_0x261633(0x1b4)](_0x103982),this[_0x261633(0x1ba)]['set'](_0x13b54a,null);}}['_handleLeaveEvent'](_0xf2b88){const _0x32e0cc=_0x338775,{memberID:_0x3f6c37,unitIDs:_0x6d41cb}=_0xf2b88;_0x6d41cb['forEach'](_0x46032d=>{const _0x1f398c=_0x6421;var _0x4139b1;const _0x50a21a=this[_0x1f398c(0x133)][_0x1f398c(0x2be)](_0x46032d);_0x50a21a&&(_0x50a21a[_0x1f398c(0x26f)](_0x3f6c37),(_0x4139b1=this[_0x1f398c(0x205)](_0x46032d))==null||_0x4139b1[_0x1f398c(0x152)](_0x50a21a[_0x1f398c(0x326)]===0x0?_0x39bb59[_0x1f398c(0x296)]:_0x39bb59[_0x1f398c(0x30b)]));}),this[_0x32e0cc(0x2b5)](_0x3f6c37);}['_handleHeartbeatEvent'](_0x4d4ef5){const _0x5984f0=_0x338775;this[_0x5984f0(0x163)](_0x4d4ef5[_0x5984f0(0x301)]);}[_0x338775(0x215)](_0x19b74e){const _0x535c10=_0x338775;localStorage[_0x535c10(0x2f8)](ot,JSON['stringify'](_0x19b74e));}['_scheduleHeartbeat'](){const _0x361a70=_0x338775;this[_0x361a70(0x178)]=window[_0x361a70(0x2f7)](()=>{const _0x375d96=_0x361a70;this[_0x375d96(0x215)]({'type':0x2,'memberID':this[_0x375d96(0x1cc)]});},rt);}['_ensureSubject'](_0x1aacbf){const _0x505e87=_0x338775;return this[_0x505e87(0x1a5)]['has'](_0x1aacbf)||this[_0x505e87(0x1a5)][_0x505e87(0x280)](_0x1aacbf,new _0x119e86(_0x39bb59[_0x505e87(0x296)])),this['_unitStatus'][_0x505e87(0x2be)](_0x1aacbf);}}var Ut=(_0x5c815b=>(_0x5c815b[_0x5c815b[_0x338775(0x15c)]=0x0]=_0x338775(0x15c),_0x5c815b[_0x5c815b['OK']=0x1]='OK',_0x5c815b[_0x5c815b[_0x338775(0x16b)]=0x2]=_0x338775(0x16b),_0x5c815b[_0x5c815b[_0x338775(0x1ec)]=0x3]=_0x338775(0x1ec),_0x5c815b[_0x5c815b[_0x338775(0x204)]=0x4]=_0x338775(0x204),_0x5c815b[_0x5c815b[_0x338775(0x285)]=0x5]=_0x338775(0x285),_0x5c815b[_0x5c815b[_0x338775(0x2cf)]=0x6]=_0x338775(0x2cf),_0x5c815b[_0x5c815b[_0x338775(0x207)]=0x7]=_0x338775(0x207),_0x5c815b[_0x5c815b['TOO_MANY_REQUESTS']=0x8]=_0x338775(0x1f0),_0x5c815b[_0x5c815b[_0x338775(0x17d)]=0x9]=_0x338775(0x17d),_0x5c815b[_0x5c815b[_0x338775(0x13f)]=0xa]=_0x338775(0x13f),_0x5c815b[_0x5c815b[_0x338775(0x264)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c815b[_0x5c815b[_0x338775(0x1a8)]=0x1771]=_0x338775(0x1a8),_0x5c815b[_0x5c815b[_0x338775(0x24f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5c815b[_0x5c815b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x338775(0x1e8),_0x5c815b[_0x5c815b[_0x338775(0x2ac)]=0x1b59]=_0x338775(0x2ac),_0x5c815b[_0x5c815b[_0x338775(0x200)]=0x1b5a]=_0x338775(0x200),_0x5c815b[_0x5c815b[_0x338775(0x2a5)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c815b[_0x5c815b[_0x338775(0x140)]=0x1b5c]=_0x338775(0x140),_0x5c815b[_0x5c815b[_0x338775(0x30f)]=0x1b5d]='APPLY_DUPLICATED',_0x5c815b[_0x5c815b[_0x338775(0x2cc)]=0x1f41]=_0x338775(0x2cc),_0x5c815b[_0x5c815b[_0x338775(0x151)]=0x2329]=_0x338775(0x151),_0x5c815b[_0x5c815b[_0x338775(0x2fb)]=0x232a]=_0x338775(0x2fb),_0x5c815b[_0x5c815b[_0x338775(0x1f5)]=0x232b]=_0x338775(0x1f5),_0x5c815b[_0x5c815b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x338775(0x2df),_0x5c815b[_0x5c815b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x338775(0x190),_0x5c815b[_0x5c815b[_0x338775(0x2ee)]=0x2711]=_0x338775(0x2ee),_0x5c815b[_0x5c815b[_0x338775(0x306)]=0x2712]=_0x338775(0x306),_0x5c815b[_0x5c815b[_0x338775(0x1ea)]=0x2713]=_0x338775(0x1ea),_0x5c815b[_0x5c815b[_0x338775(0x27d)]=0x2714]=_0x338775(0x27d),_0x5c815b[_0x5c815b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x338775(0x244),_0x5c815b[_0x5c815b[_0x338775(0x247)]=0x2ee1]=_0x338775(0x247),_0x5c815b[_0x5c815b[_0x338775(0x23b)]=0x2ee2]='INVALID_INVITE_CODE',_0x5c815b[_0x5c815b[_0x338775(0x1d1)]=0x2ee3]=_0x338775(0x1d1),_0x5c815b[_0x5c815b[_0x338775(0x234)]=0x2ee4]=_0x338775(0x234),_0x5c815b[_0x5c815b[_0x338775(0x242)]=0x2ee5]=_0x338775(0x242),_0x5c815b[_0x5c815b[_0x338775(0x2ae)]=0x32c9]=_0x338775(0x2ae),_0x5c815b[_0x5c815b[_0x338775(0x19f)]=0x32ca]=_0x338775(0x19f),_0x5c815b[_0x5c815b[_0x338775(0x263)]=0x32cb]=_0x338775(0x263),_0x5c815b[_0x5c815b[_0x338775(0x28d)]=-0x1]=_0x338775(0x28d),_0x5c815b))(Ut||{}),Rn=Object[_0x338775(0x311)],Dn=(_0x3a7b42,_0x946ef5,_0x1e2eca,_0x5841c9)=>{const _0x196841=_0x338775;for(var _0x8d15c4=_0x5841c9>0x1?void 0x0:_0x5841c9?Rn(_0x946ef5,_0x1e2eca):_0x946ef5,_0x25b89a=_0x3a7b42[_0x196841(0x160)]-0x1,_0x68ccc5;_0x25b89a>=0x0;_0x25b89a--)(_0x68ccc5=_0x3a7b42[_0x25b89a])&&(_0x8d15c4=_0x68ccc5(_0x8d15c4)||_0x8d15c4);return _0x8d15c4;},Te=(_0x55dff6,_0x99bff4)=>(_0x489a0f,_0x16b9ae)=>_0x99bff4(_0x489a0f,_0x16b9ae,_0x55dff6);let at=class extends _0x2fcb05{constructor(_0x1e79e3,_0x2f4482,_0x37f8b2){const _0x133d3e=_0x338775;super(),this['_instanceService']=_0x1e79e3,this[_0x133d3e(0x28a)]=_0x2f4482,this[_0x133d3e(0x27b)]=_0x37f8b2;}async[_0x338775(0x316)](_0x2749f2,_0xa86e3a,_0x2ca711,..._0x23b591){const _0x2fcdf6=_0x338775;var _0x27869e,_0x428ee3,_0x6130c7,_0x1d5c51;const _0x2f9e91=this[_0x2fcdf6(0x170)][_0x2fcdf6(0x32d)]();if(!_0x2f9e91)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5425cc=((_0x27869e=this['_configService'][_0x2fcdf6(0x219)](_0x2d1798))!=null?_0x27869e:_0x53ace2)+'/'+_0x2749f2+_0x2fcdf6(0x30d)+_0xa86e3a,_0xc87aaa=new URL(window['location'][_0x2fcdf6(0x2c1)]),_0x409229={'scriptId':_0x2749f2,'runId':(_0x428ee3=_0xc87aaa[_0x2fcdf6(0x14f)][_0x2fcdf6(0x2be)](_0x2fcdf6(0x26e)))!=null?_0x428ee3:'','function':_0xa86e3a,'unitId':_0x2f9e91['getUnitId'](),'argsOfFunction':JSON[_0x2fcdf6(0x1aa)](_0x23b591),'invokeId':(_0x6130c7=_0x2ca711[_0x2fcdf6(0x227)])!=null?_0x6130c7:'','executionId':(_0x1d5c51=_0x2ca711[_0x2fcdf6(0x193)])!=null?_0x1d5c51:''};try{const _0x9454e1=await this['_httpService'][_0x2fcdf6(0x1ab)](_0x5425cc,{'body':_0x409229});return _0x9454e1['body']['error']&&_0x9454e1[_0x2fcdf6(0x17c)][_0x2fcdf6(0x2d0)][_0x2fcdf6(0x189)]!==Ut['OK']?_0x2fcdf6(0x2eb):_0x9454e1['body'][_0x2fcdf6(0x13d)];}catch{return _0x2fcdf6(0x2eb);}}};at=Dn([Te(0x0,_0x364350),Te(0x1,_0x49d929(_0x291cab)),Te(0x2,_0x189b35)],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};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xfd13(){const _0x32bb99=['Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','16twUbsM','230531losKuA','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.','Edit\x20conflicts','Syncing\x20server\x20data...','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','16365fHtWxl','102HBTdZH','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','21560198DhlIBw','7078810kOlMHm','1bigVcz','1267384RrnUcP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1299069XRpRnp','508YOcsPA','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file','310990tgUnhC'];_0xfd13=function(){return _0x32bb99;};return _0xfd13();}const _0x177791=_0x281d;(function(_0x2e41d8,_0x5574b4){const _0x1112f7=_0x281d,_0x175542=_0x2e41d8();while(!![]){try{const _0x353e15=-parseInt(_0x1112f7(0x86))/0x1*(-parseInt(_0x1112f7(0x87))/0x2)+parseInt(_0x1112f7(0x7f))/0x3*(parseInt(_0x1112f7(0x8a))/0x4)+parseInt(_0x1112f7(0x8d))/0x5+-parseInt(_0x1112f7(0x80))/0x6*(-parseInt(_0x1112f7(0x78))/0x7)+-parseInt(_0x1112f7(0x77))/0x8*(parseInt(_0x1112f7(0x89))/0x9)+parseInt(_0x1112f7(0x85))/0xa+-parseInt(_0x1112f7(0x84))/0xb;if(_0x353e15===_0x5574b4)break;else _0x175542['push'](_0x175542['shift']());}catch(_0x186151){_0x175542['push'](_0x175542['shift']());}}}(_0xfd13,0x638a5));const e={'collab-client':{'tooltip':{'reconnect':_0x177791(0x7e)}},'collabStatus':{'fetchMiss':_0x177791(0x7b),'conflict':_0x177791(0x7a),'notCollab':_0x177791(0x8c),'synced':'Synced','syncing':_0x177791(0x7c),'offline':_0x177791(0x83)},'session':{'connection-failed':_0x177791(0x81),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x177791(0x88)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x177791(0x79)},'permission':{'title':_0x177791(0x75),'content':_0x177791(0x76)},'collaboration':{'single-unit':{'warning':_0x177791(0x82)},'closeRoom':_0x177791(0x8b)},'auth':{'needGotoLoginAlert':_0x177791(0x7d)}};function _0x281d(_0x28b7b2,_0x395427){const _0xfd13c0=_0xfd13();return _0x281d=function(_0x281d59,_0x5b404b){_0x281d59=_0x281d59-0x75;let _0x2d8377=_0xfd13c0[_0x281d59];return _0x2d8377;},_0x281d(_0x28b7b2,_0x395427);}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x581403=_0x33e8;(function(_0x4fe190,_0x215de9){const _0x2c1ebc=_0x33e8,_0x4b5cc8=_0x4fe190();while(!![]){try{const _0x444030=-parseInt(_0x2c1ebc(0x1cb))/0x1+parseInt(_0x2c1ebc(0x1ce))/0x2+-parseInt(_0x2c1ebc(0x1cd))/0x3+parseInt(_0x2c1ebc(0x1c6))/0x4*(-parseInt(_0x2c1ebc(0x1c8))/0x5)+-parseInt(_0x2c1ebc(0x1cc))/0x6*(-parseInt(_0x2c1ebc(0x1c9))/0x7)+-parseInt(_0x2c1ebc(0x1d4))/0x8*(-parseInt(_0x2c1ebc(0x1ca))/0x9)+parseInt(_0x2c1ebc(0x1c2))/0xa;if(_0x444030===_0x215de9)break;else _0x4b5cc8['push'](_0x4b5cc8['shift']());}catch(_0x4a0d58){_0x4b5cc8['push'](_0x4b5cc8['shift']());}}}(_0x4e6b,0xaaff8));const o={'collab-client':{'tooltip':{'reconnect':_0x581403(0x1d0)}},'collabStatus':{'fetchMiss':_0x581403(0x1d7),'conflict':'تداخل\x20ویرایش','notCollab':_0x581403(0x1d5),'synced':'همگام\x20سازی','syncing':_0x581403(0x1d2),'offline':_0x581403(0x1c4)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x581403(0x1d3),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x581403(0x1cf),'content':_0x581403(0x1d6)},'permission':{'title':_0x581403(0x1c5),'content':_0x581403(0x1c7)},'collaboration':{'single-unit':{'warning':_0x581403(0x1d1)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x581403(0x1c3)}};function _0x33e8(_0x363357,_0x5b0a02){const _0x4e6b1f=_0x4e6b();return _0x33e8=function(_0x33e8f4,_0x587ee3){_0x33e8f4=_0x33e8f4-0x1c2;let _0x19e677=_0x4e6b1f[_0x33e8f4];return _0x19e677;},_0x33e8(_0x363357,_0x5b0a02);}function _0x4e6b(){const _0x4e6428=['198027dqxTMg','1136247NqOyzc','3762zRfMQZ','3985902cpXOEG','2795244NJqRnI','تداخل\x20همکاری','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','392KfusoX','پرونده\x20محلی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','13316180pYbDNB','ورود\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اعتبارسنجی','184ALsDGx','اعمال\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رفت.','105505VjLXrg','3668lUDkmn'];_0x4e6b=function(){return _0x4e6428;};return _0x4e6b();}export{o as default};
|