@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-89a0949 → 0.6.10-experimental.20250428-261c0dd

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 _0x2eeb(){const _0x160d51=['add','textRanges','_collabCursorState$','drawWith','UNIVER_SHEET','defs','filter','getUnitId','serializeRangeWithSheet','INVITE_CODE_HAS_BEEN_UES','_clearOtherTimers','_refreshCollabCursors','@univerjs-pro/collaboration','OFFLINE','collabCursorState$','INTERNAL_ERROR','disableLocalCache','exhaustSavingTask','CONFLICT','get','_eventUnsubscribe','replaceDocRanges','svg','@univerjs/core','text','univer-flex\x20univer-items-center','IDocClipboardService','@univerjs/network','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INVALID_ARGUMENT','range','call','LocaleService','arc','newValue','executionId','UniverCollaborationClientPlugin','_beforeCloseService','getUnitStatus$','DeleteRangeMoveUpCommandId','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','UniverCollaborationClientUIPlugin','_document','getUnhiddenWorksheets','getTypeOfUnitAdded$','UPDATE_CURSOR','reconnect','Rect','IMessageService','_roomMembers$','PY_RUNTIME_SCRIPT_ERROR','ENSURE_SNAPSHOT_EXECUTION','isActive','getViewport','pluginName','RECT','EffectRefRangId','debounce','UniverDocs','WebURLService','_scene','0\x200\x2017\x2016','switchMap','_removeClearOtherTimer','eventID','createInstance','collabStatus.offline','SetTextSelectionsOperation','m2Prime','_config','_hovered','code','CollaborationUIEventId','complete','includes','_color','_cursorInfo$','getSheetObject','saveImage','UNDEFINED','getCollabCursors$','TEXT','UnitStatus','@univerjs/drawing','startColumn','transform','150jUDLcx','setAlpha','SheetCollabCursorShape','_initResize','NOT_COLLAB','CollaborationEvent','WebSocketService','attrs','268692okRyRw','Error','_getMergeRange','_docSkeleton','_registerRenderDependencies','throttleTime','_docStateChangeManagerService','trim','DocSkeletonManagerService','_toggleOffline','combineLatest','YUUMI_NO_CUBOID_FOR_QUESTION','TRANSFORM_CHANGE_OBSERVABLE_TYPE','source','getCollabEntity$','type','React','sessionTicket','executeCommand','InsertRangeMoveRightCommandId','runId','2XjhjmL','asObservable','UniverRpc','3EkQakF','disposeWithMe','220eRLydH','bottom','triggerDblclick','_updateURLWithCurrentState','JOIN_ROOM_FAILED','clsx','Inject','InsertRowCommandId','UniverIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','popstate','_id','_assignedColors','fillStyle','getParam','collaboration.single-unit.warning','registerBeforeClose','undoState','RxDisposable','override','deepClone','LICENSE_DISTRO_REJECTED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_localCacheService','_cachedData','currentTheme$','FETCH_MISS','getCurrent','setStateCache','_collabCursorController','MessageType','handleDeleteRangeMoveLeft','USERS_LEAVE','1853224HsOeBN','length','addObjects','session.collaboration-timeout','cursorInfo','registerRefRange','collabStatus.synced','transformSelections','PERMISSION_DENIED','evenodd','getSheetId','createElement','UniverCore','onPointerMove$','UniverProCollaboration','delete','_hover','NO_OTHER_CLIENTS_EDITING','docStateChange$','SheetsSelectionsService','WebBrowserSingleActiveUnitService','on-line-single','top','univer-text-red-500','Tooltip','UniverSheets','OnLineSingle','isTransformMutationFailure','sheetID','APPLY_REVISION_CONFILICT','substring','_getSheetObject','_uiPartsService','getConfig','UniverUi','RegularPolygon','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','tag','toDisposable','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','_draw','_localStorageService','defineProperty','getCoordByCell','APPLY_NON_SEQUENTIAL_REVISION','requireSession','Tools','unload','useObservable','roomMembers$','_selfUnitIDs','VIEW_MAIN','with','getOwnPropertySymbols','CollaborationUIEventService','_doCreateSocket','onPointerEnter$','getRangePointData','getMemberID','getVpScrollXYInfoByPosToVp','setShapeProps','_notificationService','jsxs','_updateLocalCursor','handleDeleteRangeMoveUp','dispose','hasOwnProperty','_transformHistoryAndStateStack','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','max','fillText','isArray','IUIPartsService','DocStateChangeManagerService','BehaviorSubject','session.will-retry','extend','_docTransformSelectionsService','Failed','map','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','MoveRangeCommandId','@univerjs-pro/collaboration-client','_transformPreviousActiveRange','concat','clipPath','482891AGATNm','distinctUntilChanged','all','backgroundColor','_setupSubUnitSync','univerjs-icon\x20univerjs-icon-','CollaborationStatusDisplay','_lastPointer','_handleHeartbeatEvent','off-line-single','Disposable','_getAnchorBounding','Optional','prototype','translate(.97)','selection','displayName','removeParam','_commandService','rxjs','_unitOnClients','_scheduleClearOtherTimer','_docTransformStateCacheService','_online','assignAColorForMemberID','_collabSessionService','operators','collabStatus.syncing','labelPosition','setItem','CLOSE_ROOM','getUniverSheetInstance','addClipboardHook','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','MOBILE_HAS_BEEN_BOUND','addObject','collaboration-client.offline-data-not-saved','_onRefRangeChange','hide','_cursorShapes','next','ThemeService','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/engine-render','merge','NOT_FOUND','IBeforeCloseService','colorChannel1','session.connection-failed','@univerjs/rpc','className','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','UniverEngineRender','getOwnPropertyDescriptor','name','CollaborationStatus','column','registerDependencies','values','COLORS','_logService','INVITE_CODE_ALREADY_BOUND','font','_memberService','_drawAnchor','history','DOC_RANGE_TYPE','_heartbeatTimer','searchParams','#FFF','replace','Unknown\x20user','_localeService','@univerjs/ui','addEventListener','SNAPSHOT_INVALID_SNAPSHOT','DEFAULT_WS_SESSION_TICKET_URL','show','getLocalCacheKey','getUndoRedoMutationParamsCache','ILocalStorageService','_collaborationController','BrowserCollaborationSocketService','CollaborationController','disposeUnit','CommandType','getAncestorScale','status$','toStringTag','unshift','setParam','cursorInfo$','/run/','TEXT_RANGE_LAYER_INDEX','wsSessionTicketUrl','_handleJoinEvent','HEADER_MENU','transformMutation','registerRenderModule','error','CHANGESET_REVISION_CONFILICT','react/jsx-runtime','RichTextEditingMutation','_initStatusComponent','RevisionService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_getScale','resize','size','@univerjs/docs-ui','_ensureSubject','doc.mutation.rich-text-editing','_initStatusListener','replaceState','Shape','onPointerLeave$','UniverProCollaborationClient','some','RemoteUniscriptService','unit','unitId','mapTo','fill','activeSheet$','data','_docSkeletonManagerService','_startSheetCollabCursor','indexOf','mask','_initCommandExecutedListener','engine','fillRule','react','_startDocCollabCursor','LOCAL_CACHE_INTERVAL_KEY','invokeId','_name','propertyIsEnumerable','_univerInstanceService','handleInsertRangeMoveRight','NodePositionConvertToRectRange','unsubscribe','black','getTypeOfUnitDisposed$','storage','random','_entities','UNIVER_DOC','ICommandService','_messageService','ILogService','LOCAL_CACHE_INTERVAL','_saveTaskMap','push','body','getCurrentRevOfUnit','_docTransformIMECacheService','toString','onStarting','getSkeleton','_sheetSkeletonManagerService','url(#on-line-single_clip0_910_349)','getDocRanges','onCommandExecuted','clearTimeout','_session','subscribe','_removeCollabCursors','debug','urlChange$','UniverNetwork','lineTo','OTHER_CLIENTS_EDITING','parse','generateRandomId','RemoveColCommandId','_collaborationUIEventService','_httpService','handleInsertCol','_initDependencies','getColor','measureText','_onCursorDelete','INVALID_INVITE_CODE','runRefRangeMutations','save','_unitStatus','setUndoRedoMutationParamsCache','takeUntil','SessionStatus','loadUnit','UniverDocsUi','UniverProCollaborationClientUi','UniverInstanceType','onRendered','IURLService','setActiveRange','isTransformMutationsWithChangesetSuccess','hovered','then','selections','_handleHover','UNAUTHENTICATED','entityInit$','clearInterval','collabStatus.notCollab','getActiveRange','forwardRef','getCurrentSelections','OffLineSingle','addHandlerCallback','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','makeDirty','_labelPosition','_initEvent','_init','function','YUUMI_ASYNCIO_CANCELLED','updateOfflineData','DocCollaborationEntity','transformMutationsWithChangeset','InsertColCommandId','send','whenReady','APPLY_REJECT','Vector2','_shapes','transformRemoteChangeset','_anchorDot','univer-text-green-500','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SUBMIT_CHANGESET_TIMEOUT','DataLoaderService','UniverSheetsUi','idSuffix','stringify','IUniverInstanceService','_saveCache','_docSyncEditingCollabCursorService','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','restore','_cursors','getFocusedUnit','@univerjs/sheets-ui','_syncEditingCollabCursorService','_docClipboardService','SYNCED','collaboration-client-ui.config','jsx','DocIMEInputManagerService','COMPLETION_FINISHED','split','_anchor','sessionStatus$','m1Prime','forEach','div','EMAIL_HAS_BEEN_BOUND','path','post','Warning','useDependency','M0\x200H16V16H0z','actions','endRow','...','has','UniverDesign','enableLocalCache','ITransformService','1em','transformIMECache','useCallback','event$','_updateSubUnitFromURLParams','_colorIndex','ILocalCacheService','_registerDependencies','getRenderById','endColumn','unitID','@univerjs/sheets','application/json','_range','setInterval','getRelativeToViewportCoord','init','xlink:href','@univerjs/engine-formula','LICENSE_MAX_UNITS_EXCEEDED','row','SOCKET_FAILED_RETRY','6147496rDezUw','subunit','_revisionService','SheetSkeletonManagerService','currentSkeleton$','_handleLeaveEvent','color','width','_getSessionTicket','IConfigService','DesktopCollaborationStatusDisplayController','startRow','_renderManagerService','registerComponent','fromEventSubject','defIds','round','href','params','string','BuiltInUIPart','amd','Plugin','children','pushState','_imageIoService','currentColor','getCellPositionByOffset','onMouseMove','useRef','_send','[CollaborationDataLoaderController]','_entityInit$','min','CONNECTOR_DATA_TOO_LARGE','setConfig','ranges','_scheduleHeartbeat','HTTPService','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','ISocketService','ONLINE','_transformUndoRedoStack','key','_colorAssignService','collaboration.closeRoom','icon','rxjs/operators','getMember','271638UnDqRj','url(#$1','_injector','subUnitId','IImageIoService','_toggleOnline','debounceTime','_render','redoState','Subject','saveTaskMap','roomMembers','location','mutations','from','off-line-single_clip0_910_343','ColorKit','getSheetBySheetId','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','mergeOverrideWithDependencies','subscribeEvent','Workbook','_themeService','_configService','CollaborationSessionService','connectInjector','AWAITING_WITH_PENDING','CollaborationDataLoaderController','closePath','INVITE_CODE_REQUIRED','isEditing','_refRangeService','ALREADY_EXISTS','_dataLoaderService','entries','pipe','_context','_hideTimer','red300','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','on-line-single_clip0_910_349','startsWith','Injector','getStateCache','SOCKET_FAILED','_backgroundColor','_createSocketURL','NodePositionConvertToCursor','_textBubble','origin','_updateCollabCursors','getMergeData','YUUMI_RATE_OVER_LIMIT','_disabled','IRenderManagerService','getActiveSheet','assign','handleInsertRangeMoveDown','getValue','349671zDIbFj','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onCursorUpdate','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','IRemoteInstanceService','MemberService','190wcETAQ','_cursor','3814885WWCzrt','_transformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','_initEntityListener','UNRECOGNIZED'];_0x2eeb=function(){return _0x160d51;};return _0x2eeb();}function _0x37a6(_0x551e2a,_0x40ddd6){const _0x2eebde=_0x2eeb();return _0x37a6=function(_0x37a6ae,_0x4422a6){_0x37a6ae=_0x37a6ae-0x1e2;let _0x5b2066=_0x2eebde[_0x37a6ae];return _0x5b2066;},_0x37a6(_0x551e2a,_0x40ddd6);}(function(_0xc6c5e1,_0x3775d0){const _0xf088d1=_0x37a6,_0x37fa77=_0xc6c5e1();while(!![]){try{const _0x466ebb=-parseInt(_0xf088d1(0x24e))/0x1*(parseInt(_0xf088d1(0x468))/0x2)+parseInt(_0xf088d1(0x46b))/0x3*(-parseInt(_0xf088d1(0x376))/0x4)+parseInt(_0xf088d1(0x3ef))/0x5+-parseInt(_0xf088d1(0x44b))/0x6*(-parseInt(_0xf088d1(0x3e5))/0x7)+-parseInt(_0xf088d1(0x1f7))/0x8+parseInt(_0xf088d1(0x3a8))/0x9*(parseInt(_0xf088d1(0x3ed))/0xa)+parseInt(_0xf088d1(0x46d))/0xb*(parseInt(_0xf088d1(0x453))/0xc);if(_0x466ebb===_0x3775d0)break;else _0x37fa77['push'](_0x37fa77['shift']());}catch(_0x131402){_0x37fa77['push'](_0x37fa77['shift']());}}}(_0x2eeb,0xbed5e),function(_0x12157c,_0x5d5bcf){const _0x2e1a60=_0x37a6;typeof exports=='object'&&typeof module<'u'?_0x5d5bcf(exports,require(_0x2e1a60(0x24a)),require(_0x2e1a60(0x40c)),require(_0x2e1a60(0x27a)),require(_0x2e1a60(0x410)),require(_0x2e1a60(0x2bd)),require(_0x2e1a60(0x448)),require(_0x2e1a60(0x261)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x2e1a60(0x372)),require(_0x2e1a60(0x36b)),require(_0x2e1a60(0x3a6)),require(_0x2e1a60(0x345)),require(_0x2e1a60(0x2b5)),require('@univerjs/ui'),require('@univerjs/design'),require(_0x2e1a60(0x2d4)),require(_0x2e1a60(0x280))):typeof define==_0x2e1a60(0x329)&&define[_0x2e1a60(0x38b)]?define(['exports','@univerjs-pro/collaboration-client',_0x2e1a60(0x40c),_0x2e1a60(0x27a),_0x2e1a60(0x410),_0x2e1a60(0x2bd),_0x2e1a60(0x448),_0x2e1a60(0x261),'@univerjs/docs',_0x2e1a60(0x401),_0x2e1a60(0x372),_0x2e1a60(0x36b),'rxjs/operators',_0x2e1a60(0x345),_0x2e1a60(0x2b5),_0x2e1a60(0x299),'@univerjs/design',_0x2e1a60(0x2d4),_0x2e1a60(0x280)],_0x5d5bcf):(_0x12157c=typeof globalThis<'u'?globalThis:_0x12157c||self,_0x5d5bcf(_0x12157c[_0x2e1a60(0x310)]={},_0x12157c[_0x2e1a60(0x2c4)],_0x12157c[_0x2e1a60(0x203)],_0x12157c[_0x2e1a60(0x284)],_0x12157c[_0x2e1a60(0x2fa)],_0x12157c[_0x2e1a60(0x30f)],_0x12157c['UniverDrawing'],_0x12157c[_0x2e1a60(0x261)],_0x12157c[_0x2e1a60(0x42f)],_0x12157c[_0x2e1a60(0x205)],_0x12157c['UniverEngineFormula'],_0x12157c[_0x2e1a60(0x210)],_0x12157c[_0x2e1a60(0x261)][_0x2e1a60(0x268)],_0x12157c[_0x2e1a60(0x33a)],_0x12157c[_0x2e1a60(0x463)],_0x12157c[_0x2e1a60(0x219)],_0x12157c[_0x2e1a60(0x35d)],_0x12157c['React'],_0x12157c[_0x2e1a60(0x46a)]));}(this,function(_0x2becbd,_0x5557ff,_0x49eaeb,_0x506afb,_0x23e63f,_0x3c8f3f,_0x1182f3,_0x1a1591,_0x54d7ba,_0x579da8,_0x20a384,_0x11631c,_0x35f2b8,_0x5f076c,_0x59198a,_0x284e97,_0x381eec,_0x1a1d3a,_0x339d10){'use strict';const _0x29a50d=_0x37a6;var _0xcd50a7=Object[_0x29a50d(0x222)],_0x1b35ec=(_0x26502c,_0x49ef06,_0x1680c4)=>_0x49ef06 in _0x26502c?_0xcd50a7(_0x26502c,_0x49ef06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1680c4}):_0x26502c[_0x49ef06]=_0x1680c4,_0x2d5d22=(_0x3330a8,_0x3036ff,_0x1bc605)=>_0x1b35ec(_0x3330a8,typeof _0x3036ff!='symbol'?_0x3036ff+'':_0x3036ff,_0x1bc605),_0x551851=Object[_0x29a50d(0x285)],_0x14ef93=(_0xdea14,_0x521703,_0x30aa7b,_0x5ad3e0)=>{for(var _0x37068f=_0x5ad3e0>0x1?void 0x0:_0x5ad3e0?_0x551851(_0x521703,_0x30aa7b):_0x521703,_0x3f4e08=_0xdea14['length']-0x1,_0x199792;_0x3f4e08>=0x0;_0x3f4e08--)(_0x199792=_0xdea14[_0x3f4e08])&&(_0x37068f=_0x199792(_0x37068f)||_0x37068f);return _0x37068f;},_0xb58c59=(_0x1f0ac4,_0x20b374)=>(_0x59b2c5,_0x3b5999)=>_0x20b374(_0x59b2c5,_0x3b5999,_0x1f0ac4);let _0x450d8e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x5f0a8a,_0xba3e25){const _0x1496f3=_0x29a50d;super(),this[_0x1496f3(0x347)]=_0x5f0a8a,this[_0x1496f3(0x38f)]=_0xba3e25,this[_0x1496f3(0x328)]();}[_0x29a50d(0x328)](){const _0x28b8a6=_0x29a50d,_0x194490=this;this['disposeWithMe'](this[_0x28b8a6(0x347)][_0x28b8a6(0x26e)]({'onBeforePasteImage':async _0x105b59=>{const _0x44e711=_0x28b8a6,_0x214b72=await _0x194490['_imageIoService'][_0x44e711(0x443)](_0x105b59);return _0x214b72?{'source':_0x214b72[_0x44e711(0x460)],'imageSourceType':_0x214b72['imageSourceType']}:null;}}));}};_0x450d8e=_0x14ef93([_0xb58c59(0x0,_0x3c8f3f[_0x29a50d(0x40f)]),_0xb58c59(0x1,_0x1182f3[_0x29a50d(0x3ac)])],_0x450d8e);const _0x338c20=['purple300','jiqing500','verdancy600',_0x29a50d(0x3cf),'blue400','gold400'];class _0x2b7743 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x1a25f3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x1a25f3(0x1e2),new Map()),_0x2d5d22(this,_0x1a25f3(0x365),0x0);}['assignAColorForMemberID'](_0x26af6a){const _0x4745a0=_0x29a50d;if(this['_assignedColors'][_0x4745a0(0x35c)](_0x26af6a))return this['_assignedColors'][_0x4745a0(0x408)](_0x26af6a);const _0x3eaf0f=_0x338c20[this['_colorIndex']];return this['_colorIndex']=(this[_0x4745a0(0x365)]+0x1)%_0x338c20['length'],this[_0x4745a0(0x1e2)][_0x4745a0(0x3e6)](_0x26af6a,_0x3eaf0f),_0x3eaf0f;}}function _0x446ae4(_0x401bad){const _0x4df26a=_0x29a50d;let _0x19f519='';for(const _0x143d5a of _0x401bad){const {startOffset:_0x1702bf,endOffset:_0x3424d4,isActive:_0x1234e8,rangeType:_0x8fc05b,segmentId:_0x5ada5e,segmentPage:_0x5d2d89}=_0x143d5a;_0x19f519[_0x4df26a(0x1f8)]&&(_0x19f519+=','),_0x19f519+=_0x1702bf+':'+_0x3424d4+':'+(_0x1234e8?'1':'0')+':'+_0x8fc05b+':'+_0x5ada5e+':'+_0x5d2d89;}return _0x19f519;}function _0x29cfa8(_0x3ffc68){const _0x365d9e=_0x29a50d,_0x1d2685=_0x3ffc68[_0x365d9e(0x34d)](','),_0x4cf2f5=[];for(const _0x583d15 of _0x1d2685){const [_0x3bfd03,_0x230076,_0x33d4b2,_0x583e44,_0x9bf7a1,_0x3b497b]=_0x583d15[_0x365d9e(0x34d)](':');_0x4cf2f5[_0x365d9e(0x2e9)]({'startOffset':Number(_0x3bfd03),'endOffset':Number(_0x230076),'collapsed':_0x3bfd03===_0x230076,'isActive':_0x33d4b2==='1','rangeType':_0x583e44===_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]?_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]:_0x49eaeb[_0x365d9e(0x292)]['RECT'],'segmentId':typeof _0x9bf7a1==_0x365d9e(0x389)?String(_0x9bf7a1):'','segmentPage':Number(_0x3b497b!=null?_0x3b497b:-0x1)});}return _0x4cf2f5[_0x365d9e(0x2c5)](_0xe50898=>_0xe50898[_0x365d9e(0x429)])||(_0x4cf2f5[0x0][_0x365d9e(0x429)]=!0x0),_0x4cf2f5;}class _0xb3c406 extends _0x49eaeb['RxDisposable']{constructor(){const _0x441bd3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x441bd3(0x3f7),new _0x1a1591[(_0x441bd3(0x242))](null)),_0x2d5d22(this,_0x441bd3(0x403),this[_0x441bd3(0x3f7)]['asObservable']());}['syncEditingCollabCursor'](_0x2b660b){const _0x4335cf=_0x29a50d,{unitID:_0x1dc5cd,memberID:_0x4003bf,textRanges:_0x46289c}=_0x2b660b,_0x263cde=_0x446ae4(_0x46289c);if(_0x263cde==='')return;const _0x15afb5={'unitID':_0x1dc5cd,'memberID':_0x4003bf,'selection':_0x263cde};this[_0x4335cf(0x3f7)][_0x4335cf(0x277)](_0x15afb5);}}var _0x5054d1=Object[_0x29a50d(0x285)],_0x51b10f=(_0x426160,_0x2825cb,_0x102b86,_0x4dbe65)=>{const _0x50ef68=_0x29a50d;for(var _0x4a8c69=_0x4dbe65>0x1?void 0x0:_0x4dbe65?_0x5054d1(_0x2825cb,_0x102b86):_0x2825cb,_0x6a55a4=_0x426160[_0x50ef68(0x1f8)]-0x1,_0xe0b8f3;_0x6a55a4>=0x0;_0x6a55a4--)(_0xe0b8f3=_0x426160[_0x6a55a4])&&(_0x4a8c69=_0xe0b8f3(_0x4a8c69)||_0x4a8c69);return _0x4a8c69;},_0x219835=(_0x560f15,_0x1fc4d9)=>(_0x2f5958,_0x62cd3)=>_0x1fc4d9(_0x2f5958,_0x62cd3,_0x560f15);const _0x83ff0b=0x12c,_0x119ba9=0x64;let _0x1c5ab0=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x513a54,_0x179075,_0x49db95,_0x34330c,_0x1c2e08,_0x502821,_0x1bfbc3,_0xfc901b,_0x4fee77){const _0x351c3c=_0x29a50d;super(),_0x2d5d22(this,_0x351c3c(0x265),!0x1),_0x2d5d22(this,_0x351c3c(0x328),!0x1),_0x2d5d22(this,'_cursorInfo$',new _0x1a1591[(_0x351c3c(0x242))](new Map())),_0x2d5d22(this,_0x351c3c(0x2ab),this[_0x351c3c(0x441)][_0x351c3c(0x469)]()),_0x2d5d22(this,'_roomMembers$',new _0x1a1591[(_0x351c3c(0x242))]([])),_0x2d5d22(this,_0x351c3c(0x229),this['_roomMembers$'][_0x351c3c(0x3cc)](_0x1a1591[_0x351c3c(0x3ae)](_0x83ff0b))),_0x2d5d22(this,_0x351c3c(0x237),_0x49eaeb[_0x351c3c(0x42e)](_0x49d24d=>{const _0x4727e5=_0x351c3c,_0x36503c={'eventID':_0x579da8[_0x4727e5(0x450)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4727e5(0x36a)],'memberID':this[_0x4727e5(0x2f5)][_0x4727e5(0x232)](),'selection':_0x446ae4(_0x49d24d)}};this['_session'][_0x4727e5(0x32f)](_0x36503c,this[_0x4727e5(0x36a)]);},_0x119ba9)),(this[_0x351c3c(0x36a)]=_0x513a54,this[_0x351c3c(0x2f5)]=_0x179075,this[_0x351c3c(0x3aa)]=_0x49db95,this[_0x351c3c(0x3a3)]=_0x34330c,this[_0x351c3c(0x28f)]=_0x1c2e08,this[_0x351c3c(0x346)]=_0x502821,this[_0x351c3c(0x3f0)]=_0x1bfbc3,this['_univerInstanceService']=_0xfc901b,this['_commandService']=_0x4fee77);}get['cursorInfo'](){const _0x2682ee=_0x29a50d;return this['_cursorInfo$'][_0x2682ee(0x3e4)]();}get[_0x29a50d(0x3b3)](){const _0x4487ec=_0x29a50d;return this[_0x4487ec(0x426)][_0x4487ec(0x3e4)]();}['dispose'](){const _0x40b886=_0x29a50d;super['dispose'](),this['_cursorInfo$'][_0x40b886(0x277)](new Map()),this['_cursorInfo$'][_0x40b886(0x43e)](),this['_roomMembers$'][_0x40b886(0x277)]([]),this[_0x40b886(0x426)]['complete']();}['init'](){const _0x455920=_0x29a50d;this[_0x455920(0x328)]||(this['_init']=!0x0,this['_session'][_0x455920(0x34f)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this[_0x455920(0x324)]))[_0x455920(0x2f6)](_0x326f28=>{const _0x416bf3=_0x455920;_0x326f28===_0x5557ff['SessionStatus'][_0x416bf3(0x3a0)]?this[_0x416bf3(0x3ad)]():this[_0x416bf3(0x45c)]();}),this[_0x455920(0x2f5)][_0x455920(0x363)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))[_0x455920(0x2f6)](_0x39bb15=>{const _0x409c6f=_0x455920,_0x70c63b=_0x39bb15['eventID'];_0x70c63b===_0x579da8['CollaborationEvent'][_0x409c6f(0x422)]&&this[_0x409c6f(0x3e8)](_0x39bb15),_0x70c63b===_0x579da8[_0x409c6f(0x450)][_0x409c6f(0x1f6)]&&this[_0x409c6f(0x306)](_0x39bb15);}),this[_0x455920(0x46c)](this[_0x455920(0x260)]['onCommandExecuted'](_0x4fabcf=>{const _0x3ff2c9=_0x455920,_0xf4349c=_0x4fabcf['params'];_0xf4349c!=null&&this[_0x3ff2c9(0x265)]&&_0x4fabcf['id']===_0x54d7ba[_0x3ff2c9(0x438)]['id']&&_0xf4349c[_0x3ff2c9(0x2c8)]===this[_0x3ff2c9(0x36a)]&&_0xf4349c[_0x3ff2c9(0x3c7)]===!0x1&&_0xf4349c['ranges'][_0x3ff2c9(0x1f8)]>0x0&&this[_0x3ff2c9(0x237)](_0xf4349c[_0x3ff2c9(0x39a)]);})),this[_0x455920(0x346)][_0x455920(0x403)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))['subscribe'](_0x108636=>{const _0x88ff59=_0x455920;if((_0x108636==null?void 0x0:_0x108636[_0x88ff59(0x36a)])!==this['unitID'])return;const _0x4e363b={'eventID':_0x579da8[_0x88ff59(0x450)][_0x88ff59(0x422)],'data':_0x108636};this[_0x88ff59(0x3e8)](_0x4e363b);}),this['disposeWithMe'](this[_0x455920(0x260)]['onCommandExecuted'](_0x382b72=>{const _0x39dd84=_0x455920;if(_0x382b72[_0x39dd84(0x388)]==null)return;const _0x3c2221=_0x382b72[_0x39dd84(0x388)];if(_0x382b72['id']!==_0x54d7ba[_0x39dd84(0x2b6)]['id']||_0x3c2221['unitId']!==this[_0x39dd84(0x36a)])return;const _0x12a3da={'id':'doc.mutation.rich-text-editing','params':_0x3c2221},_0xcfc386=this[_0x39dd84(0x1fb)];for(const [_0x25a8e3,_0x32cd38]of _0xcfc386){const _0x343b6c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x39dd84(0x36a)],'actions':null,'textRanges':_0x32cd38['ranges']}},_0x38f689=this[_0x39dd84(0x3f0)][_0x39dd84(0x2b1)](_0x12a3da,_0x343b6c,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x38f689))throw _0x38f689[_0x39dd84(0x2b3)];_0xcfc386[_0x39dd84(0x3e6)](_0x25a8e3,{..._0x32cd38,'ranges':_0x38f689[_0x39dd84(0x439)][_0x39dd84(0x388)][_0x39dd84(0x3f6)]});}queueMicrotask(()=>{const _0xc300e=_0x39dd84;this[_0xc300e(0x441)][_0xc300e(0x277)](_0xcfc386);});})));}[_0x29a50d(0x3e8)](_0x5d0272){const _0x2545b3=_0x29a50d;var _0x333df9,_0x17869f;const {memberID:_0x329ac6,selection:_0x2ecb3b}=_0x5d0272[_0x2545b3(0x2cc)],_0x3622c6=_0x29cfa8(_0x2ecb3b),_0x29cc2c=(_0x17869f=(_0x333df9=this[_0x2545b3(0x28f)][_0x2545b3(0x3a7)](this[_0x2545b3(0x36a)],_0x329ac6))==null?void 0x0:_0x333df9[_0x2545b3(0x286)])!=null?_0x17869f:_0x2545b3(0x297),_0x30594e={'color':this[_0x2545b3(0x3a3)][_0x2545b3(0x266)](_0x329ac6),'name':_0x29cc2c,'ranges':_0x3622c6},_0x3047a8=this['cursorInfo'];_0x3047a8[_0x2545b3(0x3e6)](_0x329ac6,_0x30594e),this[_0x2545b3(0x441)][_0x2545b3(0x277)](_0x3047a8);}[_0x29a50d(0x306)](_0x5e0663){const _0x370767=_0x29a50d,{memberID:_0x5bbdf3}=_0x5e0663[_0x370767(0x2cc)],_0x22ec5a=this[_0x370767(0x1fb)];_0x22ec5a[_0x370767(0x206)](_0x5bbdf3),this[_0x370767(0x441)][_0x370767(0x277)](_0x22ec5a);}['_toggleOnline'](){const _0xe21eb9=_0x29a50d;var _0x401d27;if(this['_online']=!0x0,((_0x401d27=this['_univerInstanceService'][_0xe21eb9(0x344)]())==null?void 0x0:_0x401d27[_0xe21eb9(0x3fc)]())!==this[_0xe21eb9(0x36a)])return;const _0x5bbfe4=this[_0xe21eb9(0x3aa)]['get'](_0x54d7ba['DocSelectionManagerService'])[_0xe21eb9(0x2f2)]();Array[_0xe21eb9(0x23f)](_0x5bbfe4)&&_0x5bbfe4[_0xe21eb9(0x1f8)]>0x0&&this['_updateLocalCursor'](_0x5bbfe4);}[_0x29a50d(0x45c)](){const _0x2c019e=_0x29a50d;this[_0x2c019e(0x265)]=!0x1;}};_0x1c5ab0=_0x51b10f([_0x219835(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x219835(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x219835(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3ec)])),_0x219835(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x219835(0x6,_0x579da8[_0x29a50d(0x35f)]),_0x219835(0x7,_0x49eaeb[_0x29a50d(0x33d)]),_0x219835(0x8,_0x49eaeb[_0x29a50d(0x2e4)])],_0x1c5ab0);var _0xcd30c5=Object[_0x29a50d(0x285)],_0x43ea1f=(_0x1fd67b,_0x229043,_0x2677a1,_0x446307)=>{const _0x1fca47=_0x29a50d;for(var _0x15e0bd=_0x446307>0x1?void 0x0:_0x446307?_0xcd30c5(_0x229043,_0x2677a1):_0x229043,_0x3028e0=_0x1fd67b[_0x1fca47(0x1f8)]-0x1,_0x3439bd;_0x3028e0>=0x0;_0x3028e0--)(_0x3439bd=_0x1fd67b[_0x3028e0])&&(_0x15e0bd=_0x3439bd(_0x15e0bd)||_0x15e0bd);return _0x15e0bd;},_0x3f2afc=(_0x1f55a7,_0x4435ad)=>(_0x7cc039,_0x2f8227)=>_0x4435ad(_0x7cc039,_0x2f8227,_0x1f55a7);const _0x39f794=0x12c,_0x2e42b2=0x64,_0x5c336a=()=>{let _0x453c86=[],_0x1412e9=!0x1;return _0x57169c=>{_0x453c86['push'](_0x57169c),_0x1412e9||(_0x1412e9=!0x0,setTimeout(()=>{const _0x75caee=_0x37a6;_0x453c86[_0x75caee(0x351)](_0x50a3a1=>_0x50a3a1()),_0x453c86=[],_0x1412e9=!0x1;}));};};let _0x2fd7eb=class extends _0x49eaeb['RxDisposable']{constructor(_0x2c43da,_0x222478,_0x121253,_0x2ae8b1,_0x862144,_0x53e0bd,_0x19c7d2,_0x4806c1){const _0x3221dc=_0x29a50d;super(),_0x2d5d22(this,_0x3221dc(0x265),!0x1),_0x2d5d22(this,_0x3221dc(0x328),!0x1),_0x2d5d22(this,_0x3221dc(0x441),new _0x1a1591[(_0x3221dc(0x242))](new Map())),_0x2d5d22(this,_0x3221dc(0x2ab),this['_cursorInfo$'][_0x3221dc(0x469)]()),_0x2d5d22(this,_0x3221dc(0x426),new _0x1a1591[(_0x3221dc(0x242))]([])),_0x2d5d22(this,_0x3221dc(0x229),this[_0x3221dc(0x426)][_0x3221dc(0x3cc)](_0x1a1591[_0x3221dc(0x3ae)](_0x39f794))),_0x2d5d22(this,_0x3221dc(0x237),_0x49eaeb[_0x3221dc(0x42e)]((_0x5741cb,_0x61c5ac)=>{const _0x4fab18=_0x3221dc,_0x226a25={'eventID':_0x579da8['CollaborationEvent'][_0x4fab18(0x422)],'data':{'unitID':this[_0x4fab18(0x36a)],'memberID':this[_0x4fab18(0x2f5)][_0x4fab18(0x232)](),'selection':_0x20a384[_0x4fab18(0x3fd)](_0x5741cb,_0x61c5ac[_0x4fab18(0x413)])}};this[_0x4fab18(0x2f5)]['send'](_0x226a25,this[_0x4fab18(0x36a)]);},_0x2e42b2)),(this[_0x3221dc(0x36a)]=_0x2c43da,this[_0x3221dc(0x2f5)]=_0x222478,this[_0x3221dc(0x3aa)]=_0x121253,this[_0x3221dc(0x3a3)]=_0x2ae8b1,this[_0x3221dc(0x28f)]=_0x862144,this[_0x3221dc(0x2da)]=_0x53e0bd,this[_0x3221dc(0x260)]=_0x19c7d2,this[_0x3221dc(0x3c8)]=_0x4806c1);}get[_0x29a50d(0x1fb)](){const _0x4b4509=_0x29a50d;return this['_cursorInfo$'][_0x4b4509(0x3e4)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x29a50d(0x239)](){const _0x1bac0c=_0x29a50d;super[_0x1bac0c(0x239)](),this[_0x1bac0c(0x441)]['next'](new Map()),this[_0x1bac0c(0x441)][_0x1bac0c(0x43e)](),this[_0x1bac0c(0x426)][_0x1bac0c(0x277)]([]),this[_0x1bac0c(0x426)][_0x1bac0c(0x43e)]();}['init'](){const _0x4f8907=_0x29a50d;this[_0x4f8907(0x328)]||(this[_0x4f8907(0x328)]=!0x0,this['_session'][_0x4f8907(0x34f)]['pipe'](_0x1a1591[_0x4f8907(0x30c)](this[_0x4f8907(0x324)]))['subscribe'](_0x3604fc=>{const _0x5adb01=_0x4f8907;_0x3604fc===_0x5557ff[_0x5adb01(0x30d)]['ONLINE']?this[_0x5adb01(0x3ad)]():this[_0x5adb01(0x45c)]();}),this[_0x4f8907(0x2f5)]['event$'][_0x4f8907(0x3cc)](_0x1a1591[_0x4f8907(0x30c)](this['dispose$']))[_0x4f8907(0x2f6)](_0x54931f=>{const _0x5a747e=_0x4f8907,_0x5491a0=_0x54931f[_0x5a747e(0x435)];_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x422)]&&this['_onCursorUpdate'](_0x54931f),_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x1f6)]&&this['_onCursorDelete'](_0x54931f);}),this['_onRefRangeChange'](),this[_0x4f8907(0x46c)](this[_0x4f8907(0x260)][_0x4f8907(0x2f3)](_0x372ce5=>{const _0x17eda2=_0x4f8907;if(this[_0x17eda2(0x265)]&&_0x372ce5['id']===_0x11631c['SetSelectionsOperation']['id']&&_0x372ce5[_0x17eda2(0x388)][_0x17eda2(0x2c8)]===this[_0x17eda2(0x36a)]){const _0x3652f1=_0x372ce5['params'];this[_0x17eda2(0x237)](_0x3652f1[_0x17eda2(0x3ab)],_0x3652f1[_0x17eda2(0x318)][0x0]);}})));}[_0x29a50d(0x3e8)](_0xb436f7){const _0x569fdf=_0x29a50d;var _0x51cb54,_0x8250de;const {memberID:_0x169483,selection:_0xc07e96}=_0xb436f7[_0x569fdf(0x2cc)],{sheetName:_0x4a286e,range:_0x42c8c1}=_0x20a384['deserializeRangeWithSheet'](_0xc07e96),_0x467615={'name':(_0x8250de=(_0x51cb54=this[_0x569fdf(0x28f)]['getMember'](this[_0x569fdf(0x36a)],_0x169483))==null?void 0x0:_0x51cb54['name'])!=null?_0x8250de:_0x569fdf(0x297),'range':this[_0x569fdf(0x455)](_0x4a286e,_0x42c8c1),'sheetID':_0x4a286e,'color':this[_0x569fdf(0x3a3)][_0x569fdf(0x266)](_0x169483),'selection':_0xc07e96},_0x26cdb6=this[_0x569fdf(0x1fb)];_0x26cdb6[_0x569fdf(0x3e6)](_0x169483,_0x467615),this[_0x569fdf(0x441)][_0x569fdf(0x277)](_0x26cdb6);}[_0x29a50d(0x306)](_0x17450b){const _0x34c533=_0x29a50d,{memberID:_0x140593}=_0x17450b[_0x34c533(0x2cc)],_0x19d781=this[_0x34c533(0x1fb)];_0x19d781[_0x34c533(0x206)](_0x140593),this[_0x34c533(0x441)][_0x34c533(0x277)](_0x19d781);}[_0x29a50d(0x455)](_0x523091,_0x3ee47a){const _0x563c42=_0x29a50d;var _0x1e1649,_0x3ab2f9;const _0x489506=(_0x3ab2f9=(_0x1e1649=this['_univerInstanceService'][_0x563c42(0x26d)](this['unitID']))==null?void 0x0:_0x1e1649[_0x563c42(0x3b9)](_0x523091))==null?void 0x0:_0x3ab2f9[_0x563c42(0x3dd)]();return(_0x489506==null?void 0x0:_0x489506['find'](_0x241d86=>_0x49eaeb['Rectangle']['contains'](_0x241d86,_0x3ee47a)))||_0x3ee47a;}[_0x29a50d(0x274)](){const _0x2d09db=_0x29a50d,_0x427032=new _0x49eaeb['DisposableCollection'](),_0x3df10c=_0x5c336a(),_0x313273=()=>{const _0x1fb24a=_0x37a6;_0x427032[_0x1fb24a(0x239)]();const _0x3b403c=(_0xec609d,_0x104623,_0x4abd5e,_0x3d3b46)=>{const _0x51a87f=_0x1fb24a;let _0xb7df29=[];switch(_0xec609d['id']){case _0x11631c['EffectRefRangId'][_0x51a87f(0x39e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x1f5)](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId'][_0x51a87f(0x41c)]:{_0xb7df29=_0x11631c[_0x51a87f(0x238)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x32e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x302)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)]['InsertRangeMoveDownCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3e3)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x466)]:{_0xb7df29=_0x11631c[_0x51a87f(0x2db)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x474)]:{_0xb7df29=_0x11631c['handleInsertRow'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x249)]:{_0xb7df29=_0x11631c['handleMoveRange'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x2ff)]:{_0xb7df29=_0x11631c['handleIRemoveCol'](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId']['RemoveRowCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3ea)](_0xec609d,_0x3d3b46);break;}}const _0xc99c4f=_0x11631c[_0x51a87f(0x308)](_0xb7df29,_0x3d3b46),_0x5a362c=this['cursorInfo'][_0x51a87f(0x408)](_0x104623);if(_0x5a362c&&_0xc99c4f){const _0x507f05={..._0x5a362c,'range':_0xc99c4f};this[_0x51a87f(0x1fb)][_0x51a87f(0x3e6)](_0x104623,_0x507f05),_0x3df10c(()=>{const _0x14a302=_0x51a87f,_0x31d5bd=this['_refRangeService'][_0x14a302(0x1fc)](_0xc99c4f,_0x282cea=>(_0x31d5bd[_0x14a302(0x239)](),_0x3b403c(_0x282cea,_0x104623,_0x4abd5e,_0xc99c4f)));_0x427032[_0x14a302(0x3f5)](_0x31d5bd);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1fb24a(0x351)]((_0x2e1fe8,_0x489215)=>{const _0x2738d0=_0x1fb24a,{range:_0x125390,sheetID:_0xf84377}=_0x2e1fe8,_0x41fd2d=this[_0x2738d0(0x3c8)][_0x2738d0(0x1fc)](_0x125390,_0x2d34c7=>(_0x41fd2d[_0x2738d0(0x239)](),_0x3b403c(_0x2d34c7,_0x489215,_0xf84377,_0x125390)));_0x427032[_0x2738d0(0x3f5)](_0x41fd2d);});};this[_0x2d09db(0x46c)](_0x49eaeb[_0x2d09db(0x21d)](this[_0x2d09db(0x441)][_0x2d09db(0x2f6)](()=>{_0x313273();})));}['_toggleOnline'](){const _0x59f179=_0x29a50d;var _0x4996d6,_0x4ea600;if(this['_online']=!0x0,((_0x4996d6=this[_0x59f179(0x2da)][_0x59f179(0x344)]())==null?void 0x0:_0x4996d6[_0x59f179(0x3fc)]())!==this[_0x59f179(0x36a)])return;const _0x53733e=(_0x4ea600=this[_0x59f179(0x3aa)][_0x59f179(0x408)](_0x11631c[_0x59f179(0x20a)])[_0x59f179(0x320)]())==null?void 0x0:_0x4ea600[0x0],_0x57549c=this['_univerInstanceService']['getCurrentUnitForType'](_0x49eaeb[_0x59f179(0x311)]['UNIVER_SHEET'])[_0x59f179(0x3e1)]();_0x53733e&&_0x57549c&&this[_0x59f179(0x237)](_0x57549c[_0x59f179(0x201)](),_0x53733e);}[_0x29a50d(0x45c)](){const _0x1de090=_0x29a50d;this[_0x1de090(0x265)]=!0x1;}};_0x2fd7eb=_0x43ea1f([_0x3f2afc(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x3f2afc(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x3f2afc(0x4,_0x49eaeb['Inject'](_0x5557ff[_0x29a50d(0x3ec)])),_0x3f2afc(0x5,_0x49eaeb[_0x29a50d(0x33d)]),_0x3f2afc(0x6,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3f2afc(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x11631c['RefRangeService']))],_0x2fd7eb);var _0x36a9ff=Object['getOwnPropertyDescriptor'],_0x1737f5=(_0x49396c,_0x1125fb,_0x3571a4,_0xcd829a)=>{const _0x4d82ce=_0x29a50d;for(var _0x184c4a=_0xcd829a>0x1?void 0x0:_0xcd829a?_0x36a9ff(_0x1125fb,_0x3571a4):_0x1125fb,_0x3f3bff=_0x49396c[_0x4d82ce(0x1f8)]-0x1,_0x2a2d6d;_0x3f3bff>=0x0;_0x3f3bff--)(_0x2a2d6d=_0x49396c[_0x3f3bff])&&(_0x184c4a=_0x2a2d6d(_0x184c4a)||_0x184c4a);return _0x184c4a;},_0xc4bb52=(_0x37f5a7,_0x42614c)=>(_0x33e6dd,_0x5d5beb)=>_0x42614c(_0x33e6dd,_0x5d5beb,_0x37f5a7);let _0x43f861=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fcae4,_0x137b54,_0x112c01){const _0xe095a3=_0x29a50d;super(),_0x2d5d22(this,_0xe095a3(0x2e2),new Map()),_0x2d5d22(this,_0xe095a3(0x396),new _0x1a1591[(_0xe095a3(0x3b1))]()),(this[_0xe095a3(0x2da)]=_0x1fcae4,this[_0xe095a3(0x3aa)]=_0x137b54,this[_0xe095a3(0x267)]=_0x112c01,this[_0xe095a3(0x328)]());}[_0x29a50d(0x239)](){const _0x4a0f8f=_0x29a50d;super['dispose'](),this[_0x4a0f8f(0x396)][_0x4a0f8f(0x43e)](),this['_entities']['forEach'](_0x478872=>_0x478872[_0x4a0f8f(0x239)]());}[_0x29a50d(0x445)](_0x25fe8d){const _0x262e8e=_0x29a50d;return this[_0x262e8e(0x2e2)][_0x262e8e(0x35c)](_0x25fe8d)?this[_0x262e8e(0x2e2)][_0x262e8e(0x408)](_0x25fe8d)[_0x262e8e(0x2ab)]:this[_0x262e8e(0x396)][_0x262e8e(0x3cc)](_0x1a1591[_0x262e8e(0x3fb)](_0x373c1d=>_0x373c1d[_0x262e8e(0x36a)]===_0x25fe8d),_0x1a1591[_0x262e8e(0x433)](_0x34df2e=>_0x34df2e[_0x262e8e(0x2ab)]));}[_0x29a50d(0x328)](){const _0x456ee3=_0x29a50d;this['_univerInstanceService'][_0x456ee3(0x421)](_0x49eaeb['UniverInstanceType'][_0x456ee3(0x3f9)])[_0x456ee3(0x3cc)](_0x1a1591['takeUntil'](this[_0x456ee3(0x324)]))['subscribe'](async _0x22d9b3=>{const _0x34d8b5=_0x456ee3,_0x48f54d=_0x22d9b3[_0x34d8b5(0x3fc)](),_0x186d60=await this[_0x34d8b5(0x2ce)](_0x48f54d);this[_0x34d8b5(0x396)][_0x34d8b5(0x277)](_0x186d60),this['_entities'][_0x34d8b5(0x3e6)](_0x48f54d,_0x186d60);}),this[_0x456ee3(0x2da)][_0x456ee3(0x421)](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x2e3)])['pipe'](_0x1a1591[_0x456ee3(0x30c)](this['dispose$']))[_0x456ee3(0x3cc)](_0x1a1591['filter'](_0x46c424=>!_0x46c424[_0x456ee3(0x3fc)]()[_0x456ee3(0x3d3)]('__')))[_0x456ee3(0x2f6)](async _0x434b42=>{const _0x15e9db=_0x456ee3,_0x527ed6=_0x434b42[_0x15e9db(0x3fc)](),_0x5d4e8d=await this['_startDocCollabCursor'](_0x527ed6);this['_entityInit$']['next'](_0x5d4e8d),this[_0x15e9db(0x2e2)][_0x15e9db(0x3e6)](_0x527ed6,_0x5d4e8d);}),_0x1a1591[_0x456ee3(0x27b)](this[_0x456ee3(0x2da)][_0x456ee3(0x2df)](_0x49eaeb[_0x456ee3(0x311)]['UNIVER_DOC']),this[_0x456ee3(0x2da)]['getTypeOfUnitDisposed$'](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x3f9)]))[_0x456ee3(0x3cc)](_0x1a1591[_0x456ee3(0x30c)](this[_0x456ee3(0x324)]))[_0x456ee3(0x2f6)](_0x88b0b0=>{const _0x3eeea0=_0x456ee3,_0x4805a7=_0x88b0b0['getUnitId'](),_0x876251=this['_entities']['get'](_0x4805a7);_0x876251&&(_0x876251['dispose'](),this[_0x3eeea0(0x2e2)][_0x3eeea0(0x206)](_0x4805a7));});}async[_0x29a50d(0x2ce)](_0x3d7417){const _0x36bc38=_0x29a50d,_0x392481=await this[_0x36bc38(0x267)][_0x36bc38(0x225)](_0x3d7417),_0x4e817a=this[_0x36bc38(0x3aa)][_0x36bc38(0x436)](_0x2fd7eb,_0x3d7417,_0x392481);return _0x4e817a[_0x36bc38(0x370)](),_0x4e817a;}async[_0x29a50d(0x2d5)](_0xf574ee){const _0x27c14f=_0x29a50d,_0x80cc8c=await this['_collabSessionService']['requireSession'](_0xf574ee),_0x20e90c=this['_injector'][_0x27c14f(0x436)](_0x1c5ab0,_0xf574ee,_0x80cc8c);return _0x20e90c[_0x27c14f(0x370)](),_0x20e90c;}};_0x43f861=_0x1737f5([_0xc4bb52(0x0,_0x49eaeb['IUniverInstanceService']),_0xc4bb52(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0xc4bb52(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3c1)]))],_0x43f861);const _0x595381=0x14,_0x25739e=0xc8,_0x5d12f1=0x4,_0x1aad98=0x5;function _0x1fa848(_0x2cfae3,_0x5b0dcf){const _0x2f3fc9=_0x29a50d;let {radius:_0x528f92,width:_0x251fca,height:_0x556f83}=_0x5b0dcf;_0x528f92=_0x528f92!=null?_0x528f92:0x0,_0x251fca=_0x251fca!=null?_0x251fca:0x1e,_0x556f83=_0x556f83!=null?_0x556f83:0x1e;let _0x2c1289=0x0,_0x50bd3d=0x0,_0x384fe2=0x0;_0x2c1289=_0x50bd3d=_0x384fe2=Math[_0x2f3fc9(0x397)](_0x528f92,_0x251fca/0x2,_0x556f83/0x2),_0x2cfae3['beginPath'](),_0x2cfae3['moveTo'](_0x2c1289,0x0),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca-_0x50bd3d,0x0),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x50bd3d,_0x50bd3d,_0x50bd3d,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca,_0x556f83-_0x384fe2),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x384fe2,_0x556f83-_0x384fe2,_0x384fe2,0x0,Math['PI']/0x2,!0x1),_0x2cfae3['lineTo'](0x0,_0x556f83),_0x2cfae3[_0x2f3fc9(0x2fb)](0x0,_0x2c1289),_0x2cfae3['arc'](_0x2c1289,_0x2c1289,_0x2c1289,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cfae3[_0x2f3fc9(0x3c5)](),_0x5b0dcf['fill']&&(_0x2cfae3[_0x2f3fc9(0x309)](),_0x2cfae3[_0x2f3fc9(0x1e3)]=_0x5b0dcf[_0x2f3fc9(0x2ca)],_0x5b0dcf[_0x2f3fc9(0x2d3)]==='evenodd'?_0x2cfae3[_0x2f3fc9(0x2ca)](_0x2f3fc9(0x200)):_0x2cfae3[_0x2f3fc9(0x2ca)](),_0x2cfae3[_0x2f3fc9(0x342)]());}class _0x5827b1 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x123bc4,_0x50a212){const _0x574b9a=_0x29a50d;super(_0x123bc4,_0x50a212),_0x2d5d22(this,_0x574b9a(0x37c)),_0x2d5d22(this,_0x574b9a(0x40d)),(this[_0x574b9a(0x37c)]=_0x50a212==null?void 0x0:_0x50a212['color'],this[_0x574b9a(0x40d)]=_0x50a212==null?void 0x0:_0x50a212['text']);}static[_0x29a50d(0x3f8)](_0x54e41d,_0x2be9a9){const _0x20fae6=_0x29a50d,{text:_0x204f7d,color:_0x552aeb}=_0x2be9a9;_0x54e41d[_0x20fae6(0x309)](),_0x54e41d[_0x20fae6(0x28e)]=_0x20fae6(0x411);const _0x13f2a8=_0x54e41d[_0x20fae6(0x305)](_0x204f7d)[_0x20fae6(0x37d)],_0x4da335=Math[_0x20fae6(0x397)](_0x13f2a8+0x2*_0x5d12f1,_0x25739e);_0x1fa848(_0x54e41d,{'height':_0x595381,'radius':0x4,'width':_0x4da335,'fill':_0x552aeb}),_0x54e41d[_0x20fae6(0x1e3)]=_0x20fae6(0x295);const _0x4a4c41=_0x5d12f1,_0x1a7f24=_0x595381-_0x1aad98,_0xac7a1a=_0x25739e-0x2*_0x5d12f1;if(_0x13f2a8>_0xac7a1a){let _0x702ca1='',_0x59d5fe=0x0;for(const _0x43efd4 of _0x204f7d){const _0x509ea0=_0x54e41d['measureText'](_0x43efd4)[_0x20fae6(0x37d)];if(_0x59d5fe+_0x509ea0<=_0xac7a1a-_0x54e41d['measureText'](_0x20fae6(0x35b))[_0x20fae6(0x37d)])_0x702ca1+=_0x43efd4,_0x59d5fe+=_0x509ea0;else{_0x702ca1+='...';break;}}_0x54e41d[_0x20fae6(0x23e)](_0x702ca1,_0x4a4c41,_0x1a7f24);}else _0x54e41d[_0x20fae6(0x23e)](_0x204f7d,_0x4a4c41,_0x1a7f24);_0x54e41d[_0x20fae6(0x342)]();}[_0x29a50d(0x220)](_0x2c63ab){const _0x31e105=_0x29a50d;_0x5827b1[_0x31e105(0x3f8)](_0x2c63ab,this);}}const _0x45e3b3='collab-text-anchor-',_0x593524='collab-text-range-',_0x4eac36='collab-rect-range-',_0x4a83dd=0x6,_0xf35acb=1.5,_0x3c267d=0x4,_0x58e706=1.5,_0x295271=_0x29a50d(0x340);class _0x214372{constructor(_0x3e4ba4,_0x3dbc7d,_0x4e6b0a,_0x4a9247){const _0x9f0b05=_0x29a50d;_0x2d5d22(this,_0x9f0b05(0x333),[]),_0x2d5d22(this,_0x9f0b05(0x34e),null),_0x2d5d22(this,_0x9f0b05(0x3da),null),_0x2d5d22(this,_0x9f0b05(0x335),null),_0x2d5d22(this,_0x9f0b05(0x3ce),null),_0x2d5d22(this,_0x9f0b05(0x409),null),(this[_0x9f0b05(0x3ee)]=_0x3e4ba4,this[_0x9f0b05(0x431)]=_0x3dbc7d,this[_0x9f0b05(0x456)]=_0x4e6b0a,this[_0x9f0b05(0x41f)]=_0x4a9247,this[_0x9f0b05(0x3af)]());}set[_0x29a50d(0x207)](_0x41cae6){const _0x2102ff=_0x29a50d;_0x41cae6?(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['hide'](),this[_0x2102ff(0x3da)]&&this[_0x2102ff(0x3da)][_0x2102ff(0x29d)]()):(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['show'](),this['_textBubble']&&this[_0x2102ff(0x3da)][_0x2102ff(0x275)]());}['dispose'](){const _0x4a4306=_0x29a50d;for(const _0x5d9214 of this[_0x4a4306(0x333)])_0x5d9214['dispose']();this['_textBubble']&&this[_0x4a4306(0x3da)][_0x4a4306(0x239)](),this[_0x4a4306(0x335)]&&this[_0x4a4306(0x335)]['dispose'](),this[_0x4a4306(0x34e)]&&this['_anchor'][_0x4a4306(0x239)](),this[_0x4a4306(0x409)]&&this[_0x4a4306(0x409)]();}[_0x29a50d(0x3af)](){const _0x812f97=_0x29a50d;var _0x54bee7;const {_docSkeleton:_0x13682a,_document:_0x4c4e05}=this,{color:_0x42366a,name:_0x2b802f,ranges:_0x526b13}=this[_0x812f97(0x3ee)],_0x13f25f=_0x4c4e05['getOffsetConfig'](),{docsLeft:_0x322209,docsTop:_0x444da5}=_0x13f25f,_0xddf286=new _0x3c8f3f[(_0x812f97(0x3d9))](_0x13f25f,_0x13682a);for(const {startOffset:_0xc4d8c6,endOffset:_0x202600,rangeType:_0x1a009d,segmentId:_0x30354b,segmentPage:_0x58f5c7,collapsed:_0x5407d4,isActive:_0x37e2ac}of _0x526b13){const _0xb5a5e8=_0x13682a[_0x812f97(0x39d)](_0xc4d8c6,!0x0,_0x30354b,_0x58f5c7);let _0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600,!0x0,_0x30354b,_0x58f5c7);if(_0x3e5266==null&&(_0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600-0x1,!0x1,_0x30354b,_0x58f5c7)),_0x37e2ac){const {contentBoxPointGroup:_0x3c1015}=_0xddf286[_0x812f97(0x231)](_0x3e5266,_0x3e5266);if(_0x3c1015[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x290)](_0x42366a,_0x3c1015,_0x322209,_0x444da5,_0x2b802f),this['_eventUnsubscribe']=this[_0x812f97(0x319)]();}if(_0xb5a5e8&&_0x3e5266){if(_0x1a009d===_0x49eaeb[_0x812f97(0x292)][_0x812f97(0x42c)]){const _0x56e4a8=new _0x3c8f3f[(_0x812f97(0x2dc))](_0x13f25f,_0x13682a),{pointGroup:_0x552913}=(_0x54bee7=_0x56e4a8[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266))!=null?_0x54bee7:{};if(_0x552913==null||_0x552913[_0x812f97(0x1f8)]===0x0)continue;this['_drawRectRange'](_0x42366a,_0x552913,_0x322209,_0x444da5);}else{if(!_0x5407d4){const {borderBoxPointGroup:_0x5c893e}=_0xddf286[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266);if(_0x5c893e[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x282)](_0x42366a,_0x5c893e,_0x322209,_0x444da5);}}}}}[_0x29a50d(0x290)](_0x2afa69,_0x1a66e9,_0x218e4a,_0x5330ef,_0x480104){const _0x242994=_0x29a50d,_0xa0e5e9=this[_0x242994(0x259)](_0x1a66e9),{left:_0x4e614e,top:_0x1adf7a,height:_0x2b8ac1}=_0xa0e5e9,_0x3be486=this[_0x242994(0x2ba)](),_0x15035b=_0x58e706/_0x3be486,_0x2fb4c4=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef,'height':_0x2b8ac1,'width':_0xf35acb,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)][_0x242994(0x2de)],0x0),'strokeWidth':_0x15035b,'stroke':_0x295271,'evented':!0x0});this[_0x242994(0x34e)]=_0x2fb4c4,this[_0x242994(0x431)][_0x242994(0x272)](_0x2fb4c4,_0x3c8f3f[_0x242994(0x2ad)]);const _0xf434f0=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x3c267d/0x2,'height':_0x3c267d,'width':_0x3c267d,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb['COLORS']['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xf434f0,this[_0x242994(0x431)][_0x242994(0x272)](_0xf434f0,_0x3c8f3f[_0x242994(0x2ad)]);const _0x36664a=new _0x5827b1(_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x595381,'text':_0x480104,'color':_0x2afa69});this[_0x242994(0x3da)]=_0x36664a,this['_scene']['addObject'](_0x36664a,_0x3c8f3f[_0x242994(0x2ad)]),this[_0x242994(0x207)]=!0x1;}[_0x29a50d(0x319)](){const _0x4837cb=_0x29a50d,_0x6a500e=this[_0x4837cb(0x34e)][_0x4837cb(0x230)][_0x4837cb(0x3bd)](()=>{const _0x556c8f=_0x4837cb;this[_0x556c8f(0x207)]=!0x0;}),_0x229f15=this[_0x4837cb(0x34e)][_0x4837cb(0x2c3)][_0x4837cb(0x3bd)](()=>{const _0x1fcfe4=_0x4837cb;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1fcfe4(0x3ce)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x42cfd5=_0x4837cb;_0x6a500e['unsubscribe'](),_0x229f15[_0x42cfd5(0x2dd)]();};}[_0x29a50d(0x282)](_0x40fe86,_0x5e3a47,_0x6196e,_0x51c9d0){const _0x5cb361=_0x29a50d,_0x31d0ca=new _0x49eaeb[(_0x5cb361(0x3b8))](_0x40fe86)[_0x5cb361(0x44c)](0.2)['toRgbString'](),_0x41fd0e=new _0x506afb[(_0x5cb361(0x21a))](_0x593524+_0x49eaeb[_0x5cb361(0x226)][_0x5cb361(0x2fe)](_0x4a83dd),{'pointsGroup':_0x5e3a47,'fill':_0x31d0ca||_0x506afb['getColor'](_0x49eaeb[_0x5cb361(0x28b)][_0x5cb361(0x2de)],0.2),'left':_0x6196e,'top':_0x51c9d0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5cb361(0x2e9)](_0x41fd0e),this['_scene'][_0x5cb361(0x272)](_0x41fd0e,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5af45b,_0x4f3615,_0x1aec2d,_0x5af415){const _0x352058=_0x29a50d,_0x3c6631=new _0x49eaeb[(_0x352058(0x3b8))](_0x5af45b)['setAlpha'](0.2)['toRgbString'](),_0x475ffe=new _0x506afb[(_0x352058(0x21a))](_0x4eac36+_0x49eaeb[_0x352058(0x226)][_0x352058(0x2fe)](_0x4a83dd),{'pointsGroup':_0x4f3615,'fill':_0x3c6631||_0x506afb[_0x352058(0x304)](_0x49eaeb[_0x352058(0x28b)][_0x352058(0x2de)],0.2),'left':_0x1aec2d,'top':_0x5af415,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x352058(0x333)][_0x352058(0x2e9)](_0x475ffe),this['_scene']['addObject'](_0x475ffe,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}[_0x29a50d(0x259)](_0x1b3048){const _0x35d2bb=_0x1b3048[0x0],_0x8c0ff4=_0x35d2bb[0x0],_0x67a131=_0x35d2bb[0x2],{x:_0x439ceb,y:_0x14acd5}=_0x8c0ff4,{x:_0x116d28,y:_0xe3887c}=_0x67a131;return{'left':_0x439ceb,'top':_0x14acd5,'width':_0x116d28-_0x439ceb,'height':_0xe3887c-_0x14acd5};}[_0x29a50d(0x2ba)](){const _0x29008e=_0x29a50d,{scaleX:_0x26399a,scaleY:_0x2e15ad}=this[_0x29008e(0x431)]['getAncestorScale']();return Math[_0x29008e(0x23d)](_0x26399a,_0x2e15ad);}}var _0x107dfe=Object[_0x29a50d(0x285)],_0xd28aa9=(_0x436812,_0x9ad9ac,_0x1f56b8,_0x3f88ec)=>{for(var _0x163b0a=_0x3f88ec>0x1?void 0x0:_0x3f88ec?_0x107dfe(_0x9ad9ac,_0x1f56b8):_0x9ad9ac,_0x55ddf6=_0x436812['length']-0x1,_0x1bfcf0;_0x55ddf6>=0x0;_0x55ddf6--)(_0x1bfcf0=_0x436812[_0x55ddf6])&&(_0x163b0a=_0x1bfcf0(_0x163b0a)||_0x163b0a);return _0x163b0a;},_0x3baee4=(_0x50ae0e,_0x146b2b)=>(_0x1bd7d8,_0x16f6a7)=>_0x146b2b(_0x1bd7d8,_0x16f6a7,_0x50ae0e);let _0x4c2a27=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fd917,_0x573634,_0xf56dea,_0x53c965,_0x53ef7c){const _0x3e4a0f=_0x29a50d;super(),_0x2d5d22(this,_0x3e4a0f(0x276),[]),_0x2d5d22(this,_0x3e4a0f(0x343),[]),(this[_0x3e4a0f(0x3cd)]=_0x1fd917,this['_docSkeletonManagerService']=_0x573634,this[_0x3e4a0f(0x1f3)]=_0xf56dea,this[_0x3e4a0f(0x260)]=_0x53c965,this[_0x3e4a0f(0x3bf)]=_0x53ef7c,this[_0x3e4a0f(0x328)]());}['_init'](){const _0x16e7b7=_0x29a50d,_0xdf8016=this[_0x16e7b7(0x3cd)][_0x16e7b7(0x2c8)],_0x3e3eea=this[_0x16e7b7(0x2cd)];this['disposeWithMe'](_0x1a1591[_0x16e7b7(0x45d)]([this[_0x16e7b7(0x1f3)][_0x16e7b7(0x445)](_0xdf8016),this[_0x16e7b7(0x3bf)][_0x16e7b7(0x1ef)]])[_0x16e7b7(0x3cc)](_0x35f2b8[_0x16e7b7(0x247)](([_0x5a3dc3,_0x475a70])=>({'skeleton':_0x3e3eea['getSkeleton'](),'cursors':[..._0x5a3dc3['values']()]['flatMap'](_0x67a813=>({..._0x67a813,'color':_0x475a70[_0x67a813[_0x16e7b7(0x37c)]]}))})))[_0x16e7b7(0x2f6)](_0x2682e4=>{if(this['_removeCollabCursors'](),_0x2682e4){const {skeleton:_0x2b344f,cursors:_0x51b64b}=_0x2682e4;this['_updateCollabCursors'](_0x2b344f,_0x51b64b);}})),this[_0x16e7b7(0x44e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x237092,_0x47ce55){const _0x1b9e39=_0x29a50d,{scene:_0x29e729,mainComponent:_0x34df55}=this[_0x1b9e39(0x3cd)],_0x2688a4=_0x47ce55[_0x1b9e39(0x247)](_0x5d3b92=>new _0x214372(_0x5d3b92,_0x29e729,_0x237092,_0x34df55));this[_0x1b9e39(0x276)]=_0x2688a4,this[_0x1b9e39(0x343)]=_0x47ce55;}[_0x29a50d(0x400)](){const _0x148839=_0x29a50d;this[_0x148839(0x2f7)]();const {scene:_0x30c4b0,mainComponent:_0x10e7e5}=this[_0x148839(0x3cd)],_0x62d2de=this[_0x148839(0x2cd)][_0x148839(0x2ef)](),_0x5cbf00=this[_0x148839(0x343)]['map'](_0x3136ff=>new _0x214372(_0x3136ff,_0x30c4b0,_0x62d2de,_0x10e7e5));this['_cursorShapes']=_0x5cbf00;}[_0x29a50d(0x2f7)](){const _0x254992=_0x29a50d;this[_0x254992(0x276)][_0x254992(0x351)](_0x232435=>_0x232435['dispose']()),this[_0x254992(0x276)]=[];}[_0x29a50d(0x2d1)](){const _0x5c9c54=_0x29a50d,_0x4f4477=[_0x3c8f3f['SetDocZoomRatioOperation']['id']];this[_0x5c9c54(0x46c)](this[_0x5c9c54(0x260)][_0x5c9c54(0x2f3)](_0x2c8f89=>{const _0x4b6b71=_0x5c9c54;_0x4f4477[_0x4b6b71(0x43f)](_0x2c8f89['id'])&&_0x2c8f89['params']['unitId']===this['_context'][_0x4b6b71(0x2c8)]&&this[_0x4b6b71(0x400)]();}));}[_0x29a50d(0x44e)](){const _0x520440=_0x29a50d;this[_0x520440(0x46c)](_0x49eaeb[_0x520440(0x384)](this[_0x520440(0x3cd)][_0x520440(0x2d2)]['onTransformChange$'])[_0x520440(0x3cc)](_0x35f2b8[_0x520440(0x3fb)](_0x4d3e1b=>_0x4d3e1b[_0x520440(0x462)]===_0x506afb[_0x520440(0x45f)][_0x520440(0x2bb)]),_0x35f2b8[_0x520440(0x458)](0x10))[_0x520440(0x2f6)](()=>{this['_refreshCollabCursors']();}));}};_0x4c2a27=_0xd28aa9([_0x3baee4(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x54d7ba[_0x29a50d(0x45b)])),_0x3baee4(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x3baee4(0x3,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3baee4(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['ThemeService']))],_0x4c2a27);const _0x59e1ad=0x1,_0x3f904f=1.5;class _0x3df6b2 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x357750,_0xb910e3){const _0x5198b1=_0x29a50d;super(_0x357750,_0xb910e3),_0x2d5d22(this,_0x5198b1(0x440)),_0x2d5d22(this,_0x5198b1(0x43b),!0x1),_0x2d5d22(this,_0x5198b1(0x36d)),_0x2d5d22(this,_0x5198b1(0x2d8),''),_0x2d5d22(this,_0x5198b1(0x326),_0x5198b1(0x20d)),_0x2d5d22(this,_0x5198b1(0x3d7)),(_0xb910e3&&this[_0x5198b1(0x234)](_0xb910e3),this[_0x5198b1(0x230)][_0x5198b1(0x3bd)](()=>this[_0x5198b1(0x234)]({'hovered':!0x0})),this[_0x5198b1(0x2c3)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x29a50d(0x234)](_0x5666db){const _0x3609aa=_0x29a50d;var _0x882a0c,_0x1938c7,_0x40b2a5,_0xe2a95e,_0x301e74,_0x5311ad;this[_0x3609aa(0x440)]=(_0x882a0c=_0x5666db['color'])!=null?_0x882a0c:this['_color'],this[_0x3609aa(0x43b)]=(_0x1938c7=_0x5666db[_0x3609aa(0x316)])!=null?_0x1938c7:this[_0x3609aa(0x43b)],this[_0x3609aa(0x36d)]=(_0x40b2a5=_0x5666db[_0x3609aa(0x413)])!=null?_0x40b2a5:this[_0x3609aa(0x36d)],this['_name']=(_0xe2a95e=_0x5666db[_0x3609aa(0x286)])!=null?_0xe2a95e:this[_0x3609aa(0x2d8)],this[_0x3609aa(0x326)]=(_0x301e74=_0x5666db[_0x3609aa(0x26a)])!=null?_0x301e74:this[_0x3609aa(0x326)],this['_backgroundColor']=(_0x5311ad=_0x5666db[_0x3609aa(0x251)])!=null?_0x5311ad:this['_backgroundColor'],this['transformByState']({'width':_0x5666db[_0x3609aa(0x37d)],'height':_0x5666db['height']});}[_0x29a50d(0x392)](_0x770daa){const _0x44e7b1=_0x29a50d,{row:_0x3963f2,column:_0x5b921c}=_0x770daa;if(_0x3963f2>=this[_0x44e7b1(0x36d)][_0x44e7b1(0x381)]&&_0x3963f2<=this['_range'][_0x44e7b1(0x35a)]&&_0x5b921c>=this['_range'][_0x44e7b1(0x449)]&&_0x5b921c<=this['_range'][_0x44e7b1(0x369)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x44e7b1(0x234)]({'hovered':!0x1});}[_0x29a50d(0x46f)](_0x13abc2){return!0x1;}[_0x29a50d(0x220)](_0x4b761c){const _0x5c9d98=_0x29a50d;_0x506afb['Rect'][_0x5c9d98(0x3f8)](_0x4b761c,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3f904f,'stroke':this[_0x5c9d98(0x440)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5c9d98(0x43b)]&&(_0x4b761c[_0x5c9d98(0x309)](),_0x4b761c[_0x5c9d98(0x44a)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c9d98(0x326)]===_0x5c9d98(0x46e)?0x0:-0x14),_0x5827b1[_0x5c9d98(0x3f8)](_0x4b761c,{'text':this[_0x5c9d98(0x2d8)],'color':this[_0x5c9d98(0x440)]}),_0x4b761c[_0x5c9d98(0x342)]());}}var _0x17711b=Object['getOwnPropertyDescriptor'],_0x164dcf=(_0xfef30,_0x2099a7,_0x4fe18f,_0x3af357)=>{for(var _0x86c95f=_0x3af357>0x1?void 0x0:_0x3af357?_0x17711b(_0x2099a7,_0x4fe18f):_0x2099a7,_0x2ce3a3=_0xfef30['length']-0x1,_0x348977;_0x2ce3a3>=0x0;_0x2ce3a3--)(_0x348977=_0xfef30[_0x2ce3a3])&&(_0x86c95f=_0x348977(_0x86c95f)||_0x86c95f);return _0x86c95f;},_0x150cc6=(_0x53b799,_0x3011e2)=>(_0x5524e9,_0x58d18f)=>_0x3011e2(_0x5524e9,_0x58d18f,_0x53b799);const _0x49cc29=0x1389;let _0x42601e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x481f71,_0x53f870,_0x1248d5,_0x12d6c1){const _0x3f9766=_0x29a50d;super(),_0x2d5d22(this,'_cursors',new Set()),_0x2d5d22(this,'_lastPointer',null),(this[_0x3f9766(0x3cd)]=_0x481f71,this[_0x3f9766(0x2f0)]=_0x53f870,this[_0x3f9766(0x1f3)]=_0x1248d5,this['_themeService']=_0x12d6c1,this[_0x3f9766(0x328)]());}[_0x29a50d(0x328)](){const _0x6d86b0=_0x29a50d;this['_sheetSkeletonManagerService'][_0x6d86b0(0x37a)]['pipe'](_0x35f2b8[_0x6d86b0(0x30c)](this['dispose$']),_0x35f2b8[_0x6d86b0(0x433)](_0x3cd373=>{const _0x4ad794=_0x6d86b0;if(_0x3cd373){const _0x45b53d=_0x3cd373['sheetId'];return _0x1a1591[_0x4ad794(0x45d)](this[_0x4ad794(0x1f3)][_0x4ad794(0x445)](this[_0x4ad794(0x3cd)][_0x4ad794(0x2c8)]),this[_0x4ad794(0x3bf)][_0x4ad794(0x1ef)])[_0x4ad794(0x3cc)](_0x35f2b8[_0x4ad794(0x247)](([_0x2416f2,_0x959f7b])=>{const _0x46a639=_0x4ad794,_0x55f638=new Map();return _0x2416f2[_0x46a639(0x351)]((_0x300450,_0x1c2983)=>{const _0x19a46a=_0x46a639;if(_0x300450[_0x19a46a(0x213)]===_0x45b53d){const _0x44979e={..._0x300450};_0x44979e['color']=_0x959f7b[_0x300450[_0x19a46a(0x37c)]],_0x55f638[_0x19a46a(0x3e6)](_0x1c2983,_0x44979e);}}),{'skeleton':_0x3cd373,'cursors':_0x55f638};}));}return _0x1a1591['of']({'skeleton':null,'cursors':new Map()});}))[_0x6d86b0(0x2f6)](({skeleton:_0x210926,cursors:_0x1d0ee8})=>{const _0x274cd0=_0x6d86b0;this[_0x274cd0(0x2f7)](),_0x210926&&this[_0x274cd0(0x3dc)](_0x210926,_0x1d0ee8);}),this[_0x6d86b0(0x2f0)][_0x6d86b0(0x37a)][_0x6d86b0(0x2f6)](_0x31099a=>{const _0x825ee0=_0x6d86b0;if(_0x31099a==null)return;const {skeleton:_0x4b2fd2}=_0x31099a,{scene:_0x2a1228}=this[_0x825ee0(0x3cd)];_0x2a1228[_0x825ee0(0x204)][_0x825ee0(0x3bd)](_0x49eaeb['debounce'](_0x42ae3c=>{const _0x4ee79d=_0x825ee0;var _0x56e3ed,_0x3f29ff;const {offsetX:_0x5eb4a4,offsetY:_0x1994a7}=_0x42ae3c,{x:_0x422ea7,y:_0x3c90fe}=_0x2a1228[_0x4ee79d(0x36f)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x5eb4a4,_0x1994a7])),{scaleX:_0x2c1529,scaleY:_0xfd9cf7}=_0x2a1228[_0x4ee79d(0x2a6)](),_0x312e80=_0x2a1228[_0x4ee79d(0x42a)](_0x506afb['SHEET_VIEWPORT_KEY'][_0x4ee79d(0x22b)]),_0x25e836=_0x2a1228[_0x4ee79d(0x233)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x422ea7,_0x3c90fe]),_0x312e80),_0x576f8d=_0x4b2fd2[_0x4ee79d(0x391)](_0x5eb4a4,_0x1994a7,_0x2c1529,_0xfd9cf7,_0x25e836);((_0x56e3ed=this[_0x4ee79d(0x255)])==null?void 0x0:_0x56e3ed[_0x4ee79d(0x288)])===_0x576f8d[_0x4ee79d(0x288)]&&((_0x3f29ff=this[_0x4ee79d(0x255)])==null?void 0x0:_0x3f29ff[_0x4ee79d(0x374)])===_0x576f8d[_0x4ee79d(0x374)]||this[_0x4ee79d(0x343)]['forEach'](_0xa3c1ab=>{const _0x5e747d=_0x4ee79d;_0xa3c1ab[_0x5e747d(0x392)](_0x576f8d);});},0x64));});}[_0x29a50d(0x3dc)](_0x496eed,_0x5e8931){const _0x4b71be=_0x29a50d;var _0x3c6fe;const _0x495ed1=(_0x3c6fe=this[_0x4b71be(0x2f0)][_0x4b71be(0x1f1)]())==null?void 0x0:_0x3c6fe['skeleton'];if(!_0x495ed1)return;const _0x4608e5=this['_getSheetObject']();if(!_0x4608e5)return;this[_0x4b71be(0x343)]['forEach'](_0x41c480=>{const _0x29973c=_0x4b71be;_0x41c480[_0x29973c(0x325)]();});const {scene:_0x2374c4}=_0x4608e5,_0x5464c0=_0x4a5028(Array[_0x4b71be(0x3b6)](_0x5e8931['values']()))['map'](_0x3a7ab3=>{const _0x148d4d=_0x4b71be,{color:_0x3ef8a7,range:_0x326a23,name:_0x50d0df,selection:_0x5eb8dd,sheetID:_0x4992ec}=_0x3a7ab3,{startColumn:_0x3cdda8,startRow:_0x29f463,endColumn:_0x3a6129,endRow:_0x23281d}=_0x326a23,_0x316077=_0x5f076c[_0x148d4d(0x223)](_0x29f463,_0x3cdda8,_0x2374c4,_0x495ed1),_0xe56fcd=_0x5f076c[_0x148d4d(0x223)](_0x23281d,_0x3a6129,_0x2374c4,_0x495ed1),{columnHeaderHeightAndMarginTop:_0x446ee4}=_0x495ed1,{startX:_0x158b01,startY:_0x2fe37e}=_0x316077,{endX:_0x4f82ad,endY:_0x20bee8}=_0xe56fcd,_0x39bd86=_0x4f82ad-_0x158b01,_0x57bf4b=_0x20bee8-_0x2fe37e,_0x9cb66f={'labelPosition':_0x2fe37e-_0x446ee4>=_0x595381?'top':'bottom','sheetID':_0x4992ec,'range':_0x326a23,'color':_0x3ef8a7,'name':_0x50d0df,'selection':_0x5eb8dd,'left':_0x158b01,'top':_0x2fe37e,'width':_0x39bd86,'height':_0x57bf4b,'evented':!0x1,'zIndex':_0x49cc29};return new _0x3df6b2(_0x50d0df,_0x9cb66f);});_0x2374c4[_0x4b71be(0x1f9)](_0x5464c0,_0x59e1ad),this['_cursors']=new Set(_0x5464c0);}[_0x29a50d(0x2f7)](){const _0x123827=_0x29a50d;var _0x1a2a51;(_0x1a2a51=this[_0x123827(0x343)])==null||_0x1a2a51[_0x123827(0x351)](_0x506781=>_0x506781['dispose']());}[_0x29a50d(0x216)](){const _0x47d64f=_0x29a50d;return _0x5f076c[_0x47d64f(0x442)](this['_context'][_0x47d64f(0x2c7)],this[_0x47d64f(0x3cd)]);}};_0x42601e=_0x164dcf([_0x150cc6(0x1,_0x49eaeb['Inject'](_0x5f076c[_0x29a50d(0x379)])),_0x150cc6(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x150cc6(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x278)]))],_0x42601e);function _0x4a5028(_0x3f4beb){const _0x5c8338=_0x29a50d,_0x326479=new Map();return _0x3f4beb[_0x5c8338(0x351)](_0x54d189=>{const _0x374dd7=_0x5c8338;if(_0x326479[_0x374dd7(0x35c)](_0x54d189['selection'])){const _0x42dfa3=_0x326479[_0x374dd7(0x408)](_0x54d189[_0x374dd7(0x25d)]);_0x42dfa3[_0x374dd7(0x286)]+=',\x20'+_0x54d189['name'];}else _0x326479[_0x374dd7(0x3e6)](_0x54d189[_0x374dd7(0x25d)],_0x54d189);}),Array['from'](_0x326479[_0x5c8338(0x28a)]());}var _0x5e223d=function(){const _0x12e8ac=_0x29a50d;return _0x5e223d=Object[_0x12e8ac(0x3e2)]||function(_0x27c652){const _0x3b9e3f=_0x12e8ac;for(var _0x121108,_0x2716cc=0x1,_0x251cef=arguments['length'];_0x2716cc<_0x251cef;_0x2716cc++){_0x121108=arguments[_0x2716cc];for(var _0x41b081 in _0x121108)Object[_0x3b9e3f(0x25b)][_0x3b9e3f(0x23a)]['call'](_0x121108,_0x41b081)&&(_0x27c652[_0x41b081]=_0x121108[_0x41b081]);}return _0x27c652;},_0x5e223d['apply'](this,arguments);},_0x5e4f93=function(_0x1b3302,_0x1acaa4){const _0x33d7e2=_0x29a50d;var _0x2516ca={};for(var _0x557376 in _0x1b3302)Object[_0x33d7e2(0x25b)][_0x33d7e2(0x23a)]['call'](_0x1b3302,_0x557376)&&_0x1acaa4['indexOf'](_0x557376)<0x0&&(_0x2516ca[_0x557376]=_0x1b3302[_0x557376]);if(_0x1b3302!=null&&typeof Object[_0x33d7e2(0x22d)]==_0x33d7e2(0x329)){for(var _0x2d8021=0x0,_0x557376=Object[_0x33d7e2(0x22d)](_0x1b3302);_0x2d8021<_0x557376[_0x33d7e2(0x1f8)];_0x2d8021++)_0x1acaa4[_0x33d7e2(0x2cf)](_0x557376[_0x2d8021])<0x0&&Object[_0x33d7e2(0x25b)][_0x33d7e2(0x2d9)][_0x33d7e2(0x414)](_0x1b3302,_0x557376[_0x2d8021])&&(_0x2516ca[_0x557376[_0x2d8021]]=_0x1b3302[_0x557376[_0x2d8021]]);}return _0x2516ca;},_0x518293=_0x1a1d3a['forwardRef'](function(_0x3d5e4f,_0x8dde8a){const _0x1345da=_0x29a50d;var _0x3f682c=_0x3d5e4f[_0x1345da(0x3a5)],_0x481f96=_0x3d5e4f['id'],_0x35b657=_0x3d5e4f[_0x1345da(0x281)],_0x16deca=_0x3d5e4f[_0x1345da(0x244)],_0x109b32=_0x5e4f93(_0x3d5e4f,[_0x1345da(0x3a5),'id',_0x1345da(0x281),'extend']),_0x5b5d2f=_0x1345da(0x253)['concat'](_0x481f96,'\x20')[_0x1345da(0x24c)](_0x35b657||'')[_0x1345da(0x45a)](),_0x314177=_0x1a1d3a[_0x1345da(0x393)]('_'[_0x1345da(0x24c)](_0x167b70()));return _0xe1bc89(_0x3f682c,''['concat'](_0x481f96),{'defIds':_0x3f682c[_0x1345da(0x385)],'idSuffix':_0x314177['current']},_0x5e223d({'ref':_0x8dde8a,'className':_0x5b5d2f},_0x109b32),_0x16deca);});function _0xe1bc89(_0x32cb20,_0x30bd2c,_0xda12b3,_0xce40f2,_0x519065){const _0x4bf9a5=_0x29a50d;return _0x1a1d3a[_0x4bf9a5(0x202)](_0x32cb20['tag'],_0x5e223d(_0x5e223d({'key':_0x30bd2c},_0x336027(_0x32cb20,_0xda12b3,_0x519065)),_0xce40f2),(_0x2f8816(_0x32cb20,_0xda12b3)[_0x4bf9a5(0x38d)]||[])[_0x4bf9a5(0x247)](function(_0xb797aa,_0x4d0a49){const _0x48bc9f=_0x4bf9a5;return _0xe1bc89(_0xb797aa,''[_0x48bc9f(0x24c)](_0x30bd2c,'-')[_0x48bc9f(0x24c)](_0x32cb20[_0x48bc9f(0x21c)],'-')[_0x48bc9f(0x24c)](_0x4d0a49),_0xda12b3,void 0x0,_0x519065);}));}function _0x336027(_0x5e1a0c,_0x8cdc9c,_0x1b30ed){const _0x508d5c=_0x29a50d;var _0x34377a=_0x5e223d({},_0x5e1a0c[_0x508d5c(0x452)]);_0x1b30ed!=null&&_0x1b30ed[_0x508d5c(0x27e)]&&_0x34377a[_0x508d5c(0x2ca)]===_0x508d5c(0x27e)&&(_0x34377a[_0x508d5c(0x2ca)]=_0x1b30ed[_0x508d5c(0x27e)]),_0x5e1a0c['tag']===_0x508d5c(0x2d0)&&_0x34377a['id']&&(_0x34377a['id']=_0x34377a['id']+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)['forEach'](function(_0xd2f93d){const _0x21d8b1=_0x508d5c;var _0x51c035=_0xd2f93d[0x0],_0x22f51b=_0xd2f93d[0x1];_0x51c035===_0x21d8b1(0x2d0)&&typeof _0x22f51b==_0x21d8b1(0x389)&&(_0x34377a[_0x51c035]=_0x22f51b[_0x21d8b1(0x296)](/url\(#(.*)\)/,_0x21d8b1(0x3a9)['concat'](_0x8cdc9c[_0x21d8b1(0x33b)],')')));});var _0x5e7449=_0x8cdc9c[_0x508d5c(0x385)];return!_0x5e7449||_0x5e7449[_0x508d5c(0x1f8)]===0x0||(_0x5e1a0c[_0x508d5c(0x21c)]==='use'&&_0x34377a[_0x508d5c(0x371)]&&(_0x34377a[_0x508d5c(0x371)]=_0x34377a[_0x508d5c(0x371)]+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)[_0x508d5c(0x351)](function(_0x3cbccd){const _0x28abe2=_0x508d5c;var _0x173d66=_0x3cbccd[0x0],_0x30a18e=_0x3cbccd[0x1];typeof _0x30a18e==_0x28abe2(0x389)&&(_0x34377a[_0x173d66]=_0x30a18e['replace'](/url\(#(.*)\)/,_0x28abe2(0x3a9)['concat'](_0x8cdc9c['idSuffix'],')')));})),_0x34377a;}function _0x2f8816(_0x3ad024,_0x118555){const _0x27929b=_0x29a50d;var _0x10d735,_0x31e7fe=_0x118555[_0x27929b(0x385)];return!_0x31e7fe||_0x31e7fe[_0x27929b(0x1f8)]===0x0?_0x3ad024:_0x3ad024[_0x27929b(0x21c)]===_0x27929b(0x3fa)&&(!((_0x10d735=_0x3ad024[_0x27929b(0x38d)])===null||_0x10d735===void 0x0)&&_0x10d735[_0x27929b(0x1f8)])?_0x5e223d(_0x5e223d({},_0x3ad024),{'children':_0x3ad024[_0x27929b(0x38d)][_0x27929b(0x247)](function(_0x1b54dd){const _0x363273=_0x27929b;return typeof _0x1b54dd[_0x363273(0x452)]['id']==_0x363273(0x389)&&_0x31e7fe&&_0x31e7fe[_0x363273(0x2cf)](_0x1b54dd[_0x363273(0x452)]['id'])>-0x1?_0x5e223d(_0x5e223d({},_0x1b54dd),{'attrs':_0x5e223d(_0x5e223d({},_0x1b54dd[_0x363273(0x452)]),{'id':_0x1b54dd[_0x363273(0x452)]['id']+_0x118555[_0x363273(0x33b)]})}):_0x1b54dd;})}):_0x3ad024;}function _0x167b70(){const _0x3e066d=_0x29a50d;return Math[_0x3e066d(0x2e1)]()[_0x3e066d(0x2ed)](0x24)[_0x3e066d(0x215)](0x2,0x8);}_0x518293[_0x29a50d(0x25e)]=_0x29a50d(0x475);var _0x119b46={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x29a50d(0x360),'height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x41d),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':_0x29a50d(0x386),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3b7)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358)}}]}]}],'defIds':[_0x29a50d(0x3b7)]},_0x334b90=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x59724b,_0x53f36f){const _0x16baec=_0x29a50d;return _0x1a1d3a['createElement'](_0x518293,Object['assign']({},_0x59724b,{'id':_0x16baec(0x257),'ref':_0x53f36f,'icon':_0x119b46}));});_0x334b90[_0x29a50d(0x25e)]=_0x29a50d(0x321);var _0x47dc42={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':_0x29a50d(0x432),'width':'1em','height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':_0x29a50d(0x2f1)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x21b),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29a50d(0x3fa),'attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3d2)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358),'transform':_0x29a50d(0x25c)}}]}]}],'defIds':[_0x29a50d(0x3d2)]},_0x100138=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x3864e4,_0xb868c0){const _0x957a26=_0x29a50d;return _0x1a1d3a[_0x957a26(0x202)](_0x518293,Object['assign']({},_0x3864e4,{'id':_0x957a26(0x20c),'ref':_0xb868c0,'icon':_0x47dc42}));});_0x100138[_0x29a50d(0x25e)]=_0x29a50d(0x211);function _0x4e52fd(_0x30e0f8){const _0x546cb3=_0x29a50d;switch(_0x30e0f8){case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x402)]:return _0x546cb3(0x437);case _0x5557ff['CollaborationStatus'][_0x546cb3(0x407)]:return'collabStatus.conflict';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x1f0)]:return'collabStatus.fetchMiss';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x44f)]:return _0x546cb3(0x31d);case _0x5557ff[_0x546cb3(0x287)]['AWAITING']:case _0x5557ff['CollaborationStatus'][_0x546cb3(0x3c3)]:return _0x546cb3(0x269);case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x348)]:case _0x5557ff[_0x546cb3(0x287)]['PENDING']:return _0x546cb3(0x1fd);}}function _0x56e298(_0x48b81f){const _0x225c80=_0x29a50d,{status$:_0x421cc9}=_0x48b81f,_0x5c4d27=_0x284e97[_0x225c80(0x228)](_0x421cc9,_0x5557ff['CollaborationStatus']['NOT_COLLAB']),_0x32af6f=_0x284e97[_0x225c80(0x357)](_0x49eaeb[_0x225c80(0x415)]),_0x17a8b4=_0x284e97[_0x225c80(0x357)](_0x5557ff[_0x225c80(0x3c1)]),_0x4ccd49=_0x5c4d27!==_0x5557ff[_0x225c80(0x287)][_0x225c80(0x402)],_0x3f6ee9=_0x32af6f['t'](_0x4e52fd(_0x5c4d27)),_0x145917=_0x4ccd49?_0x59198a[_0x225c80(0x34a)](_0x100138,{}):_0x59198a[_0x225c80(0x34a)](_0x334b90,{}),_0x15e474=_0x1a1d3a[_0x225c80(0x362)](()=>{const _0x326828=_0x225c80;_0x4ccd49||_0x17a8b4[_0x326828(0x423)]();},[_0x4ccd49,_0x17a8b4]);function _0x1a86e2(){const _0x538119=_0x225c80;return _0x59198a[_0x538119(0x236)](_0x538119(0x352),{'className':_0x538119(0x40e),'onClick':_0x15e474,'children':[_0x59198a[_0x538119(0x34a)]('div',{'className':_0x381eec[_0x538119(0x472)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x4ccd49?_0x538119(0x336):_0x538119(0x20e)),'children':_0x145917}),_0x59198a['jsx'](_0x538119(0x352),{'className':_0x538119(0x2b9),'children':_0x3f6ee9})]});}return _0x4ccd49?_0x1a86e2():_0x59198a[_0x225c80(0x34a)](_0x381eec[_0x225c80(0x20f)],{'title':_0x32af6f['t']('collab-client.tooltip.reconnect'),'children':_0x1a86e2()});}var _0x2517eb=Object[_0x29a50d(0x285)],_0x5b2b4f=(_0x40fd14,_0x5b3efc,_0xe8829d,_0x5a2887)=>{const _0x30ebe9=_0x29a50d;for(var _0x3958dc=_0x5a2887>0x1?void 0x0:_0x5a2887?_0x2517eb(_0x5b3efc,_0xe8829d):_0x5b3efc,_0x56a717=_0x40fd14[_0x30ebe9(0x1f8)]-0x1,_0x3455a6;_0x56a717>=0x0;_0x56a717--)(_0x3455a6=_0x40fd14[_0x56a717])&&(_0x3958dc=_0x3455a6(_0x3958dc)||_0x3958dc);return _0x3958dc;},_0x280298=(_0x276320,_0x21ea7b)=>(_0x29c0f6,_0x3cad9b)=>_0x21ea7b(_0x29c0f6,_0x3cad9b,_0x276320);_0x2becbd[_0x29a50d(0x380)]=class extends _0x49eaeb['Disposable']{constructor(_0x479fbb,_0x575f73,_0x1dd0e2,_0x18803e){const _0x364376=_0x29a50d;super(),_0x2d5d22(this,_0x364376(0x477),new _0x1a1591[(_0x364376(0x242))](_0x5557ff[_0x364376(0x287)][_0x364376(0x44f)])),(this[_0x364376(0x2da)]=_0x479fbb,this[_0x364376(0x3aa)]=_0x575f73,this['_collaborationController']=_0x1dd0e2,this[_0x364376(0x217)]=_0x18803e,this['_initStatusComponent'](),this[_0x364376(0x2c0)]());}[_0x29a50d(0x2c0)](){const _0x22ef58=_0x29a50d;this[_0x22ef58(0x46c)](this[_0x22ef58(0x2da)]['focused$']['pipe'](_0x1a1591[_0x22ef58(0x433)](()=>{const _0x17375a=_0x22ef58,_0x1a1144=this[_0x17375a(0x2da)][_0x17375a(0x344)]();return _0x1a1144?this[_0x17375a(0x2a1)][_0x17375a(0x461)](_0x1a1144[_0x17375a(0x3fc)]()):_0x1a1591['of'](null);}),_0x1a1591[_0x22ef58(0x433)](_0x5d1b1e=>_0x5d1b1e?_0x5d1b1e[_0x22ef58(0x2a7)]:_0x1a1591['of'](_0x5557ff[_0x22ef58(0x287)][_0x22ef58(0x44f)])))[_0x22ef58(0x2f6)](_0x39d974=>{const _0x95b265=_0x22ef58;this[_0x95b265(0x477)]['next'](_0x39d974);}));}[_0x29a50d(0x2b7)](){const _0x571834=_0x29a50d;this[_0x571834(0x46c)](this[_0x571834(0x217)][_0x571834(0x383)](_0x284e97[_0x571834(0x38a)][_0x571834(0x2b0)],()=>_0x284e97[_0x571834(0x3c2)](_0x1c8028({'status$':this[_0x571834(0x477)][_0x571834(0x469)]()}),this[_0x571834(0x3aa)])));}},_0x2becbd[_0x29a50d(0x380)]=_0x5b2b4f([_0x280298(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x280298(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x280298(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x280298(0x3,_0x284e97[_0x29a50d(0x240)])],_0x2becbd[_0x29a50d(0x380)]);function _0x1c8028(_0x2d384d){const {status$:_0x294366}=_0x2d384d;return function(){const _0x4264cf=_0x37a6;return _0x59198a[_0x4264cf(0x34a)](_0x56e298,{'status$':_0x294366});};}var _0x977734=Object[_0x29a50d(0x285)],_0x20208a=(_0xf07a90,_0x3b1014,_0x3c36d3,_0x32de2f)=>{const _0x219d61=_0x29a50d;for(var _0x3f9355=_0x32de2f>0x1?void 0x0:_0x32de2f?_0x977734(_0x3b1014,_0x3c36d3):_0x3b1014,_0x3b98eb=_0xf07a90[_0x219d61(0x1f8)]-0x1,_0x57e682;_0x3b98eb>=0x0;_0x3b98eb--)(_0x57e682=_0xf07a90[_0x3b98eb])&&(_0x3f9355=_0x57e682(_0x3f9355)||_0x3f9355);return _0x3f9355;},_0x3b85ff=(_0x3f4673,_0x1096e4)=>(_0x376de0,_0xa73b33)=>_0x1096e4(_0x376de0,_0xa73b33,_0x3f4673);let _0x39f32d=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x101019,_0x14d965,_0x27e9ab,_0x935197,_0x3d02d5,_0xe6e08a){const _0x267e54=_0x29a50d;super(),this[_0x267e54(0x41a)]=_0x101019,this[_0x267e54(0x1ed)]=_0x14d965,this[_0x267e54(0x300)]=_0x27e9ab,this['_messageService']=_0x935197,this[_0x267e54(0x235)]=_0x3d02d5,this['_localeService']=_0xe6e08a,this[_0x267e54(0x3ba)](),this[_0x267e54(0x327)]();}[_0x29a50d(0x3ba)](){const _0x2e907e=_0x29a50d;this[_0x2e907e(0x46c)](this['_beforeCloseService'][_0x2e907e(0x1e6)](()=>{const _0x223aa6=_0x2e907e;if(this[_0x223aa6(0x1ed)][_0x223aa6(0x3b2)][_0x223aa6(0x2bc)])return this[_0x223aa6(0x298)]['t'](_0x223aa6(0x273));}));}['_initEvent'](){const _0x5a35c7=_0x29a50d;this['disposeWithMe'](this[_0x5a35c7(0x300)][_0x5a35c7(0x363)][_0x5a35c7(0x2f6)](_0x101242=>{const _0x40d614=_0x5a35c7;_0x101242['id']===_0x5557ff[_0x40d614(0x43d)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1e5))}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x26c)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x1ff)]&&this[_0x40d614(0x235)][_0x40d614(0x29d)]({'title':this[_0x40d614(0x298)]['t']('permission.title'),'content':this[_0x40d614(0x298)]['t']('permission.content'),'type':_0x40d614(0x2b3),'duration':0x0}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x407)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))+'('+_0x101242['data']+')'}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x471)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec['MessageType'][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x101242['data']||'')}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x375)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x243))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x3d6)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this['_localeService']['t'](_0x40d614(0x27f))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x338)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec['MessageType']['Error'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1fa))});}));}};_0x39f32d=_0x20208a([_0x3b85ff(0x0,_0x284e97[_0x29a50d(0x27d)]),_0x3b85ff(0x1,_0x5557ff[_0x29a50d(0x366)]),_0x3b85ff(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x22e)])),_0x3b85ff(0x3,_0x284e97['IMessageService']),_0x3b85ff(0x4,_0x284e97['INotificationService']),_0x3b85ff(0x5,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x39f32d);const _0x52495c=_0x29a50d(0x349),_0xbe33c4={},_0x189700=_0x49eaeb['createIdentifier']('uni.network.url-service');var _0x4e8d8e=Object['getOwnPropertyDescriptor'],_0x151c9f=(_0x3e567c,_0x1f72ee,_0x43707b,_0x314ad4)=>{const _0x480818=_0x29a50d;for(var _0x19f48e=_0x314ad4>0x1?void 0x0:_0x314ad4?_0x4e8d8e(_0x1f72ee,_0x43707b):_0x1f72ee,_0x316ac9=_0x3e567c[_0x480818(0x1f8)]-0x1,_0x284dfd;_0x316ac9>=0x0;_0x316ac9--)(_0x284dfd=_0x3e567c[_0x316ac9])&&(_0x19f48e=_0x284dfd(_0x19f48e)||_0x19f48e);return _0x19f48e;},_0x13287b=(_0x5ce16f,_0x5243eb)=>(_0x4425e8,_0x23abb9)=>_0x5243eb(_0x4425e8,_0x23abb9,_0x5ce16f);_0x2becbd[_0x29a50d(0x3c4)]=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x164978,_0x42c1c9,_0x348699,_0x2aac5b,_0x2a8833){const _0x4ebfdf=_0x29a50d;super(),this[_0x4ebfdf(0x21f)]=_0x164978,this[_0x4ebfdf(0x28c)]=_0x42c1c9,this[_0x4ebfdf(0x260)]=_0x348699,this[_0x4ebfdf(0x3ca)]=_0x2aac5b,_0x2a8833?_0x2a8833==null||_0x2a8833[_0x4ebfdf(0x330)]()[_0x4ebfdf(0x317)](()=>this[_0x4ebfdf(0x328)]()):(this['_logService']['debug'](_0x4ebfdf(0x395),_0x4ebfdf(0x3e7)),this[_0x4ebfdf(0x328)]());}async['_init'](){const _0x4c9d55=_0x29a50d,_0x2eb0a1=this[_0x4c9d55(0x21f)]['getParam'](_0x4c9d55(0x2c7)),_0x52b34a=this['_urlService'][_0x4c9d55(0x1e4)](_0x4c9d55(0x462)),_0x4e7c11=this['_urlService'][_0x4c9d55(0x1e4)]('subunit');if(!_0x2eb0a1||!_0x52b34a){this[_0x4c9d55(0x28c)][_0x4c9d55(0x2f8)](_0x4c9d55(0x395),_0x4c9d55(0x323));return;}const _0x268a8e=await this[_0x4c9d55(0x3ca)][_0x4c9d55(0x30e)](_0x2eb0a1,Number(_0x52b34a),_0x4e7c11);_0x268a8e&&_0x268a8e instanceof _0x49eaeb[_0x4c9d55(0x3be)]&&this[_0x4c9d55(0x252)](_0x268a8e);}async[_0x29a50d(0x252)](_0x2bc67a){const _0xd047ca=_0x29a50d;await this['_updateSubUnitFromURLParams'](_0x2bc67a),_0x2bc67a[_0xd047ca(0x2cb)][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](_0x36768b=>{const _0x4363fc=_0xd047ca;_0x36768b&&this[_0x4363fc(0x470)](_0x36768b);}),this[_0xd047ca(0x21f)]['urlChange$'][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](()=>this['_updateSubUnitFromURLParams'](_0x2bc67a));}[_0x29a50d(0x470)](_0xc67f68,_0x413bd5=!0x1){const _0x3d60bd=_0x29a50d,_0x2d0e0e=this[_0x3d60bd(0x21f)]['getParam'](_0x3d60bd(0x377));_0xc67f68[_0x3d60bd(0x201)]()!==_0x2d0e0e&&this['_urlService']['setParam'](_0x3d60bd(0x377),_0xc67f68['getSheetId'](),_0x413bd5);}async[_0x29a50d(0x364)](_0x27acc5){const _0x396096=_0x29a50d;var _0x52cc78;const _0x1f055d=this['_urlService'][_0x396096(0x1e4)](_0x396096(0x377));if(!_0x1f055d||!_0x27acc5['getSheetBySheetId'](_0x1f055d)){const _0x486613=_0x27acc5[_0x396096(0x420)]()[0x0],_0x41e0df=_0x27acc5[_0x396096(0x3b9)](_0x486613);if(!_0x41e0df)return;this[_0x396096(0x470)](_0x41e0df,!0x0),await this['_commandService'][_0x396096(0x465)](_0x11631c[_0x396096(0x270)]['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x486613});return;}((_0x52cc78=_0x27acc5['getActiveSheet']())==null?void 0x0:_0x52cc78[_0x396096(0x201)]())!==_0x1f055d&&await this[_0x396096(0x260)]['executeCommand'](_0x11631c['SetWorksheetActivateCommand']['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x1f055d});}},_0x2becbd[_0x29a50d(0x3c4)]=_0x151c9f([_0x13287b(0x0,_0x189700),_0x13287b(0x1,_0x49eaeb['ILogService']),_0x13287b(0x2,_0x49eaeb[_0x29a50d(0x2e4)]),_0x13287b(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x339)])),_0x13287b(0x4,_0x49eaeb[_0x29a50d(0x25a)](_0x339d10[_0x29a50d(0x3eb)]))],_0x2becbd['CollaborationDataLoaderController']);var _0xa74593=Object[_0x29a50d(0x285)],_0x26c7e7=(_0x3511eb,_0x44c9b7,_0x3b5498,_0xb9cf4b)=>{const _0x45a1aa=_0x29a50d;for(var _0x2aa651=_0xb9cf4b>0x1?void 0x0:_0xb9cf4b?_0xa74593(_0x44c9b7,_0x3b5498):_0x44c9b7,_0x4ade36=_0x3511eb[_0x45a1aa(0x1f8)]-0x1,_0x17cdf6;_0x4ade36>=0x0;_0x4ade36--)(_0x17cdf6=_0x3511eb[_0x4ade36])&&(_0x2aa651=_0x17cdf6(_0x2aa651)||_0x2aa651);return _0x2aa651;},_0x41d13d=(_0x2b3222,_0x52762e)=>(_0x2547bd,_0x5f0d24)=>_0x52762e(_0x2547bd,_0x5f0d24,_0x2b3222);let _0x200e80=class{constructor(_0x242a92,_0x3d3c4c,_0x5cc5e9){const _0x243fc9=_0x29a50d;this['_injector']=_0x242a92,this[_0x243fc9(0x3f0)]=_0x3d3c4c,this['_renderManagerService']=_0x5cc5e9;}[_0x29a50d(0x361)](_0x5c40b2){const _0x203831=_0x29a50d;this[_0x203831(0x3a1)](_0x5c40b2),this[_0x203831(0x24b)](_0x5c40b2);}[_0x29a50d(0x334)](_0x5d475b){const _0x45da17=_0x29a50d,{unitID:_0x30ddf6}=_0x5d475b,_0x525cdd=this[_0x45da17(0x382)][_0x45da17(0x368)](_0x30ddf6)[_0x45da17(0x22c)](_0x3c8f3f[_0x45da17(0x34b)]),{redoCache:_0x307163}=_0x525cdd[_0x45da17(0x29f)]();if(_0x307163[_0x45da17(0x1f8)]===0x0)return _0x5d475b;let _0x2cdfe5=_0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b[_0x45da17(0x3b5)][0x0]);for(let _0x3aadac=0x0;_0x3aadac<_0x307163[_0x45da17(0x1f8)];_0x3aadac++){const _0x407282={'id':_0x45da17(0x2bf),'params':{..._0x307163[_0x3aadac]}},_0x55193c=this['_transformService'][_0x45da17(0x2b1)](_0x2cdfe5,_0x407282,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x55193c))throw _0x55193c[_0x45da17(0x2b3)];_0x2cdfe5=_0x55193c[_0x45da17(0x350)];}return{..._0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b),'mutations':[_0x2cdfe5]};}[_0x29a50d(0x3a1)](_0x3561fd){const _0x29a36d=_0x29a50d,{unitID:_0x255f97}=_0x3561fd,_0x472cf4=this[_0x29a36d(0x382)][_0x29a36d(0x368)](_0x255f97)['with'](_0x3c8f3f[_0x29a36d(0x34b)]),{undoCache:_0xff28d5,redoCache:_0x12901f}=_0x472cf4['getUndoRedoMutationParamsCache']();if(_0xff28d5[_0x29a36d(0x1f8)]===0x0||_0x12901f[_0x29a36d(0x1f8)]===0x0)return;const _0x420ceb=[],_0x4e3255=[];let _0x7e1b77=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]),_0x305058=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]);for(let _0x3147bf=_0xff28d5[_0x29a36d(0x1f8)]-0x1;_0x3147bf>=0x0;_0x3147bf--){const _0x418962={'id':_0x29a36d(0x2bf),'params':{..._0xff28d5[_0x3147bf]}},_0x28b8eb={'id':_0x29a36d(0x2bf),'params':{..._0x12901f[_0x3147bf]}},_0x218285=this['_transformService'][_0x29a36d(0x2b1)](_0x7e1b77,_0x418962,!0x1),_0x1cf85=this[_0x29a36d(0x3f0)]['transformMutation'](_0x305058,_0x28b8eb,!0x1);if(_0x579da8[_0x29a36d(0x212)](_0x218285))throw _0x218285[_0x29a36d(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1cf85))throw _0x1cf85['error'];_0x420ceb[_0x29a36d(0x2a9)](_0x218285[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x4e3255[_0x29a36d(0x2a9)](_0x1cf85[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x7e1b77=_0x218285[_0x29a36d(0x350)],_0x305058=_0x1cf85[_0x29a36d(0x350)];}_0x472cf4[_0x29a36d(0x30b)]({'undoCache':_0x420ceb,'redoCache':_0x4e3255});}[_0x29a50d(0x24b)](_0x58bc91){const _0x28f180=_0x29a50d,{unitID:_0x414ac5}=_0x58bc91,_0x557ccb=this[_0x28f180(0x382)][_0x28f180(0x368)](_0x414ac5)['with'](_0x3c8f3f[_0x28f180(0x34b)]),_0x453c15=_0x557ccb[_0x28f180(0x31e)]();if(_0x453c15==null)return;const _0x588688=[{'id':_0x28f180(0x2bf),'params':{'unitId':_0x58bc91['unitID'],'actions':null,'textRanges':[_0x453c15]}}],_0x13fac3=this[_0x28f180(0x3f0)][_0x28f180(0x32d)](_0x58bc91,_0x588688);if(!_0x579da8[_0x28f180(0x315)](_0x13fac3))throw _0x13fac3[_0x28f180(0x2b3)];const _0x5e1ae6=_0x13fac3[_0x28f180(0x439)][0x0][_0x28f180(0x388)]['textRanges'];Array[_0x28f180(0x23f)](_0x5e1ae6)&&_0x5e1ae6[_0x28f180(0x1f8)]&&_0x557ccb[_0x28f180(0x314)](_0x5e1ae6[0x0]);}};_0x200e80=_0x26c7e7([_0x41d13d(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x41d13d(0x1,_0x579da8['ITransformService']),_0x41d13d(0x2,_0x506afb[_0x29a50d(0x3e0)])],_0x200e80);var _0x1082a4=Object[_0x29a50d(0x285)],_0x2008b4=(_0x4074ee,_0x17fb5f,_0x532899,_0x5e7f37)=>{const _0x4362fa=_0x29a50d;for(var _0x48497b=_0x5e7f37>0x1?void 0x0:_0x5e7f37?_0x1082a4(_0x17fb5f,_0x532899):_0x17fb5f,_0x754b2b=_0x4074ee[_0x4362fa(0x1f8)]-0x1,_0x40bbb8;_0x754b2b>=0x0;_0x754b2b--)(_0x40bbb8=_0x4074ee[_0x754b2b])&&(_0x48497b=_0x40bbb8(_0x48497b)||_0x48497b);return _0x48497b;},_0x969e28=(_0x58a9f4,_0x5612b8)=>(_0x9a9de0,_0x54c33b)=>_0x5612b8(_0x9a9de0,_0x54c33b,_0x58a9f4);let _0x3ab3d0=class{constructor(_0x3b790f,_0x590007,_0x263946){const _0x3df41a=_0x29a50d;this[_0x3df41a(0x3aa)]=_0x3b790f,this[_0x3df41a(0x3f0)]=_0x590007,this[_0x3df41a(0x459)]=_0x263946;}['transformStateCache'](_0x37f5bc){const _0x2a255f=_0x29a50d;this[_0x2a255f(0x23b)](_0x37f5bc);}['transformRemoteChangeset'](_0xf98eae){const _0x203c33=_0x29a50d,{unitID:_0x58d615}=_0xf98eae,{collaboration:_0x45655e}=this['_docStateChangeManagerService'][_0x203c33(0x3d5)](_0x58d615);if(_0x45655e['length']===0x0)return _0xf98eae;let _0xa3adaa=_0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae[_0x203c33(0x3b5)][0x0]);for(let _0x3465f5=0x0;_0x3465f5<_0x45655e['length'];_0x3465f5++){const _0x413199={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45655e[_0x3465f5]['unitId'],..._0x45655e[_0x3465f5][_0x203c33(0x3b0)]}},_0x3775d2=this[_0x203c33(0x3f0)][_0x203c33(0x2b1)](_0xa3adaa,_0x413199,!0x1);if(_0x579da8[_0x203c33(0x212)](_0x3775d2))throw _0x3775d2[_0x203c33(0x2b3)];_0xa3adaa=_0x3775d2[_0x203c33(0x350)];}return{..._0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae),'mutations':[_0xa3adaa]};}[_0x29a50d(0x23b)](_0x4b244e){const _0x2a0a27=_0x29a50d,{unitID:_0x3c1fec}=_0x4b244e,{history:_0x22e2ad,collaboration:_0x59359b}=this['_docStateChangeManagerService'][_0x2a0a27(0x3d5)](_0x3c1fec);if(_0x22e2ad[_0x2a0a27(0x1f8)]===0x0&&_0x59359b[_0x2a0a27(0x1f8)]===0x0)return;const _0x545dbf=[],_0x170b1c=[];let _0x164838=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e['mutations'][0x0]);for(let _0x17a9c6=_0x22e2ad[_0x2a0a27(0x1f8)]-0x1;_0x17a9c6>=0x0;_0x17a9c6--){const _0x44bb84={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x1e7)]}},_0x47ab10={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x3b0)]}},_0x3a7605=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x164838,_0x44bb84,!0x1),_0x1b002d=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x588ed6,_0x47ab10,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x3a7605))throw _0x3a7605[_0x2a0a27(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1b002d))throw _0x1b002d[_0x2a0a27(0x2b3)];_0x545dbf[_0x2a0a27(0x2a9)]({..._0x22e2ad[_0x17a9c6],'undoState':_0x3a7605[_0x2a0a27(0x439)][_0x2a0a27(0x388)],'redoState':_0x1b002d[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x3a7605[_0x2a0a27(0x350)],_0x588ed6=_0x1b002d[_0x2a0a27(0x350)];}_0x164838=_0x49eaeb[_0x2a0a27(0x226)]['deepClone'](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]);for(let _0x33d149=_0x59359b[_0x2a0a27(0x1f8)]-0x1;_0x33d149>=0x0;_0x33d149--){const _0x42e26f={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149][_0x2a0a27(0x2c8)],..._0x59359b[_0x33d149][_0x2a0a27(0x1e7)]}},_0x1ea43d={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149]['unitId'],..._0x59359b[_0x33d149][_0x2a0a27(0x3b0)]}},_0x55122f=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x164838,_0x42e26f,!0x1),_0x3ab380=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x588ed6,_0x1ea43d,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x55122f))throw _0x55122f['error'];if(_0x579da8[_0x2a0a27(0x212)](_0x3ab380))throw _0x3ab380[_0x2a0a27(0x2b3)];_0x170b1c[_0x2a0a27(0x2a9)]({..._0x59359b[_0x33d149],'undoState':_0x55122f['m2Prime'][_0x2a0a27(0x388)],'redoState':_0x3ab380[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x55122f[_0x2a0a27(0x350)],_0x588ed6=_0x3ab380[_0x2a0a27(0x350)];}this[_0x2a0a27(0x459)][_0x2a0a27(0x1f2)](_0x3c1fec,{'history':_0x545dbf,'collaboration':_0x170b1c});}};_0x3ab3d0=_0x2008b4([_0x969e28(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x969e28(0x1,_0x579da8['ITransformService']),_0x969e28(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x3c8f3f[_0x29a50d(0x241)]))],_0x3ab3d0);var _0x395ea2=Object['getOwnPropertyDescriptor'],_0x19f754=(_0x2aaae3,_0x7e370d,_0x14d952,_0x3a4a0d)=>{const _0x44f179=_0x29a50d;for(var _0x473ef8=_0x3a4a0d>0x1?void 0x0:_0x3a4a0d?_0x395ea2(_0x7e370d,_0x14d952):_0x7e370d,_0x1f3e77=_0x2aaae3[_0x44f179(0x1f8)]-0x1,_0x43722e;_0x1f3e77>=0x0;_0x1f3e77--)(_0x43722e=_0x2aaae3[_0x1f3e77])&&(_0x473ef8=_0x43722e(_0x473ef8)||_0x473ef8);return _0x473ef8;},_0x13baf3=(_0x38dd81,_0x33c0ed)=>(_0x2a28e0,_0xd13403)=>_0x33c0ed(_0x2a28e0,_0xd13403,_0x38dd81);let _0x458c5d=class{constructor(_0x32dadb,_0x4ac525){const _0x3cc4a8=_0x29a50d;this[_0x3cc4a8(0x3aa)]=_0x32dadb,this[_0x3cc4a8(0x3f0)]=_0x4ac525;}[_0x29a50d(0x1fe)](_0x22e588){const _0x55338d=_0x29a50d;var _0x410d67;const _0x55eb4b=this[_0x55338d(0x3aa)][_0x55338d(0x408)](_0x54d7ba['DocSelectionManagerService']),_0x17c935=(_0x410d67=_0x55eb4b[_0x55338d(0x2f2)]())!=null?_0x410d67:[];if(_0x17c935[_0x55338d(0x1f8)]===0x0)return;const _0x474f7f=_0x22e588['unitID'],_0x4a77f6=[{'id':_0x55338d(0x2bf),'params':{'unitId':_0x474f7f,'actions':null,'textRanges':_0x17c935}}],_0x535e4c=this[_0x55338d(0x3f0)]['transformMutationsWithChangeset'](_0x22e588,_0x4a77f6);if(!_0x579da8[_0x55338d(0x315)](_0x535e4c))throw _0x535e4c[_0x55338d(0x2b3)];const _0x554322=_0x535e4c['m2Prime'][0x0][_0x55338d(0x388)]['textRanges'];Array[_0x55338d(0x23f)](_0x554322)&&_0x554322[_0x55338d(0x1f8)]&&_0x55eb4b[_0x55338d(0x40a)](_0x554322,{'unitId':_0x474f7f,'subUnitId':_0x474f7f},!0x1);}};_0x458c5d=_0x19f754([_0x13baf3(0x0,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x13baf3(0x1,_0x579da8[_0x29a50d(0x35f)])],_0x458c5d);var _0x28ec76=Object['getOwnPropertyDescriptor'],_0x3ff2bd=(_0x509535,_0x4fddc0,_0xda78d,_0x5d057f)=>{for(var _0xcec483=_0x5d057f>0x1?void 0x0:_0x5d057f?_0x28ec76(_0x4fddc0,_0xda78d):_0x4fddc0,_0x1c21e1=_0x509535['length']-0x1,_0x5d5c0a;_0x1c21e1>=0x0;_0x1c21e1--)(_0x5d5c0a=_0x509535[_0x1c21e1])&&(_0xcec483=_0x5d5c0a(_0xcec483)||_0xcec483);return _0xcec483;},_0x171b17=(_0x51a27e,_0x2744ad)=>(_0x209d5b,_0x29e96d)=>_0x2744ad(_0x209d5b,_0x29e96d,_0x51a27e);let _0x4c5e7f=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x373af2,_0x5ee993,_0x1c0268,_0xb7afa6,_0x74b42,_0xa2e521,_0x44548e,_0x1614f1){const _0x320221=_0x29a50d;super(),_0x2d5d22(this,_0x320221(0x477),new _0x1a1591[(_0x320221(0x242))](_0x5557ff[_0x320221(0x287)][_0x320221(0x44f)])),(this[_0x320221(0x459)]=_0x373af2,this[_0x320221(0x2a1)]=_0x5ee993,this[_0x320221(0x2ec)]=_0x1c0268,this[_0x320221(0x264)]=_0xb7afa6,this[_0x320221(0x245)]=_0x74b42,this[_0x320221(0x33f)]=_0xa2e521,this[_0x320221(0x2e5)]=_0x44548e,this[_0x320221(0x298)]=_0x1614f1,this[_0x320221(0x3f3)]());}['_initEntityListener'](){const _0x5dd4d6=_0x29a50d;this[_0x5dd4d6(0x46c)](this[_0x5dd4d6(0x2a1)][_0x5dd4d6(0x31b)]['subscribe'](_0x3cba4a=>{const _0x5ce1be=_0x5dd4d6,_0x2c89d5=this[_0x5ce1be(0x459)][_0x5ce1be(0x209)][_0x5ce1be(0x2f6)](_0x22eca6=>{const _0x379a6f=_0x5ce1be;if(_0x22eca6==null)return;const {unitId:_0x3cb791,redoState:_0x1edd9f,commandId:_0x542778}=_0x22eca6;if(_0x3cb791!==_0x3cba4a[_0x379a6f(0x36a)])return;const _0x2b8e74={'id':_0x542778,'type':_0x49eaeb[_0x379a6f(0x2a5)]['MUTATION'],'params':{'unitId':_0x3cb791,'actions':_0x1edd9f[_0x379a6f(0x359)],'textRanges':null}};_0x3cba4a['onLocalMutation'](_0x2b8e74);});if(_0x3cba4a[_0x5ce1be(0x46c)](_0x2c89d5),_0x3cba4a instanceof _0x5557ff[_0x5ce1be(0x32c)]){const _0x40cc44={'onTransformIME':_0x22d576=>this[_0x5ce1be(0x2ec)]['transformIMECache'](_0x22d576),'onTransformState':_0x411cba=>this[_0x5ce1be(0x264)]['transformStateCache'](_0x411cba),'onTransformSelections':_0x3d3a9e=>this[_0x5ce1be(0x245)]['transformSelections'](_0x3d3a9e),'onSyncEditingCollabCursor':_0x3e1bbf=>this[_0x5ce1be(0x33f)]['syncEditingCollabCursor'](_0x3e1bbf),'onTransformRemoteChangesetByIMECache':_0x411174=>this[_0x5ce1be(0x2ec)]['transformRemoteChangeset'](_0x411174),'onTransformRemoteChangesetByStateCache':_0xc35437=>this['_docTransformStateCacheService'][_0x5ce1be(0x334)](_0xc35437)};_0x3cba4a[_0x5ce1be(0x322)](_0x40cc44);}}));}};_0x4c5e7f=_0x3ff2bd([_0x171b17(0x0,_0x49eaeb['Inject'](_0x3c8f3f[_0x29a50d(0x241)])),_0x171b17(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x171b17(0x2,_0x49eaeb['Inject'](_0x200e80)),_0x171b17(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x3ab3d0)),_0x171b17(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x458c5d)),_0x171b17(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x171b17(0x6,_0x284e97[_0x29a50d(0x425)]),_0x171b17(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x4c5e7f);var _0x4f8005=Object['getOwnPropertyDescriptor'],_0x402824=(_0x2a9841,_0x5ae4e5,_0x4ca086,_0x52417b)=>{for(var _0x302038=_0x52417b>0x1?void 0x0:_0x52417b?_0x4f8005(_0x5ae4e5,_0x4ca086):_0x5ae4e5,_0x2b64eb=_0x2a9841['length']-0x1,_0x1f19e8;_0x2b64eb>=0x0;_0x2b64eb--)(_0x1f19e8=_0x2a9841[_0x2b64eb])&&(_0x302038=_0x1f19e8(_0x302038)||_0x302038);return _0x302038;},_0x677963=(_0x2bef0d,_0x34ba9d)=>(_0x4aeff2,_0x1390c8)=>_0x34ba9d(_0x4aeff2,_0x1390c8,_0x2bef0d);let _0x5464f7=class extends _0x49eaeb['Disposable']{constructor(_0xb9d92b,_0x3e7bb6,_0x45940b){const _0x590371=_0x29a50d;super(),_0x2d5d22(this,_0x590371(0x1ee),new Map()),_0x2d5d22(this,_0x590371(0x2e8),new Map()),_0x2d5d22(this,_0x590371(0x3df),!0x1),(this['_configService']=_0xb9d92b,this[_0x590371(0x221)]=_0x3e7bb6,this[_0x590371(0x378)]=_0x45940b);}[_0x29a50d(0x405)](){const _0x797320=_0x29a50d;this[_0x797320(0x3df)]=!0x0;}[_0x29a50d(0x35e)](){const _0x47a8c1=_0x29a50d;this[_0x47a8c1(0x3df)]=!0x1;}get[_0x29a50d(0x3b2)](){const _0x12c90d=_0x29a50d;return this[_0x12c90d(0x2e8)];}[_0x29a50d(0x239)](){const _0x5c89c2=_0x29a50d;this[_0x5c89c2(0x406)]()[_0x5c89c2(0x317)](()=>super[_0x5c89c2(0x239)]());}async['loadOfflineData'](_0x2bf0db){const _0x35ea91=_0x29a50d;return this[_0x35ea91(0x3df)]?null:this[_0x35ea91(0x221)]['getItem'](_0x5557ff[_0x35ea91(0x29e)](_0x2bf0db));}async[_0x29a50d(0x341)](_0x2b2326,_0x4f59b1){const _0x35df70=_0x29a50d;return!!this[_0x35df70(0x221)]['setItem'](_0x2b2326,_0x4f59b1);}[_0x29a50d(0x32b)](_0x110669,_0x2f2a37,_0x1647c8,_0x41fb19){const _0x141a3a=_0x29a50d,_0x38b1e8=this[_0x141a3a(0x378)][_0x141a3a(0x2eb)](_0x110669);this[_0x141a3a(0x1ee)][_0x141a3a(0x3e6)](_0x110669,{'unitID':_0x110669,'type':_0x2f2a37,'awaitingChangeset':_0x1647c8,'mutations':_0x41fb19,'rev':_0x38b1e8}),this[_0x141a3a(0x2e8)][_0x141a3a(0x35c)](_0x110669)||this['_scheduleSaving'](_0x110669);}['_scheduleSaving'](_0x2ab593){const _0xb8503=_0x29a50d,_0x2e2bca=this['_getSaveTimeout']();_0x2e2bca===0x0?this[_0xb8503(0x33e)](_0x2ab593):this[_0xb8503(0x2e8)][_0xb8503(0x3e6)](_0x2ab593,setTimeout(()=>this[_0xb8503(0x33e)](_0x2ab593),_0x2e2bca));}['_getSaveTimeout'](){const _0x15adba=_0x29a50d;var _0x15b5a9;return(_0x15b5a9=this[_0x15adba(0x3c0)][_0x15adba(0x218)](_0x5557ff[_0x15adba(0x2d6)]))!=null?_0x15b5a9:_0x5557ff[_0x15adba(0x2e7)];}[_0x29a50d(0x33e)](_0x1a2d0c){const _0x375fc8=_0x29a50d,_0x1b1b96=this[_0x375fc8(0x2e8)]['get'](_0x1a2d0c);return _0x1b1b96!==void 0x0&&window[_0x375fc8(0x2f4)](_0x1b1b96),this[_0x375fc8(0x221)]['setItem'](_0x5557ff[_0x375fc8(0x29e)](_0x1a2d0c),this[_0x375fc8(0x1ee)][_0x375fc8(0x408)](_0x1a2d0c))[_0x375fc8(0x317)](()=>this[_0x375fc8(0x2e8)]['delete'](_0x1a2d0c));}async[_0x29a50d(0x406)](){const _0x1b4c1b=_0x29a50d,_0x4e5067=[];this[_0x1b4c1b(0x2e8)][_0x1b4c1b(0x351)]((_0x3adcde,_0x5b634e)=>{const _0x37da98=_0x1b4c1b;window[_0x37da98(0x2f4)](_0x3adcde),_0x4e5067['push'](this[_0x37da98(0x33e)](_0x5b634e)[_0x37da98(0x317)](()=>{const _0x52785d=_0x37da98;this[_0x52785d(0x2e8)][_0x52785d(0x206)](_0x5b634e);}));}),await Promise[_0x1b4c1b(0x250)](_0x4e5067);}};_0x5464f7=_0x402824([_0x677963(0x0,_0x49eaeb['IConfigService']),_0x677963(0x1,_0x49eaeb[_0x29a50d(0x2a0)]),_0x677963(0x2,_0x49eaeb['Inject'](_0x579da8[_0x29a50d(0x2b8)]))],_0x5464f7);class _0x46366a extends _0x49eaeb['RxDisposable']{constructor(){const _0x3acfba=_0x29a50d;super(),_0x2d5d22(this,_0x3acfba(0x2f9)),this[_0x3acfba(0x2f9)]=_0x1a1591['fromEvent'](window,_0x3acfba(0x478))['pipe'](_0x1a1591[_0x3acfba(0x30c)](this['dispose$']),_0x1a1591['shareReplay'](0x1),_0x1a1591[_0x3acfba(0x2c9)](void 0x0));}[_0x29a50d(0x2aa)](_0x370648,_0x155899,_0x1c1113=!0x1){const _0x36fb76=_0x29a50d,_0x28ad67=new URL(window[_0x36fb76(0x3b4)]['href']);_0x28ad67['searchParams'][_0x36fb76(0x3e6)](_0x370648,_0x155899),_0x1c1113?window[_0x36fb76(0x291)][_0x36fb76(0x2c1)]('','',_0x28ad67[_0x36fb76(0x2ed)]()):window[_0x36fb76(0x291)][_0x36fb76(0x38e)]('','',_0x28ad67[_0x36fb76(0x2ed)]());}[_0x29a50d(0x25f)](_0x319279,_0x415d99=!0x1){const _0x5ca383=_0x29a50d,_0x168e2a=new URL(window['location'][_0x5ca383(0x387)]);_0x168e2a[_0x5ca383(0x294)][_0x5ca383(0x206)](_0x319279),_0x415d99?window[_0x5ca383(0x291)][_0x5ca383(0x2c1)]('','',_0x168e2a[_0x5ca383(0x2ed)]()):window[_0x5ca383(0x291)]['pushState']('','',_0x168e2a[_0x5ca383(0x2ed)]());}[_0x29a50d(0x1e4)](_0x179376){const _0x51d311=_0x29a50d;var _0x1d3e03;return(_0x1d3e03=new URL(window[_0x51d311(0x3b4)][_0x51d311(0x387)])['searchParams'][_0x51d311(0x408)](_0x179376))!=null?_0x1d3e03:void 0x0;}}var _0x74bd41=Object[_0x29a50d(0x222)],_0x5c8e56=Object[_0x29a50d(0x285)],_0x5ae38f=(_0x27102a,_0x5472b4,_0x425a24)=>_0x5472b4 in _0x27102a?_0x74bd41(_0x27102a,_0x5472b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425a24}):_0x27102a[_0x5472b4]=_0x425a24,_0xa46fee=(_0x4b7f8c,_0x41949c,_0x35e36e,_0x52a254)=>{const _0x3e605f=_0x29a50d;for(var _0xe4985=_0x52a254>0x1?void 0x0:_0x52a254?_0x5c8e56(_0x41949c,_0x35e36e):_0x41949c,_0x2cd629=_0x4b7f8c[_0x3e605f(0x1f8)]-0x1,_0x5d6824;_0x2cd629>=0x0;_0x2cd629--)(_0x5d6824=_0x4b7f8c[_0x2cd629])&&(_0xe4985=_0x5d6824(_0xe4985)||_0xe4985);return _0xe4985;},_0x1e1c52=(_0x3f2ac9,_0x260cf6)=>(_0x2f09de,_0x51e881)=>_0x260cf6(_0x2f09de,_0x51e881,_0x3f2ac9),_0x223eb5=(_0x4ba62a,_0x3e4355,_0x3b4a87)=>_0x5ae38f(_0x4ba62a,_0x3e4355+'',_0x3b4a87);const _0x2fe50f=_0x29a50d(0x1ec);_0x2becbd['UniverCollaborationClientUIPlugin']=class extends _0x49eaeb[_0x29a50d(0x38c)]{constructor(_0x240367=_0xbe33c4,_0x427a25,_0x18a1e0,_0x65b65d){const _0xe0439f=_0x29a50d;super(),this[_0xe0439f(0x43a)]=_0x240367,this[_0xe0439f(0x382)]=_0x427a25,this[_0xe0439f(0x3aa)]=_0x18a1e0,this[_0xe0439f(0x3c0)]=_0x65b65d;const {..._0x524db6}=_0x49eaeb[_0xe0439f(0x27b)]({},_0xbe33c4,this[_0xe0439f(0x43a)]);this[_0xe0439f(0x3c0)][_0xe0439f(0x399)](_0x52495c,_0x524db6);}[_0x29a50d(0x2ee)](){const _0xdc99f1=_0x29a50d;this[_0xdc99f1(0x367)](),this['_initDependencies']();}[_0x29a50d(0x312)](){const _0x2ac514=_0x29a50d;this[_0x2ac514(0x457)]();}[_0x29a50d(0x367)](){const _0x45956f=_0x29a50d;var _0x4c4810;const _0x36be28=[[_0x2b7743],[_0x458c5d],[_0x200e80],[_0x3ab3d0],[_0xb3c406],[_0x189700,{'useClass':_0x46366a}],[_0x23e63f[_0x45956f(0x39f)],{'useClass':_0x23e63f[_0x45956f(0x451)]}],[_0x5557ff[_0x45956f(0x366)],{'useClass':_0x5464f7}],[_0x2becbd[_0x45956f(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x43f861],[_0x450d8e],[_0x2becbd[_0x45956f(0x3c4)]]];_0x49eaeb[_0x45956f(0x289)](this['_injector'],_0x49eaeb[_0x45956f(0x3bc)](_0x36be28,(_0x4c4810=this['_config'])==null?void 0x0:_0x4c4810[_0x45956f(0x1e9)]));}[_0x29a50d(0x457)](){const _0x24eac2=_0x29a50d;this['disposeWithMe'](this[_0x24eac2(0x382)]['registerRenderModule'](_0x49eaeb[_0x24eac2(0x311)][_0x24eac2(0x2e3)],[_0x4c2a27])),this[_0x24eac2(0x46c)](this['_renderManagerService'][_0x24eac2(0x2b2)](_0x49eaeb[_0x24eac2(0x311)]['UNIVER_SHEET'],[_0x42601e]));}[_0x29a50d(0x303)](){const _0x2b44e3=_0x29a50d;_0x49eaeb['touchDependencies'](this[_0x2b44e3(0x3aa)],[[_0x43f861],[_0x2becbd[_0x2b44e3(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x2becbd['CollaborationDataLoaderController']]]);}},_0x223eb5(_0x2becbd['UniverCollaborationClientUIPlugin'],_0x29a50d(0x42b),_0x2fe50f),_0x2becbd[_0x29a50d(0x41e)]=_0xa46fee([_0x49eaeb['DependentOn'](_0x5557ff[_0x29a50d(0x419)]),_0x1e1c52(0x1,_0x506afb[_0x29a50d(0x3e0)]),_0x1e1c52(0x2,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x1e1c52(0x3,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x41e)]);var _0x2ea41f=Object[_0x29a50d(0x285)],_0x10409b=(_0x142668,_0x21d47d,_0x4ab9c0,_0x301608)=>{for(var _0x46d0cb=_0x301608>0x1?void 0x0:_0x301608?_0x2ea41f(_0x21d47d,_0x4ab9c0):_0x21d47d,_0x5955d7=_0x142668['length']-0x1,_0x800743;_0x5955d7>=0x0;_0x5955d7--)(_0x800743=_0x142668[_0x5955d7])&&(_0x46d0cb=_0x800743(_0x46d0cb)||_0x46d0cb);return _0x46d0cb;},_0x5c514a=(_0x1b64b5,_0x37a2a1)=>(_0x476747,_0x825610)=>_0x37a2a1(_0x476747,_0x825610,_0x1b64b5);_0x2becbd['BrowserCollaborationSocketService']=class extends _0x5557ff['CollaborationSocketService']{constructor(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18){super(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18);}async['createSocket'](_0x335917){const _0x554fc0=_0x29a50d,_0x4a034d=await this[_0x554fc0(0x37e)](),_0x24984c=this['_createSocketURL'](_0x335917,_0x4a034d);return this[_0x554fc0(0x22f)](_0x24984c);}[_0x29a50d(0x3d8)](_0x134d68,_0x9b95a6){const _0x28309c=_0x29a50d,_0x2f1d12=typeof window>'u'?new URL(_0x134d68):new URL(_0x134d68,window[_0x28309c(0x3b4)][_0x28309c(0x3db)]);_0x2f1d12[_0x28309c(0x294)][_0x28309c(0x3e6)](_0x28309c(0x464),_0x9b95a6);const _0x571c76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28309c(0x3b4)]['search']);return _0x571c76[_0x28309c(0x408)](_0x28309c(0x467))&&_0x2f1d12[_0x28309c(0x294)]['set'](_0x28309c(0x467),_0x571c76['get']('runId')),_0x2f1d12[_0x28309c(0x2ed)]();}async[_0x29a50d(0x37e)](){const _0x4c54a7=_0x29a50d;var _0x3562a4,_0xdbc109,_0x18b895;const _0x403c0c=this['_configService'][_0x4c54a7(0x218)](_0x5557ff[_0x4c54a7(0x23c)]),_0xd886a4=(_0x3562a4=_0x403c0c==null?void 0x0:_0x403c0c[_0x4c54a7(0x2ae)])!=null?_0x3562a4:_0x5557ff[_0x4c54a7(0x29c)];return(_0x18b895=(_0xdbc109=(await this['_httpService'][_0x4c54a7(0x408)](_0xd886a4,{'headers':{'Content-Type':_0x4c54a7(0x36c)}}))[_0x4c54a7(0x2ea)])==null?void 0x0:_0xdbc109['ticket'])!=null?_0x18b895:'';}},_0x2becbd['BrowserCollaborationSocketService']=_0x10409b([_0x5c514a(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x5c514a(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x23e63f[_0x29a50d(0x39c)])),_0x5c514a(0x2,_0x49eaeb[_0x29a50d(0x37f)]),_0x5c514a(0x3,_0x49eaeb[_0x29a50d(0x2e6)]),_0x5c514a(0x4,_0x579da8[_0x29a50d(0x3f2)])],_0x2becbd[_0x29a50d(0x2a2)]);const _0x59be6f=0x7530,_0x16ec45='ACTIVE_UNIT_EVENT_CHANNEL';class _0x524bf6 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x5d4658=_0x29a50d;super(),_0x2d5d22(this,_0x5d4658(0x479),_0x49eaeb[_0x5d4658(0x2fe)]()),_0x2d5d22(this,_0x5d4658(0x22a),new Set()),_0x2d5d22(this,_0x5d4658(0x262),new Map()),_0x2d5d22(this,'_heartbeatTimer',null),_0x2d5d22(this,_0x5d4658(0x3ff),new Map()),_0x2d5d22(this,_0x5d4658(0x30a),new Map()),this[_0x5d4658(0x328)]();}[_0x29a50d(0x239)](){const _0x5e80c5=_0x29a50d;super[_0x5e80c5(0x239)](),this[_0x5e80c5(0x3ff)][_0x5e80c5(0x351)]((_0x5eb81b,_0x163b4e)=>this[_0x5e80c5(0x434)](_0x163b4e)),this[_0x5e80c5(0x293)]&&window[_0x5e80c5(0x31c)](this[_0x5e80c5(0x293)]);}[_0x29a50d(0x41b)](_0x4fe9c7){const _0x8c88fb=_0x29a50d;return this[_0x8c88fb(0x2be)](_0x4fe9c7)['pipe'](_0x1a1591[_0x8c88fb(0x24f)]());}['editingUnit'](_0x37b4e4){const _0xb9d237=_0x29a50d;this[_0xb9d237(0x22a)][_0xb9d237(0x2bc)]===0x0&&this['_scheduleHeartbeat'](),this[_0xb9d237(0x22a)][_0xb9d237(0x3f5)](_0x37b4e4),this[_0xb9d237(0x394)]({'type':0x0,'memberID':this[_0xb9d237(0x479)],'unitIDs':[_0x37b4e4],'isForwarded':!0x1});}[_0x29a50d(0x2a4)](_0x38dee2){const _0x3c4566=_0x29a50d;this['_selfUnitIDs'][_0x3c4566(0x206)](_0x38dee2),this[_0x3c4566(0x22a)][_0x3c4566(0x2bc)]===0x0&&this[_0x3c4566(0x293)]&&window[_0x3c4566(0x31c)](this[_0x3c4566(0x293)]);}[_0x29a50d(0x328)](){const _0x330005=_0x29a50d;this['disposeWithMe'](_0x49eaeb[_0x330005(0x21d)](_0x1a1591['fromEvent'](window,_0x330005(0x2e0))['subscribe'](_0x4811d3=>{const _0x38afce=_0x330005;if(_0x4811d3[_0x38afce(0x3a2)]!==_0x16ec45||!_0x4811d3[_0x38afce(0x417)])return;const _0x45ffa8=JSON[_0x38afce(0x2fd)](_0x4811d3[_0x38afce(0x417)]);this['_handleEvent'](_0x45ffa8);}))),window[_0x330005(0x29a)](_0x330005(0x227),()=>this[_0x330005(0x394)]({'type':0x1,'memberID':this[_0x330005(0x479)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x430312){const _0x11d785=_0x29a50d;switch(_0x430312[_0x11d785(0x462)]){case 0x0:this[_0x11d785(0x2af)](_0x430312);break;case 0x1:this[_0x11d785(0x37b)](_0x430312);break;case 0x2:this[_0x11d785(0x256)](_0x430312);break;}}[_0x29a50d(0x2af)](_0x56bd0a){const _0x59a689=_0x29a50d,{unitIDs:_0xa0ecd1,memberID:_0xa06dde,isForwarded:_0x3984d2}=_0x56bd0a;_0xa0ecd1[_0x59a689(0x351)](_0x193c7=>{const _0x43381a=_0x59a689;if(!_0x3984d2&&this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)&&this[_0x43381a(0x2be)](_0x193c7)[_0x43381a(0x277)](_0x5557ff[_0x43381a(0x447)]['OTHER_CLIENTS_EDITING']),!this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)||!this[_0x43381a(0x262)]['get'](_0x193c7)['has'](_0xa06dde)){const _0x5b3164=this[_0x43381a(0x262)][_0x43381a(0x408)](_0x193c7)||new Set();_0x5b3164[_0x43381a(0x3f5)](_0xa06dde),this[_0x43381a(0x262)][_0x43381a(0x3e6)](_0x193c7,_0x5b3164),this['_scheduleClearOtherTimer'](_0xa06dde);}}),_0x3984d2||this[_0x59a689(0x394)]({'type':0x0,'memberID':this[_0x59a689(0x479)],'unitIDs':[...this[_0x59a689(0x22a)]],'isForwarded':!0x0});}[_0x29a50d(0x263)](_0x54c6f0){const _0x3da855=_0x29a50d;this[_0x3da855(0x434)](_0x54c6f0);const _0x9a67c8=window['setTimeout'](()=>{const _0x2af602=_0x3da855;this['_unitOnClients'][_0x2af602(0x351)](_0xdd3e61=>{_0xdd3e61['delete'](_0x54c6f0);});},_0x59be6f*0x2);this[_0x3da855(0x3ff)][_0x3da855(0x3e6)](_0x54c6f0,_0x9a67c8);}['_removeClearOtherTimer'](_0x1c5a18){const _0x434f7a=_0x29a50d;if(this[_0x434f7a(0x3ff)][_0x434f7a(0x35c)](_0x1c5a18)){const _0x36942b=this['_clearOtherTimers'][_0x434f7a(0x408)](_0x1c5a18);_0x36942b&&window[_0x434f7a(0x2f4)](_0x36942b),this['_clearOtherTimers'][_0x434f7a(0x3e6)](_0x1c5a18,null);}}['_handleLeaveEvent'](_0x385e2e){const {memberID:_0x19e534,unitIDs:_0x4f0e01}=_0x385e2e;_0x4f0e01['forEach'](_0x4236b9=>{const _0x14b80a=_0x37a6;var _0x392109;const _0x54c7d8=this['_unitOnClients'][_0x14b80a(0x408)](_0x4236b9);_0x54c7d8&&(_0x54c7d8[_0x14b80a(0x206)](_0x19e534),(_0x392109=this[_0x14b80a(0x2be)](_0x4236b9))==null||_0x392109[_0x14b80a(0x277)](_0x54c7d8['size']===0x0?_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x208)]:_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x2fc)]));}),this['_removeClearOtherTimer'](_0x19e534);}['_handleHeartbeatEvent'](_0x2d6c98){const _0xe994c1=_0x29a50d;this['_scheduleClearOtherTimer'](_0x2d6c98[_0xe994c1(0x3d1)]);}[_0x29a50d(0x394)](_0x455908){const _0x2a6bcf=_0x29a50d;localStorage[_0x2a6bcf(0x26b)](_0x16ec45,JSON[_0x2a6bcf(0x33c)](_0x455908));}[_0x29a50d(0x39b)](){const _0x2489f6=_0x29a50d;this[_0x2489f6(0x293)]=window[_0x2489f6(0x36e)](()=>{const _0x160a30=_0x2489f6;this[_0x160a30(0x394)]({'type':0x2,'memberID':this[_0x160a30(0x479)]});},_0x59be6f);}['_ensureSubject'](_0x1a7eab){const _0x1988da=_0x29a50d;return this[_0x1988da(0x30a)][_0x1988da(0x35c)](_0x1a7eab)||this[_0x1988da(0x30a)][_0x1988da(0x3e6)](_0x1a7eab,new _0x1a1591['BehaviorSubject'](_0x5557ff[_0x1988da(0x447)][_0x1988da(0x208)])),this['_unitStatus']['get'](_0x1a7eab);}}var _0x5afc4b=(_0x513dcc=>(_0x513dcc[_0x513dcc[_0x29a50d(0x444)]=0x0]=_0x29a50d(0x444),_0x513dcc[_0x513dcc['OK']=0x1]='OK',_0x513dcc[_0x513dcc[_0x29a50d(0x404)]=0x2]=_0x29a50d(0x404),_0x513dcc[_0x513dcc[_0x29a50d(0x1ff)]=0x3]=_0x29a50d(0x1ff),_0x513dcc[_0x513dcc[_0x29a50d(0x27c)]=0x4]=_0x29a50d(0x27c),_0x513dcc[_0x513dcc['UNAUTHENTICATED']=0x5]=_0x29a50d(0x31a),_0x513dcc[_0x513dcc[_0x29a50d(0x3c9)]=0x6]='ALREADY_EXISTS',_0x513dcc[_0x513dcc[_0x29a50d(0x412)]=0x7]=_0x29a50d(0x412),_0x513dcc[_0x513dcc['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x513dcc[_0x513dcc['COMPLETION_FINISHED']=0x9]=_0x29a50d(0x34c),_0x513dcc[_0x513dcc['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x513dcc[_0x513dcc[_0x29a50d(0x2b4)]=0x1389]=_0x29a50d(0x2b4),_0x513dcc[_0x513dcc[_0x29a50d(0x29b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x513dcc[_0x513dcc[_0x29a50d(0x21e)]=0x1772]=_0x29a50d(0x21e),_0x513dcc[_0x513dcc[_0x29a50d(0x428)]=0x1773]=_0x29a50d(0x428),_0x513dcc[_0x513dcc['APPLY_REJECT']=0x1b59]=_0x29a50d(0x331),_0x513dcc[_0x513dcc[_0x29a50d(0x224)]=0x1b5a]=_0x29a50d(0x224),_0x513dcc[_0x513dcc[_0x29a50d(0x214)]=0x1b5b]=_0x29a50d(0x214),_0x513dcc[_0x513dcc['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x29a50d(0x26f),_0x513dcc[_0x513dcc['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x513dcc[_0x513dcc[_0x29a50d(0x398)]=0x1f41]=_0x29a50d(0x398),_0x513dcc[_0x513dcc[_0x29a50d(0x373)]=0x2329]=_0x29a50d(0x373),_0x513dcc[_0x513dcc[_0x29a50d(0x3f1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x513dcc[_0x513dcc[_0x29a50d(0x3d0)]=0x232b]=_0x29a50d(0x3d0),_0x513dcc[_0x513dcc[_0x29a50d(0x279)]=0x232c]=_0x29a50d(0x279),_0x513dcc[_0x513dcc[_0x29a50d(0x1eb)]=0x232d]=_0x29a50d(0x1eb),_0x513dcc[_0x513dcc[_0x29a50d(0x3e9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x513dcc[_0x513dcc['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29a50d(0x283),_0x513dcc[_0x513dcc[_0x29a50d(0x3de)]=0x2713]=_0x29a50d(0x3de),_0x513dcc[_0x513dcc[_0x29a50d(0x476)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x513dcc[_0x513dcc[_0x29a50d(0x45e)]=0x271a]=_0x29a50d(0x45e),_0x513dcc[_0x513dcc[_0x29a50d(0x32a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x513dcc[_0x513dcc[_0x29a50d(0x427)]=0x2af9]=_0x29a50d(0x427),_0x513dcc[_0x513dcc[_0x29a50d(0x3fe)]=0x2ee1]=_0x29a50d(0x3fe),_0x513dcc[_0x513dcc[_0x29a50d(0x307)]=0x2ee2]='INVALID_INVITE_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x3c6)]=0x2ee3]=_0x29a50d(0x3c6),_0x513dcc[_0x513dcc['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x28d)]=0x2ee5]=_0x29a50d(0x28d),_0x513dcc[_0x513dcc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x29a50d(0x3bb),_0x513dcc[_0x513dcc[_0x29a50d(0x271)]=0x32ca]=_0x29a50d(0x271),_0x513dcc[_0x513dcc[_0x29a50d(0x353)]=0x32cb]=_0x29a50d(0x353),_0x513dcc[_0x513dcc[_0x29a50d(0x3f4)]=-0x1]=_0x29a50d(0x3f4),_0x513dcc))(_0x5afc4b||{}),_0x21f660=Object[_0x29a50d(0x285)],_0x1be725=(_0x4ec892,_0x3cfe72,_0x5a49a7,_0x13f21d)=>{const _0x225da5=_0x29a50d;for(var _0x260648=_0x13f21d>0x1?void 0x0:_0x13f21d?_0x21f660(_0x3cfe72,_0x5a49a7):_0x3cfe72,_0x266d4b=_0x4ec892[_0x225da5(0x1f8)]-0x1,_0x2f130c;_0x266d4b>=0x0;_0x266d4b--)(_0x2f130c=_0x4ec892[_0x266d4b])&&(_0x260648=_0x2f130c(_0x260648)||_0x260648);return _0x260648;},_0x348082=(_0x106b0c,_0x10a6c0)=>(_0x37297e,_0xde305f)=>_0x10a6c0(_0x37297e,_0xde305f,_0x106b0c);_0x2becbd[_0x29a50d(0x2c6)]=class extends _0x49eaeb['Disposable']{constructor(_0x1c716c,_0x22ce91,_0x518e7b){const _0x2352f3=_0x29a50d;super(),this['_instanceService']=_0x1c716c,this[_0x2352f3(0x301)]=_0x22ce91,this['_configService']=_0x518e7b;}async['runOnServer'](_0x2e512b,_0x276d1a,_0x3f275a,..._0x4a9d7a){const _0x1e727f=_0x29a50d;var _0x506bf3,_0x23caa7,_0x52c6c9,_0x3517bf;const _0x3cda5e=this['_instanceService'][_0x1e727f(0x344)]();if(!_0x3cda5e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x542858=((_0x506bf3=this[_0x1e727f(0x3c0)][_0x1e727f(0x218)](_0x5557ff[_0x1e727f(0x248)]))!=null?_0x506bf3:_0x5557ff[_0x1e727f(0x337)])+'/'+_0x2e512b+_0x1e727f(0x2ac)+_0x276d1a,_0xc8521c=new URL(window[_0x1e727f(0x3b4)][_0x1e727f(0x387)]),_0x52b87e={'scriptId':_0x2e512b,'runId':(_0x23caa7=_0xc8521c[_0x1e727f(0x294)][_0x1e727f(0x408)](_0x1e727f(0x467)))!=null?_0x23caa7:'','function':_0x276d1a,'unitId':_0x3cda5e[_0x1e727f(0x3fc)](),'argsOfFunction':JSON[_0x1e727f(0x33c)](_0x4a9d7a),'invokeId':(_0x52c6c9=_0x3f275a[_0x1e727f(0x2d7)])!=null?_0x52c6c9:'','executionId':(_0x3517bf=_0x3f275a[_0x1e727f(0x418)])!=null?_0x3517bf:''};try{const _0x3dec5e=await this[_0x1e727f(0x301)][_0x1e727f(0x355)](_0x542858,{'body':_0x52b87e});return _0x3dec5e[_0x1e727f(0x2ea)]['error']&&_0x3dec5e[_0x1e727f(0x2ea)]['error'][_0x1e727f(0x43c)]!==_0x5afc4b['OK']?_0x1e727f(0x246):_0x3dec5e[_0x1e727f(0x2ea)]['result'];}catch{return _0x1e727f(0x246);}}},_0x2becbd['RemoteUniscriptService']=_0x1be725([_0x348082(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x348082(0x1,_0x49eaeb['Inject'](_0x23e63f['HTTPService'])),_0x348082(0x2,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x2c6)]),_0x2becbd[_0x29a50d(0x254)]=_0x56e298,_0x2becbd[_0x29a50d(0x313)]=_0x189700,_0x2becbd[_0x29a50d(0x44d)]=_0x3df6b2,_0x2becbd[_0x29a50d(0x20b)]=_0x524bf6,_0x2becbd[_0x29a50d(0x430)]=_0x46366a,Object[_0x29a50d(0x222)](_0x2becbd,Symbol[_0x29a50d(0x2a8)],{'value':'Module'});}));