@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506071606 → 0.8.0-nightly.202506081606

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(_0xb8e093,_0x1ac179){const _0x4d18d8=_0x12c4,_0x1a10e5=_0xb8e093();while(!![]){try{const _0x4bec65=parseInt(_0x4d18d8(0x2b4))/0x1+-parseInt(_0x4d18d8(0x283))/0x2+parseInt(_0x4d18d8(0x1ee))/0x3*(parseInt(_0x4d18d8(0x3ad))/0x4)+-parseInt(_0x4d18d8(0x177))/0x5+-parseInt(_0x4d18d8(0x27e))/0x6*(parseInt(_0x4d18d8(0x343))/0x7)+parseInt(_0x4d18d8(0x361))/0x8*(-parseInt(_0x4d18d8(0x1d5))/0x9)+parseInt(_0x4d18d8(0x27c))/0xa;if(_0x4bec65===_0x1ac179)break;else _0x1a10e5['push'](_0x1a10e5['shift']());}catch(_0x3c5fa3){_0x1a10e5['push'](_0x1a10e5['shift']());}}}(_0x2d57,0x88975),function(_0x5dfa0d,_0x2d5181){const _0x3b2396=_0x12c4;typeof exports==_0x3b2396(0x1da)&&typeof module<'u'?_0x2d5181(exports,require(_0x3b2396(0x321)),require(_0x3b2396(0x2f7)),require(_0x3b2396(0x3f6)),require('@univerjs/network'),require(_0x3b2396(0x1c5)),require('@univerjs/drawing'),require(_0x3b2396(0x1f7)),require(_0x3b2396(0x257)),require(_0x3b2396(0x390)),require('@univerjs/engine-formula'),require(_0x3b2396(0x198)),require(_0x3b2396(0x20d)),require('@univerjs/sheets-ui'),require(_0x3b2396(0x1e1)),require('@univerjs/ui'),require(_0x3b2396(0x286)),require(_0x3b2396(0x379)),require('@univerjs/rpc')):typeof define==_0x3b2396(0x270)&&define[_0x3b2396(0x2b5)]?define([_0x3b2396(0x289),'@univerjs-pro/collaboration-client',_0x3b2396(0x2f7),_0x3b2396(0x3f6),_0x3b2396(0x300),_0x3b2396(0x1c5),_0x3b2396(0x332),'rxjs','@univerjs/docs','@univerjs-pro/collaboration',_0x3b2396(0x247),_0x3b2396(0x198),_0x3b2396(0x20d),_0x3b2396(0x1c6),_0x3b2396(0x1e1),_0x3b2396(0x1bd),'@univerjs/design',_0x3b2396(0x379),'@univerjs/rpc'],_0x2d5181):(_0x5dfa0d=typeof globalThis<'u'?globalThis:_0x5dfa0d||self,_0x2d5181(_0x5dfa0d['UniverProCollaborationClientUi']={},_0x5dfa0d['UniverProCollaborationClient'],_0x5dfa0d[_0x3b2396(0x334)],_0x5dfa0d[_0x3b2396(0x337)],_0x5dfa0d[_0x3b2396(0x1c2)],_0x5dfa0d[_0x3b2396(0x3d8)],_0x5dfa0d[_0x3b2396(0x255)],_0x5dfa0d[_0x3b2396(0x1f7)],_0x5dfa0d[_0x3b2396(0x340)],_0x5dfa0d[_0x3b2396(0x3c1)],_0x5dfa0d[_0x3b2396(0x16e)],_0x5dfa0d['UniverSheets'],_0x5dfa0d[_0x3b2396(0x1f7)][_0x3b2396(0x193)],_0x5dfa0d['UniverSheetsUi'],_0x5dfa0d['React'],_0x5dfa0d[_0x3b2396(0x27d)],_0x5dfa0d['UniverDesign'],_0x5dfa0d[_0x3b2396(0x2fc)],_0x5dfa0d['UniverRpc']));}(this,function(_0x3fac21,_0x1fb374,_0x17a0d6,_0x4826e7,_0x5600f6,_0x21bec9,_0x284679,_0xa893e5,_0x566265,_0x2226d4,_0x2899a3,_0x1ce549,_0x3fdb29,_0x3a9c80,_0x1c574a,_0x5aad63,_0x20461d,_0x115905,_0x1f9553){'use strict';const _0x964c6d=_0x12c4;var _0x43a9f9=Object[_0x964c6d(0x376)],_0x279b52=(_0x2f9131,_0x54cf66,_0x207fd5)=>_0x54cf66 in _0x2f9131?_0x43a9f9(_0x2f9131,_0x54cf66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x207fd5}):_0x2f9131[_0x54cf66]=_0x207fd5,_0x2e1f76=(_0x4d2afa,_0x102bc2,_0x226fc2)=>_0x279b52(_0x4d2afa,typeof _0x102bc2!=_0x964c6d(0x2df)?_0x102bc2+'':_0x102bc2,_0x226fc2),_0x185f5b=Object[_0x964c6d(0x236)],_0x4056e0=(_0x215099,_0x43f1ba,_0x732de9,_0x22e9eb)=>{const _0x48975c=_0x964c6d;for(var _0x617f94=_0x22e9eb>0x1?void 0x0:_0x22e9eb?_0x185f5b(_0x43f1ba,_0x732de9):_0x43f1ba,_0x5c550d=_0x215099[_0x48975c(0x3b0)]-0x1,_0x1b646b;_0x5c550d>=0x0;_0x5c550d--)(_0x1b646b=_0x215099[_0x5c550d])&&(_0x617f94=_0x1b646b(_0x617f94)||_0x617f94);return _0x617f94;},_0x1c51b7=(_0x27525d,_0x1ec8fc)=>(_0x3a5ef0,_0x426a40)=>_0x1ec8fc(_0x3a5ef0,_0x426a40,_0x27525d);let _0x566e8b=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1da5d4,_0x2c6721){const _0x125c16=_0x964c6d;super(),this[_0x125c16(0x2b6)]=_0x1da5d4,this[_0x125c16(0x1ef)]=_0x2c6721,this[_0x125c16(0x272)]();}[_0x964c6d(0x272)](){const _0x4eb1bf=_0x964c6d,_0x243895=this;this[_0x4eb1bf(0x2ba)](this[_0x4eb1bf(0x2b6)][_0x4eb1bf(0x282)]({'onBeforePasteImage':async _0x3bc014=>{const _0x526301=_0x4eb1bf,_0x5694fe=await _0x243895['_imageIoService'][_0x526301(0x2c9)](_0x3bc014);return _0x5694fe?{'source':_0x5694fe[_0x526301(0x32f)],'imageSourceType':_0x5694fe[_0x526301(0x303)]}:null;}}));}};_0x566e8b=_0x4056e0([_0x1c51b7(0x0,_0x21bec9[_0x964c6d(0x377)]),_0x1c51b7(0x1,_0x284679[_0x964c6d(0x176)])],_0x566e8b);const _0x28aec0=[_0x964c6d(0x2a2),_0x964c6d(0x2c7),_0x964c6d(0x161),'red.300',_0x964c6d(0x29e),'yellow.400'];class _0x41db9a extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x5e23b3=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x5e23b3(0x380),new Map()),_0x2e1f76(this,_0x5e23b3(0x263),0x0);}[_0x964c6d(0x280)](_0x17b30a){const _0x40d608=_0x964c6d;if(this[_0x40d608(0x380)][_0x40d608(0x218)](_0x17b30a))return this[_0x40d608(0x380)][_0x40d608(0x17d)](_0x17b30a);const _0x4e30b9=_0x28aec0[this['_colorIndex']];return this['_colorIndex']=(this[_0x40d608(0x263)]+0x1)%_0x28aec0[_0x40d608(0x3b0)],this[_0x40d608(0x380)][_0x40d608(0x26d)](_0x17b30a,_0x4e30b9),_0x4e30b9;}}function _0x36ad89(_0x486bb7){const _0x42ca90=_0x964c6d;let _0x5c617e='';for(const _0x59abdc of _0x486bb7){const {startOffset:_0x58ebaa,endOffset:_0x49533f,isActive:_0x53db8d,rangeType:_0x5e5176,segmentId:_0x2f46e5,segmentPage:_0x524fd5}=_0x59abdc;_0x5c617e[_0x42ca90(0x3b0)]&&(_0x5c617e+=','),_0x5c617e+=_0x58ebaa+':'+_0x49533f+':'+(_0x53db8d?'1':'0')+':'+_0x5e5176+':'+_0x2f46e5+':'+_0x524fd5;}return _0x5c617e;}function _0x33a435(_0x4de7ed){const _0x2feed5=_0x964c6d,_0x8c2de5=_0x4de7ed[_0x2feed5(0x324)](','),_0xc8497a=[];for(const _0x512ef9 of _0x8c2de5){const [_0x3e3072,_0x1c8c8f,_0xc534b0,_0x2d8ca2,_0x42e94e,_0x337042]=_0x512ef9['split'](':');_0xc8497a[_0x2feed5(0x28c)]({'startOffset':Number(_0x3e3072),'endOffset':Number(_0x1c8c8f),'collapsed':_0x3e3072===_0x1c8c8f,'isActive':_0xc534b0==='1','rangeType':_0x2d8ca2===_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]?_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]:_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x3e6)],'segmentId':typeof _0x42e94e==_0x2feed5(0x194)?String(_0x42e94e):'','segmentPage':Number(_0x337042!=null?_0x337042:-0x1)});}return _0xc8497a[_0x2feed5(0x29a)](_0x20c6ea=>_0x20c6ea[_0x2feed5(0x1a2)])||(_0xc8497a[0x0][_0x2feed5(0x1a2)]=!0x0),_0xc8497a;}class _0x6e5760 extends _0x17a0d6['RxDisposable']{constructor(){const _0x350a44=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x350a44(0x1fa),new _0xa893e5[(_0x350a44(0x1e7))](null)),_0x2e1f76(this,_0x350a44(0x256),this[_0x350a44(0x1fa)][_0x350a44(0x2b1)]());}['syncEditingCollabCursor'](_0x2b3b9a){const _0x389309=_0x964c6d,{unitID:_0x4b50b6,memberID:_0x53e7e2,textRanges:_0x171ca3}=_0x2b3b9a,_0x49656c=_0x36ad89(_0x171ca3);if(_0x49656c==='')return;const _0x2ac93f={'unitID':_0x4b50b6,'memberID':_0x53e7e2,'selection':_0x49656c};this['_collabCursorState$'][_0x389309(0x3ae)](_0x2ac93f);}}var _0x543f04=Object['getOwnPropertyDescriptor'],_0x6ba688=(_0xaec62b,_0x1e3639,_0x53b464,_0x180d4a)=>{const _0x50fb87=_0x964c6d;for(var _0x348326=_0x180d4a>0x1?void 0x0:_0x180d4a?_0x543f04(_0x1e3639,_0x53b464):_0x1e3639,_0x2943a0=_0xaec62b[_0x50fb87(0x3b0)]-0x1,_0x3befcb;_0x2943a0>=0x0;_0x2943a0--)(_0x3befcb=_0xaec62b[_0x2943a0])&&(_0x348326=_0x3befcb(_0x348326)||_0x348326);return _0x348326;},_0xc426b8=(_0x5913d4,_0x5a291e)=>(_0x831cba,_0x2f4a47)=>_0x5a291e(_0x831cba,_0x2f4a47,_0x5913d4);const _0x5e2a60=0x12c,_0x2b1042=0x64;let _0xdb8bd5=class extends _0x17a0d6['RxDisposable']{constructor(_0x5e2b3a,_0x3a5473,_0x3ee21f,_0x1fa7ea,_0x1028a1,_0x29a811,_0x5e4c6c,_0x4263f7,_0x293341){const _0x2ee42e=_0x964c6d;super(),_0x2e1f76(this,'_online',!0x1),_0x2e1f76(this,_0x2ee42e(0x272),!0x1),_0x2e1f76(this,_0x2ee42e(0x338),new _0xa893e5[(_0x2ee42e(0x1e7))](new Map())),_0x2e1f76(this,_0x2ee42e(0x28f),this['_cursorInfo$']['asObservable']()),_0x2e1f76(this,_0x2ee42e(0x38d),new _0xa893e5[(_0x2ee42e(0x1e7))]([])),_0x2e1f76(this,'roomMembers$',this['_roomMembers$'][_0x2ee42e(0x3e0)](_0xa893e5[_0x2ee42e(0x363)](_0x5e2a60))),_0x2e1f76(this,_0x2ee42e(0x1a3),_0x17a0d6[_0x2ee42e(0x35a)](_0x52c8bb=>{const _0x1aaa43=_0x2ee42e,_0x53b67d={'eventID':_0x2226d4[_0x1aaa43(0x1cf)][_0x1aaa43(0x3a7)],'data':{'unitID':this[_0x1aaa43(0x241)],'memberID':this[_0x1aaa43(0x33e)][_0x1aaa43(0x330)](),'selection':_0x36ad89(_0x52c8bb)}};this['_session'][_0x1aaa43(0x353)](_0x53b67d,this[_0x1aaa43(0x241)]);},_0x2b1042)),(this[_0x2ee42e(0x241)]=_0x5e2b3a,this[_0x2ee42e(0x33e)]=_0x3a5473,this[_0x2ee42e(0x222)]=_0x3ee21f,this[_0x2ee42e(0x279)]=_0x1fa7ea,this[_0x2ee42e(0x252)]=_0x1028a1,this['_syncEditingCollabCursorService']=_0x29a811,this[_0x2ee42e(0x354)]=_0x5e4c6c,this[_0x2ee42e(0x2ec)]=_0x4263f7,this[_0x2ee42e(0x1bf)]=_0x293341);}get['cursorInfo'](){const _0x587d35=_0x964c6d;return this[_0x587d35(0x338)][_0x587d35(0x204)]();}get[_0x964c6d(0x202)](){const _0xb4d50f=_0x964c6d;return this['_roomMembers$'][_0xb4d50f(0x204)]();}[_0x964c6d(0x2bd)](){const _0x5ea2d3=_0x964c6d;super[_0x5ea2d3(0x2bd)](),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3ae)](new Map()),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3a6)](),this['_roomMembers$'][_0x5ea2d3(0x3ae)]([]),this[_0x5ea2d3(0x38d)][_0x5ea2d3(0x3a6)]();}[_0x964c6d(0x365)](){const _0x424552=_0x964c6d;this[_0x424552(0x272)]||(this[_0x424552(0x272)]=!0x0,this[_0x424552(0x33e)][_0x424552(0x366)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x50d31f=>{const _0x914117=_0x424552;_0x50d31f===_0x1fb374['SessionStatus'][_0x914117(0x33f)]?this[_0x914117(0x2a0)]():this[_0x914117(0x302)]();}),this[_0x424552(0x33e)][_0x424552(0x1e3)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x5e715e=>{const _0x3a7349=_0x424552,_0x344952=_0x5e715e['eventID'];_0x344952===_0x2226d4[_0x3a7349(0x1cf)][_0x3a7349(0x3a7)]&&this['_onCursorUpdate'](_0x5e715e),_0x344952===_0x2226d4['CollaborationEvent'][_0x3a7349(0x2e4)]&&this['_onCursorDelete'](_0x5e715e);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x105319=>{const _0xaa5b3e=_0x424552,_0x20129f=_0x105319[_0xaa5b3e(0x290)];_0x20129f!=null&&this[_0xaa5b3e(0x2b7)]&&_0x105319['id']===_0x566265['SetTextSelectionsOperation']['id']&&_0x20129f[_0xaa5b3e(0x314)]===this[_0xaa5b3e(0x241)]&&_0x20129f[_0xaa5b3e(0x3e7)]===!0x1&&_0x20129f[_0xaa5b3e(0x244)][_0xaa5b3e(0x3b0)]>0x0&&this[_0xaa5b3e(0x1a3)](_0x20129f[_0xaa5b3e(0x244)]);})),this[_0x424552(0x3b4)][_0x424552(0x256)][_0x424552(0x3e0)](_0xa893e5['takeUntil'](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x531b4c=>{const _0x1d8474=_0x424552;if((_0x531b4c==null?void 0x0:_0x531b4c[_0x1d8474(0x241)])!==this[_0x1d8474(0x241)])return;const _0x37e3d5={'eventID':_0x2226d4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x531b4c};this[_0x1d8474(0x3ab)](_0x37e3d5);}),this['disposeWithMe'](this[_0x424552(0x1bf)][_0x424552(0x203)](_0x3f94d0=>{const _0x22cb7b=_0x424552;if(_0x3f94d0['params']==null)return;const _0x23ab1f=_0x3f94d0[_0x22cb7b(0x290)];if(_0x3f94d0['id']!==_0x566265['RichTextEditingMutation']['id']||_0x23ab1f[_0x22cb7b(0x314)]!==this[_0x22cb7b(0x241)])return;const _0x2681fb={'id':_0x22cb7b(0x26a),'params':_0x23ab1f},_0x30b61a=this[_0x22cb7b(0x1fe)];for(const [_0x2e23ad,_0xf5a38]of _0x30b61a){const _0x1f2d4e={'id':_0x22cb7b(0x26a),'params':{'unitId':this[_0x22cb7b(0x241)],'actions':null,'textRanges':_0xf5a38[_0x22cb7b(0x244)]}},_0x30c44d=this[_0x22cb7b(0x354)][_0x22cb7b(0x28d)](_0x2681fb,_0x1f2d4e,!0x1);if(_0x2226d4[_0x22cb7b(0x398)](_0x30c44d))throw _0x30c44d[_0x22cb7b(0x232)];_0x30b61a[_0x22cb7b(0x26d)](_0x2e23ad,{..._0xf5a38,'ranges':_0x30c44d['m2Prime'][_0x22cb7b(0x290)][_0x22cb7b(0x39a)]});}queueMicrotask(()=>{const _0x66d643=_0x22cb7b;this['_cursorInfo$'][_0x66d643(0x3ae)](_0x30b61a);});})));}['_onCursorUpdate'](_0x3e7338){const _0xa1cc09=_0x964c6d;var _0x1c1f45,_0x5afcb3;const {memberID:_0x19ac97,selection:_0x1c2a8e}=_0x3e7338[_0xa1cc09(0x169)],_0x5378f8=_0x33a435(_0x1c2a8e),_0x58c99a=(_0x5afcb3=(_0x1c1f45=this['_memberService'][_0xa1cc09(0x391)](this['unitID'],_0x19ac97))==null?void 0x0:_0x1c1f45[_0xa1cc09(0x2ed)])!=null?_0x5afcb3:_0xa1cc09(0x371),_0x4003d2={'color':this['_colorAssignService'][_0xa1cc09(0x280)](_0x19ac97),'name':_0x58c99a,'ranges':_0x5378f8},_0x5b1652=this['cursorInfo'];_0x5b1652[_0xa1cc09(0x26d)](_0x19ac97,_0x4003d2),this[_0xa1cc09(0x338)][_0xa1cc09(0x3ae)](_0x5b1652);}['_onCursorDelete'](_0x35bb88){const _0x2cf398=_0x964c6d,{memberID:_0x2d382c}=_0x35bb88[_0x2cf398(0x169)],_0x24b597=this[_0x2cf398(0x1fe)];_0x24b597[_0x2cf398(0x31e)](_0x2d382c),this['_cursorInfo$'][_0x2cf398(0x3ae)](_0x24b597);}[_0x964c6d(0x2a0)](){const _0x2bca88=_0x964c6d;var _0x1486a8;if(this[_0x2bca88(0x2b7)]=!0x0,((_0x1486a8=this['_univerInstanceService'][_0x2bca88(0x172)]())==null?void 0x0:_0x1486a8[_0x2bca88(0x2fa)]())!==this['unitID'])return;const _0xde4d0c=this[_0x2bca88(0x222)][_0x2bca88(0x17d)](_0x566265[_0x2bca88(0x17e)])[_0x2bca88(0x264)]();Array[_0x2bca88(0x288)](_0xde4d0c)&&_0xde4d0c[_0x2bca88(0x3b0)]>0x0&&this['_updateLocalCursor'](_0xde4d0c);}[_0x964c6d(0x302)](){const _0x1611f0=_0x964c6d;this[_0x1611f0(0x2b7)]=!0x1;}};_0xdb8bd5=_0x6ba688([_0xc426b8(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0xc426b8(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0xc426b8(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x370)])),_0xc426b8(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x6e5760)),_0xc426b8(0x6,_0x2226d4[_0x964c6d(0x181)]),_0xc426b8(0x7,_0x17a0d6[_0x964c6d(0x22d)]),_0xc426b8(0x8,_0x17a0d6[_0x964c6d(0x351)])],_0xdb8bd5);var _0x3e1688=Object[_0x964c6d(0x236)],_0x54c9ef=(_0x54d0af,_0x18f138,_0x3c0e3b,_0x387aab)=>{const _0x127a95=_0x964c6d;for(var _0x168abc=_0x387aab>0x1?void 0x0:_0x387aab?_0x3e1688(_0x18f138,_0x3c0e3b):_0x18f138,_0x3cea17=_0x54d0af[_0x127a95(0x3b0)]-0x1,_0x4b8438;_0x3cea17>=0x0;_0x3cea17--)(_0x4b8438=_0x54d0af[_0x3cea17])&&(_0x168abc=_0x4b8438(_0x168abc)||_0x168abc);return _0x168abc;},_0x54b63a=(_0x347137,_0x4851d2)=>(_0x3d2d93,_0xd8dce1)=>_0x4851d2(_0x3d2d93,_0xd8dce1,_0x347137);const _0x2335cd=0x12c,_0x2cd483=0x64,_0x53301b=()=>{let _0xe6e85=[],_0x181a3a=!0x1;return _0x562a6a=>{const _0x23de79=_0x12c4;_0xe6e85[_0x23de79(0x28c)](_0x562a6a),_0x181a3a||(_0x181a3a=!0x0,setTimeout(()=>{const _0x1397e6=_0x23de79;_0xe6e85[_0x1397e6(0x2ad)](_0x5bfa9e=>_0x5bfa9e()),_0xe6e85=[],_0x181a3a=!0x1;}));};};let _0x52679c=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1d9803,_0x3d3cb0,_0x25bb98,_0x4a70d1,_0x53a381,_0x577aa6,_0x3ae900,_0x337967){const _0x5e8636=_0x964c6d;super(),_0x2e1f76(this,_0x5e8636(0x2b7),!0x1),_0x2e1f76(this,_0x5e8636(0x272),!0x1),_0x2e1f76(this,'_cursorInfo$',new _0xa893e5['BehaviorSubject'](new Map())),_0x2e1f76(this,_0x5e8636(0x28f),this[_0x5e8636(0x338)][_0x5e8636(0x2b1)]()),_0x2e1f76(this,_0x5e8636(0x38d),new _0xa893e5[(_0x5e8636(0x1e7))]([])),_0x2e1f76(this,_0x5e8636(0x1a4),this[_0x5e8636(0x38d)][_0x5e8636(0x3e0)](_0xa893e5[_0x5e8636(0x363)](_0x2335cd))),_0x2e1f76(this,_0x5e8636(0x1a3),_0x17a0d6[_0x5e8636(0x35a)]((_0x1607b8,_0x5982cf)=>{const _0x51bed0=_0x5e8636,_0xfb9db7={'eventID':_0x2226d4[_0x51bed0(0x1cf)][_0x51bed0(0x3a7)],'data':{'unitID':this[_0x51bed0(0x241)],'memberID':this['_session'][_0x51bed0(0x330)](),'selection':_0x2899a3[_0x51bed0(0x165)](_0x1607b8,_0x5982cf['range'])}};this[_0x51bed0(0x33e)][_0x51bed0(0x353)](_0xfb9db7,this[_0x51bed0(0x241)]);},_0x2cd483)),(this[_0x5e8636(0x241)]=_0x1d9803,this[_0x5e8636(0x33e)]=_0x3d3cb0,this[_0x5e8636(0x222)]=_0x25bb98,this[_0x5e8636(0x279)]=_0x4a70d1,this['_memberService']=_0x53a381,this[_0x5e8636(0x2ec)]=_0x577aa6,this[_0x5e8636(0x1bf)]=_0x3ae900,this[_0x5e8636(0x317)]=_0x337967);}get[_0x964c6d(0x1fe)](){const _0x3d5b1b=_0x964c6d;return this[_0x3d5b1b(0x338)]['getValue']();}get[_0x964c6d(0x202)](){const _0x24cc2e=_0x964c6d;return this['_roomMembers$'][_0x24cc2e(0x204)]();}[_0x964c6d(0x2bd)](){const _0x33fbeb=_0x964c6d;super[_0x33fbeb(0x2bd)](),this[_0x33fbeb(0x338)][_0x33fbeb(0x3ae)](new Map()),this[_0x33fbeb(0x338)][_0x33fbeb(0x3a6)](),this[_0x33fbeb(0x38d)]['next']([]),this[_0x33fbeb(0x38d)][_0x33fbeb(0x3a6)]();}[_0x964c6d(0x365)](){const _0x820824=_0x964c6d;this[_0x820824(0x272)]||(this[_0x820824(0x272)]=!0x0,this[_0x820824(0x33e)]['sessionStatus$'][_0x820824(0x3e0)](_0xa893e5['takeUntil'](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x4c5e63=>{const _0x12aa33=_0x820824;_0x4c5e63===_0x1fb374[_0x12aa33(0x235)][_0x12aa33(0x33f)]?this['_toggleOnline']():this[_0x12aa33(0x302)]();}),this['_session'][_0x820824(0x1e3)]['pipe'](_0xa893e5[_0x820824(0x345)](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x1d1e83=>{const _0x3a47d4=_0x820824,_0x4e018e=_0x1d1e83[_0x3a47d4(0x22b)];_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)][_0x3a47d4(0x3a7)]&&this[_0x3a47d4(0x3ab)](_0x1d1e83),_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)]['USERS_LEAVE']&&this[_0x3a47d4(0x23e)](_0x1d1e83);}),this[_0x820824(0x2d8)](),this[_0x820824(0x2ba)](this[_0x820824(0x1bf)][_0x820824(0x203)](_0x133840=>{const _0x59da91=_0x820824;if(this[_0x59da91(0x2b7)]&&_0x133840['id']===_0x1ce549[_0x59da91(0x2d3)]['id']&&_0x133840[_0x59da91(0x290)][_0x59da91(0x314)]===this[_0x59da91(0x241)]){const _0x5595b2=_0x133840[_0x59da91(0x290)];this[_0x59da91(0x1a3)](_0x5595b2[_0x59da91(0x174)],_0x5595b2[_0x59da91(0x2f3)][0x0]);}})));}[_0x964c6d(0x3ab)](_0x502795){const _0x1de82c=_0x964c6d;var _0x55a9e4,_0x57c129;const {memberID:_0x4d3f41,selection:_0x37a466}=_0x502795[_0x1de82c(0x169)],{sheetName:_0x422c31,range:_0x515a77}=_0x2899a3['deserializeRangeWithSheet'](_0x37a466),_0x168e46={'name':(_0x57c129=(_0x55a9e4=this[_0x1de82c(0x252)][_0x1de82c(0x391)](this[_0x1de82c(0x241)],_0x4d3f41))==null?void 0x0:_0x55a9e4[_0x1de82c(0x2ed)])!=null?_0x57c129:_0x1de82c(0x371),'range':this[_0x1de82c(0x373)](_0x422c31,_0x515a77),'sheetID':_0x422c31,'color':this['_colorAssignService'][_0x1de82c(0x280)](_0x4d3f41),'selection':_0x37a466},_0x5ecb1c=this[_0x1de82c(0x1fe)];_0x5ecb1c['set'](_0x4d3f41,_0x168e46),this[_0x1de82c(0x338)][_0x1de82c(0x3ae)](_0x5ecb1c);}[_0x964c6d(0x23e)](_0x28fe3f){const _0x144a9e=_0x964c6d,{memberID:_0xe5997b}=_0x28fe3f[_0x144a9e(0x169)],_0x3d5489=this[_0x144a9e(0x1fe)];_0x3d5489['delete'](_0xe5997b),this[_0x144a9e(0x338)][_0x144a9e(0x3ae)](_0x3d5489);}[_0x964c6d(0x373)](_0x460dc4,_0x4a3a28){const _0x33c15f=_0x964c6d;var _0x8f32cb,_0x2ce64a;const _0x426d4e=(_0x2ce64a=(_0x8f32cb=this[_0x33c15f(0x2ec)][_0x33c15f(0x34c)](this[_0x33c15f(0x241)]))==null?void 0x0:_0x8f32cb[_0x33c15f(0x216)](_0x460dc4))==null?void 0x0:_0x2ce64a[_0x33c15f(0x3d9)]();return(_0x426d4e==null?void 0x0:_0x426d4e[_0x33c15f(0x2d4)](_0x3e50d1=>_0x17a0d6['Rectangle'][_0x33c15f(0x2c8)](_0x3e50d1,_0x4a3a28)))||_0x4a3a28;}[_0x964c6d(0x2d8)](){const _0x2c6b56=_0x964c6d,_0x200345=new _0x17a0d6['DisposableCollection'](),_0x51387c=_0x53301b(),_0x310ce6=()=>{const _0x1305da=_0x12c4;_0x200345['dispose']();const _0x2165f0=(_0x4b69c4,_0x4a8a4c,_0x585404,_0x64e67c)=>{const _0x3a134a=_0x12c4;let _0x2558b4=[];switch(_0x4b69c4['id']){case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3af)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x39f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1d9)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x34b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x2bf)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1db)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x305)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x386)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f5)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x2a7)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3da)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1e0)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)]['MoveRangeCommandId']:{_0x2558b4=_0x1ce549[_0x3a134a(0x17b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f8)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x17f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3e1)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x24c)](_0x4b69c4,_0x64e67c);break;}}const _0x3c5e0c=_0x1ce549[_0x3a134a(0x24d)](_0x2558b4,_0x64e67c),_0x1373ef=this[_0x3a134a(0x1fe)][_0x3a134a(0x17d)](_0x4a8a4c);if(_0x1373ef&&_0x3c5e0c){const _0x5c7029={..._0x1373ef,'range':_0x3c5e0c};this[_0x3a134a(0x1fe)]['set'](_0x4a8a4c,_0x5c7029),_0x51387c(()=>{const _0x448e66=_0x3a134a,_0x5358ce=this[_0x448e66(0x317)]['registerRefRange'](_0x3c5e0c,_0x42a4e7=>(_0x5358ce['dispose'](),_0x2165f0(_0x42a4e7,_0x4a8a4c,_0x585404,_0x3c5e0c)));_0x200345[_0x448e66(0x16b)](_0x5358ce);});}return{'redos':[],'undos':[]};};this[_0x1305da(0x1fe)][_0x1305da(0x2ad)]((_0x574e38,_0x319ffd)=>{const _0x2bb741=_0x1305da,{range:_0x5ea373,sheetID:_0x57ee9f}=_0x574e38,_0x4efd11=this[_0x2bb741(0x317)]['registerRefRange'](_0x5ea373,_0x45dd5a=>(_0x4efd11['dispose'](),_0x2165f0(_0x45dd5a,_0x319ffd,_0x57ee9f,_0x5ea373)));_0x200345[_0x2bb741(0x16b)](_0x4efd11);});};this['disposeWithMe'](_0x17a0d6['toDisposable'](this[_0x2c6b56(0x338)][_0x2c6b56(0x3ec)](()=>{_0x310ce6();})));}[_0x964c6d(0x2a0)](){const _0x26d654=_0x964c6d;var _0x436d26,_0x304ba5;if(this['_online']=!0x0,((_0x436d26=this[_0x26d654(0x2ec)][_0x26d654(0x172)]())==null?void 0x0:_0x436d26[_0x26d654(0x2fa)]())!==this[_0x26d654(0x241)])return;const _0x25f320=(_0x304ba5=this[_0x26d654(0x222)]['get'](_0x1ce549[_0x26d654(0x3de)])[_0x26d654(0x212)]())==null?void 0x0:_0x304ba5[0x0],_0x134cbc=this[_0x26d654(0x2ec)][_0x26d654(0x166)](_0x17a0d6[_0x26d654(0x217)]['UNIVER_SHEET'])[_0x26d654(0x260)]();_0x25f320&&_0x134cbc&&this[_0x26d654(0x1a3)](_0x134cbc[_0x26d654(0x315)](),_0x25f320);}['_toggleOffline'](){const _0x355ea1=_0x964c6d;this[_0x355ea1(0x2b7)]=!0x1;}};_0x52679c=_0x54c9ef([_0x54b63a(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x54b63a(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0x54b63a(0x4,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x370)])),_0x54b63a(0x5,_0x17a0d6[_0x964c6d(0x22d)]),_0x54b63a(0x6,_0x17a0d6[_0x964c6d(0x351)]),_0x54b63a(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x1ce549[_0x964c6d(0x3e4)]))],_0x52679c);var _0x2e9409=Object[_0x964c6d(0x236)],_0x573a31=(_0x48439b,_0xdd23a7,_0x211626,_0x4135ed)=>{const _0x325fc1=_0x964c6d;for(var _0x6f0f9=_0x4135ed>0x1?void 0x0:_0x4135ed?_0x2e9409(_0xdd23a7,_0x211626):_0xdd23a7,_0x348c1b=_0x48439b[_0x325fc1(0x3b0)]-0x1,_0x3ffcd1;_0x348c1b>=0x0;_0x348c1b--)(_0x3ffcd1=_0x48439b[_0x348c1b])&&(_0x6f0f9=_0x3ffcd1(_0x6f0f9)||_0x6f0f9);return _0x6f0f9;},_0x24ed41=(_0x3b5401,_0x4fdaf6)=>(_0x3ca0dc,_0x3e11c6)=>_0x4fdaf6(_0x3ca0dc,_0x3e11c6,_0x3b5401);let _0x1fcbad=class extends _0x17a0d6['RxDisposable']{constructor(_0x30f353,_0x578aa1,_0x31a927){const _0xa3e32a=_0x964c6d;super(),_0x2e1f76(this,_0xa3e32a(0x2dd),new Map()),_0x2e1f76(this,_0xa3e32a(0x3c7),new _0xa893e5[(_0xa3e32a(0x3ca))]()),(this[_0xa3e32a(0x2ec)]=_0x30f353,this[_0xa3e32a(0x222)]=_0x578aa1,this[_0xa3e32a(0x25e)]=_0x31a927,this[_0xa3e32a(0x272)]());}['dispose'](){const _0x535e36=_0x964c6d;super[_0x535e36(0x2bd)](),this[_0x535e36(0x3c7)][_0x535e36(0x3a6)](),this['_entities'][_0x535e36(0x2ad)](_0x420348=>_0x420348[_0x535e36(0x2bd)]());}['getCollabCursors$'](_0x320b13){const _0x4fe064=_0x964c6d;return this[_0x4fe064(0x2dd)][_0x4fe064(0x218)](_0x320b13)?this[_0x4fe064(0x2dd)][_0x4fe064(0x17d)](_0x320b13)[_0x4fe064(0x28f)]:this[_0x4fe064(0x3c7)][_0x4fe064(0x3e0)](_0xa893e5[_0x4fe064(0x2f2)](_0x2ec49e=>_0x2ec49e[_0x4fe064(0x241)]===_0x320b13),_0xa893e5[_0x4fe064(0x253)](_0x2a0d9f=>_0x2a0d9f[_0x4fe064(0x28f)]));}[_0x964c6d(0x272)](){const _0x51e6b5=_0x964c6d;this[_0x51e6b5(0x2ec)]['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x254)])[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x345)](this['dispose$']))[_0x51e6b5(0x3ec)](async _0x21db54=>{const _0x5e7cda=_0x51e6b5,_0x103eaa=_0x21db54[_0x5e7cda(0x2fa)](),_0x37d256=await this['_startSheetCollabCursor'](_0x103eaa);this[_0x5e7cda(0x3c7)]['next'](_0x37d256),this[_0x5e7cda(0x2dd)][_0x5e7cda(0x26d)](_0x103eaa,_0x37d256);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x206)])['pipe'](_0xa893e5['takeUntil'](this['dispose$']))[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x2f2)](_0x2ab89f=>!_0x2ab89f['getUnitId']()[_0x51e6b5(0x16c)]('__')))[_0x51e6b5(0x3ec)](async _0x39ac2a=>{const _0x2db971=_0x51e6b5,_0x463ea8=_0x39ac2a['getUnitId'](),_0x4b2fa6=await this[_0x2db971(0x352)](_0x463ea8);this[_0x2db971(0x3c7)][_0x2db971(0x3ae)](_0x4b2fa6),this[_0x2db971(0x2dd)]['set'](_0x463ea8,_0x4b2fa6);}),_0xa893e5[_0x51e6b5(0x325)](this[_0x51e6b5(0x2ec)][_0x51e6b5(0x2fb)](_0x17a0d6['UniverInstanceType'][_0x51e6b5(0x206)]),this[_0x51e6b5(0x2ec)]['getTypeOfUnitDisposed$'](_0x17a0d6['UniverInstanceType']['UNIVER_SHEET']))[_0x51e6b5(0x3e0)](_0xa893e5['takeUntil'](this[_0x51e6b5(0x1d7)]))[_0x51e6b5(0x3ec)](_0x19d906=>{const _0x5efbd7=_0x51e6b5,_0x649000=_0x19d906[_0x5efbd7(0x2fa)](),_0x24dd0a=this[_0x5efbd7(0x2dd)][_0x5efbd7(0x17d)](_0x649000);_0x24dd0a&&(_0x24dd0a[_0x5efbd7(0x2bd)](),this[_0x5efbd7(0x2dd)]['delete'](_0x649000));});}async['_startSheetCollabCursor'](_0xef7b36){const _0x4240c2=_0x964c6d,_0x392a9e=await this['_collabSessionService']['requireSession'](_0xef7b36),_0x37d287=this['_injector']['createInstance'](_0x52679c,_0xef7b36,_0x392a9e);return _0x37d287[_0x4240c2(0x365)](),_0x37d287;}async[_0x964c6d(0x352)](_0x1f3e26){const _0x7fbd00=_0x964c6d,_0x56310c=await this[_0x7fbd00(0x25e)][_0x7fbd00(0x175)](_0x1f3e26),_0x4d7aea=this[_0x7fbd00(0x222)]['createInstance'](_0xdb8bd5,_0x1f3e26,_0x56310c);return _0x4d7aea['init'](),_0x4d7aea;}};_0x1fcbad=_0x573a31([_0x24ed41(0x0,_0x17a0d6['IUniverInstanceService']),_0x24ed41(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x24ed41(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x25f)]))],_0x1fcbad);const _0x87e5e0=0x14,_0x35d25f=0xc8,_0x367f69=0x4,_0x35c3cf=0x5;function _0x410f3d(_0x59fe37,_0x5a4c95){const _0x34e30d=_0x964c6d;let {radius:_0x49aeae,width:_0xe22c01,height:_0x3a913b}=_0x5a4c95;_0x49aeae=_0x49aeae!=null?_0x49aeae:0x0,_0xe22c01=_0xe22c01!=null?_0xe22c01:0x1e,_0x3a913b=_0x3a913b!=null?_0x3a913b:0x1e;let _0x4226b6=0x0,_0x70e29d=0x0,_0x29263f=0x0;_0x4226b6=_0x70e29d=_0x29263f=Math['min'](_0x49aeae,_0xe22c01/0x2,_0x3a913b/0x2),_0x59fe37[_0x34e30d(0x387)](),_0x59fe37[_0x34e30d(0x1e8)](_0x4226b6,0x0),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01-_0x70e29d,0x0),_0x59fe37[_0x34e30d(0x259)](_0xe22c01-_0x70e29d,_0x70e29d,_0x70e29d,Math['PI']*0x3/0x2,0x0,!0x1),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01,_0x3a913b-_0x29263f),_0x59fe37['arc'](_0xe22c01-_0x29263f,_0x3a913b-_0x29263f,_0x29263f,0x0,Math['PI']/0x2,!0x1),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x3a913b),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x4226b6),_0x59fe37[_0x34e30d(0x259)](_0x4226b6,_0x4226b6,_0x4226b6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59fe37[_0x34e30d(0x3ba)](),_0x5a4c95[_0x34e30d(0x36a)]&&(_0x59fe37[_0x34e30d(0x2ef)](),_0x59fe37['fillStyle']=_0x5a4c95[_0x34e30d(0x36a)],_0x5a4c95[_0x34e30d(0x281)]==='evenodd'?_0x59fe37[_0x34e30d(0x36a)]('evenodd'):_0x59fe37['fill'](),_0x59fe37['restore']());}class _0x3f38d3 extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x4093e1,_0x3af56a){const _0x7b0707=_0x964c6d;super(_0x4093e1,_0x3af56a),_0x2e1f76(this,_0x7b0707(0x246)),_0x2e1f76(this,'text'),(this['color']=_0x3af56a==null?void 0x0:_0x3af56a[_0x7b0707(0x246)],this[_0x7b0707(0x168)]=_0x3af56a==null?void 0x0:_0x3af56a['text']);}static[_0x964c6d(0x201)](_0x149752,_0x23395f){const _0x4d14cc=_0x964c6d,{text:_0x3900b0,color:_0x178f27}=_0x23395f;_0x149752[_0x4d14cc(0x2ef)](),_0x149752[_0x4d14cc(0x1aa)]=_0x4d14cc(0x1b1);const _0x59fb75=_0x149752[_0x4d14cc(0x1b6)](_0x3900b0)[_0x4d14cc(0x3ac)],_0x445384=Math[_0x4d14cc(0x178)](_0x59fb75+0x2*_0x367f69,_0x35d25f);_0x410f3d(_0x149752,{'height':_0x87e5e0,'radius':0x4,'width':_0x445384,'fill':_0x178f27}),_0x149752['fillStyle']='#FFF';const _0x4fbce3=_0x367f69,_0x156fd2=_0x87e5e0-_0x35c3cf,_0x1826b7=_0x35d25f-0x2*_0x367f69;if(_0x59fb75>_0x1826b7){let _0x32c65='',_0x426689=0x0;for(const _0x441eea of _0x3900b0){const _0x1a614d=_0x149752['measureText'](_0x441eea)[_0x4d14cc(0x3ac)];if(_0x426689+_0x1a614d<=_0x1826b7-_0x149752['measureText']('...')[_0x4d14cc(0x3ac)])_0x32c65+=_0x441eea,_0x426689+=_0x1a614d;else{_0x32c65+=_0x4d14cc(0x1d0);break;}}_0x149752['fillText'](_0x32c65,_0x4fbce3,_0x156fd2);}else _0x149752[_0x4d14cc(0x20e)](_0x3900b0,_0x4fbce3,_0x156fd2);_0x149752[_0x4d14cc(0x29d)]();}[_0x964c6d(0x20b)](_0xd0ac2f){const _0xaa35e1=_0x964c6d;_0x3f38d3[_0xaa35e1(0x201)](_0xd0ac2f,this);}}const _0xcda025='collab-text-anchor-',_0x56ee60='collab-text-range-',_0x298bbe=_0x964c6d(0x39c),_0x289c33=0x6,_0x5828f2=1.5,_0x3282d2=0x4,_0x278032=1.5,_0x445c62='rgba(255,\x20255,\x20255,\x200.01)';class _0x4aadd1{constructor(_0x85cb5,_0x1a4abc,_0x41894e,_0x17af87){const _0x3dcf26=_0x964c6d;_0x2e1f76(this,_0x3dcf26(0x2ce),[]),_0x2e1f76(this,_0x3dcf26(0x199),null),_0x2e1f76(this,_0x3dcf26(0x35b),null),_0x2e1f76(this,_0x3dcf26(0x3cd),null),_0x2e1f76(this,_0x3dcf26(0x3c8),null),_0x2e1f76(this,'_eventUnsubscribe',null),(this['_cursor']=_0x85cb5,this[_0x3dcf26(0x3d2)]=_0x1a4abc,this[_0x3dcf26(0x29b)]=_0x41894e,this[_0x3dcf26(0x2db)]=_0x17af87,this[_0x3dcf26(0x1b4)]());}set['_hover'](_0x3ce576){const _0x2aab4a=_0x964c6d;_0x3ce576?(this[_0x2aab4a(0x3cd)]&&this[_0x2aab4a(0x3cd)][_0x2aab4a(0x372)](),this[_0x2aab4a(0x35b)]&&this[_0x2aab4a(0x35b)]['show']()):(this[_0x2aab4a(0x3cd)]&&this['_anchorDot']['show'](),this[_0x2aab4a(0x35b)]&&this['_textBubble'][_0x2aab4a(0x372)]());}[_0x964c6d(0x2bd)](){const _0x344525=_0x964c6d;for(const _0x3bf72a of this[_0x344525(0x2ce)])_0x3bf72a['dispose']();this['_textBubble']&&this['_textBubble'][_0x344525(0x2bd)](),this['_anchorDot']&&this[_0x344525(0x3cd)][_0x344525(0x2bd)](),this[_0x344525(0x199)]&&this[_0x344525(0x199)][_0x344525(0x2bd)](),this[_0x344525(0x294)]&&this[_0x344525(0x294)]();}[_0x964c6d(0x1b4)](){const _0x529094=_0x964c6d;var _0x384fd0;const {_docSkeleton:_0x2a60ea,_document:_0x2a6697}=this,{color:_0x7c2155,name:_0x46925d,ranges:_0x37480a}=this[_0x529094(0x1e9)],_0x3e036d=_0x2a6697[_0x529094(0x3b2)](),{docsLeft:_0x33628c,docsTop:_0x1b3277}=_0x3e036d,_0x13b13c=new _0x21bec9[(_0x529094(0x306))](_0x3e036d,_0x2a60ea);for(const {startOffset:_0x1e2261,endOffset:_0x348829,rangeType:_0x4db35f,segmentId:_0x41c48d,segmentPage:_0x58f2a1,collapsed:_0x9308e5,isActive:_0x57320d}of _0x37480a){const _0x462082=_0x2a60ea['findNodePositionByCharIndex'](_0x1e2261,!0x0,_0x41c48d,_0x58f2a1);let _0x3b5978=_0x2a60ea['findNodePositionByCharIndex'](_0x348829,!0x0,_0x41c48d,_0x58f2a1);if(_0x3b5978==null&&(_0x3b5978=_0x2a60ea[_0x529094(0x3f2)](_0x348829-0x1,!0x1,_0x41c48d,_0x58f2a1)),_0x57320d){const {contentBoxPointGroup:_0x49591b}=_0x13b13c['getRangePointData'](_0x3b5978,_0x3b5978);if(_0x49591b[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x3b6)](_0x7c2155,_0x49591b,_0x33628c,_0x1b3277,_0x46925d),this[_0x529094(0x294)]=this[_0x529094(0x27f)]();}if(_0x462082&&_0x3b5978){if(_0x4db35f===_0x17a0d6['DOC_RANGE_TYPE'][_0x529094(0x3e6)]){const _0x5bc3b6=new _0x21bec9[(_0x529094(0x16f))](_0x3e036d,_0x2a60ea),{pointGroup:_0x32f1e7}=(_0x384fd0=_0x5bc3b6[_0x529094(0x243)](_0x462082,_0x3b5978))!=null?_0x384fd0:{};if(_0x32f1e7==null||_0x32f1e7['length']===0x0)continue;this[_0x529094(0x32a)](_0x7c2155,_0x32f1e7,_0x33628c,_0x1b3277);}else{if(!_0x9308e5){const {borderBoxPointGroup:_0x311c6e}=_0x13b13c[_0x529094(0x243)](_0x462082,_0x3b5978);if(_0x311c6e[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x284)](_0x7c2155,_0x311c6e,_0x33628c,_0x1b3277);}}}}}['_drawAnchor'](_0x238667,_0x119548,_0x449f7b,_0x48dd29,_0x2554e3){const _0x578ca0=_0x964c6d,_0x14bbb6=this[_0x578ca0(0x316)](_0x119548),{left:_0x480bcc,top:_0x51e2c9,height:_0x5908b8}=_0x14bbb6,_0x533ee3=this[_0x578ca0(0x226)](),_0x4893b7=_0x278032/_0x533ee3,_0x250f40=new _0x4826e7['Rect'](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29,'height':_0x5908b8,'width':_0x5828f2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6['COLORS'][_0x578ca0(0x26e)],0x0),'strokeWidth':_0x4893b7,'stroke':_0x445c62,'evented':!0x0});this[_0x578ca0(0x199)]=_0x250f40,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x250f40,_0x21bec9[_0x578ca0(0x329)]);const _0x20442c=new _0x4826e7[(_0x578ca0(0x21e))](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)]['generateRandomId'](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x3282d2/0x2,'height':_0x3282d2,'width':_0x3282d2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)][_0x578ca0(0x26e)],0x0),'evented':!0x1});this[_0x578ca0(0x3cd)]=_0x20442c,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x20442c,_0x21bec9[_0x578ca0(0x329)]);const _0x30da9f=new _0x3f38d3(_0xcda025+_0x17a0d6['Tools'][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x87e5e0,'text':_0x2554e3,'color':_0x238667});this[_0x578ca0(0x35b)]=_0x30da9f,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x30da9f,_0x21bec9[_0x578ca0(0x329)]),this['_hover']=!0x1;}[_0x964c6d(0x27f)](){const _0x4e364b=_0x964c6d,_0x3346ae=this[_0x4e364b(0x199)][_0x4e364b(0x295)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x64450b=this['_anchor'][_0x4e364b(0x1de)][_0x4e364b(0x1e2)](()=>{const _0x57f57e=_0x4e364b;this['_hideTimer']&&clearTimeout(this[_0x57f57e(0x3c8)]),this[_0x57f57e(0x3c8)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3018bc=_0x4e364b;_0x3346ae[_0x3018bc(0x239)](),_0x64450b[_0x3018bc(0x239)]();};}[_0x964c6d(0x284)](_0x4b0563,_0x2e6769,_0xe8a767,_0x55543d){const _0xb5afc=_0x964c6d,_0x4534a5=new _0x17a0d6[(_0xb5afc(0x31f))](_0x4b0563)[_0xb5afc(0x1f2)](0.2)[_0xb5afc(0x2ab)](),_0x3fad9f=new _0x4826e7[(_0xb5afc(0x2b8))](_0x56ee60+_0x17a0d6[_0xb5afc(0x37b)]['generateRandomId'](_0x289c33),{'pointsGroup':_0x2e6769,'fill':_0x4534a5||_0x4826e7['getColor'](_0x17a0d6['COLORS']['black'],0.2),'left':_0xe8a767,'top':_0x55543d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb5afc(0x2ce)][_0xb5afc(0x28c)](_0x3fad9f),this['_scene'][_0xb5afc(0x348)](_0x3fad9f,_0x21bec9[_0xb5afc(0x329)]);}['_drawRectRange'](_0x2e4dcf,_0x1228dd,_0x5e4adb,_0x31ddb4){const _0x5061dd=_0x964c6d,_0xa8164d=new _0x17a0d6[(_0x5061dd(0x31f))](_0x2e4dcf)[_0x5061dd(0x1f2)](0.2)[_0x5061dd(0x2ab)](),_0xffaf60=new _0x4826e7['RegularPolygon'](_0x298bbe+_0x17a0d6['Tools'][_0x5061dd(0x347)](_0x289c33),{'pointsGroup':_0x1228dd,'fill':_0xa8164d||_0x4826e7[_0x5061dd(0x1b0)](_0x17a0d6[_0x5061dd(0x37e)][_0x5061dd(0x26e)],0.2),'left':_0x5e4adb,'top':_0x31ddb4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5061dd(0x2ce)][_0x5061dd(0x28c)](_0xffaf60),this['_scene'][_0x5061dd(0x348)](_0xffaf60,_0x21bec9[_0x5061dd(0x329)]);}[_0x964c6d(0x316)](_0x2205f8){const _0x1cba35=_0x2205f8[0x0],_0x5f1528=_0x1cba35[0x0],_0x20fe87=_0x1cba35[0x2],{x:_0x2e69d6,y:_0x328635}=_0x5f1528,{x:_0x5cae41,y:_0x188ef4}=_0x20fe87;return{'left':_0x2e69d6,'top':_0x328635,'width':_0x5cae41-_0x2e69d6,'height':_0x188ef4-_0x328635};}[_0x964c6d(0x226)](){const _0x2cc579=_0x964c6d,{scaleX:_0x411155,scaleY:_0x35de5b}=this[_0x2cc579(0x3d2)][_0x2cc579(0x3dd)]();return Math[_0x2cc579(0x242)](_0x411155,_0x35de5b);}}var _0x5dddb6=Object['getOwnPropertyDescriptor'],_0x11c862=(_0x347093,_0x5179d9,_0x36daed,_0xbd2bf6)=>{for(var _0x1e9934=_0xbd2bf6>0x1?void 0x0:_0xbd2bf6?_0x5dddb6(_0x5179d9,_0x36daed):_0x5179d9,_0x144398=_0x347093['length']-0x1,_0x163133;_0x144398>=0x0;_0x144398--)(_0x163133=_0x347093[_0x144398])&&(_0x1e9934=_0x163133(_0x1e9934)||_0x1e9934);return _0x1e9934;},_0x8ec635=(_0x3c3803,_0x3ed040)=>(_0x29a939,_0x150188)=>_0x3ed040(_0x29a939,_0x150188,_0x3c3803);let _0x3036df=class extends _0x17a0d6['RxDisposable']{constructor(_0x317b82,_0x134ca1,_0x4bacd1,_0x46f982,_0x1e81c8){const _0x43ea64=_0x964c6d;super(),_0x2e1f76(this,_0x43ea64(0x25a),[]),_0x2e1f76(this,_0x43ea64(0x3a1),[]),(this['_context']=_0x317b82,this[_0x43ea64(0x3d5)]=_0x134ca1,this[_0x43ea64(0x189)]=_0x4bacd1,this[_0x43ea64(0x1bf)]=_0x46f982,this[_0x43ea64(0x3df)]=_0x1e81c8,this[_0x43ea64(0x272)]());}['_init'](){const _0x515c5d=_0x964c6d,_0x1625db=this[_0x515c5d(0x224)][_0x515c5d(0x314)],_0x26c87d=this[_0x515c5d(0x3d5)];this['disposeWithMe'](_0xa893e5[_0x515c5d(0x1ce)]([this[_0x515c5d(0x189)]['getCollabCursors$'](_0x1625db),this['_themeService'][_0x515c5d(0x2ee)]])[_0x515c5d(0x3e0)](_0x3fdb29['map'](([_0x15550d,_0x18ec7f])=>({'skeleton':_0x26c87d['getSkeleton'](),'cursors':[..._0x15550d[_0x515c5d(0x187)]()]['flatMap'](_0x1a81d0=>({..._0x1a81d0,'color':this[_0x515c5d(0x3df)]['getColorFromTheme'](_0x1a81d0['color'])}))})))[_0x515c5d(0x3ec)](_0x3c851e=>{const _0x5d32ef=_0x515c5d;if(this[_0x5d32ef(0x341)](),_0x3c851e){const {skeleton:_0x33440b,cursors:_0x5f3f2d}=_0x3c851e;this[_0x5d32ef(0x38a)](_0x33440b,_0x5f3f2d);}})),this[_0x515c5d(0x29f)](),this['_initCommandExecutedListener']();}[_0x964c6d(0x38a)](_0x34caa3,_0x8b5777){const {scene:_0x31c03f,mainComponent:_0x5b83c3}=this['_context'],_0x211658=_0x8b5777['map'](_0x3a2bd4=>new _0x4aadd1(_0x3a2bd4,_0x31c03f,_0x34caa3,_0x5b83c3));this['_cursorShapes']=_0x211658,this['_cursors']=_0x8b5777;}[_0x964c6d(0x33c)](){const _0x111651=_0x964c6d;this[_0x111651(0x341)]();const {scene:_0x2859fc,mainComponent:_0x58e27d}=this['_context'],_0x32409c=this[_0x111651(0x3d5)][_0x111651(0x205)](),_0x1b0943=this[_0x111651(0x3a1)]['map'](_0x25a05b=>new _0x4aadd1(_0x25a05b,_0x2859fc,_0x32409c,_0x58e27d));this[_0x111651(0x25a)]=_0x1b0943;}[_0x964c6d(0x341)](){const _0xd281ef=_0x964c6d;this[_0xd281ef(0x25a)]['forEach'](_0x5461a5=>_0x5461a5[_0xd281ef(0x2bd)]()),this[_0xd281ef(0x25a)]=[];}[_0x964c6d(0x274)](){const _0x54aa08=_0x964c6d,_0xe9e0aa=[_0x21bec9['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x54aa08(0x1bf)]['onCommandExecuted'](_0x35c534=>{const _0x7f7edb=_0x54aa08;_0xe9e0aa['includes'](_0x35c534['id'])&&_0x35c534['params'][_0x7f7edb(0x314)]===this[_0x7f7edb(0x224)][_0x7f7edb(0x314)]&&this['_refreshCollabCursors']();}));}[_0x964c6d(0x29f)](){const _0x5598d5=_0x964c6d;this['disposeWithMe'](_0x17a0d6[_0x5598d5(0x20c)](this['_context'][_0x5598d5(0x1ed)]['onTransformChange$'])['pipe'](_0x3fdb29[_0x5598d5(0x2f2)](_0x1cdd73=>_0x1cdd73[_0x5598d5(0x36f)]===_0x4826e7[_0x5598d5(0x1ab)]['resize']),_0x3fdb29[_0x5598d5(0x297)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3036df=_0x11c862([_0x8ec635(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x566265[_0x964c6d(0x200)])),_0x8ec635(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x8ec635(0x3,_0x17a0d6[_0x964c6d(0x351)]),_0x8ec635(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['ThemeService']))],_0x3036df);const _0x31250e=0x1,_0x252ad8=1.5;class _0x58253f extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x2aa8f7,_0x20f5e4){const _0x1b884b=_0x964c6d;super(_0x2aa8f7,_0x20f5e4),_0x2e1f76(this,'_color'),_0x2e1f76(this,_0x1b884b(0x2c2),!0x1),_0x2e1f76(this,_0x1b884b(0x34f)),_0x2e1f76(this,_0x1b884b(0x344),''),_0x2e1f76(this,_0x1b884b(0x18c),_0x1b884b(0x2c6)),_0x2e1f76(this,_0x1b884b(0x1ca)),(_0x20f5e4&&this['setShapeProps'](_0x20f5e4),this[_0x1b884b(0x295)][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x1})));}[_0x964c6d(0x323)](_0x318d26){const _0x1b4a2d=_0x964c6d;var _0x4a4f14,_0x543bb3,_0x49f539,_0xf693c6,_0x4066bb,_0x2e0619;this[_0x1b4a2d(0x1af)]=(_0x4a4f14=_0x318d26['color'])!=null?_0x4a4f14:this['_color'],this[_0x1b4a2d(0x2c2)]=(_0x543bb3=_0x318d26['hovered'])!=null?_0x543bb3:this[_0x1b4a2d(0x2c2)],this[_0x1b4a2d(0x34f)]=(_0x49f539=_0x318d26['range'])!=null?_0x49f539:this[_0x1b4a2d(0x34f)],this[_0x1b4a2d(0x344)]=(_0xf693c6=_0x318d26[_0x1b4a2d(0x2ed)])!=null?_0xf693c6:this['_name'],this[_0x1b4a2d(0x18c)]=(_0x4066bb=_0x318d26['labelPosition'])!=null?_0x4066bb:this[_0x1b4a2d(0x18c)],this[_0x1b4a2d(0x1ca)]=(_0x2e0619=_0x318d26[_0x1b4a2d(0x326)])!=null?_0x2e0619:this[_0x1b4a2d(0x1ca)],this[_0x1b4a2d(0x350)]({'width':_0x318d26['width'],'height':_0x318d26[_0x1b4a2d(0x1f0)]});}[_0x964c6d(0x21c)](_0x26a929){const _0x1e109f=_0x964c6d,{row:_0x6e064,column:_0xda4999}=_0x26a929;if(_0x6e064>=this[_0x1e109f(0x34f)][_0x1e109f(0x3cb)]&&_0x6e064<=this[_0x1e109f(0x34f)][_0x1e109f(0x19e)]&&_0xda4999>=this[_0x1e109f(0x34f)][_0x1e109f(0x1dd)]&&_0xda4999<=this[_0x1e109f(0x34f)][_0x1e109f(0x3be)]){this[_0x1e109f(0x323)]({'hovered':!0x0});return;}this[_0x1e109f(0x323)]({'hovered':!0x1});}['triggerDblclick'](_0x453ba1){return!0x1;}['_draw'](_0x5375cd){const _0x262d14=_0x964c6d;_0x4826e7['Rect'][_0x262d14(0x201)](_0x5375cd,{'width':this[_0x262d14(0x3ac)],'height':this[_0x262d14(0x1f0)],'strokeWidth':_0x252ad8,'stroke':this[_0x262d14(0x1af)],'evented':!0x1,'fill':this[_0x262d14(0x1ca)]}),this[_0x262d14(0x2c2)]&&(_0x5375cd[_0x262d14(0x2ef)](),_0x5375cd['transform'](0x1,0x0,0x0,0x1,this[_0x262d14(0x3ac)],this[_0x262d14(0x18c)]===_0x262d14(0x179)?0x0:-0x14),_0x3f38d3[_0x262d14(0x201)](_0x5375cd,{'text':this[_0x262d14(0x344)],'color':this[_0x262d14(0x1af)]}),_0x5375cd[_0x262d14(0x29d)]());}}var _0x35928f=Object['getOwnPropertyDescriptor'],_0x1cb1dc=(_0x2b218d,_0x104602,_0x2fe69f,_0x3f6e63)=>{const _0x205c9c=_0x964c6d;for(var _0x2b7cfa=_0x3f6e63>0x1?void 0x0:_0x3f6e63?_0x35928f(_0x104602,_0x2fe69f):_0x104602,_0x16ecee=_0x2b218d[_0x205c9c(0x3b0)]-0x1,_0x7cb510;_0x16ecee>=0x0;_0x16ecee--)(_0x7cb510=_0x2b218d[_0x16ecee])&&(_0x2b7cfa=_0x7cb510(_0x2b7cfa)||_0x2b7cfa);return _0x2b7cfa;},_0x512de9=(_0xeab218,_0x3f791c)=>(_0x11ff02,_0x32ef09)=>_0x3f791c(_0x11ff02,_0x32ef09,_0xeab218);const _0xc7f38e=0x1389;let _0x260fea=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0xb68d33,_0x41102a,_0x4dcbb3,_0x5211fe){const _0x5bde6d=_0x964c6d;super(),_0x2e1f76(this,'_cursors',new Set()),_0x2e1f76(this,_0x5bde6d(0x1dc),null),(this[_0x5bde6d(0x224)]=_0xb68d33,this['_sheetSkeletonManagerService']=_0x41102a,this[_0x5bde6d(0x189)]=_0x4dcbb3,this[_0x5bde6d(0x3df)]=_0x5211fe,this['_init']());}['_init'](){const _0x355e41=_0x964c6d;this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3e0)](_0x3fdb29[_0x355e41(0x345)](this['dispose$']),_0x3fdb29[_0x355e41(0x253)](_0x31d927=>{const _0x6c2707=_0x355e41;if(_0x31d927){const _0x4b3385=_0x31d927[_0x6c2707(0x249)];return _0xa893e5['combineLatest'](this[_0x6c2707(0x189)]['getCollabCursors$'](this[_0x6c2707(0x224)][_0x6c2707(0x314)]),this[_0x6c2707(0x3df)][_0x6c2707(0x2ee)])[_0x6c2707(0x3e0)](_0x3fdb29[_0x6c2707(0x240)](([_0x522f0a,_0x3d3854])=>{const _0x4989db=_0x6c2707,_0x7d7238=new Map();return _0x522f0a[_0x4989db(0x2ad)]((_0x240c2d,_0x378292)=>{const _0x1dd3b6=_0x4989db;if(_0x240c2d[_0x1dd3b6(0x3e2)]===_0x4b3385){const _0x1541a1={..._0x240c2d};_0x1541a1['color']=this[_0x1dd3b6(0x3df)][_0x1dd3b6(0x227)](_0x240c2d['color']),_0x7d7238[_0x1dd3b6(0x26d)](_0x378292,_0x1541a1);}}),{'skeleton':_0x31d927,'cursors':_0x7d7238};}));}return _0xa893e5['of']({'skeleton':null,'cursors':new Map()});}))[_0x355e41(0x3ec)](({skeleton:_0x1ad968,cursors:_0x1d40e6})=>{const _0x5828c1=_0x355e41;this[_0x5828c1(0x341)](),_0x1ad968&&this['_updateCollabCursors'](_0x1ad968,_0x1d40e6);}),this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3ec)](_0x3a4c20=>{const _0x4513e4=_0x355e41;if(_0x3a4c20==null)return;const {skeleton:_0x23a920}=_0x3a4c20,{scene:_0x4d28e6}=this[_0x4513e4(0x224)];_0x4d28e6[_0x4513e4(0x1bc)][_0x4513e4(0x1e2)](_0x17a0d6[_0x4513e4(0x35a)](_0x4fa9a7=>{const _0x9fa0e5=_0x4513e4;var _0x18d961,_0x1454ee;const {offsetX:_0x1cc81f,offsetY:_0x138b85}=_0x4fa9a7,{x:_0x5454c6,y:_0x48c9b2}=_0x4d28e6[_0x9fa0e5(0x220)](_0x4826e7['Vector2']['FromArray']([_0x1cc81f,_0x138b85])),{scaleX:_0x4ab946,scaleY:_0x2fb023}=_0x4d28e6[_0x9fa0e5(0x3dd)](),_0x2c740f=_0x4d28e6['getViewport'](_0x4826e7['SHEET_VIEWPORT_KEY'][_0x9fa0e5(0x39d)]),_0x58dfa5=_0x4d28e6[_0x9fa0e5(0x30e)](_0x4826e7['Vector2']['FromArray']([_0x5454c6,_0x48c9b2]),_0x2c740f),_0x33bf03=_0x23a920['getCellPositionByOffset'](_0x1cc81f,_0x138b85,_0x4ab946,_0x2fb023,_0x58dfa5);((_0x18d961=this['_lastPointer'])==null?void 0x0:_0x18d961['column'])===_0x33bf03['column']&&((_0x1454ee=this[_0x9fa0e5(0x1dc)])==null?void 0x0:_0x1454ee[_0x9fa0e5(0x1f9)])===_0x33bf03[_0x9fa0e5(0x1f9)]||this[_0x9fa0e5(0x3a1)][_0x9fa0e5(0x2ad)](_0x4a7ba2=>{const _0x2c0b1d=_0x9fa0e5;_0x4a7ba2[_0x2c0b1d(0x21c)](_0x33bf03);});},0x64));});}['_updateCollabCursors'](_0x4f2afc,_0x1ba8f1){const _0x8948c7=_0x964c6d;var _0x330db2;const _0x22808a=(_0x330db2=this[_0x8948c7(0x2e9)]['getCurrent']())==null?void 0x0:_0x330db2['skeleton'];if(!_0x22808a)return;const _0x4f7747=this[_0x8948c7(0x163)]();if(!_0x4f7747)return;this[_0x8948c7(0x3a1)]['forEach'](_0xa79013=>{_0xa79013['makeDirty']();});const {scene:_0x3bfb04}=_0x4f7747,_0x59f089=_0x14396(Array[_0x8948c7(0x1bb)](_0x1ba8f1['values']()))[_0x8948c7(0x240)](_0x2b8c56=>{const _0x4477e9=_0x8948c7,{color:_0x4dac49,range:_0x13900d,name:_0x4f9cf0,selection:_0x3f9cb5,sheetID:_0x4cc45f}=_0x2b8c56,{startColumn:_0x595312,startRow:_0x5d52d0,endColumn:_0x2762ec,endRow:_0x33277e}=_0x13900d,_0x40f787=_0x3a9c80['getCoordByCell'](_0x5d52d0,_0x595312,_0x3bfb04,_0x22808a),_0x3b54a2=_0x3a9c80[_0x4477e9(0x2e1)](_0x33277e,_0x2762ec,_0x3bfb04,_0x22808a),{columnHeaderHeightAndMarginTop:_0x38fa0c}=_0x22808a,{startX:_0x2ef93b,startY:_0x4a8a9f}=_0x40f787,{endX:_0x1777d0,endY:_0x15c741}=_0x3b54a2,_0x191bc5=_0x1777d0-_0x2ef93b,_0x437dac=_0x15c741-_0x4a8a9f,_0xdc9860={'labelPosition':_0x4a8a9f-_0x38fa0c>=_0x87e5e0?_0x4477e9(0x2c6):'bottom','sheetID':_0x4cc45f,'range':_0x13900d,'color':_0x4dac49,'name':_0x4f9cf0,'selection':_0x3f9cb5,'left':_0x2ef93b,'top':_0x4a8a9f,'width':_0x191bc5,'height':_0x437dac,'evented':!0x1,'zIndex':_0xc7f38e};return new _0x58253f(_0x4f9cf0,_0xdc9860);});_0x3bfb04[_0x8948c7(0x22e)](_0x59f089,_0x31250e),this[_0x8948c7(0x3a1)]=new Set(_0x59f089);}['_removeCollabCursors'](){const _0x16f358=_0x964c6d;var _0x1776ff;(_0x1776ff=this[_0x16f358(0x3a1)])==null||_0x1776ff[_0x16f358(0x2ad)](_0x292283=>_0x292283[_0x16f358(0x2bd)]());}[_0x964c6d(0x163)](){const _0x559dfd=_0x964c6d;return _0x3a9c80['getSheetObject'](this[_0x559dfd(0x224)][_0x559dfd(0x164)],this[_0x559dfd(0x224)]);}};_0x260fea=_0x1cb1dc([_0x512de9(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x3a9c80['SheetSkeletonManagerService'])),_0x512de9(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x512de9(0x3,_0x17a0d6['Inject'](_0x17a0d6[_0x964c6d(0x30a)]))],_0x260fea);function _0x14396(_0x2bd845){const _0x3353dc=_0x964c6d,_0x275963=new Map();return _0x2bd845[_0x3353dc(0x2ad)](_0xf019b1=>{const _0x272a4b=_0x3353dc;if(_0x275963['has'](_0xf019b1[_0x272a4b(0x207)])){const _0x2caae1=_0x275963[_0x272a4b(0x17d)](_0xf019b1[_0x272a4b(0x207)]);_0x2caae1[_0x272a4b(0x2ed)]+=',\x20'+_0xf019b1['name'];}else _0x275963[_0x272a4b(0x26d)](_0xf019b1[_0x272a4b(0x207)],_0xf019b1);}),Array[_0x3353dc(0x1bb)](_0x275963[_0x3353dc(0x187)]());}var _0x532151=function(){const _0x34a26f=_0x964c6d;return _0x532151=Object['assign']||function(_0x4fde56){const _0x3aa72b=_0x12c4;for(var _0x521c9a,_0x13c1f6=0x1,_0x55c369=arguments[_0x3aa72b(0x3b0)];_0x13c1f6<_0x55c369;_0x13c1f6++){_0x521c9a=arguments[_0x13c1f6];for(var _0x26fbbb in _0x521c9a)Object['prototype'][_0x3aa72b(0x24a)][_0x3aa72b(0x2a6)](_0x521c9a,_0x26fbbb)&&(_0x4fde56[_0x26fbbb]=_0x521c9a[_0x26fbbb]);}return _0x4fde56;},_0x532151[_0x34a26f(0x331)](this,arguments);},_0x208050=function(_0x5965d7,_0x381c69){const _0x2f9f92=_0x964c6d;var _0x5238c0={};for(var _0x38bb3a in _0x5965d7)Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x24a)]['call'](_0x5965d7,_0x38bb3a)&&_0x381c69['indexOf'](_0x38bb3a)<0x0&&(_0x5238c0[_0x38bb3a]=_0x5965d7[_0x38bb3a]);if(_0x5965d7!=null&&typeof Object[_0x2f9f92(0x273)]==_0x2f9f92(0x270)){for(var _0x444f12=0x0,_0x38bb3a=Object[_0x2f9f92(0x273)](_0x5965d7);_0x444f12<_0x38bb3a[_0x2f9f92(0x3b0)];_0x444f12++)_0x381c69[_0x2f9f92(0x21a)](_0x38bb3a[_0x444f12])<0x0&&Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x3bf)][_0x2f9f92(0x2a6)](_0x5965d7,_0x38bb3a[_0x444f12])&&(_0x5238c0[_0x38bb3a[_0x444f12]]=_0x5965d7[_0x38bb3a[_0x444f12]]);}return _0x5238c0;},_0x17429f=_0x115905[_0x964c6d(0x22a)](function(_0x5f73ec,_0x3de7c7){const _0x52fa0d=_0x964c6d;var _0x124fbd=_0x5f73ec[_0x52fa0d(0x191)],_0x53dc33=_0x5f73ec['id'],_0x5c6bd4=_0x5f73ec[_0x52fa0d(0x388)],_0x175056=_0x5f73ec[_0x52fa0d(0x2e6)],_0x30b25d=_0x208050(_0x5f73ec,[_0x52fa0d(0x191),'id','className',_0x52fa0d(0x2e6)]),_0x4087b7=_0x52fa0d(0x28a)[_0x52fa0d(0x19c)](_0x53dc33,'\x20')['concat'](_0x5c6bd4||'')['trim'](),_0x494b04=_0x115905[_0x52fa0d(0x266)]('_'[_0x52fa0d(0x19c)](_0xeb2324()));return _0x217db5(_0x124fbd,''[_0x52fa0d(0x19c)](_0x53dc33),{'defIds':_0x124fbd['defIds'],'idSuffix':_0x494b04['current']},_0x532151({'ref':_0x3de7c7,'className':_0x4087b7},_0x30b25d),_0x175056);});function _0x217db5(_0x2b26dc,_0x1d37ff,_0x3b7f39,_0x6bf916,_0x409be3){const _0x5a1c89=_0x964c6d;return _0x115905[_0x5a1c89(0x374)](_0x2b26dc[_0x5a1c89(0x2ae)],_0x532151(_0x532151({'key':_0x1d37ff},_0x121086(_0x2b26dc,_0x3b7f39,_0x409be3)),_0x6bf916),(_0x51fea9(_0x2b26dc,_0x3b7f39)['children']||[])[_0x5a1c89(0x240)](function(_0x1675ef,_0xb3b7f3){const _0x309f9b=_0x5a1c89;return _0x217db5(_0x1675ef,''[_0x309f9b(0x19c)](_0x1d37ff,'-')[_0x309f9b(0x19c)](_0x2b26dc[_0x309f9b(0x2ae)],'-')[_0x309f9b(0x19c)](_0xb3b7f3),_0x3b7f39,void 0x0,_0x409be3);}));}function _0x121086(_0x812acb,_0x570f58,_0x157eaa){const _0x515520=_0x964c6d;var _0x259e8b=_0x532151({},_0x812acb['attrs']);_0x157eaa!=null&&_0x157eaa[_0x515520(0x170)]&&_0x259e8b[_0x515520(0x36a)]===_0x515520(0x170)&&(_0x259e8b[_0x515520(0x36a)]=_0x157eaa[_0x515520(0x170)]),_0x812acb['tag']===_0x515520(0x233)&&_0x259e8b['id']&&(_0x259e8b['id']=_0x259e8b['id']+_0x570f58[_0x515520(0x17a)]),Object[_0x515520(0x2ac)](_0x259e8b)['forEach'](function(_0x264f67){const _0x438d3e=_0x515520;var _0x305b8d=_0x264f67[0x0],_0x3f7a52=_0x264f67[0x1];_0x305b8d===_0x438d3e(0x233)&&typeof _0x3f7a52==_0x438d3e(0x194)&&(_0x259e8b[_0x305b8d]=_0x3f7a52[_0x438d3e(0x327)](/url\(#(.*)\)/,_0x438d3e(0x29c)[_0x438d3e(0x19c)](_0x570f58[_0x438d3e(0x17a)],')')));});var _0x1beaae=_0x570f58[_0x515520(0x1c0)];return!_0x1beaae||_0x1beaae['length']===0x0||(_0x812acb['tag']===_0x515520(0x24f)&&_0x259e8b[_0x515520(0x271)]&&(_0x259e8b['xlink:href']=_0x259e8b[_0x515520(0x271)]+_0x570f58[_0x515520(0x17a)]),Object['entries'](_0x259e8b)['forEach'](function(_0x5a3227){const _0x19b5ae=_0x515520;var _0x29dd3d=_0x5a3227[0x0],_0x4ffbd6=_0x5a3227[0x1];typeof _0x4ffbd6==_0x19b5ae(0x194)&&(_0x259e8b[_0x29dd3d]=_0x4ffbd6[_0x19b5ae(0x327)](/url\(#(.*)\)/,_0x19b5ae(0x29c)[_0x19b5ae(0x19c)](_0x570f58[_0x19b5ae(0x17a)],')')));})),_0x259e8b;}function _0x51fea9(_0x10f179,_0x38a547){const _0x388310=_0x964c6d;var _0xd4e198,_0x2af11a=_0x38a547['defIds'];return!_0x2af11a||_0x2af11a['length']===0x0?_0x10f179:_0x10f179[_0x388310(0x2ae)]===_0x388310(0x2f9)&&(!((_0xd4e198=_0x10f179[_0x388310(0x360)])===null||_0xd4e198===void 0x0)&&_0xd4e198[_0x388310(0x3b0)])?_0x532151(_0x532151({},_0x10f179),{'children':_0x10f179[_0x388310(0x360)][_0x388310(0x240)](function(_0x6fe52){const _0x408476=_0x388310;return typeof _0x6fe52[_0x408476(0x1b5)]['id']==_0x408476(0x194)&&_0x2af11a&&_0x2af11a['includes'](_0x6fe52[_0x408476(0x1b5)]['id'])?_0x532151(_0x532151({},_0x6fe52),{'attrs':_0x532151(_0x532151({},_0x6fe52[_0x408476(0x1b5)]),{'id':_0x6fe52[_0x408476(0x1b5)]['id']+_0x38a547[_0x408476(0x17a)]})}):_0x6fe52;})}):_0x10f179;}function _0xeb2324(){const _0x242565=_0x964c6d;return Math[_0x242565(0x378)]()[_0x242565(0x192)](0x24)['substring'](0x2,0x8);}_0x17429f[_0x964c6d(0x3e8)]=_0x964c6d(0x23d);var _0x27d349={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x223),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x964c6d(0x2af)},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x31d),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':_0x964c6d(0x1fc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'fill':_0x964c6d(0x37c),'d':_0x964c6d(0x298)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x4052c2=_0x115905[_0x964c6d(0x22a)](function(_0x45e885,_0x29c375){const _0x435bc6=_0x964c6d;return _0x115905[_0x435bc6(0x374)](_0x17429f,Object['assign']({},_0x45e885,{'id':_0x435bc6(0x2fd),'ref':_0x29c375,'icon':_0x27d349}));});_0x4052c2[_0x964c6d(0x3e8)]=_0x964c6d(0x2cb);var _0x3c8387={'tag':_0x964c6d(0x3d1),'attrs':{'xmlns':_0x964c6d(0x209),'fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x1b9),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x1a7),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x964c6d(0x2f9),'attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':_0x964c6d(0x17c)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x964c6d(0x298),'transform':_0x964c6d(0x358)}}]}]}],'defIds':[_0x964c6d(0x17c)]},_0x31d449=_0x115905['forwardRef'](function(_0x5f18c7,_0x50be08){const _0x412588=_0x964c6d;return _0x115905[_0x412588(0x374)](_0x17429f,Object['assign']({},_0x5f18c7,{'id':_0x412588(0x2c1),'ref':_0x50be08,'icon':_0x3c8387}));});_0x31d449[_0x964c6d(0x3e8)]=_0x964c6d(0x309);function _0x2cbdb2(_0x225234){const _0x287300=_0x964c6d;switch(_0x225234){case _0x1fb374['CollaborationStatus'][_0x287300(0x375)]:return'collabStatus.offline';case _0x1fb374[_0x287300(0x37f)][_0x287300(0x35f)]:return _0x287300(0x1fb);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x278)]:return _0x287300(0x2d5);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a8)]:return _0x287300(0x229);case _0x1fb374['CollaborationStatus']['AWAITING']:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a5)]:return _0x287300(0x3b8);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3d6)]:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3dc)]:return _0x287300(0x1d2);}}function _0x531a04(_0x73ccc){const _0xb73c7b=_0x964c6d,{status$:_0x23fb17}=_0x73ccc,_0x278e43=_0x5aad63[_0xb73c7b(0x2de)](_0x23fb17,_0x1fb374[_0xb73c7b(0x37f)]['NOT_COLLAB']),_0x31b3d7=_0x5aad63[_0xb73c7b(0x1a5)](_0x17a0d6[_0xb73c7b(0x383)]),_0x2a89d1=_0x5aad63['useDependency'](_0x1fb374[_0xb73c7b(0x25f)]),_0x12b384=_0x278e43!==_0x1fb374['CollaborationStatus'][_0xb73c7b(0x375)],_0x347b0a=_0x31b3d7['t'](_0x2cbdb2(_0x278e43)),_0x2229d2=_0x12b384?_0x1c574a[_0xb73c7b(0x1a8)](_0x31d449,{}):_0x1c574a[_0xb73c7b(0x1a8)](_0x4052c2,{}),_0x28e887=_0x115905[_0xb73c7b(0x3c4)](()=>{_0x12b384||_0x2a89d1['reconnect']();},[_0x12b384,_0x2a89d1]);function _0x3e4d75(){const _0x291ccf=_0xb73c7b;return _0x1c574a[_0x291ccf(0x34d)](_0x291ccf(0x359),{'className':_0x291ccf(0x25b),'onClick':_0x28e887,'children':[_0x1c574a[_0x291ccf(0x1a8)](_0x291ccf(0x359),{'className':_0x20461d[_0x291ccf(0x3b7)](_0x291ccf(0x3aa),{'univer-text-green-500':_0x12b384,'univer-text-red-500':!_0x12b384}),'children':_0x2229d2}),_0x1c574a[_0x291ccf(0x1a8)]('div',{'className':_0x291ccf(0x2d9),'children':_0x347b0a})]});}return _0x12b384?_0x3e4d75():_0x1c574a[_0xb73c7b(0x1a8)](_0x20461d[_0xb73c7b(0x31a)],{'title':_0x31b3d7['t']('collab-client.tooltip.reconnect'),'children':_0x3e4d75()});}var _0x3ba78c=Object[_0x964c6d(0x236)],_0x15f736=(_0x3d3cf9,_0x55448a,_0x234104,_0x4a0087)=>{const _0x556ac8=_0x964c6d;for(var _0x5738a0=_0x4a0087>0x1?void 0x0:_0x4a0087?_0x3ba78c(_0x55448a,_0x234104):_0x55448a,_0x430ac3=_0x3d3cf9[_0x556ac8(0x3b0)]-0x1,_0x33697a;_0x430ac3>=0x0;_0x430ac3--)(_0x33697a=_0x3d3cf9[_0x430ac3])&&(_0x5738a0=_0x33697a(_0x5738a0)||_0x5738a0);return _0x5738a0;},_0x4056ad=(_0xcd5b1c,_0x3d4358)=>(_0x4fd1d4,_0x29729a)=>_0x3d4358(_0x4fd1d4,_0x29729a,_0xcd5b1c);_0x3fac21[_0x964c6d(0x38f)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x167374,_0x11e48f,_0xcd592d,_0x558d2c){const _0x54d09b=_0x964c6d;super(),_0x2e1f76(this,_0x54d09b(0x2b3),new _0xa893e5[(_0x54d09b(0x1e7))](_0x1fb374[_0x54d09b(0x37f)][_0x54d09b(0x2a8)])),(this[_0x54d09b(0x2ec)]=_0x167374,this[_0x54d09b(0x222)]=_0x11e48f,this[_0x54d09b(0x2f5)]=_0xcd592d,this[_0x54d09b(0x2e0)]=_0x558d2c,this['_initStatusComponent'](),this[_0x54d09b(0x1c9)]());}[_0x964c6d(0x1c9)](){const _0x3de371=_0x964c6d;this[_0x3de371(0x2ba)](this['_univerInstanceService'][_0x3de371(0x3e3)][_0x3de371(0x3e0)](_0xa893e5[_0x3de371(0x253)](()=>{const _0xef2f92=_0x3de371,_0x2fe44a=this[_0xef2f92(0x2ec)]['getFocusedUnit']();return _0x2fe44a?this['_collaborationController'][_0xef2f92(0x318)](_0x2fe44a[_0xef2f92(0x2fa)]()):_0xa893e5['of'](null);}),_0xa893e5['switchMap'](_0x2f81ee=>_0x2f81ee?_0x2f81ee[_0x3de371(0x30c)]:_0xa893e5['of'](_0x1fb374[_0x3de371(0x37f)]['NOT_COLLAB'])))[_0x3de371(0x3ec)](_0x15af0d=>{const _0x35dc5a=_0x3de371;this[_0x35dc5a(0x2b3)]['next'](_0x15af0d);}));}['_initStatusComponent'](){const _0x20ddef=_0x964c6d;this['disposeWithMe'](this['_uiPartsService'][_0x20ddef(0x2aa)](_0x5aad63[_0x20ddef(0x292)][_0x20ddef(0x335)],()=>_0x5aad63[_0x20ddef(0x31b)](_0x454310({'status$':this[_0x20ddef(0x2b3)][_0x20ddef(0x2b1)]()}),this[_0x20ddef(0x222)])));}},_0x3fac21['DesktopCollaborationStatusDisplayController']=_0x15f736([_0x4056ad(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x4056ad(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x4056ad(0x2,_0x17a0d6['Inject'](_0x1fb374['CollaborationController'])),_0x4056ad(0x3,_0x5aad63[_0x964c6d(0x225)])],_0x3fac21[_0x964c6d(0x38f)]);function _0x454310(_0x182d2a){const {status$:_0x4728de}=_0x182d2a;return function(){const _0x98ac36=_0x12c4;return _0x1c574a[_0x98ac36(0x1a8)](_0x531a04,{'status$':_0x4728de});};}var _0x55750b=Object[_0x964c6d(0x236)],_0xbb3464=(_0xb88d67,_0x4adfdd,_0x162f45,_0x54d16a)=>{const _0x4a3f10=_0x964c6d;for(var _0x2ce604=_0x54d16a>0x1?void 0x0:_0x54d16a?_0x55750b(_0x4adfdd,_0x162f45):_0x4adfdd,_0x2e226f=_0xb88d67[_0x4a3f10(0x3b0)]-0x1,_0x385df4;_0x2e226f>=0x0;_0x2e226f--)(_0x385df4=_0xb88d67[_0x2e226f])&&(_0x2ce604=_0x385df4(_0x2ce604)||_0x2ce604);return _0x2ce604;},_0x589aef=(_0x5af74f,_0x57fa70)=>(_0x17c1e0,_0x109e20)=>_0x57fa70(_0x17c1e0,_0x109e20,_0x5af74f);let _0x517629=class extends _0x17a0d6['Disposable']{constructor(_0x2ee52d,_0x54d548,_0x10743f,_0x1409fe,_0x207e81,_0x3ceee2){const _0x50c238=_0x964c6d;super(),this['_beforeCloseService']=_0x2ee52d,this[_0x50c238(0x171)]=_0x54d548,this[_0x50c238(0x1c4)]=_0x10743f,this[_0x50c238(0x1be)]=_0x1409fe,this['_notificationService']=_0x207e81,this['_localeService']=_0x3ceee2,this[_0x50c238(0x36b)](),this[_0x50c238(0x2d0)]();}['_setupBeforeClosingHandler'](){const _0x408bab=_0x964c6d;this[_0x408bab(0x2ba)](this[_0x408bab(0x364)][_0x408bab(0x22c)](()=>{const _0x4b8760=_0x408bab;if(this[_0x4b8760(0x171)]['saveTaskMap'][_0x4b8760(0x3eb)])return this[_0x4b8760(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x964c6d(0x2d0)](){const _0x30dd9e=_0x964c6d;this[_0x30dd9e(0x2ba)](this[_0x30dd9e(0x1c4)][_0x30dd9e(0x1e3)][_0x30dd9e(0x3ec)](_0x2a1ad8=>{const _0x395f18=_0x30dd9e;_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this['_localeService']['t'](_0x395f18(0x2e5))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x389)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['PERMISSION_DENIED']&&this[_0x395f18(0x1e4)][_0x395f18(0x3c3)]({'title':this[_0x395f18(0x2b9)]['t']('permission.title'),'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x2a1)),'type':_0x395f18(0x232),'duration':0x0}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['CONFLICT']&&this['_messageService']['show']({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))+'('+_0x2a1ad8[_0x395f18(0x169)]+')'}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['JOIN_ROOM_FAILED']&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x2a1ad8['data']||'')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x262)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x392))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x1c1)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d['MessageType'][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t']('session.connection-failed')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x21f)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x214))});}));}};_0x517629=_0xbb3464([_0x589aef(0x0,_0x5aad63['IBeforeCloseService']),_0x589aef(0x1,_0x1fb374[_0x964c6d(0x183)]),_0x589aef(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x3f5)])),_0x589aef(0x3,_0x5aad63[_0x964c6d(0x34a)]),_0x589aef(0x4,_0x5aad63[_0x964c6d(0x33d)]),_0x589aef(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x517629);const _0x326b37=_0x964c6d(0x394),_0x41abbc={},_0x58f6e4=_0x17a0d6[_0x964c6d(0x308)](_0x964c6d(0x1c7));var _0x1d1445=Object[_0x964c6d(0x236)],_0x443404=(_0x453b68,_0x5a80cd,_0x5bd929,_0x394d86)=>{const _0x48916c=_0x964c6d;for(var _0x6b2c81=_0x394d86>0x1?void 0x0:_0x394d86?_0x1d1445(_0x5a80cd,_0x5bd929):_0x5a80cd,_0x26cecc=_0x453b68[_0x48916c(0x3b0)]-0x1,_0x25b7c6;_0x26cecc>=0x0;_0x26cecc--)(_0x25b7c6=_0x453b68[_0x26cecc])&&(_0x6b2c81=_0x25b7c6(_0x6b2c81)||_0x6b2c81);return _0x6b2c81;},_0x42e3ef=(_0x8cf68a,_0x1ac9b6)=>(_0x515884,_0x4f4727)=>_0x1ac9b6(_0x515884,_0x4f4727,_0x8cf68a);_0x3fac21[_0x964c6d(0x328)]=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x9c6b55,_0x80eba,_0x42512f,_0x1024a5,_0xe6d049){const _0x127c19=_0x964c6d;super(),this[_0x127c19(0x3bd)]=_0x9c6b55,this[_0x127c19(0x3f1)]=_0x80eba,this[_0x127c19(0x1bf)]=_0x42512f,this['_dataLoaderService']=_0x1024a5,_0xe6d049?_0xe6d049==null||_0xe6d049[_0x127c19(0x20f)]()[_0x127c19(0x1c8)](()=>this[_0x127c19(0x272)]()):(this[_0x127c19(0x3f1)]['debug'](_0x127c19(0x188),_0x127c19(0x2cc)),this[_0x127c19(0x272)]());}async[_0x964c6d(0x272)](){const _0x140d12=_0x964c6d,_0x46593b=this[_0x140d12(0x3bd)]['getParam']('unit'),_0x1fb84b=this[_0x140d12(0x3bd)][_0x140d12(0x2e7)](_0x140d12(0x36f)),_0x35eb5c=this['_urlService'][_0x140d12(0x2e7)](_0x140d12(0x2d6));if(!_0x46593b||!_0x1fb84b){this['_logService']['debug'](_0x140d12(0x188),_0x140d12(0x275));return;}const _0x443c8f=await this[_0x140d12(0x2d2)]['loadUnit'](_0x46593b,Number(_0x1fb84b),_0x35eb5c);_0x443c8f&&_0x443c8f instanceof _0x17a0d6[_0x140d12(0x1a6)]&&this['_setupSubUnitSync'](_0x443c8f);}async[_0x964c6d(0x248)](_0x2702ee){const _0x4cda32=_0x964c6d;await this[_0x4cda32(0x35e)](_0x2702ee),_0x2702ee[_0x4cda32(0x2da)][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](_0x363fbb=>{const _0x435314=_0x4cda32;_0x363fbb&&this[_0x435314(0x1c3)](_0x363fbb);}),this[_0x4cda32(0x3bd)]['urlChange$'][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](()=>this[_0x4cda32(0x35e)](_0x2702ee));}[_0x964c6d(0x1c3)](_0x847895,_0x1c91de=!0x1){const _0x4eb8be=_0x964c6d,_0x571004=this[_0x4eb8be(0x3bd)][_0x4eb8be(0x2e7)](_0x4eb8be(0x2d6));_0x847895[_0x4eb8be(0x315)]()!==_0x571004&&this[_0x4eb8be(0x3bd)][_0x4eb8be(0x312)](_0x4eb8be(0x2d6),_0x847895[_0x4eb8be(0x315)](),_0x1c91de);}async[_0x964c6d(0x35e)](_0x5b4fba){const _0x235b00=_0x964c6d;var _0x27b87b;const _0x2c46aa=this[_0x235b00(0x3bd)][_0x235b00(0x2e7)](_0x235b00(0x2d6));if(!_0x2c46aa||!_0x5b4fba[_0x235b00(0x216)](_0x2c46aa)){const _0xfc2290=_0x5b4fba[_0x235b00(0x2d7)]()[0x0],_0x3237d8=_0x5b4fba['getSheetBySheetId'](_0xfc2290);if(!_0x3237d8)return;this[_0x235b00(0x1c3)](_0x3237d8,!0x0),await this[_0x235b00(0x1bf)][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba[_0x235b00(0x2fa)](),'subUnitId':_0xfc2290});return;}((_0x27b87b=_0x5b4fba[_0x235b00(0x260)]())==null?void 0x0:_0x27b87b[_0x235b00(0x315)]())!==_0x2c46aa&&await this['_commandService'][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba['getUnitId'](),'subUnitId':_0x2c46aa});}},_0x3fac21[_0x964c6d(0x328)]=_0x443404([_0x42e3ef(0x0,_0x58f6e4),_0x42e3ef(0x1,_0x17a0d6[_0x964c6d(0x25c)]),_0x42e3ef(0x2,_0x17a0d6[_0x964c6d(0x351)]),_0x42e3ef(0x3,_0x17a0d6['Inject'](_0x1fb374['DataLoaderService'])),_0x42e3ef(0x4,_0x17a0d6[_0x964c6d(0x1b7)](_0x1f9553['IRemoteInstanceService']))],_0x3fac21['CollaborationDataLoaderController']);var _0x1c3156=Object[_0x964c6d(0x236)],_0x496fed=(_0x5ddf14,_0x556adf,_0x35ec2c,_0x540d71)=>{for(var _0x2e57fe=_0x540d71>0x1?void 0x0:_0x540d71?_0x1c3156(_0x556adf,_0x35ec2c):_0x556adf,_0x276d88=_0x5ddf14['length']-0x1,_0x10972a;_0x276d88>=0x0;_0x276d88--)(_0x10972a=_0x5ddf14[_0x276d88])&&(_0x2e57fe=_0x10972a(_0x2e57fe)||_0x2e57fe);return _0x2e57fe;},_0x16bf98=(_0x2212b1,_0xfd878d)=>(_0x4845d8,_0x2f107b)=>_0xfd878d(_0x4845d8,_0x2f107b,_0x2212b1);let _0x24de38=class{constructor(_0x170620,_0x17f19b,_0x79f47f){const _0x5eed28=_0x964c6d;this[_0x5eed28(0x222)]=_0x170620,this[_0x5eed28(0x354)]=_0x17f19b,this[_0x5eed28(0x339)]=_0x79f47f;}['transformIMECache'](_0x27e7f0){const _0x7d2110=_0x964c6d;this[_0x7d2110(0x211)](_0x27e7f0),this[_0x7d2110(0x1ba)](_0x27e7f0);}[_0x964c6d(0x277)](_0x511c7f){const _0xe15503=_0x964c6d,{unitID:_0x34310b}=_0x511c7f,_0x38e1e3=this['_renderManagerService'][_0xe15503(0x3e5)](_0x34310b)['with'](_0x21bec9[_0xe15503(0x1d3)]),{redoCache:_0x4a94f1}=_0x38e1e3[_0xe15503(0x2f6)]();if(_0x4a94f1[_0xe15503(0x3b0)]===0x0)return _0x511c7f;let _0x5e1599=_0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f[_0xe15503(0x251)][0x0]);for(let _0x20ddde=0x0;_0x20ddde<_0x4a94f1[_0xe15503(0x3b0)];_0x20ddde++){const _0x27bb70={'id':'doc.mutation.rich-text-editing','params':{..._0x4a94f1[_0x20ddde]}},_0x50b62b=this['_transformService'][_0xe15503(0x28d)](_0x5e1599,_0x27bb70,!0x1);if(_0x2226d4[_0xe15503(0x398)](_0x50b62b))throw _0x50b62b[_0xe15503(0x232)];_0x5e1599=_0x50b62b[_0xe15503(0x18b)];}return{..._0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f),'mutations':[_0x5e1599]};}['_transformUndoRedoStack'](_0x3a258d){const _0x3d4579=_0x964c6d,{unitID:_0xf07b0e}=_0x3a258d,_0x2f2d00=this['_renderManagerService'][_0x3d4579(0x3e5)](_0xf07b0e)['with'](_0x21bec9['DocIMEInputManagerService']),{undoCache:_0x52bdd6,redoCache:_0x179e6d}=_0x2f2d00[_0x3d4579(0x2f6)]();if(_0x52bdd6['length']===0x0||_0x179e6d[_0x3d4579(0x3b0)]===0x0)return;const _0x20bd12=[],_0x328b58=[];let _0x14473f=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d[_0x3d4579(0x251)][0x0]),_0x26194a=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d['mutations'][0x0]);for(let _0x4d29a0=_0x52bdd6[_0x3d4579(0x3b0)]-0x1;_0x4d29a0>=0x0;_0x4d29a0--){const _0x5d75ce={'id':_0x3d4579(0x26a),'params':{..._0x52bdd6[_0x4d29a0]}},_0x49fc85={'id':'doc.mutation.rich-text-editing','params':{..._0x179e6d[_0x4d29a0]}},_0x40edb8=this['_transformService'][_0x3d4579(0x28d)](_0x14473f,_0x5d75ce,!0x1),_0x2ccbfd=this['_transformService'][_0x3d4579(0x28d)](_0x26194a,_0x49fc85,!0x1);if(_0x2226d4[_0x3d4579(0x398)](_0x40edb8))throw _0x40edb8[_0x3d4579(0x232)];if(_0x2226d4[_0x3d4579(0x398)](_0x2ccbfd))throw _0x2ccbfd[_0x3d4579(0x232)];_0x20bd12[_0x3d4579(0x342)](_0x40edb8[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x328b58['unshift'](_0x2ccbfd[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x14473f=_0x40edb8[_0x3d4579(0x18b)],_0x26194a=_0x2ccbfd[_0x3d4579(0x18b)];}_0x2f2d00[_0x3d4579(0x381)]({'undoCache':_0x20bd12,'redoCache':_0x328b58});}[_0x964c6d(0x1ba)](_0x119cd9){const _0x22f502=_0x964c6d,{unitID:_0x147a3a}=_0x119cd9,_0x59418a=this[_0x22f502(0x339)][_0x22f502(0x3e5)](_0x147a3a)[_0x22f502(0x296)](_0x21bec9[_0x22f502(0x1d3)]),_0x2bdbf4=_0x59418a[_0x22f502(0x3ed)]();if(_0x2bdbf4==null)return;const _0x349763=[{'id':_0x22f502(0x26a),'params':{'unitId':_0x119cd9[_0x22f502(0x241)],'actions':null,'textRanges':[_0x2bdbf4]}}],_0x41ded2=this[_0x22f502(0x354)]['transformMutationsWithChangeset'](_0x119cd9,_0x349763);if(!_0x2226d4[_0x22f502(0x3ef)](_0x41ded2))throw _0x41ded2[_0x22f502(0x232)];const _0x393de2=_0x41ded2[_0x22f502(0x1ac)][0x0][_0x22f502(0x290)][_0x22f502(0x39a)];Array[_0x22f502(0x288)](_0x393de2)&&_0x393de2['length']&&_0x59418a[_0x22f502(0x396)](_0x393de2[0x0]);}};_0x24de38=_0x496fed([_0x16bf98(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x16bf98(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x16bf98(0x2,_0x4826e7[_0x964c6d(0x311)])],_0x24de38);var _0x2f1edf=Object[_0x964c6d(0x236)],_0x42f7ab=(_0x43d517,_0x5abe99,_0x7e80b6,_0xd0935b)=>{const _0x3ebbb5=_0x964c6d;for(var _0x3e179c=_0xd0935b>0x1?void 0x0:_0xd0935b?_0x2f1edf(_0x5abe99,_0x7e80b6):_0x5abe99,_0x96a6f3=_0x43d517[_0x3ebbb5(0x3b0)]-0x1,_0x556d26;_0x96a6f3>=0x0;_0x96a6f3--)(_0x556d26=_0x43d517[_0x96a6f3])&&(_0x3e179c=_0x556d26(_0x3e179c)||_0x3e179c);return _0x3e179c;},_0x2bcc80=(_0xce0a0e,_0x424032)=>(_0x6ed88d,_0x167566)=>_0x424032(_0x6ed88d,_0x167566,_0xce0a0e);let _0x152fd8=class{constructor(_0x4c58f4,_0x4b1ad0,_0x44a0e0){const _0x8bd05c=_0x964c6d;this['_injector']=_0x4c58f4,this[_0x8bd05c(0x354)]=_0x4b1ad0,this['_docStateChangeManagerService']=_0x44a0e0;}['transformStateCache'](_0x1df406){const _0x59d81c=_0x964c6d;this[_0x59d81c(0x16d)](_0x1df406);}[_0x964c6d(0x277)](_0x6dbb0a){const _0x4b2a4f=_0x964c6d,{unitID:_0x272e6b}=_0x6dbb0a,{collaboration:_0x27eee7}=this[_0x4b2a4f(0x39e)][_0x4b2a4f(0x27b)](_0x272e6b);if(_0x27eee7[_0x4b2a4f(0x3b0)]===0x0)return _0x6dbb0a;let _0x32a1b3=_0x17a0d6[_0x4b2a4f(0x37b)][_0x4b2a4f(0x2ea)](_0x6dbb0a[_0x4b2a4f(0x251)][0x0]);for(let _0x1f5c40=0x0;_0x1f5c40<_0x27eee7[_0x4b2a4f(0x3b0)];_0x1f5c40++){const _0x2fead8={'id':_0x4b2a4f(0x26a),'params':{'unitId':_0x27eee7[_0x1f5c40][_0x4b2a4f(0x314)],..._0x27eee7[_0x1f5c40]['redoState']}},_0x5cce72=this['_transformService'][_0x4b2a4f(0x28d)](_0x32a1b3,_0x2fead8,!0x1);if(_0x2226d4[_0x4b2a4f(0x398)](_0x5cce72))throw _0x5cce72[_0x4b2a4f(0x232)];_0x32a1b3=_0x5cce72[_0x4b2a4f(0x18b)];}return{..._0x17a0d6['Tools'][_0x4b2a4f(0x2ea)](_0x6dbb0a),'mutations':[_0x32a1b3]};}[_0x964c6d(0x16d)](_0x353952){const _0x286182=_0x964c6d,{unitID:_0x540c2a}=_0x353952,{history:_0x331781,collaboration:_0x383c53}=this[_0x286182(0x39e)][_0x286182(0x27b)](_0x540c2a);if(_0x331781[_0x286182(0x3b0)]===0x0&&_0x383c53[_0x286182(0x3b0)]===0x0)return;const _0xf5d545=[],_0x2864a4=[];let _0x3ddb88=_0x17a0d6['Tools']['deepClone'](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)][_0x286182(0x2ea)](_0x353952[_0x286182(0x251)][0x0]);for(let _0x3dc52d=_0x331781[_0x286182(0x3b0)]-0x1;_0x3dc52d>=0x0;_0x3dc52d--){const _0x5040b6={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d][_0x286182(0x314)],..._0x331781[_0x3dc52d][_0x286182(0x2ff)]}},_0xf50dd5={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d]['unitId'],..._0x331781[_0x3dc52d][_0x286182(0x23f)]}},_0x1d6aca=this[_0x286182(0x354)]['transformMutation'](_0x3ddb88,_0x5040b6,!0x1),_0x4af5db=this['_transformService'][_0x286182(0x28d)](_0x5290d4,_0xf50dd5,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x1d6aca))throw _0x1d6aca[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x4af5db))throw _0x4af5db['error'];_0xf5d545[_0x286182(0x342)]({..._0x331781[_0x3dc52d],'undoState':_0x1d6aca[_0x286182(0x1ac)][_0x286182(0x290)],'redoState':_0x4af5db[_0x286182(0x1ac)][_0x286182(0x290)]}),_0x3ddb88=_0x1d6aca[_0x286182(0x18b)],_0x5290d4=_0x4af5db[_0x286182(0x18b)];}_0x3ddb88=_0x17a0d6['Tools'][_0x286182(0x2ea)](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)]['deepClone'](_0x353952[_0x286182(0x251)][0x0]);for(let _0x9e4314=_0x383c53[_0x286182(0x3b0)]-0x1;_0x9e4314>=0x0;_0x9e4314--){const _0x27c5a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x383c53[_0x9e4314]['unitId'],..._0x383c53[_0x9e4314][_0x286182(0x2ff)]}},_0x1f4b45={'id':_0x286182(0x26a),'params':{'unitId':_0x383c53[_0x9e4314][_0x286182(0x314)],..._0x383c53[_0x9e4314]['redoState']}},_0x405036=this['_transformService'][_0x286182(0x28d)](_0x3ddb88,_0x27c5a5,!0x1),_0x1d4d69=this[_0x286182(0x354)]['transformMutation'](_0x5290d4,_0x1f4b45,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x405036))throw _0x405036[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x1d4d69))throw _0x1d4d69['error'];_0x2864a4[_0x286182(0x342)]({..._0x383c53[_0x9e4314],'undoState':_0x405036[_0x286182(0x1ac)]['params'],'redoState':_0x1d4d69['m2Prime']['params']}),_0x3ddb88=_0x405036[_0x286182(0x18b)],_0x5290d4=_0x1d4d69[_0x286182(0x18b)];}this[_0x286182(0x39e)][_0x286182(0x2e8)](_0x540c2a,{'history':_0xf5d545,'collaboration':_0x2864a4});}};_0x152fd8=_0x42f7ab([_0x2bcc80(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2bcc80(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x2bcc80(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9[_0x964c6d(0x186)]))],_0x152fd8);var _0x2b308b=Object[_0x964c6d(0x236)],_0x8d3d9b=(_0x348f9c,_0xd40b0d,_0x47e7ca,_0x2b2f80)=>{const _0x363b61=_0x964c6d;for(var _0x468b49=_0x2b2f80>0x1?void 0x0:_0x2b2f80?_0x2b308b(_0xd40b0d,_0x47e7ca):_0xd40b0d,_0x5a2c80=_0x348f9c[_0x363b61(0x3b0)]-0x1,_0x12faed;_0x5a2c80>=0x0;_0x5a2c80--)(_0x12faed=_0x348f9c[_0x5a2c80])&&(_0x468b49=_0x12faed(_0x468b49)||_0x468b49);return _0x468b49;},_0x2603ea=(_0x149837,_0x19f7fd)=>(_0x38fb2d,_0x451d8b)=>_0x19f7fd(_0x38fb2d,_0x451d8b,_0x149837);let _0x597690=class{constructor(_0x19805b,_0x3828d3){const _0x5e6cda=_0x964c6d;this[_0x5e6cda(0x222)]=_0x19805b,this[_0x5e6cda(0x354)]=_0x3828d3;}[_0x964c6d(0x333)](_0x8b73de){const _0x6f332b=_0x964c6d;var _0x46814e;const _0xd8e862=this['_injector'][_0x6f332b(0x17d)](_0x566265['DocSelectionManagerService']),_0x5256b9=(_0x46814e=_0xd8e862['getDocRanges']())!=null?_0x46814e:[];if(_0x5256b9[_0x6f332b(0x3b0)]===0x0)return;const _0x483d84=_0x8b73de[_0x6f332b(0x241)],_0x1579db=[{'id':_0x6f332b(0x26a),'params':{'unitId':_0x483d84,'actions':null,'textRanges':_0x5256b9}}],_0x17ec4d=this[_0x6f332b(0x354)][_0x6f332b(0x319)](_0x8b73de,_0x1579db);if(!_0x2226d4[_0x6f332b(0x3ef)](_0x17ec4d))throw _0x17ec4d['error'];const _0x33eaf4=_0x17ec4d[_0x6f332b(0x1ac)][0x0][_0x6f332b(0x290)][_0x6f332b(0x39a)];Array[_0x6f332b(0x288)](_0x33eaf4)&&_0x33eaf4[_0x6f332b(0x3b0)]&&_0xd8e862['replaceDocRanges'](_0x33eaf4,{'unitId':_0x483d84,'subUnitId':_0x483d84},!0x1);}};_0x597690=_0x8d3d9b([_0x2603ea(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2603ea(0x1,_0x2226d4[_0x964c6d(0x181)])],_0x597690);var _0x1f3bd5=Object['getOwnPropertyDescriptor'],_0x551aae=(_0x13d260,_0x303970,_0x562bb1,_0x2cf388)=>{for(var _0x39ca5d=_0x2cf388>0x1?void 0x0:_0x2cf388?_0x1f3bd5(_0x303970,_0x562bb1):_0x303970,_0x1d8576=_0x13d260['length']-0x1,_0x4adf12;_0x1d8576>=0x0;_0x1d8576--)(_0x4adf12=_0x13d260[_0x1d8576])&&(_0x39ca5d=_0x4adf12(_0x39ca5d)||_0x39ca5d);return _0x39ca5d;},_0x55b251=(_0x33a463,_0x45e0b0)=>(_0x5abce4,_0xf4396)=>_0x45e0b0(_0x5abce4,_0xf4396,_0x33a463);let _0x438c91=class extends _0x17a0d6['Disposable']{constructor(_0x7ac236,_0x46cbac,_0xd74259,_0x23a15b,_0x5eed90,_0x4264d1,_0x35014c,_0x41f450){const _0x415681=_0x964c6d;super(),_0x2e1f76(this,_0x415681(0x2b3),new _0xa893e5[(_0x415681(0x1e7))](_0x1fb374[_0x415681(0x37f)][_0x415681(0x2a8)])),(this[_0x415681(0x39e)]=_0x7ac236,this[_0x415681(0x2f5)]=_0x46cbac,this[_0x415681(0x3ea)]=_0xd74259,this[_0x415681(0x2c3)]=_0x23a15b,this[_0x415681(0x313)]=_0x5eed90,this['_docSyncEditingCollabCursorService']=_0x4264d1,this[_0x415681(0x1be)]=_0x35014c,this[_0x415681(0x2b9)]=_0x41f450,this[_0x415681(0x1a9)]());}['_initEntityListener'](){const _0x933169=_0x964c6d;this[_0x933169(0x2ba)](this['_collaborationController']['entityInit$'][_0x933169(0x3ec)](_0x5520c3=>{const _0x3683b7=_0x933169,_0x5a52fb=this[_0x3683b7(0x39e)][_0x3683b7(0x39b)][_0x3683b7(0x3ec)](_0x3b254b=>{const _0x4d794e=_0x3683b7;if(_0x3b254b==null)return;const {unitId:_0x48e519,redoState:_0x441373,commandId:_0x38183d}=_0x3b254b;if(_0x48e519!==_0x5520c3[_0x4d794e(0x241)])return;const _0x5a5dd8={'id':_0x38183d,'type':_0x17a0d6[_0x4d794e(0x269)]['MUTATION'],'params':{'unitId':_0x48e519,'actions':_0x441373[_0x4d794e(0x18f)],'textRanges':null}};_0x5520c3[_0x4d794e(0x30f)](_0x5a5dd8);});if(_0x5520c3[_0x3683b7(0x2ba)](_0x5a52fb),_0x5520c3 instanceof _0x1fb374[_0x3683b7(0x213)]){const _0xd08443={'onTransformIME':_0x106660=>this['_docTransformIMECacheService'][_0x3683b7(0x173)](_0x106660),'onTransformState':_0x3d6ee0=>this[_0x3683b7(0x2c3)][_0x3683b7(0x367)](_0x3d6ee0),'onTransformSelections':_0x273612=>this[_0x3683b7(0x313)][_0x3683b7(0x333)](_0x273612),'onSyncEditingCollabCursor':_0x4ec569=>this[_0x3683b7(0x231)][_0x3683b7(0x19d)](_0x4ec569),'onTransformRemoteChangesetByIMECache':_0x1d9546=>this[_0x3683b7(0x3ea)][_0x3683b7(0x277)](_0x1d9546),'onTransformRemoteChangesetByStateCache':_0x2ab8ee=>this[_0x3683b7(0x2c3)]['transformRemoteChangeset'](_0x2ab8ee)};_0x5520c3[_0x3683b7(0x265)](_0xd08443);}}));}};_0x438c91=_0x551aae([_0x55b251(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9['DocStateChangeManagerService'])),_0x55b251(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x3d4)])),_0x55b251(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x24de38)),_0x55b251(0x3,_0x17a0d6['Inject'](_0x152fd8)),_0x55b251(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x597690)),_0x55b251(0x5,_0x17a0d6['Inject'](_0x6e5760)),_0x55b251(0x6,_0x5aad63[_0x964c6d(0x34a)]),_0x55b251(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x438c91);var _0x5e206e=Object[_0x964c6d(0x236)],_0x366df5=(_0x15c1ac,_0x4378d5,_0x39adef,_0x38bf7d)=>{const _0x577339=_0x964c6d;for(var _0x1807ed=_0x38bf7d>0x1?void 0x0:_0x38bf7d?_0x5e206e(_0x4378d5,_0x39adef):_0x4378d5,_0x1f9a41=_0x15c1ac[_0x577339(0x3b0)]-0x1,_0xfa1a89;_0x1f9a41>=0x0;_0x1f9a41--)(_0xfa1a89=_0x15c1ac[_0x1f9a41])&&(_0x1807ed=_0xfa1a89(_0x1807ed)||_0x1807ed);return _0x1807ed;},_0x46ddda=(_0x27f8c9,_0x83d7f9)=>(_0x32f03e,_0x450d16)=>_0x83d7f9(_0x32f03e,_0x450d16,_0x27f8c9);let _0x41fdb=class extends _0x17a0d6['Disposable']{constructor(_0x39b03b,_0x182f89,_0x4731f8){const _0x22d082=_0x964c6d;super(),_0x2e1f76(this,_0x22d082(0x2dc),new Map()),_0x2e1f76(this,_0x22d082(0x26f),new Map()),_0x2e1f76(this,'_disabled',!0x1),(this[_0x22d082(0x322)]=_0x39b03b,this[_0x22d082(0x1d1)]=_0x182f89,this[_0x22d082(0x355)]=_0x4731f8);}['disableLocalCache'](){const _0x5647e1=_0x964c6d;this[_0x5647e1(0x230)]=!0x0;}[_0x964c6d(0x3b9)](){this['_disabled']=!0x1;}get[_0x964c6d(0x3db)](){const _0x47c0e2=_0x964c6d;return this[_0x47c0e2(0x26f)];}[_0x964c6d(0x2bd)](){const _0x4ba2a8=_0x964c6d;this[_0x4ba2a8(0x30d)]()['then'](()=>super[_0x4ba2a8(0x2bd)]());}async[_0x964c6d(0x382)](_0x3b9432){const _0x35f5a1=_0x964c6d;return this['_disabled']?null:this[_0x35f5a1(0x1d1)]['getItem'](_0x1fb374[_0x35f5a1(0x38c)](_0x3b9432));}async[_0x964c6d(0x1ec)](_0x59739d,_0x3d5900){return!!this['_localStorageService']['setItem'](_0x59739d,_0x3d5900);}['updateOfflineData'](_0x211e2d,_0x20bace,_0x551727,_0x3a14bb){const _0x5f4e40=_0x964c6d,_0x53cf98=this[_0x5f4e40(0x355)]['getCurrentRevOfUnit'](_0x211e2d);this['_cachedData'][_0x5f4e40(0x26d)](_0x211e2d,{'unitID':_0x211e2d,'type':_0x20bace,'awaitingChangeset':_0x551727,'mutations':_0x3a14bb,'rev':_0x53cf98}),this['_saveTaskMap']['has'](_0x211e2d)||this[_0x5f4e40(0x19b)](_0x211e2d);}[_0x964c6d(0x19b)](_0x457ef1){const _0x2f1ce4=_0x964c6d,_0x59bf17=this[_0x2f1ce4(0x287)]();_0x59bf17===0x0?this['_saveCache'](_0x457ef1):this['_saveTaskMap'][_0x2f1ce4(0x26d)](_0x457ef1,setTimeout(()=>this[_0x2f1ce4(0x195)](_0x457ef1),_0x59bf17));}['_getSaveTimeout'](){const _0x40e1db=_0x964c6d;var _0x33ab3f;return(_0x33ab3f=this[_0x40e1db(0x322)][_0x40e1db(0x32c)](_0x1fb374[_0x40e1db(0x1d8)]))!=null?_0x33ab3f:_0x1fb374['LOCAL_CACHE_INTERVAL'];}[_0x964c6d(0x195)](_0x1fe1b6){const _0x5e2a80=_0x964c6d,_0x2fb7ea=this[_0x5e2a80(0x26f)]['get'](_0x1fe1b6);return _0x2fb7ea!==void 0x0&&window['clearTimeout'](_0x2fb7ea),this[_0x5e2a80(0x1d1)]['setItem'](_0x1fb374[_0x5e2a80(0x38c)](_0x1fe1b6),this[_0x5e2a80(0x2dc)][_0x5e2a80(0x17d)](_0x1fe1b6))[_0x5e2a80(0x1c8)](()=>this[_0x5e2a80(0x26f)][_0x5e2a80(0x31e)](_0x1fe1b6));}async[_0x964c6d(0x30d)](){const _0x5a141b=_0x964c6d,_0x59c4f6=[];this[_0x5a141b(0x26f)]['forEach']((_0x16aa8f,_0x24a9c1)=>{const _0x12056b=_0x5a141b;window[_0x12056b(0x36e)](_0x16aa8f),_0x59c4f6[_0x12056b(0x28c)](this[_0x12056b(0x195)](_0x24a9c1)[_0x12056b(0x1c8)](()=>{const _0x178c7e=_0x12056b;this[_0x178c7e(0x26f)][_0x178c7e(0x31e)](_0x24a9c1);}));}),await Promise[_0x5a141b(0x35c)](_0x59c4f6);}};_0x41fdb=_0x366df5([_0x46ddda(0x0,_0x17a0d6[_0x964c6d(0x23b)]),_0x46ddda(0x1,_0x17a0d6[_0x964c6d(0x320)]),_0x46ddda(0x2,_0x17a0d6['Inject'](_0x2226d4[_0x964c6d(0x397)]))],_0x41fdb);class _0x1daf05 extends _0x17a0d6['RxDisposable']{constructor(){const _0x5eaef7=_0x964c6d;super(),_0x2e1f76(this,_0x5eaef7(0x362)),this[_0x5eaef7(0x362)]=_0xa893e5[_0x5eaef7(0x293)](window,_0x5eaef7(0x2be))[_0x5eaef7(0x3e0)](_0xa893e5[_0x5eaef7(0x345)](this[_0x5eaef7(0x1d7)]),_0xa893e5['shareReplay'](0x1),_0xa893e5[_0x5eaef7(0x3d3)](void 0x0));}['setParam'](_0xbbcd65,_0x23402a,_0x3dcb9d=!0x1){const _0x2aa91f=_0x964c6d,_0x23511b=new URL(window[_0x2aa91f(0x35d)][_0x2aa91f(0x2b0)]);_0x23511b[_0x2aa91f(0x3bb)]['set'](_0xbbcd65,_0x23402a),_0x3dcb9d?window[_0x2aa91f(0x395)][_0x2aa91f(0x167)]('','',_0x23511b[_0x2aa91f(0x192)]()):window[_0x2aa91f(0x395)][_0x2aa91f(0x2bc)]('','',_0x23511b[_0x2aa91f(0x192)]());}[_0x964c6d(0x307)](_0x373485,_0x3247a1=!0x1){const _0x3f649a=_0x964c6d,_0x487205=new URL(window[_0x3f649a(0x35d)]['href']);_0x487205[_0x3f649a(0x3bb)][_0x3f649a(0x31e)](_0x373485),_0x3247a1?window[_0x3f649a(0x395)][_0x3f649a(0x167)]('','',_0x487205['toString']()):window[_0x3f649a(0x395)][_0x3f649a(0x2bc)]('','',_0x487205[_0x3f649a(0x192)]());}[_0x964c6d(0x2e7)](_0x36f757){const _0x3c118d=_0x964c6d;var _0x262408;return(_0x262408=new URL(window[_0x3c118d(0x35d)][_0x3c118d(0x2b0)])['searchParams'][_0x3c118d(0x17d)](_0x36f757))!=null?_0x262408:void 0x0;}}var _0x21a90e=Object['defineProperty'],_0x3b1954=Object[_0x964c6d(0x236)],_0x2e51dd=(_0x3da38e,_0x50f153,_0xfc2c9d)=>_0x50f153 in _0x3da38e?_0x21a90e(_0x3da38e,_0x50f153,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfc2c9d}):_0x3da38e[_0x50f153]=_0xfc2c9d,_0x184f95=(_0x2915b1,_0x3c51c8,_0x2ba877,_0x3d0688)=>{const _0x5beee1=_0x964c6d;for(var _0x101abe=_0x3d0688>0x1?void 0x0:_0x3d0688?_0x3b1954(_0x3c51c8,_0x2ba877):_0x3c51c8,_0x3c3c42=_0x2915b1[_0x5beee1(0x3b0)]-0x1,_0x5790e6;_0x3c3c42>=0x0;_0x3c3c42--)(_0x5790e6=_0x2915b1[_0x3c3c42])&&(_0x101abe=_0x5790e6(_0x101abe)||_0x101abe);return _0x101abe;},_0x5dfd44=(_0x22de15,_0x3ad9dc)=>(_0x2dc91f,_0x4cd4ca)=>_0x3ad9dc(_0x2dc91f,_0x4cd4ca,_0x22de15),_0x10f37e=(_0x10eb6c,_0x166ad6,_0xfcf559)=>_0x2e51dd(_0x10eb6c,_0x166ad6+'',_0xfcf559);const _0xeb19d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3fac21[_0x964c6d(0x3c5)]=class extends _0x17a0d6[_0x964c6d(0x2f1)]{constructor(_0x131aa1=_0x41abbc,_0x7ed9ab,_0x410646,_0x5b9c33){const _0x34d468=_0x964c6d;super(),this[_0x34d468(0x3e9)]=_0x131aa1,this[_0x34d468(0x339)]=_0x7ed9ab,this[_0x34d468(0x222)]=_0x410646,this[_0x34d468(0x322)]=_0x5b9c33;const {..._0x5a5175}=_0x17a0d6[_0x34d468(0x325)]({},_0x41abbc,this[_0x34d468(0x3e9)]);this['_configService']['setConfig'](_0x326b37,_0x5a5175);}[_0x964c6d(0x197)](){const _0x2fb921=_0x964c6d;this[_0x2fb921(0x1e6)](),this['_initDependencies']();}[_0x964c6d(0x1fd)](){const _0x4a54c7=_0x964c6d;this[_0x4a54c7(0x3ce)]();}['_registerDependencies'](){const _0x596a20=_0x964c6d;var _0x4f7cd5;const _0x4e22c8=[[_0x41db9a],[_0x597690],[_0x24de38],[_0x152fd8],[_0x6e5760],[_0x58f6e4,{'useClass':_0x1daf05}],[_0x5600f6[_0x596a20(0x31c)],{'useClass':_0x5600f6[_0x596a20(0x3a9)]}],[_0x1fb374[_0x596a20(0x183)],{'useClass':_0x41fdb}],[_0x3fac21[_0x596a20(0x38f)]],[_0x438c91],[_0x517629],[_0x1fcbad],[_0x566e8b],[_0x3fac21['CollaborationDataLoaderController']]];_0x17a0d6['registerDependencies'](this[_0x596a20(0x222)],_0x17a0d6[_0x596a20(0x2e3)](_0x4e22c8,(_0x4f7cd5=this[_0x596a20(0x3e9)])==null?void 0x0:_0x4f7cd5['override']));}[_0x964c6d(0x3ce)](){const _0x364752=_0x964c6d;this[_0x364752(0x2ba)](this[_0x364752(0x339)]['registerRenderModule'](_0x17a0d6[_0x364752(0x217)][_0x364752(0x206)],[_0x3036df])),this['disposeWithMe'](this[_0x364752(0x339)][_0x364752(0x32e)](_0x17a0d6['UniverInstanceType'][_0x364752(0x254)],[_0x260fea]));}['_initDependencies'](){const _0x4661e2=_0x964c6d;_0x17a0d6[_0x4661e2(0x2f0)](this['_injector'],[[_0x1fcbad],[_0x3fac21['DesktopCollaborationStatusDisplayController']],[_0x438c91],[_0x517629],[_0x3fac21[_0x4661e2(0x328)]]]);}},_0x10f37e(_0x3fac21[_0x964c6d(0x3c5)],_0x964c6d(0x182),_0xeb19d),_0x3fac21[_0x964c6d(0x3c5)]=_0x184f95([_0x17a0d6[_0x964c6d(0x3c0)](_0x1fb374[_0x964c6d(0x291)]),_0x5dfd44(0x1,_0x4826e7['IRenderManagerService']),_0x5dfd44(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x5dfd44(0x3,_0x17a0d6['IConfigService'])],_0x3fac21['UniverCollaborationClientUIPlugin']);var _0xb6dc1=Object['getOwnPropertyDescriptor'],_0x3c809c=(_0x5b033a,_0xb22e1a,_0x1267f2,_0xba9e5)=>{const _0x61477c=_0x964c6d;for(var _0x3b9291=_0xba9e5>0x1?void 0x0:_0xba9e5?_0xb6dc1(_0xb22e1a,_0x1267f2):_0xb22e1a,_0x4bab0e=_0x5b033a[_0x61477c(0x3b0)]-0x1,_0x3f84d0;_0x4bab0e>=0x0;_0x4bab0e--)(_0x3f84d0=_0x5b033a[_0x4bab0e])&&(_0x3b9291=_0x3f84d0(_0x3b9291)||_0x3b9291);return _0x3b9291;},_0x294a9b=(_0x40b382,_0x446c65)=>(_0x19a501,_0x1e77e4)=>_0x446c65(_0x19a501,_0x1e77e4,_0x40b382);_0x3fac21['BrowserCollaborationSocketService']=class extends _0x1fb374['CollaborationSocketService']{constructor(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197){super(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197);}async[_0x964c6d(0x2c5)](_0x5337e5){const _0x45a389=_0x964c6d,_0x192c8f=await this[_0x45a389(0x1a0)](),_0x1da8e8=this[_0x45a389(0x180)](_0x5337e5,_0x192c8f);return this[_0x45a389(0x21d)](_0x1da8e8);}[_0x964c6d(0x180)](_0x3eab3d,_0x4c9296){const _0x200a60=_0x964c6d,_0x2e2342=typeof window>'u'?new URL(_0x3eab3d):new URL(_0x3eab3d,window[_0x200a60(0x35d)][_0x200a60(0x1a1)]);_0x2e2342[_0x200a60(0x3bb)][_0x200a60(0x26d)](_0x200a60(0x21b),_0x4c9296);const _0x52dc34=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x200a60(0x35d)][_0x200a60(0x36d)]);return _0x52dc34[_0x200a60(0x17d)](_0x200a60(0x3cc))&&_0x2e2342['searchParams'][_0x200a60(0x26d)](_0x200a60(0x3cc),_0x52dc34[_0x200a60(0x17d)]('runId')),_0x2e2342[_0x200a60(0x192)]();}async[_0x964c6d(0x1a0)](){const _0x560159=_0x964c6d;var _0x21d4d9,_0x5ca3a3,_0x58b480;const _0x1f25bc=this[_0x560159(0x322)]['getConfig'](_0x1fb374[_0x560159(0x2e2)]),_0x18f7c6=(_0x21d4d9=_0x1f25bc==null?void 0x0:_0x1f25bc[_0x560159(0x185)])!=null?_0x21d4d9:_0x1fb374[_0x560159(0x3c2)];return(_0x58b480=(_0x5ca3a3=(await this[_0x560159(0x384)][_0x560159(0x17d)](_0x18f7c6,{'headers':{'Content-Type':'application/json'}}))[_0x560159(0x310)])==null?void 0x0:_0x5ca3a3[_0x560159(0x385)])!=null?_0x58b480:'';}},_0x3fac21[_0x964c6d(0x38b)]=_0x3c809c([_0x294a9b(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x294a9b(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x294a9b(0x2,_0x17a0d6[_0x964c6d(0x23b)]),_0x294a9b(0x3,_0x17a0d6[_0x964c6d(0x25c)]),_0x294a9b(0x4,_0x2226d4['ISnapshotServerService'])],_0x3fac21[_0x964c6d(0x38b)]);const _0x187591=0x7530,_0x5af4ae=_0x964c6d(0x1ea);class _0x3594d5 extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x1daa23=_0x964c6d;super(),_0x2e1f76(this,_0x1daa23(0x190),_0x17a0d6[_0x1daa23(0x347)]()),_0x2e1f76(this,'_selfUnitIDs',new Set()),_0x2e1f76(this,_0x1daa23(0x3a4),new Map()),_0x2e1f76(this,_0x1daa23(0x2cf),null),_0x2e1f76(this,_0x1daa23(0x3f0),new Map()),_0x2e1f76(this,_0x1daa23(0x16a),new Map()),this[_0x1daa23(0x272)]();}[_0x964c6d(0x2bd)](){const _0x3f7f3d=_0x964c6d;super['dispose'](),this[_0x3f7f3d(0x3f0)]['forEach']((_0x84ea5e,_0xcd82c3)=>this['_removeClearOtherTimer'](_0xcd82c3)),this[_0x3f7f3d(0x2cf)]&&window[_0x3f7f3d(0x37a)](this[_0x3f7f3d(0x2cf)]);}['getUnitStatus$'](_0x52e1fa){const _0x4f6959=_0x964c6d;return this[_0x4f6959(0x219)](_0x52e1fa)[_0x4f6959(0x3e0)](_0xa893e5[_0x4f6959(0x184)]());}[_0x964c6d(0x3b1)](_0x1dd900){const _0x297713=_0x964c6d;this[_0x297713(0x3a2)][_0x297713(0x3eb)]===0x0&&this[_0x297713(0x1f1)](),this[_0x297713(0x3a2)][_0x297713(0x16b)](_0x1dd900),this[_0x297713(0x267)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1dd900],'isForwarded':!0x1});}['disposeUnit'](_0x1df5ae){const _0x15bb1b=_0x964c6d;this[_0x15bb1b(0x3a2)][_0x15bb1b(0x31e)](_0x1df5ae),this[_0x15bb1b(0x3a2)][_0x15bb1b(0x3eb)]===0x0&&this['_heartbeatTimer']&&window[_0x15bb1b(0x37a)](this['_heartbeatTimer']);}['_init'](){const _0x55e7b9=_0x964c6d;this[_0x55e7b9(0x2ba)](_0x17a0d6['toDisposable'](_0xa893e5[_0x55e7b9(0x293)](window,_0x55e7b9(0x28b))[_0x55e7b9(0x3ec)](_0x332011=>{const _0x3f0360=_0x55e7b9;if(_0x332011[_0x3f0360(0x258)]!==_0x5af4ae||!_0x332011[_0x3f0360(0x37d)])return;const _0x3b6563=JSON[_0x3f0360(0x3d7)](_0x332011[_0x3f0360(0x37d)]);this[_0x3f0360(0x20a)](_0x3b6563);}))),window['addEventListener'](_0x55e7b9(0x162),()=>this[_0x55e7b9(0x267)]({'type':0x1,'memberID':this[_0x55e7b9(0x190)],'unitIDs':Array['from'](this[_0x55e7b9(0x3a2)])}));}[_0x964c6d(0x20a)](_0x4805fd){const _0x43c56c=_0x964c6d;switch(_0x4805fd['type']){case 0x0:this[_0x43c56c(0x2eb)](_0x4805fd);break;case 0x1:this[_0x43c56c(0x26b)](_0x4805fd);break;case 0x2:this[_0x43c56c(0x3ee)](_0x4805fd);break;}}[_0x964c6d(0x2eb)](_0x5093bf){const _0xff54ae=_0x964c6d,{unitIDs:_0xcd7665,memberID:_0x1b92d7,isForwarded:_0x4afb87}=_0x5093bf;_0xcd7665[_0xff54ae(0x2ad)](_0x51f980=>{const _0x2706ab=_0xff54ae;if(!_0x4afb87&&this[_0x2706ab(0x3a4)]['has'](_0x51f980)&&this[_0x2706ab(0x219)](_0x51f980)['next'](_0x1fb374['UnitStatus'][_0x2706ab(0x23a)]),!this[_0x2706ab(0x3a4)][_0x2706ab(0x218)](_0x51f980)||!this['_unitOnClients'][_0x2706ab(0x17d)](_0x51f980)[_0x2706ab(0x218)](_0x1b92d7)){const _0x1f26af=this[_0x2706ab(0x3a4)][_0x2706ab(0x17d)](_0x51f980)||new Set();_0x1f26af[_0x2706ab(0x16b)](_0x1b92d7),this[_0x2706ab(0x3a4)][_0x2706ab(0x26d)](_0x51f980,_0x1f26af),this[_0x2706ab(0x210)](_0x1b92d7);}}),_0x4afb87||this['_send']({'type':0x0,'memberID':this[_0xff54ae(0x190)],'unitIDs':[...this[_0xff54ae(0x3a2)]],'isForwarded':!0x0});}[_0x964c6d(0x210)](_0x1e843f){const _0x18d8f9=_0x964c6d;this[_0x18d8f9(0x1ff)](_0x1e843f);const _0x54b3bb=window['setTimeout'](()=>{const _0x5ba734=_0x18d8f9;this[_0x5ba734(0x3a4)][_0x5ba734(0x2ad)](_0x27fce7=>{const _0x206168=_0x5ba734;_0x27fce7[_0x206168(0x31e)](_0x1e843f);});},_0x187591*0x2);this[_0x18d8f9(0x3f0)][_0x18d8f9(0x26d)](_0x1e843f,_0x54b3bb);}[_0x964c6d(0x1ff)](_0x42c82e){const _0x2c3540=_0x964c6d;if(this[_0x2c3540(0x3f0)][_0x2c3540(0x218)](_0x42c82e)){const _0x28a5e8=this[_0x2c3540(0x3f0)][_0x2c3540(0x17d)](_0x42c82e);_0x28a5e8&&window[_0x2c3540(0x36e)](_0x28a5e8),this[_0x2c3540(0x3f0)]['set'](_0x42c82e,null);}}[_0x964c6d(0x26b)](_0x35f7c9){const _0xe85a4f=_0x964c6d,{memberID:_0x4090fd,unitIDs:_0x37d19f}=_0x35f7c9;_0x37d19f[_0xe85a4f(0x2ad)](_0x2f60a9=>{const _0x45bef7=_0xe85a4f;var _0x34b122;const _0x445a91=this[_0x45bef7(0x3a4)][_0x45bef7(0x17d)](_0x2f60a9);_0x445a91&&(_0x445a91['delete'](_0x4090fd),(_0x34b122=this[_0x45bef7(0x219)](_0x2f60a9))==null||_0x34b122[_0x45bef7(0x3ae)](_0x445a91[_0x45bef7(0x3eb)]===0x0?_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x24b)]:_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x23a)]));}),this[_0xe85a4f(0x1ff)](_0x4090fd);}[_0x964c6d(0x3ee)](_0x403f03){const _0x1b9b6e=_0x964c6d;this['_scheduleClearOtherTimer'](_0x403f03[_0x1b9b6e(0x3cf)]);}[_0x964c6d(0x267)](_0xec686a){const _0x997743=_0x964c6d;localStorage[_0x997743(0x33b)](_0x5af4ae,JSON[_0x997743(0x2ca)](_0xec686a));}[_0x964c6d(0x1f1)](){const _0x17a904=_0x964c6d;this['_heartbeatTimer']=window[_0x17a904(0x393)](()=>{const _0x3769a1=_0x17a904;this[_0x3769a1(0x267)]({'type':0x2,'memberID':this[_0x3769a1(0x190)]});},_0x187591);}['_ensureSubject'](_0x40c1b9){const _0x4b332e=_0x964c6d;return this[_0x4b332e(0x16a)][_0x4b332e(0x218)](_0x40c1b9)||this[_0x4b332e(0x16a)][_0x4b332e(0x26d)](_0x40c1b9,new _0xa893e5[(_0x4b332e(0x1e7))](_0x1fb374[_0x4b332e(0x2bb)][_0x4b332e(0x24b)])),this[_0x4b332e(0x16a)][_0x4b332e(0x17d)](_0x40c1b9);}}var _0x48ac89=(_0x15656c=>(_0x15656c[_0x15656c[_0x964c6d(0x23c)]=0x0]=_0x964c6d(0x23c),_0x15656c[_0x15656c['OK']=0x1]='OK',_0x15656c[_0x15656c['INTERNAL_ERROR']=0x2]=_0x964c6d(0x228),_0x15656c[_0x15656c[_0x964c6d(0x34e)]=0x3]=_0x964c6d(0x34e),_0x15656c[_0x15656c[_0x964c6d(0x1b2)]=0x4]=_0x964c6d(0x1b2),_0x15656c[_0x15656c[_0x964c6d(0x238)]=0x5]=_0x964c6d(0x238),_0x15656c[_0x15656c[_0x964c6d(0x276)]=0x6]=_0x964c6d(0x276),_0x15656c[_0x15656c['INVALID_ARGUMENT']=0x7]=_0x964c6d(0x33a),_0x15656c[_0x15656c[_0x964c6d(0x30b)]=0x8]=_0x964c6d(0x30b),_0x15656c[_0x15656c[_0x964c6d(0x369)]=0x9]=_0x964c6d(0x369),_0x15656c[_0x15656c['LOGIN_FAILED']=0xa]=_0x964c6d(0x19a),_0x15656c[_0x15656c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x964c6d(0x1f4),_0x15656c[_0x15656c[_0x964c6d(0x1b8)]=0x1771]=_0x964c6d(0x1b8),_0x15656c[_0x15656c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x964c6d(0x3a8),_0x15656c[_0x15656c[_0x964c6d(0x399)]=0x1773]=_0x964c6d(0x399),_0x15656c[_0x15656c[_0x964c6d(0x304)]=0x1b59]=_0x964c6d(0x304),_0x15656c[_0x15656c[_0x964c6d(0x2f4)]=0x1b5a]=_0x964c6d(0x2f4),_0x15656c[_0x15656c[_0x964c6d(0x36c)]=0x1b5b]=_0x964c6d(0x36c),_0x15656c[_0x15656c[_0x964c6d(0x2a4)]=0x1b5c]=_0x964c6d(0x2a4),_0x15656c[_0x15656c['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x15656c[_0x15656c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x964c6d(0x3c6),_0x15656c[_0x15656c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x964c6d(0x285),_0x15656c[_0x15656c[_0x964c6d(0x1ae)]=0x232a]=_0x964c6d(0x1ae),_0x15656c[_0x15656c[_0x964c6d(0x32b)]=0x232b]=_0x964c6d(0x32b),_0x15656c[_0x15656c[_0x964c6d(0x215)]=0x232c]=_0x964c6d(0x215),_0x15656c[_0x15656c[_0x964c6d(0x18d)]=0x232d]=_0x964c6d(0x18d),_0x15656c[_0x15656c[_0x964c6d(0x1cc)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x15656c[_0x15656c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15656c[_0x15656c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15656c[_0x15656c[_0x964c6d(0x26c)]=0x2714]=_0x964c6d(0x26c),_0x15656c[_0x15656c[_0x964c6d(0x25d)]=0x271a]=_0x964c6d(0x25d),_0x15656c[_0x15656c[_0x964c6d(0x1f6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x15656c[_0x15656c[_0x964c6d(0x2a9)]=0x271c]=_0x964c6d(0x2a9),_0x15656c[_0x15656c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x964c6d(0x349),_0x15656c[_0x15656c[_0x964c6d(0x250)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x15656c[_0x15656c['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x15656c[_0x15656c[_0x964c6d(0x3b3)]=0x2af9]=_0x964c6d(0x3b3),_0x15656c[_0x15656c[_0x964c6d(0x196)]=0x2ee1]=_0x964c6d(0x196),_0x15656c[_0x15656c['INVALID_INVITE_CODE']=0x2ee2]=_0x964c6d(0x1e5),_0x15656c[_0x15656c[_0x964c6d(0x3a5)]=0x2ee3]=_0x964c6d(0x3a5),_0x15656c[_0x15656c[_0x964c6d(0x1d4)]=0x2ee4]=_0x964c6d(0x1d4),_0x15656c[_0x15656c[_0x964c6d(0x336)]=0x2ee5]=_0x964c6d(0x336),_0x15656c[_0x15656c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x964c6d(0x261),_0x15656c[_0x15656c[_0x964c6d(0x1df)]=0x32ca]=_0x964c6d(0x1df),_0x15656c[_0x15656c[_0x964c6d(0x2c4)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x15656c[_0x15656c['UNRECOGNIZED']=-0x1]=_0x964c6d(0x27a),_0x15656c))(_0x48ac89||{}),_0x73cde7=Object[_0x964c6d(0x236)],_0x5b7a91=(_0x46c71e,_0x32f399,_0x20ea84,_0xebbb75)=>{const _0x5c10b2=_0x964c6d;for(var _0x1bd230=_0xebbb75>0x1?void 0x0:_0xebbb75?_0x73cde7(_0x32f399,_0x20ea84):_0x32f399,_0x30cbb3=_0x46c71e[_0x5c10b2(0x3b0)]-0x1,_0x117c5a;_0x30cbb3>=0x0;_0x30cbb3--)(_0x117c5a=_0x46c71e[_0x30cbb3])&&(_0x1bd230=_0x117c5a(_0x1bd230)||_0x1bd230);return _0x1bd230;},_0x5968b3=(_0x315276,_0x531c87)=>(_0x27ff51,_0x51f9b9)=>_0x531c87(_0x27ff51,_0x51f9b9,_0x315276);_0x3fac21[_0x964c6d(0x32d)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x229a5c,_0x1c1617,_0x2a285d){const _0x12d026=_0x964c6d;super(),this[_0x12d026(0x18a)]=_0x229a5c,this[_0x12d026(0x384)]=_0x1c1617,this[_0x12d026(0x322)]=_0x2a285d;}async[_0x964c6d(0x2a3)](_0x408ea2,_0x5f3f81,_0x1c9a85,..._0x37395d){const _0x48c4e8=_0x964c6d;var _0x3baa0f,_0x48a7b9,_0x5225f3,_0x1edc64;const _0x250fc1=this['_instanceService'][_0x48c4e8(0x172)]();if(!_0x250fc1)throw new Error(_0x48c4e8(0x38e));const _0x268c98=((_0x3baa0f=this[_0x48c4e8(0x322)]['getConfig'](_0x1fb374[_0x48c4e8(0x2fe)]))!=null?_0x3baa0f:_0x1fb374[_0x48c4e8(0x234)])+'/'+_0x408ea2+_0x48c4e8(0x3bc)+_0x5f3f81,_0x237fab=new URL(window[_0x48c4e8(0x35d)]['href']),_0x12c44b={'scriptId':_0x408ea2,'runId':(_0x48a7b9=_0x237fab['searchParams'][_0x48c4e8(0x17d)](_0x48c4e8(0x3cc)))!=null?_0x48a7b9:'','function':_0x5f3f81,'unitId':_0x250fc1['getUnitId'](),'argsOfFunction':JSON[_0x48c4e8(0x2ca)](_0x37395d),'invokeId':(_0x5225f3=_0x1c9a85[_0x48c4e8(0x2b2)])!=null?_0x5225f3:'','executionId':(_0x1edc64=_0x1c9a85[_0x48c4e8(0x19f)])!=null?_0x1edc64:''};try{const _0x259bb7=await this[_0x48c4e8(0x384)][_0x48c4e8(0x1cb)](_0x268c98,{'body':_0x12c44b});return _0x259bb7[_0x48c4e8(0x310)][_0x48c4e8(0x232)]&&_0x259bb7[_0x48c4e8(0x310)]['error']['code']!==_0x48ac89['OK']?_0x48c4e8(0x22f):_0x259bb7['body'][_0x48c4e8(0x245)];}catch{return'Failed';}}},_0x3fac21[_0x964c6d(0x32d)]=_0x5b7a91([_0x5968b3(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x5968b3(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x5968b3(0x2,_0x17a0d6['IConfigService'])],_0x3fac21['RemoteUniscriptService']),_0x3fac21['CollaborationStatusDisplay']=_0x531a04,_0x3fac21[_0x964c6d(0x346)]=_0x58f6e4,_0x3fac21[_0x964c6d(0x208)]=_0x58253f,_0x3fac21[_0x964c6d(0x221)]=_0x3594d5,_0x3fac21[_0x964c6d(0x1f3)]=_0x1daf05,Object[_0x964c6d(0x376)](_0x3fac21,Symbol[_0x964c6d(0x24e)],{'value':_0x964c6d(0x3a3)});}));function _0x12c4(_0x4fef79,_0x3801bd){const _0x2d577d=_0x2d57();return _0x12c4=function(_0x12c409,_0x75f895){_0x12c409=_0x12c409-0x161;let _0x579d06=_0x2d577d[_0x12c409];return _0x579d06;},_0x12c4(_0x4fef79,_0x3801bd);}function _0x2d57(){const _0x4cea9c=['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mergeOverrideWithDependencies','USERS_LEAVE','collaboration.single-unit.warning','extend','getParam','setStateCache','_sheetSkeletonManagerService','deepClone','_handleJoinEvent','_univerInstanceService','name','currentTheme$','save','touchDependencies','Plugin','filter','selections','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','getUndoRedoMutationParamsCache','@univerjs/core','CollaborationUIEventId','defs','getUnitId','getTypeOfUnitDisposed$','React','off-line-icon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','undoState','@univerjs/network','SetWorksheetActivateCommand','_toggleOffline','imageSourceType','APPLY_REJECT','InsertRangeMoveDownCommandId','NodePositionConvertToCursor','removeParam','createIdentifier','OnLineIcon','ThemeService','TOO_MANY_REQUESTS','status$','exhaustSavingTask','getVpScrollXYInfoByPosToVp','onLocalMutation','body','IRenderManagerService','setParam','_docTransformSelectionsService','unitId','getSheetId','_getAnchorBounding','_refRangeService','getCollabEntity$','transformMutationsWithChangeset','Tooltip','connectInjector','ISocketService','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','delete','ColorKit','ILocalStorageService','@univerjs-pro/collaboration-client','_configService','setShapeProps','split','merge','backgroundColor','replace','CollaborationDataLoaderController','TEXT_RANGE_LAYER_INDEX','_drawRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','getConfig','RemoteUniscriptService','registerRenderModule','source','getMemberID','apply','@univerjs/drawing','transformSelections','UniverCore','HEADER_MENU','INVITE_CODE_ALREADY_BOUND','UniverEngineRender','_cursorInfo$','_renderManagerService','INVALID_ARGUMENT','setItem','_refreshCollabCursors','INotificationService','_session','ONLINE','UniverDocs','_removeCollabCursors','unshift','7mnaDic','_name','takeUntil','IURLService','generateRandomId','addObject','YUUMI_ALL_TABLES_IS_INVALID','IMessageService','handleDeleteRangeMoveUp','getUniverSheetInstance','jsxs','PERMISSION_DENIED','_range','transformByState','ICommandService','_startDocCollabCursor','send','_transformService','_revisionService','clipPath','1em','translate(.97)','div','debounce','_textBubble','all','location','_updateSubUnitFromURLParams','CONFLICT','children','2379288DmQRrX','urlChange$','debounceTime','_beforeCloseService','init','sessionStatus$','transformStateCache','TEXT','COMPLETION_FINISHED','fill','_setupBeforeClosingHandler','APPLY_REVISION_CONFILICT','search','clearTimeout','type','MemberService','Unknown\x20user','hide','_getMergeRange','createElement','OFFLINE','defineProperty','IDocClipboardService','random','react','clearInterval','Tools','white','newValue','COLORS','CollaborationStatus','_assignedColors','setUndoRedoMutationParamsCache','loadOfflineData','LocaleService','_httpService','ticket','handleInsertRangeMoveDown','beginPath','className','CLOSE_ROOM','_updateCollabCursors','BrowserCollaborationSocketService','getLocalCacheKey','_roomMembers$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DesktopCollaborationStatusDisplayController','@univerjs-pro/collaboration','getMember','session.will-retry','setInterval','collaboration-client-ui.config','history','setActiveRange','RevisionService','isTransformMutationFailure','ENSURE_SNAPSHOT_EXECUTION','textRanges','docStateChange$','collab-rect-range-','VIEW_MAIN','_docStateChangeManagerService','handleDeleteRangeMoveLeft','DOC_RANGE_TYPE','_cursors','_selfUnitIDs','Module','_unitOnClients','INVITE_CODE_REQUIRED','complete','UPDATE_CURSOR','SNAPSHOT_HAS_BEEN_REMOVED','WebSocketService','univer-flex\x20univer-mr-2\x20univer-text-xl','_onCursorUpdate','width','3119544bKxzWn','next','DeleteRangeMoveLeftCommandId','length','editingUnit','getOffsetConfig','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','RxDisposable','_drawAnchor','clsx','collabStatus.syncing','enableLocalCache','closePath','searchParams','/run/','_urlService','endColumn','propertyIsEnumerable','DependentOn','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','show','useCallback','UniverCollaborationClientUIPlugin','CONNECTOR_DATA_TOO_LARGE','_entityInit$','_hideTimer','currentColor','Subject','startRow','runId','_anchorDot','_registerRenderDependencies','memberID','Injector','svg','_scene','mapTo','CollaborationController','_docSkeletonManagerService','SYNCED','parse','UniverDocsUi','getMergeData','InsertRowCommandId','saveTaskMap','PENDING','getAncestorScale','SheetsSelectionsService','_themeService','pipe','RemoveRowCommandId','sheetID','focused$','RefRangeService','getRenderById','RECT','isEditing','displayName','_config','_docTransformIMECacheService','size','subscribe','getActiveRange','_handleHeartbeatEvent','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','_logService','findNodePositionByCharIndex','Shape','lineTo','CollaborationUIEventService','@univerjs/engine-render','green.600','unload','_getSheetObject','unit','serializeRangeWithSheet','getCurrentUnitForType','replaceState','text','data','_unitStatus','add','startsWith','_transformHistoryAndStateStack','UniverEngineFormula','NodePositionConvertToRectRange','colorChannel1','_localCacheService','getFocusedUnit','transformIMECache','subUnitId','requireSession','IImageIoService','688985SVZNXZ','min','bottom','idSuffix','handleMoveRange','on-line-icon_clip0_910_349','get','DocSelectionManagerService','handleIRemoveCol','_createSocketURL','ITransformService','pluginName','ILocalCacheService','distinctUntilChanged','wsSessionTicketUrl','DocStateChangeManagerService','values','[CollaborationDataLoaderController]','_collabCursorController','_instanceService','m1Prime','_labelPosition','LICENSE_DISTRO_REJECTED','EffectRefRangId','actions','_id','icon','toString','operators','string','_saveCache','INVITE_CODE_HAS_BEEN_UES','onStarting','@univerjs/sheets','_anchor','LOGIN_FAILED','_scheduleSaving','concat','syncEditingCollabCursor','endRow','executionId','_getSessionTicket','origin','isActive','_updateLocalCursor','roomMembers$','useDependency','Workbook','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','jsx','_initEntityListener','font','TRANSFORM_CHANGE_OBSERVABLE_TYPE','m2Prime','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_color','getColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NOT_FOUND','prototype','_render','attrs','measureText','Optional','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_transformPreviousActiveRange','from','onPointerMove$','@univerjs/ui','_messageService','_commandService','defIds','SOCKET_FAILED','UniverNetwork','_updateURLWithCurrentState','_collaborationUIEventService','@univerjs/docs-ui','@univerjs/sheets-ui','uni.network.url-service','then','_initStatusListener','_backgroundColor','post','YUUMI_UNABLE_LOAD_URL','Warning','combineLatest','CollaborationEvent','...','_localStorageService','collabStatus.synced','DocIMEInputManagerService','USER_NOT_INVITED_CODE','27ivoUAy','Error','dispose$','LOCAL_CACHE_INTERVAL_KEY','DeleteRangeMoveUpCommandId','object','handleInsertCol','_lastPointer','startColumn','onPointerLeave$','MOBILE_HAS_BEEN_BOUND','handleInsertRow','react/jsx-runtime','subscribeEvent','event$','_notificationService','INVALID_INVITE_CODE','_registerDependencies','BehaviorSubject','moveTo','_cursor','ACTIVE_UNIT_EVENT_CHANNEL','none','saveOfflineData','engine','3mfxEaM','_imageIoService','height','_scheduleHeartbeat','setAlpha','WebURLService','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','YUUMI_ASYNCIO_CANCELLED','rxjs','RemoveColCommandId','row','_collabCursorState$','collabStatus.conflict','round','onRendered','cursorInfo','_removeClearOtherTimer','DocSkeletonManagerService','drawWith','roomMembers','onCommandExecuted','getValue','getSkeleton','UNIVER_DOC','selection','SheetCollabCursorShape','http://www.w3.org/2000/svg','_handleEvent','_draw','fromEventSubject','rxjs/operators','fillText','whenReady','_scheduleClearOtherTimer','_transformUndoRedoStack','getCurrentSelections','DocCollaborationEntity','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','getSheetBySheetId','UniverInstanceType','has','_ensureSubject','indexOf','sessionTicket','onMouseMove','_doCreateSocket','Rect','SUBMIT_CHANGESET_TIMEOUT','getRelativeToViewportCoord','WebBrowserSingleActiveUnitService','_injector','0\x200\x2016\x2016','_context','IUIPartsService','_getScale','getColorFromTheme','INTERNAL_ERROR','collabStatus.notCollab','forwardRef','eventID','registerBeforeClose','IUniverInstanceService','addObjects','Failed','_disabled','_docSyncEditingCollabCursorService','error','mask','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SessionStatus','getOwnPropertyDescriptor','path','UNAUTHENTICATED','unsubscribe','OTHER_CLIENTS_EDITING','IConfigService','UNDEFINED','UniverIcon','_onCursorDelete','redoState','map','unitID','max','getRangePointData','ranges','result','color','@univerjs/engine-formula','_setupSubUnitSync','sheetId','hasOwnProperty','NO_OTHER_CLIENTS_EDITING','handleIRemoveRow','runRefRangeMutations','toStringTag','use','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mutations','_memberService','switchMap','UNIVER_SHEET','UniverDrawing','collabCursorState$','@univerjs/docs','key','arc','_cursorShapes','univer-flex\x20univer-items-center','ILogService','YUUMI_NO_CUBOID_FOR_QUESTION','_collabSessionService','CollaborationSessionService','getActiveSheet','WECHAT_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','_colorIndex','getDocRanges','addHandlerCallback','useRef','_send','collaboration.closeRoom','CommandType','doc.mutation.rich-text-editing','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','set','black','_saveTaskMap','function','xlink:href','_init','getOwnPropertySymbols','_initCommandExecutedListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ALREADY_EXISTS','transformRemoteChangeset','FETCH_MISS','_colorAssignService','UNRECOGNIZED','getStateCache','13273140QsTekc','UniverUi','3571542XHgpBC','_handleHover','assignAColorForMemberID','fillRule','addClipboardHook','847944Mxbsfp','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/design','_getSaveTimeout','isArray','exports','univerjs-icon\x20univerjs-icon-','storage','push','transformMutation','executeCommand','cursorInfo$','params','UniverCollaborationClientPlugin','BuiltInUIPart','fromEvent','_eventUnsubscribe','onPointerEnter$','with','throttleTime','M0\x200H16V16H0z','Disposable','some','_docSkeleton','url(#$1','restore','blue.400','_initResize','_toggleOnline','permission.content','purple.300','runOnServer','APPLY_PERMISSION_DENIED','AWAITING_WITH_PENDING','call','handleInsertRangeMoveRight','NOT_COLLAB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerComponent','toRgbString','entries','forEach','tag','url(#off-line-icon_clip0_910_343)','href','asObservable','invokeId','_status$','501536XNiAWt','amd','_docClipboardService','_online','RegularPolygon','_localeService','disposeWithMe','UnitStatus','pushState','dispose','popstate','InsertColCommandId','HTTPService','on-line-icon','_hovered','_docTransformStateCacheService','EMAIL_HAS_BEEN_BOUND','createSocket','top','jiqing.500','contains','saveImage','stringify','OffLineIcon','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentSkeleton$','_shapes','_heartbeatTimer','_initEvent','MessageType','_dataLoaderService','SetSelectionsOperation','find','collabStatus.fetchMiss','subunit','getUnhiddenWorksheets','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','activeSheet$','_document','_cachedData','_entities','useObservable','symbol','_uiPartsService','getCoordByCell'];_0x2d57=function(){return _0x4cea9c;};return _0x2d57();}
1
+ function _0x4d59(){const _0x39329b=['univer-flex\x20univer-mr-2\x20univer-text-xl','_handleLeaveEvent','selection','479214vYuljj','getTypeOfUnitDisposed$','50YOWHIi','WebBrowserSingleActiveUnitService','set','from','unitId','CollaborationStatus','startColumn','INVITE_CODE_HAS_BEEN_UES','UniverProCollaborationClient','save','getOwnPropertySymbols','ILocalCacheService','collab-text-anchor-','merge','PERMISSION_DENIED','RichTextEditingMutation','sessionStatus$','disableLocalCache','IConfigService','HTTPService','getCurrentRevOfUnit','M0\x200H16V16H0z','collab-rect-range-','SYNCED','BrowserCollaborationSocketService','_imageIoService','debounceTime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','6561312bqylFM','yellow.400','evenodd','onCommandExecuted','blue.400','session.collaboration-timeout','onStarting','getViewport','Disposable','_handleJoinEvent','skeleton','setShapeProps','displayName','InsertRowCommandId','RemoveRowCommandId','distinctUntilChanged','SheetSkeletonManagerService','#FFF','_removeClearOtherTimer','getCoordByCell','ILocalStorageService','0\x200\x2016\x2016','_scheduleSaving','getUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_INVITE_CODE','_shapes','url(#on-line-icon_clip0_910_349)','clearTimeout','use','debug','on-line-icon_clip0_910_349','ranges','executeCommand','extend','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_dataLoaderService','UNIVER_SHEET','isTransformMutationFailure','saveOfflineData','deserializeRangeWithSheet','UniverDrawing','_collaborationController','_doCreateSocket','@univerjs/docs-ui','RevisionService','activeSheet$','2160432VBGwfJ','DocSelectionManagerService','labelPosition','operators','permission.content','ColorKit','hide','transformStateCache','OnLineIcon','searchParams','undoState','runId','React','_registerRenderDependencies','subUnitId','_unitOnClients','UniverProCollaborationClientUi','path','white','handleDeleteRangeMoveUp','call','mergeOverrideWithDependencies','className','collaboration-client.offline-data-not-saved','_disabled','backgroundColor','collabStatus.notCollab','@univerjs/core','imageSourceType','_docStateChangeManagerService','SOCKET_FAILED','Rectangle','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getFocusedUnit','asObservable','DependentOn','NOT_COLLAB','CollaborationDataLoaderController','getTypeOfUnitAdded$','assign','CHANGESET_REVISION_CONFILICT','onPointerMove$','EffectRefRangId','@univerjs/engine-render','WebSocketService','setAlpha','function','_cachedData','then','result','@univerjs/sheets-ui','switchMap','fromEvent','unshift','OffLineIcon','getActiveSheet','replace','_docTransformStateCacheService','http://www.w3.org/2000/svg','collab-text-range-','url(#off-line-icon_clip0_910_343)','string','ACTIVE_UNIT_EVENT_CHANNEL','_name','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fillRule','CONNECTOR_DATA_TOO_LARGE','ONLINE','cursorInfo$','getDocRanges','UniverDesign','DeleteRangeMoveUpCommandId','ticket','currentSkeleton$','_updateLocalCursor','@univerjs/drawing','getMember','LOGIN_FAILED','handleIRemoveRow','mapTo','clearInterval','_docSyncEditingCollabCursorService','_cursorShapes','propertyIsEnumerable','IRenderManagerService','Module','YUUMI_SUBSCRIPTION_NOT_FOUND','ICommandService','UniverCollaborationClientUIPlugin','runRefRangeMutations','getConfig','_assignedColors','subscribe','FromArray','UNRECOGNIZED','SetWorksheetActivateCommand','JOIN_ROOM_FAILED','dispose','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','createElement','fill','bottom','WebURLService','_onCursorUpdate','_roomMembers$','Workbook','Failed','SHEET_VIEWPORT_KEY','combineLatest','Shape','_cursor','Error','OFFLINE','concat','error','_id','syncEditingCollabCursor','pushState','colorChannel1','override','findNodePositionByCharIndex','deepClone','all','debounce','unitID','IImageIoService','collabStatus.synced','_commandService','children','SOCKET_FAILED_RETRY','isActive','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','SheetsSelectionsService','_refRangeService','_range','green.600','setItem','LocaleService','split','triggerDblclick','_logService','NOT_FOUND','getOwnPropertyDescriptor','_syncEditingCollabCursorService','isEditing','loadOfflineData','connectInjector','handleInsertRangeMoveRight','sheetId','_themeService','_docTransformIMECacheService','UniverUi','unload','values','_localeService','UNDEFINED','event$','dispose$','_saveCache','_initResize','Inject','post','Injector','next','_colorIndex','_localStorageService','entityInit$','prototype','IURLService','getCurrentSelections','2719440BNpZYX','_unitStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','search','OTHER_CLIENTS_EDITING','rxjs/operators','_httpService','transformRemoteChangeset','forEach','@univerjs/design','SessionStatus','registerRenderModule','_notificationService','getCurrentUnitForType','_draw','off-line-icon','RemoteUniscriptService','replaceDocRanges','_colorAssignService','_startDocCollabCursor','height','OTHER_CLIENT_EDITING','@univerjs/ui','currentTheme$','getValue','includes','CollaborationUIEventId','479866AOyeEv','makeDirty','_transformUndoRedoStack','subscribeEvent','_collabCursorController','_context','_textBubble','_uiPartsService','redoState','startRow','startsWith','addObject','_status$','max','@univerjs/network','_initStatusListener','setParam','YUUMI_NO_CUBOID_FOR_QUESTION','getSheetObject','MoveRangeCommandId','BuiltInUIPart','Rect','status$','show','handleDeleteRangeMoveLeft','createInstance','get','_session','_getSheetObject','_sheetSkeletonManagerService','InsertColCommandId','div','_getAnchorBounding','_toggleOffline','eventID','rgba(255,\x20255,\x20255,\x200.01)','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','xlink:href','beginPath','useDependency','generateRandomId','sessionTicket','_injector','throttleTime','_messageService','_clearOtherTimers','stringify','SetTextSelectionsOperation','_cursorInfo$','exports','whenReady','range','...','UniverProCollaboration','restore','Warning','APPLY_PERMISSION_DENIED','transformMutation','mutations','_beforeCloseService','NodePositionConvertToRectRange','transformIMECache','addHandlerCallback','_refreshCollabCursors','1em','@univerjs/rpc','getItem','UniverRpc','href','AWAITING','_docSkeleton','DesktopCollaborationStatusDisplayController','_lastPointer','getActiveRange','find','RxDisposable','_collabSessionService','object','getOffsetConfig','getColorFromTheme','_render','IDocClipboardService','_getMergeRange','assignAColorForMemberID','measureText','push','storage','_drawTextRange','Unknown\x20user','_startSheetCollabCursor','_collaborationUIEventService','transformMutationsWithChangeset','getCollabCursors$','UNIVER_DOC','collabStatus.conflict','tag','setActiveRange','location','text','0\x200\x2017\x2016','source','/run/','DOC_RANGE_TYPE','UnitStatus','getUnitId','runOnServer','FETCH_MISS','_univerInstanceService','UniverCore','toDisposable','_handleHeartbeatEvent','INotificationService','LICENSE_IMPORT_SIZE_EXCEEDED','defineProperty','add','hovered','textRanges','@univerjs-pro/collaboration','sheetID','_initStatusComponent','code','onRendered','saveImage','UPDATE_CURSOR','docStateChange$','size','color','params','round','_entities','getAncestorScale','UniverSheetsUi','memberID','Vector2','collaboration.closeRoom','translate(.97)','invokeId','_handleEvent','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','getStateCache','toString','svg','_memberService','drawWith','shareReplay','DeleteRangeMoveLeftCommandId','_revisionService','getUnhiddenWorksheets','MUTATION','top','_collabCursorState$','ThemeService','pipe','collabStatus.fetchMiss','USER_NOT_INVITED_CODE','_getSessionTicket','3gyHAmD','LOCAL_CACHE_INTERVAL_KEY','defs','INTERNAL_ERROR','_init','getCurrent','YUUMI_ALL_TABLES_IS_INVALID','clipPath','jsx','Tools','UniverNetwork','TOO_MANY_REQUESTS','_registerDependencies','defIds','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onTransformChange$','toStringTag','CollaborationStatusDisplay','_transformHistoryAndStateStack','onLocalMutation','flatMap','length','forwardRef','registerRefRange','mask','SUBMIT_CHANGESET_TIMEOUT','amd','arc','_getSaveTimeout','url(#$1','isArray','UniverEngineRender','isTransformMutationsWithChangesetSuccess','DocSkeletonManagerService','red.300','_toggleOnline','_labelPosition','SNAPSHOT_HAS_BEEN_REMOVED','UniverDocs','handleInsertRow','_instanceService','_initEvent','setUndoRedoMutationParamsCache','UNAUTHENTICATED','ILogService','APPLY_NON_SEQUENTIAL_REVISION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','idSuffix','_onRefRangeChange','fillStyle','_saveTaskMap','saveTaskMap','APPLY_REVISION_CONFILICT','_setupBeforeClosingHandler','init','@univerjs/docs','has','column','_drawAnchor','InsertRangeMoveDownCommandId','createSocket','@univerjs-pro/collaboration-client','replaceState','2845395PeLATl','RemoveColCommandId','black','_hideTimer','@univerjs/engine-formula','LICENSE_MAX_UNITS_EXCEEDED','COMPLETION_FINISHED','permission.title','icon','unsubscribe','application/json','filter','_updateCollabCursors','_drawRectRange','onMouseMove','_configService','getRenderById','_urlService','_docClipboardService','TEXT','_anchor','subunit','min','MessageType','INVITE_CODE_REQUIRED','_ensureSubject','_transformPreviousActiveRange','trim','INVITE_CODE_ALREADY_BOUND','UniverIcon','SNAPSHOT_INVALID_SNAPSHOT','indexOf','_removeCollabCursors','m2Prime','_entityInit$','touchDependencies','IUIPartsService','_cursors','createIdentifier','_backgroundColor','takeUntil','registerComponent','closePath','react/jsx-runtime','getLocalCacheKey','DocIMEInputManagerService','row','_createSocketURL','_initDependencies','_initEntityListener','IUniverInstanceService','updateOfflineData','COLORS','on-line-icon','getRangePointData','rxjs','setTimeout','_scheduleHeartbeat','getColor','_selfUnitIDs','CollaborationUIEventService','Tooltip','history','_getScale','_anchorDot','YUUMI_UNABLE_LOAD_URL','entries','UniverCollaborationClientPlugin','useRef','send','MemberService','data','urlChange$','_online','_handleHover','_document','currentColor','LICENSE_DISTRO_REJECTED','map','APPLY_REJECT','@univerjs/sheets','hasOwnProperty','_transformService','_updateURLWithCurrentState','APPLY_DUPLICATED','transformSelections','univerjs-icon\x20univerjs-icon-','MOBILE_HAS_BEEN_BOUND','requireSession','getUnitStatus$','_eventUnsubscribe','_renderManagerService','unit','YUUMI_RATE_OVER_LIMIT','_docTransformSelectionsService','delete','_localCacheService','BehaviorSubject','getUniverSheetInstance','INVALID_ARGUMENT','getCollabEntity$','executionId','loadUnit','_hover','_onCursorDelete','_scene','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','current','contains','handleInsertRangeMoveDown','popstate','pluginName','TEXT_RANGE_LAYER_INDEX','exhaustSavingTask','react','SetDocZoomRatioOperation','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers','ITransformService','some','setInterval','addObjects','removeParam','CollaborationController','focused$','setConfig','_color','fillText','CONFLICT','lineTo','CollaborationEvent','reconnect','endRow','4535608NYUwoM','resize','with','jsxs','getSheetBySheetId','_hovered','complete','session.will-retry','_updateSubUnitFromURLParams','useObservable','onPointerEnter$','m1Prime','UniverInstanceType','disposeWithMe','registerBeforeClose','collabCursorState$','wsSessionTicketUrl','cursorInfo','body','YUUMI_AI_RUN_FAILED','Subject','ISocketService','apply','actions','_config','YUUMI_URL_COL_OUT_OF_RANGE','getSheetId','_initCommandExecutedListener','clsx','name','_docSkeletonManagerService','_setupSubUnitSync','width','attrs','CommandType','_send','doc.mutation.rich-text-editing','font','RefRangeService','type','[CollaborationDataLoaderController]','_scheduleClearOtherTimer','onPointerLeave$'];_0x4d59=function(){return _0x39329b;};return _0x4d59();}function _0x56ac(_0x5584e4,_0x45e95f){const _0x4d59c2=_0x4d59();return _0x56ac=function(_0x56acaf,_0x294214){_0x56acaf=_0x56acaf-0x8c;let _0x5f3e63=_0x4d59c2[_0x56acaf];return _0x5f3e63;},_0x56ac(_0x5584e4,_0x45e95f);}(function(_0x29b320,_0x1354ff){const _0x24fb51=_0x56ac,_0x596227=_0x29b320();while(!![]){try{const _0x1278b7=parseInt(_0x24fb51(0x9e))/0x1*(-parseInt(_0x24fb51(0x2a4))/0x2)+-parseInt(_0x24fb51(0x289))/0x3+parseInt(_0x24fb51(0x162))/0x4+-parseInt(_0x24fb51(0x192))/0x5*(-parseInt(_0x24fb51(0x190))/0x6)+-parseInt(_0x24fb51(0xdd))/0x7+parseInt(_0x24fb51(0x1ae))/0x8+parseInt(_0x24fb51(0x1dd))/0x9;if(_0x1278b7===_0x1354ff)break;else _0x596227['push'](_0x596227['shift']());}catch(_0x37744f){_0x596227['push'](_0x596227['shift']());}}}(_0x4d59,0xea628),function(_0x213f89,_0x1f5b09){const _0x206a82=_0x56ac;typeof exports==_0x206a82(0x2f1)&&typeof module<'u'?_0x1f5b09(exports,require(_0x206a82(0xdb)),require(_0x206a82(0x1f8)),require(_0x206a82(0x208)),require('@univerjs/network'),require(_0x206a82(0x1da)),require(_0x206a82(0x228)),require('rxjs'),require(_0x206a82(0xd5)),require(_0x206a82(0x319)),require(_0x206a82(0xe1)),require(_0x206a82(0x12d)),require(_0x206a82(0x28e)),require(_0x206a82(0x20f)),require('react/jsx-runtime'),require(_0x206a82(0x29f)),require(_0x206a82(0x292)),require(_0x206a82(0x14f)),require(_0x206a82(0x2e5))):typeof define==_0x206a82(0x20b)&&define[_0x206a82(0xb8)]?define([_0x206a82(0x2d5),'@univerjs-pro/collaboration-client',_0x206a82(0x1f8),_0x206a82(0x208),_0x206a82(0x2b2),_0x206a82(0x1da),_0x206a82(0x228),_0x206a82(0x114),_0x206a82(0xd5),_0x206a82(0x319),_0x206a82(0xe1),_0x206a82(0x12d),_0x206a82(0x28e),'@univerjs/sheets-ui',_0x206a82(0x108),_0x206a82(0x29f),'@univerjs/design',_0x206a82(0x14f),'@univerjs/rpc'],_0x1f5b09):(_0x213f89=typeof globalThis<'u'?globalThis:_0x213f89||self,_0x1f5b09(_0x213f89[_0x206a82(0x1ed)]={},_0x213f89[_0x206a82(0x19a)],_0x213f89[_0x206a82(0x310)],_0x213f89[_0x206a82(0xbd)],_0x213f89[_0x206a82(0xa8)],_0x213f89['UniverDocsUi'],_0x213f89[_0x206a82(0x1d7)],_0x213f89[_0x206a82(0x114)],_0x213f89[_0x206a82(0xc4)],_0x213f89[_0x206a82(0x2d9)],_0x213f89['UniverEngineFormula'],_0x213f89['UniverSheets'],_0x213f89[_0x206a82(0x114)][_0x206a82(0x1e0)],_0x213f89[_0x206a82(0x327)],_0x213f89[_0x206a82(0x1e9)],_0x213f89[_0x206a82(0x276)],_0x213f89[_0x206a82(0x223)],_0x213f89[_0x206a82(0x1e9)],_0x213f89[_0x206a82(0x2e7)]));}(this,function(_0x2bf47a,_0x56139f,_0x5cc899,_0xa3a2fa,_0x225722,_0x45cbcb,_0x3e221e,_0x16a76f,_0xcf3dad,_0x158f44,_0x427481,_0x156504,_0x4faa9f,_0x19b11c,_0x73eb1b,_0x218fbf,_0x3b992f,_0x4d5c38,_0x2a95b8){'use strict';const _0x3a3b32=_0x56ac;var _0x25f7fc=Object[_0x3a3b32(0x315)],_0x51c7d6=(_0x66b49,_0x2bcf98,_0x5c07bc)=>_0x2bcf98 in _0x66b49?_0x25f7fc(_0x66b49,_0x2bcf98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c07bc}):_0x66b49[_0x2bcf98]=_0x5c07bc,_0x40a5a2=(_0x38d55d,_0x30aede,_0x318027)=>_0x51c7d6(_0x38d55d,typeof _0x30aede!='symbol'?_0x30aede+'':_0x30aede,_0x318027),_0x1491e8=Object[_0x3a3b32(0x26d)],_0x5dd51a=(_0x433577,_0x433cca,_0x1c8e32,_0x2e1053)=>{for(var _0x4e4176=_0x2e1053>0x1?void 0x0:_0x2e1053?_0x1491e8(_0x433cca,_0x1c8e32):_0x433cca,_0x1b9e0=_0x433577['length']-0x1,_0x4a49d9;_0x1b9e0>=0x0;_0x1b9e0--)(_0x4a49d9=_0x433577[_0x1b9e0])&&(_0x4e4176=_0x4a49d9(_0x4e4176)||_0x4e4176);return _0x4e4176;},_0x35c63a=(_0x4e5b0b,_0x4c8240)=>(_0x4030fa,_0x3cde91)=>_0x4c8240(_0x4030fa,_0x3cde91,_0x4e5b0b);let _0x51dd46=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x113e87,_0x5aaac0){const _0x5f11ec=_0x3a3b32;super(),this[_0x5f11ec(0xef)]=_0x113e87,this[_0x5f11ec(0x1ab)]=_0x5aaac0,this[_0x5f11ec(0xa2)]();}[_0x3a3b32(0xa2)](){const _0x33eded=_0x3a3b32,_0x8b368c=this;this['disposeWithMe'](this[_0x33eded(0xef)]['addClipboardHook']({'onBeforePasteImage':async _0x37aae0=>{const _0x2628ab=_0x33eded,_0x346848=await _0x8b368c['_imageIoService'][_0x2628ab(0x31e)](_0x37aae0);return _0x346848?{'source':_0x346848[_0x2628ab(0x308)],'imageSourceType':_0x346848[_0x2628ab(0x1f9)]}:null;}}));}};_0x51dd46=_0x5dd51a([_0x35c63a(0x0,_0x45cbcb[_0x3a3b32(0x2f5)]),_0x35c63a(0x1,_0x3e221e[_0x3a3b32(0x25b)])],_0x51dd46);const _0x2a5316=['purple.300','jiqing.500',_0x3a3b32(0x266),_0x3a3b32(0xc0),_0x3a3b32(0x1b2),_0x3a3b32(0x1af)];class _0x138d33 extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(){const _0x2d0248=_0x3a3b32;super(...arguments),_0x40a5a2(this,_0x2d0248(0x238),new Map()),_0x40a5a2(this,_0x2d0248(0x283),0x0);}[_0x3a3b32(0x2f7)](_0x2cf0bb){const _0x47dc75=_0x3a3b32;if(this[_0x47dc75(0x238)][_0x47dc75(0xd6)](_0x2cf0bb))return this[_0x47dc75(0x238)]['get'](_0x2cf0bb);const _0x2610b6=_0x2a5316[this[_0x47dc75(0x283)]];return this['_colorIndex']=(this[_0x47dc75(0x283)]+0x1)%_0x2a5316[_0x47dc75(0xb3)],this[_0x47dc75(0x238)][_0x47dc75(0x194)](_0x2cf0bb,_0x2610b6),_0x2610b6;}}function _0x5cf42e(_0x21df44){let _0x515355='';for(const _0x1f6212 of _0x21df44){const {startOffset:_0x5b409b,endOffset:_0x3f5307,isActive:_0xc139ce,rangeType:_0x19c059,segmentId:_0x26e136,segmentPage:_0x38de58}=_0x1f6212;_0x515355['length']&&(_0x515355+=','),_0x515355+=_0x5b409b+':'+_0x3f5307+':'+(_0xc139ce?'1':'0')+':'+_0x19c059+':'+_0x26e136+':'+_0x38de58;}return _0x515355;}function _0x520bdb(_0x578c66){const _0x1b664e=_0x3a3b32,_0x1a24ae=_0x578c66['split'](','),_0x30df50=[];for(const _0x2bde33 of _0x1a24ae){const [_0x43a5e8,_0x463e95,_0x294551,_0x400b11,_0x59ce52,_0x47d2a2]=_0x2bde33[_0x1b664e(0x269)](':');_0x30df50[_0x1b664e(0x2f9)]({'startOffset':Number(_0x43a5e8),'endOffset':Number(_0x463e95),'collapsed':_0x43a5e8===_0x463e95,'isActive':_0x294551==='1','rangeType':_0x400b11===_0x5cc899[_0x1b664e(0x30a)][_0x1b664e(0xf0)]?_0x5cc899[_0x1b664e(0x30a)][_0x1b664e(0xf0)]:_0x5cc899['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x59ce52==_0x1b664e(0x21a)?String(_0x59ce52):'','segmentPage':Number(_0x47d2a2!=null?_0x47d2a2:-0x1)});}return _0x30df50[_0x1b664e(0x154)](_0x392f4d=>_0x392f4d[_0x1b664e(0x260)])||(_0x30df50[0x0][_0x1b664e(0x260)]=!0x0),_0x30df50;}class _0x4fe24f extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(){const _0x350c13=_0x3a3b32;super(...arguments),_0x40a5a2(this,_0x350c13(0x98),new _0x16a76f['BehaviorSubject'](null)),_0x40a5a2(this,_0x350c13(0x171),this[_0x350c13(0x98)]['asObservable']());}[_0x3a3b32(0x252)](_0x152f96){const _0x593ed7=_0x3a3b32,{unitID:_0x116818,memberID:_0x176860,textRanges:_0x48e4b8}=_0x152f96,_0x119ccc=_0x5cf42e(_0x48e4b8);if(_0x119ccc==='')return;const _0x35f63b={'unitID':_0x116818,'memberID':_0x176860,'selection':_0x119ccc};this[_0x593ed7(0x98)][_0x593ed7(0x282)](_0x35f63b);}}var _0x3acac5=Object[_0x3a3b32(0x26d)],_0x5d3c1c=(_0x34b7cd,_0x3d8e1f,_0x4628db,_0xc8ed6a)=>{const _0x45f970=_0x3a3b32;for(var _0x2a480b=_0xc8ed6a>0x1?void 0x0:_0xc8ed6a?_0x3acac5(_0x3d8e1f,_0x4628db):_0x3d8e1f,_0x16f54f=_0x34b7cd[_0x45f970(0xb3)]-0x1,_0x2a2e1a;_0x16f54f>=0x0;_0x16f54f--)(_0x2a2e1a=_0x34b7cd[_0x16f54f])&&(_0x2a480b=_0x2a2e1a(_0x2a480b)||_0x2a480b);return _0x2a480b;},_0x1d6ef5=(_0xffda4e,_0x51e688)=>(_0x31b225,_0x435223)=>_0x51e688(_0x31b225,_0x435223,_0xffda4e);const _0x2d38ce=0x12c,_0x36547e=0x64;let _0x3cd518=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x130fd1,_0x599bc3,_0x1697ad,_0x10a205,_0x25a9c7,_0x261227,_0x33517e,_0x14c742,_0x47d55a){const _0x13332e=_0x3a3b32;super(),_0x40a5a2(this,_0x13332e(0x126),!0x1),_0x40a5a2(this,_0x13332e(0xa2),!0x1),_0x40a5a2(this,_0x13332e(0x2d4),new _0x16a76f[(_0x13332e(0x13e))](new Map())),_0x40a5a2(this,_0x13332e(0x221),this[_0x13332e(0x2d4)][_0x13332e(0x1ff)]()),_0x40a5a2(this,_0x13332e(0x246),new _0x16a76f['BehaviorSubject']([])),_0x40a5a2(this,'roomMembers$',this[_0x13332e(0x246)]['pipe'](_0x16a76f[_0x13332e(0x1ac)](_0x2d38ce))),_0x40a5a2(this,_0x13332e(0x227),_0x5cc899[_0x13332e(0x259)](_0x9eb151=>{const _0x3e0242=_0x13332e,_0x3a6435={'eventID':_0x158f44['CollaborationEvent'][_0x3e0242(0x31f)],'data':{'unitID':this['unitID'],'memberID':this[_0x3e0242(0x2bf)]['getMemberID'](),'selection':_0x5cf42e(_0x9eb151)}};this[_0x3e0242(0x2bf)][_0x3e0242(0x122)](_0x3a6435,this[_0x3e0242(0x25a)]);},_0x36547e)),(this['unitID']=_0x130fd1,this[_0x13332e(0x2bf)]=_0x599bc3,this['_injector']=_0x1697ad,this[_0x13332e(0x29b)]=_0x10a205,this[_0x13332e(0x90)]=_0x25a9c7,this[_0x13332e(0x26e)]=_0x261227,this[_0x13332e(0x12f)]=_0x33517e,this[_0x13332e(0x30f)]=_0x14c742,this['_commandService']=_0x47d55a);}get['cursorInfo'](){const _0x5bfd9b=_0x3a3b32;return this['_cursorInfo$'][_0x5bfd9b(0x2a1)]();}get[_0x3a3b32(0x152)](){const _0x3f0fe0=_0x3a3b32;return this[_0x3f0fe0(0x246)][_0x3f0fe0(0x2a1)]();}[_0x3a3b32(0x23e)](){const _0x5451b6=_0x3a3b32;super[_0x5451b6(0x23e)](),this['_cursorInfo$'][_0x5451b6(0x282)](new Map()),this[_0x5451b6(0x2d4)][_0x5451b6(0x168)](),this[_0x5451b6(0x246)]['next']([]),this[_0x5451b6(0x246)][_0x5451b6(0x168)]();}[_0x3a3b32(0xd4)](){const _0x42ad01=_0x3a3b32;this[_0x42ad01(0xa2)]||(this[_0x42ad01(0xa2)]=!0x0,this[_0x42ad01(0x2bf)][_0x42ad01(0x1a2)][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))[_0x42ad01(0x239)](_0x49c8f6=>{const _0x43a65d=_0x42ad01;_0x49c8f6===_0x56139f[_0x43a65d(0x293)][_0x43a65d(0x220)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x42ad01(0x2bf)]['event$'][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))['subscribe'](_0x249d56=>{const _0x1da527=_0x42ad01,_0x3ee990=_0x249d56[_0x1da527(0x2c6)];_0x3ee990===_0x158f44[_0x1da527(0x15f)][_0x1da527(0x31f)]&&this[_0x1da527(0x245)](_0x249d56),_0x3ee990===_0x158f44[_0x1da527(0x15f)]['USERS_LEAVE']&&this[_0x1da527(0x145)](_0x249d56);}),this[_0x42ad01(0x16f)](this[_0x42ad01(0x25d)]['onCommandExecuted'](_0x38b6b8=>{const _0x42b912=_0x42ad01,_0x239223=_0x38b6b8['params'];_0x239223!=null&&this['_online']&&_0x38b6b8['id']===_0xcf3dad[_0x42b912(0x2d3)]['id']&&_0x239223[_0x42b912(0x196)]===this[_0x42b912(0x25a)]&&_0x239223[_0x42b912(0x26f)]===!0x1&&_0x239223[_0x42b912(0x1ce)]['length']>0x0&&this['_updateLocalCursor'](_0x239223[_0x42b912(0x1ce)]);})),this['_syncEditingCollabCursorService'][_0x42ad01(0x171)][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))[_0x42ad01(0x239)](_0x6f5418=>{const _0x17c04a=_0x42ad01;if((_0x6f5418==null?void 0x0:_0x6f5418[_0x17c04a(0x25a)])!==this[_0x17c04a(0x25a)])return;const _0x32aa95={'eventID':_0x158f44['CollaborationEvent'][_0x17c04a(0x31f)],'data':_0x6f5418};this[_0x17c04a(0x245)](_0x32aa95);}),this[_0x42ad01(0x16f)](this['_commandService']['onCommandExecuted'](_0x4b0e2d=>{const _0x292f09=_0x42ad01;if(_0x4b0e2d['params']==null)return;const _0x1f357a=_0x4b0e2d[_0x292f09(0x323)];if(_0x4b0e2d['id']!==_0xcf3dad[_0x292f09(0x1a1)]['id']||_0x1f357a[_0x292f09(0x196)]!==this[_0x292f09(0x25a)])return;const _0x2fe3ff={'id':'doc.mutation.rich-text-editing','params':_0x1f357a},_0x1afdd8=this[_0x292f09(0x173)];for(const [_0x430b4c,_0x365d5]of _0x1afdd8){const _0x29b589={'id':_0x292f09(0x186),'params':{'unitId':this[_0x292f09(0x25a)],'actions':null,'textRanges':_0x365d5[_0x292f09(0x1ce)]}},_0x574634=this[_0x292f09(0x12f)][_0x292f09(0x2dd)](_0x2fe3ff,_0x29b589,!0x1);if(_0x158f44[_0x292f09(0x1d4)](_0x574634))throw _0x574634['error'];_0x1afdd8[_0x292f09(0x194)](_0x430b4c,{..._0x365d5,'ranges':_0x574634[_0x292f09(0xfe)][_0x292f09(0x323)][_0x292f09(0x318)]});}queueMicrotask(()=>{const _0x3ce807=_0x292f09;this[_0x3ce807(0x2d4)][_0x3ce807(0x282)](_0x1afdd8);});})));}[_0x3a3b32(0x245)](_0xf84683){const _0x1f2803=_0x3a3b32;var _0x21c43d,_0x1102de;const {memberID:_0x569406,selection:_0x4350c2}=_0xf84683[_0x1f2803(0x124)],_0x3968b2=_0x520bdb(_0x4350c2),_0x4e8573=(_0x1102de=(_0x21c43d=this[_0x1f2803(0x90)][_0x1f2803(0x229)](this[_0x1f2803(0x25a)],_0x569406))==null?void 0x0:_0x21c43d[_0x1f2803(0x17f)])!=null?_0x1102de:_0x1f2803(0x2fc),_0x13ed5b={'color':this[_0x1f2803(0x29b)][_0x1f2803(0x2f7)](_0x569406),'name':_0x4e8573,'ranges':_0x3968b2},_0xb2432d=this[_0x1f2803(0x173)];_0xb2432d['set'](_0x569406,_0x13ed5b),this[_0x1f2803(0x2d4)][_0x1f2803(0x282)](_0xb2432d);}[_0x3a3b32(0x145)](_0x19b6c0){const _0x5af7b1=_0x3a3b32,{memberID:_0x427132}=_0x19b6c0[_0x5af7b1(0x124)],_0x46697d=this[_0x5af7b1(0x173)];_0x46697d[_0x5af7b1(0x13c)](_0x427132),this['_cursorInfo$']['next'](_0x46697d);}[_0x3a3b32(0xc1)](){const _0x540c61=_0x3a3b32;var _0x3ce2b9;if(this[_0x540c61(0x126)]=!0x0,((_0x3ce2b9=this[_0x540c61(0x30f)][_0x540c61(0x1fe)]())==null?void 0x0:_0x3ce2b9[_0x540c61(0x30c)]())!==this[_0x540c61(0x25a)])return;const _0x25d179=this['_injector'][_0x540c61(0x2be)](_0xcf3dad['DocSelectionManagerService'])[_0x540c61(0x222)]();Array[_0x540c61(0xbc)](_0x25d179)&&_0x25d179['length']>0x0&&this['_updateLocalCursor'](_0x25d179);}[_0x3a3b32(0x2c5)](){const _0x32eb55=_0x3a3b32;this[_0x32eb55(0x126)]=!0x1;}};_0x3cd518=_0x5d3c1c([_0x1d6ef5(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x1d6ef5(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x138d33)),_0x1d6ef5(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f['MemberService'])),_0x1d6ef5(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x4fe24f)),_0x1d6ef5(0x6,_0x158f44[_0x3a3b32(0x153)]),_0x1d6ef5(0x7,_0x5cc899[_0x3a3b32(0x10f)]),_0x1d6ef5(0x8,_0x5cc899[_0x3a3b32(0x234)])],_0x3cd518);var _0x2bdf73=Object[_0x3a3b32(0x26d)],_0x18a5cc=(_0x3fce89,_0x5be657,_0x42bf0b,_0x24d279)=>{const _0x31c76a=_0x3a3b32;for(var _0xa49248=_0x24d279>0x1?void 0x0:_0x24d279?_0x2bdf73(_0x5be657,_0x42bf0b):_0x5be657,_0x5ad3b2=_0x3fce89[_0x31c76a(0xb3)]-0x1,_0x211414;_0x5ad3b2>=0x0;_0x5ad3b2--)(_0x211414=_0x3fce89[_0x5ad3b2])&&(_0xa49248=_0x211414(_0xa49248)||_0xa49248);return _0xa49248;},_0x47ac2d=(_0x17ce02,_0x8e67c2)=>(_0x2465ba,_0x9f3a8c)=>_0x8e67c2(_0x2465ba,_0x9f3a8c,_0x17ce02);const _0x53b7f9=0x12c,_0xea6a1d=0x64,_0x131beb=()=>{let _0x434d36=[],_0x481ecc=!0x1;return _0x54dbfd=>{const _0x10895e=_0x56ac;_0x434d36[_0x10895e(0x2f9)](_0x54dbfd),_0x481ecc||(_0x481ecc=!0x0,setTimeout(()=>{const _0x4ca234=_0x10895e;_0x434d36[_0x4ca234(0x291)](_0x5bed6c=>_0x5bed6c()),_0x434d36=[],_0x481ecc=!0x1;}));};};let _0x2074c6=class extends _0x5cc899['RxDisposable']{constructor(_0x7cd426,_0x4e621f,_0xff91c2,_0x2995c5,_0x5ae717,_0xf75632,_0x3b157c,_0x2dbf39){const _0x37ff39=_0x3a3b32;super(),_0x40a5a2(this,'_online',!0x1),_0x40a5a2(this,'_init',!0x1),_0x40a5a2(this,_0x37ff39(0x2d4),new _0x16a76f['BehaviorSubject'](new Map())),_0x40a5a2(this,_0x37ff39(0x221),this[_0x37ff39(0x2d4)][_0x37ff39(0x1ff)]()),_0x40a5a2(this,_0x37ff39(0x246),new _0x16a76f[(_0x37ff39(0x13e))]([])),_0x40a5a2(this,'roomMembers$',this[_0x37ff39(0x246)]['pipe'](_0x16a76f[_0x37ff39(0x1ac)](_0x53b7f9))),_0x40a5a2(this,_0x37ff39(0x227),_0x5cc899[_0x37ff39(0x259)]((_0x57e2fe,_0x2cb8bf)=>{const _0x40b5db=_0x37ff39,_0x5909bb={'eventID':_0x158f44['CollaborationEvent'][_0x40b5db(0x31f)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x427481['serializeRangeWithSheet'](_0x57e2fe,_0x2cb8bf['range'])}};this[_0x40b5db(0x2bf)][_0x40b5db(0x122)](_0x5909bb,this[_0x40b5db(0x25a)]);},_0xea6a1d)),(this[_0x37ff39(0x25a)]=_0x7cd426,this[_0x37ff39(0x2bf)]=_0x4e621f,this[_0x37ff39(0x2ce)]=_0xff91c2,this[_0x37ff39(0x29b)]=_0x2995c5,this[_0x37ff39(0x90)]=_0x5ae717,this[_0x37ff39(0x30f)]=_0xf75632,this['_commandService']=_0x3b157c,this[_0x37ff39(0x264)]=_0x2dbf39);}get[_0x3a3b32(0x173)](){const _0x4b7106=_0x3a3b32;return this[_0x4b7106(0x2d4)][_0x4b7106(0x2a1)]();}get[_0x3a3b32(0x152)](){return this['_roomMembers$']['getValue']();}[_0x3a3b32(0x23e)](){const _0x45ca18=_0x3a3b32;super['dispose'](),this[_0x45ca18(0x2d4)][_0x45ca18(0x282)](new Map()),this[_0x45ca18(0x2d4)][_0x45ca18(0x168)](),this[_0x45ca18(0x246)]['next']([]),this[_0x45ca18(0x246)]['complete']();}[_0x3a3b32(0xd4)](){const _0x2ead02=_0x3a3b32;this['_init']||(this[_0x2ead02(0xa2)]=!0x0,this[_0x2ead02(0x2bf)][_0x2ead02(0x1a2)][_0x2ead02(0x9a)](_0x16a76f[_0x2ead02(0x105)](this[_0x2ead02(0x27c)]))[_0x2ead02(0x239)](_0x103718=>{const _0x1ee92b=_0x2ead02;_0x103718===_0x56139f['SessionStatus'][_0x1ee92b(0x220)]?this[_0x1ee92b(0xc1)]():this['_toggleOffline']();}),this[_0x2ead02(0x2bf)][_0x2ead02(0x27b)][_0x2ead02(0x9a)](_0x16a76f[_0x2ead02(0x105)](this[_0x2ead02(0x27c)]))[_0x2ead02(0x239)](_0x3c0197=>{const _0x49d389=_0x2ead02,_0x2c7923=_0x3c0197['eventID'];_0x2c7923===_0x158f44['CollaborationEvent'][_0x49d389(0x31f)]&&this[_0x49d389(0x245)](_0x3c0197),_0x2c7923===_0x158f44['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x3c0197);}),this[_0x2ead02(0xce)](),this[_0x2ead02(0x16f)](this[_0x2ead02(0x25d)][_0x2ead02(0x1b1)](_0x2fe1e9=>{const _0x4e9cfe=_0x2ead02;if(this[_0x4e9cfe(0x126)]&&_0x2fe1e9['id']===_0x156504['SetSelectionsOperation']['id']&&_0x2fe1e9[_0x4e9cfe(0x323)]['unitId']===this['unitID']){const _0x249d1f=_0x2fe1e9[_0x4e9cfe(0x323)];this[_0x4e9cfe(0x227)](_0x249d1f[_0x4e9cfe(0x1eb)],_0x249d1f['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2d72cb){const _0x5c2ea5=_0x3a3b32;var _0x5404f0,_0x3d5c53;const {memberID:_0xc76547,selection:_0x5caf75}=_0x2d72cb[_0x5c2ea5(0x124)],{sheetName:_0x2c974c,range:_0x501c19}=_0x427481[_0x5c2ea5(0x1d6)](_0x5caf75),_0x1e06ef={'name':(_0x3d5c53=(_0x5404f0=this[_0x5c2ea5(0x90)][_0x5c2ea5(0x229)](this[_0x5c2ea5(0x25a)],_0xc76547))==null?void 0x0:_0x5404f0[_0x5c2ea5(0x17f)])!=null?_0x3d5c53:_0x5c2ea5(0x2fc),'range':this[_0x5c2ea5(0x2f6)](_0x2c974c,_0x501c19),'sheetID':_0x2c974c,'color':this[_0x5c2ea5(0x29b)]['assignAColorForMemberID'](_0xc76547),'selection':_0x5caf75},_0x45642c=this[_0x5c2ea5(0x173)];_0x45642c[_0x5c2ea5(0x194)](_0xc76547,_0x1e06ef),this[_0x5c2ea5(0x2d4)][_0x5c2ea5(0x282)](_0x45642c);}[_0x3a3b32(0x145)](_0x9f9654){const _0x4854d6=_0x3a3b32,{memberID:_0x2bad56}=_0x9f9654[_0x4854d6(0x124)],_0x14aa9a=this[_0x4854d6(0x173)];_0x14aa9a[_0x4854d6(0x13c)](_0x2bad56),this['_cursorInfo$'][_0x4854d6(0x282)](_0x14aa9a);}[_0x3a3b32(0x2f6)](_0x3c0894,_0x573bf1){const _0x1494de=_0x3a3b32;var _0x50d761,_0x165b4e;const _0x4e98f7=(_0x165b4e=(_0x50d761=this[_0x1494de(0x30f)][_0x1494de(0x13f)](this['unitID']))==null?void 0x0:_0x50d761['getSheetBySheetId'](_0x3c0894))==null?void 0x0:_0x165b4e['getMergeData']();return(_0x4e98f7==null?void 0x0:_0x4e98f7[_0x1494de(0x2ee)](_0x349db5=>_0x5cc899[_0x1494de(0x1fc)][_0x1494de(0x149)](_0x349db5,_0x573bf1)))||_0x573bf1;}['_onRefRangeChange'](){const _0x355c06=_0x3a3b32,_0x1c1916=new _0x5cc899['DisposableCollection'](),_0x40421f=_0x131beb(),_0x44de8a=()=>{const _0x464b89=_0x56ac;_0x1c1916[_0x464b89(0x23e)]();const _0x36fa00=(_0x8c0017,_0x490468,_0x24342f,_0x4dd02e)=>{const _0x6eec94=_0x464b89;let _0x41f265=[];switch(_0x8c0017['id']){case _0x156504['EffectRefRangId'][_0x6eec94(0x93)]:{_0x41f265=_0x156504[_0x6eec94(0x2bc)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x224)]:{_0x41f265=_0x156504[_0x6eec94(0x1f0)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x2c2)]:{_0x41f265=_0x156504['handleInsertCol'](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId'][_0x6eec94(0xd9)]:{_0x41f265=_0x156504[_0x6eec94(0x14a)](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x41f265=_0x156504[_0x6eec94(0x272)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x1bb)]:{_0x41f265=_0x156504[_0x6eec94(0xc5)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x2b7)]:{_0x41f265=_0x156504['handleMoveRange'](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0xde)]:{_0x41f265=_0x156504['handleIRemoveCol'](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId'][_0x6eec94(0x1bc)]:{_0x41f265=_0x156504[_0x6eec94(0x22b)](_0x8c0017,_0x4dd02e);break;}}const _0x3e5337=_0x156504[_0x6eec94(0x236)](_0x41f265,_0x4dd02e),_0x10ab75=this[_0x6eec94(0x173)][_0x6eec94(0x2be)](_0x490468);if(_0x10ab75&&_0x3e5337){const _0x2a46df={..._0x10ab75,'range':_0x3e5337};this[_0x6eec94(0x173)]['set'](_0x490468,_0x2a46df),_0x40421f(()=>{const _0x14d11c=_0x6eec94,_0x4f8ed1=this['_refRangeService']['registerRefRange'](_0x3e5337,_0x102fda=>(_0x4f8ed1[_0x14d11c(0x23e)](),_0x36fa00(_0x102fda,_0x490468,_0x24342f,_0x3e5337)));_0x1c1916[_0x14d11c(0x316)](_0x4f8ed1);});}return{'redos':[],'undos':[]};};this[_0x464b89(0x173)]['forEach']((_0x193c46,_0x46d42d)=>{const _0x156e5b=_0x464b89,{range:_0x470b0e,sheetID:_0x53d500}=_0x193c46,_0x3f6b18=this[_0x156e5b(0x264)][_0x156e5b(0xb5)](_0x470b0e,_0x2a7dbb=>(_0x3f6b18[_0x156e5b(0x23e)](),_0x36fa00(_0x2a7dbb,_0x46d42d,_0x53d500,_0x470b0e)));_0x1c1916[_0x156e5b(0x316)](_0x3f6b18);});};this[_0x355c06(0x16f)](_0x5cc899[_0x355c06(0x311)](this[_0x355c06(0x2d4)][_0x355c06(0x239)](()=>{_0x44de8a();})));}[_0x3a3b32(0xc1)](){const _0x38bab1=_0x3a3b32;var _0x14f86f,_0x2aa020;if(this[_0x38bab1(0x126)]=!0x0,((_0x14f86f=this[_0x38bab1(0x30f)][_0x38bab1(0x1fe)]())==null?void 0x0:_0x14f86f[_0x38bab1(0x30c)]())!==this[_0x38bab1(0x25a)])return;const _0x4bc9ef=(_0x2aa020=this[_0x38bab1(0x2ce)][_0x38bab1(0x2be)](_0x156504[_0x38bab1(0x263)])[_0x38bab1(0x288)]())==null?void 0x0:_0x2aa020[0x0],_0x260472=this[_0x38bab1(0x30f)][_0x38bab1(0x296)](_0x5cc899['UniverInstanceType']['UNIVER_SHEET'])[_0x38bab1(0x214)]();_0x4bc9ef&&_0x260472&&this[_0x38bab1(0x227)](_0x260472['getSheetId'](),_0x4bc9ef);}['_toggleOffline'](){const _0x14c199=_0x3a3b32;this[_0x14c199(0x126)]=!0x1;}};_0x2074c6=_0x18a5cc([_0x47ac2d(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899['Injector'])),_0x47ac2d(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x138d33)),_0x47ac2d(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x123)])),_0x47ac2d(0x5,_0x5cc899[_0x3a3b32(0x10f)]),_0x47ac2d(0x6,_0x5cc899[_0x3a3b32(0x234)]),_0x47ac2d(0x7,_0x5cc899[_0x3a3b32(0x27f)](_0x156504[_0x3a3b32(0x188)]))],_0x2074c6);var _0x1d39ad=Object[_0x3a3b32(0x26d)],_0x52e77b=(_0x4da442,_0x2a410d,_0x54030f,_0x498470)=>{const _0x4f72a5=_0x3a3b32;for(var _0x157837=_0x498470>0x1?void 0x0:_0x498470?_0x1d39ad(_0x2a410d,_0x54030f):_0x2a410d,_0x4fdb8d=_0x4da442[_0x4f72a5(0xb3)]-0x1,_0x5ab35d;_0x4fdb8d>=0x0;_0x4fdb8d--)(_0x5ab35d=_0x4da442[_0x4fdb8d])&&(_0x157837=_0x5ab35d(_0x157837)||_0x157837);return _0x157837;},_0x3548fa=(_0x2a9c47,_0x1111f9)=>(_0x3717ea,_0x568cfd)=>_0x1111f9(_0x3717ea,_0x568cfd,_0x2a9c47);let _0x6e1b81=class extends _0x5cc899['RxDisposable']{constructor(_0x465d70,_0x14afa2,_0x319238){const _0x36437d=_0x3a3b32;super(),_0x40a5a2(this,_0x36437d(0x325),new Map()),_0x40a5a2(this,_0x36437d(0xff),new _0x16a76f[(_0x36437d(0x176))]()),(this['_univerInstanceService']=_0x465d70,this[_0x36437d(0x2ce)]=_0x14afa2,this[_0x36437d(0x2f0)]=_0x319238,this[_0x36437d(0xa2)]());}[_0x3a3b32(0x23e)](){const _0x4cda06=_0x3a3b32;super[_0x4cda06(0x23e)](),this[_0x4cda06(0xff)][_0x4cda06(0x168)](),this[_0x4cda06(0x325)]['forEach'](_0x574f25=>_0x574f25['dispose']());}[_0x3a3b32(0x300)](_0x3970eb){const _0x45ab7a=_0x3a3b32;return this['_entities'][_0x45ab7a(0xd6)](_0x3970eb)?this[_0x45ab7a(0x325)][_0x45ab7a(0x2be)](_0x3970eb)[_0x45ab7a(0x221)]:this[_0x45ab7a(0xff)][_0x45ab7a(0x9a)](_0x16a76f[_0x45ab7a(0xe8)](_0x1d7fcd=>_0x1d7fcd[_0x45ab7a(0x25a)]===_0x3970eb),_0x16a76f[_0x45ab7a(0x210)](_0x84433=>_0x84433[_0x45ab7a(0x221)]));}[_0x3a3b32(0xa2)](){const _0x3e2fc6=_0x3a3b32;this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x203)](_0x5cc899[_0x3e2fc6(0x16e)][_0x3e2fc6(0x1d3)])[_0x3e2fc6(0x9a)](_0x16a76f['takeUntil'](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x239)](async _0x2d609b=>{const _0x383210=_0x3e2fc6,_0x206bb2=_0x2d609b[_0x383210(0x30c)](),_0x326fb5=await this[_0x383210(0x2fd)](_0x206bb2);this[_0x383210(0xff)]['next'](_0x326fb5),this[_0x383210(0x325)][_0x383210(0x194)](_0x206bb2,_0x326fb5);}),this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x203)](_0x5cc899[_0x3e2fc6(0x16e)]['UNIVER_DOC'])[_0x3e2fc6(0x9a)](_0x16a76f['takeUntil'](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x9a)](_0x16a76f[_0x3e2fc6(0xe8)](_0x1613cf=>!_0x1613cf['getUnitId']()[_0x3e2fc6(0x2ae)]('__')))[_0x3e2fc6(0x239)](async _0x3b2ebc=>{const _0x185808=_0x3e2fc6,_0x9de830=_0x3b2ebc[_0x185808(0x30c)](),_0x5e3aae=await this[_0x185808(0x29c)](_0x9de830);this[_0x185808(0xff)][_0x185808(0x282)](_0x5e3aae),this['_entities']['set'](_0x9de830,_0x5e3aae);}),_0x16a76f['merge'](this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x191)](_0x5cc899[_0x3e2fc6(0x16e)][_0x3e2fc6(0x301)]),this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x191)](_0x5cc899['UniverInstanceType'][_0x3e2fc6(0x1d3)]))[_0x3e2fc6(0x9a)](_0x16a76f[_0x3e2fc6(0x105)](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x239)](_0x3757fe=>{const _0x4b1e3f=_0x3e2fc6,_0x4f6270=_0x3757fe[_0x4b1e3f(0x30c)](),_0x461c26=this[_0x4b1e3f(0x325)][_0x4b1e3f(0x2be)](_0x4f6270);_0x461c26&&(_0x461c26[_0x4b1e3f(0x23e)](),this[_0x4b1e3f(0x325)][_0x4b1e3f(0x13c)](_0x4f6270));});}async[_0x3a3b32(0x2fd)](_0x21bde4){const _0x417f41=_0x3a3b32,_0xbbe60b=await this[_0x417f41(0x2f0)][_0x417f41(0x135)](_0x21bde4),_0x603ad8=this[_0x417f41(0x2ce)][_0x417f41(0x2bd)](_0x2074c6,_0x21bde4,_0xbbe60b);return _0x603ad8[_0x417f41(0xd4)](),_0x603ad8;}async['_startDocCollabCursor'](_0x4c8ab5){const _0x4cd64e=_0x3a3b32,_0x3fffcb=await this['_collabSessionService'][_0x4cd64e(0x135)](_0x4c8ab5),_0xaaf53c=this['_injector'][_0x4cd64e(0x2bd)](_0x3cd518,_0x4c8ab5,_0x3fffcb);return _0xaaf53c[_0x4cd64e(0xd4)](),_0xaaf53c;}};_0x6e1b81=_0x52e77b([_0x3548fa(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x3548fa(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x3548fa(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x23f)]))],_0x6e1b81);const _0x12924c=0x14,_0x17f9d8=0xc8,_0x1f84c0=0x4,_0x30bc6f=0x5;function _0x9b6f3f(_0x4cac28,_0x4e4dcc){const _0x468bf4=_0x3a3b32;let {radius:_0x1dad9d,width:_0x5e8bce,height:_0x8973f6}=_0x4e4dcc;_0x1dad9d=_0x1dad9d!=null?_0x1dad9d:0x0,_0x5e8bce=_0x5e8bce!=null?_0x5e8bce:0x1e,_0x8973f6=_0x8973f6!=null?_0x8973f6:0x1e;let _0x25afdb=0x0,_0x3e8a56=0x0,_0x4d1d89=0x0;_0x25afdb=_0x3e8a56=_0x4d1d89=Math[_0x468bf4(0xf3)](_0x1dad9d,_0x5e8bce/0x2,_0x8973f6/0x2),_0x4cac28[_0x468bf4(0x2ca)](),_0x4cac28['moveTo'](_0x25afdb,0x0),_0x4cac28[_0x468bf4(0x15e)](_0x5e8bce-_0x3e8a56,0x0),_0x4cac28[_0x468bf4(0xb9)](_0x5e8bce-_0x3e8a56,_0x3e8a56,_0x3e8a56,Math['PI']*0x3/0x2,0x0,!0x1),_0x4cac28[_0x468bf4(0x15e)](_0x5e8bce,_0x8973f6-_0x4d1d89),_0x4cac28[_0x468bf4(0xb9)](_0x5e8bce-_0x4d1d89,_0x8973f6-_0x4d1d89,_0x4d1d89,0x0,Math['PI']/0x2,!0x1),_0x4cac28[_0x468bf4(0x15e)](0x0,_0x8973f6),_0x4cac28[_0x468bf4(0x15e)](0x0,_0x25afdb),_0x4cac28[_0x468bf4(0xb9)](_0x25afdb,_0x25afdb,_0x25afdb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4cac28[_0x468bf4(0x107)](),_0x4e4dcc[_0x468bf4(0x242)]&&(_0x4cac28[_0x468bf4(0x19b)](),_0x4cac28['fillStyle']=_0x4e4dcc[_0x468bf4(0x242)],_0x4e4dcc[_0x468bf4(0x21e)]==='evenodd'?_0x4cac28[_0x468bf4(0x242)](_0x468bf4(0x1b0)):_0x4cac28['fill'](),_0x4cac28[_0x468bf4(0x2da)]());}class _0x8e950f extends _0xa3a2fa[_0x3a3b32(0x24b)]{constructor(_0x5a51a5,_0xb02d5d){const _0x23980c=_0x3a3b32;super(_0x5a51a5,_0xb02d5d),_0x40a5a2(this,'color'),_0x40a5a2(this,_0x23980c(0x306)),(this[_0x23980c(0x322)]=_0xb02d5d==null?void 0x0:_0xb02d5d[_0x23980c(0x322)],this['text']=_0xb02d5d==null?void 0x0:_0xb02d5d[_0x23980c(0x306)]);}static[_0x3a3b32(0x91)](_0xe07ed0,_0x19bfb3){const _0x214ca2=_0x3a3b32,{text:_0x437213,color:_0x292c68}=_0x19bfb3;_0xe07ed0[_0x214ca2(0x19b)](),_0xe07ed0[_0x214ca2(0x187)]=_0x214ca2(0xac);const _0x313474=_0xe07ed0[_0x214ca2(0x2f8)](_0x437213)[_0x214ca2(0x182)],_0x1e4a15=Math['min'](_0x313474+0x2*_0x1f84c0,_0x17f9d8);_0x9b6f3f(_0xe07ed0,{'height':_0x12924c,'radius':0x4,'width':_0x1e4a15,'fill':_0x292c68}),_0xe07ed0[_0x214ca2(0xcf)]=_0x214ca2(0x1bf);const _0x590243=_0x1f84c0,_0x2ab53c=_0x12924c-_0x30bc6f,_0x487573=_0x17f9d8-0x2*_0x1f84c0;if(_0x313474>_0x487573){let _0x10f47b='',_0x33ca2e=0x0;for(const _0x40de6e of _0x437213){const _0x37d097=_0xe07ed0[_0x214ca2(0x2f8)](_0x40de6e)[_0x214ca2(0x182)];if(_0x33ca2e+_0x37d097<=_0x487573-_0xe07ed0[_0x214ca2(0x2f8)]('...')[_0x214ca2(0x182)])_0x10f47b+=_0x40de6e,_0x33ca2e+=_0x37d097;else{_0x10f47b+=_0x214ca2(0x2d8);break;}}_0xe07ed0[_0x214ca2(0x15c)](_0x10f47b,_0x590243,_0x2ab53c);}else _0xe07ed0[_0x214ca2(0x15c)](_0x437213,_0x590243,_0x2ab53c);_0xe07ed0['restore']();}[_0x3a3b32(0x297)](_0x1d688d){_0x8e950f['drawWith'](_0x1d688d,this);}}const _0x2c041c=_0x3a3b32(0x19e),_0xe5237b=_0x3a3b32(0x218),_0x3df2a0=_0x3a3b32(0x1a8),_0x3708e6=0x6,_0x1d03a0=1.5,_0x422cf7=0x4,_0x28741e=1.5,_0x1ec2f7=_0x3a3b32(0x2c7);class _0x2d8a56{constructor(_0x257110,_0x5da521,_0x1f14af,_0x1ad32b){const _0x4930ec=_0x3a3b32;_0x40a5a2(this,_0x4930ec(0x1c8),[]),_0x40a5a2(this,_0x4930ec(0xf1),null),_0x40a5a2(this,'_textBubble',null),_0x40a5a2(this,_0x4930ec(0x11d),null),_0x40a5a2(this,'_hideTimer',null),_0x40a5a2(this,_0x4930ec(0x137),null),(this[_0x4930ec(0x24c)]=_0x257110,this[_0x4930ec(0x146)]=_0x5da521,this[_0x4930ec(0x2ea)]=_0x1f14af,this[_0x4930ec(0x128)]=_0x1ad32b,this['_render']());}set[_0x3a3b32(0x144)](_0x2f6c43){const _0x4179ad=_0x3a3b32;_0x2f6c43?(this[_0x4179ad(0x11d)]&&this[_0x4179ad(0x11d)][_0x4179ad(0x1e3)](),this['_textBubble']&&this[_0x4179ad(0x2aa)][_0x4179ad(0x2bb)]()):(this[_0x4179ad(0x11d)]&&this['_anchorDot'][_0x4179ad(0x2bb)](),this[_0x4179ad(0x2aa)]&&this[_0x4179ad(0x2aa)][_0x4179ad(0x1e3)]());}[_0x3a3b32(0x23e)](){const _0xe3662a=_0x3a3b32;for(const _0xe1b471 of this[_0xe3662a(0x1c8)])_0xe1b471[_0xe3662a(0x23e)]();this['_textBubble']&&this[_0xe3662a(0x2aa)][_0xe3662a(0x23e)](),this[_0xe3662a(0x11d)]&&this[_0xe3662a(0x11d)][_0xe3662a(0x23e)](),this[_0xe3662a(0xf1)]&&this[_0xe3662a(0xf1)][_0xe3662a(0x23e)](),this[_0xe3662a(0x137)]&&this[_0xe3662a(0x137)]();}[_0x3a3b32(0x2f4)](){const _0x2c4f23=_0x3a3b32;var _0x113ae8;const {_docSkeleton:_0x510b1a,_document:_0x3d1749}=this,{color:_0x3c08e9,name:_0x6544f6,ranges:_0x29c5dd}=this[_0x2c4f23(0x24c)],_0x3677d8=_0x3d1749[_0x2c4f23(0x2f2)](),{docsLeft:_0x31e5f8,docsTop:_0x132dce}=_0x3677d8,_0xb43aee=new _0x45cbcb['NodePositionConvertToCursor'](_0x3677d8,_0x510b1a);for(const {startOffset:_0x1a5a20,endOffset:_0x213ee5,rangeType:_0x54e3c3,segmentId:_0x912e03,segmentPage:_0x38a3a2,collapsed:_0x42c097,isActive:_0x19fb0c}of _0x29c5dd){const _0x21b3fc=_0x510b1a['findNodePositionByCharIndex'](_0x1a5a20,!0x0,_0x912e03,_0x38a3a2);let _0x1eded7=_0x510b1a[_0x2c4f23(0x256)](_0x213ee5,!0x0,_0x912e03,_0x38a3a2);if(_0x1eded7==null&&(_0x1eded7=_0x510b1a[_0x2c4f23(0x256)](_0x213ee5-0x1,!0x1,_0x912e03,_0x38a3a2)),_0x19fb0c){const {contentBoxPointGroup:_0x547443}=_0xb43aee[_0x2c4f23(0x113)](_0x1eded7,_0x1eded7);if(_0x547443[_0x2c4f23(0xb3)]===0x0)continue;this['_drawAnchor'](_0x3c08e9,_0x547443,_0x31e5f8,_0x132dce,_0x6544f6),this[_0x2c4f23(0x137)]=this[_0x2c4f23(0x127)]();}if(_0x21b3fc&&_0x1eded7){if(_0x54e3c3===_0x5cc899[_0x2c4f23(0x30a)]['RECT']){const _0x426b5d=new _0x45cbcb[(_0x2c4f23(0x2e0))](_0x3677d8,_0x510b1a),{pointGroup:_0x578a6e}=(_0x113ae8=_0x426b5d[_0x2c4f23(0x113)](_0x21b3fc,_0x1eded7))!=null?_0x113ae8:{};if(_0x578a6e==null||_0x578a6e[_0x2c4f23(0xb3)]===0x0)continue;this[_0x2c4f23(0xea)](_0x3c08e9,_0x578a6e,_0x31e5f8,_0x132dce);}else{if(!_0x42c097){const {borderBoxPointGroup:_0x3cb47f}=_0xb43aee[_0x2c4f23(0x113)](_0x21b3fc,_0x1eded7);if(_0x3cb47f[_0x2c4f23(0xb3)]===0x0)continue;this[_0x2c4f23(0x2fb)](_0x3c08e9,_0x3cb47f,_0x31e5f8,_0x132dce);}}}}}[_0x3a3b32(0xd8)](_0x3b2404,_0x535d03,_0x1c2eaf,_0x3437dd,_0x4fab16){const _0x5f086=_0x3a3b32,_0x259221=this[_0x5f086(0x2c4)](_0x535d03),{left:_0x1b13ac,top:_0x495007,height:_0x77ef3c}=_0x259221,_0x46cbfc=this[_0x5f086(0x11c)](),_0x4a6391=_0x28741e/_0x46cbfc,_0x34222b=new _0xa3a2fa[(_0x5f086(0x2b9))](_0x2c041c+_0x5cc899[_0x5f086(0xa7)][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd,'height':_0x77ef3c,'width':_0x1d03a0,'fill':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899['COLORS']['black'],0x0),'strokeWidth':_0x4a6391,'stroke':_0x1ec2f7,'evented':!0x0});this[_0x5f086(0xf1)]=_0x34222b,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x34222b,_0x45cbcb[_0x5f086(0x14d)]);const _0x40dbbe=new _0xa3a2fa[(_0x5f086(0x2b9))](_0x2c041c+_0x5cc899['Tools'][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd-_0x422cf7/0x2,'height':_0x422cf7,'width':_0x422cf7,'fill':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899['COLORS'][_0x5f086(0xdf)],0x0),'strokeWidth':0x0,'stroke':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899[_0x5f086(0x111)][_0x5f086(0xdf)],0x0),'evented':!0x1});this['_anchorDot']=_0x40dbbe,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x40dbbe,_0x45cbcb[_0x5f086(0x14d)]);const _0x40249a=new _0x8e950f(_0x2c041c+_0x5cc899['Tools'][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd-_0x12924c,'text':_0x4fab16,'color':_0x3b2404});this[_0x5f086(0x2aa)]=_0x40249a,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x40249a,_0x45cbcb['TEXT_RANGE_LAYER_INDEX']),this[_0x5f086(0x144)]=!0x1;}['_handleHover'](){const _0x2da48e=_0x3a3b32,_0x5829fa=this[_0x2da48e(0xf1)][_0x2da48e(0x16c)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5db813=this['_anchor'][_0x2da48e(0x18c)][_0x2da48e(0x2a7)](()=>{const _0x21f492=_0x2da48e;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x21f492(0xe0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x34780b=_0x2da48e;_0x5829fa['unsubscribe'](),_0x5db813[_0x34780b(0xe6)]();};}[_0x3a3b32(0x2fb)](_0x4bc11e,_0x42b435,_0x8a6917,_0x36fba1){const _0x21809e=_0x3a3b32,_0x14a197=new _0x5cc899[(_0x21809e(0x1e2))](_0x4bc11e)[_0x21809e(0x20a)](0.2)['toRgbString'](),_0x571b5c=new _0xa3a2fa['RegularPolygon'](_0xe5237b+_0x5cc899[_0x21809e(0xa7)][_0x21809e(0x2cc)](_0x3708e6),{'pointsGroup':_0x42b435,'fill':_0x14a197||_0xa3a2fa[_0x21809e(0x117)](_0x5cc899[_0x21809e(0x111)]['black'],0.2),'left':_0x8a6917,'top':_0x36fba1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21809e(0x1c8)][_0x21809e(0x2f9)](_0x571b5c),this[_0x21809e(0x146)]['addObject'](_0x571b5c,_0x45cbcb[_0x21809e(0x14d)]);}[_0x3a3b32(0xea)](_0x4e56d3,_0x250033,_0x2dfb85,_0x2f160b){const _0x6935a5=_0x3a3b32,_0x127705=new _0x5cc899[(_0x6935a5(0x1e2))](_0x4e56d3)[_0x6935a5(0x20a)](0.2)['toRgbString'](),_0x499c68=new _0xa3a2fa['RegularPolygon'](_0x3df2a0+_0x5cc899[_0x6935a5(0xa7)][_0x6935a5(0x2cc)](_0x3708e6),{'pointsGroup':_0x250033,'fill':_0x127705||_0xa3a2fa[_0x6935a5(0x117)](_0x5cc899[_0x6935a5(0x111)][_0x6935a5(0xdf)],0.2),'left':_0x2dfb85,'top':_0x2f160b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6935a5(0x1c8)]['push'](_0x499c68),this[_0x6935a5(0x146)]['addObject'](_0x499c68,_0x45cbcb[_0x6935a5(0x14d)]);}[_0x3a3b32(0x2c4)](_0x5d7845){const _0x448e21=_0x5d7845[0x0],_0x52d1c6=_0x448e21[0x0],_0x44f6d6=_0x448e21[0x2],{x:_0x39af5b,y:_0x26ce46}=_0x52d1c6,{x:_0x420771,y:_0x2a1e6b}=_0x44f6d6;return{'left':_0x39af5b,'top':_0x26ce46,'width':_0x420771-_0x39af5b,'height':_0x2a1e6b-_0x26ce46};}[_0x3a3b32(0x11c)](){const _0x1e6410=_0x3a3b32,{scaleX:_0x5e221c,scaleY:_0x34616d}=this[_0x1e6410(0x146)]['getAncestorScale']();return Math[_0x1e6410(0x2b1)](_0x5e221c,_0x34616d);}}var _0x64439c=Object[_0x3a3b32(0x26d)],_0xfe4265=(_0x47ff78,_0x37d6b4,_0x11e3df,_0x92bfcf)=>{const _0x1f6b13=_0x3a3b32;for(var _0x8b2618=_0x92bfcf>0x1?void 0x0:_0x92bfcf?_0x64439c(_0x37d6b4,_0x11e3df):_0x37d6b4,_0x4fbee8=_0x47ff78[_0x1f6b13(0xb3)]-0x1,_0x3b1bba;_0x4fbee8>=0x0;_0x4fbee8--)(_0x3b1bba=_0x47ff78[_0x4fbee8])&&(_0x8b2618=_0x3b1bba(_0x8b2618)||_0x8b2618);return _0x8b2618;},_0x2f1100=(_0x43afb5,_0x4cc7ec)=>(_0x46ad83,_0x4f77b8)=>_0x4cc7ec(_0x46ad83,_0x4f77b8,_0x43afb5);let _0xf4fa45=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x2229cf,_0x105067,_0x2d3ef1,_0xba3ee2,_0x432384){const _0x270235=_0x3a3b32;super(),_0x40a5a2(this,'_cursorShapes',[]),_0x40a5a2(this,_0x270235(0x102),[]),(this['_context']=_0x2229cf,this[_0x270235(0x180)]=_0x105067,this['_collabCursorController']=_0x2d3ef1,this[_0x270235(0x25d)]=_0xba3ee2,this[_0x270235(0x274)]=_0x432384,this['_init']());}[_0x3a3b32(0xa2)](){const _0x190cea=_0x3a3b32,_0x105820=this[_0x190cea(0x2a9)][_0x190cea(0x196)],_0x28db7c=this[_0x190cea(0x180)];this['disposeWithMe'](_0x16a76f['combineLatest']([this['_collabCursorController'][_0x190cea(0x300)](_0x105820),this[_0x190cea(0x274)][_0x190cea(0x2a0)]])[_0x190cea(0x9a)](_0x4faa9f[_0x190cea(0x12b)](([_0x1ac27b,_0x552193])=>({'skeleton':_0x28db7c[_0x190cea(0x8c)](),'cursors':[..._0x1ac27b['values']()][_0x190cea(0xb2)](_0x469376=>({..._0x469376,'color':this[_0x190cea(0x274)][_0x190cea(0x2f3)](_0x469376[_0x190cea(0x322)])}))})))['subscribe'](_0x1f9af0=>{const _0x3aa297=_0x190cea;if(this[_0x3aa297(0xfd)](),_0x1f9af0){const {skeleton:_0x4b26e7,cursors:_0xe74974}=_0x1f9af0;this[_0x3aa297(0xe9)](_0x4b26e7,_0xe74974);}})),this[_0x190cea(0x27e)](),this[_0x190cea(0x17d)]();}['_updateCollabCursors'](_0x2942dd,_0x132090){const _0x4f7f4b=_0x3a3b32,{scene:_0x2dcf0e,mainComponent:_0x1ee2ce}=this[_0x4f7f4b(0x2a9)],_0x105b49=_0x132090[_0x4f7f4b(0x12b)](_0x58eccd=>new _0x2d8a56(_0x58eccd,_0x2dcf0e,_0x2942dd,_0x1ee2ce));this['_cursorShapes']=_0x105b49,this[_0x4f7f4b(0x102)]=_0x132090;}[_0x3a3b32(0x2e3)](){const _0x5dab5f=_0x3a3b32;this[_0x5dab5f(0xfd)]();const {scene:_0x30c4ce,mainComponent:_0x2ec19d}=this[_0x5dab5f(0x2a9)],_0x58fcc1=this['_docSkeletonManagerService'][_0x5dab5f(0x8c)](),_0x47f39c=this[_0x5dab5f(0x102)][_0x5dab5f(0x12b)](_0x126425=>new _0x2d8a56(_0x126425,_0x30c4ce,_0x58fcc1,_0x2ec19d));this[_0x5dab5f(0x22f)]=_0x47f39c;}[_0x3a3b32(0xfd)](){const _0x1c59c5=_0x3a3b32;this['_cursorShapes'][_0x1c59c5(0x291)](_0xa7b94a=>_0xa7b94a[_0x1c59c5(0x23e)]()),this[_0x1c59c5(0x22f)]=[];}['_initCommandExecutedListener'](){const _0x3bd91d=_0x3a3b32,_0x11c9e7=[_0x45cbcb[_0x3bd91d(0x150)]['id']];this[_0x3bd91d(0x16f)](this[_0x3bd91d(0x25d)][_0x3bd91d(0x1b1)](_0x2c6326=>{const _0x1ac741=_0x3bd91d;_0x11c9e7['includes'](_0x2c6326['id'])&&_0x2c6326[_0x1ac741(0x323)][_0x1ac741(0x196)]===this[_0x1ac741(0x2a9)][_0x1ac741(0x196)]&&this[_0x1ac741(0x2e3)]();}));}[_0x3a3b32(0x27e)](){const _0x2ef1b0=_0x3a3b32;this[_0x2ef1b0(0x16f)](_0x5cc899['fromEventSubject'](this[_0x2ef1b0(0x2a9)]['engine'][_0x2ef1b0(0xad)])['pipe'](_0x4faa9f[_0x2ef1b0(0xe8)](_0x135092=>_0x135092[_0x2ef1b0(0x189)]===_0xa3a2fa[_0x2ef1b0(0x28b)][_0x2ef1b0(0x163)]),_0x4faa9f[_0x2ef1b0(0x2cf)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0xf4fa45=_0xfe4265([_0x2f1100(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0xcf3dad[_0x3a3b32(0xbf)])),_0x2f1100(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x6e1b81)),_0x2f1100(0x3,_0x5cc899[_0x3a3b32(0x234)]),_0x2f1100(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x99)]))],_0xf4fa45);const _0x475930=0x1,_0x53128f=1.5;class _0x56e01b extends _0xa3a2fa[_0x3a3b32(0x24b)]{constructor(_0x156d1f,_0x426cc5){const _0x50e81c=_0x3a3b32;super(_0x156d1f,_0x426cc5),_0x40a5a2(this,_0x50e81c(0x15b)),_0x40a5a2(this,_0x50e81c(0x167),!0x1),_0x40a5a2(this,'_range'),_0x40a5a2(this,_0x50e81c(0x21c),''),_0x40a5a2(this,'_labelPosition',_0x50e81c(0x97)),_0x40a5a2(this,_0x50e81c(0x104)),(_0x426cc5&&this[_0x50e81c(0x1b9)](_0x426cc5),this[_0x50e81c(0x16c)][_0x50e81c(0x2a7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x50e81c(0x18c)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3f8959){const _0x2b7240=_0x3a3b32;var _0x5ad2cc,_0x4642fd,_0xda2cf2,_0x319410,_0x1ff739,_0x5cb3ec;this[_0x2b7240(0x15b)]=(_0x5ad2cc=_0x3f8959['color'])!=null?_0x5ad2cc:this['_color'],this['_hovered']=(_0x4642fd=_0x3f8959[_0x2b7240(0x317)])!=null?_0x4642fd:this[_0x2b7240(0x167)],this[_0x2b7240(0x265)]=(_0xda2cf2=_0x3f8959[_0x2b7240(0x2d7)])!=null?_0xda2cf2:this[_0x2b7240(0x265)],this[_0x2b7240(0x21c)]=(_0x319410=_0x3f8959[_0x2b7240(0x17f)])!=null?_0x319410:this[_0x2b7240(0x21c)],this['_labelPosition']=(_0x1ff739=_0x3f8959[_0x2b7240(0x1df)])!=null?_0x1ff739:this[_0x2b7240(0xc2)],this[_0x2b7240(0x104)]=(_0x5cb3ec=_0x3f8959[_0x2b7240(0x1f6)])!=null?_0x5cb3ec:this[_0x2b7240(0x104)],this['transformByState']({'width':_0x3f8959[_0x2b7240(0x182)],'height':_0x3f8959[_0x2b7240(0x29d)]});}[_0x3a3b32(0xeb)](_0x21dfa8){const _0x27c551=_0x3a3b32,{row:_0x1b287c,column:_0xa6767d}=_0x21dfa8;if(_0x1b287c>=this[_0x27c551(0x265)][_0x27c551(0x2ad)]&&_0x1b287c<=this[_0x27c551(0x265)][_0x27c551(0x161)]&&_0xa6767d>=this[_0x27c551(0x265)][_0x27c551(0x198)]&&_0xa6767d<=this[_0x27c551(0x265)]['endColumn']){this[_0x27c551(0x1b9)]({'hovered':!0x0});return;}this[_0x27c551(0x1b9)]({'hovered':!0x1});}[_0x3a3b32(0x26a)](_0x4f31be){return!0x1;}[_0x3a3b32(0x297)](_0x4ab01f){const _0x17e4f2=_0x3a3b32;_0xa3a2fa[_0x17e4f2(0x2b9)][_0x17e4f2(0x91)](_0x4ab01f,{'width':this['width'],'height':this[_0x17e4f2(0x29d)],'strokeWidth':_0x53128f,'stroke':this[_0x17e4f2(0x15b)],'evented':!0x1,'fill':this[_0x17e4f2(0x104)]}),this['_hovered']&&(_0x4ab01f['save'](),_0x4ab01f['transform'](0x1,0x0,0x0,0x1,this[_0x17e4f2(0x182)],this[_0x17e4f2(0xc2)]===_0x17e4f2(0x243)?0x0:-0x14),_0x8e950f[_0x17e4f2(0x91)](_0x4ab01f,{'text':this[_0x17e4f2(0x21c)],'color':this['_color']}),_0x4ab01f['restore']());}}var _0x5aea8b=Object[_0x3a3b32(0x26d)],_0x1588dd=(_0xf4ae6b,_0x89f5ea,_0x332759,_0xf21b41)=>{for(var _0x54d659=_0xf21b41>0x1?void 0x0:_0xf21b41?_0x5aea8b(_0x89f5ea,_0x332759):_0x89f5ea,_0x5019b9=_0xf4ae6b['length']-0x1,_0xb8782b;_0x5019b9>=0x0;_0x5019b9--)(_0xb8782b=_0xf4ae6b[_0x5019b9])&&(_0x54d659=_0xb8782b(_0x54d659)||_0x54d659);return _0x54d659;},_0x5c12a6=(_0x536a2c,_0x3bf151)=>(_0x1538f1,_0x69af51)=>_0x3bf151(_0x1538f1,_0x69af51,_0x536a2c);const _0x171475=0x1389;let _0x97462d=class extends _0x5cc899['RxDisposable']{constructor(_0x12daa0,_0x603473,_0x20e263,_0x58d934){const _0x3b6099=_0x3a3b32;super(),_0x40a5a2(this,_0x3b6099(0x102),new Set()),_0x40a5a2(this,_0x3b6099(0x2ec),null),(this['_context']=_0x12daa0,this[_0x3b6099(0x2c1)]=_0x603473,this['_collabCursorController']=_0x20e263,this[_0x3b6099(0x274)]=_0x58d934,this[_0x3b6099(0xa2)]());}[_0x3a3b32(0xa2)](){const _0x5eb629=_0x3a3b32;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5eb629(0x9a)](_0x4faa9f['takeUntil'](this[_0x5eb629(0x27c)]),_0x4faa9f[_0x5eb629(0x210)](_0x2043c6=>{const _0x466ee6=_0x5eb629;if(_0x2043c6){const _0x505553=_0x2043c6[_0x466ee6(0x273)];return _0x16a76f[_0x466ee6(0x24a)](this[_0x466ee6(0x2a8)][_0x466ee6(0x300)](this[_0x466ee6(0x2a9)][_0x466ee6(0x196)]),this[_0x466ee6(0x274)][_0x466ee6(0x2a0)])[_0x466ee6(0x9a)](_0x4faa9f['map'](([_0x418e75,_0x5aee82])=>{const _0x31b75a=_0x466ee6,_0x590072=new Map();return _0x418e75[_0x31b75a(0x291)]((_0x484aba,_0x12d758)=>{const _0xc716aa=_0x31b75a;if(_0x484aba[_0xc716aa(0x31a)]===_0x505553){const _0x184809={..._0x484aba};_0x184809[_0xc716aa(0x322)]=this[_0xc716aa(0x274)][_0xc716aa(0x2f3)](_0x484aba[_0xc716aa(0x322)]),_0x590072[_0xc716aa(0x194)](_0x12d758,_0x184809);}}),{'skeleton':_0x2043c6,'cursors':_0x590072};}));}return _0x16a76f['of']({'skeleton':null,'cursors':new Map()});}))[_0x5eb629(0x239)](({skeleton:_0x382af1,cursors:_0x935136})=>{const _0x1a8151=_0x5eb629;this[_0x1a8151(0xfd)](),_0x382af1&&this[_0x1a8151(0xe9)](_0x382af1,_0x935136);}),this['_sheetSkeletonManagerService'][_0x5eb629(0x226)][_0x5eb629(0x239)](_0x150d28=>{const _0x6db7cd=_0x5eb629;if(_0x150d28==null)return;const {skeleton:_0x4a8ffd}=_0x150d28,{scene:_0x371b40}=this[_0x6db7cd(0x2a9)];_0x371b40[_0x6db7cd(0x206)][_0x6db7cd(0x2a7)](_0x5cc899['debounce'](_0x599621=>{const _0x996324=_0x6db7cd;var _0x5625ac,_0x1c014f;const {offsetX:_0x22abf5,offsetY:_0xb3856b}=_0x599621,{x:_0x2d7204,y:_0x51f323}=_0x371b40['getRelativeToViewportCoord'](_0xa3a2fa[_0x996324(0x329)][_0x996324(0x23a)]([_0x22abf5,_0xb3856b])),{scaleX:_0x239703,scaleY:_0x10dec4}=_0x371b40[_0x996324(0x326)](),_0x21f29c=_0x371b40[_0x996324(0x1b5)](_0xa3a2fa[_0x996324(0x249)]['VIEW_MAIN']),_0x526a2a=_0x371b40['getVpScrollXYInfoByPosToVp'](_0xa3a2fa['Vector2'][_0x996324(0x23a)]([_0x2d7204,_0x51f323]),_0x21f29c),_0x4ad5b8=_0x4a8ffd['getCellPositionByOffset'](_0x22abf5,_0xb3856b,_0x239703,_0x10dec4,_0x526a2a);((_0x5625ac=this[_0x996324(0x2ec)])==null?void 0x0:_0x5625ac[_0x996324(0xd7)])===_0x4ad5b8[_0x996324(0xd7)]&&((_0x1c014f=this[_0x996324(0x2ec)])==null?void 0x0:_0x1c014f[_0x996324(0x10b)])===_0x4ad5b8[_0x996324(0x10b)]||this[_0x996324(0x102)][_0x996324(0x291)](_0x349d88=>{const _0x59d20a=_0x996324;_0x349d88[_0x59d20a(0xeb)](_0x4ad5b8);});},0x64));});}[_0x3a3b32(0xe9)](_0x14487c,_0x4bfb50){const _0x3d9ec1=_0x3a3b32;var _0x3e02c7;const _0xcd2d9=(_0x3e02c7=this[_0x3d9ec1(0x2c1)][_0x3d9ec1(0xa3)]())==null?void 0x0:_0x3e02c7[_0x3d9ec1(0x1b8)];if(!_0xcd2d9)return;const _0x1a62e7=this[_0x3d9ec1(0x2c0)]();if(!_0x1a62e7)return;this[_0x3d9ec1(0x102)][_0x3d9ec1(0x291)](_0x28dcd1=>{const _0x4dc331=_0x3d9ec1;_0x28dcd1[_0x4dc331(0x2a5)]();});const {scene:_0x1a0872}=_0x1a62e7,_0x339933=_0x5b2943(Array[_0x3d9ec1(0x195)](_0x4bfb50[_0x3d9ec1(0x278)]()))[_0x3d9ec1(0x12b)](_0x40a4c3=>{const _0x19cc85=_0x3d9ec1,{color:_0x4214ac,range:_0x3c543b,name:_0x582931,selection:_0x5bf3e3,sheetID:_0x3d1903}=_0x40a4c3,{startColumn:_0xec1b32,startRow:_0x4789bc,endColumn:_0x491412,endRow:_0x5c0101}=_0x3c543b,_0x481a72=_0x19b11c[_0x19cc85(0x1c1)](_0x4789bc,_0xec1b32,_0x1a0872,_0xcd2d9),_0x2d7340=_0x19b11c[_0x19cc85(0x1c1)](_0x5c0101,_0x491412,_0x1a0872,_0xcd2d9),{columnHeaderHeightAndMarginTop:_0x1317b0}=_0xcd2d9,{startX:_0x2c37a9,startY:_0x1a9a89}=_0x481a72,{endX:_0x452ba2,endY:_0x1bfb7d}=_0x2d7340,_0x44a0d9=_0x452ba2-_0x2c37a9,_0x79e548=_0x1bfb7d-_0x1a9a89,_0x151f8c={'labelPosition':_0x1a9a89-_0x1317b0>=_0x12924c?'top':_0x19cc85(0x243),'sheetID':_0x3d1903,'range':_0x3c543b,'color':_0x4214ac,'name':_0x582931,'selection':_0x5bf3e3,'left':_0x2c37a9,'top':_0x1a9a89,'width':_0x44a0d9,'height':_0x79e548,'evented':!0x1,'zIndex':_0x171475};return new _0x56e01b(_0x582931,_0x151f8c);});_0x1a0872[_0x3d9ec1(0x156)](_0x339933,_0x475930),this[_0x3d9ec1(0x102)]=new Set(_0x339933);}[_0x3a3b32(0xfd)](){var _0x149883;(_0x149883=this['_cursors'])==null||_0x149883['forEach'](_0x57a9a6=>_0x57a9a6['dispose']());}[_0x3a3b32(0x2c0)](){const _0x37f083=_0x3a3b32;return _0x19b11c[_0x37f083(0x2b6)](this[_0x37f083(0x2a9)][_0x37f083(0x139)],this[_0x37f083(0x2a9)]);}};_0x97462d=_0x1588dd([_0x5c12a6(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x19b11c[_0x3a3b32(0x1be)])),_0x5c12a6(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x6e1b81)),_0x5c12a6(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x99)]))],_0x97462d);function _0x5b2943(_0x87b8e4){const _0x38e05b=_0x3a3b32,_0x18a82a=new Map();return _0x87b8e4[_0x38e05b(0x291)](_0x147ae6=>{const _0xc7b95c=_0x38e05b;if(_0x18a82a[_0xc7b95c(0xd6)](_0x147ae6[_0xc7b95c(0x18f)])){const _0x4ff7be=_0x18a82a['get'](_0x147ae6['selection']);_0x4ff7be[_0xc7b95c(0x17f)]+=',\x20'+_0x147ae6[_0xc7b95c(0x17f)];}else _0x18a82a[_0xc7b95c(0x194)](_0x147ae6['selection'],_0x147ae6);}),Array[_0x38e05b(0x195)](_0x18a82a[_0x38e05b(0x278)]());}var _0x3d0ea2=function(){const _0x1b9865=_0x3a3b32;return _0x3d0ea2=Object[_0x1b9865(0x204)]||function(_0x11b8e4){const _0x23127a=_0x1b9865;for(var _0x487361,_0x25a332=0x1,_0x1702b3=arguments[_0x23127a(0xb3)];_0x25a332<_0x1702b3;_0x25a332++){_0x487361=arguments[_0x25a332];for(var _0x5c3dc0 in _0x487361)Object[_0x23127a(0x286)]['hasOwnProperty'][_0x23127a(0x1f1)](_0x487361,_0x5c3dc0)&&(_0x11b8e4[_0x5c3dc0]=_0x487361[_0x5c3dc0]);}return _0x11b8e4;},_0x3d0ea2[_0x1b9865(0x178)](this,arguments);},_0x2583e4=function(_0x59dc7e,_0x22621d){const _0x276a15=_0x3a3b32;var _0xc24814={};for(var _0x1b979e in _0x59dc7e)Object['prototype'][_0x276a15(0x12e)][_0x276a15(0x1f1)](_0x59dc7e,_0x1b979e)&&_0x22621d[_0x276a15(0xfc)](_0x1b979e)<0x0&&(_0xc24814[_0x1b979e]=_0x59dc7e[_0x1b979e]);if(_0x59dc7e!=null&&typeof Object[_0x276a15(0x19c)]=='function'){for(var _0x581475=0x0,_0x1b979e=Object['getOwnPropertySymbols'](_0x59dc7e);_0x581475<_0x1b979e[_0x276a15(0xb3)];_0x581475++)_0x22621d[_0x276a15(0xfc)](_0x1b979e[_0x581475])<0x0&&Object[_0x276a15(0x286)][_0x276a15(0x230)]['call'](_0x59dc7e,_0x1b979e[_0x581475])&&(_0xc24814[_0x1b979e[_0x581475]]=_0x59dc7e[_0x1b979e[_0x581475]]);}return _0xc24814;},_0x5183b0=_0x4d5c38['forwardRef'](function(_0x5639fc,_0x552697){const _0x1ec921=_0x3a3b32;var _0x154493=_0x5639fc[_0x1ec921(0xe5)],_0x18ec9a=_0x5639fc['id'],_0x43cdb9=_0x5639fc[_0x1ec921(0x1f3)],_0x2c537f=_0x5639fc[_0x1ec921(0x1d0)],_0x44d4cc=_0x2583e4(_0x5639fc,[_0x1ec921(0xe5),'id',_0x1ec921(0x1f3),_0x1ec921(0x1d0)]),_0x20edf0=_0x1ec921(0x133)[_0x1ec921(0x24f)](_0x18ec9a,'\x20')[_0x1ec921(0x24f)](_0x43cdb9||'')[_0x1ec921(0xf8)](),_0xfe947b=_0x4d5c38[_0x1ec921(0x121)]('_'[_0x1ec921(0x24f)](_0x3fd373()));return _0xdd1f99(_0x154493,''[_0x1ec921(0x24f)](_0x18ec9a),{'defIds':_0x154493[_0x1ec921(0xab)],'idSuffix':_0xfe947b[_0x1ec921(0x148)]},_0x3d0ea2({'ref':_0x552697,'className':_0x20edf0},_0x44d4cc),_0x2c537f);});function _0xdd1f99(_0x110c4f,_0x405994,_0x284ce6,_0x3b6fc4,_0x417d1c){const _0x3825a0=_0x3a3b32;return _0x4d5c38[_0x3825a0(0x241)](_0x110c4f[_0x3825a0(0x303)],_0x3d0ea2(_0x3d0ea2({'key':_0x405994},_0x145756(_0x110c4f,_0x284ce6,_0x417d1c)),_0x3b6fc4),(_0x3ac0ea(_0x110c4f,_0x284ce6)[_0x3825a0(0x25e)]||[])[_0x3825a0(0x12b)](function(_0x4dc577,_0x289810){const _0x2e9bbc=_0x3825a0;return _0xdd1f99(_0x4dc577,''[_0x2e9bbc(0x24f)](_0x405994,'-')[_0x2e9bbc(0x24f)](_0x110c4f[_0x2e9bbc(0x303)],'-')[_0x2e9bbc(0x24f)](_0x289810),_0x284ce6,void 0x0,_0x417d1c);}));}function _0x145756(_0x2d3682,_0x176a9b,_0x502249){const _0x46bf5b=_0x3a3b32;var _0x284215=_0x3d0ea2({},_0x2d3682[_0x46bf5b(0x183)]);_0x502249!=null&&_0x502249['colorChannel1']&&_0x284215[_0x46bf5b(0x242)]===_0x46bf5b(0x254)&&(_0x284215[_0x46bf5b(0x242)]=_0x502249[_0x46bf5b(0x254)]),_0x2d3682[_0x46bf5b(0x303)]==='mask'&&_0x284215['id']&&(_0x284215['id']=_0x284215['id']+_0x176a9b[_0x46bf5b(0xcd)]),Object[_0x46bf5b(0x11f)](_0x284215)[_0x46bf5b(0x291)](function(_0x4f68ec){const _0x1ced81=_0x46bf5b;var _0x2fc673=_0x4f68ec[0x0],_0x77774f=_0x4f68ec[0x1];_0x2fc673===_0x1ced81(0xb6)&&typeof _0x77774f=='string'&&(_0x284215[_0x2fc673]=_0x77774f[_0x1ced81(0x215)](/url\(#(.*)\)/,_0x1ced81(0xbb)['concat'](_0x176a9b[_0x1ced81(0xcd)],')')));});var _0x3cf53d=_0x176a9b['defIds'];return!_0x3cf53d||_0x3cf53d[_0x46bf5b(0xb3)]===0x0||(_0x2d3682['tag']===_0x46bf5b(0x1cb)&&_0x284215['xlink:href']&&(_0x284215[_0x46bf5b(0x2c9)]=_0x284215[_0x46bf5b(0x2c9)]+_0x176a9b[_0x46bf5b(0xcd)]),Object[_0x46bf5b(0x11f)](_0x284215)[_0x46bf5b(0x291)](function(_0x53736c){const _0x2d99ed=_0x46bf5b;var _0x188a26=_0x53736c[0x0],_0x5cc525=_0x53736c[0x1];typeof _0x5cc525==_0x2d99ed(0x21a)&&(_0x284215[_0x188a26]=_0x5cc525[_0x2d99ed(0x215)](/url\(#(.*)\)/,_0x2d99ed(0xbb)[_0x2d99ed(0x24f)](_0x176a9b['idSuffix'],')')));})),_0x284215;}function _0x3ac0ea(_0x3a2995,_0x57f661){const _0x376b4d=_0x3a3b32;var _0xcd4fb2,_0x43b9aa=_0x57f661['defIds'];return!_0x43b9aa||_0x43b9aa[_0x376b4d(0xb3)]===0x0?_0x3a2995:_0x3a2995[_0x376b4d(0x303)]===_0x376b4d(0xa0)&&(!((_0xcd4fb2=_0x3a2995['children'])===null||_0xcd4fb2===void 0x0)&&_0xcd4fb2['length'])?_0x3d0ea2(_0x3d0ea2({},_0x3a2995),{'children':_0x3a2995[_0x376b4d(0x25e)][_0x376b4d(0x12b)](function(_0x50d287){const _0x12a762=_0x376b4d;return typeof _0x50d287[_0x12a762(0x183)]['id']==_0x12a762(0x21a)&&_0x43b9aa&&_0x43b9aa[_0x12a762(0x2a2)](_0x50d287[_0x12a762(0x183)]['id'])?_0x3d0ea2(_0x3d0ea2({},_0x50d287),{'attrs':_0x3d0ea2(_0x3d0ea2({},_0x50d287[_0x12a762(0x183)]),{'id':_0x50d287[_0x12a762(0x183)]['id']+_0x57f661['idSuffix']})}):_0x50d287;})}):_0x3a2995;}function _0x3fd373(){const _0x412be6=_0x3a3b32;return Math['random']()[_0x412be6(0x8e)](0x24)['substring'](0x2,0x8);}_0x5183b0[_0x3a3b32(0x1ba)]=_0x3a3b32(0xfa);var _0x2dd86c={'tag':_0x3a3b32(0x8f),'attrs':{'xmlns':_0x3a3b32(0x217),'fill':'none','viewBox':_0x3a3b32(0x1c3),'width':_0x3a3b32(0x2e4),'height':_0x3a3b32(0x2e4)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a3b32(0x219)},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'stroke':'currentColor','d':_0x3a3b32(0x2c8),'strokeLinecap':'round','strokeLinejoin':_0x3a3b32(0x324),'strokeWidth':1.2}}]},{'tag':_0x3a3b32(0xa0),'attrs':{},'children':[{'tag':_0x3a3b32(0xa5),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'fill':_0x3a3b32(0x1ef),'d':_0x3a3b32(0x1a7)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2dd16e=_0x4d5c38['forwardRef'](function(_0x2127be,_0x2d9598){const _0x562d04=_0x3a3b32;return _0x4d5c38[_0x562d04(0x241)](_0x5183b0,Object[_0x562d04(0x204)]({},_0x2127be,{'id':_0x562d04(0x298),'ref':_0x2d9598,'icon':_0x2dd86c}));});_0x2dd16e[_0x3a3b32(0x1ba)]=_0x3a3b32(0x213);var _0x1d73c4={'tag':_0x3a3b32(0x8f),'attrs':{'xmlns':_0x3a3b32(0x217),'fill':'none','viewBox':_0x3a3b32(0x307),'width':'1em','height':_0x3a3b32(0x2e4)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a3b32(0x1c9)},'children':[{'tag':'path','attrs':{'stroke':_0x3a3b32(0x129),'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':'round','strokeLinejoin':_0x3a3b32(0x324),'strokeWidth':1.2}}]},{'tag':_0x3a3b32(0xa0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'fill':_0x3a3b32(0x1ef),'d':_0x3a3b32(0x1a7),'transform':_0x3a3b32(0x32b)}}]}]}],'defIds':[_0x3a3b32(0x1cd)]},_0x15cc13=_0x4d5c38[_0x3a3b32(0xb4)](function(_0x1a8e89,_0x3009df){const _0x10b07f=_0x3a3b32;return _0x4d5c38['createElement'](_0x5183b0,Object[_0x10b07f(0x204)]({},_0x1a8e89,{'id':_0x10b07f(0x112),'ref':_0x3009df,'icon':_0x1d73c4}));});_0x15cc13[_0x3a3b32(0x1ba)]=_0x3a3b32(0x1e5);function _0x1d2708(_0x3b4ffa){const _0x268631=_0x3a3b32;switch(_0x3b4ffa){case _0x56139f['CollaborationStatus'][_0x268631(0x24e)]:return'collabStatus.offline';case _0x56139f[_0x268631(0x197)][_0x268631(0x15d)]:return _0x268631(0x302);case _0x56139f[_0x268631(0x197)][_0x268631(0x30e)]:return _0x268631(0x9b);case _0x56139f[_0x268631(0x197)][_0x268631(0x201)]:return _0x268631(0x1f7);case _0x56139f[_0x268631(0x197)][_0x268631(0x2e9)]:case _0x56139f[_0x268631(0x197)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x56139f[_0x268631(0x197)][_0x268631(0x1a9)]:case _0x56139f[_0x268631(0x197)]['PENDING']:return _0x268631(0x25c);}}function _0x2cfcc7(_0x11689e){const _0xbadc14=_0x3a3b32,{status$:_0x109b7c}=_0x11689e,_0x2250d1=_0x218fbf[_0xbadc14(0x16b)](_0x109b7c,_0x56139f[_0xbadc14(0x197)][_0xbadc14(0x201)]),_0x5073d5=_0x218fbf[_0xbadc14(0x2cb)](_0x5cc899[_0xbadc14(0x268)]),_0x5ea54a=_0x218fbf[_0xbadc14(0x2cb)](_0x56139f[_0xbadc14(0x23f)]),_0x44f995=_0x2250d1!==_0x56139f[_0xbadc14(0x197)][_0xbadc14(0x24e)],_0x1e60db=_0x5073d5['t'](_0x1d2708(_0x2250d1)),_0xebafea=_0x44f995?_0x73eb1b[_0xbadc14(0xa6)](_0x15cc13,{}):_0x73eb1b['jsx'](_0x2dd16e,{}),_0x16ed70=_0x4d5c38['useCallback'](()=>{const _0x2ee28d=_0xbadc14;_0x44f995||_0x5ea54a[_0x2ee28d(0x160)]();},[_0x44f995,_0x5ea54a]);function _0x384662(){const _0x581d84=_0xbadc14;return _0x73eb1b[_0x581d84(0x165)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x16ed70,'children':[_0x73eb1b['jsx'](_0x581d84(0x2c3),{'className':_0x3b992f[_0x581d84(0x17e)](_0x581d84(0x18d),{'univer-text-green-500':_0x44f995,'univer-text-red-500':!_0x44f995}),'children':_0xebafea}),_0x73eb1b[_0x581d84(0xa6)](_0x581d84(0x2c3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1e60db})]});}return _0x44f995?_0x384662():_0x73eb1b[_0xbadc14(0xa6)](_0x3b992f[_0xbadc14(0x11a)],{'title':_0x5073d5['t']('collab-client.tooltip.reconnect'),'children':_0x384662()});}var _0x2474bd=Object[_0x3a3b32(0x26d)],_0x2d9012=(_0x516f1d,_0xb1633d,_0x4579ba,_0x372688)=>{const _0x51bcb3=_0x3a3b32;for(var _0x56a9ce=_0x372688>0x1?void 0x0:_0x372688?_0x2474bd(_0xb1633d,_0x4579ba):_0xb1633d,_0x1bbde2=_0x516f1d[_0x51bcb3(0xb3)]-0x1,_0x20ed30;_0x1bbde2>=0x0;_0x1bbde2--)(_0x20ed30=_0x516f1d[_0x1bbde2])&&(_0x56a9ce=_0x20ed30(_0x56a9ce)||_0x56a9ce);return _0x56a9ce;},_0x32e9fa=(_0x4fc09a,_0xafa3de)=>(_0xf402b2,_0x4ae25a)=>_0xafa3de(_0xf402b2,_0x4ae25a,_0x4fc09a);_0x2bf47a[_0x3a3b32(0x2eb)]=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x2d17ac,_0x104ec3,_0x2c81fb,_0x3f287a){const _0xab8f6d=_0x3a3b32;super(),_0x40a5a2(this,'_status$',new _0x16a76f[(_0xab8f6d(0x13e))](_0x56139f['CollaborationStatus'][_0xab8f6d(0x201)])),(this[_0xab8f6d(0x30f)]=_0x2d17ac,this['_injector']=_0x104ec3,this[_0xab8f6d(0x1d8)]=_0x2c81fb,this[_0xab8f6d(0x2ab)]=_0x3f287a,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x3a3b32(0x2b3)](){const _0x1b55df=_0x3a3b32;this['disposeWithMe'](this[_0x1b55df(0x30f)][_0x1b55df(0x159)]['pipe'](_0x16a76f['switchMap'](()=>{const _0x291353=_0x1b55df,_0x4920ba=this[_0x291353(0x30f)][_0x291353(0x1fe)]();return _0x4920ba?this[_0x291353(0x1d8)][_0x291353(0x141)](_0x4920ba[_0x291353(0x30c)]()):_0x16a76f['of'](null);}),_0x16a76f['switchMap'](_0x2ce918=>_0x2ce918?_0x2ce918[_0x1b55df(0x2ba)]:_0x16a76f['of'](_0x56139f[_0x1b55df(0x197)][_0x1b55df(0x201)])))[_0x1b55df(0x239)](_0x263dee=>{const _0x4b37a7=_0x1b55df;this[_0x4b37a7(0x2b0)][_0x4b37a7(0x282)](_0x263dee);}));}[_0x3a3b32(0x31b)](){const _0x5336a9=_0x3a3b32;this[_0x5336a9(0x16f)](this[_0x5336a9(0x2ab)][_0x5336a9(0x106)](_0x218fbf[_0x5336a9(0x2b8)]['HEADER_MENU'],()=>_0x218fbf[_0x5336a9(0x271)](_0x537d23({'status$':this['_status$'][_0x5336a9(0x1ff)]()}),this['_injector'])));}},_0x2bf47a[_0x3a3b32(0x2eb)]=_0x2d9012([_0x32e9fa(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x32e9fa(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x32e9fa(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x158)])),_0x32e9fa(0x3,_0x218fbf[_0x3a3b32(0x101)])],_0x2bf47a[_0x3a3b32(0x2eb)]);function _0x537d23(_0x40624c){const {status$:_0x405d82}=_0x40624c;return function(){return _0x73eb1b['jsx'](_0x2cfcc7,{'status$':_0x405d82});};}var _0x564e58=Object[_0x3a3b32(0x26d)],_0x11bf26=(_0x2a505e,_0x7f07e0,_0x4cb76e,_0x320a42)=>{const _0x458c53=_0x3a3b32;for(var _0x4e8871=_0x320a42>0x1?void 0x0:_0x320a42?_0x564e58(_0x7f07e0,_0x4cb76e):_0x7f07e0,_0x1816f0=_0x2a505e[_0x458c53(0xb3)]-0x1,_0x5a41f0;_0x1816f0>=0x0;_0x1816f0--)(_0x5a41f0=_0x2a505e[_0x1816f0])&&(_0x4e8871=_0x5a41f0(_0x4e8871)||_0x4e8871);return _0x4e8871;},_0x538c5b=(_0x382a82,_0xd8cc0)=>(_0x232fc0,_0x2d1d98)=>_0xd8cc0(_0x232fc0,_0x2d1d98,_0x382a82);let _0x705ea4=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x29fac4,_0x28518c,_0x3ac517,_0x2a1575,_0x570f11,_0x40d312){const _0x2228ad=_0x3a3b32;super(),this[_0x2228ad(0x2df)]=_0x29fac4,this[_0x2228ad(0x13d)]=_0x28518c,this[_0x2228ad(0x2fe)]=_0x3ac517,this[_0x2228ad(0x2d0)]=_0x2a1575,this[_0x2228ad(0x295)]=_0x570f11,this[_0x2228ad(0x279)]=_0x40d312,this[_0x2228ad(0xd3)](),this[_0x2228ad(0xc7)]();}[_0x3a3b32(0xd3)](){const _0x1e8bfd=_0x3a3b32;this[_0x1e8bfd(0x16f)](this[_0x1e8bfd(0x2df)][_0x1e8bfd(0x170)](()=>{const _0x2c9f98=_0x1e8bfd;if(this[_0x2c9f98(0x13d)][_0x2c9f98(0xd1)][_0x2c9f98(0x321)])return this[_0x2c9f98(0x279)]['t'](_0x2c9f98(0x1f4));}));}[_0x3a3b32(0xc7)](){const _0x17ded3=_0x3a3b32;this[_0x17ded3(0x16f)](this[_0x17ded3(0x2fe)][_0x17ded3(0x27b)][_0x17ded3(0x239)](_0x19ee9d=>{const _0x268e4e=_0x17ded3;_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x29e)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f['MessageType']['Warning'],'content':this[_0x268e4e(0x279)]['t']('collaboration.single-unit.warning')}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)]['CLOSE_ROOM']&&this[_0x268e4e(0x2d0)][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x2db)],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x32a))}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x1a0)]&&this[_0x268e4e(0x295)][_0x268e4e(0x2bb)]({'title':this[_0x268e4e(0x279)]['t'](_0x268e4e(0xe4)),'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x1e1)),'type':_0x268e4e(0x250),'duration':0x0}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x15d)]&&this[_0x268e4e(0x2d0)][_0x268e4e(0x2bb)]({'type':_0x3b992f['MessageType']['Error'],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x32a))+'('+_0x19ee9d[_0x268e4e(0x124)]+')'}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x23d)]&&this[_0x268e4e(0x2d0)]['show']({'type':_0x3b992f[_0x268e4e(0xf4)]['Warning'],'content':this[_0x268e4e(0x279)]['t'](_0x19ee9d[_0x268e4e(0x124)]||'')}),_0x19ee9d['id']===_0x56139f['CollaborationUIEventId'][_0x268e4e(0x25f)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x2db)],'content':this['_localeService']['t'](_0x268e4e(0x169))}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x1fb)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x24d)],'content':this[_0x268e4e(0x279)]['t']('session.connection-failed')}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0xb7)]&&this[_0x268e4e(0x2d0)]['show']({'type':_0x3b992f[_0x268e4e(0xf4)]['Error'],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x1b3))});}));}};_0x705ea4=_0x11bf26([_0x538c5b(0x0,_0x218fbf['IBeforeCloseService']),_0x538c5b(0x1,_0x56139f['ILocalCacheService']),_0x538c5b(0x2,_0x5cc899['Inject'](_0x56139f[_0x3a3b32(0x119)])),_0x538c5b(0x3,_0x218fbf['IMessageService']),_0x538c5b(0x4,_0x218fbf[_0x3a3b32(0x313)]),_0x538c5b(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x268)]))],_0x705ea4);const _0x41e66c='collaboration-client-ui.config',_0x5918aa={},_0x179a0b=_0x5cc899[_0x3a3b32(0x103)]('uni.network.url-service');var _0x330d67=Object[_0x3a3b32(0x26d)],_0x57bb93=(_0x9775cd,_0x2ed15b,_0x234fab,_0x1f124e)=>{const _0x27420f=_0x3a3b32;for(var _0x327126=_0x1f124e>0x1?void 0x0:_0x1f124e?_0x330d67(_0x2ed15b,_0x234fab):_0x2ed15b,_0x3b352b=_0x9775cd[_0x27420f(0xb3)]-0x1,_0x3c4898;_0x3b352b>=0x0;_0x3b352b--)(_0x3c4898=_0x9775cd[_0x3b352b])&&(_0x327126=_0x3c4898(_0x327126)||_0x327126);return _0x327126;},_0x5cbe33=(_0x93807d,_0x41a98f)=>(_0x786957,_0x39cf32)=>_0x41a98f(_0x786957,_0x39cf32,_0x93807d);_0x2bf47a['CollaborationDataLoaderController']=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x2ea833,_0x2ca6f2,_0x1d6cf3,_0x2f41a3,_0x424538){const _0x42ee49=_0x3a3b32;super(),this[_0x42ee49(0xee)]=_0x2ea833,this['_logService']=_0x2ca6f2,this[_0x42ee49(0x25d)]=_0x1d6cf3,this[_0x42ee49(0x1d2)]=_0x2f41a3,_0x424538?_0x424538==null||_0x424538[_0x42ee49(0x2d6)]()[_0x42ee49(0x20d)](()=>this[_0x42ee49(0xa2)]()):(this[_0x42ee49(0x26b)][_0x42ee49(0x1cc)](_0x42ee49(0x18a),_0x42ee49(0xcc)),this['_init']());}async[_0x3a3b32(0xa2)](){const _0x11689a=_0x3a3b32,_0x230de4=this['_urlService']['getParam'](_0x11689a(0x139)),_0x4c9495=this['_urlService']['getParam'](_0x11689a(0x189)),_0x1aabf1=this['_urlService']['getParam'](_0x11689a(0xf2));if(!_0x230de4||!_0x4c9495){this[_0x11689a(0x26b)][_0x11689a(0x1cc)](_0x11689a(0x18a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x12bd36=await this[_0x11689a(0x1d2)][_0x11689a(0x143)](_0x230de4,Number(_0x4c9495),_0x1aabf1);_0x12bd36&&_0x12bd36 instanceof _0x5cc899[_0x11689a(0x247)]&&this[_0x11689a(0x181)](_0x12bd36);}async[_0x3a3b32(0x181)](_0x3a70c6){const _0x97e8be=_0x3a3b32;await this[_0x97e8be(0x16a)](_0x3a70c6),_0x3a70c6[_0x97e8be(0x1dc)][_0x97e8be(0x9a)](_0x16a76f['takeUntil'](this[_0x97e8be(0x27c)]))[_0x97e8be(0x239)](_0x520083=>{const _0x96494a=_0x97e8be;_0x520083&&this[_0x96494a(0x130)](_0x520083);}),this[_0x97e8be(0xee)][_0x97e8be(0x125)]['pipe'](_0x16a76f[_0x97e8be(0x105)](this[_0x97e8be(0x27c)]))['subscribe'](()=>this[_0x97e8be(0x16a)](_0x3a70c6));}[_0x3a3b32(0x130)](_0x422663,_0x4b2aa5=!0x1){const _0x4d113d=_0x3a3b32,_0x5d5766=this[_0x4d113d(0xee)]['getParam'](_0x4d113d(0xf2));_0x422663[_0x4d113d(0x17c)]()!==_0x5d5766&&this[_0x4d113d(0xee)]['setParam'](_0x4d113d(0xf2),_0x422663['getSheetId'](),_0x4b2aa5);}async[_0x3a3b32(0x16a)](_0x34e679){const _0x516011=_0x3a3b32;var _0x2e0ff0;const _0x401537=this[_0x516011(0xee)]['getParam'](_0x516011(0xf2));if(!_0x401537||!_0x34e679[_0x516011(0x166)](_0x401537)){const _0x335a9e=_0x34e679[_0x516011(0x95)]()[0x0],_0x21f100=_0x34e679[_0x516011(0x166)](_0x335a9e);if(!_0x21f100)return;this[_0x516011(0x130)](_0x21f100,!0x0),await this[_0x516011(0x25d)][_0x516011(0x1cf)](_0x156504[_0x516011(0x23c)]['id'],{'unitId':_0x34e679[_0x516011(0x30c)](),'subUnitId':_0x335a9e});return;}((_0x2e0ff0=_0x34e679[_0x516011(0x214)]())==null?void 0x0:_0x2e0ff0[_0x516011(0x17c)]())!==_0x401537&&await this[_0x516011(0x25d)][_0x516011(0x1cf)](_0x156504['SetWorksheetActivateCommand']['id'],{'unitId':_0x34e679[_0x516011(0x30c)](),'subUnitId':_0x401537});}},_0x2bf47a[_0x3a3b32(0x202)]=_0x57bb93([_0x5cbe33(0x0,_0x179a0b),_0x5cbe33(0x1,_0x5cc899[_0x3a3b32(0xca)]),_0x5cbe33(0x2,_0x5cc899[_0x3a3b32(0x234)]),_0x5cbe33(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f['DataLoaderService'])),_0x5cbe33(0x4,_0x5cc899['Optional'](_0x2a95b8['IRemoteInstanceService']))],_0x2bf47a['CollaborationDataLoaderController']);var _0x437650=Object[_0x3a3b32(0x26d)],_0x3e77a7=(_0x674d2a,_0x414a35,_0x539fef,_0x2b923a)=>{const _0x2703be=_0x3a3b32;for(var _0x5195ee=_0x2b923a>0x1?void 0x0:_0x2b923a?_0x437650(_0x414a35,_0x539fef):_0x414a35,_0x3fcbf5=_0x674d2a[_0x2703be(0xb3)]-0x1,_0x2701f1;_0x3fcbf5>=0x0;_0x3fcbf5--)(_0x2701f1=_0x674d2a[_0x3fcbf5])&&(_0x5195ee=_0x2701f1(_0x5195ee)||_0x5195ee);return _0x5195ee;},_0x4dc6d0=(_0x3e6281,_0x107b93)=>(_0x3274be,_0x29915c)=>_0x107b93(_0x3274be,_0x29915c,_0x3e6281);let _0x4ba19a=class{constructor(_0x5a9cb7,_0x307873,_0x377e08){const _0x1e5439=_0x3a3b32;this[_0x1e5439(0x2ce)]=_0x5a9cb7,this['_transformService']=_0x307873,this['_renderManagerService']=_0x377e08;}[_0x3a3b32(0x2e1)](_0x4e03c4){const _0x3f85ed=_0x3a3b32;this[_0x3f85ed(0x2a6)](_0x4e03c4),this[_0x3f85ed(0xf7)](_0x4e03c4);}[_0x3a3b32(0x290)](_0x8b36aa){const _0x395f35=_0x3a3b32,{unitID:_0x46280a}=_0x8b36aa,_0x48fde0=this[_0x395f35(0x138)][_0x395f35(0xed)](_0x46280a)[_0x395f35(0x164)](_0x45cbcb[_0x395f35(0x10a)]),{redoCache:_0x5c6ffa}=_0x48fde0[_0x395f35(0x1c5)]();if(_0x5c6ffa[_0x395f35(0xb3)]===0x0)return _0x8b36aa;let _0x31c057=_0x5cc899[_0x395f35(0xa7)][_0x395f35(0x257)](_0x8b36aa[_0x395f35(0x2de)][0x0]);for(let _0x4f280a=0x0;_0x4f280a<_0x5c6ffa[_0x395f35(0xb3)];_0x4f280a++){const _0x4657e0={'id':_0x395f35(0x186),'params':{..._0x5c6ffa[_0x4f280a]}},_0xe126c2=this[_0x395f35(0x12f)][_0x395f35(0x2dd)](_0x31c057,_0x4657e0,!0x1);if(_0x158f44[_0x395f35(0x1d4)](_0xe126c2))throw _0xe126c2[_0x395f35(0x250)];_0x31c057=_0xe126c2[_0x395f35(0x16d)];}return{..._0x5cc899[_0x395f35(0xa7)][_0x395f35(0x257)](_0x8b36aa),'mutations':[_0x31c057]};}[_0x3a3b32(0x2a6)](_0x2b9a51){const _0x26e4f2=_0x3a3b32,{unitID:_0x172e88}=_0x2b9a51,_0x452ecc=this[_0x26e4f2(0x138)][_0x26e4f2(0xed)](_0x172e88)[_0x26e4f2(0x164)](_0x45cbcb[_0x26e4f2(0x10a)]),{undoCache:_0x28c323,redoCache:_0x163c98}=_0x452ecc['getUndoRedoMutationParamsCache']();if(_0x28c323[_0x26e4f2(0xb3)]===0x0||_0x163c98[_0x26e4f2(0xb3)]===0x0)return;const _0x12724d=[],_0x2bf706=[];let _0x9c722=_0x5cc899[_0x26e4f2(0xa7)][_0x26e4f2(0x257)](_0x2b9a51['mutations'][0x0]),_0x2c69d6=_0x5cc899[_0x26e4f2(0xa7)][_0x26e4f2(0x257)](_0x2b9a51['mutations'][0x0]);for(let _0x36e583=_0x28c323['length']-0x1;_0x36e583>=0x0;_0x36e583--){const _0x203194={'id':_0x26e4f2(0x186),'params':{..._0x28c323[_0x36e583]}},_0x71655={'id':'doc.mutation.rich-text-editing','params':{..._0x163c98[_0x36e583]}},_0x19d917=this[_0x26e4f2(0x12f)]['transformMutation'](_0x9c722,_0x203194,!0x1),_0x67ddbc=this[_0x26e4f2(0x12f)][_0x26e4f2(0x2dd)](_0x2c69d6,_0x71655,!0x1);if(_0x158f44[_0x26e4f2(0x1d4)](_0x19d917))throw _0x19d917[_0x26e4f2(0x250)];if(_0x158f44['isTransformMutationFailure'](_0x67ddbc))throw _0x67ddbc[_0x26e4f2(0x250)];_0x12724d[_0x26e4f2(0x212)](_0x19d917[_0x26e4f2(0xfe)][_0x26e4f2(0x323)]),_0x2bf706[_0x26e4f2(0x212)](_0x67ddbc[_0x26e4f2(0xfe)]['params']),_0x9c722=_0x19d917[_0x26e4f2(0x16d)],_0x2c69d6=_0x67ddbc['m1Prime'];}_0x452ecc[_0x26e4f2(0xc8)]({'undoCache':_0x12724d,'redoCache':_0x2bf706});}['_transformPreviousActiveRange'](_0x58427d){const _0x3644a1=_0x3a3b32,{unitID:_0x17692b}=_0x58427d,_0x1e5f10=this[_0x3644a1(0x138)]['getRenderById'](_0x17692b)['with'](_0x45cbcb[_0x3644a1(0x10a)]),_0x5c8bd5=_0x1e5f10[_0x3644a1(0x2ed)]();if(_0x5c8bd5==null)return;const _0x5a689d=[{'id':_0x3644a1(0x186),'params':{'unitId':_0x58427d[_0x3644a1(0x25a)],'actions':null,'textRanges':[_0x5c8bd5]}}],_0x5c4ed0=this['_transformService'][_0x3644a1(0x2ff)](_0x58427d,_0x5a689d);if(!_0x158f44[_0x3644a1(0xbe)](_0x5c4ed0))throw _0x5c4ed0['error'];const _0x456aa5=_0x5c4ed0[_0x3644a1(0xfe)][0x0][_0x3644a1(0x323)][_0x3644a1(0x318)];Array[_0x3644a1(0xbc)](_0x456aa5)&&_0x456aa5[_0x3644a1(0xb3)]&&_0x1e5f10[_0x3644a1(0x304)](_0x456aa5[0x0]);}};_0x4ba19a=_0x3e77a7([_0x4dc6d0(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x4dc6d0(0x1,_0x158f44[_0x3a3b32(0x153)]),_0x4dc6d0(0x2,_0xa3a2fa['IRenderManagerService'])],_0x4ba19a);var _0x24a758=Object['getOwnPropertyDescriptor'],_0x14205f=(_0x44e38d,_0x2fdf82,_0x1b948c,_0x3e50c0)=>{const _0x508aba=_0x3a3b32;for(var _0x214838=_0x3e50c0>0x1?void 0x0:_0x3e50c0?_0x24a758(_0x2fdf82,_0x1b948c):_0x2fdf82,_0xf75ffc=_0x44e38d[_0x508aba(0xb3)]-0x1,_0x44b963;_0xf75ffc>=0x0;_0xf75ffc--)(_0x44b963=_0x44e38d[_0xf75ffc])&&(_0x214838=_0x44b963(_0x214838)||_0x214838);return _0x214838;},_0xd32f77=(_0x3ea8d3,_0x2cb2b7)=>(_0x124e3e,_0x202f43)=>_0x2cb2b7(_0x124e3e,_0x202f43,_0x3ea8d3);let _0x1568d1=class{constructor(_0xff9b68,_0x1e6e6d,_0x5a714e){const _0x3d1303=_0x3a3b32;this[_0x3d1303(0x2ce)]=_0xff9b68,this[_0x3d1303(0x12f)]=_0x1e6e6d,this[_0x3d1303(0x1fa)]=_0x5a714e;}[_0x3a3b32(0x1e4)](_0x4aa11b){const _0x5779e3=_0x3a3b32;this[_0x5779e3(0xb0)](_0x4aa11b);}[_0x3a3b32(0x290)](_0x37747e){const _0x38bb92=_0x3a3b32,{unitID:_0x239575}=_0x37747e,{collaboration:_0x40d3e8}=this[_0x38bb92(0x1fa)][_0x38bb92(0x8d)](_0x239575);if(_0x40d3e8['length']===0x0)return _0x37747e;let _0x50f5e4=_0x5cc899[_0x38bb92(0xa7)][_0x38bb92(0x257)](_0x37747e[_0x38bb92(0x2de)][0x0]);for(let _0x2b6f10=0x0;_0x2b6f10<_0x40d3e8[_0x38bb92(0xb3)];_0x2b6f10++){const _0x44d180={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d3e8[_0x2b6f10][_0x38bb92(0x196)],..._0x40d3e8[_0x2b6f10][_0x38bb92(0x2ac)]}},_0x59ab8d=this[_0x38bb92(0x12f)][_0x38bb92(0x2dd)](_0x50f5e4,_0x44d180,!0x1);if(_0x158f44[_0x38bb92(0x1d4)](_0x59ab8d))throw _0x59ab8d[_0x38bb92(0x250)];_0x50f5e4=_0x59ab8d[_0x38bb92(0x16d)];}return{..._0x5cc899['Tools'][_0x38bb92(0x257)](_0x37747e),'mutations':[_0x50f5e4]};}[_0x3a3b32(0xb0)](_0x26da2d){const _0x57b4a5=_0x3a3b32,{unitID:_0x3b3b5b}=_0x26da2d,{history:_0x46b1cb,collaboration:_0x51a44b}=this['_docStateChangeManagerService']['getStateCache'](_0x3b3b5b);if(_0x46b1cb['length']===0x0&&_0x51a44b[_0x57b4a5(0xb3)]===0x0)return;const _0x158ea1=[],_0x2e820b=[];let _0x624c6e=_0x5cc899[_0x57b4a5(0xa7)][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]),_0x464dd2=_0x5cc899[_0x57b4a5(0xa7)][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]);for(let _0x279563=_0x46b1cb[_0x57b4a5(0xb3)]-0x1;_0x279563>=0x0;_0x279563--){const _0x12ea0f={'id':_0x57b4a5(0x186),'params':{'unitId':_0x46b1cb[_0x279563][_0x57b4a5(0x196)],..._0x46b1cb[_0x279563][_0x57b4a5(0x1e7)]}},_0x5c7910={'id':_0x57b4a5(0x186),'params':{'unitId':_0x46b1cb[_0x279563][_0x57b4a5(0x196)],..._0x46b1cb[_0x279563][_0x57b4a5(0x2ac)]}},_0x435575=this['_transformService']['transformMutation'](_0x624c6e,_0x12ea0f,!0x1),_0xab5114=this[_0x57b4a5(0x12f)][_0x57b4a5(0x2dd)](_0x464dd2,_0x5c7910,!0x1);if(_0x158f44[_0x57b4a5(0x1d4)](_0x435575))throw _0x435575['error'];if(_0x158f44[_0x57b4a5(0x1d4)](_0xab5114))throw _0xab5114[_0x57b4a5(0x250)];_0x158ea1['unshift']({..._0x46b1cb[_0x279563],'undoState':_0x435575[_0x57b4a5(0xfe)]['params'],'redoState':_0xab5114[_0x57b4a5(0xfe)][_0x57b4a5(0x323)]}),_0x624c6e=_0x435575[_0x57b4a5(0x16d)],_0x464dd2=_0xab5114[_0x57b4a5(0x16d)];}_0x624c6e=_0x5cc899['Tools'][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]),_0x464dd2=_0x5cc899['Tools']['deepClone'](_0x26da2d['mutations'][0x0]);for(let _0x989dda=_0x51a44b[_0x57b4a5(0xb3)]-0x1;_0x989dda>=0x0;_0x989dda--){const _0x3e9035={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51a44b[_0x989dda][_0x57b4a5(0x196)],..._0x51a44b[_0x989dda]['undoState']}},_0x7a776c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51a44b[_0x989dda][_0x57b4a5(0x196)],..._0x51a44b[_0x989dda][_0x57b4a5(0x2ac)]}},_0x46e638=this[_0x57b4a5(0x12f)]['transformMutation'](_0x624c6e,_0x3e9035,!0x1),_0x4bc47d=this[_0x57b4a5(0x12f)][_0x57b4a5(0x2dd)](_0x464dd2,_0x7a776c,!0x1);if(_0x158f44[_0x57b4a5(0x1d4)](_0x46e638))throw _0x46e638[_0x57b4a5(0x250)];if(_0x158f44[_0x57b4a5(0x1d4)](_0x4bc47d))throw _0x4bc47d[_0x57b4a5(0x250)];_0x2e820b[_0x57b4a5(0x212)]({..._0x51a44b[_0x989dda],'undoState':_0x46e638[_0x57b4a5(0xfe)]['params'],'redoState':_0x4bc47d[_0x57b4a5(0xfe)][_0x57b4a5(0x323)]}),_0x624c6e=_0x46e638[_0x57b4a5(0x16d)],_0x464dd2=_0x4bc47d[_0x57b4a5(0x16d)];}this[_0x57b4a5(0x1fa)]['setStateCache'](_0x3b3b5b,{'history':_0x158ea1,'collaboration':_0x2e820b});}};_0x1568d1=_0x14205f([_0xd32f77(0x0,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x281)])),_0xd32f77(0x1,_0x158f44[_0x3a3b32(0x153)]),_0xd32f77(0x2,_0x5cc899['Inject'](_0x45cbcb['DocStateChangeManagerService']))],_0x1568d1);var _0x53f23e=Object[_0x3a3b32(0x26d)],_0x20e9a0=(_0x5a9a07,_0x182da4,_0x181524,_0x5e555b)=>{const _0x5b6986=_0x3a3b32;for(var _0x3922ed=_0x5e555b>0x1?void 0x0:_0x5e555b?_0x53f23e(_0x182da4,_0x181524):_0x182da4,_0x12d0e5=_0x5a9a07[_0x5b6986(0xb3)]-0x1,_0x11fa7c;_0x12d0e5>=0x0;_0x12d0e5--)(_0x11fa7c=_0x5a9a07[_0x12d0e5])&&(_0x3922ed=_0x11fa7c(_0x3922ed)||_0x3922ed);return _0x3922ed;},_0x5ad132=(_0x2d66be,_0x158ca0)=>(_0x3e0623,_0x2f5911)=>_0x158ca0(_0x3e0623,_0x2f5911,_0x2d66be);let _0x3dddae=class{constructor(_0x7f93fc,_0x28a4db){const _0x2f3b46=_0x3a3b32;this['_injector']=_0x7f93fc,this[_0x2f3b46(0x12f)]=_0x28a4db;}[_0x3a3b32(0x132)](_0x51ac3e){const _0x2e135a=_0x3a3b32;var _0x43ab58;const _0x148875=this['_injector']['get'](_0xcf3dad[_0x2e135a(0x1de)]),_0x133e91=(_0x43ab58=_0x148875[_0x2e135a(0x222)]())!=null?_0x43ab58:[];if(_0x133e91['length']===0x0)return;const _0x9c10b8=_0x51ac3e[_0x2e135a(0x25a)],_0x389837=[{'id':_0x2e135a(0x186),'params':{'unitId':_0x9c10b8,'actions':null,'textRanges':_0x133e91}}],_0x7f8970=this[_0x2e135a(0x12f)][_0x2e135a(0x2ff)](_0x51ac3e,_0x389837);if(!_0x158f44['isTransformMutationsWithChangesetSuccess'](_0x7f8970))throw _0x7f8970['error'];const _0x467b00=_0x7f8970[_0x2e135a(0xfe)][0x0][_0x2e135a(0x323)]['textRanges'];Array[_0x2e135a(0xbc)](_0x467b00)&&_0x467b00[_0x2e135a(0xb3)]&&_0x148875[_0x2e135a(0x29a)](_0x467b00,{'unitId':_0x9c10b8,'subUnitId':_0x9c10b8},!0x1);}};_0x3dddae=_0x20e9a0([_0x5ad132(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x5ad132(0x1,_0x158f44[_0x3a3b32(0x153)])],_0x3dddae);var _0x21bf26=Object[_0x3a3b32(0x26d)],_0x5849df=(_0xa6bdb7,_0x5556b1,_0x41a3f3,_0x164af1)=>{const _0x4c189e=_0x3a3b32;for(var _0x3cc068=_0x164af1>0x1?void 0x0:_0x164af1?_0x21bf26(_0x5556b1,_0x41a3f3):_0x5556b1,_0xba20c7=_0xa6bdb7[_0x4c189e(0xb3)]-0x1,_0x57a017;_0xba20c7>=0x0;_0xba20c7--)(_0x57a017=_0xa6bdb7[_0xba20c7])&&(_0x3cc068=_0x57a017(_0x3cc068)||_0x3cc068);return _0x3cc068;},_0x47a9d7=(_0x5291b0,_0x10d5bc)=>(_0x2581c9,_0x2ff5fd)=>_0x10d5bc(_0x2581c9,_0x2ff5fd,_0x5291b0);let _0x5002a1=class extends _0x5cc899['Disposable']{constructor(_0x3dcbda,_0x55e0a2,_0x20a728,_0x7fb3be,_0x45d953,_0x2726b4,_0x3d305d,_0x173c8c){const _0x512284=_0x3a3b32;super(),_0x40a5a2(this,_0x512284(0x2b0),new _0x16a76f[(_0x512284(0x13e))](_0x56139f[_0x512284(0x197)][_0x512284(0x201)])),(this['_docStateChangeManagerService']=_0x3dcbda,this[_0x512284(0x1d8)]=_0x55e0a2,this[_0x512284(0x275)]=_0x20a728,this[_0x512284(0x216)]=_0x7fb3be,this[_0x512284(0x13b)]=_0x45d953,this[_0x512284(0x22e)]=_0x2726b4,this[_0x512284(0x2d0)]=_0x3d305d,this['_localeService']=_0x173c8c,this[_0x512284(0x10e)]());}[_0x3a3b32(0x10e)](){const _0x41958b=_0x3a3b32;this[_0x41958b(0x16f)](this[_0x41958b(0x1d8)][_0x41958b(0x285)][_0x41958b(0x239)](_0x37558b=>{const _0x57f16f=_0x41958b,_0x1f7704=this[_0x57f16f(0x1fa)][_0x57f16f(0x320)][_0x57f16f(0x239)](_0xc3e18a=>{const _0x59b140=_0x57f16f;if(_0xc3e18a==null)return;const {unitId:_0x4c7803,redoState:_0x4aa07c,commandId:_0x56d302}=_0xc3e18a;if(_0x4c7803!==_0x37558b[_0x59b140(0x25a)])return;const _0x1295f0={'id':_0x56d302,'type':_0x5cc899[_0x59b140(0x184)][_0x59b140(0x96)],'params':{'unitId':_0x4c7803,'actions':_0x4aa07c[_0x59b140(0x179)],'textRanges':null}};_0x37558b[_0x59b140(0xb1)](_0x1295f0);});if(_0x37558b['disposeWithMe'](_0x1f7704),_0x37558b instanceof _0x56139f['DocCollaborationEntity']){const _0x565462={'onTransformIME':_0x120672=>this[_0x57f16f(0x275)][_0x57f16f(0x2e1)](_0x120672),'onTransformState':_0x174471=>this[_0x57f16f(0x216)][_0x57f16f(0x1e4)](_0x174471),'onTransformSelections':_0x2abaf8=>this[_0x57f16f(0x13b)]['transformSelections'](_0x2abaf8),'onSyncEditingCollabCursor':_0x7d5ee4=>this[_0x57f16f(0x22e)][_0x57f16f(0x252)](_0x7d5ee4),'onTransformRemoteChangesetByIMECache':_0x42202e=>this['_docTransformIMECacheService'][_0x57f16f(0x290)](_0x42202e),'onTransformRemoteChangesetByStateCache':_0x15fa02=>this['_docTransformStateCacheService'][_0x57f16f(0x290)](_0x15fa02)};_0x37558b[_0x57f16f(0x2e2)](_0x565462);}}));}};_0x5002a1=_0x5849df([_0x47a9d7(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x45cbcb['DocStateChangeManagerService'])),_0x47a9d7(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x158)])),_0x47a9d7(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x4ba19a)),_0x47a9d7(0x3,_0x5cc899['Inject'](_0x1568d1)),_0x47a9d7(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x3dddae)),_0x47a9d7(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x4fe24f)),_0x47a9d7(0x6,_0x218fbf['IMessageService']),_0x47a9d7(0x7,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x268)]))],_0x5002a1);var _0x31f53e=Object[_0x3a3b32(0x26d)],_0xb54e2f=(_0x72819b,_0x38332c,_0x1ff758,_0x49b013)=>{for(var _0x5b2680=_0x49b013>0x1?void 0x0:_0x49b013?_0x31f53e(_0x38332c,_0x1ff758):_0x38332c,_0x24874b=_0x72819b['length']-0x1,_0x4a8e34;_0x24874b>=0x0;_0x24874b--)(_0x4a8e34=_0x72819b[_0x24874b])&&(_0x5b2680=_0x4a8e34(_0x5b2680)||_0x5b2680);return _0x5b2680;},_0x1be74c=(_0xb127e6,_0x1e6385)=>(_0x3142e0,_0x3e9ce0)=>_0x1e6385(_0x3142e0,_0x3e9ce0,_0xb127e6);let _0x43aa91=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x4e20b0,_0x531d5f,_0x577a63){const _0x42309d=_0x3a3b32;super(),_0x40a5a2(this,_0x42309d(0x20c),new Map()),_0x40a5a2(this,_0x42309d(0xd0),new Map()),_0x40a5a2(this,'_disabled',!0x1),(this[_0x42309d(0xec)]=_0x4e20b0,this[_0x42309d(0x284)]=_0x531d5f,this[_0x42309d(0x94)]=_0x577a63);}[_0x3a3b32(0x1a3)](){const _0x395295=_0x3a3b32;this[_0x395295(0x1f5)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3a3b32(0x23e)](){const _0x5dfbb4=_0x3a3b32;this[_0x5dfbb4(0x14e)]()['then'](()=>super[_0x5dfbb4(0x23e)]());}async[_0x3a3b32(0x270)](_0x189261){const _0x42a58a=_0x3a3b32;return this[_0x42a58a(0x1f5)]?null:this['_localStorageService'][_0x42a58a(0x2e6)](_0x56139f['getLocalCacheKey'](_0x189261));}async[_0x3a3b32(0x1d5)](_0x4638f4,_0x2d23ce){const _0x1857e6=_0x3a3b32;return!!this[_0x1857e6(0x284)]['setItem'](_0x4638f4,_0x2d23ce);}[_0x3a3b32(0x110)](_0x3f9749,_0x2e33d1,_0x15885f,_0x1c242b){const _0x5e41a9=_0x3a3b32,_0x423153=this[_0x5e41a9(0x94)][_0x5e41a9(0x1a6)](_0x3f9749);this['_cachedData']['set'](_0x3f9749,{'unitID':_0x3f9749,'type':_0x2e33d1,'awaitingChangeset':_0x15885f,'mutations':_0x1c242b,'rev':_0x423153}),this[_0x5e41a9(0xd0)][_0x5e41a9(0xd6)](_0x3f9749)||this['_scheduleSaving'](_0x3f9749);}[_0x3a3b32(0x1c4)](_0x3f3bb8){const _0x29e7e4=_0x3a3b32,_0x32d1f2=this[_0x29e7e4(0xba)]();_0x32d1f2===0x0?this[_0x29e7e4(0x27d)](_0x3f3bb8):this[_0x29e7e4(0xd0)][_0x29e7e4(0x194)](_0x3f3bb8,setTimeout(()=>this[_0x29e7e4(0x27d)](_0x3f3bb8),_0x32d1f2));}[_0x3a3b32(0xba)](){const _0x38c4c4=_0x3a3b32;var _0x12d99e;return(_0x12d99e=this[_0x38c4c4(0xec)]['getConfig'](_0x56139f[_0x38c4c4(0x9f)]))!=null?_0x12d99e:_0x56139f['LOCAL_CACHE_INTERVAL'];}[_0x3a3b32(0x27d)](_0x1da96a){const _0x1e85e6=_0x3a3b32,_0x20d5b7=this['_saveTaskMap']['get'](_0x1da96a);return _0x20d5b7!==void 0x0&&window['clearTimeout'](_0x20d5b7),this[_0x1e85e6(0x284)][_0x1e85e6(0x267)](_0x56139f[_0x1e85e6(0x109)](_0x1da96a),this[_0x1e85e6(0x20c)]['get'](_0x1da96a))[_0x1e85e6(0x20d)](()=>this[_0x1e85e6(0xd0)][_0x1e85e6(0x13c)](_0x1da96a));}async[_0x3a3b32(0x14e)](){const _0x2f950a=_0x3a3b32,_0x490d9f=[];this[_0x2f950a(0xd0)][_0x2f950a(0x291)]((_0x217829,_0x923f17)=>{const _0x135e13=_0x2f950a;window['clearTimeout'](_0x217829),_0x490d9f[_0x135e13(0x2f9)](this['_saveCache'](_0x923f17)[_0x135e13(0x20d)](()=>{const _0x1e0277=_0x135e13;this['_saveTaskMap'][_0x1e0277(0x13c)](_0x923f17);}));}),await Promise[_0x2f950a(0x258)](_0x490d9f);}};_0x43aa91=_0xb54e2f([_0x1be74c(0x0,_0x5cc899[_0x3a3b32(0x1a4)]),_0x1be74c(0x1,_0x5cc899[_0x3a3b32(0x1c2)]),_0x1be74c(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x158f44[_0x3a3b32(0x1db)]))],_0x43aa91);class _0x389b48 extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(){const _0x593893=_0x3a3b32;super(),_0x40a5a2(this,_0x593893(0x125)),this[_0x593893(0x125)]=_0x16a76f[_0x593893(0x211)](window,_0x593893(0x14b))[_0x593893(0x9a)](_0x16a76f['takeUntil'](this[_0x593893(0x27c)]),_0x16a76f[_0x593893(0x92)](0x1),_0x16a76f[_0x593893(0x22c)](void 0x0));}[_0x3a3b32(0x2b4)](_0xbda28,_0x388f06,_0xa21d51=!0x1){const _0x483b9a=_0x3a3b32,_0x55a72a=new URL(window[_0x483b9a(0x305)][_0x483b9a(0x2e8)]);_0x55a72a[_0x483b9a(0x1e6)]['set'](_0xbda28,_0x388f06),_0xa21d51?window['history']['replaceState']('','',_0x55a72a['toString']()):window['history'][_0x483b9a(0x253)]('','',_0x55a72a[_0x483b9a(0x8e)]());}[_0x3a3b32(0x157)](_0x10943b,_0x338af5=!0x1){const _0x5a2cf3=_0x3a3b32,_0x5d2b79=new URL(window[_0x5a2cf3(0x305)][_0x5a2cf3(0x2e8)]);_0x5d2b79[_0x5a2cf3(0x1e6)][_0x5a2cf3(0x13c)](_0x10943b),_0x338af5?window[_0x5a2cf3(0x11b)][_0x5a2cf3(0xdc)]('','',_0x5d2b79[_0x5a2cf3(0x8e)]()):window[_0x5a2cf3(0x11b)][_0x5a2cf3(0x253)]('','',_0x5d2b79[_0x5a2cf3(0x8e)]());}['getParam'](_0x56a962){const _0x27528d=_0x3a3b32;var _0x46c7da;return(_0x46c7da=new URL(window[_0x27528d(0x305)][_0x27528d(0x2e8)])[_0x27528d(0x1e6)][_0x27528d(0x2be)](_0x56a962))!=null?_0x46c7da:void 0x0;}}var _0x3db3a2=Object['defineProperty'],_0x2488fa=Object[_0x3a3b32(0x26d)],_0x5294a6=(_0x3def71,_0x535d2f,_0x163bf4)=>_0x535d2f in _0x3def71?_0x3db3a2(_0x3def71,_0x535d2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x163bf4}):_0x3def71[_0x535d2f]=_0x163bf4,_0x43aa03=(_0x582991,_0x536654,_0x1ec4d8,_0x143e8e)=>{const _0x2d43a2=_0x3a3b32;for(var _0x51d01f=_0x143e8e>0x1?void 0x0:_0x143e8e?_0x2488fa(_0x536654,_0x1ec4d8):_0x536654,_0x25bf88=_0x582991[_0x2d43a2(0xb3)]-0x1,_0x2ec900;_0x25bf88>=0x0;_0x25bf88--)(_0x2ec900=_0x582991[_0x25bf88])&&(_0x51d01f=_0x2ec900(_0x51d01f)||_0x51d01f);return _0x51d01f;},_0x2b1506=(_0x517792,_0x294544)=>(_0x39c405,_0x4c3f4f)=>_0x294544(_0x39c405,_0x4c3f4f,_0x517792),_0x32d857=(_0x1ad088,_0x691de0,_0x5ab5c9)=>_0x5294a6(_0x1ad088,_0x691de0+'',_0x5ab5c9);const _0x34f13c='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2bf47a[_0x3a3b32(0x235)]=class extends _0x5cc899['Plugin']{constructor(_0x31c913=_0x5918aa,_0x52b7d2,_0x1890bb,_0x46eacd){const _0x10c54c=_0x3a3b32;super(),this[_0x10c54c(0x17a)]=_0x31c913,this[_0x10c54c(0x138)]=_0x52b7d2,this[_0x10c54c(0x2ce)]=_0x1890bb,this[_0x10c54c(0xec)]=_0x46eacd;const {..._0x45d847}=_0x5cc899[_0x10c54c(0x19f)]({},_0x5918aa,this[_0x10c54c(0x17a)]);this[_0x10c54c(0xec)][_0x10c54c(0x15a)](_0x41e66c,_0x45d847);}[_0x3a3b32(0x1b4)](){const _0x420df3=_0x3a3b32;this[_0x420df3(0xaa)](),this[_0x420df3(0x10d)]();}[_0x3a3b32(0x31d)](){const _0x45e72a=_0x3a3b32;this[_0x45e72a(0x1ea)]();}['_registerDependencies'](){const _0x2966da=_0x3a3b32;var _0xb16b5e;const _0x59df19=[[_0x138d33],[_0x3dddae],[_0x4ba19a],[_0x1568d1],[_0x4fe24f],[_0x179a0b,{'useClass':_0x389b48}],[_0x225722[_0x2966da(0x177)],{'useClass':_0x225722[_0x2966da(0x209)]}],[_0x56139f[_0x2966da(0x19d)],{'useClass':_0x43aa91}],[_0x2bf47a[_0x2966da(0x2eb)]],[_0x5002a1],[_0x705ea4],[_0x6e1b81],[_0x51dd46],[_0x2bf47a[_0x2966da(0x202)]]];_0x5cc899['registerDependencies'](this[_0x2966da(0x2ce)],_0x5cc899[_0x2966da(0x1f2)](_0x59df19,(_0xb16b5e=this[_0x2966da(0x17a)])==null?void 0x0:_0xb16b5e[_0x2966da(0x255)]));}['_registerRenderDependencies'](){const _0x1cb4e4=_0x3a3b32;this[_0x1cb4e4(0x16f)](this['_renderManagerService'][_0x1cb4e4(0x294)](_0x5cc899[_0x1cb4e4(0x16e)][_0x1cb4e4(0x301)],[_0xf4fa45])),this[_0x1cb4e4(0x16f)](this[_0x1cb4e4(0x138)]['registerRenderModule'](_0x5cc899[_0x1cb4e4(0x16e)][_0x1cb4e4(0x1d3)],[_0x97462d]));}[_0x3a3b32(0x10d)](){const _0x38ffc0=_0x3a3b32;_0x5cc899[_0x38ffc0(0x100)](this['_injector'],[[_0x6e1b81],[_0x2bf47a[_0x38ffc0(0x2eb)]],[_0x5002a1],[_0x705ea4],[_0x2bf47a[_0x38ffc0(0x202)]]]);}},_0x32d857(_0x2bf47a[_0x3a3b32(0x235)],_0x3a3b32(0x14c),_0x34f13c),_0x2bf47a[_0x3a3b32(0x235)]=_0x43aa03([_0x5cc899[_0x3a3b32(0x200)](_0x56139f[_0x3a3b32(0x120)]),_0x2b1506(0x1,_0xa3a2fa[_0x3a3b32(0x231)]),_0x2b1506(0x2,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x281)])),_0x2b1506(0x3,_0x5cc899[_0x3a3b32(0x1a4)])],_0x2bf47a[_0x3a3b32(0x235)]);var _0xd77236=Object[_0x3a3b32(0x26d)],_0x4619ea=(_0x18bbcd,_0x2d6727,_0x323729,_0x34c7e2)=>{const _0xb54078=_0x3a3b32;for(var _0x285129=_0x34c7e2>0x1?void 0x0:_0x34c7e2?_0xd77236(_0x2d6727,_0x323729):_0x2d6727,_0xcc4cd4=_0x18bbcd[_0xb54078(0xb3)]-0x1,_0x53d9b6;_0xcc4cd4>=0x0;_0xcc4cd4--)(_0x53d9b6=_0x18bbcd[_0xcc4cd4])&&(_0x285129=_0x53d9b6(_0x285129)||_0x285129);return _0x285129;},_0x576e95=(_0x49ac41,_0x3436ab)=>(_0x3df6b2,_0x53bf1d)=>_0x3436ab(_0x3df6b2,_0x53bf1d,_0x49ac41);_0x2bf47a[_0x3a3b32(0x1aa)]=class extends _0x56139f['CollaborationSocketService']{constructor(_0x3893bc,_0x2dfbda,_0x4b857b,_0x7af82b,_0x10ca1c){super(_0x3893bc,_0x2dfbda,_0x4b857b,_0x7af82b,_0x10ca1c);}async[_0x3a3b32(0xda)](_0x582b9c){const _0x97fe49=_0x3a3b32,_0x2cb56f=await this[_0x97fe49(0x9d)](),_0x5bb669=this['_createSocketURL'](_0x582b9c,_0x2cb56f);return this[_0x97fe49(0x1d9)](_0x5bb669);}[_0x3a3b32(0x10c)](_0x1d9439,_0xec164f){const _0x59e595=_0x3a3b32,_0x549ad7=typeof window>'u'?new URL(_0x1d9439):new URL(_0x1d9439,window[_0x59e595(0x305)]['origin']);_0x549ad7[_0x59e595(0x1e6)]['set'](_0x59e595(0x2cd),_0xec164f);const _0x2b09cb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x59e595(0x305)][_0x59e595(0x28c)]);return _0x2b09cb['get'](_0x59e595(0x1e8))&&_0x549ad7[_0x59e595(0x1e6)]['set'](_0x59e595(0x1e8),_0x2b09cb[_0x59e595(0x2be)](_0x59e595(0x1e8))),_0x549ad7[_0x59e595(0x8e)]();}async[_0x3a3b32(0x9d)](){const _0x20ce7a=_0x3a3b32;var _0x424afc,_0xb99d70,_0x463967;const _0x5b0999=this[_0x20ce7a(0xec)][_0x20ce7a(0x237)](_0x56139f[_0x20ce7a(0x147)]),_0x5c2fbc=(_0x424afc=_0x5b0999==null?void 0x0:_0x5b0999[_0x20ce7a(0x172)])!=null?_0x424afc:_0x56139f['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x463967=(_0xb99d70=(await this[_0x20ce7a(0x28f)][_0x20ce7a(0x2be)](_0x5c2fbc,{'headers':{'Content-Type':_0x20ce7a(0xe7)}}))[_0x20ce7a(0x174)])==null?void 0x0:_0xb99d70[_0x20ce7a(0x225)])!=null?_0x463967:'';}},_0x2bf47a[_0x3a3b32(0x1aa)]=_0x4619ea([_0x576e95(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x576e95(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x225722[_0x3a3b32(0x1a5)])),_0x576e95(0x2,_0x5cc899['IConfigService']),_0x576e95(0x3,_0x5cc899[_0x3a3b32(0xca)]),_0x576e95(0x4,_0x158f44['ISnapshotServerService'])],_0x2bf47a[_0x3a3b32(0x1aa)]);const _0x309bfd=0x7530,_0x9b0507=_0x3a3b32(0x21b);class _0x54b25e extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(){const _0x2b7b58=_0x3a3b32;super(),_0x40a5a2(this,'_id',_0x5cc899[_0x2b7b58(0x2cc)]()),_0x40a5a2(this,_0x2b7b58(0x118),new Set()),_0x40a5a2(this,_0x2b7b58(0x1ec),new Map()),_0x40a5a2(this,_0x2b7b58(0x262),null),_0x40a5a2(this,_0x2b7b58(0x2d1),new Map()),_0x40a5a2(this,_0x2b7b58(0x28a),new Map()),this[_0x2b7b58(0xa2)]();}[_0x3a3b32(0x23e)](){const _0x5e3bf7=_0x3a3b32;super['dispose'](),this['_clearOtherTimers'][_0x5e3bf7(0x291)]((_0x3430e1,_0x49182f)=>this[_0x5e3bf7(0x1c0)](_0x49182f)),this[_0x5e3bf7(0x262)]&&window[_0x5e3bf7(0x22d)](this['_heartbeatTimer']);}[_0x3a3b32(0x136)](_0x2786e8){const _0x1e7f37=_0x3a3b32;return this['_ensureSubject'](_0x2786e8)[_0x1e7f37(0x9a)](_0x16a76f[_0x1e7f37(0x1bd)]());}['editingUnit'](_0x512ef4){const _0x16db2c=_0x3a3b32;this[_0x16db2c(0x118)]['size']===0x0&&this[_0x16db2c(0x116)](),this['_selfUnitIDs'][_0x16db2c(0x316)](_0x512ef4),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x512ef4],'isForwarded':!0x1});}['disposeUnit'](_0xddc573){const _0xb2db94=_0x3a3b32;this[_0xb2db94(0x118)][_0xb2db94(0x13c)](_0xddc573),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0xb2db94(0x262)]);}[_0x3a3b32(0xa2)](){const _0x184a41=_0x3a3b32;this[_0x184a41(0x16f)](_0x5cc899[_0x184a41(0x311)](_0x16a76f[_0x184a41(0x211)](window,_0x184a41(0x2fa))[_0x184a41(0x239)](_0x2d23ae=>{const _0x50299c=_0x184a41;if(_0x2d23ae['key']!==_0x9b0507||!_0x2d23ae['newValue'])return;const _0x1996e8=JSON['parse'](_0x2d23ae['newValue']);this[_0x50299c(0x32d)](_0x1996e8);}))),window['addEventListener'](_0x184a41(0x277),()=>this[_0x184a41(0x185)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x184a41(0x195)](this['_selfUnitIDs'])}));}[_0x3a3b32(0x32d)](_0x28bf2b){const _0x20c0b4=_0x3a3b32;switch(_0x28bf2b[_0x20c0b4(0x189)]){case 0x0:this[_0x20c0b4(0x1b7)](_0x28bf2b);break;case 0x1:this[_0x20c0b4(0x18e)](_0x28bf2b);break;case 0x2:this[_0x20c0b4(0x312)](_0x28bf2b);break;}}[_0x3a3b32(0x1b7)](_0x54649e){const _0x45d81f=_0x3a3b32,{unitIDs:_0x386aa0,memberID:_0x13400f,isForwarded:_0x1b7594}=_0x54649e;_0x386aa0['forEach'](_0x23e44b=>{const _0x4a9b80=_0x56ac;if(!_0x1b7594&&this[_0x4a9b80(0x1ec)]['has'](_0x23e44b)&&this[_0x4a9b80(0xf6)](_0x23e44b)[_0x4a9b80(0x282)](_0x56139f[_0x4a9b80(0x30b)][_0x4a9b80(0x28d)]),!this[_0x4a9b80(0x1ec)]['has'](_0x23e44b)||!this[_0x4a9b80(0x1ec)]['get'](_0x23e44b)[_0x4a9b80(0xd6)](_0x13400f)){const _0x140414=this[_0x4a9b80(0x1ec)]['get'](_0x23e44b)||new Set();_0x140414[_0x4a9b80(0x316)](_0x13400f),this[_0x4a9b80(0x1ec)][_0x4a9b80(0x194)](_0x23e44b,_0x140414),this[_0x4a9b80(0x18b)](_0x13400f);}}),_0x1b7594||this[_0x45d81f(0x185)]({'type':0x0,'memberID':this[_0x45d81f(0x251)],'unitIDs':[...this[_0x45d81f(0x118)]],'isForwarded':!0x0});}[_0x3a3b32(0x18b)](_0x35fe0e){const _0x23788f=_0x3a3b32;this[_0x23788f(0x1c0)](_0x35fe0e);const _0xcb16d1=window[_0x23788f(0x115)](()=>{const _0x22987e=_0x23788f;this['_unitOnClients'][_0x22987e(0x291)](_0x2cf484=>{const _0x5d3d42=_0x22987e;_0x2cf484[_0x5d3d42(0x13c)](_0x35fe0e);});},_0x309bfd*0x2);this[_0x23788f(0x2d1)][_0x23788f(0x194)](_0x35fe0e,_0xcb16d1);}[_0x3a3b32(0x1c0)](_0x141701){const _0x5e723f=_0x3a3b32;if(this[_0x5e723f(0x2d1)][_0x5e723f(0xd6)](_0x141701)){const _0x1c2c40=this[_0x5e723f(0x2d1)]['get'](_0x141701);_0x1c2c40&&window[_0x5e723f(0x1ca)](_0x1c2c40),this[_0x5e723f(0x2d1)][_0x5e723f(0x194)](_0x141701,null);}}['_handleLeaveEvent'](_0xdb1cfe){const _0x4b9be9=_0x3a3b32,{memberID:_0x285b3a,unitIDs:_0x786753}=_0xdb1cfe;_0x786753[_0x4b9be9(0x291)](_0x1fcc2b=>{const _0x5110ad=_0x4b9be9;var _0x5095a5;const _0x4852d3=this[_0x5110ad(0x1ec)]['get'](_0x1fcc2b);_0x4852d3&&(_0x4852d3[_0x5110ad(0x13c)](_0x285b3a),(_0x5095a5=this[_0x5110ad(0xf6)](_0x1fcc2b))==null||_0x5095a5['next'](_0x4852d3['size']===0x0?_0x56139f['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x56139f[_0x5110ad(0x30b)][_0x5110ad(0x28d)]));}),this['_removeClearOtherTimer'](_0x285b3a);}['_handleHeartbeatEvent'](_0x29eb2a){const _0x135d98=_0x3a3b32;this[_0x135d98(0x18b)](_0x29eb2a[_0x135d98(0x328)]);}[_0x3a3b32(0x185)](_0x3d35d5){const _0x244465=_0x3a3b32;localStorage[_0x244465(0x267)](_0x9b0507,JSON[_0x244465(0x2d2)](_0x3d35d5));}[_0x3a3b32(0x116)](){const _0xa6a07a=_0x3a3b32;this['_heartbeatTimer']=window[_0xa6a07a(0x155)](()=>{const _0x5ada35=_0xa6a07a;this[_0x5ada35(0x185)]({'type':0x2,'memberID':this[_0x5ada35(0x251)]});},_0x309bfd);}['_ensureSubject'](_0x933fea){const _0x391efa=_0x3a3b32;return this['_unitStatus'][_0x391efa(0xd6)](_0x933fea)||this[_0x391efa(0x28a)][_0x391efa(0x194)](_0x933fea,new _0x16a76f[(_0x391efa(0x13e))](_0x56139f[_0x391efa(0x30b)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x391efa(0x28a)][_0x391efa(0x2be)](_0x933fea);}}var _0x32591f=(_0x155586=>(_0x155586[_0x155586[_0x3a3b32(0x27a)]=0x0]='UNDEFINED',_0x155586[_0x155586['OK']=0x1]='OK',_0x155586[_0x155586['INTERNAL_ERROR']=0x2]=_0x3a3b32(0xa1),_0x155586[_0x155586[_0x3a3b32(0x1a0)]=0x3]='PERMISSION_DENIED',_0x155586[_0x155586['NOT_FOUND']=0x4]=_0x3a3b32(0x26c),_0x155586[_0x155586[_0x3a3b32(0xc9)]=0x5]=_0x3a3b32(0xc9),_0x155586[_0x155586['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x155586[_0x155586['INVALID_ARGUMENT']=0x7]=_0x3a3b32(0x140),_0x155586[_0x155586['TOO_MANY_REQUESTS']=0x8]=_0x3a3b32(0xa9),_0x155586[_0x155586['COMPLETION_FINISHED']=0x9]=_0x3a3b32(0xe3),_0x155586[_0x155586[_0x3a3b32(0x22a)]=0xa]=_0x3a3b32(0x22a),_0x155586[_0x155586[_0x3a3b32(0x205)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x155586[_0x155586[_0x3a3b32(0xfb)]=0x1771]=_0x3a3b32(0xfb),_0x155586[_0x155586[_0x3a3b32(0xc3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x155586[_0x155586[_0x3a3b32(0x32e)]=0x1773]=_0x3a3b32(0x32e),_0x155586[_0x155586[_0x3a3b32(0x12c)]=0x1b59]=_0x3a3b32(0x12c),_0x155586[_0x155586[_0x3a3b32(0xcb)]=0x1b5a]=_0x3a3b32(0xcb),_0x155586[_0x155586[_0x3a3b32(0xd2)]=0x1b5b]=_0x3a3b32(0xd2),_0x155586[_0x155586[_0x3a3b32(0x2dc)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x155586[_0x155586[_0x3a3b32(0x131)]=0x1b5d]=_0x3a3b32(0x131),_0x155586[_0x155586[_0x3a3b32(0x21f)]=0x1f41]=_0x3a3b32(0x21f),_0x155586[_0x155586[_0x3a3b32(0xe2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x155586[_0x155586[_0x3a3b32(0x1ad)]=0x232a]=_0x3a3b32(0x1ad),_0x155586[_0x155586[_0x3a3b32(0x314)]=0x232b]=_0x3a3b32(0x314),_0x155586[_0x155586[_0x3a3b32(0x151)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x155586[_0x155586[_0x3a3b32(0x12a)]=0x232d]=_0x3a3b32(0x12a),_0x155586[_0x155586['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3a3b32(0x11e),_0x155586[_0x155586[_0x3a3b32(0x17b)]=0x2712]=_0x3a3b32(0x17b),_0x155586[_0x155586[_0x3a3b32(0x13a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x155586[_0x155586[_0x3a3b32(0x233)]=0x2714]=_0x3a3b32(0x233),_0x155586[_0x155586['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3a3b32(0x2b5),_0x155586[_0x155586['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x155586[_0x155586[_0x3a3b32(0x1d1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x155586[_0x155586[_0x3a3b32(0xa4)]=0x271d]=_0x3a3b32(0xa4),_0x155586[_0x155586[_0x3a3b32(0x1c6)]=0x271e]=_0x3a3b32(0x1c6),_0x155586[_0x155586[_0x3a3b32(0x175)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x155586[_0x155586[_0x3a3b32(0x261)]=0x2af9]=_0x3a3b32(0x261),_0x155586[_0x155586[_0x3a3b32(0x199)]=0x2ee1]=_0x3a3b32(0x199),_0x155586[_0x155586[_0x3a3b32(0x1c7)]=0x2ee2]='INVALID_INVITE_CODE',_0x155586[_0x155586[_0x3a3b32(0xf5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x155586[_0x155586[_0x3a3b32(0x9c)]=0x2ee4]=_0x3a3b32(0x9c),_0x155586[_0x155586['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3a3b32(0xf9),_0x155586[_0x155586[_0x3a3b32(0x240)]=0x32c9]=_0x3a3b32(0x240),_0x155586[_0x155586['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3a3b32(0x134),_0x155586[_0x155586['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x155586[_0x155586[_0x3a3b32(0x23b)]=-0x1]=_0x3a3b32(0x23b),_0x155586))(_0x32591f||{}),_0x46081e=Object[_0x3a3b32(0x26d)],_0x3810c4=(_0x3dc2fb,_0x5d9866,_0x45b666,_0x3dfdf9)=>{const _0x5f39dd=_0x3a3b32;for(var _0x145500=_0x3dfdf9>0x1?void 0x0:_0x3dfdf9?_0x46081e(_0x5d9866,_0x45b666):_0x5d9866,_0x2a315c=_0x3dc2fb[_0x5f39dd(0xb3)]-0x1,_0x3d5931;_0x2a315c>=0x0;_0x2a315c--)(_0x3d5931=_0x3dc2fb[_0x2a315c])&&(_0x145500=_0x3d5931(_0x145500)||_0x145500);return _0x145500;},_0x568fbe=(_0x445797,_0x5ccf5d)=>(_0x500ef9,_0x153f8c)=>_0x5ccf5d(_0x500ef9,_0x153f8c,_0x445797);_0x2bf47a[_0x3a3b32(0x299)]=class extends _0x5cc899['Disposable']{constructor(_0x568981,_0x2d55db,_0x120d11){const _0x100a94=_0x3a3b32;super(),this[_0x100a94(0xc6)]=_0x568981,this[_0x100a94(0x28f)]=_0x2d55db,this[_0x100a94(0xec)]=_0x120d11;}async[_0x3a3b32(0x30d)](_0xb0cd9e,_0x2f8e5d,_0x5a108f,..._0x3bb78b){const _0x403c2b=_0x3a3b32;var _0x203575,_0x4e70c5,_0x46512f,_0x4a3dbf;const _0x19f877=this['_instanceService'][_0x403c2b(0x1fe)]();if(!_0x19f877)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x259afc=((_0x203575=this[_0x403c2b(0xec)][_0x403c2b(0x237)](_0x56139f[_0x403c2b(0x1fd)]))!=null?_0x203575:_0x56139f[_0x403c2b(0x21d)])+'/'+_0xb0cd9e+_0x403c2b(0x309)+_0x2f8e5d,_0x399b30=new URL(window[_0x403c2b(0x305)][_0x403c2b(0x2e8)]),_0x226b6a={'scriptId':_0xb0cd9e,'runId':(_0x4e70c5=_0x399b30[_0x403c2b(0x1e6)][_0x403c2b(0x2be)]('runId'))!=null?_0x4e70c5:'','function':_0x2f8e5d,'unitId':_0x19f877[_0x403c2b(0x30c)](),'argsOfFunction':JSON[_0x403c2b(0x2d2)](_0x3bb78b),'invokeId':(_0x46512f=_0x5a108f[_0x403c2b(0x32c)])!=null?_0x46512f:'','executionId':(_0x4a3dbf=_0x5a108f[_0x403c2b(0x142)])!=null?_0x4a3dbf:''};try{const _0x6a3fbe=await this['_httpService'][_0x403c2b(0x280)](_0x259afc,{'body':_0x226b6a});return _0x6a3fbe['body'][_0x403c2b(0x250)]&&_0x6a3fbe[_0x403c2b(0x174)][_0x403c2b(0x250)][_0x403c2b(0x31c)]!==_0x32591f['OK']?_0x403c2b(0x248):_0x6a3fbe[_0x403c2b(0x174)][_0x403c2b(0x20e)];}catch{return _0x403c2b(0x248);}}},_0x2bf47a[_0x3a3b32(0x299)]=_0x3810c4([_0x568fbe(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x568fbe(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x225722[_0x3a3b32(0x1a5)])),_0x568fbe(0x2,_0x5cc899[_0x3a3b32(0x1a4)])],_0x2bf47a[_0x3a3b32(0x299)]),_0x2bf47a[_0x3a3b32(0xaf)]=_0x2cfcc7,_0x2bf47a[_0x3a3b32(0x287)]=_0x179a0b,_0x2bf47a['SheetCollabCursorShape']=_0x56e01b,_0x2bf47a[_0x3a3b32(0x193)]=_0x54b25e,_0x2bf47a[_0x3a3b32(0x244)]=_0x389b48,Object[_0x3a3b32(0x315)](_0x2bf47a,Symbol[_0x3a3b32(0xae)],{'value':_0x3a3b32(0x232)});}));