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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x69e053=_0x2094;(function(_0x2125b9,_0x102664){const _0x580a11=_0x2094,_0x3506d2=_0x2125b9();while(!![]){try{const _0x132877=-parseInt(_0x580a11(0x308))/0x1*(-parseInt(_0x580a11(0x1e7))/0x2)+parseInt(_0x580a11(0x33b))/0x3*(-parseInt(_0x580a11(0x1ad))/0x4)+parseInt(_0x580a11(0x352))/0x5*(-parseInt(_0x580a11(0x26e))/0x6)+parseInt(_0x580a11(0x30c))/0x7+parseInt(_0x580a11(0x31b))/0x8*(parseInt(_0x580a11(0x23b))/0x9)+parseInt(_0x580a11(0x2ff))/0xa*(parseInt(_0x580a11(0x2ee))/0xb)+-parseInt(_0x580a11(0x286))/0xc;if(_0x132877===_0x102664)break;else _0x3506d2['push'](_0x3506d2['shift']());}catch(_0xaf429c){_0x3506d2['push'](_0x3506d2['shift']());}}}(_0xc62b,0x747db));var $t=Object[_0x69e053(0x303)],xt=(_0x1fb132,_0x2bba00,_0x220689)=>_0x2bba00 in _0x1fb132?$t(_0x1fb132,_0x2bba00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x220689}):_0x1fb132[_0x2bba00]=_0x220689,_=(_0x50ed74,_0x2b7cc0,_0xf9a151)=>xt(_0x50ed74,typeof _0x2b7cc0!=_0x69e053(0x2c2)?_0x2b7cc0+'':_0x2b7cc0,_0xf9a151);import{MemberService as _0x4a74af,SessionStatus as _0x81ca18,CollaborationSessionService as _0x544921,CollaborationStatus as _0x2c5ad0,CollaborationController as _0x226cfe,ILocalCacheService as _0x25f3f0,CollaborationUIEventService as _0xae6817,CollaborationUIEventId as _0x17f4d0,DataLoaderService as _0x2186e2,DocCollaborationEntity as _0x4dd820,getLocalCacheKey as _0x4d1854,LOCAL_CACHE_INTERVAL as _0x1fa765,LOCAL_CACHE_INTERVAL_KEY as _0xa37187,UniverCollaborationClientPlugin as _0x3084ce,CollaborationSocketService as _0x441d7a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3801a2,DEFAULT_WS_SESSION_TICKET_URL as _0x40221c,UnitStatus as _0x14fa32,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x23f086,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3f2c2f}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2e9bdd,Disposable as _0x404876,DOC_RANGE_TYPE as _0x5c07ca,Inject as _0x1edcbc,Injector as _0x30157b,IUniverInstanceService as _0x72afad,ICommandService as _0x2bd5c6,debounce as _0x255206,Rectangle as _0x4e0777,DisposableCollection as _0x2a2f84,toDisposable as _0x35e3cc,UniverInstanceType as _0xb39e56,Tools as _0x469588,COLORS as _0x3995cb,ColorKit as _0x50846d,ThemeService as _0x669f82,fromEventSubject as _0x68d662,LocaleService as _0x7c2e8c,createIdentifier as _0x30c947,ILogService as _0x501a2f,Optional as _0x166217,Workbook as _0x5c97a8,CommandType as _0x326183,IConfigService as _0x4c46e3,ILocalStorageService as _0x324daf,DependentOn as _0x10f61f,Plugin as _0x29f8cb,merge as _0x5a8922,registerDependencies as _0x3c1be9,mergeOverrideWithDependencies as _0x268866,touchDependencies as _0x4e6fb0,generateRandomId as _0x301c9e}from'@univerjs/core';import{Shape as _0x5a67bd,Rect as _0x4c78f6,getColor as _0x4b2883,RegularPolygon as _0x1d218e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x44d47e,Vector2 as _0x462525,SHEET_VIEWPORT_KEY as _0x5b0074,IRenderManagerService as _0x364408}from'@univerjs/engine-render';import{ISocketService as _0xfcca70,WebSocketService as _0x4a7658,HTTPService as _0x3f722f}from'@univerjs/network';import{IDocClipboardService as _0x263301,NodePositionConvertToCursor as _0xe67241,NodePositionConvertToRectRange as _0x573a8f,TEXT_RANGE_LAYER_INDEX as _0x43d054,SetDocZoomRatioOperation as _0x2c60ef,DocIMEInputManagerService as _0x40ad3c,DocStateChangeManagerService as _0x4204ce}from'@univerjs/docs-ui';import{IImageIoService as _0x29cbfb}from'@univerjs/drawing';import{BehaviorSubject as _0x69ec1c,debounceTime as _0x31b0de,takeUntil as _0x44ca8,Subject as _0x51c9dc,filter as _0x552ef5,switchMap as _0x60c435,merge as _0x103602,combineLatest as _0xd72e73,of as _0xd879b8,fromEvent as _0x1b944e,shareReplay as _0x345a65,mapTo as _0x37148e,distinctUntilChanged as _0x3814c9}from'rxjs';import{SetTextSelectionsOperation as _0xdd06aa,RichTextEditingMutation as _0x593f34,DocSelectionManagerService as _0x3bfb9b,DocSkeletonManagerService as _0x36f904}from'@univerjs/docs';import{ITransformService as _0x50f90f,CollaborationEvent as _0x2a2437,isTransformMutationFailure as _0x472ce9,isTransformMutationsWithChangesetSuccess as _0x3f31fc,RevisionService as _0x55dc2e,ISnapshotServerService as _0x5bd623}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x246cfb,serializeRangeWithSheet as _0x304c66}from'@univerjs/engine-formula';import{RefRangeService as _0xb95e43,SetSelectionsOperation as _0x55a42c,SheetsSelectionsService as _0x113517,EffectRefRangId as _0x33d190,handleIRemoveRow as _0x126d27,handleIRemoveCol as _0x42644f,handleMoveRange as _0x3c6acf,handleInsertRow as _0x367e59,handleInsertRangeMoveRight as _0x508845,handleInsertRangeMoveDown as _0x29e748,handleInsertCol as _0x38ecfb,handleDeleteRangeMoveUp as _0x24a714,handleDeleteRangeMoveLeft as _0x9e2cc1,runRefRangeMutations as _0x7172f3,SetWorksheetActivateCommand as _0x26159f}from'@univerjs/sheets';import{map as _0x1f7c41,filter as _0x38db37,throttleTime as _0x562977,takeUntil as _0x55354a,switchMap as _0x279d5a}from'rxjs/operators';import{SheetSkeletonManagerService as _0xa14f88,getCoordByCell as _0x2efb09,getSheetObject as _0x461c8d}from'@univerjs/sheets-ui';import{jsx as _0x130579,jsxs as _0x55e4d8}from'react/jsx-runtime';import{useObservable as _0x5211a7,useDependency as _0x4d6731,IUIPartsService as _0x17e2dc,BuiltInUIPart as _0x4cf15d,connectInjector as _0x5cc765,IBeforeCloseService as _0x3aca32,IMessageService as _0x4d61bb,INotificationService as _0x5b6f74}from'@univerjs/ui';import{Tooltip as _0x30c09d,clsx as _0x25b0bb,MessageType as _0x585ede}from'@univerjs/design';import{forwardRef as _0x4f8fed,useRef as _0x13e355,createElement as _0x567240,useCallback as _0x18a898}from'react';import{IRemoteInstanceService as _0x3bfd4b}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x24e984,_0x85150e,_0xac1cc0,_0x137e2e)=>{for(var _0xf8bb9f=_0x137e2e>0x1?void 0x0:_0x137e2e?ci(_0x85150e,_0xac1cc0):_0x85150e,_0x4c0cfb=_0x24e984['length']-0x1,_0xff10da;_0x4c0cfb>=0x0;_0x4c0cfb--)(_0xff10da=_0x24e984[_0x4c0cfb])&&(_0xf8bb9f=_0xff10da(_0xf8bb9f)||_0xf8bb9f);return _0xf8bb9f;},Je=(_0x320578,_0x39fa7b)=>(_0x592692,_0x2ae97a)=>_0x39fa7b(_0x592692,_0x2ae97a,_0x320578);let Ne=class extends _0x2e9bdd{constructor(_0x45e2c2,_0x54ad32){const _0xad8944=_0x69e053;super(),this[_0xad8944(0x1b2)]=_0x45e2c2,this[_0xad8944(0x2b4)]=_0x54ad32,this[_0xad8944(0x344)]();}[_0x69e053(0x344)](){const _0xdb040d=_0x69e053,_0x34310e=this;this[_0xdb040d(0x18c)](this[_0xdb040d(0x1b2)][_0xdb040d(0x243)]({'onBeforePasteImage':async _0x3a3675=>{const _0x1ec26d=_0xdb040d,_0x3f8451=await _0x34310e[_0x1ec26d(0x2b4)]['saveImage'](_0x3a3675);return _0x3f8451?{'source':_0x3f8451['source'],'imageSourceType':_0x3f8451['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x263301),Je(0x1,_0x29cbfb)],Ne);const Ze=[_0x69e053(0x27b),_0x69e053(0x229),'green.600',_0x69e053(0x357),_0x69e053(0x31d),'yellow.400'];class ke extends _0x404876{constructor(){const _0x3708d8=_0x69e053;super(...arguments),_(this,_0x3708d8(0x169),new Map()),_(this,_0x3708d8(0x16f),0x0);}[_0x69e053(0x184)](_0xbe449c){const _0x2a7a74=_0x69e053;if(this[_0x2a7a74(0x169)][_0x2a7a74(0x289)](_0xbe449c))return this['_assignedColors'][_0x2a7a74(0x2a0)](_0xbe449c);const _0x125e3c=Ze[this[_0x2a7a74(0x16f)]];return this[_0x2a7a74(0x16f)]=(this[_0x2a7a74(0x16f)]+0x1)%Ze[_0x2a7a74(0x306)],this['_assignedColors'][_0x2a7a74(0x2e7)](_0xbe449c,_0x125e3c),_0x125e3c;}}function Tt(_0x203166){const _0x39b7fa=_0x69e053;let _0x5e7fee='';for(const _0x2d4fa3 of _0x203166){const {startOffset:_0x1c3544,endOffset:_0x518316,isActive:_0x167c68,rangeType:_0x39e952,segmentId:_0x150e0b,segmentPage:_0x135ade}=_0x2d4fa3;_0x5e7fee[_0x39b7fa(0x306)]&&(_0x5e7fee+=','),_0x5e7fee+=_0x1c3544+':'+_0x518316+':'+(_0x167c68?'1':'0')+':'+_0x39e952+':'+_0x150e0b+':'+_0x135ade;}return _0x5e7fee;}function _i(_0x47b3da){const _0x59af73=_0x69e053,_0x504e35=_0x47b3da[_0x59af73(0x1c1)](','),_0xd714fd=[];for(const _0x55a601 of _0x504e35){const [_0x220d5f,_0x50ff34,_0x1c53f6,_0x4841d6,_0x132ec0,_0x3c1de4]=_0x55a601[_0x59af73(0x1c1)](':');_0xd714fd[_0x59af73(0x1a5)]({'startOffset':Number(_0x220d5f),'endOffset':Number(_0x50ff34),'collapsed':_0x220d5f===_0x50ff34,'isActive':_0x1c53f6==='1','rangeType':_0x4841d6===_0x5c07ca[_0x59af73(0x2d7)]?_0x5c07ca['TEXT']:_0x5c07ca['RECT'],'segmentId':typeof _0x132ec0==_0x59af73(0x21b)?String(_0x132ec0):'','segmentPage':Number(_0x3c1de4!=null?_0x3c1de4:-0x1)});}return _0xd714fd[_0x59af73(0x1e3)](_0x2fe536=>_0x2fe536['isActive'])||(_0xd714fd[0x0][_0x59af73(0x165)]=!0x0),_0xd714fd;}class He extends _0x2e9bdd{constructor(){const _0x16392d=_0x69e053;super(...arguments),_(this,'_collabCursorState$',new _0x69ec1c(null)),_(this,_0x16392d(0x2c1),this[_0x16392d(0x24b)]['asObservable']());}['syncEditingCollabCursor'](_0x2a4b4e){const _0x381475=_0x69e053,{unitID:_0x22ff9c,memberID:_0x4872e7,textRanges:_0x46bd32}=_0x2a4b4e,_0x2f1266=Tt(_0x46bd32);if(_0x2f1266==='')return;const _0x5a1871={'unitID':_0x22ff9c,'memberID':_0x4872e7,'selection':_0x2f1266};this[_0x381475(0x24b)][_0x381475(0x309)](_0x5a1871);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0xeaabf2,_0x230312,_0x41dfb7,_0x226134)=>{const _0x20acd4=_0x69e053;for(var _0x488e2f=_0x226134>0x1?void 0x0:_0x226134?hi(_0x230312,_0x41dfb7):_0x230312,_0x432535=_0xeaabf2[_0x20acd4(0x306)]-0x1,_0x5c038c;_0x432535>=0x0;_0x432535--)(_0x5c038c=_0xeaabf2[_0x432535])&&(_0x488e2f=_0x5c038c(_0x488e2f)||_0x488e2f);return _0x488e2f;},P=(_0x24671c,_0x385f6f)=>(_0x1d3c56,_0x2ab3d0)=>_0x385f6f(_0x1d3c56,_0x2ab3d0,_0x24671c);const di=0x12c,fi=0x64;function _0x2094(_0x2d8b4f,_0x1d559d){const _0xc62b24=_0xc62b();return _0x2094=function(_0x209418,_0x4e1a56){_0x209418=_0x209418-0x14e;let _0x1da181=_0xc62b24[_0x209418];return _0x1da181;},_0x2094(_0x2d8b4f,_0x1d559d);}let Ue=class extends _0x2e9bdd{constructor(_0x4c9387,_0x733276,_0x5bba5c,_0x30bd44,_0x33d00a,_0x19c73c,_0x50cb54,_0x438e59,_0xfd6994){const _0x3c219b=_0x69e053;super(),_(this,_0x3c219b(0x2a6),!0x1),_(this,_0x3c219b(0x344),!0x1),_(this,_0x3c219b(0x209),new _0x69ec1c(new Map())),_(this,_0x3c219b(0x28f),this[_0x3c219b(0x209)][_0x3c219b(0x31a)]()),_(this,_0x3c219b(0x164),new _0x69ec1c([])),_(this,_0x3c219b(0x235),this[_0x3c219b(0x164)][_0x3c219b(0x21d)](_0x31b0de(di))),_(this,_0x3c219b(0x1f6),_0x255206(_0x4523b5=>{const _0x137195=_0x3c219b,_0x44fe54={'eventID':_0x2a2437[_0x137195(0x2cc)],'data':{'unitID':this[_0x137195(0x319)],'memberID':this[_0x137195(0x2f2)][_0x137195(0x2ef)](),'selection':Tt(_0x4523b5)}};this[_0x137195(0x2f2)][_0x137195(0x316)](_0x44fe54,this[_0x137195(0x319)]);},fi)),(this[_0x3c219b(0x319)]=_0x4c9387,this[_0x3c219b(0x2f2)]=_0x733276,this['_injector']=_0x5bba5c,this[_0x3c219b(0x268)]=_0x30bd44,this[_0x3c219b(0x2de)]=_0x33d00a,this[_0x3c219b(0x1dd)]=_0x19c73c,this[_0x3c219b(0x247)]=_0x50cb54,this['_univerInstanceService']=_0x438e59,this[_0x3c219b(0x2fd)]=_0xfd6994);}get['cursorInfo'](){const _0x3b6bbc=_0x69e053;return this[_0x3b6bbc(0x209)]['getValue']();}get['roomMembers'](){const _0x20c8ea=_0x69e053;return this[_0x20c8ea(0x164)][_0x20c8ea(0x356)]();}['dispose'](){const _0x5f49f9=_0x69e053;super[_0x5f49f9(0x2d4)](),this['_cursorInfo$'][_0x5f49f9(0x309)](new Map()),this[_0x5f49f9(0x209)][_0x5f49f9(0x33e)](),this[_0x5f49f9(0x164)][_0x5f49f9(0x309)]([]),this['_roomMembers$'][_0x5f49f9(0x33e)]();}[_0x69e053(0x1e4)](){const _0x4d3a47=_0x69e053;this[_0x4d3a47(0x344)]||(this['_init']=!0x0,this[_0x4d3a47(0x2f2)][_0x4d3a47(0x1f8)][_0x4d3a47(0x21d)](_0x44ca8(this[_0x4d3a47(0x347)]))['subscribe'](_0x3c655b=>{const _0x90147c=_0x4d3a47;_0x3c655b===_0x81ca18[_0x90147c(0x28e)]?this[_0x90147c(0x1e5)]():this[_0x90147c(0x21a)]();}),this[_0x4d3a47(0x2f2)][_0x4d3a47(0x1a3)][_0x4d3a47(0x21d)](_0x44ca8(this['dispose$']))['subscribe'](_0x338755=>{const _0x1078dc=_0x4d3a47,_0x6dfdf2=_0x338755[_0x1078dc(0x321)];_0x6dfdf2===_0x2a2437[_0x1078dc(0x2cc)]&&this['_onCursorUpdate'](_0x338755),_0x6dfdf2===_0x2a2437[_0x1078dc(0x19d)]&&this[_0x1078dc(0x22b)](_0x338755);}),this['disposeWithMe'](this['_commandService'][_0x4d3a47(0x32f)](_0x44a9b3=>{const _0xb5c7a4=_0x4d3a47,_0x34d3ce=_0x44a9b3[_0xb5c7a4(0x210)];_0x34d3ce!=null&&this['_online']&&_0x44a9b3['id']===_0xdd06aa['id']&&_0x34d3ce[_0xb5c7a4(0x228)]===this['unitID']&&_0x34d3ce[_0xb5c7a4(0x208)]===!0x1&&_0x34d3ce[_0xb5c7a4(0x304)][_0xb5c7a4(0x306)]>0x0&&this[_0xb5c7a4(0x1f6)](_0x34d3ce['ranges']);})),this[_0x4d3a47(0x1dd)]['collabCursorState$']['pipe'](_0x44ca8(this[_0x4d3a47(0x347)]))[_0x4d3a47(0x20d)](_0x3481a9=>{const _0x5da0b9=_0x4d3a47;if((_0x3481a9==null?void 0x0:_0x3481a9[_0x5da0b9(0x319)])!==this['unitID'])return;const _0x368416={'eventID':_0x2a2437['UPDATE_CURSOR'],'data':_0x3481a9};this[_0x5da0b9(0x2c6)](_0x368416);}),this['disposeWithMe'](this[_0x4d3a47(0x2fd)][_0x4d3a47(0x32f)](_0x450ed2=>{const _0x40e28e=_0x4d3a47;if(_0x450ed2[_0x40e28e(0x210)]==null)return;const _0x570c9a=_0x450ed2[_0x40e28e(0x210)];if(_0x450ed2['id']!==_0x593f34['id']||_0x570c9a[_0x40e28e(0x228)]!==this['unitID'])return;const _0x346175={'id':_0x40e28e(0x163),'params':_0x570c9a},_0x2fbefd=this[_0x40e28e(0x2e8)];for(const [_0x40bd6c,_0x1c8603]of _0x2fbefd){const _0x26586c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x40e28e(0x319)],'actions':null,'textRanges':_0x1c8603['ranges']}},_0x28a6c5=this['_transformService']['transformMutation'](_0x346175,_0x26586c,!0x1);if(_0x472ce9(_0x28a6c5))throw _0x28a6c5[_0x40e28e(0x216)];_0x2fbefd[_0x40e28e(0x2e7)](_0x40bd6c,{..._0x1c8603,'ranges':_0x28a6c5[_0x40e28e(0x2f7)][_0x40e28e(0x210)][_0x40e28e(0x307)]});}queueMicrotask(()=>{const _0x3861b0=_0x40e28e;this[_0x3861b0(0x209)][_0x3861b0(0x309)](_0x2fbefd);});})));}[_0x69e053(0x2c6)](_0x3ee9d0){const _0x4f7fac=_0x69e053;var _0x4bb829,_0x45c4c1;const {memberID:_0x2f2c04,selection:_0x37d98e}=_0x3ee9d0['data'],_0x21e94c=_i(_0x37d98e),_0x2a03ac=(_0x45c4c1=(_0x4bb829=this[_0x4f7fac(0x2de)][_0x4f7fac(0x195)](this['unitID'],_0x2f2c04))==null?void 0x0:_0x4bb829['name'])!=null?_0x45c4c1:_0x4f7fac(0x26a),_0x40a7bd={'color':this[_0x4f7fac(0x268)][_0x4f7fac(0x184)](_0x2f2c04),'name':_0x2a03ac,'ranges':_0x21e94c},_0x3e44b6=this['cursorInfo'];_0x3e44b6['set'](_0x2f2c04,_0x40a7bd),this[_0x4f7fac(0x209)][_0x4f7fac(0x309)](_0x3e44b6);}[_0x69e053(0x22b)](_0x40689a){const _0xfca5fa=_0x69e053,{memberID:_0x4d9f51}=_0x40689a['data'],_0x3f43e6=this[_0xfca5fa(0x2e8)];_0x3f43e6[_0xfca5fa(0x20b)](_0x4d9f51),this[_0xfca5fa(0x209)]['next'](_0x3f43e6);}[_0x69e053(0x1e5)](){const _0x3ec1f0=_0x69e053;var _0x25d7a5;if(this[_0x3ec1f0(0x2a6)]=!0x0,((_0x25d7a5=this[_0x3ec1f0(0x30a)][_0x3ec1f0(0x348)]())==null?void 0x0:_0x25d7a5['getUnitId']())!==this[_0x3ec1f0(0x319)])return;const _0xd86dfe=this['_injector']['get'](_0x3bfb9b)[_0x3ec1f0(0x161)]();Array[_0x3ec1f0(0x227)](_0xd86dfe)&&_0xd86dfe[_0x3ec1f0(0x306)]>0x0&&this[_0x3ec1f0(0x1f6)](_0xd86dfe);}[_0x69e053(0x21a)](){const _0x595a9d=_0x69e053;this[_0x595a9d(0x2a6)]=!0x1;}};Ue=ui([P(0x2,_0x1edcbc(_0x30157b)),P(0x3,_0x1edcbc(ke)),P(0x4,_0x1edcbc(_0x4a74af)),P(0x5,_0x1edcbc(He)),P(0x6,_0x50f90f),P(0x7,_0x72afad),P(0x8,_0x2bd5c6)],Ue);var Si=Object[_0x69e053(0x221)],mi=(_0x3a6765,_0x3badae,_0x56d437,_0x3b8dbf)=>{const _0x3cde66=_0x69e053;for(var _0xb87c1=_0x3b8dbf>0x1?void 0x0:_0x3b8dbf?Si(_0x3badae,_0x56d437):_0x3badae,_0x75c04c=_0x3a6765[_0x3cde66(0x306)]-0x1,_0x4fc8cb;_0x75c04c>=0x0;_0x75c04c--)(_0x4fc8cb=_0x3a6765[_0x75c04c])&&(_0xb87c1=_0x4fc8cb(_0xb87c1)||_0xb87c1);return _0xb87c1;},x=(_0x97c715,_0x2a7cf4)=>(_0x2e3b43,_0x2289f8)=>_0x2a7cf4(_0x2e3b43,_0x2289f8,_0x97c715);const Ii=0x12c,gi=0x64,vi=()=>{let _0x48e032=[],_0x550666=!0x1;return _0x1b519d=>{const _0x21bd6d=_0x2094;_0x48e032[_0x21bd6d(0x1a5)](_0x1b519d),_0x550666||(_0x550666=!0x0,setTimeout(()=>{const _0x455f63=_0x21bd6d;_0x48e032[_0x455f63(0x2b5)](_0x516ed1=>_0x516ed1()),_0x48e032=[],_0x550666=!0x1;}));};};let Me=class extends _0x2e9bdd{constructor(_0x5c27e5,_0x17664f,_0x3e0877,_0x4fc799,_0x356cd0,_0x4f24fa,_0x1ba172,_0x46970d){const _0x29a2ca=_0x69e053;super(),_(this,_0x29a2ca(0x2a6),!0x1),_(this,_0x29a2ca(0x344),!0x1),_(this,_0x29a2ca(0x209),new _0x69ec1c(new Map())),_(this,_0x29a2ca(0x28f),this[_0x29a2ca(0x209)]['asObservable']()),_(this,_0x29a2ca(0x164),new _0x69ec1c([])),_(this,_0x29a2ca(0x235),this[_0x29a2ca(0x164)][_0x29a2ca(0x21d)](_0x31b0de(Ii))),_(this,_0x29a2ca(0x1f6),_0x255206((_0x55f6c3,_0x4ec27c)=>{const _0x24a705=_0x29a2ca,_0x11432d={'eventID':_0x2a2437[_0x24a705(0x2cc)],'data':{'unitID':this[_0x24a705(0x319)],'memberID':this[_0x24a705(0x2f2)][_0x24a705(0x2ef)](),'selection':_0x304c66(_0x55f6c3,_0x4ec27c[_0x24a705(0x14e)])}};this[_0x24a705(0x2f2)]['send'](_0x11432d,this['unitID']);},gi)),(this['unitID']=_0x5c27e5,this[_0x29a2ca(0x2f2)]=_0x17664f,this[_0x29a2ca(0x248)]=_0x3e0877,this[_0x29a2ca(0x268)]=_0x4fc799,this[_0x29a2ca(0x2de)]=_0x356cd0,this['_univerInstanceService']=_0x4f24fa,this['_commandService']=_0x1ba172,this[_0x29a2ca(0x1ff)]=_0x46970d);}get[_0x69e053(0x2e8)](){const _0x4f0d96=_0x69e053;return this[_0x4f0d96(0x209)][_0x4f0d96(0x356)]();}get[_0x69e053(0x224)](){const _0x787040=_0x69e053;return this['_roomMembers$'][_0x787040(0x356)]();}[_0x69e053(0x2d4)](){const _0x4665e1=_0x69e053;super['dispose'](),this[_0x4665e1(0x209)][_0x4665e1(0x309)](new Map()),this[_0x4665e1(0x209)][_0x4665e1(0x33e)](),this['_roomMembers$']['next']([]),this[_0x4665e1(0x164)]['complete']();}['init'](){const _0xf04d27=_0x69e053;this[_0xf04d27(0x344)]||(this[_0xf04d27(0x344)]=!0x0,this['_session'][_0xf04d27(0x1f8)]['pipe'](_0x44ca8(this[_0xf04d27(0x347)]))[_0xf04d27(0x20d)](_0x3c5988=>{const _0x544d81=_0xf04d27;_0x3c5988===_0x81ca18[_0x544d81(0x28e)]?this[_0x544d81(0x1e5)]():this[_0x544d81(0x21a)]();}),this[_0xf04d27(0x2f2)][_0xf04d27(0x1a3)][_0xf04d27(0x21d)](_0x44ca8(this[_0xf04d27(0x347)]))[_0xf04d27(0x20d)](_0x2779b2=>{const _0x630f95=_0xf04d27,_0x3f8452=_0x2779b2[_0x630f95(0x321)];_0x3f8452===_0x2a2437[_0x630f95(0x2cc)]&&this[_0x630f95(0x2c6)](_0x2779b2),_0x3f8452===_0x2a2437[_0x630f95(0x19d)]&&this[_0x630f95(0x22b)](_0x2779b2);}),this[_0xf04d27(0x264)](),this['disposeWithMe'](this[_0xf04d27(0x2fd)][_0xf04d27(0x32f)](_0x30f6f9=>{const _0x3c802c=_0xf04d27;if(this['_online']&&_0x30f6f9['id']===_0x55a42c['id']&&_0x30f6f9['params'][_0x3c802c(0x228)]===this['unitID']){const _0x40a353=_0x30f6f9[_0x3c802c(0x210)];this[_0x3c802c(0x1f6)](_0x40a353[_0x3c802c(0x2e5)],_0x40a353[_0x3c802c(0x2bc)][0x0]);}})));}['_onCursorUpdate'](_0x8d01bd){const _0x46c9aa=_0x69e053;var _0x3d0fec,_0x1716fb;const {memberID:_0x2cd0da,selection:_0x1faa39}=_0x8d01bd[_0x46c9aa(0x1ea)],{sheetName:_0x22e5aa,range:_0x5a30b0}=_0x246cfb(_0x1faa39),_0xa528df={'name':(_0x1716fb=(_0x3d0fec=this[_0x46c9aa(0x2de)]['getMember'](this['unitID'],_0x2cd0da))==null?void 0x0:_0x3d0fec[_0x46c9aa(0x338)])!=null?_0x1716fb:_0x46c9aa(0x26a),'range':this[_0x46c9aa(0x1b1)](_0x22e5aa,_0x5a30b0),'sheetID':_0x22e5aa,'color':this[_0x46c9aa(0x268)]['assignAColorForMemberID'](_0x2cd0da),'selection':_0x1faa39},_0x589c6f=this['cursorInfo'];_0x589c6f['set'](_0x2cd0da,_0xa528df),this[_0x46c9aa(0x209)][_0x46c9aa(0x309)](_0x589c6f);}[_0x69e053(0x22b)](_0x37d520){const _0x481ee5=_0x69e053,{memberID:_0x27f6bf}=_0x37d520[_0x481ee5(0x1ea)],_0x433ead=this[_0x481ee5(0x2e8)];_0x433ead[_0x481ee5(0x20b)](_0x27f6bf),this[_0x481ee5(0x209)][_0x481ee5(0x309)](_0x433ead);}[_0x69e053(0x1b1)](_0x38e9a0,_0xc10ca3){const _0x44e891=_0x69e053;var _0x340b24,_0xf018d4;const _0x31b4a2=(_0xf018d4=(_0x340b24=this[_0x44e891(0x30a)][_0x44e891(0x349)](this['unitID']))==null?void 0x0:_0x340b24[_0x44e891(0x158)](_0x38e9a0))==null?void 0x0:_0xf018d4[_0x44e891(0x18b)]();return(_0x31b4a2==null?void 0x0:_0x31b4a2[_0x44e891(0x2e3)](_0xe90a69=>_0x4e0777['contains'](_0xe90a69,_0xc10ca3)))||_0xc10ca3;}[_0x69e053(0x264)](){const _0x454862=_0x69e053,_0x8d42c2=new _0x2a2f84(),_0x2ec031=vi(),_0x1ada35=()=>{const _0xf72433=_0x2094;_0x8d42c2[_0xf72433(0x2d4)]();const _0x15d5ef=(_0x286b3d,_0x17a302,_0x5d7bbd,_0x20a13f)=>{const _0x505663=_0xf72433;let _0x8fdcd9=[];switch(_0x286b3d['id']){case _0x33d190[_0x505663(0x2e2)]:{_0x8fdcd9=_0x9e2cc1(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x234)]:{_0x8fdcd9=_0x24a714(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x332)]:{_0x8fdcd9=_0x38ecfb(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x182)]:{_0x8fdcd9=_0x29e748(_0x286b3d,_0x20a13f);break;}case _0x33d190['InsertRangeMoveRightCommandId']:{_0x8fdcd9=_0x508845(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x27f)]:{_0x8fdcd9=_0x367e59(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x21c)]:{_0x8fdcd9=_0x3c6acf(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x1dc)]:{_0x8fdcd9=_0x42644f(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x28d)]:{_0x8fdcd9=_0x126d27(_0x286b3d,_0x20a13f);break;}}const _0x453d8e=_0x7172f3(_0x8fdcd9,_0x20a13f),_0x439b4d=this[_0x505663(0x2e8)][_0x505663(0x2a0)](_0x17a302);if(_0x439b4d&&_0x453d8e){const _0x26e737={..._0x439b4d,'range':_0x453d8e};this[_0x505663(0x2e8)][_0x505663(0x2e7)](_0x17a302,_0x26e737),_0x2ec031(()=>{const _0xcae58d=_0x505663,_0x4c3bf5=this[_0xcae58d(0x1ff)]['registerRefRange'](_0x453d8e,_0x4cc757=>(_0x4c3bf5[_0xcae58d(0x2d4)](),_0x15d5ef(_0x4cc757,_0x17a302,_0x5d7bbd,_0x453d8e)));_0x8d42c2[_0xcae58d(0x185)](_0x4c3bf5);});}return{'redos':[],'undos':[]};};this[_0xf72433(0x2e8)]['forEach']((_0x263521,_0x147b78)=>{const _0x3c9fd0=_0xf72433,{range:_0x4753e0,sheetID:_0x28a471}=_0x263521,_0x3d028e=this['_refRangeService'][_0x3c9fd0(0x1f3)](_0x4753e0,_0x207b3e=>(_0x3d028e[_0x3c9fd0(0x2d4)](),_0x15d5ef(_0x207b3e,_0x147b78,_0x28a471,_0x4753e0)));_0x8d42c2[_0x3c9fd0(0x185)](_0x3d028e);});};this[_0x454862(0x18c)](_0x35e3cc(this['_cursorInfo$'][_0x454862(0x20d)](()=>{_0x1ada35();})));}[_0x69e053(0x1e5)](){const _0x13d3f5=_0x69e053;var _0x296235,_0x512312;if(this[_0x13d3f5(0x2a6)]=!0x0,((_0x296235=this[_0x13d3f5(0x30a)]['getFocusedUnit']())==null?void 0x0:_0x296235['getUnitId']())!==this['unitID'])return;const _0x25a529=(_0x512312=this[_0x13d3f5(0x248)][_0x13d3f5(0x2a0)](_0x113517)[_0x13d3f5(0x1bf)]())==null?void 0x0:_0x512312[0x0],_0x49d892=this[_0x13d3f5(0x30a)]['getCurrentUnitForType'](_0xb39e56['UNIVER_SHEET'])[_0x13d3f5(0x253)]();_0x25a529&&_0x49d892&&this['_updateLocalCursor'](_0x49d892[_0x13d3f5(0x226)](),_0x25a529);}['_toggleOffline'](){const _0x1cdb11=_0x69e053;this[_0x1cdb11(0x2a6)]=!0x1;}};Me=mi([x(0x2,_0x1edcbc(_0x30157b)),x(0x3,_0x1edcbc(ke)),x(0x4,_0x1edcbc(_0x4a74af)),x(0x5,_0x72afad),x(0x6,_0x2bd5c6),x(0x7,_0x1edcbc(_0xb95e43))],Me);var pi=Object[_0x69e053(0x221)],Ci=(_0x25679d,_0x19d4e9,_0x24999b,_0x4b756e)=>{const _0x4a6ddb=_0x69e053;for(var _0x3a598e=_0x4b756e>0x1?void 0x0:_0x4b756e?pi(_0x19d4e9,_0x24999b):_0x19d4e9,_0x4e570d=_0x25679d[_0x4a6ddb(0x306)]-0x1,_0x3b48dd;_0x4e570d>=0x0;_0x4e570d--)(_0x3b48dd=_0x25679d[_0x4e570d])&&(_0x3a598e=_0x3b48dd(_0x3a598e)||_0x3a598e);return _0x3a598e;},Se=(_0x5613c3,_0x204215)=>(_0x54fbce,_0x5a6544)=>_0x204215(_0x54fbce,_0x5a6544,_0x5613c3);let H=class extends _0x2e9bdd{constructor(_0x15ee33,_0x456ddd,_0x434120){const _0x4a5800=_0x69e053;super(),_(this,_0x4a5800(0x2c9),new Map()),_(this,_0x4a5800(0x23d),new _0x51c9dc()),(this[_0x4a5800(0x30a)]=_0x15ee33,this[_0x4a5800(0x248)]=_0x456ddd,this['_collabSessionService']=_0x434120,this[_0x4a5800(0x344)]());}[_0x69e053(0x2d4)](){const _0x20173b=_0x69e053;super['dispose'](),this[_0x20173b(0x23d)][_0x20173b(0x33e)](),this[_0x20173b(0x2c9)][_0x20173b(0x2b5)](_0x52226f=>_0x52226f[_0x20173b(0x2d4)]());}['getCollabCursors$'](_0x1e8158){const _0x5654f4=_0x69e053;return this[_0x5654f4(0x2c9)][_0x5654f4(0x289)](_0x1e8158)?this[_0x5654f4(0x2c9)][_0x5654f4(0x2a0)](_0x1e8158)[_0x5654f4(0x28f)]:this['_entityInit$']['pipe'](_0x552ef5(_0x4bad70=>_0x4bad70[_0x5654f4(0x319)]===_0x1e8158),_0x60c435(_0x4d5ce3=>_0x4d5ce3[_0x5654f4(0x28f)]));}[_0x69e053(0x344)](){const _0x1ac6b4=_0x69e053;this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x1be)](_0xb39e56[_0x1ac6b4(0x20c)])['pipe'](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x20d)](async _0x5a3360=>{const _0xf55543=_0x1ac6b4,_0x338b73=_0x5a3360[_0xf55543(0x213)](),_0x4dc865=await this['_startSheetCollabCursor'](_0x338b73);this[_0xf55543(0x23d)]['next'](_0x4dc865),this[_0xf55543(0x2c9)][_0xf55543(0x2e7)](_0x338b73,_0x4dc865);}),this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x1be)](_0xb39e56[_0x1ac6b4(0x1f5)])[_0x1ac6b4(0x21d)](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x21d)](_0x552ef5(_0x3e0678=>!_0x3e0678['getUnitId']()[_0x1ac6b4(0x359)]('__')))[_0x1ac6b4(0x20d)](async _0x51f6f0=>{const _0x4f416b=_0x1ac6b4,_0x35b8c9=_0x51f6f0['getUnitId'](),_0x4496de=await this[_0x4f416b(0x33f)](_0x35b8c9);this['_entityInit$']['next'](_0x4496de),this[_0x4f416b(0x2c9)][_0x4f416b(0x2e7)](_0x35b8c9,_0x4496de);}),_0x103602(this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x2e4)](_0xb39e56['UNIVER_DOC']),this['_univerInstanceService'][_0x1ac6b4(0x2e4)](_0xb39e56[_0x1ac6b4(0x20c)]))[_0x1ac6b4(0x21d)](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x20d)](_0x237391=>{const _0x2fff44=_0x1ac6b4,_0x3d271a=_0x237391[_0x2fff44(0x213)](),_0x315aa9=this['_entities'][_0x2fff44(0x2a0)](_0x3d271a);_0x315aa9&&(_0x315aa9[_0x2fff44(0x2d4)](),this['_entities'][_0x2fff44(0x20b)](_0x3d271a));});}async[_0x69e053(0x2b8)](_0x1201e1){const _0x2f237a=_0x69e053,_0x1663e0=await this['_collabSessionService'][_0x2f237a(0x1ac)](_0x1201e1),_0x1e36a1=this[_0x2f237a(0x248)]['createInstance'](Me,_0x1201e1,_0x1663e0);return _0x1e36a1[_0x2f237a(0x1e4)](),_0x1e36a1;}async[_0x69e053(0x33f)](_0x4cb750){const _0x531e39=_0x69e053,_0x5c463a=await this['_collabSessionService'][_0x531e39(0x1ac)](_0x4cb750),_0x4c61ac=this['_injector'][_0x531e39(0x1c9)](Ue,_0x4cb750,_0x5c463a);return _0x4c61ac['init'](),_0x4c61ac;}};H=Ci([Se(0x0,_0x72afad),Se(0x1,_0x1edcbc(_0x30157b)),Se(0x2,_0x1edcbc(_0x544921))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x436f87,_0x5c727f){const _0x3595bd=_0x69e053;let {radius:_0x368a10,width:_0x2849ce,height:_0x2558cf}=_0x5c727f;_0x368a10=_0x368a10!=null?_0x368a10:0x0,_0x2849ce=_0x2849ce!=null?_0x2849ce:0x1e,_0x2558cf=_0x2558cf!=null?_0x2558cf:0x1e;let _0x400b62=0x0,_0x1fc650=0x0,_0x35f7bb=0x0;_0x400b62=_0x1fc650=_0x35f7bb=Math[_0x3595bd(0x24c)](_0x368a10,_0x2849ce/0x2,_0x2558cf/0x2),_0x436f87[_0x3595bd(0x150)](),_0x436f87[_0x3595bd(0x212)](_0x400b62,0x0),_0x436f87[_0x3595bd(0x16d)](_0x2849ce-_0x1fc650,0x0),_0x436f87[_0x3595bd(0x301)](_0x2849ce-_0x1fc650,_0x1fc650,_0x1fc650,Math['PI']*0x3/0x2,0x0,!0x1),_0x436f87[_0x3595bd(0x16d)](_0x2849ce,_0x2558cf-_0x35f7bb),_0x436f87[_0x3595bd(0x301)](_0x2849ce-_0x35f7bb,_0x2558cf-_0x35f7bb,_0x35f7bb,0x0,Math['PI']/0x2,!0x1),_0x436f87['lineTo'](0x0,_0x2558cf),_0x436f87[_0x3595bd(0x16d)](0x0,_0x400b62),_0x436f87['arc'](_0x400b62,_0x400b62,_0x400b62,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x436f87['closePath'](),_0x5c727f[_0x3595bd(0x284)]&&(_0x436f87[_0x3595bd(0x298)](),_0x436f87[_0x3595bd(0x1a2)]=_0x5c727f[_0x3595bd(0x284)],_0x5c727f[_0x3595bd(0x236)]===_0x3595bd(0x1cb)?_0x436f87['fill'](_0x3595bd(0x1cb)):_0x436f87[_0x3595bd(0x284)](),_0x436f87['restore']());}class he extends _0x5a67bd{constructor(_0x5e3b8e,_0x1d15a7){const _0x26a209=_0x69e053;super(_0x5e3b8e,_0x1d15a7),_(this,_0x26a209(0x300)),_(this,_0x26a209(0x2e0)),(this[_0x26a209(0x300)]=_0x1d15a7==null?void 0x0:_0x1d15a7['color'],this[_0x26a209(0x2e0)]=_0x1d15a7==null?void 0x0:_0x1d15a7[_0x26a209(0x2e0)]);}static['drawWith'](_0x752809,_0x4c03cb){const _0x3b1ce6=_0x69e053,{text:_0x12842e,color:_0x58360c}=_0x4c03cb;_0x752809[_0x3b1ce6(0x298)](),_0x752809[_0x3b1ce6(0x345)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x14a3cd=_0x752809['measureText'](_0x12842e)[_0x3b1ce6(0x23c)],_0x538f82=Math['min'](_0x14a3cd+0x2*me,Qe);Oi(_0x752809,{'height':ee,'radius':0x4,'width':_0x538f82,'fill':_0x58360c}),_0x752809[_0x3b1ce6(0x1a2)]=_0x3b1ce6(0x280);const _0x5c999b=me,_0x3549fe=ee-Ei,_0x5c3a76=Qe-0x2*me;if(_0x14a3cd>_0x5c3a76){let _0x297d63='',_0x5b1f67=0x0;for(const _0x1a05e5 of _0x12842e){const _0x42ad5b=_0x752809[_0x3b1ce6(0x246)](_0x1a05e5)[_0x3b1ce6(0x23c)];if(_0x5b1f67+_0x42ad5b<=_0x5c3a76-_0x752809[_0x3b1ce6(0x246)]('...')['width'])_0x297d63+=_0x1a05e5,_0x5b1f67+=_0x42ad5b;else{_0x297d63+=_0x3b1ce6(0x215);break;}}_0x752809['fillText'](_0x297d63,_0x5c999b,_0x3549fe);}else _0x752809[_0x3b1ce6(0x198)](_0x12842e,_0x5c999b,_0x3549fe);_0x752809[_0x3b1ce6(0x32a)]();}[_0x69e053(0x2c0)](_0x5beb9b){const _0x4069c8=_0x69e053;he[_0x4069c8(0x2dc)](_0x5beb9b,this);}}const Ie=_0x69e053(0x328),bi=_0x69e053(0x1e0),Ti=_0x69e053(0x2a3),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x69e053(0x1b4);class qe{constructor(_0x51be3f,_0x58189a,_0x2b8aa6,_0x13242c){const _0x3b721c=_0x69e053;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x3b721c(0x167),null),_(this,_0x3b721c(0x274),null),_(this,'_eventUnsubscribe',null),(this[_0x3b721c(0x17c)]=_0x51be3f,this[_0x3b721c(0x26c)]=_0x58189a,this[_0x3b721c(0x22f)]=_0x2b8aa6,this[_0x3b721c(0x19a)]=_0x13242c,this[_0x3b721c(0x1db)]());}set[_0x69e053(0x260)](_0x3e258c){const _0x578046=_0x69e053;_0x3e258c?(this['_anchorDot']&&this[_0x578046(0x167)][_0x578046(0x19b)](),this['_textBubble']&&this[_0x578046(0x17b)][_0x578046(0x1d5)]()):(this['_anchorDot']&&this[_0x578046(0x167)][_0x578046(0x1d5)](),this['_textBubble']&&this[_0x578046(0x17b)]['hide']());}[_0x69e053(0x2d4)](){const _0x33b3bf=_0x69e053;for(const _0x4b5f16 of this['_shapes'])_0x4b5f16[_0x33b3bf(0x2d4)]();this[_0x33b3bf(0x17b)]&&this[_0x33b3bf(0x17b)]['dispose'](),this[_0x33b3bf(0x167)]&&this['_anchorDot'][_0x33b3bf(0x2d4)](),this[_0x33b3bf(0x1ca)]&&this[_0x33b3bf(0x1ca)][_0x33b3bf(0x2d4)](),this['_eventUnsubscribe']&&this[_0x33b3bf(0x244)]();}[_0x69e053(0x1db)](){const _0x49f7cf=_0x69e053;var _0x50c2de;const {_docSkeleton:_0x76ffbb,_document:_0x1d60cb}=this,{color:_0x16ca17,name:_0x4e302c,ranges:_0x1d669a}=this[_0x49f7cf(0x17c)],_0x2976e5=_0x1d60cb[_0x49f7cf(0x15b)](),{docsLeft:_0x32a617,docsTop:_0x26a7f0}=_0x2976e5,_0x26b3c8=new _0xe67241(_0x2976e5,_0x76ffbb);for(const {startOffset:_0x2af2bc,endOffset:_0x2bc5de,rangeType:_0x235bff,segmentId:_0x54d790,segmentPage:_0x280c11,collapsed:_0x48d985,isActive:_0x35d4af}of _0x1d669a){const _0x5e5a79=_0x76ffbb[_0x49f7cf(0x174)](_0x2af2bc,!0x0,_0x54d790,_0x280c11);let _0x265f66=_0x76ffbb['findNodePositionByCharIndex'](_0x2bc5de,!0x0,_0x54d790,_0x280c11);if(_0x265f66==null&&(_0x265f66=_0x76ffbb['findNodePositionByCharIndex'](_0x2bc5de-0x1,!0x1,_0x54d790,_0x280c11)),_0x35d4af){const {contentBoxPointGroup:_0x324c43}=_0x26b3c8[_0x49f7cf(0x230)](_0x265f66,_0x265f66);if(_0x324c43[_0x49f7cf(0x306)]===0x0)continue;this['_drawAnchor'](_0x16ca17,_0x324c43,_0x32a617,_0x26a7f0,_0x4e302c),this[_0x49f7cf(0x244)]=this[_0x49f7cf(0x2df)]();}if(_0x5e5a79&&_0x265f66){if(_0x235bff===_0x5c07ca[_0x49f7cf(0x296)]){const _0x2514ba=new _0x573a8f(_0x2976e5,_0x76ffbb),{pointGroup:_0x2bc578}=(_0x50c2de=_0x2514ba[_0x49f7cf(0x230)](_0x5e5a79,_0x265f66))!=null?_0x50c2de:{};if(_0x2bc578==null||_0x2bc578['length']===0x0)continue;this[_0x49f7cf(0x327)](_0x16ca17,_0x2bc578,_0x32a617,_0x26a7f0);}else{if(!_0x48d985){const {borderBoxPointGroup:_0x16460e}=_0x26b3c8[_0x49f7cf(0x230)](_0x5e5a79,_0x265f66);if(_0x16460e[_0x49f7cf(0x306)]===0x0)continue;this[_0x49f7cf(0x2d5)](_0x16ca17,_0x16460e,_0x32a617,_0x26a7f0);}}}}}[_0x69e053(0x1c7)](_0x6cdc88,_0x57ff4,_0x282f36,_0x2779ba,_0x45351c){const _0x226ab2=_0x69e053,_0x177a63=this['_getAnchorBounding'](_0x57ff4),{left:_0x3d37ac,top:_0x2020f4,height:_0x2a4c00}=_0x177a63,_0x1ee162=this[_0x226ab2(0x180)](),_0x5e205c=Di/_0x1ee162,_0x1a5446=new _0x4c78f6(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba,'height':_0x2a4c00,'width':Ri,'fill':_0x6cdc88||_0x4b2883(_0x3995cb['black'],0x0),'strokeWidth':_0x5e205c,'stroke':Ni,'evented':!0x0});this[_0x226ab2(0x1ca)]=_0x1a5446,this['_scene'][_0x226ab2(0x270)](_0x1a5446,_0x43d054);const _0x878bf8=new _0x4c78f6(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba-ge/0x2,'height':ge,'width':ge,'fill':_0x6cdc88||_0x4b2883(_0x3995cb[_0x226ab2(0x18f)],0x0),'strokeWidth':0x0,'stroke':_0x6cdc88||_0x4b2883(_0x3995cb[_0x226ab2(0x18f)],0x0),'evented':!0x1});this['_anchorDot']=_0x878bf8,this[_0x226ab2(0x26c)][_0x226ab2(0x270)](_0x878bf8,_0x43d054);const _0x5b4cbc=new he(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba-ee,'text':_0x45351c,'color':_0x6cdc88});this[_0x226ab2(0x17b)]=_0x5b4cbc,this[_0x226ab2(0x26c)]['addObject'](_0x5b4cbc,_0x43d054),this[_0x226ab2(0x260)]=!0x1;}[_0x69e053(0x2df)](){const _0xd7c36a=_0x69e053,_0x1152cd=this[_0xd7c36a(0x1ca)][_0xd7c36a(0x162)][_0xd7c36a(0x287)](()=>{this['_hover']=!0x0;}),_0x4d7268=this[_0xd7c36a(0x1ca)][_0xd7c36a(0x19f)][_0xd7c36a(0x287)](()=>{const _0x3f77bd=_0xd7c36a;this[_0x3f77bd(0x274)]&&clearTimeout(this[_0x3f77bd(0x274)]),this['_hideTimer']=setTimeout(()=>{const _0x13e244=_0x3f77bd;this[_0x13e244(0x260)]=!0x1;},0x7d0);});return()=>{_0x1152cd['unsubscribe'](),_0x4d7268['unsubscribe']();};}[_0x69e053(0x2d5)](_0x5c283f,_0x3a292d,_0x45f33f,_0x55d620){const _0x32ef45=_0x69e053,_0x3e3b7a=new _0x50846d(_0x5c283f)[_0x32ef45(0x211)](0.2)[_0x32ef45(0x17a)](),_0x461712=new _0x1d218e(bi+_0x469588[_0x32ef45(0x2fa)](X),{'pointsGroup':_0x3a292d,'fill':_0x3e3b7a||_0x4b2883(_0x3995cb[_0x32ef45(0x18f)],0.2),'left':_0x45f33f,'top':_0x55d620,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x32ef45(0x1a5)](_0x461712),this['_scene'][_0x32ef45(0x270)](_0x461712,_0x43d054);}[_0x69e053(0x327)](_0x1dc69f,_0xf6c089,_0x579bf1,_0x82538c){const _0x445fe7=_0x69e053,_0x9f898c=new _0x50846d(_0x1dc69f)['setAlpha'](0.2)[_0x445fe7(0x17a)](),_0x2a1c86=new _0x1d218e(Ti+_0x469588['generateRandomId'](X),{'pointsGroup':_0xf6c089,'fill':_0x9f898c||_0x4b2883(_0x3995cb[_0x445fe7(0x18f)],0.2),'left':_0x579bf1,'top':_0x82538c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x445fe7(0x292)]['push'](_0x2a1c86),this[_0x445fe7(0x26c)][_0x445fe7(0x270)](_0x2a1c86,_0x43d054);}['_getAnchorBounding'](_0x3bc28d){const _0x3dba2c=_0x3bc28d[0x0],_0x409425=_0x3dba2c[0x0],_0x29a110=_0x3dba2c[0x2],{x:_0x468b7f,y:_0x27bf1b}=_0x409425,{x:_0x3cbbaf,y:_0x23893f}=_0x29a110;return{'left':_0x468b7f,'top':_0x27bf1b,'width':_0x3cbbaf-_0x468b7f,'height':_0x23893f-_0x27bf1b};}[_0x69e053(0x180)](){const _0x54b5d6=_0x69e053,{scaleX:_0x2d2502,scaleY:_0x540393}=this['_scene']['getAncestorScale']();return Math[_0x54b5d6(0x237)](_0x2d2502,_0x540393);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x14ded8,_0x2bec5c,_0x325c54,_0x1edeaa)=>{const _0x35eead=_0x69e053;for(var _0x31bf06=_0x1edeaa>0x1?void 0x0:_0x1edeaa?Ui(_0x2bec5c,_0x325c54):_0x2bec5c,_0x20b312=_0x14ded8[_0x35eead(0x306)]-0x1,_0x4ea702;_0x20b312>=0x0;_0x20b312--)(_0x4ea702=_0x14ded8[_0x20b312])&&(_0x31bf06=_0x4ea702(_0x31bf06)||_0x31bf06);return _0x31bf06;},Z=(_0x47c7fe,_0x12eb7f)=>(_0x3721b0,_0x5e9d86)=>_0x12eb7f(_0x3721b0,_0x5e9d86,_0x47c7fe);let we=class extends _0x2e9bdd{constructor(_0x2f6eda,_0x530c29,_0x4da2a4,_0x46e424,_0xac1193){const _0x17a7ef=_0x69e053;super(),_(this,_0x17a7ef(0x355),[]),_(this,_0x17a7ef(0x2f5),[]),(this[_0x17a7ef(0x2ae)]=_0x2f6eda,this['_docSkeletonManagerService']=_0x530c29,this[_0x17a7ef(0x238)]=_0x4da2a4,this[_0x17a7ef(0x2fd)]=_0x46e424,this[_0x17a7ef(0x1b7)]=_0xac1193,this['_init']());}['_init'](){const _0x3b416e=_0x69e053,_0x1eec07=this[_0x3b416e(0x2ae)][_0x3b416e(0x228)],_0x4d5d44=this[_0x3b416e(0x15e)];this[_0x3b416e(0x18c)](_0xd72e73([this[_0x3b416e(0x238)]['getCollabCursors$'](_0x1eec07),this['_themeService'][_0x3b416e(0x299)]])[_0x3b416e(0x21d)](_0x1f7c41(([_0x577273,_0x2c7a17])=>({'skeleton':_0x4d5d44[_0x3b416e(0x172)](),'cursors':[..._0x577273[_0x3b416e(0x25b)]()][_0x3b416e(0x1d6)](_0x1d44e3=>({..._0x1d44e3,'color':this['_themeService'][_0x3b416e(0x250)](_0x1d44e3[_0x3b416e(0x300)])}))})))[_0x3b416e(0x20d)](_0x4fed2c=>{const _0x4c0786=_0x3b416e;if(this[_0x4c0786(0x31f)](),_0x4fed2c){const {skeleton:_0x4813ee,cursors:_0x28e4bb}=_0x4fed2c;this['_updateCollabCursors'](_0x4813ee,_0x28e4bb);}})),this[_0x3b416e(0x27a)](),this[_0x3b416e(0x322)]();}[_0x69e053(0x1a1)](_0x530d5b,_0x7421ab){const _0x146376=_0x69e053,{scene:_0xe2e1d2,mainComponent:_0x566289}=this[_0x146376(0x2ae)],_0x1e58bb=_0x7421ab['map'](_0xd53f98=>new qe(_0xd53f98,_0xe2e1d2,_0x530d5b,_0x566289));this[_0x146376(0x355)]=_0x1e58bb,this[_0x146376(0x2f5)]=_0x7421ab;}['_refreshCollabCursors'](){const _0xe636a0=_0x69e053;this[_0xe636a0(0x31f)]();const {scene:_0x5fc96c,mainComponent:_0x20e5a1}=this[_0xe636a0(0x2ae)],_0x358717=this['_docSkeletonManagerService'][_0xe636a0(0x172)](),_0x3667c8=this[_0xe636a0(0x2f5)][_0xe636a0(0x2b7)](_0x20dee6=>new qe(_0x20dee6,_0x5fc96c,_0x358717,_0x20e5a1));this['_cursorShapes']=_0x3667c8;}['_removeCollabCursors'](){const _0x226d5c=_0x69e053;this[_0x226d5c(0x355)][_0x226d5c(0x2b5)](_0x479771=>_0x479771['dispose']()),this[_0x226d5c(0x355)]=[];}[_0x69e053(0x322)](){const _0x1a303c=_0x69e053,_0x34d862=[_0x2c60ef['id']];this[_0x1a303c(0x18c)](this['_commandService'][_0x1a303c(0x32f)](_0x20ec91=>{const _0x3be2a5=_0x1a303c;_0x34d862[_0x3be2a5(0x16a)](_0x20ec91['id'])&&_0x20ec91[_0x3be2a5(0x210)][_0x3be2a5(0x228)]===this['_context'][_0x3be2a5(0x228)]&&this[_0x3be2a5(0x189)]();}));}[_0x69e053(0x27a)](){const _0x2e7b75=_0x69e053;this[_0x2e7b75(0x18c)](_0x68d662(this[_0x2e7b75(0x2ae)][_0x2e7b75(0x32e)][_0x2e7b75(0x154)])[_0x2e7b75(0x21d)](_0x38db37(_0x5cf04b=>_0x5cf04b['type']===_0x44d47e[_0x2e7b75(0x2db)]),_0x562977(0x10))[_0x2e7b75(0x20d)](()=>{const _0x101d51=_0x2e7b75;this[_0x101d51(0x189)]();}));}};we=Mi([Z(0x1,_0x1edcbc(_0x36f904)),Z(0x2,_0x1edcbc(H)),Z(0x3,_0x2bd5c6),Z(0x4,_0x1edcbc(_0x669f82))],we);const wi=0x1,Pi=1.5;class Li extends _0x5a67bd{constructor(_0x5e93aa,_0x204815){const _0x2a82a5=_0x69e053;super(_0x5e93aa,_0x204815),_(this,_0x2a82a5(0x2f1)),_(this,_0x2a82a5(0x2af),!0x1),_(this,_0x2a82a5(0x32c)),_(this,_0x2a82a5(0x1c5),''),_(this,'_labelPosition','top'),_(this,_0x2a82a5(0x2f4)),(_0x204815&&this[_0x2a82a5(0x1f7)](_0x204815),this[_0x2a82a5(0x162)]['subscribeEvent'](()=>this[_0x2a82a5(0x1f7)]({'hovered':!0x0})),this[_0x2a82a5(0x19f)][_0x2a82a5(0x287)](()=>this[_0x2a82a5(0x1f7)]({'hovered':!0x1})));}[_0x69e053(0x1f7)](_0x4722e4){const _0x105b43=_0x69e053;var _0x5b461f,_0x5cfb0b,_0x4b2033,_0x2f85ee,_0x406748,_0x5948fe;this['_color']=(_0x5b461f=_0x4722e4['color'])!=null?_0x5b461f:this['_color'],this['_hovered']=(_0x5cfb0b=_0x4722e4[_0x105b43(0x351)])!=null?_0x5cfb0b:this[_0x105b43(0x2af)],this['_range']=(_0x4b2033=_0x4722e4['range'])!=null?_0x4b2033:this[_0x105b43(0x32c)],this[_0x105b43(0x1c5)]=(_0x2f85ee=_0x4722e4['name'])!=null?_0x2f85ee:this[_0x105b43(0x1c5)],this[_0x105b43(0x34c)]=(_0x406748=_0x4722e4[_0x105b43(0x1d2)])!=null?_0x406748:this['_labelPosition'],this[_0x105b43(0x2f4)]=(_0x5948fe=_0x4722e4[_0x105b43(0x17e)])!=null?_0x5948fe:this[_0x105b43(0x2f4)],this[_0x105b43(0x1af)]({'width':_0x4722e4['width'],'height':_0x4722e4[_0x105b43(0x311)]});}[_0x69e053(0x242)](_0x52e3a4){const _0x1298bd=_0x69e053,{row:_0x55984e,column:_0x2dcf38}=_0x52e3a4;if(_0x55984e>=this[_0x1298bd(0x32c)][_0x1298bd(0x205)]&&_0x55984e<=this[_0x1298bd(0x32c)][_0x1298bd(0x1a9)]&&_0x2dcf38>=this[_0x1298bd(0x32c)][_0x1298bd(0x334)]&&_0x2dcf38<=this[_0x1298bd(0x32c)]['endColumn']){this[_0x1298bd(0x1f7)]({'hovered':!0x0});return;}this[_0x1298bd(0x1f7)]({'hovered':!0x1});}[_0x69e053(0x18d)](_0x48e105){return!0x1;}['_draw'](_0x25735d){const _0x31d4b7=_0x69e053;_0x4c78f6['drawWith'](_0x25735d,{'width':this['width'],'height':this[_0x31d4b7(0x311)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31d4b7(0x2af)]&&(_0x25735d['save'](),_0x25735d[_0x31d4b7(0x1ce)](0x1,0x0,0x0,0x1,this[_0x31d4b7(0x23c)],this[_0x31d4b7(0x34c)]===_0x31d4b7(0x16c)?0x0:-0x14),he[_0x31d4b7(0x2dc)](_0x25735d,{'text':this[_0x31d4b7(0x1c5)],'color':this['_color']}),_0x25735d[_0x31d4b7(0x32a)]());}}var Ai=Object[_0x69e053(0x221)],yi=(_0x396a39,_0x38da40,_0x9109bb,_0x4f2bbf)=>{const _0x525817=_0x69e053;for(var _0xf109e6=_0x4f2bbf>0x1?void 0x0:_0x4f2bbf?Ai(_0x38da40,_0x9109bb):_0x38da40,_0x10de49=_0x396a39[_0x525817(0x306)]-0x1,_0x3b998c;_0x10de49>=0x0;_0x10de49--)(_0x3b998c=_0x396a39[_0x10de49])&&(_0xf109e6=_0x3b998c(_0xf109e6)||_0xf109e6);return _0xf109e6;},ve=(_0x573e3a,_0x1d69c5)=>(_0x1e1b73,_0x5bd5f7)=>_0x1d69c5(_0x1e1b73,_0x5bd5f7,_0x573e3a);const $i=0x1389;let Pe=class extends _0x2e9bdd{constructor(_0x594234,_0x24831a,_0x582ad9,_0x55bc81){const _0x6e78d6=_0x69e053;super(),_(this,_0x6e78d6(0x2f5),new Set()),_(this,_0x6e78d6(0x1ee),null),(this[_0x6e78d6(0x2ae)]=_0x594234,this[_0x6e78d6(0x29a)]=_0x24831a,this[_0x6e78d6(0x238)]=_0x582ad9,this['_themeService']=_0x55bc81,this[_0x6e78d6(0x344)]());}[_0x69e053(0x344)](){const _0x4523fa=_0x69e053;this['_sheetSkeletonManagerService'][_0x4523fa(0x24a)][_0x4523fa(0x21d)](_0x55354a(this[_0x4523fa(0x347)]),_0x279d5a(_0x452572=>{const _0x270f75=_0x4523fa;if(_0x452572){const _0xcb7b5d=_0x452572[_0x270f75(0x2a7)];return _0xd72e73(this[_0x270f75(0x238)][_0x270f75(0x1c0)](this[_0x270f75(0x2ae)]['unitId']),this[_0x270f75(0x1b7)][_0x270f75(0x299)])[_0x270f75(0x21d)](_0x1f7c41(([_0x128d31,_0x2645d8])=>{const _0x1520a4=new Map();return _0x128d31['forEach']((_0x124181,_0x12b771)=>{const _0x24d6ae=_0x2094;if(_0x124181[_0x24d6ae(0x23e)]===_0xcb7b5d){const _0x421205={..._0x124181};_0x421205[_0x24d6ae(0x300)]=this['_themeService'][_0x24d6ae(0x250)](_0x124181[_0x24d6ae(0x300)]),_0x1520a4['set'](_0x12b771,_0x421205);}}),{'skeleton':_0x452572,'cursors':_0x1520a4};}));}return _0xd879b8({'skeleton':null,'cursors':new Map()});}))[_0x4523fa(0x20d)](({skeleton:_0x44f3b4,cursors:_0x29be4a})=>{const _0x23d7fc=_0x4523fa;this[_0x23d7fc(0x31f)](),_0x44f3b4&&this[_0x23d7fc(0x1a1)](_0x44f3b4,_0x29be4a);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4523fa(0x20d)](_0x69616e=>{const _0x1b9b67=_0x4523fa;if(_0x69616e==null)return;const {skeleton:_0x28ebc4}=_0x69616e,{scene:_0xbff414}=this[_0x1b9b67(0x2ae)];_0xbff414[_0x1b9b67(0x2fc)][_0x1b9b67(0x287)](_0x255206(_0x16387d=>{const _0x4faab3=_0x1b9b67;var _0x576761,_0x474911;const {offsetX:_0x20c048,offsetY:_0xb327a5}=_0x16387d,{x:_0x3449dd,y:_0x503ffe}=_0xbff414[_0x4faab3(0x203)](_0x462525[_0x4faab3(0x2dd)]([_0x20c048,_0xb327a5])),{scaleX:_0xab24e4,scaleY:_0x2e76f1}=_0xbff414[_0x4faab3(0x258)](),_0x4407d5=_0xbff414[_0x4faab3(0x1da)](_0x5b0074['VIEW_MAIN']),_0x112330=_0xbff414[_0x4faab3(0x2d2)](_0x462525[_0x4faab3(0x2dd)]([_0x3449dd,_0x503ffe]),_0x4407d5),_0x684dc3=_0x28ebc4[_0x4faab3(0x2d1)](_0x20c048,_0xb327a5,_0xab24e4,_0x2e76f1,_0x112330);((_0x576761=this[_0x4faab3(0x1ee)])==null?void 0x0:_0x576761[_0x4faab3(0x320)])===_0x684dc3[_0x4faab3(0x320)]&&((_0x474911=this['_lastPointer'])==null?void 0x0:_0x474911[_0x4faab3(0x23f)])===_0x684dc3[_0x4faab3(0x23f)]||this[_0x4faab3(0x2f5)]['forEach'](_0x250b84=>{const _0x17a6af=_0x4faab3;_0x250b84[_0x17a6af(0x242)](_0x684dc3);});},0x64));});}[_0x69e053(0x1a1)](_0x552ed8,_0xafafaf){const _0x560c93=_0x69e053;var _0x4472a8;const _0x3c0b78=(_0x4472a8=this[_0x560c93(0x29a)][_0x560c93(0x272)]())==null?void 0x0:_0x4472a8[_0x560c93(0x29e)];if(!_0x3c0b78)return;const _0xc13618=this[_0x560c93(0x2a5)]();if(!_0xc13618)return;this[_0x560c93(0x2f5)][_0x560c93(0x2b5)](_0xdbd2d7=>{const _0x48dc65=_0x560c93;_0xdbd2d7[_0x48dc65(0x188)]();});const {scene:_0x15d9d2}=_0xc13618,_0x20d0ef=xi(Array[_0x560c93(0x341)](_0xafafaf['values']()))['map'](_0x13f27a=>{const _0x312f41=_0x560c93,{color:_0x52f77f,range:_0x2f6108,name:_0x410668,selection:_0x57360c,sheetID:_0x9cac7}=_0x13f27a,{startColumn:_0x19e071,startRow:_0x570acd,endColumn:_0x4025f7,endRow:_0x22ebca}=_0x2f6108,_0x5b210b=_0x2efb09(_0x570acd,_0x19e071,_0x15d9d2,_0x3c0b78),_0x3badaa=_0x2efb09(_0x22ebca,_0x4025f7,_0x15d9d2,_0x3c0b78),{columnHeaderHeightAndMarginTop:_0x18eee2}=_0x3c0b78,{startX:_0x4b392f,startY:_0xb52c6d}=_0x5b210b,{endX:_0x14e3f0,endY:_0x3d9b2b}=_0x3badaa,_0x3e087f=_0x14e3f0-_0x4b392f,_0x2ec4de=_0x3d9b2b-_0xb52c6d,_0x40cec9={'labelPosition':_0xb52c6d-_0x18eee2>=ee?_0x312f41(0x2c8):_0x312f41(0x16c),'sheetID':_0x9cac7,'range':_0x2f6108,'color':_0x52f77f,'name':_0x410668,'selection':_0x57360c,'left':_0x4b392f,'top':_0xb52c6d,'width':_0x3e087f,'height':_0x2ec4de,'evented':!0x1,'zIndex':$i};return new Li(_0x410668,_0x40cec9);});_0x15d9d2[_0x560c93(0x214)](_0x20d0ef,wi),this[_0x560c93(0x2f5)]=new Set(_0x20d0ef);}['_removeCollabCursors'](){const _0x448567=_0x69e053;var _0x5f595f;(_0x5f595f=this['_cursors'])==null||_0x5f595f[_0x448567(0x2b5)](_0x5603c0=>_0x5603c0[_0x448567(0x2d4)]());}[_0x69e053(0x2a5)](){return _0x461c8d(this['_context']['unit'],this['_context']);}};Pe=yi([ve(0x1,_0x1edcbc(_0xa14f88)),ve(0x2,_0x1edcbc(H)),ve(0x3,_0x1edcbc(_0x669f82))],Pe);function xi(_0x2a0742){const _0x1248ef=_0x69e053,_0x238b3f=new Map();return _0x2a0742[_0x1248ef(0x2b5)](_0x18822a=>{const _0xc35c44=_0x1248ef;if(_0x238b3f[_0xc35c44(0x289)](_0x18822a[_0xc35c44(0x2ec)])){const _0x2277e2=_0x238b3f[_0xc35c44(0x2a0)](_0x18822a[_0xc35c44(0x2ec)]);_0x2277e2['name']+=',\x20'+_0x18822a[_0xc35c44(0x338)];}else _0x238b3f['set'](_0x18822a[_0xc35c44(0x2ec)],_0x18822a);}),Array[_0x1248ef(0x341)](_0x238b3f[_0x1248ef(0x25b)]());}var v=function(){const _0x323005=_0x69e053;return v=Object[_0x323005(0x278)]||function(_0x3a8681){const _0x3df1fd=_0x323005;for(var _0x52fc82,_0x2dff1b=0x1,_0x59d0e9=arguments[_0x3df1fd(0x306)];_0x2dff1b<_0x59d0e9;_0x2dff1b++){_0x52fc82=arguments[_0x2dff1b];for(var _0x32c00f in _0x52fc82)Object[_0x3df1fd(0x200)][_0x3df1fd(0x25c)]['call'](_0x52fc82,_0x32c00f)&&(_0x3a8681[_0x32c00f]=_0x52fc82[_0x32c00f]);}return _0x3a8681;},v['apply'](this,arguments);},Bi=function(_0x4dd70b,_0x2c5cfe){const _0x127fb0=_0x69e053;var _0x395975={};for(var _0x68e85e in _0x4dd70b)Object[_0x127fb0(0x200)][_0x127fb0(0x25c)][_0x127fb0(0x1d9)](_0x4dd70b,_0x68e85e)&&_0x2c5cfe[_0x127fb0(0x263)](_0x68e85e)<0x0&&(_0x395975[_0x68e85e]=_0x4dd70b[_0x68e85e]);if(_0x4dd70b!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x1ab9d3=0x0,_0x68e85e=Object[_0x127fb0(0x192)](_0x4dd70b);_0x1ab9d3<_0x68e85e['length'];_0x1ab9d3++)_0x2c5cfe[_0x127fb0(0x263)](_0x68e85e[_0x1ab9d3])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x4dd70b,_0x68e85e[_0x1ab9d3])&&(_0x395975[_0x68e85e[_0x1ab9d3]]=_0x4dd70b[_0x68e85e[_0x1ab9d3]]);}return _0x395975;},je=_0x4f8fed(function(_0x38c511,_0x2ac0a2){const _0x30598f=_0x69e053;var _0x16fcc7=_0x38c511[_0x30598f(0x333)],_0x41de81=_0x38c511['id'],_0x56cca3=_0x38c511[_0x30598f(0x318)],_0x24207b=_0x38c511[_0x30598f(0x220)],_0x2e8f1a=Bi(_0x38c511,['icon','id',_0x30598f(0x318),_0x30598f(0x220)]),_0xbb9c50=_0x30598f(0x239)[_0x30598f(0x21f)](_0x41de81,'\x20')[_0x30598f(0x21f)](_0x56cca3||'')['trim'](),_0x31dbb4=_0x13e355('_'[_0x30598f(0x21f)](ji()));return Rt(_0x16fcc7,''[_0x30598f(0x21f)](_0x41de81),{'defIds':_0x16fcc7[_0x30598f(0x2eb)],'idSuffix':_0x31dbb4[_0x30598f(0x24f)]},v({'ref':_0x2ac0a2,'className':_0xbb9c50},_0x2e8f1a),_0x24207b);});function Rt(_0x2e2365,_0x31ad57,_0x7b915d,_0x198c7a,_0x1d9be2){const _0x1fd9f4=_0x69e053;return _0x567240(_0x2e2365[_0x1fd9f4(0x2a8)],v(v({'key':_0x31ad57},ki(_0x2e2365,_0x7b915d,_0x1d9be2)),_0x198c7a),(Hi(_0x2e2365,_0x7b915d)['children']||[])[_0x1fd9f4(0x2b7)](function(_0x147cb9,_0x4acceb){const _0x6bd6f9=_0x1fd9f4;return Rt(_0x147cb9,''[_0x6bd6f9(0x21f)](_0x31ad57,'-')['concat'](_0x2e2365['tag'],'-')[_0x6bd6f9(0x21f)](_0x4acceb),_0x7b915d,void 0x0,_0x1d9be2);}));}function ki(_0x6f5f50,_0x56c187,_0x332fd3){const _0x595b0a=_0x69e053;var _0x3b0fae=v({},_0x6f5f50[_0x595b0a(0x1e1)]);_0x332fd3!=null&&_0x332fd3[_0x595b0a(0x2f0)]&&_0x3b0fae[_0x595b0a(0x284)]==='colorChannel1'&&(_0x3b0fae[_0x595b0a(0x284)]=_0x332fd3[_0x595b0a(0x2f0)]),_0x6f5f50[_0x595b0a(0x2a8)]===_0x595b0a(0x1d7)&&_0x3b0fae['id']&&(_0x3b0fae['id']=_0x3b0fae['id']+_0x56c187['idSuffix']),Object[_0x595b0a(0x34d)](_0x3b0fae)[_0x595b0a(0x2b5)](function(_0x326e4f){const _0x3ac33d=_0x595b0a;var _0x1316f0=_0x326e4f[0x0],_0x318de0=_0x326e4f[0x1];_0x1316f0===_0x3ac33d(0x1d7)&&typeof _0x318de0==_0x3ac33d(0x21b)&&(_0x3b0fae[_0x1316f0]=_0x318de0[_0x3ac33d(0x31c)](/url\(#(.*)\)/,_0x3ac33d(0x1a4)['concat'](_0x56c187[_0x3ac33d(0x358)],')')));});var _0x3cf7b3=_0x56c187[_0x595b0a(0x2eb)];return!_0x3cf7b3||_0x3cf7b3[_0x595b0a(0x306)]===0x0||(_0x6f5f50[_0x595b0a(0x2a8)]===_0x595b0a(0x271)&&_0x3b0fae[_0x595b0a(0x256)]&&(_0x3b0fae[_0x595b0a(0x256)]=_0x3b0fae[_0x595b0a(0x256)]+_0x56c187[_0x595b0a(0x358)]),Object[_0x595b0a(0x34d)](_0x3b0fae)['forEach'](function(_0x446bd7){const _0x430b82=_0x595b0a;var _0x10a148=_0x446bd7[0x0],_0x502229=_0x446bd7[0x1];typeof _0x502229==_0x430b82(0x21b)&&(_0x3b0fae[_0x10a148]=_0x502229[_0x430b82(0x31c)](/url\(#(.*)\)/,'url(#$1'[_0x430b82(0x21f)](_0x56c187['idSuffix'],')')));})),_0x3b0fae;}function Hi(_0x4b3d7f,_0x1f33e4){const _0x9178e=_0x69e053;var _0x4dc356,_0x1a46b4=_0x1f33e4['defIds'];return!_0x1a46b4||_0x1a46b4[_0x9178e(0x306)]===0x0?_0x4b3d7f:_0x4b3d7f[_0x9178e(0x2a8)]===_0x9178e(0x23a)&&(!((_0x4dc356=_0x4b3d7f[_0x9178e(0x16b)])===null||_0x4dc356===void 0x0)&&_0x4dc356[_0x9178e(0x306)])?v(v({},_0x4b3d7f),{'children':_0x4b3d7f[_0x9178e(0x16b)][_0x9178e(0x2b7)](function(_0x22ec9a){const _0x56d13b=_0x9178e;return typeof _0x22ec9a[_0x56d13b(0x1e1)]['id']==_0x56d13b(0x21b)&&_0x1a46b4&&_0x1a46b4[_0x56d13b(0x16a)](_0x22ec9a['attrs']['id'])?v(v({},_0x22ec9a),{'attrs':v(v({},_0x22ec9a[_0x56d13b(0x1e1)]),{'id':_0x22ec9a[_0x56d13b(0x1e1)]['id']+_0x1f33e4[_0x56d13b(0x358)]})}):_0x22ec9a;})}):_0x4b3d7f;}function ji(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}je[_0x69e053(0x2f8)]=_0x69e053(0x34b);var Yi={'tag':_0x69e053(0x20e),'attrs':{'xmlns':_0x69e053(0x267),'fill':_0x69e053(0x159),'viewBox':_0x69e053(0x2a9),'width':_0x69e053(0x22c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x69e053(0x15f)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'stroke':_0x69e053(0x2ad),'d':_0x69e053(0x2ab),'strokeLinecap':_0x69e053(0x1ab),'strokeLinejoin':_0x69e053(0x1ab),'strokeWidth':1.2}}]},{'tag':_0x69e053(0x23a),'attrs':{},'children':[{'tag':_0x69e053(0x2ce),'attrs':{'id':_0x69e053(0x231)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'fill':_0x69e053(0x14f),'d':_0x69e053(0x329)}}]}]}],'defIds':[_0x69e053(0x231)]},Dt=_0x4f8fed(function(_0xa1bb46,_0x38abab){const _0x15cd76=_0x69e053;return _0x567240(je,Object['assign']({},_0xa1bb46,{'id':_0x15cd76(0x34a),'ref':_0x38abab,'icon':Yi}));});Dt[_0x69e053(0x2f8)]='OffLineIcon';var Fi={'tag':'svg','attrs':{'xmlns':_0x69e053(0x267),'fill':_0x69e053(0x159),'viewBox':_0x69e053(0x315),'width':_0x69e053(0x22c),'height':_0x69e053(0x22c)},'children':[{'tag':'g','attrs':{'clipPath':_0x69e053(0x2b1)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'stroke':_0x69e053(0x2ad),'d':_0x69e053(0x2b9),'strokeLinecap':_0x69e053(0x1ab),'strokeLinejoin':_0x69e053(0x1ab),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x69e053(0x2ce),'attrs':{'id':_0x69e053(0x2cb)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'fill':_0x69e053(0x14f),'d':'M0\x200H16V16H0z','transform':_0x69e053(0x196)}}]}]}],'defIds':[_0x69e053(0x2cb)]},Nt=_0x4f8fed(function(_0x4436e0,_0x3e785d){const _0x53ad48=_0x69e053;return _0x567240(je,Object[_0x53ad48(0x278)]({},_0x4436e0,{'id':'on-line-icon','ref':_0x3e785d,'icon':Fi}));});Nt['displayName']=_0x69e053(0x305);function Wi(_0x324681){const _0x3c36e2=_0x69e053;switch(_0x324681){case _0x2c5ad0['OFFLINE']:return'collabStatus.offline';case _0x2c5ad0[_0x3c36e2(0x176)]:return _0x3c36e2(0x1fa);case _0x2c5ad0['FETCH_MISS']:return _0x3c36e2(0x2c7);case _0x2c5ad0['NOT_COLLAB']:return _0x3c36e2(0x22a);case _0x2c5ad0[_0x3c36e2(0x1cd)]:case _0x2c5ad0[_0x3c36e2(0x2a4)]:return _0x3c36e2(0x1f4);case _0x2c5ad0[_0x3c36e2(0x32b)]:case _0x2c5ad0[_0x3c36e2(0x2d6)]:return _0x3c36e2(0x34f);}}function Vi(_0x4aff99){const _0x2bcb9c=_0x69e053,{status$:_0x120312}=_0x4aff99,_0x384912=_0x5211a7(_0x120312,_0x2c5ad0[_0x2bcb9c(0x1ef)]),_0x481319=_0x4d6731(_0x7c2e8c),_0x5e3dca=_0x4d6731(_0x544921),_0x2f5fb1=_0x384912!==_0x2c5ad0[_0x2bcb9c(0x1bd)],_0x5b5a34=_0x481319['t'](Wi(_0x384912)),_0x2e57b6=_0x2f5fb1?_0x130579(Nt,{}):_0x130579(Dt,{}),_0x429bdb=_0x18a898(()=>{const _0x35cf3f=_0x2bcb9c;_0x2f5fb1||_0x5e3dca[_0x35cf3f(0x157)]();},[_0x2f5fb1,_0x5e3dca]);function _0x3977f7(){const _0x57f833=_0x2bcb9c;return _0x55e4d8('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x429bdb,'children':[_0x130579('div',{'className':_0x25b0bb(_0x57f833(0x317),{'univer-text-green-500':_0x2f5fb1,'univer-text-red-500':!_0x2f5fb1}),'children':_0x2e57b6}),_0x130579(_0x57f833(0x17d),{'className':_0x57f833(0x240),'children':_0x5b5a34})]});}return _0x2f5fb1?_0x3977f7():_0x130579(_0x30c09d,{'title':_0x481319['t'](_0x2bcb9c(0x206)),'children':_0x3977f7()});}var Xi=Object[_0x69e053(0x221)],Gi=(_0x564122,_0x872c21,_0x298b11,_0x2b1301)=>{const _0xa5bfdc=_0x69e053;for(var _0x5f4f0d=_0x2b1301>0x1?void 0x0:_0x2b1301?Xi(_0x872c21,_0x298b11):_0x872c21,_0x451011=_0x564122[_0xa5bfdc(0x306)]-0x1,_0x153b5e;_0x451011>=0x0;_0x451011--)(_0x153b5e=_0x564122[_0x451011])&&(_0x5f4f0d=_0x153b5e(_0x5f4f0d)||_0x5f4f0d);return _0x5f4f0d;},Q=(_0x33161b,_0x258d03)=>(_0x1d6867,_0x321902)=>_0x258d03(_0x1d6867,_0x321902,_0x33161b);let te=class extends _0x404876{constructor(_0x4de84d,_0x171a07,_0x5a275d,_0x68a1a5){const _0x154198=_0x69e053;super(),_(this,'_status$',new _0x69ec1c(_0x2c5ad0[_0x154198(0x1ef)])),(this[_0x154198(0x30a)]=_0x4de84d,this[_0x154198(0x248)]=_0x171a07,this[_0x154198(0x194)]=_0x5a275d,this[_0x154198(0x273)]=_0x68a1a5,this[_0x154198(0x173)](),this[_0x154198(0x336)]());}[_0x69e053(0x336)](){const _0x2e7535=_0x69e053;this[_0x2e7535(0x18c)](this[_0x2e7535(0x30a)]['focused$']['pipe'](_0x60c435(()=>{const _0x1ef458=_0x2e7535,_0x29b741=this[_0x1ef458(0x30a)][_0x1ef458(0x348)]();return _0x29b741?this['_collaborationController'][_0x1ef458(0x1d1)](_0x29b741['getUnitId']()):_0xd879b8(null);}),_0x60c435(_0x528248=>_0x528248?_0x528248[_0x2e7535(0x257)]:_0xd879b8(_0x2c5ad0[_0x2e7535(0x1ef)])))['subscribe'](_0x360d50=>{const _0x11d959=_0x2e7535;this[_0x11d959(0x218)][_0x11d959(0x309)](_0x360d50);}));}[_0x69e053(0x173)](){const _0x3e48b8=_0x69e053;this['disposeWithMe'](this['_uiPartsService'][_0x3e48b8(0x28c)](_0x4cf15d['HEADER_MENU'],()=>_0x5cc765(Ki({'status$':this[_0x3e48b8(0x218)]['asObservable']()}),this[_0x3e48b8(0x248)])));}};te=Gi([Q(0x0,_0x72afad),Q(0x1,_0x1edcbc(_0x30157b)),Q(0x2,_0x1edcbc(_0x226cfe)),Q(0x3,_0x17e2dc)],te);function Ki(_0x4b95b6){const {status$:_0x5287d8}=_0x4b95b6;return function(){return _0x130579(Vi,{'status$':_0x5287d8});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x44d548,_0x1ea1ec,_0x5ee2ad,_0x405915)=>{const _0x1abcfb=_0x69e053;for(var _0x556886=_0x405915>0x1?void 0x0:_0x405915?zi(_0x1ea1ec,_0x5ee2ad):_0x1ea1ec,_0x185cab=_0x44d548[_0x1abcfb(0x306)]-0x1,_0x3c6563;_0x185cab>=0x0;_0x185cab--)(_0x3c6563=_0x44d548[_0x185cab])&&(_0x556886=_0x3c6563(_0x556886)||_0x556886);return _0x556886;},B=(_0x3b6fe3,_0x46955b)=>(_0xaae7c5,_0x47a29f)=>_0x46955b(_0xaae7c5,_0x47a29f,_0x3b6fe3);let se=class extends _0x404876{constructor(_0x5289b4,_0x47bf8e,_0x12140f,_0x26a30d,_0x191da7,_0x3a30e0){const _0x2d077a=_0x69e053;super(),this['_beforeCloseService']=_0x5289b4,this[_0x2d077a(0x20f)]=_0x47bf8e,this[_0x2d077a(0x2a1)]=_0x12140f,this[_0x2d077a(0x2d3)]=_0x26a30d,this[_0x2d077a(0x26d)]=_0x191da7,this[_0x2d077a(0x193)]=_0x3a30e0,this[_0x2d077a(0x27c)](),this[_0x2d077a(0x313)]();}[_0x69e053(0x27c)](){const _0x6d8deb=_0x69e053;this[_0x6d8deb(0x18c)](this[_0x6d8deb(0x2d9)]['registerBeforeClose'](()=>{const _0x545b4c=_0x6d8deb;if(this[_0x545b4c(0x20f)][_0x545b4c(0x1c4)][_0x545b4c(0x266)])return this[_0x545b4c(0x193)]['t'](_0x545b4c(0x178));}));}[_0x69e053(0x313)](){const _0x5f08a6=_0x69e053;this[_0x5f08a6(0x18c)](this[_0x5f08a6(0x2a1)][_0x5f08a6(0x1a3)][_0x5f08a6(0x20d)](_0x20f83e=>{const _0x54eb96=_0x5f08a6;_0x20f83e['id']===_0x17f4d0['OTHER_CLIENT_EDITING']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x2aa))}),_0x20f83e['id']===_0x17f4d0['CLOSE_ROOM']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this['_localeService']['t'](_0x54eb96(0x2f9))}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x156)]&&this['_notificationService'][_0x54eb96(0x1d5)]({'title':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x160)),'content':this[_0x54eb96(0x193)]['t']('permission.content'),'type':_0x54eb96(0x216),'duration':0x0}),_0x20f83e['id']===_0x17f4d0['CONFLICT']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x2f9))+'('+_0x20f83e[_0x54eb96(0x1ea)]+')'}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x20a)]&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t'](_0x20f83e[_0x54eb96(0x1ea)]||'')}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x181)]&&this[_0x54eb96(0x2d3)]['show']({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t']('session.will-retry')}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x2c5)]&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x324))}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x179)]&&this['_messageService'][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x1f2))});}));}};se=Ji([B(0x0,_0x3aca32),B(0x1,_0x25f3f0),B(0x2,_0x1edcbc(_0xae6817)),B(0x3,_0x4d61bb),B(0x4,_0x5b6f74),B(0x5,_0x1edcbc(_0x7c2e8c))],se);const Zi=_0x69e053(0x1d3),et={},Ut=_0x30c947(_0x69e053(0x30f));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x334619,_0x2017fe,_0x1b31aa,_0x3d840c)=>{const _0x1effd6=_0x69e053;for(var _0x1e2fc0=_0x3d840c>0x1?void 0x0:_0x3d840c?Qi(_0x2017fe,_0x1b31aa):_0x2017fe,_0xb542c=_0x334619[_0x1effd6(0x306)]-0x1,_0x5362e5;_0xb542c>=0x0;_0xb542c--)(_0x5362e5=_0x334619[_0xb542c])&&(_0x1e2fc0=_0x5362e5(_0x1e2fc0)||_0x1e2fc0);return _0x1e2fc0;},G=(_0x114ad5,_0x41a75b)=>(_0x41c025,_0x31e7c6)=>_0x41a75b(_0x41c025,_0x31e7c6,_0x114ad5);let ie=class extends _0x2e9bdd{constructor(_0x5b1295,_0x58664e,_0x21613b,_0x1ccf20,_0x1ac008){const _0x58def2=_0x69e053;super(),this['_urlService']=_0x5b1295,this[_0x58def2(0x2d0)]=_0x58664e,this[_0x58def2(0x2fd)]=_0x21613b,this[_0x58def2(0x275)]=_0x1ccf20,_0x1ac008?_0x1ac008==null||_0x1ac008['whenReady']()[_0x58def2(0x15a)](()=>this[_0x58def2(0x344)]()):(this[_0x58def2(0x2d0)][_0x58def2(0x2f3)](_0x58def2(0x1fd),_0x58def2(0x28a)),this[_0x58def2(0x344)]());}async[_0x69e053(0x344)](){const _0x2d8d81=_0x69e053,_0x4b0fd9=this[_0x2d8d81(0x2fb)][_0x2d8d81(0x33d)](_0x2d8d81(0x16e)),_0xd5139b=this['_urlService']['getParam'](_0x2d8d81(0x241)),_0x54a36f=this[_0x2d8d81(0x2fb)][_0x2d8d81(0x33d)](_0x2d8d81(0x22e));if(!_0x4b0fd9||!_0xd5139b){this['_logService'][_0x2d8d81(0x2f3)](_0x2d8d81(0x1fd),_0x2d8d81(0x25d));return;}const _0x2d7c0a=await this[_0x2d8d81(0x275)][_0x2d8d81(0x30d)](_0x4b0fd9,Number(_0xd5139b),_0x54a36f);_0x2d7c0a&&_0x2d7c0a instanceof _0x5c97a8&&this[_0x2d8d81(0x1aa)](_0x2d7c0a);}async['_setupSubUnitSync'](_0x259805){const _0x510d96=_0x69e053;await this[_0x510d96(0x255)](_0x259805),_0x259805[_0x510d96(0x2e1)][_0x510d96(0x21d)](_0x44ca8(this[_0x510d96(0x347)]))['subscribe'](_0x1b19c9=>{const _0x1be9c7=_0x510d96;_0x1b19c9&&this[_0x1be9c7(0x1c8)](_0x1b19c9);}),this[_0x510d96(0x2fb)]['urlChange$'][_0x510d96(0x21d)](_0x44ca8(this[_0x510d96(0x347)]))[_0x510d96(0x20d)](()=>this['_updateSubUnitFromURLParams'](_0x259805));}[_0x69e053(0x1c8)](_0x39e153,_0x6e03f7=!0x1){const _0x15c646=_0x69e053,_0x4e89c1=this[_0x15c646(0x2fb)][_0x15c646(0x33d)](_0x15c646(0x22e));_0x39e153['getSheetId']()!==_0x4e89c1&&this[_0x15c646(0x2fb)][_0x15c646(0x18a)](_0x15c646(0x22e),_0x39e153[_0x15c646(0x226)](),_0x6e03f7);}async[_0x69e053(0x255)](_0x407e0f){const _0x11057a=_0x69e053;var _0x32fb63;const _0xd85834=this[_0x11057a(0x2fb)][_0x11057a(0x33d)](_0x11057a(0x22e));if(!_0xd85834||!_0x407e0f[_0x11057a(0x158)](_0xd85834)){const _0x4c5d52=_0x407e0f['getUnhiddenWorksheets']()[0x0],_0x35c62c=_0x407e0f[_0x11057a(0x158)](_0x4c5d52);if(!_0x35c62c)return;this['_updateURLWithCurrentState'](_0x35c62c,!0x0),await this[_0x11057a(0x2fd)]['executeCommand'](_0x26159f['id'],{'unitId':_0x407e0f['getUnitId'](),'subUnitId':_0x4c5d52});return;}((_0x32fb63=_0x407e0f['getActiveSheet']())==null?void 0x0:_0x32fb63[_0x11057a(0x226)]())!==_0xd85834&&await this[_0x11057a(0x2fd)]['executeCommand'](_0x26159f['id'],{'unitId':_0x407e0f[_0x11057a(0x213)](),'subUnitId':_0xd85834});}};ie=qi([G(0x0,Ut),G(0x1,_0x501a2f),G(0x2,_0x2bd5c6),G(0x3,_0x1edcbc(_0x2186e2)),G(0x4,_0x166217(_0x3bfd4b))],ie);var en=Object[_0x69e053(0x221)],tn=(_0x3e44fd,_0x59e251,_0x5b7e0b,_0x297bc9)=>{const _0x122b8c=_0x69e053;for(var _0x56a053=_0x297bc9>0x1?void 0x0:_0x297bc9?en(_0x59e251,_0x5b7e0b):_0x59e251,_0x486dab=_0x3e44fd[_0x122b8c(0x306)]-0x1,_0x12ba94;_0x486dab>=0x0;_0x486dab--)(_0x12ba94=_0x3e44fd[_0x486dab])&&(_0x56a053=_0x12ba94(_0x56a053)||_0x56a053);return _0x56a053;},pe=(_0x2892c7,_0x346382)=>(_0x26a080,_0x31e06f)=>_0x346382(_0x26a080,_0x31e06f,_0x2892c7);let ne=class{constructor(_0x2cbfe7,_0x3ea270,_0x21e010){this['_injector']=_0x2cbfe7,this['_transformService']=_0x3ea270,this['_renderManagerService']=_0x21e010;}[_0x69e053(0x223)](_0x3d28fe){const _0x2c37fc=_0x69e053;this[_0x2c37fc(0x1eb)](_0x3d28fe),this[_0x2c37fc(0x254)](_0x3d28fe);}[_0x69e053(0x1c6)](_0x4f98ce){const _0xc0d20b=_0x69e053,{unitID:_0x36eded}=_0x4f98ce,_0x5c6391=this[_0xc0d20b(0x302)][_0xc0d20b(0x190)](_0x36eded)[_0xc0d20b(0x28b)](_0x40ad3c),{redoCache:_0x29b1ae}=_0x5c6391['getUndoRedoMutationParamsCache']();if(_0x29b1ae[_0xc0d20b(0x306)]===0x0)return _0x4f98ce;let _0x325de3=_0x469588[_0xc0d20b(0x17f)](_0x4f98ce[_0xc0d20b(0x282)][0x0]);for(let _0x29597f=0x0;_0x29597f<_0x29b1ae['length'];_0x29597f++){const _0x556d01={'id':_0xc0d20b(0x163),'params':{..._0x29b1ae[_0x29597f]}},_0x4ca053=this[_0xc0d20b(0x247)][_0xc0d20b(0x19e)](_0x325de3,_0x556d01,!0x1);if(_0x472ce9(_0x4ca053))throw _0x4ca053['error'];_0x325de3=_0x4ca053[_0xc0d20b(0x291)];}return{..._0x469588[_0xc0d20b(0x17f)](_0x4f98ce),'mutations':[_0x325de3]};}['_transformUndoRedoStack'](_0x426a14){const _0x46e3a9=_0x69e053,{unitID:_0x56ed66}=_0x426a14,_0x3d1624=this[_0x46e3a9(0x302)][_0x46e3a9(0x190)](_0x56ed66)[_0x46e3a9(0x28b)](_0x40ad3c),{undoCache:_0x23aff9,redoCache:_0x5ef4e2}=_0x3d1624[_0x46e3a9(0x335)]();if(_0x23aff9[_0x46e3a9(0x306)]===0x0||_0x5ef4e2[_0x46e3a9(0x306)]===0x0)return;const _0x632dfc=[],_0x57c2bf=[];let _0x7118be=_0x469588[_0x46e3a9(0x17f)](_0x426a14[_0x46e3a9(0x282)][0x0]),_0x50993f=_0x469588[_0x46e3a9(0x17f)](_0x426a14['mutations'][0x0]);for(let _0x3b2217=_0x23aff9[_0x46e3a9(0x306)]-0x1;_0x3b2217>=0x0;_0x3b2217--){const _0x2f4455={'id':_0x46e3a9(0x163),'params':{..._0x23aff9[_0x3b2217]}},_0x128aed={'id':_0x46e3a9(0x163),'params':{..._0x5ef4e2[_0x3b2217]}},_0x51c468=this[_0x46e3a9(0x247)][_0x46e3a9(0x19e)](_0x7118be,_0x2f4455,!0x1),_0x48d9c3=this[_0x46e3a9(0x247)][_0x46e3a9(0x19e)](_0x50993f,_0x128aed,!0x1);if(_0x472ce9(_0x51c468))throw _0x51c468[_0x46e3a9(0x216)];if(_0x472ce9(_0x48d9c3))throw _0x48d9c3[_0x46e3a9(0x216)];_0x632dfc['unshift'](_0x51c468[_0x46e3a9(0x2f7)][_0x46e3a9(0x210)]),_0x57c2bf[_0x46e3a9(0x31e)](_0x48d9c3[_0x46e3a9(0x2f7)][_0x46e3a9(0x210)]),_0x7118be=_0x51c468[_0x46e3a9(0x291)],_0x50993f=_0x48d9c3[_0x46e3a9(0x291)];}_0x3d1624['setUndoRedoMutationParamsCache']({'undoCache':_0x632dfc,'redoCache':_0x57c2bf});}[_0x69e053(0x254)](_0x1f5a65){const _0x4c8a91=_0x69e053,{unitID:_0x1d8cd8}=_0x1f5a65,_0x204fb2=this[_0x4c8a91(0x302)][_0x4c8a91(0x190)](_0x1d8cd8)[_0x4c8a91(0x28b)](_0x40ad3c),_0xe6409d=_0x204fb2[_0x4c8a91(0x33c)]();if(_0xe6409d==null)return;const _0xaf6e53=[{'id':_0x4c8a91(0x163),'params':{'unitId':_0x1f5a65[_0x4c8a91(0x319)],'actions':null,'textRanges':[_0xe6409d]}}],_0x2d2459=this[_0x4c8a91(0x247)][_0x4c8a91(0x1b3)](_0x1f5a65,_0xaf6e53);if(!_0x3f31fc(_0x2d2459))throw _0x2d2459[_0x4c8a91(0x216)];const _0x4c4390=_0x2d2459['m2Prime'][0x0][_0x4c8a91(0x210)]['textRanges'];Array[_0x4c8a91(0x227)](_0x4c4390)&&_0x4c4390[_0x4c8a91(0x306)]&&_0x204fb2[_0x4c8a91(0x201)](_0x4c4390[0x0]);}};ne=tn([pe(0x0,_0x1edcbc(_0x30157b)),pe(0x1,_0x50f90f),pe(0x2,_0x364408)],ne);var sn=Object[_0x69e053(0x221)],nn=(_0x513aee,_0x1b314f,_0x391691,_0x20ba5d)=>{const _0xaccee=_0x69e053;for(var _0x48d3f7=_0x20ba5d>0x1?void 0x0:_0x20ba5d?sn(_0x1b314f,_0x391691):_0x1b314f,_0x561aed=_0x513aee[_0xaccee(0x306)]-0x1,_0x859e15;_0x561aed>=0x0;_0x561aed--)(_0x859e15=_0x513aee[_0x561aed])&&(_0x48d3f7=_0x859e15(_0x48d3f7)||_0x48d3f7);return _0x48d3f7;},Ce=(_0x4aade9,_0x5e6b1e)=>(_0x25bcec,_0x5d7558)=>_0x5e6b1e(_0x25bcec,_0x5d7558,_0x4aade9);let re=class{constructor(_0xa1d77,_0x1755d7,_0x24e3ee){const _0x47ee4b=_0x69e053;this[_0x47ee4b(0x248)]=_0xa1d77,this[_0x47ee4b(0x247)]=_0x1755d7,this['_docStateChangeManagerService']=_0x24e3ee;}['transformStateCache'](_0x1cba6a){const _0x1c9b10=_0x69e053;this[_0x1c9b10(0x232)](_0x1cba6a);}[_0x69e053(0x1c6)](_0x49b454){const _0xea4429=_0x69e053,{unitID:_0x5415bc}=_0x49b454,{collaboration:_0x3c16f7}=this[_0xea4429(0x197)][_0xea4429(0x27e)](_0x5415bc);if(_0x3c16f7[_0xea4429(0x306)]===0x0)return _0x49b454;let _0x50e861=_0x469588[_0xea4429(0x17f)](_0x49b454[_0xea4429(0x282)][0x0]);for(let _0x1e18ba=0x0;_0x1e18ba<_0x3c16f7[_0xea4429(0x306)];_0x1e18ba++){const _0x109d9e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c16f7[_0x1e18ba][_0xea4429(0x228)],..._0x3c16f7[_0x1e18ba][_0xea4429(0x2b0)]}},_0x5bd64=this[_0xea4429(0x247)][_0xea4429(0x19e)](_0x50e861,_0x109d9e,!0x1);if(_0x472ce9(_0x5bd64))throw _0x5bd64[_0xea4429(0x216)];_0x50e861=_0x5bd64['m1Prime'];}return{..._0x469588[_0xea4429(0x17f)](_0x49b454),'mutations':[_0x50e861]};}[_0x69e053(0x232)](_0x419011){const _0x2984e1=_0x69e053,{unitID:_0x383f17}=_0x419011,{history:_0x3293f1,collaboration:_0x1538bf}=this[_0x2984e1(0x197)][_0x2984e1(0x27e)](_0x383f17);if(_0x3293f1[_0x2984e1(0x306)]===0x0&&_0x1538bf[_0x2984e1(0x306)]===0x0)return;const _0x1f8d75=[],_0x13a10a=[];let _0x2e5278=_0x469588['deepClone'](_0x419011[_0x2984e1(0x282)][0x0]),_0x985b8b=_0x469588[_0x2984e1(0x17f)](_0x419011[_0x2984e1(0x282)][0x0]);for(let _0x25bab0=_0x3293f1[_0x2984e1(0x306)]-0x1;_0x25bab0>=0x0;_0x25bab0--){const _0x4c31a8={'id':_0x2984e1(0x163),'params':{'unitId':_0x3293f1[_0x25bab0][_0x2984e1(0x228)],..._0x3293f1[_0x25bab0]['undoState']}},_0x246a2b={'id':_0x2984e1(0x163),'params':{'unitId':_0x3293f1[_0x25bab0][_0x2984e1(0x228)],..._0x3293f1[_0x25bab0]['redoState']}},_0x2bf0c5=this['_transformService'][_0x2984e1(0x19e)](_0x2e5278,_0x4c31a8,!0x1),_0x2785b5=this['_transformService'][_0x2984e1(0x19e)](_0x985b8b,_0x246a2b,!0x1);if(_0x472ce9(_0x2bf0c5))throw _0x2bf0c5['error'];if(_0x472ce9(_0x2785b5))throw _0x2785b5['error'];_0x1f8d75[_0x2984e1(0x31e)]({..._0x3293f1[_0x25bab0],'undoState':_0x2bf0c5[_0x2984e1(0x2f7)][_0x2984e1(0x210)],'redoState':_0x2785b5[_0x2984e1(0x2f7)][_0x2984e1(0x210)]}),_0x2e5278=_0x2bf0c5[_0x2984e1(0x291)],_0x985b8b=_0x2785b5[_0x2984e1(0x291)];}_0x2e5278=_0x469588[_0x2984e1(0x17f)](_0x419011['mutations'][0x0]),_0x985b8b=_0x469588['deepClone'](_0x419011[_0x2984e1(0x282)][0x0]);for(let _0x32d876=_0x1538bf[_0x2984e1(0x306)]-0x1;_0x32d876>=0x0;_0x32d876--){const _0x5cec92={'id':_0x2984e1(0x163),'params':{'unitId':_0x1538bf[_0x32d876][_0x2984e1(0x228)],..._0x1538bf[_0x32d876]['undoState']}},_0x30d72d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1538bf[_0x32d876][_0x2984e1(0x228)],..._0x1538bf[_0x32d876][_0x2984e1(0x2b0)]}},_0x4cbcd2=this[_0x2984e1(0x247)][_0x2984e1(0x19e)](_0x2e5278,_0x5cec92,!0x1),_0x21c195=this['_transformService'][_0x2984e1(0x19e)](_0x985b8b,_0x30d72d,!0x1);if(_0x472ce9(_0x4cbcd2))throw _0x4cbcd2[_0x2984e1(0x216)];if(_0x472ce9(_0x21c195))throw _0x21c195[_0x2984e1(0x216)];_0x13a10a[_0x2984e1(0x31e)]({..._0x1538bf[_0x32d876],'undoState':_0x4cbcd2['m2Prime'][_0x2984e1(0x210)],'redoState':_0x21c195[_0x2984e1(0x2f7)][_0x2984e1(0x210)]}),_0x2e5278=_0x4cbcd2['m1Prime'],_0x985b8b=_0x21c195['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x383f17,{'history':_0x1f8d75,'collaboration':_0x13a10a});}};re=nn([Ce(0x0,_0x1edcbc(_0x30157b)),Ce(0x1,_0x50f90f),Ce(0x2,_0x1edcbc(_0x4204ce))],re);var rn=Object[_0x69e053(0x221)],on=(_0x276966,_0x5ba050,_0x16e100,_0x5e2cde)=>{const _0x3dd91a=_0x69e053;for(var _0x344184=_0x5e2cde>0x1?void 0x0:_0x5e2cde?rn(_0x5ba050,_0x16e100):_0x5ba050,_0x2936c8=_0x276966[_0x3dd91a(0x306)]-0x1,_0x578625;_0x2936c8>=0x0;_0x2936c8--)(_0x578625=_0x276966[_0x2936c8])&&(_0x344184=_0x578625(_0x344184)||_0x344184);return _0x344184;},tt=(_0x51349e,_0x3f43d6)=>(_0x1ac126,_0x56ecb1)=>_0x3f43d6(_0x1ac126,_0x56ecb1,_0x51349e);let oe=class{constructor(_0x35a222,_0x3e330d){const _0x4ccf6b=_0x69e053;this[_0x4ccf6b(0x248)]=_0x35a222,this[_0x4ccf6b(0x247)]=_0x3e330d;}['transformSelections'](_0x53bce6){const _0x3159ee=_0x69e053;var _0x2b0b21;const _0xace7f1=this[_0x3159ee(0x248)]['get'](_0x3bfb9b),_0x1b8916=(_0x2b0b21=_0xace7f1[_0x3159ee(0x161)]())!=null?_0x2b0b21:[];if(_0x1b8916[_0x3159ee(0x306)]===0x0)return;const _0x5d799f=_0x53bce6[_0x3159ee(0x319)],_0x11698e=[{'id':_0x3159ee(0x163),'params':{'unitId':_0x5d799f,'actions':null,'textRanges':_0x1b8916}}],_0x208ea4=this['_transformService'][_0x3159ee(0x1b3)](_0x53bce6,_0x11698e);if(!_0x3f31fc(_0x208ea4))throw _0x208ea4['error'];const _0x33ddca=_0x208ea4[_0x3159ee(0x2f7)][0x0][_0x3159ee(0x210)][_0x3159ee(0x307)];Array['isArray'](_0x33ddca)&&_0x33ddca[_0x3159ee(0x306)]&&_0xace7f1['replaceDocRanges'](_0x33ddca,{'unitId':_0x5d799f,'subUnitId':_0x5d799f},!0x1);}};oe=on([tt(0x0,_0x1edcbc(_0x30157b)),tt(0x1,_0x50f90f)],oe);var an=Object[_0x69e053(0x221)],cn=(_0x343c78,_0x46d9b7,_0x2a2d8a,_0x3f8d80)=>{for(var _0x195b76=_0x3f8d80>0x1?void 0x0:_0x3f8d80?an(_0x46d9b7,_0x2a2d8a):_0x46d9b7,_0x3b8fe7=_0x343c78['length']-0x1,_0x2bd588;_0x3b8fe7>=0x0;_0x3b8fe7--)(_0x2bd588=_0x343c78[_0x3b8fe7])&&(_0x195b76=_0x2bd588(_0x195b76)||_0x195b76);return _0x195b76;},U=(_0x10bae1,_0x332c00)=>(_0x2ec969,_0x16db65)=>_0x332c00(_0x2ec969,_0x16db65,_0x10bae1);function _0xc62b(){const _0x403d03=['sheetId','tag','0\x200\x2016\x2016','collaboration.single-unit.warning','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','YUUMI_SUBSCRIPTION_NOT_FOUND','currentColor','_context','_hovered','redoState','url(#on-line-icon_clip0_910_349)','_docTransformSelectionsService','sessionTicket','_imageIoService','forEach','_handleLeaveEvent','map','_startSheetCollabCursor','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','LICENSE_EXPORT_SIZE_EXCEEDED','setConfig','selections','YUUMI_ASYNCIO_CANCELLED','_instanceService','body','_draw','collabCursorState$','symbol','_unitOnClients','wsSessionTicketUrl','SOCKET_FAILED','_onCursorUpdate','collabStatus.fetchMiss','top','_entities','override','on-line-icon_clip0_910_349','UPDATE_CURSOR','invokeId','clipPath','ENSURE_SNAPSHOT_EXECUTION','_logService','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','_messageService','dispose','_drawTextRange','PENDING','TEXT','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_saveCache','resize','drawWith','FromArray','_memberService','_handleHover','text','activeSheet$','DeleteRangeMoveLeftCommandId','find','getTypeOfUnitDisposed$','subUnitId','UNRECOGNIZED','set','cursorInfo','APPLY_DUPLICATED','path','defIds','selection','_heartbeatTimer','253CSsVlP','getMemberID','colorChannel1','_color','_session','debug','_backgroundColor','_cursors','Warning','m2Prime','displayName','collaboration.closeRoom','generateRandomId','_urlService','onPointerMove$','_commandService','_clearOtherTimers','20330DSFCDP','color','arc','_renderManagerService','defineProperty','ranges','OnLineIcon','length','textRanges','15072ghMIwC','next','_univerInstanceService','COMPLETION_FINISHED','3284533tjudAg','loadUnit','searchParams','uni.network.url-service','_initDependencies','height','transformSelections','_initEvent','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2017\x2016','send','univer-mr-2\x20univer-flex\x20univer-text-xl','className','unitID','asObservable','40IWEgvb','replace','blue.400','unshift','_removeCollabCursors','column','eventID','_initCommandExecutedListener','replaceState','session.connection-failed','MOBILE_HAS_BEEN_BOUND','_removeClearOtherTimer','_drawRectRange','collab-text-anchor-','M0\x200H16V16H0z','restore','SYNCED','_range','_scheduleHeartbeat','engine','onCommandExecuted','Failed','_createSocketURL','InsertColCommandId','icon','startColumn','getUndoRedoMutationParamsCache','_initStatusListener','_handleEvent','name','origin','NOT_FOUND','126diTufh','getActiveRange','getParam','complete','_startDocCollabCursor','NO_OTHER_CLIENTS_EDITING','from','INVALID_INVITE_CODE','APPLY_REJECT','_init','font','runOnServer','dispose$','getFocusedUnit','getUniverSheetInstance','off-line-icon','UniverIcon','_labelPosition','entries','code','collabStatus.synced','_scheduleSaving','hovered','1485JsnXaX','UNDEFINED','_id','_cursorShapes','getValue','red.300','idSuffix','startsWith','range','white','beginPath','_cachedData','WECHAT_HAS_BEEN_BOUND','clearInterval','onTransformChange$','_localStorageService','PERMISSION_DENIED','reconnect','getSheetBySheetId','none','then','getOffsetConfig','registerRenderModule','_send','_docSkeletonManagerService','url(#off-line-icon_clip0_910_343)','permission.title','getDocRanges','onPointerEnter$','doc.mutation.rich-text-editing','_roomMembers$','isActive','all','_anchorDot','disableLocalCache','_assignedColors','includes','children','bottom','lineTo','unit','_colorIndex','newValue','OTHER_CLIENTS_EDITING','getSkeleton','_initStatusComponent','findNodePositionByCharIndex','INVITE_CODE_REQUIRED','CONFLICT','LICENSE_MAX_UNITS_EXCEEDED','collaboration-client.offline-data-not-saved','SUBMIT_CHANGESET_TIMEOUT','toRgbString','_textBubble','_cursor','div','backgroundColor','deepClone','_getScale','SOCKET_FAILED_RETRY','InsertRangeMoveDownCommandId','clearTimeout','assignAColorForMemberID','add','actions','YUUMI_TABLE_NOT_FOUND_IN_UNIT','makeDirty','_refreshCollabCursors','setParam','getMergeData','disposeWithMe','triggerDblclick','key','black','getRenderById','_initEntityListener','getOwnPropertySymbols','_localeService','_collaborationController','getMember','translate(.97)','_docStateChangeManagerService','fillText','_config','_document','hide','exhaustSavingTask','USERS_LEAVE','transformMutation','onPointerLeave$','_docSyncEditingCollabCursorService','_updateCollabCursors','fillStyle','event$','url(#$1','push','saveOfflineData','YUUMI_RATE_OVER_LIMIT','ALREADY_EXISTS','endRow','_setupSubUnitSync','round','requireSession','452BWfHGu','urlChange$','transformByState','YUUMI_URL_COL_OUT_OF_RANGE','_getMergeRange','_docClipboardService','transformMutationsWithChangeset','rgba(255,\x20255,\x20255,\x200.01)','toString','disposeUnit','_themeService','memberID','loadOfflineData','createSocket','pluginName','_docTransformStateCacheService','OFFLINE','getTypeOfUnitAdded$','getCurrentSelections','getCollabCursors$','split','_disabled','_selfUnitIDs','saveTaskMap','_name','transformRemoteChangeset','_drawAnchor','_updateURLWithCurrentState','createInstance','_anchor','evenodd','transformStateCache','AWAITING','transform','TOO_MANY_REQUESTS','unload','getCollabEntity$','labelPosition','collaboration-client-ui.config','history','show','flatMap','mask','CONNECTOR_DATA_TOO_LARGE','call','getViewport','_render','RemoveColCommandId','_syncEditingCollabCursorService','getUnitStatus$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-text-range-','attrs','SNAPSHOT_INVALID_SNAPSHOT','some','init','_toggleOnline','ticket','82KnXkIE','_configService','onRendered','data','_transformUndoRedoStack','onLocalMutation','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_lastPointer','NOT_COLLAB','enableLocalCache','href','session.collaboration-timeout','registerRefRange','collabStatus.syncing','UNIVER_DOC','_updateLocalCursor','setShapeProps','sessionStatus$','CHANGESET_REVISION_CONFILICT','collabStatus.conflict','_scheduleClearOtherTimer','INVITE_CODE_ALREADY_BOUND','[CollaborationDataLoaderController]','getItem','_refRangeService','prototype','setActiveRange','_getSessionTicket','getRelativeToViewportCoord','INTERNAL_ERROR','startRow','collab-client.tooltip.reconnect','SNAPSHOT_HAS_BEEN_REMOVED','isEditing','_cursorInfo$','JOIN_ROOM_FAILED','delete','UNIVER_SHEET','subscribe','svg','_localCacheService','params','setAlpha','moveTo','getUnitId','addObjects','...','error','APPLY_REVISION_CONFILICT','_status$','_docTransformIMECacheService','_toggleOffline','string','MoveRangeCommandId','pipe','_unitStatus','concat','extend','getOwnPropertyDescriptor','application/json','transformIMECache','roomMembers','getConfig','getSheetId','isArray','unitId','jiqing.500','collabStatus.notCollab','_onCursorDelete','1em','location','subunit','_docSkeleton','getRangePointData','off-line-icon_clip0_910_343','_transformHistoryAndStateStack','PY_RUNTIME_SCRIPT_ERROR','DeleteRangeMoveUpCommandId','roomMembers$','fillRule','max','_collabCursorController','univerjs-icon\x20univerjs-icon-','defs','446274WVwlin','width','_entityInit$','sheetID','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','type','onMouseMove','addClipboardHook','_eventUnsubscribe','_ensureSubject','measureText','_transformService','_injector','pushState','currentSkeleton$','_collabCursorState$','min','_registerDependencies','updateOfflineData','current','getColorFromTheme','LOGIN_FAILED','removeParam','getActiveSheet','_transformPreviousActiveRange','_updateSubUnitFromURLParams','xlink:href','status$','getAncestorScale','APPLY_NON_SEQUENTIAL_REVISION','ACTIVE_UNIT_EVENT_CHANNEL','values','hasOwnProperty','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Error','post','_hover','_saveTaskMap','entityInit$','indexOf','_onRefRangeChange','getCurrentRevOfUnit','size','http://www.w3.org/2000/svg','_colorAssignService','MUTATION','Unknown\x20user','runId','_scene','_notificationService','450rrqLBz','USER_NOT_INVITED_CODE','addObject','use','getCurrent','_uiPartsService','_hideTimer','_dataLoaderService','editingUnit','_httpService','assign','_registerRenderDependencies','_initResize','purple.300','_setupBeforeClosingHandler','APPLY_PERMISSION_DENIED','getStateCache','InsertRowCommandId','#FFF','YUUMI_ALL_TABLES_IS_INVALID','mutations','onStarting','fill','setItem','10532304bvhIMb','subscribeEvent','EMAIL_HAS_BEEN_BOUND','has','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','with','registerComponent','RemoveRowCommandId','ONLINE','cursorInfo$','setTimeout','m1Prime','_shapes','_handleJoinEvent','YUUMI_UNABLE_LOAD_URL','YUUMI_AI_RUN_FAILED','RECT','syncEditingCollabCursor','save','currentTheme$','_sheetSkeletonManagerService','LICENSE_DISTRO_REJECTED','INVITE_CODE_HAS_BEEN_UES','INVALID_ARGUMENT','skeleton','UNAUTHENTICATED','get','_collaborationUIEventService','_handleHeartbeatEvent','collab-rect-range-','AWAITING_WITH_PENDING','_getSheetObject','_online'];_0xc62b=function(){return _0x403d03;};return _0xc62b();}let ae=class extends _0x404876{constructor(_0x420c48,_0x5f3224,_0x321b04,_0x3331b2,_0x555d4a,_0x1c6687,_0xc0e121,_0x44cdc4){const _0x14b66d=_0x69e053;super(),_(this,_0x14b66d(0x218),new _0x69ec1c(_0x2c5ad0[_0x14b66d(0x1ef)])),(this[_0x14b66d(0x197)]=_0x420c48,this[_0x14b66d(0x194)]=_0x5f3224,this[_0x14b66d(0x219)]=_0x321b04,this['_docTransformStateCacheService']=_0x3331b2,this[_0x14b66d(0x2b2)]=_0x555d4a,this[_0x14b66d(0x1a0)]=_0x1c6687,this[_0x14b66d(0x2d3)]=_0xc0e121,this['_localeService']=_0x44cdc4,this[_0x14b66d(0x191)]());}[_0x69e053(0x191)](){const _0x50ba0a=_0x69e053;this[_0x50ba0a(0x18c)](this['_collaborationController'][_0x50ba0a(0x262)][_0x50ba0a(0x20d)](_0x40f02d=>{const _0x2f702b=_0x50ba0a,_0x25e009=this[_0x2f702b(0x197)]['docStateChange$'][_0x2f702b(0x20d)](_0x4b6d7a=>{const _0x3de02d=_0x2f702b;if(_0x4b6d7a==null)return;const {unitId:_0x2d1cd1,redoState:_0x50dfc9,commandId:_0xc6e2bd}=_0x4b6d7a;if(_0x2d1cd1!==_0x40f02d[_0x3de02d(0x319)])return;const _0x34be10={'id':_0xc6e2bd,'type':_0x326183[_0x3de02d(0x269)],'params':{'unitId':_0x2d1cd1,'actions':_0x50dfc9[_0x3de02d(0x186)],'textRanges':null}};_0x40f02d[_0x3de02d(0x1ec)](_0x34be10);});if(_0x40f02d[_0x2f702b(0x18c)](_0x25e009),_0x40f02d instanceof _0x4dd820){const _0x585821={'onTransformIME':_0x44db53=>this[_0x2f702b(0x219)][_0x2f702b(0x223)](_0x44db53),'onTransformState':_0x285d6e=>this['_docTransformStateCacheService'][_0x2f702b(0x1cc)](_0x285d6e),'onTransformSelections':_0x57986d=>this[_0x2f702b(0x2b2)][_0x2f702b(0x312)](_0x57986d),'onSyncEditingCollabCursor':_0x4309c7=>this['_docSyncEditingCollabCursorService'][_0x2f702b(0x297)](_0x4309c7),'onTransformRemoteChangesetByIMECache':_0xccd202=>this[_0x2f702b(0x219)]['transformRemoteChangeset'](_0xccd202),'onTransformRemoteChangesetByStateCache':_0x25e481=>this[_0x2f702b(0x1bc)][_0x2f702b(0x1c6)](_0x25e481)};_0x40f02d['addHandlerCallback'](_0x585821);}}));}};ae=cn([U(0x0,_0x1edcbc(_0x4204ce)),U(0x1,_0x1edcbc(_0x226cfe)),U(0x2,_0x1edcbc(ne)),U(0x3,_0x1edcbc(re)),U(0x4,_0x1edcbc(oe)),U(0x5,_0x1edcbc(He)),U(0x6,_0x4d61bb),U(0x7,_0x1edcbc(_0x7c2e8c))],ae);var ln=Object[_0x69e053(0x221)],_n=(_0x5b9034,_0x3f4a2a,_0x48e380,_0x3ca32b)=>{const _0x579bc0=_0x69e053;for(var _0x1ec30b=_0x3ca32b>0x1?void 0x0:_0x3ca32b?ln(_0x3f4a2a,_0x48e380):_0x3f4a2a,_0x11ade5=_0x5b9034[_0x579bc0(0x306)]-0x1,_0x21f5ef;_0x11ade5>=0x0;_0x11ade5--)(_0x21f5ef=_0x5b9034[_0x11ade5])&&(_0x1ec30b=_0x21f5ef(_0x1ec30b)||_0x1ec30b);return _0x1ec30b;},Ee=(_0x22cfe9,_0x1f3033)=>(_0x468eee,_0x549cae)=>_0x1f3033(_0x468eee,_0x549cae,_0x22cfe9);let Le=class extends _0x404876{constructor(_0x4a92d1,_0x55dad7,_0x1753c6){const _0x32d243=_0x69e053;super(),_(this,_0x32d243(0x151),new Map()),_(this,_0x32d243(0x261),new Map()),_(this,_0x32d243(0x1c2),!0x1),(this[_0x32d243(0x1e8)]=_0x4a92d1,this[_0x32d243(0x155)]=_0x55dad7,this['_revisionService']=_0x1753c6);}[_0x69e053(0x168)](){const _0x257e6c=_0x69e053;this[_0x257e6c(0x1c2)]=!0x0;}[_0x69e053(0x1f0)](){const _0x27abae=_0x69e053;this[_0x27abae(0x1c2)]=!0x1;}get[_0x69e053(0x1c4)](){const _0x47ccb0=_0x69e053;return this[_0x47ccb0(0x261)];}[_0x69e053(0x2d4)](){const _0x3a5318=_0x69e053;this[_0x3a5318(0x19c)]()['then'](()=>super[_0x3a5318(0x2d4)]());}async[_0x69e053(0x1b9)](_0x5587ab){const _0x18c840=_0x69e053;return this[_0x18c840(0x1c2)]?null:this[_0x18c840(0x155)][_0x18c840(0x1fe)](_0x4d1854(_0x5587ab));}async[_0x69e053(0x1a6)](_0x2c53a0,_0x3cf166){const _0x1559c3=_0x69e053;return!!this[_0x1559c3(0x155)][_0x1559c3(0x285)](_0x2c53a0,_0x3cf166);}[_0x69e053(0x24e)](_0x45649b,_0x392d97,_0x14b9e0,_0x2f76d3){const _0x581c69=_0x69e053,_0x34797a=this['_revisionService'][_0x581c69(0x265)](_0x45649b);this['_cachedData']['set'](_0x45649b,{'unitID':_0x45649b,'type':_0x392d97,'awaitingChangeset':_0x14b9e0,'mutations':_0x2f76d3,'rev':_0x34797a}),this[_0x581c69(0x261)]['has'](_0x45649b)||this[_0x581c69(0x350)](_0x45649b);}['_scheduleSaving'](_0x4703eb){const _0x4a5d32=_0x69e053,_0x1abc5a=this['_getSaveTimeout']();_0x1abc5a===0x0?this[_0x4a5d32(0x2da)](_0x4703eb):this[_0x4a5d32(0x261)][_0x4a5d32(0x2e7)](_0x4703eb,setTimeout(()=>this['_saveCache'](_0x4703eb),_0x1abc5a));}['_getSaveTimeout'](){const _0x391b1c=_0x69e053;var _0x386230;return(_0x386230=this[_0x391b1c(0x1e8)]['getConfig'](_0xa37187))!=null?_0x386230:_0x1fa765;}[_0x69e053(0x2da)](_0x1d3928){const _0x11b1ca=_0x69e053,_0x1ff83d=this[_0x11b1ca(0x261)][_0x11b1ca(0x2a0)](_0x1d3928);return _0x1ff83d!==void 0x0&&window[_0x11b1ca(0x183)](_0x1ff83d),this[_0x11b1ca(0x155)]['setItem'](_0x4d1854(_0x1d3928),this[_0x11b1ca(0x151)][_0x11b1ca(0x2a0)](_0x1d3928))[_0x11b1ca(0x15a)](()=>this[_0x11b1ca(0x261)][_0x11b1ca(0x20b)](_0x1d3928));}async[_0x69e053(0x19c)](){const _0x18caa9=_0x69e053,_0x1b2d84=[];this[_0x18caa9(0x261)][_0x18caa9(0x2b5)]((_0x537705,_0xf13559)=>{const _0x883dbf=_0x18caa9;window[_0x883dbf(0x183)](_0x537705),_0x1b2d84['push'](this[_0x883dbf(0x2da)](_0xf13559)['then'](()=>{const _0x428613=_0x883dbf;this[_0x428613(0x261)][_0x428613(0x20b)](_0xf13559);}));}),await Promise[_0x18caa9(0x166)](_0x1b2d84);}};Le=_n([Ee(0x0,_0x4c46e3),Ee(0x1,_0x324daf),Ee(0x2,_0x1edcbc(_0x55dc2e))],Le);class hn extends _0x2e9bdd{constructor(){const _0x331110=_0x69e053;super(),_(this,_0x331110(0x1ae)),this[_0x331110(0x1ae)]=_0x1b944e(window,'popstate')[_0x331110(0x21d)](_0x44ca8(this['dispose$']),_0x345a65(0x1),_0x37148e(void 0x0));}[_0x69e053(0x18a)](_0x5d5fcd,_0x3eff51,_0x20a193=!0x1){const _0x290b03=_0x69e053,_0x1104af=new URL(window[_0x290b03(0x22d)][_0x290b03(0x1f1)]);_0x1104af['searchParams'][_0x290b03(0x2e7)](_0x5d5fcd,_0x3eff51),_0x20a193?window[_0x290b03(0x1d4)][_0x290b03(0x323)]('','',_0x1104af['toString']()):window[_0x290b03(0x1d4)][_0x290b03(0x249)]('','',_0x1104af[_0x290b03(0x1b5)]());}[_0x69e053(0x252)](_0x29d187,_0x1107b0=!0x1){const _0x3763cf=_0x69e053,_0x264abf=new URL(window[_0x3763cf(0x22d)][_0x3763cf(0x1f1)]);_0x264abf[_0x3763cf(0x30e)][_0x3763cf(0x20b)](_0x29d187),_0x1107b0?window['history'][_0x3763cf(0x323)]('','',_0x264abf[_0x3763cf(0x1b5)]()):window[_0x3763cf(0x1d4)]['pushState']('','',_0x264abf[_0x3763cf(0x1b5)]());}['getParam'](_0x1474e0){const _0x1f2f1b=_0x69e053;var _0x2b7a10;return(_0x2b7a10=new URL(window['location']['href'])[_0x1f2f1b(0x30e)]['get'](_0x1474e0))!=null?_0x2b7a10:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x3e6731,_0x3c923b,_0x1b0e7c)=>_0x3c923b in _0x3e6731?un(_0x3e6731,_0x3c923b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b0e7c}):_0x3e6731[_0x3c923b]=_0x1b0e7c,Sn=(_0x18a979,_0x2edfcb,_0xaac4d9,_0x2a1134)=>{const _0x482119=_0x69e053;for(var _0x5689fe=_0x2a1134>0x1?void 0x0:_0x2a1134?dn(_0x2edfcb,_0xaac4d9):_0x2edfcb,_0x37ab61=_0x18a979[_0x482119(0x306)]-0x1,_0x2e9f94;_0x37ab61>=0x0;_0x37ab61--)(_0x2e9f94=_0x18a979[_0x37ab61])&&(_0x5689fe=_0x2e9f94(_0x5689fe)||_0x5689fe);return _0x5689fe;},Oe=(_0x569148,_0x2af74f)=>(_0x56f69d,_0x2110f7)=>_0x2af74f(_0x56f69d,_0x2110f7,_0x569148),mn=(_0x484a8c,_0x291e7b,_0x51b17d)=>fn(_0x484a8c,_0x291e7b+'',_0x51b17d);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x29f8cb{constructor(_0x5a643d=et,_0x2ec57f,_0x4579b1,_0x5cf0db){const _0x569c7c=_0x69e053;super(),this['_config']=_0x5a643d,this['_renderManagerService']=_0x2ec57f,this[_0x569c7c(0x248)]=_0x4579b1,this['_configService']=_0x5cf0db;const {..._0x2f48af}=_0x5a8922({},et,this[_0x569c7c(0x199)]);this[_0x569c7c(0x1e8)][_0x569c7c(0x2bb)](Zi,_0x2f48af);}[_0x69e053(0x283)](){const _0x1e240c=_0x69e053;this[_0x1e240c(0x24d)](),this[_0x1e240c(0x310)]();}[_0x69e053(0x1e9)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x48f908=_0x69e053;var _0x463ebe;const _0x56e243=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xfcca70,{'useClass':_0x4a7658}],[_0x25f3f0,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3c1be9(this[_0x48f908(0x248)],_0x268866(_0x56e243,(_0x463ebe=this['_config'])==null?void 0x0:_0x463ebe[_0x48f908(0x2ca)]));}[_0x69e053(0x279)](){const _0x31bf14=_0x69e053;this[_0x31bf14(0x18c)](this[_0x31bf14(0x302)][_0x31bf14(0x15c)](_0xb39e56[_0x31bf14(0x1f5)],[we])),this[_0x31bf14(0x18c)](this[_0x31bf14(0x302)]['registerRenderModule'](_0xb39e56[_0x31bf14(0x20c)],[Pe]));}[_0x69e053(0x310)](){_0x4e6fb0(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x69e053(0x1bb),In),Ae=Sn([_0x10f61f(_0x3084ce),Oe(0x1,_0x364408),Oe(0x2,_0x1edcbc(_0x30157b)),Oe(0x3,_0x4c46e3)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x2c7dd1,_0x81eb24,_0x43fa4b,_0x2cb5e7)=>{for(var _0x35e4fd=_0x2cb5e7>0x1?void 0x0:_0x2cb5e7?gn(_0x81eb24,_0x43fa4b):_0x81eb24,_0xe2ac82=_0x2c7dd1['length']-0x1,_0x41b844;_0xe2ac82>=0x0;_0xe2ac82--)(_0x41b844=_0x2c7dd1[_0xe2ac82])&&(_0x35e4fd=_0x41b844(_0x35e4fd)||_0x35e4fd);return _0x35e4fd;},K=(_0x1e73d2,_0x591bf5)=>(_0x117184,_0x338f95)=>_0x591bf5(_0x117184,_0x338f95,_0x1e73d2);let st=class extends _0x441d7a{constructor(_0x32c674,_0x325572,_0xf613b3,_0x1138bf,_0xa6921b){super(_0x32c674,_0x325572,_0xf613b3,_0x1138bf,_0xa6921b);}async[_0x69e053(0x1ba)](_0x517c87){const _0x4576c9=_0x69e053,_0xada789=await this['_getSessionTicket'](),_0x9e98a5=this[_0x4576c9(0x331)](_0x517c87,_0xada789);return this['_doCreateSocket'](_0x9e98a5);}['_createSocketURL'](_0x299806,_0x2be28f){const _0x22968e=_0x69e053,_0x23e5a5=typeof window>'u'?new URL(_0x299806):new URL(_0x299806,window['location'][_0x22968e(0x339)]);_0x23e5a5[_0x22968e(0x30e)][_0x22968e(0x2e7)](_0x22968e(0x2b3),_0x2be28f);const _0x8ac6df=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x8ac6df['get'](_0x22968e(0x26b))&&_0x23e5a5[_0x22968e(0x30e)]['set'](_0x22968e(0x26b),_0x8ac6df[_0x22968e(0x2a0)](_0x22968e(0x26b))),_0x23e5a5[_0x22968e(0x1b5)]();}async[_0x69e053(0x202)](){const _0x518e61=_0x69e053;var _0x25aefa,_0x3424bf,_0x87e106;const _0x41e0f7=this['_configService']['getConfig'](_0x3801a2),_0x22a15a=(_0x25aefa=_0x41e0f7==null?void 0x0:_0x41e0f7[_0x518e61(0x2c4)])!=null?_0x25aefa:_0x40221c;return(_0x87e106=(_0x3424bf=(await this[_0x518e61(0x277)]['get'](_0x22a15a,{'headers':{'Content-Type':_0x518e61(0x222)}}))[_0x518e61(0x2bf)])==null?void 0x0:_0x3424bf[_0x518e61(0x1e6)])!=null?_0x87e106:'';}};st=vn([K(0x0,_0x1edcbc(_0x30157b)),K(0x1,_0x1edcbc(_0x3f722f)),K(0x2,_0x4c46e3),K(0x3,_0x501a2f),K(0x4,_0x5bd623)],st);const it=0x7530,nt=_0x69e053(0x25a);class jn extends _0x404876{constructor(){const _0x2ae5c5=_0x69e053;super(),_(this,'_id',_0x301c9e()),_(this,_0x2ae5c5(0x1c3),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2ae5c5(0x2ed),null),_(this,_0x2ae5c5(0x2fe),new Map()),_(this,_0x2ae5c5(0x21e),new Map()),this[_0x2ae5c5(0x344)]();}['dispose'](){const _0x5d66dc=_0x69e053;super['dispose'](),this[_0x5d66dc(0x2fe)]['forEach']((_0x4b2519,_0x40bdd9)=>this['_removeClearOtherTimer'](_0x40bdd9)),this[_0x5d66dc(0x2ed)]&&window[_0x5d66dc(0x153)](this[_0x5d66dc(0x2ed)]);}[_0x69e053(0x1de)](_0x523716){const _0x5d6440=_0x69e053;return this[_0x5d6440(0x245)](_0x523716)[_0x5d6440(0x21d)](_0x3814c9());}[_0x69e053(0x276)](_0x33b2b9){const _0x3d968e=_0x69e053;this['_selfUnitIDs'][_0x3d968e(0x266)]===0x0&&this[_0x3d968e(0x32d)](),this['_selfUnitIDs']['add'](_0x33b2b9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x33b2b9],'isForwarded':!0x1});}[_0x69e053(0x1b6)](_0x360ace){const _0x19a85c=_0x69e053;this[_0x19a85c(0x1c3)]['delete'](_0x360ace),this[_0x19a85c(0x1c3)][_0x19a85c(0x266)]===0x0&&this[_0x19a85c(0x2ed)]&&window[_0x19a85c(0x153)](this['_heartbeatTimer']);}[_0x69e053(0x344)](){const _0x293b64=_0x69e053;this['disposeWithMe'](_0x35e3cc(_0x1b944e(window,'storage')['subscribe'](_0x4037fa=>{const _0x4d8246=_0x2094;if(_0x4037fa[_0x4d8246(0x18e)]!==nt||!_0x4037fa[_0x4d8246(0x170)])return;const _0x5a5a9c=JSON['parse'](_0x4037fa[_0x4d8246(0x170)]);this[_0x4d8246(0x337)](_0x5a5a9c);}))),window['addEventListener'](_0x293b64(0x1d0),()=>this['_send']({'type':0x1,'memberID':this[_0x293b64(0x354)],'unitIDs':Array[_0x293b64(0x341)](this['_selfUnitIDs'])}));}[_0x69e053(0x337)](_0x40d68d){const _0x533d81=_0x69e053;switch(_0x40d68d[_0x533d81(0x241)]){case 0x0:this[_0x533d81(0x293)](_0x40d68d);break;case 0x1:this[_0x533d81(0x2b6)](_0x40d68d);break;case 0x2:this[_0x533d81(0x2a2)](_0x40d68d);break;}}[_0x69e053(0x293)](_0x137f44){const _0x2a795d=_0x69e053,{unitIDs:_0x413d12,memberID:_0x34e0c5,isForwarded:_0x4d665}=_0x137f44;_0x413d12[_0x2a795d(0x2b5)](_0x5e1031=>{const _0x2ab1fd=_0x2a795d;if(!_0x4d665&&this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x289)](_0x5e1031)&&this[_0x2ab1fd(0x245)](_0x5e1031)[_0x2ab1fd(0x309)](_0x14fa32[_0x2ab1fd(0x171)]),!this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x289)](_0x5e1031)||!this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x2a0)](_0x5e1031)[_0x2ab1fd(0x289)](_0x34e0c5)){const _0x3a7ff7=this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x2a0)](_0x5e1031)||new Set();_0x3a7ff7[_0x2ab1fd(0x185)](_0x34e0c5),this[_0x2ab1fd(0x2c3)]['set'](_0x5e1031,_0x3a7ff7),this[_0x2ab1fd(0x1fb)](_0x34e0c5);}}),_0x4d665||this[_0x2a795d(0x15d)]({'type':0x0,'memberID':this[_0x2a795d(0x354)],'unitIDs':[...this[_0x2a795d(0x1c3)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x39dbc8){const _0x59b109=_0x69e053;this['_removeClearOtherTimer'](_0x39dbc8);const _0x1990c=window[_0x59b109(0x290)](()=>{const _0x14963f=_0x59b109;this[_0x14963f(0x2c3)][_0x14963f(0x2b5)](_0x272ade=>{const _0x328335=_0x14963f;_0x272ade[_0x328335(0x20b)](_0x39dbc8);});},it*0x2);this['_clearOtherTimers'][_0x59b109(0x2e7)](_0x39dbc8,_0x1990c);}[_0x69e053(0x326)](_0x12b83d){const _0x3652c4=_0x69e053;if(this['_clearOtherTimers']['has'](_0x12b83d)){const _0x44adf4=this['_clearOtherTimers'][_0x3652c4(0x2a0)](_0x12b83d);_0x44adf4&&window[_0x3652c4(0x183)](_0x44adf4),this['_clearOtherTimers'][_0x3652c4(0x2e7)](_0x12b83d,null);}}[_0x69e053(0x2b6)](_0x12276d){const _0x163679=_0x69e053,{memberID:_0x850be3,unitIDs:_0x14166c}=_0x12276d;_0x14166c[_0x163679(0x2b5)](_0x1eb9d8=>{const _0x17b31a=_0x163679;var _0x184d87;const _0x17ab3b=this[_0x17b31a(0x2c3)]['get'](_0x1eb9d8);_0x17ab3b&&(_0x17ab3b[_0x17b31a(0x20b)](_0x850be3),(_0x184d87=this['_ensureSubject'](_0x1eb9d8))==null||_0x184d87[_0x17b31a(0x309)](_0x17ab3b[_0x17b31a(0x266)]===0x0?_0x14fa32['NO_OTHER_CLIENTS_EDITING']:_0x14fa32[_0x17b31a(0x171)]));}),this['_removeClearOtherTimer'](_0x850be3);}[_0x69e053(0x2a2)](_0x4d8ee4){const _0x1ac2e7=_0x69e053;this['_scheduleClearOtherTimer'](_0x4d8ee4[_0x1ac2e7(0x1b8)]);}[_0x69e053(0x15d)](_0xc57bbb){const _0x5b3ced=_0x69e053;localStorage[_0x5b3ced(0x285)](nt,JSON['stringify'](_0xc57bbb));}[_0x69e053(0x32d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4ba248=_0x2094;this[_0x4ba248(0x15d)]({'type':0x2,'memberID':this[_0x4ba248(0x354)]});},it);}[_0x69e053(0x245)](_0x3c2c0d){const _0xebbafc=_0x69e053;return this[_0xebbafc(0x21e)][_0xebbafc(0x289)](_0x3c2c0d)||this['_unitStatus'][_0xebbafc(0x2e7)](_0x3c2c0d,new _0x69ec1c(_0x14fa32[_0xebbafc(0x340)])),this[_0xebbafc(0x21e)][_0xebbafc(0x2a0)](_0x3c2c0d);}}var Mt=(_0x5c47ea=>(_0x5c47ea[_0x5c47ea[_0x69e053(0x353)]=0x0]=_0x69e053(0x353),_0x5c47ea[_0x5c47ea['OK']=0x1]='OK',_0x5c47ea[_0x5c47ea[_0x69e053(0x204)]=0x2]=_0x69e053(0x204),_0x5c47ea[_0x5c47ea[_0x69e053(0x156)]=0x3]=_0x69e053(0x156),_0x5c47ea[_0x5c47ea[_0x69e053(0x33a)]=0x4]=_0x69e053(0x33a),_0x5c47ea[_0x5c47ea[_0x69e053(0x29f)]=0x5]=_0x69e053(0x29f),_0x5c47ea[_0x5c47ea[_0x69e053(0x1a8)]=0x6]=_0x69e053(0x1a8),_0x5c47ea[_0x5c47ea[_0x69e053(0x29d)]=0x7]='INVALID_ARGUMENT',_0x5c47ea[_0x5c47ea['TOO_MANY_REQUESTS']=0x8]=_0x69e053(0x1cf),_0x5c47ea[_0x5c47ea[_0x69e053(0x30b)]=0x9]=_0x69e053(0x30b),_0x5c47ea[_0x5c47ea[_0x69e053(0x251)]=0xa]='LOGIN_FAILED',_0x5c47ea[_0x5c47ea['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x69e053(0x1f9),_0x5c47ea[_0x5c47ea[_0x69e053(0x1e2)]=0x1771]=_0x69e053(0x1e2),_0x5c47ea[_0x5c47ea[_0x69e053(0x207)]=0x1772]=_0x69e053(0x207),_0x5c47ea[_0x5c47ea[_0x69e053(0x2cf)]=0x1773]=_0x69e053(0x2cf),_0x5c47ea[_0x5c47ea[_0x69e053(0x343)]=0x1b59]=_0x69e053(0x343),_0x5c47ea[_0x5c47ea['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x69e053(0x259),_0x5c47ea[_0x5c47ea[_0x69e053(0x217)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c47ea[_0x5c47ea['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x69e053(0x27d),_0x5c47ea[_0x5c47ea[_0x69e053(0x2e9)]=0x1b5d]=_0x69e053(0x2e9),_0x5c47ea[_0x5c47ea['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x69e053(0x1d8),_0x5c47ea[_0x5c47ea[_0x69e053(0x177)]=0x2329]=_0x69e053(0x177),_0x5c47ea[_0x5c47ea['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5c47ea[_0x5c47ea['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x69e053(0x2d8),_0x5c47ea[_0x5c47ea[_0x69e053(0x2ba)]=0x232c]=_0x69e053(0x2ba),_0x5c47ea[_0x5c47ea[_0x69e053(0x29b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5c47ea[_0x5c47ea[_0x69e053(0x294)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5c47ea[_0x5c47ea[_0x69e053(0x1b0)]=0x2712]=_0x69e053(0x1b0),_0x5c47ea[_0x5c47ea['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x69e053(0x1a7),_0x5c47ea[_0x5c47ea[_0x69e053(0x2ac)]=0x2714]=_0x69e053(0x2ac),_0x5c47ea[_0x5c47ea[_0x69e053(0x314)]=0x271a]=_0x69e053(0x314),_0x5c47ea[_0x5c47ea[_0x69e053(0x2bd)]=0x271b]=_0x69e053(0x2bd),_0x5c47ea[_0x5c47ea[_0x69e053(0x187)]=0x271c]=_0x69e053(0x187),_0x5c47ea[_0x5c47ea[_0x69e053(0x281)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5c47ea[_0x5c47ea[_0x69e053(0x1df)]=0x271e]=_0x69e053(0x1df),_0x5c47ea[_0x5c47ea[_0x69e053(0x295)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5c47ea[_0x5c47ea[_0x69e053(0x233)]=0x2af9]=_0x69e053(0x233),_0x5c47ea[_0x5c47ea[_0x69e053(0x29c)]=0x2ee1]=_0x69e053(0x29c),_0x5c47ea[_0x5c47ea['INVALID_INVITE_CODE']=0x2ee2]=_0x69e053(0x342),_0x5c47ea[_0x5c47ea['INVITE_CODE_REQUIRED']=0x2ee3]=_0x69e053(0x175),_0x5c47ea[_0x5c47ea[_0x69e053(0x26f)]=0x2ee4]=_0x69e053(0x26f),_0x5c47ea[_0x5c47ea[_0x69e053(0x1fc)]=0x2ee5]=_0x69e053(0x1fc),_0x5c47ea[_0x5c47ea[_0x69e053(0x152)]=0x32c9]=_0x69e053(0x152),_0x5c47ea[_0x5c47ea[_0x69e053(0x325)]=0x32ca]=_0x69e053(0x325),_0x5c47ea[_0x5c47ea[_0x69e053(0x288)]=0x32cb]=_0x69e053(0x288),_0x5c47ea[_0x5c47ea[_0x69e053(0x2e6)]=-0x1]=_0x69e053(0x2e6),_0x5c47ea))(Mt||{}),pn=Object[_0x69e053(0x221)],Cn=(_0x54c862,_0x436081,_0x6d84b8,_0xc6b6db)=>{const _0x19a9e7=_0x69e053;for(var _0x70990f=_0xc6b6db>0x1?void 0x0:_0xc6b6db?pn(_0x436081,_0x6d84b8):_0x436081,_0x25e002=_0x54c862[_0x19a9e7(0x306)]-0x1,_0x33bfc1;_0x25e002>=0x0;_0x25e002--)(_0x33bfc1=_0x54c862[_0x25e002])&&(_0x70990f=_0x33bfc1(_0x70990f)||_0x70990f);return _0x70990f;},be=(_0x5b46a0,_0x56ab5e)=>(_0x289f7d,_0x16958d)=>_0x56ab5e(_0x289f7d,_0x16958d,_0x5b46a0);let rt=class extends _0x404876{constructor(_0x507cbb,_0x1db523,_0x596858){const _0xf123c4=_0x69e053;super(),this[_0xf123c4(0x2be)]=_0x507cbb,this[_0xf123c4(0x277)]=_0x1db523,this[_0xf123c4(0x1e8)]=_0x596858;}async[_0x69e053(0x346)](_0x252e74,_0x3a3adb,_0x522581,..._0x4cbcd9){const _0x51a00a=_0x69e053;var _0x3c2961,_0x591e89,_0xb1d45f,_0x2f8197;const _0xf5780=this[_0x51a00a(0x2be)][_0x51a00a(0x348)]();if(!_0xf5780)throw new Error(_0x51a00a(0x1ed));const _0x252f2f=((_0x3c2961=this[_0x51a00a(0x1e8)][_0x51a00a(0x225)](_0x23f086))!=null?_0x3c2961:_0x3f2c2f)+'/'+_0x252e74+'/run/'+_0x3a3adb,_0x32e77b=new URL(window[_0x51a00a(0x22d)][_0x51a00a(0x1f1)]),_0x43f535={'scriptId':_0x252e74,'runId':(_0x591e89=_0x32e77b['searchParams'][_0x51a00a(0x2a0)](_0x51a00a(0x26b)))!=null?_0x591e89:'','function':_0x3a3adb,'unitId':_0xf5780[_0x51a00a(0x213)](),'argsOfFunction':JSON['stringify'](_0x4cbcd9),'invokeId':(_0xb1d45f=_0x522581[_0x51a00a(0x2cd)])!=null?_0xb1d45f:'','executionId':(_0x2f8197=_0x522581['executionId'])!=null?_0x2f8197:''};try{const _0x16cd3e=await this[_0x51a00a(0x277)][_0x51a00a(0x25f)](_0x252f2f,{'body':_0x43f535});return _0x16cd3e[_0x51a00a(0x2bf)][_0x51a00a(0x216)]&&_0x16cd3e[_0x51a00a(0x2bf)][_0x51a00a(0x216)][_0x51a00a(0x34e)]!==Mt['OK']?_0x51a00a(0x330):_0x16cd3e[_0x51a00a(0x2bf)]['result'];}catch{return _0x51a00a(0x330);}}};rt=Cn([be(0x0,_0x72afad),be(0x1,_0x1edcbc(_0x3f722f)),be(0x2,_0x4c46e3)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x101b2d=_0x1706;(function(_0x27b6c2,_0x9fa8e0){const _0xa16fa4=_0x1706,_0x211215=_0x27b6c2();while(!![]){try{const _0x1871e5=-parseInt(_0xa16fa4(0x2a4))/0x1*(parseInt(_0xa16fa4(0x2bb))/0x2)+parseInt(_0xa16fa4(0x2c2))/0x3*(-parseInt(_0xa16fa4(0x1f6))/0x4)+parseInt(_0xa16fa4(0x2f8))/0x5+parseInt(_0xa16fa4(0x162))/0x6*(parseInt(_0xa16fa4(0x311))/0x7)+parseInt(_0xa16fa4(0x2dd))/0x8+parseInt(_0xa16fa4(0x173))/0x9*(parseInt(_0xa16fa4(0x1ca))/0xa)+-parseInt(_0xa16fa4(0x32f))/0xb;if(_0x1871e5===_0x9fa8e0)break;else _0x211215['push'](_0x211215['shift']());}catch(_0x3ea2bc){_0x211215['push'](_0x211215['shift']());}}}(_0x82c1,0xb05ec));var $t=Object[_0x101b2d(0x2de)],xt=(_0x1107b2,_0x5d13eb,_0x412498)=>_0x5d13eb in _0x1107b2?$t(_0x1107b2,_0x5d13eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x412498}):_0x1107b2[_0x5d13eb]=_0x412498,_=(_0x500aa4,_0xe920f9,_0x250882)=>xt(_0x500aa4,typeof _0xe920f9!=_0x101b2d(0x1b9)?_0xe920f9+'':_0xe920f9,_0x250882);import{MemberService as _0x20617b,SessionStatus as _0x561bcf,CollaborationSessionService as _0x352e5d,CollaborationStatus as _0x3843bb,CollaborationController as _0x80ddbe,ILocalCacheService as _0x55999b,CollaborationUIEventService as _0x4645f6,CollaborationUIEventId as _0x4b9a28,DataLoaderService as _0x371b30,DocCollaborationEntity as _0x238a62,getLocalCacheKey as _0x4fbd4e,LOCAL_CACHE_INTERVAL as _0x8ebb76,LOCAL_CACHE_INTERVAL_KEY as _0x5a6c3b,UniverCollaborationClientPlugin as _0x42a2eb,CollaborationSocketService as _0x356620,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x8df6aa,DEFAULT_WS_SESSION_TICKET_URL as _0x4ba172,UnitStatus as _0x4edacb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1e87e0,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x31e98b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x26536e,Disposable as _0x5d992a,DOC_RANGE_TYPE as _0x5eb485,Inject as _0x412f34,Injector as _0x5734b6,IUniverInstanceService as _0xc3619b,ICommandService as _0xa77dc6,debounce as _0x6b1a0f,Rectangle as _0x19520d,DisposableCollection as _0x260da7,toDisposable as _0x28bae3,UniverInstanceType as _0xcf709f,Tools as _0x2a3c54,COLORS as _0x32ab1b,ColorKit as _0x1e7e40,ThemeService as _0x50e9c8,fromEventSubject as _0x1484c6,LocaleService as _0x2f8db4,createIdentifier as _0x5cf3d3,ILogService as _0x49d917,Optional as _0x28aeef,Workbook as _0x898749,CommandType as _0x5c0bdc,IConfigService as _0x13e366,ILocalStorageService as _0x54e307,DependentOn as _0x3a8c20,Plugin as _0x5ef0c3,merge as _0x78722b,registerDependencies as _0x183f09,mergeOverrideWithDependencies as _0x456b3d,touchDependencies as _0x104d7e,generateRandomId as _0x4c9b9a}from'@univerjs/core';import{Shape as _0x2a3652,Rect as _0x3d537b,getColor as _0x314c84,RegularPolygon as _0x208794,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x51560e,Vector2 as _0xac78c0,SHEET_VIEWPORT_KEY as _0x254e58,IRenderManagerService as _0x472ea2}from'@univerjs/engine-render';import{ISocketService as _0x28d7f0,WebSocketService as _0x5afffe,HTTPService as _0x32db5f}from'@univerjs/network';import{IDocClipboardService as _0x19445b,NodePositionConvertToCursor as _0x328ca9,NodePositionConvertToRectRange as _0x4d23c4,TEXT_RANGE_LAYER_INDEX as _0x17a1bc,SetDocZoomRatioOperation as _0x52aca4,DocIMEInputManagerService as _0x122b5c,DocStateChangeManagerService as _0xe74f9b}from'@univerjs/docs-ui';import{IImageIoService as _0x4edb7e}from'@univerjs/drawing';import{BehaviorSubject as _0x41fdad,debounceTime as _0x3718ed,takeUntil as _0xfd7c4,Subject as _0xe19f7d,filter as _0x40563a,switchMap as _0x15b45b,merge as _0x1c81a4,combineLatest as _0x48820a,of as _0x557760,fromEvent as _0x3c49fd,shareReplay as _0x3f433b,mapTo as _0x44d52f,distinctUntilChanged as _0x26f898}from'rxjs';import{SetTextSelectionsOperation as _0x24409c,RichTextEditingMutation as _0xe372df,DocSelectionManagerService as _0x3a0ec0,DocSkeletonManagerService as _0x585d6e}from'@univerjs/docs';import{ITransformService as _0x4f8e7d,CollaborationEvent as _0xed478a,isTransformMutationFailure as _0xe1a8c3,isTransformMutationsWithChangesetSuccess as _0x220a8f,RevisionService as _0xf00258,ISnapshotServerService as _0x4f4740}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1e17be,serializeRangeWithSheet as _0x3ccf5a}from'@univerjs/engine-formula';import{RefRangeService as _0x2e003e,SetSelectionsOperation as _0x233fea,SheetsSelectionsService as _0xb15271,EffectRefRangId as _0x1d5700,handleIRemoveRow as _0x28a915,handleIRemoveCol as _0x434356,handleMoveRange as _0x27ef59,handleInsertRow as _0x2fd4e6,handleInsertRangeMoveRight as _0xf48d30,handleInsertRangeMoveDown as _0x4357a5,handleInsertCol as _0x4524f5,handleDeleteRangeMoveUp as _0x4684d6,handleDeleteRangeMoveLeft as _0x133582,runRefRangeMutations as _0x3ea665,SetWorksheetActivateCommand as _0x107c84}from'@univerjs/sheets';import{map as _0x4f27de,filter as _0x38c68e,throttleTime as _0x4d6baa,takeUntil as _0x3ec5bf,switchMap as _0x5a8ed8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2e277b,getCoordByCell as _0x1ac391,getSheetObject as _0x4a3ab9}from'@univerjs/sheets-ui';import{jsx as _0x225feb,jsxs as _0x13803a}from'react/jsx-runtime';import{useObservable as _0x5ba64b,useDependency as _0x34c4fd,IUIPartsService as _0x226130,BuiltInUIPart as _0x22aa45,connectInjector as _0xe013cc,IBeforeCloseService as _0x340c2b,IMessageService as _0x1f8231,INotificationService as _0x47a4f4}from'@univerjs/ui';import{Tooltip as _0x46b990,clsx as _0x22505c,MessageType as _0x305fc7}from'@univerjs/design';import{forwardRef as _0x27eda4,useRef as _0x52d2c5,createElement as _0x54f6b3,useCallback as _0x272299}from'react';import{IRemoteInstanceService as _0x4d1629}from'@univerjs/rpc';var ci=Object[_0x101b2d(0x172)],li=(_0x8221f7,_0x4a16f3,_0x32fe5d,_0x34f19d)=>{const _0x5a2f73=_0x101b2d;for(var _0x10ed27=_0x34f19d>0x1?void 0x0:_0x34f19d?ci(_0x4a16f3,_0x32fe5d):_0x4a16f3,_0x40ee3a=_0x8221f7[_0x5a2f73(0x24b)]-0x1,_0x45e111;_0x40ee3a>=0x0;_0x40ee3a--)(_0x45e111=_0x8221f7[_0x40ee3a])&&(_0x10ed27=_0x45e111(_0x10ed27)||_0x10ed27);return _0x10ed27;},Je=(_0x6d5bc6,_0x44baa0)=>(_0x5e2355,_0x2fb42a)=>_0x44baa0(_0x5e2355,_0x2fb42a,_0x6d5bc6);let Ne=class extends _0x26536e{constructor(_0x13b92c,_0x4df27a){const _0x36ddfe=_0x101b2d;super(),this[_0x36ddfe(0x174)]=_0x13b92c,this[_0x36ddfe(0x27c)]=_0x4df27a,this[_0x36ddfe(0x230)]();}[_0x101b2d(0x230)](){const _0x5a368d=_0x101b2d,_0x5bb5ea=this;this['disposeWithMe'](this['_docClipboardService'][_0x5a368d(0x278)]({'onBeforePasteImage':async _0x53e4bb=>{const _0xe20522=_0x5a368d,_0x172dfc=await _0x5bb5ea[_0xe20522(0x27c)][_0xe20522(0x170)](_0x53e4bb);return _0x172dfc?{'source':_0x172dfc['source'],'imageSourceType':_0x172dfc[_0xe20522(0x2ca)]}:null;}}));}};Ne=li([Je(0x0,_0x19445b),Je(0x1,_0x4edb7e)],Ne);const Ze=[_0x101b2d(0x2d0),_0x101b2d(0x21b),_0x101b2d(0x1e9),_0x101b2d(0x29a),'blue.400',_0x101b2d(0x2a6)];function _0x1706(_0xa9203e,_0x16c31c){const _0x82c1c9=_0x82c1();return _0x1706=function(_0x1706a7,_0x495594){_0x1706a7=_0x1706a7-0x146;let _0x3857bd=_0x82c1c9[_0x1706a7];return _0x3857bd;},_0x1706(_0xa9203e,_0x16c31c);}class ke extends _0x5d992a{constructor(){const _0x5033e0=_0x101b2d;super(...arguments),_(this,_0x5033e0(0x2a2),new Map()),_(this,_0x5033e0(0x152),0x0);}[_0x101b2d(0x1e6)](_0x3b8a6f){const _0x2ba98e=_0x101b2d;if(this[_0x2ba98e(0x2a2)][_0x2ba98e(0x1b4)](_0x3b8a6f))return this[_0x2ba98e(0x2a2)][_0x2ba98e(0x23e)](_0x3b8a6f);const _0x3be92e=Ze[this[_0x2ba98e(0x152)]];return this[_0x2ba98e(0x152)]=(this[_0x2ba98e(0x152)]+0x1)%Ze[_0x2ba98e(0x24b)],this[_0x2ba98e(0x2a2)][_0x2ba98e(0x213)](_0x3b8a6f,_0x3be92e),_0x3be92e;}}function Tt(_0x5d0193){const _0x1eb20b=_0x101b2d;let _0x11927d='';for(const _0x181b80 of _0x5d0193){const {startOffset:_0x35bf98,endOffset:_0x57e284,isActive:_0x24f7ae,rangeType:_0x1b98ae,segmentId:_0x42572a,segmentPage:_0x167f92}=_0x181b80;_0x11927d[_0x1eb20b(0x24b)]&&(_0x11927d+=','),_0x11927d+=_0x35bf98+':'+_0x57e284+':'+(_0x24f7ae?'1':'0')+':'+_0x1b98ae+':'+_0x42572a+':'+_0x167f92;}return _0x11927d;}function _i(_0x7aef25){const _0x237b23=_0x101b2d,_0x51a751=_0x7aef25['split'](','),_0x483827=[];for(const _0x115782 of _0x51a751){const [_0x2e4e8d,_0x526cdc,_0x2b3862,_0x16dd99,_0x32920a,_0x59c709]=_0x115782[_0x237b23(0x301)](':');_0x483827[_0x237b23(0x262)]({'startOffset':Number(_0x2e4e8d),'endOffset':Number(_0x526cdc),'collapsed':_0x2e4e8d===_0x526cdc,'isActive':_0x2b3862==='1','rangeType':_0x16dd99===_0x5eb485[_0x237b23(0x1a2)]?_0x5eb485['TEXT']:_0x5eb485[_0x237b23(0x256)],'segmentId':typeof _0x32920a=='string'?String(_0x32920a):'','segmentPage':Number(_0x59c709!=null?_0x59c709:-0x1)});}return _0x483827[_0x237b23(0x335)](_0x59273c=>_0x59273c[_0x237b23(0x1af)])||(_0x483827[0x0][_0x237b23(0x1af)]=!0x0),_0x483827;}class He extends _0x26536e{constructor(){const _0x319a0b=_0x101b2d;super(...arguments),_(this,_0x319a0b(0x31a),new _0x41fdad(null)),_(this,_0x319a0b(0x1dc),this[_0x319a0b(0x31a)][_0x319a0b(0x266)]());}[_0x101b2d(0x2f1)](_0x5b3465){const _0x495d09=_0x101b2d,{unitID:_0x4cc3d7,memberID:_0x11f6e1,textRanges:_0x637e92}=_0x5b3465,_0x59064f=Tt(_0x637e92);if(_0x59064f==='')return;const _0x48ac46={'unitID':_0x4cc3d7,'memberID':_0x11f6e1,'selection':_0x59064f};this[_0x495d09(0x31a)][_0x495d09(0x236)](_0x48ac46);}}var hi=Object[_0x101b2d(0x172)],ui=(_0x78f43,_0x173c80,_0x556a54,_0x5ef196)=>{for(var _0x59121f=_0x5ef196>0x1?void 0x0:_0x5ef196?hi(_0x173c80,_0x556a54):_0x173c80,_0xcddcb5=_0x78f43['length']-0x1,_0x20c7ef;_0xcddcb5>=0x0;_0xcddcb5--)(_0x20c7ef=_0x78f43[_0xcddcb5])&&(_0x59121f=_0x20c7ef(_0x59121f)||_0x59121f);return _0x59121f;},P=(_0x5574c1,_0x1a5722)=>(_0x348e5d,_0x4b10d2)=>_0x1a5722(_0x348e5d,_0x4b10d2,_0x5574c1);const di=0x12c,fi=0x64;let Ue=class extends _0x26536e{constructor(_0x138d12,_0x2421b4,_0x4e56a4,_0x5a5618,_0x322ace,_0x4e1e4b,_0x3a576f,_0x1d035a,_0x744ac2){const _0x344e12=_0x101b2d;super(),_(this,_0x344e12(0x1e2),!0x1),_(this,_0x344e12(0x230),!0x1),_(this,_0x344e12(0x1be),new _0x41fdad(new Map())),_(this,_0x344e12(0x241),this[_0x344e12(0x1be)][_0x344e12(0x266)]()),_(this,'_roomMembers$',new _0x41fdad([])),_(this,'roomMembers$',this['_roomMembers$'][_0x344e12(0x264)](_0x3718ed(di))),_(this,'_updateLocalCursor',_0x6b1a0f(_0x618bc0=>{const _0x47d7a3=_0x344e12,_0x4890de={'eventID':_0xed478a[_0x47d7a3(0x27a)],'data':{'unitID':this[_0x47d7a3(0x2e4)],'memberID':this['_session'][_0x47d7a3(0x24e)](),'selection':Tt(_0x618bc0)}};this[_0x47d7a3(0x23b)][_0x47d7a3(0x2d8)](_0x4890de,this[_0x47d7a3(0x2e4)]);},fi)),(this[_0x344e12(0x2e4)]=_0x138d12,this[_0x344e12(0x23b)]=_0x2421b4,this[_0x344e12(0x332)]=_0x4e56a4,this[_0x344e12(0x219)]=_0x5a5618,this['_memberService']=_0x322ace,this['_syncEditingCollabCursorService']=_0x4e1e4b,this[_0x344e12(0x159)]=_0x3a576f,this[_0x344e12(0x1fb)]=_0x1d035a,this[_0x344e12(0x1ac)]=_0x744ac2);}get[_0x101b2d(0x2d5)](){const _0x12d404=_0x101b2d;return this[_0x12d404(0x1be)][_0x12d404(0x1bb)]();}get[_0x101b2d(0x185)](){const _0x4de1d2=_0x101b2d;return this[_0x4de1d2(0x1c4)][_0x4de1d2(0x1bb)]();}['dispose'](){const _0x580934=_0x101b2d;super['dispose'](),this[_0x580934(0x1be)][_0x580934(0x236)](new Map()),this[_0x580934(0x1be)]['complete'](),this[_0x580934(0x1c4)][_0x580934(0x236)]([]),this['_roomMembers$'][_0x580934(0x32a)]();}[_0x101b2d(0x222)](){const _0x36f158=_0x101b2d;this[_0x36f158(0x230)]||(this[_0x36f158(0x230)]=!0x0,this[_0x36f158(0x23b)]['sessionStatus$']['pipe'](_0xfd7c4(this[_0x36f158(0x312)]))['subscribe'](_0x3afd87=>{const _0x558278=_0x36f158;_0x3afd87===_0x561bcf[_0x558278(0x2ea)]?this[_0x558278(0x20b)]():this['_toggleOffline']();}),this[_0x36f158(0x23b)][_0x36f158(0x180)][_0x36f158(0x264)](_0xfd7c4(this[_0x36f158(0x312)]))['subscribe'](_0x2a5a81=>{const _0x1a20f9=_0x36f158,_0x2815d0=_0x2a5a81[_0x1a20f9(0x163)];_0x2815d0===_0xed478a[_0x1a20f9(0x27a)]&&this[_0x1a20f9(0x302)](_0x2a5a81),_0x2815d0===_0xed478a[_0x1a20f9(0x2aa)]&&this['_onCursorDelete'](_0x2a5a81);}),this[_0x36f158(0x197)](this[_0x36f158(0x1ac)][_0x36f158(0x1b2)](_0x50dd95=>{const _0x25fcbb=_0x36f158,_0x41fa6b=_0x50dd95[_0x25fcbb(0x330)];_0x41fa6b!=null&&this[_0x25fcbb(0x1e2)]&&_0x50dd95['id']===_0x24409c['id']&&_0x41fa6b[_0x25fcbb(0x333)]===this[_0x25fcbb(0x2e4)]&&_0x41fa6b[_0x25fcbb(0x189)]===!0x1&&_0x41fa6b['ranges'][_0x25fcbb(0x24b)]>0x0&&this[_0x25fcbb(0x344)](_0x41fa6b[_0x25fcbb(0x281)]);})),this['_syncEditingCollabCursorService'][_0x36f158(0x1dc)][_0x36f158(0x264)](_0xfd7c4(this[_0x36f158(0x312)]))['subscribe'](_0x53105e=>{const _0x2d92f5=_0x36f158;if((_0x53105e==null?void 0x0:_0x53105e['unitID'])!==this[_0x2d92f5(0x2e4)])return;const _0xdf2f52={'eventID':_0xed478a[_0x2d92f5(0x27a)],'data':_0x53105e};this[_0x2d92f5(0x302)](_0xdf2f52);}),this[_0x36f158(0x197)](this[_0x36f158(0x1ac)]['onCommandExecuted'](_0x46c9ca=>{const _0x453099=_0x36f158;if(_0x46c9ca[_0x453099(0x330)]==null)return;const _0x5f5891=_0x46c9ca[_0x453099(0x330)];if(_0x46c9ca['id']!==_0xe372df['id']||_0x5f5891['unitId']!==this[_0x453099(0x2e4)])return;const _0x7d0615={'id':'doc.mutation.rich-text-editing','params':_0x5f5891},_0x32fb04=this[_0x453099(0x2d5)];for(const [_0x3a604e,_0x5ea2f7]of _0x32fb04){const _0x420742={'id':_0x453099(0x22e),'params':{'unitId':this[_0x453099(0x2e4)],'actions':null,'textRanges':_0x5ea2f7[_0x453099(0x281)]}},_0x8b314e=this[_0x453099(0x159)][_0x453099(0x17e)](_0x7d0615,_0x420742,!0x1);if(_0xe1a8c3(_0x8b314e))throw _0x8b314e['error'];_0x32fb04['set'](_0x3a604e,{..._0x5ea2f7,'ranges':_0x8b314e[_0x453099(0x1f2)][_0x453099(0x330)]['textRanges']});}queueMicrotask(()=>{const _0x5bf4ac=_0x453099;this[_0x5bf4ac(0x1be)][_0x5bf4ac(0x236)](_0x32fb04);});})));}[_0x101b2d(0x302)](_0x8be697){const _0x2a8564=_0x101b2d;var _0x53696c,_0x1cbfa5;const {memberID:_0x53939f,selection:_0xe0ffdb}=_0x8be697['data'],_0x46e3e1=_i(_0xe0ffdb),_0x363240=(_0x1cbfa5=(_0x53696c=this[_0x2a8564(0x277)]['getMember'](this[_0x2a8564(0x2e4)],_0x53939f))==null?void 0x0:_0x53696c['name'])!=null?_0x1cbfa5:'Unknown\x20user',_0x5b78a3={'color':this[_0x2a8564(0x219)][_0x2a8564(0x1e6)](_0x53939f),'name':_0x363240,'ranges':_0x46e3e1},_0x1492d8=this[_0x2a8564(0x2d5)];_0x1492d8[_0x2a8564(0x213)](_0x53939f,_0x5b78a3),this['_cursorInfo$'][_0x2a8564(0x236)](_0x1492d8);}[_0x101b2d(0x248)](_0x16bd6d){const _0x1039bc=_0x101b2d,{memberID:_0x12d4ec}=_0x16bd6d['data'],_0x169e8b=this['cursorInfo'];_0x169e8b[_0x1039bc(0x27f)](_0x12d4ec),this['_cursorInfo$'][_0x1039bc(0x236)](_0x169e8b);}[_0x101b2d(0x20b)](){const _0x4bda8f=_0x101b2d;var _0x4519e9;if(this[_0x4bda8f(0x1e2)]=!0x0,((_0x4519e9=this[_0x4bda8f(0x1fb)][_0x4bda8f(0x271)]())==null?void 0x0:_0x4519e9[_0x4bda8f(0x343)]())!==this['unitID'])return;const _0x4c6207=this['_injector'][_0x4bda8f(0x23e)](_0x3a0ec0)['getDocRanges']();Array[_0x4bda8f(0x1ab)](_0x4c6207)&&_0x4c6207[_0x4bda8f(0x24b)]>0x0&&this[_0x4bda8f(0x344)](_0x4c6207);}[_0x101b2d(0x30a)](){const _0x3526d8=_0x101b2d;this[_0x3526d8(0x1e2)]=!0x1;}};Ue=ui([P(0x2,_0x412f34(_0x5734b6)),P(0x3,_0x412f34(ke)),P(0x4,_0x412f34(_0x20617b)),P(0x5,_0x412f34(He)),P(0x6,_0x4f8e7d),P(0x7,_0xc3619b),P(0x8,_0xa77dc6)],Ue);var Si=Object[_0x101b2d(0x172)],mi=(_0x38780c,_0x1be406,_0x2b2ae9,_0xf657c8)=>{for(var _0x164099=_0xf657c8>0x1?void 0x0:_0xf657c8?Si(_0x1be406,_0x2b2ae9):_0x1be406,_0x5b3a8f=_0x38780c['length']-0x1,_0x19ce00;_0x5b3a8f>=0x0;_0x5b3a8f--)(_0x19ce00=_0x38780c[_0x5b3a8f])&&(_0x164099=_0x19ce00(_0x164099)||_0x164099);return _0x164099;},x=(_0x218d96,_0x1d2474)=>(_0x44e046,_0x2776ab)=>_0x1d2474(_0x44e046,_0x2776ab,_0x218d96);const Ii=0x12c,gi=0x64,vi=()=>{let _0x444712=[],_0x2894c7=!0x1;return _0x4240f8=>{const _0x24132a=_0x1706;_0x444712[_0x24132a(0x262)](_0x4240f8),_0x2894c7||(_0x2894c7=!0x0,setTimeout(()=>{const _0x18871e=_0x24132a;_0x444712[_0x18871e(0x18a)](_0x15d5b9=>_0x15d5b9()),_0x444712=[],_0x2894c7=!0x1;}));};};let Me=class extends _0x26536e{constructor(_0x3272cc,_0x2058b7,_0x498e43,_0x48bd11,_0x3631fa,_0x2d83d6,_0x53625c,_0xa254af){const _0x1acd0d=_0x101b2d;super(),_(this,'_online',!0x1),_(this,_0x1acd0d(0x230),!0x1),_(this,_0x1acd0d(0x1be),new _0x41fdad(new Map())),_(this,_0x1acd0d(0x241),this[_0x1acd0d(0x1be)]['asObservable']()),_(this,_0x1acd0d(0x1c4),new _0x41fdad([])),_(this,_0x1acd0d(0x2f6),this[_0x1acd0d(0x1c4)][_0x1acd0d(0x264)](_0x3718ed(Ii))),_(this,'_updateLocalCursor',_0x6b1a0f((_0x2c3be8,_0x5f0204)=>{const _0x27dd25=_0x1acd0d,_0x49cde1={'eventID':_0xed478a[_0x27dd25(0x27a)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x27dd25(0x24e)](),'selection':_0x3ccf5a(_0x2c3be8,_0x5f0204['range'])}};this[_0x27dd25(0x23b)]['send'](_0x49cde1,this[_0x27dd25(0x2e4)]);},gi)),(this[_0x1acd0d(0x2e4)]=_0x3272cc,this['_session']=_0x2058b7,this[_0x1acd0d(0x332)]=_0x498e43,this[_0x1acd0d(0x219)]=_0x48bd11,this[_0x1acd0d(0x277)]=_0x3631fa,this[_0x1acd0d(0x1fb)]=_0x2d83d6,this[_0x1acd0d(0x1ac)]=_0x53625c,this['_refRangeService']=_0xa254af);}get[_0x101b2d(0x2d5)](){const _0x2e5700=_0x101b2d;return this[_0x2e5700(0x1be)][_0x2e5700(0x1bb)]();}get[_0x101b2d(0x185)](){const _0x2e977e=_0x101b2d;return this[_0x2e977e(0x1c4)][_0x2e977e(0x1bb)]();}[_0x101b2d(0x1ec)](){const _0x85af7f=_0x101b2d;super['dispose'](),this[_0x85af7f(0x1be)]['next'](new Map()),this[_0x85af7f(0x1be)][_0x85af7f(0x32a)](),this[_0x85af7f(0x1c4)][_0x85af7f(0x236)]([]),this[_0x85af7f(0x1c4)][_0x85af7f(0x32a)]();}[_0x101b2d(0x222)](){const _0x4ae6cf=_0x101b2d;this[_0x4ae6cf(0x230)]||(this[_0x4ae6cf(0x230)]=!0x0,this['_session']['sessionStatus$'][_0x4ae6cf(0x264)](_0xfd7c4(this[_0x4ae6cf(0x312)]))[_0x4ae6cf(0x1e8)](_0x3b0046=>{const _0x2bfa36=_0x4ae6cf;_0x3b0046===_0x561bcf[_0x2bfa36(0x2ea)]?this[_0x2bfa36(0x20b)]():this[_0x2bfa36(0x30a)]();}),this[_0x4ae6cf(0x23b)][_0x4ae6cf(0x180)]['pipe'](_0xfd7c4(this[_0x4ae6cf(0x312)]))['subscribe'](_0x3bceff=>{const _0x790db8=_0x4ae6cf,_0x55a51e=_0x3bceff[_0x790db8(0x163)];_0x55a51e===_0xed478a[_0x790db8(0x27a)]&&this[_0x790db8(0x302)](_0x3bceff),_0x55a51e===_0xed478a[_0x790db8(0x2aa)]&&this[_0x790db8(0x248)](_0x3bceff);}),this[_0x4ae6cf(0x24c)](),this[_0x4ae6cf(0x197)](this[_0x4ae6cf(0x1ac)][_0x4ae6cf(0x1b2)](_0x350485=>{const _0x37d8bc=_0x4ae6cf;if(this[_0x37d8bc(0x1e2)]&&_0x350485['id']===_0x233fea['id']&&_0x350485[_0x37d8bc(0x330)][_0x37d8bc(0x333)]===this[_0x37d8bc(0x2e4)]){const _0x410c35=_0x350485[_0x37d8bc(0x330)];this[_0x37d8bc(0x344)](_0x410c35[_0x37d8bc(0x1c7)],_0x410c35[_0x37d8bc(0x309)][0x0]);}})));}[_0x101b2d(0x302)](_0x229c8a){const _0x1cc0de=_0x101b2d;var _0xe19467,_0x2ae521;const {memberID:_0x2d2baf,selection:_0x5002bb}=_0x229c8a[_0x1cc0de(0x1cd)],{sheetName:_0x22918f,range:_0x2845cb}=_0x1e17be(_0x5002bb),_0x2b4d53={'name':(_0x2ae521=(_0xe19467=this['_memberService']['getMember'](this['unitID'],_0x2d2baf))==null?void 0x0:_0xe19467[_0x1cc0de(0x2f4)])!=null?_0x2ae521:_0x1cc0de(0x22f),'range':this[_0x1cc0de(0x2be)](_0x22918f,_0x2845cb),'sheetID':_0x22918f,'color':this[_0x1cc0de(0x219)][_0x1cc0de(0x1e6)](_0x2d2baf),'selection':_0x5002bb},_0x34d650=this[_0x1cc0de(0x2d5)];_0x34d650[_0x1cc0de(0x213)](_0x2d2baf,_0x2b4d53),this[_0x1cc0de(0x1be)][_0x1cc0de(0x236)](_0x34d650);}['_onCursorDelete'](_0x282cac){const _0x3db485=_0x101b2d,{memberID:_0x3165dd}=_0x282cac['data'],_0x27a12e=this[_0x3db485(0x2d5)];_0x27a12e['delete'](_0x3165dd),this['_cursorInfo$'][_0x3db485(0x236)](_0x27a12e);}[_0x101b2d(0x2be)](_0x2c7b95,_0x418a44){const _0x517f16=_0x101b2d;var _0x1897e3,_0x395abe;const _0x3e9c54=(_0x395abe=(_0x1897e3=this[_0x517f16(0x1fb)][_0x517f16(0x1fc)](this[_0x517f16(0x2e4)]))==null?void 0x0:_0x1897e3[_0x517f16(0x31c)](_0x2c7b95))==null?void 0x0:_0x395abe[_0x517f16(0x148)]();return(_0x3e9c54==null?void 0x0:_0x3e9c54[_0x517f16(0x1f4)](_0xa91a63=>_0x19520d['contains'](_0xa91a63,_0x418a44)))||_0x418a44;}['_onRefRangeChange'](){const _0x58fc2e=_0x101b2d,_0xec8b13=new _0x260da7(),_0x40a80e=vi(),_0x58a470=()=>{const _0xd9436b=_0x1706;_0xec8b13['dispose']();const _0x1c6eda=(_0x51ec01,_0x1a2f28,_0x3bc2c8,_0x170abc)=>{const _0x3cf05c=_0x1706;let _0x597128=[];switch(_0x51ec01['id']){case _0x1d5700[_0x3cf05c(0x2fa)]:{_0x597128=_0x133582(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x1db)]:{_0x597128=_0x4684d6(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x305)]:{_0x597128=_0x4524f5(_0x51ec01,_0x170abc);break;}case _0x1d5700['InsertRangeMoveDownCommandId']:{_0x597128=_0x4357a5(_0x51ec01,_0x170abc);break;}case _0x1d5700['InsertRangeMoveRightCommandId']:{_0x597128=_0xf48d30(_0x51ec01,_0x170abc);break;}case _0x1d5700['InsertRowCommandId']:{_0x597128=_0x2fd4e6(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x168)]:{_0x597128=_0x27ef59(_0x51ec01,_0x170abc);break;}case _0x1d5700[_0x3cf05c(0x235)]:{_0x597128=_0x434356(_0x51ec01,_0x170abc);break;}case _0x1d5700['RemoveRowCommandId']:{_0x597128=_0x28a915(_0x51ec01,_0x170abc);break;}}const _0x261470=_0x3ea665(_0x597128,_0x170abc),_0x3eec7a=this[_0x3cf05c(0x2d5)]['get'](_0x1a2f28);if(_0x3eec7a&&_0x261470){const _0x257497={..._0x3eec7a,'range':_0x261470};this[_0x3cf05c(0x2d5)][_0x3cf05c(0x213)](_0x1a2f28,_0x257497),_0x40a80e(()=>{const _0xdc31ff=_0x3cf05c,_0x53be07=this[_0xdc31ff(0x2d4)]['registerRefRange'](_0x261470,_0xb02582=>(_0x53be07[_0xdc31ff(0x1ec)](),_0x1c6eda(_0xb02582,_0x1a2f28,_0x3bc2c8,_0x261470)));_0xec8b13['add'](_0x53be07);});}return{'redos':[],'undos':[]};};this[_0xd9436b(0x2d5)][_0xd9436b(0x18a)]((_0x1470e3,_0x5c06d2)=>{const _0xbfdd41=_0xd9436b,{range:_0x390a68,sheetID:_0x277041}=_0x1470e3,_0x27ad19=this[_0xbfdd41(0x2d4)][_0xbfdd41(0x310)](_0x390a68,_0x38dc0a=>(_0x27ad19['dispose'](),_0x1c6eda(_0x38dc0a,_0x5c06d2,_0x277041,_0x390a68)));_0xec8b13[_0xbfdd41(0x2d6)](_0x27ad19);});};this[_0x58fc2e(0x197)](_0x28bae3(this['_cursorInfo$']['subscribe'](()=>{_0x58a470();})));}[_0x101b2d(0x20b)](){const _0x59e965=_0x101b2d;var _0x9d4f46,_0x54a972;if(this[_0x59e965(0x1e2)]=!0x0,((_0x9d4f46=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x9d4f46[_0x59e965(0x343)]())!==this[_0x59e965(0x2e4)])return;const _0x2848bb=(_0x54a972=this['_injector'][_0x59e965(0x23e)](_0xb15271)[_0x59e965(0x1a7)]())==null?void 0x0:_0x54a972[0x0],_0x1e6171=this[_0x59e965(0x1fb)]['getCurrentUnitForType'](_0xcf709f[_0x59e965(0x348)])[_0x59e965(0x1bd)]();_0x2848bb&&_0x1e6171&&this[_0x59e965(0x344)](_0x1e6171[_0x59e965(0x17b)](),_0x2848bb);}[_0x101b2d(0x30a)](){const _0x22f32f=_0x101b2d;this[_0x22f32f(0x1e2)]=!0x1;}};Me=mi([x(0x2,_0x412f34(_0x5734b6)),x(0x3,_0x412f34(ke)),x(0x4,_0x412f34(_0x20617b)),x(0x5,_0xc3619b),x(0x6,_0xa77dc6),x(0x7,_0x412f34(_0x2e003e))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x127e76,_0x213d0c,_0xfb7bb3,_0x137776)=>{for(var _0xe87f3=_0x137776>0x1?void 0x0:_0x137776?pi(_0x213d0c,_0xfb7bb3):_0x213d0c,_0x5a9fb1=_0x127e76['length']-0x1,_0x180d4c;_0x5a9fb1>=0x0;_0x5a9fb1--)(_0x180d4c=_0x127e76[_0x5a9fb1])&&(_0xe87f3=_0x180d4c(_0xe87f3)||_0xe87f3);return _0xe87f3;},Se=(_0x122875,_0x5ef94d)=>(_0x3413b7,_0x3db575)=>_0x5ef94d(_0x3413b7,_0x3db575,_0x122875);let H=class extends _0x26536e{constructor(_0xf7a0e9,_0x40d352,_0x43e763){const _0x592782=_0x101b2d;super(),_(this,_0x592782(0x33e),new Map()),_(this,'_entityInit$',new _0xe19f7d()),(this[_0x592782(0x1fb)]=_0xf7a0e9,this['_injector']=_0x40d352,this[_0x592782(0x1fd)]=_0x43e763,this[_0x592782(0x230)]());}[_0x101b2d(0x1ec)](){const _0x5e98eb=_0x101b2d;super['dispose'](),this[_0x5e98eb(0x2fb)][_0x5e98eb(0x32a)](),this[_0x5e98eb(0x33e)][_0x5e98eb(0x18a)](_0x5d5374=>_0x5d5374[_0x5e98eb(0x1ec)]());}[_0x101b2d(0x342)](_0x58df50){const _0x4798bf=_0x101b2d;return this['_entities']['has'](_0x58df50)?this[_0x4798bf(0x33e)][_0x4798bf(0x23e)](_0x58df50)['cursorInfo$']:this[_0x4798bf(0x2fb)][_0x4798bf(0x264)](_0x40563a(_0x5f4a3f=>_0x5f4a3f[_0x4798bf(0x2e4)]===_0x58df50),_0x15b45b(_0x51587c=>_0x51587c[_0x4798bf(0x241)]));}[_0x101b2d(0x230)](){const _0x20db1d=_0x101b2d;this['_univerInstanceService'][_0x20db1d(0x31e)](_0xcf709f[_0x20db1d(0x348)])[_0x20db1d(0x264)](_0xfd7c4(this[_0x20db1d(0x312)]))['subscribe'](async _0x1ff407=>{const _0x52bbcf=_0x20db1d,_0x16a102=_0x1ff407[_0x52bbcf(0x343)](),_0x344a6b=await this[_0x52bbcf(0x158)](_0x16a102);this[_0x52bbcf(0x2fb)]['next'](_0x344a6b),this[_0x52bbcf(0x33e)][_0x52bbcf(0x213)](_0x16a102,_0x344a6b);}),this[_0x20db1d(0x1fb)][_0x20db1d(0x31e)](_0xcf709f[_0x20db1d(0x1b5)])['pipe'](_0xfd7c4(this[_0x20db1d(0x312)]))[_0x20db1d(0x264)](_0x40563a(_0x3babc6=>!_0x3babc6[_0x20db1d(0x343)]()[_0x20db1d(0x1d0)]('__')))['subscribe'](async _0x353304=>{const _0xdd7a99=_0x20db1d,_0x1e9397=_0x353304[_0xdd7a99(0x343)](),_0x460351=await this['_startDocCollabCursor'](_0x1e9397);this[_0xdd7a99(0x2fb)][_0xdd7a99(0x236)](_0x460351),this['_entities']['set'](_0x1e9397,_0x460351);}),_0x1c81a4(this[_0x20db1d(0x1fb)][_0x20db1d(0x2dc)](_0xcf709f[_0x20db1d(0x1b5)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xcf709f[_0x20db1d(0x348)]))[_0x20db1d(0x264)](_0xfd7c4(this['dispose$']))[_0x20db1d(0x1e8)](_0xbf400d=>{const _0x6ca2de=_0x20db1d,_0x4073d2=_0xbf400d[_0x6ca2de(0x343)](),_0x20a0b2=this[_0x6ca2de(0x33e)][_0x6ca2de(0x23e)](_0x4073d2);_0x20a0b2&&(_0x20a0b2[_0x6ca2de(0x1ec)](),this[_0x6ca2de(0x33e)][_0x6ca2de(0x27f)](_0x4073d2));});}async[_0x101b2d(0x158)](_0x2ae727){const _0x4e2133=_0x101b2d,_0x3102c0=await this[_0x4e2133(0x1fd)][_0x4e2133(0x2c9)](_0x2ae727),_0x2455ca=this['_injector']['createInstance'](Me,_0x2ae727,_0x3102c0);return _0x2455ca[_0x4e2133(0x222)](),_0x2455ca;}async[_0x101b2d(0x2ee)](_0x438b16){const _0xb56c05=_0x101b2d,_0x131fa4=await this['_collabSessionService'][_0xb56c05(0x2c9)](_0x438b16),_0x549e08=this['_injector'][_0xb56c05(0x26b)](Ue,_0x438b16,_0x131fa4);return _0x549e08[_0xb56c05(0x222)](),_0x549e08;}};H=Ci([Se(0x0,_0xc3619b),Se(0x1,_0x412f34(_0x5734b6)),Se(0x2,_0x412f34(_0x352e5d))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x47744c,_0x3fcfaa){const _0x51098d=_0x101b2d;let {radius:_0x1cebc3,width:_0x2223af,height:_0x39a252}=_0x3fcfaa;_0x1cebc3=_0x1cebc3!=null?_0x1cebc3:0x0,_0x2223af=_0x2223af!=null?_0x2223af:0x1e,_0x39a252=_0x39a252!=null?_0x39a252:0x1e;let _0x143809=0x0,_0x134632=0x0,_0x9599b3=0x0;_0x143809=_0x134632=_0x9599b3=Math[_0x51098d(0x212)](_0x1cebc3,_0x2223af/0x2,_0x39a252/0x2),_0x47744c[_0x51098d(0x1b1)](),_0x47744c[_0x51098d(0x2d9)](_0x143809,0x0),_0x47744c[_0x51098d(0x19f)](_0x2223af-_0x134632,0x0),_0x47744c[_0x51098d(0x2fc)](_0x2223af-_0x134632,_0x134632,_0x134632,Math['PI']*0x3/0x2,0x0,!0x1),_0x47744c[_0x51098d(0x19f)](_0x2223af,_0x39a252-_0x9599b3),_0x47744c[_0x51098d(0x2fc)](_0x2223af-_0x9599b3,_0x39a252-_0x9599b3,_0x9599b3,0x0,Math['PI']/0x2,!0x1),_0x47744c[_0x51098d(0x19f)](0x0,_0x39a252),_0x47744c[_0x51098d(0x19f)](0x0,_0x143809),_0x47744c['arc'](_0x143809,_0x143809,_0x143809,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47744c[_0x51098d(0x21c)](),_0x3fcfaa['fill']&&(_0x47744c[_0x51098d(0x2ff)](),_0x47744c[_0x51098d(0x2d7)]=_0x3fcfaa['fill'],_0x3fcfaa[_0x51098d(0x295)]===_0x51098d(0x15b)?_0x47744c['fill'](_0x51098d(0x15b)):_0x47744c[_0x51098d(0x340)](),_0x47744c[_0x51098d(0x325)]());}class he extends _0x2a3652{constructor(_0x4d0759,_0x481d39){const _0x1b98aa=_0x101b2d;super(_0x4d0759,_0x481d39),_(this,_0x1b98aa(0x17f)),_(this,_0x1b98aa(0x2c8)),(this['color']=_0x481d39==null?void 0x0:_0x481d39[_0x1b98aa(0x17f)],this[_0x1b98aa(0x2c8)]=_0x481d39==null?void 0x0:_0x481d39['text']);}static['drawWith'](_0x13eb55,_0xecd741){const _0x1e3e90=_0x101b2d,{text:_0x186622,color:_0xfc7dba}=_0xecd741;_0x13eb55[_0x1e3e90(0x2ff)](),_0x13eb55['font']=_0x1e3e90(0x320);const _0x413c03=_0x13eb55[_0x1e3e90(0x179)](_0x186622)[_0x1e3e90(0x329)],_0x3a620f=Math[_0x1e3e90(0x212)](_0x413c03+0x2*me,Qe);Oi(_0x13eb55,{'height':ee,'radius':0x4,'width':_0x3a620f,'fill':_0xfc7dba}),_0x13eb55[_0x1e3e90(0x2d7)]=_0x1e3e90(0x1b7);const _0x3dae6a=me,_0x4088d1=ee-Ei,_0x51c0b7=Qe-0x2*me;if(_0x413c03>_0x51c0b7){let _0x4f5d43='',_0x215930=0x0;for(const _0x1706bf of _0x186622){const _0x189687=_0x13eb55['measureText'](_0x1706bf)[_0x1e3e90(0x329)];if(_0x215930+_0x189687<=_0x51c0b7-_0x13eb55[_0x1e3e90(0x179)](_0x1e3e90(0x2a5))[_0x1e3e90(0x329)])_0x4f5d43+=_0x1706bf,_0x215930+=_0x189687;else{_0x4f5d43+=_0x1e3e90(0x2a5);break;}}_0x13eb55['fillText'](_0x4f5d43,_0x3dae6a,_0x4088d1);}else _0x13eb55[_0x1e3e90(0x2b8)](_0x186622,_0x3dae6a,_0x4088d1);_0x13eb55[_0x1e3e90(0x325)]();}[_0x101b2d(0x245)](_0x410224){const _0x5a3f72=_0x101b2d;he[_0x5a3f72(0x257)](_0x410224,this);}}const Ie=_0x101b2d(0x331),bi='collab-text-range-',Ti=_0x101b2d(0x303),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x101b2d(0x28d);class qe{constructor(_0x518510,_0x36326e,_0x4a006d,_0xe4fcf4){const _0x444f47=_0x101b2d;_(this,_0x444f47(0x182),[]),_(this,_0x444f47(0x2e3),null),_(this,_0x444f47(0x1e4),null),_(this,'_anchorDot',null),_(this,_0x444f47(0x1e3),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0x518510,this[_0x444f47(0x2ab)]=_0x36326e,this[_0x444f47(0x147)]=_0x4a006d,this[_0x444f47(0x223)]=_0xe4fcf4,this[_0x444f47(0x2a3)]());}set[_0x101b2d(0x20c)](_0x11d348){const _0x26b7dd=_0x101b2d;_0x11d348?(this[_0x26b7dd(0x251)]&&this[_0x26b7dd(0x251)][_0x26b7dd(0x166)](),this[_0x26b7dd(0x1e4)]&&this[_0x26b7dd(0x1e4)][_0x26b7dd(0x293)]()):(this[_0x26b7dd(0x251)]&&this[_0x26b7dd(0x251)][_0x26b7dd(0x293)](),this[_0x26b7dd(0x1e4)]&&this[_0x26b7dd(0x1e4)][_0x26b7dd(0x166)]());}[_0x101b2d(0x1ec)](){const _0x2c9455=_0x101b2d;for(const _0x55fdc9 of this[_0x2c9455(0x182)])_0x55fdc9[_0x2c9455(0x1ec)]();this[_0x2c9455(0x1e4)]&&this[_0x2c9455(0x1e4)]['dispose'](),this[_0x2c9455(0x251)]&&this[_0x2c9455(0x251)][_0x2c9455(0x1ec)](),this[_0x2c9455(0x2e3)]&&this[_0x2c9455(0x2e3)][_0x2c9455(0x1ec)](),this[_0x2c9455(0x21f)]&&this[_0x2c9455(0x21f)]();}[_0x101b2d(0x2a3)](){const _0x4d22af=_0x101b2d;var _0x4f2311;const {_docSkeleton:_0x2db98e,_document:_0x2f04a0}=this,{color:_0xd94961,name:_0x2b0da6,ranges:_0x5f3f3e}=this['_cursor'],_0x2aa8f4=_0x2f04a0[_0x4d22af(0x24a)](),{docsLeft:_0x3082ea,docsTop:_0x4306de}=_0x2aa8f4,_0xad4b01=new _0x328ca9(_0x2aa8f4,_0x2db98e);for(const {startOffset:_0x246a64,endOffset:_0x4352c6,rangeType:_0x24bf65,segmentId:_0x2a8c97,segmentPage:_0x49145f,collapsed:_0x4548f1,isActive:_0x32f17e}of _0x5f3f3e){const _0x592013=_0x2db98e['findNodePositionByCharIndex'](_0x246a64,!0x0,_0x2a8c97,_0x49145f);let _0x184657=_0x2db98e[_0x4d22af(0x214)](_0x4352c6,!0x0,_0x2a8c97,_0x49145f);if(_0x184657==null&&(_0x184657=_0x2db98e[_0x4d22af(0x214)](_0x4352c6-0x1,!0x1,_0x2a8c97,_0x49145f)),_0x32f17e){const {contentBoxPointGroup:_0x47025e}=_0xad4b01[_0x4d22af(0x2e1)](_0x184657,_0x184657);if(_0x47025e[_0x4d22af(0x24b)]===0x0)continue;this[_0x4d22af(0x1f1)](_0xd94961,_0x47025e,_0x3082ea,_0x4306de,_0x2b0da6),this[_0x4d22af(0x21f)]=this[_0x4d22af(0x1bf)]();}if(_0x592013&&_0x184657){if(_0x24bf65===_0x5eb485[_0x4d22af(0x256)]){const _0x2c78b8=new _0x4d23c4(_0x2aa8f4,_0x2db98e),{pointGroup:_0x6f3002}=(_0x4f2311=_0x2c78b8[_0x4d22af(0x2e1)](_0x592013,_0x184657))!=null?_0x4f2311:{};if(_0x6f3002==null||_0x6f3002[_0x4d22af(0x24b)]===0x0)continue;this[_0x4d22af(0x27d)](_0xd94961,_0x6f3002,_0x3082ea,_0x4306de);}else{if(!_0x4548f1){const {borderBoxPointGroup:_0x39ae6b}=_0xad4b01[_0x4d22af(0x2e1)](_0x592013,_0x184657);if(_0x39ae6b[_0x4d22af(0x24b)]===0x0)continue;this[_0x4d22af(0x196)](_0xd94961,_0x39ae6b,_0x3082ea,_0x4306de);}}}}}['_drawAnchor'](_0x3f1f8f,_0x4fe5e4,_0x38081b,_0x193485,_0x2ba100){const _0x12947e=_0x101b2d,_0xfd7158=this[_0x12947e(0x206)](_0x4fe5e4),{left:_0x27e207,top:_0x1fb386,height:_0x48378e}=_0xfd7158,_0x1f3710=this[_0x12947e(0x16d)](),_0xd8dc30=Di/_0x1f3710,_0x270ea0=new _0x3d537b(Ie+_0x2a3c54['generateRandomId'](X),{'left':_0x27e207+_0x38081b-_0xd8dc30,'top':_0x1fb386+_0x193485,'height':_0x48378e,'width':Ri,'fill':_0x3f1f8f||_0x314c84(_0x32ab1b[_0x12947e(0x2b3)],0x0),'strokeWidth':_0xd8dc30,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x270ea0,this['_scene'][_0x12947e(0x1ae)](_0x270ea0,_0x17a1bc);const _0xef7069=new _0x3d537b(Ie+_0x2a3c54['generateRandomId'](X),{'left':_0x27e207+_0x38081b-_0xd8dc30,'top':_0x1fb386+_0x193485-ge/0x2,'height':ge,'width':ge,'fill':_0x3f1f8f||_0x314c84(_0x32ab1b[_0x12947e(0x2b3)],0x0),'strokeWidth':0x0,'stroke':_0x3f1f8f||_0x314c84(_0x32ab1b['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xef7069,this['_scene'][_0x12947e(0x1ae)](_0xef7069,_0x17a1bc);const _0xc58f19=new he(Ie+_0x2a3c54['generateRandomId'](X),{'left':_0x27e207+_0x38081b-_0xd8dc30,'top':_0x1fb386+_0x193485-ee,'text':_0x2ba100,'color':_0x3f1f8f});this[_0x12947e(0x1e4)]=_0xc58f19,this['_scene']['addObject'](_0xc58f19,_0x17a1bc),this[_0x12947e(0x20c)]=!0x1;}[_0x101b2d(0x1bf)](){const _0x21c247=_0x101b2d,_0xaf7472=this['_anchor'][_0x21c247(0x160)][_0x21c247(0x28a)](()=>{const _0x151c4a=_0x21c247;this[_0x151c4a(0x20c)]=!0x0;}),_0x4487e0=this['_anchor'][_0x21c247(0x238)][_0x21c247(0x28a)](()=>{const _0x37ace7=_0x21c247;this[_0x37ace7(0x1e3)]&&clearTimeout(this['_hideTimer']),this[_0x37ace7(0x1e3)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x512b9d=_0x21c247;_0xaf7472['unsubscribe'](),_0x4487e0[_0x512b9d(0x1fa)]();};}[_0x101b2d(0x196)](_0x4db980,_0x1ac868,_0x5e9ce3,_0x2ac47f){const _0x1ee6d9=_0x101b2d,_0x17758e=new _0x1e7e40(_0x4db980)[_0x1ee6d9(0x339)](0.2)['toRgbString'](),_0x32945a=new _0x208794(bi+_0x2a3c54[_0x1ee6d9(0x2c5)](X),{'pointsGroup':_0x1ac868,'fill':_0x17758e||_0x314c84(_0x32ab1b[_0x1ee6d9(0x2b3)],0.2),'left':_0x5e9ce3,'top':_0x2ac47f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1ee6d9(0x182)]['push'](_0x32945a),this[_0x1ee6d9(0x2ab)][_0x1ee6d9(0x1ae)](_0x32945a,_0x17a1bc);}[_0x101b2d(0x27d)](_0x29b7f4,_0x569074,_0x44eaad,_0x131a01){const _0x3865d5=_0x101b2d,_0x526751=new _0x1e7e40(_0x29b7f4)[_0x3865d5(0x339)](0.2)['toRgbString'](),_0x5580b3=new _0x208794(Ti+_0x2a3c54['generateRandomId'](X),{'pointsGroup':_0x569074,'fill':_0x526751||_0x314c84(_0x32ab1b[_0x3865d5(0x2b3)],0.2),'left':_0x44eaad,'top':_0x131a01,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3865d5(0x182)]['push'](_0x5580b3),this[_0x3865d5(0x2ab)][_0x3865d5(0x1ae)](_0x5580b3,_0x17a1bc);}[_0x101b2d(0x206)](_0x433844){const _0x340ab0=_0x433844[0x0],_0x5ea837=_0x340ab0[0x0],_0x5d135f=_0x340ab0[0x2],{x:_0x256acc,y:_0x2b7a63}=_0x5ea837,{x:_0x57772e,y:_0x5b2be9}=_0x5d135f;return{'left':_0x256acc,'top':_0x2b7a63,'width':_0x57772e-_0x256acc,'height':_0x5b2be9-_0x2b7a63};}[_0x101b2d(0x16d)](){const _0x3e092b=_0x101b2d,{scaleX:_0x1f0134,scaleY:_0x4626e2}=this[_0x3e092b(0x2ab)][_0x3e092b(0x1c3)]();return Math[_0x3e092b(0x2ce)](_0x1f0134,_0x4626e2);}}var Ui=Object[_0x101b2d(0x172)],Mi=(_0x1374bc,_0x14be19,_0x3831a5,_0x34f17c)=>{for(var _0x3af5ed=_0x34f17c>0x1?void 0x0:_0x34f17c?Ui(_0x14be19,_0x3831a5):_0x14be19,_0x13d351=_0x1374bc['length']-0x1,_0x5493a3;_0x13d351>=0x0;_0x13d351--)(_0x5493a3=_0x1374bc[_0x13d351])&&(_0x3af5ed=_0x5493a3(_0x3af5ed)||_0x3af5ed);return _0x3af5ed;},Z=(_0xa8a1a1,_0x37e72b)=>(_0xd1d084,_0x243f4e)=>_0x37e72b(_0xd1d084,_0x243f4e,_0xa8a1a1);let Le=class extends _0x26536e{constructor(_0x449917,_0x436ef5,_0x3cdce3,_0x5b6c2b,_0x53ef30){const _0x1c992e=_0x101b2d;super(),_(this,_0x1c992e(0x16a),[]),_(this,_0x1c992e(0x190),[]),(this[_0x1c992e(0x2eb)]=_0x449917,this[_0x1c992e(0x20e)]=_0x436ef5,this[_0x1c992e(0x164)]=_0x3cdce3,this['_commandService']=_0x5b6c2b,this['_themeService']=_0x53ef30,this[_0x1c992e(0x230)]());}['_init'](){const _0x5ccc82=_0x101b2d,_0x579505=this['_context'][_0x5ccc82(0x333)],_0x597425=this[_0x5ccc82(0x20e)];this[_0x5ccc82(0x197)](_0x48820a([this['_collabCursorController'][_0x5ccc82(0x342)](_0x579505),this[_0x5ccc82(0x1f9)][_0x5ccc82(0x153)]])['pipe'](_0x4f27de(([_0x29b76,_0x414440])=>({'skeleton':_0x597425['getSkeleton'](),'cursors':[..._0x29b76[_0x5ccc82(0x167)]()][_0x5ccc82(0x157)](_0x8c977e=>({..._0x8c977e,'color':this[_0x5ccc82(0x1f9)][_0x5ccc82(0x2b1)](_0x8c977e['color'])}))})))['subscribe'](_0x3f7fc1=>{if(this['_removeCollabCursors'](),_0x3f7fc1){const {skeleton:_0x579edc,cursors:_0x2c3e89}=_0x3f7fc1;this['_updateCollabCursors'](_0x579edc,_0x2c3e89);}})),this[_0x5ccc82(0x318)](),this[_0x5ccc82(0x298)]();}[_0x101b2d(0x33a)](_0x59867e,_0x410e63){const _0x2475bd=_0x101b2d,{scene:_0x361ec2,mainComponent:_0x34a525}=this[_0x2475bd(0x2eb)],_0xb1e705=_0x410e63[_0x2475bd(0x345)](_0x2c32e4=>new qe(_0x2c32e4,_0x361ec2,_0x59867e,_0x34a525));this['_cursorShapes']=_0xb1e705,this[_0x2475bd(0x190)]=_0x410e63;}[_0x101b2d(0x24d)](){const _0x2c2aa8=_0x101b2d;this[_0x2c2aa8(0x16e)]();const {scene:_0x4e7b1f,mainComponent:_0x238710}=this[_0x2c2aa8(0x2eb)],_0x3e9887=this[_0x2c2aa8(0x20e)][_0x2c2aa8(0x187)](),_0x243c88=this['_cursors'][_0x2c2aa8(0x345)](_0x1aa9c1=>new qe(_0x1aa9c1,_0x4e7b1f,_0x3e9887,_0x238710));this[_0x2c2aa8(0x16a)]=_0x243c88;}[_0x101b2d(0x16e)](){const _0x19cf19=_0x101b2d;this[_0x19cf19(0x16a)]['forEach'](_0x320d87=>_0x320d87[_0x19cf19(0x1ec)]()),this[_0x19cf19(0x16a)]=[];}[_0x101b2d(0x298)](){const _0x240472=_0x101b2d,_0xb5d2f5=[_0x52aca4['id']];this[_0x240472(0x197)](this[_0x240472(0x1ac)]['onCommandExecuted'](_0x2b7d85=>{const _0x540b2e=_0x240472;_0xb5d2f5['includes'](_0x2b7d85['id'])&&_0x2b7d85['params'][_0x540b2e(0x333)]===this['_context'][_0x540b2e(0x333)]&&this[_0x540b2e(0x24d)]();}));}[_0x101b2d(0x318)](){const _0x4fbcd3=_0x101b2d;this['disposeWithMe'](_0x1484c6(this[_0x4fbcd3(0x2eb)][_0x4fbcd3(0x232)][_0x4fbcd3(0x1a3)])[_0x4fbcd3(0x264)](_0x38c68e(_0x3ed8cd=>_0x3ed8cd[_0x4fbcd3(0x308)]===_0x51560e[_0x4fbcd3(0x29e)]),_0x4d6baa(0x10))[_0x4fbcd3(0x1e8)](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x412f34(_0x585d6e)),Z(0x2,_0x412f34(H)),Z(0x3,_0xa77dc6),Z(0x4,_0x412f34(_0x50e9c8))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2a3652{constructor(_0x29c011,_0x2b1228){const _0x2a9787=_0x101b2d;super(_0x29c011,_0x2b1228),_(this,_0x2a9787(0x16f)),_(this,_0x2a9787(0x191),!0x1),_(this,_0x2a9787(0x259)),_(this,'_name',''),_(this,'_labelPosition',_0x2a9787(0x199)),_(this,_0x2a9787(0x288)),(_0x2b1228&&this[_0x2a9787(0x15f)](_0x2b1228),this['onPointerEnter$'][_0x2a9787(0x28a)](()=>this[_0x2a9787(0x15f)]({'hovered':!0x0})),this[_0x2a9787(0x238)][_0x2a9787(0x28a)](()=>this[_0x2a9787(0x15f)]({'hovered':!0x1})));}['setShapeProps'](_0x25f427){const _0x3f95a8=_0x101b2d;var _0x3f5f5f,_0x342bd3,_0x37a92e,_0x2fd282,_0x54d9c8,_0x3f4d24;this['_color']=(_0x3f5f5f=_0x25f427[_0x3f95a8(0x17f)])!=null?_0x3f5f5f:this['_color'],this[_0x3f95a8(0x191)]=(_0x342bd3=_0x25f427['hovered'])!=null?_0x342bd3:this[_0x3f95a8(0x191)],this[_0x3f95a8(0x259)]=(_0x37a92e=_0x25f427[_0x3f95a8(0x2db)])!=null?_0x37a92e:this['_range'],this[_0x3f95a8(0x2cc)]=(_0x2fd282=_0x25f427[_0x3f95a8(0x2f4)])!=null?_0x2fd282:this[_0x3f95a8(0x2cc)],this[_0x3f95a8(0x246)]=(_0x54d9c8=_0x25f427['labelPosition'])!=null?_0x54d9c8:this[_0x3f95a8(0x246)],this[_0x3f95a8(0x288)]=(_0x3f4d24=_0x25f427[_0x3f95a8(0x2f3)])!=null?_0x3f4d24:this['_backgroundColor'],this[_0x3f95a8(0x307)]({'width':_0x25f427[_0x3f95a8(0x329)],'height':_0x25f427[_0x3f95a8(0x27e)]});}[_0x101b2d(0x21a)](_0x3c13a7){const _0x2427f7=_0x101b2d,{row:_0x3b7383,column:_0x4e391a}=_0x3c13a7;if(_0x3b7383>=this[_0x2427f7(0x259)][_0x2427f7(0x204)]&&_0x3b7383<=this[_0x2427f7(0x259)]['endRow']&&_0x4e391a>=this[_0x2427f7(0x259)][_0x2427f7(0x2fd)]&&_0x4e391a<=this['_range'][_0x2427f7(0x316)]){this[_0x2427f7(0x15f)]({'hovered':!0x0});return;}this[_0x2427f7(0x15f)]({'hovered':!0x1});}[_0x101b2d(0x2f2)](_0x239e23){return!0x1;}['_draw'](_0xdc9458){const _0x1cf152=_0x101b2d;_0x3d537b[_0x1cf152(0x257)](_0xdc9458,{'width':this[_0x1cf152(0x329)],'height':this[_0x1cf152(0x27e)],'strokeWidth':Pi,'stroke':this[_0x1cf152(0x16f)],'evented':!0x1,'fill':this[_0x1cf152(0x288)]}),this[_0x1cf152(0x191)]&&(_0xdc9458[_0x1cf152(0x2ff)](),_0xdc9458[_0x1cf152(0x218)](0x1,0x0,0x0,0x1,this[_0x1cf152(0x329)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x1cf152(0x257)](_0xdc9458,{'text':this[_0x1cf152(0x2cc)],'color':this[_0x1cf152(0x16f)]}),_0xdc9458[_0x1cf152(0x325)]());}}var Ai=Object[_0x101b2d(0x172)],yi=(_0x58314c,_0x181af5,_0x5f35d5,_0x309f66)=>{for(var _0x1eb6c6=_0x309f66>0x1?void 0x0:_0x309f66?Ai(_0x181af5,_0x5f35d5):_0x181af5,_0x5603a6=_0x58314c['length']-0x1,_0x5d5f4f;_0x5603a6>=0x0;_0x5603a6--)(_0x5d5f4f=_0x58314c[_0x5603a6])&&(_0x1eb6c6=_0x5d5f4f(_0x1eb6c6)||_0x1eb6c6);return _0x1eb6c6;},ve=(_0x1c99a9,_0x58684d)=>(_0x53a633,_0x4e43fc)=>_0x58684d(_0x53a633,_0x4e43fc,_0x1c99a9);const $i=0x1389;let Pe=class extends _0x26536e{constructor(_0x36bfce,_0x2057ea,_0x175ffd,_0xac9fe9){const _0x3b7c00=_0x101b2d;super(),_(this,'_cursors',new Set()),_(this,_0x3b7c00(0x1ed),null),(this['_context']=_0x36bfce,this[_0x3b7c00(0x289)]=_0x2057ea,this[_0x3b7c00(0x164)]=_0x175ffd,this['_themeService']=_0xac9fe9,this['_init']());}[_0x101b2d(0x230)](){const _0x542ab7=_0x101b2d;this[_0x542ab7(0x289)][_0x542ab7(0x1a6)][_0x542ab7(0x264)](_0x3ec5bf(this['dispose$']),_0x5a8ed8(_0x8c6abe=>{const _0x5a6e36=_0x542ab7;if(_0x8c6abe){const _0x231361=_0x8c6abe[_0x5a6e36(0x2b9)];return _0x48820a(this[_0x5a6e36(0x164)][_0x5a6e36(0x342)](this[_0x5a6e36(0x2eb)][_0x5a6e36(0x333)]),this['_themeService'][_0x5a6e36(0x153)])[_0x5a6e36(0x264)](_0x4f27de(([_0x2d5345,_0x136999])=>{const _0xa22f7d=_0x5a6e36,_0x45dbe2=new Map();return _0x2d5345[_0xa22f7d(0x18a)]((_0x177184,_0x38c449)=>{const _0x58ba1d=_0xa22f7d;if(_0x177184[_0x58ba1d(0x269)]===_0x231361){const _0x2f3063={..._0x177184};_0x2f3063[_0x58ba1d(0x17f)]=this[_0x58ba1d(0x1f9)]['getColorFromTheme'](_0x177184['color']),_0x45dbe2['set'](_0x38c449,_0x2f3063);}}),{'skeleton':_0x8c6abe,'cursors':_0x45dbe2};}));}return _0x557760({'skeleton':null,'cursors':new Map()});}))[_0x542ab7(0x1e8)](({skeleton:_0x4b94e7,cursors:_0x3e808b})=>{this['_removeCollabCursors'](),_0x4b94e7&&this['_updateCollabCursors'](_0x4b94e7,_0x3e808b);}),this['_sheetSkeletonManagerService'][_0x542ab7(0x1a6)]['subscribe'](_0x20052d=>{const _0x18e36e=_0x542ab7;if(_0x20052d==null)return;const {skeleton:_0x14b30b}=_0x20052d,{scene:_0xf2cdf6}=this[_0x18e36e(0x2eb)];_0xf2cdf6[_0x18e36e(0x306)][_0x18e36e(0x28a)](_0x6b1a0f(_0x55adad=>{const _0x381398=_0x18e36e;var _0x495356,_0x2de9d7;const {offsetX:_0x3de5df,offsetY:_0x30da67}=_0x55adad,{x:_0x412e95,y:_0x5c2d3d}=_0xf2cdf6['getRelativeToViewportCoord'](_0xac78c0[_0x381398(0x202)]([_0x3de5df,_0x30da67])),{scaleX:_0x2a0915,scaleY:_0x253f99}=_0xf2cdf6[_0x381398(0x1c3)](),_0x5b7bdf=_0xf2cdf6['getViewport'](_0x254e58[_0x381398(0x304)]),_0x448374=_0xf2cdf6[_0x381398(0x149)](_0xac78c0[_0x381398(0x202)]([_0x412e95,_0x5c2d3d]),_0x5b7bdf),_0x3b2745=_0x14b30b['getCellPositionByOffset'](_0x3de5df,_0x30da67,_0x2a0915,_0x253f99,_0x448374);((_0x495356=this['_lastPointer'])==null?void 0x0:_0x495356[_0x381398(0x2ec)])===_0x3b2745[_0x381398(0x2ec)]&&((_0x2de9d7=this[_0x381398(0x1ed)])==null?void 0x0:_0x2de9d7[_0x381398(0x324)])===_0x3b2745['row']||this[_0x381398(0x190)][_0x381398(0x18a)](_0x45f5a5=>{_0x45f5a5['onMouseMove'](_0x3b2745);});},0x64));});}['_updateCollabCursors'](_0x2a5bd3,_0x16e3a6){const _0x3506fa=_0x101b2d;var _0x36d78a;const _0x1026a1=(_0x36d78a=this[_0x3506fa(0x289)][_0x3506fa(0x225)]())==null?void 0x0:_0x36d78a[_0x3506fa(0x25b)];if(!_0x1026a1)return;const _0x396daf=this['_getSheetObject']();if(!_0x396daf)return;this['_cursors'][_0x3506fa(0x18a)](_0x566d09=>{_0x566d09['makeDirty']();});const {scene:_0x4479b8}=_0x396daf,_0x43a50c=xi(Array[_0x3506fa(0x2cf)](_0x16e3a6[_0x3506fa(0x167)]()))['map'](_0x504c6a=>{const _0xa486f9=_0x3506fa,{color:_0x19a275,range:_0x384018,name:_0x2e22d0,selection:_0x4807e5,sheetID:_0x134462}=_0x504c6a,{startColumn:_0x1aaee4,startRow:_0x2d8a2c,endColumn:_0x1e2fbf,endRow:_0x5682e0}=_0x384018,_0x4bf865=_0x1ac391(_0x2d8a2c,_0x1aaee4,_0x4479b8,_0x1026a1),_0x57c433=_0x1ac391(_0x5682e0,_0x1e2fbf,_0x4479b8,_0x1026a1),{columnHeaderHeightAndMarginTop:_0x2edf58}=_0x1026a1,{startX:_0x118626,startY:_0x240d93}=_0x4bf865,{endX:_0x36db73,endY:_0x31b39d}=_0x57c433,_0x396285=_0x36db73-_0x118626,_0x2da22c=_0x31b39d-_0x240d93,_0x50083b={'labelPosition':_0x240d93-_0x2edf58>=ee?_0xa486f9(0x199):_0xa486f9(0x1d7),'sheetID':_0x134462,'range':_0x384018,'color':_0x19a275,'name':_0x2e22d0,'selection':_0x4807e5,'left':_0x118626,'top':_0x240d93,'width':_0x396285,'height':_0x2da22c,'evented':!0x1,'zIndex':$i};return new wi(_0x2e22d0,_0x50083b);});_0x4479b8[_0x3506fa(0x274)](_0x43a50c,Li),this['_cursors']=new Set(_0x43a50c);}[_0x101b2d(0x16e)](){const _0x5bbdae=_0x101b2d;var _0x287a7b;(_0x287a7b=this[_0x5bbdae(0x190)])==null||_0x287a7b[_0x5bbdae(0x18a)](_0xbe5057=>_0xbe5057[_0x5bbdae(0x1ec)]());}[_0x101b2d(0x208)](){const _0x5b1956=_0x101b2d;return _0x4a3ab9(this['_context']['unit'],this[_0x5b1956(0x2eb)]);}};Pe=yi([ve(0x1,_0x412f34(_0x2e277b)),ve(0x2,_0x412f34(H)),ve(0x3,_0x412f34(_0x50e9c8))],Pe);function xi(_0x3fdcf1){const _0x1d1685=_0x101b2d,_0x5e2dab=new Map();return _0x3fdcf1[_0x1d1685(0x18a)](_0x233404=>{const _0x242dfe=_0x1d1685;if(_0x5e2dab[_0x242dfe(0x1b4)](_0x233404[_0x242dfe(0x315)])){const _0x13352c=_0x5e2dab['get'](_0x233404['selection']);_0x13352c[_0x242dfe(0x2f4)]+=',\x20'+_0x233404[_0x242dfe(0x2f4)];}else _0x5e2dab[_0x242dfe(0x213)](_0x233404[_0x242dfe(0x315)],_0x233404);}),Array[_0x1d1685(0x2cf)](_0x5e2dab[_0x1d1685(0x167)]());}var v=function(){const _0x38cdec=_0x101b2d;return v=Object[_0x38cdec(0x29b)]||function(_0x515139){const _0xd5dfcb=_0x38cdec;for(var _0x27ebec,_0x26db31=0x1,_0x1b7497=arguments[_0xd5dfcb(0x24b)];_0x26db31<_0x1b7497;_0x26db31++){_0x27ebec=arguments[_0x26db31];for(var _0x24052e in _0x27ebec)Object['prototype'][_0xd5dfcb(0x2d2)][_0xd5dfcb(0x20d)](_0x27ebec,_0x24052e)&&(_0x515139[_0x24052e]=_0x27ebec[_0x24052e]);}return _0x515139;},v[_0x38cdec(0x150)](this,arguments);},Bi=function(_0xbefcbf,_0x205ec1){const _0xdb8d67=_0x101b2d;var _0x4fce68={};for(var _0x5af16f in _0xbefcbf)Object[_0xdb8d67(0x349)][_0xdb8d67(0x2d2)][_0xdb8d67(0x20d)](_0xbefcbf,_0x5af16f)&&_0x205ec1['indexOf'](_0x5af16f)<0x0&&(_0x4fce68[_0x5af16f]=_0xbefcbf[_0x5af16f]);if(_0xbefcbf!=null&&typeof Object[_0xdb8d67(0x270)]=='function'){for(var _0x334abc=0x0,_0x5af16f=Object[_0xdb8d67(0x270)](_0xbefcbf);_0x334abc<_0x5af16f[_0xdb8d67(0x24b)];_0x334abc++)_0x205ec1[_0xdb8d67(0x1a8)](_0x5af16f[_0x334abc])<0x0&&Object[_0xdb8d67(0x349)][_0xdb8d67(0x2b6)][_0xdb8d67(0x20d)](_0xbefcbf,_0x5af16f[_0x334abc])&&(_0x4fce68[_0x5af16f[_0x334abc]]=_0xbefcbf[_0x5af16f[_0x334abc]]);}return _0x4fce68;},Fe=_0x27eda4(function(_0x58b9c3,_0x3280f9){const _0x28a117=_0x101b2d;var _0x554a10=_0x58b9c3['icon'],_0x14e483=_0x58b9c3['id'],_0x2ff186=_0x58b9c3[_0x28a117(0x243)],_0x4f2c92=_0x58b9c3[_0x28a117(0x1c0)],_0x5ab3e0=Bi(_0x58b9c3,[_0x28a117(0x210),'id',_0x28a117(0x243),_0x28a117(0x1c0)]),_0x2ecde7='univerjs-icon\x20univerjs-icon-'[_0x28a117(0x253)](_0x14e483,'\x20')[_0x28a117(0x253)](_0x2ff186||'')[_0x28a117(0x258)](),_0x368135=_0x52d2c5('_'['concat'](Fi()));return Rt(_0x554a10,''[_0x28a117(0x253)](_0x14e483),{'defIds':_0x554a10['defIds'],'idSuffix':_0x368135[_0x28a117(0x2e2)]},v({'ref':_0x3280f9,'className':_0x2ecde7},_0x5ab3e0),_0x4f2c92);});function Rt(_0x2ecc96,_0x4b8d3e,_0x136eba,_0x3404ac,_0x5a02a1){const _0x1f351b=_0x101b2d;return _0x54f6b3(_0x2ecc96['tag'],v(v({'key':_0x4b8d3e},ki(_0x2ecc96,_0x136eba,_0x5a02a1)),_0x3404ac),(Hi(_0x2ecc96,_0x136eba)[_0x1f351b(0x2df)]||[])[_0x1f351b(0x345)](function(_0x18318e,_0x54f39d){const _0x507d47=_0x1f351b;return Rt(_0x18318e,''['concat'](_0x4b8d3e,'-')[_0x507d47(0x253)](_0x2ecc96[_0x507d47(0x341)],'-')[_0x507d47(0x253)](_0x54f39d),_0x136eba,void 0x0,_0x5a02a1);}));}function ki(_0x16fb66,_0x2c01ba,_0x32cea9){const _0x1229d8=_0x101b2d;var _0x287904=v({},_0x16fb66[_0x1229d8(0x267)]);_0x32cea9!=null&&_0x32cea9[_0x1229d8(0x19b)]&&_0x287904[_0x1229d8(0x340)]==='colorChannel1'&&(_0x287904['fill']=_0x32cea9[_0x1229d8(0x19b)]),_0x16fb66['tag']===_0x1229d8(0x247)&&_0x287904['id']&&(_0x287904['id']=_0x287904['id']+_0x2c01ba['idSuffix']),Object[_0x1229d8(0x17d)](_0x287904)['forEach'](function(_0x5cebd5){const _0x4e3ae0=_0x1229d8;var _0x5aea55=_0x5cebd5[0x0],_0x442810=_0x5cebd5[0x1];_0x5aea55===_0x4e3ae0(0x247)&&typeof _0x442810=='string'&&(_0x287904[_0x5aea55]=_0x442810[_0x4e3ae0(0x155)](/url\(#(.*)\)/,'url(#$1'[_0x4e3ae0(0x253)](_0x2c01ba[_0x4e3ae0(0x217)],')')));});var _0x4cb21a=_0x2c01ba['defIds'];return!_0x4cb21a||_0x4cb21a[_0x1229d8(0x24b)]===0x0||(_0x16fb66['tag']===_0x1229d8(0x1f3)&&_0x287904['xlink:href']&&(_0x287904[_0x1229d8(0x2c4)]=_0x287904[_0x1229d8(0x2c4)]+_0x2c01ba[_0x1229d8(0x217)]),Object[_0x1229d8(0x17d)](_0x287904)[_0x1229d8(0x18a)](function(_0x41b9d2){const _0x455d1a=_0x1229d8;var _0x402994=_0x41b9d2[0x0],_0x41f3bf=_0x41b9d2[0x1];typeof _0x41f3bf==_0x455d1a(0x156)&&(_0x287904[_0x402994]=_0x41f3bf[_0x455d1a(0x155)](/url\(#(.*)\)/,_0x455d1a(0x188)[_0x455d1a(0x253)](_0x2c01ba[_0x455d1a(0x217)],')')));})),_0x287904;}function Hi(_0x1f7e8a,_0x146a54){const _0x491206=_0x101b2d;var _0x5b8fe1,_0x3a9f26=_0x146a54[_0x491206(0x1ef)];return!_0x3a9f26||_0x3a9f26[_0x491206(0x24b)]===0x0?_0x1f7e8a:_0x1f7e8a[_0x491206(0x341)]===_0x491206(0x26c)&&(!((_0x5b8fe1=_0x1f7e8a['children'])===null||_0x5b8fe1===void 0x0)&&_0x5b8fe1['length'])?v(v({},_0x1f7e8a),{'children':_0x1f7e8a[_0x491206(0x2df)][_0x491206(0x345)](function(_0x4a98e6){const _0x18aac0=_0x491206;return typeof _0x4a98e6[_0x18aac0(0x267)]['id']==_0x18aac0(0x156)&&_0x3a9f26&&_0x3a9f26[_0x18aac0(0x249)](_0x4a98e6[_0x18aac0(0x267)]['id'])?v(v({},_0x4a98e6),{'attrs':v(v({},_0x4a98e6['attrs']),{'id':_0x4a98e6['attrs']['id']+_0x146a54[_0x18aac0(0x217)]})}):_0x4a98e6;})}):_0x1f7e8a;}function Fi(){const _0x400215=_0x101b2d;return Math[_0x400215(0x1df)]()[_0x400215(0x14c)](0x24)[_0x400215(0x1ad)](0x2,0x8);}Fe['displayName']='UniverIcon';var Yi={'tag':_0x101b2d(0x1d5),'attrs':{'xmlns':_0x101b2d(0x198),'fill':_0x101b2d(0x186),'viewBox':_0x101b2d(0x2b5),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x101b2d(0x347)},'children':[{'tag':'path','attrs':{'stroke':_0x101b2d(0x268),'d':_0x101b2d(0x30c),'strokeLinecap':_0x101b2d(0x14b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x101b2d(0x29c),'attrs':{'id':_0x101b2d(0x177)},'children':[{'tag':_0x101b2d(0x17c),'attrs':{'fill':_0x101b2d(0x2cb),'d':_0x101b2d(0x328)}}]}]}],'defIds':[_0x101b2d(0x177)]},Dt=_0x27eda4(function(_0x4c11cd,_0x3ab2f0){const _0x4d1a4c=_0x101b2d;return _0x54f6b3(Fe,Object[_0x4d1a4c(0x29b)]({},_0x4c11cd,{'id':_0x4d1a4c(0x2a1),'ref':_0x3ab2f0,'icon':Yi}));});Dt['displayName']=_0x101b2d(0x32c);var ji={'tag':_0x101b2d(0x1d5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x101b2d(0x186),'viewBox':_0x101b2d(0x2b0),'width':_0x101b2d(0x21e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x101b2d(0x171)},'children':[{'tag':'path','attrs':{'stroke':_0x101b2d(0x268),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x101b2d(0x14b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x101b2d(0x26c),'attrs':{},'children':[{'tag':_0x101b2d(0x29c),'attrs':{'id':_0x101b2d(0x255)},'children':[{'tag':'path','attrs':{'fill':_0x101b2d(0x2cb),'d':_0x101b2d(0x328),'transform':_0x101b2d(0x300)}}]}]}],'defIds':[_0x101b2d(0x255)]},Nt=_0x27eda4(function(_0x2d55b8,_0x47ba58){const _0x5b46c0=_0x101b2d;return _0x54f6b3(Fe,Object[_0x5b46c0(0x29b)]({},_0x2d55b8,{'id':_0x5b46c0(0x252),'ref':_0x47ba58,'icon':ji}));});Nt[_0x101b2d(0x151)]=_0x101b2d(0x291);function Vi(_0x480aa2){const _0x467917=_0x101b2d;switch(_0x480aa2){case _0x3843bb[_0x467917(0x323)]:return'collabStatus.offline';case _0x3843bb[_0x467917(0x317)]:return'collabStatus.conflict';case _0x3843bb['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3843bb['NOT_COLLAB']:return'collabStatus.notCollab';case _0x3843bb[_0x467917(0x2bf)]:case _0x3843bb['AWAITING_WITH_PENDING']:return _0x467917(0x2d1);case _0x3843bb[_0x467917(0x239)]:case _0x3843bb[_0x467917(0x32b)]:return'collabStatus.synced';}}function Wi(_0x458d6a){const _0x4211f0=_0x101b2d,{status$:_0x56a1cf}=_0x458d6a,_0x188de4=_0x5ba64b(_0x56a1cf,_0x3843bb[_0x4211f0(0x2bd)]),_0x50652b=_0x34c4fd(_0x2f8db4),_0x51dae6=_0x34c4fd(_0x352e5d),_0x9b3057=_0x188de4!==_0x3843bb[_0x4211f0(0x323)],_0x3df3d6=_0x50652b['t'](Vi(_0x188de4)),_0x1b9d35=_0x9b3057?_0x225feb(Nt,{}):_0x225feb(Dt,{}),_0x56f3e1=_0x272299(()=>{const _0x4f536f=_0x4211f0;_0x9b3057||_0x51dae6[_0x4f536f(0x29f)]();},[_0x9b3057,_0x51dae6]);function _0x43876e(){const _0x4b150d=_0x4211f0;return _0x13803a(_0x4b150d(0x286),{'className':_0x4b150d(0x2f7),'onClick':_0x56f3e1,'children':[_0x225feb(_0x4b150d(0x286),{'className':_0x22505c('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x9b3057,'univer-text-red-500':!_0x9b3057}),'children':_0x1b9d35}),_0x225feb(_0x4b150d(0x286),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3df3d6})]});}return _0x9b3057?_0x43876e():_0x225feb(_0x46b990,{'title':_0x50652b['t'](_0x4211f0(0x33c)),'children':_0x43876e()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1d0d38,_0x59025b,_0x3e3cca,_0x2d478e)=>{for(var _0xe7f8d4=_0x2d478e>0x1?void 0x0:_0x2d478e?Xi(_0x59025b,_0x3e3cca):_0x59025b,_0x34dbab=_0x1d0d38['length']-0x1,_0x110061;_0x34dbab>=0x0;_0x34dbab--)(_0x110061=_0x1d0d38[_0x34dbab])&&(_0xe7f8d4=_0x110061(_0xe7f8d4)||_0xe7f8d4);return _0xe7f8d4;},Q=(_0x1845e2,_0x1f31bb)=>(_0x2f5474,_0x188046)=>_0x1f31bb(_0x2f5474,_0x188046,_0x1845e2);let te=class extends _0x5d992a{constructor(_0x2d0c73,_0x5be9a6,_0x1707e2,_0x57acd6){const _0x22e56c=_0x101b2d;super(),_(this,'_status$',new _0x41fdad(_0x3843bb[_0x22e56c(0x2bd)])),(this[_0x22e56c(0x1fb)]=_0x2d0c73,this[_0x22e56c(0x332)]=_0x5be9a6,this['_collaborationController']=_0x1707e2,this['_uiPartsService']=_0x57acd6,this['_initStatusComponent'](),this[_0x22e56c(0x211)]());}[_0x101b2d(0x211)](){const _0x4366a2=_0x101b2d;this[_0x4366a2(0x197)](this[_0x4366a2(0x1fb)]['focused$'][_0x4366a2(0x264)](_0x15b45b(()=>{const _0x53882d=_0x4366a2,_0x28f118=this[_0x53882d(0x1fb)][_0x53882d(0x271)]();return _0x28f118?this[_0x53882d(0x14e)][_0x53882d(0x23c)](_0x28f118['getUnitId']()):_0x557760(null);}),_0x15b45b(_0x4d8746=>_0x4d8746?_0x4d8746[_0x4366a2(0x30d)]:_0x557760(_0x3843bb[_0x4366a2(0x2bd)])))[_0x4366a2(0x1e8)](_0xf72e7b=>{const _0x31a4b1=_0x4366a2;this[_0x31a4b1(0x1e0)][_0x31a4b1(0x236)](_0xf72e7b);}));}[_0x101b2d(0x284)](){const _0x11ba78=_0x101b2d;this[_0x11ba78(0x197)](this[_0x11ba78(0x21d)][_0x11ba78(0x26f)](_0x22aa45[_0x11ba78(0x229)],()=>_0xe013cc(Ki({'status$':this[_0x11ba78(0x1e0)][_0x11ba78(0x266)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0xc3619b),Q(0x1,_0x412f34(_0x5734b6)),Q(0x2,_0x412f34(_0x80ddbe)),Q(0x3,_0x226130)],te);function Ki(_0x39a115){const {status$:_0x426f0c}=_0x39a115;return function(){return _0x225feb(Wi,{'status$':_0x426f0c});};}var zi=Object[_0x101b2d(0x172)],Ji=(_0x552d92,_0xd2d215,_0x2af491,_0x15d177)=>{const _0x27acc7=_0x101b2d;for(var _0x2043fa=_0x15d177>0x1?void 0x0:_0x15d177?zi(_0xd2d215,_0x2af491):_0xd2d215,_0x2cbd43=_0x552d92[_0x27acc7(0x24b)]-0x1,_0x28bd43;_0x2cbd43>=0x0;_0x2cbd43--)(_0x28bd43=_0x552d92[_0x2cbd43])&&(_0x2043fa=_0x28bd43(_0x2043fa)||_0x2043fa);return _0x2043fa;},B=(_0x39a40b,_0x3e7c23)=>(_0x207dbb,_0x2d2d9d)=>_0x3e7c23(_0x207dbb,_0x2d2d9d,_0x39a40b);let se=class extends _0x5d992a{constructor(_0x347a1b,_0x25b1b2,_0x5e923b,_0x51bfab,_0x4130fa,_0x2c75cd){const _0x76f51a=_0x101b2d;super(),this[_0x76f51a(0x1a0)]=_0x347a1b,this[_0x76f51a(0x231)]=_0x25b1b2,this['_collaborationUIEventService']=_0x5e923b,this[_0x76f51a(0x2c3)]=_0x51bfab,this[_0x76f51a(0x31f)]=_0x4130fa,this[_0x76f51a(0x2d3)]=_0x2c75cd,this['_setupBeforeClosingHandler'](),this[_0x76f51a(0x31d)]();}[_0x101b2d(0x1ff)](){const _0x1c4aa6=_0x101b2d;this[_0x1c4aa6(0x197)](this[_0x1c4aa6(0x1a0)][_0x1c4aa6(0x1c5)](()=>{const _0x2cd968=_0x1c4aa6;if(this[_0x2cd968(0x231)][_0x2cd968(0x2c6)][_0x2cd968(0x2bc)])return this[_0x2cd968(0x2d3)]['t'](_0x2cd968(0x19d));}));}[_0x101b2d(0x31d)](){const _0x5f2cd8=_0x101b2d;this['disposeWithMe'](this[_0x5f2cd8(0x261)]['event$'][_0x5f2cd8(0x1e8)](_0xef6671=>{const _0xee4f52=_0x5f2cd8;_0xef6671['id']===_0x4b9a28['OTHER_CLIENT_EDITING']&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x216))}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x282)]&&this['_messageService'][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0xef6671['id']===_0x4b9a28['PERMISSION_DENIED']&&this[_0xee4f52(0x31f)][_0xee4f52(0x293)]({'title':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x2b2)),'content':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x18c)),'type':_0xee4f52(0x254),'duration':0x0}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x317)]&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1d3)],'content':this[_0xee4f52(0x2d3)]['t']('collaboration.closeRoom')+'('+_0xef6671['data']+')'}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x20f)]&&this['_messageService'][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this[_0xee4f52(0x2d3)]['t'](_0xef6671[_0xee4f52(0x1cd)]||'')}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x25e)]&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1f7)],'content':this[_0xee4f52(0x2d3)]['t']('session.will-retry')}),_0xef6671['id']===_0x4b9a28['SOCKET_FAILED']&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7[_0xee4f52(0x1d3)],'content':this[_0xee4f52(0x2d3)]['t'](_0xee4f52(0x18f))}),_0xef6671['id']===_0x4b9a28[_0xee4f52(0x28b)]&&this[_0xee4f52(0x2c3)][_0xee4f52(0x293)]({'type':_0x305fc7['Error'],'content':this[_0xee4f52(0x2d3)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x340c2b),B(0x1,_0x55999b),B(0x2,_0x412f34(_0x4645f6)),B(0x3,_0x1f8231),B(0x4,_0x47a4f4),B(0x5,_0x412f34(_0x2f8db4))],se);const Zi=_0x101b2d(0x23f),et={},Ut=_0x5cf3d3(_0x101b2d(0x19c));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x511ff0,_0x373fdf,_0x5d8b75,_0x2f350a)=>{const _0x25c652=_0x101b2d;for(var _0x5e3b1f=_0x2f350a>0x1?void 0x0:_0x2f350a?Qi(_0x373fdf,_0x5d8b75):_0x373fdf,_0x42e8d9=_0x511ff0[_0x25c652(0x24b)]-0x1,_0x1017de;_0x42e8d9>=0x0;_0x42e8d9--)(_0x1017de=_0x511ff0[_0x42e8d9])&&(_0x5e3b1f=_0x1017de(_0x5e3b1f)||_0x5e3b1f);return _0x5e3b1f;},G=(_0x397708,_0x5b3bfe)=>(_0x2a61d7,_0x4140b4)=>_0x5b3bfe(_0x2a61d7,_0x4140b4,_0x397708);let ie=class extends _0x26536e{constructor(_0x349301,_0x44b1ba,_0x412bcd,_0x44b860,_0x56ca46){const _0x826db5=_0x101b2d;super(),this['_urlService']=_0x349301,this[_0x826db5(0x313)]=_0x44b1ba,this['_commandService']=_0x412bcd,this[_0x826db5(0x2f5)]=_0x44b860,_0x56ca46?_0x56ca46==null||_0x56ca46['whenReady']()['then'](()=>this[_0x826db5(0x230)]()):(this['_logService'][_0x826db5(0x265)]('[CollaborationDataLoaderController]',_0x826db5(0x1d6)),this[_0x826db5(0x230)]());}async['_init'](){const _0x59d2de=_0x101b2d,_0x5028e5=this[_0x59d2de(0x165)][_0x59d2de(0x25c)](_0x59d2de(0x2ad)),_0x226bf8=this[_0x59d2de(0x165)][_0x59d2de(0x25c)](_0x59d2de(0x308)),_0x286499=this[_0x59d2de(0x165)][_0x59d2de(0x25c)](_0x59d2de(0x2cd));if(!_0x5028e5||!_0x226bf8){this[_0x59d2de(0x313)][_0x59d2de(0x265)](_0x59d2de(0x26d),_0x59d2de(0x23a));return;}const _0x3200ab=await this['_dataLoaderService'][_0x59d2de(0x16b)](_0x5028e5,Number(_0x226bf8),_0x286499);_0x3200ab&&_0x3200ab instanceof _0x898749&&this[_0x59d2de(0x29d)](_0x3200ab);}async['_setupSubUnitSync'](_0x5c5673){const _0x36330c=_0x101b2d;await this['_updateSubUnitFromURLParams'](_0x5c5673),_0x5c5673[_0x36330c(0x1cc)][_0x36330c(0x264)](_0xfd7c4(this['dispose$']))[_0x36330c(0x1e8)](_0x219208=>{const _0x5ad695=_0x36330c;_0x219208&&this[_0x5ad695(0x1dd)](_0x219208);}),this[_0x36330c(0x165)][_0x36330c(0x146)][_0x36330c(0x264)](_0xfd7c4(this['dispose$']))[_0x36330c(0x1e8)](()=>this[_0x36330c(0x2e6)](_0x5c5673));}[_0x101b2d(0x1dd)](_0x440e3d,_0xf1e30d=!0x1){const _0x2331c7=_0x101b2d,_0x57833a=this[_0x2331c7(0x165)][_0x2331c7(0x25c)](_0x2331c7(0x2cd));_0x440e3d[_0x2331c7(0x17b)]()!==_0x57833a&&this[_0x2331c7(0x165)][_0x2331c7(0x15d)](_0x2331c7(0x2cd),_0x440e3d[_0x2331c7(0x17b)](),_0xf1e30d);}async['_updateSubUnitFromURLParams'](_0x45b815){const _0x11cd0f=_0x101b2d;var _0x189d03;const _0x59693b=this['_urlService'][_0x11cd0f(0x25c)](_0x11cd0f(0x2cd));if(!_0x59693b||!_0x45b815['getSheetBySheetId'](_0x59693b)){const _0x52f93e=_0x45b815['getUnhiddenWorksheets']()[0x0],_0x52f6e5=_0x45b815['getSheetBySheetId'](_0x52f93e);if(!_0x52f6e5)return;this['_updateURLWithCurrentState'](_0x52f6e5,!0x0),await this[_0x11cd0f(0x1ac)][_0x11cd0f(0x183)](_0x107c84['id'],{'unitId':_0x45b815['getUnitId'](),'subUnitId':_0x52f93e});return;}((_0x189d03=_0x45b815[_0x11cd0f(0x1bd)]())==null?void 0x0:_0x189d03['getSheetId']())!==_0x59693b&&await this[_0x11cd0f(0x1ac)][_0x11cd0f(0x183)](_0x107c84['id'],{'unitId':_0x45b815[_0x11cd0f(0x343)](),'subUnitId':_0x59693b});}};ie=qi([G(0x0,Ut),G(0x1,_0x49d917),G(0x2,_0xa77dc6),G(0x3,_0x412f34(_0x371b30)),G(0x4,_0x28aeef(_0x4d1629))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x4bd95b,_0x4cc364,_0x541813,_0x21a018)=>{for(var _0x39d9eb=_0x21a018>0x1?void 0x0:_0x21a018?en(_0x4cc364,_0x541813):_0x4cc364,_0x577702=_0x4bd95b['length']-0x1,_0x231487;_0x577702>=0x0;_0x577702--)(_0x231487=_0x4bd95b[_0x577702])&&(_0x39d9eb=_0x231487(_0x39d9eb)||_0x39d9eb);return _0x39d9eb;},pe=(_0x490670,_0x1f0990)=>(_0x3b5c02,_0x472028)=>_0x1f0990(_0x3b5c02,_0x472028,_0x490670);let ne=class{constructor(_0x1e7508,_0x4bd1a8,_0x411e88){const _0x2e2c50=_0x101b2d;this[_0x2e2c50(0x332)]=_0x1e7508,this[_0x2e2c50(0x159)]=_0x4bd1a8,this[_0x2e2c50(0x1f8)]=_0x411e88;}[_0x101b2d(0x1d8)](_0x4649e5){const _0x31d05c=_0x101b2d;this[_0x31d05c(0x1d4)](_0x4649e5),this[_0x31d05c(0x1a1)](_0x4649e5);}[_0x101b2d(0x1b0)](_0x577918){const _0x45ccec=_0x101b2d,{unitID:_0x35c619}=_0x577918,_0x4f7468=this[_0x45ccec(0x1f8)][_0x45ccec(0x1f0)](_0x35c619)[_0x45ccec(0x2a7)](_0x122b5c),{redoCache:_0x56bc13}=_0x4f7468[_0x45ccec(0x273)]();if(_0x56bc13[_0x45ccec(0x24b)]===0x0)return _0x577918;let _0x3c2321=_0x2a3c54[_0x45ccec(0x176)](_0x577918['mutations'][0x0]);for(let _0x26486d=0x0;_0x26486d<_0x56bc13['length'];_0x26486d++){const _0x250191={'id':_0x45ccec(0x22e),'params':{..._0x56bc13[_0x26486d]}},_0x42f0ec=this[_0x45ccec(0x159)][_0x45ccec(0x17e)](_0x3c2321,_0x250191,!0x1);if(_0xe1a8c3(_0x42f0ec))throw _0x42f0ec[_0x45ccec(0x254)];_0x3c2321=_0x42f0ec[_0x45ccec(0x1ee)];}return{..._0x2a3c54[_0x45ccec(0x176)](_0x577918),'mutations':[_0x3c2321]};}['_transformUndoRedoStack'](_0x1e85c2){const _0x403de3=_0x101b2d,{unitID:_0xeb0096}=_0x1e85c2,_0x3da4ed=this['_renderManagerService'][_0x403de3(0x1f0)](_0xeb0096)[_0x403de3(0x2a7)](_0x122b5c),{undoCache:_0x5d3514,redoCache:_0x26bc1e}=_0x3da4ed['getUndoRedoMutationParamsCache']();if(_0x5d3514[_0x403de3(0x24b)]===0x0||_0x26bc1e['length']===0x0)return;const _0x5b655f=[],_0x340be5=[];let _0x5dc18d=_0x2a3c54[_0x403de3(0x176)](_0x1e85c2[_0x403de3(0x15c)][0x0]),_0xe347d0=_0x2a3c54[_0x403de3(0x176)](_0x1e85c2[_0x403de3(0x15c)][0x0]);for(let _0x3133a7=_0x5d3514['length']-0x1;_0x3133a7>=0x0;_0x3133a7--){const _0x188544={'id':_0x403de3(0x22e),'params':{..._0x5d3514[_0x3133a7]}},_0x1c62c6={'id':_0x403de3(0x22e),'params':{..._0x26bc1e[_0x3133a7]}},_0x294d2e=this['_transformService'][_0x403de3(0x17e)](_0x5dc18d,_0x188544,!0x1),_0x335569=this['_transformService'][_0x403de3(0x17e)](_0xe347d0,_0x1c62c6,!0x1);if(_0xe1a8c3(_0x294d2e))throw _0x294d2e[_0x403de3(0x254)];if(_0xe1a8c3(_0x335569))throw _0x335569[_0x403de3(0x254)];_0x5b655f['unshift'](_0x294d2e[_0x403de3(0x1f2)][_0x403de3(0x330)]),_0x340be5[_0x403de3(0x1d9)](_0x335569[_0x403de3(0x1f2)][_0x403de3(0x330)]),_0x5dc18d=_0x294d2e['m1Prime'],_0xe347d0=_0x335569[_0x403de3(0x1ee)];}_0x3da4ed[_0x403de3(0x314)]({'undoCache':_0x5b655f,'redoCache':_0x340be5});}[_0x101b2d(0x1a1)](_0x536808){const _0x15badc=_0x101b2d,{unitID:_0x276087}=_0x536808,_0x30027c=this[_0x15badc(0x1f8)]['getRenderById'](_0x276087)[_0x15badc(0x2a7)](_0x122b5c),_0x3a7e9d=_0x30027c[_0x15badc(0x2a8)]();if(_0x3a7e9d==null)return;const _0x441a6a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x536808['unitID'],'actions':null,'textRanges':[_0x3a7e9d]}}],_0x36ba1d=this[_0x15badc(0x159)][_0x15badc(0x2e7)](_0x536808,_0x441a6a);if(!_0x220a8f(_0x36ba1d))throw _0x36ba1d[_0x15badc(0x254)];const _0x32b8e7=_0x36ba1d[_0x15badc(0x1f2)][0x0]['params'][_0x15badc(0x2e5)];Array[_0x15badc(0x1ab)](_0x32b8e7)&&_0x32b8e7[_0x15badc(0x24b)]&&_0x30027c['setActiveRange'](_0x32b8e7[0x0]);}};ne=tn([pe(0x0,_0x412f34(_0x5734b6)),pe(0x1,_0x4f8e7d),pe(0x2,_0x472ea2)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x317a14,_0x83e258,_0x125c0c,_0xfc2f6d)=>{const _0x423499=_0x101b2d;for(var _0x5cb58c=_0xfc2f6d>0x1?void 0x0:_0xfc2f6d?sn(_0x83e258,_0x125c0c):_0x83e258,_0x44aadc=_0x317a14[_0x423499(0x24b)]-0x1,_0x166425;_0x44aadc>=0x0;_0x44aadc--)(_0x166425=_0x317a14[_0x44aadc])&&(_0x5cb58c=_0x166425(_0x5cb58c)||_0x5cb58c);return _0x5cb58c;},Ce=(_0x47398a,_0x580f4f)=>(_0x444485,_0x4edf09)=>_0x580f4f(_0x444485,_0x4edf09,_0x47398a);let re=class{constructor(_0x20cf25,_0x33fc1a,_0xe1babf){const _0x3cce3b=_0x101b2d;this[_0x3cce3b(0x332)]=_0x20cf25,this['_transformService']=_0x33fc1a,this[_0x3cce3b(0x287)]=_0xe1babf;}[_0x101b2d(0x33b)](_0x4c0b11){const _0x28f4f0=_0x101b2d;this[_0x28f4f0(0x322)](_0x4c0b11);}['transformRemoteChangeset'](_0x5ea382){const _0x5e9d96=_0x101b2d,{unitID:_0x58a76a}=_0x5ea382,{collaboration:_0xedf0a9}=this[_0x5e9d96(0x287)][_0x5e9d96(0x2ed)](_0x58a76a);if(_0xedf0a9['length']===0x0)return _0x5ea382;let _0x2dd7b1=_0x2a3c54[_0x5e9d96(0x176)](_0x5ea382[_0x5e9d96(0x15c)][0x0]);for(let _0x497de1=0x0;_0x497de1<_0xedf0a9['length'];_0x497de1++){const _0x3f504e={'id':_0x5e9d96(0x22e),'params':{'unitId':_0xedf0a9[_0x497de1]['unitId'],..._0xedf0a9[_0x497de1][_0x5e9d96(0x336)]}},_0x3e6a27=this[_0x5e9d96(0x159)]['transformMutation'](_0x2dd7b1,_0x3f504e,!0x1);if(_0xe1a8c3(_0x3e6a27))throw _0x3e6a27[_0x5e9d96(0x254)];_0x2dd7b1=_0x3e6a27['m1Prime'];}return{..._0x2a3c54[_0x5e9d96(0x176)](_0x5ea382),'mutations':[_0x2dd7b1]};}['_transformHistoryAndStateStack'](_0x41710b){const _0x25e924=_0x101b2d,{unitID:_0x487bda}=_0x41710b,{history:_0x13d5b8,collaboration:_0x17cdc3}=this[_0x25e924(0x287)][_0x25e924(0x2ed)](_0x487bda);if(_0x13d5b8[_0x25e924(0x24b)]===0x0&&_0x17cdc3[_0x25e924(0x24b)]===0x0)return;const _0x2f23c1=[],_0x38036c=[];let _0xae06c3=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]),_0x116755=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]);for(let _0x9110a9=_0x13d5b8[_0x25e924(0x24b)]-0x1;_0x9110a9>=0x0;_0x9110a9--){const _0x49a826={'id':_0x25e924(0x22e),'params':{'unitId':_0x13d5b8[_0x9110a9][_0x25e924(0x333)],..._0x13d5b8[_0x9110a9][_0x25e924(0x226)]}},_0x3a4fa3={'id':_0x25e924(0x22e),'params':{'unitId':_0x13d5b8[_0x9110a9][_0x25e924(0x333)],..._0x13d5b8[_0x9110a9][_0x25e924(0x336)]}},_0x9ab517=this[_0x25e924(0x159)][_0x25e924(0x17e)](_0xae06c3,_0x49a826,!0x1),_0x2a04bb=this['_transformService']['transformMutation'](_0x116755,_0x3a4fa3,!0x1);if(_0xe1a8c3(_0x9ab517))throw _0x9ab517[_0x25e924(0x254)];if(_0xe1a8c3(_0x2a04bb))throw _0x2a04bb[_0x25e924(0x254)];_0x2f23c1[_0x25e924(0x1d9)]({..._0x13d5b8[_0x9110a9],'undoState':_0x9ab517['m2Prime'][_0x25e924(0x330)],'redoState':_0x2a04bb[_0x25e924(0x1f2)][_0x25e924(0x330)]}),_0xae06c3=_0x9ab517['m1Prime'],_0x116755=_0x2a04bb[_0x25e924(0x1ee)];}_0xae06c3=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]),_0x116755=_0x2a3c54[_0x25e924(0x176)](_0x41710b[_0x25e924(0x15c)][0x0]);for(let _0x467c55=_0x17cdc3[_0x25e924(0x24b)]-0x1;_0x467c55>=0x0;_0x467c55--){const _0xc3f890={'id':_0x25e924(0x22e),'params':{'unitId':_0x17cdc3[_0x467c55][_0x25e924(0x333)],..._0x17cdc3[_0x467c55]['undoState']}},_0x189cc2={'id':_0x25e924(0x22e),'params':{'unitId':_0x17cdc3[_0x467c55][_0x25e924(0x333)],..._0x17cdc3[_0x467c55][_0x25e924(0x336)]}},_0x92c6c7=this[_0x25e924(0x159)][_0x25e924(0x17e)](_0xae06c3,_0xc3f890,!0x1),_0x10157b=this[_0x25e924(0x159)][_0x25e924(0x17e)](_0x116755,_0x189cc2,!0x1);if(_0xe1a8c3(_0x92c6c7))throw _0x92c6c7[_0x25e924(0x254)];if(_0xe1a8c3(_0x10157b))throw _0x10157b[_0x25e924(0x254)];_0x38036c[_0x25e924(0x1d9)]({..._0x17cdc3[_0x467c55],'undoState':_0x92c6c7[_0x25e924(0x1f2)][_0x25e924(0x330)],'redoState':_0x10157b[_0x25e924(0x1f2)][_0x25e924(0x330)]}),_0xae06c3=_0x92c6c7['m1Prime'],_0x116755=_0x10157b['m1Prime'];}this[_0x25e924(0x287)][_0x25e924(0x1bc)](_0x487bda,{'history':_0x2f23c1,'collaboration':_0x38036c});}};re=nn([Ce(0x0,_0x412f34(_0x5734b6)),Ce(0x1,_0x4f8e7d),Ce(0x2,_0x412f34(_0xe74f9b))],re);var rn=Object[_0x101b2d(0x172)],on=(_0x324d5b,_0xaee134,_0x5206ae,_0x45c845)=>{const _0x48f898=_0x101b2d;for(var _0x3edad5=_0x45c845>0x1?void 0x0:_0x45c845?rn(_0xaee134,_0x5206ae):_0xaee134,_0x1afe3f=_0x324d5b[_0x48f898(0x24b)]-0x1,_0x5a6535;_0x1afe3f>=0x0;_0x1afe3f--)(_0x5a6535=_0x324d5b[_0x1afe3f])&&(_0x3edad5=_0x5a6535(_0x3edad5)||_0x3edad5);return _0x3edad5;},tt=(_0xfc47ed,_0x5156dd)=>(_0x1715ed,_0x1cd139)=>_0x5156dd(_0x1715ed,_0x1cd139,_0xfc47ed);let oe=class{constructor(_0x369864,_0x612a25){const _0x2d77cf=_0x101b2d;this[_0x2d77cf(0x332)]=_0x369864,this[_0x2d77cf(0x159)]=_0x612a25;}[_0x101b2d(0x2a9)](_0x328d33){const _0xc2ec88=_0x101b2d;var _0x22face;const _0x5bfffe=this[_0xc2ec88(0x332)][_0xc2ec88(0x23e)](_0x3a0ec0),_0xdb9f36=(_0x22face=_0x5bfffe['getDocRanges']())!=null?_0x22face:[];if(_0xdb9f36[_0xc2ec88(0x24b)]===0x0)return;const _0x477e8c=_0x328d33['unitID'],_0x3fe4a0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x477e8c,'actions':null,'textRanges':_0xdb9f36}}],_0x421fdf=this[_0xc2ec88(0x159)][_0xc2ec88(0x2e7)](_0x328d33,_0x3fe4a0);if(!_0x220a8f(_0x421fdf))throw _0x421fdf[_0xc2ec88(0x254)];const _0x2908c2=_0x421fdf[_0xc2ec88(0x1f2)][0x0][_0xc2ec88(0x330)][_0xc2ec88(0x2e5)];Array[_0xc2ec88(0x1ab)](_0x2908c2)&&_0x2908c2['length']&&_0x5bfffe[_0xc2ec88(0x209)](_0x2908c2,{'unitId':_0x477e8c,'subUnitId':_0x477e8c},!0x1);}};oe=on([tt(0x0,_0x412f34(_0x5734b6)),tt(0x1,_0x4f8e7d)],oe);var an=Object[_0x101b2d(0x172)],cn=(_0x2de6fb,_0x5da599,_0x342eee,_0x568f1d)=>{const _0x49736=_0x101b2d;for(var _0x13f5a2=_0x568f1d>0x1?void 0x0:_0x568f1d?an(_0x5da599,_0x342eee):_0x5da599,_0x1a3218=_0x2de6fb[_0x49736(0x24b)]-0x1,_0x227d0e;_0x1a3218>=0x0;_0x1a3218--)(_0x227d0e=_0x2de6fb[_0x1a3218])&&(_0x13f5a2=_0x227d0e(_0x13f5a2)||_0x13f5a2);return _0x13f5a2;},U=(_0x1de740,_0x18c083)=>(_0xaf57f8,_0x1a43b1)=>_0x18c083(_0xaf57f8,_0x1a43b1,_0x1de740);let ae=class extends _0x5d992a{constructor(_0x3e2866,_0x58c3f7,_0x307ce7,_0xbd9d4d,_0x1884ba,_0x35f583,_0x59e12f,_0x355246){const _0x5154bd=_0x101b2d;super(),_(this,_0x5154bd(0x1e0),new _0x41fdad(_0x3843bb[_0x5154bd(0x2bd)])),(this['_docStateChangeManagerService']=_0x3e2866,this[_0x5154bd(0x14e)]=_0x58c3f7,this[_0x5154bd(0x2e8)]=_0x307ce7,this[_0x5154bd(0x346)]=_0xbd9d4d,this['_docTransformSelectionsService']=_0x1884ba,this[_0x5154bd(0x30b)]=_0x35f583,this[_0x5154bd(0x2c3)]=_0x59e12f,this[_0x5154bd(0x2d3)]=_0x355246,this[_0x5154bd(0x327)]());}[_0x101b2d(0x327)](){const _0x57c498=_0x101b2d;this[_0x57c498(0x197)](this['_collaborationController'][_0x57c498(0x1fe)]['subscribe'](_0x48ac4f=>{const _0x165773=_0x57c498,_0x2008f7=this['_docStateChangeManagerService']['docStateChange$'][_0x165773(0x1e8)](_0x592e44=>{const _0x438e58=_0x165773;if(_0x592e44==null)return;const {unitId:_0x10f606,redoState:_0x26de61,commandId:_0x2e1a67}=_0x592e44;if(_0x10f606!==_0x48ac4f[_0x438e58(0x2e4)])return;const _0x55b348={'id':_0x2e1a67,'type':_0x5c0bdc[_0x438e58(0x178)],'params':{'unitId':_0x10f606,'actions':_0x26de61[_0x438e58(0x19e)],'textRanges':null}};_0x48ac4f['onLocalMutation'](_0x55b348);});if(_0x48ac4f[_0x165773(0x197)](_0x2008f7),_0x48ac4f instanceof _0x238a62){const _0x24ce71={'onTransformIME':_0x1ae64a=>this['_docTransformIMECacheService']['transformIMECache'](_0x1ae64a),'onTransformState':_0x28a0c4=>this[_0x165773(0x346)][_0x165773(0x33b)](_0x28a0c4),'onTransformSelections':_0x9d82f8=>this[_0x165773(0x321)][_0x165773(0x2a9)](_0x9d82f8),'onSyncEditingCollabCursor':_0x56e7e8=>this[_0x165773(0x30b)]['syncEditingCollabCursor'](_0x56e7e8),'onTransformRemoteChangesetByIMECache':_0x155e37=>this['_docTransformIMECacheService'][_0x165773(0x1b0)](_0x155e37),'onTransformRemoteChangesetByStateCache':_0x11510d=>this[_0x165773(0x346)][_0x165773(0x1b0)](_0x11510d)};_0x48ac4f['addHandlerCallback'](_0x24ce71);}}));}};ae=cn([U(0x0,_0x412f34(_0xe74f9b)),U(0x1,_0x412f34(_0x80ddbe)),U(0x2,_0x412f34(ne)),U(0x3,_0x412f34(re)),U(0x4,_0x412f34(oe)),U(0x5,_0x412f34(He)),U(0x6,_0x1f8231),U(0x7,_0x412f34(_0x2f8db4))],ae);var ln=Object[_0x101b2d(0x172)],_n=(_0x5eed8a,_0x5106ca,_0x1b2cc0,_0x148f95)=>{for(var _0x4a81de=_0x148f95>0x1?void 0x0:_0x148f95?ln(_0x5106ca,_0x1b2cc0):_0x5106ca,_0xba8d82=_0x5eed8a['length']-0x1,_0x37c03d;_0xba8d82>=0x0;_0xba8d82--)(_0x37c03d=_0x5eed8a[_0xba8d82])&&(_0x4a81de=_0x37c03d(_0x4a81de)||_0x4a81de);return _0x4a81de;},Ee=(_0x40c8c7,_0x4921d4)=>(_0x3825fb,_0x585510)=>_0x4921d4(_0x3825fb,_0x585510,_0x40c8c7);let we=class extends _0x5d992a{constructor(_0x1345d8,_0x17cb2b,_0x10f579){const _0x45a0e9=_0x101b2d;super(),_(this,_0x45a0e9(0x25d),new Map()),_(this,_0x45a0e9(0x290),new Map()),_(this,_0x45a0e9(0x32e),!0x1),(this[_0x45a0e9(0x319)]=_0x1345d8,this[_0x45a0e9(0x233)]=_0x17cb2b,this['_revisionService']=_0x10f579);}[_0x101b2d(0x1a5)](){const _0x5a7531=_0x101b2d;this[_0x5a7531(0x32e)]=!0x0;}[_0x101b2d(0x283)](){const _0x2c6d2b=_0x101b2d;this[_0x2c6d2b(0x32e)]=!0x1;}get[_0x101b2d(0x2c6)](){return this['_saveTaskMap'];}[_0x101b2d(0x1ec)](){const _0x242db4=_0x101b2d;this['exhaustSavingTask']()[_0x242db4(0x334)](()=>super[_0x242db4(0x1ec)]());}async[_0x101b2d(0x276)](_0x87dcd8){const _0x445322=_0x101b2d;return this[_0x445322(0x32e)]?null:this[_0x445322(0x233)][_0x445322(0x27b)](_0x4fbd4e(_0x87dcd8));}async[_0x101b2d(0x215)](_0x56dcdd,_0xa263e){const _0x106063=_0x101b2d;return!!this[_0x106063(0x233)]['setItem'](_0x56dcdd,_0xa263e);}[_0x101b2d(0x297)](_0x1897ca,_0xb85101,_0x3c21f6,_0x2f0596){const _0x383d6b=_0x101b2d,_0x28d09b=this[_0x383d6b(0x200)]['getCurrentRevOfUnit'](_0x1897ca);this[_0x383d6b(0x25d)][_0x383d6b(0x213)](_0x1897ca,{'unitID':_0x1897ca,'type':_0xb85101,'awaitingChangeset':_0x3c21f6,'mutations':_0x2f0596,'rev':_0x28d09b}),this[_0x383d6b(0x290)][_0x383d6b(0x1b4)](_0x1897ca)||this[_0x383d6b(0x2f0)](_0x1897ca);}[_0x101b2d(0x2f0)](_0x3e0e78){const _0x5b1ce3=_0x101b2d,_0x4d3b7e=this[_0x5b1ce3(0x194)]();_0x4d3b7e===0x0?this[_0x5b1ce3(0x28f)](_0x3e0e78):this['_saveTaskMap']['set'](_0x3e0e78,setTimeout(()=>this[_0x5b1ce3(0x28f)](_0x3e0e78),_0x4d3b7e));}[_0x101b2d(0x194)](){const _0x7e7622=_0x101b2d;var _0x5856d9;return(_0x5856d9=this[_0x7e7622(0x319)][_0x7e7622(0x205)](_0x5a6c3b))!=null?_0x5856d9:_0x8ebb76;}[_0x101b2d(0x28f)](_0x41ca2a){const _0x453bdf=_0x101b2d,_0x3e94e9=this['_saveTaskMap'][_0x453bdf(0x23e)](_0x41ca2a);return _0x3e94e9!==void 0x0&&window[_0x453bdf(0x1c2)](_0x3e94e9),this[_0x453bdf(0x233)][_0x453bdf(0x299)](_0x4fbd4e(_0x41ca2a),this[_0x453bdf(0x25d)]['get'](_0x41ca2a))[_0x453bdf(0x334)](()=>this[_0x453bdf(0x290)]['delete'](_0x41ca2a));}async[_0x101b2d(0x18b)](){const _0x568d65=_0x101b2d,_0x37a050=[];this[_0x568d65(0x290)]['forEach']((_0xf74044,_0x49983a)=>{const _0x418e95=_0x568d65;window[_0x418e95(0x1c2)](_0xf74044),_0x37a050[_0x418e95(0x262)](this[_0x418e95(0x28f)](_0x49983a)['then'](()=>{const _0x5517fc=_0x418e95;this[_0x5517fc(0x290)][_0x5517fc(0x27f)](_0x49983a);}));}),await Promise[_0x568d65(0x1a4)](_0x37a050);}};we=_n([Ee(0x0,_0x13e366),Ee(0x1,_0x54e307),Ee(0x2,_0x412f34(_0xf00258))],we);class hn extends _0x26536e{constructor(){const _0x264451=_0x101b2d;super(),_(this,'urlChange$'),this[_0x264451(0x146)]=_0x3c49fd(window,'popstate')['pipe'](_0xfd7c4(this['dispose$']),_0x3f433b(0x1),_0x44d52f(void 0x0));}[_0x101b2d(0x15d)](_0x20d494,_0x9b163,_0x487ccf=!0x1){const _0x3d2afa=_0x101b2d,_0x31a0c6=new URL(window[_0x3d2afa(0x16c)]['href']);_0x31a0c6[_0x3d2afa(0x237)][_0x3d2afa(0x213)](_0x20d494,_0x9b163),_0x487ccf?window[_0x3d2afa(0x1c6)]['replaceState']('','',_0x31a0c6[_0x3d2afa(0x14c)]()):window[_0x3d2afa(0x1c6)][_0x3d2afa(0x292)]('','',_0x31a0c6[_0x3d2afa(0x14c)]());}['removeParam'](_0x639537,_0x286849=!0x1){const _0x239551=_0x101b2d,_0x4ad492=new URL(window['location'][_0x239551(0x14f)]);_0x4ad492[_0x239551(0x237)][_0x239551(0x27f)](_0x639537),_0x286849?window['history'][_0x239551(0x25a)]('','',_0x4ad492[_0x239551(0x14c)]()):window['history'][_0x239551(0x292)]('','',_0x4ad492[_0x239551(0x14c)]());}[_0x101b2d(0x25c)](_0x5f7787){const _0x3efbf7=_0x101b2d;var _0x40e0b7;return(_0x40e0b7=new URL(window[_0x3efbf7(0x16c)][_0x3efbf7(0x14f)])[_0x3efbf7(0x237)][_0x3efbf7(0x23e)](_0x5f7787))!=null?_0x40e0b7:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x101b2d(0x172)],fn=(_0x14d271,_0x315fba,_0x5e85ed)=>_0x315fba in _0x14d271?un(_0x14d271,_0x315fba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e85ed}):_0x14d271[_0x315fba]=_0x5e85ed,Sn=(_0x4b6110,_0x1e917b,_0x37d119,_0x24f388)=>{for(var _0x4f9529=_0x24f388>0x1?void 0x0:_0x24f388?dn(_0x1e917b,_0x37d119):_0x1e917b,_0x3f4bb0=_0x4b6110['length']-0x1,_0x5023f2;_0x3f4bb0>=0x0;_0x3f4bb0--)(_0x5023f2=_0x4b6110[_0x3f4bb0])&&(_0x4f9529=_0x5023f2(_0x4f9529)||_0x4f9529);return _0x4f9529;},Oe=(_0x2577ce,_0x2c4536)=>(_0x3f1b29,_0x425351)=>_0x2c4536(_0x3f1b29,_0x425351,_0x2577ce),mn=(_0x65028e,_0x1a566a,_0x461ef0)=>fn(_0x65028e,_0x1a566a+'',_0x461ef0);const In=_0x101b2d(0x2ef);let Ae=class extends _0x5ef0c3{constructor(_0x238af8=et,_0x3b0cb3,_0x5be10c,_0x4006dd){const _0x130005=_0x101b2d;super(),this[_0x130005(0x228)]=_0x238af8,this[_0x130005(0x1f8)]=_0x3b0cb3,this[_0x130005(0x332)]=_0x5be10c,this[_0x130005(0x319)]=_0x4006dd;const {..._0x2ed261}=_0x78722b({},et,this[_0x130005(0x228)]);this['_configService'][_0x130005(0x26e)](Zi,_0x2ed261);}['onStarting'](){const _0x122616=_0x101b2d;this['_registerDependencies'](),this[_0x122616(0x2b7)]();}[_0x101b2d(0x1b6)](){const _0x54d9a2=_0x101b2d;this[_0x54d9a2(0x2c1)]();}[_0x101b2d(0x1ba)](){const _0x37f10f=_0x101b2d;var _0x4d0b66;const _0x4c96ce=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x28d7f0,{'useClass':_0x5afffe}],[_0x55999b,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x183f09(this['_injector'],_0x456b3d(_0x4c96ce,(_0x4d0b66=this[_0x37f10f(0x228)])==null?void 0x0:_0x4d0b66[_0x37f10f(0x1da)]));}[_0x101b2d(0x2c1)](){const _0x1b38d2=_0x101b2d;this[_0x1b38d2(0x197)](this[_0x1b38d2(0x1f8)][_0x1b38d2(0x1eb)](_0xcf709f[_0x1b38d2(0x1b5)],[Le])),this[_0x1b38d2(0x197)](this[_0x1b38d2(0x1f8)][_0x1b38d2(0x1eb)](_0xcf709f[_0x1b38d2(0x348)],[Pe]));}[_0x101b2d(0x2b7)](){_0x104d7e(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};function _0x82c1(){const _0x23cf27=['isArray','_commandService','substring','addObject','isActive','transformRemoteChangeset','beginPath','onCommandExecuted','storage','has','UNIVER_DOC','onRendered','#FFF','YUUMI_UNABLE_LOAD_URL','symbol','_registerDependencies','getValue','setStateCache','getActiveSheet','_cursorInfo$','_handleHover','extend','INVALID_INVITE_CODE','clearTimeout','getAncestorScale','_roomMembers$','registerBeforeClose','history','subUnitId','_handleJoinEvent','OTHER_CLIENTS_EDITING','37880XtLeVW','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','activeSheet$','data','LICENSE_DISTRO_REJECTED','Failed','startsWith','_handleEvent','LICENSE_MAX_UNITS_EXCEEDED','Error','_transformUndoRedoStack','svg','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','bottom','transformIMECache','unshift','override','DeleteRangeMoveUpCommandId','collabCursorState$','_updateURLWithCurrentState','stringify','random','_status$','createSocket','_online','_hideTimer','_textBubble','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','assignAColorForMemberID','_removeClearOtherTimer','subscribe','green.600','PERMISSION_DENIED','registerRenderModule','dispose','_lastPointer','m1Prime','defIds','getRenderById','_drawAnchor','m2Prime','use','find','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','8XQuwgc','Warning','_renderManagerService','_themeService','unsubscribe','_univerInstanceService','getUniverSheetInstance','_collabSessionService','entityInit$','_setupBeforeClosingHandler','_revisionService','_handleHeartbeatEvent','FromArray','USER_NOT_INVITED_CODE','startRow','getConfig','_getAnchorBounding','unload','_getSheetObject','replaceDocRanges','sessionTicket','_toggleOnline','_hover','call','_docSkeletonManagerService','JOIN_ROOM_FAILED','icon','_initStatusListener','min','set','findNodePositionByCharIndex','saveOfflineData','collaboration.single-unit.warning','idSuffix','transform','_colorAssignService','onMouseMove','jiqing.500','closePath','_uiPartsService','1em','_eventUnsubscribe','YUUMI_ALL_TABLES_IS_INVALID','EMAIL_HAS_BEEN_BOUND','init','_document','_clearOtherTimers','getCurrent','undoState','YUUMI_URL_COL_OUT_OF_RANGE','_config','HEADER_MENU','[RemoteUniscriptService]:\x20no\x20focused\x20unit','WECHAT_HAS_BEEN_BOUND','_heartbeatTimer','_ensureSubject','doc.mutation.rich-text-editing','Unknown\x20user','_init','_localCacheService','engine','_localStorageService','runId','RemoveColCommandId','next','searchParams','onPointerLeave$','SYNCED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_session','getCollabEntity$','_instanceService','get','collaboration-client-ui.config','addEventListener','cursorInfo$','_send','className','MOBILE_VERIFY_CODE_MISMATCH','_draw','_labelPosition','mask','_onCursorDelete','includes','getOffsetConfig','length','_onRefRangeChange','_refreshCollabCursors','getMemberID','NOT_FOUND','newValue','_anchorDot','on-line-icon','concat','error','on-line-icon_clip0_910_349','RECT','drawWith','trim','_range','replaceState','skeleton','getParam','_cachedData','SOCKET_FAILED_RETRY','INVITE_CODE_HAS_BEEN_UES','APPLY_REJECT','_collaborationUIEventService','push','code','pipe','debug','asObservable','attrs','currentColor','sheetID','LICENSE_IMPORT_SIZE_EXCEEDED','createInstance','defs','[CollaborationDataLoaderController]','setConfig','registerComponent','getOwnPropertySymbols','getFocusedUnit','_selfUnitIDs','getUndoRedoMutationParamsCache','addObjects','post','loadOfflineData','_memberService','addClipboardHook','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UPDATE_CURSOR','getItem','_imageIoService','_drawRectRange','height','delete','CONNECTOR_DATA_TOO_LARGE','ranges','CLOSE_ROOM','enableLocalCache','_initStatusComponent','TOO_MANY_REQUESTS','div','_docStateChangeManagerService','_backgroundColor','_sheetSkeletonManagerService','subscribeEvent','SUBMIT_CHANGESET_TIMEOUT','PY_RUNTIME_SCRIPT_ERROR','rgba(255,\x20255,\x20255,\x200.01)','COMPLETION_FINISHED','_saveCache','_saveTaskMap','OnLineIcon','pushState','show','body','fillRule','setInterval','updateOfflineData','_initCommandExecutedListener','setItem','red.300','assign','clipPath','_setupSubUnitSync','resize','reconnect','_getSessionTicket','off-line-icon','_assignedColors','_render','1svlYgU','...','yellow.400','with','getActiveRange','transformSelections','USERS_LEAVE','_scene','SNAPSHOT_INVALID_SNAPSHOT','unit','wsSessionTicketUrl','_createSocketURL','0\x200\x2017\x2016','getColorFromTheme','permission.title','black','LOGIN_FAILED','0\x200\x2016\x2016','propertyIsEnumerable','_initDependencies','fillText','sheetId','_httpService','956874esociK','size','NOT_COLLAB','_getMergeRange','AWAITING','application/json','_registerRenderDependencies','955497UKBISp','_messageService','xlink:href','generateRandomId','saveTaskMap','APPLY_PERMISSION_DENIED','text','requireSession','imageSourceType','white','_name','subunit','max','from','purple.300','collabStatus.syncing','hasOwnProperty','_localeService','_refRangeService','cursorInfo','add','fillStyle','send','moveTo','runOnServer','range','getTypeOfUnitDisposed$','5283400WAQJqd','defineProperty','children','result','getRangePointData','current','_anchor','unitID','textRanges','_updateSubUnitFromURLParams','transformMutationsWithChangeset','_docTransformIMECacheService','LICENSE_EXPORT_SIZE_EXCEEDED','ONLINE','_context','column','getStateCache','_startDocCollabCursor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_scheduleSaving','syncEditingCollabCursor','triggerDblclick','backgroundColor','name','_dataLoaderService','roomMembers$','univer-flex\x20univer-items-center','2890335UWjoSn','_doCreateSocket','DeleteRangeMoveLeftCommandId','_entityInit$','arc','startColumn','YUUMI_ASYNCIO_CANCELLED','save','translate(.97)','split','_onCursorUpdate','collab-rect-range-','VIEW_MAIN','InsertColCommandId','onPointerMove$','transformByState','type','selections','_toggleOffline','_docSyncEditingCollabCursorService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','status$','UNDEFINED','_unitOnClients','registerRefRange','7vqWqKw','dispose$','_logService','setUndoRedoMutationParamsCache','selection','endColumn','CONFLICT','_initResize','_configService','_collabCursorState$','EMAIL_VERIFY_CODE_MISMATCH','getSheetBySheetId','_initEvent','getTypeOfUnitAdded$','_notificationService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_docTransformSelectionsService','_transformHistoryAndStateStack','OFFLINE','row','restore','key','_initEntityListener','M0\x200H16V16H0z','width','complete','PENDING','OffLineIcon','clearInterval','_disabled','11076384shDGSi','params','collab-text-anchor-','_injector','unitId','then','some','redoState','MOBILE_HAS_BEEN_BOUND','UNRECOGNIZED','setAlpha','_updateCollabCursors','transformStateCache','collab-client.tooltip.reconnect','_handleLeaveEvent','_entities','APPLY_NON_SEQUENTIAL_REVISION','fill','tag','getCollabCursors$','getUnitId','_updateLocalCursor','map','_docTransformStateCacheService','url(#off-line-icon_clip0_910_343)','UNIVER_SHEET','prototype','urlChange$','_docSkeleton','getMergeData','getVpScrollXYInfoByPosToVp','INVITE_CODE_ALREADY_BOUND','round','toString','_scheduleHeartbeat','_collaborationController','href','apply','displayName','_colorIndex','currentTheme$','YUUMI_SUBSCRIPTION_NOT_FOUND','replace','string','flatMap','_startSheetCollabCursor','_transformService','CHANGESET_REVISION_CONFILICT','evenodd','mutations','setParam','APPLY_DUPLICATED','setShapeProps','onPointerEnter$','INVITE_CODE_REQUIRED','8569578yWrFvg','eventID','_collabCursorController','_urlService','hide','values','MoveRangeCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','_cursorShapes','loadUnit','location','_getScale','_removeCollabCursors','_color','saveImage','url(#on-line-icon_clip0_910_349)','getOwnPropertyDescriptor','423CmJDxP','_docClipboardService','ALREADY_EXISTS','deepClone','off-line-icon_clip0_910_343','MUTATION','measureText','YUUMI_AI_RUN_FAILED','getSheetId','path','entries','transformMutation','color','event$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_shapes','executeCommand','setTimeout','roomMembers','none','getSkeleton','url(#$1','isEditing','forEach','exhaustSavingTask','permission.content','SNAPSHOT_HAS_BEEN_REMOVED','ENSURE_SNAPSHOT_EXECUTION','session.connection-failed','_cursors','_hovered','ACTIVE_UNIT_EVENT_CHANNEL','INTERNAL_ERROR','_getSaveTimeout','_id','_drawTextRange','disposeWithMe','http://www.w3.org/2000/svg','top','YUUMI_CONNECTOR_URL_NOT_FOUND','colorChannel1','uni.network.url-service','collaboration-client.offline-data-not-saved','actions','lineTo','_beforeCloseService','_transformPreviousActiveRange','TEXT','onTransformChange$','all','disableLocalCache','currentSkeleton$','getCurrentSelections','indexOf','_unitStatus','_scheduleClearOtherTimer'];_0x82c1=function(){return _0x23cf27;};return _0x82c1();}mn(Ae,'pluginName',In),Ae=Sn([_0x3a8c20(_0x42a2eb),Oe(0x1,_0x472ea2),Oe(0x2,_0x412f34(_0x5734b6)),Oe(0x3,_0x13e366)],Ae);var gn=Object[_0x101b2d(0x172)],vn=(_0x45c541,_0x151fc6,_0x599420,_0x1b6191)=>{const _0xce2601=_0x101b2d;for(var _0x5da8b4=_0x1b6191>0x1?void 0x0:_0x1b6191?gn(_0x151fc6,_0x599420):_0x151fc6,_0x4fd13c=_0x45c541[_0xce2601(0x24b)]-0x1,_0x416c4e;_0x4fd13c>=0x0;_0x4fd13c--)(_0x416c4e=_0x45c541[_0x4fd13c])&&(_0x5da8b4=_0x416c4e(_0x5da8b4)||_0x5da8b4);return _0x5da8b4;},K=(_0x2f34bb,_0xc78d58)=>(_0x3d6e8c,_0x1c344b)=>_0xc78d58(_0x3d6e8c,_0x1c344b,_0x2f34bb);let st=class extends _0x356620{constructor(_0x585f54,_0x2e8e8f,_0x2bac28,_0x3a794e,_0x3e55db){super(_0x585f54,_0x2e8e8f,_0x2bac28,_0x3a794e,_0x3e55db);}async[_0x101b2d(0x1e1)](_0x191c1e){const _0x46845c=_0x101b2d,_0x5075e8=await this[_0x46845c(0x2a0)](),_0x4af95a=this[_0x46845c(0x2af)](_0x191c1e,_0x5075e8);return this[_0x46845c(0x2f9)](_0x4af95a);}[_0x101b2d(0x2af)](_0x36bbb2,_0x2437c9){const _0x40ed8d=_0x101b2d,_0x24979f=typeof window>'u'?new URL(_0x36bbb2):new URL(_0x36bbb2,window[_0x40ed8d(0x16c)]['origin']);_0x24979f['searchParams'][_0x40ed8d(0x213)](_0x40ed8d(0x20a),_0x2437c9);const _0x5076d1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x40ed8d(0x16c)]['search']);return _0x5076d1[_0x40ed8d(0x23e)](_0x40ed8d(0x234))&&_0x24979f['searchParams'][_0x40ed8d(0x213)](_0x40ed8d(0x234),_0x5076d1[_0x40ed8d(0x23e)](_0x40ed8d(0x234))),_0x24979f['toString']();}async[_0x101b2d(0x2a0)](){const _0x2ba447=_0x101b2d;var _0x5f1fbf,_0x46355d,_0x4bb62f;const _0x8809d3=this[_0x2ba447(0x319)]['getConfig'](_0x8df6aa),_0x458363=(_0x5f1fbf=_0x8809d3==null?void 0x0:_0x8809d3[_0x2ba447(0x2ae)])!=null?_0x5f1fbf:_0x4ba172;return(_0x4bb62f=(_0x46355d=(await this[_0x2ba447(0x2ba)][_0x2ba447(0x23e)](_0x458363,{'headers':{'Content-Type':_0x2ba447(0x2c0)}}))[_0x2ba447(0x294)])==null?void 0x0:_0x46355d['ticket'])!=null?_0x4bb62f:'';}};st=vn([K(0x0,_0x412f34(_0x5734b6)),K(0x1,_0x412f34(_0x32db5f)),K(0x2,_0x13e366),K(0x3,_0x49d917),K(0x4,_0x4f4740)],st);const it=0x7530,nt=_0x101b2d(0x192);class Fn extends _0x5d992a{constructor(){const _0x305d64=_0x101b2d;super(),_(this,_0x305d64(0x195),_0x4c9b9a()),_(this,_0x305d64(0x272),new Set()),_(this,_0x305d64(0x30f),new Map()),_(this,_0x305d64(0x22c),null),_(this,_0x305d64(0x224),new Map()),_(this,_0x305d64(0x1a9),new Map()),this['_init']();}['dispose'](){const _0x20f3f6=_0x101b2d;super[_0x20f3f6(0x1ec)](),this[_0x20f3f6(0x224)][_0x20f3f6(0x18a)]((_0x24b6ef,_0x4c3e1e)=>this['_removeClearOtherTimer'](_0x4c3e1e)),this['_heartbeatTimer']&&window[_0x20f3f6(0x32d)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x1293ea){const _0x50a038=_0x101b2d;return this[_0x50a038(0x22d)](_0x1293ea)[_0x50a038(0x264)](_0x26f898());}['editingUnit'](_0x36e382){const _0x122879=_0x101b2d;this[_0x122879(0x272)][_0x122879(0x2bc)]===0x0&&this['_scheduleHeartbeat'](),this[_0x122879(0x272)][_0x122879(0x2d6)](_0x36e382),this[_0x122879(0x242)]({'type':0x0,'memberID':this[_0x122879(0x195)],'unitIDs':[_0x36e382],'isForwarded':!0x1});}['disposeUnit'](_0x3390fb){const _0x4f18b6=_0x101b2d;this[_0x4f18b6(0x272)][_0x4f18b6(0x27f)](_0x3390fb),this['_selfUnitIDs'][_0x4f18b6(0x2bc)]===0x0&&this[_0x4f18b6(0x22c)]&&window[_0x4f18b6(0x32d)](this[_0x4f18b6(0x22c)]);}[_0x101b2d(0x230)](){const _0x261274=_0x101b2d;this[_0x261274(0x197)](_0x28bae3(_0x3c49fd(window,_0x261274(0x1b3))['subscribe'](_0x1846e1=>{const _0x23afae=_0x261274;if(_0x1846e1[_0x23afae(0x326)]!==nt||!_0x1846e1[_0x23afae(0x250)])return;const _0x3e578b=JSON['parse'](_0x1846e1[_0x23afae(0x250)]);this['_handleEvent'](_0x3e578b);}))),window[_0x261274(0x240)](_0x261274(0x207),()=>this[_0x261274(0x242)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x261274(0x2cf)](this[_0x261274(0x272)])}));}[_0x101b2d(0x1d1)](_0x25ca17){const _0xaff347=_0x101b2d;switch(_0x25ca17['type']){case 0x0:this['_handleJoinEvent'](_0x25ca17);break;case 0x1:this[_0xaff347(0x33d)](_0x25ca17);break;case 0x2:this[_0xaff347(0x201)](_0x25ca17);break;}}[_0x101b2d(0x1c8)](_0x1885d2){const _0x91360a=_0x101b2d,{unitIDs:_0x49e48f,memberID:_0x2d3586,isForwarded:_0x5b6a4f}=_0x1885d2;_0x49e48f[_0x91360a(0x18a)](_0x201389=>{const _0x4dffa9=_0x91360a;if(!_0x5b6a4f&&this['_unitOnClients']['has'](_0x201389)&&this[_0x4dffa9(0x22d)](_0x201389)[_0x4dffa9(0x236)](_0x4edacb[_0x4dffa9(0x1c9)]),!this[_0x4dffa9(0x30f)][_0x4dffa9(0x1b4)](_0x201389)||!this['_unitOnClients'][_0x4dffa9(0x23e)](_0x201389)[_0x4dffa9(0x1b4)](_0x2d3586)){const _0x32cc52=this[_0x4dffa9(0x30f)][_0x4dffa9(0x23e)](_0x201389)||new Set();_0x32cc52[_0x4dffa9(0x2d6)](_0x2d3586),this[_0x4dffa9(0x30f)]['set'](_0x201389,_0x32cc52),this[_0x4dffa9(0x1aa)](_0x2d3586);}}),_0x5b6a4f||this['_send']({'type':0x0,'memberID':this[_0x91360a(0x195)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x101b2d(0x1aa)](_0x5b658c){const _0x463914=_0x101b2d;this[_0x463914(0x1e7)](_0x5b658c);const _0x2830de=window[_0x463914(0x184)](()=>{const _0x2a75f0=_0x463914;this[_0x2a75f0(0x30f)]['forEach'](_0x498934=>{_0x498934['delete'](_0x5b658c);});},it*0x2);this[_0x463914(0x224)][_0x463914(0x213)](_0x5b658c,_0x2830de);}[_0x101b2d(0x1e7)](_0x55eb49){const _0x22b831=_0x101b2d;if(this[_0x22b831(0x224)][_0x22b831(0x1b4)](_0x55eb49)){const _0x384c17=this[_0x22b831(0x224)][_0x22b831(0x23e)](_0x55eb49);_0x384c17&&window[_0x22b831(0x1c2)](_0x384c17),this[_0x22b831(0x224)][_0x22b831(0x213)](_0x55eb49,null);}}[_0x101b2d(0x33d)](_0x481a2f){const _0x3bafd9=_0x101b2d,{memberID:_0x582e72,unitIDs:_0x178943}=_0x481a2f;_0x178943[_0x3bafd9(0x18a)](_0x4ed98d=>{const _0x298433=_0x3bafd9;var _0x29a175;const _0x45596e=this[_0x298433(0x30f)]['get'](_0x4ed98d);_0x45596e&&(_0x45596e[_0x298433(0x27f)](_0x582e72),(_0x29a175=this[_0x298433(0x22d)](_0x4ed98d))==null||_0x29a175[_0x298433(0x236)](_0x45596e[_0x298433(0x2bc)]===0x0?_0x4edacb['NO_OTHER_CLIENTS_EDITING']:_0x4edacb[_0x298433(0x1c9)]));}),this[_0x3bafd9(0x1e7)](_0x582e72);}[_0x101b2d(0x201)](_0x14ebb4){const _0xd1d6bc=_0x101b2d;this[_0xd1d6bc(0x1aa)](_0x14ebb4['memberID']);}[_0x101b2d(0x242)](_0x5e1f8a){localStorage['setItem'](nt,JSON['stringify'](_0x5e1f8a));}[_0x101b2d(0x14d)](){const _0x43e793=_0x101b2d;this[_0x43e793(0x22c)]=window[_0x43e793(0x296)](()=>{const _0x3cd2dd=_0x43e793;this[_0x3cd2dd(0x242)]({'type':0x2,'memberID':this[_0x3cd2dd(0x195)]});},it);}[_0x101b2d(0x22d)](_0x34f840){const _0x3e55d7=_0x101b2d;return this['_unitStatus'][_0x3e55d7(0x1b4)](_0x34f840)||this['_unitStatus'][_0x3e55d7(0x213)](_0x34f840,new _0x41fdad(_0x4edacb['NO_OTHER_CLIENTS_EDITING'])),this[_0x3e55d7(0x1a9)]['get'](_0x34f840);}}var Mt=(_0x3e2999=>(_0x3e2999[_0x3e2999['UNDEFINED']=0x0]=_0x101b2d(0x30e),_0x3e2999[_0x3e2999['OK']=0x1]='OK',_0x3e2999[_0x3e2999['INTERNAL_ERROR']=0x2]=_0x101b2d(0x193),_0x3e2999[_0x3e2999['PERMISSION_DENIED']=0x3]=_0x101b2d(0x1ea),_0x3e2999[_0x3e2999[_0x101b2d(0x24f)]=0x4]='NOT_FOUND',_0x3e2999[_0x3e2999['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3e2999[_0x3e2999['ALREADY_EXISTS']=0x6]=_0x101b2d(0x175),_0x3e2999[_0x3e2999['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x3e2999[_0x3e2999[_0x101b2d(0x285)]=0x8]='TOO_MANY_REQUESTS',_0x3e2999[_0x3e2999[_0x101b2d(0x28e)]=0x9]=_0x101b2d(0x28e),_0x3e2999[_0x3e2999[_0x101b2d(0x2b4)]=0xa]=_0x101b2d(0x2b4),_0x3e2999[_0x3e2999['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x101b2d(0x244),_0x3e2999[_0x3e2999[_0x101b2d(0x1f5)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3e2999[_0x3e2999[_0x101b2d(0x31b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3e2999[_0x3e2999['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x101b2d(0x279),_0x3e2999[_0x3e2999['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x101b2d(0x15a),_0x3e2999[_0x3e2999[_0x101b2d(0x2ac)]=0x1771]=_0x101b2d(0x2ac),_0x3e2999[_0x3e2999[_0x101b2d(0x18d)]=0x1772]=_0x101b2d(0x18d),_0x3e2999[_0x3e2999[_0x101b2d(0x18e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3e2999[_0x3e2999[_0x101b2d(0x260)]=0x1b59]='APPLY_REJECT',_0x3e2999[_0x3e2999[_0x101b2d(0x33f)]=0x1b5a]=_0x101b2d(0x33f),_0x3e2999[_0x3e2999['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3e2999[_0x3e2999[_0x101b2d(0x2c7)]=0x1b5c]=_0x101b2d(0x2c7),_0x3e2999[_0x3e2999[_0x101b2d(0x15e)]=0x1b5d]=_0x101b2d(0x15e),_0x3e2999[_0x3e2999[_0x101b2d(0x280)]=0x1f41]=_0x101b2d(0x280),_0x3e2999[_0x3e2999[_0x101b2d(0x1d2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3e2999[_0x3e2999['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x101b2d(0x1cb),_0x3e2999[_0x3e2999[_0x101b2d(0x26a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3e2999[_0x3e2999[_0x101b2d(0x2e9)]=0x232c]=_0x101b2d(0x2e9),_0x3e2999[_0x3e2999['LICENSE_DISTRO_REJECTED']=0x232d]=_0x101b2d(0x1ce),_0x3e2999[_0x3e2999['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x101b2d(0x1b8),_0x3e2999[_0x3e2999['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x101b2d(0x227),_0x3e2999[_0x3e2999['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3e2999[_0x3e2999[_0x101b2d(0x154)]=0x2714]=_0x101b2d(0x154),_0x3e2999[_0x3e2999[_0x101b2d(0x169)]=0x271a]=_0x101b2d(0x169),_0x3e2999[_0x3e2999[_0x101b2d(0x2fe)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3e2999[_0x3e2999[_0x101b2d(0x181)]=0x271c]=_0x101b2d(0x181),_0x3e2999[_0x3e2999['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x101b2d(0x220),_0x3e2999[_0x3e2999[_0x101b2d(0x1e5)]=0x271e]=_0x101b2d(0x1e5),_0x3e2999[_0x3e2999['YUUMI_AI_RUN_FAILED']=0x271f]=_0x101b2d(0x17a),_0x3e2999[_0x3e2999[_0x101b2d(0x19a)]=0x2720]=_0x101b2d(0x19a),_0x3e2999[_0x3e2999[_0x101b2d(0x28c)]=0x2af9]=_0x101b2d(0x28c),_0x3e2999[_0x3e2999[_0x101b2d(0x25f)]=0x2ee1]=_0x101b2d(0x25f),_0x3e2999[_0x3e2999['INVALID_INVITE_CODE']=0x2ee2]=_0x101b2d(0x1c1),_0x3e2999[_0x3e2999[_0x101b2d(0x161)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3e2999[_0x3e2999[_0x101b2d(0x203)]=0x2ee4]=_0x101b2d(0x203),_0x3e2999[_0x3e2999['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x101b2d(0x14a),_0x3e2999[_0x3e2999[_0x101b2d(0x22b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3e2999[_0x3e2999[_0x101b2d(0x337)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3e2999[_0x3e2999['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x101b2d(0x221),_0x3e2999[_0x3e2999[_0x101b2d(0x338)]=-0x1]=_0x101b2d(0x338),_0x3e2999))(Mt||{}),pn=Object[_0x101b2d(0x172)],Cn=(_0x13376a,_0x54c57f,_0x4185ff,_0x2f9da3)=>{for(var _0x30fc10=_0x2f9da3>0x1?void 0x0:_0x2f9da3?pn(_0x54c57f,_0x4185ff):_0x54c57f,_0x498d91=_0x13376a['length']-0x1,_0x33f082;_0x498d91>=0x0;_0x498d91--)(_0x33f082=_0x13376a[_0x498d91])&&(_0x30fc10=_0x33f082(_0x30fc10)||_0x30fc10);return _0x30fc10;},be=(_0x54288c,_0x3b9968)=>(_0x146095,_0x1c0be3)=>_0x3b9968(_0x146095,_0x1c0be3,_0x54288c);let rt=class extends _0x5d992a{constructor(_0x38eb2d,_0x593d7b,_0x23f732){const _0x2a64f5=_0x101b2d;super(),this[_0x2a64f5(0x23d)]=_0x38eb2d,this[_0x2a64f5(0x2ba)]=_0x593d7b,this[_0x2a64f5(0x319)]=_0x23f732;}async[_0x101b2d(0x2da)](_0x2c3d0c,_0x511c74,_0x17b150,..._0x24110a){const _0x527fb4=_0x101b2d;var _0x4a42d8,_0x3198a0,_0x5a4548,_0x543307;const _0x5174d9=this[_0x527fb4(0x23d)][_0x527fb4(0x271)]();if(!_0x5174d9)throw new Error(_0x527fb4(0x22a));const _0x41dce4=((_0x4a42d8=this[_0x527fb4(0x319)][_0x527fb4(0x205)](_0x1e87e0))!=null?_0x4a42d8:_0x31e98b)+'/'+_0x2c3d0c+'/run/'+_0x511c74,_0x22b95a=new URL(window[_0x527fb4(0x16c)][_0x527fb4(0x14f)]),_0x3e533d={'scriptId':_0x2c3d0c,'runId':(_0x3198a0=_0x22b95a['searchParams'][_0x527fb4(0x23e)](_0x527fb4(0x234)))!=null?_0x3198a0:'','function':_0x511c74,'unitId':_0x5174d9[_0x527fb4(0x343)](),'argsOfFunction':JSON[_0x527fb4(0x1de)](_0x24110a),'invokeId':(_0x5a4548=_0x17b150['invokeId'])!=null?_0x5a4548:'','executionId':(_0x543307=_0x17b150['executionId'])!=null?_0x543307:''};try{const _0x90667f=await this['_httpService'][_0x527fb4(0x275)](_0x41dce4,{'body':_0x3e533d});return _0x90667f['body'][_0x527fb4(0x254)]&&_0x90667f[_0x527fb4(0x294)][_0x527fb4(0x254)][_0x527fb4(0x263)]!==Mt['OK']?_0x527fb4(0x1cf):_0x90667f[_0x527fb4(0x294)][_0x527fb4(0x2e0)];}catch{return _0x527fb4(0x1cf);}}};rt=Cn([be(0x0,_0xc3619b),be(0x1,_0x412f34(_0x32db5f)),be(0x2,_0x13e366)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0xa9a884=_0x1594;(function(_0xd47594,_0x144438){const _0x3277bb=_0x1594,_0xf96d21=_0xd47594();while(!![]){try{const _0x4c573f=parseInt(_0x3277bb(0xa1))/0x1*(-parseInt(_0x3277bb(0xad))/0x2)+parseInt(_0x3277bb(0xae))/0x3+parseInt(_0x3277bb(0xa5))/0x4*(-parseInt(_0x3277bb(0xb4))/0x5)+parseInt(_0x3277bb(0xa4))/0x6+-parseInt(_0x3277bb(0xaf))/0x7+-parseInt(_0x3277bb(0xab))/0x8+parseInt(_0x3277bb(0xb1))/0x9;if(_0x4c573f===_0x144438)break;else _0xf96d21['push'](_0xf96d21['shift']());}catch(_0x138856){_0xf96d21['push'](_0xf96d21['shift']());}}}(_0x3652,0x6241b));function _0x1594(_0x11ba16,_0x6ad076){const _0x365279=_0x3652();return _0x1594=function(_0x1594a9,_0x39449e){_0x1594a9=_0x1594a9-0x9f;let _0x436886=_0x365279[_0x1594a9];return _0x436886;},_0x1594(_0x11ba16,_0x6ad076);}const e={'collab-client':{'tooltip':{'reconnect':_0xa9a884(0xb3)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xa9a884(0xa6),'notCollab':'Local\x20file','synced':'Synced','syncing':_0xa9a884(0xa3),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xa9a884(0xa7),'room-full':_0xa9a884(0xa9),'collaboration-timeout':_0xa9a884(0xa0)},'conflict':{'title':_0xa9a884(0xac),'content':_0xa9a884(0xa2)},'permission':{'title':_0xa9a884(0xa8),'content':_0xa9a884(0x9f)},'collaboration':{'single-unit':{'warning':_0xa9a884(0xaa)},'closeRoom':_0xa9a884(0xb2)},'auth':{'needGotoLoginAlert':_0xa9a884(0xb0)}};export{e as default};function _0x3652(){const _0x3e1933=['2142282DaMOvS','4128292pwiKog','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','6734187FSFltR','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','10NvADvk','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','332413VSJrFN','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.','Syncing...','3275982iDFnap','218872NPOyZS','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1934856IPizWb','Collaboration\x20Conflict','4DbenUQ'];_0x3652=function(){return _0x3e1933;};return _0x3652();}
1
+ const _0x18f0bf=_0x2d7c;(function(_0x298acf,_0x1613ac){const _0x5df182=_0x2d7c,_0x473747=_0x298acf();while(!![]){try{const _0x1fef6c=parseInt(_0x5df182(0xd5))/0x1*(parseInt(_0x5df182(0xda))/0x2)+-parseInt(_0x5df182(0xde))/0x3+parseInt(_0x5df182(0xe4))/0x4+-parseInt(_0x5df182(0xdf))/0x5+parseInt(_0x5df182(0xd6))/0x6+-parseInt(_0x5df182(0xe7))/0x7+parseInt(_0x5df182(0xdb))/0x8;if(_0x1fef6c===_0x1613ac)break;else _0x473747['push'](_0x473747['shift']());}catch(_0x165d5f){_0x473747['push'](_0x473747['shift']());}}}(_0x2162,0x6c440));const e={'collab-client':{'tooltip':{'reconnect':_0x18f0bf(0xe6)}},'collabStatus':{'fetchMiss':_0x18f0bf(0xd2),'conflict':_0x18f0bf(0xe0),'notCollab':_0x18f0bf(0xd1),'synced':_0x18f0bf(0xdc),'syncing':_0x18f0bf(0xd7),'offline':_0x18f0bf(0xd9)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x18f0bf(0xd0),'room-full':_0x18f0bf(0xe3),'collaboration-timeout':_0x18f0bf(0xe5)},'conflict':{'title':_0x18f0bf(0xd3),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x18f0bf(0xd4),'content':_0x18f0bf(0xe1)},'collaboration':{'single-unit':{'warning':_0x18f0bf(0xe2)},'closeRoom':_0x18f0bf(0xdd)},'auth':{'needGotoLoginAlert':_0x18f0bf(0xd8)}};export{e as default};function _0x2d7c(_0x5adc72,_0x27477a){const _0x2162dd=_0x2162();return _0x2d7c=function(_0x2d7c49,_0xc8930){_0x2d7c49=_0x2d7c49-0xd0;let _0x28cb90=_0x2162dd[_0x2d7c49];return _0x28cb90;},_0x2d7c(_0x5adc72,_0x27477a);}function _0x2162(){const _0x277cf8=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1392880adpnEN','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','2440046BJkJJa','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Local\x20file','Syncing\x20server\x20data...','Collaboration\x20Conflict','Authentication\x20Error','521YEYGnu','1153662UUDDSR','Syncing...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2290eeeuOP','5862608aOnPOa','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2030697Xojtvc','2004675KlFItx','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x2162=function(){return _0x277cf8;};return _0x2162();}
@@ -1 +1 @@
1
- const _0x3872d1=_0x468b;function _0x28f0(){const _0x52d67a=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی...','688928GpPxdD','10969ezQndT','468oghfhe','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1LvkeGe','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1314566pscTwg','همگام\x20سازی','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','خطای\x20اعتبارسنجی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','4161820omYfGR','2452176tcKEZU','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','17785YNehox','1277730HhBHxj','480fLxZmF','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20همکاری','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x28f0=function(){return _0x52d67a;};return _0x28f0();}function _0x468b(_0xcc501a,_0x9a5b59){const _0x28f08f=_0x28f0();return _0x468b=function(_0x468bc0,_0x54afcc){_0x468bc0=_0x468bc0-0x187;let _0x3a06c3=_0x28f08f[_0x468bc0];return _0x3a06c3;},_0x468b(_0xcc501a,_0x9a5b59);}(function(_0x5a438f,_0x5d4797){const _0x5bc303=_0x468b,_0x4c0831=_0x5a438f();while(!![]){try{const _0x2116c1=parseInt(_0x5bc303(0x18c))/0x1*(parseInt(_0x5bc303(0x18e))/0x2)+parseInt(_0x5bc303(0x198))/0x3+-parseInt(_0x5bc303(0x187))/0x4+-parseInt(_0x5bc303(0x197))/0x5*(parseInt(_0x5bc303(0x189))/0x6)+-parseInt(_0x5bc303(0x188))/0x7*(parseInt(_0x5bc303(0x199))/0x8)+parseInt(_0x5bc303(0x195))/0x9+-parseInt(_0x5bc303(0x194))/0xa;if(_0x2116c1===_0x5d4797)break;else _0x4c0831['push'](_0x4c0831['shift']());}catch(_0x10fb0a){_0x4c0831['push'](_0x4c0831['shift']());}}}(_0x28f0,0x60a01));const o={'collab-client':{'tooltip':{'reconnect':_0x3872d1(0x19d)}},'collabStatus':{'fetchMiss':_0x3872d1(0x18d),'conflict':_0x3872d1(0x19e),'notCollab':'پرونده\x20محلی','synced':_0x3872d1(0x18f),'syncing':_0x3872d1(0x19f),'offline':_0x3872d1(0x18a)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3872d1(0x190),'room-full':_0x3872d1(0x196),'collaboration-timeout':_0x3872d1(0x192)},'conflict':{'title':_0x3872d1(0x19b),'content':_0x3872d1(0x18b)},'permission':{'title':_0x3872d1(0x191),'content':_0x3872d1(0x19c)},'collaboration':{'single-unit':{'warning':_0x3872d1(0x19a)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x3872d1(0x193)}};export{o as default};
1
+ function _0x1b2f(_0x359eb,_0x14b1b1){const _0x57f948=_0x57f9();return _0x1b2f=function(_0x1b2f40,_0x2ca3af){_0x1b2f40=_0x1b2f40-0x7d;let _0x5da072=_0x57f948[_0x1b2f40];return _0x5da072;},_0x1b2f(_0x359eb,_0x14b1b1);}const _0x1850b8=_0x1b2f;function _0x57f9(){const _0x34d641=['1963688yCdRbl','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','همگام\x20سازی','263045kLOoCg','پرونده\x20محلی','6271410gPhBja','تداخل\x20همکاری','39354327LLzRDE','63078GGUJcg','136fAszam','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','44qsiQFH','592921pTMiTQ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','7140012bFnHMG','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...'];_0x57f9=function(){return _0x34d641;};return _0x57f9();}(function(_0x78590f,_0x22f6d8){const _0x16f9b1=_0x1b2f,_0x20c8aa=_0x78590f();while(!![]){try{const _0x19b2b9=parseInt(_0x16f9b1(0x87))/0x1+parseInt(_0x16f9b1(0x8f))/0x2*(parseInt(_0x16f9b1(0x8c))/0x3)+parseInt(_0x16f9b1(0x82))/0x4+parseInt(_0x16f9b1(0x89))/0x5+parseInt(_0x16f9b1(0x80))/0x6+parseInt(_0x16f9b1(0x90))/0x7*(parseInt(_0x16f9b1(0x8d))/0x8)+-parseInt(_0x16f9b1(0x8b))/0x9;if(_0x19b2b9===_0x22f6d8)break;else _0x20c8aa['push'](_0x20c8aa['shift']());}catch(_0x5c499d){_0x20c8aa['push'](_0x20c8aa['shift']());}}}(_0x57f9,0xb1c07));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x1850b8(0x81),'conflict':'تداخل\x20ویرایش','notCollab':_0x1850b8(0x88),'synced':_0x1850b8(0x86),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x1850b8(0x84)},'session':{'connection-failed':_0x1850b8(0x8e),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1850b8(0x7f),'collaboration-timeout':_0x1850b8(0x7e)},'conflict':{'title':_0x1850b8(0x8a),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x1850b8(0x85),'content':_0x1850b8(0x83)},'collaboration':{'single-unit':{'warning':_0x1850b8(0x7d)},'closeRoom':_0x1850b8(0x91)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};