@univerjs-pro/collaboration-client-ui 0.10.0-nightly.202507310307 → 0.10.1-nightly.202508020912

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3846ff=_0x3d7e;(function(_0x5c6239,_0xebb0f8){const _0x402ff8=_0x3d7e,_0x5660c1=_0x5c6239();while(!![]){try{const _0x3a94b7=-parseInt(_0x402ff8(0xdb))/0x1*(-parseInt(_0x402ff8(0x101))/0x2)+parseInt(_0x402ff8(0x14d))/0x3+-parseInt(_0x402ff8(0x225))/0x4+-parseInt(_0x402ff8(0x169))/0x5*(parseInt(_0x402ff8(0xc5))/0x6)+parseInt(_0x402ff8(0x22a))/0x7*(parseInt(_0x402ff8(0x20f))/0x8)+parseInt(_0x402ff8(0x10d))/0x9+-parseInt(_0x402ff8(0x22d))/0xa*(-parseInt(_0x402ff8(0x127))/0xb);if(_0x3a94b7===_0xebb0f8)break;else _0x5660c1['push'](_0x5660c1['shift']());}catch(_0x4e5d46){_0x5660c1['push'](_0x5660c1['shift']());}}}(_0xc8cb,0xdfd5a));var xt=Object[_0x3846ff(0x250)],Bt=(_0x104228,_0x2cb96e,_0x210343)=>_0x2cb96e in _0x104228?xt(_0x104228,_0x2cb96e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x210343}):_0x104228[_0x2cb96e]=_0x210343,_=(_0x13be29,_0x2d7929,_0x1ef7d8)=>Bt(_0x13be29,typeof _0x2d7929!=_0x3846ff(0x192)?_0x2d7929+'':_0x2d7929,_0x1ef7d8);import{MemberService as _0x496b01,SessionStatus as _0x18ec6e,CollaborationSessionService as _0x8cd09e,CollaborationStatus as _0x28123e,CollaborationController as _0x82f0fa,ILocalCacheService as _0x67222d,CollaborationUIEventService as _0x49e50d,CollaborationUIEventId as _0x53338d,DataLoaderService as _0x4523d5,DocCollaborationEntity as _0xd72c48,getLocalCacheKey as _0x3502fb,LOCAL_CACHE_INTERVAL as _0x50f216,LOCAL_CACHE_INTERVAL_KEY as _0x11c944,UniverCollaborationClientPlugin as _0x320de3,CollaborationSocketService as _0x3a523d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x476ac8,DEFAULT_WS_SESSION_TICKET_URL as _0xf1711c,UnitStatus as _0x5e8d01,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x11c112,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x47d11a}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1dd0ba,Disposable as _0x3a37e9,DOC_RANGE_TYPE as _0x57a474,Inject as _0xcb6f13,Injector as _0x36eec9,IUniverInstanceService as _0x29ac28,ICommandService as _0x2dbc8c,debounce as _0x4ba92b,Rectangle as _0x22a2f0,DisposableCollection as _0x5faf45,toDisposable as _0x471471,UniverInstanceType as _0x27422f,generateRandomId as _0x4ae1ba,COLORS as _0x58b494,ColorKit as _0x5be3b0,ThemeService as _0x25d1d1,fromEventSubject as _0x13ab46,LocaleService as _0x4c047b,createIdentifier as _0x37d825,ILogService as _0x2feec0,Optional as _0x55df5d,Workbook as _0x3a9cd8,Tools as _0x7aa6fc,CommandType as _0x3feb97,IConfigService as _0x2d119b,ILocalStorageService as _0x165c1e,DependentOn as _0x2560fd,Plugin as _0x5ca1ca,merge as _0x153e95,registerDependencies as _0x3ee934,mergeOverrideWithDependencies as _0xa7cbf8,touchDependencies as _0x5f0cb6}from'@univerjs/core';import{Shape as _0x55659a,Rect as _0x302ade,getColor as _0x283218,RegularPolygon as _0x1c22ff,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5df580,Vector2 as _0x101d62,SHEET_VIEWPORT_KEY as _0xeceeba,IRenderManagerService as _0x289176}from'@univerjs/engine-render';import{ISocketService as _0x2de838,WebSocketService as _0x22b8b2,HTTPService as _0x295492}from'@univerjs/network';import{IDocClipboardService as _0x41e7ae,NodePositionConvertToCursor as _0x29c550,NodePositionConvertToRectRange as _0x44049a,TEXT_RANGE_LAYER_INDEX as _0x41ddac,SetDocZoomRatioOperation as _0x1b5aea,DocIMEInputManagerService as _0x3bb9c0,DocStateChangeManagerService as _0x343bb8}from'@univerjs/docs-ui';import{IImageIoService as _0x4c4b4}from'@univerjs/drawing';import{BehaviorSubject as _0x40deef,debounceTime as _0x2250ea,takeUntil as _0xa4e4b6,Subject as _0xe21be4,filter as _0x8bc2bb,switchMap as _0x1ae0b1,merge as _0x251329,combineLatest as _0x4359ad,of as _0x49ce4b,fromEvent as _0x1fe3c4,shareReplay as _0x419dd5,mapTo as _0x583bfe,distinctUntilChanged as _0x5eb0ae}from'rxjs';import{ITransformService as _0x59419b,CollaborationEvent as _0x4e15b9,isTransformMutationFailure as _0x15999e,isTransformMutationsWithChangesetSuccess as _0x2bf266,RevisionService as _0x4ceb1f,ISnapshotServerService as _0x57b470}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1fac6c,RichTextEditingMutation as _0x4f6e4f,DocSelectionManagerService as _0x33914e,DocSkeletonManagerService as _0x243909}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x15ca09,serializeRangeWithSheet as _0x14b858}from'@univerjs/engine-formula';import{RefRangeService as _0x104543,SetSelectionsOperation as _0x5dfab4,SheetsSelectionsService as _0x2abbae,EffectRefRangId as _0x56190c,handleIRemoveRow as _0x1c49b9,handleIRemoveCol as _0x286e58,handleMoveRange as _0x110de9,handleInsertRow as _0x7e199e,handleInsertRangeMoveRight as _0x44843f,handleInsertRangeMoveDown as _0x140b3e,handleInsertCol as _0x23cd1e,handleDeleteRangeMoveUp as _0x50e6df,handleDeleteRangeMoveLeft as _0x463a0d,runRefRangeMutations as _0x72c03a,SetWorksheetActivateCommand as _0x183106}from'@univerjs/sheets';import{map as _0x22d561,filter as _0x505b42,throttleTime as _0x353f3e,takeUntil as _0x13d165,switchMap as _0x3fd595}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3e5d9e,getCoordByCell as _0x40429a,getSheetObject as _0x5aa4fd}from'@univerjs/sheets-ui';import{jsx as _0x2f1c89,jsxs as _0x35ed68}from'react/jsx-runtime';import{useObservable as _0x1816ec,useDependency as _0x36b3a5,IUIPartsService as _0x447572,BuiltInUIPart as _0xe910f7,connectInjector as _0x2f6785,IBeforeCloseService as _0x3debdd,IMessageService as _0x422831,INotificationService as _0x22ad52}from'@univerjs/ui';import{Tooltip as _0x2477ff,clsx as _0x21dd86,MessageType as _0x3e623b}from'@univerjs/design';import{forwardRef as _0x8bf2f1,useRef as _0xb27044,createElement as _0x5c9ad0,useCallback as _0x30382f}from'react';import{IRemoteInstanceService as _0x267e52}from'@univerjs/rpc';var ci=Object[_0x3846ff(0x291)],li=(_0x1f2cf3,_0x4d466c,_0x142f03,_0x233868)=>{const _0x268c81=_0x3846ff;for(var _0x457aed=_0x233868>0x1?void 0x0:_0x233868?ci(_0x4d466c,_0x142f03):_0x4d466c,_0x562aec=_0x1f2cf3[_0x268c81(0x17b)]-0x1,_0x884a6;_0x562aec>=0x0;_0x562aec--)(_0x884a6=_0x1f2cf3[_0x562aec])&&(_0x457aed=_0x884a6(_0x457aed)||_0x457aed);return _0x457aed;},Je=(_0xe94db7,_0x16d8ee)=>(_0x427a3c,_0x37916b)=>_0x16d8ee(_0x427a3c,_0x37916b,_0xe94db7);let Ne=class extends _0x1dd0ba{constructor(_0x344d66,_0x75ee49){const _0x1003c8=_0x3846ff;super(),this[_0x1003c8(0x123)]=_0x344d66,this[_0x1003c8(0x202)]=_0x75ee49,this[_0x1003c8(0x13c)]();}['_init'](){const _0x40344a=_0x3846ff,_0x393aea=this;this['disposeWithMe'](this['_docClipboardService'][_0x40344a(0x1dd)]({'onBeforePasteImage':async _0x494468=>{const _0xa45882=_0x40344a,_0x59f3a8=await _0x393aea[_0xa45882(0x202)][_0xa45882(0x235)](_0x494468);return _0x59f3a8?{'source':_0x59f3a8[_0xa45882(0x255)],'imageSourceType':_0x59f3a8[_0xa45882(0xeb)]}:null;}}));}};Ne=li([Je(0x0,_0x41e7ae),Je(0x1,_0x4c4b4)],Ne);const Ze=[_0x3846ff(0x2b6),_0x3846ff(0x13e),'green.600',_0x3846ff(0x290),_0x3846ff(0x129),_0x3846ff(0x221)];class ke extends _0x3a37e9{constructor(){const _0x270eb9=_0x3846ff;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x270eb9(0x15a),0x0);}[_0x3846ff(0x259)](_0x1ba099){const _0x20ee08=_0x3846ff;if(this[_0x20ee08(0x256)][_0x20ee08(0x1df)](_0x1ba099))return this[_0x20ee08(0x256)][_0x20ee08(0x119)](_0x1ba099);const _0x43c930=Ze[this[_0x20ee08(0x15a)]];return this['_colorIndex']=(this[_0x20ee08(0x15a)]+0x1)%Ze[_0x20ee08(0x17b)],this[_0x20ee08(0x256)][_0x20ee08(0x28a)](_0x1ba099,_0x43c930),_0x43c930;}}function Rt(_0x3e9056){const _0x3f1994=_0x3846ff;let _0x3af9f7='';for(const _0x480858 of _0x3e9056){const {startOffset:_0x34c396,endOffset:_0x10c99a,isActive:_0x3d6179,rangeType:_0x1a71ea,segmentId:_0x503146,segmentPage:_0x982224}=_0x480858;_0x3af9f7[_0x3f1994(0x17b)]&&(_0x3af9f7+=','),_0x3af9f7+=_0x34c396+':'+_0x10c99a+':'+(_0x3d6179?'1':'0')+':'+_0x1a71ea+':'+_0x503146+':'+_0x982224;}return _0x3af9f7;}function _i(_0x46a882){const _0x2b0fba=_0x3846ff,_0x5d1faa=_0x46a882[_0x2b0fba(0x282)](','),_0x4c3b81=[];for(const _0x25cc3f of _0x5d1faa){const [_0x1de32f,_0x16ad39,_0x531515,_0x24c27c,_0x199c77,_0x3cb88e]=_0x25cc3f['split'](':');_0x4c3b81[_0x2b0fba(0x12a)]({'startOffset':Number(_0x1de32f),'endOffset':Number(_0x16ad39),'collapsed':_0x1de32f===_0x16ad39,'isActive':_0x531515==='1','rangeType':_0x24c27c===_0x57a474[_0x2b0fba(0x1da)]?_0x57a474[_0x2b0fba(0x1da)]:_0x57a474[_0x2b0fba(0x27f)],'segmentId':typeof _0x199c77==_0x2b0fba(0x240)?String(_0x199c77):'','segmentPage':Number(_0x3cb88e!=null?_0x3cb88e:-0x1)});}return _0x4c3b81[_0x2b0fba(0x1c8)](_0x4e6503=>_0x4e6503['isActive'])||(_0x4c3b81[0x0][_0x2b0fba(0x1e0)]=!0x0),_0x4c3b81;}class He extends _0x1dd0ba{constructor(){const _0x32e9f0=_0x3846ff;super(...arguments),_(this,_0x32e9f0(0x1cf),new _0x40deef(null)),_(this,_0x32e9f0(0x1b0),this[_0x32e9f0(0x1cf)][_0x32e9f0(0x14c)]());}[_0x3846ff(0x19b)](_0x318622){const _0xaafb85=_0x3846ff,{unitID:_0x46a80d,memberID:_0x4930ef,textRanges:_0x5b98f7}=_0x318622,_0x1662f6=Rt(_0x5b98f7);if(_0x1662f6==='')return;const _0x27af96={'unitID':_0x46a80d,'memberID':_0x4930ef,'selection':_0x1662f6};this['_collabCursorState$'][_0xaafb85(0xb0)](_0x27af96);}}var hi=Object[_0x3846ff(0x291)],ui=(_0x36f394,_0x255aea,_0x12311e,_0x40098b)=>{for(var _0x4e7364=_0x40098b>0x1?void 0x0:_0x40098b?hi(_0x255aea,_0x12311e):_0x255aea,_0x4689f9=_0x36f394['length']-0x1,_0x3fc3b5;_0x4689f9>=0x0;_0x4689f9--)(_0x3fc3b5=_0x36f394[_0x4689f9])&&(_0x4e7364=_0x3fc3b5(_0x4e7364)||_0x4e7364);return _0x4e7364;},P=(_0xa6b5db,_0x243132)=>(_0x1d614d,_0x47d3d7)=>_0x243132(_0x1d614d,_0x47d3d7,_0xa6b5db);const di=0x12c,fi=0x64;let Ue=class extends _0x1dd0ba{constructor(_0x20cb9d,_0x1e8289,_0x16fbd7,_0x4564f0,_0x28eb48,_0x135f29,_0x70602b,_0x353794,_0x44a062){const _0x410084=_0x3846ff;super(),_(this,_0x410084(0x17d),!0x1),_(this,_0x410084(0x13c),!0x1),_(this,_0x410084(0x1be),new _0x40deef(new Map())),_(this,_0x410084(0x1bc),this[_0x410084(0x1be)][_0x410084(0x14c)]()),_(this,'_roomMembers$',new _0x40deef([])),_(this,_0x410084(0x263),this[_0x410084(0x162)]['pipe'](_0x2250ea(di))),_(this,_0x410084(0x24a),_0x4ba92b(_0x7bd35b=>{const _0x25fa5e=_0x410084,_0x51bf98={'eventID':_0x4e15b9[_0x25fa5e(0xcc)],'data':{'unitID':this[_0x25fa5e(0x190)],'memberID':this['_session'][_0x25fa5e(0x287)](),'selection':Rt(_0x7bd35b)}};this['_session']['send'](_0x51bf98,this[_0x25fa5e(0x190)]);},fi)),(this['unitID']=_0x20cb9d,this[_0x410084(0xf2)]=_0x1e8289,this[_0x410084(0x237)]=_0x16fbd7,this['_colorAssignService']=_0x4564f0,this[_0x410084(0x1f5)]=_0x28eb48,this[_0x410084(0x16c)]=_0x135f29,this[_0x410084(0x219)]=_0x70602b,this[_0x410084(0x21a)]=_0x353794,this[_0x410084(0x1ba)]=_0x44a062);}get[_0x3846ff(0x17f)](){const _0x4430db=_0x3846ff;return this[_0x4430db(0x1be)][_0x4430db(0x27e)]();}get[_0x3846ff(0x1ac)](){const _0x4ba8d9=_0x3846ff;return this[_0x4ba8d9(0x162)]['getValue']();}[_0x3846ff(0x1b6)](){const _0x17019d=_0x3846ff;super[_0x17019d(0x1b6)](),this[_0x17019d(0x1be)][_0x17019d(0xb0)](new Map()),this['_cursorInfo$'][_0x17019d(0x165)](),this[_0x17019d(0x162)][_0x17019d(0xb0)]([]),this[_0x17019d(0x162)][_0x17019d(0x165)]();}[_0x3846ff(0x1bf)](){const _0x238b14=_0x3846ff;this[_0x238b14(0x13c)]||(this[_0x238b14(0x13c)]=!0x0,this[_0x238b14(0xf2)][_0x238b14(0xfe)]['pipe'](_0xa4e4b6(this[_0x238b14(0x2a5)]))[_0x238b14(0x100)](_0x13054f=>{const _0x1f1cb8=_0x238b14;_0x13054f===_0x18ec6e['ONLINE']?this[_0x1f1cb8(0x233)]():this['_toggleOffline']();}),this[_0x238b14(0xf2)][_0x238b14(0xe6)]['pipe'](_0xa4e4b6(this[_0x238b14(0x2a5)]))['subscribe'](_0x15ba70=>{const _0x176258=_0x238b14,_0x48b6ec=_0x15ba70['eventID'];_0x48b6ec===_0x4e15b9[_0x176258(0xcc)]&&this[_0x176258(0x146)](_0x15ba70),_0x48b6ec===_0x4e15b9['USERS_LEAVE']&&this[_0x176258(0x257)](_0x15ba70);}),this['disposeWithMe'](this[_0x238b14(0x1ba)][_0x238b14(0xae)](_0x504987=>{const _0x431a36=_0x238b14,_0x560e13=_0x504987[_0x431a36(0x248)];_0x560e13!=null&&this[_0x431a36(0x17d)]&&_0x504987['id']===_0x1fac6c['id']&&_0x560e13[_0x431a36(0x1d6)]===this[_0x431a36(0x190)]&&_0x560e13[_0x431a36(0x1a9)]===!0x1&&_0x560e13[_0x431a36(0x210)][_0x431a36(0x17b)]>0x0&&this[_0x431a36(0x24a)](_0x560e13['ranges']);})),this[_0x238b14(0x16c)][_0x238b14(0x1b0)][_0x238b14(0xda)](_0xa4e4b6(this['dispose$']))[_0x238b14(0x100)](_0x4c4925=>{const _0x408cf2=_0x238b14;if((_0x4c4925==null?void 0x0:_0x4c4925[_0x408cf2(0x190)])!==this['unitID'])return;const _0x57df2f={'eventID':_0x4e15b9['UPDATE_CURSOR'],'data':_0x4c4925};this['_onCursorUpdate'](_0x57df2f);}),this[_0x238b14(0x16a)](this[_0x238b14(0x1ba)][_0x238b14(0xae)](_0x5beee4=>{const _0x3b6170=_0x238b14;if(_0x5beee4[_0x3b6170(0x248)]==null)return;const _0x7443f7=_0x5beee4[_0x3b6170(0x248)];if(_0x5beee4['id']!==_0x4f6e4f['id']||_0x7443f7[_0x3b6170(0x1d6)]!==this[_0x3b6170(0x190)])return;const _0x420a53={'id':'doc.mutation.rich-text-editing','params':_0x7443f7},_0x37327b=this[_0x3b6170(0x17f)];for(const [_0x191400,_0x30cc2c]of _0x37327b){const _0x2e12b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3b6170(0x190)],'actions':null,'textRanges':_0x30cc2c[_0x3b6170(0x210)]}},_0x2af1b8=this['_transformService'][_0x3b6170(0x1a6)](_0x420a53,_0x2e12b7,!0x1);if(_0x15999e(_0x2af1b8))throw _0x2af1b8[_0x3b6170(0x1e6)];_0x37327b[_0x3b6170(0x28a)](_0x191400,{..._0x30cc2c,'ranges':_0x2af1b8[_0x3b6170(0x261)]['params'][_0x3b6170(0x295)]});}queueMicrotask(()=>{const _0x4d8c64=_0x3b6170;this[_0x4d8c64(0x1be)][_0x4d8c64(0xb0)](_0x37327b);});})));}[_0x3846ff(0x146)](_0x2cea43){const _0x381ada=_0x3846ff;var _0xb23879,_0x1785ae;const {memberID:_0x551107,selection:_0xe167cb}=_0x2cea43['data'],_0x2917b8=_i(_0xe167cb),_0x9047bf=(_0x1785ae=(_0xb23879=this[_0x381ada(0x1f5)]['getMember'](this[_0x381ada(0x190)],_0x551107))==null?void 0x0:_0xb23879[_0x381ada(0x24c)])!=null?_0x1785ae:_0x381ada(0x106),_0x1d6210={'color':this[_0x381ada(0x234)][_0x381ada(0x259)](_0x551107),'name':_0x9047bf,'ranges':_0x2917b8},_0x552414=this[_0x381ada(0x17f)];_0x552414[_0x381ada(0x28a)](_0x551107,_0x1d6210),this[_0x381ada(0x1be)][_0x381ada(0xb0)](_0x552414);}[_0x3846ff(0x257)](_0xbebada){const _0x340434=_0x3846ff,{memberID:_0x357636}=_0xbebada[_0x340434(0x2b3)],_0x1a1677=this[_0x340434(0x17f)];_0x1a1677['delete'](_0x357636),this[_0x340434(0x1be)]['next'](_0x1a1677);}['_toggleOnline'](){const _0x45c383=_0x3846ff;var _0x41c6e8;if(this['_online']=!0x0,((_0x41c6e8=this['_univerInstanceService'][_0x45c383(0x1fe)]())==null?void 0x0:_0x41c6e8[_0x45c383(0x196)]())!==this[_0x45c383(0x190)])return;const _0x3e0e6d=this[_0x45c383(0x237)]['get'](_0x33914e)[_0x45c383(0x110)]();Array[_0x45c383(0xf1)](_0x3e0e6d)&&_0x3e0e6d[_0x45c383(0x17b)]>0x0&&this[_0x45c383(0x24a)](_0x3e0e6d);}['_toggleOffline'](){const _0x301bb9=_0x3846ff;this[_0x301bb9(0x17d)]=!0x1;}};Ue=ui([P(0x2,_0xcb6f13(_0x36eec9)),P(0x3,_0xcb6f13(ke)),P(0x4,_0xcb6f13(_0x496b01)),P(0x5,_0xcb6f13(He)),P(0x6,_0x59419b),P(0x7,_0x29ac28),P(0x8,_0x2dbc8c)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x409f0a,_0x226e69,_0x342688,_0x37ae15)=>{const _0x4909ab=_0x3846ff;for(var _0x2a452c=_0x37ae15>0x1?void 0x0:_0x37ae15?Si(_0x226e69,_0x342688):_0x226e69,_0x1c6a8d=_0x409f0a[_0x4909ab(0x17b)]-0x1,_0x44eded;_0x1c6a8d>=0x0;_0x1c6a8d--)(_0x44eded=_0x409f0a[_0x1c6a8d])&&(_0x2a452c=_0x44eded(_0x2a452c)||_0x2a452c);return _0x2a452c;},x=(_0x66e99a,_0x472338)=>(_0x3853ca,_0x23c4e1)=>_0x472338(_0x3853ca,_0x23c4e1,_0x66e99a);const Ii=0x12c,vi=0x64,gi=()=>{let _0x3da0bc=[],_0x4c78ae=!0x1;return _0x534b7d=>{const _0x19187e=_0x3d7e;_0x3da0bc[_0x19187e(0x12a)](_0x534b7d),_0x4c78ae||(_0x4c78ae=!0x0,setTimeout(()=>{const _0x542db0=_0x19187e;_0x3da0bc[_0x542db0(0x1d7)](_0x205c0e=>_0x205c0e()),_0x3da0bc=[],_0x4c78ae=!0x1;}));};};let Me=class extends _0x1dd0ba{constructor(_0x545917,_0x344507,_0x2e04d6,_0x58605b,_0x5168b3,_0x301275,_0xb25ab9,_0x37c173){const _0x375e89=_0x3846ff;super(),_(this,_0x375e89(0x17d),!0x1),_(this,'_init',!0x1),_(this,_0x375e89(0x1be),new _0x40deef(new Map())),_(this,_0x375e89(0x1bc),this[_0x375e89(0x1be)][_0x375e89(0x14c)]()),_(this,'_roomMembers$',new _0x40deef([])),_(this,_0x375e89(0x263),this[_0x375e89(0x162)][_0x375e89(0xda)](_0x2250ea(Ii))),_(this,'_updateLocalCursor',_0x4ba92b((_0x22e18d,_0x1ee796)=>{const _0x3a7d30=_0x375e89,_0x2d8204={'eventID':_0x4e15b9[_0x3a7d30(0xcc)],'data':{'unitID':this[_0x3a7d30(0x190)],'memberID':this[_0x3a7d30(0xf2)][_0x3a7d30(0x287)](),'selection':_0x14b858(_0x22e18d,_0x1ee796[_0x3a7d30(0x131)])}};this[_0x3a7d30(0xf2)][_0x3a7d30(0x11c)](_0x2d8204,this[_0x3a7d30(0x190)]);},vi)),(this[_0x375e89(0x190)]=_0x545917,this[_0x375e89(0xf2)]=_0x344507,this[_0x375e89(0x237)]=_0x2e04d6,this[_0x375e89(0x234)]=_0x58605b,this[_0x375e89(0x1f5)]=_0x5168b3,this[_0x375e89(0x21a)]=_0x301275,this['_commandService']=_0xb25ab9,this[_0x375e89(0x223)]=_0x37c173);}get[_0x3846ff(0x17f)](){const _0x1d2892=_0x3846ff;return this[_0x1d2892(0x1be)]['getValue']();}get[_0x3846ff(0x1ac)](){const _0x85ff21=_0x3846ff;return this['_roomMembers$'][_0x85ff21(0x27e)]();}['dispose'](){const _0x2635f7=_0x3846ff;super[_0x2635f7(0x1b6)](),this[_0x2635f7(0x1be)][_0x2635f7(0xb0)](new Map()),this[_0x2635f7(0x1be)]['complete'](),this[_0x2635f7(0x162)][_0x2635f7(0xb0)]([]),this[_0x2635f7(0x162)][_0x2635f7(0x165)]();}[_0x3846ff(0x1bf)](){const _0x30ff11=_0x3846ff;this[_0x30ff11(0x13c)]||(this[_0x30ff11(0x13c)]=!0x0,this[_0x30ff11(0xf2)][_0x30ff11(0xfe)][_0x30ff11(0xda)](_0xa4e4b6(this['dispose$']))[_0x30ff11(0x100)](_0x2b9906=>{const _0x19a2c1=_0x30ff11;_0x2b9906===_0x18ec6e[_0x19a2c1(0x208)]?this[_0x19a2c1(0x233)]():this[_0x19a2c1(0x191)]();}),this[_0x30ff11(0xf2)][_0x30ff11(0xe6)]['pipe'](_0xa4e4b6(this[_0x30ff11(0x2a5)]))[_0x30ff11(0x100)](_0x20f8a6=>{const _0x2562ec=_0x30ff11,_0x39d563=_0x20f8a6['eventID'];_0x39d563===_0x4e15b9[_0x2562ec(0xcc)]&&this['_onCursorUpdate'](_0x20f8a6),_0x39d563===_0x4e15b9['USERS_LEAVE']&&this['_onCursorDelete'](_0x20f8a6);}),this[_0x30ff11(0x155)](),this[_0x30ff11(0x16a)](this['_commandService'][_0x30ff11(0xae)](_0x55a318=>{const _0xcb079b=_0x30ff11;if(this['_online']&&_0x55a318['id']===_0x5dfab4['id']&&_0x55a318[_0xcb079b(0x248)][_0xcb079b(0x1d6)]===this[_0xcb079b(0x190)]){const _0x2f3303=_0x55a318[_0xcb079b(0x248)];this[_0xcb079b(0x24a)](_0x2f3303[_0xcb079b(0x1e3)],_0x2f3303[_0xcb079b(0xe1)][0x0]);}})));}[_0x3846ff(0x146)](_0x2785ce){const _0x51c25a=_0x3846ff;var _0x48c262,_0x30f370;const {memberID:_0x62f5b0,selection:_0xdf773b}=_0x2785ce[_0x51c25a(0x2b3)],{sheetName:_0x2e92e9,range:_0x1ae41f}=_0x15ca09(_0xdf773b),_0x3f1942={'name':(_0x30f370=(_0x48c262=this[_0x51c25a(0x1f5)][_0x51c25a(0x1c6)](this[_0x51c25a(0x190)],_0x62f5b0))==null?void 0x0:_0x48c262[_0x51c25a(0x24c)])!=null?_0x30f370:_0x51c25a(0x106),'range':this['_getMergeRange'](_0x2e92e9,_0x1ae41f),'sheetID':_0x2e92e9,'color':this[_0x51c25a(0x234)][_0x51c25a(0x259)](_0x62f5b0),'selection':_0xdf773b},_0x2ccaca=this[_0x51c25a(0x17f)];_0x2ccaca['set'](_0x62f5b0,_0x3f1942),this[_0x51c25a(0x1be)]['next'](_0x2ccaca);}[_0x3846ff(0x257)](_0x1e5d7e){const _0x2d5121=_0x3846ff,{memberID:_0x25fdf1}=_0x1e5d7e[_0x2d5121(0x2b3)],_0x4b1689=this['cursorInfo'];_0x4b1689[_0x2d5121(0xbc)](_0x25fdf1),this[_0x2d5121(0x1be)][_0x2d5121(0xb0)](_0x4b1689);}[_0x3846ff(0x12f)](_0x18e72c,_0x4c8c85){const _0x46e95a=_0x3846ff;var _0x97d394,_0x22e8d;const _0x368704=(_0x22e8d=(_0x97d394=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x97d394[_0x46e95a(0x10a)](_0x18e72c))==null?void 0x0:_0x22e8d['getMergeData']();return(_0x368704==null?void 0x0:_0x368704[_0x46e95a(0xd2)](_0x2711dc=>_0x22a2f0['contains'](_0x2711dc,_0x4c8c85)))||_0x4c8c85;}[_0x3846ff(0x155)](){const _0x28aa97=_0x3846ff,_0x13031c=new _0x5faf45(),_0x49ae55=gi(),_0x6c1c01=()=>{const _0xc67958=_0x3d7e;_0x13031c['dispose']();const _0x3867b3=(_0x5df769,_0x1a96fc,_0x1a37a2,_0x549ae4)=>{const _0x71d0fa=_0x3d7e;let _0x2efbae=[];switch(_0x5df769['id']){case _0x56190c[_0x71d0fa(0x1ce)]:{_0x2efbae=_0x463a0d(_0x5df769,_0x549ae4);break;}case _0x56190c['DeleteRangeMoveUpCommandId']:{_0x2efbae=_0x50e6df(_0x5df769,_0x549ae4);break;}case _0x56190c[_0x71d0fa(0x275)]:{_0x2efbae=_0x23cd1e(_0x5df769,_0x549ae4);break;}case _0x56190c['InsertRangeMoveDownCommandId']:{_0x2efbae=_0x140b3e(_0x5df769,_0x549ae4);break;}case _0x56190c['InsertRangeMoveRightCommandId']:{_0x2efbae=_0x44843f(_0x5df769,_0x549ae4);break;}case _0x56190c['InsertRowCommandId']:{_0x2efbae=_0x7e199e(_0x5df769,_0x549ae4);break;}case _0x56190c[_0x71d0fa(0x1f6)]:{_0x2efbae=_0x110de9(_0x5df769,_0x549ae4);break;}case _0x56190c[_0x71d0fa(0x1f2)]:{_0x2efbae=_0x286e58(_0x5df769,_0x549ae4);break;}case _0x56190c['RemoveRowCommandId']:{_0x2efbae=_0x1c49b9(_0x5df769,_0x549ae4);break;}}const _0x22e987=_0x72c03a(_0x2efbae,_0x549ae4),_0x3a93ac=this['cursorInfo'][_0x71d0fa(0x119)](_0x1a96fc);if(_0x3a93ac&&_0x22e987){const _0x15de59={..._0x3a93ac,'range':_0x22e987};this['cursorInfo']['set'](_0x1a96fc,_0x15de59),_0x49ae55(()=>{const _0x2801d3=_0x71d0fa,_0x1879fa=this[_0x2801d3(0x223)][_0x2801d3(0x153)](_0x22e987,_0x1ce4f4=>(_0x1879fa[_0x2801d3(0x1b6)](),_0x3867b3(_0x1ce4f4,_0x1a96fc,_0x1a37a2,_0x22e987)));_0x13031c[_0x2801d3(0x170)](_0x1879fa);});}return{'redos':[],'undos':[]};};this[_0xc67958(0x17f)][_0xc67958(0x1d7)]((_0x5d279f,_0x43f1cb)=>{const _0x435ec9=_0xc67958,{range:_0x236722,sheetID:_0x5d7e0b}=_0x5d279f,_0x413a71=this[_0x435ec9(0x223)][_0x435ec9(0x153)](_0x236722,_0x58496a=>(_0x413a71[_0x435ec9(0x1b6)](),_0x3867b3(_0x58496a,_0x43f1cb,_0x5d7e0b,_0x236722)));_0x13031c[_0x435ec9(0x170)](_0x413a71);});};this[_0x28aa97(0x16a)](_0x471471(this[_0x28aa97(0x1be)][_0x28aa97(0x100)](()=>{_0x6c1c01();})));}[_0x3846ff(0x233)](){const _0x5ce4ac=_0x3846ff;var _0x5918b1,_0x1ceaa1;if(this['_online']=!0x0,((_0x5918b1=this[_0x5ce4ac(0x21a)][_0x5ce4ac(0x1fe)]())==null?void 0x0:_0x5918b1['getUnitId']())!==this[_0x5ce4ac(0x190)])return;const _0x2bc0a7=(_0x1ceaa1=this[_0x5ce4ac(0x237)][_0x5ce4ac(0x119)](_0x2abbae)[_0x5ce4ac(0xdc)]())==null?void 0x0:_0x1ceaa1[0x0],_0x5da178=this['_univerInstanceService'][_0x5ce4ac(0x17e)](_0x27422f[_0x5ce4ac(0x1a8)])['getActiveSheet']();_0x2bc0a7&&_0x5da178&&this[_0x5ce4ac(0x24a)](_0x5da178[_0x5ce4ac(0x164)](),_0x2bc0a7);}['_toggleOffline'](){const _0x178bc5=_0x3846ff;this[_0x178bc5(0x17d)]=!0x1;}};Me=mi([x(0x2,_0xcb6f13(_0x36eec9)),x(0x3,_0xcb6f13(ke)),x(0x4,_0xcb6f13(_0x496b01)),x(0x5,_0x29ac28),x(0x6,_0x2dbc8c),x(0x7,_0xcb6f13(_0x104543))],Me);var pi=Object[_0x3846ff(0x291)],Ci=(_0x3b1d07,_0x1d2067,_0x482a81,_0x32cc5e)=>{const _0xba5efe=_0x3846ff;for(var _0x511c64=_0x32cc5e>0x1?void 0x0:_0x32cc5e?pi(_0x1d2067,_0x482a81):_0x1d2067,_0x3dff88=_0x3b1d07[_0xba5efe(0x17b)]-0x1,_0x3b3d7f;_0x3dff88>=0x0;_0x3dff88--)(_0x3b3d7f=_0x3b1d07[_0x3dff88])&&(_0x511c64=_0x3b3d7f(_0x511c64)||_0x511c64);return _0x511c64;},me=(_0x1746ad,_0x12bb38)=>(_0x2bd9f3,_0x25abbe)=>_0x12bb38(_0x2bd9f3,_0x25abbe,_0x1746ad);let F=class extends _0x1dd0ba{constructor(_0x52e646,_0x53c000,_0x31f945){const _0x3c515b=_0x3846ff;super(),_(this,'_entities',new Map()),_(this,_0x3c515b(0xb9),new _0xe21be4()),(this[_0x3c515b(0x21a)]=_0x52e646,this['_injector']=_0x53c000,this['_collabSessionService']=_0x31f945,this[_0x3c515b(0x13c)]());}['dispose'](){const _0x2dc453=_0x3846ff;super[_0x2dc453(0x1b6)](),this[_0x2dc453(0xb9)]['complete'](),this[_0x2dc453(0x161)][_0x2dc453(0x1d7)](_0x554fda=>_0x554fda[_0x2dc453(0x1b6)]());}['getCollabCursors$'](_0x33b854){const _0x581654=_0x3846ff;return this[_0x581654(0x161)][_0x581654(0x1df)](_0x33b854)?this['_entities'][_0x581654(0x119)](_0x33b854)[_0x581654(0x1bc)]:this['_entityInit$'][_0x581654(0xda)](_0x8bc2bb(_0x32efda=>_0x32efda[_0x581654(0x190)]===_0x33b854),_0x1ae0b1(_0x5339df=>_0x5339df['cursorInfo$']));}['_init'](){const _0x56a2a0=_0x3846ff;this[_0x56a2a0(0x21a)][_0x56a2a0(0x2a2)](_0x27422f['UNIVER_SHEET'])[_0x56a2a0(0xda)](_0xa4e4b6(this['dispose$']))['subscribe'](async _0x4b6e41=>{const _0x2454f6=_0x56a2a0,_0x3936c0=_0x4b6e41[_0x2454f6(0x196)](),_0x269c00=await this[_0x2454f6(0x134)](_0x3936c0);this[_0x2454f6(0xb9)][_0x2454f6(0xb0)](_0x269c00),this['_entities'][_0x2454f6(0x28a)](_0x3936c0,_0x269c00);}),this[_0x56a2a0(0x21a)][_0x56a2a0(0x2a2)](_0x27422f['UNIVER_DOC'])['pipe'](_0xa4e4b6(this[_0x56a2a0(0x2a5)]))[_0x56a2a0(0xda)](_0x8bc2bb(_0x1fe098=>!_0x1fe098[_0x56a2a0(0x196)]()[_0x56a2a0(0x180)]('__')))['subscribe'](async _0x472be4=>{const _0x369b48=_0x56a2a0,_0x48b4b3=_0x472be4[_0x369b48(0x196)](),_0x7ecf8=await this['_startDocCollabCursor'](_0x48b4b3);this['_entityInit$']['next'](_0x7ecf8),this[_0x369b48(0x161)]['set'](_0x48b4b3,_0x7ecf8);}),_0x251329(this['_univerInstanceService'][_0x56a2a0(0x1a0)](_0x27422f[_0x56a2a0(0x29e)]),this['_univerInstanceService'][_0x56a2a0(0x1a0)](_0x27422f[_0x56a2a0(0x1a8)]))[_0x56a2a0(0xda)](_0xa4e4b6(this[_0x56a2a0(0x2a5)]))[_0x56a2a0(0x100)](_0xca6523=>{const _0xfd5116=_0x56a2a0,_0x4521ec=_0xca6523[_0xfd5116(0x196)](),_0x5ef5b6=this[_0xfd5116(0x161)][_0xfd5116(0x119)](_0x4521ec);_0x5ef5b6&&(_0x5ef5b6['dispose'](),this[_0xfd5116(0x161)][_0xfd5116(0xbc)](_0x4521ec));});}async['_startSheetCollabCursor'](_0x57193b){const _0x784f26=_0x3846ff,_0x5cf42f=await this['_collabSessionService'][_0x784f26(0x10e)](_0x57193b),_0x2740c3=this[_0x784f26(0x237)][_0x784f26(0xec)](Me,_0x57193b,_0x5cf42f);return _0x2740c3[_0x784f26(0x1bf)](),_0x2740c3;}async[_0x3846ff(0x1c0)](_0x198820){const _0x22b3b6=_0x3846ff,_0x491db7=await this[_0x22b3b6(0xf3)][_0x22b3b6(0x10e)](_0x198820),_0x350b89=this[_0x22b3b6(0x237)][_0x22b3b6(0xec)](Ue,_0x198820,_0x491db7);return _0x350b89['init'](),_0x350b89;}};F=Ci([me(0x0,_0x29ac28),me(0x1,_0xcb6f13(_0x36eec9)),me(0x2,_0xcb6f13(_0x8cd09e))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0xf00917,_0x50aaf5){const _0x563193=_0x3846ff;let {radius:_0x4fc233,width:_0x185bb9,height:_0x42ca52}=_0x50aaf5;_0x4fc233=_0x4fc233!=null?_0x4fc233:0x0,_0x185bb9=_0x185bb9!=null?_0x185bb9:0x1e,_0x42ca52=_0x42ca52!=null?_0x42ca52:0x1e;let _0x3461e9=0x0,_0x17d7a6=0x0,_0x38a846=0x0;_0x3461e9=_0x17d7a6=_0x38a846=Math[_0x563193(0xcf)](_0x4fc233,_0x185bb9/0x2,_0x42ca52/0x2),_0xf00917[_0x563193(0xcb)](),_0xf00917['moveTo'](_0x3461e9,0x0),_0xf00917[_0x563193(0x12b)](_0x185bb9-_0x17d7a6,0x0),_0xf00917[_0x563193(0x117)](_0x185bb9-_0x17d7a6,_0x17d7a6,_0x17d7a6,Math['PI']*0x3/0x2,0x0,!0x1),_0xf00917[_0x563193(0x12b)](_0x185bb9,_0x42ca52-_0x38a846),_0xf00917[_0x563193(0x117)](_0x185bb9-_0x38a846,_0x42ca52-_0x38a846,_0x38a846,0x0,Math['PI']/0x2,!0x1),_0xf00917[_0x563193(0x12b)](0x0,_0x42ca52),_0xf00917[_0x563193(0x12b)](0x0,_0x3461e9),_0xf00917[_0x563193(0x117)](_0x3461e9,_0x3461e9,_0x3461e9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf00917['closePath'](),_0x50aaf5[_0x563193(0xd1)]&&(_0xf00917[_0x563193(0x249)](),_0xf00917[_0x563193(0x1dc)]=_0x50aaf5[_0x563193(0xd1)],_0x50aaf5[_0x563193(0x121)]===_0x563193(0x159)?_0xf00917[_0x563193(0xd1)](_0x563193(0x159)):_0xf00917[_0x563193(0xd1)](),_0xf00917[_0x563193(0x217)]());}class ue extends _0x55659a{constructor(_0x32b824,_0x269809){const _0x4f2a86=_0x3846ff;super(_0x32b824,_0x269809),_(this,'color'),_(this,_0x4f2a86(0xdf)),(this[_0x4f2a86(0x12d)]=_0x269809==null?void 0x0:_0x269809[_0x4f2a86(0x12d)],this['text']=_0x269809==null?void 0x0:_0x269809[_0x4f2a86(0xdf)]);}static[_0x3846ff(0x1ee)](_0x50775c,_0xdbb95f){const _0x1d2d85=_0x3846ff,{text:_0x86ddeb,color:_0x3bf3e6}=_0xdbb95f;_0x50775c['save'](),_0x50775c[_0x1d2d85(0x2a6)]=_0x1d2d85(0x1c9);const _0x94d993=_0x50775c[_0x1d2d85(0x135)](_0x86ddeb)[_0x1d2d85(0xb4)],_0x42bf31=Math[_0x1d2d85(0xcf)](_0x94d993+0x2*Ie,Qe);Oi(_0x50775c,{'height':J,'radius':0x4,'width':_0x42bf31,'fill':_0x3bf3e6}),_0x50775c['fillStyle']=_0x1d2d85(0x29b);const _0x2d9584=Ie,_0x1199c6=J-Ei,_0x3a00ed=Qe-0x2*Ie;if(_0x94d993>_0x3a00ed){let _0xb6f77f='',_0x4ab25f=0x0;for(const _0x4f8832 of _0x86ddeb){const _0x1efeb0=_0x50775c['measureText'](_0x4f8832)[_0x1d2d85(0xb4)];if(_0x4ab25f+_0x1efeb0<=_0x3a00ed-_0x50775c[_0x1d2d85(0x135)]('...')[_0x1d2d85(0xb4)])_0xb6f77f+=_0x4f8832,_0x4ab25f+=_0x1efeb0;else{_0xb6f77f+=_0x1d2d85(0x147);break;}}_0x50775c[_0x1d2d85(0x19f)](_0xb6f77f,_0x2d9584,_0x1199c6);}else _0x50775c['fillText'](_0x86ddeb,_0x2d9584,_0x1199c6);_0x50775c[_0x1d2d85(0x217)]();}[_0x3846ff(0x175)](_0x2bf7a4){const _0x56041b=_0x3846ff;ue[_0x56041b(0x1ee)](_0x2bf7a4,this);}}const ve=_0x3846ff(0x23e),bi=_0x3846ff(0x26c),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x3846ff(0x19c);class qe{constructor(_0x45d2c1,_0x14bfbf,_0x4fd6a0,_0x2187ed){const _0x5c7c69=_0x3846ff;_(this,'_shapes',[]),_(this,_0x5c7c69(0xe2),null),_(this,'_textBubble',null),_(this,_0x5c7c69(0x283),null),_(this,_0x5c7c69(0x1cd),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x45d2c1,this[_0x5c7c69(0x252)]=_0x14bfbf,this['_docSkeleton']=_0x4fd6a0,this[_0x5c7c69(0x188)]=_0x2187ed,this[_0x5c7c69(0x151)]());}set[_0x3846ff(0xe9)](_0x279872){const _0x37d497=_0x3846ff;_0x279872?(this[_0x37d497(0x283)]&&this[_0x37d497(0x283)][_0x37d497(0x186)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x37d497(0x283)]&&this['_anchorDot'][_0x37d497(0x245)](),this[_0x37d497(0x2b0)]&&this['_textBubble'][_0x37d497(0x186)]());}[_0x3846ff(0x1b6)](){const _0x3e01da=_0x3846ff;for(const _0x41860c of this[_0x3e01da(0x144)])_0x41860c[_0x3e01da(0x1b6)]();this[_0x3e01da(0x2b0)]&&this['_textBubble'][_0x3e01da(0x1b6)](),this[_0x3e01da(0x283)]&&this[_0x3e01da(0x283)][_0x3e01da(0x1b6)](),this[_0x3e01da(0xe2)]&&this['_anchor']['dispose'](),this[_0x3e01da(0x1c3)]&&this[_0x3e01da(0x1c3)]();}[_0x3846ff(0x151)](){const _0x3ef07c=_0x3846ff;var _0x1efb1c;const {_docSkeleton:_0x3f22df,_document:_0x4ec2f5}=this,{color:_0x4b9b6e,name:_0x31a274,ranges:_0x166a20}=this[_0x3ef07c(0x109)],_0xc279b5=_0x4ec2f5['getOffsetConfig'](),{docsLeft:_0x229ca3,docsTop:_0x20d93f}=_0xc279b5,_0x5679c3=new _0x29c550(_0xc279b5,_0x3f22df);for(const {startOffset:_0x37de67,endOffset:_0x2bced9,rangeType:_0x38ecae,segmentId:_0x40885f,segmentPage:_0x3c1b60,collapsed:_0x52c8b8,isActive:_0x3cbccf}of _0x166a20){const _0x34bc44=_0x3f22df[_0x3ef07c(0x270)](_0x37de67,!0x0,_0x40885f,_0x3c1b60);let _0x2e410c=_0x3f22df[_0x3ef07c(0x270)](_0x2bced9,!0x0,_0x40885f,_0x3c1b60);if(_0x2e410c==null&&(_0x2e410c=_0x3f22df[_0x3ef07c(0x270)](_0x2bced9-0x1,!0x1,_0x40885f,_0x3c1b60)),_0x3cbccf){const {contentBoxPointGroup:_0x130593}=_0x5679c3['getRangePointData'](_0x2e410c,_0x2e410c);if(_0x130593['length']===0x0)continue;this[_0x3ef07c(0x1a2)](_0x4b9b6e,_0x130593,_0x229ca3,_0x20d93f,_0x31a274),this[_0x3ef07c(0x1c3)]=this['_handleHover']();}if(_0x34bc44&&_0x2e410c){if(_0x38ecae===_0x57a474[_0x3ef07c(0x27f)]){const _0x4da6a2=new _0x44049a(_0xc279b5,_0x3f22df),{pointGroup:_0x1005c1}=(_0x1efb1c=_0x4da6a2[_0x3ef07c(0xc9)](_0x34bc44,_0x2e410c))!=null?_0x1efb1c:{};if(_0x1005c1==null||_0x1005c1[_0x3ef07c(0x17b)]===0x0)continue;this[_0x3ef07c(0xd8)](_0x4b9b6e,_0x1005c1,_0x229ca3,_0x20d93f);}else{if(!_0x52c8b8){const {borderBoxPointGroup:_0x4d640b}=_0x5679c3[_0x3ef07c(0xc9)](_0x34bc44,_0x2e410c);if(_0x4d640b['length']===0x0)continue;this[_0x3ef07c(0x207)](_0x4b9b6e,_0x4d640b,_0x229ca3,_0x20d93f);}}}}}[_0x3846ff(0x1a2)](_0xa8484d,_0x5149c2,_0x43706e,_0x2f0897,_0x15fc84){const _0x3a6728=_0x3846ff,_0x3d8e6e=this['_getAnchorBounding'](_0x5149c2),{left:_0x5b77a3,top:_0x46e302,height:_0x54c158}=_0x3d8e6e,_0x3f7ab7=this['_getScale'](),_0x444abc=Di/_0x3f7ab7,_0x1c3edc=new _0x302ade(ve+_0x4ae1ba(G),{'left':_0x5b77a3+_0x43706e-_0x444abc,'top':_0x46e302+_0x2f0897,'height':_0x54c158,'width':Ri,'fill':_0xa8484d||_0x283218(_0x58b494['black'],0x0),'strokeWidth':_0x444abc,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x1c3edc,this[_0x3a6728(0x252)][_0x3a6728(0x138)](_0x1c3edc,_0x41ddac);const _0x1cae01=new _0x302ade(ve+_0x4ae1ba(G),{'left':_0x5b77a3+_0x43706e-_0x444abc,'top':_0x46e302+_0x2f0897-ge/0x2,'height':ge,'width':ge,'fill':_0xa8484d||_0x283218(_0x58b494['black'],0x0),'strokeWidth':0x0,'stroke':_0xa8484d||_0x283218(_0x58b494[_0x3a6728(0x125)],0x0),'evented':!0x1});this[_0x3a6728(0x283)]=_0x1cae01,this[_0x3a6728(0x252)][_0x3a6728(0x138)](_0x1cae01,_0x41ddac);const _0x6e1fd3=new ue(ve+_0x4ae1ba(G),{'left':_0x5b77a3+_0x43706e-_0x444abc,'top':_0x46e302+_0x2f0897-J,'text':_0x15fc84,'color':_0xa8484d});this['_textBubble']=_0x6e1fd3,this[_0x3a6728(0x252)][_0x3a6728(0x138)](_0x6e1fd3,_0x41ddac),this['_hover']=!0x1;}['_handleHover'](){const _0x10c65a=_0x3846ff,_0x170b35=this[_0x10c65a(0xe2)][_0x10c65a(0xde)]['subscribeEvent'](()=>{const _0x3da771=_0x10c65a;this[_0x3da771(0xe9)]=!0x0;}),_0x4d9ebd=this[_0x10c65a(0xe2)][_0x10c65a(0x133)][_0x10c65a(0x220)](()=>{const _0xfef38e=_0x10c65a;this[_0xfef38e(0x1cd)]&&clearTimeout(this[_0xfef38e(0x1cd)]),this[_0xfef38e(0x1cd)]=setTimeout(()=>{const _0x6497e9=_0xfef38e;this[_0x6497e9(0xe9)]=!0x1;},0x7d0);});return()=>{const _0x50912a=_0x10c65a;_0x170b35[_0x50912a(0x232)](),_0x4d9ebd[_0x50912a(0x232)]();};}[_0x3846ff(0x207)](_0x50c157,_0x2401b8,_0x168163,_0x5b6cc2){const _0x1be9b1=_0x3846ff,_0x1e9e9f=new _0x5be3b0(_0x50c157)[_0x1be9b1(0x27d)](0.2)[_0x1be9b1(0x18b)](),_0x2d8664=new _0x1c22ff(bi+_0x4ae1ba(G),{'pointsGroup':_0x2401b8,'fill':_0x1e9e9f||_0x283218(_0x58b494['black'],0.2),'left':_0x168163,'top':_0x5b6cc2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1be9b1(0x144)][_0x1be9b1(0x12a)](_0x2d8664),this['_scene'][_0x1be9b1(0x138)](_0x2d8664,_0x41ddac);}[_0x3846ff(0xd8)](_0xc556f3,_0x887bb4,_0x3e5c1a,_0x5362ce){const _0x3ea3c7=_0x3846ff,_0x40df3d=new _0x5be3b0(_0xc556f3)['setAlpha'](0.2)[_0x3ea3c7(0x18b)](),_0x5a5799=new _0x1c22ff(Ti+_0x4ae1ba(G),{'pointsGroup':_0x887bb4,'fill':_0x40df3d||_0x283218(_0x58b494[_0x3ea3c7(0x125)],0.2),'left':_0x3e5c1a,'top':_0x5362ce,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5a5799),this[_0x3ea3c7(0x252)]['addObject'](_0x5a5799,_0x41ddac);}[_0x3846ff(0x204)](_0xe4d5de){const _0x330f9e=_0xe4d5de[0x0],_0xdc1d42=_0x330f9e[0x0],_0x432d90=_0x330f9e[0x2],{x:_0x198eaf,y:_0x190782}=_0xdc1d42,{x:_0x559af1,y:_0x1a3c3f}=_0x432d90;return{'left':_0x198eaf,'top':_0x190782,'width':_0x559af1-_0x198eaf,'height':_0x1a3c3f-_0x190782};}[_0x3846ff(0x102)](){const _0x21450b=_0x3846ff,{scaleX:_0x11ce0d,scaleY:_0x18d0da}=this[_0x21450b(0x252)]['getAncestorScale']();return Math[_0x21450b(0x205)](_0x11ce0d,_0x18d0da);}}function _0xc8cb(){const _0x4e96aa=['height','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','event$','OTHER_CLIENT_EDITING','random','_hover','YUUMI_AI_RUN_FAILED','imageSourceType','createInstance','override','_docSkeletonManagerService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','currentColor','isArray','_session','_collabSessionService','_docSyncEditingCollabCursorService','subunit','startRow','getCollabCursors$','NO_OTHER_CLIENTS_EDITING','m1Prime','bottom','collabStatus.notCollab','_collabCursorController','with','sessionStatus$','addHandlerCallback','subscribe','844jVjBqL','_getScale','type','from','setInterval','Unknown\x20user','className','origin','_cursor','getSheetBySheetId','ticket','getConfig','1962180zZVoCS','requireSession','icon','getDocRanges','column','_setupBeforeClosingHandler','path','mutations','SOCKET_FAILED','APPLY_PERMISSION_DENIED','arc','Failed','get','LICENSE_EXPORT_SIZE_EXCEEDED','size','send','createSocket','/run/','currentTheme$','_lastPointer','fillRule','univer-mr-2\x20univer-flex\x20univer-text-xl','_docClipboardService','endRow','black','unload','426415pIwcoo','result','blue.400','push','lineTo','APPLY_REJECT','color','UNDEFINED','_getMergeRange','getCurrentRevOfUnit','range','undoState','onPointerLeave$','_startSheetCollabCursor','measureText','doc.mutation.rich-text-editing','_updateCollabCursors','addObject','editingUnit','newValue','search','_init','off-line-icon','jiqing.500','1em','_scheduleClearOtherTimer','_initEvent','labelPosition','defs','_shapes','_registerRenderDependencies','_onCursorUpdate','...','onStarting','_instanceService','_docStateChangeManagerService','MUTATION','asObservable','657834MronNN','_selfUnitIDs','[CollaborationDataLoaderController]','_revisionService','_render','selection','registerRefRange','_handleEvent','_onRefRangeChange','current','_localeService','_createSocketURL','evenodd','_colorIndex','_transformPreviousActiveRange','INTERNAL_ERROR','transformByState','replaceDocRanges','LOGIN_FAILED','MOBILE_HAS_BEEN_BOUND','_entities','_roomMembers$','disposeUnit','getSheetId','complete','_name','FromArray','_initCommandExecutedListener','278155GqhuFu','disposeWithMe','_httpService','_syncEditingCollabCursorService','transformRemoteChangeset','key','CONNECTOR_DATA_TOO_LARGE','add','_handleJoinEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','memberID','propertyIsEnumerable','_draw','Error','_collaborationUIEventService','replace','_setupSubUnitSync','setShapeProps','length','_send','_online','getCurrentUnitForType','cursorInfo','startsWith','collaboration-client-ui.config','tag','none','substring','setConfig','hide','_labelPosition','_document','SYNCED','_cachedData','toRgbString','_unitOnClients','executionId','PENDING','_handleHeartbeatEvent','unitID','_toggleOffline','symbol','getAncestorScale','_scheduleSaving','TOO_MANY_REQUESTS','getUnitId','getRelativeToViewportCoord','startColumn','displayName','clearTimeout','syncEditingCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','PY_RUNTIME_SCRIPT_ERROR','unshift','fillText','getTypeOfUnitDisposed$','debug','_drawAnchor','currentSkeleton$','M0\x200H16V16H0z','_status$','transformMutation','toString','UNIVER_SHEET','isEditing','transformSelections','hasOwnProperty','roomMembers','href','registerRenderModule','WECHAT_HAS_BEEN_BOUND','collabCursorState$','on-line-icon','_color','collaboration-client.offline-data-not-saved','onRendered','location','dispose','collab-client.tooltip.reconnect','_initEntityListener','url(#$1','_commandService','whenReady','cursorInfo$','_getSaveTimeout','_cursorInfo$','init','_startDocCollabCursor','_logService','getStateCache','_eventUnsubscribe','_clearOtherTimers','assign','getMember','INVALID_INVITE_CODE','some','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onPointerMove$','ENSURE_SNAPSHOT_EXECUTION','skeleton','_hideTimer','DeleteRangeMoveLeftCommandId','_collabCursorState$','UniverIcon','PERMISSION_DENIED','_id','_notificationService','_transformUndoRedoStack','clearInterval','unitId','forEach','_removeClearOtherTimer','setStateCache','TEXT','YUUMI_ALL_TABLES_IS_INVALID','fillStyle','addClipboardHook','all','has','isActive','status$','session.connection-failed','subUnitId','transformIMECache','JOIN_ROOM_FAILED','error','SNAPSHOT_INVALID_SNAPSHOT','indexOf','_messageService','0\x200\x2017\x2016','url(#on-line-icon_clip0_910_349)','reconnect','history','drawWith','_urlService','_initStatusComponent','triggerDblclick','RemoveColCommandId','_initResize','CONFLICT','_memberService','MoveRangeCommandId','_config','colorChannel1','then','svg','setTimeout','_collaborationController','setItem','getFocusedUnit','getColorFromTheme','USER_NOT_INVITED_CODE','INVITE_CODE_ALREADY_BOUND','_imageIoService','_registerDependencies','_getAnchorBounding','max','backgroundColor','_drawTextRange','ONLINE','_docTransformSelectionsService','_heartbeatTimer','_uiPartsService','_configService','_docTransformStateCacheService','_hovered','848ULyWjQ','ranges','row','updateOfflineData','includes','collaboration.closeRoom','YUUMI_ASYNCIO_CANCELLED','getActiveRange','restore','APPLY_NON_SEQUENTIAL_REVISION','_transformService','_univerInstanceService','getCellPositionByOffset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','_backgroundColor','stringify','subscribeEvent','yellow.400','removeParam','_refRangeService','univerjs-icon\x20univerjs-icon-','1073604RVrGRp','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getUndoRedoMutationParamsCache','_context','_getSessionTicket','31703PdIXNg','NOT_COLLAB','0\x200\x2016\x2016','260vYhqLz','uni.network.url-service','exhaustSavingTask','replaceState','collabStatus.synced','unsubscribe','_toggleOnline','_colorAssignService','saveImage','APPLY_REVISION_CONFILICT','_injector','setUndoRedoMutationParamsCache','values','parse','http://www.w3.org/2000/svg','actions','_localCacheService','collab-text-anchor-','on-line-icon_clip0_910_349','string','LICENSE_MAX_UNITS_EXCEEDED','sheetID','_range','FETCH_MISS','show','UNAUTHENTICATED','_docTransformIMECacheService','params','save','_updateLocalCursor','_getSheetObject','name','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getRenderById','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','defineProperty','getVpScrollXYInfoByPosToVp','_scene','div','_refreshCollabCursors','source','_assignedColors','_onCursorDelete','translate(.97)','assignAColorForMemberID','prototype','idSuffix','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_disabled','runId','onLocalMutation','url(#off-line-icon_clip0_910_343)','m2Prime','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','roomMembers$','getActiveSheet','collabStatus.syncing','_beforeCloseService','use','xlink:href','saveOfflineData','loadUnit','onTransformChange$','collab-text-range-','getViewport','popstate','getSkeleton','findNodePositionByCharIndex','_transformHistoryAndStateStack','transform','entries','onMouseMove','InsertColCommandId','registerBeforeClose','redoState','INVITE_CODE_HAS_BEEN_UES','loadOfflineData','permission.content','Warning','wsSessionTicketUrl','setAlpha','getValue','RECT','YUUMI_RATE_OVER_LIMIT','deepClone','split','_anchorDot','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','session.will-retry','urlChange$','getMemberID','getOwnPropertySymbols','collaboration.single-unit.warning','set','_updateSubUnitFromURLParams','APPLY_DUPLICATED','_ensureSubject','body','addObjects','red.300','getOwnPropertyDescriptor','call','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursors','textRanges','VIEW_MAIN','focused$','_sheetSkeletonManagerService','sessionTicket','YUUMI_UNABLE_LOAD_URL','#FFF','_scheduleHeartbeat','_cursorShapes','UNIVER_DOC','pluginName','top','transformMutationsWithChangeset','getTypeOfUnitAdded$','collabStatus.offline','YUUMI_NO_CUBOID_FOR_QUESTION','dispose$','font','UNRECOGNIZED','children','defIds','storage','_doCreateSocket','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','INVALID_ARGUMENT','COMPLETION_FINISHED','clipPath','_textBubble','_saveTaskMap','_updateURLWithCurrentState','data','sheetId','transformStateCache','purple.300','code','onCommandExecuted','endColumn','next','collabStatus.fetchMiss','YUUMI_CONNECTOR_URL_NOT_FOUND','round','width','attrs','_initStatusListener','post','INVITE_CODE_REQUIRED','_entityInit$','off-line-icon_clip0_910_343','mask','delete','pushState','LICENSE_IMPORT_SIZE_EXCEEDED','_renderManagerService','_localStorageService','_saveCache','_handleLeaveEvent','getParam','_initDependencies','186cKXXdY','EMAIL_HAS_BEEN_BOUND','resize','_dataLoaderService','getRangePointData','collabStatus.conflict','beginPath','UPDATE_CURSOR','session.collaboration-timeout','executeCommand','min','getUnitStatus$','fill','find','_removeCollabCursors','SNAPSHOT_HAS_BEEN_REMOVED','map','searchParams','function','_drawRectRange','concat','pipe','2333UOvcAs','getCurrentSelections','getUnhiddenWorksheets','onPointerEnter$','text','_themeService','selections','_anchor','MOBILE_VERIFY_CODE_MISMATCH'];_0xc8cb=function(){return _0x4e96aa;};return _0xc8cb();}function _0x3d7e(_0x4d43c8,_0x3a8cf1){const _0xc8cb05=_0xc8cb();return _0x3d7e=function(_0x3d7ec9,_0x357745){_0x3d7ec9=_0x3d7ec9-0xae;let _0x20be82=_0xc8cb05[_0x3d7ec9];return _0x20be82;},_0x3d7e(_0x4d43c8,_0x3a8cf1);}var Ui=Object[_0x3846ff(0x291)],Mi=(_0x2b60fd,_0x4d2bcf,_0x47ef73,_0x1594ad)=>{for(var _0x19be5b=_0x1594ad>0x1?void 0x0:_0x1594ad?Ui(_0x4d2bcf,_0x47ef73):_0x4d2bcf,_0x132896=_0x2b60fd['length']-0x1,_0x25ce67;_0x132896>=0x0;_0x132896--)(_0x25ce67=_0x2b60fd[_0x132896])&&(_0x19be5b=_0x25ce67(_0x19be5b)||_0x19be5b);return _0x19be5b;},q=(_0xee305d,_0x38e40e)=>(_0x22e50d,_0x3e6c27)=>_0x38e40e(_0x22e50d,_0x3e6c27,_0xee305d);let Le=class extends _0x1dd0ba{constructor(_0x39a675,_0x1f077c,_0x582330,_0x5cefd0,_0x35452c){const _0x5bb4e5=_0x3846ff;super(),_(this,_0x5bb4e5(0x29d),[]),_(this,'_cursors',[]),(this[_0x5bb4e5(0x228)]=_0x39a675,this[_0x5bb4e5(0xee)]=_0x1f077c,this['_collabCursorController']=_0x582330,this[_0x5bb4e5(0x1ba)]=_0x5cefd0,this[_0x5bb4e5(0xe0)]=_0x35452c,this[_0x5bb4e5(0x13c)]());}[_0x3846ff(0x13c)](){const _0x45125c=_0x3846ff,_0x532f8e=this[_0x45125c(0x228)][_0x45125c(0x1d6)],_0x45aeda=this[_0x45125c(0xee)];this['disposeWithMe'](_0x4359ad([this[_0x45125c(0xfc)][_0x45125c(0xf7)](_0x532f8e),this[_0x45125c(0xe0)][_0x45125c(0x11f)]])['pipe'](_0x22d561(([_0x531104,_0x31748f])=>({'skeleton':_0x45aeda['getSkeleton'](),'cursors':[..._0x531104['values']()]['flatMap'](_0x4ca97e=>({..._0x4ca97e,'color':this[_0x45125c(0xe0)][_0x45125c(0x1ff)](_0x4ca97e[_0x45125c(0x12d)])}))})))['subscribe'](_0x43ffbf=>{const _0x4f8742=_0x45125c;if(this[_0x4f8742(0xd3)](),_0x43ffbf){const {skeleton:_0x56a90b,cursors:_0x4068bb}=_0x43ffbf;this['_updateCollabCursors'](_0x56a90b,_0x4068bb);}})),this[_0x45125c(0x1f3)](),this[_0x45125c(0x168)]();}[_0x3846ff(0x137)](_0x38c5de,_0x4d4a54){const _0x5b9661=_0x3846ff,{scene:_0x413a17,mainComponent:_0x1223a4}=this['_context'],_0x8982eb=_0x4d4a54[_0x5b9661(0xd5)](_0x4f7c58=>new qe(_0x4f7c58,_0x413a17,_0x38c5de,_0x1223a4));this[_0x5b9661(0x29d)]=_0x8982eb,this[_0x5b9661(0x294)]=_0x4d4a54;}[_0x3846ff(0x254)](){const _0x5bc73e=_0x3846ff;this[_0x5bc73e(0xd3)]();const {scene:_0x494501,mainComponent:_0x4219b8}=this[_0x5bc73e(0x228)],_0x396926=this['_docSkeletonManagerService'][_0x5bc73e(0x26f)](),_0x7c7649=this[_0x5bc73e(0x294)][_0x5bc73e(0xd5)](_0xc0375b=>new qe(_0xc0375b,_0x494501,_0x396926,_0x4219b8));this[_0x5bc73e(0x29d)]=_0x7c7649;}[_0x3846ff(0xd3)](){const _0x54bacf=_0x3846ff;this[_0x54bacf(0x29d)]['forEach'](_0x54ab5c=>_0x54ab5c[_0x54bacf(0x1b6)]()),this[_0x54bacf(0x29d)]=[];}[_0x3846ff(0x168)](){const _0x4a94a6=_0x3846ff,_0x49dd61=[_0x1b5aea['id']];this['disposeWithMe'](this[_0x4a94a6(0x1ba)][_0x4a94a6(0xae)](_0x301ff2=>{const _0x34d989=_0x4a94a6;_0x49dd61['includes'](_0x301ff2['id'])&&_0x301ff2[_0x34d989(0x248)][_0x34d989(0x1d6)]===this[_0x34d989(0x228)][_0x34d989(0x1d6)]&&this['_refreshCollabCursors']();}));}[_0x3846ff(0x1f3)](){const _0x11d6cf=_0x3846ff;this[_0x11d6cf(0x16a)](_0x13ab46(this[_0x11d6cf(0x228)]['engine'][_0x11d6cf(0x26b)])[_0x11d6cf(0xda)](_0x505b42(_0x412e36=>_0x412e36[_0x11d6cf(0x103)]===_0x5df580[_0x11d6cf(0xc7)]),_0x353f3e(0x10))[_0x11d6cf(0x100)](()=>{const _0x198a9f=_0x11d6cf;this[_0x198a9f(0x254)]();}));}};Le=Mi([q(0x1,_0xcb6f13(_0x243909)),q(0x2,_0xcb6f13(F)),q(0x3,_0x2dbc8c),q(0x4,_0xcb6f13(_0x25d1d1))],Le);const Li=0x1,Pi=1.5;class wi extends _0x55659a{constructor(_0x286876,_0x342f64){const _0x446f51=_0x3846ff;super(_0x286876,_0x342f64),_(this,'_color'),_(this,_0x446f51(0x20e),!0x1),_(this,_0x446f51(0x243)),_(this,_0x446f51(0x166),''),_(this,_0x446f51(0x187),_0x446f51(0x2a0)),_(this,'_backgroundColor'),(_0x342f64&&this[_0x446f51(0x17a)](_0x342f64),this[_0x446f51(0xde)][_0x446f51(0x220)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x446f51(0x220)](()=>this[_0x446f51(0x17a)]({'hovered':!0x1})));}['setShapeProps'](_0x311d00){const _0x2a16d6=_0x3846ff;var _0x1097a2,_0x14f75f,_0x17af2e,_0x2a8ba9,_0x5d507f,_0x3d39ef;this[_0x2a16d6(0x1b2)]=(_0x1097a2=_0x311d00[_0x2a16d6(0x12d)])!=null?_0x1097a2:this[_0x2a16d6(0x1b2)],this[_0x2a16d6(0x20e)]=(_0x14f75f=_0x311d00['hovered'])!=null?_0x14f75f:this[_0x2a16d6(0x20e)],this[_0x2a16d6(0x243)]=(_0x17af2e=_0x311d00[_0x2a16d6(0x131)])!=null?_0x17af2e:this[_0x2a16d6(0x243)],this[_0x2a16d6(0x166)]=(_0x2a8ba9=_0x311d00['name'])!=null?_0x2a8ba9:this[_0x2a16d6(0x166)],this[_0x2a16d6(0x187)]=(_0x5d507f=_0x311d00[_0x2a16d6(0x142)])!=null?_0x5d507f:this[_0x2a16d6(0x187)],this['_backgroundColor']=(_0x3d39ef=_0x311d00[_0x2a16d6(0x206)])!=null?_0x3d39ef:this[_0x2a16d6(0x21e)],this[_0x2a16d6(0x15d)]({'width':_0x311d00[_0x2a16d6(0xb4)],'height':_0x311d00[_0x2a16d6(0xe4)]});}[_0x3846ff(0x274)](_0x1c2654){const _0x5aaef8=_0x3846ff,{row:_0x5b3247,column:_0x2fb45f}=_0x1c2654;if(_0x5b3247>=this[_0x5aaef8(0x243)][_0x5aaef8(0xf6)]&&_0x5b3247<=this[_0x5aaef8(0x243)][_0x5aaef8(0x124)]&&_0x2fb45f>=this[_0x5aaef8(0x243)][_0x5aaef8(0x198)]&&_0x2fb45f<=this[_0x5aaef8(0x243)][_0x5aaef8(0xaf)]){this[_0x5aaef8(0x17a)]({'hovered':!0x0});return;}this[_0x5aaef8(0x17a)]({'hovered':!0x1});}[_0x3846ff(0x1f1)](_0x1ae94a){return!0x1;}[_0x3846ff(0x175)](_0x18ede1){const _0x1b2b52=_0x3846ff;_0x302ade['drawWith'](_0x18ede1,{'width':this[_0x1b2b52(0xb4)],'height':this[_0x1b2b52(0xe4)],'strokeWidth':Pi,'stroke':this[_0x1b2b52(0x1b2)],'evented':!0x1,'fill':this[_0x1b2b52(0x21e)]}),this[_0x1b2b52(0x20e)]&&(_0x18ede1[_0x1b2b52(0x249)](),_0x18ede1[_0x1b2b52(0x272)](0x1,0x0,0x0,0x1,this[_0x1b2b52(0xb4)],this['_labelPosition']===_0x1b2b52(0xfa)?0x0:-J),ue[_0x1b2b52(0x1ee)](_0x18ede1,{'text':this['_name'],'color':this[_0x1b2b52(0x1b2)]}),_0x18ede1[_0x1b2b52(0x217)]());}}var Ai=Object[_0x3846ff(0x291)],yi=(_0x36f2a2,_0x447752,_0x4e1e37,_0x4f7e98)=>{const _0x2715b4=_0x3846ff;for(var _0x23beff=_0x4f7e98>0x1?void 0x0:_0x4f7e98?Ai(_0x447752,_0x4e1e37):_0x447752,_0x48f7ab=_0x36f2a2[_0x2715b4(0x17b)]-0x1,_0x3c5e24;_0x48f7ab>=0x0;_0x48f7ab--)(_0x3c5e24=_0x36f2a2[_0x48f7ab])&&(_0x23beff=_0x3c5e24(_0x23beff)||_0x23beff);return _0x23beff;},pe=(_0x3a180f,_0x369a05)=>(_0x831031,_0x4374c4)=>_0x369a05(_0x831031,_0x4374c4,_0x3a180f);const $i=0x1389;let Pe=class extends _0x1dd0ba{constructor(_0x5466bc,_0x4a5033,_0x305ac6,_0x344634){const _0x14fb0b=_0x3846ff;super(),_(this,_0x14fb0b(0x294),new Set()),_(this,_0x14fb0b(0x120),null),(this[_0x14fb0b(0x228)]=_0x5466bc,this[_0x14fb0b(0x298)]=_0x4a5033,this[_0x14fb0b(0xfc)]=_0x305ac6,this[_0x14fb0b(0xe0)]=_0x344634,this[_0x14fb0b(0x13c)]());}['_init'](){const _0x1efb05=_0x3846ff;this[_0x1efb05(0x298)]['currentSkeleton$'][_0x1efb05(0xda)](_0x13d165(this[_0x1efb05(0x2a5)]),_0x3fd595(_0x3aa856=>{const _0x13ed7b=_0x1efb05;if(_0x3aa856){const _0x3cb053=_0x3aa856[_0x13ed7b(0x2b4)];return _0x4359ad(this[_0x13ed7b(0xfc)]['getCollabCursors$'](this[_0x13ed7b(0x228)]['unitId']),this[_0x13ed7b(0xe0)][_0x13ed7b(0x11f)])['pipe'](_0x22d561(([_0xd776bb,_0x4f2ead])=>{const _0x1d38df=new Map();return _0xd776bb['forEach']((_0x1d4e29,_0x551870)=>{const _0x330a14=_0x3d7e;if(_0x1d4e29[_0x330a14(0x242)]===_0x3cb053){const _0x5f0349={..._0x1d4e29};_0x5f0349['color']=this[_0x330a14(0xe0)]['getColorFromTheme'](_0x1d4e29[_0x330a14(0x12d)]),_0x1d38df[_0x330a14(0x28a)](_0x551870,_0x5f0349);}}),{'skeleton':_0x3aa856,'cursors':_0x1d38df};}));}return _0x49ce4b({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x38525d,cursors:_0x312f1e})=>{const _0x5ad4c7=_0x1efb05;this[_0x5ad4c7(0xd3)](),_0x38525d&&this[_0x5ad4c7(0x137)](_0x38525d,_0x312f1e);}),this[_0x1efb05(0x298)][_0x1efb05(0x1a3)][_0x1efb05(0x100)](_0x428063=>{const _0x1b7c00=_0x1efb05;if(_0x428063==null)return;const {skeleton:_0x2adcb5}=_0x428063,{scene:_0x33163c}=this['_context'];_0x33163c[_0x1b7c00(0x1ca)][_0x1b7c00(0x220)](_0x4ba92b(_0xa8a9d1=>{const _0x2725f7=_0x1b7c00;var _0x3e4827,_0x171067;const {offsetX:_0x3f2754,offsetY:_0x10e592}=_0xa8a9d1,{x:_0x3b1b3c,y:_0x29e285}=_0x33163c[_0x2725f7(0x197)](_0x101d62[_0x2725f7(0x167)]([_0x3f2754,_0x10e592])),{scaleX:_0x57f994,scaleY:_0x4415a2}=_0x33163c[_0x2725f7(0x193)](),_0x3950cb=_0x33163c[_0x2725f7(0x26d)](_0xeceeba[_0x2725f7(0x296)]),_0x37bcee=_0x33163c[_0x2725f7(0x251)](_0x101d62['FromArray']([_0x3b1b3c,_0x29e285]),_0x3950cb),_0xbdbfb=_0x2adcb5[_0x2725f7(0x21b)](_0x3f2754,_0x10e592,_0x57f994,_0x4415a2,_0x37bcee);((_0x3e4827=this[_0x2725f7(0x120)])==null?void 0x0:_0x3e4827[_0x2725f7(0x111)])===_0xbdbfb[_0x2725f7(0x111)]&&((_0x171067=this['_lastPointer'])==null?void 0x0:_0x171067['row'])===_0xbdbfb[_0x2725f7(0x211)]||this[_0x2725f7(0x294)][_0x2725f7(0x1d7)](_0x53e40a=>{_0x53e40a['onMouseMove'](_0xbdbfb);});},0x64));});}[_0x3846ff(0x137)](_0x5b8aa7,_0x135c0f){const _0x1825eb=_0x3846ff;var _0x32442f;const _0x13273d=(_0x32442f=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x32442f[_0x1825eb(0x1cc)];if(!_0x13273d)return;const _0x144e78=this[_0x1825eb(0x24b)]();if(!_0x144e78)return;this[_0x1825eb(0x294)]['forEach'](_0xf8ed9f=>{_0xf8ed9f['makeDirty']();});const {scene:_0x26c4f8}=_0x144e78,_0x260aee=xi(Array['from'](_0x135c0f[_0x1825eb(0x239)]()))[_0x1825eb(0xd5)](_0x528b93=>{const {color:_0x469a39,range:_0x371e57,name:_0x1f928d,selection:_0x2fb3ce,sheetID:_0x421843}=_0x528b93,{startColumn:_0x2f5bd2,startRow:_0x30620e,endColumn:_0x311a67,endRow:_0x1ad3e5}=_0x371e57,_0xc24d58=_0x40429a(_0x30620e,_0x2f5bd2,_0x26c4f8,_0x13273d),_0x2d12ae=_0x40429a(_0x1ad3e5,_0x311a67,_0x26c4f8,_0x13273d),{columnHeaderHeightAndMarginTop:_0x39ed13}=_0x13273d,{startX:_0x1624d3,startY:_0x340be1}=_0xc24d58,{endX:_0x54c1a7,endY:_0x2c39ea}=_0x2d12ae,_0x1ebc32=_0x54c1a7-_0x1624d3,_0x28f764=_0x2c39ea-_0x340be1,_0x5a0718={'labelPosition':_0x340be1-_0x39ed13>=J?'top':'bottom','sheetID':_0x421843,'range':_0x371e57,'color':_0x469a39,'name':_0x1f928d,'selection':_0x2fb3ce,'left':_0x1624d3,'top':_0x340be1,'width':_0x1ebc32,'height':_0x28f764,'evented':!0x1,'zIndex':$i};return new wi(_0x1f928d,_0x5a0718);});_0x26c4f8[_0x1825eb(0x28f)](_0x260aee,Li),this['_cursors']=new Set(_0x260aee);}[_0x3846ff(0xd3)](){const _0x2f70bf=_0x3846ff;var _0x195a83;(_0x195a83=this[_0x2f70bf(0x294)])==null||_0x195a83[_0x2f70bf(0x1d7)](_0xe66ced=>_0xe66ced[_0x2f70bf(0x1b6)]());}[_0x3846ff(0x24b)](){const _0x58dc02=_0x3846ff;return _0x5aa4fd(this[_0x58dc02(0x228)]['unit'],this['_context']);}};Pe=yi([pe(0x1,_0xcb6f13(_0x3e5d9e)),pe(0x2,_0xcb6f13(F)),pe(0x3,_0xcb6f13(_0x25d1d1))],Pe);function xi(_0x180f97){const _0x317cda=_0x3846ff,_0x81d6cb=new Map();return _0x180f97[_0x317cda(0x1d7)](_0x15f83c=>{const _0x4c16b=_0x317cda;if(_0x81d6cb[_0x4c16b(0x1df)](_0x15f83c['selection'])){const _0x2f093d=_0x81d6cb['get'](_0x15f83c[_0x4c16b(0x152)]);_0x2f093d[_0x4c16b(0x24c)]+=',\x20'+_0x15f83c[_0x4c16b(0x24c)];}else _0x81d6cb[_0x4c16b(0x28a)](_0x15f83c[_0x4c16b(0x152)],_0x15f83c);}),Array[_0x317cda(0x104)](_0x81d6cb[_0x317cda(0x239)]());}var v=function(){const _0x242fad=_0x3846ff;return v=Object[_0x242fad(0x1c5)]||function(_0x54c3ab){const _0x28285b=_0x242fad;for(var _0x41a808,_0x2b3827=0x1,_0x168319=arguments['length'];_0x2b3827<_0x168319;_0x2b3827++){_0x41a808=arguments[_0x2b3827];for(var _0x2b9048 in _0x41a808)Object[_0x28285b(0x25a)]['hasOwnProperty'][_0x28285b(0x292)](_0x41a808,_0x2b9048)&&(_0x54c3ab[_0x2b9048]=_0x41a808[_0x2b9048]);}return _0x54c3ab;},v['apply'](this,arguments);},Bi=function(_0x32d4c5,_0x523178){const _0x3c9876=_0x3846ff;var _0x2fc08a={};for(var _0x408676 in _0x32d4c5)Object['prototype'][_0x3c9876(0x1ab)][_0x3c9876(0x292)](_0x32d4c5,_0x408676)&&_0x523178[_0x3c9876(0x1e8)](_0x408676)<0x0&&(_0x2fc08a[_0x408676]=_0x32d4c5[_0x408676]);if(_0x32d4c5!=null&&typeof Object[_0x3c9876(0x288)]==_0x3c9876(0xd7)){for(var _0x2afc88=0x0,_0x408676=Object[_0x3c9876(0x288)](_0x32d4c5);_0x2afc88<_0x408676[_0x3c9876(0x17b)];_0x2afc88++)_0x523178[_0x3c9876(0x1e8)](_0x408676[_0x2afc88])<0x0&&Object['prototype'][_0x3c9876(0x174)][_0x3c9876(0x292)](_0x32d4c5,_0x408676[_0x2afc88])&&(_0x2fc08a[_0x408676[_0x2afc88]]=_0x32d4c5[_0x408676[_0x2afc88]]);}return _0x2fc08a;},Fe=_0x8bf2f1(function(_0x306d83,_0x5d605e){const _0x37e9dc=_0x3846ff;var _0x301109=_0x306d83['icon'],_0x2e8ae0=_0x306d83['id'],_0x510b52=_0x306d83[_0x37e9dc(0x107)],_0x520202=_0x306d83[_0x37e9dc(0x21d)],_0x4bb860=Bi(_0x306d83,[_0x37e9dc(0x10f),'id',_0x37e9dc(0x107),_0x37e9dc(0x21d)]),_0x5c5661=_0x37e9dc(0x224)[_0x37e9dc(0xd9)](_0x2e8ae0,'\x20')[_0x37e9dc(0xd9)](_0x510b52||'')['trim'](),_0x33cca5=_0xb27044('_'[_0x37e9dc(0xd9)](Fi()));return Dt(_0x301109,''[_0x37e9dc(0xd9)](_0x2e8ae0),{'defIds':_0x301109['defIds'],'idSuffix':_0x33cca5[_0x37e9dc(0x156)]},v({'ref':_0x5d605e,'className':_0x5c5661},_0x4bb860),_0x520202);});function Dt(_0x18a42c,_0x2e994d,_0x475aea,_0x1bd300,_0x5efdc3){const _0x26ff1d=_0x3846ff;return _0x5c9ad0(_0x18a42c[_0x26ff1d(0x182)],v(v({'key':_0x2e994d},ki(_0x18a42c,_0x475aea,_0x5efdc3)),_0x1bd300),(Hi(_0x18a42c,_0x475aea)[_0x26ff1d(0x2a8)]||[])[_0x26ff1d(0xd5)](function(_0x4e3326,_0x4c597e){const _0x3c35c9=_0x26ff1d;return Dt(_0x4e3326,''[_0x3c35c9(0xd9)](_0x2e994d,'-')[_0x3c35c9(0xd9)](_0x18a42c[_0x3c35c9(0x182)],'-')[_0x3c35c9(0xd9)](_0x4c597e),_0x475aea,void 0x0,_0x5efdc3);}));}function ki(_0x3d48be,_0x5b9b5e,_0x1455d8){const _0x454cbd=_0x3846ff;var _0x18be44=v({},_0x3d48be[_0x454cbd(0xb5)]);_0x1455d8!=null&&_0x1455d8[_0x454cbd(0x1f8)]&&_0x18be44[_0x454cbd(0xd1)]==='colorChannel1'&&(_0x18be44[_0x454cbd(0xd1)]=_0x1455d8[_0x454cbd(0x1f8)]),_0x3d48be['tag']===_0x454cbd(0xbb)&&_0x18be44['id']&&(_0x18be44['id']=_0x18be44['id']+_0x5b9b5e[_0x454cbd(0x25b)]),Object[_0x454cbd(0x273)](_0x18be44)['forEach'](function(_0x1f50ac){const _0x39d923=_0x454cbd;var _0x1f1262=_0x1f50ac[0x0],_0x66822=_0x1f50ac[0x1];_0x1f1262===_0x39d923(0xbb)&&typeof _0x66822==_0x39d923(0x240)&&(_0x18be44[_0x1f1262]=_0x66822[_0x39d923(0x178)](/url\(#(.*)\)/,_0x39d923(0x1b9)['concat'](_0x5b9b5e[_0x39d923(0x25b)],')')));});var _0x17675b=_0x5b9b5e['defIds'];return!_0x17675b||_0x17675b['length']===0x0||(_0x3d48be[_0x454cbd(0x182)]===_0x454cbd(0x267)&&_0x18be44['xlink:href']&&(_0x18be44[_0x454cbd(0x268)]=_0x18be44['xlink:href']+_0x5b9b5e['idSuffix']),Object[_0x454cbd(0x273)](_0x18be44)[_0x454cbd(0x1d7)](function(_0x18df01){const _0x53629b=_0x454cbd;var _0x21b2fd=_0x18df01[0x0],_0x49f853=_0x18df01[0x1];typeof _0x49f853==_0x53629b(0x240)&&(_0x18be44[_0x21b2fd]=_0x49f853[_0x53629b(0x178)](/url\(#(.*)\)/,_0x53629b(0x1b9)['concat'](_0x5b9b5e['idSuffix'],')')));})),_0x18be44;}function Hi(_0x5032e3,_0x4172f9){const _0x4a71a9=_0x3846ff;var _0x4ffa5d,_0xa29577=_0x4172f9[_0x4a71a9(0x2a9)];return!_0xa29577||_0xa29577[_0x4a71a9(0x17b)]===0x0?_0x5032e3:_0x5032e3[_0x4a71a9(0x182)]===_0x4a71a9(0x143)&&(!((_0x4ffa5d=_0x5032e3[_0x4a71a9(0x2a8)])===null||_0x4ffa5d===void 0x0)&&_0x4ffa5d[_0x4a71a9(0x17b)])?v(v({},_0x5032e3),{'children':_0x5032e3[_0x4a71a9(0x2a8)][_0x4a71a9(0xd5)](function(_0x1f1c1b){const _0x39fcec=_0x4a71a9;return typeof _0x1f1c1b[_0x39fcec(0xb5)]['id']==_0x39fcec(0x240)&&_0xa29577&&_0xa29577[_0x39fcec(0x213)](_0x1f1c1b[_0x39fcec(0xb5)]['id'])?v(v({},_0x1f1c1b),{'attrs':v(v({},_0x1f1c1b[_0x39fcec(0xb5)]),{'id':_0x1f1c1b[_0x39fcec(0xb5)]['id']+_0x4172f9[_0x39fcec(0x25b)]})}):_0x1f1c1b;})}):_0x5032e3;}function Fi(){const _0x56cae6=_0x3846ff;return Math[_0x56cae6(0xe8)]()[_0x56cae6(0x1a7)](0x24)[_0x56cae6(0x184)](0x2,0x8);}Fe[_0x3846ff(0x199)]=_0x3846ff(0x1d0);var Yi={'tag':_0x3846ff(0x1fa),'attrs':{'xmlns':_0x3846ff(0x23b),'fill':_0x3846ff(0x183),'viewBox':_0x3846ff(0x22c),'width':_0x3846ff(0x13f),'height':_0x3846ff(0x13f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3846ff(0x260)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'stroke':_0x3846ff(0xf0),'d':_0x3846ff(0x284),'strokeLinecap':_0x3846ff(0xb3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3846ff(0x143),'attrs':{},'children':[{'tag':_0x3846ff(0x2af),'attrs':{'id':_0x3846ff(0xba)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'fill':'white','d':_0x3846ff(0x1a4)}}]}]}],'defIds':[_0x3846ff(0xba)]},Nt=_0x8bf2f1(function(_0x5ac083,_0x558469){const _0x141bf7=_0x3846ff;return _0x5c9ad0(Fe,Object[_0x141bf7(0x1c5)]({},_0x5ac083,{'id':_0x141bf7(0x13d),'ref':_0x558469,'icon':Yi}));});Nt['displayName']='OffLineIcon';var ji={'tag':_0x3846ff(0x1fa),'attrs':{'xmlns':_0x3846ff(0x23b),'fill':'none','viewBox':_0x3846ff(0x1ea),'width':_0x3846ff(0x13f),'height':_0x3846ff(0x13f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3846ff(0x1eb)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'stroke':_0x3846ff(0xf0),'d':_0x3846ff(0x2ac),'strokeLinecap':_0x3846ff(0xb3),'strokeLinejoin':_0x3846ff(0xb3),'strokeWidth':1.2}}]},{'tag':_0x3846ff(0x143),'attrs':{},'children':[{'tag':_0x3846ff(0x2af),'attrs':{'id':_0x3846ff(0x23f)},'children':[{'tag':_0x3846ff(0x113),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x3846ff(0x258)}}]}]}],'defIds':[_0x3846ff(0x23f)]},Ut=_0x8bf2f1(function(_0xff85e9,_0x6aabec){const _0xa2a3fb=_0x3846ff;return _0x5c9ad0(Fe,Object[_0xa2a3fb(0x1c5)]({},_0xff85e9,{'id':_0xa2a3fb(0x1b1),'ref':_0x6aabec,'icon':ji}));});Ut['displayName']='OnLineIcon';function Vi(_0x1254a6){const _0x3b63c7=_0x3846ff;switch(_0x1254a6){case _0x28123e['OFFLINE']:return _0x3b63c7(0x2a3);case _0x28123e[_0x3b63c7(0x1f4)]:return _0x3b63c7(0xca);case _0x28123e[_0x3b63c7(0x244)]:return _0x3b63c7(0xb1);case _0x28123e[_0x3b63c7(0x22b)]:return _0x3b63c7(0xfb);case _0x28123e['AWAITING']:case _0x28123e['AWAITING_WITH_PENDING']:return _0x3b63c7(0x265);case _0x28123e[_0x3b63c7(0x189)]:case _0x28123e[_0x3b63c7(0x18e)]:return _0x3b63c7(0x231);}}function Wi(_0x2c78c3){const _0x2c3291=_0x3846ff,{status$:_0x2cc23f}=_0x2c78c3,_0x529520=_0x1816ec(_0x2cc23f,_0x28123e['NOT_COLLAB']),_0x12f8c0=_0x36b3a5(_0x4c047b),_0x558680=_0x36b3a5(_0x8cd09e),_0xd8cdaf=_0x529520!==_0x28123e['OFFLINE'],_0x2f3276=_0x12f8c0['t'](Vi(_0x529520)),_0x4cc4e6=_0xd8cdaf?_0x2f1c89(Ut,{}):_0x2f1c89(Nt,{}),_0x3c3ccf=_0x30382f(()=>{const _0x2ad4aa=_0x3d7e;_0xd8cdaf||_0x558680[_0x2ad4aa(0x1ec)]();},[_0xd8cdaf,_0x558680]);function _0xef1734(){const _0x2efc78=_0x3d7e;return _0x35ed68(_0x2efc78(0x253),{'className':'univer-flex\x20univer-items-center','onClick':_0x3c3ccf,'children':[_0x2f1c89(_0x2efc78(0x253),{'className':_0x21dd86(_0x2efc78(0x122),{'univer-text-green-500':_0xd8cdaf,'univer-text-red-500':!_0xd8cdaf}),'children':_0x4cc4e6}),_0x2f1c89('div',{'className':_0x2efc78(0x226),'children':_0x2f3276})]});}return _0xd8cdaf?_0xef1734():_0x2f1c89(_0x2477ff,{'title':_0x12f8c0['t'](_0x2c3291(0x1b7)),'children':_0xef1734()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1f47fb,_0x3ad4f1,_0x336ccc,_0x31f50b)=>{const _0x2bf60a=_0x3846ff;for(var _0x19bfbf=_0x31f50b>0x1?void 0x0:_0x31f50b?Xi(_0x3ad4f1,_0x336ccc):_0x3ad4f1,_0x5a3ae0=_0x1f47fb[_0x2bf60a(0x17b)]-0x1,_0x129103;_0x5a3ae0>=0x0;_0x5a3ae0--)(_0x129103=_0x1f47fb[_0x5a3ae0])&&(_0x19bfbf=_0x129103(_0x19bfbf)||_0x19bfbf);return _0x19bfbf;},ee=(_0x4553ad,_0xc1c70c)=>(_0x2581ab,_0x25c571)=>_0xc1c70c(_0x2581ab,_0x25c571,_0x4553ad);let se=class extends _0x3a37e9{constructor(_0x5ea5ad,_0x513640,_0x185d8b,_0x13109b){const _0x19097b=_0x3846ff;super(),_(this,'_status$',new _0x40deef(_0x28123e[_0x19097b(0x22b)])),(this[_0x19097b(0x21a)]=_0x5ea5ad,this['_injector']=_0x513640,this[_0x19097b(0x1fc)]=_0x185d8b,this[_0x19097b(0x20b)]=_0x13109b,this[_0x19097b(0x1f0)](),this[_0x19097b(0xb6)]());}[_0x3846ff(0xb6)](){const _0x5779f4=_0x3846ff;this['disposeWithMe'](this['_univerInstanceService'][_0x5779f4(0x297)]['pipe'](_0x1ae0b1(()=>{const _0x107fae=_0x5779f4,_0xebc798=this[_0x107fae(0x21a)][_0x107fae(0x1fe)]();return _0xebc798?this[_0x107fae(0x1fc)]['getCollabEntity$'](_0xebc798['getUnitId']()):_0x49ce4b(null);}),_0x1ae0b1(_0x4e0a15=>_0x4e0a15?_0x4e0a15[_0x5779f4(0x1e1)]:_0x49ce4b(_0x28123e[_0x5779f4(0x22b)])))[_0x5779f4(0x100)](_0x25185c=>{const _0x59fc7b=_0x5779f4;this[_0x59fc7b(0x1a5)][_0x59fc7b(0xb0)](_0x25185c);}));}[_0x3846ff(0x1f0)](){const _0x35607a=_0x3846ff;this[_0x35607a(0x16a)](this[_0x35607a(0x20b)]['registerComponent'](_0xe910f7['HEADER_MENU'],()=>_0x2f6785(Ki({'status$':this['_status$'][_0x35607a(0x14c)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x29ac28),ee(0x1,_0xcb6f13(_0x36eec9)),ee(0x2,_0xcb6f13(_0x82f0fa)),ee(0x3,_0x447572)],se);function Ki(_0x135503){const {status$:_0x5c7369}=_0x135503;return function(){return _0x2f1c89(Wi,{'status$':_0x5c7369});};}var zi=Object[_0x3846ff(0x291)],Ji=(_0x179102,_0x76497d,_0x3f3031,_0x59f9d5)=>{const _0x1a7bed=_0x3846ff;for(var _0x86f609=_0x59f9d5>0x1?void 0x0:_0x59f9d5?zi(_0x76497d,_0x3f3031):_0x76497d,_0x8981c4=_0x179102[_0x1a7bed(0x17b)]-0x1,_0x219449;_0x8981c4>=0x0;_0x8981c4--)(_0x219449=_0x179102[_0x8981c4])&&(_0x86f609=_0x219449(_0x86f609)||_0x86f609);return _0x86f609;},B=(_0x51b9d8,_0x5c54ba)=>(_0x934dfa,_0x17f3aa)=>_0x5c54ba(_0x934dfa,_0x17f3aa,_0x51b9d8);let ie=class extends _0x3a37e9{constructor(_0x2d55a9,_0x99b6d1,_0x3ddcde,_0x379fbb,_0x350ff1,_0x13d72d){const _0x1b1c3e=_0x3846ff;super(),this[_0x1b1c3e(0x266)]=_0x2d55a9,this[_0x1b1c3e(0x23d)]=_0x99b6d1,this[_0x1b1c3e(0x177)]=_0x3ddcde,this[_0x1b1c3e(0x1e9)]=_0x379fbb,this['_notificationService']=_0x350ff1,this['_localeService']=_0x13d72d,this[_0x1b1c3e(0x112)](),this[_0x1b1c3e(0x141)]();}['_setupBeforeClosingHandler'](){const _0x267f0b=_0x3846ff;this[_0x267f0b(0x16a)](this[_0x267f0b(0x266)][_0x267f0b(0x276)](()=>{const _0x23419c=_0x267f0b;if(this[_0x23419c(0x23d)]['saveTaskMap']['size'])return this[_0x23419c(0x157)]['t'](_0x23419c(0x1b3));}));}[_0x3846ff(0x141)](){const _0x593f87=_0x3846ff;this[_0x593f87(0x16a)](this[_0x593f87(0x177)][_0x593f87(0xe6)]['subscribe'](_0x37e398=>{const _0xea1abf=_0x593f87;_0x37e398['id']===_0x53338d[_0xea1abf(0xe7)]&&this[_0xea1abf(0x1e9)][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x27b)],'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0x289))}),_0x37e398['id']===_0x53338d['CLOSE_ROOM']&&this[_0xea1abf(0x1e9)]['show']({'type':_0x3e623b['Warning'],'content':this['_localeService']['t'](_0xea1abf(0x214))}),_0x37e398['id']===_0x53338d['PERMISSION_DENIED']&&this[_0xea1abf(0x1d3)][_0xea1abf(0x245)]({'title':this[_0xea1abf(0x157)]['t']('permission.title'),'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0x27a)),'type':_0xea1abf(0x1e6),'duration':0x0}),_0x37e398['id']===_0x53338d[_0xea1abf(0x1f4)]&&this[_0xea1abf(0x1e9)][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x176)],'content':this['_localeService']['t'](_0xea1abf(0x214))+'('+_0x37e398[_0xea1abf(0x2b3)]+')'}),_0x37e398['id']===_0x53338d[_0xea1abf(0x1e5)]&&this[_0xea1abf(0x1e9)]['show']({'type':_0x3e623b['Warning'],'content':this[_0xea1abf(0x157)]['t'](_0x37e398[_0xea1abf(0x2b3)]||'')}),_0x37e398['id']===_0x53338d['SOCKET_FAILED_RETRY']&&this['_messageService'][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x27b)],'content':this['_localeService']['t'](_0xea1abf(0x285))}),_0x37e398['id']===_0x53338d[_0xea1abf(0x115)]&&this['_messageService'][_0xea1abf(0x245)]({'type':_0x3e623b[_0xea1abf(0x176)],'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0x1e2))}),_0x37e398['id']===_0x53338d['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xea1abf(0x1e9)]['show']({'type':_0x3e623b[_0xea1abf(0x176)],'content':this[_0xea1abf(0x157)]['t'](_0xea1abf(0xcd))});}));}};ie=Ji([B(0x0,_0x3debdd),B(0x1,_0x67222d),B(0x2,_0xcb6f13(_0x49e50d)),B(0x3,_0x422831),B(0x4,_0x22ad52),B(0x5,_0xcb6f13(_0x4c047b))],ie);const Zi=_0x3846ff(0x181),et={},Mt=_0x37d825(_0x3846ff(0x22e));var Qi=Object[_0x3846ff(0x291)],qi=(_0x4dc941,_0x3f5a50,_0x49bb91,_0x23fd9d)=>{const _0x2a460a=_0x3846ff;for(var _0x282d9b=_0x23fd9d>0x1?void 0x0:_0x23fd9d?Qi(_0x3f5a50,_0x49bb91):_0x3f5a50,_0xb5d00c=_0x4dc941[_0x2a460a(0x17b)]-0x1,_0x513c7b;_0xb5d00c>=0x0;_0xb5d00c--)(_0x513c7b=_0x4dc941[_0xb5d00c])&&(_0x282d9b=_0x513c7b(_0x282d9b)||_0x282d9b);return _0x282d9b;},K=(_0x15f508,_0x19505b)=>(_0x379953,_0x210916)=>_0x19505b(_0x379953,_0x210916,_0x15f508);let ne=class extends _0x1dd0ba{constructor(_0xef5611,_0x42f8de,_0x45a7e9,_0x5bd7f0,_0x2ed35){const _0x48cd4e=_0x3846ff;super(),this[_0x48cd4e(0x1ef)]=_0xef5611,this[_0x48cd4e(0x1c1)]=_0x42f8de,this[_0x48cd4e(0x1ba)]=_0x45a7e9,this[_0x48cd4e(0xc8)]=_0x5bd7f0,_0x2ed35?_0x2ed35==null||_0x2ed35[_0x48cd4e(0x1bb)]()['then'](()=>this[_0x48cd4e(0x13c)]()):(this[_0x48cd4e(0x1c1)]['debug']('[CollaborationDataLoaderController]',_0x48cd4e(0xe5)),this[_0x48cd4e(0x13c)]());}async[_0x3846ff(0x13c)](){const _0x5bbe9b=_0x3846ff,_0x19b5dc=this[_0x5bbe9b(0x1ef)]['getParam']('unit'),_0x54ceb8=this['_urlService'][_0x5bbe9b(0xc3)](_0x5bbe9b(0x103)),_0x744a34=this[_0x5bbe9b(0x1ef)][_0x5bbe9b(0xc3)](_0x5bbe9b(0xf5));if(!_0x19b5dc||!_0x54ceb8){this['_logService'][_0x5bbe9b(0x1a1)](_0x5bbe9b(0x14f),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x106f13=await this[_0x5bbe9b(0xc8)][_0x5bbe9b(0x26a)](_0x19b5dc,Number(_0x54ceb8),_0x744a34);_0x106f13&&_0x106f13 instanceof _0x3a9cd8&&this[_0x5bbe9b(0x179)](_0x106f13);}async[_0x3846ff(0x179)](_0x21b472){const _0x2b1ef6=_0x3846ff;await this[_0x2b1ef6(0x28b)](_0x21b472),_0x21b472['activeSheet$'][_0x2b1ef6(0xda)](_0xa4e4b6(this[_0x2b1ef6(0x2a5)]))[_0x2b1ef6(0x100)](_0x1f330a=>{const _0x4272c7=_0x2b1ef6;_0x1f330a&&this[_0x4272c7(0x2b2)](_0x1f330a);}),this[_0x2b1ef6(0x1ef)]['urlChange$'][_0x2b1ef6(0xda)](_0xa4e4b6(this[_0x2b1ef6(0x2a5)]))[_0x2b1ef6(0x100)](()=>this['_updateSubUnitFromURLParams'](_0x21b472));}[_0x3846ff(0x2b2)](_0x4bd064,_0x5e4775=!0x1){const _0x21919e=_0x3846ff,_0xdfd10a=this[_0x21919e(0x1ef)][_0x21919e(0xc3)](_0x21919e(0xf5));_0x4bd064[_0x21919e(0x164)]()!==_0xdfd10a&&this[_0x21919e(0x1ef)]['setParam'](_0x21919e(0xf5),_0x4bd064[_0x21919e(0x164)](),_0x5e4775);}async['_updateSubUnitFromURLParams'](_0x142dc1){const _0x527924=_0x3846ff;var _0x40b0e3;const _0x4e9df6=this[_0x527924(0x1ef)][_0x527924(0xc3)](_0x527924(0xf5));if(!_0x4e9df6||!_0x142dc1[_0x527924(0x10a)](_0x4e9df6)){const _0x299d76=_0x142dc1[_0x527924(0xdd)]()[0x0],_0x21ad58=_0x142dc1[_0x527924(0x10a)](_0x299d76);if(!_0x21ad58)return;this['_updateURLWithCurrentState'](_0x21ad58,!0x0),await this['_commandService'][_0x527924(0xce)](_0x183106['id'],{'unitId':_0x142dc1[_0x527924(0x196)](),'subUnitId':_0x299d76});return;}((_0x40b0e3=_0x142dc1[_0x527924(0x264)]())==null?void 0x0:_0x40b0e3['getSheetId']())!==_0x4e9df6&&await this['_commandService'][_0x527924(0xce)](_0x183106['id'],{'unitId':_0x142dc1[_0x527924(0x196)](),'subUnitId':_0x4e9df6});}};ne=qi([K(0x0,Mt),K(0x1,_0x2feec0),K(0x2,_0x2dbc8c),K(0x3,_0xcb6f13(_0x4523d5)),K(0x4,_0x55df5d(_0x267e52))],ne);var en=Object[_0x3846ff(0x291)],tn=(_0x3666f6,_0x5c0bab,_0x409aa4,_0x45dd69)=>{const _0x290381=_0x3846ff;for(var _0x474338=_0x45dd69>0x1?void 0x0:_0x45dd69?en(_0x5c0bab,_0x409aa4):_0x5c0bab,_0x4e1fd0=_0x3666f6[_0x290381(0x17b)]-0x1,_0xc0d842;_0x4e1fd0>=0x0;_0x4e1fd0--)(_0xc0d842=_0x3666f6[_0x4e1fd0])&&(_0x474338=_0xc0d842(_0x474338)||_0x474338);return _0x474338;},tt=(_0xd095cd,_0x3e422e)=>(_0x1f910c,_0x5e5454)=>_0x3e422e(_0x1f910c,_0x5e5454,_0xd095cd);let re=class{constructor(_0x2d13eb,_0x3cb3f8){const _0x6ba58f=_0x3846ff;this[_0x6ba58f(0x219)]=_0x2d13eb,this['_renderManagerService']=_0x3cb3f8;}[_0x3846ff(0x1e4)](_0x15eda2){const _0x5d3989=_0x3846ff;this[_0x5d3989(0x1d4)](_0x15eda2),this[_0x5d3989(0x15b)](_0x15eda2);}['transformRemoteChangeset'](_0xe3efeb){const _0x4db8ff=_0x3846ff,{unitID:_0x40df44}=_0xe3efeb,_0x35bbfc=this[_0x4db8ff(0xbf)][_0x4db8ff(0x24e)](_0x40df44)[_0x4db8ff(0xfd)](_0x3bb9c0),{redoCache:_0x5d92aa}=_0x35bbfc[_0x4db8ff(0x227)]();if(_0x5d92aa[_0x4db8ff(0x17b)]===0x0)return _0xe3efeb;let _0x28e676=_0x7aa6fc[_0x4db8ff(0x281)](_0xe3efeb[_0x4db8ff(0x114)][0x0]);for(let _0x14f534=0x0;_0x14f534<_0x5d92aa[_0x4db8ff(0x17b)];_0x14f534++){const _0x1ee1be={'id':'doc.mutation.rich-text-editing','params':{..._0x5d92aa[_0x14f534]}},_0x23b53d=this[_0x4db8ff(0x219)][_0x4db8ff(0x1a6)](_0x28e676,_0x1ee1be,!0x1);if(_0x15999e(_0x23b53d))throw _0x23b53d[_0x4db8ff(0x1e6)];_0x28e676=_0x23b53d[_0x4db8ff(0xf9)];}return{..._0x7aa6fc[_0x4db8ff(0x281)](_0xe3efeb),'mutations':[_0x28e676]};}['_transformUndoRedoStack'](_0x37113b){const _0x53d0b9=_0x3846ff,{unitID:_0x840a48}=_0x37113b,_0x9e7b4d=this[_0x53d0b9(0xbf)][_0x53d0b9(0x24e)](_0x840a48)[_0x53d0b9(0xfd)](_0x3bb9c0),{undoCache:_0x314ac7,redoCache:_0x18b44e}=_0x9e7b4d['getUndoRedoMutationParamsCache']();if(_0x314ac7[_0x53d0b9(0x17b)]===0x0||_0x18b44e['length']===0x0)return;const _0x2a6623=[],_0x803e2e=[];let _0x30f143=_0x7aa6fc[_0x53d0b9(0x281)](_0x37113b['mutations'][0x0]),_0x25911c=_0x7aa6fc[_0x53d0b9(0x281)](_0x37113b[_0x53d0b9(0x114)][0x0]);for(let _0x5869b7=_0x314ac7[_0x53d0b9(0x17b)]-0x1;_0x5869b7>=0x0;_0x5869b7--){const _0x5253eb={'id':_0x53d0b9(0x136),'params':{..._0x314ac7[_0x5869b7]}},_0x40a9c9={'id':'doc.mutation.rich-text-editing','params':{..._0x18b44e[_0x5869b7]}},_0x1cfb97=this['_transformService']['transformMutation'](_0x30f143,_0x5253eb,!0x1),_0xaaf10a=this[_0x53d0b9(0x219)][_0x53d0b9(0x1a6)](_0x25911c,_0x40a9c9,!0x1);if(_0x15999e(_0x1cfb97))throw _0x1cfb97[_0x53d0b9(0x1e6)];if(_0x15999e(_0xaaf10a))throw _0xaaf10a[_0x53d0b9(0x1e6)];_0x2a6623[_0x53d0b9(0x19e)](_0x1cfb97[_0x53d0b9(0x261)]['params']),_0x803e2e['unshift'](_0xaaf10a['m2Prime']['params']),_0x30f143=_0x1cfb97[_0x53d0b9(0xf9)],_0x25911c=_0xaaf10a[_0x53d0b9(0xf9)];}_0x9e7b4d[_0x53d0b9(0x238)]({'undoCache':_0x2a6623,'redoCache':_0x803e2e});}['_transformPreviousActiveRange'](_0x1290ef){const _0x4530cd=_0x3846ff,{unitID:_0x366a27}=_0x1290ef,_0x159fff=this[_0x4530cd(0xbf)][_0x4530cd(0x24e)](_0x366a27)[_0x4530cd(0xfd)](_0x3bb9c0),_0x39ce07=_0x159fff[_0x4530cd(0x216)]();if(_0x39ce07==null)return;const _0x19df66=[{'id':_0x4530cd(0x136),'params':{'unitId':_0x1290ef[_0x4530cd(0x190)],'actions':null,'textRanges':[_0x39ce07]}}],_0x342947=this[_0x4530cd(0x219)][_0x4530cd(0x2a1)](_0x1290ef,_0x19df66);if(!_0x2bf266(_0x342947))throw _0x342947[_0x4530cd(0x1e6)];const _0x3ba7b2=_0x342947[_0x4530cd(0x261)][0x0][_0x4530cd(0x248)][_0x4530cd(0x295)];Array[_0x4530cd(0xf1)](_0x3ba7b2)&&_0x3ba7b2[_0x4530cd(0x17b)]&&_0x159fff['setActiveRange'](_0x3ba7b2[0x0]);}};re=tn([tt(0x0,_0x59419b),tt(0x1,_0x289176)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x334c6a,_0x143f84,_0x1a7fc4,_0x3b0e28)=>{const _0x2dd487=_0x3846ff;for(var _0x8aa333=_0x3b0e28>0x1?void 0x0:_0x3b0e28?sn(_0x143f84,_0x1a7fc4):_0x143f84,_0x56eb4c=_0x334c6a[_0x2dd487(0x17b)]-0x1,_0x552312;_0x56eb4c>=0x0;_0x56eb4c--)(_0x552312=_0x334c6a[_0x56eb4c])&&(_0x8aa333=_0x552312(_0x8aa333)||_0x8aa333);return _0x8aa333;},Ce=(_0x42a907,_0x2065f1)=>(_0x3c97cf,_0x119dc0)=>_0x2065f1(_0x3c97cf,_0x119dc0,_0x42a907);let oe=class{constructor(_0x1f04fa,_0x18b5a9,_0x109c32){const _0x20732e=_0x3846ff;this['_injector']=_0x1f04fa,this[_0x20732e(0x219)]=_0x18b5a9,this[_0x20732e(0x14a)]=_0x109c32;}['transformStateCache'](_0x4e8a40){const _0x4765f9=_0x3846ff;this[_0x4765f9(0x271)](_0x4e8a40);}[_0x3846ff(0x16d)](_0x41417c){const _0x4bd441=_0x3846ff,{unitID:_0x126362}=_0x41417c,{collaboration:_0xfef5dd}=this[_0x4bd441(0x14a)][_0x4bd441(0x1c2)](_0x126362);if(_0xfef5dd[_0x4bd441(0x17b)]===0x0)return _0x41417c;let _0x31fbb2=_0x7aa6fc[_0x4bd441(0x281)](_0x41417c[_0x4bd441(0x114)][0x0]);for(let _0xac2f08=0x0;_0xac2f08<_0xfef5dd[_0x4bd441(0x17b)];_0xac2f08++){const _0xdf73b5={'id':_0x4bd441(0x136),'params':{'unitId':_0xfef5dd[_0xac2f08][_0x4bd441(0x1d6)],..._0xfef5dd[_0xac2f08][_0x4bd441(0x277)]}},_0x540def=this[_0x4bd441(0x219)][_0x4bd441(0x1a6)](_0x31fbb2,_0xdf73b5,!0x1);if(_0x15999e(_0x540def))throw _0x540def[_0x4bd441(0x1e6)];_0x31fbb2=_0x540def[_0x4bd441(0xf9)];}return{..._0x7aa6fc[_0x4bd441(0x281)](_0x41417c),'mutations':[_0x31fbb2]};}[_0x3846ff(0x271)](_0x3a29a9){const _0x48135e=_0x3846ff,{unitID:_0x2292c5}=_0x3a29a9,{history:_0x123c0e,collaboration:_0x1e0990}=this['_docStateChangeManagerService'][_0x48135e(0x1c2)](_0x2292c5);if(_0x123c0e['length']===0x0&&_0x1e0990['length']===0x0)return;const _0x9a6a8d=[],_0x4d7543=[];let _0x35cf8a=_0x7aa6fc[_0x48135e(0x281)](_0x3a29a9['mutations'][0x0]),_0xc8b7b0=_0x7aa6fc[_0x48135e(0x281)](_0x3a29a9[_0x48135e(0x114)][0x0]);for(let _0x49666a=_0x123c0e[_0x48135e(0x17b)]-0x1;_0x49666a>=0x0;_0x49666a--){const _0x29b094={'id':_0x48135e(0x136),'params':{'unitId':_0x123c0e[_0x49666a][_0x48135e(0x1d6)],..._0x123c0e[_0x49666a][_0x48135e(0x132)]}},_0x920702={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x123c0e[_0x49666a][_0x48135e(0x1d6)],..._0x123c0e[_0x49666a][_0x48135e(0x277)]}},_0xcdbcb0=this[_0x48135e(0x219)][_0x48135e(0x1a6)](_0x35cf8a,_0x29b094,!0x1),_0x40927f=this[_0x48135e(0x219)][_0x48135e(0x1a6)](_0xc8b7b0,_0x920702,!0x1);if(_0x15999e(_0xcdbcb0))throw _0xcdbcb0['error'];if(_0x15999e(_0x40927f))throw _0x40927f[_0x48135e(0x1e6)];_0x9a6a8d['unshift']({..._0x123c0e[_0x49666a],'undoState':_0xcdbcb0[_0x48135e(0x261)]['params'],'redoState':_0x40927f[_0x48135e(0x261)][_0x48135e(0x248)]}),_0x35cf8a=_0xcdbcb0['m1Prime'],_0xc8b7b0=_0x40927f[_0x48135e(0xf9)];}_0x35cf8a=_0x7aa6fc[_0x48135e(0x281)](_0x3a29a9[_0x48135e(0x114)][0x0]),_0xc8b7b0=_0x7aa6fc['deepClone'](_0x3a29a9[_0x48135e(0x114)][0x0]);for(let _0x168877=_0x1e0990[_0x48135e(0x17b)]-0x1;_0x168877>=0x0;_0x168877--){const _0x38015b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e0990[_0x168877][_0x48135e(0x1d6)],..._0x1e0990[_0x168877][_0x48135e(0x132)]}},_0x49cf29={'id':_0x48135e(0x136),'params':{'unitId':_0x1e0990[_0x168877][_0x48135e(0x1d6)],..._0x1e0990[_0x168877][_0x48135e(0x277)]}},_0x4e0c33=this['_transformService'][_0x48135e(0x1a6)](_0x35cf8a,_0x38015b,!0x1),_0x151105=this[_0x48135e(0x219)][_0x48135e(0x1a6)](_0xc8b7b0,_0x49cf29,!0x1);if(_0x15999e(_0x4e0c33))throw _0x4e0c33['error'];if(_0x15999e(_0x151105))throw _0x151105['error'];_0x4d7543[_0x48135e(0x19e)]({..._0x1e0990[_0x168877],'undoState':_0x4e0c33[_0x48135e(0x261)][_0x48135e(0x248)],'redoState':_0x151105['m2Prime'][_0x48135e(0x248)]}),_0x35cf8a=_0x4e0c33[_0x48135e(0xf9)],_0xc8b7b0=_0x151105['m1Prime'];}this[_0x48135e(0x14a)][_0x48135e(0x1d9)](_0x2292c5,{'history':_0x9a6a8d,'collaboration':_0x4d7543});}};oe=nn([Ce(0x0,_0xcb6f13(_0x36eec9)),Ce(0x1,_0x59419b),Ce(0x2,_0xcb6f13(_0x343bb8))],oe);var rn=Object[_0x3846ff(0x291)],on=(_0x4e623f,_0x220e89,_0x107e41,_0x562ea6)=>{const _0x27dd49=_0x3846ff;for(var _0x34394e=_0x562ea6>0x1?void 0x0:_0x562ea6?rn(_0x220e89,_0x107e41):_0x220e89,_0x50c43e=_0x4e623f[_0x27dd49(0x17b)]-0x1,_0x2239b1;_0x50c43e>=0x0;_0x50c43e--)(_0x2239b1=_0x4e623f[_0x50c43e])&&(_0x34394e=_0x2239b1(_0x34394e)||_0x34394e);return _0x34394e;},st=(_0x55193a,_0x52023c)=>(_0x2fd85b,_0x13f9a9)=>_0x52023c(_0x2fd85b,_0x13f9a9,_0x55193a);let ae=class{constructor(_0x56dd46,_0x104b01){const _0x191d3b=_0x3846ff;this[_0x191d3b(0x237)]=_0x56dd46,this[_0x191d3b(0x219)]=_0x104b01;}[_0x3846ff(0x1aa)](_0x419f15){const _0x1a6eea=_0x3846ff;var _0xd77302;const _0x476822=this[_0x1a6eea(0x237)][_0x1a6eea(0x119)](_0x33914e),_0x542145=(_0xd77302=_0x476822['getDocRanges']())!=null?_0xd77302:[];if(_0x542145['length']===0x0)return;const _0x50ff88=_0x419f15['unitID'],_0x2c786c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50ff88,'actions':null,'textRanges':_0x542145}}],_0x33fb67=this[_0x1a6eea(0x219)][_0x1a6eea(0x2a1)](_0x419f15,_0x2c786c);if(!_0x2bf266(_0x33fb67))throw _0x33fb67[_0x1a6eea(0x1e6)];const _0x140209=_0x33fb67[_0x1a6eea(0x261)][0x0]['params'][_0x1a6eea(0x295)];Array[_0x1a6eea(0xf1)](_0x140209)&&_0x140209[_0x1a6eea(0x17b)]&&_0x476822[_0x1a6eea(0x15e)](_0x140209,{'unitId':_0x50ff88,'subUnitId':_0x50ff88},!0x1);}};ae=on([st(0x0,_0xcb6f13(_0x36eec9)),st(0x1,_0x59419b)],ae);var an=Object[_0x3846ff(0x291)],cn=(_0x3ab160,_0x39a095,_0x3278c1,_0x204e74)=>{const _0x33924c=_0x3846ff;for(var _0x59b56c=_0x204e74>0x1?void 0x0:_0x204e74?an(_0x39a095,_0x3278c1):_0x39a095,_0x48b04e=_0x3ab160[_0x33924c(0x17b)]-0x1,_0x525ca8;_0x48b04e>=0x0;_0x48b04e--)(_0x525ca8=_0x3ab160[_0x48b04e])&&(_0x59b56c=_0x525ca8(_0x59b56c)||_0x59b56c);return _0x59b56c;},N=(_0x40df34,_0x2c1141)=>(_0x2cb3b0,_0x392ed5)=>_0x2c1141(_0x2cb3b0,_0x392ed5,_0x40df34);let ce=class extends _0x3a37e9{constructor(_0x2843b9,_0x425816,_0x5d74dc,_0x3a2dc7,_0x2c10e6,_0x5e9342,_0x322b69,_0xff8002){const _0x3190c7=_0x3846ff;super(),_(this,_0x3190c7(0x1a5),new _0x40deef(_0x28123e[_0x3190c7(0x22b)])),(this[_0x3190c7(0x14a)]=_0x2843b9,this[_0x3190c7(0x1fc)]=_0x425816,this['_docTransformIMECacheService']=_0x5d74dc,this['_docTransformStateCacheService']=_0x3a2dc7,this['_docTransformSelectionsService']=_0x2c10e6,this[_0x3190c7(0xf4)]=_0x5e9342,this[_0x3190c7(0x1e9)]=_0x322b69,this[_0x3190c7(0x157)]=_0xff8002,this[_0x3190c7(0x1b8)]());}[_0x3846ff(0x1b8)](){const _0x3c04b5=_0x3846ff;this[_0x3c04b5(0x16a)](this[_0x3c04b5(0x1fc)]['entityInit$'][_0x3c04b5(0x100)](_0x3f6cca=>{const _0x2ca7f6=_0x3c04b5,_0x499a39=this['_docStateChangeManagerService']['docStateChange$'][_0x2ca7f6(0x100)](_0xf36529=>{const _0x2d6d06=_0x2ca7f6;if(_0xf36529==null)return;const {unitId:_0x2af9db,redoState:_0x3e2d53,commandId:_0x37a95b}=_0xf36529;if(_0x2af9db!==_0x3f6cca[_0x2d6d06(0x190)])return;const _0x3a5c60={'id':_0x37a95b,'type':_0x3feb97[_0x2d6d06(0x14b)],'params':{'unitId':_0x2af9db,'actions':_0x3e2d53[_0x2d6d06(0x23c)],'textRanges':null}};_0x3f6cca[_0x2d6d06(0x25f)](_0x3a5c60);});if(_0x3f6cca[_0x2ca7f6(0x16a)](_0x499a39),_0x3f6cca instanceof _0xd72c48){const _0x281703={'onTransformIME':_0x4f766a=>this[_0x2ca7f6(0x247)][_0x2ca7f6(0x1e4)](_0x4f766a),'onTransformState':_0x4a9f1e=>this[_0x2ca7f6(0x20d)][_0x2ca7f6(0x2b5)](_0x4a9f1e),'onTransformSelections':_0xed815a=>this[_0x2ca7f6(0x209)][_0x2ca7f6(0x1aa)](_0xed815a),'onSyncEditingCollabCursor':_0x532907=>this[_0x2ca7f6(0xf4)]['syncEditingCollabCursor'](_0x532907),'onTransformRemoteChangesetByIMECache':_0x47e5b3=>this[_0x2ca7f6(0x247)][_0x2ca7f6(0x16d)](_0x47e5b3),'onTransformRemoteChangesetByStateCache':_0x56fdb5=>this[_0x2ca7f6(0x20d)][_0x2ca7f6(0x16d)](_0x56fdb5)};_0x3f6cca[_0x2ca7f6(0xff)](_0x281703);}}));}};ce=cn([N(0x0,_0xcb6f13(_0x343bb8)),N(0x1,_0xcb6f13(_0x82f0fa)),N(0x2,_0xcb6f13(re)),N(0x3,_0xcb6f13(oe)),N(0x4,_0xcb6f13(ae)),N(0x5,_0xcb6f13(He)),N(0x6,_0x422831),N(0x7,_0xcb6f13(_0x4c047b))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x4c6576,_0x48b61b,_0x4dfa6c,_0x2bb1a9)=>{for(var _0x4fb8=_0x2bb1a9>0x1?void 0x0:_0x2bb1a9?ln(_0x48b61b,_0x4dfa6c):_0x48b61b,_0x5832b1=_0x4c6576['length']-0x1,_0x964060;_0x5832b1>=0x0;_0x5832b1--)(_0x964060=_0x4c6576[_0x5832b1])&&(_0x4fb8=_0x964060(_0x4fb8)||_0x4fb8);return _0x4fb8;},Ee=(_0x3d2224,_0x7d1f14)=>(_0x4c22cc,_0x492d2a)=>_0x7d1f14(_0x4c22cc,_0x492d2a,_0x3d2224);let we=class extends _0x3a37e9{constructor(_0x5830e4,_0x5321d9,_0x29ca46){const _0x5f0bfc=_0x3846ff;super(),_(this,_0x5f0bfc(0x18a),new Map()),_(this,_0x5f0bfc(0x2b1),new Map()),_(this,_0x5f0bfc(0x25d),!0x1),(this[_0x5f0bfc(0x20c)]=_0x5830e4,this['_localStorageService']=_0x5321d9,this[_0x5f0bfc(0x150)]=_0x29ca46);}['disableLocalCache'](){const _0x41d197=_0x3846ff;this[_0x41d197(0x25d)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3846ff(0x1b6)](){const _0x358f42=_0x3846ff;this[_0x358f42(0x22f)]()[_0x358f42(0x1f9)](()=>super[_0x358f42(0x1b6)]());}async[_0x3846ff(0x279)](_0x184253){const _0x313a17=_0x3846ff;return this[_0x313a17(0x25d)]?null:this[_0x313a17(0xc0)]['getItem'](_0x3502fb(_0x184253));}async[_0x3846ff(0x269)](_0x4f8554,_0x3194c7){const _0x5b393f=_0x3846ff;return!!this[_0x5b393f(0xc0)][_0x5b393f(0x1fd)](_0x4f8554,_0x3194c7);}[_0x3846ff(0x212)](_0x4b9b16,_0x5f3029,_0x2f9d38,_0x21e51e){const _0x29e212=_0x3846ff,_0xc5afb1=this[_0x29e212(0x150)][_0x29e212(0x130)](_0x4b9b16);this[_0x29e212(0x18a)][_0x29e212(0x28a)](_0x4b9b16,{'unitID':_0x4b9b16,'type':_0x5f3029,'awaitingChangeset':_0x2f9d38,'mutations':_0x21e51e,'rev':_0xc5afb1}),this[_0x29e212(0x2b1)][_0x29e212(0x1df)](_0x4b9b16)||this['_scheduleSaving'](_0x4b9b16);}[_0x3846ff(0x194)](_0x1a5e6f){const _0x450387=_0x3846ff,_0x318bb5=this[_0x450387(0x1bd)]();_0x318bb5===0x0?this[_0x450387(0xc1)](_0x1a5e6f):this[_0x450387(0x2b1)][_0x450387(0x28a)](_0x1a5e6f,setTimeout(()=>this[_0x450387(0xc1)](_0x1a5e6f),_0x318bb5));}[_0x3846ff(0x1bd)](){const _0x51d06c=_0x3846ff;var _0x1adef3;return(_0x1adef3=this[_0x51d06c(0x20c)]['getConfig'](_0x11c944))!=null?_0x1adef3:_0x50f216;}[_0x3846ff(0xc1)](_0xa00e90){const _0x504b21=_0x3846ff,_0x351701=this[_0x504b21(0x2b1)][_0x504b21(0x119)](_0xa00e90);return _0x351701!==void 0x0&&window[_0x504b21(0x19a)](_0x351701),this[_0x504b21(0xc0)][_0x504b21(0x1fd)](_0x3502fb(_0xa00e90),this[_0x504b21(0x18a)]['get'](_0xa00e90))['then'](()=>this['_saveTaskMap']['delete'](_0xa00e90));}async[_0x3846ff(0x22f)](){const _0xdea5fa=_0x3846ff,_0x52c0c4=[];this['_saveTaskMap'][_0xdea5fa(0x1d7)]((_0x11f54c,_0x254f9e)=>{const _0x2050ff=_0xdea5fa;window[_0x2050ff(0x19a)](_0x11f54c),_0x52c0c4[_0x2050ff(0x12a)](this[_0x2050ff(0xc1)](_0x254f9e)[_0x2050ff(0x1f9)](()=>{this['_saveTaskMap']['delete'](_0x254f9e);}));}),await Promise[_0xdea5fa(0x1de)](_0x52c0c4);}};we=_n([Ee(0x0,_0x2d119b),Ee(0x1,_0x165c1e),Ee(0x2,_0xcb6f13(_0x4ceb1f))],we);class hn extends _0x1dd0ba{constructor(){const _0x13cf3d=_0x3846ff;super(),_(this,_0x13cf3d(0x286)),this[_0x13cf3d(0x286)]=_0x1fe3c4(window,_0x13cf3d(0x26e))[_0x13cf3d(0xda)](_0xa4e4b6(this[_0x13cf3d(0x2a5)]),_0x419dd5(0x1),_0x583bfe(void 0x0));}['setParam'](_0x10716e,_0x2cc8b3,_0x2bbc58=!0x1){const _0x30a21c=_0x3846ff,_0x38c795=new URL(window['location'][_0x30a21c(0x1ad)]);_0x38c795[_0x30a21c(0xd6)][_0x30a21c(0x28a)](_0x10716e,_0x2cc8b3),_0x2bbc58?window[_0x30a21c(0x1ed)][_0x30a21c(0x230)]('','',_0x38c795[_0x30a21c(0x1a7)]()):window[_0x30a21c(0x1ed)][_0x30a21c(0xbd)]('','',_0x38c795['toString']());}[_0x3846ff(0x222)](_0x53e140,_0x227e7a=!0x1){const _0x2ee6ec=_0x3846ff,_0x215ae8=new URL(window['location'][_0x2ee6ec(0x1ad)]);_0x215ae8[_0x2ee6ec(0xd6)]['delete'](_0x53e140),_0x227e7a?window[_0x2ee6ec(0x1ed)][_0x2ee6ec(0x230)]('','',_0x215ae8['toString']()):window[_0x2ee6ec(0x1ed)]['pushState']('','',_0x215ae8['toString']());}['getParam'](_0x3b4fea){const _0x7b4ccb=_0x3846ff;var _0x119907;return(_0x119907=new URL(window['location'][_0x7b4ccb(0x1ad)])[_0x7b4ccb(0xd6)][_0x7b4ccb(0x119)](_0x3b4fea))!=null?_0x119907:void 0x0;}}var un=Object[_0x3846ff(0x250)],dn=Object[_0x3846ff(0x291)],fn=(_0x2b442b,_0x113589,_0x29ac6a)=>_0x113589 in _0x2b442b?un(_0x2b442b,_0x113589,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29ac6a}):_0x2b442b[_0x113589]=_0x29ac6a,Sn=(_0x2fe0b0,_0x1cf1e0,_0x294762,_0x5d9c62)=>{const _0x238c06=_0x3846ff;for(var _0x505271=_0x5d9c62>0x1?void 0x0:_0x5d9c62?dn(_0x1cf1e0,_0x294762):_0x1cf1e0,_0x15f107=_0x2fe0b0[_0x238c06(0x17b)]-0x1,_0x147520;_0x15f107>=0x0;_0x15f107--)(_0x147520=_0x2fe0b0[_0x15f107])&&(_0x505271=_0x147520(_0x505271)||_0x505271);return _0x505271;},Oe=(_0x162d53,_0x2876dd)=>(_0x4560e0,_0x2e08fb)=>_0x2876dd(_0x4560e0,_0x2e08fb,_0x162d53),mn=(_0x3ae9b8,_0x3bcddf,_0x329740)=>fn(_0x3ae9b8,_0x3bcddf+'',_0x329740);const In=_0x3846ff(0x24f);let Ae=class extends _0x5ca1ca{constructor(_0x2e4e77=et,_0x503d45,_0x36b2f6,_0x40ba91){const _0x263128=_0x3846ff;super(),this[_0x263128(0x1f7)]=_0x2e4e77,this[_0x263128(0xbf)]=_0x503d45,this[_0x263128(0x237)]=_0x36b2f6,this[_0x263128(0x20c)]=_0x40ba91;const {..._0x8f285c}=_0x153e95({},et,this[_0x263128(0x1f7)]);this[_0x263128(0x20c)][_0x263128(0x185)](Zi,_0x8f285c);}[_0x3846ff(0x148)](){const _0x150f16=_0x3846ff;this['_registerDependencies'](),this[_0x150f16(0xc4)]();}[_0x3846ff(0x1b4)](){const _0x4ba579=_0x3846ff;this[_0x4ba579(0x145)]();}[_0x3846ff(0x203)](){const _0x5eb5f0=_0x3846ff;var _0x3762ee;const _0x174d34=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x2de838,{'useClass':_0x22b8b2}],[_0x67222d,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x3ee934(this[_0x5eb5f0(0x237)],_0xa7cbf8(_0x174d34,(_0x3762ee=this[_0x5eb5f0(0x1f7)])==null?void 0x0:_0x3762ee[_0x5eb5f0(0xed)]));}[_0x3846ff(0x145)](){const _0x5a8d51=_0x3846ff;this[_0x5a8d51(0x16a)](this['_renderManagerService'][_0x5a8d51(0x1ae)](_0x27422f[_0x5a8d51(0x29e)],[Le])),this[_0x5a8d51(0x16a)](this[_0x5a8d51(0xbf)][_0x5a8d51(0x1ae)](_0x27422f['UNIVER_SHEET'],[Pe]));}[_0x3846ff(0xc4)](){const _0x3377e1=_0x3846ff;_0x5f0cb6(this[_0x3377e1(0x237)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x3846ff(0x29f),In),Ae=Sn([_0x2560fd(_0x320de3),Oe(0x1,_0x289176),Oe(0x2,_0xcb6f13(_0x36eec9)),Oe(0x3,_0x2d119b)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x4a18b5,_0xae907b,_0x51878c,_0x2d293c)=>{const _0x1c87a5=_0x3846ff;for(var _0x3b5767=_0x2d293c>0x1?void 0x0:_0x2d293c?vn(_0xae907b,_0x51878c):_0xae907b,_0x6f26ff=_0x4a18b5[_0x1c87a5(0x17b)]-0x1,_0x4d1caa;_0x6f26ff>=0x0;_0x6f26ff--)(_0x4d1caa=_0x4a18b5[_0x6f26ff])&&(_0x3b5767=_0x4d1caa(_0x3b5767)||_0x3b5767);return _0x3b5767;},z=(_0x184f1e,_0x31615b)=>(_0x59caae,_0x37784c)=>_0x31615b(_0x59caae,_0x37784c,_0x184f1e);let it=class extends _0x3a523d{constructor(_0x384b5e,_0x33c9c9,_0x4cd2fa,_0x481842,_0x292d21){super(_0x384b5e,_0x33c9c9,_0x4cd2fa,_0x481842,_0x292d21);}async[_0x3846ff(0x11d)](_0x18dad7){const _0x3b2984=_0x3846ff,_0x2fea73=await this[_0x3b2984(0x229)](),_0xa5167b=this[_0x3b2984(0x158)](_0x18dad7,_0x2fea73);return this[_0x3b2984(0x2ab)](_0xa5167b);}[_0x3846ff(0x158)](_0x5e7f22,_0x336d6c){const _0x49f5be=_0x3846ff,_0x30c88f=typeof window>'u'?new URL(_0x5e7f22):new URL(_0x5e7f22,window['location'][_0x49f5be(0x108)]);_0x30c88f[_0x49f5be(0xd6)][_0x49f5be(0x28a)](_0x49f5be(0x299),_0x336d6c);const _0x4e8d84=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x49f5be(0x1b5)][_0x49f5be(0x13b)]);return _0x4e8d84[_0x49f5be(0x119)](_0x49f5be(0x25e))&&_0x30c88f['searchParams'][_0x49f5be(0x28a)](_0x49f5be(0x25e),_0x4e8d84[_0x49f5be(0x119)](_0x49f5be(0x25e))),_0x30c88f[_0x49f5be(0x1a7)]();}async['_getSessionTicket'](){const _0x5ed791=_0x3846ff;var _0x3884f6,_0x1951fe,_0x671e02;const _0x223ac0=this[_0x5ed791(0x20c)][_0x5ed791(0x10c)](_0x476ac8),_0x5b4f70=(_0x3884f6=_0x223ac0==null?void 0x0:_0x223ac0[_0x5ed791(0x27c)])!=null?_0x3884f6:_0xf1711c;return(_0x671e02=(_0x1951fe=(await this[_0x5ed791(0x16b)][_0x5ed791(0x119)](_0x5b4f70,{'headers':{'Content-Type':'application/json'}}))[_0x5ed791(0x28e)])==null?void 0x0:_0x1951fe[_0x5ed791(0x10b)])!=null?_0x671e02:'';}};it=gn([z(0x0,_0xcb6f13(_0x36eec9)),z(0x1,_0xcb6f13(_0x295492)),z(0x2,_0x2d119b),z(0x3,_0x2feec0),z(0x4,_0x57b470)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x3a37e9{constructor(){const _0x3e1638=_0x3846ff;super(),_(this,_0x3e1638(0x1d2),_0x4ae1ba()),_(this,_0x3e1638(0x14e),new Set()),_(this,_0x3e1638(0x18c),new Map()),_(this,_0x3e1638(0x20a),null),_(this,_0x3e1638(0x1c4),new Map()),_(this,'_unitStatus',new Map()),this[_0x3e1638(0x13c)]();}[_0x3846ff(0x1b6)](){const _0x16e318=_0x3846ff;super[_0x16e318(0x1b6)](),this['_clearOtherTimers'][_0x16e318(0x1d7)]((_0x163ed6,_0x4c17fb)=>this[_0x16e318(0x1d8)](_0x4c17fb)),this[_0x16e318(0x20a)]&&window[_0x16e318(0x1d5)](this[_0x16e318(0x20a)]);}[_0x3846ff(0xd0)](_0x6dc48c){const _0x336e8f=_0x3846ff;return this[_0x336e8f(0x28d)](_0x6dc48c)['pipe'](_0x5eb0ae());}[_0x3846ff(0x139)](_0x3e0bff){const _0x5366ad=_0x3846ff;this['_selfUnitIDs']['size']===0x0&&this[_0x5366ad(0x29c)](),this[_0x5366ad(0x14e)][_0x5366ad(0x170)](_0x3e0bff),this[_0x5366ad(0x17c)]({'type':0x0,'memberID':this[_0x5366ad(0x1d2)],'unitIDs':[_0x3e0bff],'isForwarded':!0x1});}[_0x3846ff(0x163)](_0x18dc08){const _0x5bb1ce=_0x3846ff;this[_0x5bb1ce(0x14e)][_0x5bb1ce(0xbc)](_0x18dc08),this[_0x5bb1ce(0x14e)]['size']===0x0&&this[_0x5bb1ce(0x20a)]&&window[_0x5bb1ce(0x1d5)](this[_0x5bb1ce(0x20a)]);}[_0x3846ff(0x13c)](){const _0x41210c=_0x3846ff;this[_0x41210c(0x16a)](_0x471471(_0x1fe3c4(window,_0x41210c(0x2aa))[_0x41210c(0x100)](_0xe00828=>{const _0x424177=_0x41210c;if(_0xe00828[_0x424177(0x16e)]!==rt||!_0xe00828[_0x424177(0x13a)])return;const _0x4a7fee=JSON[_0x424177(0x23a)](_0xe00828[_0x424177(0x13a)]);this['_handleEvent'](_0x4a7fee);}))),window['addEventListener'](_0x41210c(0x126),()=>this[_0x41210c(0x17c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x41210c(0x104)](this[_0x41210c(0x14e)])}));}[_0x3846ff(0x154)](_0x2e3c1a){const _0x32bd94=_0x3846ff;switch(_0x2e3c1a['type']){case 0x0:this[_0x32bd94(0x171)](_0x2e3c1a);break;case 0x1:this[_0x32bd94(0xc2)](_0x2e3c1a);break;case 0x2:this[_0x32bd94(0x18f)](_0x2e3c1a);break;}}[_0x3846ff(0x171)](_0x115a7b){const _0x395475=_0x3846ff,{unitIDs:_0x11d59a,memberID:_0xff89e7,isForwarded:_0x2dacad}=_0x115a7b;_0x11d59a[_0x395475(0x1d7)](_0x16c211=>{const _0x39fd99=_0x395475;if(!_0x2dacad&&this['_unitOnClients'][_0x39fd99(0x1df)](_0x16c211)&&this[_0x39fd99(0x28d)](_0x16c211)[_0x39fd99(0xb0)](_0x5e8d01['OTHER_CLIENTS_EDITING']),!this[_0x39fd99(0x18c)][_0x39fd99(0x1df)](_0x16c211)||!this['_unitOnClients'][_0x39fd99(0x119)](_0x16c211)[_0x39fd99(0x1df)](_0xff89e7)){const _0x296b36=this[_0x39fd99(0x18c)][_0x39fd99(0x119)](_0x16c211)||new Set();_0x296b36[_0x39fd99(0x170)](_0xff89e7),this[_0x39fd99(0x18c)][_0x39fd99(0x28a)](_0x16c211,_0x296b36),this['_scheduleClearOtherTimer'](_0xff89e7);}}),_0x2dacad||this[_0x395475(0x17c)]({'type':0x0,'memberID':this[_0x395475(0x1d2)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3846ff(0x140)](_0x18a0ec){const _0x5a0c1c=_0x3846ff;this[_0x5a0c1c(0x1d8)](_0x18a0ec);const _0x8bdebf=window[_0x5a0c1c(0x1fb)](()=>{const _0x107960=_0x5a0c1c;this[_0x107960(0x18c)][_0x107960(0x1d7)](_0x37c4c1=>{const _0x34b6b0=_0x107960;_0x37c4c1[_0x34b6b0(0xbc)](_0x18a0ec);});},nt*0x2);this[_0x5a0c1c(0x1c4)][_0x5a0c1c(0x28a)](_0x18a0ec,_0x8bdebf);}['_removeClearOtherTimer'](_0x1af7ac){const _0x2742e8=_0x3846ff;if(this['_clearOtherTimers']['has'](_0x1af7ac)){const _0x1928ec=this['_clearOtherTimers']['get'](_0x1af7ac);_0x1928ec&&window[_0x2742e8(0x19a)](_0x1928ec),this[_0x2742e8(0x1c4)][_0x2742e8(0x28a)](_0x1af7ac,null);}}[_0x3846ff(0xc2)](_0x3aa71f){const _0x35ac8f=_0x3846ff,{memberID:_0x5e70ca,unitIDs:_0x8b4928}=_0x3aa71f;_0x8b4928[_0x35ac8f(0x1d7)](_0x8bc1ba=>{const _0x92674d=_0x35ac8f;var _0x11bc24;const _0x3eee24=this[_0x92674d(0x18c)]['get'](_0x8bc1ba);_0x3eee24&&(_0x3eee24[_0x92674d(0xbc)](_0x5e70ca),(_0x11bc24=this['_ensureSubject'](_0x8bc1ba))==null||_0x11bc24['next'](_0x3eee24[_0x92674d(0x11b)]===0x0?_0x5e8d01[_0x92674d(0xf8)]:_0x5e8d01['OTHER_CLIENTS_EDITING']));}),this[_0x35ac8f(0x1d8)](_0x5e70ca);}[_0x3846ff(0x18f)](_0x207134){const _0xff86f3=_0x3846ff;this[_0xff86f3(0x140)](_0x207134[_0xff86f3(0x173)]);}[_0x3846ff(0x17c)](_0x27d313){const _0x275b3d=_0x3846ff;localStorage[_0x275b3d(0x1fd)](rt,JSON[_0x275b3d(0x21f)](_0x27d313));}[_0x3846ff(0x29c)](){const _0x4429d2=_0x3846ff;this[_0x4429d2(0x20a)]=window[_0x4429d2(0x105)](()=>{const _0x41dde5=_0x4429d2;this[_0x41dde5(0x17c)]({'type':0x2,'memberID':this[_0x41dde5(0x1d2)]});},nt);}[_0x3846ff(0x28d)](_0x1c1888){const _0xc2ec61=_0x3846ff;return this['_unitStatus']['has'](_0x1c1888)||this['_unitStatus'][_0xc2ec61(0x28a)](_0x1c1888,new _0x40deef(_0x5e8d01['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xc2ec61(0x119)](_0x1c1888);}}var Lt=(_0x407632=>(_0x407632[_0x407632[_0x3846ff(0x12e)]=0x0]=_0x3846ff(0x12e),_0x407632[_0x407632['OK']=0x1]='OK',_0x407632[_0x407632['INTERNAL_ERROR']=0x2]=_0x3846ff(0x15c),_0x407632[_0x407632[_0x3846ff(0x1d1)]=0x3]=_0x3846ff(0x1d1),_0x407632[_0x407632['NOT_FOUND']=0x4]='NOT_FOUND',_0x407632[_0x407632[_0x3846ff(0x246)]=0x5]=_0x3846ff(0x246),_0x407632[_0x407632['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x407632[_0x407632[_0x3846ff(0x2ad)]=0x7]=_0x3846ff(0x2ad),_0x407632[_0x407632[_0x3846ff(0x195)]=0x8]=_0x3846ff(0x195),_0x407632[_0x407632[_0x3846ff(0x2ae)]=0x9]='COMPLETION_FINISHED',_0x407632[_0x407632[_0x3846ff(0x15f)]=0xa]=_0x3846ff(0x15f),_0x407632[_0x407632[_0x3846ff(0xe3)]=0xb]=_0x3846ff(0xe3),_0x407632[_0x407632[_0x3846ff(0x24d)]=0xc]=_0x3846ff(0x24d),_0x407632[_0x407632['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x407632[_0x407632['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3846ff(0xef),_0x407632[_0x407632['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x407632[_0x407632[_0x3846ff(0x1e7)]=0x1771]=_0x3846ff(0x1e7),_0x407632[_0x407632[_0x3846ff(0xd4)]=0x1772]=_0x3846ff(0xd4),_0x407632[_0x407632[_0x3846ff(0x1cb)]=0x1773]=_0x3846ff(0x1cb),_0x407632[_0x407632[_0x3846ff(0x12c)]=0x1b59]='APPLY_REJECT',_0x407632[_0x407632['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3846ff(0x218),_0x407632[_0x407632[_0x3846ff(0x236)]=0x1b5b]=_0x3846ff(0x236),_0x407632[_0x407632[_0x3846ff(0x116)]=0x1b5c]=_0x3846ff(0x116),_0x407632[_0x407632[_0x3846ff(0x28c)]=0x1b5d]=_0x3846ff(0x28c),_0x407632[_0x407632[_0x3846ff(0x16f)]=0x1f41]=_0x3846ff(0x16f),_0x407632[_0x407632[_0x3846ff(0x241)]=0x2329]=_0x3846ff(0x241),_0x407632[_0x407632[_0x3846ff(0x21c)]=0x232a]=_0x3846ff(0x21c),_0x407632[_0x407632[_0x3846ff(0xbe)]=0x232b]=_0x3846ff(0xbe),_0x407632[_0x407632[_0x3846ff(0x11a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x407632[_0x407632['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x407632[_0x407632[_0x3846ff(0x29a)]=0x2711]=_0x3846ff(0x29a),_0x407632[_0x407632['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x407632[_0x407632[_0x3846ff(0x280)]=0x2713]=_0x3846ff(0x280),_0x407632[_0x407632[_0x3846ff(0x293)]=0x2714]=_0x3846ff(0x293),_0x407632[_0x407632[_0x3846ff(0x2a4)]=0x271a]=_0x3846ff(0x2a4),_0x407632[_0x407632[_0x3846ff(0x215)]=0x271b]=_0x3846ff(0x215),_0x407632[_0x407632[_0x3846ff(0x25c)]=0x271c]=_0x3846ff(0x25c),_0x407632[_0x407632[_0x3846ff(0x1db)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x407632[_0x407632[_0x3846ff(0x262)]=0x271e]=_0x3846ff(0x262),_0x407632[_0x407632[_0x3846ff(0xea)]=0x271f]=_0x3846ff(0xea),_0x407632[_0x407632[_0x3846ff(0xb2)]=0x2720]=_0x3846ff(0xb2),_0x407632[_0x407632[_0x3846ff(0x19d)]=0x2af9]=_0x3846ff(0x19d),_0x407632[_0x407632[_0x3846ff(0x278)]=0x2ee1]=_0x3846ff(0x278),_0x407632[_0x407632[_0x3846ff(0x1c7)]=0x2ee2]=_0x3846ff(0x1c7),_0x407632[_0x407632['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3846ff(0xb8),_0x407632[_0x407632[_0x3846ff(0x200)]=0x2ee4]=_0x3846ff(0x200),_0x407632[_0x407632[_0x3846ff(0x201)]=0x2ee5]=_0x3846ff(0x201),_0x407632[_0x407632[_0x3846ff(0x1af)]=0x32c9]=_0x3846ff(0x1af),_0x407632[_0x407632['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3846ff(0x160),_0x407632[_0x407632['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3846ff(0xc6),_0x407632[_0x407632['UNRECOGNIZED']=-0x1]=_0x3846ff(0x2a7),_0x407632))(Lt||{}),pn=Object[_0x3846ff(0x291)],Cn=(_0x4a95b5,_0x350a62,_0x424cc7,_0x74f3ef)=>{const _0x1815ad=_0x3846ff;for(var _0x3b5ecb=_0x74f3ef>0x1?void 0x0:_0x74f3ef?pn(_0x350a62,_0x424cc7):_0x350a62,_0x3326ea=_0x4a95b5[_0x1815ad(0x17b)]-0x1,_0x3497ca;_0x3326ea>=0x0;_0x3326ea--)(_0x3497ca=_0x4a95b5[_0x3326ea])&&(_0x3b5ecb=_0x3497ca(_0x3b5ecb)||_0x3b5ecb);return _0x3b5ecb;},be=(_0xd1615a,_0x2fe36c)=>(_0x3e6092,_0x4a1660)=>_0x2fe36c(_0x3e6092,_0x4a1660,_0xd1615a);let ot=class extends _0x3a37e9{constructor(_0x5cbe6f,_0x3f120f,_0x4fc627){const _0x298536=_0x3846ff;super(),this['_instanceService']=_0x5cbe6f,this[_0x298536(0x16b)]=_0x3f120f,this[_0x298536(0x20c)]=_0x4fc627;}async['runOnServer'](_0x212436,_0x564f95,_0xabad59,..._0x1b78cb){const _0x2c4c06=_0x3846ff;var _0x899f84,_0xa758d4,_0x200550,_0x1882cc;const _0x129a9a=this[_0x2c4c06(0x149)]['getFocusedUnit']();if(!_0x129a9a)throw new Error(_0x2c4c06(0x172));const _0xd5a99=((_0x899f84=this[_0x2c4c06(0x20c)][_0x2c4c06(0x10c)](_0x11c112))!=null?_0x899f84:_0x47d11a)+'/'+_0x212436+_0x2c4c06(0x11e)+_0x564f95,_0x6a4511=new URL(window[_0x2c4c06(0x1b5)][_0x2c4c06(0x1ad)]),_0x29ad52={'scriptId':_0x212436,'runId':(_0xa758d4=_0x6a4511[_0x2c4c06(0xd6)][_0x2c4c06(0x119)](_0x2c4c06(0x25e)))!=null?_0xa758d4:'','function':_0x564f95,'unitId':_0x129a9a['getUnitId'](),'argsOfFunction':JSON[_0x2c4c06(0x21f)](_0x1b78cb),'invokeId':(_0x200550=_0xabad59['invokeId'])!=null?_0x200550:'','executionId':(_0x1882cc=_0xabad59[_0x2c4c06(0x18d)])!=null?_0x1882cc:''};try{const _0x2f1e95=await this[_0x2c4c06(0x16b)][_0x2c4c06(0xb7)](_0xd5a99,{'body':_0x29ad52});return _0x2f1e95[_0x2c4c06(0x28e)]['error']&&_0x2f1e95[_0x2c4c06(0x28e)][_0x2c4c06(0x1e6)][_0x2c4c06(0x2b7)]!==Lt['OK']?_0x2c4c06(0x118):_0x2f1e95[_0x2c4c06(0x28e)][_0x2c4c06(0x128)];}catch{return _0x2c4c06(0x118);}}};ot=Cn([be(0x0,_0x29ac28),be(0x1,_0xcb6f13(_0x295492)),be(0x2,_0x2d119b)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x5d24c9=_0x130c;(function(_0xfdb50a,_0x3f0d0f){const _0x5ba5db=_0x130c,_0xcdfa02=_0xfdb50a();while(!![]){try{const _0x5bcb42=-parseInt(_0x5ba5db(0x1e9))/0x1*(-parseInt(_0x5ba5db(0x253))/0x2)+-parseInt(_0x5ba5db(0x203))/0x3+parseInt(_0x5ba5db(0x31d))/0x4*(parseInt(_0x5ba5db(0x228))/0x5)+-parseInt(_0x5ba5db(0x377))/0x6*(parseInt(_0x5ba5db(0x207))/0x7)+parseInt(_0x5ba5db(0x251))/0x8*(parseInt(_0x5ba5db(0x36e))/0x9)+parseInt(_0x5ba5db(0x2b5))/0xa*(parseInt(_0x5ba5db(0x354))/0xb)+parseInt(_0x5ba5db(0x2c5))/0xc;if(_0x5bcb42===_0x3f0d0f)break;else _0xcdfa02['push'](_0xcdfa02['shift']());}catch(_0x3914b8){_0xcdfa02['push'](_0xcdfa02['shift']());}}}(_0x4bc3,0xd3c1b));var xt=Object['defineProperty'],Bt=(_0x2e6bf9,_0x2a20cc,_0x1483d4)=>_0x2a20cc in _0x2e6bf9?xt(_0x2e6bf9,_0x2a20cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1483d4}):_0x2e6bf9[_0x2a20cc]=_0x1483d4,_=(_0x274724,_0x51f3b6,_0x280ea8)=>Bt(_0x274724,typeof _0x51f3b6!='symbol'?_0x51f3b6+'':_0x51f3b6,_0x280ea8);import{MemberService as _0x4a67bf,SessionStatus as _0x379a9b,CollaborationSessionService as _0x334391,CollaborationStatus as _0x7b1e8c,CollaborationController as _0x406caf,ILocalCacheService as _0x2c318e,CollaborationUIEventService as _0x1c22f3,CollaborationUIEventId as _0x92ff43,DataLoaderService as _0x1d8805,DocCollaborationEntity as _0x27150e,getLocalCacheKey as _0x23982b,LOCAL_CACHE_INTERVAL as _0x158246,LOCAL_CACHE_INTERVAL_KEY as _0x3f8439,UniverCollaborationClientPlugin as _0x5f476c,CollaborationSocketService as _0x5cee4d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2db31a,DEFAULT_WS_SESSION_TICKET_URL as _0x3794a6,UnitStatus as _0x2eeaa1,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x10934d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x46e36b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x27746e,Disposable as _0x2e4a76,DOC_RANGE_TYPE as _0x5be365,Inject as _0x476ef4,Injector as _0x3529a9,IUniverInstanceService as _0x55ae69,ICommandService as _0x1a6279,debounce as _0x16f5fd,Rectangle as _0x4db5c7,DisposableCollection as _0x3807d7,toDisposable as _0x59ba33,UniverInstanceType as _0x520a55,generateRandomId as _0x4edadc,COLORS as _0x2958de,ColorKit as _0x2b6930,ThemeService as _0x5d8fcf,fromEventSubject as _0x38cb51,LocaleService as _0x461c11,createIdentifier as _0x2b03c6,ILogService as _0x24c021,Optional as _0x2b094b,Workbook as _0x2f0518,Tools as _0x35f0b2,CommandType as _0x5818ca,IConfigService as _0xa3839,ILocalStorageService as _0x509ee3,DependentOn as _0x29faae,Plugin as _0x4a9f77,merge as _0x13926f,registerDependencies as _0x337e30,mergeOverrideWithDependencies as _0xef0585,touchDependencies as _0x5cc68f}from'@univerjs/core';import{Shape as _0x59039a,Rect as _0x307dc5,getColor as _0x41b73d,RegularPolygon as _0x374b5d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x540fdc,Vector2 as _0x27eec2,SHEET_VIEWPORT_KEY as _0x51317d,IRenderManagerService as _0x41f4fd}from'@univerjs/engine-render';import{ISocketService as _0x18e7f2,WebSocketService as _0x1626ff,HTTPService as _0x2deaba}from'@univerjs/network';import{IDocClipboardService as _0x19b14f,NodePositionConvertToCursor as _0x55aa3c,NodePositionConvertToRectRange as _0x57b4a1,TEXT_RANGE_LAYER_INDEX as _0x4f526d,SetDocZoomRatioOperation as _0x57654d,DocIMEInputManagerService as _0xd00b2f,DocStateChangeManagerService as _0x3a6901}from'@univerjs/docs-ui';import{IImageIoService as _0xdba933}from'@univerjs/drawing';import{BehaviorSubject as _0x5952f2,debounceTime as _0x412ef1,takeUntil as _0x1e6d67,Subject as _0x1fe443,filter as _0x4cec68,switchMap as _0x583864,merge as _0xdaf147,combineLatest as _0x57a6ab,of as _0x4983e4,fromEvent as _0x29e2c1,shareReplay as _0x35ec06,mapTo as _0x1578c3,distinctUntilChanged as _0x42833d}from'rxjs';import{ITransformService as _0x19e675,CollaborationEvent as _0x166b3,isTransformMutationFailure as _0x1e32bc,isTransformMutationsWithChangesetSuccess as _0x55da4a,RevisionService as _0x1cdadd,ISnapshotServerService as _0x501ad3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x380633,RichTextEditingMutation as _0x345489,DocSelectionManagerService as _0x3ab449,DocSkeletonManagerService as _0x2c2966}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4849d0,serializeRangeWithSheet as _0xefd625}from'@univerjs/engine-formula';import{RefRangeService as _0x428649,SetSelectionsOperation as _0x2b87ae,SheetsSelectionsService as _0x4bea15,EffectRefRangId as _0x1aa07b,handleIRemoveRow as _0x4daf19,handleIRemoveCol as _0x564a11,handleMoveRange as _0x13c231,handleInsertRow as _0x499dfa,handleInsertRangeMoveRight as _0x3c723e,handleInsertRangeMoveDown as _0x1f3434,handleInsertCol as _0x352768,handleDeleteRangeMoveUp as _0x441b82,handleDeleteRangeMoveLeft as _0x5275f0,runRefRangeMutations as _0x36122c,SetWorksheetActivateCommand as _0xce0d74}from'@univerjs/sheets';import{map as _0x4a507c,filter as _0x5d33bf,throttleTime as _0x750fe9,takeUntil as _0x252116,switchMap as _0x200b81}from'rxjs/operators';import{SheetSkeletonManagerService as _0x34a495,getCoordByCell as _0x5673fa,getSheetObject as _0x24a3c5}from'@univerjs/sheets-ui';import{jsx as _0x2e40c1,jsxs as _0x340db7}from'react/jsx-runtime';import{useObservable as _0x12553d,useDependency as _0x1fe162,IUIPartsService as _0x513ad6,BuiltInUIPart as _0x116255,connectInjector as _0x49c554,IBeforeCloseService as _0x42d933,IMessageService as _0x22a71f,INotificationService as _0x338597}from'@univerjs/ui';import{Tooltip as _0x5b94ff,clsx as _0x4cdf3f,MessageType as _0x1d6e4e}from'@univerjs/design';import{forwardRef as _0xa9ece8,useRef as _0x5b793d,createElement as _0x56ddc5,useCallback as _0x1cdef4}from'react';import{IRemoteInstanceService as _0x10825d}from'@univerjs/rpc';var ci=Object[_0x5d24c9(0x34d)],li=(_0x2fd36b,_0x5900e2,_0xe11193,_0x1bba25)=>{const _0x1d3773=_0x5d24c9;for(var _0x461075=_0x1bba25>0x1?void 0x0:_0x1bba25?ci(_0x5900e2,_0xe11193):_0x5900e2,_0x2d8fe3=_0x2fd36b[_0x1d3773(0x367)]-0x1,_0x17a6f5;_0x2d8fe3>=0x0;_0x2d8fe3--)(_0x17a6f5=_0x2fd36b[_0x2d8fe3])&&(_0x461075=_0x17a6f5(_0x461075)||_0x461075);return _0x461075;},Je=(_0x8da764,_0x3f460f)=>(_0x14d848,_0x327df3)=>_0x3f460f(_0x14d848,_0x327df3,_0x8da764);let Ne=class extends _0x27746e{constructor(_0x12f5de,_0x529833){const _0x3f2a8e=_0x5d24c9;super(),this[_0x3f2a8e(0x239)]=_0x12f5de,this[_0x3f2a8e(0x23f)]=_0x529833,this['_init']();}[_0x5d24c9(0x3d5)](){const _0x1fbc71=_0x5d24c9,_0x348cf4=this;this['disposeWithMe'](this[_0x1fbc71(0x239)]['addClipboardHook']({'onBeforePasteImage':async _0x206e52=>{const _0x573418=_0x1fbc71,_0x2e33c5=await _0x348cf4[_0x573418(0x23f)][_0x573418(0x29e)](_0x206e52);return _0x2e33c5?{'source':_0x2e33c5[_0x573418(0x2c4)],'imageSourceType':_0x2e33c5[_0x573418(0x282)]}:null;}}));}};Ne=li([Je(0x0,_0x19b14f),Je(0x1,_0xdba933)],Ne);const Ze=[_0x5d24c9(0x2b4),'jiqing.500',_0x5d24c9(0x3d0),'red.300',_0x5d24c9(0x386),_0x5d24c9(0x37e)];class ke extends _0x2e4a76{constructor(){const _0x16fb34=_0x5d24c9;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x16fb34(0x2f1),0x0);}['assignAColorForMemberID'](_0x2e2d1d){const _0x472f41=_0x5d24c9;if(this[_0x472f41(0x261)][_0x472f41(0x1f8)](_0x2e2d1d))return this['_assignedColors'][_0x472f41(0x1e4)](_0x2e2d1d);const _0x5c6277=Ze[this[_0x472f41(0x2f1)]];return this[_0x472f41(0x2f1)]=(this[_0x472f41(0x2f1)]+0x1)%Ze[_0x472f41(0x367)],this[_0x472f41(0x261)][_0x472f41(0x3a8)](_0x2e2d1d,_0x5c6277),_0x5c6277;}}function Rt(_0x334576){const _0x3a1eaa=_0x5d24c9;let _0x142f15='';for(const _0x35a3b1 of _0x334576){const {startOffset:_0x47cf12,endOffset:_0x185f98,isActive:_0x3d44db,rangeType:_0x213760,segmentId:_0x129c43,segmentPage:_0x45f7f1}=_0x35a3b1;_0x142f15[_0x3a1eaa(0x367)]&&(_0x142f15+=','),_0x142f15+=_0x47cf12+':'+_0x185f98+':'+(_0x3d44db?'1':'0')+':'+_0x213760+':'+_0x129c43+':'+_0x45f7f1;}return _0x142f15;}function _i(_0x2bc21e){const _0x5e11d0=_0x5d24c9,_0x42435e=_0x2bc21e[_0x5e11d0(0x30a)](','),_0x4333dc=[];for(const _0x539640 of _0x42435e){const [_0x3a704c,_0xb2eeef,_0x104614,_0x1143b1,_0x1cc19e,_0x4aa866]=_0x539640['split'](':');_0x4333dc[_0x5e11d0(0x293)]({'startOffset':Number(_0x3a704c),'endOffset':Number(_0xb2eeef),'collapsed':_0x3a704c===_0xb2eeef,'isActive':_0x104614==='1','rangeType':_0x1143b1===_0x5be365[_0x5e11d0(0x2b6)]?_0x5be365[_0x5e11d0(0x2b6)]:_0x5be365[_0x5e11d0(0x311)],'segmentId':typeof _0x1cc19e==_0x5e11d0(0x22a)?String(_0x1cc19e):'','segmentPage':Number(_0x4aa866!=null?_0x4aa866:-0x1)});}return _0x4333dc[_0x5e11d0(0x32c)](_0x411ec8=>_0x411ec8[_0x5e11d0(0x355)])||(_0x4333dc[0x0]['isActive']=!0x0),_0x4333dc;}class He extends _0x27746e{constructor(){const _0x3587d5=_0x5d24c9;super(...arguments),_(this,_0x3587d5(0x29f),new _0x5952f2(null)),_(this,_0x3587d5(0x301),this[_0x3587d5(0x29f)]['asObservable']());}[_0x5d24c9(0x21f)](_0x17bfc0){const _0x4e3609=_0x5d24c9,{unitID:_0x3bb090,memberID:_0x4b7da8,textRanges:_0x487789}=_0x17bfc0,_0x1d9db2=Rt(_0x487789);if(_0x1d9db2==='')return;const _0x48ff5d={'unitID':_0x3bb090,'memberID':_0x4b7da8,'selection':_0x1d9db2};this[_0x4e3609(0x29f)][_0x4e3609(0x243)](_0x48ff5d);}}function _0x130c(_0x453c8b,_0x3239a8){const _0x4bc345=_0x4bc3();return _0x130c=function(_0x130cdf,_0x57aff7){_0x130cdf=_0x130cdf-0x1e0;let _0x122687=_0x4bc345[_0x130cdf];return _0x122687;},_0x130c(_0x453c8b,_0x3239a8);}var hi=Object[_0x5d24c9(0x34d)],ui=(_0x482f02,_0x5e63d6,_0x472ca3,_0x138a05)=>{const _0x43a6a6=_0x5d24c9;for(var _0xd8a241=_0x138a05>0x1?void 0x0:_0x138a05?hi(_0x5e63d6,_0x472ca3):_0x5e63d6,_0x3bf9e8=_0x482f02[_0x43a6a6(0x367)]-0x1,_0x5ee2d3;_0x3bf9e8>=0x0;_0x3bf9e8--)(_0x5ee2d3=_0x482f02[_0x3bf9e8])&&(_0xd8a241=_0x5ee2d3(_0xd8a241)||_0xd8a241);return _0xd8a241;},P=(_0x50eba2,_0x4f274a)=>(_0x21674d,_0x11523c)=>_0x4f274a(_0x21674d,_0x11523c,_0x50eba2);const di=0x12c,fi=0x64;let Ue=class extends _0x27746e{constructor(_0x2785e7,_0x535361,_0x274034,_0x2ced57,_0x42803d,_0x1f64ca,_0x32d62e,_0x38d7f6,_0x1c7df9){const _0x2e1a4d=_0x5d24c9;super(),_(this,'_online',!0x1),_(this,_0x2e1a4d(0x3d5),!0x1),_(this,_0x2e1a4d(0x37b),new _0x5952f2(new Map())),_(this,'cursorInfo$',this[_0x2e1a4d(0x37b)][_0x2e1a4d(0x240)]()),_(this,_0x2e1a4d(0x357),new _0x5952f2([])),_(this,'roomMembers$',this['_roomMembers$'][_0x2e1a4d(0x3d1)](_0x412ef1(di))),_(this,'_updateLocalCursor',_0x16f5fd(_0x1d6c8d=>{const _0x3ca416=_0x2e1a4d,_0x1e210f={'eventID':_0x166b3[_0x3ca416(0x26e)],'data':{'unitID':this['unitID'],'memberID':this[_0x3ca416(0x3c8)][_0x3ca416(0x25c)](),'selection':Rt(_0x1d6c8d)}};this[_0x3ca416(0x3c8)][_0x3ca416(0x289)](_0x1e210f,this['unitID']);},fi)),(this[_0x2e1a4d(0x1e1)]=_0x2785e7,this[_0x2e1a4d(0x3c8)]=_0x535361,this[_0x2e1a4d(0x304)]=_0x274034,this[_0x2e1a4d(0x38c)]=_0x2ced57,this['_memberService']=_0x42803d,this[_0x2e1a4d(0x2e0)]=_0x1f64ca,this[_0x2e1a4d(0x360)]=_0x32d62e,this['_univerInstanceService']=_0x38d7f6,this[_0x2e1a4d(0x218)]=_0x1c7df9);}get[_0x5d24c9(0x245)](){const _0x1f3915=_0x5d24c9;return this[_0x1f3915(0x37b)]['getValue']();}get[_0x5d24c9(0x26c)](){const _0x2a6f0c=_0x5d24c9;return this[_0x2a6f0c(0x357)][_0x2a6f0c(0x220)]();}['dispose'](){const _0x5c41a2=_0x5d24c9;super[_0x5c41a2(0x1f4)](),this[_0x5c41a2(0x37b)][_0x5c41a2(0x243)](new Map()),this['_cursorInfo$'][_0x5c41a2(0x2ba)](),this[_0x5c41a2(0x357)]['next']([]),this[_0x5c41a2(0x357)][_0x5c41a2(0x2ba)]();}[_0x5d24c9(0x208)](){const _0x51d035=_0x5d24c9;this[_0x51d035(0x3d5)]||(this[_0x51d035(0x3d5)]=!0x0,this[_0x51d035(0x3c8)][_0x51d035(0x33d)][_0x51d035(0x3d1)](_0x1e6d67(this['dispose$']))[_0x51d035(0x23b)](_0x4fab5d=>{const _0x4911be=_0x51d035;_0x4fab5d===_0x379a9b[_0x4911be(0x3c9)]?this[_0x4911be(0x35c)]():this[_0x4911be(0x2fd)]();}),this['_session'][_0x51d035(0x28c)][_0x51d035(0x3d1)](_0x1e6d67(this[_0x51d035(0x326)]))['subscribe'](_0x59b306=>{const _0xd7123f=_0x51d035,_0x270a70=_0x59b306[_0xd7123f(0x279)];_0x270a70===_0x166b3[_0xd7123f(0x26e)]&&this[_0xd7123f(0x2d0)](_0x59b306),_0x270a70===_0x166b3[_0xd7123f(0x30d)]&&this[_0xd7123f(0x3b7)](_0x59b306);}),this[_0x51d035(0x3d8)](this[_0x51d035(0x218)]['onCommandExecuted'](_0x5b2271=>{const _0x33876e=_0x51d035,_0x3f44fe=_0x5b2271[_0x33876e(0x205)];_0x3f44fe!=null&&this[_0x33876e(0x375)]&&_0x5b2271['id']===_0x380633['id']&&_0x3f44fe['unitId']===this['unitID']&&_0x3f44fe['isEditing']===!0x1&&_0x3f44fe['ranges'][_0x33876e(0x367)]>0x0&&this['_updateLocalCursor'](_0x3f44fe[_0x33876e(0x37a)]);})),this[_0x51d035(0x2e0)]['collabCursorState$']['pipe'](_0x1e6d67(this[_0x51d035(0x326)]))['subscribe'](_0x573b4a=>{const _0x4b7e2a=_0x51d035;if((_0x573b4a==null?void 0x0:_0x573b4a[_0x4b7e2a(0x1e1)])!==this['unitID'])return;const _0x4e3ffa={'eventID':_0x166b3['UPDATE_CURSOR'],'data':_0x573b4a};this[_0x4b7e2a(0x2d0)](_0x4e3ffa);}),this['disposeWithMe'](this[_0x51d035(0x218)]['onCommandExecuted'](_0x57156d=>{const _0x17dbf7=_0x51d035;if(_0x57156d[_0x17dbf7(0x205)]==null)return;const _0x5a3d17=_0x57156d[_0x17dbf7(0x205)];if(_0x57156d['id']!==_0x345489['id']||_0x5a3d17[_0x17dbf7(0x2e7)]!==this[_0x17dbf7(0x1e1)])return;const _0x1765ba={'id':_0x17dbf7(0x2e5),'params':_0x5a3d17},_0x7bdd25=this[_0x17dbf7(0x245)];for(const [_0x3b3f5a,_0x471f3e]of _0x7bdd25){const _0x41b1b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x471f3e[_0x17dbf7(0x37a)]}},_0x26b584=this[_0x17dbf7(0x360)][_0x17dbf7(0x25d)](_0x1765ba,_0x41b1b7,!0x1);if(_0x1e32bc(_0x26b584))throw _0x26b584[_0x17dbf7(0x382)];_0x7bdd25['set'](_0x3b3f5a,{..._0x471f3e,'ranges':_0x26b584[_0x17dbf7(0x21e)][_0x17dbf7(0x205)][_0x17dbf7(0x28a)]});}queueMicrotask(()=>{const _0x1ae429=_0x17dbf7;this[_0x1ae429(0x37b)][_0x1ae429(0x243)](_0x7bdd25);});})));}[_0x5d24c9(0x2d0)](_0xad07f8){const _0x539478=_0x5d24c9;var _0x41cbeb,_0x344d69;const {memberID:_0x48be70,selection:_0x817c5b}=_0xad07f8['data'],_0x28dfbe=_i(_0x817c5b),_0x3260fe=(_0x344d69=(_0x41cbeb=this['_memberService']['getMember'](this['unitID'],_0x48be70))==null?void 0x0:_0x41cbeb[_0x539478(0x315)])!=null?_0x344d69:_0x539478(0x2fc),_0x59fdad={'color':this[_0x539478(0x38c)][_0x539478(0x2c1)](_0x48be70),'name':_0x3260fe,'ranges':_0x28dfbe},_0xe5b7cb=this[_0x539478(0x245)];_0xe5b7cb[_0x539478(0x3a8)](_0x48be70,_0x59fdad),this[_0x539478(0x37b)][_0x539478(0x243)](_0xe5b7cb);}[_0x5d24c9(0x3b7)](_0x26ef04){const _0x28ea25=_0x5d24c9,{memberID:_0x4585b1}=_0x26ef04['data'],_0x58ada8=this[_0x28ea25(0x245)];_0x58ada8[_0x28ea25(0x34b)](_0x4585b1),this[_0x28ea25(0x37b)][_0x28ea25(0x243)](_0x58ada8);}[_0x5d24c9(0x35c)](){const _0x554d03=_0x5d24c9;var _0x199d3a;if(this[_0x554d03(0x375)]=!0x0,((_0x199d3a=this[_0x554d03(0x3cc)][_0x554d03(0x317)]())==null?void 0x0:_0x199d3a['getUnitId']())!==this[_0x554d03(0x1e1)])return;const _0x137bfe=this[_0x554d03(0x304)]['get'](_0x3ab449)[_0x554d03(0x2dc)]();Array[_0x554d03(0x2ea)](_0x137bfe)&&_0x137bfe[_0x554d03(0x367)]>0x0&&this[_0x554d03(0x319)](_0x137bfe);}[_0x5d24c9(0x2fd)](){const _0x1c23ef=_0x5d24c9;this[_0x1c23ef(0x375)]=!0x1;}};Ue=ui([P(0x2,_0x476ef4(_0x3529a9)),P(0x3,_0x476ef4(ke)),P(0x4,_0x476ef4(_0x4a67bf)),P(0x5,_0x476ef4(He)),P(0x6,_0x19e675),P(0x7,_0x55ae69),P(0x8,_0x1a6279)],Ue);var Si=Object[_0x5d24c9(0x34d)],mi=(_0x4528f9,_0x63b606,_0x53b493,_0x23c038)=>{const _0x45bda2=_0x5d24c9;for(var _0x50ef21=_0x23c038>0x1?void 0x0:_0x23c038?Si(_0x63b606,_0x53b493):_0x63b606,_0x93588c=_0x4528f9[_0x45bda2(0x367)]-0x1,_0x5ba38e;_0x93588c>=0x0;_0x93588c--)(_0x5ba38e=_0x4528f9[_0x93588c])&&(_0x50ef21=_0x5ba38e(_0x50ef21)||_0x50ef21);return _0x50ef21;},x=(_0x1b7a35,_0xfa88f6)=>(_0x57a2a7,_0x312312)=>_0xfa88f6(_0x57a2a7,_0x312312,_0x1b7a35);const Ii=0x12c,vi=0x64,gi=()=>{let _0x414f0d=[],_0x1a39da=!0x1;return _0x293487=>{const _0x2176e6=_0x130c;_0x414f0d[_0x2176e6(0x293)](_0x293487),_0x1a39da||(_0x1a39da=!0x0,setTimeout(()=>{const _0x5f12c8=_0x2176e6;_0x414f0d[_0x5f12c8(0x230)](_0x42d999=>_0x42d999()),_0x414f0d=[],_0x1a39da=!0x1;}));};};let Me=class extends _0x27746e{constructor(_0x51458c,_0x12e027,_0x3a201f,_0x2dd3c3,_0xada6e6,_0x1d8172,_0x2c4fdf,_0x377895){const _0x31d317=_0x5d24c9;super(),_(this,_0x31d317(0x375),!0x1),_(this,_0x31d317(0x3d5),!0x1),_(this,_0x31d317(0x37b),new _0x5952f2(new Map())),_(this,'cursorInfo$',this[_0x31d317(0x37b)]['asObservable']()),_(this,_0x31d317(0x357),new _0x5952f2([])),_(this,_0x31d317(0x327),this[_0x31d317(0x357)][_0x31d317(0x3d1)](_0x412ef1(Ii))),_(this,'_updateLocalCursor',_0x16f5fd((_0x17c682,_0x5b9feb)=>{const _0x47ca72=_0x31d317,_0x50ab67={'eventID':_0x166b3['UPDATE_CURSOR'],'data':{'unitID':this[_0x47ca72(0x1e1)],'memberID':this[_0x47ca72(0x3c8)]['getMemberID'](),'selection':_0xefd625(_0x17c682,_0x5b9feb[_0x47ca72(0x39b)])}};this[_0x47ca72(0x3c8)][_0x47ca72(0x289)](_0x50ab67,this[_0x47ca72(0x1e1)]);},vi)),(this[_0x31d317(0x1e1)]=_0x51458c,this[_0x31d317(0x3c8)]=_0x12e027,this['_injector']=_0x3a201f,this['_colorAssignService']=_0x2dd3c3,this['_memberService']=_0xada6e6,this['_univerInstanceService']=_0x1d8172,this[_0x31d317(0x218)]=_0x2c4fdf,this[_0x31d317(0x343)]=_0x377895);}get[_0x5d24c9(0x245)](){const _0x318ebe=_0x5d24c9;return this['_cursorInfo$'][_0x318ebe(0x220)]();}get[_0x5d24c9(0x26c)](){const _0x23f6cd=_0x5d24c9;return this[_0x23f6cd(0x357)]['getValue']();}[_0x5d24c9(0x1f4)](){const _0x25f908=_0x5d24c9;super[_0x25f908(0x1f4)](),this[_0x25f908(0x37b)][_0x25f908(0x243)](new Map()),this[_0x25f908(0x37b)][_0x25f908(0x2ba)](),this[_0x25f908(0x357)][_0x25f908(0x243)]([]),this['_roomMembers$'][_0x25f908(0x2ba)]();}[_0x5d24c9(0x208)](){const _0x2090ed=_0x5d24c9;this[_0x2090ed(0x3d5)]||(this[_0x2090ed(0x3d5)]=!0x0,this['_session'][_0x2090ed(0x33d)][_0x2090ed(0x3d1)](_0x1e6d67(this['dispose$']))['subscribe'](_0x2cacbf=>{const _0x534c6a=_0x2090ed;_0x2cacbf===_0x379a9b[_0x534c6a(0x3c9)]?this['_toggleOnline']():this[_0x534c6a(0x2fd)]();}),this[_0x2090ed(0x3c8)][_0x2090ed(0x28c)][_0x2090ed(0x3d1)](_0x1e6d67(this[_0x2090ed(0x326)]))[_0x2090ed(0x23b)](_0x100a41=>{const _0x280942=_0x2090ed,_0x2e482e=_0x100a41[_0x280942(0x279)];_0x2e482e===_0x166b3[_0x280942(0x26e)]&&this[_0x280942(0x2d0)](_0x100a41),_0x2e482e===_0x166b3['USERS_LEAVE']&&this[_0x280942(0x3b7)](_0x100a41);}),this[_0x2090ed(0x39a)](),this[_0x2090ed(0x3d8)](this[_0x2090ed(0x218)][_0x2090ed(0x3bc)](_0x47071b=>{const _0xd32184=_0x2090ed;if(this['_online']&&_0x47071b['id']===_0x2b87ae['id']&&_0x47071b[_0xd32184(0x205)][_0xd32184(0x2e7)]===this[_0xd32184(0x1e1)]){const _0x2b747a=_0x47071b[_0xd32184(0x205)];this[_0xd32184(0x319)](_0x2b747a['subUnitId'],_0x2b747a[_0xd32184(0x352)][0x0]);}})));}['_onCursorUpdate'](_0xb1a5eb){const _0x3f0b18=_0x5d24c9;var _0x4d3a6a,_0x44c18f;const {memberID:_0x4c884f,selection:_0x5f0ea8}=_0xb1a5eb[_0x3f0b18(0x2be)],{sheetName:_0x3a72a2,range:_0x23bc4d}=_0x4849d0(_0x5f0ea8),_0x581654={'name':(_0x44c18f=(_0x4d3a6a=this['_memberService'][_0x3f0b18(0x256)](this[_0x3f0b18(0x1e1)],_0x4c884f))==null?void 0x0:_0x4d3a6a['name'])!=null?_0x44c18f:_0x3f0b18(0x2fc),'range':this['_getMergeRange'](_0x3a72a2,_0x23bc4d),'sheetID':_0x3a72a2,'color':this[_0x3f0b18(0x38c)][_0x3f0b18(0x2c1)](_0x4c884f),'selection':_0x5f0ea8},_0x187d92=this['cursorInfo'];_0x187d92[_0x3f0b18(0x3a8)](_0x4c884f,_0x581654),this['_cursorInfo$'][_0x3f0b18(0x243)](_0x187d92);}[_0x5d24c9(0x3b7)](_0x2f3c88){const _0x1f4482=_0x5d24c9,{memberID:_0x3a19f6}=_0x2f3c88[_0x1f4482(0x2be)],_0x46d15e=this[_0x1f4482(0x245)];_0x46d15e[_0x1f4482(0x34b)](_0x3a19f6),this[_0x1f4482(0x37b)][_0x1f4482(0x243)](_0x46d15e);}['_getMergeRange'](_0x1693d3,_0x32c458){const _0x3f0a9d=_0x5d24c9;var _0xfcf08,_0x5bae9e;const _0x1afca4=(_0x5bae9e=(_0xfcf08=this[_0x3f0a9d(0x3cc)][_0x3f0a9d(0x330)](this[_0x3f0a9d(0x1e1)]))==null?void 0x0:_0xfcf08[_0x3f0a9d(0x2c2)](_0x1693d3))==null?void 0x0:_0x5bae9e['getMergeData']();return(_0x1afca4==null?void 0x0:_0x1afca4['find'](_0x27f91a=>_0x4db5c7[_0x3f0a9d(0x388)](_0x27f91a,_0x32c458)))||_0x32c458;}['_onRefRangeChange'](){const _0x457afc=_0x5d24c9,_0x5bfa88=new _0x3807d7(),_0x418708=gi(),_0x297d52=()=>{const _0xa3df2=_0x130c;_0x5bfa88[_0xa3df2(0x1f4)]();const _0x4686df=(_0x4d1fb6,_0xf72d8a,_0x38d706,_0x567151)=>{const _0x4443d1=_0xa3df2;let _0x30526d=[];switch(_0x4d1fb6['id']){case _0x1aa07b['DeleteRangeMoveLeftCommandId']:{_0x30526d=_0x5275f0(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x2fe)]:{_0x30526d=_0x441b82(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x30e)]:{_0x30526d=_0x352768(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x260)]:{_0x30526d=_0x1f3434(_0x4d1fb6,_0x567151);break;}case _0x1aa07b['InsertRangeMoveRightCommandId']:{_0x30526d=_0x3c723e(_0x4d1fb6,_0x567151);break;}case _0x1aa07b['InsertRowCommandId']:{_0x30526d=_0x499dfa(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x3c6)]:{_0x30526d=_0x13c231(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x393)]:{_0x30526d=_0x564a11(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x370)]:{_0x30526d=_0x4daf19(_0x4d1fb6,_0x567151);break;}}const _0x2b43b0=_0x36122c(_0x30526d,_0x567151),_0x3dd388=this[_0x4443d1(0x245)][_0x4443d1(0x1e4)](_0xf72d8a);if(_0x3dd388&&_0x2b43b0){const _0x1b7163={..._0x3dd388,'range':_0x2b43b0};this[_0x4443d1(0x245)][_0x4443d1(0x3a8)](_0xf72d8a,_0x1b7163),_0x418708(()=>{const _0x1dbbf6=_0x4443d1,_0x52bf2d=this[_0x1dbbf6(0x343)]['registerRefRange'](_0x2b43b0,_0x59f92a=>(_0x52bf2d[_0x1dbbf6(0x1f4)](),_0x4686df(_0x59f92a,_0xf72d8a,_0x38d706,_0x2b43b0)));_0x5bfa88[_0x1dbbf6(0x2db)](_0x52bf2d);});}return{'redos':[],'undos':[]};};this[_0xa3df2(0x245)]['forEach']((_0x32e99d,_0x10c9a7)=>{const _0x5116e2=_0xa3df2,{range:_0x3d4d75,sheetID:_0x5b2a80}=_0x32e99d,_0x18df5f=this[_0x5116e2(0x343)]['registerRefRange'](_0x3d4d75,_0x1be26a=>(_0x18df5f[_0x5116e2(0x1f4)](),_0x4686df(_0x1be26a,_0x10c9a7,_0x5b2a80,_0x3d4d75)));_0x5bfa88[_0x5116e2(0x2db)](_0x18df5f);});};this[_0x457afc(0x3d8)](_0x59ba33(this[_0x457afc(0x37b)][_0x457afc(0x23b)](()=>{_0x297d52();})));}[_0x5d24c9(0x35c)](){const _0x414425=_0x5d24c9;var _0x494e71,_0x5771a1;if(this['_online']=!0x0,((_0x494e71=this[_0x414425(0x3cc)]['getFocusedUnit']())==null?void 0x0:_0x494e71[_0x414425(0x399)]())!==this[_0x414425(0x1e1)])return;const _0x2c5791=(_0x5771a1=this[_0x414425(0x304)][_0x414425(0x1e4)](_0x4bea15)[_0x414425(0x3bf)]())==null?void 0x0:_0x5771a1[0x0],_0xfe73f4=this[_0x414425(0x3cc)]['getCurrentUnitForType'](_0x520a55['UNIVER_SHEET'])[_0x414425(0x33b)]();_0x2c5791&&_0xfe73f4&&this[_0x414425(0x319)](_0xfe73f4[_0x414425(0x285)](),_0x2c5791);}[_0x5d24c9(0x2fd)](){const _0x4686d7=_0x5d24c9;this[_0x4686d7(0x375)]=!0x1;}};Me=mi([x(0x2,_0x476ef4(_0x3529a9)),x(0x3,_0x476ef4(ke)),x(0x4,_0x476ef4(_0x4a67bf)),x(0x5,_0x55ae69),x(0x6,_0x1a6279),x(0x7,_0x476ef4(_0x428649))],Me);var pi=Object[_0x5d24c9(0x34d)],Ci=(_0xb74839,_0x8a3c65,_0x1273d9,_0x57d209)=>{const _0x5aa240=_0x5d24c9;for(var _0x2ce5f6=_0x57d209>0x1?void 0x0:_0x57d209?pi(_0x8a3c65,_0x1273d9):_0x8a3c65,_0x2cb702=_0xb74839[_0x5aa240(0x367)]-0x1,_0x5b8e30;_0x2cb702>=0x0;_0x2cb702--)(_0x5b8e30=_0xb74839[_0x2cb702])&&(_0x2ce5f6=_0x5b8e30(_0x2ce5f6)||_0x2ce5f6);return _0x2ce5f6;},me=(_0x2faec3,_0x38e5fb)=>(_0x15806f,_0x4c9e9f)=>_0x38e5fb(_0x15806f,_0x4c9e9f,_0x2faec3);let F=class extends _0x27746e{constructor(_0x2497c9,_0x23fae4,_0x2ccbf2){const _0x1c5277=_0x5d24c9;super(),_(this,_0x1c5277(0x20b),new Map()),_(this,_0x1c5277(0x234),new _0x1fe443()),(this[_0x1c5277(0x3cc)]=_0x2497c9,this['_injector']=_0x23fae4,this[_0x1c5277(0x2eb)]=_0x2ccbf2,this[_0x1c5277(0x3d5)]());}[_0x5d24c9(0x1f4)](){const _0x4d9e8f=_0x5d24c9;super[_0x4d9e8f(0x1f4)](),this[_0x4d9e8f(0x234)]['complete'](),this['_entities'][_0x4d9e8f(0x230)](_0x44fb13=>_0x44fb13[_0x4d9e8f(0x1f4)]());}[_0x5d24c9(0x2d1)](_0x1bb5bb){const _0x3c3036=_0x5d24c9;return this[_0x3c3036(0x20b)][_0x3c3036(0x1f8)](_0x1bb5bb)?this[_0x3c3036(0x20b)][_0x3c3036(0x1e4)](_0x1bb5bb)[_0x3c3036(0x1fa)]:this['_entityInit$'][_0x3c3036(0x3d1)](_0x4cec68(_0xb2e248=>_0xb2e248['unitID']===_0x1bb5bb),_0x583864(_0x4f8bab=>_0x4f8bab[_0x3c3036(0x1fa)]));}[_0x5d24c9(0x3d5)](){const _0x16d4e7=_0x5d24c9;this[_0x16d4e7(0x3cc)][_0x16d4e7(0x381)](_0x520a55[_0x16d4e7(0x2ec)])[_0x16d4e7(0x3d1)](_0x1e6d67(this[_0x16d4e7(0x326)]))[_0x16d4e7(0x23b)](async _0x2df46f=>{const _0x4ac35e=_0x16d4e7,_0x3f96e8=_0x2df46f[_0x4ac35e(0x399)](),_0x1cc8c1=await this[_0x4ac35e(0x1f2)](_0x3f96e8);this[_0x4ac35e(0x234)]['next'](_0x1cc8c1),this['_entities'][_0x4ac35e(0x3a8)](_0x3f96e8,_0x1cc8c1);}),this[_0x16d4e7(0x3cc)][_0x16d4e7(0x381)](_0x520a55['UNIVER_DOC'])['pipe'](_0x1e6d67(this[_0x16d4e7(0x326)]))[_0x16d4e7(0x3d1)](_0x4cec68(_0x265aa8=>!_0x265aa8['getUnitId']()['startsWith']('__')))[_0x16d4e7(0x23b)](async _0x5a08f3=>{const _0xb582ca=_0x16d4e7,_0x1fca6c=_0x5a08f3[_0xb582ca(0x399)](),_0x53247f=await this['_startDocCollabCursor'](_0x1fca6c);this['_entityInit$'][_0xb582ca(0x243)](_0x53247f),this[_0xb582ca(0x20b)]['set'](_0x1fca6c,_0x53247f);}),_0xdaf147(this[_0x16d4e7(0x3cc)][_0x16d4e7(0x372)](_0x520a55['UNIVER_DOC']),this[_0x16d4e7(0x3cc)]['getTypeOfUnitDisposed$'](_0x520a55[_0x16d4e7(0x2ec)]))[_0x16d4e7(0x3d1)](_0x1e6d67(this[_0x16d4e7(0x326)]))['subscribe'](_0x499221=>{const _0x6a0fcc=_0x16d4e7,_0x55ad27=_0x499221[_0x6a0fcc(0x399)](),_0x427545=this[_0x6a0fcc(0x20b)][_0x6a0fcc(0x1e4)](_0x55ad27);_0x427545&&(_0x427545[_0x6a0fcc(0x1f4)](),this[_0x6a0fcc(0x20b)][_0x6a0fcc(0x34b)](_0x55ad27));});}async['_startSheetCollabCursor'](_0x45561f){const _0x50f00e=_0x5d24c9,_0x3ec976=await this['_collabSessionService']['requireSession'](_0x45561f),_0x13c9d4=this[_0x50f00e(0x304)][_0x50f00e(0x3c4)](Me,_0x45561f,_0x3ec976);return _0x13c9d4[_0x50f00e(0x208)](),_0x13c9d4;}async[_0x5d24c9(0x286)](_0x47ebf1){const _0x2bf76f=_0x5d24c9,_0x509901=await this[_0x2bf76f(0x2eb)][_0x2bf76f(0x2f4)](_0x47ebf1),_0x144e67=this[_0x2bf76f(0x304)][_0x2bf76f(0x3c4)](Ue,_0x47ebf1,_0x509901);return _0x144e67[_0x2bf76f(0x208)](),_0x144e67;}};F=Ci([me(0x0,_0x55ae69),me(0x1,_0x476ef4(_0x3529a9)),me(0x2,_0x476ef4(_0x334391))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x256060,_0x3d7a12){const _0x52722e=_0x5d24c9;let {radius:_0x3b8b7e,width:_0x3118ab,height:_0x3176d5}=_0x3d7a12;_0x3b8b7e=_0x3b8b7e!=null?_0x3b8b7e:0x0,_0x3118ab=_0x3118ab!=null?_0x3118ab:0x1e,_0x3176d5=_0x3176d5!=null?_0x3176d5:0x1e;let _0x4edab4=0x0,_0x15eb62=0x0,_0x178b2e=0x0;_0x4edab4=_0x15eb62=_0x178b2e=Math[_0x52722e(0x2c3)](_0x3b8b7e,_0x3118ab/0x2,_0x3176d5/0x2),_0x256060[_0x52722e(0x1ed)](),_0x256060['moveTo'](_0x4edab4,0x0),_0x256060['lineTo'](_0x3118ab-_0x15eb62,0x0),_0x256060[_0x52722e(0x3a4)](_0x3118ab-_0x15eb62,_0x15eb62,_0x15eb62,Math['PI']*0x3/0x2,0x0,!0x1),_0x256060[_0x52722e(0x221)](_0x3118ab,_0x3176d5-_0x178b2e),_0x256060[_0x52722e(0x3a4)](_0x3118ab-_0x178b2e,_0x3176d5-_0x178b2e,_0x178b2e,0x0,Math['PI']/0x2,!0x1),_0x256060[_0x52722e(0x221)](0x0,_0x3176d5),_0x256060['lineTo'](0x0,_0x4edab4),_0x256060['arc'](_0x4edab4,_0x4edab4,_0x4edab4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x256060['closePath'](),_0x3d7a12[_0x52722e(0x2d4)]&&(_0x256060['save'](),_0x256060['fillStyle']=_0x3d7a12[_0x52722e(0x2d4)],_0x3d7a12['fillRule']===_0x52722e(0x2b0)?_0x256060[_0x52722e(0x2d4)](_0x52722e(0x2b0)):_0x256060[_0x52722e(0x2d4)](),_0x256060[_0x52722e(0x308)]());}class ue extends _0x59039a{constructor(_0x4fcd78,_0x5840aa){const _0x58320b=_0x5d24c9;super(_0x4fcd78,_0x5840aa),_(this,_0x58320b(0x2f7)),_(this,'text'),(this[_0x58320b(0x2f7)]=_0x5840aa==null?void 0x0:_0x5840aa[_0x58320b(0x2f7)],this[_0x58320b(0x1ea)]=_0x5840aa==null?void 0x0:_0x5840aa['text']);}static[_0x5d24c9(0x300)](_0x583b10,_0x56356f){const _0x1e8f3a=_0x5d24c9,{text:_0x17f829,color:_0x7a9c31}=_0x56356f;_0x583b10['save'](),_0x583b10[_0x1e8f3a(0x1e5)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1691ab=_0x583b10['measureText'](_0x17f829)['width'],_0xe523d7=Math[_0x1e8f3a(0x2c3)](_0x1691ab+0x2*Ie,Qe);Oi(_0x583b10,{'height':J,'radius':0x4,'width':_0xe523d7,'fill':_0x7a9c31}),_0x583b10['fillStyle']=_0x1e8f3a(0x3ac);const _0x414ade=Ie,_0x5dbba6=J-Ei,_0x3f3f14=Qe-0x2*Ie;if(_0x1691ab>_0x3f3f14){let _0x4886e8='',_0x186bde=0x0;for(const _0x30f529 of _0x17f829){const _0x33e336=_0x583b10[_0x1e8f3a(0x219)](_0x30f529)[_0x1e8f3a(0x379)];if(_0x186bde+_0x33e336<=_0x3f3f14-_0x583b10[_0x1e8f3a(0x219)]('...')[_0x1e8f3a(0x379)])_0x4886e8+=_0x30f529,_0x186bde+=_0x33e336;else{_0x4886e8+=_0x1e8f3a(0x362);break;}}_0x583b10[_0x1e8f3a(0x29a)](_0x4886e8,_0x414ade,_0x5dbba6);}else _0x583b10[_0x1e8f3a(0x29a)](_0x17f829,_0x414ade,_0x5dbba6);_0x583b10[_0x1e8f3a(0x308)]();}['_draw'](_0x52d6d1){const _0x1af67c=_0x5d24c9;ue[_0x1af67c(0x300)](_0x52d6d1,this);}}const ve='collab-text-anchor-',bi=_0x5d24c9(0x3d9),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x3ae2b8,_0x1e060b,_0x5a6b7d,_0x1252b5){const _0x3c5a93=_0x5d24c9;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x3c5a93(0x3b4),null),_(this,_0x3c5a93(0x2c0),null),_(this,_0x3c5a93(0x389),null),_(this,_0x3c5a93(0x312),null),(this[_0x3c5a93(0x214)]=_0x3ae2b8,this['_scene']=_0x1e060b,this[_0x3c5a93(0x1e8)]=_0x5a6b7d,this['_document']=_0x1252b5,this[_0x3c5a93(0x222)]());}set[_0x5d24c9(0x1e0)](_0x5e9d48){const _0x1c26bc=_0x5d24c9;_0x5e9d48?(this[_0x1c26bc(0x2c0)]&&this[_0x1c26bc(0x2c0)][_0x1c26bc(0x2cb)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x1c26bc(0x2c0)]&&this[_0x1c26bc(0x2c0)][_0x1c26bc(0x26a)](),this[_0x1c26bc(0x3b4)]&&this[_0x1c26bc(0x3b4)][_0x1c26bc(0x2cb)]());}[_0x5d24c9(0x1f4)](){const _0x56293b=_0x5d24c9;for(const _0x33d7a2 of this[_0x56293b(0x1ec)])_0x33d7a2[_0x56293b(0x1f4)]();this[_0x56293b(0x3b4)]&&this['_textBubble'][_0x56293b(0x1f4)](),this[_0x56293b(0x2c0)]&&this['_anchorDot']['dispose'](),this[_0x56293b(0x36d)]&&this['_anchor'][_0x56293b(0x1f4)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x5d24c9(0x222)](){const _0x3858cc=_0x5d24c9;var _0x4ff40b;const {_docSkeleton:_0x15fae0,_document:_0x4b8e8a}=this,{color:_0x40e9a9,name:_0x2c8d35,ranges:_0x29b4ef}=this['_cursor'],_0x50efcd=_0x4b8e8a['getOffsetConfig'](),{docsLeft:_0x3807f4,docsTop:_0x2ff96e}=_0x50efcd,_0x3f5ef2=new _0x55aa3c(_0x50efcd,_0x15fae0);for(const {startOffset:_0x11eceb,endOffset:_0x2eeccd,rangeType:_0x2972e0,segmentId:_0x14815a,segmentPage:_0xb9b2b,collapsed:_0x46023c,isActive:_0x5da515}of _0x29b4ef){const _0xeccc73=_0x15fae0['findNodePositionByCharIndex'](_0x11eceb,!0x0,_0x14815a,_0xb9b2b);let _0x4c5ea0=_0x15fae0[_0x3858cc(0x290)](_0x2eeccd,!0x0,_0x14815a,_0xb9b2b);if(_0x4c5ea0==null&&(_0x4c5ea0=_0x15fae0[_0x3858cc(0x290)](_0x2eeccd-0x1,!0x1,_0x14815a,_0xb9b2b)),_0x5da515){const {contentBoxPointGroup:_0x130612}=_0x3f5ef2[_0x3858cc(0x2ad)](_0x4c5ea0,_0x4c5ea0);if(_0x130612[_0x3858cc(0x367)]===0x0)continue;this[_0x3858cc(0x2a3)](_0x40e9a9,_0x130612,_0x3807f4,_0x2ff96e,_0x2c8d35),this['_eventUnsubscribe']=this[_0x3858cc(0x328)]();}if(_0xeccc73&&_0x4c5ea0){if(_0x2972e0===_0x5be365['RECT']){const _0x1531b6=new _0x57b4a1(_0x50efcd,_0x15fae0),{pointGroup:_0x3e67c4}=(_0x4ff40b=_0x1531b6[_0x3858cc(0x2ad)](_0xeccc73,_0x4c5ea0))!=null?_0x4ff40b:{};if(_0x3e67c4==null||_0x3e67c4[_0x3858cc(0x367)]===0x0)continue;this['_drawRectRange'](_0x40e9a9,_0x3e67c4,_0x3807f4,_0x2ff96e);}else{if(!_0x46023c){const {borderBoxPointGroup:_0x1e21e7}=_0x3f5ef2['getRangePointData'](_0xeccc73,_0x4c5ea0);if(_0x1e21e7[_0x3858cc(0x367)]===0x0)continue;this[_0x3858cc(0x35d)](_0x40e9a9,_0x1e21e7,_0x3807f4,_0x2ff96e);}}}}}[_0x5d24c9(0x2a3)](_0x44eaa7,_0x23cb7a,_0x516a9d,_0x52184f,_0x26c062){const _0x5f4c8c=_0x5d24c9,_0x8da543=this['_getAnchorBounding'](_0x23cb7a),{left:_0x2a5085,top:_0x3e4053,height:_0x34b349}=_0x8da543,_0x5145a7=this[_0x5f4c8c(0x2d6)](),_0x4dd68c=Di/_0x5145a7,_0x221475=new _0x307dc5(ve+_0x4edadc(G),{'left':_0x2a5085+_0x516a9d-_0x4dd68c,'top':_0x3e4053+_0x52184f,'height':_0x34b349,'width':Ri,'fill':_0x44eaa7||_0x41b73d(_0x2958de[_0x5f4c8c(0x294)],0x0),'strokeWidth':_0x4dd68c,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x221475,this[_0x5f4c8c(0x32d)][_0x5f4c8c(0x321)](_0x221475,_0x4f526d);const _0x198041=new _0x307dc5(ve+_0x4edadc(G),{'left':_0x2a5085+_0x516a9d-_0x4dd68c,'top':_0x3e4053+_0x52184f-ge/0x2,'height':ge,'width':ge,'fill':_0x44eaa7||_0x41b73d(_0x2958de[_0x5f4c8c(0x294)],0x0),'strokeWidth':0x0,'stroke':_0x44eaa7||_0x41b73d(_0x2958de['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x198041,this[_0x5f4c8c(0x32d)][_0x5f4c8c(0x321)](_0x198041,_0x4f526d);const _0x9447d3=new ue(ve+_0x4edadc(G),{'left':_0x2a5085+_0x516a9d-_0x4dd68c,'top':_0x3e4053+_0x52184f-J,'text':_0x26c062,'color':_0x44eaa7});this[_0x5f4c8c(0x3b4)]=_0x9447d3,this[_0x5f4c8c(0x32d)][_0x5f4c8c(0x321)](_0x9447d3,_0x4f526d),this[_0x5f4c8c(0x1e0)]=!0x1;}[_0x5d24c9(0x328)](){const _0x5040a4=_0x5d24c9,_0x24a7f=this[_0x5040a4(0x36d)]['onPointerEnter$'][_0x5040a4(0x275)](()=>{const _0xcdffe4=_0x5040a4;this[_0xcdffe4(0x1e0)]=!0x0;}),_0x24305f=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x216545=_0x5040a4;this[_0x216545(0x389)]&&clearTimeout(this[_0x216545(0x389)]),this['_hideTimer']=setTimeout(()=>{const _0x3b6c04=_0x216545;this[_0x3b6c04(0x1e0)]=!0x1;},0x7d0);});return()=>{const _0x162f9a=_0x5040a4;_0x24a7f[_0x162f9a(0x395)](),_0x24305f[_0x162f9a(0x395)]();};}[_0x5d24c9(0x35d)](_0x4d1563,_0x473216,_0x3aadf0,_0x257756){const _0x3f70f2=_0x5d24c9,_0x1bda37=new _0x2b6930(_0x4d1563)[_0x3f70f2(0x31e)](0.2)[_0x3f70f2(0x287)](),_0x55d1b1=new _0x374b5d(bi+_0x4edadc(G),{'pointsGroup':_0x473216,'fill':_0x1bda37||_0x41b73d(_0x2958de[_0x3f70f2(0x294)],0.2),'left':_0x3aadf0,'top':_0x257756,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f70f2(0x1ec)][_0x3f70f2(0x293)](_0x55d1b1),this[_0x3f70f2(0x32d)]['addObject'](_0x55d1b1,_0x4f526d);}[_0x5d24c9(0x3b5)](_0x465aeb,_0x1c7120,_0x79b4da,_0x5d257a){const _0x1a6a72=_0x5d24c9,_0x127cab=new _0x2b6930(_0x465aeb)[_0x1a6a72(0x31e)](0.2)['toRgbString'](),_0x2cb4c2=new _0x374b5d(Ti+_0x4edadc(G),{'pointsGroup':_0x1c7120,'fill':_0x127cab||_0x41b73d(_0x2958de[_0x1a6a72(0x294)],0.2),'left':_0x79b4da,'top':_0x5d257a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a6a72(0x1ec)][_0x1a6a72(0x293)](_0x2cb4c2),this[_0x1a6a72(0x32d)][_0x1a6a72(0x321)](_0x2cb4c2,_0x4f526d);}[_0x5d24c9(0x291)](_0x4d32c2){const _0x9b2b0e=_0x4d32c2[0x0],_0x387783=_0x9b2b0e[0x0],_0x7eda1a=_0x9b2b0e[0x2],{x:_0xefdb34,y:_0x4d3492}=_0x387783,{x:_0x242753,y:_0x296bab}=_0x7eda1a;return{'left':_0xefdb34,'top':_0x4d3492,'width':_0x242753-_0xefdb34,'height':_0x296bab-_0x4d3492};}['_getScale'](){const _0x4c879d=_0x5d24c9,{scaleX:_0x3ff018,scaleY:_0x7aa6b8}=this[_0x4c879d(0x32d)][_0x4c879d(0x2e3)]();return Math[_0x4c879d(0x295)](_0x3ff018,_0x7aa6b8);}}var Ui=Object[_0x5d24c9(0x34d)],Mi=(_0x23ee35,_0x353300,_0x2e94b5,_0x9df2d6)=>{for(var _0x279bd8=_0x9df2d6>0x1?void 0x0:_0x9df2d6?Ui(_0x353300,_0x2e94b5):_0x353300,_0x3018a6=_0x23ee35['length']-0x1,_0x199e93;_0x3018a6>=0x0;_0x3018a6--)(_0x199e93=_0x23ee35[_0x3018a6])&&(_0x279bd8=_0x199e93(_0x279bd8)||_0x279bd8);return _0x279bd8;},q=(_0x205c32,_0xe98716)=>(_0x5af680,_0x133f02)=>_0xe98716(_0x5af680,_0x133f02,_0x205c32);let Le=class extends _0x27746e{constructor(_0x2fb0a5,_0x2d6e40,_0x339aba,_0x1f2974,_0x42b2e6){const _0x446a7d=_0x5d24c9;super(),_(this,_0x446a7d(0x371),[]),_(this,_0x446a7d(0x296),[]),(this[_0x446a7d(0x2de)]=_0x2fb0a5,this[_0x446a7d(0x305)]=_0x2d6e40,this[_0x446a7d(0x397)]=_0x339aba,this[_0x446a7d(0x218)]=_0x1f2974,this['_themeService']=_0x42b2e6,this[_0x446a7d(0x3d5)]());}[_0x5d24c9(0x3d5)](){const _0x3096b0=_0x5d24c9,_0x21b6b3=this['_context']['unitId'],_0x8a583b=this[_0x3096b0(0x305)];this['disposeWithMe'](_0x57a6ab([this[_0x3096b0(0x397)][_0x3096b0(0x2d1)](_0x21b6b3),this[_0x3096b0(0x347)][_0x3096b0(0x266)]])[_0x3096b0(0x3d1)](_0x4a507c(([_0x492889,_0x4a9e36])=>({'skeleton':_0x8a583b[_0x3096b0(0x29b)](),'cursors':[..._0x492889['values']()][_0x3096b0(0x2a7)](_0x32ed17=>({..._0x32ed17,'color':this[_0x3096b0(0x347)]['getColorFromTheme'](_0x32ed17[_0x3096b0(0x2f7)])}))})))['subscribe'](_0x55cf8a=>{const _0x4d2ede=_0x3096b0;if(this['_removeCollabCursors'](),_0x55cf8a){const {skeleton:_0x5d81c8,cursors:_0x3b5dc8}=_0x55cf8a;this[_0x4d2ede(0x2a5)](_0x5d81c8,_0x3b5dc8);}})),this['_initResize'](),this[_0x3096b0(0x227)]();}[_0x5d24c9(0x2a5)](_0x3b0b56,_0x57e1fc){const _0x2c62b6=_0x5d24c9,{scene:_0x3cbf60,mainComponent:_0x1a2b9e}=this[_0x2c62b6(0x2de)],_0x5cfbe7=_0x57e1fc[_0x2c62b6(0x21c)](_0x5c5f67=>new qe(_0x5c5f67,_0x3cbf60,_0x3b0b56,_0x1a2b9e));this[_0x2c62b6(0x371)]=_0x5cfbe7,this[_0x2c62b6(0x296)]=_0x57e1fc;}[_0x5d24c9(0x24e)](){const _0x30fb08=_0x5d24c9;this['_removeCollabCursors']();const {scene:_0x505c16,mainComponent:_0x4b7bab}=this[_0x30fb08(0x2de)],_0x57e56c=this[_0x30fb08(0x305)][_0x30fb08(0x29b)](),_0x40d6f9=this[_0x30fb08(0x296)][_0x30fb08(0x21c)](_0x22d969=>new qe(_0x22d969,_0x505c16,_0x57e56c,_0x4b7bab));this[_0x30fb08(0x371)]=_0x40d6f9;}['_removeCollabCursors'](){const _0x15c202=_0x5d24c9;this[_0x15c202(0x371)]['forEach'](_0x338584=>_0x338584[_0x15c202(0x1f4)]()),this['_cursorShapes']=[];}[_0x5d24c9(0x227)](){const _0x4f58f2=_0x5d24c9,_0x44d8d6=[_0x57654d['id']];this['disposeWithMe'](this[_0x4f58f2(0x218)][_0x4f58f2(0x3bc)](_0x1da0eb=>{const _0x522998=_0x4f58f2;_0x44d8d6[_0x522998(0x336)](_0x1da0eb['id'])&&_0x1da0eb[_0x522998(0x205)][_0x522998(0x2e7)]===this[_0x522998(0x2de)][_0x522998(0x2e7)]&&this['_refreshCollabCursors']();}));}[_0x5d24c9(0x332)](){const _0x217cd2=_0x5d24c9;this[_0x217cd2(0x3d8)](_0x38cb51(this['_context'][_0x217cd2(0x3c5)][_0x217cd2(0x358)])[_0x217cd2(0x3d1)](_0x5d33bf(_0x2ce4b6=>_0x2ce4b6[_0x217cd2(0x369)]===_0x540fdc[_0x217cd2(0x3a3)]),_0x750fe9(0x10))['subscribe'](()=>{const _0x3956c2=_0x217cd2;this[_0x3956c2(0x24e)]();}));}};Le=Mi([q(0x1,_0x476ef4(_0x2c2966)),q(0x2,_0x476ef4(F)),q(0x3,_0x1a6279),q(0x4,_0x476ef4(_0x5d8fcf))],Le);const Li=0x1,Pi=1.5;class wi extends _0x59039a{constructor(_0x13eccb,_0x30dfd0){const _0x270191=_0x5d24c9;super(_0x13eccb,_0x30dfd0),_(this,_0x270191(0x339)),_(this,_0x270191(0x21b),!0x1),_(this,_0x270191(0x3b6)),_(this,'_name',''),_(this,_0x270191(0x3aa),_0x270191(0x2e8)),_(this,'_backgroundColor'),(_0x30dfd0&&this[_0x270191(0x2f2)](_0x30dfd0),this['onPointerEnter$'][_0x270191(0x275)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x270191(0x249)][_0x270191(0x275)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5d24c9(0x2f2)](_0x2785c9){const _0x3b806a=_0x5d24c9;var _0x59f1b6,_0x8b28f9,_0x4d25ec,_0x2d7c85,_0x2421d9,_0x44ca3f;this[_0x3b806a(0x339)]=(_0x59f1b6=_0x2785c9[_0x3b806a(0x2f7)])!=null?_0x59f1b6:this[_0x3b806a(0x339)],this[_0x3b806a(0x21b)]=(_0x8b28f9=_0x2785c9['hovered'])!=null?_0x8b28f9:this[_0x3b806a(0x21b)],this[_0x3b806a(0x3b6)]=(_0x4d25ec=_0x2785c9[_0x3b806a(0x39b)])!=null?_0x4d25ec:this[_0x3b806a(0x3b6)],this['_name']=(_0x2d7c85=_0x2785c9['name'])!=null?_0x2d7c85:this[_0x3b806a(0x2a2)],this['_labelPosition']=(_0x2421d9=_0x2785c9['labelPosition'])!=null?_0x2421d9:this[_0x3b806a(0x3aa)],this['_backgroundColor']=(_0x44ca3f=_0x2785c9[_0x3b806a(0x385)])!=null?_0x44ca3f:this[_0x3b806a(0x31f)],this[_0x3b806a(0x24a)]({'width':_0x2785c9[_0x3b806a(0x379)],'height':_0x2785c9[_0x3b806a(0x212)]});}[_0x5d24c9(0x36f)](_0x36e74e){const _0x55f367=_0x5d24c9,{row:_0x21be75,column:_0x2be572}=_0x36e74e;if(_0x21be75>=this[_0x55f367(0x3b6)][_0x55f367(0x201)]&&_0x21be75<=this['_range'][_0x55f367(0x307)]&&_0x2be572>=this[_0x55f367(0x3b6)]['startColumn']&&_0x2be572<=this[_0x55f367(0x3b6)][_0x55f367(0x25f)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5d24c9(0x3a2)](_0x1f2eb7){return!0x1;}[_0x5d24c9(0x2dd)](_0x4bd62d){const _0x4cad32=_0x5d24c9;_0x307dc5[_0x4cad32(0x300)](_0x4bd62d,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4cad32(0x31f)]}),this[_0x4cad32(0x21b)]&&(_0x4bd62d[_0x4cad32(0x390)](),_0x4bd62d['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x4cad32(0x2e2)?0x0:-J),ue[_0x4cad32(0x300)](_0x4bd62d,{'text':this[_0x4cad32(0x2a2)],'color':this[_0x4cad32(0x339)]}),_0x4bd62d[_0x4cad32(0x308)]());}}var Ai=Object[_0x5d24c9(0x34d)],yi=(_0x392da8,_0x83cd67,_0x5dce00,_0x3548fe)=>{const _0x1a60c4=_0x5d24c9;for(var _0xf5380e=_0x3548fe>0x1?void 0x0:_0x3548fe?Ai(_0x83cd67,_0x5dce00):_0x83cd67,_0x2608c1=_0x392da8[_0x1a60c4(0x367)]-0x1,_0x11d67e;_0x2608c1>=0x0;_0x2608c1--)(_0x11d67e=_0x392da8[_0x2608c1])&&(_0xf5380e=_0x11d67e(_0xf5380e)||_0xf5380e);return _0xf5380e;},pe=(_0x5cc20f,_0x4b51e4)=>(_0x1e90cd,_0x5040e4)=>_0x4b51e4(_0x1e90cd,_0x5040e4,_0x5cc20f);const $i=0x1389;let Pe=class extends _0x27746e{constructor(_0x2ea6f0,_0x52d7da,_0x2244a1,_0x253b3e){const _0x50ae04=_0x5d24c9;super(),_(this,'_cursors',new Set()),_(this,_0x50ae04(0x35a),null),(this[_0x50ae04(0x2de)]=_0x2ea6f0,this[_0x50ae04(0x3b1)]=_0x52d7da,this['_collabCursorController']=_0x2244a1,this['_themeService']=_0x253b3e,this[_0x50ae04(0x3d5)]());}[_0x5d24c9(0x3d5)](){const _0x27572c=_0x5d24c9;this[_0x27572c(0x3b1)][_0x27572c(0x3d6)][_0x27572c(0x3d1)](_0x252116(this[_0x27572c(0x326)]),_0x200b81(_0x2cce0a=>{const _0x392c7a=_0x27572c;if(_0x2cce0a){const _0x37dbbc=_0x2cce0a[_0x392c7a(0x3cd)];return _0x57a6ab(this[_0x392c7a(0x397)][_0x392c7a(0x2d1)](this[_0x392c7a(0x2de)][_0x392c7a(0x2e7)]),this[_0x392c7a(0x347)][_0x392c7a(0x266)])[_0x392c7a(0x3d1)](_0x4a507c(([_0x14995c,_0x1b023d])=>{const _0x22726d=new Map();return _0x14995c['forEach']((_0xc89048,_0x3efd78)=>{const _0x467623=_0x130c;if(_0xc89048[_0x467623(0x270)]===_0x37dbbc){const _0x3d46e1={..._0xc89048};_0x3d46e1[_0x467623(0x2f7)]=this['_themeService'][_0x467623(0x39d)](_0xc89048[_0x467623(0x2f7)]),_0x22726d[_0x467623(0x3a8)](_0x3efd78,_0x3d46e1);}}),{'skeleton':_0x2cce0a,'cursors':_0x22726d};}));}return _0x4983e4({'skeleton':null,'cursors':new Map()});}))[_0x27572c(0x23b)](({skeleton:_0x2be1bc,cursors:_0x1cdc3f})=>{const _0x5e932b=_0x27572c;this[_0x5e932b(0x32b)](),_0x2be1bc&&this[_0x5e932b(0x2a5)](_0x2be1bc,_0x1cdc3f);}),this[_0x27572c(0x3b1)][_0x27572c(0x3d6)][_0x27572c(0x23b)](_0x42bc31=>{const _0x27081c=_0x27572c;if(_0x42bc31==null)return;const {skeleton:_0x1b919f}=_0x42bc31,{scene:_0xd7b60d}=this[_0x27081c(0x2de)];_0xd7b60d[_0x27081c(0x32a)][_0x27081c(0x275)](_0x16f5fd(_0x11b796=>{const _0x52cad1=_0x27081c;var _0x9e021b,_0x1e62b2;const {offsetX:_0x4ee390,offsetY:_0x1530cd}=_0x11b796,{x:_0xd77174,y:_0x3e6b02}=_0xd7b60d[_0x52cad1(0x271)](_0x27eec2[_0x52cad1(0x233)]([_0x4ee390,_0x1530cd])),{scaleX:_0x2b8dd3,scaleY:_0x48df2f}=_0xd7b60d[_0x52cad1(0x2e3)](),_0x34f004=_0xd7b60d['getViewport'](_0x51317d[_0x52cad1(0x216)]),_0x1c9aae=_0xd7b60d[_0x52cad1(0x1f5)](_0x27eec2[_0x52cad1(0x233)]([_0xd77174,_0x3e6b02]),_0x34f004),_0x7af437=_0x1b919f['getCellPositionByOffset'](_0x4ee390,_0x1530cd,_0x2b8dd3,_0x48df2f,_0x1c9aae);((_0x9e021b=this[_0x52cad1(0x35a)])==null?void 0x0:_0x9e021b['column'])===_0x7af437[_0x52cad1(0x288)]&&((_0x1e62b2=this[_0x52cad1(0x35a)])==null?void 0x0:_0x1e62b2[_0x52cad1(0x223)])===_0x7af437[_0x52cad1(0x223)]||this[_0x52cad1(0x296)][_0x52cad1(0x230)](_0x285c9d=>{_0x285c9d['onMouseMove'](_0x7af437);});},0x64));});}[_0x5d24c9(0x2a5)](_0x4a950b,_0x1e168e){const _0x35a9c2=_0x5d24c9;var _0x385e7b;const _0x566697=(_0x385e7b=this[_0x35a9c2(0x3b1)][_0x35a9c2(0x1f9)]())==null?void 0x0:_0x385e7b[_0x35a9c2(0x2a4)];if(!_0x566697)return;const _0x30ccc1=this[_0x35a9c2(0x259)]();if(!_0x30ccc1)return;this['_cursors'][_0x35a9c2(0x230)](_0x41a572=>{const _0x5a185c=_0x35a9c2;_0x41a572[_0x5a185c(0x22f)]();});const {scene:_0x41618}=_0x30ccc1,_0x2207c7=xi(Array[_0x35a9c2(0x306)](_0x1e168e[_0x35a9c2(0x241)]()))['map'](_0x3775f0=>{const _0x36ae42=_0x35a9c2,{color:_0x24ea6f,range:_0x342936,name:_0x2bfd74,selection:_0x1f519c,sheetID:_0x9a3116}=_0x3775f0,{startColumn:_0x50bc26,startRow:_0x21b9ed,endColumn:_0x33a3db,endRow:_0x21b7de}=_0x342936,_0x8bf6b6=_0x5673fa(_0x21b9ed,_0x50bc26,_0x41618,_0x566697),_0x5540d6=_0x5673fa(_0x21b7de,_0x33a3db,_0x41618,_0x566697),{columnHeaderHeightAndMarginTop:_0x21468b}=_0x566697,{startX:_0x43422b,startY:_0x19aefb}=_0x8bf6b6,{endX:_0x23e2d5,endY:_0x309912}=_0x5540d6,_0x4db83c=_0x23e2d5-_0x43422b,_0x163d75=_0x309912-_0x19aefb,_0x30f06e={'labelPosition':_0x19aefb-_0x21468b>=J?_0x36ae42(0x2e8):_0x36ae42(0x2e2),'sheetID':_0x9a3116,'range':_0x342936,'color':_0x24ea6f,'name':_0x2bfd74,'selection':_0x1f519c,'left':_0x43422b,'top':_0x19aefb,'width':_0x4db83c,'height':_0x163d75,'evented':!0x1,'zIndex':$i};return new wi(_0x2bfd74,_0x30f06e);});_0x41618[_0x35a9c2(0x2fb)](_0x2207c7,Li),this[_0x35a9c2(0x296)]=new Set(_0x2207c7);}['_removeCollabCursors'](){const _0x33870b=_0x5d24c9;var _0x39071b;(_0x39071b=this[_0x33870b(0x296)])==null||_0x39071b['forEach'](_0x555a97=>_0x555a97[_0x33870b(0x1f4)]());}[_0x5d24c9(0x259)](){const _0x3240a8=_0x5d24c9;return _0x24a3c5(this['_context'][_0x3240a8(0x2b2)],this['_context']);}};Pe=yi([pe(0x1,_0x476ef4(_0x34a495)),pe(0x2,_0x476ef4(F)),pe(0x3,_0x476ef4(_0x5d8fcf))],Pe);function xi(_0x3d3d77){const _0xe90fd7=_0x5d24c9,_0x127ee5=new Map();return _0x3d3d77[_0xe90fd7(0x230)](_0xc44d4c=>{const _0x15d460=_0xe90fd7;if(_0x127ee5['has'](_0xc44d4c[_0x15d460(0x1f7)])){const _0x48ab34=_0x127ee5[_0x15d460(0x1e4)](_0xc44d4c[_0x15d460(0x1f7)]);_0x48ab34[_0x15d460(0x315)]+=',\x20'+_0xc44d4c['name'];}else _0x127ee5[_0x15d460(0x3a8)](_0xc44d4c[_0x15d460(0x1f7)],_0xc44d4c);}),Array['from'](_0x127ee5[_0xe90fd7(0x241)]());}var v=function(){const _0x11650f=_0x5d24c9;return v=Object[_0x11650f(0x378)]||function(_0x135041){const _0x26caac=_0x11650f;for(var _0x5e5170,_0x2cb1d9=0x1,_0x3b02cc=arguments[_0x26caac(0x367)];_0x2cb1d9<_0x3b02cc;_0x2cb1d9++){_0x5e5170=arguments[_0x2cb1d9];for(var _0x3d59d3 in _0x5e5170)Object[_0x26caac(0x365)][_0x26caac(0x2af)][_0x26caac(0x299)](_0x5e5170,_0x3d59d3)&&(_0x135041[_0x3d59d3]=_0x5e5170[_0x3d59d3]);}return _0x135041;},v[_0x11650f(0x20e)](this,arguments);},Bi=function(_0x3fa766,_0x4633c4){const _0xbb17e0=_0x5d24c9;var _0x59ed2e={};for(var _0x149f7b in _0x3fa766)Object['prototype'][_0xbb17e0(0x2af)][_0xbb17e0(0x299)](_0x3fa766,_0x149f7b)&&_0x4633c4[_0xbb17e0(0x30c)](_0x149f7b)<0x0&&(_0x59ed2e[_0x149f7b]=_0x3fa766[_0x149f7b]);if(_0x3fa766!=null&&typeof Object[_0xbb17e0(0x3c3)]==_0xbb17e0(0x313)){for(var _0x486958=0x0,_0x149f7b=Object[_0xbb17e0(0x3c3)](_0x3fa766);_0x486958<_0x149f7b[_0xbb17e0(0x367)];_0x486958++)_0x4633c4[_0xbb17e0(0x30c)](_0x149f7b[_0x486958])<0x0&&Object[_0xbb17e0(0x365)][_0xbb17e0(0x391)][_0xbb17e0(0x299)](_0x3fa766,_0x149f7b[_0x486958])&&(_0x59ed2e[_0x149f7b[_0x486958]]=_0x3fa766[_0x149f7b[_0x486958]]);}return _0x59ed2e;},Fe=_0xa9ece8(function(_0x9466e,_0x272699){const _0x5bf550=_0x5d24c9;var _0x303252=_0x9466e[_0x5bf550(0x376)],_0x3cba3c=_0x9466e['id'],_0x58a8ad=_0x9466e[_0x5bf550(0x36c)],_0x1f650f=_0x9466e[_0x5bf550(0x1e7)],_0x9a0fa6=Bi(_0x9466e,[_0x5bf550(0x376),'id','className',_0x5bf550(0x1e7)]),_0xd8a59f=_0x5bf550(0x206)[_0x5bf550(0x217)](_0x3cba3c,'\x20')['concat'](_0x58a8ad||'')[_0x5bf550(0x34a)](),_0x3c728f=_0x5b793d('_'[_0x5bf550(0x217)](Fi()));return Dt(_0x303252,''[_0x5bf550(0x217)](_0x3cba3c),{'defIds':_0x303252[_0x5bf550(0x2ee)],'idSuffix':_0x3c728f[_0x5bf550(0x2f0)]},v({'ref':_0x272699,'className':_0xd8a59f},_0x9a0fa6),_0x1f650f);});function Dt(_0x350184,_0x4cb3b8,_0x57b8f1,_0x4a6e3d,_0x16cf60){const _0x400552=_0x5d24c9;return _0x56ddc5(_0x350184['tag'],v(v({'key':_0x4cb3b8},ki(_0x350184,_0x57b8f1,_0x16cf60)),_0x4a6e3d),(Hi(_0x350184,_0x57b8f1)[_0x400552(0x333)]||[])[_0x400552(0x21c)](function(_0xc845eb,_0x299bf7){const _0x4e3102=_0x400552;return Dt(_0xc845eb,''[_0x4e3102(0x217)](_0x4cb3b8,'-')[_0x4e3102(0x217)](_0x350184[_0x4e3102(0x213)],'-')[_0x4e3102(0x217)](_0x299bf7),_0x57b8f1,void 0x0,_0x16cf60);}));}function ki(_0x3faae9,_0x55135b,_0x4d0fba){const _0x216563=_0x5d24c9;var _0x75ab6=v({},_0x3faae9['attrs']);_0x4d0fba!=null&&_0x4d0fba['colorChannel1']&&_0x75ab6['fill']===_0x216563(0x2ca)&&(_0x75ab6[_0x216563(0x2d4)]=_0x4d0fba[_0x216563(0x2ca)]),_0x3faae9[_0x216563(0x213)]===_0x216563(0x2e9)&&_0x75ab6['id']&&(_0x75ab6['id']=_0x75ab6['id']+_0x55135b['idSuffix']),Object['entries'](_0x75ab6)['forEach'](function(_0xeba1bf){const _0x551a74=_0x216563;var _0x45f59f=_0xeba1bf[0x0],_0x3544b5=_0xeba1bf[0x1];_0x45f59f===_0x551a74(0x2e9)&&typeof _0x3544b5==_0x551a74(0x22a)&&(_0x75ab6[_0x45f59f]=_0x3544b5[_0x551a74(0x314)](/url\(#(.*)\)/,_0x551a74(0x366)['concat'](_0x55135b['idSuffix'],')')));});var _0x3c0b99=_0x55135b[_0x216563(0x2ee)];return!_0x3c0b99||_0x3c0b99[_0x216563(0x367)]===0x0||(_0x3faae9[_0x216563(0x213)]==='use'&&_0x75ab6[_0x216563(0x37f)]&&(_0x75ab6[_0x216563(0x37f)]=_0x75ab6['xlink:href']+_0x55135b[_0x216563(0x2f5)]),Object['entries'](_0x75ab6)[_0x216563(0x230)](function(_0x1e1fe5){const _0x15adc9=_0x216563;var _0xbabc7c=_0x1e1fe5[0x0],_0x56b5a1=_0x1e1fe5[0x1];typeof _0x56b5a1==_0x15adc9(0x22a)&&(_0x75ab6[_0xbabc7c]=_0x56b5a1[_0x15adc9(0x314)](/url\(#(.*)\)/,_0x15adc9(0x366)['concat'](_0x55135b[_0x15adc9(0x2f5)],')')));})),_0x75ab6;}function Hi(_0x495d13,_0x2390f6){const _0x50974e=_0x5d24c9;var _0x44b30c,_0x2d74e9=_0x2390f6['defIds'];return!_0x2d74e9||_0x2d74e9[_0x50974e(0x367)]===0x0?_0x495d13:_0x495d13['tag']===_0x50974e(0x36b)&&(!((_0x44b30c=_0x495d13['children'])===null||_0x44b30c===void 0x0)&&_0x44b30c['length'])?v(v({},_0x495d13),{'children':_0x495d13['children'][_0x50974e(0x21c)](function(_0x2a6057){const _0x5be0a4=_0x50974e;return typeof _0x2a6057['attrs']['id']=='string'&&_0x2d74e9&&_0x2d74e9['includes'](_0x2a6057[_0x5be0a4(0x36a)]['id'])?v(v({},_0x2a6057),{'attrs':v(v({},_0x2a6057[_0x5be0a4(0x36a)]),{'id':_0x2a6057['attrs']['id']+_0x2390f6[_0x5be0a4(0x2f5)]})}):_0x2a6057;})}):_0x495d13;}function Fi(){const _0x25abde=_0x5d24c9;return Math[_0x25abde(0x23d)]()[_0x25abde(0x1fd)](0x24)['substring'](0x2,0x8);}Fe[_0x5d24c9(0x309)]='UniverIcon';var Yi={'tag':_0x5d24c9(0x1e2),'attrs':{'xmlns':_0x5d24c9(0x2b7),'fill':_0x5d24c9(0x331),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5d24c9(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d24c9(0x39c)},'children':[{'tag':'path','attrs':{'stroke':_0x5d24c9(0x310),'d':_0x5d24c9(0x394),'strokeLinecap':_0x5d24c9(0x3a0),'strokeLinejoin':_0x5d24c9(0x3a0),'strokeWidth':1.2}}]},{'tag':_0x5d24c9(0x36b),'attrs':{},'children':[{'tag':_0x5d24c9(0x298),'attrs':{'id':_0x5d24c9(0x2ff)},'children':[{'tag':_0x5d24c9(0x209),'attrs':{'fill':'white','d':_0x5d24c9(0x323)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0xa9ece8(function(_0x3470ba,_0x1b4586){const _0x3aa65a=_0x5d24c9;return _0x56ddc5(Fe,Object[_0x3aa65a(0x378)]({},_0x3470ba,{'id':'off-line-icon','ref':_0x1b4586,'icon':Yi}));});Nt[_0x5d24c9(0x309)]=_0x5d24c9(0x2c7);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d24c9(0x331),'viewBox':'0\x200\x2017\x2016','width':_0x5d24c9(0x25b),'height':_0x5d24c9(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5d24c9(0x209),'attrs':{'stroke':_0x5d24c9(0x310),'d':_0x5d24c9(0x3cb),'strokeLinecap':_0x5d24c9(0x3a0),'strokeLinejoin':_0x5d24c9(0x3a0),'strokeWidth':1.2}}]},{'tag':_0x5d24c9(0x36b),'attrs':{},'children':[{'tag':_0x5d24c9(0x298),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x5d24c9(0x26b)}}]}]}],'defIds':[_0x5d24c9(0x3b3)]},Ut=_0xa9ece8(function(_0x10219b,_0x5e8798){const _0x481f9c=_0x5d24c9;return _0x56ddc5(Fe,Object[_0x481f9c(0x378)]({},_0x10219b,{'id':'on-line-icon','ref':_0x5e8798,'icon':ji}));});Ut[_0x5d24c9(0x309)]=_0x5d24c9(0x22d);function Vi(_0x249092){const _0x11cf52=_0x5d24c9;switch(_0x249092){case _0x7b1e8c[_0x11cf52(0x387)]:return _0x11cf52(0x297);case _0x7b1e8c[_0x11cf52(0x26d)]:return _0x11cf52(0x23a);case _0x7b1e8c[_0x11cf52(0x215)]:return'collabStatus.fetchMiss';case _0x7b1e8c[_0x11cf52(0x27c)]:return _0x11cf52(0x3a1);case _0x7b1e8c[_0x11cf52(0x2ac)]:case _0x7b1e8c[_0x11cf52(0x373)]:return'collabStatus.syncing';case _0x7b1e8c[_0x11cf52(0x265)]:case _0x7b1e8c[_0x11cf52(0x292)]:return _0x11cf52(0x346);}}function Wi(_0x48b260){const _0x99985b=_0x5d24c9,{status$:_0x31bbe3}=_0x48b260,_0x8811e=_0x12553d(_0x31bbe3,_0x7b1e8c[_0x99985b(0x27c)]),_0x1a5776=_0x1fe162(_0x461c11),_0x3e5544=_0x1fe162(_0x334391),_0x487e1d=_0x8811e!==_0x7b1e8c['OFFLINE'],_0x1eb3b1=_0x1a5776['t'](Vi(_0x8811e)),_0x25d25a=_0x487e1d?_0x2e40c1(Ut,{}):_0x2e40c1(Nt,{}),_0x4d2534=_0x1cdef4(()=>{const _0x2f2bc5=_0x99985b;_0x487e1d||_0x3e5544[_0x2f2bc5(0x27e)]();},[_0x487e1d,_0x3e5544]);function _0x15cc77(){const _0x3364bc=_0x99985b;return _0x340db7(_0x3364bc(0x341),{'className':_0x3364bc(0x238),'onClick':_0x4d2534,'children':[_0x2e40c1(_0x3364bc(0x341),{'className':_0x4cdf3f(_0x3364bc(0x2f9),{'univer-text-green-500':_0x487e1d,'univer-text-red-500':!_0x487e1d}),'children':_0x25d25a}),_0x2e40c1('div',{'className':_0x3364bc(0x353),'children':_0x1eb3b1})]});}return _0x487e1d?_0x15cc77():_0x2e40c1(_0x5b94ff,{'title':_0x1a5776['t'](_0x99985b(0x225)),'children':_0x15cc77()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x22e345,_0x137e98,_0x198d42,_0x371c54)=>{const _0xbc98aa=_0x5d24c9;for(var _0x24e118=_0x371c54>0x1?void 0x0:_0x371c54?Xi(_0x137e98,_0x198d42):_0x137e98,_0x140c99=_0x22e345[_0xbc98aa(0x367)]-0x1,_0x566d76;_0x140c99>=0x0;_0x140c99--)(_0x566d76=_0x22e345[_0x140c99])&&(_0x24e118=_0x566d76(_0x24e118)||_0x24e118);return _0x24e118;},ee=(_0x3f1a5f,_0x1d7dc6)=>(_0x24d319,_0x2b2e2c)=>_0x1d7dc6(_0x24d319,_0x2b2e2c,_0x3f1a5f);let se=class extends _0x2e4a76{constructor(_0x7596be,_0x57ce02,_0xaad73d,_0x5c6563){const _0x4d455a=_0x5d24c9;super(),_(this,_0x4d455a(0x39e),new _0x5952f2(_0x7b1e8c[_0x4d455a(0x27c)])),(this[_0x4d455a(0x3cc)]=_0x7596be,this[_0x4d455a(0x304)]=_0x57ce02,this[_0x4d455a(0x2c8)]=_0xaad73d,this[_0x4d455a(0x3a7)]=_0x5c6563,this[_0x4d455a(0x1ef)](),this[_0x4d455a(0x29d)]());}[_0x5d24c9(0x29d)](){const _0x24b191=_0x5d24c9;this[_0x24b191(0x3d8)](this[_0x24b191(0x3cc)][_0x24b191(0x20d)][_0x24b191(0x3d1)](_0x583864(()=>{const _0x544b0c=_0x24b191,_0x2b905e=this[_0x544b0c(0x3cc)][_0x544b0c(0x317)]();return _0x2b905e?this[_0x544b0c(0x2c8)][_0x544b0c(0x204)](_0x2b905e[_0x544b0c(0x399)]()):_0x4983e4(null);}),_0x583864(_0x4bf956=>_0x4bf956?_0x4bf956['status$']:_0x4983e4(_0x7b1e8c[_0x24b191(0x27c)])))[_0x24b191(0x23b)](_0x4ee00a=>{const _0x10cbda=_0x24b191;this[_0x10cbda(0x39e)][_0x10cbda(0x243)](_0x4ee00a);}));}[_0x5d24c9(0x1ef)](){const _0x281202=_0x5d24c9;this['disposeWithMe'](this[_0x281202(0x3a7)][_0x281202(0x37d)](_0x116255[_0x281202(0x364)],()=>_0x49c554(Ki({'status$':this[_0x281202(0x39e)][_0x281202(0x240)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x55ae69),ee(0x1,_0x476ef4(_0x3529a9)),ee(0x2,_0x476ef4(_0x406caf)),ee(0x3,_0x513ad6)],se);function Ki(_0x48905a){const {status$:_0x291498}=_0x48905a;return function(){return _0x2e40c1(Wi,{'status$':_0x291498});};}var zi=Object[_0x5d24c9(0x34d)],Ji=(_0xe66a7,_0x20141f,_0x5b6d1c,_0x4011b0)=>{const _0xfe12c=_0x5d24c9;for(var _0x266d2b=_0x4011b0>0x1?void 0x0:_0x4011b0?zi(_0x20141f,_0x5b6d1c):_0x20141f,_0xc04b9b=_0xe66a7[_0xfe12c(0x367)]-0x1,_0x42c329;_0xc04b9b>=0x0;_0xc04b9b--)(_0x42c329=_0xe66a7[_0xc04b9b])&&(_0x266d2b=_0x42c329(_0x266d2b)||_0x266d2b);return _0x266d2b;},B=(_0x51f5b3,_0x4571b5)=>(_0x5a3888,_0x2bfa8d)=>_0x4571b5(_0x5a3888,_0x2bfa8d,_0x51f5b3);let ie=class extends _0x2e4a76{constructor(_0x336f74,_0x2cb70e,_0x1f0e23,_0x575c8d,_0x1207b4,_0x112c23){const _0x5967ad=_0x5d24c9;super(),this[_0x5967ad(0x2ae)]=_0x336f74,this[_0x5967ad(0x31c)]=_0x2cb70e,this['_collaborationUIEventService']=_0x1f0e23,this[_0x5967ad(0x263)]=_0x575c8d,this['_notificationService']=_0x1207b4,this['_localeService']=_0x112c23,this['_setupBeforeClosingHandler'](),this[_0x5967ad(0x3d7)]();}[_0x5d24c9(0x2a8)](){const _0x54d79b=_0x5d24c9;this[_0x54d79b(0x3d8)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x48f632=_0x54d79b;if(this['_localCacheService'][_0x48f632(0x363)][_0x48f632(0x2cf)])return this[_0x48f632(0x398)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5d24c9(0x3d7)](){const _0x2f6c67=_0x5d24c9;this[_0x2f6c67(0x3d8)](this[_0x2f6c67(0x2b9)][_0x2f6c67(0x28c)][_0x2f6c67(0x23b)](_0x3a34a2=>{const _0x28af77=_0x2f6c67;_0x3a34a2['id']===_0x92ff43['OTHER_CLIENT_EDITING']&&this[_0x28af77(0x263)][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this[_0x28af77(0x398)]['t']('collaboration.single-unit.warning')}),_0x3a34a2['id']===_0x92ff43['CLOSE_ROOM']&&this['_messageService'][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x237))}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x3da)]&&this[_0x28af77(0x26f)][_0x28af77(0x26a)]({'title':this[_0x28af77(0x398)]['t'](_0x28af77(0x340)),'content':this[_0x28af77(0x398)]['t']('permission.content'),'type':_0x28af77(0x382),'duration':0x0}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x26d)]&&this[_0x28af77(0x263)]['show']({'type':_0x1d6e4e[_0x28af77(0x226)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x237))+'('+_0x3a34a2[_0x28af77(0x2be)]+')'}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x2ce)]&&this['_messageService']['show']({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this[_0x28af77(0x398)]['t'](_0x3a34a2[_0x28af77(0x2be)]||'')}),_0x3a34a2['id']===_0x92ff43['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this['_localeService']['t'](_0x28af77(0x35b))}),_0x3a34a2['id']===_0x92ff43['SOCKET_FAILED']&&this['_messageService'][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x226)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x33e))}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x24f)]&&this[_0x28af77(0x263)][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x226)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x34c))});}));}};ie=Ji([B(0x0,_0x42d933),B(0x1,_0x2c318e),B(0x2,_0x476ef4(_0x1c22f3)),B(0x3,_0x22a71f),B(0x4,_0x338597),B(0x5,_0x476ef4(_0x461c11))],ie);const Zi=_0x5d24c9(0x280),et={},Mt=_0x2b03c6(_0x5d24c9(0x3ca));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x2dd9da,_0x354e04,_0xc8e241,_0x3d0cdb)=>{const _0x5d5291=_0x5d24c9;for(var _0xbe723e=_0x3d0cdb>0x1?void 0x0:_0x3d0cdb?Qi(_0x354e04,_0xc8e241):_0x354e04,_0x4e33ec=_0x2dd9da[_0x5d5291(0x367)]-0x1,_0x5d8ef0;_0x4e33ec>=0x0;_0x4e33ec--)(_0x5d8ef0=_0x2dd9da[_0x4e33ec])&&(_0xbe723e=_0x5d8ef0(_0xbe723e)||_0xbe723e);return _0xbe723e;},K=(_0x1c1588,_0x401de2)=>(_0x496ea0,_0x1109f7)=>_0x401de2(_0x496ea0,_0x1109f7,_0x1c1588);let ne=class extends _0x27746e{constructor(_0x3e0242,_0x5a26e3,_0x3c61e5,_0x4e5b09,_0x31013f){const _0x11406b=_0x5d24c9;super(),this[_0x11406b(0x210)]=_0x3e0242,this[_0x11406b(0x2a0)]=_0x5a26e3,this[_0x11406b(0x218)]=_0x3c61e5,this[_0x11406b(0x254)]=_0x4e5b09,_0x31013f?_0x31013f==null||_0x31013f[_0x11406b(0x31a)]()['then'](()=>this['_init']()):(this[_0x11406b(0x2a0)][_0x11406b(0x1eb)](_0x11406b(0x361),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x5d24c9(0x3d5)](){const _0x4223f9=_0x5d24c9,_0xcd0e5d=this[_0x4223f9(0x210)][_0x4223f9(0x2bd)](_0x4223f9(0x2b2)),_0x3e018e=this[_0x4223f9(0x210)]['getParam'](_0x4223f9(0x369)),_0xb88a62=this[_0x4223f9(0x210)]['getParam']('subunit');if(!_0xcd0e5d||!_0x3e018e){this[_0x4223f9(0x2a0)][_0x4223f9(0x1eb)](_0x4223f9(0x361),_0x4223f9(0x23e));return;}const _0x3828cf=await this[_0x4223f9(0x254)][_0x4223f9(0x3ce)](_0xcd0e5d,Number(_0x3e018e),_0xb88a62);_0x3828cf&&_0x3828cf instanceof _0x2f0518&&this['_setupSubUnitSync'](_0x3828cf);}async['_setupSubUnitSync'](_0x46a86d){const _0x3c93b4=_0x5d24c9;await this[_0x3c93b4(0x316)](_0x46a86d),_0x46a86d[_0x3c93b4(0x3ab)][_0x3c93b4(0x3d1)](_0x1e6d67(this['dispose$']))[_0x3c93b4(0x23b)](_0x2fbf70=>{_0x2fbf70&&this['_updateURLWithCurrentState'](_0x2fbf70);}),this['_urlService']['urlChange$'][_0x3c93b4(0x3d1)](_0x1e6d67(this[_0x3c93b4(0x326)]))[_0x3c93b4(0x23b)](()=>this[_0x3c93b4(0x316)](_0x46a86d));}[_0x5d24c9(0x2bf)](_0x462f53,_0x47dee7=!0x1){const _0x57018c=_0x5d24c9,_0x28bc8b=this['_urlService'][_0x57018c(0x2bd)](_0x57018c(0x273));_0x462f53[_0x57018c(0x285)]()!==_0x28bc8b&&this[_0x57018c(0x210)]['setParam'](_0x57018c(0x273),_0x462f53[_0x57018c(0x285)](),_0x47dee7);}async[_0x5d24c9(0x316)](_0x53f96d){const _0x522c80=_0x5d24c9;var _0x5f5a93;const _0x5bb23c=this[_0x522c80(0x210)][_0x522c80(0x2bd)](_0x522c80(0x273));if(!_0x5bb23c||!_0x53f96d[_0x522c80(0x2c2)](_0x5bb23c)){const _0x12462e=_0x53f96d[_0x522c80(0x31b)]()[0x0],_0x597052=_0x53f96d[_0x522c80(0x2c2)](_0x12462e);if(!_0x597052)return;this[_0x522c80(0x2bf)](_0x597052,!0x0),await this[_0x522c80(0x218)][_0x522c80(0x320)](_0xce0d74['id'],{'unitId':_0x53f96d[_0x522c80(0x399)](),'subUnitId':_0x12462e});return;}((_0x5f5a93=_0x53f96d[_0x522c80(0x33b)]())==null?void 0x0:_0x5f5a93[_0x522c80(0x285)]())!==_0x5bb23c&&await this[_0x522c80(0x218)][_0x522c80(0x320)](_0xce0d74['id'],{'unitId':_0x53f96d[_0x522c80(0x399)](),'subUnitId':_0x5bb23c});}};ne=qi([K(0x0,Mt),K(0x1,_0x24c021),K(0x2,_0x1a6279),K(0x3,_0x476ef4(_0x1d8805)),K(0x4,_0x2b094b(_0x10825d))],ne);var en=Object[_0x5d24c9(0x34d)],tn=(_0xad82a3,_0x11186d,_0x18aedd,_0x2c083f)=>{const _0x37f9c3=_0x5d24c9;for(var _0x4a1a6a=_0x2c083f>0x1?void 0x0:_0x2c083f?en(_0x11186d,_0x18aedd):_0x11186d,_0x4b9204=_0xad82a3[_0x37f9c3(0x367)]-0x1,_0x244f37;_0x4b9204>=0x0;_0x4b9204--)(_0x244f37=_0xad82a3[_0x4b9204])&&(_0x4a1a6a=_0x244f37(_0x4a1a6a)||_0x4a1a6a);return _0x4a1a6a;},tt=(_0x1c7abf,_0x5e35ce)=>(_0x22ef39,_0x2430b7)=>_0x5e35ce(_0x22ef39,_0x2430b7,_0x1c7abf);let re=class{constructor(_0x45d951,_0x52e40a){const _0x208dbe=_0x5d24c9;this[_0x208dbe(0x360)]=_0x45d951,this[_0x208dbe(0x2cc)]=_0x52e40a;}[_0x5d24c9(0x3ad)](_0x1fefa4){const _0x2dcfa2=_0x5d24c9;this[_0x2dcfa2(0x322)](_0x1fefa4),this['_transformPreviousActiveRange'](_0x1fefa4);}[_0x5d24c9(0x21d)](_0x421f08){const _0x5da082=_0x5d24c9,{unitID:_0xe9beee}=_0x421f08,_0x280348=this['_renderManagerService'][_0x5da082(0x3c1)](_0xe9beee)[_0x5da082(0x2d5)](_0xd00b2f),{redoCache:_0x35ddd9}=_0x280348[_0x5da082(0x202)]();if(_0x35ddd9[_0x5da082(0x367)]===0x0)return _0x421f08;let _0x11db2c=_0x35f0b2['deepClone'](_0x421f08[_0x5da082(0x30f)][0x0]);for(let _0x3204b2=0x0;_0x3204b2<_0x35ddd9[_0x5da082(0x367)];_0x3204b2++){const _0x89135b={'id':_0x5da082(0x2e5),'params':{..._0x35ddd9[_0x3204b2]}},_0x3170be=this[_0x5da082(0x360)]['transformMutation'](_0x11db2c,_0x89135b,!0x1);if(_0x1e32bc(_0x3170be))throw _0x3170be['error'];_0x11db2c=_0x3170be[_0x5da082(0x2f8)];}return{..._0x35f0b2['deepClone'](_0x421f08),'mutations':[_0x11db2c]};}[_0x5d24c9(0x322)](_0x12e1dc){const _0x8fa4d1=_0x5d24c9,{unitID:_0x6d4444}=_0x12e1dc,_0x43e252=this[_0x8fa4d1(0x2cc)][_0x8fa4d1(0x3c1)](_0x6d4444)[_0x8fa4d1(0x2d5)](_0xd00b2f),{undoCache:_0x1b3399,redoCache:_0x1938c5}=_0x43e252[_0x8fa4d1(0x202)]();if(_0x1b3399[_0x8fa4d1(0x367)]===0x0||_0x1938c5[_0x8fa4d1(0x367)]===0x0)return;const _0x3bcb05=[],_0x1661e9=[];let _0x1d49fd=_0x35f0b2[_0x8fa4d1(0x246)](_0x12e1dc[_0x8fa4d1(0x30f)][0x0]),_0x1f62c8=_0x35f0b2[_0x8fa4d1(0x246)](_0x12e1dc[_0x8fa4d1(0x30f)][0x0]);for(let _0x1cf387=_0x1b3399['length']-0x1;_0x1cf387>=0x0;_0x1cf387--){const _0x42b098={'id':'doc.mutation.rich-text-editing','params':{..._0x1b3399[_0x1cf387]}},_0x5d1349={'id':'doc.mutation.rich-text-editing','params':{..._0x1938c5[_0x1cf387]}},_0x1745ab=this[_0x8fa4d1(0x360)][_0x8fa4d1(0x25d)](_0x1d49fd,_0x42b098,!0x1),_0x464d45=this[_0x8fa4d1(0x360)][_0x8fa4d1(0x25d)](_0x1f62c8,_0x5d1349,!0x1);if(_0x1e32bc(_0x1745ab))throw _0x1745ab[_0x8fa4d1(0x382)];if(_0x1e32bc(_0x464d45))throw _0x464d45[_0x8fa4d1(0x382)];_0x3bcb05[_0x8fa4d1(0x244)](_0x1745ab[_0x8fa4d1(0x21e)][_0x8fa4d1(0x205)]),_0x1661e9[_0x8fa4d1(0x244)](_0x464d45['m2Prime'][_0x8fa4d1(0x205)]),_0x1d49fd=_0x1745ab[_0x8fa4d1(0x2f8)],_0x1f62c8=_0x464d45[_0x8fa4d1(0x2f8)];}_0x43e252[_0x8fa4d1(0x2d3)]({'undoCache':_0x3bcb05,'redoCache':_0x1661e9});}[_0x5d24c9(0x20c)](_0x5ddfec){const _0xd7a138=_0x5d24c9,{unitID:_0x15842b}=_0x5ddfec,_0x2b823d=this[_0xd7a138(0x2cc)][_0xd7a138(0x3c1)](_0x15842b)[_0xd7a138(0x2d5)](_0xd00b2f),_0x382b87=_0x2b823d['getActiveRange']();if(_0x382b87==null)return;const _0x32f7cb=[{'id':_0xd7a138(0x2e5),'params':{'unitId':_0x5ddfec['unitID'],'actions':null,'textRanges':[_0x382b87]}}],_0x280d1e=this[_0xd7a138(0x360)]['transformMutationsWithChangeset'](_0x5ddfec,_0x32f7cb);if(!_0x55da4a(_0x280d1e))throw _0x280d1e['error'];const _0x5fa859=_0x280d1e[_0xd7a138(0x21e)][0x0][_0xd7a138(0x205)][_0xd7a138(0x28a)];Array[_0xd7a138(0x2ea)](_0x5fa859)&&_0x5fa859[_0xd7a138(0x367)]&&_0x2b823d[_0xd7a138(0x3a6)](_0x5fa859[0x0]);}};re=tn([tt(0x0,_0x19e675),tt(0x1,_0x41f4fd)],re);var sn=Object[_0x5d24c9(0x34d)],nn=(_0x18fc6f,_0x11864f,_0x5b4c34,_0x2e40f2)=>{const _0x59a800=_0x5d24c9;for(var _0x53f1e7=_0x2e40f2>0x1?void 0x0:_0x2e40f2?sn(_0x11864f,_0x5b4c34):_0x11864f,_0x23a67a=_0x18fc6f[_0x59a800(0x367)]-0x1,_0x2c93a3;_0x23a67a>=0x0;_0x23a67a--)(_0x2c93a3=_0x18fc6f[_0x23a67a])&&(_0x53f1e7=_0x2c93a3(_0x53f1e7)||_0x53f1e7);return _0x53f1e7;},Ce=(_0x49558f,_0x42d535)=>(_0x1cbd98,_0x4ff3fb)=>_0x42d535(_0x1cbd98,_0x4ff3fb,_0x49558f);let oe=class{constructor(_0x353996,_0x1486d3,_0x440d9c){const _0x1334ae=_0x5d24c9;this[_0x1334ae(0x304)]=_0x353996,this[_0x1334ae(0x360)]=_0x1486d3,this[_0x1334ae(0x25a)]=_0x440d9c;}['transformStateCache'](_0x5c2531){const _0x430edf=_0x5d24c9;this[_0x430edf(0x1ee)](_0x5c2531);}[_0x5d24c9(0x21d)](_0x21652b){const _0x1be405=_0x5d24c9,{unitID:_0x50945a}=_0x21652b,{collaboration:_0x349c0f}=this['_docStateChangeManagerService'][_0x1be405(0x248)](_0x50945a);if(_0x349c0f[_0x1be405(0x367)]===0x0)return _0x21652b;let _0x1d8a69=_0x35f0b2['deepClone'](_0x21652b[_0x1be405(0x30f)][0x0]);for(let _0x380145=0x0;_0x380145<_0x349c0f[_0x1be405(0x367)];_0x380145++){const _0x13e07a={'id':_0x1be405(0x2e5),'params':{'unitId':_0x349c0f[_0x380145][_0x1be405(0x2e7)],..._0x349c0f[_0x380145]['redoState']}},_0x25e28d=this[_0x1be405(0x360)]['transformMutation'](_0x1d8a69,_0x13e07a,!0x1);if(_0x1e32bc(_0x25e28d))throw _0x25e28d['error'];_0x1d8a69=_0x25e28d[_0x1be405(0x2f8)];}return{..._0x35f0b2[_0x1be405(0x246)](_0x21652b),'mutations':[_0x1d8a69]};}['_transformHistoryAndStateStack'](_0x248fa1){const _0xf4d40c=_0x5d24c9,{unitID:_0xa8ebd1}=_0x248fa1,{history:_0x38bd48,collaboration:_0x6471dd}=this[_0xf4d40c(0x25a)][_0xf4d40c(0x248)](_0xa8ebd1);if(_0x38bd48['length']===0x0&&_0x6471dd['length']===0x0)return;const _0x3f3980=[],_0x19ab02=[];let _0x5e0930=_0x35f0b2['deepClone'](_0x248fa1[_0xf4d40c(0x30f)][0x0]),_0x3b2654=_0x35f0b2[_0xf4d40c(0x246)](_0x248fa1[_0xf4d40c(0x30f)][0x0]);for(let _0x444cf0=_0x38bd48['length']-0x1;_0x444cf0>=0x0;_0x444cf0--){const _0xaaa762={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38bd48[_0x444cf0][_0xf4d40c(0x2e7)],..._0x38bd48[_0x444cf0][_0xf4d40c(0x1ff)]}},_0x531b22={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38bd48[_0x444cf0][_0xf4d40c(0x2e7)],..._0x38bd48[_0x444cf0]['redoState']}},_0x1db6aa=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x5e0930,_0xaaa762,!0x1),_0x209dc0=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x3b2654,_0x531b22,!0x1);if(_0x1e32bc(_0x1db6aa))throw _0x1db6aa[_0xf4d40c(0x382)];if(_0x1e32bc(_0x209dc0))throw _0x209dc0[_0xf4d40c(0x382)];_0x3f3980[_0xf4d40c(0x244)]({..._0x38bd48[_0x444cf0],'undoState':_0x1db6aa[_0xf4d40c(0x21e)][_0xf4d40c(0x205)],'redoState':_0x209dc0[_0xf4d40c(0x21e)]['params']}),_0x5e0930=_0x1db6aa['m1Prime'],_0x3b2654=_0x209dc0['m1Prime'];}_0x5e0930=_0x35f0b2['deepClone'](_0x248fa1['mutations'][0x0]),_0x3b2654=_0x35f0b2[_0xf4d40c(0x246)](_0x248fa1[_0xf4d40c(0x30f)][0x0]);for(let _0x991e7f=_0x6471dd[_0xf4d40c(0x367)]-0x1;_0x991e7f>=0x0;_0x991e7f--){const _0x15f3e2={'id':_0xf4d40c(0x2e5),'params':{'unitId':_0x6471dd[_0x991e7f][_0xf4d40c(0x2e7)],..._0x6471dd[_0x991e7f]['undoState']}},_0x2fcad7={'id':_0xf4d40c(0x2e5),'params':{'unitId':_0x6471dd[_0x991e7f][_0xf4d40c(0x2e7)],..._0x6471dd[_0x991e7f][_0xf4d40c(0x3b8)]}},_0x341cae=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x5e0930,_0x15f3e2,!0x1),_0x1a9336=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x3b2654,_0x2fcad7,!0x1);if(_0x1e32bc(_0x341cae))throw _0x341cae[_0xf4d40c(0x382)];if(_0x1e32bc(_0x1a9336))throw _0x1a9336['error'];_0x19ab02[_0xf4d40c(0x244)]({..._0x6471dd[_0x991e7f],'undoState':_0x341cae['m2Prime'][_0xf4d40c(0x205)],'redoState':_0x1a9336[_0xf4d40c(0x21e)][_0xf4d40c(0x205)]}),_0x5e0930=_0x341cae[_0xf4d40c(0x2f8)],_0x3b2654=_0x1a9336[_0xf4d40c(0x2f8)];}this[_0xf4d40c(0x25a)]['setStateCache'](_0xa8ebd1,{'history':_0x3f3980,'collaboration':_0x19ab02});}};oe=nn([Ce(0x0,_0x476ef4(_0x3529a9)),Ce(0x1,_0x19e675),Ce(0x2,_0x476ef4(_0x3a6901))],oe);var rn=Object[_0x5d24c9(0x34d)],on=(_0x2d78c1,_0x39dd37,_0x187aa1,_0x42c0d6)=>{const _0x44b7c2=_0x5d24c9;for(var _0x3c66cb=_0x42c0d6>0x1?void 0x0:_0x42c0d6?rn(_0x39dd37,_0x187aa1):_0x39dd37,_0x32def3=_0x2d78c1[_0x44b7c2(0x367)]-0x1,_0x459917;_0x32def3>=0x0;_0x32def3--)(_0x459917=_0x2d78c1[_0x32def3])&&(_0x3c66cb=_0x459917(_0x3c66cb)||_0x3c66cb);return _0x3c66cb;},st=(_0x5728d5,_0x4a87dc)=>(_0x5a767c,_0x25d7d7)=>_0x4a87dc(_0x5a767c,_0x25d7d7,_0x5728d5);let ae=class{constructor(_0x545273,_0x5c488b){const _0x23fef3=_0x5d24c9;this[_0x23fef3(0x304)]=_0x545273,this[_0x23fef3(0x360)]=_0x5c488b;}[_0x5d24c9(0x2ef)](_0x266138){const _0xaed644=_0x5d24c9;var _0x341864;const _0x436f10=this[_0xaed644(0x304)]['get'](_0x3ab449),_0x16db1f=(_0x341864=_0x436f10['getDocRanges']())!=null?_0x341864:[];if(_0x16db1f[_0xaed644(0x367)]===0x0)return;const _0x24fd80=_0x266138[_0xaed644(0x1e1)],_0x2343c9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24fd80,'actions':null,'textRanges':_0x16db1f}}],_0x5d9070=this[_0xaed644(0x360)][_0xaed644(0x2ed)](_0x266138,_0x2343c9);if(!_0x55da4a(_0x5d9070))throw _0x5d9070[_0xaed644(0x382)];const _0x4c16eb=_0x5d9070[_0xaed644(0x21e)][0x0][_0xaed644(0x205)][_0xaed644(0x28a)];Array['isArray'](_0x4c16eb)&&_0x4c16eb[_0xaed644(0x367)]&&_0x436f10[_0xaed644(0x2d8)](_0x4c16eb,{'unitId':_0x24fd80,'subUnitId':_0x24fd80},!0x1);}};ae=on([st(0x0,_0x476ef4(_0x3529a9)),st(0x1,_0x19e675)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x40cc1e,_0x2b7404,_0x3a1aba,_0x2258bc)=>{for(var _0x41c13a=_0x2258bc>0x1?void 0x0:_0x2258bc?an(_0x2b7404,_0x3a1aba):_0x2b7404,_0x10d893=_0x40cc1e['length']-0x1,_0x1df023;_0x10d893>=0x0;_0x10d893--)(_0x1df023=_0x40cc1e[_0x10d893])&&(_0x41c13a=_0x1df023(_0x41c13a)||_0x41c13a);return _0x41c13a;},N=(_0x4270c0,_0x5cd107)=>(_0x42317e,_0x2c1e69)=>_0x5cd107(_0x42317e,_0x2c1e69,_0x4270c0);function _0x4bc3(){const _0x2e50c2=['_heartbeatTimer','type','attrs','defs','className','_anchor','11190618WMpuFN','onMouseMove','RemoveRowCommandId','_cursorShapes','getTypeOfUnitDisposed$','AWAITING_WITH_PENDING','YUUMI_SUBSCRIPTION_NOT_FOUND','_online','icon','18rtHVqt','assign','width','ranges','_cursorInfo$','memberID','registerComponent','yellow.400','xlink:href','INTERNAL_ERROR','getTypeOfUnitAdded$','error','Failed','_selfUnitIDs','backgroundColor','blue.400','OFFLINE','contains','_hideTimer','UNAUTHENTICATED','_localStorageService','_colorAssignService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ticket','onLocalMutation','save','propertyIsEnumerable','setParam','RemoveColCommandId','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','unsubscribe','_unitOnClients','_collabCursorController','_localeService','getUnitId','_onRefRangeChange','range','url(#off-line-icon_clip0_910_343)','getColorFromTheme','_status$','result','round','collabStatus.notCollab','triggerDblclick','resize','arc','COMPLETION_FINISHED','setActiveRange','_uiPartsService','set','_saveTaskMap','_labelPosition','activeSheet$','#FFF','transformIMECache','setTimeout','SNAPSHOT_INVALID_SNAPSHOT','_unitStatus','_sheetSkeletonManagerService','_cachedData','on-line-icon_clip0_910_349','_textBubble','_drawRectRange','_range','_onCursorDelete','redoState','pushState','createSocket','_handleJoinEvent','onCommandExecuted','_instanceService','_removeClearOtherTimer','getCurrentSelections','stringify','getRenderById','YUUMI_ALL_TABLES_IS_INVALID','getOwnPropertySymbols','createInstance','engine','MoveRangeCommandId','WECHAT_HAS_BEEN_BOUND','_session','ONLINE','uni.network.url-service','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','_univerInstanceService','sheetId','loadUnit','_handleLeaveEvent','green.600','pipe','INVITE_CODE_ALREADY_BOUND','code','location','_init','currentSkeleton$','_initEvent','disposeWithMe','collab-text-range-','PERMISSION_DENIED','_hover','unitID','svg','YUUMI_CONNECTOR_URL_NOT_FOUND','get','font','removeParam','extend','_docSkeleton','128453qvGlKl','text','debug','_shapes','beginPath','_transformHistoryAndStateStack','_initStatusComponent','replaceState','INVITE_CODE_HAS_BEEN_UES','_startSheetCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','dispose','getVpScrollXYInfoByPosToVp','saveOfflineData','selection','has','getCurrent','cursorInfo$','APPLY_REVISION_CONFILICT','_createSocketURL','toString','_docSyncEditingCollabCursorService','undoState','APPLY_NON_SEQUENTIAL_REVISION','startRow','getUndoRedoMutationParamsCache','3785226rtUoXS','getCollabEntity$','params','univerjs-icon\x20univerjs-icon-','342629iixJcx','init','path','_docTransformStateCacheService','_entities','_transformPreviousActiveRange','focused$','apply','history','_urlService','_configService','height','tag','_cursor','FETCH_MISS','VIEW_MAIN','concat','_commandService','measureText','href','_hovered','map','transformRemoteChangeset','m2Prime','syncEditingCollabCursor','getValue','lineTo','_render','row','_registerDependencies','collab-client.tooltip.reconnect','Error','_initCommandExecutedListener','2772760RQRgci','_docTransformSelectionsService','string','OTHER_CLIENTS_EDITING','MUTATION','OnLineIcon','CHANGESET_REVISION_CONFILICT','makeDirty','forEach','_id','CONNECTOR_DATA_TOO_LARGE','FromArray','_entityInit$','executionId','ACTIVE_UNIT_EVENT_CHANNEL','collaboration.closeRoom','univer-flex\x20univer-items-center','_docClipboardService','collabStatus.conflict','subscribe','_saveCache','random','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_imageIoService','asObservable','values','_scheduleHeartbeat','next','unshift','cursorInfo','deepClone','urlChange$','getStateCache','onPointerLeave$','transformByState','then','_config','_handleEvent','_refreshCollabCursors','SUBMIT_CHANGESET_TIMEOUT','post','8YanmIO','parse','2dRzDel','_dataLoaderService','registerRenderModule','getMember','YUUMI_NO_CUBOID_FOR_QUESTION','_handleHeartbeatEvent','_getSheetObject','_docStateChangeManagerService','1em','getMemberID','transformMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','endColumn','InsertRangeMoveDownCommandId','_assignedColors','/run/','_messageService','getItem','SYNCED','currentTheme$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','runOnServer','enableLocalCache','show','translate(.97)','roomMembers','CONFLICT','UPDATE_CURSOR','_notificationService','sheetID','getRelativeToViewportCoord','INVALID_ARGUMENT','subunit','search','subscribeEvent','YUUMI_ASYNCIO_CANCELLED','ENSURE_SNAPSHOT_EXECUTION','setItem','eventID','entityInit$','addHandlerCallback','NOT_COLLAB','_scheduleClearOtherTimer','reconnect','MOBILE_VERIFY_CODE_MISMATCH','collaboration-client-ui.config','wsSessionTicketUrl','imageSourceType','docStateChange$','UNDEFINED','getSheetId','_startDocCollabCursor','toRgbString','column','send','textRanges','clearTimeout','event$','unload','INVITE_CODE_REQUIRED','LICENSE_IMPORT_SIZE_EXCEEDED','findNodePositionByCharIndex','_getAnchorBounding','PENDING','push','black','max','_cursors','collabStatus.offline','clipPath','call','fillText','getSkeleton','ALREADY_EXISTS','_initStatusListener','saveImage','_collabCursorState$','_logService','_disabled','_name','_drawAnchor','skeleton','_updateCollabCursors','_ensureSubject','flatMap','_setupBeforeClosingHandler','MOBILE_HAS_BEEN_BOUND','origin','_clearOtherTimers','AWAITING','getRangePointData','_beforeCloseService','hasOwnProperty','evenodd','_initDependencies','unit','UNRECOGNIZED','purple.300','370XtXYtf','TEXT','http://www.w3.org/2000/svg','USER_NOT_INVITED_CODE','_collaborationUIEventService','complete','YUUMI_URL_COL_OUT_OF_RANGE','getConfig','getParam','data','_updateURLWithCurrentState','_anchorDot','assignAColorForMemberID','getSheetBySheetId','min','source','2348664kWVCeS','YUUMI_RATE_OVER_LIMIT','OffLineIcon','_collaborationController','SNAPSHOT_HAS_BEEN_REMOVED','colorChannel1','hide','_renderManagerService','transformStateCache','JOIN_ROOM_FAILED','size','_onCursorUpdate','getCollabCursors$','disposeUnit','setUndoRedoMutationParamsCache','fill','with','_getScale','_scheduleSaving','replaceDocRanges','exhaustSavingTask','getUnitStatus$','add','getDocRanges','_draw','_context','disableLocalCache','_syncEditingCollabCursorService','onRendered','bottom','getAncestorScale','APPLY_PERMISSION_DENIED','doc.mutation.rich-text-editing','_getSessionTicket','unitId','top','mask','isArray','_collabSessionService','UNIVER_SHEET','transformMutationsWithChangeset','defIds','transformSelections','current','_colorIndex','setShapeProps','defineProperty','requireSession','idSuffix','body','color','m1Prime','univer-mr-2\x20univer-flex\x20univer-text-xl','_httpService','addObjects','Unknown\x20user','_toggleOffline','DeleteRangeMoveUpCommandId','off-line-icon_clip0_910_343','drawWith','collabCursorState$','TOO_MANY_REQUESTS','runId','_injector','_docSkeletonManagerService','from','endRow','restore','displayName','split','LICENSE_DISTRO_REJECTED','indexOf','USERS_LEAVE','InsertColCommandId','mutations','currentColor','RECT','_eventUnsubscribe','function','replace','name','_updateSubUnitFromURLParams','getFocusedUnit','_registerRenderDependencies','_updateLocalCursor','whenReady','getUnhiddenWorksheets','_localCacheService','4IAiCPv','setAlpha','_backgroundColor','executeCommand','addObject','_transformUndoRedoStack','M0\x200H16V16H0z','newValue','LICENSE_EXPORT_SIZE_EXCEEDED','dispose$','roomMembers$','_handleHover','LOGIN_FAILED','onPointerMove$','_removeCollabCursors','some','_scene','_initEntityListener','invokeId','getUniverSheetInstance','none','_initResize','children','setConfig','LICENSE_MAX_UNITS_EXCEEDED','includes','NOT_FOUND','clearInterval','_color','_revisionService','getActiveSheet','Warning','sessionStatus$','session.connection-failed','_getSaveTimeout','permission.title','div','EMAIL_HAS_BEEN_BOUND','_refRangeService','_docTransformIMECacheService','INVALID_INVITE_CODE','collabStatus.synced','_themeService','APPLY_REJECT','searchParams','trim','delete','session.collaboration-timeout','getOwnPropertyDescriptor','override','APPLY_DUPLICATED','YUUMI_UNABLE_LOAD_URL','sessionTicket','selections','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','45727UNWHwX','isActive','NO_OTHER_CLIENTS_EDITING','_roomMembers$','onTransformChange$','YUUMI_AI_RUN_FAILED','_lastPointer','session.will-retry','_toggleOnline','_drawTextRange','PY_RUNTIME_SCRIPT_ERROR','loadOfflineData','_transformService','[CollaborationDataLoaderController]','...','saveTaskMap','HEADER_MENU','prototype','url(#$1','length'];_0x4bc3=function(){return _0x2e50c2;};return _0x4bc3();}let ce=class extends _0x2e4a76{constructor(_0x41db9c,_0x255761,_0xe4fec1,_0x16be40,_0x3ebd34,_0x328117,_0x4308b9,_0x20d011){const _0x50d6fb=_0x5d24c9;super(),_(this,_0x50d6fb(0x39e),new _0x5952f2(_0x7b1e8c[_0x50d6fb(0x27c)])),(this[_0x50d6fb(0x25a)]=_0x41db9c,this['_collaborationController']=_0x255761,this[_0x50d6fb(0x344)]=_0xe4fec1,this[_0x50d6fb(0x20a)]=_0x16be40,this['_docTransformSelectionsService']=_0x3ebd34,this[_0x50d6fb(0x1fe)]=_0x328117,this[_0x50d6fb(0x263)]=_0x4308b9,this[_0x50d6fb(0x398)]=_0x20d011,this[_0x50d6fb(0x32e)]());}['_initEntityListener'](){const _0x589e92=_0x5d24c9;this['disposeWithMe'](this[_0x589e92(0x2c8)][_0x589e92(0x27a)]['subscribe'](_0x2c67c3=>{const _0x4b9516=_0x589e92,_0x1896fd=this[_0x4b9516(0x25a)][_0x4b9516(0x283)]['subscribe'](_0x28a98b=>{const _0x3d358b=_0x4b9516;if(_0x28a98b==null)return;const {unitId:_0xa04b8d,redoState:_0x272d69,commandId:_0xf01688}=_0x28a98b;if(_0xa04b8d!==_0x2c67c3['unitID'])return;const _0xd7192f={'id':_0xf01688,'type':_0x5818ca[_0x3d358b(0x22c)],'params':{'unitId':_0xa04b8d,'actions':_0x272d69['actions'],'textRanges':null}};_0x2c67c3[_0x3d358b(0x38f)](_0xd7192f);});if(_0x2c67c3[_0x4b9516(0x3d8)](_0x1896fd),_0x2c67c3 instanceof _0x27150e){const _0x366f98={'onTransformIME':_0x466baa=>this[_0x4b9516(0x344)][_0x4b9516(0x3ad)](_0x466baa),'onTransformState':_0x116c46=>this['_docTransformStateCacheService'][_0x4b9516(0x2cd)](_0x116c46),'onTransformSelections':_0x24e853=>this[_0x4b9516(0x229)]['transformSelections'](_0x24e853),'onSyncEditingCollabCursor':_0x26651a=>this[_0x4b9516(0x1fe)][_0x4b9516(0x21f)](_0x26651a),'onTransformRemoteChangesetByIMECache':_0x4c1b47=>this[_0x4b9516(0x344)][_0x4b9516(0x21d)](_0x4c1b47),'onTransformRemoteChangesetByStateCache':_0x523b54=>this[_0x4b9516(0x20a)][_0x4b9516(0x21d)](_0x523b54)};_0x2c67c3[_0x4b9516(0x27b)](_0x366f98);}}));}};ce=cn([N(0x0,_0x476ef4(_0x3a6901)),N(0x1,_0x476ef4(_0x406caf)),N(0x2,_0x476ef4(re)),N(0x3,_0x476ef4(oe)),N(0x4,_0x476ef4(ae)),N(0x5,_0x476ef4(He)),N(0x6,_0x22a71f),N(0x7,_0x476ef4(_0x461c11))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x347ada,_0x2267cc,_0x5f174a,_0xb35531)=>{for(var _0x291ca3=_0xb35531>0x1?void 0x0:_0xb35531?ln(_0x2267cc,_0x5f174a):_0x2267cc,_0x1280c3=_0x347ada['length']-0x1,_0x2a5159;_0x1280c3>=0x0;_0x1280c3--)(_0x2a5159=_0x347ada[_0x1280c3])&&(_0x291ca3=_0x2a5159(_0x291ca3)||_0x291ca3);return _0x291ca3;},Ee=(_0x5bfab8,_0x597587)=>(_0x5340c3,_0x47d797)=>_0x597587(_0x5340c3,_0x47d797,_0x5bfab8);let we=class extends _0x2e4a76{constructor(_0x455522,_0x265ccd,_0xe8c339){const _0x418790=_0x5d24c9;super(),_(this,_0x418790(0x3b2),new Map()),_(this,_0x418790(0x3a9),new Map()),_(this,'_disabled',!0x1),(this[_0x418790(0x211)]=_0x455522,this['_localStorageService']=_0x265ccd,this[_0x418790(0x33a)]=_0xe8c339);}[_0x5d24c9(0x2df)](){const _0x15f2b0=_0x5d24c9;this[_0x15f2b0(0x2a1)]=!0x0;}[_0x5d24c9(0x269)](){const _0x2af7db=_0x5d24c9;this[_0x2af7db(0x2a1)]=!0x1;}get[_0x5d24c9(0x363)](){const _0x3e848d=_0x5d24c9;return this[_0x3e848d(0x3a9)];}[_0x5d24c9(0x1f4)](){const _0x355671=_0x5d24c9;this[_0x355671(0x2d9)]()[_0x355671(0x24b)](()=>super[_0x355671(0x1f4)]());}async[_0x5d24c9(0x35f)](_0x51fed2){const _0x1d081c=_0x5d24c9;return this[_0x1d081c(0x2a1)]?null:this[_0x1d081c(0x38b)][_0x1d081c(0x264)](_0x23982b(_0x51fed2));}async[_0x5d24c9(0x1f6)](_0x5e9c50,_0x120d71){const _0xe36fb4=_0x5d24c9;return!!this[_0xe36fb4(0x38b)][_0xe36fb4(0x278)](_0x5e9c50,_0x120d71);}['updateOfflineData'](_0x4fe3d5,_0x33293e,_0x2262a1,_0x2edee7){const _0x42fdac=_0x5d24c9,_0x2caf19=this[_0x42fdac(0x33a)]['getCurrentRevOfUnit'](_0x4fe3d5);this[_0x42fdac(0x3b2)][_0x42fdac(0x3a8)](_0x4fe3d5,{'unitID':_0x4fe3d5,'type':_0x33293e,'awaitingChangeset':_0x2262a1,'mutations':_0x2edee7,'rev':_0x2caf19}),this['_saveTaskMap'][_0x42fdac(0x1f8)](_0x4fe3d5)||this[_0x42fdac(0x2d7)](_0x4fe3d5);}[_0x5d24c9(0x2d7)](_0x237c03){const _0x54750d=_0x5d24c9,_0x5dd26d=this[_0x54750d(0x33f)]();_0x5dd26d===0x0?this[_0x54750d(0x23c)](_0x237c03):this[_0x54750d(0x3a9)][_0x54750d(0x3a8)](_0x237c03,setTimeout(()=>this[_0x54750d(0x23c)](_0x237c03),_0x5dd26d));}[_0x5d24c9(0x33f)](){const _0x3c01fc=_0x5d24c9;var _0x505333;return(_0x505333=this[_0x3c01fc(0x211)][_0x3c01fc(0x2bc)](_0x3f8439))!=null?_0x505333:_0x158246;}[_0x5d24c9(0x23c)](_0xf0a2e3){const _0x28db68=_0x5d24c9,_0x2c3e8f=this['_saveTaskMap'][_0x28db68(0x1e4)](_0xf0a2e3);return _0x2c3e8f!==void 0x0&&window[_0x28db68(0x28b)](_0x2c3e8f),this['_localStorageService'][_0x28db68(0x278)](_0x23982b(_0xf0a2e3),this['_cachedData']['get'](_0xf0a2e3))['then'](()=>this['_saveTaskMap'][_0x28db68(0x34b)](_0xf0a2e3));}async[_0x5d24c9(0x2d9)](){const _0x89f249=_0x5d24c9,_0x46c373=[];this[_0x89f249(0x3a9)][_0x89f249(0x230)]((_0x197a58,_0x44c858)=>{const _0x228a54=_0x89f249;window[_0x228a54(0x28b)](_0x197a58),_0x46c373[_0x228a54(0x293)](this['_saveCache'](_0x44c858)['then'](()=>{const _0x549a61=_0x228a54;this[_0x549a61(0x3a9)][_0x549a61(0x34b)](_0x44c858);}));}),await Promise['all'](_0x46c373);}};we=_n([Ee(0x0,_0xa3839),Ee(0x1,_0x509ee3),Ee(0x2,_0x476ef4(_0x1cdadd))],we);class hn extends _0x27746e{constructor(){const _0x4c7532=_0x5d24c9;super(),_(this,_0x4c7532(0x247)),this[_0x4c7532(0x247)]=_0x29e2c1(window,'popstate')['pipe'](_0x1e6d67(this[_0x4c7532(0x326)]),_0x35ec06(0x1),_0x1578c3(void 0x0));}[_0x5d24c9(0x392)](_0x10415e,_0x44aeef,_0x5d3b6f=!0x1){const _0x18a01f=_0x5d24c9,_0x1c621d=new URL(window[_0x18a01f(0x3d4)][_0x18a01f(0x21a)]);_0x1c621d['searchParams'][_0x18a01f(0x3a8)](_0x10415e,_0x44aeef),_0x5d3b6f?window[_0x18a01f(0x20f)][_0x18a01f(0x1f0)]('','',_0x1c621d[_0x18a01f(0x1fd)]()):window[_0x18a01f(0x20f)][_0x18a01f(0x3b9)]('','',_0x1c621d[_0x18a01f(0x1fd)]());}[_0x5d24c9(0x1e6)](_0x5c2855,_0x342b7b=!0x1){const _0x22ba46=_0x5d24c9,_0x26c76a=new URL(window[_0x22ba46(0x3d4)][_0x22ba46(0x21a)]);_0x26c76a[_0x22ba46(0x349)][_0x22ba46(0x34b)](_0x5c2855),_0x342b7b?window[_0x22ba46(0x20f)][_0x22ba46(0x1f0)]('','',_0x26c76a['toString']()):window[_0x22ba46(0x20f)][_0x22ba46(0x3b9)]('','',_0x26c76a[_0x22ba46(0x1fd)]());}[_0x5d24c9(0x2bd)](_0xdac62c){const _0x181ab5=_0x5d24c9;var _0x5396ac;return(_0x5396ac=new URL(window[_0x181ab5(0x3d4)]['href'])[_0x181ab5(0x349)][_0x181ab5(0x1e4)](_0xdac62c))!=null?_0x5396ac:void 0x0;}}var un=Object[_0x5d24c9(0x2f3)],dn=Object[_0x5d24c9(0x34d)],fn=(_0x5e1ebc,_0x512e56,_0x409d46)=>_0x512e56 in _0x5e1ebc?un(_0x5e1ebc,_0x512e56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x409d46}):_0x5e1ebc[_0x512e56]=_0x409d46,Sn=(_0x1df04b,_0x27513d,_0x5d853f,_0xea1206)=>{const _0x4aca4d=_0x5d24c9;for(var _0x321181=_0xea1206>0x1?void 0x0:_0xea1206?dn(_0x27513d,_0x5d853f):_0x27513d,_0x28b5b4=_0x1df04b[_0x4aca4d(0x367)]-0x1,_0x52e31d;_0x28b5b4>=0x0;_0x28b5b4--)(_0x52e31d=_0x1df04b[_0x28b5b4])&&(_0x321181=_0x52e31d(_0x321181)||_0x321181);return _0x321181;},Oe=(_0x224278,_0x112e01)=>(_0x3c2771,_0x6559f3)=>_0x112e01(_0x3c2771,_0x6559f3,_0x224278),mn=(_0x49c975,_0x27454c,_0x5af943)=>fn(_0x49c975,_0x27454c+'',_0x5af943);const In=_0x5d24c9(0x267);let Ae=class extends _0x4a9f77{constructor(_0x4e5710=et,_0x3344c8,_0x29ff6d,_0x4011e4){const _0x264ba5=_0x5d24c9;super(),this[_0x264ba5(0x24c)]=_0x4e5710,this[_0x264ba5(0x2cc)]=_0x3344c8,this[_0x264ba5(0x304)]=_0x29ff6d,this[_0x264ba5(0x211)]=_0x4011e4;const {..._0x20a5a5}=_0x13926f({},et,this[_0x264ba5(0x24c)]);this['_configService'][_0x264ba5(0x334)](Zi,_0x20a5a5);}['onStarting'](){const _0x38c3ba=_0x5d24c9;this['_registerDependencies'](),this[_0x38c3ba(0x2b1)]();}[_0x5d24c9(0x2e1)](){const _0x5ee2a3=_0x5d24c9;this[_0x5ee2a3(0x318)]();}[_0x5d24c9(0x224)](){const _0x583959=_0x5d24c9;var _0x598da6;const _0x25c46b=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x18e7f2,{'useClass':_0x1626ff}],[_0x2c318e,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x337e30(this[_0x583959(0x304)],_0xef0585(_0x25c46b,(_0x598da6=this[_0x583959(0x24c)])==null?void 0x0:_0x598da6[_0x583959(0x34e)]));}[_0x5d24c9(0x318)](){const _0x4d8536=_0x5d24c9;this[_0x4d8536(0x3d8)](this[_0x4d8536(0x2cc)][_0x4d8536(0x255)](_0x520a55['UNIVER_DOC'],[Le])),this['disposeWithMe'](this[_0x4d8536(0x2cc)][_0x4d8536(0x255)](_0x520a55[_0x4d8536(0x2ec)],[Pe]));}['_initDependencies'](){const _0xc26163=_0x5d24c9;_0x5cc68f(this[_0xc26163(0x304)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x29faae(_0x5f476c),Oe(0x1,_0x41f4fd),Oe(0x2,_0x476ef4(_0x3529a9)),Oe(0x3,_0xa3839)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x595737,_0x57346c,_0x2fffd2,_0x50241a)=>{const _0x569021=_0x5d24c9;for(var _0x373764=_0x50241a>0x1?void 0x0:_0x50241a?vn(_0x57346c,_0x2fffd2):_0x57346c,_0x4520fd=_0x595737[_0x569021(0x367)]-0x1,_0x448983;_0x4520fd>=0x0;_0x4520fd--)(_0x448983=_0x595737[_0x4520fd])&&(_0x373764=_0x448983(_0x373764)||_0x373764);return _0x373764;},z=(_0x3547f0,_0x2df348)=>(_0x28370e,_0x4fdce7)=>_0x2df348(_0x28370e,_0x4fdce7,_0x3547f0);let it=class extends _0x5cee4d{constructor(_0x16f159,_0x4a3843,_0x13c47c,_0x2a79df,_0x3a2b2){super(_0x16f159,_0x4a3843,_0x13c47c,_0x2a79df,_0x3a2b2);}async[_0x5d24c9(0x3ba)](_0x89145c){const _0x2f5fda=_0x5d24c9,_0x41cb92=await this['_getSessionTicket'](),_0x23eeda=this[_0x2f5fda(0x1fc)](_0x89145c,_0x41cb92);return this['_doCreateSocket'](_0x23eeda);}[_0x5d24c9(0x1fc)](_0x117646,_0x1809b6){const _0x429340=_0x5d24c9,_0x80a1e8=typeof window>'u'?new URL(_0x117646):new URL(_0x117646,window[_0x429340(0x3d4)][_0x429340(0x2aa)]);_0x80a1e8[_0x429340(0x349)][_0x429340(0x3a8)](_0x429340(0x351),_0x1809b6);const _0x4bdada=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x429340(0x3d4)][_0x429340(0x274)]);return _0x4bdada[_0x429340(0x1e4)](_0x429340(0x303))&&_0x80a1e8[_0x429340(0x349)][_0x429340(0x3a8)](_0x429340(0x303),_0x4bdada[_0x429340(0x1e4)](_0x429340(0x303))),_0x80a1e8[_0x429340(0x1fd)]();}async[_0x5d24c9(0x2e6)](){const _0x52cf39=_0x5d24c9;var _0x2c5198,_0x5dfb23,_0x598ee7;const _0x2e628c=this[_0x52cf39(0x211)][_0x52cf39(0x2bc)](_0x2db31a),_0x4fc7ed=(_0x2c5198=_0x2e628c==null?void 0x0:_0x2e628c[_0x52cf39(0x281)])!=null?_0x2c5198:_0x3794a6;return(_0x598ee7=(_0x5dfb23=(await this[_0x52cf39(0x2fa)][_0x52cf39(0x1e4)](_0x4fc7ed,{'headers':{'Content-Type':'application/json'}}))[_0x52cf39(0x2f6)])==null?void 0x0:_0x5dfb23[_0x52cf39(0x38e)])!=null?_0x598ee7:'';}};it=gn([z(0x0,_0x476ef4(_0x3529a9)),z(0x1,_0x476ef4(_0x2deaba)),z(0x2,_0xa3839),z(0x3,_0x24c021),z(0x4,_0x501ad3)],it);const nt=0x7530,rt=_0x5d24c9(0x236);class Fn extends _0x2e4a76{constructor(){const _0x4b2284=_0x5d24c9;super(),_(this,_0x4b2284(0x231),_0x4edadc()),_(this,_0x4b2284(0x384),new Set()),_(this,_0x4b2284(0x396),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4b2284(0x2ab),new Map()),_(this,_0x4b2284(0x3b0),new Map()),this[_0x4b2284(0x3d5)]();}[_0x5d24c9(0x1f4)](){const _0x1b6061=_0x5d24c9;super[_0x1b6061(0x1f4)](),this['_clearOtherTimers']['forEach']((_0x58b34a,_0x4d7aa9)=>this[_0x1b6061(0x3be)](_0x4d7aa9)),this[_0x1b6061(0x368)]&&window[_0x1b6061(0x338)](this['_heartbeatTimer']);}[_0x5d24c9(0x2da)](_0xaef483){const _0x40913c=_0x5d24c9;return this['_ensureSubject'](_0xaef483)[_0x40913c(0x3d1)](_0x42833d());}['editingUnit'](_0x301819){const _0x273dad=_0x5d24c9;this['_selfUnitIDs']['size']===0x0&&this[_0x273dad(0x242)](),this[_0x273dad(0x384)]['add'](_0x301819),this['_send']({'type':0x0,'memberID':this[_0x273dad(0x231)],'unitIDs':[_0x301819],'isForwarded':!0x1});}[_0x5d24c9(0x2d2)](_0x489950){const _0x409749=_0x5d24c9;this[_0x409749(0x384)][_0x409749(0x34b)](_0x489950),this[_0x409749(0x384)][_0x409749(0x2cf)]===0x0&&this[_0x409749(0x368)]&&window[_0x409749(0x338)](this[_0x409749(0x368)]);}[_0x5d24c9(0x3d5)](){const _0x4bfba1=_0x5d24c9;this[_0x4bfba1(0x3d8)](_0x59ba33(_0x29e2c1(window,'storage')[_0x4bfba1(0x23b)](_0x74232=>{const _0x29e0de=_0x4bfba1;if(_0x74232['key']!==rt||!_0x74232[_0x29e0de(0x324)])return;const _0x3c70a2=JSON[_0x29e0de(0x252)](_0x74232[_0x29e0de(0x324)]);this[_0x29e0de(0x24d)](_0x3c70a2);}))),window['addEventListener'](_0x4bfba1(0x28d),()=>this['_send']({'type':0x1,'memberID':this[_0x4bfba1(0x231)],'unitIDs':Array[_0x4bfba1(0x306)](this['_selfUnitIDs'])}));}[_0x5d24c9(0x24d)](_0x44dc54){const _0x2accec=_0x5d24c9;switch(_0x44dc54[_0x2accec(0x369)]){case 0x0:this[_0x2accec(0x3bb)](_0x44dc54);break;case 0x1:this['_handleLeaveEvent'](_0x44dc54);break;case 0x2:this[_0x2accec(0x258)](_0x44dc54);break;}}[_0x5d24c9(0x3bb)](_0x4c749e){const _0x23598d=_0x5d24c9,{unitIDs:_0x5d7b54,memberID:_0x3c3d8d,isForwarded:_0x59b2f5}=_0x4c749e;_0x5d7b54[_0x23598d(0x230)](_0xc6d34b=>{const _0x59ab52=_0x23598d;if(!_0x59b2f5&&this['_unitOnClients']['has'](_0xc6d34b)&&this[_0x59ab52(0x2a6)](_0xc6d34b)['next'](_0x2eeaa1['OTHER_CLIENTS_EDITING']),!this[_0x59ab52(0x396)]['has'](_0xc6d34b)||!this[_0x59ab52(0x396)][_0x59ab52(0x1e4)](_0xc6d34b)['has'](_0x3c3d8d)){const _0x3df784=this['_unitOnClients'][_0x59ab52(0x1e4)](_0xc6d34b)||new Set();_0x3df784[_0x59ab52(0x2db)](_0x3c3d8d),this[_0x59ab52(0x396)]['set'](_0xc6d34b,_0x3df784),this[_0x59ab52(0x27d)](_0x3c3d8d);}}),_0x59b2f5||this['_send']({'type':0x0,'memberID':this[_0x23598d(0x231)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5d24c9(0x27d)](_0x5678b2){const _0x322f95=_0x5d24c9;this[_0x322f95(0x3be)](_0x5678b2);const _0x4e1a67=window[_0x322f95(0x3ae)](()=>{const _0x3ea0eb=_0x322f95;this[_0x3ea0eb(0x396)][_0x3ea0eb(0x230)](_0x37b921=>{const _0x3cfb3e=_0x3ea0eb;_0x37b921[_0x3cfb3e(0x34b)](_0x5678b2);});},nt*0x2);this[_0x322f95(0x2ab)][_0x322f95(0x3a8)](_0x5678b2,_0x4e1a67);}[_0x5d24c9(0x3be)](_0x54a72e){const _0x1b1fba=_0x5d24c9;if(this[_0x1b1fba(0x2ab)][_0x1b1fba(0x1f8)](_0x54a72e)){const _0x482291=this['_clearOtherTimers'][_0x1b1fba(0x1e4)](_0x54a72e);_0x482291&&window[_0x1b1fba(0x28b)](_0x482291),this[_0x1b1fba(0x2ab)][_0x1b1fba(0x3a8)](_0x54a72e,null);}}[_0x5d24c9(0x3cf)](_0x3df01a){const _0x4cfc5b=_0x5d24c9,{memberID:_0x152961,unitIDs:_0x330e12}=_0x3df01a;_0x330e12[_0x4cfc5b(0x230)](_0x932285=>{const _0x137b09=_0x4cfc5b;var _0x4fabad;const _0x256109=this[_0x137b09(0x396)][_0x137b09(0x1e4)](_0x932285);_0x256109&&(_0x256109['delete'](_0x152961),(_0x4fabad=this[_0x137b09(0x2a6)](_0x932285))==null||_0x4fabad[_0x137b09(0x243)](_0x256109['size']===0x0?_0x2eeaa1[_0x137b09(0x356)]:_0x2eeaa1[_0x137b09(0x22b)]));}),this['_removeClearOtherTimer'](_0x152961);}[_0x5d24c9(0x258)](_0x157b97){const _0x3b287=_0x5d24c9;this[_0x3b287(0x27d)](_0x157b97[_0x3b287(0x37c)]);}['_send'](_0x4cbe94){const _0x28f098=_0x5d24c9;localStorage[_0x28f098(0x278)](rt,JSON[_0x28f098(0x3c0)](_0x4cbe94));}[_0x5d24c9(0x242)](){const _0x28f55b=_0x5d24c9;this[_0x28f55b(0x368)]=window['setInterval'](()=>{const _0x142ac6=_0x28f55b;this['_send']({'type':0x2,'memberID':this[_0x142ac6(0x231)]});},nt);}[_0x5d24c9(0x2a6)](_0x1c56e7){const _0x420db3=_0x5d24c9;return this[_0x420db3(0x3b0)][_0x420db3(0x1f8)](_0x1c56e7)||this['_unitStatus'][_0x420db3(0x3a8)](_0x1c56e7,new _0x5952f2(_0x2eeaa1[_0x420db3(0x356)])),this['_unitStatus'][_0x420db3(0x1e4)](_0x1c56e7);}}var Lt=(_0x10cd8f=>(_0x10cd8f[_0x10cd8f[_0x5d24c9(0x284)]=0x0]=_0x5d24c9(0x284),_0x10cd8f[_0x10cd8f['OK']=0x1]='OK',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x380)]=0x2]=_0x5d24c9(0x380),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3da)]=0x3]=_0x5d24c9(0x3da),_0x10cd8f[_0x10cd8f['NOT_FOUND']=0x4]=_0x5d24c9(0x337),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x38a)]=0x5]='UNAUTHENTICATED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x29c)]=0x6]=_0x5d24c9(0x29c),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x272)]=0x7]=_0x5d24c9(0x272),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x302)]=0x8]=_0x5d24c9(0x302),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3a5)]=0x9]=_0x5d24c9(0x3a5),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x329)]=0xa]=_0x5d24c9(0x329),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x27f)]=0xb]=_0x5d24c9(0x27f),_0x10cd8f[_0x10cd8f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10cd8f[_0x10cd8f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1f3)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x22e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3af)]=0x1771]=_0x5d24c9(0x3af),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2c9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x277)]=0x1773]=_0x5d24c9(0x277),_0x10cd8f[_0x10cd8f['APPLY_REJECT']=0x1b59]=_0x5d24c9(0x348),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x200)]=0x1b5a]=_0x5d24c9(0x200),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1fb)]=0x1b5b]=_0x5d24c9(0x1fb),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2e4)]=0x1b5c]=_0x5d24c9(0x2e4),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x34f)]=0x1b5d]=_0x5d24c9(0x34f),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x232)]=0x1f41]=_0x5d24c9(0x232),_0x10cd8f[_0x10cd8f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5d24c9(0x335),_0x10cd8f[_0x10cd8f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5d24c9(0x25e),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x28f)]=0x232b]=_0x5d24c9(0x28f),_0x10cd8f[_0x10cd8f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5d24c9(0x325),_0x10cd8f[_0x10cd8f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5d24c9(0x30b),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x350)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2bb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2c6)]=0x2713]=_0x5d24c9(0x2c6),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x374)]=0x2714]=_0x5d24c9(0x374),_0x10cd8f[_0x10cd8f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5d24c9(0x257),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x276)]=0x271b]=_0x5d24c9(0x276),_0x10cd8f[_0x10cd8f['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3c2)]=0x271d]=_0x5d24c9(0x3c2),_0x10cd8f[_0x10cd8f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x359)]=0x271f]=_0x5d24c9(0x359),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1e3)]=0x2720]=_0x5d24c9(0x1e3),_0x10cd8f[_0x10cd8f['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5d24c9(0x35e),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1f1)]=0x2ee1]=_0x5d24c9(0x1f1),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x345)]=0x2ee2]='INVALID_INVITE_CODE',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x28e)]=0x2ee3]=_0x5d24c9(0x28e),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2b8)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3d2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x10cd8f[_0x10cd8f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5d24c9(0x3c7),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2a9)]=0x32ca]=_0x5d24c9(0x2a9),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x342)]=0x32cb]=_0x5d24c9(0x342),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2b3)]=-0x1]=_0x5d24c9(0x2b3),_0x10cd8f))(Lt||{}),pn=Object[_0x5d24c9(0x34d)],Cn=(_0xa7907a,_0x30ae28,_0x2c0b7c,_0x2b7bd8)=>{const _0x3a973d=_0x5d24c9;for(var _0x4b2d24=_0x2b7bd8>0x1?void 0x0:_0x2b7bd8?pn(_0x30ae28,_0x2c0b7c):_0x30ae28,_0x258e9c=_0xa7907a[_0x3a973d(0x367)]-0x1,_0x27fd18;_0x258e9c>=0x0;_0x258e9c--)(_0x27fd18=_0xa7907a[_0x258e9c])&&(_0x4b2d24=_0x27fd18(_0x4b2d24)||_0x4b2d24);return _0x4b2d24;},be=(_0x49c769,_0x3eb11d)=>(_0x2f09bc,_0x1f7278)=>_0x3eb11d(_0x2f09bc,_0x1f7278,_0x49c769);let ot=class extends _0x2e4a76{constructor(_0x39e01b,_0x1089b3,_0x5c4bc7){const _0xd232bc=_0x5d24c9;super(),this[_0xd232bc(0x3bd)]=_0x39e01b,this['_httpService']=_0x1089b3,this['_configService']=_0x5c4bc7;}async[_0x5d24c9(0x268)](_0x1c6431,_0x2e85d0,_0x257753,..._0xa80623){const _0x536d2b=_0x5d24c9;var _0x211af5,_0x168e5b,_0x2859e0,_0x2d3736;const _0x40ee27=this[_0x536d2b(0x3bd)][_0x536d2b(0x317)]();if(!_0x40ee27)throw new Error(_0x536d2b(0x38d));const _0x16f1d8=((_0x211af5=this['_configService'][_0x536d2b(0x2bc)](_0x10934d))!=null?_0x211af5:_0x46e36b)+'/'+_0x1c6431+_0x536d2b(0x262)+_0x2e85d0,_0x24910c=new URL(window[_0x536d2b(0x3d4)][_0x536d2b(0x21a)]),_0x48a024={'scriptId':_0x1c6431,'runId':(_0x168e5b=_0x24910c[_0x536d2b(0x349)][_0x536d2b(0x1e4)](_0x536d2b(0x303)))!=null?_0x168e5b:'','function':_0x2e85d0,'unitId':_0x40ee27[_0x536d2b(0x399)](),'argsOfFunction':JSON[_0x536d2b(0x3c0)](_0xa80623),'invokeId':(_0x2859e0=_0x257753[_0x536d2b(0x32f)])!=null?_0x2859e0:'','executionId':(_0x2d3736=_0x257753[_0x536d2b(0x235)])!=null?_0x2d3736:''};try{const _0x558eb7=await this[_0x536d2b(0x2fa)][_0x536d2b(0x250)](_0x16f1d8,{'body':_0x48a024});return _0x558eb7[_0x536d2b(0x2f6)]['error']&&_0x558eb7[_0x536d2b(0x2f6)][_0x536d2b(0x382)][_0x536d2b(0x3d3)]!==Lt['OK']?'Failed':_0x558eb7[_0x536d2b(0x2f6)][_0x536d2b(0x39f)];}catch{return _0x536d2b(0x383);}}};ot=Cn([be(0x0,_0x55ae69),be(0x1,_0x476ef4(_0x2deaba)),be(0x2,_0xa3839)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x57bd8e=_0x15ba;function _0x15ba(_0x4c3908,_0xba95f6){const _0x158a6b=_0x158a();return _0x15ba=function(_0x15ba69,_0x4cd8e8){_0x15ba69=_0x15ba69-0xe7;let _0x4ad9b9=_0x158a6b[_0x15ba69];return _0x4ad9b9;},_0x15ba(_0x4c3908,_0xba95f6);}function _0x158a(){const _0x359ad4=['6363010kBOUxu','Authentication\x20Error','43785OPKXrg','Collaboration\x20Conflict','Connection\x20failed,\x20please\x20check\x20your\x20network.','3297JKjEaX','44sVjpUw','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','557486sGDfTi','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','33jLoGcP','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','656GyVzBA','21zcaQAZ','31953zNBWCS','Edit\x20conflicts','2294715HuKcFS','812946GPKHyx','Syncing\x20server\x20data...','Local\x20file'];_0x158a=function(){return _0x359ad4;};return _0x158a();}(function(_0xc64328,_0x276446){const _0x355e1e=_0x15ba,_0x367954=_0xc64328();while(!![]){try{const _0x4efd0b=-parseInt(_0x355e1e(0xec))/0x1+-parseInt(_0x355e1e(0xef))/0x2+parseInt(_0x355e1e(0xf7))/0x3*(-parseInt(_0x355e1e(0xed))/0x4)+-parseInt(_0x355e1e(0xf9))/0x5+parseInt(_0x355e1e(0xfa))/0x6*(-parseInt(_0x355e1e(0xf6))/0x7)+-parseInt(_0x355e1e(0xf5))/0x8*(parseInt(_0x355e1e(0xe9))/0x9)+-parseInt(_0x355e1e(0xe7))/0xa*(-parseInt(_0x355e1e(0xf3))/0xb);if(_0x4efd0b===_0x276446)break;else _0x367954['push'](_0x367954['shift']());}catch(_0x5deecb){_0x367954['push'](_0x367954['shift']());}}}(_0x158a,0x3be6c));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x57bd8e(0xfb),'conflict':_0x57bd8e(0xf8),'notCollab':_0x57bd8e(0xfc),'synced':'Synced','syncing':_0x57bd8e(0xf2),'offline':_0x57bd8e(0xf1)},'session':{'connection-failed':_0x57bd8e(0xeb),'will-retry':_0x57bd8e(0xee),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x57bd8e(0xf0)},'conflict':{'title':_0x57bd8e(0xea),'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':_0x57bd8e(0xe8),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x57bd8e(0xf4)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
1
+ function _0x1c0d(_0x5b8eb2,_0x971908){const _0x261243=_0x2612();return _0x1c0d=function(_0x1c0d88,_0x32cef4){_0x1c0d88=_0x1c0d88-0xf9;let _0x509cab=_0x261243[_0x1c0d88];return _0x509cab;},_0x1c0d(_0x5b8eb2,_0x971908);}const _0x37e637=_0x1c0d;(function(_0x598721,_0x5ccdf8){const _0x19e7a9=_0x1c0d,_0x1cba71=_0x598721();while(!![]){try{const _0x51c0cf=-parseInt(_0x19e7a9(0x107))/0x1*(parseInt(_0x19e7a9(0x108))/0x2)+-parseInt(_0x19e7a9(0x10e))/0x3*(-parseInt(_0x19e7a9(0x10a))/0x4)+-parseInt(_0x19e7a9(0x104))/0x5+-parseInt(_0x19e7a9(0xf9))/0x6+-parseInt(_0x19e7a9(0x103))/0x7*(-parseInt(_0x19e7a9(0x111))/0x8)+parseInt(_0x19e7a9(0x101))/0x9+-parseInt(_0x19e7a9(0xfb))/0xa*(-parseInt(_0x19e7a9(0xfa))/0xb);if(_0x51c0cf===_0x5ccdf8)break;else _0x1cba71['push'](_0x1cba71['shift']());}catch(_0xad2c93){_0x1cba71['push'](_0x1cba71['shift']());}}}(_0x2612,0xc4999));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x37e637(0x10c),'conflict':_0x37e637(0x10b),'notCollab':'Local\x20file','synced':_0x37e637(0xfe),'syncing':_0x37e637(0xff),'offline':_0x37e637(0xfd)},'session':{'connection-failed':_0x37e637(0x10d),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x37e637(0x102),'collaboration-timeout':_0x37e637(0xfc)},'conflict':{'title':_0x37e637(0x110),'content':_0x37e637(0x10f)},'permission':{'title':_0x37e637(0x112),'content':_0x37e637(0x100)},'collaboration':{'single-unit':{'warning':_0x37e637(0x105)},'closeRoom':_0x37e637(0x106)},'auth':{'needGotoLoginAlert':_0x37e637(0x109)}},o=e;export{o as default};function _0x2612(){const _0x3dac69=['197393xjKhSE','7887370OzSCvD','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','11503KHitdo','226wjgrSj','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','976804ZZXFAK','Edit\x20conflicts','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','12uGbkoJ','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.','Collaboration\x20Conflict','152WJurSk','Authentication\x20Error','6304416GzjkjA','121unukEx','1827470YctcPk','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10894680MqKZkA','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x2612=function(){return _0x3dac69;};return _0x2612();}
@@ -1 +1 @@
1
- const _0x3df6e2=_0x13f3;(function(_0x20f9d3,_0x354efc){const _0x58e551=_0x13f3,_0x1586b8=_0x20f9d3();while(!![]){try{const _0x462dd8=-parseInt(_0x58e551(0xd3))/0x1+-parseInt(_0x58e551(0xca))/0x2+parseInt(_0x58e551(0xd1))/0x3*(parseInt(_0x58e551(0xd6))/0x4)+-parseInt(_0x58e551(0xcb))/0x5+-parseInt(_0x58e551(0xdc))/0x6*(-parseInt(_0x58e551(0xd9))/0x7)+-parseInt(_0x58e551(0xd4))/0x8*(parseInt(_0x58e551(0xc7))/0x9)+parseInt(_0x58e551(0xc9))/0xa*(parseInt(_0x58e551(0xd2))/0xb);if(_0x462dd8===_0x354efc)break;else _0x1586b8['push'](_0x1586b8['shift']());}catch(_0x4755bd){_0x1586b8['push'](_0x1586b8['shift']());}}}(_0x2219,0xd14eb));function _0x2219(){const _0x5bf2ae=['2995090wLUzln','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.','Click\x20to\x20Reconnect','6vQMrRo','8838RbcXWF','Collaboration\x20Conflict','43479860zKewAb','2523084vRxKNj','3982720yBeehu','Synced','Edit\x20conflicts','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','57Eedjcm','11gHjWHI','305552huupnx','13792jPQMmy','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','29068bfvxLd','Authentication\x20Error','Syncing...'];_0x2219=function(){return _0x5bf2ae;};return _0x2219();}function _0x13f3(_0xe15a83,_0x4b4c99){const _0x221998=_0x2219();return _0x13f3=function(_0x13f390,_0x30f518){_0x13f390=_0x13f390-0xc7;let _0x169539=_0x221998[_0x13f390];return _0x169539;},_0x13f3(_0xe15a83,_0x4b4c99);}const e={'collab-client':{'tooltip':{'reconnect':_0x3df6e2(0xdb)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3df6e2(0xcd),'notCollab':'Local\x20file','synced':_0x3df6e2(0xcc),'syncing':_0x3df6e2(0xd8),'offline':_0x3df6e2(0xd0)},'session':{'connection-failed':_0x3df6e2(0xcf),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x3df6e2(0xd5),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x3df6e2(0xc8),'content':_0x3df6e2(0xda)},'permission':{'title':_0x3df6e2(0xd7),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3df6e2(0xce)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
1
+ function _0x167c(){const _0x1b6dde=['2540336nyTVkl','Edit\x20conflicts','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.','10ZIrQrH','2195985aLKlGd','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','7929yVUjuI','236rwIpHx','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','23877awimiv','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','9937477hphLmz','Synced','Collaboration\x20Conflict','5725512yoDyYF','475232vTBSFM','Click\x20to\x20Reconnect','Authentication\x20Error','1JWTYHS','Local\x20file','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1038xVSBky'];_0x167c=function(){return _0x1b6dde;};return _0x167c();}const _0x11a1d5=_0x3775;(function(_0x31656c,_0x28cbce){const _0x275342=_0x3775,_0x327e26=_0x31656c();while(!![]){try{const _0x21f618=-parseInt(_0x275342(0xaa))/0x1*(parseInt(_0x275342(0xa7))/0x2)+parseInt(_0x275342(0x9e))/0x3*(-parseInt(_0x275342(0x9f))/0x4)+-parseInt(_0x275342(0x9c))/0x5+-parseInt(_0x275342(0x97))/0x6*(-parseInt(_0x275342(0xa1))/0x7)+parseInt(_0x275342(0x98))/0x8+-parseInt(_0x275342(0xa6))/0x9+-parseInt(_0x275342(0x9b))/0xa*(-parseInt(_0x275342(0xa3))/0xb);if(_0x21f618===_0x28cbce)break;else _0x327e26['push'](_0x327e26['shift']());}catch(_0x1e3bad){_0x327e26['push'](_0x327e26['shift']());}}}(_0x167c,0x53876));function _0x3775(_0x210f84,_0x122107){const _0x167c9e=_0x167c();return _0x3775=function(_0x377578,_0x4273e5){_0x377578=_0x377578-0x94;let _0x422649=_0x167c9e[_0x377578];return _0x422649;},_0x3775(_0x210f84,_0x122107);}const e={'collab-client':{'tooltip':{'reconnect':_0x11a1d5(0xa8)}},'collabStatus':{'fetchMiss':_0x11a1d5(0x95),'conflict':_0x11a1d5(0x99),'notCollab':_0x11a1d5(0x94),'synced':_0x11a1d5(0xa4),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x11a1d5(0x9d),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x11a1d5(0xa2)},'conflict':{'title':_0x11a1d5(0xa5),'content':_0x11a1d5(0x9a)},'permission':{'title':_0x11a1d5(0xa9),'content':_0x11a1d5(0xa0)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x11a1d5(0x96)}};export{e as default};