@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-89a0949 → 0.6.10-experimental.20250427-825ae55

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 _0xe752(_0x4eb3ed,_0x29c61e){const _0x547b0a=_0x547b();return _0xe752=function(_0xe752e6,_0x4e1d55){_0xe752e6=_0xe752e6-0x168;let _0xeb1508=_0x547b0a[_0xe752e6];return _0xeb1508;},_0xe752(_0x4eb3ed,_0x29c61e);}(function(_0x320ae9,_0x25aad1){const _0x4ebb7c=_0xe752,_0x21c0bd=_0x320ae9();while(!![]){try{const _0x32a1bc=parseInt(_0x4ebb7c(0x2f1))/0x1+-parseInt(_0x4ebb7c(0x1ac))/0x2+-parseInt(_0x4ebb7c(0x26d))/0x3*(parseInt(_0x4ebb7c(0x16c))/0x4)+parseInt(_0x4ebb7c(0x309))/0x5*(-parseInt(_0x4ebb7c(0x1b7))/0x6)+-parseInt(_0x4ebb7c(0x381))/0x7*(-parseInt(_0x4ebb7c(0x258))/0x8)+-parseInt(_0x4ebb7c(0x351))/0x9*(parseInt(_0x4ebb7c(0x2ce))/0xa)+parseInt(_0x4ebb7c(0x285))/0xb;if(_0x32a1bc===_0x25aad1)break;else _0x21c0bd['push'](_0x21c0bd['shift']());}catch(_0x2d3740){_0x21c0bd['push'](_0x21c0bd['shift']());}}}(_0x547b,0x7d884),function(_0x2a9b6e,_0x8047ea){const _0x3696b3=_0xe752;typeof exports==_0x3696b3(0x186)&&typeof module<'u'?_0x8047ea(exports,require(_0x3696b3(0x256)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x3696b3(0x1fb)),require(_0x3696b3(0x3e5)),require(_0x3696b3(0x3e1)),require(_0x3696b3(0x1bb)),require(_0x3696b3(0x1c9)),require(_0x3696b3(0x2c5)),require(_0x3696b3(0x27a)),require(_0x3696b3(0x2f6)),require(_0x3696b3(0x371)),require(_0x3696b3(0x37c)),require('react/jsx-runtime'),require(_0x3696b3(0x38d)),require(_0x3696b3(0x227)),require(_0x3696b3(0x1b4)),require(_0x3696b3(0x327))):typeof define=='function'&&define[_0x3696b3(0x3ef)]?define([_0x3696b3(0x338),'@univerjs-pro/collaboration-client',_0x3696b3(0x3cb),_0x3696b3(0x288),_0x3696b3(0x1fb),'@univerjs/docs-ui','@univerjs/drawing',_0x3696b3(0x1bb),_0x3696b3(0x1c9),_0x3696b3(0x2c5),'@univerjs/engine-formula',_0x3696b3(0x2f6),_0x3696b3(0x371),'@univerjs/sheets-ui',_0x3696b3(0x1b0),_0x3696b3(0x38d),'@univerjs/design',_0x3696b3(0x1b4),_0x3696b3(0x327)],_0x8047ea):(_0x2a9b6e=typeof globalThis<'u'?globalThis:_0x2a9b6e||self,_0x8047ea(_0x2a9b6e[_0x3696b3(0x387)]={},_0x2a9b6e[_0x3696b3(0x2a0)],_0x2a9b6e[_0x3696b3(0x238)],_0x2a9b6e[_0x3696b3(0x36f)],_0x2a9b6e[_0x3696b3(0x3d0)],_0x2a9b6e[_0x3696b3(0x2aa)],_0x2a9b6e[_0x3696b3(0x246)],_0x2a9b6e[_0x3696b3(0x1bb)],_0x2a9b6e[_0x3696b3(0x1ab)],_0x2a9b6e['UniverProCollaboration'],_0x2a9b6e[_0x3696b3(0x36a)],_0x2a9b6e[_0x3696b3(0x2a8)],_0x2a9b6e['rxjs'][_0x3696b3(0x28d)],_0x2a9b6e['UniverSheetsUi'],_0x2a9b6e[_0x3696b3(0x3e8)],_0x2a9b6e[_0x3696b3(0x388)],_0x2a9b6e[_0x3696b3(0x296)],_0x2a9b6e[_0x3696b3(0x3e8)],_0x2a9b6e[_0x3696b3(0x37a)]));}(this,function(_0x18110a,_0x345800,_0x5451dd,_0x177a4a,_0x4936a4,_0x2ab7a6,_0x397d65,_0x2918d8,_0x312bdc,_0xe29c42,_0x41e24e,_0x550773,_0x41845d,_0x568638,_0x4f030b,_0x363b55,_0x1e2a6b,_0x39bcbd,_0x382cc7){'use strict';const _0x1b79a9=_0xe752;var _0x15c09e=Object[_0x1b79a9(0x34f)],_0x126999=(_0x4b7d95,_0x4b3303,_0x29f970)=>_0x4b3303 in _0x4b7d95?_0x15c09e(_0x4b7d95,_0x4b3303,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29f970}):_0x4b7d95[_0x4b3303]=_0x29f970,_0x5a8f73=(_0x39b5e6,_0x5a3c60,_0x2c8540)=>_0x126999(_0x39b5e6,typeof _0x5a3c60!=_0x1b79a9(0x2e1)?_0x5a3c60+'':_0x5a3c60,_0x2c8540),_0x1636c6=Object[_0x1b79a9(0x3a7)],_0xa179d4=(_0x598feb,_0xef5694,_0x5b290f,_0x4f272b)=>{const _0x123101=_0x1b79a9;for(var _0x3d2556=_0x4f272b>0x1?void 0x0:_0x4f272b?_0x1636c6(_0xef5694,_0x5b290f):_0xef5694,_0x1bd445=_0x598feb[_0x123101(0x2d5)]-0x1,_0x2f0326;_0x1bd445>=0x0;_0x1bd445--)(_0x2f0326=_0x598feb[_0x1bd445])&&(_0x3d2556=_0x2f0326(_0x3d2556)||_0x3d2556);return _0x3d2556;},_0x5d00c1=(_0x2d02cb,_0x10fec5)=>(_0x3d6d31,_0x7d7a1b)=>_0x10fec5(_0x3d6d31,_0x7d7a1b,_0x2d02cb);let _0xb4314f=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x39085c,_0x19faac){const _0x310672=_0x1b79a9;super(),this[_0x310672(0x2a4)]=_0x39085c,this['_imageIoService']=_0x19faac,this['_init']();}[_0x1b79a9(0x2b6)](){const _0x1e0109=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x43bc87=>{const _0x5a343a=_0xe752,_0x1d725a=await _0x1e0109[_0x5a343a(0x3bc)][_0x5a343a(0x3cc)](_0x43bc87);return _0x1d725a?{'source':_0x1d725a[_0x5a343a(0x35d)],'imageSourceType':_0x1d725a['imageSourceType']}:null;}}));}};_0xb4314f=_0xa179d4([_0x5d00c1(0x0,_0x2ab7a6['IDocClipboardService']),_0x5d00c1(0x1,_0x397d65['IImageIoService'])],_0xb4314f);const _0x181880=['purple300',_0x1b79a9(0x33e),_0x1b79a9(0x3cf),'red300','blue400',_0x1b79a9(0x36e)];class _0x30ee06 extends _0x5451dd['Disposable']{constructor(){const _0x37ed11=_0x1b79a9;super(...arguments),_0x5a8f73(this,_0x37ed11(0x282),new Map()),_0x5a8f73(this,'_colorIndex',0x0);}[_0x1b79a9(0x2dd)](_0x1a0318){const _0x4b8df4=_0x1b79a9;if(this['_assignedColors']['has'](_0x1a0318))return this['_assignedColors'][_0x4b8df4(0x346)](_0x1a0318);const _0x5579c4=_0x181880[this[_0x4b8df4(0x175)]];return this[_0x4b8df4(0x175)]=(this[_0x4b8df4(0x175)]+0x1)%_0x181880[_0x4b8df4(0x2d5)],this[_0x4b8df4(0x282)]['set'](_0x1a0318,_0x5579c4),_0x5579c4;}}function _0x193914(_0x51b3b3){const _0xf5afca=_0x1b79a9;let _0x1e7a2c='';for(const _0x550781 of _0x51b3b3){const {startOffset:_0x1f8a5b,endOffset:_0x586444,isActive:_0x2f54da,rangeType:_0x517fbe,segmentId:_0x572dd4,segmentPage:_0x4963b5}=_0x550781;_0x1e7a2c[_0xf5afca(0x2d5)]&&(_0x1e7a2c+=','),_0x1e7a2c+=_0x1f8a5b+':'+_0x586444+':'+(_0x2f54da?'1':'0')+':'+_0x517fbe+':'+_0x572dd4+':'+_0x4963b5;}return _0x1e7a2c;}function _0x497be7(_0x51eccd){const _0x4d0510=_0x1b79a9,_0x20d1e8=_0x51eccd[_0x4d0510(0x24f)](','),_0x139f3d=[];for(const _0x179ccb of _0x20d1e8){const [_0x53746,_0xd9c0cd,_0x4aacd0,_0x3196a1,_0x146149,_0x5d0ed4]=_0x179ccb['split'](':');_0x139f3d[_0x4d0510(0x300)]({'startOffset':Number(_0x53746),'endOffset':Number(_0xd9c0cd),'collapsed':_0x53746===_0xd9c0cd,'isActive':_0x4aacd0==='1','rangeType':_0x3196a1===_0x5451dd['DOC_RANGE_TYPE'][_0x4d0510(0x37d)]?_0x5451dd[_0x4d0510(0x1f9)]['TEXT']:_0x5451dd[_0x4d0510(0x1f9)][_0x4d0510(0x18f)],'segmentId':typeof _0x146149==_0x4d0510(0x31d)?String(_0x146149):'','segmentPage':Number(_0x5d0ed4!=null?_0x5d0ed4:-0x1)});}return _0x139f3d['some'](_0x11a103=>_0x11a103[_0x4d0510(0x27d)])||(_0x139f3d[0x0][_0x4d0510(0x27d)]=!0x0),_0x139f3d;}class _0x20d1de extends _0x5451dd['RxDisposable']{constructor(){const _0x1e6b1a=_0x1b79a9;super(...arguments),_0x5a8f73(this,'_collabCursorState$',new _0x2918d8['BehaviorSubject'](null)),_0x5a8f73(this,_0x1e6b1a(0x218),this[_0x1e6b1a(0x325)][_0x1e6b1a(0x3d9)]());}['syncEditingCollabCursor'](_0xc74bf6){const _0x1dfa4f=_0x1b79a9,{unitID:_0x435720,memberID:_0x1b72f8,textRanges:_0x59ed33}=_0xc74bf6,_0x39671d=_0x193914(_0x59ed33);if(_0x39671d==='')return;const _0x536825={'unitID':_0x435720,'memberID':_0x1b72f8,'selection':_0x39671d};this['_collabCursorState$'][_0x1dfa4f(0x303)](_0x536825);}}var _0x421803=Object[_0x1b79a9(0x3a7)],_0x414533=(_0x2a68b6,_0x410da6,_0x2002b0,_0x2619b1)=>{const _0x35010e=_0x1b79a9;for(var _0x5558c9=_0x2619b1>0x1?void 0x0:_0x2619b1?_0x421803(_0x410da6,_0x2002b0):_0x410da6,_0x13f0fc=_0x2a68b6[_0x35010e(0x2d5)]-0x1,_0x20dc25;_0x13f0fc>=0x0;_0x13f0fc--)(_0x20dc25=_0x2a68b6[_0x13f0fc])&&(_0x5558c9=_0x20dc25(_0x5558c9)||_0x5558c9);return _0x5558c9;},_0x3838bc=(_0x30a473,_0x149ae0)=>(_0xf07a85,_0x39238e)=>_0x149ae0(_0xf07a85,_0x39238e,_0x30a473);const _0x1e5d6f=0x12c,_0x2c568a=0x64;let _0x5f153f=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x2efab4,_0x31de78,_0x21973f,_0x3f44ac,_0x15ef8b,_0x1362c2,_0x121335,_0x2c146e,_0x14329b){const _0x3797ee=_0x1b79a9;super(),_0x5a8f73(this,'_online',!0x1),_0x5a8f73(this,_0x3797ee(0x2b6),!0x1),_0x5a8f73(this,_0x3797ee(0x299),new _0x2918d8[(_0x3797ee(0x35e))](new Map())),_0x5a8f73(this,_0x3797ee(0x249),this['_cursorInfo$'][_0x3797ee(0x3d9)]()),_0x5a8f73(this,'_roomMembers$',new _0x2918d8[(_0x3797ee(0x35e))]([])),_0x5a8f73(this,_0x3797ee(0x33d),this[_0x3797ee(0x2c4)][_0x3797ee(0x291)](_0x2918d8[_0x3797ee(0x2a2)](_0x1e5d6f))),_0x5a8f73(this,_0x3797ee(0x394),_0x5451dd[_0x3797ee(0x2be)](_0x5ecb28=>{const _0x18fe10=_0x3797ee,_0x1dd723={'eventID':_0xe29c42[_0x18fe10(0x38a)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x18fe10(0x1ea)][_0x18fe10(0x3c5)](),'selection':_0x193914(_0x5ecb28)}};this['_session'][_0x18fe10(0x2b7)](_0x1dd723,this[_0x18fe10(0x3ff)]);},_0x2c568a)),(this[_0x3797ee(0x3ff)]=_0x2efab4,this[_0x3797ee(0x1ea)]=_0x31de78,this['_injector']=_0x21973f,this[_0x3797ee(0x1aa)]=_0x3f44ac,this[_0x3797ee(0x219)]=_0x15ef8b,this[_0x3797ee(0x342)]=_0x1362c2,this[_0x3797ee(0x392)]=_0x121335,this[_0x3797ee(0x356)]=_0x2c146e,this[_0x3797ee(0x3fc)]=_0x14329b);}get['cursorInfo'](){const _0x260c98=_0x1b79a9;return this['_cursorInfo$'][_0x260c98(0x200)]();}get[_0x1b79a9(0x3a0)](){const _0x465ae5=_0x1b79a9;return this['_roomMembers$'][_0x465ae5(0x200)]();}[_0x1b79a9(0x3d1)](){const _0x54ba30=_0x1b79a9;super[_0x54ba30(0x3d1)](),this[_0x54ba30(0x299)][_0x54ba30(0x303)](new Map()),this['_cursorInfo$'][_0x54ba30(0x1c1)](),this[_0x54ba30(0x2c4)][_0x54ba30(0x303)]([]),this['_roomMembers$'][_0x54ba30(0x1c1)]();}[_0x1b79a9(0x1f8)](){const _0x58a228=_0x1b79a9;this[_0x58a228(0x2b6)]||(this[_0x58a228(0x2b6)]=!0x0,this[_0x58a228(0x1ea)][_0x58a228(0x39f)]['pipe'](_0x2918d8[_0x58a228(0x25b)](this[_0x58a228(0x319)]))[_0x58a228(0x268)](_0x38436a=>{const _0x2408af=_0x58a228;_0x38436a===_0x345800['SessionStatus'][_0x2408af(0x20f)]?this[_0x2408af(0x29e)]():this[_0x2408af(0x3d2)]();}),this['_session'][_0x58a228(0x3f2)][_0x58a228(0x291)](_0x2918d8[_0x58a228(0x25b)](this[_0x58a228(0x319)]))[_0x58a228(0x268)](_0x268b23=>{const _0x52e3ff=_0x58a228,_0x1e97cd=_0x268b23[_0x52e3ff(0x3c0)];_0x1e97cd===_0xe29c42[_0x52e3ff(0x38a)][_0x52e3ff(0x22e)]&&this['_onCursorUpdate'](_0x268b23),_0x1e97cd===_0xe29c42[_0x52e3ff(0x38a)][_0x52e3ff(0x289)]&&this[_0x52e3ff(0x38e)](_0x268b23);}),this['disposeWithMe'](this[_0x58a228(0x3fc)][_0x58a228(0x1fd)](_0x4ddd94=>{const _0x3dacfa=_0x58a228,_0x199e25=_0x4ddd94[_0x3dacfa(0x2d0)];_0x199e25!=null&&this[_0x3dacfa(0x20a)]&&_0x4ddd94['id']===_0x312bdc[_0x3dacfa(0x328)]['id']&&_0x199e25['unitId']===this[_0x3dacfa(0x3ff)]&&_0x199e25[_0x3dacfa(0x1f3)]===!0x1&&_0x199e25[_0x3dacfa(0x199)][_0x3dacfa(0x2d5)]>0x0&&this[_0x3dacfa(0x394)](_0x199e25['ranges']);})),this[_0x58a228(0x342)][_0x58a228(0x218)][_0x58a228(0x291)](_0x2918d8[_0x58a228(0x25b)](this['dispose$']))[_0x58a228(0x268)](_0x322535=>{const _0x31b1f7=_0x58a228;if((_0x322535==null?void 0x0:_0x322535[_0x31b1f7(0x3ff)])!==this['unitID'])return;const _0x338d12={'eventID':_0xe29c42[_0x31b1f7(0x38a)][_0x31b1f7(0x22e)],'data':_0x322535};this[_0x31b1f7(0x358)](_0x338d12);}),this[_0x58a228(0x16d)](this[_0x58a228(0x3fc)][_0x58a228(0x1fd)](_0x2157b2=>{const _0x18e1ae=_0x58a228;if(_0x2157b2[_0x18e1ae(0x2d0)]==null)return;const _0x52e3cd=_0x2157b2['params'];if(_0x2157b2['id']!==_0x312bdc['RichTextEditingMutation']['id']||_0x52e3cd[_0x18e1ae(0x2eb)]!==this[_0x18e1ae(0x3ff)])return;const _0x4daa70={'id':_0x18e1ae(0x3b7),'params':_0x52e3cd},_0x2c0e4a=this[_0x18e1ae(0x3b2)];for(const [_0x37c752,_0x421ef7]of _0x2c0e4a){const _0x3af3af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x18e1ae(0x3ff)],'actions':null,'textRanges':_0x421ef7[_0x18e1ae(0x199)]}},_0x3f6cd2=this['_transformService'][_0x18e1ae(0x22c)](_0x4daa70,_0x3af3af,!0x1);if(_0xe29c42[_0x18e1ae(0x339)](_0x3f6cd2))throw _0x3f6cd2['error'];_0x2c0e4a[_0x18e1ae(0x189)](_0x37c752,{..._0x421ef7,'ranges':_0x3f6cd2['m2Prime'][_0x18e1ae(0x2d0)][_0x18e1ae(0x35f)]});}queueMicrotask(()=>{const _0x43f6c9=_0x18e1ae;this[_0x43f6c9(0x299)]['next'](_0x2c0e4a);});})));}[_0x1b79a9(0x358)](_0x4a832f){const _0x62cdf0=_0x1b79a9;var _0x49f985,_0x27c37b;const {memberID:_0x3f23af,selection:_0x238566}=_0x4a832f[_0x62cdf0(0x370)],_0x39a13a=_0x497be7(_0x238566),_0xfa734=(_0x27c37b=(_0x49f985=this[_0x62cdf0(0x219)][_0x62cdf0(0x18d)](this[_0x62cdf0(0x3ff)],_0x3f23af))==null?void 0x0:_0x49f985[_0x62cdf0(0x22b)])!=null?_0x27c37b:'Unknown\x20user',_0x562e0b={'color':this['_colorAssignService'][_0x62cdf0(0x2dd)](_0x3f23af),'name':_0xfa734,'ranges':_0x39a13a},_0x50643f=this['cursorInfo'];_0x50643f[_0x62cdf0(0x189)](_0x3f23af,_0x562e0b),this[_0x62cdf0(0x299)][_0x62cdf0(0x303)](_0x50643f);}['_onCursorDelete'](_0x579b44){const _0x55ab6b=_0x1b79a9,{memberID:_0x127326}=_0x579b44[_0x55ab6b(0x370)],_0x5a3612=this[_0x55ab6b(0x3b2)];_0x5a3612['delete'](_0x127326),this['_cursorInfo$'][_0x55ab6b(0x303)](_0x5a3612);}[_0x1b79a9(0x29e)](){const _0x2e37de=_0x1b79a9;var _0x4f19bb;if(this[_0x2e37de(0x20a)]=!0x0,((_0x4f19bb=this[_0x2e37de(0x356)][_0x2e37de(0x24d)]())==null?void 0x0:_0x4f19bb[_0x2e37de(0x2bd)]())!==this['unitID'])return;const _0x1ddd0d=this[_0x2e37de(0x1ad)][_0x2e37de(0x346)](_0x312bdc[_0x2e37de(0x382)])['getDocRanges']();Array[_0x2e37de(0x3d6)](_0x1ddd0d)&&_0x1ddd0d['length']>0x0&&this[_0x2e37de(0x394)](_0x1ddd0d);}[_0x1b79a9(0x3d2)](){const _0x5d19b2=_0x1b79a9;this[_0x5d19b2(0x20a)]=!0x1;}};_0x5f153f=_0x414533([_0x3838bc(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd['Injector'])),_0x3838bc(0x3,_0x5451dd[_0x1b79a9(0x17b)](_0x30ee06)),_0x3838bc(0x4,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x235)])),_0x3838bc(0x5,_0x5451dd[_0x1b79a9(0x17b)](_0x20d1de)),_0x3838bc(0x6,_0xe29c42[_0x1b79a9(0x36c)]),_0x3838bc(0x7,_0x5451dd[_0x1b79a9(0x1ff)]),_0x3838bc(0x8,_0x5451dd[_0x1b79a9(0x292)])],_0x5f153f);var _0x54d31a=Object[_0x1b79a9(0x3a7)],_0xdaa6f6=(_0x3bd237,_0x5bd156,_0xf8f322,_0x309093)=>{const _0x30fdb2=_0x1b79a9;for(var _0x4b3d89=_0x309093>0x1?void 0x0:_0x309093?_0x54d31a(_0x5bd156,_0xf8f322):_0x5bd156,_0x3118bb=_0x3bd237[_0x30fdb2(0x2d5)]-0x1,_0x27617c;_0x3118bb>=0x0;_0x3118bb--)(_0x27617c=_0x3bd237[_0x3118bb])&&(_0x4b3d89=_0x27617c(_0x4b3d89)||_0x4b3d89);return _0x4b3d89;},_0x5a6c40=(_0x3cc1d9,_0x401dd8)=>(_0x1e3cc4,_0x5d1d99)=>_0x401dd8(_0x1e3cc4,_0x5d1d99,_0x3cc1d9);const _0x16b77b=0x12c,_0x5243e0=0x64,_0x3a75fb=()=>{let _0x4726d5=[],_0x2fc0ad=!0x1;return _0x6e5b11=>{const _0x2b6c8a=_0xe752;_0x4726d5[_0x2b6c8a(0x300)](_0x6e5b11),_0x2fc0ad||(_0x2fc0ad=!0x0,setTimeout(()=>{const _0x4dc1ec=_0x2b6c8a;_0x4726d5[_0x4dc1ec(0x31f)](_0x4ba0d6=>_0x4ba0d6()),_0x4726d5=[],_0x2fc0ad=!0x1;}));};};let _0x16e1dc=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0xcacca5,_0x2e2f27,_0x34a5af,_0x3dfd9e,_0x33adb2,_0x1e61c6,_0x95d7b6,_0x273f19){const _0x1abc06=_0x1b79a9;super(),_0x5a8f73(this,_0x1abc06(0x20a),!0x1),_0x5a8f73(this,_0x1abc06(0x2b6),!0x1),_0x5a8f73(this,_0x1abc06(0x299),new _0x2918d8[(_0x1abc06(0x35e))](new Map())),_0x5a8f73(this,_0x1abc06(0x249),this['_cursorInfo$'][_0x1abc06(0x3d9)]()),_0x5a8f73(this,_0x1abc06(0x2c4),new _0x2918d8[(_0x1abc06(0x35e))]([])),_0x5a8f73(this,_0x1abc06(0x33d),this[_0x1abc06(0x2c4)][_0x1abc06(0x291)](_0x2918d8[_0x1abc06(0x2a2)](_0x16b77b))),_0x5a8f73(this,_0x1abc06(0x394),_0x5451dd[_0x1abc06(0x2be)]((_0x54e9c4,_0x22cce8)=>{const _0x4beabc=_0x1abc06,_0x477fd1={'eventID':_0xe29c42[_0x4beabc(0x38a)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4beabc(0x1ea)]['getMemberID'](),'selection':_0x41e24e[_0x4beabc(0x263)](_0x54e9c4,_0x22cce8[_0x4beabc(0x1bd)])}};this['_session'][_0x4beabc(0x2b7)](_0x477fd1,this[_0x4beabc(0x3ff)]);},_0x5243e0)),(this[_0x1abc06(0x3ff)]=_0xcacca5,this['_session']=_0x2e2f27,this['_injector']=_0x34a5af,this[_0x1abc06(0x1aa)]=_0x3dfd9e,this[_0x1abc06(0x219)]=_0x33adb2,this[_0x1abc06(0x356)]=_0x1e61c6,this['_commandService']=_0x95d7b6,this[_0x1abc06(0x34d)]=_0x273f19);}get[_0x1b79a9(0x3b2)](){const _0x3f9759=_0x1b79a9;return this[_0x3f9759(0x299)][_0x3f9759(0x200)]();}get['roomMembers'](){const _0x376ba0=_0x1b79a9;return this[_0x376ba0(0x2c4)][_0x376ba0(0x200)]();}[_0x1b79a9(0x3d1)](){const _0x10f4fa=_0x1b79a9;super[_0x10f4fa(0x3d1)](),this[_0x10f4fa(0x299)][_0x10f4fa(0x303)](new Map()),this[_0x10f4fa(0x299)]['complete'](),this[_0x10f4fa(0x2c4)][_0x10f4fa(0x303)]([]),this[_0x10f4fa(0x2c4)][_0x10f4fa(0x1c1)]();}[_0x1b79a9(0x1f8)](){const _0x21f52d=_0x1b79a9;this[_0x21f52d(0x2b6)]||(this[_0x21f52d(0x2b6)]=!0x0,this[_0x21f52d(0x1ea)]['sessionStatus$']['pipe'](_0x2918d8[_0x21f52d(0x25b)](this['dispose$']))['subscribe'](_0x39b380=>{const _0x55198b=_0x21f52d;_0x39b380===_0x345800[_0x55198b(0x30d)][_0x55198b(0x20f)]?this[_0x55198b(0x29e)]():this[_0x55198b(0x3d2)]();}),this[_0x21f52d(0x1ea)][_0x21f52d(0x3f2)][_0x21f52d(0x291)](_0x2918d8['takeUntil'](this[_0x21f52d(0x319)]))[_0x21f52d(0x268)](_0x255465=>{const _0x5db676=_0x21f52d,_0x25fd9b=_0x255465[_0x5db676(0x3c0)];_0x25fd9b===_0xe29c42[_0x5db676(0x38a)][_0x5db676(0x22e)]&&this[_0x5db676(0x358)](_0x255465),_0x25fd9b===_0xe29c42[_0x5db676(0x38a)]['USERS_LEAVE']&&this[_0x5db676(0x38e)](_0x255465);}),this[_0x21f52d(0x2d4)](),this['disposeWithMe'](this[_0x21f52d(0x3fc)][_0x21f52d(0x1fd)](_0x53234d=>{const _0x5db85f=_0x21f52d;if(this['_online']&&_0x53234d['id']===_0x550773[_0x5db85f(0x25f)]['id']&&_0x53234d['params'][_0x5db85f(0x2eb)]===this[_0x5db85f(0x3ff)]){const _0x3c5153=_0x53234d['params'];this['_updateLocalCursor'](_0x3c5153[_0x5db85f(0x2c8)],_0x3c5153[_0x5db85f(0x1ef)][0x0]);}})));}[_0x1b79a9(0x358)](_0x63076a){const _0x53b882=_0x1b79a9;var _0x3ec74e,_0x439012;const {memberID:_0x274eb7,selection:_0x39cbb6}=_0x63076a['data'],{sheetName:_0x12657f,range:_0x5d61a9}=_0x41e24e[_0x53b882(0x2b8)](_0x39cbb6),_0x236013={'name':(_0x439012=(_0x3ec74e=this[_0x53b882(0x219)][_0x53b882(0x18d)](this[_0x53b882(0x3ff)],_0x274eb7))==null?void 0x0:_0x3ec74e['name'])!=null?_0x439012:_0x53b882(0x168),'range':this[_0x53b882(0x2da)](_0x12657f,_0x5d61a9),'sheetID':_0x12657f,'color':this['_colorAssignService'][_0x53b882(0x2dd)](_0x274eb7),'selection':_0x39cbb6},_0x2f3275=this['cursorInfo'];_0x2f3275[_0x53b882(0x189)](_0x274eb7,_0x236013),this['_cursorInfo$']['next'](_0x2f3275);}['_onCursorDelete'](_0x53b570){const _0x40dee8=_0x1b79a9,{memberID:_0x53abd0}=_0x53b570[_0x40dee8(0x370)],_0x2378b3=this[_0x40dee8(0x3b2)];_0x2378b3[_0x40dee8(0x247)](_0x53abd0),this[_0x40dee8(0x299)][_0x40dee8(0x303)](_0x2378b3);}[_0x1b79a9(0x2da)](_0x34aaf2,_0x42ab3b){const _0x4385ff=_0x1b79a9;var _0x115d50,_0xeefc91;const _0x33345d=(_0xeefc91=(_0x115d50=this[_0x4385ff(0x356)][_0x4385ff(0x2cc)](this[_0x4385ff(0x3ff)]))==null?void 0x0:_0x115d50[_0x4385ff(0x20c)](_0x34aaf2))==null?void 0x0:_0xeefc91[_0x4385ff(0x1b6)]();return(_0x33345d==null?void 0x0:_0x33345d[_0x4385ff(0x27e)](_0x52a836=>_0x5451dd[_0x4385ff(0x1a5)]['contains'](_0x52a836,_0x42ab3b)))||_0x42ab3b;}['_onRefRangeChange'](){const _0x389915=_0x1b79a9,_0x1f8069=new _0x5451dd['DisposableCollection'](),_0x4e7637=_0x3a75fb(),_0x1d4086=()=>{const _0x4ce6be=_0xe752;_0x1f8069[_0x4ce6be(0x3d1)]();const _0x338356=(_0x45e35e,_0x58337b,_0x17dd1c,_0x3f0053)=>{const _0x5b75da=_0x4ce6be;let _0x3d0d73=[];switch(_0x45e35e['id']){case _0x550773[_0x5b75da(0x377)]['DeleteRangeMoveLeftCommandId']:{_0x3d0d73=_0x550773[_0x5b75da(0x390)](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x366)]:{_0x3d0d73=_0x550773['handleDeleteRangeMoveUp'](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x2e8)]:{_0x3d0d73=_0x550773[_0x5b75da(0x3e9)](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x23e)]:{_0x3d0d73=_0x550773[_0x5b75da(0x2f7)](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)][_0x5b75da(0x3c1)]:{_0x3d0d73=_0x550773['handleInsertRangeMoveRight'](_0x45e35e,_0x3f0053);break;}case _0x550773[_0x5b75da(0x377)]['InsertRowCommandId']:{_0x3d0d73=_0x550773['handleInsertRow'](_0x45e35e,_0x3f0053);break;}case _0x550773['EffectRefRangId']['MoveRangeCommandId']:{_0x3d0d73=_0x550773[_0x5b75da(0x1b1)](_0x45e35e,_0x3f0053);break;}case _0x550773['EffectRefRangId'][_0x5b75da(0x1d1)]:{_0x3d0d73=_0x550773[_0x5b75da(0x275)](_0x45e35e,_0x3f0053);break;}case _0x550773['EffectRefRangId'][_0x5b75da(0x3fd)]:{_0x3d0d73=_0x550773[_0x5b75da(0x313)](_0x45e35e,_0x3f0053);break;}}const _0x36c76b=_0x550773[_0x5b75da(0x380)](_0x3d0d73,_0x3f0053),_0x12e14e=this['cursorInfo'][_0x5b75da(0x346)](_0x58337b);if(_0x12e14e&&_0x36c76b){const _0x2aca96={..._0x12e14e,'range':_0x36c76b};this['cursorInfo'][_0x5b75da(0x189)](_0x58337b,_0x2aca96),_0x4e7637(()=>{const _0x19bc99=_0x5b75da,_0x4a2b05=this[_0x19bc99(0x34d)][_0x19bc99(0x2cf)](_0x36c76b,_0x316d55=>(_0x4a2b05[_0x19bc99(0x3d1)](),_0x338356(_0x316d55,_0x58337b,_0x17dd1c,_0x36c76b)));_0x1f8069[_0x19bc99(0x3c7)](_0x4a2b05);});}return{'redos':[],'undos':[]};};this[_0x4ce6be(0x3b2)][_0x4ce6be(0x31f)]((_0x5a2a9a,_0x38cae4)=>{const _0x1a3625=_0x4ce6be,{range:_0x20b36e,sheetID:_0x2a4104}=_0x5a2a9a,_0x27cd09=this[_0x1a3625(0x34d)][_0x1a3625(0x2cf)](_0x20b36e,_0x460397=>(_0x27cd09[_0x1a3625(0x3d1)](),_0x338356(_0x460397,_0x38cae4,_0x2a4104,_0x20b36e)));_0x1f8069['add'](_0x27cd09);});};this[_0x389915(0x16d)](_0x5451dd[_0x389915(0x330)](this[_0x389915(0x299)][_0x389915(0x268)](()=>{_0x1d4086();})));}['_toggleOnline'](){const _0x1f70c2=_0x1b79a9;var _0x161bc6,_0x2fa03f;if(this['_online']=!0x0,((_0x161bc6=this[_0x1f70c2(0x356)]['getFocusedUnit']())==null?void 0x0:_0x161bc6[_0x1f70c2(0x2bd)]())!==this[_0x1f70c2(0x3ff)])return;const _0xc8121f=(_0x2fa03f=this[_0x1f70c2(0x1ad)][_0x1f70c2(0x346)](_0x550773['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2fa03f[0x0],_0x3b81b0=this['_univerInstanceService']['getCurrentUnitForType'](_0x5451dd[_0x1f70c2(0x169)]['UNIVER_SHEET'])['getActiveSheet']();_0xc8121f&&_0x3b81b0&&this[_0x1f70c2(0x394)](_0x3b81b0[_0x1f70c2(0x3d7)](),_0xc8121f);}['_toggleOffline'](){this['_online']=!0x1;}};_0x16e1dc=_0xdaa6f6([_0x5a6c40(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x5a6c40(0x3,_0x5451dd[_0x1b79a9(0x17b)](_0x30ee06)),_0x5a6c40(0x4,_0x5451dd['Inject'](_0x345800[_0x1b79a9(0x235)])),_0x5a6c40(0x5,_0x5451dd[_0x1b79a9(0x1ff)]),_0x5a6c40(0x6,_0x5451dd[_0x1b79a9(0x292)]),_0x5a6c40(0x7,_0x5451dd[_0x1b79a9(0x17b)](_0x550773[_0x1b79a9(0x3f0)]))],_0x16e1dc);var _0x11358a=Object[_0x1b79a9(0x3a7)],_0x2516f6=(_0x270ee7,_0x5ccfac,_0x4e7a55,_0x5d2aa0)=>{for(var _0x5bb87e=_0x5d2aa0>0x1?void 0x0:_0x5d2aa0?_0x11358a(_0x5ccfac,_0x4e7a55):_0x5ccfac,_0x2119ed=_0x270ee7['length']-0x1,_0x14c918;_0x2119ed>=0x0;_0x2119ed--)(_0x14c918=_0x270ee7[_0x2119ed])&&(_0x5bb87e=_0x14c918(_0x5bb87e)||_0x5bb87e);return _0x5bb87e;},_0xfa58fa=(_0x5f3579,_0x7ee576)=>(_0x1eae4c,_0x517b02)=>_0x7ee576(_0x1eae4c,_0x517b02,_0x5f3579);let _0x58b6ae=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x503dd2,_0x33d966,_0x5db887){const _0x521f5c=_0x1b79a9;super(),_0x5a8f73(this,_0x521f5c(0x1d2),new Map()),_0x5a8f73(this,'_entityInit$',new _0x2918d8[(_0x521f5c(0x3cd))]()),(this['_univerInstanceService']=_0x503dd2,this[_0x521f5c(0x1ad)]=_0x33d966,this[_0x521f5c(0x378)]=_0x5db887,this['_init']());}[_0x1b79a9(0x3d1)](){const _0x267ecd=_0x1b79a9;super[_0x267ecd(0x3d1)](),this['_entityInit$'][_0x267ecd(0x1c1)](),this['_entities']['forEach'](_0x3d6457=>_0x3d6457[_0x267ecd(0x3d1)]());}[_0x1b79a9(0x3b3)](_0x4df492){const _0x26e011=_0x1b79a9;return this['_entities'][_0x26e011(0x19e)](_0x4df492)?this[_0x26e011(0x1d2)][_0x26e011(0x346)](_0x4df492)[_0x26e011(0x249)]:this[_0x26e011(0x283)][_0x26e011(0x291)](_0x2918d8['filter'](_0x353cb2=>_0x353cb2[_0x26e011(0x3ff)]===_0x4df492),_0x2918d8[_0x26e011(0x1f2)](_0x18095b=>_0x18095b[_0x26e011(0x249)]));}[_0x1b79a9(0x2b6)](){const _0x14dc50=_0x1b79a9;this['_univerInstanceService'][_0x14dc50(0x364)](_0x5451dd['UniverInstanceType'][_0x14dc50(0x2c7)])[_0x14dc50(0x291)](_0x2918d8['takeUntil'](this[_0x14dc50(0x319)]))[_0x14dc50(0x268)](async _0x37b5b6=>{const _0x3c9f02=_0x14dc50,_0x13b939=_0x37b5b6[_0x3c9f02(0x2bd)](),_0x56baf3=await this['_startSheetCollabCursor'](_0x13b939);this[_0x3c9f02(0x283)][_0x3c9f02(0x303)](_0x56baf3),this['_entities'][_0x3c9f02(0x189)](_0x13b939,_0x56baf3);}),this[_0x14dc50(0x356)][_0x14dc50(0x364)](_0x5451dd['UniverInstanceType'][_0x14dc50(0x23a)])[_0x14dc50(0x291)](_0x2918d8[_0x14dc50(0x25b)](this[_0x14dc50(0x319)]))[_0x14dc50(0x291)](_0x2918d8[_0x14dc50(0x271)](_0x1ff574=>!_0x1ff574[_0x14dc50(0x2bd)]()[_0x14dc50(0x2a6)]('__')))['subscribe'](async _0x417343=>{const _0x4426ce=_0x14dc50,_0x216442=_0x417343[_0x4426ce(0x2bd)](),_0x4ec453=await this['_startDocCollabCursor'](_0x216442);this[_0x4426ce(0x283)][_0x4426ce(0x303)](_0x4ec453),this[_0x4426ce(0x1d2)][_0x4426ce(0x189)](_0x216442,_0x4ec453);}),_0x2918d8[_0x14dc50(0x185)](this[_0x14dc50(0x356)][_0x14dc50(0x304)](_0x5451dd[_0x14dc50(0x169)]['UNIVER_DOC']),this[_0x14dc50(0x356)][_0x14dc50(0x304)](_0x5451dd[_0x14dc50(0x169)][_0x14dc50(0x2c7)]))[_0x14dc50(0x291)](_0x2918d8[_0x14dc50(0x25b)](this[_0x14dc50(0x319)]))[_0x14dc50(0x268)](_0xa1544c=>{const _0x26fc67=_0x14dc50,_0x32514c=_0xa1544c[_0x26fc67(0x2bd)](),_0x116f16=this['_entities'][_0x26fc67(0x346)](_0x32514c);_0x116f16&&(_0x116f16[_0x26fc67(0x3d1)](),this['_entities']['delete'](_0x32514c));});}async['_startSheetCollabCursor'](_0x31d670){const _0x5b688a=_0x1b79a9,_0x2cdeae=await this[_0x5b688a(0x378)]['requireSession'](_0x31d670),_0x2a877f=this[_0x5b688a(0x1ad)][_0x5b688a(0x3ca)](_0x16e1dc,_0x31d670,_0x2cdeae);return _0x2a877f[_0x5b688a(0x1f8)](),_0x2a877f;}async['_startDocCollabCursor'](_0x27f290){const _0x7eb374=_0x1b79a9,_0x18856d=await this['_collabSessionService'][_0x7eb374(0x1c3)](_0x27f290),_0xe526cf=this[_0x7eb374(0x1ad)]['createInstance'](_0x5f153f,_0x27f290,_0x18856d);return _0xe526cf[_0x7eb374(0x1f8)](),_0xe526cf;}};_0x58b6ae=_0x2516f6([_0xfa58fa(0x0,_0x5451dd[_0x1b79a9(0x1ff)]),_0xfa58fa(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0xfa58fa(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x2e6)]))],_0x58b6ae);const _0x186acf=0x14,_0x143e84=0xc8,_0x404a61=0x4,_0x599f25=0x5;function _0x2bd473(_0x280244,_0x1c489f){const _0x25b10d=_0x1b79a9;let {radius:_0x24860a,width:_0x2837d0,height:_0x29db11}=_0x1c489f;_0x24860a=_0x24860a!=null?_0x24860a:0x0,_0x2837d0=_0x2837d0!=null?_0x2837d0:0x1e,_0x29db11=_0x29db11!=null?_0x29db11:0x1e;let _0x3cfa05=0x0,_0x2ce310=0x0,_0x4c91e8=0x0;_0x3cfa05=_0x2ce310=_0x4c91e8=Math[_0x25b10d(0x228)](_0x24860a,_0x2837d0/0x2,_0x29db11/0x2),_0x280244[_0x25b10d(0x35c)](),_0x280244['moveTo'](_0x3cfa05,0x0),_0x280244[_0x25b10d(0x2a9)](_0x2837d0-_0x2ce310,0x0),_0x280244[_0x25b10d(0x264)](_0x2837d0-_0x2ce310,_0x2ce310,_0x2ce310,Math['PI']*0x3/0x2,0x0,!0x1),_0x280244['lineTo'](_0x2837d0,_0x29db11-_0x4c91e8),_0x280244[_0x25b10d(0x264)](_0x2837d0-_0x4c91e8,_0x29db11-_0x4c91e8,_0x4c91e8,0x0,Math['PI']/0x2,!0x1),_0x280244[_0x25b10d(0x2a9)](0x0,_0x29db11),_0x280244[_0x25b10d(0x2a9)](0x0,_0x3cfa05),_0x280244['arc'](_0x3cfa05,_0x3cfa05,_0x3cfa05,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x280244[_0x25b10d(0x28c)](),_0x1c489f[_0x25b10d(0x363)]&&(_0x280244[_0x25b10d(0x3c9)](),_0x280244['fillStyle']=_0x1c489f[_0x25b10d(0x363)],_0x1c489f[_0x25b10d(0x17f)]===_0x25b10d(0x253)?_0x280244['fill']('evenodd'):_0x280244[_0x25b10d(0x363)](),_0x280244[_0x25b10d(0x1c6)]());}class _0x278a49 extends _0x177a4a[_0x1b79a9(0x2ad)]{constructor(_0x4ff072,_0xa49c00){const _0x379b64=_0x1b79a9;super(_0x4ff072,_0xa49c00),_0x5a8f73(this,_0x379b64(0x18c)),_0x5a8f73(this,_0x379b64(0x337)),(this[_0x379b64(0x18c)]=_0xa49c00==null?void 0x0:_0xa49c00[_0x379b64(0x18c)],this[_0x379b64(0x337)]=_0xa49c00==null?void 0x0:_0xa49c00[_0x379b64(0x337)]);}static['drawWith'](_0x47f483,_0x54c236){const _0x3ea150=_0x1b79a9,{text:_0x4e0c19,color:_0x4d2a65}=_0x54c236;_0x47f483[_0x3ea150(0x3c9)](),_0x47f483[_0x3ea150(0x1e5)]=_0x3ea150(0x3df);const _0x5d808d=_0x47f483[_0x3ea150(0x28f)](_0x4e0c19)[_0x3ea150(0x32b)],_0x5bb1f6=Math['min'](_0x5d808d+0x2*_0x404a61,_0x143e84);_0x2bd473(_0x47f483,{'height':_0x186acf,'radius':0x4,'width':_0x5bb1f6,'fill':_0x4d2a65}),_0x47f483[_0x3ea150(0x2ed)]=_0x3ea150(0x3a4);const _0x2a4540=_0x404a61,_0x35025b=_0x186acf-_0x599f25,_0x1b4f33=_0x143e84-0x2*_0x404a61;if(_0x5d808d>_0x1b4f33){let _0x1db840='',_0x5b8a49=0x0;for(const _0x1b5448 of _0x4e0c19){const _0x29ead0=_0x47f483[_0x3ea150(0x28f)](_0x1b5448)[_0x3ea150(0x32b)];if(_0x5b8a49+_0x29ead0<=_0x1b4f33-_0x47f483[_0x3ea150(0x28f)](_0x3ea150(0x180))[_0x3ea150(0x32b)])_0x1db840+=_0x1b5448,_0x5b8a49+=_0x29ead0;else{_0x1db840+='...';break;}}_0x47f483[_0x3ea150(0x1c5)](_0x1db840,_0x2a4540,_0x35025b);}else _0x47f483['fillText'](_0x4e0c19,_0x2a4540,_0x35025b);_0x47f483['restore']();}[_0x1b79a9(0x30e)](_0x48d5da){_0x278a49['drawWith'](_0x48d5da,this);}}const _0x26ffe1=_0x1b79a9(0x232),_0x3bc9b6=_0x1b79a9(0x1c8),_0x247fd3='collab-rect-range-',_0x44fbcb=0x6,_0x59ac6b=1.5,_0x5926cf=0x4,_0x5cd2e1=1.5,_0x886d95=_0x1b79a9(0x1e7);class _0x2d3eea{constructor(_0x1b8aff,_0x122037,_0x21300c,_0x1889cc){const _0x480acd=_0x1b79a9;_0x5a8f73(this,'_shapes',[]),_0x5a8f73(this,_0x480acd(0x17e),null),_0x5a8f73(this,_0x480acd(0x2e0),null),_0x5a8f73(this,_0x480acd(0x302),null),_0x5a8f73(this,_0x480acd(0x2ab),null),_0x5a8f73(this,_0x480acd(0x248),null),(this['_cursor']=_0x1b8aff,this[_0x480acd(0x1af)]=_0x122037,this[_0x480acd(0x1d4)]=_0x21300c,this['_document']=_0x1889cc,this['_render']());}set['_hover'](_0x1d2273){const _0x3fbae4=_0x1b79a9;_0x1d2273?(this['_anchorDot']&&this[_0x3fbae4(0x302)][_0x3fbae4(0x24b)](),this['_textBubble']&&this[_0x3fbae4(0x2e0)][_0x3fbae4(0x32e)]()):(this[_0x3fbae4(0x302)]&&this[_0x3fbae4(0x302)][_0x3fbae4(0x32e)](),this['_textBubble']&&this['_textBubble'][_0x3fbae4(0x24b)]());}[_0x1b79a9(0x3d1)](){const _0x5a23eb=_0x1b79a9;for(const _0x176a99 of this['_shapes'])_0x176a99[_0x5a23eb(0x3d1)]();this[_0x5a23eb(0x2e0)]&&this[_0x5a23eb(0x2e0)][_0x5a23eb(0x3d1)](),this[_0x5a23eb(0x302)]&&this['_anchorDot'][_0x5a23eb(0x3d1)](),this[_0x5a23eb(0x17e)]&&this[_0x5a23eb(0x17e)][_0x5a23eb(0x3d1)](),this[_0x5a23eb(0x248)]&&this[_0x5a23eb(0x248)]();}[_0x1b79a9(0x2d2)](){const _0x1915ea=_0x1b79a9;var _0x35e3c8;const {_docSkeleton:_0x5986f8,_document:_0x5a47f}=this,{color:_0x557141,name:_0x5ab85c,ranges:_0x352e81}=this[_0x1915ea(0x3ae)],_0x5431de=_0x5a47f[_0x1915ea(0x33b)](),{docsLeft:_0x5c7061,docsTop:_0x9fa54e}=_0x5431de,_0x19ab4f=new _0x2ab7a6[(_0x1915ea(0x2bf))](_0x5431de,_0x5986f8);for(const {startOffset:_0x26cdb0,endOffset:_0x34aa39,rangeType:_0x1cd2a4,segmentId:_0x21dedf,segmentPage:_0x4a0fe2,collapsed:_0x50b494,isActive:_0x17547f}of _0x352e81){const _0x21abfb=_0x5986f8[_0x1915ea(0x32c)](_0x26cdb0,!0x0,_0x21dedf,_0x4a0fe2);let _0x42726d=_0x5986f8[_0x1915ea(0x32c)](_0x34aa39,!0x0,_0x21dedf,_0x4a0fe2);if(_0x42726d==null&&(_0x42726d=_0x5986f8[_0x1915ea(0x32c)](_0x34aa39-0x1,!0x1,_0x21dedf,_0x4a0fe2)),_0x17547f){const {contentBoxPointGroup:_0x12960b}=_0x19ab4f[_0x1915ea(0x252)](_0x42726d,_0x42726d);if(_0x12960b['length']===0x0)continue;this[_0x1915ea(0x25c)](_0x557141,_0x12960b,_0x5c7061,_0x9fa54e,_0x5ab85c),this[_0x1915ea(0x248)]=this['_handleHover']();}if(_0x21abfb&&_0x42726d){if(_0x1cd2a4===_0x5451dd['DOC_RANGE_TYPE'][_0x1915ea(0x18f)]){const _0x13241f=new _0x2ab7a6['NodePositionConvertToRectRange'](_0x5431de,_0x5986f8),{pointGroup:_0x59a507}=(_0x35e3c8=_0x13241f[_0x1915ea(0x252)](_0x21abfb,_0x42726d))!=null?_0x35e3c8:{};if(_0x59a507==null||_0x59a507[_0x1915ea(0x2d5)]===0x0)continue;this[_0x1915ea(0x261)](_0x557141,_0x59a507,_0x5c7061,_0x9fa54e);}else{if(!_0x50b494){const {borderBoxPointGroup:_0x398d2f}=_0x19ab4f[_0x1915ea(0x252)](_0x21abfb,_0x42726d);if(_0x398d2f[_0x1915ea(0x2d5)]===0x0)continue;this[_0x1915ea(0x254)](_0x557141,_0x398d2f,_0x5c7061,_0x9fa54e);}}}}}[_0x1b79a9(0x25c)](_0x3eaba1,_0x378579,_0x5f4c04,_0x2627bc,_0xdae103){const _0x2a140c=_0x1b79a9,_0x4552ed=this[_0x2a140c(0x191)](_0x378579),{left:_0x40d754,top:_0x15baa6,height:_0x4a7daf}=_0x4552ed,_0xb974d8=this[_0x2a140c(0x2b0)](),_0x44f01f=_0x5cd2e1/_0xb974d8,_0x6fc8a9=new _0x177a4a[(_0x2a140c(0x19a))](_0x26ffe1+_0x5451dd[_0x2a140c(0x19b)][_0x2a140c(0x204)](_0x44fbcb),{'left':_0x40d754+_0x5f4c04-_0x44f01f,'top':_0x15baa6+_0x2627bc,'height':_0x4a7daf,'width':_0x59ac6b,'fill':_0x3eaba1||_0x177a4a[_0x2a140c(0x251)](_0x5451dd['COLORS']['black'],0x0),'strokeWidth':_0x44f01f,'stroke':_0x886d95,'evented':!0x0});this[_0x2a140c(0x17e)]=_0x6fc8a9,this[_0x2a140c(0x1af)][_0x2a140c(0x22f)](_0x6fc8a9,_0x2ab7a6[_0x2a140c(0x22d)]);const _0x46c930=new _0x177a4a['Rect'](_0x26ffe1+_0x5451dd['Tools']['generateRandomId'](_0x44fbcb),{'left':_0x40d754+_0x5f4c04-_0x44f01f,'top':_0x15baa6+_0x2627bc-_0x5926cf/0x2,'height':_0x5926cf,'width':_0x5926cf,'fill':_0x3eaba1||_0x177a4a[_0x2a140c(0x251)](_0x5451dd[_0x2a140c(0x23d)][_0x2a140c(0x32f)],0x0),'strokeWidth':0x0,'stroke':_0x3eaba1||_0x177a4a[_0x2a140c(0x251)](_0x5451dd[_0x2a140c(0x23d)]['black'],0x0),'evented':!0x1});this[_0x2a140c(0x302)]=_0x46c930,this[_0x2a140c(0x1af)][_0x2a140c(0x22f)](_0x46c930,_0x2ab7a6[_0x2a140c(0x22d)]);const _0x2bda2d=new _0x278a49(_0x26ffe1+_0x5451dd[_0x2a140c(0x19b)]['generateRandomId'](_0x44fbcb),{'left':_0x40d754+_0x5f4c04-_0x44f01f,'top':_0x15baa6+_0x2627bc-_0x186acf,'text':_0xdae103,'color':_0x3eaba1});this[_0x2a140c(0x2e0)]=_0x2bda2d,this['_scene']['addObject'](_0x2bda2d,_0x2ab7a6[_0x2a140c(0x22d)]),this[_0x2a140c(0x293)]=!0x1;}[_0x1b79a9(0x1d5)](){const _0xc567a1=_0x1b79a9,_0x573579=this[_0xc567a1(0x17e)][_0xc567a1(0x35a)][_0xc567a1(0x223)](()=>{this['_hover']=!0x0;}),_0x3e14e4=this['_anchor'][_0xc567a1(0x190)][_0xc567a1(0x223)](()=>{const _0x309e4a=_0xc567a1;this[_0x309e4a(0x2ab)]&&clearTimeout(this['_hideTimer']),this[_0x309e4a(0x2ab)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x6e7efc=_0xc567a1;_0x573579[_0x6e7efc(0x2fd)](),_0x3e14e4[_0x6e7efc(0x2fd)]();};}[_0x1b79a9(0x254)](_0xde6813,_0x2b9a99,_0x347f67,_0x1b4c2b){const _0x3a50ec=_0x1b79a9,_0xcaeb9d=new _0x5451dd[(_0x3a50ec(0x396))](_0xde6813)[_0x3a50ec(0x3f4)](0.2)['toRgbString'](),_0x38d3b3=new _0x177a4a[(_0x3a50ec(0x331))](_0x3bc9b6+_0x5451dd[_0x3a50ec(0x19b)][_0x3a50ec(0x204)](_0x44fbcb),{'pointsGroup':_0x2b9a99,'fill':_0xcaeb9d||_0x177a4a[_0x3a50ec(0x251)](_0x5451dd[_0x3a50ec(0x23d)][_0x3a50ec(0x32f)],0.2),'left':_0x347f67,'top':_0x1b4c2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3a50ec(0x21d)]['push'](_0x38d3b3),this[_0x3a50ec(0x1af)][_0x3a50ec(0x22f)](_0x38d3b3,_0x2ab7a6[_0x3a50ec(0x22d)]);}[_0x1b79a9(0x261)](_0x34224f,_0x3f7831,_0xe962bc,_0x2d6a86){const _0x1b2b44=_0x1b79a9,_0x3db269=new _0x5451dd['ColorKit'](_0x34224f)['setAlpha'](0.2)['toRgbString'](),_0x194826=new _0x177a4a[(_0x1b2b44(0x331))](_0x247fd3+_0x5451dd[_0x1b2b44(0x19b)]['generateRandomId'](_0x44fbcb),{'pointsGroup':_0x3f7831,'fill':_0x3db269||_0x177a4a[_0x1b2b44(0x251)](_0x5451dd[_0x1b2b44(0x23d)][_0x1b2b44(0x32f)],0.2),'left':_0xe962bc,'top':_0x2d6a86,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b2b44(0x21d)][_0x1b2b44(0x300)](_0x194826),this['_scene'][_0x1b2b44(0x22f)](_0x194826,_0x2ab7a6['TEXT_RANGE_LAYER_INDEX']);}[_0x1b79a9(0x191)](_0x428180){const _0x2cc99c=_0x428180[0x0],_0xa60f83=_0x2cc99c[0x0],_0x242890=_0x2cc99c[0x2],{x:_0x336a7e,y:_0x22a7e7}=_0xa60f83,{x:_0x4194b3,y:_0x1da147}=_0x242890;return{'left':_0x336a7e,'top':_0x22a7e7,'width':_0x4194b3-_0x336a7e,'height':_0x1da147-_0x22a7e7};}[_0x1b79a9(0x2b0)](){const _0x1da94e=_0x1b79a9,{scaleX:_0x1e2d99,scaleY:_0x288762}=this[_0x1da94e(0x1af)][_0x1da94e(0x36b)]();return Math['max'](_0x1e2d99,_0x288762);}}var _0x2862c1=Object[_0x1b79a9(0x3a7)],_0x5e94fb=(_0x40a78f,_0x2e811,_0x3c101d,_0x252562)=>{const _0x142233=_0x1b79a9;for(var _0x95b2e0=_0x252562>0x1?void 0x0:_0x252562?_0x2862c1(_0x2e811,_0x3c101d):_0x2e811,_0x4bbada=_0x40a78f[_0x142233(0x2d5)]-0x1,_0x9a2c1d;_0x4bbada>=0x0;_0x4bbada--)(_0x9a2c1d=_0x40a78f[_0x4bbada])&&(_0x95b2e0=_0x9a2c1d(_0x95b2e0)||_0x95b2e0);return _0x95b2e0;},_0x313ed9=(_0x131874,_0x1dd1f5)=>(_0x2dedcf,_0x4f05ab)=>_0x1dd1f5(_0x2dedcf,_0x4f05ab,_0x131874);let _0x16ea39=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0x5b2c3f,_0x5bf41c,_0x380e50,_0x492372,_0x2fdc85){const _0xdb7ed7=_0x1b79a9;super(),_0x5a8f73(this,'_cursorShapes',[]),_0x5a8f73(this,_0xdb7ed7(0x1c4),[]),(this['_context']=_0x5b2c3f,this[_0xdb7ed7(0x2e5)]=_0x5bf41c,this['_collabCursorController']=_0x380e50,this[_0xdb7ed7(0x3fc)]=_0x492372,this[_0xdb7ed7(0x29b)]=_0x2fdc85,this['_init']());}[_0x1b79a9(0x2b6)](){const _0x449ef0=_0x1b79a9,_0x4d02bd=this[_0x449ef0(0x1b8)]['unitId'],_0x39896d=this[_0x449ef0(0x2e5)];this[_0x449ef0(0x16d)](_0x2918d8[_0x449ef0(0x30c)]([this[_0x449ef0(0x1fa)][_0x449ef0(0x3b3)](_0x4d02bd),this[_0x449ef0(0x29b)][_0x449ef0(0x17a)]])['pipe'](_0x41845d[_0x449ef0(0x3dc)](([_0x5e2920,_0xb87e56])=>({'skeleton':_0x39896d['getSkeleton'](),'cursors':[..._0x5e2920[_0x449ef0(0x29a)]()][_0x449ef0(0x3f3)](_0x3c2c20=>({..._0x3c2c20,'color':_0xb87e56[_0x3c2c20[_0x449ef0(0x18c)]]}))})))[_0x449ef0(0x268)](_0x1bd96b=>{const _0x44aa58=_0x449ef0;if(this[_0x44aa58(0x242)](),_0x1bd96b){const {skeleton:_0x1c84b6,cursors:_0xd1e87c}=_0x1bd96b;this['_updateCollabCursors'](_0x1c84b6,_0xd1e87c);}})),this[_0x449ef0(0x307)](),this[_0x449ef0(0x230)]();}[_0x1b79a9(0x3f9)](_0x52bd20,_0x3a62ce){const _0x52bc40=_0x1b79a9,{scene:_0x2881f7,mainComponent:_0x462257}=this['_context'],_0x4cbee9=_0x3a62ce[_0x52bc40(0x3dc)](_0xe674b3=>new _0x2d3eea(_0xe674b3,_0x2881f7,_0x52bd20,_0x462257));this['_cursorShapes']=_0x4cbee9,this[_0x52bc40(0x1c4)]=_0x3a62ce;}[_0x1b79a9(0x1e4)](){const _0x2dc076=_0x1b79a9;this[_0x2dc076(0x242)]();const {scene:_0x253b52,mainComponent:_0x384004}=this[_0x2dc076(0x1b8)],_0x637049=this['_docSkeletonManagerService'][_0x2dc076(0x2f2)](),_0x387f1b=this[_0x2dc076(0x1c4)][_0x2dc076(0x3dc)](_0x3c6b2e=>new _0x2d3eea(_0x3c6b2e,_0x253b52,_0x637049,_0x384004));this['_cursorShapes']=_0x387f1b;}[_0x1b79a9(0x242)](){const _0x452762=_0x1b79a9;this['_cursorShapes'][_0x452762(0x31f)](_0x277e36=>_0x277e36['dispose']()),this[_0x452762(0x1e6)]=[];}['_initCommandExecutedListener'](){const _0x38e1e8=_0x1b79a9,_0x154dae=[_0x2ab7a6[_0x38e1e8(0x23f)]['id']];this['disposeWithMe'](this[_0x38e1e8(0x3fc)]['onCommandExecuted'](_0x421209=>{const _0x2ddfe0=_0x38e1e8;_0x154dae[_0x2ddfe0(0x326)](_0x421209['id'])&&_0x421209[_0x2ddfe0(0x2d0)]['unitId']===this[_0x2ddfe0(0x1b8)][_0x2ddfe0(0x2eb)]&&this[_0x2ddfe0(0x1e4)]();}));}[_0x1b79a9(0x307)](){const _0xc83c8=_0x1b79a9;this[_0xc83c8(0x16d)](_0x5451dd[_0xc83c8(0x311)](this['_context']['engine'][_0xc83c8(0x33a)])['pipe'](_0x41845d[_0xc83c8(0x271)](_0x58eefd=>_0x58eefd['type']===_0x177a4a[_0xc83c8(0x367)]['resize']),_0x41845d['throttleTime'](0x10))[_0xc83c8(0x268)](()=>{this['_refreshCollabCursors']();}));}};_0x16ea39=_0x5e94fb([_0x313ed9(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x312bdc[_0x1b79a9(0x233)])),_0x313ed9(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x58b6ae)),_0x313ed9(0x3,_0x5451dd[_0x1b79a9(0x292)]),_0x313ed9(0x4,_0x5451dd['Inject'](_0x5451dd['ThemeService']))],_0x16ea39);const _0x4a3f5d=0x1,_0x17d292=1.5;class _0x27387a extends _0x177a4a['Shape']{constructor(_0x4843c9,_0x9e84d7){const _0xc530b4=_0x1b79a9;super(_0x4843c9,_0x9e84d7),_0x5a8f73(this,_0xc530b4(0x21c)),_0x5a8f73(this,_0xc530b4(0x33c),!0x1),_0x5a8f73(this,_0xc530b4(0x1e1)),_0x5a8f73(this,_0xc530b4(0x20b),''),_0x5a8f73(this,_0xc530b4(0x345),_0xc530b4(0x3a5)),_0x5a8f73(this,_0xc530b4(0x384)),(_0x9e84d7&&this['setShapeProps'](_0x9e84d7),this[_0xc530b4(0x35a)][_0xc530b4(0x223)](()=>this[_0xc530b4(0x33f)]({'hovered':!0x0})),this[_0xc530b4(0x190)]['subscribeEvent'](()=>this[_0xc530b4(0x33f)]({'hovered':!0x1})));}[_0x1b79a9(0x33f)](_0x32d2aa){const _0x393493=_0x1b79a9;var _0x5913f0,_0x31755b,_0x30fa65,_0x3436fd,_0x4f814e,_0xde1699;this['_color']=(_0x5913f0=_0x32d2aa[_0x393493(0x18c)])!=null?_0x5913f0:this['_color'],this[_0x393493(0x33c)]=(_0x31755b=_0x32d2aa['hovered'])!=null?_0x31755b:this['_hovered'],this[_0x393493(0x1e1)]=(_0x30fa65=_0x32d2aa[_0x393493(0x1bd)])!=null?_0x30fa65:this[_0x393493(0x1e1)],this[_0x393493(0x20b)]=(_0x3436fd=_0x32d2aa[_0x393493(0x22b)])!=null?_0x3436fd:this['_name'],this[_0x393493(0x345)]=(_0x4f814e=_0x32d2aa[_0x393493(0x3fa)])!=null?_0x4f814e:this[_0x393493(0x345)],this[_0x393493(0x384)]=(_0xde1699=_0x32d2aa[_0x393493(0x37b)])!=null?_0xde1699:this[_0x393493(0x384)],this['transformByState']({'width':_0x32d2aa[_0x393493(0x32b)],'height':_0x32d2aa['height']});}[_0x1b79a9(0x243)](_0x2e93cc){const _0x3d3007=_0x1b79a9,{row:_0x528b9c,column:_0x10fb5f}=_0x2e93cc;if(_0x528b9c>=this[_0x3d3007(0x1e1)]['startRow']&&_0x528b9c<=this[_0x3d3007(0x1e1)][_0x3d3007(0x332)]&&_0x10fb5f>=this['_range']['startColumn']&&_0x10fb5f<=this['_range']['endColumn']){this[_0x3d3007(0x33f)]({'hovered':!0x0});return;}this[_0x3d3007(0x33f)]({'hovered':!0x1});}[_0x1b79a9(0x269)](_0x1c47a3){return!0x1;}[_0x1b79a9(0x30e)](_0x11d502){const _0x241365=_0x1b79a9;_0x177a4a[_0x241365(0x19a)][_0x241365(0x272)](_0x11d502,{'width':this[_0x241365(0x32b)],'height':this[_0x241365(0x2fb)],'strokeWidth':_0x17d292,'stroke':this[_0x241365(0x21c)],'evented':!0x1,'fill':this[_0x241365(0x384)]}),this['_hovered']&&(_0x11d502['save'](),_0x11d502['transform'](0x1,0x0,0x0,0x1,this[_0x241365(0x32b)],this[_0x241365(0x345)]===_0x241365(0x3f7)?0x0:-0x14),_0x278a49[_0x241365(0x272)](_0x11d502,{'text':this[_0x241365(0x20b)],'color':this[_0x241365(0x21c)]}),_0x11d502['restore']());}}var _0x511b59=Object['getOwnPropertyDescriptor'],_0xce60e=(_0x4451fd,_0x596ffb,_0xdae3d7,_0x5ebef6)=>{for(var _0x7320e6=_0x5ebef6>0x1?void 0x0:_0x5ebef6?_0x511b59(_0x596ffb,_0xdae3d7):_0x596ffb,_0x25b69e=_0x4451fd['length']-0x1,_0x2d494d;_0x25b69e>=0x0;_0x25b69e--)(_0x2d494d=_0x4451fd[_0x25b69e])&&(_0x7320e6=_0x2d494d(_0x7320e6)||_0x7320e6);return _0x7320e6;},_0x735ca8=(_0x5bc850,_0x57de23)=>(_0x7afe93,_0x15accd)=>_0x57de23(_0x7afe93,_0x15accd,_0x5bc850);const _0x3c9b15=0x1389;let _0x97857b=class extends _0x5451dd['RxDisposable']{constructor(_0xae70a6,_0x30b82a,_0x1e2612,_0x5cd76c){const _0x380c57=_0x1b79a9;super(),_0x5a8f73(this,_0x380c57(0x1c4),new Set()),_0x5a8f73(this,'_lastPointer',null),(this['_context']=_0xae70a6,this[_0x380c57(0x324)]=_0x30b82a,this[_0x380c57(0x1fa)]=_0x1e2612,this['_themeService']=_0x5cd76c,this[_0x380c57(0x2b6)]());}[_0x1b79a9(0x2b6)](){const _0x50777b=_0x1b79a9;this['_sheetSkeletonManagerService'][_0x50777b(0x195)]['pipe'](_0x41845d['takeUntil'](this[_0x50777b(0x319)]),_0x41845d[_0x50777b(0x1f2)](_0x340b14=>{const _0x1b4583=_0x50777b;if(_0x340b14){const _0x3d41a3=_0x340b14[_0x1b4583(0x359)];return _0x2918d8[_0x1b4583(0x30c)](this[_0x1b4583(0x1fa)][_0x1b4583(0x3b3)](this[_0x1b4583(0x1b8)][_0x1b4583(0x2eb)]),this[_0x1b4583(0x29b)]['currentTheme$'])[_0x1b4583(0x291)](_0x41845d['map'](([_0x4a6e2d,_0x136107])=>{const _0x426d12=_0x1b4583,_0x15fb6a=new Map();return _0x4a6e2d[_0x426d12(0x31f)]((_0x6c02d9,_0x58bb96)=>{const _0x113328=_0x426d12;if(_0x6c02d9[_0x113328(0x24a)]===_0x3d41a3){const _0x4dffa7={..._0x6c02d9};_0x4dffa7['color']=_0x136107[_0x6c02d9[_0x113328(0x18c)]],_0x15fb6a[_0x113328(0x189)](_0x58bb96,_0x4dffa7);}}),{'skeleton':_0x340b14,'cursors':_0x15fb6a};}));}return _0x2918d8['of']({'skeleton':null,'cursors':new Map()});}))[_0x50777b(0x268)](({skeleton:_0x1bcd1e,cursors:_0x246fe7})=>{const _0x33e58b=_0x50777b;this[_0x33e58b(0x242)](),_0x1bcd1e&&this[_0x33e58b(0x3f9)](_0x1bcd1e,_0x246fe7);}),this[_0x50777b(0x324)]['currentSkeleton$'][_0x50777b(0x268)](_0x42f4d7=>{const _0x3c0ba9=_0x50777b;if(_0x42f4d7==null)return;const {skeleton:_0x105526}=_0x42f4d7,{scene:_0x52e453}=this[_0x3c0ba9(0x1b8)];_0x52e453[_0x3c0ba9(0x1ce)][_0x3c0ba9(0x223)](_0x5451dd[_0x3c0ba9(0x2be)](_0x1363c4=>{const _0x3c01fb=_0x3c0ba9;var _0x1947c5,_0x38c6a9;const {offsetX:_0x5097f5,offsetY:_0x4e1e4f}=_0x1363c4,{x:_0x48ac21,y:_0x467958}=_0x52e453[_0x3c01fb(0x2ef)](_0x177a4a[_0x3c01fb(0x278)][_0x3c01fb(0x31e)]([_0x5097f5,_0x4e1e4f])),{scaleX:_0x5baabd,scaleY:_0x3e2933}=_0x52e453[_0x3c01fb(0x36b)](),_0x23cde2=_0x52e453[_0x3c01fb(0x1cd)](_0x177a4a[_0x3c01fb(0x1d6)][_0x3c01fb(0x36d)]),_0xf2dd08=_0x52e453[_0x3c01fb(0x314)](_0x177a4a[_0x3c01fb(0x278)][_0x3c01fb(0x31e)]([_0x48ac21,_0x467958]),_0x23cde2),_0x23456b=_0x105526['getCellPositionByOffset'](_0x5097f5,_0x4e1e4f,_0x5baabd,_0x3e2933,_0xf2dd08);((_0x1947c5=this[_0x3c01fb(0x3bb)])==null?void 0x0:_0x1947c5[_0x3c01fb(0x3f1)])===_0x23456b[_0x3c01fb(0x3f1)]&&((_0x38c6a9=this[_0x3c01fb(0x3bb)])==null?void 0x0:_0x38c6a9['row'])===_0x23456b[_0x3c01fb(0x3f8)]||this[_0x3c01fb(0x1c4)]['forEach'](_0x4f0a2b=>{const _0x22291a=_0x3c01fb;_0x4f0a2b[_0x22291a(0x243)](_0x23456b);});},0x64));});}[_0x1b79a9(0x3f9)](_0x4daeae,_0x4f106d){const _0x5d3f09=_0x1b79a9;var _0x3b05f9;const _0x3f98d8=(_0x3b05f9=this[_0x5d3f09(0x324)][_0x5d3f09(0x205)]())==null?void 0x0:_0x3b05f9[_0x5d3f09(0x2f4)];if(!_0x3f98d8)return;const _0x2ff353=this[_0x5d3f09(0x310)]();if(!_0x2ff353)return;this[_0x5d3f09(0x1c4)][_0x5d3f09(0x31f)](_0x3929da=>{const _0x3ff374=_0x5d3f09;_0x3929da[_0x3ff374(0x178)]();});const {scene:_0x1a6870}=_0x2ff353,_0x4dee8f=_0x232e25(Array[_0x5d3f09(0x39e)](_0x4f106d[_0x5d3f09(0x29a)]()))[_0x5d3f09(0x3dc)](_0x47c964=>{const _0x15489a=_0x5d3f09,{color:_0x155587,range:_0x443e4e,name:_0x347e9d,selection:_0x15c398,sheetID:_0x2ef4b0}=_0x47c964,{startColumn:_0x2b1816,startRow:_0x586bc6,endColumn:_0x54fa33,endRow:_0x1dd8a6}=_0x443e4e,_0x57f22a=_0x568638[_0x15489a(0x2ea)](_0x586bc6,_0x2b1816,_0x1a6870,_0x3f98d8),_0x581708=_0x568638[_0x15489a(0x2ea)](_0x1dd8a6,_0x54fa33,_0x1a6870,_0x3f98d8),{columnHeaderHeightAndMarginTop:_0x1146ee}=_0x3f98d8,{startX:_0x340702,startY:_0x1f6160}=_0x57f22a,{endX:_0x452a37,endY:_0x4a2a31}=_0x581708,_0x27bd6c=_0x452a37-_0x340702,_0x4bbe6f=_0x4a2a31-_0x1f6160,_0x3c4c1f={'labelPosition':_0x1f6160-_0x1146ee>=_0x186acf?_0x15489a(0x3a5):_0x15489a(0x3f7),'sheetID':_0x2ef4b0,'range':_0x443e4e,'color':_0x155587,'name':_0x347e9d,'selection':_0x15c398,'left':_0x340702,'top':_0x1f6160,'width':_0x27bd6c,'height':_0x4bbe6f,'evented':!0x1,'zIndex':_0x3c9b15};return new _0x27387a(_0x347e9d,_0x3c4c1f);});_0x1a6870[_0x5d3f09(0x286)](_0x4dee8f,_0x4a3f5d),this[_0x5d3f09(0x1c4)]=new Set(_0x4dee8f);}[_0x1b79a9(0x242)](){const _0xb87a0f=_0x1b79a9;var _0x1138cf;(_0x1138cf=this[_0xb87a0f(0x1c4)])==null||_0x1138cf[_0xb87a0f(0x31f)](_0x52c15a=>_0x52c15a[_0xb87a0f(0x3d1)]());}[_0x1b79a9(0x310)](){const _0x1f604c=_0x1b79a9;return _0x568638['getSheetObject'](this[_0x1f604c(0x1b8)][_0x1f604c(0x203)],this[_0x1f604c(0x1b8)]);}};_0x97857b=_0xce60e([_0x735ca8(0x1,_0x5451dd['Inject'](_0x568638[_0x1b79a9(0x21a)])),_0x735ca8(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x58b6ae)),_0x735ca8(0x3,_0x5451dd['Inject'](_0x5451dd[_0x1b79a9(0x316)]))],_0x97857b);function _0x232e25(_0x3422e9){const _0x49fa49=_0x1b79a9,_0x3df9e6=new Map();return _0x3422e9['forEach'](_0x572d55=>{const _0x45bd98=_0xe752;if(_0x3df9e6[_0x45bd98(0x19e)](_0x572d55[_0x45bd98(0x18a)])){const _0x260589=_0x3df9e6[_0x45bd98(0x346)](_0x572d55[_0x45bd98(0x18a)]);_0x260589[_0x45bd98(0x22b)]+=',\x20'+_0x572d55[_0x45bd98(0x22b)];}else _0x3df9e6[_0x45bd98(0x189)](_0x572d55[_0x45bd98(0x18a)],_0x572d55);}),Array['from'](_0x3df9e6[_0x49fa49(0x29a)]());}var _0x2e8283=function(){const _0x2e9497=_0x1b79a9;return _0x2e8283=Object['assign']||function(_0x597013){const _0x189884=_0xe752;for(var _0xf403a3,_0x18d02b=0x1,_0x1a3a20=arguments[_0x189884(0x2d5)];_0x18d02b<_0x1a3a20;_0x18d02b++){_0xf403a3=arguments[_0x18d02b];for(var _0x47e9f5 in _0xf403a3)Object['prototype']['hasOwnProperty'][_0x189884(0x23c)](_0xf403a3,_0x47e9f5)&&(_0x597013[_0x47e9f5]=_0xf403a3[_0x47e9f5]);}return _0x597013;},_0x2e8283[_0x2e9497(0x2d6)](this,arguments);},_0x58ff10=function(_0xe3afc,_0x37dd7a){const _0x315de8=_0x1b79a9;var _0x1d1ef7={};for(var _0x58db6d in _0xe3afc)Object[_0x315de8(0x181)][_0x315de8(0x2d8)]['call'](_0xe3afc,_0x58db6d)&&_0x37dd7a[_0x315de8(0x2ec)](_0x58db6d)<0x0&&(_0x1d1ef7[_0x58db6d]=_0xe3afc[_0x58db6d]);if(_0xe3afc!=null&&typeof Object[_0x315de8(0x1ec)]=='function'){for(var _0x2b6ff9=0x0,_0x58db6d=Object[_0x315de8(0x1ec)](_0xe3afc);_0x2b6ff9<_0x58db6d[_0x315de8(0x2d5)];_0x2b6ff9++)_0x37dd7a[_0x315de8(0x2ec)](_0x58db6d[_0x2b6ff9])<0x0&&Object[_0x315de8(0x181)]['propertyIsEnumerable'][_0x315de8(0x23c)](_0xe3afc,_0x58db6d[_0x2b6ff9])&&(_0x1d1ef7[_0x58db6d[_0x2b6ff9]]=_0xe3afc[_0x58db6d[_0x2b6ff9]]);}return _0x1d1ef7;},_0x3d5827=_0x39bcbd[_0x1b79a9(0x1d0)](function(_0x43fc23,_0x41d51b){const _0x29d03e=_0x1b79a9;var _0x5c7854=_0x43fc23['icon'],_0x5bc694=_0x43fc23['id'],_0x422a58=_0x43fc23[_0x29d03e(0x3ac)],_0x1c7b1b=_0x43fc23['extend'],_0x34caa5=_0x58ff10(_0x43fc23,[_0x29d03e(0x34c),'id','className',_0x29d03e(0x2e9)]),_0x4ae34f=_0x29d03e(0x2de)['concat'](_0x5bc694,'\x20')['concat'](_0x422a58||'')[_0x29d03e(0x399)](),_0x5161a6=_0x39bcbd[_0x29d03e(0x31c)]('_'['concat'](_0x26f35a()));return _0x5cc543(_0x5c7854,''[_0x29d03e(0x16b)](_0x5bc694),{'defIds':_0x5c7854[_0x29d03e(0x172)],'idSuffix':_0x5161a6[_0x29d03e(0x19c)]},_0x2e8283({'ref':_0x41d51b,'className':_0x4ae34f},_0x34caa5),_0x1c7b1b);});function _0x5cc543(_0xe135a7,_0x21cb6f,_0x18d8b0,_0x1dccce,_0xce4de3){const _0x6d94d7=_0x1b79a9;return _0x39bcbd['createElement'](_0xe135a7[_0x6d94d7(0x34b)],_0x2e8283(_0x2e8283({'key':_0x21cb6f},_0x5920dd(_0xe135a7,_0x18d8b0,_0xce4de3)),_0x1dccce),(_0x21e3b4(_0xe135a7,_0x18d8b0)['children']||[])[_0x6d94d7(0x3dc)](function(_0x2fbe3f,_0x1dacb6){const _0x31bed8=_0x6d94d7;return _0x5cc543(_0x2fbe3f,''[_0x31bed8(0x16b)](_0x21cb6f,'-')[_0x31bed8(0x16b)](_0xe135a7[_0x31bed8(0x34b)],'-')['concat'](_0x1dacb6),_0x18d8b0,void 0x0,_0xce4de3);}));}function _0x5920dd(_0x4e5606,_0x2fccee,_0x3219e2){const _0x35a8e0=_0x1b79a9;var _0x46d658=_0x2e8283({},_0x4e5606['attrs']);_0x3219e2!=null&&_0x3219e2[_0x35a8e0(0x20d)]&&_0x46d658[_0x35a8e0(0x363)]===_0x35a8e0(0x20d)&&(_0x46d658[_0x35a8e0(0x363)]=_0x3219e2['colorChannel1']),_0x4e5606[_0x35a8e0(0x34b)]==='mask'&&_0x46d658['id']&&(_0x46d658['id']=_0x46d658['id']+_0x2fccee['idSuffix']),Object[_0x35a8e0(0x2e4)](_0x46d658)['forEach'](function(_0x647dbe){const _0x24ee5a=_0x35a8e0;var _0x20ea92=_0x647dbe[0x0],_0x37e214=_0x647dbe[0x1];_0x20ea92===_0x24ee5a(0x379)&&typeof _0x37e214=='string'&&(_0x46d658[_0x20ea92]=_0x37e214[_0x24ee5a(0x2c1)](/url\(#(.*)\)/,_0x24ee5a(0x321)[_0x24ee5a(0x16b)](_0x2fccee[_0x24ee5a(0x198)],')')));});var _0x20b95e=_0x2fccee[_0x35a8e0(0x172)];return!_0x20b95e||_0x20b95e['length']===0x0||(_0x4e5606[_0x35a8e0(0x34b)]===_0x35a8e0(0x209)&&_0x46d658[_0x35a8e0(0x28b)]&&(_0x46d658['xlink:href']=_0x46d658[_0x35a8e0(0x28b)]+_0x2fccee[_0x35a8e0(0x198)]),Object[_0x35a8e0(0x2e4)](_0x46d658)[_0x35a8e0(0x31f)](function(_0x364c1b){const _0x5b8084=_0x35a8e0;var _0x2dc268=_0x364c1b[0x0],_0x32c8f3=_0x364c1b[0x1];typeof _0x32c8f3=='string'&&(_0x46d658[_0x2dc268]=_0x32c8f3[_0x5b8084(0x2c1)](/url\(#(.*)\)/,_0x5b8084(0x321)['concat'](_0x2fccee[_0x5b8084(0x198)],')')));})),_0x46d658;}function _0x21e3b4(_0x44fee2,_0x2ca64a){const _0x49ca19=_0x1b79a9;var _0x3d71f6,_0x5b185a=_0x2ca64a['defIds'];return!_0x5b185a||_0x5b185a[_0x49ca19(0x2d5)]===0x0?_0x44fee2:_0x44fee2['tag']===_0x49ca19(0x18e)&&(!((_0x3d71f6=_0x44fee2['children'])===null||_0x3d71f6===void 0x0)&&_0x3d71f6[_0x49ca19(0x2d5)])?_0x2e8283(_0x2e8283({},_0x44fee2),{'children':_0x44fee2['children'][_0x49ca19(0x3dc)](function(_0x3278e1){const _0x37c69a=_0x49ca19;return typeof _0x3278e1[_0x37c69a(0x3be)]['id']==_0x37c69a(0x31d)&&_0x5b185a&&_0x5b185a[_0x37c69a(0x2ec)](_0x3278e1[_0x37c69a(0x3be)]['id'])>-0x1?_0x2e8283(_0x2e8283({},_0x3278e1),{'attrs':_0x2e8283(_0x2e8283({},_0x3278e1[_0x37c69a(0x3be)]),{'id':_0x3278e1[_0x37c69a(0x3be)]['id']+_0x2ca64a[_0x37c69a(0x198)]})}):_0x3278e1;})}):_0x44fee2;}function _0x26f35a(){const _0x10b89b=_0x1b79a9;return Math['random']()['toString'](0x24)[_0x10b89b(0x1dd)](0x2,0x8);}_0x3d5827[_0x1b79a9(0x22a)]=_0x1b79a9(0x3c3);var _0x4c7e71={'tag':'svg','attrs':{'fill':_0x1b79a9(0x35b),'viewBox':_0x1b79a9(0x284),'width':'1em','height':_0x1b79a9(0x1f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b79a9(0x2b2)},'children':[{'tag':'path','attrs':{'stroke':_0x1b79a9(0x1f7),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1b79a9(0x290),'strokeLinejoin':_0x1b79a9(0x290),'strokeWidth':1.2}}]},{'tag':_0x1b79a9(0x18e),'attrs':{},'children':[{'tag':_0x1b79a9(0x1d8),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1b79a9(0x362),'attrs':{'fill':'#fff','d':_0x1b79a9(0x267)}}]}]}],'defIds':[_0x1b79a9(0x3ad)]},_0x1ba6ef=_0x39bcbd[_0x1b79a9(0x1d0)](function(_0x10f9cd,_0xc939cb){const _0x57bdd4=_0x1b79a9;return _0x39bcbd['createElement'](_0x3d5827,Object['assign']({},_0x10f9cd,{'id':_0x57bdd4(0x231),'ref':_0xc939cb,'icon':_0x4c7e71}));});_0x1ba6ef['displayName']=_0x1b79a9(0x1e8);var _0x2eab5c={'tag':'svg','attrs':{'fill':_0x1b79a9(0x35b),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x1b79a9(0x1f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b79a9(0x239)},'children':[{'tag':_0x1b79a9(0x362),'attrs':{'stroke':'currentColor','d':_0x1b79a9(0x2d3),'strokeLinecap':_0x1b79a9(0x290),'strokeLinejoin':_0x1b79a9(0x290),'strokeWidth':1.2}}]},{'tag':_0x1b79a9(0x18e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1b79a9(0x1a8)},'children':[{'tag':_0x1b79a9(0x362),'attrs':{'fill':_0x1b79a9(0x322),'d':_0x1b79a9(0x267),'transform':_0x1b79a9(0x1a6)}}]}]}],'defIds':[_0x1b79a9(0x1a8)]},_0x277488=_0x39bcbd['forwardRef'](function(_0x23cd5f,_0x294497){const _0x464275=_0x1b79a9;return _0x39bcbd['createElement'](_0x3d5827,Object['assign']({},_0x23cd5f,{'id':_0x464275(0x16f),'ref':_0x294497,'icon':_0x2eab5c}));});_0x277488[_0x1b79a9(0x22a)]=_0x1b79a9(0x341);function _0x500bca(_0x453e7b){const _0x323340=_0x1b79a9;switch(_0x453e7b){case _0x345800['CollaborationStatus'][_0x323340(0x27b)]:return _0x323340(0x1eb);case _0x345800[_0x323340(0x1b2)]['CONFLICT']:return'collabStatus.conflict';case _0x345800[_0x323340(0x1b2)][_0x323340(0x1db)]:return _0x323340(0x19f);case _0x345800[_0x323340(0x1b2)][_0x323340(0x3e2)]:return _0x323340(0x1a3);case _0x345800[_0x323340(0x1b2)][_0x323340(0x1d7)]:case _0x345800['CollaborationStatus'][_0x323340(0x37e)]:return _0x323340(0x192);case _0x345800['CollaborationStatus'][_0x323340(0x1e0)]:case _0x345800[_0x323340(0x1b2)]['PENDING']:return _0x323340(0x2af);}}function _0xbc6465(_0x561a68){const _0x29b079=_0x1b79a9,{status$:_0xf255e2}=_0x561a68,_0x4b6450=_0x363b55[_0x29b079(0x360)](_0xf255e2,_0x345800['CollaborationStatus'][_0x29b079(0x3e2)]),_0x2ddbb0=_0x363b55[_0x29b079(0x3e3)](_0x5451dd[_0x29b079(0x265)]),_0x557075=_0x363b55['useDependency'](_0x345800['CollaborationSessionService']),_0x32825f=_0x4b6450!==_0x345800[_0x29b079(0x1b2)][_0x29b079(0x27b)],_0x4dc7f5=_0x2ddbb0['t'](_0x500bca(_0x4b6450)),_0x7cbf7d=_0x32825f?_0x4f030b['jsx'](_0x277488,{}):_0x4f030b[_0x29b079(0x3c6)](_0x1ba6ef,{}),_0x16f364=_0x39bcbd[_0x29b079(0x179)](()=>{const _0x467803=_0x29b079;_0x32825f||_0x557075[_0x467803(0x34a)]();},[_0x32825f,_0x557075]);function _0x43c474(){const _0x13adda=_0x29b079;return _0x4f030b['jsxs'](_0x13adda(0x386),{'className':_0x13adda(0x39d),'onClick':_0x16f364,'children':[_0x4f030b[_0x13adda(0x3c6)](_0x13adda(0x386),{'className':_0x1e2a6b[_0x13adda(0x38f)](_0x13adda(0x28a),_0x32825f?_0x13adda(0x280):_0x13adda(0x2b5)),'children':_0x7cbf7d}),_0x4f030b['jsx'](_0x13adda(0x386),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x4dc7f5})]});}return _0x32825f?_0x43c474():_0x4f030b[_0x29b079(0x3c6)](_0x1e2a6b[_0x29b079(0x1e3)],{'title':_0x2ddbb0['t']('collab-client.tooltip.reconnect'),'children':_0x43c474()});}var _0x48bff2=Object[_0x1b79a9(0x3a7)],_0x6ffc9=(_0x53576c,_0x5a49ed,_0x493198,_0x53e31c)=>{const _0x44995f=_0x1b79a9;for(var _0xedbbcc=_0x53e31c>0x1?void 0x0:_0x53e31c?_0x48bff2(_0x5a49ed,_0x493198):_0x5a49ed,_0x413a8a=_0x53576c[_0x44995f(0x2d5)]-0x1,_0x3422b9;_0x413a8a>=0x0;_0x413a8a--)(_0x3422b9=_0x53576c[_0x413a8a])&&(_0xedbbcc=_0x3422b9(_0xedbbcc)||_0xedbbcc);return _0xedbbcc;},_0x828ada=(_0x185e3e,_0x47fd0a)=>(_0x10d93e,_0x5827b5)=>_0x47fd0a(_0x10d93e,_0x5827b5,_0x185e3e);_0x18110a['DesktopCollaborationStatusDisplayController']=class extends _0x5451dd['Disposable']{constructor(_0x2dbc7c,_0x3e3d7a,_0x5994d3,_0x2f7383){const _0x5f2363=_0x1b79a9;super(),_0x5a8f73(this,_0x5f2363(0x215),new _0x2918d8[(_0x5f2363(0x35e))](_0x345800['CollaborationStatus'][_0x5f2363(0x3e2)])),(this[_0x5f2363(0x356)]=_0x2dbc7c,this[_0x5f2363(0x1ad)]=_0x3e3d7a,this[_0x5f2363(0x389)]=_0x5994d3,this[_0x5f2363(0x270)]=_0x2f7383,this['_initStatusComponent'](),this[_0x5f2363(0x320)]());}[_0x1b79a9(0x320)](){const _0x48e77c=_0x1b79a9;this[_0x48e77c(0x16d)](this[_0x48e77c(0x356)]['focused$'][_0x48e77c(0x291)](_0x2918d8[_0x48e77c(0x1f2)](()=>{const _0x17946d=_0x48e77c,_0x59fb61=this[_0x17946d(0x356)][_0x17946d(0x24d)]();return _0x59fb61?this[_0x17946d(0x389)][_0x17946d(0x24e)](_0x59fb61[_0x17946d(0x2bd)]()):_0x2918d8['of'](null);}),_0x2918d8[_0x48e77c(0x1f2)](_0x5911fc=>_0x5911fc?_0x5911fc[_0x48e77c(0x395)]:_0x2918d8['of'](_0x345800[_0x48e77c(0x1b2)]['NOT_COLLAB'])))[_0x48e77c(0x268)](_0x293313=>{const _0x38a9c1=_0x48e77c;this[_0x38a9c1(0x215)]['next'](_0x293313);}));}[_0x1b79a9(0x308)](){const _0x5e7b50=_0x1b79a9;this[_0x5e7b50(0x16d)](this['_uiPartsService'][_0x5e7b50(0x26f)](_0x363b55[_0x5e7b50(0x2f3)][_0x5e7b50(0x1ed)],()=>_0x363b55[_0x5e7b50(0x348)](_0x1c5f3c({'status$':this[_0x5e7b50(0x215)]['asObservable']()}),this[_0x5e7b50(0x1ad)])));}},_0x18110a[_0x1b79a9(0x1ba)]=_0x6ffc9([_0x828ada(0x0,_0x5451dd[_0x1b79a9(0x1ff)]),_0x828ada(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x828ada(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x194)])),_0x828ada(0x3,_0x363b55[_0x1b79a9(0x340)])],_0x18110a[_0x1b79a9(0x1ba)]);function _0x1c5f3c(_0x5a990b){const {status$:_0x388275}=_0x5a990b;return function(){const _0x52bc69=_0xe752;return _0x4f030b[_0x52bc69(0x3c6)](_0xbc6465,{'status$':_0x388275});};}var _0x778693=Object[_0x1b79a9(0x3a7)],_0x3c2516=(_0x44ce7b,_0x18465b,_0x334701,_0x5a2f97)=>{const _0x44a02c=_0x1b79a9;for(var _0x15baa9=_0x5a2f97>0x1?void 0x0:_0x5a2f97?_0x778693(_0x18465b,_0x334701):_0x18465b,_0x417e06=_0x44ce7b[_0x44a02c(0x2d5)]-0x1,_0x2539a0;_0x417e06>=0x0;_0x417e06--)(_0x2539a0=_0x44ce7b[_0x417e06])&&(_0x15baa9=_0x2539a0(_0x15baa9)||_0x15baa9);return _0x15baa9;},_0x37b564=(_0x27047f,_0x575919)=>(_0x5e0ecc,_0x3283da)=>_0x575919(_0x5e0ecc,_0x3283da,_0x27047f);let _0x295d51=class extends _0x5451dd[_0x1b79a9(0x2f9)]{constructor(_0x4ac726,_0x1df4a3,_0x4c2360,_0x5efd6a,_0x474c86,_0x2e9e83){const _0x25d769=_0x1b79a9;super(),this[_0x25d769(0x3e4)]=_0x4ac726,this[_0x25d769(0x32d)]=_0x1df4a3,this['_collaborationUIEventService']=_0x4c2360,this[_0x25d769(0x17c)]=_0x5efd6a,this[_0x25d769(0x30b)]=_0x474c86,this[_0x25d769(0x1ca)]=_0x2e9e83,this[_0x25d769(0x1a0)](),this[_0x25d769(0x1a7)]();}[_0x1b79a9(0x1a0)](){const _0x3a1643=_0x1b79a9;this[_0x3a1643(0x16d)](this[_0x3a1643(0x3e4)]['registerBeforeClose'](()=>{const _0x3648e3=_0x3a1643;if(this[_0x3648e3(0x32d)][_0x3648e3(0x274)][_0x3648e3(0x1da)])return this['_localeService']['t'](_0x3648e3(0x1f1));}));}[_0x1b79a9(0x1a7)](){const _0x343a1e=_0x1b79a9;this[_0x343a1e(0x16d)](this[_0x343a1e(0x245)][_0x343a1e(0x3f2)][_0x343a1e(0x268)](_0x1cba37=>{const _0x40c34c=_0x343a1e;_0x1cba37['id']===_0x345800[_0x40c34c(0x372)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x365)],'content':this[_0x40c34c(0x1ca)]['t'](_0x40c34c(0x3ab))}),_0x1cba37['id']===_0x345800[_0x40c34c(0x372)][_0x40c34c(0x1c7)]&&this[_0x40c34c(0x17c)]['show']({'type':_0x1e2a6b[_0x40c34c(0x21e)]['Warning'],'content':this[_0x40c34c(0x1ca)]['t'](_0x40c34c(0x297))}),_0x1cba37['id']===_0x345800['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x40c34c(0x30b)][_0x40c34c(0x32e)]({'title':this[_0x40c34c(0x1ca)]['t']('permission.title'),'content':this['_localeService']['t'](_0x40c34c(0x3af)),'type':'error','duration':0x0}),_0x1cba37['id']===_0x345800['CollaborationUIEventId']['CONFLICT']&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b['MessageType'][_0x40c34c(0x273)],'content':this['_localeService']['t'](_0x40c34c(0x297))+'('+_0x1cba37[_0x40c34c(0x370)]+')'}),_0x1cba37['id']===_0x345800[_0x40c34c(0x372)][_0x40c34c(0x2b4)]&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)]['Warning'],'content':this['_localeService']['t'](_0x1cba37['data']||'')}),_0x1cba37['id']===_0x345800['CollaborationUIEventId'][_0x40c34c(0x196)]&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x365)],'content':this['_localeService']['t'](_0x40c34c(0x23b))}),_0x1cba37['id']===_0x345800['CollaborationUIEventId'][_0x40c34c(0x213)]&&this[_0x40c34c(0x17c)][_0x40c34c(0x32e)]({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x273)],'content':this['_localeService']['t'](_0x40c34c(0x3b4))}),_0x1cba37['id']===_0x345800[_0x40c34c(0x372)][_0x40c34c(0x221)]&&this[_0x40c34c(0x17c)]['show']({'type':_0x1e2a6b[_0x40c34c(0x21e)][_0x40c34c(0x273)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x295d51=_0x3c2516([_0x37b564(0x0,_0x363b55['IBeforeCloseService']),_0x37b564(0x1,_0x345800[_0x1b79a9(0x349)]),_0x37b564(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x241)])),_0x37b564(0x3,_0x363b55[_0x1b79a9(0x39b)]),_0x37b564(0x4,_0x363b55[_0x1b79a9(0x2ff)]),_0x37b564(0x5,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd['LocaleService']))],_0x295d51);const _0xf013c2=_0x1b79a9(0x3f5),_0x4e0614={},_0x4d10c1=_0x5451dd['createIdentifier'](_0x1b79a9(0x255));var _0x453fd6=Object[_0x1b79a9(0x3a7)],_0x4494e4=(_0x30ad7f,_0x3c816a,_0x5634ec,_0x360fe8)=>{const _0xcc623e=_0x1b79a9;for(var _0x568188=_0x360fe8>0x1?void 0x0:_0x360fe8?_0x453fd6(_0x3c816a,_0x5634ec):_0x3c816a,_0x2f19a2=_0x30ad7f[_0xcc623e(0x2d5)]-0x1,_0x322aac;_0x2f19a2>=0x0;_0x2f19a2--)(_0x322aac=_0x30ad7f[_0x2f19a2])&&(_0x568188=_0x322aac(_0x568188)||_0x568188);return _0x568188;},_0x5dca5f=(_0x4a3eaa,_0x3308a3)=>(_0x5ae264,_0x41e798)=>_0x3308a3(_0x5ae264,_0x41e798,_0x4a3eaa);_0x18110a[_0x1b79a9(0x2bb)]=class extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(_0xc6a07e,_0x388308,_0x3d2d78,_0x101698,_0xc09c1e){const _0x100a04=_0x1b79a9;super(),this[_0x100a04(0x357)]=_0xc6a07e,this[_0x100a04(0x301)]=_0x388308,this[_0x100a04(0x3fc)]=_0x3d2d78,this[_0x100a04(0x3e0)]=_0x101698,_0xc09c1e?_0xc09c1e==null||_0xc09c1e[_0x100a04(0x2fa)]()[_0x100a04(0x2b1)](()=>this[_0x100a04(0x2b6)]()):(this[_0x100a04(0x301)][_0x100a04(0x315)](_0x100a04(0x39c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x100a04(0x2b6)]());}async[_0x1b79a9(0x2b6)](){const _0x3998e6=_0x1b79a9,_0x331a45=this[_0x3998e6(0x357)][_0x3998e6(0x298)]('unit'),_0x435be6=this['_urlService'][_0x3998e6(0x298)](_0x3998e6(0x368)),_0x53b6a3=this[_0x3998e6(0x357)][_0x3998e6(0x298)](_0x3998e6(0x31a));if(!_0x331a45||!_0x435be6){this['_logService'][_0x3998e6(0x315)](_0x3998e6(0x39c),_0x3998e6(0x373));return;}const _0xc3f144=await this[_0x3998e6(0x3e0)][_0x3998e6(0x2f5)](_0x331a45,Number(_0x435be6),_0x53b6a3);_0xc3f144&&_0xc3f144 instanceof _0x5451dd[_0x3998e6(0x344)]&&this['_setupSubUnitSync'](_0xc3f144);}async[_0x1b79a9(0x173)](_0x2d6ac3){const _0x1d2932=_0x1b79a9;await this[_0x1d2932(0x1cc)](_0x2d6ac3),_0x2d6ac3['activeSheet$'][_0x1d2932(0x291)](_0x2918d8[_0x1d2932(0x25b)](this[_0x1d2932(0x319)]))[_0x1d2932(0x268)](_0x518e6c=>{const _0x320ec3=_0x1d2932;_0x518e6c&&this[_0x320ec3(0x262)](_0x518e6c);}),this[_0x1d2932(0x357)]['urlChange$'][_0x1d2932(0x291)](_0x2918d8[_0x1d2932(0x25b)](this[_0x1d2932(0x319)]))[_0x1d2932(0x268)](()=>this[_0x1d2932(0x1cc)](_0x2d6ac3));}['_updateURLWithCurrentState'](_0x3ca181,_0x534821=!0x1){const _0x3d8fff=_0x1b79a9,_0x4e91ba=this[_0x3d8fff(0x357)][_0x3d8fff(0x298)](_0x3d8fff(0x31a));_0x3ca181['getSheetId']()!==_0x4e91ba&&this[_0x3d8fff(0x357)][_0x3d8fff(0x3b1)](_0x3d8fff(0x31a),_0x3ca181[_0x3d8fff(0x3d7)](),_0x534821);}async['_updateSubUnitFromURLParams'](_0x30e184){const _0x19219b=_0x1b79a9;var _0x3eec5c;const _0x535731=this[_0x19219b(0x357)][_0x19219b(0x298)](_0x19219b(0x31a));if(!_0x535731||!_0x30e184[_0x19219b(0x20c)](_0x535731)){const _0x28034b=_0x30e184['getUnhiddenWorksheets']()[0x0],_0x441c45=_0x30e184['getSheetBySheetId'](_0x28034b);if(!_0x441c45)return;this[_0x19219b(0x262)](_0x441c45,!0x0),await this['_commandService'][_0x19219b(0x312)](_0x550773[_0x19219b(0x2a1)]['id'],{'unitId':_0x30e184[_0x19219b(0x2bd)](),'subUnitId':_0x28034b});return;}((_0x3eec5c=_0x30e184['getActiveSheet']())==null?void 0x0:_0x3eec5c[_0x19219b(0x3d7)]())!==_0x535731&&await this['_commandService'][_0x19219b(0x312)](_0x550773[_0x19219b(0x2a1)]['id'],{'unitId':_0x30e184['getUnitId'](),'subUnitId':_0x535731});}},_0x18110a[_0x1b79a9(0x2bb)]=_0x4494e4([_0x5dca5f(0x0,_0x4d10c1),_0x5dca5f(0x1,_0x5451dd[_0x1b79a9(0x3a1)]),_0x5dca5f(0x2,_0x5451dd[_0x1b79a9(0x292)]),_0x5dca5f(0x3,_0x5451dd['Inject'](_0x345800[_0x1b79a9(0x27f)])),_0x5dca5f(0x4,_0x5451dd[_0x1b79a9(0x3b0)](_0x382cc7[_0x1b79a9(0x29c)]))],_0x18110a[_0x1b79a9(0x2bb)]);var _0x1ee398=Object[_0x1b79a9(0x3a7)],_0x2c2108=(_0x3207f3,_0x5589bb,_0x3cdb14,_0x393213)=>{const _0x1f02df=_0x1b79a9;for(var _0xc1bf9e=_0x393213>0x1?void 0x0:_0x393213?_0x1ee398(_0x5589bb,_0x3cdb14):_0x5589bb,_0x897ab3=_0x3207f3[_0x1f02df(0x2d5)]-0x1,_0x4fcbe2;_0x897ab3>=0x0;_0x897ab3--)(_0x4fcbe2=_0x3207f3[_0x897ab3])&&(_0xc1bf9e=_0x4fcbe2(_0xc1bf9e)||_0xc1bf9e);return _0xc1bf9e;},_0x239e7d=(_0x361f7c,_0x9a2588)=>(_0x317d12,_0x25df54)=>_0x9a2588(_0x317d12,_0x25df54,_0x361f7c);let _0x21fecf=class{constructor(_0x2f83c6,_0x26203f,_0x9b2a48){const _0x3b0da8=_0x1b79a9;this[_0x3b0da8(0x1ad)]=_0x2f83c6,this[_0x3b0da8(0x392)]=_0x26203f,this[_0x3b0da8(0x2fc)]=_0x9b2a48;}[_0x1b79a9(0x3fe)](_0x4648e4){const _0x3f0d75=_0x1b79a9;this[_0x3f0d75(0x2d9)](_0x4648e4),this['_transformPreviousActiveRange'](_0x4648e4);}[_0x1b79a9(0x334)](_0x1926fb){const _0x136ddd=_0x1b79a9,{unitID:_0x1fbf42}=_0x1926fb,_0x3c3b12=this[_0x136ddd(0x2fc)][_0x136ddd(0x31b)](_0x1fbf42)[_0x136ddd(0x1ee)](_0x2ab7a6[_0x136ddd(0x2bc)]),{redoCache:_0x395e48}=_0x3c3b12[_0x136ddd(0x1df)]();if(_0x395e48[_0x136ddd(0x2d5)]===0x0)return _0x1926fb;let _0x156f38=_0x5451dd[_0x136ddd(0x19b)]['deepClone'](_0x1926fb[_0x136ddd(0x1cb)][0x0]);for(let _0x424410=0x0;_0x424410<_0x395e48['length'];_0x424410++){const _0x2aea10={'id':'doc.mutation.rich-text-editing','params':{..._0x395e48[_0x424410]}},_0x496e87=this[_0x136ddd(0x392)][_0x136ddd(0x22c)](_0x156f38,_0x2aea10,!0x1);if(_0xe29c42[_0x136ddd(0x339)](_0x496e87))throw _0x496e87['error'];_0x156f38=_0x496e87[_0x136ddd(0x3b5)];}return{..._0x5451dd[_0x136ddd(0x19b)]['deepClone'](_0x1926fb),'mutations':[_0x156f38]};}[_0x1b79a9(0x2d9)](_0x49a020){const _0x4e43fc=_0x1b79a9,{unitID:_0x911d27}=_0x49a020,_0x28bdad=this[_0x4e43fc(0x2fc)][_0x4e43fc(0x31b)](_0x911d27)[_0x4e43fc(0x1ee)](_0x2ab7a6[_0x4e43fc(0x2bc)]),{undoCache:_0x2289f2,redoCache:_0x260301}=_0x28bdad[_0x4e43fc(0x1df)]();if(_0x2289f2[_0x4e43fc(0x2d5)]===0x0||_0x260301[_0x4e43fc(0x2d5)]===0x0)return;const _0xae874=[],_0x481277=[];let _0x26c237=_0x5451dd['Tools'][_0x4e43fc(0x3a6)](_0x49a020[_0x4e43fc(0x1cb)][0x0]),_0x3d518b=_0x5451dd[_0x4e43fc(0x19b)]['deepClone'](_0x49a020[_0x4e43fc(0x1cb)][0x0]);for(let _0x839864=_0x2289f2[_0x4e43fc(0x2d5)]-0x1;_0x839864>=0x0;_0x839864--){const _0x45db86={'id':_0x4e43fc(0x3b7),'params':{..._0x2289f2[_0x839864]}},_0x3ad89e={'id':_0x4e43fc(0x3b7),'params':{..._0x260301[_0x839864]}},_0x2d636b=this[_0x4e43fc(0x392)][_0x4e43fc(0x22c)](_0x26c237,_0x45db86,!0x1),_0x6aeab9=this[_0x4e43fc(0x392)]['transformMutation'](_0x3d518b,_0x3ad89e,!0x1);if(_0xe29c42[_0x4e43fc(0x339)](_0x2d636b))throw _0x2d636b[_0x4e43fc(0x2f8)];if(_0xe29c42[_0x4e43fc(0x339)](_0x6aeab9))throw _0x6aeab9['error'];_0xae874[_0x4e43fc(0x3ee)](_0x2d636b[_0x4e43fc(0x353)]['params']),_0x481277['unshift'](_0x6aeab9['m2Prime'][_0x4e43fc(0x2d0)]),_0x26c237=_0x2d636b['m1Prime'],_0x3d518b=_0x6aeab9[_0x4e43fc(0x3b5)];}_0x28bdad['setUndoRedoMutationParamsCache']({'undoCache':_0xae874,'redoCache':_0x481277});}[_0x1b79a9(0x1fc)](_0x39dd6e){const _0x2e4978=_0x1b79a9,{unitID:_0x17ea95}=_0x39dd6e,_0x45f035=this[_0x2e4978(0x2fc)]['getRenderById'](_0x17ea95)[_0x2e4978(0x1ee)](_0x2ab7a6[_0x2e4978(0x2bc)]),_0x397bed=_0x45f035[_0x2e4978(0x1de)]();if(_0x397bed==null)return;const _0x5d1ea3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39dd6e['unitID'],'actions':null,'textRanges':[_0x397bed]}}],_0x10ef2c=this[_0x2e4978(0x392)][_0x2e4978(0x2e7)](_0x39dd6e,_0x5d1ea3);if(!_0xe29c42['isTransformMutationsWithChangesetSuccess'](_0x10ef2c))throw _0x10ef2c[_0x2e4978(0x2f8)];const _0x4f0a88=_0x10ef2c[_0x2e4978(0x353)][0x0][_0x2e4978(0x2d0)][_0x2e4978(0x35f)];Array[_0x2e4978(0x3d6)](_0x4f0a88)&&_0x4f0a88[_0x2e4978(0x2d5)]&&_0x45f035[_0x2e4978(0x3ba)](_0x4f0a88[0x0]);}};_0x21fecf=_0x2c2108([_0x239e7d(0x0,_0x5451dd['Inject'](_0x5451dd['Injector'])),_0x239e7d(0x1,_0xe29c42[_0x1b79a9(0x36c)]),_0x239e7d(0x2,_0x177a4a[_0x1b79a9(0x212)])],_0x21fecf);var _0x301c3f=Object[_0x1b79a9(0x3a7)],_0x39ec73=(_0x4ff662,_0x3711db,_0x2c9676,_0x5ae94d)=>{for(var _0x194e82=_0x5ae94d>0x1?void 0x0:_0x5ae94d?_0x301c3f(_0x3711db,_0x2c9676):_0x3711db,_0x18cf00=_0x4ff662['length']-0x1,_0x3dbc1a;_0x18cf00>=0x0;_0x18cf00--)(_0x3dbc1a=_0x4ff662[_0x18cf00])&&(_0x194e82=_0x3dbc1a(_0x194e82)||_0x194e82);return _0x194e82;},_0x256a09=(_0x49fd28,_0x48d86a)=>(_0x375f84,_0x10308c)=>_0x48d86a(_0x375f84,_0x10308c,_0x49fd28);let _0x10073e=class{constructor(_0xe632ba,_0x3ced30,_0x42e34b){const _0x404f06=_0x1b79a9;this[_0x404f06(0x1ad)]=_0xe632ba,this[_0x404f06(0x392)]=_0x3ced30,this['_docStateChangeManagerService']=_0x42e34b;}[_0x1b79a9(0x3e7)](_0xb92f45){const _0x261101=_0x1b79a9;this[_0x261101(0x26a)](_0xb92f45);}['transformRemoteChangeset'](_0x9a9d5a){const _0x2eeaa8=_0x1b79a9,{unitID:_0x3f2148}=_0x9a9d5a,{collaboration:_0x44aefa}=this['_docStateChangeManagerService']['getStateCache'](_0x3f2148);if(_0x44aefa['length']===0x0)return _0x9a9d5a;let _0x1eeb1d=_0x5451dd[_0x2eeaa8(0x19b)][_0x2eeaa8(0x3a6)](_0x9a9d5a[_0x2eeaa8(0x1cb)][0x0]);for(let _0x28e6f7=0x0;_0x28e6f7<_0x44aefa[_0x2eeaa8(0x2d5)];_0x28e6f7++){const _0x16ad88={'id':_0x2eeaa8(0x3b7),'params':{'unitId':_0x44aefa[_0x28e6f7][_0x2eeaa8(0x2eb)],..._0x44aefa[_0x28e6f7][_0x2eeaa8(0x1f6)]}},_0x4215b5=this[_0x2eeaa8(0x392)][_0x2eeaa8(0x22c)](_0x1eeb1d,_0x16ad88,!0x1);if(_0xe29c42[_0x2eeaa8(0x339)](_0x4215b5))throw _0x4215b5[_0x2eeaa8(0x2f8)];_0x1eeb1d=_0x4215b5[_0x2eeaa8(0x3b5)];}return{..._0x5451dd[_0x2eeaa8(0x19b)][_0x2eeaa8(0x3a6)](_0x9a9d5a),'mutations':[_0x1eeb1d]};}['_transformHistoryAndStateStack'](_0x1d7919){const _0x2b901a=_0x1b79a9,{unitID:_0x4a5135}=_0x1d7919,{history:_0x23dfd5,collaboration:_0x37f0aa}=this[_0x2b901a(0x2ca)][_0x2b901a(0x1c0)](_0x4a5135);if(_0x23dfd5['length']===0x0&&_0x37f0aa[_0x2b901a(0x2d5)]===0x0)return;const _0x51c4f3=[],_0x4b4356=[];let _0x49e2bf=_0x5451dd['Tools'][_0x2b901a(0x3a6)](_0x1d7919[_0x2b901a(0x1cb)][0x0]),_0x4f456a=_0x5451dd['Tools'][_0x2b901a(0x3a6)](_0x1d7919[_0x2b901a(0x1cb)][0x0]);for(let _0x2cb488=_0x23dfd5[_0x2b901a(0x2d5)]-0x1;_0x2cb488>=0x0;_0x2cb488--){const _0x149429={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23dfd5[_0x2cb488][_0x2b901a(0x2eb)],..._0x23dfd5[_0x2cb488]['undoState']}},_0x3fa302={'id':_0x2b901a(0x3b7),'params':{'unitId':_0x23dfd5[_0x2cb488][_0x2b901a(0x2eb)],..._0x23dfd5[_0x2cb488][_0x2b901a(0x1f6)]}},_0x47817f=this[_0x2b901a(0x392)][_0x2b901a(0x22c)](_0x49e2bf,_0x149429,!0x1),_0x753e69=this[_0x2b901a(0x392)][_0x2b901a(0x22c)](_0x4f456a,_0x3fa302,!0x1);if(_0xe29c42[_0x2b901a(0x339)](_0x47817f))throw _0x47817f[_0x2b901a(0x2f8)];if(_0xe29c42[_0x2b901a(0x339)](_0x753e69))throw _0x753e69[_0x2b901a(0x2f8)];_0x51c4f3[_0x2b901a(0x3ee)]({..._0x23dfd5[_0x2cb488],'undoState':_0x47817f['m2Prime'][_0x2b901a(0x2d0)],'redoState':_0x753e69[_0x2b901a(0x353)]['params']}),_0x49e2bf=_0x47817f[_0x2b901a(0x3b5)],_0x4f456a=_0x753e69[_0x2b901a(0x3b5)];}_0x49e2bf=_0x5451dd['Tools'][_0x2b901a(0x3a6)](_0x1d7919[_0x2b901a(0x1cb)][0x0]),_0x4f456a=_0x5451dd[_0x2b901a(0x19b)][_0x2b901a(0x3a6)](_0x1d7919['mutations'][0x0]);for(let _0x1101ff=_0x37f0aa[_0x2b901a(0x2d5)]-0x1;_0x1101ff>=0x0;_0x1101ff--){const _0x27a6c9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37f0aa[_0x1101ff]['unitId'],..._0x37f0aa[_0x1101ff]['undoState']}},_0x594fa3={'id':_0x2b901a(0x3b7),'params':{'unitId':_0x37f0aa[_0x1101ff][_0x2b901a(0x2eb)],..._0x37f0aa[_0x1101ff][_0x2b901a(0x1f6)]}},_0x43efaa=this[_0x2b901a(0x392)]['transformMutation'](_0x49e2bf,_0x27a6c9,!0x1),_0x6c01aa=this['_transformService']['transformMutation'](_0x4f456a,_0x594fa3,!0x1);if(_0xe29c42[_0x2b901a(0x339)](_0x43efaa))throw _0x43efaa[_0x2b901a(0x2f8)];if(_0xe29c42[_0x2b901a(0x339)](_0x6c01aa))throw _0x6c01aa[_0x2b901a(0x2f8)];_0x4b4356[_0x2b901a(0x3ee)]({..._0x37f0aa[_0x1101ff],'undoState':_0x43efaa['m2Prime'][_0x2b901a(0x2d0)],'redoState':_0x6c01aa[_0x2b901a(0x353)][_0x2b901a(0x2d0)]}),_0x49e2bf=_0x43efaa[_0x2b901a(0x3b5)],_0x4f456a=_0x6c01aa[_0x2b901a(0x3b5)];}this['_docStateChangeManagerService'][_0x2b901a(0x183)](_0x4a5135,{'history':_0x51c4f3,'collaboration':_0x4b4356});}};_0x10073e=_0x39ec73([_0x256a09(0x0,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x256a09(0x1,_0xe29c42['ITransformService']),_0x256a09(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x2ab7a6[_0x1b79a9(0x2e3)]))],_0x10073e);var _0x169ce7=Object[_0x1b79a9(0x3a7)],_0x40efc1=(_0x57e717,_0x2dff9d,_0x30d735,_0x30f484)=>{const _0x5abbe9=_0x1b79a9;for(var _0xacae69=_0x30f484>0x1?void 0x0:_0x30f484?_0x169ce7(_0x2dff9d,_0x30d735):_0x2dff9d,_0x5f1186=_0x57e717[_0x5abbe9(0x2d5)]-0x1,_0x268c25;_0x5f1186>=0x0;_0x5f1186--)(_0x268c25=_0x57e717[_0x5f1186])&&(_0xacae69=_0x268c25(_0xacae69)||_0xacae69);return _0xacae69;},_0x248f82=(_0x38566a,_0x222cc3)=>(_0xf1365,_0x2e5340)=>_0x222cc3(_0xf1365,_0x2e5340,_0x38566a);let _0x4b08ae=class{constructor(_0x5bca1a,_0x45d8be){const _0x169532=_0x1b79a9;this['_injector']=_0x5bca1a,this[_0x169532(0x392)]=_0x45d8be;}[_0x1b79a9(0x3de)](_0x67ff2f){const _0x243fd2=_0x1b79a9;var _0x445a8c;const _0x246552=this[_0x243fd2(0x1ad)][_0x243fd2(0x346)](_0x312bdc['DocSelectionManagerService']),_0x1e84ee=(_0x445a8c=_0x246552[_0x243fd2(0x28e)]())!=null?_0x445a8c:[];if(_0x1e84ee['length']===0x0)return;const _0x1fc418=_0x67ff2f[_0x243fd2(0x3ff)],_0x241368=[{'id':_0x243fd2(0x3b7),'params':{'unitId':_0x1fc418,'actions':null,'textRanges':_0x1e84ee}}],_0x5410d1=this[_0x243fd2(0x392)][_0x243fd2(0x2e7)](_0x67ff2f,_0x241368);if(!_0xe29c42[_0x243fd2(0x352)](_0x5410d1))throw _0x5410d1['error'];const _0x4c127e=_0x5410d1[_0x243fd2(0x353)][0x0][_0x243fd2(0x2d0)][_0x243fd2(0x35f)];Array[_0x243fd2(0x3d6)](_0x4c127e)&&_0x4c127e[_0x243fd2(0x2d5)]&&_0x246552[_0x243fd2(0x323)](_0x4c127e,{'unitId':_0x1fc418,'subUnitId':_0x1fc418},!0x1);}};_0x4b08ae=_0x40efc1([_0x248f82(0x0,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x248f82(0x1,_0xe29c42[_0x1b79a9(0x36c)])],_0x4b08ae);var _0x353c6d=Object[_0x1b79a9(0x3a7)],_0x4bf72d=(_0x10101a,_0x31130b,_0x5e7f15,_0x34a52f)=>{for(var _0x45ee9a=_0x34a52f>0x1?void 0x0:_0x34a52f?_0x353c6d(_0x31130b,_0x5e7f15):_0x31130b,_0x2883f5=_0x10101a['length']-0x1,_0x5decd0;_0x2883f5>=0x0;_0x2883f5--)(_0x5decd0=_0x10101a[_0x2883f5])&&(_0x45ee9a=_0x5decd0(_0x45ee9a)||_0x45ee9a);return _0x45ee9a;},_0x230deb=(_0x535b00,_0x2a6f94)=>(_0xe357a5,_0x477495)=>_0x2a6f94(_0xe357a5,_0x477495,_0x535b00);let _0x352ef6=class extends _0x5451dd['Disposable']{constructor(_0x9b9c2b,_0x39e25c,_0xbfe01d,_0xc7599f,_0x113619,_0x5c0350,_0x5878e4,_0x114fb2){const _0xf69a23=_0x1b79a9;super(),_0x5a8f73(this,'_status$',new _0x2918d8[(_0xf69a23(0x35e))](_0x345800['CollaborationStatus'][_0xf69a23(0x3e2)])),(this[_0xf69a23(0x2ca)]=_0x9b9c2b,this[_0xf69a23(0x389)]=_0x39e25c,this['_docTransformIMECacheService']=_0xbfe01d,this[_0xf69a23(0x188)]=_0xc7599f,this[_0xf69a23(0x2ba)]=_0x113619,this[_0xf69a23(0x343)]=_0x5c0350,this[_0xf69a23(0x17c)]=_0x5878e4,this[_0xf69a23(0x1ca)]=_0x114fb2,this[_0xf69a23(0x25e)]());}[_0x1b79a9(0x25e)](){const _0x43c278=_0x1b79a9;this[_0x43c278(0x16d)](this[_0x43c278(0x389)]['entityInit$'][_0x43c278(0x268)](_0x547d50=>{const _0x2b821a=_0x43c278,_0x3904e3=this['_docStateChangeManagerService'][_0x2b821a(0x393)]['subscribe'](_0x1bc1ad=>{const _0x24507c=_0x2b821a;if(_0x1bc1ad==null)return;const {unitId:_0x418b4b,redoState:_0x41d205,commandId:_0x336f09}=_0x1bc1ad;if(_0x418b4b!==_0x547d50[_0x24507c(0x3ff)])return;const _0x1d4327={'id':_0x336f09,'type':_0x5451dd[_0x24507c(0x3da)][_0x24507c(0x329)],'params':{'unitId':_0x418b4b,'actions':_0x41d205[_0x24507c(0x244)],'textRanges':null}};_0x547d50[_0x24507c(0x25d)](_0x1d4327);});if(_0x547d50[_0x2b821a(0x16d)](_0x3904e3),_0x547d50 instanceof _0x345800['DocCollaborationEntity']){const _0x56c50f={'onTransformIME':_0x43abd3=>this[_0x2b821a(0x1b5)][_0x2b821a(0x3fe)](_0x43abd3),'onTransformState':_0x24ba3a=>this[_0x2b821a(0x188)][_0x2b821a(0x3e7)](_0x24ba3a),'onTransformSelections':_0x5eda96=>this[_0x2b821a(0x2ba)][_0x2b821a(0x3de)](_0x5eda96),'onSyncEditingCollabCursor':_0x1ba81d=>this[_0x2b821a(0x343)][_0x2b821a(0x1e9)](_0x1ba81d),'onTransformRemoteChangesetByIMECache':_0x4b82d4=>this[_0x2b821a(0x1b5)][_0x2b821a(0x334)](_0x4b82d4),'onTransformRemoteChangesetByStateCache':_0x242a4d=>this[_0x2b821a(0x188)]['transformRemoteChangeset'](_0x242a4d)};_0x547d50[_0x2b821a(0x383)](_0x56c50f);}}));}};_0x352ef6=_0x4bf72d([_0x230deb(0x0,_0x5451dd['Inject'](_0x2ab7a6[_0x1b79a9(0x2e3)])),_0x230deb(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x345800[_0x1b79a9(0x194)])),_0x230deb(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x21fecf)),_0x230deb(0x3,_0x5451dd[_0x1b79a9(0x17b)](_0x10073e)),_0x230deb(0x4,_0x5451dd[_0x1b79a9(0x17b)](_0x4b08ae)),_0x230deb(0x5,_0x5451dd['Inject'](_0x20d1de)),_0x230deb(0x6,_0x363b55['IMessageService']),_0x230deb(0x7,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd['LocaleService']))],_0x352ef6);var _0xd7dc56=Object[_0x1b79a9(0x3a7)],_0x5eccee=(_0x5ca89f,_0x4375fc,_0x138bce,_0x38b26b)=>{const _0x284819=_0x1b79a9;for(var _0x3e68d8=_0x38b26b>0x1?void 0x0:_0x38b26b?_0xd7dc56(_0x4375fc,_0x138bce):_0x4375fc,_0x6c3f5c=_0x5ca89f[_0x284819(0x2d5)]-0x1,_0x2dc335;_0x6c3f5c>=0x0;_0x6c3f5c--)(_0x2dc335=_0x5ca89f[_0x6c3f5c])&&(_0x3e68d8=_0x2dc335(_0x3e68d8)||_0x3e68d8);return _0x3e68d8;},_0x370e21=(_0x322c0b,_0xf1c339)=>(_0x335502,_0x2933bf)=>_0xf1c339(_0x335502,_0x2933bf,_0x322c0b);let _0x2aa622=class extends _0x5451dd['Disposable']{constructor(_0x2bd66c,_0x50e7d8,_0x5f3e2a){const _0x3e3ba1=_0x1b79a9;super(),_0x5a8f73(this,'_cachedData',new Map()),_0x5a8f73(this,_0x3e3ba1(0x1f0),new Map()),_0x5a8f73(this,_0x3e3ba1(0x336),!0x1),(this[_0x3e3ba1(0x2d1)]=_0x2bd66c,this[_0x3e3ba1(0x170)]=_0x50e7d8,this[_0x3e3ba1(0x236)]=_0x5f3e2a);}[_0x1b79a9(0x374)](){const _0x4e08a6=_0x1b79a9;this[_0x4e08a6(0x336)]=!0x0;}[_0x1b79a9(0x1bc)](){const _0x5ad872=_0x1b79a9;this[_0x5ad872(0x336)]=!0x1;}get['saveTaskMap'](){const _0x50a310=_0x1b79a9;return this[_0x50a310(0x1f0)];}[_0x1b79a9(0x3d1)](){const _0x40c8eb=_0x1b79a9;this[_0x40c8eb(0x19d)]()[_0x40c8eb(0x2b1)](()=>super[_0x40c8eb(0x3d1)]());}async[_0x1b79a9(0x3a2)](_0x1261ce){const _0x3d10bc=_0x1b79a9;return this[_0x3d10bc(0x336)]?null:this['_localStorageService'][_0x3d10bc(0x361)](_0x345800[_0x3d10bc(0x335)](_0x1261ce));}async[_0x1b79a9(0x2ac)](_0x569594,_0x5b7f05){const _0x4e6173=_0x1b79a9;return!!this[_0x4e6173(0x170)][_0x4e6173(0x30f)](_0x569594,_0x5b7f05);}[_0x1b79a9(0x3ea)](_0x1a4d2c,_0x1a4a40,_0x40b815,_0x254bae){const _0x2f11b5=_0x1b79a9,_0x4afd6c=this[_0x2f11b5(0x236)][_0x2f11b5(0x2cd)](_0x1a4d2c);this[_0x2f11b5(0x29f)]['set'](_0x1a4d2c,{'unitID':_0x1a4d2c,'type':_0x1a4a40,'awaitingChangeset':_0x40b815,'mutations':_0x254bae,'rev':_0x4afd6c}),this['_saveTaskMap']['has'](_0x1a4d2c)||this['_scheduleSaving'](_0x1a4d2c);}['_scheduleSaving'](_0x13759b){const _0x3550d1=_0x1b79a9,_0x5d6a18=this['_getSaveTimeout']();_0x5d6a18===0x0?this[_0x3550d1(0x260)](_0x13759b):this[_0x3550d1(0x1f0)][_0x3550d1(0x189)](_0x13759b,setTimeout(()=>this['_saveCache'](_0x13759b),_0x5d6a18));}[_0x1b79a9(0x2b9)](){const _0x35e4d9=_0x1b79a9;var _0x1adbcd;return(_0x1adbcd=this['_configService'][_0x35e4d9(0x3a8)](_0x345800[_0x35e4d9(0x3ce)]))!=null?_0x1adbcd:_0x345800[_0x35e4d9(0x257)];}[_0x1b79a9(0x260)](_0x22b5fb){const _0x90118c=_0x1b79a9,_0x3c56fa=this['_saveTaskMap']['get'](_0x22b5fb);return _0x3c56fa!==void 0x0&&window[_0x90118c(0x214)](_0x3c56fa),this[_0x90118c(0x170)][_0x90118c(0x30f)](_0x345800[_0x90118c(0x335)](_0x22b5fb),this[_0x90118c(0x29f)][_0x90118c(0x346)](_0x22b5fb))['then'](()=>this['_saveTaskMap']['delete'](_0x22b5fb));}async['exhaustSavingTask'](){const _0x162da7=_0x1b79a9,_0x4abd05=[];this[_0x162da7(0x1f0)][_0x162da7(0x31f)]((_0x3f321f,_0x277d2c)=>{const _0x570076=_0x162da7;window[_0x570076(0x214)](_0x3f321f),_0x4abd05['push'](this[_0x570076(0x260)](_0x277d2c)['then'](()=>{const _0x56ef9d=_0x570076;this['_saveTaskMap'][_0x56ef9d(0x247)](_0x277d2c);}));}),await Promise[_0x162da7(0x3b8)](_0x4abd05);}};_0x2aa622=_0x5eccee([_0x370e21(0x0,_0x5451dd[_0x1b79a9(0x32a)]),_0x370e21(0x1,_0x5451dd[_0x1b79a9(0x1fe)]),_0x370e21(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0xe29c42[_0x1b79a9(0x295)]))],_0x2aa622);class _0x1a4080 extends _0x5451dd[_0x1b79a9(0x3f6)]{constructor(){const _0x323d42=_0x1b79a9;super(),_0x5a8f73(this,_0x323d42(0x2a5)),this[_0x323d42(0x2a5)]=_0x2918d8[_0x323d42(0x38c)](window,_0x323d42(0x1ae))['pipe'](_0x2918d8['takeUntil'](this['dispose$']),_0x2918d8[_0x323d42(0x354)](0x1),_0x2918d8['mapTo'](void 0x0));}[_0x1b79a9(0x3b1)](_0x1df8c4,_0x227ee2,_0x4722a0=!0x1){const _0x8bb4bb=_0x1b79a9,_0x165d36=new URL(window[_0x8bb4bb(0x3d3)][_0x8bb4bb(0x17d)]);_0x165d36[_0x8bb4bb(0x3b6)][_0x8bb4bb(0x189)](_0x1df8c4,_0x227ee2),_0x4722a0?window[_0x8bb4bb(0x26b)][_0x8bb4bb(0x2db)]('','',_0x165d36[_0x8bb4bb(0x3b9)]()):window[_0x8bb4bb(0x26b)][_0x8bb4bb(0x2c6)]('','',_0x165d36[_0x8bb4bb(0x3b9)]());}[_0x1b79a9(0x182)](_0x95737e,_0x5c7e9b=!0x1){const _0x17c36e=_0x1b79a9,_0x244fc1=new URL(window[_0x17c36e(0x3d3)][_0x17c36e(0x17d)]);_0x244fc1[_0x17c36e(0x3b6)][_0x17c36e(0x247)](_0x95737e),_0x5c7e9b?window[_0x17c36e(0x26b)][_0x17c36e(0x2db)]('','',_0x244fc1[_0x17c36e(0x3b9)]()):window[_0x17c36e(0x26b)][_0x17c36e(0x2c6)]('','',_0x244fc1[_0x17c36e(0x3b9)]());}[_0x1b79a9(0x298)](_0x554a13){const _0x46c49b=_0x1b79a9;var _0x52ca0b;return(_0x52ca0b=new URL(window['location']['href'])[_0x46c49b(0x3b6)][_0x46c49b(0x346)](_0x554a13))!=null?_0x52ca0b:void 0x0;}}var _0x5b58e7=Object[_0x1b79a9(0x34f)],_0x9be970=Object['getOwnPropertyDescriptor'],_0xd48e3b=(_0x51899e,_0x2df00f,_0x3a6ef4)=>_0x2df00f in _0x51899e?_0x5b58e7(_0x51899e,_0x2df00f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a6ef4}):_0x51899e[_0x2df00f]=_0x3a6ef4,_0x2cb809=(_0x7fa3ef,_0x282c92,_0x10687e,_0x71e625)=>{const _0x407645=_0x1b79a9;for(var _0x321517=_0x71e625>0x1?void 0x0:_0x71e625?_0x9be970(_0x282c92,_0x10687e):_0x282c92,_0x81829b=_0x7fa3ef[_0x407645(0x2d5)]-0x1,_0x569877;_0x81829b>=0x0;_0x81829b--)(_0x569877=_0x7fa3ef[_0x81829b])&&(_0x321517=_0x569877(_0x321517)||_0x321517);return _0x321517;},_0x5d6d70=(_0x35f3a1,_0x4b2bfb)=>(_0x357c5e,_0x398f11)=>_0x4b2bfb(_0x357c5e,_0x398f11,_0x35f3a1),_0x2b683f=(_0x3db21a,_0x461f69,_0x37a8da)=>_0xd48e3b(_0x3db21a,_0x461f69+'',_0x37a8da);const _0x5536ce=_0x1b79a9(0x240);_0x18110a[_0x1b79a9(0x2a7)]=class extends _0x5451dd[_0x1b79a9(0x266)]{constructor(_0x3addf3=_0x4e0614,_0x96b34e,_0x27a980,_0x3c3655){const _0x25bcdf=_0x1b79a9;super(),this[_0x25bcdf(0x26e)]=_0x3addf3,this['_renderManagerService']=_0x96b34e,this[_0x25bcdf(0x1ad)]=_0x27a980,this[_0x25bcdf(0x2d1)]=_0x3c3655;const {..._0xbf02da}=_0x5451dd[_0x25bcdf(0x185)]({},_0x4e0614,this[_0x25bcdf(0x26e)]);this[_0x25bcdf(0x2d1)][_0x25bcdf(0x216)](_0xf013c2,_0xbf02da);}[_0x1b79a9(0x279)](){const _0x3879f1=_0x1b79a9;this[_0x3879f1(0x3a3)](),this[_0x3879f1(0x2b3)]();}['onRendered'](){const _0x56338c=_0x1b79a9;this[_0x56338c(0x1cf)]();}['_registerDependencies'](){const _0x93f311=_0x1b79a9;var _0x3f14eb;const _0x60e635=[[_0x30ee06],[_0x4b08ae],[_0x21fecf],[_0x10073e],[_0x20d1de],[_0x4d10c1,{'useClass':_0x1a4080}],[_0x4936a4[_0x93f311(0x1be)],{'useClass':_0x4936a4[_0x93f311(0x281)]}],[_0x345800[_0x93f311(0x349)],{'useClass':_0x2aa622}],[_0x18110a['DesktopCollaborationStatusDisplayController']],[_0x352ef6],[_0x295d51],[_0x58b6ae],[_0xb4314f],[_0x18110a[_0x93f311(0x2bb)]]];_0x5451dd['registerDependencies'](this[_0x93f311(0x1ad)],_0x5451dd[_0x93f311(0x3db)](_0x60e635,(_0x3f14eb=this[_0x93f311(0x26e)])==null?void 0x0:_0x3f14eb['override']));}[_0x1b79a9(0x1cf)](){const _0x3a8c24=_0x1b79a9;this[_0x3a8c24(0x16d)](this[_0x3a8c24(0x2fc)][_0x3a8c24(0x3d4)](_0x5451dd[_0x3a8c24(0x169)][_0x3a8c24(0x23a)],[_0x16ea39])),this['disposeWithMe'](this[_0x3a8c24(0x2fc)][_0x3a8c24(0x3d4)](_0x5451dd['UniverInstanceType']['UNIVER_SHEET'],[_0x97857b]));}[_0x1b79a9(0x2b3)](){const _0x28b5fe=_0x1b79a9;_0x5451dd[_0x28b5fe(0x350)](this['_injector'],[[_0x58b6ae],[_0x18110a[_0x28b5fe(0x1ba)]],[_0x352ef6],[_0x295d51],[_0x18110a[_0x28b5fe(0x2bb)]]]);}},_0x2b683f(_0x18110a[_0x1b79a9(0x2a7)],_0x1b79a9(0x174),_0x5536ce),_0x18110a[_0x1b79a9(0x2a7)]=_0x2cb809([_0x5451dd[_0x1b79a9(0x3c4)](_0x345800[_0x1b79a9(0x2d7)]),_0x5d6d70(0x1,_0x177a4a[_0x1b79a9(0x212)]),_0x5d6d70(0x2,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x5d6d70(0x3,_0x5451dd[_0x1b79a9(0x32a)])],_0x18110a[_0x1b79a9(0x2a7)]);var _0x4f7a58=Object['getOwnPropertyDescriptor'],_0x55dc7b=(_0x206314,_0x4ae082,_0x265e99,_0x398e74)=>{for(var _0x14dfd7=_0x398e74>0x1?void 0x0:_0x398e74?_0x4f7a58(_0x4ae082,_0x265e99):_0x4ae082,_0x2dcd91=_0x206314['length']-0x1,_0x5e8f0e;_0x2dcd91>=0x0;_0x2dcd91--)(_0x5e8f0e=_0x206314[_0x2dcd91])&&(_0x14dfd7=_0x5e8f0e(_0x14dfd7)||_0x14dfd7);return _0x14dfd7;},_0x56c880=(_0x1b84e3,_0x1ee317)=>(_0x25f7db,_0x42f70f)=>_0x1ee317(_0x25f7db,_0x42f70f,_0x1b84e3);_0x18110a[_0x1b79a9(0x385)]=class extends _0x345800[_0x1b79a9(0x224)]{constructor(_0x34166a,_0x5a8c93,_0x26d231,_0x4a0710,_0x2924c8){super(_0x34166a,_0x5a8c93,_0x26d231,_0x4a0710,_0x2924c8);}async['createSocket'](_0x361202){const _0x47385d=_0x1b79a9,_0x4de72d=await this['_getSessionTicket'](),_0x30af7f=this[_0x47385d(0x355)](_0x361202,_0x4de72d);return this['_doCreateSocket'](_0x30af7f);}[_0x1b79a9(0x355)](_0x50e52c,_0x586b42){const _0x5e5488=_0x1b79a9,_0x3483c4=typeof window>'u'?new URL(_0x50e52c):new URL(_0x50e52c,window[_0x5e5488(0x3d3)][_0x5e5488(0x226)]);_0x3483c4[_0x5e5488(0x3b6)]['set'](_0x5e5488(0x3d5),_0x586b42);const _0x915792=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e5488(0x3d3)][_0x5e5488(0x220)]);return _0x915792[_0x5e5488(0x346)](_0x5e5488(0x1d3))&&_0x3483c4[_0x5e5488(0x3b6)][_0x5e5488(0x189)]('runId',_0x915792[_0x5e5488(0x346)]('runId')),_0x3483c4[_0x5e5488(0x3b9)]();}async[_0x1b79a9(0x197)](){const _0x46075f=_0x1b79a9;var _0xe97c5d,_0x3e6145,_0x291d7d;const _0x2cb1ff=this[_0x46075f(0x2d1)][_0x46075f(0x3a8)](_0x345800[_0x46075f(0x16e)]),_0x2bbf87=(_0xe97c5d=_0x2cb1ff==null?void 0x0:_0x2cb1ff['wsSessionTicketUrl'])!=null?_0xe97c5d:_0x345800['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x291d7d=(_0x3e6145=(await this['_httpService'][_0x46075f(0x346)](_0x2bbf87,{'headers':{'Content-Type':'application/json'}}))[_0x46075f(0x1a9)])==null?void 0x0:_0x3e6145['ticket'])!=null?_0x291d7d:'';}},_0x18110a['BrowserCollaborationSocketService']=_0x55dc7b([_0x56c880(0x0,_0x5451dd[_0x1b79a9(0x17b)](_0x5451dd[_0x1b79a9(0x3bd)])),_0x56c880(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x4936a4[_0x1b79a9(0x3aa)])),_0x56c880(0x2,_0x5451dd[_0x1b79a9(0x32a)]),_0x56c880(0x3,_0x5451dd['ILogService']),_0x56c880(0x4,_0xe29c42['ISnapshotServerService'])],_0x18110a[_0x1b79a9(0x385)]);const _0x38770c=0x7530,_0x4c0757='ACTIVE_UNIT_EVENT_CHANNEL';class _0x7e998b extends _0x5451dd[_0x1b79a9(0x2f9)]{constructor(){const _0x55f76f=_0x1b79a9;super(),_0x5a8f73(this,_0x55f76f(0x318),_0x5451dd[_0x55f76f(0x204)]()),_0x5a8f73(this,_0x55f76f(0x27c),new Set()),_0x5a8f73(this,_0x55f76f(0x187),new Map()),_0x5a8f73(this,'_heartbeatTimer',null),_0x5a8f73(this,_0x55f76f(0x3bf),new Map()),_0x5a8f73(this,_0x55f76f(0x29d),new Map()),this['_init']();}[_0x1b79a9(0x3d1)](){const _0x4e09f4=_0x1b79a9;super[_0x4e09f4(0x3d1)](),this[_0x4e09f4(0x3bf)]['forEach']((_0x2beee5,_0x3a26f7)=>this['_removeClearOtherTimer'](_0x3a26f7)),this['_heartbeatTimer']&&window[_0x4e09f4(0x3ed)](this[_0x4e09f4(0x317)]);}[_0x1b79a9(0x3c2)](_0x261c98){const _0x513f82=_0x1b79a9;return this[_0x513f82(0x259)](_0x261c98)['pipe'](_0x2918d8[_0x513f82(0x1c2)]());}[_0x1b79a9(0x171)](_0x5ceee4){const _0xe6e427=_0x1b79a9;this['_selfUnitIDs'][_0xe6e427(0x1da)]===0x0&&this[_0xe6e427(0x2c3)](),this[_0xe6e427(0x27c)]['add'](_0x5ceee4),this[_0xe6e427(0x277)]({'type':0x0,'memberID':this[_0xe6e427(0x318)],'unitIDs':[_0x5ceee4],'isForwarded':!0x1});}[_0x1b79a9(0x210)](_0xd31693){const _0xecfdd4=_0x1b79a9;this[_0xecfdd4(0x27c)][_0xecfdd4(0x247)](_0xd31693),this[_0xecfdd4(0x27c)][_0xecfdd4(0x1da)]===0x0&&this[_0xecfdd4(0x317)]&&window[_0xecfdd4(0x3ed)](this[_0xecfdd4(0x317)]);}[_0x1b79a9(0x2b6)](){const _0x452475=_0x1b79a9;this['disposeWithMe'](_0x5451dd[_0x452475(0x330)](_0x2918d8['fromEvent'](window,'storage')[_0x452475(0x268)](_0xf9cbba=>{const _0x50df68=_0x452475;if(_0xf9cbba[_0x50df68(0x294)]!==_0x4c0757||!_0xf9cbba[_0x50df68(0x398)])return;const _0x57f6f5=JSON[_0x50df68(0x1d9)](_0xf9cbba['newValue']);this[_0x50df68(0x176)](_0x57f6f5);}))),window[_0x452475(0x2c0)](_0x452475(0x2c9),()=>this['_send']({'type':0x1,'memberID':this[_0x452475(0x318)],'unitIDs':Array[_0x452475(0x39e)](this[_0x452475(0x27c)])}));}[_0x1b79a9(0x176)](_0xbca3b2){const _0x576d4a=_0x1b79a9;switch(_0xbca3b2['type']){case 0x0:this[_0x576d4a(0x208)](_0xbca3b2);break;case 0x1:this[_0x576d4a(0x287)](_0xbca3b2);break;case 0x2:this[_0x576d4a(0x229)](_0xbca3b2);break;}}[_0x1b79a9(0x208)](_0x56422c){const _0x4976e3=_0x1b79a9,{unitIDs:_0x44d844,memberID:_0x40d813,isForwarded:_0x212c79}=_0x56422c;_0x44d844[_0x4976e3(0x31f)](_0x482698=>{const _0x3cc80e=_0x4976e3;if(!_0x212c79&&this[_0x3cc80e(0x187)][_0x3cc80e(0x19e)](_0x482698)&&this['_ensureSubject'](_0x482698)['next'](_0x345800[_0x3cc80e(0x37f)][_0x3cc80e(0x400)]),!this[_0x3cc80e(0x187)]['has'](_0x482698)||!this[_0x3cc80e(0x187)]['get'](_0x482698)['has'](_0x40d813)){const _0x4a6d4f=this[_0x3cc80e(0x187)][_0x3cc80e(0x346)](_0x482698)||new Set();_0x4a6d4f[_0x3cc80e(0x3c7)](_0x40d813),this[_0x3cc80e(0x187)][_0x3cc80e(0x189)](_0x482698,_0x4a6d4f),this[_0x3cc80e(0x3fb)](_0x40d813);}}),_0x212c79||this[_0x4976e3(0x277)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4976e3(0x27c)]],'isForwarded':!0x0});}[_0x1b79a9(0x3fb)](_0x3d2327){const _0xd0d973=_0x1b79a9;this['_removeClearOtherTimer'](_0x3d2327);const _0x35bae5=window['setTimeout'](()=>{const _0x373ab7=_0xe752;this['_unitOnClients'][_0x373ab7(0x31f)](_0x64e692=>{_0x64e692['delete'](_0x3d2327);});},_0x38770c*0x2);this[_0xd0d973(0x3bf)][_0xd0d973(0x189)](_0x3d2327,_0x35bae5);}[_0x1b79a9(0x3e6)](_0x486a43){const _0x2e5f75=_0x1b79a9;if(this[_0x2e5f75(0x3bf)][_0x2e5f75(0x19e)](_0x486a43)){const _0xe7291=this['_clearOtherTimers'][_0x2e5f75(0x346)](_0x486a43);_0xe7291&&window[_0x2e5f75(0x214)](_0xe7291),this[_0x2e5f75(0x3bf)][_0x2e5f75(0x189)](_0x486a43,null);}}[_0x1b79a9(0x287)](_0x5e19e0){const _0x190256=_0x1b79a9,{memberID:_0xf04e8e,unitIDs:_0x21bd94}=_0x5e19e0;_0x21bd94[_0x190256(0x31f)](_0x3f209c=>{const _0x4ac330=_0x190256;var _0x4d75f9;const _0x56aec2=this[_0x4ac330(0x187)][_0x4ac330(0x346)](_0x3f209c);_0x56aec2&&(_0x56aec2['delete'](_0xf04e8e),(_0x4d75f9=this[_0x4ac330(0x259)](_0x3f209c))==null||_0x4d75f9[_0x4ac330(0x303)](_0x56aec2[_0x4ac330(0x1da)]===0x0?_0x345800[_0x4ac330(0x37f)]['NO_OTHER_CLIENTS_EDITING']:_0x345800[_0x4ac330(0x37f)][_0x4ac330(0x400)]));}),this[_0x190256(0x3e6)](_0xf04e8e);}['_handleHeartbeatEvent'](_0x5a8b4f){const _0x4ce7d5=_0x1b79a9;this[_0x4ce7d5(0x3fb)](_0x5a8b4f[_0x4ce7d5(0x3eb)]);}['_send'](_0x378d52){const _0x53aa7f=_0x1b79a9;localStorage[_0x53aa7f(0x30f)](_0x4c0757,JSON[_0x53aa7f(0x177)](_0x378d52));}['_scheduleHeartbeat'](){const _0xfc702f=_0x1b79a9;this[_0xfc702f(0x317)]=window[_0xfc702f(0x2a3)](()=>{const _0x1a29a7=_0xfc702f;this['_send']({'type':0x2,'memberID':this[_0x1a29a7(0x318)]});},_0x38770c);}[_0x1b79a9(0x259)](_0x115b42){const _0x575fb7=_0x1b79a9;return this[_0x575fb7(0x29d)][_0x575fb7(0x19e)](_0x115b42)||this[_0x575fb7(0x29d)][_0x575fb7(0x189)](_0x115b42,new _0x2918d8[(_0x575fb7(0x35e))](_0x345800[_0x575fb7(0x37f)][_0x575fb7(0x217)])),this[_0x575fb7(0x29d)]['get'](_0x115b42);}}var _0x4b2067=(_0x597273=>(_0x597273[_0x597273[_0x1b79a9(0x2dc)]=0x0]=_0x1b79a9(0x2dc),_0x597273[_0x597273['OK']=0x1]='OK',_0x597273[_0x597273[_0x1b79a9(0x211)]=0x2]=_0x1b79a9(0x211),_0x597273[_0x597273['PERMISSION_DENIED']=0x3]=_0x1b79a9(0x276),_0x597273[_0x597273['NOT_FOUND']=0x4]=_0x1b79a9(0x3d8),_0x597273[_0x597273[_0x1b79a9(0x1a4)]=0x5]=_0x1b79a9(0x1a4),_0x597273[_0x597273['ALREADY_EXISTS']=0x6]=_0x1b79a9(0x2f0),_0x597273[_0x597273[_0x1b79a9(0x237)]=0x7]='INVALID_ARGUMENT',_0x597273[_0x597273[_0x1b79a9(0x20e)]=0x8]='TOO_MANY_REQUESTS',_0x597273[_0x597273[_0x1b79a9(0x376)]=0x9]=_0x1b79a9(0x376),_0x597273[_0x597273['LOGIN_FAILED']=0xa]=_0x1b79a9(0x1a1),_0x597273[_0x597273[_0x1b79a9(0x21b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x597273[_0x597273[_0x1b79a9(0x206)]=0x1771]=_0x1b79a9(0x206),_0x597273[_0x597273[_0x1b79a9(0x306)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x597273[_0x597273[_0x1b79a9(0x397)]=0x1773]=_0x1b79a9(0x397),_0x597273[_0x597273[_0x1b79a9(0x250)]=0x1b59]=_0x1b79a9(0x250),_0x597273[_0x597273[_0x1b79a9(0x1b9)]=0x1b5a]=_0x1b79a9(0x1b9),_0x597273[_0x597273[_0x1b79a9(0x333)]=0x1b5b]=_0x1b79a9(0x333),_0x597273[_0x597273[_0x1b79a9(0x2e2)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x597273[_0x597273[_0x1b79a9(0x193)]=0x1b5d]='APPLY_DUPLICATED',_0x597273[_0x597273[_0x1b79a9(0x3a9)]=0x1f41]=_0x1b79a9(0x3a9),_0x597273[_0x597273['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1b79a9(0x3c8),_0x597273[_0x597273[_0x1b79a9(0x39a)]=0x232a]=_0x1b79a9(0x39a),_0x597273[_0x597273[_0x1b79a9(0x184)]=0x232b]=_0x1b79a9(0x184),_0x597273[_0x597273[_0x1b79a9(0x234)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x597273[_0x597273['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1b79a9(0x225),_0x597273[_0x597273[_0x1b79a9(0x3dd)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x597273[_0x597273[_0x1b79a9(0x1a2)]=0x2712]=_0x1b79a9(0x1a2),_0x597273[_0x597273[_0x1b79a9(0x25a)]=0x2713]=_0x1b79a9(0x25a),_0x597273[_0x597273[_0x1b79a9(0x2ee)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x597273[_0x597273['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b79a9(0x375),_0x597273[_0x597273[_0x1b79a9(0x26c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x597273[_0x597273[_0x1b79a9(0x16a)]=0x2af9]=_0x1b79a9(0x16a),_0x597273[_0x597273[_0x1b79a9(0x2fe)]=0x2ee1]=_0x1b79a9(0x2fe),_0x597273[_0x597273[_0x1b79a9(0x1b3)]=0x2ee2]=_0x1b79a9(0x1b3),_0x597273[_0x597273[_0x1b79a9(0x207)]=0x2ee3]=_0x1b79a9(0x207),_0x597273[_0x597273[_0x1b79a9(0x21f)]=0x2ee4]=_0x1b79a9(0x21f),_0x597273[_0x597273[_0x1b79a9(0x222)]=0x2ee5]=_0x1b79a9(0x222),_0x597273[_0x597273['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1b79a9(0x24c),_0x597273[_0x597273[_0x1b79a9(0x1dc)]=0x32ca]=_0x1b79a9(0x1dc),_0x597273[_0x597273[_0x1b79a9(0x1e2)]=0x32cb]=_0x1b79a9(0x1e2),_0x597273[_0x597273[_0x1b79a9(0x2cb)]=-0x1]='UNRECOGNIZED',_0x597273))(_0x4b2067||{}),_0xbb6b5b=Object[_0x1b79a9(0x3a7)],_0x27827c=(_0x3232b6,_0x14ccf4,_0x53afe6,_0x4ee909)=>{for(var _0x979799=_0x4ee909>0x1?void 0x0:_0x4ee909?_0xbb6b5b(_0x14ccf4,_0x53afe6):_0x14ccf4,_0x499215=_0x3232b6['length']-0x1,_0x1b062d;_0x499215>=0x0;_0x499215--)(_0x1b062d=_0x3232b6[_0x499215])&&(_0x979799=_0x1b062d(_0x979799)||_0x979799);return _0x979799;},_0x9446ac=(_0x17addc,_0x4a6f73)=>(_0x15aaf3,_0x18fda8)=>_0x4a6f73(_0x15aaf3,_0x18fda8,_0x17addc);_0x18110a[_0x1b79a9(0x2ae)]=class extends _0x5451dd[_0x1b79a9(0x2f9)]{constructor(_0x52bc9c,_0x1db421,_0x5b0d7a){const _0x207210=_0x1b79a9;super(),this[_0x207210(0x34e)]=_0x52bc9c,this[_0x207210(0x38b)]=_0x1db421,this[_0x207210(0x2d1)]=_0x5b0d7a;}async[_0x1b79a9(0x202)](_0xcaee7c,_0x558c19,_0x132159,..._0x20acf9){const _0x1af928=_0x1b79a9;var _0x237838,_0x497068,_0x184a80,_0xe4d0be;const _0x1a60a7=this[_0x1af928(0x34e)][_0x1af928(0x24d)]();if(!_0x1a60a7)throw new Error(_0x1af928(0x18b));const _0x19481a=((_0x237838=this[_0x1af928(0x2d1)][_0x1af928(0x3a8)](_0x345800[_0x1af928(0x1bf)]))!=null?_0x237838:_0x345800[_0x1af928(0x3ec)])+'/'+_0xcaee7c+'/run/'+_0x558c19,_0x2c3d2b=new URL(window[_0x1af928(0x3d3)][_0x1af928(0x17d)]),_0x2d9898={'scriptId':_0xcaee7c,'runId':(_0x497068=_0x2c3d2b[_0x1af928(0x3b6)][_0x1af928(0x346)](_0x1af928(0x1d3)))!=null?_0x497068:'','function':_0x558c19,'unitId':_0x1a60a7[_0x1af928(0x2bd)](),'argsOfFunction':JSON[_0x1af928(0x177)](_0x20acf9),'invokeId':(_0x184a80=_0x132159['invokeId'])!=null?_0x184a80:'','executionId':(_0xe4d0be=_0x132159[_0x1af928(0x305)])!=null?_0xe4d0be:''};try{const _0x1f438e=await this['_httpService'][_0x1af928(0x30a)](_0x19481a,{'body':_0x2d9898});return _0x1f438e['body'][_0x1af928(0x2f8)]&&_0x1f438e[_0x1af928(0x1a9)][_0x1af928(0x2f8)]['code']!==_0x4b2067['OK']?_0x1af928(0x347):_0x1f438e['body'][_0x1af928(0x1f4)];}catch{return _0x1af928(0x347);}}},_0x18110a[_0x1b79a9(0x2ae)]=_0x27827c([_0x9446ac(0x0,_0x5451dd[_0x1b79a9(0x1ff)]),_0x9446ac(0x1,_0x5451dd[_0x1b79a9(0x17b)](_0x4936a4[_0x1b79a9(0x3aa)])),_0x9446ac(0x2,_0x5451dd[_0x1b79a9(0x32a)])],_0x18110a['RemoteUniscriptService']),_0x18110a['CollaborationStatusDisplay']=_0xbc6465,_0x18110a[_0x1b79a9(0x201)]=_0x4d10c1,_0x18110a[_0x1b79a9(0x2df)]=_0x27387a,_0x18110a[_0x1b79a9(0x391)]=_0x7e998b,_0x18110a[_0x1b79a9(0x2c2)]=_0x1a4080,Object[_0x1b79a9(0x34f)](_0x18110a,Symbol[_0x1b79a9(0x369)],{'value':'Module'});}));function _0x547b(){const _0x2e67b2=['get','Failed','connectInjector','ILocalCacheService','reconnect','tag','icon','_refRangeService','_instanceService','defineProperty','touchDependencies','38241QesWjA','isTransformMutationsWithChangesetSuccess','m2Prime','shareReplay','_createSocketURL','_univerInstanceService','_urlService','_onCursorUpdate','sheetId','onPointerEnter$','none','beginPath','source','BehaviorSubject','textRanges','useObservable','getItem','path','fill','getTypeOfUnitAdded$','Warning','DeleteRangeMoveUpCommandId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','type','toStringTag','UniverEngineFormula','getAncestorScale','ITransformService','VIEW_MAIN','gold400','UniverEngineRender','data','rxjs/operators','CollaborationUIEventId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','COMPLETION_FINISHED','EffectRefRangId','_collabSessionService','mask','UniverRpc','backgroundColor','@univerjs/sheets-ui','TEXT','AWAITING_WITH_PENDING','UnitStatus','runRefRangeMutations','1834VRBwvH','DocSelectionManagerService','addHandlerCallback','_backgroundColor','BrowserCollaborationSocketService','div','UniverProCollaborationClientUi','UniverUi','_collaborationController','CollaborationEvent','_httpService','fromEvent','@univerjs/ui','_onCursorDelete','clsx','handleDeleteRangeMoveLeft','WebBrowserSingleActiveUnitService','_transformService','docStateChange$','_updateLocalCursor','status$','ColorKit','ENSURE_SNAPSHOT_EXECUTION','newValue','trim','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IMessageService','[CollaborationDataLoaderController]','univer-flex\x20univer-items-center','from','sessionStatus$','roomMembers','ILogService','loadOfflineData','_registerDependencies','#FFF','top','deepClone','getOwnPropertyDescriptor','getConfig','CONNECTOR_DATA_TOO_LARGE','HTTPService','collaboration.single-unit.warning','className','off-line-single_clip0_910_343','_cursor','permission.content','Optional','setParam','cursorInfo','getCollabCursors$','session.connection-failed','m1Prime','searchParams','doc.mutation.rich-text-editing','all','toString','setActiveRange','_lastPointer','_imageIoService','Injector','attrs','_clearOtherTimers','eventID','InsertRangeMoveRightCommandId','getUnitStatus$','UniverIcon','DependentOn','getMemberID','jsx','add','LICENSE_MAX_UNITS_EXCEEDED','save','createInstance','@univerjs/core','saveImage','Subject','LOCAL_CACHE_INTERVAL_KEY','verdancy600','UniverNetwork','dispose','_toggleOffline','location','registerRenderModule','sessionTicket','isArray','getSheetId','NOT_FOUND','asObservable','CommandType','mergeOverrideWithDependencies','map','YUUMI_UNABLE_LOAD_URL','transformSelections','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_dataLoaderService','@univerjs/drawing','NOT_COLLAB','useDependency','_beforeCloseService','@univerjs/docs-ui','_removeClearOtherTimer','transformStateCache','React','handleInsertCol','updateOfflineData','memberID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','clearInterval','unshift','amd','RefRangeService','column','event$','flatMap','setAlpha','collaboration-client-ui.config','RxDisposable','bottom','row','_updateCollabCursors','labelPosition','_scheduleClearOtherTimer','_commandService','RemoveRowCommandId','transformIMECache','unitID','OTHER_CLIENTS_EDITING','Unknown\x20user','UniverInstanceType','PY_RUNTIME_SCRIPT_ERROR','concat','940468fDtLgX','disposeWithMe','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','on-line-single','_localStorageService','editingUnit','defIds','_setupSubUnitSync','pluginName','_colorIndex','_handleEvent','stringify','makeDirty','useCallback','currentTheme$','Inject','_messageService','href','_anchor','fillRule','...','prototype','removeParam','setStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','merge','object','_unitOnClients','_docTransformStateCacheService','set','selection','[RemoteUniscriptService]:\x20no\x20focused\x20unit','color','getMember','defs','RECT','onPointerLeave$','_getAnchorBounding','collabStatus.syncing','APPLY_DUPLICATED','CollaborationController','currentSkeleton$','SOCKET_FAILED_RETRY','_getSessionTicket','idSuffix','ranges','Rect','Tools','current','exhaustSavingTask','has','collabStatus.fetchMiss','_setupBeforeClosingHandler','LOGIN_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','collabStatus.notCollab','UNAUTHENTICATED','Rectangle','translate(.97)','_initEvent','on-line-single_clip0_910_349','body','_colorAssignService','UniverDocs','643942zfCWAR','_injector','popstate','_scene','react/jsx-runtime','handleMoveRange','CollaborationStatus','INVALID_INVITE_CODE','react','_docTransformIMECacheService','getMergeData','37410ByOoeJ','_context','APPLY_NON_SEQUENTIAL_REVISION','DesktopCollaborationStatusDisplayController','rxjs','enableLocalCache','range','ISocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getStateCache','complete','distinctUntilChanged','requireSession','_cursors','fillText','restore','CLOSE_ROOM','collab-text-range-','@univerjs/docs','_localeService','mutations','_updateSubUnitFromURLParams','getViewport','onPointerMove$','_registerRenderDependencies','forwardRef','RemoveColCommandId','_entities','runId','_docSkeleton','_handleHover','SHEET_VIEWPORT_KEY','AWAITING','clipPath','parse','size','FETCH_MISS','MOBILE_HAS_BEEN_BOUND','substring','getActiveRange','getUndoRedoMutationParamsCache','SYNCED','_range','EMAIL_HAS_BEEN_BOUND','Tooltip','_refreshCollabCursors','font','_cursorShapes','rgba(255,\x20255,\x20255,\x200.01)','OffLineSingle','syncEditingCollabCursor','_session','collabStatus.offline','getOwnPropertySymbols','HEADER_MENU','with','selections','_saveTaskMap','collaboration-client.offline-data-not-saved','switchMap','isEditing','result','1em','redoState','currentColor','init','DOC_RANGE_TYPE','_collabCursorController','@univerjs/network','_transformPreviousActiveRange','onCommandExecuted','ILocalStorageService','IUniverInstanceService','getValue','IURLService','runOnServer','unit','generateRandomId','getCurrent','SNAPSHOT_INVALID_SNAPSHOT','INVITE_CODE_REQUIRED','_handleJoinEvent','use','_online','_name','getSheetBySheetId','colorChannel1','TOO_MANY_REQUESTS','ONLINE','disposeUnit','INTERNAL_ERROR','IRenderManagerService','SOCKET_FAILED','clearTimeout','_status$','setConfig','NO_OTHER_CLIENTS_EDITING','collabCursorState$','_memberService','SheetSkeletonManagerService','CHANGESET_REVISION_CONFILICT','_color','_shapes','MessageType','USER_NOT_INVITED_CODE','search','SUBMIT_CHANGESET_TIMEOUT','INVITE_CODE_ALREADY_BOUND','subscribeEvent','CollaborationSocketService','LICENSE_DISTRO_REJECTED','origin','@univerjs/design','min','_handleHeartbeatEvent','displayName','name','transformMutation','TEXT_RANGE_LAYER_INDEX','UPDATE_CURSOR','addObject','_initCommandExecutedListener','off-line-single','collab-text-anchor-','DocSkeletonManagerService','LICENSE_EXPORT_SIZE_EXCEEDED','MemberService','_revisionService','INVALID_ARGUMENT','UniverCore','url(#on-line-single_clip0_910_349)','UNIVER_DOC','session.will-retry','call','COLORS','InsertRangeMoveDownCommandId','SetDocZoomRatioOperation','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CollaborationUIEventService','_removeCollabCursors','onMouseMove','actions','_collaborationUIEventService','UniverDrawing','delete','_eventUnsubscribe','cursorInfo$','sheetID','hide','WECHAT_HAS_BEEN_BOUND','getFocusedUnit','getCollabEntity$','split','APPLY_REJECT','getColor','getRangePointData','evenodd','_drawTextRange','uni.network.url-service','@univerjs-pro/collaboration-client','LOCAL_CACHE_INTERVAL','3544aTJaJS','_ensureSubject','YUUMI_RATE_OVER_LIMIT','takeUntil','_drawAnchor','onLocalMutation','_initEntityListener','SetSelectionsOperation','_saveCache','_drawRectRange','_updateURLWithCurrentState','serializeRangeWithSheet','arc','LocaleService','Plugin','M0\x200H16V16H0z','subscribe','triggerDblclick','_transformHistoryAndStateStack','history','YUUMI_ASYNCIO_CANCELLED','3uXhnXP','_config','registerComponent','_uiPartsService','filter','drawWith','Error','saveTaskMap','handleIRemoveCol','PERMISSION_DENIED','_send','Vector2','onStarting','@univerjs/engine-formula','OFFLINE','_selfUnitIDs','isActive','find','DataLoaderService','univer-text-green-500','WebSocketService','_assignedColors','_entityInit$','0\x200\x2016\x2016','8461002QpjWmH','addObjects','_handleLeaveEvent','@univerjs/engine-render','USERS_LEAVE','univer-flex\x20univer-mr-2\x20univer-text-[20px]','xlink:href','closePath','operators','getDocRanges','measureText','round','pipe','ICommandService','_hover','key','RevisionService','UniverDesign','collaboration.closeRoom','getParam','_cursorInfo$','values','_themeService','IRemoteInstanceService','_unitStatus','_toggleOnline','_cachedData','UniverProCollaborationClient','SetWorksheetActivateCommand','debounceTime','setInterval','_docClipboardService','urlChange$','startsWith','UniverCollaborationClientUIPlugin','UniverSheets','lineTo','UniverDocsUi','_hideTimer','saveOfflineData','Shape','RemoteUniscriptService','collabStatus.synced','_getScale','then','url(#off-line-single_clip0_910_343)','_initDependencies','JOIN_ROOM_FAILED','univer-text-red-500','_init','send','deserializeRangeWithSheet','_getSaveTimeout','_docTransformSelectionsService','CollaborationDataLoaderController','DocIMEInputManagerService','getUnitId','debounce','NodePositionConvertToCursor','addEventListener','replace','WebURLService','_scheduleHeartbeat','_roomMembers$','@univerjs-pro/collaboration','pushState','UNIVER_SHEET','subUnitId','unload','_docStateChangeManagerService','UNRECOGNIZED','getUniverSheetInstance','getCurrentRevOfUnit','1730wthsaH','registerRefRange','params','_configService','_render','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','_onRefRangeChange','length','apply','UniverCollaborationClientPlugin','hasOwnProperty','_transformUndoRedoStack','_getMergeRange','replaceState','UNDEFINED','assignAColorForMemberID','univerjs-icon\x20univerjs-icon-','SheetCollabCursorShape','_textBubble','symbol','APPLY_PERMISSION_DENIED','DocStateChangeManagerService','entries','_docSkeletonManagerService','CollaborationSessionService','transformMutationsWithChangeset','InsertColCommandId','extend','getCoordByCell','unitId','indexOf','fillStyle','YUUMI_SUBSCRIPTION_NOT_FOUND','getRelativeToViewportCoord','ALREADY_EXISTS','939802ibrdEx','getSkeleton','BuiltInUIPart','skeleton','loadUnit','@univerjs/sheets','handleInsertRangeMoveDown','error','Disposable','whenReady','height','_renderManagerService','unsubscribe','INVITE_CODE_HAS_BEEN_UES','INotificationService','push','_logService','_anchorDot','next','getTypeOfUnitDisposed$','executionId','SNAPSHOT_HAS_BEEN_REMOVED','_initResize','_initStatusComponent','15fuWkYQ','post','_notificationService','combineLatest','SessionStatus','_draw','setItem','_getSheetObject','fromEventSubject','executeCommand','handleIRemoveRow','getVpScrollXYInfoByPosToVp','debug','ThemeService','_heartbeatTimer','_id','dispose$','subunit','getRenderById','useRef','string','FromArray','forEach','_initStatusListener','url(#$1','#fff','replaceDocRanges','_sheetSkeletonManagerService','_collabCursorState$','includes','@univerjs/rpc','SetTextSelectionsOperation','MUTATION','IConfigService','width','findNodePositionByCharIndex','_localCacheService','show','black','toDisposable','RegularPolygon','endRow','APPLY_REVISION_CONFILICT','transformRemoteChangeset','getLocalCacheKey','_disabled','text','exports','isTransformMutationFailure','onTransformChange$','getOffsetConfig','_hovered','roomMembers$','jiqing500','setShapeProps','IUIPartsService','OnLineSingle','_syncEditingCollabCursorService','_docSyncEditingCollabCursorService','Workbook','_labelPosition'];_0x547b=function(){return _0x2e67b2;};return _0x547b();}
1
+ (function(_0x4ea607,_0x1190ea){const _0x3f3a9a=_0x316b,_0x3c64b2=_0x4ea607();while(!![]){try{const _0x372473=parseInt(_0x3f3a9a(0x3d9))/0x1+-parseInt(_0x3f3a9a(0x310))/0x2+parseInt(_0x3f3a9a(0x1d2))/0x3*(-parseInt(_0x3f3a9a(0x2ae))/0x4)+parseInt(_0x3f3a9a(0x33e))/0x5*(parseInt(_0x3f3a9a(0x416))/0x6)+-parseInt(_0x3f3a9a(0x2e0))/0x7+-parseInt(_0x3f3a9a(0x3a5))/0x8*(parseInt(_0x3f3a9a(0x280))/0x9)+parseInt(_0x3f3a9a(0x2df))/0xa;if(_0x372473===_0x1190ea)break;else _0x3c64b2['push'](_0x3c64b2['shift']());}catch(_0x1c84d4){_0x3c64b2['push'](_0x3c64b2['shift']());}}}(_0x2b51,0x880ac),function(_0x7f2edd,_0x221f12){const _0x4bfff4=_0x316b;typeof exports==_0x4bfff4(0x207)&&typeof module<'u'?_0x221f12(exports,require(_0x4bfff4(0x413)),require(_0x4bfff4(0x25b)),require(_0x4bfff4(0x2ff)),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x4bfff4(0x213)),require(_0x4bfff4(0x1b6)),require(_0x4bfff4(0x232)),require(_0x4bfff4(0x220)),require('@univerjs/sheets'),require(_0x4bfff4(0x231)),require(_0x4bfff4(0x30a)),require('react/jsx-runtime'),require(_0x4bfff4(0x2d4)),require(_0x4bfff4(0x1d7)),require(_0x4bfff4(0x420)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4bfff4(0x1f6)]?define([_0x4bfff4(0x1ac),'@univerjs-pro/collaboration-client',_0x4bfff4(0x25b),_0x4bfff4(0x2ff),_0x4bfff4(0x1ce),_0x4bfff4(0x41d),_0x4bfff4(0x1c7),_0x4bfff4(0x213),_0x4bfff4(0x1b6),_0x4bfff4(0x232),_0x4bfff4(0x220),'@univerjs/sheets',_0x4bfff4(0x231),_0x4bfff4(0x30a),_0x4bfff4(0x1a4),'@univerjs/ui','@univerjs/design',_0x4bfff4(0x420),'@univerjs/rpc'],_0x221f12):(_0x7f2edd=typeof globalThis<'u'?globalThis:_0x7f2edd||self,_0x221f12(_0x7f2edd[_0x4bfff4(0x259)]={},_0x7f2edd['UniverProCollaborationClient'],_0x7f2edd[_0x4bfff4(0x333)],_0x7f2edd[_0x4bfff4(0x23e)],_0x7f2edd['UniverNetwork'],_0x7f2edd[_0x4bfff4(0x335)],_0x7f2edd[_0x4bfff4(0x37f)],_0x7f2edd[_0x4bfff4(0x213)],_0x7f2edd[_0x4bfff4(0x2cb)],_0x7f2edd[_0x4bfff4(0x257)],_0x7f2edd['UniverEngineFormula'],_0x7f2edd[_0x4bfff4(0x393)],_0x7f2edd[_0x4bfff4(0x213)][_0x4bfff4(0x36f)],_0x7f2edd[_0x4bfff4(0x32d)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2fd)],_0x7f2edd[_0x4bfff4(0x39e)],_0x7f2edd[_0x4bfff4(0x2b0)],_0x7f2edd[_0x4bfff4(0x2db)]));}(this,function(_0x4394f4,_0x25172a,_0x380f2c,_0x562cf5,_0x54dd82,_0x245556,_0x540d16,_0x309759,_0x1bf15b,_0x4946eb,_0x44c5f6,_0x5434f9,_0x1c9dc1,_0x1f7bce,_0x5bcf77,_0x26ee6d,_0x4cdd5d,_0x4a2e64,_0x1bf57e){'use strict';const _0x223248=_0x316b;var _0x49a913=Object[_0x223248(0x40a)],_0x1d2e7c=(_0x303a7c,_0x233ea4,_0x4a349b)=>_0x233ea4 in _0x303a7c?_0x49a913(_0x303a7c,_0x233ea4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a349b}):_0x303a7c[_0x233ea4]=_0x4a349b,_0x44255b=(_0x9dfd94,_0x5b624d,_0x51b162)=>_0x1d2e7c(_0x9dfd94,typeof _0x5b624d!=_0x223248(0x378)?_0x5b624d+'':_0x5b624d,_0x51b162),_0x22671b=Object['getOwnPropertyDescriptor'],_0x1a1917=(_0x37fc8e,_0x389413,_0x22b0c0,_0x24a6a7)=>{const _0x4be3c2=_0x223248;for(var _0x3ff821=_0x24a6a7>0x1?void 0x0:_0x24a6a7?_0x22671b(_0x389413,_0x22b0c0):_0x389413,_0x5f23c2=_0x37fc8e[_0x4be3c2(0x25a)]-0x1,_0x3614e9;_0x5f23c2>=0x0;_0x5f23c2--)(_0x3614e9=_0x37fc8e[_0x5f23c2])&&(_0x3ff821=_0x3614e9(_0x3ff821)||_0x3ff821);return _0x3ff821;},_0x30af99=(_0x59269f,_0xfcd4d1)=>(_0x29c290,_0x183dfd)=>_0xfcd4d1(_0x29c290,_0x183dfd,_0x59269f);let _0x287dac=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x19fcd5,_0x4ba7a5){const _0xc5d3b5=_0x223248;super(),this[_0xc5d3b5(0x19e)]=_0x19fcd5,this['_imageIoService']=_0x4ba7a5,this['_init']();}[_0x223248(0x18f)](){const _0x4c3135=_0x223248,_0x254e15=this;this[_0x4c3135(0x1e9)](this[_0x4c3135(0x19e)]['addClipboardHook']({'onBeforePasteImage':async _0x4e2ffe=>{const _0x371ef4=_0x4c3135,_0x1276a5=await _0x254e15[_0x371ef4(0x1f5)]['saveImage'](_0x4e2ffe);return _0x1276a5?{'source':_0x1276a5[_0x371ef4(0x28c)],'imageSourceType':_0x1276a5[_0x371ef4(0x275)]}:null;}}));}};_0x287dac=_0x1a1917([_0x30af99(0x0,_0x245556[_0x223248(0x1e1)]),_0x30af99(0x1,_0x540d16[_0x223248(0x252)])],_0x287dac);const _0x1583ae=[_0x223248(0x362),_0x223248(0x197),_0x223248(0x2eb),_0x223248(0x1ae),_0x223248(0x35a),_0x223248(0x39b)];class _0xd7751 extends _0x380f2c['Disposable']{constructor(){const _0x843ffb=_0x223248;super(...arguments),_0x44255b(this,'_assignedColors',new Map()),_0x44255b(this,_0x843ffb(0x2ef),0x0);}['assignAColorForMemberID'](_0x248e6a){const _0x2db18b=_0x223248;if(this['_assignedColors'][_0x2db18b(0x2e5)](_0x248e6a))return this[_0x2db18b(0x39f)][_0x2db18b(0x3cf)](_0x248e6a);const _0x29df85=_0x1583ae[this[_0x2db18b(0x2ef)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x1583ae['length'],this[_0x2db18b(0x39f)][_0x2db18b(0x269)](_0x248e6a,_0x29df85),_0x29df85;}}function _0x1ecaf2(_0x163ce2){const _0x180989=_0x223248;let _0x4a9dd7='';for(const _0x3a2931 of _0x163ce2){const {startOffset:_0x175fed,endOffset:_0x3c3856,isActive:_0x127253,rangeType:_0x172a15,segmentId:_0x341f71,segmentPage:_0x37f649}=_0x3a2931;_0x4a9dd7[_0x180989(0x25a)]&&(_0x4a9dd7+=','),_0x4a9dd7+=_0x175fed+':'+_0x3c3856+':'+(_0x127253?'1':'0')+':'+_0x172a15+':'+_0x341f71+':'+_0x37f649;}return _0x4a9dd7;}function _0x155a17(_0x3c474c){const _0x3dc023=_0x223248,_0x2dc777=_0x3c474c[_0x3dc023(0x2e3)](','),_0x214960=[];for(const _0x176a4a of _0x2dc777){const [_0x4025bc,_0x3b5562,_0x593622,_0xe5dc28,_0x535a0c,_0x5ac5fc]=_0x176a4a['split'](':');_0x214960[_0x3dc023(0x30d)]({'startOffset':Number(_0x4025bc),'endOffset':Number(_0x3b5562),'collapsed':_0x4025bc===_0x3b5562,'isActive':_0x593622==='1','rangeType':_0xe5dc28===_0x380f2c[_0x3dc023(0x276)]['TEXT']?_0x380f2c['DOC_RANGE_TYPE'][_0x3dc023(0x282)]:_0x380f2c[_0x3dc023(0x276)]['RECT'],'segmentId':typeof _0x535a0c=='string'?String(_0x535a0c):'','segmentPage':Number(_0x5ac5fc!=null?_0x5ac5fc:-0x1)});}return _0x214960[_0x3dc023(0x1a5)](_0x2c0b01=>_0x2c0b01['isActive'])||(_0x214960[0x0]['isActive']=!0x0),_0x214960;}class _0x19792d extends _0x380f2c['RxDisposable']{constructor(){const _0x141904=_0x223248;super(...arguments),_0x44255b(this,_0x141904(0x253),new _0x309759[(_0x141904(0x3e2))](null)),_0x44255b(this,_0x141904(0x3be),this[_0x141904(0x253)][_0x141904(0x3ca)]());}[_0x223248(0x3b5)](_0x548a4a){const _0x539c12=_0x223248,{unitID:_0x1deffe,memberID:_0x5b462b,textRanges:_0x2e617e}=_0x548a4a,_0x4955e7=_0x1ecaf2(_0x2e617e);if(_0x4955e7==='')return;const _0xc89dcc={'unitID':_0x1deffe,'memberID':_0x5b462b,'selection':_0x4955e7};this['_collabCursorState$'][_0x539c12(0x428)](_0xc89dcc);}}var _0x519411=Object[_0x223248(0x265)],_0x54b3bb=(_0x5e0c88,_0x4b737b,_0x25a37f,_0x2e6af7)=>{const _0x18da3a=_0x223248;for(var _0x1ed5c2=_0x2e6af7>0x1?void 0x0:_0x2e6af7?_0x519411(_0x4b737b,_0x25a37f):_0x4b737b,_0x43279a=_0x5e0c88[_0x18da3a(0x25a)]-0x1,_0x54ca01;_0x43279a>=0x0;_0x43279a--)(_0x54ca01=_0x5e0c88[_0x43279a])&&(_0x1ed5c2=_0x54ca01(_0x1ed5c2)||_0x1ed5c2);return _0x1ed5c2;},_0x5cbd4e=(_0x11940e,_0x21328d)=>(_0x5decf2,_0x3c962a)=>_0x21328d(_0x5decf2,_0x3c962a,_0x11940e);const _0xac0a6d=0x12c,_0x24efb3=0x64;let _0x2c3801=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x536144,_0x104a28,_0x4f5087,_0x23f9f7,_0x1f80de,_0x2d6066,_0x5445e5,_0x282406,_0x3b8113){const _0x818a00=_0x223248;super(),_0x44255b(this,_0x818a00(0x3bb),!0x1),_0x44255b(this,_0x818a00(0x18f),!0x1),_0x44255b(this,_0x818a00(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,_0x818a00(0x230),this[_0x818a00(0x3b4)]['asObservable']()),_0x44255b(this,_0x818a00(0x32c),new _0x309759[(_0x818a00(0x3e2))]([])),_0x44255b(this,_0x818a00(0x2d9),this[_0x818a00(0x32c)][_0x818a00(0x278)](_0x309759[_0x818a00(0x3ec)](_0xac0a6d))),_0x44255b(this,'_updateLocalCursor',_0x380f2c[_0x818a00(0x288)](_0x2cc5b8=>{const _0x3d7e4d=_0x818a00,_0x41736e={'eventID':_0x4946eb[_0x3d7e4d(0x1dc)][_0x3d7e4d(0x273)],'data':{'unitID':this[_0x3d7e4d(0x293)],'memberID':this['_session'][_0x3d7e4d(0x3d5)](),'selection':_0x1ecaf2(_0x2cc5b8)}};this[_0x3d7e4d(0x285)]['send'](_0x41736e,this[_0x3d7e4d(0x293)]);},_0x24efb3)),(this[_0x818a00(0x293)]=_0x536144,this['_session']=_0x104a28,this[_0x818a00(0x1d3)]=_0x4f5087,this[_0x818a00(0x34e)]=_0x23f9f7,this[_0x818a00(0x365)]=_0x1f80de,this[_0x818a00(0x401)]=_0x2d6066,this[_0x818a00(0x329)]=_0x5445e5,this[_0x818a00(0x33f)]=_0x282406,this[_0x818a00(0x1f1)]=_0x3b8113);}get[_0x223248(0x3b0)](){const _0x43d268=_0x223248;return this['_cursorInfo$'][_0x43d268(0x2f6)]();}get['roomMembers'](){const _0x52e557=_0x223248;return this[_0x52e557(0x32c)]['getValue']();}[_0x223248(0x1d8)](){const _0x4f64a3=_0x223248;super[_0x4f64a3(0x1d8)](),this[_0x4f64a3(0x3b4)][_0x4f64a3(0x428)](new Map()),this[_0x4f64a3(0x3b4)]['complete'](),this[_0x4f64a3(0x32c)][_0x4f64a3(0x428)]([]),this[_0x4f64a3(0x32c)][_0x4f64a3(0x3d6)]();}[_0x223248(0x22e)](){const _0x3b58cd=_0x223248;this[_0x3b58cd(0x18f)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))['subscribe'](_0x3b8780=>{const _0x465abf=_0x3b58cd;_0x3b8780===_0x25172a[_0x465abf(0x3c8)][_0x465abf(0x3a9)]?this[_0x465abf(0x1b2)]():this[_0x465abf(0x328)]();}),this[_0x3b58cd(0x285)][_0x3b58cd(0x294)][_0x3b58cd(0x278)](_0x309759['takeUntil'](this[_0x3b58cd(0x41a)]))[_0x3b58cd(0x1d9)](_0x544f25=>{const _0x10a244=_0x3b58cd,_0x43beec=_0x544f25['eventID'];_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x273)]&&this['_onCursorUpdate'](_0x544f25),_0x43beec===_0x4946eb[_0x10a244(0x1dc)][_0x10a244(0x30b)]&&this[_0x10a244(0x20d)](_0x544f25);}),this['disposeWithMe'](this[_0x3b58cd(0x1f1)][_0x3b58cd(0x37d)](_0x468cc8=>{const _0x5ae7b4=_0x3b58cd,_0x308ea7=_0x468cc8[_0x5ae7b4(0x28f)];_0x308ea7!=null&&this[_0x5ae7b4(0x3bb)]&&_0x468cc8['id']===_0x1bf15b[_0x5ae7b4(0x3d0)]['id']&&_0x308ea7[_0x5ae7b4(0x341)]===this[_0x5ae7b4(0x293)]&&_0x308ea7[_0x5ae7b4(0x20f)]===!0x1&&_0x308ea7['ranges']['length']>0x0&&this[_0x5ae7b4(0x368)](_0x308ea7[_0x5ae7b4(0x349)]);})),this[_0x3b58cd(0x401)][_0x3b58cd(0x3be)][_0x3b58cd(0x278)](_0x309759[_0x3b58cd(0x40b)](this['dispose$']))[_0x3b58cd(0x1d9)](_0x5f41e5=>{const _0x478a82=_0x3b58cd;if((_0x5f41e5==null?void 0x0:_0x5f41e5[_0x478a82(0x293)])!==this['unitID'])return;const _0x1a5121={'eventID':_0x4946eb[_0x478a82(0x1dc)][_0x478a82(0x273)],'data':_0x5f41e5};this[_0x478a82(0x3fa)](_0x1a5121);}),this[_0x3b58cd(0x1e9)](this[_0x3b58cd(0x1f1)]['onCommandExecuted'](_0x1520da=>{const _0x16bad0=_0x3b58cd;if(_0x1520da[_0x16bad0(0x28f)]==null)return;const _0x1a5c4b=_0x1520da['params'];if(_0x1520da['id']!==_0x1bf15b[_0x16bad0(0x34a)]['id']||_0x1a5c4b['unitId']!==this[_0x16bad0(0x293)])return;const _0x6b3dc9={'id':_0x16bad0(0x3f5),'params':_0x1a5c4b},_0x4cdb9a=this['cursorInfo'];for(const [_0x471ac5,_0xb88bb1]of _0x4cdb9a){const _0x20ea30={'id':_0x16bad0(0x3f5),'params':{'unitId':this[_0x16bad0(0x293)],'actions':null,'textRanges':_0xb88bb1[_0x16bad0(0x349)]}},_0x458df9=this[_0x16bad0(0x329)][_0x16bad0(0x240)](_0x6b3dc9,_0x20ea30,!0x1);if(_0x4946eb[_0x16bad0(0x1b1)](_0x458df9))throw _0x458df9[_0x16bad0(0x3cb)];_0x4cdb9a[_0x16bad0(0x269)](_0x471ac5,{..._0xb88bb1,'ranges':_0x458df9[_0x16bad0(0x353)][_0x16bad0(0x28f)][_0x16bad0(0x3d3)]});}queueMicrotask(()=>{const _0x573152=_0x16bad0;this[_0x573152(0x3b4)][_0x573152(0x428)](_0x4cdb9a);});})));}[_0x223248(0x3fa)](_0x1a30f1){const _0x56f145=_0x223248;var _0x500f9f,_0x344ea5;const {memberID:_0x4c25a9,selection:_0x378746}=_0x1a30f1[_0x56f145(0x2a1)],_0x1d216c=_0x155a17(_0x378746),_0x2eb159=(_0x344ea5=(_0x500f9f=this[_0x56f145(0x365)]['getMember'](this[_0x56f145(0x293)],_0x4c25a9))==null?void 0x0:_0x500f9f[_0x56f145(0x2b5)])!=null?_0x344ea5:_0x56f145(0x3dc),_0xf99e4a={'color':this[_0x56f145(0x34e)][_0x56f145(0x2e1)](_0x4c25a9),'name':_0x2eb159,'ranges':_0x1d216c},_0x2f11d6=this[_0x56f145(0x3b0)];_0x2f11d6[_0x56f145(0x269)](_0x4c25a9,_0xf99e4a),this[_0x56f145(0x3b4)][_0x56f145(0x428)](_0x2f11d6);}[_0x223248(0x20d)](_0x594bed){const _0x4980a4=_0x223248,{memberID:_0x275c93}=_0x594bed[_0x4980a4(0x2a1)],_0x229d7a=this[_0x4980a4(0x3b0)];_0x229d7a['delete'](_0x275c93),this[_0x4980a4(0x3b4)][_0x4980a4(0x428)](_0x229d7a);}[_0x223248(0x1b2)](){const _0x5e2386=_0x223248;var _0x15af80;if(this[_0x5e2386(0x3bb)]=!0x0,((_0x15af80=this[_0x5e2386(0x33f)]['getFocusedUnit']())==null?void 0x0:_0x15af80[_0x5e2386(0x302)]())!==this[_0x5e2386(0x293)])return;const _0x532c0a=this['_injector'][_0x5e2386(0x3cf)](_0x1bf15b['DocSelectionManagerService'])[_0x5e2386(0x322)]();Array[_0x5e2386(0x1c5)](_0x532c0a)&&_0x532c0a['length']>0x0&&this['_updateLocalCursor'](_0x532c0a);}['_toggleOffline'](){const _0x105440=_0x223248;this[_0x105440(0x3bb)]=!0x1;}};_0x2c3801=_0x54b3bb([_0x5cbd4e(0x2,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x5cbd4e(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x5cbd4e(0x4,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x22c)])),_0x5cbd4e(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x5cbd4e(0x6,_0x4946eb[_0x223248(0x382)]),_0x5cbd4e(0x7,_0x380f2c[_0x223248(0x3fe)]),_0x5cbd4e(0x8,_0x380f2c[_0x223248(0x36e)])],_0x2c3801);var _0x3dd977=Object[_0x223248(0x265)],_0x454dfc=(_0x54f586,_0x1dda5f,_0x5bb031,_0x5a411c)=>{for(var _0x13c5ea=_0x5a411c>0x1?void 0x0:_0x5a411c?_0x3dd977(_0x1dda5f,_0x5bb031):_0x1dda5f,_0xef400f=_0x54f586['length']-0x1,_0x31db7f;_0xef400f>=0x0;_0xef400f--)(_0x31db7f=_0x54f586[_0xef400f])&&(_0x13c5ea=_0x31db7f(_0x13c5ea)||_0x13c5ea);return _0x13c5ea;},_0x31a8db=(_0x414575,_0x669576)=>(_0x122e41,_0x44c2c6)=>_0x669576(_0x122e41,_0x44c2c6,_0x414575);const _0x38e497=0x12c,_0x2c40c5=0x64,_0x40bac4=()=>{let _0x190e92=[],_0x53fa9f=!0x1;return _0x49c136=>{_0x190e92['push'](_0x49c136),_0x53fa9f||(_0x53fa9f=!0x0,setTimeout(()=>{const _0x4e9320=_0x316b;_0x190e92[_0x4e9320(0x258)](_0x5dd638=>_0x5dd638()),_0x190e92=[],_0x53fa9f=!0x1;}));};};let _0x127971=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x482865,_0x20ba6a,_0x19e8c3,_0x147ae9,_0x51177a,_0x4a9575,_0x1ee190,_0x58ea39){const _0x28b609=_0x223248;super(),_0x44255b(this,_0x28b609(0x3bb),!0x1),_0x44255b(this,'_init',!0x1),_0x44255b(this,_0x28b609(0x3b4),new _0x309759['BehaviorSubject'](new Map())),_0x44255b(this,'cursorInfo$',this[_0x28b609(0x3b4)]['asObservable']()),_0x44255b(this,'_roomMembers$',new _0x309759[(_0x28b609(0x3e2))]([])),_0x44255b(this,_0x28b609(0x2d9),this[_0x28b609(0x32c)]['pipe'](_0x309759[_0x28b609(0x3ec)](_0x38e497))),_0x44255b(this,_0x28b609(0x368),_0x380f2c['debounce']((_0x28f45a,_0x4c3a64)=>{const _0x4b0336=_0x28b609,_0x2197c8={'eventID':_0x4946eb['CollaborationEvent'][_0x4b0336(0x273)],'data':{'unitID':this[_0x4b0336(0x293)],'memberID':this['_session'][_0x4b0336(0x3d5)](),'selection':_0x44c5f6[_0x4b0336(0x291)](_0x28f45a,_0x4c3a64['range'])}};this['_session'][_0x4b0336(0x36c)](_0x2197c8,this[_0x4b0336(0x293)]);},_0x2c40c5)),(this[_0x28b609(0x293)]=_0x482865,this[_0x28b609(0x285)]=_0x20ba6a,this[_0x28b609(0x1d3)]=_0x19e8c3,this[_0x28b609(0x34e)]=_0x147ae9,this[_0x28b609(0x365)]=_0x51177a,this[_0x28b609(0x33f)]=_0x4a9575,this[_0x28b609(0x1f1)]=_0x1ee190,this[_0x28b609(0x24e)]=_0x58ea39);}get[_0x223248(0x3b0)](){const _0x712b8e=_0x223248;return this[_0x712b8e(0x3b4)][_0x712b8e(0x2f6)]();}get[_0x223248(0x2d5)](){const _0xd87c2a=_0x223248;return this[_0xd87c2a(0x32c)][_0xd87c2a(0x2f6)]();}['dispose'](){const _0x4adfd5=_0x223248;super[_0x4adfd5(0x1d8)](),this[_0x4adfd5(0x3b4)]['next'](new Map()),this[_0x4adfd5(0x3b4)][_0x4adfd5(0x3d6)](),this[_0x4adfd5(0x32c)][_0x4adfd5(0x428)]([]),this[_0x4adfd5(0x32c)]['complete']();}[_0x223248(0x22e)](){const _0x192ce9=_0x223248;this[_0x192ce9(0x18f)]||(this['_init']=!0x0,this[_0x192ce9(0x285)][_0x192ce9(0x2ea)][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x5daf68=>{const _0x20a19f=_0x192ce9;_0x5daf68===_0x25172a[_0x20a19f(0x3c8)][_0x20a19f(0x3a9)]?this['_toggleOnline']():this[_0x20a19f(0x328)]();}),this[_0x192ce9(0x285)]['event$'][_0x192ce9(0x278)](_0x309759[_0x192ce9(0x40b)](this[_0x192ce9(0x41a)]))[_0x192ce9(0x1d9)](_0x1a47e9=>{const _0x2be2fc=_0x192ce9,_0x3a2b6d=_0x1a47e9[_0x2be2fc(0x388)];_0x3a2b6d===_0x4946eb['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2be2fc(0x3fa)](_0x1a47e9),_0x3a2b6d===_0x4946eb[_0x2be2fc(0x1dc)][_0x2be2fc(0x30b)]&&this[_0x2be2fc(0x20d)](_0x1a47e9);}),this[_0x192ce9(0x2f5)](),this[_0x192ce9(0x1e9)](this[_0x192ce9(0x1f1)][_0x192ce9(0x37d)](_0x3bc6e2=>{const _0x1988dc=_0x192ce9;if(this[_0x1988dc(0x3bb)]&&_0x3bc6e2['id']===_0x5434f9['SetSelectionsOperation']['id']&&_0x3bc6e2[_0x1988dc(0x28f)][_0x1988dc(0x341)]===this[_0x1988dc(0x293)]){const _0x53d166=_0x3bc6e2[_0x1988dc(0x28f)];this[_0x1988dc(0x368)](_0x53d166[_0x1988dc(0x28a)],_0x53d166[_0x1988dc(0x367)][0x0]);}})));}[_0x223248(0x3fa)](_0xd0b76d){const _0x5c5cf8=_0x223248;var _0x18cffc,_0x3cfeba;const {memberID:_0x32a3b0,selection:_0xe7488a}=_0xd0b76d[_0x5c5cf8(0x2a1)],{sheetName:_0x3002bc,range:_0x410a2d}=_0x44c5f6[_0x5c5cf8(0x23b)](_0xe7488a),_0x59b0d6={'name':(_0x3cfeba=(_0x18cffc=this[_0x5c5cf8(0x365)]['getMember'](this[_0x5c5cf8(0x293)],_0x32a3b0))==null?void 0x0:_0x18cffc[_0x5c5cf8(0x2b5)])!=null?_0x3cfeba:_0x5c5cf8(0x3dc),'range':this[_0x5c5cf8(0x255)](_0x3002bc,_0x410a2d),'sheetID':_0x3002bc,'color':this[_0x5c5cf8(0x34e)]['assignAColorForMemberID'](_0x32a3b0),'selection':_0xe7488a},_0x4fa0bf=this[_0x5c5cf8(0x3b0)];_0x4fa0bf[_0x5c5cf8(0x269)](_0x32a3b0,_0x59b0d6),this['_cursorInfo$'][_0x5c5cf8(0x428)](_0x4fa0bf);}[_0x223248(0x20d)](_0x53bf41){const _0x1ffadd=_0x223248,{memberID:_0x442222}=_0x53bf41['data'],_0x1345d9=this[_0x1ffadd(0x3b0)];_0x1345d9['delete'](_0x442222),this[_0x1ffadd(0x3b4)][_0x1ffadd(0x428)](_0x1345d9);}[_0x223248(0x255)](_0xf462aa,_0x18b3be){const _0x12910e=_0x223248;var _0x46686a,_0x41849c;const _0x390de2=(_0x41849c=(_0x46686a=this[_0x12910e(0x33f)][_0x12910e(0x208)](this[_0x12910e(0x293)]))==null?void 0x0:_0x46686a[_0x12910e(0x399)](_0xf462aa))==null?void 0x0:_0x41849c['getMergeData']();return(_0x390de2==null?void 0x0:_0x390de2[_0x12910e(0x1f8)](_0xc3f800=>_0x380f2c[_0x12910e(0x2f7)][_0x12910e(0x419)](_0xc3f800,_0x18b3be)))||_0x18b3be;}[_0x223248(0x2f5)](){const _0xca66d6=_0x223248,_0x4085aa=new _0x380f2c[(_0xca66d6(0x330))](),_0x3cbf4f=_0x40bac4(),_0x539cfc=()=>{const _0x5c9150=_0xca66d6;_0x4085aa[_0x5c9150(0x1d8)]();const _0x20b9b9=(_0x4cb4fb,_0x313eac,_0x5c99ea,_0x1ac1db)=>{const _0x47a27a=_0x5c9150;let _0xe15f02=[];switch(_0x4cb4fb['id']){case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x1a2)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1db)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x397)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x1f4)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x3ce)]:{_0xe15f02=_0x5434f9['handleInsertCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x24a)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x371)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRangeMoveRightCommandId']:{_0xe15f02=_0x5434f9[_0x47a27a(0x3ba)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)]['InsertRowCommandId']:{_0xe15f02=_0x5434f9['handleInsertRow'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9[_0x47a27a(0x41e)][_0x47a27a(0x191)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x190)](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId']['RemoveColCommandId']:{_0xe15f02=_0x5434f9['handleIRemoveCol'](_0x4cb4fb,_0x1ac1db);break;}case _0x5434f9['EffectRefRangId'][_0x47a27a(0x1cf)]:{_0xe15f02=_0x5434f9[_0x47a27a(0x35e)](_0x4cb4fb,_0x1ac1db);break;}}const _0x5c5593=_0x5434f9[_0x47a27a(0x3b2)](_0xe15f02,_0x1ac1db),_0x102268=this[_0x47a27a(0x3b0)][_0x47a27a(0x3cf)](_0x313eac);if(_0x102268&&_0x5c5593){const _0x5eb5b7={..._0x102268,'range':_0x5c5593};this[_0x47a27a(0x3b0)][_0x47a27a(0x269)](_0x313eac,_0x5eb5b7),_0x3cbf4f(()=>{const _0x1d5001=_0x47a27a,_0x169c49=this[_0x1d5001(0x24e)][_0x1d5001(0x32f)](_0x5c5593,_0x52b66e=>(_0x169c49['dispose'](),_0x20b9b9(_0x52b66e,_0x313eac,_0x5c99ea,_0x5c5593)));_0x4085aa['add'](_0x169c49);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5c9150(0x258)]((_0x1f9f47,_0x1c1c81)=>{const _0x17a456=_0x5c9150,{range:_0x57e2ea,sheetID:_0xe64cf5}=_0x1f9f47,_0xc7bf85=this[_0x17a456(0x24e)][_0x17a456(0x32f)](_0x57e2ea,_0x730350=>(_0xc7bf85[_0x17a456(0x1d8)](),_0x20b9b9(_0x730350,_0x1c1c81,_0xe64cf5,_0x57e2ea)));_0x4085aa[_0x17a456(0x23c)](_0xc7bf85);});};this[_0xca66d6(0x1e9)](_0x380f2c[_0xca66d6(0x242)](this['_cursorInfo$'][_0xca66d6(0x1d9)](()=>{_0x539cfc();})));}[_0x223248(0x1b2)](){const _0x22a586=_0x223248;var _0x1394a2,_0x3261e6;if(this['_online']=!0x0,((_0x1394a2=this[_0x22a586(0x33f)][_0x22a586(0x2f1)]())==null?void 0x0:_0x1394a2['getUnitId']())!==this[_0x22a586(0x293)])return;const _0x3d4b26=(_0x3261e6=this[_0x22a586(0x1d3)]['get'](_0x5434f9['SheetsSelectionsService'])[_0x22a586(0x34f)]())==null?void 0x0:_0x3261e6[0x0],_0x96bef1=this[_0x22a586(0x33f)][_0x22a586(0x404)](_0x380f2c[_0x22a586(0x1a9)][_0x22a586(0x22a)])[_0x22a586(0x1c4)]();_0x3d4b26&&_0x96bef1&&this['_updateLocalCursor'](_0x96bef1[_0x22a586(0x3aa)](),_0x3d4b26);}[_0x223248(0x328)](){const _0x3bdffb=_0x223248;this[_0x3bdffb(0x3bb)]=!0x1;}};_0x127971=_0x454dfc([_0x31a8db(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x31a8db(0x3,_0x380f2c[_0x223248(0x352)](_0xd7751)),_0x31a8db(0x4,_0x380f2c['Inject'](_0x25172a[_0x223248(0x22c)])),_0x31a8db(0x5,_0x380f2c[_0x223248(0x3fe)]),_0x31a8db(0x6,_0x380f2c[_0x223248(0x36e)]),_0x31a8db(0x7,_0x380f2c['Inject'](_0x5434f9['RefRangeService']))],_0x127971);var _0x4781e3=Object[_0x223248(0x265)],_0x4aa8f5=(_0x2be2dd,_0x30be14,_0x4d73c0,_0x59297f)=>{const _0x3b63b5=_0x223248;for(var _0x3386c1=_0x59297f>0x1?void 0x0:_0x59297f?_0x4781e3(_0x30be14,_0x4d73c0):_0x30be14,_0x26c96e=_0x2be2dd[_0x3b63b5(0x25a)]-0x1,_0x3eb36e;_0x26c96e>=0x0;_0x26c96e--)(_0x3eb36e=_0x2be2dd[_0x26c96e])&&(_0x3386c1=_0x3eb36e(_0x3386c1)||_0x3386c1);return _0x3386c1;},_0x2bf9ed=(_0x1fc2f1,_0x5e6386)=>(_0x29d63b,_0x466a0c)=>_0x5e6386(_0x29d63b,_0x466a0c,_0x1fc2f1);let _0x4f3310=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x23a427,_0x349e90,_0x40eccd){const _0x4eca5e=_0x223248;super(),_0x44255b(this,_0x4eca5e(0x2f8),new Map()),_0x44255b(this,_0x4eca5e(0x354),new _0x309759[(_0x4eca5e(0x1c3))]()),(this[_0x4eca5e(0x33f)]=_0x23a427,this[_0x4eca5e(0x1d3)]=_0x349e90,this['_collabSessionService']=_0x40eccd,this[_0x4eca5e(0x18f)]());}[_0x223248(0x1d8)](){const _0x1d3489=_0x223248;super['dispose'](),this[_0x1d3489(0x354)][_0x1d3489(0x3d6)](),this[_0x1d3489(0x2f8)][_0x1d3489(0x258)](_0x4f9327=>_0x4f9327[_0x1d3489(0x1d8)]());}[_0x223248(0x321)](_0x23f4a7){const _0x31cea1=_0x223248;return this[_0x31cea1(0x2f8)]['has'](_0x23f4a7)?this['_entities'][_0x31cea1(0x3cf)](_0x23f4a7)[_0x31cea1(0x230)]:this[_0x31cea1(0x354)][_0x31cea1(0x278)](_0x309759[_0x31cea1(0x3a0)](_0x101aae=>_0x101aae[_0x31cea1(0x293)]===_0x23f4a7),_0x309759['switchMap'](_0x4efb59=>_0x4efb59[_0x31cea1(0x230)]));}[_0x223248(0x18f)](){const _0x3d2320=_0x223248;this['_univerInstanceService'][_0x3d2320(0x327)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_SHEET'])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this['dispose$']))[_0x3d2320(0x1d9)](async _0x15a26e=>{const _0xa7f5ae=_0x3d2320,_0x58489a=_0x15a26e['getUnitId'](),_0x197cd9=await this[_0xa7f5ae(0x1c1)](_0x58489a);this[_0xa7f5ae(0x354)][_0xa7f5ae(0x428)](_0x197cd9),this[_0xa7f5ae(0x2f8)]['set'](_0x58489a,_0x197cd9);}),this[_0x3d2320(0x33f)]['getTypeOfUnitAdded$'](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x30f)])[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x3a0)](_0x3f6388=>!_0x3f6388[_0x3d2320(0x302)]()[_0x3d2320(0x199)]('__')))[_0x3d2320(0x1d9)](async _0xa87c0a=>{const _0x299a68=_0x3d2320,_0xa317b8=_0xa87c0a['getUnitId'](),_0x38e3ff=await this[_0x299a68(0x1d1)](_0xa317b8);this[_0x299a68(0x354)]['next'](_0x38e3ff),this[_0x299a68(0x2f8)][_0x299a68(0x269)](_0xa317b8,_0x38e3ff);}),_0x309759['merge'](this['_univerInstanceService'][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)]['UNIVER_DOC']),this[_0x3d2320(0x33f)][_0x3d2320(0x3ea)](_0x380f2c[_0x3d2320(0x1a9)][_0x3d2320(0x22a)]))[_0x3d2320(0x278)](_0x309759[_0x3d2320(0x40b)](this[_0x3d2320(0x41a)]))[_0x3d2320(0x1d9)](_0xe0137f=>{const _0x3a9716=_0x3d2320,_0xf58bf=_0xe0137f[_0x3a9716(0x302)](),_0x5c4179=this[_0x3a9716(0x2f8)][_0x3a9716(0x3cf)](_0xf58bf);_0x5c4179&&(_0x5c4179[_0x3a9716(0x1d8)](),this[_0x3a9716(0x2f8)][_0x3a9716(0x344)](_0xf58bf));});}async[_0x223248(0x1c1)](_0x12d653){const _0x12dcdf=await this['_collabSessionService']['requireSession'](_0x12d653),_0x5a1af6=this['_injector']['createInstance'](_0x127971,_0x12d653,_0x12dcdf);return _0x5a1af6['init'](),_0x5a1af6;}async[_0x223248(0x1d1)](_0x19a497){const _0x331f28=_0x223248,_0x3639b0=await this['_collabSessionService'][_0x331f28(0x2d3)](_0x19a497),_0x47a3c7=this[_0x331f28(0x1d3)][_0x331f28(0x2da)](_0x2c3801,_0x19a497,_0x3639b0);return _0x47a3c7['init'](),_0x47a3c7;}};_0x4f3310=_0x4aa8f5([_0x2bf9ed(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2bf9ed(0x1,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x2bf9ed(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x406)]))],_0x4f3310);const _0x120bab=0x14,_0x479208=0xc8,_0x370294=0x4,_0xcc261d=0x5;function _0x35edd1(_0x48423f,_0xa006ed){const _0x4d6470=_0x223248;let {radius:_0x223fdb,width:_0x3a0b2e,height:_0x753c0d}=_0xa006ed;_0x223fdb=_0x223fdb!=null?_0x223fdb:0x0,_0x3a0b2e=_0x3a0b2e!=null?_0x3a0b2e:0x1e,_0x753c0d=_0x753c0d!=null?_0x753c0d:0x1e;let _0x31aa3d=0x0,_0x58520e=0x0,_0x2202cd=0x0;_0x31aa3d=_0x58520e=_0x2202cd=Math[_0x4d6470(0x1eb)](_0x223fdb,_0x3a0b2e/0x2,_0x753c0d/0x2),_0x48423f[_0x4d6470(0x2fc)](),_0x48423f[_0x4d6470(0x3ed)](_0x31aa3d,0x0),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e-_0x58520e,0x0),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x58520e,_0x58520e,_0x58520e,Math['PI']*0x3/0x2,0x0,!0x1),_0x48423f[_0x4d6470(0x3ff)](_0x3a0b2e,_0x753c0d-_0x2202cd),_0x48423f[_0x4d6470(0x1bf)](_0x3a0b2e-_0x2202cd,_0x753c0d-_0x2202cd,_0x2202cd,0x0,Math['PI']/0x2,!0x1),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x753c0d),_0x48423f[_0x4d6470(0x3ff)](0x0,_0x31aa3d),_0x48423f[_0x4d6470(0x1bf)](_0x31aa3d,_0x31aa3d,_0x31aa3d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48423f[_0x4d6470(0x407)](),_0xa006ed[_0x4d6470(0x2ca)]&&(_0x48423f[_0x4d6470(0x398)](),_0x48423f[_0x4d6470(0x2a3)]=_0xa006ed['fill'],_0xa006ed[_0x4d6470(0x41f)]===_0x4d6470(0x2a6)?_0x48423f[_0x4d6470(0x2ca)](_0x4d6470(0x2a6)):_0x48423f[_0x4d6470(0x2ca)](),_0x48423f[_0x4d6470(0x3b9)]());}class _0x5738fc extends _0x562cf5['Shape']{constructor(_0x59b16e,_0x1ff07e){const _0x2ee3e8=_0x223248;super(_0x59b16e,_0x1ff07e),_0x44255b(this,_0x2ee3e8(0x19a)),_0x44255b(this,_0x2ee3e8(0x247)),(this[_0x2ee3e8(0x19a)]=_0x1ff07e==null?void 0x0:_0x1ff07e['color'],this[_0x2ee3e8(0x247)]=_0x1ff07e==null?void 0x0:_0x1ff07e[_0x2ee3e8(0x247)]);}static[_0x223248(0x1b3)](_0x3f2e5f,_0x39b82a){const _0xcc6c9c=_0x223248,{text:_0x171dcb,color:_0x6c78e5}=_0x39b82a;_0x3f2e5f[_0xcc6c9c(0x398)](),_0x3f2e5f[_0xcc6c9c(0x2b1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x720e01=_0x3f2e5f[_0xcc6c9c(0x331)](_0x171dcb)['width'],_0x143403=Math[_0xcc6c9c(0x1eb)](_0x720e01+0x2*_0x370294,_0x479208);_0x35edd1(_0x3f2e5f,{'height':_0x120bab,'radius':0x4,'width':_0x143403,'fill':_0x6c78e5}),_0x3f2e5f[_0xcc6c9c(0x2a3)]=_0xcc6c9c(0x1c9);const _0xfcd797=_0x370294,_0x2b35e9=_0x120bab-_0xcc261d,_0x477787=_0x479208-0x2*_0x370294;if(_0x720e01>_0x477787){let _0x199f55='',_0x3f9854=0x0;for(const _0x285ae0 of _0x171dcb){const _0x567da1=_0x3f2e5f['measureText'](_0x285ae0)[_0xcc6c9c(0x2bc)];if(_0x3f9854+_0x567da1<=_0x477787-_0x3f2e5f[_0xcc6c9c(0x331)](_0xcc6c9c(0x312))['width'])_0x199f55+=_0x285ae0,_0x3f9854+=_0x567da1;else{_0x199f55+=_0xcc6c9c(0x312);break;}}_0x3f2e5f[_0xcc6c9c(0x2c6)](_0x199f55,_0xfcd797,_0x2b35e9);}else _0x3f2e5f[_0xcc6c9c(0x2c6)](_0x171dcb,_0xfcd797,_0x2b35e9);_0x3f2e5f['restore']();}['_draw'](_0x13fff4){const _0x20b5cb=_0x223248;_0x5738fc[_0x20b5cb(0x1b3)](_0x13fff4,this);}}const _0x17641a=_0x223248(0x3c3),_0x586420='collab-text-range-',_0xc5b9b3='collab-rect-range-',_0x356757=0x6,_0x437072=1.5,_0x4016d4=0x4,_0x51f730=1.5,_0x10f691=_0x223248(0x1ee);class _0x3b12b2{constructor(_0x750ca2,_0x4abffa,_0x1f78c2,_0x213a9c){const _0x57bc62=_0x223248;_0x44255b(this,'_shapes',[]),_0x44255b(this,_0x57bc62(0x20e),null),_0x44255b(this,_0x57bc62(0x39a),null),_0x44255b(this,_0x57bc62(0x3e7),null),_0x44255b(this,_0x57bc62(0x3c7),null),_0x44255b(this,'_eventUnsubscribe',null),(this[_0x57bc62(0x2b4)]=_0x750ca2,this[_0x57bc62(0x201)]=_0x4abffa,this['_docSkeleton']=_0x1f78c2,this[_0x57bc62(0x1b8)]=_0x213a9c,this[_0x57bc62(0x408)]());}set['_hover'](_0x397fc2){const _0x3766c8=_0x223248;_0x397fc2?(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)]['hide'](),this['_textBubble']&&this[_0x3766c8(0x39a)]['show']()):(this[_0x3766c8(0x3e7)]&&this[_0x3766c8(0x3e7)][_0x3766c8(0x3a7)](),this[_0x3766c8(0x39a)]&&this['_textBubble']['hide']());}['dispose'](){const _0x43fc0c=_0x223248;for(const _0x1d410a of this['_shapes'])_0x1d410a[_0x43fc0c(0x1d8)]();this[_0x43fc0c(0x39a)]&&this[_0x43fc0c(0x39a)]['dispose'](),this[_0x43fc0c(0x3e7)]&&this['_anchorDot'][_0x43fc0c(0x1d8)](),this[_0x43fc0c(0x20e)]&&this['_anchor']['dispose'](),this[_0x43fc0c(0x295)]&&this['_eventUnsubscribe']();}[_0x223248(0x408)](){const _0xda2204=_0x223248;var _0x5104e6;const {_docSkeleton:_0x4e6f6c,_document:_0x4750bc}=this,{color:_0x542cd4,name:_0x18276d,ranges:_0x307d3c}=this[_0xda2204(0x2b4)],_0x47cb84=_0x4750bc[_0xda2204(0x305)](),{docsLeft:_0x305cc0,docsTop:_0x42aa7c}=_0x47cb84,_0x580d02=new _0x245556[(_0xda2204(0x27b))](_0x47cb84,_0x4e6f6c);for(const {startOffset:_0x189fd0,endOffset:_0x317388,rangeType:_0x4f6f8a,segmentId:_0x538281,segmentPage:_0x4befb5,collapsed:_0x88099b,isActive:_0x581a24}of _0x307d3c){const _0x16b632=_0x4e6f6c[_0xda2204(0x2dd)](_0x189fd0,!0x0,_0x538281,_0x4befb5);let _0x225269=_0x4e6f6c[_0xda2204(0x2dd)](_0x317388,!0x0,_0x538281,_0x4befb5);if(_0x225269==null&&(_0x225269=_0x4e6f6c['findNodePositionByCharIndex'](_0x317388-0x1,!0x1,_0x538281,_0x4befb5)),_0x581a24){const {contentBoxPointGroup:_0x47209f}=_0x580d02[_0xda2204(0x2f4)](_0x225269,_0x225269);if(_0x47209f[_0xda2204(0x25a)]===0x0)continue;this['_drawAnchor'](_0x542cd4,_0x47209f,_0x305cc0,_0x42aa7c,_0x18276d),this[_0xda2204(0x295)]=this[_0xda2204(0x229)]();}if(_0x16b632&&_0x225269){if(_0x4f6f8a===_0x380f2c[_0xda2204(0x276)]['RECT']){const _0x2c9904=new _0x245556[(_0xda2204(0x38d))](_0x47cb84,_0x4e6f6c),{pointGroup:_0x404b9f}=(_0x5104e6=_0x2c9904[_0xda2204(0x2f4)](_0x16b632,_0x225269))!=null?_0x5104e6:{};if(_0x404b9f==null||_0x404b9f[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x2b7)](_0x542cd4,_0x404b9f,_0x305cc0,_0x42aa7c);}else{if(!_0x88099b){const {borderBoxPointGroup:_0x50c920}=_0x580d02[_0xda2204(0x2f4)](_0x16b632,_0x225269);if(_0x50c920[_0xda2204(0x25a)]===0x0)continue;this[_0xda2204(0x326)](_0x542cd4,_0x50c920,_0x305cc0,_0x42aa7c);}}}}}[_0x223248(0x23f)](_0x18f213,_0x128503,_0x2e64c9,_0x27858b,_0x4caace){const _0x49b7a5=_0x223248,_0x112af0=this[_0x49b7a5(0x235)](_0x128503),{left:_0x1d5162,top:_0x45d40a,height:_0x25971c}=_0x112af0,_0x36ece3=this['_getScale'](),_0x4e697d=_0x51f730/_0x36ece3,_0x4ad23e=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c[_0x49b7a5(0x31c)][_0x49b7a5(0x314)](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b,'height':_0x25971c,'width':_0x437072,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'strokeWidth':_0x4e697d,'stroke':_0x10f691,'evented':!0x0});this['_anchor']=_0x4ad23e,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x4ad23e,_0x245556[_0x49b7a5(0x358)]);const _0x5ab973=new _0x562cf5[(_0x49b7a5(0x25c))](_0x17641a+_0x380f2c['Tools']['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x4016d4/0x2,'height':_0x4016d4,'width':_0x4016d4,'fill':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)][_0x49b7a5(0x427)],0x0),'strokeWidth':0x0,'stroke':_0x18f213||_0x562cf5[_0x49b7a5(0x1ec)](_0x380f2c[_0x49b7a5(0x2ba)]['black'],0x0),'evented':!0x1});this[_0x49b7a5(0x3e7)]=_0x5ab973,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x5ab973,_0x245556['TEXT_RANGE_LAYER_INDEX']);const _0x3dc6d6=new _0x5738fc(_0x17641a+_0x380f2c[_0x49b7a5(0x31c)]['generateRandomId'](_0x356757),{'left':_0x1d5162+_0x2e64c9-_0x4e697d,'top':_0x45d40a+_0x27858b-_0x120bab,'text':_0x4caace,'color':_0x18f213});this['_textBubble']=_0x3dc6d6,this[_0x49b7a5(0x201)][_0x49b7a5(0x217)](_0x3dc6d6,_0x245556[_0x49b7a5(0x358)]),this[_0x49b7a5(0x31f)]=!0x1;}[_0x223248(0x229)](){const _0xd5fe0=_0x223248,_0x2d1b80=this[_0xd5fe0(0x20e)][_0xd5fe0(0x2a5)][_0xd5fe0(0x380)](()=>{const _0x30fb9a=_0xd5fe0;this[_0x30fb9a(0x31f)]=!0x0;}),_0x4b0fe2=this[_0xd5fe0(0x20e)][_0xd5fe0(0x27e)][_0xd5fe0(0x380)](()=>{const _0x1ebf50=_0xd5fe0;this[_0x1ebf50(0x3c7)]&&clearTimeout(this[_0x1ebf50(0x3c7)]),this[_0x1ebf50(0x3c7)]=setTimeout(()=>{const _0x364cc1=_0x1ebf50;this[_0x364cc1(0x31f)]=!0x1;},0x7d0);});return()=>{const _0x2b0d12=_0xd5fe0;_0x2d1b80[_0x2b0d12(0x192)](),_0x4b0fe2[_0x2b0d12(0x192)]();};}[_0x223248(0x326)](_0x9b25c0,_0x257638,_0x2e318a,_0x5859e3){const _0x58f588=_0x223248,_0x451c91=new _0x380f2c[(_0x58f588(0x38f))](_0x9b25c0)[_0x58f588(0x2bf)](0.2)[_0x58f588(0x33c)](),_0x411596=new _0x562cf5[(_0x58f588(0x319))](_0x586420+_0x380f2c['Tools'][_0x58f588(0x314)](_0x356757),{'pointsGroup':_0x257638,'fill':_0x451c91||_0x562cf5['getColor'](_0x380f2c[_0x58f588(0x2ba)][_0x58f588(0x427)],0.2),'left':_0x2e318a,'top':_0x5859e3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x58f588(0x383)]['push'](_0x411596),this['_scene'][_0x58f588(0x217)](_0x411596,_0x245556['TEXT_RANGE_LAYER_INDEX']);}[_0x223248(0x2b7)](_0x51f845,_0x42a4e3,_0xf94e0d,_0x175342){const _0x250ffb=_0x223248,_0x1a8432=new _0x380f2c[(_0x250ffb(0x38f))](_0x51f845)[_0x250ffb(0x2bf)](0.2)[_0x250ffb(0x33c)](),_0xc4fcc8=new _0x562cf5[(_0x250ffb(0x319))](_0xc5b9b3+_0x380f2c[_0x250ffb(0x31c)]['generateRandomId'](_0x356757),{'pointsGroup':_0x42a4e3,'fill':_0x1a8432||_0x562cf5['getColor'](_0x380f2c['COLORS'][_0x250ffb(0x427)],0.2),'left':_0xf94e0d,'top':_0x175342,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x250ffb(0x383)]['push'](_0xc4fcc8),this[_0x250ffb(0x201)][_0x250ffb(0x217)](_0xc4fcc8,_0x245556[_0x250ffb(0x358)]);}[_0x223248(0x235)](_0x4a0267){const _0x239526=_0x4a0267[0x0],_0x14b75c=_0x239526[0x0],_0x22f774=_0x239526[0x2],{x:_0x3e97fb,y:_0x167c2a}=_0x14b75c,{x:_0x3e8c29,y:_0x2cc6ca}=_0x22f774;return{'left':_0x3e97fb,'top':_0x167c2a,'width':_0x3e8c29-_0x3e97fb,'height':_0x2cc6ca-_0x167c2a};}[_0x223248(0x389)](){const _0x542ff4=_0x223248,{scaleX:_0x39735a,scaleY:_0x300a4e}=this['_scene'][_0x542ff4(0x40c)]();return Math['max'](_0x39735a,_0x300a4e);}}var _0x7fce1d=Object[_0x223248(0x265)],_0x7271a8=(_0x45be8c,_0x307fdc,_0x4907ca,_0x350aea)=>{const _0x30414d=_0x223248;for(var _0x1c737a=_0x350aea>0x1?void 0x0:_0x350aea?_0x7fce1d(_0x307fdc,_0x4907ca):_0x307fdc,_0xa971c2=_0x45be8c[_0x30414d(0x25a)]-0x1,_0x44da02;_0xa971c2>=0x0;_0xa971c2--)(_0x44da02=_0x45be8c[_0xa971c2])&&(_0x1c737a=_0x44da02(_0x1c737a)||_0x1c737a);return _0x1c737a;},_0xe786d8=(_0x15c7d1,_0x35baab)=>(_0x326bb4,_0x5d6b76)=>_0x35baab(_0x326bb4,_0x5d6b76,_0x15c7d1);let _0x5dbc37=class extends _0x380f2c['RxDisposable']{constructor(_0x29e81a,_0x599e29,_0x50dd93,_0x354931,_0x43b220){const _0x139503=_0x223248;super(),_0x44255b(this,_0x139503(0x1f9),[]),_0x44255b(this,_0x139503(0x395),[]),(this[_0x139503(0x3dd)]=_0x29e81a,this['_docSkeletonManagerService']=_0x599e29,this[_0x139503(0x1e0)]=_0x50dd93,this['_commandService']=_0x354931,this[_0x139503(0x381)]=_0x43b220,this[_0x139503(0x18f)]());}[_0x223248(0x18f)](){const _0x2eac35=_0x223248,_0x556354=this['_context'][_0x2eac35(0x341)],_0x56385c=this[_0x2eac35(0x3eb)];this[_0x2eac35(0x1e9)](_0x309759[_0x2eac35(0x289)]([this[_0x2eac35(0x1e0)][_0x2eac35(0x321)](_0x556354),this[_0x2eac35(0x381)][_0x2eac35(0x35d)]])[_0x2eac35(0x278)](_0x1c9dc1[_0x2eac35(0x287)](([_0x335a68,_0x38084f])=>({'skeleton':_0x56385c[_0x2eac35(0x3c6)](),'cursors':[..._0x335a68['values']()]['flatMap'](_0x5d18f4=>({..._0x5d18f4,'color':_0x38084f[_0x5d18f4[_0x2eac35(0x19a)]]}))})))[_0x2eac35(0x1d9)](_0x380173=>{const _0x1e5ec3=_0x2eac35;if(this[_0x1e5ec3(0x3f7)](),_0x380173){const {skeleton:_0x31f8a9,cursors:_0xd26e28}=_0x380173;this[_0x1e5ec3(0x1f3)](_0x31f8a9,_0xd26e28);}})),this[_0x2eac35(0x316)](),this[_0x2eac35(0x2e7)]();}[_0x223248(0x1f3)](_0x48ddf9,_0x19d406){const _0x5eee32=_0x223248,{scene:_0x30a1a2,mainComponent:_0x3c4e05}=this['_context'],_0x5a0d7f=_0x19d406[_0x5eee32(0x287)](_0x4da067=>new _0x3b12b2(_0x4da067,_0x30a1a2,_0x48ddf9,_0x3c4e05));this[_0x5eee32(0x1f9)]=_0x5a0d7f,this[_0x5eee32(0x395)]=_0x19d406;}[_0x223248(0x415)](){const _0x272a68=_0x223248;this[_0x272a68(0x3f7)]();const {scene:_0x8b332e,mainComponent:_0x5a8ef9}=this[_0x272a68(0x3dd)],_0x35ee57=this[_0x272a68(0x3eb)][_0x272a68(0x3c6)](),_0x4eaf0a=this[_0x272a68(0x395)][_0x272a68(0x287)](_0x211ad8=>new _0x3b12b2(_0x211ad8,_0x8b332e,_0x35ee57,_0x5a8ef9));this[_0x272a68(0x1f9)]=_0x4eaf0a;}[_0x223248(0x3f7)](){const _0xf49c09=_0x223248;this[_0xf49c09(0x1f9)][_0xf49c09(0x258)](_0x413ee0=>_0x413ee0[_0xf49c09(0x1d8)]()),this[_0xf49c09(0x1f9)]=[];}[_0x223248(0x2e7)](){const _0x5d3388=_0x223248,_0x3c6013=[_0x245556[_0x5d3388(0x37c)]['id']];this[_0x5d3388(0x1e9)](this[_0x5d3388(0x1f1)][_0x5d3388(0x37d)](_0x267fae=>{const _0x397247=_0x5d3388;_0x3c6013[_0x397247(0x297)](_0x267fae['id'])&&_0x267fae['params'][_0x397247(0x341)]===this[_0x397247(0x3dd)][_0x397247(0x341)]&&this[_0x397247(0x415)]();}));}[_0x223248(0x316)](){const _0x298c6f=_0x223248;this[_0x298c6f(0x1e9)](_0x380f2c[_0x298c6f(0x339)](this[_0x298c6f(0x3dd)]['engine']['onTransformChange$'])[_0x298c6f(0x278)](_0x1c9dc1[_0x298c6f(0x3a0)](_0x149ea5=>_0x149ea5['type']===_0x562cf5['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1c9dc1[_0x298c6f(0x296)](0x10))[_0x298c6f(0x1d9)](()=>{this['_refreshCollabCursors']();}));}};_0x5dbc37=_0x7271a8([_0xe786d8(0x1,_0x380f2c[_0x223248(0x352)](_0x1bf15b[_0x223248(0x2c4)])),_0xe786d8(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0xe786d8(0x3,_0x380f2c['ICommandService']),_0xe786d8(0x4,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x5dbc37);const _0x117d2d=0x1,_0x30ea48=1.5;class _0x337b75 extends _0x562cf5[_0x223248(0x320)]{constructor(_0x570444,_0x3dbf1f){const _0x37e108=_0x223248;super(_0x570444,_0x3dbf1f),_0x44255b(this,_0x37e108(0x233)),_0x44255b(this,'_hovered',!0x1),_0x44255b(this,_0x37e108(0x410)),_0x44255b(this,_0x37e108(0x239),''),_0x44255b(this,_0x37e108(0x2ec),_0x37e108(0x2ee)),_0x44255b(this,_0x37e108(0x18e)),(_0x3dbf1f&&this['setShapeProps'](_0x3dbf1f),this[_0x37e108(0x2a5)][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x0})),this['onPointerLeave$'][_0x37e108(0x380)](()=>this[_0x37e108(0x209)]({'hovered':!0x1})));}[_0x223248(0x209)](_0x2fcecb){const _0x12de55=_0x223248;var _0x3df6f6,_0x50533a,_0x3886db,_0x1f62dc,_0x53f8ce,_0x5d6c94;this[_0x12de55(0x233)]=(_0x3df6f6=_0x2fcecb[_0x12de55(0x19a)])!=null?_0x3df6f6:this[_0x12de55(0x233)],this[_0x12de55(0x2c1)]=(_0x50533a=_0x2fcecb['hovered'])!=null?_0x50533a:this[_0x12de55(0x2c1)],this[_0x12de55(0x410)]=(_0x3886db=_0x2fcecb['range'])!=null?_0x3886db:this[_0x12de55(0x410)],this[_0x12de55(0x239)]=(_0x1f62dc=_0x2fcecb['name'])!=null?_0x1f62dc:this[_0x12de55(0x239)],this[_0x12de55(0x2ec)]=(_0x53f8ce=_0x2fcecb[_0x12de55(0x2a4)])!=null?_0x53f8ce:this[_0x12de55(0x2ec)],this[_0x12de55(0x18e)]=(_0x5d6c94=_0x2fcecb['backgroundColor'])!=null?_0x5d6c94:this[_0x12de55(0x18e)],this[_0x12de55(0x1d0)]({'width':_0x2fcecb[_0x12de55(0x2bc)],'height':_0x2fcecb['height']});}[_0x223248(0x24c)](_0x2d5681){const _0x1b85ac=_0x223248,{row:_0x51c852,column:_0xa0ec07}=_0x2d5681;if(_0x51c852>=this[_0x1b85ac(0x410)][_0x1b85ac(0x3e4)]&&_0x51c852<=this[_0x1b85ac(0x410)][_0x1b85ac(0x3c4)]&&_0xa0ec07>=this['_range'][_0x1b85ac(0x3c2)]&&_0xa0ec07<=this[_0x1b85ac(0x410)][_0x1b85ac(0x36d)]){this[_0x1b85ac(0x209)]({'hovered':!0x0});return;}this[_0x1b85ac(0x209)]({'hovered':!0x1});}['triggerDblclick'](_0xea0fb3){return!0x1;}[_0x223248(0x31d)](_0xb6c615){const _0x391461=_0x223248;_0x562cf5[_0x391461(0x25c)][_0x391461(0x1b3)](_0xb6c615,{'width':this[_0x391461(0x2bc)],'height':this[_0x391461(0x337)],'strokeWidth':_0x30ea48,'stroke':this[_0x391461(0x233)],'evented':!0x1,'fill':this[_0x391461(0x18e)]}),this['_hovered']&&(_0xb6c615['save'](),_0xb6c615[_0x391461(0x1b0)](0x1,0x0,0x0,0x1,this[_0x391461(0x2bc)],this[_0x391461(0x2ec)]===_0x391461(0x1a0)?0x0:-0x14),_0x5738fc[_0x391461(0x1b3)](_0xb6c615,{'text':this[_0x391461(0x239)],'color':this[_0x391461(0x233)]}),_0xb6c615['restore']());}}var _0x58ab8b=Object[_0x223248(0x265)],_0x2a5fdb=(_0x2c48b6,_0x47b75c,_0x238099,_0x5eb0db)=>{for(var _0x59386e=_0x5eb0db>0x1?void 0x0:_0x5eb0db?_0x58ab8b(_0x47b75c,_0x238099):_0x47b75c,_0x4358ca=_0x2c48b6['length']-0x1,_0x1922ec;_0x4358ca>=0x0;_0x4358ca--)(_0x1922ec=_0x2c48b6[_0x4358ca])&&(_0x59386e=_0x1922ec(_0x59386e)||_0x59386e);return _0x59386e;},_0x18b007=(_0x425521,_0x41f112)=>(_0x4fb5b1,_0x329e46)=>_0x41f112(_0x4fb5b1,_0x329e46,_0x425521);const _0xbdb9c2=0x1389;let _0x15d7ee=class extends _0x380f2c['RxDisposable']{constructor(_0x13fb01,_0x51f91f,_0x32cc61,_0xe1835){const _0x1a594f=_0x223248;super(),_0x44255b(this,'_cursors',new Set()),_0x44255b(this,_0x1a594f(0x402),null),(this[_0x1a594f(0x3dd)]=_0x13fb01,this['_sheetSkeletonManagerService']=_0x51f91f,this[_0x1a594f(0x1e0)]=_0x32cc61,this[_0x1a594f(0x381)]=_0xe1835,this[_0x1a594f(0x18f)]());}['_init'](){const _0x16c1e2=_0x223248;this['_sheetSkeletonManagerService'][_0x16c1e2(0x356)][_0x16c1e2(0x278)](_0x1c9dc1[_0x16c1e2(0x40b)](this[_0x16c1e2(0x41a)]),_0x1c9dc1[_0x16c1e2(0x21a)](_0x115796=>{const _0x285c9a=_0x16c1e2;if(_0x115796){const _0x2d9e81=_0x115796[_0x285c9a(0x374)];return _0x309759[_0x285c9a(0x289)](this[_0x285c9a(0x1e0)][_0x285c9a(0x321)](this[_0x285c9a(0x3dd)][_0x285c9a(0x341)]),this[_0x285c9a(0x381)]['currentTheme$'])[_0x285c9a(0x278)](_0x1c9dc1[_0x285c9a(0x287)](([_0x124f96,_0x50271f])=>{const _0x2d234a=_0x285c9a,_0x26593c=new Map();return _0x124f96[_0x2d234a(0x258)]((_0xc0861f,_0x374e80)=>{const _0x7363=_0x2d234a;if(_0xc0861f[_0x7363(0x286)]===_0x2d9e81){const _0x4dde91={..._0xc0861f};_0x4dde91[_0x7363(0x19a)]=_0x50271f[_0xc0861f[_0x7363(0x19a)]],_0x26593c[_0x7363(0x269)](_0x374e80,_0x4dde91);}}),{'skeleton':_0x115796,'cursors':_0x26593c};}));}return _0x309759['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1ad597,cursors:_0x4a526d})=>{const _0x51935c=_0x16c1e2;this['_removeCollabCursors'](),_0x1ad597&&this[_0x51935c(0x1f3)](_0x1ad597,_0x4a526d);}),this[_0x16c1e2(0x3a6)]['currentSkeleton$'][_0x16c1e2(0x1d9)](_0x2cb8e2=>{const _0xd75fd=_0x16c1e2;if(_0x2cb8e2==null)return;const {skeleton:_0x2221d0}=_0x2cb8e2,{scene:_0x967e5f}=this['_context'];_0x967e5f[_0xd75fd(0x3d8)][_0xd75fd(0x380)](_0x380f2c['debounce'](_0x4919c6=>{const _0x2afeaa=_0xd75fd;var _0x163235,_0x1880b3;const {offsetX:_0x2f67d1,offsetY:_0x491207}=_0x4919c6,{x:_0x3f91d8,y:_0x3400b8}=_0x967e5f[_0x2afeaa(0x2cd)](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x2f67d1,_0x491207])),{scaleX:_0x4b7c97,scaleY:_0x904861}=_0x967e5f[_0x2afeaa(0x40c)](),_0x44aba2=_0x967e5f[_0x2afeaa(0x1fc)](_0x562cf5[_0x2afeaa(0x1c6)][_0x2afeaa(0x2e9)]),_0xb36fb7=_0x967e5f['getVpScrollXYInfoByPosToVp'](_0x562cf5[_0x2afeaa(0x35b)][_0x2afeaa(0x2d7)]([_0x3f91d8,_0x3400b8]),_0x44aba2),_0x26dd48=_0x2221d0[_0x2afeaa(0x284)](_0x2f67d1,_0x491207,_0x4b7c97,_0x904861,_0xb36fb7);((_0x163235=this[_0x2afeaa(0x402)])==null?void 0x0:_0x163235[_0x2afeaa(0x214)])===_0x26dd48['column']&&((_0x1880b3=this[_0x2afeaa(0x402)])==null?void 0x0:_0x1880b3[_0x2afeaa(0x3e0)])===_0x26dd48[_0x2afeaa(0x3e0)]||this[_0x2afeaa(0x395)][_0x2afeaa(0x258)](_0x44b1da=>{const _0x2122f7=_0x2afeaa;_0x44b1da[_0x2122f7(0x24c)](_0x26dd48);});},0x64));});}[_0x223248(0x1f3)](_0x3ae999,_0xc86bf2){const _0xcc79de=_0x223248;var _0x54a566;const _0xfb5445=(_0x54a566=this[_0xcc79de(0x3a6)][_0xcc79de(0x342)]())==null?void 0x0:_0x54a566[_0xcc79de(0x21c)];if(!_0xfb5445)return;const _0x4bd58b=this[_0xcc79de(0x40f)]();if(!_0x4bd58b)return;this[_0xcc79de(0x395)][_0xcc79de(0x258)](_0x14a6c2=>{const _0x192ae9=_0xcc79de;_0x14a6c2[_0x192ae9(0x2c3)]();});const {scene:_0x2910de}=_0x4bd58b,_0x158cf8=_0x426ff1(Array[_0xcc79de(0x2de)](_0xc86bf2[_0xcc79de(0x215)]()))[_0xcc79de(0x287)](_0x3500b8=>{const _0x1de1b6=_0xcc79de,{color:_0x5ae35b,range:_0x4c6cf0,name:_0x2f98a9,selection:_0x4b006e,sheetID:_0x1a7292}=_0x3500b8,{startColumn:_0x2b8c11,startRow:_0xc76de1,endColumn:_0x1f4ed4,endRow:_0x4be8ff}=_0x4c6cf0,_0xdbece8=_0x1f7bce[_0x1de1b6(0x1e3)](_0xc76de1,_0x2b8c11,_0x2910de,_0xfb5445),_0x3d4ecb=_0x1f7bce[_0x1de1b6(0x1e3)](_0x4be8ff,_0x1f4ed4,_0x2910de,_0xfb5445),{columnHeaderHeightAndMarginTop:_0x2b7f87}=_0xfb5445,{startX:_0x38f9de,startY:_0x15554e}=_0xdbece8,{endX:_0x57b007,endY:_0x2c4762}=_0x3d4ecb,_0x38f0fe=_0x57b007-_0x38f9de,_0x184a66=_0x2c4762-_0x15554e,_0x40d80a={'labelPosition':_0x15554e-_0x2b7f87>=_0x120bab?_0x1de1b6(0x2ee):_0x1de1b6(0x1a0),'sheetID':_0x1a7292,'range':_0x4c6cf0,'color':_0x5ae35b,'name':_0x2f98a9,'selection':_0x4b006e,'left':_0x38f9de,'top':_0x15554e,'width':_0x38f0fe,'height':_0x184a66,'evented':!0x1,'zIndex':_0xbdb9c2};return new _0x337b75(_0x2f98a9,_0x40d80a);});_0x2910de[_0xcc79de(0x1aa)](_0x158cf8,_0x117d2d),this['_cursors']=new Set(_0x158cf8);}['_removeCollabCursors'](){const _0x1fe30e=_0x223248;var _0xf5fc56;(_0xf5fc56=this['_cursors'])==null||_0xf5fc56['forEach'](_0x747be6=>_0x747be6[_0x1fe30e(0x1d8)]());}[_0x223248(0x40f)](){const _0x2235ff=_0x223248;return _0x1f7bce[_0x2235ff(0x3db)](this[_0x2235ff(0x3dd)][_0x2235ff(0x3f3)],this[_0x2235ff(0x3dd)]);}};_0x15d7ee=_0x2a5fdb([_0x18b007(0x1,_0x380f2c[_0x223248(0x352)](_0x1f7bce[_0x223248(0x343)])),_0x18b007(0x2,_0x380f2c[_0x223248(0x352)](_0x4f3310)),_0x18b007(0x3,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x426)]))],_0x15d7ee);function _0x426ff1(_0x44c859){const _0x47da44=_0x223248,_0x498079=new Map();return _0x44c859[_0x47da44(0x258)](_0x2c5fde=>{const _0x31f40c=_0x47da44;if(_0x498079['has'](_0x2c5fde[_0x31f40c(0x400)])){const _0x476f36=_0x498079['get'](_0x2c5fde[_0x31f40c(0x400)]);_0x476f36['name']+=',\x20'+_0x2c5fde[_0x31f40c(0x2b5)];}else _0x498079[_0x31f40c(0x269)](_0x2c5fde[_0x31f40c(0x400)],_0x2c5fde);}),Array[_0x47da44(0x2de)](_0x498079['values']());}var _0x4e7b9b=function(){const _0x268c69=_0x223248;return _0x4e7b9b=Object[_0x268c69(0x245)]||function(_0x470bcd){const _0x202b47=_0x268c69;for(var _0x428e19,_0x4210ef=0x1,_0x24397d=arguments[_0x202b47(0x25a)];_0x4210ef<_0x24397d;_0x4210ef++){_0x428e19=arguments[_0x4210ef];for(var _0x956626 in _0x428e19)Object[_0x202b47(0x40d)][_0x202b47(0x2fa)][_0x202b47(0x2a8)](_0x428e19,_0x956626)&&(_0x470bcd[_0x956626]=_0x428e19[_0x956626]);}return _0x470bcd;},_0x4e7b9b[_0x268c69(0x35c)](this,arguments);},_0x1b2e40=function(_0x28670d,_0x14131c){const _0x139546=_0x223248;var _0x11194b={};for(var _0x3e8809 in _0x28670d)Object['prototype'][_0x139546(0x2fa)]['call'](_0x28670d,_0x3e8809)&&_0x14131c['indexOf'](_0x3e8809)<0x0&&(_0x11194b[_0x3e8809]=_0x28670d[_0x3e8809]);if(_0x28670d!=null&&typeof Object[_0x139546(0x3de)]==_0x139546(0x1ca)){for(var _0xc209b5=0x0,_0x3e8809=Object[_0x139546(0x3de)](_0x28670d);_0xc209b5<_0x3e8809[_0x139546(0x25a)];_0xc209b5++)_0x14131c[_0x139546(0x3a4)](_0x3e8809[_0xc209b5])<0x0&&Object[_0x139546(0x40d)]['propertyIsEnumerable'][_0x139546(0x2a8)](_0x28670d,_0x3e8809[_0xc209b5])&&(_0x11194b[_0x3e8809[_0xc209b5]]=_0x28670d[_0x3e8809[_0xc209b5]]);}return _0x11194b;},_0x2966a1=_0x4a2e64['forwardRef'](function(_0x45d314,_0x3575e1){const _0x1ef882=_0x223248;var _0x1248a5=_0x45d314['icon'],_0x311e69=_0x45d314['id'],_0x117104=_0x45d314['className'],_0x12e246=_0x45d314[_0x1ef882(0x363)],_0xec009d=_0x1b2e40(_0x45d314,[_0x1ef882(0x3d2),'id','className',_0x1ef882(0x363)]),_0x14792a=_0x1ef882(0x221)['concat'](_0x311e69,'\x20')[_0x1ef882(0x1cb)](_0x117104||'')['trim'](),_0x54832a=_0x4a2e64[_0x1ef882(0x3f4)]('_'['concat'](_0x306b9d()));return _0x4dc9b5(_0x1248a5,''[_0x1ef882(0x1cb)](_0x311e69),{'defIds':_0x1248a5[_0x1ef882(0x2ab)],'idSuffix':_0x54832a[_0x1ef882(0x212)]},_0x4e7b9b({'ref':_0x3575e1,'className':_0x14792a},_0xec009d),_0x12e246);});function _0x4dc9b5(_0x554443,_0x182222,_0x2ecccd,_0x4f540f,_0x11799a){const _0x191b61=_0x223248;return _0x4a2e64['createElement'](_0x554443[_0x191b61(0x1b7)],_0x4e7b9b(_0x4e7b9b({'key':_0x182222},_0xfed504(_0x554443,_0x2ecccd,_0x11799a)),_0x4f540f),(_0x5c4118(_0x554443,_0x2ecccd)[_0x191b61(0x396)]||[])[_0x191b61(0x287)](function(_0x2abdf6,_0x116efb){const _0x2cb337=_0x191b61;return _0x4dc9b5(_0x2abdf6,''[_0x2cb337(0x1cb)](_0x182222,'-')[_0x2cb337(0x1cb)](_0x554443[_0x2cb337(0x1b7)],'-')[_0x2cb337(0x1cb)](_0x116efb),_0x2ecccd,void 0x0,_0x11799a);}));}function _0xfed504(_0x50986a,_0x3434a5,_0x23f7f6){const _0x4eaf0d=_0x223248;var _0x256e36=_0x4e7b9b({},_0x50986a[_0x4eaf0d(0x246)]);_0x23f7f6!=null&&_0x23f7f6['colorChannel1']&&_0x256e36['fill']==='colorChannel1'&&(_0x256e36[_0x4eaf0d(0x2ca)]=_0x23f7f6[_0x4eaf0d(0x200)]),_0x50986a[_0x4eaf0d(0x1b7)]==='mask'&&_0x256e36['id']&&(_0x256e36['id']=_0x256e36['id']+_0x3434a5['idSuffix']),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x253742){const _0x4a481e=_0x4eaf0d;var _0x4700e8=_0x253742[0x0],_0x396a15=_0x253742[0x1];_0x4700e8==='mask'&&typeof _0x396a15==_0x4a481e(0x3f2)&&(_0x256e36[_0x4700e8]=_0x396a15['replace'](/url\(#(.*)\)/,_0x4a481e(0x1bd)[_0x4a481e(0x1cb)](_0x3434a5[_0x4a481e(0x1f7)],')')));});var _0x3b46c8=_0x3434a5[_0x4eaf0d(0x2ab)];return!_0x3b46c8||_0x3b46c8['length']===0x0||(_0x50986a['tag']===_0x4eaf0d(0x3f9)&&_0x256e36[_0x4eaf0d(0x26b)]&&(_0x256e36['xlink:href']=_0x256e36['xlink:href']+_0x3434a5[_0x4eaf0d(0x1f7)]),Object[_0x4eaf0d(0x1ed)](_0x256e36)['forEach'](function(_0x4690c0){const _0xca1a6=_0x4eaf0d;var _0x190cc7=_0x4690c0[0x0],_0x2a51f2=_0x4690c0[0x1];typeof _0x2a51f2==_0xca1a6(0x3f2)&&(_0x256e36[_0x190cc7]=_0x2a51f2['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3434a5[_0xca1a6(0x1f7)],')')));})),_0x256e36;}function _0x5c4118(_0x3a6d6b,_0x2f90f3){const _0x53254d=_0x223248;var _0x3bba4e,_0x337405=_0x2f90f3[_0x53254d(0x2ab)];return!_0x337405||_0x337405[_0x53254d(0x25a)]===0x0?_0x3a6d6b:_0x3a6d6b[_0x53254d(0x1b7)]==='defs'&&(!((_0x3bba4e=_0x3a6d6b[_0x53254d(0x396)])===null||_0x3bba4e===void 0x0)&&_0x3bba4e[_0x53254d(0x25a)])?_0x4e7b9b(_0x4e7b9b({},_0x3a6d6b),{'children':_0x3a6d6b['children'][_0x53254d(0x287)](function(_0x555c8a){const _0x38bd1e=_0x53254d;return typeof _0x555c8a['attrs']['id']=='string'&&_0x337405&&_0x337405[_0x38bd1e(0x3a4)](_0x555c8a[_0x38bd1e(0x246)]['id'])>-0x1?_0x4e7b9b(_0x4e7b9b({},_0x555c8a),{'attrs':_0x4e7b9b(_0x4e7b9b({},_0x555c8a[_0x38bd1e(0x246)]),{'id':_0x555c8a['attrs']['id']+_0x2f90f3['idSuffix']})}):_0x555c8a;})}):_0x3a6d6b;}function _0x306b9d(){const _0x3cd4e8=_0x223248;return Math[_0x3cd4e8(0x1ef)]()['toString'](0x24)['substring'](0x2,0x8);}_0x2966a1['displayName']=_0x223248(0x224);var _0x1f761d={'tag':'svg','attrs':{'fill':_0x223248(0x292),'viewBox':_0x223248(0x2a2),'width':_0x223248(0x248),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x394)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':_0x223248(0x19c),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x223248(0x369)]},_0x444a0a=_0x4a2e64['forwardRef'](function(_0x52406b,_0x4f231c){const _0x56a3a8=_0x223248;return _0x4a2e64[_0x56a3a8(0x1cd)](_0x2966a1,Object[_0x56a3a8(0x245)]({},_0x52406b,{'id':'off-line-single','ref':_0x4f231c,'icon':_0x1f761d}));});_0x444a0a[_0x223248(0x1e4)]='OffLineSingle';var _0x231d50={'tag':_0x223248(0x227),'attrs':{'fill':'none','viewBox':_0x223248(0x1da),'width':_0x223248(0x248),'height':_0x223248(0x248)},'children':[{'tag':'g','attrs':{'clipPath':_0x223248(0x2e4)},'children':[{'tag':_0x223248(0x1fa),'attrs':{'stroke':_0x223248(0x1a8),'d':_0x223248(0x25f),'strokeLinecap':_0x223248(0x193),'strokeLinejoin':_0x223248(0x193),'strokeWidth':1.2}}]},{'tag':_0x223248(0x2c8),'attrs':{},'children':[{'tag':_0x223248(0x2bb),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x223248(0x1fa),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x223248(0x3c1)}}]}]}],'defIds':[_0x223248(0x2d2)]},_0x444e24=_0x4a2e64[_0x223248(0x27c)](function(_0x36a7e1,_0x1798fd){const _0x2d30ef=_0x223248;return _0x4a2e64['createElement'](_0x2966a1,Object[_0x2d30ef(0x245)]({},_0x36a7e1,{'id':_0x2d30ef(0x324),'ref':_0x1798fd,'icon':_0x231d50}));});_0x444e24['displayName']=_0x223248(0x225);function _0x218869(_0x25e04a){const _0xc6292=_0x223248;switch(_0x25e04a){case _0x25172a['CollaborationStatus']['OFFLINE']:return _0xc6292(0x28d);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x262)]:return _0xc6292(0x35f);case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x421)]:return _0xc6292(0x1e8);case _0x25172a['CollaborationStatus'][_0xc6292(0x1cc)]:return _0xc6292(0x1ba);case _0x25172a['CollaborationStatus'][_0xc6292(0x301)]:case _0x25172a[_0xc6292(0x1de)][_0xc6292(0x3e3)]:return _0xc6292(0x249);case _0x25172a[_0xc6292(0x1de)]['SYNCED']:case _0x25172a['CollaborationStatus'][_0xc6292(0x3ee)]:return _0xc6292(0x2bd);}}function _0xd9adf4(_0x49400e){const _0x1539be=_0x223248,{status$:_0x294456}=_0x49400e,_0x221217=_0x26ee6d['useObservable'](_0x294456,_0x25172a[_0x1539be(0x1de)][_0x1539be(0x1cc)]),_0x1f4213=_0x26ee6d[_0x1539be(0x29f)](_0x380f2c[_0x1539be(0x1fd)]),_0x2c51e2=_0x26ee6d[_0x1539be(0x29f)](_0x25172a[_0x1539be(0x406)]),_0x2c4444=_0x221217!==_0x25172a['CollaborationStatus'][_0x1539be(0x387)],_0x68b17d=_0x1f4213['t'](_0x218869(_0x221217)),_0xbe29e8=_0x2c4444?_0x5bcf77[_0x1539be(0x32a)](_0x444e24,{}):_0x5bcf77[_0x1539be(0x32a)](_0x444a0a,{}),_0x5ae8e0=_0x4a2e64[_0x1539be(0x31e)](()=>{const _0x228553=_0x1539be;_0x2c4444||_0x2c51e2[_0x228553(0x2c2)]();},[_0x2c4444,_0x2c51e2]);function _0x8273d1(){const _0xe9d892=_0x1539be;return _0x5bcf77[_0xe9d892(0x3e5)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x5ae8e0,'children':[_0x5bcf77[_0xe9d892(0x32a)](_0xe9d892(0x222),{'className':_0x4cdd5d['clsx'](_0xe9d892(0x34c),_0x2c4444?_0xe9d892(0x2cf):_0xe9d892(0x19b)),'children':_0xbe29e8}),_0x5bcf77[_0xe9d892(0x32a)]('div',{'className':_0xe9d892(0x38b),'children':_0x68b17d})]});}return _0x2c4444?_0x8273d1():_0x5bcf77[_0x1539be(0x32a)](_0x4cdd5d['Tooltip'],{'title':_0x1f4213['t']('collab-client.tooltip.reconnect'),'children':_0x8273d1()});}var _0x3b817e=Object[_0x223248(0x265)],_0x44b863=(_0x5ebe07,_0x4f4a49,_0x3c5423,_0x34ecde)=>{const _0x3dcaa9=_0x223248;for(var _0x5df9d1=_0x34ecde>0x1?void 0x0:_0x34ecde?_0x3b817e(_0x4f4a49,_0x3c5423):_0x4f4a49,_0x5847bf=_0x5ebe07[_0x3dcaa9(0x25a)]-0x1,_0x5a4304;_0x5847bf>=0x0;_0x5847bf--)(_0x5a4304=_0x5ebe07[_0x5847bf])&&(_0x5df9d1=_0x5a4304(_0x5df9d1)||_0x5df9d1);return _0x5df9d1;},_0x1db15a=(_0x1f8c40,_0x45686f)=>(_0x302058,_0x2143e7)=>_0x45686f(_0x302058,_0x2143e7,_0x1f8c40);_0x4394f4[_0x223248(0x32e)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x446e6a,_0x180e1b,_0x47ec23,_0x167bbf){const _0x3d931c=_0x223248;super(),_0x44255b(this,'_status$',new _0x309759['BehaviorSubject'](_0x25172a[_0x3d931c(0x1de)][_0x3d931c(0x1cc)])),(this[_0x3d931c(0x33f)]=_0x446e6a,this[_0x3d931c(0x1d3)]=_0x180e1b,this[_0x3d931c(0x1b4)]=_0x47ec23,this['_uiPartsService']=_0x167bbf,this[_0x3d931c(0x226)](),this[_0x3d931c(0x2f2)]());}[_0x223248(0x2f2)](){const _0x13da62=_0x223248;this[_0x13da62(0x1e9)](this[_0x13da62(0x33f)][_0x13da62(0x244)][_0x13da62(0x278)](_0x309759['switchMap'](()=>{const _0x5cc1cc=_0x13da62,_0x6a7802=this[_0x5cc1cc(0x33f)][_0x5cc1cc(0x2f1)]();return _0x6a7802?this[_0x5cc1cc(0x1b4)]['getCollabEntity$'](_0x6a7802[_0x5cc1cc(0x302)]()):_0x309759['of'](null);}),_0x309759[_0x13da62(0x21a)](_0x43e3a1=>_0x43e3a1?_0x43e3a1[_0x13da62(0x338)]:_0x309759['of'](_0x25172a[_0x13da62(0x1de)][_0x13da62(0x1cc)])))[_0x13da62(0x1d9)](_0x5cb8ac=>{const _0x32a4d2=_0x13da62;this['_status$'][_0x32a4d2(0x428)](_0x5cb8ac);}));}['_initStatusComponent'](){const _0x1e4813=_0x223248;this[_0x1e4813(0x1e9)](this[_0x1e4813(0x3c0)][_0x1e4813(0x204)](_0x26ee6d[_0x1e4813(0x26e)][_0x1e4813(0x2d0)],()=>_0x26ee6d[_0x1e4813(0x198)](_0x644704({'status$':this[_0x1e4813(0x32b)]['asObservable']()}),this[_0x1e4813(0x1d3)])));}},_0x4394f4[_0x223248(0x32e)]=_0x44b863([_0x1db15a(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x1db15a(0x1,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x1db15a(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x1db15a(0x3,_0x26ee6d[_0x223248(0x345)])],_0x4394f4[_0x223248(0x32e)]);function _0x644704(_0x2b358f){const {status$:_0x2605b8}=_0x2b358f;return function(){const _0x41d916=_0x316b;return _0x5bcf77[_0x41d916(0x32a)](_0xd9adf4,{'status$':_0x2605b8});};}var _0x48246f=Object[_0x223248(0x265)],_0x53de4f=(_0x220709,_0x4d3cc8,_0x44c15a,_0x341814)=>{const _0x5baab3=_0x223248;for(var _0x33a9c3=_0x341814>0x1?void 0x0:_0x341814?_0x48246f(_0x4d3cc8,_0x44c15a):_0x4d3cc8,_0x2742f7=_0x220709[_0x5baab3(0x25a)]-0x1,_0x30f584;_0x2742f7>=0x0;_0x2742f7--)(_0x30f584=_0x220709[_0x2742f7])&&(_0x33a9c3=_0x30f584(_0x33a9c3)||_0x33a9c3);return _0x33a9c3;},_0x293df1=(_0x2b8a01,_0x2dc577)=>(_0x502d16,_0x101208)=>_0x2dc577(_0x502d16,_0x101208,_0x2b8a01);let _0x1cac79=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x57bb7f,_0x3be8f4,_0x4279c2,_0x3cee2d,_0x3e5ac7,_0x405720){const _0xbcea1=_0x223248;super(),this[_0xbcea1(0x370)]=_0x57bb7f,this[_0xbcea1(0x403)]=_0x3be8f4,this[_0xbcea1(0x19d)]=_0x4279c2,this[_0xbcea1(0x318)]=_0x3cee2d,this[_0xbcea1(0x228)]=_0x3e5ac7,this['_localeService']=_0x405720,this[_0xbcea1(0x264)](),this[_0xbcea1(0x196)]();}[_0x223248(0x264)](){const _0x2a184d=_0x223248;this[_0x2a184d(0x1e9)](this[_0x2a184d(0x370)][_0x2a184d(0x3fd)](()=>{const _0x239a3d=_0x2a184d;if(this['_localCacheService'][_0x239a3d(0x364)][_0x239a3d(0x2c5)])return this['_localeService']['t'](_0x239a3d(0x2ed));}));}[_0x223248(0x196)](){const _0x538ae0=_0x223248;this[_0x538ae0(0x1e9)](this['_collaborationUIEventService'][_0x538ae0(0x294)][_0x538ae0(0x1d9)](_0xfa7478=>{const _0x33c542=_0x538ae0;_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['OTHER_CLIENT_EDITING']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType']['Warning'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x2f0))}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x2e8)]&&this['_messageService'][_0x33c542(0x3a7)]({'type':_0x4cdd5d['MessageType'][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x38e)]&&this['_notificationService'][_0x33c542(0x3a7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x3ef)),'type':'error','duration':0x0}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)]['CONFLICT']&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)]['Error'],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x241))+'('+_0xfa7478['data']+')'}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x377)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0xfa7478[_0x33c542(0x2a1)]||'')}),_0xfa7478['id']===_0x25172a['CollaborationUIEventId'][_0x33c542(0x3b8)]&&this['_messageService']['show']({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x3c5)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x270))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x2fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this[_0x33c542(0x29b)]['t'](_0x33c542(0x1ad))}),_0xfa7478['id']===_0x25172a[_0x33c542(0x36b)][_0x33c542(0x1fb)]&&this[_0x33c542(0x318)][_0x33c542(0x3a7)]({'type':_0x4cdd5d[_0x33c542(0x283)][_0x33c542(0x1b9)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cac79=_0x53de4f([_0x293df1(0x0,_0x26ee6d[_0x223248(0x390)]),_0x293df1(0x1,_0x25172a[_0x223248(0x20b)]),_0x293df1(0x2,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x376)])),_0x293df1(0x3,_0x26ee6d[_0x223248(0x300)]),_0x293df1(0x4,_0x26ee6d[_0x223248(0x424)]),_0x293df1(0x5,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x1cac79);const _0x1840e5=_0x223248(0x266),_0xda5603={},_0x51b8d1=_0x380f2c[_0x223248(0x306)]('uni.network.url-service');var _0x2da082=Object[_0x223248(0x265)],_0x46908c=(_0x2ec75e,_0x5f3012,_0x3c5843,_0x35e957)=>{const _0x227029=_0x223248;for(var _0x4ac198=_0x35e957>0x1?void 0x0:_0x35e957?_0x2da082(_0x5f3012,_0x3c5843):_0x5f3012,_0x1354a9=_0x2ec75e[_0x227029(0x25a)]-0x1,_0x3873d8;_0x1354a9>=0x0;_0x1354a9--)(_0x3873d8=_0x2ec75e[_0x1354a9])&&(_0x4ac198=_0x3873d8(_0x4ac198)||_0x4ac198);return _0x4ac198;},_0x4ca138=(_0x14e7fd,_0x1f69d5)=>(_0x1393b5,_0x453830)=>_0x1f69d5(_0x1393b5,_0x453830,_0x14e7fd);_0x4394f4[_0x223248(0x31a)]=class extends _0x380f2c[_0x223248(0x1a7)]{constructor(_0x143a86,_0x21387f,_0x416123,_0x48f529,_0x9c8f6){const _0x1edea6=_0x223248;super(),this[_0x1edea6(0x223)]=_0x143a86,this[_0x1edea6(0x25d)]=_0x21387f,this['_commandService']=_0x416123,this[_0x1edea6(0x236)]=_0x48f529,_0x9c8f6?_0x9c8f6==null||_0x9c8f6[_0x1edea6(0x254)]()[_0x1edea6(0x3f6)](()=>this[_0x1edea6(0x18f)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x1edea6(0x348)),this[_0x1edea6(0x18f)]());}async[_0x223248(0x18f)](){const _0x2762cb=_0x223248,_0x1875ac=this['_urlService'][_0x2762cb(0x313)]('unit'),_0x1e8785=this[_0x2762cb(0x223)][_0x2762cb(0x313)](_0x2762cb(0x33a)),_0x52d860=this['_urlService'][_0x2762cb(0x313)](_0x2762cb(0x317));if(!_0x1875ac||!_0x1e8785){this[_0x2762cb(0x25d)][_0x2762cb(0x3f0)](_0x2762cb(0x3bd),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x47f142=await this['_dataLoaderService'][_0x2762cb(0x3e9)](_0x1875ac,Number(_0x1e8785),_0x52d860);_0x47f142&&_0x47f142 instanceof _0x380f2c[_0x2762cb(0x417)]&&this[_0x2762cb(0x308)](_0x47f142);}async[_0x223248(0x308)](_0xb9cbb5){const _0x54a769=_0x223248;await this[_0x54a769(0x24f)](_0xb9cbb5),_0xb9cbb5[_0x54a769(0x298)]['pipe'](_0x309759['takeUntil'](this['dispose$']))[_0x54a769(0x1d9)](_0x2c50df=>{const _0xbe68cc=_0x54a769;_0x2c50df&&this[_0xbe68cc(0x250)](_0x2c50df);}),this['_urlService'][_0x54a769(0x385)][_0x54a769(0x278)](_0x309759[_0x54a769(0x40b)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xb9cbb5));}[_0x223248(0x250)](_0x42f696,_0x4aa157=!0x1){const _0x4d0419=_0x223248,_0x59167e=this[_0x4d0419(0x223)][_0x4d0419(0x313)](_0x4d0419(0x317));_0x42f696[_0x4d0419(0x3aa)]()!==_0x59167e&&this['_urlService'][_0x4d0419(0x24b)]('subunit',_0x42f696[_0x4d0419(0x3aa)](),_0x4aa157);}async['_updateSubUnitFromURLParams'](_0x313140){const _0x5ed4bb=_0x223248;var _0x2e1b24;const _0x1732d7=this[_0x5ed4bb(0x223)][_0x5ed4bb(0x313)](_0x5ed4bb(0x317));if(!_0x1732d7||!_0x313140[_0x5ed4bb(0x399)](_0x1732d7)){const _0x4de6d8=_0x313140[_0x5ed4bb(0x21f)]()[0x0],_0x3739c3=_0x313140['getSheetBySheetId'](_0x4de6d8);if(!_0x3739c3)return;this[_0x5ed4bb(0x250)](_0x3739c3,!0x0),await this[_0x5ed4bb(0x1f1)][_0x5ed4bb(0x234)](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x4de6d8});return;}((_0x2e1b24=_0x313140[_0x5ed4bb(0x1c4)]())==null?void 0x0:_0x2e1b24[_0x5ed4bb(0x3aa)]())!==_0x1732d7&&await this[_0x5ed4bb(0x1f1)]['executeCommand'](_0x5434f9[_0x5ed4bb(0x1a6)]['id'],{'unitId':_0x313140[_0x5ed4bb(0x302)](),'subUnitId':_0x1732d7});}},_0x4394f4[_0x223248(0x31a)]=_0x46908c([_0x4ca138(0x0,_0x51b8d1),_0x4ca138(0x1,_0x380f2c['ILogService']),_0x4ca138(0x2,_0x380f2c[_0x223248(0x36e)]),_0x4ca138(0x3,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x372)])),_0x4ca138(0x4,_0x380f2c['Optional'](_0x1bf57e['IRemoteInstanceService']))],_0x4394f4['CollaborationDataLoaderController']);var _0x57e896=Object[_0x223248(0x265)],_0x56e0cf=(_0x2092ef,_0x2f9b82,_0x5614a6,_0x280260)=>{const _0x4da62f=_0x223248;for(var _0x69b459=_0x280260>0x1?void 0x0:_0x280260?_0x57e896(_0x2f9b82,_0x5614a6):_0x2f9b82,_0x2f390c=_0x2092ef[_0x4da62f(0x25a)]-0x1,_0x29300b;_0x2f390c>=0x0;_0x2f390c--)(_0x29300b=_0x2092ef[_0x2f390c])&&(_0x69b459=_0x29300b(_0x69b459)||_0x69b459);return _0x69b459;},_0x26b2f9=(_0x151a51,_0x1f6d1a)=>(_0x4bdf8b,_0x54d989)=>_0x1f6d1a(_0x4bdf8b,_0x54d989,_0x151a51);let _0x32a844=class{constructor(_0x3daba4,_0x33f31c,_0x329de9){const _0x45257f=_0x223248;this[_0x45257f(0x1d3)]=_0x3daba4,this[_0x45257f(0x329)]=_0x33f31c,this['_renderManagerService']=_0x329de9;}[_0x223248(0x2b9)](_0x101df7){const _0x15deca=_0x223248;this[_0x15deca(0x26f)](_0x101df7),this[_0x15deca(0x3a8)](_0x101df7);}[_0x223248(0x23d)](_0xd6e13a){const _0x482682=_0x223248,{unitID:_0x45d514}=_0xd6e13a,_0x32d92c=this['_renderManagerService'][_0x482682(0x334)](_0x45d514)[_0x482682(0x309)](_0x245556[_0x482682(0x268)]),{redoCache:_0x3d5522}=_0x32d92c[_0x482682(0x267)]();if(_0x3d5522[_0x482682(0x25a)]===0x0)return _0xd6e13a;let _0x12af0e=_0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a[_0x482682(0x1d4)][0x0]);for(let _0x5c2d7f=0x0;_0x5c2d7f<_0x3d5522[_0x482682(0x25a)];_0x5c2d7f++){const _0x3d083b={'id':_0x482682(0x3f5),'params':{..._0x3d5522[_0x5c2d7f]}},_0x42f3a9=this[_0x482682(0x329)]['transformMutation'](_0x12af0e,_0x3d083b,!0x1);if(_0x4946eb[_0x482682(0x1b1)](_0x42f3a9))throw _0x42f3a9[_0x482682(0x3cb)];_0x12af0e=_0x42f3a9[_0x482682(0x1f2)];}return{..._0x380f2c[_0x482682(0x31c)][_0x482682(0x256)](_0xd6e13a),'mutations':[_0x12af0e]};}[_0x223248(0x26f)](_0x382b1f){const _0x268f01=_0x223248,{unitID:_0x333811}=_0x382b1f,_0x8d05aa=this[_0x268f01(0x373)][_0x268f01(0x334)](_0x333811)['with'](_0x245556['DocIMEInputManagerService']),{undoCache:_0x599b6f,redoCache:_0x58d804}=_0x8d05aa['getUndoRedoMutationParamsCache']();if(_0x599b6f[_0x268f01(0x25a)]===0x0||_0x58d804[_0x268f01(0x25a)]===0x0)return;const _0x4d80da=[],_0x10695f=[];let _0x5d4d4c=_0x380f2c[_0x268f01(0x31c)][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]),_0x372d43=_0x380f2c['Tools'][_0x268f01(0x256)](_0x382b1f[_0x268f01(0x1d4)][0x0]);for(let _0x148675=_0x599b6f['length']-0x1;_0x148675>=0x0;_0x148675--){const _0x15f805={'id':_0x268f01(0x3f5),'params':{..._0x599b6f[_0x148675]}},_0x29e107={'id':_0x268f01(0x3f5),'params':{..._0x58d804[_0x148675]}},_0x20718d=this[_0x268f01(0x329)][_0x268f01(0x240)](_0x5d4d4c,_0x15f805,!0x1),_0xdf6075=this['_transformService'][_0x268f01(0x240)](_0x372d43,_0x29e107,!0x1);if(_0x4946eb[_0x268f01(0x1b1)](_0x20718d))throw _0x20718d[_0x268f01(0x3cb)];if(_0x4946eb[_0x268f01(0x1b1)](_0xdf6075))throw _0xdf6075[_0x268f01(0x3cb)];_0x4d80da[_0x268f01(0x2a9)](_0x20718d['m2Prime'][_0x268f01(0x28f)]),_0x10695f[_0x268f01(0x2a9)](_0xdf6075[_0x268f01(0x353)][_0x268f01(0x28f)]),_0x5d4d4c=_0x20718d[_0x268f01(0x1f2)],_0x372d43=_0xdf6075['m1Prime'];}_0x8d05aa[_0x268f01(0x29e)]({'undoCache':_0x4d80da,'redoCache':_0x10695f});}['_transformPreviousActiveRange'](_0x27c4c0){const _0x3403c5=_0x223248,{unitID:_0x52af34}=_0x27c4c0,_0xcc4533=this[_0x3403c5(0x373)][_0x3403c5(0x334)](_0x52af34)[_0x3403c5(0x309)](_0x245556[_0x3403c5(0x268)]),_0x3ae3d3=_0xcc4533['getActiveRange']();if(_0x3ae3d3==null)return;const _0x37a414=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x27c4c0['unitID'],'actions':null,'textRanges':[_0x3ae3d3]}}],_0x122dda=this['_transformService'][_0x3403c5(0x263)](_0x27c4c0,_0x37a414);if(!_0x4946eb['isTransformMutationsWithChangesetSuccess'](_0x122dda))throw _0x122dda[_0x3403c5(0x3cb)];const _0x3b55c3=_0x122dda['m2Prime'][0x0][_0x3403c5(0x28f)][_0x3403c5(0x3d3)];Array[_0x3403c5(0x1c5)](_0x3b55c3)&&_0x3b55c3['length']&&_0xcc4533['setActiveRange'](_0x3b55c3[0x0]);}};_0x32a844=_0x56e0cf([_0x26b2f9(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x26b2f9(0x1,_0x4946eb[_0x223248(0x382)]),_0x26b2f9(0x2,_0x562cf5['IRenderManagerService'])],_0x32a844);var _0x25d3cf=Object['getOwnPropertyDescriptor'],_0xf02698=(_0x2cc5b4,_0x59c9b5,_0x5e51a8,_0x23c823)=>{const _0x1dc782=_0x223248;for(var _0x468224=_0x23c823>0x1?void 0x0:_0x23c823?_0x25d3cf(_0x59c9b5,_0x5e51a8):_0x59c9b5,_0x3df313=_0x2cc5b4[_0x1dc782(0x25a)]-0x1,_0xbc8c87;_0x3df313>=0x0;_0x3df313--)(_0xbc8c87=_0x2cc5b4[_0x3df313])&&(_0x468224=_0xbc8c87(_0x468224)||_0x468224);return _0x468224;},_0x2e01d2=(_0x30dcde,_0x229c65)=>(_0x2e60d7,_0xc47a8c)=>_0x229c65(_0x2e60d7,_0xc47a8c,_0x30dcde);let _0x2ef4ce=class{constructor(_0x37c6e8,_0x55fc0a,_0x4e3983){const _0x36b87f=_0x223248;this['_injector']=_0x37c6e8,this[_0x36b87f(0x329)]=_0x55fc0a,this['_docStateChangeManagerService']=_0x4e3983;}[_0x223248(0x34b)](_0x380d44){this['_transformHistoryAndStateStack'](_0x380d44);}[_0x223248(0x23d)](_0x27a926){const _0x880ba1=_0x223248,{unitID:_0x6b3c37}=_0x27a926,{collaboration:_0x226a73}=this[_0x880ba1(0x23a)][_0x880ba1(0x384)](_0x6b3c37);if(_0x226a73[_0x880ba1(0x25a)]===0x0)return _0x27a926;let _0x2d48fc=_0x380f2c['Tools']['deepClone'](_0x27a926[_0x880ba1(0x1d4)][0x0]);for(let _0x15256c=0x0;_0x15256c<_0x226a73[_0x880ba1(0x25a)];_0x15256c++){const _0x3f1b42={'id':_0x880ba1(0x3f5),'params':{'unitId':_0x226a73[_0x15256c]['unitId'],..._0x226a73[_0x15256c][_0x880ba1(0x3f1)]}},_0x38f3b0=this[_0x880ba1(0x329)][_0x880ba1(0x240)](_0x2d48fc,_0x3f1b42,!0x1);if(_0x4946eb[_0x880ba1(0x1b1)](_0x38f3b0))throw _0x38f3b0[_0x880ba1(0x3cb)];_0x2d48fc=_0x38f3b0['m1Prime'];}return{..._0x380f2c['Tools']['deepClone'](_0x27a926),'mutations':[_0x2d48fc]};}[_0x223248(0x1f0)](_0x3579af){const _0x3d9d7d=_0x223248,{unitID:_0x22c4e2}=_0x3579af,{history:_0x38fe9e,collaboration:_0x329158}=this['_docStateChangeManagerService']['getStateCache'](_0x22c4e2);if(_0x38fe9e['length']===0x0&&_0x329158['length']===0x0)return;const _0x35eec0=[],_0x3c8583=[];let _0x305508=_0x380f2c[_0x3d9d7d(0x31c)]['deepClone'](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x4e1d37=_0x38fe9e['length']-0x1;_0x4e1d37>=0x0;_0x4e1d37--){const _0x441fbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3b6)]}},_0x5495dd={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x38fe9e[_0x4e1d37][_0x3d9d7d(0x341)],..._0x38fe9e[_0x4e1d37][_0x3d9d7d(0x3f1)]}},_0x32571e=this[_0x3d9d7d(0x329)]['transformMutation'](_0x305508,_0x441fbc,!0x1),_0x50b547=this[_0x3d9d7d(0x329)]['transformMutation'](_0x13ef13,_0x5495dd,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x32571e))throw _0x32571e[_0x3d9d7d(0x3cb)];if(_0x4946eb['isTransformMutationFailure'](_0x50b547))throw _0x50b547['error'];_0x35eec0[_0x3d9d7d(0x2a9)]({..._0x38fe9e[_0x4e1d37],'undoState':_0x32571e[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)],'redoState':_0x50b547[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x32571e[_0x3d9d7d(0x1f2)],_0x13ef13=_0x50b547[_0x3d9d7d(0x1f2)];}_0x305508=_0x380f2c['Tools'][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]),_0x13ef13=_0x380f2c[_0x3d9d7d(0x31c)][_0x3d9d7d(0x256)](_0x3579af[_0x3d9d7d(0x1d4)][0x0]);for(let _0x5ad359=_0x329158[_0x3d9d7d(0x25a)]-0x1;_0x5ad359>=0x0;_0x5ad359--){const _0x241172={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x329158[_0x5ad359]['unitId'],..._0x329158[_0x5ad359][_0x3d9d7d(0x3b6)]}},_0x62cfea={'id':_0x3d9d7d(0x3f5),'params':{'unitId':_0x329158[_0x5ad359][_0x3d9d7d(0x341)],..._0x329158[_0x5ad359][_0x3d9d7d(0x3f1)]}},_0x52d733=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x305508,_0x241172,!0x1),_0x4fe05c=this[_0x3d9d7d(0x329)][_0x3d9d7d(0x240)](_0x13ef13,_0x62cfea,!0x1);if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x52d733))throw _0x52d733[_0x3d9d7d(0x3cb)];if(_0x4946eb[_0x3d9d7d(0x1b1)](_0x4fe05c))throw _0x4fe05c[_0x3d9d7d(0x3cb)];_0x3c8583['unshift']({..._0x329158[_0x5ad359],'undoState':_0x52d733['m2Prime']['params'],'redoState':_0x4fe05c[_0x3d9d7d(0x353)][_0x3d9d7d(0x28f)]}),_0x305508=_0x52d733['m1Prime'],_0x13ef13=_0x4fe05c[_0x3d9d7d(0x1f2)];}this[_0x3d9d7d(0x23a)]['setStateCache'](_0x22c4e2,{'history':_0x35eec0,'collaboration':_0x3c8583});}};_0x2ef4ce=_0xf02698([_0x2e01d2(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x2e01d2(0x1,_0x4946eb[_0x223248(0x382)]),_0x2e01d2(0x2,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)]))],_0x2ef4ce);var _0x2d7dbf=Object['getOwnPropertyDescriptor'],_0x2c6e8e=(_0x5642cd,_0x50db90,_0x325b56,_0x185d79)=>{const _0x50a9e6=_0x223248;for(var _0x5d0c8b=_0x185d79>0x1?void 0x0:_0x185d79?_0x2d7dbf(_0x50db90,_0x325b56):_0x50db90,_0x558658=_0x5642cd[_0x50a9e6(0x25a)]-0x1,_0x5328bb;_0x558658>=0x0;_0x558658--)(_0x5328bb=_0x5642cd[_0x558658])&&(_0x5d0c8b=_0x5328bb(_0x5d0c8b)||_0x5d0c8b);return _0x5d0c8b;},_0x3a5bdf=(_0x259a22,_0x522639)=>(_0x35bcd6,_0x2137bb)=>_0x522639(_0x35bcd6,_0x2137bb,_0x259a22);let _0x1e55c8=class{constructor(_0x326fcf,_0x54a506){const _0xe60b06=_0x223248;this[_0xe60b06(0x1d3)]=_0x326fcf,this[_0xe60b06(0x329)]=_0x54a506;}[_0x223248(0x3ac)](_0xa70327){const _0x79ae46=_0x223248;var _0x53a98d;const _0x19d9fb=this[_0x79ae46(0x1d3)][_0x79ae46(0x3cf)](_0x1bf15b[_0x79ae46(0x279)]),_0xa3b69a=(_0x53a98d=_0x19d9fb['getDocRanges']())!=null?_0x53a98d:[];if(_0xa3b69a['length']===0x0)return;const _0x24895b=_0xa70327[_0x79ae46(0x293)],_0x564b3b=[{'id':_0x79ae46(0x3f5),'params':{'unitId':_0x24895b,'actions':null,'textRanges':_0xa3b69a}}],_0x2c674d=this[_0x79ae46(0x329)]['transformMutationsWithChangeset'](_0xa70327,_0x564b3b);if(!_0x4946eb[_0x79ae46(0x2ac)](_0x2c674d))throw _0x2c674d[_0x79ae46(0x3cb)];const _0xb78b0c=_0x2c674d['m2Prime'][0x0][_0x79ae46(0x28f)][_0x79ae46(0x3d3)];Array[_0x79ae46(0x1c5)](_0xb78b0c)&&_0xb78b0c['length']&&_0x19d9fb[_0x79ae46(0x423)](_0xb78b0c,{'unitId':_0x24895b,'subUnitId':_0x24895b},!0x1);}};_0x1e55c8=_0x2c6e8e([_0x3a5bdf(0x0,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x3a5bdf(0x1,_0x4946eb['ITransformService'])],_0x1e55c8);var _0x3fe5ee=Object[_0x223248(0x265)],_0x134018=(_0x89320d,_0x591e1c,_0x42a0f5,_0x61390f)=>{for(var _0x132a49=_0x61390f>0x1?void 0x0:_0x61390f?_0x3fe5ee(_0x591e1c,_0x42a0f5):_0x591e1c,_0x2818d1=_0x89320d['length']-0x1,_0x57db8f;_0x2818d1>=0x0;_0x2818d1--)(_0x57db8f=_0x89320d[_0x2818d1])&&(_0x132a49=_0x57db8f(_0x132a49)||_0x132a49);return _0x132a49;},_0x360b6a=(_0x2aa3cb,_0xe80aa8)=>(_0x22f098,_0x3ce83d)=>_0xe80aa8(_0x22f098,_0x3ce83d,_0x2aa3cb);let _0x2d6223=class extends _0x380f2c['Disposable']{constructor(_0xaf685c,_0x12f5a1,_0x181172,_0x21c94c,_0x268cc4,_0x16c37b,_0x2f57f3,_0x2e5a1e){const _0x555ff1=_0x223248;super(),_0x44255b(this,_0x555ff1(0x32b),new _0x309759[(_0x555ff1(0x3e2))](_0x25172a['CollaborationStatus'][_0x555ff1(0x1cc)])),(this[_0x555ff1(0x23a)]=_0xaf685c,this[_0x555ff1(0x1b4)]=_0x12f5a1,this[_0x555ff1(0x1bc)]=_0x181172,this[_0x555ff1(0x2d8)]=_0x21c94c,this[_0x555ff1(0x1ff)]=_0x268cc4,this['_docSyncEditingCollabCursorService']=_0x16c37b,this[_0x555ff1(0x318)]=_0x2f57f3,this['_localeService']=_0x2e5a1e,this[_0x555ff1(0x2c7)]());}[_0x223248(0x2c7)](){const _0x445f7c=_0x223248;this[_0x445f7c(0x1e9)](this[_0x445f7c(0x1b4)][_0x445f7c(0x20a)][_0x445f7c(0x1d9)](_0x6efa92=>{const _0x335c75=_0x445f7c,_0x51ae5b=this[_0x335c75(0x23a)][_0x335c75(0x1bb)][_0x335c75(0x1d9)](_0x258650=>{const _0x45cd35=_0x335c75;if(_0x258650==null)return;const {unitId:_0x471cef,redoState:_0x333353,commandId:_0x2ce930}=_0x258650;if(_0x471cef!==_0x6efa92[_0x45cd35(0x293)])return;const _0x4dadf9={'id':_0x2ce930,'type':_0x380f2c[_0x45cd35(0x3d4)][_0x45cd35(0x2d1)],'params':{'unitId':_0x471cef,'actions':_0x333353[_0x45cd35(0x2aa)],'textRanges':null}};_0x6efa92[_0x45cd35(0x1c2)](_0x4dadf9);});if(_0x6efa92[_0x335c75(0x1e9)](_0x51ae5b),_0x6efa92 instanceof _0x25172a[_0x335c75(0x1e5)]){const _0x84c444={'onTransformIME':_0x19cc3f=>this['_docTransformIMECacheService'][_0x335c75(0x2b9)](_0x19cc3f),'onTransformState':_0x54b407=>this[_0x335c75(0x2d8)]['transformStateCache'](_0x54b407),'onTransformSelections':_0x1065f8=>this[_0x335c75(0x1ff)][_0x335c75(0x3ac)](_0x1065f8),'onSyncEditingCollabCursor':_0x2ee3d6=>this[_0x335c75(0x237)][_0x335c75(0x3b5)](_0x2ee3d6),'onTransformRemoteChangesetByIMECache':_0x4fafea=>this[_0x335c75(0x1bc)]['transformRemoteChangeset'](_0x4fafea),'onTransformRemoteChangesetByStateCache':_0x348022=>this[_0x335c75(0x2d8)][_0x335c75(0x23d)](_0x348022)};_0x6efa92['addHandlerCallback'](_0x84c444);}}));}};_0x2d6223=_0x134018([_0x360b6a(0x0,_0x380f2c[_0x223248(0x352)](_0x245556[_0x223248(0x26a)])),_0x360b6a(0x1,_0x380f2c[_0x223248(0x352)](_0x25172a[_0x223248(0x355)])),_0x360b6a(0x2,_0x380f2c[_0x223248(0x352)](_0x32a844)),_0x360b6a(0x3,_0x380f2c[_0x223248(0x352)](_0x2ef4ce)),_0x360b6a(0x4,_0x380f2c['Inject'](_0x1e55c8)),_0x360b6a(0x5,_0x380f2c[_0x223248(0x352)](_0x19792d)),_0x360b6a(0x6,_0x26ee6d[_0x223248(0x300)]),_0x360b6a(0x7,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x1fd)]))],_0x2d6223);var _0x398512=Object[_0x223248(0x265)],_0x4734bc=(_0xc45cbb,_0x44d3b2,_0x5da003,_0x50a0d7)=>{const _0xb8a5f1=_0x223248;for(var _0x520283=_0x50a0d7>0x1?void 0x0:_0x50a0d7?_0x398512(_0x44d3b2,_0x5da003):_0x44d3b2,_0x5b90f8=_0xc45cbb[_0xb8a5f1(0x25a)]-0x1,_0x3d674b;_0x5b90f8>=0x0;_0x5b90f8--)(_0x3d674b=_0xc45cbb[_0x5b90f8])&&(_0x520283=_0x3d674b(_0x520283)||_0x520283);return _0x520283;},_0x3e534c=(_0x1304ac,_0x5cdd23)=>(_0x3dd40e,_0x3885f4)=>_0x5cdd23(_0x3dd40e,_0x3885f4,_0x1304ac);let _0x98e152=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x47300f,_0x444d8d,_0x2e8598){const _0x3bff94=_0x223248;super(),_0x44255b(this,_0x3bff94(0x422),new Map()),_0x44255b(this,_0x3bff94(0x425),new Map()),_0x44255b(this,_0x3bff94(0x277),!0x1),(this['_configService']=_0x47300f,this[_0x3bff94(0x3e8)]=_0x444d8d,this[_0x3bff94(0x332)]=_0x2e8598);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x223248(0x1e7)](){this['_disabled']=!0x1;}get[_0x223248(0x364)](){return this['_saveTaskMap'];}[_0x223248(0x1d8)](){const _0x5c7f34=_0x223248;this[_0x5c7f34(0x21d)]()[_0x5c7f34(0x3f6)](()=>super[_0x5c7f34(0x1d8)]());}async[_0x223248(0x28e)](_0x180695){const _0xa6cbd3=_0x223248;return this[_0xa6cbd3(0x277)]?null:this[_0xa6cbd3(0x3e8)][_0xa6cbd3(0x272)](_0x25172a[_0xa6cbd3(0x392)](_0x180695));}async[_0x223248(0x271)](_0x4d3816,_0x4232b1){const _0x496037=_0x223248;return!!this[_0x496037(0x3e8)]['setItem'](_0x4d3816,_0x4232b1);}[_0x223248(0x2ce)](_0xd9f7f5,_0x321723,_0x2bf1b5,_0x58dc54){const _0xda390d=_0x223248,_0x2b812f=this[_0xda390d(0x332)][_0xda390d(0x24d)](_0xd9f7f5);this[_0xda390d(0x422)][_0xda390d(0x269)](_0xd9f7f5,{'unitID':_0xd9f7f5,'type':_0x321723,'awaitingChangeset':_0x2bf1b5,'mutations':_0x58dc54,'rev':_0x2b812f}),this['_saveTaskMap'][_0xda390d(0x2e5)](_0xd9f7f5)||this['_scheduleSaving'](_0xd9f7f5);}[_0x223248(0x22f)](_0x413a95){const _0xc20009=_0x223248,_0x5a1037=this[_0xc20009(0x3cc)]();_0x5a1037===0x0?this['_saveCache'](_0x413a95):this[_0xc20009(0x425)][_0xc20009(0x269)](_0x413a95,setTimeout(()=>this[_0xc20009(0x33d)](_0x413a95),_0x5a1037));}[_0x223248(0x3cc)](){const _0x2de0b7=_0x223248;var _0x4c8a39;return(_0x4c8a39=this[_0x2de0b7(0x418)][_0x2de0b7(0x3d1)](_0x25172a[_0x2de0b7(0x21e)]))!=null?_0x4c8a39:_0x25172a['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x171e00){const _0x59e43e=_0x223248,_0x354c37=this['_saveTaskMap'][_0x59e43e(0x3cf)](_0x171e00);return _0x354c37!==void 0x0&&window[_0x59e43e(0x22d)](_0x354c37),this[_0x59e43e(0x3e8)][_0x59e43e(0x260)](_0x25172a['getLocalCacheKey'](_0x171e00),this[_0x59e43e(0x422)]['get'](_0x171e00))[_0x59e43e(0x3f6)](()=>this[_0x59e43e(0x425)][_0x59e43e(0x344)](_0x171e00));}async[_0x223248(0x21d)](){const _0x2bcdd4=_0x223248,_0x21f066=[];this[_0x2bcdd4(0x425)][_0x2bcdd4(0x258)]((_0x188dda,_0x464fcd)=>{const _0x3a0c33=_0x2bcdd4;window[_0x3a0c33(0x22d)](_0x188dda),_0x21f066['push'](this[_0x3a0c33(0x33d)](_0x464fcd)[_0x3a0c33(0x3f6)](()=>{const _0x46d33b=_0x3a0c33;this[_0x46d33b(0x425)]['delete'](_0x464fcd);}));}),await Promise[_0x2bcdd4(0x340)](_0x21f066);}};_0x98e152=_0x4734bc([_0x3e534c(0x0,_0x380f2c['IConfigService']),_0x3e534c(0x1,_0x380f2c[_0x223248(0x41b)]),_0x3e534c(0x2,_0x380f2c[_0x223248(0x352)](_0x4946eb[_0x223248(0x2b6)]))],_0x98e152);class _0x105840 extends _0x380f2c[_0x223248(0x1a7)]{constructor(){const _0x4f9d32=_0x223248;super(),_0x44255b(this,'urlChange$'),this[_0x4f9d32(0x385)]=_0x309759['fromEvent'](window,_0x4f9d32(0x195))[_0x4f9d32(0x278)](_0x309759['takeUntil'](this[_0x4f9d32(0x41a)]),_0x309759[_0x4f9d32(0x411)](0x1),_0x309759[_0x4f9d32(0x2b2)](void 0x0));}[_0x223248(0x24b)](_0x4d92b3,_0x34f5df,_0x4f46aa=!0x1){const _0x13115c=_0x223248,_0x21accb=new URL(window[_0x13115c(0x315)][_0x13115c(0x2f3)]);_0x21accb['searchParams'][_0x13115c(0x269)](_0x4d92b3,_0x34f5df),_0x4f46aa?window[_0x13115c(0x274)][_0x13115c(0x1df)]('','',_0x21accb[_0x13115c(0x3d7)]()):window[_0x13115c(0x274)][_0x13115c(0x357)]('','',_0x21accb[_0x13115c(0x3d7)]());}[_0x223248(0x3f8)](_0x1ba2c2,_0x57bc0b=!0x1){const _0x34ac53=_0x223248,_0x3dc56a=new URL(window[_0x34ac53(0x315)]['href']);_0x3dc56a['searchParams'][_0x34ac53(0x344)](_0x1ba2c2),_0x57bc0b?window['history']['replaceState']('','',_0x3dc56a[_0x34ac53(0x3d7)]()):window[_0x34ac53(0x274)]['pushState']('','',_0x3dc56a[_0x34ac53(0x3d7)]());}[_0x223248(0x313)](_0x53e055){const _0x14ab34=_0x223248;var _0x1b4f7b;return(_0x1b4f7b=new URL(window[_0x14ab34(0x315)][_0x14ab34(0x2f3)])[_0x14ab34(0x205)][_0x14ab34(0x3cf)](_0x53e055))!=null?_0x1b4f7b:void 0x0;}}var _0x2c57d5=Object[_0x223248(0x40a)],_0x42bfa1=Object['getOwnPropertyDescriptor'],_0x2c1d70=(_0x1a8182,_0x4a6bcc,_0x2f47f9)=>_0x4a6bcc in _0x1a8182?_0x2c57d5(_0x1a8182,_0x4a6bcc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f47f9}):_0x1a8182[_0x4a6bcc]=_0x2f47f9,_0x1c60d5=(_0x219a9d,_0x211594,_0x508e65,_0x533ca9)=>{const _0x3f8744=_0x223248;for(var _0x540949=_0x533ca9>0x1?void 0x0:_0x533ca9?_0x42bfa1(_0x211594,_0x508e65):_0x211594,_0x3cffa6=_0x219a9d[_0x3f8744(0x25a)]-0x1,_0x5a91af;_0x3cffa6>=0x0;_0x3cffa6--)(_0x5a91af=_0x219a9d[_0x3cffa6])&&(_0x540949=_0x5a91af(_0x540949)||_0x540949);return _0x540949;},_0x16ee5e=(_0x18e0ea,_0x4ebd84)=>(_0x573503,_0x447c76)=>_0x4ebd84(_0x573503,_0x447c76,_0x18e0ea),_0xaa68f1=(_0x1a259e,_0x535dd4,_0x4098a9)=>_0x2c1d70(_0x1a259e,_0x535dd4+'',_0x4098a9);const _0xdcb9e=_0x223248(0x2a0);_0x4394f4['UniverCollaborationClientUIPlugin']=class extends _0x380f2c[_0x223248(0x409)]{constructor(_0x293e28=_0xda5603,_0x2c7134,_0x313a7e,_0x444bd2){const _0x2ae082=_0x223248;super(),this[_0x2ae082(0x386)]=_0x293e28,this['_renderManagerService']=_0x2c7134,this['_injector']=_0x313a7e,this[_0x2ae082(0x418)]=_0x444bd2;const {..._0x36d59b}=_0x380f2c['merge']({},_0xda5603,this[_0x2ae082(0x386)]);this[_0x2ae082(0x418)]['setConfig'](_0x1840e5,_0x36d59b);}[_0x223248(0x379)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x223248(0x350)](){const _0x527a5a=_0x223248;this[_0x527a5a(0x299)]();}[_0x223248(0x19f)](){const _0x26bead=_0x223248;var _0xcf2d1e;const _0x3a1b3c=[[_0xd7751],[_0x1e55c8],[_0x32a844],[_0x2ef4ce],[_0x19792d],[_0x51b8d1,{'useClass':_0x105840}],[_0x54dd82[_0x26bead(0x206)],{'useClass':_0x54dd82['WebSocketService']}],[_0x25172a[_0x26bead(0x20b)],{'useClass':_0x98e152}],[_0x4394f4[_0x26bead(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4f3310],[_0x287dac],[_0x4394f4[_0x26bead(0x31a)]]];_0x380f2c[_0x26bead(0x28b)](this[_0x26bead(0x1d3)],_0x380f2c[_0x26bead(0x243)](_0x3a1b3c,(_0xcf2d1e=this['_config'])==null?void 0x0:_0xcf2d1e[_0x26bead(0x336)]));}[_0x223248(0x299)](){const _0x2ada80=_0x223248;this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)]['registerRenderModule'](_0x380f2c[_0x2ada80(0x1a9)][_0x2ada80(0x30f)],[_0x5dbc37])),this[_0x2ada80(0x1e9)](this[_0x2ada80(0x373)][_0x2ada80(0x2c0)](_0x380f2c['UniverInstanceType'][_0x2ada80(0x22a)],[_0x15d7ee]));}[_0x223248(0x3fc)](){const _0x2625ab=_0x223248;_0x380f2c[_0x2625ab(0x3e6)](this['_injector'],[[_0x4f3310],[_0x4394f4[_0x2625ab(0x32e)]],[_0x2d6223],[_0x1cac79],[_0x4394f4['CollaborationDataLoaderController']]]);}},_0xaa68f1(_0x4394f4[_0x223248(0x2e6)],_0x223248(0x3b3),_0xdcb9e),_0x4394f4[_0x223248(0x2e6)]=_0x1c60d5([_0x380f2c[_0x223248(0x194)](_0x25172a[_0x223248(0x2e2)]),_0x16ee5e(0x1,_0x562cf5['IRenderManagerService']),_0x16ee5e(0x2,_0x380f2c[_0x223248(0x352)](_0x380f2c[_0x223248(0x290)])),_0x16ee5e(0x3,_0x380f2c[_0x223248(0x3df)])],_0x4394f4[_0x223248(0x2e6)]);var _0xfe2645=Object[_0x223248(0x265)],_0x319922=(_0x2a3164,_0x19e68f,_0x2abe04,_0x270245)=>{const _0x306f75=_0x223248;for(var _0x10fdf7=_0x270245>0x1?void 0x0:_0x270245?_0xfe2645(_0x19e68f,_0x2abe04):_0x19e68f,_0x2d7e83=_0x2a3164[_0x306f75(0x25a)]-0x1,_0x1dff4b;_0x2d7e83>=0x0;_0x2d7e83--)(_0x1dff4b=_0x2a3164[_0x2d7e83])&&(_0x10fdf7=_0x1dff4b(_0x10fdf7)||_0x10fdf7);return _0x10fdf7;},_0x588dd3=(_0x233b9f,_0x14776f)=>(_0x543bb6,_0x37e3b3)=>_0x14776f(_0x543bb6,_0x37e3b3,_0x233b9f);_0x4394f4['BrowserCollaborationSocketService']=class extends _0x25172a[_0x223248(0x41c)]{constructor(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7){super(_0x40ee8e,_0x5972b6,_0x5eb0af,_0x6eaeb2,_0x117ea7);}async[_0x223248(0x38c)](_0x3fba41){const _0x3e79b4=_0x223248,_0x39d21c=await this[_0x3e79b4(0x3ae)](),_0x456e48=this[_0x3e79b4(0x261)](_0x3fba41,_0x39d21c);return this[_0x3e79b4(0x3c9)](_0x456e48);}['_createSocketURL'](_0x27416d,_0x55144a){const _0x5478f9=_0x223248,_0x21567d=typeof window>'u'?new URL(_0x27416d):new URL(_0x27416d,window[_0x5478f9(0x315)][_0x5478f9(0x211)]);_0x21567d[_0x5478f9(0x205)][_0x5478f9(0x269)](_0x5478f9(0x27d),_0x55144a);const _0x4aa143=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5478f9(0x315)][_0x5478f9(0x3a1)]);return _0x4aa143[_0x5478f9(0x3cf)](_0x5478f9(0x1a1))&&_0x21567d[_0x5478f9(0x205)]['set'](_0x5478f9(0x1a1),_0x4aa143['get']('runId')),_0x21567d[_0x5478f9(0x3d7)]();}async[_0x223248(0x3ae)](){const _0x5ee417=_0x223248;var _0x1bc845,_0x3acc2a,_0x45ed13;const _0x2ec832=this[_0x5ee417(0x418)][_0x5ee417(0x3d1)](_0x25172a[_0x5ee417(0x366)]),_0x374487=(_0x1bc845=_0x2ec832==null?void 0x0:_0x2ec832[_0x5ee417(0x216)])!=null?_0x1bc845:_0x25172a[_0x5ee417(0x1dd)];return(_0x45ed13=(_0x3acc2a=(await this[_0x5ee417(0x25e)][_0x5ee417(0x3cf)](_0x374487,{'headers':{'Content-Type':_0x5ee417(0x2b3)}}))[_0x5ee417(0x39c)])==null?void 0x0:_0x3acc2a[_0x5ee417(0x30c)])!=null?_0x45ed13:'';}},_0x4394f4['BrowserCollaborationSocketService']=_0x319922([_0x588dd3(0x0,_0x380f2c['Inject'](_0x380f2c[_0x223248(0x290)])),_0x588dd3(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x588dd3(0x2,_0x380f2c[_0x223248(0x3df)]),_0x588dd3(0x3,_0x380f2c[_0x223248(0x325)]),_0x588dd3(0x4,_0x4946eb[_0x223248(0x2fe)])],_0x4394f4[_0x223248(0x18c)]);const _0x4708a1=0x7530,_0x15b1d8=_0x223248(0x21b);class _0x590cb8 extends _0x380f2c[_0x223248(0x203)]{constructor(){const _0x33de8d=_0x223248;super(),_0x44255b(this,_0x33de8d(0x347),_0x380f2c[_0x33de8d(0x314)]()),_0x44255b(this,_0x33de8d(0x30e),new Set()),_0x44255b(this,_0x33de8d(0x391),new Map()),_0x44255b(this,_0x33de8d(0x238),null),_0x44255b(this,_0x33de8d(0x210),new Map()),_0x44255b(this,'_unitStatus',new Map()),this[_0x33de8d(0x18f)]();}[_0x223248(0x1d8)](){const _0x4fac1e=_0x223248;super[_0x4fac1e(0x1d8)](),this[_0x4fac1e(0x210)][_0x4fac1e(0x258)]((_0x1500a2,_0x1c81d5)=>this[_0x4fac1e(0x38a)](_0x1c81d5)),this[_0x4fac1e(0x238)]&&window[_0x4fac1e(0x37b)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5bf10b){const _0x3f11f9=_0x223248;return this[_0x3f11f9(0x1a3)](_0x5bf10b)['pipe'](_0x309759[_0x3f11f9(0x1d5)]());}[_0x223248(0x405)](_0x221c7f){const _0xdb27ee=_0x223248;this[_0xdb27ee(0x30e)]['size']===0x0&&this[_0xdb27ee(0x3fb)](),this['_selfUnitIDs'][_0xdb27ee(0x23c)](_0x221c7f),this['_send']({'type':0x0,'memberID':this[_0xdb27ee(0x347)],'unitIDs':[_0x221c7f],'isForwarded':!0x1});}['disposeUnit'](_0x178d4d){const _0xe58e05=_0x223248;this[_0xe58e05(0x30e)][_0xe58e05(0x344)](_0x178d4d),this[_0xe58e05(0x30e)][_0xe58e05(0x2c5)]===0x0&&this['_heartbeatTimer']&&window[_0xe58e05(0x37b)](this[_0xe58e05(0x238)]);}[_0x223248(0x18f)](){const _0x1bdde3=_0x223248;this[_0x1bdde3(0x1e9)](_0x380f2c[_0x1bdde3(0x242)](_0x309759['fromEvent'](window,'storage')[_0x1bdde3(0x1d9)](_0x165368=>{const _0x2fc772=_0x1bdde3;if(_0x165368[_0x2fc772(0x1af)]!==_0x15b1d8||!_0x165368[_0x2fc772(0x202)])return;const _0x25a5bb=JSON[_0x2fc772(0x33b)](_0x165368[_0x2fc772(0x202)]);this['_handleEvent'](_0x25a5bb);}))),window[_0x1bdde3(0x1d6)](_0x1bdde3(0x3e1),()=>this[_0x1bdde3(0x39d)]({'type':0x1,'memberID':this[_0x1bdde3(0x347)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x223248(0x303)](_0x55efb9){const _0xbfa116=_0x223248;switch(_0x55efb9[_0xbfa116(0x33a)]){case 0x0:this[_0xbfa116(0x2dc)](_0x55efb9);break;case 0x1:this['_handleLeaveEvent'](_0x55efb9);break;case 0x2:this['_handleHeartbeatEvent'](_0x55efb9);break;}}[_0x223248(0x2dc)](_0x4a10c5){const _0x46ecd5=_0x223248,{unitIDs:_0x1fc6c1,memberID:_0xf40744,isForwarded:_0x2448a9}=_0x4a10c5;_0x1fc6c1[_0x46ecd5(0x258)](_0x568712=>{const _0x16c077=_0x46ecd5;if(!_0x2448a9&&this['_unitOnClients'][_0x16c077(0x2e5)](_0x568712)&&this[_0x16c077(0x1a3)](_0x568712)[_0x16c077(0x428)](_0x25172a[_0x16c077(0x3a3)][_0x16c077(0x3a2)]),!this[_0x16c077(0x391)]['has'](_0x568712)||!this[_0x16c077(0x391)]['get'](_0x568712)['has'](_0xf40744)){const _0xff0a6f=this[_0x16c077(0x391)]['get'](_0x568712)||new Set();_0xff0a6f[_0x16c077(0x23c)](_0xf40744),this[_0x16c077(0x391)]['set'](_0x568712,_0xff0a6f),this[_0x16c077(0x219)](_0xf40744);}}),_0x2448a9||this[_0x46ecd5(0x39d)]({'type':0x0,'memberID':this[_0x46ecd5(0x347)],'unitIDs':[...this[_0x46ecd5(0x30e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xc770e8){const _0x38f14b=_0x223248;this[_0x38f14b(0x38a)](_0xc770e8);const _0x5858d6=window['setTimeout'](()=>{const _0x1d6d33=_0x38f14b;this[_0x1d6d33(0x391)][_0x1d6d33(0x258)](_0x57c37d=>{_0x57c37d['delete'](_0xc770e8);});},_0x4708a1*0x2);this[_0x38f14b(0x210)]['set'](_0xc770e8,_0x5858d6);}[_0x223248(0x38a)](_0x3ad6a5){const _0x8a10a1=_0x223248;if(this[_0x8a10a1(0x210)][_0x8a10a1(0x2e5)](_0x3ad6a5)){const _0x39b826=this[_0x8a10a1(0x210)][_0x8a10a1(0x3cf)](_0x3ad6a5);_0x39b826&&window[_0x8a10a1(0x22d)](_0x39b826),this['_clearOtherTimers'][_0x8a10a1(0x269)](_0x3ad6a5,null);}}['_handleLeaveEvent'](_0x286cb5){const _0x4dd4de=_0x223248,{memberID:_0x182cc0,unitIDs:_0x91939f}=_0x286cb5;_0x91939f['forEach'](_0x1d2409=>{const _0x806e8b=_0x316b;var _0x52e501;const _0x126d8b=this[_0x806e8b(0x391)][_0x806e8b(0x3cf)](_0x1d2409);_0x126d8b&&(_0x126d8b[_0x806e8b(0x344)](_0x182cc0),(_0x52e501=this[_0x806e8b(0x1a3)](_0x1d2409))==null||_0x52e501[_0x806e8b(0x428)](_0x126d8b[_0x806e8b(0x2c5)]===0x0?_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x20c)]:_0x25172a[_0x806e8b(0x3a3)][_0x806e8b(0x3a2)]));}),this[_0x4dd4de(0x38a)](_0x182cc0);}[_0x223248(0x2d6)](_0x2eff1e){const _0x34e9e6=_0x223248;this[_0x34e9e6(0x219)](_0x2eff1e['memberID']);}['_send'](_0x3c6c2d){const _0x3e9974=_0x223248;localStorage[_0x3e9974(0x260)](_0x15b1d8,JSON[_0x3e9974(0x26d)](_0x3c6c2d));}[_0x223248(0x3fb)](){const _0x297fc2=_0x223248;this[_0x297fc2(0x238)]=window[_0x297fc2(0x2be)](()=>{const _0x28c8d7=_0x297fc2;this['_send']({'type':0x2,'memberID':this[_0x28c8d7(0x347)]});},_0x4708a1);}['_ensureSubject'](_0x574be2){const _0x330439=_0x223248;return this[_0x330439(0x307)][_0x330439(0x2e5)](_0x574be2)||this[_0x330439(0x307)][_0x330439(0x269)](_0x574be2,new _0x309759[(_0x330439(0x3e2))](_0x25172a[_0x330439(0x3a3)][_0x330439(0x20c)])),this[_0x330439(0x307)][_0x330439(0x3cf)](_0x574be2);}}var _0x44d99f=(_0x572f7a=>(_0x572f7a[_0x572f7a[_0x223248(0x304)]=0x0]=_0x223248(0x304),_0x572f7a[_0x572f7a['OK']=0x1]='OK',_0x572f7a[_0x572f7a[_0x223248(0x351)]=0x2]=_0x223248(0x351),_0x572f7a[_0x572f7a[_0x223248(0x38e)]=0x3]=_0x223248(0x38e),_0x572f7a[_0x572f7a[_0x223248(0x29d)]=0x4]='NOT_FOUND',_0x572f7a[_0x572f7a[_0x223248(0x36a)]=0x5]=_0x223248(0x36a),_0x572f7a[_0x572f7a['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x572f7a[_0x572f7a[_0x223248(0x1be)]=0x7]='INVALID_ARGUMENT',_0x572f7a[_0x572f7a[_0x223248(0x281)]=0x8]=_0x223248(0x281),_0x572f7a[_0x572f7a['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x572f7a[_0x572f7a[_0x223248(0x360)]=0xa]=_0x223248(0x360),_0x572f7a[_0x572f7a[_0x223248(0x2cc)]=0x1389]=_0x223248(0x2cc),_0x572f7a[_0x572f7a[_0x223248(0x2b8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x572f7a[_0x572f7a[_0x223248(0x2f9)]=0x1772]=_0x223248(0x2f9),_0x572f7a[_0x572f7a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x223248(0x346),_0x572f7a[_0x572f7a[_0x223248(0x3b7)]=0x1b59]=_0x223248(0x3b7),_0x572f7a[_0x572f7a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x223248(0x26c),_0x572f7a[_0x572f7a[_0x223248(0x29c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x572f7a[_0x572f7a[_0x223248(0x3bc)]=0x1b5c]=_0x223248(0x3bc),_0x572f7a[_0x572f7a[_0x223248(0x3b1)]=0x1b5d]=_0x223248(0x3b1),_0x572f7a[_0x572f7a[_0x223248(0x375)]=0x1f41]=_0x223248(0x375),_0x572f7a[_0x572f7a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x572f7a[_0x572f7a[_0x223248(0x361)]=0x232a]=_0x223248(0x361),_0x572f7a[_0x572f7a[_0x223248(0x1ea)]=0x232b]=_0x223248(0x1ea),_0x572f7a[_0x572f7a[_0x223248(0x414)]=0x232c]=_0x223248(0x414),_0x572f7a[_0x572f7a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x223248(0x2af),_0x572f7a[_0x572f7a[_0x223248(0x359)]=0x2711]=_0x223248(0x359),_0x572f7a[_0x572f7a[_0x223248(0x27f)]=0x2712]=_0x223248(0x27f),_0x572f7a[_0x572f7a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x223248(0x29a),_0x572f7a[_0x572f7a[_0x223248(0x1b5)]=0x2714]=_0x223248(0x1b5),_0x572f7a[_0x572f7a[_0x223248(0x2ad)]=0x271a]=_0x223248(0x2ad),_0x572f7a[_0x572f7a['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x223248(0x1e6),_0x572f7a[_0x572f7a[_0x223248(0x2c9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x572f7a[_0x572f7a[_0x223248(0x1e2)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x572f7a[_0x572f7a[_0x223248(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x572f7a[_0x572f7a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x223248(0x37e),_0x572f7a[_0x572f7a[_0x223248(0x1fe)]=0x2ee4]=_0x223248(0x1fe),_0x572f7a[_0x572f7a[_0x223248(0x3bf)]=0x2ee5]=_0x223248(0x3bf),_0x572f7a[_0x572f7a[_0x223248(0x3ab)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x572f7a[_0x572f7a[_0x223248(0x218)]=0x32ca]=_0x223248(0x218),_0x572f7a[_0x572f7a[_0x223248(0x34d)]=0x32cb]=_0x223248(0x34d),_0x572f7a[_0x572f7a[_0x223248(0x18d)]=-0x1]=_0x223248(0x18d),_0x572f7a))(_0x44d99f||{}),_0x39d249=Object[_0x223248(0x265)],_0x1abf68=(_0x378231,_0xb9c3f,_0x2cb742,_0xfb7419)=>{const _0x1e588f=_0x223248;for(var _0x2e016a=_0xfb7419>0x1?void 0x0:_0xfb7419?_0x39d249(_0xb9c3f,_0x2cb742):_0xb9c3f,_0x44af41=_0x378231[_0x1e588f(0x25a)]-0x1,_0x2e167a;_0x44af41>=0x0;_0x44af41--)(_0x2e167a=_0x378231[_0x44af41])&&(_0x2e016a=_0x2e167a(_0x2e016a)||_0x2e016a);return _0x2e016a;},_0x2c589b=(_0x1d6f88,_0x1682b2)=>(_0x151c19,_0x486e1d)=>_0x1682b2(_0x151c19,_0x486e1d,_0x1d6f88);_0x4394f4[_0x223248(0x27a)]=class extends _0x380f2c[_0x223248(0x203)]{constructor(_0x4ddbec,_0x499a99,_0x4ce6b9){const _0x3342a7=_0x223248;super(),this['_instanceService']=_0x4ddbec,this[_0x3342a7(0x25e)]=_0x499a99,this['_configService']=_0x4ce6b9;}async[_0x223248(0x1ab)](_0x54497e,_0x2bf44c,_0x8d52d5,..._0x345404){const _0x491cfd=_0x223248;var _0x49c4e6,_0x5f2fdd,_0x5b3503,_0x24ec10;const _0x4af7aa=this[_0x491cfd(0x3da)][_0x491cfd(0x2f1)]();if(!_0x4af7aa)throw new Error(_0x491cfd(0x40e));const _0x27d255=((_0x49c4e6=this[_0x491cfd(0x418)][_0x491cfd(0x3d1)](_0x25172a[_0x491cfd(0x31b)]))!=null?_0x49c4e6:_0x25172a[_0x491cfd(0x2a7)])+'/'+_0x54497e+'/run/'+_0x2bf44c,_0x59a1cf=new URL(window['location']['href']),_0xcb2e1a={'scriptId':_0x54497e,'runId':(_0x5f2fdd=_0x59a1cf['searchParams'][_0x491cfd(0x3cf)]('runId'))!=null?_0x5f2fdd:'','function':_0x2bf44c,'unitId':_0x4af7aa[_0x491cfd(0x302)](),'argsOfFunction':JSON[_0x491cfd(0x26d)](_0x345404),'invokeId':(_0x5b3503=_0x8d52d5[_0x491cfd(0x3cd)])!=null?_0x5b3503:'','executionId':(_0x24ec10=_0x8d52d5[_0x491cfd(0x3af)])!=null?_0x24ec10:''};try{const _0x22d40=await this[_0x491cfd(0x25e)][_0x491cfd(0x3ad)](_0x27d255,{'body':_0xcb2e1a});return _0x22d40['body'][_0x491cfd(0x3cb)]&&_0x22d40[_0x491cfd(0x39c)][_0x491cfd(0x3cb)]['code']!==_0x44d99f['OK']?_0x491cfd(0x37a):_0x22d40[_0x491cfd(0x39c)]['result'];}catch{return'Failed';}}},_0x4394f4[_0x223248(0x27a)]=_0x1abf68([_0x2c589b(0x0,_0x380f2c[_0x223248(0x3fe)]),_0x2c589b(0x1,_0x380f2c['Inject'](_0x54dd82[_0x223248(0x1c0)])),_0x2c589b(0x2,_0x380f2c[_0x223248(0x3df)])],_0x4394f4['RemoteUniscriptService']),_0x4394f4[_0x223248(0x1c8)]=_0xd9adf4,_0x4394f4[_0x223248(0x22b)]=_0x51b8d1,_0x4394f4['SheetCollabCursorShape']=_0x337b75,_0x4394f4[_0x223248(0x251)]=_0x590cb8,_0x4394f4['WebURLService']=_0x105840,Object[_0x223248(0x40a)](_0x4394f4,Symbol[_0x223248(0x412)],{'value':_0x223248(0x323)});}));function _0x316b(_0x11ea3b,_0x56939d){const _0x2b511a=_0x2b51();return _0x316b=function(_0x316bd0,_0x4331d4){_0x316bd0=_0x316bd0-0x18c;let _0x1cd7a3=_0x2b511a[_0x316bd0];return _0x1cd7a3;},_0x316b(_0x11ea3b,_0x56939d);}function _0x2b51(){const _0x13a0eb=['ITransformService','_shapes','getStateCache','urlChange$','_config','OFFLINE','eventID','_getScale','_removeClearOtherTimer','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','createSocket','NodePositionConvertToRectRange','PERMISSION_DENIED','ColorKit','IBeforeCloseService','_unitOnClients','getLocalCacheKey','UniverSheets','url(#off-line-single_clip0_910_343)','_cursors','children','DeleteRangeMoveUpCommandId','save','getSheetBySheetId','_textBubble','gold400','body','_send','UniverDesign','_assignedColors','filter','search','OTHER_CLIENTS_EDITING','UnitStatus','indexOf','2116216FkthkC','_sheetSkeletonManagerService','show','_transformPreviousActiveRange','ONLINE','getSheetId','WECHAT_HAS_BEEN_BOUND','transformSelections','post','_getSessionTicket','executionId','cursorInfo','APPLY_DUPLICATED','runRefRangeMutations','pluginName','_cursorInfo$','syncEditingCollabCursor','undoState','APPLY_REJECT','SOCKET_FAILED_RETRY','restore','handleInsertRangeMoveRight','_online','APPLY_PERMISSION_DENIED','[CollaborationDataLoaderController]','collabCursorState$','INVITE_CODE_ALREADY_BOUND','_uiPartsService','translate(.97)','startColumn','collab-text-anchor-','endRow','Warning','getSkeleton','_hideTimer','SessionStatus','_doCreateSocket','asObservable','error','_getSaveTimeout','invokeId','InsertColCommandId','get','SetTextSelectionsOperation','getConfig','icon','textRanges','CommandType','getMemberID','complete','toString','onPointerMove$','637155cbCsit','_instanceService','getSheetObject','Unknown\x20user','_context','getOwnPropertySymbols','IConfigService','row','unload','BehaviorSubject','AWAITING_WITH_PENDING','startRow','jsxs','touchDependencies','_anchorDot','_localStorageService','loadUnit','getTypeOfUnitDisposed$','_docSkeletonManagerService','debounceTime','moveTo','PENDING','permission.content','debug','redoState','string','unit','useRef','doc.mutation.rich-text-editing','then','_removeCollabCursors','removeParam','use','_onCursorUpdate','_scheduleHeartbeat','_initDependencies','registerBeforeClose','IUniverInstanceService','lineTo','selection','_syncEditingCollabCursorService','_lastPointer','_localCacheService','getCurrentUnitForType','editingUnit','CollaborationSessionService','closePath','_render','Plugin','defineProperty','takeUntil','getAncestorScale','prototype','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','_range','shareReplay','toStringTag','@univerjs-pro/collaboration-client','LICENSE_EXPORT_SIZE_EXCEEDED','_refreshCollabCursors','7908lMPlNf','Workbook','_configService','contains','dispose$','ILocalStorageService','CollaborationSocketService','@univerjs/docs-ui','EffectRefRangId','fillRule','react','FETCH_MISS','_cachedData','replaceDocRanges','INotificationService','_saveTaskMap','ThemeService','black','next','BrowserCollaborationSocketService','UNRECOGNIZED','_backgroundColor','_init','handleMoveRange','MoveRangeCommandId','unsubscribe','round','DependentOn','popstate','_initEvent','jiqing500','connectInjector','startsWith','color','univer-text-red-500','#fff','_collaborationUIEventService','_docClipboardService','_registerDependencies','bottom','runId','DeleteRangeMoveLeftCommandId','_ensureSubject','react/jsx-runtime','some','SetWorksheetActivateCommand','RxDisposable','currentColor','UniverInstanceType','addObjects','runOnServer','exports','session.connection-failed','red300','key','transform','isTransformMutationFailure','_toggleOnline','drawWith','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','@univerjs/docs','tag','_document','Error','collabStatus.notCollab','docStateChange$','_docTransformIMECacheService','url(#$1','INVALID_ARGUMENT','arc','HTTPService','_startSheetCollabCursor','onLocalMutation','Subject','getActiveSheet','isArray','SHEET_VIEWPORT_KEY','@univerjs/drawing','CollaborationStatusDisplay','#FFF','function','concat','NOT_COLLAB','createElement','@univerjs/network','RemoveRowCommandId','transformByState','_startDocCollabCursor','29679RFRiwt','_injector','mutations','distinctUntilChanged','addEventListener','@univerjs/design','dispose','subscribe','0\x200\x2017\x2016','handleDeleteRangeMoveLeft','CollaborationEvent','DEFAULT_WS_SESSION_TICKET_URL','CollaborationStatus','replaceState','_collabCursorController','IDocClipboardService','INVITE_CODE_HAS_BEEN_UES','getCoordByCell','displayName','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','enableLocalCache','collabStatus.fetchMiss','disposeWithMe','LICENSE_IMPORT_SIZE_EXCEEDED','min','getColor','entries','rgba(255,\x20255,\x20255,\x200.01)','random','_transformHistoryAndStateStack','_commandService','m1Prime','_updateCollabCursors','handleDeleteRangeMoveUp','_imageIoService','amd','idSuffix','find','_cursorShapes','path','SUBMIT_CHANGESET_TIMEOUT','getViewport','LocaleService','USER_NOT_INVITED_CODE','_docTransformSelectionsService','colorChannel1','_scene','newValue','Disposable','registerComponent','searchParams','ISocketService','object','getUniverSheetInstance','setShapeProps','entityInit$','ILocalCacheService','NO_OTHER_CLIENTS_EDITING','_onCursorDelete','_anchor','isEditing','_clearOtherTimers','origin','current','rxjs','column','values','wsSessionTicketUrl','addObject','MOBILE_HAS_BEEN_BOUND','_scheduleClearOtherTimer','switchMap','ACTIVE_UNIT_EVENT_CHANNEL','skeleton','exhaustSavingTask','LOCAL_CACHE_INTERVAL_KEY','getUnhiddenWorksheets','@univerjs/engine-formula','univerjs-icon\x20univerjs-icon-','div','_urlService','UniverIcon','OnLineSingle','_initStatusComponent','svg','_notificationService','_handleHover','UNIVER_SHEET','IURLService','MemberService','clearTimeout','init','_scheduleSaving','cursorInfo$','rxjs/operators','@univerjs-pro/collaboration','_color','executeCommand','_getAnchorBounding','_dataLoaderService','_docSyncEditingCollabCursorService','_heartbeatTimer','_name','_docStateChangeManagerService','deserializeRangeWithSheet','add','transformRemoteChangeset','UniverEngineRender','_drawAnchor','transformMutation','collaboration.closeRoom','toDisposable','mergeOverrideWithDependencies','focused$','assign','attrs','text','1em','collabStatus.syncing','InsertRangeMoveDownCommandId','setParam','onMouseMove','getCurrentRevOfUnit','_refRangeService','_updateSubUnitFromURLParams','_updateURLWithCurrentState','WebBrowserSingleActiveUnitService','IImageIoService','_collabCursorState$','whenReady','_getMergeRange','deepClone','UniverProCollaboration','forEach','UniverProCollaborationClientUi','length','@univerjs/core','Rect','_logService','_httpService','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','setItem','_createSocketURL','CONFLICT','transformMutationsWithChangeset','_setupBeforeClosingHandler','getOwnPropertyDescriptor','collaboration-client-ui.config','getUndoRedoMutationParamsCache','DocIMEInputManagerService','set','DocStateChangeManagerService','xlink:href','APPLY_NON_SEQUENTIAL_REVISION','stringify','BuiltInUIPart','_transformUndoRedoStack','session.will-retry','saveOfflineData','getItem','UPDATE_CURSOR','history','imageSourceType','DOC_RANGE_TYPE','_disabled','pipe','DocSelectionManagerService','RemoteUniscriptService','NodePositionConvertToCursor','forwardRef','sessionTicket','onPointerLeave$','YUUMI_URL_COL_OUT_OF_RANGE','27LIrkam','TOO_MANY_REQUESTS','TEXT','MessageType','getCellPositionByOffset','_session','sheetID','map','debounce','combineLatest','subUnitId','registerDependencies','source','collabStatus.offline','loadOfflineData','params','Injector','serializeRangeWithSheet','none','unitID','event$','_eventUnsubscribe','throttleTime','includes','activeSheet$','_registerRenderDependencies','YUUMI_RATE_OVER_LIMIT','_localeService','APPLY_REVISION_CONFILICT','NOT_FOUND','setUndoRedoMutationParamsCache','useDependency','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','data','0\x200\x2016\x2016','fillStyle','labelPosition','onPointerEnter$','evenodd','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','call','unshift','actions','defIds','isTransformMutationsWithChangesetSuccess','YUUMI_NO_CUBOID_FOR_QUESTION','368zuEtsG','LICENSE_DISTRO_REJECTED','React','font','mapTo','application/json','_cursor','name','RevisionService','_drawRectRange','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','COLORS','clipPath','width','collabStatus.synced','setInterval','setAlpha','registerRenderModule','_hovered','reconnect','makeDirty','DocSkeletonManagerService','size','fillText','_initEntityListener','defs','PY_RUNTIME_SCRIPT_ERROR','fill','UniverDocs','CHANGESET_REVISION_CONFILICT','getRelativeToViewportCoord','updateOfflineData','univer-text-green-500','HEADER_MENU','MUTATION','on-line-single_clip0_910_349','requireSession','@univerjs/ui','roomMembers','_handleHeartbeatEvent','FromArray','_docTransformStateCacheService','roomMembers$','createInstance','UniverRpc','_handleJoinEvent','findNodePositionByCharIndex','from','25006910FzyTZn','4042339ZeTlCn','assignAColorForMemberID','UniverCollaborationClientPlugin','split','url(#on-line-single_clip0_910_349)','has','UniverCollaborationClientUIPlugin','_initCommandExecutedListener','CLOSE_ROOM','VIEW_MAIN','sessionStatus$','verdancy600','_labelPosition','collaboration-client.offline-data-not-saved','top','_colorIndex','collaboration.single-unit.warning','getFocusedUnit','_initStatusListener','href','getRangePointData','_onRefRangeChange','getValue','Rectangle','_entities','SNAPSHOT_HAS_BEEN_REMOVED','hasOwnProperty','SOCKET_FAILED','beginPath','UniverUi','ISnapshotServerService','@univerjs/engine-render','IMessageService','AWAITING','getUnitId','_handleEvent','UNDEFINED','getOffsetConfig','createIdentifier','_unitStatus','_setupSubUnitSync','with','@univerjs/sheets-ui','USERS_LEAVE','ticket','push','_selfUnitIDs','UNIVER_DOC','1703292JJWRbt','INVALID_INVITE_CODE','...','getParam','generateRandomId','location','_initResize','subunit','_messageService','RegularPolygon','CollaborationDataLoaderController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Tools','_draw','useCallback','_hover','Shape','getCollabCursors$','getDocRanges','Module','on-line-single','ILogService','_drawTextRange','getTypeOfUnitAdded$','_toggleOffline','_transformService','jsx','_status$','_roomMembers$','UniverSheetsUi','DesktopCollaborationStatusDisplayController','registerRefRange','DisposableCollection','measureText','_revisionService','UniverCore','getRenderById','UniverDocsUi','override','height','status$','fromEventSubject','type','parse','toRgbString','_saveCache','2095glklSU','_univerInstanceService','all','unitId','getCurrent','SheetSkeletonManagerService','delete','IUIPartsService','ENSURE_SNAPSHOT_EXECUTION','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ranges','RichTextEditingMutation','transformStateCache','univer-flex\x20univer-mr-2\x20univer-text-[20px]','EMAIL_HAS_BEEN_BOUND','_colorAssignService','getCurrentSelections','onRendered','INTERNAL_ERROR','Inject','m2Prime','_entityInit$','CollaborationController','currentSkeleton$','pushState','TEXT_RANGE_LAYER_INDEX','YUUMI_UNABLE_LOAD_URL','blue400','Vector2','apply','currentTheme$','handleIRemoveRow','collabStatus.conflict','LOGIN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','purple300','extend','saveTaskMap','_memberService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','selections','_updateLocalCursor','off-line-single_clip0_910_343','UNAUTHENTICATED','CollaborationUIEventId','send','endColumn','ICommandService','operators','_beforeCloseService','handleInsertRangeMoveDown','DataLoaderService','_renderManagerService','sheetId','CONNECTOR_DATA_TOO_LARGE','CollaborationUIEventService','JOIN_ROOM_FAILED','symbol','onStarting','Failed','clearInterval','SetDocZoomRatioOperation','onCommandExecuted','INVITE_CODE_REQUIRED','UniverDrawing','subscribeEvent','_themeService'];_0x2b51=function(){return _0x13a0eb;};return _0x2b51();}