@univerjs-pro/collaboration-client-ui 0.6.6 → 0.6.7

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 _0x43bb79=_0x2165;(function(_0x347ad7,_0x299270){const _0x3453c3=_0x2165,_0x71e3d9=_0x347ad7();while(!![]){try{const _0x46a65a=parseInt(_0x3453c3(0x2ca))/0x1+-parseInt(_0x3453c3(0x322))/0x2*(-parseInt(_0x3453c3(0x2b6))/0x3)+parseInt(_0x3453c3(0x141))/0x4+parseInt(_0x3453c3(0x178))/0x5*(-parseInt(_0x3453c3(0x19a))/0x6)+parseInt(_0x3453c3(0x2ae))/0x7+-parseInt(_0x3453c3(0x164))/0x8*(parseInt(_0x3453c3(0x21e))/0x9)+-parseInt(_0x3453c3(0x1d6))/0xa*(parseInt(_0x3453c3(0x32f))/0xb);if(_0x46a65a===_0x299270)break;else _0x71e3d9['push'](_0x71e3d9['shift']());}catch(_0x3b7368){_0x71e3d9['push'](_0x71e3d9['shift']());}}}(_0xc1e6,0x2c889));var kt=Object[_0x43bb79(0x2e3)],Bt=(_0xa34ff1,_0x10ecda,_0x424518)=>_0x10ecda in _0xa34ff1?kt(_0xa34ff1,_0x10ecda,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x424518}):_0xa34ff1[_0x10ecda]=_0x424518,h=(_0x4c6651,_0x2d3d7e,_0x503c41)=>Bt(_0x4c6651,typeof _0x2d3d7e!='symbol'?_0x2d3d7e+'':_0x2d3d7e,_0x503c41);import{MemberService as _0x37af8c,SessionStatus as _0x273523,CollaborationSessionService as _0x7c3e68,CollaborationStatus as _0x295a76,CollaborationController as _0x1f8043,ILocalCacheService as _0x40a747,CollaborationUIEventService as _0x2afbbf,CollaborationUIEventId as _0x4e3bcd,DataLoaderService as _0x2b9e4f,DocCollaborationEntity as _0x4d904c,getLocalCacheKey as _0x4fed25,LOCAL_CACHE_INTERVAL as _0x2f141a,LOCAL_CACHE_INTERVAL_KEY as _0x43f15d,UniverCollaborationClientPlugin as _0x2ca347,CollaborationSocketService as _0x15437c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x18705f,DEFAULT_WS_SESSION_TICKET_URL as _0x4bd6be,UnitStatus as _0xeea638,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x220169,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1bf535}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x20b3a0,Disposable as _0xf5cf87,DOC_RANGE_TYPE as _0x2f84f6,Inject as _0x502d14,Injector as _0x4c43ee,IUniverInstanceService as _0x30bd00,ICommandService as _0x50f030,debounce as _0x40556a,Rectangle as _0x1667f3,DisposableCollection as _0x19c163,toDisposable as _0x48818b,UniverInstanceType as _0xdcdde7,Tools as _0x1aee49,COLORS as _0x6ea656,ColorKit as _0x273249,ThemeService as _0x3855f5,fromEventSubject as _0x470191,LocaleService as _0x523740,createIdentifier as _0x1c7058,ILogService as _0x2f4704,Optional as _0x1edf7d,Workbook as _0x25faec,CommandType as _0x9d124,IConfigService as _0x37fa78,ILocalStorageService as _0x20ef19,DependentOn as _0x15fe56,Plugin as _0x41cfd9,merge as _0x515488,registerDependencies as _0x4c220e,mergeOverrideWithDependencies as _0x16403f,touchDependencies as _0x53954a,generateRandomId as _0x3086f1}from'@univerjs/core';function _0x2165(_0x452122,_0x2243c1){const _0xc1e674=_0xc1e6();return _0x2165=function(_0x216590,_0x54ee6a){_0x216590=_0x216590-0x136;let _0x305134=_0xc1e674[_0x216590];return _0x305134;},_0x2165(_0x452122,_0x2243c1);}import{Shape as _0xa86e63,Rect as _0x362d91,getColor as _0x40fc5b,RegularPolygon as _0x2ceb69,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2e5b7a,Vector2 as _0x9059d4,SHEET_VIEWPORT_KEY as _0x5d32c6,IRenderManagerService as _0xc058b9}from'@univerjs/engine-render';import{ISocketService as _0x30a7a4,WebSocketService as _0x5b5369,HTTPService as _0x23a096}from'@univerjs/network';import{IDocClipboardService as _0xc1d2c4,NodePositionConvertToCursor as _0x32b91f,NodePositionConvertToRectRange as _0x53b43d,TEXT_RANGE_LAYER_INDEX as _0x16015d,SetDocZoomRatioOperation as _0xf3ff52,DocIMEInputManagerService as _0x597b13,DocStateChangeManagerService as _0x25b887}from'@univerjs/docs-ui';import{IImageIoService as _0x25cf39}from'@univerjs/drawing';import{BehaviorSubject as _0x4a6e6e,debounceTime as _0x4f80ed,takeUntil as _0x5c2067,Subject as _0x4e709e,filter as _0x5e10e8,switchMap as _0x86cf42,merge as _0x29b9e6,combineLatest as _0x4d4eea,of as _0x183dd6,fromEvent as _0x3d6b41,shareReplay as _0x174904,mapTo as _0x4b7cfd,distinctUntilChanged as _0x4d3ca7}from'rxjs';import{SetTextSelectionsOperation as _0x5101cb,RichTextEditingMutation as _0x30c0ed,DocSelectionManagerService as _0x18e240,DocSkeletonManagerService as _0x5c7f1f}from'@univerjs/docs';import{ITransformService as _0xf1490c,CollaborationEvent as _0x23be17,isTransformMutationFailure as _0x33576f,isTransformMutationsWithChangesetSuccess as _0x40ed42,RevisionService as _0x5d2c9b,ISnapshotServerService as _0x24a807}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x124612,serializeRangeWithSheet as _0x2a8595}from'@univerjs/engine-formula';import{RefRangeService as _0x54985e,SetSelectionsOperation as _0x212c87,SheetsSelectionsService as _0x4c706c,EffectRefRangId as _0x13c60a,handleIRemoveRow as _0x3cc387,handleIRemoveCol as _0x4117e2,handleMoveRange as _0x3d227f,handleInsertRow as _0x12da20,handleInsertRangeMoveRight as _0x5e3720,handleInsertRangeMoveDown as _0x4e38a6,handleInsertCol as _0x12b472,handleDeleteRangeMoveUp as _0x6f55fd,handleDeleteRangeMoveLeft as _0xe9bdcd,runRefRangeMutations as _0x1320ec,SetWorksheetActivateCommand as _0x1c6ab0}from'@univerjs/sheets';import{map as _0x40ab35,filter as _0x34fbec,throttleTime as _0x5df0c5,takeUntil as _0x3cd024,switchMap as _0x2eb6c0}from'rxjs/operators';import{SheetSkeletonManagerService as _0x35bd91,getCoordByCell as _0x43e42e,getSheetObject as _0x2be706}from'@univerjs/sheets-ui';import{jsx as _0x3da671,jsxs as _0x50f421}from'react/jsx-runtime';import{useObservable as _0x2ace30,useDependency as _0x102cf4,IUIPartsService as _0x2ff301,BuiltInUIPart as _0x5291b0,connectInjector as _0x3ffe91,IBeforeCloseService as _0xe6879f,IMessageService as _0x3b4620,INotificationService as _0x34cdf2}from'@univerjs/ui';import{clsx as _0x4e5491,Tooltip as _0x158bd2,MessageType as _0x4d8587}from'@univerjs/design';import{forwardRef as _0xe2b30c,useRef as _0x5d928b,createElement as _0x550281,useCallback as _0x5ad591}from'react';import{IRemoteInstanceService as _0x121ff4}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],hi=(_0x4eefae,_0x45ddcc,_0x3ebc5f,_0xd3365a)=>{const _0x5b71cf=_0x43bb79;for(var _0x48173c=_0xd3365a>0x1?void 0x0:_0xd3365a?li(_0x45ddcc,_0x3ebc5f):_0x45ddcc,_0x45542c=_0x4eefae[_0x5b71cf(0x17a)]-0x1,_0x1c438d;_0x45542c>=0x0;_0x45542c--)(_0x1c438d=_0x4eefae[_0x45542c])&&(_0x48173c=_0x1c438d(_0x48173c)||_0x48173c);return _0x48173c;},qe=(_0x3abb5a,_0x2289ab)=>(_0x596bcf,_0x509ed3)=>_0x2289ab(_0x596bcf,_0x509ed3,_0x3abb5a);let Me=class extends _0x20b3a0{constructor(_0x41c130,_0x1ddec9){const _0x5d1a3d=_0x43bb79;super(),this[_0x5d1a3d(0x2af)]=_0x41c130,this[_0x5d1a3d(0x210)]=_0x1ddec9,this[_0x5d1a3d(0x300)]();}[_0x43bb79(0x300)](){const _0x29a6d7=_0x43bb79,_0x529ea7=this;this[_0x29a6d7(0x222)](this[_0x29a6d7(0x2af)][_0x29a6d7(0x1f0)]({'onBeforePasteImage':async _0x7c9254=>{const _0x4e09f2=_0x29a6d7,_0x462556=await _0x529ea7[_0x4e09f2(0x210)][_0x4e09f2(0x276)](_0x7c9254);return _0x462556?{'source':_0x462556[_0x4e09f2(0x309)],'imageSourceType':_0x462556[_0x4e09f2(0x1e0)]}:null;}}));}};Me=hi([qe(0x0,_0xc1d2c4),qe(0x1,_0x25cf39)],Me);const Qe=[_0x43bb79(0x184),_0x43bb79(0x2f8),'verdancy600',_0x43bb79(0x319),'blue400',_0x43bb79(0x186)];class He extends _0xf5cf87{constructor(){const _0x5b46d7=_0x43bb79;super(...arguments),h(this,_0x5b46d7(0x234),new Map()),h(this,_0x5b46d7(0x144),0x0);}[_0x43bb79(0x13f)](_0x4b5618){const _0x1bb3f1=_0x43bb79;if(this[_0x1bb3f1(0x234)][_0x1bb3f1(0x1e3)](_0x4b5618))return this[_0x1bb3f1(0x234)][_0x1bb3f1(0x2dd)](_0x4b5618);const _0x4a9536=Qe[this[_0x1bb3f1(0x144)]];return this[_0x1bb3f1(0x144)]=(this[_0x1bb3f1(0x144)]+0x1)%Qe['length'],this[_0x1bb3f1(0x234)][_0x1bb3f1(0x28c)](_0x4b5618,_0x4a9536),_0x4a9536;}}function Dt(_0x3f54f6){const _0x54ae29=_0x43bb79;let _0x729130='';for(const _0x455710 of _0x3f54f6){const {startOffset:_0x53fcd4,endOffset:_0x16fc43,isActive:_0x1dd495,rangeType:_0x111b92,segmentId:_0x2bbd6d,segmentPage:_0x4c1c07}=_0x455710;_0x729130[_0x54ae29(0x17a)]&&(_0x729130+=','),_0x729130+=_0x53fcd4+':'+_0x16fc43+':'+(_0x1dd495?'1':'0')+':'+_0x111b92+':'+_0x2bbd6d+':'+_0x4c1c07;}return _0x729130;}function _i(_0x558997){const _0x3819e1=_0x43bb79,_0x493f22=_0x558997[_0x3819e1(0x1fe)](','),_0x417295=[];for(const _0x3c92bf of _0x493f22){const [_0xa9a082,_0x17c6d4,_0x5d8e13,_0x35aa52,_0x2531a1,_0x5d8442]=_0x3c92bf[_0x3819e1(0x1fe)](':');_0x417295[_0x3819e1(0x25b)]({'startOffset':Number(_0xa9a082),'endOffset':Number(_0x17c6d4),'collapsed':_0xa9a082===_0x17c6d4,'isActive':_0x5d8e13==='1','rangeType':_0x35aa52===_0x2f84f6[_0x3819e1(0x194)]?_0x2f84f6['TEXT']:_0x2f84f6[_0x3819e1(0x1e6)],'segmentId':typeof _0x2531a1=='string'?String(_0x2531a1):'','segmentPage':Number(_0x5d8442!=null?_0x5d8442:-0x1)});}return _0x417295[_0x3819e1(0x268)](_0x2c5a28=>_0x2c5a28[_0x3819e1(0x2d6)])||(_0x417295[0x0][_0x3819e1(0x2d6)]=!0x0),_0x417295;}class je extends _0x20b3a0{constructor(){const _0x55d869=_0x43bb79;super(...arguments),h(this,'_collabCursorState$',new _0x4a6e6e(null)),h(this,_0x55d869(0x327),this['_collabCursorState$']['asObservable']());}[_0x43bb79(0x2c8)](_0x1ae1ff){const {unitID:_0x53f658,memberID:_0x44f740,textRanges:_0x211f4e}=_0x1ae1ff,_0x258431=Dt(_0x211f4e);if(_0x258431==='')return;const _0x5ceda7={'unitID':_0x53f658,'memberID':_0x44f740,'selection':_0x258431};this['_collabCursorState$']['next'](_0x5ceda7);}}var ui=Object[_0x43bb79(0x1af)],di=(_0x4a4d1b,_0x3039fb,_0x5793f4,_0x1fc2d5)=>{const _0x162590=_0x43bb79;for(var _0x363f3d=_0x1fc2d5>0x1?void 0x0:_0x1fc2d5?ui(_0x3039fb,_0x5793f4):_0x3039fb,_0x161faf=_0x4a4d1b[_0x162590(0x17a)]-0x1,_0x5a781c;_0x161faf>=0x0;_0x161faf--)(_0x5a781c=_0x4a4d1b[_0x161faf])&&(_0x363f3d=_0x5a781c(_0x363f3d)||_0x363f3d);return _0x363f3d;},U=(_0x370ca0,_0x118dbc)=>(_0x458371,_0x2e0fe8)=>_0x118dbc(_0x458371,_0x2e0fe8,_0x370ca0);const fi=0x12c,Si=0x64;let Ne=class extends _0x20b3a0{constructor(_0x5c61e8,_0x174f11,_0x459165,_0xb832c2,_0x1e12e1,_0x4cff02,_0x25dbe1,_0xfe4586,_0x2558d3){const _0x5d9ab0=_0x43bb79;super(),h(this,_0x5d9ab0(0x20b),!0x1),h(this,'_init',!0x1),h(this,_0x5d9ab0(0x2a1),new _0x4a6e6e(new Map())),h(this,_0x5d9ab0(0x335),this[_0x5d9ab0(0x2a1)][_0x5d9ab0(0x248)]()),h(this,_0x5d9ab0(0x296),new _0x4a6e6e([])),h(this,_0x5d9ab0(0x17c),this[_0x5d9ab0(0x296)][_0x5d9ab0(0x2de)](_0x4f80ed(fi))),h(this,'_updateLocalCursor',_0x40556a(_0x62a703=>{const _0x5c7c2b=_0x5d9ab0,_0x3f051f={'eventID':_0x23be17['UPDATE_CURSOR'],'data':{'unitID':this[_0x5c7c2b(0x2b9)],'memberID':this['_session'][_0x5c7c2b(0x2b4)](),'selection':Dt(_0x62a703)}};this[_0x5c7c2b(0x246)]['send'](_0x3f051f,this[_0x5c7c2b(0x2b9)]);},Si)),(this[_0x5d9ab0(0x2b9)]=_0x5c61e8,this['_session']=_0x174f11,this[_0x5d9ab0(0x1c9)]=_0x459165,this['_colorAssignService']=_0xb832c2,this[_0x5d9ab0(0x21a)]=_0x1e12e1,this[_0x5d9ab0(0x170)]=_0x4cff02,this[_0x5d9ab0(0x252)]=_0x25dbe1,this[_0x5d9ab0(0x187)]=_0xfe4586,this[_0x5d9ab0(0x278)]=_0x2558d3);}get[_0x43bb79(0x282)](){const _0x58b21a=_0x43bb79;return this[_0x58b21a(0x2a1)]['getValue']();}get[_0x43bb79(0x2ec)](){const _0x50f41e=_0x43bb79;return this[_0x50f41e(0x296)][_0x50f41e(0x213)]();}[_0x43bb79(0x1bb)](){const _0x50c4d9=_0x43bb79;super[_0x50c4d9(0x1bb)](),this[_0x50c4d9(0x2a1)][_0x50c4d9(0x254)](new Map()),this[_0x50c4d9(0x2a1)][_0x50c4d9(0x302)](),this['_roomMembers$'][_0x50c4d9(0x254)]([]),this[_0x50c4d9(0x296)][_0x50c4d9(0x302)]();}[_0x43bb79(0x2b8)](){const _0x846f1f=_0x43bb79;this['_init']||(this['_init']=!0x0,this[_0x846f1f(0x246)][_0x846f1f(0x20c)][_0x846f1f(0x2de)](_0x5c2067(this['dispose$']))[_0x846f1f(0x32a)](_0x1fb6eb=>{const _0x4a81ac=_0x846f1f;_0x1fb6eb===_0x273523[_0x4a81ac(0x265)]?this['_toggleOnline']():this[_0x4a81ac(0x328)]();}),this[_0x846f1f(0x246)][_0x846f1f(0x261)]['pipe'](_0x5c2067(this[_0x846f1f(0x320)]))['subscribe'](_0x4697fa=>{const _0xb3656d=_0x846f1f,_0x264c0b=_0x4697fa[_0xb3656d(0x233)];_0x264c0b===_0x23be17[_0xb3656d(0x206)]&&this[_0xb3656d(0x26e)](_0x4697fa),_0x264c0b===_0x23be17[_0xb3656d(0x145)]&&this[_0xb3656d(0x2a5)](_0x4697fa);}),this[_0x846f1f(0x222)](this[_0x846f1f(0x278)][_0x846f1f(0x1e2)](_0x2a510e=>{const _0x5b4f3d=_0x846f1f,_0x49c408=_0x2a510e['params'];_0x49c408!=null&&this['_online']&&_0x2a510e['id']===_0x5101cb['id']&&_0x49c408['unitId']===this[_0x5b4f3d(0x2b9)]&&_0x49c408[_0x5b4f3d(0x2e9)]===!0x1&&_0x49c408[_0x5b4f3d(0x169)][_0x5b4f3d(0x17a)]>0x0&&this[_0x5b4f3d(0x1b2)](_0x49c408[_0x5b4f3d(0x169)]);})),this[_0x846f1f(0x170)][_0x846f1f(0x327)][_0x846f1f(0x2de)](_0x5c2067(this[_0x846f1f(0x320)]))[_0x846f1f(0x32a)](_0x504f79=>{const _0x4f091e=_0x846f1f;if((_0x504f79==null?void 0x0:_0x504f79[_0x4f091e(0x2b9)])!==this['unitID'])return;const _0x5649b4={'eventID':_0x23be17[_0x4f091e(0x206)],'data':_0x504f79};this[_0x4f091e(0x26e)](_0x5649b4);}),this[_0x846f1f(0x222)](this['_commandService'][_0x846f1f(0x1e2)](_0x5d0fb9=>{const _0x4f8e22=_0x846f1f;if(_0x5d0fb9[_0x4f8e22(0x1ce)]==null)return;const _0x48128f=_0x5d0fb9[_0x4f8e22(0x1ce)];if(_0x5d0fb9['id']!==_0x30c0ed['id']||_0x48128f[_0x4f8e22(0x294)]!==this[_0x4f8e22(0x2b9)])return;const _0x19da96={'id':_0x4f8e22(0x2f1),'params':_0x48128f},_0x32e2f0=this[_0x4f8e22(0x282)];for(const [_0x4bd559,_0x5b6fae]of _0x32e2f0){const _0x3bc1c6={'id':_0x4f8e22(0x2f1),'params':{'unitId':this[_0x4f8e22(0x2b9)],'actions':null,'textRanges':_0x5b6fae[_0x4f8e22(0x169)]}},_0x243eb5=this[_0x4f8e22(0x252)][_0x4f8e22(0x2e0)](_0x19da96,_0x3bc1c6,!0x1);if(_0x33576f(_0x243eb5))throw _0x243eb5[_0x4f8e22(0x31e)];_0x32e2f0[_0x4f8e22(0x28c)](_0x4bd559,{..._0x5b6fae,'ranges':_0x243eb5[_0x4f8e22(0x2b5)][_0x4f8e22(0x1ce)][_0x4f8e22(0x174)]});}queueMicrotask(()=>{const _0x2ff2b7=_0x4f8e22;this[_0x2ff2b7(0x2a1)][_0x2ff2b7(0x254)](_0x32e2f0);});})));}[_0x43bb79(0x26e)](_0x19db09){const _0x4e4ad3=_0x43bb79;var _0x415f7b,_0x4704b0;const {memberID:_0x5b6334,selection:_0x14589a}=_0x19db09[_0x4e4ad3(0x1ee)],_0x229dd1=_i(_0x14589a),_0x580c24=(_0x4704b0=(_0x415f7b=this[_0x4e4ad3(0x21a)][_0x4e4ad3(0x189)](this[_0x4e4ad3(0x2b9)],_0x5b6334))==null?void 0x0:_0x415f7b['name'])!=null?_0x4704b0:_0x4e4ad3(0x336),_0x4faf09={'color':this[_0x4e4ad3(0x25f)][_0x4e4ad3(0x13f)](_0x5b6334),'name':_0x580c24,'ranges':_0x229dd1},_0xc76c9c=this[_0x4e4ad3(0x282)];_0xc76c9c['set'](_0x5b6334,_0x4faf09),this[_0x4e4ad3(0x2a1)][_0x4e4ad3(0x254)](_0xc76c9c);}[_0x43bb79(0x2a5)](_0x23569b){const _0x36cc05=_0x43bb79,{memberID:_0xcb1b69}=_0x23569b[_0x36cc05(0x1ee)],_0x4fc200=this['cursorInfo'];_0x4fc200[_0x36cc05(0x31a)](_0xcb1b69),this[_0x36cc05(0x2a1)][_0x36cc05(0x254)](_0x4fc200);}[_0x43bb79(0x156)](){const _0x1b721e=_0x43bb79;var _0x5844f5;if(this[_0x1b721e(0x20b)]=!0x0,((_0x5844f5=this[_0x1b721e(0x187)][_0x1b721e(0x306)]())==null?void 0x0:_0x5844f5[_0x1b721e(0x231)]())!==this[_0x1b721e(0x2b9)])return;const _0x3a1c4c=this[_0x1b721e(0x1c9)][_0x1b721e(0x2dd)](_0x18e240)[_0x1b721e(0x28f)]();Array[_0x1b721e(0x173)](_0x3a1c4c)&&_0x3a1c4c[_0x1b721e(0x17a)]>0x0&&this[_0x1b721e(0x1b2)](_0x3a1c4c);}['_toggleOffline'](){const _0x4bba37=_0x43bb79;this[_0x4bba37(0x20b)]=!0x1;}};Ne=di([U(0x2,_0x502d14(_0x4c43ee)),U(0x3,_0x502d14(He)),U(0x4,_0x502d14(_0x37af8c)),U(0x5,_0x502d14(je)),U(0x6,_0xf1490c),U(0x7,_0x30bd00),U(0x8,_0x50f030)],Ne);var mi=Object[_0x43bb79(0x1af)],gi=(_0x1fa22d,_0x5140b8,_0x35e8ee,_0x5cf8ee)=>{const _0x58d08b=_0x43bb79;for(var _0x26d25e=_0x5cf8ee>0x1?void 0x0:_0x5cf8ee?mi(_0x5140b8,_0x35e8ee):_0x5140b8,_0x453587=_0x1fa22d[_0x58d08b(0x17a)]-0x1,_0x374bf4;_0x453587>=0x0;_0x453587--)(_0x374bf4=_0x1fa22d[_0x453587])&&(_0x26d25e=_0x374bf4(_0x26d25e)||_0x26d25e);return _0x26d25e;},x=(_0x3937ea,_0x23951e)=>(_0x8365f3,_0x473967)=>_0x23951e(_0x8365f3,_0x473967,_0x3937ea);const vi=0x12c,Ii=0x64,pi=()=>{let _0x10a483=[],_0x3b2ed5=!0x1;return _0x37f401=>{const _0x50c2c1=_0x2165;_0x10a483[_0x50c2c1(0x25b)](_0x37f401),_0x3b2ed5||(_0x3b2ed5=!0x0,setTimeout(()=>{const _0x53226a=_0x50c2c1;_0x10a483[_0x53226a(0x240)](_0x4a9793=>_0x4a9793()),_0x10a483=[],_0x3b2ed5=!0x1;}));};};let we=class extends _0x20b3a0{constructor(_0x287417,_0x310c20,_0x372e80,_0x5cbbb8,_0x4773b2,_0x96b02b,_0x1c462b,_0x5a0310){const _0x23456e=_0x43bb79;super(),h(this,'_online',!0x1),h(this,_0x23456e(0x300),!0x1),h(this,_0x23456e(0x2a1),new _0x4a6e6e(new Map())),h(this,'cursorInfo$',this[_0x23456e(0x2a1)][_0x23456e(0x248)]()),h(this,_0x23456e(0x296),new _0x4a6e6e([])),h(this,_0x23456e(0x17c),this[_0x23456e(0x296)]['pipe'](_0x4f80ed(vi))),h(this,_0x23456e(0x1b2),_0x40556a((_0x4e4b55,_0xdf5bdc)=>{const _0x517fc0=_0x23456e,_0x4de6b6={'eventID':_0x23be17['UPDATE_CURSOR'],'data':{'unitID':this[_0x517fc0(0x2b9)],'memberID':this['_session'][_0x517fc0(0x2b4)](),'selection':_0x2a8595(_0x4e4b55,_0xdf5bdc['range'])}};this[_0x517fc0(0x246)]['send'](_0x4de6b6,this['unitID']);},Ii)),(this[_0x23456e(0x2b9)]=_0x287417,this['_session']=_0x310c20,this[_0x23456e(0x1c9)]=_0x372e80,this['_colorAssignService']=_0x5cbbb8,this[_0x23456e(0x21a)]=_0x4773b2,this[_0x23456e(0x187)]=_0x96b02b,this[_0x23456e(0x278)]=_0x1c462b,this[_0x23456e(0x140)]=_0x5a0310);}get[_0x43bb79(0x282)](){const _0x47bf0e=_0x43bb79;return this[_0x47bf0e(0x2a1)][_0x47bf0e(0x213)]();}get['roomMembers'](){const _0x35ef9f=_0x43bb79;return this[_0x35ef9f(0x296)][_0x35ef9f(0x213)]();}[_0x43bb79(0x1bb)](){const _0x5455d5=_0x43bb79;super[_0x5455d5(0x1bb)](),this['_cursorInfo$'][_0x5455d5(0x254)](new Map()),this[_0x5455d5(0x2a1)][_0x5455d5(0x302)](),this['_roomMembers$'][_0x5455d5(0x254)]([]),this['_roomMembers$'][_0x5455d5(0x302)]();}[_0x43bb79(0x2b8)](){const _0x408dd3=_0x43bb79;this[_0x408dd3(0x300)]||(this[_0x408dd3(0x300)]=!0x0,this[_0x408dd3(0x246)]['sessionStatus$']['pipe'](_0x5c2067(this[_0x408dd3(0x320)]))[_0x408dd3(0x32a)](_0x22b9db=>{const _0x464395=_0x408dd3;_0x22b9db===_0x273523[_0x464395(0x265)]?this['_toggleOnline']():this[_0x464395(0x328)]();}),this[_0x408dd3(0x246)][_0x408dd3(0x261)][_0x408dd3(0x2de)](_0x5c2067(this[_0x408dd3(0x320)]))[_0x408dd3(0x32a)](_0x36ddf8=>{const _0x1b8e22=_0x408dd3,_0x1f7839=_0x36ddf8[_0x1b8e22(0x233)];_0x1f7839===_0x23be17[_0x1b8e22(0x206)]&&this[_0x1b8e22(0x26e)](_0x36ddf8),_0x1f7839===_0x23be17['USERS_LEAVE']&&this[_0x1b8e22(0x2a5)](_0x36ddf8);}),this[_0x408dd3(0x182)](),this[_0x408dd3(0x222)](this[_0x408dd3(0x278)][_0x408dd3(0x1e2)](_0x1eebf5=>{const _0x5b9ed4=_0x408dd3;if(this[_0x5b9ed4(0x20b)]&&_0x1eebf5['id']===_0x212c87['id']&&_0x1eebf5[_0x5b9ed4(0x1ce)][_0x5b9ed4(0x294)]===this['unitID']){const _0xc6472=_0x1eebf5[_0x5b9ed4(0x1ce)];this[_0x5b9ed4(0x1b2)](_0xc6472['subUnitId'],_0xc6472[_0x5b9ed4(0x2ac)][0x0]);}})));}[_0x43bb79(0x26e)](_0x34ba2a){const _0x14a269=_0x43bb79;var _0x1889c3,_0x5eca9b;const {memberID:_0x15b0ce,selection:_0x3e90c6}=_0x34ba2a['data'],{sheetName:_0xe9606b,range:_0x5b0a69}=_0x124612(_0x3e90c6),_0x2dd221={'name':(_0x5eca9b=(_0x1889c3=this[_0x14a269(0x21a)]['getMember'](this['unitID'],_0x15b0ce))==null?void 0x0:_0x1889c3[_0x14a269(0x27d)])!=null?_0x5eca9b:'Unknown\x20user','range':this[_0x14a269(0x2b0)](_0xe9606b,_0x5b0a69),'sheetID':_0xe9606b,'color':this[_0x14a269(0x25f)][_0x14a269(0x13f)](_0x15b0ce),'selection':_0x3e90c6},_0x277acd=this[_0x14a269(0x282)];_0x277acd[_0x14a269(0x28c)](_0x15b0ce,_0x2dd221),this['_cursorInfo$']['next'](_0x277acd);}['_onCursorDelete'](_0x3718a6){const _0x138fc9=_0x43bb79,{memberID:_0x132358}=_0x3718a6[_0x138fc9(0x1ee)],_0x3faaac=this[_0x138fc9(0x282)];_0x3faaac[_0x138fc9(0x31a)](_0x132358),this['_cursorInfo$'][_0x138fc9(0x254)](_0x3faaac);}[_0x43bb79(0x2b0)](_0x1eb882,_0x17005e){const _0x33b771=_0x43bb79;var _0xc73667,_0x4cf872;const _0x1039e9=(_0x4cf872=(_0xc73667=this['_univerInstanceService'][_0x33b771(0x23f)](this[_0x33b771(0x2b9)]))==null?void 0x0:_0xc73667[_0x33b771(0x1cc)](_0x1eb882))==null?void 0x0:_0x4cf872[_0x33b771(0x279)]();return(_0x1039e9==null?void 0x0:_0x1039e9['find'](_0x4c3228=>_0x1667f3[_0x33b771(0x22d)](_0x4c3228,_0x17005e)))||_0x17005e;}[_0x43bb79(0x182)](){const _0x11c96b=_0x43bb79,_0xf3905a=new _0x19c163(),_0x40a0b6=pi(),_0x34f7e7=()=>{const _0x396a0d=_0x2165;_0xf3905a[_0x396a0d(0x1bb)]();const _0x4c33ba=(_0x572150,_0x30b7a6,_0x21b2ef,_0x344f3c)=>{const _0x1cf7be=_0x396a0d;let _0x4b6985=[];switch(_0x572150['id']){case _0x13c60a[_0x1cf7be(0x262)]:{_0x4b6985=_0xe9bdcd(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x167)]:{_0x4b6985=_0x6f55fd(_0x572150,_0x344f3c);break;}case _0x13c60a['InsertColCommandId']:{_0x4b6985=_0x12b472(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x232)]:{_0x4b6985=_0x4e38a6(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x163)]:{_0x4b6985=_0x5e3720(_0x572150,_0x344f3c);break;}case _0x13c60a['InsertRowCommandId']:{_0x4b6985=_0x12da20(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x198)]:{_0x4b6985=_0x3d227f(_0x572150,_0x344f3c);break;}case _0x13c60a['RemoveColCommandId']:{_0x4b6985=_0x4117e2(_0x572150,_0x344f3c);break;}case _0x13c60a[_0x1cf7be(0x176)]:{_0x4b6985=_0x3cc387(_0x572150,_0x344f3c);break;}}const _0x333222=_0x1320ec(_0x4b6985,_0x344f3c),_0x4a1b6e=this[_0x1cf7be(0x282)][_0x1cf7be(0x2dd)](_0x30b7a6);if(_0x4a1b6e&&_0x333222){const _0x1c7f5f={..._0x4a1b6e,'range':_0x333222};this['cursorInfo'][_0x1cf7be(0x28c)](_0x30b7a6,_0x1c7f5f),_0x40a0b6(()=>{const _0x3527af=_0x1cf7be,_0x11d875=this['_refRangeService'][_0x3527af(0x175)](_0x333222,_0x6b6bff=>(_0x11d875[_0x3527af(0x1bb)](),_0x4c33ba(_0x6b6bff,_0x30b7a6,_0x21b2ef,_0x333222)));_0xf3905a[_0x3527af(0x338)](_0x11d875);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3736a0,_0x4207ee)=>{const _0x22b8dd=_0x396a0d,{range:_0x183566,sheetID:_0x504b7e}=_0x3736a0,_0x1d8105=this[_0x22b8dd(0x140)][_0x22b8dd(0x175)](_0x183566,_0x4671d4=>(_0x1d8105[_0x22b8dd(0x1bb)](),_0x4c33ba(_0x4671d4,_0x4207ee,_0x504b7e,_0x183566)));_0xf3905a[_0x22b8dd(0x338)](_0x1d8105);});};this[_0x11c96b(0x222)](_0x48818b(this[_0x11c96b(0x2a1)][_0x11c96b(0x32a)](()=>{_0x34f7e7();})));}[_0x43bb79(0x156)](){const _0x52ab09=_0x43bb79;var _0x5c9e9c,_0x57323a;if(this[_0x52ab09(0x20b)]=!0x0,((_0x5c9e9c=this[_0x52ab09(0x187)][_0x52ab09(0x306)]())==null?void 0x0:_0x5c9e9c[_0x52ab09(0x231)]())!==this[_0x52ab09(0x2b9)])return;const _0x60a694=(_0x57323a=this[_0x52ab09(0x1c9)][_0x52ab09(0x2dd)](_0x4c706c)[_0x52ab09(0x318)]())==null?void 0x0:_0x57323a[0x0],_0x480b15=this[_0x52ab09(0x187)][_0x52ab09(0x161)](_0xdcdde7[_0x52ab09(0x1ae)])[_0x52ab09(0x24f)]();_0x60a694&&_0x480b15&&this[_0x52ab09(0x1b2)](_0x480b15[_0x52ab09(0x21b)](),_0x60a694);}[_0x43bb79(0x328)](){const _0x3535b0=_0x43bb79;this[_0x3535b0(0x20b)]=!0x1;}};we=gi([x(0x2,_0x502d14(_0x4c43ee)),x(0x3,_0x502d14(He)),x(0x4,_0x502d14(_0x37af8c)),x(0x5,_0x30bd00),x(0x6,_0x50f030),x(0x7,_0x502d14(_0x54985e))],we);var Ci=Object[_0x43bb79(0x1af)],bi=(_0x5c7918,_0x2b0c00,_0x13932c,_0x49fedc)=>{const _0x2fa5ce=_0x43bb79;for(var _0x1d051d=_0x49fedc>0x1?void 0x0:_0x49fedc?Ci(_0x2b0c00,_0x13932c):_0x2b0c00,_0x30a062=_0x5c7918[_0x2fa5ce(0x17a)]-0x1,_0x24b159;_0x30a062>=0x0;_0x30a062--)(_0x24b159=_0x5c7918[_0x30a062])&&(_0x1d051d=_0x24b159(_0x1d051d)||_0x1d051d);return _0x1d051d;},me=(_0x34be58,_0x3c85d6)=>(_0x7db483,_0xef43ca)=>_0x3c85d6(_0x7db483,_0xef43ca,_0x34be58);let H=class extends _0x20b3a0{constructor(_0x1e777b,_0x9cd388,_0x482db9){const _0x1d4bc1=_0x43bb79;super(),h(this,_0x1d4bc1(0x27e),new Map()),h(this,'_entityInit$',new _0x4e709e()),(this[_0x1d4bc1(0x187)]=_0x1e777b,this[_0x1d4bc1(0x1c9)]=_0x9cd388,this[_0x1d4bc1(0x1db)]=_0x482db9,this[_0x1d4bc1(0x300)]());}['dispose'](){const _0x45d1c6=_0x43bb79;super[_0x45d1c6(0x1bb)](),this[_0x45d1c6(0x26a)][_0x45d1c6(0x302)](),this['_entities']['forEach'](_0x2a78d8=>_0x2a78d8['dispose']());}[_0x43bb79(0x13b)](_0x136feb){const _0x365ec1=_0x43bb79;return this[_0x365ec1(0x27e)][_0x365ec1(0x1e3)](_0x136feb)?this[_0x365ec1(0x27e)][_0x365ec1(0x2dd)](_0x136feb)[_0x365ec1(0x335)]:this[_0x365ec1(0x26a)][_0x365ec1(0x2de)](_0x5e10e8(_0x2ef882=>_0x2ef882[_0x365ec1(0x2b9)]===_0x136feb),_0x86cf42(_0x2ebb75=>_0x2ebb75['cursorInfo$']));}['_init'](){const _0x53330a=_0x43bb79;this[_0x53330a(0x187)][_0x53330a(0x154)](_0xdcdde7[_0x53330a(0x1ae)])[_0x53330a(0x2de)](_0x5c2067(this['dispose$']))[_0x53330a(0x32a)](async _0x3241c8=>{const _0x41bd5d=_0x53330a,_0x2402d4=_0x3241c8[_0x41bd5d(0x231)](),_0x40e91d=await this[_0x41bd5d(0x2e2)](_0x2402d4);this[_0x41bd5d(0x26a)][_0x41bd5d(0x254)](_0x40e91d),this[_0x41bd5d(0x27e)][_0x41bd5d(0x28c)](_0x2402d4,_0x40e91d);}),this[_0x53330a(0x187)][_0x53330a(0x154)](_0xdcdde7['UNIVER_DOC'])[_0x53330a(0x2de)](_0x5c2067(this[_0x53330a(0x320)]))[_0x53330a(0x2de)](_0x5e10e8(_0x4c3a7f=>!_0x4c3a7f[_0x53330a(0x231)]()[_0x53330a(0x284)]('__')))[_0x53330a(0x32a)](async _0x112966=>{const _0x58d863=_0x53330a,_0x2506c4=_0x112966['getUnitId'](),_0x321fc=await this[_0x58d863(0x1dd)](_0x2506c4);this[_0x58d863(0x26a)][_0x58d863(0x254)](_0x321fc),this['_entities'][_0x58d863(0x28c)](_0x2506c4,_0x321fc);}),_0x29b9e6(this[_0x53330a(0x187)][_0x53330a(0x270)](_0xdcdde7[_0x53330a(0x205)]),this[_0x53330a(0x187)][_0x53330a(0x270)](_0xdcdde7['UNIVER_SHEET']))[_0x53330a(0x2de)](_0x5c2067(this[_0x53330a(0x320)]))['subscribe'](_0x4b2ec9=>{const _0x5e3833=_0x53330a,_0x194459=_0x4b2ec9[_0x5e3833(0x231)](),_0xc09648=this['_entities'][_0x5e3833(0x2dd)](_0x194459);_0xc09648&&(_0xc09648['dispose'](),this['_entities'][_0x5e3833(0x31a)](_0x194459));});}async[_0x43bb79(0x2e2)](_0x5c0ccb){const _0x51acd0=_0x43bb79,_0x489ef9=await this[_0x51acd0(0x1db)][_0x51acd0(0x2fb)](_0x5c0ccb),_0xfb6aa0=this['_injector'][_0x51acd0(0x1e9)](we,_0x5c0ccb,_0x489ef9);return _0xfb6aa0[_0x51acd0(0x2b8)](),_0xfb6aa0;}async['_startDocCollabCursor'](_0x72302b){const _0x4ffef8=_0x43bb79,_0x502282=await this[_0x4ffef8(0x1db)][_0x4ffef8(0x2fb)](_0x72302b),_0x4142b5=this[_0x4ffef8(0x1c9)][_0x4ffef8(0x1e9)](Ne,_0x72302b,_0x502282);return _0x4142b5[_0x4ffef8(0x2b8)](),_0x4142b5;}};H=bi([me(0x0,_0x30bd00),me(0x1,_0x502d14(_0x4c43ee)),me(0x2,_0x502d14(_0x7c3e68))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x453c7f,_0x15f03e){const _0x1945f4=_0x43bb79;let {radius:_0x62c391,width:_0x1f86bf,height:_0x11fd0c}=_0x15f03e;_0x62c391=_0x62c391!=null?_0x62c391:0x0,_0x1f86bf=_0x1f86bf!=null?_0x1f86bf:0x1e,_0x11fd0c=_0x11fd0c!=null?_0x11fd0c:0x1e;let _0x2a8ed1=0x0,_0x1fb764=0x0,_0x33a34a=0x0;_0x2a8ed1=_0x1fb764=_0x33a34a=Math[_0x1945f4(0x316)](_0x62c391,_0x1f86bf/0x2,_0x11fd0c/0x2),_0x453c7f[_0x1945f4(0x1f6)](),_0x453c7f[_0x1945f4(0x2c6)](_0x2a8ed1,0x0),_0x453c7f[_0x1945f4(0x333)](_0x1f86bf-_0x1fb764,0x0),_0x453c7f[_0x1945f4(0x15c)](_0x1f86bf-_0x1fb764,_0x1fb764,_0x1fb764,Math['PI']*0x3/0x2,0x0,!0x1),_0x453c7f['lineTo'](_0x1f86bf,_0x11fd0c-_0x33a34a),_0x453c7f['arc'](_0x1f86bf-_0x33a34a,_0x11fd0c-_0x33a34a,_0x33a34a,0x0,Math['PI']/0x2,!0x1),_0x453c7f[_0x1945f4(0x333)](0x0,_0x11fd0c),_0x453c7f[_0x1945f4(0x333)](0x0,_0x2a8ed1),_0x453c7f[_0x1945f4(0x15c)](_0x2a8ed1,_0x2a8ed1,_0x2a8ed1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x453c7f[_0x1945f4(0x211)](),_0x15f03e['fill']&&(_0x453c7f[_0x1945f4(0x25a)](),_0x453c7f['fillStyle']=_0x15f03e[_0x1945f4(0x1cf)],_0x15f03e[_0x1945f4(0x2a4)]==='evenodd'?_0x453c7f['fill']('evenodd'):_0x453c7f[_0x1945f4(0x1cf)](),_0x453c7f[_0x1945f4(0x283)]());}class ue extends _0xa86e63{constructor(_0x464938,_0x47c689){const _0xd1146b=_0x43bb79;super(_0x464938,_0x47c689),h(this,_0xd1146b(0x2c0)),h(this,_0xd1146b(0x292)),(this['color']=_0x47c689==null?void 0x0:_0x47c689[_0xd1146b(0x2c0)],this['text']=_0x47c689==null?void 0x0:_0x47c689[_0xd1146b(0x292)]);}static['drawWith'](_0x3a6511,_0x11cb1e){const _0x52749e=_0x43bb79,{text:_0x1df348,color:_0x3d6ebd}=_0x11cb1e;_0x3a6511[_0x52749e(0x25a)](),_0x3a6511['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1c7276=_0x3a6511[_0x52749e(0x30d)](_0x1df348)[_0x52749e(0x193)],_0x58d755=Math[_0x52749e(0x316)](_0x1c7276+0x2*ge,et);Oi(_0x3a6511,{'height':te,'radius':0x4,'width':_0x58d755,'fill':_0x3d6ebd}),_0x3a6511[_0x52749e(0x1d4)]=_0x52749e(0x1eb);const _0xd3db0e=ge,_0x157733=te-Ei,_0x518aea=et-0x2*ge;if(_0x1c7276>_0x518aea){let _0x592280='',_0x544b0e=0x0;for(const _0x4b49ff of _0x1df348){const _0x24f803=_0x3a6511[_0x52749e(0x30d)](_0x4b49ff)[_0x52749e(0x193)];if(_0x544b0e+_0x24f803<=_0x518aea-_0x3a6511[_0x52749e(0x30d)]('...')[_0x52749e(0x193)])_0x592280+=_0x4b49ff,_0x544b0e+=_0x24f803;else{_0x592280+=_0x52749e(0x199);break;}}_0x3a6511[_0x52749e(0x2d3)](_0x592280,_0xd3db0e,_0x157733);}else _0x3a6511['fillText'](_0x1df348,_0xd3db0e,_0x157733);_0x3a6511[_0x52749e(0x283)]();}['_draw'](_0x185b5d){const _0x4344bf=_0x43bb79;ue[_0x4344bf(0x2e6)](_0x185b5d,this);}}const ve=_0x43bb79(0x267),Ti=_0x43bb79(0x2be),Ri=_0x43bb79(0x2bd),V=0x6,Di=1.5,Ie=0x4,Pi=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x3c4aa8,_0x21ae7a,_0x278799,_0x1e0f8d){const _0x2b416f=_0x43bb79;h(this,_0x2b416f(0x2bf),[]),h(this,'_anchor',null),h(this,_0x2b416f(0x188),null),h(this,_0x2b416f(0x29f),null),h(this,'_hideTimer',null),h(this,_0x2b416f(0x14a),null),(this['_cursor']=_0x3c4aa8,this[_0x2b416f(0x171)]=_0x21ae7a,this[_0x2b416f(0x181)]=_0x278799,this[_0x2b416f(0x2d0)]=_0x1e0f8d,this['_render']());}set[_0x43bb79(0x143)](_0x2dfccc){const _0x45f06f=_0x43bb79;_0x2dfccc?(this[_0x45f06f(0x29f)]&&this['_anchorDot'][_0x45f06f(0x142)](),this[_0x45f06f(0x188)]&&this['_textBubble'][_0x45f06f(0x331)]()):(this['_anchorDot']&&this[_0x45f06f(0x29f)][_0x45f06f(0x331)](),this['_textBubble']&&this[_0x45f06f(0x188)][_0x45f06f(0x142)]());}['dispose'](){const _0x1ec0fb=_0x43bb79;for(const _0x54292b of this[_0x1ec0fb(0x2bf)])_0x54292b[_0x1ec0fb(0x1bb)]();this['_textBubble']&&this[_0x1ec0fb(0x188)][_0x1ec0fb(0x1bb)](),this[_0x1ec0fb(0x29f)]&&this['_anchorDot']['dispose'](),this[_0x1ec0fb(0x191)]&&this[_0x1ec0fb(0x191)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1ec0fb(0x14a)]();}[_0x43bb79(0x16f)](){const _0x3ed3b2=_0x43bb79;var _0x391320;const {_docSkeleton:_0x29f8ba,_document:_0x23e124}=this,{color:_0x1b9315,name:_0x2c2d67,ranges:_0x19cca2}=this[_0x3ed3b2(0x275)],_0x5b560c=_0x23e124['getOffsetConfig'](),{docsLeft:_0x152f74,docsTop:_0x109c1d}=_0x5b560c,_0x462249=new _0x32b91f(_0x5b560c,_0x29f8ba);for(const {startOffset:_0x27b420,endOffset:_0x1cce68,rangeType:_0x25ebf5,segmentId:_0x1ea897,segmentPage:_0x19bbeb,collapsed:_0x4f3216,isActive:_0x534ba1}of _0x19cca2){const _0x2949e9=_0x29f8ba['findNodePositionByCharIndex'](_0x27b420,!0x0,_0x1ea897,_0x19bbeb);let _0x21d84a=_0x29f8ba[_0x3ed3b2(0x1b3)](_0x1cce68,!0x0,_0x1ea897,_0x19bbeb);if(_0x21d84a==null&&(_0x21d84a=_0x29f8ba[_0x3ed3b2(0x1b3)](_0x1cce68-0x1,!0x1,_0x1ea897,_0x19bbeb)),_0x534ba1){const {contentBoxPointGroup:_0x1db4bd}=_0x462249[_0x3ed3b2(0x273)](_0x21d84a,_0x21d84a);if(_0x1db4bd[_0x3ed3b2(0x17a)]===0x0)continue;this[_0x3ed3b2(0x2bc)](_0x1b9315,_0x1db4bd,_0x152f74,_0x109c1d,_0x2c2d67),this[_0x3ed3b2(0x14a)]=this[_0x3ed3b2(0x2e7)]();}if(_0x2949e9&&_0x21d84a){if(_0x25ebf5===_0x2f84f6[_0x3ed3b2(0x1e6)]){const _0x2396c7=new _0x53b43d(_0x5b560c,_0x29f8ba),{pointGroup:_0x2722c8}=(_0x391320=_0x2396c7[_0x3ed3b2(0x273)](_0x2949e9,_0x21d84a))!=null?_0x391320:{};if(_0x2722c8==null||_0x2722c8[_0x3ed3b2(0x17a)]===0x0)continue;this[_0x3ed3b2(0x32b)](_0x1b9315,_0x2722c8,_0x152f74,_0x109c1d);}else{if(!_0x4f3216){const {borderBoxPointGroup:_0xa431b3}=_0x462249[_0x3ed3b2(0x273)](_0x2949e9,_0x21d84a);if(_0xa431b3[_0x3ed3b2(0x17a)]===0x0)continue;this[_0x3ed3b2(0x339)](_0x1b9315,_0xa431b3,_0x152f74,_0x109c1d);}}}}}[_0x43bb79(0x2bc)](_0x5d0d43,_0x266cb3,_0x30df6d,_0x42f7d4,_0x55faa9){const _0x46175d=_0x43bb79,_0x3b221d=this['_getAnchorBounding'](_0x266cb3),{left:_0x46c0fe,top:_0x2363a4,height:_0x30292e}=_0x3b221d,_0x36cabd=this[_0x46175d(0x2a8)](),_0x1a29e9=Pi/_0x36cabd,_0x4782ad=new _0x362d91(ve+_0x1aee49['generateRandomId'](V),{'left':_0x46c0fe+_0x30df6d-_0x1a29e9,'top':_0x2363a4+_0x42f7d4,'height':_0x30292e,'width':Di,'fill':_0x5d0d43||_0x40fc5b(_0x6ea656[_0x46175d(0x259)],0x0),'strokeWidth':_0x1a29e9,'stroke':Mi,'evented':!0x0});this[_0x46175d(0x191)]=_0x4782ad,this[_0x46175d(0x171)][_0x46175d(0x2b7)](_0x4782ad,_0x16015d);const _0x4834bb=new _0x362d91(ve+_0x1aee49[_0x46175d(0x2e5)](V),{'left':_0x46c0fe+_0x30df6d-_0x1a29e9,'top':_0x2363a4+_0x42f7d4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x5d0d43||_0x40fc5b(_0x6ea656[_0x46175d(0x259)],0x0),'strokeWidth':0x0,'stroke':_0x5d0d43||_0x40fc5b(_0x6ea656[_0x46175d(0x259)],0x0),'evented':!0x1});this[_0x46175d(0x29f)]=_0x4834bb,this[_0x46175d(0x171)][_0x46175d(0x2b7)](_0x4834bb,_0x16015d);const _0xeb4038=new ue(ve+_0x1aee49[_0x46175d(0x2e5)](V),{'left':_0x46c0fe+_0x30df6d-_0x1a29e9,'top':_0x2363a4+_0x42f7d4-te,'text':_0x55faa9,'color':_0x5d0d43});this[_0x46175d(0x188)]=_0xeb4038,this[_0x46175d(0x171)][_0x46175d(0x2b7)](_0xeb4038,_0x16015d),this[_0x46175d(0x143)]=!0x1;}[_0x43bb79(0x2e7)](){const _0x36d8c0=_0x43bb79,_0x3428f6=this[_0x36d8c0(0x191)][_0x36d8c0(0x148)][_0x36d8c0(0x2d4)](()=>{const _0x3bb726=_0x36d8c0;this[_0x3bb726(0x143)]=!0x0;}),_0x13ae98=this[_0x36d8c0(0x191)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x21e26a=_0x36d8c0;this[_0x21e26a(0x1cb)]&&clearTimeout(this[_0x21e26a(0x1cb)]),this[_0x21e26a(0x1cb)]=setTimeout(()=>{const _0xde0309=_0x21e26a;this[_0xde0309(0x143)]=!0x1;},0x7d0);});return()=>{const _0x42fcad=_0x36d8c0;_0x3428f6[_0x42fcad(0x13a)](),_0x13ae98[_0x42fcad(0x13a)]();};}[_0x43bb79(0x339)](_0x36cb9e,_0x412517,_0x47e15c,_0x1e99cc){const _0x373ae6=_0x43bb79,_0xab3b3b=new _0x273249(_0x36cb9e)[_0x373ae6(0x2f6)](0.2)[_0x373ae6(0x2d2)](),_0x1970f9=new _0x2ceb69(Ti+_0x1aee49['generateRandomId'](V),{'pointsGroup':_0x412517,'fill':_0xab3b3b||_0x40fc5b(_0x6ea656[_0x373ae6(0x259)],0.2),'left':_0x47e15c,'top':_0x1e99cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x373ae6(0x2bf)]['push'](_0x1970f9),this[_0x373ae6(0x171)][_0x373ae6(0x2b7)](_0x1970f9,_0x16015d);}[_0x43bb79(0x32b)](_0x531a74,_0x32242a,_0x4155b5,_0x37d166){const _0x39c3e5=_0x43bb79,_0x38cf33=new _0x273249(_0x531a74)[_0x39c3e5(0x2f6)](0.2)[_0x39c3e5(0x2d2)](),_0x2c5c69=new _0x2ceb69(Ri+_0x1aee49[_0x39c3e5(0x2e5)](V),{'pointsGroup':_0x32242a,'fill':_0x38cf33||_0x40fc5b(_0x6ea656['black'],0.2),'left':_0x4155b5,'top':_0x37d166,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39c3e5(0x2bf)][_0x39c3e5(0x25b)](_0x2c5c69),this['_scene'][_0x39c3e5(0x2b7)](_0x2c5c69,_0x16015d);}[_0x43bb79(0x203)](_0x37a6e0){const _0x127ca1=_0x37a6e0[0x0],_0xbfbbdd=_0x127ca1[0x0],_0x4dc338=_0x127ca1[0x2],{x:_0x48b51a,y:_0x4b7476}=_0xbfbbdd,{x:_0x5e93a1,y:_0x342dea}=_0x4dc338;return{'left':_0x48b51a,'top':_0x4b7476,'width':_0x5e93a1-_0x48b51a,'height':_0x342dea-_0x4b7476};}[_0x43bb79(0x2a8)](){const _0x36b4c2=_0x43bb79,{scaleX:_0x375780,scaleY:_0xd40e68}=this[_0x36b4c2(0x171)]['getAncestorScale']();return Math[_0x36b4c2(0x1fa)](_0x375780,_0xd40e68);}}var Ni=Object[_0x43bb79(0x1af)],wi=(_0x8a1ae4,_0x58bf28,_0x361ad9,_0x2e0763)=>{for(var _0x5c36d9=_0x2e0763>0x1?void 0x0:_0x2e0763?Ni(_0x58bf28,_0x361ad9):_0x58bf28,_0x2f59a3=_0x8a1ae4['length']-0x1,_0x4a44f5;_0x2f59a3>=0x0;_0x2f59a3--)(_0x4a44f5=_0x8a1ae4[_0x2f59a3])&&(_0x5c36d9=_0x4a44f5(_0x5c36d9)||_0x5c36d9);return _0x5c36d9;},q=(_0x11c8ea,_0x578282)=>(_0x2a5a12,_0x2c811f)=>_0x578282(_0x2a5a12,_0x2c811f,_0x11c8ea);let Ue=class extends _0x20b3a0{constructor(_0x58b777,_0x327f2e,_0x1d2027,_0x21729c,_0x5c1c8b){const _0x11b127=_0x43bb79;super(),h(this,'_cursorShapes',[]),h(this,_0x11b127(0x197),[]),(this['_context']=_0x58b777,this[_0x11b127(0x155)]=_0x327f2e,this['_collabCursorController']=_0x1d2027,this[_0x11b127(0x278)]=_0x21729c,this[_0x11b127(0x305)]=_0x5c1c8b,this['_init']());}[_0x43bb79(0x300)](){const _0x43b375=_0x43bb79,_0x3e3020=this['_context'][_0x43b375(0x294)],_0x266ba6=this[_0x43b375(0x155)];this[_0x43b375(0x222)](_0x4d4eea([this[_0x43b375(0x21c)][_0x43b375(0x13b)](_0x3e3020),this[_0x43b375(0x305)][_0x43b375(0x25c)]])['pipe'](_0x40ab35(([_0x5e849a,_0x1be157])=>({'skeleton':_0x266ba6['getSkeleton'](),'cursors':[..._0x5e849a[_0x43b375(0x2cf)]()][_0x43b375(0x239)](_0x50b36c=>({..._0x50b36c,'color':_0x1be157[_0x50b36c[_0x43b375(0x2c0)]]}))})))[_0x43b375(0x32a)](_0x2f574e=>{const _0x47f816=_0x43b375;if(this['_removeCollabCursors'](),_0x2f574e){const {skeleton:_0x5147e4,cursors:_0x5ac488}=_0x2f574e;this[_0x47f816(0x295)](_0x5147e4,_0x5ac488);}})),this[_0x43b375(0x23b)](),this[_0x43b375(0x1b5)]();}[_0x43bb79(0x295)](_0x4cf71e,_0x200821){const _0x118874=_0x43bb79,{scene:_0x4d4e1b,mainComponent:_0x127857}=this[_0x118874(0x311)],_0x4abc1f=_0x200821[_0x118874(0x2fa)](_0x3aad60=>new tt(_0x3aad60,_0x4d4e1b,_0x4cf71e,_0x127857));this[_0x118874(0x1a7)]=_0x4abc1f,this['_cursors']=_0x200821;}[_0x43bb79(0x1e1)](){const _0x380715=_0x43bb79;this['_removeCollabCursors']();const {scene:_0x454c11,mainComponent:_0xf05b06}=this[_0x380715(0x311)],_0x58f4ce=this[_0x380715(0x155)][_0x380715(0x27b)](),_0x487f74=this[_0x380715(0x197)][_0x380715(0x2fa)](_0x43fb89=>new tt(_0x43fb89,_0x454c11,_0x58f4ce,_0xf05b06));this[_0x380715(0x1a7)]=_0x487f74;}['_removeCollabCursors'](){const _0xdf32cb=_0x43bb79;this[_0xdf32cb(0x1a7)]['forEach'](_0x2549af=>_0x2549af['dispose']()),this['_cursorShapes']=[];}[_0x43bb79(0x1b5)](){const _0x187f44=_0x43bb79,_0x20a474=[_0xf3ff52['id']];this['disposeWithMe'](this['_commandService'][_0x187f44(0x1e2)](_0x4629f2=>{const _0x2e76a5=_0x187f44;_0x20a474[_0x2e76a5(0x1f4)](_0x4629f2['id'])&&_0x4629f2[_0x2e76a5(0x1ce)][_0x2e76a5(0x294)]===this['_context'][_0x2e76a5(0x294)]&&this[_0x2e76a5(0x1e1)]();}));}[_0x43bb79(0x23b)](){const _0x571ceb=_0x43bb79;this[_0x571ceb(0x222)](_0x470191(this[_0x571ceb(0x311)]['engine'][_0x571ceb(0x1ec)])[_0x571ceb(0x2de)](_0x34fbec(_0x5b7bd6=>_0x5b7bd6[_0x571ceb(0x33a)]===_0x2e5b7a[_0x571ceb(0x326)]),_0x5df0c5(0x10))[_0x571ceb(0x32a)](()=>{const _0x5ec8ad=_0x571ceb;this[_0x5ec8ad(0x1e1)]();}));}};Ue=wi([q(0x1,_0x502d14(_0x5c7f1f)),q(0x2,_0x502d14(H)),q(0x3,_0x50f030),q(0x4,_0x502d14(_0x3855f5))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0xa86e63{constructor(_0x20ca41,_0x2ffdb4){const _0x13f4e9=_0x43bb79;super(_0x20ca41,_0x2ffdb4),h(this,_0x13f4e9(0x257)),h(this,_0x13f4e9(0x24c),!0x1),h(this,_0x13f4e9(0x20d)),h(this,_0x13f4e9(0x32c),''),h(this,_0x13f4e9(0x280),_0x13f4e9(0x17f)),h(this,_0x13f4e9(0x256)),(_0x2ffdb4&&this[_0x13f4e9(0x20f)](_0x2ffdb4),this[_0x13f4e9(0x148)][_0x13f4e9(0x2d4)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x13f4e9(0x208)][_0x13f4e9(0x2d4)](()=>this[_0x13f4e9(0x20f)]({'hovered':!0x1})));}['setShapeProps'](_0x212224){const _0x1c5ea0=_0x43bb79;var _0x4fc934,_0x24cbda,_0x17cc46,_0x410a66,_0x59f8d6,_0x528cdc;this[_0x1c5ea0(0x257)]=(_0x4fc934=_0x212224[_0x1c5ea0(0x2c0)])!=null?_0x4fc934:this['_color'],this[_0x1c5ea0(0x24c)]=(_0x24cbda=_0x212224['hovered'])!=null?_0x24cbda:this[_0x1c5ea0(0x24c)],this[_0x1c5ea0(0x20d)]=(_0x17cc46=_0x212224[_0x1c5ea0(0x230)])!=null?_0x17cc46:this[_0x1c5ea0(0x20d)],this[_0x1c5ea0(0x32c)]=(_0x410a66=_0x212224[_0x1c5ea0(0x27d)])!=null?_0x410a66:this[_0x1c5ea0(0x32c)],this[_0x1c5ea0(0x280)]=(_0x59f8d6=_0x212224[_0x1c5ea0(0x29c)])!=null?_0x59f8d6:this[_0x1c5ea0(0x280)],this['_backgroundColor']=(_0x528cdc=_0x212224[_0x1c5ea0(0x321)])!=null?_0x528cdc:this['_backgroundColor'],this[_0x1c5ea0(0x147)]({'width':_0x212224['width'],'height':_0x212224[_0x1c5ea0(0x241)]});}['onMouseMove'](_0x3b3dc9){const _0x49729b=_0x43bb79,{row:_0x34f10d,column:_0x5c8557}=_0x3b3dc9;if(_0x34f10d>=this['_range'][_0x49729b(0x2cb)]&&_0x34f10d<=this[_0x49729b(0x20d)][_0x49729b(0x1bf)]&&_0x5c8557>=this[_0x49729b(0x20d)][_0x49729b(0x224)]&&_0x5c8557<=this[_0x49729b(0x20d)][_0x49729b(0x1e7)]){this[_0x49729b(0x20f)]({'hovered':!0x0});return;}this[_0x49729b(0x20f)]({'hovered':!0x1});}['triggerDblclick'](_0x196785){return!0x1;}[_0x43bb79(0x255)](_0x2bc6bb){const _0x5821e4=_0x43bb79;_0x362d91[_0x5821e4(0x2e6)](_0x2bc6bb,{'width':this['width'],'height':this[_0x5821e4(0x241)],'strokeWidth':Li,'stroke':this[_0x5821e4(0x257)],'evented':!0x1,'fill':this[_0x5821e4(0x256)]}),this[_0x5821e4(0x24c)]&&(_0x2bc6bb[_0x5821e4(0x25a)](),_0x2bc6bb[_0x5821e4(0x22f)](0x1,0x0,0x0,0x1,this[_0x5821e4(0x193)],this[_0x5821e4(0x280)]==='bottom'?0x0:-0x14),ue[_0x5821e4(0x2e6)](_0x2bc6bb,{'text':this[_0x5821e4(0x32c)],'color':this['_color']}),_0x2bc6bb[_0x5821e4(0x283)]());}}var yi=Object[_0x43bb79(0x1af)],$i=(_0x178b91,_0x30daf9,_0x4dea45,_0x2ef0ae)=>{for(var _0x357915=_0x2ef0ae>0x1?void 0x0:_0x2ef0ae?yi(_0x30daf9,_0x4dea45):_0x30daf9,_0x37b854=_0x178b91['length']-0x1,_0x2146ba;_0x37b854>=0x0;_0x37b854--)(_0x2146ba=_0x178b91[_0x37b854])&&(_0x357915=_0x2146ba(_0x357915)||_0x357915);return _0x357915;},pe=(_0x4b4a5f,_0x39666c)=>(_0x3b5381,_0xced5d7)=>_0x39666c(_0x3b5381,_0xced5d7,_0x4b4a5f);const xi=0x1389;let Le=class extends _0x20b3a0{constructor(_0x313314,_0x57686f,_0x3147e6,_0x28450b){const _0x392863=_0x43bb79;super(),h(this,_0x392863(0x197),new Set()),h(this,_0x392863(0x190),null),(this[_0x392863(0x311)]=_0x313314,this[_0x392863(0x166)]=_0x57686f,this[_0x392863(0x21c)]=_0x3147e6,this['_themeService']=_0x28450b,this[_0x392863(0x300)]());}[_0x43bb79(0x300)](){const _0x4e23e0=_0x43bb79;this[_0x4e23e0(0x166)][_0x4e23e0(0x1b6)][_0x4e23e0(0x2de)](_0x3cd024(this['dispose$']),_0x2eb6c0(_0x4ce146=>{const _0x110b67=_0x4e23e0;if(_0x4ce146){const _0x231493=_0x4ce146[_0x110b67(0x14f)];return _0x4d4eea(this['_collabCursorController'][_0x110b67(0x13b)](this[_0x110b67(0x311)][_0x110b67(0x294)]),this[_0x110b67(0x305)][_0x110b67(0x25c)])[_0x110b67(0x2de)](_0x40ab35(([_0x57f877,_0x152bb0])=>{const _0x519109=_0x110b67,_0x478e5d=new Map();return _0x57f877[_0x519109(0x240)]((_0x4687cd,_0x318f87)=>{const _0x381432=_0x519109;if(_0x4687cd[_0x381432(0x200)]===_0x231493){const _0x53c04d={..._0x4687cd};_0x53c04d[_0x381432(0x2c0)]=_0x152bb0[_0x4687cd[_0x381432(0x2c0)]],_0x478e5d['set'](_0x318f87,_0x53c04d);}}),{'skeleton':_0x4ce146,'cursors':_0x478e5d};}));}return _0x183dd6({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x13fe91,cursors:_0xd36a20})=>{const _0x1d18d4=_0x4e23e0;this[_0x1d18d4(0x2df)](),_0x13fe91&&this[_0x1d18d4(0x295)](_0x13fe91,_0xd36a20);}),this[_0x4e23e0(0x166)][_0x4e23e0(0x1b6)][_0x4e23e0(0x32a)](_0x2ad62b=>{const _0xce0c15=_0x4e23e0;if(_0x2ad62b==null)return;const {skeleton:_0x12497d}=_0x2ad62b,{scene:_0x302239}=this[_0xce0c15(0x311)];_0x302239[_0xce0c15(0x266)][_0xce0c15(0x2d4)](_0x40556a(_0x2b8c88=>{const _0x10433a=_0xce0c15;var _0x47b3be,_0x4eafdf;const {offsetX:_0x3d4460,offsetY:_0x965897}=_0x2b8c88,{x:_0x333317,y:_0x3248b6}=_0x302239[_0x10433a(0x1ab)](_0x9059d4['FromArray']([_0x3d4460,_0x965897])),{scaleX:_0x3db421,scaleY:_0x127dcd}=_0x302239[_0x10433a(0x209)](),_0x4fa8b7=_0x302239[_0x10433a(0x1b7)](_0x5d32c6[_0x10433a(0x317)]),_0xad6381=_0x302239[_0x10433a(0x1fb)](_0x9059d4[_0x10433a(0x196)]([_0x333317,_0x3248b6]),_0x4fa8b7),_0x3ff5d8=_0x12497d[_0x10433a(0x180)](_0x3d4460,_0x965897,_0x3db421,_0x127dcd,_0xad6381);((_0x47b3be=this['_lastPointer'])==null?void 0x0:_0x47b3be['column'])===_0x3ff5d8[_0x10433a(0x314)]&&((_0x4eafdf=this[_0x10433a(0x190)])==null?void 0x0:_0x4eafdf[_0x10433a(0x20e)])===_0x3ff5d8[_0x10433a(0x20e)]||this[_0x10433a(0x197)][_0x10433a(0x240)](_0x498191=>{const _0x108baa=_0x10433a;_0x498191[_0x108baa(0x260)](_0x3ff5d8);});},0x64));});}['_updateCollabCursors'](_0x18eedb,_0xa7d357){const _0x534d1a=_0x43bb79;var _0x25ced5;const _0x2ec10c=(_0x25ced5=this[_0x534d1a(0x166)][_0x534d1a(0x297)]())==null?void 0x0:_0x25ced5[_0x534d1a(0x250)];if(!_0x2ec10c)return;const _0x1ae862=this[_0x534d1a(0x2a2)]();if(!_0x1ae862)return;this[_0x534d1a(0x197)][_0x534d1a(0x240)](_0x417be9=>{const _0x315fb0=_0x534d1a;_0x417be9[_0x315fb0(0x1d5)]();});const {scene:_0x14d09d}=_0x1ae862,_0x41977c=ki(Array[_0x534d1a(0x1aa)](_0xa7d357[_0x534d1a(0x2cf)]()))[_0x534d1a(0x2fa)](_0x3f0469=>{const _0x4e20b2=_0x534d1a,{color:_0x522ffb,range:_0xc0c9b0,name:_0x59ebfe,selection:_0x244b47,sheetID:_0x2f090c}=_0x3f0469,{startColumn:_0x175872,startRow:_0xfc35ef,endColumn:_0x1dc26a,endRow:_0x20aa01}=_0xc0c9b0,_0x100dae=_0x43e42e(_0xfc35ef,_0x175872,_0x14d09d,_0x2ec10c),_0x33d30a=_0x43e42e(_0x20aa01,_0x1dc26a,_0x14d09d,_0x2ec10c),{columnHeaderHeightAndMarginTop:_0x369f45}=_0x2ec10c,{startX:_0x127648,startY:_0x598f53}=_0x100dae,{endX:_0x4a2102,endY:_0x25450e}=_0x33d30a,_0x1491e1=_0x4a2102-_0x127648,_0x5a5f52=_0x25450e-_0x598f53,_0x2cfd42={'labelPosition':_0x598f53-_0x369f45>=te?_0x4e20b2(0x17f):_0x4e20b2(0x157),'sheetID':_0x2f090c,'range':_0xc0c9b0,'color':_0x522ffb,'name':_0x59ebfe,'selection':_0x244b47,'left':_0x127648,'top':_0x598f53,'width':_0x1491e1,'height':_0x5a5f52,'evented':!0x1,'zIndex':xi};return new Ai(_0x59ebfe,_0x2cfd42);});_0x14d09d[_0x534d1a(0x16b)](_0x41977c,Ui),this[_0x534d1a(0x197)]=new Set(_0x41977c);}[_0x43bb79(0x2df)](){const _0x45b535=_0x43bb79;var _0x3e9f00;(_0x3e9f00=this[_0x45b535(0x197)])==null||_0x3e9f00[_0x45b535(0x240)](_0x4bfa31=>_0x4bfa31[_0x45b535(0x1bb)]());}[_0x43bb79(0x2a2)](){const _0x445878=_0x43bb79;return _0x2be706(this[_0x445878(0x311)]['unit'],this[_0x445878(0x311)]);}};Le=$i([pe(0x1,_0x502d14(_0x35bd91)),pe(0x2,_0x502d14(H)),pe(0x3,_0x502d14(_0x3855f5))],Le);function ki(_0x5eb819){const _0x507a83=_0x43bb79,_0x3757b9=new Map();return _0x5eb819[_0x507a83(0x240)](_0x5376cc=>{const _0x4ee7ed=_0x507a83;if(_0x3757b9['has'](_0x5376cc[_0x4ee7ed(0x1f7)])){const _0x4a1983=_0x3757b9[_0x4ee7ed(0x2dd)](_0x5376cc['selection']);_0x4a1983[_0x4ee7ed(0x27d)]+=',\x20'+_0x5376cc[_0x4ee7ed(0x27d)];}else _0x3757b9[_0x4ee7ed(0x28c)](_0x5376cc[_0x4ee7ed(0x1f7)],_0x5376cc);}),Array[_0x507a83(0x1aa)](_0x3757b9[_0x507a83(0x2cf)]());}var I=function(){const _0x2d4119=_0x43bb79;return I=Object[_0x2d4119(0x28b)]||function(_0x2b55c4){const _0x3500a0=_0x2d4119;for(var _0x35aef5,_0x4070b9=0x1,_0xc063d1=arguments[_0x3500a0(0x17a)];_0x4070b9<_0xc063d1;_0x4070b9++){_0x35aef5=arguments[_0x4070b9];for(var _0x35341e in _0x35aef5)Object[_0x3500a0(0x1d7)]['hasOwnProperty']['call'](_0x35aef5,_0x35341e)&&(_0x2b55c4[_0x35341e]=_0x35aef5[_0x35341e]);}return _0x2b55c4;},I[_0x2d4119(0x1c0)](this,arguments);},Bi=function(_0x3e0385,_0x45d85d){const _0x51f32e=_0x43bb79;var _0x362b89={};for(var _0x27167b in _0x3e0385)Object[_0x51f32e(0x1d7)][_0x51f32e(0x215)][_0x51f32e(0x237)](_0x3e0385,_0x27167b)&&_0x45d85d[_0x51f32e(0x1d8)](_0x27167b)<0x0&&(_0x362b89[_0x27167b]=_0x3e0385[_0x27167b]);if(_0x3e0385!=null&&typeof Object[_0x51f32e(0x17b)]=='function'){for(var _0x2c3e4a=0x0,_0x27167b=Object[_0x51f32e(0x17b)](_0x3e0385);_0x2c3e4a<_0x27167b[_0x51f32e(0x17a)];_0x2c3e4a++)_0x45d85d[_0x51f32e(0x1d8)](_0x27167b[_0x2c3e4a])<0x0&&Object[_0x51f32e(0x1d7)][_0x51f32e(0x218)]['call'](_0x3e0385,_0x27167b[_0x2c3e4a])&&(_0x362b89[_0x27167b[_0x2c3e4a]]=_0x3e0385[_0x27167b[_0x2c3e4a]]);}return _0x362b89;},We=_0xe2b30c(function(_0x1aa0ff,_0x4ad4de){const _0x311dc3=_0x43bb79;var _0x3fbb35=_0x1aa0ff['icon'],_0x582826=_0x1aa0ff['id'],_0x2a2c44=_0x1aa0ff[_0x311dc3(0x2f2)],_0x2d78e9=_0x1aa0ff[_0x311dc3(0x214)],_0x2b98cf=Bi(_0x1aa0ff,[_0x311dc3(0x2b1),'id',_0x311dc3(0x2f2),_0x311dc3(0x214)]),_0x3e83bd=_0x311dc3(0x2ce)[_0x311dc3(0x1ea)](_0x582826,'\x20')[_0x311dc3(0x1ea)](_0x2a2c44||'')[_0x311dc3(0x13e)](),_0x8a5d7d=_0x5d928b('_'[_0x311dc3(0x1ea)](Wi()));return Pt(_0x3fbb35,''[_0x311dc3(0x1ea)](_0x582826),{'defIds':_0x3fbb35[_0x311dc3(0x1f3)],'idSuffix':_0x8a5d7d['current']},I({'ref':_0x4ad4de,'className':_0x3e83bd},_0x2b98cf),_0x2d78e9);});function Pt(_0x365112,_0x5903b5,_0x4278e4,_0x4b091a,_0x11842f){const _0x1e31cb=_0x43bb79;return _0x550281(_0x365112[_0x1e31cb(0x160)],I(I({'key':_0x5903b5},Hi(_0x365112,_0x4278e4,_0x11842f)),_0x4b091a),(ji(_0x365112,_0x4278e4)[_0x1e31cb(0x1de)]||[])['map'](function(_0x451509,_0x2cefd1){const _0xc37883=_0x1e31cb;return Pt(_0x451509,''['concat'](_0x5903b5,'-')[_0xc37883(0x1ea)](_0x365112['tag'],'-')[_0xc37883(0x1ea)](_0x2cefd1),_0x4278e4,void 0x0,_0x11842f);}));}function Hi(_0x4caacd,_0x4a2bac,_0x40c80c){const _0x10b4d7=_0x43bb79;var _0x795aae=I({},_0x4caacd[_0x10b4d7(0x334)]);_0x40c80c!=null&&_0x40c80c[_0x10b4d7(0x168)]&&_0x795aae[_0x10b4d7(0x1cf)]===_0x10b4d7(0x168)&&(_0x795aae[_0x10b4d7(0x1cf)]=_0x40c80c[_0x10b4d7(0x168)]),_0x4caacd[_0x10b4d7(0x160)]===_0x10b4d7(0x1a5)&&_0x795aae['id']&&(_0x795aae['id']=_0x795aae['id']+_0x4a2bac[_0x10b4d7(0x2ff)]),Object[_0x10b4d7(0x27a)](_0x795aae)[_0x10b4d7(0x240)](function(_0x5aeeb4){const _0x2817f=_0x10b4d7;var _0x276dd2=_0x5aeeb4[0x0],_0x41a565=_0x5aeeb4[0x1];_0x276dd2==='mask'&&typeof _0x41a565==_0x2817f(0x1ba)&&(_0x795aae[_0x276dd2]=_0x41a565['replace'](/url\(#(.*)\)/,'url(#$1'[_0x2817f(0x1ea)](_0x4a2bac[_0x2817f(0x2ff)],')')));});var _0x16a49e=_0x4a2bac[_0x10b4d7(0x1f3)];return!_0x16a49e||_0x16a49e[_0x10b4d7(0x17a)]===0x0||(_0x4caacd[_0x10b4d7(0x160)]===_0x10b4d7(0x1da)&&_0x795aae[_0x10b4d7(0x323)]&&(_0x795aae[_0x10b4d7(0x323)]=_0x795aae[_0x10b4d7(0x323)]+_0x4a2bac[_0x10b4d7(0x2ff)]),Object['entries'](_0x795aae)[_0x10b4d7(0x240)](function(_0x383c50){const _0x2d7616=_0x10b4d7;var _0x2a07ed=_0x383c50[0x0],_0x108336=_0x383c50[0x1];typeof _0x108336=='string'&&(_0x795aae[_0x2a07ed]=_0x108336[_0x2d7616(0x313)](/url\(#(.*)\)/,_0x2d7616(0x1be)[_0x2d7616(0x1ea)](_0x4a2bac[_0x2d7616(0x2ff)],')')));})),_0x795aae;}function ji(_0x13b84f,_0x70dc79){const _0x131307=_0x43bb79;var _0x61a946,_0x17797a=_0x70dc79[_0x131307(0x1f3)];return!_0x17797a||_0x17797a['length']===0x0?_0x13b84f:_0x13b84f[_0x131307(0x160)]===_0x131307(0x16d)&&(!((_0x61a946=_0x13b84f[_0x131307(0x1de)])===null||_0x61a946===void 0x0)&&_0x61a946[_0x131307(0x17a)])?I(I({},_0x13b84f),{'children':_0x13b84f[_0x131307(0x1de)][_0x131307(0x2fa)](function(_0x274887){const _0x1cc7b7=_0x131307;return typeof _0x274887['attrs']['id']==_0x1cc7b7(0x1ba)&&_0x17797a&&_0x17797a['indexOf'](_0x274887[_0x1cc7b7(0x334)]['id'])>-0x1?I(I({},_0x274887),{'attrs':I(I({},_0x274887['attrs']),{'id':_0x274887[_0x1cc7b7(0x334)]['id']+_0x70dc79[_0x1cc7b7(0x2ff)]})}):_0x274887;})}):_0x13b84f;}function Wi(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}We[_0x43bb79(0x207)]='UniverIcon';var Fi={'tag':'svg','attrs':{'fill':_0x43bb79(0x18e),'viewBox':_0x43bb79(0x2f7),'width':_0x43bb79(0x221),'height':_0x43bb79(0x221)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x43bb79(0x25e),'attrs':{'stroke':_0x43bb79(0x226),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x43bb79(0x2c4),'strokeLinejoin':_0x43bb79(0x2c4),'strokeWidth':1.2}}]},{'tag':_0x43bb79(0x16d),'attrs':{},'children':[{'tag':_0x43bb79(0x1a9),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x43bb79(0x25e),'attrs':{'fill':_0x43bb79(0x1ed),'d':_0x43bb79(0x22c)}}]}]}],'defIds':[_0x43bb79(0x2b2)]},Mt=_0xe2b30c(function(_0x1b95aa,_0x2e7ade){const _0x40c2fc=_0x43bb79;return _0x550281(We,Object['assign']({},_0x1b95aa,{'id':_0x40c2fc(0x2d7),'ref':_0x2e7ade,'icon':Fi}));});function _0xc1e6(){const _0x793e11=['cursorInfo','restore','startsWith','[RemoteUniscriptService]:\x20no\x20focused\x20unit','newValue','on-line-single','offline','YUUMI_SUBSCRIPTION_NOT_FOUND','LICENSE_MAX_UNITS_EXCEEDED','assign','set','_getSaveTimeout','body','getDocRanges','loadUnit','YUUMI_RATE_OVER_LIMIT','text','size','unitId','_updateCollabCursors','_roomMembers$','getCurrent','onStarting','YUUMI_UNABLE_LOAD_URL','unload','_messageService','labelPosition','transformSelections','_handleLeaveEvent','_anchorDot','memberID','_cursorInfo$','_getSheetObject','with','fillRule','_onCursorDelete','_registerRenderDependencies','key','_getScale','_localCacheService','APPLY_REJECT','_heartbeatTimer','selections','transformRemoteChangeset','2535106IxMJCO','_docClipboardService','_getMergeRange','icon','off-line-single_clip0_910_343','_docStateChangeManagerService','getMemberID','m2Prime','1119qVilNg','addObject','init','unitID','_registerDependencies','getCurrentRevOfUnit','_drawAnchor','collab-rect-range-','collab-text-range-','_shapes','color','uni.network.url-service','NOT_FOUND','PY_RUNTIME_SCRIPT_ERROR','round','collaboration.closeRoom','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','syncEditingCollabCursor','history','29591eSTUCx','startRow','reconnect','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','univerjs-icon\x20univerjs-icon-','values','_document','clearTimeout','toRgbString','fillText','subscribeEvent','_unitStatus','isActive','off-line-single','_scheduleHeartbeat','getRenderById','wsSessionTicketUrl','enableLocalCache','collaboration-client.offline-data-not-saved','get','pipe','_removeCollabCursors','transformMutation','href','_startSheetCollabCursor','defineProperty','permission.title','generateRandomId','drawWith','_handleHover','SNAPSHOT_HAS_BEEN_REMOVED','isEditing','url(#on-line-single_clip0_910_349)','collab-client.tooltip.reconnect','roomMembers','setInterval','registerComponent','OFFLINE','translate(.97)','doc.mutation.rich-text-editing','className','collabStatus.syncing','collaboration-client-ui.config','_clearOtherTimers','setAlpha','0\x200\x2016\x2016','jiqing500','urlChange$','map','requireSession','setActiveRange','FETCH_MISS','getUnhiddenWorksheets','idSuffix','_init','subunit','complete','OffLineSingle','redoState','_themeService','getFocusedUnit','/run/','LICENSE_DISTRO_REJECTED','source','TOO_MANY_REQUESTS','search','createSocket','measureText','status$','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','_context','OTHER_CLIENT_EDITING','replace','column','_docTransformSelectionsService','min','VIEW_MAIN','getCurrentSelections','red300','delete','all','ticket','_docSyncEditingCollabCursorService','error','activeSheet$','dispose$','backgroundColor','1384HXykBQ','xlink:href','SUBMIT_CHANGESET_TIMEOUT','_collaborationController','resize','collabCursorState$','_toggleOffline','_renderManagerService','subscribe','_drawRectRange','_name','univer-online-status-title','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','482823kdeWEA','editingUnit','show','saveTaskMap','lineTo','attrs','cursorInfo$','Unknown\x20user','div','add','_drawTextRange','type','registerRenderModule','_updateSubUnitFromURLParams','APPLY_REVISION_CONFILICT','setTimeout','unsubscribe','getCollabCursors$','OTHER_CLIENTS_EDITING','_removeClearOtherTimer','trim','assignAColorForMemberID','_refRangeService','599064ljALAK','hide','_hover','_colorIndex','USERS_LEAVE','_beforeCloseService','transformByState','onPointerEnter$','_httpService','_eventUnsubscribe','[CollaborationDataLoaderController]','undoState','clearInterval','getParam','sheetId','OnLineSingle','_urlService','YUUMI_URL_COL_OUT_OF_RANGE','_updateURLWithCurrentState','getTypeOfUnitAdded$','_docSkeletonManagerService','_toggleOnline','bottom','_setupSubUnitSync','Warning','COMPLETION_FINISHED','SNAPSHOT_INVALID_SNAPSHOT','arc','UNAUTHENTICATED','_config','deepClone','tag','getCurrentUnitForType','_id','InsertRangeMoveRightCommandId','8wEAHBV','toString','_sheetSkeletonManagerService','DeleteRangeMoveUpCommandId','colorChannel1','ranges','getStateCache','addObjects','disposeUnit','defs','registerBeforeClose','_render','_syncEditingCollabCursorService','_scene','_configService','isArray','textRanges','registerRefRange','RemoveRowCommandId','setParam','340635qeOWYM','_unitOnClients','length','getOwnPropertySymbols','roomMembers$','origin','collaboration.single-unit.warning','top','getCellPositionByOffset','_docSkeleton','_onRefRangeChange','_saveTaskMap','purple300','_initStatusComponent','gold400','_univerInstanceService','_textBubble','getMember','SOCKET_FAILED_RETRY','unshift','loadOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','none','runOnServer','_lastPointer','_anchor','getConfig','width','TEXT','_scheduleClearOtherTimer','FromArray','_cursors','MoveRangeCommandId','...','6mzhzVH','transformIMECache','ACTIVE_UNIT_EVENT_CHANNEL','CLOSE_ROOM','APPLY_NON_SEQUENTIAL_REVISION','mutations','_docTransformStateCacheService','_saveCache','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onlineStatusTitle','transformStateCache','mask','_initEvent','_cursorShapes','_initStatusListener','clipPath','from','getRelativeToViewportCoord','_doCreateSocket','replaceState','UNIVER_SHEET','getOwnPropertyDescriptor','runId','_logService','_updateLocalCursor','findNodePositionByCharIndex','_setupBeforeClosingHandler','_initCommandExecutedListener','currentSkeleton$','getViewport','_cachedData','ALREADY_EXISTS','string','dispose','online','session.connection-failed','url(#$1','endRow','apply','AWAITING_WITH_PENDING','setItem','AWAITING','storage','getUndoRedoMutationParamsCache','_handleJoinEvent','_initEntityListener','_uiPartsService','_injector','debug','_hideTimer','getSheetBySheetId','_status$','params','fill','_instanceService','whenReady','univer-online-status','_selfUnitIDs','fillStyle','makeDirty','60llKayu','prototype','indexOf','session.will-retry','use','_collabSessionService','_collaborationUIEventService','_startDocCollabCursor','children','invokeId','imageSourceType','_refreshCollabCursors','onCommandExecuted','has','0\x200\x2017\x2016','_handleEvent','RECT','endColumn','_transformHistoryAndStateStack','createInstance','concat','#FFF','onTransformChange$','#fff','data','exhaustSavingTask','addClipboardHook','LICENSE_EXPORT_SIZE_EXCEEDED','disableLocalCache','defIds','includes','UNRECOGNIZED','beginPath','selection','_localStorageService','_createSocketURL','max','getVpScrollXYInfoByPosToVp','HEADER_MENU','saveOfflineData','split','_handleHeartbeatEvent','sheetID','INTERNAL_ERROR','collabStatus.notCollab','_getAnchorBounding','_ensureSubject','UNIVER_DOC','UPDATE_CURSOR','displayName','onPointerLeave$','getAncestorScale','sessionTicket','_online','sessionStatus$','_range','row','setShapeProps','_imageIoService','closePath','onLocalMutation','getValue','extend','hasOwnProperty','onlineStatusIcon','_getSessionTicket','propertyIsEnumerable','_docTransformIMECacheService','_memberService','getSheetId','_collabCursorController','_localeService','2571633Keydzd','APPLY_PERMISSION_DENIED','Failed','1em','disposeWithMe','_initDependencies','startColumn','_send','currentColor','NO_OTHER_CLIENTS_EDITING','location','CONFLICT','svg','pluginName','M0\x200H16V16H0z','contains','SOCKET_FAILED','transform','range','getUnitId','InsertRangeMoveDownCommandId','eventID','_assignedColors','_dataLoaderService','_transformPreviousActiveRange','call','INVALID_ARGUMENT','flatMap','searchParams','_initResize','univer-flex\x20univer-items-center','then','ENSURE_SNAPSHOT_EXECUTION','getUniverSheetInstance','forEach','height','popstate','stringify','UNDEFINED','override','_session','NOT_COLLAB','asObservable','PENDING','post','actions','_hovered','code','application/json','getActiveSheet','skeleton','pushState','_transformService','m1Prime','next','_draw','_backgroundColor','_color','APPLY_DUPLICATED','black','save','push','currentTheme$','_scheduleSaving','path','_colorAssignService','onMouseMove','event$','DeleteRangeMoveLeftCommandId','replaceDocRanges','getCollabEntity$','ONLINE','onPointerMove$','collab-text-anchor-','some','getUnitStatus$','_entityInit$','PERMISSION_DENIED','JOIN_ROOM_FAILED','_transformUndoRedoStack','_onCursorUpdate','CONNECTOR_DATA_TOO_LARGE','getTypeOfUnitDisposed$','_revisionService','result','getRangePointData','univer-online','_cursor','saveImage','on-line-single_clip0_910_349','_commandService','getMergeData','entries','getSkeleton','executeCommand','name','_entities','setConfig','_labelPosition','addEventListener'];_0xc1e6=function(){return _0x793e11;};return _0xc1e6();}Mt[_0x43bb79(0x207)]=_0x43bb79(0x303);var Yi={'tag':_0x43bb79(0x22a),'attrs':{'fill':'none','viewBox':_0x43bb79(0x1e4),'width':_0x43bb79(0x221),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x43bb79(0x2ea)},'children':[{'tag':'path','attrs':{'stroke':_0x43bb79(0x226),'d':_0x43bb79(0x32e),'strokeLinecap':_0x43bb79(0x2c4),'strokeLinejoin':_0x43bb79(0x2c4),'strokeWidth':1.2}}]},{'tag':_0x43bb79(0x16d),'attrs':{},'children':[{'tag':_0x43bb79(0x1a9),'attrs':{'id':_0x43bb79(0x277)},'children':[{'tag':'path','attrs':{'fill':_0x43bb79(0x1ed),'d':_0x43bb79(0x22c),'transform':_0x43bb79(0x2f0)}}]}]}],'defIds':[_0x43bb79(0x277)]},Nt=_0xe2b30c(function(_0x275292,_0x15d36c){const _0x2acfb9=_0x43bb79;return _0x550281(We,Object['assign']({},_0x275292,{'id':_0x2acfb9(0x287),'ref':_0x15d36c,'icon':Yi}));});Nt[_0x43bb79(0x207)]=_0x43bb79(0x150);const Xi='univer-online-status-icon',Vi=_0x43bb79(0x32d),Gi=_0x43bb79(0x1d2),Ki=_0x43bb79(0x274),zi='univer-offline',G={'onlineStatusIcon':Xi,'onlineStatusTitle':Vi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x20a656){const _0x45adf8=_0x43bb79;switch(_0x20a656){case _0x295a76[_0x45adf8(0x2ef)]:return'collabStatus.offline';case _0x295a76[_0x45adf8(0x229)]:return'collabStatus.conflict';case _0x295a76[_0x45adf8(0x2fd)]:return'collabStatus.fetchMiss';case _0x295a76['NOT_COLLAB']:return _0x45adf8(0x202);case _0x295a76[_0x45adf8(0x1c3)]:case _0x295a76[_0x45adf8(0x1c1)]:return _0x45adf8(0x2f3);case _0x295a76['SYNCED']:case _0x295a76[_0x45adf8(0x249)]:return'collabStatus.synced';}}function Zi(_0x42eba3){const _0x22a223=_0x43bb79,{status$:_0x25f177}=_0x42eba3,_0x504fbf=_0x2ace30(_0x25f177,_0x295a76[_0x22a223(0x247)]),_0x1caa7d=_0x102cf4(_0x523740),_0x3bc100=_0x102cf4(_0x7c3e68),_0xcc170f=_0x504fbf!==_0x295a76[_0x22a223(0x2ef)],_0x118b5c=_0x1caa7d['t'](Ji(_0x504fbf)),_0x4d87d5=_0x4e5491(G['onlineStatus'],{[G[_0x22a223(0x1bc)]]:_0xcc170f,[G[_0x22a223(0x288)]]:!_0xcc170f}),_0x3731c8=_0xcc170f?_0x3da671(Nt,{}):_0x3da671(Mt,{}),_0x4010a6=_0x5ad591(()=>{const _0x4a7a65=_0x22a223;_0xcc170f||_0x3bc100[_0x4a7a65(0x2cc)]();},[_0xcc170f,_0x3bc100]);function _0xabe85e(){const _0x2c8218=_0x22a223;return _0x50f421('div',{'className':_0x4e5491(_0x4d87d5,_0x2c8218(0x23c)),'onClick':_0x4010a6,'children':[_0x3da671(_0x2c8218(0x337),{'className':G[_0x2c8218(0x216)],'children':_0x3731c8}),_0x3da671(_0x2c8218(0x337),{'className':G[_0x2c8218(0x1a3)],'children':_0x118b5c})]});}return _0xcc170f?_0xabe85e():_0x3da671(_0x158bd2,{'title':_0x1caa7d['t'](_0x22a223(0x2eb)),'children':_0xabe85e()});}var qi=Object[_0x43bb79(0x1af)],Qi=(_0x288313,_0x5020e6,_0x80c6c2,_0x172425)=>{const _0x2211b7=_0x43bb79;for(var _0x697089=_0x172425>0x1?void 0x0:_0x172425?qi(_0x5020e6,_0x80c6c2):_0x5020e6,_0x5a185b=_0x288313[_0x2211b7(0x17a)]-0x1,_0x1448ce;_0x5a185b>=0x0;_0x5a185b--)(_0x1448ce=_0x288313[_0x5a185b])&&(_0x697089=_0x1448ce(_0x697089)||_0x697089);return _0x697089;},Q=(_0x4c6b9d,_0x24d85f)=>(_0x1505ce,_0x41cff0)=>_0x24d85f(_0x1505ce,_0x41cff0,_0x4c6b9d);let se=class extends _0xf5cf87{constructor(_0x1c3f6c,_0x824742,_0x4b42f7,_0x4c256f){const _0x566d3d=_0x43bb79;super(),h(this,_0x566d3d(0x1cd),new _0x4a6e6e(_0x295a76['NOT_COLLAB'])),(this[_0x566d3d(0x187)]=_0x1c3f6c,this[_0x566d3d(0x1c9)]=_0x824742,this['_collaborationController']=_0x4b42f7,this[_0x566d3d(0x1c8)]=_0x4c256f,this[_0x566d3d(0x185)](),this[_0x566d3d(0x1a8)]());}[_0x43bb79(0x1a8)](){const _0x342bbe=_0x43bb79;this[_0x342bbe(0x222)](this[_0x342bbe(0x187)]['focused$'][_0x342bbe(0x2de)](_0x86cf42(()=>{const _0x4b357f=_0x342bbe,_0x5a93b1=this[_0x4b357f(0x187)][_0x4b357f(0x306)]();return _0x5a93b1?this['_collaborationController'][_0x4b357f(0x264)](_0x5a93b1[_0x4b357f(0x231)]()):_0x183dd6(null);}),_0x86cf42(_0x458a37=>_0x458a37?_0x458a37[_0x342bbe(0x30e)]:_0x183dd6(_0x295a76[_0x342bbe(0x247)])))[_0x342bbe(0x32a)](_0x15fcbb=>{const _0x34a0a4=_0x342bbe;this['_status$'][_0x34a0a4(0x254)](_0x15fcbb);}));}[_0x43bb79(0x185)](){const _0x5ce680=_0x43bb79;this[_0x5ce680(0x222)](this['_uiPartsService'][_0x5ce680(0x2ee)](_0x5291b0[_0x5ce680(0x1fc)],()=>_0x3ffe91(en({'status$':this[_0x5ce680(0x1cd)]['asObservable']()}),this[_0x5ce680(0x1c9)])));}};se=Qi([Q(0x0,_0x30bd00),Q(0x1,_0x502d14(_0x4c43ee)),Q(0x2,_0x502d14(_0x1f8043)),Q(0x3,_0x2ff301)],se);function en(_0x5067da){const {status$:_0x340f63}=_0x5067da;return function(){return _0x3da671(Zi,{'status$':_0x340f63});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x1719b8,_0x5e243e,_0x3d2e7d,_0x4d8a2e)=>{for(var _0x452a4b=_0x4d8a2e>0x1?void 0x0:_0x4d8a2e?tn(_0x5e243e,_0x3d2e7d):_0x5e243e,_0x401141=_0x1719b8['length']-0x1,_0x40c807;_0x401141>=0x0;_0x401141--)(_0x40c807=_0x1719b8[_0x401141])&&(_0x452a4b=_0x40c807(_0x452a4b)||_0x452a4b);return _0x452a4b;},k=(_0x32faae,_0x22abef)=>(_0x2175a6,_0x569b67)=>_0x22abef(_0x2175a6,_0x569b67,_0x32faae);let ie=class extends _0xf5cf87{constructor(_0x1859ad,_0x3da4ae,_0x98135d,_0x12e44f,_0x23daf5,_0x3c34b5){const _0x44dd7e=_0x43bb79;super(),this[_0x44dd7e(0x146)]=_0x1859ad,this[_0x44dd7e(0x2a9)]=_0x3da4ae,this[_0x44dd7e(0x1dc)]=_0x98135d,this[_0x44dd7e(0x29b)]=_0x12e44f,this['_notificationService']=_0x23daf5,this[_0x44dd7e(0x21d)]=_0x3c34b5,this[_0x44dd7e(0x1b4)](),this['_initEvent']();}[_0x43bb79(0x1b4)](){const _0x2bd3d5=_0x43bb79;this[_0x2bd3d5(0x222)](this[_0x2bd3d5(0x146)][_0x2bd3d5(0x16e)](()=>{const _0x59a8b6=_0x2bd3d5;if(this[_0x59a8b6(0x2a9)]['saveTaskMap'][_0x59a8b6(0x293)])return this[_0x59a8b6(0x21d)]['t'](_0x59a8b6(0x2dc));}));}[_0x43bb79(0x1a6)](){const _0x1131e9=_0x43bb79;this['disposeWithMe'](this[_0x1131e9(0x1dc)][_0x1131e9(0x261)][_0x1131e9(0x32a)](_0x9b05ab=>{const _0x222dd1=_0x1131e9;_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x312)]&&this['_messageService'][_0x222dd1(0x331)]({'type':_0x4d8587[_0x222dd1(0x159)],'content':this['_localeService']['t'](_0x222dd1(0x17e))}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x19d)]&&this[_0x222dd1(0x29b)][_0x222dd1(0x331)]({'type':_0x4d8587['Warning'],'content':this[_0x222dd1(0x21d)]['t'](_0x222dd1(0x2c5))}),_0x9b05ab['id']===_0x4e3bcd['PERMISSION_DENIED']&&this['_notificationService'][_0x222dd1(0x331)]({'title':this['_localeService']['t'](_0x222dd1(0x2e4)),'content':this[_0x222dd1(0x21d)]['t']('permission.content'),'type':_0x222dd1(0x31e),'duration':0x0}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x229)]&&this[_0x222dd1(0x29b)]['show']({'type':_0x4d8587['Error'],'content':this['_localeService']['t'](_0x222dd1(0x2c5))+'('+_0x9b05ab[_0x222dd1(0x1ee)]+')'}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x26c)]&&this[_0x222dd1(0x29b)][_0x222dd1(0x331)]({'type':_0x4d8587['Warning'],'content':this['_localeService']['t'](_0x9b05ab['data']||'')}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x18a)]&&this[_0x222dd1(0x29b)]['show']({'type':_0x4d8587['Warning'],'content':this[_0x222dd1(0x21d)]['t'](_0x222dd1(0x1d9))}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x22e)]&&this['_messageService'][_0x222dd1(0x331)]({'type':_0x4d8587['Error'],'content':this['_localeService']['t'](_0x222dd1(0x1bd))}),_0x9b05ab['id']===_0x4e3bcd[_0x222dd1(0x324)]&&this[_0x222dd1(0x29b)][_0x222dd1(0x331)]({'type':_0x4d8587['Error'],'content':this['_localeService']['t'](_0x222dd1(0x30f))});}));}};ie=sn([k(0x0,_0xe6879f),k(0x1,_0x40a747),k(0x2,_0x502d14(_0x2afbbf)),k(0x3,_0x3b4620),k(0x4,_0x34cdf2),k(0x5,_0x502d14(_0x523740))],ie);const nn=_0x43bb79(0x2f4),st={},wt=_0x1c7058(_0x43bb79(0x2c1));var rn=Object[_0x43bb79(0x1af)],on=(_0x2453f6,_0x2ea934,_0x452bb4,_0x5d4886)=>{const _0x40a2bb=_0x43bb79;for(var _0x1f8384=_0x5d4886>0x1?void 0x0:_0x5d4886?rn(_0x2ea934,_0x452bb4):_0x2ea934,_0x2058af=_0x2453f6[_0x40a2bb(0x17a)]-0x1,_0xa6f8cf;_0x2058af>=0x0;_0x2058af--)(_0xa6f8cf=_0x2453f6[_0x2058af])&&(_0x1f8384=_0xa6f8cf(_0x1f8384)||_0x1f8384);return _0x1f8384;},K=(_0x36648d,_0x43c332)=>(_0x5ba220,_0x4f1a2e)=>_0x43c332(_0x5ba220,_0x4f1a2e,_0x36648d);let ne=class extends _0x20b3a0{constructor(_0x572502,_0x475759,_0x36c5a2,_0x5e4c96,_0x5211b4){const _0x4c23c6=_0x43bb79;super(),this[_0x4c23c6(0x151)]=_0x572502,this['_logService']=_0x475759,this[_0x4c23c6(0x278)]=_0x36c5a2,this['_dataLoaderService']=_0x5e4c96,_0x5211b4?_0x5211b4==null||_0x5211b4[_0x4c23c6(0x1d1)]()['then'](()=>this[_0x4c23c6(0x300)]()):(this['_logService'][_0x4c23c6(0x1ca)](_0x4c23c6(0x14b),_0x4c23c6(0x2cd)),this[_0x4c23c6(0x300)]());}async[_0x43bb79(0x300)](){const _0x194052=_0x43bb79,_0x408c21=this[_0x194052(0x151)][_0x194052(0x14e)]('unit'),_0x301add=this['_urlService'][_0x194052(0x14e)](_0x194052(0x33a)),_0x111aeb=this['_urlService'][_0x194052(0x14e)]('subunit');if(!_0x408c21||!_0x301add){this[_0x194052(0x1b1)][_0x194052(0x1ca)](_0x194052(0x14b),_0x194052(0x1a2));return;}const _0xc02a23=await this[_0x194052(0x235)][_0x194052(0x290)](_0x408c21,Number(_0x301add),_0x111aeb);_0xc02a23&&_0xc02a23 instanceof _0x25faec&&this[_0x194052(0x158)](_0xc02a23);}async['_setupSubUnitSync'](_0x260ca4){const _0x133f43=_0x43bb79;await this[_0x133f43(0x137)](_0x260ca4),_0x260ca4[_0x133f43(0x31f)][_0x133f43(0x2de)](_0x5c2067(this[_0x133f43(0x320)]))['subscribe'](_0xb6e598=>{_0xb6e598&&this['_updateURLWithCurrentState'](_0xb6e598);}),this[_0x133f43(0x151)]['urlChange$'][_0x133f43(0x2de)](_0x5c2067(this[_0x133f43(0x320)]))[_0x133f43(0x32a)](()=>this[_0x133f43(0x137)](_0x260ca4));}[_0x43bb79(0x153)](_0x3edabb,_0xb1047c=!0x1){const _0x645af=_0x43bb79,_0x431911=this['_urlService']['getParam']('subunit');_0x3edabb[_0x645af(0x21b)]()!==_0x431911&&this[_0x645af(0x151)][_0x645af(0x177)](_0x645af(0x301),_0x3edabb[_0x645af(0x21b)](),_0xb1047c);}async[_0x43bb79(0x137)](_0x24649b){const _0xb59515=_0x43bb79;var _0x14c473;const _0x47cd97=this[_0xb59515(0x151)][_0xb59515(0x14e)](_0xb59515(0x301));if(!_0x47cd97||!_0x24649b[_0xb59515(0x1cc)](_0x47cd97)){const _0x138eeb=_0x24649b[_0xb59515(0x2fe)]()[0x0],_0x5a47ee=_0x24649b[_0xb59515(0x1cc)](_0x138eeb);if(!_0x5a47ee)return;this['_updateURLWithCurrentState'](_0x5a47ee,!0x0),await this[_0xb59515(0x278)][_0xb59515(0x27c)](_0x1c6ab0['id'],{'unitId':_0x24649b[_0xb59515(0x231)](),'subUnitId':_0x138eeb});return;}((_0x14c473=_0x24649b[_0xb59515(0x24f)]())==null?void 0x0:_0x14c473[_0xb59515(0x21b)]())!==_0x47cd97&&await this[_0xb59515(0x278)][_0xb59515(0x27c)](_0x1c6ab0['id'],{'unitId':_0x24649b['getUnitId'](),'subUnitId':_0x47cd97});}};ne=on([K(0x0,wt),K(0x1,_0x2f4704),K(0x2,_0x50f030),K(0x3,_0x502d14(_0x2b9e4f)),K(0x4,_0x1edf7d(_0x121ff4))],ne);var an=Object[_0x43bb79(0x1af)],cn=(_0x2b6f89,_0x1c9337,_0x1d32c5,_0x50747a)=>{const _0x45b85c=_0x43bb79;for(var _0x14fd23=_0x50747a>0x1?void 0x0:_0x50747a?an(_0x1c9337,_0x1d32c5):_0x1c9337,_0x5ae24e=_0x2b6f89[_0x45b85c(0x17a)]-0x1,_0x51096d;_0x5ae24e>=0x0;_0x5ae24e--)(_0x51096d=_0x2b6f89[_0x5ae24e])&&(_0x14fd23=_0x51096d(_0x14fd23)||_0x14fd23);return _0x14fd23;},Ce=(_0x2aa2c9,_0x1a67a4)=>(_0x25a596,_0x36e33c)=>_0x1a67a4(_0x25a596,_0x36e33c,_0x2aa2c9);let re=class{constructor(_0x26bbaa,_0x15cce5,_0x3f2f80){const _0x50af79=_0x43bb79;this['_injector']=_0x26bbaa,this[_0x50af79(0x252)]=_0x15cce5,this[_0x50af79(0x329)]=_0x3f2f80;}[_0x43bb79(0x19b)](_0x4b0598){const _0x579fdf=_0x43bb79;this['_transformUndoRedoStack'](_0x4b0598),this[_0x579fdf(0x236)](_0x4b0598);}['transformRemoteChangeset'](_0x20f3a6){const _0x4b9276=_0x43bb79,{unitID:_0x36296f}=_0x20f3a6,_0xac4e76=this[_0x4b9276(0x329)][_0x4b9276(0x2d9)](_0x36296f)[_0x4b9276(0x2a3)](_0x597b13),{redoCache:_0x4b7600}=_0xac4e76[_0x4b9276(0x1c5)]();if(_0x4b7600[_0x4b9276(0x17a)]===0x0)return _0x20f3a6;let _0x559bf2=_0x1aee49[_0x4b9276(0x15f)](_0x20f3a6[_0x4b9276(0x19f)][0x0]);for(let _0x388f28=0x0;_0x388f28<_0x4b7600[_0x4b9276(0x17a)];_0x388f28++){const _0x5bec9b={'id':'doc.mutation.rich-text-editing','params':{..._0x4b7600[_0x388f28]}},_0x2d5bb7=this[_0x4b9276(0x252)][_0x4b9276(0x2e0)](_0x559bf2,_0x5bec9b,!0x1);if(_0x33576f(_0x2d5bb7))throw _0x2d5bb7[_0x4b9276(0x31e)];_0x559bf2=_0x2d5bb7[_0x4b9276(0x253)];}return{..._0x1aee49[_0x4b9276(0x15f)](_0x20f3a6),'mutations':[_0x559bf2]};}[_0x43bb79(0x26d)](_0x495e04){const _0x2fbea4=_0x43bb79,{unitID:_0x326c13}=_0x495e04,_0xde3ca8=this[_0x2fbea4(0x329)][_0x2fbea4(0x2d9)](_0x326c13)[_0x2fbea4(0x2a3)](_0x597b13),{undoCache:_0x13ce29,redoCache:_0x2aecbd}=_0xde3ca8[_0x2fbea4(0x1c5)]();if(_0x13ce29[_0x2fbea4(0x17a)]===0x0||_0x2aecbd['length']===0x0)return;const _0x59bc6a=[],_0x1d8946=[];let _0x7558c6=_0x1aee49[_0x2fbea4(0x15f)](_0x495e04[_0x2fbea4(0x19f)][0x0]),_0x49c2d2=_0x1aee49['deepClone'](_0x495e04[_0x2fbea4(0x19f)][0x0]);for(let _0xd4d564=_0x13ce29[_0x2fbea4(0x17a)]-0x1;_0xd4d564>=0x0;_0xd4d564--){const _0x517acb={'id':_0x2fbea4(0x2f1),'params':{..._0x13ce29[_0xd4d564]}},_0x303b68={'id':_0x2fbea4(0x2f1),'params':{..._0x2aecbd[_0xd4d564]}},_0x4a46a0=this[_0x2fbea4(0x252)][_0x2fbea4(0x2e0)](_0x7558c6,_0x517acb,!0x1),_0x211ad0=this[_0x2fbea4(0x252)][_0x2fbea4(0x2e0)](_0x49c2d2,_0x303b68,!0x1);if(_0x33576f(_0x4a46a0))throw _0x4a46a0[_0x2fbea4(0x31e)];if(_0x33576f(_0x211ad0))throw _0x211ad0[_0x2fbea4(0x31e)];_0x59bc6a['unshift'](_0x4a46a0[_0x2fbea4(0x2b5)][_0x2fbea4(0x1ce)]),_0x1d8946['unshift'](_0x211ad0[_0x2fbea4(0x2b5)][_0x2fbea4(0x1ce)]),_0x7558c6=_0x4a46a0[_0x2fbea4(0x253)],_0x49c2d2=_0x211ad0[_0x2fbea4(0x253)];}_0xde3ca8['setUndoRedoMutationParamsCache']({'undoCache':_0x59bc6a,'redoCache':_0x1d8946});}['_transformPreviousActiveRange'](_0x23da26){const _0x362add=_0x43bb79,{unitID:_0x6133e3}=_0x23da26,_0x1e2ab0=this['_renderManagerService'][_0x362add(0x2d9)](_0x6133e3)[_0x362add(0x2a3)](_0x597b13),_0x1e2e6a=_0x1e2ab0['getActiveRange']();if(_0x1e2e6a==null)return;const _0x2cd88e=[{'id':_0x362add(0x2f1),'params':{'unitId':_0x23da26[_0x362add(0x2b9)],'actions':null,'textRanges':[_0x1e2e6a]}}],_0x20cc42=this[_0x362add(0x252)]['transformMutationsWithChangeset'](_0x23da26,_0x2cd88e);if(!_0x40ed42(_0x20cc42))throw _0x20cc42[_0x362add(0x31e)];const _0xc43c30=_0x20cc42['m2Prime'][0x0][_0x362add(0x1ce)][_0x362add(0x174)];Array['isArray'](_0xc43c30)&&_0xc43c30[_0x362add(0x17a)]&&_0x1e2ab0[_0x362add(0x2fc)](_0xc43c30[0x0]);}};re=cn([Ce(0x0,_0x502d14(_0x4c43ee)),Ce(0x1,_0xf1490c),Ce(0x2,_0xc058b9)],re);var ln=Object[_0x43bb79(0x1af)],hn=(_0x9c20d3,_0x1f5d67,_0x354a74,_0x411500)=>{const _0x6451bb=_0x43bb79;for(var _0x49a740=_0x411500>0x1?void 0x0:_0x411500?ln(_0x1f5d67,_0x354a74):_0x1f5d67,_0xe9749=_0x9c20d3[_0x6451bb(0x17a)]-0x1,_0x494e5b;_0xe9749>=0x0;_0xe9749--)(_0x494e5b=_0x9c20d3[_0xe9749])&&(_0x49a740=_0x494e5b(_0x49a740)||_0x49a740);return _0x49a740;},be=(_0x158457,_0x15a0e4)=>(_0xc02a45,_0x238308)=>_0x15a0e4(_0xc02a45,_0x238308,_0x158457);let oe=class{constructor(_0x35d51a,_0x300d54,_0x184483){const _0x554d60=_0x43bb79;this[_0x554d60(0x1c9)]=_0x35d51a,this['_transformService']=_0x300d54,this[_0x554d60(0x2b3)]=_0x184483;}[_0x43bb79(0x1a4)](_0x578ddd){const _0x99c1c2=_0x43bb79;this[_0x99c1c2(0x1e8)](_0x578ddd);}[_0x43bb79(0x2ad)](_0x17c834){const _0x506260=_0x43bb79,{unitID:_0x466306}=_0x17c834,{collaboration:_0x51b24e}=this['_docStateChangeManagerService'][_0x506260(0x16a)](_0x466306);if(_0x51b24e['length']===0x0)return _0x17c834;let _0x390679=_0x1aee49[_0x506260(0x15f)](_0x17c834['mutations'][0x0]);for(let _0x4590c7=0x0;_0x4590c7<_0x51b24e[_0x506260(0x17a)];_0x4590c7++){const _0x4d269a={'id':_0x506260(0x2f1),'params':{'unitId':_0x51b24e[_0x4590c7][_0x506260(0x294)],..._0x51b24e[_0x4590c7]['redoState']}},_0x49a837=this[_0x506260(0x252)]['transformMutation'](_0x390679,_0x4d269a,!0x1);if(_0x33576f(_0x49a837))throw _0x49a837['error'];_0x390679=_0x49a837[_0x506260(0x253)];}return{..._0x1aee49['deepClone'](_0x17c834),'mutations':[_0x390679]};}[_0x43bb79(0x1e8)](_0xe0a6fc){const _0x5720c9=_0x43bb79,{unitID:_0x4be11e}=_0xe0a6fc,{history:_0x5f57d9,collaboration:_0x42f24a}=this['_docStateChangeManagerService'][_0x5720c9(0x16a)](_0x4be11e);if(_0x5f57d9['length']===0x0&&_0x42f24a[_0x5720c9(0x17a)]===0x0)return;const _0x5f693c=[],_0x2e6798=[];let _0x2e488f=_0x1aee49['deepClone'](_0xe0a6fc['mutations'][0x0]),_0x5724cb=_0x1aee49[_0x5720c9(0x15f)](_0xe0a6fc[_0x5720c9(0x19f)][0x0]);for(let _0x9004d4=_0x5f57d9[_0x5720c9(0x17a)]-0x1;_0x9004d4>=0x0;_0x9004d4--){const _0x34d023={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5f57d9[_0x9004d4][_0x5720c9(0x294)],..._0x5f57d9[_0x9004d4][_0x5720c9(0x14c)]}},_0x2146ed={'id':_0x5720c9(0x2f1),'params':{'unitId':_0x5f57d9[_0x9004d4][_0x5720c9(0x294)],..._0x5f57d9[_0x9004d4]['redoState']}},_0x5715c0=this[_0x5720c9(0x252)]['transformMutation'](_0x2e488f,_0x34d023,!0x1),_0x2e0193=this[_0x5720c9(0x252)][_0x5720c9(0x2e0)](_0x5724cb,_0x2146ed,!0x1);if(_0x33576f(_0x5715c0))throw _0x5715c0[_0x5720c9(0x31e)];if(_0x33576f(_0x2e0193))throw _0x2e0193[_0x5720c9(0x31e)];_0x5f693c[_0x5720c9(0x18b)]({..._0x5f57d9[_0x9004d4],'undoState':_0x5715c0[_0x5720c9(0x2b5)]['params'],'redoState':_0x2e0193['m2Prime']['params']}),_0x2e488f=_0x5715c0[_0x5720c9(0x253)],_0x5724cb=_0x2e0193[_0x5720c9(0x253)];}_0x2e488f=_0x1aee49[_0x5720c9(0x15f)](_0xe0a6fc[_0x5720c9(0x19f)][0x0]),_0x5724cb=_0x1aee49['deepClone'](_0xe0a6fc['mutations'][0x0]);for(let _0x4a6178=_0x42f24a[_0x5720c9(0x17a)]-0x1;_0x4a6178>=0x0;_0x4a6178--){const _0x729bb4={'id':_0x5720c9(0x2f1),'params':{'unitId':_0x42f24a[_0x4a6178][_0x5720c9(0x294)],..._0x42f24a[_0x4a6178][_0x5720c9(0x14c)]}},_0x1556cf={'id':_0x5720c9(0x2f1),'params':{'unitId':_0x42f24a[_0x4a6178][_0x5720c9(0x294)],..._0x42f24a[_0x4a6178][_0x5720c9(0x304)]}},_0x157143=this[_0x5720c9(0x252)][_0x5720c9(0x2e0)](_0x2e488f,_0x729bb4,!0x1),_0x51fa00=this['_transformService'][_0x5720c9(0x2e0)](_0x5724cb,_0x1556cf,!0x1);if(_0x33576f(_0x157143))throw _0x157143[_0x5720c9(0x31e)];if(_0x33576f(_0x51fa00))throw _0x51fa00[_0x5720c9(0x31e)];_0x2e6798['unshift']({..._0x42f24a[_0x4a6178],'undoState':_0x157143[_0x5720c9(0x2b5)][_0x5720c9(0x1ce)],'redoState':_0x51fa00[_0x5720c9(0x2b5)][_0x5720c9(0x1ce)]}),_0x2e488f=_0x157143[_0x5720c9(0x253)],_0x5724cb=_0x51fa00[_0x5720c9(0x253)];}this[_0x5720c9(0x2b3)]['setStateCache'](_0x4be11e,{'history':_0x5f693c,'collaboration':_0x2e6798});}};oe=hn([be(0x0,_0x502d14(_0x4c43ee)),be(0x1,_0xf1490c),be(0x2,_0x502d14(_0x25b887))],oe);var _n=Object[_0x43bb79(0x1af)],un=(_0x33df4d,_0x271d2d,_0x3ad107,_0x31b5f5)=>{const _0x4c9b13=_0x43bb79;for(var _0x2ae069=_0x31b5f5>0x1?void 0x0:_0x31b5f5?_n(_0x271d2d,_0x3ad107):_0x271d2d,_0x565555=_0x33df4d[_0x4c9b13(0x17a)]-0x1,_0x50994b;_0x565555>=0x0;_0x565555--)(_0x50994b=_0x33df4d[_0x565555])&&(_0x2ae069=_0x50994b(_0x2ae069)||_0x2ae069);return _0x2ae069;},it=(_0xef449,_0x17e768)=>(_0x16e1e8,_0x1dd8f5)=>_0x17e768(_0x16e1e8,_0x1dd8f5,_0xef449);let ae=class{constructor(_0x23fccc,_0x20214c){const _0x4ee570=_0x43bb79;this[_0x4ee570(0x1c9)]=_0x23fccc,this[_0x4ee570(0x252)]=_0x20214c;}['transformSelections'](_0x341a18){const _0x59e065=_0x43bb79;var _0x13867f;const _0x206cc6=this['_injector'][_0x59e065(0x2dd)](_0x18e240),_0x460bf4=(_0x13867f=_0x206cc6[_0x59e065(0x28f)]())!=null?_0x13867f:[];if(_0x460bf4[_0x59e065(0x17a)]===0x0)return;const _0x5b6871=_0x341a18['unitID'],_0x1e43b7=[{'id':_0x59e065(0x2f1),'params':{'unitId':_0x5b6871,'actions':null,'textRanges':_0x460bf4}}],_0x1a1cda=this[_0x59e065(0x252)]['transformMutationsWithChangeset'](_0x341a18,_0x1e43b7);if(!_0x40ed42(_0x1a1cda))throw _0x1a1cda[_0x59e065(0x31e)];const _0x1fe3d4=_0x1a1cda['m2Prime'][0x0][_0x59e065(0x1ce)][_0x59e065(0x174)];Array[_0x59e065(0x173)](_0x1fe3d4)&&_0x1fe3d4[_0x59e065(0x17a)]&&_0x206cc6[_0x59e065(0x263)](_0x1fe3d4,{'unitId':_0x5b6871,'subUnitId':_0x5b6871},!0x1);}};ae=un([it(0x0,_0x502d14(_0x4c43ee)),it(0x1,_0xf1490c)],ae);var dn=Object[_0x43bb79(0x1af)],fn=(_0x55d564,_0x9484d2,_0xb3ba19,_0x2199af)=>{const _0x380074=_0x43bb79;for(var _0xfc8fe4=_0x2199af>0x1?void 0x0:_0x2199af?dn(_0x9484d2,_0xb3ba19):_0x9484d2,_0x1ff9d7=_0x55d564[_0x380074(0x17a)]-0x1,_0xe98bf1;_0x1ff9d7>=0x0;_0x1ff9d7--)(_0xe98bf1=_0x55d564[_0x1ff9d7])&&(_0xfc8fe4=_0xe98bf1(_0xfc8fe4)||_0xfc8fe4);return _0xfc8fe4;},M=(_0x5cffa3,_0x53a59e)=>(_0x237a73,_0x5ddf70)=>_0x53a59e(_0x237a73,_0x5ddf70,_0x5cffa3);let ce=class extends _0xf5cf87{constructor(_0x5e1933,_0x18e959,_0x39e74a,_0x4f6250,_0x138594,_0x5b8216,_0x51e447,_0x1c27a1){const _0x506de3=_0x43bb79;super(),h(this,_0x506de3(0x1cd),new _0x4a6e6e(_0x295a76['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5e1933,this[_0x506de3(0x325)]=_0x18e959,this[_0x506de3(0x219)]=_0x39e74a,this[_0x506de3(0x1a0)]=_0x4f6250,this[_0x506de3(0x315)]=_0x138594,this[_0x506de3(0x31d)]=_0x5b8216,this[_0x506de3(0x29b)]=_0x51e447,this[_0x506de3(0x21d)]=_0x1c27a1,this[_0x506de3(0x1c7)]());}[_0x43bb79(0x1c7)](){const _0x3024a6=_0x43bb79;this[_0x3024a6(0x222)](this[_0x3024a6(0x325)]['entityInit$'][_0x3024a6(0x32a)](_0x33fd00=>{const _0x32a071=_0x3024a6,_0x5564a2=this[_0x32a071(0x2b3)]['docStateChange$']['subscribe'](_0x4a0369=>{const _0x4a609=_0x32a071;if(_0x4a0369==null)return;const {unitId:_0x190759,redoState:_0x2a93d3,commandId:_0x2cbfb}=_0x4a0369;if(_0x190759!==_0x33fd00['unitID'])return;const _0x1dbba8={'id':_0x2cbfb,'type':_0x9d124['MUTATION'],'params':{'unitId':_0x190759,'actions':_0x2a93d3[_0x4a609(0x24b)],'textRanges':null}};_0x33fd00[_0x4a609(0x212)](_0x1dbba8);});if(_0x33fd00[_0x32a071(0x222)](_0x5564a2),_0x33fd00 instanceof _0x4d904c){const _0x115ac4={'onTransformIME':_0x22dce7=>this[_0x32a071(0x219)][_0x32a071(0x19b)](_0x22dce7),'onTransformState':_0x2afe02=>this[_0x32a071(0x1a0)][_0x32a071(0x1a4)](_0x2afe02),'onTransformSelections':_0x152526=>this['_docTransformSelectionsService'][_0x32a071(0x29d)](_0x152526),'onSyncEditingCollabCursor':_0x4cb8de=>this[_0x32a071(0x31d)]['syncEditingCollabCursor'](_0x4cb8de),'onTransformRemoteChangesetByIMECache':_0x44ac32=>this[_0x32a071(0x219)][_0x32a071(0x2ad)](_0x44ac32),'onTransformRemoteChangesetByStateCache':_0x2771ed=>this[_0x32a071(0x1a0)][_0x32a071(0x2ad)](_0x2771ed)};_0x33fd00['addHandlerCallback'](_0x115ac4);}}));}};ce=fn([M(0x0,_0x502d14(_0x25b887)),M(0x1,_0x502d14(_0x1f8043)),M(0x2,_0x502d14(re)),M(0x3,_0x502d14(oe)),M(0x4,_0x502d14(ae)),M(0x5,_0x502d14(je)),M(0x6,_0x3b4620),M(0x7,_0x502d14(_0x523740))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x2d5e3d,_0x1bcb49,_0x225803,_0x3c4ba5)=>{const _0x42df7b=_0x43bb79;for(var _0x232748=_0x3c4ba5>0x1?void 0x0:_0x3c4ba5?Sn(_0x1bcb49,_0x225803):_0x1bcb49,_0x20178c=_0x2d5e3d[_0x42df7b(0x17a)]-0x1,_0x3388c7;_0x20178c>=0x0;_0x20178c--)(_0x3388c7=_0x2d5e3d[_0x20178c])&&(_0x232748=_0x3388c7(_0x232748)||_0x232748);return _0x232748;},Ee=(_0x1c86d6,_0x5cfddc)=>(_0x41f7df,_0x363398)=>_0x5cfddc(_0x41f7df,_0x363398,_0x1c86d6);let Ae=class extends _0xf5cf87{constructor(_0x1a1840,_0x5b785f,_0x47449e){const _0x2fa527=_0x43bb79;super(),h(this,'_cachedData',new Map()),h(this,_0x2fa527(0x183),new Map()),h(this,'_disabled',!0x1),(this[_0x2fa527(0x172)]=_0x1a1840,this['_localStorageService']=_0x5b785f,this[_0x2fa527(0x271)]=_0x47449e);}[_0x43bb79(0x1f2)](){this['_disabled']=!0x0;}[_0x43bb79(0x2db)](){this['_disabled']=!0x1;}get[_0x43bb79(0x332)](){const _0x433da9=_0x43bb79;return this[_0x433da9(0x183)];}[_0x43bb79(0x1bb)](){const _0x1b5fbf=_0x43bb79;this[_0x1b5fbf(0x1ef)]()['then'](()=>super[_0x1b5fbf(0x1bb)]());}async[_0x43bb79(0x18c)](_0x5c078d){const _0x1987f7=_0x43bb79;return this['_disabled']?null:this[_0x1987f7(0x1f8)]['getItem'](_0x4fed25(_0x5c078d));}async[_0x43bb79(0x1fd)](_0x15f838,_0x2f8db2){const _0x119b74=_0x43bb79;return!!this[_0x119b74(0x1f8)]['setItem'](_0x15f838,_0x2f8db2);}['updateOfflineData'](_0x5e5bc4,_0x246ec3,_0x18fbf3,_0x3fb694){const _0x3cdcf7=_0x43bb79,_0x52c026=this[_0x3cdcf7(0x271)][_0x3cdcf7(0x2bb)](_0x5e5bc4);this[_0x3cdcf7(0x1b8)]['set'](_0x5e5bc4,{'unitID':_0x5e5bc4,'type':_0x246ec3,'awaitingChangeset':_0x18fbf3,'mutations':_0x3fb694,'rev':_0x52c026}),this[_0x3cdcf7(0x183)]['has'](_0x5e5bc4)||this[_0x3cdcf7(0x25d)](_0x5e5bc4);}[_0x43bb79(0x25d)](_0x2223ec){const _0x1a9c57=_0x43bb79,_0x5c6f9f=this[_0x1a9c57(0x28d)]();_0x5c6f9f===0x0?this['_saveCache'](_0x2223ec):this['_saveTaskMap'][_0x1a9c57(0x28c)](_0x2223ec,setTimeout(()=>this[_0x1a9c57(0x1a1)](_0x2223ec),_0x5c6f9f));}['_getSaveTimeout'](){const _0x420a7c=_0x43bb79;var _0x1e9464;return(_0x1e9464=this[_0x420a7c(0x172)]['getConfig'](_0x43f15d))!=null?_0x1e9464:_0x2f141a;}[_0x43bb79(0x1a1)](_0x126fdb){const _0x56af4d=_0x43bb79,_0x2d16c5=this[_0x56af4d(0x183)][_0x56af4d(0x2dd)](_0x126fdb);return _0x2d16c5!==void 0x0&&window[_0x56af4d(0x2d1)](_0x2d16c5),this['_localStorageService'][_0x56af4d(0x1c2)](_0x4fed25(_0x126fdb),this[_0x56af4d(0x1b8)][_0x56af4d(0x2dd)](_0x126fdb))[_0x56af4d(0x23d)](()=>this[_0x56af4d(0x183)][_0x56af4d(0x31a)](_0x126fdb));}async[_0x43bb79(0x1ef)](){const _0x4f32d9=_0x43bb79,_0x33abda=[];this[_0x4f32d9(0x183)][_0x4f32d9(0x240)]((_0x2e2c77,_0x17ad50)=>{const _0x3183c4=_0x4f32d9;window[_0x3183c4(0x2d1)](_0x2e2c77),_0x33abda[_0x3183c4(0x25b)](this[_0x3183c4(0x1a1)](_0x17ad50)['then'](()=>{const _0x39184f=_0x3183c4;this[_0x39184f(0x183)][_0x39184f(0x31a)](_0x17ad50);}));}),await Promise[_0x4f32d9(0x31b)](_0x33abda);}};Ae=mn([Ee(0x0,_0x37fa78),Ee(0x1,_0x20ef19),Ee(0x2,_0x502d14(_0x5d2c9b))],Ae);class gn extends _0x20b3a0{constructor(){const _0x4e1387=_0x43bb79;super(),h(this,_0x4e1387(0x2f9)),this[_0x4e1387(0x2f9)]=_0x3d6b41(window,_0x4e1387(0x242))[_0x4e1387(0x2de)](_0x5c2067(this[_0x4e1387(0x320)]),_0x174904(0x1),_0x4b7cfd(void 0x0));}[_0x43bb79(0x177)](_0x35483e,_0x452056,_0x504d69=!0x1){const _0x2121e7=_0x43bb79,_0x4e5d8c=new URL(window[_0x2121e7(0x228)][_0x2121e7(0x2e1)]);_0x4e5d8c[_0x2121e7(0x23a)][_0x2121e7(0x28c)](_0x35483e,_0x452056),_0x504d69?window[_0x2121e7(0x2c9)][_0x2121e7(0x1ad)]('','',_0x4e5d8c[_0x2121e7(0x165)]()):window[_0x2121e7(0x2c9)][_0x2121e7(0x251)]('','',_0x4e5d8c[_0x2121e7(0x165)]());}['removeParam'](_0x53f360,_0x36c4ae=!0x1){const _0x45c88f=_0x43bb79,_0x342374=new URL(window['location']['href']);_0x342374['searchParams'][_0x45c88f(0x31a)](_0x53f360),_0x36c4ae?window[_0x45c88f(0x2c9)][_0x45c88f(0x1ad)]('','',_0x342374[_0x45c88f(0x165)]()):window['history'][_0x45c88f(0x251)]('','',_0x342374['toString']());}[_0x43bb79(0x14e)](_0x399cb8){const _0x573f28=_0x43bb79;var _0x523814;return(_0x523814=new URL(window[_0x573f28(0x228)][_0x573f28(0x2e1)])[_0x573f28(0x23a)][_0x573f28(0x2dd)](_0x399cb8))!=null?_0x523814:void 0x0;}}var vn=Object[_0x43bb79(0x2e3)],In=Object[_0x43bb79(0x1af)],pn=(_0x567778,_0x4f924c,_0x21f07e)=>_0x4f924c in _0x567778?vn(_0x567778,_0x4f924c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21f07e}):_0x567778[_0x4f924c]=_0x21f07e,Cn=(_0x41e148,_0x50f27b,_0x18e64f,_0x1bc489)=>{const _0x18a128=_0x43bb79;for(var _0x211399=_0x1bc489>0x1?void 0x0:_0x1bc489?In(_0x50f27b,_0x18e64f):_0x50f27b,_0x49c085=_0x41e148[_0x18a128(0x17a)]-0x1,_0x4d5ad1;_0x49c085>=0x0;_0x49c085--)(_0x4d5ad1=_0x41e148[_0x49c085])&&(_0x211399=_0x4d5ad1(_0x211399)||_0x211399);return _0x211399;},Oe=(_0x313685,_0x574da4)=>(_0x331937,_0x4a47aa)=>_0x574da4(_0x331937,_0x4a47aa,_0x313685),bn=(_0x49d5e6,_0x109d5c,_0x4a3a2c)=>pn(_0x49d5e6,_0x109d5c+'',_0x4a3a2c);const En='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x41cfd9{constructor(_0x47a65c=st,_0x1d4bae,_0x465258,_0x16aa58){const _0x380b3b=_0x43bb79;super(),this[_0x380b3b(0x15e)]=_0x47a65c,this['_renderManagerService']=_0x1d4bae,this['_injector']=_0x465258,this['_configService']=_0x16aa58;const {..._0x5beea5}=_0x515488({},st,this[_0x380b3b(0x15e)]);this[_0x380b3b(0x172)][_0x380b3b(0x27f)](nn,_0x5beea5);}[_0x43bb79(0x298)](){const _0x287c82=_0x43bb79;this[_0x287c82(0x2ba)](),this[_0x287c82(0x223)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4a9c88=_0x43bb79;var _0x435fbc;const _0x49ba7a=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x30a7a4,{'useClass':_0x5b5369}],[_0x40a747,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x4c220e(this[_0x4a9c88(0x1c9)],_0x16403f(_0x49ba7a,(_0x435fbc=this['_config'])==null?void 0x0:_0x435fbc[_0x4a9c88(0x245)]));}[_0x43bb79(0x2a6)](){const _0x303e71=_0x43bb79;this['disposeWithMe'](this[_0x303e71(0x329)][_0x303e71(0x136)](_0xdcdde7['UNIVER_DOC'],[Ue])),this[_0x303e71(0x222)](this[_0x303e71(0x329)][_0x303e71(0x136)](_0xdcdde7['UNIVER_SHEET'],[Le]));}[_0x43bb79(0x223)](){const _0x2e8439=_0x43bb79;_0x53954a(this[_0x2e8439(0x1c9)],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,_0x43bb79(0x22b),En),ye=Cn([_0x15fe56(_0x2ca347),Oe(0x1,_0xc058b9),Oe(0x2,_0x502d14(_0x4c43ee)),Oe(0x3,_0x37fa78)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x552500,_0x205cfb,_0x1c674a,_0x3073f8)=>{for(var _0x46fb20=_0x3073f8>0x1?void 0x0:_0x3073f8?On(_0x205cfb,_0x1c674a):_0x205cfb,_0x2fa33f=_0x552500['length']-0x1,_0x519b06;_0x2fa33f>=0x0;_0x2fa33f--)(_0x519b06=_0x552500[_0x2fa33f])&&(_0x46fb20=_0x519b06(_0x46fb20)||_0x46fb20);return _0x46fb20;},z=(_0x255758,_0x54116d)=>(_0x56b959,_0x369d8d)=>_0x54116d(_0x56b959,_0x369d8d,_0x255758);let nt=class extends _0x15437c{constructor(_0x324b07,_0x15f4fd,_0x8bf73b,_0x4ddf17,_0x41e8a6){super(_0x324b07,_0x15f4fd,_0x8bf73b,_0x4ddf17,_0x41e8a6);}async[_0x43bb79(0x30c)](_0x1d1cec){const _0x516bb5=_0x43bb79,_0x333853=await this[_0x516bb5(0x217)](),_0x255f51=this['_createSocketURL'](_0x1d1cec,_0x333853);return this[_0x516bb5(0x1ac)](_0x255f51);}[_0x43bb79(0x1f9)](_0x556cc8,_0x4b174d){const _0x5bfa7c=_0x43bb79,_0x501ade=typeof window>'u'?new URL(_0x556cc8):new URL(_0x556cc8,window[_0x5bfa7c(0x228)][_0x5bfa7c(0x17d)]);_0x501ade[_0x5bfa7c(0x23a)]['set'](_0x5bfa7c(0x20a),_0x4b174d);const _0x2a2a31=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5bfa7c(0x228)][_0x5bfa7c(0x30b)]);return _0x2a2a31['get']('runId')&&_0x501ade[_0x5bfa7c(0x23a)][_0x5bfa7c(0x28c)](_0x5bfa7c(0x1b0),_0x2a2a31[_0x5bfa7c(0x2dd)](_0x5bfa7c(0x1b0))),_0x501ade[_0x5bfa7c(0x165)]();}async[_0x43bb79(0x217)](){const _0x1c5414=_0x43bb79;var _0x381f3a,_0x3720b6,_0x3858e4;const _0x4c6b35=this[_0x1c5414(0x172)][_0x1c5414(0x192)](_0x18705f),_0xc9f74c=(_0x381f3a=_0x4c6b35==null?void 0x0:_0x4c6b35[_0x1c5414(0x2da)])!=null?_0x381f3a:_0x4bd6be;return(_0x3858e4=(_0x3720b6=(await this[_0x1c5414(0x149)][_0x1c5414(0x2dd)](_0xc9f74c,{'headers':{'Content-Type':_0x1c5414(0x24e)}}))[_0x1c5414(0x28e)])==null?void 0x0:_0x3720b6[_0x1c5414(0x31c)])!=null?_0x3858e4:'';}};nt=Tn([z(0x0,_0x502d14(_0x4c43ee)),z(0x1,_0x502d14(_0x23a096)),z(0x2,_0x37fa78),z(0x3,_0x2f4704),z(0x4,_0x24a807)],nt);const rt=0x7530,ot=_0x43bb79(0x19c);class Gn extends _0xf5cf87{constructor(){const _0x2b37f5=_0x43bb79;super(),h(this,_0x2b37f5(0x162),_0x3086f1()),h(this,_0x2b37f5(0x1d3),new Set()),h(this,_0x2b37f5(0x179),new Map()),h(this,_0x2b37f5(0x2ab),null),h(this,_0x2b37f5(0x2f5),new Map()),h(this,_0x2b37f5(0x2d5),new Map()),this[_0x2b37f5(0x300)]();}[_0x43bb79(0x1bb)](){const _0xbe9d=_0x43bb79;super[_0xbe9d(0x1bb)](),this[_0xbe9d(0x2f5)]['forEach']((_0x4bf2b2,_0x2786de)=>this[_0xbe9d(0x13d)](_0x2786de)),this['_heartbeatTimer']&&window[_0xbe9d(0x14d)](this[_0xbe9d(0x2ab)]);}[_0x43bb79(0x269)](_0x3228d1){const _0x4b37e1=_0x43bb79;return this['_ensureSubject'](_0x3228d1)[_0x4b37e1(0x2de)](_0x4d3ca7());}[_0x43bb79(0x330)](_0x15d6d3){const _0x2201c7=_0x43bb79;this[_0x2201c7(0x1d3)][_0x2201c7(0x293)]===0x0&&this[_0x2201c7(0x2d8)](),this['_selfUnitIDs'][_0x2201c7(0x338)](_0x15d6d3),this[_0x2201c7(0x225)]({'type':0x0,'memberID':this[_0x2201c7(0x162)],'unitIDs':[_0x15d6d3],'isForwarded':!0x1});}[_0x43bb79(0x16c)](_0x2d7667){const _0x26d1b9=_0x43bb79;this[_0x26d1b9(0x1d3)][_0x26d1b9(0x31a)](_0x2d7667),this['_selfUnitIDs'][_0x26d1b9(0x293)]===0x0&&this['_heartbeatTimer']&&window[_0x26d1b9(0x14d)](this[_0x26d1b9(0x2ab)]);}[_0x43bb79(0x300)](){const _0x163513=_0x43bb79;this['disposeWithMe'](_0x48818b(_0x3d6b41(window,_0x163513(0x1c4))[_0x163513(0x32a)](_0x29664e=>{const _0x50dd9a=_0x163513;if(_0x29664e[_0x50dd9a(0x2a7)]!==ot||!_0x29664e['newValue'])return;const _0x4c590e=JSON['parse'](_0x29664e[_0x50dd9a(0x286)]);this[_0x50dd9a(0x1e5)](_0x4c590e);}))),window[_0x163513(0x281)](_0x163513(0x29a),()=>this[_0x163513(0x225)]({'type':0x1,'memberID':this[_0x163513(0x162)],'unitIDs':Array[_0x163513(0x1aa)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x395597){const _0x570514=_0x43bb79;switch(_0x395597[_0x570514(0x33a)]){case 0x0:this[_0x570514(0x1c6)](_0x395597);break;case 0x1:this['_handleLeaveEvent'](_0x395597);break;case 0x2:this[_0x570514(0x1ff)](_0x395597);break;}}['_handleJoinEvent'](_0x1d8f55){const _0x13c850=_0x43bb79,{unitIDs:_0x498e00,memberID:_0x3633ad,isForwarded:_0x4afd7d}=_0x1d8f55;_0x498e00[_0x13c850(0x240)](_0x39515e=>{const _0x126d11=_0x13c850;if(!_0x4afd7d&&this[_0x126d11(0x179)][_0x126d11(0x1e3)](_0x39515e)&&this[_0x126d11(0x204)](_0x39515e)[_0x126d11(0x254)](_0xeea638[_0x126d11(0x13c)]),!this[_0x126d11(0x179)][_0x126d11(0x1e3)](_0x39515e)||!this[_0x126d11(0x179)][_0x126d11(0x2dd)](_0x39515e)[_0x126d11(0x1e3)](_0x3633ad)){const _0x4c6556=this[_0x126d11(0x179)][_0x126d11(0x2dd)](_0x39515e)||new Set();_0x4c6556['add'](_0x3633ad),this['_unitOnClients'][_0x126d11(0x28c)](_0x39515e,_0x4c6556),this[_0x126d11(0x195)](_0x3633ad);}}),_0x4afd7d||this[_0x13c850(0x225)]({'type':0x0,'memberID':this[_0x13c850(0x162)],'unitIDs':[...this[_0x13c850(0x1d3)]],'isForwarded':!0x0});}[_0x43bb79(0x195)](_0x213f7a){const _0x3dcf6d=_0x43bb79;this[_0x3dcf6d(0x13d)](_0x213f7a);const _0x2caec4=window[_0x3dcf6d(0x139)](()=>{const _0x3a70ee=_0x3dcf6d;this[_0x3a70ee(0x179)][_0x3a70ee(0x240)](_0x3a007d=>{const _0x1f7987=_0x3a70ee;_0x3a007d[_0x1f7987(0x31a)](_0x213f7a);});},rt*0x2);this[_0x3dcf6d(0x2f5)][_0x3dcf6d(0x28c)](_0x213f7a,_0x2caec4);}[_0x43bb79(0x13d)](_0x26b6db){const _0x3709b1=_0x43bb79;if(this[_0x3709b1(0x2f5)][_0x3709b1(0x1e3)](_0x26b6db)){const _0x613bc5=this['_clearOtherTimers'][_0x3709b1(0x2dd)](_0x26b6db);_0x613bc5&&window['clearTimeout'](_0x613bc5),this[_0x3709b1(0x2f5)][_0x3709b1(0x28c)](_0x26b6db,null);}}[_0x43bb79(0x29e)](_0x515453){const _0x3e81ff=_0x43bb79,{memberID:_0x44b332,unitIDs:_0x314bd0}=_0x515453;_0x314bd0[_0x3e81ff(0x240)](_0x4df404=>{const _0x6d2e37=_0x3e81ff;var _0x5490c5;const _0x20601d=this['_unitOnClients']['get'](_0x4df404);_0x20601d&&(_0x20601d[_0x6d2e37(0x31a)](_0x44b332),(_0x5490c5=this[_0x6d2e37(0x204)](_0x4df404))==null||_0x5490c5['next'](_0x20601d['size']===0x0?_0xeea638[_0x6d2e37(0x227)]:_0xeea638[_0x6d2e37(0x13c)]));}),this[_0x3e81ff(0x13d)](_0x44b332);}[_0x43bb79(0x1ff)](_0x5f941){const _0x1f0faf=_0x43bb79;this[_0x1f0faf(0x195)](_0x5f941[_0x1f0faf(0x2a0)]);}[_0x43bb79(0x225)](_0x1d4e45){const _0x422d2c=_0x43bb79;localStorage[_0x422d2c(0x1c2)](ot,JSON[_0x422d2c(0x243)](_0x1d4e45));}[_0x43bb79(0x2d8)](){const _0x1c1d17=_0x43bb79;this['_heartbeatTimer']=window[_0x1c1d17(0x2ed)](()=>{const _0x3a58e5=_0x1c1d17;this[_0x3a58e5(0x225)]({'type':0x2,'memberID':this[_0x3a58e5(0x162)]});},rt);}[_0x43bb79(0x204)](_0x278161){const _0x5141f1=_0x43bb79;return this['_unitStatus'][_0x5141f1(0x1e3)](_0x278161)||this[_0x5141f1(0x2d5)][_0x5141f1(0x28c)](_0x278161,new _0x4a6e6e(_0xeea638[_0x5141f1(0x227)])),this[_0x5141f1(0x2d5)][_0x5141f1(0x2dd)](_0x278161);}}var Ut=(_0x570189=>(_0x570189[_0x570189[_0x43bb79(0x244)]=0x0]=_0x43bb79(0x244),_0x570189[_0x570189['OK']=0x1]='OK',_0x570189[_0x570189[_0x43bb79(0x201)]=0x2]=_0x43bb79(0x201),_0x570189[_0x570189['PERMISSION_DENIED']=0x3]=_0x43bb79(0x26b),_0x570189[_0x570189[_0x43bb79(0x2c2)]=0x4]='NOT_FOUND',_0x570189[_0x570189['UNAUTHENTICATED']=0x5]=_0x43bb79(0x15d),_0x570189[_0x570189['ALREADY_EXISTS']=0x6]=_0x43bb79(0x1b9),_0x570189[_0x570189[_0x43bb79(0x238)]=0x7]=_0x43bb79(0x238),_0x570189[_0x570189['TOO_MANY_REQUESTS']=0x8]=_0x43bb79(0x30a),_0x570189[_0x570189['COMPLETION_FINISHED']=0x9]=_0x43bb79(0x15a),_0x570189[_0x570189['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x43bb79(0x310),_0x570189[_0x570189[_0x43bb79(0x15b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x570189[_0x570189[_0x43bb79(0x2e8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x570189[_0x570189[_0x43bb79(0x23e)]=0x1773]=_0x43bb79(0x23e),_0x570189[_0x570189[_0x43bb79(0x2aa)]=0x1b59]='APPLY_REJECT',_0x570189[_0x570189[_0x43bb79(0x19e)]=0x1b5a]=_0x43bb79(0x19e),_0x570189[_0x570189[_0x43bb79(0x138)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x570189[_0x570189[_0x43bb79(0x21f)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x570189[_0x570189[_0x43bb79(0x258)]=0x1b5d]=_0x43bb79(0x258),_0x570189[_0x570189['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x43bb79(0x26f),_0x570189[_0x570189[_0x43bb79(0x28a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x570189[_0x570189['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x43bb79(0x2c7),_0x570189[_0x570189[_0x43bb79(0x18d)]=0x232b]=_0x43bb79(0x18d),_0x570189[_0x570189[_0x43bb79(0x1f1)]=0x232c]=_0x43bb79(0x1f1),_0x570189[_0x570189[_0x43bb79(0x308)]=0x232d]=_0x43bb79(0x308),_0x570189[_0x570189[_0x43bb79(0x299)]=0x2711]=_0x43bb79(0x299),_0x570189[_0x570189[_0x43bb79(0x152)]=0x2712]=_0x43bb79(0x152),_0x570189[_0x570189[_0x43bb79(0x291)]=0x2713]=_0x43bb79(0x291),_0x570189[_0x570189[_0x43bb79(0x289)]=0x2714]=_0x43bb79(0x289),_0x570189[_0x570189[_0x43bb79(0x2c3)]=0x2af9]=_0x43bb79(0x2c3),_0x570189[_0x570189[_0x43bb79(0x1f5)]=-0x1]='UNRECOGNIZED',_0x570189))(Ut||{}),Rn=Object[_0x43bb79(0x1af)],Dn=(_0x4d84e4,_0x38c852,_0x7b009c,_0x18b675)=>{const _0x108cc1=_0x43bb79;for(var _0x1ba7db=_0x18b675>0x1?void 0x0:_0x18b675?Rn(_0x38c852,_0x7b009c):_0x38c852,_0x4ce84a=_0x4d84e4[_0x108cc1(0x17a)]-0x1,_0x1316b2;_0x4ce84a>=0x0;_0x4ce84a--)(_0x1316b2=_0x4d84e4[_0x4ce84a])&&(_0x1ba7db=_0x1316b2(_0x1ba7db)||_0x1ba7db);return _0x1ba7db;},Te=(_0x1d377d,_0x52b0c3)=>(_0x1d0948,_0xf773ad)=>_0x52b0c3(_0x1d0948,_0xf773ad,_0x1d377d);let at=class extends _0xf5cf87{constructor(_0x30a155,_0x934f0e,_0x4125bd){const _0x44f851=_0x43bb79;super(),this[_0x44f851(0x1d0)]=_0x30a155,this[_0x44f851(0x149)]=_0x934f0e,this[_0x44f851(0x172)]=_0x4125bd;}async[_0x43bb79(0x18f)](_0xfabe9d,_0x2c4c46,_0x357142,..._0x499358){const _0x4d3bf1=_0x43bb79;var _0x4d4cd1,_0x2fa253,_0x25ca2c,_0x1fb31e;const _0x555ddc=this[_0x4d3bf1(0x1d0)][_0x4d3bf1(0x306)]();if(!_0x555ddc)throw new Error(_0x4d3bf1(0x285));const _0x19b8d2=((_0x4d4cd1=this['_configService'][_0x4d3bf1(0x192)](_0x220169))!=null?_0x4d4cd1:_0x1bf535)+'/'+_0xfabe9d+_0x4d3bf1(0x307)+_0x2c4c46,_0x240385=new URL(window['location']['href']),_0x2d6e9a={'scriptId':_0xfabe9d,'runId':(_0x2fa253=_0x240385[_0x4d3bf1(0x23a)][_0x4d3bf1(0x2dd)](_0x4d3bf1(0x1b0)))!=null?_0x2fa253:'','function':_0x2c4c46,'unitId':_0x555ddc[_0x4d3bf1(0x231)](),'argsOfFunction':JSON[_0x4d3bf1(0x243)](_0x499358),'invokeId':(_0x25ca2c=_0x357142[_0x4d3bf1(0x1df)])!=null?_0x25ca2c:'','executionId':(_0x1fb31e=_0x357142['executionId'])!=null?_0x1fb31e:''};try{const _0x3b9dec=await this[_0x4d3bf1(0x149)][_0x4d3bf1(0x24a)](_0x19b8d2,{'body':_0x2d6e9a});return _0x3b9dec[_0x4d3bf1(0x28e)]['error']&&_0x3b9dec[_0x4d3bf1(0x28e)][_0x4d3bf1(0x31e)][_0x4d3bf1(0x24d)]!==Ut['OK']?_0x4d3bf1(0x220):_0x3b9dec['body'][_0x4d3bf1(0x272)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x30bd00),Te(0x1,_0x502d14(_0x23a096)),Te(0x2,_0x37fa78)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x254dd6=_0x1a18;(function(_0x5bc43f,_0xdea519){const _0x4d85bd=_0x1a18,_0x35e96f=_0x5bc43f();while(!![]){try{const _0x3a69b8=parseInt(_0x4d85bd(0x2b6))/0x1*(parseInt(_0x4d85bd(0x25d))/0x2)+parseInt(_0x4d85bd(0x22b))/0x3+parseInt(_0x4d85bd(0xf0))/0x4+parseInt(_0x4d85bd(0xf1))/0x5*(-parseInt(_0x4d85bd(0x1b3))/0x6)+-parseInt(_0x4d85bd(0x11a))/0x7*(-parseInt(_0x4d85bd(0x173))/0x8)+parseInt(_0x4d85bd(0x196))/0x9*(-parseInt(_0x4d85bd(0x265))/0xa)+parseInt(_0x4d85bd(0x131))/0xb;if(_0x3a69b8===_0xdea519)break;else _0x35e96f['push'](_0x35e96f['shift']());}catch(_0x3450c0){_0x35e96f['push'](_0x35e96f['shift']());}}}(_0x4842,0x6e2de));var kt=Object[_0x254dd6(0x2bf)],Bt=(_0x58d808,_0x5cef12,_0x48144a)=>_0x5cef12 in _0x58d808?kt(_0x58d808,_0x5cef12,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48144a}):_0x58d808[_0x5cef12]=_0x48144a,h=(_0x2fa66b,_0xb60dd2,_0x1a473b)=>Bt(_0x2fa66b,typeof _0xb60dd2!='symbol'?_0xb60dd2+'':_0xb60dd2,_0x1a473b);import{MemberService as _0x217b61,SessionStatus as _0x2567af,CollaborationSessionService as _0x59f118,CollaborationStatus as _0xee00ed,CollaborationController as _0x32f724,ILocalCacheService as _0x5cf72e,CollaborationUIEventService as _0x4cb544,CollaborationUIEventId as _0x1b5eb0,DataLoaderService as _0x57a8f9,DocCollaborationEntity as _0x5bc4bc,getLocalCacheKey as _0xdd96af,LOCAL_CACHE_INTERVAL as _0x46d8ba,LOCAL_CACHE_INTERVAL_KEY as _0xbecbae,UniverCollaborationClientPlugin as _0x418593,CollaborationSocketService as _0x1ac233,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x32eecf,DEFAULT_WS_SESSION_TICKET_URL as _0x209df0,UnitStatus as _0x436a55,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x681efc,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x52ac97}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3114f0,Disposable as _0x13b31d,DOC_RANGE_TYPE as _0x58b4cd,Inject as _0x1fe9bf,Injector as _0x1ef8fa,IUniverInstanceService as _0x5d3182,ICommandService as _0x17137b,debounce as _0x13d619,Rectangle as _0x138b60,DisposableCollection as _0x360b26,toDisposable as _0x444d87,UniverInstanceType as _0x18724c,Tools as _0x1589f5,COLORS as _0x2525d1,ColorKit as _0x2c3352,ThemeService as _0x3d323b,fromEventSubject as _0x25cb53,LocaleService as _0x53dc03,createIdentifier as _0x54bd59,ILogService as _0x12ec0c,Optional as _0x4beb0b,Workbook as _0x3db73e,CommandType as _0x14cec7,IConfigService as _0x14b648,ILocalStorageService as _0x5122c0,DependentOn as _0x40cda0,Plugin as _0x380430,merge as _0xf75b00,registerDependencies as _0x2bccfd,mergeOverrideWithDependencies as _0xec91eb,touchDependencies as _0x49b911,generateRandomId as _0x7c84c4}from'@univerjs/core';function _0x1a18(_0x14a476,_0x40f2bd){const _0x4842a3=_0x4842();return _0x1a18=function(_0x1a18b4,_0x3ed6ab){_0x1a18b4=_0x1a18b4-0xe2;let _0x31331=_0x4842a3[_0x1a18b4];return _0x31331;},_0x1a18(_0x14a476,_0x40f2bd);}import{Shape as _0x4663cd,Rect as _0xd5080b,getColor as _0x2e7cb4,RegularPolygon as _0xee76a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c715f,Vector2 as _0x8b69fb,SHEET_VIEWPORT_KEY as _0x360176,IRenderManagerService as _0x4b8867}from'@univerjs/engine-render';import{ISocketService as _0x122748,WebSocketService as _0x1119e7,HTTPService as _0x313693}from'@univerjs/network';import{IDocClipboardService as _0x5cb8cb,NodePositionConvertToCursor as _0x7b6f6a,NodePositionConvertToRectRange as _0x1b1c87,TEXT_RANGE_LAYER_INDEX as _0xd65620,SetDocZoomRatioOperation as _0x4e207a,DocIMEInputManagerService as _0x59314d,DocStateChangeManagerService as _0xdd8c19}from'@univerjs/docs-ui';import{IImageIoService as _0x4ce611}from'@univerjs/drawing';import{BehaviorSubject as _0x178130,debounceTime as _0x47ef18,takeUntil as _0x2515d3,Subject as _0x413cd5,filter as _0xaa6a86,switchMap as _0x5a2c79,merge as _0x418a34,combineLatest as _0x120b2f,of as _0x3085ce,fromEvent as _0x3a13d2,shareReplay as _0x3c7d0e,mapTo as _0x40e4dd,distinctUntilChanged as _0x4aad3c}from'rxjs';import{SetTextSelectionsOperation as _0x2eea5a,RichTextEditingMutation as _0x306f75,DocSelectionManagerService as _0x5f2b61,DocSkeletonManagerService as _0x3ad5a6}from'@univerjs/docs';import{ITransformService as _0xbe6581,CollaborationEvent as _0x654f33,isTransformMutationFailure as _0x428f2f,isTransformMutationsWithChangesetSuccess as _0x4eb3ba,RevisionService as _0x53939e,ISnapshotServerService as _0x399ebe}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1d0b38,serializeRangeWithSheet as _0x2ab9cc}from'@univerjs/engine-formula';import{RefRangeService as _0x1cc1dd,SetSelectionsOperation as _0x32844e,SheetsSelectionsService as _0x1a5ce1,EffectRefRangId as _0x1b9f54,handleIRemoveRow as _0x345c7a,handleIRemoveCol as _0x5e2aa2,handleMoveRange as _0x5c8fc8,handleInsertRow as _0x45e148,handleInsertRangeMoveRight as _0x5073c7,handleInsertRangeMoveDown as _0x591e4c,handleInsertCol as _0x4eb22d,handleDeleteRangeMoveUp as _0x53a50b,handleDeleteRangeMoveLeft as _0x76de34,runRefRangeMutations as _0x8000b1,SetWorksheetActivateCommand as _0x1bd38a}from'@univerjs/sheets';import{map as _0x4ad0ac,filter as _0x3eae2e,throttleTime as _0x4172b9,takeUntil as _0x4106ae,switchMap as _0x1d4f47}from'rxjs/operators';import{SheetSkeletonManagerService as _0x212217,getCoordByCell as _0x59a228,getSheetObject as _0x4f95c2}from'@univerjs/sheets-ui';import{jsx as _0x11a52d,jsxs as _0x5d2971}from'react/jsx-runtime';import{useObservable as _0x186802,useDependency as _0x1fb475,IUIPartsService as _0x5cb4c3,BuiltInUIPart as _0x20cb2d,connectInjector as _0x5f00f9,IBeforeCloseService as _0x2047ff,IMessageService as _0x37f15d,INotificationService as _0xe3aff}from'@univerjs/ui';import{clsx as _0xf9d0a2,Tooltip as _0x1f3fd7,MessageType as _0x40fed7}from'@univerjs/design';import{forwardRef as _0x4a5d7a,useRef as _0x4dd263,createElement as _0x30cf05,useCallback as _0xae6fc9}from'react';import{IRemoteInstanceService as _0x49f88d}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],hi=(_0x577768,_0x4f35a3,_0x52aafd,_0x19565d)=>{for(var _0x26d667=_0x19565d>0x1?void 0x0:_0x19565d?li(_0x4f35a3,_0x52aafd):_0x4f35a3,_0x5906fe=_0x577768['length']-0x1,_0x872bcb;_0x5906fe>=0x0;_0x5906fe--)(_0x872bcb=_0x577768[_0x5906fe])&&(_0x26d667=_0x872bcb(_0x26d667)||_0x26d667);return _0x26d667;},Qe=(_0x11c9f3,_0x22826e)=>(_0x3bcf67,_0x5932ea)=>_0x22826e(_0x3bcf67,_0x5932ea,_0x11c9f3);let Pe=class extends _0x3114f0{constructor(_0x4d42d5,_0x17e5a8){const _0x359ef8=_0x254dd6;super(),this[_0x359ef8(0x129)]=_0x4d42d5,this[_0x359ef8(0x2c4)]=_0x17e5a8,this[_0x359ef8(0x231)]();}['_init'](){const _0x465596=_0x254dd6,_0x582c9d=this;this[_0x465596(0x1dc)](this[_0x465596(0x129)][_0x465596(0x263)]({'onBeforePasteImage':async _0x6b7fef=>{const _0x27634f=_0x465596,_0x5d0866=await _0x582c9d[_0x27634f(0x2c4)]['saveImage'](_0x6b7fef);return _0x5d0866?{'source':_0x5d0866[_0x27634f(0x22c)],'imageSourceType':_0x5d0866[_0x27634f(0x240)]}:null;}}));}};Pe=hi([Qe(0x0,_0x5cb8cb),Qe(0x1,_0x4ce611)],Pe);const qe=[_0x254dd6(0x14e),'jiqing500',_0x254dd6(0x19b),_0x254dd6(0x2b3),'blue400',_0x254dd6(0x247)];class He extends _0x13b31d{constructor(){const _0x51fe4f=_0x254dd6;super(...arguments),h(this,_0x51fe4f(0x28f),new Map()),h(this,_0x51fe4f(0x2af),0x0);}[_0x254dd6(0x27b)](_0x4c6df4){const _0x3c65f1=_0x254dd6;if(this[_0x3c65f1(0x28f)][_0x3c65f1(0x20a)](_0x4c6df4))return this['_assignedColors'][_0x3c65f1(0x29f)](_0x4c6df4);const _0x4f5294=qe[this[_0x3c65f1(0x2af)]];return this[_0x3c65f1(0x2af)]=(this[_0x3c65f1(0x2af)]+0x1)%qe[_0x3c65f1(0x23b)],this['_assignedColors'][_0x3c65f1(0x287)](_0x4c6df4,_0x4f5294),_0x4f5294;}}function Dt(_0x2d920e){const _0x53a645=_0x254dd6;let _0x1b3128='';for(const _0x10e4fb of _0x2d920e){const {startOffset:_0x1c3922,endOffset:_0x118fe7,isActive:_0x32b8f6,rangeType:_0x36cf57,segmentId:_0x429c2d,segmentPage:_0x34f904}=_0x10e4fb;_0x1b3128[_0x53a645(0x23b)]&&(_0x1b3128+=','),_0x1b3128+=_0x1c3922+':'+_0x118fe7+':'+(_0x32b8f6?'1':'0')+':'+_0x36cf57+':'+_0x429c2d+':'+_0x34f904;}return _0x1b3128;}function _i(_0x465ea3){const _0x31010d=_0x254dd6,_0x1be941=_0x465ea3[_0x31010d(0x27e)](','),_0x20d56d=[];for(const _0x41198c of _0x1be941){const [_0x23a54b,_0x36ec65,_0x2936c3,_0x20f3f8,_0x348b2f,_0x18c4c6]=_0x41198c[_0x31010d(0x27e)](':');_0x20d56d['push']({'startOffset':Number(_0x23a54b),'endOffset':Number(_0x36ec65),'collapsed':_0x23a54b===_0x36ec65,'isActive':_0x2936c3==='1','rangeType':_0x20f3f8===_0x58b4cd['TEXT']?_0x58b4cd['TEXT']:_0x58b4cd[_0x31010d(0x16d)],'segmentId':typeof _0x348b2f==_0x31010d(0x16b)?String(_0x348b2f):'','segmentPage':Number(_0x18c4c6!=null?_0x18c4c6:-0x1)});}return _0x20d56d[_0x31010d(0x235)](_0x4293d4=>_0x4293d4['isActive'])||(_0x20d56d[0x0]['isActive']=!0x0),_0x20d56d;}class je extends _0x3114f0{constructor(){const _0x2a35c5=_0x254dd6;super(...arguments),h(this,_0x2a35c5(0x185),new _0x178130(null)),h(this,_0x2a35c5(0x188),this[_0x2a35c5(0x185)]['asObservable']());}[_0x254dd6(0x2c1)](_0x1cc4e2){const _0x1ccc79=_0x254dd6,{unitID:_0xcdbdf5,memberID:_0x18ceda,textRanges:_0x4d01af}=_0x1cc4e2,_0x1556ee=Dt(_0x4d01af);if(_0x1556ee==='')return;const _0xca2b1d={'unitID':_0xcdbdf5,'memberID':_0x18ceda,'selection':_0x1556ee};this['_collabCursorState$'][_0x1ccc79(0x1ad)](_0xca2b1d);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x21d987,_0x2ac2fc,_0x14007a,_0x58b6fa)=>{const _0x508df3=_0x254dd6;for(var _0x4f50b9=_0x58b6fa>0x1?void 0x0:_0x58b6fa?ui(_0x2ac2fc,_0x14007a):_0x2ac2fc,_0x4b3917=_0x21d987[_0x508df3(0x23b)]-0x1,_0x3e26b2;_0x4b3917>=0x0;_0x4b3917--)(_0x3e26b2=_0x21d987[_0x4b3917])&&(_0x4f50b9=_0x3e26b2(_0x4f50b9)||_0x4f50b9);return _0x4f50b9;},U=(_0x3931be,_0x4d7731)=>(_0x1c5adf,_0x1236ca)=>_0x4d7731(_0x1c5adf,_0x1236ca,_0x3931be);const fi=0x12c,Si=0x64;let Me=class extends _0x3114f0{constructor(_0x1bd660,_0x52641d,_0xf6021f,_0x358a44,_0x195f53,_0x5a2f35,_0x2b2a69,_0x50782e,_0x555b93){const _0x1c8940=_0x254dd6;super(),h(this,'_online',!0x1),h(this,_0x1c8940(0x231),!0x1),h(this,_0x1c8940(0x29e),new _0x178130(new Map())),h(this,_0x1c8940(0x22a),this[_0x1c8940(0x29e)][_0x1c8940(0x183)]()),h(this,_0x1c8940(0xf8),new _0x178130([])),h(this,'roomMembers$',this['_roomMembers$'][_0x1c8940(0x163)](_0x47ef18(fi))),h(this,_0x1c8940(0x266),_0x13d619(_0x2bf62f=>{const _0x4092de=_0x1c8940,_0x1fc15d={'eventID':_0x654f33[_0x4092de(0x1eb)],'data':{'unitID':this[_0x4092de(0x10b)],'memberID':this[_0x4092de(0x2d1)]['getMemberID'](),'selection':Dt(_0x2bf62f)}};this['_session']['send'](_0x1fc15d,this[_0x4092de(0x10b)]);},Si)),(this['unitID']=_0x1bd660,this[_0x1c8940(0x2d1)]=_0x52641d,this[_0x1c8940(0x25e)]=_0xf6021f,this['_colorAssignService']=_0x358a44,this[_0x1c8940(0xef)]=_0x195f53,this[_0x1c8940(0x1e8)]=_0x5a2f35,this['_transformService']=_0x2b2a69,this['_univerInstanceService']=_0x50782e,this[_0x1c8940(0xe7)]=_0x555b93);}get[_0x254dd6(0x18d)](){return this['_cursorInfo$']['getValue']();}get[_0x254dd6(0x121)](){const _0x329b39=_0x254dd6;return this[_0x329b39(0xf8)]['getValue']();}[_0x254dd6(0x105)](){const _0x2a5a0d=_0x254dd6;super['dispose'](),this[_0x2a5a0d(0x29e)][_0x2a5a0d(0x1ad)](new Map()),this[_0x2a5a0d(0x29e)]['complete'](),this[_0x2a5a0d(0xf8)][_0x2a5a0d(0x1ad)]([]),this[_0x2a5a0d(0xf8)][_0x2a5a0d(0x26c)]();}[_0x254dd6(0x147)](){const _0xb8529a=_0x254dd6;this[_0xb8529a(0x231)]||(this[_0xb8529a(0x231)]=!0x0,this[_0xb8529a(0x2d1)]['sessionStatus$'][_0xb8529a(0x163)](_0x2515d3(this[_0xb8529a(0x1f7)]))[_0xb8529a(0x179)](_0x1d25ab=>{const _0x34eb23=_0xb8529a;_0x1d25ab===_0x2567af[_0x34eb23(0x17b)]?this[_0x34eb23(0xf3)]():this[_0x34eb23(0x2ba)]();}),this[_0xb8529a(0x2d1)]['event$']['pipe'](_0x2515d3(this[_0xb8529a(0x1f7)]))['subscribe'](_0x297a10=>{const _0x3d3dfe=_0xb8529a,_0x37ef8c=_0x297a10[_0x3d3dfe(0x17f)];_0x37ef8c===_0x654f33[_0x3d3dfe(0x1eb)]&&this['_onCursorUpdate'](_0x297a10),_0x37ef8c===_0x654f33['USERS_LEAVE']&&this['_onCursorDelete'](_0x297a10);}),this[_0xb8529a(0x1dc)](this[_0xb8529a(0xe7)][_0xb8529a(0x12a)](_0x4ac0e0=>{const _0x5e24a1=_0xb8529a,_0xb09284=_0x4ac0e0[_0x5e24a1(0x253)];_0xb09284!=null&&this[_0x5e24a1(0x1a2)]&&_0x4ac0e0['id']===_0x2eea5a['id']&&_0xb09284['unitId']===this[_0x5e24a1(0x10b)]&&_0xb09284[_0x5e24a1(0x125)]===!0x1&&_0xb09284[_0x5e24a1(0x2d9)][_0x5e24a1(0x23b)]>0x0&&this['_updateLocalCursor'](_0xb09284['ranges']);})),this[_0xb8529a(0x1e8)]['collabCursorState$'][_0xb8529a(0x163)](_0x2515d3(this[_0xb8529a(0x1f7)]))[_0xb8529a(0x179)](_0x1a4633=>{const _0x254b3c=_0xb8529a;if((_0x1a4633==null?void 0x0:_0x1a4633[_0x254b3c(0x10b)])!==this[_0x254b3c(0x10b)])return;const _0x1b89f8={'eventID':_0x654f33[_0x254b3c(0x1eb)],'data':_0x1a4633};this['_onCursorUpdate'](_0x1b89f8);}),this['disposeWithMe'](this[_0xb8529a(0xe7)][_0xb8529a(0x12a)](_0xae7d9=>{const _0xcf9fce=_0xb8529a;if(_0xae7d9[_0xcf9fce(0x253)]==null)return;const _0x4c4ed8=_0xae7d9[_0xcf9fce(0x253)];if(_0xae7d9['id']!==_0x306f75['id']||_0x4c4ed8[_0xcf9fce(0x2b5)]!==this[_0xcf9fce(0x10b)])return;const _0x345ee4={'id':'doc.mutation.rich-text-editing','params':_0x4c4ed8},_0x22d803=this['cursorInfo'];for(const [_0x336243,_0x3406fb]of _0x22d803){const _0x374450={'id':_0xcf9fce(0xfa),'params':{'unitId':this[_0xcf9fce(0x10b)],'actions':null,'textRanges':_0x3406fb['ranges']}},_0x3f78ae=this[_0xcf9fce(0x168)][_0xcf9fce(0x1f4)](_0x345ee4,_0x374450,!0x1);if(_0x428f2f(_0x3f78ae))throw _0x3f78ae[_0xcf9fce(0x14c)];_0x22d803[_0xcf9fce(0x287)](_0x336243,{..._0x3406fb,'ranges':_0x3f78ae['m2Prime'][_0xcf9fce(0x253)][_0xcf9fce(0x18b)]});}queueMicrotask(()=>{const _0x57d6a8=_0xcf9fce;this[_0x57d6a8(0x29e)][_0x57d6a8(0x1ad)](_0x22d803);});})));}[_0x254dd6(0x157)](_0x798e5a){const _0x46f43a=_0x254dd6;var _0x44c548,_0x552991;const {memberID:_0x328b44,selection:_0x5a6c4c}=_0x798e5a[_0x46f43a(0x1b7)],_0x7ac013=_i(_0x5a6c4c),_0x225234=(_0x552991=(_0x44c548=this[_0x46f43a(0xef)][_0x46f43a(0x2bc)](this[_0x46f43a(0x10b)],_0x328b44))==null?void 0x0:_0x44c548[_0x46f43a(0x2a7)])!=null?_0x552991:_0x46f43a(0x1bf),_0x1d0a2a={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x328b44),'name':_0x225234,'ranges':_0x7ac013},_0x2ab6c6=this[_0x46f43a(0x18d)];_0x2ab6c6[_0x46f43a(0x287)](_0x328b44,_0x1d0a2a),this['_cursorInfo$'][_0x46f43a(0x1ad)](_0x2ab6c6);}[_0x254dd6(0x18e)](_0x40dc69){const _0x1cd98e=_0x254dd6,{memberID:_0x5d2e59}=_0x40dc69[_0x1cd98e(0x1b7)],_0x182d37=this['cursorInfo'];_0x182d37['delete'](_0x5d2e59),this[_0x1cd98e(0x29e)]['next'](_0x182d37);}[_0x254dd6(0xf3)](){const _0x38961d=_0x254dd6;var _0x56adc0;if(this[_0x38961d(0x1a2)]=!0x0,((_0x56adc0=this['_univerInstanceService'][_0x38961d(0x14a)]())==null?void 0x0:_0x56adc0[_0x38961d(0x252)]())!==this[_0x38961d(0x10b)])return;const _0x3b3b79=this['_injector'][_0x38961d(0x29f)](_0x5f2b61)[_0x38961d(0x138)]();Array[_0x38961d(0x2d8)](_0x3b3b79)&&_0x3b3b79[_0x38961d(0x23b)]>0x0&&this[_0x38961d(0x266)](_0x3b3b79);}['_toggleOffline'](){const _0x1dd26d=_0x254dd6;this[_0x1dd26d(0x1a2)]=!0x1;}};Me=di([U(0x2,_0x1fe9bf(_0x1ef8fa)),U(0x3,_0x1fe9bf(He)),U(0x4,_0x1fe9bf(_0x217b61)),U(0x5,_0x1fe9bf(je)),U(0x6,_0xbe6581),U(0x7,_0x5d3182),U(0x8,_0x17137b)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x16e438,_0x48e3d6,_0x32686d,_0x2d88f3)=>{const _0x199c17=_0x254dd6;for(var _0x39765f=_0x2d88f3>0x1?void 0x0:_0x2d88f3?mi(_0x48e3d6,_0x32686d):_0x48e3d6,_0x25d9da=_0x16e438[_0x199c17(0x23b)]-0x1,_0x3f3333;_0x25d9da>=0x0;_0x25d9da--)(_0x3f3333=_0x16e438[_0x25d9da])&&(_0x39765f=_0x3f3333(_0x39765f)||_0x39765f);return _0x39765f;},x=(_0x5ceb74,_0x56dfe5)=>(_0x483ff5,_0xa5d0bb)=>_0x56dfe5(_0x483ff5,_0xa5d0bb,_0x5ceb74);const vi=0x12c,Ii=0x64,pi=()=>{let _0x265b7d=[],_0x5c447a=!0x1;return _0x577893=>{_0x265b7d['push'](_0x577893),_0x5c447a||(_0x5c447a=!0x0,setTimeout(()=>{_0x265b7d['forEach'](_0x5121fa=>_0x5121fa()),_0x265b7d=[],_0x5c447a=!0x1;}));};};let we=class extends _0x3114f0{constructor(_0x38085f,_0x10f9fc,_0x3a4ccd,_0x5edc17,_0x39da5b,_0x1c36e5,_0x42e0d7,_0x398284){const _0x2dd5dc=_0x254dd6;super(),h(this,_0x2dd5dc(0x1a2),!0x1),h(this,_0x2dd5dc(0x231),!0x1),h(this,_0x2dd5dc(0x29e),new _0x178130(new Map())),h(this,_0x2dd5dc(0x22a),this['_cursorInfo$'][_0x2dd5dc(0x183)]()),h(this,_0x2dd5dc(0xf8),new _0x178130([])),h(this,_0x2dd5dc(0x156),this[_0x2dd5dc(0xf8)][_0x2dd5dc(0x163)](_0x47ef18(vi))),h(this,_0x2dd5dc(0x266),_0x13d619((_0xbc82ef,_0xf5a137)=>{const _0x594f0e=_0x2dd5dc,_0x232a72={'eventID':_0x654f33[_0x594f0e(0x1eb)],'data':{'unitID':this[_0x594f0e(0x10b)],'memberID':this['_session'][_0x594f0e(0x269)](),'selection':_0x2ab9cc(_0xbc82ef,_0xf5a137['range'])}};this[_0x594f0e(0x2d1)]['send'](_0x232a72,this[_0x594f0e(0x10b)]);},Ii)),(this[_0x2dd5dc(0x10b)]=_0x38085f,this[_0x2dd5dc(0x2d1)]=_0x10f9fc,this['_injector']=_0x3a4ccd,this['_colorAssignService']=_0x5edc17,this[_0x2dd5dc(0xef)]=_0x39da5b,this['_univerInstanceService']=_0x1c36e5,this[_0x2dd5dc(0xe7)]=_0x42e0d7,this[_0x2dd5dc(0x251)]=_0x398284);}get['cursorInfo'](){const _0x495dc0=_0x254dd6;return this['_cursorInfo$'][_0x495dc0(0x275)]();}get[_0x254dd6(0x121)](){const _0x497364=_0x254dd6;return this[_0x497364(0xf8)]['getValue']();}[_0x254dd6(0x105)](){const _0xdbf8e3=_0x254dd6;super[_0xdbf8e3(0x105)](),this[_0xdbf8e3(0x29e)][_0xdbf8e3(0x1ad)](new Map()),this[_0xdbf8e3(0x29e)][_0xdbf8e3(0x26c)](),this[_0xdbf8e3(0xf8)]['next']([]),this['_roomMembers$']['complete']();}[_0x254dd6(0x147)](){const _0x213ffa=_0x254dd6;this[_0x213ffa(0x231)]||(this[_0x213ffa(0x231)]=!0x0,this[_0x213ffa(0x2d1)][_0x213ffa(0x180)][_0x213ffa(0x163)](_0x2515d3(this[_0x213ffa(0x1f7)]))[_0x213ffa(0x179)](_0xc887df=>{const _0xd0df62=_0x213ffa;_0xc887df===_0x2567af['ONLINE']?this[_0xd0df62(0xf3)]():this[_0xd0df62(0x2ba)]();}),this[_0x213ffa(0x2d1)][_0x213ffa(0x2b1)][_0x213ffa(0x163)](_0x2515d3(this[_0x213ffa(0x1f7)]))['subscribe'](_0x3319ea=>{const _0x58cc42=_0x213ffa,_0xae401=_0x3319ea[_0x58cc42(0x17f)];_0xae401===_0x654f33['UPDATE_CURSOR']&&this[_0x58cc42(0x157)](_0x3319ea),_0xae401===_0x654f33[_0x58cc42(0x27f)]&&this[_0x58cc42(0x18e)](_0x3319ea);}),this[_0x213ffa(0x278)](),this[_0x213ffa(0x1dc)](this['_commandService'][_0x213ffa(0x12a)](_0x572022=>{const _0x218885=_0x213ffa;if(this[_0x218885(0x1a2)]&&_0x572022['id']===_0x32844e['id']&&_0x572022['params'][_0x218885(0x2b5)]===this[_0x218885(0x10b)]){const _0x460110=_0x572022[_0x218885(0x253)];this[_0x218885(0x266)](_0x460110[_0x218885(0x150)],_0x460110['selections'][0x0]);}})));}[_0x254dd6(0x157)](_0x174682){const _0xe3fc1c=_0x254dd6;var _0x2ba1ed,_0x49e0a4;const {memberID:_0x4221aa,selection:_0x311c0b}=_0x174682[_0xe3fc1c(0x1b7)],{sheetName:_0x37fcdb,range:_0x25b7ad}=_0x1d0b38(_0x311c0b),_0x333a7d={'name':(_0x49e0a4=(_0x2ba1ed=this['_memberService'][_0xe3fc1c(0x2bc)](this[_0xe3fc1c(0x10b)],_0x4221aa))==null?void 0x0:_0x2ba1ed['name'])!=null?_0x49e0a4:_0xe3fc1c(0x1bf),'range':this[_0xe3fc1c(0x241)](_0x37fcdb,_0x25b7ad),'sheetID':_0x37fcdb,'color':this[_0xe3fc1c(0x210)]['assignAColorForMemberID'](_0x4221aa),'selection':_0x311c0b},_0x1daf52=this['cursorInfo'];_0x1daf52[_0xe3fc1c(0x287)](_0x4221aa,_0x333a7d),this[_0xe3fc1c(0x29e)]['next'](_0x1daf52);}[_0x254dd6(0x18e)](_0x6a7481){const _0x51c8f1=_0x254dd6,{memberID:_0x44bb09}=_0x6a7481[_0x51c8f1(0x1b7)],_0x4be5ae=this[_0x51c8f1(0x18d)];_0x4be5ae[_0x51c8f1(0x276)](_0x44bb09),this[_0x51c8f1(0x29e)][_0x51c8f1(0x1ad)](_0x4be5ae);}['_getMergeRange'](_0x2bf75f,_0x494873){const _0x32ea78=_0x254dd6;var _0x201cd5,_0x84a816;const _0x466b17=(_0x84a816=(_0x201cd5=this[_0x32ea78(0x223)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x201cd5['getSheetBySheetId'](_0x2bf75f))==null?void 0x0:_0x84a816[_0x32ea78(0x2bd)]();return(_0x466b17==null?void 0x0:_0x466b17[_0x32ea78(0x1b6)](_0x6012d4=>_0x138b60[_0x32ea78(0x2c3)](_0x6012d4,_0x494873)))||_0x494873;}[_0x254dd6(0x278)](){const _0x1f0558=_0x254dd6,_0x35a06e=new _0x360b26(),_0x8c7474=pi(),_0x30b60e=()=>{const _0x525c1a=_0x1a18;_0x35a06e[_0x525c1a(0x105)]();const _0x4c4413=(_0x2c16f2,_0x194474,_0x29ef68,_0x575cf9)=>{const _0x3b9b03=_0x525c1a;let _0x2585af=[];switch(_0x2c16f2['id']){case _0x1b9f54['DeleteRangeMoveLeftCommandId']:{_0x2585af=_0x76de34(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x11d)]:{_0x2585af=_0x53a50b(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x104)]:{_0x2585af=_0x4eb22d(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x148)]:{_0x2585af=_0x591e4c(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x23f)]:{_0x2585af=_0x5073c7(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x132)]:{_0x2585af=_0x45e148(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0xfb)]:{_0x2585af=_0x5c8fc8(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54['RemoveColCommandId']:{_0x2585af=_0x5e2aa2(_0x2c16f2,_0x575cf9);break;}case _0x1b9f54[_0x3b9b03(0x23a)]:{_0x2585af=_0x345c7a(_0x2c16f2,_0x575cf9);break;}}const _0x2fcee9=_0x8000b1(_0x2585af,_0x575cf9),_0x39e168=this['cursorInfo'][_0x3b9b03(0x29f)](_0x194474);if(_0x39e168&&_0x2fcee9){const _0x167edb={..._0x39e168,'range':_0x2fcee9};this[_0x3b9b03(0x18d)][_0x3b9b03(0x287)](_0x194474,_0x167edb),_0x8c7474(()=>{const _0x84a318=_0x3b9b03,_0x276772=this[_0x84a318(0x251)][_0x84a318(0x29c)](_0x2fcee9,_0x2d2a8a=>(_0x276772[_0x84a318(0x105)](),_0x4c4413(_0x2d2a8a,_0x194474,_0x29ef68,_0x2fcee9)));_0x35a06e[_0x84a318(0x261)](_0x276772);});}return{'redos':[],'undos':[]};};this[_0x525c1a(0x18d)]['forEach']((_0x254b3b,_0x4f429a)=>{const _0xa22138=_0x525c1a,{range:_0x5ea3cc,sheetID:_0x29b100}=_0x254b3b,_0x1682c2=this[_0xa22138(0x251)][_0xa22138(0x29c)](_0x5ea3cc,_0xac293b=>(_0x1682c2['dispose'](),_0x4c4413(_0xac293b,_0x4f429a,_0x29b100,_0x5ea3cc)));_0x35a06e[_0xa22138(0x261)](_0x1682c2);});};this[_0x1f0558(0x1dc)](_0x444d87(this[_0x1f0558(0x29e)]['subscribe'](()=>{_0x30b60e();})));}[_0x254dd6(0xf3)](){const _0xcf551f=_0x254dd6;var _0x4c7960,_0x4ead24;if(this[_0xcf551f(0x1a2)]=!0x0,((_0x4c7960=this[_0xcf551f(0x223)]['getFocusedUnit']())==null?void 0x0:_0x4c7960[_0xcf551f(0x252)]())!==this[_0xcf551f(0x10b)])return;const _0x40b62b=(_0x4ead24=this['_injector'][_0xcf551f(0x29f)](_0x1a5ce1)[_0xcf551f(0x1cf)]())==null?void 0x0:_0x4ead24[0x0],_0x3b01d0=this[_0xcf551f(0x223)][_0xcf551f(0x22e)](_0x18724c[_0xcf551f(0x24b)])[_0xcf551f(0x10a)]();_0x40b62b&&_0x3b01d0&&this[_0xcf551f(0x266)](_0x3b01d0[_0xcf551f(0x17d)](),_0x40b62b);}[_0x254dd6(0x2ba)](){const _0x16a794=_0x254dd6;this[_0x16a794(0x1a2)]=!0x1;}};we=gi([x(0x2,_0x1fe9bf(_0x1ef8fa)),x(0x3,_0x1fe9bf(He)),x(0x4,_0x1fe9bf(_0x217b61)),x(0x5,_0x5d3182),x(0x6,_0x17137b),x(0x7,_0x1fe9bf(_0x1cc1dd))],we);var Ci=Object['getOwnPropertyDescriptor'],bi=(_0x3f4634,_0x4acb3d,_0x24bd7d,_0x4f9574)=>{const _0x4064fd=_0x254dd6;for(var _0x11276d=_0x4f9574>0x1?void 0x0:_0x4f9574?Ci(_0x4acb3d,_0x24bd7d):_0x4acb3d,_0x183c43=_0x3f4634[_0x4064fd(0x23b)]-0x1,_0x4f3f2b;_0x183c43>=0x0;_0x183c43--)(_0x4f3f2b=_0x3f4634[_0x183c43])&&(_0x11276d=_0x4f3f2b(_0x11276d)||_0x11276d);return _0x11276d;},me=(_0x1c5be2,_0x1f2269)=>(_0x52ae9c,_0x2a5883)=>_0x1f2269(_0x52ae9c,_0x2a5883,_0x1c5be2);let H=class extends _0x3114f0{constructor(_0x4b77c8,_0x1cff4f,_0x56dc3a){const _0x287e26=_0x254dd6;super(),h(this,_0x287e26(0x186),new Map()),h(this,_0x287e26(0xe5),new _0x413cd5()),(this[_0x287e26(0x223)]=_0x4b77c8,this['_injector']=_0x1cff4f,this[_0x287e26(0x113)]=_0x56dc3a,this[_0x287e26(0x231)]());}['dispose'](){const _0x55aa7d=_0x254dd6;super[_0x55aa7d(0x105)](),this[_0x55aa7d(0xe5)][_0x55aa7d(0x26c)](),this[_0x55aa7d(0x186)][_0x55aa7d(0x1be)](_0x21dc4b=>_0x21dc4b['dispose']());}[_0x254dd6(0x128)](_0x59f65c){const _0x34bf55=_0x254dd6;return this['_entities']['has'](_0x59f65c)?this[_0x34bf55(0x186)][_0x34bf55(0x29f)](_0x59f65c)[_0x34bf55(0x22a)]:this[_0x34bf55(0xe5)][_0x34bf55(0x163)](_0xaa6a86(_0x354090=>_0x354090[_0x34bf55(0x10b)]===_0x59f65c),_0x5a2c79(_0x50eeef=>_0x50eeef['cursorInfo$']));}[_0x254dd6(0x231)](){const _0x21e9fc=_0x254dd6;this[_0x21e9fc(0x223)][_0x21e9fc(0x166)](_0x18724c[_0x21e9fc(0x24b)])[_0x21e9fc(0x163)](_0x2515d3(this[_0x21e9fc(0x1f7)]))[_0x21e9fc(0x179)](async _0x58ffa3=>{const _0x5d10d7=_0x21e9fc,_0x4ded07=_0x58ffa3[_0x5d10d7(0x252)](),_0x1bd44d=await this[_0x5d10d7(0x2cc)](_0x4ded07);this[_0x5d10d7(0xe5)][_0x5d10d7(0x1ad)](_0x1bd44d),this[_0x5d10d7(0x186)]['set'](_0x4ded07,_0x1bd44d);}),this['_univerInstanceService'][_0x21e9fc(0x166)](_0x18724c[_0x21e9fc(0xf2)])[_0x21e9fc(0x163)](_0x2515d3(this['dispose$']))[_0x21e9fc(0x163)](_0xaa6a86(_0x4273dd=>!_0x4273dd[_0x21e9fc(0x252)]()[_0x21e9fc(0x1b1)]('__')))[_0x21e9fc(0x179)](async _0x22e6a3=>{const _0x3af099=_0x21e9fc,_0x4adec5=_0x22e6a3['getUnitId'](),_0x50dcb5=await this[_0x3af099(0x23d)](_0x4adec5);this[_0x3af099(0xe5)][_0x3af099(0x1ad)](_0x50dcb5),this[_0x3af099(0x186)][_0x3af099(0x287)](_0x4adec5,_0x50dcb5);}),_0x418a34(this[_0x21e9fc(0x223)][_0x21e9fc(0x1c0)](_0x18724c[_0x21e9fc(0xf2)]),this['_univerInstanceService'][_0x21e9fc(0x1c0)](_0x18724c[_0x21e9fc(0x24b)]))[_0x21e9fc(0x163)](_0x2515d3(this[_0x21e9fc(0x1f7)]))[_0x21e9fc(0x179)](_0x51ecee=>{const _0x3814b4=_0x21e9fc,_0xded8a8=_0x51ecee[_0x3814b4(0x252)](),_0x22835d=this[_0x3814b4(0x186)][_0x3814b4(0x29f)](_0xded8a8);_0x22835d&&(_0x22835d[_0x3814b4(0x105)](),this[_0x3814b4(0x186)]['delete'](_0xded8a8));});}async['_startSheetCollabCursor'](_0x447f3b){const _0x35d731=_0x254dd6,_0x223bed=await this['_collabSessionService']['requireSession'](_0x447f3b),_0x20c5d2=this[_0x35d731(0x25e)]['createInstance'](we,_0x447f3b,_0x223bed);return _0x20c5d2[_0x35d731(0x147)](),_0x20c5d2;}async[_0x254dd6(0x23d)](_0x2e7fda){const _0x62f395=_0x254dd6,_0x9d2dd5=await this[_0x62f395(0x113)][_0x62f395(0x11b)](_0x2e7fda),_0x5c43d2=this[_0x62f395(0x25e)][_0x62f395(0x19f)](Me,_0x2e7fda,_0x9d2dd5);return _0x5c43d2[_0x62f395(0x147)](),_0x5c43d2;}};H=bi([me(0x0,_0x5d3182),me(0x1,_0x1fe9bf(_0x1ef8fa)),me(0x2,_0x1fe9bf(_0x59f118))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function _0x4842(){const _0x26c0ba=['Error','defIds','map','USER_NOT_INVITED_CODE','SNAPSHOT_INVALID_SNAPSHOT','permission.title','TOO_MANY_REQUESTS','_handleLeaveEvent','bottom','transformRemoteChangeset','location','getAncestorScale','_initStatusComponent','getCurrentSelections','_getSaveTimeout','includes','getUndoRedoMutationParamsCache','onPointerMove$','getParam','div','getOwnPropertySymbols','0\x200\x2016\x2016','_document','svg','font','makeDirty','disposeWithMe','ALREADY_EXISTS','use','entityInit$','concat','_hover','UNAUTHENTICATED','deepClone','fillRule','_drawRectRange','_ensureSubject','top','_syncEditingCollabCursorService','_status$','memberID','UPDATE_CURSOR','_render','_transformPreviousActiveRange','_instanceService','m1Prime','_configService','collaboration-client-ui.config','endRow','ENSURE_SNAPSHOT_EXECUTION','transformMutation','save','_textBubble','dispose$','_cursor','clipPath','_labelPosition','MUTATION','substring','call','lineTo','with','onLocalMutation','replaceDocRanges','toRgbString','_logService','CONFLICT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PENDING','_revisionService','univer-online-status','subunit','has','getSkeleton','show','href','_collabCursorController','getRangePointData','_colorAssignService','clearInterval','_saveCache','addObject','_dataLoaderService','_hideTimer','_handleJoinEvent','_cursors','addObjects','skeleton','_collaborationController','_context','_removeCollabCursors','collabStatus.syncing','mutations','collab-text-anchor-','onPointerLeave$','arc','whenReady','_univerInstanceService','_anchor','history','url(#$1','FromArray','type','_range','cursorInfo$','1247130lVcSIl','source','0\x200\x2017\x2016','getCurrentUnitForType','_scheduleHeartbeat','hovered','_init','LICENSE_DISTRO_REJECTED','collabStatus.fetchMiss','replace','some','newValue','actions','indexOf','_docTransformSelectionsService','RemoveRowCommandId','length','OnLineSingle','_startDocCollabCursor','className','InsertRangeMoveRightCommandId','imageSourceType','_getMergeRange','hide','all','getVpScrollXYInfoByPosToVp','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','gold400','generateRandomId','PY_RUNTIME_SCRIPT_ERROR','_localeService','UNIVER_SHEET','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','mask','runId','onlineStatus','_refRangeService','getUnitId','params','startRow','docStateChange$','on-line-single_clip0_910_349','_updateCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','clearTimeout','xlink:href','children','column','5768dfqziJ','_injector','hasOwnProperty','restore','add','univer-offline','addClipboardHook','_eventUnsubscribe','349390skzJSQ','_updateLocalCursor','INVITE_CODE_ALREADY_BOUND','prototype','getMemberID','currentColor','off-line-single_clip0_910_343','complete','subscribeEvent','getCollabEntity$','_registerRenderDependencies','getOwnPropertyDescriptor','_docTransformStateCacheService','CONNECTOR_DATA_TOO_LARGE','fillStyle','setStateCache','getValue','delete','_createSocketURL','_onRefRangeChange','runOnServer','rgba(255,\x20255,\x20255,\x200.01)','assignAColorForMemberID','unsubscribe','createSocket','split','USERS_LEAVE','APPLY_NON_SEQUENTIAL_REVISION','_refreshCollabCursors','FETCH_MISS','text','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','off-line-single','searchParams','set','setActiveRange','INVITE_CODE_REQUIRED','removeParam','_getScale','exhaustSavingTask','_httpService','enableLocalCache','_assignedColors','search','origin','transformByState','size','_send','_registerDependencies','entries','...','offline','YUUMI_SUBSCRIPTION_NOT_FOUND','uni.network.url-service','apply','registerRefRange','setUndoRedoMutationParamsCache','_cursorInfo$','get','getRenderById','OTHER_CLIENT_EDITING','fillText','unshift','Warning','onlineStatusTitle','#FFF','name','_saveTaskMap','_scheduleClearOtherTimer','url(#off-line-single_clip0_910_343)','getItem','univer-online-status-title','getCurrentRevOfUnit','assign','_colorIndex','replaceState','event$','loadUnit','red300','_selfUnitIDs','unitId','47PVwQza','_notificationService','univer-flex\x20univer-items-center','_initCommandExecutedListener','_toggleOffline','row','getMember','getMergeData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','defineProperty','_clearOtherTimers','syncEditingCollabCursor','_messageService','contains','_imageIoService','application/json','_docTransformIMECacheService','getRelativeToViewportCoord','onMouseMove','AWAITING','round','setItem','_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','onStarting','toString','status$','_session','evenodd','_lastPointer','redoState','backgroundColor','labelPosition','measureText','isArray','ranges','ACTIVE_UNIT_EVENT_CHANNEL','APPLY_REVISION_CONFILICT','transformIMECache','_disabled','collab-client.tooltip.reconnect','stringify','_entityInit$','displayName','_commandService','m2Prime','transformSelections','undoState','unload','collabStatus.notCollab','focused$','_id','_memberService','581192CDfpZy','76955uJIQcz','UNIVER_DOC','_toggleOnline','SUBMIT_CHANGESET_TIMEOUT','NOT_COLLAB','propertyIsEnumerable','translate(.97)','_roomMembers$','values','doc.mutation.rich-text-editing','MoveRangeCommandId','defs','_cachedData','1em','INVALID_ARGUMENT','_getSessionTicket','_drawAnchor','attrs','INVALID_INVITE_CODE','InsertColCommandId','dispose','collaboration.closeRoom','setAlpha','collab-rect-range-','_heartbeatTimer','getActiveSheet','unitID','_sheetSkeletonManagerService','activeSheet$','_urlService','resize','_docStateChangeManagerService','executionId','tag','_collabSessionService','_handleEvent','from','_handleHeartbeatEvent','transform','OffLineSingle','height','192584ijlwCD','requireSession','extend','DeleteRangeMoveUpCommandId','range','_renderManagerService','selection','roomMembers','registerRenderModule','saveOfflineData','on-line-single','isEditing','_setupSubUnitSync','black','getCollabCursors$','_docClipboardService','onCommandExecuted','PERMISSION_DENIED','getStateCache','saveTaskMap','APPLY_DUPLICATED','_getAnchorBounding','ticket','811976vgSUml','InsertRowCommandId','addHandlerCallback','CLOSE_ROOM','parse','beginPath','sessionTicket','getDocRanges','_transformUndoRedoStack','engine','_handleHover','transformMutationsWithChangeset','session.will-retry','_initDependencies','icon','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','function','permission.content','setParam','_name','fill','init','InsertRangeMoveDownCommandId','colorChannel1','getFocusedUnit','random','error','setTimeout','purple300','path','subUnitId','_color','_backgroundColor','post','online','HEADER_MENU','roomMembers$','_onCursorUpdate','_cursorShapes','SYNCED','endColumn','INVITE_CODE_HAS_BEEN_UES','getUnitStatus$','_uiPartsService','_scheduleSaving','Failed','editingUnit','currentTheme$','getSheetBySheetId','pipe','_docSkeletonManagerService','_removeClearOtherTimer','getTypeOfUnitAdded$','closePath','_transformService','_initStatusListener','current','string','width','RECT','_beforeCloseService','debug','_updateURLWithCurrentState','_themeService','APPLY_REJECT','160GGxaKj','url(#on-line-single_clip0_910_349)','UNRECOGNIZED','none','registerBeforeClose','#fff','subscribe','_localStorageService','ONLINE','_docSyncEditingCollabCursorService','getSheetId','_anchorDot','eventID','sessionStatus$','univer-online-status-icon','_hovered','asObservable','_shapes','_collabCursorState$','_entities','onPointerEnter$','collabCursorState$','color','_config','textRanges','idSuffix','cursorInfo','_onCursorDelete','findNodePositionByCharIndex','onTransformChange$','_unitOnClients','setShapeProps','startColumn','NO_OTHER_CLIENTS_EDITING','_draw','216NfckkI','COMPLETION_FINISHED','push','_initResize','pushState','verdancy600','_initEvent','[CollaborationDataLoaderController]','JOIN_ROOM_FAILED','createInstance','_collaborationUIEventService','_updateSubUnitFromURLParams','_online','getCurrent','min','drawWith','INTERNAL_ERROR','_setupBeforeClosingHandler','_transformHistoryAndStateStack','YUUMI_RATE_OVER_LIMIT','body','triggerDblclick','executeCommand','next','transformStateCache','CHANGESET_REVISION_CONFILICT','flatMap','startsWith','setConfig','12jhrCCs','sheetId','_scene','find','data','_localCacheService','urlChange$','OFFLINE','NOT_FOUND','UNDEFINED','currentSkeleton$','forEach','Unknown\x20user','getTypeOfUnitDisposed$','collaboration.single-unit.warning'];_0x4842=function(){return _0x26c0ba;};return _0x4842();}function Oi(_0x37b72d,_0x15ba61){const _0x292df3=_0x254dd6;let {radius:_0x170db4,width:_0x201796,height:_0x52ac37}=_0x15ba61;_0x170db4=_0x170db4!=null?_0x170db4:0x0,_0x201796=_0x201796!=null?_0x201796:0x1e,_0x52ac37=_0x52ac37!=null?_0x52ac37:0x1e;let _0x1b6334=0x0,_0x38aecc=0x0,_0x1ee25e=0x0;_0x1b6334=_0x38aecc=_0x1ee25e=Math[_0x292df3(0x1a4)](_0x170db4,_0x201796/0x2,_0x52ac37/0x2),_0x37b72d[_0x292df3(0x136)](),_0x37b72d['moveTo'](_0x1b6334,0x0),_0x37b72d[_0x292df3(0x1fe)](_0x201796-_0x38aecc,0x0),_0x37b72d[_0x292df3(0x221)](_0x201796-_0x38aecc,_0x38aecc,_0x38aecc,Math['PI']*0x3/0x2,0x0,!0x1),_0x37b72d['lineTo'](_0x201796,_0x52ac37-_0x1ee25e),_0x37b72d[_0x292df3(0x221)](_0x201796-_0x1ee25e,_0x52ac37-_0x1ee25e,_0x1ee25e,0x0,Math['PI']/0x2,!0x1),_0x37b72d['lineTo'](0x0,_0x52ac37),_0x37b72d[_0x292df3(0x1fe)](0x0,_0x1b6334),_0x37b72d['arc'](_0x1b6334,_0x1b6334,_0x1b6334,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x37b72d[_0x292df3(0x167)](),_0x15ba61['fill']&&(_0x37b72d[_0x292df3(0x1f5)](),_0x37b72d[_0x292df3(0x273)]=_0x15ba61['fill'],_0x15ba61[_0x292df3(0x1e4)]==='evenodd'?_0x37b72d[_0x292df3(0x146)](_0x292df3(0x2d2)):_0x37b72d[_0x292df3(0x146)](),_0x37b72d['restore']());}class ue extends _0x4663cd{constructor(_0x32901b,_0x1fb386){const _0xb193b3=_0x254dd6;super(_0x32901b,_0x1fb386),h(this,_0xb193b3(0x189)),h(this,_0xb193b3(0x283)),(this[_0xb193b3(0x189)]=_0x1fb386==null?void 0x0:_0x1fb386['color'],this['text']=_0x1fb386==null?void 0x0:_0x1fb386[_0xb193b3(0x283)]);}static[_0x254dd6(0x1a5)](_0x4d3bf8,_0x13137c){const _0x3aed9f=_0x254dd6,{text:_0x35c3c8,color:_0x47d603}=_0x13137c;_0x4d3bf8['save'](),_0x4d3bf8[_0x3aed9f(0x1da)]=_0x3aed9f(0x2be);const _0x2625bc=_0x4d3bf8[_0x3aed9f(0x2d7)](_0x35c3c8)['width'],_0x571ba9=Math[_0x3aed9f(0x1a4)](_0x2625bc+0x2*ge,et);Oi(_0x4d3bf8,{'height':te,'radius':0x4,'width':_0x571ba9,'fill':_0x47d603}),_0x4d3bf8['fillStyle']=_0x3aed9f(0x2a6);const _0x24ae76=ge,_0x4edd44=te-Ei,_0x493178=et-0x2*ge;if(_0x2625bc>_0x493178){let _0x1f7d3c='',_0x4d23e0=0x0;for(const _0x19723d of _0x35c3c8){const _0xe94017=_0x4d3bf8[_0x3aed9f(0x2d7)](_0x19723d)[_0x3aed9f(0x16c)];if(_0x4d23e0+_0xe94017<=_0x493178-_0x4d3bf8[_0x3aed9f(0x2d7)](_0x3aed9f(0x297))[_0x3aed9f(0x16c)])_0x1f7d3c+=_0x19723d,_0x4d23e0+=_0xe94017;else{_0x1f7d3c+=_0x3aed9f(0x297);break;}}_0x4d3bf8[_0x3aed9f(0x2a2)](_0x1f7d3c,_0x24ae76,_0x4edd44);}else _0x4d3bf8[_0x3aed9f(0x2a2)](_0x35c3c8,_0x24ae76,_0x4edd44);_0x4d3bf8[_0x3aed9f(0x260)]();}[_0x254dd6(0x195)](_0x4d8a80){const _0x29bb0f=_0x254dd6;ue[_0x29bb0f(0x1a5)](_0x4d8a80,this);}}const ve=_0x254dd6(0x21f),Ti='collab-text-range-',Ri=_0x254dd6(0x108),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Pi=_0x254dd6(0x27a);class tt{constructor(_0x5c4730,_0x1d88d8,_0x460b23,_0x43cfae){const _0x147f8c=_0x254dd6;h(this,_0x147f8c(0x184),[]),h(this,'_anchor',null),h(this,_0x147f8c(0x1f6),null),h(this,_0x147f8c(0x17e),null),h(this,_0x147f8c(0x215),null),h(this,'_eventUnsubscribe',null),(this[_0x147f8c(0x1f8)]=_0x5c4730,this['_scene']=_0x1d88d8,this['_docSkeleton']=_0x460b23,this[_0x147f8c(0x1d8)]=_0x43cfae,this[_0x147f8c(0x1ec)]());}set[_0x254dd6(0x1e1)](_0xe1d489){const _0x326f64=_0x254dd6;_0xe1d489?(this[_0x326f64(0x17e)]&&this[_0x326f64(0x17e)]['hide'](),this['_textBubble']&&this[_0x326f64(0x1f6)][_0x326f64(0x20c)]()):(this['_anchorDot']&&this['_anchorDot'][_0x326f64(0x20c)](),this[_0x326f64(0x1f6)]&&this['_textBubble'][_0x326f64(0x242)]());}[_0x254dd6(0x105)](){const _0x528254=_0x254dd6;for(const _0x1e18d8 of this[_0x528254(0x184)])_0x1e18d8['dispose']();this[_0x528254(0x1f6)]&&this[_0x528254(0x1f6)][_0x528254(0x105)](),this['_anchorDot']&&this[_0x528254(0x17e)][_0x528254(0x105)](),this[_0x528254(0x224)]&&this[_0x528254(0x224)]['dispose'](),this[_0x528254(0x264)]&&this[_0x528254(0x264)]();}[_0x254dd6(0x1ec)](){const _0x50bfe9=_0x254dd6;var _0x1d7ac2;const {_docSkeleton:_0x482570,_document:_0x83a332}=this,{color:_0x4b8ffe,name:_0x37b578,ranges:_0x2f0978}=this['_cursor'],_0xbaee0a=_0x83a332[_0x50bfe9(0x140)](),{docsLeft:_0xf30ee6,docsTop:_0x338b03}=_0xbaee0a,_0x134746=new _0x7b6f6a(_0xbaee0a,_0x482570);for(const {startOffset:_0x5fe121,endOffset:_0x41f0f6,rangeType:_0x224349,segmentId:_0x70f391,segmentPage:_0x1a4757,collapsed:_0x2ee054,isActive:_0x6dd1cc}of _0x2f0978){const _0x279808=_0x482570[_0x50bfe9(0x18f)](_0x5fe121,!0x0,_0x70f391,_0x1a4757);let _0x5e5efd=_0x482570[_0x50bfe9(0x18f)](_0x41f0f6,!0x0,_0x70f391,_0x1a4757);if(_0x5e5efd==null&&(_0x5e5efd=_0x482570[_0x50bfe9(0x18f)](_0x41f0f6-0x1,!0x1,_0x70f391,_0x1a4757)),_0x6dd1cc){const {contentBoxPointGroup:_0xfad273}=_0x134746[_0x50bfe9(0x20f)](_0x5e5efd,_0x5e5efd);if(_0xfad273['length']===0x0)continue;this[_0x50bfe9(0x101)](_0x4b8ffe,_0xfad273,_0xf30ee6,_0x338b03,_0x37b578),this['_eventUnsubscribe']=this[_0x50bfe9(0x13b)]();}if(_0x279808&&_0x5e5efd){if(_0x224349===_0x58b4cd[_0x50bfe9(0x16d)]){const _0x4364a2=new _0x1b1c87(_0xbaee0a,_0x482570),{pointGroup:_0x459984}=(_0x1d7ac2=_0x4364a2[_0x50bfe9(0x20f)](_0x279808,_0x5e5efd))!=null?_0x1d7ac2:{};if(_0x459984==null||_0x459984[_0x50bfe9(0x23b)]===0x0)continue;this[_0x50bfe9(0x1e5)](_0x4b8ffe,_0x459984,_0xf30ee6,_0x338b03);}else{if(!_0x2ee054){const {borderBoxPointGroup:_0x5c6831}=_0x134746[_0x50bfe9(0x20f)](_0x279808,_0x5e5efd);if(_0x5c6831['length']===0x0)continue;this['_drawTextRange'](_0x4b8ffe,_0x5c6831,_0xf30ee6,_0x338b03);}}}}}['_drawAnchor'](_0x53a8fd,_0xbebdb2,_0x585579,_0x52b14f,_0x59fd4c){const _0x472ca0=_0x254dd6,_0x20f5f0=this['_getAnchorBounding'](_0xbebdb2),{left:_0x3c1c25,top:_0x1ace49,height:_0x5d5be3}=_0x20f5f0,_0x41d8cc=this[_0x472ca0(0x28b)](),_0x1449c2=Ni/_0x41d8cc,_0x3e1faf=new _0xd5080b(ve+_0x1589f5['generateRandomId'](X),{'left':_0x3c1c25+_0x585579-_0x1449c2,'top':_0x1ace49+_0x52b14f,'height':_0x5d5be3,'width':Di,'fill':_0x53a8fd||_0x2e7cb4(_0x2525d1[_0x472ca0(0x127)],0x0),'strokeWidth':_0x1449c2,'stroke':Pi,'evented':!0x0});this[_0x472ca0(0x224)]=_0x3e1faf,this[_0x472ca0(0x1b5)][_0x472ca0(0x213)](_0x3e1faf,_0xd65620);const _0x237fda=new _0xd5080b(ve+_0x1589f5[_0x472ca0(0x248)](X),{'left':_0x3c1c25+_0x585579-_0x1449c2,'top':_0x1ace49+_0x52b14f-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x53a8fd||_0x2e7cb4(_0x2525d1['black'],0x0),'strokeWidth':0x0,'stroke':_0x53a8fd||_0x2e7cb4(_0x2525d1['black'],0x0),'evented':!0x1});this[_0x472ca0(0x17e)]=_0x237fda,this[_0x472ca0(0x1b5)]['addObject'](_0x237fda,_0xd65620);const _0xca3c7b=new ue(ve+_0x1589f5[_0x472ca0(0x248)](X),{'left':_0x3c1c25+_0x585579-_0x1449c2,'top':_0x1ace49+_0x52b14f-te,'text':_0x59fd4c,'color':_0x53a8fd});this[_0x472ca0(0x1f6)]=_0xca3c7b,this['_scene']['addObject'](_0xca3c7b,_0xd65620),this[_0x472ca0(0x1e1)]=!0x1;}[_0x254dd6(0x13b)](){const _0x347d62=_0x254dd6,_0x5bbbc7=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x59eea0=_0x1a18;this[_0x59eea0(0x1e1)]=!0x0;}),_0x341f6a=this[_0x347d62(0x224)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x3c60f1=_0x347d62;this[_0x3c60f1(0x215)]&&clearTimeout(this[_0x3c60f1(0x215)]),this['_hideTimer']=setTimeout(()=>{const _0x39d00d=_0x3c60f1;this[_0x39d00d(0x1e1)]=!0x1;},0x7d0);});return()=>{const _0x2bb522=_0x347d62;_0x5bbbc7['unsubscribe'](),_0x341f6a[_0x2bb522(0x27c)]();};}['_drawTextRange'](_0x3f9677,_0x4f27ec,_0x241304,_0x1c10dd){const _0x164646=_0x254dd6,_0x373637=new _0x2c3352(_0x3f9677)['setAlpha'](0.2)[_0x164646(0x202)](),_0x2e299b=new _0xee76a(Ti+_0x1589f5['generateRandomId'](X),{'pointsGroup':_0x4f27ec,'fill':_0x373637||_0x2e7cb4(_0x2525d1['black'],0.2),'left':_0x241304,'top':_0x1c10dd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x164646(0x184)][_0x164646(0x198)](_0x2e299b),this[_0x164646(0x1b5)][_0x164646(0x213)](_0x2e299b,_0xd65620);}[_0x254dd6(0x1e5)](_0x5be06b,_0x4f9209,_0x4b0afd,_0x534f09){const _0x3bfd63=_0x254dd6,_0x5d3d1f=new _0x2c3352(_0x5be06b)[_0x3bfd63(0x107)](0.2)[_0x3bfd63(0x202)](),_0x3d33da=new _0xee76a(Ri+_0x1589f5[_0x3bfd63(0x248)](X),{'pointsGroup':_0x4f9209,'fill':_0x5d3d1f||_0x2e7cb4(_0x2525d1[_0x3bfd63(0x127)],0.2),'left':_0x4b0afd,'top':_0x534f09,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3bfd63(0x198)](_0x3d33da),this[_0x3bfd63(0x1b5)]['addObject'](_0x3d33da,_0xd65620);}[_0x254dd6(0x12f)](_0x1ec903){const _0xcdd96e=_0x1ec903[0x0],_0x133e27=_0xcdd96e[0x0],_0x46dc7f=_0xcdd96e[0x2],{x:_0x4a0e74,y:_0x504f10}=_0x133e27,{x:_0x2536e2,y:_0x41af6d}=_0x46dc7f;return{'left':_0x4a0e74,'top':_0x504f10,'width':_0x2536e2-_0x4a0e74,'height':_0x41af6d-_0x504f10};}[_0x254dd6(0x28b)](){const {scaleX:_0x2ccf76,scaleY:_0x28a397}=this['_scene']['getAncestorScale']();return Math['max'](_0x2ccf76,_0x28a397);}}var Mi=Object[_0x254dd6(0x270)],wi=(_0x367b2a,_0x408031,_0x329fd2,_0x4120b2)=>{const _0x50b914=_0x254dd6;for(var _0xd32481=_0x4120b2>0x1?void 0x0:_0x4120b2?Mi(_0x408031,_0x329fd2):_0x408031,_0x1996d4=_0x367b2a[_0x50b914(0x23b)]-0x1,_0x31509d;_0x1996d4>=0x0;_0x1996d4--)(_0x31509d=_0x367b2a[_0x1996d4])&&(_0xd32481=_0x31509d(_0xd32481)||_0xd32481);return _0xd32481;},Q=(_0x3f4c10,_0x54c116)=>(_0x1ba554,_0x1f8e29)=>_0x54c116(_0x1ba554,_0x1f8e29,_0x3f4c10);let Ue=class extends _0x3114f0{constructor(_0x2cee8e,_0x2ced3c,_0x579954,_0x43763f,_0x4c1a14){const _0x35f6e8=_0x254dd6;super(),h(this,_0x35f6e8(0x158),[]),h(this,'_cursors',[]),(this[_0x35f6e8(0x21b)]=_0x2cee8e,this[_0x35f6e8(0x164)]=_0x2ced3c,this[_0x35f6e8(0x20e)]=_0x579954,this['_commandService']=_0x43763f,this['_themeService']=_0x4c1a14,this['_init']());}['_init'](){const _0x27906f=_0x254dd6,_0xe16343=this[_0x27906f(0x21b)][_0x27906f(0x2b5)],_0x3a3295=this[_0x27906f(0x164)];this[_0x27906f(0x1dc)](_0x120b2f([this[_0x27906f(0x20e)]['getCollabCursors$'](_0xe16343),this['_themeService'][_0x27906f(0x161)]])[_0x27906f(0x163)](_0x4ad0ac(([_0x1a55c5,_0x40ea86])=>({'skeleton':_0x3a3295[_0x27906f(0x20b)](),'cursors':[..._0x1a55c5[_0x27906f(0xf9)]()][_0x27906f(0x1b0)](_0x451d65=>({..._0x451d65,'color':_0x40ea86[_0x451d65[_0x27906f(0x189)]]}))})))['subscribe'](_0x2e605b=>{const _0x1e642a=_0x27906f;if(this[_0x1e642a(0x21c)](),_0x2e605b){const {skeleton:_0x1b2527,cursors:_0x3f2eab}=_0x2e605b;this[_0x1e642a(0x257)](_0x1b2527,_0x3f2eab);}})),this[_0x27906f(0x199)](),this[_0x27906f(0x2b9)]();}[_0x254dd6(0x257)](_0x4c0875,_0x48c492){const _0x5bf76b=_0x254dd6,{scene:_0x4b3fbe,mainComponent:_0x171d70}=this[_0x5bf76b(0x21b)],_0x1459a4=_0x48c492[_0x5bf76b(0x1c4)](_0x1df236=>new tt(_0x1df236,_0x4b3fbe,_0x4c0875,_0x171d70));this['_cursorShapes']=_0x1459a4,this[_0x5bf76b(0x217)]=_0x48c492;}[_0x254dd6(0x281)](){const _0x1be855=_0x254dd6;this[_0x1be855(0x21c)]();const {scene:_0x2238cd,mainComponent:_0x15cfca}=this[_0x1be855(0x21b)],_0x4b4420=this[_0x1be855(0x164)][_0x1be855(0x20b)](),_0x16eb9d=this['_cursors'][_0x1be855(0x1c4)](_0x319a77=>new tt(_0x319a77,_0x2238cd,_0x4b4420,_0x15cfca));this[_0x1be855(0x158)]=_0x16eb9d;}[_0x254dd6(0x21c)](){const _0x4e5658=_0x254dd6;this[_0x4e5658(0x158)]['forEach'](_0x2feaef=>_0x2feaef[_0x4e5658(0x105)]()),this[_0x4e5658(0x158)]=[];}[_0x254dd6(0x2b9)](){const _0x35cf16=_0x254dd6,_0x17b2c3=[_0x4e207a['id']];this[_0x35cf16(0x1dc)](this[_0x35cf16(0xe7)][_0x35cf16(0x12a)](_0x3f1155=>{const _0x185d69=_0x35cf16;_0x17b2c3[_0x185d69(0x1d1)](_0x3f1155['id'])&&_0x3f1155[_0x185d69(0x253)][_0x185d69(0x2b5)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x254dd6(0x199)](){const _0x36172a=_0x254dd6;this['disposeWithMe'](_0x25cb53(this[_0x36172a(0x21b)][_0x36172a(0x13a)][_0x36172a(0x190)])[_0x36172a(0x163)](_0x3eae2e(_0x3788ff=>_0x3788ff[_0x36172a(0x228)]===_0x3c715f[_0x36172a(0x10f)]),_0x4172b9(0x10))['subscribe'](()=>{const _0x299128=_0x36172a;this[_0x299128(0x281)]();}));}};Ue=wi([Q(0x1,_0x1fe9bf(_0x3ad5a6)),Q(0x2,_0x1fe9bf(H)),Q(0x3,_0x17137b),Q(0x4,_0x1fe9bf(_0x3d323b))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x4663cd{constructor(_0x5f1e6a,_0x367a21){const _0x525e6c=_0x254dd6;super(_0x5f1e6a,_0x367a21),h(this,_0x525e6c(0x151)),h(this,_0x525e6c(0x182),!0x1),h(this,_0x525e6c(0x229)),h(this,_0x525e6c(0x145),''),h(this,_0x525e6c(0x1fa),_0x525e6c(0x1e7)),h(this,_0x525e6c(0x152)),(_0x367a21&&this[_0x525e6c(0x192)](_0x367a21),this[_0x525e6c(0x187)][_0x525e6c(0x26d)](()=>this[_0x525e6c(0x192)]({'hovered':!0x0})),this[_0x525e6c(0x220)][_0x525e6c(0x26d)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x254dd6(0x192)](_0x1ce0b5){const _0xc42518=_0x254dd6;var _0x2f16b5,_0x141c63,_0x5cf5bc,_0x567e27,_0x4fa2b1,_0x3ca67e;this[_0xc42518(0x151)]=(_0x2f16b5=_0x1ce0b5[_0xc42518(0x189)])!=null?_0x2f16b5:this['_color'],this[_0xc42518(0x182)]=(_0x141c63=_0x1ce0b5[_0xc42518(0x230)])!=null?_0x141c63:this[_0xc42518(0x182)],this[_0xc42518(0x229)]=(_0x5cf5bc=_0x1ce0b5[_0xc42518(0x11e)])!=null?_0x5cf5bc:this[_0xc42518(0x229)],this[_0xc42518(0x145)]=(_0x567e27=_0x1ce0b5[_0xc42518(0x2a7)])!=null?_0x567e27:this[_0xc42518(0x145)],this[_0xc42518(0x1fa)]=(_0x4fa2b1=_0x1ce0b5[_0xc42518(0x2d6)])!=null?_0x4fa2b1:this['_labelPosition'],this['_backgroundColor']=(_0x3ca67e=_0x1ce0b5[_0xc42518(0x2d5)])!=null?_0x3ca67e:this[_0xc42518(0x152)],this[_0xc42518(0x292)]({'width':_0x1ce0b5[_0xc42518(0x16c)],'height':_0x1ce0b5[_0xc42518(0x119)]});}[_0x254dd6(0x2c8)](_0x330436){const _0x16c4fb=_0x254dd6,{row:_0x29464a,column:_0x1ce6aa}=_0x330436;if(_0x29464a>=this[_0x16c4fb(0x229)][_0x16c4fb(0x254)]&&_0x29464a<=this[_0x16c4fb(0x229)][_0x16c4fb(0x1f2)]&&_0x1ce6aa>=this[_0x16c4fb(0x229)][_0x16c4fb(0x193)]&&_0x1ce6aa<=this[_0x16c4fb(0x229)][_0x16c4fb(0x15a)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x254dd6(0x1ab)](_0x5ea8dd){return!0x1;}[_0x254dd6(0x195)](_0x11cae6){const _0x117323=_0x254dd6;_0xd5080b[_0x117323(0x1a5)](_0x11cae6,{'width':this[_0x117323(0x16c)],'height':this[_0x117323(0x119)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x11cae6[_0x117323(0x1f5)](),_0x11cae6[_0x117323(0x117)](0x1,0x0,0x0,0x1,this['width'],this[_0x117323(0x1fa)]===_0x117323(0x1ca)?0x0:-0x14),ue[_0x117323(0x1a5)](_0x11cae6,{'text':this['_name'],'color':this[_0x117323(0x151)]}),_0x11cae6[_0x117323(0x260)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x4773eb,_0x2da47e,_0x1daf66,_0x4f3b65)=>{const _0x2644b8=_0x254dd6;for(var _0x20d8a1=_0x4f3b65>0x1?void 0x0:_0x4f3b65?yi(_0x2da47e,_0x1daf66):_0x2da47e,_0x3b5b60=_0x4773eb[_0x2644b8(0x23b)]-0x1,_0xe80b3c;_0x3b5b60>=0x0;_0x3b5b60--)(_0xe80b3c=_0x4773eb[_0x3b5b60])&&(_0x20d8a1=_0xe80b3c(_0x20d8a1)||_0x20d8a1);return _0x20d8a1;},pe=(_0x2aacbc,_0x323e38)=>(_0x268e3d,_0x481c3b)=>_0x323e38(_0x268e3d,_0x481c3b,_0x2aacbc);const xi=0x1389;let Le=class extends _0x3114f0{constructor(_0x425d8c,_0x1677a2,_0x27c020,_0x4ef5ed){const _0x18e220=_0x254dd6;super(),h(this,_0x18e220(0x217),new Set()),h(this,_0x18e220(0x2d3),null),(this['_context']=_0x425d8c,this[_0x18e220(0x10c)]=_0x1677a2,this[_0x18e220(0x20e)]=_0x27c020,this[_0x18e220(0x171)]=_0x4ef5ed,this['_init']());}[_0x254dd6(0x231)](){const _0x42ceef=_0x254dd6;this[_0x42ceef(0x10c)][_0x42ceef(0x1bd)][_0x42ceef(0x163)](_0x4106ae(this[_0x42ceef(0x1f7)]),_0x1d4f47(_0x13a621=>{const _0x195bda=_0x42ceef;if(_0x13a621){const _0x505ebe=_0x13a621[_0x195bda(0x1b4)];return _0x120b2f(this[_0x195bda(0x20e)]['getCollabCursors$'](this[_0x195bda(0x21b)][_0x195bda(0x2b5)]),this[_0x195bda(0x171)][_0x195bda(0x161)])[_0x195bda(0x163)](_0x4ad0ac(([_0x6f49c2,_0x34bf51])=>{const _0x16d076=new Map();return _0x6f49c2['forEach']((_0x7e80d1,_0x435ae7)=>{const _0x1b4117=_0x1a18;if(_0x7e80d1['sheetID']===_0x505ebe){const _0x274a3c={..._0x7e80d1};_0x274a3c[_0x1b4117(0x189)]=_0x34bf51[_0x7e80d1[_0x1b4117(0x189)]],_0x16d076[_0x1b4117(0x287)](_0x435ae7,_0x274a3c);}}),{'skeleton':_0x13a621,'cursors':_0x16d076};}));}return _0x3085ce({'skeleton':null,'cursors':new Map()});}))[_0x42ceef(0x179)](({skeleton:_0x2b9b5d,cursors:_0x39c192})=>{const _0x3a65c9=_0x42ceef;this['_removeCollabCursors'](),_0x2b9b5d&&this[_0x3a65c9(0x257)](_0x2b9b5d,_0x39c192);}),this[_0x42ceef(0x10c)]['currentSkeleton$']['subscribe'](_0xd9ab21=>{const _0xf09679=_0x42ceef;if(_0xd9ab21==null)return;const {skeleton:_0x3fb771}=_0xd9ab21,{scene:_0x1eb99f}=this[_0xf09679(0x21b)];_0x1eb99f[_0xf09679(0x1d3)][_0xf09679(0x26d)](_0x13d619(_0x2e6f74=>{const _0xffa095=_0xf09679;var _0x115119,_0x55a9e5;const {offsetX:_0x569dd5,offsetY:_0x1ddeee}=_0x2e6f74,{x:_0x4a9c06,y:_0x6393f5}=_0x1eb99f[_0xffa095(0x2c7)](_0x8b69fb[_0xffa095(0x227)]([_0x569dd5,_0x1ddeee])),{scaleX:_0x2c4dbe,scaleY:_0x28e6bb}=_0x1eb99f[_0xffa095(0x1cd)](),_0x2414a4=_0x1eb99f[_0xffa095(0x24d)](_0x360176['VIEW_MAIN']),_0x22f461=_0x1eb99f[_0xffa095(0x244)](_0x8b69fb['FromArray']([_0x4a9c06,_0x6393f5]),_0x2414a4),_0x5aa605=_0x3fb771['getCellPositionByOffset'](_0x569dd5,_0x1ddeee,_0x2c4dbe,_0x28e6bb,_0x22f461);((_0x115119=this['_lastPointer'])==null?void 0x0:_0x115119[_0xffa095(0x25c)])===_0x5aa605[_0xffa095(0x25c)]&&((_0x55a9e5=this['_lastPointer'])==null?void 0x0:_0x55a9e5[_0xffa095(0x2bb)])===_0x5aa605['row']||this[_0xffa095(0x217)][_0xffa095(0x1be)](_0x3cc3a1=>{const _0x306c47=_0xffa095;_0x3cc3a1[_0x306c47(0x2c8)](_0x5aa605);});},0x64));});}['_updateCollabCursors'](_0x277886,_0x44b947){const _0x48d85a=_0x254dd6;var _0x1c4e88;const _0x21d7b9=(_0x1c4e88=this[_0x48d85a(0x10c)][_0x48d85a(0x1a3)]())==null?void 0x0:_0x1c4e88[_0x48d85a(0x219)];if(!_0x21d7b9)return;const _0x1dd485=this['_getSheetObject']();if(!_0x1dd485)return;this[_0x48d85a(0x217)][_0x48d85a(0x1be)](_0x365d31=>{const _0xa73c3c=_0x48d85a;_0x365d31[_0xa73c3c(0x1db)]();});const {scene:_0x3f4990}=_0x1dd485,_0xfa141f=ki(Array[_0x48d85a(0x115)](_0x44b947[_0x48d85a(0xf9)]()))[_0x48d85a(0x1c4)](_0x4e6b33=>{const _0x20036b=_0x48d85a,{color:_0x3f713c,range:_0x19adaa,name:_0x6fd2ac,selection:_0x1a078d,sheetID:_0x1774eb}=_0x4e6b33,{startColumn:_0x4447b5,startRow:_0x5a65b0,endColumn:_0x6d1ab9,endRow:_0x5db617}=_0x19adaa,_0x559721=_0x59a228(_0x5a65b0,_0x4447b5,_0x3f4990,_0x21d7b9),_0x266277=_0x59a228(_0x5db617,_0x6d1ab9,_0x3f4990,_0x21d7b9),{columnHeaderHeightAndMarginTop:_0x58377d}=_0x21d7b9,{startX:_0x44bd14,startY:_0x2eafe1}=_0x559721,{endX:_0x2aebf8,endY:_0x4adf8a}=_0x266277,_0x3d6d63=_0x2aebf8-_0x44bd14,_0x25677b=_0x4adf8a-_0x2eafe1,_0x8942ef={'labelPosition':_0x2eafe1-_0x58377d>=te?'top':_0x20036b(0x1ca),'sheetID':_0x1774eb,'range':_0x19adaa,'color':_0x3f713c,'name':_0x6fd2ac,'selection':_0x1a078d,'left':_0x44bd14,'top':_0x2eafe1,'width':_0x3d6d63,'height':_0x25677b,'evented':!0x1,'zIndex':xi};return new Ai(_0x6fd2ac,_0x8942ef);});_0x3f4990[_0x48d85a(0x218)](_0xfa141f,Ui),this[_0x48d85a(0x217)]=new Set(_0xfa141f);}['_removeCollabCursors'](){const _0xb03343=_0x254dd6;var _0x3a1496;(_0x3a1496=this[_0xb03343(0x217)])==null||_0x3a1496[_0xb03343(0x1be)](_0x484ce7=>_0x484ce7[_0xb03343(0x105)]());}['_getSheetObject'](){return _0x4f95c2(this['_context']['unit'],this['_context']);}};Le=$i([pe(0x1,_0x1fe9bf(_0x212217)),pe(0x2,_0x1fe9bf(H)),pe(0x3,_0x1fe9bf(_0x3d323b))],Le);function ki(_0x4cbaee){const _0x555b9c=_0x254dd6,_0x34a548=new Map();return _0x4cbaee[_0x555b9c(0x1be)](_0x1e2de7=>{const _0x4b67dc=_0x555b9c;if(_0x34a548[_0x4b67dc(0x20a)](_0x1e2de7[_0x4b67dc(0x120)])){const _0x2615fc=_0x34a548[_0x4b67dc(0x29f)](_0x1e2de7[_0x4b67dc(0x120)]);_0x2615fc[_0x4b67dc(0x2a7)]+=',\x20'+_0x1e2de7['name'];}else _0x34a548[_0x4b67dc(0x287)](_0x1e2de7[_0x4b67dc(0x120)],_0x1e2de7);}),Array[_0x555b9c(0x115)](_0x34a548['values']());}var I=function(){const _0x10d0b3=_0x254dd6;return I=Object[_0x10d0b3(0x2ae)]||function(_0x5c85e9){const _0x952497=_0x10d0b3;for(var _0x42568f,_0x372884=0x1,_0x57adf6=arguments['length'];_0x372884<_0x57adf6;_0x372884++){_0x42568f=arguments[_0x372884];for(var _0x3ad0b1 in _0x42568f)Object['prototype'][_0x952497(0x25f)][_0x952497(0x1fd)](_0x42568f,_0x3ad0b1)&&(_0x5c85e9[_0x3ad0b1]=_0x42568f[_0x3ad0b1]);}return _0x5c85e9;},I[_0x10d0b3(0x29b)](this,arguments);},Bi=function(_0x42cb3b,_0x5ecbca){const _0x19f382=_0x254dd6;var _0x110a33={};for(var _0xafce23 in _0x42cb3b)Object[_0x19f382(0x268)][_0x19f382(0x25f)][_0x19f382(0x1fd)](_0x42cb3b,_0xafce23)&&_0x5ecbca[_0x19f382(0x238)](_0xafce23)<0x0&&(_0x110a33[_0xafce23]=_0x42cb3b[_0xafce23]);if(_0x42cb3b!=null&&typeof Object[_0x19f382(0x1d6)]==_0x19f382(0x142)){for(var _0x583f1f=0x0,_0xafce23=Object['getOwnPropertySymbols'](_0x42cb3b);_0x583f1f<_0xafce23[_0x19f382(0x23b)];_0x583f1f++)_0x5ecbca[_0x19f382(0x238)](_0xafce23[_0x583f1f])<0x0&&Object[_0x19f382(0x268)][_0x19f382(0xf6)][_0x19f382(0x1fd)](_0x42cb3b,_0xafce23[_0x583f1f])&&(_0x110a33[_0xafce23[_0x583f1f]]=_0x42cb3b[_0xafce23[_0x583f1f]]);}return _0x110a33;},We=_0x4a5d7a(function(_0x5a0e71,_0x527a42){const _0xc8b338=_0x254dd6;var _0x419117=_0x5a0e71[_0xc8b338(0x13f)],_0x2cb2cf=_0x5a0e71['id'],_0x500c26=_0x5a0e71[_0xc8b338(0x23e)],_0x2d6a39=_0x5a0e71['extend'],_0x1264b2=Bi(_0x5a0e71,[_0xc8b338(0x13f),'id',_0xc8b338(0x23e),_0xc8b338(0x11c)]),_0x4cb861='univerjs-icon\x20univerjs-icon-'[_0xc8b338(0x1e0)](_0x2cb2cf,'\x20')[_0xc8b338(0x1e0)](_0x500c26||'')['trim'](),_0x24ae2b=_0x4dd263('_'[_0xc8b338(0x1e0)](Wi()));return Nt(_0x419117,''[_0xc8b338(0x1e0)](_0x2cb2cf),{'defIds':_0x419117[_0xc8b338(0x1c3)],'idSuffix':_0x24ae2b[_0xc8b338(0x16a)]},I({'ref':_0x527a42,'className':_0x4cb861},_0x1264b2),_0x2d6a39);});function Nt(_0x16e369,_0x2b9607,_0xdffcc1,_0x3fe73c,_0x2d0227){const _0x284f72=_0x254dd6;return _0x30cf05(_0x16e369[_0x284f72(0x112)],I(I({'key':_0x2b9607},Hi(_0x16e369,_0xdffcc1,_0x2d0227)),_0x3fe73c),(ji(_0x16e369,_0xdffcc1)[_0x284f72(0x25b)]||[])['map'](function(_0x55559b,_0x325283){const _0x20afbf=_0x284f72;return Nt(_0x55559b,''[_0x20afbf(0x1e0)](_0x2b9607,'-')[_0x20afbf(0x1e0)](_0x16e369[_0x20afbf(0x112)],'-')[_0x20afbf(0x1e0)](_0x325283),_0xdffcc1,void 0x0,_0x2d0227);}));}function Hi(_0x3b6c49,_0xc109e6,_0x21d725){const _0x24668c=_0x254dd6;var _0x49b5b9=I({},_0x3b6c49[_0x24668c(0x102)]);_0x21d725!=null&&_0x21d725[_0x24668c(0x149)]&&_0x49b5b9[_0x24668c(0x146)]==='colorChannel1'&&(_0x49b5b9[_0x24668c(0x146)]=_0x21d725[_0x24668c(0x149)]),_0x3b6c49[_0x24668c(0x112)]===_0x24668c(0x24e)&&_0x49b5b9['id']&&(_0x49b5b9['id']=_0x49b5b9['id']+_0xc109e6[_0x24668c(0x18c)]),Object[_0x24668c(0x296)](_0x49b5b9)['forEach'](function(_0x3533af){const _0x2bbb0e=_0x24668c;var _0x1e826c=_0x3533af[0x0],_0x3cfe49=_0x3533af[0x1];_0x1e826c===_0x2bbb0e(0x24e)&&typeof _0x3cfe49==_0x2bbb0e(0x16b)&&(_0x49b5b9[_0x1e826c]=_0x3cfe49[_0x2bbb0e(0x234)](/url\(#(.*)\)/,'url(#$1'[_0x2bbb0e(0x1e0)](_0xc109e6[_0x2bbb0e(0x18c)],')')));});var _0x2fbff7=_0xc109e6[_0x24668c(0x1c3)];return!_0x2fbff7||_0x2fbff7[_0x24668c(0x23b)]===0x0||(_0x3b6c49[_0x24668c(0x112)]===_0x24668c(0x1de)&&_0x49b5b9['xlink:href']&&(_0x49b5b9['xlink:href']=_0x49b5b9[_0x24668c(0x25a)]+_0xc109e6['idSuffix']),Object[_0x24668c(0x296)](_0x49b5b9)[_0x24668c(0x1be)](function(_0x44e22d){const _0x4000ae=_0x24668c;var _0x43aede=_0x44e22d[0x0],_0x2eed48=_0x44e22d[0x1];typeof _0x2eed48==_0x4000ae(0x16b)&&(_0x49b5b9[_0x43aede]=_0x2eed48[_0x4000ae(0x234)](/url\(#(.*)\)/,_0x4000ae(0x226)[_0x4000ae(0x1e0)](_0xc109e6['idSuffix'],')')));})),_0x49b5b9;}function ji(_0x576145,_0xd5e518){const _0x109c38=_0x254dd6;var _0x33ddba,_0x1b794f=_0xd5e518[_0x109c38(0x1c3)];return!_0x1b794f||_0x1b794f['length']===0x0?_0x576145:_0x576145['tag']==='defs'&&(!((_0x33ddba=_0x576145[_0x109c38(0x25b)])===null||_0x33ddba===void 0x0)&&_0x33ddba[_0x109c38(0x23b)])?I(I({},_0x576145),{'children':_0x576145['children'][_0x109c38(0x1c4)](function(_0xa84912){const _0x9a41b4=_0x109c38;return typeof _0xa84912[_0x9a41b4(0x102)]['id']==_0x9a41b4(0x16b)&&_0x1b794f&&_0x1b794f[_0x9a41b4(0x238)](_0xa84912[_0x9a41b4(0x102)]['id'])>-0x1?I(I({},_0xa84912),{'attrs':I(I({},_0xa84912[_0x9a41b4(0x102)]),{'id':_0xa84912['attrs']['id']+_0xd5e518[_0x9a41b4(0x18c)]})}):_0xa84912;})}):_0x576145;}function Wi(){const _0x5b519c=_0x254dd6;return Math[_0x5b519c(0x14b)]()[_0x5b519c(0x2cf)](0x24)[_0x5b519c(0x1fc)](0x2,0x8);}We[_0x254dd6(0xe6)]='UniverIcon';var Fi={'tag':_0x254dd6(0x1d9),'attrs':{'fill':_0x254dd6(0x176),'viewBox':_0x254dd6(0x1d7),'width':'1em','height':_0x254dd6(0xfe)},'children':[{'tag':'g','attrs':{'clipPath':_0x254dd6(0x2aa)},'children':[{'tag':_0x254dd6(0x14f),'attrs':{'stroke':_0x254dd6(0x26a),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x254dd6(0x2ca),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x254dd6(0x26b)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Pt=_0x4a5d7a(function(_0x4a9249,_0x357053){const _0x10d94b=_0x254dd6;return _0x30cf05(We,Object[_0x10d94b(0x2ae)]({},_0x4a9249,{'id':_0x10d94b(0x285),'ref':_0x357053,'icon':Fi}));});Pt[_0x254dd6(0xe6)]=_0x254dd6(0x118);var Vi={'tag':'svg','attrs':{'fill':_0x254dd6(0x176),'viewBox':_0x254dd6(0x22d),'width':_0x254dd6(0xfe),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x254dd6(0x174)},'children':[{'tag':_0x254dd6(0x14f),'attrs':{'stroke':'currentColor','d':_0x254dd6(0x2cd),'strokeLinecap':_0x254dd6(0x2ca),'strokeLinejoin':_0x254dd6(0x2ca),'strokeWidth':1.2}}]},{'tag':_0x254dd6(0xfc),'attrs':{},'children':[{'tag':_0x254dd6(0x1f9),'attrs':{'id':_0x254dd6(0x256)},'children':[{'tag':_0x254dd6(0x14f),'attrs':{'fill':_0x254dd6(0x178),'d':'M0\x200H16V16H0z','transform':_0x254dd6(0xf7)}}]}]}],'defIds':[_0x254dd6(0x256)]},Mt=_0x4a5d7a(function(_0x214b77,_0x31a0b3){const _0x5461a8=_0x254dd6;return _0x30cf05(We,Object['assign']({},_0x214b77,{'id':_0x5461a8(0x124),'ref':_0x31a0b3,'icon':Vi}));});Mt['displayName']=_0x254dd6(0x23c);const Yi=_0x254dd6(0x181),Xi=_0x254dd6(0x2ac),Gi=_0x254dd6(0x208),Ki='univer-online',zi=_0x254dd6(0x262),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x3d36c2){const _0x3453a7=_0x254dd6;switch(_0x3d36c2){case _0xee00ed['OFFLINE']:return'collabStatus.offline';case _0xee00ed[_0x3453a7(0x204)]:return'collabStatus.conflict';case _0xee00ed[_0x3453a7(0x282)]:return _0x3453a7(0x233);case _0xee00ed[_0x3453a7(0xf5)]:return _0x3453a7(0xec);case _0xee00ed[_0x3453a7(0x2c9)]:case _0xee00ed['AWAITING_WITH_PENDING']:return _0x3453a7(0x21d);case _0xee00ed[_0x3453a7(0x159)]:case _0xee00ed[_0x3453a7(0x206)]:return'collabStatus.synced';}}function Zi(_0x24d635){const _0x115336=_0x254dd6,{status$:_0x8946a4}=_0x24d635,_0x4b05be=_0x186802(_0x8946a4,_0xee00ed['NOT_COLLAB']),_0x21e3e=_0x1fb475(_0x53dc03),_0x1bd04e=_0x1fb475(_0x59f118),_0x3a57f4=_0x4b05be!==_0xee00ed[_0x115336(0x1ba)],_0x216b17=_0x21e3e['t'](Ji(_0x4b05be)),_0x3bc100=_0xf9d0a2(G[_0x115336(0x250)],{[G[_0x115336(0x154)]]:_0x3a57f4,[G[_0x115336(0x298)]]:!_0x3a57f4}),_0x31c5b0=_0x3a57f4?_0x11a52d(Mt,{}):_0x11a52d(Pt,{}),_0x3d0400=_0xae6fc9(()=>{_0x3a57f4||_0x1bd04e['reconnect']();},[_0x3a57f4,_0x1bd04e]);function _0x9e0448(){const _0x52b476=_0x115336;return _0x5d2971('div',{'className':_0xf9d0a2(_0x3bc100,_0x52b476(0x2b8)),'onClick':_0x3d0400,'children':[_0x11a52d(_0x52b476(0x1d5),{'className':G['onlineStatusIcon'],'children':_0x31c5b0}),_0x11a52d(_0x52b476(0x1d5),{'className':G[_0x52b476(0x2a5)],'children':_0x216b17})]});}return _0x3a57f4?_0x9e0448():_0x11a52d(_0x1f3fd7,{'title':_0x21e3e['t'](_0x115336(0xe3)),'children':_0x9e0448()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x1b4433,_0x19700b,_0x2f6a01,_0x5284c1)=>{for(var _0x496923=_0x5284c1>0x1?void 0x0:_0x5284c1?Qi(_0x19700b,_0x2f6a01):_0x19700b,_0x4aa526=_0x1b4433['length']-0x1,_0x30b4c9;_0x4aa526>=0x0;_0x4aa526--)(_0x30b4c9=_0x1b4433[_0x4aa526])&&(_0x496923=_0x30b4c9(_0x496923)||_0x496923);return _0x496923;},q=(_0x366412,_0x10be3b)=>(_0x4b7c55,_0x479a93)=>_0x10be3b(_0x4b7c55,_0x479a93,_0x366412);let se=class extends _0x13b31d{constructor(_0x2a4399,_0x38603d,_0x2add32,_0x2c27b5){const _0x269f03=_0x254dd6;super(),h(this,_0x269f03(0x1e9),new _0x178130(_0xee00ed[_0x269f03(0xf5)])),(this[_0x269f03(0x223)]=_0x2a4399,this[_0x269f03(0x25e)]=_0x38603d,this[_0x269f03(0x21a)]=_0x2add32,this[_0x269f03(0x15d)]=_0x2c27b5,this[_0x269f03(0x1ce)](),this[_0x269f03(0x169)]());}['_initStatusListener'](){const _0x288648=_0x254dd6;this[_0x288648(0x1dc)](this['_univerInstanceService'][_0x288648(0xed)][_0x288648(0x163)](_0x5a2c79(()=>{const _0x1d01e2=_0x288648,_0x51277d=this[_0x1d01e2(0x223)][_0x1d01e2(0x14a)]();return _0x51277d?this[_0x1d01e2(0x21a)][_0x1d01e2(0x26e)](_0x51277d[_0x1d01e2(0x252)]()):_0x3085ce(null);}),_0x5a2c79(_0x545ac1=>_0x545ac1?_0x545ac1[_0x288648(0x2d0)]:_0x3085ce(_0xee00ed['NOT_COLLAB'])))['subscribe'](_0x82e152=>{const _0x499d08=_0x288648;this[_0x499d08(0x1e9)][_0x499d08(0x1ad)](_0x82e152);}));}['_initStatusComponent'](){const _0x419e9c=_0x254dd6;this[_0x419e9c(0x1dc)](this['_uiPartsService']['registerComponent'](_0x20cb2d[_0x419e9c(0x155)],()=>_0x5f00f9(en({'status$':this['_status$'][_0x419e9c(0x183)]()}),this[_0x419e9c(0x25e)])));}};se=qi([q(0x0,_0x5d3182),q(0x1,_0x1fe9bf(_0x1ef8fa)),q(0x2,_0x1fe9bf(_0x32f724)),q(0x3,_0x5cb4c3)],se);function en(_0x48c781){const {status$:_0x3cedd2}=_0x48c781;return function(){return _0x11a52d(Zi,{'status$':_0x3cedd2});};}var tn=Object[_0x254dd6(0x270)],sn=(_0x17f704,_0xc3a12d,_0x33bd86,_0x4b223c)=>{for(var _0x1f2ecf=_0x4b223c>0x1?void 0x0:_0x4b223c?tn(_0xc3a12d,_0x33bd86):_0xc3a12d,_0x17833b=_0x17f704['length']-0x1,_0x525217;_0x17833b>=0x0;_0x17833b--)(_0x525217=_0x17f704[_0x17833b])&&(_0x1f2ecf=_0x525217(_0x1f2ecf)||_0x1f2ecf);return _0x1f2ecf;},k=(_0x4a8e15,_0x14ab52)=>(_0x1428b4,_0x4cace9)=>_0x14ab52(_0x1428b4,_0x4cace9,_0x4a8e15);let ie=class extends _0x13b31d{constructor(_0x31e80f,_0x470311,_0x2176a5,_0x4615c4,_0x1c9f34,_0x160352){const _0x3bbbd8=_0x254dd6;super(),this[_0x3bbbd8(0x16e)]=_0x31e80f,this[_0x3bbbd8(0x1b8)]=_0x470311,this[_0x3bbbd8(0x1a0)]=_0x2176a5,this[_0x3bbbd8(0x2c2)]=_0x4615c4,this[_0x3bbbd8(0x2b7)]=_0x1c9f34,this['_localeService']=_0x160352,this[_0x3bbbd8(0x1a7)](),this[_0x3bbbd8(0x19c)]();}[_0x254dd6(0x1a7)](){const _0x3949fe=_0x254dd6;this[_0x3949fe(0x1dc)](this[_0x3949fe(0x16e)][_0x3949fe(0x177)](()=>{const _0x16a7b6=_0x3949fe;if(this['_localCacheService']['saveTaskMap'][_0x16a7b6(0x293)])return this[_0x16a7b6(0x24a)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x47cd2f=_0x254dd6;this[_0x47cd2f(0x1dc)](this[_0x47cd2f(0x1a0)][_0x47cd2f(0x2b1)][_0x47cd2f(0x179)](_0x2523cc=>{const _0x9941fe=_0x47cd2f;_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x2a1)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7['Warning'],'content':this['_localeService']['t'](_0x9941fe(0x1c1))}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x134)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x2a4)],'content':this[_0x9941fe(0x24a)]['t'](_0x9941fe(0x106))}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x12b)]&&this[_0x9941fe(0x2b7)][_0x9941fe(0x20c)]({'title':this['_localeService']['t'](_0x9941fe(0x1c7)),'content':this[_0x9941fe(0x24a)]['t'](_0x9941fe(0x143)),'type':_0x9941fe(0x14c),'duration':0x0}),_0x2523cc['id']===_0x1b5eb0['CONFLICT']&&this['_messageService'][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x1c2)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x2523cc['data']+')'}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0x19e)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x2a4)],'content':this['_localeService']['t'](_0x2523cc[_0x9941fe(0x1b7)]||'')}),_0x2523cc['id']===_0x1b5eb0['SOCKET_FAILED_RETRY']&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7[_0x9941fe(0x2a4)],'content':this[_0x9941fe(0x24a)]['t'](_0x9941fe(0x13d))}),_0x2523cc['id']===_0x1b5eb0['SOCKET_FAILED']&&this[_0x9941fe(0x2c2)]['show']({'type':_0x40fed7['Error'],'content':this[_0x9941fe(0x24a)]['t']('session.connection-failed')}),_0x2523cc['id']===_0x1b5eb0[_0x9941fe(0xf4)]&&this[_0x9941fe(0x2c2)][_0x9941fe(0x20c)]({'type':_0x40fed7['Error'],'content':this[_0x9941fe(0x24a)]['t']('session.collaboration-timeout')});}));}};ie=sn([k(0x0,_0x2047ff),k(0x1,_0x5cf72e),k(0x2,_0x1fe9bf(_0x4cb544)),k(0x3,_0x37f15d),k(0x4,_0xe3aff),k(0x5,_0x1fe9bf(_0x53dc03))],ie);const nn=_0x254dd6(0x1f1),st={},wt=_0x54bd59(_0x254dd6(0x29a));var rn=Object[_0x254dd6(0x270)],on=(_0x3e8fde,_0x40b89a,_0x52238b,_0x6720f7)=>{const _0x5b4981=_0x254dd6;for(var _0x4f483d=_0x6720f7>0x1?void 0x0:_0x6720f7?rn(_0x40b89a,_0x52238b):_0x40b89a,_0x2354fd=_0x3e8fde[_0x5b4981(0x23b)]-0x1,_0xacfd29;_0x2354fd>=0x0;_0x2354fd--)(_0xacfd29=_0x3e8fde[_0x2354fd])&&(_0x4f483d=_0xacfd29(_0x4f483d)||_0x4f483d);return _0x4f483d;},K=(_0x27b8b1,_0x393219)=>(_0x1a7380,_0x2f443d)=>_0x393219(_0x1a7380,_0x2f443d,_0x27b8b1);let ne=class extends _0x3114f0{constructor(_0x5e9ccf,_0x317135,_0x551132,_0x18807d,_0x320073){const _0x98558d=_0x254dd6;super(),this[_0x98558d(0x10e)]=_0x5e9ccf,this[_0x98558d(0x203)]=_0x317135,this[_0x98558d(0xe7)]=_0x551132,this[_0x98558d(0x214)]=_0x18807d,_0x320073?_0x320073==null||_0x320073[_0x98558d(0x222)]()[_0x98558d(0x246)](()=>this[_0x98558d(0x231)]()):(this[_0x98558d(0x203)][_0x98558d(0x16f)](_0x98558d(0x19d),_0x98558d(0x284)),this[_0x98558d(0x231)]());}async[_0x254dd6(0x231)](){const _0x46027b=_0x254dd6,_0x1334f2=this[_0x46027b(0x10e)][_0x46027b(0x1d4)]('unit'),_0x2b4a51=this[_0x46027b(0x10e)][_0x46027b(0x1d4)](_0x46027b(0x228)),_0xf71c9e=this[_0x46027b(0x10e)][_0x46027b(0x1d4)](_0x46027b(0x209));if(!_0x1334f2||!_0x2b4a51){this[_0x46027b(0x203)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x28695c=await this['_dataLoaderService'][_0x46027b(0x2b2)](_0x1334f2,Number(_0x2b4a51),_0xf71c9e);_0x28695c&&_0x28695c instanceof _0x3db73e&&this[_0x46027b(0x126)](_0x28695c);}async[_0x254dd6(0x126)](_0x30fc7c){const _0x8d95e8=_0x254dd6;await this['_updateSubUnitFromURLParams'](_0x30fc7c),_0x30fc7c[_0x8d95e8(0x10d)][_0x8d95e8(0x163)](_0x2515d3(this['dispose$']))['subscribe'](_0x2a390e=>{const _0x2c2e1d=_0x8d95e8;_0x2a390e&&this[_0x2c2e1d(0x170)](_0x2a390e);}),this[_0x8d95e8(0x10e)][_0x8d95e8(0x1b9)]['pipe'](_0x2515d3(this[_0x8d95e8(0x1f7)]))[_0x8d95e8(0x179)](()=>this[_0x8d95e8(0x1a1)](_0x30fc7c));}[_0x254dd6(0x170)](_0x549980,_0x4cb724=!0x1){const _0xa885b1=_0x254dd6,_0x49ab00=this[_0xa885b1(0x10e)][_0xa885b1(0x1d4)](_0xa885b1(0x209));_0x549980[_0xa885b1(0x17d)]()!==_0x49ab00&&this[_0xa885b1(0x10e)][_0xa885b1(0x144)](_0xa885b1(0x209),_0x549980[_0xa885b1(0x17d)](),_0x4cb724);}async[_0x254dd6(0x1a1)](_0x3d3679){const _0x376bcb=_0x254dd6;var _0x68caf7;const _0x146919=this[_0x376bcb(0x10e)]['getParam']('subunit');if(!_0x146919||!_0x3d3679[_0x376bcb(0x162)](_0x146919)){const _0x1823fd=_0x3d3679['getUnhiddenWorksheets']()[0x0],_0x36fc3e=_0x3d3679[_0x376bcb(0x162)](_0x1823fd);if(!_0x36fc3e)return;this[_0x376bcb(0x170)](_0x36fc3e,!0x0),await this[_0x376bcb(0xe7)][_0x376bcb(0x1ac)](_0x1bd38a['id'],{'unitId':_0x3d3679['getUnitId'](),'subUnitId':_0x1823fd});return;}((_0x68caf7=_0x3d3679['getActiveSheet']())==null?void 0x0:_0x68caf7[_0x376bcb(0x17d)]())!==_0x146919&&await this[_0x376bcb(0xe7)]['executeCommand'](_0x1bd38a['id'],{'unitId':_0x3d3679[_0x376bcb(0x252)](),'subUnitId':_0x146919});}};ne=on([K(0x0,wt),K(0x1,_0x12ec0c),K(0x2,_0x17137b),K(0x3,_0x1fe9bf(_0x57a8f9)),K(0x4,_0x4beb0b(_0x49f88d))],ne);var an=Object[_0x254dd6(0x270)],cn=(_0xfde355,_0x1985d4,_0x2b9957,_0x3fe805)=>{const _0x3860cc=_0x254dd6;for(var _0x1252fc=_0x3fe805>0x1?void 0x0:_0x3fe805?an(_0x1985d4,_0x2b9957):_0x1985d4,_0x13eed0=_0xfde355[_0x3860cc(0x23b)]-0x1,_0x2101d7;_0x13eed0>=0x0;_0x13eed0--)(_0x2101d7=_0xfde355[_0x13eed0])&&(_0x1252fc=_0x2101d7(_0x1252fc)||_0x1252fc);return _0x1252fc;},Ce=(_0x3edffb,_0x22d3a6)=>(_0xa0eb7d,_0x4e3f8)=>_0x22d3a6(_0xa0eb7d,_0x4e3f8,_0x3edffb);let re=class{constructor(_0x186b34,_0xa352cd,_0x4f09b0){const _0x385d1e=_0x254dd6;this[_0x385d1e(0x25e)]=_0x186b34,this[_0x385d1e(0x168)]=_0xa352cd,this[_0x385d1e(0x11f)]=_0x4f09b0;}['transformIMECache'](_0x5f4a06){const _0x299219=_0x254dd6;this[_0x299219(0x139)](_0x5f4a06),this[_0x299219(0x1ed)](_0x5f4a06);}['transformRemoteChangeset'](_0x478e97){const _0x4e45cc=_0x254dd6,{unitID:_0x6da6ed}=_0x478e97,_0xf99a83=this[_0x4e45cc(0x11f)]['getRenderById'](_0x6da6ed)[_0x4e45cc(0x1ff)](_0x59314d),{redoCache:_0x1af680}=_0xf99a83[_0x4e45cc(0x1d2)]();if(_0x1af680[_0x4e45cc(0x23b)]===0x0)return _0x478e97;let _0x1093f8=_0x1589f5[_0x4e45cc(0x1e3)](_0x478e97[_0x4e45cc(0x21e)][0x0]);for(let _0x5cc28f=0x0;_0x5cc28f<_0x1af680[_0x4e45cc(0x23b)];_0x5cc28f++){const _0x2d3e94={'id':'doc.mutation.rich-text-editing','params':{..._0x1af680[_0x5cc28f]}},_0x13da75=this[_0x4e45cc(0x168)][_0x4e45cc(0x1f4)](_0x1093f8,_0x2d3e94,!0x1);if(_0x428f2f(_0x13da75))throw _0x13da75[_0x4e45cc(0x14c)];_0x1093f8=_0x13da75[_0x4e45cc(0x1ef)];}return{..._0x1589f5[_0x4e45cc(0x1e3)](_0x478e97),'mutations':[_0x1093f8]};}[_0x254dd6(0x139)](_0x52c3ed){const _0x3de614=_0x254dd6,{unitID:_0x1b8c64}=_0x52c3ed,_0x4b5e4c=this[_0x3de614(0x11f)][_0x3de614(0x2a0)](_0x1b8c64)[_0x3de614(0x1ff)](_0x59314d),{undoCache:_0x1a4ed5,redoCache:_0x1c9201}=_0x4b5e4c[_0x3de614(0x1d2)]();if(_0x1a4ed5[_0x3de614(0x23b)]===0x0||_0x1c9201['length']===0x0)return;const _0x5b1ca8=[],_0x462378=[];let _0x2fa94f=_0x1589f5[_0x3de614(0x1e3)](_0x52c3ed[_0x3de614(0x21e)][0x0]),_0x28a926=_0x1589f5[_0x3de614(0x1e3)](_0x52c3ed['mutations'][0x0]);for(let _0x341c4a=_0x1a4ed5[_0x3de614(0x23b)]-0x1;_0x341c4a>=0x0;_0x341c4a--){const _0x4c1aed={'id':'doc.mutation.rich-text-editing','params':{..._0x1a4ed5[_0x341c4a]}},_0x38d44f={'id':_0x3de614(0xfa),'params':{..._0x1c9201[_0x341c4a]}},_0x25fa85=this[_0x3de614(0x168)][_0x3de614(0x1f4)](_0x2fa94f,_0x4c1aed,!0x1),_0x157e3e=this[_0x3de614(0x168)][_0x3de614(0x1f4)](_0x28a926,_0x38d44f,!0x1);if(_0x428f2f(_0x25fa85))throw _0x25fa85[_0x3de614(0x14c)];if(_0x428f2f(_0x157e3e))throw _0x157e3e['error'];_0x5b1ca8[_0x3de614(0x2a3)](_0x25fa85[_0x3de614(0xe8)][_0x3de614(0x253)]),_0x462378['unshift'](_0x157e3e[_0x3de614(0xe8)][_0x3de614(0x253)]),_0x2fa94f=_0x25fa85[_0x3de614(0x1ef)],_0x28a926=_0x157e3e[_0x3de614(0x1ef)];}_0x4b5e4c[_0x3de614(0x29d)]({'undoCache':_0x5b1ca8,'redoCache':_0x462378});}[_0x254dd6(0x1ed)](_0x1e76dd){const _0x15bba8=_0x254dd6,{unitID:_0x4b7bea}=_0x1e76dd,_0x1983db=this[_0x15bba8(0x11f)][_0x15bba8(0x2a0)](_0x4b7bea)[_0x15bba8(0x1ff)](_0x59314d),_0x58a7c3=_0x1983db['getActiveRange']();if(_0x58a7c3==null)return;const _0x21b26b=[{'id':_0x15bba8(0xfa),'params':{'unitId':_0x1e76dd['unitID'],'actions':null,'textRanges':[_0x58a7c3]}}],_0x3b87fb=this[_0x15bba8(0x168)][_0x15bba8(0x13c)](_0x1e76dd,_0x21b26b);if(!_0x4eb3ba(_0x3b87fb))throw _0x3b87fb[_0x15bba8(0x14c)];const _0x263daa=_0x3b87fb['m2Prime'][0x0]['params']['textRanges'];Array[_0x15bba8(0x2d8)](_0x263daa)&&_0x263daa['length']&&_0x1983db[_0x15bba8(0x288)](_0x263daa[0x0]);}};re=cn([Ce(0x0,_0x1fe9bf(_0x1ef8fa)),Ce(0x1,_0xbe6581),Ce(0x2,_0x4b8867)],re);var ln=Object[_0x254dd6(0x270)],hn=(_0x5e7298,_0x2e89c6,_0xb8c8eb,_0x4eabbf)=>{const _0x1b66ca=_0x254dd6;for(var _0x3dfe45=_0x4eabbf>0x1?void 0x0:_0x4eabbf?ln(_0x2e89c6,_0xb8c8eb):_0x2e89c6,_0x10a9c2=_0x5e7298[_0x1b66ca(0x23b)]-0x1,_0x2fbc46;_0x10a9c2>=0x0;_0x10a9c2--)(_0x2fbc46=_0x5e7298[_0x10a9c2])&&(_0x3dfe45=_0x2fbc46(_0x3dfe45)||_0x3dfe45);return _0x3dfe45;},be=(_0x2025ab,_0x2d55d3)=>(_0xa1464d,_0x1c8c01)=>_0x2d55d3(_0xa1464d,_0x1c8c01,_0x2025ab);let oe=class{constructor(_0x4d5487,_0x4ba770,_0x3a62be){const _0x22fc01=_0x254dd6;this[_0x22fc01(0x25e)]=_0x4d5487,this[_0x22fc01(0x168)]=_0x4ba770,this[_0x22fc01(0x110)]=_0x3a62be;}['transformStateCache'](_0x4c94a0){const _0x35c02e=_0x254dd6;this[_0x35c02e(0x1a8)](_0x4c94a0);}[_0x254dd6(0x1cb)](_0x5b2423){const _0x1bd7f6=_0x254dd6,{unitID:_0x105493}=_0x5b2423,{collaboration:_0x369ec0}=this[_0x1bd7f6(0x110)][_0x1bd7f6(0x12c)](_0x105493);if(_0x369ec0[_0x1bd7f6(0x23b)]===0x0)return _0x5b2423;let _0x4263f2=_0x1589f5[_0x1bd7f6(0x1e3)](_0x5b2423[_0x1bd7f6(0x21e)][0x0]);for(let _0x8a77d5=0x0;_0x8a77d5<_0x369ec0[_0x1bd7f6(0x23b)];_0x8a77d5++){const _0x7f75af={'id':_0x1bd7f6(0xfa),'params':{'unitId':_0x369ec0[_0x8a77d5][_0x1bd7f6(0x2b5)],..._0x369ec0[_0x8a77d5][_0x1bd7f6(0x2d4)]}},_0xfab304=this['_transformService'][_0x1bd7f6(0x1f4)](_0x4263f2,_0x7f75af,!0x1);if(_0x428f2f(_0xfab304))throw _0xfab304['error'];_0x4263f2=_0xfab304[_0x1bd7f6(0x1ef)];}return{..._0x1589f5[_0x1bd7f6(0x1e3)](_0x5b2423),'mutations':[_0x4263f2]};}[_0x254dd6(0x1a8)](_0x5537b0){const _0x2e9906=_0x254dd6,{unitID:_0x9a90d}=_0x5537b0,{history:_0xa0624,collaboration:_0x4fafc2}=this[_0x2e9906(0x110)][_0x2e9906(0x12c)](_0x9a90d);if(_0xa0624[_0x2e9906(0x23b)]===0x0&&_0x4fafc2[_0x2e9906(0x23b)]===0x0)return;const _0x1c5ae4=[],_0xf183db=[];let _0x296367=_0x1589f5[_0x2e9906(0x1e3)](_0x5537b0['mutations'][0x0]),_0x216907=_0x1589f5[_0x2e9906(0x1e3)](_0x5537b0[_0x2e9906(0x21e)][0x0]);for(let _0x369c56=_0xa0624[_0x2e9906(0x23b)]-0x1;_0x369c56>=0x0;_0x369c56--){const _0x43b426={'id':_0x2e9906(0xfa),'params':{'unitId':_0xa0624[_0x369c56][_0x2e9906(0x2b5)],..._0xa0624[_0x369c56][_0x2e9906(0xea)]}},_0x51163b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa0624[_0x369c56][_0x2e9906(0x2b5)],..._0xa0624[_0x369c56][_0x2e9906(0x2d4)]}},_0x5d382e=this[_0x2e9906(0x168)][_0x2e9906(0x1f4)](_0x296367,_0x43b426,!0x1),_0x4bba79=this[_0x2e9906(0x168)]['transformMutation'](_0x216907,_0x51163b,!0x1);if(_0x428f2f(_0x5d382e))throw _0x5d382e[_0x2e9906(0x14c)];if(_0x428f2f(_0x4bba79))throw _0x4bba79[_0x2e9906(0x14c)];_0x1c5ae4['unshift']({..._0xa0624[_0x369c56],'undoState':_0x5d382e[_0x2e9906(0xe8)]['params'],'redoState':_0x4bba79['m2Prime']['params']}),_0x296367=_0x5d382e['m1Prime'],_0x216907=_0x4bba79[_0x2e9906(0x1ef)];}_0x296367=_0x1589f5['deepClone'](_0x5537b0[_0x2e9906(0x21e)][0x0]),_0x216907=_0x1589f5[_0x2e9906(0x1e3)](_0x5537b0[_0x2e9906(0x21e)][0x0]);for(let _0x1af8c4=_0x4fafc2[_0x2e9906(0x23b)]-0x1;_0x1af8c4>=0x0;_0x1af8c4--){const _0x2f235b={'id':_0x2e9906(0xfa),'params':{'unitId':_0x4fafc2[_0x1af8c4][_0x2e9906(0x2b5)],..._0x4fafc2[_0x1af8c4][_0x2e9906(0xea)]}},_0x402eea={'id':_0x2e9906(0xfa),'params':{'unitId':_0x4fafc2[_0x1af8c4][_0x2e9906(0x2b5)],..._0x4fafc2[_0x1af8c4][_0x2e9906(0x2d4)]}},_0x17d7c5=this['_transformService'][_0x2e9906(0x1f4)](_0x296367,_0x2f235b,!0x1),_0x328b5f=this[_0x2e9906(0x168)]['transformMutation'](_0x216907,_0x402eea,!0x1);if(_0x428f2f(_0x17d7c5))throw _0x17d7c5[_0x2e9906(0x14c)];if(_0x428f2f(_0x328b5f))throw _0x328b5f[_0x2e9906(0x14c)];_0xf183db['unshift']({..._0x4fafc2[_0x1af8c4],'undoState':_0x17d7c5['m2Prime']['params'],'redoState':_0x328b5f[_0x2e9906(0xe8)][_0x2e9906(0x253)]}),_0x296367=_0x17d7c5[_0x2e9906(0x1ef)],_0x216907=_0x328b5f[_0x2e9906(0x1ef)];}this['_docStateChangeManagerService'][_0x2e9906(0x274)](_0x9a90d,{'history':_0x1c5ae4,'collaboration':_0xf183db});}};oe=hn([be(0x0,_0x1fe9bf(_0x1ef8fa)),be(0x1,_0xbe6581),be(0x2,_0x1fe9bf(_0xdd8c19))],oe);var _n=Object[_0x254dd6(0x270)],un=(_0x453ed3,_0x37446f,_0x216374,_0x2a903c)=>{const _0x23b318=_0x254dd6;for(var _0x490790=_0x2a903c>0x1?void 0x0:_0x2a903c?_n(_0x37446f,_0x216374):_0x37446f,_0x8507a6=_0x453ed3[_0x23b318(0x23b)]-0x1,_0x53c57b;_0x8507a6>=0x0;_0x8507a6--)(_0x53c57b=_0x453ed3[_0x8507a6])&&(_0x490790=_0x53c57b(_0x490790)||_0x490790);return _0x490790;},it=(_0x508edb,_0x1639ac)=>(_0x43ef8a,_0x15b884)=>_0x1639ac(_0x43ef8a,_0x15b884,_0x508edb);let ae=class{constructor(_0x8deb18,_0x2ada28){this['_injector']=_0x8deb18,this['_transformService']=_0x2ada28;}[_0x254dd6(0xe9)](_0x53bc87){const _0x3b251f=_0x254dd6;var _0x469de0;const _0x4fa078=this[_0x3b251f(0x25e)][_0x3b251f(0x29f)](_0x5f2b61),_0x367699=(_0x469de0=_0x4fa078['getDocRanges']())!=null?_0x469de0:[];if(_0x367699['length']===0x0)return;const _0x2e5945=_0x53bc87[_0x3b251f(0x10b)],_0x4dd972=[{'id':_0x3b251f(0xfa),'params':{'unitId':_0x2e5945,'actions':null,'textRanges':_0x367699}}],_0x1ba39a=this[_0x3b251f(0x168)][_0x3b251f(0x13c)](_0x53bc87,_0x4dd972);if(!_0x4eb3ba(_0x1ba39a))throw _0x1ba39a[_0x3b251f(0x14c)];const _0x2f3128=_0x1ba39a[_0x3b251f(0xe8)][0x0][_0x3b251f(0x253)][_0x3b251f(0x18b)];Array[_0x3b251f(0x2d8)](_0x2f3128)&&_0x2f3128['length']&&_0x4fa078[_0x3b251f(0x201)](_0x2f3128,{'unitId':_0x2e5945,'subUnitId':_0x2e5945},!0x1);}};ae=un([it(0x0,_0x1fe9bf(_0x1ef8fa)),it(0x1,_0xbe6581)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x335ce6,_0x2792d4,_0xef6ce5,_0x2da2d4)=>{const _0x37a29c=_0x254dd6;for(var _0x35e819=_0x2da2d4>0x1?void 0x0:_0x2da2d4?dn(_0x2792d4,_0xef6ce5):_0x2792d4,_0x12387f=_0x335ce6[_0x37a29c(0x23b)]-0x1,_0x46dccf;_0x12387f>=0x0;_0x12387f--)(_0x46dccf=_0x335ce6[_0x12387f])&&(_0x35e819=_0x46dccf(_0x35e819)||_0x35e819);return _0x35e819;},P=(_0x4841a9,_0x4d0536)=>(_0x1df2b7,_0x51cbd3)=>_0x4d0536(_0x1df2b7,_0x51cbd3,_0x4841a9);let ce=class extends _0x13b31d{constructor(_0x7036e0,_0x25cd22,_0x4d3c8d,_0x2dfd66,_0x34e7ce,_0x31cf46,_0x525890,_0x4f975d){const _0x57e841=_0x254dd6;super(),h(this,_0x57e841(0x1e9),new _0x178130(_0xee00ed[_0x57e841(0xf5)])),(this[_0x57e841(0x110)]=_0x7036e0,this[_0x57e841(0x21a)]=_0x25cd22,this[_0x57e841(0x2c6)]=_0x4d3c8d,this[_0x57e841(0x271)]=_0x2dfd66,this[_0x57e841(0x239)]=_0x34e7ce,this[_0x57e841(0x17c)]=_0x31cf46,this[_0x57e841(0x2c2)]=_0x525890,this[_0x57e841(0x24a)]=_0x4f975d,this['_initEntityListener']());}['_initEntityListener'](){const _0x340e1b=_0x254dd6;this[_0x340e1b(0x1dc)](this[_0x340e1b(0x21a)][_0x340e1b(0x1df)][_0x340e1b(0x179)](_0x192919=>{const _0x136824=_0x340e1b,_0x4560d4=this[_0x136824(0x110)][_0x136824(0x255)][_0x136824(0x179)](_0x5ac5f3=>{const _0x1de212=_0x136824;if(_0x5ac5f3==null)return;const {unitId:_0x931dd3,redoState:_0x51461b,commandId:_0x41db8c}=_0x5ac5f3;if(_0x931dd3!==_0x192919[_0x1de212(0x10b)])return;const _0x3af067={'id':_0x41db8c,'type':_0x14cec7[_0x1de212(0x1fb)],'params':{'unitId':_0x931dd3,'actions':_0x51461b[_0x1de212(0x237)],'textRanges':null}};_0x192919[_0x1de212(0x200)](_0x3af067);});if(_0x192919['disposeWithMe'](_0x4560d4),_0x192919 instanceof _0x5bc4bc){const _0x348ccc={'onTransformIME':_0xd99de=>this[_0x136824(0x2c6)][_0x136824(0x2dc)](_0xd99de),'onTransformState':_0x2aabbd=>this[_0x136824(0x271)][_0x136824(0x1ae)](_0x2aabbd),'onTransformSelections':_0x2ff69b=>this[_0x136824(0x239)]['transformSelections'](_0x2ff69b),'onSyncEditingCollabCursor':_0x412fdf=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x412fdf),'onTransformRemoteChangesetByIMECache':_0x55a754=>this[_0x136824(0x2c6)][_0x136824(0x1cb)](_0x55a754),'onTransformRemoteChangesetByStateCache':_0x4e82ea=>this[_0x136824(0x271)][_0x136824(0x1cb)](_0x4e82ea)};_0x192919[_0x136824(0x133)](_0x348ccc);}}));}};ce=fn([P(0x0,_0x1fe9bf(_0xdd8c19)),P(0x1,_0x1fe9bf(_0x32f724)),P(0x2,_0x1fe9bf(re)),P(0x3,_0x1fe9bf(oe)),P(0x4,_0x1fe9bf(ae)),P(0x5,_0x1fe9bf(je)),P(0x6,_0x37f15d),P(0x7,_0x1fe9bf(_0x53dc03))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x45f0e9,_0x35011c,_0x28967e,_0xe8fa54)=>{const _0x28b747=_0x254dd6;for(var _0x2be9a0=_0xe8fa54>0x1?void 0x0:_0xe8fa54?Sn(_0x35011c,_0x28967e):_0x35011c,_0x324e2e=_0x45f0e9[_0x28b747(0x23b)]-0x1,_0x14d416;_0x324e2e>=0x0;_0x324e2e--)(_0x14d416=_0x45f0e9[_0x324e2e])&&(_0x2be9a0=_0x14d416(_0x2be9a0)||_0x2be9a0);return _0x2be9a0;},Ee=(_0x489a71,_0x330547)=>(_0x4fb8a7,_0x5b99d1)=>_0x330547(_0x4fb8a7,_0x5b99d1,_0x489a71);let Ae=class extends _0x13b31d{constructor(_0x13967e,_0x323d2f,_0x1a53ca){const _0x5c5ec0=_0x254dd6;super(),h(this,'_cachedData',new Map()),h(this,_0x5c5ec0(0x2a8),new Map()),h(this,_0x5c5ec0(0xe2),!0x1),(this['_configService']=_0x13967e,this[_0x5c5ec0(0x17a)]=_0x323d2f,this[_0x5c5ec0(0x207)]=_0x1a53ca);}['disableLocalCache'](){const _0x133048=_0x254dd6;this[_0x133048(0xe2)]=!0x0;}[_0x254dd6(0x28e)](){const _0x198aa1=_0x254dd6;this[_0x198aa1(0xe2)]=!0x1;}get[_0x254dd6(0x12d)](){const _0x4e52b2=_0x254dd6;return this[_0x4e52b2(0x2a8)];}['dispose'](){const _0x2f2cf4=_0x254dd6;this[_0x2f2cf4(0x28c)]()[_0x2f2cf4(0x246)](()=>super[_0x2f2cf4(0x105)]());}async['loadOfflineData'](_0x3bdeeb){const _0x268853=_0x254dd6;return this['_disabled']?null:this[_0x268853(0x17a)][_0x268853(0x2ab)](_0xdd96af(_0x3bdeeb));}async[_0x254dd6(0x123)](_0x500fd9,_0x309e46){const _0x3393f9=_0x254dd6;return!!this[_0x3393f9(0x17a)][_0x3393f9(0x2cb)](_0x500fd9,_0x309e46);}['updateOfflineData'](_0x2841fa,_0x49f033,_0x6c4d67,_0x3590c6){const _0x37fe23=_0x254dd6,_0xfa3967=this['_revisionService'][_0x37fe23(0x2ad)](_0x2841fa);this[_0x37fe23(0xfd)][_0x37fe23(0x287)](_0x2841fa,{'unitID':_0x2841fa,'type':_0x49f033,'awaitingChangeset':_0x6c4d67,'mutations':_0x3590c6,'rev':_0xfa3967}),this[_0x37fe23(0x2a8)][_0x37fe23(0x20a)](_0x2841fa)||this[_0x37fe23(0x15e)](_0x2841fa);}[_0x254dd6(0x15e)](_0x4e22aa){const _0x2da0b9=_0x254dd6,_0x41e1b3=this[_0x2da0b9(0x1d0)]();_0x41e1b3===0x0?this[_0x2da0b9(0x212)](_0x4e22aa):this[_0x2da0b9(0x2a8)][_0x2da0b9(0x287)](_0x4e22aa,setTimeout(()=>this[_0x2da0b9(0x212)](_0x4e22aa),_0x41e1b3));}[_0x254dd6(0x1d0)](){const _0x4c23a1=_0x254dd6;var _0x579e8f;return(_0x579e8f=this[_0x4c23a1(0x1f0)]['getConfig'](_0xbecbae))!=null?_0x579e8f:_0x46d8ba;}[_0x254dd6(0x212)](_0x2729fb){const _0x109baa=_0x254dd6,_0x34ad5b=this[_0x109baa(0x2a8)][_0x109baa(0x29f)](_0x2729fb);return _0x34ad5b!==void 0x0&&window[_0x109baa(0x259)](_0x34ad5b),this[_0x109baa(0x17a)][_0x109baa(0x2cb)](_0xdd96af(_0x2729fb),this[_0x109baa(0xfd)][_0x109baa(0x29f)](_0x2729fb))[_0x109baa(0x246)](()=>this[_0x109baa(0x2a8)][_0x109baa(0x276)](_0x2729fb));}async['exhaustSavingTask'](){const _0x1e69d7=_0x254dd6,_0x3142fb=[];this[_0x1e69d7(0x2a8)][_0x1e69d7(0x1be)]((_0x14e329,_0x5a3c4c)=>{const _0x56d18a=_0x1e69d7;window[_0x56d18a(0x259)](_0x14e329),_0x3142fb[_0x56d18a(0x198)](this[_0x56d18a(0x212)](_0x5a3c4c)[_0x56d18a(0x246)](()=>{this['_saveTaskMap']['delete'](_0x5a3c4c);}));}),await Promise[_0x1e69d7(0x243)](_0x3142fb);}};Ae=mn([Ee(0x0,_0x14b648),Ee(0x1,_0x5122c0),Ee(0x2,_0x1fe9bf(_0x53939e))],Ae);class gn extends _0x3114f0{constructor(){const _0x5958a2=_0x254dd6;super(),h(this,'urlChange$'),this[_0x5958a2(0x1b9)]=_0x3a13d2(window,'popstate')[_0x5958a2(0x163)](_0x2515d3(this['dispose$']),_0x3c7d0e(0x1),_0x40e4dd(void 0x0));}[_0x254dd6(0x144)](_0x557f98,_0x541d1f,_0x41206f=!0x1){const _0x5945a2=_0x254dd6,_0x442400=new URL(window[_0x5945a2(0x1cc)][_0x5945a2(0x20d)]);_0x442400[_0x5945a2(0x286)]['set'](_0x557f98,_0x541d1f),_0x41206f?window[_0x5945a2(0x225)][_0x5945a2(0x2b0)]('','',_0x442400['toString']()):window['history']['pushState']('','',_0x442400[_0x5945a2(0x2cf)]());}[_0x254dd6(0x28a)](_0x290440,_0x3defac=!0x1){const _0x31217d=_0x254dd6,_0x4ac0f3=new URL(window[_0x31217d(0x1cc)][_0x31217d(0x20d)]);_0x4ac0f3['searchParams'][_0x31217d(0x276)](_0x290440),_0x3defac?window[_0x31217d(0x225)][_0x31217d(0x2b0)]('','',_0x4ac0f3[_0x31217d(0x2cf)]()):window[_0x31217d(0x225)][_0x31217d(0x19a)]('','',_0x4ac0f3[_0x31217d(0x2cf)]());}['getParam'](_0x4b5c3f){const _0x38462d=_0x254dd6;var _0x5d2f0b;return(_0x5d2f0b=new URL(window[_0x38462d(0x1cc)][_0x38462d(0x20d)])[_0x38462d(0x286)]['get'](_0x4b5c3f))!=null?_0x5d2f0b:void 0x0;}}var vn=Object[_0x254dd6(0x2bf)],In=Object['getOwnPropertyDescriptor'],pn=(_0x23d80b,_0x2861e9,_0x519216)=>_0x2861e9 in _0x23d80b?vn(_0x23d80b,_0x2861e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x519216}):_0x23d80b[_0x2861e9]=_0x519216,Cn=(_0x1db331,_0x3ff754,_0x15eb6f,_0x3a11cb)=>{const _0x46dd4d=_0x254dd6;for(var _0x3e9f98=_0x3a11cb>0x1?void 0x0:_0x3a11cb?In(_0x3ff754,_0x15eb6f):_0x3ff754,_0x534832=_0x1db331[_0x46dd4d(0x23b)]-0x1,_0xfb4e2;_0x534832>=0x0;_0x534832--)(_0xfb4e2=_0x1db331[_0x534832])&&(_0x3e9f98=_0xfb4e2(_0x3e9f98)||_0x3e9f98);return _0x3e9f98;},Oe=(_0x1de5d6,_0x31df75)=>(_0x335ba1,_0x528d34)=>_0x31df75(_0x335ba1,_0x528d34,_0x1de5d6),bn=(_0x1eb47b,_0x2e87df,_0x375d46)=>pn(_0x1eb47b,_0x2e87df+'',_0x375d46);const En='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x380430{constructor(_0x442170=st,_0x2736c3,_0x2cb199,_0x4c4743){const _0x3924af=_0x254dd6;super(),this['_config']=_0x442170,this[_0x3924af(0x11f)]=_0x2736c3,this[_0x3924af(0x25e)]=_0x2cb199,this['_configService']=_0x4c4743;const {..._0x54f79b}=_0xf75b00({},st,this[_0x3924af(0x18a)]);this[_0x3924af(0x1f0)][_0x3924af(0x1b2)](nn,_0x54f79b);}[_0x254dd6(0x2ce)](){const _0x3e3196=_0x254dd6;this[_0x3e3196(0x295)](),this[_0x3e3196(0x13e)]();}['onRendered'](){const _0x1f128b=_0x254dd6;this[_0x1f128b(0x26f)]();}['_registerDependencies'](){const _0x25795d=_0x254dd6;var _0x130b75;const _0x19658d=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x122748,{'useClass':_0x1119e7}],[_0x5cf72e,{'useClass':Ae}],[se],[ce],[ie],[H],[Pe],[ne]];_0x2bccfd(this[_0x25795d(0x25e)],_0xec91eb(_0x19658d,(_0x130b75=this[_0x25795d(0x18a)])==null?void 0x0:_0x130b75['override']));}[_0x254dd6(0x26f)](){const _0x4990bb=_0x254dd6;this['disposeWithMe'](this[_0x4990bb(0x11f)][_0x4990bb(0x122)](_0x18724c[_0x4990bb(0xf2)],[Ue])),this[_0x4990bb(0x1dc)](this[_0x4990bb(0x11f)]['registerRenderModule'](_0x18724c['UNIVER_SHEET'],[Le]));}['_initDependencies'](){_0x49b911(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x40cda0(_0x418593),Oe(0x1,_0x4b8867),Oe(0x2,_0x1fe9bf(_0x1ef8fa)),Oe(0x3,_0x14b648)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x2b1167,_0xaea29f,_0x1bf885,_0x4b6297)=>{for(var _0x34bab8=_0x4b6297>0x1?void 0x0:_0x4b6297?On(_0xaea29f,_0x1bf885):_0xaea29f,_0x335f38=_0x2b1167['length']-0x1,_0x2590fc;_0x335f38>=0x0;_0x335f38--)(_0x2590fc=_0x2b1167[_0x335f38])&&(_0x34bab8=_0x2590fc(_0x34bab8)||_0x34bab8);return _0x34bab8;},z=(_0x21aa98,_0x28c437)=>(_0x8f1e45,_0x1536bd)=>_0x28c437(_0x8f1e45,_0x1536bd,_0x21aa98);let nt=class extends _0x1ac233{constructor(_0x2769ba,_0x609708,_0x250f82,_0x1cb2a9,_0x50da05){super(_0x2769ba,_0x609708,_0x250f82,_0x1cb2a9,_0x50da05);}async[_0x254dd6(0x27d)](_0x3fea0d){const _0x1fdaa4=_0x254dd6,_0x496a3b=await this[_0x1fdaa4(0x100)](),_0x1f721f=this[_0x1fdaa4(0x277)](_0x3fea0d,_0x496a3b);return this['_doCreateSocket'](_0x1f721f);}[_0x254dd6(0x277)](_0x35c93c,_0x26a881){const _0x315ae7=_0x254dd6,_0x3d80b2=typeof window>'u'?new URL(_0x35c93c):new URL(_0x35c93c,window[_0x315ae7(0x1cc)][_0x315ae7(0x291)]);_0x3d80b2['searchParams']['set'](_0x315ae7(0x137),_0x26a881);const _0x375370=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x315ae7(0x1cc)][_0x315ae7(0x290)]);return _0x375370[_0x315ae7(0x29f)](_0x315ae7(0x24f))&&_0x3d80b2[_0x315ae7(0x286)]['set'](_0x315ae7(0x24f),_0x375370[_0x315ae7(0x29f)](_0x315ae7(0x24f))),_0x3d80b2[_0x315ae7(0x2cf)]();}async[_0x254dd6(0x100)](){const _0x2e7fb7=_0x254dd6;var _0x35a814,_0x5f546a,_0x2a3846;const _0x7f1175=this['_configService']['getConfig'](_0x32eecf),_0x5f7146=(_0x35a814=_0x7f1175==null?void 0x0:_0x7f1175['wsSessionTicketUrl'])!=null?_0x35a814:_0x209df0;return(_0x2a3846=(_0x5f546a=(await this[_0x2e7fb7(0x28d)][_0x2e7fb7(0x29f)](_0x5f7146,{'headers':{'Content-Type':_0x2e7fb7(0x2c5)}}))[_0x2e7fb7(0x1aa)])==null?void 0x0:_0x5f546a[_0x2e7fb7(0x130)])!=null?_0x2a3846:'';}};nt=Tn([z(0x0,_0x1fe9bf(_0x1ef8fa)),z(0x1,_0x1fe9bf(_0x313693)),z(0x2,_0x14b648),z(0x3,_0x12ec0c),z(0x4,_0x399ebe)],nt);const rt=0x7530,ot=_0x254dd6(0x2da);class Gn extends _0x13b31d{constructor(){const _0x1c2ab0=_0x254dd6;super(),h(this,'_id',_0x7c84c4()),h(this,_0x1c2ab0(0x2b4),new Set()),h(this,_0x1c2ab0(0x191),new Map()),h(this,_0x1c2ab0(0x109),null),h(this,'_clearOtherTimers',new Map()),h(this,'_unitStatus',new Map()),this[_0x1c2ab0(0x231)]();}[_0x254dd6(0x105)](){const _0x53f7e0=_0x254dd6;super[_0x53f7e0(0x105)](),this[_0x53f7e0(0x2c0)][_0x53f7e0(0x1be)]((_0x27b7d7,_0x1a3e02)=>this['_removeClearOtherTimer'](_0x1a3e02)),this[_0x53f7e0(0x109)]&&window[_0x53f7e0(0x211)](this[_0x53f7e0(0x109)]);}[_0x254dd6(0x15c)](_0x3ae1f6){return this['_ensureSubject'](_0x3ae1f6)['pipe'](_0x4aad3c());}[_0x254dd6(0x160)](_0x9a592){const _0x5a5746=_0x254dd6;this[_0x5a5746(0x2b4)][_0x5a5746(0x293)]===0x0&&this[_0x5a5746(0x22f)](),this[_0x5a5746(0x2b4)][_0x5a5746(0x261)](_0x9a592),this[_0x5a5746(0x294)]({'type':0x0,'memberID':this[_0x5a5746(0xee)],'unitIDs':[_0x9a592],'isForwarded':!0x1});}['disposeUnit'](_0x189291){const _0x4a5ba2=_0x254dd6;this['_selfUnitIDs'][_0x4a5ba2(0x276)](_0x189291),this['_selfUnitIDs'][_0x4a5ba2(0x293)]===0x0&&this[_0x4a5ba2(0x109)]&&window[_0x4a5ba2(0x211)](this[_0x4a5ba2(0x109)]);}[_0x254dd6(0x231)](){const _0x350a02=_0x254dd6;this[_0x350a02(0x1dc)](_0x444d87(_0x3a13d2(window,'storage')[_0x350a02(0x179)](_0x113dcb=>{const _0x306300=_0x350a02;if(_0x113dcb['key']!==ot||!_0x113dcb[_0x306300(0x236)])return;const _0x1afab1=JSON[_0x306300(0x135)](_0x113dcb[_0x306300(0x236)]);this[_0x306300(0x114)](_0x1afab1);}))),window['addEventListener'](_0x350a02(0xeb),()=>this[_0x350a02(0x294)]({'type':0x1,'memberID':this[_0x350a02(0xee)],'unitIDs':Array[_0x350a02(0x115)](this[_0x350a02(0x2b4)])}));}['_handleEvent'](_0x39694e){const _0x18cce3=_0x254dd6;switch(_0x39694e[_0x18cce3(0x228)]){case 0x0:this[_0x18cce3(0x216)](_0x39694e);break;case 0x1:this[_0x18cce3(0x1c9)](_0x39694e);break;case 0x2:this[_0x18cce3(0x116)](_0x39694e);break;}}[_0x254dd6(0x216)](_0x314365){const _0x37986b=_0x254dd6,{unitIDs:_0x39c6bd,memberID:_0x1db942,isForwarded:_0x5b3b39}=_0x314365;_0x39c6bd['forEach'](_0x32939d=>{const _0x8cb229=_0x1a18;if(!_0x5b3b39&&this[_0x8cb229(0x191)]['has'](_0x32939d)&&this[_0x8cb229(0x1e6)](_0x32939d)['next'](_0x436a55['OTHER_CLIENTS_EDITING']),!this[_0x8cb229(0x191)][_0x8cb229(0x20a)](_0x32939d)||!this[_0x8cb229(0x191)][_0x8cb229(0x29f)](_0x32939d)['has'](_0x1db942)){const _0x508bf6=this[_0x8cb229(0x191)][_0x8cb229(0x29f)](_0x32939d)||new Set();_0x508bf6[_0x8cb229(0x261)](_0x1db942),this[_0x8cb229(0x191)][_0x8cb229(0x287)](_0x32939d,_0x508bf6),this['_scheduleClearOtherTimer'](_0x1db942);}}),_0x5b3b39||this['_send']({'type':0x0,'memberID':this[_0x37986b(0xee)],'unitIDs':[...this[_0x37986b(0x2b4)]],'isForwarded':!0x0});}[_0x254dd6(0x2a9)](_0x13d662){const _0x97fd27=_0x254dd6;this[_0x97fd27(0x165)](_0x13d662);const _0xb509ff=window[_0x97fd27(0x14d)](()=>{const _0x447b0d=_0x97fd27;this[_0x447b0d(0x191)][_0x447b0d(0x1be)](_0x1e9018=>{const _0x3a69ba=_0x447b0d;_0x1e9018[_0x3a69ba(0x276)](_0x13d662);});},rt*0x2);this[_0x97fd27(0x2c0)][_0x97fd27(0x287)](_0x13d662,_0xb509ff);}[_0x254dd6(0x165)](_0x56d3a4){const _0x191f30=_0x254dd6;if(this[_0x191f30(0x2c0)][_0x191f30(0x20a)](_0x56d3a4)){const _0x309467=this[_0x191f30(0x2c0)][_0x191f30(0x29f)](_0x56d3a4);_0x309467&&window[_0x191f30(0x259)](_0x309467),this[_0x191f30(0x2c0)][_0x191f30(0x287)](_0x56d3a4,null);}}[_0x254dd6(0x1c9)](_0xc17eaf){const _0x4972a4=_0x254dd6,{memberID:_0x3082e8,unitIDs:_0x533cff}=_0xc17eaf;_0x533cff[_0x4972a4(0x1be)](_0x48609a=>{const _0x42f6ad=_0x4972a4;var _0x33e365;const _0x18f797=this[_0x42f6ad(0x191)]['get'](_0x48609a);_0x18f797&&(_0x18f797[_0x42f6ad(0x276)](_0x3082e8),(_0x33e365=this[_0x42f6ad(0x1e6)](_0x48609a))==null||_0x33e365['next'](_0x18f797[_0x42f6ad(0x293)]===0x0?_0x436a55['NO_OTHER_CLIENTS_EDITING']:_0x436a55['OTHER_CLIENTS_EDITING']));}),this[_0x4972a4(0x165)](_0x3082e8);}['_handleHeartbeatEvent'](_0x5eae32){const _0x124fa1=_0x254dd6;this[_0x124fa1(0x2a9)](_0x5eae32[_0x124fa1(0x1ea)]);}[_0x254dd6(0x294)](_0xc75083){const _0x16a8cf=_0x254dd6;localStorage[_0x16a8cf(0x2cb)](ot,JSON[_0x16a8cf(0xe4)](_0xc75083));}[_0x254dd6(0x22f)](){const _0x210b55=_0x254dd6;this[_0x210b55(0x109)]=window['setInterval'](()=>{const _0x51c6f4=_0x210b55;this[_0x51c6f4(0x294)]({'type':0x2,'memberID':this[_0x51c6f4(0xee)]});},rt);}[_0x254dd6(0x1e6)](_0x116e3c){const _0x45f302=_0x254dd6;return this['_unitStatus'][_0x45f302(0x20a)](_0x116e3c)||this['_unitStatus'][_0x45f302(0x287)](_0x116e3c,new _0x178130(_0x436a55[_0x45f302(0x194)])),this['_unitStatus']['get'](_0x116e3c);}}var Ut=(_0x358a23=>(_0x358a23[_0x358a23[_0x254dd6(0x1bc)]=0x0]='UNDEFINED',_0x358a23[_0x358a23['OK']=0x1]='OK',_0x358a23[_0x358a23[_0x254dd6(0x1a6)]=0x2]=_0x254dd6(0x1a6),_0x358a23[_0x358a23['PERMISSION_DENIED']=0x3]=_0x254dd6(0x12b),_0x358a23[_0x358a23[_0x254dd6(0x1bb)]=0x4]='NOT_FOUND',_0x358a23[_0x358a23[_0x254dd6(0x1e2)]=0x5]=_0x254dd6(0x1e2),_0x358a23[_0x358a23[_0x254dd6(0x1dd)]=0x6]='ALREADY_EXISTS',_0x358a23[_0x358a23[_0x254dd6(0xff)]=0x7]=_0x254dd6(0xff),_0x358a23[_0x358a23['TOO_MANY_REQUESTS']=0x8]=_0x254dd6(0x1c8),_0x358a23[_0x358a23['COMPLETION_FINISHED']=0x9]=_0x254dd6(0x197),_0x358a23[_0x358a23['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x358a23[_0x358a23[_0x254dd6(0x1af)]=0x1389]=_0x254dd6(0x1af),_0x358a23[_0x358a23['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x254dd6(0x1c6),_0x358a23[_0x358a23['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x358a23[_0x358a23['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x254dd6(0x1f3),_0x358a23[_0x358a23[_0x254dd6(0x172)]=0x1b59]=_0x254dd6(0x172),_0x358a23[_0x358a23['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x254dd6(0x280),_0x358a23[_0x358a23[_0x254dd6(0x2db)]=0x1b5b]=_0x254dd6(0x2db),_0x358a23[_0x358a23['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x358a23[_0x358a23[_0x254dd6(0x12e)]=0x1b5d]=_0x254dd6(0x12e),_0x358a23[_0x358a23['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x254dd6(0x272),_0x358a23[_0x358a23['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x358a23[_0x358a23[_0x254dd6(0x245)]=0x232a]=_0x254dd6(0x245),_0x358a23[_0x358a23[_0x254dd6(0x24c)]=0x232b]=_0x254dd6(0x24c),_0x358a23[_0x358a23[_0x254dd6(0x258)]=0x232c]=_0x254dd6(0x258),_0x358a23[_0x358a23['LICENSE_DISTRO_REJECTED']=0x232d]=_0x254dd6(0x232),_0x358a23[_0x358a23[_0x254dd6(0x141)]=0x2711]=_0x254dd6(0x141),_0x358a23[_0x358a23['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x358a23[_0x358a23[_0x254dd6(0x1a9)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x358a23[_0x358a23[_0x254dd6(0x299)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x358a23[_0x358a23[_0x254dd6(0x249)]=0x2af9]=_0x254dd6(0x249),_0x358a23[_0x358a23[_0x254dd6(0x15b)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x358a23[_0x358a23[_0x254dd6(0x103)]=0x2ee2]=_0x254dd6(0x103),_0x358a23[_0x358a23[_0x254dd6(0x289)]=0x2ee3]=_0x254dd6(0x289),_0x358a23[_0x358a23[_0x254dd6(0x1c5)]=0x2ee4]=_0x254dd6(0x1c5),_0x358a23[_0x358a23['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x254dd6(0x267),_0x358a23[_0x358a23[_0x254dd6(0x175)]=-0x1]='UNRECOGNIZED',_0x358a23))(Ut||{}),Rn=Object[_0x254dd6(0x270)],Dn=(_0x5c3ee7,_0x3d5b1a,_0x43ba48,_0x5c3c70)=>{const _0x3c5de9=_0x254dd6;for(var _0x54397a=_0x5c3c70>0x1?void 0x0:_0x5c3c70?Rn(_0x3d5b1a,_0x43ba48):_0x3d5b1a,_0x499d1f=_0x5c3ee7[_0x3c5de9(0x23b)]-0x1,_0x5ec46a;_0x499d1f>=0x0;_0x499d1f--)(_0x5ec46a=_0x5c3ee7[_0x499d1f])&&(_0x54397a=_0x5ec46a(_0x54397a)||_0x54397a);return _0x54397a;},Te=(_0x56f17a,_0x4a3f3f)=>(_0x4204a3,_0x46771d)=>_0x4a3f3f(_0x4204a3,_0x46771d,_0x56f17a);let at=class extends _0x13b31d{constructor(_0x309359,_0x18c13e,_0x301766){const _0x1035e1=_0x254dd6;super(),this[_0x1035e1(0x1ee)]=_0x309359,this[_0x1035e1(0x28d)]=_0x18c13e,this[_0x1035e1(0x1f0)]=_0x301766;}async[_0x254dd6(0x279)](_0x56a0bf,_0x3f2cdf,_0x48bbd3,..._0x8af994){const _0x3abe38=_0x254dd6;var _0xe0be16,_0x2701a0,_0x2c7424,_0x4851ae;const _0x5a4ce1=this[_0x3abe38(0x1ee)][_0x3abe38(0x14a)]();if(!_0x5a4ce1)throw new Error(_0x3abe38(0x205));const _0x22c59b=((_0xe0be16=this[_0x3abe38(0x1f0)]['getConfig'](_0x681efc))!=null?_0xe0be16:_0x52ac97)+'/'+_0x56a0bf+'/run/'+_0x3f2cdf,_0x16e23f=new URL(window[_0x3abe38(0x1cc)][_0x3abe38(0x20d)]),_0x7fd35c={'scriptId':_0x56a0bf,'runId':(_0x2701a0=_0x16e23f[_0x3abe38(0x286)][_0x3abe38(0x29f)](_0x3abe38(0x24f)))!=null?_0x2701a0:'','function':_0x3f2cdf,'unitId':_0x5a4ce1[_0x3abe38(0x252)](),'argsOfFunction':JSON[_0x3abe38(0xe4)](_0x8af994),'invokeId':(_0x2c7424=_0x48bbd3['invokeId'])!=null?_0x2c7424:'','executionId':(_0x4851ae=_0x48bbd3[_0x3abe38(0x111)])!=null?_0x4851ae:''};try{const _0x21b193=await this[_0x3abe38(0x28d)][_0x3abe38(0x153)](_0x22c59b,{'body':_0x7fd35c});return _0x21b193[_0x3abe38(0x1aa)]['error']&&_0x21b193[_0x3abe38(0x1aa)][_0x3abe38(0x14c)]['code']!==Ut['OK']?_0x3abe38(0x15f):_0x21b193[_0x3abe38(0x1aa)]['result'];}catch{return _0x3abe38(0x15f);}}};at=Dn([Te(0x0,_0x5d3182),Te(0x1,_0x1fe9bf(_0x313693)),Te(0x2,_0x14b648)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x29e1b8=_0x1898;function _0xa3c1(){const _0x4f4ac4=['Edit\x20conflicts','1622880QydzlB','361055NssFpr','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','10730360MmTaVU','Synced','9prutOT','258TSPQzZ','11aUQLZj','37606vqZzJp','Click\x20to\x20Reconnect','Connection\x20failed,\x20please\x20check\x20your\x20network.','96CsGnEK','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','5345968bnZOES','Collaboration\x20Conflict','55596790vKjYAT','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.','696101GoesdU'];_0xa3c1=function(){return _0x4f4ac4;};return _0xa3c1();}(function(_0x362253,_0x2b821a){const _0x3456d6=_0x1898,_0xdd0fa1=_0x362253();while(!![]){try{const _0x497e86=-parseInt(_0x3456d6(0x1f3))/0x1+-parseInt(_0x3456d6(0x1ff))/0x2*(parseInt(_0x3456d6(0x1fd))/0x3)+-parseInt(_0x3456d6(0x205))/0x4+parseInt(_0x3456d6(0x1f4))/0x5*(parseInt(_0x3456d6(0x202))/0x6)+parseInt(_0x3456d6(0x209))/0x7+-parseInt(_0x3456d6(0x1fa))/0x8*(parseInt(_0x3456d6(0x1fc))/0x9)+-parseInt(_0x3456d6(0x207))/0xa*(-parseInt(_0x3456d6(0x1fe))/0xb);if(_0x497e86===_0x2b821a)break;else _0xdd0fa1['push'](_0xdd0fa1['shift']());}catch(_0x31c420){_0xdd0fa1['push'](_0xdd0fa1['shift']());}}}(_0xa3c1,0xdaf05));function _0x1898(_0x4c0abf,_0x1883f4){const _0xa3c1b6=_0xa3c1();return _0x1898=function(_0x189879,_0x465c59){_0x189879=_0x189879-0x1f3;let _0x346da1=_0xa3c1b6[_0x189879];return _0x346da1;},_0x1898(_0x4c0abf,_0x1883f4);}const e={'collab-client':{'tooltip':{'reconnect':_0x29e1b8(0x200)}},'collabStatus':{'fetchMiss':_0x29e1b8(0x204),'conflict':_0x29e1b8(0x20a),'notCollab':'Local\x20file','synced':_0x29e1b8(0x1fb),'syncing':_0x29e1b8(0x1f9),'offline':_0x29e1b8(0x1f8)},'session':{'connection-failed':_0x29e1b8(0x201),'will-retry':_0x29e1b8(0x1f7),'room-full':_0x29e1b8(0x203),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x29e1b8(0x206),'content':_0x29e1b8(0x208)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x29e1b8(0x1f5)},'auth':{'needGotoLoginAlert':_0x29e1b8(0x1f6)}};export{e as default};
1
+ const _0x219b97=_0x51b8;(function(_0x2cc30c,_0x504d7a){const _0x339574=_0x51b8,_0x28567d=_0x2cc30c();while(!![]){try{const _0x58d842=-parseInt(_0x339574(0x1a1))/0x1+parseInt(_0x339574(0x1aa))/0x2+-parseInt(_0x339574(0x199))/0x3*(-parseInt(_0x339574(0x1a4))/0x4)+-parseInt(_0x339574(0x197))/0x5*(parseInt(_0x339574(0x19a))/0x6)+parseInt(_0x339574(0x1a2))/0x7*(parseInt(_0x339574(0x19d))/0x8)+parseInt(_0x339574(0x19b))/0x9+-parseInt(_0x339574(0x1a8))/0xa*(-parseInt(_0x339574(0x1ab))/0xb);if(_0x58d842===_0x504d7a)break;else _0x28567d['push'](_0x28567d['shift']());}catch(_0x20d6e8){_0x28567d['push'](_0x28567d['shift']());}}}(_0x3893,0x8e05a));function _0x51b8(_0x38e5d0,_0x3ffab7){const _0x389319=_0x3893();return _0x51b8=function(_0x51b805,_0x40eae0){_0x51b805=_0x51b805-0x196;let _0x58e6c0=_0x389319[_0x51b805];return _0x58e6c0;},_0x51b8(_0x38e5d0,_0x3ffab7);}function _0x3893(){const _0x5dca47=['227623MRdRwM','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','15bnxlXN','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2136321kZnZYS','1367718wDqYiS','4733064rquKnH','Collaboration\x20Conflict','63776IcVPxQ','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1112517bcUdDE','133AEgaMI','Edit\x20conflicts','4OFeZRg','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Click\x20to\x20Reconnect','Authentication\x20Error','210XAYDvf','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1108148iwAFFG'];_0x3893=function(){return _0x5dca47;};return _0x3893();}const e={'collab-client':{'tooltip':{'reconnect':_0x219b97(0x1a6)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x219b97(0x1a3),'notCollab':_0x219b97(0x19e),'synced':'Synced','syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x219b97(0x1a9),'room-full':_0x219b97(0x19f),'collaboration-timeout':_0x219b97(0x196)},'conflict':{'title':_0x219b97(0x19c),'content':_0x219b97(0x1a5)},'permission':{'title':_0x219b97(0x1a7),'content':_0x219b97(0x198)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x219b97(0x1a0)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- const _0x542510=_0x3980;function _0x3980(_0x771f36,_0x24eb03){const _0x16e5bf=_0x16e5();return _0x3980=function(_0x3980ee,_0x537138){_0x3980ee=_0x3980ee-0x1ae;let _0x9d69c2=_0x16e5bf[_0x3980ee];return _0x9d69c2;},_0x3980(_0x771f36,_0x24eb03);}(function(_0x3cade8,_0x44ad09){const _0x13c94f=_0x3980,_0x2ef39a=_0x3cade8();while(!![]){try{const _0x409d27=parseInt(_0x13c94f(0x1c2))/0x1*(parseInt(_0x13c94f(0x1af))/0x2)+parseInt(_0x13c94f(0x1be))/0x3*(parseInt(_0x13c94f(0x1b6))/0x4)+parseInt(_0x13c94f(0x1c5))/0x5+-parseInt(_0x13c94f(0x1c1))/0x6*(-parseInt(_0x13c94f(0x1c3))/0x7)+parseInt(_0x13c94f(0x1b4))/0x8+parseInt(_0x13c94f(0x1b9))/0x9*(-parseInt(_0x13c94f(0x1ba))/0xa)+parseInt(_0x13c94f(0x1bc))/0xb*(-parseInt(_0x13c94f(0x1b0))/0xc);if(_0x409d27===_0x44ad09)break;else _0x2ef39a['push'](_0x2ef39a['shift']());}catch(_0x1576fd){_0x2ef39a['push'](_0x2ef39a['shift']());}}}(_0x16e5,0xe0b4b));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x542510(0x1c4),'conflict':'تداخل\x20ویرایش','notCollab':_0x542510(0x1b5),'synced':_0x542510(0x1b3),'syncing':_0x542510(0x1b8),'offline':_0x542510(0x1b1)},'session':{'connection-failed':_0x542510(0x1b2),'will-retry':_0x542510(0x1b7),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x542510(0x1bb)},'conflict':{'title':_0x542510(0x1c0),'content':_0x542510(0x1ae)},'permission':{'title':_0x542510(0x1c6),'content':_0x542510(0x1bd)},'collaboration':{'single-unit':{'warning':_0x542510(0x1bf)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x16e5(){const _0x30ff45=['اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی','1128056iQdWmo','پرونده\x20محلی','4xaSmqV','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','در\x20حال\x20همگام\x20سازی...','509679qPlidY','260NevnZM','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','2903351DnuhcA','اعمال\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رفت.','4338351oDZxJM','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20همکاری','1624404TElgja','2089WQzWHi','14NzvhGv','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','3344200rGSZRc','خطای\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رفت.','118WCnfpu','24AyUYxK','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'];_0x16e5=function(){return _0x30ff45;};return _0x16e5();}export{o as default};
1
+ const _0x192b3=_0x46bb;function _0x413b(){const _0x55be32=['3243310XLcuye','ورود\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کنیم.','72004EmGhIy','168nNSnkk','اعمال\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کرد.','69523yACoPs','49632ZAtbOJ','تداخل\x20ویرایش','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','25RhpuEM','یک\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کنید.','94913QXBasd','24TONoSU','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','4669776WYaose','پرونده\x20محلی','703336nKUPan','تداخل\x20همکاری','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x413b=function(){return _0x55be32;};return _0x413b();}(function(_0x21dc31,_0x3fa853){const _0x18dbc1=_0x46bb,_0xc9bd5e=_0x21dc31();while(!![]){try{const _0x58c86b=parseInt(_0x18dbc1(0x1fa))/0x1+parseInt(_0x18dbc1(0x1ee))/0x2+-parseInt(_0x18dbc1(0x1e9))/0x3*(parseInt(_0x18dbc1(0x1f4))/0x4)+-parseInt(_0x18dbc1(0x1fe))/0x5*(parseInt(_0x18dbc1(0x1fb))/0x6)+parseInt(_0x18dbc1(0x1e8))/0x7*(parseInt(_0x18dbc1(0x1f5))/0x8)+parseInt(_0x18dbc1(0x1ec))/0x9+-parseInt(_0x18dbc1(0x1f1))/0xa;if(_0x58c86b===_0x3fa853)break;else _0xc9bd5e['push'](_0xc9bd5e['shift']());}catch(_0x398d3e){_0xc9bd5e['push'](_0xc9bd5e['shift']());}}}(_0x413b,0xae957));function _0x46bb(_0x5a7ab7,_0x5eee64){const _0x413bb5=_0x413b();return _0x46bb=function(_0x46bb18,_0x4c71e9){_0x46bb18=_0x46bb18-0x1e5;let _0x502d5d=_0x413bb5[_0x46bb18];return _0x502d5d;},_0x46bb(_0x5a7ab7,_0x5eee64);}const o={'collab-client':{'tooltip':{'reconnect':_0x192b3(0x1e6)}},'collabStatus':{'fetchMiss':_0x192b3(0x1eb),'conflict':_0x192b3(0x1fc),'notCollab':_0x192b3(0x1ed),'synced':_0x192b3(0x1f8),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x192b3(0x1ea)},'session':{'connection-failed':_0x192b3(0x1e7),'will-retry':_0x192b3(0x1f3),'room-full':_0x192b3(0x1f9),'collaboration-timeout':_0x192b3(0x1f0)},'conflict':{'title':_0x192b3(0x1ef),'content':_0x192b3(0x1e5)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x192b3(0x1f6)},'collaboration':{'single-unit':{'warning':_0x192b3(0x1fd)},'closeRoom':_0x192b3(0x1f7)},'auth':{'needGotoLoginAlert':_0x192b3(0x1f2)}};export{o as default};