@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506201607 → 0.8.2-nightly.202506211606

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5eedee,_0x52ccae){const _0x2d8267=_0x394a,_0x643e30=_0x5eedee();while(!![]){try{const _0x4165e6=-parseInt(_0x2d8267(0x237))/0x1*(parseInt(_0x2d8267(0x283))/0x2)+parseInt(_0x2d8267(0x16f))/0x3*(parseInt(_0x2d8267(0x274))/0x4)+parseInt(_0x2d8267(0x328))/0x5+-parseInt(_0x2d8267(0x1cf))/0x6+-parseInt(_0x2d8267(0x2d2))/0x7*(-parseInt(_0x2d8267(0x276))/0x8)+-parseInt(_0x2d8267(0x278))/0x9+-parseInt(_0x2d8267(0x2a8))/0xa*(-parseInt(_0x2d8267(0x3a2))/0xb);if(_0x4165e6===_0x52ccae)break;else _0x643e30['push'](_0x643e30['shift']());}catch(_0x2e3987){_0x643e30['push'](_0x643e30['shift']());}}}(_0xa1b0,0xbcd4e),function(_0x431e87,_0xac6a64){const _0x5aedc1=_0x394a;typeof exports=='object'&&typeof module<'u'?_0xac6a64(exports,require(_0x5aedc1(0x3ae)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x5aedc1(0x1d5)),require(_0x5aedc1(0x301)),require(_0x5aedc1(0x38f)),require(_0x5aedc1(0x397)),require(_0x5aedc1(0x38c)),require(_0x5aedc1(0x1bf)),require('@univerjs/engine-formula'),require(_0x5aedc1(0x2c9)),require(_0x5aedc1(0x284)),require(_0x5aedc1(0x1d2)),require(_0x5aedc1(0x201)),require('@univerjs/ui'),require(_0x5aedc1(0x323)),require(_0x5aedc1(0x244)),require('@univerjs/rpc')):typeof define==_0x5aedc1(0x3d8)&&define['amd']?define(['exports',_0x5aedc1(0x3ae),'@univerjs/core',_0x5aedc1(0x29e),_0x5aedc1(0x1d5),'@univerjs/docs-ui',_0x5aedc1(0x38f),_0x5aedc1(0x397),_0x5aedc1(0x38c),'@univerjs/docs',_0x5aedc1(0x16a),_0x5aedc1(0x2c9),_0x5aedc1(0x284),_0x5aedc1(0x1d2),'react/jsx-runtime',_0x5aedc1(0x32b),_0x5aedc1(0x323),_0x5aedc1(0x244),_0x5aedc1(0x3d4)],_0xac6a64):(_0x431e87=typeof globalThis<'u'?globalThis:_0x431e87||self,_0xac6a64(_0x431e87['UniverProCollaborationClientUi']={},_0x431e87[_0x5aedc1(0x33c)],_0x431e87['UniverCore'],_0x431e87[_0x5aedc1(0x269)],_0x431e87['UniverNetwork'],_0x431e87[_0x5aedc1(0x1a3)],_0x431e87['UniverDrawing'],_0x431e87['rxjs'],_0x431e87['UniverProCollaboration'],_0x431e87[_0x5aedc1(0x1b7)],_0x431e87['UniverEngineFormula'],_0x431e87[_0x5aedc1(0x29f)],_0x431e87['rxjs'][_0x5aedc1(0x219)],_0x431e87['UniverSheetsUi'],_0x431e87[_0x5aedc1(0x1e9)],_0x431e87[_0x5aedc1(0x3f1)],_0x431e87[_0x5aedc1(0x3c9)],_0x431e87[_0x5aedc1(0x1e9)],_0x431e87[_0x5aedc1(0x3c6)]));}(this,function(_0x2c6d96,_0xbb51f4,_0x37b4f8,_0x43f3eb,_0x5680df,_0x4c443b,_0xa93083,_0x1e2a43,_0x1e18ea,_0x63e644,_0x2a1c7a,_0x336776,_0x45f5ed,_0x3e8f0d,_0x2115a7,_0x38ea15,_0x187d92,_0xdfe0ba,_0x2f9c7d){'use strict';const _0xddf351=_0x394a;var _0xde0047=Object[_0xddf351(0x382)],_0x289a31=(_0x180e44,_0x35a43c,_0x15197f)=>_0x35a43c in _0x180e44?_0xde0047(_0x180e44,_0x35a43c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15197f}):_0x180e44[_0x35a43c]=_0x15197f,_0x986cf9=(_0x96fb44,_0x3f85ba,_0xd4a4a6)=>_0x289a31(_0x96fb44,typeof _0x3f85ba!=_0xddf351(0x1ec)?_0x3f85ba+'':_0x3f85ba,_0xd4a4a6),_0x21e2a5=Object[_0xddf351(0x27c)],_0x322461=(_0x32caa5,_0x235a99,_0x24ae88,_0x17d765)=>{const _0x4f543a=_0xddf351;for(var _0x466114=_0x17d765>0x1?void 0x0:_0x17d765?_0x21e2a5(_0x235a99,_0x24ae88):_0x235a99,_0x582435=_0x32caa5[_0x4f543a(0x2ef)]-0x1,_0x3bf294;_0x582435>=0x0;_0x582435--)(_0x3bf294=_0x32caa5[_0x582435])&&(_0x466114=_0x3bf294(_0x466114)||_0x466114);return _0x466114;},_0x3e30e9=(_0x4ec3b1,_0x18eb4c)=>(_0x224f65,_0x3bf2d2)=>_0x18eb4c(_0x224f65,_0x3bf2d2,_0x4ec3b1);let _0x5856cc=class extends _0x37b4f8['RxDisposable']{constructor(_0x11458a,_0x102242){const _0x2f42b3=_0xddf351;super(),this[_0x2f42b3(0x3ed)]=_0x11458a,this[_0x2f42b3(0x366)]=_0x102242,this[_0x2f42b3(0x309)]();}[_0xddf351(0x309)](){const _0x4a72d7=_0xddf351,_0x35b917=this;this[_0x4a72d7(0x351)](this['_docClipboardService'][_0x4a72d7(0x3ce)]({'onBeforePasteImage':async _0x1d3747=>{const _0xb1f7ec=_0x4a72d7,_0x501df5=await _0x35b917[_0xb1f7ec(0x366)][_0xb1f7ec(0x3cb)](_0x1d3747);return _0x501df5?{'source':_0x501df5[_0xb1f7ec(0x3cf)],'imageSourceType':_0x501df5[_0xb1f7ec(0x200)]}:null;}}));}};_0x5856cc=_0x322461([_0x3e30e9(0x0,_0x4c443b[_0xddf351(0x168)]),_0x3e30e9(0x1,_0xa93083[_0xddf351(0x256)])],_0x5856cc);const _0x51ec5d=[_0xddf351(0x2d9),_0xddf351(0x20e),'green.600',_0xddf351(0x297),'blue.400','yellow.400'];class _0x42dddc extends _0x37b4f8[_0xddf351(0x1c9)]{constructor(){const _0xede72b=_0xddf351;super(...arguments),_0x986cf9(this,_0xede72b(0x334),new Map()),_0x986cf9(this,_0xede72b(0x1ae),0x0);}['assignAColorForMemberID'](_0x3b06f2){const _0x4c3ca7=_0xddf351;if(this['_assignedColors'][_0x4c3ca7(0x262)](_0x3b06f2))return this[_0x4c3ca7(0x334)][_0x4c3ca7(0x1e3)](_0x3b06f2);const _0x38e79e=_0x51ec5d[this['_colorIndex']];return this[_0x4c3ca7(0x1ae)]=(this['_colorIndex']+0x1)%_0x51ec5d[_0x4c3ca7(0x2ef)],this[_0x4c3ca7(0x334)]['set'](_0x3b06f2,_0x38e79e),_0x38e79e;}}function _0x1c5db7(_0x1bcb81){const _0x54b7a4=_0xddf351;let _0x39209b='';for(const _0x502975 of _0x1bcb81){const {startOffset:_0x25c49f,endOffset:_0x49e1ba,isActive:_0x51f386,rangeType:_0x5e8c8f,segmentId:_0x1cf5a7,segmentPage:_0x420c7f}=_0x502975;_0x39209b[_0x54b7a4(0x2ef)]&&(_0x39209b+=','),_0x39209b+=_0x25c49f+':'+_0x49e1ba+':'+(_0x51f386?'1':'0')+':'+_0x5e8c8f+':'+_0x1cf5a7+':'+_0x420c7f;}return _0x39209b;}function _0x547b07(_0x22481c){const _0x4bfd0f=_0xddf351,_0x349bc6=_0x22481c[_0x4bfd0f(0x235)](','),_0x2f32d2=[];for(const _0x3403b8 of _0x349bc6){const [_0x702a7d,_0x4a562d,_0x1915a3,_0x2498bc,_0x34ce9f,_0x22335f]=_0x3403b8[_0x4bfd0f(0x235)](':');_0x2f32d2[_0x4bfd0f(0x22e)]({'startOffset':Number(_0x702a7d),'endOffset':Number(_0x4a562d),'collapsed':_0x702a7d===_0x4a562d,'isActive':_0x1915a3==='1','rangeType':_0x2498bc===_0x37b4f8[_0x4bfd0f(0x1b1)]['TEXT']?_0x37b4f8[_0x4bfd0f(0x1b1)][_0x4bfd0f(0x25c)]:_0x37b4f8[_0x4bfd0f(0x1b1)]['RECT'],'segmentId':typeof _0x34ce9f==_0x4bfd0f(0x173)?String(_0x34ce9f):'','segmentPage':Number(_0x22335f!=null?_0x22335f:-0x1)});}return _0x2f32d2['some'](_0x1d23b8=>_0x1d23b8[_0x4bfd0f(0x287)])||(_0x2f32d2[0x0][_0x4bfd0f(0x287)]=!0x0),_0x2f32d2;}class _0x53190f extends _0x37b4f8[_0xddf351(0x22d)]{constructor(){const _0x5eb730=_0xddf351;super(...arguments),_0x986cf9(this,_0x5eb730(0x2f1),new _0x1e2a43['BehaviorSubject'](null)),_0x986cf9(this,'collabCursorState$',this[_0x5eb730(0x2f1)][_0x5eb730(0x18f)]());}['syncEditingCollabCursor'](_0x4dd2c4){const _0x4b09b5=_0xddf351,{unitID:_0x54f61b,memberID:_0x5958ed,textRanges:_0x524963}=_0x4dd2c4,_0x1d1a68=_0x1c5db7(_0x524963);if(_0x1d1a68==='')return;const _0x37c86e={'unitID':_0x54f61b,'memberID':_0x5958ed,'selection':_0x1d1a68};this[_0x4b09b5(0x2f1)]['next'](_0x37c86e);}}var _0xa43a6=Object[_0xddf351(0x27c)],_0xa1bc96=(_0x2eefa4,_0x172e60,_0x1eb632,_0x3409d8)=>{const _0x58e6b9=_0xddf351;for(var _0x36dbd2=_0x3409d8>0x1?void 0x0:_0x3409d8?_0xa43a6(_0x172e60,_0x1eb632):_0x172e60,_0x416133=_0x2eefa4[_0x58e6b9(0x2ef)]-0x1,_0x4f48c;_0x416133>=0x0;_0x416133--)(_0x4f48c=_0x2eefa4[_0x416133])&&(_0x36dbd2=_0x4f48c(_0x36dbd2)||_0x36dbd2);return _0x36dbd2;},_0x4cac25=(_0x28de15,_0x594e87)=>(_0x531ab5,_0x1e8471)=>_0x594e87(_0x531ab5,_0x1e8471,_0x28de15);const _0x2293e4=0x12c,_0x3b8b03=0x64;let _0x5b3de6=class extends _0x37b4f8['RxDisposable']{constructor(_0x5ab8ab,_0x2f5167,_0x5b8200,_0x51b8f0,_0x26b18e,_0x210273,_0x12c378,_0x40cc2d,_0x3250c5){const _0x5b52ba=_0xddf351;super(),_0x986cf9(this,_0x5b52ba(0x37d),!0x1),_0x986cf9(this,_0x5b52ba(0x309),!0x1),_0x986cf9(this,_0x5b52ba(0x1a5),new _0x1e2a43[(_0x5b52ba(0x27f))](new Map())),_0x986cf9(this,_0x5b52ba(0x1bd),this['_cursorInfo$'][_0x5b52ba(0x18f)]()),_0x986cf9(this,'_roomMembers$',new _0x1e2a43[(_0x5b52ba(0x27f))]([])),_0x986cf9(this,_0x5b52ba(0x22f),this[_0x5b52ba(0x1dd)][_0x5b52ba(0x180)](_0x1e2a43['debounceTime'](_0x2293e4))),_0x986cf9(this,_0x5b52ba(0x21c),_0x37b4f8['debounce'](_0x20f1e2=>{const _0x455d7b=_0x5b52ba,_0x43c342={'eventID':_0x1e18ea[_0x455d7b(0x2d6)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x455d7b(0x332)](),'selection':_0x1c5db7(_0x20f1e2)}};this[_0x455d7b(0x1f6)][_0x455d7b(0x336)](_0x43c342,this[_0x455d7b(0x1e5)]);},_0x3b8b03)),(this[_0x5b52ba(0x1e5)]=_0x5ab8ab,this[_0x5b52ba(0x1f6)]=_0x2f5167,this[_0x5b52ba(0x396)]=_0x5b8200,this[_0x5b52ba(0x1cc)]=_0x51b8f0,this[_0x5b52ba(0x36b)]=_0x26b18e,this[_0x5b52ba(0x2d0)]=_0x210273,this[_0x5b52ba(0x3ff)]=_0x12c378,this[_0x5b52ba(0x37e)]=_0x40cc2d,this[_0x5b52ba(0x395)]=_0x3250c5);}get[_0xddf351(0x333)](){const _0x36c4e1=_0xddf351;return this[_0x36c4e1(0x1a5)][_0x36c4e1(0x2a9)]();}get['roomMembers'](){const _0x269f5e=_0xddf351;return this['_roomMembers$'][_0x269f5e(0x2a9)]();}[_0xddf351(0x2a4)](){const _0x1ef753=_0xddf351;super['dispose'](),this['_cursorInfo$'][_0x1ef753(0x1e8)](new Map()),this[_0x1ef753(0x1a5)][_0x1ef753(0x28a)](),this[_0x1ef753(0x1dd)][_0x1ef753(0x1e8)]([]),this['_roomMembers$'][_0x1ef753(0x28a)]();}[_0xddf351(0x216)](){const _0x5a0930=_0xddf351;this[_0x5a0930(0x309)]||(this['_init']=!0x0,this[_0x5a0930(0x1f6)][_0x5a0930(0x314)][_0x5a0930(0x180)](_0x1e2a43[_0x5a0930(0x2f6)](this[_0x5a0930(0x308)]))[_0x5a0930(0x1df)](_0x57616e=>{const _0x4ad5e3=_0x5a0930;_0x57616e===_0xbb51f4['SessionStatus'][_0x4ad5e3(0x2b1)]?this[_0x4ad5e3(0x304)]():this['_toggleOffline']();}),this[_0x5a0930(0x1f6)][_0x5a0930(0x2bc)][_0x5a0930(0x180)](_0x1e2a43['takeUntil'](this[_0x5a0930(0x308)]))['subscribe'](_0x40dac5=>{const _0xe07ede=_0x5a0930,_0x3ecf69=_0x40dac5[_0xe07ede(0x1e4)];_0x3ecf69===_0x1e18ea[_0xe07ede(0x2d6)][_0xe07ede(0x204)]&&this[_0xe07ede(0x36d)](_0x40dac5),_0x3ecf69===_0x1e18ea[_0xe07ede(0x2d6)][_0xe07ede(0x1b5)]&&this[_0xe07ede(0x254)](_0x40dac5);}),this[_0x5a0930(0x351)](this['_commandService'][_0x5a0930(0x2ca)](_0x2f513f=>{const _0x4b4ad1=_0x5a0930,_0x13218d=_0x2f513f[_0x4b4ad1(0x27a)];_0x13218d!=null&&this[_0x4b4ad1(0x37d)]&&_0x2f513f['id']===_0x63e644[_0x4b4ad1(0x37f)]['id']&&_0x13218d['unitId']===this[_0x4b4ad1(0x1e5)]&&_0x13218d[_0x4b4ad1(0x372)]===!0x1&&_0x13218d[_0x4b4ad1(0x39d)][_0x4b4ad1(0x2ef)]>0x0&&this[_0x4b4ad1(0x21c)](_0x13218d[_0x4b4ad1(0x39d)]);})),this['_syncEditingCollabCursorService'][_0x5a0930(0x33e)][_0x5a0930(0x180)](_0x1e2a43[_0x5a0930(0x2f6)](this[_0x5a0930(0x308)]))[_0x5a0930(0x1df)](_0x2ceb5f=>{const _0x43e3e3=_0x5a0930;if((_0x2ceb5f==null?void 0x0:_0x2ceb5f['unitID'])!==this[_0x43e3e3(0x1e5)])return;const _0x42e1e6={'eventID':_0x1e18ea[_0x43e3e3(0x2d6)]['UPDATE_CURSOR'],'data':_0x2ceb5f};this['_onCursorUpdate'](_0x42e1e6);}),this[_0x5a0930(0x351)](this[_0x5a0930(0x395)][_0x5a0930(0x2ca)](_0x5c9eee=>{const _0x48e9ff=_0x5a0930;if(_0x5c9eee[_0x48e9ff(0x27a)]==null)return;const _0x52be58=_0x5c9eee[_0x48e9ff(0x27a)];if(_0x5c9eee['id']!==_0x63e644[_0x48e9ff(0x2c4)]['id']||_0x52be58[_0x48e9ff(0x2af)]!==this[_0x48e9ff(0x1e5)])return;const _0x4d1f07={'id':'doc.mutation.rich-text-editing','params':_0x52be58},_0x376f19=this[_0x48e9ff(0x333)];for(const [_0x41545b,_0x225ca6]of _0x376f19){const _0x11a866={'id':_0x48e9ff(0x223),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x225ca6['ranges']}},_0x77de60=this[_0x48e9ff(0x3ff)]['transformMutation'](_0x4d1f07,_0x11a866,!0x1);if(_0x1e18ea[_0x48e9ff(0x2c7)](_0x77de60))throw _0x77de60['error'];_0x376f19[_0x48e9ff(0x35c)](_0x41545b,{..._0x225ca6,'ranges':_0x77de60[_0x48e9ff(0x316)][_0x48e9ff(0x27a)][_0x48e9ff(0x242)]});}queueMicrotask(()=>{const _0x5243db=_0x48e9ff;this['_cursorInfo$'][_0x5243db(0x1e8)](_0x376f19);});})));}['_onCursorUpdate'](_0x33a9f3){const _0x3adeba=_0xddf351;var _0x1fd817,_0x14b21e;const {memberID:_0x2059e2,selection:_0x58737b}=_0x33a9f3[_0x3adeba(0x2b8)],_0x223af4=_0x547b07(_0x58737b),_0x52f57e=(_0x14b21e=(_0x1fd817=this['_memberService'][_0x3adeba(0x347)](this[_0x3adeba(0x1e5)],_0x2059e2))==null?void 0x0:_0x1fd817[_0x3adeba(0x25d)])!=null?_0x14b21e:'Unknown\x20user',_0x4aa0c9={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2059e2),'name':_0x52f57e,'ranges':_0x223af4},_0x55c7cf=this[_0x3adeba(0x333)];_0x55c7cf[_0x3adeba(0x35c)](_0x2059e2,_0x4aa0c9),this[_0x3adeba(0x1a5)]['next'](_0x55c7cf);}['_onCursorDelete'](_0x21849b){const _0x16ecbd=_0xddf351,{memberID:_0x39247b}=_0x21849b[_0x16ecbd(0x2b8)],_0x5ed7f8=this[_0x16ecbd(0x333)];_0x5ed7f8[_0x16ecbd(0x34b)](_0x39247b),this[_0x16ecbd(0x1a5)][_0x16ecbd(0x1e8)](_0x5ed7f8);}['_toggleOnline'](){const _0x56c7b4=_0xddf351;var _0x52a1cb;if(this[_0x56c7b4(0x37d)]=!0x0,((_0x52a1cb=this[_0x56c7b4(0x37e)]['getFocusedUnit']())==null?void 0x0:_0x52a1cb['getUnitId']())!==this[_0x56c7b4(0x1e5)])return;const _0x3741b9=this[_0x56c7b4(0x396)][_0x56c7b4(0x1e3)](_0x63e644[_0x56c7b4(0x399)])['getDocRanges']();Array[_0x56c7b4(0x2e0)](_0x3741b9)&&_0x3741b9[_0x56c7b4(0x2ef)]>0x0&&this[_0x56c7b4(0x21c)](_0x3741b9);}[_0xddf351(0x2a1)](){const _0x41adb8=_0xddf351;this[_0x41adb8(0x37d)]=!0x1;}};_0x5b3de6=_0xa1bc96([_0x4cac25(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2b6)])),_0x4cac25(0x3,_0x37b4f8[_0xddf351(0x3c4)](_0x42dddc)),_0x4cac25(0x4,_0x37b4f8[_0xddf351(0x3c4)](_0xbb51f4['MemberService'])),_0x4cac25(0x5,_0x37b4f8['Inject'](_0x53190f)),_0x4cac25(0x6,_0x1e18ea[_0xddf351(0x355)]),_0x4cac25(0x7,_0x37b4f8[_0xddf351(0x3bb)]),_0x4cac25(0x8,_0x37b4f8[_0xddf351(0x1aa)])],_0x5b3de6);var _0x4c7988=Object[_0xddf351(0x27c)],_0x37fb1f=(_0x54d813,_0x524f69,_0xef4387,_0x16bb61)=>{const _0x34f2f2=_0xddf351;for(var _0x5be488=_0x16bb61>0x1?void 0x0:_0x16bb61?_0x4c7988(_0x524f69,_0xef4387):_0x524f69,_0x449852=_0x54d813[_0x34f2f2(0x2ef)]-0x1,_0xfcc262;_0x449852>=0x0;_0x449852--)(_0xfcc262=_0x54d813[_0x449852])&&(_0x5be488=_0xfcc262(_0x5be488)||_0x5be488);return _0x5be488;},_0x5b69d1=(_0x2ae77e,_0x1fd32d)=>(_0x2d192e,_0xbc4ec4)=>_0x1fd32d(_0x2d192e,_0xbc4ec4,_0x2ae77e);const _0x378547=0x12c,_0x4b1dd0=0x64,_0xfa3f91=()=>{let _0xc7b01e=[],_0x4cf09a=!0x1;return _0x200ccb=>{const _0x49b1d0=_0x394a;_0xc7b01e[_0x49b1d0(0x22e)](_0x200ccb),_0x4cf09a||(_0x4cf09a=!0x0,setTimeout(()=>{const _0x48dc70=_0x49b1d0;_0xc7b01e[_0x48dc70(0x1b8)](_0x3a9aa1=>_0x3a9aa1()),_0xc7b01e=[],_0x4cf09a=!0x1;}));};};let _0x217137=class extends _0x37b4f8[_0xddf351(0x22d)]{constructor(_0x384cdd,_0x2eb048,_0x1ed2ad,_0x4929d2,_0x51c752,_0x28635f,_0x530f8c,_0x644afb){const _0x46725d=_0xddf351;super(),_0x986cf9(this,_0x46725d(0x37d),!0x1),_0x986cf9(this,_0x46725d(0x309),!0x1),_0x986cf9(this,_0x46725d(0x1a5),new _0x1e2a43['BehaviorSubject'](new Map())),_0x986cf9(this,_0x46725d(0x1bd),this[_0x46725d(0x1a5)][_0x46725d(0x18f)]()),_0x986cf9(this,_0x46725d(0x1dd),new _0x1e2a43[(_0x46725d(0x27f))]([])),_0x986cf9(this,_0x46725d(0x22f),this[_0x46725d(0x1dd)][_0x46725d(0x180)](_0x1e2a43[_0x46725d(0x184)](_0x378547))),_0x986cf9(this,'_updateLocalCursor',_0x37b4f8[_0x46725d(0x198)]((_0x4066f2,_0x127aba)=>{const _0x22beef=_0x46725d,_0x4cf194={'eventID':_0x1e18ea[_0x22beef(0x2d6)][_0x22beef(0x204)],'data':{'unitID':this[_0x22beef(0x1e5)],'memberID':this[_0x22beef(0x1f6)][_0x22beef(0x332)](),'selection':_0x2a1c7a[_0x22beef(0x249)](_0x4066f2,_0x127aba['range'])}};this['_session'][_0x22beef(0x336)](_0x4cf194,this[_0x22beef(0x1e5)]);},_0x4b1dd0)),(this[_0x46725d(0x1e5)]=_0x384cdd,this['_session']=_0x2eb048,this[_0x46725d(0x396)]=_0x1ed2ad,this[_0x46725d(0x1cc)]=_0x4929d2,this[_0x46725d(0x36b)]=_0x51c752,this[_0x46725d(0x37e)]=_0x28635f,this[_0x46725d(0x395)]=_0x530f8c,this[_0x46725d(0x20d)]=_0x644afb);}get[_0xddf351(0x333)](){const _0x9e9a44=_0xddf351;return this[_0x9e9a44(0x1a5)][_0x9e9a44(0x2a9)]();}get[_0xddf351(0x1c4)](){const _0x5b2118=_0xddf351;return this[_0x5b2118(0x1dd)][_0x5b2118(0x2a9)]();}[_0xddf351(0x2a4)](){const _0x3e7286=_0xddf351;super[_0x3e7286(0x2a4)](),this['_cursorInfo$'][_0x3e7286(0x1e8)](new Map()),this[_0x3e7286(0x1a5)][_0x3e7286(0x28a)](),this[_0x3e7286(0x1dd)][_0x3e7286(0x1e8)]([]),this['_roomMembers$'][_0x3e7286(0x28a)]();}[_0xddf351(0x216)](){const _0x27a037=_0xddf351;this[_0x27a037(0x309)]||(this[_0x27a037(0x309)]=!0x0,this[_0x27a037(0x1f6)][_0x27a037(0x314)][_0x27a037(0x180)](_0x1e2a43[_0x27a037(0x2f6)](this['dispose$']))[_0x27a037(0x1df)](_0x1daf90=>{const _0x1963b9=_0x27a037;_0x1daf90===_0xbb51f4[_0x1963b9(0x1f0)][_0x1963b9(0x2b1)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x27a037(0x2bc)]['pipe'](_0x1e2a43[_0x27a037(0x2f6)](this['dispose$']))[_0x27a037(0x1df)](_0x1da044=>{const _0x55c1a0=_0x27a037,_0x156586=_0x1da044[_0x55c1a0(0x1e4)];_0x156586===_0x1e18ea[_0x55c1a0(0x2d6)][_0x55c1a0(0x204)]&&this[_0x55c1a0(0x36d)](_0x1da044),_0x156586===_0x1e18ea[_0x55c1a0(0x2d6)][_0x55c1a0(0x1b5)]&&this[_0x55c1a0(0x254)](_0x1da044);}),this[_0x27a037(0x346)](),this[_0x27a037(0x351)](this[_0x27a037(0x395)][_0x27a037(0x2ca)](_0x424387=>{const _0x563539=_0x27a037;if(this[_0x563539(0x37d)]&&_0x424387['id']===_0x336776[_0x563539(0x292)]['id']&&_0x424387['params'][_0x563539(0x2af)]===this[_0x563539(0x1e5)]){const _0x36af3d=_0x424387[_0x563539(0x27a)];this[_0x563539(0x21c)](_0x36af3d[_0x563539(0x375)],_0x36af3d['selections'][0x0]);}})));}['_onCursorUpdate'](_0xdab9c4){const _0xce59f6=_0xddf351;var _0x21fc0b,_0x2d22a2;const {memberID:_0x2c8727,selection:_0x29cd3f}=_0xdab9c4[_0xce59f6(0x2b8)],{sheetName:_0x122890,range:_0x18f0a9}=_0x2a1c7a[_0xce59f6(0x1c1)](_0x29cd3f),_0x442147={'name':(_0x2d22a2=(_0x21fc0b=this[_0xce59f6(0x36b)]['getMember'](this['unitID'],_0x2c8727))==null?void 0x0:_0x21fc0b['name'])!=null?_0x2d22a2:'Unknown\x20user','range':this['_getMergeRange'](_0x122890,_0x18f0a9),'sheetID':_0x122890,'color':this[_0xce59f6(0x1cc)][_0xce59f6(0x1c7)](_0x2c8727),'selection':_0x29cd3f},_0x13859d=this[_0xce59f6(0x333)];_0x13859d['set'](_0x2c8727,_0x442147),this[_0xce59f6(0x1a5)]['next'](_0x13859d);}[_0xddf351(0x254)](_0x4f37ac){const _0x5ddadd=_0xddf351,{memberID:_0x27fb36}=_0x4f37ac[_0x5ddadd(0x2b8)],_0x36dea7=this[_0x5ddadd(0x333)];_0x36dea7[_0x5ddadd(0x34b)](_0x27fb36),this['_cursorInfo$'][_0x5ddadd(0x1e8)](_0x36dea7);}['_getMergeRange'](_0x2fa86b,_0x8a3264){const _0x1353a8=_0xddf351;var _0x37789e,_0x1529ba;const _0x1732e4=(_0x1529ba=(_0x37789e=this[_0x1353a8(0x37e)][_0x1353a8(0x1ba)](this[_0x1353a8(0x1e5)]))==null?void 0x0:_0x37789e['getSheetBySheetId'](_0x2fa86b))==null?void 0x0:_0x1529ba[_0x1353a8(0x3b8)]();return(_0x1732e4==null?void 0x0:_0x1732e4[_0x1353a8(0x2e2)](_0x58254e=>_0x37b4f8['Rectangle']['contains'](_0x58254e,_0x8a3264)))||_0x8a3264;}[_0xddf351(0x346)](){const _0xddd3a3=_0xddf351,_0x3ccfb0=new _0x37b4f8[(_0xddd3a3(0x270))](),_0x178055=_0xfa3f91(),_0x3868f8=()=>{const _0x4a7a33=_0xddd3a3;_0x3ccfb0[_0x4a7a33(0x2a4)]();const _0x3bf2b4=(_0x4b1f0e,_0x24d507,_0x446314,_0x55c8ee)=>{const _0x489f67=_0x4a7a33;let _0x10d6ea=[];switch(_0x4b1f0e['id']){case _0x336776[_0x489f67(0x257)][_0x489f67(0x3fd)]:{_0x10d6ea=_0x336776[_0x489f67(0x26c)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776['EffectRefRangId'][_0x489f67(0x390)]:{_0x10d6ea=_0x336776[_0x489f67(0x2da)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776[_0x489f67(0x257)][_0x489f67(0x22a)]:{_0x10d6ea=_0x336776[_0x489f67(0x307)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776[_0x489f67(0x257)][_0x489f67(0x1ab)]:{_0x10d6ea=_0x336776[_0x489f67(0x215)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776[_0x489f67(0x257)][_0x489f67(0x30e)]:{_0x10d6ea=_0x336776[_0x489f67(0x1ef)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776[_0x489f67(0x257)][_0x489f67(0x26e)]:{_0x10d6ea=_0x336776[_0x489f67(0x360)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776[_0x489f67(0x257)][_0x489f67(0x29c)]:{_0x10d6ea=_0x336776[_0x489f67(0x400)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776[_0x489f67(0x257)]['RemoveColCommandId']:{_0x10d6ea=_0x336776[_0x489f67(0x20f)](_0x4b1f0e,_0x55c8ee);break;}case _0x336776[_0x489f67(0x257)][_0x489f67(0x23c)]:{_0x10d6ea=_0x336776['handleIRemoveRow'](_0x4b1f0e,_0x55c8ee);break;}}const _0x42491b=_0x336776[_0x489f67(0x1d3)](_0x10d6ea,_0x55c8ee),_0x4e2247=this[_0x489f67(0x333)]['get'](_0x24d507);if(_0x4e2247&&_0x42491b){const _0x390a19={..._0x4e2247,'range':_0x42491b};this[_0x489f67(0x333)][_0x489f67(0x35c)](_0x24d507,_0x390a19),_0x178055(()=>{const _0x82cd1f=_0x489f67,_0x36853e=this[_0x82cd1f(0x20d)][_0x82cd1f(0x3bd)](_0x42491b,_0x48bf8b=>(_0x36853e[_0x82cd1f(0x2a4)](),_0x3bf2b4(_0x48bf8b,_0x24d507,_0x446314,_0x42491b)));_0x3ccfb0[_0x82cd1f(0x3ba)](_0x36853e);});}return{'redos':[],'undos':[]};};this[_0x4a7a33(0x333)][_0x4a7a33(0x1b8)]((_0xd34064,_0x13c060)=>{const _0x3c2874=_0x4a7a33,{range:_0x75dddb,sheetID:_0x48340f}=_0xd34064,_0x5560e6=this[_0x3c2874(0x20d)][_0x3c2874(0x3bd)](_0x75dddb,_0x177852=>(_0x5560e6[_0x3c2874(0x2a4)](),_0x3bf2b4(_0x177852,_0x13c060,_0x48340f,_0x75dddb)));_0x3ccfb0[_0x3c2874(0x3ba)](_0x5560e6);});};this[_0xddd3a3(0x351)](_0x37b4f8[_0xddd3a3(0x38b)](this[_0xddd3a3(0x1a5)][_0xddd3a3(0x1df)](()=>{_0x3868f8();})));}['_toggleOnline'](){const _0x582945=_0xddf351;var _0x1eab28,_0x481bc4;if(this[_0x582945(0x37d)]=!0x0,((_0x1eab28=this[_0x582945(0x37e)][_0x582945(0x36c)]())==null?void 0x0:_0x1eab28['getUnitId']())!==this[_0x582945(0x1e5)])return;const _0x846201=(_0x481bc4=this[_0x582945(0x396)]['get'](_0x336776[_0x582945(0x1e1)])[_0x582945(0x24e)]())==null?void 0x0:_0x481bc4[0x0],_0x2ceeb2=this['_univerInstanceService'][_0x582945(0x271)](_0x37b4f8[_0x582945(0x17f)][_0x582945(0x337)])[_0x582945(0x23e)]();_0x846201&&_0x2ceeb2&&this[_0x582945(0x21c)](_0x2ceeb2[_0x582945(0x288)](),_0x846201);}[_0xddf351(0x2a1)](){const _0x112658=_0xddf351;this[_0x112658(0x37d)]=!0x1;}};_0x217137=_0x37fb1f([_0x5b69d1(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2b6)])),_0x5b69d1(0x3,_0x37b4f8[_0xddf351(0x3c4)](_0x42dddc)),_0x5b69d1(0x4,_0x37b4f8[_0xddf351(0x3c4)](_0xbb51f4[_0xddf351(0x3d5)])),_0x5b69d1(0x5,_0x37b4f8['IUniverInstanceService']),_0x5b69d1(0x6,_0x37b4f8[_0xddf351(0x1aa)]),_0x5b69d1(0x7,_0x37b4f8[_0xddf351(0x3c4)](_0x336776[_0xddf351(0x3bf)]))],_0x217137);var _0x1fbccf=Object[_0xddf351(0x27c)],_0x9db504=(_0x37e928,_0x3f88f1,_0x53d364,_0x4c448a)=>{const _0x4ab926=_0xddf351;for(var _0x55649a=_0x4c448a>0x1?void 0x0:_0x4c448a?_0x1fbccf(_0x3f88f1,_0x53d364):_0x3f88f1,_0x2168fe=_0x37e928[_0x4ab926(0x2ef)]-0x1,_0x3ce40a;_0x2168fe>=0x0;_0x2168fe--)(_0x3ce40a=_0x37e928[_0x2168fe])&&(_0x55649a=_0x3ce40a(_0x55649a)||_0x55649a);return _0x55649a;},_0x118ab2=(_0x3c4d43,_0x5631cd)=>(_0x1e2521,_0x321472)=>_0x5631cd(_0x1e2521,_0x321472,_0x3c4d43);let _0x2bfcb0=class extends _0x37b4f8[_0xddf351(0x22d)]{constructor(_0x1e51fd,_0x4f43f2,_0x3cc054){const _0x2e2582=_0xddf351;super(),_0x986cf9(this,_0x2e2582(0x1ed),new Map()),_0x986cf9(this,_0x2e2582(0x2d4),new _0x1e2a43[(_0x2e2582(0x3e6))]()),(this[_0x2e2582(0x37e)]=_0x1e51fd,this[_0x2e2582(0x396)]=_0x4f43f2,this[_0x2e2582(0x3de)]=_0x3cc054,this[_0x2e2582(0x309)]());}[_0xddf351(0x2a4)](){const _0x382377=_0xddf351;super[_0x382377(0x2a4)](),this[_0x382377(0x2d4)]['complete'](),this[_0x382377(0x1ed)][_0x382377(0x1b8)](_0x28f234=>_0x28f234[_0x382377(0x2a4)]());}[_0xddf351(0x31b)](_0x15f927){const _0x1027ca=_0xddf351;return this['_entities'][_0x1027ca(0x262)](_0x15f927)?this[_0x1027ca(0x1ed)][_0x1027ca(0x1e3)](_0x15f927)[_0x1027ca(0x1bd)]:this[_0x1027ca(0x2d4)][_0x1027ca(0x180)](_0x1e2a43[_0x1027ca(0x230)](_0x2449ac=>_0x2449ac['unitID']===_0x15f927),_0x1e2a43[_0x1027ca(0x228)](_0xed338e=>_0xed338e['cursorInfo$']));}['_init'](){const _0x33b205=_0xddf351;this[_0x33b205(0x37e)][_0x33b205(0x293)](_0x37b4f8[_0x33b205(0x17f)][_0x33b205(0x337)])[_0x33b205(0x180)](_0x1e2a43[_0x33b205(0x2f6)](this[_0x33b205(0x308)]))[_0x33b205(0x1df)](async _0x89f781=>{const _0x463eeb=_0x33b205,_0x410963=_0x89f781[_0x463eeb(0x305)](),_0x3eed35=await this[_0x463eeb(0x2dd)](_0x410963);this[_0x463eeb(0x2d4)][_0x463eeb(0x1e8)](_0x3eed35),this['_entities'][_0x463eeb(0x35c)](_0x410963,_0x3eed35);}),this[_0x33b205(0x37e)][_0x33b205(0x293)](_0x37b4f8[_0x33b205(0x17f)][_0x33b205(0x365)])[_0x33b205(0x180)](_0x1e2a43[_0x33b205(0x2f6)](this['dispose$']))[_0x33b205(0x180)](_0x1e2a43[_0x33b205(0x230)](_0x3f68e2=>!_0x3f68e2['getUnitId']()['startsWith']('__')))[_0x33b205(0x1df)](async _0x541476=>{const _0x42ed8f=_0x33b205,_0x10eaec=_0x541476['getUnitId'](),_0x48f049=await this[_0x42ed8f(0x24b)](_0x10eaec);this[_0x42ed8f(0x2d4)]['next'](_0x48f049),this[_0x42ed8f(0x1ed)][_0x42ed8f(0x35c)](_0x10eaec,_0x48f049);}),_0x1e2a43[_0x33b205(0x22c)](this[_0x33b205(0x37e)]['getTypeOfUnitDisposed$'](_0x37b4f8['UniverInstanceType'][_0x33b205(0x365)]),this[_0x33b205(0x37e)][_0x33b205(0x393)](_0x37b4f8[_0x33b205(0x17f)][_0x33b205(0x337)]))[_0x33b205(0x180)](_0x1e2a43['takeUntil'](this[_0x33b205(0x308)]))['subscribe'](_0x3fa5a2=>{const _0x46cc4a=_0x33b205,_0x291509=_0x3fa5a2[_0x46cc4a(0x305)](),_0x31e9c0=this['_entities'][_0x46cc4a(0x1e3)](_0x291509);_0x31e9c0&&(_0x31e9c0[_0x46cc4a(0x2a4)](),this['_entities'][_0x46cc4a(0x34b)](_0x291509));});}async['_startSheetCollabCursor'](_0x178146){const _0xd23f3d=_0xddf351,_0x25b59e=await this[_0xd23f3d(0x3de)][_0xd23f3d(0x29b)](_0x178146),_0x454ffa=this['_injector'][_0xd23f3d(0x1b3)](_0x217137,_0x178146,_0x25b59e);return _0x454ffa[_0xd23f3d(0x216)](),_0x454ffa;}async[_0xddf351(0x24b)](_0x36ef6b){const _0x257e3f=_0xddf351,_0x124c96=await this[_0x257e3f(0x3de)]['requireSession'](_0x36ef6b),_0xe052e4=this[_0x257e3f(0x396)]['createInstance'](_0x5b3de6,_0x36ef6b,_0x124c96);return _0xe052e4['init'](),_0xe052e4;}};_0x2bfcb0=_0x9db504([_0x118ab2(0x0,_0x37b4f8[_0xddf351(0x3bb)]),_0x118ab2(0x1,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2b6)])),_0x118ab2(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0xbb51f4['CollaborationSessionService']))],_0x2bfcb0);const _0x5318f6=0x14,_0x226632=0xc8,_0x19ddde=0x4,_0x4b6732=0x5;function _0x444263(_0x2a95f0,_0x2ba23a){const _0x3ef816=_0xddf351;let {radius:_0x31e2db,width:_0x5df45f,height:_0x30ed3c}=_0x2ba23a;_0x31e2db=_0x31e2db!=null?_0x31e2db:0x0,_0x5df45f=_0x5df45f!=null?_0x5df45f:0x1e,_0x30ed3c=_0x30ed3c!=null?_0x30ed3c:0x1e;let _0x1e3332=0x0,_0x2265d6=0x0,_0x382608=0x0;_0x1e3332=_0x2265d6=_0x382608=Math['min'](_0x31e2db,_0x5df45f/0x2,_0x30ed3c/0x2),_0x2a95f0[_0x3ef816(0x3f0)](),_0x2a95f0[_0x3ef816(0x1af)](_0x1e3332,0x0),_0x2a95f0['lineTo'](_0x5df45f-_0x2265d6,0x0),_0x2a95f0[_0x3ef816(0x359)](_0x5df45f-_0x2265d6,_0x2265d6,_0x2265d6,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a95f0[_0x3ef816(0x3b5)](_0x5df45f,_0x30ed3c-_0x382608),_0x2a95f0[_0x3ef816(0x359)](_0x5df45f-_0x382608,_0x30ed3c-_0x382608,_0x382608,0x0,Math['PI']/0x2,!0x1),_0x2a95f0['lineTo'](0x0,_0x30ed3c),_0x2a95f0['lineTo'](0x0,_0x1e3332),_0x2a95f0[_0x3ef816(0x359)](_0x1e3332,_0x1e3332,_0x1e3332,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a95f0[_0x3ef816(0x26d)](),_0x2ba23a[_0x3ef816(0x24a)]&&(_0x2a95f0[_0x3ef816(0x35d)](),_0x2a95f0['fillStyle']=_0x2ba23a[_0x3ef816(0x24a)],_0x2ba23a[_0x3ef816(0x30b)]===_0x3ef816(0x26a)?_0x2a95f0[_0x3ef816(0x24a)](_0x3ef816(0x26a)):_0x2a95f0[_0x3ef816(0x24a)](),_0x2a95f0[_0x3ef816(0x2ba)]());}class _0x3bd2a2 extends _0x43f3eb[_0xddf351(0x195)]{constructor(_0x5cca69,_0x341e23){const _0x355ea3=_0xddf351;super(_0x5cca69,_0x341e23),_0x986cf9(this,'color'),_0x986cf9(this,'text'),(this[_0x355ea3(0x2ac)]=_0x341e23==null?void 0x0:_0x341e23['color'],this[_0x355ea3(0x2a2)]=_0x341e23==null?void 0x0:_0x341e23['text']);}static[_0xddf351(0x2e4)](_0x12e4e0,_0x5ee778){const _0x411066=_0xddf351,{text:_0x8adbf0,color:_0xfe0b0e}=_0x5ee778;_0x12e4e0[_0x411066(0x35d)](),_0x12e4e0[_0x411066(0x179)]=_0x411066(0x185);const _0x1174f0=_0x12e4e0[_0x411066(0x3aa)](_0x8adbf0)[_0x411066(0x3c0)],_0x488779=Math[_0x411066(0x248)](_0x1174f0+0x2*_0x19ddde,_0x226632);_0x444263(_0x12e4e0,{'height':_0x5318f6,'radius':0x4,'width':_0x488779,'fill':_0xfe0b0e}),_0x12e4e0['fillStyle']=_0x411066(0x35e);const _0x392a1e=_0x19ddde,_0x597f6e=_0x5318f6-_0x4b6732,_0x3ea89e=_0x226632-0x2*_0x19ddde;if(_0x1174f0>_0x3ea89e){let _0x18a4a9='',_0x58c707=0x0;for(const _0x5e71b5 of _0x8adbf0){const _0x50132e=_0x12e4e0[_0x411066(0x3aa)](_0x5e71b5)[_0x411066(0x3c0)];if(_0x58c707+_0x50132e<=_0x3ea89e-_0x12e4e0[_0x411066(0x3aa)](_0x411066(0x3f6))['width'])_0x18a4a9+=_0x5e71b5,_0x58c707+=_0x50132e;else{_0x18a4a9+=_0x411066(0x3f6);break;}}_0x12e4e0[_0x411066(0x373)](_0x18a4a9,_0x392a1e,_0x597f6e);}else _0x12e4e0[_0x411066(0x373)](_0x8adbf0,_0x392a1e,_0x597f6e);_0x12e4e0['restore']();}[_0xddf351(0x2ea)](_0x5a6828){const _0x33a239=_0xddf351;_0x3bd2a2[_0x33a239(0x2e4)](_0x5a6828,this);}}const _0x52a4a4='collab-text-anchor-',_0x19ab9f=_0xddf351(0x210),_0x12352f=_0xddf351(0x240),_0x87d3ad=0x6,_0x5db28f=1.5,_0x25461c=0x4,_0x29cf19=1.5,_0x110544='rgba(255,\x20255,\x20255,\x200.01)';class _0x5ec9e7{constructor(_0x280ab4,_0x33dc41,_0x17a3f5,_0x8a1c1e){const _0x69f8c9=_0xddf351;_0x986cf9(this,_0x69f8c9(0x1b6),[]),_0x986cf9(this,'_anchor',null),_0x986cf9(this,'_textBubble',null),_0x986cf9(this,_0x69f8c9(0x236),null),_0x986cf9(this,'_hideTimer',null),_0x986cf9(this,'_eventUnsubscribe',null),(this[_0x69f8c9(0x2e3)]=_0x280ab4,this[_0x69f8c9(0x28d)]=_0x33dc41,this[_0x69f8c9(0x2fc)]=_0x17a3f5,this[_0x69f8c9(0x2e7)]=_0x8a1c1e,this[_0x69f8c9(0x202)]());}set[_0xddf351(0x207)](_0x20d7c4){const _0x46c0ab=_0xddf351;_0x20d7c4?(this[_0x46c0ab(0x236)]&&this[_0x46c0ab(0x236)][_0x46c0ab(0x38d)](),this[_0x46c0ab(0x321)]&&this[_0x46c0ab(0x321)]['show']()):(this[_0x46c0ab(0x236)]&&this[_0x46c0ab(0x236)]['show'](),this[_0x46c0ab(0x321)]&&this[_0x46c0ab(0x321)][_0x46c0ab(0x38d)]());}[_0xddf351(0x2a4)](){const _0x40b98c=_0xddf351;for(const _0x22e2ad of this[_0x40b98c(0x1b6)])_0x22e2ad[_0x40b98c(0x2a4)]();this[_0x40b98c(0x321)]&&this['_textBubble']['dispose'](),this[_0x40b98c(0x236)]&&this[_0x40b98c(0x236)]['dispose'](),this[_0x40b98c(0x331)]&&this['_anchor'][_0x40b98c(0x2a4)](),this[_0x40b98c(0x1da)]&&this[_0x40b98c(0x1da)]();}[_0xddf351(0x202)](){const _0xb6c4da=_0xddf351;var _0x54718e;const {_docSkeleton:_0x313c98,_document:_0x2ac877}=this,{color:_0x3eefa0,name:_0x4f6664,ranges:_0x2cf3f5}=this[_0xb6c4da(0x2e3)],_0x408873=_0x2ac877[_0xb6c4da(0x2a6)](),{docsLeft:_0x4ab205,docsTop:_0x560d70}=_0x408873,_0x38279c=new _0x4c443b['NodePositionConvertToCursor'](_0x408873,_0x313c98);for(const {startOffset:_0x21eb99,endOffset:_0x268651,rangeType:_0x3ed0a5,segmentId:_0x42693a,segmentPage:_0x33b353,collapsed:_0x37c2e0,isActive:_0x46f1e5}of _0x2cf3f5){const _0x2379e4=_0x313c98[_0xb6c4da(0x1d7)](_0x21eb99,!0x0,_0x42693a,_0x33b353);let _0x3077ad=_0x313c98[_0xb6c4da(0x1d7)](_0x268651,!0x0,_0x42693a,_0x33b353);if(_0x3077ad==null&&(_0x3077ad=_0x313c98[_0xb6c4da(0x1d7)](_0x268651-0x1,!0x1,_0x42693a,_0x33b353)),_0x46f1e5){const {contentBoxPointGroup:_0x1262fa}=_0x38279c[_0xb6c4da(0x3a6)](_0x3077ad,_0x3077ad);if(_0x1262fa[_0xb6c4da(0x2ef)]===0x0)continue;this[_0xb6c4da(0x1f1)](_0x3eefa0,_0x1262fa,_0x4ab205,_0x560d70,_0x4f6664),this['_eventUnsubscribe']=this[_0xb6c4da(0x25e)]();}if(_0x2379e4&&_0x3077ad){if(_0x3ed0a5===_0x37b4f8[_0xb6c4da(0x1b1)][_0xb6c4da(0x23a)]){const _0x51735a=new _0x4c443b[(_0xb6c4da(0x3e5))](_0x408873,_0x313c98),{pointGroup:_0x5d276e}=(_0x54718e=_0x51735a['getRangePointData'](_0x2379e4,_0x3077ad))!=null?_0x54718e:{};if(_0x5d276e==null||_0x5d276e['length']===0x0)continue;this['_drawRectRange'](_0x3eefa0,_0x5d276e,_0x4ab205,_0x560d70);}else{if(!_0x37c2e0){const {borderBoxPointGroup:_0x5f07a6}=_0x38279c[_0xb6c4da(0x3a6)](_0x2379e4,_0x3077ad);if(_0x5f07a6['length']===0x0)continue;this[_0xb6c4da(0x303)](_0x3eefa0,_0x5f07a6,_0x4ab205,_0x560d70);}}}}}[_0xddf351(0x1f1)](_0x244ffb,_0x12e5e3,_0x1a8175,_0x2d54b9,_0x47c1df){const _0x1f0ac4=_0xddf351,_0x4c3777=this[_0x1f0ac4(0x1c5)](_0x12e5e3),{left:_0x421c0b,top:_0x2c5409,height:_0x518543}=_0x4c3777,_0x1d4667=this[_0x1f0ac4(0x386)](),_0x16a917=_0x29cf19/_0x1d4667,_0x4b7b34=new _0x43f3eb['Rect'](_0x52a4a4+_0x37b4f8[_0x1f0ac4(0x2df)]['generateRandomId'](_0x87d3ad),{'left':_0x421c0b+_0x1a8175-_0x16a917,'top':_0x2c5409+_0x2d54b9,'height':_0x518543,'width':_0x5db28f,'fill':_0x244ffb||_0x43f3eb[_0x1f0ac4(0x245)](_0x37b4f8[_0x1f0ac4(0x380)][_0x1f0ac4(0x2ab)],0x0),'strokeWidth':_0x16a917,'stroke':_0x110544,'evented':!0x0});this['_anchor']=_0x4b7b34,this[_0x1f0ac4(0x28d)][_0x1f0ac4(0x394)](_0x4b7b34,_0x4c443b['TEXT_RANGE_LAYER_INDEX']);const _0x38f523=new _0x43f3eb[(_0x1f0ac4(0x1f7))](_0x52a4a4+_0x37b4f8[_0x1f0ac4(0x2df)][_0x1f0ac4(0x1f5)](_0x87d3ad),{'left':_0x421c0b+_0x1a8175-_0x16a917,'top':_0x2c5409+_0x2d54b9-_0x25461c/0x2,'height':_0x25461c,'width':_0x25461c,'fill':_0x244ffb||_0x43f3eb[_0x1f0ac4(0x245)](_0x37b4f8['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x244ffb||_0x43f3eb[_0x1f0ac4(0x245)](_0x37b4f8[_0x1f0ac4(0x380)][_0x1f0ac4(0x2ab)],0x0),'evented':!0x1});this[_0x1f0ac4(0x236)]=_0x38f523,this[_0x1f0ac4(0x28d)]['addObject'](_0x38f523,_0x4c443b['TEXT_RANGE_LAYER_INDEX']);const _0x2ceb4d=new _0x3bd2a2(_0x52a4a4+_0x37b4f8[_0x1f0ac4(0x2df)][_0x1f0ac4(0x1f5)](_0x87d3ad),{'left':_0x421c0b+_0x1a8175-_0x16a917,'top':_0x2c5409+_0x2d54b9-_0x5318f6,'text':_0x47c1df,'color':_0x244ffb});this['_textBubble']=_0x2ceb4d,this['_scene']['addObject'](_0x2ceb4d,_0x4c443b['TEXT_RANGE_LAYER_INDEX']),this[_0x1f0ac4(0x207)]=!0x1;}[_0xddf351(0x25e)](){const _0x532f7b=_0xddf351,_0x4f77ad=this[_0x532f7b(0x331)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x5643be=_0x532f7b;this[_0x5643be(0x207)]=!0x0;}),_0x2c76de=this[_0x532f7b(0x331)][_0x532f7b(0x189)]['subscribeEvent'](()=>{const _0x255ca8=_0x532f7b;this['_hideTimer']&&clearTimeout(this[_0x255ca8(0x30a)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xc35d5=_0x532f7b;_0x4f77ad[_0xc35d5(0x18a)](),_0x2c76de['unsubscribe']();};}[_0xddf351(0x303)](_0x149796,_0x5368bc,_0x3fe2a6,_0x1c420d){const _0xa22d87=_0xddf351,_0x3869ab=new _0x37b4f8['ColorKit'](_0x149796)[_0xa22d87(0x1cd)](0.2)['toRgbString'](),_0xb48268=new _0x43f3eb[(_0xa22d87(0x2d3))](_0x19ab9f+_0x37b4f8[_0xa22d87(0x2df)][_0xa22d87(0x1f5)](_0x87d3ad),{'pointsGroup':_0x5368bc,'fill':_0x3869ab||_0x43f3eb[_0xa22d87(0x245)](_0x37b4f8['COLORS'][_0xa22d87(0x2ab)],0.2),'left':_0x3fe2a6,'top':_0x1c420d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa22d87(0x1b6)][_0xa22d87(0x22e)](_0xb48268),this[_0xa22d87(0x28d)]['addObject'](_0xb48268,_0x4c443b['TEXT_RANGE_LAYER_INDEX']);}[_0xddf351(0x3a7)](_0x3b93fa,_0x5f41c8,_0x16f012,_0x4151b8){const _0x29ea53=_0xddf351,_0xc50688=new _0x37b4f8['ColorKit'](_0x3b93fa)[_0x29ea53(0x1cd)](0.2)[_0x29ea53(0x338)](),_0x1688db=new _0x43f3eb['RegularPolygon'](_0x12352f+_0x37b4f8[_0x29ea53(0x2df)]['generateRandomId'](_0x87d3ad),{'pointsGroup':_0x5f41c8,'fill':_0xc50688||_0x43f3eb['getColor'](_0x37b4f8['COLORS']['black'],0.2),'left':_0x16f012,'top':_0x4151b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x29ea53(0x1b6)][_0x29ea53(0x22e)](_0x1688db),this[_0x29ea53(0x28d)][_0x29ea53(0x394)](_0x1688db,_0x4c443b[_0x29ea53(0x3fc)]);}[_0xddf351(0x1c5)](_0x5d2f3e){const _0x534752=_0x5d2f3e[0x0],_0x2319a6=_0x534752[0x0],_0x404003=_0x534752[0x2],{x:_0x4612cf,y:_0x49c06e}=_0x2319a6,{x:_0x403803,y:_0x3f4641}=_0x404003;return{'left':_0x4612cf,'top':_0x49c06e,'width':_0x403803-_0x4612cf,'height':_0x3f4641-_0x49c06e};}[_0xddf351(0x386)](){const _0x4c5206=_0xddf351,{scaleX:_0x2c7019,scaleY:_0x589794}=this['_scene'][_0x4c5206(0x2c5)]();return Math[_0x4c5206(0x225)](_0x2c7019,_0x589794);}}var _0x122955=Object[_0xddf351(0x27c)],_0x5c57ff=(_0x3bb793,_0x3b8d32,_0x3f3622,_0x5916a3)=>{const _0x5c2aa1=_0xddf351;for(var _0x4513d3=_0x5916a3>0x1?void 0x0:_0x5916a3?_0x122955(_0x3b8d32,_0x3f3622):_0x3b8d32,_0xa2b14a=_0x3bb793[_0x5c2aa1(0x2ef)]-0x1,_0x1dd7b9;_0xa2b14a>=0x0;_0xa2b14a--)(_0x1dd7b9=_0x3bb793[_0xa2b14a])&&(_0x4513d3=_0x1dd7b9(_0x4513d3)||_0x4513d3);return _0x4513d3;},_0x3be3b3=(_0x574561,_0x2e500e)=>(_0x471c8f,_0x3fe653)=>_0x2e500e(_0x471c8f,_0x3fe653,_0x574561);let _0x2e557a=class extends _0x37b4f8[_0xddf351(0x22d)]{constructor(_0x1414da,_0x1f8912,_0x535b0d,_0x2ffaed,_0xb96fa3){const _0x5a127a=_0xddf351;super(),_0x986cf9(this,_0x5a127a(0x2d5),[]),_0x986cf9(this,'_cursors',[]),(this[_0x5a127a(0x1e2)]=_0x1414da,this[_0x5a127a(0x1ce)]=_0x1f8912,this[_0x5a127a(0x3c8)]=_0x535b0d,this['_commandService']=_0x2ffaed,this[_0x5a127a(0x20a)]=_0xb96fa3,this[_0x5a127a(0x309)]());}[_0xddf351(0x309)](){const _0x59ef4e=_0xddf351,_0x3e4ffe=this[_0x59ef4e(0x1e2)][_0x59ef4e(0x2af)],_0x1874ce=this[_0x59ef4e(0x1ce)];this[_0x59ef4e(0x351)](_0x1e2a43[_0x59ef4e(0x35b)]([this[_0x59ef4e(0x3c8)][_0x59ef4e(0x31b)](_0x3e4ffe),this[_0x59ef4e(0x20a)][_0x59ef4e(0x3a4)]])[_0x59ef4e(0x180)](_0x45f5ed[_0x59ef4e(0x213)](([_0x2444a0,_0x190462])=>({'skeleton':_0x1874ce[_0x59ef4e(0x398)](),'cursors':[..._0x2444a0[_0x59ef4e(0x387)]()][_0x59ef4e(0x21a)](_0x106da3=>({..._0x106da3,'color':this[_0x59ef4e(0x20a)][_0x59ef4e(0x362)](_0x106da3[_0x59ef4e(0x2ac)])}))})))['subscribe'](_0x44fa70=>{const _0x5c0770=_0x59ef4e;if(this[_0x5c0770(0x3fb)](),_0x44fa70){const {skeleton:_0x54e645,cursors:_0x335344}=_0x44fa70;this[_0x5c0770(0x190)](_0x54e645,_0x335344);}})),this[_0x59ef4e(0x175)](),this[_0x59ef4e(0x1dc)]();}['_updateCollabCursors'](_0x47df0c,_0x5df590){const _0x56c4b1=_0xddf351,{scene:_0x434121,mainComponent:_0x6432f4}=this[_0x56c4b1(0x1e2)],_0x17f343=_0x5df590[_0x56c4b1(0x213)](_0x240bba=>new _0x5ec9e7(_0x240bba,_0x434121,_0x47df0c,_0x6432f4));this[_0x56c4b1(0x2d5)]=_0x17f343,this[_0x56c4b1(0x1de)]=_0x5df590;}[_0xddf351(0x340)](){const _0xc2248a=_0xddf351;this[_0xc2248a(0x3fb)]();const {scene:_0x218971,mainComponent:_0xa1d2de}=this['_context'],_0x3008d4=this[_0xc2248a(0x1ce)][_0xc2248a(0x398)](),_0x47597a=this[_0xc2248a(0x1de)][_0xc2248a(0x213)](_0x3b50b2=>new _0x5ec9e7(_0x3b50b2,_0x218971,_0x3008d4,_0xa1d2de));this[_0xc2248a(0x2d5)]=_0x47597a;}['_removeCollabCursors'](){const _0x5e2c4c=_0xddf351;this['_cursorShapes']['forEach'](_0x159930=>_0x159930['dispose']()),this[_0x5e2c4c(0x2d5)]=[];}[_0xddf351(0x1dc)](){const _0x400243=_0xddf351,_0xa658e4=[_0x4c443b[_0x400243(0x369)]['id']];this[_0x400243(0x351)](this[_0x400243(0x395)]['onCommandExecuted'](_0xe4cb39=>{const _0x4b4cf8=_0x400243;_0xa658e4[_0x4b4cf8(0x2f2)](_0xe4cb39['id'])&&_0xe4cb39['params'][_0x4b4cf8(0x2af)]===this[_0x4b4cf8(0x1e2)][_0x4b4cf8(0x2af)]&&this[_0x4b4cf8(0x340)]();}));}['_initResize'](){const _0x5e3e1d=_0xddf351;this[_0x5e3e1d(0x351)](_0x37b4f8[_0x5e3e1d(0x339)](this[_0x5e3e1d(0x1e2)][_0x5e3e1d(0x1ad)][_0x5e3e1d(0x29a)])[_0x5e3e1d(0x180)](_0x45f5ed[_0x5e3e1d(0x230)](_0x4de722=>_0x4de722['type']===_0x43f3eb['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x45f5ed[_0x5e3e1d(0x361)](0x10))[_0x5e3e1d(0x1df)](()=>{this['_refreshCollabCursors']();}));}};_0x2e557a=_0x5c57ff([_0x3be3b3(0x1,_0x37b4f8['Inject'](_0x63e644[_0xddf351(0x3a0)])),_0x3be3b3(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0x2bfcb0)),_0x3be3b3(0x3,_0x37b4f8[_0xddf351(0x1aa)]),_0x3be3b3(0x4,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8['ThemeService']))],_0x2e557a);const _0x1e1a82=0x1,_0x52440=1.5;class _0x48692c extends _0x43f3eb['Shape']{constructor(_0x4218d1,_0x105898){const _0x3c421e=_0xddf351;super(_0x4218d1,_0x105898),_0x986cf9(this,_0x3c421e(0x33d)),_0x986cf9(this,_0x3c421e(0x306),!0x1),_0x986cf9(this,_0x3c421e(0x1b4)),_0x986cf9(this,_0x3c421e(0x18c),''),_0x986cf9(this,'_labelPosition',_0x3c421e(0x267)),_0x986cf9(this,_0x3c421e(0x2db)),(_0x105898&&this[_0x3c421e(0x1e0)](_0x105898),this[_0x3c421e(0x381)][_0x3c421e(0x367)](()=>this[_0x3c421e(0x1e0)]({'hovered':!0x0})),this[_0x3c421e(0x189)][_0x3c421e(0x367)](()=>this[_0x3c421e(0x1e0)]({'hovered':!0x1})));}['setShapeProps'](_0x137984){const _0x21bcb2=_0xddf351;var _0x1d52ca,_0x288eb3,_0x205143,_0x7527e8,_0x104190,_0x30e837;this[_0x21bcb2(0x33d)]=(_0x1d52ca=_0x137984[_0x21bcb2(0x2ac)])!=null?_0x1d52ca:this[_0x21bcb2(0x33d)],this[_0x21bcb2(0x306)]=(_0x288eb3=_0x137984[_0x21bcb2(0x2fa)])!=null?_0x288eb3:this['_hovered'],this[_0x21bcb2(0x1b4)]=(_0x205143=_0x137984[_0x21bcb2(0x2fe)])!=null?_0x205143:this['_range'],this[_0x21bcb2(0x18c)]=(_0x7527e8=_0x137984[_0x21bcb2(0x25d)])!=null?_0x7527e8:this[_0x21bcb2(0x18c)],this[_0x21bcb2(0x377)]=(_0x104190=_0x137984[_0x21bcb2(0x3ac)])!=null?_0x104190:this['_labelPosition'],this[_0x21bcb2(0x2db)]=(_0x30e837=_0x137984['backgroundColor'])!=null?_0x30e837:this[_0x21bcb2(0x2db)],this[_0x21bcb2(0x385)]({'width':_0x137984[_0x21bcb2(0x3c0)],'height':_0x137984['height']});}[_0xddf351(0x296)](_0x2ceda0){const _0x32006f=_0xddf351,{row:_0x16774e,column:_0x23a31c}=_0x2ceda0;if(_0x16774e>=this[_0x32006f(0x1b4)][_0x32006f(0x3e0)]&&_0x16774e<=this[_0x32006f(0x1b4)]['endRow']&&_0x23a31c>=this[_0x32006f(0x1b4)][_0x32006f(0x32c)]&&_0x23a31c<=this[_0x32006f(0x1b4)][_0x32006f(0x3c2)]){this[_0x32006f(0x1e0)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0xb711ad){return!0x1;}[_0xddf351(0x2ea)](_0x1a2daf){const _0x353125=_0xddf351;_0x43f3eb[_0x353125(0x1f7)][_0x353125(0x2e4)](_0x1a2daf,{'width':this[_0x353125(0x3c0)],'height':this[_0x353125(0x25b)],'strokeWidth':_0x52440,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x353125(0x2db)]}),this['_hovered']&&(_0x1a2daf[_0x353125(0x35d)](),_0x1a2daf['transform'](0x1,0x0,0x0,0x1,this[_0x353125(0x3c0)],this[_0x353125(0x377)]==='bottom'?0x0:-0x14),_0x3bd2a2[_0x353125(0x2e4)](_0x1a2daf,{'text':this['_name'],'color':this[_0x353125(0x33d)]}),_0x1a2daf[_0x353125(0x2ba)]());}}var _0x140bdf=Object['getOwnPropertyDescriptor'],_0x423c6e=(_0x1ca872,_0x2db204,_0x1bd3bc,_0x7ceaa5)=>{const _0x3317f3=_0xddf351;for(var _0x14e17b=_0x7ceaa5>0x1?void 0x0:_0x7ceaa5?_0x140bdf(_0x2db204,_0x1bd3bc):_0x2db204,_0x5b20c6=_0x1ca872[_0x3317f3(0x2ef)]-0x1,_0x4024c5;_0x5b20c6>=0x0;_0x5b20c6--)(_0x4024c5=_0x1ca872[_0x5b20c6])&&(_0x14e17b=_0x4024c5(_0x14e17b)||_0x14e17b);return _0x14e17b;},_0x15f66c=(_0x3c9e44,_0x1940eb)=>(_0x2683ed,_0x1bdcbd)=>_0x1940eb(_0x2683ed,_0x1bdcbd,_0x3c9e44);const _0x4d9494=0x1389;let _0x2cce5c=class extends _0x37b4f8[_0xddf351(0x22d)]{constructor(_0x537776,_0xa5548,_0x3a8f5f,_0x2c33f9){const _0x3d91b8=_0xddf351;super(),_0x986cf9(this,_0x3d91b8(0x1de),new Set()),_0x986cf9(this,_0x3d91b8(0x2bb),null),(this['_context']=_0x537776,this[_0x3d91b8(0x32f)]=_0xa5548,this['_collabCursorController']=_0x3a8f5f,this[_0x3d91b8(0x20a)]=_0x2c33f9,this['_init']());}[_0xddf351(0x309)](){const _0x183817=_0xddf351;this[_0x183817(0x32f)][_0x183817(0x264)][_0x183817(0x180)](_0x45f5ed[_0x183817(0x2f6)](this[_0x183817(0x308)]),_0x45f5ed[_0x183817(0x228)](_0x3c83c2=>{const _0x55d7e3=_0x183817;if(_0x3c83c2){const _0x330900=_0x3c83c2[_0x55d7e3(0x27d)];return _0x1e2a43[_0x55d7e3(0x35b)](this['_collabCursorController'][_0x55d7e3(0x31b)](this['_context']['unitId']),this[_0x55d7e3(0x20a)]['currentTheme$'])[_0x55d7e3(0x180)](_0x45f5ed[_0x55d7e3(0x213)](([_0x5d27ff,_0x2b461d])=>{const _0x28faeb=new Map();return _0x5d27ff['forEach']((_0x56b709,_0x1ee4a8)=>{const _0x1a822d=_0x394a;if(_0x56b709[_0x1a822d(0x348)]===_0x330900){const _0x1cef18={..._0x56b709};_0x1cef18[_0x1a822d(0x2ac)]=this[_0x1a822d(0x20a)][_0x1a822d(0x362)](_0x56b709[_0x1a822d(0x2ac)]),_0x28faeb['set'](_0x1ee4a8,_0x1cef18);}}),{'skeleton':_0x3c83c2,'cursors':_0x28faeb};}));}return _0x1e2a43['of']({'skeleton':null,'cursors':new Map()});}))[_0x183817(0x1df)](({skeleton:_0x6191fa,cursors:_0x442290})=>{const _0x485d6b=_0x183817;this['_removeCollabCursors'](),_0x6191fa&&this[_0x485d6b(0x190)](_0x6191fa,_0x442290);}),this[_0x183817(0x32f)][_0x183817(0x264)][_0x183817(0x1df)](_0x7dab6a=>{const _0x53f463=_0x183817;if(_0x7dab6a==null)return;const {skeleton:_0x289ea1}=_0x7dab6a,{scene:_0x406054}=this['_context'];_0x406054['onPointerMove$']['subscribeEvent'](_0x37b4f8[_0x53f463(0x198)](_0x534d07=>{const _0x43de2a=_0x53f463;var _0x16cd91,_0x3cc301;const {offsetX:_0x10c96b,offsetY:_0x4a2329}=_0x534d07,{x:_0x7aed92,y:_0x3cf137}=_0x406054[_0x43de2a(0x36e)](_0x43f3eb[_0x43de2a(0x208)]['FromArray']([_0x10c96b,_0x4a2329])),{scaleX:_0x520f78,scaleY:_0x48e88c}=_0x406054[_0x43de2a(0x2c5)](),_0x43301f=_0x406054['getViewport'](_0x43f3eb[_0x43de2a(0x1ff)][_0x43de2a(0x211)]),_0x42b60c=_0x406054[_0x43de2a(0x231)](_0x43f3eb[_0x43de2a(0x208)][_0x43de2a(0x376)]([_0x7aed92,_0x3cf137]),_0x43301f),_0x9c9f98=_0x289ea1[_0x43de2a(0x221)](_0x10c96b,_0x4a2329,_0x520f78,_0x48e88c,_0x42b60c);((_0x16cd91=this['_lastPointer'])==null?void 0x0:_0x16cd91['column'])===_0x9c9f98[_0x43de2a(0x194)]&&((_0x3cc301=this[_0x43de2a(0x2bb)])==null?void 0x0:_0x3cc301['row'])===_0x9c9f98['row']||this['_cursors'][_0x43de2a(0x1b8)](_0x11a2fe=>{_0x11a2fe['onMouseMove'](_0x9c9f98);});},0x64));});}[_0xddf351(0x190)](_0x30b0f5,_0x286862){const _0x2a3e0d=_0xddf351;var _0x10e7eb;const _0x4b557a=(_0x10e7eb=this[_0x2a3e0d(0x32f)][_0x2a3e0d(0x345)]())==null?void 0x0:_0x10e7eb[_0x2a3e0d(0x17e)];if(!_0x4b557a)return;const _0x389d0b=this['_getSheetObject']();if(!_0x389d0b)return;this[_0x2a3e0d(0x1de)]['forEach'](_0x58088b=>{_0x58088b['makeDirty']();});const {scene:_0x3b0ea6}=_0x389d0b,_0x1c2d3c=_0x2ab217(Array[_0x2a3e0d(0x39c)](_0x286862[_0x2a3e0d(0x387)]()))[_0x2a3e0d(0x213)](_0x5a03aa=>{const _0x39a051=_0x2a3e0d,{color:_0x2bc104,range:_0x1f8aac,name:_0xd7045f,selection:_0x28c020,sheetID:_0x48e3d9}=_0x5a03aa,{startColumn:_0x536129,startRow:_0xfa5a23,endColumn:_0x286ce9,endRow:_0x387167}=_0x1f8aac,_0x339c8e=_0x3e8f0d['getCoordByCell'](_0xfa5a23,_0x536129,_0x3b0ea6,_0x4b557a),_0x1ba7fb=_0x3e8f0d[_0x39a051(0x1a8)](_0x387167,_0x286ce9,_0x3b0ea6,_0x4b557a),{columnHeaderHeightAndMarginTop:_0x40d22c}=_0x4b557a,{startX:_0x5488b3,startY:_0x4a2283}=_0x339c8e,{endX:_0x1e7714,endY:_0x1d6f96}=_0x1ba7fb,_0xd7bfbc=_0x1e7714-_0x5488b3,_0x5edbf7=_0x1d6f96-_0x4a2283,_0x33faa7={'labelPosition':_0x4a2283-_0x40d22c>=_0x5318f6?_0x39a051(0x267):_0x39a051(0x3e8),'sheetID':_0x48e3d9,'range':_0x1f8aac,'color':_0x2bc104,'name':_0xd7045f,'selection':_0x28c020,'left':_0x5488b3,'top':_0x4a2283,'width':_0xd7bfbc,'height':_0x5edbf7,'evented':!0x1,'zIndex':_0x4d9494};return new _0x48692c(_0xd7045f,_0x33faa7);});_0x3b0ea6[_0x2a3e0d(0x246)](_0x1c2d3c,_0x1e1a82),this[_0x2a3e0d(0x1de)]=new Set(_0x1c2d3c);}[_0xddf351(0x3fb)](){const _0x330749=_0xddf351;var _0x2265e5;(_0x2265e5=this[_0x330749(0x1de)])==null||_0x2265e5[_0x330749(0x1b8)](_0xf6553c=>_0xf6553c[_0x330749(0x2a4)]());}[_0xddf351(0x3a8)](){const _0x520e16=_0xddf351;return _0x3e8f0d[_0x520e16(0x2bd)](this['_context'][_0x520e16(0x31e)],this['_context']);}};_0x2cce5c=_0x423c6e([_0x15f66c(0x1,_0x37b4f8[_0xddf351(0x3c4)](_0x3e8f0d[_0xddf351(0x177)])),_0x15f66c(0x2,_0x37b4f8['Inject'](_0x2bfcb0)),_0x15f66c(0x3,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2f7)]))],_0x2cce5c);function _0x2ab217(_0x16c4f9){const _0xc3abc9=_0xddf351,_0x37405a=new Map();return _0x16c4f9['forEach'](_0x23ad99=>{const _0x10c2d8=_0x394a;if(_0x37405a[_0x10c2d8(0x262)](_0x23ad99[_0x10c2d8(0x1f4)])){const _0x50b32b=_0x37405a[_0x10c2d8(0x1e3)](_0x23ad99[_0x10c2d8(0x1f4)]);_0x50b32b[_0x10c2d8(0x25d)]+=',\x20'+_0x23ad99[_0x10c2d8(0x25d)];}else _0x37405a[_0x10c2d8(0x35c)](_0x23ad99[_0x10c2d8(0x1f4)],_0x23ad99);}),Array[_0xc3abc9(0x39c)](_0x37405a[_0xc3abc9(0x387)]());}var _0x1e6e01=function(){const _0x506f1a=_0xddf351;return _0x1e6e01=Object[_0x506f1a(0x3f7)]||function(_0x43639b){const _0x21aa5a=_0x506f1a;for(var _0xa53dbf,_0x44315d=0x1,_0x33f129=arguments[_0x21aa5a(0x2ef)];_0x44315d<_0x33f129;_0x44315d++){_0xa53dbf=arguments[_0x44315d];for(var _0x37f142 in _0xa53dbf)Object[_0x21aa5a(0x1b0)][_0x21aa5a(0x2ed)][_0x21aa5a(0x218)](_0xa53dbf,_0x37f142)&&(_0x43639b[_0x37f142]=_0xa53dbf[_0x37f142]);}return _0x43639b;},_0x1e6e01['apply'](this,arguments);},_0x45dae8=function(_0x3514ab,_0x4fea75){const _0x4532ab=_0xddf351;var _0xacb2b5={};for(var _0x207f0d in _0x3514ab)Object[_0x4532ab(0x1b0)][_0x4532ab(0x2ed)][_0x4532ab(0x218)](_0x3514ab,_0x207f0d)&&_0x4fea75[_0x4532ab(0x18e)](_0x207f0d)<0x0&&(_0xacb2b5[_0x207f0d]=_0x3514ab[_0x207f0d]);if(_0x3514ab!=null&&typeof Object[_0x4532ab(0x39a)]==_0x4532ab(0x3d8)){for(var _0x39ada4=0x0,_0x207f0d=Object[_0x4532ab(0x39a)](_0x3514ab);_0x39ada4<_0x207f0d['length'];_0x39ada4++)_0x4fea75[_0x4532ab(0x18e)](_0x207f0d[_0x39ada4])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x3514ab,_0x207f0d[_0x39ada4])&&(_0xacb2b5[_0x207f0d[_0x39ada4]]=_0x3514ab[_0x207f0d[_0x39ada4]]);}return _0xacb2b5;},_0x4a29e4=_0xdfe0ba['forwardRef'](function(_0x290b26,_0x58204f){const _0x414241=_0xddf351;var _0x524cfb=_0x290b26[_0x414241(0x311)],_0x434324=_0x290b26['id'],_0x191cce=_0x290b26[_0x414241(0x1c0)],_0x348d8a=_0x290b26[_0x414241(0x319)],_0x5686cd=_0x45dae8(_0x290b26,[_0x414241(0x311),'id',_0x414241(0x1c0),_0x414241(0x319)]),_0x5b1b46=_0x414241(0x253)[_0x414241(0x279)](_0x434324,'\x20')[_0x414241(0x279)](_0x191cce||'')[_0x414241(0x2de)](),_0x3232ca=_0xdfe0ba[_0x414241(0x187)]('_'[_0x414241(0x279)](_0x1a99e7()));return _0x108937(_0x524cfb,''[_0x414241(0x279)](_0x434324),{'defIds':_0x524cfb['defIds'],'idSuffix':_0x3232ca['current']},_0x1e6e01({'ref':_0x58204f,'className':_0x5b1b46},_0x5686cd),_0x348d8a);});function _0x108937(_0x2c8200,_0x5ac5e7,_0x3a4104,_0x1f07ed,_0x32fdcb){const _0x13f488=_0xddf351;return _0xdfe0ba[_0x13f488(0x18b)](_0x2c8200[_0x13f488(0x2c8)],_0x1e6e01(_0x1e6e01({'key':_0x5ac5e7},_0xad40f4(_0x2c8200,_0x3a4104,_0x32fdcb)),_0x1f07ed),(_0x2edb2c(_0x2c8200,_0x3a4104)[_0x13f488(0x3e1)]||[])[_0x13f488(0x213)](function(_0x7674ea,_0x2ee60b){const _0x54b036=_0x13f488;return _0x108937(_0x7674ea,''[_0x54b036(0x279)](_0x5ac5e7,'-')[_0x54b036(0x279)](_0x2c8200[_0x54b036(0x2c8)],'-')[_0x54b036(0x279)](_0x2ee60b),_0x3a4104,void 0x0,_0x32fdcb);}));}function _0xad40f4(_0x47d72a,_0x6b0ad5,_0x253d10){const _0x43d240=_0xddf351;var _0x2ae503=_0x1e6e01({},_0x47d72a['attrs']);_0x253d10!=null&&_0x253d10[_0x43d240(0x285)]&&_0x2ae503[_0x43d240(0x24a)]===_0x43d240(0x285)&&(_0x2ae503[_0x43d240(0x24a)]=_0x253d10[_0x43d240(0x285)]),_0x47d72a[_0x43d240(0x2c8)]===_0x43d240(0x261)&&_0x2ae503['id']&&(_0x2ae503['id']=_0x2ae503['id']+_0x6b0ad5[_0x43d240(0x378)]),Object[_0x43d240(0x266)](_0x2ae503)[_0x43d240(0x1b8)](function(_0x229ad5){const _0x53c340=_0x43d240;var _0x5abe58=_0x229ad5[0x0],_0x5dbb01=_0x229ad5[0x1];_0x5abe58===_0x53c340(0x261)&&typeof _0x5dbb01==_0x53c340(0x173)&&(_0x2ae503[_0x5abe58]=_0x5dbb01[_0x53c340(0x290)](/url\(#(.*)\)/,'url(#$1'[_0x53c340(0x279)](_0x6b0ad5['idSuffix'],')')));});var _0xa7e21c=_0x6b0ad5['defIds'];return!_0xa7e21c||_0xa7e21c[_0x43d240(0x2ef)]===0x0||(_0x47d72a[_0x43d240(0x2c8)]===_0x43d240(0x3fe)&&_0x2ae503[_0x43d240(0x275)]&&(_0x2ae503[_0x43d240(0x275)]=_0x2ae503[_0x43d240(0x275)]+_0x6b0ad5['idSuffix']),Object[_0x43d240(0x266)](_0x2ae503)[_0x43d240(0x1b8)](function(_0x36ec69){const _0x262aaa=_0x43d240;var _0x5be49a=_0x36ec69[0x0],_0x390647=_0x36ec69[0x1];typeof _0x390647==_0x262aaa(0x173)&&(_0x2ae503[_0x5be49a]=_0x390647['replace'](/url\(#(.*)\)/,_0x262aaa(0x302)[_0x262aaa(0x279)](_0x6b0ad5[_0x262aaa(0x378)],')')));})),_0x2ae503;}function _0x2edb2c(_0xf9f754,_0x542686){const _0x44b199=_0xddf351;var _0x1c3222,_0x21e867=_0x542686['defIds'];return!_0x21e867||_0x21e867[_0x44b199(0x2ef)]===0x0?_0xf9f754:_0xf9f754[_0x44b199(0x2c8)]===_0x44b199(0x3df)&&(!((_0x1c3222=_0xf9f754[_0x44b199(0x3e1)])===null||_0x1c3222===void 0x0)&&_0x1c3222['length'])?_0x1e6e01(_0x1e6e01({},_0xf9f754),{'children':_0xf9f754[_0x44b199(0x3e1)][_0x44b199(0x213)](function(_0x2e30a2){const _0x54d8bd=_0x44b199;return typeof _0x2e30a2[_0x54d8bd(0x2cf)]['id']==_0x54d8bd(0x173)&&_0x21e867&&_0x21e867[_0x54d8bd(0x2f2)](_0x2e30a2[_0x54d8bd(0x2cf)]['id'])?_0x1e6e01(_0x1e6e01({},_0x2e30a2),{'attrs':_0x1e6e01(_0x1e6e01({},_0x2e30a2[_0x54d8bd(0x2cf)]),{'id':_0x2e30a2['attrs']['id']+_0x542686['idSuffix']})}):_0x2e30a2;})}):_0xf9f754;}function _0x1a99e7(){const _0x148166=_0xddf351;return Math['random']()[_0x148166(0x2f5)](0x24)[_0x148166(0x2c0)](0x2,0x8);}_0x4a29e4[_0xddf351(0x22b)]=_0xddf351(0x1a2);var _0x2250e4={'tag':_0xddf351(0x188),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xddf351(0x209),'viewBox':_0xddf351(0x3f3),'width':_0xddf351(0x36a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xddf351(0x21f)},'children':[{'tag':'path','attrs':{'stroke':_0xddf351(0x2bf),'d':_0xddf351(0x31a),'strokeLinecap':'round','strokeLinejoin':_0xddf351(0x2cc),'strokeWidth':1.2}}]},{'tag':_0xddf351(0x3df),'attrs':{},'children':[{'tag':_0xddf351(0x1d8),'attrs':{'id':_0xddf351(0x3a9)},'children':[{'tag':_0xddf351(0x3d1),'attrs':{'fill':_0xddf351(0x291),'d':_0xddf351(0x32a)}}]}]}],'defIds':[_0xddf351(0x3a9)]},_0x4babb5=_0xdfe0ba[_0xddf351(0x3c7)](function(_0x214f0,_0x5f3276){const _0xb392c=_0xddf351;return _0xdfe0ba[_0xb392c(0x18b)](_0x4a29e4,Object['assign']({},_0x214f0,{'id':_0xb392c(0x23f),'ref':_0x5f3276,'icon':_0x2250e4}));});_0x4babb5[_0xddf351(0x22b)]=_0xddf351(0x1e6);var _0x6fb83d={'tag':_0xddf351(0x188),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0xddf351(0x36a),'height':_0xddf351(0x36a)},'children':[{'tag':'g','attrs':{'clipPath':_0xddf351(0x353)},'children':[{'tag':'path','attrs':{'stroke':_0xddf351(0x2bf),'d':_0xddf351(0x310),'strokeLinecap':_0xddf351(0x2cc),'strokeLinejoin':_0xddf351(0x2cc),'strokeWidth':1.2}}]},{'tag':_0xddf351(0x3df),'attrs':{},'children':[{'tag':_0xddf351(0x1d8),'attrs':{'id':_0xddf351(0x3d6)},'children':[{'tag':'path','attrs':{'fill':_0xddf351(0x291),'d':'M0\x200H16V16H0z','transform':_0xddf351(0x1c2)}}]}]}],'defIds':[_0xddf351(0x3d6)]},_0x3a2181=_0xdfe0ba[_0xddf351(0x3c7)](function(_0x4078a4,_0x535df0){const _0x2f95c5=_0xddf351;return _0xdfe0ba['createElement'](_0x4a29e4,Object['assign']({},_0x4078a4,{'id':_0x2f95c5(0x19d),'ref':_0x535df0,'icon':_0x6fb83d}));});_0x3a2181['displayName']=_0xddf351(0x335);function _0x5a36cf(_0x51ab93){const _0x84648d=_0xddf351;switch(_0x51ab93){case _0xbb51f4[_0x84648d(0x341)][_0x84648d(0x1a1)]:return _0x84648d(0x2f0);case _0xbb51f4[_0x84648d(0x341)][_0x84648d(0x1f3)]:return _0x84648d(0x3e7);case _0xbb51f4['CollaborationStatus'][_0x84648d(0x3eb)]:return _0x84648d(0x312);case _0xbb51f4[_0x84648d(0x341)]['NOT_COLLAB']:return _0x84648d(0x2a5);case _0xbb51f4['CollaborationStatus'][_0x84648d(0x1f8)]:case _0xbb51f4[_0x84648d(0x341)][_0x84648d(0x326)]:return'collabStatus.syncing';case _0xbb51f4[_0x84648d(0x341)]['SYNCED']:case _0xbb51f4['CollaborationStatus'][_0x84648d(0x357)]:return _0x84648d(0x3fa);}}function _0x5a5adb(_0x5efdb7){const _0x31710a=_0xddf351,{status$:_0x3a4241}=_0x5efdb7,_0x49f6d0=_0x38ea15['useObservable'](_0x3a4241,_0xbb51f4[_0x31710a(0x341)]['NOT_COLLAB']),_0x330a51=_0x38ea15[_0x31710a(0x344)](_0x37b4f8[_0x31710a(0x34c)]),_0x15cb5d=_0x38ea15['useDependency'](_0xbb51f4[_0x31710a(0x28f)]),_0x480d4a=_0x49f6d0!==_0xbb51f4[_0x31710a(0x341)][_0x31710a(0x1a1)],_0x4c6fd9=_0x330a51['t'](_0x5a36cf(_0x49f6d0)),_0x320afe=_0x480d4a?_0x2115a7['jsx'](_0x3a2181,{}):_0x2115a7[_0x31710a(0x352)](_0x4babb5,{}),_0x442d12=_0xdfe0ba['useCallback'](()=>{const _0x3e4c43=_0x31710a;_0x480d4a||_0x15cb5d[_0x3e4c43(0x3f4)]();},[_0x480d4a,_0x15cb5d]);function _0x5da3da(){const _0x469e1b=_0x31710a;return _0x2115a7[_0x469e1b(0x3ca)](_0x469e1b(0x28c),{'className':_0x469e1b(0x354),'onClick':_0x442d12,'children':[_0x2115a7[_0x469e1b(0x352)](_0x469e1b(0x28c),{'className':_0x187d92[_0x469e1b(0x19e)](_0x469e1b(0x1bc),{'univer-text-green-500':_0x480d4a,'univer-text-red-500':!_0x480d4a}),'children':_0x320afe}),_0x2115a7[_0x469e1b(0x352)](_0x469e1b(0x28c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c6fd9})]});}return _0x480d4a?_0x5da3da():_0x2115a7[_0x31710a(0x352)](_0x187d92[_0x31710a(0x224)],{'title':_0x330a51['t'](_0x31710a(0x322)),'children':_0x5da3da()});}var _0x356f54=Object[_0xddf351(0x27c)],_0x2593cc=(_0x59e382,_0x26398c,_0x3fa499,_0xbef739)=>{const _0x35b620=_0xddf351;for(var _0x262e8e=_0xbef739>0x1?void 0x0:_0xbef739?_0x356f54(_0x26398c,_0x3fa499):_0x26398c,_0x47084e=_0x59e382[_0x35b620(0x2ef)]-0x1,_0x43ded9;_0x47084e>=0x0;_0x47084e--)(_0x43ded9=_0x59e382[_0x47084e])&&(_0x262e8e=_0x43ded9(_0x262e8e)||_0x262e8e);return _0x262e8e;},_0x3f6cee=(_0x1fe52b,_0x422033)=>(_0x51b7e9,_0x38857f)=>_0x422033(_0x51b7e9,_0x38857f,_0x1fe52b);_0x2c6d96[_0xddf351(0x265)]=class extends _0x37b4f8[_0xddf351(0x1c9)]{constructor(_0x459a1e,_0x13f3e4,_0xd0da5e,_0xd149e){const _0x16421d=_0xddf351;super(),_0x986cf9(this,_0x16421d(0x171),new _0x1e2a43[(_0x16421d(0x27f))](_0xbb51f4['CollaborationStatus'][_0x16421d(0x298)])),(this['_univerInstanceService']=_0x459a1e,this[_0x16421d(0x396)]=_0x13f3e4,this['_collaborationController']=_0xd0da5e,this[_0x16421d(0x37c)]=_0xd149e,this[_0x16421d(0x383)](),this[_0x16421d(0x3a1)]());}[_0xddf351(0x3a1)](){const _0x3fd0b5=_0xddf351;this[_0x3fd0b5(0x351)](this[_0x3fd0b5(0x37e)][_0x3fd0b5(0x1ca)]['pipe'](_0x1e2a43['switchMap'](()=>{const _0x72df17=_0x3fd0b5,_0x5be656=this[_0x72df17(0x37e)]['getFocusedUnit']();return _0x5be656?this[_0x72df17(0x2aa)]['getCollabEntity$'](_0x5be656['getUnitId']()):_0x1e2a43['of'](null);}),_0x1e2a43[_0x3fd0b5(0x228)](_0xd6a3ad=>_0xd6a3ad?_0xd6a3ad[_0x3fd0b5(0x255)]:_0x1e2a43['of'](_0xbb51f4[_0x3fd0b5(0x341)]['NOT_COLLAB'])))[_0x3fd0b5(0x1df)](_0x587eb0=>{const _0x4eacd3=_0x3fd0b5;this[_0x4eacd3(0x171)][_0x4eacd3(0x1e8)](_0x587eb0);}));}[_0xddf351(0x383)](){const _0x20d297=_0xddf351;this['disposeWithMe'](this[_0x20d297(0x37c)]['registerComponent'](_0x38ea15[_0x20d297(0x1eb)][_0x20d297(0x3b7)],()=>_0x38ea15[_0x20d297(0x1c8)](_0x452fab({'status$':this[_0x20d297(0x171)][_0x20d297(0x18f)]()}),this['_injector'])));}},_0x2c6d96[_0xddf351(0x265)]=_0x2593cc([_0x3f6cee(0x0,_0x37b4f8[_0xddf351(0x3bb)]),_0x3f6cee(0x1,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2b6)])),_0x3f6cee(0x2,_0x37b4f8['Inject'](_0xbb51f4[_0xddf351(0x172)])),_0x3f6cee(0x3,_0x38ea15[_0xddf351(0x320)])],_0x2c6d96[_0xddf351(0x265)]);function _0x452fab(_0x2e0b54){const {status$:_0x1b0444}=_0x2e0b54;return function(){const _0x39b613=_0x394a;return _0x2115a7[_0x39b613(0x352)](_0x5a5adb,{'status$':_0x1b0444});};}var _0x1409d7=Object[_0xddf351(0x27c)],_0x173a8e=(_0x5dc87d,_0x41a95c,_0xab6f51,_0x3567a9)=>{for(var _0x2ca7e7=_0x3567a9>0x1?void 0x0:_0x3567a9?_0x1409d7(_0x41a95c,_0xab6f51):_0x41a95c,_0x1d7346=_0x5dc87d['length']-0x1,_0x261fc5;_0x1d7346>=0x0;_0x1d7346--)(_0x261fc5=_0x5dc87d[_0x1d7346])&&(_0x2ca7e7=_0x261fc5(_0x2ca7e7)||_0x2ca7e7);return _0x2ca7e7;},_0xf32911=(_0x5bb966,_0x48f0f3)=>(_0x351e17,_0x2848e2)=>_0x48f0f3(_0x351e17,_0x2848e2,_0x5bb966);let _0x5eae6e=class extends _0x37b4f8['Disposable']{constructor(_0xec05eb,_0x299111,_0x18ed86,_0x473c32,_0x1064c4,_0x5e6ccb){const _0x4c2cbf=_0xddf351;super(),this['_beforeCloseService']=_0xec05eb,this[_0x4c2cbf(0x192)]=_0x299111,this[_0x4c2cbf(0x2cd)]=_0x18ed86,this['_messageService']=_0x473c32,this['_notificationService']=_0x1064c4,this[_0x4c2cbf(0x281)]=_0x5e6ccb,this[_0x4c2cbf(0x28e)](),this[_0x4c2cbf(0x349)]();}['_setupBeforeClosingHandler'](){const _0x4bf7d7=_0xddf351;this[_0x4bf7d7(0x351)](this['_beforeCloseService'][_0x4bf7d7(0x1a0)](()=>{const _0x583b1f=_0x4bf7d7;if(this[_0x583b1f(0x192)]['saveTaskMap'][_0x583b1f(0x2e9)])return this['_localeService']['t'](_0x583b1f(0x181));}));}[_0xddf351(0x349)](){const _0x7e5e14=_0xddf351;this[_0x7e5e14(0x351)](this[_0x7e5e14(0x2cd)][_0x7e5e14(0x2bc)]['subscribe'](_0x1ab45c=>{const _0x3539e4=_0x7e5e14;_0x1ab45c['id']===_0xbb51f4[_0x3539e4(0x170)]['OTHER_CLIENT_EDITING']&&this[_0x3539e4(0x16e)]['show']({'type':_0x187d92[_0x3539e4(0x1a4)][_0x3539e4(0x30d)],'content':this[_0x3539e4(0x281)]['t'](_0x3539e4(0x1fc))}),_0x1ab45c['id']===_0xbb51f4['CollaborationUIEventId'][_0x3539e4(0x178)]&&this[_0x3539e4(0x16e)]['show']({'type':_0x187d92[_0x3539e4(0x1a4)][_0x3539e4(0x30d)],'content':this[_0x3539e4(0x281)]['t'](_0x3539e4(0x3c1))}),_0x1ab45c['id']===_0xbb51f4[_0x3539e4(0x170)][_0x3539e4(0x3b6)]&&this['_notificationService']['show']({'title':this[_0x3539e4(0x281)]['t']('permission.title'),'content':this[_0x3539e4(0x281)]['t'](_0x3539e4(0x206)),'type':_0x3539e4(0x2a3),'duration':0x0}),_0x1ab45c['id']===_0xbb51f4[_0x3539e4(0x170)]['CONFLICT']&&this['_messageService'][_0x3539e4(0x1c3)]({'type':_0x187d92[_0x3539e4(0x1a4)][_0x3539e4(0x226)],'content':this[_0x3539e4(0x281)]['t'](_0x3539e4(0x3c1))+'('+_0x1ab45c[_0x3539e4(0x2b8)]+')'}),_0x1ab45c['id']===_0xbb51f4[_0x3539e4(0x170)]['JOIN_ROOM_FAILED']&&this[_0x3539e4(0x16e)][_0x3539e4(0x1c3)]({'type':_0x187d92[_0x3539e4(0x1a4)][_0x3539e4(0x30d)],'content':this['_localeService']['t'](_0x1ab45c[_0x3539e4(0x2b8)]||'')}),_0x1ab45c['id']===_0xbb51f4['CollaborationUIEventId'][_0x3539e4(0x234)]&&this['_messageService']['show']({'type':_0x187d92[_0x3539e4(0x1a4)][_0x3539e4(0x30d)],'content':this['_localeService']['t'](_0x3539e4(0x1d0))}),_0x1ab45c['id']===_0xbb51f4[_0x3539e4(0x170)][_0x3539e4(0x2dc)]&&this[_0x3539e4(0x16e)][_0x3539e4(0x1c3)]({'type':_0x187d92[_0x3539e4(0x1a4)][_0x3539e4(0x226)],'content':this['_localeService']['t'](_0x3539e4(0x169))}),_0x1ab45c['id']===_0xbb51f4[_0x3539e4(0x170)][_0x3539e4(0x3cc)]&&this[_0x3539e4(0x16e)]['show']({'type':_0x187d92[_0x3539e4(0x1a4)][_0x3539e4(0x226)],'content':this[_0x3539e4(0x281)]['t']('session.collaboration-timeout')});}));}};_0x5eae6e=_0x173a8e([_0xf32911(0x0,_0x38ea15[_0xddf351(0x250)]),_0xf32911(0x1,_0xbb51f4[_0xddf351(0x3ec)]),_0xf32911(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0xbb51f4['CollaborationUIEventService'])),_0xf32911(0x3,_0x38ea15[_0xddf351(0x32d)]),_0xf32911(0x4,_0x38ea15[_0xddf351(0x3b4)]),_0xf32911(0x5,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x34c)]))],_0x5eae6e);const _0x272cf9=_0xddf351(0x2f4),_0x5ac886={},_0x99a192=_0x37b4f8[_0xddf351(0x16b)](_0xddf351(0x3db));var _0x24f4d9=Object[_0xddf351(0x27c)],_0x2964c9=(_0x1f1780,_0x4e1efd,_0x3f1ab5,_0x23554a)=>{const _0x44bd3e=_0xddf351;for(var _0x6014f=_0x23554a>0x1?void 0x0:_0x23554a?_0x24f4d9(_0x4e1efd,_0x3f1ab5):_0x4e1efd,_0x2f6595=_0x1f1780[_0x44bd3e(0x2ef)]-0x1,_0x4dbd0b;_0x2f6595>=0x0;_0x2f6595--)(_0x4dbd0b=_0x1f1780[_0x2f6595])&&(_0x6014f=_0x4dbd0b(_0x6014f)||_0x6014f);return _0x6014f;},_0x3cb4cf=(_0x5267c3,_0x18032c)=>(_0x1e3e13,_0x324252)=>_0x18032c(_0x1e3e13,_0x324252,_0x5267c3);_0x2c6d96[_0xddf351(0x392)]=class extends _0x37b4f8[_0xddf351(0x22d)]{constructor(_0x3f17c4,_0xade881,_0x4d99f5,_0xeb2700,_0x385737){const _0x4f5a28=_0xddf351;super(),this[_0x4f5a28(0x1db)]=_0x3f17c4,this[_0x4f5a28(0x2ce)]=_0xade881,this[_0x4f5a28(0x395)]=_0x4d99f5,this['_dataLoaderService']=_0xeb2700,_0x385737?_0x385737==null||_0x385737[_0x4f5a28(0x36f)]()[_0x4f5a28(0x19b)](()=>this['_init']()):(this[_0x4f5a28(0x2ce)][_0x4f5a28(0x31f)](_0x4f5a28(0x368),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x24f558=_0xddf351,_0x596edb=this[_0x24f558(0x1db)][_0x24f558(0x1a7)](_0x24f558(0x31e)),_0x2be09a=this[_0x24f558(0x1db)][_0x24f558(0x1a7)](_0x24f558(0x1b2)),_0x520129=this[_0x24f558(0x1db)][_0x24f558(0x1a7)]('subunit');if(!_0x596edb||!_0x2be09a){this['_logService'][_0x24f558(0x31f)](_0x24f558(0x368),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5227d4=await this[_0x24f558(0x2e8)][_0x24f558(0x34f)](_0x596edb,Number(_0x2be09a),_0x520129);_0x5227d4&&_0x5227d4 instanceof _0x37b4f8[_0x24f558(0x3f8)]&&this[_0x24f558(0x29d)](_0x5227d4);}async[_0xddf351(0x29d)](_0x5a2af4){const _0x5a9740=_0xddf351;await this[_0x5a9740(0x21d)](_0x5a2af4),_0x5a2af4['activeSheet$'][_0x5a9740(0x180)](_0x1e2a43['takeUntil'](this[_0x5a9740(0x308)]))['subscribe'](_0xe52a95=>{const _0x481b94=_0x5a9740;_0xe52a95&&this[_0x481b94(0x389)](_0xe52a95);}),this['_urlService'][_0x5a9740(0x21b)][_0x5a9740(0x180)](_0x1e2a43[_0x5a9740(0x2f6)](this[_0x5a9740(0x308)]))[_0x5a9740(0x1df)](()=>this['_updateSubUnitFromURLParams'](_0x5a2af4));}['_updateURLWithCurrentState'](_0x142a28,_0x43d836=!0x1){const _0x769ec3=_0xddf351,_0x7de58=this[_0x769ec3(0x1db)][_0x769ec3(0x1a7)](_0x769ec3(0x2ee));_0x142a28[_0x769ec3(0x288)]()!==_0x7de58&&this[_0x769ec3(0x1db)]['setParam']('subunit',_0x142a28[_0x769ec3(0x288)](),_0x43d836);}async['_updateSubUnitFromURLParams'](_0x2c8778){const _0x1bb531=_0xddf351;var _0x19e50f;const _0x34fbe2=this[_0x1bb531(0x1db)][_0x1bb531(0x1a7)]('subunit');if(!_0x34fbe2||!_0x2c8778[_0x1bb531(0x327)](_0x34fbe2)){const _0x14b820=_0x2c8778[_0x1bb531(0x2b5)]()[0x0],_0x838d01=_0x2c8778[_0x1bb531(0x327)](_0x14b820);if(!_0x838d01)return;this[_0x1bb531(0x389)](_0x838d01,!0x0),await this[_0x1bb531(0x395)][_0x1bb531(0x2ad)](_0x336776[_0x1bb531(0x324)]['id'],{'unitId':_0x2c8778['getUnitId'](),'subUnitId':_0x14b820});return;}((_0x19e50f=_0x2c8778[_0x1bb531(0x23e)]())==null?void 0x0:_0x19e50f['getSheetId']())!==_0x34fbe2&&await this[_0x1bb531(0x395)][_0x1bb531(0x2ad)](_0x336776[_0x1bb531(0x324)]['id'],{'unitId':_0x2c8778['getUnitId'](),'subUnitId':_0x34fbe2});}},_0x2c6d96['CollaborationDataLoaderController']=_0x2964c9([_0x3cb4cf(0x0,_0x99a192),_0x3cb4cf(0x1,_0x37b4f8[_0xddf351(0x38a)]),_0x3cb4cf(0x2,_0x37b4f8['ICommandService']),_0x3cb4cf(0x3,_0x37b4f8[_0xddf351(0x3c4)](_0xbb51f4[_0xddf351(0x3e4)])),_0x3cb4cf(0x4,_0x37b4f8['Optional'](_0x2f9c7d[_0xddf351(0x3a5)]))],_0x2c6d96[_0xddf351(0x392)]);var _0x19d3e7=Object[_0xddf351(0x27c)],_0x480a9a=(_0x1ddf46,_0x57f8c3,_0xe597d,_0x254abe)=>{const _0x514e73=_0xddf351;for(var _0x5d88c1=_0x254abe>0x1?void 0x0:_0x254abe?_0x19d3e7(_0x57f8c3,_0xe597d):_0x57f8c3,_0x44bbad=_0x1ddf46[_0x514e73(0x2ef)]-0x1,_0x399d07;_0x44bbad>=0x0;_0x44bbad--)(_0x399d07=_0x1ddf46[_0x44bbad])&&(_0x5d88c1=_0x399d07(_0x5d88c1)||_0x5d88c1);return _0x5d88c1;},_0x14343e=(_0x425ccb,_0xc9eb7e)=>(_0x2eeab1,_0x3eb7a1)=>_0xc9eb7e(_0x2eeab1,_0x3eb7a1,_0x425ccb);let _0x277a90=class{constructor(_0x5971e4,_0x496c74,_0x3a8024){const _0x4e76e6=_0xddf351;this[_0x4e76e6(0x396)]=_0x5971e4,this[_0x4e76e6(0x3ff)]=_0x496c74,this[_0x4e76e6(0x239)]=_0x3a8024;}[_0xddf351(0x19f)](_0x23af77){const _0x7081f2=_0xddf351;this[_0x7081f2(0x3e2)](_0x23af77),this[_0x7081f2(0x25a)](_0x23af77);}[_0xddf351(0x2f9)](_0x3963ff){const _0x35ca4b=_0xddf351,{unitID:_0x2f5368}=_0x3963ff,_0xe355e0=this['_renderManagerService'][_0x35ca4b(0x277)](_0x2f5368)[_0x35ca4b(0x199)](_0x4c443b['DocIMEInputManagerService']),{redoCache:_0x179634}=_0xe355e0[_0x35ca4b(0x374)]();if(_0x179634['length']===0x0)return _0x3963ff;let _0x266f54=_0x37b4f8['Tools']['deepClone'](_0x3963ff['mutations'][0x0]);for(let _0x24d209=0x0;_0x24d209<_0x179634[_0x35ca4b(0x2ef)];_0x24d209++){const _0x8b89a6={'id':_0x35ca4b(0x223),'params':{..._0x179634[_0x24d209]}},_0x336db8=this['_transformService'][_0x35ca4b(0x23b)](_0x266f54,_0x8b89a6,!0x1);if(_0x1e18ea[_0x35ca4b(0x2c7)](_0x336db8))throw _0x336db8[_0x35ca4b(0x2a3)];_0x266f54=_0x336db8['m1Prime'];}return{..._0x37b4f8[_0x35ca4b(0x2df)]['deepClone'](_0x3963ff),'mutations':[_0x266f54]};}[_0xddf351(0x3e2)](_0x39b4a9){const _0xd026cd=_0xddf351,{unitID:_0x46e317}=_0x39b4a9,_0x15f7bd=this[_0xd026cd(0x239)]['getRenderById'](_0x46e317)[_0xd026cd(0x199)](_0x4c443b[_0xd026cd(0x34a)]),{undoCache:_0x29c71c,redoCache:_0x2dd2c5}=_0x15f7bd['getUndoRedoMutationParamsCache']();if(_0x29c71c[_0xd026cd(0x2ef)]===0x0||_0x2dd2c5[_0xd026cd(0x2ef)]===0x0)return;const _0x5c7bdf=[],_0x4b3d64=[];let _0x5d73b3=_0x37b4f8['Tools'][_0xd026cd(0x2d1)](_0x39b4a9[_0xd026cd(0x2e5)][0x0]),_0x993db3=_0x37b4f8['Tools'][_0xd026cd(0x2d1)](_0x39b4a9[_0xd026cd(0x2e5)][0x0]);for(let _0x1cde9e=_0x29c71c[_0xd026cd(0x2ef)]-0x1;_0x1cde9e>=0x0;_0x1cde9e--){const _0x45ca44={'id':'doc.mutation.rich-text-editing','params':{..._0x29c71c[_0x1cde9e]}},_0x46605c={'id':_0xd026cd(0x223),'params':{..._0x2dd2c5[_0x1cde9e]}},_0xcf9475=this[_0xd026cd(0x3ff)]['transformMutation'](_0x5d73b3,_0x45ca44,!0x1),_0x32cdab=this['_transformService'][_0xd026cd(0x23b)](_0x993db3,_0x46605c,!0x1);if(_0x1e18ea[_0xd026cd(0x2c7)](_0xcf9475))throw _0xcf9475[_0xd026cd(0x2a3)];if(_0x1e18ea['isTransformMutationFailure'](_0x32cdab))throw _0x32cdab[_0xd026cd(0x2a3)];_0x5c7bdf['unshift'](_0xcf9475[_0xd026cd(0x316)]['params']),_0x4b3d64[_0xd026cd(0x1fe)](_0x32cdab[_0xd026cd(0x316)][_0xd026cd(0x27a)]),_0x5d73b3=_0xcf9475[_0xd026cd(0x2b3)],_0x993db3=_0x32cdab['m1Prime'];}_0x15f7bd['setUndoRedoMutationParamsCache']({'undoCache':_0x5c7bdf,'redoCache':_0x4b3d64});}[_0xddf351(0x25a)](_0x4ffff5){const _0x5ab4fd=_0xddf351,{unitID:_0x26ced0}=_0x4ffff5,_0x496c44=this['_renderManagerService'][_0x5ab4fd(0x277)](_0x26ced0)['with'](_0x4c443b[_0x5ab4fd(0x34a)]),_0x567467=_0x496c44[_0x5ab4fd(0x34e)]();if(_0x567467==null)return;const _0x24cb38=[{'id':_0x5ab4fd(0x223),'params':{'unitId':_0x4ffff5[_0x5ab4fd(0x1e5)],'actions':null,'textRanges':[_0x567467]}}],_0x399ebd=this['_transformService']['transformMutationsWithChangeset'](_0x4ffff5,_0x24cb38);if(!_0x1e18ea['isTransformMutationsWithChangesetSuccess'](_0x399ebd))throw _0x399ebd[_0x5ab4fd(0x2a3)];const _0x4f4617=_0x399ebd['m2Prime'][0x0][_0x5ab4fd(0x27a)][_0x5ab4fd(0x242)];Array[_0x5ab4fd(0x2e0)](_0x4f4617)&&_0x4f4617[_0x5ab4fd(0x2ef)]&&_0x496c44[_0x5ab4fd(0x2ff)](_0x4f4617[0x0]);}};_0x277a90=_0x480a9a([_0x14343e(0x0,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2b6)])),_0x14343e(0x1,_0x1e18ea['ITransformService']),_0x14343e(0x2,_0x43f3eb['IRenderManagerService'])],_0x277a90);var _0x29df67=Object[_0xddf351(0x27c)],_0xbbd140=(_0x49654a,_0x3849e7,_0x493911,_0x53c937)=>{for(var _0x17a871=_0x53c937>0x1?void 0x0:_0x53c937?_0x29df67(_0x3849e7,_0x493911):_0x3849e7,_0x141e31=_0x49654a['length']-0x1,_0x375051;_0x141e31>=0x0;_0x141e31--)(_0x375051=_0x49654a[_0x141e31])&&(_0x17a871=_0x375051(_0x17a871)||_0x17a871);return _0x17a871;},_0x31748e=(_0x18c09a,_0x106f90)=>(_0x1f8df5,_0x25db6f)=>_0x106f90(_0x1f8df5,_0x25db6f,_0x18c09a);let _0x3d9e6a=class{constructor(_0x5847a5,_0x30573d,_0x23bbf5){const _0x5f2e47=_0xddf351;this[_0x5f2e47(0x396)]=_0x5847a5,this[_0x5f2e47(0x3ff)]=_0x30573d,this[_0x5f2e47(0x17d)]=_0x23bbf5;}[_0xddf351(0x2c1)](_0x150a8e){this['_transformHistoryAndStateStack'](_0x150a8e);}[_0xddf351(0x2f9)](_0x3b2bb1){const _0x49a60d=_0xddf351,{unitID:_0x3ba7f7}=_0x3b2bb1,{collaboration:_0x148731}=this['_docStateChangeManagerService'][_0x49a60d(0x2e6)](_0x3ba7f7);if(_0x148731['length']===0x0)return _0x3b2bb1;let _0x109e20=_0x37b4f8[_0x49a60d(0x2df)][_0x49a60d(0x2d1)](_0x3b2bb1[_0x49a60d(0x2e5)][0x0]);for(let _0x47a473=0x0;_0x47a473<_0x148731['length'];_0x47a473++){const _0x48ca41={'id':_0x49a60d(0x223),'params':{'unitId':_0x148731[_0x47a473]['unitId'],..._0x148731[_0x47a473]['redoState']}},_0x58daca=this[_0x49a60d(0x3ff)][_0x49a60d(0x23b)](_0x109e20,_0x48ca41,!0x1);if(_0x1e18ea[_0x49a60d(0x2c7)](_0x58daca))throw _0x58daca[_0x49a60d(0x2a3)];_0x109e20=_0x58daca[_0x49a60d(0x2b3)];}return{..._0x37b4f8['Tools'][_0x49a60d(0x2d1)](_0x3b2bb1),'mutations':[_0x109e20]};}[_0xddf351(0x363)](_0xed623e){const _0x4efbaa=_0xddf351,{unitID:_0x1200f9}=_0xed623e,{history:_0x40ba2f,collaboration:_0xf2ea9}=this[_0x4efbaa(0x17d)][_0x4efbaa(0x2e6)](_0x1200f9);if(_0x40ba2f['length']===0x0&&_0xf2ea9[_0x4efbaa(0x2ef)]===0x0)return;const _0x4edccb=[],_0x3619ec=[];let _0x36b1db=_0x37b4f8[_0x4efbaa(0x2df)]['deepClone'](_0xed623e['mutations'][0x0]),_0x1249b8=_0x37b4f8['Tools'][_0x4efbaa(0x2d1)](_0xed623e[_0x4efbaa(0x2e5)][0x0]);for(let _0x5e8a9f=_0x40ba2f['length']-0x1;_0x5e8a9f>=0x0;_0x5e8a9f--){const _0x42f85b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40ba2f[_0x5e8a9f][_0x4efbaa(0x2af)],..._0x40ba2f[_0x5e8a9f][_0x4efbaa(0x33f)]}},_0x56c18f={'id':_0x4efbaa(0x223),'params':{'unitId':_0x40ba2f[_0x5e8a9f]['unitId'],..._0x40ba2f[_0x5e8a9f][_0x4efbaa(0x330)]}},_0x5b8952=this[_0x4efbaa(0x3ff)][_0x4efbaa(0x23b)](_0x36b1db,_0x42f85b,!0x1),_0x49bd84=this[_0x4efbaa(0x3ff)][_0x4efbaa(0x23b)](_0x1249b8,_0x56c18f,!0x1);if(_0x1e18ea[_0x4efbaa(0x2c7)](_0x5b8952))throw _0x5b8952[_0x4efbaa(0x2a3)];if(_0x1e18ea['isTransformMutationFailure'](_0x49bd84))throw _0x49bd84[_0x4efbaa(0x2a3)];_0x4edccb[_0x4efbaa(0x1fe)]({..._0x40ba2f[_0x5e8a9f],'undoState':_0x5b8952['m2Prime'][_0x4efbaa(0x27a)],'redoState':_0x49bd84[_0x4efbaa(0x316)][_0x4efbaa(0x27a)]}),_0x36b1db=_0x5b8952[_0x4efbaa(0x2b3)],_0x1249b8=_0x49bd84[_0x4efbaa(0x2b3)];}_0x36b1db=_0x37b4f8[_0x4efbaa(0x2df)][_0x4efbaa(0x2d1)](_0xed623e[_0x4efbaa(0x2e5)][0x0]),_0x1249b8=_0x37b4f8[_0x4efbaa(0x2df)][_0x4efbaa(0x2d1)](_0xed623e[_0x4efbaa(0x2e5)][0x0]);for(let _0x303a30=_0xf2ea9[_0x4efbaa(0x2ef)]-0x1;_0x303a30>=0x0;_0x303a30--){const _0x970e8e={'id':_0x4efbaa(0x223),'params':{'unitId':_0xf2ea9[_0x303a30][_0x4efbaa(0x2af)],..._0xf2ea9[_0x303a30][_0x4efbaa(0x33f)]}},_0x2a04c2={'id':_0x4efbaa(0x223),'params':{'unitId':_0xf2ea9[_0x303a30]['unitId'],..._0xf2ea9[_0x303a30][_0x4efbaa(0x330)]}},_0x1f52eb=this[_0x4efbaa(0x3ff)][_0x4efbaa(0x23b)](_0x36b1db,_0x970e8e,!0x1),_0x222c87=this[_0x4efbaa(0x3ff)][_0x4efbaa(0x23b)](_0x1249b8,_0x2a04c2,!0x1);if(_0x1e18ea['isTransformMutationFailure'](_0x1f52eb))throw _0x1f52eb[_0x4efbaa(0x2a3)];if(_0x1e18ea[_0x4efbaa(0x2c7)](_0x222c87))throw _0x222c87['error'];_0x3619ec[_0x4efbaa(0x1fe)]({..._0xf2ea9[_0x303a30],'undoState':_0x1f52eb['m2Prime'][_0x4efbaa(0x27a)],'redoState':_0x222c87[_0x4efbaa(0x316)][_0x4efbaa(0x27a)]}),_0x36b1db=_0x1f52eb[_0x4efbaa(0x2b3)],_0x1249b8=_0x222c87[_0x4efbaa(0x2b3)];}this['_docStateChangeManagerService']['setStateCache'](_0x1200f9,{'history':_0x4edccb,'collaboration':_0x3619ec});}};_0x3d9e6a=_0xbbd140([_0x31748e(0x0,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2b6)])),_0x31748e(0x1,_0x1e18ea['ITransformService']),_0x31748e(0x2,_0x37b4f8['Inject'](_0x4c443b[_0xddf351(0x401)]))],_0x3d9e6a);var _0x3c09cd=Object['getOwnPropertyDescriptor'],_0x49c051=(_0xc21be4,_0x113203,_0x1b9e7d,_0x3df438)=>{const _0x18faf1=_0xddf351;for(var _0x30decb=_0x3df438>0x1?void 0x0:_0x3df438?_0x3c09cd(_0x113203,_0x1b9e7d):_0x113203,_0x313b7b=_0xc21be4[_0x18faf1(0x2ef)]-0x1,_0x5a2dfb;_0x313b7b>=0x0;_0x313b7b--)(_0x5a2dfb=_0xc21be4[_0x313b7b])&&(_0x30decb=_0x5a2dfb(_0x30decb)||_0x30decb);return _0x30decb;},_0x4a2672=(_0x4bcfe9,_0x17656a)=>(_0x19d00f,_0x2a6caa)=>_0x17656a(_0x19d00f,_0x2a6caa,_0x4bcfe9);let _0x52a3de=class{constructor(_0x5452e8,_0x2249b5){const _0x2fe3d5=_0xddf351;this[_0x2fe3d5(0x396)]=_0x5452e8,this[_0x2fe3d5(0x3ff)]=_0x2249b5;}[_0xddf351(0x280)](_0x1bb77f){const _0x9856f1=_0xddf351;var _0xc8a462;const _0x16c985=this['_injector'][_0x9856f1(0x1e3)](_0x63e644[_0x9856f1(0x399)]),_0x1a6842=(_0xc8a462=_0x16c985['getDocRanges']())!=null?_0xc8a462:[];if(_0x1a6842['length']===0x0)return;const _0x5dc4b0=_0x1bb77f['unitID'],_0x13dac4=[{'id':_0x9856f1(0x223),'params':{'unitId':_0x5dc4b0,'actions':null,'textRanges':_0x1a6842}}],_0x9cc114=this[_0x9856f1(0x3ff)][_0x9856f1(0x2a0)](_0x1bb77f,_0x13dac4);if(!_0x1e18ea[_0x9856f1(0x2be)](_0x9cc114))throw _0x9cc114['error'];const _0x38b91d=_0x9cc114[_0x9856f1(0x316)][0x0][_0x9856f1(0x27a)]['textRanges'];Array[_0x9856f1(0x2e0)](_0x38b91d)&&_0x38b91d[_0x9856f1(0x2ef)]&&_0x16c985[_0x9856f1(0x329)](_0x38b91d,{'unitId':_0x5dc4b0,'subUnitId':_0x5dc4b0},!0x1);}};_0x52a3de=_0x49c051([_0x4a2672(0x0,_0x37b4f8['Inject'](_0x37b4f8[_0xddf351(0x2b6)])),_0x4a2672(0x1,_0x1e18ea['ITransformService'])],_0x52a3de);var _0x560a7e=Object[_0xddf351(0x27c)],_0xc9b330=(_0x991a20,_0x4dfcf2,_0x193ead,_0x27ffcd)=>{const _0x29da5f=_0xddf351;for(var _0x1bee80=_0x27ffcd>0x1?void 0x0:_0x27ffcd?_0x560a7e(_0x4dfcf2,_0x193ead):_0x4dfcf2,_0x157b49=_0x991a20[_0x29da5f(0x2ef)]-0x1,_0x505ba3;_0x157b49>=0x0;_0x157b49--)(_0x505ba3=_0x991a20[_0x157b49])&&(_0x1bee80=_0x505ba3(_0x1bee80)||_0x1bee80);return _0x1bee80;},_0xc3f5ca=(_0x14345d,_0x5db50f)=>(_0x1e803f,_0x5e28cf)=>_0x5db50f(_0x1e803f,_0x5e28cf,_0x14345d);let _0x181919=class extends _0x37b4f8[_0xddf351(0x1c9)]{constructor(_0x525c60,_0x47932c,_0x52ad79,_0x4fbadd,_0x527ad2,_0x1ebba9,_0x3007a5,_0x237bcf){const _0x5279d4=_0xddf351;super(),_0x986cf9(this,_0x5279d4(0x171),new _0x1e2a43[(_0x5279d4(0x27f))](_0xbb51f4[_0x5279d4(0x341)][_0x5279d4(0x298)])),(this[_0x5279d4(0x17d)]=_0x525c60,this[_0x5279d4(0x2aa)]=_0x47932c,this[_0x5279d4(0x1ac)]=_0x52ad79,this[_0x5279d4(0x203)]=_0x4fbadd,this[_0x5279d4(0x3ee)]=_0x527ad2,this[_0x5279d4(0x19c)]=_0x1ebba9,this[_0x5279d4(0x16e)]=_0x3007a5,this[_0x5279d4(0x281)]=_0x237bcf,this['_initEntityListener']());}['_initEntityListener'](){const _0x26e629=_0xddf351;this[_0x26e629(0x351)](this[_0x26e629(0x2aa)][_0x26e629(0x3d2)][_0x26e629(0x1df)](_0x44cfd0=>{const _0x1fa735=_0x26e629,_0x31216e=this[_0x1fa735(0x17d)]['docStateChange$'][_0x1fa735(0x1df)](_0x36895a=>{const _0x464efa=_0x1fa735;if(_0x36895a==null)return;const {unitId:_0x4de3da,redoState:_0x712f96,commandId:_0x280ab1}=_0x36895a;if(_0x4de3da!==_0x44cfd0[_0x464efa(0x1e5)])return;const _0x2c2b0e={'id':_0x280ab1,'type':_0x37b4f8['CommandType']['MUTATION'],'params':{'unitId':_0x4de3da,'actions':_0x712f96['actions'],'textRanges':null}};_0x44cfd0[_0x464efa(0x2fd)](_0x2c2b0e);});if(_0x44cfd0['disposeWithMe'](_0x31216e),_0x44cfd0 instanceof _0xbb51f4[_0x1fa735(0x3ab)]){const _0x328d34={'onTransformIME':_0x446676=>this[_0x1fa735(0x1ac)]['transformIMECache'](_0x446676),'onTransformState':_0x4e7523=>this[_0x1fa735(0x203)]['transformStateCache'](_0x4e7523),'onTransformSelections':_0x1011c1=>this[_0x1fa735(0x3ee)][_0x1fa735(0x280)](_0x1011c1),'onSyncEditingCollabCursor':_0x47cfbd=>this[_0x1fa735(0x19c)][_0x1fa735(0x27e)](_0x47cfbd),'onTransformRemoteChangesetByIMECache':_0x129b31=>this[_0x1fa735(0x1ac)][_0x1fa735(0x2f9)](_0x129b31),'onTransformRemoteChangesetByStateCache':_0x52bd7d=>this[_0x1fa735(0x203)][_0x1fa735(0x2f9)](_0x52bd7d)};_0x44cfd0['addHandlerCallback'](_0x328d34);}}));}};_0x181919=_0xc9b330([_0xc3f5ca(0x0,_0x37b4f8[_0xddf351(0x3c4)](_0x4c443b[_0xddf351(0x401)])),_0xc3f5ca(0x1,_0x37b4f8[_0xddf351(0x3c4)](_0xbb51f4[_0xddf351(0x172)])),_0xc3f5ca(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0x277a90)),_0xc3f5ca(0x3,_0x37b4f8['Inject'](_0x3d9e6a)),_0xc3f5ca(0x4,_0x37b4f8['Inject'](_0x52a3de)),_0xc3f5ca(0x5,_0x37b4f8['Inject'](_0x53190f)),_0xc3f5ca(0x6,_0x38ea15['IMessageService']),_0xc3f5ca(0x7,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8['LocaleService']))],_0x181919);var _0x51e44f=Object['getOwnPropertyDescriptor'],_0x211adc=(_0xa42e28,_0x6c30b3,_0x13ebd5,_0x1955ca)=>{for(var _0x2334ea=_0x1955ca>0x1?void 0x0:_0x1955ca?_0x51e44f(_0x6c30b3,_0x13ebd5):_0x6c30b3,_0x2e2eee=_0xa42e28['length']-0x1,_0x58f6c1;_0x2e2eee>=0x0;_0x2e2eee--)(_0x58f6c1=_0xa42e28[_0x2e2eee])&&(_0x2334ea=_0x58f6c1(_0x2334ea)||_0x2334ea);return _0x2334ea;},_0x58430a=(_0x4ec04f,_0x93b0a3)=>(_0x45ac3c,_0x454251)=>_0x93b0a3(_0x45ac3c,_0x454251,_0x4ec04f);let _0x25940d=class extends _0x37b4f8['Disposable']{constructor(_0x3be5ca,_0x91891b,_0x35e8b8){const _0x2fde5b=_0xddf351;super(),_0x986cf9(this,_0x2fde5b(0x3b0),new Map()),_0x986cf9(this,_0x2fde5b(0x252),new Map()),_0x986cf9(this,'_disabled',!0x1),(this[_0x2fde5b(0x295)]=_0x3be5ca,this[_0x2fde5b(0x1be)]=_0x91891b,this[_0x2fde5b(0x183)]=_0x35e8b8);}[_0xddf351(0x3dc)](){const _0x4885fb=_0xddf351;this[_0x4885fb(0x3f2)]=!0x0;}[_0xddf351(0x1cb)](){const _0x4147b6=_0xddf351;this[_0x4147b6(0x3f2)]=!0x1;}get[_0xddf351(0x3be)](){const _0x236b19=_0xddf351;return this[_0x236b19(0x252)];}[_0xddf351(0x2a4)](){const _0x5376cc=_0xddf351;this[_0x5376cc(0x286)]()[_0x5376cc(0x19b)](()=>super[_0x5376cc(0x2a4)]());}async[_0xddf351(0x2d8)](_0x4e1af1){return this['_disabled']?null:this['_localStorageService']['getItem'](_0xbb51f4['getLocalCacheKey'](_0x4e1af1));}async['saveOfflineData'](_0x4bc8ed,_0x5741b6){const _0x393529=_0xddf351;return!!this[_0x393529(0x1be)]['setItem'](_0x4bc8ed,_0x5741b6);}['updateOfflineData'](_0x3c3532,_0x3a678f,_0x44a34b,_0x56b882){const _0x1a2e61=_0xddf351,_0x413d82=this[_0x1a2e61(0x183)][_0x1a2e61(0x34d)](_0x3c3532);this['_cachedData'][_0x1a2e61(0x35c)](_0x3c3532,{'unitID':_0x3c3532,'type':_0x3a678f,'awaitingChangeset':_0x44a34b,'mutations':_0x56b882,'rev':_0x413d82}),this['_saveTaskMap'][_0x1a2e61(0x262)](_0x3c3532)||this[_0x1a2e61(0x20b)](_0x3c3532);}[_0xddf351(0x20b)](_0xefb2f){const _0x2ae227=_0xddf351,_0x3df6d5=this['_getSaveTimeout']();_0x3df6d5===0x0?this[_0x2ae227(0x17c)](_0xefb2f):this[_0x2ae227(0x252)][_0x2ae227(0x35c)](_0xefb2f,setTimeout(()=>this[_0x2ae227(0x17c)](_0xefb2f),_0x3df6d5));}[_0xddf351(0x282)](){const _0x6bb30e=_0xddf351;var _0x122e5d;return(_0x122e5d=this['_configService'][_0x6bb30e(0x3dd)](_0xbb51f4[_0x6bb30e(0x1ee)]))!=null?_0x122e5d:_0xbb51f4[_0x6bb30e(0x229)];}[_0xddf351(0x17c)](_0x18ec4b){const _0x510258=_0xddf351,_0x53e3b8=this['_saveTaskMap'][_0x510258(0x1e3)](_0x18ec4b);return _0x53e3b8!==void 0x0&&window[_0x510258(0x1f9)](_0x53e3b8),this['_localStorageService'][_0x510258(0x259)](_0xbb51f4['getLocalCacheKey'](_0x18ec4b),this[_0x510258(0x3b0)][_0x510258(0x1e3)](_0x18ec4b))[_0x510258(0x19b)](()=>this['_saveTaskMap'][_0x510258(0x34b)](_0x18ec4b));}async[_0xddf351(0x286)](){const _0x5cf150=_0xddf351,_0x4983cf=[];this[_0x5cf150(0x252)][_0x5cf150(0x1b8)]((_0x5812e0,_0x149f3b)=>{const _0x49680b=_0x5cf150;window[_0x49680b(0x1f9)](_0x5812e0),_0x4983cf[_0x49680b(0x22e)](this['_saveCache'](_0x149f3b)['then'](()=>{const _0x273b0f=_0x49680b;this['_saveTaskMap'][_0x273b0f(0x34b)](_0x149f3b);}));}),await Promise[_0x5cf150(0x33a)](_0x4983cf);}};_0x25940d=_0x211adc([_0x58430a(0x0,_0x37b4f8[_0xddf351(0x289)]),_0x58430a(0x1,_0x37b4f8[_0xddf351(0x1d4)]),_0x58430a(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0x1e18ea['RevisionService']))],_0x25940d);class _0x11e414 extends _0x37b4f8['RxDisposable']{constructor(){const _0x37dca6=_0xddf351;super(),_0x986cf9(this,_0x37dca6(0x21b)),this['urlChange$']=_0x1e2a43['fromEvent'](window,_0x37dca6(0x35a))[_0x37dca6(0x180)](_0x1e2a43[_0x37dca6(0x2f6)](this[_0x37dca6(0x308)]),_0x1e2a43[_0x37dca6(0x2cb)](0x1),_0x1e2a43['mapTo'](void 0x0));}['setParam'](_0x193fbb,_0x4a845a,_0x2708ea=!0x1){const _0x34ec07=_0xddf351,_0x5b4c0a=new URL(window[_0x34ec07(0x1c6)][_0x34ec07(0x1a9)]);_0x5b4c0a[_0x34ec07(0x227)][_0x34ec07(0x35c)](_0x193fbb,_0x4a845a),_0x2708ea?window[_0x34ec07(0x17a)][_0x34ec07(0x3a3)]('','',_0x5b4c0a['toString']()):window[_0x34ec07(0x17a)][_0x34ec07(0x3b2)]('','',_0x5b4c0a['toString']());}[_0xddf351(0x37b)](_0x13d4e9,_0x3f9b75=!0x1){const _0x46f2e6=_0xddf351,_0x455487=new URL(window['location'][_0x46f2e6(0x1a9)]);_0x455487[_0x46f2e6(0x227)][_0x46f2e6(0x34b)](_0x13d4e9),_0x3f9b75?window[_0x46f2e6(0x17a)]['replaceState']('','',_0x455487[_0x46f2e6(0x2f5)]()):window[_0x46f2e6(0x17a)][_0x46f2e6(0x3b2)]('','',_0x455487[_0x46f2e6(0x2f5)]());}[_0xddf351(0x1a7)](_0x32e0b7){const _0x3a224b=_0xddf351;var _0x2af8ab;return(_0x2af8ab=new URL(window[_0x3a224b(0x1c6)][_0x3a224b(0x1a9)])[_0x3a224b(0x227)][_0x3a224b(0x1e3)](_0x32e0b7))!=null?_0x2af8ab:void 0x0;}}var _0x114678=Object['defineProperty'],_0x3cfc6e=Object[_0xddf351(0x27c)],_0x541bbf=(_0x444304,_0x16ed20,_0x341969)=>_0x16ed20 in _0x444304?_0x114678(_0x444304,_0x16ed20,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x341969}):_0x444304[_0x16ed20]=_0x341969,_0x1a3175=(_0x37a522,_0x20f008,_0x2e6036,_0x5ff030)=>{const _0x182419=_0xddf351;for(var _0x1730c8=_0x5ff030>0x1?void 0x0:_0x5ff030?_0x3cfc6e(_0x20f008,_0x2e6036):_0x20f008,_0x3005b2=_0x37a522[_0x182419(0x2ef)]-0x1,_0x309ffc;_0x3005b2>=0x0;_0x3005b2--)(_0x309ffc=_0x37a522[_0x3005b2])&&(_0x1730c8=_0x309ffc(_0x1730c8)||_0x1730c8);return _0x1730c8;},_0x52282c=(_0x306cca,_0x598342)=>(_0x4d73be,_0xedd7ba)=>_0x598342(_0x4d73be,_0xedd7ba,_0x306cca),_0x470c51=(_0x463970,_0x4c7b4b,_0x5f437c)=>_0x541bbf(_0x463970,_0x4c7b4b+'',_0x5f437c);const _0x4d7de9='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2c6d96[_0xddf351(0x294)]=class extends _0x37b4f8[_0xddf351(0x39f)]{constructor(_0x396544=_0x5ac886,_0x55bb46,_0x4364b4,_0x57667f){const _0x2bd62c=_0xddf351;super(),this[_0x2bd62c(0x35f)]=_0x396544,this[_0x2bd62c(0x239)]=_0x55bb46,this[_0x2bd62c(0x396)]=_0x4364b4,this[_0x2bd62c(0x295)]=_0x57667f;const {..._0x810bd3}=_0x37b4f8['merge']({},_0x5ac886,this[_0x2bd62c(0x35f)]);this[_0x2bd62c(0x295)][_0x2bd62c(0x23d)](_0x272cf9,_0x810bd3);}[_0xddf351(0x300)](){const _0x27f6ca=_0xddf351;this[_0x27f6ca(0x196)](),this[_0x27f6ca(0x1d6)]();}[_0xddf351(0x26b)](){const _0x22cb0b=_0xddf351;this[_0x22cb0b(0x233)]();}['_registerDependencies'](){const _0x292dc6=_0xddf351;var _0x47738d;const _0x3e9ec5=[[_0x42dddc],[_0x52a3de],[_0x277a90],[_0x3d9e6a],[_0x53190f],[_0x99a192,{'useClass':_0x11e414}],[_0x5680df[_0x292dc6(0x2b0)],{'useClass':_0x5680df['WebSocketService']}],[_0xbb51f4[_0x292dc6(0x3ec)],{'useClass':_0x25940d}],[_0x2c6d96[_0x292dc6(0x265)]],[_0x181919],[_0x5eae6e],[_0x2bfcb0],[_0x5856cc],[_0x2c6d96[_0x292dc6(0x392)]]];_0x37b4f8['registerDependencies'](this[_0x292dc6(0x396)],_0x37b4f8[_0x292dc6(0x25f)](_0x3e9ec5,(_0x47738d=this[_0x292dc6(0x35f)])==null?void 0x0:_0x47738d['override']));}[_0xddf351(0x233)](){const _0x59fdc4=_0xddf351;this[_0x59fdc4(0x351)](this[_0x59fdc4(0x239)][_0x59fdc4(0x268)](_0x37b4f8[_0x59fdc4(0x17f)][_0x59fdc4(0x365)],[_0x2e557a])),this[_0x59fdc4(0x351)](this[_0x59fdc4(0x239)][_0x59fdc4(0x268)](_0x37b4f8[_0x59fdc4(0x17f)]['UNIVER_SHEET'],[_0x2cce5c]));}[_0xddf351(0x1d6)](){const _0xcd28ce=_0xddf351;_0x37b4f8[_0xcd28ce(0x3b3)](this[_0xcd28ce(0x396)],[[_0x2bfcb0],[_0x2c6d96[_0xcd28ce(0x265)]],[_0x181919],[_0x5eae6e],[_0x2c6d96['CollaborationDataLoaderController']]]);}},_0x470c51(_0x2c6d96[_0xddf351(0x294)],_0xddf351(0x2a7),_0x4d7de9),_0x2c6d96['UniverCollaborationClientUIPlugin']=_0x1a3175([_0x37b4f8[_0xddf351(0x3af)](_0xbb51f4['UniverCollaborationClientPlugin']),_0x52282c(0x1,_0x43f3eb[_0xddf351(0x1fa)]),_0x52282c(0x2,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8['Injector'])),_0x52282c(0x3,_0x37b4f8['IConfigService'])],_0x2c6d96['UniverCollaborationClientUIPlugin']);var _0x2ec02b=Object[_0xddf351(0x27c)],_0x337a1b=(_0x2673e0,_0x4aeb0b,_0x5c3fd9,_0x1bc60c)=>{const _0x34879f=_0xddf351;for(var _0x211d3c=_0x1bc60c>0x1?void 0x0:_0x1bc60c?_0x2ec02b(_0x4aeb0b,_0x5c3fd9):_0x4aeb0b,_0x50cdca=_0x2673e0[_0x34879f(0x2ef)]-0x1,_0x22ec2f;_0x50cdca>=0x0;_0x50cdca--)(_0x22ec2f=_0x2673e0[_0x50cdca])&&(_0x211d3c=_0x22ec2f(_0x211d3c)||_0x211d3c);return _0x211d3c;},_0x9f132f=(_0x26601b,_0x449e11)=>(_0x1e9c6c,_0x3ebc05)=>_0x449e11(_0x1e9c6c,_0x3ebc05,_0x26601b);_0x2c6d96[_0xddf351(0x263)]=class extends _0xbb51f4['CollaborationSocketService']{constructor(_0x454722,_0x512598,_0x25933e,_0x416a3e,_0x5e4c01){super(_0x454722,_0x512598,_0x25933e,_0x416a3e,_0x5e4c01);}async[_0xddf351(0x2c3)](_0x2bc021){const _0x19f8df=_0xddf351,_0x4eb673=await this[_0x19f8df(0x384)](),_0x19189e=this[_0x19f8df(0x176)](_0x2bc021,_0x4eb673);return this['_doCreateSocket'](_0x19189e);}[_0xddf351(0x176)](_0x1160f6,_0x161d83){const _0x13987b=_0xddf351,_0x2bcc69=typeof window>'u'?new URL(_0x1160f6):new URL(_0x1160f6,window[_0x13987b(0x1c6)][_0x13987b(0x212)]);_0x2bcc69[_0x13987b(0x227)][_0x13987b(0x35c)]('sessionTicket',_0x161d83);const _0x35ecdf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x13987b(0x1c6)][_0x13987b(0x358)]);return _0x35ecdf['get'](_0x13987b(0x3f9))&&_0x2bcc69['searchParams'][_0x13987b(0x35c)]('runId',_0x35ecdf['get'](_0x13987b(0x3f9))),_0x2bcc69[_0x13987b(0x2f5)]();}async[_0xddf351(0x384)](){const _0x231c9e=_0xddf351;var _0x5074ca,_0x3d4ec0,_0x31ba5f;const _0x4e5c7d=this['_configService'][_0x231c9e(0x3dd)](_0xbb51f4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2b2ab1=(_0x5074ca=_0x4e5c7d==null?void 0x0:_0x4e5c7d[_0x231c9e(0x370)])!=null?_0x5074ca:_0xbb51f4[_0x231c9e(0x238)];return(_0x31ba5f=(_0x3d4ec0=(await this[_0x231c9e(0x222)]['get'](_0x2b2ab1,{'headers':{'Content-Type':_0x231c9e(0x197)}}))[_0x231c9e(0x258)])==null?void 0x0:_0x3d4ec0[_0x231c9e(0x272)])!=null?_0x31ba5f:'';}},_0x2c6d96[_0xddf351(0x263)]=_0x337a1b([_0x9f132f(0x0,_0x37b4f8[_0xddf351(0x3c4)](_0x37b4f8[_0xddf351(0x2b6)])),_0x9f132f(0x1,_0x37b4f8['Inject'](_0x5680df[_0xddf351(0x273)])),_0x9f132f(0x2,_0x37b4f8['IConfigService']),_0x9f132f(0x3,_0x37b4f8['ILogService']),_0x9f132f(0x4,_0x1e18ea[_0xddf351(0x2b9)])],_0x2c6d96[_0xddf351(0x263)]);const _0x3abcd3=0x7530,_0x471905=_0xddf351(0x1fb);class _0x5be993 extends _0x37b4f8[_0xddf351(0x1c9)]{constructor(){const _0x5d1cf4=_0xddf351;super(),_0x986cf9(this,_0x5d1cf4(0x19a),_0x37b4f8[_0x5d1cf4(0x1f5)]()),_0x986cf9(this,_0x5d1cf4(0x260),new Set()),_0x986cf9(this,_0x5d1cf4(0x217),new Map()),_0x986cf9(this,'_heartbeatTimer',null),_0x986cf9(this,'_clearOtherTimers',new Map()),_0x986cf9(this,_0x5d1cf4(0x2e1),new Map()),this[_0x5d1cf4(0x309)]();}[_0xddf351(0x2a4)](){const _0x43531d=_0xddf351;super[_0x43531d(0x2a4)](),this[_0x43531d(0x3d0)]['forEach']((_0x2fd438,_0x125944)=>this[_0x43531d(0x3d7)](_0x125944)),this[_0x43531d(0x3d3)]&&window[_0x43531d(0x391)](this[_0x43531d(0x3d3)]);}[_0xddf351(0x39b)](_0x88418){const _0x1801db=_0xddf351;return this['_ensureSubject'](_0x88418)[_0x1801db(0x180)](_0x1e2a43[_0x1801db(0x3da)]());}[_0xddf351(0x325)](_0x3ec130){const _0x2210f7=_0xddf351;this['_selfUnitIDs'][_0x2210f7(0x2e9)]===0x0&&this[_0x2210f7(0x31d)](),this[_0x2210f7(0x260)]['add'](_0x3ec130),this[_0x2210f7(0x26f)]({'type':0x0,'memberID':this[_0x2210f7(0x19a)],'unitIDs':[_0x3ec130],'isForwarded':!0x1});}['disposeUnit'](_0x5b82c2){const _0x22e244=_0xddf351;this[_0x22e244(0x260)][_0x22e244(0x34b)](_0x5b82c2),this[_0x22e244(0x260)][_0x22e244(0x2e9)]===0x0&&this[_0x22e244(0x3d3)]&&window[_0x22e244(0x391)](this[_0x22e244(0x3d3)]);}[_0xddf351(0x309)](){const _0x5e5b23=_0xddf351;this[_0x5e5b23(0x351)](_0x37b4f8['toDisposable'](_0x1e2a43['fromEvent'](window,_0x5e5b23(0x313))['subscribe'](_0x5b0253=>{const _0x4d79d9=_0x5e5b23;if(_0x5b0253[_0x4d79d9(0x371)]!==_0x471905||!_0x5b0253[_0x4d79d9(0x3e3)])return;const _0x5d28ce=JSON[_0x4d79d9(0x247)](_0x5b0253[_0x4d79d9(0x3e3)]);this[_0x4d79d9(0x27b)](_0x5d28ce);}))),window[_0x5e5b23(0x16c)](_0x5e5b23(0x3ef),()=>this[_0x5e5b23(0x26f)]({'type':0x1,'memberID':this[_0x5e5b23(0x19a)],'unitIDs':Array[_0x5e5b23(0x39c)](this['_selfUnitIDs'])}));}[_0xddf351(0x27b)](_0x147af7){const _0x52817e=_0xddf351;switch(_0x147af7[_0x52817e(0x1b2)]){case 0x0:this[_0x52817e(0x220)](_0x147af7);break;case 0x1:this[_0x52817e(0x28b)](_0x147af7);break;case 0x2:this['_handleHeartbeatEvent'](_0x147af7);break;}}[_0xddf351(0x220)](_0x25a3a1){const _0x4f9c5a=_0xddf351,{unitIDs:_0x3bf7b2,memberID:_0x1aabcb,isForwarded:_0x266bb6}=_0x25a3a1;_0x3bf7b2[_0x4f9c5a(0x1b8)](_0x1f8fa0=>{const _0x331d9b=_0x4f9c5a;if(!_0x266bb6&&this[_0x331d9b(0x217)]['has'](_0x1f8fa0)&&this[_0x331d9b(0x2d7)](_0x1f8fa0)['next'](_0xbb51f4['UnitStatus'][_0x331d9b(0x186)]),!this[_0x331d9b(0x217)]['has'](_0x1f8fa0)||!this[_0x331d9b(0x217)]['get'](_0x1f8fa0)[_0x331d9b(0x262)](_0x1aabcb)){const _0x46afe9=this[_0x331d9b(0x217)]['get'](_0x1f8fa0)||new Set();_0x46afe9['add'](_0x1aabcb),this['_unitOnClients'][_0x331d9b(0x35c)](_0x1f8fa0,_0x46afe9),this[_0x331d9b(0x193)](_0x1aabcb);}}),_0x266bb6||this[_0x4f9c5a(0x26f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4f9c5a(0x260)]],'isForwarded':!0x0});}[_0xddf351(0x193)](_0xdcea33){const _0x23157f=_0xddf351;this[_0x23157f(0x3d7)](_0xdcea33);const _0x40bf74=window[_0x23157f(0x38e)](()=>{const _0x382b4e=_0x23157f;this[_0x382b4e(0x217)]['forEach'](_0x4dce54=>{_0x4dce54['delete'](_0xdcea33);});},_0x3abcd3*0x2);this[_0x23157f(0x3d0)][_0x23157f(0x35c)](_0xdcea33,_0x40bf74);}['_removeClearOtherTimer'](_0x6413cd){const _0x1b52ec=_0xddf351;if(this[_0x1b52ec(0x3d0)][_0x1b52ec(0x262)](_0x6413cd)){const _0x2dab5a=this['_clearOtherTimers'][_0x1b52ec(0x1e3)](_0x6413cd);_0x2dab5a&&window[_0x1b52ec(0x1f9)](_0x2dab5a),this[_0x1b52ec(0x3d0)][_0x1b52ec(0x35c)](_0x6413cd,null);}}['_handleLeaveEvent'](_0x4d4906){const _0x523175=_0xddf351,{memberID:_0x4617c6,unitIDs:_0x1cc3b6}=_0x4d4906;_0x1cc3b6[_0x523175(0x1b8)](_0x4639d6=>{const _0x5ef41a=_0x523175;var _0x5a5835;const _0x325df1=this[_0x5ef41a(0x217)]['get'](_0x4639d6);_0x325df1&&(_0x325df1[_0x5ef41a(0x34b)](_0x4617c6),(_0x5a5835=this[_0x5ef41a(0x2d7)](_0x4639d6))==null||_0x5a5835[_0x5ef41a(0x1e8)](_0x325df1['size']===0x0?_0xbb51f4[_0x5ef41a(0x1ea)]['NO_OTHER_CLIENTS_EDITING']:_0xbb51f4['UnitStatus'][_0x5ef41a(0x186)]));}),this[_0x523175(0x3d7)](_0x4617c6);}[_0xddf351(0x37a)](_0x33c45a){const _0x365156=_0xddf351;this[_0x365156(0x193)](_0x33c45a[_0x365156(0x1a6)]);}['_send'](_0x38e238){const _0x20a5a9=_0xddf351;localStorage[_0x20a5a9(0x259)](_0x471905,JSON[_0x20a5a9(0x24c)](_0x38e238));}[_0xddf351(0x31d)](){const _0x20e04b=_0xddf351;this[_0x20e04b(0x3d3)]=window[_0x20e04b(0x21e)](()=>{const _0x204b2c=_0x20e04b;this[_0x204b2c(0x26f)]({'type':0x2,'memberID':this[_0x204b2c(0x19a)]});},_0x3abcd3);}[_0xddf351(0x2d7)](_0x197283){const _0x3bebd3=_0xddf351;return this[_0x3bebd3(0x2e1)][_0x3bebd3(0x262)](_0x197283)||this[_0x3bebd3(0x2e1)][_0x3bebd3(0x35c)](_0x197283,new _0x1e2a43[(_0x3bebd3(0x27f))](_0xbb51f4['UnitStatus'][_0x3bebd3(0x299)])),this[_0x3bebd3(0x2e1)][_0x3bebd3(0x1e3)](_0x197283);}}var _0x5202b2=(_0x28edb4=>(_0x28edb4[_0x28edb4['UNDEFINED']=0x0]=_0xddf351(0x20c),_0x28edb4[_0x28edb4['OK']=0x1]='OK',_0x28edb4[_0x28edb4[_0xddf351(0x16d)]=0x2]='INTERNAL_ERROR',_0x28edb4[_0x28edb4['PERMISSION_DENIED']=0x3]=_0xddf351(0x3b6),_0x28edb4[_0x28edb4['NOT_FOUND']=0x4]=_0xddf351(0x3d9),_0x28edb4[_0x28edb4[_0xddf351(0x2b7)]=0x5]=_0xddf351(0x2b7),_0x28edb4[_0x28edb4['ALREADY_EXISTS']=0x6]=_0xddf351(0x24f),_0x28edb4[_0x28edb4[_0xddf351(0x232)]=0x7]=_0xddf351(0x232),_0x28edb4[_0x28edb4['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x28edb4[_0x28edb4[_0xddf351(0x2eb)]=0x9]=_0xddf351(0x2eb),_0x28edb4[_0x28edb4[_0xddf351(0x17b)]=0xa]=_0xddf351(0x17b),_0x28edb4[_0x28edb4[_0xddf351(0x24d)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x28edb4[_0x28edb4['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0xddf351(0x2b2),_0x28edb4[_0x28edb4['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x28edb4[_0x28edb4['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xddf351(0x205),_0x28edb4[_0x28edb4[_0xddf351(0x342)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x28edb4[_0x28edb4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xddf351(0x2ae),_0x28edb4[_0x28edb4[_0xddf351(0x3bc)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x28edb4[_0x28edb4[_0xddf351(0x2f3)]=0x1773]=_0xddf351(0x2f3),_0x28edb4[_0x28edb4[_0xddf351(0x318)]=0x1b59]=_0xddf351(0x318),_0x28edb4[_0x28edb4[_0xddf351(0x1fd)]=0x1b5a]=_0xddf351(0x1fd),_0x28edb4[_0x28edb4[_0xddf351(0x241)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x28edb4[_0x28edb4[_0xddf351(0x31c)]=0x1b5c]=_0xddf351(0x31c),_0x28edb4[_0x28edb4[_0xddf351(0x2ec)]=0x1b5d]='APPLY_DUPLICATED',_0x28edb4[_0x28edb4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xddf351(0x3ad),_0x28edb4[_0x28edb4['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xddf351(0x356),_0x28edb4[_0x28edb4[_0xddf351(0x3b1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x28edb4[_0x28edb4[_0xddf351(0x3cd)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x28edb4[_0x28edb4[_0xddf351(0x2c6)]=0x232c]=_0xddf351(0x2c6),_0x28edb4[_0x28edb4[_0xddf351(0x1b9)]=0x232d]=_0xddf351(0x1b9),_0x28edb4[_0x28edb4[_0xddf351(0x39e)]=0x2711]=_0xddf351(0x39e),_0x28edb4[_0x28edb4[_0xddf351(0x315)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x28edb4[_0x28edb4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xddf351(0x1d1),_0x28edb4[_0x28edb4[_0xddf351(0x388)]=0x2714]=_0xddf351(0x388),_0x28edb4[_0x28edb4[_0xddf351(0x3b9)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x28edb4[_0x28edb4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0xddf351(0x1d9),_0x28edb4[_0x28edb4[_0xddf351(0x350)]=0x271c]=_0xddf351(0x350),_0x28edb4[_0x28edb4['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x28edb4[_0x28edb4[_0xddf351(0x343)]=0x271e]=_0xddf351(0x343),_0x28edb4[_0x28edb4[_0xddf351(0x30f)]=0x271f]=_0xddf351(0x30f),_0x28edb4[_0x28edb4[_0xddf351(0x379)]=0x2720]=_0xddf351(0x379),_0x28edb4[_0x28edb4[_0xddf351(0x3c5)]=0x2af9]=_0xddf351(0x3c5),_0x28edb4[_0x28edb4[_0xddf351(0x3ea)]=0x2ee1]=_0xddf351(0x3ea),_0x28edb4[_0x28edb4[_0xddf351(0x18d)]=0x2ee2]=_0xddf351(0x18d),_0x28edb4[_0x28edb4[_0xddf351(0x30c)]=0x2ee3]=_0xddf351(0x30c),_0x28edb4[_0x28edb4[_0xddf351(0x33b)]=0x2ee4]=_0xddf351(0x33b),_0x28edb4[_0x28edb4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x28edb4[_0x28edb4[_0xddf351(0x2fb)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x28edb4[_0x28edb4[_0xddf351(0x2c2)]=0x32ca]=_0xddf351(0x2c2),_0x28edb4[_0x28edb4[_0xddf351(0x191)]=0x32cb]=_0xddf351(0x191),_0x28edb4[_0x28edb4[_0xddf351(0x214)]=-0x1]=_0xddf351(0x214),_0x28edb4))(_0x5202b2||{}),_0x39a0f9=Object[_0xddf351(0x27c)],_0x4ca597=(_0x213816,_0x19ac47,_0x834bd8,_0x1f87b0)=>{const _0x4e4717=_0xddf351;for(var _0x4ec638=_0x1f87b0>0x1?void 0x0:_0x1f87b0?_0x39a0f9(_0x19ac47,_0x834bd8):_0x19ac47,_0x417f21=_0x213816[_0x4e4717(0x2ef)]-0x1,_0x27ed8b;_0x417f21>=0x0;_0x417f21--)(_0x27ed8b=_0x213816[_0x417f21])&&(_0x4ec638=_0x27ed8b(_0x4ec638)||_0x4ec638);return _0x4ec638;},_0x59bf0f=(_0x128276,_0xe46de7)=>(_0x1bf890,_0x4baa2b)=>_0xe46de7(_0x1bf890,_0x4baa2b,_0x128276);_0x2c6d96[_0xddf351(0x3c3)]=class extends _0x37b4f8[_0xddf351(0x1c9)]{constructor(_0x4ef558,_0x1e30dc,_0x21111a){const _0x2a2383=_0xddf351;super(),this['_instanceService']=_0x4ef558,this['_httpService']=_0x1e30dc,this[_0x2a2383(0x295)]=_0x21111a;}async[_0xddf351(0x243)](_0x2cff68,_0x4af37e,_0x5b213c,..._0xbba473){const _0x40a81f=_0xddf351;var _0x36c184,_0x113e1c,_0x3a5b2a,_0x1fa3eb;const _0x5c9b49=this[_0x40a81f(0x317)]['getFocusedUnit']();if(!_0x5c9b49)throw new Error(_0x40a81f(0x3e9));const _0x172eb7=((_0x36c184=this[_0x40a81f(0x295)][_0x40a81f(0x3dd)](_0xbb51f4[_0x40a81f(0x1f2)]))!=null?_0x36c184:_0xbb51f4[_0x40a81f(0x182)])+'/'+_0x2cff68+_0x40a81f(0x364)+_0x4af37e,_0x3db664=new URL(window['location'][_0x40a81f(0x1a9)]),_0x2a3b64={'scriptId':_0x2cff68,'runId':(_0x113e1c=_0x3db664['searchParams'][_0x40a81f(0x1e3)](_0x40a81f(0x3f9)))!=null?_0x113e1c:'','function':_0x4af37e,'unitId':_0x5c9b49[_0x40a81f(0x305)](),'argsOfFunction':JSON[_0x40a81f(0x24c)](_0xbba473),'invokeId':(_0x3a5b2a=_0x5b213c[_0x40a81f(0x2f8)])!=null?_0x3a5b2a:'','executionId':(_0x1fa3eb=_0x5b213c['executionId'])!=null?_0x1fa3eb:''};try{const _0x10a7a0=await this['_httpService']['post'](_0x172eb7,{'body':_0x2a3b64});return _0x10a7a0['body'][_0x40a81f(0x2a3)]&&_0x10a7a0[_0x40a81f(0x258)][_0x40a81f(0x2a3)]['code']!==_0x5202b2['OK']?'Failed':_0x10a7a0[_0x40a81f(0x258)][_0x40a81f(0x32e)];}catch{return _0x40a81f(0x174);}}},_0x2c6d96[_0xddf351(0x3c3)]=_0x4ca597([_0x59bf0f(0x0,_0x37b4f8[_0xddf351(0x3bb)]),_0x59bf0f(0x1,_0x37b4f8[_0xddf351(0x3c4)](_0x5680df[_0xddf351(0x273)])),_0x59bf0f(0x2,_0x37b4f8[_0xddf351(0x289)])],_0x2c6d96['RemoteUniscriptService']),_0x2c6d96['CollaborationStatusDisplay']=_0x5a5adb,_0x2c6d96[_0xddf351(0x1e7)]=_0x99a192,_0x2c6d96[_0xddf351(0x3f5)]=_0x48692c,_0x2c6d96[_0xddf351(0x251)]=_0x5be993,_0x2c6d96[_0xddf351(0x1bb)]=_0x11e414,Object[_0xddf351(0x382)](_0x2c6d96,Symbol[_0xddf351(0x2b4)],{'value':'Module'});}));function _0x394a(_0x1887cd,_0x180a12){const _0xa1b0c8=_0xa1b0();return _0x394a=function(_0x394adf,_0x150bf0){_0x394adf=_0x394adf-0x168;let _0x1c360a=_0xa1b0c8[_0x394adf];return _0x1c360a;},_0x394a(_0x1887cd,_0x180a12);}function _0xa1b0(){const _0x1bfb1a=['LICENSE_EXPORT_SIZE_EXCEEDED','isTransformMutationFailure','tag','@univerjs/sheets','onCommandExecuted','shareReplay','round','_collaborationUIEventService','_logService','attrs','_syncEditingCollabCursorService','deepClone','42BDQSsD','RegularPolygon','_entityInit$','_cursorShapes','CollaborationEvent','_ensureSubject','loadOfflineData','purple.300','handleDeleteRangeMoveUp','_backgroundColor','SOCKET_FAILED','_startSheetCollabCursor','trim','Tools','isArray','_unitStatus','find','_cursor','drawWith','mutations','getStateCache','_document','_dataLoaderService','size','_draw','COMPLETION_FINISHED','APPLY_DUPLICATED','hasOwnProperty','subunit','length','collabStatus.offline','_collabCursorState$','includes','ENSURE_SNAPSHOT_EXECUTION','collaboration-client-ui.config','toString','takeUntil','ThemeService','invokeId','transformRemoteChangeset','hovered','WECHAT_HAS_BEEN_BOUND','_docSkeleton','onLocalMutation','range','setActiveRange','onStarting','@univerjs/docs-ui','url(#$1','_drawTextRange','_toggleOnline','getUnitId','_hovered','handleInsertCol','dispose$','_init','_hideTimer','fillRule','INVITE_CODE_REQUIRED','Warning','InsertRangeMoveRightCommandId','YUUMI_AI_RUN_FAILED','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','icon','collabStatus.fetchMiss','storage','sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','m2Prime','_instanceService','APPLY_REJECT','extend','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','getCollabCursors$','APPLY_PERMISSION_DENIED','_scheduleHeartbeat','unit','debug','IUIPartsService','_textBubble','collab-client.tooltip.reconnect','@univerjs/design','SetWorksheetActivateCommand','editingUnit','AWAITING_WITH_PENDING','getSheetBySheetId','3193055Frhsve','replaceDocRanges','M0\x200H16V16H0z','@univerjs/ui','startColumn','IMessageService','result','_sheetSkeletonManagerService','redoState','_anchor','getMemberID','cursorInfo','_assignedColors','OnLineIcon','send','UNIVER_SHEET','toRgbString','fromEventSubject','all','USER_NOT_INVITED_CODE','UniverProCollaborationClient','_color','collabCursorState$','undoState','_refreshCollabCursors','CollaborationStatus','CHANGESET_REVISION_CONFILICT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','useDependency','getCurrent','_onRefRangeChange','getMember','sheetID','_initEvent','DocIMEInputManagerService','delete','LocaleService','getCurrentRevOfUnit','getActiveRange','loadUnit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','disposeWithMe','jsx','url(#on-line-icon_clip0_910_349)','univer-flex\x20univer-items-center','ITransformService','LICENSE_MAX_UNITS_EXCEEDED','PENDING','search','arc','popstate','combineLatest','set','save','#FFF','_config','handleInsertRow','throttleTime','getColorFromTheme','_transformHistoryAndStateStack','/run/','UNIVER_DOC','_imageIoService','subscribeEvent','[CollaborationDataLoaderController]','SetDocZoomRatioOperation','1em','_memberService','getFocusedUnit','_onCursorUpdate','getRelativeToViewportCoord','whenReady','wsSessionTicketUrl','key','isEditing','fillText','getUndoRedoMutationParamsCache','subUnitId','FromArray','_labelPosition','idSuffix','YUUMI_CONNECTOR_URL_NOT_FOUND','_handleHeartbeatEvent','removeParam','_uiPartsService','_online','_univerInstanceService','SetTextSelectionsOperation','COLORS','onPointerEnter$','defineProperty','_initStatusComponent','_getSessionTicket','transformByState','_getScale','values','YUUMI_SUBSCRIPTION_NOT_FOUND','_updateURLWithCurrentState','ILogService','toDisposable','@univerjs-pro/collaboration','hide','setTimeout','@univerjs/drawing','DeleteRangeMoveUpCommandId','clearInterval','CollaborationDataLoaderController','getTypeOfUnitDisposed$','addObject','_commandService','_injector','rxjs','getSkeleton','DocSelectionManagerService','getOwnPropertySymbols','getUnitStatus$','from','ranges','YUUMI_UNABLE_LOAD_URL','Plugin','DocSkeletonManagerService','_initStatusListener','16668443yWsLfv','replaceState','currentTheme$','IRemoteInstanceService','getRangePointData','_drawRectRange','_getSheetObject','off-line-icon_clip0_910_343','measureText','DocCollaborationEntity','labelPosition','CONNECTOR_DATA_TOO_LARGE','@univerjs-pro/collaboration-client','DependentOn','_cachedData','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pushState','touchDependencies','INotificationService','lineTo','PERMISSION_DENIED','HEADER_MENU','getMergeData','YUUMI_NO_CUBOID_FOR_QUESTION','add','IUniverInstanceService','SNAPSHOT_HAS_BEEN_REMOVED','registerRefRange','saveTaskMap','RefRangeService','width','collaboration.closeRoom','endColumn','RemoteUniscriptService','Inject','PY_RUNTIME_SCRIPT_ERROR','UniverRpc','forwardRef','_collabCursorController','UniverDesign','jsxs','saveImage','SUBMIT_CHANGESET_TIMEOUT','LICENSE_IMPORT_SIZE_EXCEEDED','addClipboardHook','source','_clearOtherTimers','path','entityInit$','_heartbeatTimer','@univerjs/rpc','MemberService','on-line-icon_clip0_910_349','_removeClearOtherTimer','function','NOT_FOUND','distinctUntilChanged','uni.network.url-service','disableLocalCache','getConfig','_collabSessionService','defs','startRow','children','_transformUndoRedoStack','newValue','DataLoaderService','NodePositionConvertToRectRange','Subject','collabStatus.conflict','bottom','[RemoteUniscriptService]:\x20no\x20focused\x20unit','INVITE_CODE_HAS_BEEN_UES','FETCH_MISS','ILocalCacheService','_docClipboardService','_docTransformSelectionsService','unload','beginPath','UniverUi','_disabled','0\x200\x2016\x2016','reconnect','SheetCollabCursorShape','...','assign','Workbook','runId','collabStatus.synced','_removeCollabCursors','TEXT_RANGE_LAYER_INDEX','DeleteRangeMoveLeftCommandId','use','_transformService','handleMoveRange','DocStateChangeManagerService','IDocClipboardService','session.connection-failed','@univerjs/engine-formula','createIdentifier','addEventListener','INTERNAL_ERROR','_messageService','481191kicCDH','CollaborationUIEventId','_status$','CollaborationController','string','Failed','_initResize','_createSocketURL','SheetSkeletonManagerService','CLOSE_ROOM','font','history','LOGIN_FAILED','_saveCache','_docStateChangeManagerService','skeleton','UniverInstanceType','pipe','collaboration-client.offline-data-not-saved','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_revisionService','debounceTime','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','OTHER_CLIENTS_EDITING','useRef','svg','onPointerLeave$','unsubscribe','createElement','_name','INVALID_INVITE_CODE','indexOf','asObservable','_updateCollabCursors','EMAIL_HAS_BEEN_BOUND','_localCacheService','_scheduleClearOtherTimer','column','Shape','_registerDependencies','application/json','debounce','with','_id','then','_docSyncEditingCollabCursorService','on-line-icon','clsx','transformIMECache','registerBeforeClose','OFFLINE','UniverIcon','UniverDocsUi','MessageType','_cursorInfo$','memberID','getParam','getCoordByCell','href','ICommandService','InsertRangeMoveDownCommandId','_docTransformIMECacheService','engine','_colorIndex','moveTo','prototype','DOC_RANGE_TYPE','type','createInstance','_range','USERS_LEAVE','_shapes','UniverDocs','forEach','LICENSE_DISTRO_REJECTED','getUniverSheetInstance','WebURLService','univer-mr-2\x20univer-flex\x20univer-text-xl','cursorInfo$','_localStorageService','@univerjs/docs','className','deserializeRangeWithSheet','translate(.97)','show','roomMembers','_getAnchorBounding','location','assignAColorForMemberID','connectInjector','Disposable','focused$','enableLocalCache','_colorAssignService','setAlpha','_docSkeletonManagerService','1933632rvTeBA','session.will-retry','YUUMI_RATE_OVER_LIMIT','@univerjs/sheets-ui','runRefRangeMutations','ILocalStorageService','@univerjs/network','_initDependencies','findNodePositionByCharIndex','clipPath','YUUMI_ASYNCIO_CANCELLED','_eventUnsubscribe','_urlService','_initCommandExecutedListener','_roomMembers$','_cursors','subscribe','setShapeProps','SheetsSelectionsService','_context','get','eventID','unitID','OffLineIcon','IURLService','next','React','UnitStatus','BuiltInUIPart','symbol','_entities','LOCAL_CACHE_INTERVAL_KEY','handleInsertRangeMoveRight','SessionStatus','_drawAnchor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CONFLICT','selection','generateRandomId','_session','Rect','AWAITING','clearTimeout','IRenderManagerService','ACTIVE_UNIT_EVENT_CHANNEL','collaboration.single-unit.warning','APPLY_NON_SEQUENTIAL_REVISION','unshift','SHEET_VIEWPORT_KEY','imageSourceType','react/jsx-runtime','_render','_docTransformStateCacheService','UPDATE_CURSOR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','permission.content','_hover','Vector2','none','_themeService','_scheduleSaving','UNDEFINED','_refRangeService','jiqing.500','handleIRemoveCol','collab-text-range-','VIEW_MAIN','origin','map','UNRECOGNIZED','handleInsertRangeMoveDown','init','_unitOnClients','call','operators','flatMap','urlChange$','_updateLocalCursor','_updateSubUnitFromURLParams','setInterval','url(#off-line-icon_clip0_910_343)','_handleJoinEvent','getCellPositionByOffset','_httpService','doc.mutation.rich-text-editing','Tooltip','max','Error','searchParams','switchMap','LOCAL_CACHE_INTERVAL','InsertColCommandId','displayName','merge','RxDisposable','push','roomMembers$','filter','getVpScrollXYInfoByPosToVp','INVALID_ARGUMENT','_registerRenderDependencies','SOCKET_FAILED_RETRY','split','_anchorDot','101063CherrB','DEFAULT_WS_SESSION_TICKET_URL','_renderManagerService','RECT','transformMutation','RemoveRowCommandId','setConfig','getActiveSheet','off-line-icon','collab-rect-range-','APPLY_REVISION_CONFILICT','textRanges','runOnServer','react','getColor','addObjects','parse','min','serializeRangeWithSheet','fill','_startDocCollabCursor','stringify','MOBILE_VERIFY_CODE_MISMATCH','getCurrentSelections','ALREADY_EXISTS','IBeforeCloseService','WebBrowserSingleActiveUnitService','_saveTaskMap','univerjs-icon\x20univerjs-icon-','_onCursorDelete','status$','IImageIoService','EffectRefRangId','body','setItem','_transformPreviousActiveRange','height','TEXT','name','_handleHover','mergeOverrideWithDependencies','_selfUnitIDs','mask','has','BrowserCollaborationSocketService','currentSkeleton$','DesktopCollaborationStatusDisplayController','entries','top','registerRenderModule','UniverEngineRender','evenodd','onRendered','handleDeleteRangeMoveLeft','closePath','InsertRowCommandId','_send','DisposableCollection','getCurrentUnitForType','ticket','HTTPService','16DZatTH','xlink:href','878368zcPTnh','getRenderById','11221821NfeLql','concat','params','_handleEvent','getOwnPropertyDescriptor','sheetId','syncEditingCollabCursor','BehaviorSubject','transformSelections','_localeService','_getSaveTimeout','22jYnGwR','rxjs/operators','colorChannel1','exhaustSavingTask','isActive','getSheetId','IConfigService','complete','_handleLeaveEvent','div','_scene','_setupBeforeClosingHandler','CollaborationSessionService','replace','white','SetSelectionsOperation','getTypeOfUnitAdded$','UniverCollaborationClientUIPlugin','_configService','onMouseMove','red.300','NOT_COLLAB','NO_OTHER_CLIENTS_EDITING','onTransformChange$','requireSession','MoveRangeCommandId','_setupSubUnitSync','@univerjs/engine-render','UniverSheets','transformMutationsWithChangeset','_toggleOffline','text','error','dispose','collabStatus.notCollab','getOffsetConfig','pluginName','10ZSoaMw','getValue','_collaborationController','black','color','executeCommand','SNAPSHOT_INVALID_SNAPSHOT','unitId','ISocketService','ONLINE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','m1Prime','toStringTag','getUnhiddenWorksheets','Injector','UNAUTHENTICATED','data','ISnapshotServerService','restore','_lastPointer','event$','getSheetObject','isTransformMutationsWithChangesetSuccess','currentColor','substring','transformStateCache','MOBILE_HAS_BEEN_BOUND','createSocket','RichTextEditingMutation','getAncestorScale'];_0xa1b0=function(){return _0x1bfb1a;};return _0xa1b0();}
1
+ function _0x2330(_0x5b31c6,_0x114314){const _0xd233a8=_0xd233();return _0x2330=function(_0x233004,_0x460486){_0x233004=_0x233004-0x1a8;let _0xf642cb=_0xd233a8[_0x233004];return _0xf642cb;},_0x2330(_0x5b31c6,_0x114314);}(function(_0x339306,_0x2561f2){const _0x476929=_0x2330,_0x2c6fd5=_0x339306();while(!![]){try{const _0x171653=parseInt(_0x476929(0x377))/0x1+-parseInt(_0x476929(0x397))/0x2+parseInt(_0x476929(0x25e))/0x3+parseInt(_0x476929(0x24a))/0x4*(-parseInt(_0x476929(0x308))/0x5)+parseInt(_0x476929(0x2a6))/0x6+parseInt(_0x476929(0x3eb))/0x7+-parseInt(_0x476929(0x422))/0x8*(-parseInt(_0x476929(0x3ce))/0x9);if(_0x171653===_0x2561f2)break;else _0x2c6fd5['push'](_0x2c6fd5['shift']());}catch(_0x212afa){_0x2c6fd5['push'](_0x2c6fd5['shift']());}}}(_0xd233,0x46765),function(_0x56cc91,_0x1d7697){const _0x20437d=_0x2330;typeof exports==_0x20437d(0x1b0)&&typeof module<'u'?_0x1d7697(exports,require(_0x20437d(0x32d)),require('@univerjs/core'),require(_0x20437d(0x409)),require(_0x20437d(0x321)),require(_0x20437d(0x2c3)),require(_0x20437d(0x333)),require(_0x20437d(0x2ef)),require('@univerjs-pro/collaboration'),require(_0x20437d(0x434)),require(_0x20437d(0x3d6)),require(_0x20437d(0x3a2)),require(_0x20437d(0x336)),require('@univerjs/sheets-ui'),require(_0x20437d(0x2ea)),require(_0x20437d(0x28c)),require(_0x20437d(0x319)),require('react'),require('@univerjs/rpc')):typeof define==_0x20437d(0x380)&&define['amd']?define([_0x20437d(0x365),_0x20437d(0x32d),'@univerjs/core',_0x20437d(0x409),_0x20437d(0x321),_0x20437d(0x2c3),_0x20437d(0x333),_0x20437d(0x2ef),_0x20437d(0x40b),_0x20437d(0x434),_0x20437d(0x3d6),'@univerjs/sheets',_0x20437d(0x336),_0x20437d(0x345),_0x20437d(0x2ea),_0x20437d(0x28c),_0x20437d(0x319),_0x20437d(0x362),'@univerjs/rpc'],_0x1d7697):(_0x56cc91=typeof globalThis<'u'?globalThis:_0x56cc91||self,_0x1d7697(_0x56cc91[_0x20437d(0x2f0)]={},_0x56cc91[_0x20437d(0x1e2)],_0x56cc91['UniverCore'],_0x56cc91[_0x20437d(0x215)],_0x56cc91[_0x20437d(0x351)],_0x56cc91[_0x20437d(0x2bc)],_0x56cc91['UniverDrawing'],_0x56cc91['rxjs'],_0x56cc91[_0x20437d(0x210)],_0x56cc91[_0x20437d(0x3b6)],_0x56cc91[_0x20437d(0x309)],_0x56cc91[_0x20437d(0x3e3)],_0x56cc91[_0x20437d(0x2ef)][_0x20437d(0x2de)],_0x56cc91['UniverSheetsUi'],_0x56cc91[_0x20437d(0x335)],_0x56cc91[_0x20437d(0x32f)],_0x56cc91[_0x20437d(0x3ee)],_0x56cc91[_0x20437d(0x335)],_0x56cc91[_0x20437d(0x361)]));}(this,function(_0x46a004,_0x3c1823,_0x43aff6,_0x359b8a,_0x564362,_0x30015e,_0x1888b1,_0x22b5a0,_0xb9294,_0x4cf538,_0x2ab58f,_0x27c450,_0x2ae022,_0x2fd874,_0x4b9546,_0x4c8790,_0x2cb33e,_0x3f9355,_0x25bb97){'use strict';const _0x9c28c2=_0x2330;var _0x43a25d=Object[_0x9c28c2(0x280)],_0x38d4ee=(_0x32fcc0,_0x368fab,_0x3b49fa)=>_0x368fab in _0x32fcc0?_0x43a25d(_0x32fcc0,_0x368fab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b49fa}):_0x32fcc0[_0x368fab]=_0x3b49fa,_0x433bc1=(_0x1d635a,_0x4f1e0e,_0x1c0034)=>_0x38d4ee(_0x1d635a,typeof _0x4f1e0e!=_0x9c28c2(0x34c)?_0x4f1e0e+'':_0x4f1e0e,_0x1c0034),_0x4dd2ad=Object[_0x9c28c2(0x2fe)],_0x38ffed=(_0x3d44e6,_0x5c53cf,_0x1d1be,_0x5946e8)=>{const _0x832add=_0x9c28c2;for(var _0x2ad2d0=_0x5946e8>0x1?void 0x0:_0x5946e8?_0x4dd2ad(_0x5c53cf,_0x1d1be):_0x5c53cf,_0xc40412=_0x3d44e6[_0x832add(0x27b)]-0x1,_0x5ce373;_0xc40412>=0x0;_0xc40412--)(_0x5ce373=_0x3d44e6[_0xc40412])&&(_0x2ad2d0=_0x5ce373(_0x2ad2d0)||_0x2ad2d0);return _0x2ad2d0;},_0xb65e4=(_0x4ad406,_0x5010d3)=>(_0x6ea19c,_0x5b2cfb)=>_0x5010d3(_0x6ea19c,_0x5b2cfb,_0x4ad406);let _0x19dca4=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x1ec53a,_0x47dfcb){const _0x1f6cb7=_0x9c28c2;super(),this['_docClipboardService']=_0x1ec53a,this[_0x1f6cb7(0x3be)]=_0x47dfcb,this[_0x1f6cb7(0x269)]();}[_0x9c28c2(0x269)](){const _0x27b289=_0x9c28c2,_0x38a9d7=this;this['disposeWithMe'](this[_0x27b289(0x256)]['addClipboardHook']({'onBeforePasteImage':async _0x35bad6=>{const _0x45ff52=_0x27b289,_0x191c7b=await _0x38a9d7['_imageIoService'][_0x45ff52(0x2ad)](_0x35bad6);return _0x191c7b?{'source':_0x191c7b[_0x45ff52(0x2c7)],'imageSourceType':_0x191c7b[_0x45ff52(0x288)]}:null;}}));}};_0x19dca4=_0x38ffed([_0xb65e4(0x0,_0x30015e[_0x9c28c2(0x29c)]),_0xb65e4(0x1,_0x1888b1[_0x9c28c2(0x341)])],_0x19dca4);const _0x2c0d46=['purple.300',_0x9c28c2(0x2af),_0x9c28c2(0x2a4),_0x9c28c2(0x32e),'blue.400',_0x9c28c2(0x3b7)];class _0x52fe0d extends _0x43aff6['Disposable']{constructor(){const _0x4c0db9=_0x9c28c2;super(...arguments),_0x433bc1(this,_0x4c0db9(0x1b2),new Map()),_0x433bc1(this,_0x4c0db9(0x38e),0x0);}[_0x9c28c2(0x1ae)](_0x4db9d0){const _0x1a8ae9=_0x9c28c2;if(this[_0x1a8ae9(0x1b2)][_0x1a8ae9(0x2d3)](_0x4db9d0))return this['_assignedColors']['get'](_0x4db9d0);const _0x39e91c=_0x2c0d46[this[_0x1a8ae9(0x38e)]];return this[_0x1a8ae9(0x38e)]=(this[_0x1a8ae9(0x38e)]+0x1)%_0x2c0d46[_0x1a8ae9(0x27b)],this['_assignedColors']['set'](_0x4db9d0,_0x39e91c),_0x39e91c;}}function _0x5448a7(_0x12305a){const _0x230f37=_0x9c28c2;let _0x2dd3ac='';for(const _0x1597cc of _0x12305a){const {startOffset:_0x41e093,endOffset:_0xc7f461,isActive:_0x3575a6,rangeType:_0x110fa0,segmentId:_0xd74c3d,segmentPage:_0x4b521e}=_0x1597cc;_0x2dd3ac[_0x230f37(0x27b)]&&(_0x2dd3ac+=','),_0x2dd3ac+=_0x41e093+':'+_0xc7f461+':'+(_0x3575a6?'1':'0')+':'+_0x110fa0+':'+_0xd74c3d+':'+_0x4b521e;}return _0x2dd3ac;}function _0x266500(_0x462a91){const _0x53a29c=_0x9c28c2,_0x55745d=_0x462a91['split'](','),_0x5d104d=[];for(const _0xea77b9 of _0x55745d){const [_0xb5842d,_0x48c429,_0x2c489b,_0x326ce3,_0x1f95b8,_0x51b50b]=_0xea77b9[_0x53a29c(0x3ff)](':');_0x5d104d[_0x53a29c(0x329)]({'startOffset':Number(_0xb5842d),'endOffset':Number(_0x48c429),'collapsed':_0xb5842d===_0x48c429,'isActive':_0x2c489b==='1','rangeType':_0x326ce3===_0x43aff6[_0x53a29c(0x25f)][_0x53a29c(0x1fd)]?_0x43aff6[_0x53a29c(0x25f)][_0x53a29c(0x1fd)]:_0x43aff6[_0x53a29c(0x25f)][_0x53a29c(0x42d)],'segmentId':typeof _0x1f95b8==_0x53a29c(0x3c6)?String(_0x1f95b8):'','segmentPage':Number(_0x51b50b!=null?_0x51b50b:-0x1)});}return _0x5d104d[_0x53a29c(0x2ec)](_0x30c15d=>_0x30c15d[_0x53a29c(0x370)])||(_0x5d104d[0x0][_0x53a29c(0x370)]=!0x0),_0x5d104d;}class _0x2a43ee extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(){const _0x495189=_0x9c28c2;super(...arguments),_0x433bc1(this,'_collabCursorState$',new _0x22b5a0['BehaviorSubject'](null)),_0x433bc1(this,'collabCursorState$',this[_0x495189(0x428)][_0x495189(0x301)]());}[_0x9c28c2(0x3b8)](_0x1f0964){const _0x11a335=_0x9c28c2,{unitID:_0x2fddc2,memberID:_0x2b7dc3,textRanges:_0x83ca84}=_0x1f0964,_0x7a1722=_0x5448a7(_0x83ca84);if(_0x7a1722==='')return;const _0x540eed={'unitID':_0x2fddc2,'memberID':_0x2b7dc3,'selection':_0x7a1722};this[_0x11a335(0x428)][_0x11a335(0x254)](_0x540eed);}}var _0x1266a7=Object[_0x9c28c2(0x2fe)],_0x1bbbd0=(_0x36e914,_0x199bf1,_0x5e10e5,_0x58f0b8)=>{for(var _0xb4091c=_0x58f0b8>0x1?void 0x0:_0x58f0b8?_0x1266a7(_0x199bf1,_0x5e10e5):_0x199bf1,_0x2db185=_0x36e914['length']-0x1,_0x3f6a19;_0x2db185>=0x0;_0x2db185--)(_0x3f6a19=_0x36e914[_0x2db185])&&(_0xb4091c=_0x3f6a19(_0xb4091c)||_0xb4091c);return _0xb4091c;},_0x2e6000=(_0x2dc37c,_0x4a008f)=>(_0x7a6d4a,_0x3a8a2e)=>_0x4a008f(_0x7a6d4a,_0x3a8a2e,_0x2dc37c);const _0x5c1269=0x12c,_0x3401ab=0x64;let _0x104926=class extends _0x43aff6['RxDisposable']{constructor(_0x27472d,_0x3a0a25,_0x2704a7,_0x273545,_0x3e7024,_0x5c0849,_0x103949,_0x263d5f,_0x350e22){const _0x1c5fdc=_0x9c28c2;super(),_0x433bc1(this,'_online',!0x1),_0x433bc1(this,_0x1c5fdc(0x269),!0x1),_0x433bc1(this,_0x1c5fdc(0x1d2),new _0x22b5a0['BehaviorSubject'](new Map())),_0x433bc1(this,_0x1c5fdc(0x42f),this[_0x1c5fdc(0x1d2)][_0x1c5fdc(0x301)]()),_0x433bc1(this,_0x1c5fdc(0x410),new _0x22b5a0[(_0x1c5fdc(0x255))]([])),_0x433bc1(this,_0x1c5fdc(0x315),this[_0x1c5fdc(0x410)]['pipe'](_0x22b5a0[_0x1c5fdc(0x21e)](_0x5c1269))),_0x433bc1(this,'_updateLocalCursor',_0x43aff6[_0x1c5fdc(0x3c1)](_0x276fba=>{const _0x2e8f66=_0x1c5fdc,_0x53c1be={'eventID':_0xb9294[_0x2e8f66(0x3f9)][_0x2e8f66(0x2d8)],'data':{'unitID':this[_0x2e8f66(0x23d)],'memberID':this['_session'][_0x2e8f66(0x298)](),'selection':_0x5448a7(_0x276fba)}};this[_0x2e8f66(0x2a1)][_0x2e8f66(0x359)](_0x53c1be,this[_0x2e8f66(0x23d)]);},_0x3401ab)),(this[_0x1c5fdc(0x23d)]=_0x27472d,this['_session']=_0x3a0a25,this[_0x1c5fdc(0x3a0)]=_0x2704a7,this[_0x1c5fdc(0x2d0)]=_0x273545,this['_memberService']=_0x3e7024,this[_0x1c5fdc(0x3a1)]=_0x5c0849,this['_transformService']=_0x103949,this['_univerInstanceService']=_0x263d5f,this[_0x1c5fdc(0x403)]=_0x350e22);}get[_0x9c28c2(0x3bf)](){return this['_cursorInfo$']['getValue']();}get[_0x9c28c2(0x3d4)](){const _0x45fad7=_0x9c28c2;return this[_0x45fad7(0x410)]['getValue']();}['dispose'](){const _0x12007c=_0x9c28c2;super[_0x12007c(0x420)](),this[_0x12007c(0x1d2)][_0x12007c(0x254)](new Map()),this[_0x12007c(0x1d2)][_0x12007c(0x1ca)](),this[_0x12007c(0x410)]['next']([]),this[_0x12007c(0x410)][_0x12007c(0x1ca)]();}[_0x9c28c2(0x1be)](){const _0x40147a=_0x9c28c2;this['_init']||(this[_0x40147a(0x269)]=!0x0,this['_session']['sessionStatus$'][_0x40147a(0x353)](_0x22b5a0[_0x40147a(0x1f4)](this['dispose$']))['subscribe'](_0x29698f=>{const _0x36e27a=_0x40147a;_0x29698f===_0x3c1823[_0x36e27a(0x386)]['ONLINE']?this[_0x36e27a(0x2c2)]():this[_0x36e27a(0x2bb)]();}),this[_0x40147a(0x2a1)][_0x40147a(0x249)][_0x40147a(0x353)](_0x22b5a0[_0x40147a(0x1f4)](this[_0x40147a(0x36b)]))[_0x40147a(0x3aa)](_0x3fe5ff=>{const _0x33f8dd=_0x40147a,_0x484994=_0x3fe5ff[_0x33f8dd(0x35f)];_0x484994===_0xb9294[_0x33f8dd(0x3f9)][_0x33f8dd(0x2d8)]&&this[_0x33f8dd(0x1c1)](_0x3fe5ff),_0x484994===_0xb9294['CollaborationEvent'][_0x33f8dd(0x244)]&&this[_0x33f8dd(0x375)](_0x3fe5ff);}),this[_0x40147a(0x340)](this[_0x40147a(0x403)][_0x40147a(0x230)](_0x5b3b29=>{const _0x4b8ae8=_0x40147a,_0x2481a1=_0x5b3b29[_0x4b8ae8(0x3a3)];_0x2481a1!=null&&this[_0x4b8ae8(0x22e)]&&_0x5b3b29['id']===_0x4cf538['SetTextSelectionsOperation']['id']&&_0x2481a1[_0x4b8ae8(0x357)]===this['unitID']&&_0x2481a1[_0x4b8ae8(0x30a)]===!0x1&&_0x2481a1[_0x4b8ae8(0x3f0)][_0x4b8ae8(0x27b)]>0x0&&this[_0x4b8ae8(0x372)](_0x2481a1['ranges']);})),this['_syncEditingCollabCursorService'][_0x40147a(0x226)][_0x40147a(0x353)](_0x22b5a0[_0x40147a(0x1f4)](this[_0x40147a(0x36b)]))['subscribe'](_0x2d56f4=>{const _0x19af99=_0x40147a;if((_0x2d56f4==null?void 0x0:_0x2d56f4[_0x19af99(0x23d)])!==this['unitID'])return;const _0x59cd88={'eventID':_0xb9294[_0x19af99(0x3f9)]['UPDATE_CURSOR'],'data':_0x2d56f4};this[_0x19af99(0x1c1)](_0x59cd88);}),this[_0x40147a(0x340)](this[_0x40147a(0x403)][_0x40147a(0x230)](_0x3c728d=>{const _0x1644ef=_0x40147a;if(_0x3c728d[_0x1644ef(0x3a3)]==null)return;const _0x539ad4=_0x3c728d[_0x1644ef(0x3a3)];if(_0x3c728d['id']!==_0x4cf538['RichTextEditingMutation']['id']||_0x539ad4[_0x1644ef(0x357)]!==this[_0x1644ef(0x23d)])return;const _0x53d9c4={'id':_0x1644ef(0x2e1),'params':_0x539ad4},_0x2368a1=this['cursorInfo'];for(const [_0x3d5fe2,_0x4216a4]of _0x2368a1){const _0x248752={'id':_0x1644ef(0x2e1),'params':{'unitId':this[_0x1644ef(0x23d)],'actions':null,'textRanges':_0x4216a4['ranges']}},_0x361a10=this[_0x1644ef(0x2ca)][_0x1644ef(0x337)](_0x53d9c4,_0x248752,!0x1);if(_0xb9294['isTransformMutationFailure'](_0x361a10))throw _0x361a10[_0x1644ef(0x3a5)];_0x2368a1[_0x1644ef(0x289)](_0x3d5fe2,{..._0x4216a4,'ranges':_0x361a10[_0x1644ef(0x398)][_0x1644ef(0x3a3)][_0x1644ef(0x1dd)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x2368a1);});})));}['_onCursorUpdate'](_0x5bfdbc){const _0x4c5e6f=_0x9c28c2;var _0x4dfe33,_0x3389fa;const {memberID:_0x1ed18f,selection:_0x1f5ba4}=_0x5bfdbc[_0x4c5e6f(0x2be)],_0x52b0c1=_0x266500(_0x1f5ba4),_0x2dbc0a=(_0x3389fa=(_0x4dfe33=this[_0x4c5e6f(0x3fa)]['getMember'](this['unitID'],_0x1ed18f))==null?void 0x0:_0x4dfe33[_0x4c5e6f(0x1d8)])!=null?_0x3389fa:_0x4c5e6f(0x332),_0x2a643f={'color':this['_colorAssignService'][_0x4c5e6f(0x1ae)](_0x1ed18f),'name':_0x2dbc0a,'ranges':_0x52b0c1},_0x424e5c=this['cursorInfo'];_0x424e5c[_0x4c5e6f(0x289)](_0x1ed18f,_0x2a643f),this[_0x4c5e6f(0x1d2)][_0x4c5e6f(0x254)](_0x424e5c);}[_0x9c28c2(0x375)](_0x3bca09){const _0x5a8836=_0x9c28c2,{memberID:_0xa5f026}=_0x3bca09['data'],_0x523a86=this[_0x5a8836(0x3bf)];_0x523a86[_0x5a8836(0x1ff)](_0xa5f026),this[_0x5a8836(0x1d2)][_0x5a8836(0x254)](_0x523a86);}['_toggleOnline'](){const _0x38d074=_0x9c28c2;var _0x3adcbb;if(this[_0x38d074(0x22e)]=!0x0,((_0x3adcbb=this[_0x38d074(0x2b0)][_0x38d074(0x1d1)]())==null?void 0x0:_0x3adcbb[_0x38d074(0x318)]())!==this['unitID'])return;const _0x50250e=this['_injector'][_0x38d074(0x326)](_0x4cf538[_0x38d074(0x2bf)])['getDocRanges']();Array[_0x38d074(0x443)](_0x50250e)&&_0x50250e[_0x38d074(0x27b)]>0x0&&this['_updateLocalCursor'](_0x50250e);}[_0x9c28c2(0x2bb)](){const _0xaf852=_0x9c28c2;this[_0xaf852(0x22e)]=!0x1;}};_0x104926=_0x1bbbd0([_0x2e6000(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x2e6000(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x52fe0d)),_0x2e6000(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x228)])),_0x2e6000(0x5,_0x43aff6['Inject'](_0x2a43ee)),_0x2e6000(0x6,_0xb9294[_0x9c28c2(0x3b5)]),_0x2e6000(0x7,_0x43aff6[_0x9c28c2(0x3bb)]),_0x2e6000(0x8,_0x43aff6[_0x9c28c2(0x39e)])],_0x104926);var _0x2b3527=Object[_0x9c28c2(0x2fe)],_0x2081f1=(_0x4496ce,_0x22235e,_0x55fff0,_0xfe6aa3)=>{const _0x414aaf=_0x9c28c2;for(var _0x24ff78=_0xfe6aa3>0x1?void 0x0:_0xfe6aa3?_0x2b3527(_0x22235e,_0x55fff0):_0x22235e,_0x394f00=_0x4496ce[_0x414aaf(0x27b)]-0x1,_0x3bf537;_0x394f00>=0x0;_0x394f00--)(_0x3bf537=_0x4496ce[_0x394f00])&&(_0x24ff78=_0x3bf537(_0x24ff78)||_0x24ff78);return _0x24ff78;},_0x3290da=(_0x58fdeb,_0x120574)=>(_0x344322,_0x3b5802)=>_0x120574(_0x344322,_0x3b5802,_0x58fdeb);const _0x2a77a4=0x12c,_0x3f47c9=0x64,_0x290f90=()=>{let _0x1e2a01=[],_0x16cd39=!0x1;return _0x1e43b4=>{const _0x5760ab=_0x2330;_0x1e2a01[_0x5760ab(0x329)](_0x1e43b4),_0x16cd39||(_0x16cd39=!0x0,setTimeout(()=>{const _0xcabc19=_0x5760ab;_0x1e2a01[_0xcabc19(0x312)](_0x227e71=>_0x227e71()),_0x1e2a01=[],_0x16cd39=!0x1;}));};};let _0x3a33d4=class extends _0x43aff6['RxDisposable']{constructor(_0x555569,_0x11d599,_0x14f601,_0x2f5277,_0x34cfc5,_0x37bf5f,_0x1b96d8,_0x362c08){const _0xcae64d=_0x9c28c2;super(),_0x433bc1(this,_0xcae64d(0x22e),!0x1),_0x433bc1(this,'_init',!0x1),_0x433bc1(this,'_cursorInfo$',new _0x22b5a0['BehaviorSubject'](new Map())),_0x433bc1(this,_0xcae64d(0x42f),this[_0xcae64d(0x1d2)][_0xcae64d(0x301)]()),_0x433bc1(this,_0xcae64d(0x410),new _0x22b5a0['BehaviorSubject']([])),_0x433bc1(this,_0xcae64d(0x315),this[_0xcae64d(0x410)][_0xcae64d(0x353)](_0x22b5a0[_0xcae64d(0x21e)](_0x2a77a4))),_0x433bc1(this,_0xcae64d(0x372),_0x43aff6[_0xcae64d(0x3c1)]((_0x9e1637,_0x24207b)=>{const _0x55250b=_0xcae64d,_0x416a04={'eventID':_0xb9294['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x55250b(0x23d)],'memberID':this[_0x55250b(0x2a1)][_0x55250b(0x298)](),'selection':_0x2ab58f[_0x55250b(0x381)](_0x9e1637,_0x24207b[_0x55250b(0x294)])}};this[_0x55250b(0x2a1)][_0x55250b(0x359)](_0x416a04,this[_0x55250b(0x23d)]);},_0x3f47c9)),(this[_0xcae64d(0x23d)]=_0x555569,this[_0xcae64d(0x2a1)]=_0x11d599,this[_0xcae64d(0x3a0)]=_0x14f601,this[_0xcae64d(0x2d0)]=_0x2f5277,this[_0xcae64d(0x3fa)]=_0x34cfc5,this[_0xcae64d(0x2b0)]=_0x37bf5f,this[_0xcae64d(0x403)]=_0x1b96d8,this[_0xcae64d(0x3d1)]=_0x362c08);}get['cursorInfo'](){const _0x292677=_0x9c28c2;return this[_0x292677(0x1d2)][_0x292677(0x2aa)]();}get['roomMembers'](){const _0xcd2f7a=_0x9c28c2;return this[_0xcd2f7a(0x410)]['getValue']();}[_0x9c28c2(0x420)](){const _0x198cd3=_0x9c28c2;super[_0x198cd3(0x420)](),this['_cursorInfo$'][_0x198cd3(0x254)](new Map()),this[_0x198cd3(0x1d2)][_0x198cd3(0x1ca)](),this[_0x198cd3(0x410)][_0x198cd3(0x254)]([]),this[_0x198cd3(0x410)][_0x198cd3(0x1ca)]();}[_0x9c28c2(0x1be)](){const _0x5db639=_0x9c28c2;this[_0x5db639(0x269)]||(this[_0x5db639(0x269)]=!0x0,this[_0x5db639(0x2a1)][_0x5db639(0x3d3)][_0x5db639(0x353)](_0x22b5a0[_0x5db639(0x1f4)](this[_0x5db639(0x36b)]))[_0x5db639(0x3aa)](_0x3f3196=>{const _0x3660de=_0x5db639;_0x3f3196===_0x3c1823[_0x3660de(0x386)]['ONLINE']?this['_toggleOnline']():this[_0x3660de(0x2bb)]();}),this[_0x5db639(0x2a1)][_0x5db639(0x249)][_0x5db639(0x353)](_0x22b5a0[_0x5db639(0x1f4)](this['dispose$']))['subscribe'](_0x166773=>{const _0x134c20=_0x5db639,_0x592b76=_0x166773['eventID'];_0x592b76===_0xb9294[_0x134c20(0x3f9)][_0x134c20(0x2d8)]&&this[_0x134c20(0x1c1)](_0x166773),_0x592b76===_0xb9294['CollaborationEvent']['USERS_LEAVE']&&this[_0x134c20(0x375)](_0x166773);}),this[_0x5db639(0x2f3)](),this[_0x5db639(0x340)](this['_commandService']['onCommandExecuted'](_0x409212=>{const _0x50b6d3=_0x5db639;if(this[_0x50b6d3(0x22e)]&&_0x409212['id']===_0x27c450[_0x50b6d3(0x3b9)]['id']&&_0x409212['params'][_0x50b6d3(0x357)]===this[_0x50b6d3(0x23d)]){const _0x3212a2=_0x409212[_0x50b6d3(0x3a3)];this[_0x50b6d3(0x372)](_0x3212a2[_0x50b6d3(0x41d)],_0x3212a2[_0x50b6d3(0x28a)][0x0]);}})));}[_0x9c28c2(0x1c1)](_0x165705){const _0x4bb6a9=_0x9c28c2;var _0x4fb0a6,_0x1d729b;const {memberID:_0x2d311e,selection:_0x5a3751}=_0x165705[_0x4bb6a9(0x2be)],{sheetName:_0xd0e5b3,range:_0x6b40dc}=_0x2ab58f[_0x4bb6a9(0x275)](_0x5a3751),_0x154e41={'name':(_0x1d729b=(_0x4fb0a6=this['_memberService'][_0x4bb6a9(0x285)](this[_0x4bb6a9(0x23d)],_0x2d311e))==null?void 0x0:_0x4fb0a6[_0x4bb6a9(0x1d8)])!=null?_0x1d729b:_0x4bb6a9(0x332),'range':this[_0x4bb6a9(0x2d7)](_0xd0e5b3,_0x6b40dc),'sheetID':_0xd0e5b3,'color':this[_0x4bb6a9(0x2d0)]['assignAColorForMemberID'](_0x2d311e),'selection':_0x5a3751},_0x559a3d=this[_0x4bb6a9(0x3bf)];_0x559a3d[_0x4bb6a9(0x289)](_0x2d311e,_0x154e41),this[_0x4bb6a9(0x1d2)]['next'](_0x559a3d);}[_0x9c28c2(0x375)](_0x3c07ca){const _0x4d694b=_0x9c28c2,{memberID:_0xac8133}=_0x3c07ca[_0x4d694b(0x2be)],_0x3a906a=this[_0x4d694b(0x3bf)];_0x3a906a[_0x4d694b(0x1ff)](_0xac8133),this['_cursorInfo$'][_0x4d694b(0x254)](_0x3a906a);}[_0x9c28c2(0x2d7)](_0x4c244d,_0x156cbb){const _0x39edec=_0x9c28c2;var _0x2699cf,_0x3dfaae;const _0x2f90f5=(_0x3dfaae=(_0x2699cf=this[_0x39edec(0x2b0)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x2699cf['getSheetBySheetId'](_0x4c244d))==null?void 0x0:_0x3dfaae['getMergeData']();return(_0x2f90f5==null?void 0x0:_0x2f90f5[_0x39edec(0x257)](_0x17123d=>_0x43aff6[_0x39edec(0x2b7)][_0x39edec(0x3e0)](_0x17123d,_0x156cbb)))||_0x156cbb;}[_0x9c28c2(0x2f3)](){const _0x5ec0c6=_0x9c28c2,_0x1ad150=new _0x43aff6['DisposableCollection'](),_0x1b93eb=_0x290f90(),_0x175c80=()=>{const _0x48cea6=_0x2330;_0x1ad150['dispose']();const _0xd226a2=(_0x21d1ce,_0x462cb0,_0x46ba3e,_0x49ef01)=>{const _0x495508=_0x2330;let _0x247953=[];switch(_0x21d1ce['id']){case _0x27c450[_0x495508(0x23a)][_0x495508(0x3bc)]:{_0x247953=_0x27c450[_0x495508(0x2b9)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x43f)]:{_0x247953=_0x27c450[_0x495508(0x32c)](_0x21d1ce,_0x49ef01);break;}case _0x27c450['EffectRefRangId'][_0x495508(0x3ca)]:{_0x247953=_0x27c450['handleInsertCol'](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x411)]:{_0x247953=_0x27c450['handleInsertRangeMoveDown'](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x297)]:{_0x247953=_0x27c450['handleInsertRangeMoveRight'](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x3e2)]:{_0x247953=_0x27c450[_0x495508(0x33b)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x1cf)]:{_0x247953=_0x27c450[_0x495508(0x342)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x2d5)]:{_0x247953=_0x27c450[_0x495508(0x3c9)](_0x21d1ce,_0x49ef01);break;}case _0x27c450[_0x495508(0x23a)][_0x495508(0x2e8)]:{_0x247953=_0x27c450['handleIRemoveRow'](_0x21d1ce,_0x49ef01);break;}}const _0x159da2=_0x27c450['runRefRangeMutations'](_0x247953,_0x49ef01),_0x24977a=this['cursorInfo'][_0x495508(0x326)](_0x462cb0);if(_0x24977a&&_0x159da2){const _0x133cc3={..._0x24977a,'range':_0x159da2};this['cursorInfo'][_0x495508(0x289)](_0x462cb0,_0x133cc3),_0x1b93eb(()=>{const _0x2522f9=_0x495508,_0x21d3f2=this[_0x2522f9(0x3d1)][_0x2522f9(0x1a8)](_0x159da2,_0x15c1b4=>(_0x21d3f2['dispose'](),_0xd226a2(_0x15c1b4,_0x462cb0,_0x46ba3e,_0x159da2)));_0x1ad150[_0x2522f9(0x2cc)](_0x21d3f2);});}return{'redos':[],'undos':[]};};this[_0x48cea6(0x3bf)][_0x48cea6(0x312)]((_0x5ca54d,_0x1d58cc)=>{const _0x30c673=_0x48cea6,{range:_0x37c7e0,sheetID:_0x5f0823}=_0x5ca54d,_0x2b979f=this['_refRangeService'][_0x30c673(0x1a8)](_0x37c7e0,_0x2a553e=>(_0x2b979f[_0x30c673(0x420)](),_0xd226a2(_0x2a553e,_0x1d58cc,_0x5f0823,_0x37c7e0)));_0x1ad150[_0x30c673(0x2cc)](_0x2b979f);});};this['disposeWithMe'](_0x43aff6['toDisposable'](this['_cursorInfo$'][_0x5ec0c6(0x3aa)](()=>{_0x175c80();})));}[_0x9c28c2(0x2c2)](){const _0x2d0aa7=_0x9c28c2;var _0x2c10d0,_0xccd7b4;if(this[_0x2d0aa7(0x22e)]=!0x0,((_0x2c10d0=this[_0x2d0aa7(0x2b0)]['getFocusedUnit']())==null?void 0x0:_0x2c10d0[_0x2d0aa7(0x318)]())!==this[_0x2d0aa7(0x23d)])return;const _0x4c082e=(_0xccd7b4=this[_0x2d0aa7(0x3a0)][_0x2d0aa7(0x326)](_0x27c450['SheetsSelectionsService'])[_0x2d0aa7(0x252)]())==null?void 0x0:_0xccd7b4[0x0],_0x21d387=this[_0x2d0aa7(0x2b0)][_0x2d0aa7(0x387)](_0x43aff6[_0x2d0aa7(0x1fb)][_0x2d0aa7(0x1ab)])[_0x2d0aa7(0x354)]();_0x4c082e&&_0x21d387&&this[_0x2d0aa7(0x372)](_0x21d387[_0x2d0aa7(0x385)](),_0x4c082e);}[_0x9c28c2(0x2bb)](){const _0x519a53=_0x9c28c2;this[_0x519a53(0x22e)]=!0x1;}};_0x3a33d4=_0x2081f1([_0x3290da(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x3290da(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x52fe0d)),_0x3290da(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823['MemberService'])),_0x3290da(0x5,_0x43aff6[_0x9c28c2(0x3bb)]),_0x3290da(0x6,_0x43aff6[_0x9c28c2(0x39e)]),_0x3290da(0x7,_0x43aff6['Inject'](_0x27c450[_0x9c28c2(0x40a)]))],_0x3a33d4);var _0x2029d0=Object[_0x9c28c2(0x2fe)],_0xc52433=(_0x1dd16,_0x20b59f,_0x284d42,_0x1eb1b1)=>{const _0x310751=_0x9c28c2;for(var _0x252313=_0x1eb1b1>0x1?void 0x0:_0x1eb1b1?_0x2029d0(_0x20b59f,_0x284d42):_0x20b59f,_0x1230cf=_0x1dd16[_0x310751(0x27b)]-0x1,_0x441c4f;_0x1230cf>=0x0;_0x1230cf--)(_0x441c4f=_0x1dd16[_0x1230cf])&&(_0x252313=_0x441c4f(_0x252313)||_0x252313);return _0x252313;},_0x662069=(_0x425cea,_0x3fe2a9)=>(_0xc1f544,_0x451f7e)=>_0x3fe2a9(_0xc1f544,_0x451f7e,_0x425cea);let _0x5964c5=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x25ae79,_0x253742,_0x4d9613){const _0x40518e=_0x9c28c2;super(),_0x433bc1(this,_0x40518e(0x402),new Map()),_0x433bc1(this,_0x40518e(0x1cc),new _0x22b5a0['Subject']()),(this[_0x40518e(0x2b0)]=_0x25ae79,this[_0x40518e(0x3a0)]=_0x253742,this['_collabSessionService']=_0x4d9613,this[_0x40518e(0x269)]());}[_0x9c28c2(0x420)](){const _0x1466d4=_0x9c28c2;super['dispose'](),this[_0x1466d4(0x1cc)][_0x1466d4(0x1ca)](),this[_0x1466d4(0x402)][_0x1466d4(0x312)](_0x41be7e=>_0x41be7e[_0x1466d4(0x420)]());}['getCollabCursors$'](_0x47bfcd){const _0x13e510=_0x9c28c2;return this['_entities']['has'](_0x47bfcd)?this[_0x13e510(0x402)][_0x13e510(0x326)](_0x47bfcd)['cursorInfo$']:this[_0x13e510(0x1cc)][_0x13e510(0x353)](_0x22b5a0['filter'](_0xda124=>_0xda124[_0x13e510(0x23d)]===_0x47bfcd),_0x22b5a0[_0x13e510(0x1b4)](_0x308b8b=>_0x308b8b[_0x13e510(0x42f)]));}['_init'](){const _0x44395a=_0x9c28c2;this['_univerInstanceService'][_0x44395a(0x429)](_0x43aff6[_0x44395a(0x1fb)][_0x44395a(0x1ab)])[_0x44395a(0x353)](_0x22b5a0[_0x44395a(0x1f4)](this[_0x44395a(0x36b)]))[_0x44395a(0x3aa)](async _0x3fec32=>{const _0x5264cc=_0x44395a,_0x4133dc=_0x3fec32['getUnitId'](),_0x431328=await this['_startSheetCollabCursor'](_0x4133dc);this[_0x5264cc(0x1cc)]['next'](_0x431328),this[_0x5264cc(0x402)]['set'](_0x4133dc,_0x431328);}),this[_0x44395a(0x2b0)]['getTypeOfUnitAdded$'](_0x43aff6['UniverInstanceType'][_0x44395a(0x1e1)])[_0x44395a(0x353)](_0x22b5a0['takeUntil'](this['dispose$']))[_0x44395a(0x353)](_0x22b5a0['filter'](_0x28d4a2=>!_0x28d4a2['getUnitId']()[_0x44395a(0x264)]('__')))[_0x44395a(0x3aa)](async _0x209b1a=>{const _0x89c459=_0x44395a,_0x1f10a3=_0x209b1a[_0x89c459(0x318)](),_0x518659=await this[_0x89c459(0x358)](_0x1f10a3);this['_entityInit$'][_0x89c459(0x254)](_0x518659),this['_entities'][_0x89c459(0x289)](_0x1f10a3,_0x518659);}),_0x22b5a0['merge'](this[_0x44395a(0x2b0)][_0x44395a(0x209)](_0x43aff6['UniverInstanceType']['UNIVER_DOC']),this[_0x44395a(0x2b0)][_0x44395a(0x209)](_0x43aff6[_0x44395a(0x1fb)][_0x44395a(0x1ab)]))[_0x44395a(0x353)](_0x22b5a0[_0x44395a(0x1f4)](this[_0x44395a(0x36b)]))[_0x44395a(0x3aa)](_0x117f37=>{const _0x5e22f3=_0x44395a,_0x21c4d0=_0x117f37['getUnitId'](),_0x1bd226=this[_0x5e22f3(0x402)][_0x5e22f3(0x326)](_0x21c4d0);_0x1bd226&&(_0x1bd226[_0x5e22f3(0x420)](),this['_entities'][_0x5e22f3(0x1ff)](_0x21c4d0));});}async[_0x9c28c2(0x2d6)](_0x2a5584){const _0x42ba92=_0x9c28c2,_0x41f64f=await this[_0x42ba92(0x24b)][_0x42ba92(0x1c6)](_0x2a5584),_0x41f0a7=this[_0x42ba92(0x3a0)][_0x42ba92(0x231)](_0x3a33d4,_0x2a5584,_0x41f64f);return _0x41f0a7['init'](),_0x41f0a7;}async[_0x9c28c2(0x358)](_0x49ce04){const _0x5af98c=_0x9c28c2,_0x4121d5=await this[_0x5af98c(0x24b)][_0x5af98c(0x1c6)](_0x49ce04),_0x10bbd3=this[_0x5af98c(0x3a0)][_0x5af98c(0x231)](_0x104926,_0x49ce04,_0x4121d5);return _0x10bbd3[_0x5af98c(0x1be)](),_0x10bbd3;}};_0x5964c5=_0xc52433([_0x662069(0x0,_0x43aff6[_0x9c28c2(0x3bb)]),_0x662069(0x1,_0x43aff6['Inject'](_0x43aff6[_0x9c28c2(0x35c)])),_0x662069(0x2,_0x43aff6['Inject'](_0x3c1823[_0x9c28c2(0x242)]))],_0x5964c5);const _0x3d30e4=0x14,_0x473791=0xc8,_0x31cd92=0x4,_0x2ab529=0x5;function _0x20adb9(_0x116cce,_0x47da18){const _0x1bc2b0=_0x9c28c2;let {radius:_0x1a5098,width:_0xcfbb2,height:_0x277b25}=_0x47da18;_0x1a5098=_0x1a5098!=null?_0x1a5098:0x0,_0xcfbb2=_0xcfbb2!=null?_0xcfbb2:0x1e,_0x277b25=_0x277b25!=null?_0x277b25:0x1e;let _0x2ce214=0x0,_0x50c454=0x0,_0x5818ff=0x0;_0x2ce214=_0x50c454=_0x5818ff=Math[_0x1bc2b0(0x343)](_0x1a5098,_0xcfbb2/0x2,_0x277b25/0x2),_0x116cce[_0x1bc2b0(0x406)](),_0x116cce['moveTo'](_0x2ce214,0x0),_0x116cce[_0x1bc2b0(0x323)](_0xcfbb2-_0x50c454,0x0),_0x116cce[_0x1bc2b0(0x2fa)](_0xcfbb2-_0x50c454,_0x50c454,_0x50c454,Math['PI']*0x3/0x2,0x0,!0x1),_0x116cce[_0x1bc2b0(0x323)](_0xcfbb2,_0x277b25-_0x5818ff),_0x116cce[_0x1bc2b0(0x2fa)](_0xcfbb2-_0x5818ff,_0x277b25-_0x5818ff,_0x5818ff,0x0,Math['PI']/0x2,!0x1),_0x116cce['lineTo'](0x0,_0x277b25),_0x116cce['lineTo'](0x0,_0x2ce214),_0x116cce['arc'](_0x2ce214,_0x2ce214,_0x2ce214,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x116cce[_0x1bc2b0(0x2dc)](),_0x47da18[_0x1bc2b0(0x27d)]&&(_0x116cce['save'](),_0x116cce[_0x1bc2b0(0x350)]=_0x47da18[_0x1bc2b0(0x27d)],_0x47da18['fillRule']===_0x1bc2b0(0x2b4)?_0x116cce[_0x1bc2b0(0x27d)](_0x1bc2b0(0x2b4)):_0x116cce[_0x1bc2b0(0x27d)](),_0x116cce[_0x1bc2b0(0x1d9)]());}class _0x2bf5cc extends _0x359b8a[_0x9c28c2(0x384)]{constructor(_0x571552,_0x1f71c9){const _0x2e04a4=_0x9c28c2;super(_0x571552,_0x1f71c9),_0x433bc1(this,_0x2e04a4(0x36c)),_0x433bc1(this,_0x2e04a4(0x39c)),(this[_0x2e04a4(0x36c)]=_0x1f71c9==null?void 0x0:_0x1f71c9[_0x2e04a4(0x36c)],this[_0x2e04a4(0x39c)]=_0x1f71c9==null?void 0x0:_0x1f71c9[_0x2e04a4(0x39c)]);}static[_0x9c28c2(0x383)](_0x326f5b,_0x2d9798){const _0x57de69=_0x9c28c2,{text:_0x29556f,color:_0x241cea}=_0x2d9798;_0x326f5b['save'](),_0x326f5b[_0x57de69(0x2fb)]=_0x57de69(0x415);const _0x5a55f2=_0x326f5b[_0x57de69(0x39a)](_0x29556f)[_0x57de69(0x3f5)],_0xf484bd=Math['min'](_0x5a55f2+0x2*_0x31cd92,_0x473791);_0x20adb9(_0x326f5b,{'height':_0x3d30e4,'radius':0x4,'width':_0xf484bd,'fill':_0x241cea}),_0x326f5b[_0x57de69(0x350)]=_0x57de69(0x2c4);const _0x4fbaca=_0x31cd92,_0x127a11=_0x3d30e4-_0x2ab529,_0x10291d=_0x473791-0x2*_0x31cd92;if(_0x5a55f2>_0x10291d){let _0x3e1c08='',_0x5867c2=0x0;for(const _0x19feb6 of _0x29556f){const _0xa88d65=_0x326f5b[_0x57de69(0x39a)](_0x19feb6)[_0x57de69(0x3f5)];if(_0x5867c2+_0xa88d65<=_0x10291d-_0x326f5b['measureText'](_0x57de69(0x216))[_0x57de69(0x3f5)])_0x3e1c08+=_0x19feb6,_0x5867c2+=_0xa88d65;else{_0x3e1c08+=_0x57de69(0x216);break;}}_0x326f5b[_0x57de69(0x33e)](_0x3e1c08,_0x4fbaca,_0x127a11);}else _0x326f5b[_0x57de69(0x33e)](_0x29556f,_0x4fbaca,_0x127a11);_0x326f5b[_0x57de69(0x1d9)]();}[_0x9c28c2(0x3c0)](_0x41c00f){const _0x40b174=_0x9c28c2;_0x2bf5cc[_0x40b174(0x383)](_0x41c00f,this);}}const _0x1c747b=_0x9c28c2(0x438),_0x25d3e7=_0x9c28c2(0x2da),_0x1f221e=_0x9c28c2(0x24f),_0x269334=0x6,_0x48dd86=1.5,_0xbfb9d2=0x4,_0x5e8b7f=1.5,_0x583996='rgba(255,\x20255,\x20255,\x200.01)';class _0x36c1c7{constructor(_0x264af2,_0x42b7a0,_0x2979e1,_0x273400){const _0x4d8a51=_0x9c28c2;_0x433bc1(this,_0x4d8a51(0x36d),[]),_0x433bc1(this,'_anchor',null),_0x433bc1(this,_0x4d8a51(0x217),null),_0x433bc1(this,_0x4d8a51(0x39b),null),_0x433bc1(this,_0x4d8a51(0x307),null),_0x433bc1(this,_0x4d8a51(0x34a),null),(this[_0x4d8a51(0x1f1)]=_0x264af2,this[_0x4d8a51(0x1c0)]=_0x42b7a0,this[_0x4d8a51(0x2d4)]=_0x2979e1,this[_0x4d8a51(0x25c)]=_0x273400,this[_0x4d8a51(0x3db)]());}set[_0x9c28c2(0x26f)](_0x401a20){const _0x8d84b4=_0x9c28c2;_0x401a20?(this[_0x8d84b4(0x39b)]&&this['_anchorDot'][_0x8d84b4(0x218)](),this[_0x8d84b4(0x217)]&&this[_0x8d84b4(0x217)][_0x8d84b4(0x324)]()):(this[_0x8d84b4(0x39b)]&&this[_0x8d84b4(0x39b)][_0x8d84b4(0x324)](),this[_0x8d84b4(0x217)]&&this[_0x8d84b4(0x217)][_0x8d84b4(0x218)]());}['dispose'](){const _0x396a79=_0x9c28c2;for(const _0x3d9679 of this[_0x396a79(0x36d)])_0x3d9679['dispose']();this[_0x396a79(0x217)]&&this[_0x396a79(0x217)]['dispose'](),this[_0x396a79(0x39b)]&&this[_0x396a79(0x39b)]['dispose'](),this[_0x396a79(0x3e7)]&&this[_0x396a79(0x3e7)][_0x396a79(0x420)](),this['_eventUnsubscribe']&&this[_0x396a79(0x34a)]();}['_render'](){const _0xa445=_0x9c28c2;var _0x352244;const {_docSkeleton:_0x2ada0b,_document:_0x34a030}=this,{color:_0x1f643c,name:_0x1250b2,ranges:_0x1229a0}=this[_0xa445(0x1f1)],_0x50221f=_0x34a030[_0xa445(0x1b8)](),{docsLeft:_0x1437f1,docsTop:_0x2ff460}=_0x50221f,_0x3369c6=new _0x30015e[(_0xa445(0x33f))](_0x50221f,_0x2ada0b);for(const {startOffset:_0x54aec5,endOffset:_0xd16b58,rangeType:_0x39308c,segmentId:_0x1a2e8e,segmentPage:_0x3e0ae8,collapsed:_0xe5692c,isActive:_0x434dba}of _0x1229a0){const _0x219f89=_0x2ada0b[_0xa445(0x376)](_0x54aec5,!0x0,_0x1a2e8e,_0x3e0ae8);let _0x1a51ac=_0x2ada0b['findNodePositionByCharIndex'](_0xd16b58,!0x0,_0x1a2e8e,_0x3e0ae8);if(_0x1a51ac==null&&(_0x1a51ac=_0x2ada0b[_0xa445(0x376)](_0xd16b58-0x1,!0x1,_0x1a2e8e,_0x3e0ae8)),_0x434dba){const {contentBoxPointGroup:_0x2c2565}=_0x3369c6[_0xa445(0x271)](_0x1a51ac,_0x1a51ac);if(_0x2c2565[_0xa445(0x27b)]===0x0)continue;this['_drawAnchor'](_0x1f643c,_0x2c2565,_0x1437f1,_0x2ff460,_0x1250b2),this[_0xa445(0x34a)]=this[_0xa445(0x2e5)]();}if(_0x219f89&&_0x1a51ac){if(_0x39308c===_0x43aff6['DOC_RANGE_TYPE'][_0xa445(0x42d)]){const _0x263d1b=new _0x30015e[(_0xa445(0x20e))](_0x50221f,_0x2ada0b),{pointGroup:_0x577776}=(_0x352244=_0x263d1b[_0xa445(0x271)](_0x219f89,_0x1a51ac))!=null?_0x352244:{};if(_0x577776==null||_0x577776[_0xa445(0x27b)]===0x0)continue;this[_0xa445(0x23e)](_0x1f643c,_0x577776,_0x1437f1,_0x2ff460);}else{if(!_0xe5692c){const {borderBoxPointGroup:_0x305afd}=_0x3369c6[_0xa445(0x271)](_0x219f89,_0x1a51ac);if(_0x305afd[_0xa445(0x27b)]===0x0)continue;this[_0xa445(0x31f)](_0x1f643c,_0x305afd,_0x1437f1,_0x2ff460);}}}}}[_0x9c28c2(0x389)](_0x4e1036,_0x55d38c,_0x21aa2b,_0x4a0483,_0x1efd0e){const _0x72e13a=_0x9c28c2,_0x399156=this[_0x72e13a(0x424)](_0x55d38c),{left:_0x494002,top:_0x218bc2,height:_0x40f7a0}=_0x399156,_0x7be40f=this[_0x72e13a(0x2df)](),_0x197f62=_0x5e8b7f/_0x7be40f,_0xb55014=new _0x359b8a[(_0x72e13a(0x1ed))](_0x1c747b+_0x43aff6['Tools'][_0x72e13a(0x2b8)](_0x269334),{'left':_0x494002+_0x21aa2b-_0x197f62,'top':_0x218bc2+_0x4a0483,'height':_0x40f7a0,'width':_0x48dd86,'fill':_0x4e1036||_0x359b8a[_0x72e13a(0x3ed)](_0x43aff6[_0x72e13a(0x352)][_0x72e13a(0x39f)],0x0),'strokeWidth':_0x197f62,'stroke':_0x583996,'evented':!0x0});this[_0x72e13a(0x3e7)]=_0xb55014,this[_0x72e13a(0x1c0)][_0x72e13a(0x284)](_0xb55014,_0x30015e[_0x72e13a(0x2cd)]);const _0x37a832=new _0x359b8a[(_0x72e13a(0x1ed))](_0x1c747b+_0x43aff6[_0x72e13a(0x219)][_0x72e13a(0x2b8)](_0x269334),{'left':_0x494002+_0x21aa2b-_0x197f62,'top':_0x218bc2+_0x4a0483-_0xbfb9d2/0x2,'height':_0xbfb9d2,'width':_0xbfb9d2,'fill':_0x4e1036||_0x359b8a[_0x72e13a(0x3ed)](_0x43aff6[_0x72e13a(0x352)][_0x72e13a(0x39f)],0x0),'strokeWidth':0x0,'stroke':_0x4e1036||_0x359b8a[_0x72e13a(0x3ed)](_0x43aff6['COLORS']['black'],0x0),'evented':!0x1});this[_0x72e13a(0x39b)]=_0x37a832,this[_0x72e13a(0x1c0)][_0x72e13a(0x284)](_0x37a832,_0x30015e['TEXT_RANGE_LAYER_INDEX']);const _0x67fe43=new _0x2bf5cc(_0x1c747b+_0x43aff6['Tools'][_0x72e13a(0x2b8)](_0x269334),{'left':_0x494002+_0x21aa2b-_0x197f62,'top':_0x218bc2+_0x4a0483-_0x3d30e4,'text':_0x1efd0e,'color':_0x4e1036});this[_0x72e13a(0x217)]=_0x67fe43,this[_0x72e13a(0x1c0)][_0x72e13a(0x284)](_0x67fe43,_0x30015e[_0x72e13a(0x2cd)]),this['_hover']=!0x1;}[_0x9c28c2(0x2e5)](){const _0x5b6c8c=_0x9c28c2,_0x251b96=this[_0x5b6c8c(0x3e7)][_0x5b6c8c(0x3ef)][_0x5b6c8c(0x3cd)](()=>{const _0x49c112=_0x5b6c8c;this[_0x49c112(0x26f)]=!0x0;}),_0x438b61=this['_anchor']['onPointerLeave$'][_0x5b6c8c(0x3cd)](()=>{const _0x3d1bf7=_0x5b6c8c;this[_0x3d1bf7(0x307)]&&clearTimeout(this[_0x3d1bf7(0x307)]),this['_hideTimer']=setTimeout(()=>{const _0x50e155=_0x3d1bf7;this[_0x50e155(0x26f)]=!0x1;},0x7d0);});return()=>{const _0x456a9c=_0x5b6c8c;_0x251b96[_0x456a9c(0x3df)](),_0x438b61['unsubscribe']();};}[_0x9c28c2(0x31f)](_0x14f027,_0x402622,_0x45307c,_0x3c4c27){const _0x33008d=_0x9c28c2,_0x4a16c6=new _0x43aff6[(_0x33008d(0x274))](_0x14f027)[_0x33008d(0x423)](0.2)[_0x33008d(0x203)](),_0x30bc7c=new _0x359b8a[(_0x33008d(0x20a))](_0x25d3e7+_0x43aff6[_0x33008d(0x219)][_0x33008d(0x2b8)](_0x269334),{'pointsGroup':_0x402622,'fill':_0x4a16c6||_0x359b8a[_0x33008d(0x3ed)](_0x43aff6[_0x33008d(0x352)]['black'],0.2),'left':_0x45307c,'top':_0x3c4c27,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x33008d(0x329)](_0x30bc7c),this[_0x33008d(0x1c0)]['addObject'](_0x30bc7c,_0x30015e[_0x33008d(0x2cd)]);}[_0x9c28c2(0x23e)](_0x58aeac,_0x54be80,_0x58fab6,_0x56ed46){const _0x3164c5=_0x9c28c2,_0x39866d=new _0x43aff6['ColorKit'](_0x58aeac)[_0x3164c5(0x423)](0.2)[_0x3164c5(0x203)](),_0x98e571=new _0x359b8a['RegularPolygon'](_0x1f221e+_0x43aff6['Tools'][_0x3164c5(0x2b8)](_0x269334),{'pointsGroup':_0x54be80,'fill':_0x39866d||_0x359b8a[_0x3164c5(0x3ed)](_0x43aff6[_0x3164c5(0x352)][_0x3164c5(0x39f)],0.2),'left':_0x58fab6,'top':_0x56ed46,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3164c5(0x36d)]['push'](_0x98e571),this[_0x3164c5(0x1c0)][_0x3164c5(0x284)](_0x98e571,_0x30015e[_0x3164c5(0x2cd)]);}[_0x9c28c2(0x424)](_0x3c4f0b){const _0x376d71=_0x3c4f0b[0x0],_0x323447=_0x376d71[0x0],_0x38a81d=_0x376d71[0x2],{x:_0x42f49c,y:_0x1c8fa0}=_0x323447,{x:_0x20ed3a,y:_0x1c23c6}=_0x38a81d;return{'left':_0x42f49c,'top':_0x1c8fa0,'width':_0x20ed3a-_0x42f49c,'height':_0x1c23c6-_0x1c8fa0};}[_0x9c28c2(0x2df)](){const _0x49438e=_0x9c28c2,{scaleX:_0x23146b,scaleY:_0x54c2af}=this['_scene']['getAncestorScale']();return Math[_0x49438e(0x396)](_0x23146b,_0x54c2af);}}var _0x699928=Object['getOwnPropertyDescriptor'],_0x143536=(_0x1546d8,_0x2380bd,_0x1b265d,_0x23efa0)=>{for(var _0x2ecd55=_0x23efa0>0x1?void 0x0:_0x23efa0?_0x699928(_0x2380bd,_0x1b265d):_0x2380bd,_0x1b6288=_0x1546d8['length']-0x1,_0x471d12;_0x1b6288>=0x0;_0x1b6288--)(_0x471d12=_0x1546d8[_0x1b6288])&&(_0x2ecd55=_0x471d12(_0x2ecd55)||_0x2ecd55);return _0x2ecd55;},_0xe45c8e=(_0x2a923b,_0x3b611d)=>(_0x52c552,_0x3a911f)=>_0x3b611d(_0x52c552,_0x3a911f,_0x2a923b);let _0x38436b=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x5a7cc0,_0x5b7d16,_0x1c1803,_0x307508,_0x22f848){const _0x595b10=_0x9c28c2;super(),_0x433bc1(this,_0x595b10(0x286),[]),_0x433bc1(this,_0x595b10(0x35d),[]),(this[_0x595b10(0x278)]=_0x5a7cc0,this['_docSkeletonManagerService']=_0x5b7d16,this[_0x595b10(0x316)]=_0x1c1803,this[_0x595b10(0x403)]=_0x307508,this[_0x595b10(0x42a)]=_0x22f848,this[_0x595b10(0x269)]());}[_0x9c28c2(0x269)](){const _0x5c60a3=_0x9c28c2,_0x61480a=this[_0x5c60a3(0x278)]['unitId'],_0x162ccf=this[_0x5c60a3(0x432)];this['disposeWithMe'](_0x22b5a0[_0x5c60a3(0x1c8)]([this[_0x5c60a3(0x316)]['getCollabCursors$'](_0x61480a),this['_themeService']['currentTheme$']])['pipe'](_0x2ae022[_0x5c60a3(0x239)](([_0x3649e2,_0x1271f4])=>({'skeleton':_0x162ccf[_0x5c60a3(0x2c0)](),'cursors':[..._0x3649e2[_0x5c60a3(0x1dc)]()][_0x5c60a3(0x2e9)](_0x31cab8=>({..._0x31cab8,'color':this[_0x5c60a3(0x42a)][_0x5c60a3(0x303)](_0x31cab8[_0x5c60a3(0x36c)])}))})))[_0x5c60a3(0x3aa)](_0x55472b=>{const _0x351e5d=_0x5c60a3;if(this[_0x351e5d(0x260)](),_0x55472b){const {skeleton:_0x3742a3,cursors:_0x227189}=_0x55472b;this[_0x351e5d(0x2f4)](_0x3742a3,_0x227189);}})),this[_0x5c60a3(0x3b4)](),this['_initCommandExecutedListener']();}[_0x9c28c2(0x2f4)](_0x53d9dc,_0x1357ca){const _0xf6bab6=_0x9c28c2,{scene:_0x538331,mainComponent:_0x27a8e6}=this[_0xf6bab6(0x278)],_0x69c3c2=_0x1357ca[_0xf6bab6(0x239)](_0xe2dbdc=>new _0x36c1c7(_0xe2dbdc,_0x538331,_0x53d9dc,_0x27a8e6));this[_0xf6bab6(0x286)]=_0x69c3c2,this[_0xf6bab6(0x35d)]=_0x1357ca;}[_0x9c28c2(0x2e6)](){const _0x103b9c=_0x9c28c2;this[_0x103b9c(0x260)]();const {scene:_0x255320,mainComponent:_0x2fc20e}=this[_0x103b9c(0x278)],_0x195dcf=this[_0x103b9c(0x432)][_0x103b9c(0x2c0)](),_0x57a365=this[_0x103b9c(0x35d)][_0x103b9c(0x239)](_0x469459=>new _0x36c1c7(_0x469459,_0x255320,_0x195dcf,_0x2fc20e));this[_0x103b9c(0x286)]=_0x57a365;}['_removeCollabCursors'](){const _0x46fdf7=_0x9c28c2;this[_0x46fdf7(0x286)][_0x46fdf7(0x312)](_0x515857=>_0x515857[_0x46fdf7(0x420)]()),this[_0x46fdf7(0x286)]=[];}[_0x9c28c2(0x38d)](){const _0x985db=_0x9c28c2,_0x2c9337=[_0x30015e[_0x985db(0x414)]['id']];this[_0x985db(0x340)](this[_0x985db(0x403)]['onCommandExecuted'](_0xe82552=>{const _0x3ca65a=_0x985db;_0x2c9337[_0x3ca65a(0x3fe)](_0xe82552['id'])&&_0xe82552[_0x3ca65a(0x3a3)][_0x3ca65a(0x357)]===this['_context'][_0x3ca65a(0x357)]&&this['_refreshCollabCursors']();}));}[_0x9c28c2(0x3b4)](){const _0x16dbb2=_0x9c28c2;this[_0x16dbb2(0x340)](_0x43aff6['fromEventSubject'](this[_0x16dbb2(0x278)]['engine'][_0x16dbb2(0x3f3)])['pipe'](_0x2ae022[_0x16dbb2(0x369)](_0x1d65c6=>_0x1d65c6[_0x16dbb2(0x2f1)]===_0x359b8a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x16dbb2(0x29b)]),_0x2ae022[_0x16dbb2(0x433)](0x10))['subscribe'](()=>{const _0x22e078=_0x16dbb2;this[_0x22e078(0x2e6)]();}));}};_0x38436b=_0x143536([_0xe45c8e(0x1,_0x43aff6['Inject'](_0x4cf538['DocSkeletonManagerService'])),_0xe45c8e(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x5964c5)),_0xe45c8e(0x3,_0x43aff6[_0x9c28c2(0x39e)]),_0xe45c8e(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x1ec)]))],_0x38436b);const _0x5b5863=0x1,_0x587875=1.5;class _0x23980c extends _0x359b8a[_0x9c28c2(0x384)]{constructor(_0x5d625b,_0x18b050){const _0x46dd52=_0x9c28c2;super(_0x5d625b,_0x18b050),_0x433bc1(this,'_color'),_0x433bc1(this,_0x46dd52(0x24c),!0x1),_0x433bc1(this,_0x46dd52(0x37d)),_0x433bc1(this,_0x46dd52(0x266),''),_0x433bc1(this,_0x46dd52(0x2f2),_0x46dd52(0x3cc)),_0x433bc1(this,_0x46dd52(0x3c3)),(_0x18b050&&this[_0x46dd52(0x2ce)](_0x18b050),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x46dd52(0x2ce)]({'hovered':!0x0})),this[_0x46dd52(0x3e4)][_0x46dd52(0x3cd)](()=>this[_0x46dd52(0x2ce)]({'hovered':!0x1})));}[_0x9c28c2(0x2ce)](_0xddb82c){const _0x57d5a9=_0x9c28c2;var _0x266e05,_0x104f1e,_0x118b94,_0x3c7545,_0x5f7042,_0x1543fa;this[_0x57d5a9(0x36f)]=(_0x266e05=_0xddb82c[_0x57d5a9(0x36c)])!=null?_0x266e05:this[_0x57d5a9(0x36f)],this[_0x57d5a9(0x24c)]=(_0x104f1e=_0xddb82c[_0x57d5a9(0x3c8)])!=null?_0x104f1e:this[_0x57d5a9(0x24c)],this[_0x57d5a9(0x37d)]=(_0x118b94=_0xddb82c[_0x57d5a9(0x294)])!=null?_0x118b94:this[_0x57d5a9(0x37d)],this[_0x57d5a9(0x266)]=(_0x3c7545=_0xddb82c[_0x57d5a9(0x1d8)])!=null?_0x3c7545:this[_0x57d5a9(0x266)],this[_0x57d5a9(0x2f2)]=(_0x5f7042=_0xddb82c[_0x57d5a9(0x2a9)])!=null?_0x5f7042:this['_labelPosition'],this[_0x57d5a9(0x3c3)]=(_0x1543fa=_0xddb82c[_0x57d5a9(0x27f)])!=null?_0x1543fa:this[_0x57d5a9(0x3c3)],this[_0x57d5a9(0x418)]({'width':_0xddb82c['width'],'height':_0xddb82c['height']});}[_0x9c28c2(0x41f)](_0x25b84e){const _0x5fbadd=_0x9c28c2,{row:_0x35b4ce,column:_0x4e1490}=_0x25b84e;if(_0x35b4ce>=this[_0x5fbadd(0x37d)][_0x5fbadd(0x1e8)]&&_0x35b4ce<=this[_0x5fbadd(0x37d)]['endRow']&&_0x4e1490>=this[_0x5fbadd(0x37d)]['startColumn']&&_0x4e1490<=this[_0x5fbadd(0x37d)][_0x5fbadd(0x334)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5fbadd(0x2ce)]({'hovered':!0x1});}[_0x9c28c2(0x276)](_0x3e9cc4){return!0x1;}[_0x9c28c2(0x3c0)](_0x3a36ef){const _0x44e21b=_0x9c28c2;_0x359b8a['Rect'][_0x44e21b(0x383)](_0x3a36ef,{'width':this[_0x44e21b(0x3f5)],'height':this[_0x44e21b(0x273)],'strokeWidth':_0x587875,'stroke':this[_0x44e21b(0x36f)],'evented':!0x1,'fill':this[_0x44e21b(0x3c3)]}),this[_0x44e21b(0x24c)]&&(_0x3a36ef['save'](),_0x3a36ef[_0x44e21b(0x279)](0x1,0x0,0x0,0x1,this[_0x44e21b(0x3f5)],this['_labelPosition']===_0x44e21b(0x272)?0x0:-0x14),_0x2bf5cc[_0x44e21b(0x383)](_0x3a36ef,{'text':this['_name'],'color':this[_0x44e21b(0x36f)]}),_0x3a36ef['restore']());}}var _0x1c19fb=Object[_0x9c28c2(0x2fe)],_0x5910eb=(_0x13fa19,_0x8d18b0,_0x24b73a,_0xcedab3)=>{const _0x1d4aaa=_0x9c28c2;for(var _0x8f70de=_0xcedab3>0x1?void 0x0:_0xcedab3?_0x1c19fb(_0x8d18b0,_0x24b73a):_0x8d18b0,_0x3c9f5c=_0x13fa19[_0x1d4aaa(0x27b)]-0x1,_0x43020b;_0x3c9f5c>=0x0;_0x3c9f5c--)(_0x43020b=_0x13fa19[_0x3c9f5c])&&(_0x8f70de=_0x43020b(_0x8f70de)||_0x8f70de);return _0x8f70de;},_0x4e94e3=(_0x5e6cf4,_0x5d391c)=>(_0x3595f6,_0x2edec1)=>_0x5d391c(_0x3595f6,_0x2edec1,_0x5e6cf4);const _0x5426eb=0x1389;let _0x4140ee=class extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(_0x292d82,_0x40825c,_0x1d623c,_0x3fec96){const _0x4b5ca6=_0x9c28c2;super(),_0x433bc1(this,_0x4b5ca6(0x35d),new Set()),_0x433bc1(this,_0x4b5ca6(0x1b9),null),(this['_context']=_0x292d82,this['_sheetSkeletonManagerService']=_0x40825c,this[_0x4b5ca6(0x316)]=_0x1d623c,this[_0x4b5ca6(0x42a)]=_0x3fec96,this[_0x4b5ca6(0x269)]());}['_init'](){const _0x23e6eb=_0x9c28c2;this[_0x23e6eb(0x42c)][_0x23e6eb(0x3c2)]['pipe'](_0x2ae022[_0x23e6eb(0x1f4)](this['dispose$']),_0x2ae022[_0x23e6eb(0x1b4)](_0x43b945=>{const _0x4ce357=_0x23e6eb;if(_0x43b945){const _0x58b7c7=_0x43b945[_0x4ce357(0x1bc)];return _0x22b5a0[_0x4ce357(0x1c8)](this[_0x4ce357(0x316)][_0x4ce357(0x3f6)](this['_context'][_0x4ce357(0x357)]),this[_0x4ce357(0x42a)][_0x4ce357(0x40e)])[_0x4ce357(0x353)](_0x2ae022[_0x4ce357(0x239)](([_0x3bc5e9,_0x310e01])=>{const _0x53a7c2=_0x4ce357,_0x40439f=new Map();return _0x3bc5e9[_0x53a7c2(0x312)]((_0x8f0458,_0x2787de)=>{const _0x47f590=_0x53a7c2;if(_0x8f0458['sheetID']===_0x58b7c7){const _0x58414f={..._0x8f0458};_0x58414f[_0x47f590(0x36c)]=this['_themeService'][_0x47f590(0x303)](_0x8f0458[_0x47f590(0x36c)]),_0x40439f['set'](_0x2787de,_0x58414f);}}),{'skeleton':_0x43b945,'cursors':_0x40439f};}));}return _0x22b5a0['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x35a663,cursors:_0x3ec5f2})=>{const _0x576b24=_0x23e6eb;this[_0x576b24(0x260)](),_0x35a663&&this[_0x576b24(0x2f4)](_0x35a663,_0x3ec5f2);}),this['_sheetSkeletonManagerService'][_0x23e6eb(0x3c2)][_0x23e6eb(0x3aa)](_0xd9fd4a=>{const _0x50b473=_0x23e6eb;if(_0xd9fd4a==null)return;const {skeleton:_0x945750}=_0xd9fd4a,{scene:_0x49591d}=this[_0x50b473(0x278)];_0x49591d[_0x50b473(0x328)][_0x50b473(0x3cd)](_0x43aff6['debounce'](_0x24178f=>{const _0xbcdd43=_0x50b473;var _0x107549,_0x38ff1d;const {offsetX:_0x58ca29,offsetY:_0x3e384b}=_0x24178f,{x:_0x35295d,y:_0x6644d6}=_0x49591d[_0xbcdd43(0x1ef)](_0x359b8a[_0xbcdd43(0x211)][_0xbcdd43(0x3a8)]([_0x58ca29,_0x3e384b])),{scaleX:_0x40b735,scaleY:_0x138823}=_0x49591d[_0xbcdd43(0x40f)](),_0x3e5dfd=_0x49591d['getViewport'](_0x359b8a[_0xbcdd43(0x34b)][_0xbcdd43(0x306)]),_0x868d65=_0x49591d[_0xbcdd43(0x1de)](_0x359b8a[_0xbcdd43(0x211)]['FromArray']([_0x35295d,_0x6644d6]),_0x3e5dfd),_0x5ba93e=_0x945750[_0xbcdd43(0x37a)](_0x58ca29,_0x3e384b,_0x40b735,_0x138823,_0x868d65);((_0x107549=this['_lastPointer'])==null?void 0x0:_0x107549[_0xbcdd43(0x212)])===_0x5ba93e['column']&&((_0x38ff1d=this['_lastPointer'])==null?void 0x0:_0x38ff1d['row'])===_0x5ba93e[_0xbcdd43(0x2b2)]||this[_0xbcdd43(0x35d)]['forEach'](_0x5ae042=>{const _0xb50459=_0xbcdd43;_0x5ae042[_0xb50459(0x41f)](_0x5ba93e);});},0x64));});}[_0x9c28c2(0x2f4)](_0x32fc9e,_0x1cccd3){const _0x2bce80=_0x9c28c2;var _0x417c2b;const _0xa48ffd=(_0x417c2b=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x417c2b[_0x2bce80(0x26a)];if(!_0xa48ffd)return;const _0x332167=this[_0x2bce80(0x348)]();if(!_0x332167)return;this['_cursors']['forEach'](_0x32f81f=>{const _0x176509=_0x2bce80;_0x32f81f[_0x176509(0x3f2)]();});const {scene:_0x2ef5bd}=_0x332167,_0x43e93e=_0x5517c9(Array[_0x2bce80(0x2b1)](_0x1cccd3[_0x2bce80(0x1dc)]()))[_0x2bce80(0x239)](_0x204617=>{const _0x38655a=_0x2bce80,{color:_0x30a7b7,range:_0x2e5ed1,name:_0x3cd542,selection:_0x22fecb,sheetID:_0x57d00b}=_0x204617,{startColumn:_0x1d3b3a,startRow:_0xd286fa,endColumn:_0x23c8f4,endRow:_0x498ee3}=_0x2e5ed1,_0x3af797=_0x2fd874['getCoordByCell'](_0xd286fa,_0x1d3b3a,_0x2ef5bd,_0xa48ffd),_0x284b8f=_0x2fd874[_0x38655a(0x41a)](_0x498ee3,_0x23c8f4,_0x2ef5bd,_0xa48ffd),{columnHeaderHeightAndMarginTop:_0x7b9ae6}=_0xa48ffd,{startX:_0x2518b6,startY:_0x5691bf}=_0x3af797,{endX:_0x4334b9,endY:_0x4e302f}=_0x284b8f,_0x583179=_0x4334b9-_0x2518b6,_0x174826=_0x4e302f-_0x5691bf,_0x5d0f70={'labelPosition':_0x5691bf-_0x7b9ae6>=_0x3d30e4?_0x38655a(0x3cc):_0x38655a(0x272),'sheetID':_0x57d00b,'range':_0x2e5ed1,'color':_0x30a7b7,'name':_0x3cd542,'selection':_0x22fecb,'left':_0x2518b6,'top':_0x5691bf,'width':_0x583179,'height':_0x174826,'evented':!0x1,'zIndex':_0x5426eb};return new _0x23980c(_0x3cd542,_0x5d0f70);});_0x2ef5bd[_0x2bce80(0x30b)](_0x43e93e,_0x5b5863),this[_0x2bce80(0x35d)]=new Set(_0x43e93e);}['_removeCollabCursors'](){const _0x42c572=_0x9c28c2;var _0x1b72ca;(_0x1b72ca=this[_0x42c572(0x35d)])==null||_0x1b72ca[_0x42c572(0x312)](_0x5d383a=>_0x5d383a['dispose']());}[_0x9c28c2(0x348)](){const _0x1add4a=_0x9c28c2;return _0x2fd874[_0x1add4a(0x327)](this[_0x1add4a(0x278)][_0x1add4a(0x282)],this['_context']);}};_0x4140ee=_0x5910eb([_0x4e94e3(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x2fd874['SheetSkeletonManagerService'])),_0x4e94e3(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x5964c5)),_0x4e94e3(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x1ec)]))],_0x4140ee);function _0x5517c9(_0x1a5052){const _0x1906ef=_0x9c28c2,_0x52b542=new Map();return _0x1a5052[_0x1906ef(0x312)](_0x1b0464=>{const _0x25178a=_0x1906ef;if(_0x52b542['has'](_0x1b0464[_0x25178a(0x28b)])){const _0x340a91=_0x52b542[_0x25178a(0x326)](_0x1b0464['selection']);_0x340a91['name']+=',\x20'+_0x1b0464['name'];}else _0x52b542[_0x25178a(0x289)](_0x1b0464[_0x25178a(0x28b)],_0x1b0464);}),Array[_0x1906ef(0x2b1)](_0x52b542[_0x1906ef(0x1dc)]());}var _0x43804a=function(){const _0x2ecd6a=_0x9c28c2;return _0x43804a=Object['assign']||function(_0x16f24a){const _0x1ce47d=_0x2330;for(var _0x4f823e,_0x295673=0x1,_0x1957cf=arguments[_0x1ce47d(0x27b)];_0x295673<_0x1957cf;_0x295673++){_0x4f823e=arguments[_0x295673];for(var _0x4ffdb3 in _0x4f823e)Object[_0x1ce47d(0x41b)][_0x1ce47d(0x1ea)][_0x1ce47d(0x33d)](_0x4f823e,_0x4ffdb3)&&(_0x16f24a[_0x4ffdb3]=_0x4f823e[_0x4ffdb3]);}return _0x16f24a;},_0x43804a[_0x2ecd6a(0x40c)](this,arguments);},_0x7e159=function(_0x385608,_0x11454f){const _0x4c1aa3=_0x9c28c2;var _0x212976={};for(var _0xf1cba3 in _0x385608)Object[_0x4c1aa3(0x41b)][_0x4c1aa3(0x1ea)][_0x4c1aa3(0x33d)](_0x385608,_0xf1cba3)&&_0x11454f['indexOf'](_0xf1cba3)<0x0&&(_0x212976[_0xf1cba3]=_0x385608[_0xf1cba3]);if(_0x385608!=null&&typeof Object[_0x4c1aa3(0x26d)]==_0x4c1aa3(0x380)){for(var _0x13e485=0x0,_0xf1cba3=Object[_0x4c1aa3(0x26d)](_0x385608);_0x13e485<_0xf1cba3[_0x4c1aa3(0x27b)];_0x13e485++)_0x11454f[_0x4c1aa3(0x261)](_0xf1cba3[_0x13e485])<0x0&&Object[_0x4c1aa3(0x41b)][_0x4c1aa3(0x310)][_0x4c1aa3(0x33d)](_0x385608,_0xf1cba3[_0x13e485])&&(_0x212976[_0xf1cba3[_0x13e485]]=_0x385608[_0xf1cba3[_0x13e485]]);}return _0x212976;},_0x45e5d4=_0x3f9355[_0x9c28c2(0x20f)](function(_0x781012,_0x4f61a5){const _0x3eb1b8=_0x9c28c2;var _0x4226ad=_0x781012[_0x3eb1b8(0x1f8)],_0xbee2bd=_0x781012['id'],_0x1d5dc2=_0x781012[_0x3eb1b8(0x223)],_0x30a098=_0x781012[_0x3eb1b8(0x2e4)],_0x1c31fd=_0x7e159(_0x781012,[_0x3eb1b8(0x1f8),'id',_0x3eb1b8(0x223),_0x3eb1b8(0x2e4)]),_0x2d2c9d='univerjs-icon\x20univerjs-icon-'[_0x3eb1b8(0x34f)](_0xbee2bd,'\x20')['concat'](_0x1d5dc2||'')[_0x3eb1b8(0x29a)](),_0x575498=_0x3f9355[_0x3eb1b8(0x1b3)]('_'[_0x3eb1b8(0x34f)](_0x316386()));return _0xe1d57d(_0x4226ad,''['concat'](_0xbee2bd),{'defIds':_0x4226ad[_0x3eb1b8(0x3ab)],'idSuffix':_0x575498['current']},_0x43804a({'ref':_0x4f61a5,'className':_0x2d2c9d},_0x1c31fd),_0x30a098);});function _0xe1d57d(_0xec417,_0x1a8488,_0x5ddc6a,_0x1e739f,_0x499825){const _0x1d78c5=_0x9c28c2;return _0x3f9355[_0x1d78c5(0x227)](_0xec417[_0x1d78c5(0x1f2)],_0x43804a(_0x43804a({'key':_0x1a8488},_0x2d38c9(_0xec417,_0x5ddc6a,_0x499825)),_0x1e739f),(_0x447858(_0xec417,_0x5ddc6a)[_0x1d78c5(0x3af)]||[])[_0x1d78c5(0x239)](function(_0x3ed18d,_0x12d10b){const _0x26984a=_0x1d78c5;return _0xe1d57d(_0x3ed18d,''[_0x26984a(0x34f)](_0x1a8488,'-')[_0x26984a(0x34f)](_0xec417[_0x26984a(0x1f2)],'-')[_0x26984a(0x34f)](_0x12d10b),_0x5ddc6a,void 0x0,_0x499825);}));}function _0x2d38c9(_0x5c25a4,_0x4209e1,_0x1370e7){const _0x2babc9=_0x9c28c2;var _0x3b0e4a=_0x43804a({},_0x5c25a4[_0x2babc9(0x204)]);_0x1370e7!=null&&_0x1370e7[_0x2babc9(0x237)]&&_0x3b0e4a[_0x2babc9(0x27d)]===_0x2babc9(0x237)&&(_0x3b0e4a[_0x2babc9(0x27d)]=_0x1370e7[_0x2babc9(0x237)]),_0x5c25a4[_0x2babc9(0x1f2)]===_0x2babc9(0x322)&&_0x3b0e4a['id']&&(_0x3b0e4a['id']=_0x3b0e4a['id']+_0x4209e1['idSuffix']),Object[_0x2babc9(0x299)](_0x3b0e4a)[_0x2babc9(0x312)](function(_0x2a7827){const _0x5c4ce0=_0x2babc9;var _0x25259e=_0x2a7827[0x0],_0x33af65=_0x2a7827[0x1];_0x25259e===_0x5c4ce0(0x322)&&typeof _0x33af65==_0x5c4ce0(0x3c6)&&(_0x3b0e4a[_0x25259e]=_0x33af65['replace'](/url\(#(.*)\)/,_0x5c4ce0(0x201)[_0x5c4ce0(0x34f)](_0x4209e1[_0x5c4ce0(0x283)],')')));});var _0x16de9=_0x4209e1[_0x2babc9(0x3ab)];return!_0x16de9||_0x16de9['length']===0x0||(_0x5c25a4[_0x2babc9(0x1f2)]===_0x2babc9(0x2a2)&&_0x3b0e4a[_0x2babc9(0x2c5)]&&(_0x3b0e4a['xlink:href']=_0x3b0e4a[_0x2babc9(0x2c5)]+_0x4209e1[_0x2babc9(0x283)]),Object[_0x2babc9(0x299)](_0x3b0e4a)[_0x2babc9(0x312)](function(_0x13715b){const _0x42440b=_0x2babc9;var _0x14f4d1=_0x13715b[0x0],_0x30a4fd=_0x13715b[0x1];typeof _0x30a4fd==_0x42440b(0x3c6)&&(_0x3b0e4a[_0x14f4d1]=_0x30a4fd['replace'](/url\(#(.*)\)/,_0x42440b(0x201)[_0x42440b(0x34f)](_0x4209e1[_0x42440b(0x283)],')')));})),_0x3b0e4a;}function _0x447858(_0x3da66d,_0x2442bf){const _0x575bbd=_0x9c28c2;var _0x301f9d,_0x4ca534=_0x2442bf[_0x575bbd(0x3ab)];return!_0x4ca534||_0x4ca534[_0x575bbd(0x27b)]===0x0?_0x3da66d:_0x3da66d[_0x575bbd(0x1f2)]==='defs'&&(!((_0x301f9d=_0x3da66d[_0x575bbd(0x3af)])===null||_0x301f9d===void 0x0)&&_0x301f9d[_0x575bbd(0x27b)])?_0x43804a(_0x43804a({},_0x3da66d),{'children':_0x3da66d[_0x575bbd(0x3af)]['map'](function(_0x3d895c){const _0x46f6d3=_0x575bbd;return typeof _0x3d895c[_0x46f6d3(0x204)]['id']=='string'&&_0x4ca534&&_0x4ca534[_0x46f6d3(0x3fe)](_0x3d895c[_0x46f6d3(0x204)]['id'])?_0x43804a(_0x43804a({},_0x3d895c),{'attrs':_0x43804a(_0x43804a({},_0x3d895c[_0x46f6d3(0x204)]),{'id':_0x3d895c['attrs']['id']+_0x2442bf[_0x46f6d3(0x283)]})}):_0x3d895c;})}):_0x3da66d;}function _0x316386(){const _0x11a7c5=_0x9c28c2;return Math[_0x11a7c5(0x213)]()[_0x11a7c5(0x31b)](0x24)['substring'](0x2,0x8);}_0x45e5d4[_0x9c28c2(0x26e)]='UniverIcon';var _0x4c056a={'tag':_0x9c28c2(0x22a),'attrs':{'xmlns':_0x9c28c2(0x2a8),'fill':_0x9c28c2(0x1e7),'viewBox':_0x9c28c2(0x28f),'width':'1em','height':_0x9c28c2(0x3ad)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x9c28c2(0x1e6),'attrs':{'stroke':_0x9c28c2(0x363),'d':_0x9c28c2(0x30e),'strokeLinecap':_0x9c28c2(0x2e3),'strokeLinejoin':_0x9c28c2(0x2e3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x9c28c2(0x296),'attrs':{'id':_0x9c28c2(0x220)},'children':[{'tag':_0x9c28c2(0x1e6),'attrs':{'fill':'white','d':_0x9c28c2(0x32b)}}]}]}],'defIds':[_0x9c28c2(0x220)]},_0x40925d=_0x3f9355[_0x9c28c2(0x20f)](function(_0x1a3704,_0x5c9795){const _0x539790=_0x9c28c2;return _0x3f9355[_0x539790(0x227)](_0x45e5d4,Object[_0x539790(0x2fc)]({},_0x1a3704,{'id':_0x539790(0x28e),'ref':_0x5c9795,'icon':_0x4c056a}));});_0x40925d['displayName']=_0x9c28c2(0x1e9);var _0x31a807={'tag':_0x9c28c2(0x22a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x9c28c2(0x3ad),'height':_0x9c28c2(0x3ad)},'children':[{'tag':'g','attrs':{'clipPath':_0x9c28c2(0x356)},'children':[{'tag':'path','attrs':{'stroke':_0x9c28c2(0x363),'d':_0x9c28c2(0x317),'strokeLinecap':_0x9c28c2(0x2e3),'strokeLinejoin':_0x9c28c2(0x2e3),'strokeWidth':1.2}}]},{'tag':_0x9c28c2(0x41e),'attrs':{},'children':[{'tag':_0x9c28c2(0x296),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x9c28c2(0x1e6),'attrs':{'fill':_0x9c28c2(0x1aa),'d':_0x9c28c2(0x32b),'transform':_0x9c28c2(0x1f3)}}]}]}],'defIds':[_0x9c28c2(0x21b)]},_0x281cd1=_0x3f9355[_0x9c28c2(0x20f)](function(_0x5d12c3,_0x10951b){const _0x19ebd1=_0x9c28c2;return _0x3f9355['createElement'](_0x45e5d4,Object['assign']({},_0x5d12c3,{'id':_0x19ebd1(0x43a),'ref':_0x10951b,'icon':_0x31a807}));});_0x281cd1[_0x9c28c2(0x26e)]=_0x9c28c2(0x270);function _0x583807(_0x3f6c12){const _0x3cd9c1=_0x9c28c2;switch(_0x3f6c12){case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x22f)]:return'collabStatus.offline';case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x2a0)]:return _0x3cd9c1(0x200);case _0x3c1823[_0x3cd9c1(0x229)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x2ba)]:return _0x3cd9c1(0x232);case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x30f)]:case _0x3c1823[_0x3cd9c1(0x229)]['AWAITING_WITH_PENDING']:return _0x3cd9c1(0x1d0);case _0x3c1823[_0x3cd9c1(0x229)][_0x3cd9c1(0x338)]:case _0x3c1823['CollaborationStatus'][_0x3cd9c1(0x2c6)]:return'collabStatus.synced';}}function _0x2a41e7(_0x1d4889){const _0x5a0933=_0x9c28c2,{status$:_0x12b39a}=_0x1d4889,_0x311231=_0x4c8790[_0x5a0933(0x304)](_0x12b39a,_0x3c1823[_0x5a0933(0x229)][_0x5a0933(0x2ba)]),_0x18e824=_0x4c8790[_0x5a0933(0x2f5)](_0x43aff6[_0x5a0933(0x3dd)]),_0x28707d=_0x4c8790[_0x5a0933(0x2f5)](_0x3c1823[_0x5a0933(0x242)]),_0x1f7c2f=_0x311231!==_0x3c1823['CollaborationStatus'][_0x5a0933(0x22f)],_0x2f2331=_0x18e824['t'](_0x583807(_0x311231)),_0x59dbd6=_0x1f7c2f?_0x4b9546[_0x5a0933(0x1b5)](_0x281cd1,{}):_0x4b9546[_0x5a0933(0x1b5)](_0x40925d,{}),_0x38e99d=_0x3f9355[_0x5a0933(0x408)](()=>{const _0x45f537=_0x5a0933;_0x1f7c2f||_0x28707d[_0x45f537(0x43d)]();},[_0x1f7c2f,_0x28707d]);function _0x2b58d9(){const _0x8153d0=_0x5a0933;return _0x4b9546['jsxs']('div',{'className':_0x8153d0(0x431),'onClick':_0x38e99d,'children':[_0x4b9546[_0x8153d0(0x1b5)]('div',{'className':_0x2cb33e['clsx'](_0x8153d0(0x1bb),{'univer-text-green-500':_0x1f7c2f,'univer-text-red-500':!_0x1f7c2f}),'children':_0x59dbd6}),_0x4b9546['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2f2331})]});}return _0x1f7c2f?_0x2b58d9():_0x4b9546[_0x5a0933(0x1b5)](_0x2cb33e[_0x5a0933(0x2db)],{'title':_0x18e824['t'](_0x5a0933(0x37c)),'children':_0x2b58d9()});}var _0x3727f4=Object[_0x9c28c2(0x2fe)],_0x10e439=(_0x498fde,_0xfe3f9f,_0x1b55e9,_0x33564a)=>{const _0x5f3bc3=_0x9c28c2;for(var _0x5d28f2=_0x33564a>0x1?void 0x0:_0x33564a?_0x3727f4(_0xfe3f9f,_0x1b55e9):_0xfe3f9f,_0x4eaee0=_0x498fde[_0x5f3bc3(0x27b)]-0x1,_0x3806da;_0x4eaee0>=0x0;_0x4eaee0--)(_0x3806da=_0x498fde[_0x4eaee0])&&(_0x5d28f2=_0x3806da(_0x5d28f2)||_0x5d28f2);return _0x5d28f2;},_0x25118b=(_0x558355,_0x119948)=>(_0x432620,_0x4d70bf)=>_0x119948(_0x432620,_0x4d70bf,_0x558355);_0x46a004['DesktopCollaborationStatusDisplayController']=class extends _0x43aff6[_0x9c28c2(0x253)]{constructor(_0xb3cf91,_0x17f45d,_0xc6fb63,_0x45f344){const _0x1182bf=_0x9c28c2;super(),_0x433bc1(this,_0x1182bf(0x224),new _0x22b5a0['BehaviorSubject'](_0x3c1823[_0x1182bf(0x229)][_0x1182bf(0x2ba)])),(this[_0x1182bf(0x2b0)]=_0xb3cf91,this[_0x1182bf(0x3a0)]=_0x17f45d,this[_0x1182bf(0x407)]=_0xc6fb63,this['_uiPartsService']=_0x45f344,this[_0x1182bf(0x1bd)](),this['_initStatusListener']());}[_0x9c28c2(0x27c)](){const _0x1097ce=_0x9c28c2;this[_0x1097ce(0x340)](this[_0x1097ce(0x2b0)][_0x1097ce(0x1db)]['pipe'](_0x22b5a0[_0x1097ce(0x1b4)](()=>{const _0x3cb285=_0x1097ce,_0x1e8296=this[_0x3cb285(0x2b0)]['getFocusedUnit']();return _0x1e8296?this['_collaborationController'][_0x3cb285(0x262)](_0x1e8296[_0x3cb285(0x318)]()):_0x22b5a0['of'](null);}),_0x22b5a0[_0x1097ce(0x1b4)](_0x2cea83=>_0x2cea83?_0x2cea83['status$']:_0x22b5a0['of'](_0x3c1823[_0x1097ce(0x229)][_0x1097ce(0x2ba)])))[_0x1097ce(0x3aa)](_0x35ac84=>{this['_status$']['next'](_0x35ac84);}));}[_0x9c28c2(0x1bd)](){const _0x446654=_0x9c28c2;this[_0x446654(0x340)](this[_0x446654(0x247)]['registerComponent'](_0x4c8790[_0x446654(0x404)]['HEADER_MENU'],()=>_0x4c8790[_0x446654(0x3d7)](_0x33c103({'status$':this[_0x446654(0x224)]['asObservable']()}),this[_0x446654(0x3a0)])));}},_0x46a004[_0x9c28c2(0x436)]=_0x10e439([_0x25118b(0x0,_0x43aff6[_0x9c28c2(0x3bb)]),_0x25118b(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x25118b(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x295)])),_0x25118b(0x3,_0x4c8790[_0x9c28c2(0x373)])],_0x46a004[_0x9c28c2(0x436)]);function _0x33c103(_0xf02584){const {status$:_0x287889}=_0xf02584;return function(){const _0x45029c=_0x2330;return _0x4b9546[_0x45029c(0x1b5)](_0x2a41e7,{'status$':_0x287889});};}var _0xbffde=Object['getOwnPropertyDescriptor'],_0x30652c=(_0x3e7aa2,_0x264e0e,_0x31bd7d,_0x2be6cd)=>{const _0x46314e=_0x9c28c2;for(var _0x52835e=_0x2be6cd>0x1?void 0x0:_0x2be6cd?_0xbffde(_0x264e0e,_0x31bd7d):_0x264e0e,_0x5a4dae=_0x3e7aa2[_0x46314e(0x27b)]-0x1,_0x2553cc;_0x5a4dae>=0x0;_0x5a4dae--)(_0x2553cc=_0x3e7aa2[_0x5a4dae])&&(_0x52835e=_0x2553cc(_0x52835e)||_0x52835e);return _0x52835e;},_0x1fda57=(_0x451b36,_0x66390e)=>(_0x5778a4,_0x545310)=>_0x66390e(_0x5778a4,_0x545310,_0x451b36);let _0x275ade=class extends _0x43aff6['Disposable']{constructor(_0x3c1105,_0x3886c6,_0xe8ba50,_0x331297,_0x3207bb,_0x4bbd2a){const _0xf79b8a=_0x9c28c2;super(),this['_beforeCloseService']=_0x3c1105,this['_localCacheService']=_0x3886c6,this[_0xf79b8a(0x38a)]=_0xe8ba50,this[_0xf79b8a(0x21c)]=_0x331297,this[_0xf79b8a(0x440)]=_0x3207bb,this[_0xf79b8a(0x3e8)]=_0x4bbd2a,this[_0xf79b8a(0x2dd)](),this[_0xf79b8a(0x1a9)]();}[_0x9c28c2(0x2dd)](){const _0x17a8dd=_0x9c28c2;this[_0x17a8dd(0x340)](this[_0x17a8dd(0x1c9)][_0x17a8dd(0x41c)](()=>{const _0xdc8801=_0x17a8dd;if(this['_localCacheService'][_0xdc8801(0x3f8)][_0xdc8801(0x1b7)])return this[_0xdc8801(0x3e8)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x9c28c2(0x1a9)](){const _0x59ce39=_0x9c28c2;this[_0x59ce39(0x340)](this[_0x59ce39(0x38a)][_0x59ce39(0x249)][_0x59ce39(0x3aa)](_0x588ff9=>{const _0x37f01b=_0x59ce39;_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x1d5)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e[_0x37f01b(0x2b5)][_0x37f01b(0x1ce)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x22c))}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)]['CLOSE_ROOM']&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x1ce)],'content':this[_0x37f01b(0x3e8)]['t']('collaboration.closeRoom')}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x2ff)]&&this['_notificationService'][_0x37f01b(0x324)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x37f01b(0x22b)),'type':'error','duration':0x0}),_0x588ff9['id']===_0x3c1823['CollaborationUIEventId'][_0x37f01b(0x2a0)]&&this['_messageService'][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x291)],'content':this['_localeService']['t'](_0x37f01b(0x394))+'('+_0x588ff9[_0x37f01b(0x2be)]+')'}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x250)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x1ce)],'content':this['_localeService']['t'](_0x588ff9['data']||'')}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x1ac)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e['MessageType'][_0x37f01b(0x1ce)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x3c7))}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x36a)]&&this['_messageService'][_0x37f01b(0x324)]({'type':_0x2cb33e[_0x37f01b(0x2b5)][_0x37f01b(0x291)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x3cb))}),_0x588ff9['id']===_0x3c1823[_0x37f01b(0x2ee)][_0x37f01b(0x371)]&&this[_0x37f01b(0x21c)][_0x37f01b(0x324)]({'type':_0x2cb33e[_0x37f01b(0x2b5)][_0x37f01b(0x291)],'content':this[_0x37f01b(0x3e8)]['t'](_0x37f01b(0x243))});}));}};_0x275ade=_0x30652c([_0x1fda57(0x0,_0x4c8790['IBeforeCloseService']),_0x1fda57(0x1,_0x3c1823[_0x9c28c2(0x42e)]),_0x1fda57(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x42b)])),_0x1fda57(0x3,_0x4c8790[_0x9c28c2(0x2e7)]),_0x1fda57(0x4,_0x4c8790['INotificationService']),_0x1fda57(0x5,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6['LocaleService']))],_0x275ade);const _0x198fa4=_0x9c28c2(0x435),_0x5b91b5={},_0x151449=_0x43aff6[_0x9c28c2(0x2e0)](_0x9c28c2(0x3a6));var _0x18da72=Object['getOwnPropertyDescriptor'],_0x1c1794=(_0x5a1f6c,_0x261f69,_0x41426b,_0x5a290e)=>{const _0x57a187=_0x9c28c2;for(var _0x554881=_0x5a290e>0x1?void 0x0:_0x5a290e?_0x18da72(_0x261f69,_0x41426b):_0x261f69,_0x3672f3=_0x5a1f6c[_0x57a187(0x27b)]-0x1,_0x5a1547;_0x3672f3>=0x0;_0x3672f3--)(_0x5a1547=_0x5a1f6c[_0x3672f3])&&(_0x554881=_0x5a1547(_0x554881)||_0x554881);return _0x554881;},_0xee547f=(_0x1b0684,_0x31b1f8)=>(_0x1c9a83,_0x40effa)=>_0x31b1f8(_0x1c9a83,_0x40effa,_0x1b0684);_0x46a004[_0x9c28c2(0x2ab)]=class extends _0x43aff6['RxDisposable']{constructor(_0x376ea4,_0x166a72,_0x38361d,_0xc7c0d7,_0x30ef7f){const _0x154201=_0x9c28c2;super(),this[_0x154201(0x2f8)]=_0x376ea4,this['_logService']=_0x166a72,this[_0x154201(0x403)]=_0x38361d,this[_0x154201(0x2cf)]=_0xc7c0d7,_0x30ef7f?_0x30ef7f==null||_0x30ef7f[_0x154201(0x439)]()[_0x154201(0x2a7)](()=>this[_0x154201(0x269)]()):(this[_0x154201(0x20d)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x154201(0x269)]());}async[_0x9c28c2(0x269)](){const _0x57ea30=_0x9c28c2,_0x5359a7=this[_0x57ea30(0x2f8)][_0x57ea30(0x382)](_0x57ea30(0x282)),_0x39b25f=this[_0x57ea30(0x2f8)][_0x57ea30(0x382)](_0x57ea30(0x2f1)),_0x1832c4=this[_0x57ea30(0x2f8)][_0x57ea30(0x382)]('subunit');if(!_0x5359a7||!_0x39b25f){this[_0x57ea30(0x20d)][_0x57ea30(0x24e)](_0x57ea30(0x2f6),_0x57ea30(0x259));return;}const _0x26739a=await this[_0x57ea30(0x2cf)][_0x57ea30(0x290)](_0x5359a7,Number(_0x39b25f),_0x1832c4);_0x26739a&&_0x26739a instanceof _0x43aff6[_0x57ea30(0x43e)]&&this[_0x57ea30(0x2d9)](_0x26739a);}async['_setupSubUnitSync'](_0x349685){const _0x4abad3=_0x9c28c2;await this[_0x4abad3(0x325)](_0x349685),_0x349685[_0x4abad3(0x444)][_0x4abad3(0x353)](_0x22b5a0[_0x4abad3(0x1f4)](this[_0x4abad3(0x36b)]))['subscribe'](_0x1dcd11=>{const _0x15535f=_0x4abad3;_0x1dcd11&&this[_0x15535f(0x27e)](_0x1dcd11);}),this[_0x4abad3(0x2f8)]['urlChange$'][_0x4abad3(0x353)](_0x22b5a0[_0x4abad3(0x1f4)](this[_0x4abad3(0x36b)]))['subscribe'](()=>this[_0x4abad3(0x325)](_0x349685));}['_updateURLWithCurrentState'](_0x3d62bb,_0x290114=!0x1){const _0x23aecd=_0x9c28c2,_0x516bdf=this[_0x23aecd(0x2f8)]['getParam'](_0x23aecd(0x292));_0x3d62bb[_0x23aecd(0x385)]()!==_0x516bdf&&this[_0x23aecd(0x2f8)][_0x23aecd(0x3e6)](_0x23aecd(0x292),_0x3d62bb[_0x23aecd(0x385)](),_0x290114);}async['_updateSubUnitFromURLParams'](_0x4d9674){const _0x3d36e7=_0x9c28c2;var _0x10974;const _0x5104cb=this[_0x3d36e7(0x2f8)][_0x3d36e7(0x382)](_0x3d36e7(0x292));if(!_0x5104cb||!_0x4d9674[_0x3d36e7(0x37f)](_0x5104cb)){const _0x3ed256=_0x4d9674[_0x3d36e7(0x30d)]()[0x0],_0x2860e4=_0x4d9674[_0x3d36e7(0x37f)](_0x3ed256);if(!_0x2860e4)return;this[_0x3d36e7(0x27e)](_0x2860e4,!0x0),await this[_0x3d36e7(0x403)][_0x3d36e7(0x339)](_0x27c450[_0x3d36e7(0x1cd)]['id'],{'unitId':_0x4d9674[_0x3d36e7(0x318)](),'subUnitId':_0x3ed256});return;}((_0x10974=_0x4d9674['getActiveSheet']())==null?void 0x0:_0x10974[_0x3d36e7(0x385)]())!==_0x5104cb&&await this[_0x3d36e7(0x403)][_0x3d36e7(0x339)](_0x27c450[_0x3d36e7(0x1cd)]['id'],{'unitId':_0x4d9674[_0x3d36e7(0x318)](),'subUnitId':_0x5104cb});}},_0x46a004[_0x9c28c2(0x2ab)]=_0x1c1794([_0xee547f(0x0,_0x151449),_0xee547f(0x1,_0x43aff6[_0x9c28c2(0x1df)]),_0xee547f(0x2,_0x43aff6[_0x9c28c2(0x39e)]),_0xee547f(0x3,_0x43aff6['Inject'](_0x3c1823[_0x9c28c2(0x34e)])),_0xee547f(0x4,_0x43aff6[_0x9c28c2(0x29d)](_0x25bb97[_0x9c28c2(0x38b)]))],_0x46a004[_0x9c28c2(0x2ab)]);var _0x1ed656=Object[_0x9c28c2(0x2fe)],_0x465416=(_0x2e652f,_0x38f241,_0x2d56bd,_0x2bc6a8)=>{const _0x301e8b=_0x9c28c2;for(var _0x41dfab=_0x2bc6a8>0x1?void 0x0:_0x2bc6a8?_0x1ed656(_0x38f241,_0x2d56bd):_0x38f241,_0xb7e83c=_0x2e652f[_0x301e8b(0x27b)]-0x1,_0xf3b058;_0xb7e83c>=0x0;_0xb7e83c--)(_0xf3b058=_0x2e652f[_0xb7e83c])&&(_0x41dfab=_0xf3b058(_0x41dfab)||_0x41dfab);return _0x41dfab;},_0x5466bb=(_0x5db760,_0x21eabe)=>(_0x1c67e1,_0x3b0e0b)=>_0x21eabe(_0x1c67e1,_0x3b0e0b,_0x5db760);let _0x47c295=class{constructor(_0x54d47e,_0x3a24dc,_0xc5bb27){const _0x53b189=_0x9c28c2;this['_injector']=_0x54d47e,this[_0x53b189(0x2ca)]=_0x3a24dc,this[_0x53b189(0x3da)]=_0xc5bb27;}[_0x9c28c2(0x235)](_0x3e85f5){const _0x24efac=_0x9c28c2;this[_0x24efac(0x3c4)](_0x3e85f5),this['_transformPreviousActiveRange'](_0x3e85f5);}[_0x9c28c2(0x346)](_0x4fba83){const _0xd8ebf4=_0x9c28c2,{unitID:_0x154c97}=_0x4fba83,_0x39877b=this[_0xd8ebf4(0x3da)][_0xd8ebf4(0x1b6)](_0x154c97)[_0xd8ebf4(0x246)](_0x30015e['DocIMEInputManagerService']),{redoCache:_0x47e65d}=_0x39877b[_0xd8ebf4(0x206)]();if(_0x47e65d['length']===0x0)return _0x4fba83;let _0x498003=_0x43aff6[_0xd8ebf4(0x219)][_0xd8ebf4(0x21d)](_0x4fba83[_0xd8ebf4(0x2eb)][0x0]);for(let _0x28989d=0x0;_0x28989d<_0x47e65d[_0xd8ebf4(0x27b)];_0x28989d++){const _0x14afcb={'id':_0xd8ebf4(0x2e1),'params':{..._0x47e65d[_0x28989d]}},_0x5dcea9=this[_0xd8ebf4(0x2ca)][_0xd8ebf4(0x337)](_0x498003,_0x14afcb,!0x1);if(_0xb9294[_0xd8ebf4(0x3a7)](_0x5dcea9))throw _0x5dcea9[_0xd8ebf4(0x3a5)];_0x498003=_0x5dcea9['m1Prime'];}return{..._0x43aff6[_0xd8ebf4(0x219)][_0xd8ebf4(0x21d)](_0x4fba83),'mutations':[_0x498003]};}['_transformUndoRedoStack'](_0x326f89){const _0x473ad1=_0x9c28c2,{unitID:_0x3f5d0b}=_0x326f89,_0x1a7a31=this[_0x473ad1(0x3da)][_0x473ad1(0x1b6)](_0x3f5d0b)[_0x473ad1(0x246)](_0x30015e[_0x473ad1(0x3ea)]),{undoCache:_0x24df48,redoCache:_0x58d194}=_0x1a7a31['getUndoRedoMutationParamsCache']();if(_0x24df48[_0x473ad1(0x27b)]===0x0||_0x58d194['length']===0x0)return;const _0x5c8eb1=[],_0x3ca545=[];let _0x59d093=_0x43aff6[_0x473ad1(0x219)][_0x473ad1(0x21d)](_0x326f89['mutations'][0x0]),_0xabb958=_0x43aff6[_0x473ad1(0x219)][_0x473ad1(0x21d)](_0x326f89[_0x473ad1(0x2eb)][0x0]);for(let _0x5c3d5b=_0x24df48[_0x473ad1(0x27b)]-0x1;_0x5c3d5b>=0x0;_0x5c3d5b--){const _0x4470c9={'id':'doc.mutation.rich-text-editing','params':{..._0x24df48[_0x5c3d5b]}},_0x1d9bec={'id':_0x473ad1(0x2e1),'params':{..._0x58d194[_0x5c3d5b]}},_0x2ab86c=this[_0x473ad1(0x2ca)][_0x473ad1(0x337)](_0x59d093,_0x4470c9,!0x1),_0x2ada62=this['_transformService'][_0x473ad1(0x337)](_0xabb958,_0x1d9bec,!0x1);if(_0xb9294[_0x473ad1(0x3a7)](_0x2ab86c))throw _0x2ab86c[_0x473ad1(0x3a5)];if(_0xb9294[_0x473ad1(0x3a7)](_0x2ada62))throw _0x2ada62[_0x473ad1(0x3a5)];_0x5c8eb1[_0x473ad1(0x2b6)](_0x2ab86c[_0x473ad1(0x398)][_0x473ad1(0x3a3)]),_0x3ca545[_0x473ad1(0x2b6)](_0x2ada62[_0x473ad1(0x398)][_0x473ad1(0x3a3)]),_0x59d093=_0x2ab86c[_0x473ad1(0x3dc)],_0xabb958=_0x2ada62[_0x473ad1(0x3dc)];}_0x1a7a31[_0x473ad1(0x1e0)]({'undoCache':_0x5c8eb1,'redoCache':_0x3ca545});}[_0x9c28c2(0x417)](_0x29db98){const _0x5f09a0=_0x9c28c2,{unitID:_0x3b12ae}=_0x29db98,_0x416614=this[_0x5f09a0(0x3da)][_0x5f09a0(0x1b6)](_0x3b12ae)[_0x5f09a0(0x246)](_0x30015e[_0x5f09a0(0x3ea)]),_0x3d2020=_0x416614[_0x5f09a0(0x2bd)]();if(_0x3d2020==null)return;const _0x23ee61=[{'id':_0x5f09a0(0x2e1),'params':{'unitId':_0x29db98[_0x5f09a0(0x23d)],'actions':null,'textRanges':[_0x3d2020]}}],_0x552712=this[_0x5f09a0(0x2ca)][_0x5f09a0(0x3a9)](_0x29db98,_0x23ee61);if(!_0xb9294[_0x5f09a0(0x33a)](_0x552712))throw _0x552712['error'];const _0x116ea6=_0x552712[_0x5f09a0(0x398)][0x0][_0x5f09a0(0x3a3)][_0x5f09a0(0x1dd)];Array[_0x5f09a0(0x443)](_0x116ea6)&&_0x116ea6[_0x5f09a0(0x27b)]&&_0x416614['setActiveRange'](_0x116ea6[0x0]);}};_0x47c295=_0x465416([_0x5466bb(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6['Injector'])),_0x5466bb(0x1,_0xb9294[_0x9c28c2(0x3b5)]),_0x5466bb(0x2,_0x359b8a[_0x9c28c2(0x355)])],_0x47c295);var _0x48ca7e=Object[_0x9c28c2(0x2fe)],_0x78a29f=(_0x52f593,_0x461084,_0x50c579,_0x214e8d)=>{const _0x380172=_0x9c28c2;for(var _0x5f8f59=_0x214e8d>0x1?void 0x0:_0x214e8d?_0x48ca7e(_0x461084,_0x50c579):_0x461084,_0x1c0e7f=_0x52f593[_0x380172(0x27b)]-0x1,_0x130ab9;_0x1c0e7f>=0x0;_0x1c0e7f--)(_0x130ab9=_0x52f593[_0x1c0e7f])&&(_0x5f8f59=_0x130ab9(_0x5f8f59)||_0x5f8f59);return _0x5f8f59;},_0x3a671b=(_0x1cf570,_0xf22c64)=>(_0xe74bc8,_0x5bea15)=>_0xf22c64(_0xe74bc8,_0x5bea15,_0x1cf570);let _0x40659a=class{constructor(_0x17097a,_0x53a009,_0x15cd72){const _0x27487c=_0x9c28c2;this[_0x27487c(0x3a0)]=_0x17097a,this['_transformService']=_0x53a009,this[_0x27487c(0x331)]=_0x15cd72;}['transformStateCache'](_0x441aa2){const _0x3257d7=_0x9c28c2;this[_0x3257d7(0x413)](_0x441aa2);}[_0x9c28c2(0x346)](_0x204a70){const _0x5dfe67=_0x9c28c2,{unitID:_0x2dd86b}=_0x204a70,{collaboration:_0x5ab056}=this['_docStateChangeManagerService']['getStateCache'](_0x2dd86b);if(_0x5ab056[_0x5dfe67(0x27b)]===0x0)return _0x204a70;let _0x18423c=_0x43aff6['Tools'][_0x5dfe67(0x21d)](_0x204a70['mutations'][0x0]);for(let _0x19a1a6=0x0;_0x19a1a6<_0x5ab056[_0x5dfe67(0x27b)];_0x19a1a6++){const _0x5f5006={'id':_0x5dfe67(0x2e1),'params':{'unitId':_0x5ab056[_0x19a1a6][_0x5dfe67(0x357)],..._0x5ab056[_0x19a1a6][_0x5dfe67(0x25b)]}},_0x30c70d=this[_0x5dfe67(0x2ca)][_0x5dfe67(0x337)](_0x18423c,_0x5f5006,!0x1);if(_0xb9294['isTransformMutationFailure'](_0x30c70d))throw _0x30c70d[_0x5dfe67(0x3a5)];_0x18423c=_0x30c70d[_0x5dfe67(0x3dc)];}return{..._0x43aff6[_0x5dfe67(0x219)]['deepClone'](_0x204a70),'mutations':[_0x18423c]};}[_0x9c28c2(0x413)](_0x251086){const _0x1b028b=_0x9c28c2,{unitID:_0x2cc3b4}=_0x251086,{history:_0x379b3a,collaboration:_0x3b4df4}=this[_0x1b028b(0x331)]['getStateCache'](_0x2cc3b4);if(_0x379b3a[_0x1b028b(0x27b)]===0x0&&_0x3b4df4['length']===0x0)return;const _0x239d2f=[],_0xe1913a=[];let _0x3042ae=_0x43aff6[_0x1b028b(0x219)][_0x1b028b(0x21d)](_0x251086[_0x1b028b(0x2eb)][0x0]),_0x535135=_0x43aff6[_0x1b028b(0x219)][_0x1b028b(0x21d)](_0x251086['mutations'][0x0]);for(let _0x1b93de=_0x379b3a[_0x1b028b(0x27b)]-0x1;_0x1b93de>=0x0;_0x1b93de--){const _0x4e0070={'id':_0x1b028b(0x2e1),'params':{'unitId':_0x379b3a[_0x1b93de][_0x1b028b(0x357)],..._0x379b3a[_0x1b93de][_0x1b028b(0x405)]}},_0x1140ab={'id':_0x1b028b(0x2e1),'params':{'unitId':_0x379b3a[_0x1b93de]['unitId'],..._0x379b3a[_0x1b93de][_0x1b028b(0x25b)]}},_0x36222f=this['_transformService'][_0x1b028b(0x337)](_0x3042ae,_0x4e0070,!0x1),_0x320754=this[_0x1b028b(0x2ca)][_0x1b028b(0x337)](_0x535135,_0x1140ab,!0x1);if(_0xb9294['isTransformMutationFailure'](_0x36222f))throw _0x36222f[_0x1b028b(0x3a5)];if(_0xb9294['isTransformMutationFailure'](_0x320754))throw _0x320754[_0x1b028b(0x3a5)];_0x239d2f['unshift']({..._0x379b3a[_0x1b93de],'undoState':_0x36222f[_0x1b028b(0x398)]['params'],'redoState':_0x320754[_0x1b028b(0x398)][_0x1b028b(0x3a3)]}),_0x3042ae=_0x36222f[_0x1b028b(0x3dc)],_0x535135=_0x320754[_0x1b028b(0x3dc)];}_0x3042ae=_0x43aff6[_0x1b028b(0x219)]['deepClone'](_0x251086[_0x1b028b(0x2eb)][0x0]),_0x535135=_0x43aff6[_0x1b028b(0x219)][_0x1b028b(0x21d)](_0x251086[_0x1b028b(0x2eb)][0x0]);for(let _0x5f289d=_0x3b4df4[_0x1b028b(0x27b)]-0x1;_0x5f289d>=0x0;_0x5f289d--){const _0x148680={'id':_0x1b028b(0x2e1),'params':{'unitId':_0x3b4df4[_0x5f289d][_0x1b028b(0x357)],..._0x3b4df4[_0x5f289d][_0x1b028b(0x405)]}},_0x1c2435={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b4df4[_0x5f289d][_0x1b028b(0x357)],..._0x3b4df4[_0x5f289d][_0x1b028b(0x25b)]}},_0xd2785a=this[_0x1b028b(0x2ca)]['transformMutation'](_0x3042ae,_0x148680,!0x1),_0x268500=this[_0x1b028b(0x2ca)][_0x1b028b(0x337)](_0x535135,_0x1c2435,!0x1);if(_0xb9294[_0x1b028b(0x3a7)](_0xd2785a))throw _0xd2785a[_0x1b028b(0x3a5)];if(_0xb9294[_0x1b028b(0x3a7)](_0x268500))throw _0x268500[_0x1b028b(0x3a5)];_0xe1913a[_0x1b028b(0x2b6)]({..._0x3b4df4[_0x5f289d],'undoState':_0xd2785a[_0x1b028b(0x398)][_0x1b028b(0x3a3)],'redoState':_0x268500[_0x1b028b(0x398)]['params']}),_0x3042ae=_0xd2785a[_0x1b028b(0x3dc)],_0x535135=_0x268500[_0x1b028b(0x3dc)];}this[_0x1b028b(0x331)][_0x1b028b(0x3ba)](_0x2cc3b4,{'history':_0x239d2f,'collaboration':_0xe1913a});}};_0x40659a=_0x78a29f([_0x3a671b(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x3a671b(0x1,_0xb9294[_0x9c28c2(0x3b5)]),_0x3a671b(0x2,_0x43aff6['Inject'](_0x30015e[_0x9c28c2(0x3e9)]))],_0x40659a);var _0x44163b=Object['getOwnPropertyDescriptor'],_0x38f0e7=(_0x461d9d,_0x2c3930,_0x414d2a,_0x553df8)=>{const _0x52dbc6=_0x9c28c2;for(var _0x471d90=_0x553df8>0x1?void 0x0:_0x553df8?_0x44163b(_0x2c3930,_0x414d2a):_0x2c3930,_0x10d50f=_0x461d9d[_0x52dbc6(0x27b)]-0x1,_0x6f907f;_0x10d50f>=0x0;_0x10d50f--)(_0x6f907f=_0x461d9d[_0x10d50f])&&(_0x471d90=_0x6f907f(_0x471d90)||_0x471d90);return _0x471d90;},_0x1ccad8=(_0x1eb9a7,_0x406657)=>(_0x15d2a5,_0x1abb2b)=>_0x406657(_0x15d2a5,_0x1abb2b,_0x1eb9a7);let _0x37ec07=class{constructor(_0x1b4246,_0x501f5a){const _0x48440b=_0x9c28c2;this[_0x48440b(0x3a0)]=_0x1b4246,this['_transformService']=_0x501f5a;}[_0x9c28c2(0x1c3)](_0x5e967d){const _0x23c4f6=_0x9c28c2;var _0x5b2427;const _0x35b0fc=this[_0x23c4f6(0x3a0)][_0x23c4f6(0x326)](_0x4cf538[_0x23c4f6(0x2bf)]),_0x383288=(_0x5b2427=_0x35b0fc[_0x23c4f6(0x430)]())!=null?_0x5b2427:[];if(_0x383288[_0x23c4f6(0x27b)]===0x0)return;const _0x3767ef=_0x5e967d[_0x23c4f6(0x23d)],_0x59a2d7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3767ef,'actions':null,'textRanges':_0x383288}}],_0x54d154=this[_0x23c4f6(0x2ca)][_0x23c4f6(0x3a9)](_0x5e967d,_0x59a2d7);if(!_0xb9294['isTransformMutationsWithChangesetSuccess'](_0x54d154))throw _0x54d154['error'];const _0x2e73c9=_0x54d154[_0x23c4f6(0x398)][0x0][_0x23c4f6(0x3a3)][_0x23c4f6(0x1dd)];Array[_0x23c4f6(0x443)](_0x2e73c9)&&_0x2e73c9[_0x23c4f6(0x27b)]&&_0x35b0fc[_0x23c4f6(0x1d6)](_0x2e73c9,{'unitId':_0x3767ef,'subUnitId':_0x3767ef},!0x1);}};_0x37ec07=_0x38f0e7([_0x1ccad8(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x1ccad8(0x1,_0xb9294[_0x9c28c2(0x3b5)])],_0x37ec07);var _0x2c5b9c=Object[_0x9c28c2(0x2fe)],_0x310cfd=(_0x55200e,_0x3ace6c,_0x239720,_0x3c0f33)=>{const _0x5554ed=_0x9c28c2;for(var _0x212c2c=_0x3c0f33>0x1?void 0x0:_0x3c0f33?_0x2c5b9c(_0x3ace6c,_0x239720):_0x3ace6c,_0x25f47e=_0x55200e[_0x5554ed(0x27b)]-0x1,_0x2ee93e;_0x25f47e>=0x0;_0x25f47e--)(_0x2ee93e=_0x55200e[_0x25f47e])&&(_0x212c2c=_0x2ee93e(_0x212c2c)||_0x212c2c);return _0x212c2c;},_0x15c52f=(_0x375c6c,_0x12e62f)=>(_0x532280,_0x4559f0)=>_0x12e62f(_0x532280,_0x4559f0,_0x375c6c);let _0x5bb0bc=class extends _0x43aff6[_0x9c28c2(0x253)]{constructor(_0x405833,_0x47fde7,_0x2e6b01,_0x599a0c,_0x5e3f5e,_0x4d3ce1,_0x22d903,_0x518f9e){const _0x21d81e=_0x9c28c2;super(),_0x433bc1(this,_0x21d81e(0x224),new _0x22b5a0['BehaviorSubject'](_0x3c1823[_0x21d81e(0x229)]['NOT_COLLAB'])),(this[_0x21d81e(0x331)]=_0x405833,this[_0x21d81e(0x407)]=_0x47fde7,this[_0x21d81e(0x202)]=_0x2e6b01,this['_docTransformStateCacheService']=_0x599a0c,this['_docTransformSelectionsService']=_0x5e3f5e,this[_0x21d81e(0x1d3)]=_0x4d3ce1,this[_0x21d81e(0x21c)]=_0x22d903,this[_0x21d81e(0x3e8)]=_0x518f9e,this[_0x21d81e(0x2d1)]());}[_0x9c28c2(0x2d1)](){const _0x5aade0=_0x9c28c2;this[_0x5aade0(0x340)](this[_0x5aade0(0x407)]['entityInit$']['subscribe'](_0x1a6261=>{const _0x4f6ede=_0x5aade0,_0x27966f=this[_0x4f6ede(0x331)][_0x4f6ede(0x3fc)][_0x4f6ede(0x3aa)](_0x4dc825=>{const _0x2c9955=_0x4f6ede;if(_0x4dc825==null)return;const {unitId:_0x3616fe,redoState:_0xfaf040,commandId:_0x399340}=_0x4dc825;if(_0x3616fe!==_0x1a6261['unitID'])return;const _0x5a5cc0={'id':_0x399340,'type':_0x43aff6['CommandType'][_0x2c9955(0x26b)],'params':{'unitId':_0x3616fe,'actions':_0xfaf040['actions'],'textRanges':null}};_0x1a6261['onLocalMutation'](_0x5a5cc0);});if(_0x1a6261[_0x4f6ede(0x340)](_0x27966f),_0x1a6261 instanceof _0x3c1823[_0x4f6ede(0x320)]){const _0x305556={'onTransformIME':_0x144629=>this[_0x4f6ede(0x202)][_0x4f6ede(0x235)](_0x144629),'onTransformState':_0x139c11=>this[_0x4f6ede(0x360)]['transformStateCache'](_0x139c11),'onTransformSelections':_0x32c11d=>this[_0x4f6ede(0x35a)][_0x4f6ede(0x1c3)](_0x32c11d),'onSyncEditingCollabCursor':_0x19f303=>this[_0x4f6ede(0x1d3)][_0x4f6ede(0x3b8)](_0x19f303),'onTransformRemoteChangesetByIMECache':_0x1fdf34=>this['_docTransformIMECacheService'][_0x4f6ede(0x346)](_0x1fdf34),'onTransformRemoteChangesetByStateCache':_0xea283=>this['_docTransformStateCacheService'][_0x4f6ede(0x346)](_0xea283)};_0x1a6261[_0x4f6ede(0x35b)](_0x305556);}}));}};_0x5bb0bc=_0x310cfd([_0x15c52f(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x30015e['DocStateChangeManagerService'])),_0x15c52f(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x3c1823[_0x9c28c2(0x295)])),_0x15c52f(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x47c295)),_0x15c52f(0x3,_0x43aff6[_0x9c28c2(0x21f)](_0x40659a)),_0x15c52f(0x4,_0x43aff6[_0x9c28c2(0x21f)](_0x37ec07)),_0x15c52f(0x5,_0x43aff6[_0x9c28c2(0x21f)](_0x2a43ee)),_0x15c52f(0x6,_0x4c8790[_0x9c28c2(0x2e7)]),_0x15c52f(0x7,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x3dd)]))],_0x5bb0bc);var _0x1a2f85=Object[_0x9c28c2(0x2fe)],_0x3c50f3=(_0x46c5c7,_0x51eb9d,_0x577afe,_0x389180)=>{const _0x496c20=_0x9c28c2;for(var _0xcea6fc=_0x389180>0x1?void 0x0:_0x389180?_0x1a2f85(_0x51eb9d,_0x577afe):_0x51eb9d,_0x5d9dba=_0x46c5c7[_0x496c20(0x27b)]-0x1,_0x193f2a;_0x5d9dba>=0x0;_0x5d9dba--)(_0x193f2a=_0x46c5c7[_0x5d9dba])&&(_0xcea6fc=_0x193f2a(_0xcea6fc)||_0xcea6fc);return _0xcea6fc;},_0x5c7b0b=(_0x1c0b86,_0x431a6b)=>(_0x1e67f2,_0x4340a3)=>_0x431a6b(_0x1e67f2,_0x4340a3,_0x1c0b86);let _0xdf9474=class extends _0x43aff6['Disposable']{constructor(_0x4a3775,_0x472898,_0x4e00fc){const _0x2b733f=_0x9c28c2;super(),_0x433bc1(this,_0x2b733f(0x3ec),new Map()),_0x433bc1(this,_0x2b733f(0x1af),new Map()),_0x433bc1(this,'_disabled',!0x1),(this['_configService']=_0x4a3775,this[_0x2b733f(0x2fd)]=_0x472898,this['_revisionService']=_0x4e00fc);}[_0x9c28c2(0x1e5)](){const _0x8ab0f=_0x9c28c2;this[_0x8ab0f(0x3fb)]=!0x0;}[_0x9c28c2(0x1eb)](){const _0x4ca186=_0x9c28c2;this[_0x4ca186(0x3fb)]=!0x1;}get[_0x9c28c2(0x3f8)](){const _0x47ce88=_0x9c28c2;return this[_0x47ce88(0x1af)];}[_0x9c28c2(0x420)](){const _0x54ba76=_0x9c28c2;this[_0x54ba76(0x2ed)]()['then'](()=>super[_0x54ba76(0x420)]());}async[_0x9c28c2(0x205)](_0x5aa58f){const _0x5e4522=_0x9c28c2;return this['_disabled']?null:this[_0x5e4522(0x2fd)][_0x5e4522(0x2d2)](_0x3c1823[_0x5e4522(0x3d0)](_0x5aa58f));}async[_0x9c28c2(0x399)](_0x330518,_0x517430){const _0x3e6f9b=_0x9c28c2;return!!this[_0x3e6f9b(0x2fd)][_0x3e6f9b(0x379)](_0x330518,_0x517430);}['updateOfflineData'](_0x3f6c42,_0x4e081a,_0x4330ee,_0xf8fa01){const _0x117a89=_0x9c28c2,_0x24374a=this[_0x117a89(0x38f)][_0x117a89(0x2ae)](_0x3f6c42);this['_cachedData'][_0x117a89(0x289)](_0x3f6c42,{'unitID':_0x3f6c42,'type':_0x4e081a,'awaitingChangeset':_0x4330ee,'mutations':_0xf8fa01,'rev':_0x24374a}),this[_0x117a89(0x1af)][_0x117a89(0x2d3)](_0x3f6c42)||this['_scheduleSaving'](_0x3f6c42);}['_scheduleSaving'](_0x18d9da){const _0x5d02b5=_0x9c28c2,_0x1117c8=this[_0x5d02b5(0x27a)]();_0x1117c8===0x0?this['_saveCache'](_0x18d9da):this['_saveTaskMap'][_0x5d02b5(0x289)](_0x18d9da,setTimeout(()=>this[_0x5d02b5(0x3d5)](_0x18d9da),_0x1117c8));}[_0x9c28c2(0x27a)](){const _0x2bb2a9=_0x9c28c2;var _0x1c3650;return(_0x1c3650=this[_0x2bb2a9(0x368)]['getConfig'](_0x3c1823[_0x2bb2a9(0x40d)]))!=null?_0x1c3650:_0x3c1823[_0x2bb2a9(0x400)];}[_0x9c28c2(0x3d5)](_0x75030b){const _0x2ac683=_0x9c28c2,_0x4a3942=this[_0x2ac683(0x1af)][_0x2ac683(0x326)](_0x75030b);return _0x4a3942!==void 0x0&&window[_0x2ac683(0x347)](_0x4a3942),this['_localStorageService'][_0x2ac683(0x379)](_0x3c1823[_0x2ac683(0x3d0)](_0x75030b),this[_0x2ac683(0x3ec)][_0x2ac683(0x326)](_0x75030b))['then'](()=>this[_0x2ac683(0x1af)]['delete'](_0x75030b));}async['exhaustSavingTask'](){const _0x2ee90f=_0x9c28c2,_0xbf3429=[];this[_0x2ee90f(0x1af)][_0x2ee90f(0x312)]((_0x26ba03,_0x33bd19)=>{const _0x3c042a=_0x2ee90f;window['clearTimeout'](_0x26ba03),_0xbf3429['push'](this[_0x3c042a(0x3d5)](_0x33bd19)['then'](()=>{const _0x353c10=_0x3c042a;this[_0x353c10(0x1af)][_0x353c10(0x1ff)](_0x33bd19);}));}),await Promise[_0x2ee90f(0x23c)](_0xbf3429);}};_0xdf9474=_0x3c50f3([_0x5c7b0b(0x0,_0x43aff6[_0x9c28c2(0x34d)]),_0x5c7b0b(0x1,_0x43aff6[_0x9c28c2(0x1ad)]),_0x5c7b0b(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0xb9294['RevisionService']))],_0xdf9474);class _0x42a575 extends _0x43aff6[_0x9c28c2(0x35e)]{constructor(){const _0x2c0299=_0x9c28c2;super(),_0x433bc1(this,_0x2c0299(0x25a)),this[_0x2c0299(0x25a)]=_0x22b5a0[_0x2c0299(0x437)](window,_0x2c0299(0x238))[_0x2c0299(0x353)](_0x22b5a0['takeUntil'](this[_0x2c0299(0x36b)]),_0x22b5a0['shareReplay'](0x1),_0x22b5a0[_0x2c0299(0x425)](void 0x0));}[_0x9c28c2(0x3e6)](_0x3cde0f,_0x5303dd,_0x3e5e3b=!0x1){const _0x1af090=_0x9c28c2,_0x133546=new URL(window[_0x1af090(0x28d)]['href']);_0x133546['searchParams'][_0x1af090(0x289)](_0x3cde0f,_0x5303dd),_0x3e5e3b?window[_0x1af090(0x281)]['replaceState']('','',_0x133546[_0x1af090(0x31b)]()):window[_0x1af090(0x281)][_0x1af090(0x1ee)]('','',_0x133546[_0x1af090(0x31b)]());}[_0x9c28c2(0x3bd)](_0x4c7646,_0x1ff5b0=!0x1){const _0x55830c=_0x9c28c2,_0x5859a0=new URL(window['location'][_0x55830c(0x234)]);_0x5859a0['searchParams']['delete'](_0x4c7646),_0x1ff5b0?window[_0x55830c(0x281)]['replaceState']('','',_0x5859a0[_0x55830c(0x31b)]()):window[_0x55830c(0x281)][_0x55830c(0x1ee)]('','',_0x5859a0[_0x55830c(0x31b)]());}['getParam'](_0x4574b1){const _0x23ca01=_0x9c28c2;var _0x3591c0;return(_0x3591c0=new URL(window[_0x23ca01(0x28d)]['href'])[_0x23ca01(0x367)][_0x23ca01(0x326)](_0x4574b1))!=null?_0x3591c0:void 0x0;}}var _0x514dfa=Object[_0x9c28c2(0x280)],_0x2e251e=Object['getOwnPropertyDescriptor'],_0x177f1f=(_0x29f7e5,_0x11587e,_0x2ddc22)=>_0x11587e in _0x29f7e5?_0x514dfa(_0x29f7e5,_0x11587e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ddc22}):_0x29f7e5[_0x11587e]=_0x2ddc22,_0x3abf7b=(_0x49f188,_0xd189f1,_0xb8a85b,_0x5925e7)=>{for(var _0x590974=_0x5925e7>0x1?void 0x0:_0x5925e7?_0x2e251e(_0xd189f1,_0xb8a85b):_0xd189f1,_0x29ba8a=_0x49f188['length']-0x1,_0x36112c;_0x29ba8a>=0x0;_0x29ba8a--)(_0x36112c=_0x49f188[_0x29ba8a])&&(_0x590974=_0x36112c(_0x590974)||_0x590974);return _0x590974;},_0x1ec30=(_0x34321b,_0x4bc653)=>(_0x106fbf,_0xaf3631)=>_0x4bc653(_0x106fbf,_0xaf3631,_0x34321b),_0x2613c3=(_0x3e7590,_0x5acee3,_0x4d4766)=>_0x177f1f(_0x3e7590,_0x5acee3+'',_0x4d4766);const _0x4c80d8='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x46a004[_0x9c28c2(0x29e)]=class extends _0x43aff6[_0x9c28c2(0x240)]{constructor(_0x49cc1f=_0x5b91b5,_0x501316,_0x111ad8,_0x152ec3){const _0x32c745=_0x9c28c2;super(),this[_0x32c745(0x3cf)]=_0x49cc1f,this[_0x32c745(0x3da)]=_0x501316,this[_0x32c745(0x3a0)]=_0x111ad8,this['_configService']=_0x152ec3;const {..._0xe0b12a}=_0x43aff6['merge']({},_0x5b91b5,this[_0x32c745(0x3cf)]);this[_0x32c745(0x368)][_0x32c745(0x245)](_0x198fa4,_0xe0b12a);}[_0x9c28c2(0x23b)](){const _0x104323=_0x9c28c2;this[_0x104323(0x3b2)](),this[_0x104323(0x393)]();}[_0x9c28c2(0x43c)](){const _0x3ec08f=_0x9c28c2;this[_0x3ec08f(0x24d)]();}[_0x9c28c2(0x3b2)](){const _0x1b210b=_0x9c28c2;var _0x12e05b;const _0x140b0b=[[_0x52fe0d],[_0x37ec07],[_0x47c295],[_0x40659a],[_0x2a43ee],[_0x151449,{'useClass':_0x42a575}],[_0x564362['ISocketService'],{'useClass':_0x564362[_0x1b210b(0x293)]}],[_0x3c1823[_0x1b210b(0x42e)],{'useClass':_0xdf9474}],[_0x46a004[_0x1b210b(0x436)]],[_0x5bb0bc],[_0x275ade],[_0x5964c5],[_0x19dca4],[_0x46a004['CollaborationDataLoaderController']]];_0x43aff6[_0x1b210b(0x374)](this[_0x1b210b(0x3a0)],_0x43aff6[_0x1b210b(0x427)](_0x140b0b,(_0x12e05b=this['_config'])==null?void 0x0:_0x12e05b['override']));}[_0x9c28c2(0x24d)](){const _0x5a55c8=_0x9c28c2;this[_0x5a55c8(0x340)](this['_renderManagerService']['registerRenderModule'](_0x43aff6[_0x5a55c8(0x1fb)][_0x5a55c8(0x1e1)],[_0x38436b])),this[_0x5a55c8(0x340)](this[_0x5a55c8(0x3da)][_0x5a55c8(0x1fc)](_0x43aff6['UniverInstanceType'][_0x5a55c8(0x1ab)],[_0x4140ee]));}['_initDependencies'](){const _0x27500c=_0x9c28c2;_0x43aff6[_0x27500c(0x1c4)](this[_0x27500c(0x3a0)],[[_0x5964c5],[_0x46a004[_0x27500c(0x436)]],[_0x5bb0bc],[_0x275ade],[_0x46a004[_0x27500c(0x2ab)]]]);}},_0x2613c3(_0x46a004['UniverCollaborationClientUIPlugin'],_0x9c28c2(0x1b1),_0x4c80d8),_0x46a004['UniverCollaborationClientUIPlugin']=_0x3abf7b([_0x43aff6['DependentOn'](_0x3c1823[_0x9c28c2(0x1d4)]),_0x1ec30(0x1,_0x359b8a[_0x9c28c2(0x355)]),_0x1ec30(0x2,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x1ec30(0x3,_0x43aff6['IConfigService'])],_0x46a004[_0x9c28c2(0x29e)]);var _0x2128cb=Object[_0x9c28c2(0x2fe)],_0x97ea40=(_0x155068,_0x3db8b8,_0x5d3c3d,_0x477e45)=>{for(var _0x22ae6a=_0x477e45>0x1?void 0x0:_0x477e45?_0x2128cb(_0x3db8b8,_0x5d3c3d):_0x3db8b8,_0x3d0ce2=_0x155068['length']-0x1,_0x3142e7;_0x3d0ce2>=0x0;_0x3d0ce2--)(_0x3142e7=_0x155068[_0x3d0ce2])&&(_0x22ae6a=_0x3142e7(_0x22ae6a)||_0x22ae6a);return _0x22ae6a;},_0x4a2e12=(_0x4d3ff9,_0x4095d7)=>(_0x32cf00,_0x3bedd9)=>_0x4095d7(_0x32cf00,_0x3bedd9,_0x4d3ff9);_0x46a004[_0x9c28c2(0x221)]=class extends _0x3c1823[_0x9c28c2(0x388)]{constructor(_0x719a73,_0x4adf8e,_0x45afd0,_0xa6e10d,_0x4e57b7){super(_0x719a73,_0x4adf8e,_0x45afd0,_0xa6e10d,_0x4e57b7);}async[_0x9c28c2(0x3a4)](_0x2322df){const _0x5352e6=_0x9c28c2,_0x3113c7=await this[_0x5352e6(0x3b3)](),_0x5c3697=this['_createSocketURL'](_0x2322df,_0x3113c7);return this[_0x5352e6(0x1c7)](_0x5c3697);}['_createSocketURL'](_0x27acfa,_0x12613f){const _0x36970c=_0x9c28c2,_0x2c559d=typeof window>'u'?new URL(_0x27acfa):new URL(_0x27acfa,window[_0x36970c(0x28d)][_0x36970c(0x1cb)]);_0x2c559d[_0x36970c(0x367)][_0x36970c(0x289)](_0x36970c(0x2c9),_0x12613f);const _0x2b27b0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x36970c(0x1fe)]);return _0x2b27b0[_0x36970c(0x326)](_0x36970c(0x21a))&&_0x2c559d[_0x36970c(0x367)]['set'](_0x36970c(0x21a),_0x2b27b0[_0x36970c(0x326)](_0x36970c(0x21a))),_0x2c559d[_0x36970c(0x31b)]();}async[_0x9c28c2(0x3b3)](){const _0x33ca30=_0x9c28c2;var _0xa091ff,_0xf91e1c,_0x50e8da;const _0x18a7d3=this[_0x33ca30(0x368)][_0x33ca30(0x207)](_0x3c1823[_0x33ca30(0x1bf)]),_0x22e575=(_0xa091ff=_0x18a7d3==null?void 0x0:_0x18a7d3[_0x33ca30(0x30c)])!=null?_0xa091ff:_0x3c1823[_0x33ca30(0x208)];return(_0x50e8da=(_0xf91e1c=(await this[_0x33ca30(0x1f6)][_0x33ca30(0x326)](_0x22e575,{'headers':{'Content-Type':'application/json'}}))[_0x33ca30(0x2ac)])==null?void 0x0:_0xf91e1c[_0x33ca30(0x263)])!=null?_0x50e8da:'';}},_0x46a004[_0x9c28c2(0x221)]=_0x97ea40([_0x4a2e12(0x0,_0x43aff6[_0x9c28c2(0x21f)](_0x43aff6[_0x9c28c2(0x35c)])),_0x4a2e12(0x1,_0x43aff6['Inject'](_0x564362[_0x9c28c2(0x2c1)])),_0x4a2e12(0x2,_0x43aff6[_0x9c28c2(0x34d)]),_0x4a2e12(0x3,_0x43aff6[_0x9c28c2(0x1df)]),_0x4a2e12(0x4,_0xb9294['ISnapshotServerService'])],_0x46a004[_0x9c28c2(0x221)]);const _0x3565c7=0x7530,_0x7fdc67=_0x9c28c2(0x20b);class _0x33936c extends _0x43aff6[_0x9c28c2(0x253)]{constructor(){const _0x7942f3=_0x9c28c2;super(),_0x433bc1(this,_0x7942f3(0x2a3),_0x43aff6['generateRandomId']()),_0x433bc1(this,_0x7942f3(0x1c2),new Set()),_0x433bc1(this,'_unitOnClients',new Map()),_0x433bc1(this,_0x7942f3(0x1da),null),_0x433bc1(this,_0x7942f3(0x416),new Map()),_0x433bc1(this,_0x7942f3(0x2c8),new Map()),this[_0x7942f3(0x269)]();}[_0x9c28c2(0x420)](){const _0x379a2c=_0x9c28c2;super[_0x379a2c(0x420)](),this[_0x379a2c(0x416)][_0x379a2c(0x312)]((_0x15121d,_0xcc44b5)=>this[_0x379a2c(0x31e)](_0xcc44b5)),this['_heartbeatTimer']&&window[_0x379a2c(0x330)](this[_0x379a2c(0x1da)]);}['getUnitStatus$'](_0x26d844){const _0x5c990e=_0x9c28c2;return this[_0x5c990e(0x313)](_0x26d844)['pipe'](_0x22b5a0[_0x5c990e(0x391)]());}[_0x9c28c2(0x3f7)](_0x39a74f){const _0x8ffa16=_0x9c28c2;this[_0x8ffa16(0x1c2)][_0x8ffa16(0x1b7)]===0x0&&this[_0x8ffa16(0x2f9)](),this[_0x8ffa16(0x1c2)][_0x8ffa16(0x2cc)](_0x39a74f),this['_send']({'type':0x0,'memberID':this[_0x8ffa16(0x2a3)],'unitIDs':[_0x39a74f],'isForwarded':!0x1});}[_0x9c28c2(0x38c)](_0x469cea){const _0x5f0c09=_0x9c28c2;this['_selfUnitIDs'][_0x5f0c09(0x1ff)](_0x469cea),this['_selfUnitIDs'][_0x5f0c09(0x1b7)]===0x0&&this['_heartbeatTimer']&&window[_0x5f0c09(0x330)](this[_0x5f0c09(0x1da)]);}['_init'](){const _0x222568=_0x9c28c2;this[_0x222568(0x340)](_0x43aff6['toDisposable'](_0x22b5a0[_0x222568(0x437)](window,_0x222568(0x349))[_0x222568(0x3aa)](_0x134dff=>{const _0x12fed6=_0x222568;if(_0x134dff['key']!==_0x7fdc67||!_0x134dff[_0x12fed6(0x314)])return;const _0x3b802a=JSON[_0x12fed6(0x395)](_0x134dff[_0x12fed6(0x314)]);this[_0x12fed6(0x268)](_0x3b802a);}))),window['addEventListener'](_0x222568(0x3e1),()=>this[_0x222568(0x3e5)]({'type':0x1,'memberID':this[_0x222568(0x2a3)],'unitIDs':Array[_0x222568(0x2b1)](this['_selfUnitIDs'])}));}[_0x9c28c2(0x268)](_0x2a572c){const _0x9ad710=_0x9c28c2;switch(_0x2a572c['type']){case 0x0:this[_0x9ad710(0x25d)](_0x2a572c);break;case 0x1:this[_0x9ad710(0x3fd)](_0x2a572c);break;case 0x2:this[_0x9ad710(0x302)](_0x2a572c);break;}}[_0x9c28c2(0x25d)](_0xb6044a){const _0x1bbd42=_0x9c28c2,{unitIDs:_0x42d0f4,memberID:_0x47d5a5,isForwarded:_0x43300d}=_0xb6044a;_0x42d0f4[_0x1bbd42(0x312)](_0x22a745=>{const _0x23bccc=_0x1bbd42;if(!_0x43300d&&this[_0x23bccc(0x3d2)][_0x23bccc(0x2d3)](_0x22a745)&&this[_0x23bccc(0x313)](_0x22a745)[_0x23bccc(0x254)](_0x3c1823['UnitStatus'][_0x23bccc(0x277)]),!this['_unitOnClients'][_0x23bccc(0x2d3)](_0x22a745)||!this[_0x23bccc(0x3d2)][_0x23bccc(0x326)](_0x22a745)['has'](_0x47d5a5)){const _0x23e519=this[_0x23bccc(0x3d2)]['get'](_0x22a745)||new Set();_0x23e519['add'](_0x47d5a5),this[_0x23bccc(0x3d2)][_0x23bccc(0x289)](_0x22a745,_0x23e519),this[_0x23bccc(0x1fa)](_0x47d5a5);}}),_0x43300d||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x9c28c2(0x1fa)](_0x594f1e){const _0x2d5bda=_0x9c28c2;this[_0x2d5bda(0x31e)](_0x594f1e);const _0x45fcc7=window['setTimeout'](()=>{const _0x46890d=_0x2d5bda;this[_0x46890d(0x3d2)][_0x46890d(0x312)](_0x279039=>{const _0xd0a7f8=_0x46890d;_0x279039[_0xd0a7f8(0x1ff)](_0x594f1e);});},_0x3565c7*0x2);this[_0x2d5bda(0x416)]['set'](_0x594f1e,_0x45fcc7);}[_0x9c28c2(0x31e)](_0xfd43e3){const _0x4ea2e5=_0x9c28c2;if(this[_0x4ea2e5(0x416)][_0x4ea2e5(0x2d3)](_0xfd43e3)){const _0x2d15a7=this[_0x4ea2e5(0x416)][_0x4ea2e5(0x326)](_0xfd43e3);_0x2d15a7&&window[_0x4ea2e5(0x347)](_0x2d15a7),this['_clearOtherTimers'][_0x4ea2e5(0x289)](_0xfd43e3,null);}}[_0x9c28c2(0x3fd)](_0x436cad){const _0x30de6c=_0x9c28c2,{memberID:_0x3f6c77,unitIDs:_0x54255d}=_0x436cad;_0x54255d[_0x30de6c(0x312)](_0x253200=>{const _0x10197b=_0x30de6c;var _0x959cb6;const _0x5450b2=this[_0x10197b(0x3d2)][_0x10197b(0x326)](_0x253200);_0x5450b2&&(_0x5450b2[_0x10197b(0x1ff)](_0x3f6c77),(_0x959cb6=this['_ensureSubject'](_0x253200))==null||_0x959cb6['next'](_0x5450b2['size']===0x0?_0x3c1823[_0x10197b(0x37b)]['NO_OTHER_CLIENTS_EDITING']:_0x3c1823[_0x10197b(0x37b)][_0x10197b(0x277)]));}),this[_0x30de6c(0x31e)](_0x3f6c77);}['_handleHeartbeatEvent'](_0x378014){const _0x2fcbb0=_0x9c28c2;this[_0x2fcbb0(0x1fa)](_0x378014[_0x2fcbb0(0x20c)]);}[_0x9c28c2(0x3e5)](_0xa53fc1){const _0x542ebb=_0x9c28c2;localStorage[_0x542ebb(0x379)](_0x7fdc67,JSON[_0x542ebb(0x344)](_0xa53fc1));}[_0x9c28c2(0x2f9)](){const _0x49dbb4=_0x9c28c2;this['_heartbeatTimer']=window[_0x49dbb4(0x366)](()=>{const _0x43731b=_0x49dbb4;this[_0x43731b(0x3e5)]({'type':0x2,'memberID':this[_0x43731b(0x2a3)]});},_0x3565c7);}[_0x9c28c2(0x313)](_0x2756d8){const _0xedada=_0x9c28c2;return this['_unitStatus'][_0xedada(0x2d3)](_0x2756d8)||this[_0xedada(0x2c8)][_0xedada(0x289)](_0x2756d8,new _0x22b5a0['BehaviorSubject'](_0x3c1823[_0xedada(0x37b)][_0xedada(0x1e4)])),this[_0xedada(0x2c8)][_0xedada(0x326)](_0x2756d8);}}var _0x31f1f8=(_0x38848b=>(_0x38848b[_0x38848b[_0x9c28c2(0x2cb)]=0x0]=_0x9c28c2(0x2cb),_0x38848b[_0x38848b['OK']=0x1]='OK',_0x38848b[_0x38848b[_0x9c28c2(0x251)]=0x2]=_0x9c28c2(0x251),_0x38848b[_0x38848b['PERMISSION_DENIED']=0x3]=_0x9c28c2(0x2ff),_0x38848b[_0x38848b[_0x9c28c2(0x2f7)]=0x4]=_0x9c28c2(0x2f7),_0x38848b[_0x38848b[_0x9c28c2(0x31a)]=0x5]='UNAUTHENTICATED',_0x38848b[_0x38848b[_0x9c28c2(0x1f0)]=0x6]=_0x9c28c2(0x1f0),_0x38848b[_0x38848b[_0x9c28c2(0x36e)]=0x7]=_0x9c28c2(0x36e),_0x38848b[_0x38848b[_0x9c28c2(0x37e)]=0x8]=_0x9c28c2(0x37e),_0x38848b[_0x38848b['COMPLETION_FINISHED']=0x9]=_0x9c28c2(0x2b3),_0x38848b[_0x38848b[_0x9c28c2(0x31c)]=0xa]=_0x9c28c2(0x31c),_0x38848b[_0x38848b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x9c28c2(0x390),_0x38848b[_0x38848b[_0x9c28c2(0x300)]=0xc]=_0x9c28c2(0x300),_0x38848b[_0x38848b['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x9c28c2(0x305),_0x38848b[_0x38848b[_0x9c28c2(0x3f1)]=0xe]=_0x9c28c2(0x3f1),_0x38848b[_0x38848b[_0x9c28c2(0x287)]=0x1389]=_0x9c28c2(0x287),_0x38848b[_0x38848b[_0x9c28c2(0x31d)]=0x1771]=_0x9c28c2(0x31d),_0x38848b[_0x38848b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x9c28c2(0x3d8),_0x38848b[_0x38848b[_0x9c28c2(0x22d)]=0x1773]=_0x9c28c2(0x22d),_0x38848b[_0x38848b['APPLY_REJECT']=0x1b59]=_0x9c28c2(0x3de),_0x38848b[_0x38848b[_0x9c28c2(0x3ae)]=0x1b5a]=_0x9c28c2(0x3ae),_0x38848b[_0x38848b['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x38848b[_0x38848b['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x38848b[_0x38848b['APPLY_DUPLICATED']=0x1b5d]=_0x9c28c2(0x1f7),_0x38848b[_0x38848b[_0x9c28c2(0x1ba)]=0x1f41]=_0x9c28c2(0x1ba),_0x38848b[_0x38848b[_0x9c28c2(0x3b1)]=0x2329]=_0x9c28c2(0x3b1),_0x38848b[_0x38848b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x9c28c2(0x441),_0x38848b[_0x38848b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x9c28c2(0x311),_0x38848b[_0x38848b[_0x9c28c2(0x3f4)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x38848b[_0x38848b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x9c28c2(0x378),_0x38848b[_0x38848b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x9c28c2(0x421),_0x38848b[_0x38848b[_0x9c28c2(0x1f5)]=0x2712]=_0x9c28c2(0x1f5),_0x38848b[_0x38848b[_0x9c28c2(0x225)]=0x2713]=_0x9c28c2(0x225),_0x38848b[_0x38848b[_0x9c28c2(0x1c5)]=0x2714]=_0x9c28c2(0x1c5),_0x38848b[_0x38848b[_0x9c28c2(0x1d7)]=0x271a]=_0x9c28c2(0x1d7),_0x38848b[_0x38848b[_0x9c28c2(0x392)]=0x271b]=_0x9c28c2(0x392),_0x38848b[_0x38848b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x9c28c2(0x3ac),_0x38848b[_0x38848b['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x9c28c2(0x214),_0x38848b[_0x38848b['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x9c28c2(0x3c5),_0x38848b[_0x38848b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x9c28c2(0x43b),_0x38848b[_0x38848b[_0x9c28c2(0x401)]=0x2720]=_0x9c28c2(0x401),_0x38848b[_0x38848b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x9c28c2(0x241),_0x38848b[_0x38848b[_0x9c28c2(0x233)]=0x2ee1]=_0x9c28c2(0x233),_0x38848b[_0x38848b[_0x9c28c2(0x2a5)]=0x2ee2]=_0x9c28c2(0x2a5),_0x38848b[_0x38848b[_0x9c28c2(0x33c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x38848b[_0x38848b['USER_NOT_INVITED_CODE']=0x2ee4]=_0x9c28c2(0x23f),_0x38848b[_0x38848b[_0x9c28c2(0x2e2)]=0x2ee5]=_0x9c28c2(0x2e2),_0x38848b[_0x38848b[_0x9c28c2(0x248)]=0x32c9]=_0x9c28c2(0x248),_0x38848b[_0x38848b[_0x9c28c2(0x1e3)]=0x32ca]=_0x9c28c2(0x1e3),_0x38848b[_0x38848b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x9c28c2(0x3d9),_0x38848b[_0x38848b[_0x9c28c2(0x258)]=-0x1]=_0x9c28c2(0x258),_0x38848b))(_0x31f1f8||{}),_0x5da0a6=Object[_0x9c28c2(0x2fe)],_0x57c726=(_0x478f0e,_0x1280d3,_0x178523,_0x45186e)=>{const _0x55fca6=_0x9c28c2;for(var _0x3d8194=_0x45186e>0x1?void 0x0:_0x45186e?_0x5da0a6(_0x1280d3,_0x178523):_0x1280d3,_0x1dd8f4=_0x478f0e[_0x55fca6(0x27b)]-0x1,_0x2ed222;_0x1dd8f4>=0x0;_0x1dd8f4--)(_0x2ed222=_0x478f0e[_0x1dd8f4])&&(_0x3d8194=_0x2ed222(_0x3d8194)||_0x3d8194);return _0x3d8194;},_0x160055=(_0x2db48e,_0x38afe9)=>(_0x2d0016,_0x4b37ad)=>_0x38afe9(_0x2d0016,_0x4b37ad,_0x2db48e);_0x46a004[_0x9c28c2(0x265)]=class extends _0x43aff6[_0x9c28c2(0x253)]{constructor(_0x163b3c,_0x1c45c5,_0x1e3e36){const _0x4cf1f6=_0x9c28c2;super(),this[_0x4cf1f6(0x419)]=_0x163b3c,this[_0x4cf1f6(0x1f6)]=_0x1c45c5,this[_0x4cf1f6(0x368)]=_0x1e3e36;}async[_0x9c28c2(0x26c)](_0x2041be,_0x209a39,_0x3cc5c9,..._0x19faaa){const _0xd2f294=_0x9c28c2;var _0xe94240,_0x41ce5e,_0x190352,_0x29b617;const _0x2d1d8d=this[_0xd2f294(0x419)]['getFocusedUnit']();if(!_0x2d1d8d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x7d5e37=((_0xe94240=this[_0xd2f294(0x368)][_0xd2f294(0x207)](_0x3c1823[_0xd2f294(0x29f)]))!=null?_0xe94240:_0x3c1823[_0xd2f294(0x3b0)])+'/'+_0x2041be+_0xd2f294(0x32a)+_0x209a39,_0x250a89=new URL(window[_0xd2f294(0x28d)][_0xd2f294(0x234)]),_0xb50802={'scriptId':_0x2041be,'runId':(_0x41ce5e=_0x250a89['searchParams'][_0xd2f294(0x326)](_0xd2f294(0x21a)))!=null?_0x41ce5e:'','function':_0x209a39,'unitId':_0x2d1d8d[_0xd2f294(0x318)](),'argsOfFunction':JSON[_0xd2f294(0x344)](_0x19faaa),'invokeId':(_0x190352=_0x3cc5c9['invokeId'])!=null?_0x190352:'','executionId':(_0x29b617=_0x3cc5c9['executionId'])!=null?_0x29b617:''};try{const _0xccca99=await this['_httpService'][_0xd2f294(0x267)](_0x7d5e37,{'body':_0xb50802});return _0xccca99[_0xd2f294(0x2ac)][_0xd2f294(0x3a5)]&&_0xccca99[_0xd2f294(0x2ac)]['error']['code']!==_0x31f1f8['OK']?_0xd2f294(0x236):_0xccca99[_0xd2f294(0x2ac)][_0xd2f294(0x39d)];}catch{return _0xd2f294(0x236);}}},_0x46a004[_0x9c28c2(0x265)]=_0x57c726([_0x160055(0x0,_0x43aff6[_0x9c28c2(0x3bb)]),_0x160055(0x1,_0x43aff6[_0x9c28c2(0x21f)](_0x564362[_0x9c28c2(0x2c1)])),_0x160055(0x2,_0x43aff6[_0x9c28c2(0x34d)])],_0x46a004['RemoteUniscriptService']),_0x46a004[_0x9c28c2(0x412)]=_0x2a41e7,_0x46a004[_0x9c28c2(0x222)]=_0x151449,_0x46a004[_0x9c28c2(0x364)]=_0x23980c,_0x46a004[_0x9c28c2(0x1f9)]=_0x33936c,_0x46a004['WebURLService']=_0x42a575,Object[_0x9c28c2(0x280)](_0x46a004,Symbol[_0x9c28c2(0x442)],{'value':_0x9c28c2(0x426)});}));function _0xd233(){const _0x5bc989=['concat','fillStyle','UniverNetwork','COLORS','pipe','getActiveSheet','IRenderManagerService','url(#on-line-icon_clip0_910_349)','unitId','_startDocCollabCursor','send','_docTransformSelectionsService','addHandlerCallback','Injector','_cursors','RxDisposable','eventID','_docTransformStateCacheService','UniverRpc','react','currentColor','SheetCollabCursorShape','exports','setInterval','searchParams','_configService','filter','SOCKET_FAILED','dispose$','color','_shapes','INVALID_ARGUMENT','_color','isActive','SUBMIT_CHANGESET_TIMEOUT','_updateLocalCursor','IUIPartsService','registerDependencies','_onCursorDelete','findNodePositionByCharIndex','61717iXwFLy','LICENSE_DISTRO_REJECTED','setItem','getCellPositionByOffset','UnitStatus','collab-client.tooltip.reconnect','_range','TOO_MANY_REQUESTS','getSheetBySheetId','function','serializeRangeWithSheet','getParam','drawWith','Shape','getSheetId','SessionStatus','getCurrentUnitForType','CollaborationSocketService','_drawAnchor','_collaborationUIEventService','IRemoteInstanceService','disposeUnit','_initCommandExecutedListener','_colorIndex','_revisionService','MOBILE_VERIFY_CODE_MISMATCH','distinctUntilChanged','YUUMI_ASYNCIO_CANCELLED','_initDependencies','collaboration.closeRoom','parse','max','761174vwrdHi','m2Prime','saveOfflineData','measureText','_anchorDot','text','result','ICommandService','black','_injector','_syncEditingCollabCursorService','@univerjs/sheets','params','createSocket','error','uni.network.url-service','isTransformMutationFailure','FromArray','transformMutationsWithChangeset','subscribe','defIds','YUUMI_TABLE_NOT_FOUND_IN_UNIT','1em','APPLY_NON_SEQUENTIAL_REVISION','children','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_MAX_UNITS_EXCEEDED','_registerDependencies','_getSessionTicket','_initResize','ITransformService','UniverDocs','yellow.400','syncEditingCollabCursor','SetSelectionsOperation','setStateCache','IUniverInstanceService','DeleteRangeMoveLeftCommandId','removeParam','_imageIoService','cursorInfo','_draw','debounce','currentSkeleton$','_backgroundColor','_transformUndoRedoStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','string','session.will-retry','hovered','handleIRemoveCol','InsertColCommandId','session.connection-failed','top','subscribeEvent','1302462KcBYBM','_config','getLocalCacheKey','_refRangeService','_unitOnClients','sessionStatus$','roomMembers','_saveCache','@univerjs/engine-formula','connectInjector','SNAPSHOT_HAS_BEEN_REMOVED','EMAIL_HAS_BEEN_BOUND','_renderManagerService','_render','m1Prime','LocaleService','APPLY_REJECT','unsubscribe','contains','unload','InsertRowCommandId','UniverSheets','onPointerLeave$','_send','setParam','_anchor','_localeService','DocStateChangeManagerService','DocIMEInputManagerService','3984463pOfCOz','_cachedData','getColor','UniverDesign','onPointerEnter$','ranges','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','makeDirty','onTransformChange$','LICENSE_EXPORT_SIZE_EXCEEDED','width','getCollabCursors$','editingUnit','saveTaskMap','CollaborationEvent','_memberService','_disabled','docStateChange$','_handleLeaveEvent','includes','split','LOCAL_CACHE_INTERVAL','YUUMI_CONNECTOR_URL_NOT_FOUND','_entities','_commandService','BuiltInUIPart','undoState','beginPath','_collaborationController','useCallback','@univerjs/engine-render','RefRangeService','@univerjs-pro/collaboration','apply','LOCAL_CACHE_INTERVAL_KEY','currentTheme$','getAncestorScale','_roomMembers$','InsertRangeMoveDownCommandId','CollaborationStatusDisplay','_transformHistoryAndStateStack','SetDocZoomRatioOperation','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_clearOtherTimers','_transformPreviousActiveRange','transformByState','_instanceService','getCoordByCell','prototype','registerBeforeClose','subUnitId','defs','onMouseMove','dispose','YUUMI_UNABLE_LOAD_URL','8fOANbm','setAlpha','_getAnchorBounding','mapTo','Module','mergeOverrideWithDependencies','_collabCursorState$','getTypeOfUnitAdded$','_themeService','CollaborationUIEventService','_sheetSkeletonManagerService','RECT','ILocalCacheService','cursorInfo$','getDocRanges','univer-flex\x20univer-items-center','_docSkeletonManagerService','throttleTime','@univerjs/docs','collaboration-client-ui.config','DesktopCollaborationStatusDisplayController','fromEvent','collab-text-anchor-','whenReady','on-line-icon','YUUMI_AI_RUN_FAILED','onRendered','reconnect','Workbook','DeleteRangeMoveUpCommandId','_notificationService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','toStringTag','isArray','activeSheet$','registerRefRange','_initEvent','white','UNIVER_SHEET','SOCKET_FAILED_RETRY','ILocalStorageService','assignAColorForMemberID','_saveTaskMap','object','pluginName','_assignedColors','useRef','switchMap','jsx','getRenderById','size','getOffsetConfig','_lastPointer','CONNECTOR_DATA_TOO_LARGE','univer-mr-2\x20univer-flex\x20univer-text-xl','sheetId','_initStatusComponent','init','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_scene','_onCursorUpdate','_selfUnitIDs','transformSelections','touchDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','requireSession','_doCreateSocket','combineLatest','_beforeCloseService','complete','origin','_entityInit$','SetWorksheetActivateCommand','Warning','MoveRangeCommandId','collabStatus.syncing','getFocusedUnit','_cursorInfo$','_docSyncEditingCollabCursorService','UniverCollaborationClientPlugin','OTHER_CLIENT_EDITING','replaceDocRanges','YUUMI_NO_CUBOID_FOR_QUESTION','name','restore','_heartbeatTimer','focused$','values','textRanges','getVpScrollXYInfoByPosToVp','ILogService','setUndoRedoMutationParamsCache','UNIVER_DOC','UniverProCollaborationClient','MOBILE_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','disableLocalCache','path','none','startRow','OffLineIcon','hasOwnProperty','enableLocalCache','ThemeService','Rect','pushState','getRelativeToViewportCoord','ALREADY_EXISTS','_cursor','tag','translate(.97)','takeUntil','YUUMI_URL_COL_OUT_OF_RANGE','_httpService','APPLY_DUPLICATED','icon','WebBrowserSingleActiveUnitService','_scheduleClearOtherTimer','UniverInstanceType','registerRenderModule','TEXT','search','delete','collabStatus.conflict','url(#$1','_docTransformIMECacheService','toRgbString','attrs','loadOfflineData','getUndoRedoMutationParamsCache','getConfig','DEFAULT_WS_SESSION_TICKET_URL','getTypeOfUnitDisposed$','RegularPolygon','ACTIVE_UNIT_EVENT_CHANNEL','memberID','_logService','NodePositionConvertToRectRange','forwardRef','UniverProCollaboration','Vector2','column','random','YUUMI_ALL_TABLES_IS_INVALID','UniverEngineRender','...','_textBubble','hide','Tools','runId','on-line-icon_clip0_910_349','_messageService','deepClone','debounceTime','Inject','off-line-icon_clip0_910_343','BrowserCollaborationSocketService','IURLService','className','_status$','YUUMI_RATE_OVER_LIMIT','collabCursorState$','createElement','MemberService','CollaborationStatus','svg','permission.content','collaboration.single-unit.warning','ENSURE_SNAPSHOT_EXECUTION','_online','OFFLINE','onCommandExecuted','createInstance','collabStatus.notCollab','INVITE_CODE_HAS_BEEN_UES','href','transformIMECache','Failed','colorChannel1','popstate','map','EffectRefRangId','onStarting','all','unitID','_drawRectRange','USER_NOT_INVITED_CODE','Plugin','PY_RUNTIME_SCRIPT_ERROR','CollaborationSessionService','session.collaboration-timeout','USERS_LEAVE','setConfig','with','_uiPartsService','WECHAT_HAS_BEEN_BOUND','event$','92ifPyZI','_collabSessionService','_hovered','_registerRenderDependencies','debug','collab-rect-range-','JOIN_ROOM_FAILED','INTERNAL_ERROR','getCurrentSelections','Disposable','next','BehaviorSubject','_docClipboardService','find','UNRECOGNIZED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','urlChange$','redoState','_document','_handleJoinEvent','260148bukOTk','DOC_RANGE_TYPE','_removeCollabCursors','indexOf','getCollabEntity$','ticket','startsWith','RemoteUniscriptService','_name','post','_handleEvent','_init','skeleton','MUTATION','runOnServer','getOwnPropertySymbols','displayName','_hover','OnLineIcon','getRangePointData','bottom','height','ColorKit','deserializeRangeWithSheet','triggerDblclick','OTHER_CLIENTS_EDITING','_context','transform','_getSaveTimeout','length','_initStatusListener','fill','_updateURLWithCurrentState','backgroundColor','defineProperty','history','unit','idSuffix','addObject','getMember','_cursorShapes','CHANGESET_REVISION_CONFILICT','imageSourceType','set','selections','selection','@univerjs/ui','location','off-line-icon','0\x200\x2016\x2016','loadUnit','Error','subunit','WebSocketService','range','CollaborationController','clipPath','InsertRangeMoveRightCommandId','getMemberID','entries','trim','resize','IDocClipboardService','Optional','UniverCollaborationClientUIPlugin','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CONFLICT','_session','use','_id','green.600','INVALID_INVITE_CODE','334614GiXwPp','then','http://www.w3.org/2000/svg','labelPosition','getValue','CollaborationDataLoaderController','body','saveImage','getCurrentRevOfUnit','jiqing.500','_univerInstanceService','from','row','COMPLETION_FINISHED','evenodd','MessageType','unshift','Rectangle','generateRandomId','handleDeleteRangeMoveLeft','NOT_COLLAB','_toggleOffline','UniverDocsUi','getActiveRange','data','DocSelectionManagerService','getSkeleton','HTTPService','_toggleOnline','@univerjs/docs-ui','#FFF','xlink:href','PENDING','source','_unitStatus','sessionTicket','_transformService','UNDEFINED','add','TEXT_RANGE_LAYER_INDEX','setShapeProps','_dataLoaderService','_colorAssignService','_initEntityListener','getItem','has','_docSkeleton','RemoveColCommandId','_startSheetCollabCursor','_getMergeRange','UPDATE_CURSOR','_setupSubUnitSync','collab-text-range-','Tooltip','closePath','_setupBeforeClosingHandler','operators','_getScale','createIdentifier','doc.mutation.rich-text-editing','INVITE_CODE_ALREADY_BOUND','round','extend','_handleHover','_refreshCollabCursors','IMessageService','RemoveRowCommandId','flatMap','react/jsx-runtime','mutations','some','exhaustSavingTask','CollaborationUIEventId','rxjs','UniverProCollaborationClientUi','type','_labelPosition','_onRefRangeChange','_updateCollabCursors','useDependency','[CollaborationDataLoaderController]','NOT_FOUND','_urlService','_scheduleHeartbeat','arc','font','assign','_localStorageService','getOwnPropertyDescriptor','PERMISSION_DENIED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','asObservable','_handleHeartbeatEvent','getColorFromTheme','useObservable','EMAIL_VERIFY_CODE_MISMATCH','VIEW_MAIN','_hideTimer','54115bRIYnD','UniverEngineFormula','isEditing','addObjects','wsSessionTicketUrl','getUnhiddenWorksheets','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','AWAITING','propertyIsEnumerable','LICENSE_IMPORT_SIZE_EXCEEDED','forEach','_ensureSubject','newValue','roomMembers$','_collabCursorController','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','getUnitId','@univerjs/design','UNAUTHENTICATED','toString','LOGIN_FAILED','SNAPSHOT_INVALID_SNAPSHOT','_removeClearOtherTimer','_drawTextRange','DocCollaborationEntity','@univerjs/network','mask','lineTo','show','_updateSubUnitFromURLParams','get','getSheetObject','onPointerMove$','push','/run/','M0\x200H16V16H0z','handleDeleteRangeMoveUp','@univerjs-pro/collaboration-client','red.300','UniverUi','clearInterval','_docStateChangeManagerService','Unknown\x20user','@univerjs/drawing','endColumn','React','rxjs/operators','transformMutation','SYNCED','executeCommand','isTransformMutationsWithChangesetSuccess','handleInsertRow','INVITE_CODE_REQUIRED','call','fillText','NodePositionConvertToCursor','disposeWithMe','IImageIoService','handleMoveRange','min','stringify','@univerjs/sheets-ui','transformRemoteChangeset','clearTimeout','_getSheetObject','storage','_eventUnsubscribe','SHEET_VIEWPORT_KEY','symbol','IConfigService','DataLoaderService'];_0xd233=function(){return _0x5bc989;};return _0xd233();}