@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505121607 → 0.7.0-nightly.202505141607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x169260=_0x3dbd;(function(_0x34c49a,_0x18563e){const _0x456d7f=_0x3dbd,_0x3b936e=_0x34c49a();while(!![]){try{const _0x4d9455=parseInt(_0x456d7f(0x2ae))/0x1*(parseInt(_0x456d7f(0x1f4))/0x2)+-parseInt(_0x456d7f(0x194))/0x3+-parseInt(_0x456d7f(0x290))/0x4*(-parseInt(_0x456d7f(0x223))/0x5)+parseInt(_0x456d7f(0x15c))/0x6+parseInt(_0x456d7f(0x236))/0x7*(-parseInt(_0x456d7f(0x2c2))/0x8)+parseInt(_0x456d7f(0xf3))/0x9+-parseInt(_0x456d7f(0x137))/0xa;if(_0x4d9455===_0x18563e)break;else _0x3b936e['push'](_0x3b936e['shift']());}catch(_0x578779){_0x3b936e['push'](_0x3b936e['shift']());}}}(_0xc20a,0x581cd));var $t=Object[_0x169260(0x165)],xt=(_0x2f456d,_0xd5de7a,_0x425580)=>_0xd5de7a in _0x2f456d?$t(_0x2f456d,_0xd5de7a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425580}):_0x2f456d[_0xd5de7a]=_0x425580,_=(_0xa227dd,_0x3a2c8c,_0x233271)=>xt(_0xa227dd,typeof _0x3a2c8c!=_0x169260(0x155)?_0x3a2c8c+'':_0x3a2c8c,_0x233271);import{MemberService as _0x32b610,SessionStatus as _0x559330,CollaborationSessionService as _0x955e03,CollaborationStatus as _0x42c1d5,CollaborationController as _0x424dc7,ILocalCacheService as _0x39cda1,CollaborationUIEventService as _0x10819b,CollaborationUIEventId as _0x3c6f01,DataLoaderService as _0x23db48,DocCollaborationEntity as _0xc0fb36,getLocalCacheKey as _0x13487b,LOCAL_CACHE_INTERVAL as _0x514e4b,LOCAL_CACHE_INTERVAL_KEY as _0x2ade3e,UniverCollaborationClientPlugin as _0x38e070,CollaborationSocketService as _0xac514c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xd4284e,DEFAULT_WS_SESSION_TICKET_URL as _0x4139eb,UnitStatus as _0x505865,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x483350,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3be7cd}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x120009,Disposable as _0x2dad37,DOC_RANGE_TYPE as _0x2a38fc,Inject as _0x110a3,Injector as _0x55019c,IUniverInstanceService as _0x1f520f,ICommandService as _0x1f6846,debounce as _0x50ec32,Rectangle as _0x526d47,DisposableCollection as _0x585b23,toDisposable as _0x4b7e10,UniverInstanceType as _0x1711d9,Tools as _0x26884c,COLORS as _0x756d3c,ColorKit as _0x514024,ThemeService as _0x323fec,fromEventSubject as _0x53cbeb,LocaleService as _0x4c7e50,createIdentifier as _0x120a6b,ILogService as _0x2bf776,Optional as _0xbb2fd8,Workbook as _0x1c4089,CommandType as _0x3704e1,IConfigService as _0x165f03,ILocalStorageService as _0x466218,DependentOn as _0xfdc08d,Plugin as _0x457f6b,merge as _0x3372a0,registerDependencies as _0xfe62ca,mergeOverrideWithDependencies as _0x42a1d3,touchDependencies as _0x1253e6,generateRandomId as _0x104c21}from'@univerjs/core';function _0x3dbd(_0x297d59,_0x281cfb){const _0xc20a14=_0xc20a();return _0x3dbd=function(_0x3dbde4,_0x28eacf){_0x3dbde4=_0x3dbde4-0xee;let _0x47c1b4=_0xc20a14[_0x3dbde4];return _0x47c1b4;},_0x3dbd(_0x297d59,_0x281cfb);}import{Shape as _0x202922,Rect as _0x5c1e25,getColor as _0x24e7a8,RegularPolygon as _0x2fc3cb,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3eaca2,Vector2 as _0x48a461,SHEET_VIEWPORT_KEY as _0x49f06e,IRenderManagerService as _0x33bfdb}from'@univerjs/engine-render';import{ISocketService as _0x4142ee,WebSocketService as _0x4207a8,HTTPService as _0x139675}from'@univerjs/network';import{IDocClipboardService as _0x35f5ec,NodePositionConvertToCursor as _0x1c066d,NodePositionConvertToRectRange as _0x11bc4c,TEXT_RANGE_LAYER_INDEX as _0x3e0bbd,SetDocZoomRatioOperation as _0x283daf,DocIMEInputManagerService as _0x3ae0a4,DocStateChangeManagerService as _0x29837f}from'@univerjs/docs-ui';import{IImageIoService as _0x4548ff}from'@univerjs/drawing';import{BehaviorSubject as _0x389fc0,debounceTime as _0x44bd3a,takeUntil as _0x3dda39,Subject as _0x55de5e,filter as _0x90dd59,switchMap as _0x14c1cd,merge as _0x33f4ae,combineLatest as _0x52081b,of as _0x20b8f4,fromEvent as _0x5c0ef9,shareReplay as _0x35abe7,mapTo as _0xe2137d,distinctUntilChanged as _0x392645}from'rxjs';import{SetTextSelectionsOperation as _0x3c58b0,RichTextEditingMutation as _0x536bfc,DocSelectionManagerService as _0x4edb44,DocSkeletonManagerService as _0x26b178}from'@univerjs/docs';import{ITransformService as _0x213111,CollaborationEvent as _0xbb5566,isTransformMutationFailure as _0x224c63,isTransformMutationsWithChangesetSuccess as _0x2b73e0,RevisionService as _0x2afb59,ISnapshotServerService as _0x2798ee}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x42ceee,serializeRangeWithSheet as _0x39dd8d}from'@univerjs/engine-formula';import{RefRangeService as _0x3d4dec,SetSelectionsOperation as _0x3d2102,SheetsSelectionsService as _0x136a81,EffectRefRangId as _0x5527da,handleIRemoveRow as _0x2cc4c9,handleIRemoveCol as _0x566537,handleMoveRange as _0x403bc8,handleInsertRow as _0x33c745,handleInsertRangeMoveRight as _0x2dd520,handleInsertRangeMoveDown as _0x4f9631,handleInsertCol as _0x55bfd4,handleDeleteRangeMoveUp as _0x288a0c,handleDeleteRangeMoveLeft as _0x1b59fd,runRefRangeMutations as _0x5af62b,SetWorksheetActivateCommand as _0x2195ce}from'@univerjs/sheets';import{map as _0x1e013c,filter as _0x5d75a0,throttleTime as _0x469276,takeUntil as _0x59f1a5,switchMap as _0x566de5}from'rxjs/operators';import{SheetSkeletonManagerService as _0xc67d6b,getCoordByCell as _0x566ad3,getSheetObject as _0x5251f5}from'@univerjs/sheets-ui';import{jsx as _0x10d544,jsxs as _0x258dcb}from'react/jsx-runtime';import{useObservable as _0x401156,useDependency as _0x2f4f88,IUIPartsService as _0x2ca804,BuiltInUIPart as _0x48a164,connectInjector as _0x286ae6,IBeforeCloseService as _0x47cda9,IMessageService as _0x1a1437,INotificationService as _0x1a0b75}from'@univerjs/ui';import{Tooltip as _0x4c014c,clsx as _0x291642,MessageType as _0x1d16c4}from'@univerjs/design';import{forwardRef as _0x6547b1,useRef as _0x100f28,createElement as _0x41ab58,useCallback as _0xdec2d5}from'react';import{IRemoteInstanceService as _0x58bda9}from'@univerjs/rpc';var ci=Object[_0x169260(0x27d)],li=(_0x14ddd8,_0x294cff,_0x9a2cf0,_0x2f185a)=>{const _0x14865d=_0x169260;for(var _0x28a859=_0x2f185a>0x1?void 0x0:_0x2f185a?ci(_0x294cff,_0x9a2cf0):_0x294cff,_0x5c8b88=_0x14ddd8[_0x14865d(0x23b)]-0x1,_0x194f66;_0x5c8b88>=0x0;_0x5c8b88--)(_0x194f66=_0x14ddd8[_0x5c8b88])&&(_0x28a859=_0x194f66(_0x28a859)||_0x28a859);return _0x28a859;},Je=(_0x5a6344,_0x3b60e7)=>(_0x4d2b97,_0x1d7ecf)=>_0x3b60e7(_0x4d2b97,_0x1d7ecf,_0x5a6344);let Ne=class extends _0x120009{constructor(_0x195fed,_0x4c12d7){const _0x464eba=_0x169260;super(),this[_0x464eba(0x103)]=_0x195fed,this[_0x464eba(0x18e)]=_0x4c12d7,this[_0x464eba(0x23a)]();}[_0x169260(0x23a)](){const _0x2a60b0=_0x169260,_0x3649e1=this;this[_0x2a60b0(0x117)](this[_0x2a60b0(0x103)]['addClipboardHook']({'onBeforePasteImage':async _0x321459=>{const _0x29001e=_0x2a60b0,_0x36e0e3=await _0x3649e1[_0x29001e(0x18e)]['saveImage'](_0x321459);return _0x36e0e3?{'source':_0x36e0e3[_0x29001e(0x13f)],'imageSourceType':_0x36e0e3[_0x29001e(0x1e2)]}:null;}}));}};Ne=li([Je(0x0,_0x35f5ec),Je(0x1,_0x4548ff)],Ne);const Ze=['purple.300','jiqing.500','green.600','red.300',_0x169260(0x16e),_0x169260(0x277)];class ke extends _0x2dad37{constructor(){const _0x147eb8=_0x169260;super(...arguments),_(this,_0x147eb8(0x1a2),new Map()),_(this,'_colorIndex',0x0);}[_0x169260(0x298)](_0x35abf6){const _0x491b42=_0x169260;if(this[_0x491b42(0x1a2)][_0x491b42(0x163)](_0x35abf6))return this[_0x491b42(0x1a2)][_0x491b42(0xf1)](_0x35abf6);const _0x45db73=Ze[this[_0x491b42(0x2e4)]];return this[_0x491b42(0x2e4)]=(this[_0x491b42(0x2e4)]+0x1)%Ze['length'],this[_0x491b42(0x1a2)][_0x491b42(0x114)](_0x35abf6,_0x45db73),_0x45db73;}}function Tt(_0x39bc1e){let _0x3a2818='';for(const _0x38a5f3 of _0x39bc1e){const {startOffset:_0x723dd2,endOffset:_0x3688a2,isActive:_0x3a255f,rangeType:_0xb7240a,segmentId:_0x384d7d,segmentPage:_0x486aa2}=_0x38a5f3;_0x3a2818['length']&&(_0x3a2818+=','),_0x3a2818+=_0x723dd2+':'+_0x3688a2+':'+(_0x3a255f?'1':'0')+':'+_0xb7240a+':'+_0x384d7d+':'+_0x486aa2;}return _0x3a2818;}function _i(_0x60b649){const _0x3f3a85=_0x169260,_0xdec126=_0x60b649[_0x3f3a85(0x224)](','),_0x3f4a88=[];for(const _0x43477c of _0xdec126){const [_0xa4587b,_0x20c53d,_0x459c1a,_0x32c332,_0x2d201e,_0x19982e]=_0x43477c['split'](':');_0x3f4a88[_0x3f3a85(0x279)]({'startOffset':Number(_0xa4587b),'endOffset':Number(_0x20c53d),'collapsed':_0xa4587b===_0x20c53d,'isActive':_0x459c1a==='1','rangeType':_0x32c332===_0x2a38fc[_0x3f3a85(0x1a1)]?_0x2a38fc['TEXT']:_0x2a38fc[_0x3f3a85(0x264)],'segmentId':typeof _0x2d201e=='string'?String(_0x2d201e):'','segmentPage':Number(_0x19982e!=null?_0x19982e:-0x1)});}return _0x3f4a88[_0x3f3a85(0x280)](_0x32bfde=>_0x32bfde['isActive'])||(_0x3f4a88[0x0]['isActive']=!0x0),_0x3f4a88;}class He extends _0x120009{constructor(){const _0x2aecea=_0x169260;super(...arguments),_(this,_0x2aecea(0x2b0),new _0x389fc0(null)),_(this,_0x2aecea(0x13d),this[_0x2aecea(0x2b0)][_0x2aecea(0x16f)]());}[_0x169260(0x164)](_0x1249f0){const _0x518df3=_0x169260,{unitID:_0x37c645,memberID:_0x1ee217,textRanges:_0x16f022}=_0x1249f0,_0x52d84b=Tt(_0x16f022);if(_0x52d84b==='')return;const _0x562612={'unitID':_0x37c645,'memberID':_0x1ee217,'selection':_0x52d84b};this[_0x518df3(0x2b0)]['next'](_0x562612);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x176bc8,_0x2be283,_0x2e7e32,_0x448f6a)=>{const _0x4eb6aa=_0x169260;for(var _0x118cab=_0x448f6a>0x1?void 0x0:_0x448f6a?hi(_0x2be283,_0x2e7e32):_0x2be283,_0x3d80a2=_0x176bc8[_0x4eb6aa(0x23b)]-0x1,_0x217d20;_0x3d80a2>=0x0;_0x3d80a2--)(_0x217d20=_0x176bc8[_0x3d80a2])&&(_0x118cab=_0x217d20(_0x118cab)||_0x118cab);return _0x118cab;},L=(_0x169c79,_0x2fc89f)=>(_0x2838db,_0xe1925b)=>_0x2fc89f(_0x2838db,_0xe1925b,_0x169c79);const di=0x12c,fi=0x64;let Ue=class extends _0x120009{constructor(_0x2581b4,_0x351f31,_0x488b19,_0x5ea528,_0x302b91,_0x4bb85e,_0x3edff,_0x55d393,_0x1fe778){const _0x44f916=_0x169260;super(),_(this,'_online',!0x1),_(this,_0x44f916(0x23a),!0x1),_(this,_0x44f916(0x225),new _0x389fc0(new Map())),_(this,_0x44f916(0x24a),this[_0x44f916(0x225)][_0x44f916(0x16f)]()),_(this,_0x44f916(0x228),new _0x389fc0([])),_(this,_0x44f916(0x106),this[_0x44f916(0x228)][_0x44f916(0x1e9)](_0x44bd3a(di))),_(this,_0x44f916(0x265),_0x50ec32(_0xf7e1fa=>{const _0x170ed9=_0x44f916,_0x3856b8={'eventID':_0xbb5566[_0x170ed9(0x22a)],'data':{'unitID':this[_0x170ed9(0xf7)],'memberID':this[_0x170ed9(0x2c9)][_0x170ed9(0x263)](),'selection':Tt(_0xf7e1fa)}};this['_session'][_0x170ed9(0x1da)](_0x3856b8,this[_0x170ed9(0xf7)]);},fi)),(this['unitID']=_0x2581b4,this[_0x44f916(0x2c9)]=_0x351f31,this['_injector']=_0x488b19,this[_0x44f916(0x176)]=_0x5ea528,this['_memberService']=_0x302b91,this[_0x44f916(0x17c)]=_0x4bb85e,this[_0x44f916(0x25f)]=_0x3edff,this['_univerInstanceService']=_0x55d393,this[_0x44f916(0x25b)]=_0x1fe778);}get[_0x169260(0x2d0)](){const _0x45bb5b=_0x169260;return this[_0x45bb5b(0x225)][_0x45bb5b(0x233)]();}get[_0x169260(0x26a)](){const _0x451dd0=_0x169260;return this[_0x451dd0(0x228)][_0x451dd0(0x233)]();}[_0x169260(0x189)](){const _0x114c1e=_0x169260;super['dispose'](),this[_0x114c1e(0x225)][_0x114c1e(0x1d5)](new Map()),this[_0x114c1e(0x225)][_0x114c1e(0x24f)](),this[_0x114c1e(0x228)][_0x114c1e(0x1d5)]([]),this[_0x114c1e(0x228)][_0x114c1e(0x24f)]();}[_0x169260(0x23d)](){const _0x56779c=_0x169260;this[_0x56779c(0x23a)]||(this[_0x56779c(0x23a)]=!0x0,this[_0x56779c(0x2c9)][_0x56779c(0x1ec)]['pipe'](_0x3dda39(this[_0x56779c(0x139)]))[_0x56779c(0x251)](_0xf28783=>{const _0x4427cd=_0x56779c;_0xf28783===_0x559330[_0x4427cd(0x242)]?this[_0x4427cd(0x183)]():this[_0x4427cd(0x1f6)]();}),this[_0x56779c(0x2c9)]['event$'][_0x56779c(0x1e9)](_0x3dda39(this['dispose$']))[_0x56779c(0x251)](_0xe552c7=>{const _0xb07935=_0x56779c,_0x2bc15f=_0xe552c7[_0xb07935(0x131)];_0x2bc15f===_0xbb5566[_0xb07935(0x22a)]&&this[_0xb07935(0x1e7)](_0xe552c7),_0x2bc15f===_0xbb5566[_0xb07935(0x21b)]&&this[_0xb07935(0x295)](_0xe552c7);}),this[_0x56779c(0x117)](this[_0x56779c(0x25b)][_0x56779c(0x2ba)](_0x26d6a2=>{const _0x457931=_0x56779c,_0x38a1fd=_0x26d6a2[_0x457931(0x294)];_0x38a1fd!=null&&this[_0x457931(0x204)]&&_0x26d6a2['id']===_0x3c58b0['id']&&_0x38a1fd[_0x457931(0x1f0)]===this[_0x457931(0xf7)]&&_0x38a1fd[_0x457931(0x19e)]===!0x1&&_0x38a1fd['ranges']['length']>0x0&&this[_0x457931(0x265)](_0x38a1fd['ranges']);})),this['_syncEditingCollabCursorService'][_0x56779c(0x13d)][_0x56779c(0x1e9)](_0x3dda39(this['dispose$']))['subscribe'](_0x49c29c=>{const _0x1b1d68=_0x56779c;if((_0x49c29c==null?void 0x0:_0x49c29c['unitID'])!==this[_0x1b1d68(0xf7)])return;const _0x3a6154={'eventID':_0xbb5566['UPDATE_CURSOR'],'data':_0x49c29c};this['_onCursorUpdate'](_0x3a6154);}),this[_0x56779c(0x117)](this['_commandService'][_0x56779c(0x2ba)](_0x32db27=>{const _0x2358e9=_0x56779c;if(_0x32db27[_0x2358e9(0x294)]==null)return;const _0x56faa0=_0x32db27[_0x2358e9(0x294)];if(_0x32db27['id']!==_0x536bfc['id']||_0x56faa0[_0x2358e9(0x1f0)]!==this[_0x2358e9(0xf7)])return;const _0x4daed0={'id':_0x2358e9(0x1d2),'params':_0x56faa0},_0x1642ff=this['cursorInfo'];for(const [_0x171564,_0x415600]of _0x1642ff){const _0x3dfca7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2358e9(0xf7)],'actions':null,'textRanges':_0x415600['ranges']}},_0x1f76a2=this[_0x2358e9(0x25f)][_0x2358e9(0x162)](_0x4daed0,_0x3dfca7,!0x1);if(_0x224c63(_0x1f76a2))throw _0x1f76a2[_0x2358e9(0x2bf)];_0x1642ff[_0x2358e9(0x114)](_0x171564,{..._0x415600,'ranges':_0x1f76a2[_0x2358e9(0x2d3)][_0x2358e9(0x294)][_0x2358e9(0x2c0)]});}queueMicrotask(()=>{const _0x43a858=_0x2358e9;this[_0x43a858(0x225)]['next'](_0x1642ff);});})));}['_onCursorUpdate'](_0x4d1077){const _0x1bca15=_0x169260;var _0x2d0278,_0x449e33;const {memberID:_0x5e4410,selection:_0x4d3818}=_0x4d1077[_0x1bca15(0x1e1)],_0x37da22=_i(_0x4d3818),_0x283f33=(_0x449e33=(_0x2d0278=this[_0x1bca15(0x188)][_0x1bca15(0x12c)](this[_0x1bca15(0xf7)],_0x5e4410))==null?void 0x0:_0x2d0278[_0x1bca15(0x23f)])!=null?_0x449e33:_0x1bca15(0x211),_0x4cdc0b={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5e4410),'name':_0x283f33,'ranges':_0x37da22},_0x5aca73=this[_0x1bca15(0x2d0)];_0x5aca73[_0x1bca15(0x114)](_0x5e4410,_0x4cdc0b),this[_0x1bca15(0x225)]['next'](_0x5aca73);}[_0x169260(0x295)](_0x5a515a){const _0x22dd82=_0x169260,{memberID:_0x1dfd04}=_0x5a515a[_0x22dd82(0x1e1)],_0x8de665=this['cursorInfo'];_0x8de665[_0x22dd82(0x1e6)](_0x1dfd04),this[_0x22dd82(0x225)][_0x22dd82(0x1d5)](_0x8de665);}[_0x169260(0x183)](){const _0x176bda=_0x169260;var _0x1baeea;if(this[_0x176bda(0x204)]=!0x0,((_0x1baeea=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1baeea[_0x176bda(0x232)]())!==this[_0x176bda(0xf7)])return;const _0x4ab094=this[_0x176bda(0x14a)][_0x176bda(0xf1)](_0x4edb44)[_0x176bda(0x27c)]();Array['isArray'](_0x4ab094)&&_0x4ab094[_0x176bda(0x23b)]>0x0&&this[_0x176bda(0x265)](_0x4ab094);}[_0x169260(0x1f6)](){const _0x20db3f=_0x169260;this[_0x20db3f(0x204)]=!0x1;}};Ue=ui([L(0x2,_0x110a3(_0x55019c)),L(0x3,_0x110a3(ke)),L(0x4,_0x110a3(_0x32b610)),L(0x5,_0x110a3(He)),L(0x6,_0x213111),L(0x7,_0x1f520f),L(0x8,_0x1f6846)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x2c48fa,_0x442c6d,_0x5e42d9,_0x2b1540)=>{const _0x5bdd93=_0x169260;for(var _0x176462=_0x2b1540>0x1?void 0x0:_0x2b1540?Si(_0x442c6d,_0x5e42d9):_0x442c6d,_0x51b0a0=_0x2c48fa[_0x5bdd93(0x23b)]-0x1,_0x318c9d;_0x51b0a0>=0x0;_0x51b0a0--)(_0x318c9d=_0x2c48fa[_0x51b0a0])&&(_0x176462=_0x318c9d(_0x176462)||_0x176462);return _0x176462;},x=(_0x343926,_0x342b34)=>(_0x3d299c,_0xd0e768)=>_0x342b34(_0x3d299c,_0xd0e768,_0x343926);const gi=0x12c,Ii=0x64,vi=()=>{let _0x491561=[],_0x59fbdc=!0x1;return _0x3bd960=>{const _0x3a77d5=_0x3dbd;_0x491561[_0x3a77d5(0x279)](_0x3bd960),_0x59fbdc||(_0x59fbdc=!0x0,setTimeout(()=>{const _0x312b55=_0x3a77d5;_0x491561[_0x312b55(0x190)](_0x3938ff=>_0x3938ff()),_0x491561=[],_0x59fbdc=!0x1;}));};};let Me=class extends _0x120009{constructor(_0x465050,_0x302c16,_0x42f7f0,_0x58b687,_0x2b80a9,_0x1e0ecc,_0x3fe4e6,_0xaff678){const _0x36fd83=_0x169260;super(),_(this,_0x36fd83(0x204),!0x1),_(this,_0x36fd83(0x23a),!0x1),_(this,'_cursorInfo$',new _0x389fc0(new Map())),_(this,_0x36fd83(0x24a),this['_cursorInfo$'][_0x36fd83(0x16f)]()),_(this,_0x36fd83(0x228),new _0x389fc0([])),_(this,'roomMembers$',this['_roomMembers$'][_0x36fd83(0x1e9)](_0x44bd3a(gi))),_(this,_0x36fd83(0x265),_0x50ec32((_0x599a3,_0x2171e4)=>{const _0xc2e5b1=_0x36fd83,_0x28fc1c={'eventID':_0xbb5566[_0xc2e5b1(0x22a)],'data':{'unitID':this[_0xc2e5b1(0xf7)],'memberID':this[_0xc2e5b1(0x2c9)][_0xc2e5b1(0x263)](),'selection':_0x39dd8d(_0x599a3,_0x2171e4['range'])}};this[_0xc2e5b1(0x2c9)][_0xc2e5b1(0x1da)](_0x28fc1c,this[_0xc2e5b1(0xf7)]);},Ii)),(this[_0x36fd83(0xf7)]=_0x465050,this['_session']=_0x302c16,this[_0x36fd83(0x14a)]=_0x42f7f0,this[_0x36fd83(0x176)]=_0x58b687,this['_memberService']=_0x2b80a9,this['_univerInstanceService']=_0x1e0ecc,this[_0x36fd83(0x25b)]=_0x3fe4e6,this[_0x36fd83(0x1b4)]=_0xaff678);}get[_0x169260(0x2d0)](){const _0x56480e=_0x169260;return this[_0x56480e(0x225)][_0x56480e(0x233)]();}get['roomMembers'](){const _0x286b3e=_0x169260;return this[_0x286b3e(0x228)][_0x286b3e(0x233)]();}[_0x169260(0x189)](){const _0xa5cbc9=_0x169260;super['dispose'](),this[_0xa5cbc9(0x225)][_0xa5cbc9(0x1d5)](new Map()),this[_0xa5cbc9(0x225)][_0xa5cbc9(0x24f)](),this[_0xa5cbc9(0x228)][_0xa5cbc9(0x1d5)]([]),this[_0xa5cbc9(0x228)][_0xa5cbc9(0x24f)]();}[_0x169260(0x23d)](){const _0x444722=_0x169260;this[_0x444722(0x23a)]||(this[_0x444722(0x23a)]=!0x0,this[_0x444722(0x2c9)][_0x444722(0x1ec)]['pipe'](_0x3dda39(this['dispose$']))[_0x444722(0x251)](_0x3f3541=>{const _0x3b4ef6=_0x444722;_0x3f3541===_0x559330[_0x3b4ef6(0x242)]?this['_toggleOnline']():this[_0x3b4ef6(0x1f6)]();}),this[_0x444722(0x2c9)]['event$'][_0x444722(0x1e9)](_0x3dda39(this[_0x444722(0x139)]))['subscribe'](_0x24e2b0=>{const _0x31ba61=_0x444722,_0x4dc2cf=_0x24e2b0['eventID'];_0x4dc2cf===_0xbb5566[_0x31ba61(0x22a)]&&this['_onCursorUpdate'](_0x24e2b0),_0x4dc2cf===_0xbb5566[_0x31ba61(0x21b)]&&this[_0x31ba61(0x295)](_0x24e2b0);}),this[_0x444722(0x243)](),this[_0x444722(0x117)](this[_0x444722(0x25b)][_0x444722(0x2ba)](_0x4a8925=>{const _0x88e935=_0x444722;if(this[_0x88e935(0x204)]&&_0x4a8925['id']===_0x3d2102['id']&&_0x4a8925['params']['unitId']===this['unitID']){const _0x362b5e=_0x4a8925['params'];this[_0x88e935(0x265)](_0x362b5e[_0x88e935(0x11d)],_0x362b5e['selections'][0x0]);}})));}[_0x169260(0x1e7)](_0x1212d5){const _0x8277ee=_0x169260;var _0xd5659,_0x2e1349;const {memberID:_0x5633ea,selection:_0x5bcce9}=_0x1212d5[_0x8277ee(0x1e1)],{sheetName:_0x309ab6,range:_0x2844b3}=_0x42ceee(_0x5bcce9),_0x2c3184={'name':(_0x2e1349=(_0xd5659=this[_0x8277ee(0x188)][_0x8277ee(0x12c)](this[_0x8277ee(0xf7)],_0x5633ea))==null?void 0x0:_0xd5659[_0x8277ee(0x23f)])!=null?_0x2e1349:_0x8277ee(0x211),'range':this['_getMergeRange'](_0x309ab6,_0x2844b3),'sheetID':_0x309ab6,'color':this['_colorAssignService'][_0x8277ee(0x298)](_0x5633ea),'selection':_0x5bcce9},_0x4eeb12=this[_0x8277ee(0x2d0)];_0x4eeb12[_0x8277ee(0x114)](_0x5633ea,_0x2c3184),this[_0x8277ee(0x225)]['next'](_0x4eeb12);}[_0x169260(0x295)](_0x170372){const _0x2787d0=_0x169260,{memberID:_0x2b38f1}=_0x170372['data'],_0x246fa4=this[_0x2787d0(0x2d0)];_0x246fa4[_0x2787d0(0x1e6)](_0x2b38f1),this[_0x2787d0(0x225)][_0x2787d0(0x1d5)](_0x246fa4);}[_0x169260(0x197)](_0x1a768a,_0x1a9321){const _0x25b077=_0x169260;var _0x7e9e97,_0x2afbdb;const _0x30cd12=(_0x2afbdb=(_0x7e9e97=this[_0x25b077(0x195)][_0x25b077(0x147)](this['unitID']))==null?void 0x0:_0x7e9e97[_0x25b077(0x2bd)](_0x1a768a))==null?void 0x0:_0x2afbdb[_0x25b077(0x1e0)]();return(_0x30cd12==null?void 0x0:_0x30cd12[_0x25b077(0x20b)](_0x41e281=>_0x526d47['contains'](_0x41e281,_0x1a9321)))||_0x1a9321;}['_onRefRangeChange'](){const _0x423450=new _0x585b23(),_0x97083b=vi(),_0x7f96ba=()=>{const _0x18b255=_0x3dbd;_0x423450[_0x18b255(0x189)]();const _0x1ce236=(_0x4b0534,_0x2d9919,_0x2098f4,_0x51886c)=>{const _0x5bf6d3=_0x18b255;let _0x563492=[];switch(_0x4b0534['id']){case _0x5527da[_0x5bf6d3(0x140)]:{_0x563492=_0x1b59fd(_0x4b0534,_0x51886c);break;}case _0x5527da['DeleteRangeMoveUpCommandId']:{_0x563492=_0x288a0c(_0x4b0534,_0x51886c);break;}case _0x5527da[_0x5bf6d3(0x15f)]:{_0x563492=_0x55bfd4(_0x4b0534,_0x51886c);break;}case _0x5527da[_0x5bf6d3(0x16a)]:{_0x563492=_0x4f9631(_0x4b0534,_0x51886c);break;}case _0x5527da[_0x5bf6d3(0x270)]:{_0x563492=_0x2dd520(_0x4b0534,_0x51886c);break;}case _0x5527da[_0x5bf6d3(0x1d3)]:{_0x563492=_0x33c745(_0x4b0534,_0x51886c);break;}case _0x5527da['MoveRangeCommandId']:{_0x563492=_0x403bc8(_0x4b0534,_0x51886c);break;}case _0x5527da[_0x5bf6d3(0x1c7)]:{_0x563492=_0x566537(_0x4b0534,_0x51886c);break;}case _0x5527da[_0x5bf6d3(0xfd)]:{_0x563492=_0x2cc4c9(_0x4b0534,_0x51886c);break;}}const _0x341833=_0x5af62b(_0x563492,_0x51886c),_0xb66fff=this['cursorInfo'][_0x5bf6d3(0xf1)](_0x2d9919);if(_0xb66fff&&_0x341833){const _0x12361d={..._0xb66fff,'range':_0x341833};this[_0x5bf6d3(0x2d0)][_0x5bf6d3(0x114)](_0x2d9919,_0x12361d),_0x97083b(()=>{const _0x162e2b=_0x5bf6d3,_0x2335e3=this['_refRangeService'][_0x162e2b(0x1aa)](_0x341833,_0x407c4f=>(_0x2335e3[_0x162e2b(0x189)](),_0x1ce236(_0x407c4f,_0x2d9919,_0x2098f4,_0x341833)));_0x423450[_0x162e2b(0x2b5)](_0x2335e3);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x18b255(0x190)]((_0x4fd3cc,_0x237813)=>{const _0x120b8a=_0x18b255,{range:_0x49c88d,sheetID:_0x3da160}=_0x4fd3cc,_0x212c48=this[_0x120b8a(0x1b4)][_0x120b8a(0x1aa)](_0x49c88d,_0x4b28c9=>(_0x212c48[_0x120b8a(0x189)](),_0x1ce236(_0x4b28c9,_0x237813,_0x3da160,_0x49c88d)));_0x423450[_0x120b8a(0x2b5)](_0x212c48);});};this['disposeWithMe'](_0x4b7e10(this['_cursorInfo$']['subscribe'](()=>{_0x7f96ba();})));}[_0x169260(0x183)](){const _0x550c7c=_0x169260;var _0x19a717,_0x31ed34;if(this[_0x550c7c(0x204)]=!0x0,((_0x19a717=this[_0x550c7c(0x195)][_0x550c7c(0x146)]())==null?void 0x0:_0x19a717['getUnitId']())!==this[_0x550c7c(0xf7)])return;const _0x1a49e3=(_0x31ed34=this[_0x550c7c(0x14a)][_0x550c7c(0xf1)](_0x136a81)[_0x550c7c(0x196)]())==null?void 0x0:_0x31ed34[0x0],_0x48e492=this[_0x550c7c(0x195)]['getCurrentUnitForType'](_0x1711d9[_0x550c7c(0x199)])[_0x550c7c(0x18f)]();_0x1a49e3&&_0x48e492&&this[_0x550c7c(0x265)](_0x48e492[_0x550c7c(0x10b)](),_0x1a49e3);}[_0x169260(0x1f6)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x110a3(_0x55019c)),x(0x3,_0x110a3(ke)),x(0x4,_0x110a3(_0x32b610)),x(0x5,_0x1f520f),x(0x6,_0x1f6846),x(0x7,_0x110a3(_0x3d4dec))],Me);var pi=Object[_0x169260(0x27d)],Ci=(_0x4a6d17,_0x57e120,_0x4107d6,_0x5d0f81)=>{const _0x57a6a6=_0x169260;for(var _0x3b6d1d=_0x5d0f81>0x1?void 0x0:_0x5d0f81?pi(_0x57e120,_0x4107d6):_0x57e120,_0x47d5e3=_0x4a6d17[_0x57a6a6(0x23b)]-0x1,_0x1d446b;_0x47d5e3>=0x0;_0x47d5e3--)(_0x1d446b=_0x4a6d17[_0x47d5e3])&&(_0x3b6d1d=_0x1d446b(_0x3b6d1d)||_0x3b6d1d);return _0x3b6d1d;},Se=(_0xd2ef8a,_0x2e014c)=>(_0x293a34,_0x45fb5e)=>_0x2e014c(_0x293a34,_0x45fb5e,_0xd2ef8a);let H=class extends _0x120009{constructor(_0x29c001,_0x3587e2,_0x2cc576){const _0x652d77=_0x169260;super(),_(this,_0x652d77(0x28e),new Map()),_(this,_0x652d77(0x1f1),new _0x55de5e()),(this['_univerInstanceService']=_0x29c001,this[_0x652d77(0x14a)]=_0x3587e2,this[_0x652d77(0x158)]=_0x2cc576,this[_0x652d77(0x23a)]());}['dispose'](){const _0x1a93f5=_0x169260;super[_0x1a93f5(0x189)](),this[_0x1a93f5(0x1f1)]['complete'](),this[_0x1a93f5(0x28e)][_0x1a93f5(0x190)](_0x5367a2=>_0x5367a2['dispose']());}[_0x169260(0x209)](_0x1b3e9d){const _0x887d55=_0x169260;return this['_entities'][_0x887d55(0x163)](_0x1b3e9d)?this[_0x887d55(0x28e)][_0x887d55(0xf1)](_0x1b3e9d)[_0x887d55(0x24a)]:this['_entityInit$']['pipe'](_0x90dd59(_0x4d200a=>_0x4d200a[_0x887d55(0xf7)]===_0x1b3e9d),_0x14c1cd(_0x23a4d6=>_0x23a4d6['cursorInfo$']));}[_0x169260(0x23a)](){const _0x27884c=_0x169260;this[_0x27884c(0x195)][_0x27884c(0x20f)](_0x1711d9[_0x27884c(0x199)])['pipe'](_0x3dda39(this[_0x27884c(0x139)]))['subscribe'](async _0x189fbe=>{const _0x5cc75f=_0x27884c,_0x38b716=_0x189fbe['getUnitId'](),_0x2c7faa=await this[_0x5cc75f(0x1f3)](_0x38b716);this[_0x5cc75f(0x1f1)][_0x5cc75f(0x1d5)](_0x2c7faa),this[_0x5cc75f(0x28e)]['set'](_0x38b716,_0x2c7faa);}),this[_0x27884c(0x195)][_0x27884c(0x20f)](_0x1711d9[_0x27884c(0x240)])[_0x27884c(0x1e9)](_0x3dda39(this[_0x27884c(0x139)]))[_0x27884c(0x1e9)](_0x90dd59(_0xb8507d=>!_0xb8507d[_0x27884c(0x232)]()[_0x27884c(0x28d)]('__')))[_0x27884c(0x251)](async _0x48e9a4=>{const _0xaecd41=_0x27884c,_0x14112d=_0x48e9a4[_0xaecd41(0x232)](),_0x5b6936=await this['_startDocCollabCursor'](_0x14112d);this['_entityInit$'][_0xaecd41(0x1d5)](_0x5b6936),this[_0xaecd41(0x28e)][_0xaecd41(0x114)](_0x14112d,_0x5b6936);}),_0x33f4ae(this[_0x27884c(0x195)][_0x27884c(0x123)](_0x1711d9['UNIVER_DOC']),this[_0x27884c(0x195)]['getTypeOfUnitDisposed$'](_0x1711d9[_0x27884c(0x199)]))[_0x27884c(0x1e9)](_0x3dda39(this[_0x27884c(0x139)]))[_0x27884c(0x251)](_0x4aa3e8=>{const _0x14af97=_0x27884c,_0x47201b=_0x4aa3e8[_0x14af97(0x232)](),_0x450cb4=this[_0x14af97(0x28e)][_0x14af97(0xf1)](_0x47201b);_0x450cb4&&(_0x450cb4['dispose'](),this[_0x14af97(0x28e)][_0x14af97(0x1e6)](_0x47201b));});}async[_0x169260(0x1f3)](_0x59bce6){const _0x53c8b0=_0x169260,_0x20ccd5=await this[_0x53c8b0(0x158)][_0x53c8b0(0x132)](_0x59bce6),_0x3e9052=this['_injector'][_0x53c8b0(0x2b4)](Me,_0x59bce6,_0x20ccd5);return _0x3e9052[_0x53c8b0(0x23d)](),_0x3e9052;}async['_startDocCollabCursor'](_0xc49501){const _0x251e5e=_0x169260,_0x313b8a=await this[_0x251e5e(0x158)][_0x251e5e(0x132)](_0xc49501),_0x5ebb71=this['_injector'][_0x251e5e(0x2b4)](Ue,_0xc49501,_0x313b8a);return _0x5ebb71[_0x251e5e(0x23d)](),_0x5ebb71;}};H=Ci([Se(0x0,_0x1f520f),Se(0x1,_0x110a3(_0x55019c)),Se(0x2,_0x110a3(_0x955e03))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x2a66bb,_0x2ab566){const _0x1fd714=_0x169260;let {radius:_0x408007,width:_0x108364,height:_0x13206d}=_0x2ab566;_0x408007=_0x408007!=null?_0x408007:0x0,_0x108364=_0x108364!=null?_0x108364:0x1e,_0x13206d=_0x13206d!=null?_0x13206d:0x1e;let _0x4a879d=0x0,_0x561611=0x0,_0x589399=0x0;_0x4a879d=_0x561611=_0x589399=Math['min'](_0x408007,_0x108364/0x2,_0x13206d/0x2),_0x2a66bb[_0x1fd714(0x17a)](),_0x2a66bb[_0x1fd714(0x220)](_0x4a879d,0x0),_0x2a66bb[_0x1fd714(0x252)](_0x108364-_0x561611,0x0),_0x2a66bb[_0x1fd714(0x2ad)](_0x108364-_0x561611,_0x561611,_0x561611,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a66bb['lineTo'](_0x108364,_0x13206d-_0x589399),_0x2a66bb[_0x1fd714(0x2ad)](_0x108364-_0x589399,_0x13206d-_0x589399,_0x589399,0x0,Math['PI']/0x2,!0x1),_0x2a66bb[_0x1fd714(0x252)](0x0,_0x13206d),_0x2a66bb[_0x1fd714(0x252)](0x0,_0x4a879d),_0x2a66bb[_0x1fd714(0x2ad)](_0x4a879d,_0x4a879d,_0x4a879d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a66bb[_0x1fd714(0x1d9)](),_0x2ab566[_0x1fd714(0xf0)]&&(_0x2a66bb['save'](),_0x2a66bb[_0x1fd714(0x14c)]=_0x2ab566[_0x1fd714(0xf0)],_0x2ab566['fillRule']==='evenodd'?_0x2a66bb['fill'](_0x1fd714(0x12d)):_0x2a66bb[_0x1fd714(0xf0)](),_0x2a66bb['restore']());}class he extends _0x202922{constructor(_0x5ddb2d,_0x646608){const _0x20a915=_0x169260;super(_0x5ddb2d,_0x646608),_(this,_0x20a915(0x1a7)),_(this,_0x20a915(0x2dc)),(this[_0x20a915(0x1a7)]=_0x646608==null?void 0x0:_0x646608[_0x20a915(0x1a7)],this[_0x20a915(0x2dc)]=_0x646608==null?void 0x0:_0x646608[_0x20a915(0x2dc)]);}static[_0x169260(0x2c6)](_0x53fa0e,_0x5d527d){const _0x21bd93=_0x169260,{text:_0x5d39b2,color:_0x2e01af}=_0x5d527d;_0x53fa0e[_0x21bd93(0x1c9)](),_0x53fa0e[_0x21bd93(0x284)]=_0x21bd93(0x2b9);const _0x5d90ab=_0x53fa0e[_0x21bd93(0x11a)](_0x5d39b2)[_0x21bd93(0x12b)],_0x55411c=Math[_0x21bd93(0x18b)](_0x5d90ab+0x2*me,Qe);Oi(_0x53fa0e,{'height':ee,'radius':0x4,'width':_0x55411c,'fill':_0x2e01af}),_0x53fa0e[_0x21bd93(0x14c)]=_0x21bd93(0x2bb);const _0x27f107=me,_0x55daaf=ee-Ei,_0x53dba2=Qe-0x2*me;if(_0x5d90ab>_0x53dba2){let _0x396648='',_0x2045ae=0x0;for(const _0x3349ff of _0x5d39b2){const _0x35b7dc=_0x53fa0e[_0x21bd93(0x11a)](_0x3349ff)[_0x21bd93(0x12b)];if(_0x2045ae+_0x35b7dc<=_0x53dba2-_0x53fa0e[_0x21bd93(0x11a)]('...')['width'])_0x396648+=_0x3349ff,_0x2045ae+=_0x35b7dc;else{_0x396648+=_0x21bd93(0xfa);break;}}_0x53fa0e[_0x21bd93(0x15b)](_0x396648,_0x27f107,_0x55daaf);}else _0x53fa0e[_0x21bd93(0x15b)](_0x5d39b2,_0x27f107,_0x55daaf);_0x53fa0e[_0x21bd93(0x26e)]();}[_0x169260(0x29f)](_0x529058){he['drawWith'](_0x529058,this);}}const ge=_0x169260(0x2c3),bi=_0x169260(0x247),Ti=_0x169260(0x16b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x169260(0x145);class qe{constructor(_0x10824f,_0x2594ee,_0x3102ca,_0x17de9c){const _0x373461=_0x169260;_(this,_0x373461(0x1de),[]),_(this,'_anchor',null),_(this,_0x373461(0x29d),null),_(this,_0x373461(0x275),null),_(this,_0x373461(0x182),null),_(this,'_eventUnsubscribe',null),(this[_0x373461(0x239)]=_0x10824f,this['_scene']=_0x2594ee,this['_docSkeleton']=_0x3102ca,this[_0x373461(0x125)]=_0x17de9c,this[_0x373461(0x1e4)]());}set[_0x169260(0x269)](_0x416600){const _0x5c733f=_0x169260;_0x416600?(this[_0x5c733f(0x275)]&&this['_anchorDot'][_0x5c733f(0x124)](),this[_0x5c733f(0x29d)]&&this['_textBubble'][_0x5c733f(0x274)]()):(this[_0x5c733f(0x275)]&&this[_0x5c733f(0x275)][_0x5c733f(0x274)](),this[_0x5c733f(0x29d)]&&this[_0x5c733f(0x29d)]['hide']());}[_0x169260(0x189)](){const _0x52c2f1=_0x169260;for(const _0x47a5bb of this['_shapes'])_0x47a5bb[_0x52c2f1(0x189)]();this['_textBubble']&&this[_0x52c2f1(0x29d)][_0x52c2f1(0x189)](),this[_0x52c2f1(0x275)]&&this[_0x52c2f1(0x275)][_0x52c2f1(0x189)](),this[_0x52c2f1(0x2c7)]&&this[_0x52c2f1(0x2c7)][_0x52c2f1(0x189)](),this[_0x52c2f1(0x1a9)]&&this['_eventUnsubscribe']();}['_render'](){const _0x45a9c2=_0x169260;var _0x3c8db6;const {_docSkeleton:_0x4bd34d,_document:_0x570aa9}=this,{color:_0x41d886,name:_0x2d0eae,ranges:_0x15fdb8}=this[_0x45a9c2(0x239)],_0x2c9c91=_0x570aa9[_0x45a9c2(0x2da)](),{docsLeft:_0x1d5938,docsTop:_0x52b8d5}=_0x2c9c91,_0x3d2328=new _0x1c066d(_0x2c9c91,_0x4bd34d);for(const {startOffset:_0x4e8d5f,endOffset:_0x149325,rangeType:_0x73b0c3,segmentId:_0x41f761,segmentPage:_0x906847,collapsed:_0x4d7973,isActive:_0xb11afe}of _0x15fdb8){const _0x347099=_0x4bd34d[_0x45a9c2(0xf2)](_0x4e8d5f,!0x0,_0x41f761,_0x906847);let _0x1b3aca=_0x4bd34d[_0x45a9c2(0xf2)](_0x149325,!0x0,_0x41f761,_0x906847);if(_0x1b3aca==null&&(_0x1b3aca=_0x4bd34d[_0x45a9c2(0xf2)](_0x149325-0x1,!0x1,_0x41f761,_0x906847)),_0xb11afe){const {contentBoxPointGroup:_0x2408bf}=_0x3d2328[_0x45a9c2(0x1ee)](_0x1b3aca,_0x1b3aca);if(_0x2408bf['length']===0x0)continue;this[_0x45a9c2(0x2e1)](_0x41d886,_0x2408bf,_0x1d5938,_0x52b8d5,_0x2d0eae),this['_eventUnsubscribe']=this[_0x45a9c2(0x170)]();}if(_0x347099&&_0x1b3aca){if(_0x73b0c3===_0x2a38fc['RECT']){const _0x59054b=new _0x11bc4c(_0x2c9c91,_0x4bd34d),{pointGroup:_0x48cf06}=(_0x3c8db6=_0x59054b[_0x45a9c2(0x1ee)](_0x347099,_0x1b3aca))!=null?_0x3c8db6:{};if(_0x48cf06==null||_0x48cf06['length']===0x0)continue;this[_0x45a9c2(0x2a0)](_0x41d886,_0x48cf06,_0x1d5938,_0x52b8d5);}else{if(!_0x4d7973){const {borderBoxPointGroup:_0x5d5a8a}=_0x3d2328[_0x45a9c2(0x1ee)](_0x347099,_0x1b3aca);if(_0x5d5a8a[_0x45a9c2(0x23b)]===0x0)continue;this[_0x45a9c2(0x1c5)](_0x41d886,_0x5d5a8a,_0x1d5938,_0x52b8d5);}}}}}[_0x169260(0x2e1)](_0x265c28,_0x233275,_0x4195e6,_0x163c87,_0x58ffc6){const _0x45b06b=_0x169260,_0x1bdfdc=this[_0x45b06b(0x289)](_0x233275),{left:_0x3a682f,top:_0xe7a95,height:_0x256878}=_0x1bdfdc,_0x464fea=this[_0x45b06b(0x108)](),_0x4591df=Di/_0x464fea,_0x4aff6b=new _0x5c1e25(ge+_0x26884c[_0x45b06b(0x235)](X),{'left':_0x3a682f+_0x4195e6-_0x4591df,'top':_0xe7a95+_0x163c87,'height':_0x256878,'width':Ri,'fill':_0x265c28||_0x24e7a8(_0x756d3c[_0x45b06b(0x253)],0x0),'strokeWidth':_0x4591df,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x4aff6b,this['_scene'][_0x45b06b(0x156)](_0x4aff6b,_0x3e0bbd);const _0x5ca4b6=new _0x5c1e25(ge+_0x26884c[_0x45b06b(0x235)](X),{'left':_0x3a682f+_0x4195e6-_0x4591df,'top':_0xe7a95+_0x163c87-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x265c28||_0x24e7a8(_0x756d3c[_0x45b06b(0x253)],0x0),'strokeWidth':0x0,'stroke':_0x265c28||_0x24e7a8(_0x756d3c[_0x45b06b(0x253)],0x0),'evented':!0x1});this['_anchorDot']=_0x5ca4b6,this[_0x45b06b(0x12f)]['addObject'](_0x5ca4b6,_0x3e0bbd);const _0x1e49e0=new he(ge+_0x26884c[_0x45b06b(0x235)](X),{'left':_0x3a682f+_0x4195e6-_0x4591df,'top':_0xe7a95+_0x163c87-ee,'text':_0x58ffc6,'color':_0x265c28});this[_0x45b06b(0x29d)]=_0x1e49e0,this[_0x45b06b(0x12f)][_0x45b06b(0x156)](_0x1e49e0,_0x3e0bbd),this[_0x45b06b(0x269)]=!0x1;}[_0x169260(0x170)](){const _0x488784=_0x169260,_0x19a944=this[_0x488784(0x2c7)]['onPointerEnter$'][_0x488784(0x1f2)](()=>{this['_hover']=!0x0;}),_0x3855a9=this[_0x488784(0x2c7)][_0x488784(0x21e)]['subscribeEvent'](()=>{const _0x3415bd=_0x488784;this[_0x3415bd(0x182)]&&clearTimeout(this[_0x3415bd(0x182)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x35f399=_0x488784;_0x19a944[_0x35f399(0x246)](),_0x3855a9[_0x35f399(0x246)]();};}[_0x169260(0x1c5)](_0x2b1f55,_0x4e8d13,_0x267262,_0x3278f0){const _0x5a8fd4=_0x169260,_0x39dc3b=new _0x514024(_0x2b1f55)[_0x5a8fd4(0x142)](0.2)[_0x5a8fd4(0x19c)](),_0x223035=new _0x2fc3cb(bi+_0x26884c[_0x5a8fd4(0x235)](X),{'pointsGroup':_0x4e8d13,'fill':_0x39dc3b||_0x24e7a8(_0x756d3c[_0x5a8fd4(0x253)],0.2),'left':_0x267262,'top':_0x3278f0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x223035),this[_0x5a8fd4(0x12f)][_0x5a8fd4(0x156)](_0x223035,_0x3e0bbd);}[_0x169260(0x2a0)](_0x36da36,_0x5f50c7,_0x356d38,_0x4eb156){const _0x29176f=_0x169260,_0x4a5623=new _0x514024(_0x36da36)[_0x29176f(0x142)](0.2)[_0x29176f(0x19c)](),_0x54b18d=new _0x2fc3cb(Ti+_0x26884c['generateRandomId'](X),{'pointsGroup':_0x5f50c7,'fill':_0x4a5623||_0x24e7a8(_0x756d3c[_0x29176f(0x253)],0.2),'left':_0x356d38,'top':_0x4eb156,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x29176f(0x1de)]['push'](_0x54b18d),this['_scene'][_0x29176f(0x156)](_0x54b18d,_0x3e0bbd);}[_0x169260(0x289)](_0x4c9fa3){const _0x2dcd08=_0x4c9fa3[0x0],_0xb24721=_0x2dcd08[0x0],_0x5c8ea9=_0x2dcd08[0x2],{x:_0x21f167,y:_0x106a1e}=_0xb24721,{x:_0x15760f,y:_0x222abf}=_0x5c8ea9;return{'left':_0x21f167,'top':_0x106a1e,'width':_0x15760f-_0x21f167,'height':_0x222abf-_0x106a1e};}[_0x169260(0x108)](){const _0x220808=_0x169260,{scaleX:_0x3232aa,scaleY:_0x834ae0}=this['_scene'][_0x220808(0x1ff)]();return Math['max'](_0x3232aa,_0x834ae0);}}var Ui=Object[_0x169260(0x27d)],Mi=(_0x44ca3a,_0xf7de92,_0x5515bf,_0x4c4921)=>{const _0x17648c=_0x169260;for(var _0x6a6a0d=_0x4c4921>0x1?void 0x0:_0x4c4921?Ui(_0xf7de92,_0x5515bf):_0xf7de92,_0x125b86=_0x44ca3a[_0x17648c(0x23b)]-0x1,_0xa80028;_0x125b86>=0x0;_0x125b86--)(_0xa80028=_0x44ca3a[_0x125b86])&&(_0x6a6a0d=_0xa80028(_0x6a6a0d)||_0x6a6a0d);return _0x6a6a0d;},Z=(_0x280ae2,_0x136657)=>(_0x3bed04,_0x250956)=>_0x136657(_0x3bed04,_0x250956,_0x280ae2);let Pe=class extends _0x120009{constructor(_0x329250,_0x38fc8d,_0x32f7a2,_0x37b2ae,_0x3aa73e){const _0x156c66=_0x169260;super(),_(this,_0x156c66(0x149),[]),_(this,_0x156c66(0x296),[]),(this['_context']=_0x329250,this[_0x156c66(0x1d7)]=_0x38fc8d,this[_0x156c66(0x1eb)]=_0x32f7a2,this[_0x156c66(0x25b)]=_0x37b2ae,this['_themeService']=_0x3aa73e,this[_0x156c66(0x23a)]());}['_init'](){const _0x2a9e5d=_0x169260,_0x4b16e2=this[_0x2a9e5d(0x10e)][_0x2a9e5d(0x1f0)],_0x3ad473=this['_docSkeletonManagerService'];this[_0x2a9e5d(0x117)](_0x52081b([this['_collabCursorController'][_0x2a9e5d(0x209)](_0x4b16e2),this['_themeService'][_0x2a9e5d(0x24e)]])[_0x2a9e5d(0x1e9)](_0x1e013c(([_0x129686,_0xaae99])=>({'skeleton':_0x3ad473[_0x2a9e5d(0x19d)](),'cursors':[..._0x129686[_0x2a9e5d(0x20c)]()][_0x2a9e5d(0x1c1)](_0x3a9672=>({..._0x3a9672,'color':this[_0x2a9e5d(0x266)][_0x2a9e5d(0x1bb)](_0x3a9672[_0x2a9e5d(0x1a7)])}))})))[_0x2a9e5d(0x251)](_0x1fa3af=>{const _0x5eb15b=_0x2a9e5d;if(this[_0x5eb15b(0x2d4)](),_0x1fa3af){const {skeleton:_0x52766f,cursors:_0x2437df}=_0x1fa3af;this[_0x5eb15b(0x1cf)](_0x52766f,_0x2437df);}})),this['_initResize'](),this[_0x2a9e5d(0x18a)]();}[_0x169260(0x1cf)](_0x65f992,_0x3445ff){const _0x2507f1=_0x169260,{scene:_0x56ebcd,mainComponent:_0x3689e6}=this[_0x2507f1(0x10e)],_0x5c9fbe=_0x3445ff[_0x2507f1(0x1d1)](_0x336f62=>new qe(_0x336f62,_0x56ebcd,_0x65f992,_0x3689e6));this[_0x2507f1(0x149)]=_0x5c9fbe,this['_cursors']=_0x3445ff;}['_refreshCollabCursors'](){const _0x428f5e=_0x169260;this[_0x428f5e(0x2d4)]();const {scene:_0x186725,mainComponent:_0x154e72}=this[_0x428f5e(0x10e)],_0x39b8c6=this[_0x428f5e(0x1d7)]['getSkeleton'](),_0x10995f=this['_cursors'][_0x428f5e(0x1d1)](_0x558f61=>new qe(_0x558f61,_0x186725,_0x39b8c6,_0x154e72));this['_cursorShapes']=_0x10995f;}[_0x169260(0x2d4)](){const _0x599d1d=_0x169260;this[_0x599d1d(0x149)][_0x599d1d(0x190)](_0x28c93a=>_0x28c93a[_0x599d1d(0x189)]()),this['_cursorShapes']=[];}[_0x169260(0x18a)](){const _0x2e12eb=_0x169260,_0x1929e5=[_0x283daf['id']];this['disposeWithMe'](this[_0x2e12eb(0x25b)][_0x2e12eb(0x2ba)](_0x4113aa=>{const _0x462b67=_0x2e12eb;_0x1929e5['includes'](_0x4113aa['id'])&&_0x4113aa[_0x462b67(0x294)][_0x462b67(0x1f0)]===this['_context'][_0x462b67(0x1f0)]&&this[_0x462b67(0x133)]();}));}['_initResize'](){const _0x49f304=_0x169260;this[_0x49f304(0x117)](_0x53cbeb(this[_0x49f304(0x10e)][_0x49f304(0x157)][_0x49f304(0x230)])[_0x49f304(0x1e9)](_0x5d75a0(_0x3d363f=>_0x3d363f[_0x49f304(0x1f7)]===_0x3eaca2['resize']),_0x469276(0x10))[_0x49f304(0x251)](()=>{const _0x206517=_0x49f304;this[_0x206517(0x133)]();}));}};Pe=Mi([Z(0x1,_0x110a3(_0x26b178)),Z(0x2,_0x110a3(H)),Z(0x3,_0x1f6846),Z(0x4,_0x110a3(_0x323fec))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x202922{constructor(_0x26e3c5,_0x1351ff){const _0x46156e=_0x169260;super(_0x26e3c5,_0x1351ff),_(this,_0x46156e(0x11f)),_(this,_0x46156e(0x1d4),!0x1),_(this,'_range'),_(this,_0x46156e(0x1f5),''),_(this,'_labelPosition',_0x46156e(0x203)),_(this,_0x46156e(0x128)),(_0x1351ff&&this[_0x46156e(0x10a)](_0x1351ff),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x46156e(0x10a)]({'hovered':!0x0})),this[_0x46156e(0x21e)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x169260(0x10a)](_0x4e45b2){const _0x345f18=_0x169260;var _0x350a84,_0x3cd44f,_0x16e58d,_0x331662,_0x47044b,_0x4237c2;this[_0x345f18(0x11f)]=(_0x350a84=_0x4e45b2['color'])!=null?_0x350a84:this[_0x345f18(0x11f)],this[_0x345f18(0x1d4)]=(_0x3cd44f=_0x4e45b2[_0x345f18(0x1b6)])!=null?_0x3cd44f:this['_hovered'],this['_range']=(_0x16e58d=_0x4e45b2['range'])!=null?_0x16e58d:this[_0x345f18(0x281)],this[_0x345f18(0x1f5)]=(_0x331662=_0x4e45b2[_0x345f18(0x23f)])!=null?_0x331662:this['_name'],this['_labelPosition']=(_0x47044b=_0x4e45b2[_0x345f18(0x130)])!=null?_0x47044b:this[_0x345f18(0x20a)],this[_0x345f18(0x128)]=(_0x4237c2=_0x4e45b2[_0x345f18(0x2e6)])!=null?_0x4237c2:this[_0x345f18(0x128)],this[_0x345f18(0xee)]({'width':_0x4e45b2['width'],'height':_0x4e45b2['height']});}['onMouseMove'](_0x1b9f7f){const _0x5ce248=_0x169260,{row:_0x4b0fc3,column:_0x5b65d4}=_0x1b9f7f;if(_0x4b0fc3>=this['_range']['startRow']&&_0x4b0fc3<=this['_range']['endRow']&&_0x5b65d4>=this['_range'][_0x5ce248(0x181)]&&_0x5b65d4<=this[_0x5ce248(0x281)][_0x5ce248(0x1af)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5ce248(0x10a)]({'hovered':!0x1});}[_0x169260(0x2e3)](_0x5808f8){return!0x1;}['_draw'](_0x137934){const _0x332a0b=_0x169260;_0x5c1e25[_0x332a0b(0x2c6)](_0x137934,{'width':this[_0x332a0b(0x12b)],'height':this[_0x332a0b(0x187)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x332a0b(0x1d4)]&&(_0x137934[_0x332a0b(0x1c9)](),_0x137934[_0x332a0b(0x231)](0x1,0x0,0x0,0x1,this['width'],this[_0x332a0b(0x20a)]==='bottom'?0x0:-0x14),he[_0x332a0b(0x2c6)](_0x137934,{'text':this['_name'],'color':this[_0x332a0b(0x11f)]}),_0x137934['restore']());}}var Ai=Object[_0x169260(0x27d)],yi=(_0x11205d,_0x177469,_0x48a4f1,_0x44f487)=>{const _0x152370=_0x169260;for(var _0x453e95=_0x44f487>0x1?void 0x0:_0x44f487?Ai(_0x177469,_0x48a4f1):_0x177469,_0x31b915=_0x11205d[_0x152370(0x23b)]-0x1,_0x4359c3;_0x31b915>=0x0;_0x31b915--)(_0x4359c3=_0x11205d[_0x31b915])&&(_0x453e95=_0x4359c3(_0x453e95)||_0x453e95);return _0x453e95;},ve=(_0x64de94,_0x390bbd)=>(_0xe9a182,_0x49313f)=>_0x390bbd(_0xe9a182,_0x49313f,_0x64de94);const $i=0x1389;let Le=class extends _0x120009{constructor(_0x43a094,_0x32e2e0,_0x10f907,_0x419176){const _0x374d39=_0x169260;super(),_(this,_0x374d39(0x296),new Set()),_(this,_0x374d39(0x14b),null),(this['_context']=_0x43a094,this[_0x374d39(0x22d)]=_0x32e2e0,this[_0x374d39(0x1eb)]=_0x10f907,this['_themeService']=_0x419176,this['_init']());}[_0x169260(0x23a)](){const _0x4507fc=_0x169260;this[_0x4507fc(0x22d)][_0x4507fc(0x151)]['pipe'](_0x59f1a5(this[_0x4507fc(0x139)]),_0x566de5(_0x72191c=>{const _0x224266=_0x4507fc;if(_0x72191c){const _0x26dc07=_0x72191c[_0x224266(0x214)];return _0x52081b(this['_collabCursorController'][_0x224266(0x209)](this[_0x224266(0x10e)][_0x224266(0x1f0)]),this[_0x224266(0x266)]['currentTheme$'])['pipe'](_0x1e013c(([_0x23dced,_0x208256])=>{const _0x49585b=_0x224266,_0x5c3881=new Map();return _0x23dced[_0x49585b(0x190)]((_0x1b4b24,_0x25e3f3)=>{const _0x3037f7=_0x49585b;if(_0x1b4b24[_0x3037f7(0x1cc)]===_0x26dc07){const _0x3ba167={..._0x1b4b24};_0x3ba167['color']=this[_0x3037f7(0x266)][_0x3037f7(0x1bb)](_0x1b4b24[_0x3037f7(0x1a7)]),_0x5c3881[_0x3037f7(0x114)](_0x25e3f3,_0x3ba167);}}),{'skeleton':_0x72191c,'cursors':_0x5c3881};}));}return _0x20b8f4({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x43308f,cursors:_0x437803})=>{const _0x309a22=_0x4507fc;this[_0x309a22(0x2d4)](),_0x43308f&&this[_0x309a22(0x1cf)](_0x43308f,_0x437803);}),this[_0x4507fc(0x22d)][_0x4507fc(0x151)]['subscribe'](_0x325608=>{const _0x4d7aa3=_0x4507fc;if(_0x325608==null)return;const {skeleton:_0x1f50ff}=_0x325608,{scene:_0x3c0430}=this[_0x4d7aa3(0x10e)];_0x3c0430[_0x4d7aa3(0x160)][_0x4d7aa3(0x1f2)](_0x50ec32(_0x35ac24=>{const _0x268000=_0x4d7aa3;var _0x11f59b,_0x1fe004;const {offsetX:_0x2c791a,offsetY:_0x4710c4}=_0x35ac24,{x:_0x3e8836,y:_0x41471a}=_0x3c0430[_0x268000(0x19f)](_0x48a461[_0x268000(0x193)]([_0x2c791a,_0x4710c4])),{scaleX:_0x51a3d3,scaleY:_0x3b9227}=_0x3c0430['getAncestorScale'](),_0x38672d=_0x3c0430[_0x268000(0x259)](_0x49f06e[_0x268000(0x1cd)]),_0x5bf55c=_0x3c0430['getVpScrollXYInfoByPosToVp'](_0x48a461[_0x268000(0x193)]([_0x3e8836,_0x41471a]),_0x38672d),_0x36aafb=_0x1f50ff['getCellPositionByOffset'](_0x2c791a,_0x4710c4,_0x51a3d3,_0x3b9227,_0x5bf55c);((_0x11f59b=this[_0x268000(0x14b)])==null?void 0x0:_0x11f59b[_0x268000(0x13a)])===_0x36aafb[_0x268000(0x13a)]&&((_0x1fe004=this[_0x268000(0x14b)])==null?void 0x0:_0x1fe004[_0x268000(0x234)])===_0x36aafb[_0x268000(0x234)]||this[_0x268000(0x296)]['forEach'](_0x2d3a09=>{_0x2d3a09['onMouseMove'](_0x36aafb);});},0x64));});}[_0x169260(0x1cf)](_0x26bcd6,_0x2ed0b9){const _0x2a2268=_0x169260;var _0x5cf316;const _0x4d0578=(_0x5cf316=this[_0x2a2268(0x22d)][_0x2a2268(0x2aa)]())==null?void 0x0:_0x5cf316['skeleton'];if(!_0x4d0578)return;const _0x36f133=this['_getSheetObject']();if(!_0x36f133)return;this[_0x2a2268(0x296)][_0x2a2268(0x190)](_0x11c506=>{const _0x337335=_0x2a2268;_0x11c506[_0x337335(0x24c)]();});const {scene:_0x337a5a}=_0x36f133,_0x133c73=xi(Array[_0x2a2268(0x25c)](_0x2ed0b9['values']()))[_0x2a2268(0x1d1)](_0x27444f=>{const _0x34c337=_0x2a2268,{color:_0x3c215e,range:_0x58257b,name:_0x46d3ae,selection:_0x4e5855,sheetID:_0x2ab845}=_0x27444f,{startColumn:_0x5c4680,startRow:_0x4dd8c1,endColumn:_0x5a9895,endRow:_0x119ed6}=_0x58257b,_0x11b77e=_0x566ad3(_0x4dd8c1,_0x5c4680,_0x337a5a,_0x4d0578),_0x3a2ecf=_0x566ad3(_0x119ed6,_0x5a9895,_0x337a5a,_0x4d0578),{columnHeaderHeightAndMarginTop:_0x398d88}=_0x4d0578,{startX:_0x36646f,startY:_0x4a01d8}=_0x11b77e,{endX:_0x31d6c0,endY:_0x3a35ab}=_0x3a2ecf,_0x11f533=_0x31d6c0-_0x36646f,_0x3b5620=_0x3a35ab-_0x4a01d8,_0x5a5166={'labelPosition':_0x4a01d8-_0x398d88>=ee?_0x34c337(0x203):'bottom','sheetID':_0x2ab845,'range':_0x58257b,'color':_0x3c215e,'name':_0x46d3ae,'selection':_0x4e5855,'left':_0x36646f,'top':_0x4a01d8,'width':_0x11f533,'height':_0x3b5620,'evented':!0x1,'zIndex':$i};return new wi(_0x46d3ae,_0x5a5166);});_0x337a5a[_0x2a2268(0x256)](_0x133c73,Pi),this[_0x2a2268(0x296)]=new Set(_0x133c73);}[_0x169260(0x2d4)](){const _0x7eb5e3=_0x169260;var _0x3d777e;(_0x3d777e=this['_cursors'])==null||_0x3d777e[_0x7eb5e3(0x190)](_0x20064f=>_0x20064f[_0x7eb5e3(0x189)]());}[_0x169260(0x1df)](){const _0x4c6556=_0x169260;return _0x5251f5(this[_0x4c6556(0x10e)][_0x4c6556(0x272)],this[_0x4c6556(0x10e)]);}};Le=yi([ve(0x1,_0x110a3(_0xc67d6b)),ve(0x2,_0x110a3(H)),ve(0x3,_0x110a3(_0x323fec))],Le);function xi(_0x51ebaf){const _0xc96877=_0x169260,_0x44d0aa=new Map();return _0x51ebaf[_0xc96877(0x190)](_0xf7b7e2=>{const _0x345289=_0xc96877;if(_0x44d0aa[_0x345289(0x163)](_0xf7b7e2['selection'])){const _0x5d6777=_0x44d0aa[_0x345289(0xf1)](_0xf7b7e2[_0x345289(0x19a)]);_0x5d6777[_0x345289(0x23f)]+=',\x20'+_0xf7b7e2[_0x345289(0x23f)];}else _0x44d0aa[_0x345289(0x114)](_0xf7b7e2[_0x345289(0x19a)],_0xf7b7e2);}),Array[_0xc96877(0x25c)](_0x44d0aa[_0xc96877(0x20c)]());}var v=function(){const _0x2dc4d6=_0x169260;return v=Object[_0x2dc4d6(0x161)]||function(_0x5e1d4e){const _0x2e1611=_0x2dc4d6;for(var _0x37797e,_0x56b678=0x1,_0x3a7b48=arguments['length'];_0x56b678<_0x3a7b48;_0x56b678++){_0x37797e=arguments[_0x56b678];for(var _0x1f86bf in _0x37797e)Object['prototype'][_0x2e1611(0x2e7)][_0x2e1611(0x27b)](_0x37797e,_0x1f86bf)&&(_0x5e1d4e[_0x1f86bf]=_0x37797e[_0x1f86bf]);}return _0x5e1d4e;},v[_0x2dc4d6(0x208)](this,arguments);},Bi=function(_0x2efdb6,_0x5a956f){const _0x22d4ac=_0x169260;var _0x4c9c5e={};for(var _0x191931 in _0x2efdb6)Object['prototype'][_0x22d4ac(0x2e7)][_0x22d4ac(0x27b)](_0x2efdb6,_0x191931)&&_0x5a956f[_0x22d4ac(0x219)](_0x191931)<0x0&&(_0x4c9c5e[_0x191931]=_0x2efdb6[_0x191931]);if(_0x2efdb6!=null&&typeof Object[_0x22d4ac(0x2b3)]=='function'){for(var _0x723e83=0x0,_0x191931=Object['getOwnPropertySymbols'](_0x2efdb6);_0x723e83<_0x191931[_0x22d4ac(0x23b)];_0x723e83++)_0x5a956f[_0x22d4ac(0x219)](_0x191931[_0x723e83])<0x0&&Object[_0x22d4ac(0x293)][_0x22d4ac(0x11e)][_0x22d4ac(0x27b)](_0x2efdb6,_0x191931[_0x723e83])&&(_0x4c9c5e[_0x191931[_0x723e83]]=_0x2efdb6[_0x191931[_0x723e83]]);}return _0x4c9c5e;},je=_0x6547b1(function(_0x53df45,_0xb1bf80){const _0x1a96a2=_0x169260;var _0x20efce=_0x53df45[_0x1a96a2(0x152)],_0x45d154=_0x53df45['id'],_0x43f8fd=_0x53df45[_0x1a96a2(0x2a9)],_0x3a997a=_0x53df45[_0x1a96a2(0x273)],_0x9e962d=Bi(_0x53df45,[_0x1a96a2(0x152),'id',_0x1a96a2(0x2a9),_0x1a96a2(0x273)]),_0x2d7921=_0x1a96a2(0x2cc)[_0x1a96a2(0x216)](_0x45d154,'\x20')['concat'](_0x43f8fd||'')[_0x1a96a2(0x1ca)](),_0x5f0a09=_0x100f28('_'[_0x1a96a2(0x216)](ji()));return Rt(_0x20efce,''[_0x1a96a2(0x216)](_0x45d154),{'defIds':_0x20efce[_0x1a96a2(0xf5)],'idSuffix':_0x5f0a09[_0x1a96a2(0x15e)]},v({'ref':_0xb1bf80,'className':_0x2d7921},_0x9e962d),_0x3a997a);});function Rt(_0x29210c,_0x55aa2c,_0x364666,_0x427fcf,_0x51e200){const _0x525094=_0x169260;return _0x41ab58(_0x29210c[_0x525094(0x2a5)],v(v({'key':_0x55aa2c},ki(_0x29210c,_0x364666,_0x51e200)),_0x427fcf),(Hi(_0x29210c,_0x364666)[_0x525094(0x25e)]||[])[_0x525094(0x1d1)](function(_0x14ac56,_0x969626){const _0x8ae379=_0x525094;return Rt(_0x14ac56,''[_0x8ae379(0x216)](_0x55aa2c,'-')[_0x8ae379(0x216)](_0x29210c[_0x8ae379(0x2a5)],'-')[_0x8ae379(0x216)](_0x969626),_0x364666,void 0x0,_0x51e200);}));}function ki(_0x2d46f7,_0x200738,_0x58429d){const _0x5d7770=_0x169260;var _0x524d2f=v({},_0x2d46f7[_0x5d7770(0x1b2)]);_0x58429d!=null&&_0x58429d[_0x5d7770(0x172)]&&_0x524d2f[_0x5d7770(0xf0)]===_0x5d7770(0x172)&&(_0x524d2f['fill']=_0x58429d['colorChannel1']),_0x2d46f7['tag']===_0x5d7770(0xef)&&_0x524d2f['id']&&(_0x524d2f['id']=_0x524d2f['id']+_0x200738[_0x5d7770(0x271)]),Object['entries'](_0x524d2f)['forEach'](function(_0x1cc683){const _0x4444bc=_0x5d7770;var _0x5717e2=_0x1cc683[0x0],_0x103e6b=_0x1cc683[0x1];_0x5717e2===_0x4444bc(0xef)&&typeof _0x103e6b==_0x4444bc(0x17b)&&(_0x524d2f[_0x5717e2]=_0x103e6b[_0x4444bc(0x29a)](/url\(#(.*)\)/,_0x4444bc(0x1ce)[_0x4444bc(0x216)](_0x200738['idSuffix'],')')));});var _0x15ff74=_0x200738[_0x5d7770(0xf5)];return!_0x15ff74||_0x15ff74[_0x5d7770(0x23b)]===0x0||(_0x2d46f7[_0x5d7770(0x2a5)]===_0x5d7770(0x2d5)&&_0x524d2f[_0x5d7770(0x248)]&&(_0x524d2f[_0x5d7770(0x248)]=_0x524d2f['xlink:href']+_0x200738[_0x5d7770(0x271)]),Object[_0x5d7770(0x27a)](_0x524d2f)['forEach'](function(_0x3f501d){const _0x107b92=_0x5d7770;var _0x190379=_0x3f501d[0x0],_0x1edc6e=_0x3f501d[0x1];typeof _0x1edc6e==_0x107b92(0x17b)&&(_0x524d2f[_0x190379]=_0x1edc6e[_0x107b92(0x29a)](/url\(#(.*)\)/,'url(#$1'[_0x107b92(0x216)](_0x200738['idSuffix'],')')));})),_0x524d2f;}function Hi(_0x171dc8,_0x1eb44a){const _0x1de736=_0x169260;var _0x26fae3,_0x53e037=_0x1eb44a[_0x1de736(0xf5)];return!_0x53e037||_0x53e037[_0x1de736(0x23b)]===0x0?_0x171dc8:_0x171dc8[_0x1de736(0x2a5)]===_0x1de736(0x2e2)&&(!((_0x26fae3=_0x171dc8[_0x1de736(0x25e)])===null||_0x26fae3===void 0x0)&&_0x26fae3[_0x1de736(0x23b)])?v(v({},_0x171dc8),{'children':_0x171dc8[_0x1de736(0x25e)][_0x1de736(0x1d1)](function(_0x492829){const _0x401b2a=_0x1de736;return typeof _0x492829['attrs']['id']=='string'&&_0x53e037&&_0x53e037['indexOf'](_0x492829['attrs']['id'])>-0x1?v(v({},_0x492829),{'attrs':v(v({},_0x492829[_0x401b2a(0x1b2)]),{'id':_0x492829[_0x401b2a(0x1b2)]['id']+_0x1eb44a['idSuffix']})}):_0x492829;})}):_0x171dc8;}function ji(){const _0x26a8bc=_0x169260;return Math[_0x26a8bc(0x2b6)]()[_0x26a8bc(0x2d7)](0x24)['substring'](0x2,0x8);}je[_0x169260(0x115)]=_0x169260(0x286);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x169260(0x180),'height':_0x169260(0x180)},'children':[{'tag':'g','attrs':{'clipPath':_0x169260(0x198)},'children':[{'tag':_0x169260(0x105),'attrs':{'stroke':'currentColor','d':_0x169260(0x200),'strokeLinecap':_0x169260(0x2de),'strokeLinejoin':_0x169260(0x2de),'strokeWidth':1.2}}]},{'tag':_0x169260(0x2e2),'attrs':{},'children':[{'tag':_0x169260(0x210),'attrs':{'id':_0x169260(0x2a3)},'children':[{'tag':_0x169260(0x105),'attrs':{'fill':_0x169260(0x174),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x169260(0x2a3)]},Dt=_0x6547b1(function(_0x26dc98,_0x5418b2){const _0x4556b8=_0x169260;return _0x41ab58(je,Object[_0x4556b8(0x161)]({},_0x26dc98,{'id':_0x4556b8(0x23e),'ref':_0x5418b2,'icon':Yi}));});Dt[_0x169260(0x115)]=_0x169260(0x191);var Fi={'tag':_0x169260(0x1d0),'attrs':{'fill':'none','viewBox':_0x169260(0x150),'width':'1em','height':_0x169260(0x180)},'children':[{'tag':'g','attrs':{'clipPath':_0x169260(0x28f)},'children':[{'tag':_0x169260(0x105),'attrs':{'stroke':_0x169260(0x1e8),'d':_0x169260(0x2ca),'strokeLinecap':'round','strokeLinejoin':_0x169260(0x2de),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x169260(0x210),'attrs':{'id':_0x169260(0x10f)},'children':[{'tag':'path','attrs':{'fill':_0x169260(0x174),'d':_0x169260(0x27e),'transform':_0x169260(0x1b8)}}]}]}],'defIds':[_0x169260(0x10f)]},Nt=_0x6547b1(function(_0x1452a2,_0x35e04a){const _0x1b1258=_0x169260;return _0x41ab58(je,Object['assign']({},_0x1452a2,{'id':_0x1b1258(0x141),'ref':_0x35e04a,'icon':Fi}));});Nt['displayName']=_0x169260(0x2b7);function Wi(_0x31d243){const _0x53f797=_0x169260;switch(_0x31d243){case _0x42c1d5[_0x53f797(0x1b1)]:return _0x53f797(0x179);case _0x42c1d5['CONFLICT']:return'collabStatus.conflict';case _0x42c1d5['FETCH_MISS']:return _0x53f797(0x1fd);case _0x42c1d5[_0x53f797(0x1c4)]:return _0x53f797(0x136);case _0x42c1d5[_0x53f797(0x1ed)]:case _0x42c1d5[_0x53f797(0x25a)]:return _0x53f797(0x120);case _0x42c1d5[_0x53f797(0x14f)]:case _0x42c1d5[_0x53f797(0x178)]:return _0x53f797(0x1a3);}}function Vi(_0x24cda5){const _0x534196=_0x169260,{status$:_0x2246dd}=_0x24cda5,_0x4e590c=_0x401156(_0x2246dd,_0x42c1d5['NOT_COLLAB']),_0x3d1c5e=_0x2f4f88(_0x4c7e50),_0x5d7dd1=_0x2f4f88(_0x955e03),_0x2ae9c6=_0x4e590c!==_0x42c1d5['OFFLINE'],_0x4f939e=_0x3d1c5e['t'](Wi(_0x4e590c)),_0x25ee1e=_0x2ae9c6?_0x10d544(Nt,{}):_0x10d544(Dt,{}),_0x112af5=_0xdec2d5(()=>{const _0x5c7267=_0x3dbd;_0x2ae9c6||_0x5d7dd1[_0x5c7267(0x285)]();},[_0x2ae9c6,_0x5d7dd1]);function _0xdd157(){const _0x3964c3=_0x3dbd;return _0x258dcb(_0x3964c3(0x238),{'className':_0x3964c3(0x221),'onClick':_0x112af5,'children':[_0x10d544(_0x3964c3(0x238),{'className':_0x291642(_0x3964c3(0x1bc),{'univer-text-green-500':_0x2ae9c6,'univer-text-red-500':!_0x2ae9c6}),'children':_0x25ee1e}),_0x10d544(_0x3964c3(0x238),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','children':_0x4f939e})]});}return _0x2ae9c6?_0xdd157():_0x10d544(_0x4c014c,{'title':_0x3d1c5e['t'](_0x534196(0x24b)),'children':_0xdd157()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0xffdf2e,_0x53734f,_0x273b01,_0x4e8992)=>{const _0x2059b1=_0x169260;for(var _0x3c61a9=_0x4e8992>0x1?void 0x0:_0x4e8992?Xi(_0x53734f,_0x273b01):_0x53734f,_0x4a2e36=_0xffdf2e[_0x2059b1(0x23b)]-0x1,_0x455e39;_0x4a2e36>=0x0;_0x4a2e36--)(_0x455e39=_0xffdf2e[_0x4a2e36])&&(_0x3c61a9=_0x455e39(_0x3c61a9)||_0x3c61a9);return _0x3c61a9;},Q=(_0x12ba1c,_0x24444d)=>(_0x5b95e4,_0x2d39f1)=>_0x24444d(_0x5b95e4,_0x2d39f1,_0x12ba1c);let te=class extends _0x2dad37{constructor(_0x1faacb,_0x1e813e,_0x3012d7,_0x1a244a){const _0x1973f2=_0x169260;super(),_(this,_0x1973f2(0x245),new _0x389fc0(_0x42c1d5['NOT_COLLAB'])),(this[_0x1973f2(0x195)]=_0x1faacb,this[_0x1973f2(0x14a)]=_0x1e813e,this[_0x1973f2(0x119)]=_0x3012d7,this[_0x1973f2(0x2a1)]=_0x1a244a,this[_0x1973f2(0x1dd)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x298460=_0x169260;this[_0x298460(0x117)](this[_0x298460(0x195)][_0x298460(0x129)][_0x298460(0x1e9)](_0x14c1cd(()=>{const _0x329fcd=_0x298460,_0x1a1e8c=this[_0x329fcd(0x195)]['getFocusedUnit']();return _0x1a1e8c?this[_0x329fcd(0x119)]['getCollabEntity$'](_0x1a1e8c['getUnitId']()):_0x20b8f4(null);}),_0x14c1cd(_0x3c1a87=>_0x3c1a87?_0x3c1a87[_0x298460(0x2cb)]:_0x20b8f4(_0x42c1d5[_0x298460(0x1c4)])))[_0x298460(0x251)](_0xb0fe52=>{const _0x26d2b8=_0x298460;this[_0x26d2b8(0x245)][_0x26d2b8(0x1d5)](_0xb0fe52);}));}['_initStatusComponent'](){const _0x322450=_0x169260;this[_0x322450(0x117)](this['_uiPartsService']['registerComponent'](_0x48a164[_0x322450(0x16c)],()=>_0x286ae6(Ki({'status$':this[_0x322450(0x245)]['asObservable']()}),this['_injector'])));}};te=Gi([Q(0x0,_0x1f520f),Q(0x1,_0x110a3(_0x55019c)),Q(0x2,_0x110a3(_0x424dc7)),Q(0x3,_0x2ca804)],te);function Ki(_0xa12e89){const {status$:_0x199b54}=_0xa12e89;return function(){return _0x10d544(Vi,{'status$':_0x199b54});};}var zi=Object[_0x169260(0x27d)],Ji=(_0x5a4867,_0x341ccf,_0x4029dd,_0x262d3e)=>{for(var _0x48b20c=_0x262d3e>0x1?void 0x0:_0x262d3e?zi(_0x341ccf,_0x4029dd):_0x341ccf,_0x3aadca=_0x5a4867['length']-0x1,_0x113f1f;_0x3aadca>=0x0;_0x3aadca--)(_0x113f1f=_0x5a4867[_0x3aadca])&&(_0x48b20c=_0x113f1f(_0x48b20c)||_0x48b20c);return _0x48b20c;},B=(_0x55ea59,_0x376418)=>(_0x31e8c1,_0x5d1012)=>_0x376418(_0x31e8c1,_0x5d1012,_0x55ea59);let se=class extends _0x2dad37{constructor(_0x5e9dc8,_0x2005b4,_0x4b9ec3,_0x1e75ec,_0x227fc7,_0x5409a6){const _0x3481f2=_0x169260;super(),this[_0x3481f2(0x1fa)]=_0x5e9dc8,this['_localCacheService']=_0x2005b4,this[_0x3481f2(0x1c6)]=_0x4b9ec3,this[_0x3481f2(0x2db)]=_0x1e75ec,this['_notificationService']=_0x227fc7,this[_0x3481f2(0x21f)]=_0x5409a6,this['_setupBeforeClosingHandler'](),this[_0x3481f2(0x2ac)]();}[_0x169260(0x169)](){const _0x5cf9ad=_0x169260;this[_0x5cf9ad(0x117)](this[_0x5cf9ad(0x1fa)]['registerBeforeClose'](()=>{const _0x2a4207=_0x5cf9ad;if(this[_0x2a4207(0x2b1)][_0x2a4207(0x292)][_0x2a4207(0x1a4)])return this['_localeService']['t'](_0x2a4207(0x118));}));}[_0x169260(0x2ac)](){const _0x5dadd5=_0x169260;this['disposeWithMe'](this['_collaborationUIEventService'][_0x5dadd5(0x258)][_0x5dadd5(0x251)](_0x301ec4=>{const _0x2f05ae=_0x5dadd5;_0x301ec4['id']===_0x3c6f01[_0x2f05ae(0x260)]&&this['_messageService'][_0x2f05ae(0x274)]({'type':_0x1d16c4[_0x2f05ae(0x20e)],'content':this[_0x2f05ae(0x21f)]['t']('collaboration.single-unit.warning')}),_0x301ec4['id']===_0x3c6f01['CLOSE_ROOM']&&this['_messageService'][_0x2f05ae(0x274)]({'type':_0x1d16c4[_0x2f05ae(0x20e)],'content':this[_0x2f05ae(0x21f)]['t'](_0x2f05ae(0x244))}),_0x301ec4['id']===_0x3c6f01[_0x2f05ae(0x13c)]&&this[_0x2f05ae(0x100)]['show']({'title':this[_0x2f05ae(0x21f)]['t'](_0x2f05ae(0x21c)),'content':this[_0x2f05ae(0x21f)]['t'](_0x2f05ae(0xff)),'type':'error','duration':0x0}),_0x301ec4['id']===_0x3c6f01[_0x2f05ae(0x2c8)]&&this['_messageService'][_0x2f05ae(0x274)]({'type':_0x1d16c4[_0x2f05ae(0x134)],'content':this[_0x2f05ae(0x21f)]['t']('collaboration.closeRoom')+'('+_0x301ec4[_0x2f05ae(0x1e1)]+')'}),_0x301ec4['id']===_0x3c6f01[_0x2f05ae(0xfb)]&&this['_messageService'][_0x2f05ae(0x274)]({'type':_0x1d16c4[_0x2f05ae(0x20e)],'content':this['_localeService']['t'](_0x301ec4[_0x2f05ae(0x1e1)]||'')}),_0x301ec4['id']===_0x3c6f01[_0x2f05ae(0x212)]&&this[_0x2f05ae(0x2db)]['show']({'type':_0x1d16c4[_0x2f05ae(0x20e)],'content':this[_0x2f05ae(0x21f)]['t']('session.will-retry')}),_0x301ec4['id']===_0x3c6f01['SOCKET_FAILED']&&this[_0x2f05ae(0x2db)][_0x2f05ae(0x274)]({'type':_0x1d16c4[_0x2f05ae(0x134)],'content':this['_localeService']['t'](_0x2f05ae(0x167))}),_0x301ec4['id']===_0x3c6f01['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f05ae(0x2db)][_0x2f05ae(0x274)]({'type':_0x1d16c4[_0x2f05ae(0x134)],'content':this[_0x2f05ae(0x21f)]['t'](_0x2f05ae(0x2af))});}));}};se=Ji([B(0x0,_0x47cda9),B(0x1,_0x39cda1),B(0x2,_0x110a3(_0x10819b)),B(0x3,_0x1a1437),B(0x4,_0x1a0b75),B(0x5,_0x110a3(_0x4c7e50))],se);const Zi=_0x169260(0xf4),et={},Ut=_0x120a6b(_0x169260(0x15a));var Qi=Object[_0x169260(0x27d)],qi=(_0x3424a5,_0x5b9cf8,_0x5d43fa,_0x146e59)=>{const _0x401780=_0x169260;for(var _0x15c2a8=_0x146e59>0x1?void 0x0:_0x146e59?Qi(_0x5b9cf8,_0x5d43fa):_0x5b9cf8,_0x420b72=_0x3424a5[_0x401780(0x23b)]-0x1,_0x4a308d;_0x420b72>=0x0;_0x420b72--)(_0x4a308d=_0x3424a5[_0x420b72])&&(_0x15c2a8=_0x4a308d(_0x15c2a8)||_0x15c2a8);return _0x15c2a8;},G=(_0x20102b,_0x10d773)=>(_0x1a8d83,_0x2469dc)=>_0x10d773(_0x1a8d83,_0x2469dc,_0x20102b);let ie=class extends _0x120009{constructor(_0x3c8abb,_0x4e1f3f,_0x633b10,_0x5a9f90,_0x32acd3){const _0x536682=_0x169260;super(),this['_urlService']=_0x3c8abb,this[_0x536682(0x1a6)]=_0x4e1f3f,this[_0x536682(0x25b)]=_0x633b10,this['_dataLoaderService']=_0x5a9f90,_0x32acd3?_0x32acd3==null||_0x32acd3[_0x536682(0x135)]()[_0x536682(0x19b)](()=>this[_0x536682(0x23a)]()):(this[_0x536682(0x1a6)][_0x536682(0x18c)]('[CollaborationDataLoaderController]',_0x536682(0x1fb)),this[_0x536682(0x23a)]());}async[_0x169260(0x23a)](){const _0x1529c9=_0x169260,_0x325037=this[_0x1529c9(0x29b)][_0x1529c9(0x13b)](_0x1529c9(0x272)),_0x2d73cb=this[_0x1529c9(0x29b)][_0x1529c9(0x13b)](_0x1529c9(0x1f7)),_0x902849=this[_0x1529c9(0x29b)][_0x1529c9(0x13b)](_0x1529c9(0x1b3));if(!_0x325037||!_0x2d73cb){this[_0x1529c9(0x1a6)][_0x1529c9(0x18c)](_0x1529c9(0x1ba),_0x1529c9(0x21d));return;}const _0x5de0e9=await this['_dataLoaderService']['loadUnit'](_0x325037,Number(_0x2d73cb),_0x902849);_0x5de0e9&&_0x5de0e9 instanceof _0x1c4089&&this[_0x1529c9(0x262)](_0x5de0e9);}async[_0x169260(0x262)](_0x1cdbdb){const _0x136437=_0x169260;await this[_0x136437(0x111)](_0x1cdbdb),_0x1cdbdb[_0x136437(0x22c)]['pipe'](_0x3dda39(this['dispose$']))[_0x136437(0x251)](_0x47f1c8=>{const _0x5d4e4f=_0x136437;_0x47f1c8&&this[_0x5d4e4f(0x122)](_0x47f1c8);}),this[_0x136437(0x29b)][_0x136437(0x282)]['pipe'](_0x3dda39(this[_0x136437(0x139)]))[_0x136437(0x251)](()=>this[_0x136437(0x111)](_0x1cdbdb));}[_0x169260(0x122)](_0x180c5d,_0x386efc=!0x1){const _0x263602=_0x169260,_0x537aca=this[_0x263602(0x29b)][_0x263602(0x13b)]('subunit');_0x180c5d['getSheetId']()!==_0x537aca&&this[_0x263602(0x29b)][_0x263602(0x2d1)](_0x263602(0x1b3),_0x180c5d[_0x263602(0x10b)](),_0x386efc);}async[_0x169260(0x111)](_0x5d5b03){const _0xa68c30=_0x169260;var _0x1fe45a;const _0x63e87d=this['_urlService'][_0xa68c30(0x13b)](_0xa68c30(0x1b3));if(!_0x63e87d||!_0x5d5b03['getSheetBySheetId'](_0x63e87d)){const _0x5dd81d=_0x5d5b03[_0xa68c30(0x283)]()[0x0],_0x53c965=_0x5d5b03[_0xa68c30(0x2bd)](_0x5dd81d);if(!_0x53c965)return;this[_0xa68c30(0x122)](_0x53c965,!0x0),await this[_0xa68c30(0x25b)]['executeCommand'](_0x2195ce['id'],{'unitId':_0x5d5b03[_0xa68c30(0x232)](),'subUnitId':_0x5dd81d});return;}((_0x1fe45a=_0x5d5b03[_0xa68c30(0x18f)]())==null?void 0x0:_0x1fe45a['getSheetId']())!==_0x63e87d&&await this['_commandService'][_0xa68c30(0x226)](_0x2195ce['id'],{'unitId':_0x5d5b03[_0xa68c30(0x232)](),'subUnitId':_0x63e87d});}};ie=qi([G(0x0,Ut),G(0x1,_0x2bf776),G(0x2,_0x1f6846),G(0x3,_0x110a3(_0x23db48)),G(0x4,_0xbb2fd8(_0x58bda9))],ie);var en=Object[_0x169260(0x27d)],tn=(_0x3a5478,_0x9c42f4,_0x3d4329,_0x3fa0d1)=>{for(var _0x5b64ae=_0x3fa0d1>0x1?void 0x0:_0x3fa0d1?en(_0x9c42f4,_0x3d4329):_0x9c42f4,_0x13b6cf=_0x3a5478['length']-0x1,_0x30cd66;_0x13b6cf>=0x0;_0x13b6cf--)(_0x30cd66=_0x3a5478[_0x13b6cf])&&(_0x5b64ae=_0x30cd66(_0x5b64ae)||_0x5b64ae);return _0x5b64ae;},pe=(_0x573311,_0x3cf730)=>(_0x3a0b67,_0x24e44e)=>_0x3cf730(_0x3a0b67,_0x24e44e,_0x573311);let ne=class{constructor(_0x5749d9,_0x4edc3e,_0x438471){const _0x4e3366=_0x169260;this[_0x4e3366(0x14a)]=_0x5749d9,this['_transformService']=_0x4edc3e,this[_0x4e3366(0x2d9)]=_0x438471;}[_0x169260(0x2a8)](_0x597c87){const _0x3413ec=_0x169260;this[_0x3413ec(0x1f9)](_0x597c87),this[_0x3413ec(0x2ce)](_0x597c87);}[_0x169260(0x18d)](_0x2daca1){const _0x20b464=_0x169260,{unitID:_0x4d3333}=_0x2daca1,_0x367413=this[_0x20b464(0x2d9)][_0x20b464(0x29e)](_0x4d3333)[_0x20b464(0x1ac)](_0x3ae0a4),{redoCache:_0x2fccbb}=_0x367413[_0x20b464(0x110)]();if(_0x2fccbb[_0x20b464(0x23b)]===0x0)return _0x2daca1;let _0x18355c=_0x26884c[_0x20b464(0x10c)](_0x2daca1[_0x20b464(0x288)][0x0]);for(let _0x3f4849=0x0;_0x3f4849<_0x2fccbb[_0x20b464(0x23b)];_0x3f4849++){const _0x508fbb={'id':_0x20b464(0x1d2),'params':{..._0x2fccbb[_0x3f4849]}},_0x179094=this[_0x20b464(0x25f)][_0x20b464(0x162)](_0x18355c,_0x508fbb,!0x1);if(_0x224c63(_0x179094))throw _0x179094[_0x20b464(0x2bf)];_0x18355c=_0x179094[_0x20b464(0x1d8)];}return{..._0x26884c[_0x20b464(0x10c)](_0x2daca1),'mutations':[_0x18355c]};}[_0x169260(0x1f9)](_0x1ccaba){const _0x5af72d=_0x169260,{unitID:_0x266a70}=_0x1ccaba,_0x42e168=this[_0x5af72d(0x2d9)]['getRenderById'](_0x266a70)[_0x5af72d(0x1ac)](_0x3ae0a4),{undoCache:_0x21d103,redoCache:_0x2dd17a}=_0x42e168[_0x5af72d(0x110)]();if(_0x21d103[_0x5af72d(0x23b)]===0x0||_0x2dd17a[_0x5af72d(0x23b)]===0x0)return;const _0x3e4150=[],_0x4c820a=[];let _0xaae487=_0x26884c[_0x5af72d(0x10c)](_0x1ccaba['mutations'][0x0]),_0x171dd1=_0x26884c[_0x5af72d(0x10c)](_0x1ccaba[_0x5af72d(0x288)][0x0]);for(let _0x1e8d1d=_0x21d103[_0x5af72d(0x23b)]-0x1;_0x1e8d1d>=0x0;_0x1e8d1d--){const _0x56db32={'id':_0x5af72d(0x1d2),'params':{..._0x21d103[_0x1e8d1d]}},_0x1ff1b4={'id':_0x5af72d(0x1d2),'params':{..._0x2dd17a[_0x1e8d1d]}},_0x39a437=this[_0x5af72d(0x25f)][_0x5af72d(0x162)](_0xaae487,_0x56db32,!0x1),_0x9083a7=this['_transformService'][_0x5af72d(0x162)](_0x171dd1,_0x1ff1b4,!0x1);if(_0x224c63(_0x39a437))throw _0x39a437[_0x5af72d(0x2bf)];if(_0x224c63(_0x9083a7))throw _0x9083a7[_0x5af72d(0x2bf)];_0x3e4150['unshift'](_0x39a437[_0x5af72d(0x2d3)]['params']),_0x4c820a['unshift'](_0x9083a7['m2Prime'][_0x5af72d(0x294)]),_0xaae487=_0x39a437[_0x5af72d(0x1d8)],_0x171dd1=_0x9083a7[_0x5af72d(0x1d8)];}_0x42e168['setUndoRedoMutationParamsCache']({'undoCache':_0x3e4150,'redoCache':_0x4c820a});}[_0x169260(0x2ce)](_0x12c19e){const _0x114236=_0x169260,{unitID:_0x58f497}=_0x12c19e,_0x55b4a9=this[_0x114236(0x2d9)][_0x114236(0x29e)](_0x58f497)[_0x114236(0x1ac)](_0x3ae0a4),_0x36fc96=_0x55b4a9['getActiveRange']();if(_0x36fc96==null)return;const _0x363257=[{'id':_0x114236(0x1d2),'params':{'unitId':_0x12c19e[_0x114236(0xf7)],'actions':null,'textRanges':[_0x36fc96]}}],_0x32ca89=this[_0x114236(0x25f)][_0x114236(0x1b7)](_0x12c19e,_0x363257);if(!_0x2b73e0(_0x32ca89))throw _0x32ca89[_0x114236(0x2bf)];const _0x471d4c=_0x32ca89[_0x114236(0x2d3)][0x0][_0x114236(0x294)][_0x114236(0x2c0)];Array['isArray'](_0x471d4c)&&_0x471d4c[_0x114236(0x23b)]&&_0x55b4a9['setActiveRange'](_0x471d4c[0x0]);}};ne=tn([pe(0x0,_0x110a3(_0x55019c)),pe(0x1,_0x213111),pe(0x2,_0x33bfdb)],ne);var sn=Object[_0x169260(0x27d)],nn=(_0x123239,_0x56079f,_0x924a4b,_0x48860c)=>{for(var _0x207fcc=_0x48860c>0x1?void 0x0:_0x48860c?sn(_0x56079f,_0x924a4b):_0x56079f,_0x302234=_0x123239['length']-0x1,_0x243482;_0x302234>=0x0;_0x302234--)(_0x243482=_0x123239[_0x302234])&&(_0x207fcc=_0x243482(_0x207fcc)||_0x207fcc);return _0x207fcc;},Ce=(_0x4ef8ea,_0x5ecb5d)=>(_0xf62bb1,_0x2e0ad7)=>_0x5ecb5d(_0xf62bb1,_0x2e0ad7,_0x4ef8ea);let re=class{constructor(_0xdfd94c,_0x1c56fa,_0x5f396e){const _0x4d9bec=_0x169260;this[_0x4d9bec(0x14a)]=_0xdfd94c,this['_transformService']=_0x1c56fa,this['_docStateChangeManagerService']=_0x5f396e;}[_0x169260(0x109)](_0x2b8995){const _0x58a185=_0x169260;this[_0x58a185(0x185)](_0x2b8995);}[_0x169260(0x18d)](_0x5d361d){const _0xec6685=_0x169260,{unitID:_0x34cbff}=_0x5d361d,{collaboration:_0x37c517}=this[_0xec6685(0x217)][_0xec6685(0x16d)](_0x34cbff);if(_0x37c517['length']===0x0)return _0x5d361d;let _0x1ba63f=_0x26884c[_0xec6685(0x10c)](_0x5d361d['mutations'][0x0]);for(let _0x467516=0x0;_0x467516<_0x37c517['length'];_0x467516++){const _0x5708b1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37c517[_0x467516][_0xec6685(0x1f0)],..._0x37c517[_0x467516]['redoState']}},_0x118195=this[_0xec6685(0x25f)][_0xec6685(0x162)](_0x1ba63f,_0x5708b1,!0x1);if(_0x224c63(_0x118195))throw _0x118195[_0xec6685(0x2bf)];_0x1ba63f=_0x118195[_0xec6685(0x1d8)];}return{..._0x26884c[_0xec6685(0x10c)](_0x5d361d),'mutations':[_0x1ba63f]};}[_0x169260(0x185)](_0x335e96){const _0xfc3148=_0x169260,{unitID:_0x3e7c06}=_0x335e96,{history:_0x34ce3d,collaboration:_0x40bc9f}=this[_0xfc3148(0x217)][_0xfc3148(0x16d)](_0x3e7c06);if(_0x34ce3d[_0xfc3148(0x23b)]===0x0&&_0x40bc9f[_0xfc3148(0x23b)]===0x0)return;const _0xf0dce6=[],_0x367ecb=[];let _0x54810a=_0x26884c[_0xfc3148(0x10c)](_0x335e96[_0xfc3148(0x288)][0x0]),_0xf8bebb=_0x26884c[_0xfc3148(0x10c)](_0x335e96['mutations'][0x0]);for(let _0x5ce60c=_0x34ce3d[_0xfc3148(0x23b)]-0x1;_0x5ce60c>=0x0;_0x5ce60c--){const _0xffb649={'id':_0xfc3148(0x1d2),'params':{'unitId':_0x34ce3d[_0x5ce60c][_0xfc3148(0x1f0)],..._0x34ce3d[_0x5ce60c][_0xfc3148(0x28a)]}},_0x27d4c4={'id':_0xfc3148(0x1d2),'params':{'unitId':_0x34ce3d[_0x5ce60c][_0xfc3148(0x1f0)],..._0x34ce3d[_0x5ce60c][_0xfc3148(0x2dd)]}},_0x21e4ad=this[_0xfc3148(0x25f)][_0xfc3148(0x162)](_0x54810a,_0xffb649,!0x1),_0x5c4fd2=this['_transformService'][_0xfc3148(0x162)](_0xf8bebb,_0x27d4c4,!0x1);if(_0x224c63(_0x21e4ad))throw _0x21e4ad[_0xfc3148(0x2bf)];if(_0x224c63(_0x5c4fd2))throw _0x5c4fd2['error'];_0xf0dce6['unshift']({..._0x34ce3d[_0x5ce60c],'undoState':_0x21e4ad['m2Prime'][_0xfc3148(0x294)],'redoState':_0x5c4fd2[_0xfc3148(0x2d3)][_0xfc3148(0x294)]}),_0x54810a=_0x21e4ad[_0xfc3148(0x1d8)],_0xf8bebb=_0x5c4fd2['m1Prime'];}_0x54810a=_0x26884c[_0xfc3148(0x10c)](_0x335e96[_0xfc3148(0x288)][0x0]),_0xf8bebb=_0x26884c[_0xfc3148(0x10c)](_0x335e96[_0xfc3148(0x288)][0x0]);for(let _0x1f1ad9=_0x40bc9f[_0xfc3148(0x23b)]-0x1;_0x1f1ad9>=0x0;_0x1f1ad9--){const _0x3a7fba={'id':_0xfc3148(0x1d2),'params':{'unitId':_0x40bc9f[_0x1f1ad9]['unitId'],..._0x40bc9f[_0x1f1ad9][_0xfc3148(0x28a)]}},_0x4337e6={'id':_0xfc3148(0x1d2),'params':{'unitId':_0x40bc9f[_0x1f1ad9][_0xfc3148(0x1f0)],..._0x40bc9f[_0x1f1ad9]['redoState']}},_0xc1f46f=this[_0xfc3148(0x25f)][_0xfc3148(0x162)](_0x54810a,_0x3a7fba,!0x1),_0x20f406=this[_0xfc3148(0x25f)][_0xfc3148(0x162)](_0xf8bebb,_0x4337e6,!0x1);if(_0x224c63(_0xc1f46f))throw _0xc1f46f[_0xfc3148(0x2bf)];if(_0x224c63(_0x20f406))throw _0x20f406[_0xfc3148(0x2bf)];_0x367ecb[_0xfc3148(0x205)]({..._0x40bc9f[_0x1f1ad9],'undoState':_0xc1f46f[_0xfc3148(0x2d3)]['params'],'redoState':_0x20f406[_0xfc3148(0x2d3)][_0xfc3148(0x294)]}),_0x54810a=_0xc1f46f[_0xfc3148(0x1d8)],_0xf8bebb=_0x20f406[_0xfc3148(0x1d8)];}this[_0xfc3148(0x217)][_0xfc3148(0x287)](_0x3e7c06,{'history':_0xf0dce6,'collaboration':_0x367ecb});}};re=nn([Ce(0x0,_0x110a3(_0x55019c)),Ce(0x1,_0x213111),Ce(0x2,_0x110a3(_0x29837f))],re);var rn=Object[_0x169260(0x27d)],on=(_0x4ec1b9,_0x1c3174,_0x524008,_0x11832a)=>{const _0x2c6a7c=_0x169260;for(var _0x4a57e7=_0x11832a>0x1?void 0x0:_0x11832a?rn(_0x1c3174,_0x524008):_0x1c3174,_0x4898a7=_0x4ec1b9[_0x2c6a7c(0x23b)]-0x1,_0x3ae768;_0x4898a7>=0x0;_0x4898a7--)(_0x3ae768=_0x4ec1b9[_0x4898a7])&&(_0x4a57e7=_0x3ae768(_0x4a57e7)||_0x4a57e7);return _0x4a57e7;},tt=(_0x579efb,_0x526240)=>(_0x65a9f,_0xffe4fc)=>_0x526240(_0x65a9f,_0xffe4fc,_0x579efb);let oe=class{constructor(_0x36010c,_0x4c277a){const _0x3327df=_0x169260;this[_0x3327df(0x14a)]=_0x36010c,this[_0x3327df(0x25f)]=_0x4c277a;}[_0x169260(0x104)](_0x5dee66){const _0x3f07b4=_0x169260;var _0x479ad1;const _0x2b62df=this[_0x3f07b4(0x14a)][_0x3f07b4(0xf1)](_0x4edb44),_0x50cefb=(_0x479ad1=_0x2b62df[_0x3f07b4(0x27c)]())!=null?_0x479ad1:[];if(_0x50cefb[_0x3f07b4(0x23b)]===0x0)return;const _0x4d451f=_0x5dee66[_0x3f07b4(0xf7)],_0x3d0fa0=[{'id':_0x3f07b4(0x1d2),'params':{'unitId':_0x4d451f,'actions':null,'textRanges':_0x50cefb}}],_0x2bdb65=this[_0x3f07b4(0x25f)][_0x3f07b4(0x1b7)](_0x5dee66,_0x3d0fa0);if(!_0x2b73e0(_0x2bdb65))throw _0x2bdb65['error'];const _0x49f773=_0x2bdb65['m2Prime'][0x0][_0x3f07b4(0x294)][_0x3f07b4(0x2c0)];Array[_0x3f07b4(0x268)](_0x49f773)&&_0x49f773[_0x3f07b4(0x23b)]&&_0x2b62df[_0x3f07b4(0x1c3)](_0x49f773,{'unitId':_0x4d451f,'subUnitId':_0x4d451f},!0x1);}};oe=on([tt(0x0,_0x110a3(_0x55019c)),tt(0x1,_0x213111)],oe);var an=Object[_0x169260(0x27d)],cn=(_0x585164,_0x482f82,_0x11d229,_0x594c7c)=>{const _0x13b3b7=_0x169260;for(var _0x33ba7d=_0x594c7c>0x1?void 0x0:_0x594c7c?an(_0x482f82,_0x11d229):_0x482f82,_0x2f8c24=_0x585164[_0x13b3b7(0x23b)]-0x1,_0x2af6fe;_0x2f8c24>=0x0;_0x2f8c24--)(_0x2af6fe=_0x585164[_0x2f8c24])&&(_0x33ba7d=_0x2af6fe(_0x33ba7d)||_0x33ba7d);return _0x33ba7d;},U=(_0x14b568,_0x514ae4)=>(_0x30f14d,_0x44785b)=>_0x514ae4(_0x30f14d,_0x44785b,_0x14b568);let ae=class extends _0x2dad37{constructor(_0x364771,_0xca0a5d,_0x88054f,_0x9c5024,_0x2d8817,_0x150fe0,_0x4a1acf,_0x8a520a){const _0x5f4b67=_0x169260;super(),_(this,_0x5f4b67(0x245),new _0x389fc0(_0x42c1d5[_0x5f4b67(0x1c4)])),(this[_0x5f4b67(0x217)]=_0x364771,this[_0x5f4b67(0x119)]=_0xca0a5d,this[_0x5f4b67(0x17f)]=_0x88054f,this[_0x5f4b67(0x1b0)]=_0x9c5024,this[_0x5f4b67(0x2e0)]=_0x2d8817,this['_docSyncEditingCollabCursorService']=_0x150fe0,this[_0x5f4b67(0x2db)]=_0x4a1acf,this[_0x5f4b67(0x21f)]=_0x8a520a,this['_initEntityListener']());}['_initEntityListener'](){const _0x3a08cb=_0x169260;this[_0x3a08cb(0x117)](this[_0x3a08cb(0x119)][_0x3a08cb(0x154)][_0x3a08cb(0x251)](_0x3c7a0a=>{const _0x148c7c=_0x3a08cb,_0x3b95d7=this[_0x148c7c(0x217)][_0x148c7c(0x257)][_0x148c7c(0x251)](_0x1e02cb=>{const _0x1cac1d=_0x148c7c;if(_0x1e02cb==null)return;const {unitId:_0x55fe28,redoState:_0x3f1703,commandId:_0x514768}=_0x1e02cb;if(_0x55fe28!==_0x3c7a0a[_0x1cac1d(0xf7)])return;const _0x1483c5={'id':_0x514768,'type':_0x3704e1[_0x1cac1d(0x186)],'params':{'unitId':_0x55fe28,'actions':_0x3f1703['actions'],'textRanges':null}};_0x3c7a0a['onLocalMutation'](_0x1483c5);});if(_0x3c7a0a[_0x148c7c(0x117)](_0x3b95d7),_0x3c7a0a instanceof _0xc0fb36){const _0x2047a6={'onTransformIME':_0x3c47c8=>this[_0x148c7c(0x17f)]['transformIMECache'](_0x3c47c8),'onTransformState':_0x16e6f0=>this[_0x148c7c(0x1b0)]['transformStateCache'](_0x16e6f0),'onTransformSelections':_0x1b5819=>this[_0x148c7c(0x2e0)]['transformSelections'](_0x1b5819),'onSyncEditingCollabCursor':_0x14955f=>this[_0x148c7c(0x26d)][_0x148c7c(0x164)](_0x14955f),'onTransformRemoteChangesetByIMECache':_0x183c38=>this[_0x148c7c(0x17f)][_0x148c7c(0x18d)](_0x183c38),'onTransformRemoteChangesetByStateCache':_0x5886f2=>this[_0x148c7c(0x1b0)][_0x148c7c(0x18d)](_0x5886f2)};_0x3c7a0a[_0x148c7c(0x26f)](_0x2047a6);}}));}};ae=cn([U(0x0,_0x110a3(_0x29837f)),U(0x1,_0x110a3(_0x424dc7)),U(0x2,_0x110a3(ne)),U(0x3,_0x110a3(re)),U(0x4,_0x110a3(oe)),U(0x5,_0x110a3(He)),U(0x6,_0x1a1437),U(0x7,_0x110a3(_0x4c7e50))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x5077a3,_0x155608,_0x1e98d5,_0x58b6c2)=>{const _0x321dc5=_0x169260;for(var _0x5476ed=_0x58b6c2>0x1?void 0x0:_0x58b6c2?ln(_0x155608,_0x1e98d5):_0x155608,_0x168f78=_0x5077a3[_0x321dc5(0x23b)]-0x1,_0x4fcf48;_0x168f78>=0x0;_0x168f78--)(_0x4fcf48=_0x5077a3[_0x168f78])&&(_0x5476ed=_0x4fcf48(_0x5476ed)||_0x5476ed);return _0x5476ed;},Ee=(_0x23afa1,_0x118f53)=>(_0x329a41,_0x341037)=>_0x118f53(_0x329a41,_0x341037,_0x23afa1);let we=class extends _0x2dad37{constructor(_0x2987bd,_0x5dcc6c,_0x1fdf87){const _0x1971d8=_0x169260;super(),_(this,_0x1971d8(0x267),new Map()),_(this,_0x1971d8(0x184),new Map()),_(this,_0x1971d8(0x1b9),!0x1),(this['_configService']=_0x2987bd,this[_0x1971d8(0x12a)]=_0x5dcc6c,this['_revisionService']=_0x1fdf87);}[_0x169260(0x27f)](){this['_disabled']=!0x0;}[_0x169260(0xf9)](){const _0x266e0c=_0x169260;this[_0x266e0c(0x1b9)]=!0x1;}get['saveTaskMap'](){const _0x1b056b=_0x169260;return this[_0x1b056b(0x184)];}[_0x169260(0x189)](){const _0x3cd1dd=_0x169260;this['exhaustSavingTask']()[_0x3cd1dd(0x19b)](()=>super[_0x3cd1dd(0x189)]());}async[_0x169260(0x159)](_0x5a461d){const _0x34b53f=_0x169260;return this[_0x34b53f(0x1b9)]?null:this[_0x34b53f(0x12a)][_0x34b53f(0x227)](_0x13487b(_0x5a461d));}async[_0x169260(0x2ab)](_0x3ef17f,_0x3d4867){const _0x2cd0f1=_0x169260;return!!this['_localStorageService'][_0x2cd0f1(0x101)](_0x3ef17f,_0x3d4867);}[_0x169260(0x2b2)](_0x4b0cd4,_0x26fb17,_0x4a283d,_0x4e86fb){const _0x52bfa8=_0x169260,_0x2199ee=this[_0x52bfa8(0x102)][_0x52bfa8(0x276)](_0x4b0cd4);this['_cachedData'][_0x52bfa8(0x114)](_0x4b0cd4,{'unitID':_0x4b0cd4,'type':_0x26fb17,'awaitingChangeset':_0x4a283d,'mutations':_0x4e86fb,'rev':_0x2199ee}),this[_0x52bfa8(0x184)]['has'](_0x4b0cd4)||this[_0x52bfa8(0x17e)](_0x4b0cd4);}[_0x169260(0x17e)](_0x440ad1){const _0x30e6de=_0x169260,_0x26e4fe=this[_0x30e6de(0x126)]();_0x26e4fe===0x0?this[_0x30e6de(0x2c4)](_0x440ad1):this['_saveTaskMap'][_0x30e6de(0x114)](_0x440ad1,setTimeout(()=>this[_0x30e6de(0x2c4)](_0x440ad1),_0x26e4fe));}[_0x169260(0x126)](){const _0x58f629=_0x169260;var _0x1c4606;return(_0x1c4606=this[_0x58f629(0x127)]['getConfig'](_0x2ade3e))!=null?_0x1c4606:_0x514e4b;}[_0x169260(0x2c4)](_0x44da99){const _0x181735=_0x169260,_0x33d136=this['_saveTaskMap']['get'](_0x44da99);return _0x33d136!==void 0x0&&window[_0x181735(0xf8)](_0x33d136),this[_0x181735(0x12a)][_0x181735(0x101)](_0x13487b(_0x44da99),this[_0x181735(0x267)][_0x181735(0xf1)](_0x44da99))[_0x181735(0x19b)](()=>this['_saveTaskMap'][_0x181735(0x1e6)](_0x44da99));}async[_0x169260(0x11b)](){const _0x146f07=_0x169260,_0x45733c=[];this[_0x146f07(0x184)][_0x146f07(0x190)]((_0x13e94e,_0x105cab)=>{const _0x5ed4a2=_0x146f07;window[_0x5ed4a2(0xf8)](_0x13e94e),_0x45733c[_0x5ed4a2(0x279)](this[_0x5ed4a2(0x2c4)](_0x105cab)['then'](()=>{const _0x31980d=_0x5ed4a2;this['_saveTaskMap'][_0x31980d(0x1e6)](_0x105cab);}));}),await Promise['all'](_0x45733c);}};we=_n([Ee(0x0,_0x165f03),Ee(0x1,_0x466218),Ee(0x2,_0x110a3(_0x2afb59))],we);class hn extends _0x120009{constructor(){const _0xd8b4bd=_0x169260;super(),_(this,'urlChange$'),this[_0xd8b4bd(0x282)]=_0x5c0ef9(window,_0xd8b4bd(0x1bd))[_0xd8b4bd(0x1e9)](_0x3dda39(this[_0xd8b4bd(0x139)]),_0x35abe7(0x1),_0xe2137d(void 0x0));}[_0x169260(0x2d1)](_0x4bf9f4,_0x2f3942,_0x27bfa3=!0x1){const _0x34658d=_0x169260,_0x28439e=new URL(window['location'][_0x34658d(0x144)]);_0x28439e[_0x34658d(0xf6)][_0x34658d(0x114)](_0x4bf9f4,_0x2f3942),_0x27bfa3?window[_0x34658d(0x1cb)][_0x34658d(0x112)]('','',_0x28439e[_0x34658d(0x2d7)]()):window[_0x34658d(0x1cb)]['pushState']('','',_0x28439e[_0x34658d(0x2d7)]());}[_0x169260(0x171)](_0x22c7c4,_0x6f277e=!0x1){const _0x1b3653=_0x169260,_0x20f927=new URL(window[_0x1b3653(0x22f)][_0x1b3653(0x144)]);_0x20f927[_0x1b3653(0xf6)][_0x1b3653(0x1e6)](_0x22c7c4),_0x6f277e?window[_0x1b3653(0x1cb)]['replaceState']('','',_0x20f927[_0x1b3653(0x2d7)]()):window[_0x1b3653(0x1cb)][_0x1b3653(0x20d)]('','',_0x20f927[_0x1b3653(0x2d7)]());}['getParam'](_0x17ba68){const _0xe5be2f=_0x169260;var _0x14449f;return(_0x14449f=new URL(window['location']['href'])['searchParams'][_0xe5be2f(0xf1)](_0x17ba68))!=null?_0x14449f:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x169260(0x27d)],fn=(_0x3cc684,_0x5ac955,_0x122e41)=>_0x5ac955 in _0x3cc684?un(_0x3cc684,_0x5ac955,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x122e41}):_0x3cc684[_0x5ac955]=_0x122e41,Sn=(_0xc5bfb5,_0x233ee2,_0x5ebb2c,_0xcc3a2f)=>{const _0x5309e6=_0x169260;for(var _0x58252c=_0xcc3a2f>0x1?void 0x0:_0xcc3a2f?dn(_0x233ee2,_0x5ebb2c):_0x233ee2,_0x2d249c=_0xc5bfb5[_0x5309e6(0x23b)]-0x1,_0x224dea;_0x2d249c>=0x0;_0x2d249c--)(_0x224dea=_0xc5bfb5[_0x2d249c])&&(_0x58252c=_0x224dea(_0x58252c)||_0x58252c);return _0x58252c;},Oe=(_0x42c9da,_0x3dbe78)=>(_0x35d03d,_0x48644f)=>_0x3dbe78(_0x35d03d,_0x48644f,_0x42c9da),mn=(_0xd449fd,_0x3daae8,_0x3bbed5)=>fn(_0xd449fd,_0x3daae8+'',_0x3bbed5);const gn=_0x169260(0x173);let Ae=class extends _0x457f6b{constructor(_0x2f90ec=et,_0x458d8a,_0x2747e9,_0x2139a0){const _0x5df6b1=_0x169260;super(),this[_0x5df6b1(0x299)]=_0x2f90ec,this[_0x5df6b1(0x2d9)]=_0x458d8a,this[_0x5df6b1(0x14a)]=_0x2747e9,this[_0x5df6b1(0x127)]=_0x2139a0;const {..._0x5b6a1f}=_0x3372a0({},et,this[_0x5df6b1(0x299)]);this['_configService'][_0x5df6b1(0x14d)](Zi,_0x5b6a1f);}['onStarting'](){const _0x3097e4=_0x169260;this[_0x3097e4(0x202)](),this[_0x3097e4(0x24d)]();}[_0x169260(0x237)](){const _0x41b8c0=_0x169260;this[_0x41b8c0(0x28c)]();}[_0x169260(0x202)](){const _0x4799d2=_0x169260;var _0x407377;const _0x12806f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4142ee,{'useClass':_0x4207a8}],[_0x39cda1,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0xfe62ca(this['_injector'],_0x42a1d3(_0x12806f,(_0x407377=this[_0x4799d2(0x299)])==null?void 0x0:_0x407377[_0x4799d2(0x2a4)]));}[_0x169260(0x28c)](){const _0x27dd41=_0x169260;this[_0x27dd41(0x117)](this['_renderManagerService'][_0x27dd41(0x1b5)](_0x1711d9[_0x27dd41(0x240)],[Pe])),this[_0x27dd41(0x117)](this['_renderManagerService']['registerRenderModule'](_0x1711d9['UNIVER_SHEET'],[Le]));}['_initDependencies'](){const _0x507e65=_0x169260;_0x1253e6(this[_0x507e65(0x14a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0xfdc08d(_0x38e070),Oe(0x1,_0x33bfdb),Oe(0x2,_0x110a3(_0x55019c)),Oe(0x3,_0x165f03)],Ae);var In=Object[_0x169260(0x27d)],vn=(_0x2d51f0,_0x12fd9d,_0x5aba5e,_0x290b4d)=>{const _0x4a38af=_0x169260;for(var _0x333d25=_0x290b4d>0x1?void 0x0:_0x290b4d?In(_0x12fd9d,_0x5aba5e):_0x12fd9d,_0x456b81=_0x2d51f0[_0x4a38af(0x23b)]-0x1,_0x227705;_0x456b81>=0x0;_0x456b81--)(_0x227705=_0x2d51f0[_0x456b81])&&(_0x333d25=_0x227705(_0x333d25)||_0x333d25);return _0x333d25;},K=(_0x4c3d0b,_0xcebd61)=>(_0x15b7d5,_0x3386a7)=>_0xcebd61(_0x15b7d5,_0x3386a7,_0x4c3d0b);let st=class extends _0xac514c{constructor(_0x3dde67,_0x12fef6,_0x15e051,_0x308850,_0x4eb973){super(_0x3dde67,_0x12fef6,_0x15e051,_0x308850,_0x4eb973);}async[_0x169260(0x22b)](_0x286a1b){const _0xa8ce53=_0x169260,_0x21c18b=await this['_getSessionTicket'](),_0x140c4e=this[_0xa8ce53(0x1be)](_0x286a1b,_0x21c18b);return this['_doCreateSocket'](_0x140c4e);}['_createSocketURL'](_0x1c1240,_0x5335c7){const _0x3e263b=_0x169260,_0x46142d=typeof window>'u'?new URL(_0x1c1240):new URL(_0x1c1240,window[_0x3e263b(0x22f)][_0x3e263b(0x2c5)]);_0x46142d[_0x3e263b(0xf6)][_0x3e263b(0x114)]('sessionTicket',_0x5335c7);const _0x197cf3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3e263b(0x22f)][_0x3e263b(0x207)]);return _0x197cf3['get'](_0x3e263b(0x2a6))&&_0x46142d['searchParams'][_0x3e263b(0x114)](_0x3e263b(0x2a6),_0x197cf3['get'](_0x3e263b(0x2a6))),_0x46142d['toString']();}async['_getSessionTicket'](){const _0x29a5cf=_0x169260;var _0x194c0f,_0x5c131b,_0xcf931a;const _0x1c9cb7=this[_0x29a5cf(0x127)][_0x29a5cf(0x2be)](_0xd4284e),_0x1f2717=(_0x194c0f=_0x1c9cb7==null?void 0x0:_0x1c9cb7[_0x29a5cf(0x113)])!=null?_0x194c0f:_0x4139eb;return(_0xcf931a=(_0x5c131b=(await this['_httpService'][_0x29a5cf(0xf1)](_0x1f2717,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5c131b[_0x29a5cf(0x153)])!=null?_0xcf931a:'';}};st=vn([K(0x0,_0x110a3(_0x55019c)),K(0x1,_0x110a3(_0x139675)),K(0x2,_0x165f03),K(0x3,_0x2bf776),K(0x4,_0x2798ee)],st);const it=0x7530,nt=_0x169260(0x261);function _0xc20a(){const _0xdee6c6=['size','WECHAT_HAS_BEEN_BOUND','_logService','color','_scheduleHeartbeat','_eventUnsubscribe','registerRefRange','UNRECOGNIZED','with','YUUMI_ALL_TABLES_IS_INVALID','APPLY_REJECT','endColumn','_docTransformStateCacheService','OFFLINE','attrs','subunit','_refRangeService','registerRenderModule','hovered','transformMutationsWithChangeset','translate(.97)','_disabled','[CollaborationDataLoaderController]','getColorFromTheme','univer-flex\x20univer-mr-2\x20univer-text-xl','popstate','_createSocketURL','SNAPSHOT_HAS_BEEN_REMOVED','parse','flatMap','LICENSE_IMPORT_SIZE_EXCEEDED','replaceDocRanges','NOT_COLLAB','_drawTextRange','_collaborationUIEventService','RemoveColCommandId','newValue','save','trim','history','sheetID','VIEW_MAIN','url(#$1','_updateCollabCursors','svg','map','doc.mutation.rich-text-editing','InsertRowCommandId','_hovered','next','INVITE_CODE_HAS_BEEN_UES','_docSkeletonManagerService','m1Prime','closePath','send','clearInterval','_scheduleClearOtherTimer','_initStatusComponent','_shapes','_getSheetObject','getMergeData','data','imageSourceType','_handleJoinEvent','_render','OTHER_CLIENTS_EDITING','delete','_onCursorUpdate','currentColor','pipe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_collabCursorController','sessionStatus$','AWAITING','getRangePointData','disposeUnit','unitId','_entityInit$','subscribeEvent','_startSheetCollabCursor','436074oDrUqG','_name','_toggleOffline','type','INVALID_ARGUMENT','_transformUndoRedoStack','_beforeCloseService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_handleEvent','collabStatus.fetchMiss','memberID','getAncestorScale','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','stringify','_registerDependencies','top','_online','unshift','INTERNAL_ERROR','search','apply','getCollabCursors$','_labelPosition','find','values','pushState','Warning','getTypeOfUnitAdded$','clipPath','Unknown\x20user','SOCKET_FAILED_RETRY','storage','sheetId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','concat','_docStateChangeManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','indexOf','APPLY_NON_SEQUENTIAL_REVISION','USERS_LEAVE','permission.title','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onPointerLeave$','_localeService','moveTo','univer-flex\x20univer-items-center','_selfUnitIDs','391810ixxDpI','split','_cursorInfo$','executeCommand','getItem','_roomMembers$','COMPLETION_FINISHED','UPDATE_CURSOR','createSocket','activeSheet$','_sheetSkeletonManagerService','key','location','onTransformChange$','transform','getUnitId','getValue','row','generateRandomId','416080noREdJ','onRendered','div','_cursor','_init','length','YUUMI_SUBSCRIPTION_NOT_FOUND','init','off-line-single','name','UNIVER_DOC','_unitOnClients','ONLINE','_onRefRangeChange','collaboration.closeRoom','_status$','unsubscribe','collab-text-range-','xlink:href','_ensureSubject','cursorInfo$','collab-client.tooltip.reconnect','makeDirty','_initDependencies','currentTheme$','complete','YUUMI_UNABLE_LOAD_URL','subscribe','lineTo','black','PY_RUNTIME_SCRIPT_ERROR','/run/','addObjects','docStateChange$','event$','getViewport','AWAITING_WITH_PENDING','_commandService','from','LICENSE_EXPORT_SIZE_EXCEEDED','children','_transformService','OTHER_CLIENT_EDITING','ACTIVE_UNIT_EVENT_CHANNEL','_setupSubUnitSync','getMemberID','RECT','_updateLocalCursor','_themeService','_cachedData','isArray','_hover','roomMembers','UNAUTHENTICATED','result','_docSyncEditingCollabCursorService','restore','addHandlerCallback','InsertRangeMoveRightCommandId','idSuffix','unit','extend','show','_anchorDot','getCurrentRevOfUnit','yellow.400','[RemoteUniscriptService]:\x20no\x20focused\x20unit','push','entries','call','getDocRanges','getOwnPropertyDescriptor','M0\x200H16V16H0z','disableLocalCache','some','_range','urlChange$','getUnhiddenWorksheets','font','reconnect','UniverIcon','setStateCache','mutations','_getAnchorBounding','undoState','_id','_registerRenderDependencies','startsWith','_entities','url(#on-line-single_clip0_910_349)','36LKMuvc','ENSURE_SNAPSHOT_EXECUTION','saveTaskMap','prototype','params','_onCursorDelete','_cursors','MOBILE_HAS_BEEN_BOUND','assignAColorForMemberID','_config','replace','_urlService','body','_textBubble','getRenderById','_draw','_drawRectRange','_uiPartsService','APPLY_REVISION_CONFILICT','off-line-single_clip0_910_343','override','tag','runId','INVITE_CODE_ALREADY_BOUND','transformIMECache','className','getCurrent','saveOfflineData','_initEvent','arc','1IXhcpg','session.collaboration-timeout','_collabCursorState$','_localCacheService','updateOfflineData','getOwnPropertySymbols','createInstance','add','random','OnLineSingle','YUUMI_URL_COL_OUT_OF_RANGE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onCommandExecuted','#FFF','Failed','getSheetBySheetId','getConfig','error','textRanges','setTimeout','24CBWBSh','collab-text-anchor-','_saveCache','origin','drawWith','_anchor','CONFLICT','_session','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','status$','univerjs-icon\x20univerjs-icon-','CONNECTOR_DATA_TOO_LARGE','_transformPreviousActiveRange','TOO_MANY_REQUESTS','cursorInfo','setParam','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','m2Prime','_removeCollabCursors','use','CHANGESET_REVISION_CONFILICT','toString','LOGIN_FAILED','_renderManagerService','getOffsetConfig','_messageService','text','redoState','round','getUnitStatus$','_docTransformSelectionsService','_drawAnchor','defs','triggerDblclick','_colorIndex','unload','backgroundColor','hasOwnProperty','UNDEFINED','transformByState','mask','fill','get','findNodePositionByCharIndex','4850811pMsxZs','collaboration-client-ui.config','defIds','searchParams','unitID','clearTimeout','enableLocalCache','...','JOIN_ROOM_FAILED','_heartbeatTimer','RemoveRowCommandId','_handleLeaveEvent','permission.content','_notificationService','setItem','_revisionService','_docClipboardService','transformSelections','path','roomMembers$','runOnServer','_getScale','transformStateCache','setShapeProps','getSheetId','deepClone','NOT_FOUND','_context','on-line-single_clip0_910_349','getUndoRedoMutationParamsCache','_updateSubUnitFromURLParams','replaceState','wsSessionTicketUrl','set','displayName','editingUnit','disposeWithMe','collaboration-client.offline-data-not-saved','_collaborationController','measureText','exhaustSavingTask','_unitStatus','subUnitId','propertyIsEnumerable','_color','collabStatus.syncing','_handleHeartbeatEvent','_updateURLWithCurrentState','getTypeOfUnitDisposed$','hide','_document','_getSaveTimeout','_configService','_backgroundColor','focused$','_localStorageService','width','getMember','evenodd','_removeClearOtherTimer','_scene','labelPosition','eventID','requireSession','_refreshCollabCursors','Error','whenReady','collabStatus.notCollab','9399530ZLUXpq','addEventListener','dispose$','column','getParam','PERMISSION_DENIED','collabCursorState$','APPLY_DUPLICATED','source','DeleteRangeMoveLeftCommandId','on-line-single','setAlpha','NO_OTHER_CLIENTS_EDITING','href','rgba(255,\x20255,\x20255,\x200.01)','getFocusedUnit','getUniverSheetInstance','_send','_cursorShapes','_injector','_lastPointer','fillStyle','setConfig','EMAIL_HAS_BEEN_BOUND','SYNCED','0\x200\x2017\x2016','currentSkeleton$','icon','ticket','entityInit$','symbol','addObject','engine','_collabSessionService','loadOfflineData','uni.network.url-service','fillText','3825900fgSrKT','ALREADY_EXISTS','current','InsertColCommandId','onPointerMove$','assign','transformMutation','has','syncEditingCollabCursor','defineProperty','INVITE_CODE_REQUIRED','session.connection-failed','_clearOtherTimers','_setupBeforeClosingHandler','InsertRangeMoveDownCommandId','collab-rect-range-','HEADER_MENU','getStateCache','blue.400','asObservable','_handleHover','removeParam','colorChannel1','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','#fff','SNAPSHOT_INVALID_SNAPSHOT','_colorAssignService','INVALID_INVITE_CODE','PENDING','collabStatus.offline','beginPath','string','_syncEditingCollabCursorService','LICENSE_MAX_UNITS_EXCEEDED','_scheduleSaving','_docTransformIMECacheService','1em','startColumn','_hideTimer','_toggleOnline','_saveTaskMap','_transformHistoryAndStateStack','MUTATION','height','_memberService','dispose','_initCommandExecutedListener','min','debug','transformRemoteChangeset','_imageIoService','getActiveSheet','forEach','OffLineSingle','YUUMI_ASYNCIO_CANCELLED','FromArray','1862226pLuWEu','_univerInstanceService','getCurrentSelections','_getMergeRange','url(#off-line-single_clip0_910_343)','UNIVER_SHEET','selection','then','toRgbString','getSkeleton','isEditing','getRelativeToViewportCoord','_instanceService','TEXT','_assignedColors','collabStatus.synced'];_0xc20a=function(){return _0xdee6c6;};return _0xc20a();}class jn extends _0x2dad37{constructor(){const _0x50a106=_0x169260;super(),_(this,_0x50a106(0x28b),_0x104c21()),_(this,'_selfUnitIDs',new Set()),_(this,_0x50a106(0x241),new Map()),_(this,_0x50a106(0xfc),null),_(this,_0x50a106(0x168),new Map()),_(this,_0x50a106(0x11c),new Map()),this[_0x50a106(0x23a)]();}['dispose'](){const _0x44e21c=_0x169260;super[_0x44e21c(0x189)](),this[_0x44e21c(0x168)][_0x44e21c(0x190)]((_0x4b9a74,_0x4770f5)=>this[_0x44e21c(0x12e)](_0x4770f5)),this[_0x44e21c(0xfc)]&&window[_0x44e21c(0x1db)](this[_0x44e21c(0xfc)]);}[_0x169260(0x2df)](_0x3afb36){const _0x1b2d39=_0x169260;return this['_ensureSubject'](_0x3afb36)[_0x1b2d39(0x1e9)](_0x392645());}[_0x169260(0x116)](_0x357f3d){const _0x4c33ae=_0x169260;this['_selfUnitIDs'][_0x4c33ae(0x1a4)]===0x0&&this[_0x4c33ae(0x1a8)](),this[_0x4c33ae(0x222)][_0x4c33ae(0x2b5)](_0x357f3d),this['_send']({'type':0x0,'memberID':this[_0x4c33ae(0x28b)],'unitIDs':[_0x357f3d],'isForwarded':!0x1});}[_0x169260(0x1ef)](_0x217ee6){const _0x280a2b=_0x169260;this[_0x280a2b(0x222)][_0x280a2b(0x1e6)](_0x217ee6),this[_0x280a2b(0x222)][_0x280a2b(0x1a4)]===0x0&&this[_0x280a2b(0xfc)]&&window['clearInterval'](this[_0x280a2b(0xfc)]);}['_init'](){const _0x147f45=_0x169260;this[_0x147f45(0x117)](_0x4b7e10(_0x5c0ef9(window,_0x147f45(0x213))[_0x147f45(0x251)](_0xf07461=>{const _0x234960=_0x147f45;if(_0xf07461[_0x234960(0x22e)]!==nt||!_0xf07461[_0x234960(0x1c8)])return;const _0x1c0786=JSON[_0x234960(0x1c0)](_0xf07461[_0x234960(0x1c8)]);this[_0x234960(0x1fc)](_0x1c0786);}))),window[_0x147f45(0x138)](_0x147f45(0x2e5),()=>this[_0x147f45(0x148)]({'type':0x1,'memberID':this[_0x147f45(0x28b)],'unitIDs':Array[_0x147f45(0x25c)](this[_0x147f45(0x222)])}));}[_0x169260(0x1fc)](_0x5795a1){const _0x2d931e=_0x169260;switch(_0x5795a1[_0x2d931e(0x1f7)]){case 0x0:this[_0x2d931e(0x1e3)](_0x5795a1);break;case 0x1:this[_0x2d931e(0xfe)](_0x5795a1);break;case 0x2:this['_handleHeartbeatEvent'](_0x5795a1);break;}}[_0x169260(0x1e3)](_0x20c1af){const _0x56e31a=_0x169260,{unitIDs:_0x2c5ceb,memberID:_0x1aee59,isForwarded:_0x5837d4}=_0x20c1af;_0x2c5ceb[_0x56e31a(0x190)](_0x422ac4=>{const _0x1912c0=_0x56e31a;if(!_0x5837d4&&this['_unitOnClients'][_0x1912c0(0x163)](_0x422ac4)&&this['_ensureSubject'](_0x422ac4)['next'](_0x505865[_0x1912c0(0x1e5)]),!this[_0x1912c0(0x241)][_0x1912c0(0x163)](_0x422ac4)||!this['_unitOnClients']['get'](_0x422ac4)[_0x1912c0(0x163)](_0x1aee59)){const _0x2fe12d=this[_0x1912c0(0x241)][_0x1912c0(0xf1)](_0x422ac4)||new Set();_0x2fe12d[_0x1912c0(0x2b5)](_0x1aee59),this['_unitOnClients']['set'](_0x422ac4,_0x2fe12d),this[_0x1912c0(0x1dc)](_0x1aee59);}}),_0x5837d4||this['_send']({'type':0x0,'memberID':this[_0x56e31a(0x28b)],'unitIDs':[...this[_0x56e31a(0x222)]],'isForwarded':!0x0});}[_0x169260(0x1dc)](_0x57ac7f){const _0x586e1d=_0x169260;this[_0x586e1d(0x12e)](_0x57ac7f);const _0x42f7ac=window[_0x586e1d(0x2c1)](()=>{const _0x186b7c=_0x586e1d;this[_0x186b7c(0x241)][_0x186b7c(0x190)](_0x26fe53=>{const _0x1d6d10=_0x186b7c;_0x26fe53[_0x1d6d10(0x1e6)](_0x57ac7f);});},it*0x2);this[_0x586e1d(0x168)][_0x586e1d(0x114)](_0x57ac7f,_0x42f7ac);}[_0x169260(0x12e)](_0xc54509){const _0x4540d8=_0x169260;if(this[_0x4540d8(0x168)][_0x4540d8(0x163)](_0xc54509)){const _0x191908=this['_clearOtherTimers'][_0x4540d8(0xf1)](_0xc54509);_0x191908&&window['clearTimeout'](_0x191908),this['_clearOtherTimers'][_0x4540d8(0x114)](_0xc54509,null);}}['_handleLeaveEvent'](_0xd3ca5e){const _0x1de728=_0x169260,{memberID:_0x30102a,unitIDs:_0x4c0a6c}=_0xd3ca5e;_0x4c0a6c['forEach'](_0x3dfd7b=>{const _0x85fcf3=_0x3dbd;var _0x39f05f;const _0x1dea48=this['_unitOnClients'][_0x85fcf3(0xf1)](_0x3dfd7b);_0x1dea48&&(_0x1dea48['delete'](_0x30102a),(_0x39f05f=this[_0x85fcf3(0x249)](_0x3dfd7b))==null||_0x39f05f[_0x85fcf3(0x1d5)](_0x1dea48[_0x85fcf3(0x1a4)]===0x0?_0x505865[_0x85fcf3(0x143)]:_0x505865[_0x85fcf3(0x1e5)]));}),this[_0x1de728(0x12e)](_0x30102a);}[_0x169260(0x121)](_0x8ba233){const _0x52b0d5=_0x169260;this['_scheduleClearOtherTimer'](_0x8ba233[_0x52b0d5(0x1fe)]);}[_0x169260(0x148)](_0x436400){const _0x5263be=_0x169260;localStorage[_0x5263be(0x101)](nt,JSON[_0x5263be(0x201)](_0x436400));}[_0x169260(0x1a8)](){const _0x28e310=_0x169260;this[_0x28e310(0xfc)]=window['setInterval'](()=>{const _0x181008=_0x28e310;this[_0x181008(0x148)]({'type':0x2,'memberID':this[_0x181008(0x28b)]});},it);}['_ensureSubject'](_0x256687){const _0x27e35b=_0x169260;return this[_0x27e35b(0x11c)]['has'](_0x256687)||this[_0x27e35b(0x11c)][_0x27e35b(0x114)](_0x256687,new _0x389fc0(_0x505865['NO_OTHER_CLIENTS_EDITING'])),this[_0x27e35b(0x11c)]['get'](_0x256687);}}var Mt=(_0x54006c=>(_0x54006c[_0x54006c['UNDEFINED']=0x0]=_0x169260(0x2e8),_0x54006c[_0x54006c['OK']=0x1]='OK',_0x54006c[_0x54006c[_0x169260(0x206)]=0x2]=_0x169260(0x206),_0x54006c[_0x54006c[_0x169260(0x13c)]=0x3]=_0x169260(0x13c),_0x54006c[_0x54006c[_0x169260(0x10d)]=0x4]=_0x169260(0x10d),_0x54006c[_0x54006c[_0x169260(0x26b)]=0x5]='UNAUTHENTICATED',_0x54006c[_0x54006c[_0x169260(0x15d)]=0x6]=_0x169260(0x15d),_0x54006c[_0x54006c[_0x169260(0x1f8)]=0x7]=_0x169260(0x1f8),_0x54006c[_0x54006c[_0x169260(0x2cf)]=0x8]=_0x169260(0x2cf),_0x54006c[_0x54006c[_0x169260(0x229)]=0x9]='COMPLETION_FINISHED',_0x54006c[_0x54006c[_0x169260(0x2d8)]=0xa]=_0x169260(0x2d8),_0x54006c[_0x54006c[_0x169260(0x2d6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54006c[_0x54006c[_0x169260(0x175)]=0x1771]=_0x169260(0x175),_0x54006c[_0x54006c[_0x169260(0x1bf)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54006c[_0x54006c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x169260(0x291),_0x54006c[_0x54006c[_0x169260(0x1ae)]=0x1b59]=_0x169260(0x1ae),_0x54006c[_0x54006c[_0x169260(0x21a)]=0x1b5a]=_0x169260(0x21a),_0x54006c[_0x54006c[_0x169260(0x2a2)]=0x1b5b]=_0x169260(0x2a2),_0x54006c[_0x54006c['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x54006c[_0x54006c[_0x169260(0x13e)]=0x1b5d]='APPLY_DUPLICATED',_0x54006c[_0x54006c[_0x169260(0x2cd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54006c[_0x54006c[_0x169260(0x17d)]=0x2329]=_0x169260(0x17d),_0x54006c[_0x54006c[_0x169260(0x2d2)]=0x232a]=_0x169260(0x2d2),_0x54006c[_0x54006c[_0x169260(0x1c2)]=0x232b]=_0x169260(0x1c2),_0x54006c[_0x54006c[_0x169260(0x25d)]=0x232c]=_0x169260(0x25d),_0x54006c[_0x54006c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x54006c[_0x54006c[_0x169260(0x250)]=0x2711]=_0x169260(0x250),_0x54006c[_0x54006c[_0x169260(0x2b8)]=0x2712]=_0x169260(0x2b8),_0x54006c[_0x54006c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x54006c[_0x54006c[_0x169260(0x23c)]=0x2714]=_0x169260(0x23c),_0x54006c[_0x54006c[_0x169260(0x218)]=0x271a]=_0x169260(0x218),_0x54006c[_0x54006c['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x169260(0x192),_0x54006c[_0x54006c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x169260(0x1ea),_0x54006c[_0x54006c[_0x169260(0x1ad)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x54006c[_0x54006c[_0x169260(0x215)]=0x271e]=_0x169260(0x215),_0x54006c[_0x54006c['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x54006c[_0x54006c[_0x169260(0x254)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x54006c[_0x54006c[_0x169260(0x1d6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x54006c[_0x54006c[_0x169260(0x177)]=0x2ee2]='INVALID_INVITE_CODE',_0x54006c[_0x54006c[_0x169260(0x166)]=0x2ee3]=_0x169260(0x166),_0x54006c[_0x54006c['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x54006c[_0x54006c[_0x169260(0x2a7)]=0x2ee5]=_0x169260(0x2a7),_0x54006c[_0x54006c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x169260(0x1a5),_0x54006c[_0x54006c[_0x169260(0x297)]=0x32ca]=_0x169260(0x297),_0x54006c[_0x54006c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x169260(0x14e),_0x54006c[_0x54006c[_0x169260(0x1ab)]=-0x1]=_0x169260(0x1ab),_0x54006c))(Mt||{}),pn=Object[_0x169260(0x27d)],Cn=(_0x3d8999,_0x81f86a,_0x1f0902,_0xe5e8ab)=>{const _0x3da230=_0x169260;for(var _0x3ce994=_0xe5e8ab>0x1?void 0x0:_0xe5e8ab?pn(_0x81f86a,_0x1f0902):_0x81f86a,_0x3bcadd=_0x3d8999[_0x3da230(0x23b)]-0x1,_0x3eb70f;_0x3bcadd>=0x0;_0x3bcadd--)(_0x3eb70f=_0x3d8999[_0x3bcadd])&&(_0x3ce994=_0x3eb70f(_0x3ce994)||_0x3ce994);return _0x3ce994;},be=(_0x37ca8f,_0x1c0eae)=>(_0x443496,_0x1563a5)=>_0x1c0eae(_0x443496,_0x1563a5,_0x37ca8f);let rt=class extends _0x2dad37{constructor(_0x143660,_0x332d5b,_0xa0a2ce){const _0x296893=_0x169260;super(),this[_0x296893(0x1a0)]=_0x143660,this['_httpService']=_0x332d5b,this[_0x296893(0x127)]=_0xa0a2ce;}async[_0x169260(0x107)](_0x5f08c2,_0x326d98,_0x58bf3a,..._0x560712){const _0x2756d2=_0x169260;var _0x1a656a,_0x410e48,_0x42eac5,_0x413ca8;const _0x28fcc4=this[_0x2756d2(0x1a0)]['getFocusedUnit']();if(!_0x28fcc4)throw new Error(_0x2756d2(0x278));const _0x23db9c=((_0x1a656a=this[_0x2756d2(0x127)][_0x2756d2(0x2be)](_0x483350))!=null?_0x1a656a:_0x3be7cd)+'/'+_0x5f08c2+_0x2756d2(0x255)+_0x326d98,_0x4c220f=new URL(window[_0x2756d2(0x22f)][_0x2756d2(0x144)]),_0x417096={'scriptId':_0x5f08c2,'runId':(_0x410e48=_0x4c220f[_0x2756d2(0xf6)][_0x2756d2(0xf1)]('runId'))!=null?_0x410e48:'','function':_0x326d98,'unitId':_0x28fcc4[_0x2756d2(0x232)](),'argsOfFunction':JSON['stringify'](_0x560712),'invokeId':(_0x42eac5=_0x58bf3a['invokeId'])!=null?_0x42eac5:'','executionId':(_0x413ca8=_0x58bf3a['executionId'])!=null?_0x413ca8:''};try{const _0x5528fb=await this['_httpService']['post'](_0x23db9c,{'body':_0x417096});return _0x5528fb[_0x2756d2(0x29c)][_0x2756d2(0x2bf)]&&_0x5528fb[_0x2756d2(0x29c)][_0x2756d2(0x2bf)]['code']!==Mt['OK']?_0x2756d2(0x2bc):_0x5528fb['body'][_0x2756d2(0x26c)];}catch{return _0x2756d2(0x2bc);}}};rt=Cn([be(0x0,_0x1f520f),be(0x1,_0x110a3(_0x139675)),be(0x2,_0x165f03)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x3d6112=_0xba75;(function(_0x3deec7,_0x4500f5){const _0x2851e4=_0xba75,_0x4102fd=_0x3deec7();while(!![]){try{const _0x3df094=parseInt(_0x2851e4(0x1f6))/0x1*(parseInt(_0x2851e4(0x1f8))/0x2)+parseInt(_0x2851e4(0x219))/0x3*(parseInt(_0x2851e4(0x1b9))/0x4)+parseInt(_0x2851e4(0x1c1))/0x5*(-parseInt(_0x2851e4(0xe4))/0x6)+-parseInt(_0x2851e4(0x1e6))/0x7*(parseInt(_0x2851e4(0x18b))/0x8)+-parseInt(_0x2851e4(0x24b))/0x9*(parseInt(_0x2851e4(0x10c))/0xa)+-parseInt(_0x2851e4(0x1dc))/0xb*(parseInt(_0x2851e4(0x1f7))/0xc)+parseInt(_0x2851e4(0x16d))/0xd;if(_0x3df094===_0x4500f5)break;else _0x4102fd['push'](_0x4102fd['shift']());}catch(_0x5ba2a5){_0x4102fd['push'](_0x4102fd['shift']());}}}(_0x8a48,0x7410a));var $t=Object['defineProperty'],xt=(_0x387582,_0x353e84,_0x3ab733)=>_0x353e84 in _0x387582?$t(_0x387582,_0x353e84,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ab733}):_0x387582[_0x353e84]=_0x3ab733,_=(_0x52a6ed,_0x3c3326,_0x1efa2b)=>xt(_0x52a6ed,typeof _0x3c3326!='symbol'?_0x3c3326+'':_0x3c3326,_0x1efa2b);import{MemberService as _0x5a6d39,SessionStatus as _0x3638f4,CollaborationSessionService as _0x328520,CollaborationStatus as _0x2623c5,CollaborationController as _0xaf5c2f,ILocalCacheService as _0x1fd64a,CollaborationUIEventService as _0x35fc47,CollaborationUIEventId as _0x3d558c,DataLoaderService as _0x53f527,DocCollaborationEntity as _0x53f2c4,getLocalCacheKey as _0x15bc90,LOCAL_CACHE_INTERVAL as _0x37174f,LOCAL_CACHE_INTERVAL_KEY as _0x5d2009,UniverCollaborationClientPlugin as _0x43157e,CollaborationSocketService as _0x564c51,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5de693,DEFAULT_WS_SESSION_TICKET_URL as _0x54f978,UnitStatus as _0x3ce189,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1b51fb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1c8d1d}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5b42a6,Disposable as _0x4247c1,DOC_RANGE_TYPE as _0x53b7a4,Inject as _0x377ebc,Injector as _0x18407a,IUniverInstanceService as _0x436d21,ICommandService as _0x44b6ac,debounce as _0x1e542b,Rectangle as _0x370f81,DisposableCollection as _0x1d0049,toDisposable as _0x31eaac,UniverInstanceType as _0x5eb008,Tools as _0x7a64af,COLORS as _0x683ab3,ColorKit as _0x4f87c1,ThemeService as _0x5c68ab,fromEventSubject as _0x438f83,LocaleService as _0x3a12f7,createIdentifier as _0x368a83,ILogService as _0x1bb699,Optional as _0xf1a2cb,Workbook as _0x1c502f,CommandType as _0x1245ed,IConfigService as _0x2d2e8c,ILocalStorageService as _0x37d46a,DependentOn as _0x3fce1a,Plugin as _0x32746a,merge as _0x5beda5,registerDependencies as _0x3d2f0e,mergeOverrideWithDependencies as _0x8ac12e,touchDependencies as _0x1ca206,generateRandomId as _0x4a3ad7}from'@univerjs/core';import{Shape as _0x136101,Rect as _0x1bf7c5,getColor as _0x35b1a7,RegularPolygon as _0xd54ccf,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x24fbf9,Vector2 as _0x4959ee,SHEET_VIEWPORT_KEY as _0x5ed4de,IRenderManagerService as _0x1be675}from'@univerjs/engine-render';import{ISocketService as _0x22f0b6,WebSocketService as _0x3f9aec,HTTPService as _0x5229c9}from'@univerjs/network';import{IDocClipboardService as _0xec2e55,NodePositionConvertToCursor as _0x5235e8,NodePositionConvertToRectRange as _0x1479c6,TEXT_RANGE_LAYER_INDEX as _0x2a3be8,SetDocZoomRatioOperation as _0x29ce9a,DocIMEInputManagerService as _0x5d4131,DocStateChangeManagerService as _0x29c109}from'@univerjs/docs-ui';import{IImageIoService as _0x3a1d2c}from'@univerjs/drawing';import{BehaviorSubject as _0x5c61df,debounceTime as _0x30c296,takeUntil as _0x972255,Subject as _0x251050,filter as _0x39a0fd,switchMap as _0x4bddf2,merge as _0x42d744,combineLatest as _0x222edd,of as _0x4d0dc1,fromEvent as _0x5431f8,shareReplay as _0x1444bd,mapTo as _0x36569d,distinctUntilChanged as _0x484b49}from'rxjs';import{SetTextSelectionsOperation as _0x5331e6,RichTextEditingMutation as _0x20fe79,DocSelectionManagerService as _0x26f622,DocSkeletonManagerService as _0x422ab9}from'@univerjs/docs';import{ITransformService as _0x4161cd,CollaborationEvent as _0xf9e934,isTransformMutationFailure as _0x1c1a14,isTransformMutationsWithChangesetSuccess as _0x43ef65,RevisionService as _0x560d08,ISnapshotServerService as _0x5434b9}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x525acb,serializeRangeWithSheet as _0x2f3b51}from'@univerjs/engine-formula';import{RefRangeService as _0x3e2d86,SetSelectionsOperation as _0x293b88,SheetsSelectionsService as _0x2cecbb,EffectRefRangId as _0x24ea6a,handleIRemoveRow as _0x27a93b,handleIRemoveCol as _0x3e5535,handleMoveRange as _0x1e2860,handleInsertRow as _0x163d93,handleInsertRangeMoveRight as _0x3d15dc,handleInsertRangeMoveDown as _0x310ec3,handleInsertCol as _0x2e7a9d,handleDeleteRangeMoveUp as _0x35e492,handleDeleteRangeMoveLeft as _0x2bd2bd,runRefRangeMutations as _0x485e03,SetWorksheetActivateCommand as _0x11858c}from'@univerjs/sheets';import{map as _0x175771,filter as _0x419324,throttleTime as _0x133089,takeUntil as _0x7c48e4,switchMap as _0x5ef9b7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x411135,getCoordByCell as _0x44fd03,getSheetObject as _0x4d69f5}from'@univerjs/sheets-ui';import{jsx as _0x234927,jsxs as _0x3e1077}from'react/jsx-runtime';import{useObservable as _0x2c5955,useDependency as _0x3b18fa,IUIPartsService as _0x552950,BuiltInUIPart as _0xf598a1,connectInjector as _0x37825b,IBeforeCloseService as _0x31ff70,IMessageService as _0x2c7eb3,INotificationService as _0x57ba6d}from'@univerjs/ui';import{Tooltip as _0x1db6c5,clsx as _0x437ed7,MessageType as _0x54d06f}from'@univerjs/design';import{forwardRef as _0x10e9ab,useRef as _0x238a25,createElement as _0x571cf1,useCallback as _0xd3b2d5}from'react';import{IRemoteInstanceService as _0x21401e}from'@univerjs/rpc';var ci=Object[_0x3d6112(0xad)],li=(_0xbfb0d7,_0x3af9da,_0x3726d7,_0x4d7c57)=>{const _0x14c69e=_0x3d6112;for(var _0x443521=_0x4d7c57>0x1?void 0x0:_0x4d7c57?ci(_0x3af9da,_0x3726d7):_0x3af9da,_0x23046e=_0xbfb0d7[_0x14c69e(0x1e9)]-0x1,_0x529df4;_0x23046e>=0x0;_0x23046e--)(_0x529df4=_0xbfb0d7[_0x23046e])&&(_0x443521=_0x529df4(_0x443521)||_0x443521);return _0x443521;},Je=(_0x6e84a8,_0x386f9e)=>(_0x5a7eb2,_0x36a56a)=>_0x386f9e(_0x5a7eb2,_0x36a56a,_0x6e84a8);function _0xba75(_0x22f897,_0x10ede1){const _0x8a48bd=_0x8a48();return _0xba75=function(_0xba7515,_0x57f216){_0xba7515=_0xba7515-0x7c;let _0x149515=_0x8a48bd[_0xba7515];return _0x149515;},_0xba75(_0x22f897,_0x10ede1);}let Ne=class extends _0x5b42a6{constructor(_0x1c3529,_0x5e9f2b){const _0x5092d3=_0x3d6112;super(),this[_0x5092d3(0x16f)]=_0x1c3529,this[_0x5092d3(0x265)]=_0x5e9f2b,this[_0x5092d3(0x170)]();}['_init'](){const _0x5a95cf=_0x3d6112,_0x524694=this;this[_0x5a95cf(0x121)](this[_0x5a95cf(0x16f)]['addClipboardHook']({'onBeforePasteImage':async _0x4ec6d4=>{const _0x217437=_0x5a95cf,_0x371319=await _0x524694['_imageIoService']['saveImage'](_0x4ec6d4);return _0x371319?{'source':_0x371319[_0x217437(0x25f)],'imageSourceType':_0x371319[_0x217437(0xce)]}:null;}}));}};Ne=li([Je(0x0,_0xec2e55),Je(0x1,_0x3a1d2c)],Ne);const Ze=['purple.300',_0x3d6112(0x85),_0x3d6112(0x1aa),_0x3d6112(0x229),_0x3d6112(0x134),'yellow.400'];class ke extends _0x4247c1{constructor(){const _0x190cdf=_0x3d6112;super(...arguments),_(this,_0x190cdf(0xd7),new Map()),_(this,_0x190cdf(0x234),0x0);}['assignAColorForMemberID'](_0x58efe5){const _0x25b3bb=_0x3d6112;if(this[_0x25b3bb(0xd7)][_0x25b3bb(0x174)](_0x58efe5))return this['_assignedColors'][_0x25b3bb(0xd8)](_0x58efe5);const _0x554db4=Ze[this[_0x25b3bb(0x234)]];return this['_colorIndex']=(this[_0x25b3bb(0x234)]+0x1)%Ze['length'],this['_assignedColors'][_0x25b3bb(0x12b)](_0x58efe5,_0x554db4),_0x554db4;}}function Tt(_0x589a94){const _0x1a150e=_0x3d6112;let _0x10264c='';for(const _0x5e2fea of _0x589a94){const {startOffset:_0x2e85d9,endOffset:_0x1529e4,isActive:_0x38b385,rangeType:_0x37a78b,segmentId:_0x118f4f,segmentPage:_0x2feda9}=_0x5e2fea;_0x10264c[_0x1a150e(0x1e9)]&&(_0x10264c+=','),_0x10264c+=_0x2e85d9+':'+_0x1529e4+':'+(_0x38b385?'1':'0')+':'+_0x37a78b+':'+_0x118f4f+':'+_0x2feda9;}return _0x10264c;}function _i(_0x3c2be5){const _0x55ff69=_0x3d6112,_0x2f6eaa=_0x3c2be5[_0x55ff69(0x173)](','),_0x52c98c=[];for(const _0x1e61c5 of _0x2f6eaa){const [_0x36030b,_0x4f8182,_0x3735ea,_0x15c195,_0x2357c6,_0x17fb29]=_0x1e61c5[_0x55ff69(0x173)](':');_0x52c98c[_0x55ff69(0x112)]({'startOffset':Number(_0x36030b),'endOffset':Number(_0x4f8182),'collapsed':_0x36030b===_0x4f8182,'isActive':_0x3735ea==='1','rangeType':_0x15c195===_0x53b7a4['TEXT']?_0x53b7a4[_0x55ff69(0x105)]:_0x53b7a4[_0x55ff69(0x24c)],'segmentId':typeof _0x2357c6==_0x55ff69(0x215)?String(_0x2357c6):'','segmentPage':Number(_0x17fb29!=null?_0x17fb29:-0x1)});}return _0x52c98c[_0x55ff69(0xba)](_0x3bab18=>_0x3bab18[_0x55ff69(0x266)])||(_0x52c98c[0x0][_0x55ff69(0x266)]=!0x0),_0x52c98c;}class He extends _0x5b42a6{constructor(){const _0x5d6b60=_0x3d6112;super(...arguments),_(this,_0x5d6b60(0xd1),new _0x5c61df(null)),_(this,_0x5d6b60(0x255),this[_0x5d6b60(0xd1)]['asObservable']());}[_0x3d6112(0x193)](_0x2856fe){const _0x361dea=_0x3d6112,{unitID:_0xc61ee5,memberID:_0x4d83ec,textRanges:_0x15191e}=_0x2856fe,_0xb0aa70=Tt(_0x15191e);if(_0xb0aa70==='')return;const _0x44cbd1={'unitID':_0xc61ee5,'memberID':_0x4d83ec,'selection':_0xb0aa70};this[_0x361dea(0xd1)][_0x361dea(0x260)](_0x44cbd1);}}var hi=Object[_0x3d6112(0xad)],ui=(_0x2bf694,_0x199756,_0x3221e0,_0x45a9fc)=>{const _0x1fa249=_0x3d6112;for(var _0x3b042b=_0x45a9fc>0x1?void 0x0:_0x45a9fc?hi(_0x199756,_0x3221e0):_0x199756,_0x37a970=_0x2bf694[_0x1fa249(0x1e9)]-0x1,_0x473cdd;_0x37a970>=0x0;_0x37a970--)(_0x473cdd=_0x2bf694[_0x37a970])&&(_0x3b042b=_0x473cdd(_0x3b042b)||_0x3b042b);return _0x3b042b;},L=(_0x169cc4,_0x3550aa)=>(_0x51de7f,_0x423764)=>_0x3550aa(_0x51de7f,_0x423764,_0x169cc4);const di=0x12c,fi=0x64;let Ue=class extends _0x5b42a6{constructor(_0x4f3cfe,_0x2ccf81,_0x35e665,_0x5c6f4e,_0x102771,_0x2b7a6f,_0x21b3e5,_0x244809,_0x5d6545){const _0x2921cc=_0x3d6112;super(),_(this,_0x2921cc(0x19e),!0x1),_(this,'_init',!0x1),_(this,_0x2921cc(0xa2),new _0x5c61df(new Map())),_(this,_0x2921cc(0x26d),this['_cursorInfo$'][_0x2921cc(0x1b2)]()),_(this,_0x2921cc(0x1c6),new _0x5c61df([])),_(this,_0x2921cc(0xe6),this[_0x2921cc(0x1c6)][_0x2921cc(0x1b4)](_0x30c296(di))),_(this,_0x2921cc(0x92),_0x1e542b(_0x39d854=>{const _0x93e4dd=_0x2921cc,_0x3999c7={'eventID':_0xf9e934[_0x93e4dd(0x1d8)],'data':{'unitID':this[_0x93e4dd(0x155)],'memberID':this[_0x93e4dd(0x204)][_0x93e4dd(0x95)](),'selection':Tt(_0x39d854)}};this[_0x93e4dd(0x204)]['send'](_0x3999c7,this[_0x93e4dd(0x155)]);},fi)),(this[_0x2921cc(0x155)]=_0x4f3cfe,this['_session']=_0x2ccf81,this[_0x2921cc(0xe5)]=_0x35e665,this['_colorAssignService']=_0x5c6f4e,this['_memberService']=_0x102771,this[_0x2921cc(0x1df)]=_0x2b7a6f,this[_0x2921cc(0xb5)]=_0x21b3e5,this['_univerInstanceService']=_0x244809,this[_0x2921cc(0xf1)]=_0x5d6545);}get['cursorInfo'](){const _0x2dbf10=_0x3d6112;return this[_0x2dbf10(0xa2)][_0x2dbf10(0xa3)]();}get[_0x3d6112(0x209)](){const _0xdcaa0b=_0x3d6112;return this['_roomMembers$'][_0xdcaa0b(0xa3)]();}[_0x3d6112(0xa7)](){const _0x4806d9=_0x3d6112;super[_0x4806d9(0xa7)](),this[_0x4806d9(0xa2)][_0x4806d9(0x260)](new Map()),this[_0x4806d9(0xa2)][_0x4806d9(0x26b)](),this[_0x4806d9(0x1c6)][_0x4806d9(0x260)]([]),this['_roomMembers$'][_0x4806d9(0x26b)]();}[_0x3d6112(0x180)](){const _0x1d450c=_0x3d6112;this[_0x1d450c(0x170)]||(this[_0x1d450c(0x170)]=!0x0,this[_0x1d450c(0x204)][_0x1d450c(0xa6)]['pipe'](_0x972255(this[_0x1d450c(0x1ba)]))['subscribe'](_0x48bda=>{const _0x554a6d=_0x1d450c;_0x48bda===_0x3638f4[_0x554a6d(0x15c)]?this['_toggleOnline']():this[_0x554a6d(0xf2)]();}),this[_0x1d450c(0x204)][_0x1d450c(0x1da)][_0x1d450c(0x1b4)](_0x972255(this['dispose$']))[_0x1d450c(0xf5)](_0x1f5a28=>{const _0x5cc240=_0x1d450c,_0x56d12b=_0x1f5a28[_0x5cc240(0x20c)];_0x56d12b===_0xf9e934[_0x5cc240(0x1d8)]&&this[_0x5cc240(0x91)](_0x1f5a28),_0x56d12b===_0xf9e934[_0x5cc240(0x17c)]&&this[_0x5cc240(0x189)](_0x1f5a28);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x270094=>{const _0x3d04b2=_0x1d450c,_0xffd941=_0x270094[_0x3d04b2(0x96)];_0xffd941!=null&&this['_online']&&_0x270094['id']===_0x5331e6['id']&&_0xffd941['unitId']===this['unitID']&&_0xffd941[_0x3d04b2(0xdf)]===!0x1&&_0xffd941[_0x3d04b2(0x227)]['length']>0x0&&this['_updateLocalCursor'](_0xffd941[_0x3d04b2(0x227)]);})),this[_0x1d450c(0x1df)][_0x1d450c(0x255)][_0x1d450c(0x1b4)](_0x972255(this[_0x1d450c(0x1ba)]))[_0x1d450c(0xf5)](_0x4e839d=>{const _0x435ab2=_0x1d450c;if((_0x4e839d==null?void 0x0:_0x4e839d[_0x435ab2(0x155)])!==this[_0x435ab2(0x155)])return;const _0xd3eb8e={'eventID':_0xf9e934[_0x435ab2(0x1d8)],'data':_0x4e839d};this[_0x435ab2(0x91)](_0xd3eb8e);}),this[_0x1d450c(0x121)](this[_0x1d450c(0xf1)][_0x1d450c(0x258)](_0x36c2ec=>{const _0xd060dd=_0x1d450c;if(_0x36c2ec['params']==null)return;const _0x5afab1=_0x36c2ec[_0xd060dd(0x96)];if(_0x36c2ec['id']!==_0x20fe79['id']||_0x5afab1['unitId']!==this[_0xd060dd(0x155)])return;const _0x5b2a2f={'id':_0xd060dd(0x1b8),'params':_0x5afab1},_0x41dda6=this['cursorInfo'];for(const [_0x539981,_0x51a4c7]of _0x41dda6){const _0x2543b0={'id':_0xd060dd(0x1b8),'params':{'unitId':this[_0xd060dd(0x155)],'actions':null,'textRanges':_0x51a4c7[_0xd060dd(0x227)]}},_0x1f3f20=this[_0xd060dd(0xb5)][_0xd060dd(0x1fb)](_0x5b2a2f,_0x2543b0,!0x1);if(_0x1c1a14(_0x1f3f20))throw _0x1f3f20[_0xd060dd(0xa5)];_0x41dda6[_0xd060dd(0x12b)](_0x539981,{..._0x51a4c7,'ranges':_0x1f3f20['m2Prime'][_0xd060dd(0x96)][_0xd060dd(0x151)]});}queueMicrotask(()=>{const _0x53fbb4=_0xd060dd;this['_cursorInfo$'][_0x53fbb4(0x260)](_0x41dda6);});})));}[_0x3d6112(0x91)](_0x584079){const _0x3a27=_0x3d6112;var _0xe94f8c,_0x2053c7;const {memberID:_0x11a6df,selection:_0x5e9023}=_0x584079[_0x3a27(0x276)],_0xd22b48=_i(_0x5e9023),_0x1d77fd=(_0x2053c7=(_0xe94f8c=this[_0x3a27(0x25e)][_0x3a27(0x247)](this[_0x3a27(0x155)],_0x11a6df))==null?void 0x0:_0xe94f8c[_0x3a27(0xac)])!=null?_0x2053c7:_0x3a27(0x1cf),_0x30876a={'color':this[_0x3a27(0x1cb)][_0x3a27(0x241)](_0x11a6df),'name':_0x1d77fd,'ranges':_0xd22b48},_0x163e99=this[_0x3a27(0x139)];_0x163e99[_0x3a27(0x12b)](_0x11a6df,_0x30876a),this[_0x3a27(0xa2)][_0x3a27(0x260)](_0x163e99);}[_0x3d6112(0x189)](_0x3fa867){const _0x569f0f=_0x3d6112,{memberID:_0x1784fb}=_0x3fa867[_0x569f0f(0x276)],_0x33b675=this['cursorInfo'];_0x33b675[_0x569f0f(0x22f)](_0x1784fb),this[_0x569f0f(0xa2)][_0x569f0f(0x260)](_0x33b675);}[_0x3d6112(0x13b)](){const _0x4c3e05=_0x3d6112;var _0x2a04f3;if(this[_0x4c3e05(0x19e)]=!0x0,((_0x2a04f3=this[_0x4c3e05(0x168)][_0x4c3e05(0x221)]())==null?void 0x0:_0x2a04f3[_0x4c3e05(0x10d)]())!==this[_0x4c3e05(0x155)])return;const _0x58df06=this[_0x4c3e05(0xe5)][_0x4c3e05(0xd8)](_0x26f622)['getDocRanges']();Array['isArray'](_0x58df06)&&_0x58df06[_0x4c3e05(0x1e9)]>0x0&&this['_updateLocalCursor'](_0x58df06);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x377ebc(_0x18407a)),L(0x3,_0x377ebc(ke)),L(0x4,_0x377ebc(_0x5a6d39)),L(0x5,_0x377ebc(He)),L(0x6,_0x4161cd),L(0x7,_0x436d21),L(0x8,_0x44b6ac)],Ue);var Si=Object[_0x3d6112(0xad)],mi=(_0x4bcacb,_0x464faf,_0x70856b,_0x39ae15)=>{for(var _0x4603ef=_0x39ae15>0x1?void 0x0:_0x39ae15?Si(_0x464faf,_0x70856b):_0x464faf,_0x42e5e0=_0x4bcacb['length']-0x1,_0x167794;_0x42e5e0>=0x0;_0x42e5e0--)(_0x167794=_0x4bcacb[_0x42e5e0])&&(_0x4603ef=_0x167794(_0x4603ef)||_0x4603ef);return _0x4603ef;},x=(_0x4e4ed8,_0x3b5b42)=>(_0x440d63,_0x3fac6a)=>_0x3b5b42(_0x440d63,_0x3fac6a,_0x4e4ed8);const gi=0x12c,Ii=0x64,vi=()=>{let _0x25d20e=[],_0x54c9ec=!0x1;return _0x55b4c1=>{const _0x4f3ae4=_0xba75;_0x25d20e[_0x4f3ae4(0x112)](_0x55b4c1),_0x54c9ec||(_0x54c9ec=!0x0,setTimeout(()=>{const _0x20154f=_0x4f3ae4;_0x25d20e[_0x20154f(0xf7)](_0x13dd6c=>_0x13dd6c()),_0x25d20e=[],_0x54c9ec=!0x1;}));};};let Me=class extends _0x5b42a6{constructor(_0x1a9a86,_0x1dbaa4,_0x27630e,_0x3b8647,_0x42438d,_0x1b1b4b,_0x483faf,_0x1bc5d7){const _0x14bf23=_0x3d6112;super(),_(this,_0x14bf23(0x19e),!0x1),_(this,_0x14bf23(0x170),!0x1),_(this,_0x14bf23(0xa2),new _0x5c61df(new Map())),_(this,_0x14bf23(0x26d),this['_cursorInfo$'][_0x14bf23(0x1b2)]()),_(this,_0x14bf23(0x1c6),new _0x5c61df([])),_(this,'roomMembers$',this[_0x14bf23(0x1c6)]['pipe'](_0x30c296(gi))),_(this,_0x14bf23(0x92),_0x1e542b((_0x4d8491,_0x475a44)=>{const _0x580ff2=_0x14bf23,_0xe352eb={'eventID':_0xf9e934[_0x580ff2(0x1d8)],'data':{'unitID':this[_0x580ff2(0x155)],'memberID':this[_0x580ff2(0x204)][_0x580ff2(0x95)](),'selection':_0x2f3b51(_0x4d8491,_0x475a44[_0x580ff2(0x13d)])}};this['_session'][_0x580ff2(0x129)](_0xe352eb,this[_0x580ff2(0x155)]);},Ii)),(this[_0x14bf23(0x155)]=_0x1a9a86,this[_0x14bf23(0x204)]=_0x1dbaa4,this[_0x14bf23(0xe5)]=_0x27630e,this['_colorAssignService']=_0x3b8647,this[_0x14bf23(0x25e)]=_0x42438d,this['_univerInstanceService']=_0x1b1b4b,this[_0x14bf23(0xf1)]=_0x483faf,this['_refRangeService']=_0x1bc5d7);}get[_0x3d6112(0x139)](){const _0x21c76b=_0x3d6112;return this[_0x21c76b(0xa2)][_0x21c76b(0xa3)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x3d6112(0xa7)](){const _0x45a9c5=_0x3d6112;super['dispose'](),this[_0x45a9c5(0xa2)][_0x45a9c5(0x260)](new Map()),this[_0x45a9c5(0xa2)][_0x45a9c5(0x26b)](),this[_0x45a9c5(0x1c6)]['next']([]),this[_0x45a9c5(0x1c6)][_0x45a9c5(0x26b)]();}[_0x3d6112(0x180)](){const _0x22ac7b=_0x3d6112;this[_0x22ac7b(0x170)]||(this[_0x22ac7b(0x170)]=!0x0,this[_0x22ac7b(0x204)][_0x22ac7b(0xa6)]['pipe'](_0x972255(this[_0x22ac7b(0x1ba)]))['subscribe'](_0x4afa8a=>{const _0x5dcdaa=_0x22ac7b;_0x4afa8a===_0x3638f4['ONLINE']?this['_toggleOnline']():this[_0x5dcdaa(0xf2)]();}),this[_0x22ac7b(0x204)]['event$'][_0x22ac7b(0x1b4)](_0x972255(this[_0x22ac7b(0x1ba)]))[_0x22ac7b(0xf5)](_0x1e4cf7=>{const _0x573681=_0x22ac7b,_0x10aa2a=_0x1e4cf7[_0x573681(0x20c)];_0x10aa2a===_0xf9e934['UPDATE_CURSOR']&&this[_0x573681(0x91)](_0x1e4cf7),_0x10aa2a===_0xf9e934[_0x573681(0x17c)]&&this[_0x573681(0x189)](_0x1e4cf7);}),this[_0x22ac7b(0x238)](),this[_0x22ac7b(0x121)](this['_commandService'][_0x22ac7b(0x258)](_0x543639=>{const _0x23bffe=_0x22ac7b;if(this[_0x23bffe(0x19e)]&&_0x543639['id']===_0x293b88['id']&&_0x543639[_0x23bffe(0x96)][_0x23bffe(0x9f)]===this[_0x23bffe(0x155)]){const _0xfb9eb8=_0x543639[_0x23bffe(0x96)];this['_updateLocalCursor'](_0xfb9eb8[_0x23bffe(0x142)],_0xfb9eb8[_0x23bffe(0x111)][0x0]);}})));}[_0x3d6112(0x91)](_0x209952){const _0x3ea290=_0x3d6112;var _0x322d6d,_0x347c00;const {memberID:_0x494ef6,selection:_0x68ed5}=_0x209952[_0x3ea290(0x276)],{sheetName:_0x3a2df7,range:_0x27859c}=_0x525acb(_0x68ed5),_0x2273d4={'name':(_0x347c00=(_0x322d6d=this['_memberService'][_0x3ea290(0x247)](this[_0x3ea290(0x155)],_0x494ef6))==null?void 0x0:_0x322d6d[_0x3ea290(0xac)])!=null?_0x347c00:_0x3ea290(0x1cf),'range':this['_getMergeRange'](_0x3a2df7,_0x27859c),'sheetID':_0x3a2df7,'color':this[_0x3ea290(0x1cb)]['assignAColorForMemberID'](_0x494ef6),'selection':_0x68ed5},_0x3bc4a0=this[_0x3ea290(0x139)];_0x3bc4a0[_0x3ea290(0x12b)](_0x494ef6,_0x2273d4),this[_0x3ea290(0xa2)][_0x3ea290(0x260)](_0x3bc4a0);}[_0x3d6112(0x189)](_0x1cf2b1){const _0x3ac9ab=_0x3d6112,{memberID:_0x439ca9}=_0x1cf2b1[_0x3ac9ab(0x276)],_0x2f68f3=this[_0x3ac9ab(0x139)];_0x2f68f3[_0x3ac9ab(0x22f)](_0x439ca9),this[_0x3ac9ab(0xa2)][_0x3ac9ab(0x260)](_0x2f68f3);}['_getMergeRange'](_0x41abe8,_0x49cae2){const _0xfc8956=_0x3d6112;var _0x1b0ed6,_0x3b064a;const _0x533083=(_0x3b064a=(_0x1b0ed6=this['_univerInstanceService']['getUniverSheetInstance'](this[_0xfc8956(0x155)]))==null?void 0x0:_0x1b0ed6['getSheetBySheetId'](_0x41abe8))==null?void 0x0:_0x3b064a['getMergeData']();return(_0x533083==null?void 0x0:_0x533083[_0xfc8956(0xc6)](_0x141a74=>_0x370f81[_0xfc8956(0x18c)](_0x141a74,_0x49cae2)))||_0x49cae2;}[_0x3d6112(0x238)](){const _0x497867=_0x3d6112,_0x16fed3=new _0x1d0049(),_0x1c01cc=vi(),_0x37feb8=()=>{const _0x4c7301=_0xba75;_0x16fed3[_0x4c7301(0xa7)]();const _0x1a1bd9=(_0xfbffee,_0x31ab7e,_0x161bee,_0x2ee0e6)=>{const _0x588417=_0x4c7301;let _0x42eaeb=[];switch(_0xfbffee['id']){case _0x24ea6a['DeleteRangeMoveLeftCommandId']:{_0x42eaeb=_0x2bd2bd(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x1b5)]:{_0x42eaeb=_0x35e492(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x1a8)]:{_0x42eaeb=_0x2e7a9d(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x1b0)]:{_0x42eaeb=_0x310ec3(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x253)]:{_0x42eaeb=_0x3d15dc(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a['InsertRowCommandId']:{_0x42eaeb=_0x163d93(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0x110)]:{_0x42eaeb=_0x1e2860(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a['RemoveColCommandId']:{_0x42eaeb=_0x3e5535(_0xfbffee,_0x2ee0e6);break;}case _0x24ea6a[_0x588417(0xf6)]:{_0x42eaeb=_0x27a93b(_0xfbffee,_0x2ee0e6);break;}}const _0x3dcec6=_0x485e03(_0x42eaeb,_0x2ee0e6),_0x2664cf=this[_0x588417(0x139)][_0x588417(0xd8)](_0x31ab7e);if(_0x2664cf&&_0x3dcec6){const _0x355ce7={..._0x2664cf,'range':_0x3dcec6};this['cursorInfo'][_0x588417(0x12b)](_0x31ab7e,_0x355ce7),_0x1c01cc(()=>{const _0x5868d4=_0x588417,_0x57d406=this['_refRangeService']['registerRefRange'](_0x3dcec6,_0x1e9e2a=>(_0x57d406[_0x5868d4(0xa7)](),_0x1a1bd9(_0x1e9e2a,_0x31ab7e,_0x161bee,_0x3dcec6)));_0x16fed3[_0x5868d4(0x1c3)](_0x57d406);});}return{'redos':[],'undos':[]};};this[_0x4c7301(0x139)][_0x4c7301(0xf7)]((_0x24b94f,_0x1f7011)=>{const _0x24725e=_0x4c7301,{range:_0x3ae751,sheetID:_0x242eb5}=_0x24b94f,_0x2cc8c8=this['_refRangeService'][_0x24725e(0xde)](_0x3ae751,_0x4ca93d=>(_0x2cc8c8['dispose'](),_0x1a1bd9(_0x4ca93d,_0x1f7011,_0x242eb5,_0x3ae751)));_0x16fed3[_0x24725e(0x1c3)](_0x2cc8c8);});};this['disposeWithMe'](_0x31eaac(this[_0x497867(0xa2)]['subscribe'](()=>{_0x37feb8();})));}[_0x3d6112(0x13b)](){const _0x4fbeca=_0x3d6112;var _0x40fe7c,_0x47e3c1;if(this[_0x4fbeca(0x19e)]=!0x0,((_0x40fe7c=this[_0x4fbeca(0x168)][_0x4fbeca(0x221)]())==null?void 0x0:_0x40fe7c['getUnitId']())!==this[_0x4fbeca(0x155)])return;const _0x1427ad=(_0x47e3c1=this[_0x4fbeca(0xe5)]['get'](_0x2cecbb)[_0x4fbeca(0x98)]())==null?void 0x0:_0x47e3c1[0x0],_0xc8c461=this[_0x4fbeca(0x168)][_0x4fbeca(0x156)](_0x5eb008[_0x4fbeca(0x1bb)])[_0x4fbeca(0x143)]();_0x1427ad&&_0xc8c461&&this[_0x4fbeca(0x92)](_0xc8c461[_0x4fbeca(0x271)](),_0x1427ad);}[_0x3d6112(0xf2)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x377ebc(_0x18407a)),x(0x3,_0x377ebc(ke)),x(0x4,_0x377ebc(_0x5a6d39)),x(0x5,_0x436d21),x(0x6,_0x44b6ac),x(0x7,_0x377ebc(_0x3e2d86))],Me);var pi=Object[_0x3d6112(0xad)],Ci=(_0xeddfe9,_0x4543d7,_0x32c1c6,_0x231726)=>{const _0xab2ceb=_0x3d6112;for(var _0x3e48da=_0x231726>0x1?void 0x0:_0x231726?pi(_0x4543d7,_0x32c1c6):_0x4543d7,_0x485054=_0xeddfe9[_0xab2ceb(0x1e9)]-0x1,_0x1931ae;_0x485054>=0x0;_0x485054--)(_0x1931ae=_0xeddfe9[_0x485054])&&(_0x3e48da=_0x1931ae(_0x3e48da)||_0x3e48da);return _0x3e48da;},Se=(_0x9969b8,_0x2e632f)=>(_0x3d9890,_0x4bb333)=>_0x2e632f(_0x3d9890,_0x4bb333,_0x9969b8);let H=class extends _0x5b42a6{constructor(_0x21d552,_0x391dd7,_0x2cf508){const _0x191f72=_0x3d6112;super(),_(this,'_entities',new Map()),_(this,_0x191f72(0x19f),new _0x251050()),(this[_0x191f72(0x168)]=_0x21d552,this[_0x191f72(0xe5)]=_0x391dd7,this[_0x191f72(0x166)]=_0x2cf508,this[_0x191f72(0x170)]());}['dispose'](){const _0x5ec59c=_0x3d6112;super[_0x5ec59c(0xa7)](),this[_0x5ec59c(0x19f)][_0x5ec59c(0x26b)](),this[_0x5ec59c(0x100)][_0x5ec59c(0xf7)](_0x3a495d=>_0x3a495d[_0x5ec59c(0xa7)]());}[_0x3d6112(0x26c)](_0x448e4c){const _0x4b9996=_0x3d6112;return this['_entities']['has'](_0x448e4c)?this[_0x4b9996(0x100)][_0x4b9996(0xd8)](_0x448e4c)[_0x4b9996(0x26d)]:this[_0x4b9996(0x19f)]['pipe'](_0x39a0fd(_0x30aa06=>_0x30aa06[_0x4b9996(0x155)]===_0x448e4c),_0x4bddf2(_0x98e67b=>_0x98e67b['cursorInfo$']));}[_0x3d6112(0x170)](){const _0x343c63=_0x3d6112;this[_0x343c63(0x168)]['getTypeOfUnitAdded$'](_0x5eb008[_0x343c63(0x1bb)])['pipe'](_0x972255(this['dispose$']))[_0x343c63(0xf5)](async _0x2f251b=>{const _0x73c1f0=_0x343c63,_0x4918ef=_0x2f251b[_0x73c1f0(0x10d)](),_0x166e3a=await this[_0x73c1f0(0x153)](_0x4918ef);this[_0x73c1f0(0x19f)][_0x73c1f0(0x260)](_0x166e3a),this['_entities']['set'](_0x4918ef,_0x166e3a);}),this['_univerInstanceService'][_0x343c63(0x1e8)](_0x5eb008[_0x343c63(0x115)])[_0x343c63(0x1b4)](_0x972255(this[_0x343c63(0x1ba)]))[_0x343c63(0x1b4)](_0x39a0fd(_0x22243a=>!_0x22243a[_0x343c63(0x10d)]()[_0x343c63(0xcc)]('__')))[_0x343c63(0xf5)](async _0xbfd3c4=>{const _0x3374f5=_0x343c63,_0x20348b=_0xbfd3c4[_0x3374f5(0x10d)](),_0x256703=await this[_0x3374f5(0xfc)](_0x20348b);this[_0x3374f5(0x19f)][_0x3374f5(0x260)](_0x256703),this[_0x3374f5(0x100)][_0x3374f5(0x12b)](_0x20348b,_0x256703);}),_0x42d744(this[_0x343c63(0x168)][_0x343c63(0x257)](_0x5eb008['UNIVER_DOC']),this[_0x343c63(0x168)]['getTypeOfUnitDisposed$'](_0x5eb008['UNIVER_SHEET']))[_0x343c63(0x1b4)](_0x972255(this[_0x343c63(0x1ba)]))[_0x343c63(0xf5)](_0x114dad=>{const _0x36c5a5=_0x343c63,_0xd93744=_0x114dad[_0x36c5a5(0x10d)](),_0x3c039a=this[_0x36c5a5(0x100)]['get'](_0xd93744);_0x3c039a&&(_0x3c039a[_0x36c5a5(0xa7)](),this[_0x36c5a5(0x100)]['delete'](_0xd93744));});}async['_startSheetCollabCursor'](_0x546cae){const _0x525595=_0x3d6112,_0x4cbe80=await this[_0x525595(0x166)][_0x525595(0x192)](_0x546cae),_0x4bf61f=this['_injector']['createInstance'](Me,_0x546cae,_0x4cbe80);return _0x4bf61f['init'](),_0x4bf61f;}async[_0x3d6112(0xfc)](_0x2f9222){const _0x506143=_0x3d6112,_0x2c0865=await this['_collabSessionService']['requireSession'](_0x2f9222),_0x27f603=this['_injector'][_0x506143(0xd0)](Ue,_0x2f9222,_0x2c0865);return _0x27f603[_0x506143(0x180)](),_0x27f603;}};H=Ci([Se(0x0,_0x436d21),Se(0x1,_0x377ebc(_0x18407a)),Se(0x2,_0x377ebc(_0x328520))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1f9ba5,_0x5a896e){const _0x3dad74=_0x3d6112;let {radius:_0x2234c4,width:_0x204214,height:_0x1cb470}=_0x5a896e;_0x2234c4=_0x2234c4!=null?_0x2234c4:0x0,_0x204214=_0x204214!=null?_0x204214:0x1e,_0x1cb470=_0x1cb470!=null?_0x1cb470:0x1e;let _0x55d6e0=0x0,_0x232780=0x0,_0x26102e=0x0;_0x55d6e0=_0x232780=_0x26102e=Math['min'](_0x2234c4,_0x204214/0x2,_0x1cb470/0x2),_0x1f9ba5['beginPath'](),_0x1f9ba5[_0x3dad74(0x11b)](_0x55d6e0,0x0),_0x1f9ba5['lineTo'](_0x204214-_0x232780,0x0),_0x1f9ba5[_0x3dad74(0x12e)](_0x204214-_0x232780,_0x232780,_0x232780,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f9ba5[_0x3dad74(0x176)](_0x204214,_0x1cb470-_0x26102e),_0x1f9ba5[_0x3dad74(0x12e)](_0x204214-_0x26102e,_0x1cb470-_0x26102e,_0x26102e,0x0,Math['PI']/0x2,!0x1),_0x1f9ba5['lineTo'](0x0,_0x1cb470),_0x1f9ba5[_0x3dad74(0x176)](0x0,_0x55d6e0),_0x1f9ba5['arc'](_0x55d6e0,_0x55d6e0,_0x55d6e0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f9ba5[_0x3dad74(0x109)](),_0x5a896e[_0x3dad74(0xe3)]&&(_0x1f9ba5[_0x3dad74(0x1a9)](),_0x1f9ba5[_0x3dad74(0x186)]=_0x5a896e[_0x3dad74(0xe3)],_0x5a896e[_0x3dad74(0xf4)]===_0x3dad74(0xae)?_0x1f9ba5[_0x3dad74(0xe3)](_0x3dad74(0xae)):_0x1f9ba5['fill'](),_0x1f9ba5[_0x3dad74(0xee)]());}class he extends _0x136101{constructor(_0x21f9cc,_0x4a075f){const _0x2a4f92=_0x3d6112;super(_0x21f9cc,_0x4a075f),_(this,'color'),_(this,_0x2a4f92(0x108)),(this[_0x2a4f92(0x25a)]=_0x4a075f==null?void 0x0:_0x4a075f[_0x2a4f92(0x25a)],this[_0x2a4f92(0x108)]=_0x4a075f==null?void 0x0:_0x4a075f[_0x2a4f92(0x108)]);}static[_0x3d6112(0x14f)](_0x303019,_0x5bec4b){const _0x25e759=_0x3d6112,{text:_0x397f48,color:_0x9d7d2f}=_0x5bec4b;_0x303019[_0x25e759(0x1a9)](),_0x303019[_0x25e759(0xe2)]=_0x25e759(0x1c7);const _0x40d331=_0x303019[_0x25e759(0x7c)](_0x397f48)[_0x25e759(0x90)],_0xc2c0ce=Math[_0x25e759(0x214)](_0x40d331+0x2*me,Qe);Oi(_0x303019,{'height':ee,'radius':0x4,'width':_0xc2c0ce,'fill':_0x9d7d2f}),_0x303019['fillStyle']='#FFF';const _0x52f9e4=me,_0x138a69=ee-Ei,_0x568767=Qe-0x2*me;if(_0x40d331>_0x568767){let _0x3536f0='',_0x396714=0x0;for(const _0x5a8448 of _0x397f48){const _0x510e03=_0x303019[_0x25e759(0x7c)](_0x5a8448)[_0x25e759(0x90)];if(_0x396714+_0x510e03<=_0x568767-_0x303019[_0x25e759(0x7c)](_0x25e759(0x106))[_0x25e759(0x90)])_0x3536f0+=_0x5a8448,_0x396714+=_0x510e03;else{_0x3536f0+=_0x25e759(0x106);break;}}_0x303019[_0x25e759(0x147)](_0x3536f0,_0x52f9e4,_0x138a69);}else _0x303019[_0x25e759(0x147)](_0x397f48,_0x52f9e4,_0x138a69);_0x303019[_0x25e759(0xee)]();}['_draw'](_0x3e0151){const _0x4cb39a=_0x3d6112;he[_0x4cb39a(0x14f)](_0x3e0151,this);}}const ge='collab-text-anchor-',bi=_0x3d6112(0x26f),Ti=_0x3d6112(0xa4),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x3d6112(0x198);class qe{constructor(_0x44b5ce,_0x5656cc,_0x22e69d,_0x1bbdf6){const _0x4a091f=_0x3d6112;_(this,_0x4a091f(0x203),[]),_(this,_0x4a091f(0x188),null),_(this,_0x4a091f(0x273),null),_(this,_0x4a091f(0x207),null),_(this,_0x4a091f(0xe0),null),_(this,_0x4a091f(0xff),null),(this[_0x4a091f(0x13a)]=_0x44b5ce,this[_0x4a091f(0x194)]=_0x5656cc,this[_0x4a091f(0x17e)]=_0x22e69d,this['_document']=_0x1bbdf6,this[_0x4a091f(0x8b)]());}set[_0x3d6112(0x165)](_0x370ad7){const _0x5a6e0a=_0x3d6112;_0x370ad7?(this['_anchorDot']&&this[_0x5a6e0a(0x207)][_0x5a6e0a(0xb8)](),this[_0x5a6e0a(0x273)]&&this[_0x5a6e0a(0x273)][_0x5a6e0a(0x1d4)]()):(this[_0x5a6e0a(0x207)]&&this[_0x5a6e0a(0x207)]['show'](),this[_0x5a6e0a(0x273)]&&this[_0x5a6e0a(0x273)][_0x5a6e0a(0xb8)]());}['dispose'](){const _0x5eecbc=_0x3d6112;for(const _0x47440b of this['_shapes'])_0x47440b[_0x5eecbc(0xa7)]();this[_0x5eecbc(0x273)]&&this[_0x5eecbc(0x273)][_0x5eecbc(0xa7)](),this[_0x5eecbc(0x207)]&&this['_anchorDot'][_0x5eecbc(0xa7)](),this[_0x5eecbc(0x188)]&&this['_anchor']['dispose'](),this[_0x5eecbc(0xff)]&&this[_0x5eecbc(0xff)]();}[_0x3d6112(0x8b)](){const _0x360f50=_0x3d6112;var _0x26e3d8;const {_docSkeleton:_0x3094fb,_document:_0x416762}=this,{color:_0x370f42,name:_0x205e91,ranges:_0x3f3edb}=this[_0x360f50(0x13a)],_0x3b6284=_0x416762['getOffsetConfig'](),{docsLeft:_0x4b621d,docsTop:_0x372823}=_0x3b6284,_0x3526d1=new _0x5235e8(_0x3b6284,_0x3094fb);for(const {startOffset:_0x15310d,endOffset:_0x153e5e,rangeType:_0x511878,segmentId:_0x3d5d56,segmentPage:_0x4e5ada,collapsed:_0x370846,isActive:_0x23ff0c}of _0x3f3edb){const _0x1c8725=_0x3094fb[_0x360f50(0x1d0)](_0x15310d,!0x0,_0x3d5d56,_0x4e5ada);let _0x5edfd1=_0x3094fb['findNodePositionByCharIndex'](_0x153e5e,!0x0,_0x3d5d56,_0x4e5ada);if(_0x5edfd1==null&&(_0x5edfd1=_0x3094fb[_0x360f50(0x1d0)](_0x153e5e-0x1,!0x1,_0x3d5d56,_0x4e5ada)),_0x23ff0c){const {contentBoxPointGroup:_0x180924}=_0x3526d1[_0x360f50(0x243)](_0x5edfd1,_0x5edfd1);if(_0x180924[_0x360f50(0x1e9)]===0x0)continue;this[_0x360f50(0x19c)](_0x370f42,_0x180924,_0x4b621d,_0x372823,_0x205e91),this[_0x360f50(0xff)]=this[_0x360f50(0x7e)]();}if(_0x1c8725&&_0x5edfd1){if(_0x511878===_0x53b7a4[_0x360f50(0x24c)]){const _0x5a1644=new _0x1479c6(_0x3b6284,_0x3094fb),{pointGroup:_0x284073}=(_0x26e3d8=_0x5a1644[_0x360f50(0x243)](_0x1c8725,_0x5edfd1))!=null?_0x26e3d8:{};if(_0x284073==null||_0x284073['length']===0x0)continue;this[_0x360f50(0x235)](_0x370f42,_0x284073,_0x4b621d,_0x372823);}else{if(!_0x370846){const {borderBoxPointGroup:_0x4f0541}=_0x3526d1[_0x360f50(0x243)](_0x1c8725,_0x5edfd1);if(_0x4f0541[_0x360f50(0x1e9)]===0x0)continue;this[_0x360f50(0x1c9)](_0x370f42,_0x4f0541,_0x4b621d,_0x372823);}}}}}[_0x3d6112(0x19c)](_0x42a5dd,_0x58aca1,_0x3e66f2,_0x17b9c3,_0xa46239){const _0x5d7adb=_0x3d6112,_0x1bcbf5=this[_0x5d7adb(0x232)](_0x58aca1),{left:_0x2a9384,top:_0x1143e3,height:_0x189c87}=_0x1bcbf5,_0x5986aa=this[_0x5d7adb(0x19d)](),_0x264806=Di/_0x5986aa,_0x29fcb5=new _0x1bf7c5(ge+_0x7a64af[_0x5d7adb(0x14d)](X),{'left':_0x2a9384+_0x3e66f2-_0x264806,'top':_0x1143e3+_0x17b9c3,'height':_0x189c87,'width':Ri,'fill':_0x42a5dd||_0x35b1a7(_0x683ab3['black'],0x0),'strokeWidth':_0x264806,'stroke':Ni,'evented':!0x0});this[_0x5d7adb(0x188)]=_0x29fcb5,this[_0x5d7adb(0x194)][_0x5d7adb(0x1cd)](_0x29fcb5,_0x2a3be8);const _0x12842e=new _0x1bf7c5(ge+_0x7a64af[_0x5d7adb(0x14d)](X),{'left':_0x2a9384+_0x3e66f2-_0x264806,'top':_0x1143e3+_0x17b9c3-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x42a5dd||_0x35b1a7(_0x683ab3[_0x5d7adb(0x259)],0x0),'strokeWidth':0x0,'stroke':_0x42a5dd||_0x35b1a7(_0x683ab3['black'],0x0),'evented':!0x1});this[_0x5d7adb(0x207)]=_0x12842e,this[_0x5d7adb(0x194)][_0x5d7adb(0x1cd)](_0x12842e,_0x2a3be8);const _0x58e7b1=new he(ge+_0x7a64af['generateRandomId'](X),{'left':_0x2a9384+_0x3e66f2-_0x264806,'top':_0x1143e3+_0x17b9c3-ee,'text':_0xa46239,'color':_0x42a5dd});this[_0x5d7adb(0x273)]=_0x58e7b1,this[_0x5d7adb(0x194)][_0x5d7adb(0x1cd)](_0x58e7b1,_0x2a3be8),this[_0x5d7adb(0x165)]=!0x1;}[_0x3d6112(0x7e)](){const _0x3ffd9c=_0x3d6112,_0x1f8e31=this[_0x3ffd9c(0x188)][_0x3ffd9c(0x97)][_0x3ffd9c(0x201)](()=>{this['_hover']=!0x0;}),_0x143762=this[_0x3ffd9c(0x188)][_0x3ffd9c(0xb6)][_0x3ffd9c(0x201)](()=>{const _0x3d5893=_0x3ffd9c;this[_0x3d5893(0xe0)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x24b9c1=_0x3d5893;this[_0x24b9c1(0x165)]=!0x1;},0x7d0);});return()=>{const _0x3bb680=_0x3ffd9c;_0x1f8e31[_0x3bb680(0x94)](),_0x143762[_0x3bb680(0x94)]();};}[_0x3d6112(0x1c9)](_0x4d2f76,_0x4bb250,_0x2488aa,_0x2d446f){const _0xaecd56=_0x3d6112,_0x27ed7b=new _0x4f87c1(_0x4d2f76)['setAlpha'](0.2)['toRgbString'](),_0x57897a=new _0xd54ccf(bi+_0x7a64af[_0xaecd56(0x14d)](X),{'pointsGroup':_0x4bb250,'fill':_0x27ed7b||_0x35b1a7(_0x683ab3['black'],0.2),'left':_0x2488aa,'top':_0x2d446f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xaecd56(0x203)][_0xaecd56(0x112)](_0x57897a),this['_scene'][_0xaecd56(0x1cd)](_0x57897a,_0x2a3be8);}[_0x3d6112(0x235)](_0x12bddc,_0x34e57c,_0xa209df,_0x4177b1){const _0x3ff401=_0x3d6112,_0x18bd39=new _0x4f87c1(_0x12bddc)[_0x3ff401(0xf9)](0.2)[_0x3ff401(0x200)](),_0x23164d=new _0xd54ccf(Ti+_0x7a64af[_0x3ff401(0x14d)](X),{'pointsGroup':_0x34e57c,'fill':_0x18bd39||_0x35b1a7(_0x683ab3[_0x3ff401(0x259)],0.2),'left':_0xa209df,'top':_0x4177b1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ff401(0x203)][_0x3ff401(0x112)](_0x23164d),this[_0x3ff401(0x194)]['addObject'](_0x23164d,_0x2a3be8);}[_0x3d6112(0x232)](_0x33884a){const _0x15d906=_0x33884a[0x0],_0x7c8803=_0x15d906[0x0],_0x46e6cb=_0x15d906[0x2],{x:_0xe080b6,y:_0x1d008b}=_0x7c8803,{x:_0x345b85,y:_0xaf4cb2}=_0x46e6cb;return{'left':_0xe080b6,'top':_0x1d008b,'width':_0x345b85-_0xe080b6,'height':_0xaf4cb2-_0x1d008b};}['_getScale'](){const _0x419a5b=_0x3d6112,{scaleX:_0xb7ddc,scaleY:_0x590faf}=this['_scene'][_0x419a5b(0x13f)]();return Math[_0x419a5b(0x196)](_0xb7ddc,_0x590faf);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x1f56eb,_0x3fbec0,_0x29c263,_0x3f2ef5)=>{const _0x385365=_0x3d6112;for(var _0x3dbbe7=_0x3f2ef5>0x1?void 0x0:_0x3f2ef5?Ui(_0x3fbec0,_0x29c263):_0x3fbec0,_0x41204c=_0x1f56eb[_0x385365(0x1e9)]-0x1,_0x3959e6;_0x41204c>=0x0;_0x41204c--)(_0x3959e6=_0x1f56eb[_0x41204c])&&(_0x3dbbe7=_0x3959e6(_0x3dbbe7)||_0x3dbbe7);return _0x3dbbe7;},Z=(_0x2f3c5a,_0xd0ad34)=>(_0x274dc5,_0x72eed1)=>_0xd0ad34(_0x274dc5,_0x72eed1,_0x2f3c5a);let Pe=class extends _0x5b42a6{constructor(_0x2148ea,_0x50f95e,_0x200cf3,_0x137f80,_0x11a530){const _0x22ee7d=_0x3d6112;super(),_(this,_0x22ee7d(0xcd),[]),_(this,_0x22ee7d(0x21c),[]),(this[_0x22ee7d(0x18a)]=_0x2148ea,this[_0x22ee7d(0x11e)]=_0x50f95e,this[_0x22ee7d(0x181)]=_0x200cf3,this['_commandService']=_0x137f80,this[_0x22ee7d(0x275)]=_0x11a530,this['_init']());}['_init'](){const _0x14266e=_0x3d6112,_0x2f3287=this[_0x14266e(0x18a)][_0x14266e(0x9f)],_0x5af73e=this[_0x14266e(0x11e)];this[_0x14266e(0x121)](_0x222edd([this[_0x14266e(0x181)][_0x14266e(0x26c)](_0x2f3287),this[_0x14266e(0x275)][_0x14266e(0x231)]])[_0x14266e(0x1b4)](_0x175771(([_0x5b8a5a,_0x18a97e])=>({'skeleton':_0x5af73e[_0x14266e(0x216)](),'cursors':[..._0x5b8a5a[_0x14266e(0xdc)]()][_0x14266e(0xb4)](_0x6c8418=>({..._0x6c8418,'color':this[_0x14266e(0x275)][_0x14266e(0x24d)](_0x6c8418['color'])}))})))[_0x14266e(0xf5)](_0x36425a=>{const _0xd21da4=_0x14266e;if(this[_0xd21da4(0xf3)](),_0x36425a){const {skeleton:_0x564cb5,cursors:_0x512414}=_0x36425a;this['_updateCollabCursors'](_0x564cb5,_0x512414);}})),this[_0x14266e(0x9e)](),this[_0x14266e(0x10e)]();}['_updateCollabCursors'](_0x124195,_0x34fee6){const _0x239448=_0x3d6112,{scene:_0x5ac6c8,mainComponent:_0x8acdb5}=this[_0x239448(0x18a)],_0x4d0ff7=_0x34fee6[_0x239448(0x11f)](_0xae9673=>new qe(_0xae9673,_0x5ac6c8,_0x124195,_0x8acdb5));this[_0x239448(0xcd)]=_0x4d0ff7,this[_0x239448(0x21c)]=_0x34fee6;}[_0x3d6112(0x254)](){const _0x4ddcd1=_0x3d6112;this[_0x4ddcd1(0xf3)]();const {scene:_0x232bdc,mainComponent:_0x508722}=this['_context'],_0x465f29=this[_0x4ddcd1(0x11e)][_0x4ddcd1(0x216)](),_0x508893=this[_0x4ddcd1(0x21c)][_0x4ddcd1(0x11f)](_0x5ab251=>new qe(_0x5ab251,_0x232bdc,_0x465f29,_0x508722));this[_0x4ddcd1(0xcd)]=_0x508893;}['_removeCollabCursors'](){const _0x39e2cc=_0x3d6112;this[_0x39e2cc(0xcd)][_0x39e2cc(0xf7)](_0x55b234=>_0x55b234['dispose']()),this[_0x39e2cc(0xcd)]=[];}[_0x3d6112(0x10e)](){const _0x328879=_0x3d6112,_0x4571d8=[_0x29ce9a['id']];this[_0x328879(0x121)](this['_commandService'][_0x328879(0x258)](_0x20bb19=>{const _0x2ca2bf=_0x328879;_0x4571d8['includes'](_0x20bb19['id'])&&_0x20bb19[_0x2ca2bf(0x96)][_0x2ca2bf(0x9f)]===this[_0x2ca2bf(0x18a)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3d6112(0x9e)](){const _0x4a9e68=_0x3d6112;this[_0x4a9e68(0x121)](_0x438f83(this[_0x4a9e68(0x18a)]['engine'][_0x4a9e68(0x7f)])[_0x4a9e68(0x1b4)](_0x419324(_0x243669=>_0x243669[_0x4a9e68(0x154)]===_0x24fbf9[_0x4a9e68(0x9a)]),_0x133089(0x10))[_0x4a9e68(0xf5)](()=>{const _0x55f7eb=_0x4a9e68;this[_0x55f7eb(0x254)]();}));}};Pe=Mi([Z(0x1,_0x377ebc(_0x422ab9)),Z(0x2,_0x377ebc(H)),Z(0x3,_0x44b6ac),Z(0x4,_0x377ebc(_0x5c68ab))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x136101{constructor(_0x2ca803,_0x5e9c52){const _0x54f9e4=_0x3d6112;super(_0x2ca803,_0x5e9c52),_(this,_0x54f9e4(0x268)),_(this,_0x54f9e4(0x160),!0x1),_(this,_0x54f9e4(0xbf)),_(this,_0x54f9e4(0x20f),''),_(this,_0x54f9e4(0x86),'top'),_(this,_0x54f9e4(0x270)),(_0x5e9c52&&this[_0x54f9e4(0xe9)](_0x5e9c52),this[_0x54f9e4(0x97)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x54f9e4(0xb6)][_0x54f9e4(0x201)](()=>this[_0x54f9e4(0xe9)]({'hovered':!0x1})));}[_0x3d6112(0xe9)](_0x473f9d){const _0xd55cd9=_0x3d6112;var _0x56ed03,_0x4feb0a,_0x40448,_0x3ca64f,_0x568e52,_0x5ae377;this[_0xd55cd9(0x268)]=(_0x56ed03=_0x473f9d['color'])!=null?_0x56ed03:this[_0xd55cd9(0x268)],this[_0xd55cd9(0x160)]=(_0x4feb0a=_0x473f9d[_0xd55cd9(0x1ea)])!=null?_0x4feb0a:this['_hovered'],this[_0xd55cd9(0xbf)]=(_0x40448=_0x473f9d[_0xd55cd9(0x13d)])!=null?_0x40448:this[_0xd55cd9(0xbf)],this[_0xd55cd9(0x20f)]=(_0x3ca64f=_0x473f9d[_0xd55cd9(0xac)])!=null?_0x3ca64f:this['_name'],this[_0xd55cd9(0x86)]=(_0x568e52=_0x473f9d[_0xd55cd9(0x1b3)])!=null?_0x568e52:this[_0xd55cd9(0x86)],this[_0xd55cd9(0x270)]=(_0x5ae377=_0x473f9d[_0xd55cd9(0x14c)])!=null?_0x5ae377:this['_backgroundColor'],this['transformByState']({'width':_0x473f9d['width'],'height':_0x473f9d['height']});}[_0x3d6112(0x22c)](_0x5d3915){const _0x53ab3a=_0x3d6112,{row:_0x1e587e,column:_0x16a54e}=_0x5d3915;if(_0x1e587e>=this['_range']['startRow']&&_0x1e587e<=this[_0x53ab3a(0xbf)][_0x53ab3a(0x210)]&&_0x16a54e>=this[_0x53ab3a(0xbf)][_0x53ab3a(0x239)]&&_0x16a54e<=this[_0x53ab3a(0xbf)][_0x53ab3a(0xcb)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x53ab3a(0xe9)]({'hovered':!0x1});}[_0x3d6112(0x13e)](_0x269e37){return!0x1;}[_0x3d6112(0x1b1)](_0x32105a){const _0x107a48=_0x3d6112;_0x1bf7c5[_0x107a48(0x14f)](_0x32105a,{'width':this['width'],'height':this[_0x107a48(0x230)],'strokeWidth':Li,'stroke':this[_0x107a48(0x268)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x107a48(0x160)]&&(_0x32105a[_0x107a48(0x1a9)](),_0x32105a['transform'](0x1,0x0,0x0,0x1,this[_0x107a48(0x90)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x107a48(0x14f)](_0x32105a,{'text':this[_0x107a48(0x20f)],'color':this[_0x107a48(0x268)]}),_0x32105a[_0x107a48(0xee)]());}}var Ai=Object[_0x3d6112(0xad)],yi=(_0x216f5f,_0x1648e,_0xb32a5c,_0xf4537e)=>{for(var _0x276654=_0xf4537e>0x1?void 0x0:_0xf4537e?Ai(_0x1648e,_0xb32a5c):_0x1648e,_0x1ac03c=_0x216f5f['length']-0x1,_0x2467a0;_0x1ac03c>=0x0;_0x1ac03c--)(_0x2467a0=_0x216f5f[_0x1ac03c])&&(_0x276654=_0x2467a0(_0x276654)||_0x276654);return _0x276654;},ve=(_0x1657c8,_0x1973f6)=>(_0xf9448a,_0x4842dd)=>_0x1973f6(_0xf9448a,_0x4842dd,_0x1657c8);const $i=0x1389;let Le=class extends _0x5b42a6{constructor(_0x7cd3ad,_0x1208f4,_0xa1156f,_0x25a067){const _0xbf1424=_0x3d6112;super(),_(this,_0xbf1424(0x21c),new Set()),_(this,_0xbf1424(0x1ac),null),(this[_0xbf1424(0x18a)]=_0x7cd3ad,this[_0xbf1424(0x228)]=_0x1208f4,this[_0xbf1424(0x181)]=_0xa1156f,this[_0xbf1424(0x275)]=_0x25a067,this['_init']());}[_0x3d6112(0x170)](){const _0x47ad11=_0x3d6112;this[_0x47ad11(0x228)]['currentSkeleton$'][_0x47ad11(0x1b4)](_0x7c48e4(this[_0x47ad11(0x1ba)]),_0x5ef9b7(_0x2f586a=>{const _0x36c284=_0x47ad11;if(_0x2f586a){const _0x23f04f=_0x2f586a[_0x36c284(0xb2)];return _0x222edd(this['_collabCursorController'][_0x36c284(0x26c)](this['_context'][_0x36c284(0x9f)]),this[_0x36c284(0x275)][_0x36c284(0x231)])[_0x36c284(0x1b4)](_0x175771(([_0x1c660b,_0x34606a])=>{const _0x35f13e=_0x36c284,_0x2e746e=new Map();return _0x1c660b[_0x35f13e(0xf7)]((_0x21ff7f,_0x2178e6)=>{const _0xd29617=_0x35f13e;if(_0x21ff7f['sheetID']===_0x23f04f){const _0x354e84={..._0x21ff7f};_0x354e84[_0xd29617(0x25a)]=this['_themeService']['getColorFromTheme'](_0x21ff7f[_0xd29617(0x25a)]),_0x2e746e[_0xd29617(0x12b)](_0x2178e6,_0x354e84);}}),{'skeleton':_0x2f586a,'cursors':_0x2e746e};}));}return _0x4d0dc1({'skeleton':null,'cursors':new Map()});}))[_0x47ad11(0xf5)](({skeleton:_0x1f525c,cursors:_0x179831})=>{const _0x26b636=_0x47ad11;this[_0x26b636(0xf3)](),_0x1f525c&&this[_0x26b636(0x89)](_0x1f525c,_0x179831);}),this[_0x47ad11(0x228)][_0x47ad11(0x1fe)]['subscribe'](_0x2710bf=>{const _0x1b672c=_0x47ad11;if(_0x2710bf==null)return;const {skeleton:_0x21d35a}=_0x2710bf,{scene:_0x144cea}=this['_context'];_0x144cea[_0x1b672c(0x161)][_0x1b672c(0x201)](_0x1e542b(_0x41ae8b=>{const _0x18dca9=_0x1b672c;var _0xd870fd,_0x357b97;const {offsetX:_0x3602d2,offsetY:_0x22b8ec}=_0x41ae8b,{x:_0x764fc,y:_0x48253b}=_0x144cea[_0x18dca9(0x1d9)](_0x4959ee[_0x18dca9(0xc9)]([_0x3602d2,_0x22b8ec])),{scaleX:_0x376cf0,scaleY:_0xe8908b}=_0x144cea[_0x18dca9(0x13f)](),_0x33f957=_0x144cea['getViewport'](_0x5ed4de[_0x18dca9(0x130)]),_0xa9c26c=_0x144cea['getVpScrollXYInfoByPosToVp'](_0x4959ee[_0x18dca9(0xc9)]([_0x764fc,_0x48253b]),_0x33f957),_0x27cb1d=_0x21d35a[_0x18dca9(0x1be)](_0x3602d2,_0x22b8ec,_0x376cf0,_0xe8908b,_0xa9c26c);((_0xd870fd=this['_lastPointer'])==null?void 0x0:_0xd870fd[_0x18dca9(0xda)])===_0x27cb1d[_0x18dca9(0xda)]&&((_0x357b97=this[_0x18dca9(0x1ac)])==null?void 0x0:_0x357b97[_0x18dca9(0x202)])===_0x27cb1d['row']||this[_0x18dca9(0x21c)][_0x18dca9(0xf7)](_0x88d487=>{const _0x27e1e9=_0x18dca9;_0x88d487[_0x27e1e9(0x22c)](_0x27cb1d);});},0x64));});}[_0x3d6112(0x89)](_0x3782a7,_0x2a6976){const _0xe34896=_0x3d6112;var _0x3ea81d;const _0x2bb677=(_0x3ea81d=this[_0xe34896(0x228)][_0xe34896(0x261)]())==null?void 0x0:_0x3ea81d[_0xe34896(0x132)];if(!_0x2bb677)return;const _0x1eda4d=this[_0xe34896(0x16b)]();if(!_0x1eda4d)return;this[_0xe34896(0x21c)]['forEach'](_0x3b2856=>{_0x3b2856['makeDirty']();});const {scene:_0x26293c}=_0x1eda4d,_0x5ec3dd=xi(Array[_0xe34896(0x1d2)](_0x2a6976[_0xe34896(0xdc)]()))[_0xe34896(0x11f)](_0xa1e288=>{const {color:_0x4fb2ef,range:_0x296ac8,name:_0x1e0927,selection:_0x5616e9,sheetID:_0x4fa728}=_0xa1e288,{startColumn:_0x52a45b,startRow:_0x4c9f02,endColumn:_0x57053e,endRow:_0x55712e}=_0x296ac8,_0xed7d36=_0x44fd03(_0x4c9f02,_0x52a45b,_0x26293c,_0x2bb677),_0xeb248c=_0x44fd03(_0x55712e,_0x57053e,_0x26293c,_0x2bb677),{columnHeaderHeightAndMarginTop:_0x45a89a}=_0x2bb677,{startX:_0x5426bf,startY:_0x35dc4e}=_0xed7d36,{endX:_0x103ec1,endY:_0xfd3c62}=_0xeb248c,_0x3dfc39=_0x103ec1-_0x5426bf,_0x4ec712=_0xfd3c62-_0x35dc4e,_0xf1636c={'labelPosition':_0x35dc4e-_0x45a89a>=ee?'top':'bottom','sheetID':_0x4fa728,'range':_0x296ac8,'color':_0x4fb2ef,'name':_0x1e0927,'selection':_0x5616e9,'left':_0x5426bf,'top':_0x35dc4e,'width':_0x3dfc39,'height':_0x4ec712,'evented':!0x1,'zIndex':$i};return new wi(_0x1e0927,_0xf1636c);});_0x26293c[_0xe34896(0x148)](_0x5ec3dd,Pi),this['_cursors']=new Set(_0x5ec3dd);}[_0x3d6112(0xf3)](){const _0x311a26=_0x3d6112;var _0x1ae2ca;(_0x1ae2ca=this['_cursors'])==null||_0x1ae2ca[_0x311a26(0xf7)](_0x161ba3=>_0x161ba3[_0x311a26(0xa7)]());}['_getSheetObject'](){const _0x52ae93=_0x3d6112;return _0x4d69f5(this['_context'][_0x52ae93(0x22e)],this[_0x52ae93(0x18a)]);}};Le=yi([ve(0x1,_0x377ebc(_0x411135)),ve(0x2,_0x377ebc(H)),ve(0x3,_0x377ebc(_0x5c68ab))],Le);function xi(_0x579751){const _0x4b55cd=_0x3d6112,_0x1cba57=new Map();return _0x579751['forEach'](_0x148fc7=>{const _0x294864=_0xba75;if(_0x1cba57['has'](_0x148fc7[_0x294864(0xd3)])){const _0x4eb58e=_0x1cba57[_0x294864(0xd8)](_0x148fc7[_0x294864(0xd3)]);_0x4eb58e[_0x294864(0xac)]+=',\x20'+_0x148fc7[_0x294864(0xac)];}else _0x1cba57['set'](_0x148fc7[_0x294864(0xd3)],_0x148fc7);}),Array[_0x4b55cd(0x1d2)](_0x1cba57[_0x4b55cd(0xdc)]());}var v=function(){const _0x33a48b=_0x3d6112;return v=Object[_0x33a48b(0x24e)]||function(_0x338515){const _0x1e4c98=_0x33a48b;for(var _0x1df53f,_0x40a4a0=0x1,_0x28e2a1=arguments['length'];_0x40a4a0<_0x28e2a1;_0x40a4a0++){_0x1df53f=arguments[_0x40a4a0];for(var _0x3330d9 in _0x1df53f)Object[_0x1e4c98(0x187)][_0x1e4c98(0x199)][_0x1e4c98(0x8d)](_0x1df53f,_0x3330d9)&&(_0x338515[_0x3330d9]=_0x1df53f[_0x3330d9]);}return _0x338515;},v[_0x33a48b(0x195)](this,arguments);},Bi=function(_0x1452b4,_0x132898){const _0x375a14=_0x3d6112;var _0x12c525={};for(var _0xd02dba in _0x1452b4)Object[_0x375a14(0x187)]['hasOwnProperty'][_0x375a14(0x8d)](_0x1452b4,_0xd02dba)&&_0x132898[_0x375a14(0xc2)](_0xd02dba)<0x0&&(_0x12c525[_0xd02dba]=_0x1452b4[_0xd02dba]);if(_0x1452b4!=null&&typeof Object[_0x375a14(0x1e3)]==_0x375a14(0x190)){for(var _0x40ade1=0x0,_0xd02dba=Object[_0x375a14(0x1e3)](_0x1452b4);_0x40ade1<_0xd02dba[_0x375a14(0x1e9)];_0x40ade1++)_0x132898[_0x375a14(0xc2)](_0xd02dba[_0x40ade1])<0x0&&Object[_0x375a14(0x187)][_0x375a14(0x16e)][_0x375a14(0x8d)](_0x1452b4,_0xd02dba[_0x40ade1])&&(_0x12c525[_0xd02dba[_0x40ade1]]=_0x1452b4[_0xd02dba[_0x40ade1]]);}return _0x12c525;},je=_0x10e9ab(function(_0x22ac7c,_0x175ae9){const _0x3b9dbd=_0x3d6112;var _0x1e6709=_0x22ac7c[_0x3b9dbd(0x88)],_0x233096=_0x22ac7c['id'],_0xfb9325=_0x22ac7c['className'],_0x390b72=_0x22ac7c[_0x3b9dbd(0x9b)],_0x332c11=Bi(_0x22ac7c,[_0x3b9dbd(0x88),'id',_0x3b9dbd(0x144),_0x3b9dbd(0x9b)]),_0x5eadee=_0x3b9dbd(0x15a)[_0x3b9dbd(0x141)](_0x233096,'\x20')[_0x3b9dbd(0x141)](_0xfb9325||'')[_0x3b9dbd(0xec)](),_0x5d4286=_0x238a25('_'[_0x3b9dbd(0x141)](ji()));return Rt(_0x1e6709,''[_0x3b9dbd(0x141)](_0x233096),{'defIds':_0x1e6709[_0x3b9dbd(0x178)],'idSuffix':_0x5d4286[_0x3b9dbd(0x1f9)]},v({'ref':_0x175ae9,'className':_0x5eadee},_0x332c11),_0x390b72);});function Rt(_0x5e779c,_0x4b1d26,_0x1974ed,_0x544bd0,_0xcb36d3){const _0x34ab33=_0x3d6112;return _0x571cf1(_0x5e779c[_0x34ab33(0x1ae)],v(v({'key':_0x4b1d26},ki(_0x5e779c,_0x1974ed,_0xcb36d3)),_0x544bd0),(Hi(_0x5e779c,_0x1974ed)[_0x34ab33(0x222)]||[])['map'](function(_0x48b94c,_0x4f4154){const _0x51b9f6=_0x34ab33;return Rt(_0x48b94c,''[_0x51b9f6(0x141)](_0x4b1d26,'-')[_0x51b9f6(0x141)](_0x5e779c[_0x51b9f6(0x1ae)],'-')['concat'](_0x4f4154),_0x1974ed,void 0x0,_0xcb36d3);}));}function ki(_0x4de510,_0x30e823,_0x67dbc4){const _0x2f0ac9=_0x3d6112;var _0x19a539=v({},_0x4de510[_0x2f0ac9(0x101)]);_0x67dbc4!=null&&_0x67dbc4[_0x2f0ac9(0x14e)]&&_0x19a539[_0x2f0ac9(0xe3)]==='colorChannel1'&&(_0x19a539['fill']=_0x67dbc4[_0x2f0ac9(0x14e)]),_0x4de510[_0x2f0ac9(0x1ae)]===_0x2f0ac9(0xcf)&&_0x19a539['id']&&(_0x19a539['id']=_0x19a539['id']+_0x30e823['idSuffix']),Object['entries'](_0x19a539)[_0x2f0ac9(0xf7)](function(_0x2d6326){const _0x3a2fa2=_0x2f0ac9;var _0x1c5051=_0x2d6326[0x0],_0x123456=_0x2d6326[0x1];_0x1c5051==='mask'&&typeof _0x123456==_0x3a2fa2(0x215)&&(_0x19a539[_0x1c5051]=_0x123456['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x30e823[_0x3a2fa2(0x249)],')')));});var _0xe0f2db=_0x30e823[_0x2f0ac9(0x178)];return!_0xe0f2db||_0xe0f2db['length']===0x0||(_0x4de510['tag']==='use'&&_0x19a539[_0x2f0ac9(0x84)]&&(_0x19a539['xlink:href']=_0x19a539[_0x2f0ac9(0x84)]+_0x30e823[_0x2f0ac9(0x249)]),Object['entries'](_0x19a539)[_0x2f0ac9(0xf7)](function(_0x364809){const _0x53f1e9=_0x2f0ac9;var _0x2a99ba=_0x364809[0x0],_0x489ff9=_0x364809[0x1];typeof _0x489ff9==_0x53f1e9(0x215)&&(_0x19a539[_0x2a99ba]=_0x489ff9[_0x53f1e9(0x9d)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x30e823[_0x53f1e9(0x249)],')')));})),_0x19a539;}function Hi(_0x346d49,_0x3e3317){const _0x174c8d=_0x3d6112;var _0x17f76e,_0xe616a=_0x3e3317[_0x174c8d(0x178)];return!_0xe616a||_0xe616a[_0x174c8d(0x1e9)]===0x0?_0x346d49:_0x346d49[_0x174c8d(0x1ae)]===_0x174c8d(0x138)&&(!((_0x17f76e=_0x346d49['children'])===null||_0x17f76e===void 0x0)&&_0x17f76e[_0x174c8d(0x1e9)])?v(v({},_0x346d49),{'children':_0x346d49[_0x174c8d(0x222)]['map'](function(_0x22d6c0){const _0x3810be=_0x174c8d;return typeof _0x22d6c0[_0x3810be(0x101)]['id']==_0x3810be(0x215)&&_0xe616a&&_0xe616a[_0x3810be(0xc2)](_0x22d6c0['attrs']['id'])>-0x1?v(v({},_0x22d6c0),{'attrs':v(v({},_0x22d6c0[_0x3810be(0x101)]),{'id':_0x22d6c0['attrs']['id']+_0x3e3317[_0x3810be(0x249)]})}):_0x22d6c0;})}):_0x346d49;}function ji(){const _0x3023cf=_0x3d6112;return Math[_0x3023cf(0x135)]()[_0x3023cf(0x162)](0x24)[_0x3023cf(0x248)](0x2,0x8);}je[_0x3d6112(0x1fc)]=_0x3d6112(0x137);var Yi={'tag':_0x3d6112(0x197),'attrs':{'fill':_0x3d6112(0xfb),'viewBox':_0x3d6112(0x127),'width':_0x3d6112(0xa0),'height':_0x3d6112(0xa0)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3d6112(0x256),'attrs':{'stroke':_0x3d6112(0xbd),'d':_0x3d6112(0x1d5),'strokeLinecap':'round','strokeLinejoin':_0x3d6112(0xbc),'strokeWidth':1.2}}]},{'tag':_0x3d6112(0x138),'attrs':{},'children':[{'tag':_0x3d6112(0x1c4),'attrs':{'id':_0x3d6112(0xc7)},'children':[{'tag':_0x3d6112(0x256),'attrs':{'fill':_0x3d6112(0x104),'d':_0x3d6112(0x1cc)}}]}]}],'defIds':[_0x3d6112(0xc7)]},Dt=_0x10e9ab(function(_0x411f1d,_0x339ae6){const _0x337fd7=_0x3d6112;return _0x571cf1(je,Object[_0x337fd7(0x24e)]({},_0x411f1d,{'id':_0x337fd7(0x246),'ref':_0x339ae6,'icon':Yi}));});Dt[_0x3d6112(0x1fc)]=_0x3d6112(0x83);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x3d6112(0x1f3),'width':_0x3d6112(0xa0),'height':_0x3d6112(0xa0)},'children':[{'tag':'g','attrs':{'clipPath':_0x3d6112(0x171)},'children':[{'tag':_0x3d6112(0x256),'attrs':{'stroke':_0x3d6112(0xbd),'d':_0x3d6112(0x211),'strokeLinecap':_0x3d6112(0xbc),'strokeLinejoin':_0x3d6112(0xbc),'strokeWidth':1.2}}]},{'tag':_0x3d6112(0x138),'attrs':{},'children':[{'tag':_0x3d6112(0x1c4),'attrs':{'id':_0x3d6112(0xd4)},'children':[{'tag':_0x3d6112(0x256),'attrs':{'fill':_0x3d6112(0x104),'d':_0x3d6112(0x1cc),'transform':_0x3d6112(0x22b)}}]}]}],'defIds':[_0x3d6112(0xd4)]},Nt=_0x10e9ab(function(_0x89b78c,_0x347de9){const _0x586f42=_0x3d6112;return _0x571cf1(je,Object[_0x586f42(0x24e)]({},_0x89b78c,{'id':_0x586f42(0x10b),'ref':_0x347de9,'icon':Fi}));});Nt[_0x3d6112(0x1fc)]=_0x3d6112(0x146);function Wi(_0x1edf31){const _0x3633b6=_0x3d6112;switch(_0x1edf31){case _0x2623c5[_0x3633b6(0x93)]:return _0x3633b6(0x1af);case _0x2623c5[_0x3633b6(0x107)]:return _0x3633b6(0x1a4);case _0x2623c5[_0x3633b6(0x21f)]:return _0x3633b6(0x20b);case _0x2623c5[_0x3633b6(0x24a)]:return'collabStatus.notCollab';case _0x2623c5[_0x3633b6(0x1bc)]:case _0x2623c5['AWAITING_WITH_PENDING']:return _0x3633b6(0x99);case _0x2623c5['SYNCED']:case _0x2623c5[_0x3633b6(0x164)]:return _0x3633b6(0x1ee);}}function Vi(_0x2bd617){const _0x1f8de1=_0x3d6112,{status$:_0x139a10}=_0x2bd617,_0x1a83af=_0x2c5955(_0x139a10,_0x2623c5[_0x1f8de1(0x24a)]),_0x1d6c5b=_0x3b18fa(_0x3a12f7),_0x1ad728=_0x3b18fa(_0x328520),_0xdc0bac=_0x1a83af!==_0x2623c5[_0x1f8de1(0x93)],_0x4da50c=_0x1d6c5b['t'](Wi(_0x1a83af)),_0x24889c=_0xdc0bac?_0x234927(Nt,{}):_0x234927(Dt,{}),_0x1ba555=_0xd3b2d5(()=>{_0xdc0bac||_0x1ad728['reconnect']();},[_0xdc0bac,_0x1ad728]);function _0x420786(){const _0x2adfc8=_0x1f8de1;return _0x3e1077(_0x2adfc8(0x25d),{'className':_0x2adfc8(0x1d6),'onClick':_0x1ba555,'children':[_0x234927(_0x2adfc8(0x25d),{'className':_0x437ed7(_0x2adfc8(0x183),{'univer-text-green-500':_0xdc0bac,'univer-text-red-500':!_0xdc0bac}),'children':_0x24889c}),_0x234927(_0x2adfc8(0x25d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','children':_0x4da50c})]});}return _0xdc0bac?_0x420786():_0x234927(_0x1db6c5,{'title':_0x1d6c5b['t']('collab-client.tooltip.reconnect'),'children':_0x420786()});}var Xi=Object[_0x3d6112(0xad)],Gi=(_0x2dc34d,_0x54b3d5,_0x2043b7,_0x320d3c)=>{const _0x45800f=_0x3d6112;for(var _0x479841=_0x320d3c>0x1?void 0x0:_0x320d3c?Xi(_0x54b3d5,_0x2043b7):_0x54b3d5,_0x2b5ea9=_0x2dc34d[_0x45800f(0x1e9)]-0x1,_0x32ffbb;_0x2b5ea9>=0x0;_0x2b5ea9--)(_0x32ffbb=_0x2dc34d[_0x2b5ea9])&&(_0x479841=_0x32ffbb(_0x479841)||_0x479841);return _0x479841;},Q=(_0x561800,_0x260982)=>(_0x5f4034,_0x425ba2)=>_0x260982(_0x5f4034,_0x425ba2,_0x561800);let te=class extends _0x4247c1{constructor(_0x2a4be8,_0x41973b,_0x9858b0,_0x1d6293){const _0x284987=_0x3d6112;super(),_(this,_0x284987(0x1e0),new _0x5c61df(_0x2623c5[_0x284987(0x24a)])),(this['_univerInstanceService']=_0x2a4be8,this[_0x284987(0xe5)]=_0x41973b,this[_0x284987(0x117)]=_0x9858b0,this[_0x284987(0xe7)]=_0x1d6293,this[_0x284987(0x125)](),this[_0x284987(0xe1)]());}[_0x3d6112(0xe1)](){const _0x4e5b0e=_0x3d6112;this[_0x4e5b0e(0x121)](this[_0x4e5b0e(0x168)][_0x4e5b0e(0x18d)][_0x4e5b0e(0x1b4)](_0x4bddf2(()=>{const _0xb9249f=_0x4e5b0e,_0x42cf4f=this[_0xb9249f(0x168)][_0xb9249f(0x221)]();return _0x42cf4f?this[_0xb9249f(0x117)]['getCollabEntity$'](_0x42cf4f['getUnitId']()):_0x4d0dc1(null);}),_0x4bddf2(_0x3674ae=>_0x3674ae?_0x3674ae[_0x4e5b0e(0xc4)]:_0x4d0dc1(_0x2623c5[_0x4e5b0e(0x24a)])))['subscribe'](_0x145016=>{const _0x736ffe=_0x4e5b0e;this[_0x736ffe(0x1e0)]['next'](_0x145016);}));}[_0x3d6112(0x125)](){const _0x51707e=_0x3d6112;this[_0x51707e(0x121)](this['_uiPartsService']['registerComponent'](_0xf598a1['HEADER_MENU'],()=>_0x37825b(Ki({'status$':this[_0x51707e(0x1e0)][_0x51707e(0x1b2)]()}),this[_0x51707e(0xe5)])));}};te=Gi([Q(0x0,_0x436d21),Q(0x1,_0x377ebc(_0x18407a)),Q(0x2,_0x377ebc(_0xaf5c2f)),Q(0x3,_0x552950)],te);function Ki(_0x730b0f){const {status$:_0x4114dd}=_0x730b0f;return function(){return _0x234927(Vi,{'status$':_0x4114dd});};}var zi=Object[_0x3d6112(0xad)],Ji=(_0x13fa59,_0x5c1e2c,_0x1d350e,_0x3e0351)=>{for(var _0x24c7a5=_0x3e0351>0x1?void 0x0:_0x3e0351?zi(_0x5c1e2c,_0x1d350e):_0x5c1e2c,_0x3500a1=_0x13fa59['length']-0x1,_0xf5c0f9;_0x3500a1>=0x0;_0x3500a1--)(_0xf5c0f9=_0x13fa59[_0x3500a1])&&(_0x24c7a5=_0xf5c0f9(_0x24c7a5)||_0x24c7a5);return _0x24c7a5;},B=(_0x383693,_0x40be12)=>(_0x3a113a,_0x5a9d17)=>_0x40be12(_0x3a113a,_0x5a9d17,_0x383693);let se=class extends _0x4247c1{constructor(_0x3c2847,_0x43edb3,_0x2e20d7,_0x3db4e8,_0x3df805,_0x5e4ebc){const _0x4c5ba9=_0x3d6112;super(),this[_0x4c5ba9(0x1fd)]=_0x3c2847,this[_0x4c5ba9(0xbe)]=_0x43edb3,this[_0x4c5ba9(0x23d)]=_0x2e20d7,this[_0x4c5ba9(0x218)]=_0x3db4e8,this[_0x4c5ba9(0x1ec)]=_0x3df805,this[_0x4c5ba9(0xab)]=_0x5e4ebc,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x329e5d=_0x3d6112;this[_0x329e5d(0x121)](this[_0x329e5d(0x1fd)][_0x329e5d(0x23f)](()=>{const _0x3948d8=_0x329e5d;if(this[_0x3948d8(0xbe)]['saveTaskMap']['size'])return this[_0x3948d8(0xab)]['t'](_0x3948d8(0x1e7));}));}['_initEvent'](){const _0x3a5204=_0x3d6112;this[_0x3a5204(0x121)](this[_0x3a5204(0x23d)][_0x3a5204(0x1da)][_0x3a5204(0xf5)](_0x5168d2=>{const _0xb85fe8=_0x3a5204;_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x81)]&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this[_0xb85fe8(0xab)]['t']('collaboration.single-unit.warning')}),_0x5168d2['id']===_0x3d558c['CLOSE_ROOM']&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this['_localeService']['t'](_0xb85fe8(0x123))}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x1ad)]&&this[_0xb85fe8(0x1ec)]['show']({'title':this[_0xb85fe8(0xab)]['t']('permission.title'),'content':this[_0xb85fe8(0xab)]['t']('permission.content'),'type':_0xb85fe8(0xa5),'duration':0x0}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x107)]&&this[_0xb85fe8(0x218)]['show']({'type':_0x54d06f[_0xb85fe8(0x16a)],'content':this['_localeService']['t'](_0xb85fe8(0x123))+'('+_0x5168d2[_0xb85fe8(0x276)]+')'}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0xc3)]&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this[_0xb85fe8(0xab)]['t'](_0x5168d2['data']||'')}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x233)]&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0xb1)],'content':this[_0xb85fe8(0xab)]['t'](_0xb85fe8(0x17b))}),_0x5168d2['id']===_0x3d558c[_0xb85fe8(0x1ce)]&&this[_0xb85fe8(0x218)]['show']({'type':_0x54d06f[_0xb85fe8(0x16a)],'content':this[_0xb85fe8(0xab)]['t'](_0xb85fe8(0x242))}),_0x5168d2['id']===_0x3d558c['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xb85fe8(0x218)][_0xb85fe8(0x1d4)]({'type':_0x54d06f[_0xb85fe8(0x16a)],'content':this[_0xb85fe8(0xab)]['t'](_0xb85fe8(0x11c))});}));}};se=Ji([B(0x0,_0x31ff70),B(0x1,_0x1fd64a),B(0x2,_0x377ebc(_0x35fc47)),B(0x3,_0x2c7eb3),B(0x4,_0x57ba6d),B(0x5,_0x377ebc(_0x3a12f7))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x368a83('uni.network.url-service');var Qi=Object[_0x3d6112(0xad)],qi=(_0x54d2cd,_0x5f1b93,_0x541a0f,_0x3d8ca9)=>{const _0x4770ca=_0x3d6112;for(var _0x11d5f4=_0x3d8ca9>0x1?void 0x0:_0x3d8ca9?Qi(_0x5f1b93,_0x541a0f):_0x5f1b93,_0x46d2d5=_0x54d2cd[_0x4770ca(0x1e9)]-0x1,_0x1c126d;_0x46d2d5>=0x0;_0x46d2d5--)(_0x1c126d=_0x54d2cd[_0x46d2d5])&&(_0x11d5f4=_0x1c126d(_0x11d5f4)||_0x11d5f4);return _0x11d5f4;},G=(_0x44c08f,_0x4735f9)=>(_0x3aca3b,_0x5b33d1)=>_0x4735f9(_0x3aca3b,_0x5b33d1,_0x44c08f);let ie=class extends _0x5b42a6{constructor(_0x3790aa,_0x4c0621,_0x4c0f5f,_0x4e724d,_0x400d91){const _0x103202=_0x3d6112;super(),this[_0x103202(0x126)]=_0x3790aa,this['_logService']=_0x4c0621,this['_commandService']=_0x4c0f5f,this['_dataLoaderService']=_0x4e724d,_0x400d91?_0x400d91==null||_0x400d91[_0x103202(0xd2)]()[_0x103202(0x224)](()=>this[_0x103202(0x170)]()):(this['_logService'][_0x103202(0x1c5)]('[CollaborationDataLoaderController]',_0x103202(0x103)),this[_0x103202(0x170)]());}async[_0x3d6112(0x170)](){const _0x5a24b9=_0x3d6112,_0x37cc6b=this[_0x5a24b9(0x126)]['getParam'](_0x5a24b9(0x22e)),_0x205df7=this[_0x5a24b9(0x126)]['getParam'](_0x5a24b9(0x154)),_0x2e5606=this[_0x5a24b9(0x126)][_0x5a24b9(0x116)](_0x5a24b9(0x237));if(!_0x37cc6b||!_0x205df7){this['_logService'][_0x5a24b9(0x1c5)](_0x5a24b9(0x20a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xc4bcbf=await this[_0x5a24b9(0x145)][_0x5a24b9(0x1bf)](_0x37cc6b,Number(_0x205df7),_0x2e5606);_0xc4bcbf&&_0xc4bcbf instanceof _0x1c502f&&this['_setupSubUnitSync'](_0xc4bcbf);}async[_0x3d6112(0x267)](_0x56f8d0){const _0x4995a3=_0x3d6112;await this['_updateSubUnitFromURLParams'](_0x56f8d0),_0x56f8d0[_0x4995a3(0x21d)][_0x4995a3(0x1b4)](_0x972255(this['dispose$']))[_0x4995a3(0xf5)](_0x207b28=>{const _0x3bf1ce=_0x4995a3;_0x207b28&&this[_0x3bf1ce(0x1e1)](_0x207b28);}),this[_0x4995a3(0x126)][_0x4995a3(0x15e)]['pipe'](_0x972255(this[_0x4995a3(0x1ba)]))[_0x4995a3(0xf5)](()=>this[_0x4995a3(0x1ab)](_0x56f8d0));}[_0x3d6112(0x1e1)](_0x3637d7,_0x9291bf=!0x1){const _0x585738=_0x3d6112,_0x497a88=this[_0x585738(0x126)][_0x585738(0x116)]('subunit');_0x3637d7[_0x585738(0x271)]()!==_0x497a88&&this[_0x585738(0x126)][_0x585738(0x1ff)]('subunit',_0x3637d7['getSheetId'](),_0x9291bf);}async[_0x3d6112(0x1ab)](_0x4d0cd0){const _0x1aced6=_0x3d6112;var _0x2467e4;const _0x1d0b61=this[_0x1aced6(0x126)][_0x1aced6(0x116)](_0x1aced6(0x237));if(!_0x1d0b61||!_0x4d0cd0[_0x1aced6(0x150)](_0x1d0b61)){const _0x468766=_0x4d0cd0[_0x1aced6(0x1a5)]()[0x0],_0x17fec8=_0x4d0cd0[_0x1aced6(0x150)](_0x468766);if(!_0x17fec8)return;this[_0x1aced6(0x1e1)](_0x17fec8,!0x0),await this[_0x1aced6(0xf1)]['executeCommand'](_0x11858c['id'],{'unitId':_0x4d0cd0[_0x1aced6(0x10d)](),'subUnitId':_0x468766});return;}((_0x2467e4=_0x4d0cd0[_0x1aced6(0x143)]())==null?void 0x0:_0x2467e4[_0x1aced6(0x271)]())!==_0x1d0b61&&await this[_0x1aced6(0xf1)][_0x1aced6(0x252)](_0x11858c['id'],{'unitId':_0x4d0cd0['getUnitId'](),'subUnitId':_0x1d0b61});}};ie=qi([G(0x0,Ut),G(0x1,_0x1bb699),G(0x2,_0x44b6ac),G(0x3,_0x377ebc(_0x53f527)),G(0x4,_0xf1a2cb(_0x21401e))],ie);var en=Object[_0x3d6112(0xad)],tn=(_0x1ce3d7,_0x5a974e,_0x2cbf3c,_0x29128b)=>{const _0x1862bb=_0x3d6112;for(var _0x5e3d3a=_0x29128b>0x1?void 0x0:_0x29128b?en(_0x5a974e,_0x2cbf3c):_0x5a974e,_0x3438cb=_0x1ce3d7[_0x1862bb(0x1e9)]-0x1,_0x124fd5;_0x3438cb>=0x0;_0x3438cb--)(_0x124fd5=_0x1ce3d7[_0x3438cb])&&(_0x5e3d3a=_0x124fd5(_0x5e3d3a)||_0x5e3d3a);return _0x5e3d3a;},pe=(_0x4f2290,_0x257f6d)=>(_0xdcff49,_0x46fd89)=>_0x257f6d(_0xdcff49,_0x46fd89,_0x4f2290);let ne=class{constructor(_0x487fca,_0x5922b1,_0xdedd10){const _0x297361=_0x3d6112;this[_0x297361(0xe5)]=_0x487fca,this[_0x297361(0xb5)]=_0x5922b1,this[_0x297361(0x1ed)]=_0xdedd10;}['transformIMECache'](_0x3ccbf1){const _0x1fc8a1=_0x3d6112;this[_0x1fc8a1(0x119)](_0x3ccbf1),this[_0x1fc8a1(0x1c2)](_0x3ccbf1);}[_0x3d6112(0x1c8)](_0x329b1e){const _0x197acd=_0x3d6112,{unitID:_0x34dd13}=_0x329b1e,_0x3a90c7=this[_0x197acd(0x1ed)]['getRenderById'](_0x34dd13)[_0x197acd(0x1bd)](_0x5d4131),{redoCache:_0x1d1a63}=_0x3a90c7['getUndoRedoMutationParamsCache']();if(_0x1d1a63[_0x197acd(0x1e9)]===0x0)return _0x329b1e;let _0x45ee48=_0x7a64af['deepClone'](_0x329b1e['mutations'][0x0]);for(let _0x23bff7=0x0;_0x23bff7<_0x1d1a63[_0x197acd(0x1e9)];_0x23bff7++){const _0x4f1dab={'id':_0x197acd(0x1b8),'params':{..._0x1d1a63[_0x23bff7]}},_0x7e36f5=this[_0x197acd(0xb5)][_0x197acd(0x1fb)](_0x45ee48,_0x4f1dab,!0x1);if(_0x1c1a14(_0x7e36f5))throw _0x7e36f5[_0x197acd(0xa5)];_0x45ee48=_0x7e36f5['m1Prime'];}return{..._0x7a64af['deepClone'](_0x329b1e),'mutations':[_0x45ee48]};}[_0x3d6112(0x119)](_0x5e52a3){const _0xed30db=_0x3d6112,{unitID:_0x21d6a3}=_0x5e52a3,_0xcc6dd3=this['_renderManagerService'][_0xed30db(0xfa)](_0x21d6a3)[_0xed30db(0x1bd)](_0x5d4131),{undoCache:_0x19f398,redoCache:_0x37f543}=_0xcc6dd3['getUndoRedoMutationParamsCache']();if(_0x19f398[_0xed30db(0x1e9)]===0x0||_0x37f543[_0xed30db(0x1e9)]===0x0)return;const _0x534e47=[],_0x64efcf=[];let _0x2d6ac2=_0x7a64af[_0xed30db(0x1b6)](_0x5e52a3[_0xed30db(0xa8)][0x0]),_0x2901f5=_0x7a64af['deepClone'](_0x5e52a3[_0xed30db(0xa8)][0x0]);for(let _0x46eaf5=_0x19f398[_0xed30db(0x1e9)]-0x1;_0x46eaf5>=0x0;_0x46eaf5--){const _0x5ffb46={'id':'doc.mutation.rich-text-editing','params':{..._0x19f398[_0x46eaf5]}},_0x317f35={'id':'doc.mutation.rich-text-editing','params':{..._0x37f543[_0x46eaf5]}},_0x444c8f=this[_0xed30db(0xb5)][_0xed30db(0x1fb)](_0x2d6ac2,_0x5ffb46,!0x1),_0xd22acd=this[_0xed30db(0xb5)][_0xed30db(0x1fb)](_0x2901f5,_0x317f35,!0x1);if(_0x1c1a14(_0x444c8f))throw _0x444c8f[_0xed30db(0xa5)];if(_0x1c1a14(_0xd22acd))throw _0xd22acd[_0xed30db(0xa5)];_0x534e47[_0xed30db(0x113)](_0x444c8f[_0xed30db(0x1d1)][_0xed30db(0x96)]),_0x64efcf[_0xed30db(0x113)](_0xd22acd[_0xed30db(0x1d1)][_0xed30db(0x96)]),_0x2d6ac2=_0x444c8f['m1Prime'],_0x2901f5=_0xd22acd[_0xed30db(0x124)];}_0xcc6dd3['setUndoRedoMutationParamsCache']({'undoCache':_0x534e47,'redoCache':_0x64efcf});}['_transformPreviousActiveRange'](_0x1f36be){const _0x23611b=_0x3d6112,{unitID:_0x49bff3}=_0x1f36be,_0x6fa04c=this[_0x23611b(0x1ed)][_0x23611b(0xfa)](_0x49bff3)[_0x23611b(0x1bd)](_0x5d4131),_0x5c0219=_0x6fa04c[_0x23611b(0x122)]();if(_0x5c0219==null)return;const _0x12702d=[{'id':_0x23611b(0x1b8),'params':{'unitId':_0x1f36be[_0x23611b(0x155)],'actions':null,'textRanges':[_0x5c0219]}}],_0x3adbae=this[_0x23611b(0xb5)][_0x23611b(0x269)](_0x1f36be,_0x12702d);if(!_0x43ef65(_0x3adbae))throw _0x3adbae[_0x23611b(0xa5)];const _0x59a47d=_0x3adbae['m2Prime'][0x0]['params'][_0x23611b(0x151)];Array[_0x23611b(0x1d7)](_0x59a47d)&&_0x59a47d[_0x23611b(0x1e9)]&&_0x6fa04c[_0x23611b(0xd5)](_0x59a47d[0x0]);}};ne=tn([pe(0x0,_0x377ebc(_0x18407a)),pe(0x1,_0x4161cd),pe(0x2,_0x1be675)],ne);var sn=Object[_0x3d6112(0xad)],nn=(_0x50bbd7,_0x27ba41,_0x2ffb34,_0x1f9cec)=>{const _0x21e940=_0x3d6112;for(var _0x46671f=_0x1f9cec>0x1?void 0x0:_0x1f9cec?sn(_0x27ba41,_0x2ffb34):_0x27ba41,_0x4626f3=_0x50bbd7[_0x21e940(0x1e9)]-0x1,_0x369e1b;_0x4626f3>=0x0;_0x4626f3--)(_0x369e1b=_0x50bbd7[_0x4626f3])&&(_0x46671f=_0x369e1b(_0x46671f)||_0x46671f);return _0x46671f;},Ce=(_0x1e6f1f,_0x295414)=>(_0x5e8939,_0x19f489)=>_0x295414(_0x5e8939,_0x19f489,_0x1e6f1f);let re=class{constructor(_0x936fc3,_0x1b10f9,_0xb2acc9){const _0x515bdd=_0x3d6112;this[_0x515bdd(0xe5)]=_0x936fc3,this[_0x515bdd(0xb5)]=_0x1b10f9,this[_0x515bdd(0x225)]=_0xb2acc9;}[_0x3d6112(0xc5)](_0x5e7142){const _0x564797=_0x3d6112;this[_0x564797(0x17f)](_0x5e7142);}[_0x3d6112(0x1c8)](_0x4bed6f){const _0x2d3773=_0x3d6112,{unitID:_0x1b8f1a}=_0x4bed6f,{collaboration:_0x31307a}=this[_0x2d3773(0x225)][_0x2d3773(0x172)](_0x1b8f1a);if(_0x31307a[_0x2d3773(0x1e9)]===0x0)return _0x4bed6f;let _0x2b07be=_0x7a64af[_0x2d3773(0x1b6)](_0x4bed6f['mutations'][0x0]);for(let _0x1a1133=0x0;_0x1a1133<_0x31307a[_0x2d3773(0x1e9)];_0x1a1133++){const _0x1a1c48={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31307a[_0x1a1133][_0x2d3773(0x9f)],..._0x31307a[_0x1a1133]['redoState']}},_0x22532f=this[_0x2d3773(0xb5)][_0x2d3773(0x1fb)](_0x2b07be,_0x1a1c48,!0x1);if(_0x1c1a14(_0x22532f))throw _0x22532f['error'];_0x2b07be=_0x22532f[_0x2d3773(0x124)];}return{..._0x7a64af[_0x2d3773(0x1b6)](_0x4bed6f),'mutations':[_0x2b07be]};}['_transformHistoryAndStateStack'](_0x2d1397){const _0x48fe85=_0x3d6112,{unitID:_0x104d15}=_0x2d1397,{history:_0xc9934f,collaboration:_0x150a34}=this['_docStateChangeManagerService'][_0x48fe85(0x172)](_0x104d15);if(_0xc9934f[_0x48fe85(0x1e9)]===0x0&&_0x150a34['length']===0x0)return;const _0x3d411e=[],_0x4ba202=[];let _0x10262e=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]),_0x10e732=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]);for(let _0x1f2ee9=_0xc9934f[_0x48fe85(0x1e9)]-0x1;_0x1f2ee9>=0x0;_0x1f2ee9--){const _0xc2fe9f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xc9934f[_0x1f2ee9]['unitId'],..._0xc9934f[_0x1f2ee9][_0x48fe85(0xf8)]}},_0x2338f1={'id':_0x48fe85(0x1b8),'params':{'unitId':_0xc9934f[_0x1f2ee9]['unitId'],..._0xc9934f[_0x1f2ee9][_0x48fe85(0xf0)]}},_0xb2f8c1=this[_0x48fe85(0xb5)]['transformMutation'](_0x10262e,_0xc2fe9f,!0x1),_0x152e87=this[_0x48fe85(0xb5)][_0x48fe85(0x1fb)](_0x10e732,_0x2338f1,!0x1);if(_0x1c1a14(_0xb2f8c1))throw _0xb2f8c1[_0x48fe85(0xa5)];if(_0x1c1a14(_0x152e87))throw _0x152e87[_0x48fe85(0xa5)];_0x3d411e['unshift']({..._0xc9934f[_0x1f2ee9],'undoState':_0xb2f8c1[_0x48fe85(0x1d1)][_0x48fe85(0x96)],'redoState':_0x152e87[_0x48fe85(0x1d1)][_0x48fe85(0x96)]}),_0x10262e=_0xb2f8c1[_0x48fe85(0x124)],_0x10e732=_0x152e87[_0x48fe85(0x124)];}_0x10262e=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]),_0x10e732=_0x7a64af[_0x48fe85(0x1b6)](_0x2d1397[_0x48fe85(0xa8)][0x0]);for(let _0x9a2a86=_0x150a34[_0x48fe85(0x1e9)]-0x1;_0x9a2a86>=0x0;_0x9a2a86--){const _0x188236={'id':_0x48fe85(0x1b8),'params':{'unitId':_0x150a34[_0x9a2a86]['unitId'],..._0x150a34[_0x9a2a86][_0x48fe85(0xf8)]}},_0x423a2e={'id':_0x48fe85(0x1b8),'params':{'unitId':_0x150a34[_0x9a2a86][_0x48fe85(0x9f)],..._0x150a34[_0x9a2a86][_0x48fe85(0xf0)]}},_0x4970c3=this['_transformService']['transformMutation'](_0x10262e,_0x188236,!0x1),_0x5ea005=this[_0x48fe85(0xb5)][_0x48fe85(0x1fb)](_0x10e732,_0x423a2e,!0x1);if(_0x1c1a14(_0x4970c3))throw _0x4970c3[_0x48fe85(0xa5)];if(_0x1c1a14(_0x5ea005))throw _0x5ea005[_0x48fe85(0xa5)];_0x4ba202[_0x48fe85(0x113)]({..._0x150a34[_0x9a2a86],'undoState':_0x4970c3[_0x48fe85(0x1d1)][_0x48fe85(0x96)],'redoState':_0x5ea005[_0x48fe85(0x1d1)][_0x48fe85(0x96)]}),_0x10262e=_0x4970c3['m1Prime'],_0x10e732=_0x5ea005[_0x48fe85(0x124)];}this['_docStateChangeManagerService'][_0x48fe85(0x12c)](_0x104d15,{'history':_0x3d411e,'collaboration':_0x4ba202});}};re=nn([Ce(0x0,_0x377ebc(_0x18407a)),Ce(0x1,_0x4161cd),Ce(0x2,_0x377ebc(_0x29c109))],re);var rn=Object[_0x3d6112(0xad)],on=(_0x49e3a4,_0x572932,_0x3f5809,_0x38f4a0)=>{const _0x2a1bf0=_0x3d6112;for(var _0x5b2034=_0x38f4a0>0x1?void 0x0:_0x38f4a0?rn(_0x572932,_0x3f5809):_0x572932,_0x576ee7=_0x49e3a4[_0x2a1bf0(0x1e9)]-0x1,_0x3c9f04;_0x576ee7>=0x0;_0x576ee7--)(_0x3c9f04=_0x49e3a4[_0x576ee7])&&(_0x5b2034=_0x3c9f04(_0x5b2034)||_0x5b2034);return _0x5b2034;},tt=(_0xd078df,_0x297107)=>(_0x5cd2ab,_0x16b902)=>_0x297107(_0x5cd2ab,_0x16b902,_0xd078df);let oe=class{constructor(_0x57bb1c,_0x4eab3d){const _0x3c206b=_0x3d6112;this[_0x3c206b(0xe5)]=_0x57bb1c,this[_0x3c206b(0xb5)]=_0x4eab3d;}['transformSelections'](_0x4d784e){const _0x2a0962=_0x3d6112;var _0x350118;const _0x38e090=this[_0x2a0962(0xe5)]['get'](_0x26f622),_0x20d23b=(_0x350118=_0x38e090['getDocRanges']())!=null?_0x350118:[];if(_0x20d23b[_0x2a0962(0x1e9)]===0x0)return;const _0x1b5639=_0x4d784e[_0x2a0962(0x155)],_0x411b3a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b5639,'actions':null,'textRanges':_0x20d23b}}],_0x2f07a8=this['_transformService'][_0x2a0962(0x269)](_0x4d784e,_0x411b3a);if(!_0x43ef65(_0x2f07a8))throw _0x2f07a8[_0x2a0962(0xa5)];const _0x1e6bd3=_0x2f07a8[_0x2a0962(0x1d1)][0x0]['params']['textRanges'];Array[_0x2a0962(0x1d7)](_0x1e6bd3)&&_0x1e6bd3['length']&&_0x38e090[_0x2a0962(0x236)](_0x1e6bd3,{'unitId':_0x1b5639,'subUnitId':_0x1b5639},!0x1);}};oe=on([tt(0x0,_0x377ebc(_0x18407a)),tt(0x1,_0x4161cd)],oe);function _0x8a48(){const _0x33f592=['_registerRenderDependencies','post','InsertColCommandId','save','green.600','_updateSubUnitFromURLParams','_lastPointer','PERMISSION_DENIED','tag','collabStatus.offline','InsertRangeMoveDownCommandId','_draw','asObservable','labelPosition','pipe','DeleteRangeMoveUpCommandId','deepClone','[RemoteUniscriptService]:\x20no\x20focused\x20unit','doc.mutation.rich-text-editing','40jdvkmk','dispose$','UNIVER_SHEET','AWAITING','with','getCellPositionByOffset','loadUnit','INVITE_CODE_HAS_BEEN_UES','80555pXjcvu','_transformPreviousActiveRange','add','clipPath','debug','_roomMembers$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformRemoteChangeset','_drawTextRange','LOGIN_FAILED','_colorAssignService','M0\x200H16V16H0z','addObject','SOCKET_FAILED','Unknown\x20user','findNodePositionByCharIndex','m2Prime','from','APPLY_DUPLICATED','show','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','univer-flex\x20univer-items-center','isArray','UPDATE_CURSOR','getRelativeToViewportCoord','event$','_registerDependencies','7590407Tdqlfo','transformIMECache','CONNECTOR_DATA_TOO_LARGE','_syncEditingCollabCursorService','_status$','_updateURLWithCurrentState','_httpService','getOwnPropertySymbols','_docTransformStateCacheService','_unitOnClients','1001931ZtwXCe','collaboration-client.offline-data-not-saved','getTypeOfUnitAdded$','length','hovered','disableLocalCache','_notificationService','_renderManagerService','collabStatus.synced','body','LICENSE_MAX_UNITS_EXCEEDED','createSocket','disposeUnit','0\x200\x2017\x2016','onLocalMutation','MOBILE_HAS_BEEN_BOUND','530042ESRkZC','12bCeVdm','2IbtOlc','current','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutation','displayName','_beforeCloseService','currentSkeleton$','setParam','toRgbString','subscribeEvent','row','_shapes','_session','getCurrentRevOfUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_anchorDot','INVITE_CODE_REQUIRED','roomMembers','[CollaborationDataLoaderController]','collabStatus.fetchMiss','eventID','pluginName','WECHAT_HAS_BEEN_BOUND','_name','endRow','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','_doCreateSocket','_saveTaskMap','min','string','getSkeleton','location','_messageService','214182weUKKa','href','INVALID_ARGUMENT','_cursors','activeSheet$','NO_OTHER_CLIENTS_EDITING','FETCH_MISS','saveTaskMap','getFocusedUnit','children','SNAPSHOT_INVALID_SNAPSHOT','then','_docStateChangeManagerService','history','ranges','_sheetSkeletonManagerService','red.300','pushState','translate(.97)','onMouseMove','_scheduleSaving','unit','delete','height','currentTheme$','_getAnchorBounding','SOCKET_FAILED_RETRY','_colorIndex','_drawRectRange','replaceDocRanges','subunit','_onRefRangeChange','startColumn','ALREADY_EXISTS','ticket','_handleHeartbeatEvent','_collaborationUIEventService','_docTransformIMECacheService','registerBeforeClose','memberID','assignAColorForMemberID','session.connection-failed','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','_configService','off-line-single','getMember','substring','idSuffix','NOT_COLLAB','18TLzDbM','RECT','getColorFromTheme','assign','registerRenderModule','entityInit$','Failed','executeCommand','InsertRangeMoveRightCommandId','_refreshCollabCursors','collabCursorState$','path','getTypeOfUnitDisposed$','onCommandExecuted','black','color','application/json','INVITE_CODE_ALREADY_BOUND','div','_memberService','source','next','getCurrent','YUUMI_RATE_OVER_LIMIT','COMPLETION_FINISHED','LICENSE_DISTRO_REJECTED','_imageIoService','isActive','_setupSubUnitSync','_color','transformMutationsWithChangeset','getUnitStatus$','complete','getCollabCursors$','cursorInfo$','LICENSE_EXPORT_SIZE_EXCEEDED','collab-text-range-','_backgroundColor','getSheetId','searchParams','_textBubble','size','_themeService','data','measureText','getItem','_handleHover','onTransformChange$','CHANGESET_REVISION_CONFILICT','OTHER_CLIENT_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','OffLineSingle','xlink:href','jiqing.500','_labelPosition','clearTimeout','icon','_updateCollabCursors','_scheduleClearOtherTimer','_render','search','call','runId','_clearOtherTimers','width','_onCursorUpdate','_updateLocalCursor','OFFLINE','unsubscribe','getMemberID','params','onPointerEnter$','getCurrentSelections','collabStatus.syncing','resize','extend','_handleLeaveEvent','replace','_initResize','unitId','1em','result','_cursorInfo$','getValue','collab-rect-range-','error','sessionStatus$','dispose','mutations','_handleEvent','MUTATION','_localeService','name','getOwnPropertyDescriptor','evenodd','replaceState','loadOfflineData','Warning','sheetId','origin','flatMap','_transformService','onPointerLeave$','TOO_MANY_REQUESTS','hide','_saveCache','some','updateOfflineData','round','currentColor','_localCacheService','_range','_cachedData','UNAUTHENTICATED','indexOf','JOIN_ROOM_FAILED','status$','transformStateCache','find','off-line-single_clip0_910_343','_localStorageService','FromArray','stringify','endColumn','startsWith','_cursorShapes','imageSourceType','mask','createInstance','_collabCursorState$','whenReady','selection','on-line-single_clip0_910_349','setActiveRange','code','_assignedColors','get','invokeId','column','newValue','values','_selfUnitIDs','registerRefRange','isEditing','_hideTimer','_initStatusListener','font','fill','318lDFBwa','_injector','roomMembers$','_uiPartsService','SNAPSHOT_HAS_BEEN_REMOVED','setShapeProps','onStarting','YUUMI_AI_RUN_FAILED','trim','executionId','restore','APPLY_REJECT','redoState','_commandService','_toggleOffline','_removeCollabCursors','fillRule','subscribe','RemoveRowCommandId','forEach','undoState','setAlpha','getRenderById','none','_startDocCollabCursor','addEventListener','_removeClearOtherTimer','_eventUnsubscribe','_entities','attrs','_initDependencies','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','#fff','TEXT','...','CONFLICT','text','closePath','runOnServer','on-line-single','1436470SWoaFB','getUnitId','_initCommandExecutedListener','INTERNAL_ERROR','MoveRangeCommandId','selections','push','unshift','YUUMI_ALL_TABLES_IS_INVALID','UNIVER_DOC','getParam','_collaborationController','_heartbeatTimer','_transformUndoRedoStack','_handleJoinEvent','moveTo','session.collaboration-timeout','UNDEFINED','_docSkeletonManagerService','map','_docSyncEditingCollabCursorService','disposeWithMe','getActiveRange','collaboration.closeRoom','m1Prime','_initStatusComponent','_urlService','0\x200\x2016\x2016','unload','send','_getSessionTicket','set','setStateCache','_send','arc','YUUMI_ASYNCIO_CANCELLED','VIEW_MAIN','_config','skeleton','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','blue.400','random','ACTIVE_UNIT_EVENT_CHANNEL','UniverIcon','defs','cursorInfo','_cursor','_toggleOnline','key','range','triggerDblclick','getAncestorScale','_id','concat','subUnitId','getActiveSheet','className','_dataLoaderService','OnLineSingle','fillText','addObjects','_disabled','saveOfflineData','exhaustSavingTask','backgroundColor','generateRandomId','colorChannel1','drawWith','getSheetBySheetId','textRanges','APPLY_NON_SEQUENTIAL_REVISION','_startSheetCollabCursor','type','unitID','getCurrentUnitForType','YUUMI_SUBSCRIPTION_NOT_FOUND','storage','YUUMI_NO_CUBOID_FOR_QUESTION','univerjs-icon\x20univerjs-icon-','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ONLINE','EMAIL_HAS_BEEN_BOUND','urlChange$','_getSaveTimeout','_hovered','onPointerMove$','toString','_unitStatus','PENDING','_hover','_collabSessionService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_univerInstanceService','transformSelections','Error','_getSheetObject','defineProperty','17535700QIdFmW','propertyIsEnumerable','_docClipboardService','_init','url(#on-line-single_clip0_910_349)','getStateCache','split','has','_instanceService','lineTo','USER_NOT_INVITED_CODE','defIds','all','APPLY_PERMISSION_DENIED','session.will-retry','USERS_LEAVE','getConfig','_docSkeleton','_transformHistoryAndStateStack','init','_collabCursorController','PY_RUNTIME_SCRIPT_ERROR','univer-flex\x20univer-mr-2\x20univer-text-xl','NOT_FOUND','_createSocketURL','fillStyle','prototype','_anchor','_onCursorDelete','_context','16PHRuOq','contains','focused$','clearInterval','INVALID_INVITE_CODE','function','actions','requireSession','syncEditingCollabCursor','_scene','apply','max','svg','rgba(255,\x20255,\x20255,\x200.01)','hasOwnProperty','YUUMI_UNABLE_LOAD_URL','_ensureSubject','_drawAnchor','_getScale','_online','_entityInit$','UNRECOGNIZED','_initEntityListener','OTHER_CLIENTS_EDITING','setItem','collabStatus.conflict','getUnhiddenWorksheets'];_0x8a48=function(){return _0x33f592;};return _0x8a48();}var an=Object[_0x3d6112(0xad)],cn=(_0x2993c4,_0x324be8,_0x587409,_0x528755)=>{const _0x204d39=_0x3d6112;for(var _0x468536=_0x528755>0x1?void 0x0:_0x528755?an(_0x324be8,_0x587409):_0x324be8,_0x4fd4d6=_0x2993c4[_0x204d39(0x1e9)]-0x1,_0x357e00;_0x4fd4d6>=0x0;_0x4fd4d6--)(_0x357e00=_0x2993c4[_0x4fd4d6])&&(_0x468536=_0x357e00(_0x468536)||_0x468536);return _0x468536;},U=(_0x19434e,_0x56519c)=>(_0x46f5ba,_0x4068ef)=>_0x56519c(_0x46f5ba,_0x4068ef,_0x19434e);let ae=class extends _0x4247c1{constructor(_0x1b7e46,_0x2d3aaf,_0x39328d,_0x566057,_0x443a85,_0x60a1bb,_0xe52c40,_0x19d489){const _0x159de9=_0x3d6112;super(),_(this,_0x159de9(0x1e0),new _0x5c61df(_0x2623c5['NOT_COLLAB'])),(this[_0x159de9(0x225)]=_0x1b7e46,this[_0x159de9(0x117)]=_0x2d3aaf,this[_0x159de9(0x23e)]=_0x39328d,this[_0x159de9(0x1e4)]=_0x566057,this['_docTransformSelectionsService']=_0x443a85,this[_0x159de9(0x120)]=_0x60a1bb,this['_messageService']=_0xe52c40,this[_0x159de9(0xab)]=_0x19d489,this[_0x159de9(0x1a1)]());}['_initEntityListener'](){const _0x9d2b1c=_0x3d6112;this[_0x9d2b1c(0x121)](this[_0x9d2b1c(0x117)][_0x9d2b1c(0x250)][_0x9d2b1c(0xf5)](_0x5c7b05=>{const _0x29abc2=_0x9d2b1c,_0x367559=this[_0x29abc2(0x225)]['docStateChange$']['subscribe'](_0x198a16=>{const _0x5a1189=_0x29abc2;if(_0x198a16==null)return;const {unitId:_0x4fc96a,redoState:_0x2c32f6,commandId:_0x7a0d49}=_0x198a16;if(_0x4fc96a!==_0x5c7b05[_0x5a1189(0x155)])return;const _0x48fcb2={'id':_0x7a0d49,'type':_0x1245ed[_0x5a1189(0xaa)],'params':{'unitId':_0x4fc96a,'actions':_0x2c32f6[_0x5a1189(0x191)],'textRanges':null}};_0x5c7b05[_0x5a1189(0x1f4)](_0x48fcb2);});if(_0x5c7b05['disposeWithMe'](_0x367559),_0x5c7b05 instanceof _0x53f2c4){const _0x533a2c={'onTransformIME':_0xcf45ba=>this[_0x29abc2(0x23e)][_0x29abc2(0x1dd)](_0xcf45ba),'onTransformState':_0x16a5ef=>this['_docTransformStateCacheService']['transformStateCache'](_0x16a5ef),'onTransformSelections':_0x10cc3e=>this['_docTransformSelectionsService'][_0x29abc2(0x169)](_0x10cc3e),'onSyncEditingCollabCursor':_0x594b41=>this['_docSyncEditingCollabCursorService'][_0x29abc2(0x193)](_0x594b41),'onTransformRemoteChangesetByIMECache':_0x3babc4=>this['_docTransformIMECacheService'][_0x29abc2(0x1c8)](_0x3babc4),'onTransformRemoteChangesetByStateCache':_0x3df546=>this[_0x29abc2(0x1e4)]['transformRemoteChangeset'](_0x3df546)};_0x5c7b05['addHandlerCallback'](_0x533a2c);}}));}};ae=cn([U(0x0,_0x377ebc(_0x29c109)),U(0x1,_0x377ebc(_0xaf5c2f)),U(0x2,_0x377ebc(ne)),U(0x3,_0x377ebc(re)),U(0x4,_0x377ebc(oe)),U(0x5,_0x377ebc(He)),U(0x6,_0x2c7eb3),U(0x7,_0x377ebc(_0x3a12f7))],ae);var ln=Object[_0x3d6112(0xad)],_n=(_0x2d8971,_0x3ecf2f,_0x51d327,_0x4726f5)=>{const _0x4a5d02=_0x3d6112;for(var _0x4e705f=_0x4726f5>0x1?void 0x0:_0x4726f5?ln(_0x3ecf2f,_0x51d327):_0x3ecf2f,_0xa6641f=_0x2d8971[_0x4a5d02(0x1e9)]-0x1,_0x59f0cb;_0xa6641f>=0x0;_0xa6641f--)(_0x59f0cb=_0x2d8971[_0xa6641f])&&(_0x4e705f=_0x59f0cb(_0x4e705f)||_0x4e705f);return _0x4e705f;},Ee=(_0x7d3e6b,_0x48ae92)=>(_0x4bf39d,_0x1b6278)=>_0x48ae92(_0x4bf39d,_0x1b6278,_0x7d3e6b);let we=class extends _0x4247c1{constructor(_0x5767d2,_0xa0417c,_0x350a88){const _0x45001a=_0x3d6112;super(),_(this,'_cachedData',new Map()),_(this,_0x45001a(0x213),new Map()),_(this,_0x45001a(0x149),!0x1),(this['_configService']=_0x5767d2,this['_localStorageService']=_0xa0417c,this['_revisionService']=_0x350a88);}[_0x3d6112(0x1eb)](){const _0x309491=_0x3d6112;this[_0x309491(0x149)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3d6112(0x220)](){const _0x1f4620=_0x3d6112;return this[_0x1f4620(0x213)];}[_0x3d6112(0xa7)](){const _0x5ee3ad=_0x3d6112;this[_0x5ee3ad(0x14b)]()[_0x5ee3ad(0x224)](()=>super[_0x5ee3ad(0xa7)]());}async[_0x3d6112(0xb0)](_0x232288){const _0x190429=_0x3d6112;return this['_disabled']?null:this[_0x190429(0xc8)][_0x190429(0x7d)](_0x15bc90(_0x232288));}async[_0x3d6112(0x14a)](_0x58a605,_0x1c5ba9){const _0x322ed4=_0x3d6112;return!!this[_0x322ed4(0xc8)][_0x322ed4(0x1a3)](_0x58a605,_0x1c5ba9);}[_0x3d6112(0xbb)](_0x5a419b,_0x536f3b,_0x4909a1,_0x2b12ca){const _0x30921e=_0x3d6112,_0x6f286=this['_revisionService'][_0x30921e(0x205)](_0x5a419b);this['_cachedData'][_0x30921e(0x12b)](_0x5a419b,{'unitID':_0x5a419b,'type':_0x536f3b,'awaitingChangeset':_0x4909a1,'mutations':_0x2b12ca,'rev':_0x6f286}),this[_0x30921e(0x213)]['has'](_0x5a419b)||this[_0x30921e(0x22d)](_0x5a419b);}[_0x3d6112(0x22d)](_0x56d34e){const _0x197749=_0x3d6112,_0x4d7cac=this[_0x197749(0x15f)]();_0x4d7cac===0x0?this[_0x197749(0xb9)](_0x56d34e):this['_saveTaskMap']['set'](_0x56d34e,setTimeout(()=>this[_0x197749(0xb9)](_0x56d34e),_0x4d7cac));}[_0x3d6112(0x15f)](){const _0x30e0d2=_0x3d6112;var _0x596b22;return(_0x596b22=this[_0x30e0d2(0x245)][_0x30e0d2(0x17d)](_0x5d2009))!=null?_0x596b22:_0x37174f;}['_saveCache'](_0x2672cf){const _0x179320=_0x3d6112,_0xe819b1=this[_0x179320(0x213)][_0x179320(0xd8)](_0x2672cf);return _0xe819b1!==void 0x0&&window[_0x179320(0x87)](_0xe819b1),this[_0x179320(0xc8)][_0x179320(0x1a3)](_0x15bc90(_0x2672cf),this[_0x179320(0xc0)][_0x179320(0xd8)](_0x2672cf))['then'](()=>this[_0x179320(0x213)][_0x179320(0x22f)](_0x2672cf));}async[_0x3d6112(0x14b)](){const _0x436156=_0x3d6112,_0x99569a=[];this['_saveTaskMap'][_0x436156(0xf7)]((_0x327622,_0x24e24d)=>{const _0x6223eb=_0x436156;window[_0x6223eb(0x87)](_0x327622),_0x99569a[_0x6223eb(0x112)](this[_0x6223eb(0xb9)](_0x24e24d)[_0x6223eb(0x224)](()=>{const _0x49a112=_0x6223eb;this[_0x49a112(0x213)]['delete'](_0x24e24d);}));}),await Promise[_0x436156(0x179)](_0x99569a);}};we=_n([Ee(0x0,_0x2d2e8c),Ee(0x1,_0x37d46a),Ee(0x2,_0x377ebc(_0x560d08))],we);class hn extends _0x5b42a6{constructor(){const _0x12aec1=_0x3d6112;super(),_(this,_0x12aec1(0x15e)),this[_0x12aec1(0x15e)]=_0x5431f8(window,'popstate')[_0x12aec1(0x1b4)](_0x972255(this['dispose$']),_0x1444bd(0x1),_0x36569d(void 0x0));}[_0x3d6112(0x1ff)](_0x1d30dc,_0x4db7b3,_0x3d12e8=!0x1){const _0x18524d=_0x3d6112,_0x228182=new URL(window[_0x18524d(0x217)][_0x18524d(0x21a)]);_0x228182[_0x18524d(0x272)][_0x18524d(0x12b)](_0x1d30dc,_0x4db7b3),_0x3d12e8?window[_0x18524d(0x226)]['replaceState']('','',_0x228182['toString']()):window[_0x18524d(0x226)][_0x18524d(0x22a)]('','',_0x228182[_0x18524d(0x162)]());}['removeParam'](_0x5e3770,_0x4097e7=!0x1){const _0x45f0aa=_0x3d6112,_0x3e04c5=new URL(window[_0x45f0aa(0x217)]['href']);_0x3e04c5['searchParams'][_0x45f0aa(0x22f)](_0x5e3770),_0x4097e7?window[_0x45f0aa(0x226)][_0x45f0aa(0xaf)]('','',_0x3e04c5[_0x45f0aa(0x162)]()):window[_0x45f0aa(0x226)][_0x45f0aa(0x22a)]('','',_0x3e04c5[_0x45f0aa(0x162)]());}[_0x3d6112(0x116)](_0x333f9e){const _0x324e7e=_0x3d6112;var _0x529394;return(_0x529394=new URL(window[_0x324e7e(0x217)]['href'])[_0x324e7e(0x272)][_0x324e7e(0xd8)](_0x333f9e))!=null?_0x529394:void 0x0;}}var un=Object[_0x3d6112(0x16c)],dn=Object[_0x3d6112(0xad)],fn=(_0x17834e,_0x27441,_0x57417c)=>_0x27441 in _0x17834e?un(_0x17834e,_0x27441,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x57417c}):_0x17834e[_0x27441]=_0x57417c,Sn=(_0x4374de,_0x551417,_0x1dadd3,_0x37c9db)=>{const _0xde4b76=_0x3d6112;for(var _0x52ad01=_0x37c9db>0x1?void 0x0:_0x37c9db?dn(_0x551417,_0x1dadd3):_0x551417,_0x361c54=_0x4374de[_0xde4b76(0x1e9)]-0x1,_0x50751e;_0x361c54>=0x0;_0x361c54--)(_0x50751e=_0x4374de[_0x361c54])&&(_0x52ad01=_0x50751e(_0x52ad01)||_0x52ad01);return _0x52ad01;},Oe=(_0x39e856,_0x2cb8e7)=>(_0x1c9576,_0x1f7d1d)=>_0x2cb8e7(_0x1c9576,_0x1f7d1d,_0x39e856),mn=(_0x135264,_0x4f3a1c,_0x3398c7)=>fn(_0x135264,_0x4f3a1c+'',_0x3398c7);const gn=_0x3d6112(0x133);let Ae=class extends _0x32746a{constructor(_0x30a83a=et,_0x3440ab,_0x3b38ac,_0x2d8cae){const _0x1dec8d=_0x3d6112;super(),this[_0x1dec8d(0x131)]=_0x30a83a,this[_0x1dec8d(0x1ed)]=_0x3440ab,this[_0x1dec8d(0xe5)]=_0x3b38ac,this[_0x1dec8d(0x245)]=_0x2d8cae;const {..._0x3725e4}=_0x5beda5({},et,this[_0x1dec8d(0x131)]);this[_0x1dec8d(0x245)]['setConfig'](Zi,_0x3725e4);}[_0x3d6112(0xea)](){const _0x277eee=_0x3d6112;this[_0x277eee(0x1db)](),this[_0x277eee(0x102)]();}['onRendered'](){const _0x4fe472=_0x3d6112;this[_0x4fe472(0x1a6)]();}[_0x3d6112(0x1db)](){const _0x9a0c3a=_0x3d6112;var _0x211b19;const _0x265d69=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x22f0b6,{'useClass':_0x3f9aec}],[_0x1fd64a,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x3d2f0e(this[_0x9a0c3a(0xe5)],_0x8ac12e(_0x265d69,(_0x211b19=this[_0x9a0c3a(0x131)])==null?void 0x0:_0x211b19['override']));}[_0x3d6112(0x1a6)](){const _0x1011f3=_0x3d6112;this[_0x1011f3(0x121)](this[_0x1011f3(0x1ed)][_0x1011f3(0x24f)](_0x5eb008[_0x1011f3(0x115)],[Pe])),this[_0x1011f3(0x121)](this['_renderManagerService'][_0x1011f3(0x24f)](_0x5eb008[_0x1011f3(0x1bb)],[Le]));}[_0x3d6112(0x102)](){const _0x5a3701=_0x3d6112;_0x1ca206(this[_0x5a3701(0xe5)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3d6112(0x20d),gn),Ae=Sn([_0x3fce1a(_0x43157e),Oe(0x1,_0x1be675),Oe(0x2,_0x377ebc(_0x18407a)),Oe(0x3,_0x2d2e8c)],Ae);var In=Object[_0x3d6112(0xad)],vn=(_0x14edcc,_0x15f909,_0x585362,_0x824374)=>{const _0x45fff0=_0x3d6112;for(var _0x28e065=_0x824374>0x1?void 0x0:_0x824374?In(_0x15f909,_0x585362):_0x15f909,_0x4c6151=_0x14edcc[_0x45fff0(0x1e9)]-0x1,_0xee45e8;_0x4c6151>=0x0;_0x4c6151--)(_0xee45e8=_0x14edcc[_0x4c6151])&&(_0x28e065=_0xee45e8(_0x28e065)||_0x28e065);return _0x28e065;},K=(_0x551abd,_0x151d99)=>(_0x1542e5,_0x49d513)=>_0x151d99(_0x1542e5,_0x49d513,_0x551abd);let st=class extends _0x564c51{constructor(_0x18368f,_0x3ea9c5,_0x4ed7d2,_0x5de84b,_0x24377d){super(_0x18368f,_0x3ea9c5,_0x4ed7d2,_0x5de84b,_0x24377d);}async[_0x3d6112(0x1f1)](_0x7bfcef){const _0x1bbb81=_0x3d6112,_0x5b03f7=await this[_0x1bbb81(0x12a)](),_0x440d2f=this[_0x1bbb81(0x185)](_0x7bfcef,_0x5b03f7);return this[_0x1bbb81(0x212)](_0x440d2f);}[_0x3d6112(0x185)](_0x575920,_0x30d7e2){const _0x43ba6c=_0x3d6112,_0x33f2ce=typeof window>'u'?new URL(_0x575920):new URL(_0x575920,window[_0x43ba6c(0x217)][_0x43ba6c(0xb3)]);_0x33f2ce[_0x43ba6c(0x272)]['set']('sessionTicket',_0x30d7e2);const _0x534bdd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x43ba6c(0x8c)]);return _0x534bdd['get'](_0x43ba6c(0x8e))&&_0x33f2ce['searchParams'][_0x43ba6c(0x12b)](_0x43ba6c(0x8e),_0x534bdd[_0x43ba6c(0xd8)]('runId')),_0x33f2ce[_0x43ba6c(0x162)]();}async[_0x3d6112(0x12a)](){const _0x4db112=_0x3d6112;var _0x494b7c,_0x41c730,_0x90301b;const _0x44cff2=this[_0x4db112(0x245)][_0x4db112(0x17d)](_0x5de693),_0x100565=(_0x494b7c=_0x44cff2==null?void 0x0:_0x44cff2['wsSessionTicketUrl'])!=null?_0x494b7c:_0x54f978;return(_0x90301b=(_0x41c730=(await this[_0x4db112(0x1e2)][_0x4db112(0xd8)](_0x100565,{'headers':{'Content-Type':_0x4db112(0x25b)}}))[_0x4db112(0x1ef)])==null?void 0x0:_0x41c730[_0x4db112(0x23b)])!=null?_0x90301b:'';}};st=vn([K(0x0,_0x377ebc(_0x18407a)),K(0x1,_0x377ebc(_0x5229c9)),K(0x2,_0x2d2e8c),K(0x3,_0x1bb699),K(0x4,_0x5434b9)],st);const it=0x7530,nt=_0x3d6112(0x136);class jn extends _0x4247c1{constructor(){const _0x435ea=_0x3d6112;super(),_(this,_0x435ea(0x140),_0x4a3ad7()),_(this,'_selfUnitIDs',new Set()),_(this,_0x435ea(0x1e5),new Map()),_(this,_0x435ea(0x118),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x435ea(0x163),new Map()),this['_init']();}[_0x3d6112(0xa7)](){const _0x5ae272=_0x3d6112;super['dispose'](),this[_0x5ae272(0x8f)][_0x5ae272(0xf7)]((_0xa8955a,_0x23eabf)=>this[_0x5ae272(0xfe)](_0x23eabf)),this[_0x5ae272(0x118)]&&window['clearInterval'](this[_0x5ae272(0x118)]);}[_0x3d6112(0x26a)](_0x123ccf){const _0x2fb6f2=_0x3d6112;return this['_ensureSubject'](_0x123ccf)[_0x2fb6f2(0x1b4)](_0x484b49());}['editingUnit'](_0x51f612){const _0x3801b9=_0x3d6112;this[_0x3801b9(0xdd)][_0x3801b9(0x274)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3801b9(0xdd)]['add'](_0x51f612),this[_0x3801b9(0x12d)]({'type':0x0,'memberID':this[_0x3801b9(0x140)],'unitIDs':[_0x51f612],'isForwarded':!0x1});}[_0x3d6112(0x1f2)](_0x3b1083){const _0x2a4513=_0x3d6112;this['_selfUnitIDs'][_0x2a4513(0x22f)](_0x3b1083),this[_0x2a4513(0xdd)][_0x2a4513(0x274)]===0x0&&this['_heartbeatTimer']&&window[_0x2a4513(0x18e)](this[_0x2a4513(0x118)]);}[_0x3d6112(0x170)](){const _0x277683=_0x3d6112;this[_0x277683(0x121)](_0x31eaac(_0x5431f8(window,_0x277683(0x158))[_0x277683(0xf5)](_0x5e3c8d=>{const _0x19b3a4=_0x277683;if(_0x5e3c8d[_0x19b3a4(0x13c)]!==nt||!_0x5e3c8d[_0x19b3a4(0xdb)])return;const _0x261fb1=JSON['parse'](_0x5e3c8d[_0x19b3a4(0xdb)]);this['_handleEvent'](_0x261fb1);}))),window[_0x277683(0xfd)](_0x277683(0x128),()=>this['_send']({'type':0x1,'memberID':this[_0x277683(0x140)],'unitIDs':Array['from'](this[_0x277683(0xdd)])}));}[_0x3d6112(0xa9)](_0x146eaf){const _0x580065=_0x3d6112;switch(_0x146eaf[_0x580065(0x154)]){case 0x0:this[_0x580065(0x11a)](_0x146eaf);break;case 0x1:this[_0x580065(0x9c)](_0x146eaf);break;case 0x2:this[_0x580065(0x23c)](_0x146eaf);break;}}[_0x3d6112(0x11a)](_0xfa47d5){const _0x142234=_0x3d6112,{unitIDs:_0x158baf,memberID:_0x5a2748,isForwarded:_0x3712ac}=_0xfa47d5;_0x158baf[_0x142234(0xf7)](_0x486e9b=>{const _0x3addbd=_0x142234;if(!_0x3712ac&&this[_0x3addbd(0x1e5)]['has'](_0x486e9b)&&this[_0x3addbd(0x19b)](_0x486e9b)[_0x3addbd(0x260)](_0x3ce189[_0x3addbd(0x1a2)]),!this['_unitOnClients']['has'](_0x486e9b)||!this[_0x3addbd(0x1e5)]['get'](_0x486e9b)['has'](_0x5a2748)){const _0x4ed0aa=this[_0x3addbd(0x1e5)]['get'](_0x486e9b)||new Set();_0x4ed0aa['add'](_0x5a2748),this[_0x3addbd(0x1e5)][_0x3addbd(0x12b)](_0x486e9b,_0x4ed0aa),this[_0x3addbd(0x8a)](_0x5a2748);}}),_0x3712ac||this[_0x142234(0x12d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x142234(0xdd)]],'isForwarded':!0x0});}[_0x3d6112(0x8a)](_0xb039a2){const _0x1c763a=_0x3d6112;this[_0x1c763a(0xfe)](_0xb039a2);const _0x511068=window['setTimeout'](()=>{const _0x271a69=_0x1c763a;this[_0x271a69(0x1e5)][_0x271a69(0xf7)](_0x2340fc=>{const _0x2c9977=_0x271a69;_0x2340fc[_0x2c9977(0x22f)](_0xb039a2);});},it*0x2);this[_0x1c763a(0x8f)][_0x1c763a(0x12b)](_0xb039a2,_0x511068);}[_0x3d6112(0xfe)](_0x425a4b){const _0x2d4883=_0x3d6112;if(this[_0x2d4883(0x8f)]['has'](_0x425a4b)){const _0x1336cf=this[_0x2d4883(0x8f)][_0x2d4883(0xd8)](_0x425a4b);_0x1336cf&&window[_0x2d4883(0x87)](_0x1336cf),this[_0x2d4883(0x8f)][_0x2d4883(0x12b)](_0x425a4b,null);}}['_handleLeaveEvent'](_0x55e56a){const _0x5675f2=_0x3d6112,{memberID:_0x2274a8,unitIDs:_0xa8ca9}=_0x55e56a;_0xa8ca9[_0x5675f2(0xf7)](_0x5891b7=>{const _0x51c2aa=_0x5675f2;var _0x38f3fe;const _0x444d2e=this[_0x51c2aa(0x1e5)][_0x51c2aa(0xd8)](_0x5891b7);_0x444d2e&&(_0x444d2e[_0x51c2aa(0x22f)](_0x2274a8),(_0x38f3fe=this['_ensureSubject'](_0x5891b7))==null||_0x38f3fe[_0x51c2aa(0x260)](_0x444d2e['size']===0x0?_0x3ce189['NO_OTHER_CLIENTS_EDITING']:_0x3ce189[_0x51c2aa(0x1a2)]));}),this[_0x5675f2(0xfe)](_0x2274a8);}[_0x3d6112(0x23c)](_0x37bfcf){const _0x3bad95=_0x3d6112;this[_0x3bad95(0x8a)](_0x37bfcf[_0x3bad95(0x240)]);}[_0x3d6112(0x12d)](_0x50549c){const _0x166f0b=_0x3d6112;localStorage[_0x166f0b(0x1a3)](nt,JSON[_0x166f0b(0xca)](_0x50549c));}['_scheduleHeartbeat'](){const _0x2d80c7=_0x3d6112;this[_0x2d80c7(0x118)]=window['setInterval'](()=>{const _0x2e59e7=_0x2d80c7;this[_0x2e59e7(0x12d)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x344cb6){const _0x1cf30e=_0x3d6112;return this[_0x1cf30e(0x163)]['has'](_0x344cb6)||this['_unitStatus'][_0x1cf30e(0x12b)](_0x344cb6,new _0x5c61df(_0x3ce189[_0x1cf30e(0x21e)])),this[_0x1cf30e(0x163)]['get'](_0x344cb6);}}var Mt=(_0x44b8d4=>(_0x44b8d4[_0x44b8d4[_0x3d6112(0x11d)]=0x0]=_0x3d6112(0x11d),_0x44b8d4[_0x44b8d4['OK']=0x1]='OK',_0x44b8d4[_0x44b8d4[_0x3d6112(0x10f)]=0x2]='INTERNAL_ERROR',_0x44b8d4[_0x44b8d4[_0x3d6112(0x1ad)]=0x3]=_0x3d6112(0x1ad),_0x44b8d4[_0x44b8d4['NOT_FOUND']=0x4]=_0x3d6112(0x184),_0x44b8d4[_0x44b8d4['UNAUTHENTICATED']=0x5]=_0x3d6112(0xc1),_0x44b8d4[_0x44b8d4[_0x3d6112(0x23a)]=0x6]=_0x3d6112(0x23a),_0x44b8d4[_0x44b8d4[_0x3d6112(0x21b)]=0x7]=_0x3d6112(0x21b),_0x44b8d4[_0x44b8d4[_0x3d6112(0xb7)]=0x8]='TOO_MANY_REQUESTS',_0x44b8d4[_0x44b8d4[_0x3d6112(0x263)]=0x9]=_0x3d6112(0x263),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1ca)]=0xa]=_0x3d6112(0x1ca),_0x44b8d4[_0x44b8d4[_0x3d6112(0x80)]=0x1389]=_0x3d6112(0x80),_0x44b8d4[_0x44b8d4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3d6112(0x223),_0x44b8d4[_0x44b8d4[_0x3d6112(0xe8)]=0x1772]=_0x3d6112(0xe8),_0x44b8d4[_0x44b8d4[_0x3d6112(0x244)]=0x1773]=_0x3d6112(0x244),_0x44b8d4[_0x44b8d4[_0x3d6112(0xef)]=0x1b59]=_0x3d6112(0xef),_0x44b8d4[_0x44b8d4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3d6112(0x152),_0x44b8d4[_0x44b8d4['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x44b8d4[_0x44b8d4[_0x3d6112(0x17a)]=0x1b5c]=_0x3d6112(0x17a),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1d3)]=0x1b5d]=_0x3d6112(0x1d3),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1de)]=0x1f41]=_0x3d6112(0x1de),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1f0)]=0x2329]=_0x3d6112(0x1f0),_0x44b8d4[_0x44b8d4[_0x3d6112(0x15b)]=0x232a]=_0x3d6112(0x15b),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1fa)]=0x232b]=_0x3d6112(0x1fa),_0x44b8d4[_0x44b8d4[_0x3d6112(0x26e)]=0x232c]=_0x3d6112(0x26e),_0x44b8d4[_0x44b8d4[_0x3d6112(0x264)]=0x232d]=_0x3d6112(0x264),_0x44b8d4[_0x44b8d4['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3d6112(0x19a),_0x44b8d4[_0x44b8d4[_0x3d6112(0x82)]=0x2712]=_0x3d6112(0x82),_0x44b8d4[_0x44b8d4[_0x3d6112(0x262)]=0x2713]=_0x3d6112(0x262),_0x44b8d4[_0x44b8d4['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3d6112(0x157),_0x44b8d4[_0x44b8d4['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3d6112(0x159),_0x44b8d4[_0x44b8d4[_0x3d6112(0x12f)]=0x271b]=_0x3d6112(0x12f),_0x44b8d4[_0x44b8d4[_0x3d6112(0x167)]=0x271c]=_0x3d6112(0x167),_0x44b8d4[_0x44b8d4[_0x3d6112(0x114)]=0x271d]=_0x3d6112(0x114),_0x44b8d4[_0x44b8d4[_0x3d6112(0x206)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x44b8d4[_0x44b8d4['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3d6112(0xeb),_0x44b8d4[_0x44b8d4[_0x3d6112(0x182)]=0x2af9]=_0x3d6112(0x182),_0x44b8d4[_0x44b8d4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3d6112(0x1c0),_0x44b8d4[_0x44b8d4[_0x3d6112(0x18f)]=0x2ee2]=_0x3d6112(0x18f),_0x44b8d4[_0x44b8d4['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3d6112(0x208),_0x44b8d4[_0x44b8d4[_0x3d6112(0x177)]=0x2ee4]=_0x3d6112(0x177),_0x44b8d4[_0x44b8d4[_0x3d6112(0x25c)]=0x2ee5]=_0x3d6112(0x25c),_0x44b8d4[_0x44b8d4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3d6112(0x20e),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1f5)]=0x32ca]=_0x3d6112(0x1f5),_0x44b8d4[_0x44b8d4[_0x3d6112(0x15d)]=0x32cb]=_0x3d6112(0x15d),_0x44b8d4[_0x44b8d4[_0x3d6112(0x1a0)]=-0x1]=_0x3d6112(0x1a0),_0x44b8d4))(Mt||{}),pn=Object[_0x3d6112(0xad)],Cn=(_0x5785cd,_0x4c2ff1,_0x2902e9,_0x515249)=>{const _0x2ba6c4=_0x3d6112;for(var _0x285e8c=_0x515249>0x1?void 0x0:_0x515249?pn(_0x4c2ff1,_0x2902e9):_0x4c2ff1,_0x2ca7a9=_0x5785cd[_0x2ba6c4(0x1e9)]-0x1,_0x1e4322;_0x2ca7a9>=0x0;_0x2ca7a9--)(_0x1e4322=_0x5785cd[_0x2ca7a9])&&(_0x285e8c=_0x1e4322(_0x285e8c)||_0x285e8c);return _0x285e8c;},be=(_0x897026,_0x39264c)=>(_0x2233e1,_0x3c2d23)=>_0x39264c(_0x2233e1,_0x3c2d23,_0x897026);let rt=class extends _0x4247c1{constructor(_0x559ea4,_0x2d6885,_0x1e67b2){const _0x5aba87=_0x3d6112;super(),this[_0x5aba87(0x175)]=_0x559ea4,this[_0x5aba87(0x1e2)]=_0x2d6885,this[_0x5aba87(0x245)]=_0x1e67b2;}async[_0x3d6112(0x10a)](_0x178373,_0x580e24,_0x3c73c9,..._0x4798ca){const _0x3561db=_0x3d6112;var _0x44d8b8,_0x83e453,_0x557da3,_0x916960;const _0x243f54=this[_0x3561db(0x175)][_0x3561db(0x221)]();if(!_0x243f54)throw new Error(_0x3561db(0x1b7));const _0x12b2c6=((_0x44d8b8=this[_0x3561db(0x245)]['getConfig'](_0x1b51fb))!=null?_0x44d8b8:_0x1c8d1d)+'/'+_0x178373+'/run/'+_0x580e24,_0x1618d0=new URL(window[_0x3561db(0x217)]['href']),_0x28ae85={'scriptId':_0x178373,'runId':(_0x83e453=_0x1618d0[_0x3561db(0x272)][_0x3561db(0xd8)](_0x3561db(0x8e)))!=null?_0x83e453:'','function':_0x580e24,'unitId':_0x243f54[_0x3561db(0x10d)](),'argsOfFunction':JSON[_0x3561db(0xca)](_0x4798ca),'invokeId':(_0x557da3=_0x3c73c9[_0x3561db(0xd9)])!=null?_0x557da3:'','executionId':(_0x916960=_0x3c73c9[_0x3561db(0xed)])!=null?_0x916960:''};try{const _0x597849=await this['_httpService'][_0x3561db(0x1a7)](_0x12b2c6,{'body':_0x28ae85});return _0x597849['body'][_0x3561db(0xa5)]&&_0x597849['body'][_0x3561db(0xa5)][_0x3561db(0xd6)]!==Mt['OK']?_0x3561db(0x251):_0x597849[_0x3561db(0x1ef)][_0x3561db(0xa1)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x436d21),be(0x1,_0x377ebc(_0x5229c9)),be(0x2,_0x2d2e8c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x238e(){const _0x23a773=['396858akIydl','1014275JIVHdy','1791toqHwJ','537bKXGQe','5030FFWMeg','Edit\x20conflicts','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','2cdcJje','1179DVmfOF','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.','6lQsRXP','3338848anHWIK','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','6555483pGdKMp','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','9596wGkLTW'];_0x238e=function(){return _0x23a773;};return _0x238e();}function _0x3206(_0x5673c9,_0x2ac090){const _0x238ec5=_0x238e();return _0x3206=function(_0x3206c4,_0x17c633){_0x3206c4=_0x3206c4-0x12e;let _0x1e5208=_0x238ec5[_0x3206c4];return _0x1e5208;},_0x3206(_0x5673c9,_0x2ac090);}const _0x50fff1=_0x3206;(function(_0x573c8c,_0x2fb5f2){const _0x2f746d=_0x3206,_0x501a1f=_0x573c8c();while(!![]){try{const _0x42ea2f=parseInt(_0x2f746d(0x13a))/0x1*(-parseInt(_0x2f746d(0x139))/0x2)+-parseInt(_0x2f746d(0x135))/0x3*(-parseInt(_0x2f746d(0x131))/0x4)+parseInt(_0x2f746d(0x133))/0x5+parseInt(_0x2f746d(0x13c))/0x6*(-parseInt(_0x2f746d(0x132))/0x7)+parseInt(_0x2f746d(0x13d))/0x8+-parseInt(_0x2f746d(0x134))/0x9*(parseInt(_0x2f746d(0x136))/0xa)+-parseInt(_0x2f746d(0x141))/0xb;if(_0x42ea2f===_0x2fb5f2)break;else _0x501a1f['push'](_0x501a1f['shift']());}catch(_0x508882){_0x501a1f['push'](_0x501a1f['shift']());}}}(_0x238e,0x4831d));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x50fff1(0x137),'notCollab':_0x50fff1(0x12f),'synced':'Synced','syncing':_0x50fff1(0x142),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x50fff1(0x12e),'will-retry':_0x50fff1(0x140),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x50fff1(0x13b)},'permission':{'title':'Authentication\x20Error','content':_0x50fff1(0x130)},'collaboration':{'single-unit':{'warning':_0x50fff1(0x138)},'closeRoom':_0x50fff1(0x13f)},'auth':{'needGotoLoginAlert':_0x50fff1(0x13e)}};export{e as default};
1
+ const _0x350a32=_0x3c38;function _0xf83e(){const _0x2b3052=['64qorCli','Local\x20file','20Kntnaz','143485aYeSxm','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2050281vKrUmZ','8866693OpeLaN','Click\x20to\x20Reconnect','Syncing...','1528956JGvHgx','108783SBxuGb','27YuMiAh','5774abLreI','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','186249cHUxkK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10OoRUCZ'];_0xf83e=function(){return _0x2b3052;};return _0xf83e();}(function(_0x23bdb5,_0x348b44){const _0x522fc3=_0x3c38,_0x4cd6d0=_0x23bdb5();while(!![]){try{const _0x2752c3=-parseInt(_0x522fc3(0x1bb))/0x1+parseInt(_0x522fc3(0x1bd))/0x2*(parseInt(_0x522fc3(0x1bc))/0x3)+parseInt(_0x522fc3(0x1b3))/0x4*(parseInt(_0x522fc3(0x1b4))/0x5)+-parseInt(_0x522fc3(0x1ba))/0x6+parseInt(_0x522fc3(0x1c3))/0x7*(-parseInt(_0x522fc3(0x1b1))/0x8)+parseInt(_0x522fc3(0x1b6))/0x9*(-parseInt(_0x522fc3(0x1b0))/0xa)+parseInt(_0x522fc3(0x1b7))/0xb;if(_0x2752c3===_0x348b44)break;else _0x4cd6d0['push'](_0x4cd6d0['shift']());}catch(_0x3ce7c8){_0x4cd6d0['push'](_0x4cd6d0['shift']());}}}(_0xf83e,0x29cf9));function _0x3c38(_0x16633e,_0x362a25){const _0xf83e63=_0xf83e();return _0x3c38=function(_0x3c3860,_0x539fef){_0x3c3860=_0x3c3860-0x1af;let _0x3cf356=_0xf83e63[_0x3c3860];return _0x3cf356;},_0x3c38(_0x16633e,_0x362a25);}const e={'collab-client':{'tooltip':{'reconnect':_0x350a32(0x1b8)}},'collabStatus':{'fetchMiss':_0x350a32(0x1c5),'conflict':_0x350a32(0x1be),'notCollab':_0x350a32(0x1b2),'synced':_0x350a32(0x1c1),'syncing':_0x350a32(0x1b9),'offline':_0x350a32(0x1c2)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x350a32(0x1b5),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x350a32(0x1af)},'collaboration':{'single-unit':{'warning':_0x350a32(0x1c4)},'closeRoom':_0x350a32(0x1bf)},'auth':{'needGotoLoginAlert':_0x350a32(0x1c0)}};export{e as default};
@@ -1 +1 @@
1
- const _0x1b3911=_0x4e0f;function _0x14ea(){const _0x5ae769=['اعمال\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رفت.','4349457WteQzG','11mITyPz','4nsQqIi','خطای\x20اعتبارسنجی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','3721DTWkCQ','18DNzKGa','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','7885788NxuCrx','112gYRxZY','برای\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کنید.','6660580HTWNjH','10693210WXyEut','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','6217932WImFgE','در\x20حال\x20همگام\x20سازی...','4068368XZwOun','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.'];_0x14ea=function(){return _0x5ae769;};return _0x14ea();}(function(_0x1f3516,_0x250194){const _0x39508b=_0x4e0f,_0x2e87a3=_0x1f3516();while(!![]){try{const _0x288764=parseInt(_0x39508b(0x180))/0x1*(parseInt(_0x39508b(0x184))/0x2)+parseInt(_0x39508b(0x17b))/0x3*(parseInt(_0x39508b(0x17d))/0x4)+-parseInt(_0x39508b(0x187))/0x5+parseInt(_0x39508b(0x183))/0x6+-parseInt(_0x39508b(0x18a))/0x7+-parseInt(_0x39508b(0x174))/0x8*(parseInt(_0x39508b(0x181))/0x9)+-parseInt(_0x39508b(0x188))/0xa*(-parseInt(_0x39508b(0x17c))/0xb);if(_0x288764===_0x250194)break;else _0x2e87a3['push'](_0x2e87a3['shift']());}catch(_0x200fae){_0x2e87a3['push'](_0x2e87a3['shift']());}}}(_0x14ea,0xc45ea));function _0x4e0f(_0x3fff41,_0x5a0514){const _0x14ea52=_0x14ea();return _0x4e0f=function(_0x4e0f32,_0x41ef3f){_0x4e0f32=_0x4e0f32-0x174;let _0x541714=_0x14ea52[_0x4e0f32];return _0x541714;},_0x4e0f(_0x3fff41,_0x5a0514);}const o={'collab-client':{'tooltip':{'reconnect':_0x1b3911(0x185)}},'collabStatus':{'fetchMiss':_0x1b3911(0x176),'conflict':_0x1b3911(0x177),'notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':_0x1b3911(0x18b),'offline':_0x1b3911(0x17f)},'session':{'connection-failed':_0x1b3911(0x179),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1b3911(0x189),'collaboration-timeout':_0x1b3911(0x175)},'conflict':{'title':'تداخل\x20همکاری','content':_0x1b3911(0x178)},'permission':{'title':_0x1b3911(0x17e),'content':_0x1b3911(0x17a)},'collaboration':{'single-unit':{'warning':_0x1b3911(0x186)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x1b3911(0x182)}};export{o as default};
1
+ const _0x148a45=_0x1a8b;function _0x1a8b(_0x1cd308,_0x10cb95){const _0x31ed4a=_0x31ed();return _0x1a8b=function(_0x1a8b47,_0x566ca1){_0x1a8b47=_0x1a8b47-0xb3;let _0x137c41=_0x31ed4a[_0x1a8b47];return _0x137c41;},_0x1a8b(_0x1cd308,_0x10cb95);}function _0x31ed(){const _0x1d6569=['اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','1841iwUinU','4pNggwr','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','275166qsMWhi','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','806tWOWMV','1105716zbRwAM','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','13670zENAyQ','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','7325820xaHxbQ','تداخل\x20ویرایش','همگام\x20سازی','3949aIhNMx','در\x20حال\x20همگام\x20سازی...','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','156840vDNIJX','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','349053oaZUGI','6yPPdRq','خطای\x20اعتبارسنجی','14472HipPRb','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','80aHoKds'];_0x31ed=function(){return _0x1d6569;};return _0x31ed();}(function(_0x34aed9,_0x5ed45c){const _0x3e8b68=_0x1a8b,_0x52a39f=_0x34aed9();while(!![]){try{const _0x136553=-parseInt(_0x3e8b68(0xc5))/0x1*(-parseInt(_0x3e8b68(0xb4))/0x2)+-parseInt(_0x3e8b68(0xc6))/0x3*(-parseInt(_0x3e8b68(0xb9))/0x4)+-parseInt(_0x3e8b68(0xca))/0x5*(parseInt(_0x3e8b68(0xb6))/0x6)+parseInt(_0x3e8b68(0xb3))/0x7*(parseInt(_0x3e8b68(0xc8))/0x8)+parseInt(_0x3e8b68(0xbd))/0x9+-parseInt(_0x3e8b68(0xbb))/0xa*(parseInt(_0x3e8b68(0xc0))/0xb)+parseInt(_0x3e8b68(0xc3))/0xc*(-parseInt(_0x3e8b68(0xb8))/0xd);if(_0x136553===_0x5ed45c)break;else _0x52a39f['push'](_0x52a39f['shift']());}catch(_0x1ac341){_0x52a39f['push'](_0x52a39f['shift']());}}}(_0x31ed,0x7b7f2));const o={'collab-client':{'tooltip':{'reconnect':_0x148a45(0xc9)}},'collabStatus':{'fetchMiss':_0x148a45(0xc2),'conflict':_0x148a45(0xbe),'notCollab':'پرونده\x20محلی','synced':_0x148a45(0xbf),'syncing':_0x148a45(0xc1),'offline':_0x148a45(0xc4)},'session':{'connection-failed':_0x148a45(0xba),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x148a45(0xcb),'collaboration-timeout':_0x148a45(0xb5)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x148a45(0xc7),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x148a45(0xb7)},'closeRoom':_0x148a45(0xcc)},'auth':{'needGotoLoginAlert':_0x148a45(0xbc)}};export{o as default};