@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506191607 → 0.8.1

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 _0x101b2d=_0x1706;(function(_0x27b6c2,_0x9fa8e0){const _0xa16fa4=_0x1706,_0x211215=_0x27b6c2();while(!![]){try{const _0x1871e5=-parseInt(_0xa16fa4(0x2a4))/0x1*(parseInt(_0xa16fa4(0x2bb))/0x2)+parseInt(_0xa16fa4(0x2c2))/0x3*(-parseInt(_0xa16fa4(0x1f6))/0x4)+parseInt(_0xa16fa4(0x2f8))/0x5+parseInt(_0xa16fa4(0x162))/0x6*(parseInt(_0xa16fa4(0x311))/0x7)+parseInt(_0xa16fa4(0x2dd))/0x8+parseInt(_0xa16fa4(0x173))/0x9*(parseInt(_0xa16fa4(0x1ca))/0xa)+-parseInt(_0xa16fa4(0x32f))/0xb;if(_0x1871e5===_0x9fa8e0)break;else _0x211215['push'](_0x211215['shift']());}catch(_0x3ea2bc){_0x211215['push'](_0x211215['shift']());}}}(_0x82c1,0xb05ec));var $t=Object[_0x101b2d(0x2de)],xt=(_0x1107b2,_0x5d13eb,_0x412498)=>_0x5d13eb in _0x1107b2?$t(_0x1107b2,_0x5d13eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x412498}):_0x1107b2[_0x5d13eb]=_0x412498,_=(_0x500aa4,_0xe920f9,_0x250882)=>xt(_0x500aa4,typeof _0xe920f9!=_0x101b2d(0x1b9)?_0xe920f9+'':_0xe920f9,_0x250882);import{MemberService as _0x20617b,SessionStatus as _0x561bcf,CollaborationSessionService as _0x352e5d,CollaborationStatus as _0x3843bb,CollaborationController as _0x80ddbe,ILocalCacheService as _0x55999b,CollaborationUIEventService as _0x4645f6,CollaborationUIEventId as _0x4b9a28,DataLoaderService as _0x371b30,DocCollaborationEntity as _0x238a62,getLocalCacheKey as _0x4fbd4e,LOCAL_CACHE_INTERVAL as _0x8ebb76,LOCAL_CACHE_INTERVAL_KEY as _0x5a6c3b,UniverCollaborationClientPlugin as _0x42a2eb,CollaborationSocketService as _0x356620,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x8df6aa,DEFAULT_WS_SESSION_TICKET_URL as _0x4ba172,UnitStatus as _0x4edacb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1e87e0,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x31e98b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x26536e,Disposable as _0x5d992a,DOC_RANGE_TYPE as _0x5eb485,Inject as _0x412f34,Injector as _0x5734b6,IUniverInstanceService as _0xc3619b,ICommandService as _0xa77dc6,debounce as _0x6b1a0f,Rectangle as _0x19520d,DisposableCollection as _0x260da7,toDisposable as _0x28bae3,UniverInstanceType as _0xcf709f,Tools as _0x2a3c54,COLORS as _0x32ab1b,ColorKit as _0x1e7e40,ThemeService as _0x50e9c8,fromEventSubject as _0x1484c6,LocaleService as _0x2f8db4,createIdentifier as _0x5cf3d3,ILogService as _0x49d917,Optional as _0x28aeef,Workbook as _0x898749,CommandType as _0x5c0bdc,IConfigService as _0x13e366,ILocalStorageService as _0x54e307,DependentOn as _0x3a8c20,Plugin as _0x5ef0c3,merge as _0x78722b,registerDependencies as _0x183f09,mergeOverrideWithDependencies as _0x456b3d,touchDependencies as _0x104d7e,generateRandomId as _0x4c9b9a}from'@univerjs/core';import{Shape as _0x2a3652,Rect as _0x3d537b,getColor as _0x314c84,RegularPolygon as _0x208794,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x51560e,Vector2 as _0xac78c0,SHEET_VIEWPORT_KEY as _0x254e58,IRenderManagerService as _0x472ea2}from'@univerjs/engine-render';import{ISocketService as _0x28d7f0,WebSocketService as _0x5afffe,HTTPService as _0x32db5f}from'@univerjs/network';import{IDocClipboardService as _0x19445b,NodePositionConvertToCursor as _0x328ca9,NodePositionConvertToRectRange as _0x4d23c4,TEXT_RANGE_LAYER_INDEX as _0x17a1bc,SetDocZoomRatioOperation as _0x52aca4,DocIMEInputManagerService as _0x122b5c,DocStateChangeManagerService as _0xe74f9b}from'@univerjs/docs-ui';import{IImageIoService as _0x4edb7e}from'@univerjs/drawing';import{BehaviorSubject as _0x41fdad,debounceTime as _0x3718ed,takeUntil as _0xfd7c4,Subject as _0xe19f7d,filter as _0x40563a,switchMap as _0x15b45b,merge as _0x1c81a4,combineLatest as _0x48820a,of as _0x557760,fromEvent as _0x3c49fd,shareReplay as _0x3f433b,mapTo as _0x44d52f,distinctUntilChanged as _0x26f898}from'rxjs';import{SetTextSelectionsOperation as _0x24409c,RichTextEditingMutation as _0xe372df,DocSelectionManagerService as _0x3a0ec0,DocSkeletonManagerService as _0x585d6e}from'@univerjs/docs';import{ITransformService as _0x4f8e7d,CollaborationEvent as _0xed478a,isTransformMutationFailure as _0xe1a8c3,isTransformMutationsWithChangesetSuccess as _0x220a8f,RevisionService as _0xf00258,ISnapshotServerService as _0x4f4740}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1e17be,serializeRangeWithSheet as _0x3ccf5a}from'@univerjs/engine-formula';import{RefRangeService as _0x2e003e,SetSelectionsOperation as _0x233fea,SheetsSelectionsService as _0xb15271,EffectRefRangId as _0x1d5700,handleIRemoveRow as _0x28a915,handleIRemoveCol as _0x434356,handleMoveRange as _0x27ef59,handleInsertRow as _0x2fd4e6,handleInsertRangeMoveRight as _0xf48d30,handleInsertRangeMoveDown as _0x4357a5,handleInsertCol as _0x4524f5,handleDeleteRangeMoveUp as _0x4684d6,handleDeleteRangeMoveLeft as _0x133582,runRefRangeMutations as _0x3ea665,SetWorksheetActivateCommand as _0x107c84}from'@univerjs/sheets';import{map as _0x4f27de,filter as _0x38c68e,throttleTime as _0x4d6baa,takeUntil as _0x3ec5bf,switchMap as _0x5a8ed8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2e277b,getCoordByCell as _0x1ac391,getSheetObject as _0x4a3ab9}from'@univerjs/sheets-ui';import{jsx as _0x225feb,jsxs as _0x13803a}from'react/jsx-runtime';import{useObservable as _0x5ba64b,useDependency as _0x34c4fd,IUIPartsService as _0x226130,BuiltInUIPart as _0x22aa45,connectInjector as _0xe013cc,IBeforeCloseService as _0x340c2b,IMessageService as _0x1f8231,INotificationService as _0x47a4f4}from'@univerjs/ui';import{Tooltip as _0x46b990,clsx as _0x22505c,MessageType as _0x305fc7}from'@univerjs/design';import{forwardRef as _0x27eda4,useRef as _0x52d2c5,createElement as _0x54f6b3,useCallback as _0x272299}from'react';import{IRemoteInstanceService as _0x4d1629}from'@univerjs/rpc';var ci=Object[_0x101b2d(0x172)],li=(_0x8221f7,_0x4a16f3,_0x32fe5d,_0x34f19d)=>{const _0x5a2f73=_0x101b2d;for(var _0x10ed27=_0x34f19d>0x1?void 0x0:_0x34f19d?ci(_0x4a16f3,_0x32fe5d):_0x4a16f3,_0x40ee3a=_0x8221f7[_0x5a2f73(0x24b)]-0x1,_0x45e111;_0x40ee3a>=0x0;_0x40ee3a--)(_0x45e111=_0x8221f7[_0x40ee3a])&&(_0x10ed27=_0x45e111(_0x10ed27)||_0x10ed27);return _0x10ed27;},Je=(_0x6d5bc6,_0x44baa0)=>(_0x5e2355,_0x2fb42a)=>_0x44baa0(_0x5e2355,_0x2fb42a,_0x6d5bc6);let Ne=class extends _0x26536e{constructor(_0x13b92c,_0x4df27a){const _0x36ddfe=_0x101b2d;super(),this[_0x36ddfe(0x174)]=_0x13b92c,this[_0x36ddfe(0x27c)]=_0x4df27a,this[_0x36ddfe(0x230)]();}[_0x101b2d(0x230)](){const _0x5a368d=_0x101b2d,_0x5bb5ea=this;this['disposeWithMe'](this['_docClipboardService'][_0x5a368d(0x278)]({'onBeforePasteImage':async _0x53e4bb=>{const _0xe20522=_0x5a368d,_0x172dfc=await _0x5bb5ea[_0xe20522(0x27c)][_0xe20522(0x170)](_0x53e4bb);return _0x172dfc?{'source':_0x172dfc['source'],'imageSourceType':_0x172dfc[_0xe20522(0x2ca)]}:null;}}));}};Ne=li([Je(0x0,_0x19445b),Je(0x1,_0x4edb7e)],Ne);const Ze=[_0x101b2d(0x2d0),_0x101b2d(0x21b),_0x101b2d(0x1e9),_0x101b2d(0x29a),'blue.400',_0x101b2d(0x2a6)];function _0x1706(_0xa9203e,_0x16c31c){const _0x82c1c9=_0x82c1();return _0x1706=function(_0x1706a7,_0x495594){_0x1706a7=_0x1706a7-0x146;let _0x3857bd=_0x82c1c9[_0x1706a7];return _0x3857bd;},_0x1706(_0xa9203e,_0x16c31c);}class ke extends _0x5d992a{constructor(){const _0x5033e0=_0x101b2d;super(...arguments),_(this,_0x5033e0(0x2a2),new Map()),_(this,_0x5033e0(0x152),0x0);}[_0x101b2d(0x1e6)](_0x3b8a6f){const _0x2ba98e=_0x101b2d;if(this[_0x2ba98e(0x2a2)][_0x2ba98e(0x1b4)](_0x3b8a6f))return this[_0x2ba98e(0x2a2)][_0x2ba98e(0x23e)](_0x3b8a6f);const _0x3be92e=Ze[this[_0x2ba98e(0x152)]];return this[_0x2ba98e(0x152)]=(this[_0x2ba98e(0x152)]+0x1)%Ze[_0x2ba98e(0x24b)],this[_0x2ba98e(0x2a2)][_0x2ba98e(0x213)](_0x3b8a6f,_0x3be92e),_0x3be92e;}}function Tt(_0x5d0193){const _0x1eb20b=_0x101b2d;let _0x11927d='';for(const _0x181b80 of _0x5d0193){const {startOffset:_0x35bf98,endOffset:_0x57e284,isActive:_0x24f7ae,rangeType:_0x1b98ae,segmentId:_0x42572a,segmentPage:_0x167f92}=_0x181b80;_0x11927d[_0x1eb20b(0x24b)]&&(_0x11927d+=','),_0x11927d+=_0x35bf98+':'+_0x57e284+':'+(_0x24f7ae?'1':'0')+':'+_0x1b98ae+':'+_0x42572a+':'+_0x167f92;}return _0x11927d;}function _i(_0x7aef25){const _0x237b23=_0x101b2d,_0x51a751=_0x7aef25['split'](','),_0x483827=[];for(const _0x115782 of _0x51a751){const [_0x2e4e8d,_0x526cdc,_0x2b3862,_0x16dd99,_0x32920a,_0x59c709]=_0x115782[_0x237b23(0x301)](':');_0x483827[_0x237b23(0x262)]({'startOffset':Number(_0x2e4e8d),'endOffset':Number(_0x526cdc),'collapsed':_0x2e4e8d===_0x526cdc,'isActive':_0x2b3862==='1','rangeType':_0x16dd99===_0x5eb485[_0x237b23(0x1a2)]?_0x5eb485['TEXT']:_0x5eb485[_0x237b23(0x256)],'segmentId':typeof _0x32920a=='string'?String(_0x32920a):'','segmentPage':Number(_0x59c709!=null?_0x59c709:-0x1)});}return _0x483827[_0x237b23(0x335)](_0x59273c=>_0x59273c[_0x237b23(0x1af)])||(_0x483827[0x0][_0x237b23(0x1af)]=!0x0),_0x483827;}class He extends _0x26536e{constructor(){const _0x319a0b=_0x101b2d;super(...arguments),_(this,_0x319a0b(0x31a),new _0x41fdad(null)),_(this,_0x319a0b(0x1dc),this[_0x319a0b(0x31a)][_0x319a0b(0x266)]());}[_0x101b2d(0x2f1)](_0x5b3465){const _0x495d09=_0x101b2d,{unitID:_0x4cc3d7,memberID:_0x11f6e1,textRanges:_0x637e92}=_0x5b3465,_0x59064f=Tt(_0x637e92);if(_0x59064f==='')return;const _0x48ac46={'unitID':_0x4cc3d7,'memberID':_0x11f6e1,'selection':_0x59064f};this[_0x495d09(0x31a)][_0x495d09(0x236)](_0x48ac46);}}var hi=Object[_0x101b2d(0x172)],ui=(_0x78f43,_0x173c80,_0x556a54,_0x5ef196)=>{for(var _0x59121f=_0x5ef196>0x1?void 0x0:_0x5ef196?hi(_0x173c80,_0x556a54):_0x173c80,_0xcddcb5=_0x78f43['length']-0x1,_0x20c7ef;_0xcddcb5>=0x0;_0xcddcb5--)(_0x20c7ef=_0x78f43[_0xcddcb5])&&(_0x59121f=_0x20c7ef(_0x59121f)||_0x59121f);return _0x59121f;},P=(_0x5574c1,_0x1a5722)=>(_0x348e5d,_0x4b10d2)=>_0x1a5722(_0x348e5d,_0x4b10d2,_0x5574c1);const di=0x12c,fi=0x64;let Ue=class extends _0x26536e{constructor(_0x138d12,_0x2421b4,_0x4e56a4,_0x5a5618,_0x322ace,_0x4e1e4b,_0x3a576f,_0x1d035a,_0x744ac2){const _0x344e12=_0x101b2d;super(),_(this,_0x344e12(0x1e2),!0x1),_(this,_0x344e12(0x230),!0x1),_(this,_0x344e12(0x1be),new _0x41fdad(new Map())),_(this,_0x344e12(0x241),this[_0x344e12(0x1be)][_0x344e12(0x266)]()),_(this,'_roomMembers$',new _0x41fdad([])),_(this,'roomMembers$',this['_roomMembers$'][_0x344e12(0x264)](_0x3718ed(di))),_(this,'_updateLocalCursor',_0x6b1a0f(_0x618bc0=>{const _0x47d7a3=_0x344e12,_0x4890de={'eventID':_0xed478a[_0x47d7a3(0x27a)],'data':{'unitID':this[_0x47d7a3(0x2e4)],'memberID':this['_session'][_0x47d7a3(0x24e)](),'selection':Tt(_0x618bc0)}};this[_0x47d7a3(0x23b)][_0x47d7a3(0x2d8)](_0x4890de,this[_0x47d7a3(0x2e4)]);},fi)),(this[_0x344e12(0x2e4)]=_0x138d12,this[_0x344e12(0x23b)]=_0x2421b4,this[_0x344e12(0x332)]=_0x4e56a4,this[_0x344e12(0x219)]=_0x5a5618,this['_memberService']=_0x322ace,this['_syncEditingCollabCursorService']=_0x4e1e4b,this[_0x344e12(0x159)]=_0x3a576f,this[_0x344e12(0x1fb)]=_0x1d035a,this[_0x344e12(0x1ac)]=_0x744ac2);}get[_0x101b2d(0x2d5)](){const _0x12d404=_0x101b2d;return this[_0x12d404(0x1be)][_0x12d404(0x1bb)]();}get[_0x101b2d(0x185)](){const _0x4de1d2=_0x101b2d;return this[_0x4de1d2(0x1c4)][_0x4de1d2(0x1bb)]();}['dispose'](){const _0x580934=_0x101b2d;super['dispose'](),this[_0x580934(0x1be)][_0x580934(0x236)](new Map()),this[_0x580934(0x1be)]['complete'](),this[_0x580934(0x1c4)][_0x580934(0x236)]([]),this['_roomMembers$'][_0x580934(0x32a)]();}[_0x101b2d(0x222)](){const _0x36f158=_0x101b2d;this[_0x36f158(0x230)]||(this[_0x36f158(0x230)]=!0x0,this[_0x36f158(0x23b)]['sessionStatus$']['pipe'](_0xfd7c4(this[_0x36f158(0x312)]))['subscribe'](_0x3afd87=>{const _0x558278=_0x36f158;_0x3afd87===_0x561bcf[_0x558278(0x2ea)]?this[_0x558278(0x20b)]():this['_toggleOffline']();}),this[_0x36f158(0x23b)][_0x36f158(0x180)][_0x36f158(0x264)](_0xfd7c4(this[_0x36f158(0x312)]))['subscribe'](_0x2a5a81=>{const _0x1a20f9=_0x36f158,_0x2815d0=_0x2a5a81[_0x1a20f9(0x163)];_0x2815d0===_0xed478a[_0x1a20f9(0x27a)]&&this[_0x1a20f9(0x302)](_0x2a5a81),_0x2815d0===_0xed478a[_0x1a20f9(0x2aa)]&&this['_onCursorDelete'](_0x2a5a81);}),this[_0x36f158(0x197)](this[_0x36f158(0x1ac)][_0x36f158(0x1b2)](_0x50dd95=>{const _0x25fcbb=_0x36f158,_0x41fa6b=_0x50dd95[_0x25fcbb(0x330)];_0x41fa6b!=null&&this[_0x25fcbb(0x1e2)]&&_0x50dd95['id']===_0x24409c['id']&&_0x41fa6b[_0x25fcbb(0x333)]===this[_0x25fcbb(0x2e4)]&&_0x41fa6b[_0x25fcbb(0x189)]===!0x1&&_0x41fa6b['ranges'][_0x25fcbb(0x24b)]>0x0&&this[_0x25fcbb(0x344)](_0x41fa6b[_0x25fcbb(0x281)]);})),this['_syncEditingCollabCursorService'][_0x36f158(0x1dc)][_0x36f158(0x264)](_0xfd7c4(this[_0x36f158(0x312)]))['subscribe'](_0x53105e=>{const _0x2d92f5=_0x36f158;if((_0x53105e==null?void 0x0:_0x53105e['unitID'])!==this[_0x2d92f5(0x2e4)])return;const _0xdf2f52={'eventID':_0xed478a[_0x2d92f5(0x27a)],'data':_0x53105e};this[_0x2d92f5(0x302)](_0xdf2f52);}),this[_0x36f158(0x197)](this[_0x36f158(0x1ac)]['onCommandExecuted'](_0x46c9ca=>{const _0x453099=_0x36f158;if(_0x46c9ca[_0x453099(0x330)]==null)return;const _0x5f5891=_0x46c9ca[_0x453099(0x330)];if(_0x46c9ca['id']!==_0xe372df['id']||_0x5f5891['unitId']!==this[_0x453099(0x2e4)])return;const _0x7d0615={'id':'doc.mutation.rich-text-editing','params':_0x5f5891},_0x32fb04=this[_0x453099(0x2d5)];for(const [_0x3a604e,_0x5ea2f7]of _0x32fb04){const _0x420742={'id':_0x453099(0x22e),'params':{'unitId':this[_0x453099(0x2e4)],'actions':null,'textRanges':_0x5ea2f7[_0x453099(0x281)]}},_0x8b314e=this[_0x453099(0x159)][_0x453099(0x17e)](_0x7d0615,_0x420742,!0x1);if(_0xe1a8c3(_0x8b314e))throw _0x8b314e['error'];_0x32fb04['set'](_0x3a604e,{..._0x5ea2f7,'ranges':_0x8b314e[_0x453099(0x1f2)][_0x453099(0x330)]['textRanges']});}queueMicrotask(()=>{const _0x5bf4ac=_0x453099;this[_0x5bf4ac(0x1be)][_0x5bf4ac(0x236)](_0x32fb04);});})));}[_0x101b2d(0x302)](_0x8be697){const _0x2a8564=_0x101b2d;var _0x53696c,_0x1cbfa5;const {memberID:_0x53939f,selection:_0xe0ffdb}=_0x8be697['data'],_0x46e3e1=_i(_0xe0ffdb),_0x363240=(_0x1cbfa5=(_0x53696c=this[_0x2a8564(0x277)]['getMember'](this[_0x2a8564(0x2e4)],_0x53939f))==null?void 0x0:_0x53696c['name'])!=null?_0x1cbfa5:'Unknown\x20user',_0x5b78a3={'color':this[_0x2a8564(0x219)][_0x2a8564(0x1e6)](_0x53939f),'name':_0x363240,'ranges':_0x46e3e1},_0x1492d8=this[_0x2a8564(0x2d5)];_0x1492d8[_0x2a8564(0x213)](_0x53939f,_0x5b78a3),this['_cursorInfo$'][_0x2a8564(0x236)](_0x1492d8);}[_0x101b2d(0x248)](_0x16bd6d){const _0x1039bc=_0x101b2d,{memberID:_0x12d4ec}=_0x16bd6d['data'],_0x169e8b=this['cursorInfo'];_0x169e8b[_0x1039bc(0x27f)](_0x12d4ec),this['_cursorInfo$'][_0x1039bc(0x236)](_0x169e8b);}[_0x101b2d(0x20b)](){const _0x4bda8f=_0x101b2d;var _0x4519e9;if(this[_0x4bda8f(0x1e2)]=!0x0,((_0x4519e9=this[_0x4bda8f(0x1fb)][_0x4bda8f(0x271)]())==null?void 0x0:_0x4519e9[_0x4bda8f(0x343)]())!==this['unitID'])return;const _0x4c6207=this['_injector'][_0x4bda8f(0x23e)](_0x3a0ec0)['getDocRanges']();Array[_0x4bda8f(0x1ab)](_0x4c6207)&&_0x4c6207[_0x4bda8f(0x24b)]>0x0&&this[_0x4bda8f(0x344)](_0x4c6207);}[_0x101b2d(0x30a)](){const _0x3526d8=_0x101b2d;this[_0x3526d8(0x1e2)]=!0x1;}};Ue=ui([P(0x2,_0x412f34(_0x5734b6)),P(0x3,_0x412f34(ke)),P(0x4,_0x412f34(_0x20617b)),P(0x5,_0x412f34(He)),P(0x6,_0x4f8e7d),P(0x7,_0xc3619b),P(0x8,_0xa77dc6)],Ue);var Si=Object[_0x101b2d(0x172)],mi=(_0x38780c,_0x1be406,_0x2b2ae9,_0xf657c8)=>{for(var _0x164099=_0xf657c8>0x1?void 0x0:_0xf657c8?Si(_0x1be406,_0x2b2ae9):_0x1be406,_0x5b3a8f=_0x38780c['length']-0x1,_0x19ce00;_0x5b3a8f>=0x0;_0x5b3a8f--)(_0x19ce00=_0x38780c[_0x5b3a8f])&&(_0x164099=_0x19ce00(_0x164099)||_0x164099);return _0x164099;},x=(_0x218d96,_0x1d2474)=>(_0x44e046,_0x2776ab)=>_0x1d2474(_0x44e046,_0x2776ab,_0x218d96);const Ii=0x12c,gi=0x64,vi=()=>{let _0x444712=[],_0x2894c7=!0x1;return _0x4240f8=>{const _0x24132a=_0x1706;_0x444712[_0x24132a(0x262)](_0x4240f8),_0x2894c7||(_0x2894c7=!0x0,setTimeout(()=>{const _0x18871e=_0x24132a;_0x444712[_0x18871e(0x18a)](_0x15d5b9=>_0x15d5b9()),_0x444712=[],_0x2894c7=!0x1;}));};};let Me=class extends _0x26536e{constructor(_0x3272cc,_0x2058b7,_0x498e43,_0x48bd11,_0x3631fa,_0x2d83d6,_0x53625c,_0xa254af){const _0x1acd0d=_0x101b2d;super(),_(this,'_online',!0x1),_(this,_0x1acd0d(0x230),!0x1),_(this,_0x1acd0d(0x1be),new _0x41fdad(new Map())),_(this,_0x1acd0d(0x241),this[_0x1acd0d(0x1be)]['asObservable']()),_(this,_0x1acd0d(0x1c4),new _0x41fdad([])),_(this,_0x1acd0d(0x2f6),this[_0x1acd0d(0x1c4)][_0x1acd0d(0x264)](_0x3718ed(Ii))),_(this,'_updateLocalCursor',_0x6b1a0f((_0x2c3be8,_0x5f0204)=>{const _0x27dd25=_0x1acd0d,_0x49cde1={'eventID':_0xed478a[_0x27dd25(0x27a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x27dd25(0x24e)](),'selection':_0x3ccf5a(_0x2c3be8,_0x5f0204['range'])}};this[_0x27dd25(0x23b)]['send'](_0x49cde1,this[_0x27dd25(0x2e4)]);},gi)),(this[_0x1acd0d(0x2e4)]=_0x3272cc,this['_session']=_0x2058b7,this[_0x1acd0d(0x332)]=_0x498e43,this[_0x1acd0d(0x219)]=_0x48bd11,this[_0x1acd0d(0x277)]=_0x3631fa,this[_0x1acd0d(0x1fb)]=_0x2d83d6,this[_0x1acd0d(0x1ac)]=_0x53625c,this['_refRangeService']=_0xa254af);}get[_0x101b2d(0x2d5)](){const _0x2e5700=_0x101b2d;return this[_0x2e5700(0x1be)][_0x2e5700(0x1bb)]();}get[_0x101b2d(0x185)](){const _0x2e977e=_0x101b2d;return this[_0x2e977e(0x1c4)][_0x2e977e(0x1bb)]();}[_0x101b2d(0x1ec)](){const _0x85af7f=_0x101b2d;super['dispose'](),this[_0x85af7f(0x1be)]['next'](new Map()),this[_0x85af7f(0x1be)][_0x85af7f(0x32a)](),this[_0x85af7f(0x1c4)][_0x85af7f(0x236)]([]),this[_0x85af7f(0x1c4)][_0x85af7f(0x32a)]();}[_0x101b2d(0x222)](){const _0x4ae6cf=_0x101b2d;this[_0x4ae6cf(0x230)]||(this[_0x4ae6cf(0x230)]=!0x0,this['_session']['sessionStatus$'][_0x4ae6cf(0x264)](_0xfd7c4(this[_0x4ae6cf(0x312)]))[_0x4ae6cf(0x1e8)](_0x3b0046=>{const _0x2bfa36=_0x4ae6cf;_0x3b0046===_0x561bcf[_0x2bfa36(0x2ea)]?this[_0x2bfa36(0x20b)]():this[_0x2bfa36(0x30a)]();}),this[_0x4ae6cf(0x23b)][_0x4ae6cf(0x180)]['pipe'](_0xfd7c4(this[_0x4ae6cf(0x312)]))['subscribe'](_0x3bceff=>{const _0x790db8=_0x4ae6cf,_0x55a51e=_0x3bceff[_0x790db8(0x163)];_0x55a51e===_0xed478a[_0x790db8(0x27a)]&&this[_0x790db8(0x302)](_0x3bceff),_0x55a51e===_0xed478a[_0x790db8(0x2aa)]&&this[_0x790db8(0x248)](_0x3bceff);}),this[_0x4ae6cf(0x24c)](),this[_0x4ae6cf(0x197)](this[_0x4ae6cf(0x1ac)][_0x4ae6cf(0x1b2)](_0x350485=>{const _0x37d8bc=_0x4ae6cf;if(this[_0x37d8bc(0x1e2)]&&_0x350485['id']===_0x233fea['id']&&_0x350485[_0x37d8bc(0x330)][_0x37d8bc(0x333)]===this[_0x37d8bc(0x2e4)]){const _0x410c35=_0x350485[_0x37d8bc(0x330)];this[_0x37d8bc(0x344)](_0x410c35[_0x37d8bc(0x1c7)],_0x410c35[_0x37d8bc(0x309)][0x0]);}})));}[_0x101b2d(0x302)](_0x229c8a){const _0x1cc0de=_0x101b2d;var _0xe19467,_0x2ae521;const {memberID:_0x2d2baf,selection:_0x5002bb}=_0x229c8a[_0x1cc0de(0x1cd)],{sheetName:_0x22918f,range:_0x2845cb}=_0x1e17be(_0x5002bb),_0x2b4d53={'name':(_0x2ae521=(_0xe19467=this['_memberService']['getMember'](this['unitID'],_0x2d2baf))==null?void 0x0:_0xe19467[_0x1cc0de(0x2f4)])!=null?_0x2ae521:_0x1cc0de(0x22f),'range':this[_0x1cc0de(0x2be)](_0x22918f,_0x2845cb),'sheetID':_0x22918f,'color':this[_0x1cc0de(0x219)][_0x1cc0de(0x1e6)](_0x2d2baf),'selection':_0x5002bb},_0x34d650=this[_0x1cc0de(0x2d5)];_0x34d650[_0x1cc0de(0x213)](_0x2d2baf,_0x2b4d53),this[_0x1cc0de(0x1be)][_0x1cc0de(0x236)](_0x34d650);}['_onCursorDelete'](_0x282cac){const _0x3db485=_0x101b2d,{memberID:_0x3165dd}=_0x282cac['data'],_0x27a12e=this[_0x3db485(0x2d5)];_0x27a12e['delete'](_0x3165dd),this['_cursorInfo$'][_0x3db485(0x236)](_0x27a12e);}[_0x101b2d(0x2be)](_0x2c7b95,_0x418a44){const _0x517f16=_0x101b2d;var _0x1897e3,_0x395abe;const _0x3e9c54=(_0x395abe=(_0x1897e3=this[_0x517f16(0x1fb)][_0x517f16(0x1fc)](this[_0x517f16(0x2e4)]))==null?void 0x0:_0x1897e3[_0x517f16(0x31c)](_0x2c7b95))==null?void 0x0:_0x395abe[_0x517f16(0x148)]();return(_0x3e9c54==null?void 0x0:_0x3e9c54[_0x517f16(0x1f4)](_0xa91a63=>_0x19520d['contains'](_0xa91a63,_0x418a44)))||_0x418a44;}['_onRefRangeChange'](){const _0x58fc2e=_0x101b2d,_0xec8b13=new _0x260da7(),_0x40a80e=vi(),_0x58a470=()=>{const _0xd9436b=_0x1706;_0xec8b13['dispose']();const _0x1c6eda=(_0x51ec01,_0x1a2f28,_0x3bc2c8,_0x170abc)=>{const _0x3cf05c=_0x1706;let _0x597128=[];switch(_0x51ec01['id']){case _0x1d5700[_0x3cf05c(0x2fa)]:{_0x597128=_0x133582(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x1db)]:{_0x597128=_0x4684d6(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x305)]:{_0x597128=_0x4524f5(_0x51ec01,_0x170abc);break;}case _0x1d5700['InsertRangeMoveDownCommandId']:{_0x597128=_0x4357a5(_0x51ec01,_0x170abc);break;}case _0x1d5700['InsertRangeMoveRightCommandId']:{_0x597128=_0xf48d30(_0x51ec01,_0x170abc);break;}case _0x1d5700['InsertRowCommandId']:{_0x597128=_0x2fd4e6(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x168)]:{_0x597128=_0x27ef59(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x235)]:{_0x597128=_0x434356(_0x51ec01,_0x170abc);break;}case _0x1d5700['RemoveRowCommandId']:{_0x597128=_0x28a915(_0x51ec01,_0x170abc);break;}}const _0x261470=_0x3ea665(_0x597128,_0x170abc),_0x3eec7a=this[_0x3cf05c(0x2d5)]['get'](_0x1a2f28);if(_0x3eec7a&&_0x261470){const _0x257497={..._0x3eec7a,'range':_0x261470};this[_0x3cf05c(0x2d5)][_0x3cf05c(0x213)](_0x1a2f28,_0x257497),_0x40a80e(()=>{const _0xdc31ff=_0x3cf05c,_0x53be07=this[_0xdc31ff(0x2d4)]['registerRefRange'](_0x261470,_0xb02582=>(_0x53be07[_0xdc31ff(0x1ec)](),_0x1c6eda(_0xb02582,_0x1a2f28,_0x3bc2c8,_0x261470)));_0xec8b13['add'](_0x53be07);});}return{'redos':[],'undos':[]};};this[_0xd9436b(0x2d5)][_0xd9436b(0x18a)]((_0x1470e3,_0x5c06d2)=>{const _0xbfdd41=_0xd9436b,{range:_0x390a68,sheetID:_0x277041}=_0x1470e3,_0x27ad19=this[_0xbfdd41(0x2d4)][_0xbfdd41(0x310)](_0x390a68,_0x38dc0a=>(_0x27ad19['dispose'](),_0x1c6eda(_0x38dc0a,_0x5c06d2,_0x277041,_0x390a68)));_0xec8b13[_0xbfdd41(0x2d6)](_0x27ad19);});};this[_0x58fc2e(0x197)](_0x28bae3(this['_cursorInfo$']['subscribe'](()=>{_0x58a470();})));}[_0x101b2d(0x20b)](){const _0x59e965=_0x101b2d;var _0x9d4f46,_0x54a972;if(this[_0x59e965(0x1e2)]=!0x0,((_0x9d4f46=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x9d4f46[_0x59e965(0x343)]())!==this[_0x59e965(0x2e4)])return;const _0x2848bb=(_0x54a972=this['_injector'][_0x59e965(0x23e)](_0xb15271)[_0x59e965(0x1a7)]())==null?void 0x0:_0x54a972[0x0],_0x1e6171=this[_0x59e965(0x1fb)]['getCurrentUnitForType'](_0xcf709f[_0x59e965(0x348)])[_0x59e965(0x1bd)]();_0x2848bb&&_0x1e6171&&this[_0x59e965(0x344)](_0x1e6171[_0x59e965(0x17b)](),_0x2848bb);}[_0x101b2d(0x30a)](){const _0x22f32f=_0x101b2d;this[_0x22f32f(0x1e2)]=!0x1;}};Me=mi([x(0x2,_0x412f34(_0x5734b6)),x(0x3,_0x412f34(ke)),x(0x4,_0x412f34(_0x20617b)),x(0x5,_0xc3619b),x(0x6,_0xa77dc6),x(0x7,_0x412f34(_0x2e003e))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x127e76,_0x213d0c,_0xfb7bb3,_0x137776)=>{for(var _0xe87f3=_0x137776>0x1?void 0x0:_0x137776?pi(_0x213d0c,_0xfb7bb3):_0x213d0c,_0x5a9fb1=_0x127e76['length']-0x1,_0x180d4c;_0x5a9fb1>=0x0;_0x5a9fb1--)(_0x180d4c=_0x127e76[_0x5a9fb1])&&(_0xe87f3=_0x180d4c(_0xe87f3)||_0xe87f3);return _0xe87f3;},Se=(_0x122875,_0x5ef94d)=>(_0x3413b7,_0x3db575)=>_0x5ef94d(_0x3413b7,_0x3db575,_0x122875);let H=class extends _0x26536e{constructor(_0xf7a0e9,_0x40d352,_0x43e763){const _0x592782=_0x101b2d;super(),_(this,_0x592782(0x33e),new Map()),_(this,'_entityInit$',new _0xe19f7d()),(this[_0x592782(0x1fb)]=_0xf7a0e9,this['_injector']=_0x40d352,this[_0x592782(0x1fd)]=_0x43e763,this[_0x592782(0x230)]());}[_0x101b2d(0x1ec)](){const _0x5e98eb=_0x101b2d;super['dispose'](),this[_0x5e98eb(0x2fb)][_0x5e98eb(0x32a)](),this[_0x5e98eb(0x33e)][_0x5e98eb(0x18a)](_0x5d5374=>_0x5d5374[_0x5e98eb(0x1ec)]());}[_0x101b2d(0x342)](_0x58df50){const _0x4798bf=_0x101b2d;return this['_entities']['has'](_0x58df50)?this[_0x4798bf(0x33e)][_0x4798bf(0x23e)](_0x58df50)['cursorInfo$']:this[_0x4798bf(0x2fb)][_0x4798bf(0x264)](_0x40563a(_0x5f4a3f=>_0x5f4a3f[_0x4798bf(0x2e4)]===_0x58df50),_0x15b45b(_0x51587c=>_0x51587c[_0x4798bf(0x241)]));}[_0x101b2d(0x230)](){const _0x20db1d=_0x101b2d;this['_univerInstanceService'][_0x20db1d(0x31e)](_0xcf709f[_0x20db1d(0x348)])[_0x20db1d(0x264)](_0xfd7c4(this[_0x20db1d(0x312)]))['subscribe'](async _0x1ff407=>{const _0x52bbcf=_0x20db1d,_0x16a102=_0x1ff407[_0x52bbcf(0x343)](),_0x344a6b=await this[_0x52bbcf(0x158)](_0x16a102);this[_0x52bbcf(0x2fb)]['next'](_0x344a6b),this[_0x52bbcf(0x33e)][_0x52bbcf(0x213)](_0x16a102,_0x344a6b);}),this[_0x20db1d(0x1fb)][_0x20db1d(0x31e)](_0xcf709f[_0x20db1d(0x1b5)])['pipe'](_0xfd7c4(this[_0x20db1d(0x312)]))[_0x20db1d(0x264)](_0x40563a(_0x3babc6=>!_0x3babc6[_0x20db1d(0x343)]()[_0x20db1d(0x1d0)]('__')))['subscribe'](async _0x353304=>{const _0xdd7a99=_0x20db1d,_0x1e9397=_0x353304[_0xdd7a99(0x343)](),_0x460351=await this['_startDocCollabCursor'](_0x1e9397);this[_0xdd7a99(0x2fb)][_0xdd7a99(0x236)](_0x460351),this['_entities']['set'](_0x1e9397,_0x460351);}),_0x1c81a4(this[_0x20db1d(0x1fb)][_0x20db1d(0x2dc)](_0xcf709f[_0x20db1d(0x1b5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xcf709f[_0x20db1d(0x348)]))[_0x20db1d(0x264)](_0xfd7c4(this['dispose$']))[_0x20db1d(0x1e8)](_0xbf400d=>{const _0x6ca2de=_0x20db1d,_0x4073d2=_0xbf400d[_0x6ca2de(0x343)](),_0x20a0b2=this[_0x6ca2de(0x33e)][_0x6ca2de(0x23e)](_0x4073d2);_0x20a0b2&&(_0x20a0b2[_0x6ca2de(0x1ec)](),this[_0x6ca2de(0x33e)][_0x6ca2de(0x27f)](_0x4073d2));});}async[_0x101b2d(0x158)](_0x2ae727){const _0x4e2133=_0x101b2d,_0x3102c0=await this[_0x4e2133(0x1fd)][_0x4e2133(0x2c9)](_0x2ae727),_0x2455ca=this['_injector']['createInstance'](Me,_0x2ae727,_0x3102c0);return _0x2455ca[_0x4e2133(0x222)](),_0x2455ca;}async[_0x101b2d(0x2ee)](_0x438b16){const _0xb56c05=_0x101b2d,_0x131fa4=await this['_collabSessionService'][_0xb56c05(0x2c9)](_0x438b16),_0x549e08=this['_injector'][_0xb56c05(0x26b)](Ue,_0x438b16,_0x131fa4);return _0x549e08[_0xb56c05(0x222)](),_0x549e08;}};H=Ci([Se(0x0,_0xc3619b),Se(0x1,_0x412f34(_0x5734b6)),Se(0x2,_0x412f34(_0x352e5d))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x47744c,_0x3fcfaa){const _0x51098d=_0x101b2d;let {radius:_0x1cebc3,width:_0x2223af,height:_0x39a252}=_0x3fcfaa;_0x1cebc3=_0x1cebc3!=null?_0x1cebc3:0x0,_0x2223af=_0x2223af!=null?_0x2223af:0x1e,_0x39a252=_0x39a252!=null?_0x39a252:0x1e;let _0x143809=0x0,_0x134632=0x0,_0x9599b3=0x0;_0x143809=_0x134632=_0x9599b3=Math[_0x51098d(0x212)](_0x1cebc3,_0x2223af/0x2,_0x39a252/0x2),_0x47744c[_0x51098d(0x1b1)](),_0x47744c[_0x51098d(0x2d9)](_0x143809,0x0),_0x47744c[_0x51098d(0x19f)](_0x2223af-_0x134632,0x0),_0x47744c[_0x51098d(0x2fc)](_0x2223af-_0x134632,_0x134632,_0x134632,Math['PI']*0x3/0x2,0x0,!0x1),_0x47744c[_0x51098d(0x19f)](_0x2223af,_0x39a252-_0x9599b3),_0x47744c[_0x51098d(0x2fc)](_0x2223af-_0x9599b3,_0x39a252-_0x9599b3,_0x9599b3,0x0,Math['PI']/0x2,!0x1),_0x47744c[_0x51098d(0x19f)](0x0,_0x39a252),_0x47744c[_0x51098d(0x19f)](0x0,_0x143809),_0x47744c['arc'](_0x143809,_0x143809,_0x143809,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47744c[_0x51098d(0x21c)](),_0x3fcfaa['fill']&&(_0x47744c[_0x51098d(0x2ff)](),_0x47744c[_0x51098d(0x2d7)]=_0x3fcfaa['fill'],_0x3fcfaa[_0x51098d(0x295)]===_0x51098d(0x15b)?_0x47744c['fill'](_0x51098d(0x15b)):_0x47744c[_0x51098d(0x340)](),_0x47744c[_0x51098d(0x325)]());}class he extends _0x2a3652{constructor(_0x4d0759,_0x481d39){const _0x1b98aa=_0x101b2d;super(_0x4d0759,_0x481d39),_(this,_0x1b98aa(0x17f)),_(this,_0x1b98aa(0x2c8)),(this['color']=_0x481d39==null?void 0x0:_0x481d39[_0x1b98aa(0x17f)],this[_0x1b98aa(0x2c8)]=_0x481d39==null?void 0x0:_0x481d39['text']);}static['drawWith'](_0x13eb55,_0xecd741){const _0x1e3e90=_0x101b2d,{text:_0x186622,color:_0xfc7dba}=_0xecd741;_0x13eb55[_0x1e3e90(0x2ff)](),_0x13eb55['font']=_0x1e3e90(0x320);const _0x413c03=_0x13eb55[_0x1e3e90(0x179)](_0x186622)[_0x1e3e90(0x329)],_0x3a620f=Math[_0x1e3e90(0x212)](_0x413c03+0x2*me,Qe);Oi(_0x13eb55,{'height':ee,'radius':0x4,'width':_0x3a620f,'fill':_0xfc7dba}),_0x13eb55[_0x1e3e90(0x2d7)]=_0x1e3e90(0x1b7);const _0x3dae6a=me,_0x4088d1=ee-Ei,_0x51c0b7=Qe-0x2*me;if(_0x413c03>_0x51c0b7){let _0x4f5d43='',_0x215930=0x0;for(const _0x1706bf of _0x186622){const _0x189687=_0x13eb55['measureText'](_0x1706bf)[_0x1e3e90(0x329)];if(_0x215930+_0x189687<=_0x51c0b7-_0x13eb55[_0x1e3e90(0x179)](_0x1e3e90(0x2a5))[_0x1e3e90(0x329)])_0x4f5d43+=_0x1706bf,_0x215930+=_0x189687;else{_0x4f5d43+=_0x1e3e90(0x2a5);break;}}_0x13eb55['fillText'](_0x4f5d43,_0x3dae6a,_0x4088d1);}else _0x13eb55[_0x1e3e90(0x2b8)](_0x186622,_0x3dae6a,_0x4088d1);_0x13eb55[_0x1e3e90(0x325)]();}[_0x101b2d(0x245)](_0x410224){const _0x5a3f72=_0x101b2d;he[_0x5a3f72(0x257)](_0x410224,this);}}const Ie=_0x101b2d(0x331),bi='collab-text-range-',Ti=_0x101b2d(0x303),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x101b2d(0x28d);class qe{constructor(_0x518510,_0x36326e,_0x4a006d,_0xe4fcf4){const _0x444f47=_0x101b2d;_(this,_0x444f47(0x182),[]),_(this,_0x444f47(0x2e3),null),_(this,_0x444f47(0x1e4),null),_(this,'_anchorDot',null),_(this,_0x444f47(0x1e3),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x518510,this[_0x444f47(0x2ab)]=_0x36326e,this[_0x444f47(0x147)]=_0x4a006d,this[_0x444f47(0x223)]=_0xe4fcf4,this[_0x444f47(0x2a3)]());}set[_0x101b2d(0x20c)](_0x11d348){const _0x26b7dd=_0x101b2d;_0x11d348?(this[_0x26b7dd(0x251)]&&this[_0x26b7dd(0x251)][_0x26b7dd(0x166)](),this[_0x26b7dd(0x1e4)]&&this[_0x26b7dd(0x1e4)][_0x26b7dd(0x293)]()):(this[_0x26b7dd(0x251)]&&this[_0x26b7dd(0x251)][_0x26b7dd(0x293)](),this[_0x26b7dd(0x1e4)]&&this[_0x26b7dd(0x1e4)][_0x26b7dd(0x166)]());}[_0x101b2d(0x1ec)](){const _0x2c9455=_0x101b2d;for(const _0x55fdc9 of this[_0x2c9455(0x182)])_0x55fdc9[_0x2c9455(0x1ec)]();this[_0x2c9455(0x1e4)]&&this[_0x2c9455(0x1e4)]['dispose'](),this[_0x2c9455(0x251)]&&this[_0x2c9455(0x251)][_0x2c9455(0x1ec)](),this[_0x2c9455(0x2e3)]&&this[_0x2c9455(0x2e3)][_0x2c9455(0x1ec)](),this[_0x2c9455(0x21f)]&&this[_0x2c9455(0x21f)]();}[_0x101b2d(0x2a3)](){const _0x4d22af=_0x101b2d;var _0x4f2311;const {_docSkeleton:_0x2db98e,_document:_0x2f04a0}=this,{color:_0xd94961,name:_0x2b0da6,ranges:_0x5f3f3e}=this['_cursor'],_0x2aa8f4=_0x2f04a0[_0x4d22af(0x24a)](),{docsLeft:_0x3082ea,docsTop:_0x4306de}=_0x2aa8f4,_0xad4b01=new _0x328ca9(_0x2aa8f4,_0x2db98e);for(const {startOffset:_0x246a64,endOffset:_0x4352c6,rangeType:_0x24bf65,segmentId:_0x2a8c97,segmentPage:_0x49145f,collapsed:_0x4548f1,isActive:_0x32f17e}of _0x5f3f3e){const _0x592013=_0x2db98e['findNodePositionByCharIndex'](_0x246a64,!0x0,_0x2a8c97,_0x49145f);let _0x184657=_0x2db98e[_0x4d22af(0x214)](_0x4352c6,!0x0,_0x2a8c97,_0x49145f);if(_0x184657==null&&(_0x184657=_0x2db98e[_0x4d22af(0x214)](_0x4352c6-0x1,!0x1,_0x2a8c97,_0x49145f)),_0x32f17e){const {contentBoxPointGroup:_0x47025e}=_0xad4b01[_0x4d22af(0x2e1)](_0x184657,_0x184657);if(_0x47025e[_0x4d22af(0x24b)]===0x0)continue;this[_0x4d22af(0x1f1)](_0xd94961,_0x47025e,_0x3082ea,_0x4306de,_0x2b0da6),this[_0x4d22af(0x21f)]=this[_0x4d22af(0x1bf)]();}if(_0x592013&&_0x184657){if(_0x24bf65===_0x5eb485[_0x4d22af(0x256)]){const _0x2c78b8=new _0x4d23c4(_0x2aa8f4,_0x2db98e),{pointGroup:_0x6f3002}=(_0x4f2311=_0x2c78b8[_0x4d22af(0x2e1)](_0x592013,_0x184657))!=null?_0x4f2311:{};if(_0x6f3002==null||_0x6f3002[_0x4d22af(0x24b)]===0x0)continue;this[_0x4d22af(0x27d)](_0xd94961,_0x6f3002,_0x3082ea,_0x4306de);}else{if(!_0x4548f1){const {borderBoxPointGroup:_0x39ae6b}=_0xad4b01[_0x4d22af(0x2e1)](_0x592013,_0x184657);if(_0x39ae6b[_0x4d22af(0x24b)]===0x0)continue;this[_0x4d22af(0x196)](_0xd94961,_0x39ae6b,_0x3082ea,_0x4306de);}}}}}['_drawAnchor'](_0x3f1f8f,_0x4fe5e4,_0x38081b,_0x193485,_0x2ba100){const _0x12947e=_0x101b2d,_0xfd7158=this[_0x12947e(0x206)](_0x4fe5e4),{left:_0x27e207,top:_0x1fb386,height:_0x48378e}=_0xfd7158,_0x1f3710=this[_0x12947e(0x16d)](),_0xd8dc30=Di/_0x1f3710,_0x270ea0=new _0x3d537b(Ie+_0x2a3c54['generateRandomId'](X),{'left':_0x27e207+_0x38081b-_0xd8dc30,'top':_0x1fb386+_0x193485,'height':_0x48378e,'width':Ri,'fill':_0x3f1f8f||_0x314c84(_0x32ab1b[_0x12947e(0x2b3)],0x0),'strokeWidth':_0xd8dc30,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x270ea0,this['_scene'][_0x12947e(0x1ae)](_0x270ea0,_0x17a1bc);const _0xef7069=new _0x3d537b(Ie+_0x2a3c54['generateRandomId'](X),{'left':_0x27e207+_0x38081b-_0xd8dc30,'top':_0x1fb386+_0x193485-ge/0x2,'height':ge,'width':ge,'fill':_0x3f1f8f||_0x314c84(_0x32ab1b[_0x12947e(0x2b3)],0x0),'strokeWidth':0x0,'stroke':_0x3f1f8f||_0x314c84(_0x32ab1b['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xef7069,this['_scene'][_0x12947e(0x1ae)](_0xef7069,_0x17a1bc);const _0xc58f19=new he(Ie+_0x2a3c54['generateRandomId'](X),{'left':_0x27e207+_0x38081b-_0xd8dc30,'top':_0x1fb386+_0x193485-ee,'text':_0x2ba100,'color':_0x3f1f8f});this[_0x12947e(0x1e4)]=_0xc58f19,this['_scene']['addObject'](_0xc58f19,_0x17a1bc),this[_0x12947e(0x20c)]=!0x1;}[_0x101b2d(0x1bf)](){const _0x21c247=_0x101b2d,_0xaf7472=this['_anchor'][_0x21c247(0x160)][_0x21c247(0x28a)](()=>{const _0x151c4a=_0x21c247;this[_0x151c4a(0x20c)]=!0x0;}),_0x4487e0=this['_anchor'][_0x21c247(0x238)][_0x21c247(0x28a)](()=>{const _0x37ace7=_0x21c247;this[_0x37ace7(0x1e3)]&&clearTimeout(this['_hideTimer']),this[_0x37ace7(0x1e3)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x512b9d=_0x21c247;_0xaf7472['unsubscribe'](),_0x4487e0[_0x512b9d(0x1fa)]();};}[_0x101b2d(0x196)](_0x4db980,_0x1ac868,_0x5e9ce3,_0x2ac47f){const _0x1ee6d9=_0x101b2d,_0x17758e=new _0x1e7e40(_0x4db980)[_0x1ee6d9(0x339)](0.2)['toRgbString'](),_0x32945a=new _0x208794(bi+_0x2a3c54[_0x1ee6d9(0x2c5)](X),{'pointsGroup':_0x1ac868,'fill':_0x17758e||_0x314c84(_0x32ab1b[_0x1ee6d9(0x2b3)],0.2),'left':_0x5e9ce3,'top':_0x2ac47f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1ee6d9(0x182)]['push'](_0x32945a),this[_0x1ee6d9(0x2ab)][_0x1ee6d9(0x1ae)](_0x32945a,_0x17a1bc);}[_0x101b2d(0x27d)](_0x29b7f4,_0x569074,_0x44eaad,_0x131a01){const _0x3865d5=_0x101b2d,_0x526751=new _0x1e7e40(_0x29b7f4)[_0x3865d5(0x339)](0.2)['toRgbString'](),_0x5580b3=new _0x208794(Ti+_0x2a3c54['generateRandomId'](X),{'pointsGroup':_0x569074,'fill':_0x526751||_0x314c84(_0x32ab1b[_0x3865d5(0x2b3)],0.2),'left':_0x44eaad,'top':_0x131a01,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3865d5(0x182)]['push'](_0x5580b3),this[_0x3865d5(0x2ab)][_0x3865d5(0x1ae)](_0x5580b3,_0x17a1bc);}[_0x101b2d(0x206)](_0x433844){const _0x340ab0=_0x433844[0x0],_0x5ea837=_0x340ab0[0x0],_0x5d135f=_0x340ab0[0x2],{x:_0x256acc,y:_0x2b7a63}=_0x5ea837,{x:_0x57772e,y:_0x5b2be9}=_0x5d135f;return{'left':_0x256acc,'top':_0x2b7a63,'width':_0x57772e-_0x256acc,'height':_0x5b2be9-_0x2b7a63};}[_0x101b2d(0x16d)](){const _0x3e092b=_0x101b2d,{scaleX:_0x1f0134,scaleY:_0x4626e2}=this[_0x3e092b(0x2ab)][_0x3e092b(0x1c3)]();return Math[_0x3e092b(0x2ce)](_0x1f0134,_0x4626e2);}}var Ui=Object[_0x101b2d(0x172)],Mi=(_0x1374bc,_0x14be19,_0x3831a5,_0x34f17c)=>{for(var _0x3af5ed=_0x34f17c>0x1?void 0x0:_0x34f17c?Ui(_0x14be19,_0x3831a5):_0x14be19,_0x13d351=_0x1374bc['length']-0x1,_0x5493a3;_0x13d351>=0x0;_0x13d351--)(_0x5493a3=_0x1374bc[_0x13d351])&&(_0x3af5ed=_0x5493a3(_0x3af5ed)||_0x3af5ed);return _0x3af5ed;},Z=(_0xa8a1a1,_0x37e72b)=>(_0xd1d084,_0x243f4e)=>_0x37e72b(_0xd1d084,_0x243f4e,_0xa8a1a1);let Le=class extends _0x26536e{constructor(_0x449917,_0x436ef5,_0x3cdce3,_0x5b6c2b,_0x53ef30){const _0x1c992e=_0x101b2d;super(),_(this,_0x1c992e(0x16a),[]),_(this,_0x1c992e(0x190),[]),(this[_0x1c992e(0x2eb)]=_0x449917,this[_0x1c992e(0x20e)]=_0x436ef5,this[_0x1c992e(0x164)]=_0x3cdce3,this['_commandService']=_0x5b6c2b,this['_themeService']=_0x53ef30,this[_0x1c992e(0x230)]());}['_init'](){const _0x5ccc82=_0x101b2d,_0x579505=this['_context'][_0x5ccc82(0x333)],_0x597425=this[_0x5ccc82(0x20e)];this[_0x5ccc82(0x197)](_0x48820a([this['_collabCursorController'][_0x5ccc82(0x342)](_0x579505),this[_0x5ccc82(0x1f9)][_0x5ccc82(0x153)]])['pipe'](_0x4f27de(([_0x29b76,_0x414440])=>({'skeleton':_0x597425['getSkeleton'](),'cursors':[..._0x29b76[_0x5ccc82(0x167)]()][_0x5ccc82(0x157)](_0x8c977e=>({..._0x8c977e,'color':this[_0x5ccc82(0x1f9)][_0x5ccc82(0x2b1)](_0x8c977e['color'])}))})))['subscribe'](_0x3f7fc1=>{if(this['_removeCollabCursors'](),_0x3f7fc1){const {skeleton:_0x579edc,cursors:_0x2c3e89}=_0x3f7fc1;this['_updateCollabCursors'](_0x579edc,_0x2c3e89);}})),this[_0x5ccc82(0x318)](),this[_0x5ccc82(0x298)]();}[_0x101b2d(0x33a)](_0x59867e,_0x410e63){const _0x2475bd=_0x101b2d,{scene:_0x361ec2,mainComponent:_0x34a525}=this[_0x2475bd(0x2eb)],_0xb1e705=_0x410e63[_0x2475bd(0x345)](_0x2c32e4=>new qe(_0x2c32e4,_0x361ec2,_0x59867e,_0x34a525));this['_cursorShapes']=_0xb1e705,this[_0x2475bd(0x190)]=_0x410e63;}[_0x101b2d(0x24d)](){const _0x2c2aa8=_0x101b2d;this[_0x2c2aa8(0x16e)]();const {scene:_0x4e7b1f,mainComponent:_0x238710}=this[_0x2c2aa8(0x2eb)],_0x3e9887=this[_0x2c2aa8(0x20e)][_0x2c2aa8(0x187)](),_0x243c88=this['_cursors'][_0x2c2aa8(0x345)](_0x1aa9c1=>new qe(_0x1aa9c1,_0x4e7b1f,_0x3e9887,_0x238710));this[_0x2c2aa8(0x16a)]=_0x243c88;}[_0x101b2d(0x16e)](){const _0x19cf19=_0x101b2d;this[_0x19cf19(0x16a)]['forEach'](_0x320d87=>_0x320d87[_0x19cf19(0x1ec)]()),this[_0x19cf19(0x16a)]=[];}[_0x101b2d(0x298)](){const _0x240472=_0x101b2d,_0xb5d2f5=[_0x52aca4['id']];this[_0x240472(0x197)](this[_0x240472(0x1ac)]['onCommandExecuted'](_0x2b7d85=>{const _0x540b2e=_0x240472;_0xb5d2f5['includes'](_0x2b7d85['id'])&&_0x2b7d85['params'][_0x540b2e(0x333)]===this['_context'][_0x540b2e(0x333)]&&this[_0x540b2e(0x24d)]();}));}[_0x101b2d(0x318)](){const _0x4fbcd3=_0x101b2d;this['disposeWithMe'](_0x1484c6(this[_0x4fbcd3(0x2eb)][_0x4fbcd3(0x232)][_0x4fbcd3(0x1a3)])[_0x4fbcd3(0x264)](_0x38c68e(_0x3ed8cd=>_0x3ed8cd[_0x4fbcd3(0x308)]===_0x51560e[_0x4fbcd3(0x29e)]),_0x4d6baa(0x10))[_0x4fbcd3(0x1e8)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x412f34(_0x585d6e)),Z(0x2,_0x412f34(H)),Z(0x3,_0xa77dc6),Z(0x4,_0x412f34(_0x50e9c8))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2a3652{constructor(_0x29c011,_0x2b1228){const _0x2a9787=_0x101b2d;super(_0x29c011,_0x2b1228),_(this,_0x2a9787(0x16f)),_(this,_0x2a9787(0x191),!0x1),_(this,_0x2a9787(0x259)),_(this,'_name',''),_(this,'_labelPosition',_0x2a9787(0x199)),_(this,_0x2a9787(0x288)),(_0x2b1228&&this[_0x2a9787(0x15f)](_0x2b1228),this['onPointerEnter$'][_0x2a9787(0x28a)](()=>this[_0x2a9787(0x15f)]({'hovered':!0x0})),this[_0x2a9787(0x238)][_0x2a9787(0x28a)](()=>this[_0x2a9787(0x15f)]({'hovered':!0x1})));}['setShapeProps'](_0x25f427){const _0x3f95a8=_0x101b2d;var _0x3f5f5f,_0x342bd3,_0x37a92e,_0x2fd282,_0x54d9c8,_0x3f4d24;this['_color']=(_0x3f5f5f=_0x25f427[_0x3f95a8(0x17f)])!=null?_0x3f5f5f:this['_color'],this[_0x3f95a8(0x191)]=(_0x342bd3=_0x25f427['hovered'])!=null?_0x342bd3:this[_0x3f95a8(0x191)],this[_0x3f95a8(0x259)]=(_0x37a92e=_0x25f427[_0x3f95a8(0x2db)])!=null?_0x37a92e:this['_range'],this[_0x3f95a8(0x2cc)]=(_0x2fd282=_0x25f427[_0x3f95a8(0x2f4)])!=null?_0x2fd282:this[_0x3f95a8(0x2cc)],this[_0x3f95a8(0x246)]=(_0x54d9c8=_0x25f427['labelPosition'])!=null?_0x54d9c8:this[_0x3f95a8(0x246)],this[_0x3f95a8(0x288)]=(_0x3f4d24=_0x25f427[_0x3f95a8(0x2f3)])!=null?_0x3f4d24:this['_backgroundColor'],this[_0x3f95a8(0x307)]({'width':_0x25f427[_0x3f95a8(0x329)],'height':_0x25f427[_0x3f95a8(0x27e)]});}[_0x101b2d(0x21a)](_0x3c13a7){const _0x2427f7=_0x101b2d,{row:_0x3b7383,column:_0x4e391a}=_0x3c13a7;if(_0x3b7383>=this[_0x2427f7(0x259)][_0x2427f7(0x204)]&&_0x3b7383<=this[_0x2427f7(0x259)]['endRow']&&_0x4e391a>=this[_0x2427f7(0x259)][_0x2427f7(0x2fd)]&&_0x4e391a<=this['_range'][_0x2427f7(0x316)]){this[_0x2427f7(0x15f)]({'hovered':!0x0});return;}this[_0x2427f7(0x15f)]({'hovered':!0x1});}[_0x101b2d(0x2f2)](_0x239e23){return!0x1;}['_draw'](_0xdc9458){const _0x1cf152=_0x101b2d;_0x3d537b[_0x1cf152(0x257)](_0xdc9458,{'width':this[_0x1cf152(0x329)],'height':this[_0x1cf152(0x27e)],'strokeWidth':Pi,'stroke':this[_0x1cf152(0x16f)],'evented':!0x1,'fill':this[_0x1cf152(0x288)]}),this[_0x1cf152(0x191)]&&(_0xdc9458[_0x1cf152(0x2ff)](),_0xdc9458[_0x1cf152(0x218)](0x1,0x0,0x0,0x1,this[_0x1cf152(0x329)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x1cf152(0x257)](_0xdc9458,{'text':this[_0x1cf152(0x2cc)],'color':this[_0x1cf152(0x16f)]}),_0xdc9458[_0x1cf152(0x325)]());}}var Ai=Object[_0x101b2d(0x172)],yi=(_0x58314c,_0x181af5,_0x5f35d5,_0x309f66)=>{for(var _0x1eb6c6=_0x309f66>0x1?void 0x0:_0x309f66?Ai(_0x181af5,_0x5f35d5):_0x181af5,_0x5603a6=_0x58314c['length']-0x1,_0x5d5f4f;_0x5603a6>=0x0;_0x5603a6--)(_0x5d5f4f=_0x58314c[_0x5603a6])&&(_0x1eb6c6=_0x5d5f4f(_0x1eb6c6)||_0x1eb6c6);return _0x1eb6c6;},ve=(_0x1c99a9,_0x58684d)=>(_0x53a633,_0x4e43fc)=>_0x58684d(_0x53a633,_0x4e43fc,_0x1c99a9);const $i=0x1389;let Pe=class extends _0x26536e{constructor(_0x36bfce,_0x2057ea,_0x175ffd,_0xac9fe9){const _0x3b7c00=_0x101b2d;super(),_(this,'_cursors',new Set()),_(this,_0x3b7c00(0x1ed),null),(this['_context']=_0x36bfce,this[_0x3b7c00(0x289)]=_0x2057ea,this[_0x3b7c00(0x164)]=_0x175ffd,this['_themeService']=_0xac9fe9,this['_init']());}[_0x101b2d(0x230)](){const _0x542ab7=_0x101b2d;this[_0x542ab7(0x289)][_0x542ab7(0x1a6)][_0x542ab7(0x264)](_0x3ec5bf(this['dispose$']),_0x5a8ed8(_0x8c6abe=>{const _0x5a6e36=_0x542ab7;if(_0x8c6abe){const _0x231361=_0x8c6abe[_0x5a6e36(0x2b9)];return _0x48820a(this[_0x5a6e36(0x164)][_0x5a6e36(0x342)](this[_0x5a6e36(0x2eb)][_0x5a6e36(0x333)]),this['_themeService'][_0x5a6e36(0x153)])[_0x5a6e36(0x264)](_0x4f27de(([_0x2d5345,_0x136999])=>{const _0xa22f7d=_0x5a6e36,_0x45dbe2=new Map();return _0x2d5345[_0xa22f7d(0x18a)]((_0x177184,_0x38c449)=>{const _0x58ba1d=_0xa22f7d;if(_0x177184[_0x58ba1d(0x269)]===_0x231361){const _0x2f3063={..._0x177184};_0x2f3063[_0x58ba1d(0x17f)]=this[_0x58ba1d(0x1f9)]['getColorFromTheme'](_0x177184['color']),_0x45dbe2['set'](_0x38c449,_0x2f3063);}}),{'skeleton':_0x8c6abe,'cursors':_0x45dbe2};}));}return _0x557760({'skeleton':null,'cursors':new Map()});}))[_0x542ab7(0x1e8)](({skeleton:_0x4b94e7,cursors:_0x3e808b})=>{this['_removeCollabCursors'](),_0x4b94e7&&this['_updateCollabCursors'](_0x4b94e7,_0x3e808b);}),this['_sheetSkeletonManagerService'][_0x542ab7(0x1a6)]['subscribe'](_0x20052d=>{const _0x18e36e=_0x542ab7;if(_0x20052d==null)return;const {skeleton:_0x14b30b}=_0x20052d,{scene:_0xf2cdf6}=this[_0x18e36e(0x2eb)];_0xf2cdf6[_0x18e36e(0x306)][_0x18e36e(0x28a)](_0x6b1a0f(_0x55adad=>{const _0x381398=_0x18e36e;var _0x495356,_0x2de9d7;const {offsetX:_0x3de5df,offsetY:_0x30da67}=_0x55adad,{x:_0x412e95,y:_0x5c2d3d}=_0xf2cdf6['getRelativeToViewportCoord'](_0xac78c0[_0x381398(0x202)]([_0x3de5df,_0x30da67])),{scaleX:_0x2a0915,scaleY:_0x253f99}=_0xf2cdf6[_0x381398(0x1c3)](),_0x5b7bdf=_0xf2cdf6['getViewport'](_0x254e58[_0x381398(0x304)]),_0x448374=_0xf2cdf6[_0x381398(0x149)](_0xac78c0[_0x381398(0x202)]([_0x412e95,_0x5c2d3d]),_0x5b7bdf),_0x3b2745=_0x14b30b['getCellPositionByOffset'](_0x3de5df,_0x30da67,_0x2a0915,_0x253f99,_0x448374);((_0x495356=this['_lastPointer'])==null?void 0x0:_0x495356[_0x381398(0x2ec)])===_0x3b2745[_0x381398(0x2ec)]&&((_0x2de9d7=this[_0x381398(0x1ed)])==null?void 0x0:_0x2de9d7[_0x381398(0x324)])===_0x3b2745['row']||this[_0x381398(0x190)][_0x381398(0x18a)](_0x45f5a5=>{_0x45f5a5['onMouseMove'](_0x3b2745);});},0x64));});}['_updateCollabCursors'](_0x2a5bd3,_0x16e3a6){const _0x3506fa=_0x101b2d;var _0x36d78a;const _0x1026a1=(_0x36d78a=this[_0x3506fa(0x289)][_0x3506fa(0x225)]())==null?void 0x0:_0x36d78a[_0x3506fa(0x25b)];if(!_0x1026a1)return;const _0x396daf=this['_getSheetObject']();if(!_0x396daf)return;this['_cursors'][_0x3506fa(0x18a)](_0x566d09=>{_0x566d09['makeDirty']();});const {scene:_0x4479b8}=_0x396daf,_0x43a50c=xi(Array[_0x3506fa(0x2cf)](_0x16e3a6[_0x3506fa(0x167)]()))['map'](_0x504c6a=>{const _0xa486f9=_0x3506fa,{color:_0x19a275,range:_0x384018,name:_0x2e22d0,selection:_0x4807e5,sheetID:_0x134462}=_0x504c6a,{startColumn:_0x1aaee4,startRow:_0x2d8a2c,endColumn:_0x1e2fbf,endRow:_0x5682e0}=_0x384018,_0x4bf865=_0x1ac391(_0x2d8a2c,_0x1aaee4,_0x4479b8,_0x1026a1),_0x57c433=_0x1ac391(_0x5682e0,_0x1e2fbf,_0x4479b8,_0x1026a1),{columnHeaderHeightAndMarginTop:_0x2edf58}=_0x1026a1,{startX:_0x118626,startY:_0x240d93}=_0x4bf865,{endX:_0x36db73,endY:_0x31b39d}=_0x57c433,_0x396285=_0x36db73-_0x118626,_0x2da22c=_0x31b39d-_0x240d93,_0x50083b={'labelPosition':_0x240d93-_0x2edf58>=ee?_0xa486f9(0x199):_0xa486f9(0x1d7),'sheetID':_0x134462,'range':_0x384018,'color':_0x19a275,'name':_0x2e22d0,'selection':_0x4807e5,'left':_0x118626,'top':_0x240d93,'width':_0x396285,'height':_0x2da22c,'evented':!0x1,'zIndex':$i};return new wi(_0x2e22d0,_0x50083b);});_0x4479b8[_0x3506fa(0x274)](_0x43a50c,Li),this['_cursors']=new Set(_0x43a50c);}[_0x101b2d(0x16e)](){const _0x5bbdae=_0x101b2d;var _0x287a7b;(_0x287a7b=this[_0x5bbdae(0x190)])==null||_0x287a7b[_0x5bbdae(0x18a)](_0xbe5057=>_0xbe5057[_0x5bbdae(0x1ec)]());}[_0x101b2d(0x208)](){const _0x5b1956=_0x101b2d;return _0x4a3ab9(this['_context']['unit'],this[_0x5b1956(0x2eb)]);}};Pe=yi([ve(0x1,_0x412f34(_0x2e277b)),ve(0x2,_0x412f34(H)),ve(0x3,_0x412f34(_0x50e9c8))],Pe);function xi(_0x3fdcf1){const _0x1d1685=_0x101b2d,_0x5e2dab=new Map();return _0x3fdcf1[_0x1d1685(0x18a)](_0x233404=>{const _0x242dfe=_0x1d1685;if(_0x5e2dab[_0x242dfe(0x1b4)](_0x233404[_0x242dfe(0x315)])){const _0x13352c=_0x5e2dab['get'](_0x233404['selection']);_0x13352c[_0x242dfe(0x2f4)]+=',\x20'+_0x233404[_0x242dfe(0x2f4)];}else _0x5e2dab[_0x242dfe(0x213)](_0x233404[_0x242dfe(0x315)],_0x233404);}),Array[_0x1d1685(0x2cf)](_0x5e2dab[_0x1d1685(0x167)]());}var v=function(){const _0x38cdec=_0x101b2d;return v=Object[_0x38cdec(0x29b)]||function(_0x515139){const _0xd5dfcb=_0x38cdec;for(var _0x27ebec,_0x26db31=0x1,_0x1b7497=arguments[_0xd5dfcb(0x24b)];_0x26db31<_0x1b7497;_0x26db31++){_0x27ebec=arguments[_0x26db31];for(var _0x24052e in _0x27ebec)Object['prototype'][_0xd5dfcb(0x2d2)][_0xd5dfcb(0x20d)](_0x27ebec,_0x24052e)&&(_0x515139[_0x24052e]=_0x27ebec[_0x24052e]);}return _0x515139;},v[_0x38cdec(0x150)](this,arguments);},Bi=function(_0xbefcbf,_0x205ec1){const _0xdb8d67=_0x101b2d;var _0x4fce68={};for(var _0x5af16f in _0xbefcbf)Object[_0xdb8d67(0x349)][_0xdb8d67(0x2d2)][_0xdb8d67(0x20d)](_0xbefcbf,_0x5af16f)&&_0x205ec1['indexOf'](_0x5af16f)<0x0&&(_0x4fce68[_0x5af16f]=_0xbefcbf[_0x5af16f]);if(_0xbefcbf!=null&&typeof Object[_0xdb8d67(0x270)]=='function'){for(var _0x334abc=0x0,_0x5af16f=Object[_0xdb8d67(0x270)](_0xbefcbf);_0x334abc<_0x5af16f[_0xdb8d67(0x24b)];_0x334abc++)_0x205ec1[_0xdb8d67(0x1a8)](_0x5af16f[_0x334abc])<0x0&&Object[_0xdb8d67(0x349)][_0xdb8d67(0x2b6)][_0xdb8d67(0x20d)](_0xbefcbf,_0x5af16f[_0x334abc])&&(_0x4fce68[_0x5af16f[_0x334abc]]=_0xbefcbf[_0x5af16f[_0x334abc]]);}return _0x4fce68;},Fe=_0x27eda4(function(_0x58b9c3,_0x3280f9){const _0x28a117=_0x101b2d;var _0x554a10=_0x58b9c3['icon'],_0x14e483=_0x58b9c3['id'],_0x2ff186=_0x58b9c3[_0x28a117(0x243)],_0x4f2c92=_0x58b9c3[_0x28a117(0x1c0)],_0x5ab3e0=Bi(_0x58b9c3,[_0x28a117(0x210),'id',_0x28a117(0x243),_0x28a117(0x1c0)]),_0x2ecde7='univerjs-icon\x20univerjs-icon-'[_0x28a117(0x253)](_0x14e483,'\x20')[_0x28a117(0x253)](_0x2ff186||'')[_0x28a117(0x258)](),_0x368135=_0x52d2c5('_'['concat'](Fi()));return Rt(_0x554a10,''[_0x28a117(0x253)](_0x14e483),{'defIds':_0x554a10['defIds'],'idSuffix':_0x368135[_0x28a117(0x2e2)]},v({'ref':_0x3280f9,'className':_0x2ecde7},_0x5ab3e0),_0x4f2c92);});function Rt(_0x2ecc96,_0x4b8d3e,_0x136eba,_0x3404ac,_0x5a02a1){const _0x1f351b=_0x101b2d;return _0x54f6b3(_0x2ecc96['tag'],v(v({'key':_0x4b8d3e},ki(_0x2ecc96,_0x136eba,_0x5a02a1)),_0x3404ac),(Hi(_0x2ecc96,_0x136eba)[_0x1f351b(0x2df)]||[])[_0x1f351b(0x345)](function(_0x18318e,_0x54f39d){const _0x507d47=_0x1f351b;return Rt(_0x18318e,''['concat'](_0x4b8d3e,'-')[_0x507d47(0x253)](_0x2ecc96[_0x507d47(0x341)],'-')[_0x507d47(0x253)](_0x54f39d),_0x136eba,void 0x0,_0x5a02a1);}));}function ki(_0x16fb66,_0x2c01ba,_0x32cea9){const _0x1229d8=_0x101b2d;var _0x287904=v({},_0x16fb66[_0x1229d8(0x267)]);_0x32cea9!=null&&_0x32cea9[_0x1229d8(0x19b)]&&_0x287904[_0x1229d8(0x340)]==='colorChannel1'&&(_0x287904['fill']=_0x32cea9[_0x1229d8(0x19b)]),_0x16fb66['tag']===_0x1229d8(0x247)&&_0x287904['id']&&(_0x287904['id']=_0x287904['id']+_0x2c01ba['idSuffix']),Object[_0x1229d8(0x17d)](_0x287904)['forEach'](function(_0x5cebd5){const _0x4e3ae0=_0x1229d8;var _0x5aea55=_0x5cebd5[0x0],_0x442810=_0x5cebd5[0x1];_0x5aea55===_0x4e3ae0(0x247)&&typeof _0x442810=='string'&&(_0x287904[_0x5aea55]=_0x442810[_0x4e3ae0(0x155)](/url\(#(.*)\)/,'url(#$1'[_0x4e3ae0(0x253)](_0x2c01ba[_0x4e3ae0(0x217)],')')));});var _0x4cb21a=_0x2c01ba['defIds'];return!_0x4cb21a||_0x4cb21a[_0x1229d8(0x24b)]===0x0||(_0x16fb66['tag']===_0x1229d8(0x1f3)&&_0x287904['xlink:href']&&(_0x287904[_0x1229d8(0x2c4)]=_0x287904[_0x1229d8(0x2c4)]+_0x2c01ba[_0x1229d8(0x217)]),Object[_0x1229d8(0x17d)](_0x287904)[_0x1229d8(0x18a)](function(_0x41b9d2){const _0x455d1a=_0x1229d8;var _0x402994=_0x41b9d2[0x0],_0x41f3bf=_0x41b9d2[0x1];typeof _0x41f3bf==_0x455d1a(0x156)&&(_0x287904[_0x402994]=_0x41f3bf[_0x455d1a(0x155)](/url\(#(.*)\)/,_0x455d1a(0x188)[_0x455d1a(0x253)](_0x2c01ba[_0x455d1a(0x217)],')')));})),_0x287904;}function Hi(_0x1f7e8a,_0x146a54){const _0x491206=_0x101b2d;var _0x5b8fe1,_0x3a9f26=_0x146a54[_0x491206(0x1ef)];return!_0x3a9f26||_0x3a9f26[_0x491206(0x24b)]===0x0?_0x1f7e8a:_0x1f7e8a[_0x491206(0x341)]===_0x491206(0x26c)&&(!((_0x5b8fe1=_0x1f7e8a['children'])===null||_0x5b8fe1===void 0x0)&&_0x5b8fe1['length'])?v(v({},_0x1f7e8a),{'children':_0x1f7e8a[_0x491206(0x2df)][_0x491206(0x345)](function(_0x4a98e6){const _0x18aac0=_0x491206;return typeof _0x4a98e6[_0x18aac0(0x267)]['id']==_0x18aac0(0x156)&&_0x3a9f26&&_0x3a9f26[_0x18aac0(0x249)](_0x4a98e6[_0x18aac0(0x267)]['id'])?v(v({},_0x4a98e6),{'attrs':v(v({},_0x4a98e6['attrs']),{'id':_0x4a98e6['attrs']['id']+_0x146a54[_0x18aac0(0x217)]})}):_0x4a98e6;})}):_0x1f7e8a;}function Fi(){const _0x400215=_0x101b2d;return Math[_0x400215(0x1df)]()[_0x400215(0x14c)](0x24)[_0x400215(0x1ad)](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':_0x101b2d(0x1d5),'attrs':{'xmlns':_0x101b2d(0x198),'fill':_0x101b2d(0x186),'viewBox':_0x101b2d(0x2b5),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x101b2d(0x347)},'children':[{'tag':'path','attrs':{'stroke':_0x101b2d(0x268),'d':_0x101b2d(0x30c),'strokeLinecap':_0x101b2d(0x14b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x101b2d(0x29c),'attrs':{'id':_0x101b2d(0x177)},'children':[{'tag':_0x101b2d(0x17c),'attrs':{'fill':_0x101b2d(0x2cb),'d':_0x101b2d(0x328)}}]}]}],'defIds':[_0x101b2d(0x177)]},Dt=_0x27eda4(function(_0x4c11cd,_0x3ab2f0){const _0x4d1a4c=_0x101b2d;return _0x54f6b3(Fe,Object[_0x4d1a4c(0x29b)]({},_0x4c11cd,{'id':_0x4d1a4c(0x2a1),'ref':_0x3ab2f0,'icon':Yi}));});Dt['displayName']=_0x101b2d(0x32c);var ji={'tag':_0x101b2d(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x101b2d(0x186),'viewBox':_0x101b2d(0x2b0),'width':_0x101b2d(0x21e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x101b2d(0x171)},'children':[{'tag':'path','attrs':{'stroke':_0x101b2d(0x268),'d':'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','strokeLinecap':_0x101b2d(0x14b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x101b2d(0x26c),'attrs':{},'children':[{'tag':_0x101b2d(0x29c),'attrs':{'id':_0x101b2d(0x255)},'children':[{'tag':'path','attrs':{'fill':_0x101b2d(0x2cb),'d':_0x101b2d(0x328),'transform':_0x101b2d(0x300)}}]}]}],'defIds':[_0x101b2d(0x255)]},Nt=_0x27eda4(function(_0x2d55b8,_0x47ba58){const _0x5b46c0=_0x101b2d;return _0x54f6b3(Fe,Object[_0x5b46c0(0x29b)]({},_0x2d55b8,{'id':_0x5b46c0(0x252),'ref':_0x47ba58,'icon':ji}));});Nt[_0x101b2d(0x151)]=_0x101b2d(0x291);function Vi(_0x480aa2){const _0x467917=_0x101b2d;switch(_0x480aa2){case _0x3843bb[_0x467917(0x323)]:return'collabStatus.offline';case _0x3843bb[_0x467917(0x317)]:return'collabStatus.conflict';case _0x3843bb['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3843bb['NOT_COLLAB']:return'collabStatus.notCollab';case _0x3843bb[_0x467917(0x2bf)]:case _0x3843bb['AWAITING_WITH_PENDING']:return _0x467917(0x2d1);case _0x3843bb[_0x467917(0x239)]:case _0x3843bb[_0x467917(0x32b)]:return'collabStatus.synced';}}function Wi(_0x458d6a){const _0x4211f0=_0x101b2d,{status$:_0x56a1cf}=_0x458d6a,_0x188de4=_0x5ba64b(_0x56a1cf,_0x3843bb[_0x4211f0(0x2bd)]),_0x50652b=_0x34c4fd(_0x2f8db4),_0x51dae6=_0x34c4fd(_0x352e5d),_0x9b3057=_0x188de4!==_0x3843bb[_0x4211f0(0x323)],_0x3df3d6=_0x50652b['t'](Vi(_0x188de4)),_0x1b9d35=_0x9b3057?_0x225feb(Nt,{}):_0x225feb(Dt,{}),_0x56f3e1=_0x272299(()=>{const _0x4f536f=_0x4211f0;_0x9b3057||_0x51dae6[_0x4f536f(0x29f)]();},[_0x9b3057,_0x51dae6]);function _0x43876e(){const _0x4b150d=_0x4211f0;return _0x13803a(_0x4b150d(0x286),{'className':_0x4b150d(0x2f7),'onClick':_0x56f3e1,'children':[_0x225feb(_0x4b150d(0x286),{'className':_0x22505c('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x9b3057,'univer-text-red-500':!_0x9b3057}),'children':_0x1b9d35}),_0x225feb(_0x4b150d(0x286),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3df3d6})]});}return _0x9b3057?_0x43876e():_0x225feb(_0x46b990,{'title':_0x50652b['t'](_0x4211f0(0x33c)),'children':_0x43876e()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1d0d38,_0x59025b,_0x3e3cca,_0x2d478e)=>{for(var _0xe7f8d4=_0x2d478e>0x1?void 0x0:_0x2d478e?Xi(_0x59025b,_0x3e3cca):_0x59025b,_0x34dbab=_0x1d0d38['length']-0x1,_0x110061;_0x34dbab>=0x0;_0x34dbab--)(_0x110061=_0x1d0d38[_0x34dbab])&&(_0xe7f8d4=_0x110061(_0xe7f8d4)||_0xe7f8d4);return _0xe7f8d4;},Q=(_0x1845e2,_0x1f31bb)=>(_0x2f5474,_0x188046)=>_0x1f31bb(_0x2f5474,_0x188046,_0x1845e2);let te=class extends _0x5d992a{constructor(_0x2d0c73,_0x5be9a6,_0x1707e2,_0x57acd6){const _0x22e56c=_0x101b2d;super(),_(this,'_status$',new _0x41fdad(_0x3843bb[_0x22e56c(0x2bd)])),(this[_0x22e56c(0x1fb)]=_0x2d0c73,this[_0x22e56c(0x332)]=_0x5be9a6,this['_collaborationController']=_0x1707e2,this['_uiPartsService']=_0x57acd6,this['_initStatusComponent'](),this[_0x22e56c(0x211)]());}[_0x101b2d(0x211)](){const _0x4366a2=_0x101b2d;this[_0x4366a2(0x197)](this[_0x4366a2(0x1fb)]['focused$'][_0x4366a2(0x264)](_0x15b45b(()=>{const _0x53882d=_0x4366a2,_0x28f118=this[_0x53882d(0x1fb)][_0x53882d(0x271)]();return _0x28f118?this[_0x53882d(0x14e)][_0x53882d(0x23c)](_0x28f118['getUnitId']()):_0x557760(null);}),_0x15b45b(_0x4d8746=>_0x4d8746?_0x4d8746[_0x4366a2(0x30d)]:_0x557760(_0x3843bb[_0x4366a2(0x2bd)])))[_0x4366a2(0x1e8)](_0xf72e7b=>{const _0x31a4b1=_0x4366a2;this[_0x31a4b1(0x1e0)][_0x31a4b1(0x236)](_0xf72e7b);}));}[_0x101b2d(0x284)](){const _0x11ba78=_0x101b2d;this[_0x11ba78(0x197)](this[_0x11ba78(0x21d)][_0x11ba78(0x26f)](_0x22aa45[_0x11ba78(0x229)],()=>_0xe013cc(Ki({'status$':this[_0x11ba78(0x1e0)][_0x11ba78(0x266)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0xc3619b),Q(0x1,_0x412f34(_0x5734b6)),Q(0x2,_0x412f34(_0x80ddbe)),Q(0x3,_0x226130)],te);function Ki(_0x39a115){const {status$:_0x426f0c}=_0x39a115;return function(){return _0x225feb(Wi,{'status$':_0x426f0c});};}var zi=Object[_0x101b2d(0x172)],Ji=(_0x552d92,_0xd2d215,_0x2af491,_0x15d177)=>{const _0x27acc7=_0x101b2d;for(var _0x2043fa=_0x15d177>0x1?void 0x0:_0x15d177?zi(_0xd2d215,_0x2af491):_0xd2d215,_0x2cbd43=_0x552d92[_0x27acc7(0x24b)]-0x1,_0x28bd43;_0x2cbd43>=0x0;_0x2cbd43--)(_0x28bd43=_0x552d92[_0x2cbd43])&&(_0x2043fa=_0x28bd43(_0x2043fa)||_0x2043fa);return _0x2043fa;},B=(_0x39a40b,_0x3e7c23)=>(_0x207dbb,_0x2d2d9d)=>_0x3e7c23(_0x207dbb,_0x2d2d9d,_0x39a40b);let se=class extends _0x5d992a{constructor(_0x347a1b,_0x25b1b2,_0x5e923b,_0x51bfab,_0x4130fa,_0x2c75cd){const _0x76f51a=_0x101b2d;super(),this[_0x76f51a(0x1a0)]=_0x347a1b,this[_0x76f51a(0x231)]=_0x25b1b2,this['_collaborationUIEventService']=_0x5e923b,this[_0x76f51a(0x2c3)]=_0x51bfab,this[_0x76f51a(0x31f)]=_0x4130fa,this[_0x76f51a(0x2d3)]=_0x2c75cd,this['_setupBeforeClosingHandler'](),this[_0x76f51a(0x31d)]();}[_0x101b2d(0x1ff)](){const _0x1c4aa6=_0x101b2d;this[_0x1c4aa6(0x197)](this[_0x1c4aa6(0x1a0)][_0x1c4aa6(0x1c5)](()=>{const _0x2cd968=_0x1c4aa6;if(this[_0x2cd968(0x231)][_0x2cd968(0x2c6)][_0x2cd968(0x2bc)])return this[_0x2cd968(0x2d3)]['t'](_0x2cd968(0x19d));}));}[_0x101b2d(0x31d)](){const _0x5f2cd8=_0x101b2d;this['disposeWithMe'](this[_0x5f2cd8(0x261)]['event$'][_0x5f2cd8(0x1e8)](_0xef6671=>{const _0xee4f52=_0x5f2cd8;_0xef6671['id']===_0x4b9a28['OTHER_CLIENT_EDITING']&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x216))}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x282)]&&this['_messageService'][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0xef6671['id']===_0x4b9a28['PERMISSION_DENIED']&&this[_0xee4f52(0x31f)][_0xee4f52(0x293)]({'title':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x2b2)),'content':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x18c)),'type':_0xee4f52(0x254),'duration':0x0}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x317)]&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1d3)],'content':this[_0xee4f52(0x2d3)]['t']('collaboration.closeRoom')+'('+_0xef6671['data']+')'}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x20f)]&&this['_messageService'][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this[_0xee4f52(0x2d3)]['t'](_0xef6671[_0xee4f52(0x1cd)]||'')}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x25e)]&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this[_0xee4f52(0x2d3)]['t']('session.will-retry')}),_0xef6671['id']===_0x4b9a28['SOCKET_FAILED']&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1d3)],'content':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x18f))}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x28b)]&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7['Error'],'content':this[_0xee4f52(0x2d3)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x340c2b),B(0x1,_0x55999b),B(0x2,_0x412f34(_0x4645f6)),B(0x3,_0x1f8231),B(0x4,_0x47a4f4),B(0x5,_0x412f34(_0x2f8db4))],se);const Zi=_0x101b2d(0x23f),et={},Ut=_0x5cf3d3(_0x101b2d(0x19c));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x511ff0,_0x373fdf,_0x5d8b75,_0x2f350a)=>{const _0x25c652=_0x101b2d;for(var _0x5e3b1f=_0x2f350a>0x1?void 0x0:_0x2f350a?Qi(_0x373fdf,_0x5d8b75):_0x373fdf,_0x42e8d9=_0x511ff0[_0x25c652(0x24b)]-0x1,_0x1017de;_0x42e8d9>=0x0;_0x42e8d9--)(_0x1017de=_0x511ff0[_0x42e8d9])&&(_0x5e3b1f=_0x1017de(_0x5e3b1f)||_0x5e3b1f);return _0x5e3b1f;},G=(_0x397708,_0x5b3bfe)=>(_0x2a61d7,_0x4140b4)=>_0x5b3bfe(_0x2a61d7,_0x4140b4,_0x397708);let ie=class extends _0x26536e{constructor(_0x349301,_0x44b1ba,_0x412bcd,_0x44b860,_0x56ca46){const _0x826db5=_0x101b2d;super(),this['_urlService']=_0x349301,this[_0x826db5(0x313)]=_0x44b1ba,this['_commandService']=_0x412bcd,this[_0x826db5(0x2f5)]=_0x44b860,_0x56ca46?_0x56ca46==null||_0x56ca46['whenReady']()['then'](()=>this[_0x826db5(0x230)]()):(this['_logService'][_0x826db5(0x265)]('[CollaborationDataLoaderController]',_0x826db5(0x1d6)),this[_0x826db5(0x230)]());}async['_init'](){const _0x59d2de=_0x101b2d,_0x5028e5=this[_0x59d2de(0x165)][_0x59d2de(0x25c)](_0x59d2de(0x2ad)),_0x226bf8=this[_0x59d2de(0x165)][_0x59d2de(0x25c)](_0x59d2de(0x308)),_0x286499=this[_0x59d2de(0x165)][_0x59d2de(0x25c)](_0x59d2de(0x2cd));if(!_0x5028e5||!_0x226bf8){this[_0x59d2de(0x313)][_0x59d2de(0x265)](_0x59d2de(0x26d),_0x59d2de(0x23a));return;}const _0x3200ab=await this['_dataLoaderService'][_0x59d2de(0x16b)](_0x5028e5,Number(_0x226bf8),_0x286499);_0x3200ab&&_0x3200ab instanceof _0x898749&&this[_0x59d2de(0x29d)](_0x3200ab);}async['_setupSubUnitSync'](_0x5c5673){const _0x36330c=_0x101b2d;await this['_updateSubUnitFromURLParams'](_0x5c5673),_0x5c5673[_0x36330c(0x1cc)][_0x36330c(0x264)](_0xfd7c4(this['dispose$']))[_0x36330c(0x1e8)](_0x219208=>{const _0x5ad695=_0x36330c;_0x219208&&this[_0x5ad695(0x1dd)](_0x219208);}),this[_0x36330c(0x165)][_0x36330c(0x146)][_0x36330c(0x264)](_0xfd7c4(this['dispose$']))[_0x36330c(0x1e8)](()=>this[_0x36330c(0x2e6)](_0x5c5673));}[_0x101b2d(0x1dd)](_0x440e3d,_0xf1e30d=!0x1){const _0x2331c7=_0x101b2d,_0x57833a=this[_0x2331c7(0x165)][_0x2331c7(0x25c)](_0x2331c7(0x2cd));_0x440e3d[_0x2331c7(0x17b)]()!==_0x57833a&&this[_0x2331c7(0x165)][_0x2331c7(0x15d)](_0x2331c7(0x2cd),_0x440e3d[_0x2331c7(0x17b)](),_0xf1e30d);}async['_updateSubUnitFromURLParams'](_0x45b815){const _0x11cd0f=_0x101b2d;var _0x189d03;const _0x59693b=this['_urlService'][_0x11cd0f(0x25c)](_0x11cd0f(0x2cd));if(!_0x59693b||!_0x45b815['getSheetBySheetId'](_0x59693b)){const _0x52f93e=_0x45b815['getUnhiddenWorksheets']()[0x0],_0x52f6e5=_0x45b815['getSheetBySheetId'](_0x52f93e);if(!_0x52f6e5)return;this['_updateURLWithCurrentState'](_0x52f6e5,!0x0),await this[_0x11cd0f(0x1ac)][_0x11cd0f(0x183)](_0x107c84['id'],{'unitId':_0x45b815['getUnitId'](),'subUnitId':_0x52f93e});return;}((_0x189d03=_0x45b815[_0x11cd0f(0x1bd)]())==null?void 0x0:_0x189d03['getSheetId']())!==_0x59693b&&await this[_0x11cd0f(0x1ac)][_0x11cd0f(0x183)](_0x107c84['id'],{'unitId':_0x45b815[_0x11cd0f(0x343)](),'subUnitId':_0x59693b});}};ie=qi([G(0x0,Ut),G(0x1,_0x49d917),G(0x2,_0xa77dc6),G(0x3,_0x412f34(_0x371b30)),G(0x4,_0x28aeef(_0x4d1629))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x4bd95b,_0x4cc364,_0x541813,_0x21a018)=>{for(var _0x39d9eb=_0x21a018>0x1?void 0x0:_0x21a018?en(_0x4cc364,_0x541813):_0x4cc364,_0x577702=_0x4bd95b['length']-0x1,_0x231487;_0x577702>=0x0;_0x577702--)(_0x231487=_0x4bd95b[_0x577702])&&(_0x39d9eb=_0x231487(_0x39d9eb)||_0x39d9eb);return _0x39d9eb;},pe=(_0x490670,_0x1f0990)=>(_0x3b5c02,_0x472028)=>_0x1f0990(_0x3b5c02,_0x472028,_0x490670);let ne=class{constructor(_0x1e7508,_0x4bd1a8,_0x411e88){const _0x2e2c50=_0x101b2d;this[_0x2e2c50(0x332)]=_0x1e7508,this[_0x2e2c50(0x159)]=_0x4bd1a8,this[_0x2e2c50(0x1f8)]=_0x411e88;}[_0x101b2d(0x1d8)](_0x4649e5){const _0x31d05c=_0x101b2d;this[_0x31d05c(0x1d4)](_0x4649e5),this[_0x31d05c(0x1a1)](_0x4649e5);}[_0x101b2d(0x1b0)](_0x577918){const _0x45ccec=_0x101b2d,{unitID:_0x35c619}=_0x577918,_0x4f7468=this[_0x45ccec(0x1f8)][_0x45ccec(0x1f0)](_0x35c619)[_0x45ccec(0x2a7)](_0x122b5c),{redoCache:_0x56bc13}=_0x4f7468[_0x45ccec(0x273)]();if(_0x56bc13[_0x45ccec(0x24b)]===0x0)return _0x577918;let _0x3c2321=_0x2a3c54[_0x45ccec(0x176)](_0x577918['mutations'][0x0]);for(let _0x26486d=0x0;_0x26486d<_0x56bc13['length'];_0x26486d++){const _0x250191={'id':_0x45ccec(0x22e),'params':{..._0x56bc13[_0x26486d]}},_0x42f0ec=this[_0x45ccec(0x159)][_0x45ccec(0x17e)](_0x3c2321,_0x250191,!0x1);if(_0xe1a8c3(_0x42f0ec))throw _0x42f0ec[_0x45ccec(0x254)];_0x3c2321=_0x42f0ec[_0x45ccec(0x1ee)];}return{..._0x2a3c54[_0x45ccec(0x176)](_0x577918),'mutations':[_0x3c2321]};}['_transformUndoRedoStack'](_0x1e85c2){const _0x403de3=_0x101b2d,{unitID:_0xeb0096}=_0x1e85c2,_0x3da4ed=this['_renderManagerService'][_0x403de3(0x1f0)](_0xeb0096)[_0x403de3(0x2a7)](_0x122b5c),{undoCache:_0x5d3514,redoCache:_0x26bc1e}=_0x3da4ed['getUndoRedoMutationParamsCache']();if(_0x5d3514[_0x403de3(0x24b)]===0x0||_0x26bc1e['length']===0x0)return;const _0x5b655f=[],_0x340be5=[];let _0x5dc18d=_0x2a3c54[_0x403de3(0x176)](_0x1e85c2[_0x403de3(0x15c)][0x0]),_0xe347d0=_0x2a3c54[_0x403de3(0x176)](_0x1e85c2[_0x403de3(0x15c)][0x0]);for(let _0x3133a7=_0x5d3514['length']-0x1;_0x3133a7>=0x0;_0x3133a7--){const _0x188544={'id':_0x403de3(0x22e),'params':{..._0x5d3514[_0x3133a7]}},_0x1c62c6={'id':_0x403de3(0x22e),'params':{..._0x26bc1e[_0x3133a7]}},_0x294d2e=this['_transformService'][_0x403de3(0x17e)](_0x5dc18d,_0x188544,!0x1),_0x335569=this['_transformService'][_0x403de3(0x17e)](_0xe347d0,_0x1c62c6,!0x1);if(_0xe1a8c3(_0x294d2e))throw _0x294d2e[_0x403de3(0x254)];if(_0xe1a8c3(_0x335569))throw _0x335569[_0x403de3(0x254)];_0x5b655f['unshift'](_0x294d2e[_0x403de3(0x1f2)][_0x403de3(0x330)]),_0x340be5[_0x403de3(0x1d9)](_0x335569[_0x403de3(0x1f2)][_0x403de3(0x330)]),_0x5dc18d=_0x294d2e['m1Prime'],_0xe347d0=_0x335569[_0x403de3(0x1ee)];}_0x3da4ed[_0x403de3(0x314)]({'undoCache':_0x5b655f,'redoCache':_0x340be5});}[_0x101b2d(0x1a1)](_0x536808){const _0x15badc=_0x101b2d,{unitID:_0x276087}=_0x536808,_0x30027c=this[_0x15badc(0x1f8)]['getRenderById'](_0x276087)[_0x15badc(0x2a7)](_0x122b5c),_0x3a7e9d=_0x30027c[_0x15badc(0x2a8)]();if(_0x3a7e9d==null)return;const _0x441a6a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x536808['unitID'],'actions':null,'textRanges':[_0x3a7e9d]}}],_0x36ba1d=this[_0x15badc(0x159)][_0x15badc(0x2e7)](_0x536808,_0x441a6a);if(!_0x220a8f(_0x36ba1d))throw _0x36ba1d[_0x15badc(0x254)];const _0x32b8e7=_0x36ba1d[_0x15badc(0x1f2)][0x0]['params'][_0x15badc(0x2e5)];Array[_0x15badc(0x1ab)](_0x32b8e7)&&_0x32b8e7[_0x15badc(0x24b)]&&_0x30027c['setActiveRange'](_0x32b8e7[0x0]);}};ne=tn([pe(0x0,_0x412f34(_0x5734b6)),pe(0x1,_0x4f8e7d),pe(0x2,_0x472ea2)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x317a14,_0x83e258,_0x125c0c,_0xfc2f6d)=>{const _0x423499=_0x101b2d;for(var _0x5cb58c=_0xfc2f6d>0x1?void 0x0:_0xfc2f6d?sn(_0x83e258,_0x125c0c):_0x83e258,_0x44aadc=_0x317a14[_0x423499(0x24b)]-0x1,_0x166425;_0x44aadc>=0x0;_0x44aadc--)(_0x166425=_0x317a14[_0x44aadc])&&(_0x5cb58c=_0x166425(_0x5cb58c)||_0x5cb58c);return _0x5cb58c;},Ce=(_0x47398a,_0x580f4f)=>(_0x444485,_0x4edf09)=>_0x580f4f(_0x444485,_0x4edf09,_0x47398a);let re=class{constructor(_0x20cf25,_0x33fc1a,_0xe1babf){const _0x3cce3b=_0x101b2d;this[_0x3cce3b(0x332)]=_0x20cf25,this['_transformService']=_0x33fc1a,this[_0x3cce3b(0x287)]=_0xe1babf;}[_0x101b2d(0x33b)](_0x4c0b11){const _0x28f4f0=_0x101b2d;this[_0x28f4f0(0x322)](_0x4c0b11);}['transformRemoteChangeset'](_0x5ea382){const _0x5e9d96=_0x101b2d,{unitID:_0x58a76a}=_0x5ea382,{collaboration:_0xedf0a9}=this[_0x5e9d96(0x287)][_0x5e9d96(0x2ed)](_0x58a76a);if(_0xedf0a9['length']===0x0)return _0x5ea382;let _0x2dd7b1=_0x2a3c54[_0x5e9d96(0x176)](_0x5ea382[_0x5e9d96(0x15c)][0x0]);for(let _0x497de1=0x0;_0x497de1<_0xedf0a9['length'];_0x497de1++){const _0x3f504e={'id':_0x5e9d96(0x22e),'params':{'unitId':_0xedf0a9[_0x497de1]['unitId'],..._0xedf0a9[_0x497de1][_0x5e9d96(0x336)]}},_0x3e6a27=this[_0x5e9d96(0x159)]['transformMutation'](_0x2dd7b1,_0x3f504e,!0x1);if(_0xe1a8c3(_0x3e6a27))throw _0x3e6a27[_0x5e9d96(0x254)];_0x2dd7b1=_0x3e6a27['m1Prime'];}return{..._0x2a3c54[_0x5e9d96(0x176)](_0x5ea382),'mutations':[_0x2dd7b1]};}['_transformHistoryAndStateStack'](_0x41710b){const _0x25e924=_0x101b2d,{unitID:_0x487bda}=_0x41710b,{history:_0x13d5b8,collaboration:_0x17cdc3}=this[_0x25e924(0x287)][_0x25e924(0x2ed)](_0x487bda);if(_0x13d5b8[_0x25e924(0x24b)]===0x0&&_0x17cdc3[_0x25e924(0x24b)]===0x0)return;const _0x2f23c1=[],_0x38036c=[];let _0xae06c3=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]),_0x116755=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]);for(let _0x9110a9=_0x13d5b8[_0x25e924(0x24b)]-0x1;_0x9110a9>=0x0;_0x9110a9--){const _0x49a826={'id':_0x25e924(0x22e),'params':{'unitId':_0x13d5b8[_0x9110a9][_0x25e924(0x333)],..._0x13d5b8[_0x9110a9][_0x25e924(0x226)]}},_0x3a4fa3={'id':_0x25e924(0x22e),'params':{'unitId':_0x13d5b8[_0x9110a9][_0x25e924(0x333)],..._0x13d5b8[_0x9110a9][_0x25e924(0x336)]}},_0x9ab517=this[_0x25e924(0x159)][_0x25e924(0x17e)](_0xae06c3,_0x49a826,!0x1),_0x2a04bb=this['_transformService']['transformMutation'](_0x116755,_0x3a4fa3,!0x1);if(_0xe1a8c3(_0x9ab517))throw _0x9ab517[_0x25e924(0x254)];if(_0xe1a8c3(_0x2a04bb))throw _0x2a04bb[_0x25e924(0x254)];_0x2f23c1[_0x25e924(0x1d9)]({..._0x13d5b8[_0x9110a9],'undoState':_0x9ab517['m2Prime'][_0x25e924(0x330)],'redoState':_0x2a04bb[_0x25e924(0x1f2)][_0x25e924(0x330)]}),_0xae06c3=_0x9ab517['m1Prime'],_0x116755=_0x2a04bb[_0x25e924(0x1ee)];}_0xae06c3=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]),_0x116755=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]);for(let _0x467c55=_0x17cdc3[_0x25e924(0x24b)]-0x1;_0x467c55>=0x0;_0x467c55--){const _0xc3f890={'id':_0x25e924(0x22e),'params':{'unitId':_0x17cdc3[_0x467c55][_0x25e924(0x333)],..._0x17cdc3[_0x467c55]['undoState']}},_0x189cc2={'id':_0x25e924(0x22e),'params':{'unitId':_0x17cdc3[_0x467c55][_0x25e924(0x333)],..._0x17cdc3[_0x467c55][_0x25e924(0x336)]}},_0x92c6c7=this[_0x25e924(0x159)][_0x25e924(0x17e)](_0xae06c3,_0xc3f890,!0x1),_0x10157b=this[_0x25e924(0x159)][_0x25e924(0x17e)](_0x116755,_0x189cc2,!0x1);if(_0xe1a8c3(_0x92c6c7))throw _0x92c6c7[_0x25e924(0x254)];if(_0xe1a8c3(_0x10157b))throw _0x10157b[_0x25e924(0x254)];_0x38036c[_0x25e924(0x1d9)]({..._0x17cdc3[_0x467c55],'undoState':_0x92c6c7[_0x25e924(0x1f2)][_0x25e924(0x330)],'redoState':_0x10157b[_0x25e924(0x1f2)][_0x25e924(0x330)]}),_0xae06c3=_0x92c6c7['m1Prime'],_0x116755=_0x10157b['m1Prime'];}this[_0x25e924(0x287)][_0x25e924(0x1bc)](_0x487bda,{'history':_0x2f23c1,'collaboration':_0x38036c});}};re=nn([Ce(0x0,_0x412f34(_0x5734b6)),Ce(0x1,_0x4f8e7d),Ce(0x2,_0x412f34(_0xe74f9b))],re);var rn=Object[_0x101b2d(0x172)],on=(_0x324d5b,_0xaee134,_0x5206ae,_0x45c845)=>{const _0x48f898=_0x101b2d;for(var _0x3edad5=_0x45c845>0x1?void 0x0:_0x45c845?rn(_0xaee134,_0x5206ae):_0xaee134,_0x1afe3f=_0x324d5b[_0x48f898(0x24b)]-0x1,_0x5a6535;_0x1afe3f>=0x0;_0x1afe3f--)(_0x5a6535=_0x324d5b[_0x1afe3f])&&(_0x3edad5=_0x5a6535(_0x3edad5)||_0x3edad5);return _0x3edad5;},tt=(_0xfc47ed,_0x5156dd)=>(_0x1715ed,_0x1cd139)=>_0x5156dd(_0x1715ed,_0x1cd139,_0xfc47ed);let oe=class{constructor(_0x369864,_0x612a25){const _0x2d77cf=_0x101b2d;this[_0x2d77cf(0x332)]=_0x369864,this[_0x2d77cf(0x159)]=_0x612a25;}[_0x101b2d(0x2a9)](_0x328d33){const _0xc2ec88=_0x101b2d;var _0x22face;const _0x5bfffe=this[_0xc2ec88(0x332)][_0xc2ec88(0x23e)](_0x3a0ec0),_0xdb9f36=(_0x22face=_0x5bfffe['getDocRanges']())!=null?_0x22face:[];if(_0xdb9f36[_0xc2ec88(0x24b)]===0x0)return;const _0x477e8c=_0x328d33['unitID'],_0x3fe4a0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x477e8c,'actions':null,'textRanges':_0xdb9f36}}],_0x421fdf=this[_0xc2ec88(0x159)][_0xc2ec88(0x2e7)](_0x328d33,_0x3fe4a0);if(!_0x220a8f(_0x421fdf))throw _0x421fdf[_0xc2ec88(0x254)];const _0x2908c2=_0x421fdf[_0xc2ec88(0x1f2)][0x0][_0xc2ec88(0x330)][_0xc2ec88(0x2e5)];Array[_0xc2ec88(0x1ab)](_0x2908c2)&&_0x2908c2['length']&&_0x5bfffe[_0xc2ec88(0x209)](_0x2908c2,{'unitId':_0x477e8c,'subUnitId':_0x477e8c},!0x1);}};oe=on([tt(0x0,_0x412f34(_0x5734b6)),tt(0x1,_0x4f8e7d)],oe);var an=Object[_0x101b2d(0x172)],cn=(_0x2de6fb,_0x5da599,_0x342eee,_0x568f1d)=>{const _0x49736=_0x101b2d;for(var _0x13f5a2=_0x568f1d>0x1?void 0x0:_0x568f1d?an(_0x5da599,_0x342eee):_0x5da599,_0x1a3218=_0x2de6fb[_0x49736(0x24b)]-0x1,_0x227d0e;_0x1a3218>=0x0;_0x1a3218--)(_0x227d0e=_0x2de6fb[_0x1a3218])&&(_0x13f5a2=_0x227d0e(_0x13f5a2)||_0x13f5a2);return _0x13f5a2;},U=(_0x1de740,_0x18c083)=>(_0xaf57f8,_0x1a43b1)=>_0x18c083(_0xaf57f8,_0x1a43b1,_0x1de740);let ae=class extends _0x5d992a{constructor(_0x3e2866,_0x58c3f7,_0x307ce7,_0xbd9d4d,_0x1884ba,_0x35f583,_0x59e12f,_0x355246){const _0x5154bd=_0x101b2d;super(),_(this,_0x5154bd(0x1e0),new _0x41fdad(_0x3843bb[_0x5154bd(0x2bd)])),(this['_docStateChangeManagerService']=_0x3e2866,this[_0x5154bd(0x14e)]=_0x58c3f7,this[_0x5154bd(0x2e8)]=_0x307ce7,this[_0x5154bd(0x346)]=_0xbd9d4d,this['_docTransformSelectionsService']=_0x1884ba,this[_0x5154bd(0x30b)]=_0x35f583,this[_0x5154bd(0x2c3)]=_0x59e12f,this[_0x5154bd(0x2d3)]=_0x355246,this[_0x5154bd(0x327)]());}[_0x101b2d(0x327)](){const _0x57c498=_0x101b2d;this[_0x57c498(0x197)](this['_collaborationController'][_0x57c498(0x1fe)]['subscribe'](_0x48ac4f=>{const _0x165773=_0x57c498,_0x2008f7=this['_docStateChangeManagerService']['docStateChange$'][_0x165773(0x1e8)](_0x592e44=>{const _0x438e58=_0x165773;if(_0x592e44==null)return;const {unitId:_0x10f606,redoState:_0x26de61,commandId:_0x2e1a67}=_0x592e44;if(_0x10f606!==_0x48ac4f[_0x438e58(0x2e4)])return;const _0x55b348={'id':_0x2e1a67,'type':_0x5c0bdc[_0x438e58(0x178)],'params':{'unitId':_0x10f606,'actions':_0x26de61[_0x438e58(0x19e)],'textRanges':null}};_0x48ac4f['onLocalMutation'](_0x55b348);});if(_0x48ac4f[_0x165773(0x197)](_0x2008f7),_0x48ac4f instanceof _0x238a62){const _0x24ce71={'onTransformIME':_0x1ae64a=>this['_docTransformIMECacheService']['transformIMECache'](_0x1ae64a),'onTransformState':_0x28a0c4=>this[_0x165773(0x346)][_0x165773(0x33b)](_0x28a0c4),'onTransformSelections':_0x9d82f8=>this[_0x165773(0x321)][_0x165773(0x2a9)](_0x9d82f8),'onSyncEditingCollabCursor':_0x56e7e8=>this[_0x165773(0x30b)]['syncEditingCollabCursor'](_0x56e7e8),'onTransformRemoteChangesetByIMECache':_0x155e37=>this['_docTransformIMECacheService'][_0x165773(0x1b0)](_0x155e37),'onTransformRemoteChangesetByStateCache':_0x11510d=>this[_0x165773(0x346)][_0x165773(0x1b0)](_0x11510d)};_0x48ac4f['addHandlerCallback'](_0x24ce71);}}));}};ae=cn([U(0x0,_0x412f34(_0xe74f9b)),U(0x1,_0x412f34(_0x80ddbe)),U(0x2,_0x412f34(ne)),U(0x3,_0x412f34(re)),U(0x4,_0x412f34(oe)),U(0x5,_0x412f34(He)),U(0x6,_0x1f8231),U(0x7,_0x412f34(_0x2f8db4))],ae);var ln=Object[_0x101b2d(0x172)],_n=(_0x5eed8a,_0x5106ca,_0x1b2cc0,_0x148f95)=>{for(var _0x4a81de=_0x148f95>0x1?void 0x0:_0x148f95?ln(_0x5106ca,_0x1b2cc0):_0x5106ca,_0xba8d82=_0x5eed8a['length']-0x1,_0x37c03d;_0xba8d82>=0x0;_0xba8d82--)(_0x37c03d=_0x5eed8a[_0xba8d82])&&(_0x4a81de=_0x37c03d(_0x4a81de)||_0x4a81de);return _0x4a81de;},Ee=(_0x40c8c7,_0x4921d4)=>(_0x3825fb,_0x585510)=>_0x4921d4(_0x3825fb,_0x585510,_0x40c8c7);let we=class extends _0x5d992a{constructor(_0x1345d8,_0x17cb2b,_0x10f579){const _0x45a0e9=_0x101b2d;super(),_(this,_0x45a0e9(0x25d),new Map()),_(this,_0x45a0e9(0x290),new Map()),_(this,_0x45a0e9(0x32e),!0x1),(this[_0x45a0e9(0x319)]=_0x1345d8,this[_0x45a0e9(0x233)]=_0x17cb2b,this['_revisionService']=_0x10f579);}[_0x101b2d(0x1a5)](){const _0x5a7531=_0x101b2d;this[_0x5a7531(0x32e)]=!0x0;}[_0x101b2d(0x283)](){const _0x2c6d2b=_0x101b2d;this[_0x2c6d2b(0x32e)]=!0x1;}get[_0x101b2d(0x2c6)](){return this['_saveTaskMap'];}[_0x101b2d(0x1ec)](){const _0x242db4=_0x101b2d;this['exhaustSavingTask']()[_0x242db4(0x334)](()=>super[_0x242db4(0x1ec)]());}async[_0x101b2d(0x276)](_0x87dcd8){const _0x445322=_0x101b2d;return this[_0x445322(0x32e)]?null:this[_0x445322(0x233)][_0x445322(0x27b)](_0x4fbd4e(_0x87dcd8));}async[_0x101b2d(0x215)](_0x56dcdd,_0xa263e){const _0x106063=_0x101b2d;return!!this[_0x106063(0x233)]['setItem'](_0x56dcdd,_0xa263e);}[_0x101b2d(0x297)](_0x1897ca,_0xb85101,_0x3c21f6,_0x2f0596){const _0x383d6b=_0x101b2d,_0x28d09b=this[_0x383d6b(0x200)]['getCurrentRevOfUnit'](_0x1897ca);this[_0x383d6b(0x25d)][_0x383d6b(0x213)](_0x1897ca,{'unitID':_0x1897ca,'type':_0xb85101,'awaitingChangeset':_0x3c21f6,'mutations':_0x2f0596,'rev':_0x28d09b}),this[_0x383d6b(0x290)][_0x383d6b(0x1b4)](_0x1897ca)||this[_0x383d6b(0x2f0)](_0x1897ca);}[_0x101b2d(0x2f0)](_0x3e0e78){const _0x5b1ce3=_0x101b2d,_0x4d3b7e=this[_0x5b1ce3(0x194)]();_0x4d3b7e===0x0?this[_0x5b1ce3(0x28f)](_0x3e0e78):this['_saveTaskMap']['set'](_0x3e0e78,setTimeout(()=>this[_0x5b1ce3(0x28f)](_0x3e0e78),_0x4d3b7e));}[_0x101b2d(0x194)](){const _0x7e7622=_0x101b2d;var _0x5856d9;return(_0x5856d9=this[_0x7e7622(0x319)][_0x7e7622(0x205)](_0x5a6c3b))!=null?_0x5856d9:_0x8ebb76;}[_0x101b2d(0x28f)](_0x41ca2a){const _0x453bdf=_0x101b2d,_0x3e94e9=this['_saveTaskMap'][_0x453bdf(0x23e)](_0x41ca2a);return _0x3e94e9!==void 0x0&&window[_0x453bdf(0x1c2)](_0x3e94e9),this[_0x453bdf(0x233)][_0x453bdf(0x299)](_0x4fbd4e(_0x41ca2a),this[_0x453bdf(0x25d)]['get'](_0x41ca2a))[_0x453bdf(0x334)](()=>this[_0x453bdf(0x290)]['delete'](_0x41ca2a));}async[_0x101b2d(0x18b)](){const _0x568d65=_0x101b2d,_0x37a050=[];this[_0x568d65(0x290)]['forEach']((_0xf74044,_0x49983a)=>{const _0x418e95=_0x568d65;window[_0x418e95(0x1c2)](_0xf74044),_0x37a050[_0x418e95(0x262)](this[_0x418e95(0x28f)](_0x49983a)['then'](()=>{const _0x5517fc=_0x418e95;this[_0x5517fc(0x290)][_0x5517fc(0x27f)](_0x49983a);}));}),await Promise[_0x568d65(0x1a4)](_0x37a050);}};we=_n([Ee(0x0,_0x13e366),Ee(0x1,_0x54e307),Ee(0x2,_0x412f34(_0xf00258))],we);class hn extends _0x26536e{constructor(){const _0x264451=_0x101b2d;super(),_(this,'urlChange$'),this[_0x264451(0x146)]=_0x3c49fd(window,'popstate')['pipe'](_0xfd7c4(this['dispose$']),_0x3f433b(0x1),_0x44d52f(void 0x0));}[_0x101b2d(0x15d)](_0x20d494,_0x9b163,_0x487ccf=!0x1){const _0x3d2afa=_0x101b2d,_0x31a0c6=new URL(window[_0x3d2afa(0x16c)]['href']);_0x31a0c6[_0x3d2afa(0x237)][_0x3d2afa(0x213)](_0x20d494,_0x9b163),_0x487ccf?window[_0x3d2afa(0x1c6)]['replaceState']('','',_0x31a0c6[_0x3d2afa(0x14c)]()):window[_0x3d2afa(0x1c6)][_0x3d2afa(0x292)]('','',_0x31a0c6[_0x3d2afa(0x14c)]());}['removeParam'](_0x639537,_0x286849=!0x1){const _0x239551=_0x101b2d,_0x4ad492=new URL(window['location'][_0x239551(0x14f)]);_0x4ad492[_0x239551(0x237)][_0x239551(0x27f)](_0x639537),_0x286849?window['history'][_0x239551(0x25a)]('','',_0x4ad492[_0x239551(0x14c)]()):window['history'][_0x239551(0x292)]('','',_0x4ad492[_0x239551(0x14c)]());}[_0x101b2d(0x25c)](_0x5f7787){const _0x3efbf7=_0x101b2d;var _0x40e0b7;return(_0x40e0b7=new URL(window[_0x3efbf7(0x16c)][_0x3efbf7(0x14f)])[_0x3efbf7(0x237)][_0x3efbf7(0x23e)](_0x5f7787))!=null?_0x40e0b7:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x101b2d(0x172)],fn=(_0x14d271,_0x315fba,_0x5e85ed)=>_0x315fba in _0x14d271?un(_0x14d271,_0x315fba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e85ed}):_0x14d271[_0x315fba]=_0x5e85ed,Sn=(_0x4b6110,_0x1e917b,_0x37d119,_0x24f388)=>{for(var _0x4f9529=_0x24f388>0x1?void 0x0:_0x24f388?dn(_0x1e917b,_0x37d119):_0x1e917b,_0x3f4bb0=_0x4b6110['length']-0x1,_0x5023f2;_0x3f4bb0>=0x0;_0x3f4bb0--)(_0x5023f2=_0x4b6110[_0x3f4bb0])&&(_0x4f9529=_0x5023f2(_0x4f9529)||_0x4f9529);return _0x4f9529;},Oe=(_0x2577ce,_0x2c4536)=>(_0x3f1b29,_0x425351)=>_0x2c4536(_0x3f1b29,_0x425351,_0x2577ce),mn=(_0x65028e,_0x1a566a,_0x461ef0)=>fn(_0x65028e,_0x1a566a+'',_0x461ef0);const In=_0x101b2d(0x2ef);let Ae=class extends _0x5ef0c3{constructor(_0x238af8=et,_0x3b0cb3,_0x5be10c,_0x4006dd){const _0x130005=_0x101b2d;super(),this[_0x130005(0x228)]=_0x238af8,this[_0x130005(0x1f8)]=_0x3b0cb3,this[_0x130005(0x332)]=_0x5be10c,this[_0x130005(0x319)]=_0x4006dd;const {..._0x2ed261}=_0x78722b({},et,this[_0x130005(0x228)]);this['_configService'][_0x130005(0x26e)](Zi,_0x2ed261);}['onStarting'](){const _0x122616=_0x101b2d;this['_registerDependencies'](),this[_0x122616(0x2b7)]();}[_0x101b2d(0x1b6)](){const _0x54d9a2=_0x101b2d;this[_0x54d9a2(0x2c1)]();}[_0x101b2d(0x1ba)](){const _0x37f10f=_0x101b2d;var _0x4d0b66;const _0x4c96ce=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x28d7f0,{'useClass':_0x5afffe}],[_0x55999b,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x183f09(this['_injector'],_0x456b3d(_0x4c96ce,(_0x4d0b66=this[_0x37f10f(0x228)])==null?void 0x0:_0x4d0b66[_0x37f10f(0x1da)]));}[_0x101b2d(0x2c1)](){const _0x1b38d2=_0x101b2d;this[_0x1b38d2(0x197)](this[_0x1b38d2(0x1f8)][_0x1b38d2(0x1eb)](_0xcf709f[_0x1b38d2(0x1b5)],[Le])),this[_0x1b38d2(0x197)](this[_0x1b38d2(0x1f8)][_0x1b38d2(0x1eb)](_0xcf709f[_0x1b38d2(0x348)],[Pe]));}[_0x101b2d(0x2b7)](){_0x104d7e(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};function _0x82c1(){const _0x23cf27=['isArray','_commandService','substring','addObject','isActive','transformRemoteChangeset','beginPath','onCommandExecuted','storage','has','UNIVER_DOC','onRendered','#FFF','YUUMI_UNABLE_LOAD_URL','symbol','_registerDependencies','getValue','setStateCache','getActiveSheet','_cursorInfo$','_handleHover','extend','INVALID_INVITE_CODE','clearTimeout','getAncestorScale','_roomMembers$','registerBeforeClose','history','subUnitId','_handleJoinEvent','OTHER_CLIENTS_EDITING','37880XtLeVW','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','activeSheet$','data','LICENSE_DISTRO_REJECTED','Failed','startsWith','_handleEvent','LICENSE_MAX_UNITS_EXCEEDED','Error','_transformUndoRedoStack','svg','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','bottom','transformIMECache','unshift','override','DeleteRangeMoveUpCommandId','collabCursorState$','_updateURLWithCurrentState','stringify','random','_status$','createSocket','_online','_hideTimer','_textBubble','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','assignAColorForMemberID','_removeClearOtherTimer','subscribe','green.600','PERMISSION_DENIED','registerRenderModule','dispose','_lastPointer','m1Prime','defIds','getRenderById','_drawAnchor','m2Prime','use','find','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','8XQuwgc','Warning','_renderManagerService','_themeService','unsubscribe','_univerInstanceService','getUniverSheetInstance','_collabSessionService','entityInit$','_setupBeforeClosingHandler','_revisionService','_handleHeartbeatEvent','FromArray','USER_NOT_INVITED_CODE','startRow','getConfig','_getAnchorBounding','unload','_getSheetObject','replaceDocRanges','sessionTicket','_toggleOnline','_hover','call','_docSkeletonManagerService','JOIN_ROOM_FAILED','icon','_initStatusListener','min','set','findNodePositionByCharIndex','saveOfflineData','collaboration.single-unit.warning','idSuffix','transform','_colorAssignService','onMouseMove','jiqing.500','closePath','_uiPartsService','1em','_eventUnsubscribe','YUUMI_ALL_TABLES_IS_INVALID','EMAIL_HAS_BEEN_BOUND','init','_document','_clearOtherTimers','getCurrent','undoState','YUUMI_URL_COL_OUT_OF_RANGE','_config','HEADER_MENU','[RemoteUniscriptService]:\x20no\x20focused\x20unit','WECHAT_HAS_BEEN_BOUND','_heartbeatTimer','_ensureSubject','doc.mutation.rich-text-editing','Unknown\x20user','_init','_localCacheService','engine','_localStorageService','runId','RemoveColCommandId','next','searchParams','onPointerLeave$','SYNCED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_session','getCollabEntity$','_instanceService','get','collaboration-client-ui.config','addEventListener','cursorInfo$','_send','className','MOBILE_VERIFY_CODE_MISMATCH','_draw','_labelPosition','mask','_onCursorDelete','includes','getOffsetConfig','length','_onRefRangeChange','_refreshCollabCursors','getMemberID','NOT_FOUND','newValue','_anchorDot','on-line-icon','concat','error','on-line-icon_clip0_910_349','RECT','drawWith','trim','_range','replaceState','skeleton','getParam','_cachedData','SOCKET_FAILED_RETRY','INVITE_CODE_HAS_BEEN_UES','APPLY_REJECT','_collaborationUIEventService','push','code','pipe','debug','asObservable','attrs','currentColor','sheetID','LICENSE_IMPORT_SIZE_EXCEEDED','createInstance','defs','[CollaborationDataLoaderController]','setConfig','registerComponent','getOwnPropertySymbols','getFocusedUnit','_selfUnitIDs','getUndoRedoMutationParamsCache','addObjects','post','loadOfflineData','_memberService','addClipboardHook','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UPDATE_CURSOR','getItem','_imageIoService','_drawRectRange','height','delete','CONNECTOR_DATA_TOO_LARGE','ranges','CLOSE_ROOM','enableLocalCache','_initStatusComponent','TOO_MANY_REQUESTS','div','_docStateChangeManagerService','_backgroundColor','_sheetSkeletonManagerService','subscribeEvent','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','rgba(255,\x20255,\x20255,\x200.01)','COMPLETION_FINISHED','_saveCache','_saveTaskMap','OnLineIcon','pushState','show','body','fillRule','setInterval','updateOfflineData','_initCommandExecutedListener','setItem','red.300','assign','clipPath','_setupSubUnitSync','resize','reconnect','_getSessionTicket','off-line-icon','_assignedColors','_render','1svlYgU','...','yellow.400','with','getActiveRange','transformSelections','USERS_LEAVE','_scene','SNAPSHOT_INVALID_SNAPSHOT','unit','wsSessionTicketUrl','_createSocketURL','0\x200\x2017\x2016','getColorFromTheme','permission.title','black','LOGIN_FAILED','0\x200\x2016\x2016','propertyIsEnumerable','_initDependencies','fillText','sheetId','_httpService','956874esociK','size','NOT_COLLAB','_getMergeRange','AWAITING','application/json','_registerRenderDependencies','955497UKBISp','_messageService','xlink:href','generateRandomId','saveTaskMap','APPLY_PERMISSION_DENIED','text','requireSession','imageSourceType','white','_name','subunit','max','from','purple.300','collabStatus.syncing','hasOwnProperty','_localeService','_refRangeService','cursorInfo','add','fillStyle','send','moveTo','runOnServer','range','getTypeOfUnitDisposed$','5283400WAQJqd','defineProperty','children','result','getRangePointData','current','_anchor','unitID','textRanges','_updateSubUnitFromURLParams','transformMutationsWithChangeset','_docTransformIMECacheService','LICENSE_EXPORT_SIZE_EXCEEDED','ONLINE','_context','column','getStateCache','_startDocCollabCursor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_scheduleSaving','syncEditingCollabCursor','triggerDblclick','backgroundColor','name','_dataLoaderService','roomMembers$','univer-flex\x20univer-items-center','2890335UWjoSn','_doCreateSocket','DeleteRangeMoveLeftCommandId','_entityInit$','arc','startColumn','YUUMI_ASYNCIO_CANCELLED','save','translate(.97)','split','_onCursorUpdate','collab-rect-range-','VIEW_MAIN','InsertColCommandId','onPointerMove$','transformByState','type','selections','_toggleOffline','_docSyncEditingCollabCursorService','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','status$','UNDEFINED','_unitOnClients','registerRefRange','7vqWqKw','dispose$','_logService','setUndoRedoMutationParamsCache','selection','endColumn','CONFLICT','_initResize','_configService','_collabCursorState$','EMAIL_VERIFY_CODE_MISMATCH','getSheetBySheetId','_initEvent','getTypeOfUnitAdded$','_notificationService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docTransformSelectionsService','_transformHistoryAndStateStack','OFFLINE','row','restore','key','_initEntityListener','M0\x200H16V16H0z','width','complete','PENDING','OffLineIcon','clearInterval','_disabled','11076384shDGSi','params','collab-text-anchor-','_injector','unitId','then','some','redoState','MOBILE_HAS_BEEN_BOUND','UNRECOGNIZED','setAlpha','_updateCollabCursors','transformStateCache','collab-client.tooltip.reconnect','_handleLeaveEvent','_entities','APPLY_NON_SEQUENTIAL_REVISION','fill','tag','getCollabCursors$','getUnitId','_updateLocalCursor','map','_docTransformStateCacheService','url(#off-line-icon_clip0_910_343)','UNIVER_SHEET','prototype','urlChange$','_docSkeleton','getMergeData','getVpScrollXYInfoByPosToVp','INVITE_CODE_ALREADY_BOUND','round','toString','_scheduleHeartbeat','_collaborationController','href','apply','displayName','_colorIndex','currentTheme$','YUUMI_SUBSCRIPTION_NOT_FOUND','replace','string','flatMap','_startSheetCollabCursor','_transformService','CHANGESET_REVISION_CONFILICT','evenodd','mutations','setParam','APPLY_DUPLICATED','setShapeProps','onPointerEnter$','INVITE_CODE_REQUIRED','8569578yWrFvg','eventID','_collabCursorController','_urlService','hide','values','MoveRangeCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','_cursorShapes','loadUnit','location','_getScale','_removeCollabCursors','_color','saveImage','url(#on-line-icon_clip0_910_349)','getOwnPropertyDescriptor','423CmJDxP','_docClipboardService','ALREADY_EXISTS','deepClone','off-line-icon_clip0_910_343','MUTATION','measureText','YUUMI_AI_RUN_FAILED','getSheetId','path','entries','transformMutation','color','event$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_shapes','executeCommand','setTimeout','roomMembers','none','getSkeleton','url(#$1','isEditing','forEach','exhaustSavingTask','permission.content','SNAPSHOT_HAS_BEEN_REMOVED','ENSURE_SNAPSHOT_EXECUTION','session.connection-failed','_cursors','_hovered','ACTIVE_UNIT_EVENT_CHANNEL','INTERNAL_ERROR','_getSaveTimeout','_id','_drawTextRange','disposeWithMe','http://www.w3.org/2000/svg','top','YUUMI_CONNECTOR_URL_NOT_FOUND','colorChannel1','uni.network.url-service','collaboration-client.offline-data-not-saved','actions','lineTo','_beforeCloseService','_transformPreviousActiveRange','TEXT','onTransformChange$','all','disableLocalCache','currentSkeleton$','getCurrentSelections','indexOf','_unitStatus','_scheduleClearOtherTimer'];_0x82c1=function(){return _0x23cf27;};return _0x82c1();}mn(Ae,'pluginName',In),Ae=Sn([_0x3a8c20(_0x42a2eb),Oe(0x1,_0x472ea2),Oe(0x2,_0x412f34(_0x5734b6)),Oe(0x3,_0x13e366)],Ae);var gn=Object[_0x101b2d(0x172)],vn=(_0x45c541,_0x151fc6,_0x599420,_0x1b6191)=>{const _0xce2601=_0x101b2d;for(var _0x5da8b4=_0x1b6191>0x1?void 0x0:_0x1b6191?gn(_0x151fc6,_0x599420):_0x151fc6,_0x4fd13c=_0x45c541[_0xce2601(0x24b)]-0x1,_0x416c4e;_0x4fd13c>=0x0;_0x4fd13c--)(_0x416c4e=_0x45c541[_0x4fd13c])&&(_0x5da8b4=_0x416c4e(_0x5da8b4)||_0x5da8b4);return _0x5da8b4;},K=(_0x2f34bb,_0xc78d58)=>(_0x3d6e8c,_0x1c344b)=>_0xc78d58(_0x3d6e8c,_0x1c344b,_0x2f34bb);let st=class extends _0x356620{constructor(_0x585f54,_0x2e8e8f,_0x2bac28,_0x3a794e,_0x3e55db){super(_0x585f54,_0x2e8e8f,_0x2bac28,_0x3a794e,_0x3e55db);}async[_0x101b2d(0x1e1)](_0x191c1e){const _0x46845c=_0x101b2d,_0x5075e8=await this[_0x46845c(0x2a0)](),_0x4af95a=this[_0x46845c(0x2af)](_0x191c1e,_0x5075e8);return this[_0x46845c(0x2f9)](_0x4af95a);}[_0x101b2d(0x2af)](_0x36bbb2,_0x2437c9){const _0x40ed8d=_0x101b2d,_0x24979f=typeof window>'u'?new URL(_0x36bbb2):new URL(_0x36bbb2,window[_0x40ed8d(0x16c)]['origin']);_0x24979f['searchParams'][_0x40ed8d(0x213)](_0x40ed8d(0x20a),_0x2437c9);const _0x5076d1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x40ed8d(0x16c)]['search']);return _0x5076d1[_0x40ed8d(0x23e)](_0x40ed8d(0x234))&&_0x24979f['searchParams'][_0x40ed8d(0x213)](_0x40ed8d(0x234),_0x5076d1[_0x40ed8d(0x23e)](_0x40ed8d(0x234))),_0x24979f['toString']();}async[_0x101b2d(0x2a0)](){const _0x2ba447=_0x101b2d;var _0x5f1fbf,_0x46355d,_0x4bb62f;const _0x8809d3=this[_0x2ba447(0x319)]['getConfig'](_0x8df6aa),_0x458363=(_0x5f1fbf=_0x8809d3==null?void 0x0:_0x8809d3[_0x2ba447(0x2ae)])!=null?_0x5f1fbf:_0x4ba172;return(_0x4bb62f=(_0x46355d=(await this[_0x2ba447(0x2ba)][_0x2ba447(0x23e)](_0x458363,{'headers':{'Content-Type':_0x2ba447(0x2c0)}}))[_0x2ba447(0x294)])==null?void 0x0:_0x46355d['ticket'])!=null?_0x4bb62f:'';}};st=vn([K(0x0,_0x412f34(_0x5734b6)),K(0x1,_0x412f34(_0x32db5f)),K(0x2,_0x13e366),K(0x3,_0x49d917),K(0x4,_0x4f4740)],st);const it=0x7530,nt=_0x101b2d(0x192);class Fn extends _0x5d992a{constructor(){const _0x305d64=_0x101b2d;super(),_(this,_0x305d64(0x195),_0x4c9b9a()),_(this,_0x305d64(0x272),new Set()),_(this,_0x305d64(0x30f),new Map()),_(this,_0x305d64(0x22c),null),_(this,_0x305d64(0x224),new Map()),_(this,_0x305d64(0x1a9),new Map()),this['_init']();}['dispose'](){const _0x20f3f6=_0x101b2d;super[_0x20f3f6(0x1ec)](),this[_0x20f3f6(0x224)][_0x20f3f6(0x18a)]((_0x24b6ef,_0x4c3e1e)=>this['_removeClearOtherTimer'](_0x4c3e1e)),this['_heartbeatTimer']&&window[_0x20f3f6(0x32d)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x1293ea){const _0x50a038=_0x101b2d;return this[_0x50a038(0x22d)](_0x1293ea)[_0x50a038(0x264)](_0x26f898());}['editingUnit'](_0x36e382){const _0x122879=_0x101b2d;this[_0x122879(0x272)][_0x122879(0x2bc)]===0x0&&this['_scheduleHeartbeat'](),this[_0x122879(0x272)][_0x122879(0x2d6)](_0x36e382),this[_0x122879(0x242)]({'type':0x0,'memberID':this[_0x122879(0x195)],'unitIDs':[_0x36e382],'isForwarded':!0x1});}['disposeUnit'](_0x3390fb){const _0x4f18b6=_0x101b2d;this[_0x4f18b6(0x272)][_0x4f18b6(0x27f)](_0x3390fb),this['_selfUnitIDs'][_0x4f18b6(0x2bc)]===0x0&&this[_0x4f18b6(0x22c)]&&window[_0x4f18b6(0x32d)](this[_0x4f18b6(0x22c)]);}[_0x101b2d(0x230)](){const _0x261274=_0x101b2d;this[_0x261274(0x197)](_0x28bae3(_0x3c49fd(window,_0x261274(0x1b3))['subscribe'](_0x1846e1=>{const _0x23afae=_0x261274;if(_0x1846e1[_0x23afae(0x326)]!==nt||!_0x1846e1[_0x23afae(0x250)])return;const _0x3e578b=JSON['parse'](_0x1846e1[_0x23afae(0x250)]);this['_handleEvent'](_0x3e578b);}))),window[_0x261274(0x240)](_0x261274(0x207),()=>this[_0x261274(0x242)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x261274(0x2cf)](this[_0x261274(0x272)])}));}[_0x101b2d(0x1d1)](_0x25ca17){const _0xaff347=_0x101b2d;switch(_0x25ca17['type']){case 0x0:this['_handleJoinEvent'](_0x25ca17);break;case 0x1:this[_0xaff347(0x33d)](_0x25ca17);break;case 0x2:this[_0xaff347(0x201)](_0x25ca17);break;}}[_0x101b2d(0x1c8)](_0x1885d2){const _0x91360a=_0x101b2d,{unitIDs:_0x49e48f,memberID:_0x2d3586,isForwarded:_0x5b6a4f}=_0x1885d2;_0x49e48f[_0x91360a(0x18a)](_0x201389=>{const _0x4dffa9=_0x91360a;if(!_0x5b6a4f&&this['_unitOnClients']['has'](_0x201389)&&this[_0x4dffa9(0x22d)](_0x201389)[_0x4dffa9(0x236)](_0x4edacb[_0x4dffa9(0x1c9)]),!this[_0x4dffa9(0x30f)][_0x4dffa9(0x1b4)](_0x201389)||!this['_unitOnClients'][_0x4dffa9(0x23e)](_0x201389)[_0x4dffa9(0x1b4)](_0x2d3586)){const _0x32cc52=this[_0x4dffa9(0x30f)][_0x4dffa9(0x23e)](_0x201389)||new Set();_0x32cc52[_0x4dffa9(0x2d6)](_0x2d3586),this[_0x4dffa9(0x30f)]['set'](_0x201389,_0x32cc52),this[_0x4dffa9(0x1aa)](_0x2d3586);}}),_0x5b6a4f||this['_send']({'type':0x0,'memberID':this[_0x91360a(0x195)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x101b2d(0x1aa)](_0x5b658c){const _0x463914=_0x101b2d;this[_0x463914(0x1e7)](_0x5b658c);const _0x2830de=window[_0x463914(0x184)](()=>{const _0x2a75f0=_0x463914;this[_0x2a75f0(0x30f)]['forEach'](_0x498934=>{_0x498934['delete'](_0x5b658c);});},it*0x2);this[_0x463914(0x224)][_0x463914(0x213)](_0x5b658c,_0x2830de);}[_0x101b2d(0x1e7)](_0x55eb49){const _0x22b831=_0x101b2d;if(this[_0x22b831(0x224)][_0x22b831(0x1b4)](_0x55eb49)){const _0x384c17=this[_0x22b831(0x224)][_0x22b831(0x23e)](_0x55eb49);_0x384c17&&window[_0x22b831(0x1c2)](_0x384c17),this[_0x22b831(0x224)][_0x22b831(0x213)](_0x55eb49,null);}}[_0x101b2d(0x33d)](_0x481a2f){const _0x3bafd9=_0x101b2d,{memberID:_0x582e72,unitIDs:_0x178943}=_0x481a2f;_0x178943[_0x3bafd9(0x18a)](_0x4ed98d=>{const _0x298433=_0x3bafd9;var _0x29a175;const _0x45596e=this[_0x298433(0x30f)]['get'](_0x4ed98d);_0x45596e&&(_0x45596e[_0x298433(0x27f)](_0x582e72),(_0x29a175=this[_0x298433(0x22d)](_0x4ed98d))==null||_0x29a175[_0x298433(0x236)](_0x45596e[_0x298433(0x2bc)]===0x0?_0x4edacb['NO_OTHER_CLIENTS_EDITING']:_0x4edacb[_0x298433(0x1c9)]));}),this[_0x3bafd9(0x1e7)](_0x582e72);}[_0x101b2d(0x201)](_0x14ebb4){const _0xd1d6bc=_0x101b2d;this[_0xd1d6bc(0x1aa)](_0x14ebb4['memberID']);}[_0x101b2d(0x242)](_0x5e1f8a){localStorage['setItem'](nt,JSON['stringify'](_0x5e1f8a));}[_0x101b2d(0x14d)](){const _0x43e793=_0x101b2d;this[_0x43e793(0x22c)]=window[_0x43e793(0x296)](()=>{const _0x3cd2dd=_0x43e793;this[_0x3cd2dd(0x242)]({'type':0x2,'memberID':this[_0x3cd2dd(0x195)]});},it);}[_0x101b2d(0x22d)](_0x34f840){const _0x3e55d7=_0x101b2d;return this['_unitStatus'][_0x3e55d7(0x1b4)](_0x34f840)||this['_unitStatus'][_0x3e55d7(0x213)](_0x34f840,new _0x41fdad(_0x4edacb['NO_OTHER_CLIENTS_EDITING'])),this[_0x3e55d7(0x1a9)]['get'](_0x34f840);}}var Mt=(_0x3e2999=>(_0x3e2999[_0x3e2999['UNDEFINED']=0x0]=_0x101b2d(0x30e),_0x3e2999[_0x3e2999['OK']=0x1]='OK',_0x3e2999[_0x3e2999['INTERNAL_ERROR']=0x2]=_0x101b2d(0x193),_0x3e2999[_0x3e2999['PERMISSION_DENIED']=0x3]=_0x101b2d(0x1ea),_0x3e2999[_0x3e2999[_0x101b2d(0x24f)]=0x4]='NOT_FOUND',_0x3e2999[_0x3e2999['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3e2999[_0x3e2999['ALREADY_EXISTS']=0x6]=_0x101b2d(0x175),_0x3e2999[_0x3e2999['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3e2999[_0x3e2999[_0x101b2d(0x285)]=0x8]='TOO_MANY_REQUESTS',_0x3e2999[_0x3e2999[_0x101b2d(0x28e)]=0x9]=_0x101b2d(0x28e),_0x3e2999[_0x3e2999[_0x101b2d(0x2b4)]=0xa]=_0x101b2d(0x2b4),_0x3e2999[_0x3e2999['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x101b2d(0x244),_0x3e2999[_0x3e2999[_0x101b2d(0x1f5)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3e2999[_0x3e2999[_0x101b2d(0x31b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3e2999[_0x3e2999['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x101b2d(0x279),_0x3e2999[_0x3e2999['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x101b2d(0x15a),_0x3e2999[_0x3e2999[_0x101b2d(0x2ac)]=0x1771]=_0x101b2d(0x2ac),_0x3e2999[_0x3e2999[_0x101b2d(0x18d)]=0x1772]=_0x101b2d(0x18d),_0x3e2999[_0x3e2999[_0x101b2d(0x18e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3e2999[_0x3e2999[_0x101b2d(0x260)]=0x1b59]='APPLY_REJECT',_0x3e2999[_0x3e2999[_0x101b2d(0x33f)]=0x1b5a]=_0x101b2d(0x33f),_0x3e2999[_0x3e2999['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3e2999[_0x3e2999[_0x101b2d(0x2c7)]=0x1b5c]=_0x101b2d(0x2c7),_0x3e2999[_0x3e2999[_0x101b2d(0x15e)]=0x1b5d]=_0x101b2d(0x15e),_0x3e2999[_0x3e2999[_0x101b2d(0x280)]=0x1f41]=_0x101b2d(0x280),_0x3e2999[_0x3e2999[_0x101b2d(0x1d2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3e2999[_0x3e2999['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x101b2d(0x1cb),_0x3e2999[_0x3e2999[_0x101b2d(0x26a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3e2999[_0x3e2999[_0x101b2d(0x2e9)]=0x232c]=_0x101b2d(0x2e9),_0x3e2999[_0x3e2999['LICENSE_DISTRO_REJECTED']=0x232d]=_0x101b2d(0x1ce),_0x3e2999[_0x3e2999['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x101b2d(0x1b8),_0x3e2999[_0x3e2999['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x101b2d(0x227),_0x3e2999[_0x3e2999['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3e2999[_0x3e2999[_0x101b2d(0x154)]=0x2714]=_0x101b2d(0x154),_0x3e2999[_0x3e2999[_0x101b2d(0x169)]=0x271a]=_0x101b2d(0x169),_0x3e2999[_0x3e2999[_0x101b2d(0x2fe)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3e2999[_0x3e2999[_0x101b2d(0x181)]=0x271c]=_0x101b2d(0x181),_0x3e2999[_0x3e2999['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x101b2d(0x220),_0x3e2999[_0x3e2999[_0x101b2d(0x1e5)]=0x271e]=_0x101b2d(0x1e5),_0x3e2999[_0x3e2999['YUUMI_AI_RUN_FAILED']=0x271f]=_0x101b2d(0x17a),_0x3e2999[_0x3e2999[_0x101b2d(0x19a)]=0x2720]=_0x101b2d(0x19a),_0x3e2999[_0x3e2999[_0x101b2d(0x28c)]=0x2af9]=_0x101b2d(0x28c),_0x3e2999[_0x3e2999[_0x101b2d(0x25f)]=0x2ee1]=_0x101b2d(0x25f),_0x3e2999[_0x3e2999['INVALID_INVITE_CODE']=0x2ee2]=_0x101b2d(0x1c1),_0x3e2999[_0x3e2999[_0x101b2d(0x161)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3e2999[_0x3e2999[_0x101b2d(0x203)]=0x2ee4]=_0x101b2d(0x203),_0x3e2999[_0x3e2999['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x101b2d(0x14a),_0x3e2999[_0x3e2999[_0x101b2d(0x22b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3e2999[_0x3e2999[_0x101b2d(0x337)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3e2999[_0x3e2999['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x101b2d(0x221),_0x3e2999[_0x3e2999[_0x101b2d(0x338)]=-0x1]=_0x101b2d(0x338),_0x3e2999))(Mt||{}),pn=Object[_0x101b2d(0x172)],Cn=(_0x13376a,_0x54c57f,_0x4185ff,_0x2f9da3)=>{for(var _0x30fc10=_0x2f9da3>0x1?void 0x0:_0x2f9da3?pn(_0x54c57f,_0x4185ff):_0x54c57f,_0x498d91=_0x13376a['length']-0x1,_0x33f082;_0x498d91>=0x0;_0x498d91--)(_0x33f082=_0x13376a[_0x498d91])&&(_0x30fc10=_0x33f082(_0x30fc10)||_0x30fc10);return _0x30fc10;},be=(_0x54288c,_0x3b9968)=>(_0x146095,_0x1c0be3)=>_0x3b9968(_0x146095,_0x1c0be3,_0x54288c);let rt=class extends _0x5d992a{constructor(_0x38eb2d,_0x593d7b,_0x23f732){const _0x2a64f5=_0x101b2d;super(),this[_0x2a64f5(0x23d)]=_0x38eb2d,this[_0x2a64f5(0x2ba)]=_0x593d7b,this[_0x2a64f5(0x319)]=_0x23f732;}async[_0x101b2d(0x2da)](_0x2c3d0c,_0x511c74,_0x17b150,..._0x24110a){const _0x527fb4=_0x101b2d;var _0x4a42d8,_0x3198a0,_0x5a4548,_0x543307;const _0x5174d9=this[_0x527fb4(0x23d)][_0x527fb4(0x271)]();if(!_0x5174d9)throw new Error(_0x527fb4(0x22a));const _0x41dce4=((_0x4a42d8=this[_0x527fb4(0x319)][_0x527fb4(0x205)](_0x1e87e0))!=null?_0x4a42d8:_0x31e98b)+'/'+_0x2c3d0c+'/run/'+_0x511c74,_0x22b95a=new URL(window[_0x527fb4(0x16c)][_0x527fb4(0x14f)]),_0x3e533d={'scriptId':_0x2c3d0c,'runId':(_0x3198a0=_0x22b95a['searchParams'][_0x527fb4(0x23e)](_0x527fb4(0x234)))!=null?_0x3198a0:'','function':_0x511c74,'unitId':_0x5174d9[_0x527fb4(0x343)](),'argsOfFunction':JSON[_0x527fb4(0x1de)](_0x24110a),'invokeId':(_0x5a4548=_0x17b150['invokeId'])!=null?_0x5a4548:'','executionId':(_0x543307=_0x17b150['executionId'])!=null?_0x543307:''};try{const _0x90667f=await this['_httpService'][_0x527fb4(0x275)](_0x41dce4,{'body':_0x3e533d});return _0x90667f['body'][_0x527fb4(0x254)]&&_0x90667f[_0x527fb4(0x294)][_0x527fb4(0x254)][_0x527fb4(0x263)]!==Mt['OK']?_0x527fb4(0x1cf):_0x90667f[_0x527fb4(0x294)][_0x527fb4(0x2e0)];}catch{return _0x527fb4(0x1cf);}}};rt=Cn([be(0x0,_0xc3619b),be(0x1,_0x412f34(_0x32db5f)),be(0x2,_0x13e366)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x3fe07c=_0x1112;(function(_0x421017,_0x5df7cc){const _0x3cd7ee=_0x1112,_0x3e1eb7=_0x421017();while(!![]){try{const _0x446795=parseInt(_0x3cd7ee(0x1cf))/0x1*(-parseInt(_0x3cd7ee(0x243))/0x2)+-parseInt(_0x3cd7ee(0x10d))/0x3+parseInt(_0x3cd7ee(0x232))/0x4*(-parseInt(_0x3cd7ee(0x294))/0x5)+-parseInt(_0x3cd7ee(0x1cd))/0x6+parseInt(_0x3cd7ee(0x23a))/0x7*(-parseInt(_0x3cd7ee(0xe4))/0x8)+-parseInt(_0x3cd7ee(0x117))/0x9+parseInt(_0x3cd7ee(0xdf))/0xa;if(_0x446795===_0x5df7cc)break;else _0x3e1eb7['push'](_0x3e1eb7['shift']());}catch(_0x27e77a){_0x3e1eb7['push'](_0x3e1eb7['shift']());}}}(_0x252b,0x8f848));var $t=Object[_0x3fe07c(0x1c7)],xt=(_0x4aade2,_0x47ec34,_0x39fc85)=>_0x47ec34 in _0x4aade2?$t(_0x4aade2,_0x47ec34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39fc85}):_0x4aade2[_0x47ec34]=_0x39fc85,_=(_0x3cb661,_0x33f148,_0x481177)=>xt(_0x3cb661,typeof _0x33f148!=_0x3fe07c(0x1ae)?_0x33f148+'':_0x33f148,_0x481177);import{MemberService as _0x33404d,SessionStatus as _0x1bb4ad,CollaborationSessionService as _0x2d67be,CollaborationStatus as _0x3c4f39,CollaborationController as _0x3b8716,ILocalCacheService as _0x5d25ea,CollaborationUIEventService as _0x57d180,CollaborationUIEventId as _0x52d3a7,DataLoaderService as _0x15d2c4,DocCollaborationEntity as _0x2b94de,getLocalCacheKey as _0x2ead2f,LOCAL_CACHE_INTERVAL as _0x2c135c,LOCAL_CACHE_INTERVAL_KEY as _0x170981,UniverCollaborationClientPlugin as _0x511650,CollaborationSocketService as _0x49c644,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1bfd1c,DEFAULT_WS_SESSION_TICKET_URL as _0x48bb34,UnitStatus as _0x28da64,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f4390,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x26747e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5b4113,Disposable as _0x4ae93a,DOC_RANGE_TYPE as _0x1cb7eb,Inject as _0x4187e9,Injector as _0x1672f7,IUniverInstanceService as _0xbf54a8,ICommandService as _0x2e3d71,debounce as _0x3d717c,Rectangle as _0x1ba234,DisposableCollection as _0x3814e1,toDisposable as _0x36985b,UniverInstanceType as _0x3b6e52,Tools as _0x2e8d92,COLORS as _0x324efe,ColorKit as _0x15a69d,ThemeService as _0x4fcb94,fromEventSubject as _0x3f312e,LocaleService as _0x49d863,createIdentifier as _0x476322,ILogService as _0x569bac,Optional as _0x3f8427,Workbook as _0x1d344a,CommandType as _0x4d6697,IConfigService as _0x3c0c1f,ILocalStorageService as _0x5b506c,DependentOn as _0x5864a5,Plugin as _0xf91a5e,merge as _0x569c1f,registerDependencies as _0x1814ea,mergeOverrideWithDependencies as _0x163cd9,touchDependencies as _0x1a976f,generateRandomId as _0x107dc5}from'@univerjs/core';import{Shape as _0x46f2f7,Rect as _0x554ac3,getColor as _0x34809b,RegularPolygon as _0x33c830,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x13d377,Vector2 as _0x263eee,SHEET_VIEWPORT_KEY as _0x551d32,IRenderManagerService as _0x3ecb9c}from'@univerjs/engine-render';function _0x252b(){const _0x1ef033=['INVALID_INVITE_CODE','/run/','transformSelections','_config','xlink:href','_draw','setParam','dispose','_updateLocalCursor','onPointerEnter$','red.300','_uiPartsService','Unknown\x20user','toRgbString','isActive','_drawRectRange','APPLY_NON_SEQUENTIAL_REVISION','history','_httpService','_docTransformIMECacheService','UNIVER_DOC','error','type','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_labelPosition','clearInterval','replace','_unitOnClients','_scheduleClearOtherTimer','2705016MhipVy','unitId','UNAUTHENTICATED','_docClipboardService','colorChannel1','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','toString','focused$','pipe','M0\x200H16V16H0z','8544204INCZxN','UNDEFINED','addEventListener','_textBubble','_updateCollabCursors','_drawAnchor','ALREADY_EXISTS','selection','newValue','max','hovered','getSheetId','status$','color','_hover','_eventUnsubscribe','data','getOwnPropertyDescriptor','_colorIndex','pluginName','getSheetBySheetId','LICENSE_DISTRO_REJECTED','actions','getMember','http://www.w3.org/2000/svg','uni.network.url-service','INTERNAL_ERROR','transformStateCache','blue.400','getCellPositionByOffset','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_REJECT','entries','getRenderById','getUnitId','_commandService','YUUMI_RATE_OVER_LIMIT','ENSURE_SNAPSHOT_EXECUTION','editingUnit','collab-rect-range-','YUUMI_TABLE_NOT_FOUND_IN_UNIT','m1Prime','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','_lastPointer','collabStatus.syncing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_revisionService','isArray','_unitStatus','_entities','selections','text','setItem','override','MoveRangeCommandId','arc','body','assign','CONNECTOR_DATA_TOO_LARGE','cursorInfo$','_collabSessionService','sessionStatus$','_cursors','setActiveRange','_syncEditingCollabCursorService','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','saveImage','UPDATE_CURSOR','collabStatus.notCollab','collab-client.tooltip.reconnect','findNodePositionByCharIndex','_transformPreviousActiveRange','_handleJoinEvent','_getSaveTimeout','getUnhiddenWorksheets','lineTo','_setupSubUnitSync','[CollaborationDataLoaderController]','collaboration-client-ui.config','APPLY_PERMISSION_DENIED','purple.300','transformRemoteChangeset','translate(.97)','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_refRangeService','jiqing.500','code','onMouseMove','_collabCursorController','key','get','isEditing','Error','size','_getAnchorBounding','getTypeOfUnitDisposed$','_colorAssignService','currentColor','_getSessionTicket','CONFLICT','then','getMergeData','_docSyncEditingCollabCursorService','getDocRanges','_collabCursorState$','_removeCollabCursors','send','origin','url(#off-line-icon_clip0_910_343)','backgroundColor','_name','complete','some','search','children','_docTransformSelectionsService','on-line-icon_clip0_910_349','white','onPointerLeave$','getStateCache','DeleteRangeMoveUpCommandId','ranges','_ensureSubject','_handleLeaveEvent','eventID','INVITE_CODE_HAS_BEEN_UES','forEach','INVITE_CODE_ALREADY_BOUND','APPLY_DUPLICATED','onLocalMutation','getUnitStatus$','SYNCED','with','_id','INVITE_CODE_REQUIRED','getCurrentUnitForType','Warning','docStateChange$','_entityInit$','measureText','_startDocCollabCursor','subscribeEvent','includes','_render','location','url(#$1','_cursorInfo$','unshift','restore','symbol','_sheetSkeletonManagerService','fillRule','map','currentSkeleton$','_onCursorUpdate','apply','replaceDocRanges','getCurrent','doc.mutation.rich-text-editing','invokeId','enableLocalCache','onTransformChange$','_dataLoaderService','fillText','_handleHeartbeatEvent','current','getUndoRedoMutationParamsCache','setAlpha','SOCKET_FAILED','source','_assignedColors','mask','getItem','subscribe','defineProperty','getRelativeToViewportCoord','off-line-icon','YUUMI_ASYNCIO_CANCELLED','runOnServer','_messageService','581454Aignig','subunit','193463qXutxk','0\x200\x2017\x2016','saveTaskMap','all','getParam','JOIN_ROOM_FAILED','removeParam','redoState','AWAITING','next','length','disposeWithMe','_memberService','_notificationService','_docSkeletonManagerService','OnLineIcon','extend','_initEntityListener','getConfig','getSkeleton','tag','_clearOtherTimers','OFFLINE','icon','requireSession','CHANGESET_REVISION_CONFILICT','rgba(255,\x20255,\x20255,\x200.01)','unload','updateOfflineData','getCurrentRevOfUnit','textRanges','_saveCache','set','split','_color','application/json','_instanceService','add','getCurrentSelections','exhaustSavingTask','createInstance','_transformService','_updateURLWithCurrentState','LOGIN_FAILED','getCollabEntity$','width','roomMembers','drawWith','_anchorDot','_initResize','USERS_LEAVE','_cursorShapes','ONLINE','_onCursorDelete','InsertRowCommandId','getRangePointData','skeleton','path','USER_NOT_INVITED_CODE','_toggleOnline','makeDirty','stringify','sheetId','init','TEXT','_getMergeRange','_scene','HEADER_MENU','_hovered','row','imageSourceType','getTypeOfUnitAdded$','0\x200\x2016\x2016','params','function','parse','undoState','debug','height','COMPLETION_FINISHED','ticket','_init','use','_injector','random','bottom','range','_docStateChangeManagerService','YUUMI_UNABLE_LOAD_URL','_logService','_backgroundColor','registerComponent','addClipboardHook','getOffsetConfig','_range','_registerRenderDependencies','has','memberID','hide','8ChyDqN','moveTo','_handleEvent','getAncestorScale','UNIVER_SHEET','onCommandExecuted','_getScale','_initEvent','2229857okuwqO','_transformHistoryAndStateStack','saveOfflineData','startsWith','roomMembers$','UNRECOGNIZED','_collaborationController','LICENSE_MAX_UNITS_EXCEEDED','resize','4qlCdFC','transformMutation','collab-text-anchor-','_urlService','find','EMAIL_HAS_BEEN_BOUND','MUTATION','round','getActiveSheet','assignAColorForMemberID','session.will-retry','values','registerBeforeClose','_docTransformStateCacheService','getUniverSheetInstance','concat','LICENSE_IMPORT_SIZE_EXCEEDED','none','TOO_MANY_REQUESTS','div','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_setupBeforeClosingHandler','engine','getVpScrollXYInfoByPosToVp','APPLY_REVISION_CONFILICT','_selfUnitIDs','_getSheetObject','_initCommandExecutedListener','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getColorFromTheme','_session','prototype','urlChange$','_scheduleSaving','addHandlerCallback','YUUMI_AI_RUN_FAILED','UniverIcon','RECT','_cachedData','INVALID_ARGUMENT','1em','_configService','getOwnPropertySymbols','call','_context','string','show','VIEW_MAIN','SOCKET_FAILED_RETRY','DeleteRangeMoveLeftCommandId','univer-flex\x20univer-items-center','Failed','_initStatusComponent','_disabled','registerRenderModule','generateRandomId','transformByState','searchParams','#FFF','getValue','getCollabCursors$','collaboration.single-unit.warning','svg','_cursor','univerjs-icon\x20univerjs-icon-','subUnitId','top','setUndoRedoMutationParamsCache','_localeService','getMemberID','unsubscribe','_initDependencies','_toggleOffline','_online','SNAPSHOT_HAS_BEEN_REMOVED','deepClone','YUUMI_ALL_TABLES_IS_INVALID','executeCommand','storage','asObservable','loadUnit','2215695bKmyHn','fillStyle','createSocket','_send','YUUMI_SUBSCRIPTION_NOT_FOUND','cursorInfo','startColumn','setShapeProps','_onRefRangeChange','_status$','NOT_COLLAB','collaboration-client.offline-data-not-saved','_updateSubUnitFromURLParams','evenodd','_univerInstanceService','defs','off-line-icon_clip0_910_343','startRow','_refreshCollabCursors','reconnect','_roomMembers$','permission.title','_hideTimer','PERMISSION_DENIED','_transformUndoRedoStack','idSuffix','YUUMI_URL_COL_OUT_OF_RANGE','_renderManagerService','clearTimeout','CLOSE_ROOM','OTHER_CLIENTS_EDITING','_localCacheService','push','_localStorageService','setInterval','transform','delete','_handleHover','popstate','collabCursorState$','defIds','FromArray','syncEditingCollabCursor','save','collabStatus.offline','runId','SUBMIT_CHANGESET_TIMEOUT','_document','fill','onPointerMove$','collabStatus.fetchMiss','pushState','collabStatus.synced','indexOf','getActiveRange','black','_collaborationUIEventService','_removeClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','addObjects','href','getViewport','session.connection-failed','registerRefRange','m2Prime','clipPath','wsSessionTicketUrl','setTimeout','NO_OTHER_CLIENTS_EDITING','_registerDependencies','permission.content','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_shapes','className','mutations','OTHER_CLIENT_EDITING','collabStatus.conflict','activeSheet$','result','labelPosition','sessionTicket','WECHAT_HAS_BEEN_BOUND','_saveTaskMap','unit','getFocusedUnit','_beforeCloseService','green.600','entityInit$','hasOwnProperty','NOT_FOUND','setConfig','44460910kXQxoT','displayName','addObject','attrs','_drawTextRange','16NXsZCb','flatMap','event$','unitID','column','_anchor','_themeService','name','transformIMECache','replaceState','dispose$','onStarting'];_0x252b=function(){return _0x1ef033;};return _0x252b();}import{ISocketService as _0xa47742,WebSocketService as _0x5d5f78,HTTPService as _0x158b8c}from'@univerjs/network';import{IDocClipboardService as _0x14f7a5,NodePositionConvertToCursor as _0x4cd754,NodePositionConvertToRectRange as _0x4c8f0f,TEXT_RANGE_LAYER_INDEX as _0x13994a,SetDocZoomRatioOperation as _0x3cd37d,DocIMEInputManagerService as _0x4adf26,DocStateChangeManagerService as _0x1389a5}from'@univerjs/docs-ui';import{IImageIoService as _0x537c9f}from'@univerjs/drawing';import{BehaviorSubject as _0x690e2a,debounceTime as _0x3a46cd,takeUntil as _0x30fec2,Subject as _0x12317c,filter as _0x6967a8,switchMap as _0x2f8353,merge as _0x4a8f92,combineLatest as _0x17a885,of as _0x5d21d1,fromEvent as _0x3cb40a,shareReplay as _0x56f6da,mapTo as _0x3deec,distinctUntilChanged as _0xc82f4f}from'rxjs';import{SetTextSelectionsOperation as _0x352d41,RichTextEditingMutation as _0x40ff6a,DocSelectionManagerService as _0x16b225,DocSkeletonManagerService as _0x430c25}from'@univerjs/docs';import{ITransformService as _0x564f5c,CollaborationEvent as _0x2deed9,isTransformMutationFailure as _0x373c55,isTransformMutationsWithChangesetSuccess as _0x4f3a6b,RevisionService as _0x305c24,ISnapshotServerService as _0x2c1c94}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3beaf3,serializeRangeWithSheet as _0x324d8e}from'@univerjs/engine-formula';import{RefRangeService as _0xa8cd9c,SetSelectionsOperation as _0x4ae070,SheetsSelectionsService as _0x4072f0,EffectRefRangId as _0x57df97,handleIRemoveRow as _0x402dce,handleIRemoveCol as _0xd76d37,handleMoveRange as _0x12a62e,handleInsertRow as _0x46efe9,handleInsertRangeMoveRight as _0x4ccbcc,handleInsertRangeMoveDown as _0x1b848a,handleInsertCol as _0x39c284,handleDeleteRangeMoveUp as _0x4eadec,handleDeleteRangeMoveLeft as _0x2c8aba,runRefRangeMutations as _0x45b8f2,SetWorksheetActivateCommand as _0x2e17cf}from'@univerjs/sheets';import{map as _0x5044b9,filter as _0x202138,throttleTime as _0xaee094,takeUntil as _0x453bf2,switchMap as _0x46d76e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x397fc0,getCoordByCell as _0x8107,getSheetObject as _0x1a60d5}from'@univerjs/sheets-ui';import{jsx as _0x3c46ca,jsxs as _0x16742e}from'react/jsx-runtime';import{useObservable as _0x1377bd,useDependency as _0x2c9ffa,IUIPartsService as _0x404c66,BuiltInUIPart as _0x200683,connectInjector as _0x1f4772,IBeforeCloseService as _0x5b7aef,IMessageService as _0x4e146e,INotificationService as _0x1010a7}from'@univerjs/ui';import{Tooltip as _0x432a00,clsx as _0x1d7c06,MessageType as _0x582b1a}from'@univerjs/design';import{forwardRef as _0x4426ae,useRef as _0x13e846,createElement as _0x4aa7b7,useCallback as _0x2c6a31}from'react';import{IRemoteInstanceService as _0xb37379}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0xd175a,_0x3a3bec,_0xdf8f9b,_0x16bc3d)=>{const _0x1bc801=_0x3fe07c;for(var _0x488438=_0x16bc3d>0x1?void 0x0:_0x16bc3d?ci(_0x3a3bec,_0xdf8f9b):_0x3a3bec,_0x3ff896=_0xd175a[_0x1bc801(0x1d9)]-0x1,_0x4b8b6a;_0x3ff896>=0x0;_0x3ff896--)(_0x4b8b6a=_0xd175a[_0x3ff896])&&(_0x488438=_0x4b8b6a(_0x488438)||_0x488438);return _0x488438;},Je=(_0x29ff7e,_0x3f7cea)=>(_0x20d8a8,_0x3355bc)=>_0x3f7cea(_0x20d8a8,_0x3355bc,_0x29ff7e);let Ne=class extends _0x5b4113{constructor(_0x45494c,_0x3c91c0){const _0x20eff2=_0x3fe07c;super(),this[_0x20eff2(0x110)]=_0x45494c,this['_imageIoService']=_0x3c91c0,this[_0x20eff2(0x220)]();}[_0x3fe07c(0x220)](){const _0x5b2ff9=_0x3fe07c,_0x478ded=this;this[_0x5b2ff9(0x1da)](this['_docClipboardService'][_0x5b2ff9(0x22b)]({'onBeforePasteImage':async _0x5a6e35=>{const _0x17e475=_0x5b2ff9,_0x252f59=await _0x478ded['_imageIoService'][_0x17e475(0x15b)](_0x5a6e35);return _0x252f59?{'source':_0x252f59[_0x17e475(0x1c2)],'imageSourceType':_0x252f59[_0x17e475(0x215)]}:null;}}));}};Ne=li([Je(0x0,_0x14f7a5),Je(0x1,_0x537c9f)],Ne);const Ze=[_0x3fe07c(0x169),_0x3fe07c(0x16e),_0x3fe07c(0xda),_0x3fe07c(0xfa),_0x3fe07c(0x133),'yellow.400'];class ke extends _0x4ae93a{constructor(){const _0x5d6fbb=_0x3fe07c;super(...arguments),_(this,_0x5d6fbb(0x1c3),new Map()),_(this,_0x5d6fbb(0x129),0x0);}[_0x3fe07c(0x24c)](_0x830547){const _0x25075c=_0x3fe07c;if(this[_0x25075c(0x1c3)][_0x25075c(0x22f)](_0x830547))return this[_0x25075c(0x1c3)][_0x25075c(0x173)](_0x830547);const _0x5712af=Ze[this[_0x25075c(0x129)]];return this['_colorIndex']=(this[_0x25075c(0x129)]+0x1)%Ze[_0x25075c(0x1d9)],this['_assignedColors']['set'](_0x830547,_0x5712af),_0x5712af;}}function Tt(_0x745f09){const _0x1f674d=_0x3fe07c;let _0x2d25a4='';for(const _0x2eb733 of _0x745f09){const {startOffset:_0x247b01,endOffset:_0x27c905,isActive:_0xa1fdcb,rangeType:_0xac1939,segmentId:_0x8ffcf2,segmentPage:_0x340f5b}=_0x2eb733;_0x2d25a4[_0x1f674d(0x1d9)]&&(_0x2d25a4+=','),_0x2d25a4+=_0x247b01+':'+_0x27c905+':'+(_0xa1fdcb?'1':'0')+':'+_0xac1939+':'+_0x8ffcf2+':'+_0x340f5b;}return _0x2d25a4;}function _i(_0x1e1cf2){const _0x588aa9=_0x3fe07c,_0x2fb350=_0x1e1cf2[_0x588aa9(0x1f0)](','),_0x3daaf9=[];for(const _0x1d62e7 of _0x2fb350){const [_0x3ba5c7,_0xb8573e,_0x358867,_0x1a4305,_0x18bb64,_0x4428aa]=_0x1d62e7[_0x588aa9(0x1f0)](':');_0x3daaf9[_0x588aa9(0x2b4)]({'startOffset':Number(_0x3ba5c7),'endOffset':Number(_0xb8573e),'collapsed':_0x3ba5c7===_0xb8573e,'isActive':_0x358867==='1','rangeType':_0x1a4305===_0x1cb7eb[_0x588aa9(0x20f)]?_0x1cb7eb['TEXT']:_0x1cb7eb[_0x588aa9(0x268)],'segmentId':typeof _0x18bb64=='string'?String(_0x18bb64):'','segmentPage':Number(_0x4428aa!=null?_0x4428aa:-0x1)});}return _0x3daaf9[_0x588aa9(0x189)](_0x5c2d06=>_0x5c2d06[_0x588aa9(0xfe)])||(_0x3daaf9[0x0][_0x588aa9(0xfe)]=!0x0),_0x3daaf9;}class He extends _0x5b4113{constructor(){const _0x152390=_0x3fe07c;super(...arguments),_(this,_0x152390(0x181),new _0x690e2a(null)),_(this,_0x152390(0x2bb),this[_0x152390(0x181)][_0x152390(0x292)]());}['syncEditingCollabCursor'](_0x526b8d){const _0x2e37f8=_0x3fe07c,{unitID:_0x32687a,memberID:_0x3d9069,textRanges:_0x4209fb}=_0x526b8d,_0x4084bf=Tt(_0x4209fb);if(_0x4084bf==='')return;const _0x43d04a={'unitID':_0x32687a,'memberID':_0x3d9069,'selection':_0x4084bf};this[_0x2e37f8(0x181)][_0x2e37f8(0x1d8)](_0x43d04a);}}var hi=Object[_0x3fe07c(0x128)],ui=(_0x2c0be0,_0xd3e5c9,_0x166145,_0x14b0a6)=>{const _0x3af17e=_0x3fe07c;for(var _0x6e1e62=_0x14b0a6>0x1?void 0x0:_0x14b0a6?hi(_0xd3e5c9,_0x166145):_0xd3e5c9,_0x3af1a2=_0x2c0be0[_0x3af17e(0x1d9)]-0x1,_0x406dc6;_0x3af1a2>=0x0;_0x3af1a2--)(_0x406dc6=_0x2c0be0[_0x3af1a2])&&(_0x6e1e62=_0x406dc6(_0x6e1e62)||_0x6e1e62);return _0x6e1e62;},P=(_0xc0ff34,_0x341a81)=>(_0x19db00,_0x37a33e)=>_0x341a81(_0x19db00,_0x37a33e,_0xc0ff34);const di=0x12c,fi=0x64;let Ue=class extends _0x5b4113{constructor(_0xb6eb57,_0x361b31,_0x30aeee,_0x150f33,_0xe59755,_0x1d872b,_0x50c39c,_0x29172,_0x442515){const _0x19bc37=_0x3fe07c;super(),_(this,_0x19bc37(0x28c),!0x1),_(this,_0x19bc37(0x220),!0x1),_(this,_0x19bc37(0x1ab),new _0x690e2a(new Map())),_(this,_0x19bc37(0x153),this[_0x19bc37(0x1ab)]['asObservable']()),_(this,_0x19bc37(0x2a8),new _0x690e2a([])),_(this,_0x19bc37(0x23e),this[_0x19bc37(0x2a8)][_0x19bc37(0x115)](_0x3a46cd(di))),_(this,_0x19bc37(0xf8),_0x3d717c(_0x3a9b89=>{const _0x4a760c=_0x19bc37,_0x2dbe53={'eventID':_0x2deed9[_0x4a760c(0x15c)],'data':{'unitID':this[_0x4a760c(0xe7)],'memberID':this['_session'][_0x4a760c(0x288)](),'selection':Tt(_0x3a9b89)}};this[_0x4a760c(0x261)][_0x4a760c(0x183)](_0x2dbe53,this[_0x4a760c(0xe7)]);},fi)),(this[_0x19bc37(0xe7)]=_0xb6eb57,this['_session']=_0x361b31,this[_0x19bc37(0x222)]=_0x30aeee,this[_0x19bc37(0x179)]=_0x150f33,this['_memberService']=_0xe59755,this[_0x19bc37(0x158)]=_0x1d872b,this[_0x19bc37(0x1f8)]=_0x50c39c,this[_0x19bc37(0x2a2)]=_0x29172,this[_0x19bc37(0x13a)]=_0x442515);}get['cursorInfo'](){const _0x2e4ed0=_0x3fe07c;return this[_0x2e4ed0(0x1ab)][_0x2e4ed0(0x27e)]();}get[_0x3fe07c(0x1fd)](){const _0x530c83=_0x3fe07c;return this[_0x530c83(0x2a8)][_0x530c83(0x27e)]();}[_0x3fe07c(0xf7)](){const _0x1bc89a=_0x3fe07c;super['dispose'](),this[_0x1bc89a(0x1ab)][_0x1bc89a(0x1d8)](new Map()),this[_0x1bc89a(0x1ab)][_0x1bc89a(0x188)](),this[_0x1bc89a(0x2a8)][_0x1bc89a(0x1d8)]([]),this[_0x1bc89a(0x2a8)][_0x1bc89a(0x188)]();}['init'](){const _0x1be159=_0x3fe07c;this['_init']||(this['_init']=!0x0,this[_0x1be159(0x261)][_0x1be159(0x155)]['pipe'](_0x30fec2(this[_0x1be159(0xee)]))[_0x1be159(0x1c6)](_0x49125a=>{const _0x226bbc=_0x1be159;_0x49125a===_0x1bb4ad[_0x226bbc(0x203)]?this[_0x226bbc(0x20a)]():this[_0x226bbc(0x28b)]();}),this[_0x1be159(0x261)][_0x1be159(0xe6)][_0x1be159(0x115)](_0x30fec2(this[_0x1be159(0xee)]))['subscribe'](_0x4d6bf1=>{const _0x348cbd=_0x1be159,_0x57312=_0x4d6bf1[_0x348cbd(0x195)];_0x57312===_0x2deed9[_0x348cbd(0x15c)]&&this[_0x348cbd(0x1b3)](_0x4d6bf1),_0x57312===_0x2deed9[_0x348cbd(0x201)]&&this[_0x348cbd(0x204)](_0x4d6bf1);}),this['disposeWithMe'](this[_0x1be159(0x13a)]['onCommandExecuted'](_0x436e0f=>{const _0xefcd33=_0x1be159,_0x587682=_0x436e0f[_0xefcd33(0x218)];_0x587682!=null&&this['_online']&&_0x436e0f['id']===_0x352d41['id']&&_0x587682['unitId']===this[_0xefcd33(0xe7)]&&_0x587682[_0xefcd33(0x174)]===!0x1&&_0x587682['ranges'][_0xefcd33(0x1d9)]>0x0&&this[_0xefcd33(0xf8)](_0x587682[_0xefcd33(0x192)]);})),this['_syncEditingCollabCursorService'][_0x1be159(0x2bb)][_0x1be159(0x115)](_0x30fec2(this[_0x1be159(0xee)]))[_0x1be159(0x1c6)](_0x5bed25=>{const _0x5d0416=_0x1be159;if((_0x5bed25==null?void 0x0:_0x5bed25['unitID'])!==this[_0x5d0416(0xe7)])return;const _0x21f11f={'eventID':_0x2deed9[_0x5d0416(0x15c)],'data':_0x5bed25};this[_0x5d0416(0x1b3)](_0x21f11f);}),this[_0x1be159(0x1da)](this[_0x1be159(0x13a)][_0x1be159(0x237)](_0x399f05=>{const _0x4ac6de=_0x1be159;if(_0x399f05[_0x4ac6de(0x218)]==null)return;const _0x450230=_0x399f05[_0x4ac6de(0x218)];if(_0x399f05['id']!==_0x40ff6a['id']||_0x450230[_0x4ac6de(0x10e)]!==this[_0x4ac6de(0xe7)])return;const _0x2dc0e3={'id':_0x4ac6de(0x1b7),'params':_0x450230},_0x1c92d0=this[_0x4ac6de(0x299)];for(const [_0x1e636f,_0x6defee]of _0x1c92d0){const _0x2cc55a={'id':_0x4ac6de(0x1b7),'params':{'unitId':this[_0x4ac6de(0xe7)],'actions':null,'textRanges':_0x6defee[_0x4ac6de(0x192)]}},_0x3b4f5a=this['_transformService']['transformMutation'](_0x2dc0e3,_0x2cc55a,!0x1);if(_0x373c55(_0x3b4f5a))throw _0x3b4f5a[_0x4ac6de(0x105)];_0x1c92d0[_0x4ac6de(0x1ef)](_0x1e636f,{..._0x6defee,'ranges':_0x3b4f5a[_0x4ac6de(0xc4)][_0x4ac6de(0x218)][_0x4ac6de(0x1ed)]});}queueMicrotask(()=>{const _0x158fc3=_0x4ac6de;this['_cursorInfo$'][_0x158fc3(0x1d8)](_0x1c92d0);});})));}[_0x3fe07c(0x1b3)](_0x48033e){const _0x2f748d=_0x3fe07c;var _0x245c00,_0x5ec698;const {memberID:_0x51fb59,selection:_0x15b50b}=_0x48033e[_0x2f748d(0x127)],_0x43ad73=_i(_0x15b50b),_0x5de705=(_0x5ec698=(_0x245c00=this['_memberService'][_0x2f748d(0x12e)](this[_0x2f748d(0xe7)],_0x51fb59))==null?void 0x0:_0x245c00[_0x2f748d(0xeb)])!=null?_0x5ec698:'Unknown\x20user',_0x4d25db={'color':this[_0x2f748d(0x179)][_0x2f748d(0x24c)](_0x51fb59),'name':_0x5de705,'ranges':_0x43ad73},_0x5a4933=this[_0x2f748d(0x299)];_0x5a4933[_0x2f748d(0x1ef)](_0x51fb59,_0x4d25db),this[_0x2f748d(0x1ab)][_0x2f748d(0x1d8)](_0x5a4933);}[_0x3fe07c(0x204)](_0x1bc84c){const _0x1db032=_0x3fe07c,{memberID:_0x59db72}=_0x1bc84c[_0x1db032(0x127)],_0x15f47e=this['cursorInfo'];_0x15f47e[_0x1db032(0x2b8)](_0x59db72),this[_0x1db032(0x1ab)]['next'](_0x15f47e);}[_0x3fe07c(0x20a)](){const _0x21afc=_0x3fe07c;var _0x3d2d59;if(this[_0x21afc(0x28c)]=!0x0,((_0x3d2d59=this[_0x21afc(0x2a2)][_0x21afc(0xd8)]())==null?void 0x0:_0x3d2d59['getUnitId']())!==this[_0x21afc(0xe7)])return;const _0x3a6132=this[_0x21afc(0x222)]['get'](_0x16b225)[_0x21afc(0x180)]();Array['isArray'](_0x3a6132)&&_0x3a6132[_0x21afc(0x1d9)]>0x0&&this['_updateLocalCursor'](_0x3a6132);}['_toggleOffline'](){const _0x48c415=_0x3fe07c;this[_0x48c415(0x28c)]=!0x1;}};Ue=ui([P(0x2,_0x4187e9(_0x1672f7)),P(0x3,_0x4187e9(ke)),P(0x4,_0x4187e9(_0x33404d)),P(0x5,_0x4187e9(He)),P(0x6,_0x564f5c),P(0x7,_0xbf54a8),P(0x8,_0x2e3d71)],Ue);var Si=Object[_0x3fe07c(0x128)],mi=(_0x1077de,_0x1cd159,_0x2960e2,_0x8447a5)=>{const _0x2d13c7=_0x3fe07c;for(var _0x4ed01b=_0x8447a5>0x1?void 0x0:_0x8447a5?Si(_0x1cd159,_0x2960e2):_0x1cd159,_0x234b55=_0x1077de[_0x2d13c7(0x1d9)]-0x1,_0x318a82;_0x234b55>=0x0;_0x234b55--)(_0x318a82=_0x1077de[_0x234b55])&&(_0x4ed01b=_0x318a82(_0x4ed01b)||_0x4ed01b);return _0x4ed01b;},x=(_0x5deced,_0x5391fa)=>(_0x1de94d,_0x161811)=>_0x5391fa(_0x1de94d,_0x161811,_0x5deced);const Ii=0x12c,gi=0x64,vi=()=>{let _0x292288=[],_0x249f40=!0x1;return _0x167710=>{const _0x31d3c3=_0x1112;_0x292288[_0x31d3c3(0x2b4)](_0x167710),_0x249f40||(_0x249f40=!0x0,setTimeout(()=>{const _0x3207ca=_0x31d3c3;_0x292288[_0x3207ca(0x197)](_0x3347fe=>_0x3347fe()),_0x292288=[],_0x249f40=!0x1;}));};};let Me=class extends _0x5b4113{constructor(_0x3c42b6,_0x4f3467,_0x195a2d,_0x389f19,_0xf16fa5,_0x5b6c24,_0x2e50e1,_0x291d63){const _0xdba780=_0x3fe07c;super(),_(this,_0xdba780(0x28c),!0x1),_(this,_0xdba780(0x220),!0x1),_(this,'_cursorInfo$',new _0x690e2a(new Map())),_(this,_0xdba780(0x153),this[_0xdba780(0x1ab)][_0xdba780(0x292)]()),_(this,_0xdba780(0x2a8),new _0x690e2a([])),_(this,_0xdba780(0x23e),this['_roomMembers$'][_0xdba780(0x115)](_0x3a46cd(Ii))),_(this,_0xdba780(0xf8),_0x3d717c((_0x3c70d3,_0x426a1c)=>{const _0x31d984=_0xdba780,_0x27ed3d={'eventID':_0x2deed9[_0x31d984(0x15c)],'data':{'unitID':this['unitID'],'memberID':this[_0x31d984(0x261)]['getMemberID'](),'selection':_0x324d8e(_0x3c70d3,_0x426a1c['range'])}};this[_0x31d984(0x261)][_0x31d984(0x183)](_0x27ed3d,this[_0x31d984(0xe7)]);},gi)),(this[_0xdba780(0xe7)]=_0x3c42b6,this[_0xdba780(0x261)]=_0x4f3467,this[_0xdba780(0x222)]=_0x195a2d,this['_colorAssignService']=_0x389f19,this[_0xdba780(0x1db)]=_0xf16fa5,this[_0xdba780(0x2a2)]=_0x5b6c24,this['_commandService']=_0x2e50e1,this[_0xdba780(0x16d)]=_0x291d63);}get['cursorInfo'](){const _0x9731e7=_0x3fe07c;return this[_0x9731e7(0x1ab)]['getValue']();}get[_0x3fe07c(0x1fd)](){const _0x517a29=_0x3fe07c;return this['_roomMembers$'][_0x517a29(0x27e)]();}[_0x3fe07c(0xf7)](){const _0x5359ef=_0x3fe07c;super['dispose'](),this[_0x5359ef(0x1ab)][_0x5359ef(0x1d8)](new Map()),this[_0x5359ef(0x1ab)][_0x5359ef(0x188)](),this['_roomMembers$'][_0x5359ef(0x1d8)]([]),this['_roomMembers$'][_0x5359ef(0x188)]();}[_0x3fe07c(0x20e)](){const _0x85f49d=_0x3fe07c;this[_0x85f49d(0x220)]||(this[_0x85f49d(0x220)]=!0x0,this['_session'][_0x85f49d(0x155)][_0x85f49d(0x115)](_0x30fec2(this[_0x85f49d(0xee)]))['subscribe'](_0x378222=>{const _0x2b2998=_0x85f49d;_0x378222===_0x1bb4ad[_0x2b2998(0x203)]?this[_0x2b2998(0x20a)]():this['_toggleOffline']();}),this[_0x85f49d(0x261)][_0x85f49d(0xe6)][_0x85f49d(0x115)](_0x30fec2(this[_0x85f49d(0xee)]))[_0x85f49d(0x1c6)](_0x46ce19=>{const _0xe7d5ab=_0x85f49d,_0x22f632=_0x46ce19[_0xe7d5ab(0x195)];_0x22f632===_0x2deed9[_0xe7d5ab(0x15c)]&&this[_0xe7d5ab(0x1b3)](_0x46ce19),_0x22f632===_0x2deed9[_0xe7d5ab(0x201)]&&this[_0xe7d5ab(0x204)](_0x46ce19);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x85f49d(0x237)](_0x31f187=>{const _0x4c14cf=_0x85f49d;if(this[_0x4c14cf(0x28c)]&&_0x31f187['id']===_0x4ae070['id']&&_0x31f187[_0x4c14cf(0x218)][_0x4c14cf(0x10e)]===this['unitID']){const _0x23b52e=_0x31f187[_0x4c14cf(0x218)];this[_0x4c14cf(0xf8)](_0x23b52e[_0x4c14cf(0x284)],_0x23b52e[_0x4c14cf(0x14a)][0x0]);}})));}['_onCursorUpdate'](_0x4f6d5a){const _0x1b7fcd=_0x3fe07c;var _0x48996c,_0x26e3f9;const {memberID:_0x5c21bd,selection:_0x44ada3}=_0x4f6d5a['data'],{sheetName:_0x47860f,range:_0x546d06}=_0x3beaf3(_0x44ada3),_0x14486d={'name':(_0x26e3f9=(_0x48996c=this['_memberService']['getMember'](this[_0x1b7fcd(0xe7)],_0x5c21bd))==null?void 0x0:_0x48996c['name'])!=null?_0x26e3f9:_0x1b7fcd(0xfc),'range':this[_0x1b7fcd(0x210)](_0x47860f,_0x546d06),'sheetID':_0x47860f,'color':this[_0x1b7fcd(0x179)]['assignAColorForMemberID'](_0x5c21bd),'selection':_0x44ada3},_0x5012b5=this[_0x1b7fcd(0x299)];_0x5012b5[_0x1b7fcd(0x1ef)](_0x5c21bd,_0x14486d),this[_0x1b7fcd(0x1ab)][_0x1b7fcd(0x1d8)](_0x5012b5);}[_0x3fe07c(0x204)](_0x530c48){const _0x371847=_0x3fe07c,{memberID:_0x2b6aab}=_0x530c48['data'],_0x52db67=this[_0x371847(0x299)];_0x52db67[_0x371847(0x2b8)](_0x2b6aab),this[_0x371847(0x1ab)][_0x371847(0x1d8)](_0x52db67);}[_0x3fe07c(0x210)](_0x5e16cc,_0x124101){const _0x2c62d7=_0x3fe07c;var _0x493f32,_0x57e7c1;const _0x114a78=(_0x57e7c1=(_0x493f32=this[_0x2c62d7(0x2a2)][_0x2c62d7(0x251)](this['unitID']))==null?void 0x0:_0x493f32['getSheetBySheetId'](_0x5e16cc))==null?void 0x0:_0x57e7c1[_0x2c62d7(0x17e)]();return(_0x114a78==null?void 0x0:_0x114a78[_0x2c62d7(0x247)](_0x525ed7=>_0x1ba234['contains'](_0x525ed7,_0x124101)))||_0x124101;}[_0x3fe07c(0x29c)](){const _0x23a6f6=_0x3fe07c,_0x291254=new _0x3814e1(),_0x3290dd=vi(),_0x5a6157=()=>{const _0x4ad91a=_0x1112;_0x291254['dispose']();const _0xec9154=(_0x5a9661,_0x4722f8,_0x506f7a,_0x45cd8e)=>{const _0x5367b8=_0x1112;let _0x1e4343=[];switch(_0x5a9661['id']){case _0x57df97[_0x5367b8(0x274)]:{_0x1e4343=_0x2c8aba(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x191)]:{_0x1e4343=_0x4eadec(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertColCommandId']:{_0x1e4343=_0x39c284(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertRangeMoveDownCommandId']:{_0x1e4343=_0x1b848a(_0x5a9661,_0x45cd8e);break;}case _0x57df97['InsertRangeMoveRightCommandId']:{_0x1e4343=_0x4ccbcc(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x205)]:{_0x1e4343=_0x46efe9(_0x5a9661,_0x45cd8e);break;}case _0x57df97[_0x5367b8(0x14e)]:{_0x1e4343=_0x12a62e(_0x5a9661,_0x45cd8e);break;}case _0x57df97['RemoveColCommandId']:{_0x1e4343=_0xd76d37(_0x5a9661,_0x45cd8e);break;}case _0x57df97['RemoveRowCommandId']:{_0x1e4343=_0x402dce(_0x5a9661,_0x45cd8e);break;}}const _0x587023=_0x45b8f2(_0x1e4343,_0x45cd8e),_0x43bcdb=this[_0x5367b8(0x299)][_0x5367b8(0x173)](_0x4722f8);if(_0x43bcdb&&_0x587023){const _0x318a1e={..._0x43bcdb,'range':_0x587023};this['cursorInfo']['set'](_0x4722f8,_0x318a1e),_0x3290dd(()=>{const _0x5bc76e=_0x5367b8,_0x1d800d=this['_refRangeService'][_0x5bc76e(0xc3)](_0x587023,_0x4c79c1=>(_0x1d800d[_0x5bc76e(0xf7)](),_0xec9154(_0x4c79c1,_0x4722f8,_0x506f7a,_0x587023)));_0x291254[_0x5bc76e(0x1f4)](_0x1d800d);});}return{'redos':[],'undos':[]};};this[_0x4ad91a(0x299)][_0x4ad91a(0x197)]((_0xab5c02,_0x4ff3ef)=>{const _0x3fc697=_0x4ad91a,{range:_0x2cb457,sheetID:_0xfacf62}=_0xab5c02,_0x28de90=this['_refRangeService'][_0x3fc697(0xc3)](_0x2cb457,_0x5a2d70=>(_0x28de90[_0x3fc697(0xf7)](),_0xec9154(_0x5a2d70,_0x4ff3ef,_0xfacf62,_0x2cb457)));_0x291254['add'](_0x28de90);});};this['disposeWithMe'](_0x36985b(this[_0x23a6f6(0x1ab)]['subscribe'](()=>{_0x5a6157();})));}['_toggleOnline'](){const _0x519654=_0x3fe07c;var _0x57be4e,_0x349044;if(this[_0x519654(0x28c)]=!0x0,((_0x57be4e=this['_univerInstanceService'][_0x519654(0xd8)]())==null?void 0x0:_0x57be4e[_0x519654(0x139)]())!==this[_0x519654(0xe7)])return;const _0xe4ef4a=(_0x349044=this[_0x519654(0x222)][_0x519654(0x173)](_0x4072f0)[_0x519654(0x1f5)]())==null?void 0x0:_0x349044[0x0],_0x433f48=this[_0x519654(0x2a2)][_0x519654(0x1a0)](_0x3b6e52[_0x519654(0x236)])[_0x519654(0x24b)]();_0xe4ef4a&&_0x433f48&&this[_0x519654(0xf8)](_0x433f48[_0x519654(0x122)](),_0xe4ef4a);}[_0x3fe07c(0x28b)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x4187e9(_0x1672f7)),x(0x3,_0x4187e9(ke)),x(0x4,_0x4187e9(_0x33404d)),x(0x5,_0xbf54a8),x(0x6,_0x2e3d71),x(0x7,_0x4187e9(_0xa8cd9c))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x18c1a9,_0x37985d,_0x3fc7bb,_0x681b23)=>{for(var _0x268ece=_0x681b23>0x1?void 0x0:_0x681b23?pi(_0x37985d,_0x3fc7bb):_0x37985d,_0x25a248=_0x18c1a9['length']-0x1,_0x20196e;_0x25a248>=0x0;_0x25a248--)(_0x20196e=_0x18c1a9[_0x25a248])&&(_0x268ece=_0x20196e(_0x268ece)||_0x268ece);return _0x268ece;},Se=(_0x35465d,_0x101001)=>(_0x5c6ba9,_0x30c3eb)=>_0x101001(_0x5c6ba9,_0x30c3eb,_0x35465d);let H=class extends _0x5b4113{constructor(_0x492171,_0x2ca5b3,_0x2cafc6){const _0x127a2c=_0x3fe07c;super(),_(this,'_entities',new Map()),_(this,_0x127a2c(0x1a3),new _0x12317c()),(this['_univerInstanceService']=_0x492171,this[_0x127a2c(0x222)]=_0x2ca5b3,this[_0x127a2c(0x154)]=_0x2cafc6,this['_init']());}[_0x3fe07c(0xf7)](){const _0x53de15=_0x3fe07c;super[_0x53de15(0xf7)](),this[_0x53de15(0x1a3)][_0x53de15(0x188)](),this[_0x53de15(0x149)][_0x53de15(0x197)](_0x5cb07f=>_0x5cb07f[_0x53de15(0xf7)]());}[_0x3fe07c(0x27f)](_0x20c2d8){const _0x225b72=_0x3fe07c;return this[_0x225b72(0x149)][_0x225b72(0x22f)](_0x20c2d8)?this['_entities'][_0x225b72(0x173)](_0x20c2d8)[_0x225b72(0x153)]:this[_0x225b72(0x1a3)][_0x225b72(0x115)](_0x6967a8(_0xed6c21=>_0xed6c21[_0x225b72(0xe7)]===_0x20c2d8),_0x2f8353(_0x434040=>_0x434040['cursorInfo$']));}['_init'](){const _0x3261c3=_0x3fe07c;this[_0x3261c3(0x2a2)]['getTypeOfUnitAdded$'](_0x3b6e52[_0x3261c3(0x236)])[_0x3261c3(0x115)](_0x30fec2(this[_0x3261c3(0xee)]))[_0x3261c3(0x1c6)](async _0x329d5b=>{const _0x1c107d=_0x3261c3,_0x8343c2=_0x329d5b[_0x1c107d(0x139)](),_0x236557=await this['_startSheetCollabCursor'](_0x8343c2);this[_0x1c107d(0x1a3)][_0x1c107d(0x1d8)](_0x236557),this[_0x1c107d(0x149)][_0x1c107d(0x1ef)](_0x8343c2,_0x236557);}),this[_0x3261c3(0x2a2)][_0x3261c3(0x216)](_0x3b6e52[_0x3261c3(0x104)])[_0x3261c3(0x115)](_0x30fec2(this[_0x3261c3(0xee)]))[_0x3261c3(0x115)](_0x6967a8(_0x4488b4=>!_0x4488b4[_0x3261c3(0x139)]()[_0x3261c3(0x23d)]('__')))[_0x3261c3(0x1c6)](async _0x78ccca=>{const _0x5d320a=_0x3261c3,_0x313223=_0x78ccca[_0x5d320a(0x139)](),_0xeb2283=await this[_0x5d320a(0x1a5)](_0x313223);this['_entityInit$'][_0x5d320a(0x1d8)](_0xeb2283),this[_0x5d320a(0x149)][_0x5d320a(0x1ef)](_0x313223,_0xeb2283);}),_0x4a8f92(this[_0x3261c3(0x2a2)][_0x3261c3(0x178)](_0x3b6e52[_0x3261c3(0x104)]),this[_0x3261c3(0x2a2)][_0x3261c3(0x178)](_0x3b6e52[_0x3261c3(0x236)]))[_0x3261c3(0x115)](_0x30fec2(this['dispose$']))[_0x3261c3(0x1c6)](_0x558e3e=>{const _0x40af5d=_0x3261c3,_0x53a4c1=_0x558e3e[_0x40af5d(0x139)](),_0x110563=this[_0x40af5d(0x149)][_0x40af5d(0x173)](_0x53a4c1);_0x110563&&(_0x110563[_0x40af5d(0xf7)](),this['_entities']['delete'](_0x53a4c1));});}async['_startSheetCollabCursor'](_0x3218d6){const _0x97cc1f=_0x3fe07c,_0x4267be=await this['_collabSessionService'][_0x97cc1f(0x1e7)](_0x3218d6),_0x24d2cf=this[_0x97cc1f(0x222)][_0x97cc1f(0x1f7)](Me,_0x3218d6,_0x4267be);return _0x24d2cf['init'](),_0x24d2cf;}async[_0x3fe07c(0x1a5)](_0x1457e8){const _0x33b3b5=_0x3fe07c,_0x3a873d=await this[_0x33b3b5(0x154)][_0x33b3b5(0x1e7)](_0x1457e8),_0x353997=this[_0x33b3b5(0x222)][_0x33b3b5(0x1f7)](Ue,_0x1457e8,_0x3a873d);return _0x353997[_0x33b3b5(0x20e)](),_0x353997;}};H=Ci([Se(0x0,_0xbf54a8),Se(0x1,_0x4187e9(_0x1672f7)),Se(0x2,_0x4187e9(_0x2d67be))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3866d9,_0x517cac){const _0x1d1987=_0x3fe07c;let {radius:_0x360e03,width:_0x34192a,height:_0x47af7e}=_0x517cac;_0x360e03=_0x360e03!=null?_0x360e03:0x0,_0x34192a=_0x34192a!=null?_0x34192a:0x1e,_0x47af7e=_0x47af7e!=null?_0x47af7e:0x1e;let _0xc67268=0x0,_0x22f651=0x0,_0x5e5be2=0x0;_0xc67268=_0x22f651=_0x5e5be2=Math['min'](_0x360e03,_0x34192a/0x2,_0x47af7e/0x2),_0x3866d9['beginPath'](),_0x3866d9[_0x1d1987(0x233)](_0xc67268,0x0),_0x3866d9['lineTo'](_0x34192a-_0x22f651,0x0),_0x3866d9['arc'](_0x34192a-_0x22f651,_0x22f651,_0x22f651,Math['PI']*0x3/0x2,0x0,!0x1),_0x3866d9[_0x1d1987(0x164)](_0x34192a,_0x47af7e-_0x5e5be2),_0x3866d9[_0x1d1987(0x14f)](_0x34192a-_0x5e5be2,_0x47af7e-_0x5e5be2,_0x5e5be2,0x0,Math['PI']/0x2,!0x1),_0x3866d9[_0x1d1987(0x164)](0x0,_0x47af7e),_0x3866d9[_0x1d1987(0x164)](0x0,_0xc67268),_0x3866d9[_0x1d1987(0x14f)](_0xc67268,_0xc67268,_0xc67268,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3866d9['closePath'](),_0x517cac[_0x1d1987(0x2c4)]&&(_0x3866d9[_0x1d1987(0x2bf)](),_0x3866d9[_0x1d1987(0x295)]=_0x517cac[_0x1d1987(0x2c4)],_0x517cac[_0x1d1987(0x1b0)]===_0x1d1987(0x2a1)?_0x3866d9[_0x1d1987(0x2c4)](_0x1d1987(0x2a1)):_0x3866d9[_0x1d1987(0x2c4)](),_0x3866d9[_0x1d1987(0x1ad)]());}class he extends _0x46f2f7{constructor(_0x21ac95,_0x3db824){const _0x1c31c3=_0x3fe07c;super(_0x21ac95,_0x3db824),_(this,'color'),_(this,_0x1c31c3(0x14b)),(this[_0x1c31c3(0x124)]=_0x3db824==null?void 0x0:_0x3db824[_0x1c31c3(0x124)],this[_0x1c31c3(0x14b)]=_0x3db824==null?void 0x0:_0x3db824[_0x1c31c3(0x14b)]);}static['drawWith'](_0x19f903,_0x228f29){const _0x49c181=_0x3fe07c,{text:_0x45988c,color:_0x598030}=_0x228f29;_0x19f903[_0x49c181(0x2bf)](),_0x19f903['font']=_0x49c181(0x16c);const _0x54a467=_0x19f903[_0x49c181(0x1a4)](_0x45988c)['width'],_0x442373=Math['min'](_0x54a467+0x2*me,Qe);Oi(_0x19f903,{'height':ee,'radius':0x4,'width':_0x442373,'fill':_0x598030}),_0x19f903[_0x49c181(0x295)]=_0x49c181(0x27d);const _0x513a95=me,_0x171d2d=ee-Ei,_0x4a06cd=Qe-0x2*me;if(_0x54a467>_0x4a06cd){let _0x5c2315='',_0x565057=0x0;for(const _0x7944d6 of _0x45988c){const _0x4a499f=_0x19f903[_0x49c181(0x1a4)](_0x7944d6)[_0x49c181(0x1fc)];if(_0x565057+_0x4a499f<=_0x4a06cd-_0x19f903[_0x49c181(0x1a4)]('...')['width'])_0x5c2315+=_0x7944d6,_0x565057+=_0x4a499f;else{_0x5c2315+='...';break;}}_0x19f903['fillText'](_0x5c2315,_0x513a95,_0x171d2d);}else _0x19f903[_0x49c181(0x1bc)](_0x45988c,_0x513a95,_0x171d2d);_0x19f903[_0x49c181(0x1ad)]();}['_draw'](_0x382225){he['drawWith'](_0x382225,this);}}const Ie=_0x3fe07c(0x245),bi='collab-text-range-',Ti=_0x3fe07c(0x13e),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3fe07c(0x1e9);class qe{constructor(_0x5453c8,_0x2a3fef,_0x3178f0,_0x52a9b1){const _0x27029c=_0x3fe07c;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x27029c(0x11a),null),_(this,_0x27029c(0x1ff),null),_(this,'_hideTimer',null),_(this,_0x27029c(0x126),null),(this['_cursor']=_0x5453c8,this[_0x27029c(0x211)]=_0x2a3fef,this['_docSkeleton']=_0x3178f0,this[_0x27029c(0x2c3)]=_0x52a9b1,this[_0x27029c(0x1a8)]());}set[_0x3fe07c(0x125)](_0x391bcc){const _0x3f3950=_0x3fe07c;_0x391bcc?(this['_anchorDot']&&this[_0x3f3950(0x1ff)][_0x3f3950(0x231)](),this[_0x3f3950(0x11a)]&&this['_textBubble'][_0x3f3950(0x271)]()):(this[_0x3f3950(0x1ff)]&&this[_0x3f3950(0x1ff)][_0x3f3950(0x271)](),this[_0x3f3950(0x11a)]&&this[_0x3f3950(0x11a)][_0x3f3950(0x231)]());}[_0x3fe07c(0xf7)](){const _0x3b9019=_0x3fe07c;for(const _0x2f7789 of this[_0x3b9019(0xcc)])_0x2f7789[_0x3b9019(0xf7)]();this[_0x3b9019(0x11a)]&&this[_0x3b9019(0x11a)][_0x3b9019(0xf7)](),this[_0x3b9019(0x1ff)]&&this[_0x3b9019(0x1ff)]['dispose'](),this[_0x3b9019(0xe9)]&&this[_0x3b9019(0xe9)][_0x3b9019(0xf7)](),this[_0x3b9019(0x126)]&&this[_0x3b9019(0x126)]();}['_render'](){const _0x2d26fb=_0x3fe07c;var _0x517e15;const {_docSkeleton:_0xc17846,_document:_0x22368a}=this,{color:_0x4f77fa,name:_0x40d771,ranges:_0x63ec}=this[_0x2d26fb(0x282)],_0x2b301a=_0x22368a[_0x2d26fb(0x22c)](),{docsLeft:_0x27ae55,docsTop:_0x3fc7bd}=_0x2b301a,_0x13b089=new _0x4cd754(_0x2b301a,_0xc17846);for(const {startOffset:_0x318ce0,endOffset:_0x120134,rangeType:_0x411721,segmentId:_0x26fbff,segmentPage:_0x34953d,collapsed:_0x304471,isActive:_0x20a113}of _0x63ec){const _0x353afc=_0xc17846['findNodePositionByCharIndex'](_0x318ce0,!0x0,_0x26fbff,_0x34953d);let _0x32a8c3=_0xc17846[_0x2d26fb(0x15f)](_0x120134,!0x0,_0x26fbff,_0x34953d);if(_0x32a8c3==null&&(_0x32a8c3=_0xc17846[_0x2d26fb(0x15f)](_0x120134-0x1,!0x1,_0x26fbff,_0x34953d)),_0x20a113){const {contentBoxPointGroup:_0x839b55}=_0x13b089['getRangePointData'](_0x32a8c3,_0x32a8c3);if(_0x839b55[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0x11c)](_0x4f77fa,_0x839b55,_0x27ae55,_0x3fc7bd,_0x40d771),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x353afc&&_0x32a8c3){if(_0x411721===_0x1cb7eb[_0x2d26fb(0x268)]){const _0x28f7b8=new _0x4c8f0f(_0x2b301a,_0xc17846),{pointGroup:_0x137122}=(_0x517e15=_0x28f7b8[_0x2d26fb(0x206)](_0x353afc,_0x32a8c3))!=null?_0x517e15:{};if(_0x137122==null||_0x137122[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0xff)](_0x4f77fa,_0x137122,_0x27ae55,_0x3fc7bd);}else{if(!_0x304471){const {borderBoxPointGroup:_0x599a57}=_0x13b089['getRangePointData'](_0x353afc,_0x32a8c3);if(_0x599a57[_0x2d26fb(0x1d9)]===0x0)continue;this[_0x2d26fb(0xe3)](_0x4f77fa,_0x599a57,_0x27ae55,_0x3fc7bd);}}}}}[_0x3fe07c(0x11c)](_0x1268b1,_0x2cfe14,_0xf4eaea,_0x499993,_0x409344){const _0x53f437=_0x3fe07c,_0x29cc87=this[_0x53f437(0x177)](_0x2cfe14),{left:_0x392a16,top:_0x532ab3,height:_0x509710}=_0x29cc87,_0x4179db=this[_0x53f437(0x238)](),_0x3fdea1=Di/_0x4179db,_0x2bdb6e=new _0x554ac3(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993,'height':_0x509710,'width':Ri,'fill':_0x1268b1||_0x34809b(_0x324efe[_0x53f437(0x2cb)],0x0),'strokeWidth':_0x3fdea1,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x2bdb6e,this['_scene'][_0x53f437(0xe1)](_0x2bdb6e,_0x13994a);const _0x14e794=new _0x554ac3(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993-ge/0x2,'height':ge,'width':ge,'fill':_0x1268b1||_0x34809b(_0x324efe['black'],0x0),'strokeWidth':0x0,'stroke':_0x1268b1||_0x34809b(_0x324efe[_0x53f437(0x2cb)],0x0),'evented':!0x1});this[_0x53f437(0x1ff)]=_0x14e794,this[_0x53f437(0x211)][_0x53f437(0xe1)](_0x14e794,_0x13994a);const _0x24800f=new he(Ie+_0x2e8d92[_0x53f437(0x27a)](X),{'left':_0x392a16+_0xf4eaea-_0x3fdea1,'top':_0x532ab3+_0x499993-ee,'text':_0x409344,'color':_0x1268b1});this[_0x53f437(0x11a)]=_0x24800f,this[_0x53f437(0x211)][_0x53f437(0xe1)](_0x24800f,_0x13994a),this[_0x53f437(0x125)]=!0x1;}[_0x3fe07c(0x2b9)](){const _0x4e1557=_0x3fe07c,_0x6914f7=this['_anchor'][_0x4e1557(0xf9)][_0x4e1557(0x1a6)](()=>{const _0x369be2=_0x4e1557;this[_0x369be2(0x125)]=!0x0;}),_0x568392=this[_0x4e1557(0xe9)][_0x4e1557(0x18f)][_0x4e1557(0x1a6)](()=>{const _0x2796f0=_0x4e1557;this[_0x2796f0(0x2aa)]&&clearTimeout(this[_0x2796f0(0x2aa)]),this['_hideTimer']=setTimeout(()=>{const _0x2a1ad5=_0x2796f0;this[_0x2a1ad5(0x125)]=!0x1;},0x7d0);});return()=>{const _0xd4491b=_0x4e1557;_0x6914f7[_0xd4491b(0x289)](),_0x568392[_0xd4491b(0x289)]();};}[_0x3fe07c(0xe3)](_0x35d631,_0x259fa0,_0x23c757,_0x1396b0){const _0x25eaaf=_0x3fe07c,_0x35e554=new _0x15a69d(_0x35d631)[_0x25eaaf(0x1c0)](0.2)[_0x25eaaf(0xfd)](),_0x94de99=new _0x33c830(bi+_0x2e8d92[_0x25eaaf(0x27a)](X),{'pointsGroup':_0x259fa0,'fill':_0x35e554||_0x34809b(_0x324efe['black'],0.2),'left':_0x23c757,'top':_0x1396b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25eaaf(0xcc)][_0x25eaaf(0x2b4)](_0x94de99),this[_0x25eaaf(0x211)][_0x25eaaf(0xe1)](_0x94de99,_0x13994a);}[_0x3fe07c(0xff)](_0x237d7b,_0x16ee4b,_0x1979a8,_0x3fc1cb){const _0x47fb14=_0x3fe07c,_0x420a40=new _0x15a69d(_0x237d7b)[_0x47fb14(0x1c0)](0.2)['toRgbString'](),_0x1913c6=new _0x33c830(Ti+_0x2e8d92[_0x47fb14(0x27a)](X),{'pointsGroup':_0x16ee4b,'fill':_0x420a40||_0x34809b(_0x324efe[_0x47fb14(0x2cb)],0.2),'left':_0x1979a8,'top':_0x3fc1cb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47fb14(0xcc)][_0x47fb14(0x2b4)](_0x1913c6),this[_0x47fb14(0x211)][_0x47fb14(0xe1)](_0x1913c6,_0x13994a);}['_getAnchorBounding'](_0x4c8224){const _0x4bd316=_0x4c8224[0x0],_0x131699=_0x4bd316[0x0],_0x4a36cf=_0x4bd316[0x2],{x:_0xbf663,y:_0xce942a}=_0x131699,{x:_0x4b5ed3,y:_0x1d9e1d}=_0x4a36cf;return{'left':_0xbf663,'top':_0xce942a,'width':_0x4b5ed3-_0xbf663,'height':_0x1d9e1d-_0xce942a};}[_0x3fe07c(0x238)](){const _0x7eeddb=_0x3fe07c,{scaleX:_0x3add4d,scaleY:_0x5c51af}=this[_0x7eeddb(0x211)][_0x7eeddb(0x235)]();return Math[_0x7eeddb(0x120)](_0x3add4d,_0x5c51af);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x48db15,_0xf64664,_0x1b626a,_0x1141eb)=>{const _0x360605=_0x3fe07c;for(var _0x4c9cbc=_0x1141eb>0x1?void 0x0:_0x1141eb?Ui(_0xf64664,_0x1b626a):_0xf64664,_0x5bfb66=_0x48db15[_0x360605(0x1d9)]-0x1,_0x227458;_0x5bfb66>=0x0;_0x5bfb66--)(_0x227458=_0x48db15[_0x5bfb66])&&(_0x4c9cbc=_0x227458(_0x4c9cbc)||_0x4c9cbc);return _0x4c9cbc;},Z=(_0x473e6c,_0x12133a)=>(_0x4924ac,_0x190189)=>_0x12133a(_0x4924ac,_0x190189,_0x473e6c);let we=class extends _0x5b4113{constructor(_0x207528,_0x1ca365,_0x106343,_0x4d8e8e,_0x326d0a){const _0x416b80=_0x3fe07c;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x207528,this[_0x416b80(0x1dd)]=_0x1ca365,this[_0x416b80(0x171)]=_0x106343,this[_0x416b80(0x13a)]=_0x4d8e8e,this[_0x416b80(0xea)]=_0x326d0a,this[_0x416b80(0x220)]());}[_0x3fe07c(0x220)](){const _0x3f2408=_0x3fe07c,_0x3bc720=this[_0x3f2408(0x26f)][_0x3f2408(0x10e)],_0x33c28c=this[_0x3f2408(0x1dd)];this[_0x3f2408(0x1da)](_0x17a885([this[_0x3f2408(0x171)][_0x3f2408(0x27f)](_0x3bc720),this['_themeService']['currentTheme$']])[_0x3f2408(0x115)](_0x5044b9(([_0x26aa60,_0x2b160c])=>({'skeleton':_0x33c28c[_0x3f2408(0x1e2)](),'cursors':[..._0x26aa60['values']()][_0x3f2408(0xe5)](_0x55b7d8=>({..._0x55b7d8,'color':this[_0x3f2408(0xea)][_0x3f2408(0x260)](_0x55b7d8[_0x3f2408(0x124)])}))})))[_0x3f2408(0x1c6)](_0x31b839=>{const _0x565b6f=_0x3f2408;if(this['_removeCollabCursors'](),_0x31b839){const {skeleton:_0x1ca4c3,cursors:_0x3ac98b}=_0x31b839;this[_0x565b6f(0x11b)](_0x1ca4c3,_0x3ac98b);}})),this[_0x3f2408(0x200)](),this['_initCommandExecutedListener']();}[_0x3fe07c(0x11b)](_0x6d943e,_0x43cd78){const _0x56edbc=_0x3fe07c,{scene:_0x1d65b4,mainComponent:_0x5790d9}=this[_0x56edbc(0x26f)],_0x2fb673=_0x43cd78[_0x56edbc(0x1b1)](_0x4662af=>new qe(_0x4662af,_0x1d65b4,_0x6d943e,_0x5790d9));this[_0x56edbc(0x202)]=_0x2fb673,this[_0x56edbc(0x156)]=_0x43cd78;}['_refreshCollabCursors'](){const _0xa7cb5b=_0x3fe07c;this['_removeCollabCursors']();const {scene:_0x26aa8f,mainComponent:_0x1864b3}=this[_0xa7cb5b(0x26f)],_0x5a5939=this[_0xa7cb5b(0x1dd)][_0xa7cb5b(0x1e2)](),_0xf61243=this[_0xa7cb5b(0x156)][_0xa7cb5b(0x1b1)](_0x57c5cc=>new qe(_0x57c5cc,_0x26aa8f,_0x5a5939,_0x1864b3));this[_0xa7cb5b(0x202)]=_0xf61243;}[_0x3fe07c(0x182)](){const _0x1aa540=_0x3fe07c;this['_cursorShapes']['forEach'](_0x43da1e=>_0x43da1e['dispose']()),this[_0x1aa540(0x202)]=[];}[_0x3fe07c(0x25e)](){const _0x129095=_0x3fe07c,_0x239c7d=[_0x3cd37d['id']];this[_0x129095(0x1da)](this['_commandService'][_0x129095(0x237)](_0x4ceb85=>{const _0x45cc94=_0x129095;_0x239c7d[_0x45cc94(0x1a7)](_0x4ceb85['id'])&&_0x4ceb85[_0x45cc94(0x218)]['unitId']===this[_0x45cc94(0x26f)]['unitId']&&this[_0x45cc94(0x2a6)]();}));}[_0x3fe07c(0x200)](){const _0xbe43c8=_0x3fe07c;this['disposeWithMe'](_0x3f312e(this[_0xbe43c8(0x26f)][_0xbe43c8(0x259)][_0xbe43c8(0x1ba)])[_0xbe43c8(0x115)](_0x202138(_0xf67ab8=>_0xf67ab8['type']===_0x13d377[_0xbe43c8(0x242)]),_0xaee094(0x10))[_0xbe43c8(0x1c6)](()=>{const _0x8fee10=_0xbe43c8;this[_0x8fee10(0x2a6)]();}));}};we=Mi([Z(0x1,_0x4187e9(_0x430c25)),Z(0x2,_0x4187e9(H)),Z(0x3,_0x2e3d71),Z(0x4,_0x4187e9(_0x4fcb94))],we);const wi=0x1,Pi=1.5;class Li extends _0x46f2f7{constructor(_0x279b82,_0x29f8d4){const _0x4869d6=_0x3fe07c;super(_0x279b82,_0x29f8d4),_(this,'_color'),_(this,_0x4869d6(0x213),!0x1),_(this,'_range'),_(this,_0x4869d6(0x187),''),_(this,_0x4869d6(0x108),'top'),_(this,_0x4869d6(0x229)),(_0x29f8d4&&this[_0x4869d6(0x29b)](_0x29f8d4),this[_0x4869d6(0xf9)][_0x4869d6(0x1a6)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4869d6(0x18f)][_0x4869d6(0x1a6)](()=>this[_0x4869d6(0x29b)]({'hovered':!0x1})));}[_0x3fe07c(0x29b)](_0x2f9db9){const _0x57e7b7=_0x3fe07c;var _0x31b7e0,_0x389099,_0x39aa11,_0x3435d4,_0x5446f9,_0x1e878b;this[_0x57e7b7(0x1f1)]=(_0x31b7e0=_0x2f9db9[_0x57e7b7(0x124)])!=null?_0x31b7e0:this[_0x57e7b7(0x1f1)],this[_0x57e7b7(0x213)]=(_0x389099=_0x2f9db9[_0x57e7b7(0x121)])!=null?_0x389099:this[_0x57e7b7(0x213)],this[_0x57e7b7(0x22d)]=(_0x39aa11=_0x2f9db9[_0x57e7b7(0x225)])!=null?_0x39aa11:this[_0x57e7b7(0x22d)],this['_name']=(_0x3435d4=_0x2f9db9[_0x57e7b7(0xeb)])!=null?_0x3435d4:this[_0x57e7b7(0x187)],this[_0x57e7b7(0x108)]=(_0x5446f9=_0x2f9db9[_0x57e7b7(0xd3)])!=null?_0x5446f9:this[_0x57e7b7(0x108)],this[_0x57e7b7(0x229)]=(_0x1e878b=_0x2f9db9[_0x57e7b7(0x186)])!=null?_0x1e878b:this['_backgroundColor'],this[_0x57e7b7(0x27b)]({'width':_0x2f9db9[_0x57e7b7(0x1fc)],'height':_0x2f9db9[_0x57e7b7(0x21d)]});}['onMouseMove'](_0x5e3322){const _0x23ca38=_0x3fe07c,{row:_0x4233f2,column:_0x56a1d6}=_0x5e3322;if(_0x4233f2>=this[_0x23ca38(0x22d)][_0x23ca38(0x2a5)]&&_0x4233f2<=this[_0x23ca38(0x22d)]['endRow']&&_0x56a1d6>=this[_0x23ca38(0x22d)][_0x23ca38(0x29a)]&&_0x56a1d6<=this[_0x23ca38(0x22d)]['endColumn']){this[_0x23ca38(0x29b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2f6695){return!0x1;}[_0x3fe07c(0xf5)](_0x3a50fa){const _0x5f2b59=_0x3fe07c;_0x554ac3[_0x5f2b59(0x1fe)](_0x3a50fa,{'width':this['width'],'height':this[_0x5f2b59(0x21d)],'strokeWidth':Pi,'stroke':this[_0x5f2b59(0x1f1)],'evented':!0x1,'fill':this[_0x5f2b59(0x229)]}),this['_hovered']&&(_0x3a50fa['save'](),_0x3a50fa[_0x5f2b59(0x2b7)](0x1,0x0,0x0,0x1,this[_0x5f2b59(0x1fc)],this[_0x5f2b59(0x108)]===_0x5f2b59(0x224)?0x0:-0x14),he[_0x5f2b59(0x1fe)](_0x3a50fa,{'text':this[_0x5f2b59(0x187)],'color':this[_0x5f2b59(0x1f1)]}),_0x3a50fa[_0x5f2b59(0x1ad)]());}}var Ai=Object[_0x3fe07c(0x128)],yi=(_0x568c18,_0x1d6905,_0x2b4807,_0x3fe566)=>{const _0x7efce4=_0x3fe07c;for(var _0x3327b4=_0x3fe566>0x1?void 0x0:_0x3fe566?Ai(_0x1d6905,_0x2b4807):_0x1d6905,_0x5d0bf9=_0x568c18[_0x7efce4(0x1d9)]-0x1,_0x10d4ee;_0x5d0bf9>=0x0;_0x5d0bf9--)(_0x10d4ee=_0x568c18[_0x5d0bf9])&&(_0x3327b4=_0x10d4ee(_0x3327b4)||_0x3327b4);return _0x3327b4;},ve=(_0x34f946,_0x33f836)=>(_0x3d2797,_0x381787)=>_0x33f836(_0x3d2797,_0x381787,_0x34f946);const $i=0x1389;let Pe=class extends _0x5b4113{constructor(_0x3796dd,_0x47d3b5,_0x3af3e6,_0x201fb0){const _0x19fd14=_0x3fe07c;super(),_(this,_0x19fd14(0x156),new Set()),_(this,_0x19fd14(0x142),null),(this[_0x19fd14(0x26f)]=_0x3796dd,this[_0x19fd14(0x1af)]=_0x47d3b5,this[_0x19fd14(0x171)]=_0x3af3e6,this['_themeService']=_0x201fb0,this['_init']());}[_0x3fe07c(0x220)](){const _0x21fb49=_0x3fe07c;this[_0x21fb49(0x1af)]['currentSkeleton$'][_0x21fb49(0x115)](_0x453bf2(this[_0x21fb49(0xee)]),_0x46d76e(_0x39802e=>{const _0x2428ef=_0x21fb49;if(_0x39802e){const _0xaaea8=_0x39802e[_0x2428ef(0x20d)];return _0x17a885(this[_0x2428ef(0x171)][_0x2428ef(0x27f)](this['_context'][_0x2428ef(0x10e)]),this[_0x2428ef(0xea)]['currentTheme$'])[_0x2428ef(0x115)](_0x5044b9(([_0x4d73f9,_0x24ba39])=>{const _0x1bc266=_0x2428ef,_0x578487=new Map();return _0x4d73f9[_0x1bc266(0x197)]((_0x2360e9,_0x4ef71d)=>{const _0x105c04=_0x1bc266;if(_0x2360e9['sheetID']===_0xaaea8){const _0x2a2663={..._0x2360e9};_0x2a2663['color']=this[_0x105c04(0xea)][_0x105c04(0x260)](_0x2360e9[_0x105c04(0x124)]),_0x578487['set'](_0x4ef71d,_0x2a2663);}}),{'skeleton':_0x39802e,'cursors':_0x578487};}));}return _0x5d21d1({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x9177f0,cursors:_0x23981d})=>{const _0x553411=_0x21fb49;this['_removeCollabCursors'](),_0x9177f0&&this[_0x553411(0x11b)](_0x9177f0,_0x23981d);}),this['_sheetSkeletonManagerService'][_0x21fb49(0x1b2)][_0x21fb49(0x1c6)](_0xbb9455=>{const _0xa2dc8c=_0x21fb49;if(_0xbb9455==null)return;const {skeleton:_0x3676f7}=_0xbb9455,{scene:_0x40e80f}=this[_0xa2dc8c(0x26f)];_0x40e80f[_0xa2dc8c(0x2c5)][_0xa2dc8c(0x1a6)](_0x3d717c(_0x37365c=>{const _0x1bcb55=_0xa2dc8c;var _0x3e841c,_0x5cd877;const {offsetX:_0x3ec7d,offsetY:_0x1009eb}=_0x37365c,{x:_0x5d0db2,y:_0x349766}=_0x40e80f[_0x1bcb55(0x1c8)](_0x263eee[_0x1bcb55(0x2bd)]([_0x3ec7d,_0x1009eb])),{scaleX:_0x513dd8,scaleY:_0x515739}=_0x40e80f['getAncestorScale'](),_0x378b38=_0x40e80f[_0x1bcb55(0x2d1)](_0x551d32[_0x1bcb55(0x272)]),_0x51dfba=_0x40e80f[_0x1bcb55(0x25a)](_0x263eee[_0x1bcb55(0x2bd)]([_0x5d0db2,_0x349766]),_0x378b38),_0x1b0837=_0x3676f7[_0x1bcb55(0x134)](_0x3ec7d,_0x1009eb,_0x513dd8,_0x515739,_0x51dfba);((_0x3e841c=this[_0x1bcb55(0x142)])==null?void 0x0:_0x3e841c[_0x1bcb55(0xe8)])===_0x1b0837['column']&&((_0x5cd877=this[_0x1bcb55(0x142)])==null?void 0x0:_0x5cd877['row'])===_0x1b0837[_0x1bcb55(0x214)]||this['_cursors']['forEach'](_0x19a568=>{const _0x1921e8=_0x1bcb55;_0x19a568[_0x1921e8(0x170)](_0x1b0837);});},0x64));});}[_0x3fe07c(0x11b)](_0x19b9d1,_0x224e22){const _0x480cce=_0x3fe07c;var _0x4ae3be;const _0xc7ca0c=(_0x4ae3be=this[_0x480cce(0x1af)][_0x480cce(0x1b6)]())==null?void 0x0:_0x4ae3be[_0x480cce(0x207)];if(!_0xc7ca0c)return;const _0x25c8fd=this[_0x480cce(0x25d)]();if(!_0x25c8fd)return;this[_0x480cce(0x156)]['forEach'](_0xb877c4=>{const _0x53e7fe=_0x480cce;_0xb877c4[_0x53e7fe(0x20b)]();});const {scene:_0x575f7a}=_0x25c8fd,_0x1b51ac=xi(Array['from'](_0x224e22[_0x480cce(0x24e)]()))['map'](_0x202cdb=>{const _0x21e553=_0x480cce,{color:_0x527218,range:_0x2b408a,name:_0x4519b4,selection:_0x1327b4,sheetID:_0x3b14f2}=_0x202cdb,{startColumn:_0x561305,startRow:_0x4e79af,endColumn:_0x3bcd26,endRow:_0x6d3676}=_0x2b408a,_0x48c48b=_0x8107(_0x4e79af,_0x561305,_0x575f7a,_0xc7ca0c),_0x4f9b96=_0x8107(_0x6d3676,_0x3bcd26,_0x575f7a,_0xc7ca0c),{columnHeaderHeightAndMarginTop:_0x11c49a}=_0xc7ca0c,{startX:_0x40af93,startY:_0x57ffae}=_0x48c48b,{endX:_0x2a671f,endY:_0xac0645}=_0x4f9b96,_0x53c5fd=_0x2a671f-_0x40af93,_0x5397e5=_0xac0645-_0x57ffae,_0x53aa2f={'labelPosition':_0x57ffae-_0x11c49a>=ee?_0x21e553(0x285):_0x21e553(0x224),'sheetID':_0x3b14f2,'range':_0x2b408a,'color':_0x527218,'name':_0x4519b4,'selection':_0x1327b4,'left':_0x40af93,'top':_0x57ffae,'width':_0x53c5fd,'height':_0x5397e5,'evented':!0x1,'zIndex':$i};return new Li(_0x4519b4,_0x53aa2f);});_0x575f7a[_0x480cce(0x2cf)](_0x1b51ac,wi),this[_0x480cce(0x156)]=new Set(_0x1b51ac);}[_0x3fe07c(0x182)](){const _0x5b68c6=_0x3fe07c;var _0x5e9489;(_0x5e9489=this[_0x5b68c6(0x156)])==null||_0x5e9489['forEach'](_0x4c85c3=>_0x4c85c3[_0x5b68c6(0xf7)]());}['_getSheetObject'](){const _0x1b5298=_0x3fe07c;return _0x1a60d5(this[_0x1b5298(0x26f)][_0x1b5298(0xd7)],this[_0x1b5298(0x26f)]);}};Pe=yi([ve(0x1,_0x4187e9(_0x397fc0)),ve(0x2,_0x4187e9(H)),ve(0x3,_0x4187e9(_0x4fcb94))],Pe);function xi(_0x496087){const _0x1390c5=_0x3fe07c,_0x2d7f4d=new Map();return _0x496087[_0x1390c5(0x197)](_0x233f0d=>{const _0x1f140b=_0x1390c5;if(_0x2d7f4d[_0x1f140b(0x22f)](_0x233f0d['selection'])){const _0x305d57=_0x2d7f4d[_0x1f140b(0x173)](_0x233f0d[_0x1f140b(0x11e)]);_0x305d57['name']+=',\x20'+_0x233f0d[_0x1f140b(0xeb)];}else _0x2d7f4d[_0x1f140b(0x1ef)](_0x233f0d[_0x1f140b(0x11e)],_0x233f0d);}),Array['from'](_0x2d7f4d[_0x1390c5(0x24e)]());}var v=function(){const _0x41da2b=_0x3fe07c;return v=Object['assign']||function(_0x5c5ea6){const _0x2284e6=_0x1112;for(var _0x4c5772,_0x21e914=0x1,_0x2a11bc=arguments[_0x2284e6(0x1d9)];_0x21e914<_0x2a11bc;_0x21e914++){_0x4c5772=arguments[_0x21e914];for(var _0x5d1131 in _0x4c5772)Object[_0x2284e6(0x262)][_0x2284e6(0xdc)][_0x2284e6(0x26e)](_0x4c5772,_0x5d1131)&&(_0x5c5ea6[_0x5d1131]=_0x4c5772[_0x5d1131]);}return _0x5c5ea6;},v[_0x41da2b(0x1b4)](this,arguments);},Bi=function(_0x5316e0,_0x178732){const _0x316b3f=_0x3fe07c;var _0x776834={};for(var _0x1336bf in _0x5316e0)Object[_0x316b3f(0x262)][_0x316b3f(0xdc)]['call'](_0x5316e0,_0x1336bf)&&_0x178732[_0x316b3f(0x2c9)](_0x1336bf)<0x0&&(_0x776834[_0x1336bf]=_0x5316e0[_0x1336bf]);if(_0x5316e0!=null&&typeof Object[_0x316b3f(0x26d)]==_0x316b3f(0x219)){for(var _0x17f943=0x0,_0x1336bf=Object[_0x316b3f(0x26d)](_0x5316e0);_0x17f943<_0x1336bf[_0x316b3f(0x1d9)];_0x17f943++)_0x178732[_0x316b3f(0x2c9)](_0x1336bf[_0x17f943])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x316b3f(0x26e)](_0x5316e0,_0x1336bf[_0x17f943])&&(_0x776834[_0x1336bf[_0x17f943]]=_0x5316e0[_0x1336bf[_0x17f943]]);}return _0x776834;},je=_0x4426ae(function(_0x1c6626,_0x5a1bd5){const _0x383637=_0x3fe07c;var _0x2d8154=_0x1c6626['icon'],_0x429ec2=_0x1c6626['id'],_0x150148=_0x1c6626[_0x383637(0xcd)],_0x29b586=_0x1c6626[_0x383637(0x1df)],_0x22c558=Bi(_0x1c6626,[_0x383637(0x1e6),'id',_0x383637(0xcd),_0x383637(0x1df)]),_0xa741d7=_0x383637(0x283)[_0x383637(0x252)](_0x429ec2,'\x20')[_0x383637(0x252)](_0x150148||'')['trim'](),_0x435209=_0x13e846('_'[_0x383637(0x252)](ji()));return Rt(_0x2d8154,''[_0x383637(0x252)](_0x429ec2),{'defIds':_0x2d8154[_0x383637(0x2bc)],'idSuffix':_0x435209[_0x383637(0x1be)]},v({'ref':_0x5a1bd5,'className':_0xa741d7},_0x22c558),_0x29b586);});function Rt(_0x2fa2a7,_0x20f2f,_0x264369,_0x2a87f2,_0x2bc68a){const _0x2b38db=_0x3fe07c;return _0x4aa7b7(_0x2fa2a7['tag'],v(v({'key':_0x20f2f},ki(_0x2fa2a7,_0x264369,_0x2bc68a)),_0x2a87f2),(Hi(_0x2fa2a7,_0x264369)['children']||[])[_0x2b38db(0x1b1)](function(_0xbd26a8,_0x32a26f){const _0x46f09c=_0x2b38db;return Rt(_0xbd26a8,''[_0x46f09c(0x252)](_0x20f2f,'-')['concat'](_0x2fa2a7['tag'],'-')[_0x46f09c(0x252)](_0x32a26f),_0x264369,void 0x0,_0x2bc68a);}));}function ki(_0x58dbb4,_0x3ba37c,_0x2dd2c3){const _0x481f1d=_0x3fe07c;var _0x3fc554=v({},_0x58dbb4[_0x481f1d(0xe2)]);_0x2dd2c3!=null&&_0x2dd2c3['colorChannel1']&&_0x3fc554['fill']==='colorChannel1'&&(_0x3fc554[_0x481f1d(0x2c4)]=_0x2dd2c3[_0x481f1d(0x111)]),_0x58dbb4['tag']===_0x481f1d(0x1c4)&&_0x3fc554['id']&&(_0x3fc554['id']=_0x3fc554['id']+_0x3ba37c[_0x481f1d(0x2ad)]),Object[_0x481f1d(0x137)](_0x3fc554)[_0x481f1d(0x197)](function(_0x905b34){const _0x1259bc=_0x481f1d;var _0x1e8cbd=_0x905b34[0x0],_0x11d635=_0x905b34[0x1];_0x1e8cbd===_0x1259bc(0x1c4)&&typeof _0x11d635=='string'&&(_0x3fc554[_0x1e8cbd]=_0x11d635[_0x1259bc(0x10a)](/url\(#(.*)\)/,_0x1259bc(0x1aa)[_0x1259bc(0x252)](_0x3ba37c[_0x1259bc(0x2ad)],')')));});var _0x253674=_0x3ba37c[_0x481f1d(0x2bc)];return!_0x253674||_0x253674['length']===0x0||(_0x58dbb4[_0x481f1d(0x1e3)]===_0x481f1d(0x221)&&_0x3fc554['xlink:href']&&(_0x3fc554[_0x481f1d(0xf4)]=_0x3fc554['xlink:href']+_0x3ba37c[_0x481f1d(0x2ad)]),Object['entries'](_0x3fc554)['forEach'](function(_0x376522){const _0x279cdd=_0x481f1d;var _0x25a86c=_0x376522[0x0],_0x17da46=_0x376522[0x1];typeof _0x17da46=='string'&&(_0x3fc554[_0x25a86c]=_0x17da46[_0x279cdd(0x10a)](/url\(#(.*)\)/,_0x279cdd(0x1aa)[_0x279cdd(0x252)](_0x3ba37c['idSuffix'],')')));})),_0x3fc554;}function Hi(_0x4166e8,_0xce3faf){const _0x57bea4=_0x3fe07c;var _0x24bcde,_0x147400=_0xce3faf[_0x57bea4(0x2bc)];return!_0x147400||_0x147400[_0x57bea4(0x1d9)]===0x0?_0x4166e8:_0x4166e8[_0x57bea4(0x1e3)]==='defs'&&(!((_0x24bcde=_0x4166e8[_0x57bea4(0x18b)])===null||_0x24bcde===void 0x0)&&_0x24bcde[_0x57bea4(0x1d9)])?v(v({},_0x4166e8),{'children':_0x4166e8[_0x57bea4(0x18b)][_0x57bea4(0x1b1)](function(_0x3b4f1e){const _0xeb51c3=_0x57bea4;return typeof _0x3b4f1e[_0xeb51c3(0xe2)]['id']==_0xeb51c3(0x270)&&_0x147400&&_0x147400[_0xeb51c3(0x1a7)](_0x3b4f1e[_0xeb51c3(0xe2)]['id'])?v(v({},_0x3b4f1e),{'attrs':v(v({},_0x3b4f1e[_0xeb51c3(0xe2)]),{'id':_0x3b4f1e['attrs']['id']+_0xce3faf['idSuffix']})}):_0x3b4f1e;})}):_0x4166e8;}function ji(){const _0x4a5fbd=_0x3fe07c;return Math[_0x4a5fbd(0x223)]()['toString'](0x24)['substring'](0x2,0x8);}je[_0x3fe07c(0xe0)]=_0x3fe07c(0x267);var Yi={'tag':_0x3fe07c(0x281),'attrs':{'xmlns':_0x3fe07c(0x12f),'fill':_0x3fe07c(0x254),'viewBox':_0x3fe07c(0x217),'width':_0x3fe07c(0x26b),'height':_0x3fe07c(0x26b)},'children':[{'tag':'g','attrs':{'clipPath':_0x3fe07c(0x185)},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'stroke':'currentColor','d':_0x3fe07c(0x112),'strokeLinecap':_0x3fe07c(0x24a),'strokeLinejoin':_0x3fe07c(0x24a),'strokeWidth':1.2}}]},{'tag':_0x3fe07c(0x2a3),'attrs':{},'children':[{'tag':_0x3fe07c(0xc5),'attrs':{'id':_0x3fe07c(0x2a4)},'children':[{'tag':'path','attrs':{'fill':_0x3fe07c(0x18e),'d':_0x3fe07c(0x116)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x4426ae(function(_0x375dce,_0xe90392){const _0x4a005f=_0x3fe07c;return _0x4aa7b7(je,Object[_0x4a005f(0x151)]({},_0x375dce,{'id':_0x4a005f(0x1c9),'ref':_0xe90392,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x3fe07c(0x281),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3fe07c(0x254),'viewBox':_0x3fe07c(0x1d0),'width':_0x3fe07c(0x26b),'height':_0x3fe07c(0x26b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'stroke':_0x3fe07c(0x17a),'d':_0x3fe07c(0x141),'strokeLinecap':'round','strokeLinejoin':_0x3fe07c(0x24a),'strokeWidth':1.2}}]},{'tag':_0x3fe07c(0x2a3),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3fe07c(0x18d)},'children':[{'tag':_0x3fe07c(0x208),'attrs':{'fill':_0x3fe07c(0x18e),'d':_0x3fe07c(0x116),'transform':_0x3fe07c(0x16b)}}]}]}],'defIds':[_0x3fe07c(0x18d)]},Nt=_0x4426ae(function(_0x3c45de,_0x21841c){const _0x35eb8b=_0x3fe07c;return _0x4aa7b7(je,Object[_0x35eb8b(0x151)]({},_0x3c45de,{'id':'on-line-icon','ref':_0x21841c,'icon':Fi}));});Nt[_0x3fe07c(0xe0)]=_0x3fe07c(0x1de);function Wi(_0x5c5171){const _0x38197c=_0x3fe07c;switch(_0x5c5171){case _0x3c4f39[_0x38197c(0x1e5)]:return _0x38197c(0x2c0);case _0x3c4f39[_0x38197c(0x17c)]:return _0x38197c(0xd0);case _0x3c4f39['FETCH_MISS']:return _0x38197c(0x2c6);case _0x3c4f39[_0x38197c(0x29e)]:return _0x38197c(0x15d);case _0x3c4f39[_0x38197c(0x1d7)]:case _0x3c4f39['AWAITING_WITH_PENDING']:return _0x38197c(0x143);case _0x3c4f39[_0x38197c(0x19c)]:case _0x3c4f39['PENDING']:return _0x38197c(0x2c8);}}function Vi(_0x57e5a5){const _0x172f41=_0x3fe07c,{status$:_0x12d0c0}=_0x57e5a5,_0x500bc3=_0x1377bd(_0x12d0c0,_0x3c4f39['NOT_COLLAB']),_0x1c6f3c=_0x2c9ffa(_0x49d863),_0x86561f=_0x2c9ffa(_0x2d67be),_0x685d91=_0x500bc3!==_0x3c4f39[_0x172f41(0x1e5)],_0x18fe9f=_0x1c6f3c['t'](Wi(_0x500bc3)),_0x436356=_0x685d91?_0x3c46ca(Nt,{}):_0x3c46ca(Dt,{}),_0x500a49=_0x2c6a31(()=>{const _0x35f972=_0x172f41;_0x685d91||_0x86561f[_0x35f972(0x2a7)]();},[_0x685d91,_0x86561f]);function _0x243bf2(){const _0x363824=_0x172f41;return _0x16742e(_0x363824(0x256),{'className':_0x363824(0x275),'onClick':_0x500a49,'children':[_0x3c46ca(_0x363824(0x256),{'className':_0x1d7c06('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x685d91,'univer-text-red-500':!_0x685d91}),'children':_0x436356}),_0x3c46ca('div',{'className':_0x363824(0x25f),'children':_0x18fe9f})]});}return _0x685d91?_0x243bf2():_0x3c46ca(_0x432a00,{'title':_0x1c6f3c['t'](_0x172f41(0x15e)),'children':_0x243bf2()});}var Xi=Object[_0x3fe07c(0x128)],Gi=(_0x19d1f5,_0x48c818,_0x5e07b7,_0x21f8e2)=>{const _0x3f41ee=_0x3fe07c;for(var _0x45c5f9=_0x21f8e2>0x1?void 0x0:_0x21f8e2?Xi(_0x48c818,_0x5e07b7):_0x48c818,_0x4d59e1=_0x19d1f5[_0x3f41ee(0x1d9)]-0x1,_0x3a088f;_0x4d59e1>=0x0;_0x4d59e1--)(_0x3a088f=_0x19d1f5[_0x4d59e1])&&(_0x45c5f9=_0x3a088f(_0x45c5f9)||_0x45c5f9);return _0x45c5f9;},Q=(_0x1042da,_0x5a0c1b)=>(_0x4d85cb,_0x55c71b)=>_0x5a0c1b(_0x4d85cb,_0x55c71b,_0x1042da);let te=class extends _0x4ae93a{constructor(_0x4c7d01,_0x413bbc,_0xa42aa1,_0x43a3e4){const _0x20de64=_0x3fe07c;super(),_(this,'_status$',new _0x690e2a(_0x3c4f39[_0x20de64(0x29e)])),(this[_0x20de64(0x2a2)]=_0x4c7d01,this[_0x20de64(0x222)]=_0x413bbc,this[_0x20de64(0x240)]=_0xa42aa1,this[_0x20de64(0xfb)]=_0x43a3e4,this[_0x20de64(0x277)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x5dc5de=_0x3fe07c;this[_0x5dc5de(0x1da)](this[_0x5dc5de(0x2a2)][_0x5dc5de(0x114)][_0x5dc5de(0x115)](_0x2f8353(()=>{const _0x2420dd=_0x5dc5de,_0x4a0f7f=this[_0x2420dd(0x2a2)][_0x2420dd(0xd8)]();return _0x4a0f7f?this['_collaborationController'][_0x2420dd(0x1fb)](_0x4a0f7f[_0x2420dd(0x139)]()):_0x5d21d1(null);}),_0x2f8353(_0x572c51=>_0x572c51?_0x572c51[_0x5dc5de(0x123)]:_0x5d21d1(_0x3c4f39[_0x5dc5de(0x29e)])))[_0x5dc5de(0x1c6)](_0x48d11d=>{const _0x2025d0=_0x5dc5de;this['_status$'][_0x2025d0(0x1d8)](_0x48d11d);}));}[_0x3fe07c(0x277)](){const _0x2e4394=_0x3fe07c;this['disposeWithMe'](this[_0x2e4394(0xfb)][_0x2e4394(0x22a)](_0x200683[_0x2e4394(0x212)],()=>_0x1f4772(Ki({'status$':this[_0x2e4394(0x29d)][_0x2e4394(0x292)]()}),this[_0x2e4394(0x222)])));}};te=Gi([Q(0x0,_0xbf54a8),Q(0x1,_0x4187e9(_0x1672f7)),Q(0x2,_0x4187e9(_0x3b8716)),Q(0x3,_0x404c66)],te);function Ki(_0x246050){const {status$:_0x5074ac}=_0x246050;return function(){return _0x3c46ca(Vi,{'status$':_0x5074ac});};}var zi=Object[_0x3fe07c(0x128)],Ji=(_0x53be0f,_0x53709c,_0x280e63,_0x23294d)=>{const _0x4b0a17=_0x3fe07c;for(var _0x2cead6=_0x23294d>0x1?void 0x0:_0x23294d?zi(_0x53709c,_0x280e63):_0x53709c,_0x280903=_0x53be0f[_0x4b0a17(0x1d9)]-0x1,_0x10e538;_0x280903>=0x0;_0x280903--)(_0x10e538=_0x53be0f[_0x280903])&&(_0x2cead6=_0x10e538(_0x2cead6)||_0x2cead6);return _0x2cead6;},B=(_0x4c20bf,_0x552dff)=>(_0x27dadc,_0xc9be10)=>_0x552dff(_0x27dadc,_0xc9be10,_0x4c20bf);let se=class extends _0x4ae93a{constructor(_0x485833,_0x1e1def,_0x46c8c3,_0x133e99,_0x7b15ae,_0x30b145){const _0x48e1da=_0x3fe07c;super(),this[_0x48e1da(0xd9)]=_0x485833,this[_0x48e1da(0x2b3)]=_0x1e1def,this[_0x48e1da(0x2cc)]=_0x46c8c3,this[_0x48e1da(0x1cc)]=_0x133e99,this['_notificationService']=_0x7b15ae,this['_localeService']=_0x30b145,this[_0x48e1da(0x258)](),this[_0x48e1da(0x239)]();}['_setupBeforeClosingHandler'](){const _0x43622a=_0x3fe07c;this[_0x43622a(0x1da)](this[_0x43622a(0xd9)][_0x43622a(0x24f)](()=>{const _0x4270bb=_0x43622a;if(this['_localCacheService'][_0x4270bb(0x1d1)][_0x4270bb(0x176)])return this[_0x4270bb(0x287)]['t'](_0x4270bb(0x29f));}));}['_initEvent'](){const _0x4ad991=_0x3fe07c;this[_0x4ad991(0x1da)](this[_0x4ad991(0x2cc)][_0x4ad991(0xe6)]['subscribe'](_0x48054a=>{const _0x4d0237=_0x4ad991;_0x48054a['id']===_0x52d3a7[_0x4d0237(0xcf)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0x280))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2b1)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2ab)]&&this[_0x4d0237(0x1dc)][_0x4d0237(0x271)]({'title':this['_localeService']['t'](_0x4d0237(0x2a9)),'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0xca)),'type':_0x4d0237(0x105),'duration':0x0}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x17c)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t']('collaboration.closeRoom')+'('+_0x48054a['data']+')'}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x1d4)]&&this[_0x4d0237(0x1cc)][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t'](_0x48054a[_0x4d0237(0x127)]||'')}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x273)]&&this['_messageService'][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x1a1)],'content':this['_localeService']['t'](_0x4d0237(0x24d))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x1c1)]&&this[_0x4d0237(0x1cc)]['show']({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t'](_0x4d0237(0xc2))}),_0x48054a['id']===_0x52d3a7[_0x4d0237(0x2c2)]&&this['_messageService'][_0x4d0237(0x271)]({'type':_0x582b1a[_0x4d0237(0x175)],'content':this[_0x4d0237(0x287)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x5b7aef),B(0x1,_0x5d25ea),B(0x2,_0x4187e9(_0x57d180)),B(0x3,_0x4e146e),B(0x4,_0x1010a7),B(0x5,_0x4187e9(_0x49d863))],se);const Zi=_0x3fe07c(0x167),et={},Ut=_0x476322(_0x3fe07c(0x130));var Qi=Object[_0x3fe07c(0x128)],qi=(_0x1c79f6,_0x280179,_0x3595de,_0x1ac127)=>{const _0x1f1264=_0x3fe07c;for(var _0x30f021=_0x1ac127>0x1?void 0x0:_0x1ac127?Qi(_0x280179,_0x3595de):_0x280179,_0x30e43e=_0x1c79f6[_0x1f1264(0x1d9)]-0x1,_0x26837f;_0x30e43e>=0x0;_0x30e43e--)(_0x26837f=_0x1c79f6[_0x30e43e])&&(_0x30f021=_0x26837f(_0x30f021)||_0x30f021);return _0x30f021;},G=(_0x49e047,_0x5cad73)=>(_0x36918c,_0xd81e98)=>_0x5cad73(_0x36918c,_0xd81e98,_0x49e047);let ie=class extends _0x5b4113{constructor(_0x4d9bd4,_0x1e8bf7,_0x955595,_0x29a933,_0x3f5348){const _0x5cf36f=_0x3fe07c;super(),this[_0x5cf36f(0x246)]=_0x4d9bd4,this[_0x5cf36f(0x228)]=_0x1e8bf7,this[_0x5cf36f(0x13a)]=_0x955595,this[_0x5cf36f(0x1bb)]=_0x29a933,_0x3f5348?_0x3f5348==null||_0x3f5348['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x5cf36f(0x21c)]('[CollaborationDataLoaderController]',_0x5cf36f(0x135)),this[_0x5cf36f(0x220)]());}async[_0x3fe07c(0x220)](){const _0x1e7695=_0x3fe07c,_0x3f21f4=this[_0x1e7695(0x246)][_0x1e7695(0x1d3)](_0x1e7695(0xd7)),_0x2e7592=this[_0x1e7695(0x246)]['getParam'](_0x1e7695(0x106)),_0x200c26=this[_0x1e7695(0x246)][_0x1e7695(0x1d3)](_0x1e7695(0x1ce));if(!_0x3f21f4||!_0x2e7592){this['_logService'][_0x1e7695(0x21c)](_0x1e7695(0x166),_0x1e7695(0xcb));return;}const _0x614751=await this[_0x1e7695(0x1bb)][_0x1e7695(0x293)](_0x3f21f4,Number(_0x2e7592),_0x200c26);_0x614751&&_0x614751 instanceof _0x1d344a&&this[_0x1e7695(0x165)](_0x614751);}async[_0x3fe07c(0x165)](_0x59b435){const _0x4ea2d3=_0x3fe07c;await this[_0x4ea2d3(0x2a0)](_0x59b435),_0x59b435[_0x4ea2d3(0xd1)][_0x4ea2d3(0x115)](_0x30fec2(this[_0x4ea2d3(0xee)]))[_0x4ea2d3(0x1c6)](_0x39da38=>{const _0x9f15af=_0x4ea2d3;_0x39da38&&this[_0x9f15af(0x1f9)](_0x39da38);}),this[_0x4ea2d3(0x246)][_0x4ea2d3(0x263)][_0x4ea2d3(0x115)](_0x30fec2(this['dispose$']))[_0x4ea2d3(0x1c6)](()=>this[_0x4ea2d3(0x2a0)](_0x59b435));}[_0x3fe07c(0x1f9)](_0x19afd2,_0x4d7bc5=!0x1){const _0x3271b9=_0x3fe07c,_0x5140fc=this[_0x3271b9(0x246)][_0x3271b9(0x1d3)](_0x3271b9(0x1ce));_0x19afd2[_0x3271b9(0x122)]()!==_0x5140fc&&this[_0x3271b9(0x246)]['setParam']('subunit',_0x19afd2['getSheetId'](),_0x4d7bc5);}async[_0x3fe07c(0x2a0)](_0x2262f9){const _0x2f9f62=_0x3fe07c;var _0x48a79f;const _0x4b39fd=this[_0x2f9f62(0x246)][_0x2f9f62(0x1d3)](_0x2f9f62(0x1ce));if(!_0x4b39fd||!_0x2262f9[_0x2f9f62(0x12b)](_0x4b39fd)){const _0x337f31=_0x2262f9[_0x2f9f62(0x163)]()[0x0],_0x137d72=_0x2262f9[_0x2f9f62(0x12b)](_0x337f31);if(!_0x137d72)return;this[_0x2f9f62(0x1f9)](_0x137d72,!0x0),await this[_0x2f9f62(0x13a)][_0x2f9f62(0x290)](_0x2e17cf['id'],{'unitId':_0x2262f9['getUnitId'](),'subUnitId':_0x337f31});return;}((_0x48a79f=_0x2262f9[_0x2f9f62(0x24b)]())==null?void 0x0:_0x48a79f[_0x2f9f62(0x122)]())!==_0x4b39fd&&await this['_commandService'][_0x2f9f62(0x290)](_0x2e17cf['id'],{'unitId':_0x2262f9[_0x2f9f62(0x139)](),'subUnitId':_0x4b39fd});}};ie=qi([G(0x0,Ut),G(0x1,_0x569bac),G(0x2,_0x2e3d71),G(0x3,_0x4187e9(_0x15d2c4)),G(0x4,_0x3f8427(_0xb37379))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x25a84c,_0x237365,_0x3ac2da,_0x51e6f4)=>{for(var _0x50929d=_0x51e6f4>0x1?void 0x0:_0x51e6f4?en(_0x237365,_0x3ac2da):_0x237365,_0x139864=_0x25a84c['length']-0x1,_0x24c08f;_0x139864>=0x0;_0x139864--)(_0x24c08f=_0x25a84c[_0x139864])&&(_0x50929d=_0x24c08f(_0x50929d)||_0x50929d);return _0x50929d;},pe=(_0x13aaa6,_0x12ebb4)=>(_0xcc456e,_0x25e5dd)=>_0x12ebb4(_0xcc456e,_0x25e5dd,_0x13aaa6);let ne=class{constructor(_0x8e5af3,_0x4d8d53,_0x1a2f24){const _0x3ec053=_0x3fe07c;this[_0x3ec053(0x222)]=_0x8e5af3,this[_0x3ec053(0x1f8)]=_0x4d8d53,this[_0x3ec053(0x2af)]=_0x1a2f24;}['transformIMECache'](_0x1ea5ee){this['_transformUndoRedoStack'](_0x1ea5ee),this['_transformPreviousActiveRange'](_0x1ea5ee);}[_0x3fe07c(0x16a)](_0x150564){const _0x4f5b3c=_0x3fe07c,{unitID:_0x2a9821}=_0x150564,_0x365436=this[_0x4f5b3c(0x2af)][_0x4f5b3c(0x138)](_0x2a9821)[_0x4f5b3c(0x19d)](_0x4adf26),{redoCache:_0x1f31cc}=_0x365436[_0x4f5b3c(0x1bf)]();if(_0x1f31cc[_0x4f5b3c(0x1d9)]===0x0)return _0x150564;let _0x5533ef=_0x2e8d92['deepClone'](_0x150564['mutations'][0x0]);for(let _0x3fabe4=0x0;_0x3fabe4<_0x1f31cc['length'];_0x3fabe4++){const _0x233fc4={'id':_0x4f5b3c(0x1b7),'params':{..._0x1f31cc[_0x3fabe4]}},_0x4165b6=this[_0x4f5b3c(0x1f8)][_0x4f5b3c(0x244)](_0x5533ef,_0x233fc4,!0x1);if(_0x373c55(_0x4165b6))throw _0x4165b6[_0x4f5b3c(0x105)];_0x5533ef=_0x4165b6[_0x4f5b3c(0x140)];}return{..._0x2e8d92[_0x4f5b3c(0x28e)](_0x150564),'mutations':[_0x5533ef]};}[_0x3fe07c(0x2ac)](_0x3cb759){const _0x5ec7db=_0x3fe07c,{unitID:_0x332ca5}=_0x3cb759,_0x4c0705=this[_0x5ec7db(0x2af)][_0x5ec7db(0x138)](_0x332ca5)[_0x5ec7db(0x19d)](_0x4adf26),{undoCache:_0x433882,redoCache:_0x481625}=_0x4c0705[_0x5ec7db(0x1bf)]();if(_0x433882[_0x5ec7db(0x1d9)]===0x0||_0x481625[_0x5ec7db(0x1d9)]===0x0)return;const _0x1a4c0b=[],_0x1fb4ad=[];let _0xc18d36=_0x2e8d92[_0x5ec7db(0x28e)](_0x3cb759[_0x5ec7db(0xce)][0x0]),_0x34b79e=_0x2e8d92[_0x5ec7db(0x28e)](_0x3cb759['mutations'][0x0]);for(let _0x491fd8=_0x433882[_0x5ec7db(0x1d9)]-0x1;_0x491fd8>=0x0;_0x491fd8--){const _0x455d5d={'id':'doc.mutation.rich-text-editing','params':{..._0x433882[_0x491fd8]}},_0x396b0d={'id':_0x5ec7db(0x1b7),'params':{..._0x481625[_0x491fd8]}},_0x40e183=this[_0x5ec7db(0x1f8)]['transformMutation'](_0xc18d36,_0x455d5d,!0x1),_0x3d34dd=this[_0x5ec7db(0x1f8)][_0x5ec7db(0x244)](_0x34b79e,_0x396b0d,!0x1);if(_0x373c55(_0x40e183))throw _0x40e183['error'];if(_0x373c55(_0x3d34dd))throw _0x3d34dd[_0x5ec7db(0x105)];_0x1a4c0b[_0x5ec7db(0x1ac)](_0x40e183[_0x5ec7db(0xc4)][_0x5ec7db(0x218)]),_0x1fb4ad[_0x5ec7db(0x1ac)](_0x3d34dd[_0x5ec7db(0xc4)][_0x5ec7db(0x218)]),_0xc18d36=_0x40e183[_0x5ec7db(0x140)],_0x34b79e=_0x3d34dd[_0x5ec7db(0x140)];}_0x4c0705[_0x5ec7db(0x286)]({'undoCache':_0x1a4c0b,'redoCache':_0x1fb4ad});}[_0x3fe07c(0x160)](_0x5a14a1){const _0x52611f=_0x3fe07c,{unitID:_0x4352bc}=_0x5a14a1,_0x16d625=this[_0x52611f(0x2af)][_0x52611f(0x138)](_0x4352bc)[_0x52611f(0x19d)](_0x4adf26),_0x209e1d=_0x16d625[_0x52611f(0x2ca)]();if(_0x209e1d==null)return;const _0x1ad610=[{'id':_0x52611f(0x1b7),'params':{'unitId':_0x5a14a1[_0x52611f(0xe7)],'actions':null,'textRanges':[_0x209e1d]}}],_0x57915a=this[_0x52611f(0x1f8)]['transformMutationsWithChangeset'](_0x5a14a1,_0x1ad610);if(!_0x4f3a6b(_0x57915a))throw _0x57915a[_0x52611f(0x105)];const _0x10a3e3=_0x57915a[_0x52611f(0xc4)][0x0]['params'][_0x52611f(0x1ed)];Array[_0x52611f(0x147)](_0x10a3e3)&&_0x10a3e3['length']&&_0x16d625[_0x52611f(0x157)](_0x10a3e3[0x0]);}};ne=tn([pe(0x0,_0x4187e9(_0x1672f7)),pe(0x1,_0x564f5c),pe(0x2,_0x3ecb9c)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4dae0b,_0x28f9a7,_0x476688,_0x528fb0)=>{for(var _0x3c4636=_0x528fb0>0x1?void 0x0:_0x528fb0?sn(_0x28f9a7,_0x476688):_0x28f9a7,_0xddcc9f=_0x4dae0b['length']-0x1,_0x571376;_0xddcc9f>=0x0;_0xddcc9f--)(_0x571376=_0x4dae0b[_0xddcc9f])&&(_0x3c4636=_0x571376(_0x3c4636)||_0x3c4636);return _0x3c4636;},Ce=(_0x3fa887,_0x368e90)=>(_0x2f9b65,_0x12b6c9)=>_0x368e90(_0x2f9b65,_0x12b6c9,_0x3fa887);let re=class{constructor(_0x2cd804,_0x4f5ebd,_0x4c0c56){const _0x111e3d=_0x3fe07c;this['_injector']=_0x2cd804,this['_transformService']=_0x4f5ebd,this[_0x111e3d(0x226)]=_0x4c0c56;}[_0x3fe07c(0x132)](_0x35a926){const _0x59c163=_0x3fe07c;this[_0x59c163(0x23b)](_0x35a926);}[_0x3fe07c(0x16a)](_0xc5cf37){const _0x14a655=_0x3fe07c,{unitID:_0x1d9762}=_0xc5cf37,{collaboration:_0x21a2a1}=this[_0x14a655(0x226)][_0x14a655(0x190)](_0x1d9762);if(_0x21a2a1[_0x14a655(0x1d9)]===0x0)return _0xc5cf37;let _0x17bfa9=_0x2e8d92['deepClone'](_0xc5cf37[_0x14a655(0xce)][0x0]);for(let _0x2e1cee=0x0;_0x2e1cee<_0x21a2a1['length'];_0x2e1cee++){const _0x418d59={'id':_0x14a655(0x1b7),'params':{'unitId':_0x21a2a1[_0x2e1cee]['unitId'],..._0x21a2a1[_0x2e1cee][_0x14a655(0x1d6)]}},_0x4b6c8d=this[_0x14a655(0x1f8)][_0x14a655(0x244)](_0x17bfa9,_0x418d59,!0x1);if(_0x373c55(_0x4b6c8d))throw _0x4b6c8d[_0x14a655(0x105)];_0x17bfa9=_0x4b6c8d[_0x14a655(0x140)];}return{..._0x2e8d92['deepClone'](_0xc5cf37),'mutations':[_0x17bfa9]};}['_transformHistoryAndStateStack'](_0x22a282){const _0x86c0f3=_0x3fe07c,{unitID:_0x41a132}=_0x22a282,{history:_0x1dff5d,collaboration:_0x56c777}=this[_0x86c0f3(0x226)]['getStateCache'](_0x41a132);if(_0x1dff5d[_0x86c0f3(0x1d9)]===0x0&&_0x56c777[_0x86c0f3(0x1d9)]===0x0)return;const _0x35e2c1=[],_0x2bf752=[];let _0xcf2dac=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]),_0x37e4d4=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]);for(let _0x27e7eb=_0x1dff5d[_0x86c0f3(0x1d9)]-0x1;_0x27e7eb>=0x0;_0x27e7eb--){const _0x46b5aa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1dff5d[_0x27e7eb][_0x86c0f3(0x10e)],..._0x1dff5d[_0x27e7eb][_0x86c0f3(0x21b)]}},_0x1fd92c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1dff5d[_0x27e7eb][_0x86c0f3(0x10e)],..._0x1dff5d[_0x27e7eb][_0x86c0f3(0x1d6)]}},_0x3e4f8c=this['_transformService'][_0x86c0f3(0x244)](_0xcf2dac,_0x46b5aa,!0x1),_0x3d6b0d=this['_transformService'][_0x86c0f3(0x244)](_0x37e4d4,_0x1fd92c,!0x1);if(_0x373c55(_0x3e4f8c))throw _0x3e4f8c[_0x86c0f3(0x105)];if(_0x373c55(_0x3d6b0d))throw _0x3d6b0d[_0x86c0f3(0x105)];_0x35e2c1['unshift']({..._0x1dff5d[_0x27e7eb],'undoState':_0x3e4f8c[_0x86c0f3(0xc4)][_0x86c0f3(0x218)],'redoState':_0x3d6b0d[_0x86c0f3(0xc4)][_0x86c0f3(0x218)]}),_0xcf2dac=_0x3e4f8c[_0x86c0f3(0x140)],_0x37e4d4=_0x3d6b0d['m1Prime'];}_0xcf2dac=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]),_0x37e4d4=_0x2e8d92[_0x86c0f3(0x28e)](_0x22a282[_0x86c0f3(0xce)][0x0]);for(let _0x23db85=_0x56c777['length']-0x1;_0x23db85>=0x0;_0x23db85--){const _0x2ea43a={'id':_0x86c0f3(0x1b7),'params':{'unitId':_0x56c777[_0x23db85][_0x86c0f3(0x10e)],..._0x56c777[_0x23db85]['undoState']}},_0x41fad1={'id':_0x86c0f3(0x1b7),'params':{'unitId':_0x56c777[_0x23db85]['unitId'],..._0x56c777[_0x23db85][_0x86c0f3(0x1d6)]}},_0x2eb89e=this[_0x86c0f3(0x1f8)][_0x86c0f3(0x244)](_0xcf2dac,_0x2ea43a,!0x1),_0x2dec06=this['_transformService'][_0x86c0f3(0x244)](_0x37e4d4,_0x41fad1,!0x1);if(_0x373c55(_0x2eb89e))throw _0x2eb89e[_0x86c0f3(0x105)];if(_0x373c55(_0x2dec06))throw _0x2dec06[_0x86c0f3(0x105)];_0x2bf752[_0x86c0f3(0x1ac)]({..._0x56c777[_0x23db85],'undoState':_0x2eb89e['m2Prime']['params'],'redoState':_0x2dec06[_0x86c0f3(0xc4)][_0x86c0f3(0x218)]}),_0xcf2dac=_0x2eb89e[_0x86c0f3(0x140)],_0x37e4d4=_0x2dec06[_0x86c0f3(0x140)];}this['_docStateChangeManagerService']['setStateCache'](_0x41a132,{'history':_0x35e2c1,'collaboration':_0x2bf752});}};re=nn([Ce(0x0,_0x4187e9(_0x1672f7)),Ce(0x1,_0x564f5c),Ce(0x2,_0x4187e9(_0x1389a5))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x296533,_0x56e2a,_0x188d80,_0x42f26c)=>{const _0x28a938=_0x3fe07c;for(var _0x2e6be6=_0x42f26c>0x1?void 0x0:_0x42f26c?rn(_0x56e2a,_0x188d80):_0x56e2a,_0x38c915=_0x296533[_0x28a938(0x1d9)]-0x1,_0x156448;_0x38c915>=0x0;_0x38c915--)(_0x156448=_0x296533[_0x38c915])&&(_0x2e6be6=_0x156448(_0x2e6be6)||_0x2e6be6);return _0x2e6be6;},tt=(_0x5b65cc,_0x525b07)=>(_0xdf8417,_0xd45b89)=>_0x525b07(_0xdf8417,_0xd45b89,_0x5b65cc);let oe=class{constructor(_0x215151,_0xa41d94){const _0x2034d1=_0x3fe07c;this[_0x2034d1(0x222)]=_0x215151,this['_transformService']=_0xa41d94;}[_0x3fe07c(0xf2)](_0x2cba9f){const _0x2b2ddc=_0x3fe07c;var _0x2e857a;const _0x3e8330=this[_0x2b2ddc(0x222)]['get'](_0x16b225),_0x4613b8=(_0x2e857a=_0x3e8330['getDocRanges']())!=null?_0x2e857a:[];if(_0x4613b8[_0x2b2ddc(0x1d9)]===0x0)return;const _0x4d60cf=_0x2cba9f[_0x2b2ddc(0xe7)],_0x812cb3=[{'id':_0x2b2ddc(0x1b7),'params':{'unitId':_0x4d60cf,'actions':null,'textRanges':_0x4613b8}}],_0xa4276a=this[_0x2b2ddc(0x1f8)]['transformMutationsWithChangeset'](_0x2cba9f,_0x812cb3);if(!_0x4f3a6b(_0xa4276a))throw _0xa4276a[_0x2b2ddc(0x105)];const _0x753cb6=_0xa4276a[_0x2b2ddc(0xc4)][0x0][_0x2b2ddc(0x218)]['textRanges'];Array[_0x2b2ddc(0x147)](_0x753cb6)&&_0x753cb6[_0x2b2ddc(0x1d9)]&&_0x3e8330[_0x2b2ddc(0x1b5)](_0x753cb6,{'unitId':_0x4d60cf,'subUnitId':_0x4d60cf},!0x1);}};oe=on([tt(0x0,_0x4187e9(_0x1672f7)),tt(0x1,_0x564f5c)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x347805,_0x52607f,_0x3db584,_0xb1a385)=>{const _0x9e804b=_0x3fe07c;for(var _0x57560f=_0xb1a385>0x1?void 0x0:_0xb1a385?an(_0x52607f,_0x3db584):_0x52607f,_0x145249=_0x347805[_0x9e804b(0x1d9)]-0x1,_0x58daa4;_0x145249>=0x0;_0x145249--)(_0x58daa4=_0x347805[_0x145249])&&(_0x57560f=_0x58daa4(_0x57560f)||_0x57560f);return _0x57560f;},U=(_0x194baf,_0x41e7ab)=>(_0x43e374,_0x2f485b)=>_0x41e7ab(_0x43e374,_0x2f485b,_0x194baf);let ae=class extends _0x4ae93a{constructor(_0x3ea1e3,_0x5906c9,_0x4abd07,_0x470969,_0x1c8dad,_0x132284,_0x5569eb,_0x4c7178){const _0x4608fd=_0x3fe07c;super(),_(this,'_status$',new _0x690e2a(_0x3c4f39[_0x4608fd(0x29e)])),(this[_0x4608fd(0x226)]=_0x3ea1e3,this[_0x4608fd(0x240)]=_0x5906c9,this[_0x4608fd(0x103)]=_0x4abd07,this[_0x4608fd(0x250)]=_0x470969,this['_docTransformSelectionsService']=_0x1c8dad,this[_0x4608fd(0x17f)]=_0x132284,this['_messageService']=_0x5569eb,this[_0x4608fd(0x287)]=_0x4c7178,this[_0x4608fd(0x1e0)]());}['_initEntityListener'](){const _0x2141a9=_0x3fe07c;this[_0x2141a9(0x1da)](this[_0x2141a9(0x240)][_0x2141a9(0xdb)]['subscribe'](_0x31e62f=>{const _0x3fd4f9=_0x2141a9,_0x18db30=this[_0x3fd4f9(0x226)][_0x3fd4f9(0x1a2)][_0x3fd4f9(0x1c6)](_0x1cc0e8=>{const _0x28b266=_0x3fd4f9;if(_0x1cc0e8==null)return;const {unitId:_0x28143e,redoState:_0x463b61,commandId:_0xebb0c2}=_0x1cc0e8;if(_0x28143e!==_0x31e62f['unitID'])return;const _0x3abc79={'id':_0xebb0c2,'type':_0x4d6697[_0x28b266(0x249)],'params':{'unitId':_0x28143e,'actions':_0x463b61[_0x28b266(0x12d)],'textRanges':null}};_0x31e62f[_0x28b266(0x19a)](_0x3abc79);});if(_0x31e62f[_0x3fd4f9(0x1da)](_0x18db30),_0x31e62f instanceof _0x2b94de){const _0x18ea49={'onTransformIME':_0x1fd554=>this[_0x3fd4f9(0x103)][_0x3fd4f9(0xec)](_0x1fd554),'onTransformState':_0x23f013=>this[_0x3fd4f9(0x250)][_0x3fd4f9(0x132)](_0x23f013),'onTransformSelections':_0x51d95d=>this[_0x3fd4f9(0x18c)][_0x3fd4f9(0xf2)](_0x51d95d),'onSyncEditingCollabCursor':_0x4f1698=>this['_docSyncEditingCollabCursorService'][_0x3fd4f9(0x2be)](_0x4f1698),'onTransformRemoteChangesetByIMECache':_0x3326bf=>this[_0x3fd4f9(0x103)]['transformRemoteChangeset'](_0x3326bf),'onTransformRemoteChangesetByStateCache':_0x1a137d=>this[_0x3fd4f9(0x250)][_0x3fd4f9(0x16a)](_0x1a137d)};_0x31e62f[_0x3fd4f9(0x265)](_0x18ea49);}}));}};ae=cn([U(0x0,_0x4187e9(_0x1389a5)),U(0x1,_0x4187e9(_0x3b8716)),U(0x2,_0x4187e9(ne)),U(0x3,_0x4187e9(re)),U(0x4,_0x4187e9(oe)),U(0x5,_0x4187e9(He)),U(0x6,_0x4e146e),U(0x7,_0x4187e9(_0x49d863))],ae);var ln=Object[_0x3fe07c(0x128)],_n=(_0x2e445e,_0x4dce11,_0x230956,_0x33b631)=>{for(var _0x59df7e=_0x33b631>0x1?void 0x0:_0x33b631?ln(_0x4dce11,_0x230956):_0x4dce11,_0x358943=_0x2e445e['length']-0x1,_0x33351c;_0x358943>=0x0;_0x358943--)(_0x33351c=_0x2e445e[_0x358943])&&(_0x59df7e=_0x33351c(_0x59df7e)||_0x59df7e);return _0x59df7e;},Ee=(_0x12327e,_0x2221ac)=>(_0x6ebbab,_0x523e31)=>_0x2221ac(_0x6ebbab,_0x523e31,_0x12327e);let Le=class extends _0x4ae93a{constructor(_0x27f222,_0xef619,_0x5e83a3){const _0x335540=_0x3fe07c;super(),_(this,_0x335540(0x269),new Map()),_(this,_0x335540(0xd6),new Map()),_(this,_0x335540(0x278),!0x1),(this['_configService']=_0x27f222,this[_0x335540(0x2b5)]=_0xef619,this[_0x335540(0x146)]=_0x5e83a3);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3fe07c(0x1b9)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x35f4=_0x3fe07c;return this[_0x35f4(0xd6)];}['dispose'](){const _0x506816=_0x3fe07c;this['exhaustSavingTask']()[_0x506816(0x17d)](()=>super['dispose']());}async['loadOfflineData'](_0x3f0fa0){const _0x54b04c=_0x3fe07c;return this[_0x54b04c(0x278)]?null:this['_localStorageService'][_0x54b04c(0x1c5)](_0x2ead2f(_0x3f0fa0));}async[_0x3fe07c(0x23c)](_0x30df5c,_0x1a6874){const _0x6a7521=_0x3fe07c;return!!this[_0x6a7521(0x2b5)][_0x6a7521(0x14c)](_0x30df5c,_0x1a6874);}[_0x3fe07c(0x1eb)](_0x1aefdd,_0x1149b0,_0x2c669a,_0xa59291){const _0x631efd=_0x3fe07c,_0x44bbe8=this[_0x631efd(0x146)][_0x631efd(0x1ec)](_0x1aefdd);this[_0x631efd(0x269)][_0x631efd(0x1ef)](_0x1aefdd,{'unitID':_0x1aefdd,'type':_0x1149b0,'awaitingChangeset':_0x2c669a,'mutations':_0xa59291,'rev':_0x44bbe8}),this[_0x631efd(0xd6)][_0x631efd(0x22f)](_0x1aefdd)||this[_0x631efd(0x264)](_0x1aefdd);}['_scheduleSaving'](_0x37b806){const _0x44a2e4=_0x3fe07c,_0x5e5b89=this[_0x44a2e4(0x162)]();_0x5e5b89===0x0?this['_saveCache'](_0x37b806):this[_0x44a2e4(0xd6)][_0x44a2e4(0x1ef)](_0x37b806,setTimeout(()=>this[_0x44a2e4(0x1ee)](_0x37b806),_0x5e5b89));}[_0x3fe07c(0x162)](){const _0x1347e8=_0x3fe07c;var _0x479458;return(_0x479458=this[_0x1347e8(0x26c)][_0x1347e8(0x1e1)](_0x170981))!=null?_0x479458:_0x2c135c;}[_0x3fe07c(0x1ee)](_0x22b900){const _0x21d006=_0x3fe07c,_0x4413e0=this[_0x21d006(0xd6)]['get'](_0x22b900);return _0x4413e0!==void 0x0&&window[_0x21d006(0x2b0)](_0x4413e0),this[_0x21d006(0x2b5)][_0x21d006(0x14c)](_0x2ead2f(_0x22b900),this[_0x21d006(0x269)][_0x21d006(0x173)](_0x22b900))[_0x21d006(0x17d)](()=>this[_0x21d006(0xd6)]['delete'](_0x22b900));}async[_0x3fe07c(0x1f6)](){const _0x54da80=_0x3fe07c,_0x3e0c9c=[];this[_0x54da80(0xd6)]['forEach']((_0x5e9c01,_0x2e8e71)=>{const _0x589967=_0x54da80;window['clearTimeout'](_0x5e9c01),_0x3e0c9c[_0x589967(0x2b4)](this[_0x589967(0x1ee)](_0x2e8e71)[_0x589967(0x17d)](()=>{this['_saveTaskMap']['delete'](_0x2e8e71);}));}),await Promise[_0x54da80(0x1d2)](_0x3e0c9c);}};Le=_n([Ee(0x0,_0x3c0c1f),Ee(0x1,_0x5b506c),Ee(0x2,_0x4187e9(_0x305c24))],Le);class hn extends _0x5b4113{constructor(){const _0x190fa4=_0x3fe07c;super(),_(this,'urlChange$'),this[_0x190fa4(0x263)]=_0x3cb40a(window,_0x190fa4(0x2ba))[_0x190fa4(0x115)](_0x30fec2(this['dispose$']),_0x56f6da(0x1),_0x3deec(void 0x0));}[_0x3fe07c(0xf6)](_0x1a3c1f,_0x1f2190,_0x12bb35=!0x1){const _0x5030db=_0x3fe07c,_0x2b71be=new URL(window['location']['href']);_0x2b71be[_0x5030db(0x27c)]['set'](_0x1a3c1f,_0x1f2190),_0x12bb35?window['history'][_0x5030db(0xed)]('','',_0x2b71be[_0x5030db(0x113)]()):window[_0x5030db(0x101)]['pushState']('','',_0x2b71be[_0x5030db(0x113)]());}[_0x3fe07c(0x1d5)](_0x3c29f9,_0x5f32ed=!0x1){const _0x226645=_0x3fe07c,_0x3337d5=new URL(window[_0x226645(0x1a9)]['href']);_0x3337d5[_0x226645(0x27c)][_0x226645(0x2b8)](_0x3c29f9),_0x5f32ed?window[_0x226645(0x101)]['replaceState']('','',_0x3337d5[_0x226645(0x113)]()):window[_0x226645(0x101)][_0x226645(0x2c7)]('','',_0x3337d5[_0x226645(0x113)]());}[_0x3fe07c(0x1d3)](_0x4c3ba9){const _0x25ace8=_0x3fe07c;var _0x2ad81f;return(_0x2ad81f=new URL(window[_0x25ace8(0x1a9)]['href'])[_0x25ace8(0x27c)][_0x25ace8(0x173)](_0x4c3ba9))!=null?_0x2ad81f:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x3fe07c(0x128)],fn=(_0x34102a,_0x132439,_0x9163ce)=>_0x132439 in _0x34102a?un(_0x34102a,_0x132439,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9163ce}):_0x34102a[_0x132439]=_0x9163ce,Sn=(_0x2a2d56,_0x1a6856,_0x4e3b5e,_0x3dcf0a)=>{for(var _0x3eaf18=_0x3dcf0a>0x1?void 0x0:_0x3dcf0a?dn(_0x1a6856,_0x4e3b5e):_0x1a6856,_0x556106=_0x2a2d56['length']-0x1,_0x3f6b54;_0x556106>=0x0;_0x556106--)(_0x3f6b54=_0x2a2d56[_0x556106])&&(_0x3eaf18=_0x3f6b54(_0x3eaf18)||_0x3eaf18);return _0x3eaf18;},Oe=(_0x5dcf5b,_0x5ba4c3)=>(_0xe7bebc,_0xb7bf81)=>_0x5ba4c3(_0xe7bebc,_0xb7bf81,_0x5dcf5b),mn=(_0x7771a2,_0x3f9a9b,_0x2223eb)=>fn(_0x7771a2,_0x3f9a9b+'',_0x2223eb);const In=_0x3fe07c(0x145);function _0x1112(_0x1ba75c,_0x55907c){const _0x252b5a=_0x252b();return _0x1112=function(_0x1112b0,_0x4e2473){_0x1112b0=_0x1112b0-0xc2;let _0x513fe6=_0x252b5a[_0x1112b0];return _0x513fe6;},_0x1112(_0x1ba75c,_0x55907c);}let Ae=class extends _0xf91a5e{constructor(_0x2491d8=et,_0x4a58f9,_0x542bf9,_0x3dd401){const _0x177109=_0x3fe07c;super(),this['_config']=_0x2491d8,this[_0x177109(0x2af)]=_0x4a58f9,this[_0x177109(0x222)]=_0x542bf9,this[_0x177109(0x26c)]=_0x3dd401;const {..._0x40b780}=_0x569c1f({},et,this['_config']);this[_0x177109(0x26c)][_0x177109(0xde)](Zi,_0x40b780);}[_0x3fe07c(0xef)](){const _0x2bd7ca=_0x3fe07c;this[_0x2bd7ca(0xc9)](),this[_0x2bd7ca(0x28a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x26dd52=_0x3fe07c;var _0xc39c04;const _0x3ac327=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xa47742,{'useClass':_0x5d5f78}],[_0x5d25ea,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x1814ea(this['_injector'],_0x163cd9(_0x3ac327,(_0xc39c04=this[_0x26dd52(0xf3)])==null?void 0x0:_0xc39c04[_0x26dd52(0x14d)]));}[_0x3fe07c(0x22e)](){const _0x33ac8b=_0x3fe07c;this['disposeWithMe'](this[_0x33ac8b(0x2af)][_0x33ac8b(0x279)](_0x3b6e52[_0x33ac8b(0x104)],[we])),this['disposeWithMe'](this[_0x33ac8b(0x2af)]['registerRenderModule'](_0x3b6e52[_0x33ac8b(0x236)],[Pe]));}[_0x3fe07c(0x28a)](){_0x1a976f(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3fe07c(0x12a),In),Ae=Sn([_0x5864a5(_0x511650),Oe(0x1,_0x3ecb9c),Oe(0x2,_0x4187e9(_0x1672f7)),Oe(0x3,_0x3c0c1f)],Ae);var gn=Object[_0x3fe07c(0x128)],vn=(_0x555290,_0x3be888,_0x380141,_0x11eb05)=>{const _0x5f41ca=_0x3fe07c;for(var _0x29022b=_0x11eb05>0x1?void 0x0:_0x11eb05?gn(_0x3be888,_0x380141):_0x3be888,_0x5777ef=_0x555290[_0x5f41ca(0x1d9)]-0x1,_0x2bf101;_0x5777ef>=0x0;_0x5777ef--)(_0x2bf101=_0x555290[_0x5777ef])&&(_0x29022b=_0x2bf101(_0x29022b)||_0x29022b);return _0x29022b;},K=(_0x1e4ee4,_0x2d6a0f)=>(_0x3fc0f7,_0x132a37)=>_0x2d6a0f(_0x3fc0f7,_0x132a37,_0x1e4ee4);let st=class extends _0x49c644{constructor(_0x2ac08f,_0x51bb1a,_0x1d7b44,_0x3e4ea9,_0x11224b){super(_0x2ac08f,_0x51bb1a,_0x1d7b44,_0x3e4ea9,_0x11224b);}async[_0x3fe07c(0x296)](_0x129ce9){const _0x7dcaee=_0x3fe07c,_0x675454=await this[_0x7dcaee(0x17b)](),_0x31c431=this['_createSocketURL'](_0x129ce9,_0x675454);return this['_doCreateSocket'](_0x31c431);}['_createSocketURL'](_0x169be4,_0x502c67){const _0x2fc4e8=_0x3fe07c,_0x1f4426=typeof window>'u'?new URL(_0x169be4):new URL(_0x169be4,window[_0x2fc4e8(0x1a9)][_0x2fc4e8(0x184)]);_0x1f4426[_0x2fc4e8(0x27c)][_0x2fc4e8(0x1ef)](_0x2fc4e8(0xd4),_0x502c67);const _0x7eb5c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2fc4e8(0x18a)]);return _0x7eb5c9[_0x2fc4e8(0x173)](_0x2fc4e8(0x2c1))&&_0x1f4426['searchParams'][_0x2fc4e8(0x1ef)](_0x2fc4e8(0x2c1),_0x7eb5c9['get'](_0x2fc4e8(0x2c1))),_0x1f4426['toString']();}async[_0x3fe07c(0x17b)](){const _0x5f568e=_0x3fe07c;var _0x4b7dbf,_0x41c80a,_0x2af43d;const _0x216b8e=this['_configService'][_0x5f568e(0x1e1)](_0x1bfd1c),_0x17c513=(_0x4b7dbf=_0x216b8e==null?void 0x0:_0x216b8e[_0x5f568e(0xc6)])!=null?_0x4b7dbf:_0x48bb34;return(_0x2af43d=(_0x41c80a=(await this[_0x5f568e(0x102)][_0x5f568e(0x173)](_0x17c513,{'headers':{'Content-Type':_0x5f568e(0x1f2)}}))[_0x5f568e(0x150)])==null?void 0x0:_0x41c80a[_0x5f568e(0x21f)])!=null?_0x2af43d:'';}};st=vn([K(0x0,_0x4187e9(_0x1672f7)),K(0x1,_0x4187e9(_0x158b8c)),K(0x2,_0x3c0c1f),K(0x3,_0x569bac),K(0x4,_0x2c1c94)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x4ae93a{constructor(){const _0x2804aa=_0x3fe07c;super(),_(this,'_id',_0x107dc5()),_(this,_0x2804aa(0x25c),new Set()),_(this,_0x2804aa(0x10b),new Map()),_(this,_0x2804aa(0x15a),null),_(this,_0x2804aa(0x1e4),new Map()),_(this,_0x2804aa(0x148),new Map()),this['_init']();}[_0x3fe07c(0xf7)](){const _0x596f83=_0x3fe07c;super[_0x596f83(0xf7)](),this[_0x596f83(0x1e4)][_0x596f83(0x197)]((_0x26aadb,_0x4bef5e)=>this[_0x596f83(0x2cd)](_0x4bef5e)),this[_0x596f83(0x15a)]&&window['clearInterval'](this[_0x596f83(0x15a)]);}[_0x3fe07c(0x19b)](_0x3bde8d){const _0x605112=_0x3fe07c;return this[_0x605112(0x193)](_0x3bde8d)[_0x605112(0x115)](_0xc82f4f());}[_0x3fe07c(0x13d)](_0x312636){const _0x33502e=_0x3fe07c;this[_0x33502e(0x25c)][_0x33502e(0x176)]===0x0&&this['_scheduleHeartbeat'](),this[_0x33502e(0x25c)][_0x33502e(0x1f4)](_0x312636),this['_send']({'type':0x0,'memberID':this[_0x33502e(0x19e)],'unitIDs':[_0x312636],'isForwarded':!0x1});}['disposeUnit'](_0x3890dc){const _0x124ab6=_0x3fe07c;this[_0x124ab6(0x25c)][_0x124ab6(0x2b8)](_0x3890dc),this[_0x124ab6(0x25c)][_0x124ab6(0x176)]===0x0&&this[_0x124ab6(0x15a)]&&window[_0x124ab6(0x109)](this[_0x124ab6(0x15a)]);}[_0x3fe07c(0x220)](){const _0x5cd26a=_0x3fe07c;this[_0x5cd26a(0x1da)](_0x36985b(_0x3cb40a(window,_0x5cd26a(0x291))[_0x5cd26a(0x1c6)](_0x3fd1a9=>{const _0x586ec9=_0x5cd26a;if(_0x3fd1a9[_0x586ec9(0x172)]!==nt||!_0x3fd1a9[_0x586ec9(0x11f)])return;const _0x499be8=JSON[_0x586ec9(0x21a)](_0x3fd1a9['newValue']);this[_0x586ec9(0x234)](_0x499be8);}))),window[_0x5cd26a(0x119)](_0x5cd26a(0x1ea),()=>this[_0x5cd26a(0x297)]({'type':0x1,'memberID':this[_0x5cd26a(0x19e)],'unitIDs':Array['from'](this[_0x5cd26a(0x25c)])}));}[_0x3fe07c(0x234)](_0x13e8cf){const _0x47c05e=_0x3fe07c;switch(_0x13e8cf['type']){case 0x0:this[_0x47c05e(0x161)](_0x13e8cf);break;case 0x1:this[_0x47c05e(0x194)](_0x13e8cf);break;case 0x2:this[_0x47c05e(0x1bd)](_0x13e8cf);break;}}[_0x3fe07c(0x161)](_0x1819f8){const _0x404b88=_0x3fe07c,{unitIDs:_0x21497a,memberID:_0x776774,isForwarded:_0x329af9}=_0x1819f8;_0x21497a['forEach'](_0x5c729c=>{const _0x214e62=_0x1112;if(!_0x329af9&&this[_0x214e62(0x10b)]['has'](_0x5c729c)&&this[_0x214e62(0x193)](_0x5c729c)[_0x214e62(0x1d8)](_0x28da64['OTHER_CLIENTS_EDITING']),!this[_0x214e62(0x10b)][_0x214e62(0x22f)](_0x5c729c)||!this[_0x214e62(0x10b)][_0x214e62(0x173)](_0x5c729c)[_0x214e62(0x22f)](_0x776774)){const _0x14c163=this[_0x214e62(0x10b)]['get'](_0x5c729c)||new Set();_0x14c163[_0x214e62(0x1f4)](_0x776774),this[_0x214e62(0x10b)]['set'](_0x5c729c,_0x14c163),this[_0x214e62(0x10c)](_0x776774);}}),_0x329af9||this['_send']({'type':0x0,'memberID':this[_0x404b88(0x19e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x302630){const _0x51baf5=_0x3fe07c;this[_0x51baf5(0x2cd)](_0x302630);const _0x716801=window[_0x51baf5(0xc7)](()=>{const _0x204229=_0x51baf5;this[_0x204229(0x10b)][_0x204229(0x197)](_0x5249db=>{_0x5249db['delete'](_0x302630);});},it*0x2);this[_0x51baf5(0x1e4)][_0x51baf5(0x1ef)](_0x302630,_0x716801);}[_0x3fe07c(0x2cd)](_0x57bf62){const _0x1340a6=_0x3fe07c;if(this[_0x1340a6(0x1e4)]['has'](_0x57bf62)){const _0x208bf=this[_0x1340a6(0x1e4)]['get'](_0x57bf62);_0x208bf&&window[_0x1340a6(0x2b0)](_0x208bf),this[_0x1340a6(0x1e4)][_0x1340a6(0x1ef)](_0x57bf62,null);}}['_handleLeaveEvent'](_0x46c797){const _0x5a4e83=_0x3fe07c,{memberID:_0x551938,unitIDs:_0x503dd3}=_0x46c797;_0x503dd3[_0x5a4e83(0x197)](_0x1077bf=>{const _0xe10f09=_0x5a4e83;var _0x46a34d;const _0x2b56f2=this['_unitOnClients'][_0xe10f09(0x173)](_0x1077bf);_0x2b56f2&&(_0x2b56f2[_0xe10f09(0x2b8)](_0x551938),(_0x46a34d=this['_ensureSubject'](_0x1077bf))==null||_0x46a34d['next'](_0x2b56f2[_0xe10f09(0x176)]===0x0?_0x28da64[_0xe10f09(0xc8)]:_0x28da64[_0xe10f09(0x2b2)]));}),this['_removeClearOtherTimer'](_0x551938);}[_0x3fe07c(0x1bd)](_0x318417){const _0x54e425=_0x3fe07c;this[_0x54e425(0x10c)](_0x318417[_0x54e425(0x230)]);}[_0x3fe07c(0x297)](_0x17edd2){const _0xbcd48=_0x3fe07c;localStorage[_0xbcd48(0x14c)](nt,JSON[_0xbcd48(0x20c)](_0x17edd2));}['_scheduleHeartbeat'](){const _0x55d9a4=_0x3fe07c;this[_0x55d9a4(0x15a)]=window[_0x55d9a4(0x2b6)](()=>{const _0xf139d1=_0x55d9a4;this[_0xf139d1(0x297)]({'type':0x2,'memberID':this[_0xf139d1(0x19e)]});},it);}[_0x3fe07c(0x193)](_0x19c0b5){const _0x595232=_0x3fe07c;return this[_0x595232(0x148)][_0x595232(0x22f)](_0x19c0b5)||this[_0x595232(0x148)][_0x595232(0x1ef)](_0x19c0b5,new _0x690e2a(_0x28da64[_0x595232(0xc8)])),this['_unitStatus']['get'](_0x19c0b5);}}var Mt=(_0x2ad11b=>(_0x2ad11b[_0x2ad11b[_0x3fe07c(0x118)]=0x0]=_0x3fe07c(0x118),_0x2ad11b[_0x2ad11b['OK']=0x1]='OK',_0x2ad11b[_0x2ad11b['INTERNAL_ERROR']=0x2]=_0x3fe07c(0x131),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x2ab)]=0x3]='PERMISSION_DENIED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0xdd)]=0x4]=_0x3fe07c(0xdd),_0x2ad11b[_0x2ad11b['UNAUTHENTICATED']=0x5]=_0x3fe07c(0x10f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x11d)]=0x6]='ALREADY_EXISTS',_0x2ad11b[_0x2ad11b['INVALID_ARGUMENT']=0x7]=_0x3fe07c(0x26a),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x255)]=0x8]=_0x3fe07c(0x255),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x21e)]=0x9]='COMPLETION_FINISHED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x1fa)]=0xa]=_0x3fe07c(0x1fa),_0x2ad11b[_0x2ad11b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x3fe07c(0x1e8),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x2ce)]=0x1771]=_0x3fe07c(0x2ce),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x28d)]=0x1772]=_0x3fe07c(0x28d),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x13c)]=0x1773]=_0x3fe07c(0x13c),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x136)]=0x1b59]='APPLY_REJECT',_0x2ad11b[_0x2ad11b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3fe07c(0x100),_0x2ad11b[_0x2ad11b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3fe07c(0x25b),_0x2ad11b[_0x2ad11b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3fe07c(0x168),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x199)]=0x1b5d]=_0x3fe07c(0x199),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x152)]=0x1f41]=_0x3fe07c(0x152),_0x2ad11b[_0x2ad11b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3fe07c(0x241),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x257)]=0x232a]=_0x3fe07c(0x257),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x253)]=0x232b]=_0x3fe07c(0x253),_0x2ad11b[_0x2ad11b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x12c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2ad11b[_0x2ad11b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3fe07c(0x227),_0x2ad11b[_0x2ad11b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3fe07c(0x2ae),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x13b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2ad11b[_0x2ad11b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3fe07c(0x298),_0x2ad11b[_0x2ad11b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x1ca)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2ad11b[_0x2ad11b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3fe07c(0x13f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x28f)]=0x271d]=_0x3fe07c(0x28f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x144)]=0x271e]=_0x3fe07c(0x144),_0x2ad11b[_0x2ad11b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3fe07c(0x266),_0x2ad11b[_0x2ad11b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3fe07c(0x159),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x196)]=0x2ee1]=_0x3fe07c(0x196),_0x2ad11b[_0x2ad11b[_0x3fe07c(0xf0)]=0x2ee2]=_0x3fe07c(0xf0),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x19f)]=0x2ee3]=_0x3fe07c(0x19f),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x209)]=0x2ee4]=_0x3fe07c(0x209),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x198)]=0x2ee5]=_0x3fe07c(0x198),_0x2ad11b[_0x2ad11b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3fe07c(0xd5),_0x2ad11b[_0x2ad11b['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2ad11b[_0x2ad11b[_0x3fe07c(0x248)]=0x32cb]=_0x3fe07c(0x248),_0x2ad11b[_0x2ad11b[_0x3fe07c(0x23f)]=-0x1]=_0x3fe07c(0x23f),_0x2ad11b))(Mt||{}),pn=Object[_0x3fe07c(0x128)],Cn=(_0x8f27f9,_0x9488c3,_0x1f0714,_0x57d597)=>{const _0x4536f7=_0x3fe07c;for(var _0x446c64=_0x57d597>0x1?void 0x0:_0x57d597?pn(_0x9488c3,_0x1f0714):_0x9488c3,_0x54d73c=_0x8f27f9[_0x4536f7(0x1d9)]-0x1,_0x148ce0;_0x54d73c>=0x0;_0x54d73c--)(_0x148ce0=_0x8f27f9[_0x54d73c])&&(_0x446c64=_0x148ce0(_0x446c64)||_0x446c64);return _0x446c64;},be=(_0x32b0f1,_0x53c357)=>(_0x2e02cb,_0x2126ba)=>_0x53c357(_0x2e02cb,_0x2126ba,_0x32b0f1);let rt=class extends _0x4ae93a{constructor(_0x3bd2db,_0x5e7ef8,_0x48d745){const _0x40660a=_0x3fe07c;super(),this[_0x40660a(0x1f3)]=_0x3bd2db,this['_httpService']=_0x5e7ef8,this[_0x40660a(0x26c)]=_0x48d745;}async[_0x3fe07c(0x1cb)](_0x5e208a,_0x1a5c4e,_0x1da9d0,..._0x312975){const _0x4ddcc3=_0x3fe07c;var _0x160b35,_0xcd9302,_0x2d8e46,_0x2de47f;const _0x1785e2=this['_instanceService']['getFocusedUnit']();if(!_0x1785e2)throw new Error(_0x4ddcc3(0x107));const _0x36cdc6=((_0x160b35=this[_0x4ddcc3(0x26c)][_0x4ddcc3(0x1e1)](_0x3f4390))!=null?_0x160b35:_0x26747e)+'/'+_0x5e208a+_0x4ddcc3(0xf1)+_0x1a5c4e,_0x4fc7e5=new URL(window[_0x4ddcc3(0x1a9)][_0x4ddcc3(0x2d0)]),_0xb620a={'scriptId':_0x5e208a,'runId':(_0xcd9302=_0x4fc7e5[_0x4ddcc3(0x27c)][_0x4ddcc3(0x173)](_0x4ddcc3(0x2c1)))!=null?_0xcd9302:'','function':_0x1a5c4e,'unitId':_0x1785e2[_0x4ddcc3(0x139)](),'argsOfFunction':JSON[_0x4ddcc3(0x20c)](_0x312975),'invokeId':(_0x2d8e46=_0x1da9d0[_0x4ddcc3(0x1b8)])!=null?_0x2d8e46:'','executionId':(_0x2de47f=_0x1da9d0['executionId'])!=null?_0x2de47f:''};try{const _0xc8ca98=await this[_0x4ddcc3(0x102)]['post'](_0x36cdc6,{'body':_0xb620a});return _0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0x105)]&&_0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0x105)][_0x4ddcc3(0x16f)]!==Mt['OK']?_0x4ddcc3(0x276):_0xc8ca98[_0x4ddcc3(0x150)][_0x4ddcc3(0xd2)];}catch{return _0x4ddcc3(0x276);}}};rt=Cn([be(0x0,_0xbf54a8),be(0x1,_0x4187e9(_0x158b8c)),be(0x2,_0x3c0c1f)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x18f0bf=_0x2d7c;(function(_0x298acf,_0x1613ac){const _0x5df182=_0x2d7c,_0x473747=_0x298acf();while(!![]){try{const _0x1fef6c=parseInt(_0x5df182(0xd5))/0x1*(parseInt(_0x5df182(0xda))/0x2)+-parseInt(_0x5df182(0xde))/0x3+parseInt(_0x5df182(0xe4))/0x4+-parseInt(_0x5df182(0xdf))/0x5+parseInt(_0x5df182(0xd6))/0x6+-parseInt(_0x5df182(0xe7))/0x7+parseInt(_0x5df182(0xdb))/0x8;if(_0x1fef6c===_0x1613ac)break;else _0x473747['push'](_0x473747['shift']());}catch(_0x165d5f){_0x473747['push'](_0x473747['shift']());}}}(_0x2162,0x6c440));const e={'collab-client':{'tooltip':{'reconnect':_0x18f0bf(0xe6)}},'collabStatus':{'fetchMiss':_0x18f0bf(0xd2),'conflict':_0x18f0bf(0xe0),'notCollab':_0x18f0bf(0xd1),'synced':_0x18f0bf(0xdc),'syncing':_0x18f0bf(0xd7),'offline':_0x18f0bf(0xd9)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x18f0bf(0xd0),'room-full':_0x18f0bf(0xe3),'collaboration-timeout':_0x18f0bf(0xe5)},'conflict':{'title':_0x18f0bf(0xd3),'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':_0x18f0bf(0xd4),'content':_0x18f0bf(0xe1)},'collaboration':{'single-unit':{'warning':_0x18f0bf(0xe2)},'closeRoom':_0x18f0bf(0xdd)},'auth':{'needGotoLoginAlert':_0x18f0bf(0xd8)}};export{e as default};function _0x2d7c(_0x5adc72,_0x27477a){const _0x2162dd=_0x2162();return _0x2d7c=function(_0x2d7c49,_0xc8930){_0x2d7c49=_0x2d7c49-0xd0;let _0x28cb90=_0x2162dd[_0x2d7c49];return _0x28cb90;},_0x2d7c(_0x5adc72,_0x27477a);}function _0x2162(){const _0x277cf8=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1392880adpnEN','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','2440046BJkJJa','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','Syncing\x20server\x20data...','Collaboration\x20Conflict','Authentication\x20Error','521YEYGnu','1153662UUDDSR','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2290eeeuOP','5862608aOnPOa','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2030697Xojtvc','2004675KlFItx','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x2162=function(){return _0x277cf8;};return _0x2162();}
1
+ const _0x10a0b9=_0xa98b;(function(_0x4c6076,_0x1549b4){const _0x1f23f2=_0xa98b,_0x1ef6f9=_0x4c6076();while(!![]){try{const _0x5da7bc=parseInt(_0x1f23f2(0x129))/0x1+parseInt(_0x1f23f2(0x125))/0x2*(-parseInt(_0x1f23f2(0x138))/0x3)+-parseInt(_0x1f23f2(0x128))/0x4*(parseInt(_0x1f23f2(0x12b))/0x5)+-parseInt(_0x1f23f2(0x122))/0x6*(parseInt(_0x1f23f2(0x137))/0x7)+parseInt(_0x1f23f2(0x123))/0x8+-parseInt(_0x1f23f2(0x12a))/0x9+parseInt(_0x1f23f2(0x134))/0xa;if(_0x5da7bc===_0x1549b4)break;else _0x1ef6f9['push'](_0x1ef6f9['shift']());}catch(_0x18cee9){_0x1ef6f9['push'](_0x1ef6f9['shift']());}}}(_0x16c7,0x7a5ba));function _0xa98b(_0x265c3e,_0x31f675){const _0x16c772=_0x16c7();return _0xa98b=function(_0xa98b6b,_0x17923a){_0xa98b6b=_0xa98b6b-0x121;let _0x55ff14=_0x16c772[_0xa98b6b];return _0x55ff14;},_0xa98b(_0x265c3e,_0x31f675);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x10a0b9(0x131),'conflict':_0x10a0b9(0x12f),'notCollab':'Local\x20file','synced':_0x10a0b9(0x121),'syncing':_0x10a0b9(0x126),'offline':_0x10a0b9(0x130)},'session':{'connection-failed':_0x10a0b9(0x124),'will-retry':_0x10a0b9(0x135),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x10a0b9(0x132)},'conflict':{'title':_0x10a0b9(0x12e),'content':_0x10a0b9(0x12c)},'permission':{'title':_0x10a0b9(0x127),'content':_0x10a0b9(0x133)},'collaboration':{'single-unit':{'warning':_0x10a0b9(0x136)},'closeRoom':_0x10a0b9(0x12d)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x16c7(){const _0xefdfec=['Collaboration\x20Conflict','Edit\x20conflicts','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','23465850PQlSAE','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','7PDntqm','2435409dvcAlX','Synced','1232802SGhImJ','4424320zpTzkq','Connection\x20failed,\x20please\x20check\x20your\x20network.','2zqsaxR','Syncing...','Authentication\x20Error','1028732SJOsMJ','65433ibPlUt','6075549cXNMGo','15uSefOY','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x16c7=function(){return _0xefdfec;};return _0x16c7();}export{e as default};
@@ -1 +1 @@
1
- function _0x1b2f(_0x359eb,_0x14b1b1){const _0x57f948=_0x57f9();return _0x1b2f=function(_0x1b2f40,_0x2ca3af){_0x1b2f40=_0x1b2f40-0x7d;let _0x5da072=_0x57f948[_0x1b2f40];return _0x5da072;},_0x1b2f(_0x359eb,_0x14b1b1);}const _0x1850b8=_0x1b2f;function _0x57f9(){const _0x34d641=['1963688yCdRbl','اعمال\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سازی','263045kLOoCg','پرونده\x20محلی','6271410gPhBja','تداخل\x20همکاری','39354327LLzRDE','63078GGUJcg','136fAszam','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','44qsiQFH','592921pTMiTQ','امتیازات\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کرد.','7140012bFnHMG','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...'];_0x57f9=function(){return _0x34d641;};return _0x57f9();}(function(_0x78590f,_0x22f6d8){const _0x16f9b1=_0x1b2f,_0x20c8aa=_0x78590f();while(!![]){try{const _0x19b2b9=parseInt(_0x16f9b1(0x87))/0x1+parseInt(_0x16f9b1(0x8f))/0x2*(parseInt(_0x16f9b1(0x8c))/0x3)+parseInt(_0x16f9b1(0x82))/0x4+parseInt(_0x16f9b1(0x89))/0x5+parseInt(_0x16f9b1(0x80))/0x6+parseInt(_0x16f9b1(0x90))/0x7*(parseInt(_0x16f9b1(0x8d))/0x8)+-parseInt(_0x16f9b1(0x8b))/0x9;if(_0x19b2b9===_0x22f6d8)break;else _0x20c8aa['push'](_0x20c8aa['shift']());}catch(_0x5c499d){_0x20c8aa['push'](_0x20c8aa['shift']());}}}(_0x57f9,0xb1c07));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x1850b8(0x81),'conflict':'تداخل\x20ویرایش','notCollab':_0x1850b8(0x88),'synced':_0x1850b8(0x86),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x1850b8(0x84)},'session':{'connection-failed':_0x1850b8(0x8e),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1850b8(0x7f),'collaboration-timeout':_0x1850b8(0x7e)},'conflict':{'title':_0x1850b8(0x8a),'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':_0x1850b8(0x85),'content':_0x1850b8(0x83)},'collaboration':{'single-unit':{'warning':_0x1850b8(0x7d)},'closeRoom':_0x1850b8(0x91)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ const _0x450425=_0x2342;function _0x2342(_0x572530,_0x4241dd){const _0x4ae524=_0x4ae5();return _0x2342=function(_0x2342c9,_0x593968){_0x2342c9=_0x2342c9-0x1a0;let _0x7b5494=_0x4ae524[_0x2342c9];return _0x7b5494;},_0x2342(_0x572530,_0x4241dd);}(function(_0x30424f,_0x519251){const _0xecf469=_0x2342,_0x259b61=_0x30424f();while(!![]){try{const _0x50fbfd=parseInt(_0xecf469(0x1a4))/0x1+-parseInt(_0xecf469(0x1ab))/0x2+parseInt(_0xecf469(0x1aa))/0x3*(-parseInt(_0xecf469(0x1a6))/0x4)+parseInt(_0xecf469(0x1ad))/0x5*(parseInt(_0xecf469(0x1a8))/0x6)+-parseInt(_0xecf469(0x1b2))/0x7*(-parseInt(_0xecf469(0x1ac))/0x8)+parseInt(_0xecf469(0x1a3))/0x9+-parseInt(_0xecf469(0x1af))/0xa*(-parseInt(_0xecf469(0x1a7))/0xb);if(_0x50fbfd===_0x519251)break;else _0x259b61['push'](_0x259b61['shift']());}catch(_0x1d5b0b){_0x259b61['push'](_0x259b61['shift']());}}}(_0x4ae5,0xd3ebe));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x450425(0x1a5),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x450425(0x1a2),'room-full':_0x450425(0x1b0),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x450425(0x1b1),'content':_0x450425(0x1a9)},'permission':{'title':_0x450425(0x1a0),'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':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x450425(0x1ae)},'auth':{'needGotoLoginAlert':_0x450425(0x1a1)}};export{o as default};function _0x4ae5(){const _0x4aebca=['خطای\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کنیم.','4639266UDrBXu','23869ERKWBM','همگام\x20سازی','4wsUMjt','594WovREJ','6AjtGnH','یک\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رفت.','4783173pvmKWz','448604EQWJVI','8QYWaBE','467095xAycdB','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','310820wSuLhu','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','تداخل\x20همکاری','2628731UETeLW'];_0x4ae5=function(){return _0x4aebca;};return _0x4ae5();}