@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504261606 → 0.6.10-nightly.202504281607
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
- package/lib/index.css +0 -1
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x128fdc,_0x394a1a){const _0xf3bd0c=_0x5ab8,_0x31e5aa=_0x128fdc();while(!![]){try{const _0x110491=parseInt(_0xf3bd0c(0x22f))/0x1+parseInt(_0xf3bd0c(0x233))/0x2+-parseInt(_0xf3bd0c(0x31e))/0x3*(-parseInt(_0xf3bd0c(0x258))/0x4)+-parseInt(_0xf3bd0c(0x214))/0x5+parseInt(_0xf3bd0c(0x1c0))/0x6*(parseInt(_0xf3bd0c(0x278))/0x7)+parseInt(_0xf3bd0c(0x32b))/0x8+-parseInt(_0xf3bd0c(0x104))/0x9*(parseInt(_0xf3bd0c(0x21d))/0xa);if(_0x110491===_0x394a1a)break;else _0x31e5aa['push'](_0x31e5aa['shift']());}catch(_0x1759d0){_0x31e5aa['push'](_0x31e5aa['shift']());}}}(_0x4c3b,0xe8134),function(_0x5f3163,_0x12f383){const _0x45c450=_0x5ab8;typeof exports==_0x45c450(0xb9)&&typeof module<'u'?_0x12f383(exports,require(_0x45c450(0xb4)),require('@univerjs/core'),require(_0x45c450(0x138)),require('@univerjs/network'),require(_0x45c450(0x2ee)),require(_0x45c450(0x225)),require(_0x45c450(0x2d7)),require(_0x45c450(0x1ad)),require(_0x45c450(0x20f)),require(_0x45c450(0x2be)),require(_0x45c450(0x1a4)),require(_0x45c450(0x127)),require('@univerjs/sheets-ui'),require(_0x45c450(0x234)),require('@univerjs/ui'),require(_0x45c450(0x2cd)),require(_0x45c450(0x168)),require(_0x45c450(0x304))):typeof define==_0x45c450(0x184)&&define[_0x45c450(0xfd)]?define([_0x45c450(0x1ca),'@univerjs-pro/collaboration-client',_0x45c450(0x248),_0x45c450(0x138),'@univerjs/network',_0x45c450(0x2ee),_0x45c450(0x225),_0x45c450(0x2d7),'@univerjs/docs','@univerjs-pro/collaboration',_0x45c450(0x2be),'@univerjs/sheets','rxjs/operators',_0x45c450(0xda),_0x45c450(0x234),'@univerjs/ui','@univerjs/design',_0x45c450(0x168),_0x45c450(0x304)],_0x12f383):(_0x5f3163=typeof globalThis<'u'?globalThis:_0x5f3163||self,_0x12f383(_0x5f3163[_0x45c450(0xed)]={},_0x5f3163[_0x45c450(0x266)],_0x5f3163[_0x45c450(0x146)],_0x5f3163[_0x45c450(0x124)],_0x5f3163['UniverNetwork'],_0x5f3163[_0x45c450(0xba)],_0x5f3163[_0x45c450(0xa3)],_0x5f3163[_0x45c450(0x2d7)],_0x5f3163[_0x45c450(0x1c1)],_0x5f3163[_0x45c450(0x2e5)],_0x5f3163[_0x45c450(0x253)],_0x5f3163['UniverSheets'],_0x5f3163[_0x45c450(0x2d7)][_0x45c450(0x188)],_0x5f3163[_0x45c450(0x2f0)],_0x5f3163[_0x45c450(0x284)],_0x5f3163['UniverUi'],_0x5f3163[_0x45c450(0x202)],_0x5f3163[_0x45c450(0x284)],_0x5f3163[_0x45c450(0x166)]));}(this,function(_0x109107,_0x550e9f,_0x50b35f,_0x1083d9,_0x39eedb,_0x560a64,_0x54b37c,_0x342ed2,_0xa2e49e,_0x9298ea,_0x374129,_0x26ee19,_0x55319e,_0x1b149c,_0xd0be2f,_0x2a4c6a,_0x2b5271,_0x265703,_0x24d803){'use strict';const _0x4a378c=_0x5ab8;var _0x538d69=Object['defineProperty'],_0x12c0f8=(_0xcd3dbd,_0x1d5c5f,_0x191e16)=>_0x1d5c5f in _0xcd3dbd?_0x538d69(_0xcd3dbd,_0x1d5c5f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x191e16}):_0xcd3dbd[_0x1d5c5f]=_0x191e16,_0x1fd125=(_0x4a7747,_0x4e9afb,_0x4e2efa)=>_0x12c0f8(_0x4a7747,typeof _0x4e9afb!=_0x4a378c(0x291)?_0x4e9afb+'':_0x4e9afb,_0x4e2efa),_0x5ea327=Object['getOwnPropertyDescriptor'],_0x5b6740=(_0x5a2f20,_0x4ea834,_0x3f87e4,_0x58f3cb)=>{const _0x37ef9a=_0x4a378c;for(var _0x58a42e=_0x58f3cb>0x1?void 0x0:_0x58f3cb?_0x5ea327(_0x4ea834,_0x3f87e4):_0x4ea834,_0x5a0355=_0x5a2f20[_0x37ef9a(0x228)]-0x1,_0x58595d;_0x5a0355>=0x0;_0x5a0355--)(_0x58595d=_0x5a2f20[_0x5a0355])&&(_0x58a42e=_0x58595d(_0x58a42e)||_0x58a42e);return _0x58a42e;},_0x3237dd=(_0x24d366,_0x153625)=>(_0x2ea9c9,_0x4395af)=>_0x153625(_0x2ea9c9,_0x4395af,_0x24d366);let _0x4ba470=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x382ec0,_0x36fee5){const _0xf43fe5=_0x4a378c;super(),this[_0xf43fe5(0x289)]=_0x382ec0,this[_0xf43fe5(0x96)]=_0x36fee5,this['_init']();}[_0x4a378c(0x21e)](){const _0x12ad0a=_0x4a378c,_0x5340ec=this;this[_0x12ad0a(0x9f)](this[_0x12ad0a(0x289)][_0x12ad0a(0x263)]({'onBeforePasteImage':async _0xcbdeba=>{const _0x215499=_0x12ad0a,_0x33c67f=await _0x5340ec['_imageIoService'][_0x215499(0xf1)](_0xcbdeba);return _0x33c67f?{'source':_0x33c67f[_0x215499(0x216)],'imageSourceType':_0x33c67f[_0x215499(0x158)]}:null;}}));}};_0x4ba470=_0x5b6740([_0x3237dd(0x0,_0x560a64[_0x4a378c(0x2d1)]),_0x3237dd(0x1,_0x54b37c[_0x4a378c(0x167)])],_0x4ba470);const _0xdecd2e=[_0x4a378c(0x2a9),_0x4a378c(0x1fc),_0x4a378c(0xee),_0x4a378c(0x1aa),_0x4a378c(0x28c),'gold400'];class _0x20d96e extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(){const _0x3b8902=_0x4a378c;super(...arguments),_0x1fd125(this,_0x3b8902(0x306),new Map()),_0x1fd125(this,'_colorIndex',0x0);}[_0x4a378c(0x1fa)](_0x5d8288){const _0x5c42ae=_0x4a378c;if(this[_0x5c42ae(0x306)]['has'](_0x5d8288))return this['_assignedColors'][_0x5c42ae(0x14f)](_0x5d8288);const _0x599ca5=_0xdecd2e[this[_0x5c42ae(0x165)]];return this[_0x5c42ae(0x165)]=(this[_0x5c42ae(0x165)]+0x1)%_0xdecd2e['length'],this['_assignedColors'][_0x5c42ae(0x1fd)](_0x5d8288,_0x599ca5),_0x599ca5;}}function _0x5a62c9(_0x393768){let _0x155b03='';for(const _0x4b7f54 of _0x393768){const {startOffset:_0x1ea07e,endOffset:_0x1127a4,isActive:_0x9ffb96,rangeType:_0x6eb336,segmentId:_0x447ea2,segmentPage:_0x24b1e7}=_0x4b7f54;_0x155b03['length']&&(_0x155b03+=','),_0x155b03+=_0x1ea07e+':'+_0x1127a4+':'+(_0x9ffb96?'1':'0')+':'+_0x6eb336+':'+_0x447ea2+':'+_0x24b1e7;}return _0x155b03;}function _0x516383(_0x2a62d6){const _0x52cb52=_0x4a378c,_0x3631c7=_0x2a62d6[_0x52cb52(0x140)](','),_0x49f7e1=[];for(const _0x3a99fc of _0x3631c7){const [_0x1dbc5f,_0x12496e,_0x18c9f6,_0x401a36,_0x3ef144,_0xd23b77]=_0x3a99fc['split'](':');_0x49f7e1[_0x52cb52(0x9a)]({'startOffset':Number(_0x1dbc5f),'endOffset':Number(_0x12496e),'collapsed':_0x1dbc5f===_0x12496e,'isActive':_0x18c9f6==='1','rangeType':_0x401a36===_0x50b35f[_0x52cb52(0x309)][_0x52cb52(0x308)]?_0x50b35f[_0x52cb52(0x309)][_0x52cb52(0x308)]:_0x50b35f[_0x52cb52(0x309)][_0x52cb52(0x2b2)],'segmentId':typeof _0x3ef144==_0x52cb52(0x136)?String(_0x3ef144):'','segmentPage':Number(_0xd23b77!=null?_0xd23b77:-0x1)});}return _0x49f7e1['some'](_0x10fbb7=>_0x10fbb7['isActive'])||(_0x49f7e1[0x0]['isActive']=!0x0),_0x49f7e1;}class _0x5773b5 extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(){const _0x4d9ee7=_0x4a378c;super(...arguments),_0x1fd125(this,_0x4d9ee7(0x17f),new _0x342ed2['BehaviorSubject'](null)),_0x1fd125(this,_0x4d9ee7(0x125),this[_0x4d9ee7(0x17f)][_0x4d9ee7(0x157)]());}[_0x4a378c(0xfe)](_0x8bc11b){const _0x2db4fc=_0x4a378c,{unitID:_0x2bbc0a,memberID:_0x399325,textRanges:_0x1ac96f}=_0x8bc11b,_0x3065bb=_0x5a62c9(_0x1ac96f);if(_0x3065bb==='')return;const _0x534244={'unitID':_0x2bbc0a,'memberID':_0x399325,'selection':_0x3065bb};this[_0x2db4fc(0x17f)][_0x2db4fc(0xe7)](_0x534244);}}var _0x569f71=Object[_0x4a378c(0x17c)],_0x57897a=(_0x2e4901,_0x35e875,_0x59031a,_0x189ee1)=>{for(var _0x359e93=_0x189ee1>0x1?void 0x0:_0x189ee1?_0x569f71(_0x35e875,_0x59031a):_0x35e875,_0x2433c3=_0x2e4901['length']-0x1,_0x395b19;_0x2433c3>=0x0;_0x2433c3--)(_0x395b19=_0x2e4901[_0x2433c3])&&(_0x359e93=_0x395b19(_0x359e93)||_0x359e93);return _0x359e93;},_0x13b98a=(_0x24bfe3,_0x42453f)=>(_0x168d55,_0x1b7046)=>_0x42453f(_0x168d55,_0x1b7046,_0x24bfe3);const _0x54c07c=0x12c,_0x302950=0x64;let _0x2b43c2=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x520044,_0x102ef1,_0x317095,_0x39ec38,_0x497e2e,_0x10cdd0,_0x4ac014,_0x675b46,_0x231b6e){const _0x4d4247=_0x4a378c;super(),_0x1fd125(this,_0x4d4247(0x2bb),!0x1),_0x1fd125(this,'_init',!0x1),_0x1fd125(this,_0x4d4247(0x1ce),new _0x342ed2[(_0x4d4247(0x2a0))](new Map())),_0x1fd125(this,_0x4d4247(0x14d),this['_cursorInfo$'][_0x4d4247(0x157)]()),_0x1fd125(this,'_roomMembers$',new _0x342ed2[(_0x4d4247(0x2a0))]([])),_0x1fd125(this,'roomMembers$',this['_roomMembers$'][_0x4d4247(0x24e)](_0x342ed2[_0x4d4247(0xdc)](_0x54c07c))),_0x1fd125(this,'_updateLocalCursor',_0x50b35f[_0x4d4247(0x112)](_0x265017=>{const _0x95d640=_0x4d4247,_0x567fcb={'eventID':_0x9298ea[_0x95d640(0x275)][_0x95d640(0x179)],'data':{'unitID':this[_0x95d640(0x14b)],'memberID':this[_0x95d640(0x175)][_0x95d640(0x212)](),'selection':_0x5a62c9(_0x265017)}};this[_0x95d640(0x175)][_0x95d640(0x1de)](_0x567fcb,this[_0x95d640(0x14b)]);},_0x302950)),(this['unitID']=_0x520044,this[_0x4d4247(0x175)]=_0x102ef1,this[_0x4d4247(0x2b5)]=_0x317095,this['_colorAssignService']=_0x39ec38,this[_0x4d4247(0x93)]=_0x497e2e,this[_0x4d4247(0x237)]=_0x10cdd0,this[_0x4d4247(0x14c)]=_0x4ac014,this[_0x4d4247(0x1c6)]=_0x675b46,this[_0x4d4247(0x28f)]=_0x231b6e);}get[_0x4a378c(0x12a)](){const _0x37215d=_0x4a378c;return this[_0x37215d(0x1ce)][_0x37215d(0x279)]();}get['roomMembers'](){const _0x2aee06=_0x4a378c;return this[_0x2aee06(0x1a8)]['getValue']();}['dispose'](){const _0x51a3dd=_0x4a378c;super[_0x51a3dd(0x303)](),this['_cursorInfo$'][_0x51a3dd(0xe7)](new Map()),this[_0x51a3dd(0x1ce)][_0x51a3dd(0xcc)](),this[_0x51a3dd(0x1a8)][_0x51a3dd(0xe7)]([]),this[_0x51a3dd(0x1a8)][_0x51a3dd(0xcc)]();}[_0x4a378c(0x169)](){const _0x516ed8=_0x4a378c;this[_0x516ed8(0x21e)]||(this[_0x516ed8(0x21e)]=!0x0,this[_0x516ed8(0x175)][_0x516ed8(0x180)]['pipe'](_0x342ed2[_0x516ed8(0x2fa)](this[_0x516ed8(0x25b)]))[_0x516ed8(0x1a5)](_0x1c0ef7=>{const _0x3953d9=_0x516ed8;_0x1c0ef7===_0x550e9f[_0x3953d9(0x326)][_0x3953d9(0x1c3)]?this[_0x3953d9(0x10f)]():this[_0x3953d9(0x1d5)]();}),this['_session']['event$']['pipe'](_0x342ed2[_0x516ed8(0x2fa)](this[_0x516ed8(0x25b)]))[_0x516ed8(0x1a5)](_0x521c0e=>{const _0x416c33=_0x516ed8,_0xf684e5=_0x521c0e['eventID'];_0xf684e5===_0x9298ea[_0x416c33(0x275)][_0x416c33(0x179)]&&this[_0x416c33(0x1f6)](_0x521c0e),_0xf684e5===_0x9298ea[_0x416c33(0x275)][_0x416c33(0x255)]&&this[_0x416c33(0x2c5)](_0x521c0e);}),this[_0x516ed8(0x9f)](this['_commandService'][_0x516ed8(0x16c)](_0x11b562=>{const _0x5959d8=_0x516ed8,_0x3add70=_0x11b562[_0x5959d8(0x196)];_0x3add70!=null&&this[_0x5959d8(0x2bb)]&&_0x11b562['id']===_0xa2e49e[_0x5959d8(0xf8)]['id']&&_0x3add70[_0x5959d8(0x264)]===this['unitID']&&_0x3add70[_0x5959d8(0x2b4)]===!0x1&&_0x3add70[_0x5959d8(0x29c)][_0x5959d8(0x228)]>0x0&&this['_updateLocalCursor'](_0x3add70[_0x5959d8(0x29c)]);})),this['_syncEditingCollabCursorService'][_0x516ed8(0x125)][_0x516ed8(0x24e)](_0x342ed2['takeUntil'](this[_0x516ed8(0x25b)]))[_0x516ed8(0x1a5)](_0x805f91=>{const _0x1f13f3=_0x516ed8;if((_0x805f91==null?void 0x0:_0x805f91[_0x1f13f3(0x14b)])!==this[_0x1f13f3(0x14b)])return;const _0x1ecfae={'eventID':_0x9298ea[_0x1f13f3(0x275)][_0x1f13f3(0x179)],'data':_0x805f91};this[_0x1f13f3(0x1f6)](_0x1ecfae);}),this[_0x516ed8(0x9f)](this[_0x516ed8(0x28f)][_0x516ed8(0x16c)](_0x4de4b4=>{const _0x4d4d29=_0x516ed8;if(_0x4de4b4[_0x4d4d29(0x196)]==null)return;const _0x56f891=_0x4de4b4['params'];if(_0x4de4b4['id']!==_0xa2e49e[_0x4d4d29(0x17a)]['id']||_0x56f891['unitId']!==this[_0x4d4d29(0x14b)])return;const _0x4f8eaf={'id':'doc.mutation.rich-text-editing','params':_0x56f891},_0x59bc2b=this[_0x4d4d29(0x12a)];for(const [_0x6247cd,_0x293eac]of _0x59bc2b){const _0x32dec0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4d4d29(0x14b)],'actions':null,'textRanges':_0x293eac[_0x4d4d29(0x29c)]}},_0x5598dc=this[_0x4d4d29(0x14c)]['transformMutation'](_0x4f8eaf,_0x32dec0,!0x1);if(_0x9298ea[_0x4d4d29(0xa7)](_0x5598dc))throw _0x5598dc[_0x4d4d29(0x206)];_0x59bc2b[_0x4d4d29(0x1fd)](_0x6247cd,{..._0x293eac,'ranges':_0x5598dc[_0x4d4d29(0x2a5)][_0x4d4d29(0x196)]['textRanges']});}queueMicrotask(()=>{const _0x22f02f=_0x4d4d29;this[_0x22f02f(0x1ce)][_0x22f02f(0xe7)](_0x59bc2b);});})));}['_onCursorUpdate'](_0x5139a5){const _0x51437b=_0x4a378c;var _0x4b3c12,_0xa1b799;const {memberID:_0x3c11c1,selection:_0x2cbab2}=_0x5139a5[_0x51437b(0x1d2)],_0x467e6e=_0x516383(_0x2cbab2),_0x2355cb=(_0xa1b799=(_0x4b3c12=this[_0x51437b(0x93)][_0x51437b(0x186)](this[_0x51437b(0x14b)],_0x3c11c1))==null?void 0x0:_0x4b3c12['name'])!=null?_0xa1b799:_0x51437b(0x1c5),_0x32fb4d={'color':this[_0x51437b(0x203)][_0x51437b(0x1fa)](_0x3c11c1),'name':_0x2355cb,'ranges':_0x467e6e},_0x18ba3c=this[_0x51437b(0x12a)];_0x18ba3c[_0x51437b(0x1fd)](_0x3c11c1,_0x32fb4d),this[_0x51437b(0x1ce)][_0x51437b(0xe7)](_0x18ba3c);}[_0x4a378c(0x2c5)](_0x2d73cd){const _0x129fcc=_0x4a378c,{memberID:_0xbaf6d2}=_0x2d73cd[_0x129fcc(0x1d2)],_0x4b3252=this['cursorInfo'];_0x4b3252[_0x129fcc(0x22d)](_0xbaf6d2),this['_cursorInfo$']['next'](_0x4b3252);}[_0x4a378c(0x10f)](){const _0x3e47e4=_0x4a378c;var _0x78f395;if(this['_online']=!0x0,((_0x78f395=this[_0x3e47e4(0x1c6)][_0x3e47e4(0x300)]())==null?void 0x0:_0x78f395[_0x3e47e4(0x298)]())!==this[_0x3e47e4(0x14b)])return;const _0x92ec0=this[_0x3e47e4(0x2b5)][_0x3e47e4(0x14f)](_0xa2e49e[_0x3e47e4(0xac)])[_0x3e47e4(0x2f5)]();Array[_0x3e47e4(0x2dd)](_0x92ec0)&&_0x92ec0[_0x3e47e4(0x228)]>0x0&&this[_0x3e47e4(0x207)](_0x92ec0);}['_toggleOffline'](){this['_online']=!0x1;}};_0x2b43c2=_0x57897a([_0x13b98a(0x2,_0x50b35f['Inject'](_0x50b35f[_0x4a378c(0x29d)])),_0x13b98a(0x3,_0x50b35f[_0x4a378c(0x135)](_0x20d96e)),_0x13b98a(0x4,_0x50b35f['Inject'](_0x550e9f[_0x4a378c(0x31c)])),_0x13b98a(0x5,_0x50b35f[_0x4a378c(0x135)](_0x5773b5)),_0x13b98a(0x6,_0x9298ea[_0x4a378c(0x238)]),_0x13b98a(0x7,_0x50b35f[_0x4a378c(0xfb)]),_0x13b98a(0x8,_0x50b35f[_0x4a378c(0x94)])],_0x2b43c2);var _0x48bec1=Object['getOwnPropertyDescriptor'],_0x4a2d99=(_0x5f4d82,_0x55d0fb,_0x1a609d,_0x5b1cf2)=>{const _0x26af63=_0x4a378c;for(var _0x26a3bf=_0x5b1cf2>0x1?void 0x0:_0x5b1cf2?_0x48bec1(_0x55d0fb,_0x1a609d):_0x55d0fb,_0x48ec06=_0x5f4d82[_0x26af63(0x228)]-0x1,_0x130626;_0x48ec06>=0x0;_0x48ec06--)(_0x130626=_0x5f4d82[_0x48ec06])&&(_0x26a3bf=_0x130626(_0x26a3bf)||_0x26a3bf);return _0x26a3bf;},_0x129d87=(_0x196dde,_0x4c7ec6)=>(_0x26b40c,_0x44ee5d)=>_0x4c7ec6(_0x26b40c,_0x44ee5d,_0x196dde);const _0xfe0414=0x12c,_0x1689e6=0x64,_0x348728=()=>{let _0x4e2044=[],_0x13be90=!0x1;return _0x2fbd62=>{_0x4e2044['push'](_0x2fbd62),_0x13be90||(_0x13be90=!0x0,setTimeout(()=>{const _0x37f998=_0x5ab8;_0x4e2044[_0x37f998(0xe5)](_0x1a9a8c=>_0x1a9a8c()),_0x4e2044=[],_0x13be90=!0x1;}));};};let _0x4f88b1=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x46f614,_0x4f61a4,_0x54e617,_0x1211a0,_0x20261b,_0x376b4d,_0x476a6d,_0xe20059){const _0x21533c=_0x4a378c;super(),_0x1fd125(this,_0x21533c(0x2bb),!0x1),_0x1fd125(this,_0x21533c(0x21e),!0x1),_0x1fd125(this,_0x21533c(0x1ce),new _0x342ed2['BehaviorSubject'](new Map())),_0x1fd125(this,_0x21533c(0x14d),this['_cursorInfo$']['asObservable']()),_0x1fd125(this,_0x21533c(0x1a8),new _0x342ed2[(_0x21533c(0x2a0))]([])),_0x1fd125(this,_0x21533c(0x1a7),this[_0x21533c(0x1a8)][_0x21533c(0x24e)](_0x342ed2[_0x21533c(0xdc)](_0xfe0414))),_0x1fd125(this,'_updateLocalCursor',_0x50b35f[_0x21533c(0x112)]((_0x2f406e,_0x1e2a82)=>{const _0x4d3672=_0x21533c,_0x4491d0={'eventID':_0x9298ea['CollaborationEvent'][_0x4d3672(0x179)],'data':{'unitID':this[_0x4d3672(0x14b)],'memberID':this[_0x4d3672(0x175)][_0x4d3672(0x212)](),'selection':_0x374129[_0x4d3672(0xa1)](_0x2f406e,_0x1e2a82[_0x4d3672(0x1e2)])}};this[_0x4d3672(0x175)]['send'](_0x4491d0,this[_0x4d3672(0x14b)]);},_0x1689e6)),(this['unitID']=_0x46f614,this[_0x21533c(0x175)]=_0x4f61a4,this['_injector']=_0x54e617,this['_colorAssignService']=_0x1211a0,this[_0x21533c(0x93)]=_0x20261b,this[_0x21533c(0x1c6)]=_0x376b4d,this[_0x21533c(0x28f)]=_0x476a6d,this[_0x21533c(0x251)]=_0xe20059);}get[_0x4a378c(0x12a)](){const _0x47ccb2=_0x4a378c;return this[_0x47ccb2(0x1ce)][_0x47ccb2(0x279)]();}get[_0x4a378c(0x15c)](){const _0x3eb1d3=_0x4a378c;return this[_0x3eb1d3(0x1a8)][_0x3eb1d3(0x279)]();}['dispose'](){const _0x254f60=_0x4a378c;super[_0x254f60(0x303)](),this[_0x254f60(0x1ce)]['next'](new Map()),this[_0x254f60(0x1ce)][_0x254f60(0xcc)](),this[_0x254f60(0x1a8)]['next']([]),this[_0x254f60(0x1a8)][_0x254f60(0xcc)]();}[_0x4a378c(0x169)](){const _0x560028=_0x4a378c;this['_init']||(this['_init']=!0x0,this['_session'][_0x560028(0x180)][_0x560028(0x24e)](_0x342ed2[_0x560028(0x2fa)](this[_0x560028(0x25b)]))[_0x560028(0x1a5)](_0xe9111c=>{const _0x1660e2=_0x560028;_0xe9111c===_0x550e9f[_0x1660e2(0x326)][_0x1660e2(0x1c3)]?this['_toggleOnline']():this[_0x1660e2(0x1d5)]();}),this[_0x560028(0x175)][_0x560028(0x1e0)][_0x560028(0x24e)](_0x342ed2['takeUntil'](this[_0x560028(0x25b)]))[_0x560028(0x1a5)](_0x5e3116=>{const _0x411012=_0x560028,_0xb52081=_0x5e3116[_0x411012(0x1ac)];_0xb52081===_0x9298ea[_0x411012(0x275)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x5e3116),_0xb52081===_0x9298ea[_0x411012(0x275)][_0x411012(0x255)]&&this['_onCursorDelete'](_0x5e3116);}),this[_0x560028(0x190)](),this[_0x560028(0x9f)](this[_0x560028(0x28f)]['onCommandExecuted'](_0x42283c=>{const _0x286ab0=_0x560028;if(this['_online']&&_0x42283c['id']===_0x26ee19[_0x286ab0(0x193)]['id']&&_0x42283c['params'][_0x286ab0(0x264)]===this[_0x286ab0(0x14b)]){const _0x2ab98d=_0x42283c[_0x286ab0(0x196)];this[_0x286ab0(0x207)](_0x2ab98d[_0x286ab0(0x259)],_0x2ab98d['selections'][0x0]);}})));}['_onCursorUpdate'](_0xa2b9b6){const _0x1b55b8=_0x4a378c;var _0x509555,_0x2f6829;const {memberID:_0x1c5102,selection:_0x34f181}=_0xa2b9b6['data'],{sheetName:_0x4c3309,range:_0x5240bc}=_0x374129[_0x1b55b8(0x209)](_0x34f181),_0x32ecdf={'name':(_0x2f6829=(_0x509555=this['_memberService']['getMember'](this[_0x1b55b8(0x14b)],_0x1c5102))==null?void 0x0:_0x509555['name'])!=null?_0x2f6829:_0x1b55b8(0x1c5),'range':this[_0x1b55b8(0x2b0)](_0x4c3309,_0x5240bc),'sheetID':_0x4c3309,'color':this[_0x1b55b8(0x203)][_0x1b55b8(0x1fa)](_0x1c5102),'selection':_0x34f181},_0x43e9d0=this[_0x1b55b8(0x12a)];_0x43e9d0[_0x1b55b8(0x1fd)](_0x1c5102,_0x32ecdf),this[_0x1b55b8(0x1ce)][_0x1b55b8(0xe7)](_0x43e9d0);}['_onCursorDelete'](_0x138ed7){const _0x1be0b0=_0x4a378c,{memberID:_0x2cf863}=_0x138ed7[_0x1be0b0(0x1d2)],_0x58b099=this[_0x1be0b0(0x12a)];_0x58b099[_0x1be0b0(0x22d)](_0x2cf863),this[_0x1be0b0(0x1ce)][_0x1be0b0(0xe7)](_0x58b099);}['_getMergeRange'](_0x52875d,_0x20fcdc){const _0x5d8caa=_0x4a378c;var _0x4e4882,_0x2c121e;const _0x389671=(_0x2c121e=(_0x4e4882=this[_0x5d8caa(0x1c6)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x4e4882['getSheetBySheetId'](_0x52875d))==null?void 0x0:_0x2c121e[_0x5d8caa(0x2a7)]();return(_0x389671==null?void 0x0:_0x389671[_0x5d8caa(0xe3)](_0x1c6884=>_0x50b35f['Rectangle'][_0x5d8caa(0xd2)](_0x1c6884,_0x20fcdc)))||_0x20fcdc;}[_0x4a378c(0x190)](){const _0x493f26=_0x4a378c,_0x420b36=new _0x50b35f['DisposableCollection'](),_0x94e952=_0x348728(),_0x4ddd54=()=>{const _0x25ab4b=_0x5ab8;_0x420b36[_0x25ab4b(0x303)]();const _0x25cce1=(_0x59f74a,_0x35debc,_0x337f25,_0x3758b4)=>{const _0x1bb2d1=_0x25ab4b;let _0x5bc046=[];switch(_0x59f74a['id']){case _0x26ee19['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x1e1)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)]['DeleteRangeMoveUpCommandId']:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x109)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x1b5)]:{_0x5bc046=_0x26ee19['handleInsertCol'](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x2e3)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x2ca)](_0x59f74a,_0x3758b4);break;}case _0x26ee19['EffectRefRangId'][_0x1bb2d1(0x261)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x107)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)]['InsertRowCommandId']:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x29a)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x149)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x2ce)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x17e)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x1da)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0xb0)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x30c)](_0x59f74a,_0x3758b4);break;}}const _0x198df1=_0x26ee19['runRefRangeMutations'](_0x5bc046,_0x3758b4),_0x26c66b=this['cursorInfo'][_0x1bb2d1(0x14f)](_0x35debc);if(_0x26c66b&&_0x198df1){const _0x4bd0b3={..._0x26c66b,'range':_0x198df1};this['cursorInfo']['set'](_0x35debc,_0x4bd0b3),_0x94e952(()=>{const _0x2710a9=_0x1bb2d1,_0x527a23=this[_0x2710a9(0x251)]['registerRefRange'](_0x198df1,_0x1feee6=>(_0x527a23['dispose'](),_0x25cce1(_0x1feee6,_0x35debc,_0x337f25,_0x198df1)));_0x420b36[_0x2710a9(0x295)](_0x527a23);});}return{'redos':[],'undos':[]};};this[_0x25ab4b(0x12a)]['forEach']((_0x2f5aea,_0x4451f7)=>{const _0x31ddf8=_0x25ab4b,{range:_0x756b0f,sheetID:_0x1bceb1}=_0x2f5aea,_0x3c893d=this[_0x31ddf8(0x251)][_0x31ddf8(0x13d)](_0x756b0f,_0x4cbc4e=>(_0x3c893d[_0x31ddf8(0x303)](),_0x25cce1(_0x4cbc4e,_0x4451f7,_0x1bceb1,_0x756b0f)));_0x420b36[_0x31ddf8(0x295)](_0x3c893d);});};this[_0x493f26(0x9f)](_0x50b35f['toDisposable'](this[_0x493f26(0x1ce)][_0x493f26(0x1a5)](()=>{_0x4ddd54();})));}[_0x4a378c(0x10f)](){const _0x4311b3=_0x4a378c;var _0x4145cb,_0x1cfe45;if(this[_0x4311b3(0x2bb)]=!0x0,((_0x4145cb=this[_0x4311b3(0x1c6)][_0x4311b3(0x300)]())==null?void 0x0:_0x4145cb[_0x4311b3(0x298)]())!==this[_0x4311b3(0x14b)])return;const _0xb39c81=(_0x1cfe45=this[_0x4311b3(0x2b5)][_0x4311b3(0x14f)](_0x26ee19['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x1cfe45[0x0],_0x55baeb=this[_0x4311b3(0x1c6)][_0x4311b3(0x22c)](_0x50b35f[_0x4311b3(0x25f)][_0x4311b3(0x30a)])[_0x4311b3(0x142)]();_0xb39c81&&_0x55baeb&&this[_0x4311b3(0x207)](_0x55baeb[_0x4311b3(0x224)](),_0xb39c81);}['_toggleOffline'](){const _0x180a77=_0x4a378c;this[_0x180a77(0x2bb)]=!0x1;}};_0x4f88b1=_0x4a2d99([_0x129d87(0x2,_0x50b35f['Inject'](_0x50b35f[_0x4a378c(0x29d)])),_0x129d87(0x3,_0x50b35f['Inject'](_0x20d96e)),_0x129d87(0x4,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x31c)])),_0x129d87(0x5,_0x50b35f['IUniverInstanceService']),_0x129d87(0x6,_0x50b35f[_0x4a378c(0x94)]),_0x129d87(0x7,_0x50b35f['Inject'](_0x26ee19[_0x4a378c(0x2ed)]))],_0x4f88b1);var _0x68ea15=Object['getOwnPropertyDescriptor'],_0x501788=(_0x345add,_0x13b056,_0xbdb18d,_0x173d7c)=>{const _0xf03ca8=_0x4a378c;for(var _0x42b2b0=_0x173d7c>0x1?void 0x0:_0x173d7c?_0x68ea15(_0x13b056,_0xbdb18d):_0x13b056,_0x1c9e3f=_0x345add[_0xf03ca8(0x228)]-0x1,_0x1a2051;_0x1c9e3f>=0x0;_0x1c9e3f--)(_0x1a2051=_0x345add[_0x1c9e3f])&&(_0x42b2b0=_0x1a2051(_0x42b2b0)||_0x42b2b0);return _0x42b2b0;},_0x5869e6=(_0x3c1dee,_0x3eb8a1)=>(_0x451e74,_0x4c3f4d)=>_0x3eb8a1(_0x451e74,_0x4c3f4d,_0x3c1dee);let _0x4f68d5=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x27b3b1,_0x4e6c73,_0x2a5675){const _0x5500e5=_0x4a378c;super(),_0x1fd125(this,_0x5500e5(0x151),new Map()),_0x1fd125(this,_0x5500e5(0x27f),new _0x342ed2['Subject']()),(this[_0x5500e5(0x1c6)]=_0x27b3b1,this[_0x5500e5(0x2b5)]=_0x4e6c73,this[_0x5500e5(0xcd)]=_0x2a5675,this[_0x5500e5(0x21e)]());}[_0x4a378c(0x303)](){const _0xf990cf=_0x4a378c;super[_0xf990cf(0x303)](),this['_entityInit$'][_0xf990cf(0xcc)](),this[_0xf990cf(0x151)]['forEach'](_0x3573a5=>_0x3573a5[_0xf990cf(0x303)]());}[_0x4a378c(0xab)](_0x6dd4ab){const _0x4b1bfd=_0x4a378c;return this[_0x4b1bfd(0x151)]['has'](_0x6dd4ab)?this[_0x4b1bfd(0x151)][_0x4b1bfd(0x14f)](_0x6dd4ab)[_0x4b1bfd(0x14d)]:this[_0x4b1bfd(0x27f)]['pipe'](_0x342ed2[_0x4b1bfd(0x2b8)](_0x1d1979=>_0x1d1979[_0x4b1bfd(0x14b)]===_0x6dd4ab),_0x342ed2['switchMap'](_0x361fde=>_0x361fde[_0x4b1bfd(0x14d)]));}['_init'](){const _0xc033d2=_0x4a378c;this[_0xc033d2(0x1c6)][_0xc033d2(0x31d)](_0x50b35f['UniverInstanceType']['UNIVER_SHEET'])[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2fa)](this[_0xc033d2(0x25b)]))[_0xc033d2(0x1a5)](async _0x3943d2=>{const _0xe7b9a=_0xc033d2,_0xac92=_0x3943d2[_0xe7b9a(0x298)](),_0x43f9dc=await this['_startSheetCollabCursor'](_0xac92);this[_0xe7b9a(0x27f)][_0xe7b9a(0xe7)](_0x43f9dc),this[_0xe7b9a(0x151)][_0xe7b9a(0x1fd)](_0xac92,_0x43f9dc);}),this[_0xc033d2(0x1c6)][_0xc033d2(0x31d)](_0x50b35f[_0xc033d2(0x25f)][_0xc033d2(0x1a2)])[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2fa)](this[_0xc033d2(0x25b)]))[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2b8)](_0x5428b8=>!_0x5428b8['getUnitId']()['startsWith']('__')))[_0xc033d2(0x1a5)](async _0x3e1654=>{const _0x227cf1=_0xc033d2,_0x2d3f14=_0x3e1654['getUnitId'](),_0x573bb8=await this[_0x227cf1(0x174)](_0x2d3f14);this[_0x227cf1(0x27f)][_0x227cf1(0xe7)](_0x573bb8),this[_0x227cf1(0x151)]['set'](_0x2d3f14,_0x573bb8);}),_0x342ed2[_0xc033d2(0x13f)](this[_0xc033d2(0x1c6)][_0xc033d2(0x297)](_0x50b35f[_0xc033d2(0x25f)][_0xc033d2(0x1a2)]),this[_0xc033d2(0x1c6)][_0xc033d2(0x297)](_0x50b35f['UniverInstanceType'][_0xc033d2(0x30a)]))[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2fa)](this[_0xc033d2(0x25b)]))[_0xc033d2(0x1a5)](_0xefa6c=>{const _0x120490=_0xc033d2,_0xba4352=_0xefa6c[_0x120490(0x298)](),_0x3b25c8=this[_0x120490(0x151)][_0x120490(0x14f)](_0xba4352);_0x3b25c8&&(_0x3b25c8['dispose'](),this[_0x120490(0x151)][_0x120490(0x22d)](_0xba4352));});}async[_0x4a378c(0x227)](_0x24b153){const _0x235821=_0x4a378c,_0x38fcbf=await this['_collabSessionService'][_0x235821(0x1d1)](_0x24b153),_0x4724fd=this[_0x235821(0x2b5)][_0x235821(0xa9)](_0x4f88b1,_0x24b153,_0x38fcbf);return _0x4724fd[_0x235821(0x169)](),_0x4724fd;}async[_0x4a378c(0x174)](_0xfc0c51){const _0x24ca89=_0x4a378c,_0x2a2b12=await this[_0x24ca89(0xcd)][_0x24ca89(0x1d1)](_0xfc0c51),_0x24b98d=this[_0x24ca89(0x2b5)][_0x24ca89(0xa9)](_0x2b43c2,_0xfc0c51,_0x2a2b12);return _0x24b98d['init'](),_0x24b98d;}};_0x4f68d5=_0x501788([_0x5869e6(0x0,_0x50b35f['IUniverInstanceService']),_0x5869e6(0x1,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x5869e6(0x2,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x274)]))],_0x4f68d5);const _0x41722c=0x14,_0x316a12=0xc8,_0x3fb027=0x4,_0x33f8af=0x5;function _0x277395(_0x5c3202,_0x589cd6){const _0x5ec673=_0x4a378c;let {radius:_0x318f1d,width:_0x5b3a02,height:_0x1eabd0}=_0x589cd6;_0x318f1d=_0x318f1d!=null?_0x318f1d:0x0,_0x5b3a02=_0x5b3a02!=null?_0x5b3a02:0x1e,_0x1eabd0=_0x1eabd0!=null?_0x1eabd0:0x1e;let _0x2a42bd=0x0,_0x36fb5b=0x0,_0x3f93aa=0x0;_0x2a42bd=_0x36fb5b=_0x3f93aa=Math[_0x5ec673(0xde)](_0x318f1d,_0x5b3a02/0x2,_0x1eabd0/0x2),_0x5c3202[_0x5ec673(0x21a)](),_0x5c3202[_0x5ec673(0x1ee)](_0x2a42bd,0x0),_0x5c3202[_0x5ec673(0x181)](_0x5b3a02-_0x36fb5b,0x0),_0x5c3202['arc'](_0x5b3a02-_0x36fb5b,_0x36fb5b,_0x36fb5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x5c3202[_0x5ec673(0x181)](_0x5b3a02,_0x1eabd0-_0x3f93aa),_0x5c3202['arc'](_0x5b3a02-_0x3f93aa,_0x1eabd0-_0x3f93aa,_0x3f93aa,0x0,Math['PI']/0x2,!0x1),_0x5c3202[_0x5ec673(0x181)](0x0,_0x1eabd0),_0x5c3202[_0x5ec673(0x181)](0x0,_0x2a42bd),_0x5c3202['arc'](_0x2a42bd,_0x2a42bd,_0x2a42bd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5c3202[_0x5ec673(0x12c)](),_0x589cd6[_0x5ec673(0x1e8)]&&(_0x5c3202['save'](),_0x5c3202[_0x5ec673(0xc8)]=_0x589cd6[_0x5ec673(0x1e8)],_0x589cd6['fillRule']===_0x5ec673(0x242)?_0x5c3202[_0x5ec673(0x1e8)](_0x5ec673(0x242)):_0x5c3202[_0x5ec673(0x1e8)](),_0x5c3202[_0x5ec673(0x316)]());}class _0x3bf2fe extends _0x1083d9[_0x4a378c(0x20e)]{constructor(_0x52ddcd,_0x1e0b12){const _0x444b0f=_0x4a378c;super(_0x52ddcd,_0x1e0b12),_0x1fd125(this,_0x444b0f(0x128)),_0x1fd125(this,'text'),(this[_0x444b0f(0x128)]=_0x1e0b12==null?void 0x0:_0x1e0b12[_0x444b0f(0x128)],this['text']=_0x1e0b12==null?void 0x0:_0x1e0b12['text']);}static[_0x4a378c(0x17d)](_0x4b4e4e,_0x10e9ce){const _0x2d9ac4=_0x4a378c,{text:_0x2de3f2,color:_0x4398f4}=_0x10e9ce;_0x4b4e4e[_0x2d9ac4(0x2f8)](),_0x4b4e4e['font']=_0x2d9ac4(0xca);const _0x4f5a74=_0x4b4e4e[_0x2d9ac4(0x2fb)](_0x2de3f2)[_0x2d9ac4(0xa0)],_0x5cabcb=Math[_0x2d9ac4(0xde)](_0x4f5a74+0x2*_0x3fb027,_0x316a12);_0x277395(_0x4b4e4e,{'height':_0x41722c,'radius':0x4,'width':_0x5cabcb,'fill':_0x4398f4}),_0x4b4e4e[_0x2d9ac4(0xc8)]=_0x2d9ac4(0x12b);const _0xf4bac1=_0x3fb027,_0x46a433=_0x41722c-_0x33f8af,_0x44b956=_0x316a12-0x2*_0x3fb027;if(_0x4f5a74>_0x44b956){let _0x31336d='',_0x2d364e=0x0;for(const _0x4dfcc8 of _0x2de3f2){const _0x4b00a6=_0x4b4e4e[_0x2d9ac4(0x2fb)](_0x4dfcc8)['width'];if(_0x2d364e+_0x4b00a6<=_0x44b956-_0x4b4e4e['measureText']('...')['width'])_0x31336d+=_0x4dfcc8,_0x2d364e+=_0x4b00a6;else{_0x31336d+=_0x2d9ac4(0x315);break;}}_0x4b4e4e[_0x2d9ac4(0x204)](_0x31336d,_0xf4bac1,_0x46a433);}else _0x4b4e4e[_0x2d9ac4(0x204)](_0x2de3f2,_0xf4bac1,_0x46a433);_0x4b4e4e[_0x2d9ac4(0x316)]();}[_0x4a378c(0xe4)](_0x25a6fd){_0x3bf2fe['drawWith'](_0x25a6fd,this);}}const _0x23c4c0=_0x4a378c(0xc4),_0x32fc39=_0x4a378c(0x23e),_0x2f11bf=_0x4a378c(0xe9),_0x1ed165=0x6,_0x15e8e0=1.5,_0x119a92=0x4,_0x2f30d6=1.5,_0x125258='rgba(255,\x20255,\x20255,\x200.01)';class _0x37c97b{constructor(_0x4bc8ef,_0x829db1,_0x1b3a0c,_0x5d544c){const _0xb61667=_0x4a378c;_0x1fd125(this,_0xb61667(0x1b1),[]),_0x1fd125(this,_0xb61667(0x22b),null),_0x1fd125(this,_0xb61667(0x2f4),null),_0x1fd125(this,_0xb61667(0x24d),null),_0x1fd125(this,_0xb61667(0x271),null),_0x1fd125(this,_0xb61667(0x1bb),null),(this[_0xb61667(0x16e)]=_0x4bc8ef,this['_scene']=_0x829db1,this['_docSkeleton']=_0x1b3a0c,this['_document']=_0x5d544c,this['_render']());}set[_0x4a378c(0x98)](_0x411783){const _0x161656=_0x4a378c;_0x411783?(this[_0x161656(0x24d)]&&this[_0x161656(0x24d)][_0x161656(0x144)](),this[_0x161656(0x2f4)]&&this['_textBubble']['show']()):(this[_0x161656(0x24d)]&&this[_0x161656(0x24d)][_0x161656(0x9e)](),this[_0x161656(0x2f4)]&&this[_0x161656(0x2f4)][_0x161656(0x144)]());}['dispose'](){const _0x343e08=_0x4a378c;for(const _0x35a873 of this[_0x343e08(0x1b1)])_0x35a873[_0x343e08(0x303)]();this[_0x343e08(0x2f4)]&&this[_0x343e08(0x2f4)][_0x343e08(0x303)](),this['_anchorDot']&&this[_0x343e08(0x24d)][_0x343e08(0x303)](),this[_0x343e08(0x22b)]&&this[_0x343e08(0x22b)][_0x343e08(0x303)](),this[_0x343e08(0x1bb)]&&this[_0x343e08(0x1bb)]();}[_0x4a378c(0xb6)](){const _0xfb907b=_0x4a378c;var _0x1f9737;const {_docSkeleton:_0x1a1bab,_document:_0x3bca8b}=this,{color:_0x5b9314,name:_0x1412db,ranges:_0x26b7ee}=this[_0xfb907b(0x16e)],_0xd8c67=_0x3bca8b[_0xfb907b(0x156)](),{docsLeft:_0x536b98,docsTop:_0x1df7c1}=_0xd8c67,_0x1d25e5=new _0x560a64[(_0xfb907b(0x2d0))](_0xd8c67,_0x1a1bab);for(const {startOffset:_0x122d23,endOffset:_0x25cba3,rangeType:_0x3a484f,segmentId:_0x5d6443,segmentPage:_0x5db1f8,collapsed:_0x2d3197,isActive:_0x48441c}of _0x26b7ee){const _0x1d700c=_0x1a1bab[_0xfb907b(0x185)](_0x122d23,!0x0,_0x5d6443,_0x5db1f8);let _0xa85592=_0x1a1bab[_0xfb907b(0x185)](_0x25cba3,!0x0,_0x5d6443,_0x5db1f8);if(_0xa85592==null&&(_0xa85592=_0x1a1bab[_0xfb907b(0x185)](_0x25cba3-0x1,!0x1,_0x5d6443,_0x5db1f8)),_0x48441c){const {contentBoxPointGroup:_0x5f3a1a}=_0x1d25e5[_0xfb907b(0x126)](_0xa85592,_0xa85592);if(_0x5f3a1a[_0xfb907b(0x228)]===0x0)continue;this[_0xfb907b(0x18b)](_0x5b9314,_0x5f3a1a,_0x536b98,_0x1df7c1,_0x1412db),this[_0xfb907b(0x1bb)]=this[_0xfb907b(0x25a)]();}if(_0x1d700c&&_0xa85592){if(_0x3a484f===_0x50b35f[_0xfb907b(0x309)][_0xfb907b(0x2b2)]){const _0x1384f9=new _0x560a64['NodePositionConvertToRectRange'](_0xd8c67,_0x1a1bab),{pointGroup:_0x2a9874}=(_0x1f9737=_0x1384f9[_0xfb907b(0x126)](_0x1d700c,_0xa85592))!=null?_0x1f9737:{};if(_0x2a9874==null||_0x2a9874['length']===0x0)continue;this[_0xfb907b(0x110)](_0x5b9314,_0x2a9874,_0x536b98,_0x1df7c1);}else{if(!_0x2d3197){const {borderBoxPointGroup:_0x3371bb}=_0x1d25e5[_0xfb907b(0x126)](_0x1d700c,_0xa85592);if(_0x3371bb[_0xfb907b(0x228)]===0x0)continue;this['_drawTextRange'](_0x5b9314,_0x3371bb,_0x536b98,_0x1df7c1);}}}}}[_0x4a378c(0x18b)](_0x58e6e9,_0x3d1781,_0x16769a,_0x56c1f4,_0x58fd38){const _0x28a5a5=_0x4a378c,_0x2542a3=this['_getAnchorBounding'](_0x3d1781),{left:_0x271013,top:_0x426d6b,height:_0xfa6af7}=_0x2542a3,_0x3fda20=this[_0x28a5a5(0x1b8)](),_0xf03624=_0x2f30d6/_0x3fda20,_0x4d0275=new _0x1083d9[(_0x28a5a5(0x1c9))](_0x23c4c0+_0x50b35f[_0x28a5a5(0x2af)]['generateRandomId'](_0x1ed165),{'left':_0x271013+_0x16769a-_0xf03624,'top':_0x426d6b+_0x56c1f4,'height':_0xfa6af7,'width':_0x15e8e0,'fill':_0x58e6e9||_0x1083d9[_0x28a5a5(0x11b)](_0x50b35f[_0x28a5a5(0x95)][_0x28a5a5(0x260)],0x0),'strokeWidth':_0xf03624,'stroke':_0x125258,'evented':!0x0});this[_0x28a5a5(0x22b)]=_0x4d0275,this[_0x28a5a5(0x2ba)][_0x28a5a5(0x2c7)](_0x4d0275,_0x560a64[_0x28a5a5(0x2ae)]);const _0x45889e=new _0x1083d9['Rect'](_0x23c4c0+_0x50b35f['Tools'][_0x28a5a5(0x1b2)](_0x1ed165),{'left':_0x271013+_0x16769a-_0xf03624,'top':_0x426d6b+_0x56c1f4-_0x119a92/0x2,'height':_0x119a92,'width':_0x119a92,'fill':_0x58e6e9||_0x1083d9['getColor'](_0x50b35f[_0x28a5a5(0x95)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x58e6e9||_0x1083d9[_0x28a5a5(0x11b)](_0x50b35f['COLORS']['black'],0x0),'evented':!0x1});this[_0x28a5a5(0x24d)]=_0x45889e,this[_0x28a5a5(0x2ba)][_0x28a5a5(0x2c7)](_0x45889e,_0x560a64[_0x28a5a5(0x2ae)]);const _0x377eec=new _0x3bf2fe(_0x23c4c0+_0x50b35f[_0x28a5a5(0x2af)][_0x28a5a5(0x1b2)](_0x1ed165),{'left':_0x271013+_0x16769a-_0xf03624,'top':_0x426d6b+_0x56c1f4-_0x41722c,'text':_0x58fd38,'color':_0x58e6e9});this['_textBubble']=_0x377eec,this[_0x28a5a5(0x2ba)][_0x28a5a5(0x2c7)](_0x377eec,_0x560a64[_0x28a5a5(0x2ae)]),this[_0x28a5a5(0x98)]=!0x1;}[_0x4a378c(0x25a)](){const _0x5307cc=_0x4a378c,_0x575ebb=this[_0x5307cc(0x22b)][_0x5307cc(0xae)][_0x5307cc(0x2f6)](()=>{this['_hover']=!0x0;}),_0x411b27=this['_anchor'][_0x5307cc(0x19b)][_0x5307cc(0x2f6)](()=>{const _0x1610d5=_0x5307cc;this[_0x1610d5(0x271)]&&clearTimeout(this[_0x1610d5(0x271)]),this[_0x1610d5(0x271)]=setTimeout(()=>{const _0x2cc9b4=_0x1610d5;this[_0x2cc9b4(0x98)]=!0x1;},0x7d0);});return()=>{const _0x49e7b6=_0x5307cc;_0x575ebb[_0x49e7b6(0x134)](),_0x411b27[_0x49e7b6(0x134)]();};}[_0x4a378c(0x15e)](_0xbf2407,_0x14d93d,_0x180840,_0x3427e7){const _0x33efc0=_0x4a378c,_0x738d8f=new _0x50b35f[(_0x33efc0(0xb3))](_0xbf2407)['setAlpha'](0.2)[_0x33efc0(0x31f)](),_0xf7e7a7=new _0x1083d9[(_0x33efc0(0x314))](_0x32fc39+_0x50b35f[_0x33efc0(0x2af)][_0x33efc0(0x1b2)](_0x1ed165),{'pointsGroup':_0x14d93d,'fill':_0x738d8f||_0x1083d9[_0x33efc0(0x11b)](_0x50b35f[_0x33efc0(0x95)][_0x33efc0(0x260)],0.2),'left':_0x180840,'top':_0x3427e7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x33efc0(0x1b1)][_0x33efc0(0x9a)](_0xf7e7a7),this[_0x33efc0(0x2ba)]['addObject'](_0xf7e7a7,_0x560a64[_0x33efc0(0x2ae)]);}['_drawRectRange'](_0x5656f2,_0x4f7cfd,_0x3508cf,_0x257965){const _0x15bc53=_0x4a378c,_0x5b0037=new _0x50b35f['ColorKit'](_0x5656f2)['setAlpha'](0.2)['toRgbString'](),_0x2615d7=new _0x1083d9[(_0x15bc53(0x314))](_0x2f11bf+_0x50b35f[_0x15bc53(0x2af)][_0x15bc53(0x1b2)](_0x1ed165),{'pointsGroup':_0x4f7cfd,'fill':_0x5b0037||_0x1083d9['getColor'](_0x50b35f[_0x15bc53(0x95)][_0x15bc53(0x260)],0.2),'left':_0x3508cf,'top':_0x257965,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x15bc53(0x9a)](_0x2615d7),this[_0x15bc53(0x2ba)]['addObject'](_0x2615d7,_0x560a64[_0x15bc53(0x2ae)]);}['_getAnchorBounding'](_0x54b8a4){const _0x4d99fb=_0x54b8a4[0x0],_0x56d9e4=_0x4d99fb[0x0],_0x2bf10c=_0x4d99fb[0x2],{x:_0x2c3a59,y:_0x19ce31}=_0x56d9e4,{x:_0x2fa20f,y:_0x17b8e2}=_0x2bf10c;return{'left':_0x2c3a59,'top':_0x19ce31,'width':_0x2fa20f-_0x2c3a59,'height':_0x17b8e2-_0x19ce31};}[_0x4a378c(0x1b8)](){const _0x32f653=_0x4a378c,{scaleX:_0x362609,scaleY:_0x277260}=this['_scene'][_0x32f653(0x2e0)]();return Math['max'](_0x362609,_0x277260);}}var _0x45cffe=Object[_0x4a378c(0x17c)],_0x51f5ea=(_0x194b18,_0x4057ed,_0x139de7,_0x137e09)=>{const _0x1d9219=_0x4a378c;for(var _0x45895c=_0x137e09>0x1?void 0x0:_0x137e09?_0x45cffe(_0x4057ed,_0x139de7):_0x4057ed,_0x560226=_0x194b18[_0x1d9219(0x228)]-0x1,_0x132f1f;_0x560226>=0x0;_0x560226--)(_0x132f1f=_0x194b18[_0x560226])&&(_0x45895c=_0x132f1f(_0x45895c)||_0x45895c);return _0x45895c;},_0x55d3ac=(_0xb3236e,_0x43f3ea)=>(_0x41e3ff,_0x186c21)=>_0x43f3ea(_0x41e3ff,_0x186c21,_0xb3236e);let _0x20a382=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x2b2011,_0x2a5e79,_0x4bb4fb,_0x1cfadc,_0x5630cf){const _0x49a3ea=_0x4a378c;super(),_0x1fd125(this,_0x49a3ea(0x1f5),[]),_0x1fd125(this,_0x49a3ea(0x2b1),[]),(this[_0x49a3ea(0x1b9)]=_0x2b2011,this[_0x49a3ea(0x2d9)]=_0x2a5e79,this[_0x49a3ea(0x130)]=_0x4bb4fb,this[_0x49a3ea(0x28f)]=_0x1cfadc,this[_0x49a3ea(0x1b6)]=_0x5630cf,this['_init']());}['_init'](){const _0x5db986=_0x4a378c,_0x250291=this[_0x5db986(0x1b9)][_0x5db986(0x264)],_0x550834=this['_docSkeletonManagerService'];this[_0x5db986(0x9f)](_0x342ed2[_0x5db986(0x137)]([this[_0x5db986(0x130)][_0x5db986(0xab)](_0x250291),this[_0x5db986(0x1b6)][_0x5db986(0x2c4)]])['pipe'](_0x55319e[_0x5db986(0x211)](([_0x3bf51a,_0xd38bf6])=>({'skeleton':_0x550834[_0x5db986(0x178)](),'cursors':[..._0x3bf51a[_0x5db986(0x2e8)]()][_0x5db986(0xea)](_0x4701b1=>({..._0x4701b1,'color':_0xd38bf6[_0x4701b1[_0x5db986(0x128)]]}))})))[_0x5db986(0x1a5)](_0x2f0440=>{const _0x5ac4dc=_0x5db986;if(this[_0x5ac4dc(0x1a1)](),_0x2f0440){const {skeleton:_0x193fdf,cursors:_0x2f2855}=_0x2f0440;this[_0x5ac4dc(0xc3)](_0x193fdf,_0x2f2855);}})),this[_0x5db986(0x15d)](),this[_0x5db986(0x319)]();}[_0x4a378c(0xc3)](_0x1b1252,_0xf928de){const _0x2e5dcd=_0x4a378c,{scene:_0x3a37c1,mainComponent:_0x39bdcf}=this[_0x2e5dcd(0x1b9)],_0x5142b8=_0xf928de[_0x2e5dcd(0x211)](_0x35de56=>new _0x37c97b(_0x35de56,_0x3a37c1,_0x1b1252,_0x39bdcf));this[_0x2e5dcd(0x1f5)]=_0x5142b8,this[_0x2e5dcd(0x2b1)]=_0xf928de;}[_0x4a378c(0x2a2)](){const _0x24509a=_0x4a378c;this[_0x24509a(0x1a1)]();const {scene:_0x1f71be,mainComponent:_0x572e6b}=this[_0x24509a(0x1b9)],_0x159c77=this[_0x24509a(0x2d9)][_0x24509a(0x178)](),_0x1714cf=this[_0x24509a(0x2b1)][_0x24509a(0x211)](_0x8b6e9=>new _0x37c97b(_0x8b6e9,_0x1f71be,_0x159c77,_0x572e6b));this[_0x24509a(0x1f5)]=_0x1714cf;}[_0x4a378c(0x1a1)](){const _0x342780=_0x4a378c;this['_cursorShapes'][_0x342780(0xe5)](_0x29c639=>_0x29c639[_0x342780(0x303)]()),this[_0x342780(0x1f5)]=[];}[_0x4a378c(0x319)](){const _0x4c11e7=_0x4a378c,_0x9933b6=[_0x560a64[_0x4c11e7(0x18d)]['id']];this[_0x4c11e7(0x9f)](this[_0x4c11e7(0x28f)][_0x4c11e7(0x16c)](_0x5a7b0d=>{const _0x5a90ba=_0x4c11e7;_0x9933b6[_0x5a90ba(0x13e)](_0x5a7b0d['id'])&&_0x5a7b0d[_0x5a90ba(0x196)][_0x5a90ba(0x264)]===this[_0x5a90ba(0x1b9)][_0x5a90ba(0x264)]&&this[_0x5a90ba(0x2a2)]();}));}[_0x4a378c(0x15d)](){const _0x2a36c6=_0x4a378c;this[_0x2a36c6(0x9f)](_0x50b35f[_0x2a36c6(0x17b)](this[_0x2a36c6(0x1b9)][_0x2a36c6(0x171)][_0x2a36c6(0x1a3)])['pipe'](_0x55319e[_0x2a36c6(0x2b8)](_0x3e00f2=>_0x3e00f2[_0x2a36c6(0xfc)]===_0x1083d9[_0x2a36c6(0x2b9)]['resize']),_0x55319e[_0x2a36c6(0x12f)](0x10))[_0x2a36c6(0x1a5)](()=>{const _0x4d3d78=_0x2a36c6;this[_0x4d3d78(0x2a2)]();}));}};_0x20a382=_0x51f5ea([_0x55d3ac(0x1,_0x50b35f[_0x4a378c(0x135)](_0xa2e49e[_0x4a378c(0xf6)])),_0x55d3ac(0x2,_0x50b35f[_0x4a378c(0x135)](_0x4f68d5)),_0x55d3ac(0x3,_0x50b35f['ICommandService']),_0x55d3ac(0x4,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x16d)]))],_0x20a382);const _0x1eedaa=0x1,_0x4bdf26=1.5;class _0x1376ff extends _0x1083d9['Shape']{constructor(_0x41b3cc,_0xcc76f4){const _0x47d18d=_0x4a378c;super(_0x41b3cc,_0xcc76f4),_0x1fd125(this,_0x47d18d(0xaa)),_0x1fd125(this,_0x47d18d(0x1f0),!0x1),_0x1fd125(this,_0x47d18d(0x26d)),_0x1fd125(this,_0x47d18d(0x100),''),_0x1fd125(this,_0x47d18d(0x307),_0x47d18d(0xbe)),_0x1fd125(this,_0x47d18d(0x1d9)),(_0xcc76f4&&this[_0x47d18d(0x244)](_0xcc76f4),this[_0x47d18d(0xae)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x47d18d(0x19b)][_0x47d18d(0x2f6)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x11a660){const _0x300153=_0x4a378c;var _0x15b7e2,_0x2a4655,_0x29cf48,_0x5ee542,_0x32a77b,_0x4ef22c;this[_0x300153(0xaa)]=(_0x15b7e2=_0x11a660[_0x300153(0x128)])!=null?_0x15b7e2:this[_0x300153(0xaa)],this[_0x300153(0x1f0)]=(_0x2a4655=_0x11a660[_0x300153(0x2d6)])!=null?_0x2a4655:this[_0x300153(0x1f0)],this[_0x300153(0x26d)]=(_0x29cf48=_0x11a660[_0x300153(0x1e2)])!=null?_0x29cf48:this[_0x300153(0x26d)],this[_0x300153(0x100)]=(_0x5ee542=_0x11a660[_0x300153(0xc0)])!=null?_0x5ee542:this[_0x300153(0x100)],this[_0x300153(0x307)]=(_0x32a77b=_0x11a660[_0x300153(0x208)])!=null?_0x32a77b:this[_0x300153(0x307)],this['_backgroundColor']=(_0x4ef22c=_0x11a660['backgroundColor'])!=null?_0x4ef22c:this[_0x300153(0x1d9)],this['transformByState']({'width':_0x11a660['width'],'height':_0x11a660[_0x300153(0x114)]});}[_0x4a378c(0x243)](_0x326ac9){const _0x12ab92=_0x4a378c,{row:_0x47a9a5,column:_0x2be9ea}=_0x326ac9;if(_0x47a9a5>=this[_0x12ab92(0x26d)][_0x12ab92(0x321)]&&_0x47a9a5<=this[_0x12ab92(0x26d)]['endRow']&&_0x2be9ea>=this['_range']['startColumn']&&_0x2be9ea<=this[_0x12ab92(0x26d)][_0x12ab92(0x22e)]){this[_0x12ab92(0x244)]({'hovered':!0x0});return;}this[_0x12ab92(0x244)]({'hovered':!0x1});}[_0x4a378c(0xd0)](_0x51772a){return!0x1;}[_0x4a378c(0xe4)](_0x549ccc){const _0x1ad207=_0x4a378c;_0x1083d9['Rect'][_0x1ad207(0x17d)](_0x549ccc,{'width':this[_0x1ad207(0xa0)],'height':this[_0x1ad207(0x114)],'strokeWidth':_0x4bdf26,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1ad207(0x1d9)]}),this[_0x1ad207(0x1f0)]&&(_0x549ccc['save'](),_0x549ccc[_0x1ad207(0x327)](0x1,0x0,0x0,0x1,this[_0x1ad207(0xa0)],this['_labelPosition']===_0x1ad207(0xad)?0x0:-0x14),_0x3bf2fe['drawWith'](_0x549ccc,{'text':this[_0x1ad207(0x100)],'color':this[_0x1ad207(0xaa)]}),_0x549ccc[_0x1ad207(0x316)]());}}var _0x4c8b31=Object[_0x4a378c(0x17c)],_0x16fafe=(_0x78c4f7,_0x44679a,_0x3671ef,_0x3f7c66)=>{for(var _0x5fbafb=_0x3f7c66>0x1?void 0x0:_0x3f7c66?_0x4c8b31(_0x44679a,_0x3671ef):_0x44679a,_0x59d3e5=_0x78c4f7['length']-0x1,_0x2e39ad;_0x59d3e5>=0x0;_0x59d3e5--)(_0x2e39ad=_0x78c4f7[_0x59d3e5])&&(_0x5fbafb=_0x2e39ad(_0x5fbafb)||_0x5fbafb);return _0x5fbafb;},_0x30601c=(_0x23210a,_0x4e3ff6)=>(_0x2625d5,_0x47c984)=>_0x4e3ff6(_0x2625d5,_0x47c984,_0x23210a);const _0x1abedf=0x1389;let _0x244b2c=class extends _0x50b35f['RxDisposable']{constructor(_0x3147e5,_0x205e49,_0x5d3fc9,_0xc78c48){const _0x514362=_0x4a378c;super(),_0x1fd125(this,_0x514362(0x2b1),new Set()),_0x1fd125(this,'_lastPointer',null),(this[_0x514362(0x1b9)]=_0x3147e5,this['_sheetSkeletonManagerService']=_0x205e49,this[_0x514362(0x130)]=_0x5d3fc9,this[_0x514362(0x1b6)]=_0xc78c48,this[_0x514362(0x21e)]());}[_0x4a378c(0x21e)](){const _0x6eecb7=_0x4a378c;this[_0x6eecb7(0xd4)]['currentSkeleton$'][_0x6eecb7(0x24e)](_0x55319e[_0x6eecb7(0x2fa)](this[_0x6eecb7(0x25b)]),_0x55319e[_0x6eecb7(0x1c7)](_0x43380b=>{const _0x114453=_0x6eecb7;if(_0x43380b){const _0x527234=_0x43380b[_0x114453(0x192)];return _0x342ed2['combineLatest'](this[_0x114453(0x130)]['getCollabCursors$'](this['_context'][_0x114453(0x264)]),this['_themeService'][_0x114453(0x2c4)])[_0x114453(0x24e)](_0x55319e['map'](([_0x1f5c4d,_0x8282ea])=>{const _0x233560=_0x114453,_0x4f4c8a=new Map();return _0x1f5c4d[_0x233560(0xe5)]((_0x5e4bfa,_0x476a82)=>{const _0xe2dd6e=_0x233560;if(_0x5e4bfa['sheetID']===_0x527234){const _0x1fec05={..._0x5e4bfa};_0x1fec05[_0xe2dd6e(0x128)]=_0x8282ea[_0x5e4bfa['color']],_0x4f4c8a[_0xe2dd6e(0x1fd)](_0x476a82,_0x1fec05);}}),{'skeleton':_0x43380b,'cursors':_0x4f4c8a};}));}return _0x342ed2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3f333d,cursors:_0x25af5e})=>{const _0x12bdb8=_0x6eecb7;this[_0x12bdb8(0x1a1)](),_0x3f333d&&this[_0x12bdb8(0xc3)](_0x3f333d,_0x25af5e);}),this[_0x6eecb7(0xd4)]['currentSkeleton$']['subscribe'](_0xd6e3f6=>{const _0x57de4e=_0x6eecb7;if(_0xd6e3f6==null)return;const {skeleton:_0x342ebe}=_0xd6e3f6,{scene:_0x27958c}=this['_context'];_0x27958c[_0x57de4e(0x2d3)][_0x57de4e(0x2f6)](_0x50b35f[_0x57de4e(0x112)](_0xc023a2=>{const _0x41b198=_0x57de4e;var _0x3bbb29,_0x515681;const {offsetX:_0x161e8e,offsetY:_0x11148c}=_0xc023a2,{x:_0x319f5e,y:_0x46b2a1}=_0x27958c[_0x41b198(0x2ec)](_0x1083d9[_0x41b198(0x191)]['FromArray']([_0x161e8e,_0x11148c])),{scaleX:_0x3411f5,scaleY:_0x2310a6}=_0x27958c[_0x41b198(0x2e0)](),_0xa6ba67=_0x27958c['getViewport'](_0x1083d9[_0x41b198(0x24c)][_0x41b198(0x296)]),_0x19e2ca=_0x27958c[_0x41b198(0x11e)](_0x1083d9[_0x41b198(0x191)][_0x41b198(0x1d8)]([_0x319f5e,_0x46b2a1]),_0xa6ba67),_0x2ebc2e=_0x342ebe[_0x41b198(0x1ae)](_0x161e8e,_0x11148c,_0x3411f5,_0x2310a6,_0x19e2ca);((_0x3bbb29=this['_lastPointer'])==null?void 0x0:_0x3bbb29[_0x41b198(0x19c)])===_0x2ebc2e[_0x41b198(0x19c)]&&((_0x515681=this[_0x41b198(0x2d8)])==null?void 0x0:_0x515681['row'])===_0x2ebc2e[_0x41b198(0x23b)]||this[_0x41b198(0x2b1)][_0x41b198(0xe5)](_0x5bb50e=>{_0x5bb50e['onMouseMove'](_0x2ebc2e);});},0x64));});}[_0x4a378c(0xc3)](_0x420dd0,_0x708277){const _0x246797=_0x4a378c;var _0x57c9a4;const _0x8e2561=(_0x57c9a4=this['_sheetSkeletonManagerService'][_0x246797(0x10b)]())==null?void 0x0:_0x57c9a4[_0x246797(0x27c)];if(!_0x8e2561)return;const _0x598bf1=this[_0x246797(0x32a)]();if(!_0x598bf1)return;this[_0x246797(0x2b1)]['forEach'](_0x45eca1=>{const _0x95ff58=_0x246797;_0x45eca1[_0x95ff58(0x2ac)]();});const {scene:_0x2fc478}=_0x598bf1,_0x2fcad5=_0x23da29(Array['from'](_0x708277[_0x246797(0x2e8)]()))[_0x246797(0x211)](_0x5cf207=>{const _0x2e077c=_0x246797,{color:_0x213023,range:_0x1229cc,name:_0x552c57,selection:_0x3c1598,sheetID:_0x5d0de7}=_0x5cf207,{startColumn:_0x39c936,startRow:_0x4acab7,endColumn:_0x3d0ac7,endRow:_0x5658f9}=_0x1229cc,_0x424379=_0x1b149c[_0x2e077c(0x301)](_0x4acab7,_0x39c936,_0x2fc478,_0x8e2561),_0x4a7044=_0x1b149c[_0x2e077c(0x301)](_0x5658f9,_0x3d0ac7,_0x2fc478,_0x8e2561),{columnHeaderHeightAndMarginTop:_0x6c36b5}=_0x8e2561,{startX:_0xacdaed,startY:_0x41dd73}=_0x424379,{endX:_0x55370c,endY:_0x16e3e1}=_0x4a7044,_0x52e736=_0x55370c-_0xacdaed,_0x460725=_0x16e3e1-_0x41dd73,_0x530518={'labelPosition':_0x41dd73-_0x6c36b5>=_0x41722c?_0x2e077c(0xbe):_0x2e077c(0xad),'sheetID':_0x5d0de7,'range':_0x1229cc,'color':_0x213023,'name':_0x552c57,'selection':_0x3c1598,'left':_0xacdaed,'top':_0x41dd73,'width':_0x52e736,'height':_0x460725,'evented':!0x1,'zIndex':_0x1abedf};return new _0x1376ff(_0x552c57,_0x530518);});_0x2fc478[_0x246797(0x2cb)](_0x2fcad5,_0x1eedaa),this['_cursors']=new Set(_0x2fcad5);}['_removeCollabCursors'](){const _0x6bf1f7=_0x4a378c;var _0x59ddde;(_0x59ddde=this[_0x6bf1f7(0x2b1)])==null||_0x59ddde[_0x6bf1f7(0xe5)](_0xb2c243=>_0xb2c243[_0x6bf1f7(0x303)]());}[_0x4a378c(0x32a)](){const _0x514329=_0x4a378c;return _0x1b149c[_0x514329(0xbb)](this[_0x514329(0x1b9)]['unit'],this['_context']);}};_0x244b2c=_0x16fafe([_0x30601c(0x1,_0x50b35f[_0x4a378c(0x135)](_0x1b149c[_0x4a378c(0x221)])),_0x30601c(0x2,_0x50b35f[_0x4a378c(0x135)](_0x4f68d5)),_0x30601c(0x3,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x16d)]))],_0x244b2c);function _0x23da29(_0x5c56a5){const _0x36e0ec=_0x4a378c,_0x423498=new Map();return _0x5c56a5[_0x36e0ec(0xe5)](_0x453a7f=>{const _0x50d807=_0x36e0ec;if(_0x423498[_0x50d807(0x13a)](_0x453a7f[_0x50d807(0x108)])){const _0xe17e3b=_0x423498[_0x50d807(0x14f)](_0x453a7f[_0x50d807(0x108)]);_0xe17e3b['name']+=',\x20'+_0x453a7f[_0x50d807(0xc0)];}else _0x423498[_0x50d807(0x1fd)](_0x453a7f[_0x50d807(0x108)],_0x453a7f);}),Array[_0x36e0ec(0x23f)](_0x423498['values']());}var _0x34246b=function(){const _0x48b728=_0x4a378c;return _0x34246b=Object[_0x48b728(0x310)]||function(_0x484889){const _0x1afae8=_0x48b728;for(var _0x5843be,_0x5c04a3=0x1,_0x449078=arguments['length'];_0x5c04a3<_0x449078;_0x5c04a3++){_0x5843be=arguments[_0x5c04a3];for(var _0x6307c2 in _0x5843be)Object[_0x1afae8(0x25e)][_0x1afae8(0xe0)][_0x1afae8(0x1e5)](_0x5843be,_0x6307c2)&&(_0x484889[_0x6307c2]=_0x5843be[_0x6307c2]);}return _0x484889;},_0x34246b[_0x48b728(0xd6)](this,arguments);},_0x5f52f7=function(_0x38d958,_0xd9fc52){const _0x5e9c16=_0x4a378c;var _0x1a5254={};for(var _0x455adb in _0x38d958)Object['prototype'][_0x5e9c16(0xe0)][_0x5e9c16(0x1e5)](_0x38d958,_0x455adb)&&_0xd9fc52[_0x5e9c16(0x1fe)](_0x455adb)<0x0&&(_0x1a5254[_0x455adb]=_0x38d958[_0x455adb]);if(_0x38d958!=null&&typeof Object['getOwnPropertySymbols']==_0x5e9c16(0x184)){for(var _0xb75628=0x0,_0x455adb=Object['getOwnPropertySymbols'](_0x38d958);_0xb75628<_0x455adb[_0x5e9c16(0x228)];_0xb75628++)_0xd9fc52[_0x5e9c16(0x1fe)](_0x455adb[_0xb75628])<0x0&&Object['prototype'][_0x5e9c16(0x2c1)][_0x5e9c16(0x1e5)](_0x38d958,_0x455adb[_0xb75628])&&(_0x1a5254[_0x455adb[_0xb75628]]=_0x38d958[_0x455adb[_0xb75628]]);}return _0x1a5254;},_0x4a64ca=_0x265703[_0x4a378c(0x15b)](function(_0x1ef7cc,_0x373dd8){const _0x282d6e=_0x4a378c;var _0x51d87b=_0x1ef7cc['icon'],_0x3ed5e9=_0x1ef7cc['id'],_0x535f55=_0x1ef7cc[_0x282d6e(0xb5)],_0x3268d0=_0x1ef7cc[_0x282d6e(0x2a4)],_0x1ae69a=_0x5f52f7(_0x1ef7cc,[_0x282d6e(0x252),'id',_0x282d6e(0xb5),_0x282d6e(0x2a4)]),_0x47ec71=_0x282d6e(0xc6)[_0x282d6e(0xdf)](_0x3ed5e9,'\x20')[_0x282d6e(0xdf)](_0x535f55||'')[_0x282d6e(0x99)](),_0x378272=_0x265703['useRef']('_'['concat'](_0x2420a1()));return _0x52b0ea(_0x51d87b,''[_0x282d6e(0xdf)](_0x3ed5e9),{'defIds':_0x51d87b[_0x282d6e(0x230)],'idSuffix':_0x378272[_0x282d6e(0x328)]},_0x34246b({'ref':_0x373dd8,'className':_0x47ec71},_0x1ae69a),_0x3268d0);});function _0x52b0ea(_0x1561ca,_0x20409e,_0xbdaf9d,_0x5f13f6,_0xf3b4a8){const _0xbdd27c=_0x4a378c;return _0x265703[_0xbdd27c(0xf7)](_0x1561ca['tag'],_0x34246b(_0x34246b({'key':_0x20409e},_0x1fbf41(_0x1561ca,_0xbdaf9d,_0xf3b4a8)),_0x5f13f6),(_0x3b5a16(_0x1561ca,_0xbdaf9d)[_0xbdd27c(0x324)]||[])[_0xbdd27c(0x211)](function(_0x97eb4f,_0x2eda42){const _0x2d190c=_0xbdd27c;return _0x52b0ea(_0x97eb4f,''[_0x2d190c(0xdf)](_0x20409e,'-')[_0x2d190c(0xdf)](_0x1561ca['tag'],'-')['concat'](_0x2eda42),_0xbdaf9d,void 0x0,_0xf3b4a8);}));}function _0x1fbf41(_0x3f6135,_0x4d3270,_0x5b48a9){const _0x49e43a=_0x4a378c;var _0x3a929e=_0x34246b({},_0x3f6135[_0x49e43a(0x269)]);_0x5b48a9!=null&&_0x5b48a9[_0x49e43a(0xf2)]&&_0x3a929e[_0x49e43a(0x1e8)]===_0x49e43a(0xf2)&&(_0x3a929e[_0x49e43a(0x1e8)]=_0x5b48a9[_0x49e43a(0xf2)]),_0x3f6135[_0x49e43a(0x187)]===_0x49e43a(0xc7)&&_0x3a929e['id']&&(_0x3a929e['id']=_0x3a929e['id']+_0x4d3270[_0x49e43a(0x219)]),Object['entries'](_0x3a929e)[_0x49e43a(0xe5)](function(_0x30ca3d){const _0x56d51a=_0x49e43a;var _0x48f4eb=_0x30ca3d[0x0],_0x6d2ecb=_0x30ca3d[0x1];_0x48f4eb==='mask'&&typeof _0x6d2ecb=='string'&&(_0x3a929e[_0x48f4eb]=_0x6d2ecb['replace'](/url\(#(.*)\)/,_0x56d51a(0x236)[_0x56d51a(0xdf)](_0x4d3270[_0x56d51a(0x219)],')')));});var _0x2df18a=_0x4d3270[_0x49e43a(0x230)];return!_0x2df18a||_0x2df18a[_0x49e43a(0x228)]===0x0||(_0x3f6135[_0x49e43a(0x187)]===_0x49e43a(0x116)&&_0x3a929e[_0x49e43a(0x24a)]&&(_0x3a929e['xlink:href']=_0x3a929e[_0x49e43a(0x24a)]+_0x4d3270[_0x49e43a(0x219)]),Object[_0x49e43a(0x27b)](_0x3a929e)[_0x49e43a(0xe5)](function(_0x385f69){const _0x496ddc=_0x49e43a;var _0x4e5b01=_0x385f69[0x0],_0x1d0c8a=_0x385f69[0x1];typeof _0x1d0c8a==_0x496ddc(0x136)&&(_0x3a929e[_0x4e5b01]=_0x1d0c8a[_0x496ddc(0x16f)](/url\(#(.*)\)/,_0x496ddc(0x236)['concat'](_0x4d3270[_0x496ddc(0x219)],')')));})),_0x3a929e;}function _0x3b5a16(_0x313a4e,_0x24c9cb){const _0x2a73cc=_0x4a378c;var _0x3ab06b,_0x365e60=_0x24c9cb[_0x2a73cc(0x230)];return!_0x365e60||_0x365e60[_0x2a73cc(0x228)]===0x0?_0x313a4e:_0x313a4e['tag']===_0x2a73cc(0x155)&&(!((_0x3ab06b=_0x313a4e[_0x2a73cc(0x324)])===null||_0x3ab06b===void 0x0)&&_0x3ab06b[_0x2a73cc(0x228)])?_0x34246b(_0x34246b({},_0x313a4e),{'children':_0x313a4e[_0x2a73cc(0x324)]['map'](function(_0x166caa){const _0x41114f=_0x2a73cc;return typeof _0x166caa[_0x41114f(0x269)]['id']==_0x41114f(0x136)&&_0x365e60&&_0x365e60[_0x41114f(0x1fe)](_0x166caa[_0x41114f(0x269)]['id'])>-0x1?_0x34246b(_0x34246b({},_0x166caa),{'attrs':_0x34246b(_0x34246b({},_0x166caa['attrs']),{'id':_0x166caa[_0x41114f(0x269)]['id']+_0x24c9cb[_0x41114f(0x219)]})}):_0x166caa;})}):_0x313a4e;}function _0x2420a1(){const _0x2595b9=_0x4a378c;return Math[_0x2595b9(0xa2)]()[_0x2595b9(0x1f9)](0x24)[_0x2595b9(0x153)](0x2,0x8);}_0x4a64ca[_0x4a378c(0x26a)]=_0x4a378c(0x2b3);var _0x37248e={'tag':_0x4a378c(0x320),'attrs':{'fill':_0x4a378c(0x1fb),'viewBox':_0x4a378c(0x283),'width':_0x4a378c(0x121),'height':_0x4a378c(0x121)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a378c(0xe6)},'children':[{'tag':'path','attrs':{'stroke':_0x4a378c(0x11d),'d':_0x4a378c(0x2cf),'strokeLinecap':_0x4a378c(0x199),'strokeLinejoin':_0x4a378c(0x199),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a378c(0x210),'attrs':{'id':_0x4a378c(0xd5)},'children':[{'tag':_0x4a378c(0x2e1),'attrs':{'fill':_0x4a378c(0x28e),'d':_0x4a378c(0xbc)}}]}]}],'defIds':[_0x4a378c(0xd5)]},_0x3620c5=_0x265703['forwardRef'](function(_0x583dff,_0x114e53){const _0x2b59c7=_0x4a378c;return _0x265703[_0x2b59c7(0xf7)](_0x4a64ca,Object['assign']({},_0x583dff,{'id':_0x2b59c7(0x1f1),'ref':_0x114e53,'icon':_0x37248e}));});_0x3620c5['displayName']=_0x4a378c(0x220);var _0x5acb2f={'tag':_0x4a378c(0x320),'attrs':{'fill':_0x4a378c(0x1fb),'viewBox':'0\x200\x2017\x2016','width':_0x4a378c(0x121),'height':_0x4a378c(0x121)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a378c(0x9c)},'children':[{'tag':'path','attrs':{'stroke':_0x4a378c(0x11d),'d':_0x4a378c(0x9d),'strokeLinecap':_0x4a378c(0x199),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4a378c(0x155),'attrs':{},'children':[{'tag':_0x4a378c(0x210),'attrs':{'id':_0x4a378c(0x1a0)},'children':[{'tag':_0x4a378c(0x2e1),'attrs':{'fill':'#fff','d':_0x4a378c(0xbc),'transform':_0x4a378c(0x10c)}}]}]}],'defIds':[_0x4a378c(0x1a0)]},_0x56872d=_0x265703[_0x4a378c(0x15b)](function(_0x11fb61,_0x22a9ed){const _0x28152c=_0x4a378c;return _0x265703['createElement'](_0x4a64ca,Object[_0x28152c(0x310)]({},_0x11fb61,{'id':'on-line-single','ref':_0x22a9ed,'icon':_0x5acb2f}));});_0x56872d[_0x4a378c(0x26a)]='OnLineSingle';const _0x174a61={'onlineStatusIcon':_0x4a378c(0xf4),'onlineStatusTitle':_0x4a378c(0x2ab),'onlineStatus':_0x4a378c(0x273),'online':'univer-online','offline':_0x4a378c(0x229)};function _0x5000fd(_0x52ca39){const _0x380ec5=_0x4a378c;switch(_0x52ca39){case _0x550e9f['CollaborationStatus'][_0x380ec5(0xd9)]:return _0x380ec5(0x256);case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x152)]:return _0x380ec5(0xcb);case _0x550e9f[_0x380ec5(0x21c)]['FETCH_MISS']:return _0x380ec5(0xb2);case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x24b)]:return _0x380ec5(0x28d);case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x176)]:case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x1e4)]:return _0x380ec5(0x1e7);case _0x550e9f['CollaborationStatus'][_0x380ec5(0x30f)]:case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x1df)]:return'collabStatus.synced';}}function _0x51edff(_0xc076e3){const _0x1d777d=_0x4a378c,{status$:_0x3f125e}=_0xc076e3,_0x2d2a40=_0x2a4c6a[_0x1d777d(0x2de)](_0x3f125e,_0x550e9f[_0x1d777d(0x21c)]['NOT_COLLAB']),_0x38b432=_0x2a4c6a[_0x1d777d(0x143)](_0x50b35f[_0x1d777d(0x159)]),_0x5028c1=_0x2a4c6a[_0x1d777d(0x143)](_0x550e9f['CollaborationSessionService']),_0x5cd4bc=_0x2d2a40!==_0x550e9f[_0x1d777d(0x21c)]['OFFLINE'],_0x1e3f25=_0x38b432['t'](_0x5000fd(_0x2d2a40)),_0x4b730b=_0x2b5271[_0x1d777d(0xb8)](_0x174a61[_0x1d777d(0xc1)],{[_0x174a61['online']]:_0x5cd4bc,[_0x174a61[_0x1d777d(0x141)]]:!_0x5cd4bc}),_0x300bc2=_0x5cd4bc?_0xd0be2f[_0x1d777d(0x26b)](_0x56872d,{}):_0xd0be2f['jsx'](_0x3620c5,{}),_0x3815d8=_0x265703[_0x1d777d(0x2b7)](()=>{const _0x279ce1=_0x1d777d;_0x5cd4bc||_0x5028c1[_0x279ce1(0x103)]();},[_0x5cd4bc,_0x5028c1]);function _0x3c0a2f(){const _0x15862f=_0x1d777d;return _0xd0be2f[_0x15862f(0xf9)](_0x15862f(0x1e6),{'className':_0x2b5271[_0x15862f(0xb8)](_0x4b730b,_0x15862f(0xb7)),'onClick':_0x3815d8,'children':[_0xd0be2f[_0x15862f(0x26b)](_0x15862f(0x1e6),{'className':_0x174a61[_0x15862f(0x28b)],'children':_0x300bc2}),_0xd0be2f[_0x15862f(0x26b)]('div',{'className':_0x174a61[_0x15862f(0x286)],'children':_0x1e3f25})]});}return _0x5cd4bc?_0x3c0a2f():_0xd0be2f[_0x1d777d(0x26b)](_0x2b5271[_0x1d777d(0x177)],{'title':_0x38b432['t']('collab-client.tooltip.reconnect'),'children':_0x3c0a2f()});}var _0x17c6f4=Object[_0x4a378c(0x17c)],_0x57f198=(_0x201d02,_0x4b667a,_0x59360e,_0x5b690e)=>{const _0x212168=_0x4a378c;for(var _0x3c8306=_0x5b690e>0x1?void 0x0:_0x5b690e?_0x17c6f4(_0x4b667a,_0x59360e):_0x4b667a,_0x2068a8=_0x201d02[_0x212168(0x228)]-0x1,_0x356dd4;_0x2068a8>=0x0;_0x2068a8--)(_0x356dd4=_0x201d02[_0x2068a8])&&(_0x3c8306=_0x356dd4(_0x3c8306)||_0x3c8306);return _0x3c8306;},_0x38f860=(_0x4a9b97,_0x34b214)=>(_0x4ea1b5,_0x5e838a)=>_0x34b214(_0x4ea1b5,_0x5e838a,_0x4a9b97);_0x109107['DesktopCollaborationStatusDisplayController']=class extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(_0x4ac4b4,_0x101c00,_0x381520,_0x2de093){const _0x418233=_0x4a378c;super(),_0x1fd125(this,_0x418233(0x1b7),new _0x342ed2[(_0x418233(0x2a0))](_0x550e9f[_0x418233(0x21c)][_0x418233(0x24b)])),(this[_0x418233(0x1c6)]=_0x4ac4b4,this[_0x418233(0x2b5)]=_0x101c00,this[_0x418233(0xd8)]=_0x381520,this[_0x418233(0x2d5)]=_0x2de093,this[_0x418233(0x106)](),this['_initStatusListener']());}[_0x4a378c(0x205)](){const _0x798cc4=_0x4a378c;this[_0x798cc4(0x9f)](this[_0x798cc4(0x1c6)][_0x798cc4(0x235)][_0x798cc4(0x24e)](_0x342ed2['switchMap'](()=>{const _0x4a596d=_0x798cc4,_0x4f1b4d=this[_0x4a596d(0x1c6)][_0x4a596d(0x300)]();return _0x4f1b4d?this[_0x4a596d(0xd8)]['getCollabEntity$'](_0x4f1b4d[_0x4a596d(0x298)]()):_0x342ed2['of'](null);}),_0x342ed2['switchMap'](_0x22bf32=>_0x22bf32?_0x22bf32[_0x798cc4(0x257)]:_0x342ed2['of'](_0x550e9f[_0x798cc4(0x21c)][_0x798cc4(0x24b)])))[_0x798cc4(0x1a5)](_0x58889c=>{const _0x52efae=_0x798cc4;this['_status$'][_0x52efae(0xe7)](_0x58889c);}));}[_0x4a378c(0x106)](){const _0x37ae84=_0x4a378c;this[_0x37ae84(0x9f)](this[_0x37ae84(0x2d5)][_0x37ae84(0x198)](_0x2a4c6a['BuiltInUIPart'][_0x37ae84(0x265)],()=>_0x2a4c6a['connectInjector'](_0x4807d7({'status$':this[_0x37ae84(0x1b7)]['asObservable']()}),this[_0x37ae84(0x2b5)])));}},_0x109107[_0x4a378c(0x1c2)]=_0x57f198([_0x38f860(0x0,_0x50b35f[_0x4a378c(0xfb)]),_0x38f860(0x1,_0x50b35f['Inject'](_0x50b35f[_0x4a378c(0x29d)])),_0x38f860(0x2,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x1f2)])),_0x38f860(0x3,_0x2a4c6a[_0x4a378c(0x22a)])],_0x109107[_0x4a378c(0x1c2)]);function _0x4807d7(_0x5094f6){const {status$:_0x46349}=_0x5094f6;return function(){return _0xd0be2f['jsx'](_0x51edff,{'status$':_0x46349});};}var _0x3082d9=Object[_0x4a378c(0x17c)],_0x565e6c=(_0x1d06cf,_0x3f95ee,_0x23be1d,_0x150dcd)=>{const _0x359cc6=_0x4a378c;for(var _0x1da8a3=_0x150dcd>0x1?void 0x0:_0x150dcd?_0x3082d9(_0x3f95ee,_0x23be1d):_0x3f95ee,_0x4487a5=_0x1d06cf[_0x359cc6(0x228)]-0x1,_0x5969b7;_0x4487a5>=0x0;_0x4487a5--)(_0x5969b7=_0x1d06cf[_0x4487a5])&&(_0x1da8a3=_0x5969b7(_0x1da8a3)||_0x1da8a3);return _0x1da8a3;},_0x4641ba=(_0x5d6f69,_0x44c543)=>(_0x4bd3e0,_0x50ec89)=>_0x44c543(_0x4bd3e0,_0x50ec89,_0x5d6f69);let _0x14e4db=class extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(_0x490ea7,_0x3c5fcf,_0x410d40,_0x481530,_0x26e2f3,_0x3e2b64){const _0x4d18dd=_0x4a378c;super(),this[_0x4d18dd(0x32c)]=_0x490ea7,this['_localCacheService']=_0x3c5fcf,this['_collaborationUIEventService']=_0x410d40,this[_0x4d18dd(0x2dc)]=_0x481530,this[_0x4d18dd(0x1c8)]=_0x26e2f3,this[_0x4d18dd(0x2c0)]=_0x3e2b64,this[_0x4d18dd(0x133)](),this['_initEvent']();}[_0x4a378c(0x133)](){const _0x2924fa=_0x4a378c;this[_0x2924fa(0x9f)](this[_0x2924fa(0x32c)][_0x2924fa(0xdb)](()=>{const _0xd3a721=_0x2924fa;if(this[_0xd3a721(0x20a)][_0xd3a721(0x1d6)][_0xd3a721(0x232)])return this[_0xd3a721(0x2c0)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4a378c(0xa8)](){const _0xf267d4=_0x4a378c;this[_0xf267d4(0x9f)](this[_0xf267d4(0x20b)][_0xf267d4(0x1e0)][_0xf267d4(0x1a5)](_0x595a1f=>{const _0xb485f6=_0xf267d4;_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x161)]&&this[_0xb485f6(0x2dc)]['show']({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x195)],'content':this[_0xb485f6(0x2c0)]['t'](_0xb485f6(0x1b3))}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x1e9)]&&this[_0xb485f6(0x2dc)]['show']({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x195)],'content':this[_0xb485f6(0x2c0)]['t'](_0xb485f6(0x201))}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)]['PERMISSION_DENIED']&&this['_notificationService'][_0xb485f6(0x9e)]({'title':this['_localeService']['t'](_0xb485f6(0x147)),'content':this['_localeService']['t'](_0xb485f6(0x322)),'type':_0xb485f6(0x206),'duration':0x0}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x152)]&&this[_0xb485f6(0x2dc)][_0xb485f6(0x9e)]({'type':_0x2b5271[_0xb485f6(0x240)]['Error'],'content':this['_localeService']['t'](_0xb485f6(0x201))+'('+_0x595a1f['data']+')'}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x2b5271[_0xb485f6(0x240)]['Warning'],'content':this['_localeService']['t'](_0x595a1f[_0xb485f6(0x1d2)]||'')}),_0x595a1f['id']===_0x550e9f['CollaborationUIEventId'][_0xb485f6(0xf0)]&&this[_0xb485f6(0x2dc)][_0xb485f6(0x9e)]({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x195)],'content':this['_localeService']['t'](_0xb485f6(0x120))}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x2c9)]&&this['_messageService']['show']({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x1a9)],'content':this['_localeService']['t']('session.connection-failed')}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x2a6)]&&this[_0xb485f6(0x2dc)][_0xb485f6(0x9e)]({'type':_0x2b5271[_0xb485f6(0x240)]['Error'],'content':this[_0xb485f6(0x2c0)]['t'](_0xb485f6(0x2bc))});}));}};_0x14e4db=_0x565e6c([_0x4641ba(0x0,_0x2a4c6a[_0x4a378c(0x2a3)]),_0x4641ba(0x1,_0x550e9f[_0x4a378c(0x25d)]),_0x4641ba(0x2,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x148)])),_0x4641ba(0x3,_0x2a4c6a['IMessageService']),_0x4641ba(0x4,_0x2a4c6a[_0x4a378c(0x91)]),_0x4641ba(0x5,_0x50b35f[_0x4a378c(0x135)](_0x50b35f['LocaleService']))],_0x14e4db);const _0x63aea2=_0x4a378c(0x218),_0x50434e={},_0x303320=_0x50b35f['createIdentifier']('uni.network.url-service');var _0x364df0=Object[_0x4a378c(0x17c)],_0x884e22=(_0x30f628,_0x43061b,_0xc1a7f8,_0x45435d)=>{for(var _0x2219ca=_0x45435d>0x1?void 0x0:_0x45435d?_0x364df0(_0x43061b,_0xc1a7f8):_0x43061b,_0x2fbb9f=_0x30f628['length']-0x1,_0x2def7e;_0x2fbb9f>=0x0;_0x2fbb9f--)(_0x2def7e=_0x30f628[_0x2fbb9f])&&(_0x2219ca=_0x2def7e(_0x2219ca)||_0x2219ca);return _0x2219ca;},_0x1d6b33=(_0x58c316,_0x18e9eb)=>(_0x55e4f6,_0x401083)=>_0x18e9eb(_0x55e4f6,_0x401083,_0x58c316);_0x109107[_0x4a378c(0x1ab)]=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x4f52b9,_0x1f7393,_0x194d09,_0x45c0f5,_0x2939e1){const _0xb73a29=_0x4a378c;super(),this[_0xb73a29(0x1cf)]=_0x4f52b9,this['_logService']=_0x1f7393,this[_0xb73a29(0x28f)]=_0x194d09,this['_dataLoaderService']=_0x45c0f5,_0x2939e1?_0x2939e1==null||_0x2939e1['whenReady']()[_0xb73a29(0x1cb)](()=>this['_init']()):(this['_logService'][_0xb73a29(0x10e)](_0xb73a29(0x2d4),_0xb73a29(0x325)),this[_0xb73a29(0x21e)]());}async[_0x4a378c(0x21e)](){const _0x5bec87=_0x4a378c,_0x4ed850=this['_urlService']['getParam'](_0x5bec87(0xbd)),_0x4a812c=this[_0x5bec87(0x1cf)][_0x5bec87(0x2c2)](_0x5bec87(0xfc)),_0x23a132=this[_0x5bec87(0x1cf)][_0x5bec87(0x2c2)](_0x5bec87(0xd3));if(!_0x4ed850||!_0x4a812c){this[_0x5bec87(0x10d)][_0x5bec87(0x10e)](_0x5bec87(0x2d4),_0x5bec87(0x9b));return;}const _0x4aa943=await this['_dataLoaderService'][_0x5bec87(0x287)](_0x4ed850,Number(_0x4a812c),_0x23a132);_0x4aa943&&_0x4aa943 instanceof _0x50b35f[_0x5bec87(0x139)]&&this[_0x5bec87(0x19a)](_0x4aa943);}async['_setupSubUnitSync'](_0x3c0e52){const _0x16ce49=_0x4a378c;await this[_0x16ce49(0x2fe)](_0x3c0e52),_0x3c0e52['activeSheet$'][_0x16ce49(0x24e)](_0x342ed2[_0x16ce49(0x2fa)](this[_0x16ce49(0x25b)]))[_0x16ce49(0x1a5)](_0x431df9=>{const _0x834eb=_0x16ce49;_0x431df9&&this[_0x834eb(0xb1)](_0x431df9);}),this[_0x16ce49(0x1cf)][_0x16ce49(0x311)][_0x16ce49(0x24e)](_0x342ed2[_0x16ce49(0x2fa)](this[_0x16ce49(0x25b)]))[_0x16ce49(0x1a5)](()=>this[_0x16ce49(0x2fe)](_0x3c0e52));}[_0x4a378c(0xb1)](_0xb52ee5,_0xdd128a=!0x1){const _0x470e7d=_0x4a378c,_0x4c621f=this[_0x470e7d(0x1cf)][_0x470e7d(0x2c2)](_0x470e7d(0xd3));_0xb52ee5[_0x470e7d(0x224)]()!==_0x4c621f&&this[_0x470e7d(0x1cf)][_0x470e7d(0x145)](_0x470e7d(0xd3),_0xb52ee5[_0x470e7d(0x224)](),_0xdd128a);}async[_0x4a378c(0x2fe)](_0x20acd2){const _0x21302e=_0x4a378c;var _0x122c0e;const _0x1df8bb=this[_0x21302e(0x1cf)][_0x21302e(0x2c2)](_0x21302e(0xd3));if(!_0x1df8bb||!_0x20acd2[_0x21302e(0x28a)](_0x1df8bb)){const _0x5a2b6d=_0x20acd2['getUnhiddenWorksheets']()[0x0],_0x18ed20=_0x20acd2[_0x21302e(0x28a)](_0x5a2b6d);if(!_0x18ed20)return;this[_0x21302e(0xb1)](_0x18ed20,!0x0),await this['_commandService'][_0x21302e(0x313)](_0x26ee19[_0x21302e(0x18c)]['id'],{'unitId':_0x20acd2[_0x21302e(0x298)](),'subUnitId':_0x5a2b6d});return;}((_0x122c0e=_0x20acd2['getActiveSheet']())==null?void 0x0:_0x122c0e['getSheetId']())!==_0x1df8bb&&await this[_0x21302e(0x28f)][_0x21302e(0x313)](_0x26ee19[_0x21302e(0x18c)]['id'],{'unitId':_0x20acd2['getUnitId'](),'subUnitId':_0x1df8bb});}},_0x109107[_0x4a378c(0x1ab)]=_0x884e22([_0x1d6b33(0x0,_0x303320),_0x1d6b33(0x1,_0x50b35f['ILogService']),_0x1d6b33(0x2,_0x50b35f['ICommandService']),_0x1d6b33(0x3,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0xeb)])),_0x1d6b33(0x4,_0x50b35f[_0x4a378c(0x26c)](_0x24d803['IRemoteInstanceService']))],_0x109107[_0x4a378c(0x1ab)]);var _0xe1cb1d=Object[_0x4a378c(0x17c)],_0x4d596a=(_0x372b14,_0x4500f1,_0x19ec7f,_0x55cbfb)=>{const _0x5bad73=_0x4a378c;for(var _0x549d67=_0x55cbfb>0x1?void 0x0:_0x55cbfb?_0xe1cb1d(_0x4500f1,_0x19ec7f):_0x4500f1,_0x175d1b=_0x372b14[_0x5bad73(0x228)]-0x1,_0x4d57aa;_0x175d1b>=0x0;_0x175d1b--)(_0x4d57aa=_0x372b14[_0x175d1b])&&(_0x549d67=_0x4d57aa(_0x549d67)||_0x549d67);return _0x549d67;},_0xa4b9dc=(_0x414e81,_0x188c4f)=>(_0x2e1788,_0x543bf6)=>_0x188c4f(_0x2e1788,_0x543bf6,_0x414e81);let _0x31e6e1=class{constructor(_0x10df5d,_0x5c4c0b,_0x2801b5){const _0x1a33a5=_0x4a378c;this[_0x1a33a5(0x2b5)]=_0x10df5d,this[_0x1a33a5(0x14c)]=_0x5c4c0b,this['_renderManagerService']=_0x2801b5;}[_0x4a378c(0x170)](_0x4b1060){const _0x432b62=_0x4a378c;this[_0x432b62(0x20c)](_0x4b1060),this['_transformPreviousActiveRange'](_0x4b1060);}[_0x4a378c(0x200)](_0x3ef74e){const _0x1c0ca3=_0x4a378c,{unitID:_0x42a1c3}=_0x3ef74e,_0x21724c=this[_0x1c0ca3(0xa4)][_0x1c0ca3(0x19e)](_0x42a1c3)[_0x1c0ca3(0x19f)](_0x560a64[_0x1c0ca3(0x132)]),{redoCache:_0x56e86b}=_0x21724c[_0x1c0ca3(0x323)]();if(_0x56e86b[_0x1c0ca3(0x228)]===0x0)return _0x3ef74e;let _0x36cfa1=_0x50b35f[_0x1c0ca3(0x2af)]['deepClone'](_0x3ef74e[_0x1c0ca3(0x2e4)][0x0]);for(let _0x599b88=0x0;_0x599b88<_0x56e86b[_0x1c0ca3(0x228)];_0x599b88++){const _0x47ff80={'id':_0x1c0ca3(0x223),'params':{..._0x56e86b[_0x599b88]}},_0xd3cc9=this['_transformService'][_0x1c0ca3(0x154)](_0x36cfa1,_0x47ff80,!0x1);if(_0x9298ea[_0x1c0ca3(0xa7)](_0xd3cc9))throw _0xd3cc9[_0x1c0ca3(0x206)];_0x36cfa1=_0xd3cc9[_0x1c0ca3(0x30b)];}return{..._0x50b35f[_0x1c0ca3(0x2af)][_0x1c0ca3(0x117)](_0x3ef74e),'mutations':[_0x36cfa1]};}[_0x4a378c(0x20c)](_0x1d1213){const _0x94669e=_0x4a378c,{unitID:_0x1955b4}=_0x1d1213,_0x1fbaec=this[_0x94669e(0xa4)][_0x94669e(0x19e)](_0x1955b4)[_0x94669e(0x19f)](_0x560a64[_0x94669e(0x132)]),{undoCache:_0x333ec1,redoCache:_0x86f251}=_0x1fbaec[_0x94669e(0x323)]();if(_0x333ec1[_0x94669e(0x228)]===0x0||_0x86f251['length']===0x0)return;const _0x3cf48f=[],_0x39b92d=[];let _0x392c53=_0x50b35f[_0x94669e(0x2af)][_0x94669e(0x117)](_0x1d1213[_0x94669e(0x2e4)][0x0]),_0x3ba6ff=_0x50b35f[_0x94669e(0x2af)]['deepClone'](_0x1d1213[_0x94669e(0x2e4)][0x0]);for(let _0x4a4abb=_0x333ec1['length']-0x1;_0x4a4abb>=0x0;_0x4a4abb--){const _0x39e59e={'id':_0x94669e(0x223),'params':{..._0x333ec1[_0x4a4abb]}},_0x562b73={'id':_0x94669e(0x223),'params':{..._0x86f251[_0x4a4abb]}},_0xc0624b=this[_0x94669e(0x14c)]['transformMutation'](_0x392c53,_0x39e59e,!0x1),_0x36cd33=this['_transformService'][_0x94669e(0x154)](_0x3ba6ff,_0x562b73,!0x1);if(_0x9298ea['isTransformMutationFailure'](_0xc0624b))throw _0xc0624b['error'];if(_0x9298ea[_0x94669e(0xa7)](_0x36cd33))throw _0x36cd33[_0x94669e(0x206)];_0x3cf48f['unshift'](_0xc0624b[_0x94669e(0x2a5)][_0x94669e(0x196)]),_0x39b92d[_0x94669e(0x2bf)](_0x36cd33[_0x94669e(0x2a5)][_0x94669e(0x196)]),_0x392c53=_0xc0624b['m1Prime'],_0x3ba6ff=_0x36cd33[_0x94669e(0x30b)];}_0x1fbaec[_0x94669e(0x11c)]({'undoCache':_0x3cf48f,'redoCache':_0x39b92d});}['_transformPreviousActiveRange'](_0x127501){const _0x26c7b7=_0x4a378c,{unitID:_0x5d79a5}=_0x127501,_0x58f903=this[_0x26c7b7(0xa4)][_0x26c7b7(0x19e)](_0x5d79a5)[_0x26c7b7(0x19f)](_0x560a64[_0x26c7b7(0x132)]),_0x2e8b5c=_0x58f903[_0x26c7b7(0x1cd)]();if(_0x2e8b5c==null)return;const _0x439167=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x127501[_0x26c7b7(0x14b)],'actions':null,'textRanges':[_0x2e8b5c]}}],_0x25506e=this[_0x26c7b7(0x14c)][_0x26c7b7(0x1cc)](_0x127501,_0x439167);if(!_0x9298ea[_0x26c7b7(0x172)](_0x25506e))throw _0x25506e['error'];const _0x49d2c8=_0x25506e[_0x26c7b7(0x2a5)][0x0][_0x26c7b7(0x196)][_0x26c7b7(0x189)];Array[_0x26c7b7(0x2dd)](_0x49d2c8)&&_0x49d2c8[_0x26c7b7(0x228)]&&_0x58f903[_0x26c7b7(0x285)](_0x49d2c8[0x0]);}};_0x31e6e1=_0x4d596a([_0xa4b9dc(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f['Injector'])),_0xa4b9dc(0x1,_0x9298ea[_0x4a378c(0x238)]),_0xa4b9dc(0x2,_0x1083d9[_0x4a378c(0x13c)])],_0x31e6e1);var _0x31f100=Object[_0x4a378c(0x17c)],_0x5e66c3=(_0x1914b7,_0x954215,_0x4b9a8b,_0x493c28)=>{const _0x35fee3=_0x4a378c;for(var _0x3f6e2d=_0x493c28>0x1?void 0x0:_0x493c28?_0x31f100(_0x954215,_0x4b9a8b):_0x954215,_0x371081=_0x1914b7[_0x35fee3(0x228)]-0x1,_0x3aca82;_0x371081>=0x0;_0x371081--)(_0x3aca82=_0x1914b7[_0x371081])&&(_0x3f6e2d=_0x3aca82(_0x3f6e2d)||_0x3f6e2d);return _0x3f6e2d;},_0x2b1d42=(_0x2fcd8a,_0x22a0c7)=>(_0x1c04d4,_0x22d7ec)=>_0x22a0c7(_0x1c04d4,_0x22d7ec,_0x2fcd8a);let _0xaa28e3=class{constructor(_0x2ff817,_0x58e4cb,_0x4b930b){const _0x231955=_0x4a378c;this[_0x231955(0x2b5)]=_0x2ff817,this['_transformService']=_0x58e4cb,this[_0x231955(0x14e)]=_0x4b930b;}[_0x4a378c(0x197)](_0x17ed5f){const _0x51635d=_0x4a378c;this[_0x51635d(0x2e9)](_0x17ed5f);}['transformRemoteChangeset'](_0x172744){const _0x4b9682=_0x4a378c,{unitID:_0x21bfcf}=_0x172744,{collaboration:_0x347552}=this[_0x4b9682(0x14e)]['getStateCache'](_0x21bfcf);if(_0x347552[_0x4b9682(0x228)]===0x0)return _0x172744;let _0x31b26e=_0x50b35f[_0x4b9682(0x2af)][_0x4b9682(0x117)](_0x172744[_0x4b9682(0x2e4)][0x0]);for(let _0x3a671e=0x0;_0x3a671e<_0x347552[_0x4b9682(0x228)];_0x3a671e++){const _0x5080e8={'id':_0x4b9682(0x223),'params':{'unitId':_0x347552[_0x3a671e][_0x4b9682(0x264)],..._0x347552[_0x3a671e][_0x4b9682(0x26e)]}},_0x56fd55=this[_0x4b9682(0x14c)]['transformMutation'](_0x31b26e,_0x5080e8,!0x1);if(_0x9298ea['isTransformMutationFailure'](_0x56fd55))throw _0x56fd55[_0x4b9682(0x206)];_0x31b26e=_0x56fd55[_0x4b9682(0x30b)];}return{..._0x50b35f[_0x4b9682(0x2af)][_0x4b9682(0x117)](_0x172744),'mutations':[_0x31b26e]};}[_0x4a378c(0x2e9)](_0x19d45b){const _0x2e24e0=_0x4a378c,{unitID:_0xff9c6d}=_0x19d45b,{history:_0x57dac5,collaboration:_0x35307f}=this[_0x2e24e0(0x14e)][_0x2e24e0(0xff)](_0xff9c6d);if(_0x57dac5[_0x2e24e0(0x228)]===0x0&&_0x35307f[_0x2e24e0(0x228)]===0x0)return;const _0xe2efdc=[],_0x1c86f6=[];let _0x4b92cb=_0x50b35f[_0x2e24e0(0x2af)][_0x2e24e0(0x117)](_0x19d45b[_0x2e24e0(0x2e4)][0x0]),_0x29e7ec=_0x50b35f['Tools'][_0x2e24e0(0x117)](_0x19d45b[_0x2e24e0(0x2e4)][0x0]);for(let _0x1c2539=_0x57dac5[_0x2e24e0(0x228)]-0x1;_0x1c2539>=0x0;_0x1c2539--){const _0x51aa72={'id':_0x2e24e0(0x223),'params':{'unitId':_0x57dac5[_0x1c2539]['unitId'],..._0x57dac5[_0x1c2539][_0x2e24e0(0x2c8)]}},_0x48599c={'id':_0x2e24e0(0x223),'params':{'unitId':_0x57dac5[_0x1c2539]['unitId'],..._0x57dac5[_0x1c2539]['redoState']}},_0x21bd10=this[_0x2e24e0(0x14c)]['transformMutation'](_0x4b92cb,_0x51aa72,!0x1),_0x121c74=this[_0x2e24e0(0x14c)][_0x2e24e0(0x154)](_0x29e7ec,_0x48599c,!0x1);if(_0x9298ea[_0x2e24e0(0xa7)](_0x21bd10))throw _0x21bd10[_0x2e24e0(0x206)];if(_0x9298ea['isTransformMutationFailure'](_0x121c74))throw _0x121c74[_0x2e24e0(0x206)];_0xe2efdc['unshift']({..._0x57dac5[_0x1c2539],'undoState':_0x21bd10[_0x2e24e0(0x2a5)][_0x2e24e0(0x196)],'redoState':_0x121c74['m2Prime'][_0x2e24e0(0x196)]}),_0x4b92cb=_0x21bd10[_0x2e24e0(0x30b)],_0x29e7ec=_0x121c74['m1Prime'];}_0x4b92cb=_0x50b35f[_0x2e24e0(0x2af)]['deepClone'](_0x19d45b[_0x2e24e0(0x2e4)][0x0]),_0x29e7ec=_0x50b35f[_0x2e24e0(0x2af)][_0x2e24e0(0x117)](_0x19d45b[_0x2e24e0(0x2e4)][0x0]);for(let _0x9ebab=_0x35307f[_0x2e24e0(0x228)]-0x1;_0x9ebab>=0x0;_0x9ebab--){const _0x23ea46={'id':_0x2e24e0(0x223),'params':{'unitId':_0x35307f[_0x9ebab][_0x2e24e0(0x264)],..._0x35307f[_0x9ebab][_0x2e24e0(0x2c8)]}},_0x1a5ff0={'id':_0x2e24e0(0x223),'params':{'unitId':_0x35307f[_0x9ebab][_0x2e24e0(0x264)],..._0x35307f[_0x9ebab][_0x2e24e0(0x26e)]}},_0x6e4b79=this[_0x2e24e0(0x14c)][_0x2e24e0(0x154)](_0x4b92cb,_0x23ea46,!0x1),_0x703ebc=this[_0x2e24e0(0x14c)]['transformMutation'](_0x29e7ec,_0x1a5ff0,!0x1);if(_0x9298ea['isTransformMutationFailure'](_0x6e4b79))throw _0x6e4b79[_0x2e24e0(0x206)];if(_0x9298ea[_0x2e24e0(0xa7)](_0x703ebc))throw _0x703ebc[_0x2e24e0(0x206)];_0x1c86f6[_0x2e24e0(0x2bf)]({..._0x35307f[_0x9ebab],'undoState':_0x6e4b79[_0x2e24e0(0x2a5)][_0x2e24e0(0x196)],'redoState':_0x703ebc[_0x2e24e0(0x2a5)][_0x2e24e0(0x196)]}),_0x4b92cb=_0x6e4b79['m1Prime'],_0x29e7ec=_0x703ebc['m1Prime'];}this[_0x2e24e0(0x14e)]['setStateCache'](_0xff9c6d,{'history':_0xe2efdc,'collaboration':_0x1c86f6});}};_0xaa28e3=_0x5e66c3([_0x2b1d42(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x2b1d42(0x1,_0x9298ea[_0x4a378c(0x238)]),_0x2b1d42(0x2,_0x50b35f[_0x4a378c(0x135)](_0x560a64['DocStateChangeManagerService']))],_0xaa28e3);var _0x244db0=Object['getOwnPropertyDescriptor'],_0x23fc5f=(_0x40c8a2,_0x24024a,_0x4bb4d7,_0x4ef800)=>{const _0xf3a75=_0x4a378c;for(var _0x3e7abd=_0x4ef800>0x1?void 0x0:_0x4ef800?_0x244db0(_0x24024a,_0x4bb4d7):_0x24024a,_0x5cf5d4=_0x40c8a2[_0xf3a75(0x228)]-0x1,_0x51db91;_0x5cf5d4>=0x0;_0x5cf5d4--)(_0x51db91=_0x40c8a2[_0x5cf5d4])&&(_0x3e7abd=_0x51db91(_0x3e7abd)||_0x3e7abd);return _0x3e7abd;},_0x57c72d=(_0x40f525,_0x2c02e3)=>(_0xa286b8,_0x298ef3)=>_0x2c02e3(_0xa286b8,_0x298ef3,_0x40f525);let _0x1af193=class{constructor(_0x538cf5,_0x3848a1){const _0x3b6c9a=_0x4a378c;this[_0x3b6c9a(0x2b5)]=_0x538cf5,this[_0x3b6c9a(0x14c)]=_0x3848a1;}[_0x4a378c(0x11f)](_0x486604){const _0x5057ff=_0x4a378c;var _0x3a6709;const _0x4837e2=this['_injector']['get'](_0xa2e49e[_0x5057ff(0xac)]),_0x39ad0c=(_0x3a6709=_0x4837e2['getDocRanges']())!=null?_0x3a6709:[];if(_0x39ad0c[_0x5057ff(0x228)]===0x0)return;const _0x51e892=_0x486604[_0x5057ff(0x14b)],_0x9b96ca=[{'id':_0x5057ff(0x223),'params':{'unitId':_0x51e892,'actions':null,'textRanges':_0x39ad0c}}],_0x1a2e66=this[_0x5057ff(0x14c)][_0x5057ff(0x1cc)](_0x486604,_0x9b96ca);if(!_0x9298ea[_0x5057ff(0x172)](_0x1a2e66))throw _0x1a2e66[_0x5057ff(0x206)];const _0x38de49=_0x1a2e66[_0x5057ff(0x2a5)][0x0][_0x5057ff(0x196)][_0x5057ff(0x189)];Array[_0x5057ff(0x2dd)](_0x38de49)&&_0x38de49[_0x5057ff(0x228)]&&_0x4837e2[_0x5057ff(0x1ba)](_0x38de49,{'unitId':_0x51e892,'subUnitId':_0x51e892},!0x1);}};_0x1af193=_0x23fc5f([_0x57c72d(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f['Injector'])),_0x57c72d(0x1,_0x9298ea['ITransformService'])],_0x1af193);var _0x211be2=Object[_0x4a378c(0x17c)],_0x2ae34b=(_0x5c2e5b,_0x353996,_0x3d8069,_0xbab25c)=>{const _0x5d5f3d=_0x4a378c;for(var _0x75055e=_0xbab25c>0x1?void 0x0:_0xbab25c?_0x211be2(_0x353996,_0x3d8069):_0x353996,_0x5525cf=_0x5c2e5b[_0x5d5f3d(0x228)]-0x1,_0xcca5e5;_0x5525cf>=0x0;_0x5525cf--)(_0xcca5e5=_0x5c2e5b[_0x5525cf])&&(_0x75055e=_0xcca5e5(_0x75055e)||_0x75055e);return _0x75055e;},_0x2874fa=(_0x342624,_0x59fc73)=>(_0x4240c0,_0x1f6083)=>_0x59fc73(_0x4240c0,_0x1f6083,_0x342624);let _0x13368b=class extends _0x50b35f['Disposable']{constructor(_0x49ddfc,_0x4fd8f6,_0x68841d,_0x38218e,_0x39793e,_0x1fe295,_0x3bc540,_0x4eee05){const _0x4b75c5=_0x4a378c;super(),_0x1fd125(this,_0x4b75c5(0x1b7),new _0x342ed2['BehaviorSubject'](_0x550e9f[_0x4b75c5(0x21c)][_0x4b75c5(0x24b)])),(this[_0x4b75c5(0x14e)]=_0x49ddfc,this[_0x4b75c5(0xd8)]=_0x4fd8f6,this[_0x4b75c5(0x1bf)]=_0x68841d,this['_docTransformStateCacheService']=_0x38218e,this[_0x4b75c5(0x2ad)]=_0x39793e,this[_0x4b75c5(0x20d)]=_0x1fe295,this['_messageService']=_0x3bc540,this[_0x4b75c5(0x2c0)]=_0x4eee05,this[_0x4b75c5(0x21f)]());}[_0x4a378c(0x21f)](){const _0xe869e1=_0x4a378c;this[_0xe869e1(0x9f)](this[_0xe869e1(0xd8)][_0xe869e1(0x2b6)][_0xe869e1(0x1a5)](_0xfe05d=>{const _0x36c297=_0xe869e1,_0x370baf=this[_0x36c297(0x14e)][_0x36c297(0x21b)][_0x36c297(0x1a5)](_0x15fbdc=>{const _0x2d5984=_0x36c297;if(_0x15fbdc==null)return;const {unitId:_0x1c3af5,redoState:_0x50bd65,commandId:_0x43b6da}=_0x15fbdc;if(_0x1c3af5!==_0xfe05d[_0x2d5984(0x14b)])return;const _0x4639aa={'id':_0x43b6da,'type':_0x50b35f['CommandType'][_0x2d5984(0x173)],'params':{'unitId':_0x1c3af5,'actions':_0x50bd65['actions'],'textRanges':null}};_0xfe05d[_0x2d5984(0x1be)](_0x4639aa);});if(_0xfe05d[_0x36c297(0x9f)](_0x370baf),_0xfe05d instanceof _0x550e9f[_0x36c297(0x241)]){const _0x266d20={'onTransformIME':_0x19d4dc=>this[_0x36c297(0x1bf)][_0x36c297(0x170)](_0x19d4dc),'onTransformState':_0x5b3fe5=>this[_0x36c297(0x2bd)][_0x36c297(0x197)](_0x5b3fe5),'onTransformSelections':_0x1b1d1f=>this[_0x36c297(0x2ad)]['transformSelections'](_0x1b1d1f),'onSyncEditingCollabCursor':_0x462f80=>this['_docSyncEditingCollabCursorService'][_0x36c297(0xfe)](_0x462f80),'onTransformRemoteChangesetByIMECache':_0x26c18a=>this[_0x36c297(0x1bf)][_0x36c297(0x200)](_0x26c18a),'onTransformRemoteChangesetByStateCache':_0x4dab61=>this[_0x36c297(0x2bd)][_0x36c297(0x200)](_0x4dab61)};_0xfe05d[_0x36c297(0x2ff)](_0x266d20);}}));}};_0x13368b=_0x2ae34b([_0x2874fa(0x0,_0x50b35f[_0x4a378c(0x135)](_0x560a64['DocStateChangeManagerService'])),_0x2874fa(0x1,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x1f2)])),_0x2874fa(0x2,_0x50b35f[_0x4a378c(0x135)](_0x31e6e1)),_0x2874fa(0x3,_0x50b35f[_0x4a378c(0x135)](_0xaa28e3)),_0x2874fa(0x4,_0x50b35f[_0x4a378c(0x135)](_0x1af193)),_0x2874fa(0x5,_0x50b35f[_0x4a378c(0x135)](_0x5773b5)),_0x2874fa(0x6,_0x2a4c6a[_0x4a378c(0x27d)]),_0x2874fa(0x7,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x159)]))],_0x13368b);var _0x248fba=Object[_0x4a378c(0x17c)],_0x1de93e=(_0x31f1c1,_0x8e9c70,_0x3721f5,_0x1ef9fd)=>{for(var _0x208d91=_0x1ef9fd>0x1?void 0x0:_0x1ef9fd?_0x248fba(_0x8e9c70,_0x3721f5):_0x8e9c70,_0x4a5e7c=_0x31f1c1['length']-0x1,_0x2b8fb4;_0x4a5e7c>=0x0;_0x4a5e7c--)(_0x2b8fb4=_0x31f1c1[_0x4a5e7c])&&(_0x208d91=_0x2b8fb4(_0x208d91)||_0x208d91);return _0x208d91;},_0x514385=(_0xbed812,_0x2e37c3)=>(_0xacd1a2,_0x11c27a)=>_0x2e37c3(_0xacd1a2,_0x11c27a,_0xbed812);let _0x41ed80=class extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(_0x3b6794,_0x45df8f,_0x298f14){const _0x40b00a=_0x4a378c;super(),_0x1fd125(this,_0x40b00a(0x16b),new Map()),_0x1fd125(this,'_saveTaskMap',new Map()),_0x1fd125(this,'_disabled',!0x1),(this['_configService']=_0x3b6794,this[_0x40b00a(0x16a)]=_0x45df8f,this[_0x40b00a(0x123)]=_0x298f14);}['disableLocalCache'](){const _0x8b5e90=_0x4a378c;this[_0x8b5e90(0x105)]=!0x0;}[_0x4a378c(0x10a)](){this['_disabled']=!0x1;}get[_0x4a378c(0x1d6)](){const _0xca4a19=_0x4a378c;return this[_0xca4a19(0x19d)];}[_0x4a378c(0x303)](){const _0x280b63=_0x4a378c;this[_0x280b63(0x231)]()[_0x280b63(0x1cb)](()=>super[_0x280b63(0x303)]());}async['loadOfflineData'](_0x1663d8){const _0x48b648=_0x4a378c;return this[_0x48b648(0x105)]?null:this[_0x48b648(0x16a)][_0x48b648(0x215)](_0x550e9f[_0x48b648(0x2e7)](_0x1663d8));}async['saveOfflineData'](_0x1e7341,_0x4d5296){const _0x5a5889=_0x4a378c;return!!this[_0x5a5889(0x16a)]['setItem'](_0x1e7341,_0x4d5296);}['updateOfflineData'](_0x38b267,_0x24093e,_0x36e789,_0x10062b){const _0x52f28b=_0x4a378c,_0x59787f=this[_0x52f28b(0x123)][_0x52f28b(0x31b)](_0x38b267);this[_0x52f28b(0x16b)]['set'](_0x38b267,{'unitID':_0x38b267,'type':_0x24093e,'awaitingChangeset':_0x36e789,'mutations':_0x10062b,'rev':_0x59787f}),this[_0x52f28b(0x19d)]['has'](_0x38b267)||this[_0x52f28b(0x23d)](_0x38b267);}[_0x4a378c(0x23d)](_0x204af0){const _0x1bea69=_0x4a378c,_0x35656b=this[_0x1bea69(0x111)]();_0x35656b===0x0?this[_0x1bea69(0x1db)](_0x204af0):this[_0x1bea69(0x19d)]['set'](_0x204af0,setTimeout(()=>this['_saveCache'](_0x204af0),_0x35656b));}[_0x4a378c(0x111)](){const _0x20e85e=_0x4a378c;var _0x45cd1d;return(_0x45cd1d=this[_0x20e85e(0x222)]['getConfig'](_0x550e9f['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x45cd1d:_0x550e9f['LOCAL_CACHE_INTERVAL'];}[_0x4a378c(0x1db)](_0x404be2){const _0x1491de=_0x4a378c,_0x5aeeca=this[_0x1491de(0x19d)][_0x1491de(0x14f)](_0x404be2);return _0x5aeeca!==void 0x0&&window[_0x1491de(0x31a)](_0x5aeeca),this[_0x1491de(0x16a)][_0x1491de(0x288)](_0x550e9f[_0x1491de(0x2e7)](_0x404be2),this[_0x1491de(0x16b)][_0x1491de(0x14f)](_0x404be2))[_0x1491de(0x1cb)](()=>this[_0x1491de(0x19d)][_0x1491de(0x22d)](_0x404be2));}async[_0x4a378c(0x231)](){const _0x57909e=_0x4a378c,_0x22a855=[];this[_0x57909e(0x19d)]['forEach']((_0x294bc9,_0x17bb53)=>{const _0x53dfa4=_0x57909e;window[_0x53dfa4(0x31a)](_0x294bc9),_0x22a855['push'](this[_0x53dfa4(0x1db)](_0x17bb53)[_0x53dfa4(0x1cb)](()=>{this['_saveTaskMap']['delete'](_0x17bb53);}));}),await Promise['all'](_0x22a855);}};_0x41ed80=_0x1de93e([_0x514385(0x0,_0x50b35f[_0x4a378c(0x1eb)]),_0x514385(0x1,_0x50b35f['ILocalStorageService']),_0x514385(0x2,_0x50b35f['Inject'](_0x9298ea[_0x4a378c(0x11a)]))],_0x41ed80);class _0x37699a extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(){const _0x3cf9fe=_0x4a378c;super(),_0x1fd125(this,_0x3cf9fe(0x311)),this[_0x3cf9fe(0x311)]=_0x342ed2['fromEvent'](window,_0x3cf9fe(0x1a6))['pipe'](_0x342ed2['takeUntil'](this[_0x3cf9fe(0x25b)]),_0x342ed2[_0x3cf9fe(0x239)](0x1),_0x342ed2['mapTo'](void 0x0));}[_0x4a378c(0x145)](_0x4f743f,_0x4b2a8a,_0x38759a=!0x1){const _0x4c9eb0=_0x4a378c,_0x409bc8=new URL(window[_0x4c9eb0(0x101)][_0x4c9eb0(0x302)]);_0x409bc8[_0x4c9eb0(0x217)][_0x4c9eb0(0x1fd)](_0x4f743f,_0x4b2a8a),_0x38759a?window[_0x4c9eb0(0x2ef)][_0x4c9eb0(0xc2)]('','',_0x409bc8[_0x4c9eb0(0x1f9)]()):window[_0x4c9eb0(0x2ef)][_0x4c9eb0(0x277)]('','',_0x409bc8[_0x4c9eb0(0x1f9)]());}[_0x4a378c(0x292)](_0x1edb92,_0x5bbc87=!0x1){const _0x1f81f1=_0x4a378c,_0x2483bb=new URL(window[_0x1f81f1(0x101)][_0x1f81f1(0x302)]);_0x2483bb[_0x1f81f1(0x217)][_0x1f81f1(0x22d)](_0x1edb92),_0x5bbc87?window[_0x1f81f1(0x2ef)]['replaceState']('','',_0x2483bb[_0x1f81f1(0x1f9)]()):window[_0x1f81f1(0x2ef)]['pushState']('','',_0x2483bb[_0x1f81f1(0x1f9)]());}['getParam'](_0x5575f8){const _0x31459c=_0x4a378c;var _0x2e2c59;return(_0x2e2c59=new URL(window[_0x31459c(0x101)][_0x31459c(0x302)])[_0x31459c(0x217)][_0x31459c(0x14f)](_0x5575f8))!=null?_0x2e2c59:void 0x0;}}var _0xad7724=Object[_0x4a378c(0x226)],_0x3459f0=Object['getOwnPropertyDescriptor'],_0x4dac54=(_0x54e9d6,_0x27ecfa,_0x2d2440)=>_0x27ecfa in _0x54e9d6?_0xad7724(_0x54e9d6,_0x27ecfa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d2440}):_0x54e9d6[_0x27ecfa]=_0x2d2440,_0x21ff75=(_0x483d0b,_0x9075d0,_0x218655,_0x1ca206)=>{const _0x3b08ee=_0x4a378c;for(var _0x585d52=_0x1ca206>0x1?void 0x0:_0x1ca206?_0x3459f0(_0x9075d0,_0x218655):_0x9075d0,_0x4b1c62=_0x483d0b[_0x3b08ee(0x228)]-0x1,_0x226481;_0x4b1c62>=0x0;_0x4b1c62--)(_0x226481=_0x483d0b[_0x4b1c62])&&(_0x585d52=_0x226481(_0x585d52)||_0x585d52);return _0x585d52;},_0x5aebf8=(_0x3c13b0,_0x428b0e)=>(_0x40a549,_0x57f558)=>_0x428b0e(_0x40a549,_0x57f558,_0x3c13b0),_0x35bc8d=(_0x20a042,_0x20150d,_0x4e801a)=>_0x4dac54(_0x20a042,_0x20150d+'',_0x4e801a);const _0x34721b=_0x4a378c(0x1b0);_0x109107[_0x4a378c(0x1f8)]=class extends _0x50b35f[_0x4a378c(0x118)]{constructor(_0x346df2=_0x50434e,_0x2bfa73,_0x4cd054,_0x23e752){const _0xaa7ba=_0x4a378c;super(),this[_0xaa7ba(0x15f)]=_0x346df2,this['_renderManagerService']=_0x2bfa73,this[_0xaa7ba(0x2b5)]=_0x4cd054,this[_0xaa7ba(0x222)]=_0x23e752;const {..._0x6bca9a}=_0x50b35f[_0xaa7ba(0x13f)]({},_0x50434e,this[_0xaa7ba(0x15f)]);this[_0xaa7ba(0x222)][_0xaa7ba(0x18a)](_0x63aea2,_0x6bca9a);}['onStarting'](){const _0x4f76b1=_0x4a378c;this[_0x4f76b1(0x2fc)](),this[_0x4f76b1(0x27e)]();}[_0x4a378c(0x2c6)](){const _0x277c91=_0x4a378c;this[_0x277c91(0x1f3)]();}[_0x4a378c(0x2fc)](){const _0x23795a=_0x4a378c;var _0x27b8e5;const _0x21a9fa=[[_0x20d96e],[_0x1af193],[_0x31e6e1],[_0xaa28e3],[_0x5773b5],[_0x303320,{'useClass':_0x37699a}],[_0x39eedb[_0x23795a(0x24f)],{'useClass':_0x39eedb[_0x23795a(0x25c)]}],[_0x550e9f['ILocalCacheService'],{'useClass':_0x41ed80}],[_0x109107[_0x23795a(0x1c2)]],[_0x13368b],[_0x14e4db],[_0x4f68d5],[_0x4ba470],[_0x109107[_0x23795a(0x1ab)]]];_0x50b35f[_0x23795a(0x194)](this[_0x23795a(0x2b5)],_0x50b35f[_0x23795a(0x249)](_0x21a9fa,(_0x27b8e5=this[_0x23795a(0x15f)])==null?void 0x0:_0x27b8e5['override']));}['_registerRenderDependencies'](){const _0x1fa216=_0x4a378c;this[_0x1fa216(0x9f)](this['_renderManagerService'][_0x1fa216(0x92)](_0x50b35f[_0x1fa216(0x25f)][_0x1fa216(0x1a2)],[_0x20a382])),this[_0x1fa216(0x9f)](this[_0x1fa216(0xa4)][_0x1fa216(0x92)](_0x50b35f[_0x1fa216(0x25f)][_0x1fa216(0x30a)],[_0x244b2c]));}[_0x4a378c(0x27e)](){const _0x98ea61=_0x4a378c;_0x50b35f[_0x98ea61(0x250)](this['_injector'],[[_0x4f68d5],[_0x109107[_0x98ea61(0x1c2)]],[_0x13368b],[_0x14e4db],[_0x109107[_0x98ea61(0x1ab)]]]);}},_0x35bc8d(_0x109107[_0x4a378c(0x1f8)],'pluginName',_0x34721b),_0x109107[_0x4a378c(0x1f8)]=_0x21ff75([_0x50b35f[_0x4a378c(0x12d)](_0x550e9f['UniverCollaborationClientPlugin']),_0x5aebf8(0x1,_0x1083d9[_0x4a378c(0x13c)]),_0x5aebf8(0x2,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x5aebf8(0x3,_0x50b35f[_0x4a378c(0x1eb)])],_0x109107['UniverCollaborationClientUIPlugin']);var _0x45f6c3=Object[_0x4a378c(0x17c)],_0x53908c=(_0x5ec5d9,_0x12ef6c,_0x3c8437,_0x504419)=>{for(var _0xafce94=_0x504419>0x1?void 0x0:_0x504419?_0x45f6c3(_0x12ef6c,_0x3c8437):_0x12ef6c,_0x6f8bf4=_0x5ec5d9['length']-0x1,_0x56b133;_0x6f8bf4>=0x0;_0x6f8bf4--)(_0x56b133=_0x5ec5d9[_0x6f8bf4])&&(_0xafce94=_0x56b133(_0xafce94)||_0xafce94);return _0xafce94;},_0x519f62=(_0x21d139,_0x48ee9f)=>(_0x35635c,_0x4fc8b8)=>_0x48ee9f(_0x35635c,_0x4fc8b8,_0x21d139);_0x109107['BrowserCollaborationSocketService']=class extends _0x550e9f[_0x4a378c(0x1ec)]{constructor(_0x41a00b,_0x438469,_0x1caa6e,_0xbd6350,_0x5a7eac){super(_0x41a00b,_0x438469,_0x1caa6e,_0xbd6350,_0x5a7eac);}async[_0x4a378c(0x272)](_0x416680){const _0x389c5a=_0x4a378c,_0x957df=await this[_0x389c5a(0xc5)](),_0x50602e=this['_createSocketURL'](_0x416680,_0x957df);return this[_0x389c5a(0x27a)](_0x50602e);}[_0x4a378c(0x2e2)](_0x254bb7,_0x4a230c){const _0x30b363=_0x4a378c,_0x3dc6fc=typeof window>'u'?new URL(_0x254bb7):new URL(_0x254bb7,window[_0x30b363(0x101)]['origin']);_0x3dc6fc['searchParams'][_0x30b363(0x1fd)](_0x30b363(0x281),_0x4a230c);const _0x117dcf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x30b363(0x101)][_0x30b363(0xd1)]);return _0x117dcf[_0x30b363(0x14f)](_0x30b363(0x183))&&_0x3dc6fc[_0x30b363(0x217)][_0x30b363(0x1fd)](_0x30b363(0x183),_0x117dcf[_0x30b363(0x14f)](_0x30b363(0x183))),_0x3dc6fc['toString']();}async[_0x4a378c(0xc5)](){const _0xe656e0=_0x4a378c;var _0x55fafb,_0x988827,_0x51bcb5;const _0x26f3e7=this[_0xe656e0(0x222)][_0xe656e0(0x2f1)](_0x550e9f[_0xe656e0(0xa5)]),_0x1f28ea=(_0x55fafb=_0x26f3e7==null?void 0x0:_0x26f3e7['wsSessionTicketUrl'])!=null?_0x55fafb:_0x550e9f[_0xe656e0(0x246)];return(_0x51bcb5=(_0x988827=(await this[_0xe656e0(0x182)][_0xe656e0(0x14f)](_0x1f28ea,{'headers':{'Content-Type':'application/json'}}))[_0xe656e0(0xbf)])==null?void 0x0:_0x988827[_0xe656e0(0x129)])!=null?_0x51bcb5:'';}},_0x109107['BrowserCollaborationSocketService']=_0x53908c([_0x519f62(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x519f62(0x1,_0x50b35f[_0x4a378c(0x135)](_0x39eedb[_0x4a378c(0x1dc)])),_0x519f62(0x2,_0x50b35f[_0x4a378c(0x1eb)]),_0x519f62(0x3,_0x50b35f[_0x4a378c(0x270)]),_0x519f62(0x4,_0x9298ea['ISnapshotServerService'])],_0x109107[_0x4a378c(0xce)]);const _0x5c8632=0x7530,_0x1909d8='ACTIVE_UNIT_EVENT_CHANNEL';class _0x21a524 extends _0x50b35f['Disposable']{constructor(){const _0x29da68=_0x4a378c;super(),_0x1fd125(this,'_id',_0x50b35f[_0x29da68(0x1b2)]()),_0x1fd125(this,'_selfUnitIDs',new Set()),_0x1fd125(this,'_unitOnClients',new Map()),_0x1fd125(this,_0x29da68(0x1bd),null),_0x1fd125(this,_0x29da68(0x329),new Map()),_0x1fd125(this,_0x29da68(0x2df),new Map()),this[_0x29da68(0x21e)]();}[_0x4a378c(0x303)](){const _0x1e29e6=_0x4a378c;super['dispose'](),this[_0x1e29e6(0x329)]['forEach']((_0x3a7c40,_0x17cc62)=>this[_0x1e29e6(0x162)](_0x17cc62)),this['_heartbeatTimer']&&window[_0x1e29e6(0x318)](this['_heartbeatTimer']);}[_0x4a378c(0x115)](_0xa036a7){const _0x2fcf7e=_0x4a378c;return this['_ensureSubject'](_0xa036a7)[_0x2fcf7e(0x24e)](_0x342ed2['distinctUntilChanged']());}[_0x4a378c(0x245)](_0x134814){const _0x2dcef3=_0x4a378c;this[_0x2dcef3(0x1c4)][_0x2dcef3(0x232)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2dcef3(0x295)](_0x134814),this['_send']({'type':0x0,'memberID':this[_0x2dcef3(0x254)],'unitIDs':[_0x134814],'isForwarded':!0x1});}[_0x4a378c(0x294)](_0x454205){const _0x5ecf3b=_0x4a378c;this[_0x5ecf3b(0x1c4)][_0x5ecf3b(0x22d)](_0x454205),this[_0x5ecf3b(0x1c4)][_0x5ecf3b(0x232)]===0x0&&this[_0x5ecf3b(0x1bd)]&&window[_0x5ecf3b(0x318)](this[_0x5ecf3b(0x1bd)]);}[_0x4a378c(0x21e)](){const _0x5d20fa=_0x4a378c;this['disposeWithMe'](_0x50b35f[_0x5d20fa(0xe2)](_0x342ed2[_0x5d20fa(0x2e6)](window,_0x5d20fa(0x2eb))['subscribe'](_0x569b2e=>{const _0x5e038c=_0x5d20fa;if(_0x569b2e[_0x5e038c(0x293)]!==_0x1909d8||!_0x569b2e[_0x5e038c(0x1b4)])return;const _0x3f75bf=JSON[_0x5e038c(0x262)](_0x569b2e[_0x5e038c(0x1b4)]);this['_handleEvent'](_0x3f75bf);}))),window[_0x5d20fa(0x2d2)]('unload',()=>this[_0x5d20fa(0xf5)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5d20fa(0x23f)](this[_0x5d20fa(0x1c4)])}));}[_0x4a378c(0x119)](_0x37cfd7){const _0x42cb7b=_0x4a378c;switch(_0x37cfd7[_0x42cb7b(0xfc)]){case 0x0:this[_0x42cb7b(0x29e)](_0x37cfd7);break;case 0x1:this[_0x42cb7b(0x299)](_0x37cfd7);break;case 0x2:this[_0x42cb7b(0x267)](_0x37cfd7);break;}}[_0x4a378c(0x29e)](_0xedca5a){const _0x33d961=_0x4a378c,{unitIDs:_0x181d51,memberID:_0x1207e5,isForwarded:_0x4799cc}=_0xedca5a;_0x181d51[_0x33d961(0xe5)](_0x530235=>{const _0x192171=_0x33d961;if(!_0x4799cc&&this[_0x192171(0x122)][_0x192171(0x13a)](_0x530235)&&this[_0x192171(0x1dd)](_0x530235)[_0x192171(0xe7)](_0x550e9f[_0x192171(0x18e)][_0x192171(0x312)]),!this['_unitOnClients'][_0x192171(0x13a)](_0x530235)||!this['_unitOnClients'][_0x192171(0x14f)](_0x530235)[_0x192171(0x13a)](_0x1207e5)){const _0x3bc8a0=this[_0x192171(0x122)][_0x192171(0x14f)](_0x530235)||new Set();_0x3bc8a0[_0x192171(0x295)](_0x1207e5),this[_0x192171(0x122)][_0x192171(0x1fd)](_0x530235,_0x3bc8a0),this[_0x192171(0xe1)](_0x1207e5);}}),_0x4799cc||this['_send']({'type':0x0,'memberID':this[_0x33d961(0x254)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4a378c(0xe1)](_0x4e8b17){const _0x4b1692=_0x4a378c;this[_0x4b1692(0x162)](_0x4e8b17);const _0x1ac064=window[_0x4b1692(0x1ff)](()=>{const _0x90a55b=_0x4b1692;this[_0x90a55b(0x122)]['forEach'](_0x24a8f1=>{_0x24a8f1['delete'](_0x4e8b17);});},_0x5c8632*0x2);this['_clearOtherTimers'][_0x4b1692(0x1fd)](_0x4e8b17,_0x1ac064);}[_0x4a378c(0x162)](_0x18eb1e){const _0x3998f2=_0x4a378c;if(this['_clearOtherTimers'][_0x3998f2(0x13a)](_0x18eb1e)){const _0x3710c5=this[_0x3998f2(0x329)][_0x3998f2(0x14f)](_0x18eb1e);_0x3710c5&&window['clearTimeout'](_0x3710c5),this[_0x3998f2(0x329)][_0x3998f2(0x1fd)](_0x18eb1e,null);}}['_handleLeaveEvent'](_0xc2041d){const _0x365973=_0x4a378c,{memberID:_0x4347f3,unitIDs:_0x3e5568}=_0xc2041d;_0x3e5568['forEach'](_0x30b6a3=>{const _0x49a625=_0x5ab8;var _0x4d2fe4;const _0x45cf41=this[_0x49a625(0x122)]['get'](_0x30b6a3);_0x45cf41&&(_0x45cf41[_0x49a625(0x22d)](_0x4347f3),(_0x4d2fe4=this[_0x49a625(0x1dd)](_0x30b6a3))==null||_0x4d2fe4[_0x49a625(0xe7)](_0x45cf41[_0x49a625(0x232)]===0x0?_0x550e9f[_0x49a625(0x18e)]['NO_OTHER_CLIENTS_EDITING']:_0x550e9f['UnitStatus'][_0x49a625(0x312)]));}),this[_0x365973(0x162)](_0x4347f3);}['_handleHeartbeatEvent'](_0x209f51){const _0x1eb787=_0x4a378c;this[_0x1eb787(0xe1)](_0x209f51[_0x1eb787(0xe8)]);}['_send'](_0x1c9a9b){const _0x1b4c5e=_0x4a378c;localStorage[_0x1b4c5e(0x288)](_0x1909d8,JSON[_0x1b4c5e(0x1f7)](_0x1c9a9b));}[_0x4a378c(0xec)](){const _0x495588=_0x4a378c;this[_0x495588(0x1bd)]=window[_0x495588(0x12e)](()=>{const _0x247ecb=_0x495588;this['_send']({'type':0x2,'memberID':this[_0x247ecb(0x254)]});},_0x5c8632);}[_0x4a378c(0x1dd)](_0x18daaa){const _0x168c5c=_0x4a378c;return this['_unitStatus'][_0x168c5c(0x13a)](_0x18daaa)||this[_0x168c5c(0x2df)][_0x168c5c(0x1fd)](_0x18daaa,new _0x342ed2[(_0x168c5c(0x2a0))](_0x550e9f[_0x168c5c(0x18e)][_0x168c5c(0x1f4)])),this['_unitStatus'][_0x168c5c(0x14f)](_0x18daaa);}}var _0x512729=(_0xb65d91=>(_0xb65d91[_0xb65d91['UNDEFINED']=0x0]=_0x4a378c(0xaf),_0xb65d91[_0xb65d91['OK']=0x1]='OK',_0xb65d91[_0xb65d91[_0x4a378c(0x163)]=0x2]='INTERNAL_ERROR',_0xb65d91[_0xb65d91[_0x4a378c(0x30e)]=0x3]=_0x4a378c(0x30e),_0xb65d91[_0xb65d91[_0x4a378c(0x1ed)]=0x4]=_0x4a378c(0x1ed),_0xb65d91[_0xb65d91[_0x4a378c(0x1d7)]=0x5]='UNAUTHENTICATED',_0xb65d91[_0xb65d91[_0x4a378c(0x282)]=0x6]=_0x4a378c(0x282),_0xb65d91[_0xb65d91[_0x4a378c(0x268)]=0x7]=_0x4a378c(0x268),_0xb65d91[_0xb65d91[_0x4a378c(0x29f)]=0x8]='TOO_MANY_REQUESTS',_0xb65d91[_0xb65d91[_0x4a378c(0x131)]=0x9]=_0x4a378c(0x131),_0xb65d91[_0xb65d91['LOGIN_FAILED']=0xa]=_0x4a378c(0x18f),_0xb65d91[_0xb65d91[_0x4a378c(0x30d)]=0x1389]=_0x4a378c(0x30d),_0xb65d91[_0xb65d91[_0x4a378c(0x23a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xb65d91[_0xb65d91[_0x4a378c(0x2f9)]=0x1772]=_0x4a378c(0x2f9),_0xb65d91[_0xb65d91['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a378c(0x164),_0xb65d91[_0xb65d91[_0x4a378c(0xc9)]=0x1b59]=_0x4a378c(0xc9),_0xb65d91[_0xb65d91[_0x4a378c(0x2db)]=0x1b5a]=_0x4a378c(0x2db),_0xb65d91[_0xb65d91[_0x4a378c(0x15a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xb65d91[_0xb65d91[_0x4a378c(0x1af)]=0x1b5c]=_0x4a378c(0x1af),_0xb65d91[_0xb65d91[_0x4a378c(0x2ea)]=0x1b5d]=_0x4a378c(0x2ea),_0xb65d91[_0xb65d91['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4a378c(0x102),_0xb65d91[_0xb65d91[_0x4a378c(0x29b)]=0x2329]=_0x4a378c(0x29b),_0xb65d91[_0xb65d91[_0x4a378c(0x1bc)]=0x232a]=_0x4a378c(0x1bc),_0xb65d91[_0xb65d91['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4a378c(0x2a1),_0xb65d91[_0xb65d91['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xb65d91[_0xb65d91[_0x4a378c(0x1d0)]=0x232d]=_0x4a378c(0x1d0),_0xb65d91[_0xb65d91[_0x4a378c(0x1e3)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xb65d91[_0xb65d91['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xb65d91[_0xb65d91[_0x4a378c(0x2f7)]=0x2713]=_0x4a378c(0x2f7),_0xb65d91[_0xb65d91[_0x4a378c(0x23c)]=0x2714]=_0x4a378c(0x23c),_0xb65d91[_0xb65d91['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4a378c(0x305),_0xb65d91[_0xb65d91[_0x4a378c(0x280)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xb65d91[_0xb65d91[_0x4a378c(0x2cc)]=0x2af9]=_0x4a378c(0x2cc),_0xb65d91[_0xb65d91[_0x4a378c(0xfa)]=0x2ee1]=_0x4a378c(0xfa),_0xb65d91[_0xb65d91['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0xb65d91[_0xb65d91[_0x4a378c(0xa6)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xb65d91[_0xb65d91['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0xb65d91[_0xb65d91[_0x4a378c(0x213)]=0x2ee5]=_0x4a378c(0x213),_0xb65d91[_0xb65d91[_0x4a378c(0xef)]=0x32c9]=_0x4a378c(0xef),_0xb65d91[_0xb65d91[_0x4a378c(0x247)]=0x32ca]=_0x4a378c(0x247),_0xb65d91[_0xb65d91[_0x4a378c(0x113)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xb65d91[_0xb65d91[_0x4a378c(0x26f)]=-0x1]=_0x4a378c(0x26f),_0xb65d91))(_0x512729||{}),_0x2fedc2=Object[_0x4a378c(0x17c)],_0x1268ae=(_0x1f6ebe,_0x39f847,_0x2ab61b,_0x187487)=>{const _0x37e5cc=_0x4a378c;for(var _0x2485e1=_0x187487>0x1?void 0x0:_0x187487?_0x2fedc2(_0x39f847,_0x2ab61b):_0x39f847,_0x1f447f=_0x1f6ebe[_0x37e5cc(0x228)]-0x1,_0x255f57;_0x1f447f>=0x0;_0x1f447f--)(_0x255f57=_0x1f6ebe[_0x1f447f])&&(_0x2485e1=_0x255f57(_0x2485e1)||_0x2485e1);return _0x2485e1;},_0x337c5e=(_0x1c9d65,_0x329f36)=>(_0x5995d0,_0x4672b1)=>_0x329f36(_0x5995d0,_0x4672b1,_0x1c9d65);_0x109107['RemoteUniscriptService']=class extends _0x50b35f['Disposable']{constructor(_0x59c5c4,_0x4a0f54,_0x5b200f){const _0x208703=_0x4a378c;super(),this[_0x208703(0xd7)]=_0x59c5c4,this[_0x208703(0x182)]=_0x4a0f54,this[_0x208703(0x222)]=_0x5b200f;}async[_0x4a378c(0x150)](_0x437817,_0x59f053,_0x5644a1,..._0x746d26){const _0x1e7785=_0x4a378c;var _0x5a29ec,_0x55e510,_0x4df416,_0x4f7ccc;const _0x442c56=this[_0x1e7785(0xd7)][_0x1e7785(0x300)]();if(!_0x442c56)throw new Error(_0x1e7785(0x2f3));const _0x3bf19c=((_0x5a29ec=this[_0x1e7785(0x222)][_0x1e7785(0x2f1)](_0x550e9f[_0x1e7785(0x97)]))!=null?_0x5a29ec:_0x550e9f[_0x1e7785(0xf3)])+'/'+_0x437817+_0x1e7785(0x1d4)+_0x59f053,_0x58c5fc=new URL(window['location']['href']),_0x187b66={'scriptId':_0x437817,'runId':(_0x55e510=_0x58c5fc[_0x1e7785(0x217)][_0x1e7785(0x14f)](_0x1e7785(0x183)))!=null?_0x55e510:'','function':_0x59f053,'unitId':_0x442c56[_0x1e7785(0x298)](),'argsOfFunction':JSON[_0x1e7785(0x1f7)](_0x746d26),'invokeId':(_0x4df416=_0x5644a1[_0x1e7785(0xcf)])!=null?_0x4df416:'','executionId':(_0x4f7ccc=_0x5644a1[_0x1e7785(0x160)])!=null?_0x4f7ccc:''};try{const _0x382901=await this[_0x1e7785(0x182)][_0x1e7785(0x276)](_0x3bf19c,{'body':_0x187b66});return _0x382901[_0x1e7785(0xbf)][_0x1e7785(0x206)]&&_0x382901[_0x1e7785(0xbf)]['error']['code']!==_0x512729['OK']?_0x1e7785(0xdd):_0x382901[_0x1e7785(0xbf)][_0x1e7785(0x2aa)];}catch{return'Failed';}}},_0x109107[_0x4a378c(0x317)]=_0x1268ae([_0x337c5e(0x0,_0x50b35f[_0x4a378c(0xfb)]),_0x337c5e(0x1,_0x50b35f[_0x4a378c(0x135)](_0x39eedb['HTTPService'])),_0x337c5e(0x2,_0x50b35f[_0x4a378c(0x1eb)])],_0x109107[_0x4a378c(0x317)]),_0x109107[_0x4a378c(0x2a8)]=_0x51edff,_0x109107[_0x4a378c(0x1ea)]=_0x303320,_0x109107[_0x4a378c(0x2fd)]=_0x1376ff,_0x109107[_0x4a378c(0x14a)]=_0x21a524,_0x109107[_0x4a378c(0x2c3)]=_0x37699a,Object[_0x4a378c(0x226)](_0x109107,Symbol[_0x4a378c(0x2da)],{'value':_0x4a378c(0x13b)});}));function _0x5ab8(_0x348295,_0x585c2e){const _0x4c3b90=_0x4c3b();return _0x5ab8=function(_0x5ab84e,_0x1511b4){_0x5ab84e=_0x5ab84e-0x91;let _0x2a5b06=_0x4c3b90[_0x5ab84e];return _0x2a5b06;},_0x5ab8(_0x348295,_0x585c2e);}function _0x4c3b(){const _0x2df329=['IConfigService','CollaborationSocketService','NOT_FOUND','moveTo','EffectRefRangId','_hovered','off-line-single','CollaborationController','_registerRenderDependencies','NO_OTHER_CLIENTS_EDITING','_cursorShapes','_onCursorUpdate','stringify','UniverCollaborationClientUIPlugin','toString','assignAColorForMemberID','none','jiqing500','set','indexOf','setTimeout','transformRemoteChangeset','collaboration.closeRoom','UniverDesign','_colorAssignService','fillText','_initStatusListener','error','_updateLocalCursor','labelPosition','deserializeRangeWithSheet','_localCacheService','_collaborationUIEventService','_transformUndoRedoStack','_docSyncEditingCollabCursorService','Shape','@univerjs-pro/collaboration','clipPath','map','getMemberID','INVITE_CODE_ALREADY_BOUND','9275055EyUzvz','getItem','source','searchParams','collaboration-client-ui.config','idSuffix','beginPath','docStateChange$','CollaborationStatus','40LYfhEw','_init','_initEntityListener','OffLineSingle','SheetSkeletonManagerService','_configService','doc.mutation.rich-text-editing','getSheetId','@univerjs/drawing','defineProperty','_startSheetCollabCursor','length','univer-offline','IUIPartsService','_anchor','getCurrentUnitForType','delete','endColumn','1523247munldy','defIds','exhaustSavingTask','size','575812IrXiRk','react/jsx-runtime','focused$','url(#$1','_syncEditingCollabCursorService','ITransformService','shareReplay','SNAPSHOT_INVALID_SNAPSHOT','row','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleSaving','collab-text-range-','from','MessageType','DocCollaborationEntity','evenodd','onMouseMove','setShapeProps','editingUnit','DEFAULT_WS_SESSION_TICKET_URL','MOBILE_HAS_BEEN_BOUND','@univerjs/core','mergeOverrideWithDependencies','xlink:href','NOT_COLLAB','SHEET_VIEWPORT_KEY','_anchorDot','pipe','ISocketService','touchDependencies','_refRangeService','icon','UniverEngineFormula','_id','USERS_LEAVE','collabStatus.offline','status$','304ZkgsXG','subUnitId','_handleHover','dispose$','WebSocketService','ILocalCacheService','prototype','UniverInstanceType','black','InsertRangeMoveRightCommandId','parse','addClipboardHook','unitId','HEADER_MENU','UniverProCollaborationClient','_handleHeartbeatEvent','INVALID_ARGUMENT','attrs','displayName','jsx','Optional','_range','redoState','UNRECOGNIZED','ILogService','_hideTimer','createSocket','univer-online-status','CollaborationSessionService','CollaborationEvent','post','pushState','49lZVSXm','getValue','_doCreateSocket','entries','skeleton','IMessageService','_initDependencies','_entityInit$','YUUMI_ASYNCIO_CANCELLED','sessionTicket','ALREADY_EXISTS','0\x200\x2016\x2016','React','setActiveRange','onlineStatusTitle','loadUnit','setItem','_docClipboardService','getSheetBySheetId','onlineStatusIcon','blue400','collabStatus.notCollab','#fff','_commandService','CollaborationUIEventId','symbol','removeParam','key','disposeUnit','add','VIEW_MAIN','getTypeOfUnitDisposed$','getUnitId','_handleLeaveEvent','handleInsertRow','LICENSE_MAX_UNITS_EXCEEDED','ranges','Injector','_handleJoinEvent','TOO_MANY_REQUESTS','BehaviorSubject','LICENSE_IMPORT_SIZE_EXCEEDED','_refreshCollabCursors','IBeforeCloseService','extend','m2Prime','SUBMIT_CHANGESET_TIMEOUT','getMergeData','CollaborationStatusDisplay','purple300','result','univer-online-status-title','makeDirty','_docTransformSelectionsService','TEXT_RANGE_LAYER_INDEX','Tools','_getMergeRange','_cursors','RECT','UniverIcon','isEditing','_injector','entityInit$','useCallback','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scene','_online','session.collaboration-timeout','_docTransformStateCacheService','@univerjs/engine-formula','unshift','_localeService','propertyIsEnumerable','getParam','WebURLService','currentTheme$','_onCursorDelete','onRendered','addObject','undoState','SOCKET_FAILED','handleInsertRangeMoveDown','addObjects','PY_RUNTIME_SCRIPT_ERROR','@univerjs/design','handleMoveRange','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','NodePositionConvertToCursor','IDocClipboardService','addEventListener','onPointerMove$','[CollaborationDataLoaderController]','_uiPartsService','hovered','rxjs','_lastPointer','_docSkeletonManagerService','toStringTag','APPLY_NON_SEQUENTIAL_REVISION','_messageService','isArray','useObservable','_unitStatus','getAncestorScale','path','_createSocketURL','InsertRangeMoveDownCommandId','mutations','UniverProCollaboration','fromEvent','getLocalCacheKey','values','_transformHistoryAndStateStack','APPLY_DUPLICATED','storage','getRelativeToViewportCoord','RefRangeService','@univerjs/docs-ui','history','UniverSheetsUi','getConfig','RxDisposable','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_textBubble','getDocRanges','subscribeEvent','YUUMI_RATE_OVER_LIMIT','save','SNAPSHOT_HAS_BEEN_REMOVED','takeUntil','measureText','_registerDependencies','SheetCollabCursorShape','_updateSubUnitFromURLParams','addHandlerCallback','getFocusedUnit','getCoordByCell','href','dispose','@univerjs/rpc','YUUMI_NO_CUBOID_FOR_QUESTION','_assignedColors','_labelPosition','TEXT','DOC_RANGE_TYPE','UNIVER_SHEET','m1Prime','handleIRemoveRow','CHANGESET_REVISION_CONFILICT','PERMISSION_DENIED','SYNCED','assign','urlChange$','OTHER_CLIENTS_EDITING','executeCommand','RegularPolygon','...','restore','RemoteUniscriptService','clearInterval','_initCommandExecutedListener','clearTimeout','getCurrentRevOfUnit','MemberService','getTypeOfUnitAdded$','10821hitdUR','toRgbString','svg','startRow','permission.content','getUndoRedoMutationParamsCache','children','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SessionStatus','transform','current','_clearOtherTimers','_getSheetObject','5746944cdCSDE','_beforeCloseService','INotificationService','registerRenderModule','_memberService','ICommandService','COLORS','_imageIoService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_hover','trim','push','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','url(#on-line-single_clip0_910_349)','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','show','disposeWithMe','width','serializeRangeWithSheet','random','UniverDrawing','_renderManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','INVITE_CODE_REQUIRED','isTransformMutationFailure','_initEvent','createInstance','_color','getCollabCursors$','DocSelectionManagerService','bottom','onPointerEnter$','UNDEFINED','RemoveRowCommandId','_updateURLWithCurrentState','collabStatus.fetchMiss','ColorKit','@univerjs-pro/collaboration-client','className','_render','univer-flex\x20univer-items-center','clsx','object','UniverDocsUi','getSheetObject','M0\x200H16V16H0z','unit','top','body','name','onlineStatus','replaceState','_updateCollabCursors','collab-text-anchor-','_getSessionTicket','univerjs-icon\x20univerjs-icon-','mask','fillStyle','APPLY_REJECT','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.conflict','complete','_collabSessionService','BrowserCollaborationSocketService','invokeId','triggerDblclick','search','contains','subunit','_sheetSkeletonManagerService','off-line-single_clip0_910_343','apply','_instanceService','_collaborationController','OFFLINE','@univerjs/sheets-ui','registerBeforeClose','debounceTime','Failed','min','concat','hasOwnProperty','_scheduleClearOtherTimer','toDisposable','find','_draw','forEach','url(#off-line-single_clip0_910_343)','next','memberID','collab-rect-range-','flatMap','DataLoaderService','_scheduleHeartbeat','UniverProCollaborationClientUi','verdancy600','WECHAT_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','saveImage','colorChannel1','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-online-status-icon','_send','DocSkeletonManagerService','createElement','SetTextSelectionsOperation','jsxs','INVITE_CODE_HAS_BEEN_UES','IUniverInstanceService','type','amd','syncEditingCollabCursor','getStateCache','_name','location','CONNECTOR_DATA_TOO_LARGE','reconnect','3419973kLEEdJ','_disabled','_initStatusComponent','handleInsertRangeMoveRight','selection','handleDeleteRangeMoveUp','enableLocalCache','getCurrent','translate(.97)','_logService','debug','_toggleOnline','_drawRectRange','_getSaveTimeout','debounce','EMAIL_HAS_BEEN_BOUND','height','getUnitStatus$','use','deepClone','Plugin','_handleEvent','RevisionService','getColor','setUndoRedoMutationParamsCache','currentColor','getVpScrollXYInfoByPosToVp','transformSelections','session.will-retry','1em','_unitOnClients','_revisionService','UniverEngineRender','collabCursorState$','getRangePointData','rxjs/operators','color','ticket','cursorInfo','#FFF','closePath','DependentOn','setInterval','throttleTime','_collabCursorController','COMPLETION_FINISHED','DocIMEInputManagerService','_setupBeforeClosingHandler','unsubscribe','Inject','string','combineLatest','@univerjs/engine-render','Workbook','has','Module','IRenderManagerService','registerRefRange','includes','merge','split','offline','getActiveSheet','useDependency','hide','setParam','UniverCore','permission.title','CollaborationUIEventService','MoveRangeCommandId','WebBrowserSingleActiveUnitService','unitID','_transformService','cursorInfo$','_docStateChangeManagerService','get','runOnServer','_entities','CONFLICT','substring','transformMutation','defs','getOffsetConfig','asObservable','imageSourceType','LocaleService','APPLY_REVISION_CONFILICT','forwardRef','roomMembers','_initResize','_drawTextRange','_config','executionId','OTHER_CLIENT_EDITING','_removeClearOtherTimer','INTERNAL_ERROR','ENSURE_SNAPSHOT_EXECUTION','_colorIndex','UniverRpc','IImageIoService','react','init','_localStorageService','_cachedData','onCommandExecuted','ThemeService','_cursor','replace','transformIMECache','engine','isTransformMutationsWithChangesetSuccess','MUTATION','_startDocCollabCursor','_session','AWAITING','Tooltip','getSkeleton','UPDATE_CURSOR','RichTextEditingMutation','fromEventSubject','getOwnPropertyDescriptor','drawWith','RemoveColCommandId','_collabCursorState$','sessionStatus$','lineTo','_httpService','runId','function','findNodePositionByCharIndex','getMember','tag','operators','textRanges','setConfig','_drawAnchor','SetWorksheetActivateCommand','SetDocZoomRatioOperation','UnitStatus','LOGIN_FAILED','_onRefRangeChange','Vector2','sheetId','SetSelectionsOperation','registerDependencies','Warning','params','transformStateCache','registerComponent','round','_setupSubUnitSync','onPointerLeave$','column','_saveTaskMap','getRenderById','with','on-line-single_clip0_910_349','_removeCollabCursors','UNIVER_DOC','onTransformChange$','@univerjs/sheets','subscribe','popstate','roomMembers$','_roomMembers$','Error','red300','CollaborationDataLoaderController','eventID','@univerjs/docs','getCellPositionByOffset','APPLY_PERMISSION_DENIED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_shapes','generateRandomId','collaboration.single-unit.warning','newValue','InsertColCommandId','_themeService','_status$','_getScale','_context','replaceDocRanges','_eventUnsubscribe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_heartbeatTimer','onLocalMutation','_docTransformIMECacheService','1304508rTSBpc','UniverDocs','DesktopCollaborationStatusDisplayController','ONLINE','_selfUnitIDs','Unknown\x20user','_univerInstanceService','switchMap','_notificationService','Rect','exports','then','transformMutationsWithChangeset','getActiveRange','_cursorInfo$','_urlService','LICENSE_DISTRO_REJECTED','requireSession','data','Disposable','/run/','_toggleOffline','saveTaskMap','UNAUTHENTICATED','FromArray','_backgroundColor','handleIRemoveCol','_saveCache','HTTPService','_ensureSubject','send','PENDING','event$','handleDeleteRangeMoveLeft','range','YUUMI_UNABLE_LOAD_URL','AWAITING_WITH_PENDING','call','div','collabStatus.syncing','fill','CLOSE_ROOM','IURLService'];_0x4c3b=function(){return _0x2df329;};return _0x4c3b();}
|
|
1
|
+
function _0x4484(){const _0x32f221=['width','BehaviorSubject','addObjects','startsWith','RemoteUniscriptService','onMouseMove','DisposableCollection','HEADER_MENU','enableLocalCache','DocSkeletonManagerService','cursorInfo$','debounce','_injector','useObservable','NOT_FOUND','ONLINE','UniverNetwork','cursorInfo','subunit','_unitOnClients','_colorIndex','handleIRemoveRow','getUnitStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','length','clearTimeout','ICommandService','has','Inject','getMember','_status$','location','pipe','0\x200\x2017\x2016','RefRangeService','add','UniverUi','handleMoveRange','onCommandExecuted','handleDeleteRangeMoveUp','_getMergeRange','toRgbString','roomMembers$','row','SheetSkeletonManagerService','/run/','UNDEFINED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_range','UNIVER_SHEET','_context','getUnhiddenWorksheets','fillRule','_memberService','loadOfflineData','114nXYXIs','collabStatus.synced','font','lineTo','dispose$','executionId','getRenderById','MUTATION','MoveRangeCommandId','DocCollaborationEntity','_beforeCloseService','COLORS','set','@univerjs/network','SYNCED','onStarting','url(#$1','_unitStatus','DataLoaderService','setInterval','ranges','idSuffix','deserializeRangeWithSheet','getParam','wsSessionTicketUrl','getColor','IURLService','setUndoRedoMutationParamsCache','92468KEIVEq','source','_roomMembers$','fromEvent','_uiPartsService','transformMutationsWithChangeset','getRelativeToViewportCoord','_docSkeletonManagerService','_handleJoinEvent','VIEW_MAIN','imageSourceType','toDisposable','_logService','SetWorksheetActivateCommand','_cachedData','hasOwnProperty','_document','collab-text-anchor-','transformIMECache','getConfig','setTimeout','black','executeCommand','subscribeEvent','all','subUnitId','_render','OTHER_CLIENTS_EDITING','YUUMI_ASYNCIO_CANCELLED','onPointerLeave$','_clearOtherTimers','currentTheme$','getVpScrollXYInfoByPosToVp','redoState','prototype','_hovered','evenodd','push','color','_scheduleHeartbeat','_handleEvent','xlink:href','from','_scheduleClearOtherTimer','getItem','_entities','IUniverInstanceService','none','_scheduleSaving','17322elKeHX','Module','saveImage','UNRECOGNIZED','stringify','handleInsertRangeMoveRight','addObject','univer-flex\x20univer-mr-2\x20univer-text-[20px]','UniverCollaborationClientUIPlugin','isTransformMutationsWithChangesetSuccess','disposeWithMe','_onRefRangeChange','_urlService','Disposable','INVITE_CODE_HAS_BEEN_UES','getOffsetConfig','doc.mutation.rich-text-editing','origin','requireSession','touchDependencies','Rect','actions','map','APPLY_NON_SEQUENTIAL_REVISION','_disabled','collabStatus.offline','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_SUBSCRIPTION_NOT_FOUND','body','generateRandomId','Workbook','UnitStatus','NO_OTHER_CLIENTS_EDITING','ITransformService','_selfUnitIDs','_colorAssignService','useDependency','currentColor','UPDATE_CURSOR','engine','debug','search','_init','react','CollaborationUIEventService','amd','_initResize','m2Prime','object','ENSURE_SNAPSHOT_EXECUTION','reconnect','triggerDblclick','_docSkeleton','textRanges','_labelPosition','getSheetId','_httpService','post','_updateURLWithCurrentState','SetDocZoomRatioOperation','displayName','_anchorDot','getCollabEntity$','USERS_LEAVE','transformSelections','_eventUnsubscribe','MessageType','endColumn','height','backgroundColor','asObservable','rxjs/operators','values','useCallback','_transformService','transformMutation','registerComponent','toStringTag','then','_hideTimer','SNAPSHOT_INVALID_SNAPSHOT','CommandType','fillText','_transformUndoRedoStack','CONFLICT','_removeCollabCursors','OFFLINE','range','some','_doCreateSocket','addEventListener','TOO_MANY_REQUESTS','_docTransformSelectionsService','ILocalCacheService','size','_getAnchorBounding','forwardRef','operators','YUUMI_UNABLE_LOAD_URL','_revisionService','entries','OffLineSingle','setStateCache','InsertRangeMoveDownCommandId','rxjs','history','_localStorageService','_draw','_cursorShapes','getSheetObject','parse','_syncEditingCollabCursorService','hovered','SUBMIT_CHANGESET_TIMEOUT','_docSyncEditingCollabCursorService','8Dljvut','event$','createInstance','sheetID','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Rectangle','_shapes','MOBILE_HAS_BEEN_BOUND','LocaleService','CHANGESET_REVISION_CONFILICT','string','href','getValue','isActive','DOC_RANGE_TYPE','on-line-single_clip0_910_349','PENDING','path','23874004FLNCvL','@univerjs-pro/collaboration-client','entityInit$','isTransformMutationFailure','sessionTicket','MemberService','IMessageService','_collaborationUIEventService','handleInsertRangeMoveDown','pluginName','focused$','_hover','5322250haYfOJ','_docTransformIMECacheService','collaboration.single-unit.warning','@univerjs/sheets','indexOf','Tools','WebURLService','unload','UNAUTHENTICATED','INVALID_ARGUMENT','addHandlerCallback','_themeService','LICENSE_MAX_UNITS_EXCEEDED','labelPosition','PERMISSION_DENIED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','purple300','with','collab-rect-range-','replace','getOwnPropertySymbols','ISocketService','1em','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationController','INVALID_INVITE_CODE','WECHAT_HAS_BEEN_BOUND','selection','@univerjs/sheets-ui','getRangePointData','getMergeData','YUUMI_RATE_OVER_LIMIT','IConfigService','onLocalMutation','_backgroundColor','_configService','handleInsertCol','_collabCursorState$','Injector','exhaustSavingTask','APPLY_PERMISSION_DENIED','name','INotificationService','updateOfflineData','_updateSubUnitFromURLParams','IBeforeCloseService','restore','split','_initEntityListener','IDocClipboardService','switchMap','function','UniverProCollaborationClientUi','_drawTextRange','_dataLoaderService','serializeRangeWithSheet','useRef','collabStatus.fetchMiss','tag','delete','result','UniverDesign','getMemberID','getCurrentSelections','_online','getActiveRange','setAlpha','getUnitId','@univerjs/drawing','_refreshCollabCursors','params','SNAPSHOT_HAS_BEEN_REMOVED','UniverEngineFormula','debounceTime','@univerjs/ui','_setupBeforeClosingHandler','#fff','DeleteRangeMoveUpCommandId','uni.network.url-service','409908BHUGHA','_messageService','_initStatusComponent','setActiveRange','url(#off-line-single_clip0_910_343)','Vector2','getCoordByCell','contains','_sheetSkeletonManagerService','merge','_saveTaskMap','DesktopCollaborationStatusDisplayController','371421WHMAyb','getCellPositionByOffset','IImageIoService','CollaborationSessionService','Unknown\x20user','SessionStatus','INVITE_CODE_ALREADY_BOUND','createSocket','jsx','hide','find','symbol','_updateLocalCursor','_getScale','_transformPreviousActiveRange','currentSkeleton$','FromArray','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','filter','_univerInstanceService','getCurrentUnitForType','BrowserCollaborationSocketService','_docTransformStateCacheService','LOGIN_FAILED','_session','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','application/json','_handleHover','assign','next','call','closePath','TEXT','_name','CollaborationSocketService','init','collabCursorState$','setParam','deepClone','@univerjs/engine-formula','unitID','@univerjs/rpc','collabStatus.notCollab','_startSheetCollabCursor','_ensureSubject','startRow','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','m1Prime','defIds','Subject','addClipboardHook','UniverSheetsUi','_createSocketURL','SOCKET_FAILED','current','beginPath','collabStatus.conflict','disposeUnit','mergeOverrideWithDependencies','CollaborationStatusDisplay','makeDirty','93HIjQiU','@univerjs/engine-render','_saveCache','RegularPolygon','ALREADY_EXISTS','LICENSE_DISTRO_REJECTED','UniverDrawing','_initDependencies','findNodePositionByCharIndex','measureText','_registerRenderDependencies','_config','[CollaborationDataLoaderController]','_onCursorUpdate','text','RichTextEditingMutation','_updateCollabCursors','CLOSE_ROOM','OnLineSingle','SheetCollabCursorShape','throttleTime','CollaborationUIEventId','0\x200\x2016\x2016','_cursors','getLocalCacheKey','RECT','jiqing500','DocIMEInputManagerService','isArray','_drawRectRange','replaceState','@univerjs/design','_commandService','transformByState','_entityInit$','concat','get','133aUJhUq','code','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','ILogService','TEXT_RANGE_LAYER_INDEX','Warning','clipPath','IUIPartsService','_initStatusListener','_lastPointer','apply','Shape','bottom','override','_notificationService','Optional','_collabCursorController','SOCKET_FAILED_RETRY','use','@univerjs/docs','CollaborationStatus','getCollabCursors$','UNIVER_DOC','Plugin','react/jsx-runtime','onPointerEnter$','EMAIL_HAS_BEEN_BOUND','arc','APPLY_REJECT','ThemeService','attrs','_docStateChangeManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','off-line-single_clip0_910_343','@univerjs/docs-ui','NodePositionConvertToRectRange','getFocusedUnit','_collabSessionService','unsubscribe','getOwnPropertyDescriptor','getUniverSheetInstance','getUndoRedoMutationParamsCache','getStateCache','subscribe','moveTo','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','verdancy600','trim','children','APPLY_DUPLICATED','svg','@univerjs-pro/collaboration','CollaborationEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','memberID','show','_localeService','getAncestorScale','APPLY_REVISION_CONFILICT','collaboration.closeRoom','_removeClearOtherTimer','_instanceService','_startDocCollabCursor','complete','fill','setShapeProps','InsertRangeMoveRightCommandId','defs','univer-text-green-500','_heartbeatTimer','React','onPointerMove$','_initCommandExecutedListener','DeleteRangeMoveLeftCommandId','round','_toggleOnline','EffectRefRangId','exports','div','fillStyle','column','SHEET_VIEWPORT_KEY','red300','_textBubble','_onCursorDelete','LOCAL_CACHE_INTERVAL','extend','_docClipboardService','eventID','dispose','syncEditingCollabCursor','_scene','_send','mutations','searchParams','takeUntil','getViewport','CollaborationController','key','transformStateCache','mask','_initEvent','5223985AbcQFx','Failed','getTypeOfUnitAdded$','whenReady','drawWith','_localCacheService','runId','_handleHeartbeatEvent','unitId','undoState','...','_cursorInfo$','M0\x200H16V16H0z','registerRefRange','UniverInstanceType','editingUnit','startColumn','clsx','_cursor','createElement','getSheetBySheetId','_imageIoService','invokeId','#FFF','save','SheetsSelectionsService','getSkeleton','_anchor','SetSelectionsOperation','getCurrent','registerRenderModule','_assignedColors','toString','newValue','data','off-line-single','error','DocSelectionManagerService','sheetId','type','permission.content','defineProperty','HTTPService','_getSessionTicket','registerDependencies','UniverProCollaborationClient','CollaborationDataLoaderController','assignAColorForMemberID','getDocRanges','unshift','ColorKit','send','DocStateChangeManagerService','RxDisposable','collabStatus.syncing','_toggleOffline','INTERNAL_ERROR','jsxs','Error','removeParam','UniverIcon','ticket','_refRangeService','className','UniverSheets','setItem','getTypeOfUnitDisposed$','NOT_COLLAB','OTHER_CLIENT_EDITING','LICENSE_IMPORT_SIZE_EXCEEDED','UniverCollaborationClientPlugin','transformRemoteChangeset','combineLatest','onRendered','_drawAnchor','clearInterval','forEach','COMPLETION_FINISHED','popstate','_color','min'];_0x4484=function(){return _0x32f221;};return _0x4484();}function _0x2cf8(_0x55d905,_0x347698){const _0x448437=_0x4484();return _0x2cf8=function(_0x2cf82b,_0xfe26ab){_0x2cf82b=_0x2cf82b-0xba;let _0x50a46e=_0x448437[_0x2cf82b];return _0x50a46e;},_0x2cf8(_0x55d905,_0x347698);}(function(_0x1e7a56,_0x56daeb){const _0x2d4b06=_0x2cf8,_0x229b7=_0x1e7a56();while(!![]){try{const _0x343b55=-parseInt(_0x2d4b06(0x30a))/0x1*(-parseInt(_0x2d4b06(0xcb))/0x2)+-parseInt(_0x2d4b06(0x1f6))/0x3*(parseInt(_0x2d4b06(0x326))/0x4)+-parseInt(_0x2d4b06(0x282))/0x5+-parseInt(_0x2d4b06(0x1ab))/0x6*(parseInt(_0x2d4b06(0x21b))/0x7)+parseInt(_0x2d4b06(0x13e))/0x8*(parseInt(_0x2d4b06(0x1b7))/0x9)+parseInt(_0x2d4b06(0x15c))/0xa+parseInt(_0x2d4b06(0x150))/0xb;if(_0x343b55===_0x56daeb)break;else _0x229b7['push'](_0x229b7['shift']());}catch(_0x1211d2){_0x229b7['push'](_0x229b7['shift']());}}}(_0x4484,0xa4002),function(_0x2647f6,_0x3e2265){const _0x33ef6d=_0x2cf8;typeof exports==_0x33ef6d(0xfb)&&typeof module<'u'?_0x3e2265(exports,require(_0x33ef6d(0x151)),require('@univerjs/core'),require(_0x33ef6d(0x1f7)),require(_0x33ef6d(0x317)),require(_0x33ef6d(0x23d)),require(_0x33ef6d(0x1a0)),require(_0x33ef6d(0x133)),require(_0x33ef6d(0x22e)),require(_0x33ef6d(0x24f)),require('@univerjs/engine-formula'),require(_0x33ef6d(0x15f)),require(_0x33ef6d(0x112)),require(_0x33ef6d(0x178)),require(_0x33ef6d(0x233)),require(_0x33ef6d(0x1a6)),require(_0x33ef6d(0x215)),require(_0x33ef6d(0xf6)),require(_0x33ef6d(0x1e2))):typeof define==_0x33ef6d(0x18f)&&define[_0x33ef6d(0xf8)]?define([_0x33ef6d(0x269),_0x33ef6d(0x151),'@univerjs/core','@univerjs/engine-render',_0x33ef6d(0x317),'@univerjs/docs-ui',_0x33ef6d(0x1a0),_0x33ef6d(0x133),_0x33ef6d(0x22e),_0x33ef6d(0x24f),_0x33ef6d(0x1e0),_0x33ef6d(0x15f),_0x33ef6d(0x112),_0x33ef6d(0x178),_0x33ef6d(0x233),'@univerjs/ui',_0x33ef6d(0x215),'react',_0x33ef6d(0x1e2)],_0x3e2265):(_0x2647f6=typeof globalThis<'u'?globalThis:_0x2647f6||self,_0x3e2265(_0x2647f6[_0x33ef6d(0x190)]={},_0x2647f6[_0x33ef6d(0x2af)],_0x2647f6['UniverCore'],_0x2647f6['UniverEngineRender'],_0x2647f6[_0x33ef6d(0x2e3)],_0x2647f6['UniverDocsUi'],_0x2647f6[_0x33ef6d(0x1fc)],_0x2647f6['rxjs'],_0x2647f6['UniverDocs'],_0x2647f6['UniverProCollaboration'],_0x2647f6[_0x33ef6d(0x1a4)],_0x2647f6[_0x33ef6d(0x2c2)],_0x2647f6['rxjs'][_0x33ef6d(0x12c)],_0x2647f6[_0x33ef6d(0x1ec)],_0x2647f6[_0x33ef6d(0x262)],_0x2647f6[_0x33ef6d(0x2f7)],_0x2647f6[_0x33ef6d(0x199)],_0x2647f6['React'],_0x2647f6['UniverRpc']));}(this,function(_0x1db428,_0x175918,_0x404026,_0x112353,_0x2ffc80,_0x2bec5e,_0x43a187,_0x4a3af0,_0x121a01,_0x503ae1,_0xe7f79b,_0x431058,_0x59a115,_0x954753,_0x59c8dc,_0x4ebc0a,_0x62b316,_0x3ac11,_0x554860){'use strict';const _0x195f34=_0x2cf8;var _0x5adb5c=Object['defineProperty'],_0x5cedca=(_0x577243,_0xc04592,_0x5c4c29)=>_0xc04592 in _0x577243?_0x5adb5c(_0x577243,_0xc04592,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c4c29}):_0x577243[_0xc04592]=_0x5c4c29,_0x2f983b=(_0x343b27,_0x1867d6,_0x29288d)=>_0x5cedca(_0x343b27,typeof _0x1867d6!=_0x195f34(0x1c2)?_0x1867d6+'':_0x1867d6,_0x29288d),_0x4d3eb7=Object[_0x195f34(0x242)],_0x7698c9=(_0x375869,_0x385fc0,_0x45cfb7,_0x3e1a7e)=>{const _0x1615ea=_0x195f34;for(var _0x33bc9e=_0x3e1a7e>0x1?void 0x0:_0x3e1a7e?_0x4d3eb7(_0x385fc0,_0x45cfb7):_0x385fc0,_0x1edbca=_0x375869[_0x1615ea(0x2eb)]-0x1,_0xe2a86e;_0x1edbca>=0x0;_0x1edbca--)(_0xe2a86e=_0x375869[_0x1edbca])&&(_0x33bc9e=_0xe2a86e(_0x33bc9e)||_0x33bc9e);return _0x33bc9e;},_0x3539e=(_0x357731,_0x10a6d2)=>(_0x437dcd,_0x108c49)=>_0x10a6d2(_0x437dcd,_0x108c49,_0x357731);let _0x562bc4=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x53288f,_0x5b5b08){const _0x177e34=_0x195f34;super(),this[_0x177e34(0x273)]=_0x53288f,this['_imageIoService']=_0x5b5b08,this[_0x177e34(0xf5)]();}['_init'](){const _0x404bd6=_0x195f34,_0x27b4ad=this;this[_0x404bd6(0xd5)](this['_docClipboardService'][_0x404bd6(0x1eb)]({'onBeforePasteImage':async _0x4c728e=>{const _0xc607cd=_0x404bd6,_0x3999a9=await _0x27b4ad[_0xc607cd(0x297)][_0xc607cd(0xcd)](_0x4c728e);return _0x3999a9?{'source':_0x3999a9[_0xc607cd(0x327)],'imageSourceType':_0x3999a9[_0xc607cd(0x330)]}:null;}}));}};_0x562bc4=_0x7698c9([_0x3539e(0x0,_0x2bec5e[_0x195f34(0x18d)]),_0x3539e(0x1,_0x43a187[_0x195f34(0x1b9)])],_0x562bc4);const _0x2083b0=[_0x195f34(0x16c),_0x195f34(0x210),_0x195f34(0x24a),_0x195f34(0x26e),'blue400','gold400'];class _0x2d40ec extends _0x404026[_0x195f34(0xd8)]{constructor(){const _0x31ef7e=_0x195f34;super(...arguments),_0x2f983b(this,_0x31ef7e(0x2a1),new Map()),_0x2f983b(this,'_colorIndex',0x0);}[_0x195f34(0x2b1)](_0x48b2e9){const _0xc18875=_0x195f34;if(this[_0xc18875(0x2a1)][_0xc18875(0x2ee)](_0x48b2e9))return this[_0xc18875(0x2a1)][_0xc18875(0x21a)](_0x48b2e9);const _0x51c355=_0x2083b0[this[_0xc18875(0x2e7)]];return this[_0xc18875(0x2e7)]=(this[_0xc18875(0x2e7)]+0x1)%_0x2083b0[_0xc18875(0x2eb)],this[_0xc18875(0x2a1)][_0xc18875(0x316)](_0x48b2e9,_0x51c355),_0x51c355;}}function _0x2b5484(_0x47f212){const _0x438b64=_0x195f34;let _0x71e054='';for(const _0x1225df of _0x47f212){const {startOffset:_0x30e5a8,endOffset:_0x3e41c7,isActive:_0x1bec83,rangeType:_0x491754,segmentId:_0x173b84,segmentPage:_0x23eb6e}=_0x1225df;_0x71e054[_0x438b64(0x2eb)]&&(_0x71e054+=','),_0x71e054+=_0x30e5a8+':'+_0x3e41c7+':'+(_0x1bec83?'1':'0')+':'+_0x491754+':'+_0x173b84+':'+_0x23eb6e;}return _0x71e054;}function _0x36d8db(_0x291901){const _0x2983f7=_0x195f34,_0x47ed66=_0x291901[_0x2983f7(0x18b)](','),_0x2cdb3b=[];for(const _0x17e760 of _0x47ed66){const [_0x194374,_0x4a9a1c,_0x3774e6,_0x1cbc2e,_0x451865,_0x3fa5e0]=_0x17e760[_0x2983f7(0x18b)](':');_0x2cdb3b['push']({'startOffset':Number(_0x194374),'endOffset':Number(_0x4a9a1c),'collapsed':_0x194374===_0x4a9a1c,'isActive':_0x3774e6==='1','rangeType':_0x1cbc2e===_0x404026[_0x2983f7(0x14c)]['TEXT']?_0x404026[_0x2983f7(0x14c)][_0x2983f7(0x1d9)]:_0x404026[_0x2983f7(0x14c)][_0x2983f7(0x20f)],'segmentId':typeof _0x451865==_0x2983f7(0x148)?String(_0x451865):'','segmentPage':Number(_0x3fa5e0!=null?_0x3fa5e0:-0x1)});}return _0x2cdb3b[_0x2983f7(0x123)](_0x29a408=>_0x29a408[_0x2983f7(0x14b)])||(_0x2cdb3b[0x0]['isActive']=!0x0),_0x2cdb3b;}class _0x320f00 extends _0x404026['RxDisposable']{constructor(){const _0x2fca44=_0x195f34;super(...arguments),_0x2f983b(this,'_collabCursorState$',new _0x4a3af0[(_0x2fca44(0x2d4))](null)),_0x2f983b(this,_0x2fca44(0x1dd),this[_0x2fca44(0x181)]['asObservable']());}['syncEditingCollabCursor'](_0x187843){const _0x59d576=_0x195f34,{unitID:_0x3332a6,memberID:_0x27dab4,textRanges:_0x409869}=_0x187843,_0x1fe034=_0x2b5484(_0x409869);if(_0x1fe034==='')return;const _0x28f1c1={'unitID':_0x3332a6,'memberID':_0x27dab4,'selection':_0x1fe034};this[_0x59d576(0x181)]['next'](_0x28f1c1);}}var _0x12e041=Object[_0x195f34(0x242)],_0x57b9f7=(_0x4b574a,_0x3cffb4,_0x3257a0,_0x1de101)=>{const _0x132374=_0x195f34;for(var _0x165889=_0x1de101>0x1?void 0x0:_0x1de101?_0x12e041(_0x3cffb4,_0x3257a0):_0x3cffb4,_0x48a387=_0x4b574a[_0x132374(0x2eb)]-0x1,_0x44d1e0;_0x48a387>=0x0;_0x48a387--)(_0x44d1e0=_0x4b574a[_0x48a387])&&(_0x165889=_0x44d1e0(_0x165889)||_0x165889);return _0x165889;},_0xa0054=(_0xfbebeb,_0x2fa641)=>(_0x8b5759,_0x1bc9fb)=>_0x2fa641(_0x8b5759,_0x1bc9fb,_0xfbebeb);const _0x3c5b34=0x12c,_0x1514c8=0x64;let _0x366001=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x3692b3,_0x586b71,_0x28ee91,_0xea0bf4,_0x5d3f2f,_0x44e62c,_0x2c27ac,_0x33fb11,_0x52a0f8){const _0x59cd5c=_0x195f34;super(),_0x2f983b(this,_0x59cd5c(0x19c),!0x1),_0x2f983b(this,'_init',!0x1),_0x2f983b(this,_0x59cd5c(0x28d),new _0x4a3af0[(_0x59cd5c(0x2d4))](new Map())),_0x2f983b(this,_0x59cd5c(0x2dd),this[_0x59cd5c(0x28d)][_0x59cd5c(0x111)]()),_0x2f983b(this,_0x59cd5c(0x328),new _0x4a3af0['BehaviorSubject']([])),_0x2f983b(this,'roomMembers$',this['_roomMembers$'][_0x59cd5c(0x2f3)](_0x4a3af0['debounceTime'](_0x3c5b34))),_0x2f983b(this,_0x59cd5c(0x1c3),_0x404026[_0x59cd5c(0x2de)](_0x350a2f=>{const _0x2e3b80=_0x59cd5c,_0xd14c6f={'eventID':_0x503ae1['CollaborationEvent'][_0x2e3b80(0xf1)],'data':{'unitID':this[_0x2e3b80(0x1e1)],'memberID':this[_0x2e3b80(0x1d0)][_0x2e3b80(0x19a)](),'selection':_0x2b5484(_0x350a2f)}};this['_session'][_0x2e3b80(0x2b5)](_0xd14c6f,this[_0x2e3b80(0x1e1)]);},_0x1514c8)),(this[_0x59cd5c(0x1e1)]=_0x3692b3,this['_session']=_0x586b71,this[_0x59cd5c(0x2df)]=_0x28ee91,this[_0x59cd5c(0xee)]=_0xea0bf4,this['_memberService']=_0x5d3f2f,this[_0x59cd5c(0x13a)]=_0x44e62c,this[_0x59cd5c(0x115)]=_0x2c27ac,this['_univerInstanceService']=_0x33fb11,this['_commandService']=_0x52a0f8);}get[_0x195f34(0x2e4)](){const _0x3c145b=_0x195f34;return this[_0x3c145b(0x28d)][_0x3c145b(0x14a)]();}get['roomMembers'](){const _0x3addc8=_0x195f34;return this[_0x3addc8(0x328)]['getValue']();}[_0x195f34(0x275)](){const _0x1ce6ac=_0x195f34;super[_0x1ce6ac(0x275)](),this[_0x1ce6ac(0x28d)][_0x1ce6ac(0x1d6)](new Map()),this[_0x1ce6ac(0x28d)][_0x1ce6ac(0x25b)](),this[_0x1ce6ac(0x328)][_0x1ce6ac(0x1d6)]([]),this[_0x1ce6ac(0x328)][_0x1ce6ac(0x25b)]();}[_0x195f34(0x1dc)](){const _0x704740=_0x195f34;this[_0x704740(0xf5)]||(this[_0x704740(0xf5)]=!0x0,this[_0x704740(0x1d0)]['sessionStatus$']['pipe'](_0x4a3af0[_0x704740(0x27b)](this[_0x704740(0x30e)]))['subscribe'](_0x1d121d=>{const _0x1b8961=_0x704740;_0x1d121d===_0x175918[_0x1b8961(0x1bc)][_0x1b8961(0x2e2)]?this[_0x1b8961(0x267)]():this[_0x1b8961(0x2b9)]();}),this[_0x704740(0x1d0)][_0x704740(0x13f)][_0x704740(0x2f3)](_0x4a3af0['takeUntil'](this['dispose$']))['subscribe'](_0x4bede6=>{const _0x37bac4=_0x704740,_0x41e232=_0x4bede6[_0x37bac4(0x274)];_0x41e232===_0x503ae1[_0x37bac4(0x250)]['UPDATE_CURSOR']&&this[_0x37bac4(0x203)](_0x4bede6),_0x41e232===_0x503ae1[_0x37bac4(0x250)][_0x37bac4(0x10a)]&&this[_0x37bac4(0x270)](_0x4bede6);}),this['disposeWithMe'](this[_0x704740(0x216)][_0x704740(0x2f9)](_0x1d9afa=>{const _0x2f4181=_0x704740,_0x43b45b=_0x1d9afa['params'];_0x43b45b!=null&&this[_0x2f4181(0x19c)]&&_0x1d9afa['id']===_0x121a01['SetTextSelectionsOperation']['id']&&_0x43b45b[_0x2f4181(0x28a)]===this[_0x2f4181(0x1e1)]&&_0x43b45b['isEditing']===!0x1&&_0x43b45b[_0x2f4181(0x31e)][_0x2f4181(0x2eb)]>0x0&&this[_0x2f4181(0x1c3)](_0x43b45b[_0x2f4181(0x31e)]);})),this[_0x704740(0x13a)][_0x704740(0x1dd)][_0x704740(0x2f3)](_0x4a3af0[_0x704740(0x27b)](this['dispose$']))[_0x704740(0x246)](_0x56ee3c=>{const _0x5ae7a0=_0x704740;if((_0x56ee3c==null?void 0x0:_0x56ee3c[_0x5ae7a0(0x1e1)])!==this[_0x5ae7a0(0x1e1)])return;const _0x2bf8e3={'eventID':_0x503ae1[_0x5ae7a0(0x250)][_0x5ae7a0(0xf1)],'data':_0x56ee3c};this[_0x5ae7a0(0x203)](_0x2bf8e3);}),this[_0x704740(0xd5)](this['_commandService']['onCommandExecuted'](_0x3018cc=>{const _0x184aec=_0x704740;if(_0x3018cc[_0x184aec(0x1a2)]==null)return;const _0x537331=_0x3018cc[_0x184aec(0x1a2)];if(_0x3018cc['id']!==_0x121a01[_0x184aec(0x205)]['id']||_0x537331[_0x184aec(0x28a)]!==this['unitID'])return;const _0x2cd022={'id':_0x184aec(0xdb),'params':_0x537331},_0x578926=this['cursorInfo'];for(const [_0x3a42b7,_0xb2182a]of _0x578926){const _0x2c88ab={'id':_0x184aec(0xdb),'params':{'unitId':this[_0x184aec(0x1e1)],'actions':null,'textRanges':_0xb2182a['ranges']}},_0x227cbd=this[_0x184aec(0x115)][_0x184aec(0x116)](_0x2cd022,_0x2c88ab,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x227cbd))throw _0x227cbd[_0x184aec(0x2a6)];_0x578926[_0x184aec(0x316)](_0x3a42b7,{..._0xb2182a,'ranges':_0x227cbd[_0x184aec(0xfa)][_0x184aec(0x1a2)][_0x184aec(0x100)]});}queueMicrotask(()=>{const _0x49f1ca=_0x184aec;this['_cursorInfo$'][_0x49f1ca(0x1d6)](_0x578926);});})));}[_0x195f34(0x203)](_0x56dc0c){const _0x58676e=_0x195f34;var _0x3440c5,_0x39fca3;const {memberID:_0x39fc36,selection:_0xe1352a}=_0x56dc0c[_0x58676e(0x2a4)],_0x3b3b9c=_0x36d8db(_0xe1352a),_0x56d645=(_0x39fca3=(_0x3440c5=this[_0x58676e(0x308)][_0x58676e(0x2f0)](this[_0x58676e(0x1e1)],_0x39fc36))==null?void 0x0:_0x3440c5[_0x58676e(0x185)])!=null?_0x39fca3:_0x58676e(0x1bb),_0x1c2aca={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x39fc36),'name':_0x56d645,'ranges':_0x3b3b9c},_0xe86839=this[_0x58676e(0x2e4)];_0xe86839[_0x58676e(0x316)](_0x39fc36,_0x1c2aca),this['_cursorInfo$'][_0x58676e(0x1d6)](_0xe86839);}[_0x195f34(0x270)](_0xdc3c5e){const _0xfa313d=_0x195f34,{memberID:_0x302736}=_0xdc3c5e[_0xfa313d(0x2a4)],_0x5c56a9=this[_0xfa313d(0x2e4)];_0x5c56a9['delete'](_0x302736),this['_cursorInfo$']['next'](_0x5c56a9);}['_toggleOnline'](){const _0x9b8acf=_0x195f34;var _0x4f53f4;if(this[_0x9b8acf(0x19c)]=!0x0,((_0x4f53f4=this[_0x9b8acf(0x1cb)]['getFocusedUnit']())==null?void 0x0:_0x4f53f4['getUnitId']())!==this[_0x9b8acf(0x1e1)])return;const _0xbfa07d=this['_injector'][_0x9b8acf(0x21a)](_0x121a01[_0x9b8acf(0x2a7)])[_0x9b8acf(0x2b2)]();Array['isArray'](_0xbfa07d)&&_0xbfa07d[_0x9b8acf(0x2eb)]>0x0&&this['_updateLocalCursor'](_0xbfa07d);}[_0x195f34(0x2b9)](){const _0x585cdb=_0x195f34;this[_0x585cdb(0x19c)]=!0x1;}};_0x366001=_0x57b9f7([_0xa0054(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0xa0054(0x3,_0x404026[_0x195f34(0x2ef)](_0x2d40ec)),_0xa0054(0x4,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x155)])),_0xa0054(0x5,_0x404026[_0x195f34(0x2ef)](_0x320f00)),_0xa0054(0x6,_0x503ae1[_0x195f34(0xec)]),_0xa0054(0x7,_0x404026[_0x195f34(0xc8)]),_0xa0054(0x8,_0x404026[_0x195f34(0x2ed)])],_0x366001);var _0x1bdcf5=Object[_0x195f34(0x242)],_0x500d45=(_0x14bc6,_0x36d9f3,_0x5bb0ce,_0x210ef7)=>{const _0x10f6e6=_0x195f34;for(var _0x5f2012=_0x210ef7>0x1?void 0x0:_0x210ef7?_0x1bdcf5(_0x36d9f3,_0x5bb0ce):_0x36d9f3,_0x25f759=_0x14bc6[_0x10f6e6(0x2eb)]-0x1,_0x509f97;_0x25f759>=0x0;_0x25f759--)(_0x509f97=_0x14bc6[_0x25f759])&&(_0x5f2012=_0x509f97(_0x5f2012)||_0x5f2012);return _0x5f2012;},_0x592a58=(_0x552a8e,_0x1c7543)=>(_0x5607b9,_0x1ad010)=>_0x1c7543(_0x5607b9,_0x1ad010,_0x552a8e);const _0x214ced=0x12c,_0x28c7a9=0x64,_0x49d51f=()=>{let _0x4e82fb=[],_0x254f2e=!0x1;return _0x1aaf13=>{_0x4e82fb['push'](_0x1aaf13),_0x254f2e||(_0x254f2e=!0x0,setTimeout(()=>{const _0x32a1ac=_0x2cf8;_0x4e82fb[_0x32a1ac(0x2ce)](_0x2bff11=>_0x2bff11()),_0x4e82fb=[],_0x254f2e=!0x1;}));};};let _0x523efd=class extends _0x404026['RxDisposable']{constructor(_0x4fb58d,_0x59d38f,_0x2be742,_0x1e61bd,_0x1ffac0,_0x560567,_0x366694,_0x36e9ac){const _0x5c6901=_0x195f34;super(),_0x2f983b(this,'_online',!0x1),_0x2f983b(this,'_init',!0x1),_0x2f983b(this,_0x5c6901(0x28d),new _0x4a3af0[(_0x5c6901(0x2d4))](new Map())),_0x2f983b(this,_0x5c6901(0x2dd),this[_0x5c6901(0x28d)][_0x5c6901(0x111)]()),_0x2f983b(this,'_roomMembers$',new _0x4a3af0[(_0x5c6901(0x2d4))]([])),_0x2f983b(this,_0x5c6901(0x2fd),this[_0x5c6901(0x328)][_0x5c6901(0x2f3)](_0x4a3af0[_0x5c6901(0x1a5)](_0x214ced))),_0x2f983b(this,_0x5c6901(0x1c3),_0x404026[_0x5c6901(0x2de)]((_0x56a200,_0x23df53)=>{const _0x32566a=_0x5c6901,_0x6d1c67={'eventID':_0x503ae1[_0x32566a(0x250)][_0x32566a(0xf1)],'data':{'unitID':this[_0x32566a(0x1e1)],'memberID':this[_0x32566a(0x1d0)][_0x32566a(0x19a)](),'selection':_0xe7f79b[_0x32566a(0x193)](_0x56a200,_0x23df53[_0x32566a(0x122)])}};this[_0x32566a(0x1d0)][_0x32566a(0x2b5)](_0x6d1c67,this[_0x32566a(0x1e1)]);},_0x28c7a9)),(this['unitID']=_0x4fb58d,this['_session']=_0x59d38f,this['_injector']=_0x2be742,this[_0x5c6901(0xee)]=_0x1e61bd,this['_memberService']=_0x1ffac0,this[_0x5c6901(0x1cb)]=_0x560567,this[_0x5c6901(0x216)]=_0x366694,this[_0x5c6901(0x2c0)]=_0x36e9ac);}get['cursorInfo'](){const _0x433370=_0x195f34;return this[_0x433370(0x28d)][_0x433370(0x14a)]();}get['roomMembers'](){const _0x82948d=_0x195f34;return this['_roomMembers$'][_0x82948d(0x14a)]();}['dispose'](){const _0x4fda44=_0x195f34;super[_0x4fda44(0x275)](),this[_0x4fda44(0x28d)][_0x4fda44(0x1d6)](new Map()),this[_0x4fda44(0x28d)][_0x4fda44(0x25b)](),this[_0x4fda44(0x328)][_0x4fda44(0x1d6)]([]),this['_roomMembers$']['complete']();}[_0x195f34(0x1dc)](){const _0x4d4581=_0x195f34;this[_0x4d4581(0xf5)]||(this[_0x4d4581(0xf5)]=!0x0,this[_0x4d4581(0x1d0)]['sessionStatus$'][_0x4d4581(0x2f3)](_0x4a3af0[_0x4d4581(0x27b)](this['dispose$']))[_0x4d4581(0x246)](_0x46112a=>{const _0x4dbcc4=_0x4d4581;_0x46112a===_0x175918[_0x4dbcc4(0x1bc)][_0x4dbcc4(0x2e2)]?this[_0x4dbcc4(0x267)]():this[_0x4dbcc4(0x2b9)]();}),this['_session']['event$'][_0x4d4581(0x2f3)](_0x4a3af0[_0x4d4581(0x27b)](this[_0x4d4581(0x30e)]))[_0x4d4581(0x246)](_0x4f2ebe=>{const _0x4da34c=_0x4d4581,_0x4a134a=_0x4f2ebe['eventID'];_0x4a134a===_0x503ae1['CollaborationEvent'][_0x4da34c(0xf1)]&&this[_0x4da34c(0x203)](_0x4f2ebe),_0x4a134a===_0x503ae1[_0x4da34c(0x250)][_0x4da34c(0x10a)]&&this[_0x4da34c(0x270)](_0x4f2ebe);}),this[_0x4d4581(0xd6)](),this[_0x4d4581(0xd5)](this[_0x4d4581(0x216)][_0x4d4581(0x2f9)](_0x2f7ded=>{const _0xa4a2af=_0x4d4581;if(this[_0xa4a2af(0x19c)]&&_0x2f7ded['id']===_0x431058[_0xa4a2af(0x29e)]['id']&&_0x2f7ded['params'][_0xa4a2af(0x28a)]===this[_0xa4a2af(0x1e1)]){const _0x224499=_0x2f7ded[_0xa4a2af(0x1a2)];this['_updateLocalCursor'](_0x224499[_0xa4a2af(0x33f)],_0x224499['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1f977d){const _0x7beafe=_0x195f34;var _0x5548b5,_0x2a473c;const {memberID:_0x5347e1,selection:_0x86440e}=_0x1f977d['data'],{sheetName:_0x250dc6,range:_0x252035}=_0xe7f79b[_0x7beafe(0x320)](_0x86440e),_0x573775={'name':(_0x2a473c=(_0x5548b5=this['_memberService']['getMember'](this['unitID'],_0x5347e1))==null?void 0x0:_0x5548b5[_0x7beafe(0x185)])!=null?_0x2a473c:'Unknown\x20user','range':this[_0x7beafe(0x2fb)](_0x250dc6,_0x252035),'sheetID':_0x250dc6,'color':this[_0x7beafe(0xee)][_0x7beafe(0x2b1)](_0x5347e1),'selection':_0x86440e},_0x267aee=this[_0x7beafe(0x2e4)];_0x267aee[_0x7beafe(0x316)](_0x5347e1,_0x573775),this[_0x7beafe(0x28d)][_0x7beafe(0x1d6)](_0x267aee);}['_onCursorDelete'](_0x39757b){const _0x412f3e=_0x195f34,{memberID:_0x1c0440}=_0x39757b['data'],_0x37bac6=this[_0x412f3e(0x2e4)];_0x37bac6[_0x412f3e(0x197)](_0x1c0440),this[_0x412f3e(0x28d)][_0x412f3e(0x1d6)](_0x37bac6);}[_0x195f34(0x2fb)](_0x5f5984,_0x300c6d){const _0x509385=_0x195f34;var _0x51af8e,_0x32cead;const _0x40ffb0=(_0x32cead=(_0x51af8e=this['_univerInstanceService'][_0x509385(0x243)](this[_0x509385(0x1e1)]))==null?void 0x0:_0x51af8e[_0x509385(0x296)](_0x5f5984))==null?void 0x0:_0x32cead[_0x509385(0x17a)]();return(_0x40ffb0==null?void 0x0:_0x40ffb0[_0x509385(0x1c1)](_0x5491a0=>_0x404026[_0x509385(0x143)][_0x509385(0x1b2)](_0x5491a0,_0x300c6d)))||_0x300c6d;}['_onRefRangeChange'](){const _0x4b387a=_0x195f34,_0x53c166=new _0x404026[(_0x4b387a(0x2d9))](),_0x2acb7e=_0x49d51f(),_0x470d0d=()=>{const _0x10c11c=_0x4b387a;_0x53c166[_0x10c11c(0x275)]();const _0x134efd=(_0x1e117a,_0x27f301,_0x558906,_0x2cdb50)=>{const _0x54a928=_0x10c11c;let _0x14c3b8=[];switch(_0x1e117a['id']){case _0x431058[_0x54a928(0x268)][_0x54a928(0x265)]:{_0x14c3b8=_0x431058['handleDeleteRangeMoveLeft'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x1a9)]:{_0x14c3b8=_0x431058[_0x54a928(0x2fa)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['InsertColCommandId']:{_0x14c3b8=_0x431058[_0x54a928(0x180)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x132)]:{_0x14c3b8=_0x431058[_0x54a928(0x158)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x25e)]:{_0x14c3b8=_0x431058[_0x54a928(0xd0)](_0x1e117a,_0x2cdb50);break;}case _0x431058['EffectRefRangId']['InsertRowCommandId']:{_0x14c3b8=_0x431058['handleInsertRow'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x312)]:{_0x14c3b8=_0x431058[_0x54a928(0x2f8)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['RemoveColCommandId']:{_0x14c3b8=_0x431058['handleIRemoveCol'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['RemoveRowCommandId']:{_0x14c3b8=_0x431058[_0x54a928(0x2e8)](_0x1e117a,_0x2cdb50);break;}}const _0xa5a427=_0x431058['runRefRangeMutations'](_0x14c3b8,_0x2cdb50),_0x47daf5=this[_0x54a928(0x2e4)][_0x54a928(0x21a)](_0x27f301);if(_0x47daf5&&_0xa5a427){const _0x2bd6fb={..._0x47daf5,'range':_0xa5a427};this[_0x54a928(0x2e4)]['set'](_0x27f301,_0x2bd6fb),_0x2acb7e(()=>{const _0x3ab31d=_0x54a928,_0x34bf48=this[_0x3ab31d(0x2c0)][_0x3ab31d(0x28f)](_0xa5a427,_0x46aedc=>(_0x34bf48[_0x3ab31d(0x275)](),_0x134efd(_0x46aedc,_0x27f301,_0x558906,_0xa5a427)));_0x53c166[_0x3ab31d(0x2f6)](_0x34bf48);});}return{'redos':[],'undos':[]};};this[_0x10c11c(0x2e4)]['forEach']((_0x318370,_0x58c604)=>{const _0x3acbec=_0x10c11c,{range:_0x4f7731,sheetID:_0x34d25e}=_0x318370,_0x375b8f=this[_0x3acbec(0x2c0)][_0x3acbec(0x28f)](_0x4f7731,_0x5b1da4=>(_0x375b8f[_0x3acbec(0x275)](),_0x134efd(_0x5b1da4,_0x58c604,_0x34d25e,_0x4f7731)));_0x53c166[_0x3acbec(0x2f6)](_0x375b8f);});};this[_0x4b387a(0xd5)](_0x404026['toDisposable'](this[_0x4b387a(0x28d)][_0x4b387a(0x246)](()=>{_0x470d0d();})));}[_0x195f34(0x267)](){const _0x535091=_0x195f34;var _0x35dfc1,_0x3919c;if(this[_0x535091(0x19c)]=!0x0,((_0x35dfc1=this['_univerInstanceService'][_0x535091(0x23f)]())==null?void 0x0:_0x35dfc1[_0x535091(0x19f)]())!==this['unitID'])return;const _0x3dd9b9=(_0x3919c=this[_0x535091(0x2df)][_0x535091(0x21a)](_0x431058[_0x535091(0x29b)])[_0x535091(0x19b)]())==null?void 0x0:_0x3919c[0x0],_0x5b01fc=this[_0x535091(0x1cb)][_0x535091(0x1cc)](_0x404026[_0x535091(0x290)][_0x535091(0x304)])['getActiveSheet']();_0x3dd9b9&&_0x5b01fc&&this[_0x535091(0x1c3)](_0x5b01fc[_0x535091(0x102)](),_0x3dd9b9);}['_toggleOffline'](){const _0x159f63=_0x195f34;this[_0x159f63(0x19c)]=!0x1;}};_0x523efd=_0x500d45([_0x592a58(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0x592a58(0x3,_0x404026['Inject'](_0x2d40ec)),_0x592a58(0x4,_0x404026['Inject'](_0x175918[_0x195f34(0x155)])),_0x592a58(0x5,_0x404026[_0x195f34(0xc8)]),_0x592a58(0x6,_0x404026[_0x195f34(0x2ed)]),_0x592a58(0x7,_0x404026['Inject'](_0x431058[_0x195f34(0x2f5)]))],_0x523efd);var _0x499650=Object['getOwnPropertyDescriptor'],_0x70fa28=(_0x1fa0b2,_0x23bb29,_0xa76936,_0x3a5b18)=>{const _0x3520a7=_0x195f34;for(var _0x799083=_0x3a5b18>0x1?void 0x0:_0x3a5b18?_0x499650(_0x23bb29,_0xa76936):_0x23bb29,_0x369155=_0x1fa0b2[_0x3520a7(0x2eb)]-0x1,_0x5c167b;_0x369155>=0x0;_0x369155--)(_0x5c167b=_0x1fa0b2[_0x369155])&&(_0x799083=_0x5c167b(_0x799083)||_0x799083);return _0x799083;},_0x1a7139=(_0x46b429,_0x210ea6)=>(_0x56af88,_0x2d3069)=>_0x210ea6(_0x56af88,_0x2d3069,_0x46b429);let _0x38d523=class extends _0x404026['RxDisposable']{constructor(_0x1b1648,_0x3995d0,_0x520cba){const _0x51d437=_0x195f34;super(),_0x2f983b(this,_0x51d437(0xc7),new Map()),_0x2f983b(this,_0x51d437(0x218),new _0x4a3af0[(_0x51d437(0x1ea))]()),(this['_univerInstanceService']=_0x1b1648,this['_injector']=_0x3995d0,this['_collabSessionService']=_0x520cba,this[_0x51d437(0xf5)]());}['dispose'](){const _0x3c2b55=_0x195f34;super['dispose'](),this[_0x3c2b55(0x218)][_0x3c2b55(0x25b)](),this[_0x3c2b55(0xc7)]['forEach'](_0x16979d=>_0x16979d['dispose']());}['getCollabCursors$'](_0xa6d8b3){const _0x58e482=_0x195f34;return this[_0x58e482(0xc7)][_0x58e482(0x2ee)](_0xa6d8b3)?this['_entities'][_0x58e482(0x21a)](_0xa6d8b3)['cursorInfo$']:this[_0x58e482(0x218)][_0x58e482(0x2f3)](_0x4a3af0[_0x58e482(0x1ca)](_0x115bdd=>_0x115bdd[_0x58e482(0x1e1)]===_0xa6d8b3),_0x4a3af0[_0x58e482(0x18e)](_0x10a090=>_0x10a090[_0x58e482(0x2dd)]));}[_0x195f34(0xf5)](){const _0x4ab66d=_0x195f34;this[_0x4ab66d(0x1cb)]['getTypeOfUnitAdded$'](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x304)])['pipe'](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))[_0x4ab66d(0x246)](async _0x564b76=>{const _0x2a4df7=_0x4ab66d,_0x139bab=_0x564b76[_0x2a4df7(0x19f)](),_0x41b4a3=await this[_0x2a4df7(0x1e4)](_0x139bab);this[_0x2a4df7(0x218)][_0x2a4df7(0x1d6)](_0x41b4a3),this['_entities'][_0x2a4df7(0x316)](_0x139bab,_0x41b4a3);}),this[_0x4ab66d(0x1cb)][_0x4ab66d(0x284)](_0x404026['UniverInstanceType'][_0x4ab66d(0x231)])[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x1ca)](_0x23e940=>!_0x23e940[_0x4ab66d(0x19f)]()[_0x4ab66d(0x2d6)]('__')))[_0x4ab66d(0x246)](async _0x982596=>{const _0x28c983=_0x4ab66d,_0x484e54=_0x982596[_0x28c983(0x19f)](),_0x33f1fc=await this[_0x28c983(0x25a)](_0x484e54);this[_0x28c983(0x218)][_0x28c983(0x1d6)](_0x33f1fc),this[_0x28c983(0xc7)][_0x28c983(0x316)](_0x484e54,_0x33f1fc);}),_0x4a3af0[_0x4ab66d(0x1b4)](this[_0x4ab66d(0x1cb)][_0x4ab66d(0x2c4)](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x231)]),this[_0x4ab66d(0x1cb)][_0x4ab66d(0x2c4)](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x304)]))[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))['subscribe'](_0x51ddb0=>{const _0x9b7cdf=_0x4ab66d,_0x1d76c4=_0x51ddb0['getUnitId'](),_0x4bc84c=this['_entities'][_0x9b7cdf(0x21a)](_0x1d76c4);_0x4bc84c&&(_0x4bc84c[_0x9b7cdf(0x275)](),this[_0x9b7cdf(0xc7)][_0x9b7cdf(0x197)](_0x1d76c4));});}async['_startSheetCollabCursor'](_0x4c1528){const _0x2a13dd=_0x195f34,_0x3fd7af=await this[_0x2a13dd(0x240)][_0x2a13dd(0xdd)](_0x4c1528),_0x28f86a=this[_0x2a13dd(0x2df)][_0x2a13dd(0x140)](_0x523efd,_0x4c1528,_0x3fd7af);return _0x28f86a[_0x2a13dd(0x1dc)](),_0x28f86a;}async['_startDocCollabCursor'](_0x5defe9){const _0x598d14=_0x195f34,_0x46f080=await this['_collabSessionService'][_0x598d14(0xdd)](_0x5defe9),_0x3c1edc=this[_0x598d14(0x2df)]['createInstance'](_0x366001,_0x5defe9,_0x46f080);return _0x3c1edc['init'](),_0x3c1edc;}};_0x38d523=_0x70fa28([_0x1a7139(0x0,_0x404026[_0x195f34(0xc8)]),_0x1a7139(0x1,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x1a7139(0x2,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x1ba)]))],_0x38d523);const _0x1e54db=0x14,_0x2067ed=0xc8,_0x4fbfa1=0x4,_0x37cbef=0x5;function _0x1a3e3e(_0xc326de,_0x418eac){const _0xee2bd1=_0x195f34;let {radius:_0x222e5b,width:_0x114cbe,height:_0x44b1ef}=_0x418eac;_0x222e5b=_0x222e5b!=null?_0x222e5b:0x0,_0x114cbe=_0x114cbe!=null?_0x114cbe:0x1e,_0x44b1ef=_0x44b1ef!=null?_0x44b1ef:0x1e;let _0x475381=0x0,_0x40ea8c=0x0,_0x223928=0x0;_0x475381=_0x40ea8c=_0x223928=Math[_0xee2bd1(0x2d2)](_0x222e5b,_0x114cbe/0x2,_0x44b1ef/0x2),_0xc326de[_0xee2bd1(0x1f0)](),_0xc326de[_0xee2bd1(0x247)](_0x475381,0x0),_0xc326de[_0xee2bd1(0x30d)](_0x114cbe-_0x40ea8c,0x0),_0xc326de[_0xee2bd1(0x236)](_0x114cbe-_0x40ea8c,_0x40ea8c,_0x40ea8c,Math['PI']*0x3/0x2,0x0,!0x1),_0xc326de[_0xee2bd1(0x30d)](_0x114cbe,_0x44b1ef-_0x223928),_0xc326de[_0xee2bd1(0x236)](_0x114cbe-_0x223928,_0x44b1ef-_0x223928,_0x223928,0x0,Math['PI']/0x2,!0x1),_0xc326de[_0xee2bd1(0x30d)](0x0,_0x44b1ef),_0xc326de[_0xee2bd1(0x30d)](0x0,_0x475381),_0xc326de[_0xee2bd1(0x236)](_0x475381,_0x475381,_0x475381,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc326de[_0xee2bd1(0x1d8)](),_0x418eac[_0xee2bd1(0x25c)]&&(_0xc326de[_0xee2bd1(0x29a)](),_0xc326de[_0xee2bd1(0x26b)]=_0x418eac[_0xee2bd1(0x25c)],_0x418eac[_0xee2bd1(0x307)]===_0xee2bd1(0xbe)?_0xc326de[_0xee2bd1(0x25c)]('evenodd'):_0xc326de[_0xee2bd1(0x25c)](),_0xc326de[_0xee2bd1(0x18a)]());}class _0x30b135 extends _0x112353[_0x195f34(0x226)]{constructor(_0x3247df,_0x37a5eb){const _0x5d0f87=_0x195f34;super(_0x3247df,_0x37a5eb),_0x2f983b(this,'color'),_0x2f983b(this,_0x5d0f87(0x204)),(this[_0x5d0f87(0xc0)]=_0x37a5eb==null?void 0x0:_0x37a5eb[_0x5d0f87(0xc0)],this[_0x5d0f87(0x204)]=_0x37a5eb==null?void 0x0:_0x37a5eb['text']);}static[_0x195f34(0x286)](_0x12db14,_0x563249){const _0x2040ca=_0x195f34,{text:_0x2f38c9,color:_0x38836a}=_0x563249;_0x12db14[_0x2040ca(0x29a)](),_0x12db14[_0x2040ca(0x30c)]=_0x2040ca(0x302);const _0x4ba751=_0x12db14[_0x2040ca(0x1ff)](_0x2f38c9)[_0x2040ca(0x2d3)],_0x9207df=Math['min'](_0x4ba751+0x2*_0x4fbfa1,_0x2067ed);_0x1a3e3e(_0x12db14,{'height':_0x1e54db,'radius':0x4,'width':_0x9207df,'fill':_0x38836a}),_0x12db14['fillStyle']=_0x2040ca(0x299);const _0x258693=_0x4fbfa1,_0xec5d10=_0x1e54db-_0x37cbef,_0x1ecd55=_0x2067ed-0x2*_0x4fbfa1;if(_0x4ba751>_0x1ecd55){let _0x4a4794='',_0x27f7e1=0x0;for(const _0x5bc3a5 of _0x2f38c9){const _0x48c3ad=_0x12db14['measureText'](_0x5bc3a5)[_0x2040ca(0x2d3)];if(_0x27f7e1+_0x48c3ad<=_0x1ecd55-_0x12db14[_0x2040ca(0x1ff)](_0x2040ca(0x28c))[_0x2040ca(0x2d3)])_0x4a4794+=_0x5bc3a5,_0x27f7e1+=_0x48c3ad;else{_0x4a4794+=_0x2040ca(0x28c);break;}}_0x12db14[_0x2040ca(0x11d)](_0x4a4794,_0x258693,_0xec5d10);}else _0x12db14['fillText'](_0x2f38c9,_0x258693,_0xec5d10);_0x12db14['restore']();}['_draw'](_0x2c7158){const _0x38514d=_0x195f34;_0x30b135[_0x38514d(0x286)](_0x2c7158,this);}}const _0x1754a8=_0x195f34(0x337),_0x184dc6='collab-text-range-',_0xeb5606=_0x195f34(0x16e),_0x530ee4=0x6,_0x173172=1.5,_0x35aa66=0x4,_0x4fdf29=1.5,_0x42e95c='rgba(255,\x20255,\x20255,\x200.01)';class _0x5c484e{constructor(_0x588293,_0x12ea96,_0xbc3ce0,_0x3c9b58){const _0x1ad889=_0x195f34;_0x2f983b(this,_0x1ad889(0x144),[]),_0x2f983b(this,_0x1ad889(0x29d),null),_0x2f983b(this,_0x1ad889(0x26f),null),_0x2f983b(this,_0x1ad889(0x108),null),_0x2f983b(this,_0x1ad889(0x11a),null),_0x2f983b(this,'_eventUnsubscribe',null),(this[_0x1ad889(0x294)]=_0x588293,this[_0x1ad889(0x277)]=_0x12ea96,this[_0x1ad889(0xff)]=_0xbc3ce0,this[_0x1ad889(0x336)]=_0x3c9b58,this[_0x1ad889(0x340)]());}set[_0x195f34(0x15b)](_0x56950c){const _0x8ce5b9=_0x195f34;_0x56950c?(this[_0x8ce5b9(0x108)]&&this[_0x8ce5b9(0x108)][_0x8ce5b9(0x1c0)](),this[_0x8ce5b9(0x26f)]&&this[_0x8ce5b9(0x26f)][_0x8ce5b9(0x253)]()):(this['_anchorDot']&&this[_0x8ce5b9(0x108)][_0x8ce5b9(0x253)](),this[_0x8ce5b9(0x26f)]&&this[_0x8ce5b9(0x26f)]['hide']());}[_0x195f34(0x275)](){const _0xadf099=_0x195f34;for(const _0x45b820 of this[_0xadf099(0x144)])_0x45b820[_0xadf099(0x275)]();this['_textBubble']&&this[_0xadf099(0x26f)][_0xadf099(0x275)](),this[_0xadf099(0x108)]&&this[_0xadf099(0x108)][_0xadf099(0x275)](),this['_anchor']&&this[_0xadf099(0x29d)][_0xadf099(0x275)](),this[_0xadf099(0x10c)]&&this[_0xadf099(0x10c)]();}[_0x195f34(0x340)](){const _0x12ab1e=_0x195f34;var _0x3862f5;const {_docSkeleton:_0x2bb60a,_document:_0x45cbd3}=this,{color:_0xed35f8,name:_0x4ff468,ranges:_0x15c753}=this['_cursor'],_0x8ad896=_0x45cbd3[_0x12ab1e(0xda)](),{docsLeft:_0x4394fc,docsTop:_0x540087}=_0x8ad896,_0x3810bc=new _0x2bec5e['NodePositionConvertToCursor'](_0x8ad896,_0x2bb60a);for(const {startOffset:_0x194c5f,endOffset:_0x2b8b0c,rangeType:_0x8f2be0,segmentId:_0x586308,segmentPage:_0x2ba62f,collapsed:_0x42260e,isActive:_0x593f43}of _0x15c753){const _0x1585ed=_0x2bb60a[_0x12ab1e(0x1fe)](_0x194c5f,!0x0,_0x586308,_0x2ba62f);let _0x36cf79=_0x2bb60a[_0x12ab1e(0x1fe)](_0x2b8b0c,!0x0,_0x586308,_0x2ba62f);if(_0x36cf79==null&&(_0x36cf79=_0x2bb60a['findNodePositionByCharIndex'](_0x2b8b0c-0x1,!0x1,_0x586308,_0x2ba62f)),_0x593f43){const {contentBoxPointGroup:_0x158662}=_0x3810bc[_0x12ab1e(0x179)](_0x36cf79,_0x36cf79);if(_0x158662[_0x12ab1e(0x2eb)]===0x0)continue;this[_0x12ab1e(0x2cc)](_0xed35f8,_0x158662,_0x4394fc,_0x540087,_0x4ff468),this['_eventUnsubscribe']=this[_0x12ab1e(0x1d4)]();}if(_0x1585ed&&_0x36cf79){if(_0x8f2be0===_0x404026['DOC_RANGE_TYPE'][_0x12ab1e(0x20f)]){const _0x50b8ef=new _0x2bec5e[(_0x12ab1e(0x23e))](_0x8ad896,_0x2bb60a),{pointGroup:_0x462ef5}=(_0x3862f5=_0x50b8ef[_0x12ab1e(0x179)](_0x1585ed,_0x36cf79))!=null?_0x3862f5:{};if(_0x462ef5==null||_0x462ef5['length']===0x0)continue;this[_0x12ab1e(0x213)](_0xed35f8,_0x462ef5,_0x4394fc,_0x540087);}else{if(!_0x42260e){const {borderBoxPointGroup:_0x302fc8}=_0x3810bc[_0x12ab1e(0x179)](_0x1585ed,_0x36cf79);if(_0x302fc8[_0x12ab1e(0x2eb)]===0x0)continue;this[_0x12ab1e(0x191)](_0xed35f8,_0x302fc8,_0x4394fc,_0x540087);}}}}}[_0x195f34(0x2cc)](_0x1809db,_0x1fe759,_0x1c7f51,_0x53f158,_0x223cc2){const _0x590896=_0x195f34,_0x3f8bb9=this[_0x590896(0x12a)](_0x1fe759),{left:_0x1fd7d6,top:_0x1ab06a,height:_0x4ba885}=_0x3f8bb9,_0x2f44a4=this[_0x590896(0x1c4)](),_0x51a3b2=_0x4fdf29/_0x2f44a4,_0x5a16ff=new _0x112353['Rect'](_0x1754a8+_0x404026[_0x590896(0x161)][_0x590896(0xe8)](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158,'height':_0x4ba885,'width':_0x173172,'fill':_0x1809db||_0x112353['getColor'](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'strokeWidth':_0x51a3b2,'stroke':_0x42e95c,'evented':!0x0});this[_0x590896(0x29d)]=_0x5a16ff,this[_0x590896(0x277)][_0x590896(0xd1)](_0x5a16ff,_0x2bec5e[_0x590896(0x21f)]);const _0x3610d1=new _0x112353[(_0x590896(0xdf))](_0x1754a8+_0x404026[_0x590896(0x161)]['generateRandomId'](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158-_0x35aa66/0x2,'height':_0x35aa66,'width':_0x35aa66,'fill':_0x1809db||_0x112353[_0x590896(0x323)](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'strokeWidth':0x0,'stroke':_0x1809db||_0x112353[_0x590896(0x323)](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'evented':!0x1});this[_0x590896(0x108)]=_0x3610d1,this[_0x590896(0x277)][_0x590896(0xd1)](_0x3610d1,_0x2bec5e['TEXT_RANGE_LAYER_INDEX']);const _0x3995b5=new _0x30b135(_0x1754a8+_0x404026['Tools'][_0x590896(0xe8)](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158-_0x1e54db,'text':_0x223cc2,'color':_0x1809db});this['_textBubble']=_0x3995b5,this[_0x590896(0x277)][_0x590896(0xd1)](_0x3995b5,_0x2bec5e[_0x590896(0x21f)]),this['_hover']=!0x1;}[_0x195f34(0x1d4)](){const _0x1fe39b=_0x195f34,_0x541e74=this[_0x1fe39b(0x29d)][_0x1fe39b(0x234)][_0x1fe39b(0x33d)](()=>{const _0x49b394=_0x1fe39b;this[_0x49b394(0x15b)]=!0x0;}),_0x3a9454=this[_0x1fe39b(0x29d)][_0x1fe39b(0x343)][_0x1fe39b(0x33d)](()=>{const _0x4ef988=_0x1fe39b;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x4ef988(0x11a)]=setTimeout(()=>{const _0x427e31=_0x4ef988;this[_0x427e31(0x15b)]=!0x1;},0x7d0);});return()=>{const _0xf8238=_0x1fe39b;_0x541e74[_0xf8238(0x241)](),_0x3a9454['unsubscribe']();};}['_drawTextRange'](_0x1cae7d,_0x1bcc6a,_0x3fea06,_0x3fd7f2){const _0x4337ce=_0x195f34,_0x9a743d=new _0x404026[(_0x4337ce(0x2b4))](_0x1cae7d)[_0x4337ce(0x19e)](0.2)[_0x4337ce(0x2fc)](),_0x1d2ec6=new _0x112353[(_0x4337ce(0x1f9))](_0x184dc6+_0x404026[_0x4337ce(0x161)][_0x4337ce(0xe8)](_0x530ee4),{'pointsGroup':_0x1bcc6a,'fill':_0x9a743d||_0x112353[_0x4337ce(0x323)](_0x404026[_0x4337ce(0x315)][_0x4337ce(0x33b)],0.2),'left':_0x3fea06,'top':_0x3fd7f2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1d2ec6),this[_0x4337ce(0x277)][_0x4337ce(0xd1)](_0x1d2ec6,_0x2bec5e[_0x4337ce(0x21f)]);}[_0x195f34(0x213)](_0xedae96,_0x29e649,_0x5e774d,_0x237431){const _0x81dd9a=_0x195f34,_0x15c8e1=new _0x404026[(_0x81dd9a(0x2b4))](_0xedae96)[_0x81dd9a(0x19e)](0.2)[_0x81dd9a(0x2fc)](),_0x2d71af=new _0x112353[(_0x81dd9a(0x1f9))](_0xeb5606+_0x404026[_0x81dd9a(0x161)]['generateRandomId'](_0x530ee4),{'pointsGroup':_0x29e649,'fill':_0x15c8e1||_0x112353[_0x81dd9a(0x323)](_0x404026[_0x81dd9a(0x315)][_0x81dd9a(0x33b)],0.2),'left':_0x5e774d,'top':_0x237431,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x81dd9a(0xbf)](_0x2d71af),this['_scene']['addObject'](_0x2d71af,_0x2bec5e[_0x81dd9a(0x21f)]);}['_getAnchorBounding'](_0x234f8b){const _0x27078b=_0x234f8b[0x0],_0x43ce3b=_0x27078b[0x0],_0x59daeb=_0x27078b[0x2],{x:_0x556393,y:_0x4fb881}=_0x43ce3b,{x:_0x19d469,y:_0x5d91d7}=_0x59daeb;return{'left':_0x556393,'top':_0x4fb881,'width':_0x19d469-_0x556393,'height':_0x5d91d7-_0x4fb881};}[_0x195f34(0x1c4)](){const _0x577e39=_0x195f34,{scaleX:_0x4a781c,scaleY:_0x51be2a}=this[_0x577e39(0x277)][_0x577e39(0x255)]();return Math['max'](_0x4a781c,_0x51be2a);}}var _0x318d39=Object[_0x195f34(0x242)],_0x1b6eb=(_0x3e941c,_0x16a075,_0x31a495,_0x36efe4)=>{const _0x164701=_0x195f34;for(var _0x1064b1=_0x36efe4>0x1?void 0x0:_0x36efe4?_0x318d39(_0x16a075,_0x31a495):_0x16a075,_0x43b419=_0x3e941c[_0x164701(0x2eb)]-0x1,_0x3c5999;_0x43b419>=0x0;_0x43b419--)(_0x3c5999=_0x3e941c[_0x43b419])&&(_0x1064b1=_0x3c5999(_0x1064b1)||_0x1064b1);return _0x1064b1;},_0x32e4ff=(_0x2bcde0,_0x253885)=>(_0x2269f9,_0x70eda8)=>_0x253885(_0x2269f9,_0x70eda8,_0x2bcde0);let _0xedb427=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x5a0ee8,_0x4915a6,_0x39ddf5,_0x439ca7,_0x3a8a05){const _0x53f3af=_0x195f34;super(),_0x2f983b(this,_0x53f3af(0x137),[]),_0x2f983b(this,_0x53f3af(0x20d),[]),(this['_context']=_0x5a0ee8,this[_0x53f3af(0x32d)]=_0x4915a6,this['_collabCursorController']=_0x39ddf5,this['_commandService']=_0x439ca7,this['_themeService']=_0x3a8a05,this[_0x53f3af(0xf5)]());}[_0x195f34(0xf5)](){const _0xedb892=_0x195f34,_0x16f6cb=this[_0xedb892(0x305)][_0xedb892(0x28a)],_0x2d890f=this[_0xedb892(0x32d)];this[_0xedb892(0xd5)](_0x4a3af0[_0xedb892(0x2ca)]([this['_collabCursorController'][_0xedb892(0x230)](_0x16f6cb),this['_themeService'][_0xedb892(0x345)]])[_0xedb892(0x2f3)](_0x59a115[_0xedb892(0xe1)](([_0x1b684e,_0xa64fbb])=>({'skeleton':_0x2d890f[_0xedb892(0x29c)](),'cursors':[..._0x1b684e[_0xedb892(0x113)]()]['flatMap'](_0x52ac1d=>({..._0x52ac1d,'color':_0xa64fbb[_0x52ac1d[_0xedb892(0xc0)]]}))})))[_0xedb892(0x246)](_0x22ec94=>{const _0x6d274a=_0xedb892;if(this[_0x6d274a(0x120)](),_0x22ec94){const {skeleton:_0x3ef1a3,cursors:_0x2a2a67}=_0x22ec94;this[_0x6d274a(0x206)](_0x3ef1a3,_0x2a2a67);}})),this[_0xedb892(0xf9)](),this[_0xedb892(0x264)]();}[_0x195f34(0x206)](_0x352b1a,_0x5dd731){const _0x27096b=_0x195f34,{scene:_0x30a871,mainComponent:_0x32b663}=this['_context'],_0x4ef4b1=_0x5dd731[_0x27096b(0xe1)](_0x1b0006=>new _0x5c484e(_0x1b0006,_0x30a871,_0x352b1a,_0x32b663));this[_0x27096b(0x137)]=_0x4ef4b1,this[_0x27096b(0x20d)]=_0x5dd731;}[_0x195f34(0x1a1)](){const _0x13978d=_0x195f34;this[_0x13978d(0x120)]();const {scene:_0x3f5055,mainComponent:_0x5aa993}=this[_0x13978d(0x305)],_0x118601=this['_docSkeletonManagerService'][_0x13978d(0x29c)](),_0x466a8a=this[_0x13978d(0x20d)][_0x13978d(0xe1)](_0x37d975=>new _0x5c484e(_0x37d975,_0x3f5055,_0x118601,_0x5aa993));this[_0x13978d(0x137)]=_0x466a8a;}[_0x195f34(0x120)](){const _0x4a5729=_0x195f34;this[_0x4a5729(0x137)]['forEach'](_0x5c340f=>_0x5c340f[_0x4a5729(0x275)]()),this[_0x4a5729(0x137)]=[];}['_initCommandExecutedListener'](){const _0x1eb141=_0x195f34,_0x3fe6d7=[_0x2bec5e[_0x1eb141(0x106)]['id']];this['disposeWithMe'](this[_0x1eb141(0x216)]['onCommandExecuted'](_0x18b6b0=>{const _0x18551a=_0x1eb141;_0x3fe6d7['includes'](_0x18b6b0['id'])&&_0x18b6b0[_0x18551a(0x1a2)][_0x18551a(0x28a)]===this['_context'][_0x18551a(0x28a)]&&this['_refreshCollabCursors']();}));}[_0x195f34(0xf9)](){const _0x13f955=_0x195f34;this[_0x13f955(0xd5)](_0x404026['fromEventSubject'](this[_0x13f955(0x305)][_0x13f955(0xf2)]['onTransformChange$'])['pipe'](_0x59a115['filter'](_0x1e2682=>_0x1e2682['type']===_0x112353[_0x13f955(0x142)]['resize']),_0x59a115[_0x13f955(0x20a)](0x10))[_0x13f955(0x246)](()=>{const _0x48bbbf=_0x13f955;this[_0x48bbbf(0x1a1)]();}));}};_0xedb427=_0x1b6eb([_0x32e4ff(0x1,_0x404026['Inject'](_0x121a01[_0x195f34(0x2dc)])),_0x32e4ff(0x2,_0x404026['Inject'](_0x38d523)),_0x32e4ff(0x3,_0x404026[_0x195f34(0x2ed)]),_0x32e4ff(0x4,_0x404026['Inject'](_0x404026['ThemeService']))],_0xedb427);const _0x2fde45=0x1,_0x4d34dc=1.5;class _0x3796fc extends _0x112353[_0x195f34(0x226)]{constructor(_0x3a224f,_0x19d42b){const _0x27f1d3=_0x195f34;super(_0x3a224f,_0x19d42b),_0x2f983b(this,_0x27f1d3(0x2d1)),_0x2f983b(this,_0x27f1d3(0xbd),!0x1),_0x2f983b(this,_0x27f1d3(0x303)),_0x2f983b(this,_0x27f1d3(0x1da),''),_0x2f983b(this,_0x27f1d3(0x101),'top'),_0x2f983b(this,_0x27f1d3(0x17e)),(_0x19d42b&&this['setShapeProps'](_0x19d42b),this[_0x27f1d3(0x234)][_0x27f1d3(0x33d)](()=>this[_0x27f1d3(0x25d)]({'hovered':!0x0})),this[_0x27f1d3(0x343)]['subscribeEvent'](()=>this[_0x27f1d3(0x25d)]({'hovered':!0x1})));}['setShapeProps'](_0x42b1b1){const _0x346f0f=_0x195f34;var _0x1b23e5,_0x11dae5,_0x31f622,_0x42a253,_0x1ab572,_0x19a8fc;this[_0x346f0f(0x2d1)]=(_0x1b23e5=_0x42b1b1[_0x346f0f(0xc0)])!=null?_0x1b23e5:this['_color'],this[_0x346f0f(0xbd)]=(_0x11dae5=_0x42b1b1[_0x346f0f(0x13b)])!=null?_0x11dae5:this[_0x346f0f(0xbd)],this['_range']=(_0x31f622=_0x42b1b1[_0x346f0f(0x122)])!=null?_0x31f622:this['_range'],this[_0x346f0f(0x1da)]=(_0x42a253=_0x42b1b1['name'])!=null?_0x42a253:this[_0x346f0f(0x1da)],this['_labelPosition']=(_0x1ab572=_0x42b1b1[_0x346f0f(0x169)])!=null?_0x1ab572:this[_0x346f0f(0x101)],this[_0x346f0f(0x17e)]=(_0x19a8fc=_0x42b1b1[_0x346f0f(0x110)])!=null?_0x19a8fc:this[_0x346f0f(0x17e)],this[_0x346f0f(0x217)]({'width':_0x42b1b1[_0x346f0f(0x2d3)],'height':_0x42b1b1[_0x346f0f(0x10f)]});}[_0x195f34(0x2d8)](_0x351e58){const _0x4d2fd1=_0x195f34,{row:_0x3d453c,column:_0x1133c5}=_0x351e58;if(_0x3d453c>=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x1e6)]&&_0x3d453c<=this[_0x4d2fd1(0x303)]['endRow']&&_0x1133c5>=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x292)]&&_0x1133c5<=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x10e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4d2fd1(0x25d)]({'hovered':!0x1});}[_0x195f34(0xfe)](_0x2e87aa){return!0x1;}[_0x195f34(0x136)](_0x4cd8e0){const _0x16c0e5=_0x195f34;_0x112353[_0x16c0e5(0xdf)]['drawWith'](_0x4cd8e0,{'width':this['width'],'height':this[_0x16c0e5(0x10f)],'strokeWidth':_0x4d34dc,'stroke':this[_0x16c0e5(0x2d1)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x16c0e5(0xbd)]&&(_0x4cd8e0[_0x16c0e5(0x29a)](),_0x4cd8e0['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x16c0e5(0x101)]===_0x16c0e5(0x227)?0x0:-0x14),_0x30b135[_0x16c0e5(0x286)](_0x4cd8e0,{'text':this[_0x16c0e5(0x1da)],'color':this['_color']}),_0x4cd8e0[_0x16c0e5(0x18a)]());}}var _0x5d511e=Object[_0x195f34(0x242)],_0x576b01=(_0x21e18d,_0x4d48c9,_0x1282b9,_0xdb67ff)=>{for(var _0x8f4e9d=_0xdb67ff>0x1?void 0x0:_0xdb67ff?_0x5d511e(_0x4d48c9,_0x1282b9):_0x4d48c9,_0x14c987=_0x21e18d['length']-0x1,_0x13e72a;_0x14c987>=0x0;_0x14c987--)(_0x13e72a=_0x21e18d[_0x14c987])&&(_0x8f4e9d=_0x13e72a(_0x8f4e9d)||_0x8f4e9d);return _0x8f4e9d;},_0x2dd67e=(_0x37b617,_0x5a488e)=>(_0x246874,_0x6b0e3a)=>_0x5a488e(_0x246874,_0x6b0e3a,_0x37b617);const _0x57c28a=0x1389;let _0x933b32=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x152ad2,_0x287968,_0x1208a8,_0x12d68a){const _0x43a0b5=_0x195f34;super(),_0x2f983b(this,'_cursors',new Set()),_0x2f983b(this,_0x43a0b5(0x224),null),(this['_context']=_0x152ad2,this[_0x43a0b5(0x1b3)]=_0x287968,this['_collabCursorController']=_0x1208a8,this[_0x43a0b5(0x167)]=_0x12d68a,this[_0x43a0b5(0xf5)]());}[_0x195f34(0xf5)](){const _0xd6ee31=_0x195f34;this[_0xd6ee31(0x1b3)][_0xd6ee31(0x1c6)][_0xd6ee31(0x2f3)](_0x59a115['takeUntil'](this[_0xd6ee31(0x30e)]),_0x59a115['switchMap'](_0x501edd=>{const _0x276328=_0xd6ee31;if(_0x501edd){const _0x2570b0=_0x501edd[_0x276328(0x2a8)];return _0x4a3af0[_0x276328(0x2ca)](this[_0x276328(0x22b)][_0x276328(0x230)](this[_0x276328(0x305)]['unitId']),this[_0x276328(0x167)][_0x276328(0x345)])['pipe'](_0x59a115['map'](([_0x2905c6,_0x5d748d])=>{const _0x1b95b3=new Map();return _0x2905c6['forEach']((_0x3309c6,_0x43bde8)=>{const _0x52b9f4=_0x2cf8;if(_0x3309c6[_0x52b9f4(0x141)]===_0x2570b0){const _0x63bb8f={..._0x3309c6};_0x63bb8f[_0x52b9f4(0xc0)]=_0x5d748d[_0x3309c6[_0x52b9f4(0xc0)]],_0x1b95b3[_0x52b9f4(0x316)](_0x43bde8,_0x63bb8f);}}),{'skeleton':_0x501edd,'cursors':_0x1b95b3};}));}return _0x4a3af0['of']({'skeleton':null,'cursors':new Map()});}))[_0xd6ee31(0x246)](({skeleton:_0x6998dd,cursors:_0x3d5d70})=>{this['_removeCollabCursors'](),_0x6998dd&&this['_updateCollabCursors'](_0x6998dd,_0x3d5d70);}),this[_0xd6ee31(0x1b3)]['currentSkeleton$'][_0xd6ee31(0x246)](_0x2d13ce=>{const _0x3f42cd=_0xd6ee31;if(_0x2d13ce==null)return;const {skeleton:_0x5289a5}=_0x2d13ce,{scene:_0x59e860}=this[_0x3f42cd(0x305)];_0x59e860[_0x3f42cd(0x263)][_0x3f42cd(0x33d)](_0x404026[_0x3f42cd(0x2de)](_0x20a62d=>{const _0x501b13=_0x3f42cd;var _0x536ea0,_0x59a045;const {offsetX:_0xe19196,offsetY:_0x260284}=_0x20a62d,{x:_0x4e5176,y:_0x368fd3}=_0x59e860[_0x501b13(0x32c)](_0x112353['Vector2'][_0x501b13(0x1c7)]([_0xe19196,_0x260284])),{scaleX:_0x56f294,scaleY:_0x1a4669}=_0x59e860[_0x501b13(0x255)](),_0x2042db=_0x59e860[_0x501b13(0x27c)](_0x112353[_0x501b13(0x26d)][_0x501b13(0x32f)]),_0x543100=_0x59e860[_0x501b13(0xba)](_0x112353[_0x501b13(0x1b0)][_0x501b13(0x1c7)]([_0x4e5176,_0x368fd3]),_0x2042db),_0x210f83=_0x5289a5[_0x501b13(0x1b8)](_0xe19196,_0x260284,_0x56f294,_0x1a4669,_0x543100);((_0x536ea0=this[_0x501b13(0x224)])==null?void 0x0:_0x536ea0[_0x501b13(0x26c)])===_0x210f83['column']&&((_0x59a045=this[_0x501b13(0x224)])==null?void 0x0:_0x59a045[_0x501b13(0x2fe)])===_0x210f83[_0x501b13(0x2fe)]||this[_0x501b13(0x20d)][_0x501b13(0x2ce)](_0x447fc5=>{const _0x2da9a5=_0x501b13;_0x447fc5[_0x2da9a5(0x2d8)](_0x210f83);});},0x64));});}[_0x195f34(0x206)](_0x208bcb,_0x2dc580){const _0x23a0f8=_0x195f34;var _0x3ebadf;const _0x3319bb=(_0x3ebadf=this[_0x23a0f8(0x1b3)][_0x23a0f8(0x29f)]())==null?void 0x0:_0x3ebadf['skeleton'];if(!_0x3319bb)return;const _0x31b7f8=this['_getSheetObject']();if(!_0x31b7f8)return;this['_cursors']['forEach'](_0x1109d5=>{const _0x17120b=_0x23a0f8;_0x1109d5[_0x17120b(0x1f5)]();});const {scene:_0x36182f}=_0x31b7f8,_0x47da43=_0x42d0a1(Array[_0x23a0f8(0xc4)](_0x2dc580[_0x23a0f8(0x113)]()))['map'](_0x595d28=>{const _0xcade8a=_0x23a0f8,{color:_0x4b13bd,range:_0x4d8665,name:_0x407f92,selection:_0x43aa27,sheetID:_0x4ff332}=_0x595d28,{startColumn:_0x14ed34,startRow:_0x133408,endColumn:_0x1befde,endRow:_0x1c35ca}=_0x4d8665,_0x3fb8cd=_0x954753[_0xcade8a(0x1b1)](_0x133408,_0x14ed34,_0x36182f,_0x3319bb),_0x55f4a6=_0x954753[_0xcade8a(0x1b1)](_0x1c35ca,_0x1befde,_0x36182f,_0x3319bb),{columnHeaderHeightAndMarginTop:_0x2d6169}=_0x3319bb,{startX:_0x3f62b2,startY:_0x4f967f}=_0x3fb8cd,{endX:_0x3ffae2,endY:_0x57e047}=_0x55f4a6,_0x1ed0fe=_0x3ffae2-_0x3f62b2,_0x8400f4=_0x57e047-_0x4f967f,_0x334e37={'labelPosition':_0x4f967f-_0x2d6169>=_0x1e54db?'top':'bottom','sheetID':_0x4ff332,'range':_0x4d8665,'color':_0x4b13bd,'name':_0x407f92,'selection':_0x43aa27,'left':_0x3f62b2,'top':_0x4f967f,'width':_0x1ed0fe,'height':_0x8400f4,'evented':!0x1,'zIndex':_0x57c28a};return new _0x3796fc(_0x407f92,_0x334e37);});_0x36182f[_0x23a0f8(0x2d5)](_0x47da43,_0x2fde45),this['_cursors']=new Set(_0x47da43);}['_removeCollabCursors'](){const _0x2baf0c=_0x195f34;var _0xb3cfd3;(_0xb3cfd3=this[_0x2baf0c(0x20d)])==null||_0xb3cfd3[_0x2baf0c(0x2ce)](_0x2cc661=>_0x2cc661[_0x2baf0c(0x275)]());}['_getSheetObject'](){const _0x572aad=_0x195f34;return _0x954753[_0x572aad(0x138)](this[_0x572aad(0x305)]['unit'],this['_context']);}};_0x933b32=_0x576b01([_0x2dd67e(0x1,_0x404026[_0x195f34(0x2ef)](_0x954753[_0x195f34(0x2ff)])),_0x2dd67e(0x2,_0x404026[_0x195f34(0x2ef)](_0x38d523)),_0x2dd67e(0x3,_0x404026['Inject'](_0x404026[_0x195f34(0x238)]))],_0x933b32);function _0x42d0a1(_0x49eb65){const _0x440c7a=_0x195f34,_0x2dd866=new Map();return _0x49eb65['forEach'](_0x52e502=>{const _0x494c1a=_0x2cf8;if(_0x2dd866[_0x494c1a(0x2ee)](_0x52e502[_0x494c1a(0x177)])){const _0x3f1bdc=_0x2dd866[_0x494c1a(0x21a)](_0x52e502[_0x494c1a(0x177)]);_0x3f1bdc[_0x494c1a(0x185)]+=',\x20'+_0x52e502[_0x494c1a(0x185)];}else _0x2dd866[_0x494c1a(0x316)](_0x52e502['selection'],_0x52e502);}),Array['from'](_0x2dd866[_0x440c7a(0x113)]());}var _0x3e01c6=function(){const _0x528236=_0x195f34;return _0x3e01c6=Object[_0x528236(0x1d5)]||function(_0x17b77f){const _0x386bf9=_0x528236;for(var _0x2e875d,_0x29992a=0x1,_0x5d0b44=arguments['length'];_0x29992a<_0x5d0b44;_0x29992a++){_0x2e875d=arguments[_0x29992a];for(var _0x2e07a0 in _0x2e875d)Object[_0x386bf9(0xbc)][_0x386bf9(0x335)][_0x386bf9(0x1d7)](_0x2e875d,_0x2e07a0)&&(_0x17b77f[_0x2e07a0]=_0x2e875d[_0x2e07a0]);}return _0x17b77f;},_0x3e01c6[_0x528236(0x225)](this,arguments);},_0x4f253f=function(_0x1bfc31,_0x270efe){const _0x43029d=_0x195f34;var _0x297beb={};for(var _0x3c773e in _0x1bfc31)Object[_0x43029d(0xbc)][_0x43029d(0x335)][_0x43029d(0x1d7)](_0x1bfc31,_0x3c773e)&&_0x270efe[_0x43029d(0x160)](_0x3c773e)<0x0&&(_0x297beb[_0x3c773e]=_0x1bfc31[_0x3c773e]);if(_0x1bfc31!=null&&typeof Object[_0x43029d(0x170)]==_0x43029d(0x18f)){for(var _0x292550=0x0,_0x3c773e=Object['getOwnPropertySymbols'](_0x1bfc31);_0x292550<_0x3c773e[_0x43029d(0x2eb)];_0x292550++)_0x270efe['indexOf'](_0x3c773e[_0x292550])<0x0&&Object[_0x43029d(0xbc)]['propertyIsEnumerable']['call'](_0x1bfc31,_0x3c773e[_0x292550])&&(_0x297beb[_0x3c773e[_0x292550]]=_0x1bfc31[_0x3c773e[_0x292550]]);}return _0x297beb;},_0x32663e=_0x3ac11['forwardRef'](function(_0x5bc7d4,_0x4e62a7){const _0x5053ca=_0x195f34;var _0x3c5e04=_0x5bc7d4['icon'],_0x14840d=_0x5bc7d4['id'],_0x450d20=_0x5bc7d4[_0x5053ca(0x2c1)],_0x591443=_0x5bc7d4[_0x5053ca(0x272)],_0x529eaf=_0x4f253f(_0x5bc7d4,['icon','id',_0x5053ca(0x2c1),_0x5053ca(0x272)]),_0x4a9f47='univerjs-icon\x20univerjs-icon-'[_0x5053ca(0x219)](_0x14840d,'\x20')[_0x5053ca(0x219)](_0x450d20||'')[_0x5053ca(0x24b)](),_0x18a13e=_0x3ac11[_0x5053ca(0x194)]('_'[_0x5053ca(0x219)](_0x1be95a()));return _0x36abaf(_0x3c5e04,''['concat'](_0x14840d),{'defIds':_0x3c5e04['defIds'],'idSuffix':_0x18a13e[_0x5053ca(0x1ef)]},_0x3e01c6({'ref':_0x4e62a7,'className':_0x4a9f47},_0x529eaf),_0x591443);});function _0x36abaf(_0x5d8dc0,_0x268e71,_0x328b86,_0x40948a,_0x5bd9f8){const _0x1db7ab=_0x195f34;return _0x3ac11[_0x1db7ab(0x295)](_0x5d8dc0[_0x1db7ab(0x196)],_0x3e01c6(_0x3e01c6({'key':_0x268e71},_0x5dd30f(_0x5d8dc0,_0x328b86,_0x5bd9f8)),_0x40948a),(_0x197273(_0x5d8dc0,_0x328b86)[_0x1db7ab(0x24c)]||[])['map'](function(_0x355f4d,_0x35879c){const _0x46e621=_0x1db7ab;return _0x36abaf(_0x355f4d,''[_0x46e621(0x219)](_0x268e71,'-')[_0x46e621(0x219)](_0x5d8dc0[_0x46e621(0x196)],'-')[_0x46e621(0x219)](_0x35879c),_0x328b86,void 0x0,_0x5bd9f8);}));}function _0x5dd30f(_0x10922a,_0x309c48,_0x1dc490){const _0x58f5f6=_0x195f34;var _0x2146ba=_0x3e01c6({},_0x10922a[_0x58f5f6(0x239)]);_0x1dc490!=null&&_0x1dc490['colorChannel1']&&_0x2146ba[_0x58f5f6(0x25c)]==='colorChannel1'&&(_0x2146ba[_0x58f5f6(0x25c)]=_0x1dc490['colorChannel1']),_0x10922a['tag']===_0x58f5f6(0x280)&&_0x2146ba['id']&&(_0x2146ba['id']=_0x2146ba['id']+_0x309c48['idSuffix']),Object[_0x58f5f6(0x12f)](_0x2146ba)[_0x58f5f6(0x2ce)](function(_0x5b2f16){const _0xe92e7e=_0x58f5f6;var _0x4057f6=_0x5b2f16[0x0],_0x277a1e=_0x5b2f16[0x1];_0x4057f6===_0xe92e7e(0x280)&&typeof _0x277a1e==_0xe92e7e(0x148)&&(_0x2146ba[_0x4057f6]=_0x277a1e[_0xe92e7e(0x16f)](/url\(#(.*)\)/,_0xe92e7e(0x31a)[_0xe92e7e(0x219)](_0x309c48['idSuffix'],')')));});var _0x1aec5c=_0x309c48['defIds'];return!_0x1aec5c||_0x1aec5c[_0x58f5f6(0x2eb)]===0x0||(_0x10922a[_0x58f5f6(0x196)]===_0x58f5f6(0x22d)&&_0x2146ba[_0x58f5f6(0xc3)]&&(_0x2146ba[_0x58f5f6(0xc3)]=_0x2146ba[_0x58f5f6(0xc3)]+_0x309c48[_0x58f5f6(0x31f)]),Object[_0x58f5f6(0x12f)](_0x2146ba)[_0x58f5f6(0x2ce)](function(_0x584a71){const _0x2be8ab=_0x58f5f6;var _0x2441ee=_0x584a71[0x0],_0x4c1db8=_0x584a71[0x1];typeof _0x4c1db8==_0x2be8ab(0x148)&&(_0x2146ba[_0x2441ee]=_0x4c1db8[_0x2be8ab(0x16f)](/url\(#(.*)\)/,_0x2be8ab(0x31a)[_0x2be8ab(0x219)](_0x309c48['idSuffix'],')')));})),_0x2146ba;}function _0x197273(_0x46168e,_0x3a4edf){const _0x541a74=_0x195f34;var _0x443a9c,_0x118636=_0x3a4edf[_0x541a74(0x1e9)];return!_0x118636||_0x118636['length']===0x0?_0x46168e:_0x46168e[_0x541a74(0x196)]===_0x541a74(0x25f)&&(!((_0x443a9c=_0x46168e[_0x541a74(0x24c)])===null||_0x443a9c===void 0x0)&&_0x443a9c[_0x541a74(0x2eb)])?_0x3e01c6(_0x3e01c6({},_0x46168e),{'children':_0x46168e[_0x541a74(0x24c)]['map'](function(_0x4af67f){const _0x2454ae=_0x541a74;return typeof _0x4af67f[_0x2454ae(0x239)]['id']==_0x2454ae(0x148)&&_0x118636&&_0x118636[_0x2454ae(0x160)](_0x4af67f[_0x2454ae(0x239)]['id'])>-0x1?_0x3e01c6(_0x3e01c6({},_0x4af67f),{'attrs':_0x3e01c6(_0x3e01c6({},_0x4af67f['attrs']),{'id':_0x4af67f['attrs']['id']+_0x3a4edf[_0x2454ae(0x31f)]})}):_0x4af67f;})}):_0x46168e;}function _0x1be95a(){const _0x1dce32=_0x195f34;return Math['random']()[_0x1dce32(0x2a2)](0x24)['substring'](0x2,0x8);}_0x32663e['displayName']=_0x195f34(0x2be);var _0xd2d90f={'tag':_0x195f34(0x24e),'attrs':{'fill':_0x195f34(0xc9),'viewBox':_0x195f34(0x20c),'width':_0x195f34(0x172),'height':_0x195f34(0x172)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f34(0x1af)},'children':[{'tag':_0x195f34(0x14f),'attrs':{'stroke':_0x195f34(0xf0),'d':_0x195f34(0x21d),'strokeLinecap':_0x195f34(0x266),'strokeLinejoin':_0x195f34(0x266),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x195f34(0x221),'attrs':{'id':_0x195f34(0x23c)},'children':[{'tag':_0x195f34(0x14f),'attrs':{'fill':_0x195f34(0x1a8),'d':_0x195f34(0x28e)}}]}]}],'defIds':[_0x195f34(0x23c)]},_0x4d3929=_0x3ac11[_0x195f34(0x12b)](function(_0x270441,_0x4d9138){const _0x406aa7=_0x195f34;return _0x3ac11['createElement'](_0x32663e,Object[_0x406aa7(0x1d5)]({},_0x270441,{'id':_0x406aa7(0x2a5),'ref':_0x4d9138,'icon':_0xd2d90f}));});_0x4d3929[_0x195f34(0x107)]=_0x195f34(0x130);var _0x2adcd3={'tag':_0x195f34(0x24e),'attrs':{'fill':_0x195f34(0xc9),'viewBox':_0x195f34(0x2f4),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x195f34(0x14f),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x195f34(0x266),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x195f34(0x25f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x195f34(0x14f),'attrs':{'fill':_0x195f34(0x1a8),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x195f34(0x14d)]},_0x50e2ac=_0x3ac11[_0x195f34(0x12b)](function(_0x1d07ca,_0x44f9e2){const _0x4b69d2=_0x195f34;return _0x3ac11['createElement'](_0x32663e,Object[_0x4b69d2(0x1d5)]({},_0x1d07ca,{'id':'on-line-single','ref':_0x44f9e2,'icon':_0x2adcd3}));});_0x50e2ac['displayName']=_0x195f34(0x208);function _0xfd15ef(_0x578d92){const _0x24870f=_0x195f34;switch(_0x578d92){case _0x175918[_0x24870f(0x22f)][_0x24870f(0x121)]:return _0x24870f(0xe4);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x11f)]:return _0x24870f(0x1f1);case _0x175918['CollaborationStatus']['FETCH_MISS']:return _0x24870f(0x195);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x2c5)]:return _0x24870f(0x1e3);case _0x175918[_0x24870f(0x22f)]['AWAITING']:case _0x175918[_0x24870f(0x22f)]['AWAITING_WITH_PENDING']:return _0x24870f(0x2b8);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x318)]:case _0x175918[_0x24870f(0x22f)][_0x24870f(0x14e)]:return _0x24870f(0x30b);}}function _0x5c1945(_0xc4c9ad){const _0x11c756=_0x195f34,{status$:_0x2d57f2}=_0xc4c9ad,_0x58a0f0=_0x4ebc0a[_0x11c756(0x2e0)](_0x2d57f2,_0x175918[_0x11c756(0x22f)][_0x11c756(0x2c5)]),_0x46a249=_0x4ebc0a[_0x11c756(0xef)](_0x404026[_0x11c756(0x146)]),_0x155631=_0x4ebc0a[_0x11c756(0xef)](_0x175918[_0x11c756(0x1ba)]),_0x53446a=_0x58a0f0!==_0x175918[_0x11c756(0x22f)][_0x11c756(0x121)],_0x454db0=_0x46a249['t'](_0xfd15ef(_0x58a0f0)),_0x222363=_0x53446a?_0x59c8dc[_0x11c756(0x1bf)](_0x50e2ac,{}):_0x59c8dc['jsx'](_0x4d3929,{}),_0x303f69=_0x3ac11[_0x11c756(0x114)](()=>{const _0x58f7a4=_0x11c756;_0x53446a||_0x155631[_0x58f7a4(0xfd)]();},[_0x53446a,_0x155631]);function _0x100685(){const _0x376a9f=_0x11c756;return _0x59c8dc[_0x376a9f(0x2bb)](_0x376a9f(0x26a),{'className':'univer-flex\x20univer-items-center','onClick':_0x303f69,'children':[_0x59c8dc[_0x376a9f(0x1bf)](_0x376a9f(0x26a),{'className':_0x62b316[_0x376a9f(0x293)](_0x376a9f(0xd2),_0x53446a?_0x376a9f(0x260):'univer-text-red-500'),'children':_0x222363}),_0x59c8dc[_0x376a9f(0x1bf)](_0x376a9f(0x26a),{'className':_0x376a9f(0x1d2),'children':_0x454db0})]});}return _0x53446a?_0x100685():_0x59c8dc[_0x11c756(0x1bf)](_0x62b316['Tooltip'],{'title':_0x46a249['t']('collab-client.tooltip.reconnect'),'children':_0x100685()});}var _0x5ea0f1=Object['getOwnPropertyDescriptor'],_0x16ea35=(_0x31fd78,_0x2dc403,_0x4c73f8,_0x497a82)=>{const _0x409252=_0x195f34;for(var _0x2b0052=_0x497a82>0x1?void 0x0:_0x497a82?_0x5ea0f1(_0x2dc403,_0x4c73f8):_0x2dc403,_0x4ef6f2=_0x31fd78[_0x409252(0x2eb)]-0x1,_0x1fb001;_0x4ef6f2>=0x0;_0x4ef6f2--)(_0x1fb001=_0x31fd78[_0x4ef6f2])&&(_0x2b0052=_0x1fb001(_0x2b0052)||_0x2b0052);return _0x2b0052;},_0x5ab59f=(_0x30924b,_0x12c432)=>(_0x1d7ff9,_0x51c062)=>_0x12c432(_0x1d7ff9,_0x51c062,_0x30924b);_0x1db428['DesktopCollaborationStatusDisplayController']=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x5d99ff,_0x27c85c,_0x5173af,_0x5c2cec){const _0x1f3a2d=_0x195f34;super(),_0x2f983b(this,_0x1f3a2d(0x2f1),new _0x4a3af0['BehaviorSubject'](_0x175918[_0x1f3a2d(0x22f)][_0x1f3a2d(0x2c5)])),(this[_0x1f3a2d(0x1cb)]=_0x5d99ff,this[_0x1f3a2d(0x2df)]=_0x27c85c,this['_collaborationController']=_0x5173af,this[_0x1f3a2d(0x32a)]=_0x5c2cec,this['_initStatusComponent'](),this[_0x1f3a2d(0x223)]());}[_0x195f34(0x223)](){const _0x24b8ea=_0x195f34;this['disposeWithMe'](this[_0x24b8ea(0x1cb)][_0x24b8ea(0x15a)]['pipe'](_0x4a3af0[_0x24b8ea(0x18e)](()=>{const _0x42ce8d=_0x24b8ea,_0x2d6941=this[_0x42ce8d(0x1cb)]['getFocusedUnit']();return _0x2d6941?this[_0x42ce8d(0x174)][_0x42ce8d(0x109)](_0x2d6941[_0x42ce8d(0x19f)]()):_0x4a3af0['of'](null);}),_0x4a3af0[_0x24b8ea(0x18e)](_0x4c1b6a=>_0x4c1b6a?_0x4c1b6a['status$']:_0x4a3af0['of'](_0x175918[_0x24b8ea(0x22f)][_0x24b8ea(0x2c5)])))['subscribe'](_0x422788=>{const _0x3521f2=_0x24b8ea;this[_0x3521f2(0x2f1)]['next'](_0x422788);}));}[_0x195f34(0x1ad)](){const _0x574236=_0x195f34;this[_0x574236(0xd5)](this[_0x574236(0x32a)][_0x574236(0x117)](_0x4ebc0a['BuiltInUIPart'][_0x574236(0x2da)],()=>_0x4ebc0a['connectInjector'](_0x4c92e4({'status$':this[_0x574236(0x2f1)][_0x574236(0x111)]()}),this['_injector'])));}},_0x1db428[_0x195f34(0x1b6)]=_0x16ea35([_0x5ab59f(0x0,_0x404026['IUniverInstanceService']),_0x5ab59f(0x1,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x5ab59f(0x2,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x27d)])),_0x5ab59f(0x3,_0x4ebc0a[_0x195f34(0x222)])],_0x1db428['DesktopCollaborationStatusDisplayController']);function _0x4c92e4(_0x4209d6){const {status$:_0x35e131}=_0x4209d6;return function(){const _0x398299=_0x2cf8;return _0x59c8dc[_0x398299(0x1bf)](_0x5c1945,{'status$':_0x35e131});};}var _0x140c2f=Object[_0x195f34(0x242)],_0x3c056f=(_0x15fb9a,_0x142fe5,_0x350841,_0x5b9107)=>{const _0xab75e5=_0x195f34;for(var _0x1e8054=_0x5b9107>0x1?void 0x0:_0x5b9107?_0x140c2f(_0x142fe5,_0x350841):_0x142fe5,_0x1a5899=_0x15fb9a[_0xab75e5(0x2eb)]-0x1,_0x18a93d;_0x1a5899>=0x0;_0x1a5899--)(_0x18a93d=_0x15fb9a[_0x1a5899])&&(_0x1e8054=_0x18a93d(_0x1e8054)||_0x1e8054);return _0x1e8054;},_0x220097=(_0x176643,_0x1ad3f0)=>(_0x24dd99,_0x45cb7e)=>_0x1ad3f0(_0x24dd99,_0x45cb7e,_0x176643);let _0x214987=class extends _0x404026['Disposable']{constructor(_0x17d552,_0x3d78fc,_0x14af99,_0x265323,_0x5050c8,_0x48eaee){const _0x439da6=_0x195f34;super(),this[_0x439da6(0x314)]=_0x17d552,this[_0x439da6(0x287)]=_0x3d78fc,this['_collaborationUIEventService']=_0x14af99,this['_messageService']=_0x265323,this[_0x439da6(0x229)]=_0x5050c8,this['_localeService']=_0x48eaee,this[_0x439da6(0x1a7)](),this[_0x439da6(0x281)]();}[_0x195f34(0x1a7)](){const _0x52e590=_0x195f34;this[_0x52e590(0xd5)](this[_0x52e590(0x314)]['registerBeforeClose'](()=>{const _0xd2fb0e=_0x52e590;if(this[_0xd2fb0e(0x287)]['saveTaskMap'][_0xd2fb0e(0x129)])return this[_0xd2fb0e(0x254)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x43f8be=_0x195f34;this[_0x43f8be(0xd5)](this[_0x43f8be(0x157)][_0x43f8be(0x13f)][_0x43f8be(0x246)](_0x39b105=>{const _0x39ffdb=_0x43f8be;_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x2c6)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x220)],'content':this['_localeService']['t'](_0x39ffdb(0x15e))}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x207)]&&this['_messageService'][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x220)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)]['PERMISSION_DENIED']&&this[_0x39ffdb(0x229)][_0x39ffdb(0x253)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x39ffdb(0x254)]['t'](_0x39ffdb(0x2aa)),'type':_0x39ffdb(0x2a6),'duration':0x0}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x11f)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316['MessageType'][_0x39ffdb(0x2bc)],'content':this['_localeService']['t'](_0x39ffdb(0x257))+'('+_0x39b105[_0x39ffdb(0x2a4)]+')'}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)]['JOIN_ROOM_FAILED']&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316['MessageType'][_0x39ffdb(0x220)],'content':this['_localeService']['t'](_0x39b105[_0x39ffdb(0x2a4)]||'')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x22c)]&&this[_0x39ffdb(0x1ac)]['show']({'type':_0x62b316[_0x39ffdb(0x10d)]['Warning'],'content':this[_0x39ffdb(0x254)]['t']('session.will-retry')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x1ee)]&&this[_0x39ffdb(0x1ac)]['show']({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x2bc)],'content':this[_0x39ffdb(0x254)]['t']('session.connection-failed')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x13c)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x2bc)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x214987=_0x3c056f([_0x220097(0x0,_0x4ebc0a[_0x195f34(0x189)]),_0x220097(0x1,_0x175918[_0x195f34(0x128)]),_0x220097(0x2,_0x404026['Inject'](_0x175918[_0x195f34(0xf7)])),_0x220097(0x3,_0x4ebc0a[_0x195f34(0x156)]),_0x220097(0x4,_0x4ebc0a[_0x195f34(0x186)]),_0x220097(0x5,_0x404026[_0x195f34(0x2ef)](_0x404026['LocaleService']))],_0x214987);const _0xc59c41='collaboration-client-ui.config',_0x5849fd={},_0x2332d6=_0x404026['createIdentifier'](_0x195f34(0x1aa));var _0x19dc26=Object[_0x195f34(0x242)],_0x663384=(_0x63aa1e,_0x3950d0,_0x25ec18,_0x315c11)=>{const _0x1c7028=_0x195f34;for(var _0x473cb2=_0x315c11>0x1?void 0x0:_0x315c11?_0x19dc26(_0x3950d0,_0x25ec18):_0x3950d0,_0x288955=_0x63aa1e[_0x1c7028(0x2eb)]-0x1,_0x4e411a;_0x288955>=0x0;_0x288955--)(_0x4e411a=_0x63aa1e[_0x288955])&&(_0x473cb2=_0x4e411a(_0x473cb2)||_0x473cb2);return _0x473cb2;},_0xd8b454=(_0x591f9e,_0x1cf081)=>(_0x3ebdbf,_0x591d77)=>_0x1cf081(_0x3ebdbf,_0x591d77,_0x591f9e);_0x1db428[_0x195f34(0x2b0)]=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x42d609,_0x511b06,_0x206780,_0x427015,_0x2ec56b){const _0x472122=_0x195f34;super(),this[_0x472122(0xd7)]=_0x42d609,this[_0x472122(0x332)]=_0x511b06,this[_0x472122(0x216)]=_0x206780,this[_0x472122(0x192)]=_0x427015,_0x2ec56b?_0x2ec56b==null||_0x2ec56b[_0x472122(0x285)]()[_0x472122(0x119)](()=>this[_0x472122(0xf5)]()):(this['_logService'][_0x472122(0xf3)](_0x472122(0x202),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x472122(0xf5)]());}async[_0x195f34(0xf5)](){const _0x95d174=_0x195f34,_0x45d744=this['_urlService'][_0x95d174(0x321)]('unit'),_0x2e6da9=this[_0x95d174(0xd7)][_0x95d174(0x321)](_0x95d174(0x2a9)),_0x4dd8f8=this[_0x95d174(0xd7)][_0x95d174(0x321)](_0x95d174(0x2e5));if(!_0x45d744||!_0x2e6da9){this['_logService'][_0x95d174(0xf3)](_0x95d174(0x202),_0x95d174(0x1e7));return;}const _0x373ea6=await this[_0x95d174(0x192)]['loadUnit'](_0x45d744,Number(_0x2e6da9),_0x4dd8f8);_0x373ea6&&_0x373ea6 instanceof _0x404026[_0x95d174(0xe9)]&&this['_setupSubUnitSync'](_0x373ea6);}async['_setupSubUnitSync'](_0x5365b9){const _0xc8172f=_0x195f34;await this[_0xc8172f(0x188)](_0x5365b9),_0x5365b9['activeSheet$'][_0xc8172f(0x2f3)](_0x4a3af0['takeUntil'](this[_0xc8172f(0x30e)]))[_0xc8172f(0x246)](_0x7ae4b0=>{_0x7ae4b0&&this['_updateURLWithCurrentState'](_0x7ae4b0);}),this[_0xc8172f(0xd7)]['urlChange$'][_0xc8172f(0x2f3)](_0x4a3af0[_0xc8172f(0x27b)](this[_0xc8172f(0x30e)]))[_0xc8172f(0x246)](()=>this[_0xc8172f(0x188)](_0x5365b9));}[_0x195f34(0x105)](_0x3983f6,_0x15fd74=!0x1){const _0x3f960d=_0x195f34,_0x16d308=this[_0x3f960d(0xd7)][_0x3f960d(0x321)]('subunit');_0x3983f6[_0x3f960d(0x102)]()!==_0x16d308&&this[_0x3f960d(0xd7)][_0x3f960d(0x1de)]('subunit',_0x3983f6[_0x3f960d(0x102)](),_0x15fd74);}async[_0x195f34(0x188)](_0x1382f7){const _0x2e08f6=_0x195f34;var _0x338fa0;const _0x4a2f4e=this[_0x2e08f6(0xd7)][_0x2e08f6(0x321)]('subunit');if(!_0x4a2f4e||!_0x1382f7[_0x2e08f6(0x296)](_0x4a2f4e)){const _0x1d8180=_0x1382f7[_0x2e08f6(0x306)]()[0x0],_0x2f2356=_0x1382f7[_0x2e08f6(0x296)](_0x1d8180);if(!_0x2f2356)return;this[_0x2e08f6(0x105)](_0x2f2356,!0x0),await this[_0x2e08f6(0x216)][_0x2e08f6(0x33c)](_0x431058[_0x2e08f6(0x333)]['id'],{'unitId':_0x1382f7['getUnitId'](),'subUnitId':_0x1d8180});return;}((_0x338fa0=_0x1382f7['getActiveSheet']())==null?void 0x0:_0x338fa0[_0x2e08f6(0x102)]())!==_0x4a2f4e&&await this[_0x2e08f6(0x216)][_0x2e08f6(0x33c)](_0x431058[_0x2e08f6(0x333)]['id'],{'unitId':_0x1382f7[_0x2e08f6(0x19f)](),'subUnitId':_0x4a2f4e});}},_0x1db428[_0x195f34(0x2b0)]=_0x663384([_0xd8b454(0x0,_0x2332d6),_0xd8b454(0x1,_0x404026[_0x195f34(0x21e)]),_0xd8b454(0x2,_0x404026[_0x195f34(0x2ed)]),_0xd8b454(0x3,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x31c)])),_0xd8b454(0x4,_0x404026[_0x195f34(0x22a)](_0x554860['IRemoteInstanceService']))],_0x1db428['CollaborationDataLoaderController']);var _0x165128=Object[_0x195f34(0x242)],_0x2a6dab=(_0xafcfe2,_0x127b7e,_0x19c66b,_0x3a9825)=>{const _0x2229c1=_0x195f34;for(var _0x436c1a=_0x3a9825>0x1?void 0x0:_0x3a9825?_0x165128(_0x127b7e,_0x19c66b):_0x127b7e,_0x52b22d=_0xafcfe2[_0x2229c1(0x2eb)]-0x1,_0x3bf1e2;_0x52b22d>=0x0;_0x52b22d--)(_0x3bf1e2=_0xafcfe2[_0x52b22d])&&(_0x436c1a=_0x3bf1e2(_0x436c1a)||_0x436c1a);return _0x436c1a;},_0x30ea1b=(_0x38fe24,_0x13c47f)=>(_0x16ce49,_0x4aadfb)=>_0x13c47f(_0x16ce49,_0x4aadfb,_0x38fe24);let _0x30d443=class{constructor(_0x4dde13,_0x49cfb9,_0x48cfb2){const _0x2b632a=_0x195f34;this[_0x2b632a(0x2df)]=_0x4dde13,this['_transformService']=_0x49cfb9,this[_0x2b632a(0x1c8)]=_0x48cfb2;}[_0x195f34(0x338)](_0x39273f){const _0x4d6bc4=_0x195f34;this['_transformUndoRedoStack'](_0x39273f),this[_0x4d6bc4(0x1c5)](_0x39273f);}[_0x195f34(0x2c9)](_0x184ab3){const _0x19e3fc=_0x195f34,{unitID:_0x2384f3}=_0x184ab3,_0x312c86=this[_0x19e3fc(0x1c8)][_0x19e3fc(0x310)](_0x2384f3)[_0x19e3fc(0x16d)](_0x2bec5e[_0x19e3fc(0x211)]),{redoCache:_0x1190b4}=_0x312c86[_0x19e3fc(0x244)]();if(_0x1190b4[_0x19e3fc(0x2eb)]===0x0)return _0x184ab3;let _0x4ac18e=_0x404026['Tools']['deepClone'](_0x184ab3[_0x19e3fc(0x279)][0x0]);for(let _0x3df29c=0x0;_0x3df29c<_0x1190b4[_0x19e3fc(0x2eb)];_0x3df29c++){const _0x3dbdc2={'id':_0x19e3fc(0xdb),'params':{..._0x1190b4[_0x3df29c]}},_0x48cb2f=this['_transformService']['transformMutation'](_0x4ac18e,_0x3dbdc2,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x48cb2f))throw _0x48cb2f['error'];_0x4ac18e=_0x48cb2f['m1Prime'];}return{..._0x404026[_0x19e3fc(0x161)][_0x19e3fc(0x1df)](_0x184ab3),'mutations':[_0x4ac18e]};}[_0x195f34(0x11e)](_0x4b6e70){const _0x224fda=_0x195f34,{unitID:_0x129293}=_0x4b6e70,_0x162ae5=this[_0x224fda(0x1c8)][_0x224fda(0x310)](_0x129293)[_0x224fda(0x16d)](_0x2bec5e[_0x224fda(0x211)]),{undoCache:_0x39ff04,redoCache:_0x5a00f3}=_0x162ae5['getUndoRedoMutationParamsCache']();if(_0x39ff04['length']===0x0||_0x5a00f3[_0x224fda(0x2eb)]===0x0)return;const _0x4e6ab7=[],_0x2e12e9=[];let _0xb9074a=_0x404026[_0x224fda(0x161)][_0x224fda(0x1df)](_0x4b6e70[_0x224fda(0x279)][0x0]),_0x5572b9=_0x404026['Tools'][_0x224fda(0x1df)](_0x4b6e70[_0x224fda(0x279)][0x0]);for(let _0x593303=_0x39ff04[_0x224fda(0x2eb)]-0x1;_0x593303>=0x0;_0x593303--){const _0x304af8={'id':_0x224fda(0xdb),'params':{..._0x39ff04[_0x593303]}},_0x1a1064={'id':'doc.mutation.rich-text-editing','params':{..._0x5a00f3[_0x593303]}},_0x2316ce=this['_transformService'][_0x224fda(0x116)](_0xb9074a,_0x304af8,!0x1),_0x41f5a7=this['_transformService'][_0x224fda(0x116)](_0x5572b9,_0x1a1064,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x2316ce))throw _0x2316ce[_0x224fda(0x2a6)];if(_0x503ae1['isTransformMutationFailure'](_0x41f5a7))throw _0x41f5a7[_0x224fda(0x2a6)];_0x4e6ab7[_0x224fda(0x2b3)](_0x2316ce['m2Prime'][_0x224fda(0x1a2)]),_0x2e12e9[_0x224fda(0x2b3)](_0x41f5a7[_0x224fda(0xfa)][_0x224fda(0x1a2)]),_0xb9074a=_0x2316ce[_0x224fda(0x1e8)],_0x5572b9=_0x41f5a7['m1Prime'];}_0x162ae5[_0x224fda(0x325)]({'undoCache':_0x4e6ab7,'redoCache':_0x2e12e9});}[_0x195f34(0x1c5)](_0x3aed40){const _0x537a0e=_0x195f34,{unitID:_0x4185a1}=_0x3aed40,_0x1543e0=this[_0x537a0e(0x1c8)][_0x537a0e(0x310)](_0x4185a1)[_0x537a0e(0x16d)](_0x2bec5e['DocIMEInputManagerService']),_0x3824cf=_0x1543e0[_0x537a0e(0x19d)]();if(_0x3824cf==null)return;const _0x33ad4c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3aed40['unitID'],'actions':null,'textRanges':[_0x3824cf]}}],_0x3e8010=this['_transformService']['transformMutationsWithChangeset'](_0x3aed40,_0x33ad4c);if(!_0x503ae1['isTransformMutationsWithChangesetSuccess'](_0x3e8010))throw _0x3e8010['error'];const _0x4de12c=_0x3e8010[_0x537a0e(0xfa)][0x0]['params'][_0x537a0e(0x100)];Array[_0x537a0e(0x212)](_0x4de12c)&&_0x4de12c[_0x537a0e(0x2eb)]&&_0x1543e0[_0x537a0e(0x1ae)](_0x4de12c[0x0]);}};_0x30d443=_0x2a6dab([_0x30ea1b(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x30ea1b(0x1,_0x503ae1[_0x195f34(0xec)]),_0x30ea1b(0x2,_0x112353['IRenderManagerService'])],_0x30d443);var _0x158b4a=Object[_0x195f34(0x242)],_0x3c5015=(_0x3f80ca,_0x37316f,_0x863305,_0x48c180)=>{const _0x471379=_0x195f34;for(var _0x449414=_0x48c180>0x1?void 0x0:_0x48c180?_0x158b4a(_0x37316f,_0x863305):_0x37316f,_0x50876e=_0x3f80ca[_0x471379(0x2eb)]-0x1,_0x54ca17;_0x50876e>=0x0;_0x50876e--)(_0x54ca17=_0x3f80ca[_0x50876e])&&(_0x449414=_0x54ca17(_0x449414)||_0x449414);return _0x449414;},_0x1cfc60=(_0x4e819b,_0x1e3986)=>(_0x2c0020,_0x12f3a7)=>_0x1e3986(_0x2c0020,_0x12f3a7,_0x4e819b);let _0x255dbb=class{constructor(_0xdec696,_0x1e5f05,_0x2c26ab){const _0x339faa=_0x195f34;this[_0x339faa(0x2df)]=_0xdec696,this[_0x339faa(0x115)]=_0x1e5f05,this['_docStateChangeManagerService']=_0x2c26ab;}['transformStateCache'](_0x50fdce){this['_transformHistoryAndStateStack'](_0x50fdce);}[_0x195f34(0x2c9)](_0x578257){const _0x360297=_0x195f34,{unitID:_0x39eda5}=_0x578257,{collaboration:_0x18122b}=this[_0x360297(0x23a)][_0x360297(0x245)](_0x39eda5);if(_0x18122b['length']===0x0)return _0x578257;let _0x2fcf10=_0x404026['Tools'][_0x360297(0x1df)](_0x578257['mutations'][0x0]);for(let _0x3a2b7b=0x0;_0x3a2b7b<_0x18122b[_0x360297(0x2eb)];_0x3a2b7b++){const _0x37993f={'id':_0x360297(0xdb),'params':{'unitId':_0x18122b[_0x3a2b7b][_0x360297(0x28a)],..._0x18122b[_0x3a2b7b][_0x360297(0xbb)]}},_0x5e09a7=this[_0x360297(0x115)][_0x360297(0x116)](_0x2fcf10,_0x37993f,!0x1);if(_0x503ae1[_0x360297(0x153)](_0x5e09a7))throw _0x5e09a7[_0x360297(0x2a6)];_0x2fcf10=_0x5e09a7[_0x360297(0x1e8)];}return{..._0x404026[_0x360297(0x161)][_0x360297(0x1df)](_0x578257),'mutations':[_0x2fcf10]};}['_transformHistoryAndStateStack'](_0x18dae3){const _0x24d19d=_0x195f34,{unitID:_0x313576}=_0x18dae3,{history:_0x235e42,collaboration:_0x7b7730}=this[_0x24d19d(0x23a)][_0x24d19d(0x245)](_0x313576);if(_0x235e42[_0x24d19d(0x2eb)]===0x0&&_0x7b7730[_0x24d19d(0x2eb)]===0x0)return;const _0x3d5562=[],_0x1af350=[];let _0x1a02bb=_0x404026[_0x24d19d(0x161)]['deepClone'](_0x18dae3[_0x24d19d(0x279)][0x0]),_0x286d37=_0x404026[_0x24d19d(0x161)][_0x24d19d(0x1df)](_0x18dae3[_0x24d19d(0x279)][0x0]);for(let _0x372007=_0x235e42['length']-0x1;_0x372007>=0x0;_0x372007--){const _0x364637={'id':_0x24d19d(0xdb),'params':{'unitId':_0x235e42[_0x372007][_0x24d19d(0x28a)],..._0x235e42[_0x372007]['undoState']}},_0x3f1f53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x235e42[_0x372007][_0x24d19d(0x28a)],..._0x235e42[_0x372007][_0x24d19d(0xbb)]}},_0xc7da42=this[_0x24d19d(0x115)]['transformMutation'](_0x1a02bb,_0x364637,!0x1),_0x474a0c=this[_0x24d19d(0x115)]['transformMutation'](_0x286d37,_0x3f1f53,!0x1);if(_0x503ae1[_0x24d19d(0x153)](_0xc7da42))throw _0xc7da42[_0x24d19d(0x2a6)];if(_0x503ae1[_0x24d19d(0x153)](_0x474a0c))throw _0x474a0c[_0x24d19d(0x2a6)];_0x3d5562['unshift']({..._0x235e42[_0x372007],'undoState':_0xc7da42['m2Prime'][_0x24d19d(0x1a2)],'redoState':_0x474a0c[_0x24d19d(0xfa)][_0x24d19d(0x1a2)]}),_0x1a02bb=_0xc7da42[_0x24d19d(0x1e8)],_0x286d37=_0x474a0c[_0x24d19d(0x1e8)];}_0x1a02bb=_0x404026[_0x24d19d(0x161)][_0x24d19d(0x1df)](_0x18dae3['mutations'][0x0]),_0x286d37=_0x404026['Tools'][_0x24d19d(0x1df)](_0x18dae3[_0x24d19d(0x279)][0x0]);for(let _0x29b1df=_0x7b7730[_0x24d19d(0x2eb)]-0x1;_0x29b1df>=0x0;_0x29b1df--){const _0x43c5d2={'id':_0x24d19d(0xdb),'params':{'unitId':_0x7b7730[_0x29b1df][_0x24d19d(0x28a)],..._0x7b7730[_0x29b1df][_0x24d19d(0x28b)]}},_0x332c6b={'id':_0x24d19d(0xdb),'params':{'unitId':_0x7b7730[_0x29b1df][_0x24d19d(0x28a)],..._0x7b7730[_0x29b1df][_0x24d19d(0xbb)]}},_0x11e478=this[_0x24d19d(0x115)][_0x24d19d(0x116)](_0x1a02bb,_0x43c5d2,!0x1),_0x4a28c0=this['_transformService'][_0x24d19d(0x116)](_0x286d37,_0x332c6b,!0x1);if(_0x503ae1[_0x24d19d(0x153)](_0x11e478))throw _0x11e478['error'];if(_0x503ae1[_0x24d19d(0x153)](_0x4a28c0))throw _0x4a28c0[_0x24d19d(0x2a6)];_0x1af350[_0x24d19d(0x2b3)]({..._0x7b7730[_0x29b1df],'undoState':_0x11e478['m2Prime']['params'],'redoState':_0x4a28c0[_0x24d19d(0xfa)][_0x24d19d(0x1a2)]}),_0x1a02bb=_0x11e478[_0x24d19d(0x1e8)],_0x286d37=_0x4a28c0[_0x24d19d(0x1e8)];}this['_docStateChangeManagerService'][_0x24d19d(0x131)](_0x313576,{'history':_0x3d5562,'collaboration':_0x1af350});}};_0x255dbb=_0x3c5015([_0x1cfc60(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x1cfc60(0x1,_0x503ae1[_0x195f34(0xec)]),_0x1cfc60(0x2,_0x404026[_0x195f34(0x2ef)](_0x2bec5e['DocStateChangeManagerService']))],_0x255dbb);var _0x85deda=Object['getOwnPropertyDescriptor'],_0x4d087d=(_0x2ea8c9,_0x5079ec,_0x52ed23,_0x558696)=>{const _0x2994ad=_0x195f34;for(var _0x2cabf1=_0x558696>0x1?void 0x0:_0x558696?_0x85deda(_0x5079ec,_0x52ed23):_0x5079ec,_0x3186a2=_0x2ea8c9[_0x2994ad(0x2eb)]-0x1,_0x476fe5;_0x3186a2>=0x0;_0x3186a2--)(_0x476fe5=_0x2ea8c9[_0x3186a2])&&(_0x2cabf1=_0x476fe5(_0x2cabf1)||_0x2cabf1);return _0x2cabf1;},_0xde3d6f=(_0x4f362c,_0x13dbcc)=>(_0x4b55c3,_0x4f0449)=>_0x13dbcc(_0x4b55c3,_0x4f0449,_0x4f362c);let _0x517f69=class{constructor(_0x4db7c7,_0x2305e2){const _0x668bb7=_0x195f34;this[_0x668bb7(0x2df)]=_0x4db7c7,this[_0x668bb7(0x115)]=_0x2305e2;}[_0x195f34(0x10b)](_0x36dd66){const _0x481025=_0x195f34;var _0x5cec89;const _0x15c38f=this[_0x481025(0x2df)][_0x481025(0x21a)](_0x121a01[_0x481025(0x2a7)]),_0x46efa8=(_0x5cec89=_0x15c38f['getDocRanges']())!=null?_0x5cec89:[];if(_0x46efa8[_0x481025(0x2eb)]===0x0)return;const _0x4d43fc=_0x36dd66[_0x481025(0x1e1)],_0x1cdaa3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d43fc,'actions':null,'textRanges':_0x46efa8}}],_0x40f15b=this['_transformService'][_0x481025(0x32b)](_0x36dd66,_0x1cdaa3);if(!_0x503ae1[_0x481025(0xd4)](_0x40f15b))throw _0x40f15b['error'];const _0x1e70b1=_0x40f15b[_0x481025(0xfa)][0x0][_0x481025(0x1a2)][_0x481025(0x100)];Array[_0x481025(0x212)](_0x1e70b1)&&_0x1e70b1['length']&&_0x15c38f['replaceDocRanges'](_0x1e70b1,{'unitId':_0x4d43fc,'subUnitId':_0x4d43fc},!0x1);}};_0x517f69=_0x4d087d([_0xde3d6f(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0xde3d6f(0x1,_0x503ae1[_0x195f34(0xec)])],_0x517f69);var _0x2e797f=Object[_0x195f34(0x242)],_0x282e0d=(_0x1b7e79,_0x27fa75,_0x576709,_0x161326)=>{for(var _0x29c3d4=_0x161326>0x1?void 0x0:_0x161326?_0x2e797f(_0x27fa75,_0x576709):_0x27fa75,_0x4eda12=_0x1b7e79['length']-0x1,_0x1c3f50;_0x4eda12>=0x0;_0x4eda12--)(_0x1c3f50=_0x1b7e79[_0x4eda12])&&(_0x29c3d4=_0x1c3f50(_0x29c3d4)||_0x29c3d4);return _0x29c3d4;},_0x47ac35=(_0x5a269f,_0xce9545)=>(_0x3ba685,_0x3128d6)=>_0xce9545(_0x3ba685,_0x3128d6,_0x5a269f);let _0x2e89f1=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x975e8b,_0x2a8ae3,_0x548c20,_0x2f01b1,_0x3a2e9f,_0x5b3bd7,_0x5ba729,_0x5a6b68){const _0xa04029=_0x195f34;super(),_0x2f983b(this,_0xa04029(0x2f1),new _0x4a3af0[(_0xa04029(0x2d4))](_0x175918[_0xa04029(0x22f)][_0xa04029(0x2c5)])),(this[_0xa04029(0x23a)]=_0x975e8b,this[_0xa04029(0x174)]=_0x2a8ae3,this[_0xa04029(0x15d)]=_0x548c20,this[_0xa04029(0x1ce)]=_0x2f01b1,this[_0xa04029(0x127)]=_0x3a2e9f,this[_0xa04029(0x13d)]=_0x5b3bd7,this[_0xa04029(0x1ac)]=_0x5ba729,this['_localeService']=_0x5a6b68,this[_0xa04029(0x18c)]());}[_0x195f34(0x18c)](){const _0x55a4ed=_0x195f34;this[_0x55a4ed(0xd5)](this[_0x55a4ed(0x174)][_0x55a4ed(0x152)]['subscribe'](_0x3698ba=>{const _0x515006=_0x55a4ed,_0x1ea4b8=this[_0x515006(0x23a)]['docStateChange$'][_0x515006(0x246)](_0x4cb400=>{const _0x514cad=_0x515006;if(_0x4cb400==null)return;const {unitId:_0x4921a7,redoState:_0x3507a3,commandId:_0x4fa70a}=_0x4cb400;if(_0x4921a7!==_0x3698ba[_0x514cad(0x1e1)])return;const _0x3d51b3={'id':_0x4fa70a,'type':_0x404026[_0x514cad(0x11c)][_0x514cad(0x311)],'params':{'unitId':_0x4921a7,'actions':_0x3507a3[_0x514cad(0xe0)],'textRanges':null}};_0x3698ba[_0x514cad(0x17d)](_0x3d51b3);});if(_0x3698ba[_0x515006(0xd5)](_0x1ea4b8),_0x3698ba instanceof _0x175918[_0x515006(0x313)]){const _0x39e4f2={'onTransformIME':_0x9dc758=>this['_docTransformIMECacheService'][_0x515006(0x338)](_0x9dc758),'onTransformState':_0x4a82e0=>this[_0x515006(0x1ce)][_0x515006(0x27f)](_0x4a82e0),'onTransformSelections':_0x4ccaed=>this[_0x515006(0x127)]['transformSelections'](_0x4ccaed),'onSyncEditingCollabCursor':_0x3b5606=>this[_0x515006(0x13d)][_0x515006(0x276)](_0x3b5606),'onTransformRemoteChangesetByIMECache':_0x3e2a5f=>this[_0x515006(0x15d)][_0x515006(0x2c9)](_0x3e2a5f),'onTransformRemoteChangesetByStateCache':_0x1d7972=>this['_docTransformStateCacheService'][_0x515006(0x2c9)](_0x1d7972)};_0x3698ba[_0x515006(0x166)](_0x39e4f2);}}));}};_0x2e89f1=_0x282e0d([_0x47ac35(0x0,_0x404026['Inject'](_0x2bec5e[_0x195f34(0x2b6)])),_0x47ac35(0x1,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x27d)])),_0x47ac35(0x2,_0x404026[_0x195f34(0x2ef)](_0x30d443)),_0x47ac35(0x3,_0x404026[_0x195f34(0x2ef)](_0x255dbb)),_0x47ac35(0x4,_0x404026[_0x195f34(0x2ef)](_0x517f69)),_0x47ac35(0x5,_0x404026['Inject'](_0x320f00)),_0x47ac35(0x6,_0x4ebc0a[_0x195f34(0x156)]),_0x47ac35(0x7,_0x404026['Inject'](_0x404026[_0x195f34(0x146)]))],_0x2e89f1);var _0x49697f=Object[_0x195f34(0x242)],_0x3bba02=(_0x849a6d,_0x1d5e8b,_0x2f12ad,_0x4b9641)=>{const _0x5b1f0b=_0x195f34;for(var _0x19b45a=_0x4b9641>0x1?void 0x0:_0x4b9641?_0x49697f(_0x1d5e8b,_0x2f12ad):_0x1d5e8b,_0x526289=_0x849a6d[_0x5b1f0b(0x2eb)]-0x1,_0x4a4c81;_0x526289>=0x0;_0x526289--)(_0x4a4c81=_0x849a6d[_0x526289])&&(_0x19b45a=_0x4a4c81(_0x19b45a)||_0x19b45a);return _0x19b45a;},_0x38f3d2=(_0x13ba26,_0x325572)=>(_0x303655,_0xc605d5)=>_0x325572(_0x303655,_0xc605d5,_0x13ba26);let _0x3e2297=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x1b0f48,_0x27ae4d,_0x59718c){const _0x2916dd=_0x195f34;super(),_0x2f983b(this,_0x2916dd(0x334),new Map()),_0x2f983b(this,_0x2916dd(0x1b5),new Map()),_0x2f983b(this,'_disabled',!0x1),(this[_0x2916dd(0x17f)]=_0x1b0f48,this[_0x2916dd(0x135)]=_0x27ae4d,this[_0x2916dd(0x12e)]=_0x59718c);}['disableLocalCache'](){const _0x5808cd=_0x195f34;this[_0x5808cd(0xe3)]=!0x0;}[_0x195f34(0x2db)](){const _0x36c9d6=_0x195f34;this[_0x36c9d6(0xe3)]=!0x1;}get['saveTaskMap'](){const _0x6f1b9e=_0x195f34;return this[_0x6f1b9e(0x1b5)];}['dispose'](){const _0x1479ce=_0x195f34;this[_0x1479ce(0x183)]()[_0x1479ce(0x119)](()=>super[_0x1479ce(0x275)]());}async[_0x195f34(0x309)](_0xafbecf){const _0x1b04bf=_0x195f34;return this['_disabled']?null:this[_0x1b04bf(0x135)][_0x1b04bf(0xc6)](_0x175918[_0x1b04bf(0x20e)](_0xafbecf));}async['saveOfflineData'](_0x69d9d5,_0x21d9dc){const _0xbf52a0=_0x195f34;return!!this[_0xbf52a0(0x135)][_0xbf52a0(0x2c3)](_0x69d9d5,_0x21d9dc);}[_0x195f34(0x187)](_0x861624,_0x1a9f4d,_0x4e40ac,_0x49362){const _0x32bb25=_0x195f34,_0x399d5b=this[_0x32bb25(0x12e)]['getCurrentRevOfUnit'](_0x861624);this[_0x32bb25(0x334)][_0x32bb25(0x316)](_0x861624,{'unitID':_0x861624,'type':_0x1a9f4d,'awaitingChangeset':_0x4e40ac,'mutations':_0x49362,'rev':_0x399d5b}),this[_0x32bb25(0x1b5)][_0x32bb25(0x2ee)](_0x861624)||this[_0x32bb25(0xca)](_0x861624);}[_0x195f34(0xca)](_0x2173af){const _0x164d4a=_0x195f34,_0x523a5e=this['_getSaveTimeout']();_0x523a5e===0x0?this[_0x164d4a(0x1f8)](_0x2173af):this['_saveTaskMap'][_0x164d4a(0x316)](_0x2173af,setTimeout(()=>this[_0x164d4a(0x1f8)](_0x2173af),_0x523a5e));}['_getSaveTimeout'](){const _0xe57316=_0x195f34;var _0x944142;return(_0x944142=this['_configService'][_0xe57316(0x339)](_0x175918['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x944142:_0x175918[_0xe57316(0x271)];}[_0x195f34(0x1f8)](_0x395874){const _0xbcb32e=_0x195f34,_0x177812=this[_0xbcb32e(0x1b5)][_0xbcb32e(0x21a)](_0x395874);return _0x177812!==void 0x0&&window['clearTimeout'](_0x177812),this['_localStorageService']['setItem'](_0x175918[_0xbcb32e(0x20e)](_0x395874),this[_0xbcb32e(0x334)][_0xbcb32e(0x21a)](_0x395874))['then'](()=>this[_0xbcb32e(0x1b5)]['delete'](_0x395874));}async['exhaustSavingTask'](){const _0x563998=_0x195f34,_0xe2c311=[];this[_0x563998(0x1b5)][_0x563998(0x2ce)]((_0x477add,_0xc87b52)=>{const _0x556359=_0x563998;window['clearTimeout'](_0x477add),_0xe2c311[_0x556359(0xbf)](this[_0x556359(0x1f8)](_0xc87b52)[_0x556359(0x119)](()=>{const _0x5c8743=_0x556359;this['_saveTaskMap'][_0x5c8743(0x197)](_0xc87b52);}));}),await Promise[_0x563998(0x33e)](_0xe2c311);}};_0x3e2297=_0x3bba02([_0x38f3d2(0x0,_0x404026[_0x195f34(0x17c)]),_0x38f3d2(0x1,_0x404026['ILocalStorageService']),_0x38f3d2(0x2,_0x404026[_0x195f34(0x2ef)](_0x503ae1['RevisionService']))],_0x3e2297);class _0x536e16 extends _0x404026['RxDisposable']{constructor(){const _0x425fe7=_0x195f34;super(),_0x2f983b(this,'urlChange$'),this['urlChange$']=_0x4a3af0['fromEvent'](window,_0x425fe7(0x2d0))[_0x425fe7(0x2f3)](_0x4a3af0[_0x425fe7(0x27b)](this['dispose$']),_0x4a3af0['shareReplay'](0x1),_0x4a3af0['mapTo'](void 0x0));}[_0x195f34(0x1de)](_0xf2d9ab,_0x2acc9a,_0x14b279=!0x1){const _0x1cd58a=_0x195f34,_0x517248=new URL(window[_0x1cd58a(0x2f2)]['href']);_0x517248['searchParams'][_0x1cd58a(0x316)](_0xf2d9ab,_0x2acc9a),_0x14b279?window[_0x1cd58a(0x134)][_0x1cd58a(0x214)]('','',_0x517248[_0x1cd58a(0x2a2)]()):window[_0x1cd58a(0x134)]['pushState']('','',_0x517248[_0x1cd58a(0x2a2)]());}[_0x195f34(0x2bd)](_0x4910fc,_0x314d16=!0x1){const _0x117539=_0x195f34,_0xc41c20=new URL(window[_0x117539(0x2f2)][_0x117539(0x149)]);_0xc41c20['searchParams'][_0x117539(0x197)](_0x4910fc),_0x314d16?window[_0x117539(0x134)][_0x117539(0x214)]('','',_0xc41c20[_0x117539(0x2a2)]()):window['history']['pushState']('','',_0xc41c20[_0x117539(0x2a2)]());}[_0x195f34(0x321)](_0x593232){const _0x11c9a2=_0x195f34;var _0x57622a;return(_0x57622a=new URL(window[_0x11c9a2(0x2f2)][_0x11c9a2(0x149)])[_0x11c9a2(0x27a)][_0x11c9a2(0x21a)](_0x593232))!=null?_0x57622a:void 0x0;}}var _0x1c46a5=Object[_0x195f34(0x2ab)],_0x3ac2e8=Object[_0x195f34(0x242)],_0x32310c=(_0x5f492e,_0xe64eae,_0x2c0665)=>_0xe64eae in _0x5f492e?_0x1c46a5(_0x5f492e,_0xe64eae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c0665}):_0x5f492e[_0xe64eae]=_0x2c0665,_0x37b5d8=(_0x4cdfc2,_0x2218ae,_0x449237,_0x30881f)=>{const _0x5e908e=_0x195f34;for(var _0x39d011=_0x30881f>0x1?void 0x0:_0x30881f?_0x3ac2e8(_0x2218ae,_0x449237):_0x2218ae,_0x37e445=_0x4cdfc2[_0x5e908e(0x2eb)]-0x1,_0x58f394;_0x37e445>=0x0;_0x37e445--)(_0x58f394=_0x4cdfc2[_0x37e445])&&(_0x39d011=_0x58f394(_0x39d011)||_0x39d011);return _0x39d011;},_0x331665=(_0x3fc2a3,_0x13a20c)=>(_0x4586c8,_0x5ee981)=>_0x13a20c(_0x4586c8,_0x5ee981,_0x3fc2a3),_0x53ee28=(_0x2fd383,_0x3aec92,_0x51f1ef)=>_0x32310c(_0x2fd383,_0x3aec92+'',_0x51f1ef);const _0x26aa95=_0x195f34(0x1d1);_0x1db428[_0x195f34(0xd3)]=class extends _0x404026[_0x195f34(0x232)]{constructor(_0x5c9a15=_0x5849fd,_0x12ff22,_0x3c5507,_0xe76ccd){const _0x49a10d=_0x195f34;super(),this[_0x49a10d(0x201)]=_0x5c9a15,this['_renderManagerService']=_0x12ff22,this[_0x49a10d(0x2df)]=_0x3c5507,this['_configService']=_0xe76ccd;const {..._0x4fc708}=_0x404026[_0x49a10d(0x1b4)]({},_0x5849fd,this[_0x49a10d(0x201)]);this[_0x49a10d(0x17f)]['setConfig'](_0xc59c41,_0x4fc708);}[_0x195f34(0x319)](){const _0x3e1f84=_0x195f34;this['_registerDependencies'](),this[_0x3e1f84(0x1fd)]();}[_0x195f34(0x2cb)](){const _0x518152=_0x195f34;this[_0x518152(0x200)]();}['_registerDependencies'](){const _0x594be2=_0x195f34;var _0x565f58;const _0x4041ff=[[_0x2d40ec],[_0x517f69],[_0x30d443],[_0x255dbb],[_0x320f00],[_0x2332d6,{'useClass':_0x536e16}],[_0x2ffc80[_0x594be2(0x171)],{'useClass':_0x2ffc80['WebSocketService']}],[_0x175918[_0x594be2(0x128)],{'useClass':_0x3e2297}],[_0x1db428[_0x594be2(0x1b6)]],[_0x2e89f1],[_0x214987],[_0x38d523],[_0x562bc4],[_0x1db428[_0x594be2(0x2b0)]]];_0x404026[_0x594be2(0x2ae)](this[_0x594be2(0x2df)],_0x404026[_0x594be2(0x1f3)](_0x4041ff,(_0x565f58=this[_0x594be2(0x201)])==null?void 0x0:_0x565f58[_0x594be2(0x228)]));}['_registerRenderDependencies'](){const _0x232cb8=_0x195f34;this['disposeWithMe'](this[_0x232cb8(0x1c8)][_0x232cb8(0x2a0)](_0x404026[_0x232cb8(0x290)]['UNIVER_DOC'],[_0xedb427])),this['disposeWithMe'](this['_renderManagerService'][_0x232cb8(0x2a0)](_0x404026[_0x232cb8(0x290)]['UNIVER_SHEET'],[_0x933b32]));}[_0x195f34(0x1fd)](){const _0x3c8464=_0x195f34;_0x404026[_0x3c8464(0xde)](this[_0x3c8464(0x2df)],[[_0x38d523],[_0x1db428['DesktopCollaborationStatusDisplayController']],[_0x2e89f1],[_0x214987],[_0x1db428[_0x3c8464(0x2b0)]]]);}},_0x53ee28(_0x1db428[_0x195f34(0xd3)],_0x195f34(0x159),_0x26aa95),_0x1db428[_0x195f34(0xd3)]=_0x37b5d8([_0x404026['DependentOn'](_0x175918[_0x195f34(0x2c8)]),_0x331665(0x1,_0x112353['IRenderManagerService']),_0x331665(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x331665(0x3,_0x404026[_0x195f34(0x17c)])],_0x1db428['UniverCollaborationClientUIPlugin']);var _0x20298f=Object[_0x195f34(0x242)],_0x3c3e48=(_0x4eb1f7,_0x446e26,_0x2da2c4,_0x27df15)=>{const _0x18094b=_0x195f34;for(var _0x51b72b=_0x27df15>0x1?void 0x0:_0x27df15?_0x20298f(_0x446e26,_0x2da2c4):_0x446e26,_0x581fc9=_0x4eb1f7[_0x18094b(0x2eb)]-0x1,_0x2763fa;_0x581fc9>=0x0;_0x581fc9--)(_0x2763fa=_0x4eb1f7[_0x581fc9])&&(_0x51b72b=_0x2763fa(_0x51b72b)||_0x51b72b);return _0x51b72b;},_0x19e7a6=(_0x385dba,_0x190f67)=>(_0x3c798b,_0x3b431a)=>_0x190f67(_0x3c798b,_0x3b431a,_0x385dba);_0x1db428['BrowserCollaborationSocketService']=class extends _0x175918[_0x195f34(0x1db)]{constructor(_0x32e2a3,_0x2935dc,_0x47f999,_0x2bfeba,_0x14c692){super(_0x32e2a3,_0x2935dc,_0x47f999,_0x2bfeba,_0x14c692);}async[_0x195f34(0x1be)](_0x50ce3d){const _0x791144=_0x195f34,_0x4f3180=await this[_0x791144(0x2ad)](),_0x46fdc9=this[_0x791144(0x1ed)](_0x50ce3d,_0x4f3180);return this[_0x791144(0x124)](_0x46fdc9);}[_0x195f34(0x1ed)](_0x2eafc9,_0x1c09a5){const _0x297a94=_0x195f34,_0x15e49c=typeof window>'u'?new URL(_0x2eafc9):new URL(_0x2eafc9,window[_0x297a94(0x2f2)][_0x297a94(0xdc)]);_0x15e49c['searchParams'][_0x297a94(0x316)](_0x297a94(0x154),_0x1c09a5);const _0x10a1f9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x297a94(0x2f2)][_0x297a94(0xf4)]);return _0x10a1f9[_0x297a94(0x21a)](_0x297a94(0x288))&&_0x15e49c[_0x297a94(0x27a)][_0x297a94(0x316)](_0x297a94(0x288),_0x10a1f9[_0x297a94(0x21a)](_0x297a94(0x288))),_0x15e49c[_0x297a94(0x2a2)]();}async[_0x195f34(0x2ad)](){const _0x4e1016=_0x195f34;var _0xd32d6d,_0x35f1e6,_0x361a9b;const _0x437160=this[_0x4e1016(0x17f)][_0x4e1016(0x339)](_0x175918[_0x4e1016(0x16b)]),_0x94d4d7=(_0xd32d6d=_0x437160==null?void 0x0:_0x437160[_0x4e1016(0x322)])!=null?_0xd32d6d:_0x175918['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x361a9b=(_0x35f1e6=(await this['_httpService'][_0x4e1016(0x21a)](_0x94d4d7,{'headers':{'Content-Type':_0x4e1016(0x1d3)}}))['body'])==null?void 0x0:_0x35f1e6[_0x4e1016(0x2bf)])!=null?_0x361a9b:'';}},_0x1db428['BrowserCollaborationSocketService']=_0x3c3e48([_0x19e7a6(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x19e7a6(0x1,_0x404026['Inject'](_0x2ffc80['HTTPService'])),_0x19e7a6(0x2,_0x404026[_0x195f34(0x17c)]),_0x19e7a6(0x3,_0x404026[_0x195f34(0x21e)]),_0x19e7a6(0x4,_0x503ae1['ISnapshotServerService'])],_0x1db428[_0x195f34(0x1cd)]);const _0x15a497=0x7530,_0x73d210='ACTIVE_UNIT_EVENT_CHANNEL';class _0x2192a2 extends _0x404026['Disposable']{constructor(){const _0x36d3e9=_0x195f34;super(),_0x2f983b(this,_0x36d3e9(0x248),_0x404026['generateRandomId']()),_0x2f983b(this,_0x36d3e9(0xed),new Set()),_0x2f983b(this,_0x36d3e9(0x2e6),new Map()),_0x2f983b(this,_0x36d3e9(0x261),null),_0x2f983b(this,'_clearOtherTimers',new Map()),_0x2f983b(this,_0x36d3e9(0x31b),new Map()),this['_init']();}[_0x195f34(0x275)](){const _0x252934=_0x195f34;super[_0x252934(0x275)](),this[_0x252934(0x344)][_0x252934(0x2ce)]((_0x3be573,_0xb8778e)=>this[_0x252934(0x258)](_0xb8778e)),this[_0x252934(0x261)]&&window[_0x252934(0x2cd)](this[_0x252934(0x261)]);}[_0x195f34(0x2e9)](_0x1bbe05){const _0x472ac3=_0x195f34;return this[_0x472ac3(0x1e5)](_0x1bbe05)[_0x472ac3(0x2f3)](_0x4a3af0['distinctUntilChanged']());}[_0x195f34(0x291)](_0x5de3cd){const _0xfa38ff=_0x195f34;this[_0xfa38ff(0xed)][_0xfa38ff(0x129)]===0x0&&this[_0xfa38ff(0xc1)](),this['_selfUnitIDs'][_0xfa38ff(0x2f6)](_0x5de3cd),this['_send']({'type':0x0,'memberID':this[_0xfa38ff(0x248)],'unitIDs':[_0x5de3cd],'isForwarded':!0x1});}[_0x195f34(0x1f2)](_0x325719){const _0x11ca12=_0x195f34;this[_0x11ca12(0xed)][_0x11ca12(0x197)](_0x325719),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x11ca12(0x2cd)](this[_0x11ca12(0x261)]);}[_0x195f34(0xf5)](){const _0x3b397c=_0x195f34;this[_0x3b397c(0xd5)](_0x404026[_0x3b397c(0x331)](_0x4a3af0[_0x3b397c(0x329)](window,'storage')[_0x3b397c(0x246)](_0x373c7c=>{const _0x1d65a9=_0x3b397c;if(_0x373c7c[_0x1d65a9(0x27e)]!==_0x73d210||!_0x373c7c[_0x1d65a9(0x2a3)])return;const _0x39157f=JSON[_0x1d65a9(0x139)](_0x373c7c[_0x1d65a9(0x2a3)]);this['_handleEvent'](_0x39157f);}))),window[_0x3b397c(0x125)](_0x3b397c(0x163),()=>this[_0x3b397c(0x278)]({'type':0x1,'memberID':this[_0x3b397c(0x248)],'unitIDs':Array[_0x3b397c(0xc4)](this[_0x3b397c(0xed)])}));}[_0x195f34(0xc2)](_0x41084e){const _0x196218=_0x195f34;switch(_0x41084e[_0x196218(0x2a9)]){case 0x0:this[_0x196218(0x32e)](_0x41084e);break;case 0x1:this['_handleLeaveEvent'](_0x41084e);break;case 0x2:this['_handleHeartbeatEvent'](_0x41084e);break;}}['_handleJoinEvent'](_0x4e6e2c){const _0x1f1021=_0x195f34,{unitIDs:_0x53035b,memberID:_0x41b0ab,isForwarded:_0xf91e5a}=_0x4e6e2c;_0x53035b['forEach'](_0x29da6c=>{const _0x13ad33=_0x2cf8;if(!_0xf91e5a&&this[_0x13ad33(0x2e6)]['has'](_0x29da6c)&&this[_0x13ad33(0x1e5)](_0x29da6c)['next'](_0x175918['UnitStatus'][_0x13ad33(0x341)]),!this[_0x13ad33(0x2e6)]['has'](_0x29da6c)||!this['_unitOnClients']['get'](_0x29da6c)['has'](_0x41b0ab)){const _0x3a3959=this['_unitOnClients'][_0x13ad33(0x21a)](_0x29da6c)||new Set();_0x3a3959['add'](_0x41b0ab),this['_unitOnClients'][_0x13ad33(0x316)](_0x29da6c,_0x3a3959),this[_0x13ad33(0xc5)](_0x41b0ab);}}),_0xf91e5a||this[_0x1f1021(0x278)]({'type':0x0,'memberID':this[_0x1f1021(0x248)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x195f34(0xc5)](_0x463dd6){const _0x4190a8=_0x195f34;this['_removeClearOtherTimer'](_0x463dd6);const _0x6c5386=window[_0x4190a8(0x33a)](()=>{const _0x1db7a3=_0x4190a8;this[_0x1db7a3(0x2e6)][_0x1db7a3(0x2ce)](_0x3b9f9f=>{const _0x455733=_0x1db7a3;_0x3b9f9f[_0x455733(0x197)](_0x463dd6);});},_0x15a497*0x2);this[_0x4190a8(0x344)][_0x4190a8(0x316)](_0x463dd6,_0x6c5386);}[_0x195f34(0x258)](_0x455ab3){const _0x2fcf14=_0x195f34;if(this[_0x2fcf14(0x344)][_0x2fcf14(0x2ee)](_0x455ab3)){const _0x5d3e86=this[_0x2fcf14(0x344)][_0x2fcf14(0x21a)](_0x455ab3);_0x5d3e86&&window[_0x2fcf14(0x2ec)](_0x5d3e86),this[_0x2fcf14(0x344)][_0x2fcf14(0x316)](_0x455ab3,null);}}['_handleLeaveEvent'](_0x20f050){const _0x48cbbd=_0x195f34,{memberID:_0x2ea20f,unitIDs:_0x27ff18}=_0x20f050;_0x27ff18['forEach'](_0x52d102=>{const _0x2eec79=_0x2cf8;var _0x4af005;const _0x1db6a6=this['_unitOnClients'][_0x2eec79(0x21a)](_0x52d102);_0x1db6a6&&(_0x1db6a6['delete'](_0x2ea20f),(_0x4af005=this[_0x2eec79(0x1e5)](_0x52d102))==null||_0x4af005['next'](_0x1db6a6[_0x2eec79(0x129)]===0x0?_0x175918['UnitStatus'][_0x2eec79(0xeb)]:_0x175918[_0x2eec79(0xea)]['OTHER_CLIENTS_EDITING']));}),this[_0x48cbbd(0x258)](_0x2ea20f);}[_0x195f34(0x289)](_0xafef7d){const _0x5079e1=_0x195f34;this[_0x5079e1(0xc5)](_0xafef7d[_0x5079e1(0x252)]);}[_0x195f34(0x278)](_0x3b9ece){const _0x279928=_0x195f34;localStorage[_0x279928(0x2c3)](_0x73d210,JSON[_0x279928(0xcf)](_0x3b9ece));}['_scheduleHeartbeat'](){const _0x4cc0a3=_0x195f34;this['_heartbeatTimer']=window[_0x4cc0a3(0x31d)](()=>{const _0x283364=_0x4cc0a3;this[_0x283364(0x278)]({'type':0x2,'memberID':this[_0x283364(0x248)]});},_0x15a497);}['_ensureSubject'](_0x4ecd86){const _0x63fe12=_0x195f34;return this['_unitStatus'][_0x63fe12(0x2ee)](_0x4ecd86)||this[_0x63fe12(0x31b)][_0x63fe12(0x316)](_0x4ecd86,new _0x4a3af0[(_0x63fe12(0x2d4))](_0x175918[_0x63fe12(0xea)][_0x63fe12(0xeb)])),this['_unitStatus'][_0x63fe12(0x21a)](_0x4ecd86);}}var _0x3c28c0=(_0x17e3b5=>(_0x17e3b5[_0x17e3b5[_0x195f34(0x301)]=0x0]=_0x195f34(0x301),_0x17e3b5[_0x17e3b5['OK']=0x1]='OK',_0x17e3b5[_0x17e3b5[_0x195f34(0x2ba)]=0x2]=_0x195f34(0x2ba),_0x17e3b5[_0x17e3b5[_0x195f34(0x16a)]=0x3]=_0x195f34(0x16a),_0x17e3b5[_0x17e3b5[_0x195f34(0x2e1)]=0x4]=_0x195f34(0x2e1),_0x17e3b5[_0x17e3b5[_0x195f34(0x164)]=0x5]='UNAUTHENTICATED',_0x17e3b5[_0x17e3b5[_0x195f34(0x1fa)]=0x6]=_0x195f34(0x1fa),_0x17e3b5[_0x17e3b5[_0x195f34(0x165)]=0x7]=_0x195f34(0x165),_0x17e3b5[_0x17e3b5[_0x195f34(0x126)]=0x8]=_0x195f34(0x126),_0x17e3b5[_0x17e3b5[_0x195f34(0x2cf)]=0x9]=_0x195f34(0x2cf),_0x17e3b5[_0x17e3b5[_0x195f34(0x1cf)]=0xa]=_0x195f34(0x1cf),_0x17e3b5[_0x17e3b5[_0x195f34(0x147)]=0x1389]=_0x195f34(0x147),_0x17e3b5[_0x17e3b5[_0x195f34(0x11b)]=0x1771]=_0x195f34(0x11b),_0x17e3b5[_0x17e3b5[_0x195f34(0x1a3)]=0x1772]=_0x195f34(0x1a3),_0x17e3b5[_0x17e3b5['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x195f34(0xfc),_0x17e3b5[_0x17e3b5['APPLY_REJECT']=0x1b59]=_0x195f34(0x237),_0x17e3b5[_0x17e3b5[_0x195f34(0xe2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x17e3b5[_0x17e3b5[_0x195f34(0x256)]=0x1b5b]=_0x195f34(0x256),_0x17e3b5[_0x17e3b5[_0x195f34(0x184)]=0x1b5c]=_0x195f34(0x184),_0x17e3b5[_0x17e3b5[_0x195f34(0x24d)]=0x1b5d]=_0x195f34(0x24d),_0x17e3b5[_0x17e3b5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x17e3b5[_0x17e3b5[_0x195f34(0x168)]=0x2329]=_0x195f34(0x168),_0x17e3b5[_0x17e3b5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x195f34(0x249),_0x17e3b5[_0x17e3b5[_0x195f34(0x2c7)]=0x232b]=_0x195f34(0x2c7),_0x17e3b5[_0x17e3b5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x17e3b5[_0x17e3b5[_0x195f34(0x1fb)]=0x232d]=_0x195f34(0x1fb),_0x17e3b5[_0x17e3b5[_0x195f34(0x12d)]=0x2711]=_0x195f34(0x12d),_0x17e3b5[_0x17e3b5[_0x195f34(0xe5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x17e3b5[_0x17e3b5[_0x195f34(0x17b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x17e3b5[_0x17e3b5[_0x195f34(0xe6)]=0x2714]=_0x195f34(0xe6),_0x17e3b5[_0x17e3b5[_0x195f34(0x173)]=0x271a]=_0x195f34(0x173),_0x17e3b5[_0x17e3b5[_0x195f34(0x342)]=0x271b]=_0x195f34(0x342),_0x17e3b5[_0x17e3b5[_0x195f34(0x1c9)]=0x2af9]=_0x195f34(0x1c9),_0x17e3b5[_0x17e3b5[_0x195f34(0xd9)]=0x2ee1]=_0x195f34(0xd9),_0x17e3b5[_0x17e3b5[_0x195f34(0x175)]=0x2ee2]=_0x195f34(0x175),_0x17e3b5[_0x17e3b5['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x17e3b5[_0x17e3b5['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x17e3b5[_0x17e3b5[_0x195f34(0x1bd)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x17e3b5[_0x17e3b5['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x195f34(0x176),_0x17e3b5[_0x17e3b5['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x195f34(0x145),_0x17e3b5[_0x17e3b5[_0x195f34(0x235)]=0x32cb]=_0x195f34(0x235),_0x17e3b5[_0x17e3b5[_0x195f34(0xce)]=-0x1]='UNRECOGNIZED',_0x17e3b5))(_0x3c28c0||{}),_0x1c72ca=Object[_0x195f34(0x242)],_0xe3483f=(_0x2fff05,_0xba9196,_0x4debed,_0x542289)=>{const _0x1600f7=_0x195f34;for(var _0x207e8b=_0x542289>0x1?void 0x0:_0x542289?_0x1c72ca(_0xba9196,_0x4debed):_0xba9196,_0x583800=_0x2fff05[_0x1600f7(0x2eb)]-0x1,_0x30d62b;_0x583800>=0x0;_0x583800--)(_0x30d62b=_0x2fff05[_0x583800])&&(_0x207e8b=_0x30d62b(_0x207e8b)||_0x207e8b);return _0x207e8b;},_0x2c6bb0=(_0x26e858,_0x1336f6)=>(_0x36af81,_0x25239d)=>_0x1336f6(_0x36af81,_0x25239d,_0x26e858);_0x1db428[_0x195f34(0x2d7)]=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x59e010,_0x5f23e2,_0x5052f1){const _0x6fece9=_0x195f34;super(),this[_0x6fece9(0x259)]=_0x59e010,this[_0x6fece9(0x103)]=_0x5f23e2,this[_0x6fece9(0x17f)]=_0x5052f1;}async['runOnServer'](_0x24fd1c,_0x244748,_0x5de324,..._0x3a120a){const _0x4f76f6=_0x195f34;var _0x3fd8a8,_0x461eaf,_0x27ac12,_0x54e3dd;const _0x4d91a7=this[_0x4f76f6(0x259)][_0x4f76f6(0x23f)]();if(!_0x4d91a7)throw new Error(_0x4f76f6(0x23b));const _0x583737=((_0x3fd8a8=this[_0x4f76f6(0x17f)][_0x4f76f6(0x339)](_0x175918[_0x4f76f6(0x251)]))!=null?_0x3fd8a8:_0x175918[_0x4f76f6(0x2ea)])+'/'+_0x24fd1c+_0x4f76f6(0x300)+_0x244748,_0x156b67=new URL(window[_0x4f76f6(0x2f2)][_0x4f76f6(0x149)]),_0x5c8110={'scriptId':_0x24fd1c,'runId':(_0x461eaf=_0x156b67['searchParams'][_0x4f76f6(0x21a)]('runId'))!=null?_0x461eaf:'','function':_0x244748,'unitId':_0x4d91a7[_0x4f76f6(0x19f)](),'argsOfFunction':JSON[_0x4f76f6(0xcf)](_0x3a120a),'invokeId':(_0x27ac12=_0x5de324[_0x4f76f6(0x298)])!=null?_0x27ac12:'','executionId':(_0x54e3dd=_0x5de324[_0x4f76f6(0x30f)])!=null?_0x54e3dd:''};try{const _0x36388b=await this[_0x4f76f6(0x103)][_0x4f76f6(0x104)](_0x583737,{'body':_0x5c8110});return _0x36388b[_0x4f76f6(0xe7)][_0x4f76f6(0x2a6)]&&_0x36388b['body'][_0x4f76f6(0x2a6)][_0x4f76f6(0x21c)]!==_0x3c28c0['OK']?_0x4f76f6(0x283):_0x36388b[_0x4f76f6(0xe7)][_0x4f76f6(0x198)];}catch{return _0x4f76f6(0x283);}}},_0x1db428[_0x195f34(0x2d7)]=_0xe3483f([_0x2c6bb0(0x0,_0x404026[_0x195f34(0xc8)]),_0x2c6bb0(0x1,_0x404026[_0x195f34(0x2ef)](_0x2ffc80[_0x195f34(0x2ac)])),_0x2c6bb0(0x2,_0x404026['IConfigService'])],_0x1db428[_0x195f34(0x2d7)]),_0x1db428[_0x195f34(0x1f4)]=_0x5c1945,_0x1db428[_0x195f34(0x324)]=_0x2332d6,_0x1db428[_0x195f34(0x209)]=_0x3796fc,_0x1db428['WebBrowserSingleActiveUnitService']=_0x2192a2,_0x1db428[_0x195f34(0x162)]=_0x536e16,Object[_0x195f34(0x2ab)](_0x1db428,Symbol[_0x195f34(0x118)],{'value':_0x195f34(0xcc)});}));
|