@univerjs-pro/collaboration-client-ui 0.6.0 → 0.6.1

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(_0x58640f,_0x325ac6){const _0x2192cf=_0x4961,_0x1e6ce4=_0x58640f();while(!![]){try{const _0x3d3751=-parseInt(_0x2192cf(0x216))/0x1+-parseInt(_0x2192cf(0x2bc))/0x2*(parseInt(_0x2192cf(0x153))/0x3)+-parseInt(_0x2192cf(0x18e))/0x4+-parseInt(_0x2192cf(0x2d2))/0x5+-parseInt(_0x2192cf(0x100))/0x6+parseInt(_0x2192cf(0x2b9))/0x7*(parseInt(_0x2192cf(0x1aa))/0x8)+parseInt(_0x2192cf(0x21f))/0x9;if(_0x3d3751===_0x325ac6)break;else _0x1e6ce4['push'](_0x1e6ce4['shift']());}catch(_0x5a44ce){_0x1e6ce4['push'](_0x1e6ce4['shift']());}}}(_0x1773,0x63215),function(_0x164ed7,_0x53d789){const _0x5832c6=_0x4961;typeof exports==_0x5832c6(0x1c0)&&typeof module<'u'?_0x53d789(exports,require(_0x5832c6(0x1d4)),require(_0x5832c6(0x1c6)),require(_0x5832c6(0x138)),require(_0x5832c6(0x25c)),require(_0x5832c6(0x15c)),require('@univerjs/drawing'),require(_0x5832c6(0x299)),require(_0x5832c6(0xec)),require(_0x5832c6(0x247)),require(_0x5832c6(0x24a)),require(_0x5832c6(0x202)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x5832c6(0x10c)),require(_0x5832c6(0x1e3)),require(_0x5832c6(0x107)),require(_0x5832c6(0x26d)),require(_0x5832c6(0x1de))):typeof define==_0x5832c6(0x1c9)&&define[_0x5832c6(0x28e)]?define(['exports',_0x5832c6(0x1d4),_0x5832c6(0x1c6),_0x5832c6(0x138),_0x5832c6(0x25c),_0x5832c6(0x15c),'@univerjs/drawing',_0x5832c6(0x299),_0x5832c6(0xec),_0x5832c6(0x247),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x5832c6(0x160),_0x5832c6(0x10c),_0x5832c6(0x1e3),_0x5832c6(0x107),_0x5832c6(0x26d),'@univerjs/rpc'],_0x53d789):(_0x164ed7=typeof globalThis<'u'?globalThis:_0x164ed7||self,_0x53d789(_0x164ed7[_0x5832c6(0x151)]={},_0x164ed7[_0x5832c6(0x10a)],_0x164ed7[_0x5832c6(0x23e)],_0x164ed7['UniverEngineRender'],_0x164ed7[_0x5832c6(0x13b)],_0x164ed7['UniverDocsUi'],_0x164ed7[_0x5832c6(0x2ee)],_0x164ed7[_0x5832c6(0x299)],_0x164ed7[_0x5832c6(0x21b)],_0x164ed7[_0x5832c6(0x2c7)],_0x164ed7['UniverEngineFormula'],_0x164ed7[_0x5832c6(0x32a)],_0x164ed7['rxjs'][_0x5832c6(0x31a)],_0x164ed7[_0x5832c6(0x127)],_0x164ed7['React'],_0x164ed7[_0x5832c6(0x20f)],_0x164ed7[_0x5832c6(0x277)],_0x164ed7['React'],_0x164ed7[_0x5832c6(0x297)]));}(this,function(_0x1984a7,_0x414f9e,_0x1a38be,_0x484459,_0x2121db,_0x3a464b,_0x4e478e,_0x1a8034,_0xd73796,_0x26f92f,_0x18ba18,_0x26f037,_0x27f687,_0x48ab1c,_0x3aaaae,_0x11a888,_0x37c605,_0xc8b1c9,_0x6f8042){'use strict';const _0x217d29=_0x4961;var _0xa95c6e=Object[_0x217d29(0x14c)],_0x4ee678=(_0x4da282,_0x5e36d0,_0x16ebaf)=>_0x5e36d0 in _0x4da282?_0xa95c6e(_0x4da282,_0x5e36d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16ebaf}):_0x4da282[_0x5e36d0]=_0x16ebaf,_0x3bb6e5=(_0x486fdc,_0x4e86c4,_0x18d1c3)=>_0x4ee678(_0x486fdc,typeof _0x4e86c4!=_0x217d29(0x308)?_0x4e86c4+'':_0x4e86c4,_0x18d1c3),_0x368767=Object[_0x217d29(0x2cf)],_0x32c433=(_0x1ff68e,_0x33d9b3,_0x1b580a,_0x17f998)=>{const _0x2d95e3=_0x217d29;for(var _0x289cd2=_0x17f998>0x1?void 0x0:_0x17f998?_0x368767(_0x33d9b3,_0x1b580a):_0x33d9b3,_0x5f0b6b=_0x1ff68e[_0x2d95e3(0x32b)]-0x1,_0x23a548;_0x5f0b6b>=0x0;_0x5f0b6b--)(_0x23a548=_0x1ff68e[_0x5f0b6b])&&(_0x289cd2=_0x23a548(_0x289cd2)||_0x289cd2);return _0x289cd2;},_0x3d7845=(_0x1df3ed,_0x2b5338)=>(_0x3fda5d,_0x22ce09)=>_0x2b5338(_0x3fda5d,_0x22ce09,_0x1df3ed);let _0xf82afa=class extends _0x1a38be[_0x217d29(0x21d)]{constructor(_0x2bdfbc,_0x20399c){const _0x4a75ed=_0x217d29;super(),this[_0x4a75ed(0x295)]=_0x2bdfbc,this[_0x4a75ed(0x254)]=_0x20399c,this['_init']();}['_init'](){const _0x254a17=_0x217d29,_0x188eeb=this;this['disposeWithMe'](this[_0x254a17(0x295)][_0x254a17(0x18d)]({'onBeforePasteImage':async _0x313fa8=>{const _0xedeabb=_0x254a17,_0x5c4dce=await _0x188eeb[_0xedeabb(0x254)][_0xedeabb(0x36e)](_0x313fa8);return _0x5c4dce?{'source':_0x5c4dce['source'],'imageSourceType':_0x5c4dce[_0xedeabb(0x1c8)]}:null;}}));}};_0xf82afa=_0x32c433([_0x3d7845(0x0,_0x3a464b[_0x217d29(0x264)]),_0x3d7845(0x1,_0x4e478e['IImageIoService'])],_0xf82afa);const _0x3de3d5=[_0x217d29(0x240),_0x217d29(0x2b0),_0x217d29(0x174),_0x217d29(0x1bf),_0x217d29(0x205),'gold400'];class _0x3800a7 extends _0x1a38be[_0x217d29(0x234)]{constructor(){const _0x2e7f4e=_0x217d29;super(...arguments),_0x3bb6e5(this,_0x2e7f4e(0x219),new Map()),_0x3bb6e5(this,_0x2e7f4e(0x1e9),0x0);}[_0x217d29(0x15e)](_0x167c6d){const _0x4c5012=_0x217d29;if(this[_0x4c5012(0x219)][_0x4c5012(0x20a)](_0x167c6d))return this[_0x4c5012(0x219)][_0x4c5012(0x2ab)](_0x167c6d);const _0x289dfa=_0x3de3d5[this[_0x4c5012(0x1e9)]];return this[_0x4c5012(0x1e9)]=(this[_0x4c5012(0x1e9)]+0x1)%_0x3de3d5[_0x4c5012(0x32b)],this['_assignedColors'][_0x4c5012(0x28b)](_0x167c6d,_0x289dfa),_0x289dfa;}}function _0x5ab72a(_0x5da7ca){const _0x44405e=_0x217d29;let _0xfe312f='';for(const _0x39ec3e of _0x5da7ca){const {startOffset:_0x494779,endOffset:_0x3546db,isActive:_0x11fbd8,rangeType:_0x4a2a4d,segmentId:_0x40034e,segmentPage:_0x2f80bc}=_0x39ec3e;_0xfe312f[_0x44405e(0x32b)]&&(_0xfe312f+=','),_0xfe312f+=_0x494779+':'+_0x3546db+':'+(_0x11fbd8?'1':'0')+':'+_0x4a2a4d+':'+_0x40034e+':'+_0x2f80bc;}return _0xfe312f;}function _0x47e602(_0x3e9c21){const _0x12fb6c=_0x217d29,_0x2252bb=_0x3e9c21[_0x12fb6c(0x2fd)](','),_0x557995=[];for(const _0x14ab03 of _0x2252bb){const [_0x11dd5c,_0x296e18,_0x3332e0,_0x532b08,_0x8f88f6,_0x2ba93a]=_0x14ab03[_0x12fb6c(0x2fd)](':');_0x557995[_0x12fb6c(0x27f)]({'startOffset':Number(_0x11dd5c),'endOffset':Number(_0x296e18),'collapsed':_0x11dd5c===_0x296e18,'isActive':_0x3332e0==='1','rangeType':_0x532b08===_0x1a38be[_0x12fb6c(0x22e)][_0x12fb6c(0x2d7)]?_0x1a38be[_0x12fb6c(0x22e)][_0x12fb6c(0x2d7)]:_0x1a38be[_0x12fb6c(0x22e)][_0x12fb6c(0x134)],'segmentId':typeof _0x8f88f6==_0x12fb6c(0x125)?String(_0x8f88f6):'','segmentPage':Number(_0x2ba93a!=null?_0x2ba93a:-0x1)});}return _0x557995[_0x12fb6c(0x14d)](_0x580a87=>_0x580a87[_0x12fb6c(0x1e1)])||(_0x557995[0x0][_0x12fb6c(0x1e1)]=!0x0),_0x557995;}class _0x338bd3 extends _0x1a38be[_0x217d29(0x21d)]{constructor(){const _0x5972c0=_0x217d29;super(...arguments),_0x3bb6e5(this,_0x5972c0(0x31b),new _0x1a8034[(_0x5972c0(0x287))](null)),_0x3bb6e5(this,_0x5972c0(0x2fb),this['_collabCursorState$'][_0x5972c0(0x33f)]());}['syncEditingCollabCursor'](_0x3ef035){const _0x397f06=_0x217d29,{unitID:_0x55c3a9,memberID:_0x2ce2fd,textRanges:_0x488394}=_0x3ef035,_0x166829=_0x5ab72a(_0x488394);if(_0x166829==='')return;const _0x382625={'unitID':_0x55c3a9,'memberID':_0x2ce2fd,'selection':_0x166829};this[_0x397f06(0x31b)][_0x397f06(0x367)](_0x382625);}}var _0x51c5e0=Object[_0x217d29(0x2cf)],_0x188c59=(_0x2ac292,_0x3f0513,_0x1bd6c5,_0x3f64af)=>{for(var _0x5ed9a8=_0x3f64af>0x1?void 0x0:_0x3f64af?_0x51c5e0(_0x3f0513,_0x1bd6c5):_0x3f0513,_0x5defff=_0x2ac292['length']-0x1,_0xae6de8;_0x5defff>=0x0;_0x5defff--)(_0xae6de8=_0x2ac292[_0x5defff])&&(_0x5ed9a8=_0xae6de8(_0x5ed9a8)||_0x5ed9a8);return _0x5ed9a8;},_0x12833c=(_0x4aa788,_0x2e40aa)=>(_0x429c3a,_0x3b75cd)=>_0x2e40aa(_0x429c3a,_0x3b75cd,_0x4aa788);const _0x355ff2=0x12c,_0x5582f7=0x64;let _0x37be67=class extends _0x1a38be[_0x217d29(0x21d)]{constructor(_0x46406b,_0x57b380,_0x36239a,_0x5c5a62,_0x3f78ac,_0x2ea906,_0x1d2f01,_0x373255,_0x17a34c){const _0x48a5c9=_0x217d29;super(),_0x3bb6e5(this,'_online',!0x1),_0x3bb6e5(this,_0x48a5c9(0x1ab),!0x1),_0x3bb6e5(this,_0x48a5c9(0x1fe),new _0x1a8034['BehaviorSubject'](new Map())),_0x3bb6e5(this,_0x48a5c9(0x22f),this['_cursorInfo$'][_0x48a5c9(0x33f)]()),_0x3bb6e5(this,'_roomMembers$',new _0x1a8034['BehaviorSubject']([])),_0x3bb6e5(this,_0x48a5c9(0xde),this['_roomMembers$'][_0x48a5c9(0x30f)](_0x1a8034[_0x48a5c9(0x124)](_0x355ff2))),_0x3bb6e5(this,_0x48a5c9(0x229),_0x1a38be['debounce'](_0x3d0fdb=>{const _0xb8d054=_0x48a5c9,_0x10d5f1={'eventID':_0x26f92f[_0xb8d054(0x1f3)][_0xb8d054(0x1ea)],'data':{'unitID':this[_0xb8d054(0x318)],'memberID':this[_0xb8d054(0x2fa)]['getMemberID'](),'selection':_0x5ab72a(_0x3d0fdb)}};this['_session'][_0xb8d054(0x25f)](_0x10d5f1,this[_0xb8d054(0x318)]);},_0x5582f7)),(this[_0x48a5c9(0x318)]=_0x46406b,this['_session']=_0x57b380,this[_0x48a5c9(0x359)]=_0x36239a,this[_0x48a5c9(0x305)]=_0x5c5a62,this['_memberService']=_0x3f78ac,this[_0x48a5c9(0x19b)]=_0x2ea906,this[_0x48a5c9(0x30e)]=_0x1d2f01,this[_0x48a5c9(0x364)]=_0x373255,this[_0x48a5c9(0x108)]=_0x17a34c);}get[_0x217d29(0x137)](){const _0xdf0c2c=_0x217d29;return this[_0xdf0c2c(0x1fe)][_0xdf0c2c(0x1f8)]();}get['roomMembers'](){const _0x4576b0=_0x217d29;return this['_roomMembers$'][_0x4576b0(0x1f8)]();}[_0x217d29(0x131)](){const _0x401dcc=_0x217d29;super['dispose'](),this[_0x401dcc(0x1fe)][_0x401dcc(0x367)](new Map()),this[_0x401dcc(0x1fe)][_0x401dcc(0x110)](),this[_0x401dcc(0x1d7)][_0x401dcc(0x367)]([]),this[_0x401dcc(0x1d7)][_0x401dcc(0x110)]();}[_0x217d29(0x12c)](){const _0x397ef6=_0x217d29;this[_0x397ef6(0x1ab)]||(this[_0x397ef6(0x1ab)]=!0x0,this[_0x397ef6(0x2fa)]['sessionStatus$'][_0x397ef6(0x30f)](_0x1a8034['takeUntil'](this[_0x397ef6(0x1a1)]))[_0x397ef6(0x190)](_0x50814f=>{const _0x2178cf=_0x397ef6;_0x50814f===_0x414f9e[_0x2178cf(0x26e)]['ONLINE']?this[_0x2178cf(0x2eb)]():this[_0x2178cf(0x14e)]();}),this[_0x397ef6(0x2fa)][_0x397ef6(0x358)][_0x397ef6(0x30f)](_0x1a8034[_0x397ef6(0x310)](this[_0x397ef6(0x1a1)]))[_0x397ef6(0x190)](_0x58bd24=>{const _0xe3f412=_0x397ef6,_0x198d69=_0x58bd24[_0xe3f412(0x109)];_0x198d69===_0x26f92f[_0xe3f412(0x1f3)][_0xe3f412(0x1ea)]&&this['_onCursorUpdate'](_0x58bd24),_0x198d69===_0x26f92f['CollaborationEvent'][_0xe3f412(0x27b)]&&this[_0xe3f412(0x2de)](_0x58bd24);}),this['disposeWithMe'](this[_0x397ef6(0x108)][_0x397ef6(0x32d)](_0x102859=>{const _0x153394=_0x397ef6,_0x578fc2=_0x102859[_0x153394(0xee)];_0x578fc2!=null&&this[_0x153394(0x16c)]&&_0x102859['id']===_0xd73796[_0x153394(0x351)]['id']&&_0x578fc2[_0x153394(0x167)]===this['unitID']&&_0x578fc2[_0x153394(0x255)]===!0x1&&_0x578fc2[_0x153394(0x348)]['length']>0x0&&this['_updateLocalCursor'](_0x578fc2[_0x153394(0x348)]);})),this[_0x397ef6(0x19b)][_0x397ef6(0x2fb)][_0x397ef6(0x30f)](_0x1a8034[_0x397ef6(0x310)](this['dispose$']))[_0x397ef6(0x190)](_0x1c3132=>{const _0x3a899f=_0x397ef6;if((_0x1c3132==null?void 0x0:_0x1c3132[_0x3a899f(0x318)])!==this[_0x3a899f(0x318)])return;const _0x9a1598={'eventID':_0x26f92f['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x1c3132};this[_0x3a899f(0x2c9)](_0x9a1598);}),this[_0x397ef6(0x354)](this[_0x397ef6(0x108)][_0x397ef6(0x32d)](_0x44b3f0=>{const _0x190cf4=_0x397ef6;if(_0x44b3f0[_0x190cf4(0xee)]==null)return;const _0x78234c=_0x44b3f0[_0x190cf4(0xee)];if(_0x44b3f0['id']!==_0xd73796[_0x190cf4(0x289)]['id']||_0x78234c[_0x190cf4(0x167)]!==this['unitID'])return;const _0x5a8986={'id':_0x190cf4(0x11a),'params':_0x78234c},_0x4bd987=this['cursorInfo'];for(const [_0x174819,_0x1e3977]of _0x4bd987){const _0x536979={'id':_0x190cf4(0x11a),'params':{'unitId':this[_0x190cf4(0x318)],'actions':null,'textRanges':_0x1e3977[_0x190cf4(0x348)]}},_0x33aff2=this[_0x190cf4(0x30e)][_0x190cf4(0x2f1)](_0x5a8986,_0x536979,!0x1);if(_0x26f92f[_0x190cf4(0x250)](_0x33aff2))throw _0x33aff2[_0x190cf4(0x26a)];_0x4bd987[_0x190cf4(0x28b)](_0x174819,{..._0x1e3977,'ranges':_0x33aff2[_0x190cf4(0x1a3)]['params']['textRanges']});}queueMicrotask(()=>{const _0x2ad175=_0x190cf4;this[_0x2ad175(0x1fe)][_0x2ad175(0x367)](_0x4bd987);});})));}[_0x217d29(0x2c9)](_0x2849ca){const _0x10253a=_0x217d29;var _0x51e8c7,_0x3ea9df;const {memberID:_0x4a5237,selection:_0x178e59}=_0x2849ca[_0x10253a(0x265)],_0x4703a9=_0x47e602(_0x178e59),_0x1e01a2=(_0x3ea9df=(_0x51e8c7=this[_0x10253a(0xf5)][_0x10253a(0x132)](this[_0x10253a(0x318)],_0x4a5237))==null?void 0x0:_0x51e8c7['name'])!=null?_0x3ea9df:_0x10253a(0x290),_0x8b3ce0={'color':this[_0x10253a(0x305)]['assignAColorForMemberID'](_0x4a5237),'name':_0x1e01a2,'ranges':_0x4703a9},_0x439944=this['cursorInfo'];_0x439944[_0x10253a(0x28b)](_0x4a5237,_0x8b3ce0),this[_0x10253a(0x1fe)][_0x10253a(0x367)](_0x439944);}[_0x217d29(0x2de)](_0x15e6aa){const _0x40a228=_0x217d29,{memberID:_0x1663ff}=_0x15e6aa['data'],_0x4c416a=this[_0x40a228(0x137)];_0x4c416a[_0x40a228(0x2df)](_0x1663ff),this[_0x40a228(0x1fe)][_0x40a228(0x367)](_0x4c416a);}['_toggleOnline'](){const _0x47708a=_0x217d29;var _0x8c88ed;if(this['_online']=!0x0,((_0x8c88ed=this[_0x47708a(0x364)][_0x47708a(0x2ad)]())==null?void 0x0:_0x8c88ed[_0x47708a(0x1ee)]())!==this['unitID'])return;const _0x8fe09c=this[_0x47708a(0x359)]['get'](_0xd73796[_0x47708a(0x1cf)])[_0x47708a(0x224)]();Array['isArray'](_0x8fe09c)&&_0x8fe09c['length']>0x0&&this[_0x47708a(0x229)](_0x8fe09c);}['_toggleOffline'](){this['_online']=!0x1;}};_0x37be67=_0x188c59([_0x12833c(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be[_0x217d29(0x332)])),_0x12833c(0x3,_0x1a38be[_0x217d29(0x2e4)](_0x3800a7)),_0x12833c(0x4,_0x1a38be[_0x217d29(0x2e4)](_0x414f9e[_0x217d29(0x372)])),_0x12833c(0x5,_0x1a38be[_0x217d29(0x2e4)](_0x338bd3)),_0x12833c(0x6,_0x26f92f['ITransformService']),_0x12833c(0x7,_0x1a38be[_0x217d29(0x371)]),_0x12833c(0x8,_0x1a38be[_0x217d29(0x365)])],_0x37be67);var _0xb17aac=Object[_0x217d29(0x2cf)],_0x1df147=(_0x35c26b,_0x107781,_0x21bf52,_0x507862)=>{const _0x4943eb=_0x217d29;for(var _0x29d9f3=_0x507862>0x1?void 0x0:_0x507862?_0xb17aac(_0x107781,_0x21bf52):_0x107781,_0x1aaf71=_0x35c26b[_0x4943eb(0x32b)]-0x1,_0x1f2094;_0x1aaf71>=0x0;_0x1aaf71--)(_0x1f2094=_0x35c26b[_0x1aaf71])&&(_0x29d9f3=_0x1f2094(_0x29d9f3)||_0x29d9f3);return _0x29d9f3;},_0x3c9430=(_0x122ffb,_0x163c5e)=>(_0xe9334,_0x556ef0)=>_0x163c5e(_0xe9334,_0x556ef0,_0x122ffb);const _0x582a10=0x12c,_0x5a8884=0x64,_0x39794e=()=>{let _0x44b47a=[],_0x59a7c0=!0x1;return _0x270cce=>{const _0x4ffb33=_0x4961;_0x44b47a[_0x4ffb33(0x27f)](_0x270cce),_0x59a7c0||(_0x59a7c0=!0x0,setTimeout(()=>{_0x44b47a['forEach'](_0x1a78fd=>_0x1a78fd()),_0x44b47a=[],_0x59a7c0=!0x1;}));};};let _0x51ceea=class extends _0x1a38be[_0x217d29(0x21d)]{constructor(_0x41447b,_0x2c3610,_0x1ce982,_0x4ff468,_0x44ed39,_0x34e72a,_0x31bb07,_0x18addc){const _0x11f206=_0x217d29;super(),_0x3bb6e5(this,_0x11f206(0x16c),!0x1),_0x3bb6e5(this,_0x11f206(0x1ab),!0x1),_0x3bb6e5(this,_0x11f206(0x1fe),new _0x1a8034[(_0x11f206(0x287))](new Map())),_0x3bb6e5(this,'cursorInfo$',this[_0x11f206(0x1fe)][_0x11f206(0x33f)]()),_0x3bb6e5(this,_0x11f206(0x1d7),new _0x1a8034[(_0x11f206(0x287))]([])),_0x3bb6e5(this,_0x11f206(0xde),this[_0x11f206(0x1d7)][_0x11f206(0x30f)](_0x1a8034[_0x11f206(0x124)](_0x582a10))),_0x3bb6e5(this,_0x11f206(0x229),_0x1a38be[_0x11f206(0x1df)]((_0xff3058,_0x273848)=>{const _0x208672=_0x11f206,_0x2a290b={'eventID':_0x26f92f['CollaborationEvent'][_0x208672(0x1ea)],'data':{'unitID':this['unitID'],'memberID':this[_0x208672(0x2fa)]['getMemberID'](),'selection':_0x18ba18[_0x208672(0xe2)](_0xff3058,_0x273848['range'])}};this[_0x208672(0x2fa)][_0x208672(0x25f)](_0x2a290b,this['unitID']);},_0x5a8884)),(this['unitID']=_0x41447b,this[_0x11f206(0x2fa)]=_0x2c3610,this[_0x11f206(0x359)]=_0x1ce982,this[_0x11f206(0x305)]=_0x4ff468,this[_0x11f206(0xf5)]=_0x44ed39,this[_0x11f206(0x364)]=_0x34e72a,this[_0x11f206(0x108)]=_0x31bb07,this[_0x11f206(0x15f)]=_0x18addc);}get[_0x217d29(0x137)](){const _0x56fb23=_0x217d29;return this[_0x56fb23(0x1fe)][_0x56fb23(0x1f8)]();}get[_0x217d29(0x242)](){const _0x350190=_0x217d29;return this['_roomMembers$'][_0x350190(0x1f8)]();}[_0x217d29(0x131)](){const _0x5da157=_0x217d29;super['dispose'](),this['_cursorInfo$'][_0x5da157(0x367)](new Map()),this['_cursorInfo$'][_0x5da157(0x110)](),this[_0x5da157(0x1d7)][_0x5da157(0x367)]([]),this['_roomMembers$']['complete']();}[_0x217d29(0x12c)](){const _0x53b1ab=_0x217d29;this[_0x53b1ab(0x1ab)]||(this[_0x53b1ab(0x1ab)]=!0x0,this[_0x53b1ab(0x2fa)]['sessionStatus$']['pipe'](_0x1a8034[_0x53b1ab(0x310)](this[_0x53b1ab(0x1a1)]))[_0x53b1ab(0x190)](_0x44f956=>{const _0x4d7c4c=_0x53b1ab;_0x44f956===_0x414f9e[_0x4d7c4c(0x26e)][_0x4d7c4c(0x15b)]?this['_toggleOnline']():this[_0x4d7c4c(0x14e)]();}),this['_session'][_0x53b1ab(0x358)][_0x53b1ab(0x30f)](_0x1a8034[_0x53b1ab(0x310)](this[_0x53b1ab(0x1a1)]))[_0x53b1ab(0x190)](_0x4e3be9=>{const _0xbd738e=_0x53b1ab,_0x564a0b=_0x4e3be9[_0xbd738e(0x109)];_0x564a0b===_0x26f92f[_0xbd738e(0x1f3)][_0xbd738e(0x1ea)]&&this[_0xbd738e(0x2c9)](_0x4e3be9),_0x564a0b===_0x26f92f[_0xbd738e(0x1f3)][_0xbd738e(0x27b)]&&this[_0xbd738e(0x2de)](_0x4e3be9);}),this[_0x53b1ab(0x2cb)](),this[_0x53b1ab(0x354)](this[_0x53b1ab(0x108)][_0x53b1ab(0x32d)](_0x2abea7=>{const _0xcaedc8=_0x53b1ab;if(this[_0xcaedc8(0x16c)]&&_0x2abea7['id']===_0x26f037[_0xcaedc8(0x1b9)]['id']&&_0x2abea7[_0xcaedc8(0xee)][_0xcaedc8(0x167)]===this[_0xcaedc8(0x318)]){const _0x34c4f2=_0x2abea7[_0xcaedc8(0xee)];this[_0xcaedc8(0x229)](_0x34c4f2[_0xcaedc8(0x261)],_0x34c4f2[_0xcaedc8(0xf2)][0x0]);}})));}['_onCursorUpdate'](_0x30abd8){const _0x56feaa=_0x217d29;var _0x510612,_0x5c776c;const {memberID:_0x2873d9,selection:_0x11d549}=_0x30abd8['data'],{sheetName:_0x32d75f,range:_0x55b43f}=_0x18ba18[_0x56feaa(0x271)](_0x11d549),_0x5dd8d0={'name':(_0x5c776c=(_0x510612=this[_0x56feaa(0xf5)][_0x56feaa(0x132)](this[_0x56feaa(0x318)],_0x2873d9))==null?void 0x0:_0x510612[_0x56feaa(0x231)])!=null?_0x5c776c:'Unknown\x20user','range':this[_0x56feaa(0x252)](_0x32d75f,_0x55b43f),'sheetID':_0x32d75f,'color':this['_colorAssignService'][_0x56feaa(0x15e)](_0x2873d9),'selection':_0x11d549},_0x377647=this['cursorInfo'];_0x377647[_0x56feaa(0x28b)](_0x2873d9,_0x5dd8d0),this[_0x56feaa(0x1fe)]['next'](_0x377647);}[_0x217d29(0x2de)](_0x11e6f2){const _0x1b5c64=_0x217d29,{memberID:_0x6e9642}=_0x11e6f2[_0x1b5c64(0x265)],_0x2148d6=this[_0x1b5c64(0x137)];_0x2148d6[_0x1b5c64(0x2df)](_0x6e9642),this[_0x1b5c64(0x1fe)]['next'](_0x2148d6);}[_0x217d29(0x252)](_0x3d1dfd,_0x519d30){const _0x3d2c83=_0x217d29;var _0x4864f9,_0x13c510;const _0x1d8a89=(_0x13c510=(_0x4864f9=this[_0x3d2c83(0x364)]['getUniverSheetInstance'](this[_0x3d2c83(0x318)]))==null?void 0x0:_0x4864f9[_0x3d2c83(0x30b)](_0x3d1dfd))==null?void 0x0:_0x13c510[_0x3d2c83(0x2fc)]();return(_0x1d8a89==null?void 0x0:_0x1d8a89[_0x3d2c83(0x344)](_0x2271a1=>_0x1a38be[_0x3d2c83(0x2d5)][_0x3d2c83(0x36f)](_0x2271a1,_0x519d30)))||_0x519d30;}[_0x217d29(0x2cb)](){const _0x184606=_0x217d29,_0x236f20=new _0x1a38be['DisposableCollection'](),_0x26d64e=_0x39794e(),_0x2a115b=()=>{const _0x1d201b=_0x4961;_0x236f20[_0x1d201b(0x131)]();const _0xf5c30a=(_0x15b003,_0x4f39ba,_0x30afe3,_0x25b78b)=>{const _0x4f3527=_0x1d201b;let _0x3af153=[];switch(_0x15b003['id']){case _0x26f037[_0x4f3527(0x226)][_0x4f3527(0x14f)]:{_0x3af153=_0x26f037[_0x4f3527(0x193)](_0x15b003,_0x25b78b);break;}case _0x26f037['EffectRefRangId'][_0x4f3527(0xf9)]:{_0x3af153=_0x26f037['handleDeleteRangeMoveUp'](_0x15b003,_0x25b78b);break;}case _0x26f037[_0x4f3527(0x226)][_0x4f3527(0x2e7)]:{_0x3af153=_0x26f037[_0x4f3527(0x1e4)](_0x15b003,_0x25b78b);break;}case _0x26f037[_0x4f3527(0x226)]['InsertRangeMoveDownCommandId']:{_0x3af153=_0x26f037['handleInsertRangeMoveDown'](_0x15b003,_0x25b78b);break;}case _0x26f037[_0x4f3527(0x226)][_0x4f3527(0x118)]:{_0x3af153=_0x26f037[_0x4f3527(0x11c)](_0x15b003,_0x25b78b);break;}case _0x26f037[_0x4f3527(0x226)][_0x4f3527(0x1d1)]:{_0x3af153=_0x26f037['handleInsertRow'](_0x15b003,_0x25b78b);break;}case _0x26f037[_0x4f3527(0x226)][_0x4f3527(0x2a7)]:{_0x3af153=_0x26f037['handleMoveRange'](_0x15b003,_0x25b78b);break;}case _0x26f037[_0x4f3527(0x226)][_0x4f3527(0x31c)]:{_0x3af153=_0x26f037[_0x4f3527(0x260)](_0x15b003,_0x25b78b);break;}case _0x26f037[_0x4f3527(0x226)][_0x4f3527(0x1b3)]:{_0x3af153=_0x26f037[_0x4f3527(0x122)](_0x15b003,_0x25b78b);break;}}const _0x401991=_0x26f037[_0x4f3527(0xeb)](_0x3af153,_0x25b78b),_0x1b09f9=this[_0x4f3527(0x137)][_0x4f3527(0x2ab)](_0x4f39ba);if(_0x1b09f9&&_0x401991){const _0x404ec3={..._0x1b09f9,'range':_0x401991};this['cursorInfo'][_0x4f3527(0x28b)](_0x4f39ba,_0x404ec3),_0x26d64e(()=>{const _0x3cef6c=_0x4f3527,_0x211db0=this[_0x3cef6c(0x15f)][_0x3cef6c(0x114)](_0x401991,_0x1fb629=>(_0x211db0[_0x3cef6c(0x131)](),_0xf5c30a(_0x1fb629,_0x4f39ba,_0x30afe3,_0x401991)));_0x236f20['add'](_0x211db0);});}return{'redos':[],'undos':[]};};this[_0x1d201b(0x137)]['forEach']((_0x1486e7,_0x661af9)=>{const _0x6c6e86=_0x1d201b,{range:_0x9ba194,sheetID:_0x3658bc}=_0x1486e7,_0x4b7031=this[_0x6c6e86(0x15f)][_0x6c6e86(0x114)](_0x9ba194,_0x24fb40=>(_0x4b7031['dispose'](),_0xf5c30a(_0x24fb40,_0x661af9,_0x3658bc,_0x9ba194)));_0x236f20[_0x6c6e86(0x183)](_0x4b7031);});};this[_0x184606(0x354)](_0x1a38be[_0x184606(0x2ff)](this[_0x184606(0x1fe)][_0x184606(0x190)](()=>{_0x2a115b();})));}[_0x217d29(0x2eb)](){const _0x325fd4=_0x217d29;var _0x30f4e3,_0x4f4f6f;if(this[_0x325fd4(0x16c)]=!0x0,((_0x30f4e3=this[_0x325fd4(0x364)][_0x325fd4(0x2ad)]())==null?void 0x0:_0x30f4e3['getUnitId']())!==this['unitID'])return;const _0x19c399=(_0x4f4f6f=this['_injector'][_0x325fd4(0x2ab)](_0x26f037[_0x325fd4(0x15a)])['getCurrentSelections']())==null?void 0x0:_0x4f4f6f[0x0],_0x41cb11=this[_0x325fd4(0x364)][_0x325fd4(0x275)](_0x1a38be[_0x325fd4(0x2e9)][_0x325fd4(0x150)])[_0x325fd4(0x28d)]();_0x19c399&&_0x41cb11&&this[_0x325fd4(0x229)](_0x41cb11[_0x325fd4(0x33a)](),_0x19c399);}[_0x217d29(0x14e)](){const _0x479504=_0x217d29;this[_0x479504(0x16c)]=!0x1;}};_0x51ceea=_0x1df147([_0x3c9430(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be[_0x217d29(0x332)])),_0x3c9430(0x3,_0x1a38be[_0x217d29(0x2e4)](_0x3800a7)),_0x3c9430(0x4,_0x1a38be[_0x217d29(0x2e4)](_0x414f9e['MemberService'])),_0x3c9430(0x5,_0x1a38be[_0x217d29(0x371)]),_0x3c9430(0x6,_0x1a38be['ICommandService']),_0x3c9430(0x7,_0x1a38be[_0x217d29(0x2e4)](_0x26f037['RefRangeService']))],_0x51ceea);var _0x4a39cc=Object[_0x217d29(0x2cf)],_0x24e661=(_0x3825e1,_0x3e0c17,_0x2a43d7,_0x4b924b)=>{for(var _0x3e163b=_0x4b924b>0x1?void 0x0:_0x4b924b?_0x4a39cc(_0x3e0c17,_0x2a43d7):_0x3e0c17,_0x5b878c=_0x3825e1['length']-0x1,_0x2be96d;_0x5b878c>=0x0;_0x5b878c--)(_0x2be96d=_0x3825e1[_0x5b878c])&&(_0x3e163b=_0x2be96d(_0x3e163b)||_0x3e163b);return _0x3e163b;},_0x40ebca=(_0x5c0b23,_0x12d10e)=>(_0x1220ed,_0x29ba85)=>_0x12d10e(_0x1220ed,_0x29ba85,_0x5c0b23);let _0x561858=class extends _0x1a38be[_0x217d29(0x21d)]{constructor(_0x383488,_0x404d44,_0x3e3f43){const _0xa42a5a=_0x217d29;super(),_0x3bb6e5(this,_0xa42a5a(0x339),new Map()),_0x3bb6e5(this,_0xa42a5a(0x2d9),new _0x1a8034[(_0xa42a5a(0x2ce))]()),(this[_0xa42a5a(0x364)]=_0x383488,this[_0xa42a5a(0x359)]=_0x404d44,this[_0xa42a5a(0x165)]=_0x3e3f43,this[_0xa42a5a(0x1ab)]());}[_0x217d29(0x131)](){const _0x93666=_0x217d29;super['dispose'](),this[_0x93666(0x2d9)][_0x93666(0x110)](),this[_0x93666(0x339)][_0x93666(0x1a2)](_0x1b039b=>_0x1b039b[_0x93666(0x131)]());}[_0x217d29(0x199)](_0x38b491){const _0x3c916a=_0x217d29;return this[_0x3c916a(0x339)][_0x3c916a(0x20a)](_0x38b491)?this[_0x3c916a(0x339)][_0x3c916a(0x2ab)](_0x38b491)['cursorInfo$']:this[_0x3c916a(0x2d9)][_0x3c916a(0x30f)](_0x1a8034[_0x3c916a(0x30c)](_0x1c7aab=>_0x1c7aab[_0x3c916a(0x318)]===_0x38b491),_0x1a8034[_0x3c916a(0x317)](_0x1f7b7f=>_0x1f7b7f[_0x3c916a(0x22f)]));}[_0x217d29(0x1ab)](){const _0x564f51=_0x217d29;this[_0x564f51(0x364)][_0x564f51(0x2c0)](_0x1a38be[_0x564f51(0x2e9)][_0x564f51(0x150)])[_0x564f51(0x30f)](_0x1a8034[_0x564f51(0x310)](this['dispose$']))[_0x564f51(0x190)](async _0x39df24=>{const _0x2230ac=_0x564f51,_0xe0aa2f=_0x39df24[_0x2230ac(0x1ee)](),_0x62f519=await this['_startSheetCollabCursor'](_0xe0aa2f);this[_0x2230ac(0x2d9)][_0x2230ac(0x367)](_0x62f519),this[_0x2230ac(0x339)][_0x2230ac(0x28b)](_0xe0aa2f,_0x62f519);}),this['_univerInstanceService'][_0x564f51(0x2c0)](_0x1a38be['UniverInstanceType'][_0x564f51(0x1cc)])[_0x564f51(0x30f)](_0x1a8034[_0x564f51(0x310)](this['dispose$']))['pipe'](_0x1a8034[_0x564f51(0x30c)](_0xef3178=>!_0xef3178[_0x564f51(0x1ee)]()['startsWith']('__')))[_0x564f51(0x190)](async _0x47a8bc=>{const _0x448229=_0x564f51,_0x44598b=_0x47a8bc[_0x448229(0x1ee)](),_0x3296a5=await this[_0x448229(0x228)](_0x44598b);this['_entityInit$']['next'](_0x3296a5),this['_entities'][_0x448229(0x28b)](_0x44598b,_0x3296a5);}),_0x1a8034[_0x564f51(0x2a3)](this[_0x564f51(0x364)]['getTypeOfUnitDisposed$'](_0x1a38be[_0x564f51(0x2e9)][_0x564f51(0x1cc)]),this[_0x564f51(0x364)][_0x564f51(0x217)](_0x1a38be[_0x564f51(0x2e9)][_0x564f51(0x150)]))[_0x564f51(0x30f)](_0x1a8034[_0x564f51(0x310)](this[_0x564f51(0x1a1)]))['subscribe'](_0x26a13c=>{const _0xafab43=_0x564f51,_0x405588=_0x26a13c['getUnitId'](),_0x497f19=this[_0xafab43(0x339)][_0xafab43(0x2ab)](_0x405588);_0x497f19&&(_0x497f19['dispose'](),this['_entities'][_0xafab43(0x2df)](_0x405588));});}async[_0x217d29(0x2a6)](_0x10a20f){const _0x3fdd5e=_0x217d29,_0xbdfd9a=await this['_collabSessionService'][_0x3fdd5e(0x35d)](_0x10a20f),_0x49dbf3=this[_0x3fdd5e(0x359)][_0x3fdd5e(0x1f2)](_0x51ceea,_0x10a20f,_0xbdfd9a);return _0x49dbf3['init'](),_0x49dbf3;}async[_0x217d29(0x228)](_0x142f59){const _0x505e8e=_0x217d29,_0x108f99=await this[_0x505e8e(0x165)][_0x505e8e(0x35d)](_0x142f59),_0x53f21b=this['_injector'][_0x505e8e(0x1f2)](_0x37be67,_0x142f59,_0x108f99);return _0x53f21b['init'](),_0x53f21b;}};_0x561858=_0x24e661([_0x40ebca(0x0,_0x1a38be[_0x217d29(0x371)]),_0x40ebca(0x1,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be['Injector'])),_0x40ebca(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x414f9e[_0x217d29(0x20c)]))],_0x561858);const _0x5812d5=0x14,_0x14f3bd=0xc8,_0x3aa789=0x4,_0x5eb351=0x5;function _0x369747(_0x491b34,_0x350a66){const _0x746188=_0x217d29;let {radius:_0x23d3fa,width:_0x46a6e9,height:_0x2f2c3e}=_0x350a66;_0x23d3fa=_0x23d3fa!=null?_0x23d3fa:0x0,_0x46a6e9=_0x46a6e9!=null?_0x46a6e9:0x1e,_0x2f2c3e=_0x2f2c3e!=null?_0x2f2c3e:0x1e;let _0xd499c0=0x0,_0x3161ee=0x0,_0x32d3bc=0x0;_0xd499c0=_0x3161ee=_0x32d3bc=Math['min'](_0x23d3fa,_0x46a6e9/0x2,_0x2f2c3e/0x2),_0x491b34[_0x746188(0x280)](),_0x491b34['moveTo'](_0xd499c0,0x0),_0x491b34[_0x746188(0x28c)](_0x46a6e9-_0x3161ee,0x0),_0x491b34[_0x746188(0x1fc)](_0x46a6e9-_0x3161ee,_0x3161ee,_0x3161ee,Math['PI']*0x3/0x2,0x0,!0x1),_0x491b34[_0x746188(0x28c)](_0x46a6e9,_0x2f2c3e-_0x32d3bc),_0x491b34[_0x746188(0x1fc)](_0x46a6e9-_0x32d3bc,_0x2f2c3e-_0x32d3bc,_0x32d3bc,0x0,Math['PI']/0x2,!0x1),_0x491b34[_0x746188(0x28c)](0x0,_0x2f2c3e),_0x491b34[_0x746188(0x28c)](0x0,_0xd499c0),_0x491b34[_0x746188(0x1fc)](_0xd499c0,_0xd499c0,_0xd499c0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x491b34[_0x746188(0x239)](),_0x350a66[_0x746188(0x370)]&&(_0x491b34[_0x746188(0x19e)](),_0x491b34[_0x746188(0x25a)]=_0x350a66[_0x746188(0x370)],_0x350a66[_0x746188(0x19f)]===_0x746188(0x1af)?_0x491b34[_0x746188(0x370)](_0x746188(0x1af)):_0x491b34['fill'](),_0x491b34[_0x746188(0x27c)]());}class _0x125201 extends _0x484459['Shape']{constructor(_0x29ae1d,_0x41c855){const _0xe816bc=_0x217d29;super(_0x29ae1d,_0x41c855),_0x3bb6e5(this,_0xe816bc(0x303)),_0x3bb6e5(this,_0xe816bc(0x2e2)),(this[_0xe816bc(0x303)]=_0x41c855==null?void 0x0:_0x41c855[_0xe816bc(0x303)],this['text']=_0x41c855==null?void 0x0:_0x41c855[_0xe816bc(0x2e2)]);}static['drawWith'](_0x1f59f0,_0x36119a){const _0x41dc52=_0x217d29,{text:_0x4eddc5,color:_0x28ec9b}=_0x36119a;_0x1f59f0[_0x41dc52(0x19e)](),_0x1f59f0[_0x41dc52(0x2c2)]=_0x41dc52(0x33d);const _0x5528ec=_0x1f59f0[_0x41dc52(0x2b3)](_0x4eddc5)[_0x41dc52(0x207)],_0x2cbbf1=Math[_0x41dc52(0x292)](_0x5528ec+0x2*_0x3aa789,_0x14f3bd);_0x369747(_0x1f59f0,{'height':_0x5812d5,'radius':0x4,'width':_0x2cbbf1,'fill':_0x28ec9b}),_0x1f59f0[_0x41dc52(0x25a)]=_0x41dc52(0x353);const _0x425e52=_0x3aa789,_0x5c5121=_0x5812d5-_0x5eb351,_0x5f1d38=_0x14f3bd-0x2*_0x3aa789;if(_0x5528ec>_0x5f1d38){let _0x81714b='',_0x168e35=0x0;for(const _0x384fd4 of _0x4eddc5){const _0x4efb39=_0x1f59f0[_0x41dc52(0x2b3)](_0x384fd4)[_0x41dc52(0x207)];if(_0x168e35+_0x4efb39<=_0x5f1d38-_0x1f59f0[_0x41dc52(0x2b3)](_0x41dc52(0xfe))[_0x41dc52(0x207)])_0x81714b+=_0x384fd4,_0x168e35+=_0x4efb39;else{_0x81714b+=_0x41dc52(0xfe);break;}}_0x1f59f0[_0x41dc52(0x203)](_0x81714b,_0x425e52,_0x5c5121);}else _0x1f59f0[_0x41dc52(0x203)](_0x4eddc5,_0x425e52,_0x5c5121);_0x1f59f0[_0x41dc52(0x27c)]();}[_0x217d29(0x26b)](_0x32b089){const _0x583508=_0x217d29;_0x125201[_0x583508(0xe5)](_0x32b089,this);}}const _0x3ceed6='collab-text-anchor-',_0x541690=_0x217d29(0x10b),_0x1c19c0=_0x217d29(0x31e),_0x42b6c8=0x6,_0x2e3020=1.5,_0x2efcd3=0x4,_0x1422a4=1.5,_0x15606a=_0x217d29(0x2dc);class _0x55c67b{constructor(_0x59c5d2,_0x3f2ac4,_0x579070,_0x38919a){const _0x2d780a=_0x217d29;_0x3bb6e5(this,_0x2d780a(0x2e0),[]),_0x3bb6e5(this,_0x2d780a(0x2aa),null),_0x3bb6e5(this,_0x2d780a(0x35c),null),_0x3bb6e5(this,_0x2d780a(0x2ba),null),_0x3bb6e5(this,_0x2d780a(0x33c),null),_0x3bb6e5(this,_0x2d780a(0x324),null),(this['_cursor']=_0x59c5d2,this['_scene']=_0x3f2ac4,this[_0x2d780a(0x376)]=_0x579070,this['_document']=_0x38919a,this[_0x2d780a(0x24c)]());}set[_0x217d29(0xdd)](_0x784c5f){const _0x537b52=_0x217d29;_0x784c5f?(this['_anchorDot']&&this[_0x537b52(0x2ba)][_0x537b52(0x1a9)](),this[_0x537b52(0x35c)]&&this[_0x537b52(0x35c)][_0x537b52(0x2f0)]()):(this[_0x537b52(0x2ba)]&&this[_0x537b52(0x2ba)][_0x537b52(0x2f0)](),this['_textBubble']&&this[_0x537b52(0x35c)][_0x537b52(0x1a9)]());}[_0x217d29(0x131)](){const _0x265932=_0x217d29;for(const _0x58312a of this[_0x265932(0x2e0)])_0x58312a[_0x265932(0x131)]();this[_0x265932(0x35c)]&&this[_0x265932(0x35c)][_0x265932(0x131)](),this['_anchorDot']&&this[_0x265932(0x2ba)][_0x265932(0x131)](),this['_anchor']&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x356b99=_0x217d29;var _0xfc3e8c;const {_docSkeleton:_0x4de6ab,_document:_0x2feb4f}=this,{color:_0x36db96,name:_0x4fbf2b,ranges:_0x51b92f}=this['_cursor'],_0x254a05=_0x2feb4f[_0x356b99(0x154)](),{docsLeft:_0x1ac859,docsTop:_0x474d5a}=_0x254a05,_0x2b6f3d=new _0x3a464b['NodePositionConvertToCursor'](_0x254a05,_0x4de6ab);for(const {startOffset:_0x3d69f2,endOffset:_0x4d8d6f,rangeType:_0x737f0b,segmentId:_0x4f1032,segmentPage:_0x31cb26,collapsed:_0xbb31cc,isActive:_0x537848}of _0x51b92f){const _0x43e9b0=_0x4de6ab[_0x356b99(0x283)](_0x3d69f2,!0x0,_0x4f1032,_0x31cb26);let _0x324301=_0x4de6ab[_0x356b99(0x283)](_0x4d8d6f,!0x0,_0x4f1032,_0x31cb26);if(_0x324301==null&&(_0x324301=_0x4de6ab[_0x356b99(0x283)](_0x4d8d6f-0x1,!0x1,_0x4f1032,_0x31cb26)),_0x537848){const {contentBoxPointGroup:_0x2e7806}=_0x2b6f3d[_0x356b99(0x26c)](_0x324301,_0x324301);if(_0x2e7806['length']===0x0)continue;this[_0x356b99(0x170)](_0x36db96,_0x2e7806,_0x1ac859,_0x474d5a,_0x4fbf2b),this[_0x356b99(0x324)]=this[_0x356b99(0x306)]();}if(_0x43e9b0&&_0x324301){if(_0x737f0b===_0x1a38be[_0x356b99(0x22e)][_0x356b99(0x134)]){const _0x4d61c8=new _0x3a464b[(_0x356b99(0x198))](_0x254a05,_0x4de6ab),{pointGroup:_0x3cf567}=(_0xfc3e8c=_0x4d61c8[_0x356b99(0x26c)](_0x43e9b0,_0x324301))!=null?_0xfc3e8c:{};if(_0x3cf567==null||_0x3cf567[_0x356b99(0x32b)]===0x0)continue;this['_drawRectRange'](_0x36db96,_0x3cf567,_0x1ac859,_0x474d5a);}else{if(!_0xbb31cc){const {borderBoxPointGroup:_0x12f7c2}=_0x2b6f3d[_0x356b99(0x26c)](_0x43e9b0,_0x324301);if(_0x12f7c2['length']===0x0)continue;this['_drawTextRange'](_0x36db96,_0x12f7c2,_0x1ac859,_0x474d5a);}}}}}[_0x217d29(0x170)](_0x27d328,_0x5480bb,_0x21073f,_0x24ccd2,_0x476272){const _0x52f0e8=_0x217d29,_0x1e715b=this[_0x52f0e8(0x126)](_0x5480bb),{left:_0x2e5902,top:_0x1fe945,height:_0xa88f7e}=_0x1e715b,_0x2f4716=this[_0x52f0e8(0x2b5)](),_0x26666a=_0x1422a4/_0x2f4716,_0x3af90a=new _0x484459[(_0x52f0e8(0x13d))](_0x3ceed6+_0x1a38be[_0x52f0e8(0x357)][_0x52f0e8(0x139)](_0x42b6c8),{'left':_0x2e5902+_0x21073f-_0x26666a,'top':_0x1fe945+_0x24ccd2,'height':_0xa88f7e,'width':_0x2e3020,'fill':_0x27d328||_0x484459[_0x52f0e8(0x157)](_0x1a38be[_0x52f0e8(0x281)][_0x52f0e8(0x10e)],0x0),'strokeWidth':_0x26666a,'stroke':_0x15606a,'evented':!0x0});this['_anchor']=_0x3af90a,this[_0x52f0e8(0x195)][_0x52f0e8(0x17b)](_0x3af90a,_0x3a464b[_0x52f0e8(0x17e)]);const _0x2ee2e4=new _0x484459[(_0x52f0e8(0x13d))](_0x3ceed6+_0x1a38be['Tools'][_0x52f0e8(0x139)](_0x42b6c8),{'left':_0x2e5902+_0x21073f-_0x26666a,'top':_0x1fe945+_0x24ccd2-_0x2efcd3/0x2,'height':_0x2efcd3,'width':_0x2efcd3,'fill':_0x27d328||_0x484459[_0x52f0e8(0x157)](_0x1a38be[_0x52f0e8(0x281)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x27d328||_0x484459[_0x52f0e8(0x157)](_0x1a38be[_0x52f0e8(0x281)][_0x52f0e8(0x10e)],0x0),'evented':!0x1});this[_0x52f0e8(0x2ba)]=_0x2ee2e4,this['_scene'][_0x52f0e8(0x17b)](_0x2ee2e4,_0x3a464b[_0x52f0e8(0x17e)]);const _0x1e1eca=new _0x125201(_0x3ceed6+_0x1a38be[_0x52f0e8(0x357)]['generateRandomId'](_0x42b6c8),{'left':_0x2e5902+_0x21073f-_0x26666a,'top':_0x1fe945+_0x24ccd2-_0x5812d5,'text':_0x476272,'color':_0x27d328});this[_0x52f0e8(0x35c)]=_0x1e1eca,this[_0x52f0e8(0x195)][_0x52f0e8(0x17b)](_0x1e1eca,_0x3a464b['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x217d29(0x306)](){const _0x4ad299=_0x217d29,_0x5b5e8d=this[_0x4ad299(0x2aa)]['onPointerEnter$'][_0x4ad299(0x2c1)](()=>{const _0x521dff=_0x4ad299;this[_0x521dff(0xdd)]=!0x0;}),_0x567f6a=this[_0x4ad299(0x2aa)][_0x4ad299(0x136)][_0x4ad299(0x2c1)](()=>{const _0x18403a=_0x4ad299;this[_0x18403a(0x33c)]&&clearTimeout(this[_0x18403a(0x33c)]),this[_0x18403a(0x33c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x175291=_0x4ad299;_0x5b5e8d[_0x175291(0x1c3)](),_0x567f6a[_0x175291(0x1c3)]();};}['_drawTextRange'](_0x29d74a,_0x5d4806,_0x59474d,_0x4c5ed1){const _0x1bb1f3=_0x217d29,_0xc373f=new _0x1a38be[(_0x1bb1f3(0xe0))](_0x29d74a)[_0x1bb1f3(0x329)](0.2)[_0x1bb1f3(0x2cc)](),_0x305e8f=new _0x484459[(_0x1bb1f3(0x13f))](_0x541690+_0x1a38be[_0x1bb1f3(0x357)][_0x1bb1f3(0x139)](_0x42b6c8),{'pointsGroup':_0x5d4806,'fill':_0xc373f||_0x484459[_0x1bb1f3(0x157)](_0x1a38be['COLORS'][_0x1bb1f3(0x10e)],0.2),'left':_0x59474d,'top':_0x4c5ed1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bb1f3(0x2e0)][_0x1bb1f3(0x27f)](_0x305e8f),this[_0x1bb1f3(0x195)][_0x1bb1f3(0x17b)](_0x305e8f,_0x3a464b['TEXT_RANGE_LAYER_INDEX']);}[_0x217d29(0x230)](_0x530db5,_0xe7121b,_0x191474,_0x33bd6b){const _0x284c15=_0x217d29,_0x366536=new _0x1a38be[(_0x284c15(0xe0))](_0x530db5)['setAlpha'](0.2)[_0x284c15(0x2cc)](),_0x1a3bca=new _0x484459[(_0x284c15(0x13f))](_0x1c19c0+_0x1a38be[_0x284c15(0x357)][_0x284c15(0x139)](_0x42b6c8),{'pointsGroup':_0xe7121b,'fill':_0x366536||_0x484459[_0x284c15(0x157)](_0x1a38be[_0x284c15(0x281)]['black'],0.2),'left':_0x191474,'top':_0x33bd6b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x284c15(0x2e0)][_0x284c15(0x27f)](_0x1a3bca),this[_0x284c15(0x195)][_0x284c15(0x17b)](_0x1a3bca,_0x3a464b[_0x284c15(0x17e)]);}['_getAnchorBounding'](_0x953322){const _0x1169c1=_0x953322[0x0],_0x38c410=_0x1169c1[0x0],_0x533ae9=_0x1169c1[0x2],{x:_0x5d0d0d,y:_0x553217}=_0x38c410,{x:_0x2c58e5,y:_0x3251c1}=_0x533ae9;return{'left':_0x5d0d0d,'top':_0x553217,'width':_0x2c58e5-_0x5d0d0d,'height':_0x3251c1-_0x553217};}[_0x217d29(0x2b5)](){const _0x2900e7=_0x217d29,{scaleX:_0x3ad63a,scaleY:_0x122568}=this[_0x2900e7(0x195)][_0x2900e7(0x263)]();return Math[_0x2900e7(0x1c4)](_0x3ad63a,_0x122568);}}var _0x345a1b=Object[_0x217d29(0x2cf)],_0x5bbf4a=(_0x38afbb,_0x17176e,_0x507bbe,_0x960e26)=>{const _0x498719=_0x217d29;for(var _0x5f25aa=_0x960e26>0x1?void 0x0:_0x960e26?_0x345a1b(_0x17176e,_0x507bbe):_0x17176e,_0x169ed9=_0x38afbb[_0x498719(0x32b)]-0x1,_0x238f4b;_0x169ed9>=0x0;_0x169ed9--)(_0x238f4b=_0x38afbb[_0x169ed9])&&(_0x5f25aa=_0x238f4b(_0x5f25aa)||_0x5f25aa);return _0x5f25aa;},_0x1eea7b=(_0x574e77,_0x40f10e)=>(_0x57ffb7,_0x404068)=>_0x40f10e(_0x57ffb7,_0x404068,_0x574e77);let _0x233ea2=class extends _0x1a38be[_0x217d29(0x21d)]{constructor(_0x385f3a,_0x147979,_0x371675,_0x52289e,_0x16294c){const _0x3e73e2=_0x217d29;super(),_0x3bb6e5(this,'_cursorShapes',[]),_0x3bb6e5(this,_0x3e73e2(0x337),[]),(this[_0x3e73e2(0x2e5)]=_0x385f3a,this['_docSkeletonManagerService']=_0x147979,this[_0x3e73e2(0x267)]=_0x371675,this[_0x3e73e2(0x108)]=_0x52289e,this[_0x3e73e2(0x2a8)]=_0x16294c,this[_0x3e73e2(0x1ab)]());}[_0x217d29(0x1ab)](){const _0x5966a3=_0x217d29,_0xe36ec8=this[_0x5966a3(0x2e5)][_0x5966a3(0x167)],_0x4e340f=this[_0x5966a3(0x214)];this[_0x5966a3(0x354)](_0x1a8034[_0x5966a3(0xfd)]([this[_0x5966a3(0x267)]['getCollabCursors$'](_0xe36ec8),this[_0x5966a3(0x2a8)][_0x5966a3(0x311)]])[_0x5966a3(0x30f)](_0x27f687[_0x5966a3(0x116)](([_0x225897,_0xce608f])=>({'skeleton':_0x4e340f[_0x5966a3(0x1b5)](),'cursors':[..._0x225897['values']()][_0x5966a3(0xf7)](_0x1ef3a7=>({..._0x1ef3a7,'color':_0xce608f[_0x1ef3a7[_0x5966a3(0x303)]]}))})))[_0x5966a3(0x190)](_0x1b488a=>{const _0x54b8ed=_0x5966a3;if(this[_0x54b8ed(0x225)](),_0x1b488a){const {skeleton:_0x86fd7b,cursors:_0x3de024}=_0x1b488a;this['_updateCollabCursors'](_0x86fd7b,_0x3de024);}})),this[_0x5966a3(0xf4)](),this[_0x5966a3(0x333)]();}['_updateCollabCursors'](_0x374b0e,_0x4cc32d){const _0x46e854=_0x217d29,{scene:_0x470b53,mainComponent:_0xde04c4}=this[_0x46e854(0x2e5)],_0x2e7128=_0x4cc32d[_0x46e854(0x116)](_0x4aa4ef=>new _0x55c67b(_0x4aa4ef,_0x470b53,_0x374b0e,_0xde04c4));this[_0x46e854(0x350)]=_0x2e7128,this[_0x46e854(0x337)]=_0x4cc32d;}[_0x217d29(0x133)](){const _0x3497b4=_0x217d29;this[_0x3497b4(0x225)]();const {scene:_0x109e76,mainComponent:_0x3288b9}=this[_0x3497b4(0x2e5)],_0x49b14a=this['_docSkeletonManagerService'][_0x3497b4(0x1b5)](),_0x24c736=this[_0x3497b4(0x337)]['map'](_0x3e6558=>new _0x55c67b(_0x3e6558,_0x109e76,_0x49b14a,_0x3288b9));this['_cursorShapes']=_0x24c736;}[_0x217d29(0x225)](){const _0x5a5f5e=_0x217d29;this[_0x5a5f5e(0x350)][_0x5a5f5e(0x1a2)](_0x4ec112=>_0x4ec112[_0x5a5f5e(0x131)]()),this[_0x5a5f5e(0x350)]=[];}[_0x217d29(0x333)](){const _0x1b1d50=_0x217d29,_0x5905cd=[_0x3a464b['SetDocZoomRatioOperation']['id']];this[_0x1b1d50(0x354)](this['_commandService'][_0x1b1d50(0x32d)](_0x55a7ce=>{const _0x5d1741=_0x1b1d50;_0x5905cd[_0x5d1741(0x2b1)](_0x55a7ce['id'])&&_0x55a7ce['params'][_0x5d1741(0x167)]===this[_0x5d1741(0x2e5)][_0x5d1741(0x167)]&&this['_refreshCollabCursors']();}));}[_0x217d29(0xf4)](){const _0x42b9b3=_0x217d29;this[_0x42b9b3(0x354)](_0x1a38be[_0x42b9b3(0x17a)](this['_context'][_0x42b9b3(0x194)]['onTransformChange$'])[_0x42b9b3(0x30f)](_0x27f687[_0x42b9b3(0x30c)](_0x203f5d=>_0x203f5d[_0x42b9b3(0x366)]===_0x484459[_0x42b9b3(0x349)]['resize']),_0x27f687['throttleTime'](0x10))[_0x42b9b3(0x190)](()=>{this['_refreshCollabCursors']();}));}};_0x233ea2=_0x5bbf4a([_0x1eea7b(0x1,_0x1a38be[_0x217d29(0x2e4)](_0xd73796[_0x217d29(0x30a)])),_0x1eea7b(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x561858)),_0x1eea7b(0x3,_0x1a38be[_0x217d29(0x365)]),_0x1eea7b(0x4,_0x1a38be['Inject'](_0x1a38be['ThemeService']))],_0x233ea2);const _0x4a1496=0x1,_0x54a671=1.5;class _0x455229 extends _0x484459[_0x217d29(0x148)]{constructor(_0x4a9abf,_0x4f38c2){const _0x3e60d2=_0x217d29;super(_0x4a9abf,_0x4f38c2),_0x3bb6e5(this,_0x3e60d2(0x2f3)),_0x3bb6e5(this,'_hovered',!0x1),_0x3bb6e5(this,_0x3e60d2(0xe7)),_0x3bb6e5(this,_0x3e60d2(0x11b),''),_0x3bb6e5(this,'_labelPosition',_0x3e60d2(0x294)),_0x3bb6e5(this,'_backgroundColor'),(_0x4f38c2&&this[_0x3e60d2(0x282)](_0x4f38c2),this[_0x3e60d2(0x155)][_0x3e60d2(0x2c1)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3e60d2(0x136)][_0x3e60d2(0x2c1)](()=>this[_0x3e60d2(0x282)]({'hovered':!0x1})));}[_0x217d29(0x282)](_0xf0cf27){const _0x1f47f5=_0x217d29;var _0x331866,_0x5308cf,_0x234e6a,_0x5cbade,_0x311a70,_0xf2f87d;this[_0x1f47f5(0x2f3)]=(_0x331866=_0xf0cf27['color'])!=null?_0x331866:this[_0x1f47f5(0x2f3)],this['_hovered']=(_0x5308cf=_0xf0cf27[_0x1f47f5(0x33b)])!=null?_0x5308cf:this[_0x1f47f5(0x34e)],this['_range']=(_0x234e6a=_0xf0cf27[_0x1f47f5(0x373)])!=null?_0x234e6a:this[_0x1f47f5(0xe7)],this[_0x1f47f5(0x11b)]=(_0x5cbade=_0xf0cf27[_0x1f47f5(0x231)])!=null?_0x5cbade:this[_0x1f47f5(0x11b)],this[_0x1f47f5(0xf1)]=(_0x311a70=_0xf0cf27['labelPosition'])!=null?_0x311a70:this[_0x1f47f5(0xf1)],this[_0x1f47f5(0x32f)]=(_0xf2f87d=_0xf0cf27[_0x1f47f5(0x25d)])!=null?_0xf2f87d:this[_0x1f47f5(0x32f)],this[_0x1f47f5(0x309)]({'width':_0xf0cf27[_0x1f47f5(0x207)],'height':_0xf0cf27['height']});}[_0x217d29(0x279)](_0x5d3b93){const _0x5f00e8=_0x217d29,{row:_0x37137e,column:_0x59a74e}=_0x5d3b93;if(_0x37137e>=this[_0x5f00e8(0xe7)][_0x5f00e8(0xe1)]&&_0x37137e<=this['_range']['endRow']&&_0x59a74e>=this[_0x5f00e8(0xe7)][_0x5f00e8(0x346)]&&_0x59a74e<=this[_0x5f00e8(0xe7)][_0x5f00e8(0x1ff)]){this[_0x5f00e8(0x282)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x41b102){return!0x1;}['_draw'](_0x473ace){const _0x548b6c=_0x217d29;_0x484459[_0x548b6c(0x13d)]['drawWith'](_0x473ace,{'width':this[_0x548b6c(0x207)],'height':this[_0x548b6c(0x1da)],'strokeWidth':_0x54a671,'stroke':this[_0x548b6c(0x2f3)],'evented':!0x1,'fill':this[_0x548b6c(0x32f)]}),this[_0x548b6c(0x34e)]&&(_0x473ace[_0x548b6c(0x19e)](),_0x473ace[_0x548b6c(0x1bd)](0x1,0x0,0x0,0x1,this[_0x548b6c(0x207)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x125201['drawWith'](_0x473ace,{'text':this['_name'],'color':this[_0x548b6c(0x2f3)]}),_0x473ace[_0x548b6c(0x27c)]());}}var _0x46b592=Object['getOwnPropertyDescriptor'],_0x116c8b=(_0xb91cca,_0x15d473,_0x3af8ec,_0x24efb8)=>{const _0x3a8c73=_0x217d29;for(var _0x52abdc=_0x24efb8>0x1?void 0x0:_0x24efb8?_0x46b592(_0x15d473,_0x3af8ec):_0x15d473,_0x5d80e0=_0xb91cca[_0x3a8c73(0x32b)]-0x1,_0x484e8b;_0x5d80e0>=0x0;_0x5d80e0--)(_0x484e8b=_0xb91cca[_0x5d80e0])&&(_0x52abdc=_0x484e8b(_0x52abdc)||_0x52abdc);return _0x52abdc;},_0x20e8d8=(_0x82ecea,_0x318e76)=>(_0x31f3c0,_0x39ed93)=>_0x318e76(_0x31f3c0,_0x39ed93,_0x82ecea);const _0x29c270=0x1389;let _0x4fc7cc=class extends _0x1a38be[_0x217d29(0x21d)]{constructor(_0x5e54eb,_0x548520,_0x557763,_0x209173){const _0x1c4803=_0x217d29;super(),_0x3bb6e5(this,_0x1c4803(0x337),new Set()),_0x3bb6e5(this,'_lastPointer',null),(this[_0x1c4803(0x2e5)]=_0x5e54eb,this[_0x1c4803(0x288)]=_0x548520,this[_0x1c4803(0x267)]=_0x557763,this['_themeService']=_0x209173,this['_init']());}[_0x217d29(0x1ab)](){const _0x25d205=_0x217d29;this[_0x25d205(0x288)][_0x25d205(0x33e)][_0x25d205(0x30f)](_0x27f687['takeUntil'](this[_0x25d205(0x1a1)]),_0x27f687[_0x25d205(0x317)](_0x324184=>{const _0x42fd2a=_0x25d205;if(_0x324184){const _0x321502=_0x324184['sheetId'];return _0x1a8034[_0x42fd2a(0xfd)](this[_0x42fd2a(0x267)][_0x42fd2a(0x199)](this['_context']['unitId']),this['_themeService'][_0x42fd2a(0x311)])[_0x42fd2a(0x30f)](_0x27f687[_0x42fd2a(0x116)](([_0x4cf2a3,_0x383a8d])=>{const _0x54542e=_0x42fd2a,_0x1b01a4=new Map();return _0x4cf2a3[_0x54542e(0x1a2)]((_0x274051,_0x3b121e)=>{const _0x20dd30=_0x54542e;if(_0x274051[_0x20dd30(0x1e5)]===_0x321502){const _0x10e6b2={..._0x274051};_0x10e6b2[_0x20dd30(0x303)]=_0x383a8d[_0x274051[_0x20dd30(0x303)]],_0x1b01a4[_0x20dd30(0x28b)](_0x3b121e,_0x10e6b2);}}),{'skeleton':_0x324184,'cursors':_0x1b01a4};}));}return _0x1a8034['of']({'skeleton':null,'cursors':new Map()});}))[_0x25d205(0x190)](({skeleton:_0x598a49,cursors:_0x45e087})=>{const _0x3f1ba0=_0x25d205;this[_0x3f1ba0(0x225)](),_0x598a49&&this[_0x3f1ba0(0xef)](_0x598a49,_0x45e087);}),this['_sheetSkeletonManagerService'][_0x25d205(0x33e)]['subscribe'](_0x2893bb=>{const _0x1b1de7=_0x25d205;if(_0x2893bb==null)return;const {skeleton:_0x46bddb}=_0x2893bb,{scene:_0x397eeb}=this[_0x1b1de7(0x2e5)];_0x397eeb['onPointerMove$']['subscribeEvent'](_0x1a38be[_0x1b1de7(0x1df)](_0x181417=>{const _0x441241=_0x1b1de7;var _0x377b46,_0x53fcb9;const {offsetX:_0x5a5e31,offsetY:_0xd9650b}=_0x181417,{x:_0x34d14a,y:_0x5bca13}=_0x397eeb['getRelativeToViewportCoord'](_0x484459['Vector2'][_0x441241(0x27a)]([_0x5a5e31,_0xd9650b])),{scaleX:_0x1c7d57,scaleY:_0x29b245}=_0x397eeb[_0x441241(0x263)](),_0x49e959=_0x397eeb[_0x441241(0x21e)](_0x484459[_0x441241(0x2a0)][_0x441241(0x1f1)]),_0x811401=_0x397eeb['getVpScrollXYInfoByPosToVp'](_0x484459[_0x441241(0x36c)][_0x441241(0x27a)]([_0x34d14a,_0x5bca13]),_0x49e959),_0x3f93e5=_0x46bddb[_0x441241(0x369)](_0x5a5e31,_0xd9650b,_0x1c7d57,_0x29b245,_0x811401);((_0x377b46=this['_lastPointer'])==null?void 0x0:_0x377b46[_0x441241(0x176)])===_0x3f93e5[_0x441241(0x176)]&&((_0x53fcb9=this[_0x441241(0x241)])==null?void 0x0:_0x53fcb9[_0x441241(0x276)])===_0x3f93e5[_0x441241(0x276)]||this[_0x441241(0x337)][_0x441241(0x1a2)](_0x37f077=>{const _0x5cf433=_0x441241;_0x37f077[_0x5cf433(0x279)](_0x3f93e5);});},0x64));});}['_updateCollabCursors'](_0x397417,_0x86c02){const _0x47583c=_0x217d29;var _0x3a4c8f;const _0x166cf1=(_0x3a4c8f=this[_0x47583c(0x288)][_0x47583c(0x315)]())==null?void 0x0:_0x3a4c8f[_0x47583c(0x1f7)];if(!_0x166cf1)return;const _0x3d1064=this[_0x47583c(0x1c5)]();if(!_0x3d1064)return;this[_0x47583c(0x337)]['forEach'](_0x19fe27=>{const _0x3c9ca4=_0x47583c;_0x19fe27[_0x3c9ca4(0x2ea)]();});const {scene:_0x5c59eb}=_0x3d1064,_0x266f70=_0x156265(Array[_0x47583c(0x249)](_0x86c02[_0x47583c(0x115)]()))['map'](_0x14d9bc=>{const _0x14cf35=_0x47583c,{color:_0x2365c6,range:_0x3520a7,name:_0x548ad4,selection:_0x3c6305,sheetID:_0x24006d}=_0x14d9bc,{startColumn:_0x29d9ff,startRow:_0x52d436,endColumn:_0x4931a5,endRow:_0x12204e}=_0x3520a7,_0x4f087d=_0x48ab1c[_0x14cf35(0x248)](_0x52d436,_0x29d9ff,_0x5c59eb,_0x166cf1),_0x5a721e=_0x48ab1c['getCoordByCell'](_0x12204e,_0x4931a5,_0x5c59eb,_0x166cf1),{columnHeaderHeightAndMarginTop:_0x127e00}=_0x166cf1,{startX:_0x4a17a4,startY:_0x26fd4a}=_0x4f087d,{endX:_0x123011,endY:_0x2d2fc6}=_0x5a721e,_0x463fba=_0x123011-_0x4a17a4,_0x506b51=_0x2d2fc6-_0x26fd4a,_0x3e8acb={'labelPosition':_0x26fd4a-_0x127e00>=_0x5812d5?_0x14cf35(0x294):_0x14cf35(0xe3),'sheetID':_0x24006d,'range':_0x3520a7,'color':_0x2365c6,'name':_0x548ad4,'selection':_0x3c6305,'left':_0x4a17a4,'top':_0x26fd4a,'width':_0x463fba,'height':_0x506b51,'evented':!0x1,'zIndex':_0x29c270};return new _0x455229(_0x548ad4,_0x3e8acb);});_0x5c59eb[_0x47583c(0x29b)](_0x266f70,_0x4a1496),this[_0x47583c(0x337)]=new Set(_0x266f70);}[_0x217d29(0x225)](){const _0x14826a=_0x217d29;var _0x37d194;(_0x37d194=this[_0x14826a(0x337)])==null||_0x37d194[_0x14826a(0x1a2)](_0x6e3098=>_0x6e3098[_0x14826a(0x131)]());}[_0x217d29(0x1c5)](){const _0x27a008=_0x217d29;return _0x48ab1c[_0x27a008(0x12f)](this[_0x27a008(0x2e5)][_0x27a008(0x29a)],this['_context']);}};_0x4fc7cc=_0x116c8b([_0x20e8d8(0x1,_0x1a38be[_0x217d29(0x2e4)](_0x48ab1c['SheetSkeletonManagerService'])),_0x20e8d8(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x561858)),_0x20e8d8(0x3,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be['ThemeService']))],_0x4fc7cc);function _0x156265(_0x30b4a8){const _0x1e23bd=_0x217d29,_0x3fbf4f=new Map();return _0x30b4a8[_0x1e23bd(0x1a2)](_0x424109=>{const _0x4fea67=_0x1e23bd;if(_0x3fbf4f[_0x4fea67(0x20a)](_0x424109[_0x4fea67(0x302)])){const _0x249113=_0x3fbf4f[_0x4fea67(0x2ab)](_0x424109[_0x4fea67(0x302)]);_0x249113['name']+=',\x20'+_0x424109['name'];}else _0x3fbf4f[_0x4fea67(0x28b)](_0x424109[_0x4fea67(0x302)],_0x424109);}),Array[_0x1e23bd(0x249)](_0x3fbf4f[_0x1e23bd(0x115)]());}var _0x5b8efb=function(){const _0x4333f9=_0x217d29;return _0x5b8efb=Object[_0x4333f9(0x321)]||function(_0x57954f){const _0x3fba55=_0x4333f9;for(var _0x2c99d7,_0x2d9579=0x1,_0x2bd1f2=arguments[_0x3fba55(0x32b)];_0x2d9579<_0x2bd1f2;_0x2d9579++){_0x2c99d7=arguments[_0x2d9579];for(var _0x36382d in _0x2c99d7)Object[_0x3fba55(0x352)]['hasOwnProperty'][_0x3fba55(0x1e7)](_0x2c99d7,_0x36382d)&&(_0x57954f[_0x36382d]=_0x2c99d7[_0x36382d]);}return _0x57954f;},_0x5b8efb['apply'](this,arguments);},_0xbfb377=function(_0x78f3c2,_0x4e852f){const _0x765644=_0x217d29;var _0x23e093={};for(var _0x303367 in _0x78f3c2)Object['prototype']['hasOwnProperty'][_0x765644(0x1e7)](_0x78f3c2,_0x303367)&&_0x4e852f[_0x765644(0xe8)](_0x303367)<0x0&&(_0x23e093[_0x303367]=_0x78f3c2[_0x303367]);if(_0x78f3c2!=null&&typeof Object['getOwnPropertySymbols']==_0x765644(0x1c9)){for(var _0xbfb6f1=0x0,_0x303367=Object[_0x765644(0x1b7)](_0x78f3c2);_0xbfb6f1<_0x303367['length'];_0xbfb6f1++)_0x4e852f[_0x765644(0xe8)](_0x303367[_0xbfb6f1])<0x0&&Object[_0x765644(0x352)]['propertyIsEnumerable'][_0x765644(0x1e7)](_0x78f3c2,_0x303367[_0xbfb6f1])&&(_0x23e093[_0x303367[_0xbfb6f1]]=_0x78f3c2[_0x303367[_0xbfb6f1]]);}return _0x23e093;},_0x1d3f25=_0xc8b1c9[_0x217d29(0x16b)](function(_0x4a4afe,_0x32c01c){const _0x1c9b45=_0x217d29;var _0x4dd8a6=_0x4a4afe[_0x1c9b45(0x300)],_0x3c8c64=_0x4a4afe['id'],_0xc32fec=_0x4a4afe[_0x1c9b45(0x1f4)],_0x47c4b3=_0x4a4afe[_0x1c9b45(0x245)],_0x5b8ef6=_0xbfb377(_0x4a4afe,[_0x1c9b45(0x300),'id',_0x1c9b45(0x1f4),_0x1c9b45(0x245)]),_0x3af4aa=_0x1c9b45(0x28f)['concat'](_0x3c8c64,'\x20')[_0x1c9b45(0x1d3)](_0xc32fec||'')[_0x1c9b45(0x274)](),_0x2ffe93=_0xc8b1c9[_0x1c9b45(0x1f0)]('_'[_0x1c9b45(0x1d3)](_0x5be930()));return _0x2ead45(_0x4dd8a6,''['concat'](_0x3c8c64),{'defIds':_0x4dd8a6[_0x1c9b45(0x20d)],'idSuffix':_0x2ffe93['current']},_0x5b8efb({'ref':_0x32c01c,'className':_0x3af4aa},_0x5b8ef6),_0x47c4b3);});function _0x2ead45(_0x47965f,_0x1aa65d,_0x335d36,_0xc367c8,_0x3e6391){const _0x105791=_0x217d29;return _0xc8b1c9['createElement'](_0x47965f[_0x105791(0x156)],_0x5b8efb(_0x5b8efb({'key':_0x1aa65d},_0x13e85c(_0x47965f,_0x335d36,_0x3e6391)),_0xc367c8),(_0x1515a2(_0x47965f,_0x335d36)[_0x105791(0x209)]||[])[_0x105791(0x116)](function(_0x44bd6b,_0x1c3049){const _0x5d7f60=_0x105791;return _0x2ead45(_0x44bd6b,''['concat'](_0x1aa65d,'-')[_0x5d7f60(0x1d3)](_0x47965f[_0x5d7f60(0x156)],'-')[_0x5d7f60(0x1d3)](_0x1c3049),_0x335d36,void 0x0,_0x3e6391);}));}function _0x13e85c(_0x2b2584,_0xcb05e4,_0x2348cd){const _0x44dab8=_0x217d29;var _0xed06f6=_0x5b8efb({},_0x2b2584[_0x44dab8(0x360)]);_0x2348cd!=null&&_0x2348cd['colorChannel1']&&_0xed06f6[_0x44dab8(0x370)]==='colorChannel1'&&(_0xed06f6[_0x44dab8(0x370)]=_0x2348cd[_0x44dab8(0x2e3)]);var _0xa3ee1f=_0xcb05e4[_0x44dab8(0x20d)];return!_0xa3ee1f||_0xa3ee1f['length']===0x0||(_0x2b2584[_0x44dab8(0x156)]==='use'&&_0xed06f6['xlink:href']&&(_0xed06f6[_0x44dab8(0x22a)]=_0xed06f6['xlink:href']+_0xcb05e4[_0x44dab8(0x197)]),Object[_0x44dab8(0x128)](_0xed06f6)[_0x44dab8(0x1a2)](function(_0x4db270){const _0x7f0619=_0x44dab8;var _0x2db495=_0x4db270[0x0],_0x49d36e=_0x4db270[0x1];typeof _0x49d36e==_0x7f0619(0x125)&&(_0xed06f6[_0x2db495]=_0x49d36e[_0x7f0619(0x149)](/url\(#(.*)\)/,_0x7f0619(0x2bf)[_0x7f0619(0x1d3)](_0xcb05e4[_0x7f0619(0x197)],')')));})),_0xed06f6;}function _0x1515a2(_0x4c3aba,_0x4c8bc5){const _0x5cdd16=_0x217d29;var _0x442b0e,_0x100edc=_0x4c8bc5[_0x5cdd16(0x20d)];return!_0x100edc||_0x100edc[_0x5cdd16(0x32b)]===0x0?_0x4c3aba:_0x4c3aba[_0x5cdd16(0x156)]==='defs'&&(!((_0x442b0e=_0x4c3aba[_0x5cdd16(0x209)])===null||_0x442b0e===void 0x0)&&_0x442b0e['length'])?_0x5b8efb(_0x5b8efb({},_0x4c3aba),{'children':_0x4c3aba['children'][_0x5cdd16(0x116)](function(_0x54bb90){const _0x416bbb=_0x5cdd16;return typeof _0x54bb90[_0x416bbb(0x360)]['id']==_0x416bbb(0x125)&&_0x100edc&&_0x100edc['indexOf'](_0x54bb90[_0x416bbb(0x360)]['id'])>-0x1?_0x5b8efb(_0x5b8efb({},_0x54bb90),{'attrs':_0x5b8efb(_0x5b8efb({},_0x54bb90['attrs']),{'id':_0x54bb90[_0x416bbb(0x360)]['id']+_0x4c8bc5[_0x416bbb(0x197)]})}):_0x54bb90;})}):_0x4c3aba;}function _0x5be930(){const _0x2ed8c1=_0x217d29;return Math[_0x2ed8c1(0x25e)]()['toString'](0x24)[_0x2ed8c1(0x238)](0x2,0x8);}_0x1d3f25[_0x217d29(0x14b)]=_0x217d29(0x1dd);var _0x5681a1={'tag':_0x217d29(0xe9),'attrs':{'fill':_0x217d29(0x1f9),'viewBox':_0x217d29(0x169),'width':_0x217d29(0x355),'height':_0x217d29(0x355)},'children':[{'tag':'g','attrs':{'clipPath':_0x217d29(0xfc)},'children':[{'tag':_0x217d29(0x268),'attrs':{'stroke':_0x217d29(0x113),'d':_0x217d29(0x13a),'strokeLinecap':_0x217d29(0x2d8),'strokeLinejoin':_0x217d29(0x2d8),'strokeWidth':1.2}}]},{'tag':_0x217d29(0x1ae),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x217d29(0x117)},'children':[{'tag':_0x217d29(0x268),'attrs':{'fill':_0x217d29(0x2db),'d':_0x217d29(0x2b7)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x9da71d=_0xc8b1c9[_0x217d29(0x16b)](function(_0x6a1c1f,_0x583c33){const _0x2fb308=_0x217d29;return _0xc8b1c9[_0x2fb308(0x18a)](_0x1d3f25,Object[_0x2fb308(0x321)]({},_0x6a1c1f,{'id':'off-line-single','ref':_0x583c33,'icon':_0x5681a1}));});_0x9da71d[_0x217d29(0x14b)]=_0x217d29(0x323);var _0x11aacc={'tag':_0x217d29(0xe9),'attrs':{'fill':_0x217d29(0x1f9),'viewBox':_0x217d29(0x307),'width':_0x217d29(0x355),'height':_0x217d29(0x355)},'children':[{'tag':'g','attrs':{'clipPath':_0x217d29(0x2fe)},'children':[{'tag':_0x217d29(0x268),'attrs':{'stroke':_0x217d29(0x113),'d':_0x217d29(0x235),'strokeLinecap':_0x217d29(0x2d8),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x217d29(0x1ae),'attrs':{},'children':[{'tag':_0x217d29(0x2a4),'attrs':{'id':_0x217d29(0x22d)},'children':[{'tag':_0x217d29(0x268),'attrs':{'fill':_0x217d29(0x2db),'d':_0x217d29(0x2b7),'transform':_0x217d29(0x2e6)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x2bc6c7=_0xc8b1c9[_0x217d29(0x16b)](function(_0x1f1398,_0x356deb){const _0x52dc7c=_0x217d29;return _0xc8b1c9[_0x52dc7c(0x18a)](_0x1d3f25,Object[_0x52dc7c(0x321)]({},_0x1f1398,{'id':_0x52dc7c(0x244),'ref':_0x356deb,'icon':_0x11aacc}));});_0x2bc6c7[_0x217d29(0x14b)]=_0x217d29(0x123);function _0x3eec65(_0x5ee78e){const _0x399a1d=_0x217d29;var _0x1b7e82,_0x14a187,_0x16ca26='';if(typeof _0x5ee78e=='string'||typeof _0x5ee78e=='number')_0x16ca26+=_0x5ee78e;else{if(typeof _0x5ee78e==_0x399a1d(0x1c0)){if(Array[_0x399a1d(0x103)](_0x5ee78e)){var _0x337483=_0x5ee78e['length'];for(_0x1b7e82=0x0;_0x1b7e82<_0x337483;_0x1b7e82++)_0x5ee78e[_0x1b7e82]&&(_0x14a187=_0x3eec65(_0x5ee78e[_0x1b7e82]))&&(_0x16ca26&&(_0x16ca26+='\x20'),_0x16ca26+=_0x14a187);}else{for(_0x14a187 in _0x5ee78e)_0x5ee78e[_0x14a187]&&(_0x16ca26&&(_0x16ca26+='\x20'),_0x16ca26+=_0x14a187);}}}return _0x16ca26;}function _0x1a4e8a(){const _0x6d544e=_0x217d29;for(var _0x5ec7ce,_0x2196d7,_0x24f9b0=0x0,_0x210e97='',_0x1b6c2c=arguments[_0x6d544e(0x32b)];_0x24f9b0<_0x1b6c2c;_0x24f9b0++)(_0x5ec7ce=arguments[_0x24f9b0])&&(_0x2196d7=_0x3eec65(_0x5ec7ce))&&(_0x210e97&&(_0x210e97+='\x20'),_0x210e97+=_0x2196d7);return _0x210e97;}const _0x1be92e={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x217d29(0x20b),'onlineStatus':'univer-online-status','online':_0x217d29(0x172),'offline':_0x217d29(0x189)};function _0x59a311(_0x12ac7c){const _0x3a4763=_0x217d29;switch(_0x12ac7c){case _0x414f9e[_0x3a4763(0x1a7)][_0x3a4763(0x320)]:return'collabStatus.offline';case _0x414f9e[_0x3a4763(0x1a7)][_0x3a4763(0x326)]:return _0x3a4763(0x2da);case _0x414f9e[_0x3a4763(0x1a7)]['FETCH_MISS']:return _0x3a4763(0x23c);case _0x414f9e['CollaborationStatus'][_0x3a4763(0x104)]:return'collabStatus.notCollab';case _0x414f9e['CollaborationStatus'][_0x3a4763(0x1b4)]:case _0x414f9e['CollaborationStatus'][_0x3a4763(0x258)]:return _0x3a4763(0x140);case _0x414f9e['CollaborationStatus'][_0x3a4763(0x173)]:case _0x414f9e['CollaborationStatus'][_0x3a4763(0x20e)]:return _0x3a4763(0x313);}}function _0x3179f7(_0x215242){const _0x279bb0=_0x217d29,{status$:_0x1e28e4}=_0x215242,_0x1dcc72=_0x11a888[_0x279bb0(0x35e)](_0x1e28e4,_0x414f9e['CollaborationStatus'][_0x279bb0(0x104)]),_0x237ece=_0x11a888['useDependency'](_0x1a38be[_0x279bb0(0x2f4)]),_0x240670=_0x11a888[_0x279bb0(0x23a)](_0x414f9e[_0x279bb0(0x20c)]),_0x136695=_0x1dcc72!==_0x414f9e['CollaborationStatus']['OFFLINE'],_0xcaf4dd=_0x237ece['t'](_0x59a311(_0x1dcc72)),_0x3b1ef7=_0x1a4e8a(_0x1be92e[_0x279bb0(0x12b)],{[_0x1be92e[_0x279bb0(0x319)]]:_0x136695,[_0x1be92e[_0x279bb0(0xf0)]]:!_0x136695}),_0x39047d=_0x136695?_0x3aaaae[_0x279bb0(0x212)](_0x2bc6c7,{}):_0x3aaaae[_0x279bb0(0x212)](_0x9da71d,{}),_0x14cee1=_0xc8b1c9[_0x279bb0(0x16d)](()=>{const _0xb69d2c=_0x279bb0;_0x136695||_0x240670[_0xb69d2c(0x272)]();},[_0x136695,_0x240670]);function _0x529123(){const _0x40ebce=_0x279bb0;return _0x3aaaae[_0x40ebce(0x256)](_0x40ebce(0x2f8),{'className':_0x1a4e8a(_0x3b1ef7,'univer-flex\x20univer-items-center'),'onClick':_0x14cee1,'children':[_0x3aaaae['jsx'](_0x40ebce(0x2f8),{'className':_0x1be92e[_0x40ebce(0x1d5)],'children':_0x39047d}),_0x3aaaae['jsx']('div',{'className':_0x1be92e[_0x40ebce(0x2ed)],'children':_0xcaf4dd})]});}return _0x136695?_0x529123():_0x3aaaae[_0x279bb0(0x212)](_0x37c605[_0x279bb0(0x368)],{'title':_0x237ece['t'](_0x279bb0(0x338)),'children':_0x529123()});}var _0x1282ad=Object[_0x217d29(0x2cf)],_0x311502=(_0x258772,_0x57cc0e,_0x13dff3,_0x188571)=>{const _0x297c1b=_0x217d29;for(var _0x19343a=_0x188571>0x1?void 0x0:_0x188571?_0x1282ad(_0x57cc0e,_0x13dff3):_0x57cc0e,_0xc4a04b=_0x258772[_0x297c1b(0x32b)]-0x1,_0x1454f5;_0xc4a04b>=0x0;_0xc4a04b--)(_0x1454f5=_0x258772[_0xc4a04b])&&(_0x19343a=_0x1454f5(_0x19343a)||_0x19343a);return _0x19343a;},_0x2ff8be=(_0x523049,_0x31dab7)=>(_0x10c3fc,_0x243692)=>_0x31dab7(_0x10c3fc,_0x243692,_0x523049);_0x1984a7[_0x217d29(0x233)]=class extends _0x1a38be[_0x217d29(0x234)]{constructor(_0x2ea561,_0x1ecbfe,_0x512f1e,_0x38c645){const _0x5f3835=_0x217d29;super(),_0x3bb6e5(this,'_status$',new _0x1a8034[(_0x5f3835(0x287))](_0x414f9e[_0x5f3835(0x1a7)][_0x5f3835(0x104)])),(this['_univerInstanceService']=_0x2ea561,this[_0x5f3835(0x359)]=_0x1ecbfe,this[_0x5f3835(0x266)]=_0x512f1e,this['_uiPartsService']=_0x38c645,this[_0x5f3835(0x1a0)](),this[_0x5f3835(0x34a)]());}[_0x217d29(0x34a)](){const _0x3f9b39=_0x217d29;this[_0x3f9b39(0x354)](this['_univerInstanceService']['focused$']['pipe'](_0x1a8034['switchMap'](()=>{const _0x2d7291=_0x3f9b39,_0x3be571=this['_univerInstanceService'][_0x2d7291(0x2ad)]();return _0x3be571?this[_0x2d7291(0x266)][_0x2d7291(0x2c6)](_0x3be571['getUnitId']()):_0x1a8034['of'](null);}),_0x1a8034[_0x3f9b39(0x317)](_0xc90baf=>_0xc90baf?_0xc90baf['status$']:_0x1a8034['of'](_0x414f9e[_0x3f9b39(0x1a7)][_0x3f9b39(0x104)])))[_0x3f9b39(0x190)](_0x39baba=>{const _0x49cca2=_0x3f9b39;this[_0x49cca2(0x345)][_0x49cca2(0x367)](_0x39baba);}));}['_initStatusComponent'](){const _0x385847=_0x217d29;this[_0x385847(0x354)](this[_0x385847(0xfa)][_0x385847(0x196)](_0x11a888[_0x385847(0x130)][_0x385847(0x361)],()=>_0x11a888[_0x385847(0x146)](_0x59d43a({'status$':this['_status$'][_0x385847(0x33f)]()}),this[_0x385847(0x359)])));}},_0x1984a7[_0x217d29(0x233)]=_0x311502([_0x2ff8be(0x0,_0x1a38be[_0x217d29(0x371)]),_0x2ff8be(0x1,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be[_0x217d29(0x332)])),_0x2ff8be(0x2,_0x1a38be['Inject'](_0x414f9e[_0x217d29(0x119)])),_0x2ff8be(0x3,_0x11a888[_0x217d29(0x330)])],_0x1984a7[_0x217d29(0x233)]);function _0x59d43a(_0x500c43){const {status$:_0x4f27e9}=_0x500c43;return function(){const _0x50dcd4=_0x4961;return _0x3aaaae[_0x50dcd4(0x212)](_0x3179f7,{'status$':_0x4f27e9});};}var _0x278326=Object['getOwnPropertyDescriptor'],_0x50b008=(_0x14cab3,_0xc10a8,_0x72f41,_0x2f0016)=>{const _0x359fb8=_0x217d29;for(var _0x5d8eef=_0x2f0016>0x1?void 0x0:_0x2f0016?_0x278326(_0xc10a8,_0x72f41):_0xc10a8,_0x5e9f48=_0x14cab3[_0x359fb8(0x32b)]-0x1,_0x38a1d1;_0x5e9f48>=0x0;_0x5e9f48--)(_0x38a1d1=_0x14cab3[_0x5e9f48])&&(_0x5d8eef=_0x38a1d1(_0x5d8eef)||_0x5d8eef);return _0x5d8eef;},_0x42dd67=(_0x3a6f38,_0x4271c8)=>(_0x3e3ab1,_0x48b92c)=>_0x4271c8(_0x3e3ab1,_0x48b92c,_0x3a6f38);let _0x27f041=class extends _0x1a38be['Disposable']{constructor(_0x4a8193,_0x11a40e,_0x582b3f,_0xfc3e8a,_0x21691d,_0x31f142){const _0x111e71=_0x217d29;super(),this[_0x111e71(0x2b2)]=_0x4a8193,this[_0x111e71(0x291)]=_0x11a40e,this[_0x111e71(0x101)]=_0x582b3f,this[_0x111e71(0x166)]=_0xfc3e8a,this[_0x111e71(0x301)]=_0x21691d,this[_0x111e71(0x2dd)]=_0x31f142,this[_0x111e71(0x2cd)](),this[_0x111e71(0x2f9)]();}[_0x217d29(0x2cd)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x316749=_0x4961;if(this[_0x316749(0x291)][_0x316749(0x16e)]['size'])return this[_0x316749(0x2dd)]['t'](_0x316749(0x270));}));}[_0x217d29(0x2f9)](){const _0x37b7aa=_0x217d29;this['disposeWithMe'](this[_0x37b7aa(0x101)][_0x37b7aa(0x358)][_0x37b7aa(0x190)](_0x5768df=>{const _0xa1ccf1=_0x37b7aa;_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)][_0xa1ccf1(0xdf)]&&this[_0xa1ccf1(0x166)][_0xa1ccf1(0x2f0)]({'type':_0x37c605[_0xa1ccf1(0x237)][_0xa1ccf1(0x31d)],'content':this['_localeService']['t'](_0xa1ccf1(0x191))}),_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)][_0xa1ccf1(0x143)]&&this['_messageService'][_0xa1ccf1(0x2f0)]({'type':_0x37c605['MessageType'][_0xa1ccf1(0x31d)],'content':this[_0xa1ccf1(0x2dd)]['t'](_0xa1ccf1(0x19c))}),_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)]['PERMISSION_DENIED']&&this[_0xa1ccf1(0x301)][_0xa1ccf1(0x2f0)]({'title':this[_0xa1ccf1(0x2dd)]['t'](_0xa1ccf1(0x1a4)),'content':this['_localeService']['t'](_0xa1ccf1(0x328)),'type':'error','duration':0x0}),_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)][_0xa1ccf1(0x326)]&&this[_0xa1ccf1(0x166)][_0xa1ccf1(0x2f0)]({'type':_0x37c605['MessageType'][_0xa1ccf1(0x215)],'content':this[_0xa1ccf1(0x2dd)]['t']('collaboration.closeRoom')+'('+_0x5768df[_0xa1ccf1(0x265)]+')'}),_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)][_0xa1ccf1(0x22b)]&&this['_messageService'][_0xa1ccf1(0x2f0)]({'type':_0x37c605[_0xa1ccf1(0x237)][_0xa1ccf1(0x31d)],'content':this[_0xa1ccf1(0x2dd)]['t'](_0x5768df[_0xa1ccf1(0x265)]||'')}),_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)][_0xa1ccf1(0x24d)]&&this[_0xa1ccf1(0x166)][_0xa1ccf1(0x2f0)]({'type':_0x37c605[_0xa1ccf1(0x237)]['Warning'],'content':this['_localeService']['t'](_0xa1ccf1(0x1e0))}),_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)][_0xa1ccf1(0x179)]&&this[_0xa1ccf1(0x166)][_0xa1ccf1(0x2f0)]({'type':_0x37c605[_0xa1ccf1(0x237)]['Error'],'content':this[_0xa1ccf1(0x2dd)]['t']('session.connection-failed')}),_0x5768df['id']===_0x414f9e[_0xa1ccf1(0x2c4)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0xa1ccf1(0x2f0)]({'type':_0x37c605[_0xa1ccf1(0x237)][_0xa1ccf1(0x215)],'content':this[_0xa1ccf1(0x2dd)]['t']('session.collaboration-timeout')});}));}};_0x27f041=_0x50b008([_0x42dd67(0x0,_0x11a888[_0x217d29(0x34b)]),_0x42dd67(0x1,_0x414f9e[_0x217d29(0x168)]),_0x42dd67(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x414f9e[_0x217d29(0x1cb)])),_0x42dd67(0x3,_0x11a888[_0x217d29(0x2d1)]),_0x42dd67(0x4,_0x11a888[_0x217d29(0x269)]),_0x42dd67(0x5,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be['LocaleService']))],_0x27f041);const _0x2a71fd=_0x217d29(0x2f2),_0x575aac={},_0x21cf24=_0x1a38be[_0x217d29(0x35f)](_0x217d29(0x327));var _0x395c1a=Object[_0x217d29(0x2cf)],_0x24fd28=(_0x3bf5ba,_0x5690fe,_0x308369,_0xed9651)=>{const _0x246b75=_0x217d29;for(var _0x5a58ad=_0xed9651>0x1?void 0x0:_0xed9651?_0x395c1a(_0x5690fe,_0x308369):_0x5690fe,_0x3cb09f=_0x3bf5ba[_0x246b75(0x32b)]-0x1,_0x258fdb;_0x3cb09f>=0x0;_0x3cb09f--)(_0x258fdb=_0x3bf5ba[_0x3cb09f])&&(_0x5a58ad=_0x258fdb(_0x5a58ad)||_0x5a58ad);return _0x5a58ad;},_0x65095d=(_0x54b252,_0x5d51a8)=>(_0x3c0e4e,_0x547678)=>_0x5d51a8(_0x3c0e4e,_0x547678,_0x54b252);_0x1984a7[_0x217d29(0x145)]=class extends _0x1a38be[_0x217d29(0x21d)]{constructor(_0x4fc29f,_0x531b93,_0x2e3ce2,_0xa826bb,_0xcacd24){const _0x4204b9=_0x217d29;super(),this['_urlService']=_0x4fc29f,this[_0x4204b9(0x1bb)]=_0x531b93,this[_0x4204b9(0x108)]=_0x2e3ce2,this['_dataLoaderService']=_0xa826bb,_0xcacd24?_0xcacd24==null||_0xcacd24['whenReady']()[_0x4204b9(0x1d8)](()=>this[_0x4204b9(0x1ab)]()):(this[_0x4204b9(0x1bb)]['debug'](_0x4204b9(0x1b0),_0x4204b9(0xe6)),this[_0x4204b9(0x1ab)]());}async[_0x217d29(0x1ab)](){const _0xbde70=_0x217d29,_0x4f08ae=this[_0xbde70(0x2b4)]['getParam'](_0xbde70(0x29a)),_0xa053ec=this[_0xbde70(0x2b4)][_0xbde70(0x23d)]('type'),_0x3b6d1b=this[_0xbde70(0x2b4)][_0xbde70(0x23d)]('subunit');if(!_0x4f08ae||!_0xa053ec){this[_0xbde70(0x1bb)][_0xbde70(0x2c3)]('[CollaborationDataLoaderController]',_0xbde70(0x2ae));return;}const _0x73005c=await this[_0xbde70(0x322)][_0xbde70(0x259)](_0x4f08ae,Number(_0xa053ec),_0x3b6d1b);_0x73005c&&_0x73005c instanceof _0x1a38be[_0xbde70(0x1d0)]&&this[_0xbde70(0x1ba)](_0x73005c);}async[_0x217d29(0x1ba)](_0x58b2f8){const _0x2317da=_0x217d29;await this[_0x2317da(0x356)](_0x58b2f8),_0x58b2f8[_0x2317da(0x32c)][_0x2317da(0x30f)](_0x1a8034[_0x2317da(0x310)](this[_0x2317da(0x1a1)]))['subscribe'](_0x4ae322=>{const _0x5e2280=_0x2317da;_0x4ae322&&this[_0x5e2280(0x29d)](_0x4ae322);}),this[_0x2317da(0x2b4)]['urlChange$'][_0x2317da(0x30f)](_0x1a8034['takeUntil'](this[_0x2317da(0x1a1)]))[_0x2317da(0x190)](()=>this[_0x2317da(0x356)](_0x58b2f8));}['_updateURLWithCurrentState'](_0x2fd0e6,_0x3439c9=!0x1){const _0x52fde9=_0x217d29,_0x6a3a5=this[_0x52fde9(0x2b4)][_0x52fde9(0x23d)]('subunit');_0x2fd0e6[_0x52fde9(0x33a)]()!==_0x6a3a5&&this[_0x52fde9(0x2b4)][_0x52fde9(0x1e2)]('subunit',_0x2fd0e6['getSheetId'](),_0x3439c9);}async[_0x217d29(0x356)](_0x1dc3ff){const _0x238f17=_0x217d29;var _0x204920;const _0x5e0210=this[_0x238f17(0x2b4)][_0x238f17(0x23d)](_0x238f17(0x296));if(!_0x5e0210||!_0x1dc3ff[_0x238f17(0x30b)](_0x5e0210)){const _0x2a0b1c=_0x1dc3ff[_0x238f17(0x10f)]()[0x0],_0x59de9d=_0x1dc3ff['getSheetBySheetId'](_0x2a0b1c);if(!_0x59de9d)return;this['_updateURLWithCurrentState'](_0x59de9d,!0x0),await this[_0x238f17(0x108)][_0x238f17(0x161)](_0x26f037[_0x238f17(0x1c7)]['id'],{'unitId':_0x1dc3ff[_0x238f17(0x1ee)](),'subUnitId':_0x2a0b1c});return;}((_0x204920=_0x1dc3ff[_0x238f17(0x28d)]())==null?void 0x0:_0x204920[_0x238f17(0x33a)]())!==_0x5e0210&&await this['_commandService'][_0x238f17(0x161)](_0x26f037[_0x238f17(0x1c7)]['id'],{'unitId':_0x1dc3ff[_0x238f17(0x1ee)](),'subUnitId':_0x5e0210});}},_0x1984a7['CollaborationDataLoaderController']=_0x24fd28([_0x65095d(0x0,_0x21cf24),_0x65095d(0x1,_0x1a38be[_0x217d29(0x1bc)]),_0x65095d(0x2,_0x1a38be[_0x217d29(0x365)]),_0x65095d(0x3,_0x1a38be[_0x217d29(0x2e4)](_0x414f9e[_0x217d29(0x29f)])),_0x65095d(0x4,_0x1a38be[_0x217d29(0x30d)](_0x6f8042[_0x217d29(0x2b6)]))],_0x1984a7[_0x217d29(0x145)]);var _0xd56ac6=Object[_0x217d29(0x2cf)],_0x2c3ffc=(_0x580dd8,_0x3dba9d,_0x2bccd2,_0x124297)=>{const _0x5943f5=_0x217d29;for(var _0x1649b1=_0x124297>0x1?void 0x0:_0x124297?_0xd56ac6(_0x3dba9d,_0x2bccd2):_0x3dba9d,_0x41f143=_0x580dd8[_0x5943f5(0x32b)]-0x1,_0x15ee8f;_0x41f143>=0x0;_0x41f143--)(_0x15ee8f=_0x580dd8[_0x41f143])&&(_0x1649b1=_0x15ee8f(_0x1649b1)||_0x1649b1);return _0x1649b1;},_0x43a28c=(_0x31b285,_0x53e974)=>(_0x5afe94,_0x45f4f6)=>_0x53e974(_0x5afe94,_0x45f4f6,_0x31b285);let _0xd4fcbc=class{constructor(_0x2487c9,_0x359ee6,_0x4a6643){const _0x3cb5a2=_0x217d29;this['_injector']=_0x2487c9,this['_transformService']=_0x359ee6,this[_0x3cb5a2(0x141)]=_0x4a6643;}[_0x217d29(0x341)](_0x16ec37){const _0x382387=_0x217d29;this['_transformUndoRedoStack'](_0x16ec37),this[_0x382387(0x2c8)](_0x16ec37);}[_0x217d29(0x347)](_0x274482){const _0x4c8998=_0x217d29,{unitID:_0x7ea01b}=_0x274482,_0x16ac54=this[_0x4c8998(0x141)][_0x4c8998(0x1be)](_0x7ea01b)[_0x4c8998(0x1ce)](_0x3a464b[_0x4c8998(0x334)]),{redoCache:_0x38f84b}=_0x16ac54[_0x4c8998(0x12e)]();if(_0x38f84b[_0x4c8998(0x32b)]===0x0)return _0x274482;let _0x12787e=_0x1a38be['Tools'][_0x4c8998(0x340)](_0x274482[_0x4c8998(0x24e)][0x0]);for(let _0x47ac9e=0x0;_0x47ac9e<_0x38f84b['length'];_0x47ac9e++){const _0x16cb80={'id':_0x4c8998(0x11a),'params':{..._0x38f84b[_0x47ac9e]}},_0x1f6dbe=this[_0x4c8998(0x30e)][_0x4c8998(0x2f1)](_0x12787e,_0x16cb80,!0x1);if(_0x26f92f[_0x4c8998(0x250)](_0x1f6dbe))throw _0x1f6dbe[_0x4c8998(0x26a)];_0x12787e=_0x1f6dbe[_0x4c8998(0x184)];}return{..._0x1a38be['Tools'][_0x4c8998(0x340)](_0x274482),'mutations':[_0x12787e]};}[_0x217d29(0x106)](_0x458973){const _0x20d2d5=_0x217d29,{unitID:_0x35084c}=_0x458973,_0x59e1b1=this[_0x20d2d5(0x141)][_0x20d2d5(0x1be)](_0x35084c)[_0x20d2d5(0x1ce)](_0x3a464b[_0x20d2d5(0x334)]),{undoCache:_0x30ea0d,redoCache:_0x32765a}=_0x59e1b1[_0x20d2d5(0x12e)]();if(_0x30ea0d[_0x20d2d5(0x32b)]===0x0||_0x32765a[_0x20d2d5(0x32b)]===0x0)return;const _0x2ba156=[],_0x489359=[];let _0x341ebd=_0x1a38be[_0x20d2d5(0x357)]['deepClone'](_0x458973[_0x20d2d5(0x24e)][0x0]),_0x2b4f6d=_0x1a38be[_0x20d2d5(0x357)]['deepClone'](_0x458973['mutations'][0x0]);for(let _0x5adb03=_0x30ea0d[_0x20d2d5(0x32b)]-0x1;_0x5adb03>=0x0;_0x5adb03--){const _0x257353={'id':_0x20d2d5(0x11a),'params':{..._0x30ea0d[_0x5adb03]}},_0x18abd6={'id':'doc.mutation.rich-text-editing','params':{..._0x32765a[_0x5adb03]}},_0x5e1453=this[_0x20d2d5(0x30e)][_0x20d2d5(0x2f1)](_0x341ebd,_0x257353,!0x1),_0x4563f9=this['_transformService'][_0x20d2d5(0x2f1)](_0x2b4f6d,_0x18abd6,!0x1);if(_0x26f92f[_0x20d2d5(0x250)](_0x5e1453))throw _0x5e1453[_0x20d2d5(0x26a)];if(_0x26f92f[_0x20d2d5(0x250)](_0x4563f9))throw _0x4563f9[_0x20d2d5(0x26a)];_0x2ba156['unshift'](_0x5e1453[_0x20d2d5(0x1a3)][_0x20d2d5(0xee)]),_0x489359[_0x20d2d5(0x2ef)](_0x4563f9[_0x20d2d5(0x1a3)][_0x20d2d5(0xee)]),_0x341ebd=_0x5e1453[_0x20d2d5(0x184)],_0x2b4f6d=_0x4563f9[_0x20d2d5(0x184)];}_0x59e1b1[_0x20d2d5(0x1ac)]({'undoCache':_0x2ba156,'redoCache':_0x489359});}[_0x217d29(0x2c8)](_0x101090){const _0x4eb9c1=_0x217d29,{unitID:_0x44ae81}=_0x101090,_0x3d0c92=this[_0x4eb9c1(0x141)][_0x4eb9c1(0x1be)](_0x44ae81)[_0x4eb9c1(0x1ce)](_0x3a464b[_0x4eb9c1(0x334)]),_0x396f7d=_0x3d0c92[_0x4eb9c1(0x164)]();if(_0x396f7d==null)return;const _0x5c2cd6=[{'id':_0x4eb9c1(0x11a),'params':{'unitId':_0x101090[_0x4eb9c1(0x318)],'actions':null,'textRanges':[_0x396f7d]}}],_0x170b66=this['_transformService'][_0x4eb9c1(0x17f)](_0x101090,_0x5c2cd6);if(!_0x26f92f['isTransformMutationsWithChangesetSuccess'](_0x170b66))throw _0x170b66[_0x4eb9c1(0x26a)];const _0x297d67=_0x170b66['m2Prime'][0x0]['params']['textRanges'];Array[_0x4eb9c1(0x103)](_0x297d67)&&_0x297d67[_0x4eb9c1(0x32b)]&&_0x3d0c92[_0x4eb9c1(0x200)](_0x297d67[0x0]);}};_0xd4fcbc=_0x2c3ffc([_0x43a28c(0x0,_0x1a38be['Inject'](_0x1a38be['Injector'])),_0x43a28c(0x1,_0x26f92f[_0x217d29(0x316)]),_0x43a28c(0x2,_0x484459[_0x217d29(0x1b6)])],_0xd4fcbc);var _0x35c28c=Object[_0x217d29(0x2cf)],_0x3fad2f=(_0x493f5c,_0x5c7785,_0x1fbbb8,_0xb2f62f)=>{for(var _0x5b671f=_0xb2f62f>0x1?void 0x0:_0xb2f62f?_0x35c28c(_0x5c7785,_0x1fbbb8):_0x5c7785,_0x40c899=_0x493f5c['length']-0x1,_0x53e0a4;_0x40c899>=0x0;_0x40c899--)(_0x53e0a4=_0x493f5c[_0x40c899])&&(_0x5b671f=_0x53e0a4(_0x5b671f)||_0x5b671f);return _0x5b671f;},_0x3783d8=(_0x3b02cb,_0x1abec0)=>(_0x46f36d,_0x2ce794)=>_0x1abec0(_0x46f36d,_0x2ce794,_0x3b02cb);let _0x5d8871=class{constructor(_0x4b0619,_0x36cbdb,_0x4faecc){const _0x13a926=_0x217d29;this['_injector']=_0x4b0619,this[_0x13a926(0x30e)]=_0x36cbdb,this[_0x13a926(0x331)]=_0x4faecc;}[_0x217d29(0x1ca)](_0x544730){const _0x16c73b=_0x217d29;this[_0x16c73b(0x34f)](_0x544730);}[_0x217d29(0x347)](_0x1b9eae){const _0x46d5ef=_0x217d29,{unitID:_0x25f38c}=_0x1b9eae,{collaboration:_0x31fb0b}=this[_0x46d5ef(0x331)][_0x46d5ef(0x336)](_0x25f38c);if(_0x31fb0b[_0x46d5ef(0x32b)]===0x0)return _0x1b9eae;let _0x260b3b=_0x1a38be[_0x46d5ef(0x357)][_0x46d5ef(0x340)](_0x1b9eae[_0x46d5ef(0x24e)][0x0]);for(let _0x47dfa1=0x0;_0x47dfa1<_0x31fb0b['length'];_0x47dfa1++){const _0x208c86={'id':_0x46d5ef(0x11a),'params':{'unitId':_0x31fb0b[_0x47dfa1][_0x46d5ef(0x167)],..._0x31fb0b[_0x47dfa1][_0x46d5ef(0x23f)]}},_0x4413be=this[_0x46d5ef(0x30e)]['transformMutation'](_0x260b3b,_0x208c86,!0x1);if(_0x26f92f[_0x46d5ef(0x250)](_0x4413be))throw _0x4413be[_0x46d5ef(0x26a)];_0x260b3b=_0x4413be[_0x46d5ef(0x184)];}return{..._0x1a38be[_0x46d5ef(0x357)][_0x46d5ef(0x340)](_0x1b9eae),'mutations':[_0x260b3b]};}[_0x217d29(0x34f)](_0x3f5dad){const _0x344155=_0x217d29,{unitID:_0x5ec3b8}=_0x3f5dad,{history:_0x2e64a4,collaboration:_0x5371d9}=this[_0x344155(0x331)][_0x344155(0x336)](_0x5ec3b8);if(_0x2e64a4['length']===0x0&&_0x5371d9[_0x344155(0x32b)]===0x0)return;const _0x312196=[],_0x4bed9a=[];let _0xe475c8=_0x1a38be[_0x344155(0x357)][_0x344155(0x340)](_0x3f5dad[_0x344155(0x24e)][0x0]),_0x439c6b=_0x1a38be[_0x344155(0x357)][_0x344155(0x340)](_0x3f5dad[_0x344155(0x24e)][0x0]);for(let _0x1f2322=_0x2e64a4[_0x344155(0x32b)]-0x1;_0x1f2322>=0x0;_0x1f2322--){const _0x435fff={'id':_0x344155(0x11a),'params':{'unitId':_0x2e64a4[_0x1f2322][_0x344155(0x167)],..._0x2e64a4[_0x1f2322][_0x344155(0x13c)]}},_0x5d9151={'id':_0x344155(0x11a),'params':{'unitId':_0x2e64a4[_0x1f2322]['unitId'],..._0x2e64a4[_0x1f2322][_0x344155(0x23f)]}},_0x28652e=this[_0x344155(0x30e)][_0x344155(0x2f1)](_0xe475c8,_0x435fff,!0x1),_0x2daa07=this[_0x344155(0x30e)][_0x344155(0x2f1)](_0x439c6b,_0x5d9151,!0x1);if(_0x26f92f[_0x344155(0x250)](_0x28652e))throw _0x28652e['error'];if(_0x26f92f[_0x344155(0x250)](_0x2daa07))throw _0x2daa07['error'];_0x312196[_0x344155(0x2ef)]({..._0x2e64a4[_0x1f2322],'undoState':_0x28652e[_0x344155(0x1a3)]['params'],'redoState':_0x2daa07['m2Prime'][_0x344155(0xee)]}),_0xe475c8=_0x28652e['m1Prime'],_0x439c6b=_0x2daa07[_0x344155(0x184)];}_0xe475c8=_0x1a38be[_0x344155(0x357)]['deepClone'](_0x3f5dad[_0x344155(0x24e)][0x0]),_0x439c6b=_0x1a38be[_0x344155(0x357)][_0x344155(0x340)](_0x3f5dad[_0x344155(0x24e)][0x0]);for(let _0x55aa8f=_0x5371d9['length']-0x1;_0x55aa8f>=0x0;_0x55aa8f--){const _0x380c8b={'id':_0x344155(0x11a),'params':{'unitId':_0x5371d9[_0x55aa8f][_0x344155(0x167)],..._0x5371d9[_0x55aa8f][_0x344155(0x13c)]}},_0x429284={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5371d9[_0x55aa8f]['unitId'],..._0x5371d9[_0x55aa8f][_0x344155(0x23f)]}},_0x1056ca=this[_0x344155(0x30e)][_0x344155(0x2f1)](_0xe475c8,_0x380c8b,!0x1),_0x5ba774=this[_0x344155(0x30e)]['transformMutation'](_0x439c6b,_0x429284,!0x1);if(_0x26f92f['isTransformMutationFailure'](_0x1056ca))throw _0x1056ca[_0x344155(0x26a)];if(_0x26f92f['isTransformMutationFailure'](_0x5ba774))throw _0x5ba774[_0x344155(0x26a)];_0x4bed9a[_0x344155(0x2ef)]({..._0x5371d9[_0x55aa8f],'undoState':_0x1056ca['m2Prime'][_0x344155(0xee)],'redoState':_0x5ba774['m2Prime'][_0x344155(0xee)]}),_0xe475c8=_0x1056ca['m1Prime'],_0x439c6b=_0x5ba774[_0x344155(0x184)];}this['_docStateChangeManagerService'][_0x344155(0x2af)](_0x5ec3b8,{'history':_0x312196,'collaboration':_0x4bed9a});}};_0x5d8871=_0x3fad2f([_0x3783d8(0x0,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be[_0x217d29(0x332)])),_0x3783d8(0x1,_0x26f92f[_0x217d29(0x316)]),_0x3783d8(0x2,_0x1a38be['Inject'](_0x3a464b[_0x217d29(0x2d0)]))],_0x5d8871);var _0x45b567=Object[_0x217d29(0x2cf)],_0x5492c9=(_0x5a806f,_0x93651c,_0x3c79f9,_0x78804e)=>{for(var _0xc9fe08=_0x78804e>0x1?void 0x0:_0x78804e?_0x45b567(_0x93651c,_0x3c79f9):_0x93651c,_0x50a233=_0x5a806f['length']-0x1,_0x8e5560;_0x50a233>=0x0;_0x50a233--)(_0x8e5560=_0x5a806f[_0x50a233])&&(_0xc9fe08=_0x8e5560(_0xc9fe08)||_0xc9fe08);return _0xc9fe08;},_0x3fd180=(_0x1fd95a,_0x19a429)=>(_0x5ce23c,_0x313da4)=>_0x19a429(_0x5ce23c,_0x313da4,_0x1fd95a);let _0x4dd9a8=class{constructor(_0x5d49c3,_0x55807e){const _0x120885=_0x217d29;this[_0x120885(0x359)]=_0x5d49c3,this[_0x120885(0x30e)]=_0x55807e;}[_0x217d29(0x2a5)](_0x2b88bb){const _0x2c1033=_0x217d29;var _0xe720e7;const _0x38dfd1=this[_0x2c1033(0x359)]['get'](_0xd73796[_0x2c1033(0x1cf)]),_0x1f321e=(_0xe720e7=_0x38dfd1[_0x2c1033(0x224)]())!=null?_0xe720e7:[];if(_0x1f321e['length']===0x0)return;const _0x5296ef=_0x2b88bb[_0x2c1033(0x318)],_0x48d673=[{'id':_0x2c1033(0x11a),'params':{'unitId':_0x5296ef,'actions':null,'textRanges':_0x1f321e}}],_0x1aab53=this[_0x2c1033(0x30e)][_0x2c1033(0x17f)](_0x2b88bb,_0x48d673);if(!_0x26f92f[_0x2c1033(0x374)](_0x1aab53))throw _0x1aab53[_0x2c1033(0x26a)];const _0x54ae7a=_0x1aab53['m2Prime'][0x0][_0x2c1033(0xee)]['textRanges'];Array[_0x2c1033(0x103)](_0x54ae7a)&&_0x54ae7a[_0x2c1033(0x32b)]&&_0x38dfd1[_0x2c1033(0x312)](_0x54ae7a,{'unitId':_0x5296ef,'subUnitId':_0x5296ef},!0x1);}};_0x4dd9a8=_0x5492c9([_0x3fd180(0x0,_0x1a38be['Inject'](_0x1a38be['Injector'])),_0x3fd180(0x1,_0x26f92f[_0x217d29(0x316)])],_0x4dd9a8);var _0x12f7af=Object[_0x217d29(0x2cf)],_0x597164=(_0xe58f8a,_0x373179,_0xc1a2f3,_0x28ae1a)=>{const _0x1bdc2c=_0x217d29;for(var _0x2b25c7=_0x28ae1a>0x1?void 0x0:_0x28ae1a?_0x12f7af(_0x373179,_0xc1a2f3):_0x373179,_0x4d696e=_0xe58f8a[_0x1bdc2c(0x32b)]-0x1,_0x198aad;_0x4d696e>=0x0;_0x4d696e--)(_0x198aad=_0xe58f8a[_0x4d696e])&&(_0x2b25c7=_0x198aad(_0x2b25c7)||_0x2b25c7);return _0x2b25c7;},_0x3fac1e=(_0xe7adc8,_0x4f1f7d)=>(_0x18b781,_0x240339)=>_0x4f1f7d(_0x18b781,_0x240339,_0xe7adc8);let _0x28bcfd=class extends _0x1a38be['Disposable']{constructor(_0x464ab8,_0x2af907,_0x16acc7,_0x54b64a,_0x4b69e4,_0x161da6,_0x47d26d,_0x2add29){const _0x2c2061=_0x217d29;super(),_0x3bb6e5(this,_0x2c2061(0x345),new _0x1a8034[(_0x2c2061(0x287))](_0x414f9e[_0x2c2061(0x1a7)][_0x2c2061(0x104)])),(this[_0x2c2061(0x331)]=_0x464ab8,this[_0x2c2061(0x266)]=_0x2af907,this['_docTransformIMECacheService']=_0x16acc7,this['_docTransformStateCacheService']=_0x54b64a,this[_0x2c2061(0x171)]=_0x4b69e4,this[_0x2c2061(0x18b)]=_0x161da6,this[_0x2c2061(0x166)]=_0x47d26d,this[_0x2c2061(0x2dd)]=_0x2add29,this[_0x2c2061(0x187)]());}[_0x217d29(0x187)](){const _0x43a50f=_0x217d29;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x43a50f(0x190)](_0x1b5698=>{const _0x44a712=_0x43a50f,_0x3eeba6=this['_docStateChangeManagerService'][_0x44a712(0x32e)][_0x44a712(0x190)](_0x4e79ec=>{const _0x229d17=_0x44a712;if(_0x4e79ec==null)return;const {unitId:_0x3eed28,redoState:_0x339a2b,commandId:_0x641a47}=_0x4e79ec;if(_0x3eed28!==_0x1b5698[_0x229d17(0x318)])return;const _0x48966d={'id':_0x641a47,'type':_0x1a38be['CommandType'][_0x229d17(0x24b)],'params':{'unitId':_0x3eed28,'actions':_0x339a2b['actions'],'textRanges':null}};_0x1b5698[_0x229d17(0x142)](_0x48966d);});if(_0x1b5698['disposeWithMe'](_0x3eeba6),_0x1b5698 instanceof _0x414f9e[_0x44a712(0xea)]){const _0x59ef0e={'onTransformIME':_0x1c347d=>this['_docTransformIMECacheService'][_0x44a712(0x341)](_0x1c347d),'onTransformState':_0x3f6a2c=>this[_0x44a712(0x2c5)]['transformStateCache'](_0x3f6a2c),'onTransformSelections':_0x1b5bf4=>this[_0x44a712(0x171)][_0x44a712(0x2a5)](_0x1b5bf4),'onSyncEditingCollabCursor':_0x453239=>this[_0x44a712(0x18b)][_0x44a712(0x1d9)](_0x453239),'onTransformRemoteChangesetByIMECache':_0x1794a2=>this[_0x44a712(0x36d)]['transformRemoteChangeset'](_0x1794a2),'onTransformRemoteChangesetByStateCache':_0x20dcc8=>this[_0x44a712(0x2c5)][_0x44a712(0x347)](_0x20dcc8)};_0x1b5698[_0x44a712(0x1d6)](_0x59ef0e);}}));}};_0x28bcfd=_0x597164([_0x3fac1e(0x0,_0x1a38be[_0x217d29(0x2e4)](_0x3a464b[_0x217d29(0x2d0)])),_0x3fac1e(0x1,_0x1a38be[_0x217d29(0x2e4)](_0x414f9e['CollaborationController'])),_0x3fac1e(0x2,_0x1a38be['Inject'](_0xd4fcbc)),_0x3fac1e(0x3,_0x1a38be['Inject'](_0x5d8871)),_0x3fac1e(0x4,_0x1a38be[_0x217d29(0x2e4)](_0x4dd9a8)),_0x3fac1e(0x5,_0x1a38be[_0x217d29(0x2e4)](_0x338bd3)),_0x3fac1e(0x6,_0x11a888['IMessageService']),_0x3fac1e(0x7,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be[_0x217d29(0x2f4)]))],_0x28bcfd);var _0x2bb9da=Object[_0x217d29(0x2cf)],_0x6275e2=(_0x113294,_0x5ca648,_0x46cd0c,_0x51c7b4)=>{for(var _0x23a930=_0x51c7b4>0x1?void 0x0:_0x51c7b4?_0x2bb9da(_0x5ca648,_0x46cd0c):_0x5ca648,_0x297e02=_0x113294['length']-0x1,_0x43bc55;_0x297e02>=0x0;_0x297e02--)(_0x43bc55=_0x113294[_0x297e02])&&(_0x23a930=_0x43bc55(_0x23a930)||_0x23a930);return _0x23a930;},_0x2bdb0d=(_0x5c85b1,_0x182697)=>(_0xe10d62,_0x16dded)=>_0x182697(_0xe10d62,_0x16dded,_0x5c85b1);let _0x315d7b=class extends _0x1a38be['Disposable']{constructor(_0x1fb628,_0x3b50b3,_0x38ee96){const _0x57f447=_0x217d29;super(),_0x3bb6e5(this,_0x57f447(0x27d),new Map()),_0x3bb6e5(this,_0x57f447(0x218),new Map()),_0x3bb6e5(this,'_disabled',!0x1),(this['_configService']=_0x1fb628,this[_0x57f447(0x201)]=_0x3b50b3,this[_0x57f447(0x223)]=_0x38ee96);}['disableLocalCache'](){const _0x296b8e=_0x217d29;this[_0x296b8e(0x1cd)]=!0x0;}[_0x217d29(0x105)](){const _0xe42f4b=_0x217d29;this[_0xe42f4b(0x1cd)]=!0x1;}get[_0x217d29(0x16e)](){const _0x143b40=_0x217d29;return this[_0x143b40(0x218)];}['dispose'](){const _0x1769fc=_0x217d29;this['exhaustSavingTask']()[_0x1769fc(0x1d8)](()=>super[_0x1769fc(0x131)]());}async[_0x217d29(0x1fb)](_0x4afa88){const _0x7f8eae=_0x217d29;return this[_0x7f8eae(0x1cd)]?null:this[_0x7f8eae(0x201)][_0x7f8eae(0x178)](_0x414f9e[_0x7f8eae(0x342)](_0x4afa88));}async[_0x217d29(0x2ac)](_0x2a698d,_0x1471a3){const _0x108519=_0x217d29;return!!this[_0x108519(0x201)][_0x108519(0x293)](_0x2a698d,_0x1471a3);}[_0x217d29(0xfb)](_0x55842f,_0x132a59,_0xe04cfe,_0x270363){const _0x71ff20=_0x217d29,_0x1d4435=this['_revisionService'][_0x71ff20(0x1ed)](_0x55842f);this[_0x71ff20(0x27d)]['set'](_0x55842f,{'unitID':_0x55842f,'type':_0x132a59,'awaitingChangeset':_0xe04cfe,'mutations':_0x270363,'rev':_0x1d4435}),this[_0x71ff20(0x218)]['has'](_0x55842f)||this[_0x71ff20(0x10d)](_0x55842f);}[_0x217d29(0x10d)](_0x1fdb2d){const _0x5df2c3=_0x217d29,_0x2611e2=this[_0x5df2c3(0x246)]();_0x2611e2===0x0?this[_0x5df2c3(0xf6)](_0x1fdb2d):this[_0x5df2c3(0x218)][_0x5df2c3(0x28b)](_0x1fdb2d,setTimeout(()=>this[_0x5df2c3(0xf6)](_0x1fdb2d),_0x2611e2));}[_0x217d29(0x246)](){const _0x15a846=_0x217d29;var _0x3f3665;return(_0x3f3665=this['_configService'][_0x15a846(0x1b2)](_0x414f9e[_0x15a846(0xf8)]))!=null?_0x3f3665:_0x414f9e[_0x15a846(0x1e8)];}[_0x217d29(0xf6)](_0x655ea3){const _0xe8e16e=_0x217d29,_0xe5c7ae=this[_0xe8e16e(0x218)]['get'](_0x655ea3);return _0xe5c7ae!==void 0x0&&window[_0xe8e16e(0x208)](_0xe5c7ae),this[_0xe8e16e(0x201)][_0xe8e16e(0x293)](_0x414f9e[_0xe8e16e(0x342)](_0x655ea3),this[_0xe8e16e(0x27d)][_0xe8e16e(0x2ab)](_0x655ea3))[_0xe8e16e(0x1d8)](()=>this['_saveTaskMap'][_0xe8e16e(0x2df)](_0x655ea3));}async[_0x217d29(0x36a)](){const _0x24ed93=_0x217d29,_0x24f282=[];this[_0x24ed93(0x218)]['forEach']((_0x1d98f2,_0x44c680)=>{const _0x149449=_0x24ed93;window[_0x149449(0x208)](_0x1d98f2),_0x24f282['push'](this['_saveCache'](_0x44c680)[_0x149449(0x1d8)](()=>{const _0x4fdff7=_0x149449;this[_0x4fdff7(0x218)][_0x4fdff7(0x2df)](_0x44c680);}));}),await Promise[_0x24ed93(0x343)](_0x24f282);}};_0x315d7b=_0x6275e2([_0x2bdb0d(0x0,_0x1a38be[_0x217d29(0x227)]),_0x2bdb0d(0x1,_0x1a38be[_0x217d29(0x375)]),_0x2bdb0d(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x26f92f[_0x217d29(0x181)]))],_0x315d7b);class _0x3fd21a extends _0x1a38be[_0x217d29(0x21d)]{constructor(){const _0x3473ff=_0x217d29;super(),_0x3bb6e5(this,_0x3473ff(0x34c)),this[_0x3473ff(0x34c)]=_0x1a8034[_0x3473ff(0x362)](window,'popstate')[_0x3473ff(0x30f)](_0x1a8034[_0x3473ff(0x310)](this['dispose$']),_0x1a8034[_0x3473ff(0x120)](0x1),_0x1a8034[_0x3473ff(0x243)](void 0x0));}[_0x217d29(0x1e2)](_0x48c561,_0x15afd3,_0x434d17=!0x1){const _0x342feb=_0x217d29,_0x20329d=new URL(window[_0x342feb(0x1f5)][_0x342feb(0x1ef)]);_0x20329d[_0x342feb(0x204)]['set'](_0x48c561,_0x15afd3),_0x434d17?window[_0x342feb(0x144)][_0x342feb(0x1a6)]('','',_0x20329d[_0x342feb(0x2f6)]()):window['history'][_0x342feb(0x175)]('','',_0x20329d[_0x342feb(0x2f6)]());}[_0x217d29(0xf3)](_0x3f8975,_0x3d7cbf=!0x1){const _0x592f61=_0x217d29,_0x39f49c=new URL(window[_0x592f61(0x1f5)][_0x592f61(0x1ef)]);_0x39f49c[_0x592f61(0x204)][_0x592f61(0x2df)](_0x3f8975),_0x3d7cbf?window[_0x592f61(0x144)]['replaceState']('','',_0x39f49c[_0x592f61(0x2f6)]()):window['history'][_0x592f61(0x175)]('','',_0x39f49c[_0x592f61(0x2f6)]());}[_0x217d29(0x23d)](_0x37b8cf){const _0x5a581b=_0x217d29;var _0x493990;return(_0x493990=new URL(window['location'][_0x5a581b(0x1ef)])[_0x5a581b(0x204)][_0x5a581b(0x2ab)](_0x37b8cf))!=null?_0x493990:void 0x0;}}var _0x53d12d=Object['defineProperty'],_0x229cf3=Object['getOwnPropertyDescriptor'],_0x4377e0=(_0x3bf06b,_0x31cef6,_0xfdbf9b)=>_0x31cef6 in _0x3bf06b?_0x53d12d(_0x3bf06b,_0x31cef6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfdbf9b}):_0x3bf06b[_0x31cef6]=_0xfdbf9b,_0x5a6516=(_0x62c6be,_0x30c7a4,_0x371396,_0x3714d5)=>{for(var _0x24fe44=_0x3714d5>0x1?void 0x0:_0x3714d5?_0x229cf3(_0x30c7a4,_0x371396):_0x30c7a4,_0x4ed2b9=_0x62c6be['length']-0x1,_0x555ea0;_0x4ed2b9>=0x0;_0x4ed2b9--)(_0x555ea0=_0x62c6be[_0x4ed2b9])&&(_0x24fe44=_0x555ea0(_0x24fe44)||_0x24fe44);return _0x24fe44;},_0x19de17=(_0x11fdf0,_0x231404)=>(_0x2449a9,_0x43287c)=>_0x231404(_0x2449a9,_0x43287c,_0x11fdf0),_0x3509ca=(_0x22f3b0,_0x434663,_0x390970)=>_0x4377e0(_0x22f3b0,_0x434663+'',_0x390970);const _0x26ba1e=_0x217d29(0x18f);_0x1984a7['UniverCollaborationClientUIPlugin']=class extends _0x1a38be[_0x217d29(0x112)]{constructor(_0x1fc591=_0x575aac,_0x2d2668,_0x4d1ff0,_0x2bb80d){const _0x32deb3=_0x217d29;super(),this[_0x32deb3(0x1c1)]=_0x1fc591,this[_0x32deb3(0x141)]=_0x2d2668,this['_injector']=_0x4d1ff0,this[_0x32deb3(0x29c)]=_0x2bb80d;const {..._0x53029a}=_0x1a38be[_0x32deb3(0x2a3)]({},_0x575aac,this[_0x32deb3(0x1c1)]);this[_0x32deb3(0x29c)]['setConfig'](_0x2a71fd,_0x53029a);}[_0x217d29(0x158)](){const _0x267e72=_0x217d29;this[_0x267e72(0x25b)](),this['_initDependencies']();}[_0x217d29(0x16a)](){const _0x31ffc2=_0x217d29;this[_0x31ffc2(0x286)]();}[_0x217d29(0x25b)](){const _0x5d1437=_0x217d29;var _0x2588c3;const _0x5cf35b=[[_0x3800a7],[_0x4dd9a8],[_0xd4fcbc],[_0x5d8871],[_0x338bd3],[_0x21cf24,{'useClass':_0x3fd21a}],[_0x2121db[_0x5d1437(0x363)],{'useClass':_0x2121db[_0x5d1437(0x2f5)]}],[_0x414f9e['ILocalCacheService'],{'useClass':_0x315d7b}],[_0x1984a7['DesktopCollaborationStatusDisplayController']],[_0x28bcfd],[_0x27f041],[_0x561858],[_0xf82afa],[_0x1984a7['CollaborationDataLoaderController']]];_0x1a38be['registerDependencies'](this['_injector'],_0x1a38be[_0x5d1437(0x11e)](_0x5cf35b,(_0x2588c3=this[_0x5d1437(0x1c1)])==null?void 0x0:_0x2588c3['override']));}['_registerRenderDependencies'](){const _0x4fd2e1=_0x217d29;this[_0x4fd2e1(0x354)](this['_renderManagerService'][_0x4fd2e1(0x213)](_0x1a38be['UniverInstanceType'][_0x4fd2e1(0x1cc)],[_0x233ea2])),this[_0x4fd2e1(0x354)](this[_0x4fd2e1(0x141)]['registerRenderModule'](_0x1a38be[_0x4fd2e1(0x2e9)]['UNIVER_SHEET'],[_0x4fc7cc]));}['_initDependencies'](){const _0x57eb53=_0x217d29;_0x1a38be[_0x57eb53(0x13e)](this[_0x57eb53(0x359)],[[_0x561858],[_0x1984a7[_0x57eb53(0x233)]],[_0x28bcfd],[_0x27f041],[_0x1984a7['CollaborationDataLoaderController']]]);}},_0x3509ca(_0x1984a7['UniverCollaborationClientUIPlugin'],_0x217d29(0x1b8),_0x26ba1e),_0x1984a7[_0x217d29(0x1eb)]=_0x5a6516([_0x1a38be[_0x217d29(0x273)](_0x414f9e[_0x217d29(0x192)]),_0x19de17(0x1,_0x484459[_0x217d29(0x1b6)]),_0x19de17(0x2,_0x1a38be[_0x217d29(0x2e4)](_0x1a38be[_0x217d29(0x332)])),_0x19de17(0x3,_0x1a38be[_0x217d29(0x227)])],_0x1984a7[_0x217d29(0x1eb)]);var _0x341dc7=Object[_0x217d29(0x2cf)],_0x190452=(_0x2bfa6e,_0x82f09e,_0x17d067,_0x2c6c1d)=>{const _0x237f71=_0x217d29;for(var _0x5184c2=_0x2c6c1d>0x1?void 0x0:_0x2c6c1d?_0x341dc7(_0x82f09e,_0x17d067):_0x82f09e,_0x165865=_0x2bfa6e[_0x237f71(0x32b)]-0x1,_0x5d8c52;_0x165865>=0x0;_0x165865--)(_0x5d8c52=_0x2bfa6e[_0x165865])&&(_0x5184c2=_0x5d8c52(_0x5184c2)||_0x5184c2);return _0x5184c2;},_0x40158d=(_0xc9aebb,_0x4e58ac)=>(_0x37a621,_0x208e77)=>_0x4e58ac(_0x37a621,_0x208e77,_0xc9aebb);_0x1984a7['BrowserCollaborationSocketService']=class extends _0x414f9e[_0x217d29(0x1dc)]{constructor(_0x2558b6,_0x9b2b2a,_0xc4f19c,_0xef857a,_0x3959c3){super(_0x2558b6,_0x9b2b2a,_0xc4f19c,_0xef857a,_0x3959c3);}async[_0x217d29(0x2e1)](_0x1b6cf3){const _0x19e749=_0x217d29,_0x185e72=await this[_0x19e749(0x23b)](),_0x270126=this[_0x19e749(0x220)](_0x1b6cf3,_0x185e72);return this['_doCreateSocket'](_0x270126);}[_0x217d29(0x220)](_0x47a985,_0x60bb70){const _0x507f11=_0x217d29,_0x26b894=typeof window>'u'?new URL(_0x47a985):new URL(_0x47a985,window[_0x507f11(0x1f5)]['origin']);_0x26b894[_0x507f11(0x204)][_0x507f11(0x28b)]('sessionTicket',_0x60bb70);const _0x2e2211=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x507f11(0x1f5)]['search']);return _0x2e2211[_0x507f11(0x2ab)](_0x507f11(0x2bb))&&_0x26b894[_0x507f11(0x204)]['set'](_0x507f11(0x2bb),_0x2e2211[_0x507f11(0x2ab)]('runId')),_0x26b894['toString']();}async[_0x217d29(0x23b)](){const _0x463e4c=_0x217d29;var _0x2f62d2,_0x5b717d,_0x46e6a3;const _0xb209c2=this['_configService'][_0x463e4c(0x1b2)](_0x414f9e[_0x463e4c(0x19a)]),_0x2264c7=(_0x2f62d2=_0xb209c2==null?void 0x0:_0xb209c2[_0x463e4c(0x232)])!=null?_0x2f62d2:_0x414f9e['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x46e6a3=(_0x5b717d=(await this[_0x463e4c(0x11f)][_0x463e4c(0x2ab)](_0x2264c7,{'headers':{'Content-Type':_0x463e4c(0x1e6)}}))['body'])==null?void 0x0:_0x5b717d[_0x463e4c(0x1fa)])!=null?_0x46e6a3:'';}},_0x1984a7[_0x217d29(0x1db)]=_0x190452([_0x40158d(0x0,_0x1a38be['Inject'](_0x1a38be[_0x217d29(0x332)])),_0x40158d(0x1,_0x1a38be[_0x217d29(0x2e4)](_0x2121db[_0x217d29(0x111)])),_0x40158d(0x2,_0x1a38be[_0x217d29(0x227)]),_0x40158d(0x3,_0x1a38be[_0x217d29(0x1bc)]),_0x40158d(0x4,_0x26f92f[_0x217d29(0x135)])],_0x1984a7[_0x217d29(0x1db)]);const _0x3cf830=0x7530,_0x283979=_0x217d29(0x27e);class _0x1a31cc extends _0x1a38be['Disposable']{constructor(){const _0x18c104=_0x217d29;super(),_0x3bb6e5(this,_0x18c104(0x159),_0x1a38be[_0x18c104(0x357)][_0x18c104(0x139)]()),_0x3bb6e5(this,_0x18c104(0xff),new Set()),_0x3bb6e5(this,'_unitOnClients',new Map()),_0x3bb6e5(this,'_heartbeatTimer',null),_0x3bb6e5(this,_0x18c104(0x1fd),new Map()),_0x3bb6e5(this,_0x18c104(0x2a1),new Map()),this[_0x18c104(0x1ab)]();}[_0x217d29(0x131)](){const _0x47e08c=_0x217d29;super[_0x47e08c(0x131)](),this['_clearOtherTimers'][_0x47e08c(0x1a2)]((_0x42d78d,_0x238449)=>this[_0x47e08c(0x36b)](_0x238449)),this[_0x47e08c(0x2bd)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x217d29(0x1d2)](_0x20d935){const _0x5e7964=_0x217d29;return this[_0x5e7964(0x222)](_0x20d935)['pipe'](_0x1a8034[_0x5e7964(0x17d)]());}[_0x217d29(0x1a8)](_0x5ab325){const _0x889a78=_0x217d29;this['_selfUnitIDs'][_0x889a78(0x22c)]===0x0&&this[_0x889a78(0x15d)](),this[_0x889a78(0xff)]['add'](_0x5ab325),this['_send']({'type':0x0,'memberID':this[_0x889a78(0x159)],'unitIDs':[_0x5ab325],'isForwarded':!0x1});}[_0x217d29(0x253)](_0xb2df88){const _0xd5d2c9=_0x217d29;this[_0xd5d2c9(0xff)][_0xd5d2c9(0x2df)](_0xb2df88),this[_0xd5d2c9(0xff)][_0xd5d2c9(0x22c)]===0x0&&this[_0xd5d2c9(0x2bd)]&&window[_0xd5d2c9(0x180)](this[_0xd5d2c9(0x2bd)]);}[_0x217d29(0x1ab)](){const _0x3435d3=_0x217d29;this['disposeWithMe'](_0x1a38be['toDisposable'](_0x1a8034[_0x3435d3(0x362)](window,'storage')[_0x3435d3(0x190)](_0x47c7a1=>{const _0x37656b=_0x3435d3;if(_0x47c7a1[_0x37656b(0x2e8)]!==_0x283979||!_0x47c7a1[_0x37656b(0x1b1)])return;const _0x4fea93=JSON[_0x37656b(0x21c)](_0x47c7a1['newValue']);this[_0x37656b(0x28a)](_0x4fea93);}))),window[_0x3435d3(0x278)](_0x3435d3(0x314),()=>this[_0x3435d3(0x34d)]({'type':0x1,'memberID':this[_0x3435d3(0x159)],'unitIDs':Array[_0x3435d3(0x249)](this[_0x3435d3(0xff)])}));}[_0x217d29(0x28a)](_0x179e37){const _0x4a9a24=_0x217d29;switch(_0x179e37[_0x4a9a24(0x366)]){case 0x0:this[_0x4a9a24(0x129)](_0x179e37);break;case 0x1:this['_handleLeaveEvent'](_0x179e37);break;case 0x2:this['_handleHeartbeatEvent'](_0x179e37);break;}}[_0x217d29(0x129)](_0x59dd75){const _0x386aa0=_0x217d29,{unitIDs:_0x1e8632,memberID:_0x440f78,isForwarded:_0x485c68}=_0x59dd75;_0x1e8632['forEach'](_0x58750d=>{const _0xe5d2a3=_0x4961;if(!_0x485c68&&this['_unitOnClients'][_0xe5d2a3(0x20a)](_0x58750d)&&this[_0xe5d2a3(0x222)](_0x58750d)[_0xe5d2a3(0x367)](_0x414f9e[_0xe5d2a3(0x1c2)][_0xe5d2a3(0x236)]),!this[_0xe5d2a3(0x2d4)][_0xe5d2a3(0x20a)](_0x58750d)||!this[_0xe5d2a3(0x2d4)][_0xe5d2a3(0x2ab)](_0x58750d)[_0xe5d2a3(0x20a)](_0x440f78)){const _0x5c2724=this[_0xe5d2a3(0x2d4)][_0xe5d2a3(0x2ab)](_0x58750d)||new Set();_0x5c2724[_0xe5d2a3(0x183)](_0x440f78),this[_0xe5d2a3(0x2d4)][_0xe5d2a3(0x28b)](_0x58750d,_0x5c2724),this[_0xe5d2a3(0x2b8)](_0x440f78);}}),_0x485c68||this[_0x386aa0(0x34d)]({'type':0x0,'memberID':this[_0x386aa0(0x159)],'unitIDs':[...this[_0x386aa0(0xff)]],'isForwarded':!0x0});}[_0x217d29(0x2b8)](_0x2a14dd){const _0x5c336d=_0x217d29;this[_0x5c336d(0x36b)](_0x2a14dd);const _0x46f219=window[_0x5c336d(0xe4)](()=>{const _0x54f8bc=_0x5c336d;this['_unitOnClients'][_0x54f8bc(0x1a2)](_0x432dea=>{const _0x471f4e=_0x54f8bc;_0x432dea[_0x471f4e(0x2df)](_0x2a14dd);});},_0x3cf830*0x2);this[_0x5c336d(0x1fd)][_0x5c336d(0x28b)](_0x2a14dd,_0x46f219);}[_0x217d29(0x36b)](_0xe2a98e){const _0x1a8ede=_0x217d29;if(this[_0x1a8ede(0x1fd)][_0x1a8ede(0x20a)](_0xe2a98e)){const _0x392dac=this['_clearOtherTimers']['get'](_0xe2a98e);_0x392dac&&window[_0x1a8ede(0x208)](_0x392dac),this['_clearOtherTimers'][_0x1a8ede(0x28b)](_0xe2a98e,null);}}['_handleLeaveEvent'](_0x4bad51){const _0x181983=_0x217d29,{memberID:_0x20d4b6,unitIDs:_0x1f7340}=_0x4bad51;_0x1f7340[_0x181983(0x1a2)](_0x22bfa8=>{const _0x54765b=_0x181983;var _0x1c1893;const _0x48e41a=this['_unitOnClients']['get'](_0x22bfa8);_0x48e41a&&(_0x48e41a[_0x54765b(0x2df)](_0x20d4b6),(_0x1c1893=this[_0x54765b(0x222)](_0x22bfa8))==null||_0x1c1893['next'](_0x48e41a[_0x54765b(0x22c)]===0x0?_0x414f9e[_0x54765b(0x1c2)][_0x54765b(0x121)]:_0x414f9e['UnitStatus'][_0x54765b(0x236)]));}),this['_removeClearOtherTimer'](_0x20d4b6);}['_handleHeartbeatEvent'](_0xcf0204){const _0x20bb2d=_0x217d29;this[_0x20bb2d(0x2b8)](_0xcf0204[_0x20bb2d(0x335)]);}[_0x217d29(0x34d)](_0x4b91f2){localStorage['setItem'](_0x283979,JSON['stringify'](_0x4b91f2));}['_scheduleHeartbeat'](){const _0x26aca5=_0x217d29;this[_0x26aca5(0x2bd)]=window[_0x26aca5(0x2be)](()=>{const _0x1f1310=_0x26aca5;this[_0x1f1310(0x34d)]({'type':0x2,'memberID':this[_0x1f1310(0x159)]});},_0x3cf830);}[_0x217d29(0x222)](_0x25d2ee){const _0xbf5ada=_0x217d29;return this[_0xbf5ada(0x2a1)]['has'](_0x25d2ee)||this[_0xbf5ada(0x2a1)][_0xbf5ada(0x28b)](_0x25d2ee,new _0x1a8034['BehaviorSubject'](_0x414f9e[_0xbf5ada(0x1c2)]['NO_OTHER_CLIENTS_EDITING'])),this[_0xbf5ada(0x2a1)][_0xbf5ada(0x2ab)](_0x25d2ee);}}var _0x1cde4b=(_0x385488=>(_0x385488[_0x385488['UNDEFINED']=0x0]=_0x217d29(0x16f),_0x385488[_0x385488['OK']=0x1]='OK',_0x385488[_0x385488['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x385488[_0x385488[_0x217d29(0x211)]=0x3]=_0x217d29(0x211),_0x385488[_0x385488['NOT_FOUND']=0x4]=_0x217d29(0x35a),_0x385488[_0x385488['UNAUTHENTICATED']=0x5]=_0x217d29(0x206),_0x385488[_0x385488[_0x217d29(0x21a)]=0x6]=_0x217d29(0x21a),_0x385488[_0x385488[_0x217d29(0x1ec)]=0x7]='INVALID_ARGUMENT',_0x385488[_0x385488[_0x217d29(0x284)]=0x8]=_0x217d29(0x284),_0x385488[_0x385488['COMPLETION_FINISHED']=0x9]=_0x217d29(0x147),_0x385488[_0x385488['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x217d29(0x182),_0x385488[_0x385488[_0x217d29(0x12a)]=0x1771]=_0x217d29(0x12a),_0x385488[_0x385488['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x217d29(0x152),_0x385488[_0x385488[_0x217d29(0x2a9)]=0x1773]=_0x217d29(0x2a9),_0x385488[_0x385488[_0x217d29(0x304)]=0x1b59]=_0x217d29(0x304),_0x385488[_0x385488[_0x217d29(0x1a5)]=0x1b5a]=_0x217d29(0x1a5),_0x385488[_0x385488[_0x217d29(0x262)]=0x1b5b]=_0x217d29(0x262),_0x385488[_0x385488[_0x217d29(0x2f7)]=0x1b5c]=_0x217d29(0x2f7),_0x385488[_0x385488['APPLY_DUPLICATED']=0x1b5d]=_0x217d29(0x1f6),_0x385488[_0x385488[_0x217d29(0x19d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x385488[_0x385488[_0x217d29(0x17c)]=0x2329]=_0x217d29(0x17c),_0x385488[_0x385488[_0x217d29(0x35b)]=0x232a]=_0x217d29(0x35b),_0x385488[_0x385488[_0x217d29(0x185)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x385488[_0x385488[_0x217d29(0x14a)]=0x232c]=_0x217d29(0x14a),_0x385488[_0x385488[_0x217d29(0x26f)]=0x232d]=_0x217d29(0x26f),_0x385488[_0x385488['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x217d29(0x11d),_0x385488[_0x385488[_0x217d29(0x163)]=0x2712]=_0x217d29(0x163),_0x385488[_0x385488[_0x217d29(0x257)]=0x2713]=_0x217d29(0x257),_0x385488[_0x385488[_0x217d29(0x188)]=0x2714]=_0x217d29(0x188),_0x385488[_0x385488[_0x217d29(0x102)]=0x2af9]=_0x217d29(0x102),_0x385488[_0x385488[_0x217d29(0x221)]=-0x1]=_0x217d29(0x221),_0x385488))(_0x1cde4b||{}),_0x3034b9=Object[_0x217d29(0x2cf)],_0x18794a=(_0x184aa3,_0xe939fd,_0xbb5f4e,_0x3ca00a)=>{const _0x2b64ae=_0x217d29;for(var _0x36efcb=_0x3ca00a>0x1?void 0x0:_0x3ca00a?_0x3034b9(_0xe939fd,_0xbb5f4e):_0xe939fd,_0x486d5d=_0x184aa3[_0x2b64ae(0x32b)]-0x1,_0x2efb12;_0x486d5d>=0x0;_0x486d5d--)(_0x2efb12=_0x184aa3[_0x486d5d])&&(_0x36efcb=_0x2efb12(_0x36efcb)||_0x36efcb);return _0x36efcb;},_0x2730a3=(_0x12a7ca,_0xf62865)=>(_0x4890f2,_0x2d7dc1)=>_0xf62865(_0x4890f2,_0x2d7dc1,_0x12a7ca);_0x1984a7[_0x217d29(0x298)]=class extends _0x1a38be[_0x217d29(0x234)]{constructor(_0x227fb8,_0x158df6,_0x3dcce3){const _0x2e7829=_0x217d29;super(),this[_0x2e7829(0x325)]=_0x227fb8,this['_httpService']=_0x158df6,this[_0x2e7829(0x29c)]=_0x3dcce3;}async[_0x217d29(0x1ad)](_0x17c1cb,_0x19a80f,_0x8eb5b8,..._0x3e6492){const _0x2eb39a=_0x217d29;var _0x4950cf,_0x5f39ea,_0x38cc68,_0xa1822a;const _0x21ca69=this[_0x2eb39a(0x325)][_0x2eb39a(0x2ad)]();if(!_0x21ca69)throw new Error(_0x2eb39a(0x186));const _0x5f12fa=((_0x4950cf=this[_0x2eb39a(0x29c)][_0x2eb39a(0x1b2)](_0x414f9e[_0x2eb39a(0x29e)]))!=null?_0x4950cf:_0x414f9e[_0x2eb39a(0x251)])+'/'+_0x17c1cb+_0x2eb39a(0x162)+_0x19a80f,_0x405743=new URL(window[_0x2eb39a(0x1f5)][_0x2eb39a(0x1ef)]),_0xe20c43={'scriptId':_0x17c1cb,'runId':(_0x5f39ea=_0x405743['searchParams']['get'](_0x2eb39a(0x2bb)))!=null?_0x5f39ea:'','function':_0x19a80f,'unitId':_0x21ca69[_0x2eb39a(0x1ee)](),'argsOfFunction':JSON[_0x2eb39a(0x2ca)](_0x3e6492),'invokeId':(_0x38cc68=_0x8eb5b8[_0x2eb39a(0x18c)])!=null?_0x38cc68:'','executionId':(_0xa1822a=_0x8eb5b8[_0x2eb39a(0x2d6)])!=null?_0xa1822a:''};try{const _0x54f109=await this[_0x2eb39a(0x11f)][_0x2eb39a(0xed)](_0x5f12fa,{'body':_0xe20c43});return _0x54f109['body']['error']&&_0x54f109[_0x2eb39a(0x31f)][_0x2eb39a(0x26a)]['code']!==_0x1cde4b['OK']?'Failed':_0x54f109[_0x2eb39a(0x31f)]['result'];}catch{return _0x2eb39a(0x2d3);}}},_0x1984a7['RemoteUniscriptService']=_0x18794a([_0x2730a3(0x0,_0x1a38be[_0x217d29(0x371)]),_0x2730a3(0x1,_0x1a38be[_0x217d29(0x2e4)](_0x2121db[_0x217d29(0x111)])),_0x2730a3(0x2,_0x1a38be[_0x217d29(0x227)])],_0x1984a7['RemoteUniscriptService']),_0x1984a7[_0x217d29(0x24f)]=_0x3179f7,_0x1984a7[_0x217d29(0x285)]=_0x21cf24,_0x1984a7[_0x217d29(0x177)]=_0x455229,_0x1984a7[_0x217d29(0x2a2)]=_0x1a31cc,_0x1984a7[_0x217d29(0x210)]=_0x3fd21a,Object[_0x217d29(0x14c)](_0x1984a7,Symbol[_0x217d29(0x12d)],{'value':_0x217d29(0x2ec)});}));function _0x4961(_0x3e127b,_0x26f70f){const _0x1773a7=_0x1773();return _0x4961=function(_0x496171,_0x4c4086){_0x496171=_0x496171-0xdd;let _0x332b47=_0x1773a7[_0x496171];return _0x332b47;},_0x4961(_0x3e127b,_0x26f70f);}function _0x1773(){const _0x32d716=['forEach','m2Prime','permission.title','APPLY_NON_SEQUENTIAL_REVISION','replaceState','CollaborationStatus','editingUnit','hide','536lgDjKi','_init','setUndoRedoMutationParamsCache','runOnServer','defs','evenodd','[CollaborationDataLoaderController]','newValue','getConfig','RemoveRowCommandId','AWAITING','getSkeleton','IRenderManagerService','getOwnPropertySymbols','pluginName','SetSelectionsOperation','_setupSubUnitSync','_logService','ILogService','transform','getRenderById','red300','object','_config','UnitStatus','unsubscribe','max','_getSheetObject','@univerjs/core','SetWorksheetActivateCommand','imageSourceType','function','transformStateCache','CollaborationUIEventService','UNIVER_DOC','_disabled','with','DocSelectionManagerService','Workbook','InsertRowCommandId','getUnitStatus$','concat','@univerjs-pro/collaboration-client','onlineStatusIcon','addHandlerCallback','_roomMembers$','then','syncEditingCollabCursor','height','BrowserCollaborationSocketService','CollaborationSocketService','UniverIcon','@univerjs/rpc','debounce','session.will-retry','isActive','setParam','@univerjs/ui','handleInsertCol','sheetID','application/json','call','LOCAL_CACHE_INTERVAL','_colorIndex','UPDATE_CURSOR','UniverCollaborationClientUIPlugin','INVALID_ARGUMENT','getCurrentRevOfUnit','getUnitId','href','useRef','VIEW_MAIN','createInstance','CollaborationEvent','className','location','APPLY_DUPLICATED','skeleton','getValue','none','ticket','loadOfflineData','arc','_clearOtherTimers','_cursorInfo$','endColumn','setActiveRange','_localStorageService','@univerjs/sheets','fillText','searchParams','blue400','UNAUTHENTICATED','width','clearTimeout','children','has','univer-online-status-title','CollaborationSessionService','defIds','PENDING','UniverUi','WebURLService','PERMISSION_DENIED','jsx','registerRenderModule','_docSkeletonManagerService','Error','327871bThzUJ','getTypeOfUnitDisposed$','_saveTaskMap','_assignedColors','ALREADY_EXISTS','UniverDocs','parse','RxDisposable','getViewport','13647492BnYCqh','_createSocketURL','UNRECOGNIZED','_ensureSubject','_revisionService','getDocRanges','_removeCollabCursors','EffectRefRangId','IConfigService','_startDocCollabCursor','_updateLocalCursor','xlink:href','JOIN_ROOM_FAILED','size','on-line-single_clip0_910_349','DOC_RANGE_TYPE','cursorInfo$','_drawRectRange','name','wsSessionTicketUrl','DesktopCollaborationStatusDisplayController','Disposable','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','OTHER_CLIENTS_EDITING','MessageType','substring','closePath','useDependency','_getSessionTicket','collabStatus.fetchMiss','getParam','UniverCore','redoState','purple300','_lastPointer','roomMembers','mapTo','on-line-single','extend','_getSaveTimeout','@univerjs-pro/collaboration','getCoordByCell','from','@univerjs/engine-formula','MUTATION','_render','SOCKET_FAILED_RETRY','mutations','CollaborationStatusDisplay','isTransformMutationFailure','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getMergeRange','disposeUnit','_imageIoService','isEditing','jsxs','YUUMI_RATE_OVER_LIMIT','AWAITING_WITH_PENDING','loadUnit','fillStyle','_registerDependencies','@univerjs/network','backgroundColor','random','send','handleIRemoveCol','subUnitId','APPLY_REVISION_CONFILICT','getAncestorScale','IDocClipboardService','data','_collaborationController','_collabCursorController','path','INotificationService','error','_draw','getRangePointData','react','SessionStatus','LICENSE_DISTRO_REJECTED','collaboration-client.offline-data-not-saved','deserializeRangeWithSheet','reconnect','DependentOn','trim','getCurrentUnitForType','row','UniverDesign','addEventListener','onMouseMove','FromArray','USERS_LEAVE','restore','_cachedData','ACTIVE_UNIT_EVENT_CHANNEL','push','beginPath','COLORS','setShapeProps','findNodePositionByCharIndex','TOO_MANY_REQUESTS','IURLService','_registerRenderDependencies','BehaviorSubject','_sheetSkeletonManagerService','RichTextEditingMutation','_handleEvent','set','lineTo','getActiveSheet','amd','univerjs-icon\x20univerjs-icon-','Unknown\x20user','_localCacheService','min','setItem','top','_docClipboardService','subunit','UniverRpc','RemoteUniscriptService','rxjs','unit','addObjects','_configService','_updateURLWithCurrentState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DataLoaderService','SHEET_VIEWPORT_KEY','_unitStatus','WebBrowserSingleActiveUnitService','merge','clipPath','transformSelections','_startSheetCollabCursor','MoveRangeCommandId','_themeService','ENSURE_SNAPSHOT_EXECUTION','_anchor','get','saveOfflineData','getFocusedUnit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setStateCache','jiqing500','includes','_beforeCloseService','measureText','_urlService','_getScale','IRemoteInstanceService','M0\x200H16V16H0z','_scheduleClearOtherTimer','54971tDgIYi','_anchorDot','runId','938teXrfJ','_heartbeatTimer','setInterval','url(#$1','getTypeOfUnitAdded$','subscribeEvent','font','debug','CollaborationUIEventId','_docTransformStateCacheService','getCollabEntity$','UniverProCollaboration','_transformPreviousActiveRange','_onCursorUpdate','stringify','_onRefRangeChange','toRgbString','_setupBeforeClosingHandler','Subject','getOwnPropertyDescriptor','DocStateChangeManagerService','IMessageService','2896300uHoZRc','Failed','_unitOnClients','Rectangle','executionId','TEXT','round','_entityInit$','collabStatus.conflict','#fff','rgba(255,\x20255,\x20255,\x200.01)','_localeService','_onCursorDelete','delete','_shapes','createSocket','text','colorChannel1','Inject','_context','translate(.97)','InsertColCommandId','key','UniverInstanceType','makeDirty','_toggleOnline','Module','onlineStatusTitle','UniverDrawing','unshift','show','transformMutation','collaboration-client-ui.config','_color','LocaleService','WebSocketService','toString','APPLY_PERMISSION_DENIED','div','_initEvent','_session','collabCursorState$','getMergeData','split','url(#on-line-single_clip0_910_349)','toDisposable','icon','_notificationService','selection','color','APPLY_REJECT','_colorAssignService','_handleHover','0\x200\x2017\x2016','symbol','transformByState','DocSkeletonManagerService','getSheetBySheetId','filter','Optional','_transformService','pipe','takeUntil','currentTheme$','replaceDocRanges','collabStatus.synced','unload','getCurrent','ITransformService','switchMap','unitID','online','operators','_collabCursorState$','RemoveColCommandId','Warning','collab-rect-range-','body','OFFLINE','assign','_dataLoaderService','OffLineSingle','_eventUnsubscribe','_instanceService','CONFLICT','uni.network.url-service','permission.content','setAlpha','UniverSheets','length','activeSheet$','onCommandExecuted','docStateChange$','_backgroundColor','IUIPartsService','_docStateChangeManagerService','Injector','_initCommandExecutedListener','DocIMEInputManagerService','memberID','getStateCache','_cursors','collab-client.tooltip.reconnect','_entities','getSheetId','hovered','_hideTimer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','currentSkeleton$','asObservable','deepClone','transformIMECache','getLocalCacheKey','all','find','_status$','startColumn','transformRemoteChangeset','ranges','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initStatusListener','IBeforeCloseService','urlChange$','_send','_hovered','_transformHistoryAndStateStack','_cursorShapes','SetTextSelectionsOperation','prototype','#FFF','disposeWithMe','1em','_updateSubUnitFromURLParams','Tools','event$','_injector','NOT_FOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_textBubble','requireSession','useObservable','createIdentifier','attrs','HEADER_MENU','fromEvent','ISocketService','_univerInstanceService','ICommandService','type','next','Tooltip','getCellPositionByOffset','exhaustSavingTask','_removeClearOtherTimer','Vector2','_docTransformIMECacheService','saveImage','contains','fill','IUniverInstanceService','MemberService','range','isTransformMutationsWithChangesetSuccess','ILocalStorageService','_docSkeleton','_hover','roomMembers$','OTHER_CLIENT_EDITING','ColorKit','startRow','serializeRangeWithSheet','bottom','setTimeout','drawWith','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_range','indexOf','svg','DocCollaborationEntity','runRefRangeMutations','@univerjs/docs','post','params','_updateCollabCursors','offline','_labelPosition','selections','removeParam','_initResize','_memberService','_saveCache','flatMap','LOCAL_CACHE_INTERVAL_KEY','DeleteRangeMoveUpCommandId','_uiPartsService','updateOfflineData','url(#off-line-single_clip0_910_343)','combineLatest','...','_selfUnitIDs','863598UcpQEF','_collaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','isArray','NOT_COLLAB','enableLocalCache','_transformUndoRedoStack','@univerjs/design','_commandService','eventID','UniverProCollaborationClient','collab-text-range-','react/jsx-runtime','_scheduleSaving','black','getUnhiddenWorksheets','complete','HTTPService','Plugin','currentColor','registerRefRange','values','map','off-line-single_clip0_910_343','InsertRangeMoveRightCommandId','CollaborationController','doc.mutation.rich-text-editing','_name','handleInsertRangeMoveRight','YUUMI_UNABLE_LOAD_URL','mergeOverrideWithDependencies','_httpService','shareReplay','NO_OTHER_CLIENTS_EDITING','handleIRemoveRow','OnLineSingle','debounceTime','string','_getAnchorBounding','UniverSheetsUi','entries','_handleJoinEvent','SNAPSHOT_INVALID_SNAPSHOT','onlineStatus','init','toStringTag','getUndoRedoMutationParamsCache','getSheetObject','BuiltInUIPart','dispose','getMember','_refreshCollabCursors','RECT','ISnapshotServerService','onPointerLeave$','cursorInfo','@univerjs/engine-render','generateRandomId','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','UniverNetwork','undoState','Rect','touchDependencies','RegularPolygon','collabStatus.syncing','_renderManagerService','onLocalMutation','CLOSE_ROOM','history','CollaborationDataLoaderController','connectInjector','COMPLETION_FINISHED','Shape','replace','LICENSE_EXPORT_SIZE_EXCEEDED','displayName','defineProperty','some','_toggleOffline','DeleteRangeMoveLeftCommandId','UNIVER_SHEET','UniverProCollaborationClientUi','SNAPSHOT_HAS_BEEN_REMOVED','942ANiORj','getOffsetConfig','onPointerEnter$','tag','getColor','onStarting','_id','SheetsSelectionsService','ONLINE','@univerjs/docs-ui','_scheduleHeartbeat','assignAColorForMemberID','_refRangeService','@univerjs/sheets-ui','executeCommand','/run/','YUUMI_URL_COL_OUT_OF_RANGE','getActiveRange','_collabSessionService','_messageService','unitId','ILocalCacheService','0\x200\x2016\x2016','onRendered','forwardRef','_online','useCallback','saveTaskMap','UNDEFINED','_drawAnchor','_docTransformSelectionsService','univer-online','SYNCED','verdancy600','pushState','column','SheetCollabCursorShape','getItem','SOCKET_FAILED','fromEventSubject','addObject','LICENSE_MAX_UNITS_EXCEEDED','distinctUntilChanged','TEXT_RANGE_LAYER_INDEX','transformMutationsWithChangeset','clearInterval','RevisionService','CHANGESET_REVISION_CONFILICT','add','m1Prime','LICENSE_IMPORT_SIZE_EXCEEDED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initEntityListener','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-offline','createElement','_docSyncEditingCollabCursorService','invokeId','addClipboardHook','1752688bjYkiq','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subscribe','collaboration.single-unit.warning','UniverCollaborationClientPlugin','handleDeleteRangeMoveLeft','engine','_scene','registerComponent','idSuffix','NodePositionConvertToRectRange','getCollabCursors$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_syncEditingCollabCursorService','collaboration.closeRoom','CONNECTOR_DATA_TOO_LARGE','save','fillRule','_initStatusComponent','dispose$'];_0x1773=function(){return _0x32d716;};return _0x1773();}
1
+ (function(_0x233bd2,_0x2f4a3b){const _0xa0f798=_0x328a,_0x131592=_0x233bd2();while(!![]){try{const _0x3f7db2=parseInt(_0xa0f798(0x13c))/0x1+-parseInt(_0xa0f798(0x309))/0x2*(parseInt(_0xa0f798(0x159))/0x3)+-parseInt(_0xa0f798(0x210))/0x4*(-parseInt(_0xa0f798(0x147))/0x5)+parseInt(_0xa0f798(0x288))/0x6*(parseInt(_0xa0f798(0x168))/0x7)+-parseInt(_0xa0f798(0xf8))/0x8+parseInt(_0xa0f798(0x318))/0x9*(parseInt(_0xa0f798(0x247))/0xa)+parseInt(_0xa0f798(0x220))/0xb;if(_0x3f7db2===_0x2f4a3b)break;else _0x131592['push'](_0x131592['shift']());}catch(_0x52204b){_0x131592['push'](_0x131592['shift']());}}}(_0x4481,0x7f372),function(_0x25748a,_0x492a46){const _0x15400c=_0x328a;typeof exports==_0x15400c(0x2ee)&&typeof module<'u'?_0x492a46(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x15400c(0x1c8)),require('@univerjs/drawing'),require(_0x15400c(0x2d9)),require(_0x15400c(0x2c6)),require(_0x15400c(0x316)),require(_0x15400c(0x133)),require(_0x15400c(0x250)),require('rxjs/operators'),require(_0x15400c(0x2cc)),require(_0x15400c(0x1fa)),require(_0x15400c(0x23d)),require(_0x15400c(0x27b)),require(_0x15400c(0x26c)),require(_0x15400c(0x255))):typeof define==_0x15400c(0x193)&&define[_0x15400c(0x15b)]?define([_0x15400c(0x2f4),_0x15400c(0xf7),_0x15400c(0x29d),_0x15400c(0x2c4),_0x15400c(0x256),_0x15400c(0x1c8),_0x15400c(0x22f),_0x15400c(0x2d9),_0x15400c(0x2c6),_0x15400c(0x316),'@univerjs/engine-formula','@univerjs/sheets',_0x15400c(0x2d0),_0x15400c(0x2cc),_0x15400c(0x1fa),_0x15400c(0x23d),_0x15400c(0x27b),_0x15400c(0x26c),_0x15400c(0x255)],_0x492a46):(_0x25748a=typeof globalThis<'u'?globalThis:_0x25748a||self,_0x492a46(_0x25748a[_0x15400c(0x2b3)]={},_0x25748a['UniverProCollaborationClient'],_0x25748a[_0x15400c(0x29f)],_0x25748a[_0x15400c(0x303)],_0x25748a[_0x15400c(0x268)],_0x25748a['UniverDocsUi'],_0x25748a[_0x15400c(0x1ef)],_0x25748a['rxjs'],_0x25748a['UniverDocs'],_0x25748a['UniverProCollaboration'],_0x25748a[_0x15400c(0x135)],_0x25748a[_0x15400c(0x2e8)],_0x25748a[_0x15400c(0x2d9)][_0x15400c(0x2f3)],_0x25748a[_0x15400c(0x154)],_0x25748a[_0x15400c(0x28b)],_0x25748a[_0x15400c(0x19d)],_0x25748a[_0x15400c(0x24b)],_0x25748a[_0x15400c(0x28b)],_0x25748a[_0x15400c(0x310)]));}(this,function(_0x4354e3,_0xcc6ee8,_0x35c4a7,_0x4af313,_0x16331a,_0x104ea3,_0x447e19,_0x107ddf,_0x508484,_0x1d9249,_0x29bf87,_0x49a7a6,_0x48ea3e,_0x4325d7,_0x29ec43,_0xfd316b,_0xd1807f,_0x49a7d5,_0x22d3c2){'use strict';const _0x3f4ac5=_0x328a;var _0x4c8482=Object[_0x3f4ac5(0xe4)],_0x4be432=(_0x3ff6e8,_0x394f7c,_0x1bcbd8)=>_0x394f7c in _0x3ff6e8?_0x4c8482(_0x3ff6e8,_0x394f7c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1bcbd8}):_0x3ff6e8[_0x394f7c]=_0x1bcbd8,_0x41478a=(_0x307391,_0x52f6d4,_0x28fc43)=>_0x4be432(_0x307391,typeof _0x52f6d4!=_0x3f4ac5(0x1ed)?_0x52f6d4+'':_0x52f6d4,_0x28fc43),_0x46f3fc=Object[_0x3f4ac5(0x1d4)],_0x40f4fb=(_0x80adff,_0x1ea142,_0x4547b4,_0x724776)=>{const _0xc3a2f8=_0x3f4ac5;for(var _0x2c8068=_0x724776>0x1?void 0x0:_0x724776?_0x46f3fc(_0x1ea142,_0x4547b4):_0x1ea142,_0xd9630a=_0x80adff[_0xc3a2f8(0x221)]-0x1,_0x1b90f7;_0xd9630a>=0x0;_0xd9630a--)(_0x1b90f7=_0x80adff[_0xd9630a])&&(_0x2c8068=_0x1b90f7(_0x2c8068)||_0x2c8068);return _0x2c8068;},_0x5497d0=(_0x1c023f,_0x38d6ae)=>(_0x17efcb,_0x4204ce)=>_0x38d6ae(_0x17efcb,_0x4204ce,_0x1c023f);let _0x49f9dc=class extends _0x35c4a7['RxDisposable']{constructor(_0x393d9f,_0x270526){const _0xabeb63=_0x3f4ac5;super(),this[_0xabeb63(0x20d)]=_0x393d9f,this[_0xabeb63(0x31e)]=_0x270526,this[_0xabeb63(0x199)]();}[_0x3f4ac5(0x199)](){const _0x2368a9=_0x3f4ac5,_0x4c1ff6=this;this[_0x2368a9(0x1b8)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x1c1a07=>{const _0x2274a1=_0x2368a9,_0x2605d5=await _0x4c1ff6['_imageIoService'][_0x2274a1(0x2bc)](_0x1c1a07);return _0x2605d5?{'source':_0x2605d5[_0x2274a1(0x1a2)],'imageSourceType':_0x2605d5[_0x2274a1(0x182)]}:null;}}));}};_0x49f9dc=_0x40f4fb([_0x5497d0(0x0,_0x104ea3[_0x3f4ac5(0x1c7)]),_0x5497d0(0x1,_0x447e19[_0x3f4ac5(0x16a)])],_0x49f9dc);const _0x4728f5=[_0x3f4ac5(0x11e),'jiqing500',_0x3f4ac5(0x33d),_0x3f4ac5(0x1d8),_0x3f4ac5(0x14a),_0x3f4ac5(0x16e)];class _0x419db7 extends _0x35c4a7[_0x3f4ac5(0x192)]{constructor(){const _0x443760=_0x3f4ac5;super(...arguments),_0x41478a(this,'_assignedColors',new Map()),_0x41478a(this,_0x443760(0x164),0x0);}[_0x3f4ac5(0x149)](_0x4444e8){const _0x586976=_0x3f4ac5;if(this['_assignedColors'][_0x586976(0xd2)](_0x4444e8))return this[_0x586976(0x235)][_0x586976(0x1ec)](_0x4444e8);const _0x11387d=_0x4728f5[this[_0x586976(0x164)]];return this[_0x586976(0x164)]=(this['_colorIndex']+0x1)%_0x4728f5['length'],this[_0x586976(0x235)][_0x586976(0x2b8)](_0x4444e8,_0x11387d),_0x11387d;}}function _0x550fd5(_0x13df9d){const _0x5800b6=_0x3f4ac5;let _0x6d6322='';for(const _0x514375 of _0x13df9d){const {startOffset:_0x47f2ca,endOffset:_0x485684,isActive:_0xa5917e,rangeType:_0x1ffa75,segmentId:_0x1bd726,segmentPage:_0x1346c1}=_0x514375;_0x6d6322[_0x5800b6(0x221)]&&(_0x6d6322+=','),_0x6d6322+=_0x47f2ca+':'+_0x485684+':'+(_0xa5917e?'1':'0')+':'+_0x1ffa75+':'+_0x1bd726+':'+_0x1346c1;}return _0x6d6322;}function _0x5b9d18(_0x416bcf){const _0x10b257=_0x3f4ac5,_0x32dee2=_0x416bcf['split'](','),_0x32aa7a=[];for(const _0x40909d of _0x32dee2){const [_0x1e9a05,_0x4461da,_0x872c33,_0x26e645,_0xd70777,_0x1471d7]=_0x40909d['split'](':');_0x32aa7a['push']({'startOffset':Number(_0x1e9a05),'endOffset':Number(_0x4461da),'collapsed':_0x1e9a05===_0x4461da,'isActive':_0x872c33==='1','rangeType':_0x26e645===_0x35c4a7[_0x10b257(0x2a2)][_0x10b257(0x1c6)]?_0x35c4a7[_0x10b257(0x2a2)][_0x10b257(0x1c6)]:_0x35c4a7[_0x10b257(0x2a2)][_0x10b257(0x207)],'segmentId':typeof _0xd70777==_0x10b257(0x349)?String(_0xd70777):'','segmentPage':Number(_0x1471d7!=null?_0x1471d7:-0x1)});}return _0x32aa7a[_0x10b257(0x1b4)](_0x3e802d=>_0x3e802d[_0x10b257(0x2e0)])||(_0x32aa7a[0x0]['isActive']=!0x0),_0x32aa7a;}class _0x14555b extends _0x35c4a7[_0x3f4ac5(0x2a9)]{constructor(){const _0x39c4ed=_0x3f4ac5;super(...arguments),_0x41478a(this,_0x39c4ed(0x30a),new _0x107ddf['BehaviorSubject'](null)),_0x41478a(this,_0x39c4ed(0x1cb),this[_0x39c4ed(0x30a)][_0x39c4ed(0x1a9)]());}['syncEditingCollabCursor'](_0x419556){const _0x23543b=_0x3f4ac5,{unitID:_0x57b3a3,memberID:_0x504cb6,textRanges:_0x106ba3}=_0x419556,_0x3c0128=_0x550fd5(_0x106ba3);if(_0x3c0128==='')return;const _0x23de07={'unitID':_0x57b3a3,'memberID':_0x504cb6,'selection':_0x3c0128};this[_0x23543b(0x30a)][_0x23543b(0x33a)](_0x23de07);}}var _0x4e69e5=Object[_0x3f4ac5(0x1d4)],_0x524300=(_0x346be5,_0x41cfc4,_0xacfa79,_0xf6bd74)=>{const _0x4f29e6=_0x3f4ac5;for(var _0x3617a3=_0xf6bd74>0x1?void 0x0:_0xf6bd74?_0x4e69e5(_0x41cfc4,_0xacfa79):_0x41cfc4,_0x58d973=_0x346be5[_0x4f29e6(0x221)]-0x1,_0x5132c4;_0x58d973>=0x0;_0x58d973--)(_0x5132c4=_0x346be5[_0x58d973])&&(_0x3617a3=_0x5132c4(_0x3617a3)||_0x3617a3);return _0x3617a3;},_0x50ee2a=(_0x25d8ec,_0x11f3fe)=>(_0x4eaa5f,_0x216490)=>_0x11f3fe(_0x4eaa5f,_0x216490,_0x25d8ec);const _0x56e51c=0x12c,_0x13b842=0x64;let _0x3020ed=class extends _0x35c4a7[_0x3f4ac5(0x2a9)]{constructor(_0x446d19,_0x1b42f2,_0x2c4415,_0x165111,_0x4cd3fb,_0x4245e7,_0x2bea39,_0xd6778b,_0x14c326){const _0x57e957=_0x3f4ac5;super(),_0x41478a(this,_0x57e957(0x2b7),!0x1),_0x41478a(this,_0x57e957(0x199),!0x1),_0x41478a(this,_0x57e957(0x257),new _0x107ddf[(_0x57e957(0xc6))](new Map())),_0x41478a(this,_0x57e957(0x271),this[_0x57e957(0x257)][_0x57e957(0x1a9)]()),_0x41478a(this,_0x57e957(0x1ff),new _0x107ddf['BehaviorSubject']([])),_0x41478a(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x107ddf[_0x57e957(0x26d)](_0x56e51c))),_0x41478a(this,_0x57e957(0x145),_0x35c4a7[_0x57e957(0x346)](_0x10b02b=>{const _0x2389e4=_0x57e957,_0x319efa={'eventID':_0x1d9249[_0x2389e4(0x331)][_0x2389e4(0xd7)],'data':{'unitID':this[_0x2389e4(0x1f1)],'memberID':this[_0x2389e4(0xec)][_0x2389e4(0x106)](),'selection':_0x550fd5(_0x10b02b)}};this[_0x2389e4(0xec)][_0x2389e4(0x2b0)](_0x319efa,this[_0x2389e4(0x1f1)]);},_0x13b842)),(this['unitID']=_0x446d19,this[_0x57e957(0xec)]=_0x1b42f2,this[_0x57e957(0x236)]=_0x2c4415,this['_colorAssignService']=_0x165111,this[_0x57e957(0x12c)]=_0x4cd3fb,this['_syncEditingCollabCursorService']=_0x4245e7,this['_transformService']=_0x2bea39,this[_0x57e957(0x1e2)]=_0xd6778b,this[_0x57e957(0xf6)]=_0x14c326);}get[_0x3f4ac5(0x319)](){const _0x495484=_0x3f4ac5;return this[_0x495484(0x257)]['getValue']();}get['roomMembers'](){const _0xf86ab6=_0x3f4ac5;return this['_roomMembers$'][_0xf86ab6(0x181)]();}[_0x3f4ac5(0x284)](){const _0x126bc9=_0x3f4ac5;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x126bc9(0x257)][_0x126bc9(0x2cd)](),this[_0x126bc9(0x1ff)][_0x126bc9(0x33a)]([]),this[_0x126bc9(0x1ff)]['complete']();}[_0x3f4ac5(0x338)](){const _0x56c36d=_0x3f4ac5;this['_init']||(this[_0x56c36d(0x199)]=!0x0,this[_0x56c36d(0xec)][_0x56c36d(0x304)][_0x56c36d(0x18b)](_0x107ddf['takeUntil'](this['dispose$']))[_0x56c36d(0x10e)](_0x20c862=>{const _0x1d2ebc=_0x56c36d;_0x20c862===_0xcc6ee8[_0x1d2ebc(0x2ed)]['ONLINE']?this[_0x1d2ebc(0x2e7)]():this['_toggleOffline']();}),this[_0x56c36d(0xec)][_0x56c36d(0x10f)]['pipe'](_0x107ddf['takeUntil'](this[_0x56c36d(0x116)]))[_0x56c36d(0x10e)](_0x193054=>{const _0x2f32e4=_0x56c36d,_0x49b477=_0x193054[_0x2f32e4(0x229)];_0x49b477===_0x1d9249[_0x2f32e4(0x331)][_0x2f32e4(0xd7)]&&this['_onCursorUpdate'](_0x193054),_0x49b477===_0x1d9249[_0x2f32e4(0x331)][_0x2f32e4(0x22e)]&&this[_0x2f32e4(0x2ad)](_0x193054);}),this[_0x56c36d(0x1b8)](this[_0x56c36d(0xf6)][_0x56c36d(0x1d0)](_0x4f81d1=>{const _0x4aaf76=_0x56c36d,_0x1548b1=_0x4f81d1[_0x4aaf76(0x343)];_0x1548b1!=null&&this[_0x4aaf76(0x2b7)]&&_0x4f81d1['id']===_0x508484[_0x4aaf76(0xc0)]['id']&&_0x1548b1[_0x4aaf76(0x196)]===this['unitID']&&_0x1548b1[_0x4aaf76(0x1a5)]===!0x1&&_0x1548b1[_0x4aaf76(0x1d7)][_0x4aaf76(0x221)]>0x0&&this[_0x4aaf76(0x145)](_0x1548b1[_0x4aaf76(0x1d7)]);})),this['_syncEditingCollabCursorService'][_0x56c36d(0x1cb)][_0x56c36d(0x18b)](_0x107ddf[_0x56c36d(0x126)](this['dispose$']))[_0x56c36d(0x10e)](_0x2f4e8b=>{const _0x528648=_0x56c36d;if((_0x2f4e8b==null?void 0x0:_0x2f4e8b['unitID'])!==this[_0x528648(0x1f1)])return;const _0x12c7a1={'eventID':_0x1d9249[_0x528648(0x331)][_0x528648(0xd7)],'data':_0x2f4e8b};this[_0x528648(0x1ab)](_0x12c7a1);}),this[_0x56c36d(0x1b8)](this[_0x56c36d(0xf6)]['onCommandExecuted'](_0x5b744c=>{const _0x7ddcc4=_0x56c36d;if(_0x5b744c['params']==null)return;const _0x177a98=_0x5b744c[_0x7ddcc4(0x343)];if(_0x5b744c['id']!==_0x508484[_0x7ddcc4(0x324)]['id']||_0x177a98[_0x7ddcc4(0x196)]!==this[_0x7ddcc4(0x1f1)])return;const _0x5221bd={'id':_0x7ddcc4(0x312),'params':_0x177a98},_0xa1bf80=this[_0x7ddcc4(0x319)];for(const [_0x5d8790,_0x313b62]of _0xa1bf80){const _0x180fab={'id':_0x7ddcc4(0x312),'params':{'unitId':this[_0x7ddcc4(0x1f1)],'actions':null,'textRanges':_0x313b62['ranges']}},_0x58bc7a=this[_0x7ddcc4(0x270)][_0x7ddcc4(0x115)](_0x5221bd,_0x180fab,!0x1);if(_0x1d9249['isTransformMutationFailure'](_0x58bc7a))throw _0x58bc7a[_0x7ddcc4(0x1f0)];_0xa1bf80['set'](_0x5d8790,{..._0x313b62,'ranges':_0x58bc7a[_0x7ddcc4(0x21c)][_0x7ddcc4(0x343)][_0x7ddcc4(0x172)]});}queueMicrotask(()=>{const _0x773bb4=_0x7ddcc4;this[_0x773bb4(0x257)][_0x773bb4(0x33a)](_0xa1bf80);});})));}[_0x3f4ac5(0x1ab)](_0x2e6cad){const _0x57915c=_0x3f4ac5;var _0x4b4a94,_0x40aa17;const {memberID:_0x533b8b,selection:_0x5aa86e}=_0x2e6cad[_0x57915c(0x1ca)],_0x4bf461=_0x5b9d18(_0x5aa86e),_0x2021a0=(_0x40aa17=(_0x4b4a94=this[_0x57915c(0x12c)][_0x57915c(0x1f6)](this['unitID'],_0x533b8b))==null?void 0x0:_0x4b4a94[_0x57915c(0x174)])!=null?_0x40aa17:_0x57915c(0x286),_0xf0fff6={'color':this[_0x57915c(0x121)][_0x57915c(0x149)](_0x533b8b),'name':_0x2021a0,'ranges':_0x4bf461},_0x1d49bf=this[_0x57915c(0x319)];_0x1d49bf[_0x57915c(0x2b8)](_0x533b8b,_0xf0fff6),this['_cursorInfo$'][_0x57915c(0x33a)](_0x1d49bf);}[_0x3f4ac5(0x2ad)](_0x3eb387){const _0x323df2=_0x3f4ac5,{memberID:_0x478ef7}=_0x3eb387[_0x323df2(0x1ca)],_0x11e851=this['cursorInfo'];_0x11e851[_0x323df2(0xbe)](_0x478ef7),this[_0x323df2(0x257)][_0x323df2(0x33a)](_0x11e851);}[_0x3f4ac5(0x2e7)](){const _0x32ff6e=_0x3f4ac5;var _0x3807d3;if(this[_0x32ff6e(0x2b7)]=!0x0,((_0x3807d3=this['_univerInstanceService'][_0x32ff6e(0xe9)]())==null?void 0x0:_0x3807d3[_0x32ff6e(0x162)]())!==this[_0x32ff6e(0x1f1)])return;const _0x3a0e95=this[_0x32ff6e(0x236)][_0x32ff6e(0x1ec)](_0x508484['DocSelectionManagerService'])[_0x32ff6e(0x1de)]();Array[_0x32ff6e(0x34a)](_0x3a0e95)&&_0x3a0e95[_0x32ff6e(0x221)]>0x0&&this[_0x32ff6e(0x145)](_0x3a0e95);}[_0x3f4ac5(0x27a)](){const _0x85cc81=_0x3f4ac5;this[_0x85cc81(0x2b7)]=!0x1;}};_0x3020ed=_0x524300([_0x50ee2a(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x50ee2a(0x3,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x419db7)),_0x50ee2a(0x4,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xcc6ee8['MemberService'])),_0x50ee2a(0x5,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x14555b)),_0x50ee2a(0x6,_0x1d9249[_0x3f4ac5(0x2f7)]),_0x50ee2a(0x7,_0x35c4a7[_0x3f4ac5(0x2d7)]),_0x50ee2a(0x8,_0x35c4a7[_0x3f4ac5(0x34f)])],_0x3020ed);var _0x10cb92=Object[_0x3f4ac5(0x1d4)],_0x2c1937=(_0x264134,_0x110a8b,_0x46f554,_0x1b0b37)=>{for(var _0x3a8120=_0x1b0b37>0x1?void 0x0:_0x1b0b37?_0x10cb92(_0x110a8b,_0x46f554):_0x110a8b,_0x143513=_0x264134['length']-0x1,_0x2932f8;_0x143513>=0x0;_0x143513--)(_0x2932f8=_0x264134[_0x143513])&&(_0x3a8120=_0x2932f8(_0x3a8120)||_0x3a8120);return _0x3a8120;},_0x4d0681=(_0x1ef1a4,_0x3eff81)=>(_0x48f88e,_0x504c6d)=>_0x3eff81(_0x48f88e,_0x504c6d,_0x1ef1a4);const _0x58295c=0x12c,_0x360fc5=0x64,_0x4f8f76=()=>{let _0x4f2f61=[],_0x34d190=!0x1;return _0x10486d=>{_0x4f2f61['push'](_0x10486d),_0x34d190||(_0x34d190=!0x0,setTimeout(()=>{_0x4f2f61['forEach'](_0x2e08d2=>_0x2e08d2()),_0x4f2f61=[],_0x34d190=!0x1;}));};};let _0x3748e=class extends _0x35c4a7[_0x3f4ac5(0x2a9)]{constructor(_0x2d56ba,_0x24d546,_0x270237,_0x5d6bb3,_0x912cb5,_0x54dd90,_0x2bcdbb,_0x2b58a0){const _0x5e8a86=_0x3f4ac5;super(),_0x41478a(this,_0x5e8a86(0x2b7),!0x1),_0x41478a(this,_0x5e8a86(0x199),!0x1),_0x41478a(this,_0x5e8a86(0x257),new _0x107ddf[(_0x5e8a86(0xc6))](new Map())),_0x41478a(this,_0x5e8a86(0x271),this[_0x5e8a86(0x257)][_0x5e8a86(0x1a9)]()),_0x41478a(this,_0x5e8a86(0x1ff),new _0x107ddf[(_0x5e8a86(0xc6))]([])),_0x41478a(this,'roomMembers$',this[_0x5e8a86(0x1ff)][_0x5e8a86(0x18b)](_0x107ddf[_0x5e8a86(0x26d)](_0x58295c))),_0x41478a(this,_0x5e8a86(0x145),_0x35c4a7[_0x5e8a86(0x346)]((_0x3eb6d3,_0x39783a)=>{const _0x187bc1=_0x5e8a86,_0x24a956={'eventID':_0x1d9249[_0x187bc1(0x331)][_0x187bc1(0xd7)],'data':{'unitID':this[_0x187bc1(0x1f1)],'memberID':this[_0x187bc1(0xec)]['getMemberID'](),'selection':_0x29bf87['serializeRangeWithSheet'](_0x3eb6d3,_0x39783a['range'])}};this[_0x187bc1(0xec)][_0x187bc1(0x2b0)](_0x24a956,this[_0x187bc1(0x1f1)]);},_0x360fc5)),(this['unitID']=_0x2d56ba,this[_0x5e8a86(0xec)]=_0x24d546,this['_injector']=_0x270237,this[_0x5e8a86(0x121)]=_0x5d6bb3,this[_0x5e8a86(0x12c)]=_0x912cb5,this[_0x5e8a86(0x1e2)]=_0x54dd90,this[_0x5e8a86(0xf6)]=_0x2bcdbb,this[_0x5e8a86(0x1c2)]=_0x2b58a0);}get['cursorInfo'](){const _0x5bc39d=_0x3f4ac5;return this[_0x5bc39d(0x257)][_0x5bc39d(0x181)]();}get['roomMembers'](){const _0x1cec2c=_0x3f4ac5;return this[_0x1cec2c(0x1ff)][_0x1cec2c(0x181)]();}[_0x3f4ac5(0x284)](){const _0x4f9348=_0x3f4ac5;super[_0x4f9348(0x284)](),this[_0x4f9348(0x257)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x4f9348(0x1ff)][_0x4f9348(0x33a)]([]),this[_0x4f9348(0x1ff)][_0x4f9348(0x2cd)]();}[_0x3f4ac5(0x338)](){const _0x1eceb8=_0x3f4ac5;this[_0x1eceb8(0x199)]||(this[_0x1eceb8(0x199)]=!0x0,this[_0x1eceb8(0xec)]['sessionStatus$'][_0x1eceb8(0x18b)](_0x107ddf['takeUntil'](this[_0x1eceb8(0x116)]))['subscribe'](_0x5a6035=>{const _0x56e698=_0x1eceb8;_0x5a6035===_0xcc6ee8[_0x56e698(0x2ed)][_0x56e698(0x1db)]?this[_0x56e698(0x2e7)]():this[_0x56e698(0x27a)]();}),this[_0x1eceb8(0xec)][_0x1eceb8(0x10f)]['pipe'](_0x107ddf[_0x1eceb8(0x126)](this['dispose$']))[_0x1eceb8(0x10e)](_0x5477cf=>{const _0x4be54e=_0x1eceb8,_0x137bb3=_0x5477cf[_0x4be54e(0x229)];_0x137bb3===_0x1d9249[_0x4be54e(0x331)][_0x4be54e(0xd7)]&&this[_0x4be54e(0x1ab)](_0x5477cf),_0x137bb3===_0x1d9249[_0x4be54e(0x331)][_0x4be54e(0x22e)]&&this['_onCursorDelete'](_0x5477cf);}),this[_0x1eceb8(0xf5)](),this['disposeWithMe'](this['_commandService'][_0x1eceb8(0x1d0)](_0x35af47=>{const _0x218fc2=_0x1eceb8;if(this[_0x218fc2(0x2b7)]&&_0x35af47['id']===_0x49a7a6[_0x218fc2(0x327)]['id']&&_0x35af47[_0x218fc2(0x343)][_0x218fc2(0x196)]===this['unitID']){const _0x14a35d=_0x35af47['params'];this['_updateLocalCursor'](_0x14a35d[_0x218fc2(0x10c)],_0x14a35d['selections'][0x0]);}})));}[_0x3f4ac5(0x1ab)](_0x530269){const _0x47569f=_0x3f4ac5;var _0x3d6e0e,_0x33818c;const {memberID:_0xd74493,selection:_0x2ad465}=_0x530269['data'],{sheetName:_0x37771b,range:_0x3789fd}=_0x29bf87[_0x47569f(0x23b)](_0x2ad465),_0xd860e5={'name':(_0x33818c=(_0x3d6e0e=this[_0x47569f(0x12c)][_0x47569f(0x1f6)](this['unitID'],_0xd74493))==null?void 0x0:_0x3d6e0e[_0x47569f(0x174)])!=null?_0x33818c:_0x47569f(0x286),'range':this[_0x47569f(0x2fb)](_0x37771b,_0x3789fd),'sheetID':_0x37771b,'color':this[_0x47569f(0x121)][_0x47569f(0x149)](_0xd74493),'selection':_0x2ad465},_0x2070ef=this[_0x47569f(0x319)];_0x2070ef[_0x47569f(0x2b8)](_0xd74493,_0xd860e5),this['_cursorInfo$'][_0x47569f(0x33a)](_0x2070ef);}[_0x3f4ac5(0x2ad)](_0xdccd06){const _0x19b475=_0x3f4ac5,{memberID:_0x930bc5}=_0xdccd06[_0x19b475(0x1ca)],_0xd7830f=this[_0x19b475(0x319)];_0xd7830f[_0x19b475(0xbe)](_0x930bc5),this[_0x19b475(0x257)][_0x19b475(0x33a)](_0xd7830f);}[_0x3f4ac5(0x2fb)](_0xe77a86,_0x3dd4f5){const _0x44e25a=_0x3f4ac5;var _0x5283c9,_0x3832cd;const _0x24ca37=(_0x3832cd=(_0x5283c9=this[_0x44e25a(0x1e2)]['getUniverSheetInstance'](this[_0x44e25a(0x1f1)]))==null?void 0x0:_0x5283c9[_0x44e25a(0x245)](_0xe77a86))==null?void 0x0:_0x3832cd['getMergeData']();return(_0x24ca37==null?void 0x0:_0x24ca37[_0x44e25a(0x272)](_0xf513b4=>_0x35c4a7[_0x44e25a(0xf2)][_0x44e25a(0x22b)](_0xf513b4,_0x3dd4f5)))||_0x3dd4f5;}[_0x3f4ac5(0xf5)](){const _0x51393e=_0x3f4ac5,_0x1620b4=new _0x35c4a7['DisposableCollection'](),_0x223d97=_0x4f8f76(),_0x306d02=()=>{const _0x3aa06d=_0x328a;_0x1620b4[_0x3aa06d(0x284)]();const _0x794230=(_0x25138e,_0x597e91,_0x2c3eab,_0x3640af)=>{const _0x42f838=_0x3aa06d;let _0x13e0c5=[];switch(_0x25138e['id']){case _0x49a7a6[_0x42f838(0x2d6)]['DeleteRangeMoveLeftCommandId']:{_0x13e0c5=_0x49a7a6[_0x42f838(0x1a8)](_0x25138e,_0x3640af);break;}case _0x49a7a6[_0x42f838(0x2d6)][_0x42f838(0x29b)]:{_0x13e0c5=_0x49a7a6[_0x42f838(0x1fd)](_0x25138e,_0x3640af);break;}case _0x49a7a6['EffectRefRangId'][_0x42f838(0x18c)]:{_0x13e0c5=_0x49a7a6[_0x42f838(0x177)](_0x25138e,_0x3640af);break;}case _0x49a7a6[_0x42f838(0x2d6)][_0x42f838(0x2c1)]:{_0x13e0c5=_0x49a7a6[_0x42f838(0x224)](_0x25138e,_0x3640af);break;}case _0x49a7a6[_0x42f838(0x2d6)][_0x42f838(0xc9)]:{_0x13e0c5=_0x49a7a6[_0x42f838(0x1fc)](_0x25138e,_0x3640af);break;}case _0x49a7a6[_0x42f838(0x2d6)]['InsertRowCommandId']:{_0x13e0c5=_0x49a7a6[_0x42f838(0x10d)](_0x25138e,_0x3640af);break;}case _0x49a7a6['EffectRefRangId'][_0x42f838(0x2f2)]:{_0x13e0c5=_0x49a7a6[_0x42f838(0x1fb)](_0x25138e,_0x3640af);break;}case _0x49a7a6[_0x42f838(0x2d6)][_0x42f838(0x2e2)]:{_0x13e0c5=_0x49a7a6['handleIRemoveCol'](_0x25138e,_0x3640af);break;}case _0x49a7a6['EffectRefRangId'][_0x42f838(0x320)]:{_0x13e0c5=_0x49a7a6[_0x42f838(0x13f)](_0x25138e,_0x3640af);break;}}const _0x4c2dbd=_0x49a7a6[_0x42f838(0x156)](_0x13e0c5,_0x3640af),_0x41becb=this['cursorInfo'][_0x42f838(0x1ec)](_0x597e91);if(_0x41becb&&_0x4c2dbd){const _0x5af066={..._0x41becb,'range':_0x4c2dbd};this[_0x42f838(0x319)][_0x42f838(0x2b8)](_0x597e91,_0x5af066),_0x223d97(()=>{const _0xb27e3=_0x42f838,_0x5d9265=this['_refRangeService'][_0xb27e3(0x208)](_0x4c2dbd,_0x515aa2=>(_0x5d9265[_0xb27e3(0x284)](),_0x794230(_0x515aa2,_0x597e91,_0x2c3eab,_0x4c2dbd)));_0x1620b4[_0xb27e3(0xb9)](_0x5d9265);});}return{'redos':[],'undos':[]};};this[_0x3aa06d(0x319)]['forEach']((_0x3c8811,_0x24469)=>{const _0x4a011f=_0x3aa06d,{range:_0x25327f,sheetID:_0x98a4f2}=_0x3c8811,_0xf0d2da=this[_0x4a011f(0x1c2)][_0x4a011f(0x208)](_0x25327f,_0x4c77df=>(_0xf0d2da[_0x4a011f(0x284)](),_0x794230(_0x4c77df,_0x24469,_0x98a4f2,_0x25327f)));_0x1620b4[_0x4a011f(0xb9)](_0xf0d2da);});};this[_0x51393e(0x1b8)](_0x35c4a7[_0x51393e(0x32e)](this[_0x51393e(0x257)][_0x51393e(0x10e)](()=>{_0x306d02();})));}[_0x3f4ac5(0x2e7)](){const _0x3183ed=_0x3f4ac5;var _0xe232cf,_0x1cd45d;if(this[_0x3183ed(0x2b7)]=!0x0,((_0xe232cf=this['_univerInstanceService'][_0x3183ed(0xe9)]())==null?void 0x0:_0xe232cf[_0x3183ed(0x162)]())!==this[_0x3183ed(0x1f1)])return;const _0x54fa28=(_0x1cd45d=this[_0x3183ed(0x236)][_0x3183ed(0x1ec)](_0x49a7a6[_0x3183ed(0x1c0)])[_0x3183ed(0xcc)]())==null?void 0x0:_0x1cd45d[0x0],_0x5917f8=this[_0x3183ed(0x1e2)][_0x3183ed(0xc2)](_0x35c4a7[_0x3183ed(0x2e1)]['UNIVER_SHEET'])[_0x3183ed(0x16c)]();_0x54fa28&&_0x5917f8&&this[_0x3183ed(0x145)](_0x5917f8[_0x3183ed(0x261)](),_0x54fa28);}['_toggleOffline'](){const _0x3ff165=_0x3f4ac5;this[_0x3ff165(0x2b7)]=!0x1;}};_0x3748e=_0x2c1937([_0x4d0681(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x4d0681(0x3,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x419db7)),_0x4d0681(0x4,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xcc6ee8[_0x3f4ac5(0x158)])),_0x4d0681(0x5,_0x35c4a7[_0x3f4ac5(0x2d7)]),_0x4d0681(0x6,_0x35c4a7['ICommandService']),_0x4d0681(0x7,_0x35c4a7['Inject'](_0x49a7a6[_0x3f4ac5(0x1bd)]))],_0x3748e);var _0x165ffc=Object[_0x3f4ac5(0x1d4)],_0x289114=(_0x25176d,_0x1d0a88,_0x58eedf,_0x15c8f6)=>{const _0x405548=_0x3f4ac5;for(var _0x1541fb=_0x15c8f6>0x1?void 0x0:_0x15c8f6?_0x165ffc(_0x1d0a88,_0x58eedf):_0x1d0a88,_0x2d0537=_0x25176d[_0x405548(0x221)]-0x1,_0x254221;_0x2d0537>=0x0;_0x2d0537--)(_0x254221=_0x25176d[_0x2d0537])&&(_0x1541fb=_0x254221(_0x1541fb)||_0x1541fb);return _0x1541fb;},_0x1552d6=(_0x2c3e8b,_0x503713)=>(_0x4ae6b5,_0x576494)=>_0x503713(_0x4ae6b5,_0x576494,_0x2c3e8b);let _0xc2b013=class extends _0x35c4a7['RxDisposable']{constructor(_0x8f1e0a,_0x1e403d,_0x477990){const _0xab6d7b=_0x3f4ac5;super(),_0x41478a(this,_0xab6d7b(0x2f9),new Map()),_0x41478a(this,_0xab6d7b(0x1b0),new _0x107ddf['Subject']()),(this[_0xab6d7b(0x1e2)]=_0x8f1e0a,this['_injector']=_0x1e403d,this[_0xab6d7b(0x281)]=_0x477990,this[_0xab6d7b(0x199)]());}[_0x3f4ac5(0x284)](){const _0x5974d6=_0x3f4ac5;super[_0x5974d6(0x284)](),this[_0x5974d6(0x1b0)][_0x5974d6(0x2cd)](),this[_0x5974d6(0x2f9)][_0x5974d6(0xb8)](_0x4d46e8=>_0x4d46e8[_0x5974d6(0x284)]());}[_0x3f4ac5(0x19b)](_0x468a1a){const _0x5dd2c=_0x3f4ac5;return this[_0x5dd2c(0x2f9)][_0x5dd2c(0xd2)](_0x468a1a)?this[_0x5dd2c(0x2f9)][_0x5dd2c(0x1ec)](_0x468a1a)[_0x5dd2c(0x271)]:this['_entityInit$']['pipe'](_0x107ddf[_0x5dd2c(0xde)](_0x4160fa=>_0x4160fa[_0x5dd2c(0x1f1)]===_0x468a1a),_0x107ddf[_0x5dd2c(0x111)](_0xa3febe=>_0xa3febe[_0x5dd2c(0x271)]));}[_0x3f4ac5(0x199)](){const _0x152908=_0x3f4ac5;this[_0x152908(0x1e2)][_0x152908(0x1a3)](_0x35c4a7[_0x152908(0x2e1)][_0x152908(0x2a6)])[_0x152908(0x18b)](_0x107ddf[_0x152908(0x126)](this[_0x152908(0x116)]))[_0x152908(0x10e)](async _0x312d0b=>{const _0x12217d=_0x152908,_0x2de824=_0x312d0b[_0x12217d(0x162)](),_0x15b50b=await this[_0x12217d(0xc7)](_0x2de824);this[_0x12217d(0x1b0)][_0x12217d(0x33a)](_0x15b50b),this['_entities'][_0x12217d(0x2b8)](_0x2de824,_0x15b50b);}),this[_0x152908(0x1e2)][_0x152908(0x1a3)](_0x35c4a7[_0x152908(0x2e1)][_0x152908(0x2e6)])[_0x152908(0x18b)](_0x107ddf[_0x152908(0x126)](this[_0x152908(0x116)]))[_0x152908(0x18b)](_0x107ddf[_0x152908(0xde)](_0x4f2abb=>!_0x4f2abb[_0x152908(0x162)]()[_0x152908(0x2fc)]('__')))['subscribe'](async _0x4faabe=>{const _0x1cb6aa=_0x152908,_0x556038=_0x4faabe[_0x1cb6aa(0x162)](),_0x2e8fdf=await this[_0x1cb6aa(0x32d)](_0x556038);this['_entityInit$'][_0x1cb6aa(0x33a)](_0x2e8fdf),this[_0x1cb6aa(0x2f9)][_0x1cb6aa(0x2b8)](_0x556038,_0x2e8fdf);}),_0x107ddf[_0x152908(0x201)](this[_0x152908(0x1e2)]['getTypeOfUnitDisposed$'](_0x35c4a7[_0x152908(0x2e1)][_0x152908(0x2e6)]),this[_0x152908(0x1e2)][_0x152908(0x129)](_0x35c4a7[_0x152908(0x2e1)]['UNIVER_SHEET']))[_0x152908(0x18b)](_0x107ddf[_0x152908(0x126)](this[_0x152908(0x116)]))['subscribe'](_0x491808=>{const _0x2a76d8=_0x152908,_0x5f25c3=_0x491808[_0x2a76d8(0x162)](),_0x427569=this[_0x2a76d8(0x2f9)][_0x2a76d8(0x1ec)](_0x5f25c3);_0x427569&&(_0x427569[_0x2a76d8(0x284)](),this[_0x2a76d8(0x2f9)][_0x2a76d8(0xbe)](_0x5f25c3));});}async[_0x3f4ac5(0xc7)](_0x41f7bb){const _0x16b047=_0x3f4ac5,_0x578d22=await this['_collabSessionService'][_0x16b047(0xf4)](_0x41f7bb),_0x812871=this[_0x16b047(0x236)][_0x16b047(0x25e)](_0x3748e,_0x41f7bb,_0x578d22);return _0x812871[_0x16b047(0x338)](),_0x812871;}async[_0x3f4ac5(0x32d)](_0x4cc377){const _0x132ec4=_0x3f4ac5,_0x4961d1=await this['_collabSessionService'][_0x132ec4(0xf4)](_0x4cc377),_0x2437e1=this[_0x132ec4(0x236)]['createInstance'](_0x3020ed,_0x4cc377,_0x4961d1);return _0x2437e1[_0x132ec4(0x338)](),_0x2437e1;}};_0xc2b013=_0x289114([_0x1552d6(0x0,_0x35c4a7[_0x3f4ac5(0x2d7)]),_0x1552d6(0x1,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x1552d6(0x2,_0x35c4a7['Inject'](_0xcc6ee8[_0x3f4ac5(0x157)]))],_0xc2b013);const _0x335f66=0x14,_0x59df7f=0xc8,_0x2f7cad=0x4,_0x51e832=0x5;function _0x4b1c3f(_0x38016b,_0x186cb5){const _0x482337=_0x3f4ac5;let {radius:_0x5af9d1,width:_0x37fdd6,height:_0xb69709}=_0x186cb5;_0x5af9d1=_0x5af9d1!=null?_0x5af9d1:0x0,_0x37fdd6=_0x37fdd6!=null?_0x37fdd6:0x1e,_0xb69709=_0xb69709!=null?_0xb69709:0x1e;let _0x746568=0x0,_0x25f3fa=0x0,_0x8bd4e3=0x0;_0x746568=_0x25f3fa=_0x8bd4e3=Math[_0x482337(0xd0)](_0x5af9d1,_0x37fdd6/0x2,_0xb69709/0x2),_0x38016b[_0x482337(0x104)](),_0x38016b[_0x482337(0xbb)](_0x746568,0x0),_0x38016b[_0x482337(0x15a)](_0x37fdd6-_0x25f3fa,0x0),_0x38016b[_0x482337(0x13a)](_0x37fdd6-_0x25f3fa,_0x25f3fa,_0x25f3fa,Math['PI']*0x3/0x2,0x0,!0x1),_0x38016b['lineTo'](_0x37fdd6,_0xb69709-_0x8bd4e3),_0x38016b[_0x482337(0x13a)](_0x37fdd6-_0x8bd4e3,_0xb69709-_0x8bd4e3,_0x8bd4e3,0x0,Math['PI']/0x2,!0x1),_0x38016b[_0x482337(0x15a)](0x0,_0xb69709),_0x38016b[_0x482337(0x15a)](0x0,_0x746568),_0x38016b[_0x482337(0x13a)](_0x746568,_0x746568,_0x746568,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x38016b[_0x482337(0x170)](),_0x186cb5[_0x482337(0x215)]&&(_0x38016b[_0x482337(0x14b)](),_0x38016b[_0x482337(0x13b)]=_0x186cb5[_0x482337(0x215)],_0x186cb5[_0x482337(0x1d9)]===_0x482337(0xbc)?_0x38016b[_0x482337(0x215)](_0x482337(0xbc)):_0x38016b[_0x482337(0x215)](),_0x38016b['restore']());}class _0x1d73b4 extends _0x4af313[_0x3f4ac5(0x33c)]{constructor(_0x5a5be9,_0x4a218b){const _0x283fbc=_0x3f4ac5;super(_0x5a5be9,_0x4a218b),_0x41478a(this,_0x283fbc(0x109)),_0x41478a(this,_0x283fbc(0x1c4)),(this[_0x283fbc(0x109)]=_0x4a218b==null?void 0x0:_0x4a218b[_0x283fbc(0x109)],this[_0x283fbc(0x1c4)]=_0x4a218b==null?void 0x0:_0x4a218b['text']);}static[_0x3f4ac5(0x241)](_0xedb0e6,_0x33ebf6){const _0x2645f8=_0x3f4ac5,{text:_0x5cc4ed,color:_0x197ba5}=_0x33ebf6;_0xedb0e6[_0x2645f8(0x14b)](),_0xedb0e6[_0x2645f8(0x22a)]=_0x2645f8(0x28c);const _0x5ad8f7=_0xedb0e6[_0x2645f8(0x178)](_0x5cc4ed)[_0x2645f8(0x25f)],_0x3eb583=Math['min'](_0x5ad8f7+0x2*_0x2f7cad,_0x59df7f);_0x4b1c3f(_0xedb0e6,{'height':_0x335f66,'radius':0x4,'width':_0x3eb583,'fill':_0x197ba5}),_0xedb0e6[_0x2645f8(0x13b)]=_0x2645f8(0x1e5);const _0x1c2a93=_0x2f7cad,_0x42b319=_0x335f66-_0x51e832,_0x3724fd=_0x59df7f-0x2*_0x2f7cad;if(_0x5ad8f7>_0x3724fd){let _0x689fb='',_0x127aec=0x0;for(const _0x4c88bb of _0x5cc4ed){const _0x37aee6=_0xedb0e6['measureText'](_0x4c88bb)[_0x2645f8(0x25f)];if(_0x127aec+_0x37aee6<=_0x3724fd-_0xedb0e6['measureText'](_0x2645f8(0x1f2))[_0x2645f8(0x25f)])_0x689fb+=_0x4c88bb,_0x127aec+=_0x37aee6;else{_0x689fb+='...';break;}}_0xedb0e6[_0x2645f8(0x285)](_0x689fb,_0x1c2a93,_0x42b319);}else _0xedb0e6[_0x2645f8(0x285)](_0x5cc4ed,_0x1c2a93,_0x42b319);_0xedb0e6[_0x2645f8(0x33b)]();}[_0x3f4ac5(0x1cc)](_0x34fe42){const _0x21d74c=_0x3f4ac5;_0x1d73b4[_0x21d74c(0x241)](_0x34fe42,this);}}const _0x350933='collab-text-anchor-',_0x7ac877=_0x3f4ac5(0x1eb),_0x420a73=_0x3f4ac5(0x1c3),_0x4367a9=0x6,_0x5448c6=1.5,_0xfc1e3a=0x4,_0x22bbb4=1.5,_0xa602ce=_0x3f4ac5(0x1cd);class _0x40b70c{constructor(_0x5d9376,_0x210d02,_0x82cf8a,_0x2d6dfc){const _0x3f4259=_0x3f4ac5;_0x41478a(this,'_shapes',[]),_0x41478a(this,'_anchor',null),_0x41478a(this,_0x3f4259(0x279),null),_0x41478a(this,_0x3f4259(0x298),null),_0x41478a(this,_0x3f4259(0x1d3),null),_0x41478a(this,_0x3f4259(0x1e1),null),(this[_0x3f4259(0x179)]=_0x5d9376,this[_0x3f4259(0x1f7)]=_0x210d02,this['_docSkeleton']=_0x82cf8a,this['_document']=_0x2d6dfc,this[_0x3f4259(0x31b)]());}set['_hover'](_0x3a4edd){const _0x12c5e0=_0x3f4ac5;_0x3a4edd?(this[_0x12c5e0(0x298)]&&this[_0x12c5e0(0x298)][_0x12c5e0(0x209)](),this['_textBubble']&&this[_0x12c5e0(0x279)][_0x12c5e0(0x305)]()):(this[_0x12c5e0(0x298)]&&this[_0x12c5e0(0x298)][_0x12c5e0(0x305)](),this['_textBubble']&&this[_0x12c5e0(0x279)][_0x12c5e0(0x209)]());}[_0x3f4ac5(0x284)](){const _0x11b3a1=_0x3f4ac5;for(const _0x236adc of this[_0x11b3a1(0x2b2)])_0x236adc['dispose']();this[_0x11b3a1(0x279)]&&this[_0x11b3a1(0x279)][_0x11b3a1(0x284)](),this[_0x11b3a1(0x298)]&&this[_0x11b3a1(0x298)][_0x11b3a1(0x284)](),this[_0x11b3a1(0x11d)]&&this[_0x11b3a1(0x11d)][_0x11b3a1(0x284)](),this['_eventUnsubscribe']&&this[_0x11b3a1(0x1e1)]();}[_0x3f4ac5(0x31b)](){const _0x8e9fb3=_0x3f4ac5;var _0x5e04d9;const {_docSkeleton:_0x131283,_document:_0x1d4215}=this,{color:_0x3dcd15,name:_0x4af3f3,ranges:_0x324f4c}=this[_0x8e9fb3(0x179)],_0x2d0fc7=_0x1d4215[_0x8e9fb3(0x2f6)](),{docsLeft:_0x581e78,docsTop:_0x33acc0}=_0x2d0fc7,_0x125db1=new _0x104ea3[(_0x8e9fb3(0x2c2))](_0x2d0fc7,_0x131283);for(const {startOffset:_0x26e568,endOffset:_0x5a04b1,rangeType:_0x34095a,segmentId:_0x21a22b,segmentPage:_0xfde9e2,collapsed:_0x5ed859,isActive:_0xddd42b}of _0x324f4c){const _0x3f4585=_0x131283[_0x8e9fb3(0x1a6)](_0x26e568,!0x0,_0x21a22b,_0xfde9e2);let _0x2f9010=_0x131283[_0x8e9fb3(0x1a6)](_0x5a04b1,!0x0,_0x21a22b,_0xfde9e2);if(_0x2f9010==null&&(_0x2f9010=_0x131283[_0x8e9fb3(0x1a6)](_0x5a04b1-0x1,!0x1,_0x21a22b,_0xfde9e2)),_0xddd42b){const {contentBoxPointGroup:_0x2d4b2c}=_0x125db1[_0x8e9fb3(0x139)](_0x2f9010,_0x2f9010);if(_0x2d4b2c['length']===0x0)continue;this[_0x8e9fb3(0x1b9)](_0x3dcd15,_0x2d4b2c,_0x581e78,_0x33acc0,_0x4af3f3),this[_0x8e9fb3(0x1e1)]=this[_0x8e9fb3(0x25b)]();}if(_0x3f4585&&_0x2f9010){if(_0x34095a===_0x35c4a7[_0x8e9fb3(0x2a2)][_0x8e9fb3(0x207)]){const _0x1df16f=new _0x104ea3[(_0x8e9fb3(0x243))](_0x2d0fc7,_0x131283),{pointGroup:_0x2256c0}=(_0x5e04d9=_0x1df16f['getRangePointData'](_0x3f4585,_0x2f9010))!=null?_0x5e04d9:{};if(_0x2256c0==null||_0x2256c0[_0x8e9fb3(0x221)]===0x0)continue;this['_drawRectRange'](_0x3dcd15,_0x2256c0,_0x581e78,_0x33acc0);}else{if(!_0x5ed859){const {borderBoxPointGroup:_0x19a10f}=_0x125db1['getRangePointData'](_0x3f4585,_0x2f9010);if(_0x19a10f['length']===0x0)continue;this['_drawTextRange'](_0x3dcd15,_0x19a10f,_0x581e78,_0x33acc0);}}}}}[_0x3f4ac5(0x1b9)](_0x5f077f,_0x21bfa8,_0x1813a4,_0x460dc0,_0x471c12){const _0x20fc5a=_0x3f4ac5,_0x21fe29=this['_getAnchorBounding'](_0x21bfa8),{left:_0x5b448b,top:_0x109ebf,height:_0x2da663}=_0x21fe29,_0x3c1441=this['_getScale'](),_0x239884=_0x22bbb4/_0x3c1441,_0xc95499=new _0x4af313[(_0x20fc5a(0xfa))](_0x350933+_0x35c4a7['Tools'][_0x20fc5a(0x30d)](_0x4367a9),{'left':_0x5b448b+_0x1813a4-_0x239884,'top':_0x109ebf+_0x460dc0,'height':_0x2da663,'width':_0x5448c6,'fill':_0x5f077f||_0x4af313[_0x20fc5a(0x34e)](_0x35c4a7[_0x20fc5a(0x280)][_0x20fc5a(0x287)],0x0),'strokeWidth':_0x239884,'stroke':_0xa602ce,'evented':!0x0});this[_0x20fc5a(0x11d)]=_0xc95499,this[_0x20fc5a(0x1f7)][_0x20fc5a(0x1bb)](_0xc95499,_0x104ea3[_0x20fc5a(0x2ac)]);const _0x2b7c75=new _0x4af313[(_0x20fc5a(0xfa))](_0x350933+_0x35c4a7[_0x20fc5a(0x339)][_0x20fc5a(0x30d)](_0x4367a9),{'left':_0x5b448b+_0x1813a4-_0x239884,'top':_0x109ebf+_0x460dc0-_0xfc1e3a/0x2,'height':_0xfc1e3a,'width':_0xfc1e3a,'fill':_0x5f077f||_0x4af313[_0x20fc5a(0x34e)](_0x35c4a7['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x5f077f||_0x4af313[_0x20fc5a(0x34e)](_0x35c4a7[_0x20fc5a(0x280)]['black'],0x0),'evented':!0x1});this[_0x20fc5a(0x298)]=_0x2b7c75,this['_scene'][_0x20fc5a(0x1bb)](_0x2b7c75,_0x104ea3['TEXT_RANGE_LAYER_INDEX']);const _0x510386=new _0x1d73b4(_0x350933+_0x35c4a7[_0x20fc5a(0x339)][_0x20fc5a(0x30d)](_0x4367a9),{'left':_0x5b448b+_0x1813a4-_0x239884,'top':_0x109ebf+_0x460dc0-_0x335f66,'text':_0x471c12,'color':_0x5f077f});this[_0x20fc5a(0x279)]=_0x510386,this[_0x20fc5a(0x1f7)][_0x20fc5a(0x1bb)](_0x510386,_0x104ea3[_0x20fc5a(0x2ac)]),this[_0x20fc5a(0x212)]=!0x1;}[_0x3f4ac5(0x25b)](){const _0x4d23a8=_0x3f4ac5,_0x35dead=this[_0x4d23a8(0x11d)]['onPointerEnter$'][_0x4d23a8(0x1dc)](()=>{this['_hover']=!0x0;}),_0x4636f9=this[_0x4d23a8(0x11d)][_0x4d23a8(0x17f)][_0x4d23a8(0x1dc)](()=>{const _0x44a49d=_0x4d23a8;this[_0x44a49d(0x1d3)]&&clearTimeout(this[_0x44a49d(0x1d3)]),this['_hideTimer']=setTimeout(()=>{const _0x16912f=_0x44a49d;this[_0x16912f(0x212)]=!0x1;},0x7d0);});return()=>{const _0x197406=_0x4d23a8;_0x35dead[_0x197406(0x260)](),_0x4636f9[_0x197406(0x260)]();};}[_0x3f4ac5(0x2c0)](_0x5ad40d,_0x508676,_0x1320ae,_0x2fefad){const _0x10fd18=_0x3f4ac5,_0x47b4dd=new _0x35c4a7[(_0x10fd18(0x18f))](_0x5ad40d)[_0x10fd18(0x2a0)](0.2)['toRgbString'](),_0x43cfca=new _0x4af313['RegularPolygon'](_0x7ac877+_0x35c4a7['Tools']['generateRandomId'](_0x4367a9),{'pointsGroup':_0x508676,'fill':_0x47b4dd||_0x4af313[_0x10fd18(0x34e)](_0x35c4a7[_0x10fd18(0x280)][_0x10fd18(0x287)],0.2),'left':_0x1320ae,'top':_0x2fefad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x10fd18(0x2b2)][_0x10fd18(0x254)](_0x43cfca),this['_scene'][_0x10fd18(0x1bb)](_0x43cfca,_0x104ea3[_0x10fd18(0x2ac)]);}['_drawRectRange'](_0x1ce357,_0xf446bb,_0x4869c5,_0x11fba5){const _0x35a278=_0x3f4ac5,_0x25c653=new _0x35c4a7[(_0x35a278(0x18f))](_0x1ce357)['setAlpha'](0.2)[_0x35a278(0x274)](),_0x5bcc83=new _0x4af313[(_0x35a278(0xd5))](_0x420a73+_0x35c4a7[_0x35a278(0x339)]['generateRandomId'](_0x4367a9),{'pointsGroup':_0xf446bb,'fill':_0x25c653||_0x4af313[_0x35a278(0x34e)](_0x35c4a7[_0x35a278(0x280)][_0x35a278(0x287)],0.2),'left':_0x4869c5,'top':_0x11fba5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35a278(0x2b2)]['push'](_0x5bcc83),this[_0x35a278(0x1f7)][_0x35a278(0x1bb)](_0x5bcc83,_0x104ea3[_0x35a278(0x2ac)]);}[_0x3f4ac5(0x2aa)](_0x4169cf){const _0x200d92=_0x4169cf[0x0],_0x90af2f=_0x200d92[0x0],_0x4df18a=_0x200d92[0x2],{x:_0x773505,y:_0x260627}=_0x90af2f,{x:_0x1a348d,y:_0x367915}=_0x4df18a;return{'left':_0x773505,'top':_0x260627,'width':_0x1a348d-_0x773505,'height':_0x367915-_0x260627};}[_0x3f4ac5(0x198)](){const _0x1adc38=_0x3f4ac5,{scaleX:_0x20f8ce,scaleY:_0x572166}=this[_0x1adc38(0x1f7)][_0x1adc38(0x2c8)]();return Math['max'](_0x20f8ce,_0x572166);}}var _0x3bfd12=Object[_0x3f4ac5(0x1d4)],_0xa8f2ba=(_0x316640,_0x73f792,_0x1bdd6f,_0x3cdd94)=>{for(var _0x318bd2=_0x3cdd94>0x1?void 0x0:_0x3cdd94?_0x3bfd12(_0x73f792,_0x1bdd6f):_0x73f792,_0x1580e4=_0x316640['length']-0x1,_0x1473e5;_0x1580e4>=0x0;_0x1580e4--)(_0x1473e5=_0x316640[_0x1580e4])&&(_0x318bd2=_0x1473e5(_0x318bd2)||_0x318bd2);return _0x318bd2;},_0x57fddc=(_0x88f1ef,_0x4a794b)=>(_0x4a5243,_0x46f125)=>_0x4a794b(_0x4a5243,_0x46f125,_0x88f1ef);let _0x314980=class extends _0x35c4a7['RxDisposable']{constructor(_0x4a6b52,_0x51b900,_0x3cb1a2,_0x125a76,_0x4c997c){const _0x4ce2a5=_0x3f4ac5;super(),_0x41478a(this,_0x4ce2a5(0x30c),[]),_0x41478a(this,_0x4ce2a5(0x246),[]),(this[_0x4ce2a5(0x1ba)]=_0x4a6b52,this[_0x4ce2a5(0x17e)]=_0x51b900,this[_0x4ce2a5(0x1d1)]=_0x3cb1a2,this[_0x4ce2a5(0xf6)]=_0x125a76,this['_themeService']=_0x4c997c,this[_0x4ce2a5(0x199)]());}[_0x3f4ac5(0x199)](){const _0x356911=_0x3f4ac5,_0x216e39=this[_0x356911(0x1ba)]['unitId'],_0x73224e=this[_0x356911(0x17e)];this[_0x356911(0x1b8)](_0x107ddf[_0x356911(0x306)]([this['_collabCursorController'][_0x356911(0x19b)](_0x216e39),this[_0x356911(0xdf)][_0x356911(0xc3)]])['pipe'](_0x48ea3e[_0x356911(0x11a)](([_0x46a5e6,_0x5b81af])=>({'skeleton':_0x73224e[_0x356911(0x18e)](),'cursors':[..._0x46a5e6[_0x356911(0x29e)]()][_0x356911(0x1b7)](_0x177da9=>({..._0x177da9,'color':_0x5b81af[_0x177da9[_0x356911(0x109)]]}))})))[_0x356911(0x10e)](_0x2d3fed=>{const _0x129cc5=_0x356911;if(this[_0x129cc5(0x153)](),_0x2d3fed){const {skeleton:_0x3cd45a,cursors:_0x1e9f33}=_0x2d3fed;this[_0x129cc5(0x1b6)](_0x3cd45a,_0x1e9f33);}})),this['_initResize'](),this[_0x356911(0x1af)]();}['_updateCollabCursors'](_0x5ba622,_0xa517bc){const _0x16a5b4=_0x3f4ac5,{scene:_0x4ec8e5,mainComponent:_0x73e168}=this['_context'],_0x1cd2f4=_0xa517bc[_0x16a5b4(0x11a)](_0x1770db=>new _0x40b70c(_0x1770db,_0x4ec8e5,_0x5ba622,_0x73e168));this['_cursorShapes']=_0x1cd2f4,this[_0x16a5b4(0x246)]=_0xa517bc;}[_0x3f4ac5(0x146)](){const _0x4c7906=_0x3f4ac5;this[_0x4c7906(0x153)]();const {scene:_0x7b116d,mainComponent:_0x138df9}=this[_0x4c7906(0x1ba)],_0x43fdd0=this[_0x4c7906(0x17e)]['getSkeleton'](),_0x437ded=this['_cursors'][_0x4c7906(0x11a)](_0x5bcc98=>new _0x40b70c(_0x5bcc98,_0x7b116d,_0x43fdd0,_0x138df9));this[_0x4c7906(0x30c)]=_0x437ded;}[_0x3f4ac5(0x153)](){const _0x40493a=_0x3f4ac5;this[_0x40493a(0x30c)][_0x40493a(0xb8)](_0x1c4966=>_0x1c4966['dispose']()),this['_cursorShapes']=[];}[_0x3f4ac5(0x1af)](){const _0x28787a=_0x3f4ac5,_0x1aa635=[_0x104ea3[_0x28787a(0x1dd)]['id']];this['disposeWithMe'](this[_0x28787a(0xf6)][_0x28787a(0x1d0)](_0x491483=>{const _0x318055=_0x28787a;_0x1aa635['includes'](_0x491483['id'])&&_0x491483[_0x318055(0x343)][_0x318055(0x196)]===this[_0x318055(0x1ba)][_0x318055(0x196)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x212943=_0x3f4ac5;this[_0x212943(0x1b8)](_0x35c4a7['fromEventSubject'](this[_0x212943(0x1ba)][_0x212943(0xfc)][_0x212943(0x323)])[_0x212943(0x18b)](_0x48ea3e[_0x212943(0xde)](_0x41c60b=>_0x41c60b[_0x212943(0x2ff)]===_0x4af313[_0x212943(0x296)][_0x212943(0x12e)]),_0x48ea3e[_0x212943(0x1e3)](0x10))[_0x212943(0x10e)](()=>{this['_refreshCollabCursors']();}));}};_0x314980=_0xa8f2ba([_0x57fddc(0x1,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x508484['DocSkeletonManagerService'])),_0x57fddc(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xc2b013)),_0x57fddc(0x3,_0x35c4a7[_0x3f4ac5(0x34f)]),_0x57fddc(0x4,_0x35c4a7['Inject'](_0x35c4a7[_0x3f4ac5(0x20b)]))],_0x314980);const _0x1610eb=0x1,_0x5a0538=1.5;class _0xf646c8 extends _0x4af313[_0x3f4ac5(0x33c)]{constructor(_0x1d9101,_0x12752c){const _0x995bef=_0x3f4ac5;super(_0x1d9101,_0x12752c),_0x41478a(this,'_color'),_0x41478a(this,'_hovered',!0x1),_0x41478a(this,_0x995bef(0x2cb)),_0x41478a(this,_0x995bef(0x161),''),_0x41478a(this,_0x995bef(0x18a),'top'),_0x41478a(this,_0x995bef(0x2d3)),(_0x12752c&&this[_0x995bef(0x15f)](_0x12752c),this[_0x995bef(0x101)][_0x995bef(0x1dc)](()=>this[_0x995bef(0x15f)]({'hovered':!0x0})),this[_0x995bef(0x17f)][_0x995bef(0x1dc)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3f4ac5(0x15f)](_0x1288ad){const _0x63ada1=_0x3f4ac5;var _0x10eb9c,_0x5ce401,_0x7d0e01,_0x4c894d,_0x37688b,_0x27eb67;this[_0x63ada1(0x21d)]=(_0x10eb9c=_0x1288ad['color'])!=null?_0x10eb9c:this[_0x63ada1(0x21d)],this[_0x63ada1(0x1e9)]=(_0x5ce401=_0x1288ad[_0x63ada1(0x292)])!=null?_0x5ce401:this['_hovered'],this[_0x63ada1(0x2cb)]=(_0x7d0e01=_0x1288ad[_0x63ada1(0x138)])!=null?_0x7d0e01:this[_0x63ada1(0x2cb)],this['_name']=(_0x4c894d=_0x1288ad[_0x63ada1(0x174)])!=null?_0x4c894d:this[_0x63ada1(0x161)],this['_labelPosition']=(_0x37688b=_0x1288ad[_0x63ada1(0x29c)])!=null?_0x37688b:this[_0x63ada1(0x18a)],this[_0x63ada1(0x2d3)]=(_0x27eb67=_0x1288ad[_0x63ada1(0x14d)])!=null?_0x27eb67:this[_0x63ada1(0x2d3)],this[_0x63ada1(0x1ad)]({'width':_0x1288ad[_0x63ada1(0x25f)],'height':_0x1288ad[_0x63ada1(0x1a4)]});}[_0x3f4ac5(0x26b)](_0x4a4ec3){const _0x421651=_0x3f4ac5,{row:_0x137d31,column:_0x2972aa}=_0x4a4ec3;if(_0x137d31>=this['_range'][_0x421651(0x24f)]&&_0x137d31<=this['_range'][_0x421651(0x10a)]&&_0x2972aa>=this[_0x421651(0x2cb)]['startColumn']&&_0x2972aa<=this['_range'][_0x421651(0x1ea)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x421651(0x15f)]({'hovered':!0x1});}[_0x3f4ac5(0xe7)](_0x33f642){return!0x1;}['_draw'](_0x31f33c){const _0x15ef58=_0x3f4ac5;_0x4af313['Rect']['drawWith'](_0x31f33c,{'width':this[_0x15ef58(0x25f)],'height':this[_0x15ef58(0x1a4)],'strokeWidth':_0x5a0538,'stroke':this[_0x15ef58(0x21d)],'evented':!0x1,'fill':this[_0x15ef58(0x2d3)]}),this[_0x15ef58(0x1e9)]&&(_0x31f33c[_0x15ef58(0x14b)](),_0x31f33c[_0x15ef58(0x1c5)](0x1,0x0,0x0,0x1,this[_0x15ef58(0x25f)],this[_0x15ef58(0x18a)]==='bottom'?0x0:-0x14),_0x1d73b4[_0x15ef58(0x241)](_0x31f33c,{'text':this[_0x15ef58(0x161)],'color':this[_0x15ef58(0x21d)]}),_0x31f33c['restore']());}}var _0x3f0cd1=Object[_0x3f4ac5(0x1d4)],_0xb5ce93=(_0x17727b,_0x381155,_0x3207c9,_0x4af39b)=>{for(var _0x598f3a=_0x4af39b>0x1?void 0x0:_0x4af39b?_0x3f0cd1(_0x381155,_0x3207c9):_0x381155,_0x47acfb=_0x17727b['length']-0x1,_0x227411;_0x47acfb>=0x0;_0x47acfb--)(_0x227411=_0x17727b[_0x47acfb])&&(_0x598f3a=_0x227411(_0x598f3a)||_0x598f3a);return _0x598f3a;},_0x173d7d=(_0x1c3187,_0x33c899)=>(_0x3500bb,_0x43a7b6)=>_0x33c899(_0x3500bb,_0x43a7b6,_0x1c3187);const _0x138bf6=0x1389;let _0x5b7e81=class extends _0x35c4a7[_0x3f4ac5(0x2a9)]{constructor(_0x5806e8,_0x2ad44a,_0x7b76da,_0x1b2d28){const _0x3802eb=_0x3f4ac5;super(),_0x41478a(this,_0x3802eb(0x246),new Set()),_0x41478a(this,'_lastPointer',null),(this[_0x3802eb(0x1ba)]=_0x5806e8,this['_sheetSkeletonManagerService']=_0x2ad44a,this['_collabCursorController']=_0x7b76da,this['_themeService']=_0x1b2d28,this['_init']());}[_0x3f4ac5(0x199)](){const _0x3f384d=_0x3f4ac5;this[_0x3f384d(0xe0)][_0x3f384d(0x163)][_0x3f384d(0x18b)](_0x48ea3e[_0x3f384d(0x126)](this[_0x3f384d(0x116)]),_0x48ea3e['switchMap'](_0x5330e5=>{const _0x410b30=_0x3f384d;if(_0x5330e5){const _0x573db2=_0x5330e5[_0x410b30(0x27f)];return _0x107ddf['combineLatest'](this['_collabCursorController'][_0x410b30(0x19b)](this[_0x410b30(0x1ba)]['unitId']),this[_0x410b30(0xdf)][_0x410b30(0xc3)])[_0x410b30(0x18b)](_0x48ea3e['map'](([_0x45e8ab,_0x26d1f9])=>{const _0x377ca0=_0x410b30,_0xe979f1=new Map();return _0x45e8ab[_0x377ca0(0xb8)]((_0x3c6f3b,_0x13124a)=>{const _0x2c2d20=_0x377ca0;if(_0x3c6f3b['sheetID']===_0x573db2){const _0x5cfcda={..._0x3c6f3b};_0x5cfcda[_0x2c2d20(0x109)]=_0x26d1f9[_0x3c6f3b['color']],_0xe979f1[_0x2c2d20(0x2b8)](_0x13124a,_0x5cfcda);}}),{'skeleton':_0x5330e5,'cursors':_0xe979f1};}));}return _0x107ddf['of']({'skeleton':null,'cursors':new Map()});}))[_0x3f384d(0x10e)](({skeleton:_0x1a33fb,cursors:_0x3bcb39})=>{const _0x4c92cd=_0x3f384d;this[_0x4c92cd(0x153)](),_0x1a33fb&&this[_0x4c92cd(0x1b6)](_0x1a33fb,_0x3bcb39);}),this[_0x3f384d(0xe0)][_0x3f384d(0x163)][_0x3f384d(0x10e)](_0x34c711=>{const _0x19e120=_0x3f384d;if(_0x34c711==null)return;const {skeleton:_0x1d5b30}=_0x34c711,{scene:_0x324eb1}=this[_0x19e120(0x1ba)];_0x324eb1['onPointerMove$'][_0x19e120(0x1dc)](_0x35c4a7[_0x19e120(0x346)](_0x1d105f=>{const _0x2593ab=_0x19e120;var _0x5a35f4,_0x188f50;const {offsetX:_0x5ee200,offsetY:_0x311edc}=_0x1d105f,{x:_0x211c49,y:_0x18abf2}=_0x324eb1[_0x2593ab(0x175)](_0x4af313[_0x2593ab(0x307)][_0x2593ab(0x240)]([_0x5ee200,_0x311edc])),{scaleX:_0x1c8e4d,scaleY:_0x3fd9ad}=_0x324eb1['getAncestorScale'](),_0x2b4763=_0x324eb1['getViewport'](_0x4af313['SHEET_VIEWPORT_KEY'][_0x2593ab(0x17a)]),_0x491a7a=_0x324eb1[_0x2593ab(0x24a)](_0x4af313['Vector2']['FromArray']([_0x211c49,_0x18abf2]),_0x2b4763),_0x41d50d=_0x1d5b30[_0x2593ab(0x119)](_0x5ee200,_0x311edc,_0x1c8e4d,_0x3fd9ad,_0x491a7a);((_0x5a35f4=this[_0x2593ab(0x2e3)])==null?void 0x0:_0x5a35f4['column'])===_0x41d50d[_0x2593ab(0x155)]&&((_0x188f50=this[_0x2593ab(0x2e3)])==null?void 0x0:_0x188f50[_0x2593ab(0x275)])===_0x41d50d['row']||this[_0x2593ab(0x246)]['forEach'](_0x4309d0=>{const _0x25a1fb=_0x2593ab;_0x4309d0[_0x25a1fb(0x26b)](_0x41d50d);});},0x64));});}[_0x3f4ac5(0x1b6)](_0xb6e5d4,_0x1f2435){const _0xcbdf22=_0x3f4ac5;var _0x4cb831;const _0x4ce595=(_0x4cb831=this[_0xcbdf22(0xe0)][_0xcbdf22(0x1ae)]())==null?void 0x0:_0x4cb831['skeleton'];if(!_0x4ce595)return;const _0x3aa329=this[_0xcbdf22(0x308)]();if(!_0x3aa329)return;this[_0xcbdf22(0x246)][_0xcbdf22(0xb8)](_0x50460c=>{const _0x4037e4=_0xcbdf22;_0x50460c[_0x4037e4(0x282)]();});const {scene:_0x379a7c}=_0x3aa329,_0x112f5e=_0x57b532(Array['from'](_0x1f2435[_0xcbdf22(0x29e)]()))[_0xcbdf22(0x11a)](_0x5d6d86=>{const _0x3d4dc0=_0xcbdf22,{color:_0xc280b9,range:_0x470460,name:_0x39c759,selection:_0x5a87e2,sheetID:_0x29af12}=_0x5d6d86,{startColumn:_0x2ad556,startRow:_0x575036,endColumn:_0x1b12c5,endRow:_0x5a8853}=_0x470460,_0x5f4f7e=_0x4325d7[_0x3d4dc0(0x273)](_0x575036,_0x2ad556,_0x379a7c,_0x4ce595),_0x2cdf63=_0x4325d7['getCoordByCell'](_0x5a8853,_0x1b12c5,_0x379a7c,_0x4ce595),{columnHeaderHeightAndMarginTop:_0x463de1}=_0x4ce595,{startX:_0x599643,startY:_0x334e5c}=_0x5f4f7e,{endX:_0x10a431,endY:_0x12c0b0}=_0x2cdf63,_0x1f15e3=_0x10a431-_0x599643,_0x47be7e=_0x12c0b0-_0x334e5c,_0x4d0c49={'labelPosition':_0x334e5c-_0x463de1>=_0x335f66?'top':_0x3d4dc0(0x277),'sheetID':_0x29af12,'range':_0x470460,'color':_0xc280b9,'name':_0x39c759,'selection':_0x5a87e2,'left':_0x599643,'top':_0x334e5c,'width':_0x1f15e3,'height':_0x47be7e,'evented':!0x1,'zIndex':_0x138bf6};return new _0xf646c8(_0x39c759,_0x4d0c49);});_0x379a7c['addObjects'](_0x112f5e,_0x1610eb),this['_cursors']=new Set(_0x112f5e);}[_0x3f4ac5(0x153)](){const _0x5c44ac=_0x3f4ac5;var _0x49735a;(_0x49735a=this[_0x5c44ac(0x246)])==null||_0x49735a[_0x5c44ac(0xb8)](_0x5dc3d2=>_0x5dc3d2[_0x5c44ac(0x284)]());}['_getSheetObject'](){const _0x152d8c=_0x3f4ac5;return _0x4325d7[_0x152d8c(0x32a)](this['_context'][_0x152d8c(0x31a)],this[_0x152d8c(0x1ba)]);}};_0x5b7e81=_0xb5ce93([_0x173d7d(0x1,_0x35c4a7['Inject'](_0x4325d7['SheetSkeletonManagerService'])),_0x173d7d(0x2,_0x35c4a7['Inject'](_0xc2b013)),_0x173d7d(0x3,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x20b)]))],_0x5b7e81);function _0x57b532(_0x24bc24){const _0x38fe34=_0x3f4ac5,_0xc39207=new Map();return _0x24bc24[_0x38fe34(0xb8)](_0x43bbc8=>{const _0x264818=_0x38fe34;if(_0xc39207[_0x264818(0xd2)](_0x43bbc8[_0x264818(0x18d)])){const _0x929fca=_0xc39207[_0x264818(0x1ec)](_0x43bbc8[_0x264818(0x18d)]);_0x929fca[_0x264818(0x174)]+=',\x20'+_0x43bbc8[_0x264818(0x174)];}else _0xc39207['set'](_0x43bbc8[_0x264818(0x18d)],_0x43bbc8);}),Array[_0x38fe34(0x1f4)](_0xc39207[_0x38fe34(0x29e)]());}var _0x53e6cc=function(){const _0x19dc2b=_0x3f4ac5;return _0x53e6cc=Object[_0x19dc2b(0x194)]||function(_0x1dc168){const _0x5af90b=_0x19dc2b;for(var _0x1f08d0,_0x25f524=0x1,_0x298003=arguments[_0x5af90b(0x221)];_0x25f524<_0x298003;_0x25f524++){_0x1f08d0=arguments[_0x25f524];for(var _0x4988e0 in _0x1f08d0)Object[_0x5af90b(0x16f)][_0x5af90b(0x16b)]['call'](_0x1f08d0,_0x4988e0)&&(_0x1dc168[_0x4988e0]=_0x1f08d0[_0x4988e0]);}return _0x1dc168;},_0x53e6cc[_0x19dc2b(0x1ee)](this,arguments);},_0x3ee615=function(_0x3e4047,_0x335b9d){const _0x1c744e=_0x3f4ac5;var _0xad6ee9={};for(var _0x504629 in _0x3e4047)Object[_0x1c744e(0x16f)][_0x1c744e(0x16b)][_0x1c744e(0xe3)](_0x3e4047,_0x504629)&&_0x335b9d[_0x1c744e(0x1be)](_0x504629)<0x0&&(_0xad6ee9[_0x504629]=_0x3e4047[_0x504629]);if(_0x3e4047!=null&&typeof Object[_0x1c744e(0x321)]==_0x1c744e(0x193)){for(var _0x549f06=0x0,_0x504629=Object[_0x1c744e(0x321)](_0x3e4047);_0x549f06<_0x504629[_0x1c744e(0x221)];_0x549f06++)_0x335b9d[_0x1c744e(0x1be)](_0x504629[_0x549f06])<0x0&&Object[_0x1c744e(0x16f)][_0x1c744e(0x190)][_0x1c744e(0xe3)](_0x3e4047,_0x504629[_0x549f06])&&(_0xad6ee9[_0x504629[_0x549f06]]=_0x3e4047[_0x504629[_0x549f06]]);}return _0xad6ee9;},_0x59a5e1=_0x49a7d5[_0x3f4ac5(0x2c3)](function(_0xf45491,_0xe8501a){const _0x7c7c0a=_0x3f4ac5;var _0x344cfd=_0xf45491['icon'],_0x452ed0=_0xf45491['id'],_0x4ae436=_0xf45491[_0x7c7c0a(0x130)],_0x49d79a=_0xf45491[_0x7c7c0a(0xca)],_0x4743fc=_0x3ee615(_0xf45491,[_0x7c7c0a(0xc1),'id',_0x7c7c0a(0x130),_0x7c7c0a(0xca)]),_0x54fa5d=_0x7c7c0a(0x2a3)['concat'](_0x452ed0,'\x20')[_0x7c7c0a(0xdc)](_0x4ae436||'')[_0x7c7c0a(0xc4)](),_0x50f30f=_0x49a7d5[_0x7c7c0a(0x217)]('_'[_0x7c7c0a(0xdc)](_0x3f765e()));return _0x3c7992(_0x344cfd,''[_0x7c7c0a(0xdc)](_0x452ed0),{'defIds':_0x344cfd[_0x7c7c0a(0x244)],'idSuffix':_0x50f30f[_0x7c7c0a(0x14f)]},_0x53e6cc({'ref':_0xe8501a,'className':_0x54fa5d},_0x4743fc),_0x49d79a);});function _0x3c7992(_0x3d0d8e,_0x28068e,_0x1e9746,_0x3cebcf,_0x5b09ed){const _0x341883=_0x3f4ac5;return _0x49a7d5[_0x341883(0x2b4)](_0x3d0d8e[_0x341883(0x218)],_0x53e6cc(_0x53e6cc({'key':_0x28068e},_0x454961(_0x3d0d8e,_0x1e9746,_0x5b09ed)),_0x3cebcf),(_0xafc270(_0x3d0d8e,_0x1e9746)[_0x341883(0x120)]||[])['map'](function(_0x1f52c5,_0xc6655b){const _0x518557=_0x341883;return _0x3c7992(_0x1f52c5,''[_0x518557(0xdc)](_0x28068e,'-')[_0x518557(0xdc)](_0x3d0d8e[_0x518557(0x218)],'-')[_0x518557(0xdc)](_0xc6655b),_0x1e9746,void 0x0,_0x5b09ed);}));}function _0x454961(_0x51afe7,_0x4900e2,_0x1d112a){const _0x43c191=_0x3f4ac5;var _0x256be1=_0x53e6cc({},_0x51afe7[_0x43c191(0x22c)]);_0x1d112a!=null&&_0x1d112a['colorChannel1']&&_0x256be1[_0x43c191(0x215)]==='colorChannel1'&&(_0x256be1[_0x43c191(0x215)]=_0x1d112a[_0x43c191(0x2fe)]),_0x51afe7[_0x43c191(0x218)]===_0x43c191(0x341)&&_0x256be1['id']&&(_0x256be1['id']=_0x256be1['id']+_0x4900e2[_0x43c191(0x19e)]),Object['entries'](_0x256be1)[_0x43c191(0xb8)](function(_0x3c4b88){const _0x38a2e8=_0x43c191;var _0x4cac08=_0x3c4b88[0x0],_0x505b3e=_0x3c4b88[0x1];_0x4cac08===_0x38a2e8(0x341)&&typeof _0x505b3e==_0x38a2e8(0x349)&&(_0x256be1[_0x4cac08]=_0x505b3e[_0x38a2e8(0x1f3)](/url\(#(.*)\)/,_0x38a2e8(0x186)[_0x38a2e8(0xdc)](_0x4900e2[_0x38a2e8(0x19e)],')')));});var _0x1f7628=_0x4900e2[_0x43c191(0x244)];return!_0x1f7628||_0x1f7628[_0x43c191(0x221)]===0x0||(_0x51afe7['tag']===_0x43c191(0x1d6)&&_0x256be1[_0x43c191(0x232)]&&(_0x256be1[_0x43c191(0x232)]=_0x256be1[_0x43c191(0x232)]+_0x4900e2[_0x43c191(0x19e)]),Object[_0x43c191(0x347)](_0x256be1)['forEach'](function(_0x41fc29){const _0x360f6e=_0x43c191;var _0x2703b2=_0x41fc29[0x0],_0xc83932=_0x41fc29[0x1];typeof _0xc83932==_0x360f6e(0x349)&&(_0x256be1[_0x2703b2]=_0xc83932[_0x360f6e(0x1f3)](/url\(#(.*)\)/,'url(#$1'[_0x360f6e(0xdc)](_0x4900e2[_0x360f6e(0x19e)],')')));})),_0x256be1;}function _0xafc270(_0x34f2bc,_0x1a7ee7){const _0x34754a=_0x3f4ac5;var _0x40d088,_0x1cc70d=_0x1a7ee7[_0x34754a(0x244)];return!_0x1cc70d||_0x1cc70d[_0x34754a(0x221)]===0x0?_0x34f2bc:_0x34f2bc['tag']===_0x34754a(0x2dd)&&(!((_0x40d088=_0x34f2bc[_0x34754a(0x120)])===null||_0x40d088===void 0x0)&&_0x40d088[_0x34754a(0x221)])?_0x53e6cc(_0x53e6cc({},_0x34f2bc),{'children':_0x34f2bc[_0x34754a(0x120)]['map'](function(_0x531314){const _0x2e3a46=_0x34754a;return typeof _0x531314['attrs']['id']==_0x2e3a46(0x349)&&_0x1cc70d&&_0x1cc70d[_0x2e3a46(0x1be)](_0x531314['attrs']['id'])>-0x1?_0x53e6cc(_0x53e6cc({},_0x531314),{'attrs':_0x53e6cc(_0x53e6cc({},_0x531314['attrs']),{'id':_0x531314[_0x2e3a46(0x22c)]['id']+_0x1a7ee7['idSuffix']})}):_0x531314;})}):_0x34f2bc;}function _0x3f765e(){const _0x5f182e=_0x3f4ac5;return Math['random']()[_0x5f182e(0xd6)](0x24)[_0x5f182e(0x30f)](0x2,0x8);}_0x59a5e1[_0x3f4ac5(0x24c)]=_0x3f4ac5(0x140);var _0x5f3602={'tag':'svg','attrs':{'fill':_0x3f4ac5(0x118),'viewBox':_0x3f4ac5(0x32b),'width':'1em','height':_0x3f4ac5(0x300)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3f4ac5(0x231),'attrs':{'stroke':_0x3f4ac5(0x20e),'d':_0x3f4ac5(0x2bb),'strokeLinecap':_0x3f4ac5(0x325),'strokeLinejoin':_0x3f4ac5(0x325),'strokeWidth':1.2}}]},{'tag':_0x3f4ac5(0x2dd),'attrs':{},'children':[{'tag':_0x3f4ac5(0x333),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x3f4ac5(0x231),'attrs':{'fill':_0x3f4ac5(0xfb),'d':_0x3f4ac5(0x234)}}]}]}],'defIds':[_0x3f4ac5(0x13d)]},_0x33f353=_0x49a7d5['forwardRef'](function(_0x244601,_0x34d630){const _0x23cbbf=_0x3f4ac5;return _0x49a7d5['createElement'](_0x59a5e1,Object[_0x23cbbf(0x194)]({},_0x244601,{'id':_0x23cbbf(0x1b2),'ref':_0x34d630,'icon':_0x5f3602}));});_0x33f353['displayName']='OffLineSingle';var _0x4a52ea={'tag':'svg','attrs':{'fill':_0x3f4ac5(0x118),'viewBox':'0\x200\x2017\x2016','width':_0x3f4ac5(0x300),'height':_0x3f4ac5(0x300)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f4ac5(0x14c)},'children':[{'tag':_0x3f4ac5(0x231),'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':_0x3f4ac5(0x325),'strokeLinejoin':_0x3f4ac5(0x325),'strokeWidth':1.2}}]},{'tag':_0x3f4ac5(0x2dd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f4ac5(0x329)},'children':[{'tag':_0x3f4ac5(0x231),'attrs':{'fill':_0x3f4ac5(0xfb),'d':_0x3f4ac5(0x234),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3f4ac5(0x329)]},_0x549c07=_0x49a7d5['forwardRef'](function(_0x17b65f,_0x4ba49d){const _0x54559e=_0x3f4ac5;return _0x49a7d5['createElement'](_0x59a5e1,Object['assign']({},_0x17b65f,{'id':_0x54559e(0x14e),'ref':_0x4ba49d,'icon':_0x4a52ea}));});_0x549c07[_0x3f4ac5(0x24c)]='OnLineSingle';function _0x5cef7a(_0x1874d3){const _0x58ac9e=_0x3f4ac5;var _0x3c5e76,_0x3bd4d1,_0x555525='';if(typeof _0x1874d3==_0x58ac9e(0x349)||typeof _0x1874d3==_0x58ac9e(0x167))_0x555525+=_0x1874d3;else{if(typeof _0x1874d3==_0x58ac9e(0x2ee)){if(Array[_0x58ac9e(0x34a)](_0x1874d3)){var _0x50bfb9=_0x1874d3[_0x58ac9e(0x221)];for(_0x3c5e76=0x0;_0x3c5e76<_0x50bfb9;_0x3c5e76++)_0x1874d3[_0x3c5e76]&&(_0x3bd4d1=_0x5cef7a(_0x1874d3[_0x3c5e76]))&&(_0x555525&&(_0x555525+='\x20'),_0x555525+=_0x3bd4d1);}else{for(_0x3bd4d1 in _0x1874d3)_0x1874d3[_0x3bd4d1]&&(_0x555525&&(_0x555525+='\x20'),_0x555525+=_0x3bd4d1);}}}return _0x555525;}function _0x59b146(){for(var _0x5f5610,_0x351e18,_0x22880c=0x0,_0x1f4c88='',_0x469184=arguments['length'];_0x22880c<_0x469184;_0x22880c++)(_0x5f5610=arguments[_0x22880c])&&(_0x351e18=_0x5cef7a(_0x5f5610))&&(_0x1f4c88&&(_0x1f4c88+='\x20'),_0x1f4c88+=_0x351e18);return _0x1f4c88;}const _0x2424b2={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x3f4ac5(0x1f8),'onlineStatus':_0x3f4ac5(0x2f8),'online':'univer-online','offline':_0x3f4ac5(0xdd)};function _0x99ee3a(_0x327415){const _0x5eed1f=_0x3f4ac5;switch(_0x327415){case _0xcc6ee8[_0x5eed1f(0x342)][_0x5eed1f(0xe6)]:return'collabStatus.offline';case _0xcc6ee8[_0x5eed1f(0x342)][_0x5eed1f(0xfd)]:return'collabStatus.conflict';case _0xcc6ee8[_0x5eed1f(0x342)][_0x5eed1f(0x350)]:return _0x5eed1f(0xe1);case _0xcc6ee8['CollaborationStatus'][_0x5eed1f(0x23e)]:return'collabStatus.notCollab';case _0xcc6ee8['CollaborationStatus']['AWAITING']:case _0xcc6ee8[_0x5eed1f(0x342)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0xcc6ee8[_0x5eed1f(0x342)][_0x5eed1f(0x2d4)]:case _0xcc6ee8[_0x5eed1f(0x342)][_0x5eed1f(0x15c)]:return _0x5eed1f(0xeb);}}function _0xc4a79a(_0x3b6abb){const _0x21d07f=_0x3f4ac5,{status$:_0x3c4811}=_0x3b6abb,_0x114c81=_0xfd316b[_0x21d07f(0x249)](_0x3c4811,_0xcc6ee8[_0x21d07f(0x342)][_0x21d07f(0x23e)]),_0x1bbcb5=_0xfd316b['useDependency'](_0x35c4a7[_0x21d07f(0x27c)]),_0x35a4c8=_0xfd316b[_0x21d07f(0x185)](_0xcc6ee8['CollaborationSessionService']),_0x3bfc09=_0x114c81!==_0xcc6ee8[_0x21d07f(0x342)][_0x21d07f(0xe6)],_0x16cf89=_0x1bbcb5['t'](_0x99ee3a(_0x114c81)),_0x1698a4=_0x59b146(_0x2424b2['onlineStatus'],{[_0x2424b2['online']]:_0x3bfc09,[_0x2424b2[_0x21d07f(0x332)]]:!_0x3bfc09}),_0x19ea50=_0x3bfc09?_0x29ec43[_0x21d07f(0x238)](_0x549c07,{}):_0x29ec43[_0x21d07f(0x238)](_0x33f353,{}),_0x51e78d=_0x49a7d5[_0x21d07f(0x11c)](()=>{const _0x449a2a=_0x21d07f;_0x3bfc09||_0x35a4c8[_0x449a2a(0x2a8)]();},[_0x3bfc09,_0x35a4c8]);function _0x381743(){const _0x52b7f5=_0x21d07f;return _0x29ec43[_0x52b7f5(0x2ca)](_0x52b7f5(0x1bc),{'className':_0x59b146(_0x1698a4,'univer-flex\x20univer-items-center'),'onClick':_0x51e78d,'children':[_0x29ec43['jsx'](_0x52b7f5(0x1bc),{'className':_0x2424b2[_0x52b7f5(0x21b)],'children':_0x19ea50}),_0x29ec43[_0x52b7f5(0x238)](_0x52b7f5(0x1bc),{'className':_0x2424b2[_0x52b7f5(0x2db)],'children':_0x16cf89})]});}return _0x3bfc09?_0x381743():_0x29ec43[_0x21d07f(0x238)](_0xd1807f[_0x21d07f(0x123)],{'title':_0x1bbcb5['t'](_0x21d07f(0xc5)),'children':_0x381743()});}var _0x2ba106=Object['getOwnPropertyDescriptor'],_0xa9567f=(_0x5862d2,_0x4937f7,_0x188b67,_0x4527ae)=>{const _0x1e86a1=_0x3f4ac5;for(var _0xc98f67=_0x4527ae>0x1?void 0x0:_0x4527ae?_0x2ba106(_0x4937f7,_0x188b67):_0x4937f7,_0x5cee3a=_0x5862d2[_0x1e86a1(0x221)]-0x1,_0xa1039c;_0x5cee3a>=0x0;_0x5cee3a--)(_0xa1039c=_0x5862d2[_0x5cee3a])&&(_0xc98f67=_0xa1039c(_0xc98f67)||_0xc98f67);return _0xc98f67;},_0x10e103=(_0x533ecf,_0x1f4f1a)=>(_0x4d297e,_0x41ad22)=>_0x1f4f1a(_0x4d297e,_0x41ad22,_0x533ecf);_0x4354e3[_0x3f4ac5(0x143)]=class extends _0x35c4a7[_0x3f4ac5(0x192)]{constructor(_0x301836,_0x35b430,_0x1a448a,_0x479dde){const _0x287bac=_0x3f4ac5;super(),_0x41478a(this,_0x287bac(0x293),new _0x107ddf[(_0x287bac(0xc6))](_0xcc6ee8[_0x287bac(0x342)][_0x287bac(0x23e)])),(this[_0x287bac(0x1e2)]=_0x301836,this[_0x287bac(0x236)]=_0x35b430,this[_0x287bac(0x20a)]=_0x1a448a,this['_uiPartsService']=_0x479dde,this['_initStatusComponent'](),this[_0x287bac(0x223)]());}['_initStatusListener'](){const _0x2ba5c0=_0x3f4ac5;this[_0x2ba5c0(0x1b8)](this[_0x2ba5c0(0x1e2)][_0x2ba5c0(0xee)][_0x2ba5c0(0x18b)](_0x107ddf[_0x2ba5c0(0x111)](()=>{const _0x22e15c=_0x2ba5c0,_0x3c179a=this[_0x22e15c(0x1e2)][_0x22e15c(0xe9)]();return _0x3c179a?this[_0x22e15c(0x20a)]['getCollabEntity$'](_0x3c179a['getUnitId']()):_0x107ddf['of'](null);}),_0x107ddf[_0x2ba5c0(0x111)](_0x9772f4=>_0x9772f4?_0x9772f4['status$']:_0x107ddf['of'](_0xcc6ee8[_0x2ba5c0(0x342)][_0x2ba5c0(0x23e)])))[_0x2ba5c0(0x10e)](_0x4ce028=>{const _0x5e0b8b=_0x2ba5c0;this[_0x5e0b8b(0x293)][_0x5e0b8b(0x33a)](_0x4ce028);}));}[_0x3f4ac5(0xd4)](){const _0x8d8ada=_0x3f4ac5;this[_0x8d8ada(0x1b8)](this[_0x8d8ada(0x16d)][_0x8d8ada(0x258)](_0xfd316b[_0x8d8ada(0x107)][_0x8d8ada(0x2f0)],()=>_0xfd316b[_0x8d8ada(0x122)](_0x379a54({'status$':this['_status$'][_0x8d8ada(0x1a9)]()}),this['_injector'])));}},_0x4354e3['DesktopCollaborationStatusDisplayController']=_0xa9567f([_0x10e103(0x0,_0x35c4a7[_0x3f4ac5(0x2d7)]),_0x10e103(0x1,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x10e103(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xcc6ee8[_0x3f4ac5(0x134)])),_0x10e103(0x3,_0xfd316b[_0x3f4ac5(0xd1)])],_0x4354e3[_0x3f4ac5(0x143)]);function _0x379a54(_0x3982ab){const {status$:_0x1b441d}=_0x3982ab;return function(){const _0x4f9345=_0x328a;return _0x29ec43[_0x4f9345(0x238)](_0xc4a79a,{'status$':_0x1b441d});};}var _0x443ffc=Object[_0x3f4ac5(0x1d4)],_0x1af312=(_0xc9ced2,_0x38e7ba,_0x41bc98,_0xf686c5)=>{const _0x156ef9=_0x3f4ac5;for(var _0x506cd3=_0xf686c5>0x1?void 0x0:_0xf686c5?_0x443ffc(_0x38e7ba,_0x41bc98):_0x38e7ba,_0x41a4ad=_0xc9ced2[_0x156ef9(0x221)]-0x1,_0xfc16ea;_0x41a4ad>=0x0;_0x41a4ad--)(_0xfc16ea=_0xc9ced2[_0x41a4ad])&&(_0x506cd3=_0xfc16ea(_0x506cd3)||_0x506cd3);return _0x506cd3;},_0x372eb0=(_0x46deb7,_0x725a04)=>(_0x1eb666,_0x44cdf9)=>_0x725a04(_0x1eb666,_0x44cdf9,_0x46deb7);let _0x4720fb=class extends _0x35c4a7[_0x3f4ac5(0x192)]{constructor(_0x5b8fd5,_0x5d2de7,_0x46f65b,_0x1938e8,_0x38989e,_0x21206e){const _0x40b39b=_0x3f4ac5;super(),this[_0x40b39b(0x2eb)]=_0x5b8fd5,this[_0x40b39b(0x317)]=_0x5d2de7,this[_0x40b39b(0x26f)]=_0x46f65b,this['_messageService']=_0x1938e8,this['_notificationService']=_0x38989e,this[_0x40b39b(0x21e)]=_0x21206e,this[_0x40b39b(0xda)](),this[_0x40b39b(0x315)]();}[_0x3f4ac5(0xda)](){const _0x117c5d=_0x3f4ac5;this['disposeWithMe'](this[_0x117c5d(0x2eb)][_0x117c5d(0x1e6)](()=>{const _0x29e096=_0x117c5d;if(this[_0x29e096(0x317)]['saveTaskMap'][_0x29e096(0x12f)])return this[_0x29e096(0x21e)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3f4ac5(0x315)](){const _0x3eef38=_0x3f4ac5;this['disposeWithMe'](this['_collaborationUIEventService'][_0x3eef38(0x10f)][_0x3eef38(0x10e)](_0x59262b=>{const _0x45c1ab=_0x3eef38;_0x59262b['id']===_0xcc6ee8[_0x45c1ab(0x2e9)][_0x45c1ab(0x10b)]&&this[_0x45c1ab(0x248)]['show']({'type':_0xd1807f['MessageType'][_0x45c1ab(0x187)],'content':this[_0x45c1ab(0x21e)]['t'](_0x45c1ab(0x344))}),_0x59262b['id']===_0xcc6ee8[_0x45c1ab(0x2e9)][_0x45c1ab(0xe5)]&&this['_messageService']['show']({'type':_0xd1807f[_0x45c1ab(0x313)][_0x45c1ab(0x187)],'content':this[_0x45c1ab(0x21e)]['t'](_0x45c1ab(0x291))}),_0x59262b['id']===_0xcc6ee8[_0x45c1ab(0x2e9)][_0x45c1ab(0x2a7)]&&this[_0x45c1ab(0x314)]['show']({'title':this[_0x45c1ab(0x21e)]['t']('permission.title'),'content':this[_0x45c1ab(0x21e)]['t'](_0x45c1ab(0x2a5)),'type':'error','duration':0x0}),_0x59262b['id']===_0xcc6ee8[_0x45c1ab(0x2e9)]['CONFLICT']&&this[_0x45c1ab(0x248)][_0x45c1ab(0x305)]({'type':_0xd1807f[_0x45c1ab(0x313)][_0x45c1ab(0xff)],'content':this[_0x45c1ab(0x21e)]['t']('collaboration.closeRoom')+'('+_0x59262b[_0x45c1ab(0x1ca)]+')'}),_0x59262b['id']===_0xcc6ee8['CollaborationUIEventId'][_0x45c1ab(0x102)]&&this[_0x45c1ab(0x248)][_0x45c1ab(0x305)]({'type':_0xd1807f[_0x45c1ab(0x313)]['Warning'],'content':this[_0x45c1ab(0x21e)]['t'](_0x59262b[_0x45c1ab(0x1ca)]||'')}),_0x59262b['id']===_0xcc6ee8[_0x45c1ab(0x2e9)][_0x45c1ab(0x2b9)]&&this['_messageService'][_0x45c1ab(0x305)]({'type':_0xd1807f[_0x45c1ab(0x313)][_0x45c1ab(0x187)],'content':this[_0x45c1ab(0x21e)]['t'](_0x45c1ab(0x32c))}),_0x59262b['id']===_0xcc6ee8[_0x45c1ab(0x2e9)]['SOCKET_FAILED']&&this['_messageService'][_0x45c1ab(0x305)]({'type':_0xd1807f['MessageType'][_0x45c1ab(0xff)],'content':this['_localeService']['t'](_0x45c1ab(0x1a0))}),_0x59262b['id']===_0xcc6ee8[_0x45c1ab(0x2e9)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x45c1ab(0x305)]({'type':_0xd1807f[_0x45c1ab(0x313)][_0x45c1ab(0xff)],'content':this[_0x45c1ab(0x21e)]['t'](_0x45c1ab(0x2e5))});}));}};_0x4720fb=_0x1af312([_0x372eb0(0x0,_0xfd316b[_0x3f4ac5(0x2f5)]),_0x372eb0(0x1,_0xcc6ee8[_0x3f4ac5(0xed)]),_0x372eb0(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xcc6ee8[_0x3f4ac5(0x27d)])),_0x372eb0(0x3,_0xfd316b[_0x3f4ac5(0xbf)]),_0x372eb0(0x4,_0xfd316b[_0x3f4ac5(0x276)]),_0x372eb0(0x5,_0x35c4a7['Inject'](_0x35c4a7[_0x3f4ac5(0x27c)]))],_0x4720fb);const _0x2bd745=_0x3f4ac5(0x345),_0x51b4f9={},_0x13c787=_0x35c4a7[_0x3f4ac5(0x15e)](_0x3f4ac5(0x1fe));var _0x53ccde=Object[_0x3f4ac5(0x1d4)],_0x2f65bd=(_0x1bb5ab,_0xcf1230,_0x589634,_0x3ffcb4)=>{const _0x3b987d=_0x3f4ac5;for(var _0x5f8a3a=_0x3ffcb4>0x1?void 0x0:_0x3ffcb4?_0x53ccde(_0xcf1230,_0x589634):_0xcf1230,_0x1b8293=_0x1bb5ab[_0x3b987d(0x221)]-0x1,_0x56ae48;_0x1b8293>=0x0;_0x1b8293--)(_0x56ae48=_0x1bb5ab[_0x1b8293])&&(_0x5f8a3a=_0x56ae48(_0x5f8a3a)||_0x5f8a3a);return _0x5f8a3a;},_0x2d63b4=(_0x7410e9,_0x46535d)=>(_0x5bba14,_0xa148d4)=>_0x46535d(_0x5bba14,_0xa148d4,_0x7410e9);_0x4354e3[_0x3f4ac5(0x108)]=class extends _0x35c4a7[_0x3f4ac5(0x2a9)]{constructor(_0xcf70f7,_0x29d730,_0x26189a,_0x22183e,_0x20475e){const _0x4ee34c=_0x3f4ac5;super(),this['_urlService']=_0xcf70f7,this['_logService']=_0x29d730,this[_0x4ee34c(0xf6)]=_0x26189a,this['_dataLoaderService']=_0x22183e,_0x20475e?_0x20475e==null||_0x20475e[_0x4ee34c(0x1e4)]()[_0x4ee34c(0x299)](()=>this[_0x4ee34c(0x199)]()):(this[_0x4ee34c(0x29a)][_0x4ee34c(0x228)](_0x4ee34c(0x188),_0x4ee34c(0x148)),this['_init']());}async['_init'](){const _0x4dbdcd=_0x3f4ac5,_0x1242c3=this['_urlService'][_0x4dbdcd(0xef)](_0x4dbdcd(0x31a)),_0x5438a1=this[_0x4dbdcd(0x2a1)][_0x4dbdcd(0xef)](_0x4dbdcd(0x2ff)),_0x53a56b=this[_0x4dbdcd(0x2a1)][_0x4dbdcd(0xef)](_0x4dbdcd(0x1ce));if(!_0x1242c3||!_0x5438a1){this['_logService'][_0x4dbdcd(0x228)](_0x4dbdcd(0x188),_0x4dbdcd(0x124));return;}const _0x2be0ee=await this[_0x4dbdcd(0x11f)][_0x4dbdcd(0x1b1)](_0x1242c3,Number(_0x5438a1),_0x53a56b);_0x2be0ee&&_0x2be0ee instanceof _0x35c4a7[_0x4dbdcd(0xc8)]&&this[_0x4dbdcd(0x17d)](_0x2be0ee);}async[_0x3f4ac5(0x17d)](_0x379d08){const _0x3dd449=_0x3f4ac5;await this['_updateSubUnitFromURLParams'](_0x379d08),_0x379d08[_0x3dd449(0x289)][_0x3dd449(0x18b)](_0x107ddf[_0x3dd449(0x126)](this[_0x3dd449(0x116)]))[_0x3dd449(0x10e)](_0x36ab1c=>{const _0xe3979c=_0x3dd449;_0x36ab1c&&this[_0xe3979c(0x2de)](_0x36ab1c);}),this['_urlService'][_0x3dd449(0x19a)]['pipe'](_0x107ddf['takeUntil'](this[_0x3dd449(0x116)]))[_0x3dd449(0x10e)](()=>this[_0x3dd449(0x20c)](_0x379d08));}[_0x3f4ac5(0x2de)](_0x3911c0,_0x7a0a86=!0x1){const _0xa6513=_0x3f4ac5,_0x5e3f5a=this[_0xa6513(0x2a1)][_0xa6513(0xef)](_0xa6513(0x1ce));_0x3911c0['getSheetId']()!==_0x5e3f5a&&this['_urlService'][_0xa6513(0x1b3)]('subunit',_0x3911c0[_0xa6513(0x261)](),_0x7a0a86);}async['_updateSubUnitFromURLParams'](_0x15f3c5){const _0x4e3248=_0x3f4ac5;var _0x2034cd;const _0x48f9c6=this[_0x4e3248(0x2a1)]['getParam'](_0x4e3248(0x1ce));if(!_0x48f9c6||!_0x15f3c5['getSheetBySheetId'](_0x48f9c6)){const _0x43adb6=_0x15f3c5[_0x4e3248(0x227)]()[0x0],_0xee44aa=_0x15f3c5[_0x4e3248(0x245)](_0x43adb6);if(!_0xee44aa)return;this['_updateURLWithCurrentState'](_0xee44aa,!0x0),await this[_0x4e3248(0xf6)][_0x4e3248(0x160)](_0x49a7a6[_0x4e3248(0x132)]['id'],{'unitId':_0x15f3c5[_0x4e3248(0x162)](),'subUnitId':_0x43adb6});return;}((_0x2034cd=_0x15f3c5[_0x4e3248(0x16c)]())==null?void 0x0:_0x2034cd[_0x4e3248(0x261)]())!==_0x48f9c6&&await this[_0x4e3248(0xf6)]['executeCommand'](_0x49a7a6[_0x4e3248(0x132)]['id'],{'unitId':_0x15f3c5[_0x4e3248(0x162)](),'subUnitId':_0x48f9c6});}},_0x4354e3[_0x3f4ac5(0x108)]=_0x2f65bd([_0x2d63b4(0x0,_0x13c787),_0x2d63b4(0x1,_0x35c4a7[_0x3f4ac5(0x206)]),_0x2d63b4(0x2,_0x35c4a7[_0x3f4ac5(0x34f)]),_0x2d63b4(0x3,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xcc6ee8[_0x3f4ac5(0x197)])),_0x2d63b4(0x4,_0x35c4a7[_0x3f4ac5(0x24d)](_0x22d3c2[_0x3f4ac5(0xea)]))],_0x4354e3[_0x3f4ac5(0x108)]);var _0x310117=Object[_0x3f4ac5(0x1d4)],_0x2a6117=(_0x3cd89d,_0x8be3c7,_0xadc4fb,_0x51b01c)=>{for(var _0x282a7b=_0x51b01c>0x1?void 0x0:_0x51b01c?_0x310117(_0x8be3c7,_0xadc4fb):_0x8be3c7,_0x342cb6=_0x3cd89d['length']-0x1,_0x13c034;_0x342cb6>=0x0;_0x342cb6--)(_0x13c034=_0x3cd89d[_0x342cb6])&&(_0x282a7b=_0x13c034(_0x282a7b)||_0x282a7b);return _0x282a7b;},_0x30ffab=(_0x2651db,_0x3132ad)=>(_0x54e659,_0x29f047)=>_0x3132ad(_0x54e659,_0x29f047,_0x2651db);let _0xf3189e=class{constructor(_0x4c46bd,_0x431caf,_0x2b5d06){const _0x666f7b=_0x3f4ac5;this[_0x666f7b(0x236)]=_0x4c46bd,this[_0x666f7b(0x270)]=_0x431caf,this['_renderManagerService']=_0x2b5d06;}[_0x3f4ac5(0x1b5)](_0x386501){const _0x2f51bf=_0x3f4ac5;this[_0x2f51bf(0x189)](_0x386501),this[_0x2f51bf(0x267)](_0x386501);}[_0x3f4ac5(0x311)](_0x4692be){const _0x5e2412=_0x3f4ac5,{unitID:_0x39d99b}=_0x4692be,_0x4eb16e=this[_0x5e2412(0x290)][_0x5e2412(0xf0)](_0x39d99b)[_0x5e2412(0x180)](_0x104ea3['DocIMEInputManagerService']),{redoCache:_0x4f830c}=_0x4eb16e[_0x5e2412(0x2c9)]();if(_0x4f830c[_0x5e2412(0x221)]===0x0)return _0x4692be;let _0x5ca1cf=_0x35c4a7['Tools'][_0x5e2412(0xcd)](_0x4692be[_0x5e2412(0x30e)][0x0]);for(let _0x4b1c9c=0x0;_0x4b1c9c<_0x4f830c[_0x5e2412(0x221)];_0x4b1c9c++){const _0x320441={'id':_0x5e2412(0x312),'params':{..._0x4f830c[_0x4b1c9c]}},_0x265e91=this[_0x5e2412(0x270)][_0x5e2412(0x115)](_0x5ca1cf,_0x320441,!0x1);if(_0x1d9249[_0x5e2412(0x2c5)](_0x265e91))throw _0x265e91[_0x5e2412(0x1f0)];_0x5ca1cf=_0x265e91[_0x5e2412(0xe8)];}return{..._0x35c4a7[_0x5e2412(0x339)]['deepClone'](_0x4692be),'mutations':[_0x5ca1cf]};}[_0x3f4ac5(0x189)](_0x29fecb){const _0x202239=_0x3f4ac5,{unitID:_0x118b93}=_0x29fecb,_0x26ede2=this[_0x202239(0x290)][_0x202239(0xf0)](_0x118b93)[_0x202239(0x180)](_0x104ea3[_0x202239(0x110)]),{undoCache:_0x264e74,redoCache:_0xb998bc}=_0x26ede2['getUndoRedoMutationParamsCache']();if(_0x264e74[_0x202239(0x221)]===0x0||_0xb998bc['length']===0x0)return;const _0x409e26=[],_0x4c045d=[];let _0x2333d8=_0x35c4a7['Tools']['deepClone'](_0x29fecb[_0x202239(0x30e)][0x0]),_0x26c55f=_0x35c4a7['Tools'][_0x202239(0xcd)](_0x29fecb[_0x202239(0x30e)][0x0]);for(let _0x3e69af=_0x264e74['length']-0x1;_0x3e69af>=0x0;_0x3e69af--){const _0x3ce689={'id':'doc.mutation.rich-text-editing','params':{..._0x264e74[_0x3e69af]}},_0x4181c4={'id':_0x202239(0x312),'params':{..._0xb998bc[_0x3e69af]}},_0x3266df=this[_0x202239(0x270)]['transformMutation'](_0x2333d8,_0x3ce689,!0x1),_0x611788=this[_0x202239(0x270)][_0x202239(0x115)](_0x26c55f,_0x4181c4,!0x1);if(_0x1d9249[_0x202239(0x2c5)](_0x3266df))throw _0x3266df['error'];if(_0x1d9249[_0x202239(0x2c5)](_0x611788))throw _0x611788[_0x202239(0x1f0)];_0x409e26[_0x202239(0x23a)](_0x3266df[_0x202239(0x21c)]['params']),_0x4c045d['unshift'](_0x611788[_0x202239(0x21c)]['params']),_0x2333d8=_0x3266df[_0x202239(0xe8)],_0x26c55f=_0x611788[_0x202239(0xe8)];}_0x26ede2[_0x202239(0x1ac)]({'undoCache':_0x409e26,'redoCache':_0x4c045d});}['_transformPreviousActiveRange'](_0x2e152c){const _0x1223ad=_0x3f4ac5,{unitID:_0x1786d5}=_0x2e152c,_0x410fa1=this[_0x1223ad(0x290)][_0x1223ad(0xf0)](_0x1786d5)[_0x1223ad(0x180)](_0x104ea3['DocIMEInputManagerService']),_0x54cc83=_0x410fa1[_0x1223ad(0x326)]();if(_0x54cc83==null)return;const _0x189c26=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e152c[_0x1223ad(0x1f1)],'actions':null,'textRanges':[_0x54cc83]}}],_0x537a51=this[_0x1223ad(0x270)]['transformMutationsWithChangeset'](_0x2e152c,_0x189c26);if(!_0x1d9249[_0x1223ad(0xe2)](_0x537a51))throw _0x537a51['error'];const _0x33d221=_0x537a51[_0x1223ad(0x21c)][0x0][_0x1223ad(0x343)][_0x1223ad(0x172)];Array['isArray'](_0x33d221)&&_0x33d221[_0x1223ad(0x221)]&&_0x410fa1[_0x1223ad(0x283)](_0x33d221[0x0]);}};_0xf3189e=_0x2a6117([_0x30ffab(0x0,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x30ffab(0x1,_0x1d9249[_0x3f4ac5(0x2f7)]),_0x30ffab(0x2,_0x4af313[_0x3f4ac5(0x2ba)])],_0xf3189e);var _0x47cfd8=Object[_0x3f4ac5(0x1d4)],_0x2ef264=(_0x4c99a4,_0x3d5a78,_0x5f053f,_0x4af40d)=>{const _0x3e2033=_0x3f4ac5;for(var _0x134b8f=_0x4af40d>0x1?void 0x0:_0x4af40d?_0x47cfd8(_0x3d5a78,_0x5f053f):_0x3d5a78,_0x238955=_0x4c99a4[_0x3e2033(0x221)]-0x1,_0x2a2be6;_0x238955>=0x0;_0x238955--)(_0x2a2be6=_0x4c99a4[_0x238955])&&(_0x134b8f=_0x2a2be6(_0x134b8f)||_0x134b8f);return _0x134b8f;},_0x4a5170=(_0x3c977d,_0x3f54e8)=>(_0xa3189c,_0x38adbe)=>_0x3f54e8(_0xa3189c,_0x38adbe,_0x3c977d);let _0x48c832=class{constructor(_0x35ab42,_0x3045d0,_0x2f03e3){const _0x22a2f7=_0x3f4ac5;this['_injector']=_0x35ab42,this[_0x22a2f7(0x270)]=_0x3045d0,this['_docStateChangeManagerService']=_0x2f03e3;}['transformStateCache'](_0x1694a){const _0x36b6f7=_0x3f4ac5;this[_0x36b6f7(0x2da)](_0x1694a);}[_0x3f4ac5(0x311)](_0x19564e){const _0x27202a=_0x3f4ac5,{unitID:_0x2d7208}=_0x19564e,{collaboration:_0xfdee7a}=this[_0x27202a(0x213)][_0x27202a(0x165)](_0x2d7208);if(_0xfdee7a[_0x27202a(0x221)]===0x0)return _0x19564e;let _0x2610bd=_0x35c4a7[_0x27202a(0x339)][_0x27202a(0xcd)](_0x19564e['mutations'][0x0]);for(let _0x59373a=0x0;_0x59373a<_0xfdee7a['length'];_0x59373a++){const _0x1bf2e3={'id':_0x27202a(0x312),'params':{'unitId':_0xfdee7a[_0x59373a]['unitId'],..._0xfdee7a[_0x59373a][_0x27202a(0x125)]}},_0x4b05d0=this[_0x27202a(0x270)]['transformMutation'](_0x2610bd,_0x1bf2e3,!0x1);if(_0x1d9249['isTransformMutationFailure'](_0x4b05d0))throw _0x4b05d0[_0x27202a(0x1f0)];_0x2610bd=_0x4b05d0[_0x27202a(0xe8)];}return{..._0x35c4a7[_0x27202a(0x339)][_0x27202a(0xcd)](_0x19564e),'mutations':[_0x2610bd]};}['_transformHistoryAndStateStack'](_0x18dfcf){const _0x474fe3=_0x3f4ac5,{unitID:_0x181610}=_0x18dfcf,{history:_0x237221,collaboration:_0xe55927}=this[_0x474fe3(0x213)][_0x474fe3(0x165)](_0x181610);if(_0x237221[_0x474fe3(0x221)]===0x0&&_0xe55927['length']===0x0)return;const _0x564a1c=[],_0x5bbf88=[];let _0x2c8eb2=_0x35c4a7[_0x474fe3(0x339)]['deepClone'](_0x18dfcf['mutations'][0x0]),_0x8c19d0=_0x35c4a7[_0x474fe3(0x339)]['deepClone'](_0x18dfcf[_0x474fe3(0x30e)][0x0]);for(let _0x3f786b=_0x237221[_0x474fe3(0x221)]-0x1;_0x3f786b>=0x0;_0x3f786b--){const _0x3bada5={'id':_0x474fe3(0x312),'params':{'unitId':_0x237221[_0x3f786b]['unitId'],..._0x237221[_0x3f786b][_0x474fe3(0x151)]}},_0x39595f={'id':_0x474fe3(0x312),'params':{'unitId':_0x237221[_0x3f786b][_0x474fe3(0x196)],..._0x237221[_0x3f786b][_0x474fe3(0x125)]}},_0xd1a9af=this['_transformService'][_0x474fe3(0x115)](_0x2c8eb2,_0x3bada5,!0x1),_0x157a58=this['_transformService']['transformMutation'](_0x8c19d0,_0x39595f,!0x1);if(_0x1d9249['isTransformMutationFailure'](_0xd1a9af))throw _0xd1a9af[_0x474fe3(0x1f0)];if(_0x1d9249[_0x474fe3(0x2c5)](_0x157a58))throw _0x157a58[_0x474fe3(0x1f0)];_0x564a1c['unshift']({..._0x237221[_0x3f786b],'undoState':_0xd1a9af[_0x474fe3(0x21c)][_0x474fe3(0x343)],'redoState':_0x157a58[_0x474fe3(0x21c)]['params']}),_0x2c8eb2=_0xd1a9af[_0x474fe3(0xe8)],_0x8c19d0=_0x157a58[_0x474fe3(0xe8)];}_0x2c8eb2=_0x35c4a7['Tools'][_0x474fe3(0xcd)](_0x18dfcf['mutations'][0x0]),_0x8c19d0=_0x35c4a7[_0x474fe3(0x339)]['deepClone'](_0x18dfcf[_0x474fe3(0x30e)][0x0]);for(let _0x46daf9=_0xe55927[_0x474fe3(0x221)]-0x1;_0x46daf9>=0x0;_0x46daf9--){const _0xddbc5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe55927[_0x46daf9][_0x474fe3(0x196)],..._0xe55927[_0x46daf9][_0x474fe3(0x151)]}},_0x34a9b6={'id':_0x474fe3(0x312),'params':{'unitId':_0xe55927[_0x46daf9]['unitId'],..._0xe55927[_0x46daf9][_0x474fe3(0x125)]}},_0x337b55=this[_0x474fe3(0x270)][_0x474fe3(0x115)](_0x2c8eb2,_0xddbc5b,!0x1),_0x3caca0=this[_0x474fe3(0x270)]['transformMutation'](_0x8c19d0,_0x34a9b6,!0x1);if(_0x1d9249[_0x474fe3(0x2c5)](_0x337b55))throw _0x337b55['error'];if(_0x1d9249['isTransformMutationFailure'](_0x3caca0))throw _0x3caca0['error'];_0x5bbf88['unshift']({..._0xe55927[_0x46daf9],'undoState':_0x337b55['m2Prime'][_0x474fe3(0x343)],'redoState':_0x3caca0['m2Prime'][_0x474fe3(0x343)]}),_0x2c8eb2=_0x337b55[_0x474fe3(0xe8)],_0x8c19d0=_0x3caca0[_0x474fe3(0xe8)];}this[_0x474fe3(0x213)][_0x474fe3(0x31c)](_0x181610,{'history':_0x564a1c,'collaboration':_0x5bbf88});}};_0x48c832=_0x2ef264([_0x4a5170(0x0,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x4a5170(0x1,_0x1d9249[_0x3f4ac5(0x2f7)]),_0x4a5170(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x104ea3['DocStateChangeManagerService']))],_0x48c832);var _0x4c33a1=Object[_0x3f4ac5(0x1d4)],_0x577176=(_0x125215,_0x1dbd22,_0x5995f7,_0x2ac806)=>{for(var _0x1fbd6e=_0x2ac806>0x1?void 0x0:_0x2ac806?_0x4c33a1(_0x1dbd22,_0x5995f7):_0x1dbd22,_0x4cdc50=_0x125215['length']-0x1,_0x57e496;_0x4cdc50>=0x0;_0x4cdc50--)(_0x57e496=_0x125215[_0x4cdc50])&&(_0x1fbd6e=_0x57e496(_0x1fbd6e)||_0x1fbd6e);return _0x1fbd6e;},_0x32d064=(_0x44433b,_0x29dfd1)=>(_0x3ccd4e,_0x1117c2)=>_0x29dfd1(_0x3ccd4e,_0x1117c2,_0x44433b);let _0x59e70c=class{constructor(_0x183e56,_0x13a533){const _0x112010=_0x3f4ac5;this['_injector']=_0x183e56,this[_0x112010(0x270)]=_0x13a533;}[_0x3f4ac5(0x205)](_0x56bcb3){const _0x73a7bf=_0x3f4ac5;var _0x25f5ae;const _0x3b9d1f=this[_0x73a7bf(0x236)][_0x73a7bf(0x1ec)](_0x508484[_0x73a7bf(0x25a)]),_0x6e2257=(_0x25f5ae=_0x3b9d1f[_0x73a7bf(0x1de)]())!=null?_0x25f5ae:[];if(_0x6e2257[_0x73a7bf(0x221)]===0x0)return;const _0x836587=_0x56bcb3[_0x73a7bf(0x1f1)],_0x1ab0f3=[{'id':_0x73a7bf(0x312),'params':{'unitId':_0x836587,'actions':null,'textRanges':_0x6e2257}}],_0x3be1ed=this['_transformService'][_0x73a7bf(0x21f)](_0x56bcb3,_0x1ab0f3);if(!_0x1d9249['isTransformMutationsWithChangesetSuccess'](_0x3be1ed))throw _0x3be1ed['error'];const _0x4618cb=_0x3be1ed['m2Prime'][0x0][_0x73a7bf(0x343)][_0x73a7bf(0x172)];Array['isArray'](_0x4618cb)&&_0x4618cb['length']&&_0x3b9d1f['replaceDocRanges'](_0x4618cb,{'unitId':_0x836587,'subUnitId':_0x836587},!0x1);}};_0x59e70c=_0x577176([_0x32d064(0x0,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x32d064(0x1,_0x1d9249[_0x3f4ac5(0x2f7)])],_0x59e70c);var _0x410716=Object[_0x3f4ac5(0x1d4)],_0x3f3ea3=(_0x3a4034,_0x5250e5,_0x291cb5,_0x43c297)=>{for(var _0x5b6021=_0x43c297>0x1?void 0x0:_0x43c297?_0x410716(_0x5250e5,_0x291cb5):_0x5250e5,_0x1fe1ce=_0x3a4034['length']-0x1,_0x2b84c6;_0x1fe1ce>=0x0;_0x1fe1ce--)(_0x2b84c6=_0x3a4034[_0x1fe1ce])&&(_0x5b6021=_0x2b84c6(_0x5b6021)||_0x5b6021);return _0x5b6021;},_0x54e083=(_0x10b2e2,_0x3872f7)=>(_0x2db7ca,_0x2b59ca)=>_0x3872f7(_0x2db7ca,_0x2b59ca,_0x10b2e2);let _0x585874=class extends _0x35c4a7[_0x3f4ac5(0x192)]{constructor(_0x39aa0d,_0x197111,_0x437bd4,_0x7832f6,_0x4d4999,_0x2103f4,_0x2c7252,_0x5624b7){const _0x456895=_0x3f4ac5;super(),_0x41478a(this,_0x456895(0x293),new _0x107ddf[(_0x456895(0xc6))](_0xcc6ee8['CollaborationStatus'][_0x456895(0x23e)])),(this[_0x456895(0x213)]=_0x39aa0d,this[_0x456895(0x20a)]=_0x197111,this[_0x456895(0x191)]=_0x437bd4,this[_0x456895(0x112)]=_0x7832f6,this[_0x456895(0x348)]=_0x4d4999,this[_0x456895(0x233)]=_0x2103f4,this[_0x456895(0x248)]=_0x2c7252,this['_localeService']=_0x5624b7,this[_0x456895(0x219)]());}['_initEntityListener'](){const _0x4a342c=_0x3f4ac5;this['disposeWithMe'](this[_0x4a342c(0x20a)]['entityInit$']['subscribe'](_0x1999e4=>{const _0x253088=_0x4a342c,_0x180a22=this[_0x253088(0x213)][_0x253088(0x24e)][_0x253088(0x10e)](_0x465d51=>{const _0x2b0412=_0x253088;if(_0x465d51==null)return;const {unitId:_0x5238da,redoState:_0x5c5822,commandId:_0x247bca}=_0x465d51;if(_0x5238da!==_0x1999e4[_0x2b0412(0x1f1)])return;const _0x153f7b={'id':_0x247bca,'type':_0x35c4a7[_0x2b0412(0x2d2)][_0x2b0412(0x26e)],'params':{'unitId':_0x5238da,'actions':_0x5c5822[_0x2b0412(0x166)],'textRanges':null}};_0x1999e4[_0x2b0412(0x239)](_0x153f7b);});if(_0x1999e4[_0x253088(0x1b8)](_0x180a22),_0x1999e4 instanceof _0xcc6ee8[_0x253088(0x2d1)]){const _0x4a2c8a={'onTransformIME':_0x37d87c=>this[_0x253088(0x191)][_0x253088(0x1b5)](_0x37d87c),'onTransformState':_0x4edc5a=>this['_docTransformStateCacheService']['transformStateCache'](_0x4edc5a),'onTransformSelections':_0x254a0d=>this[_0x253088(0x348)][_0x253088(0x205)](_0x254a0d),'onSyncEditingCollabCursor':_0x39704f=>this[_0x253088(0x233)]['syncEditingCollabCursor'](_0x39704f),'onTransformRemoteChangesetByIMECache':_0x1a64f4=>this[_0x253088(0x191)][_0x253088(0x311)](_0x1a64f4),'onTransformRemoteChangesetByStateCache':_0x56edaa=>this[_0x253088(0x112)]['transformRemoteChangeset'](_0x56edaa)};_0x1999e4[_0x253088(0x2dc)](_0x4a2c8a);}}));}};_0x585874=_0x3f3ea3([_0x54e083(0x0,_0x35c4a7['Inject'](_0x104ea3[_0x3f4ac5(0x17b)])),_0x54e083(0x1,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xcc6ee8[_0x3f4ac5(0x134)])),_0x54e083(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0xf3189e)),_0x54e083(0x3,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x48c832)),_0x54e083(0x4,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x59e70c)),_0x54e083(0x5,_0x35c4a7['Inject'](_0x14555b)),_0x54e083(0x6,_0xfd316b[_0x3f4ac5(0xbf)]),_0x54e083(0x7,_0x35c4a7['Inject'](_0x35c4a7[_0x3f4ac5(0x27c)]))],_0x585874);var _0x4890ca=Object[_0x3f4ac5(0x1d4)],_0x32828e=(_0x563417,_0x118fdf,_0x3b830f,_0x3c51a4)=>{const _0x9487fb=_0x3f4ac5;for(var _0x340f80=_0x3c51a4>0x1?void 0x0:_0x3c51a4?_0x4890ca(_0x118fdf,_0x3b830f):_0x118fdf,_0x5a8c85=_0x563417[_0x9487fb(0x221)]-0x1,_0x178118;_0x5a8c85>=0x0;_0x5a8c85--)(_0x178118=_0x563417[_0x5a8c85])&&(_0x340f80=_0x178118(_0x340f80)||_0x340f80);return _0x340f80;},_0x179308=(_0x5ee4c6,_0x452b99)=>(_0x21f6ef,_0x522c7b)=>_0x452b99(_0x21f6ef,_0x522c7b,_0x5ee4c6);let _0x33bb49=class extends _0x35c4a7[_0x3f4ac5(0x192)]{constructor(_0xe8c310,_0x167283,_0x5196ef){const _0x621e9f=_0x3f4ac5;super(),_0x41478a(this,_0x621e9f(0x322),new Map()),_0x41478a(this,_0x621e9f(0x2af),new Map()),_0x41478a(this,_0x621e9f(0x183),!0x1),(this[_0x621e9f(0x15d)]=_0xe8c310,this[_0x621e9f(0x1d2)]=_0x167283,this['_revisionService']=_0x5196ef);}['disableLocalCache'](){const _0x2d6c56=_0x3f4ac5;this[_0x2d6c56(0x183)]=!0x0;}[_0x3f4ac5(0x1a7)](){this['_disabled']=!0x1;}get[_0x3f4ac5(0x2f1)](){const _0x1ddb19=_0x3f4ac5;return this[_0x1ddb19(0x2af)];}[_0x3f4ac5(0x284)](){const _0xf4e6f8=_0x3f4ac5;this[_0xf4e6f8(0x31d)]()[_0xf4e6f8(0x299)](()=>super[_0xf4e6f8(0x284)]());}async[_0x3f4ac5(0x204)](_0x327057){const _0x154e2d=_0x3f4ac5;return this[_0x154e2d(0x183)]?null:this[_0x154e2d(0x1d2)][_0x154e2d(0x184)](_0xcc6ee8[_0x154e2d(0x295)](_0x327057));}async[_0x3f4ac5(0x1e7)](_0x57f47f,_0x2d82a0){return!!this['_localStorageService']['setItem'](_0x57f47f,_0x2d82a0);}[_0x3f4ac5(0x252)](_0x3fd0ba,_0x387946,_0x57e377,_0x1cb56d){const _0x1d6aea=_0x3f4ac5,_0x2484ca=this[_0x1d6aea(0x2b1)][_0x1d6aea(0x32f)](_0x3fd0ba);this[_0x1d6aea(0x322)][_0x1d6aea(0x2b8)](_0x3fd0ba,{'unitID':_0x3fd0ba,'type':_0x387946,'awaitingChangeset':_0x57e377,'mutations':_0x1cb56d,'rev':_0x2484ca}),this[_0x1d6aea(0x2af)][_0x1d6aea(0xd2)](_0x3fd0ba)||this[_0x1d6aea(0x330)](_0x3fd0ba);}[_0x3f4ac5(0x330)](_0x3aade7){const _0x26d527=_0x3f4ac5,_0x49f042=this[_0x26d527(0x251)]();_0x49f042===0x0?this[_0x26d527(0x100)](_0x3aade7):this[_0x26d527(0x2af)]['set'](_0x3aade7,setTimeout(()=>this[_0x26d527(0x100)](_0x3aade7),_0x49f042));}[_0x3f4ac5(0x251)](){const _0x3ffb58=_0x3f4ac5;var _0x734bba;return(_0x734bba=this['_configService'][_0x3ffb58(0x262)](_0xcc6ee8[_0x3ffb58(0x136)]))!=null?_0x734bba:_0xcc6ee8[_0x3ffb58(0x216)];}[_0x3f4ac5(0x100)](_0x257cb8){const _0x3e72bd=_0x3f4ac5,_0x2fd68f=this[_0x3e72bd(0x2af)][_0x3e72bd(0x1ec)](_0x257cb8);return _0x2fd68f!==void 0x0&&window[_0x3e72bd(0x21a)](_0x2fd68f),this['_localStorageService'][_0x3e72bd(0x1da)](_0xcc6ee8['getLocalCacheKey'](_0x257cb8),this[_0x3e72bd(0x322)][_0x3e72bd(0x1ec)](_0x257cb8))[_0x3e72bd(0x299)](()=>this['_saveTaskMap']['delete'](_0x257cb8));}async[_0x3f4ac5(0x31d)](){const _0x5ae085=_0x3f4ac5,_0xae7b46=[];this[_0x5ae085(0x2af)]['forEach']((_0x5b0bff,_0x164d19)=>{const _0x5cb4dc=_0x5ae085;window[_0x5cb4dc(0x21a)](_0x5b0bff),_0xae7b46[_0x5cb4dc(0x254)](this[_0x5cb4dc(0x100)](_0x164d19)['then'](()=>{this['_saveTaskMap']['delete'](_0x164d19);}));}),await Promise[_0x5ae085(0x202)](_0xae7b46);}};_0x33bb49=_0x32828e([_0x179308(0x0,_0x35c4a7[_0x3f4ac5(0x30b)]),_0x179308(0x1,_0x35c4a7[_0x3f4ac5(0x176)]),_0x179308(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x1d9249[_0x3f4ac5(0x17c)]))],_0x33bb49);class _0x29410c extends _0x35c4a7[_0x3f4ac5(0x2a9)]{constructor(){const _0x575d4c=_0x3f4ac5;super(),_0x41478a(this,_0x575d4c(0x19a)),this[_0x575d4c(0x19a)]=_0x107ddf[_0x575d4c(0x214)](window,'popstate')[_0x575d4c(0x18b)](_0x107ddf[_0x575d4c(0x126)](this['dispose$']),_0x107ddf[_0x575d4c(0x28d)](0x1),_0x107ddf[_0x575d4c(0x2ea)](void 0x0));}['setParam'](_0x2611fe,_0x2ae962,_0x480a82=!0x1){const _0x54e1e1=_0x3f4ac5,_0x5edcef=new URL(window[_0x54e1e1(0x11b)][_0x54e1e1(0x23f)]);_0x5edcef[_0x54e1e1(0x203)][_0x54e1e1(0x2b8)](_0x2611fe,_0x2ae962),_0x480a82?window['history']['replaceState']('','',_0x5edcef['toString']()):window[_0x54e1e1(0x34d)][_0x54e1e1(0xb7)]('','',_0x5edcef['toString']());}[_0x3f4ac5(0x2ab)](_0x1d3511,_0x4df2cf=!0x1){const _0x26dfbb=_0x3f4ac5,_0x22e12f=new URL(window['location'][_0x26dfbb(0x23f)]);_0x22e12f[_0x26dfbb(0x203)][_0x26dfbb(0xbe)](_0x1d3511),_0x4df2cf?window[_0x26dfbb(0x34d)][_0x26dfbb(0x152)]('','',_0x22e12f[_0x26dfbb(0xd6)]()):window[_0x26dfbb(0x34d)][_0x26dfbb(0xb7)]('','',_0x22e12f[_0x26dfbb(0xd6)]());}[_0x3f4ac5(0xef)](_0x1f06e2){const _0xb465c7=_0x3f4ac5;var _0x19f845;return(_0x19f845=new URL(window[_0xb465c7(0x11b)][_0xb465c7(0x23f)])['searchParams'][_0xb465c7(0x1ec)](_0x1f06e2))!=null?_0x19f845:void 0x0;}}var _0x143cba=Object[_0x3f4ac5(0xe4)],_0x8921e7=Object[_0x3f4ac5(0x1d4)],_0x41e5e4=(_0x59bded,_0x133ecb,_0x7983c7)=>_0x133ecb in _0x59bded?_0x143cba(_0x59bded,_0x133ecb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7983c7}):_0x59bded[_0x133ecb]=_0x7983c7,_0x18a34d=(_0x729591,_0x4ac7a2,_0xc22f43,_0x4c1819)=>{const _0x43b8e0=_0x3f4ac5;for(var _0x56b5a9=_0x4c1819>0x1?void 0x0:_0x4c1819?_0x8921e7(_0x4ac7a2,_0xc22f43):_0x4ac7a2,_0x27b0ee=_0x729591[_0x43b8e0(0x221)]-0x1,_0x2043b7;_0x27b0ee>=0x0;_0x27b0ee--)(_0x2043b7=_0x729591[_0x27b0ee])&&(_0x56b5a9=_0x2043b7(_0x56b5a9)||_0x56b5a9);return _0x56b5a9;},_0x9ab1f1=(_0x5ba515,_0x3ce7da)=>(_0x510d50,_0x3a0fa4)=>_0x3ce7da(_0x510d50,_0x3a0fa4,_0x5ba515),_0x17d724=(_0x3166a5,_0x301e52,_0x1fe2ad)=>_0x41e5e4(_0x3166a5,_0x301e52+'',_0x1fe2ad);const _0x256b48=_0x3f4ac5(0x225);_0x4354e3[_0x3f4ac5(0x26a)]=class extends _0x35c4a7['Plugin']{constructor(_0x5071ac=_0x51b4f9,_0x56c404,_0x60f542,_0x2fafcf){const _0x4dc388=_0x3f4ac5;super(),this['_config']=_0x5071ac,this['_renderManagerService']=_0x56c404,this['_injector']=_0x60f542,this[_0x4dc388(0x15d)]=_0x2fafcf;const {..._0x52cf46}=_0x35c4a7[_0x4dc388(0x201)]({},_0x51b4f9,this['_config']);this[_0x4dc388(0x15d)]['setConfig'](_0x2bd745,_0x52cf46);}['onStarting'](){const _0x498b5d=_0x3f4ac5;this[_0x498b5d(0x1cf)](),this[_0x498b5d(0x242)]();}[_0x3f4ac5(0x33f)](){this['_registerRenderDependencies']();}[_0x3f4ac5(0x1cf)](){const _0x4e750e=_0x3f4ac5;var _0x44eacc;const _0x1acda9=[[_0x419db7],[_0x59e70c],[_0xf3189e],[_0x48c832],[_0x14555b],[_0x13c787,{'useClass':_0x29410c}],[_0x16331a['ISocketService'],{'useClass':_0x16331a[_0x4e750e(0x2a4)]}],[_0xcc6ee8['ILocalCacheService'],{'useClass':_0x33bb49}],[_0x4354e3[_0x4e750e(0x143)]],[_0x585874],[_0x4720fb],[_0xc2b013],[_0x49f9dc],[_0x4354e3[_0x4e750e(0x108)]]];_0x35c4a7['registerDependencies'](this[_0x4e750e(0x236)],_0x35c4a7[_0x4e750e(0xf1)](_0x1acda9,(_0x44eacc=this['_config'])==null?void 0x0:_0x44eacc['override']));}[_0x3f4ac5(0x25d)](){const _0x5f53b9=_0x3f4ac5;this[_0x5f53b9(0x1b8)](this[_0x5f53b9(0x290)][_0x5f53b9(0x237)](_0x35c4a7[_0x5f53b9(0x2e1)]['UNIVER_DOC'],[_0x314980])),this['disposeWithMe'](this['_renderManagerService'][_0x5f53b9(0x237)](_0x35c4a7[_0x5f53b9(0x2e1)][_0x5f53b9(0x2a6)],[_0x5b7e81]));}[_0x3f4ac5(0x242)](){const _0x4f9bc8=_0x3f4ac5;_0x35c4a7[_0x4f9bc8(0xce)](this[_0x4f9bc8(0x236)],[[_0xc2b013],[_0x4354e3[_0x4f9bc8(0x143)]],[_0x585874],[_0x4720fb],[_0x4354e3[_0x4f9bc8(0x108)]]]);}},_0x17d724(_0x4354e3[_0x3f4ac5(0x26a)],'pluginName',_0x256b48),_0x4354e3[_0x3f4ac5(0x26a)]=_0x18a34d([_0x35c4a7[_0x3f4ac5(0x253)](_0xcc6ee8['UniverCollaborationClientPlugin']),_0x9ab1f1(0x1,_0x4af313[_0x3f4ac5(0x2ba)]),_0x9ab1f1(0x2,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x9ab1f1(0x3,_0x35c4a7['IConfigService'])],_0x4354e3[_0x3f4ac5(0x26a)]);var _0x15a8fa=Object[_0x3f4ac5(0x1d4)],_0x411ef1=(_0xca3984,_0xc43c33,_0xb36e8b,_0x505009)=>{const _0x2f4a60=_0x3f4ac5;for(var _0x4533fc=_0x505009>0x1?void 0x0:_0x505009?_0x15a8fa(_0xc43c33,_0xb36e8b):_0xc43c33,_0x5326d6=_0xca3984[_0x2f4a60(0x221)]-0x1,_0x5dacf5;_0x5326d6>=0x0;_0x5326d6--)(_0x5dacf5=_0xca3984[_0x5326d6])&&(_0x4533fc=_0x5dacf5(_0x4533fc)||_0x4533fc);return _0x4533fc;},_0x393b31=(_0x263d10,_0x550f18)=>(_0x3f2f31,_0x250df7)=>_0x550f18(_0x3f2f31,_0x250df7,_0x263d10);_0x4354e3['BrowserCollaborationSocketService']=class extends _0xcc6ee8[_0x3f4ac5(0x169)]{constructor(_0x285fb9,_0x191c14,_0x382bfe,_0x2f7e43,_0x3d6e2e){super(_0x285fb9,_0x191c14,_0x382bfe,_0x2f7e43,_0x3d6e2e);}async[_0x3f4ac5(0x2df)](_0x2ea48c){const _0x118b72=_0x3f4ac5,_0x457db8=await this[_0x118b72(0x150)](),_0x167e44=this[_0x118b72(0x19f)](_0x2ea48c,_0x457db8);return this[_0x118b72(0x2bd)](_0x167e44);}[_0x3f4ac5(0x19f)](_0x176e58,_0x35920d){const _0xa6655d=_0x3f4ac5,_0x30dd69=typeof window>'u'?new URL(_0x176e58):new URL(_0x176e58,window[_0xa6655d(0x11b)]['origin']);_0x30dd69[_0xa6655d(0x203)]['set'](_0xa6655d(0x12d),_0x35920d);const _0x4a8815=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa6655d(0x2ec)]);return _0x4a8815[_0xa6655d(0x1ec)]('runId')&&_0x30dd69[_0xa6655d(0x203)][_0xa6655d(0x2b8)](_0xa6655d(0x230),_0x4a8815[_0xa6655d(0x1ec)](_0xa6655d(0x230))),_0x30dd69['toString']();}async[_0x3f4ac5(0x150)](){const _0x29eeea=_0x3f4ac5;var _0x2e28df,_0x406c7a,_0x5e45d1;const _0x36a001=this[_0x29eeea(0x15d)]['getConfig'](_0xcc6ee8[_0x29eeea(0x33e)]),_0x3cf1cc=(_0x2e28df=_0x36a001==null?void 0x0:_0x36a001[_0x29eeea(0x34b)])!=null?_0x2e28df:_0xcc6ee8[_0x29eeea(0x28f)];return(_0x5e45d1=(_0x406c7a=(await this[_0x29eeea(0x269)][_0x29eeea(0x1ec)](_0x3cf1cc,{'headers':{'Content-Type':'application/json'}}))[_0x29eeea(0x144)])==null?void 0x0:_0x406c7a[_0x29eeea(0x2b5)])!=null?_0x5e45d1:'';}},_0x4354e3[_0x3f4ac5(0xf9)]=_0x411ef1([_0x393b31(0x0,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x35c4a7[_0x3f4ac5(0x2be)])),_0x393b31(0x1,_0x35c4a7['Inject'](_0x16331a['HTTPService'])),_0x393b31(0x2,_0x35c4a7[_0x3f4ac5(0x30b)]),_0x393b31(0x3,_0x35c4a7['ILogService']),_0x393b31(0x4,_0x1d9249[_0x3f4ac5(0x105)])],_0x4354e3[_0x3f4ac5(0xf9)]);const _0x59da26=0x7530,_0x11b46c=_0x3f4ac5(0x2b6);class _0x294ee9 extends _0x35c4a7[_0x3f4ac5(0x192)]{constructor(){const _0x4c7847=_0x3f4ac5;super(),_0x41478a(this,_0x4c7847(0xcf),_0x35c4a7[_0x4c7847(0x30d)]()),_0x41478a(this,_0x4c7847(0x2c7),new Set()),_0x41478a(this,_0x4c7847(0x12a),new Map()),_0x41478a(this,'_heartbeatTimer',null),_0x41478a(this,_0x4c7847(0x335),new Map()),_0x41478a(this,_0x4c7847(0x27e),new Map()),this['_init']();}[_0x3f4ac5(0x284)](){const _0x2902fa=_0x3f4ac5;super[_0x2902fa(0x284)](),this[_0x2902fa(0x335)]['forEach']((_0x5ea794,_0x3e3eeb)=>this[_0x2902fa(0xdb)](_0x3e3eeb)),this['_heartbeatTimer']&&window[_0x2902fa(0xcb)](this['_heartbeatTimer']);}[_0x3f4ac5(0x31f)](_0x537fdc){const _0x112681=_0x3f4ac5;return this[_0x112681(0x278)](_0x537fdc)[_0x112681(0x18b)](_0x107ddf[_0x112681(0x173)]());}[_0x3f4ac5(0x141)](_0xba1a38){const _0x4cd578=_0x3f4ac5;this[_0x4cd578(0x2c7)][_0x4cd578(0x12f)]===0x0&&this[_0x4cd578(0x1f5)](),this[_0x4cd578(0x2c7)][_0x4cd578(0xb9)](_0xba1a38),this['_send']({'type':0x0,'memberID':this[_0x4cd578(0xcf)],'unitIDs':[_0xba1a38],'isForwarded':!0x1});}['disposeUnit'](_0xcd606e){const _0xee03de=_0x3f4ac5;this['_selfUnitIDs'][_0xee03de(0xbe)](_0xcd606e),this[_0xee03de(0x2c7)]['size']===0x0&&this[_0xee03de(0x12b)]&&window['clearInterval'](this[_0xee03de(0x12b)]);}[_0x3f4ac5(0x199)](){const _0x193487=_0x3f4ac5;this[_0x193487(0x1b8)](_0x35c4a7['toDisposable'](_0x107ddf['fromEvent'](window,'storage')[_0x193487(0x10e)](_0x171cd1=>{const _0x1b94c6=_0x193487;if(_0x171cd1[_0x1b94c6(0x340)]!==_0x11b46c||!_0x171cd1[_0x1b94c6(0x2bf)])return;const _0x42d397=JSON[_0x1b94c6(0x23c)](_0x171cd1[_0x1b94c6(0x2bf)]);this[_0x1b94c6(0x19c)](_0x42d397);}))),window[_0x193487(0x142)](_0x193487(0x1a1),()=>this[_0x193487(0x301)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x193487(0x1f4)](this[_0x193487(0x2c7)])}));}[_0x3f4ac5(0x19c)](_0x4b71eb){const _0x375a08=_0x3f4ac5;switch(_0x4b71eb[_0x375a08(0x2ff)]){case 0x0:this[_0x375a08(0x22d)](_0x4b71eb);break;case 0x1:this[_0x375a08(0x264)](_0x4b71eb);break;case 0x2:this[_0x375a08(0x20f)](_0x4b71eb);break;}}['_handleJoinEvent'](_0xb7c7f1){const _0x31f905=_0x3f4ac5,{unitIDs:_0x250a2f,memberID:_0x31da26,isForwarded:_0x6c2fa1}=_0xb7c7f1;_0x250a2f[_0x31f905(0xb8)](_0x168130=>{const _0x4cb629=_0x31f905;if(!_0x6c2fa1&&this[_0x4cb629(0x12a)][_0x4cb629(0xd2)](_0x168130)&&this[_0x4cb629(0x278)](_0x168130)[_0x4cb629(0x33a)](_0xcc6ee8[_0x4cb629(0x263)][_0x4cb629(0x266)]),!this[_0x4cb629(0x12a)][_0x4cb629(0xd2)](_0x168130)||!this[_0x4cb629(0x12a)]['get'](_0x168130)[_0x4cb629(0xd2)](_0x31da26)){const _0x228791=this[_0x4cb629(0x12a)][_0x4cb629(0x1ec)](_0x168130)||new Set();_0x228791[_0x4cb629(0xb9)](_0x31da26),this[_0x4cb629(0x12a)][_0x4cb629(0x2b8)](_0x168130,_0x228791),this['_scheduleClearOtherTimer'](_0x31da26);}}),_0x6c2fa1||this[_0x31f905(0x301)]({'type':0x0,'memberID':this[_0x31f905(0xcf)],'unitIDs':[...this[_0x31f905(0x2c7)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5bb45d){const _0x5cab49=_0x3f4ac5;this['_removeClearOtherTimer'](_0x5bb45d);const _0x37ebe0=window[_0x5cab49(0x1e8)](()=>{this['_unitOnClients']['forEach'](_0x188b2e=>{const _0x5f4c9c=_0x328a;_0x188b2e[_0x5f4c9c(0xbe)](_0x5bb45d);});},_0x59da26*0x2);this['_clearOtherTimers'][_0x5cab49(0x2b8)](_0x5bb45d,_0x37ebe0);}['_removeClearOtherTimer'](_0x581206){const _0x8b4785=_0x3f4ac5;if(this[_0x8b4785(0x335)][_0x8b4785(0xd2)](_0x581206)){const _0x5ea800=this['_clearOtherTimers'][_0x8b4785(0x1ec)](_0x581206);_0x5ea800&&window[_0x8b4785(0x21a)](_0x5ea800),this['_clearOtherTimers']['set'](_0x581206,null);}}[_0x3f4ac5(0x264)](_0x3d3bfa){const _0x349678=_0x3f4ac5,{memberID:_0x294da9,unitIDs:_0x5a0707}=_0x3d3bfa;_0x5a0707[_0x349678(0xb8)](_0x4cfc62=>{const _0x14288d=_0x349678;var _0x47a4bd;const _0x3dc51a=this[_0x14288d(0x12a)]['get'](_0x4cfc62);_0x3dc51a&&(_0x3dc51a['delete'](_0x294da9),(_0x47a4bd=this['_ensureSubject'](_0x4cfc62))==null||_0x47a4bd['next'](_0x3dc51a['size']===0x0?_0xcc6ee8[_0x14288d(0x263)][_0x14288d(0x113)]:_0xcc6ee8[_0x14288d(0x263)][_0x14288d(0x266)]));}),this[_0x349678(0xdb)](_0x294da9);}[_0x3f4ac5(0x20f)](_0x11471d){const _0x5d6389=_0x3f4ac5;this[_0x5d6389(0x28a)](_0x11471d[_0x5d6389(0x13e)]);}[_0x3f4ac5(0x301)](_0x3b99b1){const _0x47b2df=_0x3f4ac5;localStorage[_0x47b2df(0x1da)](_0x11b46c,JSON['stringify'](_0x3b99b1));}['_scheduleHeartbeat'](){const _0x5f59b8=_0x3f4ac5;this[_0x5f59b8(0x12b)]=window[_0x5f59b8(0x1e0)](()=>{const _0x5da8b9=_0x5f59b8;this[_0x5da8b9(0x301)]({'type':0x2,'memberID':this[_0x5da8b9(0xcf)]});},_0x59da26);}['_ensureSubject'](_0x505315){const _0x56abc3=_0x3f4ac5;return this['_unitStatus'][_0x56abc3(0xd2)](_0x505315)||this[_0x56abc3(0x27e)][_0x56abc3(0x2b8)](_0x505315,new _0x107ddf[(_0x56abc3(0xc6))](_0xcc6ee8[_0x56abc3(0x263)][_0x56abc3(0x113)])),this[_0x56abc3(0x27e)]['get'](_0x505315);}}var _0x51c5b8=(_0x471a9f=>(_0x471a9f[_0x471a9f[_0x3f4ac5(0x1f9)]=0x0]='UNDEFINED',_0x471a9f[_0x471a9f['OK']=0x1]='OK',_0x471a9f[_0x471a9f[_0x3f4ac5(0x302)]=0x2]=_0x3f4ac5(0x302),_0x471a9f[_0x471a9f[_0x3f4ac5(0x2a7)]=0x3]=_0x3f4ac5(0x2a7),_0x471a9f[_0x471a9f[_0x3f4ac5(0x2cf)]=0x4]=_0x3f4ac5(0x2cf),_0x471a9f[_0x471a9f['UNAUTHENTICATED']=0x5]=_0x3f4ac5(0x297),_0x471a9f[_0x471a9f[_0x3f4ac5(0x34c)]=0x6]=_0x3f4ac5(0x34c),_0x471a9f[_0x471a9f['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x471a9f[_0x471a9f['TOO_MANY_REQUESTS']=0x8]=_0x3f4ac5(0x1bf),_0x471a9f[_0x471a9f[_0x3f4ac5(0x336)]=0x9]=_0x3f4ac5(0x336),_0x471a9f[_0x471a9f[_0x3f4ac5(0x259)]=0x1389]=_0x3f4ac5(0x259),_0x471a9f[_0x471a9f[_0x3f4ac5(0xd9)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x471a9f[_0x471a9f[_0x3f4ac5(0x25c)]=0x1772]=_0x3f4ac5(0x25c),_0x471a9f[_0x471a9f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3f4ac5(0x226),_0x471a9f[_0x471a9f[_0x3f4ac5(0x2ae)]=0x1b59]=_0x3f4ac5(0x2ae),_0x471a9f[_0x471a9f[_0x3f4ac5(0x171)]=0x1b5a]=_0x3f4ac5(0x171),_0x471a9f[_0x471a9f[_0x3f4ac5(0x1aa)]=0x1b5b]=_0x3f4ac5(0x1aa),_0x471a9f[_0x471a9f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3f4ac5(0x137),_0x471a9f[_0x471a9f[_0x3f4ac5(0x114)]=0x1b5d]=_0x3f4ac5(0x114),_0x471a9f[_0x471a9f[_0x3f4ac5(0x334)]=0x1f41]=_0x3f4ac5(0x334),_0x471a9f[_0x471a9f[_0x3f4ac5(0xbd)]=0x2329]=_0x3f4ac5(0xbd),_0x471a9f[_0x471a9f[_0x3f4ac5(0x265)]=0x232a]=_0x3f4ac5(0x265),_0x471a9f[_0x471a9f[_0x3f4ac5(0xd8)]=0x232b]=_0x3f4ac5(0xd8),_0x471a9f[_0x471a9f[_0x3f4ac5(0x1df)]=0x232c]=_0x3f4ac5(0x1df),_0x471a9f[_0x471a9f[_0x3f4ac5(0x1c1)]=0x232d]=_0x3f4ac5(0x1c1),_0x471a9f[_0x471a9f[_0x3f4ac5(0x195)]=0x2711]=_0x3f4ac5(0x195),_0x471a9f[_0x471a9f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3f4ac5(0x103),_0x471a9f[_0x471a9f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x471a9f[_0x471a9f[_0x3f4ac5(0x211)]=0x2714]=_0x3f4ac5(0x211),_0x471a9f[_0x471a9f['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3f4ac5(0x294),_0x471a9f[_0x471a9f[_0x3f4ac5(0x128)]=-0x1]=_0x3f4ac5(0x128),_0x471a9f))(_0x51c5b8||{}),_0x145fe6=Object[_0x3f4ac5(0x1d4)],_0x35d167=(_0x4b6e6b,_0x184fd5,_0x4c0fc7,_0x254058)=>{const _0x216380=_0x3f4ac5;for(var _0x39f4f1=_0x254058>0x1?void 0x0:_0x254058?_0x145fe6(_0x184fd5,_0x4c0fc7):_0x184fd5,_0x22dbdd=_0x4b6e6b[_0x216380(0x221)]-0x1,_0x3880e5;_0x22dbdd>=0x0;_0x22dbdd--)(_0x3880e5=_0x4b6e6b[_0x22dbdd])&&(_0x39f4f1=_0x3880e5(_0x39f4f1)||_0x39f4f1);return _0x39f4f1;},_0x29cc1e=(_0x34fc3f,_0x49b881)=>(_0x3ffa01,_0x5e7845)=>_0x49b881(_0x3ffa01,_0x5e7845,_0x34fc3f);_0x4354e3[_0x3f4ac5(0x127)]=class extends _0x35c4a7['Disposable']{constructor(_0x3f7eab,_0x2cf237,_0x1d3abd){const _0x1ce623=_0x3f4ac5;super(),this[_0x1ce623(0xf3)]=_0x3f7eab,this[_0x1ce623(0x269)]=_0x2cf237,this[_0x1ce623(0x15d)]=_0x1d3abd;}async[_0x3f4ac5(0x2ef)](_0x95717a,_0x431c76,_0x21c616,..._0x37d511){const _0x81fb1c=_0x3f4ac5;var _0x270cd1,_0x34c9a5,_0x3f857d,_0x2fcdaf;const _0x3f416b=this['_instanceService']['getFocusedUnit']();if(!_0x3f416b)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d60cf=((_0x270cd1=this['_configService'][_0x81fb1c(0x262)](_0xcc6ee8[_0x81fb1c(0x1d5)]))!=null?_0x270cd1:_0xcc6ee8[_0x81fb1c(0xd3)])+'/'+_0x95717a+'/run/'+_0x431c76,_0x295d35=new URL(window[_0x81fb1c(0x11b)][_0x81fb1c(0x23f)]),_0x1a4e56={'scriptId':_0x95717a,'runId':(_0x34c9a5=_0x295d35[_0x81fb1c(0x203)]['get'](_0x81fb1c(0x230)))!=null?_0x34c9a5:'','function':_0x431c76,'unitId':_0x3f416b[_0x81fb1c(0x162)](),'argsOfFunction':JSON[_0x81fb1c(0x117)](_0x37d511),'invokeId':(_0x3f857d=_0x21c616[_0x81fb1c(0x328)])!=null?_0x3f857d:'','executionId':(_0x2fcdaf=_0x21c616[_0x81fb1c(0x337)])!=null?_0x2fcdaf:''};try{const _0xeeddb5=await this['_httpService'][_0x81fb1c(0x28e)](_0x5d60cf,{'body':_0x1a4e56});return _0xeeddb5[_0x81fb1c(0x144)][_0x81fb1c(0x1f0)]&&_0xeeddb5[_0x81fb1c(0x144)][_0x81fb1c(0x1f0)][_0x81fb1c(0x2fa)]!==_0x51c5b8['OK']?_0x81fb1c(0x2ce):_0xeeddb5[_0x81fb1c(0x144)][_0x81fb1c(0x2d8)];}catch{return _0x81fb1c(0x2ce);}}},_0x4354e3[_0x3f4ac5(0x127)]=_0x35d167([_0x29cc1e(0x0,_0x35c4a7[_0x3f4ac5(0x2d7)]),_0x29cc1e(0x1,_0x35c4a7[_0x3f4ac5(0x2e4)](_0x16331a[_0x3f4ac5(0x222)])),_0x29cc1e(0x2,_0x35c4a7[_0x3f4ac5(0x30b)])],_0x4354e3['RemoteUniscriptService']),_0x4354e3[_0x3f4ac5(0xfe)]=_0xc4a79a,_0x4354e3[_0x3f4ac5(0x2fd)]=_0x13c787,_0x4354e3[_0x3f4ac5(0x1c9)]=_0xf646c8,_0x4354e3[_0x3f4ac5(0x2d5)]=_0x294ee9,_0x4354e3[_0x3f4ac5(0x131)]=_0x29410c,Object['defineProperty'](_0x4354e3,Symbol[_0x3f4ac5(0xba)],{'value':_0x3f4ac5(0x200)});}));function _0x328a(_0x4c842d,_0x902915){const _0x44816c=_0x4481();return _0x328a=function(_0x328ab4,_0x624858){_0x328ab4=_0x328ab4-0xb7;let _0x1ade42=_0x44816c[_0x328ab4];return _0x1ade42;},_0x328a(_0x4c842d,_0x902915);}function _0x4481(){const _0x5b3dad=['_renderManagerService','collaboration.closeRoom','hovered','_status$','PY_RUNTIME_SCRIPT_ERROR','getLocalCacheKey','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UNAUTHENTICATED','_anchorDot','then','_logService','DeleteRangeMoveUpCommandId','labelPosition','@univerjs/core','values','UniverCore','setAlpha','_urlService','DOC_RANGE_TYPE','univerjs-icon\x20univerjs-icon-','WebSocketService','permission.content','UNIVER_SHEET','PERMISSION_DENIED','reconnect','RxDisposable','_getAnchorBounding','removeParam','TEXT_RANGE_LAYER_INDEX','_onCursorDelete','APPLY_REJECT','_saveTaskMap','send','_revisionService','_shapes','UniverProCollaborationClientUi','createElement','ticket','ACTIVE_UNIT_EVENT_CHANNEL','_online','set','SOCKET_FAILED_RETRY','IRenderManagerService','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','saveImage','_doCreateSocket','Injector','newValue','_drawTextRange','InsertRangeMoveDownCommandId','NodePositionConvertToCursor','forwardRef','@univerjs/engine-render','isTransformMutationFailure','@univerjs/docs','_selfUnitIDs','getAncestorScale','getUndoRedoMutationParamsCache','jsxs','_range','@univerjs/sheets-ui','complete','Failed','NOT_FOUND','rxjs/operators','DocCollaborationEntity','CommandType','_backgroundColor','SYNCED','WebBrowserSingleActiveUnitService','EffectRefRangId','IUniverInstanceService','result','rxjs','_transformHistoryAndStateStack','onlineStatusTitle','addHandlerCallback','defs','_updateURLWithCurrentState','createSocket','isActive','UniverInstanceType','RemoveColCommandId','_lastPointer','Inject','session.collaboration-timeout','UNIVER_DOC','_toggleOnline','UniverSheets','CollaborationUIEventId','mapTo','_beforeCloseService','search','SessionStatus','object','runOnServer','HEADER_MENU','saveTaskMap','MoveRangeCommandId','operators','exports','IBeforeCloseService','getOffsetConfig','ITransformService','univer-online-status','_entities','code','_getMergeRange','startsWith','IURLService','colorChannel1','type','1em','_send','INTERNAL_ERROR','UniverEngineRender','sessionStatus$','show','combineLatest','Vector2','_getSheetObject','10HeYjCQ','_collabCursorState$','IConfigService','_cursorShapes','generateRandomId','mutations','substring','UniverRpc','transformRemoteChangeset','doc.mutation.rich-text-editing','MessageType','_notificationService','_initEvent','@univerjs-pro/collaboration','_localCacheService','204651JGMssR','cursorInfo','unit','_render','setStateCache','exhaustSavingTask','_imageIoService','getUnitStatus$','RemoveRowCommandId','getOwnPropertySymbols','_cachedData','onTransformChange$','RichTextEditingMutation','round','getActiveRange','SetSelectionsOperation','invokeId','on-line-single_clip0_910_349','getSheetObject','0\x200\x2016\x2016','session.will-retry','_startDocCollabCursor','toDisposable','getCurrentRevOfUnit','_scheduleSaving','CollaborationEvent','offline','clipPath','CONNECTOR_DATA_TOO_LARGE','_clearOtherTimers','COMPLETION_FINISHED','executionId','init','Tools','next','restore','Shape','verdancy600','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onRendered','key','mask','CollaborationStatus','params','collaboration.single-unit.warning','collaboration-client-ui.config','debounce','entries','_docTransformSelectionsService','string','isArray','wsSessionTicketUrl','ALREADY_EXISTS','history','getColor','ICommandService','FETCH_MISS','pushState','forEach','add','toStringTag','moveTo','evenodd','LICENSE_MAX_UNITS_EXCEEDED','delete','IMessageService','SetTextSelectionsOperation','icon','getCurrentUnitForType','currentTheme$','trim','collab-client.tooltip.reconnect','BehaviorSubject','_startSheetCollabCursor','Workbook','InsertRangeMoveRightCommandId','extend','clearInterval','getCurrentSelections','deepClone','touchDependencies','_id','min','IUIPartsService','has','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_initStatusComponent','RegularPolygon','toString','UPDATE_CURSOR','LICENSE_IMPORT_SIZE_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','_setupBeforeClosingHandler','_removeClearOtherTimer','concat','univer-offline','filter','_themeService','_sheetSkeletonManagerService','collabStatus.fetchMiss','isTransformMutationsWithChangesetSuccess','call','defineProperty','CLOSE_ROOM','OFFLINE','triggerDblclick','m1Prime','getFocusedUnit','IRemoteInstanceService','collabStatus.synced','_session','ILocalCacheService','focused$','getParam','getRenderById','mergeOverrideWithDependencies','Rectangle','_instanceService','requireSession','_onRefRangeChange','_commandService','@univerjs-pro/collaboration-client','6304688mElzZA','BrowserCollaborationSocketService','Rect','#fff','engine','CONFLICT','CollaborationStatusDisplay','Error','_saveCache','onPointerEnter$','JOIN_ROOM_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','beginPath','ISnapshotServerService','getMemberID','BuiltInUIPart','CollaborationDataLoaderController','color','endRow','OTHER_CLIENT_EDITING','subUnitId','handleInsertRow','subscribe','event$','DocIMEInputManagerService','switchMap','_docTransformStateCacheService','NO_OTHER_CLIENTS_EDITING','APPLY_DUPLICATED','transformMutation','dispose$','stringify','none','getCellPositionByOffset','map','location','useCallback','_anchor','purple300','_dataLoaderService','children','_colorAssignService','connectInjector','Tooltip','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','redoState','takeUntil','RemoteUniscriptService','UNRECOGNIZED','getTypeOfUnitDisposed$','_unitOnClients','_heartbeatTimer','_memberService','sessionTicket','resize','size','className','WebURLService','SetWorksheetActivateCommand','@univerjs/engine-formula','CollaborationController','UniverEngineFormula','LOCAL_CACHE_INTERVAL_KEY','APPLY_PERMISSION_DENIED','range','getRangePointData','arc','fillStyle','106130pfppKy','off-line-single_clip0_910_343','memberID','handleIRemoveRow','UniverIcon','editingUnit','addEventListener','DesktopCollaborationStatusDisplayController','body','_updateLocalCursor','_refreshCollabCursors','20mrvjTK','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','assignAColorForMemberID','blue400','save','url(#on-line-single_clip0_910_349)','backgroundColor','on-line-single','current','_getSessionTicket','undoState','replaceState','_removeCollabCursors','UniverSheetsUi','column','runRefRangeMutations','CollaborationSessionService','MemberService','487731EbotIJ','lineTo','amd','PENDING','_configService','createIdentifier','setShapeProps','executeCommand','_name','getUnitId','currentSkeleton$','_colorIndex','getStateCache','actions','number','9513kDATgu','CollaborationSocketService','IImageIoService','hasOwnProperty','getActiveSheet','_uiPartsService','gold400','prototype','closePath','APPLY_NON_SEQUENTIAL_REVISION','textRanges','distinctUntilChanged','name','getRelativeToViewportCoord','ILocalStorageService','handleInsertCol','measureText','_cursor','VIEW_MAIN','DocStateChangeManagerService','RevisionService','_setupSubUnitSync','_docSkeletonManagerService','onPointerLeave$','with','getValue','imageSourceType','_disabled','getItem','useDependency','url(#$1','Warning','[CollaborationDataLoaderController]','_transformUndoRedoStack','_labelPosition','pipe','InsertColCommandId','selection','getSkeleton','ColorKit','propertyIsEnumerable','_docTransformIMECacheService','Disposable','function','assign','YUUMI_UNABLE_LOAD_URL','unitId','DataLoaderService','_getScale','_init','urlChange$','getCollabCursors$','_handleEvent','UniverUi','idSuffix','_createSocketURL','session.connection-failed','unload','source','getTypeOfUnitAdded$','height','isEditing','findNodePositionByCharIndex','enableLocalCache','handleDeleteRangeMoveLeft','asObservable','APPLY_REVISION_CONFILICT','_onCursorUpdate','setUndoRedoMutationParamsCache','transformByState','getCurrent','_initCommandExecutedListener','_entityInit$','loadUnit','off-line-single','setParam','some','transformIMECache','_updateCollabCursors','flatMap','disposeWithMe','_drawAnchor','_context','addObject','div','RefRangeService','indexOf','TOO_MANY_REQUESTS','SheetsSelectionsService','LICENSE_DISTRO_REJECTED','_refRangeService','collab-rect-range-','text','transform','TEXT','IDocClipboardService','@univerjs/docs-ui','SheetCollabCursorShape','data','collabCursorState$','_draw','rgba(255,\x20255,\x20255,\x200.01)','subunit','_registerDependencies','onCommandExecuted','_collabCursorController','_localStorageService','_hideTimer','getOwnPropertyDescriptor','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','use','ranges','red300','fillRule','setItem','ONLINE','subscribeEvent','SetDocZoomRatioOperation','getDocRanges','LICENSE_EXPORT_SIZE_EXCEEDED','setInterval','_eventUnsubscribe','_univerInstanceService','throttleTime','whenReady','#FFF','registerBeforeClose','saveOfflineData','setTimeout','_hovered','endColumn','collab-text-range-','get','symbol','apply','UniverDrawing','error','unitID','...','replace','from','_scheduleHeartbeat','getMember','_scene','univer-online-status-title','UNDEFINED','react/jsx-runtime','handleMoveRange','handleInsertRangeMoveRight','handleDeleteRangeMoveUp','uni.network.url-service','_roomMembers$','Module','merge','all','searchParams','loadOfflineData','transformSelections','ILogService','RECT','registerRefRange','hide','_collaborationController','ThemeService','_updateSubUnitFromURLParams','_docClipboardService','currentColor','_handleHeartbeatEvent','89756PBlTrR','YUUMI_SUBSCRIPTION_NOT_FOUND','_hover','_docStateChangeManagerService','fromEvent','fill','LOCAL_CACHE_INTERVAL','useRef','tag','_initEntityListener','clearTimeout','onlineStatusIcon','m2Prime','_color','_localeService','transformMutationsWithChangeset','12536282TCmEqN','length','HTTPService','_initStatusListener','handleInsertRangeMoveDown','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ENSURE_SNAPSHOT_EXECUTION','getUnhiddenWorksheets','debug','eventID','font','contains','attrs','_handleJoinEvent','USERS_LEAVE','@univerjs/drawing','runId','path','xlink:href','_docSyncEditingCollabCursorService','M0\x200H16V16H0z','_assignedColors','_injector','registerRenderModule','jsx','onLocalMutation','unshift','deserializeRangeWithSheet','parse','@univerjs/ui','NOT_COLLAB','href','FromArray','drawWith','_initDependencies','NodePositionConvertToRectRange','defIds','getSheetBySheetId','_cursors','10qYeARN','_messageService','useObservable','getVpScrollXYInfoByPosToVp','UniverDesign','displayName','Optional','docStateChange$','startRow','@univerjs/sheets','_getSaveTimeout','updateOfflineData','DependentOn','push','@univerjs/rpc','@univerjs/network','_cursorInfo$','registerComponent','CHANGESET_REVISION_CONFILICT','DocSelectionManagerService','_handleHover','SNAPSHOT_HAS_BEEN_REMOVED','_registerRenderDependencies','createInstance','width','unsubscribe','getSheetId','getConfig','UnitStatus','_handleLeaveEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','OTHER_CLIENTS_EDITING','_transformPreviousActiveRange','UniverNetwork','_httpService','UniverCollaborationClientUIPlugin','onMouseMove','react','debounceTime','MUTATION','_collaborationUIEventService','_transformService','cursorInfo$','find','getCoordByCell','toRgbString','row','INotificationService','bottom','_ensureSubject','_textBubble','_toggleOffline','@univerjs/design','LocaleService','CollaborationUIEventService','_unitStatus','sheetId','COLORS','_collabSessionService','makeDirty','setActiveRange','dispose','fillText','Unknown\x20user','black','3372vwIdQv','activeSheet$','_scheduleClearOtherTimer','React','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','shareReplay','post','DEFAULT_WS_SESSION_TICKET_URL'];_0x4481=function(){return _0x5b3dad;};return _0x4481();}