@univerjs-pro/collaboration-client-ui 0.6.2 → 0.6.3-nightly.202503051607

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(_0x3012fe,_0x5557ec){const _0x5487b0=_0x541d,_0x3d1d7f=_0x3012fe();while(!![]){try{const _0x474acd=-parseInt(_0x5487b0(0x200))/0x1+-parseInt(_0x5487b0(0xa6))/0x2*(-parseInt(_0x5487b0(0x101))/0x3)+parseInt(_0x5487b0(0x11c))/0x4*(-parseInt(_0x5487b0(0x1b7))/0x5)+-parseInt(_0x5487b0(0x109))/0x6+parseInt(_0x5487b0(0x24e))/0x7+parseInt(_0x5487b0(0x21d))/0x8*(parseInt(_0x5487b0(0x84))/0x9)+parseInt(_0x5487b0(0x18c))/0xa*(parseInt(_0x5487b0(0x118))/0xb);if(_0x474acd===_0x5557ec)break;else _0x3d1d7f['push'](_0x3d1d7f['shift']());}catch(_0x3be5c6){_0x3d1d7f['push'](_0x3d1d7f['shift']());}}}(_0x2924,0xa74ca),function(_0x2dcc86,_0x21eb73){const _0x440f13=_0x541d;typeof exports==_0x440f13(0x19a)&&typeof module<'u'?_0x21eb73(exports,require(_0x440f13(0x1b4)),require(_0x440f13(0x1bf)),require(_0x440f13(0x2f9)),require('@univerjs/network'),require(_0x440f13(0x128)),require(_0x440f13(0x28e)),require(_0x440f13(0x15c)),require(_0x440f13(0x2a0)),require(_0x440f13(0x214)),require(_0x440f13(0xa5)),require(_0x440f13(0xc8)),require('rxjs/operators'),require(_0x440f13(0x2b6)),require(_0x440f13(0x2d5)),require('@univerjs/ui'),require(_0x440f13(0x1a9)),require(_0x440f13(0x125)),require(_0x440f13(0x10c))):typeof define==_0x440f13(0x13f)&&define[_0x440f13(0x1b5)]?define([_0x440f13(0x25e),_0x440f13(0x1b4),_0x440f13(0x1bf),'@univerjs/engine-render',_0x440f13(0x268),'@univerjs/docs-ui','@univerjs/drawing',_0x440f13(0x15c),_0x440f13(0x2a0),_0x440f13(0x214),_0x440f13(0xa5),_0x440f13(0xc8),_0x440f13(0x202),_0x440f13(0x2b6),_0x440f13(0x2d5),_0x440f13(0x1a5),_0x440f13(0x1a9),_0x440f13(0x125),'@univerjs/rpc'],_0x21eb73):(_0x2dcc86=typeof globalThis<'u'?globalThis:_0x2dcc86||self,_0x21eb73(_0x2dcc86[_0x440f13(0x1c5)]={},_0x2dcc86[_0x440f13(0x2ef)],_0x2dcc86['UniverCore'],_0x2dcc86[_0x440f13(0x2a1)],_0x2dcc86[_0x440f13(0x19e)],_0x2dcc86[_0x440f13(0xa7)],_0x2dcc86['UniverDrawing'],_0x2dcc86['rxjs'],_0x2dcc86[_0x440f13(0x1d0)],_0x2dcc86[_0x440f13(0x16d)],_0x2dcc86[_0x440f13(0x13d)],_0x2dcc86[_0x440f13(0x1e9)],_0x2dcc86['rxjs'][_0x440f13(0xf0)],_0x2dcc86[_0x440f13(0x24d)],_0x2dcc86[_0x440f13(0x8d)],_0x2dcc86['UniverUi'],_0x2dcc86[_0x440f13(0x257)],_0x2dcc86[_0x440f13(0x8d)],_0x2dcc86['UniverRpc']));}(this,function(_0x2db65c,_0x3237ee,_0xd53bd8,_0x3574c4,_0x23cee1,_0x372e3b,_0x4ee3fc,_0xd36704,_0x552433,_0xf9a610,_0xd55e2f,_0x2685e1,_0x1aecba,_0x6a9504,_0x514380,_0x1d07a5,_0xed24b9,_0x4a42ca,_0x1f9c2a){'use strict';const _0x1325e8=_0x541d;var _0x4ac36f=Object[_0x1325e8(0xb4)],_0x1d5341=(_0x19307c,_0x70eeeb,_0x2d1bd6)=>_0x70eeeb in _0x19307c?_0x4ac36f(_0x19307c,_0x70eeeb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d1bd6}):_0x19307c[_0x70eeeb]=_0x2d1bd6,_0x48b37d=(_0x53ab92,_0x9baf81,_0x25a979)=>_0x1d5341(_0x53ab92,typeof _0x9baf81!='symbol'?_0x9baf81+'':_0x9baf81,_0x25a979),_0x59620d=Object[_0x1325e8(0x107)],_0x3ccd95=(_0x32bd11,_0x38223f,_0x3f8238,_0x102dd4)=>{const _0x39a6be=_0x1325e8;for(var _0x2368ee=_0x102dd4>0x1?void 0x0:_0x102dd4?_0x59620d(_0x38223f,_0x3f8238):_0x38223f,_0x3ec707=_0x32bd11[_0x39a6be(0x116)]-0x1,_0x57755f;_0x3ec707>=0x0;_0x3ec707--)(_0x57755f=_0x32bd11[_0x3ec707])&&(_0x2368ee=_0x57755f(_0x2368ee)||_0x2368ee);return _0x2368ee;},_0x32833d=(_0x1b2304,_0x54b670)=>(_0x3dd05b,_0x76a4b8)=>_0x54b670(_0x3dd05b,_0x76a4b8,_0x1b2304);let _0x340ef9=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x51a2a8,_0xcd515b){const _0x183803=_0x1325e8;super(),this[_0x183803(0x69)]=_0x51a2a8,this[_0x183803(0x233)]=_0xcd515b,this['_init']();}['_init'](){const _0x17a4eb=_0x1325e8,_0x1d07c6=this;this[_0x17a4eb(0x230)](this[_0x17a4eb(0x69)]['addClipboardHook']({'onBeforePasteImage':async _0x1f7e23=>{const _0xa52082=_0x17a4eb,_0x5cd193=await _0x1d07c6[_0xa52082(0x233)][_0xa52082(0x17a)](_0x1f7e23);return _0x5cd193?{'source':_0x5cd193[_0xa52082(0x263)],'imageSourceType':_0x5cd193[_0xa52082(0xe4)]}:null;}}));}};_0x340ef9=_0x3ccd95([_0x32833d(0x0,_0x372e3b['IDocClipboardService']),_0x32833d(0x1,_0x4ee3fc[_0x1325e8(0x25f)])],_0x340ef9);const _0x2daeb5=[_0x1325e8(0x212),_0x1325e8(0xb1),_0x1325e8(0xa0),_0x1325e8(0x146),'blue400',_0x1325e8(0x245)];class _0x300907 extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(){const _0xe567f2=_0x1325e8;super(...arguments),_0x48b37d(this,_0xe567f2(0x26a),new Map()),_0x48b37d(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x3f2753){const _0x267e52=_0x1325e8;if(this['_assignedColors'][_0x267e52(0x258)](_0x3f2753))return this[_0x267e52(0x26a)]['get'](_0x3f2753);const _0x5e2cdb=_0x2daeb5[this['_colorIndex']];return this['_colorIndex']=(this[_0x267e52(0x276)]+0x1)%_0x2daeb5['length'],this[_0x267e52(0x26a)]['set'](_0x3f2753,_0x5e2cdb),_0x5e2cdb;}}function _0x35a585(_0x261709){const _0x3d7b1b=_0x1325e8;let _0x94125b='';for(const _0x412766 of _0x261709){const {startOffset:_0x2135e5,endOffset:_0x59f593,isActive:_0x35b23c,rangeType:_0x230fe2,segmentId:_0x338096,segmentPage:_0x1d8846}=_0x412766;_0x94125b[_0x3d7b1b(0x116)]&&(_0x94125b+=','),_0x94125b+=_0x2135e5+':'+_0x59f593+':'+(_0x35b23c?'1':'0')+':'+_0x230fe2+':'+_0x338096+':'+_0x1d8846;}return _0x94125b;}function _0x46e990(_0x3088dd){const _0x56a0fb=_0x1325e8,_0x55e6a4=_0x3088dd[_0x56a0fb(0x266)](','),_0x1b5d8b=[];for(const _0x113fbb of _0x55e6a4){const [_0x1ff677,_0x28d1b9,_0x8cb18b,_0x313849,_0x27d808,_0x17262b]=_0x113fbb[_0x56a0fb(0x266)](':');_0x1b5d8b[_0x56a0fb(0x1f9)]({'startOffset':Number(_0x1ff677),'endOffset':Number(_0x28d1b9),'collapsed':_0x1ff677===_0x28d1b9,'isActive':_0x8cb18b==='1','rangeType':_0x313849===_0xd53bd8[_0x56a0fb(0x28c)]['TEXT']?_0xd53bd8['DOC_RANGE_TYPE'][_0x56a0fb(0x2e2)]:_0xd53bd8['DOC_RANGE_TYPE'][_0x56a0fb(0x163)],'segmentId':typeof _0x27d808==_0x56a0fb(0x211)?String(_0x27d808):'','segmentPage':Number(_0x17262b!=null?_0x17262b:-0x1)});}return _0x1b5d8b[_0x56a0fb(0x2f2)](_0x22ca63=>_0x22ca63['isActive'])||(_0x1b5d8b[0x0][_0x56a0fb(0x1da)]=!0x0),_0x1b5d8b;}class _0x97dcb1 extends _0xd53bd8['RxDisposable']{constructor(){const _0x17a40b=_0x1325e8;super(...arguments),_0x48b37d(this,_0x17a40b(0x2a3),new _0xd36704['BehaviorSubject'](null)),_0x48b37d(this,_0x17a40b(0x22c),this[_0x17a40b(0x2a3)][_0x17a40b(0x2c9)]());}[_0x1325e8(0xd1)](_0x1b161b){const _0x42515d=_0x1325e8,{unitID:_0x1725e0,memberID:_0x4abeeb,textRanges:_0x151cb5}=_0x1b161b,_0x22c3de=_0x35a585(_0x151cb5);if(_0x22c3de==='')return;const _0x3fe89a={'unitID':_0x1725e0,'memberID':_0x4abeeb,'selection':_0x22c3de};this['_collabCursorState$'][_0x42515d(0x265)](_0x3fe89a);}}var _0x5e806c=Object[_0x1325e8(0x107)],_0x46db4b=(_0x57a421,_0x4ab4d,_0x409c84,_0x2e8d6a)=>{const _0x4ada6f=_0x1325e8;for(var _0x22c5e5=_0x2e8d6a>0x1?void 0x0:_0x2e8d6a?_0x5e806c(_0x4ab4d,_0x409c84):_0x4ab4d,_0x2b6b74=_0x57a421[_0x4ada6f(0x116)]-0x1,_0x3b16f2;_0x2b6b74>=0x0;_0x2b6b74--)(_0x3b16f2=_0x57a421[_0x2b6b74])&&(_0x22c5e5=_0x3b16f2(_0x22c5e5)||_0x22c5e5);return _0x22c5e5;},_0x37c2c7=(_0x469736,_0x4c9dfb)=>(_0x3cbe8e,_0x417ad6)=>_0x4c9dfb(_0x3cbe8e,_0x417ad6,_0x469736);const _0x2266a3=0x12c,_0xd58e7=0x64;let _0x38b431=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x36fb44,_0x2c2588,_0x4065a0,_0x3496ba,_0x1e67b1,_0x194a87,_0x24a75b,_0x2657ef,_0x10318d){const _0x489122=_0x1325e8;super(),_0x48b37d(this,'_online',!0x1),_0x48b37d(this,_0x489122(0x2f3),!0x1),_0x48b37d(this,'_cursorInfo$',new _0xd36704['BehaviorSubject'](new Map())),_0x48b37d(this,_0x489122(0x134),this[_0x489122(0x194)]['asObservable']()),_0x48b37d(this,'_roomMembers$',new _0xd36704[(_0x489122(0x1a4))]([])),_0x48b37d(this,_0x489122(0x204),this[_0x489122(0x7a)]['pipe'](_0xd36704[_0x489122(0x150)](_0x2266a3))),_0x48b37d(this,'_updateLocalCursor',_0xd53bd8[_0x489122(0x89)](_0x13ff53=>{const _0x233055=_0x489122,_0x46bbd9={'eventID':_0xf9a610['CollaborationEvent'][_0x233055(0x28d)],'data':{'unitID':this[_0x233055(0xfb)],'memberID':this['_session'][_0x233055(0x179)](),'selection':_0x35a585(_0x13ff53)}};this[_0x233055(0x287)][_0x233055(0x10b)](_0x46bbd9,this[_0x233055(0xfb)]);},_0xd58e7)),(this['unitID']=_0x36fb44,this[_0x489122(0x287)]=_0x2c2588,this[_0x489122(0x284)]=_0x4065a0,this[_0x489122(0x2d4)]=_0x3496ba,this['_memberService']=_0x1e67b1,this['_syncEditingCollabCursorService']=_0x194a87,this['_transformService']=_0x24a75b,this[_0x489122(0x2a7)]=_0x2657ef,this[_0x489122(0x262)]=_0x10318d);}get[_0x1325e8(0x247)](){const _0x2e1e0f=_0x1325e8;return this[_0x2e1e0f(0x194)]['getValue']();}get[_0x1325e8(0xbd)](){const _0xc375bd=_0x1325e8;return this[_0xc375bd(0x7a)][_0xc375bd(0x126)]();}[_0x1325e8(0xa9)](){const _0x4dc759=_0x1325e8;super[_0x4dc759(0xa9)](),this[_0x4dc759(0x194)]['next'](new Map()),this['_cursorInfo$'][_0x4dc759(0x17c)](),this['_roomMembers$'][_0x4dc759(0x265)]([]),this[_0x4dc759(0x7a)][_0x4dc759(0x17c)]();}[_0x1325e8(0x1fe)](){const _0x1e4d17=_0x1325e8;this[_0x1e4d17(0x2f3)]||(this[_0x1e4d17(0x2f3)]=!0x0,this[_0x1e4d17(0x287)][_0x1e4d17(0x2eb)][_0x1e4d17(0x22b)](_0xd36704[_0x1e4d17(0x7d)](this[_0x1e4d17(0x29b)]))[_0x1e4d17(0x12d)](_0x13eaa4=>{const _0x5adfc9=_0x1e4d17;_0x13eaa4===_0x3237ee[_0x5adfc9(0x158)][_0x5adfc9(0xfc)]?this['_toggleOnline']():this[_0x5adfc9(0x20f)]();}),this['_session']['event$']['pipe'](_0xd36704[_0x1e4d17(0x7d)](this[_0x1e4d17(0x29b)]))[_0x1e4d17(0x12d)](_0x18dc9d=>{const _0x1b9007=_0x1e4d17,_0x3b63ef=_0x18dc9d[_0x1b9007(0x83)];_0x3b63ef===_0xf9a610[_0x1b9007(0x285)][_0x1b9007(0x28d)]&&this[_0x1b9007(0x23e)](_0x18dc9d),_0x3b63ef===_0xf9a610[_0x1b9007(0x285)][_0x1b9007(0x20d)]&&this['_onCursorDelete'](_0x18dc9d);}),this[_0x1e4d17(0x230)](this[_0x1e4d17(0x262)][_0x1e4d17(0x85)](_0x1e7097=>{const _0x32196a=_0x1e4d17,_0x3520fa=_0x1e7097['params'];_0x3520fa!=null&&this[_0x32196a(0x205)]&&_0x1e7097['id']===_0x552433[_0x32196a(0x1b8)]['id']&&_0x3520fa[_0x32196a(0x168)]===this[_0x32196a(0xfb)]&&_0x3520fa['isEditing']===!0x1&&_0x3520fa[_0x32196a(0xa1)]['length']>0x0&&this[_0x32196a(0x1b3)](_0x3520fa[_0x32196a(0xa1)]);})),this[_0x1e4d17(0x72)]['collabCursorState$'][_0x1e4d17(0x22b)](_0xd36704[_0x1e4d17(0x7d)](this[_0x1e4d17(0x29b)]))['subscribe'](_0xc8f6c3=>{const _0x1a1e3b=_0x1e4d17;if((_0xc8f6c3==null?void 0x0:_0xc8f6c3[_0x1a1e3b(0xfb)])!==this['unitID'])return;const _0x2ab44a={'eventID':_0xf9a610[_0x1a1e3b(0x285)][_0x1a1e3b(0x28d)],'data':_0xc8f6c3};this['_onCursorUpdate'](_0x2ab44a);}),this['disposeWithMe'](this['_commandService'][_0x1e4d17(0x85)](_0x2b452c=>{const _0x2dfcd8=_0x1e4d17;if(_0x2b452c['params']==null)return;const _0x4164ae=_0x2b452c[_0x2dfcd8(0x271)];if(_0x2b452c['id']!==_0x552433[_0x2dfcd8(0x1cb)]['id']||_0x4164ae[_0x2dfcd8(0x168)]!==this[_0x2dfcd8(0xfb)])return;const _0x59d44e={'id':_0x2dfcd8(0x2c7),'params':_0x4164ae},_0x574561=this[_0x2dfcd8(0x247)];for(const [_0xd89454,_0x537d7a]of _0x574561){const _0x3c0a0b={'id':_0x2dfcd8(0x2c7),'params':{'unitId':this[_0x2dfcd8(0xfb)],'actions':null,'textRanges':_0x537d7a[_0x2dfcd8(0xa1)]}},_0x1f7a09=this[_0x2dfcd8(0x295)][_0x2dfcd8(0x29d)](_0x59d44e,_0x3c0a0b,!0x1);if(_0xf9a610['isTransformMutationFailure'](_0x1f7a09))throw _0x1f7a09[_0x2dfcd8(0x149)];_0x574561['set'](_0xd89454,{..._0x537d7a,'ranges':_0x1f7a09[_0x2dfcd8(0x2ee)]['params'][_0x2dfcd8(0x2da)]});}queueMicrotask(()=>{const _0x19ebbf=_0x2dfcd8;this[_0x19ebbf(0x194)]['next'](_0x574561);});})));}[_0x1325e8(0x23e)](_0x46c5d0){const _0x4ab147=_0x1325e8;var _0x52d284,_0x19dd96;const {memberID:_0x4174ca,selection:_0x420494}=_0x46c5d0[_0x4ab147(0xec)],_0xa1de30=_0x46e990(_0x420494),_0x490447=(_0x19dd96=(_0x52d284=this[_0x4ab147(0xfa)][_0x4ab147(0x1fc)](this[_0x4ab147(0xfb)],_0x4174ca))==null?void 0x0:_0x52d284[_0x4ab147(0x1eb)])!=null?_0x19dd96:_0x4ab147(0x8e),_0x11ea1b={'color':this['_colorAssignService'][_0x4ab147(0x20b)](_0x4174ca),'name':_0x490447,'ranges':_0xa1de30},_0x2c868e=this['cursorInfo'];_0x2c868e[_0x4ab147(0x174)](_0x4174ca,_0x11ea1b),this[_0x4ab147(0x194)][_0x4ab147(0x265)](_0x2c868e);}[_0x1325e8(0x133)](_0x40f7d6){const _0x5e0344=_0x1325e8,{memberID:_0x2a67ed}=_0x40f7d6[_0x5e0344(0xec)],_0x14af85=this[_0x5e0344(0x247)];_0x14af85[_0x5e0344(0x93)](_0x2a67ed),this[_0x5e0344(0x194)][_0x5e0344(0x265)](_0x14af85);}['_toggleOnline'](){const _0x2d8f86=_0x1325e8;var _0x3c6634;if(this['_online']=!0x0,((_0x3c6634=this[_0x2d8f86(0x2a7)][_0x2d8f86(0x177)]())==null?void 0x0:_0x3c6634[_0x2d8f86(0x19f)]())!==this[_0x2d8f86(0xfb)])return;const _0x3a7f9c=this['_injector']['get'](_0x552433[_0x2d8f86(0x173)])[_0x2d8f86(0x94)]();Array[_0x2d8f86(0x15d)](_0x3a7f9c)&&_0x3a7f9c[_0x2d8f86(0x116)]>0x0&&this[_0x2d8f86(0x1b3)](_0x3a7f9c);}['_toggleOffline'](){const _0xaae7c2=_0x1325e8;this[_0xaae7c2(0x205)]=!0x1;}};_0x38b431=_0x46db4b([_0x37c2c7(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8['Injector'])),_0x37c2c7(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0x300907)),_0x37c2c7(0x4,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x1d8)])),_0x37c2c7(0x5,_0xd53bd8[_0x1325e8(0x2cc)](_0x97dcb1)),_0x37c2c7(0x6,_0xf9a610[_0x1325e8(0x22d)]),_0x37c2c7(0x7,_0xd53bd8['IUniverInstanceService']),_0x37c2c7(0x8,_0xd53bd8[_0x1325e8(0x2bf)])],_0x38b431);var _0x1f3973=Object[_0x1325e8(0x107)],_0x88802=(_0x2a80c0,_0x3d1faa,_0x1a5c16,_0xf1fa8a)=>{const _0x1a4661=_0x1325e8;for(var _0x55a971=_0xf1fa8a>0x1?void 0x0:_0xf1fa8a?_0x1f3973(_0x3d1faa,_0x1a5c16):_0x3d1faa,_0xd73a33=_0x2a80c0[_0x1a4661(0x116)]-0x1,_0x1cb82f;_0xd73a33>=0x0;_0xd73a33--)(_0x1cb82f=_0x2a80c0[_0xd73a33])&&(_0x55a971=_0x1cb82f(_0x55a971)||_0x55a971);return _0x55a971;},_0x305f7c=(_0x23dfb9,_0x5a55d0)=>(_0x374900,_0x2232b6)=>_0x5a55d0(_0x374900,_0x2232b6,_0x23dfb9);const _0x3df93f=0x12c,_0xab2e49=0x64,_0x252051=()=>{let _0x3c141d=[],_0x2885e2=!0x1;return _0x16d2c2=>{_0x3c141d['push'](_0x16d2c2),_0x2885e2||(_0x2885e2=!0x0,setTimeout(()=>{const _0x45e3e2=_0x541d;_0x3c141d[_0x45e3e2(0x26c)](_0x35ca08=>_0x35ca08()),_0x3c141d=[],_0x2885e2=!0x1;}));};};let _0x39fad7=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x29fc15,_0xf0f5f8,_0x495e40,_0x53a8a2,_0x10e2bc,_0x4b5099,_0x2107d7,_0xb7dc6c){const _0x292aca=_0x1325e8;super(),_0x48b37d(this,_0x292aca(0x205),!0x1),_0x48b37d(this,_0x292aca(0x2f3),!0x1),_0x48b37d(this,_0x292aca(0x194),new _0xd36704[(_0x292aca(0x1a4))](new Map())),_0x48b37d(this,_0x292aca(0x134),this[_0x292aca(0x194)][_0x292aca(0x2c9)]()),_0x48b37d(this,_0x292aca(0x7a),new _0xd36704[(_0x292aca(0x1a4))]([])),_0x48b37d(this,_0x292aca(0x204),this['_roomMembers$']['pipe'](_0xd36704[_0x292aca(0x150)](_0x3df93f))),_0x48b37d(this,_0x292aca(0x1b3),_0xd53bd8['debounce']((_0x26b56a,_0x1bf444)=>{const _0x54ddc2=_0x292aca,_0x4a4383={'eventID':_0xf9a610[_0x54ddc2(0x285)][_0x54ddc2(0x28d)],'data':{'unitID':this[_0x54ddc2(0xfb)],'memberID':this[_0x54ddc2(0x287)][_0x54ddc2(0x179)](),'selection':_0xd55e2f[_0x54ddc2(0x10e)](_0x26b56a,_0x1bf444[_0x54ddc2(0xc3)])}};this[_0x54ddc2(0x287)][_0x54ddc2(0x10b)](_0x4a4383,this[_0x54ddc2(0xfb)]);},_0xab2e49)),(this['unitID']=_0x29fc15,this[_0x292aca(0x287)]=_0xf0f5f8,this[_0x292aca(0x284)]=_0x495e40,this[_0x292aca(0x2d4)]=_0x53a8a2,this[_0x292aca(0xfa)]=_0x10e2bc,this['_univerInstanceService']=_0x4b5099,this[_0x292aca(0x262)]=_0x2107d7,this[_0x292aca(0xda)]=_0xb7dc6c);}get[_0x1325e8(0x247)](){const _0x16d471=_0x1325e8;return this['_cursorInfo$'][_0x16d471(0x126)]();}get[_0x1325e8(0xbd)](){return this['_roomMembers$']['getValue']();}[_0x1325e8(0xa9)](){const _0x4ad412=_0x1325e8;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x4ad412(0x194)]['complete'](),this['_roomMembers$'][_0x4ad412(0x265)]([]),this[_0x4ad412(0x7a)][_0x4ad412(0x17c)]();}[_0x1325e8(0x1fe)](){const _0x473ca2=_0x1325e8;this[_0x473ca2(0x2f3)]||(this[_0x473ca2(0x2f3)]=!0x0,this[_0x473ca2(0x287)]['sessionStatus$'][_0x473ca2(0x22b)](_0xd36704[_0x473ca2(0x7d)](this[_0x473ca2(0x29b)]))[_0x473ca2(0x12d)](_0x1aee8f=>{const _0x1dc381=_0x473ca2;_0x1aee8f===_0x3237ee[_0x1dc381(0x158)][_0x1dc381(0xfc)]?this[_0x1dc381(0xc4)]():this[_0x1dc381(0x20f)]();}),this[_0x473ca2(0x287)][_0x473ca2(0x231)][_0x473ca2(0x22b)](_0xd36704[_0x473ca2(0x7d)](this['dispose$']))['subscribe'](_0x15f993=>{const _0x3af078=_0x473ca2,_0x559091=_0x15f993[_0x3af078(0x83)];_0x559091===_0xf9a610[_0x3af078(0x285)][_0x3af078(0x28d)]&&this['_onCursorUpdate'](_0x15f993),_0x559091===_0xf9a610['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x15f993);}),this['_onRefRangeChange'](),this[_0x473ca2(0x230)](this[_0x473ca2(0x262)][_0x473ca2(0x85)](_0xf74ba3=>{const _0x14c147=_0x473ca2;if(this[_0x14c147(0x205)]&&_0xf74ba3['id']===_0x2685e1[_0x14c147(0x17b)]['id']&&_0xf74ba3[_0x14c147(0x271)]['unitId']===this[_0x14c147(0xfb)]){const _0x9a45c2=_0xf74ba3[_0x14c147(0x271)];this[_0x14c147(0x1b3)](_0x9a45c2[_0x14c147(0x71)],_0x9a45c2[_0x14c147(0x244)][0x0]);}})));}['_onCursorUpdate'](_0x763e4b){const _0x2353e5=_0x1325e8;var _0x53bcbf,_0x55a6cf;const {memberID:_0x494b86,selection:_0x4000e2}=_0x763e4b[_0x2353e5(0xec)],{sheetName:_0x169fe2,range:_0x351dea}=_0xd55e2f[_0x2353e5(0x294)](_0x4000e2),_0x36c674={'name':(_0x55a6cf=(_0x53bcbf=this[_0x2353e5(0xfa)][_0x2353e5(0x1fc)](this[_0x2353e5(0xfb)],_0x494b86))==null?void 0x0:_0x53bcbf[_0x2353e5(0x1eb)])!=null?_0x55a6cf:_0x2353e5(0x8e),'range':this[_0x2353e5(0x2ba)](_0x169fe2,_0x351dea),'sheetID':_0x169fe2,'color':this['_colorAssignService'][_0x2353e5(0x20b)](_0x494b86),'selection':_0x4000e2},_0x1f80b2=this[_0x2353e5(0x247)];_0x1f80b2[_0x2353e5(0x174)](_0x494b86,_0x36c674),this[_0x2353e5(0x194)]['next'](_0x1f80b2);}[_0x1325e8(0x133)](_0x5457f6){const _0x300336=_0x1325e8,{memberID:_0x582729}=_0x5457f6[_0x300336(0xec)],_0x34ca13=this[_0x300336(0x247)];_0x34ca13['delete'](_0x582729),this[_0x300336(0x194)][_0x300336(0x265)](_0x34ca13);}[_0x1325e8(0x2ba)](_0x13dcc4,_0x1ff638){const _0x3eaf5e=_0x1325e8;var _0x542ba9,_0x3218a2;const _0x25e123=(_0x3218a2=(_0x542ba9=this[_0x3eaf5e(0x2a7)]['getUniverSheetInstance'](this[_0x3eaf5e(0xfb)]))==null?void 0x0:_0x542ba9[_0x3eaf5e(0x1d9)](_0x13dcc4))==null?void 0x0:_0x3218a2[_0x3eaf5e(0x24c)]();return(_0x25e123==null?void 0x0:_0x25e123[_0x3eaf5e(0xf2)](_0x35a49f=>_0xd53bd8[_0x3eaf5e(0x178)][_0x3eaf5e(0xf9)](_0x35a49f,_0x1ff638)))||_0x1ff638;}[_0x1325e8(0x162)](){const _0x5cc809=_0x1325e8,_0x96f1b6=new _0xd53bd8['DisposableCollection'](),_0x2ec6f9=_0x252051(),_0x1d0204=()=>{const _0x2946c7=_0x541d;_0x96f1b6[_0x2946c7(0xa9)]();const _0x21a9cb=(_0x153142,_0x223717,_0x592b40,_0x3a8a09)=>{const _0x219c4e=_0x2946c7;let _0x193b51=[];switch(_0x153142['id']){case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x256)]:{_0x193b51=_0x2685e1[_0x219c4e(0xb8)](_0x153142,_0x3a8a09);break;}case _0x2685e1['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x193b51=_0x2685e1[_0x219c4e(0x1bd)](_0x153142,_0x3a8a09);break;}case _0x2685e1['EffectRefRangId'][_0x219c4e(0x167)]:{_0x193b51=_0x2685e1[_0x219c4e(0xc5)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x17d)]:{_0x193b51=_0x2685e1[_0x219c4e(0x1ab)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x2b5)]:{_0x193b51=_0x2685e1[_0x219c4e(0x228)](_0x153142,_0x3a8a09);break;}case _0x2685e1['EffectRefRangId']['InsertRowCommandId']:{_0x193b51=_0x2685e1[_0x219c4e(0x113)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x21e)]:{_0x193b51=_0x2685e1['handleMoveRange'](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)][_0x219c4e(0x24b)]:{_0x193b51=_0x2685e1[_0x219c4e(0x2fc)](_0x153142,_0x3a8a09);break;}case _0x2685e1[_0x219c4e(0x1ca)]['RemoveRowCommandId']:{_0x193b51=_0x2685e1[_0x219c4e(0x141)](_0x153142,_0x3a8a09);break;}}const _0x3ba5fc=_0x2685e1[_0x219c4e(0x185)](_0x193b51,_0x3a8a09),_0xf122e9=this[_0x219c4e(0x247)]['get'](_0x223717);if(_0xf122e9&&_0x3ba5fc){const _0x1f6b3f={..._0xf122e9,'range':_0x3ba5fc};this[_0x219c4e(0x247)]['set'](_0x223717,_0x1f6b3f),_0x2ec6f9(()=>{const _0xc11f82=_0x219c4e,_0x332dae=this[_0xc11f82(0xda)]['registerRefRange'](_0x3ba5fc,_0x52d553=>(_0x332dae[_0xc11f82(0xa9)](),_0x21a9cb(_0x52d553,_0x223717,_0x592b40,_0x3ba5fc)));_0x96f1b6[_0xc11f82(0x2f5)](_0x332dae);});}return{'redos':[],'undos':[]};};this[_0x2946c7(0x247)]['forEach']((_0xcdcfce,_0x39b64e)=>{const _0x4e117d=_0x2946c7,{range:_0x1c175a,sheetID:_0x2e9309}=_0xcdcfce,_0x3b67da=this['_refRangeService']['registerRefRange'](_0x1c175a,_0x1138ac=>(_0x3b67da[_0x4e117d(0xa9)](),_0x21a9cb(_0x1138ac,_0x39b64e,_0x2e9309,_0x1c175a)));_0x96f1b6['add'](_0x3b67da);});};this[_0x5cc809(0x230)](_0xd53bd8[_0x5cc809(0x1e5)](this['_cursorInfo$'][_0x5cc809(0x12d)](()=>{_0x1d0204();})));}[_0x1325e8(0xc4)](){const _0x32844a=_0x1325e8;var _0x457142,_0x42f530;if(this['_online']=!0x0,((_0x457142=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x457142['getUnitId']())!==this[_0x32844a(0xfb)])return;const _0x561f0a=(_0x42f530=this[_0x32844a(0x284)][_0x32844a(0x1d5)](_0x2685e1[_0x32844a(0x2e3)])[_0x32844a(0x11f)]())==null?void 0x0:_0x42f530[0x0],_0x4e2e65=this[_0x32844a(0x2a7)][_0x32844a(0xe1)](_0xd53bd8[_0x32844a(0x9c)]['UNIVER_SHEET'])['getActiveSheet']();_0x561f0a&&_0x4e2e65&&this[_0x32844a(0x1b3)](_0x4e2e65[_0x32844a(0x293)](),_0x561f0a);}['_toggleOffline'](){const _0x21fcde=_0x1325e8;this[_0x21fcde(0x205)]=!0x1;}};_0x39fad7=_0x88802([_0x305f7c(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x305f7c(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0x300907)),_0x305f7c(0x4,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x1d8)])),_0x305f7c(0x5,_0xd53bd8[_0x1325e8(0xf1)]),_0x305f7c(0x6,_0xd53bd8[_0x1325e8(0x2bf)]),_0x305f7c(0x7,_0xd53bd8[_0x1325e8(0x2cc)](_0x2685e1[_0x1325e8(0x203)]))],_0x39fad7);var _0x2d0ea0=Object[_0x1325e8(0x107)],_0x4cc591=(_0x3c1f9a,_0x46c92d,_0x5f236f,_0x20c16b)=>{const _0x5e4746=_0x1325e8;for(var _0x5237c8=_0x20c16b>0x1?void 0x0:_0x20c16b?_0x2d0ea0(_0x46c92d,_0x5f236f):_0x46c92d,_0x578c50=_0x3c1f9a[_0x5e4746(0x116)]-0x1,_0x58e920;_0x578c50>=0x0;_0x578c50--)(_0x58e920=_0x3c1f9a[_0x578c50])&&(_0x5237c8=_0x58e920(_0x5237c8)||_0x5237c8);return _0x5237c8;},_0x67dec3=(_0x1c1bf2,_0x9b9f5d)=>(_0x14e421,_0x2ec315)=>_0x9b9f5d(_0x14e421,_0x2ec315,_0x1c1bf2);let _0x102ba3=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x11f7e6,_0x43381e,_0x17231a){const _0x569392=_0x1325e8;super(),_0x48b37d(this,_0x569392(0x1cd),new Map()),_0x48b37d(this,_0x569392(0x2ae),new _0xd36704[(_0x569392(0x77))]()),(this[_0x569392(0x2a7)]=_0x11f7e6,this[_0x569392(0x284)]=_0x43381e,this[_0x569392(0x1de)]=_0x17231a,this[_0x569392(0x2f3)]());}[_0x1325e8(0xa9)](){const _0x15d909=_0x1325e8;super['dispose'](),this[_0x15d909(0x2ae)][_0x15d909(0x17c)](),this[_0x15d909(0x1cd)]['forEach'](_0x5a9183=>_0x5a9183['dispose']());}[_0x1325e8(0x2cd)](_0x116692){const _0x25f312=_0x1325e8;return this[_0x25f312(0x1cd)]['has'](_0x116692)?this['_entities'][_0x25f312(0x1d5)](_0x116692)[_0x25f312(0x134)]:this['_entityInit$'][_0x25f312(0x22b)](_0xd36704[_0x25f312(0x28a)](_0x76c8e1=>_0x76c8e1['unitID']===_0x116692),_0xd36704[_0x25f312(0x120)](_0x5090dc=>_0x5090dc['cursorInfo$']));}[_0x1325e8(0x2f3)](){const _0x3606f7=_0x1325e8;this['_univerInstanceService'][_0x3606f7(0x187)](_0xd53bd8[_0x3606f7(0x9c)][_0x3606f7(0x14f)])[_0x3606f7(0x22b)](_0xd36704['takeUntil'](this[_0x3606f7(0x29b)]))[_0x3606f7(0x12d)](async _0x3be4d4=>{const _0x4efe16=_0x3606f7,_0x2bb71d=_0x3be4d4[_0x4efe16(0x19f)](),_0x17c822=await this[_0x4efe16(0x226)](_0x2bb71d);this['_entityInit$'][_0x4efe16(0x265)](_0x17c822),this[_0x4efe16(0x1cd)][_0x4efe16(0x174)](_0x2bb71d,_0x17c822);}),this[_0x3606f7(0x2a7)][_0x3606f7(0x187)](_0xd53bd8['UniverInstanceType'][_0x3606f7(0x2c8)])['pipe'](_0xd36704[_0x3606f7(0x7d)](this[_0x3606f7(0x29b)]))[_0x3606f7(0x22b)](_0xd36704[_0x3606f7(0x28a)](_0x30972a=>!_0x30972a[_0x3606f7(0x19f)]()[_0x3606f7(0xb7)]('__')))['subscribe'](async _0x1bf46a=>{const _0x5a1129=_0x3606f7,_0x528642=_0x1bf46a[_0x5a1129(0x19f)](),_0x10c262=await this['_startDocCollabCursor'](_0x528642);this[_0x5a1129(0x2ae)][_0x5a1129(0x265)](_0x10c262),this['_entities'][_0x5a1129(0x174)](_0x528642,_0x10c262);}),_0xd36704[_0x3606f7(0x27b)](this[_0x3606f7(0x2a7)]['getTypeOfUnitDisposed$'](_0xd53bd8['UniverInstanceType'][_0x3606f7(0x2c8)]),this[_0x3606f7(0x2a7)][_0x3606f7(0xb2)](_0xd53bd8['UniverInstanceType'][_0x3606f7(0x14f)]))['pipe'](_0xd36704[_0x3606f7(0x7d)](this['dispose$']))['subscribe'](_0x24505f=>{const _0x17c557=_0x3606f7,_0xb983c7=_0x24505f[_0x17c557(0x19f)](),_0x33c635=this[_0x17c557(0x1cd)][_0x17c557(0x1d5)](_0xb983c7);_0x33c635&&(_0x33c635['dispose'](),this[_0x17c557(0x1cd)]['delete'](_0xb983c7));});}async[_0x1325e8(0x226)](_0x3ae43c){const _0x16d8a9=_0x1325e8,_0x3f6693=await this[_0x16d8a9(0x1de)][_0x16d8a9(0x90)](_0x3ae43c),_0x40279e=this[_0x16d8a9(0x284)][_0x16d8a9(0x190)](_0x39fad7,_0x3ae43c,_0x3f6693);return _0x40279e[_0x16d8a9(0x1fe)](),_0x40279e;}async[_0x1325e8(0x1c6)](_0x4b4c18){const _0x236cd1=_0x1325e8,_0xc25a67=await this[_0x236cd1(0x1de)]['requireSession'](_0x4b4c18),_0x5817fe=this[_0x236cd1(0x284)][_0x236cd1(0x190)](_0x38b431,_0x4b4c18,_0xc25a67);return _0x5817fe[_0x236cd1(0x1fe)](),_0x5817fe;}};_0x102ba3=_0x4cc591([_0x67dec3(0x0,_0xd53bd8[_0x1325e8(0xf1)]),_0x67dec3(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x67dec3(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x17e)]))],_0x102ba3);const _0x1b70f0=0x14,_0x4e43ac=0xc8,_0x2cb858=0x4,_0x59757a=0x5;function _0x2b6882(_0x1f6283,_0x30520d){const _0x3c3a10=_0x1325e8;let {radius:_0x4d49e6,width:_0x188bae,height:_0x29adb5}=_0x30520d;_0x4d49e6=_0x4d49e6!=null?_0x4d49e6:0x0,_0x188bae=_0x188bae!=null?_0x188bae:0x1e,_0x29adb5=_0x29adb5!=null?_0x29adb5:0x1e;let _0x34b44e=0x0,_0x142c5d=0x0,_0x289c51=0x0;_0x34b44e=_0x142c5d=_0x289c51=Math['min'](_0x4d49e6,_0x188bae/0x2,_0x29adb5/0x2),_0x1f6283[_0x3c3a10(0x290)](),_0x1f6283['moveTo'](_0x34b44e,0x0),_0x1f6283[_0x3c3a10(0xef)](_0x188bae-_0x142c5d,0x0),_0x1f6283[_0x3c3a10(0x8c)](_0x188bae-_0x142c5d,_0x142c5d,_0x142c5d,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f6283['lineTo'](_0x188bae,_0x29adb5-_0x289c51),_0x1f6283[_0x3c3a10(0x8c)](_0x188bae-_0x289c51,_0x29adb5-_0x289c51,_0x289c51,0x0,Math['PI']/0x2,!0x1),_0x1f6283['lineTo'](0x0,_0x29adb5),_0x1f6283['lineTo'](0x0,_0x34b44e),_0x1f6283[_0x3c3a10(0x8c)](_0x34b44e,_0x34b44e,_0x34b44e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f6283[_0x3c3a10(0x1dc)](),_0x30520d[_0x3c3a10(0x1a1)]&&(_0x1f6283[_0x3c3a10(0xd9)](),_0x1f6283['fillStyle']=_0x30520d[_0x3c3a10(0x1a1)],_0x30520d[_0x3c3a10(0x12b)]==='evenodd'?_0x1f6283[_0x3c3a10(0x1a1)](_0x3c3a10(0x86)):_0x1f6283['fill'](),_0x1f6283['restore']());}class _0xf100c3 extends _0x3574c4['Shape']{constructor(_0x99fdb9,_0x528206){const _0x395023=_0x1325e8;super(_0x99fdb9,_0x528206),_0x48b37d(this,_0x395023(0x2af)),_0x48b37d(this,'text'),(this[_0x395023(0x2af)]=_0x528206==null?void 0x0:_0x528206['color'],this[_0x395023(0x1ad)]=_0x528206==null?void 0x0:_0x528206['text']);}static[_0x1325e8(0x1a0)](_0x77432c,_0x366caf){const _0xb48d35=_0x1325e8,{text:_0x505143,color:_0x378642}=_0x366caf;_0x77432c['save'](),_0x77432c[_0xb48d35(0x196)]=_0xb48d35(0x14a);const _0x79a9d4=_0x77432c['measureText'](_0x505143)[_0xb48d35(0x2b3)],_0x2aa020=Math['min'](_0x79a9d4+0x2*_0x2cb858,_0x4e43ac);_0x2b6882(_0x77432c,{'height':_0x1b70f0,'radius':0x4,'width':_0x2aa020,'fill':_0x378642}),_0x77432c[_0xb48d35(0x159)]='#FFF';const _0x2a8a0e=_0x2cb858,_0x3cd686=_0x1b70f0-_0x59757a,_0x4e58cf=_0x4e43ac-0x2*_0x2cb858;if(_0x79a9d4>_0x4e58cf){let _0x2e2293='',_0x5d312a=0x0;for(const _0x19839e of _0x505143){const _0x164f7e=_0x77432c[_0xb48d35(0xf5)](_0x19839e)[_0xb48d35(0x2b3)];if(_0x5d312a+_0x164f7e<=_0x4e58cf-_0x77432c[_0xb48d35(0xf5)]('...')[_0xb48d35(0x2b3)])_0x2e2293+=_0x19839e,_0x5d312a+=_0x164f7e;else{_0x2e2293+=_0xb48d35(0x29c);break;}}_0x77432c[_0xb48d35(0xa2)](_0x2e2293,_0x2a8a0e,_0x3cd686);}else _0x77432c[_0xb48d35(0xa2)](_0x505143,_0x2a8a0e,_0x3cd686);_0x77432c['restore']();}[_0x1325e8(0xa4)](_0x3c1e12){const _0x32be7d=_0x1325e8;_0xf100c3[_0x32be7d(0x1a0)](_0x3c1e12,this);}}const _0x516a14=_0x1325e8(0x14d),_0x33cb3a=_0x1325e8(0x1d7),_0xbec207=_0x1325e8(0x154),_0x13f6c1=0x6,_0x222e78=1.5,_0x2cfe4f=0x4,_0x359915=1.5,_0x55d017='rgba(255,\x20255,\x20255,\x200.01)';class _0x244496{constructor(_0x1006aa,_0x56807e,_0x353c52,_0x4dba10){const _0x53376f=_0x1325e8;_0x48b37d(this,_0x53376f(0x239),[]),_0x48b37d(this,'_anchor',null),_0x48b37d(this,_0x53376f(0x142),null),_0x48b37d(this,'_anchorDot',null),_0x48b37d(this,_0x53376f(0x15b),null),_0x48b37d(this,'_eventUnsubscribe',null),(this[_0x53376f(0x27d)]=_0x1006aa,this[_0x53376f(0xbc)]=_0x56807e,this[_0x53376f(0x2f8)]=_0x353c52,this['_document']=_0x4dba10,this[_0x53376f(0x2a9)]());}set[_0x1325e8(0x2b9)](_0x54c020){const _0x4198bf=_0x1325e8;_0x54c020?(this[_0x4198bf(0x292)]&&this[_0x4198bf(0x292)][_0x4198bf(0x12f)](),this[_0x4198bf(0x142)]&&this['_textBubble']['show']()):(this[_0x4198bf(0x292)]&&this[_0x4198bf(0x292)][_0x4198bf(0x7e)](),this[_0x4198bf(0x142)]&&this[_0x4198bf(0x142)][_0x4198bf(0x12f)]());}[_0x1325e8(0xa9)](){const _0xa5a0cb=_0x1325e8;for(const _0x6431c5 of this['_shapes'])_0x6431c5['dispose']();this[_0xa5a0cb(0x142)]&&this['_textBubble'][_0xa5a0cb(0xa9)](),this[_0xa5a0cb(0x292)]&&this[_0xa5a0cb(0x292)][_0xa5a0cb(0xa9)](),this[_0xa5a0cb(0x104)]&&this[_0xa5a0cb(0x104)]['dispose'](),this[_0xa5a0cb(0x1ac)]&&this[_0xa5a0cb(0x1ac)]();}[_0x1325e8(0x2a9)](){const _0x584d68=_0x1325e8;var _0x33b592;const {_docSkeleton:_0x3aef95,_document:_0x31c014}=this,{color:_0x47f84e,name:_0x44da61,ranges:_0x434994}=this[_0x584d68(0x27d)],_0x4ec8fe=_0x31c014[_0x584d68(0x2df)](),{docsLeft:_0x1d2240,docsTop:_0x4e66a7}=_0x4ec8fe,_0x4e0388=new _0x372e3b['NodePositionConvertToCursor'](_0x4ec8fe,_0x3aef95);for(const {startOffset:_0x5f2cd6,endOffset:_0x35572b,rangeType:_0x42695b,segmentId:_0x30a81d,segmentPage:_0x50508f,collapsed:_0x1a4f7d,isActive:_0x197c54}of _0x434994){const _0xedc0bc=_0x3aef95[_0x584d68(0x79)](_0x5f2cd6,!0x0,_0x30a81d,_0x50508f);let _0x5c2ea4=_0x3aef95['findNodePositionByCharIndex'](_0x35572b,!0x0,_0x30a81d,_0x50508f);if(_0x5c2ea4==null&&(_0x5c2ea4=_0x3aef95['findNodePositionByCharIndex'](_0x35572b-0x1,!0x1,_0x30a81d,_0x50508f)),_0x197c54){const {contentBoxPointGroup:_0x1f738d}=_0x4e0388[_0x584d68(0x241)](_0x5c2ea4,_0x5c2ea4);if(_0x1f738d[_0x584d68(0x116)]===0x0)continue;this[_0x584d68(0x1e3)](_0x47f84e,_0x1f738d,_0x1d2240,_0x4e66a7,_0x44da61),this[_0x584d68(0x1ac)]=this[_0x584d68(0x248)]();}if(_0xedc0bc&&_0x5c2ea4){if(_0x42695b===_0xd53bd8[_0x584d68(0x28c)][_0x584d68(0x163)]){const _0x7cd6a6=new _0x372e3b[(_0x584d68(0x8a))](_0x4ec8fe,_0x3aef95),{pointGroup:_0x1344d1}=(_0x33b592=_0x7cd6a6[_0x584d68(0x241)](_0xedc0bc,_0x5c2ea4))!=null?_0x33b592:{};if(_0x1344d1==null||_0x1344d1['length']===0x0)continue;this[_0x584d68(0x12e)](_0x47f84e,_0x1344d1,_0x1d2240,_0x4e66a7);}else{if(!_0x1a4f7d){const {borderBoxPointGroup:_0x54e7e0}=_0x4e0388[_0x584d68(0x241)](_0xedc0bc,_0x5c2ea4);if(_0x54e7e0['length']===0x0)continue;this[_0x584d68(0xfe)](_0x47f84e,_0x54e7e0,_0x1d2240,_0x4e66a7);}}}}}[_0x1325e8(0x1e3)](_0x528b4f,_0x5e41c8,_0x3968c1,_0x316b8c,_0x2f9162){const _0x421ec0=_0x1325e8,_0x1dcacc=this[_0x421ec0(0x1f1)](_0x5e41c8),{left:_0x5d5385,top:_0xcebf9e,height:_0x176266}=_0x1dcacc,_0x14e54b=this['_getScale'](),_0xf7692c=_0x359915/_0x14e54b,_0x3c73ff=new _0x3574c4['Rect'](_0x516a14+_0xd53bd8[_0x421ec0(0x22f)]['generateRandomId'](_0x13f6c1),{'left':_0x5d5385+_0x3968c1-_0xf7692c,'top':_0xcebf9e+_0x316b8c,'height':_0x176266,'width':_0x222e78,'fill':_0x528b4f||_0x3574c4[_0x421ec0(0x2dc)](_0xd53bd8[_0x421ec0(0x210)][_0x421ec0(0x240)],0x0),'strokeWidth':_0xf7692c,'stroke':_0x55d017,'evented':!0x0});this[_0x421ec0(0x104)]=_0x3c73ff,this[_0x421ec0(0xbc)]['addObject'](_0x3c73ff,_0x372e3b['TEXT_RANGE_LAYER_INDEX']);const _0x955d6c=new _0x3574c4[(_0x421ec0(0x25d))](_0x516a14+_0xd53bd8[_0x421ec0(0x22f)][_0x421ec0(0x15f)](_0x13f6c1),{'left':_0x5d5385+_0x3968c1-_0xf7692c,'top':_0xcebf9e+_0x316b8c-_0x2cfe4f/0x2,'height':_0x2cfe4f,'width':_0x2cfe4f,'fill':_0x528b4f||_0x3574c4[_0x421ec0(0x2dc)](_0xd53bd8[_0x421ec0(0x210)][_0x421ec0(0x240)],0x0),'strokeWidth':0x0,'stroke':_0x528b4f||_0x3574c4['getColor'](_0xd53bd8[_0x421ec0(0x210)][_0x421ec0(0x240)],0x0),'evented':!0x1});this[_0x421ec0(0x292)]=_0x955d6c,this[_0x421ec0(0xbc)][_0x421ec0(0xe9)](_0x955d6c,_0x372e3b[_0x421ec0(0x1a6)]);const _0x44a406=new _0xf100c3(_0x516a14+_0xd53bd8['Tools'][_0x421ec0(0x15f)](_0x13f6c1),{'left':_0x5d5385+_0x3968c1-_0xf7692c,'top':_0xcebf9e+_0x316b8c-_0x1b70f0,'text':_0x2f9162,'color':_0x528b4f});this[_0x421ec0(0x142)]=_0x44a406,this[_0x421ec0(0xbc)][_0x421ec0(0xe9)](_0x44a406,_0x372e3b[_0x421ec0(0x1a6)]),this[_0x421ec0(0x2b9)]=!0x1;}[_0x1325e8(0x248)](){const _0x61dde4=_0x1325e8,_0x518501=this[_0x61dde4(0x104)][_0x61dde4(0x1c0)][_0x61dde4(0x9d)](()=>{const _0x1f1873=_0x61dde4;this[_0x1f1873(0x2b9)]=!0x0;}),_0x5690ac=this[_0x61dde4(0x104)]['onPointerLeave$'][_0x61dde4(0x9d)](()=>{const _0x5fb8d0=_0x61dde4;this[_0x5fb8d0(0x15b)]&&clearTimeout(this[_0x5fb8d0(0x15b)]),this['_hideTimer']=setTimeout(()=>{const _0x4d38b6=_0x5fb8d0;this[_0x4d38b6(0x2b9)]=!0x1;},0x7d0);});return()=>{const _0x1e591f=_0x61dde4;_0x518501[_0x1e591f(0x151)](),_0x5690ac[_0x1e591f(0x151)]();};}['_drawTextRange'](_0x1702c6,_0x16346c,_0x573d0a,_0x1b532b){const _0x2c3cb4=_0x1325e8,_0x2ed9dc=new _0xd53bd8[(_0x2c3cb4(0x1c9))](_0x1702c6)[_0x2c3cb4(0x74)](0.2)[_0x2c3cb4(0x156)](),_0x5041c2=new _0x3574c4[(_0x2c3cb4(0x2a2))](_0x33cb3a+_0xd53bd8[_0x2c3cb4(0x22f)][_0x2c3cb4(0x15f)](_0x13f6c1),{'pointsGroup':_0x16346c,'fill':_0x2ed9dc||_0x3574c4['getColor'](_0xd53bd8[_0x2c3cb4(0x210)][_0x2c3cb4(0x240)],0.2),'left':_0x573d0a,'top':_0x1b532b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2c3cb4(0x239)][_0x2c3cb4(0x1f9)](_0x5041c2),this['_scene'][_0x2c3cb4(0xe9)](_0x5041c2,_0x372e3b[_0x2c3cb4(0x1a6)]);}[_0x1325e8(0x12e)](_0x5961e7,_0x1bbe54,_0x35fd54,_0x19a3a5){const _0x44dfee=_0x1325e8,_0x5dd8e2=new _0xd53bd8['ColorKit'](_0x5961e7)['setAlpha'](0.2)[_0x44dfee(0x156)](),_0x3d6fd8=new _0x3574c4[(_0x44dfee(0x2a2))](_0xbec207+_0xd53bd8[_0x44dfee(0x22f)][_0x44dfee(0x15f)](_0x13f6c1),{'pointsGroup':_0x1bbe54,'fill':_0x5dd8e2||_0x3574c4['getColor'](_0xd53bd8[_0x44dfee(0x210)][_0x44dfee(0x240)],0.2),'left':_0x35fd54,'top':_0x19a3a5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x44dfee(0x239)][_0x44dfee(0x1f9)](_0x3d6fd8),this['_scene'][_0x44dfee(0xe9)](_0x3d6fd8,_0x372e3b[_0x44dfee(0x1a6)]);}[_0x1325e8(0x1f1)](_0x2f7eca){const _0x2f1ce3=_0x2f7eca[0x0],_0x4f3c13=_0x2f1ce3[0x0],_0x5a00ac=_0x2f1ce3[0x2],{x:_0x18394f,y:_0x3a6503}=_0x4f3c13,{x:_0x3dcfd0,y:_0x30ac3f}=_0x5a00ac;return{'left':_0x18394f,'top':_0x3a6503,'width':_0x3dcfd0-_0x18394f,'height':_0x30ac3f-_0x3a6503};}[_0x1325e8(0x25b)](){const _0x431b46=_0x1325e8,{scaleX:_0x40556f,scaleY:_0x39e9fa}=this['_scene'][_0x431b46(0x2cf)]();return Math['max'](_0x40556f,_0x39e9fa);}}var _0x4b6fd4=Object[_0x1325e8(0x107)],_0x59d0fa=(_0x176ad4,_0x46f6ed,_0x2b643d,_0x2ee39a)=>{const _0x439e81=_0x1325e8;for(var _0x1239d4=_0x2ee39a>0x1?void 0x0:_0x2ee39a?_0x4b6fd4(_0x46f6ed,_0x2b643d):_0x46f6ed,_0x457fab=_0x176ad4[_0x439e81(0x116)]-0x1,_0x5f2e3e;_0x457fab>=0x0;_0x457fab--)(_0x5f2e3e=_0x176ad4[_0x457fab])&&(_0x1239d4=_0x5f2e3e(_0x1239d4)||_0x1239d4);return _0x1239d4;},_0x1054c7=(_0x456f71,_0x1e120f)=>(_0x4dad79,_0x16d338)=>_0x1e120f(_0x4dad79,_0x16d338,_0x456f71);let _0x47f621=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x21d089,_0x5b9b61,_0x3a190a,_0x868922,_0x89acc2){const _0x570def=_0x1325e8;super(),_0x48b37d(this,_0x570def(0x232),[]),_0x48b37d(this,_0x570def(0x274),[]),(this[_0x570def(0xf3)]=_0x21d089,this['_docSkeletonManagerService']=_0x5b9b61,this[_0x570def(0x222)]=_0x3a190a,this['_commandService']=_0x868922,this[_0x570def(0x2f4)]=_0x89acc2,this[_0x570def(0x2f3)]());}['_init'](){const _0x12afd2=_0x1325e8,_0x36ecba=this['_context'][_0x12afd2(0x168)],_0x5685c0=this[_0x12afd2(0xd3)];this[_0x12afd2(0x230)](_0xd36704[_0x12afd2(0xad)]([this[_0x12afd2(0x222)][_0x12afd2(0x2cd)](_0x36ecba),this[_0x12afd2(0x2f4)][_0x12afd2(0x2e4)]])[_0x12afd2(0x22b)](_0x1aecba[_0x12afd2(0x19b)](([_0x1ce414,_0x2782d9])=>({'skeleton':_0x5685c0[_0x12afd2(0x235)](),'cursors':[..._0x1ce414[_0x12afd2(0xbe)]()][_0x12afd2(0x279)](_0x2a184a=>({..._0x2a184a,'color':_0x2782d9[_0x2a184a[_0x12afd2(0x2af)]]}))})))[_0x12afd2(0x12d)](_0xb4af65=>{const _0x5e22e6=_0x12afd2;if(this[_0x5e22e6(0xdd)](),_0xb4af65){const {skeleton:_0x252df8,cursors:_0x130ddd}=_0xb4af65;this[_0x5e22e6(0xb9)](_0x252df8,_0x130ddd);}})),this[_0x12afd2(0x229)](),this['_initCommandExecutedListener']();}[_0x1325e8(0xb9)](_0x34cc4e,_0x3f66c4){const _0x37e2af=_0x1325e8,{scene:_0x4db7e1,mainComponent:_0x233a65}=this['_context'],_0x43a400=_0x3f66c4[_0x37e2af(0x19b)](_0x4cce35=>new _0x244496(_0x4cce35,_0x4db7e1,_0x34cc4e,_0x233a65));this[_0x37e2af(0x232)]=_0x43a400,this['_cursors']=_0x3f66c4;}[_0x1325e8(0xbb)](){const _0x6a3c7=_0x1325e8;this['_removeCollabCursors']();const {scene:_0x1b259a,mainComponent:_0x49d64f}=this['_context'],_0x35a815=this['_docSkeletonManagerService'][_0x6a3c7(0x235)](),_0x3f0529=this[_0x6a3c7(0x274)]['map'](_0x149ed8=>new _0x244496(_0x149ed8,_0x1b259a,_0x35a815,_0x49d64f));this[_0x6a3c7(0x232)]=_0x3f0529;}['_removeCollabCursors'](){const _0x40000b=_0x1325e8;this[_0x40000b(0x232)]['forEach'](_0x310bd2=>_0x310bd2[_0x40000b(0xa9)]()),this[_0x40000b(0x232)]=[];}[_0x1325e8(0x1f2)](){const _0x3c2335=_0x1325e8,_0x14092e=[_0x372e3b[_0x3c2335(0x152)]['id']];this['disposeWithMe'](this[_0x3c2335(0x262)]['onCommandExecuted'](_0x119047=>{const _0xa18310=_0x3c2335;_0x14092e[_0xa18310(0x2e9)](_0x119047['id'])&&_0x119047[_0xa18310(0x271)][_0xa18310(0x168)]===this[_0xa18310(0xf3)][_0xa18310(0x168)]&&this[_0xa18310(0xbb)]();}));}['_initResize'](){const _0x147f05=_0x1325e8;this[_0x147f05(0x230)](_0xd53bd8['fromEventSubject'](this[_0x147f05(0xf3)][_0x147f05(0x277)][_0x147f05(0xcc)])['pipe'](_0x1aecba[_0x147f05(0x28a)](_0x2346ff=>_0x2346ff['type']===_0x3574c4[_0x147f05(0x1ce)][_0x147f05(0x1d6)]),_0x1aecba[_0x147f05(0x2f1)](0x10))[_0x147f05(0x12d)](()=>{this['_refreshCollabCursors']();}));}};_0x47f621=_0x59d0fa([_0x1054c7(0x1,_0xd53bd8['Inject'](_0x552433[_0x1325e8(0x224)])),_0x1054c7(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x102ba3)),_0x1054c7(0x3,_0xd53bd8[_0x1325e8(0x2bf)]),_0x1054c7(0x4,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x16f)]))],_0x47f621);const _0x3d75d6=0x1,_0x704502=1.5;class _0x19d0db extends _0x3574c4[_0x1325e8(0x2aa)]{constructor(_0x4ce9db,_0x30c675){const _0x3f6d42=_0x1325e8;super(_0x4ce9db,_0x30c675),_0x48b37d(this,_0x3f6d42(0x2c3)),_0x48b37d(this,_0x3f6d42(0x249),!0x1),_0x48b37d(this,_0x3f6d42(0x18a)),_0x48b37d(this,_0x3f6d42(0x21c),''),_0x48b37d(this,'_labelPosition',_0x3f6d42(0x1ae)),_0x48b37d(this,'_backgroundColor'),(_0x30c675&&this[_0x3f6d42(0x269)](_0x30c675),this[_0x3f6d42(0x1c0)][_0x3f6d42(0x9d)](()=>this[_0x3f6d42(0x269)]({'hovered':!0x0})),this[_0x3f6d42(0x199)]['subscribeEvent'](()=>this[_0x3f6d42(0x269)]({'hovered':!0x1})));}[_0x1325e8(0x269)](_0x1541bc){const _0x268dd1=_0x1325e8;var _0x2266c0,_0x5705bd,_0x3d0ee3,_0x6787c1,_0x76ce48,_0x41a220;this[_0x268dd1(0x2c3)]=(_0x2266c0=_0x1541bc[_0x268dd1(0x2af)])!=null?_0x2266c0:this['_color'],this[_0x268dd1(0x249)]=(_0x5705bd=_0x1541bc[_0x268dd1(0x213)])!=null?_0x5705bd:this[_0x268dd1(0x249)],this[_0x268dd1(0x18a)]=(_0x3d0ee3=_0x1541bc[_0x268dd1(0xc3)])!=null?_0x3d0ee3:this['_range'],this[_0x268dd1(0x21c)]=(_0x6787c1=_0x1541bc['name'])!=null?_0x6787c1:this[_0x268dd1(0x21c)],this[_0x268dd1(0x217)]=(_0x76ce48=_0x1541bc[_0x268dd1(0x27a)])!=null?_0x76ce48:this[_0x268dd1(0x217)],this[_0x268dd1(0x2fa)]=(_0x41a220=_0x1541bc[_0x268dd1(0x6b)])!=null?_0x41a220:this[_0x268dd1(0x2fa)],this['transformByState']({'width':_0x1541bc[_0x268dd1(0x2b3)],'height':_0x1541bc[_0x268dd1(0x2a4)]});}['onMouseMove'](_0x215fe9){const _0x37b5a5=_0x1325e8,{row:_0x513098,column:_0x15c5bc}=_0x215fe9;if(_0x513098>=this['_range'][_0x37b5a5(0x73)]&&_0x513098<=this[_0x37b5a5(0x18a)][_0x37b5a5(0x1c1)]&&_0x15c5bc>=this[_0x37b5a5(0x18a)][_0x37b5a5(0x1a3)]&&_0x15c5bc<=this['_range'][_0x37b5a5(0x1e7)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1325e8(0x1b0)](_0x45df09){return!0x1;}[_0x1325e8(0xa4)](_0x1cccdc){const _0x540ab8=_0x1325e8;_0x3574c4[_0x540ab8(0x25d)][_0x540ab8(0x1a0)](_0x1cccdc,{'width':this[_0x540ab8(0x2b3)],'height':this[_0x540ab8(0x2a4)],'strokeWidth':_0x704502,'stroke':this[_0x540ab8(0x2c3)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x540ab8(0x249)]&&(_0x1cccdc[_0x540ab8(0xd9)](),_0x1cccdc[_0x540ab8(0x165)](0x1,0x0,0x0,0x1,this['width'],this[_0x540ab8(0x217)]===_0x540ab8(0x2bb)?0x0:-0x14),_0xf100c3['drawWith'](_0x1cccdc,{'text':this[_0x540ab8(0x21c)],'color':this[_0x540ab8(0x2c3)]}),_0x1cccdc[_0x540ab8(0x98)]());}}var _0x3087d3=Object['getOwnPropertyDescriptor'],_0x20b02c=(_0x252cf7,_0x1baae5,_0x53432e,_0x1195c6)=>{const _0x62bde3=_0x1325e8;for(var _0xfb063b=_0x1195c6>0x1?void 0x0:_0x1195c6?_0x3087d3(_0x1baae5,_0x53432e):_0x1baae5,_0x388239=_0x252cf7[_0x62bde3(0x116)]-0x1,_0x1e5131;_0x388239>=0x0;_0x388239--)(_0x1e5131=_0x252cf7[_0x388239])&&(_0xfb063b=_0x1e5131(_0xfb063b)||_0xfb063b);return _0xfb063b;},_0x694b4d=(_0x1dea5d,_0xea91b5)=>(_0x4d014c,_0x3bbf8b)=>_0xea91b5(_0x4d014c,_0x3bbf8b,_0x1dea5d);const _0x576a7f=0x1389;let _0x5071ba=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x5eae3c,_0x4e8efe,_0x2b9cfd,_0x3243b4){const _0x122d4e=_0x1325e8;super(),_0x48b37d(this,_0x122d4e(0x274),new Set()),_0x48b37d(this,_0x122d4e(0x2ad),null),(this[_0x122d4e(0xf3)]=_0x5eae3c,this[_0x122d4e(0x9b)]=_0x4e8efe,this[_0x122d4e(0x222)]=_0x2b9cfd,this[_0x122d4e(0x2f4)]=_0x3243b4,this[_0x122d4e(0x2f3)]());}['_init'](){const _0x3200c0=_0x1325e8;this['_sheetSkeletonManagerService'][_0x3200c0(0x132)][_0x3200c0(0x22b)](_0x1aecba[_0x3200c0(0x7d)](this[_0x3200c0(0x29b)]),_0x1aecba[_0x3200c0(0x120)](_0x22b4dc=>{const _0x514cd0=_0x3200c0;if(_0x22b4dc){const _0x4f9d7d=_0x22b4dc[_0x514cd0(0x13a)];return _0xd36704[_0x514cd0(0xad)](this['_collabCursorController'][_0x514cd0(0x2cd)](this[_0x514cd0(0xf3)][_0x514cd0(0x168)]),this['_themeService'][_0x514cd0(0x2e4)])[_0x514cd0(0x22b)](_0x1aecba[_0x514cd0(0x19b)](([_0x2b9d71,_0x9eca81])=>{const _0x46d361=new Map();return _0x2b9d71['forEach']((_0x5dbe0a,_0x499ed9)=>{const _0x18dfac=_0x541d;if(_0x5dbe0a[_0x18dfac(0xd6)]===_0x4f9d7d){const _0x23452e={..._0x5dbe0a};_0x23452e[_0x18dfac(0x2af)]=_0x9eca81[_0x5dbe0a[_0x18dfac(0x2af)]],_0x46d361['set'](_0x499ed9,_0x23452e);}}),{'skeleton':_0x22b4dc,'cursors':_0x46d361};}));}return _0xd36704['of']({'skeleton':null,'cursors':new Map()});}))[_0x3200c0(0x12d)](({skeleton:_0x436819,cursors:_0x2d56af})=>{const _0x111348=_0x3200c0;this[_0x111348(0xdd)](),_0x436819&&this[_0x111348(0xb9)](_0x436819,_0x2d56af);}),this[_0x3200c0(0x9b)][_0x3200c0(0x132)]['subscribe'](_0x50fa4f=>{const _0x3b6782=_0x3200c0;if(_0x50fa4f==null)return;const {skeleton:_0x54243a}=_0x50fa4f,{scene:_0x530cc6}=this[_0x3b6782(0xf3)];_0x530cc6['onPointerMove$'][_0x3b6782(0x9d)](_0xd53bd8[_0x3b6782(0x89)](_0x1d85c9=>{const _0x306ecf=_0x3b6782;var _0x2f17c5,_0x3767d0;const {offsetX:_0x436d14,offsetY:_0x5794d6}=_0x1d85c9,{x:_0xfc73af,y:_0x4d5e88}=_0x530cc6[_0x306ecf(0xa3)](_0x3574c4[_0x306ecf(0x223)]['FromArray']([_0x436d14,_0x5794d6])),{scaleX:_0x327940,scaleY:_0xa11543}=_0x530cc6[_0x306ecf(0x2cf)](),_0x47d432=_0x530cc6[_0x306ecf(0x299)](_0x3574c4[_0x306ecf(0x2d9)][_0x306ecf(0x82)]),_0xd741e6=_0x530cc6['getVpScrollXYInfoByPosToVp'](_0x3574c4[_0x306ecf(0x223)][_0x306ecf(0x15e)]([_0xfc73af,_0x4d5e88]),_0x47d432),_0x42a5cf=_0x54243a['getCellPositionByOffset'](_0x436d14,_0x5794d6,_0x327940,_0xa11543,_0xd741e6);((_0x2f17c5=this['_lastPointer'])==null?void 0x0:_0x2f17c5['column'])===_0x42a5cf['column']&&((_0x3767d0=this[_0x306ecf(0x2ad)])==null?void 0x0:_0x3767d0[_0x306ecf(0x260)])===_0x42a5cf[_0x306ecf(0x260)]||this[_0x306ecf(0x274)]['forEach'](_0x31817b=>{const _0x2de3b1=_0x306ecf;_0x31817b[_0x2de3b1(0x20c)](_0x42a5cf);});},0x64));});}['_updateCollabCursors'](_0x3ec847,_0x160007){const _0x376a8f=_0x1325e8;var _0x370e86;const _0x406a6d=(_0x370e86=this[_0x376a8f(0x9b)][_0x376a8f(0x20e)]())==null?void 0x0:_0x370e86[_0x376a8f(0x1aa)];if(!_0x406a6d)return;const _0x52c596=this['_getSheetObject']();if(!_0x52c596)return;this[_0x376a8f(0x274)][_0x376a8f(0x26c)](_0x18a31a=>{const _0x5a614a=_0x376a8f;_0x18a31a[_0x5a614a(0x103)]();});const {scene:_0x14d812}=_0x52c596,_0x5bf93c=_0x184b1e(Array[_0x376a8f(0x2e7)](_0x160007[_0x376a8f(0xbe)]()))[_0x376a8f(0x19b)](_0x56d11f=>{const _0x5a0d02=_0x376a8f,{color:_0x5460c0,range:_0x4aae6f,name:_0x132f8d,selection:_0x2adb46,sheetID:_0x536753}=_0x56d11f,{startColumn:_0x2c7cdc,startRow:_0x5512b1,endColumn:_0x59a50f,endRow:_0x2ac165}=_0x4aae6f,_0x4f176e=_0x6a9504['getCoordByCell'](_0x5512b1,_0x2c7cdc,_0x14d812,_0x406a6d),_0x102cd8=_0x6a9504['getCoordByCell'](_0x2ac165,_0x59a50f,_0x14d812,_0x406a6d),{columnHeaderHeightAndMarginTop:_0x37a8f9}=_0x406a6d,{startX:_0x13e385,startY:_0x209953}=_0x4f176e,{endX:_0x3a1960,endY:_0x369ff6}=_0x102cd8,_0x597cf4=_0x3a1960-_0x13e385,_0x44bd99=_0x369ff6-_0x209953,_0x5b68a5={'labelPosition':_0x209953-_0x37a8f9>=_0x1b70f0?'top':_0x5a0d02(0x2bb),'sheetID':_0x536753,'range':_0x4aae6f,'color':_0x5460c0,'name':_0x132f8d,'selection':_0x2adb46,'left':_0x13e385,'top':_0x209953,'width':_0x597cf4,'height':_0x44bd99,'evented':!0x1,'zIndex':_0x576a7f};return new _0x19d0db(_0x132f8d,_0x5b68a5);});_0x14d812[_0x376a8f(0x1fd)](_0x5bf93c,_0x3d75d6),this['_cursors']=new Set(_0x5bf93c);}['_removeCollabCursors'](){const _0xffebb=_0x1325e8;var _0x52c838;(_0x52c838=this['_cursors'])==null||_0x52c838[_0xffebb(0x26c)](_0x2c56f8=>_0x2c56f8[_0xffebb(0xa9)]());}[_0x1325e8(0x261)](){const _0x2bad68=_0x1325e8;return _0x6a9504['getSheetObject'](this[_0x2bad68(0xf3)][_0x2bad68(0x216)],this['_context']);}};_0x5071ba=_0x20b02c([_0x694b4d(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0x6a9504[_0x1325e8(0x29f)])),_0x694b4d(0x2,_0xd53bd8['Inject'](_0x102ba3)),_0x694b4d(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x16f)]))],_0x5071ba);function _0x184b1e(_0x428d01){const _0x4e4dd8=_0x1325e8,_0x473ec4=new Map();return _0x428d01[_0x4e4dd8(0x26c)](_0x489e11=>{const _0x1d6cf8=_0x4e4dd8;if(_0x473ec4['has'](_0x489e11[_0x1d6cf8(0xe2)])){const _0x419c52=_0x473ec4[_0x1d6cf8(0x1d5)](_0x489e11[_0x1d6cf8(0xe2)]);_0x419c52[_0x1d6cf8(0x1eb)]+=',\x20'+_0x489e11[_0x1d6cf8(0x1eb)];}else _0x473ec4[_0x1d6cf8(0x174)](_0x489e11[_0x1d6cf8(0xe2)],_0x489e11);}),Array[_0x4e4dd8(0x2e7)](_0x473ec4[_0x4e4dd8(0xbe)]());}var _0x32ad2b=function(){const _0x283014=_0x1325e8;return _0x32ad2b=Object[_0x283014(0x251)]||function(_0xc50b06){const _0x48d626=_0x283014;for(var _0x6ee422,_0x174ed9=0x1,_0x3151dc=arguments['length'];_0x174ed9<_0x3151dc;_0x174ed9++){_0x6ee422=arguments[_0x174ed9];for(var _0x5b922f in _0x6ee422)Object['prototype']['hasOwnProperty'][_0x48d626(0xa8)](_0x6ee422,_0x5b922f)&&(_0xc50b06[_0x5b922f]=_0x6ee422[_0x5b922f]);}return _0xc50b06;},_0x32ad2b[_0x283014(0x2d3)](this,arguments);},_0x4ce080=function(_0xb3cabd,_0xd692fd){const _0x56c881=_0x1325e8;var _0x5065aa={};for(var _0x41b2d6 in _0xb3cabd)Object[_0x56c881(0x18b)][_0x56c881(0x24a)][_0x56c881(0xa8)](_0xb3cabd,_0x41b2d6)&&_0xd692fd[_0x56c881(0x2d0)](_0x41b2d6)<0x0&&(_0x5065aa[_0x41b2d6]=_0xb3cabd[_0x41b2d6]);if(_0xb3cabd!=null&&typeof Object[_0x56c881(0xdf)]=='function'){for(var _0x1c9bab=0x0,_0x41b2d6=Object[_0x56c881(0xdf)](_0xb3cabd);_0x1c9bab<_0x41b2d6[_0x56c881(0x116)];_0x1c9bab++)_0xd692fd[_0x56c881(0x2d0)](_0x41b2d6[_0x1c9bab])<0x0&&Object[_0x56c881(0x18b)]['propertyIsEnumerable'][_0x56c881(0xa8)](_0xb3cabd,_0x41b2d6[_0x1c9bab])&&(_0x5065aa[_0x41b2d6[_0x1c9bab]]=_0xb3cabd[_0x41b2d6[_0x1c9bab]]);}return _0x5065aa;},_0x250990=_0x4a42ca[_0x1325e8(0x1ee)](function(_0x141666,_0x4db4b3){const _0x39fd73=_0x1325e8;var _0x317fa0=_0x141666[_0x39fd73(0x76)],_0x486788=_0x141666['id'],_0x34665f=_0x141666[_0x39fd73(0xd2)],_0x55263a=_0x141666[_0x39fd73(0x1ec)],_0x15deb2=_0x4ce080(_0x141666,['icon','id',_0x39fd73(0xd2),'extend']),_0x46cd70=_0x39fd73(0x2e1)[_0x39fd73(0x238)](_0x486788,'\x20')[_0x39fd73(0x238)](_0x34665f||'')[_0x39fd73(0x1ff)](),_0x3a8a49=_0x4a42ca[_0x39fd73(0x1c7)]('_'[_0x39fd73(0x238)](_0x36cc1c()));return _0x2ed91d(_0x317fa0,''[_0x39fd73(0x238)](_0x486788),{'defIds':_0x317fa0[_0x39fd73(0x140)],'idSuffix':_0x3a8a49[_0x39fd73(0x201)]},_0x32ad2b({'ref':_0x4db4b3,'className':_0x46cd70},_0x15deb2),_0x55263a);});function _0x2ed91d(_0x51b9de,_0x34e061,_0x4afc7a,_0x477475,_0x340040){const _0x3abaa8=_0x1325e8;return _0x4a42ca['createElement'](_0x51b9de[_0x3abaa8(0x81)],_0x32ad2b(_0x32ad2b({'key':_0x34e061},_0x5041b9(_0x51b9de,_0x4afc7a,_0x340040)),_0x477475),(_0x10c127(_0x51b9de,_0x4afc7a)[_0x3abaa8(0x234)]||[])[_0x3abaa8(0x19b)](function(_0x250fc6,_0x12ca40){const _0x180648=_0x3abaa8;return _0x2ed91d(_0x250fc6,''['concat'](_0x34e061,'-')[_0x180648(0x238)](_0x51b9de[_0x180648(0x81)],'-')[_0x180648(0x238)](_0x12ca40),_0x4afc7a,void 0x0,_0x340040);}));}function _0x5041b9(_0x354acc,_0x38f284,_0x453d45){const _0x2cc415=_0x1325e8;var _0x381a09=_0x32ad2b({},_0x354acc['attrs']);_0x453d45!=null&&_0x453d45[_0x2cc415(0x2cb)]&&_0x381a09[_0x2cc415(0x1a1)]===_0x2cc415(0x2cb)&&(_0x381a09[_0x2cc415(0x1a1)]=_0x453d45['colorChannel1']),_0x354acc[_0x2cc415(0x81)]===_0x2cc415(0x2c1)&&_0x381a09['id']&&(_0x381a09['id']=_0x381a09['id']+_0x38f284[_0x2cc415(0x1bb)]),Object[_0x2cc415(0x297)](_0x381a09)['forEach'](function(_0x395bf7){const _0xed05cb=_0x2cc415;var _0x33545f=_0x395bf7[0x0],_0x293f69=_0x395bf7[0x1];_0x33545f==='mask'&&typeof _0x293f69==_0xed05cb(0x211)&&(_0x381a09[_0x33545f]=_0x293f69[_0xed05cb(0x2fb)](/url\(#(.*)\)/,_0xed05cb(0xb6)[_0xed05cb(0x238)](_0x38f284[_0xed05cb(0x1bb)],')')));});var _0x3aa17c=_0x38f284['defIds'];return!_0x3aa17c||_0x3aa17c[_0x2cc415(0x116)]===0x0||(_0x354acc[_0x2cc415(0x81)]===_0x2cc415(0x2bd)&&_0x381a09[_0x2cc415(0x166)]&&(_0x381a09[_0x2cc415(0x166)]=_0x381a09['xlink:href']+_0x38f284[_0x2cc415(0x1bb)]),Object[_0x2cc415(0x297)](_0x381a09)[_0x2cc415(0x26c)](function(_0x55b7c2){const _0x4564e9=_0x2cc415;var _0x49c3ab=_0x55b7c2[0x0],_0x458fdf=_0x55b7c2[0x1];typeof _0x458fdf==_0x4564e9(0x211)&&(_0x381a09[_0x49c3ab]=_0x458fdf[_0x4564e9(0x2fb)](/url\(#(.*)\)/,_0x4564e9(0xb6)[_0x4564e9(0x238)](_0x38f284[_0x4564e9(0x1bb)],')')));})),_0x381a09;}function _0x10c127(_0xdbaba5,_0x7e9484){const _0x3ceb64=_0x1325e8;var _0x512ab1,_0x44b6e5=_0x7e9484[_0x3ceb64(0x140)];return!_0x44b6e5||_0x44b6e5[_0x3ceb64(0x116)]===0x0?_0xdbaba5:_0xdbaba5[_0x3ceb64(0x81)]===_0x3ceb64(0x2e8)&&(!((_0x512ab1=_0xdbaba5[_0x3ceb64(0x234)])===null||_0x512ab1===void 0x0)&&_0x512ab1['length'])?_0x32ad2b(_0x32ad2b({},_0xdbaba5),{'children':_0xdbaba5[_0x3ceb64(0x234)][_0x3ceb64(0x19b)](function(_0x42f9f3){const _0x2eb8bd=_0x3ceb64;return typeof _0x42f9f3[_0x2eb8bd(0x275)]['id']=='string'&&_0x44b6e5&&_0x44b6e5['indexOf'](_0x42f9f3['attrs']['id'])>-0x1?_0x32ad2b(_0x32ad2b({},_0x42f9f3),{'attrs':_0x32ad2b(_0x32ad2b({},_0x42f9f3[_0x2eb8bd(0x275)]),{'id':_0x42f9f3['attrs']['id']+_0x7e9484[_0x2eb8bd(0x1bb)]})}):_0x42f9f3;})}):_0xdbaba5;}function _0x36cc1c(){const _0x18a0e6=_0x1325e8;return Math[_0x18a0e6(0x114)]()[_0x18a0e6(0x1a7)](0x24)['substring'](0x2,0x8);}_0x250990[_0x1325e8(0x17f)]=_0x1325e8(0x18e);var _0x1968d9={'tag':'svg','attrs':{'fill':_0x1325e8(0x273),'viewBox':_0x1325e8(0xe8),'width':_0x1325e8(0x2c2),'height':_0x1325e8(0x2c2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1325e8(0xac),'attrs':{'stroke':_0x1325e8(0x11e),'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':_0x1325e8(0x27e),'strokeLinejoin':_0x1325e8(0x27e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1325e8(0x2ac),'attrs':{'id':_0x1325e8(0x23f)},'children':[{'tag':_0x1325e8(0xac),'attrs':{'fill':_0x1325e8(0x192),'d':_0x1325e8(0xce)}}]}]}],'defIds':[_0x1325e8(0x23f)]},_0x304bf4=_0x4a42ca['forwardRef'](function(_0x57936d,_0x3b5507){const _0x111b9e=_0x1325e8;return _0x4a42ca['createElement'](_0x250990,Object[_0x111b9e(0x251)]({},_0x57936d,{'id':'off-line-single','ref':_0x3b5507,'icon':_0x1968d9}));});_0x304bf4[_0x1325e8(0x17f)]=_0x1325e8(0x1bc);var _0x34aee2={'tag':_0x1325e8(0xaa),'attrs':{'fill':_0x1325e8(0x273),'viewBox':_0x1325e8(0x1e2),'width':_0x1325e8(0x2c2),'height':_0x1325e8(0x2c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1325e8(0x7f)},'children':[{'tag':_0x1325e8(0xac),'attrs':{'stroke':_0x1325e8(0x11e),'d':_0x1325e8(0x29a),'strokeLinecap':'round','strokeLinejoin':_0x1325e8(0x27e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1325e8(0x2ac),'attrs':{'id':_0x1325e8(0x25c)},'children':[{'tag':_0x1325e8(0xac),'attrs':{'fill':_0x1325e8(0x192),'d':_0x1325e8(0xce),'transform':_0x1325e8(0xb3)}}]}]}],'defIds':[_0x1325e8(0x25c)]},_0x132db7=_0x4a42ca['forwardRef'](function(_0x1cc3d4,_0x5e1fa6){const _0x3fbbde=_0x1325e8;return _0x4a42ca[_0x3fbbde(0x105)](_0x250990,Object['assign']({},_0x1cc3d4,{'id':'on-line-single','ref':_0x5e1fa6,'icon':_0x34aee2}));});_0x132db7[_0x1325e8(0x17f)]=_0x1325e8(0x26f);const _0x4d8f54={'onlineStatusIcon':_0x1325e8(0x218),'onlineStatusTitle':_0x1325e8(0x130),'onlineStatus':'univer-online-status','online':_0x1325e8(0x193),'offline':_0x1325e8(0x25a)};function _0x43469a(_0x195818){const _0x4ba3b5=_0x1325e8;switch(_0x195818){case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x97)]:return _0x4ba3b5(0x10d);case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x22a)]:return _0x4ba3b5(0x2f6);case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0xaf)]:return _0x4ba3b5(0xeb);case _0x3237ee['CollaborationStatus']['NOT_COLLAB']:return _0x4ba3b5(0x1dd);case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x6d)]:case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x16c)]:return'collabStatus.syncing';case _0x3237ee[_0x4ba3b5(0x91)][_0x4ba3b5(0x2ca)]:case _0x3237ee[_0x4ba3b5(0x91)]['PENDING']:return'collabStatus.synced';}}function _0x365be1(_0x243560){const _0x50317f=_0x1325e8,{status$:_0x59fb94}=_0x243560,_0x2b48bc=_0x1d07a5[_0x50317f(0x29e)](_0x59fb94,_0x3237ee[_0x50317f(0x91)]['NOT_COLLAB']),_0x3f60b3=_0x1d07a5[_0x50317f(0x16a)](_0xd53bd8[_0x50317f(0xc2)]),_0x58f6d5=_0x1d07a5[_0x50317f(0x16a)](_0x3237ee[_0x50317f(0x17e)]),_0x556d82=_0x2b48bc!==_0x3237ee[_0x50317f(0x91)][_0x50317f(0x97)],_0x469f21=_0x3f60b3['t'](_0x43469a(_0x2b48bc)),_0x293a38=_0xed24b9[_0x50317f(0xab)](_0x4d8f54[_0x50317f(0xbf)],{[_0x4d8f54[_0x50317f(0x15a)]]:_0x556d82,[_0x4d8f54['offline']]:!_0x556d82}),_0x2fa0e1=_0x556d82?_0x514380[_0x50317f(0x23d)](_0x132db7,{}):_0x514380['jsx'](_0x304bf4,{}),_0x1cd6bc=_0x4a42ca['useCallback'](()=>{_0x556d82||_0x58f6d5['reconnect']();},[_0x556d82,_0x58f6d5]);function _0x10847a(){const _0x393ef8=_0x50317f;return _0x514380[_0x393ef8(0x80)](_0x393ef8(0x135),{'className':_0xed24b9[_0x393ef8(0xab)](_0x293a38,_0x393ef8(0x28b)),'onClick':_0x1cd6bc,'children':[_0x514380[_0x393ef8(0x23d)](_0x393ef8(0x135),{'className':_0x4d8f54[_0x393ef8(0x191)],'children':_0x2fa0e1}),_0x514380['jsx'](_0x393ef8(0x135),{'className':_0x4d8f54['onlineStatusTitle'],'children':_0x469f21})]});}return _0x556d82?_0x10847a():_0x514380[_0x50317f(0x23d)](_0xed24b9['Tooltip'],{'title':_0x3f60b3['t'](_0x50317f(0x2fd)),'children':_0x10847a()});}var _0x426c2f=Object['getOwnPropertyDescriptor'],_0xad73f4=(_0x14bc8e,_0x198b3e,_0x569f5f,_0x36bb7c)=>{const _0x4bd1cd=_0x1325e8;for(var _0x2fa3a8=_0x36bb7c>0x1?void 0x0:_0x36bb7c?_0x426c2f(_0x198b3e,_0x569f5f):_0x198b3e,_0x558a87=_0x14bc8e[_0x4bd1cd(0x116)]-0x1,_0x44802c;_0x558a87>=0x0;_0x558a87--)(_0x44802c=_0x14bc8e[_0x558a87])&&(_0x2fa3a8=_0x44802c(_0x2fa3a8)||_0x2fa3a8);return _0x2fa3a8;},_0x3ee6d9=(_0x557813,_0x3efece)=>(_0x1e8870,_0x36a99b)=>_0x3efece(_0x1e8870,_0x36a99b,_0x557813);_0x2db65c[_0x1325e8(0x127)]=class extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(_0x2b06a7,_0x214ac4,_0x5c49aa,_0x12554f){const _0x657c11=_0x1325e8;super(),_0x48b37d(this,_0x657c11(0x2a6),new _0xd36704[(_0x657c11(0x1a4))](_0x3237ee[_0x657c11(0x91)][_0x657c11(0x170)])),(this['_univerInstanceService']=_0x2b06a7,this[_0x657c11(0x284)]=_0x214ac4,this['_collaborationController']=_0x5c49aa,this[_0x657c11(0x13e)]=_0x12554f,this[_0x657c11(0x254)](),this[_0x657c11(0x2de)]());}['_initStatusListener'](){const _0x2bc7fa=_0x1325e8;this['disposeWithMe'](this[_0x2bc7fa(0x2a7)][_0x2bc7fa(0x175)][_0x2bc7fa(0x22b)](_0xd36704[_0x2bc7fa(0x120)](()=>{const _0x28954c=_0x2bc7fa,_0x1b6ae8=this[_0x28954c(0x2a7)][_0x28954c(0x177)]();return _0x1b6ae8?this[_0x28954c(0x1d2)][_0x28954c(0x108)](_0x1b6ae8[_0x28954c(0x19f)]()):_0xd36704['of'](null);}),_0xd36704[_0x2bc7fa(0x120)](_0x4da7b7=>_0x4da7b7?_0x4da7b7[_0x2bc7fa(0x6f)]:_0xd36704['of'](_0x3237ee['CollaborationStatus'][_0x2bc7fa(0x170)])))[_0x2bc7fa(0x12d)](_0x55d309=>{const _0xe5a30a=_0x2bc7fa;this[_0xe5a30a(0x2a6)][_0xe5a30a(0x265)](_0x55d309);}));}['_initStatusComponent'](){const _0x501156=_0x1325e8;this[_0x501156(0x230)](this[_0x501156(0x13e)][_0x501156(0x2e6)](_0x1d07a5[_0x501156(0xe3)]['HEADER_MENU'],()=>_0x1d07a5[_0x501156(0x26d)](_0x559d88({'status$':this[_0x501156(0x2a6)]['asObservable']()}),this[_0x501156(0x284)])));}},_0x2db65c[_0x1325e8(0x127)]=_0xad73f4([_0x3ee6d9(0x0,_0xd53bd8[_0x1325e8(0xf1)]),_0x3ee6d9(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x3ee6d9(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x7c)])),_0x3ee6d9(0x3,_0x1d07a5[_0x1325e8(0x208)])],_0x2db65c[_0x1325e8(0x127)]);function _0x559d88(_0x52939d){const {status$:_0x6ad67e}=_0x52939d;return function(){return _0x514380['jsx'](_0x365be1,{'status$':_0x6ad67e});};}var _0x27cd18=Object['getOwnPropertyDescriptor'],_0x2c6001=(_0x529399,_0x48a25c,_0x2d086c,_0x3dbd63)=>{const _0x3b0cdb=_0x1325e8;for(var _0x3996aa=_0x3dbd63>0x1?void 0x0:_0x3dbd63?_0x27cd18(_0x48a25c,_0x2d086c):_0x48a25c,_0x1b6d1a=_0x529399[_0x3b0cdb(0x116)]-0x1,_0x56f9fd;_0x1b6d1a>=0x0;_0x1b6d1a--)(_0x56f9fd=_0x529399[_0x1b6d1a])&&(_0x3996aa=_0x56f9fd(_0x3996aa)||_0x3996aa);return _0x3996aa;},_0x6e3795=(_0x4d44e5,_0x10ce3a)=>(_0x31ee2f,_0x3ee106)=>_0x10ce3a(_0x31ee2f,_0x3ee106,_0x4d44e5);let _0x37ea85=class extends _0xd53bd8['Disposable']{constructor(_0x5dec7b,_0x58bdc3,_0x3f5a1b,_0x1d8964,_0x646d33,_0x389744){const _0x24ddcb=_0x1325e8;super(),this[_0x24ddcb(0xd5)]=_0x5dec7b,this[_0x24ddcb(0x282)]=_0x58bdc3,this[_0x24ddcb(0x186)]=_0x3f5a1b,this[_0x24ddcb(0x183)]=_0x1d8964,this[_0x24ddcb(0xea)]=_0x646d33,this[_0x24ddcb(0x2be)]=_0x389744,this[_0x24ddcb(0x1cf)](),this['_initEvent']();}[_0x1325e8(0x1cf)](){const _0x32a969=_0x1325e8;this[_0x32a969(0x230)](this['_beforeCloseService'][_0x32a969(0x75)](()=>{const _0x52c216=_0x32a969;if(this[_0x52c216(0x282)][_0x52c216(0x171)][_0x52c216(0x88)])return this[_0x52c216(0x2be)]['t'](_0x52c216(0x1c2));}));}[_0x1325e8(0x1b1)](){const _0x10f6ae=_0x1325e8;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x10f6ae(0x12d)](_0x45b89f=>{const _0x4c1419=_0x10f6ae;_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0xe5)]&&this[_0x4c1419(0x183)]['show']({'type':_0xed24b9[_0x4c1419(0x184)]['Warning'],'content':this[_0x4c1419(0x2be)]['t']('collaboration.single-unit.warning')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)]['CLOSE_ROOM']&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)]['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)]['PERMISSION_DENIED']&&this['_notificationService'][_0x4c1419(0x7e)]({'title':this['_localeService']['t'](_0x4c1419(0x68)),'content':this[_0x4c1419(0x2be)]['t'](_0x4c1419(0x2d7)),'type':_0x4c1419(0x149),'duration':0x0}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x22a)]&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9['MessageType'][_0x4c1419(0x155)],'content':this[_0x4c1419(0x2be)]['t']('collaboration.closeRoom')+'('+_0x45b89f[_0x4c1419(0xec)]+')'}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x1f5)]&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9['MessageType'][_0x4c1419(0x207)],'content':this[_0x4c1419(0x2be)]['t'](_0x45b89f[_0x4c1419(0xec)]||'')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x2d8)]&&this['_messageService'][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)]['Warning'],'content':this[_0x4c1419(0x2be)]['t'](_0x4c1419(0x18f))}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0xd8)]&&this['_messageService'][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)]['Error'],'content':this[_0x4c1419(0x2be)]['t']('session.connection-failed')}),_0x45b89f['id']===_0x3237ee[_0x4c1419(0xc0)][_0x4c1419(0x2f7)]&&this[_0x4c1419(0x183)][_0x4c1419(0x7e)]({'type':_0xed24b9[_0x4c1419(0x184)][_0x4c1419(0x155)],'content':this[_0x4c1419(0x2be)]['t'](_0x4c1419(0x2ed))});}));}};_0x37ea85=_0x2c6001([_0x6e3795(0x0,_0x1d07a5['IBeforeCloseService']),_0x6e3795(0x1,_0x3237ee[_0x1325e8(0x1b2)]),_0x6e3795(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee[_0x1325e8(0x2e0)])),_0x6e3795(0x3,_0x1d07a5['IMessageService']),_0x6e3795(0x4,_0x1d07a5[_0x1325e8(0x1d1)]),_0x6e3795(0x5,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0xc2)]))],_0x37ea85);const _0x3af607='collaboration-client-ui.config',_0x5c9a1b={},_0x392008=_0xd53bd8[_0x1325e8(0x21b)](_0x1325e8(0x1a8));var _0x3fd9b7=Object[_0x1325e8(0x107)],_0x37432f=(_0x3f7363,_0x5556c2,_0x28710d,_0x1b0b0c)=>{const _0x5bd1ec=_0x1325e8;for(var _0x1bd694=_0x1b0b0c>0x1?void 0x0:_0x1b0b0c?_0x3fd9b7(_0x5556c2,_0x28710d):_0x5556c2,_0x4c2b06=_0x3f7363[_0x5bd1ec(0x116)]-0x1,_0x2f5b95;_0x4c2b06>=0x0;_0x4c2b06--)(_0x2f5b95=_0x3f7363[_0x4c2b06])&&(_0x1bd694=_0x2f5b95(_0x1bd694)||_0x1bd694);return _0x1bd694;},_0x3f8ea5=(_0x5478ce,_0x3a5449)=>(_0x1f577e,_0x5ac9b2)=>_0x3a5449(_0x1f577e,_0x5ac9b2,_0x5478ce);_0x2db65c[_0x1325e8(0x2e5)]=class extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(_0x11494c,_0x1a3305,_0x36dfa9,_0x47bd4d,_0x124a3a){const _0x30e56b=_0x1325e8;super(),this[_0x30e56b(0x227)]=_0x11494c,this[_0x30e56b(0x169)]=_0x1a3305,this['_commandService']=_0x36dfa9,this[_0x30e56b(0x195)]=_0x47bd4d,_0x124a3a?_0x124a3a==null||_0x124a3a[_0x30e56b(0x189)]()[_0x30e56b(0x18d)](()=>this[_0x30e56b(0x2f3)]()):(this['_logService'][_0x30e56b(0x14c)](_0x30e56b(0x286),_0x30e56b(0xf6)),this['_init']());}async['_init'](){const _0x558d34=_0x1325e8,_0x352a2c=this[_0x558d34(0x227)][_0x558d34(0x1fa)](_0x558d34(0x216)),_0x215896=this[_0x558d34(0x227)]['getParam']('type'),_0x419d1e=this['_urlService'][_0x558d34(0x1fa)](_0x558d34(0x12a));if(!_0x352a2c||!_0x215896){this[_0x558d34(0x169)][_0x558d34(0x14c)](_0x558d34(0x286),_0x558d34(0x70));return;}const _0x53393c=await this[_0x558d34(0x195)][_0x558d34(0x112)](_0x352a2c,Number(_0x215896),_0x419d1e);_0x53393c&&_0x53393c instanceof _0xd53bd8['Workbook']&&this[_0x558d34(0x19c)](_0x53393c);}async[_0x1325e8(0x19c)](_0x4ab2d1){const _0x39c29f=_0x1325e8;await this[_0x39c29f(0x1ef)](_0x4ab2d1),_0x4ab2d1['activeSheet$'][_0x39c29f(0x22b)](_0xd36704[_0x39c29f(0x7d)](this[_0x39c29f(0x29b)]))[_0x39c29f(0x12d)](_0x3cdd96=>{_0x3cdd96&&this['_updateURLWithCurrentState'](_0x3cdd96);}),this[_0x39c29f(0x227)][_0x39c29f(0x143)][_0x39c29f(0x22b)](_0xd36704[_0x39c29f(0x7d)](this[_0x39c29f(0x29b)]))[_0x39c29f(0x12d)](()=>this[_0x39c29f(0x1ef)](_0x4ab2d1));}[_0x1325e8(0x291)](_0x2f56b0,_0x22f0d1=!0x1){const _0x4292f5=_0x1325e8,_0x3a3593=this['_urlService'][_0x4292f5(0x1fa)](_0x4292f5(0x12a));_0x2f56b0['getSheetId']()!==_0x3a3593&&this[_0x4292f5(0x227)][_0x4292f5(0x1e4)](_0x4292f5(0x12a),_0x2f56b0[_0x4292f5(0x293)](),_0x22f0d1);}async[_0x1325e8(0x1ef)](_0x3d7faf){const _0x4bf141=_0x1325e8;var _0x48cfe2;const _0x545b54=this[_0x4bf141(0x227)][_0x4bf141(0x1fa)](_0x4bf141(0x12a));if(!_0x545b54||!_0x3d7faf[_0x4bf141(0x1d9)](_0x545b54)){const _0x1dd1d8=_0x3d7faf[_0x4bf141(0x272)]()[0x0],_0x46bab1=_0x3d7faf[_0x4bf141(0x1d9)](_0x1dd1d8);if(!_0x46bab1)return;this['_updateURLWithCurrentState'](_0x46bab1,!0x0),await this[_0x4bf141(0x262)]['executeCommand'](_0x2685e1[_0x4bf141(0x6e)]['id'],{'unitId':_0x3d7faf[_0x4bf141(0x19f)](),'subUnitId':_0x1dd1d8});return;}((_0x48cfe2=_0x3d7faf[_0x4bf141(0x12c)]())==null?void 0x0:_0x48cfe2[_0x4bf141(0x293)]())!==_0x545b54&&await this['_commandService']['executeCommand'](_0x2685e1[_0x4bf141(0x6e)]['id'],{'unitId':_0x3d7faf[_0x4bf141(0x19f)](),'subUnitId':_0x545b54});}},_0x2db65c[_0x1325e8(0x2e5)]=_0x37432f([_0x3f8ea5(0x0,_0x392008),_0x3f8ea5(0x1,_0xd53bd8[_0x1325e8(0xcb)]),_0x3f8ea5(0x2,_0xd53bd8[_0x1325e8(0x2bf)]),_0x3f8ea5(0x3,_0xd53bd8[_0x1325e8(0x2cc)](_0x3237ee['DataLoaderService'])),_0x3f8ea5(0x4,_0xd53bd8['Optional'](_0x1f9c2a[_0x1325e8(0x219)]))],_0x2db65c[_0x1325e8(0x2e5)]);var _0xe9ee60=Object['getOwnPropertyDescriptor'],_0x15af12=(_0x958a5,_0x24b465,_0x4d6bd0,_0xa73ef1)=>{const _0x3c6e8b=_0x1325e8;for(var _0x5f4e7f=_0xa73ef1>0x1?void 0x0:_0xa73ef1?_0xe9ee60(_0x24b465,_0x4d6bd0):_0x24b465,_0x284e0a=_0x958a5[_0x3c6e8b(0x116)]-0x1,_0xef16d8;_0x284e0a>=0x0;_0x284e0a--)(_0xef16d8=_0x958a5[_0x284e0a])&&(_0x5f4e7f=_0xef16d8(_0x5f4e7f)||_0x5f4e7f);return _0x5f4e7f;},_0x4c3c12=(_0x2a521e,_0x246880)=>(_0xd820a5,_0x101454)=>_0x246880(_0xd820a5,_0x101454,_0x2a521e);let _0x1e6dae=class{constructor(_0x2c257f,_0x2ce20a,_0x7d92c0){const _0xef315b=_0x1325e8;this[_0xef315b(0x284)]=_0x2c257f,this['_transformService']=_0x2ce20a,this[_0xef315b(0x23b)]=_0x7d92c0;}[_0x1325e8(0x221)](_0x1dde5e){const _0x21a795=_0x1325e8;this[_0x21a795(0x1c3)](_0x1dde5e),this['_transformPreviousActiveRange'](_0x1dde5e);}['transformRemoteChangeset'](_0x578c30){const _0x44369d=_0x1325e8,{unitID:_0x4ea70c}=_0x578c30,_0x443ef5=this['_renderManagerService'][_0x44369d(0x1f7)](_0x4ea70c)[_0x44369d(0xdb)](_0x372e3b['DocIMEInputManagerService']),{redoCache:_0xb03e99}=_0x443ef5[_0x44369d(0x2d6)]();if(_0xb03e99[_0x44369d(0x116)]===0x0)return _0x578c30;let _0x3864cf=_0xd53bd8['Tools'][_0x44369d(0x122)](_0x578c30[_0x44369d(0xcd)][0x0]);for(let _0x244032=0x0;_0x244032<_0xb03e99[_0x44369d(0x116)];_0x244032++){const _0x21b951={'id':'doc.mutation.rich-text-editing','params':{..._0xb03e99[_0x244032]}},_0x13101c=this['_transformService']['transformMutation'](_0x3864cf,_0x21b951,!0x1);if(_0xf9a610[_0x44369d(0x281)](_0x13101c))throw _0x13101c[_0x44369d(0x149)];_0x3864cf=_0x13101c[_0x44369d(0x164)];}return{..._0xd53bd8[_0x44369d(0x22f)][_0x44369d(0x122)](_0x578c30),'mutations':[_0x3864cf]};}['_transformUndoRedoStack'](_0x467c99){const _0xb7c6c7=_0x1325e8,{unitID:_0xf9ef08}=_0x467c99,_0x1f879a=this[_0xb7c6c7(0x23b)][_0xb7c6c7(0x1f7)](_0xf9ef08)['with'](_0x372e3b['DocIMEInputManagerService']),{undoCache:_0x137198,redoCache:_0x3ebc4f}=_0x1f879a[_0xb7c6c7(0x2d6)]();if(_0x137198[_0xb7c6c7(0x116)]===0x0||_0x3ebc4f[_0xb7c6c7(0x116)]===0x0)return;const _0x5793c0=[],_0x7957ab=[];let _0x4ef013=_0xd53bd8['Tools'][_0xb7c6c7(0x122)](_0x467c99[_0xb7c6c7(0xcd)][0x0]),_0x27a03e=_0xd53bd8['Tools'][_0xb7c6c7(0x122)](_0x467c99[_0xb7c6c7(0xcd)][0x0]);for(let _0x5d934d=_0x137198[_0xb7c6c7(0x116)]-0x1;_0x5d934d>=0x0;_0x5d934d--){const _0x5d1b7f={'id':_0xb7c6c7(0x2c7),'params':{..._0x137198[_0x5d934d]}},_0x5b1312={'id':_0xb7c6c7(0x2c7),'params':{..._0x3ebc4f[_0x5d934d]}},_0x4f1626=this[_0xb7c6c7(0x295)][_0xb7c6c7(0x29d)](_0x4ef013,_0x5d1b7f,!0x1),_0x426c1d=this['_transformService']['transformMutation'](_0x27a03e,_0x5b1312,!0x1);if(_0xf9a610[_0xb7c6c7(0x281)](_0x4f1626))throw _0x4f1626['error'];if(_0xf9a610[_0xb7c6c7(0x281)](_0x426c1d))throw _0x426c1d['error'];_0x5793c0[_0xb7c6c7(0x92)](_0x4f1626['m2Prime'][_0xb7c6c7(0x271)]),_0x7957ab[_0xb7c6c7(0x92)](_0x426c1d['m2Prime'][_0xb7c6c7(0x271)]),_0x4ef013=_0x4f1626[_0xb7c6c7(0x164)],_0x27a03e=_0x426c1d[_0xb7c6c7(0x164)];}_0x1f879a['setUndoRedoMutationParamsCache']({'undoCache':_0x5793c0,'redoCache':_0x7957ab});}['_transformPreviousActiveRange'](_0x2095b4){const _0x23c09f=_0x1325e8,{unitID:_0x313bac}=_0x2095b4,_0x306205=this[_0x23c09f(0x23b)][_0x23c09f(0x1f7)](_0x313bac)[_0x23c09f(0xdb)](_0x372e3b[_0x23c09f(0x13b)]),_0x396e57=_0x306205[_0x23c09f(0xae)]();if(_0x396e57==null)return;const _0x257acb=[{'id':_0x23c09f(0x2c7),'params':{'unitId':_0x2095b4['unitID'],'actions':null,'textRanges':[_0x396e57]}}],_0x1ffed8=this[_0x23c09f(0x295)]['transformMutationsWithChangeset'](_0x2095b4,_0x257acb);if(!_0xf9a610[_0x23c09f(0x1cc)](_0x1ffed8))throw _0x1ffed8[_0x23c09f(0x149)];const _0x4911d3=_0x1ffed8[_0x23c09f(0x2ee)][0x0][_0x23c09f(0x271)][_0x23c09f(0x2da)];Array[_0x23c09f(0x15d)](_0x4911d3)&&_0x4911d3[_0x23c09f(0x116)]&&_0x306205[_0x23c09f(0x172)](_0x4911d3[0x0]);}};_0x1e6dae=_0x15af12([_0x4c3c12(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x4c3c12(0x1,_0xf9a610[_0x1325e8(0x22d)]),_0x4c3c12(0x2,_0x3574c4[_0x1325e8(0x157)])],_0x1e6dae);var _0x1b6156=Object['getOwnPropertyDescriptor'],_0x38481a=(_0xf440f1,_0x209dc0,_0x299d97,_0x378bc6)=>{const _0x9c3c32=_0x1325e8;for(var _0x82a23d=_0x378bc6>0x1?void 0x0:_0x378bc6?_0x1b6156(_0x209dc0,_0x299d97):_0x209dc0,_0x3db0db=_0xf440f1[_0x9c3c32(0x116)]-0x1,_0x547de1;_0x3db0db>=0x0;_0x3db0db--)(_0x547de1=_0xf440f1[_0x3db0db])&&(_0x82a23d=_0x547de1(_0x82a23d)||_0x82a23d);return _0x82a23d;},_0x40a189=(_0x3d8dce,_0x15c13d)=>(_0x27fa2b,_0x167299)=>_0x15c13d(_0x27fa2b,_0x167299,_0x3d8dce);let _0x38364b=class{constructor(_0x2a5d8d,_0x368725,_0x1433ca){const _0x299d60=_0x1325e8;this[_0x299d60(0x284)]=_0x2a5d8d,this[_0x299d60(0x295)]=_0x368725,this[_0x299d60(0x2ec)]=_0x1433ca;}[_0x1325e8(0x153)](_0x43dd44){const _0x2cf6cc=_0x1325e8;this[_0x2cf6cc(0x1e0)](_0x43dd44);}[_0x1325e8(0xfd)](_0x365dca){const _0x2c59c5=_0x1325e8,{unitID:_0xcfe213}=_0x365dca,{collaboration:_0x523e3b}=this[_0x2c59c5(0x2ec)][_0x2c59c5(0x2bc)](_0xcfe213);if(_0x523e3b[_0x2c59c5(0x116)]===0x0)return _0x365dca;let _0x5b6f11=_0xd53bd8[_0x2c59c5(0x22f)]['deepClone'](_0x365dca[_0x2c59c5(0xcd)][0x0]);for(let _0xcd6f67=0x0;_0xcd6f67<_0x523e3b['length'];_0xcd6f67++){const _0x25f58f={'id':_0x2c59c5(0x2c7),'params':{'unitId':_0x523e3b[_0xcd6f67][_0x2c59c5(0x168)],..._0x523e3b[_0xcd6f67][_0x2c59c5(0x27c)]}},_0x5b3a70=this[_0x2c59c5(0x295)]['transformMutation'](_0x5b6f11,_0x25f58f,!0x1);if(_0xf9a610['isTransformMutationFailure'](_0x5b3a70))throw _0x5b3a70[_0x2c59c5(0x149)];_0x5b6f11=_0x5b3a70[_0x2c59c5(0x164)];}return{..._0xd53bd8['Tools'][_0x2c59c5(0x122)](_0x365dca),'mutations':[_0x5b6f11]};}['_transformHistoryAndStateStack'](_0x2ca527){const _0x48b344=_0x1325e8,{unitID:_0x3d02fe}=_0x2ca527,{history:_0x3966ae,collaboration:_0x1bacd0}=this[_0x48b344(0x2ec)][_0x48b344(0x2bc)](_0x3d02fe);if(_0x3966ae[_0x48b344(0x116)]===0x0&&_0x1bacd0[_0x48b344(0x116)]===0x0)return;const _0x9577c2=[],_0x56bc41=[];let _0x3421fd=_0xd53bd8[_0x48b344(0x22f)]['deepClone'](_0x2ca527['mutations'][0x0]),_0x299db0=_0xd53bd8['Tools'][_0x48b344(0x122)](_0x2ca527['mutations'][0x0]);for(let _0x7d478=_0x3966ae['length']-0x1;_0x7d478>=0x0;_0x7d478--){const _0xee0564={'id':_0x48b344(0x2c7),'params':{'unitId':_0x3966ae[_0x7d478][_0x48b344(0x168)],..._0x3966ae[_0x7d478]['undoState']}},_0x2d0ccc={'id':_0x48b344(0x2c7),'params':{'unitId':_0x3966ae[_0x7d478][_0x48b344(0x168)],..._0x3966ae[_0x7d478]['redoState']}},_0x3a9888=this[_0x48b344(0x295)][_0x48b344(0x29d)](_0x3421fd,_0xee0564,!0x1),_0x3cd4c7=this['_transformService']['transformMutation'](_0x299db0,_0x2d0ccc,!0x1);if(_0xf9a610[_0x48b344(0x281)](_0x3a9888))throw _0x3a9888[_0x48b344(0x149)];if(_0xf9a610['isTransformMutationFailure'](_0x3cd4c7))throw _0x3cd4c7[_0x48b344(0x149)];_0x9577c2[_0x48b344(0x92)]({..._0x3966ae[_0x7d478],'undoState':_0x3a9888[_0x48b344(0x2ee)][_0x48b344(0x271)],'redoState':_0x3cd4c7['m2Prime'][_0x48b344(0x271)]}),_0x3421fd=_0x3a9888['m1Prime'],_0x299db0=_0x3cd4c7[_0x48b344(0x164)];}_0x3421fd=_0xd53bd8[_0x48b344(0x22f)][_0x48b344(0x122)](_0x2ca527[_0x48b344(0xcd)][0x0]),_0x299db0=_0xd53bd8[_0x48b344(0x22f)]['deepClone'](_0x2ca527['mutations'][0x0]);for(let _0x40d1b0=_0x1bacd0[_0x48b344(0x116)]-0x1;_0x40d1b0>=0x0;_0x40d1b0--){const _0x50a7ea={'id':_0x48b344(0x2c7),'params':{'unitId':_0x1bacd0[_0x40d1b0]['unitId'],..._0x1bacd0[_0x40d1b0][_0x48b344(0x1df)]}},_0x5e6994={'id':_0x48b344(0x2c7),'params':{'unitId':_0x1bacd0[_0x40d1b0][_0x48b344(0x168)],..._0x1bacd0[_0x40d1b0][_0x48b344(0x27c)]}},_0x2394d1=this[_0x48b344(0x295)][_0x48b344(0x29d)](_0x3421fd,_0x50a7ea,!0x1),_0x4effe6=this[_0x48b344(0x295)][_0x48b344(0x29d)](_0x299db0,_0x5e6994,!0x1);if(_0xf9a610[_0x48b344(0x281)](_0x2394d1))throw _0x2394d1[_0x48b344(0x149)];if(_0xf9a610[_0x48b344(0x281)](_0x4effe6))throw _0x4effe6[_0x48b344(0x149)];_0x56bc41[_0x48b344(0x92)]({..._0x1bacd0[_0x40d1b0],'undoState':_0x2394d1[_0x48b344(0x2ee)][_0x48b344(0x271)],'redoState':_0x4effe6[_0x48b344(0x2ee)][_0x48b344(0x271)]}),_0x3421fd=_0x2394d1[_0x48b344(0x164)],_0x299db0=_0x4effe6['m1Prime'];}this[_0x48b344(0x2ec)][_0x48b344(0x11d)](_0x3d02fe,{'history':_0x9577c2,'collaboration':_0x56bc41});}};_0x38364b=_0x38481a([_0x40a189(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x40a189(0x1,_0xf9a610[_0x1325e8(0x22d)]),_0x40a189(0x2,_0xd53bd8['Inject'](_0x372e3b[_0x1325e8(0x215)]))],_0x38364b);var _0x58e063=Object['getOwnPropertyDescriptor'],_0x17b5ad=(_0x3f0d85,_0x3eb314,_0x5e351d,_0x498930)=>{const _0x1b469a=_0x1325e8;for(var _0x318260=_0x498930>0x1?void 0x0:_0x498930?_0x58e063(_0x3eb314,_0x5e351d):_0x3eb314,_0xbcd4c7=_0x3f0d85[_0x1b469a(0x116)]-0x1,_0x57d874;_0xbcd4c7>=0x0;_0xbcd4c7--)(_0x57d874=_0x3f0d85[_0xbcd4c7])&&(_0x318260=_0x57d874(_0x318260)||_0x318260);return _0x318260;},_0x2e3768=(_0x292ccf,_0x41b1fc)=>(_0x29d60a,_0x32cae9)=>_0x41b1fc(_0x29d60a,_0x32cae9,_0x292ccf);let _0x1ef4d2=class{constructor(_0xd9d1b7,_0x78cac3){const _0x5427c6=_0x1325e8;this[_0x5427c6(0x284)]=_0xd9d1b7,this[_0x5427c6(0x295)]=_0x78cac3;}['transformSelections'](_0x5ad2ed){const _0x7b960b=_0x1325e8;var _0xb750f1;const _0x35de6f=this['_injector'][_0x7b960b(0x1d5)](_0x552433[_0x7b960b(0x173)]),_0x50f04d=(_0xb750f1=_0x35de6f['getDocRanges']())!=null?_0xb750f1:[];if(_0x50f04d[_0x7b960b(0x116)]===0x0)return;const _0x3b2a30=_0x5ad2ed[_0x7b960b(0xfb)],_0x22aa73=[{'id':_0x7b960b(0x2c7),'params':{'unitId':_0x3b2a30,'actions':null,'textRanges':_0x50f04d}}],_0x18e67e=this[_0x7b960b(0x295)][_0x7b960b(0x246)](_0x5ad2ed,_0x22aa73);if(!_0xf9a610[_0x7b960b(0x1cc)](_0x18e67e))throw _0x18e67e[_0x7b960b(0x149)];const _0xdebf7a=_0x18e67e[_0x7b960b(0x2ee)][0x0][_0x7b960b(0x271)][_0x7b960b(0x2da)];Array[_0x7b960b(0x15d)](_0xdebf7a)&&_0xdebf7a['length']&&_0x35de6f[_0x7b960b(0x2ce)](_0xdebf7a,{'unitId':_0x3b2a30,'subUnitId':_0x3b2a30},!0x1);}};_0x1ef4d2=_0x17b5ad([_0x2e3768(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x2e3768(0x1,_0xf9a610[_0x1325e8(0x22d)])],_0x1ef4d2);var _0x226366=Object[_0x1325e8(0x107)],_0x5e566e=(_0x4a8b83,_0x226001,_0x1958c9,_0x4a93e9)=>{const _0x5d8495=_0x1325e8;for(var _0x2d2787=_0x4a93e9>0x1?void 0x0:_0x4a93e9?_0x226366(_0x226001,_0x1958c9):_0x226001,_0x1c93cb=_0x4a8b83[_0x5d8495(0x116)]-0x1,_0x27702a;_0x1c93cb>=0x0;_0x1c93cb--)(_0x27702a=_0x4a8b83[_0x1c93cb])&&(_0x2d2787=_0x27702a(_0x2d2787)||_0x2d2787);return _0x2d2787;},_0x33d975=(_0x1e3b4c,_0x47e651)=>(_0x5eab45,_0x3dd60f)=>_0x47e651(_0x5eab45,_0x3dd60f,_0x1e3b4c);let _0x75488c=class extends _0xd53bd8['Disposable']{constructor(_0x3af45b,_0x143a28,_0x4e1947,_0x3ff912,_0x5aea2b,_0x167a00,_0x3c06cf,_0x19fc7a){const _0x2489ee=_0x1325e8;super(),_0x48b37d(this,_0x2489ee(0x2a6),new _0xd36704[(_0x2489ee(0x1a4))](_0x3237ee[_0x2489ee(0x91)][_0x2489ee(0x170)])),(this[_0x2489ee(0x2ec)]=_0x3af45b,this[_0x2489ee(0x1d2)]=_0x143a28,this['_docTransformIMECacheService']=_0x4e1947,this['_docTransformStateCacheService']=_0x3ff912,this[_0x2489ee(0x2d1)]=_0x5aea2b,this[_0x2489ee(0x1e1)]=_0x167a00,this[_0x2489ee(0x183)]=_0x3c06cf,this[_0x2489ee(0x2be)]=_0x19fc7a,this['_initEntityListener']());}[_0x1325e8(0xb0)](){const _0x447d4a=_0x1325e8;this[_0x447d4a(0x230)](this[_0x447d4a(0x1d2)]['entityInit$'][_0x447d4a(0x12d)](_0x50ebf4=>{const _0x5a303c=_0x447d4a,_0x3a407e=this['_docStateChangeManagerService'][_0x5a303c(0x237)][_0x5a303c(0x12d)](_0x170de1=>{const _0x362692=_0x5a303c;if(_0x170de1==null)return;const {unitId:_0x4ff764,redoState:_0x497e4d,commandId:_0x1270f4}=_0x170de1;if(_0x4ff764!==_0x50ebf4[_0x362692(0xfb)])return;const _0x103baa={'id':_0x1270f4,'type':_0xd53bd8['CommandType'][_0x362692(0x21f)],'params':{'unitId':_0x4ff764,'actions':_0x497e4d['actions'],'textRanges':null}};_0x50ebf4[_0x362692(0x144)](_0x103baa);});if(_0x50ebf4['disposeWithMe'](_0x3a407e),_0x50ebf4 instanceof _0x3237ee[_0x5a303c(0x296)]){const _0x28f86b={'onTransformIME':_0x4f43fb=>this['_docTransformIMECacheService'][_0x5a303c(0x221)](_0x4f43fb),'onTransformState':_0x41a9eb=>this[_0x5a303c(0x1fb)][_0x5a303c(0x153)](_0x41a9eb),'onTransformSelections':_0x2ea3ba=>this[_0x5a303c(0x2d1)][_0x5a303c(0x270)](_0x2ea3ba),'onSyncEditingCollabCursor':_0x24e5e3=>this[_0x5a303c(0x1e1)]['syncEditingCollabCursor'](_0x24e5e3),'onTransformRemoteChangesetByIMECache':_0x42d7e3=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x42d7e3),'onTransformRemoteChangesetByStateCache':_0x35444f=>this['_docTransformStateCacheService'][_0x5a303c(0xfd)](_0x35444f)};_0x50ebf4[_0x5a303c(0x16e)](_0x28f86b);}}));}};_0x75488c=_0x5e566e([_0x33d975(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0x372e3b[_0x1325e8(0x215)])),_0x33d975(0x1,_0xd53bd8['Inject'](_0x3237ee[_0x1325e8(0x7c)])),_0x33d975(0x2,_0xd53bd8['Inject'](_0x1e6dae)),_0x33d975(0x3,_0xd53bd8['Inject'](_0x38364b)),_0x33d975(0x4,_0xd53bd8['Inject'](_0x1ef4d2)),_0x33d975(0x5,_0xd53bd8[_0x1325e8(0x2cc)](_0x97dcb1)),_0x33d975(0x6,_0x1d07a5[_0x1325e8(0xe7)]),_0x33d975(0x7,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8['LocaleService']))],_0x75488c);var _0x240bf4=Object[_0x1325e8(0x107)],_0x2bb6a6=(_0x2f6a9e,_0x2d2140,_0x258ac9,_0x594255)=>{const _0x5a7d87=_0x1325e8;for(var _0x1bbb8a=_0x594255>0x1?void 0x0:_0x594255?_0x240bf4(_0x2d2140,_0x258ac9):_0x2d2140,_0x5931d1=_0x2f6a9e[_0x5a7d87(0x116)]-0x1,_0x4615bc;_0x5931d1>=0x0;_0x5931d1--)(_0x4615bc=_0x2f6a9e[_0x5931d1])&&(_0x1bbb8a=_0x4615bc(_0x1bbb8a)||_0x1bbb8a);return _0x1bbb8a;},_0x215a65=(_0x5ca540,_0x48ae33)=>(_0x4cf153,_0xa282bf)=>_0x48ae33(_0x4cf153,_0xa282bf,_0x5ca540);let _0x13314a=class extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(_0x245cb4,_0x12897f,_0x23922e){const _0x2949dc=_0x1325e8;super(),_0x48b37d(this,_0x2949dc(0x1af),new Map()),_0x48b37d(this,_0x2949dc(0x21a),new Map()),_0x48b37d(this,_0x2949dc(0x283),!0x1),(this[_0x2949dc(0xca)]=_0x245cb4,this[_0x2949dc(0xc1)]=_0x12897f,this['_revisionService']=_0x23922e);}[_0x1325e8(0xf8)](){const _0x346516=_0x1325e8;this[_0x346516(0x283)]=!0x0;}['enableLocalCache'](){const _0x2b3089=_0x1325e8;this[_0x2b3089(0x283)]=!0x1;}get[_0x1325e8(0x171)](){return this['_saveTaskMap'];}['dispose'](){const _0x3c9a05=_0x1325e8;this[_0x3c9a05(0x139)]()[_0x3c9a05(0x18d)](()=>super[_0x3c9a05(0xa9)]());}async[_0x1325e8(0x252)](_0x42f7ea){const _0x347e49=_0x1325e8;return this[_0x347e49(0x283)]?null:this[_0x347e49(0xc1)]['getItem'](_0x3237ee['getLocalCacheKey'](_0x42f7ea));}async[_0x1325e8(0x2b7)](_0xdab8b7,_0x17f01c){return!!this['_localStorageService']['setItem'](_0xdab8b7,_0x17f01c);}[_0x1325e8(0x2dd)](_0x3b07d0,_0x4f730d,_0x54a1ce,_0x479f7d){const _0x5e657b=_0x1325e8,_0x1f98c1=this[_0x5e657b(0x131)][_0x5e657b(0xc7)](_0x3b07d0);this[_0x5e657b(0x1af)][_0x5e657b(0x174)](_0x3b07d0,{'unitID':_0x3b07d0,'type':_0x4f730d,'awaitingChangeset':_0x54a1ce,'mutations':_0x479f7d,'rev':_0x1f98c1}),this['_saveTaskMap'][_0x5e657b(0x258)](_0x3b07d0)||this[_0x5e657b(0x100)](_0x3b07d0);}[_0x1325e8(0x100)](_0x16d2a4){const _0x29bdf3=_0x1325e8,_0x51f6af=this[_0x29bdf3(0x243)]();_0x51f6af===0x0?this[_0x29bdf3(0x121)](_0x16d2a4):this['_saveTaskMap'][_0x29bdf3(0x174)](_0x16d2a4,setTimeout(()=>this[_0x29bdf3(0x121)](_0x16d2a4),_0x51f6af));}['_getSaveTimeout'](){const _0xabd5f7=_0x1325e8;var _0x2a8ab6;return(_0x2a8ab6=this[_0xabd5f7(0xca)][_0xabd5f7(0x1e6)](_0x3237ee[_0xabd5f7(0x28f)]))!=null?_0x2a8ab6:_0x3237ee[_0xabd5f7(0x198)];}[_0x1325e8(0x121)](_0x22b310){const _0x2c733a=_0x1325e8,_0x417c35=this[_0x2c733a(0x21a)][_0x2c733a(0x1d5)](_0x22b310);return _0x417c35!==void 0x0&&window['clearTimeout'](_0x417c35),this['_localStorageService'][_0x2c733a(0x11a)](_0x3237ee['getLocalCacheKey'](_0x22b310),this['_cachedData'][_0x2c733a(0x1d5)](_0x22b310))['then'](()=>this[_0x2c733a(0x21a)][_0x2c733a(0x93)](_0x22b310));}async[_0x1325e8(0x139)](){const _0x5a6dd0=_0x1325e8,_0x31f8da=[];this[_0x5a6dd0(0x21a)]['forEach']((_0x19f6d6,_0x243714)=>{const _0x3ac08c=_0x5a6dd0;window[_0x3ac08c(0x206)](_0x19f6d6),_0x31f8da[_0x3ac08c(0x1f9)](this[_0x3ac08c(0x121)](_0x243714)[_0x3ac08c(0x18d)](()=>{const _0x530361=_0x3ac08c;this[_0x530361(0x21a)][_0x530361(0x93)](_0x243714);}));}),await Promise[_0x5a6dd0(0x253)](_0x31f8da);}};_0x13314a=_0x2bb6a6([_0x215a65(0x0,_0xd53bd8[_0x1325e8(0x280)]),_0x215a65(0x1,_0xd53bd8[_0x1325e8(0x102)]),_0x215a65(0x2,_0xd53bd8[_0x1325e8(0x2cc)](_0xf9a610[_0x1325e8(0x278)]))],_0x13314a);class _0x50a209 extends _0xd53bd8[_0x1325e8(0x2b1)]{constructor(){const _0x83fe8c=_0x1325e8;super(),_0x48b37d(this,_0x83fe8c(0x143)),this['urlChange$']=_0xd36704[_0x83fe8c(0x242)](window,_0x83fe8c(0x10a))[_0x83fe8c(0x22b)](_0xd36704['takeUntil'](this[_0x83fe8c(0x29b)]),_0xd36704[_0x83fe8c(0x2ab)](0x1),_0xd36704[_0x83fe8c(0x129)](void 0x0));}['setParam'](_0x1fed08,_0x1b3737,_0x1dafe5=!0x1){const _0x116624=_0x1325e8,_0x242b89=new URL(window['location'][_0x116624(0x2fe)]);_0x242b89[_0x116624(0x1db)][_0x116624(0x174)](_0x1fed08,_0x1b3737),_0x1dafe5?window[_0x116624(0xf7)][_0x116624(0x220)]('','',_0x242b89[_0x116624(0x1a7)]()):window[_0x116624(0xf7)]['pushState']('','',_0x242b89[_0x116624(0x1a7)]());}['removeParam'](_0x1f8bd1,_0x8aff8d=!0x1){const _0x35abb2=_0x1325e8,_0x5e5622=new URL(window['location'][_0x35abb2(0x2fe)]);_0x5e5622[_0x35abb2(0x1db)]['delete'](_0x1f8bd1),_0x8aff8d?window['history'][_0x35abb2(0x220)]('','',_0x5e5622['toString']()):window['history'][_0x35abb2(0x2b8)]('','',_0x5e5622[_0x35abb2(0x1a7)]());}[_0x1325e8(0x1fa)](_0x3f4113){const _0x317b84=_0x1325e8;var _0x29df5e;return(_0x29df5e=new URL(window[_0x317b84(0x267)]['href'])[_0x317b84(0x1db)][_0x317b84(0x1d5)](_0x3f4113))!=null?_0x29df5e:void 0x0;}}var _0x1ce2a6=Object['defineProperty'],_0x233f81=Object['getOwnPropertyDescriptor'],_0x1f4564=(_0x2df67c,_0x420c00,_0x4587f8)=>_0x420c00 in _0x2df67c?_0x1ce2a6(_0x2df67c,_0x420c00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4587f8}):_0x2df67c[_0x420c00]=_0x4587f8,_0x59f3c3=(_0xe248ee,_0xdb29b4,_0x275ee3,_0x14bbd8)=>{const _0x10261b=_0x1325e8;for(var _0x2400a7=_0x14bbd8>0x1?void 0x0:_0x14bbd8?_0x233f81(_0xdb29b4,_0x275ee3):_0xdb29b4,_0x2c3a6b=_0xe248ee[_0x10261b(0x116)]-0x1,_0x402ccd;_0x2c3a6b>=0x0;_0x2c3a6b--)(_0x402ccd=_0xe248ee[_0x2c3a6b])&&(_0x2400a7=_0x402ccd(_0x2400a7)||_0x2400a7);return _0x2400a7;},_0x37467d=(_0x454b30,_0x42edba)=>(_0xe2bcc9,_0x1a8bd2)=>_0x42edba(_0xe2bcc9,_0x1a8bd2,_0x454b30),_0x19ab0f=(_0x30dd94,_0x2c77ae,_0x20c417)=>_0x1f4564(_0x30dd94,_0x2c77ae+'',_0x20c417);const _0x1ba598=_0x1325e8(0x2a5);_0x2db65c[_0x1325e8(0xed)]=class extends _0xd53bd8[_0x1325e8(0x13c)]{constructor(_0x1b6626=_0x5c9a1b,_0x2b1b14,_0x37ea40,_0x387573){const _0xce1c37=_0x1325e8;super(),this[_0xce1c37(0x259)]=_0x1b6626,this['_renderManagerService']=_0x2b1b14,this[_0xce1c37(0x284)]=_0x37ea40,this[_0xce1c37(0xca)]=_0x387573;const {..._0x5cdc8d}=_0xd53bd8[_0xce1c37(0x27b)]({},_0x5c9a1b,this['_config']);this[_0xce1c37(0xca)][_0xce1c37(0x176)](_0x3af607,_0x5cdc8d);}[_0x1325e8(0xcf)](){const _0x3aa6d1=_0x1325e8;this['_registerDependencies'](),this[_0x3aa6d1(0x2b0)]();}[_0x1325e8(0x288)](){const _0x3bd24a=_0x1325e8;this[_0x3bd24a(0x137)]();}[_0x1325e8(0x250)](){const _0x5a8630=_0x1325e8;var _0x3cb512;const _0x55720e=[[_0x300907],[_0x1ef4d2],[_0x1e6dae],[_0x38364b],[_0x97dcb1],[_0x392008,{'useClass':_0x50a209}],[_0x23cee1[_0x5a8630(0xd7)],{'useClass':_0x23cee1['WebSocketService']}],[_0x3237ee[_0x5a8630(0x1b2)],{'useClass':_0x13314a}],[_0x2db65c[_0x5a8630(0x127)]],[_0x75488c],[_0x37ea85],[_0x102ba3],[_0x340ef9],[_0x2db65c['CollaborationDataLoaderController']]];_0xd53bd8[_0x5a8630(0x119)](this[_0x5a8630(0x284)],_0xd53bd8[_0x5a8630(0x2f0)](_0x55720e,(_0x3cb512=this['_config'])==null?void 0x0:_0x3cb512[_0x5a8630(0x147)]));}[_0x1325e8(0x137)](){const _0x4ea959=_0x1325e8;this[_0x4ea959(0x230)](this[_0x4ea959(0x23b)]['registerRenderModule'](_0xd53bd8[_0x4ea959(0x9c)][_0x4ea959(0x2c8)],[_0x47f621])),this['disposeWithMe'](this[_0x4ea959(0x23b)][_0x4ea959(0x1a2)](_0xd53bd8['UniverInstanceType'][_0x4ea959(0x14f)],[_0x5071ba]));}['_initDependencies'](){const _0xfd34d6=_0x1325e8;_0xd53bd8[_0xfd34d6(0x2a8)](this[_0xfd34d6(0x284)],[[_0x102ba3],[_0x2db65c[_0xfd34d6(0x127)]],[_0x75488c],[_0x37ea85],[_0x2db65c['CollaborationDataLoaderController']]]);}},_0x19ab0f(_0x2db65c[_0x1325e8(0xed)],_0x1325e8(0x188),_0x1ba598),_0x2db65c[_0x1325e8(0xed)]=_0x59f3c3([_0xd53bd8['DependentOn'](_0x3237ee[_0x1325e8(0xf4)]),_0x37467d(0x1,_0x3574c4[_0x1325e8(0x157)]),_0x37467d(0x2,_0xd53bd8['Inject'](_0xd53bd8[_0x1325e8(0x110)])),_0x37467d(0x3,_0xd53bd8[_0x1325e8(0x280)])],_0x2db65c[_0x1325e8(0xed)]);var _0x3745ce=Object['getOwnPropertyDescriptor'],_0x23702d=(_0x55c566,_0x1ad769,_0x1f2c79,_0x4ee9c1)=>{const _0x582744=_0x1325e8;for(var _0x41df7f=_0x4ee9c1>0x1?void 0x0:_0x4ee9c1?_0x3745ce(_0x1ad769,_0x1f2c79):_0x1ad769,_0x4d01f6=_0x55c566[_0x582744(0x116)]-0x1,_0x439db8;_0x4d01f6>=0x0;_0x4d01f6--)(_0x439db8=_0x55c566[_0x4d01f6])&&(_0x41df7f=_0x439db8(_0x41df7f)||_0x41df7f);return _0x41df7f;},_0x4b84f3=(_0x54bf5e,_0x5aa8b7)=>(_0x5297dd,_0x285db3)=>_0x5aa8b7(_0x5297dd,_0x285db3,_0x54bf5e);_0x2db65c[_0x1325e8(0x14b)]=class extends _0x3237ee[_0x1325e8(0x1f6)]{constructor(_0x5bd68f,_0x5c716c,_0x597d47,_0x5c8fe5,_0x23e4e6){super(_0x5bd68f,_0x5c716c,_0x597d47,_0x5c8fe5,_0x23e4e6);}async['createSocket'](_0x401e78){const _0x33ba6f=_0x1325e8,_0x37380f=await this[_0x33ba6f(0x1c4)](),_0x197c84=this[_0x33ba6f(0x111)](_0x401e78,_0x37380f);return this[_0x33ba6f(0x136)](_0x197c84);}[_0x1325e8(0x111)](_0x4023a8,_0x35941e){const _0x5ba103=_0x1325e8,_0x3b0e86=typeof window>'u'?new URL(_0x4023a8):new URL(_0x4023a8,window[_0x5ba103(0x267)]['origin']);_0x3b0e86[_0x5ba103(0x1db)][_0x5ba103(0x174)](_0x5ba103(0x1b9),_0x35941e);const _0x5c5b24=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5ba103(0xe6)]);return _0x5c5b24['get'](_0x5ba103(0x138))&&_0x3b0e86['searchParams']['set'](_0x5ba103(0x138),_0x5c5b24['get'](_0x5ba103(0x138))),_0x3b0e86[_0x5ba103(0x1a7)]();}async[_0x1325e8(0x1c4)](){const _0x5a8546=_0x1325e8;var _0x5ef5bd,_0x1a7a5e,_0xa9fd85;const _0x2ba04f=this[_0x5a8546(0xca)][_0x5a8546(0x1e6)](_0x3237ee[_0x5a8546(0xd0)]),_0xb7efb1=(_0x5ef5bd=_0x2ba04f==null?void 0x0:_0x2ba04f[_0x5a8546(0xdc)])!=null?_0x5ef5bd:_0x3237ee[_0x5a8546(0xee)];return(_0xa9fd85=(_0x1a7a5e=(await this['_httpService'][_0x5a8546(0x1d5)](_0xb7efb1,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x1a7a5e[_0x5a8546(0x1f0)])!=null?_0xa9fd85:'';}},_0x2db65c[_0x1325e8(0x14b)]=_0x23702d([_0x4b84f3(0x0,_0xd53bd8[_0x1325e8(0x2cc)](_0xd53bd8[_0x1325e8(0x110)])),_0x4b84f3(0x1,_0xd53bd8[_0x1325e8(0x2cc)](_0x23cee1['HTTPService'])),_0x4b84f3(0x2,_0xd53bd8[_0x1325e8(0x280)]),_0x4b84f3(0x3,_0xd53bd8['ILogService']),_0x4b84f3(0x4,_0xf9a610[_0x1325e8(0x1b6)])],_0x2db65c[_0x1325e8(0x14b)]);const _0x27c633=0x7530,_0x267786=_0x1325e8(0x298);class _0x2e1ccf extends _0xd53bd8['Disposable']{constructor(){const _0x395d92=_0x1325e8;super(),_0x48b37d(this,_0x395d92(0x181),_0xd53bd8['generateRandomId']()),_0x48b37d(this,_0x395d92(0x8f),new Set()),_0x48b37d(this,_0x395d92(0x1be),new Map()),_0x48b37d(this,_0x395d92(0x14e),null),_0x48b37d(this,'_clearOtherTimers',new Map()),_0x48b37d(this,_0x395d92(0x2d2),new Map()),this[_0x395d92(0x2f3)]();}[_0x1325e8(0xa9)](){const _0x15d844=_0x1325e8;super['dispose'](),this[_0x15d844(0x209)][_0x15d844(0x26c)]((_0x3a4d91,_0x416b54)=>this[_0x15d844(0x8b)](_0x416b54)),this['_heartbeatTimer']&&window[_0x15d844(0x19d)](this[_0x15d844(0x14e)]);}['getUnitStatus$'](_0x13f70c){const _0x4c1355=_0x1325e8;return this['_ensureSubject'](_0x13f70c)[_0x4c1355(0x22b)](_0xd36704['distinctUntilChanged']());}['editingUnit'](_0x433b78){const _0x3fa55d=_0x1325e8;this[_0x3fa55d(0x8f)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3fa55d(0x8f)][_0x3fa55d(0x2f5)](_0x433b78),this[_0x3fa55d(0x1e8)]({'type':0x0,'memberID':this[_0x3fa55d(0x181)],'unitIDs':[_0x433b78],'isForwarded':!0x1});}[_0x1325e8(0x22e)](_0x1d33f1){const _0x250e0b=_0x1325e8;this[_0x250e0b(0x8f)][_0x250e0b(0x93)](_0x1d33f1),this[_0x250e0b(0x8f)][_0x250e0b(0x88)]===0x0&&this[_0x250e0b(0x14e)]&&window[_0x250e0b(0x19d)](this['_heartbeatTimer']);}[_0x1325e8(0x2f3)](){const _0x283bb4=_0x1325e8;this['disposeWithMe'](_0xd53bd8['toDisposable'](_0xd36704[_0x283bb4(0x242)](window,'storage')[_0x283bb4(0x12d)](_0x2dcf6c=>{const _0x596b14=_0x283bb4;if(_0x2dcf6c[_0x596b14(0x23a)]!==_0x267786||!_0x2dcf6c[_0x596b14(0x24f)])return;const _0x52784e=JSON[_0x596b14(0x2c6)](_0x2dcf6c[_0x596b14(0x24f)]);this['_handleEvent'](_0x52784e);}))),window['addEventListener']('unload',()=>this[_0x283bb4(0x1e8)]({'type':0x1,'memberID':this[_0x283bb4(0x181)],'unitIDs':Array[_0x283bb4(0x2e7)](this[_0x283bb4(0x8f)])}));}['_handleEvent'](_0x4c44f6){const _0x40f8b5=_0x1325e8;switch(_0x4c44f6[_0x40f8b5(0x2c5)]){case 0x0:this[_0x40f8b5(0x9e)](_0x4c44f6);break;case 0x1:this[_0x40f8b5(0x7b)](_0x4c44f6);break;case 0x2:this[_0x40f8b5(0x236)](_0x4c44f6);break;}}[_0x1325e8(0x9e)](_0x255435){const _0x57fe6a=_0x1325e8,{unitIDs:_0x3bb35f,memberID:_0x1f0bc1,isForwarded:_0x4c1ba2}=_0x255435;_0x3bb35f[_0x57fe6a(0x26c)](_0x19fe10=>{const _0x80c302=_0x57fe6a;if(!_0x4c1ba2&&this[_0x80c302(0x1be)][_0x80c302(0x258)](_0x19fe10)&&this[_0x80c302(0xba)](_0x19fe10)[_0x80c302(0x265)](_0x3237ee[_0x80c302(0x1ed)][_0x80c302(0x10f)]),!this[_0x80c302(0x1be)][_0x80c302(0x258)](_0x19fe10)||!this['_unitOnClients']['get'](_0x19fe10)[_0x80c302(0x258)](_0x1f0bc1)){const _0xd8326f=this[_0x80c302(0x1be)][_0x80c302(0x1d5)](_0x19fe10)||new Set();_0xd8326f[_0x80c302(0x2f5)](_0x1f0bc1),this[_0x80c302(0x1be)]['set'](_0x19fe10,_0xd8326f),this[_0x80c302(0xb5)](_0x1f0bc1);}}),_0x4c1ba2||this[_0x57fe6a(0x1e8)]({'type':0x0,'memberID':this[_0x57fe6a(0x181)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1770f3){const _0x2bc49e=_0x1325e8;this['_removeClearOtherTimer'](_0x1770f3);const _0x591af5=window[_0x2bc49e(0x225)](()=>{const _0x4a6b4b=_0x2bc49e;this[_0x4a6b4b(0x1be)][_0x4a6b4b(0x26c)](_0x309a6f=>{const _0x282a53=_0x4a6b4b;_0x309a6f[_0x282a53(0x93)](_0x1770f3);});},_0x27c633*0x2);this['_clearOtherTimers'][_0x2bc49e(0x174)](_0x1770f3,_0x591af5);}['_removeClearOtherTimer'](_0x9f6d2f){const _0x4634ef=_0x1325e8;if(this[_0x4634ef(0x209)][_0x4634ef(0x258)](_0x9f6d2f)){const _0x458911=this[_0x4634ef(0x209)][_0x4634ef(0x1d5)](_0x9f6d2f);_0x458911&&window['clearTimeout'](_0x458911),this[_0x4634ef(0x209)]['set'](_0x9f6d2f,null);}}[_0x1325e8(0x7b)](_0x88ffa3){const _0x337afa=_0x1325e8,{memberID:_0x48d851,unitIDs:_0x2b8254}=_0x88ffa3;_0x2b8254[_0x337afa(0x26c)](_0x19d34f=>{const _0x22d293=_0x337afa;var _0x37e499;const _0x42247f=this[_0x22d293(0x1be)]['get'](_0x19d34f);_0x42247f&&(_0x42247f['delete'](_0x48d851),(_0x37e499=this[_0x22d293(0xba)](_0x19d34f))==null||_0x37e499[_0x22d293(0x265)](_0x42247f[_0x22d293(0x88)]===0x0?_0x3237ee['UnitStatus'][_0x22d293(0x1c8)]:_0x3237ee[_0x22d293(0x1ed)][_0x22d293(0x10f)]));}),this[_0x337afa(0x8b)](_0x48d851);}['_handleHeartbeatEvent'](_0x165b98){const _0x5d1c2a=_0x1325e8;this['_scheduleClearOtherTimer'](_0x165b98[_0x5d1c2a(0x160)]);}['_send'](_0x236a37){const _0xd09e15=_0x1325e8;localStorage[_0xd09e15(0x11a)](_0x267786,JSON[_0xd09e15(0x115)](_0x236a37));}[_0x1325e8(0x180)](){const _0x4430ed=_0x1325e8;this[_0x4430ed(0x14e)]=window[_0x4430ed(0x11b)](()=>{const _0x48c5e9=_0x4430ed;this[_0x48c5e9(0x1e8)]({'type':0x2,'memberID':this[_0x48c5e9(0x181)]});},_0x27c633);}[_0x1325e8(0xba)](_0x46ae37){const _0x7febe6=_0x1325e8;return this['_unitStatus'][_0x7febe6(0x258)](_0x46ae37)||this['_unitStatus'][_0x7febe6(0x174)](_0x46ae37,new _0xd36704['BehaviorSubject'](_0x3237ee[_0x7febe6(0x1ed)][_0x7febe6(0x1c8)])),this[_0x7febe6(0x2d2)]['get'](_0x46ae37);}}var _0x21f946=(_0x388a85=>(_0x388a85[_0x388a85[_0x1325e8(0x6c)]=0x0]=_0x1325e8(0x6c),_0x388a85[_0x388a85['OK']=0x1]='OK',_0x388a85[_0x388a85[_0x1325e8(0x1f3)]=0x2]=_0x1325e8(0x1f3),_0x388a85[_0x388a85[_0x1325e8(0x106)]=0x3]=_0x1325e8(0x106),_0x388a85[_0x388a85[_0x1325e8(0x2b4)]=0x4]=_0x1325e8(0x2b4),_0x388a85[_0x388a85[_0x1325e8(0xd4)]=0x5]='UNAUTHENTICATED',_0x388a85[_0x388a85['ALREADY_EXISTS']=0x6]=_0x1325e8(0x117),_0x388a85[_0x388a85[_0x1325e8(0x16b)]=0x7]=_0x1325e8(0x16b),_0x388a85[_0x388a85[_0x1325e8(0xc9)]=0x8]=_0x1325e8(0xc9),_0x388a85[_0x388a85[_0x1325e8(0x2b2)]=0x9]=_0x1325e8(0x2b2),_0x388a85[_0x388a85[_0x1325e8(0xc6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x388a85[_0x388a85[_0x1325e8(0x99)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x388a85[_0x388a85[_0x1325e8(0x2c4)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x388a85[_0x388a85[_0x1325e8(0x145)]=0x1773]=_0x1325e8(0x145),_0x388a85[_0x388a85['APPLY_REJECT']=0x1b59]=_0x1325e8(0x9a),_0x388a85[_0x388a85[_0x1325e8(0x2c0)]=0x1b5a]=_0x1325e8(0x2c0),_0x388a85[_0x388a85[_0x1325e8(0x9f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x388a85[_0x388a85['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x388a85[_0x388a85[_0x1325e8(0x26e)]=0x1b5d]=_0x1325e8(0x26e),_0x388a85[_0x388a85['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1325e8(0x148),_0x388a85[_0x388a85[_0x1325e8(0x96)]=0x2329]=_0x1325e8(0x96),_0x388a85[_0x388a85[_0x1325e8(0x255)]=0x232a]=_0x1325e8(0x255),_0x388a85[_0x388a85['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1325e8(0xe0),_0x388a85[_0x388a85[_0x1325e8(0xde)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x388a85[_0x388a85[_0x1325e8(0x26b)]=0x232d]=_0x1325e8(0x26b),_0x388a85[_0x388a85[_0x1325e8(0x87)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x388a85[_0x388a85['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1325e8(0x1f8),_0x388a85[_0x388a85[_0x1325e8(0x6a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x388a85[_0x388a85[_0x1325e8(0x1ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x388a85[_0x388a85['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x388a85[_0x388a85[_0x1325e8(0x1d4)]=-0x1]=_0x1325e8(0x1d4),_0x388a85))(_0x21f946||{}),_0x572e75=Object[_0x1325e8(0x107)],_0x1f5846=(_0x1c921b,_0x45d611,_0x13b2b7,_0x28f2a7)=>{for(var _0x31930f=_0x28f2a7>0x1?void 0x0:_0x28f2a7?_0x572e75(_0x45d611,_0x13b2b7):_0x45d611,_0xe216e3=_0x1c921b['length']-0x1,_0x2e21ee;_0xe216e3>=0x0;_0xe216e3--)(_0x2e21ee=_0x1c921b[_0xe216e3])&&(_0x31930f=_0x2e21ee(_0x31930f)||_0x31930f);return _0x31930f;},_0x125541=(_0xe6b40b,_0x18d683)=>(_0x18d601,_0xcc5922)=>_0x18d683(_0x18d601,_0xcc5922,_0xe6b40b);_0x2db65c[_0x1325e8(0x23c)]=class extends _0xd53bd8[_0x1325e8(0x20a)]{constructor(_0x515bd8,_0xa0bfa8,_0xa87ddf){const _0x3d2393=_0x1325e8;super(),this[_0x3d2393(0x182)]=_0x515bd8,this[_0x3d2393(0x264)]=_0xa0bfa8,this['_configService']=_0xa87ddf;}async['runOnServer'](_0x15516e,_0x38ac0d,_0xff1212,..._0x2322ba){const _0x40212c=_0x1325e8;var _0x556695,_0x5cd105,_0x4918c9,_0x410b6e;const _0x3087df=this[_0x40212c(0x182)][_0x40212c(0x177)]();if(!_0x3087df)throw new Error(_0x40212c(0x2ea));const _0x292fa1=((_0x556695=this['_configService'][_0x40212c(0x1e6)](_0x3237ee[_0x40212c(0x123)]))!=null?_0x556695:_0x3237ee[_0x40212c(0x27f)])+'/'+_0x15516e+'/run/'+_0x38ac0d,_0x35433b=new URL(window[_0x40212c(0x267)][_0x40212c(0x2fe)]),_0x4cd477={'scriptId':_0x15516e,'runId':(_0x5cd105=_0x35433b[_0x40212c(0x1db)][_0x40212c(0x1d5)](_0x40212c(0x138)))!=null?_0x5cd105:'','function':_0x38ac0d,'unitId':_0x3087df['getUnitId'](),'argsOfFunction':JSON[_0x40212c(0x115)](_0x2322ba),'invokeId':(_0x4918c9=_0xff1212[_0x40212c(0x1ea)])!=null?_0x4918c9:'','executionId':(_0x410b6e=_0xff1212[_0x40212c(0x95)])!=null?_0x410b6e:''};try{const _0x1ce462=await this[_0x40212c(0x264)]['post'](_0x292fa1,{'body':_0x4cd477});return _0x1ce462[_0x40212c(0xff)]['error']&&_0x1ce462['body'][_0x40212c(0x149)][_0x40212c(0x1f4)]!==_0x21f946['OK']?_0x40212c(0x2db):_0x1ce462[_0x40212c(0xff)]['result'];}catch{return _0x40212c(0x2db);}}},_0x2db65c[_0x1325e8(0x23c)]=_0x1f5846([_0x125541(0x0,_0xd53bd8[_0x1325e8(0xf1)]),_0x125541(0x1,_0xd53bd8['Inject'](_0x23cee1[_0x1325e8(0x197)])),_0x125541(0x2,_0xd53bd8[_0x1325e8(0x280)])],_0x2db65c['RemoteUniscriptService']),_0x2db65c[_0x1325e8(0x78)]=_0x365be1,_0x2db65c[_0x1325e8(0x1d3)]=_0x392008,_0x2db65c['SheetCollabCursorShape']=_0x19d0db,_0x2db65c[_0x1325e8(0x124)]=_0x2e1ccf,_0x2db65c[_0x1325e8(0x161)]=_0x50a209,Object[_0x1325e8(0xb4)](_0x2db65c,Symbol[_0x1325e8(0x289)],{'value':'Module'});}));function _0x541d(_0x2329ac,_0x52e24f){const _0x292465=_0x2924();return _0x541d=function(_0x541db4,_0x397779){_0x541db4=_0x541db4-0x68;let _0x186d91=_0x292465[_0x541db4];return _0x186d91;},_0x541d(_0x2329ac,_0x52e24f);}function _0x2924(){const _0x561871=['push','getParam','_docTransformStateCacheService','getMember','addObjects','init','trim','1155411gWZHiC','current','rxjs/operators','RefRangeService','roomMembers$','_online','clearTimeout','Warning','IUIPartsService','_clearOtherTimers','Disposable','assignAColorForMemberID','onMouseMove','USERS_LEAVE','getCurrent','_toggleOffline','COLORS','string','purple300','hovered','@univerjs-pro/collaboration','DocStateChangeManagerService','unit','_labelPosition','univer-online-status-icon','IRemoteInstanceService','_saveTaskMap','createIdentifier','_name','26032XTuVWr','MoveRangeCommandId','MUTATION','replaceState','transformIMECache','_collabCursorController','Vector2','DocSkeletonManagerService','setTimeout','_startSheetCollabCursor','_urlService','handleInsertRangeMoveRight','_initResize','CONFLICT','pipe','collabCursorState$','ITransformService','disposeUnit','Tools','disposeWithMe','event$','_cursorShapes','_imageIoService','children','getSkeleton','_handleHeartbeatEvent','docStateChange$','concat','_shapes','key','_renderManagerService','RemoteUniscriptService','jsx','_onCursorUpdate','off-line-single_clip0_910_343','black','getRangePointData','fromEvent','_getSaveTimeout','selections','gold400','transformMutationsWithChangeset','cursorInfo','_handleHover','_hovered','hasOwnProperty','RemoveColCommandId','getMergeData','UniverSheetsUi','6196260qySpRI','newValue','_registerDependencies','assign','loadOfflineData','all','_initStatusComponent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DeleteRangeMoveLeftCommandId','UniverDesign','has','_config','univer-offline','_getScale','on-line-single_clip0_910_349','Rect','exports','IImageIoService','row','_getSheetObject','_commandService','source','_httpService','next','split','location','@univerjs/network','setShapeProps','_assignedColors','LICENSE_DISTRO_REJECTED','forEach','connectInjector','APPLY_DUPLICATED','OnLineSingle','transformSelections','params','getUnhiddenWorksheets','none','_cursors','attrs','_colorIndex','engine','RevisionService','flatMap','labelPosition','merge','redoState','_cursor','round','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IConfigService','isTransformMutationFailure','_localCacheService','_disabled','_injector','CollaborationEvent','[CollaborationDataLoaderController]','_session','onRendered','toStringTag','filter','univer-flex\x20univer-items-center','DOC_RANGE_TYPE','UPDATE_CURSOR','@univerjs/drawing','LOCAL_CACHE_INTERVAL_KEY','beginPath','_updateURLWithCurrentState','_anchorDot','getSheetId','deserializeRangeWithSheet','_transformService','DocCollaborationEntity','entries','ACTIVE_UNIT_EVENT_CHANNEL','getViewport','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','dispose$','...','transformMutation','useObservable','SheetSkeletonManagerService','@univerjs/docs','UniverEngineRender','RegularPolygon','_collabCursorState$','height','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_status$','_univerInstanceService','touchDependencies','_render','Shape','shareReplay','clipPath','_lastPointer','_entityInit$','color','_initDependencies','RxDisposable','COMPLETION_FINISHED','width','NOT_FOUND','InsertRangeMoveRightCommandId','@univerjs/sheets-ui','saveOfflineData','pushState','_hover','_getMergeRange','bottom','getStateCache','use','_localeService','ICommandService','APPLY_NON_SEQUENTIAL_REVISION','mask','1em','_color','SNAPSHOT_HAS_BEEN_REMOVED','type','parse','doc.mutation.rich-text-editing','UNIVER_DOC','asObservable','SYNCED','colorChannel1','Inject','getCollabCursors$','replaceDocRanges','getAncestorScale','indexOf','_docTransformSelectionsService','_unitStatus','apply','_colorAssignService','react/jsx-runtime','getUndoRedoMutationParamsCache','permission.content','SOCKET_FAILED_RETRY','SHEET_VIEWPORT_KEY','textRanges','Failed','getColor','updateOfflineData','_initStatusListener','getOffsetConfig','CollaborationUIEventService','univerjs-icon\x20univerjs-icon-','TEXT','SheetsSelectionsService','currentTheme$','CollaborationDataLoaderController','registerComponent','from','defs','includes','[RemoteUniscriptService]:\x20no\x20focused\x20unit','sessionStatus$','_docStateChangeManagerService','session.collaboration-timeout','m2Prime','UniverProCollaborationClient','mergeOverrideWithDependencies','throttleTime','some','_init','_themeService','add','collabStatus.conflict','SUBMIT_CHANGESET_TIMEOUT','_docSkeleton','@univerjs/engine-render','_backgroundColor','replace','handleIRemoveCol','collab-client.tooltip.reconnect','href','permission.title','_docClipboardService','YUUMI_RATE_OVER_LIMIT','backgroundColor','UNDEFINED','AWAITING','SetWorksheetActivateCommand','status$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','subUnitId','_syncEditingCollabCursorService','startRow','setAlpha','registerBeforeClose','icon','Subject','CollaborationStatusDisplay','findNodePositionByCharIndex','_roomMembers$','_handleLeaveEvent','CollaborationController','takeUntil','show','url(#on-line-single_clip0_910_349)','jsxs','tag','VIEW_MAIN','eventID','441aLzgQu','onCommandExecuted','evenodd','YUUMI_UNABLE_LOAD_URL','size','debounce','NodePositionConvertToRectRange','_removeClearOtherTimer','arc','React','Unknown\x20user','_selfUnitIDs','requireSession','CollaborationStatus','unshift','delete','getDocRanges','executionId','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','restore','SNAPSHOT_INVALID_SNAPSHOT','APPLY_REJECT','_sheetSkeletonManagerService','UniverInstanceType','subscribeEvent','_handleJoinEvent','APPLY_REVISION_CONFILICT','verdancy600','ranges','fillText','getRelativeToViewportCoord','_draw','@univerjs/engine-formula','2eBpBOl','UniverDocsUi','call','dispose','svg','clsx','path','combineLatest','getActiveRange','FETCH_MISS','_initEntityListener','jiqing500','getTypeOfUnitDisposed$','translate(.97)','defineProperty','_scheduleClearOtherTimer','url(#$1','startsWith','handleDeleteRangeMoveLeft','_updateCollabCursors','_ensureSubject','_refreshCollabCursors','_scene','roomMembers','values','onlineStatus','CollaborationUIEventId','_localStorageService','LocaleService','range','_toggleOnline','handleInsertCol','CHANGESET_REVISION_CONFILICT','getCurrentRevOfUnit','@univerjs/sheets','TOO_MANY_REQUESTS','_configService','ILogService','onTransformChange$','mutations','M0\x200H16V16H0z','onStarting','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','syncEditingCollabCursor','className','_docSkeletonManagerService','UNAUTHENTICATED','_beforeCloseService','sheetID','ISocketService','SOCKET_FAILED','save','_refRangeService','with','wsSessionTicketUrl','_removeCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','getOwnPropertySymbols','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentUnitForType','selection','BuiltInUIPart','imageSourceType','OTHER_CLIENT_EDITING','search','IMessageService','0\x200\x2016\x2016','addObject','_notificationService','collabStatus.fetchMiss','data','UniverCollaborationClientUIPlugin','DEFAULT_WS_SESSION_TICKET_URL','lineTo','operators','IUniverInstanceService','find','_context','UniverCollaborationClientPlugin','measureText','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','history','disableLocalCache','contains','_memberService','unitID','ONLINE','transformRemoteChangeset','_drawTextRange','body','_scheduleSaving','498132VbOfRo','ILocalStorageService','makeDirty','_anchor','createElement','PERMISSION_DENIED','getOwnPropertyDescriptor','getCollabEntity$','6236112wiDiDB','popstate','send','@univerjs/rpc','collabStatus.offline','serializeRangeWithSheet','OTHER_CLIENTS_EDITING','Injector','_createSocketURL','loadUnit','handleInsertRow','random','stringify','length','ALREADY_EXISTS','69707WwsbDw','registerDependencies','setItem','setInterval','656872vJsmbx','setStateCache','currentColor','getCurrentSelections','switchMap','_saveCache','deepClone','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','WebBrowserSingleActiveUnitService','react','getValue','DesktopCollaborationStatusDisplayController','@univerjs/docs-ui','mapTo','subunit','fillRule','getActiveSheet','subscribe','_drawRectRange','hide','univer-online-status-title','_revisionService','currentSkeleton$','_onCursorDelete','cursorInfo$','div','_doCreateSocket','_registerRenderDependencies','runId','exhaustSavingTask','sheetId','DocIMEInputManagerService','Plugin','UniverEngineFormula','_uiPartsService','function','defIds','handleIRemoveRow','_textBubble','urlChange$','onLocalMutation','ENSURE_SNAPSHOT_EXECUTION','red300','override','CONNECTOR_DATA_TOO_LARGE','error','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','BrowserCollaborationSocketService','debug','collab-text-anchor-','_heartbeatTimer','UNIVER_SHEET','debounceTime','unsubscribe','SetDocZoomRatioOperation','transformStateCache','collab-rect-range-','Error','toRgbString','IRenderManagerService','SessionStatus','fillStyle','online','_hideTimer','rxjs','isArray','FromArray','generateRandomId','memberID','WebURLService','_onRefRangeChange','RECT','m1Prime','transform','xlink:href','InsertColCommandId','unitId','_logService','useDependency','INVALID_ARGUMENT','AWAITING_WITH_PENDING','UniverProCollaboration','addHandlerCallback','ThemeService','NOT_COLLAB','saveTaskMap','setActiveRange','DocSelectionManagerService','set','focused$','setConfig','getFocusedUnit','Rectangle','getMemberID','saveImage','SetSelectionsOperation','complete','InsertRangeMoveDownCommandId','CollaborationSessionService','displayName','_scheduleHeartbeat','_id','_instanceService','_messageService','MessageType','runRefRangeMutations','_collaborationUIEventService','getTypeOfUnitAdded$','pluginName','whenReady','_range','prototype','3930cBuMPp','then','UniverIcon','session.will-retry','createInstance','onlineStatusIcon','#fff','univer-online','_cursorInfo$','_dataLoaderService','font','HTTPService','LOCAL_CACHE_INTERVAL','onPointerLeave$','object','map','_setupSubUnitSync','clearInterval','UniverNetwork','getUnitId','drawWith','fill','registerRenderModule','startColumn','BehaviorSubject','@univerjs/ui','TEXT_RANGE_LAYER_INDEX','toString','uni.network.url-service','@univerjs/design','skeleton','handleInsertRangeMoveDown','_eventUnsubscribe','text','top','_cachedData','triggerDblclick','_initEvent','ILocalCacheService','_updateLocalCursor','@univerjs-pro/collaboration-client','amd','ISnapshotServerService','25CjwQZm','SetTextSelectionsOperation','sessionTicket','YUUMI_SUBSCRIPTION_NOT_FOUND','idSuffix','OffLineSingle','handleDeleteRangeMoveUp','_unitOnClients','@univerjs/core','onPointerEnter$','endRow','collaboration-client.offline-data-not-saved','_transformUndoRedoStack','_getSessionTicket','UniverProCollaborationClientUi','_startDocCollabCursor','useRef','NO_OTHER_CLIENTS_EDITING','ColorKit','EffectRefRangId','RichTextEditingMutation','isTransformMutationsWithChangesetSuccess','_entities','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_setupBeforeClosingHandler','UniverDocs','INotificationService','_collaborationController','IURLService','UNRECOGNIZED','get','resize','collab-text-range-','MemberService','getSheetBySheetId','isActive','searchParams','closePath','collabStatus.notCollab','_collabSessionService','undoState','_transformHistoryAndStateStack','_docSyncEditingCollabCursorService','0\x200\x2017\x2016','_drawAnchor','setParam','toDisposable','getConfig','endColumn','_send','UniverSheets','invokeId','name','extend','UnitStatus','forwardRef','_updateSubUnitFromURLParams','ticket','_getAnchorBounding','_initCommandExecutedListener','INTERNAL_ERROR','code','JOIN_ROOM_FAILED','CollaborationSocketService','getRenderById','YUUMI_URL_COL_OUT_OF_RANGE'];_0x2924=function(){return _0x561871;};return _0x2924();}
1
+ function _0x4cfd(){const _0x11c434=['M0\x200H16V16H0z','@univerjs/design','combineLatest','OnLineSingle','@univerjs-pro/collaboration-client','getStateCache','lineTo','_anchorDot','AWAITING','collaboration-client-ui.config','endColumn','_imageIoService','random','debounce','xlink:href','CollaborationDataLoaderController','_assignedColors','_shapes','useDependency','_removeCollabCursors','/run/','rxjs/operators','use','_renderManagerService','disableLocalCache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','COMPLETION_FINISHED','hide','_context','unshift','deserializeRangeWithSheet','collabStatus.conflict','_revisionService','Rect','send','_initEvent','offline','indexOf','@univerjs/docs','redoState','type','Disposable','DeleteRangeMoveUpCommandId','_hideTimer','_localCacheService','addObjects','debounceTime','Shape','shareReplay','@univerjs/engine-render','_commandService','getItem','getOwnPropertyDescriptor','addEventListener','beginPath','requireSession','doc.mutation.rich-text-editing','Warning','measureText','fillText','getAncestorScale','setShapeProps','getConfig','@univerjs-pro/collaboration','_colorIndex','getCollabEntity$','_removeClearOtherTimer','ENSURE_SNAPSHOT_EXECUTION','toDisposable','then','isEditing','black','from','_ensureSubject','NodePositionConvertToCursor','_registerRenderDependencies','getFocusedUnit','assign','Failed','top','jiqing500','_handleJoinEvent','origin','_saveTaskMap','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','color','engine','online','transformIMECache','search','takeUntil','font','fillStyle','BuiltInUIPart','save','IRemoteInstanceService','_updateSubUnitFromURLParams','RemoteUniscriptService','setParam','_docTransformStateCacheService','MemberService','_setupSubUnitSync','DeleteRangeMoveLeftCommandId','actions','_draw','removeParam','UNRECOGNIZED','name','1em','error','CollaborationUIEventService','_registerDependencies','onMouseMove','CollaborationController','RefRangeService','arc','_selfUnitIDs','toStringTag','DocSkeletonManagerService','setConfig','UniverCollaborationClientPlugin','IBeforeCloseService','hasOwnProperty','getOffsetConfig','_saveCache','storage','registerRefRange','_localeService','RegularPolygon','SetDocZoomRatioOperation','USERS_LEAVE','_drawAnchor','find','operators','length','_httpService','_dataLoaderService','_init','href','touchDependencies','size','toString','_clearOtherTimers','_getScale','dispose$','isTransformMutationsWithChangesetSuccess','hovered','purple300','defs','subscribeEvent','uni.network.url-service','PENDING','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','focused$','ILogService','ranges','WebBrowserSingleActiveUnitService','drawWith','_initDependencies','_hover','12816288XbvgWW','SYNCED','@univerjs/engine-formula','APPLY_REVISION_CONFILICT','setTimeout','unitId','labelPosition','Unknown\x20user','jsx','_cursors','CollaborationStatus','apply','off-line-single_clip0_910_343','debug','_getMergeRange','session.will-retry','77KonBVl','NOT_COLLAB','_disabled','_univerInstanceService','Plugin','isArray','_uiPartsService','ColorKit','UNIVER_SHEET','UNAUTHENTICATED','amd','RemoveRowCommandId','onPointerMove$','triggerDblclick','_cachedData','defineProperty','RichTextEditingMutation','_syncEditingCollabCursorService','popstate','getTypeOfUnitDisposed$','cursorInfo$','@univerjs/network','getRangePointData','@univerjs/docs-ui','Injector','getCurrentSelections','DesktopCollaborationStatusDisplayController','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','UniverDocsUi','UniverSheetsUi','UniverIcon','onLocalMutation','evenodd','PERMISSION_DENIED','row','selections','startRow','univer-flex\x20univer-items-center','256430kfpDLI','SNAPSHOT_HAS_BEEN_REMOVED','UNIVER_DOC','newValue','_beforeCloseService','generateRandomId','_eventUnsubscribe','getCurrentUnitForType','InsertRangeMoveRightCommandId','_docStateChangeManagerService','WebURLService','transformRemoteChangeset','dispose','getViewport','transformByState','_lastPointer','createInstance','DEFAULT_WS_SESSION_TICKET_URL','_initStatusListener','pluginName','SheetCollabCursorShape','CollaborationSessionService','function','enableLocalCache','APPLY_REJECT','getSheetId','getLocalCacheKey','IRenderManagerService','ITransformService','icon','height','_session','ISocketService','getCoordByCell','_status$','parse','_messageService','collabCursorState$','setItem','InsertRangeMoveDownCommandId','ILocalStorageService','VIEW_MAIN','filter','SetTextSelectionsOperation','idSuffix','replaceDocRanges','onlineStatusIcon','_localStorageService','_collabCursorState$','_memberService','getSheetBySheetId','on-line-single_clip0_910_349','restore','_logService','RevisionService','loadUnit','7667628lhuQeP','getSkeleton','getRelativeToViewportCoord','INTERNAL_ERROR','defIds','subscribe','setUndoRedoMutationParamsCache','getUnitId','result','3zphemC','UniverInstanceType','TEXT','gold400','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_roomMembers$','addObject','event$','LICENSE_EXPORT_SIZE_EXCEEDED','show','getColor','editingUnit','univer-online','UniverEngineFormula','whenReady','red300','get','_onCursorDelete','CollaborationStatusDisplay','YUUMI_SUBSCRIPTION_NOT_FOUND','symbol','ICommandService','React','fillRule','add','_getSessionTicket','getSheetObject','_handleHeartbeatEvent','_themeService','syncEditingCollabCursor','asObservable','BehaviorSubject','saveOfflineData','2JZOxRF','getCollabCursors$','clipPath','@univerjs/core','OFFLINE','_updateCollabCursors','text','permission.content','UnitStatus','_unitStatus','mask','assignAColorForMemberID','CONFLICT','#FFF','APPLY_PERMISSION_DENIED','data','_scheduleSaving','children','LICENSE_DISTRO_REJECTED','stringify','_updateLocalCursor','collabStatus.syncing','endRow','pipe','_refRangeService','fromEvent','RxDisposable','setStateCache','cursorInfo','WebSocketService','sessionTicket','CollaborationEvent','runId','_config','unit','loadOfflineData','propertyIsEnumerable','replace','onTransformChange$','Module','_handleHover','serializeRangeWithSheet','params','rxjs','set','roomMembers$','_colorAssignService','_anchor','url(#$1','_getAnchorBounding','DocStateChangeManagerService','attrs','CommandType','_color','runRefRangeMutations','fill','bottom','SUBMIT_CHANGESET_TIMEOUT','getUndoRedoMutationParamsCache','jsxs','_toggleOnline','getCurrent','MoveRangeCommandId','ONLINE','_refreshCollabCursors','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_instanceService','_handleLeaveEvent','replaceState','Inject','verdancy600','useObservable','_collabCursorController','UniverSheets','getDocRanges','location','react/jsx-runtime','tag','_backgroundColor','collab-text-range-','off-line-single','unload','prototype','UNDEFINED','_unitOnClients','APPLY_DUPLICATED','14QiutBO','_online','updateOfflineData','urlChange$','history','LOCAL_CACHE_INTERVAL','handleDeleteRangeMoveLeft','createElement','mutations','ALREADY_EXISTS','_configService','_docSyncEditingCollabCursorService','_onCursorUpdate','#fff','has','_drawTextRange','NO_OTHER_CLIENTS_EDITING','_transformPreviousActiveRange','extend','string','roomMembers','saveTaskMap','getParam','clearInterval','body','TOO_MANY_REQUESTS','selection','undoState','getUnitStatus$','getRenderById','0\x200\x2017\x2016','forwardRef','collabStatus.notCollab','SessionStatus','exhaustSavingTask','collaboration.single-unit.warning','executionId','post','colorChannel1','onPointerEnter$','react','switchMap','YUUMI_URL_COL_OUT_OF_RANGE','getActiveSheet','_docTransformIMECacheService','sheetId','DocSelectionManagerService','IURLService','push','IUniverInstanceService','2970444urKdcH','_urlService','SOCKET_FAILED_RETRY','session.connection-failed','Error','TEXT_RANGE_LAYER_INDEX','getMember','entries','collaboration-client.offline-data-not-saved','values','current','findNodePositionByCharIndex','_send','round','CLOSE_ROOM','handleInsertRow','getUnhiddenWorksheets','startsWith','handleMoveRange','addClipboardHook','_getSaveTimeout','pushState','DocIMEInputManagerService','IImageIoService','OTHER_CLIENTS_EDITING','path','getTypeOfUnitAdded$','_toggleOffline','CollaborationUIEventId','_initCommandExecutedListener','_docSkeletonManagerService','_range','_cursorInfo$','HTTPService','RECT','onPointerLeave$','source','ThemeService','on-line-single','MessageType','clsx','UniverProCollaborationClient','getValue','Tools','svg','createIdentifier','_entities','@univerjs/sheets-ui','_doCreateSocket','call','forEach','width','docStateChange$','getMemberID','JOIN_ROOM_FAILED','_drawRectRange','MUTATION','SheetsSelectionsService','min','delete','_setupBeforeClosingHandler','SNAPSHOT_INVALID_SNAPSHOT','FromArray','_injector','subunit','throttleTime','ACTIVE_UNIT_EVENT_CHANNEL','CONNECTOR_DATA_TOO_LARGE','812909qwToiL','moveTo','className','_hovered','textRanges','getActiveRange','UniverProCollaborationClientUi','with','_notificationService','setAlpha','substring','5URRsqO','@univerjs/ui','COLORS','BrowserCollaborationSocketService','1193538wOwZOJ','@univerjs/sheets','skeleton','transformMutationsWithChangeset','executeCommand','YUUMI_UNABLE_LOAD_URL','UniverProCollaboration','[CollaborationDataLoaderController]','distinctUntilChanged','registerRenderModule','m1Prime','6251584AWpEEj','deepClone','code','memberID','_cursorShapes','univerjs-icon\x20univerjs-icon-','NOT_FOUND','INotificationService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_labelPosition','EffectRefRangId','collabStatus.fetchMiss','disposeWithMe','override','blue400','_entityInit$','flatMap','_transformService','clearTimeout','onCommandExecuted','UniverCollaborationClientUIPlugin','init','_heartbeatTimer','toRgbString','connectInjector','getCurrentRevOfUnit','HEADER_MENU','isActive','_initEntityListener','fromEventSubject','_name','_startSheetCollabCursor','map','concat','LICENSE_MAX_UNITS_EXCEEDED','collaboration.closeRoom','rgba(255,\x20255,\x20255,\x200.01)','_sheetSkeletonManagerService','UniverEngineRender','range','IMessageService','INVALID_ARGUMENT','_render','none','m2Prime','ISnapshotServerService','some','transformMutation','_updateURLWithCurrentState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','InsertRowCommandId','Tooltip','handleInsertCol','mapTo','_handleEvent','makeDirty','_createSocketURL','LocaleService','_scene','displayName','_id','LICENSE_IMPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','sessionStatus$','_docClipboardService','_collabSessionService','SetWorksheetActivateCommand','next','createSocket','session.collaboration-timeout','unitID','@univerjs/drawing','_getSheetObject','_transformUndoRedoStack','transformStateCache','trim','@univerjs/rpc','_collaborationController','_transformHistoryAndStateStack','Optional','entityInit$','SHEET_VIEWPORT_KEY','currentTheme$','url(#on-line-single_clip0_910_349)','AWAITING_WITH_PENDING','_initResize','transformSelections','NodePositionConvertToRectRange','activeSheet$','complete','isTransformMutationFailure','IConfigService','SetSelectionsOperation','collabStatus.offline','...','searchParams','_document','div','_textBubble','UPDATE_CURSOR','_docTransformSelectionsService','onlineStatus','_initStatusComponent','UniverDocs','onStarting','unsubscribe','split','getOwnPropertySymbols'];_0x4cfd=function(){return _0x11c434;};return _0x4cfd();}function _0x4623(_0x25a1dd,_0xbe2de9){const _0x4cfd63=_0x4cfd();return _0x4623=function(_0x462335,_0x54f100){_0x462335=_0x462335-0x8f;let _0x1e5eec=_0x4cfd63[_0x462335];return _0x1e5eec;},_0x4623(_0x25a1dd,_0xbe2de9);}(function(_0x51f100,_0x28f947){const _0x2b148c=_0x4623,_0x34824f=_0x51f100();while(!![]){try{const _0x2383d7=parseInt(_0x2b148c(0x10b))/0x1*(parseInt(_0x2b148c(0x2ca))/0x2)+parseInt(_0x2b148c(0x2a9))/0x3*(-parseInt(_0x2b148c(0xc7))/0x4)+parseInt(_0x2b148c(0x116))/0x5*(parseInt(_0x2b148c(0x11a))/0x6)+parseInt(_0x2b148c(0x95))/0x7*(parseInt(_0x2b148c(0x125))/0x8)+-parseInt(_0x2b148c(0x232))/0x9+-parseInt(_0x2b148c(0x268))/0xa*(parseInt(_0x2b148c(0x242))/0xb)+parseInt(_0x2b148c(0x2a0))/0xc;if(_0x2383d7===_0x28f947)break;else _0x34824f['push'](_0x34824f['shift']());}catch(_0x1bc62f){_0x34824f['push'](_0x34824f['shift']());}}}(_0x4cfd,0xd3ce1),function(_0x333bf6,_0x20c51b){const _0x3c0f5a=_0x4623;typeof exports=='object'&&typeof module<'u'?_0x20c51b(exports,require(_0x3c0f5a(0x195)),require(_0x3c0f5a(0x2cd)),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x3c0f5a(0x259)),require(_0x3c0f5a(0x16c)),require(_0x3c0f5a(0x2f5)),require('@univerjs/docs'),require(_0x3c0f5a(0x1d0)),require('@univerjs/engine-formula'),require(_0x3c0f5a(0x11b)),require(_0x3c0f5a(0x1a6)),require('@univerjs/sheets-ui'),require(_0x3c0f5a(0x316)),require(_0x3c0f5a(0x117)),require('@univerjs/design'),require(_0x3c0f5a(0xbd)),require(_0x3c0f5a(0x171))):typeof define==_0x3c0f5a(0x27e)&&define[_0x3c0f5a(0x24c)]?define(['exports',_0x3c0f5a(0x195),_0x3c0f5a(0x2cd),_0x3c0f5a(0x1c2),_0x3c0f5a(0x257),'@univerjs/docs-ui','@univerjs/drawing',_0x3c0f5a(0x2f5),_0x3c0f5a(0x1b7),_0x3c0f5a(0x1d0),_0x3c0f5a(0x234),_0x3c0f5a(0x11b),_0x3c0f5a(0x1a6),_0x3c0f5a(0xf6),'react/jsx-runtime','@univerjs/ui',_0x3c0f5a(0x192),'react',_0x3c0f5a(0x171)],_0x20c51b):(_0x333bf6=typeof globalThis<'u'?globalThis:_0x333bf6||self,_0x20c51b(_0x333bf6[_0x3c0f5a(0x111)]={},_0x333bf6[_0x3c0f5a(0xf0)],_0x333bf6['UniverCore'],_0x333bf6[_0x3c0f5a(0x14b)],_0x333bf6['UniverNetwork'],_0x333bf6[_0x3c0f5a(0x25e)],_0x333bf6['UniverDrawing'],_0x333bf6[_0x3c0f5a(0x2f5)],_0x333bf6[_0x3c0f5a(0x18c)],_0x333bf6[_0x3c0f5a(0x120)],_0x333bf6[_0x3c0f5a(0x2b6)],_0x333bf6[_0x3c0f5a(0x313)],_0x333bf6[_0x3c0f5a(0x2f5)][_0x3c0f5a(0x216)],_0x333bf6[_0x3c0f5a(0x25f)],_0x333bf6[_0x3c0f5a(0x2bf)],_0x333bf6['UniverUi'],_0x333bf6['UniverDesign'],_0x333bf6[_0x3c0f5a(0x2bf)],_0x333bf6['UniverRpc']));}(this,function(_0x101ed3,_0x8aa7fe,_0x3b7abc,_0x151133,_0x5ec463,_0x13a602,_0x5d480a,_0x1c6d2d,_0x195889,_0xe850af,_0x599718,_0xe5ec9,_0x2b62ea,_0x5472de,_0x278d0e,_0x703c7b,_0x239e61,_0x4ef87a,_0x51424e){'use strict';const _0x370038=_0x4623;var _0x4e44fc=Object[_0x370038(0x251)],_0x2585ed=(_0x3cb706,_0x2ca8da,_0xd18ffa)=>_0x2ca8da in _0x3cb706?_0x4e44fc(_0x3cb706,_0x2ca8da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd18ffa}):_0x3cb706[_0x2ca8da]=_0xd18ffa,_0x424d4e=(_0x2f5981,_0x503d60,_0x5792bb)=>_0x2585ed(_0x2f5981,typeof _0x503d60!=_0x370038(0x2bd)?_0x503d60+'':_0x503d60,_0x5792bb),_0x263b25=Object[_0x370038(0x1c5)],_0xfeec67=(_0x391081,_0x80f177,_0x2eb5bc,_0x3443ff)=>{const _0x5c9317=_0x370038;for(var _0x5ec6d6=_0x3443ff>0x1?void 0x0:_0x3443ff?_0x263b25(_0x80f177,_0x2eb5bc):_0x80f177,_0x5ef7b2=_0x391081[_0x5c9317(0x217)]-0x1,_0x2e76ef;_0x5ef7b2>=0x0;_0x5ef7b2--)(_0x2e76ef=_0x391081[_0x5ef7b2])&&(_0x5ec6d6=_0x2e76ef(_0x5ec6d6)||_0x5ec6d6);return _0x5ec6d6;},_0x5ed14e=(_0x3101b2,_0x405168)=>(_0x5a4f93,_0x2a5a6e)=>_0x405168(_0x5a4f93,_0x2a5a6e,_0x3101b2);let _0x537b3d=class extends _0x3b7abc['RxDisposable']{constructor(_0x2bf5ab,_0x40d6af){const _0x5d8c26=_0x370038;super(),this[_0x5d8c26(0x165)]=_0x2bf5ab,this[_0x5d8c26(0x19c)]=_0x40d6af,this['_init']();}[_0x370038(0x21a)](){const _0x35c269=_0x370038,_0x563ef1=this;this['disposeWithMe'](this[_0x35c269(0x165)][_0x35c269(0xda)]({'onBeforePasteImage':async _0x4995b7=>{const _0x38f82d=_0x35c269,_0x3c38a8=await _0x563ef1[_0x38f82d(0x19c)]['saveImage'](_0x4995b7);return _0x3c38a8?{'source':_0x3c38a8[_0x38f82d(0xeb)],'imageSourceType':_0x3c38a8['imageSourceType']}:null;}}));}};_0x537b3d=_0xfeec67([_0x5ed14e(0x0,_0x13a602['IDocClipboardService']),_0x5ed14e(0x1,_0x5d480a[_0x370038(0xde)])],_0x537b3d);const _0x1488ac=[_0x370038(0x224),_0x370038(0x1e1),_0x370038(0x310),_0x370038(0x2b8),_0x370038(0x133),_0x370038(0x2ac)];class _0x1a9946 extends _0x3b7abc[_0x370038(0x1ba)]{constructor(){const _0x102a55=_0x370038;super(...arguments),_0x424d4e(this,'_assignedColors',new Map()),_0x424d4e(this,_0x102a55(0x1d1),0x0);}[_0x370038(0x2d5)](_0xe08375){const _0x55fbf6=_0x370038;if(this[_0x55fbf6(0x1a1)]['has'](_0xe08375))return this[_0x55fbf6(0x1a1)]['get'](_0xe08375);const _0x426091=_0x1488ac[this['_colorIndex']];return this['_colorIndex']=(this[_0x55fbf6(0x1d1)]+0x1)%_0x1488ac[_0x55fbf6(0x217)],this[_0x55fbf6(0x1a1)][_0x55fbf6(0x2f6)](_0xe08375,_0x426091),_0x426091;}}function _0x4a6c92(_0x42003f){const _0x449747=_0x370038;let _0x2dc1e0='';for(const _0x13ceea of _0x42003f){const {startOffset:_0x468f4e,endOffset:_0x4f8ab1,isActive:_0x274ce6,rangeType:_0x3fc6f5,segmentId:_0x456088,segmentPage:_0x18ec8b}=_0x13ceea;_0x2dc1e0[_0x449747(0x217)]&&(_0x2dc1e0+=','),_0x2dc1e0+=_0x468f4e+':'+_0x4f8ab1+':'+(_0x274ce6?'1':'0')+':'+_0x3fc6f5+':'+_0x456088+':'+_0x18ec8b;}return _0x2dc1e0;}function _0x3ed06a(_0x208dc8){const _0x372b65=_0x370038,_0x17fde4=_0x208dc8['split'](','),_0x318263=[];for(const _0x32f5e3 of _0x17fde4){const [_0x5a3974,_0x3a44f7,_0x6491e,_0x4894a4,_0x5c0ae8,_0xa1e78]=_0x32f5e3[_0x372b65(0x18f)](':');_0x318263[_0x372b65(0xc5)]({'startOffset':Number(_0x5a3974),'endOffset':Number(_0x3a44f7),'collapsed':_0x5a3974===_0x3a44f7,'isActive':_0x6491e==='1','rangeType':_0x4894a4===_0x3b7abc['DOC_RANGE_TYPE'][_0x372b65(0x2ab)]?_0x3b7abc['DOC_RANGE_TYPE'][_0x372b65(0x2ab)]:_0x3b7abc['DOC_RANGE_TYPE'][_0x372b65(0xe9)],'segmentId':typeof _0x5c0ae8==_0x372b65(0xa8)?String(_0x5c0ae8):'','segmentPage':Number(_0xa1e78!=null?_0xa1e78:-0x1)});}return _0x318263[_0x372b65(0x153)](_0x27a6e1=>_0x27a6e1[_0x372b65(0x140)])||(_0x318263[0x0][_0x372b65(0x140)]=!0x0),_0x318263;}class _0x316abe extends _0x3b7abc[_0x370038(0x2e4)]{constructor(){const _0x4eaa57=_0x370038;super(...arguments),_0x424d4e(this,_0x4eaa57(0x298),new _0x1c6d2d[(_0x4eaa57(0x2c8))](null)),_0x424d4e(this,_0x4eaa57(0x28d),this[_0x4eaa57(0x298)][_0x4eaa57(0x2c7)]());}[_0x370038(0x2c6)](_0x4ce0ce){const _0x1a18af=_0x370038,{unitID:_0x2f5f4e,memberID:_0x272c02,textRanges:_0x53ca6d}=_0x4ce0ce,_0x4dc54f=_0x4a6c92(_0x53ca6d);if(_0x4dc54f==='')return;const _0x204d0e={'unitID':_0x2f5f4e,'memberID':_0x272c02,'selection':_0x4dc54f};this[_0x1a18af(0x298)][_0x1a18af(0x168)](_0x204d0e);}}var _0x20f600=Object[_0x370038(0x1c5)],_0x4f837e=(_0x5e1eb6,_0x21a067,_0x5e7b09,_0x4292c2)=>{for(var _0xbae8e8=_0x4292c2>0x1?void 0x0:_0x4292c2?_0x20f600(_0x21a067,_0x5e7b09):_0x21a067,_0x23a41c=_0x5e1eb6['length']-0x1,_0x25aa0d;_0x23a41c>=0x0;_0x23a41c--)(_0x25aa0d=_0x5e1eb6[_0x23a41c])&&(_0xbae8e8=_0x25aa0d(_0xbae8e8)||_0xbae8e8);return _0xbae8e8;},_0x1ace84=(_0x492b52,_0x288bc1)=>(_0x378ecf,_0x2830af)=>_0x288bc1(_0x378ecf,_0x2830af,_0x492b52);const _0x2c45e9=0x12c,_0x5bd5d2=0x64;let _0x1c4e43=class extends _0x3b7abc['RxDisposable']{constructor(_0x4b18b1,_0x2622d1,_0x4aa879,_0x5265da,_0x309999,_0x554257,_0x43828d,_0x7f8040,_0x40894a){const _0x73f7cf=_0x370038;super(),_0x424d4e(this,_0x73f7cf(0x96),!0x1),_0x424d4e(this,'_init',!0x1),_0x424d4e(this,_0x73f7cf(0xe7),new _0x1c6d2d[(_0x73f7cf(0x2c8))](new Map())),_0x424d4e(this,'cursorInfo$',this[_0x73f7cf(0xe7)][_0x73f7cf(0x2c7)]()),_0x424d4e(this,'_roomMembers$',new _0x1c6d2d[(_0x73f7cf(0x2c8))]([])),_0x424d4e(this,_0x73f7cf(0x2f7),this[_0x73f7cf(0x2ae)]['pipe'](_0x1c6d2d[_0x73f7cf(0x1bf)](_0x2c45e9))),_0x424d4e(this,_0x73f7cf(0x2de),_0x3b7abc['debounce'](_0x27d130=>{const _0xd2ab06=_0x73f7cf,_0x32323b={'eventID':_0xe850af[_0xd2ab06(0x2e9)][_0xd2ab06(0x188)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xd2ab06(0xfc)](),'selection':_0x4a6c92(_0x27d130)}};this['_session'][_0xd2ab06(0x1b3)](_0x32323b,this[_0xd2ab06(0x16b)]);},_0x5bd5d2)),(this[_0x73f7cf(0x16b)]=_0x4b18b1,this[_0x73f7cf(0x287)]=_0x2622d1,this[_0x73f7cf(0x106)]=_0x4aa879,this['_colorAssignService']=_0x5265da,this['_memberService']=_0x309999,this[_0x73f7cf(0x253)]=_0x554257,this[_0x73f7cf(0x136)]=_0x43828d,this[_0x73f7cf(0x245)]=_0x7f8040,this[_0x73f7cf(0x1c3)]=_0x40894a);}get[_0x370038(0x2e6)](){const _0x38f916=_0x370038;return this[_0x38f916(0xe7)][_0x38f916(0xf1)]();}get['roomMembers'](){const _0x992218=_0x370038;return this[_0x992218(0x2ae)]['getValue']();}[_0x370038(0x274)](){const _0x1e5472=_0x370038;super[_0x1e5472(0x274)](),this['_cursorInfo$']['next'](new Map()),this[_0x1e5472(0xe7)][_0x1e5472(0x17e)](),this[_0x1e5472(0x2ae)]['next']([]),this[_0x1e5472(0x2ae)][_0x1e5472(0x17e)]();}['init'](){const _0x59d421=_0x370038;this[_0x59d421(0x21a)]||(this[_0x59d421(0x21a)]=!0x0,this[_0x59d421(0x287)][_0x59d421(0x164)][_0x59d421(0x2e1)](_0x1c6d2d[_0x59d421(0x1eb)](this[_0x59d421(0x221)]))[_0x59d421(0x2a5)](_0x13e395=>{const _0x531a65=_0x59d421;_0x13e395===_0x8aa7fe[_0x531a65(0xb6)][_0x531a65(0x309)]?this[_0x531a65(0x306)]():this[_0x531a65(0xe2)]();}),this[_0x59d421(0x287)][_0x59d421(0x2b0)][_0x59d421(0x2e1)](_0x1c6d2d[_0x59d421(0x1eb)](this[_0x59d421(0x221)]))[_0x59d421(0x2a5)](_0x5bd194=>{const _0x41f6e1=_0x59d421,_0x5a4195=_0x5bd194['eventID'];_0x5a4195===_0xe850af[_0x41f6e1(0x2e9)][_0x41f6e1(0x188)]&&this[_0x41f6e1(0xa1)](_0x5bd194),_0x5a4195===_0xe850af[_0x41f6e1(0x2e9)][_0x41f6e1(0x213)]&&this['_onCursorDelete'](_0x5bd194);}),this[_0x59d421(0x131)](this[_0x59d421(0x1c3)][_0x59d421(0x138)](_0x329b35=>{const _0x2ff741=_0x59d421,_0x1d27ff=_0x329b35[_0x2ff741(0x2f4)];_0x1d27ff!=null&&this[_0x2ff741(0x96)]&&_0x329b35['id']===_0x195889[_0x2ff741(0x293)]['id']&&_0x1d27ff[_0x2ff741(0x237)]===this[_0x2ff741(0x16b)]&&_0x1d27ff[_0x2ff741(0x1d7)]===!0x1&&_0x1d27ff['ranges'][_0x2ff741(0x217)]>0x0&&this[_0x2ff741(0x2de)](_0x1d27ff[_0x2ff741(0x22d)]);})),this[_0x59d421(0x253)][_0x59d421(0x28d)][_0x59d421(0x2e1)](_0x1c6d2d[_0x59d421(0x1eb)](this[_0x59d421(0x221)]))[_0x59d421(0x2a5)](_0x44c876=>{const _0x264e31=_0x59d421;if((_0x44c876==null?void 0x0:_0x44c876[_0x264e31(0x16b)])!==this[_0x264e31(0x16b)])return;const _0x512305={'eventID':_0xe850af['CollaborationEvent'][_0x264e31(0x188)],'data':_0x44c876};this[_0x264e31(0xa1)](_0x512305);}),this[_0x59d421(0x131)](this[_0x59d421(0x1c3)][_0x59d421(0x138)](_0x387ab0=>{const _0x54d7a6=_0x59d421;if(_0x387ab0[_0x54d7a6(0x2f4)]==null)return;const _0x30eb46=_0x387ab0[_0x54d7a6(0x2f4)];if(_0x387ab0['id']!==_0x195889[_0x54d7a6(0x252)]['id']||_0x30eb46[_0x54d7a6(0x237)]!==this[_0x54d7a6(0x16b)])return;const _0x2fe8b4={'id':_0x54d7a6(0x1c9),'params':_0x30eb46},_0x141c7d=this[_0x54d7a6(0x2e6)];for(const [_0xc2959e,_0x54b8b7]of _0x141c7d){const _0x29b157={'id':_0x54d7a6(0x1c9),'params':{'unitId':this[_0x54d7a6(0x16b)],'actions':null,'textRanges':_0x54b8b7[_0x54d7a6(0x22d)]}},_0x5273c7=this[_0x54d7a6(0x136)][_0x54d7a6(0x154)](_0x2fe8b4,_0x29b157,!0x1);if(_0xe850af[_0x54d7a6(0x17f)](_0x5273c7))throw _0x5273c7[_0x54d7a6(0x1fe)];_0x141c7d[_0x54d7a6(0x2f6)](_0xc2959e,{..._0x54b8b7,'ranges':_0x5273c7[_0x54d7a6(0x151)][_0x54d7a6(0x2f4)][_0x54d7a6(0x10f)]});}queueMicrotask(()=>{const _0xbd3015=_0x54d7a6;this[_0xbd3015(0xe7)]['next'](_0x141c7d);});})));}[_0x370038(0xa1)](_0x4b8dda){const _0x4f1b18=_0x370038;var _0x6edd18,_0xc52b64;const {memberID:_0x40482c,selection:_0x226cf8}=_0x4b8dda['data'],_0x119278=_0x3ed06a(_0x226cf8),_0x53d423=(_0xc52b64=(_0x6edd18=this['_memberService'][_0x4f1b18(0xcd)](this['unitID'],_0x40482c))==null?void 0x0:_0x6edd18[_0x4f1b18(0x1fc)])!=null?_0xc52b64:_0x4f1b18(0x239),_0x4d82a8={'color':this[_0x4f1b18(0x2f8)][_0x4f1b18(0x2d5)](_0x40482c),'name':_0x53d423,'ranges':_0x119278},_0x578907=this['cursorInfo'];_0x578907['set'](_0x40482c,_0x4d82a8),this[_0x4f1b18(0xe7)]['next'](_0x578907);}[_0x370038(0x2ba)](_0x4af265){const _0x111991=_0x370038,{memberID:_0x10227c}=_0x4af265[_0x111991(0x2d9)],_0x112236=this[_0x111991(0x2e6)];_0x112236[_0x111991(0x102)](_0x10227c),this[_0x111991(0xe7)][_0x111991(0x168)](_0x112236);}[_0x370038(0x306)](){const _0x34d151=_0x370038;var _0x546299;if(this[_0x34d151(0x96)]=!0x0,((_0x546299=this[_0x34d151(0x245)][_0x34d151(0x1dd)]())==null?void 0x0:_0x546299[_0x34d151(0x2a7)]())!==this['unitID'])return;const _0x13099f=this['_injector'][_0x34d151(0x2b9)](_0x195889[_0x34d151(0xc3)])[_0x34d151(0x314)]();Array['isArray'](_0x13099f)&&_0x13099f['length']>0x0&&this['_updateLocalCursor'](_0x13099f);}['_toggleOffline'](){this['_online']=!0x1;}};_0x1c4e43=_0x4f837e([_0x1ace84(0x2,_0x3b7abc['Inject'](_0x3b7abc[_0x370038(0x25a)])),_0x1ace84(0x3,_0x3b7abc[_0x370038(0x30f)](_0x1a9946)),_0x1ace84(0x4,_0x3b7abc[_0x370038(0x30f)](_0x8aa7fe[_0x370038(0x1f5)])),_0x1ace84(0x5,_0x3b7abc[_0x370038(0x30f)](_0x316abe)),_0x1ace84(0x6,_0xe850af[_0x370038(0x284)]),_0x1ace84(0x7,_0x3b7abc[_0x370038(0xc6)]),_0x1ace84(0x8,_0x3b7abc[_0x370038(0x2be)])],_0x1c4e43);var _0x59809c=Object[_0x370038(0x1c5)],_0x20a0a6=(_0x41d08a,_0x4358b6,_0x4cea61,_0x54eafa)=>{const _0x4b3bfb=_0x370038;for(var _0x211508=_0x54eafa>0x1?void 0x0:_0x54eafa?_0x59809c(_0x4358b6,_0x4cea61):_0x4358b6,_0x3f6440=_0x41d08a[_0x4b3bfb(0x217)]-0x1,_0x4ecf13;_0x3f6440>=0x0;_0x3f6440--)(_0x4ecf13=_0x41d08a[_0x3f6440])&&(_0x211508=_0x4ecf13(_0x211508)||_0x211508);return _0x211508;},_0x1a7dee=(_0x528547,_0xed7391)=>(_0x4f764a,_0x2ae223)=>_0xed7391(_0x4f764a,_0x2ae223,_0x528547);const _0x7e3cc2=0x12c,_0x39427c=0x64,_0x2d0aaa=()=>{let _0x344685=[],_0x3444be=!0x1;return _0x4b2987=>{const _0x458625=_0x4623;_0x344685[_0x458625(0xc5)](_0x4b2987),_0x3444be||(_0x3444be=!0x0,setTimeout(()=>{const _0x4212d0=_0x458625;_0x344685[_0x4212d0(0xf9)](_0x22d451=>_0x22d451()),_0x344685=[],_0x3444be=!0x1;}));};};let _0x4dc794=class extends _0x3b7abc[_0x370038(0x2e4)]{constructor(_0x4de086,_0x5b2f47,_0xc0c71,_0xcef3d9,_0x475ce7,_0x174e21,_0x564853,_0x1ddc1e){const _0x4501aa=_0x370038;super(),_0x424d4e(this,_0x4501aa(0x96),!0x1),_0x424d4e(this,_0x4501aa(0x21a),!0x1),_0x424d4e(this,_0x4501aa(0xe7),new _0x1c6d2d[(_0x4501aa(0x2c8))](new Map())),_0x424d4e(this,_0x4501aa(0x256),this['_cursorInfo$'][_0x4501aa(0x2c7)]()),_0x424d4e(this,_0x4501aa(0x2ae),new _0x1c6d2d[(_0x4501aa(0x2c8))]([])),_0x424d4e(this,'roomMembers$',this[_0x4501aa(0x2ae)][_0x4501aa(0x2e1)](_0x1c6d2d[_0x4501aa(0x1bf)](_0x7e3cc2))),_0x424d4e(this,_0x4501aa(0x2de),_0x3b7abc[_0x4501aa(0x19e)]((_0x20deb3,_0x130554)=>{const _0x20e41e=_0x4501aa,_0x54e62c={'eventID':_0xe850af['CollaborationEvent'][_0x20e41e(0x188)],'data':{'unitID':this[_0x20e41e(0x16b)],'memberID':this[_0x20e41e(0x287)][_0x20e41e(0xfc)](),'selection':_0x599718[_0x20e41e(0x2f3)](_0x20deb3,_0x130554[_0x20e41e(0x14c)])}};this[_0x20e41e(0x287)]['send'](_0x54e62c,this[_0x20e41e(0x16b)]);},_0x39427c)),(this['unitID']=_0x4de086,this['_session']=_0x5b2f47,this[_0x4501aa(0x106)]=_0xc0c71,this[_0x4501aa(0x2f8)]=_0xcef3d9,this['_memberService']=_0x475ce7,this[_0x4501aa(0x245)]=_0x174e21,this[_0x4501aa(0x1c3)]=_0x564853,this[_0x4501aa(0x2e2)]=_0x1ddc1e);}get[_0x370038(0x2e6)](){const _0x3a8ade=_0x370038;return this[_0x3a8ade(0xe7)][_0x3a8ade(0xf1)]();}get[_0x370038(0xa9)](){const _0x378f37=_0x370038;return this[_0x378f37(0x2ae)][_0x378f37(0xf1)]();}[_0x370038(0x274)](){const _0x42ac10=_0x370038;super[_0x42ac10(0x274)](),this['_cursorInfo$']['next'](new Map()),this[_0x42ac10(0xe7)][_0x42ac10(0x17e)](),this[_0x42ac10(0x2ae)]['next']([]),this[_0x42ac10(0x2ae)][_0x42ac10(0x17e)]();}['init'](){const _0x316dd9=_0x370038;this[_0x316dd9(0x21a)]||(this[_0x316dd9(0x21a)]=!0x0,this[_0x316dd9(0x287)][_0x316dd9(0x164)][_0x316dd9(0x2e1)](_0x1c6d2d[_0x316dd9(0x1eb)](this[_0x316dd9(0x221)]))[_0x316dd9(0x2a5)](_0x6e3bfe=>{const _0x273f36=_0x316dd9;_0x6e3bfe===_0x8aa7fe[_0x273f36(0xb6)]['ONLINE']?this[_0x273f36(0x306)]():this[_0x273f36(0xe2)]();}),this['_session'][_0x316dd9(0x2b0)][_0x316dd9(0x2e1)](_0x1c6d2d[_0x316dd9(0x1eb)](this['dispose$']))[_0x316dd9(0x2a5)](_0x1d4b03=>{const _0x2ec480=_0x316dd9,_0x54c911=_0x1d4b03['eventID'];_0x54c911===_0xe850af[_0x2ec480(0x2e9)][_0x2ec480(0x188)]&&this[_0x2ec480(0xa1)](_0x1d4b03),_0x54c911===_0xe850af[_0x2ec480(0x2e9)][_0x2ec480(0x213)]&&this[_0x2ec480(0x2ba)](_0x1d4b03);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x316dd9(0x1c3)][_0x316dd9(0x138)](_0x26bab4=>{const _0x5510d8=_0x316dd9;if(this[_0x5510d8(0x96)]&&_0x26bab4['id']===_0xe5ec9[_0x5510d8(0x181)]['id']&&_0x26bab4['params']['unitId']===this[_0x5510d8(0x16b)]){const _0x3ebde6=_0x26bab4[_0x5510d8(0x2f4)];this['_updateLocalCursor'](_0x3ebde6['subUnitId'],_0x3ebde6[_0x5510d8(0x265)][0x0]);}})));}['_onCursorUpdate'](_0xaec3b){const _0x358ed1=_0x370038;var _0x35ff3a,_0x4bbef3;const {memberID:_0x3d50e7,selection:_0x151ecf}=_0xaec3b[_0x358ed1(0x2d9)],{sheetName:_0x2eab21,range:_0x4dfbc9}=_0x599718[_0x358ed1(0x1af)](_0x151ecf),_0xaf6ea1={'name':(_0x4bbef3=(_0x35ff3a=this[_0x358ed1(0x299)]['getMember'](this[_0x358ed1(0x16b)],_0x3d50e7))==null?void 0x0:_0x35ff3a['name'])!=null?_0x4bbef3:_0x358ed1(0x239),'range':this[_0x358ed1(0x240)](_0x2eab21,_0x4dfbc9),'sheetID':_0x2eab21,'color':this[_0x358ed1(0x2f8)]['assignAColorForMemberID'](_0x3d50e7),'selection':_0x151ecf},_0x2488de=this['cursorInfo'];_0x2488de[_0x358ed1(0x2f6)](_0x3d50e7,_0xaf6ea1),this[_0x358ed1(0xe7)][_0x358ed1(0x168)](_0x2488de);}['_onCursorDelete'](_0x125a22){const _0x597b59=_0x370038,{memberID:_0x4c28e7}=_0x125a22[_0x597b59(0x2d9)],_0x2457da=this[_0x597b59(0x2e6)];_0x2457da[_0x597b59(0x102)](_0x4c28e7),this[_0x597b59(0xe7)]['next'](_0x2457da);}['_getMergeRange'](_0x2dbddd,_0x4ad33b){const _0x404365=_0x370038;var _0x5955e7,_0x418e5c;const _0x5390dc=(_0x418e5c=(_0x5955e7=this[_0x404365(0x245)]['getUniverSheetInstance'](this[_0x404365(0x16b)]))==null?void 0x0:_0x5955e7[_0x404365(0x29a)](_0x2dbddd))==null?void 0x0:_0x418e5c['getMergeData']();return(_0x5390dc==null?void 0x0:_0x5390dc[_0x404365(0x215)](_0x408921=>_0x3b7abc['Rectangle']['contains'](_0x408921,_0x4ad33b)))||_0x4ad33b;}['_onRefRangeChange'](){const _0x58ac99=_0x370038,_0x1afa08=new _0x3b7abc['DisposableCollection'](),_0x4610d1=_0x2d0aaa(),_0x78aabd=()=>{const _0x4dc55d=_0x4623;_0x1afa08[_0x4dc55d(0x274)]();const _0x7fab56=(_0xd339a7,_0x197fb5,_0x5e220e,_0x58e29b)=>{const _0x2e2e97=_0x4dc55d;let _0x6d8929=[];switch(_0xd339a7['id']){case _0xe5ec9['EffectRefRangId'][_0x2e2e97(0x1f7)]:{_0x6d8929=_0xe5ec9[_0x2e2e97(0x9b)](_0xd339a7,_0x58e29b);break;}case _0xe5ec9[_0x2e2e97(0x12f)][_0x2e2e97(0x1bb)]:{_0x6d8929=_0xe5ec9['handleDeleteRangeMoveUp'](_0xd339a7,_0x58e29b);break;}case _0xe5ec9[_0x2e2e97(0x12f)]['InsertColCommandId']:{_0x6d8929=_0xe5ec9[_0x2e2e97(0x159)](_0xd339a7,_0x58e29b);break;}case _0xe5ec9['EffectRefRangId'][_0x2e2e97(0x28f)]:{_0x6d8929=_0xe5ec9['handleInsertRangeMoveDown'](_0xd339a7,_0x58e29b);break;}case _0xe5ec9[_0x2e2e97(0x12f)][_0x2e2e97(0x270)]:{_0x6d8929=_0xe5ec9['handleInsertRangeMoveRight'](_0xd339a7,_0x58e29b);break;}case _0xe5ec9[_0x2e2e97(0x12f)][_0x2e2e97(0x157)]:{_0x6d8929=_0xe5ec9[_0x2e2e97(0xd6)](_0xd339a7,_0x58e29b);break;}case _0xe5ec9[_0x2e2e97(0x12f)][_0x2e2e97(0x308)]:{_0x6d8929=_0xe5ec9[_0x2e2e97(0xd9)](_0xd339a7,_0x58e29b);break;}case _0xe5ec9[_0x2e2e97(0x12f)]['RemoveColCommandId']:{_0x6d8929=_0xe5ec9['handleIRemoveCol'](_0xd339a7,_0x58e29b);break;}case _0xe5ec9[_0x2e2e97(0x12f)][_0x2e2e97(0x24d)]:{_0x6d8929=_0xe5ec9['handleIRemoveRow'](_0xd339a7,_0x58e29b);break;}}const _0x647762=_0xe5ec9[_0x2e2e97(0x300)](_0x6d8929,_0x58e29b),_0x55da61=this[_0x2e2e97(0x2e6)][_0x2e2e97(0x2b9)](_0x197fb5);if(_0x55da61&&_0x647762){const _0xeca1e4={..._0x55da61,'range':_0x647762};this[_0x2e2e97(0x2e6)][_0x2e2e97(0x2f6)](_0x197fb5,_0xeca1e4),_0x4610d1(()=>{const _0x2e8dc4=_0x2e2e97,_0x46973f=this[_0x2e8dc4(0x2e2)][_0x2e8dc4(0x20f)](_0x647762,_0x2f7a59=>(_0x46973f['dispose'](),_0x7fab56(_0x2f7a59,_0x197fb5,_0x5e220e,_0x647762)));_0x1afa08['add'](_0x46973f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4dc55d(0xf9)]((_0x5da739,_0x27c9e5)=>{const _0x362073=_0x4dc55d,{range:_0x3a09e8,sheetID:_0x2c7737}=_0x5da739,_0x30cfa5=this['_refRangeService'][_0x362073(0x20f)](_0x3a09e8,_0xae37=>(_0x30cfa5[_0x362073(0x274)](),_0x7fab56(_0xae37,_0x27c9e5,_0x2c7737,_0x3a09e8)));_0x1afa08[_0x362073(0x2c1)](_0x30cfa5);});};this[_0x58ac99(0x131)](_0x3b7abc[_0x58ac99(0x1d5)](this[_0x58ac99(0xe7)][_0x58ac99(0x2a5)](()=>{_0x78aabd();})));}[_0x370038(0x306)](){const _0xd166d5=_0x370038;var _0x38add7,_0x5d8a2c;if(this['_online']=!0x0,((_0x38add7=this[_0xd166d5(0x245)][_0xd166d5(0x1dd)]())==null?void 0x0:_0x38add7[_0xd166d5(0x2a7)]())!==this[_0xd166d5(0x16b)])return;const _0x51b999=(_0x5d8a2c=this[_0xd166d5(0x106)][_0xd166d5(0x2b9)](_0xe5ec9[_0xd166d5(0x100)])[_0xd166d5(0x25b)]())==null?void 0x0:_0x5d8a2c[0x0],_0x41568e=this[_0xd166d5(0x245)][_0xd166d5(0x26f)](_0x3b7abc[_0xd166d5(0x2aa)][_0xd166d5(0x24a)])[_0xd166d5(0xc0)]();_0x51b999&&_0x41568e&&this[_0xd166d5(0x2de)](_0x41568e[_0xd166d5(0x281)](),_0x51b999);}[_0x370038(0xe2)](){const _0xd1eec7=_0x370038;this[_0xd1eec7(0x96)]=!0x1;}};_0x4dc794=_0x20a0a6([_0x1a7dee(0x2,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0x25a)])),_0x1a7dee(0x3,_0x3b7abc[_0x370038(0x30f)](_0x1a9946)),_0x1a7dee(0x4,_0x3b7abc['Inject'](_0x8aa7fe[_0x370038(0x1f5)])),_0x1a7dee(0x5,_0x3b7abc[_0x370038(0xc6)]),_0x1a7dee(0x6,_0x3b7abc['ICommandService']),_0x1a7dee(0x7,_0x3b7abc[_0x370038(0x30f)](_0xe5ec9[_0x370038(0x203)]))],_0x4dc794);var _0x3826db=Object['getOwnPropertyDescriptor'],_0x4d5727=(_0x14e7b5,_0xa1450d,_0x12f2f7,_0x58a13a)=>{const _0x29f8a5=_0x370038;for(var _0x15dd31=_0x58a13a>0x1?void 0x0:_0x58a13a?_0x3826db(_0xa1450d,_0x12f2f7):_0xa1450d,_0x42cea8=_0x14e7b5[_0x29f8a5(0x217)]-0x1,_0x2777f5;_0x42cea8>=0x0;_0x42cea8--)(_0x2777f5=_0x14e7b5[_0x42cea8])&&(_0x15dd31=_0x2777f5(_0x15dd31)||_0x15dd31);return _0x15dd31;},_0x4202f8=(_0x1d8163,_0x3439e2)=>(_0x5d0db5,_0x5dbddb)=>_0x3439e2(_0x5d0db5,_0x5dbddb,_0x1d8163);let _0x3ca272=class extends _0x3b7abc[_0x370038(0x2e4)]{constructor(_0x19baa7,_0x1508dc,_0xd65b0e){const _0x595ea0=_0x370038;super(),_0x424d4e(this,'_entities',new Map()),_0x424d4e(this,_0x595ea0(0x134),new _0x1c6d2d['Subject']()),(this[_0x595ea0(0x245)]=_0x19baa7,this['_injector']=_0x1508dc,this[_0x595ea0(0x166)]=_0xd65b0e,this['_init']());}[_0x370038(0x274)](){const _0x27cd95=_0x370038;super[_0x27cd95(0x274)](),this[_0x27cd95(0x134)]['complete'](),this[_0x27cd95(0xf5)]['forEach'](_0x35523e=>_0x35523e[_0x27cd95(0x274)]());}[_0x370038(0x2cb)](_0x2bcfed){const _0x5c6eea=_0x370038;return this[_0x5c6eea(0xf5)]['has'](_0x2bcfed)?this[_0x5c6eea(0xf5)]['get'](_0x2bcfed)[_0x5c6eea(0x256)]:this['_entityInit$'][_0x5c6eea(0x2e1)](_0x1c6d2d[_0x5c6eea(0x292)](_0x1eebd4=>_0x1eebd4[_0x5c6eea(0x16b)]===_0x2bcfed),_0x1c6d2d[_0x5c6eea(0xbe)](_0x35d37e=>_0x35d37e[_0x5c6eea(0x256)]));}['_init'](){const _0x109fb9=_0x370038;this[_0x109fb9(0x245)]['getTypeOfUnitAdded$'](_0x3b7abc['UniverInstanceType'][_0x109fb9(0x24a)])[_0x109fb9(0x2e1)](_0x1c6d2d[_0x109fb9(0x1eb)](this['dispose$']))['subscribe'](async _0x527585=>{const _0x57ebb8=_0x109fb9,_0xe0c97b=_0x527585[_0x57ebb8(0x2a7)](),_0x15ff19=await this['_startSheetCollabCursor'](_0xe0c97b);this[_0x57ebb8(0x134)][_0x57ebb8(0x168)](_0x15ff19),this[_0x57ebb8(0xf5)]['set'](_0xe0c97b,_0x15ff19);}),this[_0x109fb9(0x245)][_0x109fb9(0xe1)](_0x3b7abc['UniverInstanceType'][_0x109fb9(0x26a)])['pipe'](_0x1c6d2d[_0x109fb9(0x1eb)](this[_0x109fb9(0x221)]))[_0x109fb9(0x2e1)](_0x1c6d2d['filter'](_0x49d02c=>!_0x49d02c[_0x109fb9(0x2a7)]()[_0x109fb9(0xd8)]('__')))[_0x109fb9(0x2a5)](async _0x76816a=>{const _0x28648f=_0x109fb9,_0x158237=_0x76816a['getUnitId'](),_0x295b7b=await this['_startDocCollabCursor'](_0x158237);this[_0x28648f(0x134)]['next'](_0x295b7b),this[_0x28648f(0xf5)][_0x28648f(0x2f6)](_0x158237,_0x295b7b);}),_0x1c6d2d['merge'](this['_univerInstanceService'][_0x109fb9(0x255)](_0x3b7abc[_0x109fb9(0x2aa)][_0x109fb9(0x26a)]),this[_0x109fb9(0x245)]['getTypeOfUnitDisposed$'](_0x3b7abc[_0x109fb9(0x2aa)][_0x109fb9(0x24a)]))['pipe'](_0x1c6d2d['takeUntil'](this[_0x109fb9(0x221)]))[_0x109fb9(0x2a5)](_0x338d79=>{const _0x2e329a=_0x109fb9,_0x211a8c=_0x338d79[_0x2e329a(0x2a7)](),_0x583d2a=this['_entities']['get'](_0x211a8c);_0x583d2a&&(_0x583d2a['dispose'](),this[_0x2e329a(0xf5)][_0x2e329a(0x102)](_0x211a8c));});}async[_0x370038(0x144)](_0x186416){const _0x25498e=_0x370038,_0x3f944e=await this[_0x25498e(0x166)]['requireSession'](_0x186416),_0x53ca82=this['_injector'][_0x25498e(0x278)](_0x4dc794,_0x186416,_0x3f944e);return _0x53ca82[_0x25498e(0x13a)](),_0x53ca82;}async['_startDocCollabCursor'](_0x3f358c){const _0x206dee=_0x370038,_0x4ad7c3=await this[_0x206dee(0x166)][_0x206dee(0x1c8)](_0x3f358c),_0x2e536b=this[_0x206dee(0x106)][_0x206dee(0x278)](_0x1c4e43,_0x3f358c,_0x4ad7c3);return _0x2e536b['init'](),_0x2e536b;}};_0x3ca272=_0x4d5727([_0x4202f8(0x0,_0x3b7abc[_0x370038(0xc6)]),_0x4202f8(0x1,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0x25a)])),_0x4202f8(0x2,_0x3b7abc['Inject'](_0x8aa7fe[_0x370038(0x27d)]))],_0x3ca272);const _0x297d51=0x14,_0x5cd99b=0xc8,_0x36d0b5=0x4,_0x44c03a=0x5;function _0x235c1c(_0x1ea19a,_0x3481e1){const _0xb6f6fd=_0x370038;let {radius:_0xef23b,width:_0xf3824a,height:_0x1a647c}=_0x3481e1;_0xef23b=_0xef23b!=null?_0xef23b:0x0,_0xf3824a=_0xf3824a!=null?_0xf3824a:0x1e,_0x1a647c=_0x1a647c!=null?_0x1a647c:0x1e;let _0x6f99ee=0x0,_0x3bfb94=0x0,_0x3775e4=0x0;_0x6f99ee=_0x3bfb94=_0x3775e4=Math[_0xb6f6fd(0x101)](_0xef23b,_0xf3824a/0x2,_0x1a647c/0x2),_0x1ea19a[_0xb6f6fd(0x1c7)](),_0x1ea19a[_0xb6f6fd(0x10c)](_0x6f99ee,0x0),_0x1ea19a[_0xb6f6fd(0x197)](_0xf3824a-_0x3bfb94,0x0),_0x1ea19a[_0xb6f6fd(0x204)](_0xf3824a-_0x3bfb94,_0x3bfb94,_0x3bfb94,Math['PI']*0x3/0x2,0x0,!0x1),_0x1ea19a['lineTo'](_0xf3824a,_0x1a647c-_0x3775e4),_0x1ea19a[_0xb6f6fd(0x204)](_0xf3824a-_0x3775e4,_0x1a647c-_0x3775e4,_0x3775e4,0x0,Math['PI']/0x2,!0x1),_0x1ea19a[_0xb6f6fd(0x197)](0x0,_0x1a647c),_0x1ea19a[_0xb6f6fd(0x197)](0x0,_0x6f99ee),_0x1ea19a[_0xb6f6fd(0x204)](_0x6f99ee,_0x6f99ee,_0x6f99ee,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1ea19a['closePath'](),_0x3481e1[_0xb6f6fd(0x301)]&&(_0x1ea19a[_0xb6f6fd(0x1ef)](),_0x1ea19a[_0xb6f6fd(0x1ed)]=_0x3481e1[_0xb6f6fd(0x301)],_0x3481e1[_0xb6f6fd(0x2c0)]===_0xb6f6fd(0x262)?_0x1ea19a[_0xb6f6fd(0x301)](_0xb6f6fd(0x262)):_0x1ea19a[_0xb6f6fd(0x301)](),_0x1ea19a[_0xb6f6fd(0x29c)]());}class _0xcba050 extends _0x151133[_0x370038(0x1c0)]{constructor(_0x18717e,_0x4ca300){const _0x45b190=_0x370038;super(_0x18717e,_0x4ca300),_0x424d4e(this,_0x45b190(0x1e6)),_0x424d4e(this,_0x45b190(0x2d0)),(this['color']=_0x4ca300==null?void 0x0:_0x4ca300[_0x45b190(0x1e6)],this[_0x45b190(0x2d0)]=_0x4ca300==null?void 0x0:_0x4ca300[_0x45b190(0x2d0)]);}static[_0x370038(0x22f)](_0x3be43d,_0x1a8360){const _0x11e3a8=_0x370038,{text:_0x4883c4,color:_0x2c0dd0}=_0x1a8360;_0x3be43d['save'](),_0x3be43d[_0x11e3a8(0x1ec)]=_0x11e3a8(0x1e5);const _0x37581e=_0x3be43d[_0x11e3a8(0x1cb)](_0x4883c4)['width'],_0x2030a7=Math[_0x11e3a8(0x101)](_0x37581e+0x2*_0x36d0b5,_0x5cd99b);_0x235c1c(_0x3be43d,{'height':_0x297d51,'radius':0x4,'width':_0x2030a7,'fill':_0x2c0dd0}),_0x3be43d[_0x11e3a8(0x1ed)]=_0x11e3a8(0x2d7);const _0x1cbe7e=_0x36d0b5,_0x556286=_0x297d51-_0x44c03a,_0x49f9b6=_0x5cd99b-0x2*_0x36d0b5;if(_0x37581e>_0x49f9b6){let _0x4137f9='',_0x3fd37a=0x0;for(const _0x2f0c36 of _0x4883c4){const _0x3343f5=_0x3be43d[_0x11e3a8(0x1cb)](_0x2f0c36)[_0x11e3a8(0xfa)];if(_0x3fd37a+_0x3343f5<=_0x49f9b6-_0x3be43d['measureText'](_0x11e3a8(0x183))[_0x11e3a8(0xfa)])_0x4137f9+=_0x2f0c36,_0x3fd37a+=_0x3343f5;else{_0x4137f9+='...';break;}}_0x3be43d[_0x11e3a8(0x1cc)](_0x4137f9,_0x1cbe7e,_0x556286);}else _0x3be43d[_0x11e3a8(0x1cc)](_0x4883c4,_0x1cbe7e,_0x556286);_0x3be43d[_0x11e3a8(0x29c)]();}[_0x370038(0x1f9)](_0x39ade3){const _0x4a1dd0=_0x370038;_0xcba050[_0x4a1dd0(0x22f)](_0x39ade3,this);}}const _0x3617bf='collab-text-anchor-',_0x15e0db=_0x370038(0x319),_0xbf56f1='collab-rect-range-',_0x1b135f=0x6,_0x3d9ce6=1.5,_0x135f52=0x4,_0x573e32=1.5,_0x4a390b=_0x370038(0x149);class _0x5d1f24{constructor(_0x451290,_0x4f551b,_0x2b72f9,_0x4dea6b){const _0x5e3f42=_0x370038;_0x424d4e(this,'_shapes',[]),_0x424d4e(this,_0x5e3f42(0x2f9),null),_0x424d4e(this,_0x5e3f42(0x187),null),_0x424d4e(this,_0x5e3f42(0x198),null),_0x424d4e(this,'_hideTimer',null),_0x424d4e(this,_0x5e3f42(0x26e),null),(this['_cursor']=_0x451290,this[_0x5e3f42(0x15f)]=_0x4f551b,this['_docSkeleton']=_0x2b72f9,this[_0x5e3f42(0x185)]=_0x4dea6b,this[_0x5e3f42(0x14f)]());}set['_hover'](_0x1ad3bd){const _0x26ad28=_0x370038;_0x1ad3bd?(this[_0x26ad28(0x198)]&&this[_0x26ad28(0x198)]['hide'](),this[_0x26ad28(0x187)]&&this[_0x26ad28(0x187)]['show']()):(this[_0x26ad28(0x198)]&&this[_0x26ad28(0x198)][_0x26ad28(0x2b2)](),this['_textBubble']&&this[_0x26ad28(0x187)][_0x26ad28(0x1ac)]());}[_0x370038(0x274)](){const _0x4f072f=_0x370038;for(const _0x1abd5a of this[_0x4f072f(0x1a2)])_0x1abd5a[_0x4f072f(0x274)]();this['_textBubble']&&this[_0x4f072f(0x187)]['dispose'](),this[_0x4f072f(0x198)]&&this[_0x4f072f(0x198)]['dispose'](),this[_0x4f072f(0x2f9)]&&this['_anchor']['dispose'](),this[_0x4f072f(0x26e)]&&this['_eventUnsubscribe']();}['_render'](){const _0x1df125=_0x370038;var _0x16e678;const {_docSkeleton:_0x1e8c23,_document:_0x3439be}=this,{color:_0x20c43c,name:_0x1d24c7,ranges:_0x2b3ea4}=this['_cursor'],_0x4ccebf=_0x3439be[_0x1df125(0x20c)](),{docsLeft:_0x280b22,docsTop:_0x4d055a}=_0x4ccebf,_0x2118c9=new _0x13a602[(_0x1df125(0x1db))](_0x4ccebf,_0x1e8c23);for(const {startOffset:_0x435fcb,endOffset:_0xcec6ea,rangeType:_0x59f85f,segmentId:_0x4aef92,segmentPage:_0xba02d,collapsed:_0x2dfd71,isActive:_0x2a7305}of _0x2b3ea4){const _0x2c932d=_0x1e8c23[_0x1df125(0xd2)](_0x435fcb,!0x0,_0x4aef92,_0xba02d);let _0x1e2a34=_0x1e8c23[_0x1df125(0xd2)](_0xcec6ea,!0x0,_0x4aef92,_0xba02d);if(_0x1e2a34==null&&(_0x1e2a34=_0x1e8c23[_0x1df125(0xd2)](_0xcec6ea-0x1,!0x1,_0x4aef92,_0xba02d)),_0x2a7305){const {contentBoxPointGroup:_0x546432}=_0x2118c9['getRangePointData'](_0x1e2a34,_0x1e2a34);if(_0x546432[_0x1df125(0x217)]===0x0)continue;this[_0x1df125(0x214)](_0x20c43c,_0x546432,_0x280b22,_0x4d055a,_0x1d24c7),this[_0x1df125(0x26e)]=this[_0x1df125(0x2f2)]();}if(_0x2c932d&&_0x1e2a34){if(_0x59f85f===_0x3b7abc['DOC_RANGE_TYPE'][_0x1df125(0xe9)]){const _0x322dcf=new _0x13a602[(_0x1df125(0x17c))](_0x4ccebf,_0x1e8c23),{pointGroup:_0xe5e5d9}=(_0x16e678=_0x322dcf[_0x1df125(0x258)](_0x2c932d,_0x1e2a34))!=null?_0x16e678:{};if(_0xe5e5d9==null||_0xe5e5d9['length']===0x0)continue;this[_0x1df125(0xfe)](_0x20c43c,_0xe5e5d9,_0x280b22,_0x4d055a);}else{if(!_0x2dfd71){const {borderBoxPointGroup:_0x3189c1}=_0x2118c9[_0x1df125(0x258)](_0x2c932d,_0x1e2a34);if(_0x3189c1[_0x1df125(0x217)]===0x0)continue;this[_0x1df125(0xa4)](_0x20c43c,_0x3189c1,_0x280b22,_0x4d055a);}}}}}[_0x370038(0x214)](_0x115d44,_0x3e79fe,_0xaef6dd,_0x7d38b0,_0x33e0ff){const _0x424e76=_0x370038,_0x25b2c1=this['_getAnchorBounding'](_0x3e79fe),{left:_0x98bc0c,top:_0x147c98,height:_0x4fc58a}=_0x25b2c1,_0x285e99=this[_0x424e76(0x220)](),_0x45e9e5=_0x573e32/_0x285e99,_0x513f72=new _0x151133[(_0x424e76(0x1b2))](_0x3617bf+_0x3b7abc[_0x424e76(0xf2)][_0x424e76(0x26d)](_0x1b135f),{'left':_0x98bc0c+_0xaef6dd-_0x45e9e5,'top':_0x147c98+_0x7d38b0,'height':_0x4fc58a,'width':_0x3d9ce6,'fill':_0x115d44||_0x151133[_0x424e76(0x2b3)](_0x3b7abc[_0x424e76(0x118)][_0x424e76(0x1d8)],0x0),'strokeWidth':_0x45e9e5,'stroke':_0x4a390b,'evented':!0x0});this['_anchor']=_0x513f72,this['_scene'][_0x424e76(0x2af)](_0x513f72,_0x13a602[_0x424e76(0xcc)]);const _0x17ca73=new _0x151133[(_0x424e76(0x1b2))](_0x3617bf+_0x3b7abc['Tools'][_0x424e76(0x26d)](_0x1b135f),{'left':_0x98bc0c+_0xaef6dd-_0x45e9e5,'top':_0x147c98+_0x7d38b0-_0x135f52/0x2,'height':_0x135f52,'width':_0x135f52,'fill':_0x115d44||_0x151133[_0x424e76(0x2b3)](_0x3b7abc[_0x424e76(0x118)][_0x424e76(0x1d8)],0x0),'strokeWidth':0x0,'stroke':_0x115d44||_0x151133[_0x424e76(0x2b3)](_0x3b7abc[_0x424e76(0x118)][_0x424e76(0x1d8)],0x0),'evented':!0x1});this['_anchorDot']=_0x17ca73,this[_0x424e76(0x15f)][_0x424e76(0x2af)](_0x17ca73,_0x13a602[_0x424e76(0xcc)]);const _0x335e74=new _0xcba050(_0x3617bf+_0x3b7abc[_0x424e76(0xf2)]['generateRandomId'](_0x1b135f),{'left':_0x98bc0c+_0xaef6dd-_0x45e9e5,'top':_0x147c98+_0x7d38b0-_0x297d51,'text':_0x33e0ff,'color':_0x115d44});this['_textBubble']=_0x335e74,this[_0x424e76(0x15f)][_0x424e76(0x2af)](_0x335e74,_0x13a602[_0x424e76(0xcc)]),this['_hover']=!0x1;}[_0x370038(0x2f2)](){const _0x4a2934=_0x370038,_0x18f6cb=this[_0x4a2934(0x2f9)][_0x4a2934(0xbc)][_0x4a2934(0x226)](()=>{this['_hover']=!0x0;}),_0x45bdd7=this[_0x4a2934(0x2f9)][_0x4a2934(0xea)]['subscribeEvent'](()=>{const _0x1214f1=_0x4a2934;this[_0x1214f1(0x1bc)]&&clearTimeout(this['_hideTimer']),this[_0x1214f1(0x1bc)]=setTimeout(()=>{const _0xe6fbaa=_0x1214f1;this[_0xe6fbaa(0x231)]=!0x1;},0x7d0);});return()=>{const _0x262d69=_0x4a2934;_0x18f6cb[_0x262d69(0x18e)](),_0x45bdd7[_0x262d69(0x18e)]();};}[_0x370038(0xa4)](_0x5da1b7,_0x2b32dd,_0x446d97,_0x4303fc){const _0x194f82=_0x370038,_0x42abf7=new _0x3b7abc[(_0x194f82(0x249))](_0x5da1b7)['setAlpha'](0.2)['toRgbString'](),_0x307bfa=new _0x151133['RegularPolygon'](_0x15e0db+_0x3b7abc[_0x194f82(0xf2)][_0x194f82(0x26d)](_0x1b135f),{'pointsGroup':_0x2b32dd,'fill':_0x42abf7||_0x151133[_0x194f82(0x2b3)](_0x3b7abc['COLORS'][_0x194f82(0x1d8)],0.2),'left':_0x446d97,'top':_0x4303fc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x194f82(0x1a2)][_0x194f82(0xc5)](_0x307bfa),this['_scene'][_0x194f82(0x2af)](_0x307bfa,_0x13a602[_0x194f82(0xcc)]);}[_0x370038(0xfe)](_0xbe2c91,_0x54fd27,_0x1d39e6,_0x143ff2){const _0x397fce=_0x370038,_0x1b7806=new _0x3b7abc[(_0x397fce(0x249))](_0xbe2c91)[_0x397fce(0x114)](0.2)[_0x397fce(0x13c)](),_0x4d27af=new _0x151133[(_0x397fce(0x211))](_0xbf56f1+_0x3b7abc[_0x397fce(0xf2)]['generateRandomId'](_0x1b135f),{'pointsGroup':_0x54fd27,'fill':_0x1b7806||_0x151133[_0x397fce(0x2b3)](_0x3b7abc['COLORS'][_0x397fce(0x1d8)],0.2),'left':_0x1d39e6,'top':_0x143ff2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x397fce(0xc5)](_0x4d27af),this[_0x397fce(0x15f)][_0x397fce(0x2af)](_0x4d27af,_0x13a602[_0x397fce(0xcc)]);}[_0x370038(0x2fb)](_0x37b3da){const _0xce0c4b=_0x37b3da[0x0],_0x106ea1=_0xce0c4b[0x0],_0x24a869=_0xce0c4b[0x2],{x:_0x37aaac,y:_0x418e9d}=_0x106ea1,{x:_0x3f219d,y:_0x468589}=_0x24a869;return{'left':_0x37aaac,'top':_0x418e9d,'width':_0x3f219d-_0x37aaac,'height':_0x468589-_0x418e9d};}['_getScale'](){const _0x395dec=_0x370038,{scaleX:_0x5ecacb,scaleY:_0x2fe547}=this[_0x395dec(0x15f)]['getAncestorScale']();return Math['max'](_0x5ecacb,_0x2fe547);}}var _0x17ca14=Object[_0x370038(0x1c5)],_0xc6d0db=(_0x4849e6,_0x2080ae,_0xe17ba6,_0x45223f)=>{const _0x4c574e=_0x370038;for(var _0x40bf5b=_0x45223f>0x1?void 0x0:_0x45223f?_0x17ca14(_0x2080ae,_0xe17ba6):_0x2080ae,_0x4cd4a3=_0x4849e6[_0x4c574e(0x217)]-0x1,_0x5bbcf5;_0x4cd4a3>=0x0;_0x4cd4a3--)(_0x5bbcf5=_0x4849e6[_0x4cd4a3])&&(_0x40bf5b=_0x5bbcf5(_0x40bf5b)||_0x40bf5b);return _0x40bf5b;},_0x24bb5c=(_0x503e16,_0xa920e1)=>(_0x462958,_0x766a22)=>_0xa920e1(_0x462958,_0x766a22,_0x503e16);let _0x40a86f=class extends _0x3b7abc[_0x370038(0x2e4)]{constructor(_0x515fad,_0x299932,_0x37c8ca,_0x5c2b80,_0x2875f9){const _0x32964c=_0x370038;super(),_0x424d4e(this,_0x32964c(0x129),[]),_0x424d4e(this,_0x32964c(0x23b),[]),(this[_0x32964c(0x1ad)]=_0x515fad,this[_0x32964c(0xe5)]=_0x299932,this[_0x32964c(0x312)]=_0x37c8ca,this[_0x32964c(0x1c3)]=_0x5c2b80,this['_themeService']=_0x2875f9,this['_init']());}[_0x370038(0x21a)](){const _0x344069=_0x370038,_0x38bcf8=this[_0x344069(0x1ad)][_0x344069(0x237)],_0xed5ecc=this[_0x344069(0xe5)];this['disposeWithMe'](_0x1c6d2d[_0x344069(0x193)]([this[_0x344069(0x312)]['getCollabCursors$'](_0x38bcf8),this[_0x344069(0x2c5)][_0x344069(0x177)]])[_0x344069(0x2e1)](_0x2b62ea[_0x344069(0x145)](([_0x58944f,_0x55c98b])=>({'skeleton':_0xed5ecc[_0x344069(0x2a1)](),'cursors':[..._0x58944f['values']()][_0x344069(0x135)](_0x265f61=>({..._0x265f61,'color':_0x55c98b[_0x265f61['color']]}))})))[_0x344069(0x2a5)](_0x1fba7a=>{const _0x3d8e4a=_0x344069;if(this[_0x3d8e4a(0x1a4)](),_0x1fba7a){const {skeleton:_0x3182ec,cursors:_0x2d8c8f}=_0x1fba7a;this[_0x3d8e4a(0x2cf)](_0x3182ec,_0x2d8c8f);}})),this[_0x344069(0x17a)](),this[_0x344069(0xe4)]();}[_0x370038(0x2cf)](_0x1c71b3,_0x9d7456){const _0x38cf56=_0x370038,{scene:_0x93c148,mainComponent:_0x47369e}=this[_0x38cf56(0x1ad)],_0x3a27b3=_0x9d7456[_0x38cf56(0x145)](_0x36ee03=>new _0x5d1f24(_0x36ee03,_0x93c148,_0x1c71b3,_0x47369e));this['_cursorShapes']=_0x3a27b3,this[_0x38cf56(0x23b)]=_0x9d7456;}[_0x370038(0x30a)](){const _0x4b634c=_0x370038;this[_0x4b634c(0x1a4)]();const {scene:_0x1d15fd,mainComponent:_0x15b9b3}=this[_0x4b634c(0x1ad)],_0x2f55a2=this[_0x4b634c(0xe5)]['getSkeleton'](),_0x565afd=this[_0x4b634c(0x23b)]['map'](_0x403ae5=>new _0x5d1f24(_0x403ae5,_0x1d15fd,_0x2f55a2,_0x15b9b3));this[_0x4b634c(0x129)]=_0x565afd;}['_removeCollabCursors'](){const _0x212214=_0x370038;this['_cursorShapes'][_0x212214(0xf9)](_0x54bd06=>_0x54bd06[_0x212214(0x274)]()),this[_0x212214(0x129)]=[];}[_0x370038(0xe4)](){const _0x47b03f=_0x370038,_0xf73ac6=[_0x13a602[_0x47b03f(0x212)]['id']];this['disposeWithMe'](this[_0x47b03f(0x1c3)]['onCommandExecuted'](_0x31728e=>{const _0x4ea7ca=_0x47b03f;_0xf73ac6['includes'](_0x31728e['id'])&&_0x31728e[_0x4ea7ca(0x2f4)]['unitId']===this[_0x4ea7ca(0x1ad)][_0x4ea7ca(0x237)]&&this['_refreshCollabCursors']();}));}[_0x370038(0x17a)](){const _0x41f0aa=_0x370038;this[_0x41f0aa(0x131)](_0x3b7abc[_0x41f0aa(0x142)](this[_0x41f0aa(0x1ad)][_0x41f0aa(0x1e7)][_0x41f0aa(0x2f0)])[_0x41f0aa(0x2e1)](_0x2b62ea[_0x41f0aa(0x292)](_0x3a68f0=>_0x3a68f0[_0x41f0aa(0x1b9)]===_0x151133[_0x41f0aa(0x30b)]['resize']),_0x2b62ea[_0x41f0aa(0x108)](0x10))['subscribe'](()=>{const _0x2ad021=_0x41f0aa;this[_0x2ad021(0x30a)]();}));}};_0x40a86f=_0xc6d0db([_0x24bb5c(0x1,_0x3b7abc[_0x370038(0x30f)](_0x195889[_0x370038(0x207)])),_0x24bb5c(0x2,_0x3b7abc['Inject'](_0x3ca272)),_0x24bb5c(0x3,_0x3b7abc['ICommandService']),_0x24bb5c(0x4,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0xec)]))],_0x40a86f);const _0x38f22f=0x1,_0x4ed238=1.5;class _0x5c89b5 extends _0x151133[_0x370038(0x1c0)]{constructor(_0x2baf21,_0x4cbac4){const _0x39dd5b=_0x370038;super(_0x2baf21,_0x4cbac4),_0x424d4e(this,_0x39dd5b(0x2ff)),_0x424d4e(this,_0x39dd5b(0x10e),!0x1),_0x424d4e(this,_0x39dd5b(0xe6)),_0x424d4e(this,_0x39dd5b(0x143),''),_0x424d4e(this,_0x39dd5b(0x12e),_0x39dd5b(0x1e0)),_0x424d4e(this,_0x39dd5b(0x318)),(_0x4cbac4&&this[_0x39dd5b(0x1ce)](_0x4cbac4),this[_0x39dd5b(0xbc)][_0x39dd5b(0x226)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x39dd5b(0x226)](()=>this[_0x39dd5b(0x1ce)]({'hovered':!0x1})));}[_0x370038(0x1ce)](_0xa373d6){const _0x5ee933=_0x370038;var _0x4394cd,_0x3e4652,_0x49ae06,_0x2b28cb,_0x17ae8e,_0x2511f4;this['_color']=(_0x4394cd=_0xa373d6['color'])!=null?_0x4394cd:this[_0x5ee933(0x2ff)],this[_0x5ee933(0x10e)]=(_0x3e4652=_0xa373d6[_0x5ee933(0x223)])!=null?_0x3e4652:this[_0x5ee933(0x10e)],this[_0x5ee933(0xe6)]=(_0x49ae06=_0xa373d6['range'])!=null?_0x49ae06:this[_0x5ee933(0xe6)],this[_0x5ee933(0x143)]=(_0x2b28cb=_0xa373d6[_0x5ee933(0x1fc)])!=null?_0x2b28cb:this[_0x5ee933(0x143)],this[_0x5ee933(0x12e)]=(_0x17ae8e=_0xa373d6[_0x5ee933(0x238)])!=null?_0x17ae8e:this[_0x5ee933(0x12e)],this['_backgroundColor']=(_0x2511f4=_0xa373d6['backgroundColor'])!=null?_0x2511f4:this[_0x5ee933(0x318)],this[_0x5ee933(0x276)]({'width':_0xa373d6[_0x5ee933(0xfa)],'height':_0xa373d6[_0x5ee933(0x286)]});}[_0x370038(0x201)](_0x173195){const _0x5622a6=_0x370038,{row:_0x1b5e1b,column:_0x58f39a}=_0x173195;if(_0x1b5e1b>=this['_range'][_0x5622a6(0x266)]&&_0x1b5e1b<=this['_range'][_0x5622a6(0x2e0)]&&_0x58f39a>=this[_0x5622a6(0xe6)]['startColumn']&&_0x58f39a<=this[_0x5622a6(0xe6)][_0x5622a6(0x19b)]){this[_0x5622a6(0x1ce)]({'hovered':!0x0});return;}this[_0x5622a6(0x1ce)]({'hovered':!0x1});}[_0x370038(0x24f)](_0x5cd2a0){return!0x1;}['_draw'](_0x28e2ae){const _0x1ee588=_0x370038;_0x151133[_0x1ee588(0x1b2)][_0x1ee588(0x22f)](_0x28e2ae,{'width':this[_0x1ee588(0xfa)],'height':this[_0x1ee588(0x286)],'strokeWidth':_0x4ed238,'stroke':this[_0x1ee588(0x2ff)],'evented':!0x1,'fill':this[_0x1ee588(0x318)]}),this[_0x1ee588(0x10e)]&&(_0x28e2ae['save'](),_0x28e2ae['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x1ee588(0x12e)]==='bottom'?0x0:-0x14),_0xcba050['drawWith'](_0x28e2ae,{'text':this[_0x1ee588(0x143)],'color':this[_0x1ee588(0x2ff)]}),_0x28e2ae[_0x1ee588(0x29c)]());}}var _0x2a65a5=Object['getOwnPropertyDescriptor'],_0x5e3d86=(_0x4ac873,_0x3ad3a6,_0x1f90de,_0x442651)=>{for(var _0x387148=_0x442651>0x1?void 0x0:_0x442651?_0x2a65a5(_0x3ad3a6,_0x1f90de):_0x3ad3a6,_0xd1fd99=_0x4ac873['length']-0x1,_0x3ce0d0;_0xd1fd99>=0x0;_0xd1fd99--)(_0x3ce0d0=_0x4ac873[_0xd1fd99])&&(_0x387148=_0x3ce0d0(_0x387148)||_0x387148);return _0x387148;},_0x572416=(_0x26a8d0,_0x2d2456)=>(_0x162d98,_0x504831)=>_0x2d2456(_0x162d98,_0x504831,_0x26a8d0);const _0x4d2deb=0x1389;let _0x4cdb2c=class extends _0x3b7abc['RxDisposable']{constructor(_0x1cba08,_0x317c7e,_0x1eed15,_0xa7ca45){const _0x2f38be=_0x370038;super(),_0x424d4e(this,_0x2f38be(0x23b),new Set()),_0x424d4e(this,_0x2f38be(0x277),null),(this[_0x2f38be(0x1ad)]=_0x1cba08,this[_0x2f38be(0x14a)]=_0x317c7e,this['_collabCursorController']=_0x1eed15,this[_0x2f38be(0x2c5)]=_0xa7ca45,this[_0x2f38be(0x21a)]());}[_0x370038(0x21a)](){const _0x5649ec=_0x370038;this[_0x5649ec(0x14a)]['currentSkeleton$'][_0x5649ec(0x2e1)](_0x2b62ea['takeUntil'](this[_0x5649ec(0x221)]),_0x2b62ea[_0x5649ec(0xbe)](_0x3be24b=>{const _0x1f2fc4=_0x5649ec;if(_0x3be24b){const _0x100586=_0x3be24b[_0x1f2fc4(0xc2)];return _0x1c6d2d[_0x1f2fc4(0x193)](this[_0x1f2fc4(0x312)][_0x1f2fc4(0x2cb)](this[_0x1f2fc4(0x1ad)][_0x1f2fc4(0x237)]),this[_0x1f2fc4(0x2c5)]['currentTheme$'])[_0x1f2fc4(0x2e1)](_0x2b62ea[_0x1f2fc4(0x145)](([_0x1dd574,_0x514790])=>{const _0x325556=_0x1f2fc4,_0x7673d5=new Map();return _0x1dd574[_0x325556(0xf9)]((_0x487d4f,_0x52d66a)=>{const _0x3334e9=_0x325556;if(_0x487d4f['sheetID']===_0x100586){const _0x5790c4={..._0x487d4f};_0x5790c4['color']=_0x514790[_0x487d4f[_0x3334e9(0x1e6)]],_0x7673d5[_0x3334e9(0x2f6)](_0x52d66a,_0x5790c4);}}),{'skeleton':_0x3be24b,'cursors':_0x7673d5};}));}return _0x1c6d2d['of']({'skeleton':null,'cursors':new Map()});}))[_0x5649ec(0x2a5)](({skeleton:_0x37da1d,cursors:_0xe8eb63})=>{const _0x4e5c4b=_0x5649ec;this[_0x4e5c4b(0x1a4)](),_0x37da1d&&this['_updateCollabCursors'](_0x37da1d,_0xe8eb63);}),this[_0x5649ec(0x14a)]['currentSkeleton$'][_0x5649ec(0x2a5)](_0x312b28=>{const _0xa15701=_0x5649ec;if(_0x312b28==null)return;const {skeleton:_0x35dab5}=_0x312b28,{scene:_0xb9b576}=this[_0xa15701(0x1ad)];_0xb9b576[_0xa15701(0x24e)][_0xa15701(0x226)](_0x3b7abc[_0xa15701(0x19e)](_0x483163=>{const _0x248182=_0xa15701;var _0x1c7773,_0x4354e9;const {offsetX:_0x4d83b1,offsetY:_0x20de5c}=_0x483163,{x:_0x3214b8,y:_0x24dbb4}=_0xb9b576[_0x248182(0x2a2)](_0x151133['Vector2'][_0x248182(0x105)]([_0x4d83b1,_0x20de5c])),{scaleX:_0x318c16,scaleY:_0x2c27b0}=_0xb9b576[_0x248182(0x1cd)](),_0xc47d9f=_0xb9b576[_0x248182(0x275)](_0x151133[_0x248182(0x176)][_0x248182(0x291)]),_0x2b9cf4=_0xb9b576['getVpScrollXYInfoByPosToVp'](_0x151133['Vector2']['FromArray']([_0x3214b8,_0x24dbb4]),_0xc47d9f),_0x3c8c8f=_0x35dab5['getCellPositionByOffset'](_0x4d83b1,_0x20de5c,_0x318c16,_0x2c27b0,_0x2b9cf4);((_0x1c7773=this[_0x248182(0x277)])==null?void 0x0:_0x1c7773['column'])===_0x3c8c8f['column']&&((_0x4354e9=this['_lastPointer'])==null?void 0x0:_0x4354e9[_0x248182(0x264)])===_0x3c8c8f[_0x248182(0x264)]||this[_0x248182(0x23b)][_0x248182(0xf9)](_0x2ec2c2=>{const _0x14b3fa=_0x248182;_0x2ec2c2[_0x14b3fa(0x201)](_0x3c8c8f);});},0x64));});}[_0x370038(0x2cf)](_0x7d59c0,_0x5a2b03){const _0x4166da=_0x370038;var _0x301d85;const _0x516230=(_0x301d85=this[_0x4166da(0x14a)][_0x4166da(0x307)]())==null?void 0x0:_0x301d85[_0x4166da(0x11c)];if(!_0x516230)return;const _0x1ba09f=this['_getSheetObject']();if(!_0x1ba09f)return;this['_cursors']['forEach'](_0x3d8b91=>{const _0x16c64e=_0x4166da;_0x3d8b91[_0x16c64e(0x15c)]();});const {scene:_0x50997e}=_0x1ba09f,_0x319951=_0x2e3935(Array['from'](_0x5a2b03[_0x4166da(0xd0)]()))[_0x4166da(0x145)](_0x1c071a=>{const _0x178c41=_0x4166da,{color:_0x106cc1,range:_0x47b183,name:_0x195f94,selection:_0x295acc,sheetID:_0x1eead3}=_0x1c071a,{startColumn:_0x4923d9,startRow:_0x53df86,endColumn:_0x1b59e7,endRow:_0x1cd05c}=_0x47b183,_0x5f4169=_0x5472de[_0x178c41(0x289)](_0x53df86,_0x4923d9,_0x50997e,_0x516230),_0x1be1cc=_0x5472de['getCoordByCell'](_0x1cd05c,_0x1b59e7,_0x50997e,_0x516230),{columnHeaderHeightAndMarginTop:_0x2dbcc2}=_0x516230,{startX:_0x40482a,startY:_0xb0d954}=_0x5f4169,{endX:_0x16f7ab,endY:_0x37b0c3}=_0x1be1cc,_0x34d942=_0x16f7ab-_0x40482a,_0x382963=_0x37b0c3-_0xb0d954,_0x28fa4f={'labelPosition':_0xb0d954-_0x2dbcc2>=_0x297d51?_0x178c41(0x1e0):_0x178c41(0x302),'sheetID':_0x1eead3,'range':_0x47b183,'color':_0x106cc1,'name':_0x195f94,'selection':_0x295acc,'left':_0x40482a,'top':_0xb0d954,'width':_0x34d942,'height':_0x382963,'evented':!0x1,'zIndex':_0x4d2deb};return new _0x5c89b5(_0x195f94,_0x28fa4f);});_0x50997e[_0x4166da(0x1be)](_0x319951,_0x38f22f),this[_0x4166da(0x23b)]=new Set(_0x319951);}['_removeCollabCursors'](){const _0x25b687=_0x370038;var _0x4db073;(_0x4db073=this[_0x25b687(0x23b)])==null||_0x4db073['forEach'](_0x4a4d70=>_0x4a4d70[_0x25b687(0x274)]());}[_0x370038(0x16d)](){const _0x309e32=_0x370038;return _0x5472de[_0x309e32(0x2c3)](this['_context'][_0x309e32(0x2ec)],this['_context']);}};_0x4cdb2c=_0x5e3d86([_0x572416(0x1,_0x3b7abc[_0x370038(0x30f)](_0x5472de['SheetSkeletonManagerService'])),_0x572416(0x2,_0x3b7abc[_0x370038(0x30f)](_0x3ca272)),_0x572416(0x3,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0xec)]))],_0x4cdb2c);function _0x2e3935(_0x2061fc){const _0x21accc=_0x370038,_0x543ef8=new Map();return _0x2061fc[_0x21accc(0xf9)](_0x5b5a89=>{const _0x51fe34=_0x21accc;if(_0x543ef8['has'](_0x5b5a89[_0x51fe34(0xaf)])){const _0x38930b=_0x543ef8[_0x51fe34(0x2b9)](_0x5b5a89[_0x51fe34(0xaf)]);_0x38930b[_0x51fe34(0x1fc)]+=',\x20'+_0x5b5a89[_0x51fe34(0x1fc)];}else _0x543ef8[_0x51fe34(0x2f6)](_0x5b5a89[_0x51fe34(0xaf)],_0x5b5a89);}),Array[_0x21accc(0x1d9)](_0x543ef8[_0x21accc(0xd0)]());}var _0x57ea05=function(){const _0x293cc2=_0x370038;return _0x57ea05=Object[_0x293cc2(0x1de)]||function(_0x53bfaa){const _0x4fb011=_0x293cc2;for(var _0x430bab,_0x1af390=0x1,_0x1d5547=arguments[_0x4fb011(0x217)];_0x1af390<_0x1d5547;_0x1af390++){_0x430bab=arguments[_0x1af390];for(var _0x2b262e in _0x430bab)Object[_0x4fb011(0x91)][_0x4fb011(0x20b)][_0x4fb011(0xf8)](_0x430bab,_0x2b262e)&&(_0x53bfaa[_0x2b262e]=_0x430bab[_0x2b262e]);}return _0x53bfaa;},_0x57ea05[_0x293cc2(0x23d)](this,arguments);},_0x166d60=function(_0x1952b7,_0xa5056a){const _0x15125f=_0x370038;var _0x538d0c={};for(var _0x15a37b in _0x1952b7)Object['prototype'][_0x15125f(0x20b)][_0x15125f(0xf8)](_0x1952b7,_0x15a37b)&&_0xa5056a[_0x15125f(0x1b6)](_0x15a37b)<0x0&&(_0x538d0c[_0x15a37b]=_0x1952b7[_0x15a37b]);if(_0x1952b7!=null&&typeof Object[_0x15125f(0x190)]=='function'){for(var _0x11f295=0x0,_0x15a37b=Object[_0x15125f(0x190)](_0x1952b7);_0x11f295<_0x15a37b['length'];_0x11f295++)_0xa5056a[_0x15125f(0x1b6)](_0x15a37b[_0x11f295])<0x0&&Object['prototype'][_0x15125f(0x2ee)][_0x15125f(0xf8)](_0x1952b7,_0x15a37b[_0x11f295])&&(_0x538d0c[_0x15a37b[_0x11f295]]=_0x1952b7[_0x15a37b[_0x11f295]]);}return _0x538d0c;},_0x3f0215=_0x4ef87a[_0x370038(0xb4)](function(_0x38a11c,_0xa1c291){const _0x20382f=_0x370038;var _0x386cfe=_0x38a11c[_0x20382f(0x285)],_0x4d6446=_0x38a11c['id'],_0x560200=_0x38a11c['className'],_0x4438bc=_0x38a11c[_0x20382f(0xa7)],_0x555cf0=_0x166d60(_0x38a11c,[_0x20382f(0x285),'id',_0x20382f(0x10d),'extend']),_0x548432=_0x20382f(0x12a)[_0x20382f(0x146)](_0x4d6446,'\x20')['concat'](_0x560200||'')[_0x20382f(0x170)](),_0x515fbe=_0x4ef87a['useRef']('_'[_0x20382f(0x146)](_0x100f87()));return _0x807b75(_0x386cfe,''[_0x20382f(0x146)](_0x4d6446),{'defIds':_0x386cfe[_0x20382f(0x2a4)],'idSuffix':_0x515fbe[_0x20382f(0xd1)]},_0x57ea05({'ref':_0xa1c291,'className':_0x548432},_0x555cf0),_0x4438bc);});function _0x807b75(_0x3cffec,_0x5767e2,_0x3f43a6,_0x270d66,_0x14be56){const _0x53b574=_0x370038;return _0x4ef87a[_0x53b574(0x9c)](_0x3cffec[_0x53b574(0x317)],_0x57ea05(_0x57ea05({'key':_0x5767e2},_0x2d7cfd(_0x3cffec,_0x3f43a6,_0x14be56)),_0x270d66),(_0x519d26(_0x3cffec,_0x3f43a6)[_0x53b574(0x2db)]||[])[_0x53b574(0x145)](function(_0x52fe99,_0x5bee75){const _0x11d5e6=_0x53b574;return _0x807b75(_0x52fe99,''[_0x11d5e6(0x146)](_0x5767e2,'-')[_0x11d5e6(0x146)](_0x3cffec['tag'],'-')[_0x11d5e6(0x146)](_0x5bee75),_0x3f43a6,void 0x0,_0x14be56);}));}function _0x2d7cfd(_0xdc750c,_0x4bcdf9,_0x2b7e67){const _0xb3f505=_0x370038;var _0x166e17=_0x57ea05({},_0xdc750c['attrs']);_0x2b7e67!=null&&_0x2b7e67[_0xb3f505(0xbb)]&&_0x166e17[_0xb3f505(0x301)]==='colorChannel1'&&(_0x166e17['fill']=_0x2b7e67[_0xb3f505(0xbb)]),_0xdc750c['tag']===_0xb3f505(0x2d4)&&_0x166e17['id']&&(_0x166e17['id']=_0x166e17['id']+_0x4bcdf9[_0xb3f505(0x294)]),Object[_0xb3f505(0xce)](_0x166e17)['forEach'](function(_0x386ba9){const _0x226f39=_0xb3f505;var _0x57d332=_0x386ba9[0x0],_0x18a62f=_0x386ba9[0x1];_0x57d332===_0x226f39(0x2d4)&&typeof _0x18a62f=='string'&&(_0x166e17[_0x57d332]=_0x18a62f[_0x226f39(0x2ef)](/url\(#(.*)\)/,_0x226f39(0x2fa)[_0x226f39(0x146)](_0x4bcdf9[_0x226f39(0x294)],')')));});var _0x56ba22=_0x4bcdf9[_0xb3f505(0x2a4)];return!_0x56ba22||_0x56ba22[_0xb3f505(0x217)]===0x0||(_0xdc750c[_0xb3f505(0x317)]===_0xb3f505(0x1a7)&&_0x166e17['xlink:href']&&(_0x166e17[_0xb3f505(0x19f)]=_0x166e17['xlink:href']+_0x4bcdf9[_0xb3f505(0x294)]),Object[_0xb3f505(0xce)](_0x166e17)['forEach'](function(_0x1efed8){const _0x403f65=_0xb3f505;var _0x4f11a3=_0x1efed8[0x0],_0x4a3e37=_0x1efed8[0x1];typeof _0x4a3e37==_0x403f65(0xa8)&&(_0x166e17[_0x4f11a3]=_0x4a3e37[_0x403f65(0x2ef)](/url\(#(.*)\)/,_0x403f65(0x2fa)[_0x403f65(0x146)](_0x4bcdf9[_0x403f65(0x294)],')')));})),_0x166e17;}function _0x519d26(_0x49240d,_0x58b0f0){const _0x57c5a3=_0x370038;var _0x43f045,_0x1db30f=_0x58b0f0['defIds'];return!_0x1db30f||_0x1db30f[_0x57c5a3(0x217)]===0x0?_0x49240d:_0x49240d['tag']===_0x57c5a3(0x225)&&(!((_0x43f045=_0x49240d[_0x57c5a3(0x2db)])===null||_0x43f045===void 0x0)&&_0x43f045['length'])?_0x57ea05(_0x57ea05({},_0x49240d),{'children':_0x49240d[_0x57c5a3(0x2db)][_0x57c5a3(0x145)](function(_0x57ff92){const _0x163021=_0x57c5a3;return typeof _0x57ff92[_0x163021(0x2fd)]['id']==_0x163021(0xa8)&&_0x1db30f&&_0x1db30f['indexOf'](_0x57ff92['attrs']['id'])>-0x1?_0x57ea05(_0x57ea05({},_0x57ff92),{'attrs':_0x57ea05(_0x57ea05({},_0x57ff92[_0x163021(0x2fd)]),{'id':_0x57ff92['attrs']['id']+_0x58b0f0[_0x163021(0x294)]})}):_0x57ff92;})}):_0x49240d;}function _0x100f87(){const _0x339ab1=_0x370038;return Math[_0x339ab1(0x19d)]()['toString'](0x24)[_0x339ab1(0x115)](0x2,0x8);}_0x3f0215[_0x370038(0x160)]=_0x370038(0x260);var _0x200821={'tag':_0x370038(0xf3),'attrs':{'fill':_0x370038(0x150),'viewBox':'0\x200\x2016\x2016','width':_0x370038(0x1fd),'height':_0x370038(0x1fd)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x370038(0xe0),'attrs':{'stroke':'currentColor','d':_0x370038(0x25d),'strokeLinecap':_0x370038(0xd4),'strokeLinejoin':_0x370038(0xd4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x370038(0x2cc),'attrs':{'id':_0x370038(0x23e)},'children':[{'tag':_0x370038(0xe0),'attrs':{'fill':_0x370038(0xa2),'d':_0x370038(0x191)}}]}]}],'defIds':[_0x370038(0x23e)]},_0x529d4c=_0x4ef87a['forwardRef'](function(_0x39f8f4,_0x38ec81){const _0x387efd=_0x370038;return _0x4ef87a[_0x387efd(0x9c)](_0x3f0215,Object[_0x387efd(0x1de)]({},_0x39f8f4,{'id':_0x387efd(0x8f),'ref':_0x38ec81,'icon':_0x200821}));});_0x529d4c[_0x370038(0x160)]='OffLineSingle';var _0x5b116b={'tag':_0x370038(0xf3),'attrs':{'fill':_0x370038(0x150),'viewBox':_0x370038(0xb3),'width':_0x370038(0x1fd),'height':_0x370038(0x1fd)},'children':[{'tag':'g','attrs':{'clipPath':_0x370038(0x178)},'children':[{'tag':_0x370038(0xe0),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x370038(0xd4),'strokeLinejoin':_0x370038(0xd4),'strokeWidth':1.2}}]},{'tag':_0x370038(0x225),'attrs':{},'children':[{'tag':_0x370038(0x2cc),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x370038(0xe0),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x370038(0x29b)]},_0x534c9d=_0x4ef87a['forwardRef'](function(_0x331022,_0x3e7060){const _0x2b9bf5=_0x370038;return _0x4ef87a[_0x2b9bf5(0x9c)](_0x3f0215,Object[_0x2b9bf5(0x1de)]({},_0x331022,{'id':_0x2b9bf5(0xed),'ref':_0x3e7060,'icon':_0x5b116b}));});_0x534c9d['displayName']=_0x370038(0x194);const _0x44415f={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':'univer-online-status-title','onlineStatus':'univer-online-status','online':_0x370038(0x2b5),'offline':'univer-offline'};function _0x2e4481(_0x32973a){const _0x502f26=_0x370038;switch(_0x32973a){case _0x8aa7fe['CollaborationStatus'][_0x502f26(0x2ce)]:return _0x502f26(0x182);case _0x8aa7fe[_0x502f26(0x23c)]['CONFLICT']:return _0x502f26(0x1b0);case _0x8aa7fe[_0x502f26(0x23c)]['FETCH_MISS']:return _0x502f26(0x130);case _0x8aa7fe[_0x502f26(0x23c)]['NOT_COLLAB']:return _0x502f26(0xb5);case _0x8aa7fe[_0x502f26(0x23c)][_0x502f26(0x199)]:case _0x8aa7fe[_0x502f26(0x23c)][_0x502f26(0x179)]:return _0x502f26(0x2df);case _0x8aa7fe['CollaborationStatus'][_0x502f26(0x233)]:case _0x8aa7fe[_0x502f26(0x23c)][_0x502f26(0x228)]:return'collabStatus.synced';}}function _0x231c3d(_0x3697b3){const _0x37eff8=_0x370038,{status$:_0x22ba3e}=_0x3697b3,_0x288ba9=_0x703c7b[_0x37eff8(0x311)](_0x22ba3e,_0x8aa7fe[_0x37eff8(0x23c)][_0x37eff8(0x243)]),_0x435164=_0x703c7b[_0x37eff8(0x1a3)](_0x3b7abc[_0x37eff8(0x15e)]),_0x494520=_0x703c7b[_0x37eff8(0x1a3)](_0x8aa7fe[_0x37eff8(0x27d)]),_0x41414f=_0x288ba9!==_0x8aa7fe['CollaborationStatus']['OFFLINE'],_0x459345=_0x435164['t'](_0x2e4481(_0x288ba9)),_0x4cc3d7=_0x239e61[_0x37eff8(0xef)](_0x44415f[_0x37eff8(0x18a)],{[_0x44415f[_0x37eff8(0x1e8)]]:_0x41414f,[_0x44415f[_0x37eff8(0x1b5)]]:!_0x41414f}),_0x284a53=_0x41414f?_0x278d0e[_0x37eff8(0x23a)](_0x534c9d,{}):_0x278d0e[_0x37eff8(0x23a)](_0x529d4c,{}),_0x1d14a7=_0x4ef87a['useCallback'](()=>{_0x41414f||_0x494520['reconnect']();},[_0x41414f,_0x494520]);function _0x58634e(){const _0x23bcab=_0x37eff8;return _0x278d0e[_0x23bcab(0x305)](_0x23bcab(0x186),{'className':_0x239e61[_0x23bcab(0xef)](_0x4cc3d7,_0x23bcab(0x267)),'onClick':_0x1d14a7,'children':[_0x278d0e[_0x23bcab(0x23a)](_0x23bcab(0x186),{'className':_0x44415f[_0x23bcab(0x296)],'children':_0x284a53}),_0x278d0e[_0x23bcab(0x23a)](_0x23bcab(0x186),{'className':_0x44415f['onlineStatusTitle'],'children':_0x459345})]});}return _0x41414f?_0x58634e():_0x278d0e[_0x37eff8(0x23a)](_0x239e61[_0x37eff8(0x158)],{'title':_0x435164['t']('collab-client.tooltip.reconnect'),'children':_0x58634e()});}var _0x2daf41=Object['getOwnPropertyDescriptor'],_0x59bc8b=(_0x194483,_0x805f50,_0xa2c09f,_0x229b0a)=>{const _0x157b49=_0x370038;for(var _0xeaefd6=_0x229b0a>0x1?void 0x0:_0x229b0a?_0x2daf41(_0x805f50,_0xa2c09f):_0x805f50,_0x173371=_0x194483[_0x157b49(0x217)]-0x1,_0x53e6f2;_0x173371>=0x0;_0x173371--)(_0x53e6f2=_0x194483[_0x173371])&&(_0xeaefd6=_0x53e6f2(_0xeaefd6)||_0xeaefd6);return _0xeaefd6;},_0x2e9a37=(_0xeff364,_0x1c53e7)=>(_0x599088,_0x21409c)=>_0x1c53e7(_0x599088,_0x21409c,_0xeff364);_0x101ed3[_0x370038(0x25c)]=class extends _0x3b7abc[_0x370038(0x1ba)]{constructor(_0x5cd1fe,_0x54453f,_0x814aa3,_0x20bcbc){const _0x2be58a=_0x370038;super(),_0x424d4e(this,_0x2be58a(0x28a),new _0x1c6d2d[(_0x2be58a(0x2c8))](_0x8aa7fe[_0x2be58a(0x23c)][_0x2be58a(0x243)])),(this[_0x2be58a(0x245)]=_0x5cd1fe,this[_0x2be58a(0x106)]=_0x54453f,this[_0x2be58a(0x172)]=_0x814aa3,this[_0x2be58a(0x248)]=_0x20bcbc,this[_0x2be58a(0x18b)](),this[_0x2be58a(0x27a)]());}[_0x370038(0x27a)](){const _0x25355a=_0x370038;this[_0x25355a(0x131)](this[_0x25355a(0x245)][_0x25355a(0x22b)][_0x25355a(0x2e1)](_0x1c6d2d[_0x25355a(0xbe)](()=>{const _0x26fd8c=_0x25355a,_0x2bc6c9=this[_0x26fd8c(0x245)][_0x26fd8c(0x1dd)]();return _0x2bc6c9?this[_0x26fd8c(0x172)][_0x26fd8c(0x1d2)](_0x2bc6c9[_0x26fd8c(0x2a7)]()):_0x1c6d2d['of'](null);}),_0x1c6d2d[_0x25355a(0xbe)](_0xfc8b6d=>_0xfc8b6d?_0xfc8b6d['status$']:_0x1c6d2d['of'](_0x8aa7fe['CollaborationStatus'][_0x25355a(0x243)])))[_0x25355a(0x2a5)](_0x5d7c51=>{const _0x36abdd=_0x25355a;this[_0x36abdd(0x28a)]['next'](_0x5d7c51);}));}[_0x370038(0x18b)](){const _0x5d4c25=_0x370038;this[_0x5d4c25(0x131)](this[_0x5d4c25(0x248)]['registerComponent'](_0x703c7b[_0x5d4c25(0x1ee)][_0x5d4c25(0x13f)],()=>_0x703c7b[_0x5d4c25(0x13d)](_0xb8c10a({'status$':this[_0x5d4c25(0x28a)][_0x5d4c25(0x2c7)]()}),this['_injector'])));}},_0x101ed3[_0x370038(0x25c)]=_0x59bc8b([_0x2e9a37(0x0,_0x3b7abc['IUniverInstanceService']),_0x2e9a37(0x1,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0x25a)])),_0x2e9a37(0x2,_0x3b7abc[_0x370038(0x30f)](_0x8aa7fe[_0x370038(0x202)])),_0x2e9a37(0x3,_0x703c7b['IUIPartsService'])],_0x101ed3[_0x370038(0x25c)]);function _0xb8c10a(_0x5443f4){const {status$:_0x1edbef}=_0x5443f4;return function(){const _0x32e652=_0x4623;return _0x278d0e[_0x32e652(0x23a)](_0x231c3d,{'status$':_0x1edbef});};}var _0x1657b0=Object['getOwnPropertyDescriptor'],_0x4739f0=(_0x245e20,_0x5235e0,_0x22d270,_0xcaa7ee)=>{for(var _0x4b6454=_0xcaa7ee>0x1?void 0x0:_0xcaa7ee?_0x1657b0(_0x5235e0,_0x22d270):_0x5235e0,_0x2f7d8b=_0x245e20['length']-0x1,_0x441fde;_0x2f7d8b>=0x0;_0x2f7d8b--)(_0x441fde=_0x245e20[_0x2f7d8b])&&(_0x4b6454=_0x441fde(_0x4b6454)||_0x4b6454);return _0x4b6454;},_0x2289b0=(_0x598cc9,_0x3abeec)=>(_0xc1dda0,_0xbb2672)=>_0x3abeec(_0xc1dda0,_0xbb2672,_0x598cc9);let _0x3aa657=class extends _0x3b7abc['Disposable']{constructor(_0x158b4a,_0x24b348,_0x1e3111,_0x3d1375,_0xa3f617,_0x1692e9){const _0x3de56f=_0x370038;super(),this[_0x3de56f(0x26c)]=_0x158b4a,this[_0x3de56f(0x1bd)]=_0x24b348,this['_collaborationUIEventService']=_0x1e3111,this['_messageService']=_0x3d1375,this[_0x3de56f(0x113)]=_0xa3f617,this[_0x3de56f(0x210)]=_0x1692e9,this[_0x3de56f(0x103)](),this[_0x3de56f(0x1b4)]();}[_0x370038(0x103)](){const _0xba6c0e=_0x370038;this[_0xba6c0e(0x131)](this[_0xba6c0e(0x26c)]['registerBeforeClose'](()=>{const _0x282617=_0xba6c0e;if(this['_localCacheService'][_0x282617(0xaa)][_0x282617(0x21d)])return this[_0x282617(0x210)]['t'](_0x282617(0xcf));}));}['_initEvent'](){const _0x6b8252=_0x370038;this['disposeWithMe'](this['_collaborationUIEventService'][_0x6b8252(0x2b0)][_0x6b8252(0x2a5)](_0x4204ec=>{const _0x367e4a=_0x6b8252;_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x367e4a(0x2b2)]({'type':_0x239e61[_0x367e4a(0xee)][_0x367e4a(0x1ca)],'content':this[_0x367e4a(0x210)]['t'](_0x367e4a(0xb8))}),_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)][_0x367e4a(0xd5)]&&this[_0x367e4a(0x28c)][_0x367e4a(0x2b2)]({'type':_0x239e61['MessageType']['Warning'],'content':this[_0x367e4a(0x210)]['t'](_0x367e4a(0x148))}),_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)][_0x367e4a(0x263)]&&this[_0x367e4a(0x113)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x367e4a(0x210)]['t'](_0x367e4a(0x2d1)),'type':_0x367e4a(0x1fe),'duration':0x0}),_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)][_0x367e4a(0x2d6)]&&this[_0x367e4a(0x28c)][_0x367e4a(0x2b2)]({'type':_0x239e61[_0x367e4a(0xee)][_0x367e4a(0xcb)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4204ec['data']+')'}),_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)][_0x367e4a(0xfd)]&&this[_0x367e4a(0x28c)][_0x367e4a(0x2b2)]({'type':_0x239e61[_0x367e4a(0xee)][_0x367e4a(0x1ca)],'content':this['_localeService']['t'](_0x4204ec[_0x367e4a(0x2d9)]||'')}),_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)][_0x367e4a(0xc9)]&&this[_0x367e4a(0x28c)]['show']({'type':_0x239e61[_0x367e4a(0xee)][_0x367e4a(0x1ca)],'content':this[_0x367e4a(0x210)]['t'](_0x367e4a(0x241))}),_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)]['SOCKET_FAILED']&&this[_0x367e4a(0x28c)]['show']({'type':_0x239e61[_0x367e4a(0xee)][_0x367e4a(0xcb)],'content':this[_0x367e4a(0x210)]['t'](_0x367e4a(0xca))}),_0x4204ec['id']===_0x8aa7fe[_0x367e4a(0xe3)][_0x367e4a(0x303)]&&this[_0x367e4a(0x28c)][_0x367e4a(0x2b2)]({'type':_0x239e61[_0x367e4a(0xee)][_0x367e4a(0xcb)],'content':this['_localeService']['t'](_0x367e4a(0x16a))});}));}};_0x3aa657=_0x4739f0([_0x2289b0(0x0,_0x703c7b[_0x370038(0x20a)]),_0x2289b0(0x1,_0x8aa7fe['ILocalCacheService']),_0x2289b0(0x2,_0x3b7abc[_0x370038(0x30f)](_0x8aa7fe[_0x370038(0x1ff)])),_0x2289b0(0x3,_0x703c7b[_0x370038(0x14d)]),_0x2289b0(0x4,_0x703c7b[_0x370038(0x12c)]),_0x2289b0(0x5,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc['LocaleService']))],_0x3aa657);const _0x3a5753=_0x370038(0x19a),_0x1b4515={},_0x57259f=_0x3b7abc[_0x370038(0xf4)](_0x370038(0x227));var _0x3bb090=Object[_0x370038(0x1c5)],_0x553d04=(_0xee258f,_0x19222c,_0x5bf4b1,_0x479599)=>{const _0x58bcc3=_0x370038;for(var _0xe2e229=_0x479599>0x1?void 0x0:_0x479599?_0x3bb090(_0x19222c,_0x5bf4b1):_0x19222c,_0x444575=_0xee258f[_0x58bcc3(0x217)]-0x1,_0x51670c;_0x444575>=0x0;_0x444575--)(_0x51670c=_0xee258f[_0x444575])&&(_0xe2e229=_0x51670c(_0xe2e229)||_0xe2e229);return _0xe2e229;},_0xd3bee3=(_0x50e232,_0x31a7e9)=>(_0x8013bf,_0x574b0f)=>_0x31a7e9(_0x8013bf,_0x574b0f,_0x50e232);_0x101ed3[_0x370038(0x1a0)]=class extends _0x3b7abc[_0x370038(0x2e4)]{constructor(_0x23356f,_0x4e56a4,_0x23cfe7,_0x3fe6cd,_0x4a960a){const _0x10de9a=_0x370038;super(),this[_0x10de9a(0xc8)]=_0x23356f,this[_0x10de9a(0x29d)]=_0x4e56a4,this[_0x10de9a(0x1c3)]=_0x23cfe7,this['_dataLoaderService']=_0x3fe6cd,_0x4a960a?_0x4a960a==null||_0x4a960a[_0x10de9a(0x2b7)]()[_0x10de9a(0x1d6)](()=>this[_0x10de9a(0x21a)]()):(this[_0x10de9a(0x29d)][_0x10de9a(0x23f)]('[CollaborationDataLoaderController]',_0x10de9a(0x156)),this['_init']());}async['_init'](){const _0x3c9b91=_0x370038,_0x23cc08=this['_urlService']['getParam'](_0x3c9b91(0x2ec)),_0x5cd768=this[_0x3c9b91(0xc8)]['getParam'](_0x3c9b91(0x1b9)),_0x1904d8=this['_urlService'][_0x3c9b91(0xab)](_0x3c9b91(0x107));if(!_0x23cc08||!_0x5cd768){this[_0x3c9b91(0x29d)][_0x3c9b91(0x23f)](_0x3c9b91(0x121),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x52085b=await this[_0x3c9b91(0x219)][_0x3c9b91(0x29f)](_0x23cc08,Number(_0x5cd768),_0x1904d8);_0x52085b&&_0x52085b instanceof _0x3b7abc['Workbook']&&this['_setupSubUnitSync'](_0x52085b);}async[_0x370038(0x1f6)](_0xa422b3){const _0x515b79=_0x370038;await this[_0x515b79(0x1f1)](_0xa422b3),_0xa422b3[_0x515b79(0x17d)]['pipe'](_0x1c6d2d[_0x515b79(0x1eb)](this['dispose$']))[_0x515b79(0x2a5)](_0x49c38d=>{const _0x3dcb36=_0x515b79;_0x49c38d&&this[_0x3dcb36(0x155)](_0x49c38d);}),this[_0x515b79(0xc8)][_0x515b79(0x98)][_0x515b79(0x2e1)](_0x1c6d2d['takeUntil'](this[_0x515b79(0x221)]))[_0x515b79(0x2a5)](()=>this[_0x515b79(0x1f1)](_0xa422b3));}['_updateURLWithCurrentState'](_0x2c5275,_0xa8a724=!0x1){const _0x35d9c1=_0x370038,_0x4cdf5e=this[_0x35d9c1(0xc8)][_0x35d9c1(0xab)](_0x35d9c1(0x107));_0x2c5275[_0x35d9c1(0x281)]()!==_0x4cdf5e&&this['_urlService'][_0x35d9c1(0x1f3)](_0x35d9c1(0x107),_0x2c5275[_0x35d9c1(0x281)](),_0xa8a724);}async['_updateSubUnitFromURLParams'](_0x24fc75){const _0x156af6=_0x370038;var _0x5e8584;const _0x51318c=this[_0x156af6(0xc8)][_0x156af6(0xab)](_0x156af6(0x107));if(!_0x51318c||!_0x24fc75[_0x156af6(0x29a)](_0x51318c)){const _0xea7fd6=_0x24fc75[_0x156af6(0xd7)]()[0x0],_0x2fc845=_0x24fc75['getSheetBySheetId'](_0xea7fd6);if(!_0x2fc845)return;this[_0x156af6(0x155)](_0x2fc845,!0x0),await this[_0x156af6(0x1c3)][_0x156af6(0x11e)](_0xe5ec9['SetWorksheetActivateCommand']['id'],{'unitId':_0x24fc75[_0x156af6(0x2a7)](),'subUnitId':_0xea7fd6});return;}((_0x5e8584=_0x24fc75[_0x156af6(0xc0)]())==null?void 0x0:_0x5e8584[_0x156af6(0x281)]())!==_0x51318c&&await this[_0x156af6(0x1c3)][_0x156af6(0x11e)](_0xe5ec9[_0x156af6(0x167)]['id'],{'unitId':_0x24fc75[_0x156af6(0x2a7)](),'subUnitId':_0x51318c});}},_0x101ed3[_0x370038(0x1a0)]=_0x553d04([_0xd3bee3(0x0,_0x57259f),_0xd3bee3(0x1,_0x3b7abc['ILogService']),_0xd3bee3(0x2,_0x3b7abc[_0x370038(0x2be)]),_0xd3bee3(0x3,_0x3b7abc[_0x370038(0x30f)](_0x8aa7fe['DataLoaderService'])),_0xd3bee3(0x4,_0x3b7abc[_0x370038(0x174)](_0x51424e[_0x370038(0x1f0)]))],_0x101ed3['CollaborationDataLoaderController']);var _0x51d4ac=Object[_0x370038(0x1c5)],_0x447d86=(_0x5377b2,_0x205860,_0x2389a4,_0x2f5a71)=>{const _0x43dd74=_0x370038;for(var _0x1d1ac4=_0x2f5a71>0x1?void 0x0:_0x2f5a71?_0x51d4ac(_0x205860,_0x2389a4):_0x205860,_0x3c2a27=_0x5377b2[_0x43dd74(0x217)]-0x1,_0x919edd;_0x3c2a27>=0x0;_0x3c2a27--)(_0x919edd=_0x5377b2[_0x3c2a27])&&(_0x1d1ac4=_0x919edd(_0x1d1ac4)||_0x1d1ac4);return _0x1d1ac4;},_0x505138=(_0x1aac72,_0x548e83)=>(_0x4cc375,_0x41eade)=>_0x548e83(_0x4cc375,_0x41eade,_0x1aac72);let _0x5e5a28=class{constructor(_0x1ab5d9,_0x43e4e6,_0x5c6066){const _0x53c87c=_0x370038;this[_0x53c87c(0x106)]=_0x1ab5d9,this[_0x53c87c(0x136)]=_0x43e4e6,this[_0x53c87c(0x1a8)]=_0x5c6066;}[_0x370038(0x1e9)](_0x1fc7ef){const _0x166156=_0x370038;this[_0x166156(0x16e)](_0x1fc7ef),this[_0x166156(0xa6)](_0x1fc7ef);}[_0x370038(0x273)](_0xff04b8){const _0x59f505=_0x370038,{unitID:_0x37b51c}=_0xff04b8,_0x1c1f0d=this[_0x59f505(0x1a8)][_0x59f505(0xb2)](_0x37b51c)[_0x59f505(0x112)](_0x13a602[_0x59f505(0xdd)]),{redoCache:_0x226fa9}=_0x1c1f0d[_0x59f505(0x304)]();if(_0x226fa9[_0x59f505(0x217)]===0x0)return _0xff04b8;let _0x31d5b8=_0x3b7abc[_0x59f505(0xf2)]['deepClone'](_0xff04b8[_0x59f505(0x9d)][0x0]);for(let _0x484abe=0x0;_0x484abe<_0x226fa9[_0x59f505(0x217)];_0x484abe++){const _0x1be530={'id':_0x59f505(0x1c9),'params':{..._0x226fa9[_0x484abe]}},_0x494b2a=this['_transformService'][_0x59f505(0x154)](_0x31d5b8,_0x1be530,!0x1);if(_0xe850af[_0x59f505(0x17f)](_0x494b2a))throw _0x494b2a[_0x59f505(0x1fe)];_0x31d5b8=_0x494b2a['m1Prime'];}return{..._0x3b7abc[_0x59f505(0xf2)][_0x59f505(0x126)](_0xff04b8),'mutations':[_0x31d5b8]};}[_0x370038(0x16e)](_0x2ce653){const _0x174485=_0x370038,{unitID:_0x3fc381}=_0x2ce653,_0x2282ea=this['_renderManagerService']['getRenderById'](_0x3fc381)[_0x174485(0x112)](_0x13a602[_0x174485(0xdd)]),{undoCache:_0x4f8ed8,redoCache:_0x1eea2f}=_0x2282ea[_0x174485(0x304)]();if(_0x4f8ed8[_0x174485(0x217)]===0x0||_0x1eea2f[_0x174485(0x217)]===0x0)return;const _0x1fc6c9=[],_0x154e0f=[];let _0x16f7d1=_0x3b7abc[_0x174485(0xf2)][_0x174485(0x126)](_0x2ce653[_0x174485(0x9d)][0x0]),_0x3ccc46=_0x3b7abc[_0x174485(0xf2)][_0x174485(0x126)](_0x2ce653[_0x174485(0x9d)][0x0]);for(let _0x1a6271=_0x4f8ed8[_0x174485(0x217)]-0x1;_0x1a6271>=0x0;_0x1a6271--){const _0x25412a={'id':'doc.mutation.rich-text-editing','params':{..._0x4f8ed8[_0x1a6271]}},_0x27d3f7={'id':_0x174485(0x1c9),'params':{..._0x1eea2f[_0x1a6271]}},_0x3df46a=this[_0x174485(0x136)]['transformMutation'](_0x16f7d1,_0x25412a,!0x1),_0x172b29=this['_transformService']['transformMutation'](_0x3ccc46,_0x27d3f7,!0x1);if(_0xe850af[_0x174485(0x17f)](_0x3df46a))throw _0x3df46a['error'];if(_0xe850af[_0x174485(0x17f)](_0x172b29))throw _0x172b29[_0x174485(0x1fe)];_0x1fc6c9[_0x174485(0x1ae)](_0x3df46a[_0x174485(0x151)]['params']),_0x154e0f[_0x174485(0x1ae)](_0x172b29[_0x174485(0x151)][_0x174485(0x2f4)]),_0x16f7d1=_0x3df46a[_0x174485(0x124)],_0x3ccc46=_0x172b29[_0x174485(0x124)];}_0x2282ea[_0x174485(0x2a6)]({'undoCache':_0x1fc6c9,'redoCache':_0x154e0f});}['_transformPreviousActiveRange'](_0x18a596){const _0x11faf7=_0x370038,{unitID:_0x5823bc}=_0x18a596,_0x10bf1a=this[_0x11faf7(0x1a8)][_0x11faf7(0xb2)](_0x5823bc)['with'](_0x13a602[_0x11faf7(0xdd)]),_0x3dd592=_0x10bf1a[_0x11faf7(0x110)]();if(_0x3dd592==null)return;const _0xb14fc6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18a596[_0x11faf7(0x16b)],'actions':null,'textRanges':[_0x3dd592]}}],_0x394725=this[_0x11faf7(0x136)][_0x11faf7(0x11d)](_0x18a596,_0xb14fc6);if(!_0xe850af[_0x11faf7(0x222)](_0x394725))throw _0x394725[_0x11faf7(0x1fe)];const _0x3ca052=_0x394725[_0x11faf7(0x151)][0x0][_0x11faf7(0x2f4)][_0x11faf7(0x10f)];Array['isArray'](_0x3ca052)&&_0x3ca052[_0x11faf7(0x217)]&&_0x10bf1a['setActiveRange'](_0x3ca052[0x0]);}};_0x5e5a28=_0x447d86([_0x505138(0x0,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc['Injector'])),_0x505138(0x1,_0xe850af['ITransformService']),_0x505138(0x2,_0x151133[_0x370038(0x283)])],_0x5e5a28);var _0x28bd66=Object['getOwnPropertyDescriptor'],_0x1509bf=(_0x40fe02,_0x29a774,_0x33c041,_0x5add3b)=>{const _0x5551b7=_0x370038;for(var _0x419be7=_0x5add3b>0x1?void 0x0:_0x5add3b?_0x28bd66(_0x29a774,_0x33c041):_0x29a774,_0x41590c=_0x40fe02[_0x5551b7(0x217)]-0x1,_0x286020;_0x41590c>=0x0;_0x41590c--)(_0x286020=_0x40fe02[_0x41590c])&&(_0x419be7=_0x286020(_0x419be7)||_0x419be7);return _0x419be7;},_0x4a0920=(_0x371993,_0x23d8a0)=>(_0x3b10ac,_0x2c4521)=>_0x23d8a0(_0x3b10ac,_0x2c4521,_0x371993);let _0x544dea=class{constructor(_0x1f444b,_0x1d3b6b,_0x54a8b1){const _0x461c1d=_0x370038;this[_0x461c1d(0x106)]=_0x1f444b,this[_0x461c1d(0x136)]=_0x1d3b6b,this[_0x461c1d(0x271)]=_0x54a8b1;}[_0x370038(0x16f)](_0xc2df84){const _0x19c60d=_0x370038;this[_0x19c60d(0x173)](_0xc2df84);}[_0x370038(0x273)](_0xe7426b){const _0x392fcc=_0x370038,{unitID:_0x1826ca}=_0xe7426b,{collaboration:_0x492f00}=this[_0x392fcc(0x271)][_0x392fcc(0x196)](_0x1826ca);if(_0x492f00[_0x392fcc(0x217)]===0x0)return _0xe7426b;let _0x30c160=_0x3b7abc[_0x392fcc(0xf2)]['deepClone'](_0xe7426b['mutations'][0x0]);for(let _0x1ade94=0x0;_0x1ade94<_0x492f00[_0x392fcc(0x217)];_0x1ade94++){const _0x1b54c1={'id':_0x392fcc(0x1c9),'params':{'unitId':_0x492f00[_0x1ade94][_0x392fcc(0x237)],..._0x492f00[_0x1ade94]['redoState']}},_0x537658=this['_transformService']['transformMutation'](_0x30c160,_0x1b54c1,!0x1);if(_0xe850af[_0x392fcc(0x17f)](_0x537658))throw _0x537658[_0x392fcc(0x1fe)];_0x30c160=_0x537658[_0x392fcc(0x124)];}return{..._0x3b7abc[_0x392fcc(0xf2)][_0x392fcc(0x126)](_0xe7426b),'mutations':[_0x30c160]};}[_0x370038(0x173)](_0x194e7f){const _0x498001=_0x370038,{unitID:_0xc35f5b}=_0x194e7f,{history:_0x4d76ea,collaboration:_0x23eb48}=this[_0x498001(0x271)][_0x498001(0x196)](_0xc35f5b);if(_0x4d76ea[_0x498001(0x217)]===0x0&&_0x23eb48['length']===0x0)return;const _0x53f69b=[],_0x5b6631=[];let _0x5db0d8=_0x3b7abc[_0x498001(0xf2)][_0x498001(0x126)](_0x194e7f[_0x498001(0x9d)][0x0]),_0xc5dca1=_0x3b7abc[_0x498001(0xf2)][_0x498001(0x126)](_0x194e7f['mutations'][0x0]);for(let _0x4f8696=_0x4d76ea[_0x498001(0x217)]-0x1;_0x4f8696>=0x0;_0x4f8696--){const _0x14f733={'id':_0x498001(0x1c9),'params':{'unitId':_0x4d76ea[_0x4f8696][_0x498001(0x237)],..._0x4d76ea[_0x4f8696][_0x498001(0xb0)]}},_0x346fe1={'id':_0x498001(0x1c9),'params':{'unitId':_0x4d76ea[_0x4f8696][_0x498001(0x237)],..._0x4d76ea[_0x4f8696][_0x498001(0x1b8)]}},_0x37d144=this[_0x498001(0x136)][_0x498001(0x154)](_0x5db0d8,_0x14f733,!0x1),_0x19f277=this['_transformService']['transformMutation'](_0xc5dca1,_0x346fe1,!0x1);if(_0xe850af[_0x498001(0x17f)](_0x37d144))throw _0x37d144['error'];if(_0xe850af[_0x498001(0x17f)](_0x19f277))throw _0x19f277[_0x498001(0x1fe)];_0x53f69b[_0x498001(0x1ae)]({..._0x4d76ea[_0x4f8696],'undoState':_0x37d144[_0x498001(0x151)][_0x498001(0x2f4)],'redoState':_0x19f277['m2Prime']['params']}),_0x5db0d8=_0x37d144[_0x498001(0x124)],_0xc5dca1=_0x19f277[_0x498001(0x124)];}_0x5db0d8=_0x3b7abc[_0x498001(0xf2)][_0x498001(0x126)](_0x194e7f[_0x498001(0x9d)][0x0]),_0xc5dca1=_0x3b7abc[_0x498001(0xf2)]['deepClone'](_0x194e7f[_0x498001(0x9d)][0x0]);for(let _0x567e02=_0x23eb48[_0x498001(0x217)]-0x1;_0x567e02>=0x0;_0x567e02--){const _0x2b3c01={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23eb48[_0x567e02]['unitId'],..._0x23eb48[_0x567e02][_0x498001(0xb0)]}},_0x12f79c={'id':_0x498001(0x1c9),'params':{'unitId':_0x23eb48[_0x567e02][_0x498001(0x237)],..._0x23eb48[_0x567e02]['redoState']}},_0x2e03fd=this[_0x498001(0x136)]['transformMutation'](_0x5db0d8,_0x2b3c01,!0x1),_0x4f4c4a=this[_0x498001(0x136)][_0x498001(0x154)](_0xc5dca1,_0x12f79c,!0x1);if(_0xe850af['isTransformMutationFailure'](_0x2e03fd))throw _0x2e03fd['error'];if(_0xe850af['isTransformMutationFailure'](_0x4f4c4a))throw _0x4f4c4a[_0x498001(0x1fe)];_0x5b6631[_0x498001(0x1ae)]({..._0x23eb48[_0x567e02],'undoState':_0x2e03fd[_0x498001(0x151)][_0x498001(0x2f4)],'redoState':_0x4f4c4a['m2Prime'][_0x498001(0x2f4)]}),_0x5db0d8=_0x2e03fd['m1Prime'],_0xc5dca1=_0x4f4c4a[_0x498001(0x124)];}this['_docStateChangeManagerService'][_0x498001(0x2e5)](_0xc35f5b,{'history':_0x53f69b,'collaboration':_0x5b6631});}};_0x544dea=_0x1509bf([_0x4a0920(0x0,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0x25a)])),_0x4a0920(0x1,_0xe850af[_0x370038(0x284)]),_0x4a0920(0x2,_0x3b7abc[_0x370038(0x30f)](_0x13a602['DocStateChangeManagerService']))],_0x544dea);var _0x31ac82=Object['getOwnPropertyDescriptor'],_0x46548f=(_0x1add05,_0x232ddc,_0x18b77a,_0x585dfd)=>{const _0x491b05=_0x370038;for(var _0x42c24c=_0x585dfd>0x1?void 0x0:_0x585dfd?_0x31ac82(_0x232ddc,_0x18b77a):_0x232ddc,_0x520bc9=_0x1add05[_0x491b05(0x217)]-0x1,_0x7f42d9;_0x520bc9>=0x0;_0x520bc9--)(_0x7f42d9=_0x1add05[_0x520bc9])&&(_0x42c24c=_0x7f42d9(_0x42c24c)||_0x42c24c);return _0x42c24c;},_0x27130f=(_0x4a50a9,_0x24d45b)=>(_0x442054,_0x3167b3)=>_0x24d45b(_0x442054,_0x3167b3,_0x4a50a9);let _0x505467=class{constructor(_0x16829a,_0x318f0e){const _0x4a0858=_0x370038;this['_injector']=_0x16829a,this[_0x4a0858(0x136)]=_0x318f0e;}[_0x370038(0x17b)](_0x2ef625){const _0x178f04=_0x370038;var _0x41a8e6;const _0x3ce70a=this[_0x178f04(0x106)][_0x178f04(0x2b9)](_0x195889[_0x178f04(0xc3)]),_0x5bca86=(_0x41a8e6=_0x3ce70a[_0x178f04(0x314)]())!=null?_0x41a8e6:[];if(_0x5bca86[_0x178f04(0x217)]===0x0)return;const _0x51bcdc=_0x2ef625[_0x178f04(0x16b)],_0x6e0aba=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51bcdc,'actions':null,'textRanges':_0x5bca86}}],_0x3a5ee8=this[_0x178f04(0x136)]['transformMutationsWithChangeset'](_0x2ef625,_0x6e0aba);if(!_0xe850af[_0x178f04(0x222)](_0x3a5ee8))throw _0x3a5ee8[_0x178f04(0x1fe)];const _0x30b8a5=_0x3a5ee8[_0x178f04(0x151)][0x0][_0x178f04(0x2f4)][_0x178f04(0x10f)];Array[_0x178f04(0x247)](_0x30b8a5)&&_0x30b8a5['length']&&_0x3ce70a[_0x178f04(0x295)](_0x30b8a5,{'unitId':_0x51bcdc,'subUnitId':_0x51bcdc},!0x1);}};_0x505467=_0x46548f([_0x27130f(0x0,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0x25a)])),_0x27130f(0x1,_0xe850af[_0x370038(0x284)])],_0x505467);var _0x4cd70d=Object['getOwnPropertyDescriptor'],_0x5ea149=(_0x4de869,_0x115b50,_0x491b87,_0x202b86)=>{const _0x2aff4c=_0x370038;for(var _0x36afce=_0x202b86>0x1?void 0x0:_0x202b86?_0x4cd70d(_0x115b50,_0x491b87):_0x115b50,_0x1b2c5e=_0x4de869[_0x2aff4c(0x217)]-0x1,_0x300711;_0x1b2c5e>=0x0;_0x1b2c5e--)(_0x300711=_0x4de869[_0x1b2c5e])&&(_0x36afce=_0x300711(_0x36afce)||_0x36afce);return _0x36afce;},_0x13dff4=(_0x4e13da,_0x3cc0bf)=>(_0x3e1708,_0xaf0cee)=>_0x3cc0bf(_0x3e1708,_0xaf0cee,_0x4e13da);let _0x10a044=class extends _0x3b7abc[_0x370038(0x1ba)]{constructor(_0x22b2ef,_0x281d3,_0x37c683,_0x2ab5ab,_0x3c2481,_0x181225,_0x3fe48a,_0x36e50e){const _0x3b94e3=_0x370038;super(),_0x424d4e(this,_0x3b94e3(0x28a),new _0x1c6d2d['BehaviorSubject'](_0x8aa7fe['CollaborationStatus'][_0x3b94e3(0x243)])),(this[_0x3b94e3(0x271)]=_0x22b2ef,this['_collaborationController']=_0x281d3,this['_docTransformIMECacheService']=_0x37c683,this[_0x3b94e3(0x1f4)]=_0x2ab5ab,this[_0x3b94e3(0x189)]=_0x3c2481,this[_0x3b94e3(0xa0)]=_0x181225,this[_0x3b94e3(0x28c)]=_0x3fe48a,this[_0x3b94e3(0x210)]=_0x36e50e,this[_0x3b94e3(0x141)]());}[_0x370038(0x141)](){const _0x5dcd93=_0x370038;this['disposeWithMe'](this[_0x5dcd93(0x172)][_0x5dcd93(0x175)][_0x5dcd93(0x2a5)](_0x251ecb=>{const _0x373cfc=_0x5dcd93,_0x56da20=this[_0x373cfc(0x271)][_0x373cfc(0xfb)][_0x373cfc(0x2a5)](_0x1e4eae=>{const _0x4eb9c1=_0x373cfc;if(_0x1e4eae==null)return;const {unitId:_0x28d56e,redoState:_0x3f2811,commandId:_0x23620d}=_0x1e4eae;if(_0x28d56e!==_0x251ecb[_0x4eb9c1(0x16b)])return;const _0x364d4e={'id':_0x23620d,'type':_0x3b7abc[_0x4eb9c1(0x2fe)][_0x4eb9c1(0xff)],'params':{'unitId':_0x28d56e,'actions':_0x3f2811[_0x4eb9c1(0x1f8)],'textRanges':null}};_0x251ecb[_0x4eb9c1(0x261)](_0x364d4e);});if(_0x251ecb[_0x373cfc(0x131)](_0x56da20),_0x251ecb instanceof _0x8aa7fe['DocCollaborationEntity']){const _0x1f29fb={'onTransformIME':_0x2760b3=>this[_0x373cfc(0xc1)][_0x373cfc(0x1e9)](_0x2760b3),'onTransformState':_0x563092=>this['_docTransformStateCacheService'][_0x373cfc(0x16f)](_0x563092),'onTransformSelections':_0x4c1ef0=>this[_0x373cfc(0x189)][_0x373cfc(0x17b)](_0x4c1ef0),'onSyncEditingCollabCursor':_0x106e28=>this[_0x373cfc(0xa0)][_0x373cfc(0x2c6)](_0x106e28),'onTransformRemoteChangesetByIMECache':_0x42a6ac=>this[_0x373cfc(0xc1)]['transformRemoteChangeset'](_0x42a6ac),'onTransformRemoteChangesetByStateCache':_0x1dc3ee=>this[_0x373cfc(0x1f4)][_0x373cfc(0x273)](_0x1dc3ee)};_0x251ecb['addHandlerCallback'](_0x1f29fb);}}));}};_0x10a044=_0x5ea149([_0x13dff4(0x0,_0x3b7abc['Inject'](_0x13a602[_0x370038(0x2fc)])),_0x13dff4(0x1,_0x3b7abc[_0x370038(0x30f)](_0x8aa7fe[_0x370038(0x202)])),_0x13dff4(0x2,_0x3b7abc[_0x370038(0x30f)](_0x5e5a28)),_0x13dff4(0x3,_0x3b7abc['Inject'](_0x544dea)),_0x13dff4(0x4,_0x3b7abc['Inject'](_0x505467)),_0x13dff4(0x5,_0x3b7abc['Inject'](_0x316abe)),_0x13dff4(0x6,_0x703c7b[_0x370038(0x14d)]),_0x13dff4(0x7,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc[_0x370038(0x15e)]))],_0x10a044);var _0x59ee09=Object[_0x370038(0x1c5)],_0x31f0a8=(_0x5c7825,_0x5a3fa0,_0x3d9168,_0x2dd3e4)=>{for(var _0x1963e0=_0x2dd3e4>0x1?void 0x0:_0x2dd3e4?_0x59ee09(_0x5a3fa0,_0x3d9168):_0x5a3fa0,_0x3512aa=_0x5c7825['length']-0x1,_0x25860c;_0x3512aa>=0x0;_0x3512aa--)(_0x25860c=_0x5c7825[_0x3512aa])&&(_0x1963e0=_0x25860c(_0x1963e0)||_0x1963e0);return _0x1963e0;},_0x53e62e=(_0x1f2842,_0x364bec)=>(_0x4dc130,_0x242ae3)=>_0x364bec(_0x4dc130,_0x242ae3,_0x1f2842);let _0x54db2b=class extends _0x3b7abc[_0x370038(0x1ba)]{constructor(_0x8604b1,_0x2ddd91,_0x24f41e){const _0x3853d9=_0x370038;super(),_0x424d4e(this,_0x3853d9(0x250),new Map()),_0x424d4e(this,'_saveTaskMap',new Map()),_0x424d4e(this,_0x3853d9(0x244),!0x1),(this[_0x3853d9(0x9f)]=_0x8604b1,this[_0x3853d9(0x297)]=_0x2ddd91,this['_revisionService']=_0x24f41e);}[_0x370038(0x1a9)](){const _0x4595e7=_0x370038;this[_0x4595e7(0x244)]=!0x0;}[_0x370038(0x27f)](){this['_disabled']=!0x1;}get[_0x370038(0xaa)](){const _0x316ef0=_0x370038;return this[_0x316ef0(0x1e4)];}[_0x370038(0x274)](){const _0x24808a=_0x370038;this[_0x24808a(0xb7)]()['then'](()=>super[_0x24808a(0x274)]());}async[_0x370038(0x2ed)](_0x3203a4){const _0x1916f2=_0x370038;return this[_0x1916f2(0x244)]?null:this[_0x1916f2(0x297)][_0x1916f2(0x1c4)](_0x8aa7fe[_0x1916f2(0x282)](_0x3203a4));}async[_0x370038(0x2c9)](_0x515de1,_0x5a5cc7){const _0x1fc46c=_0x370038;return!!this[_0x1fc46c(0x297)][_0x1fc46c(0x28e)](_0x515de1,_0x5a5cc7);}[_0x370038(0x97)](_0x586188,_0x53342b,_0x3061aa,_0x34e9fe){const _0x5e8046=_0x370038,_0xf2901=this[_0x5e8046(0x1b1)][_0x5e8046(0x13e)](_0x586188);this[_0x5e8046(0x250)][_0x5e8046(0x2f6)](_0x586188,{'unitID':_0x586188,'type':_0x53342b,'awaitingChangeset':_0x3061aa,'mutations':_0x34e9fe,'rev':_0xf2901}),this[_0x5e8046(0x1e4)]['has'](_0x586188)||this[_0x5e8046(0x2da)](_0x586188);}[_0x370038(0x2da)](_0x7f4a40){const _0x2f262e=_0x370038,_0x3ec29c=this[_0x2f262e(0xdb)]();_0x3ec29c===0x0?this[_0x2f262e(0x20d)](_0x7f4a40):this[_0x2f262e(0x1e4)][_0x2f262e(0x2f6)](_0x7f4a40,setTimeout(()=>this[_0x2f262e(0x20d)](_0x7f4a40),_0x3ec29c));}[_0x370038(0xdb)](){const _0x1bf4c3=_0x370038;var _0xea39f4;return(_0xea39f4=this[_0x1bf4c3(0x9f)]['getConfig'](_0x8aa7fe['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xea39f4:_0x8aa7fe[_0x1bf4c3(0x9a)];}[_0x370038(0x20d)](_0x52ce34){const _0x4c8106=_0x370038,_0x5be49b=this[_0x4c8106(0x1e4)][_0x4c8106(0x2b9)](_0x52ce34);return _0x5be49b!==void 0x0&&window['clearTimeout'](_0x5be49b),this[_0x4c8106(0x297)][_0x4c8106(0x28e)](_0x8aa7fe[_0x4c8106(0x282)](_0x52ce34),this[_0x4c8106(0x250)][_0x4c8106(0x2b9)](_0x52ce34))[_0x4c8106(0x1d6)](()=>this[_0x4c8106(0x1e4)]['delete'](_0x52ce34));}async[_0x370038(0xb7)](){const _0x36d7e7=_0x370038,_0x2fcfde=[];this[_0x36d7e7(0x1e4)][_0x36d7e7(0xf9)]((_0x31bc0c,_0x3cc4b)=>{const _0x3247c1=_0x36d7e7;window[_0x3247c1(0x137)](_0x31bc0c),_0x2fcfde[_0x3247c1(0xc5)](this[_0x3247c1(0x20d)](_0x3cc4b)[_0x3247c1(0x1d6)](()=>{const _0x5301b7=_0x3247c1;this[_0x5301b7(0x1e4)]['delete'](_0x3cc4b);}));}),await Promise['all'](_0x2fcfde);}};_0x54db2b=_0x31f0a8([_0x53e62e(0x0,_0x3b7abc[_0x370038(0x180)]),_0x53e62e(0x1,_0x3b7abc[_0x370038(0x290)]),_0x53e62e(0x2,_0x3b7abc['Inject'](_0xe850af[_0x370038(0x29e)]))],_0x54db2b);class _0x35876d extends _0x3b7abc['RxDisposable']{constructor(){const _0x5d9381=_0x370038;super(),_0x424d4e(this,_0x5d9381(0x98)),this[_0x5d9381(0x98)]=_0x1c6d2d[_0x5d9381(0x2e3)](window,_0x5d9381(0x254))[_0x5d9381(0x2e1)](_0x1c6d2d[_0x5d9381(0x1eb)](this[_0x5d9381(0x221)]),_0x1c6d2d[_0x5d9381(0x1c1)](0x1),_0x1c6d2d[_0x5d9381(0x15a)](void 0x0));}['setParam'](_0x314673,_0x50bb62,_0x5c4b4c=!0x1){const _0x551906=_0x370038,_0xa917a5=new URL(window['location']['href']);_0xa917a5[_0x551906(0x184)][_0x551906(0x2f6)](_0x314673,_0x50bb62),_0x5c4b4c?window[_0x551906(0x99)][_0x551906(0x30e)]('','',_0xa917a5[_0x551906(0x21e)]()):window[_0x551906(0x99)][_0x551906(0xdc)]('','',_0xa917a5[_0x551906(0x21e)]());}[_0x370038(0x1fa)](_0x1fd7e1,_0x10ccf7=!0x1){const _0xe0def6=_0x370038,_0x3f5aea=new URL(window['location'][_0xe0def6(0x21b)]);_0x3f5aea[_0xe0def6(0x184)][_0xe0def6(0x102)](_0x1fd7e1),_0x10ccf7?window[_0xe0def6(0x99)][_0xe0def6(0x30e)]('','',_0x3f5aea[_0xe0def6(0x21e)]()):window['history']['pushState']('','',_0x3f5aea[_0xe0def6(0x21e)]());}[_0x370038(0xab)](_0x500db){const _0x4a3ea1=_0x370038;var _0x2e6175;return(_0x2e6175=new URL(window[_0x4a3ea1(0x315)][_0x4a3ea1(0x21b)])[_0x4a3ea1(0x184)]['get'](_0x500db))!=null?_0x2e6175:void 0x0;}}var _0x56285f=Object[_0x370038(0x251)],_0x336530=Object[_0x370038(0x1c5)],_0x2dce41=(_0x4919c0,_0x240750,_0x20667c)=>_0x240750 in _0x4919c0?_0x56285f(_0x4919c0,_0x240750,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20667c}):_0x4919c0[_0x240750]=_0x20667c,_0x526873=(_0x3ac827,_0x3c2a00,_0x482fe9,_0x5d0ae1)=>{const _0x11f0e9=_0x370038;for(var _0x1450ba=_0x5d0ae1>0x1?void 0x0:_0x5d0ae1?_0x336530(_0x3c2a00,_0x482fe9):_0x3c2a00,_0x99022b=_0x3ac827[_0x11f0e9(0x217)]-0x1,_0x1a3e26;_0x99022b>=0x0;_0x99022b--)(_0x1a3e26=_0x3ac827[_0x99022b])&&(_0x1450ba=_0x1a3e26(_0x1450ba)||_0x1450ba);return _0x1450ba;},_0x5ebea6=(_0xab6b6,_0x483024)=>(_0x3c1aaa,_0xc6e780)=>_0x483024(_0x3c1aaa,_0xc6e780,_0xab6b6),_0x174d66=(_0x40178f,_0x302821,_0x3390ad)=>_0x2dce41(_0x40178f,_0x302821+'',_0x3390ad);const _0x3b186f='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x101ed3[_0x370038(0x139)]=class extends _0x3b7abc[_0x370038(0x246)]{constructor(_0x1bd7af=_0x1b4515,_0x941dba,_0x3a3824,_0x83a5d4){const _0x1ccdd2=_0x370038;super(),this['_config']=_0x1bd7af,this[_0x1ccdd2(0x1a8)]=_0x941dba,this[_0x1ccdd2(0x106)]=_0x3a3824,this[_0x1ccdd2(0x9f)]=_0x83a5d4;const {..._0xd87ced}=_0x3b7abc['merge']({},_0x1b4515,this[_0x1ccdd2(0x2eb)]);this['_configService'][_0x1ccdd2(0x208)](_0x3a5753,_0xd87ced);}[_0x370038(0x18d)](){const _0x4365de=_0x370038;this[_0x4365de(0x200)](),this[_0x4365de(0x230)]();}['onRendered'](){const _0x42b298=_0x370038;this[_0x42b298(0x1dc)]();}[_0x370038(0x200)](){const _0x4a5ef4=_0x370038;var _0x2aa925;const _0x2f4eaf=[[_0x1a9946],[_0x505467],[_0x5e5a28],[_0x544dea],[_0x316abe],[_0x57259f,{'useClass':_0x35876d}],[_0x5ec463[_0x4a5ef4(0x288)],{'useClass':_0x5ec463[_0x4a5ef4(0x2e7)]}],[_0x8aa7fe['ILocalCacheService'],{'useClass':_0x54db2b}],[_0x101ed3['DesktopCollaborationStatusDisplayController']],[_0x10a044],[_0x3aa657],[_0x3ca272],[_0x537b3d],[_0x101ed3[_0x4a5ef4(0x1a0)]]];_0x3b7abc['registerDependencies'](this['_injector'],_0x3b7abc['mergeOverrideWithDependencies'](_0x2f4eaf,(_0x2aa925=this[_0x4a5ef4(0x2eb)])==null?void 0x0:_0x2aa925[_0x4a5ef4(0x132)]));}['_registerRenderDependencies'](){const _0xd0e5a5=_0x370038;this[_0xd0e5a5(0x131)](this[_0xd0e5a5(0x1a8)][_0xd0e5a5(0x123)](_0x3b7abc[_0xd0e5a5(0x2aa)][_0xd0e5a5(0x26a)],[_0x40a86f])),this['disposeWithMe'](this[_0xd0e5a5(0x1a8)][_0xd0e5a5(0x123)](_0x3b7abc[_0xd0e5a5(0x2aa)]['UNIVER_SHEET'],[_0x4cdb2c]));}[_0x370038(0x230)](){const _0x147d74=_0x370038;_0x3b7abc[_0x147d74(0x21c)](this[_0x147d74(0x106)],[[_0x3ca272],[_0x101ed3['DesktopCollaborationStatusDisplayController']],[_0x10a044],[_0x3aa657],[_0x101ed3['CollaborationDataLoaderController']]]);}},_0x174d66(_0x101ed3['UniverCollaborationClientUIPlugin'],_0x370038(0x27b),_0x3b186f),_0x101ed3[_0x370038(0x139)]=_0x526873([_0x3b7abc['DependentOn'](_0x8aa7fe[_0x370038(0x209)]),_0x5ebea6(0x1,_0x151133[_0x370038(0x283)]),_0x5ebea6(0x2,_0x3b7abc['Inject'](_0x3b7abc[_0x370038(0x25a)])),_0x5ebea6(0x3,_0x3b7abc[_0x370038(0x180)])],_0x101ed3[_0x370038(0x139)]);var _0x31a2da=Object[_0x370038(0x1c5)],_0x1575c2=(_0x3409ee,_0x49dcec,_0x476262,_0x617cab)=>{const _0x168ac8=_0x370038;for(var _0x2c1ec3=_0x617cab>0x1?void 0x0:_0x617cab?_0x31a2da(_0x49dcec,_0x476262):_0x49dcec,_0x2d4167=_0x3409ee[_0x168ac8(0x217)]-0x1,_0x2274ac;_0x2d4167>=0x0;_0x2d4167--)(_0x2274ac=_0x3409ee[_0x2d4167])&&(_0x2c1ec3=_0x2274ac(_0x2c1ec3)||_0x2c1ec3);return _0x2c1ec3;},_0x52a20a=(_0x4c7ccf,_0x2ff6f7)=>(_0x4f9d76,_0x1d9164)=>_0x2ff6f7(_0x4f9d76,_0x1d9164,_0x4c7ccf);_0x101ed3[_0x370038(0x119)]=class extends _0x8aa7fe['CollaborationSocketService']{constructor(_0x2d0b94,_0x2ec648,_0x518504,_0x11f854,_0x2e49f1){super(_0x2d0b94,_0x2ec648,_0x518504,_0x11f854,_0x2e49f1);}async[_0x370038(0x169)](_0x25e9e4){const _0x2bec00=_0x370038,_0x72ef43=await this['_getSessionTicket'](),_0x416536=this[_0x2bec00(0x15d)](_0x25e9e4,_0x72ef43);return this[_0x2bec00(0xf7)](_0x416536);}[_0x370038(0x15d)](_0x590576,_0x258473){const _0x492462=_0x370038,_0x357d10=typeof window>'u'?new URL(_0x590576):new URL(_0x590576,window[_0x492462(0x315)][_0x492462(0x1e3)]);_0x357d10['searchParams'][_0x492462(0x2f6)](_0x492462(0x2e8),_0x258473);const _0x5d43db=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x492462(0x315)][_0x492462(0x1ea)]);return _0x5d43db[_0x492462(0x2b9)]('runId')&&_0x357d10['searchParams']['set'](_0x492462(0x2ea),_0x5d43db['get'](_0x492462(0x2ea))),_0x357d10[_0x492462(0x21e)]();}async[_0x370038(0x2c2)](){const _0x58987e=_0x370038;var _0xbce36c,_0x5d543c,_0x56b82d;const _0x474927=this['_configService'][_0x58987e(0x1cf)](_0x8aa7fe[_0x58987e(0x1aa)]),_0x23e0ea=(_0xbce36c=_0x474927==null?void 0x0:_0x474927['wsSessionTicketUrl'])!=null?_0xbce36c:_0x8aa7fe[_0x58987e(0x279)];return(_0x56b82d=(_0x5d543c=(await this[_0x58987e(0x218)][_0x58987e(0x2b9)](_0x23e0ea,{'headers':{'Content-Type':'application/json'}}))[_0x58987e(0xad)])==null?void 0x0:_0x5d543c['ticket'])!=null?_0x56b82d:'';}},_0x101ed3[_0x370038(0x119)]=_0x1575c2([_0x52a20a(0x0,_0x3b7abc[_0x370038(0x30f)](_0x3b7abc['Injector'])),_0x52a20a(0x1,_0x3b7abc[_0x370038(0x30f)](_0x5ec463[_0x370038(0xe8)])),_0x52a20a(0x2,_0x3b7abc[_0x370038(0x180)]),_0x52a20a(0x3,_0x3b7abc[_0x370038(0x22c)]),_0x52a20a(0x4,_0xe850af[_0x370038(0x152)])],_0x101ed3[_0x370038(0x119)]);const _0x5e923d=0x7530,_0x3e62fc=_0x370038(0x109);class _0xc48d7b extends _0x3b7abc[_0x370038(0x1ba)]{constructor(){const _0x5a2d66=_0x370038;super(),_0x424d4e(this,'_id',_0x3b7abc[_0x5a2d66(0x26d)]()),_0x424d4e(this,'_selfUnitIDs',new Set()),_0x424d4e(this,'_unitOnClients',new Map()),_0x424d4e(this,'_heartbeatTimer',null),_0x424d4e(this,_0x5a2d66(0x21f),new Map()),_0x424d4e(this,_0x5a2d66(0x2d3),new Map()),this[_0x5a2d66(0x21a)]();}[_0x370038(0x274)](){const _0x270de5=_0x370038;super[_0x270de5(0x274)](),this[_0x270de5(0x21f)][_0x270de5(0xf9)]((_0x568fd0,_0x38cb63)=>this[_0x270de5(0x1d3)](_0x38cb63)),this[_0x270de5(0x13b)]&&window[_0x270de5(0xac)](this[_0x270de5(0x13b)]);}[_0x370038(0xb1)](_0x4ebccf){const _0x266f5c=_0x370038;return this['_ensureSubject'](_0x4ebccf)['pipe'](_0x1c6d2d[_0x266f5c(0x122)]());}[_0x370038(0x2b4)](_0x3eea06){const _0x3450bf=_0x370038;this[_0x3450bf(0x205)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3450bf(0x205)][_0x3450bf(0x2c1)](_0x3eea06),this[_0x3450bf(0xd3)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3eea06],'isForwarded':!0x1});}['disposeUnit'](_0x573688){const _0xb0d484=_0x370038;this[_0xb0d484(0x205)][_0xb0d484(0x102)](_0x573688),this[_0xb0d484(0x205)][_0xb0d484(0x21d)]===0x0&&this[_0xb0d484(0x13b)]&&window[_0xb0d484(0xac)](this[_0xb0d484(0x13b)]);}[_0x370038(0x21a)](){const _0x47e21b=_0x370038;this['disposeWithMe'](_0x3b7abc[_0x47e21b(0x1d5)](_0x1c6d2d['fromEvent'](window,_0x47e21b(0x20e))[_0x47e21b(0x2a5)](_0xaf2a8e=>{const _0x305e9a=_0x47e21b;if(_0xaf2a8e['key']!==_0x3e62fc||!_0xaf2a8e[_0x305e9a(0x26b)])return;const _0x56b83b=JSON[_0x305e9a(0x28b)](_0xaf2a8e[_0x305e9a(0x26b)]);this['_handleEvent'](_0x56b83b);}))),window[_0x47e21b(0x1c6)](_0x47e21b(0x90),()=>this[_0x47e21b(0xd3)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x47e21b(0x205)])}));}[_0x370038(0x15b)](_0x31ce7a){const _0x34cf4c=_0x370038;switch(_0x31ce7a[_0x34cf4c(0x1b9)]){case 0x0:this['_handleJoinEvent'](_0x31ce7a);break;case 0x1:this[_0x34cf4c(0x30d)](_0x31ce7a);break;case 0x2:this[_0x34cf4c(0x2c4)](_0x31ce7a);break;}}[_0x370038(0x1e2)](_0x2b4ade){const _0x27a610=_0x370038,{unitIDs:_0x14a2a9,memberID:_0x579086,isForwarded:_0x4c7e3a}=_0x2b4ade;_0x14a2a9[_0x27a610(0xf9)](_0x4cfce0=>{const _0x58e4f5=_0x27a610;if(!_0x4c7e3a&&this[_0x58e4f5(0x93)][_0x58e4f5(0xa3)](_0x4cfce0)&&this[_0x58e4f5(0x1da)](_0x4cfce0)[_0x58e4f5(0x168)](_0x8aa7fe[_0x58e4f5(0x2d2)]['OTHER_CLIENTS_EDITING']),!this[_0x58e4f5(0x93)][_0x58e4f5(0xa3)](_0x4cfce0)||!this[_0x58e4f5(0x93)][_0x58e4f5(0x2b9)](_0x4cfce0)[_0x58e4f5(0xa3)](_0x579086)){const _0x4df30e=this[_0x58e4f5(0x93)][_0x58e4f5(0x2b9)](_0x4cfce0)||new Set();_0x4df30e[_0x58e4f5(0x2c1)](_0x579086),this[_0x58e4f5(0x93)][_0x58e4f5(0x2f6)](_0x4cfce0,_0x4df30e),this['_scheduleClearOtherTimer'](_0x579086);}}),_0x4c7e3a||this['_send']({'type':0x0,'memberID':this[_0x27a610(0x161)],'unitIDs':[...this[_0x27a610(0x205)]],'isForwarded':!0x0});}[_0x370038(0x163)](_0x3aa1b2){const _0x440ca3=_0x370038;this[_0x440ca3(0x1d3)](_0x3aa1b2);const _0x168853=window[_0x440ca3(0x236)](()=>{const _0x3e447f=_0x440ca3;this[_0x3e447f(0x93)][_0x3e447f(0xf9)](_0x6a7bfc=>{_0x6a7bfc['delete'](_0x3aa1b2);});},_0x5e923d*0x2);this[_0x440ca3(0x21f)][_0x440ca3(0x2f6)](_0x3aa1b2,_0x168853);}[_0x370038(0x1d3)](_0x1069b7){const _0x18ebf1=_0x370038;if(this[_0x18ebf1(0x21f)][_0x18ebf1(0xa3)](_0x1069b7)){const _0x2a71a1=this[_0x18ebf1(0x21f)][_0x18ebf1(0x2b9)](_0x1069b7);_0x2a71a1&&window['clearTimeout'](_0x2a71a1),this[_0x18ebf1(0x21f)]['set'](_0x1069b7,null);}}[_0x370038(0x30d)](_0x8d7aa2){const _0xdaba68=_0x370038,{memberID:_0x15d251,unitIDs:_0x1b6876}=_0x8d7aa2;_0x1b6876['forEach'](_0x1268af=>{const _0xcb99be=_0x4623;var _0x3ab7cb;const _0xaa7099=this[_0xcb99be(0x93)]['get'](_0x1268af);_0xaa7099&&(_0xaa7099[_0xcb99be(0x102)](_0x15d251),(_0x3ab7cb=this['_ensureSubject'](_0x1268af))==null||_0x3ab7cb[_0xcb99be(0x168)](_0xaa7099[_0xcb99be(0x21d)]===0x0?_0x8aa7fe[_0xcb99be(0x2d2)][_0xcb99be(0xa5)]:_0x8aa7fe[_0xcb99be(0x2d2)][_0xcb99be(0xdf)]));}),this[_0xdaba68(0x1d3)](_0x15d251);}[_0x370038(0x2c4)](_0x3768b1){const _0x504ae9=_0x370038;this[_0x504ae9(0x163)](_0x3768b1[_0x504ae9(0x128)]);}[_0x370038(0xd3)](_0x55b3e5){const _0x14e087=_0x370038;localStorage['setItem'](_0x3e62fc,JSON[_0x14e087(0x2dd)](_0x55b3e5));}['_scheduleHeartbeat'](){const _0x10abaa=_0x370038;this[_0x10abaa(0x13b)]=window['setInterval'](()=>{const _0x2b69de=_0x10abaa;this[_0x2b69de(0xd3)]({'type':0x2,'memberID':this['_id']});},_0x5e923d);}[_0x370038(0x1da)](_0x36a2c2){const _0x3fdb41=_0x370038;return this[_0x3fdb41(0x2d3)][_0x3fdb41(0xa3)](_0x36a2c2)||this['_unitStatus'][_0x3fdb41(0x2f6)](_0x36a2c2,new _0x1c6d2d[(_0x3fdb41(0x2c8))](_0x8aa7fe[_0x3fdb41(0x2d2)][_0x3fdb41(0xa5)])),this[_0x3fdb41(0x2d3)]['get'](_0x36a2c2);}}var _0x8dfe9e=(_0x2d0ef6=>(_0x2d0ef6[_0x2d0ef6['UNDEFINED']=0x0]=_0x370038(0x92),_0x2d0ef6[_0x2d0ef6['OK']=0x1]='OK',_0x2d0ef6[_0x2d0ef6[_0x370038(0x2a3)]=0x2]='INTERNAL_ERROR',_0x2d0ef6[_0x2d0ef6[_0x370038(0x263)]=0x3]=_0x370038(0x263),_0x2d0ef6[_0x2d0ef6['NOT_FOUND']=0x4]=_0x370038(0x12b),_0x2d0ef6[_0x2d0ef6[_0x370038(0x24b)]=0x5]='UNAUTHENTICATED',_0x2d0ef6[_0x2d0ef6[_0x370038(0x9e)]=0x6]='ALREADY_EXISTS',_0x2d0ef6[_0x2d0ef6[_0x370038(0x14e)]=0x7]=_0x370038(0x14e),_0x2d0ef6[_0x2d0ef6[_0x370038(0xae)]=0x8]='TOO_MANY_REQUESTS',_0x2d0ef6[_0x2d0ef6[_0x370038(0x1ab)]=0x9]=_0x370038(0x1ab),_0x2d0ef6[_0x2d0ef6['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x370038(0x229),_0x2d0ef6[_0x2d0ef6[_0x370038(0x104)]=0x1771]=_0x370038(0x104),_0x2d0ef6[_0x2d0ef6[_0x370038(0x269)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2d0ef6[_0x2d0ef6[_0x370038(0x1d4)]=0x1773]=_0x370038(0x1d4),_0x2d0ef6[_0x2d0ef6[_0x370038(0x280)]=0x1b59]='APPLY_REJECT',_0x2d0ef6[_0x2d0ef6['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2d0ef6[_0x2d0ef6[_0x370038(0x235)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2d0ef6[_0x2d0ef6[_0x370038(0x2d8)]=0x1b5c]=_0x370038(0x2d8),_0x2d0ef6[_0x2d0ef6[_0x370038(0x94)]=0x1b5d]=_0x370038(0x94),_0x2d0ef6[_0x2d0ef6['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x370038(0x10a),_0x2d0ef6[_0x2d0ef6[_0x370038(0x147)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2d0ef6[_0x2d0ef6[_0x370038(0x2ad)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2d0ef6[_0x2d0ef6[_0x370038(0x162)]=0x232b]=_0x370038(0x162),_0x2d0ef6[_0x2d0ef6[_0x370038(0x2b1)]=0x232c]=_0x370038(0x2b1),_0x2d0ef6[_0x2d0ef6[_0x370038(0x2dc)]=0x232d]=_0x370038(0x2dc),_0x2d0ef6[_0x2d0ef6[_0x370038(0x11f)]=0x2711]=_0x370038(0x11f),_0x2d0ef6[_0x2d0ef6[_0x370038(0xbf)]=0x2712]=_0x370038(0xbf),_0x2d0ef6[_0x2d0ef6['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2d0ef6[_0x2d0ef6[_0x370038(0x2bc)]=0x2714]=_0x370038(0x2bc),_0x2d0ef6[_0x2d0ef6[_0x370038(0x22a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2d0ef6[_0x2d0ef6[_0x370038(0x1fb)]=-0x1]='UNRECOGNIZED',_0x2d0ef6))(_0x8dfe9e||{}),_0x213480=Object[_0x370038(0x1c5)],_0x5e4e17=(_0x5943a8,_0xead198,_0x145dbf,_0x59c859)=>{const _0x169eff=_0x370038;for(var _0xb9af97=_0x59c859>0x1?void 0x0:_0x59c859?_0x213480(_0xead198,_0x145dbf):_0xead198,_0x1051dd=_0x5943a8[_0x169eff(0x217)]-0x1,_0x2fd4e9;_0x1051dd>=0x0;_0x1051dd--)(_0x2fd4e9=_0x5943a8[_0x1051dd])&&(_0xb9af97=_0x2fd4e9(_0xb9af97)||_0xb9af97);return _0xb9af97;},_0x3a1170=(_0x2471b3,_0x3ec6bb)=>(_0x594c0d,_0x50cdd4)=>_0x3ec6bb(_0x594c0d,_0x50cdd4,_0x2471b3);_0x101ed3['RemoteUniscriptService']=class extends _0x3b7abc[_0x370038(0x1ba)]{constructor(_0x132264,_0x3d424a,_0x55c9fd){const _0x32ae44=_0x370038;super(),this[_0x32ae44(0x30c)]=_0x132264,this[_0x32ae44(0x218)]=_0x3d424a,this[_0x32ae44(0x9f)]=_0x55c9fd;}async['runOnServer'](_0x3c8b45,_0x21ffeb,_0x4cad8e,..._0x3712dd){const _0x27ef5c=_0x370038;var _0x464eb0,_0x1b0292,_0x591e74,_0x43b6c8;const _0x386f04=this[_0x27ef5c(0x30c)][_0x27ef5c(0x1dd)]();if(!_0x386f04)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x56f604=((_0x464eb0=this[_0x27ef5c(0x9f)][_0x27ef5c(0x1cf)](_0x8aa7fe[_0x27ef5c(0x12d)]))!=null?_0x464eb0:_0x8aa7fe['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3c8b45+_0x27ef5c(0x1a5)+_0x21ffeb,_0x22839a=new URL(window[_0x27ef5c(0x315)][_0x27ef5c(0x21b)]),_0x23cf2c={'scriptId':_0x3c8b45,'runId':(_0x1b0292=_0x22839a[_0x27ef5c(0x184)][_0x27ef5c(0x2b9)](_0x27ef5c(0x2ea)))!=null?_0x1b0292:'','function':_0x21ffeb,'unitId':_0x386f04[_0x27ef5c(0x2a7)](),'argsOfFunction':JSON['stringify'](_0x3712dd),'invokeId':(_0x591e74=_0x4cad8e['invokeId'])!=null?_0x591e74:'','executionId':(_0x43b6c8=_0x4cad8e[_0x27ef5c(0xb9)])!=null?_0x43b6c8:''};try{const _0x30dbbf=await this[_0x27ef5c(0x218)][_0x27ef5c(0xba)](_0x56f604,{'body':_0x23cf2c});return _0x30dbbf[_0x27ef5c(0xad)]['error']&&_0x30dbbf['body'][_0x27ef5c(0x1fe)][_0x27ef5c(0x127)]!==_0x8dfe9e['OK']?_0x27ef5c(0x1df):_0x30dbbf[_0x27ef5c(0xad)][_0x27ef5c(0x2a8)];}catch{return _0x27ef5c(0x1df);}}},_0x101ed3[_0x370038(0x1f2)]=_0x5e4e17([_0x3a1170(0x0,_0x3b7abc[_0x370038(0xc6)]),_0x3a1170(0x1,_0x3b7abc['Inject'](_0x5ec463[_0x370038(0xe8)])),_0x3a1170(0x2,_0x3b7abc[_0x370038(0x180)])],_0x101ed3[_0x370038(0x1f2)]),_0x101ed3[_0x370038(0x2bb)]=_0x231c3d,_0x101ed3[_0x370038(0xc4)]=_0x57259f,_0x101ed3[_0x370038(0x27c)]=_0x5c89b5,_0x101ed3[_0x370038(0x22e)]=_0xc48d7b,_0x101ed3[_0x370038(0x272)]=_0x35876d,Object['defineProperty'](_0x101ed3,Symbol[_0x370038(0x206)],{'value':_0x370038(0x2f1)});}));