@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504261606 → 0.6.10-nightly.202504271606
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 +16 -16
- 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 _0x5d5c(){const _0x1f1e17=['clearInterval','_saveCache','NodePositionConvertToRectRange','_online','round','popstate','_entityInit$','_selfUnitIDs','ONLINE','NodePositionConvertToCursor','_id','IConfigService','Disposable','_createSocketURL','removeParam','UniverIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','getMergeData','distinctUntilChanged','fillStyle','isActive','switchMap','_color','univer-flex\x20univer-mr-2\x20univer-text-[20px]','_onCursorUpdate','_drawAnchor','IMessageService','executeCommand','transform','saveOfflineData','eventID','1922740vhOkGH','_collaborationUIEventService','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_REVISION_CONFILICT','subunit','ITransformService','handleDeleteRangeMoveLeft','dispose','verdancy600','getUnitId','ColorKit','use','PY_RUNTIME_SCRIPT_ERROR','428113bEhgSs','_docStateChangeManagerService','event$','NO_OTHER_CLIENTS_EDITING','currentSkeleton$','sessionStatus$','onMouseMove','setParam','_syncEditingCollabCursorService','Vector2','touchDependencies','UniverDocs','_handleHover','random','SNAPSHOT_INVALID_SNAPSHOT','disposeWithMe','getParam','dispose$','blue400','TEXT_RANGE_LAYER_INDEX','_startDocCollabCursor','hasOwnProperty','collabStatus.fetchMiss','column','delete','ThemeService','_collabCursorState$','ENSURE_SNAPSHOT_EXECUTION','data','width','show','saveTaskMap','endColumn','DocSelectionManagerService','colorChannel1','4NAVHBp','runId','createSocket','_getSessionTicket','undoState','@univerjs/sheets-ui','key','ALREADY_EXISTS','merge','DeleteRangeMoveUpCommandId','...','onPointerEnter$','apply','isArray','INVALID_INVITE_CODE','_shapes','0\x200\x2016\x2016','getViewport','top','_handleHeartbeatEvent','attrs','_roomMembers$','Optional','error','throttleTime','lineTo','react','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','includes','mapTo','_docTransformStateCacheService','disableLocalCache','@univerjs/docs','onTransformChange$','Error','getRangePointData','_registerDependencies','getLocalCacheKey','runOnServer','call','collabStatus.conflict','url(#on-line-single_clip0_910_349)','collab-text-anchor-','collabStatus.notCollab','#fff','makeDirty','_collabCursorController','setShapeProps','_range','useObservable','_getAnchorBounding','_handleLeaveEvent','unit','APPLY_REJECT','on-line-single_clip0_910_349','_docSkeletonManagerService','range','resize','CollaborationSessionService','IImageIoService','_handleEvent','result','handleDeleteRangeMoveUp','@univerjs/docs-ui','findNodePositionByCharIndex','SOCKET_FAILED','_entities','UniverProCollaboration','_colorAssignService','assign','SUBMIT_CHANGESET_TIMEOUT','getSkeleton','black','_cursorShapes','RemoveRowCommandId','ranges','parse','pushState','saveImage','transformSelections','DeleteRangeMoveLeftCommandId','_scheduleSaving','CollaborationSocketService','roomMembers$','text','APPLY_NON_SEQUENTIAL_REVISION','TOO_MANY_REQUESTS','UniverSheets','fromEvent','_doCreateSocket','cursorInfo','code','evenodd','with','cursorInfo$','ISocketService','arc','Shape','purple300','VIEW_MAIN','EffectRefRangId','collaboration-client.offline-data-not-saved','UniverDesign','red300','getUndoRedoMutationParamsCache','exhaustSavingTask','clipPath','urlChange$','tag','1389432zoNqHD','from','collabStatus.synced','DocIMEInputManagerService','@univerjs-pro/collaboration','CollaborationController','jiqing500','className','INotificationService','split','whenReady','currentTheme$','OTHER_CLIENT_EDITING','CollaborationUIEventId','_scene','_init','clearTimeout','FETCH_MISS','addClipboardHook','_collabSessionService','redoState','send','LOCAL_CACHE_INTERVAL','origin','useDependency','_transformHistoryAndStateStack','373825bMgMdB','IURLService','operators','SNAPSHOT_HAS_BEEN_REMOVED','_eventUnsubscribe','_getMergeRange','prototype','registerBeforeClose','getValue','univerjs-icon\x20univerjs-icon-','LOCAL_CACHE_INTERVAL_KEY','_localCacheService','_setupSubUnitSync','handleInsertRangeMoveRight','_anchorDot','transformStateCache','FromArray','_scheduleHeartbeat','color','addObject','uni.network.url-service','setTimeout','takeUntil','_initEvent','displayName','103144vhNTxc','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','defineProperty','xlink:href','setAlpha','_commandService','enableLocalCache','session.connection-failed','registerRefRange','getCollabCursors$','getUniverSheetInstance','post','UniverEngineRender','storage','LICENSE_MAX_UNITS_EXCEEDED','_draw','YUUMI_UNABLE_LOAD_URL','wsSessionTicketUrl','SetSelectionsOperation','_httpService','getCoordByCell','_imageIoService','icon','replaceState','Subject','@univerjs/engine-formula','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setActiveRange','_messageService','_anchor','_drawRectRange','min','complete','_onRefRangeChange','values','_drawTextRange','reconnect','collaboration.closeRoom','name','getRelativeToViewportCoord','_send','trim','_urlService','_localeService','getCurrentUnitForType','_memberService','@univerjs/network','OTHER_CLIENTS_EDITING','fill','UniverInstanceType','getItem','_updateURLWithCurrentState','backgroundColor','CollaborationEvent','RefRangeService','RichTextEditingMutation','_initDependencies','m2Prime','_onCursorDelete','@univerjs/engine-render','_toggleOffline','_getSaveTimeout','LOGIN_FAILED','_startSheetCollabCursor','save','assignAColorForMemberID','YUUMI_NO_CUBOID_FOR_QUESTION','_handleJoinEvent','location','handleIRemoveRow','jsx','forwardRef','ICommandService','history','M0\x200H16V16H0z','setInterval','_logService','RemoveColCommandId','InsertRangeMoveRightCommandId','_unitStatus','clsx','entries','toDisposable','getActiveSheet','getCollabEntity$','forEach','CollaborationStatus','url(#$1','react/jsx-runtime','Rect','_toggleOnline','UNAUTHENTICATED','add','DisposableCollection','USERS_LEAVE','next','getSheetBySheetId','CollaborationUIEventService','replaceDocRanges','_docClipboardService','setStateCache','UniverSheetsUi','_lastPointer','_docSkeleton','getColor','mergeOverrideWithDependencies','@univerjs/sheets','textRanges','DocSkeletonManagerService','_dataLoaderService','APPLY_PERMISSION_DENIED','UniverProCollaborationClientUi','_updateLocalCursor','getMemberID','collab-text-range-','MemberService','PENDING','collabCursorState$','_clearOtherTimers','bottom','AWAITING_WITH_PENDING','@univerjs/rpc','COMPLETION_FINISHED','_injector','_textBubble','_cursorInfo$','combineLatest','IBeforeCloseService','DataLoaderService','_localStorageService','EMAIL_HAS_BEEN_BOUND','UniverProCollaborationClient','defs','_context','entityInit$','gold400','m1Prime','_getScale','getStateCache','svg','ILogService','function','JOIN_ROOM_FAILED','_hovered','HTTPService','UniverCollaborationClientPlugin','transformMutation','UPDATE_CURSOR','transformRemoteChangeset','size','_registerRenderDependencies','exports','NOT_COLLAB','_sheetSkeletonManagerService','BrowserCollaborationSocketService','BehaviorSubject','transformByState','concat','TEXT','UNIVER_DOC','fillText','@univerjs/design','handleInsertCol','status$','debounce','getSheetId','unshift','CONNECTOR_DATA_TOO_LARGE','deserializeRangeWithSheet','disposeUnit','_setupBeforeClosingHandler','_refRangeService','_renderManagerService','_docTransformIMECacheService','_removeClearOtherTimer','createElement','InsertColCommandId','handleMoveRange','sessionTicket','selection','none','serializeRangeWithSheet','_univerInstanceService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SHEET_VIEWPORT_KEY','mask','length','1em','INVITE_CODE_HAS_BEEN_UES','rxjs','collabStatus.offline','INVALID_ARGUMENT','session.collaboration-timeout','set','substring','newValue','COLORS','init','replace','SheetSkeletonManagerService','_render','getAncestorScale','Inject','OFFLINE','DocStateChangeManagerService','RemoteUniscriptService','UniverNetwork','collaboration-client-ui.config','getRenderById','_updateSubUnitFromURLParams','isEditing','getSheetObject','_transformService','translate(.97)','isTransformMutationFailure','INTERNAL_ERROR','DesktopCollaborationStatusDisplayController','RegularPolygon','_hideTimer','map','connectInjector','pipe','getConfig','_notificationService','generateRandomId','transformMutationsWithChangeset','_labelPosition','row','rxjs/operators','IUIPartsService','font','IUniverInstanceService','div','addEventListener','onStarting','loadOfflineData','UniverCollaborationClientUIPlugin','YUUMI_RATE_OVER_LIMIT','getCurrentRevOfUnit','getFocusedUnit','focused$','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','setItem','subscribe','_backgroundColor','ISnapshotServerService','onPointerLeave$','RECT','isTransformMutationsWithChangesetSuccess','Warning','requireSession','unsubscribe','_instanceService','string','_initCommandExecutedListener','_saveTaskMap','all','DocCollaborationEntity','endRow','search','toStringTag','_collaborationController','body','href','MUTATION','80562HEOFUq','filter','_status$','_initResize','toString','restore','height','subUnitId','IRemoteInstanceService','hovered','getMember','DOC_RANGE_TYPE','DEFAULT_WS_SESSION_TICKET_URL','unitID','_config','InsertRangeMoveDownCommandId','handleInsertRangeMoveDown','MessageType','CONFLICT','Failed','univer-text-red-500','UniverDrawing','getActiveRange','addObjects','path','SetTextSelectionsOperation','executionId','labelPosition','WECHAT_HAS_BEEN_BOUND','_cachedData','_name','drawWith','debounceTime','fillRule','loadUnit','onCommandExecuted','imageSourceType','onLocalMutation','getTypeOfUnitAdded$','NOT_FOUND','_refreshCollabCursors','startColumn','INVITE_CODE_REQUIRED','React','UNRECOGNIZED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','jsxs','push','updateOfflineData','WebBrowserSingleActiveUnitService','SOCKET_FAILED_RETRY','params','_revisionService','_uiPartsService','propertyIsEnumerable','_cursors','getDocRanges','unload','currentColor','Tools','transformIMECache','_ensureSubject','permission.content','registerDependencies','4528836HhFcCx','_updateCollabCursors','[RemoteUniscriptService]:\x20no\x20focused\x20unit','some','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','CollaborationStatusDisplay','UNIVER_SHEET','_cursor','indexOf','_beforeCloseService','deepClone','univer-text-green-500','_initEntityListener','@univerjs-pro/collaboration-client','CHANGESET_REVISION_CONFILICT','asObservable','Unknown\x20user','Rectangle','defIds','doc.mutation.rich-text-editing','getOwnPropertySymbols','_docSyncEditingCollabCursorService','skeleton','getCellPositionByOffset','stringify','handleInsertRow','UniverCore','ILocalCacheService','LocaleService','_assignedColors','IRenderManagerService','idSuffix','getCurrent','SessionStatus','UniverRpc','engine','_colorIndex','has','_heartbeatTimer','debug','_hover','UniverDocsUi','_session','SheetCollabCursorShape','OffLineSingle','collab-rect-range-','setUndoRedoMutationParamsCache','type','selections','WebURLService','_initStatusListener','rgba(255,\x20255,\x20255,\x200.01)','collab-client.tooltip.reconnect','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','getOwnPropertyDescriptor','/run/','UnitStatus','handleIRemoveCol','SYNCED','getCurrentSelections','searchParams','YUUMI_ASYNCIO_CANCELLED','_themeService','get','2ZmZGFv','useRef','children','syncEditingCollabCursor','MoveRangeCommandId','mutations','then','CollaborationDataLoaderController','_configService','_disabled','_document','_docTransformSelectionsService','RxDisposable','unitId','getOffsetConfig','editingUnit','startsWith','USER_NOT_INVITED_CODE','override','docStateChange$','@univerjs/core','onRendered','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','off-line-single','session.will-retry','Injector','sheetId','source','activeSheet$','ACTIVE_UNIT_EVENT_CHANNEL','hide','_removeCollabCursors','_getSheetObject','_unitOnClients','subscribeEvent','YUUMI_URL_COL_OUT_OF_RANGE','shareReplay','getUnhiddenWorksheets','INVITE_CODE_ALREADY_BOUND','@univerjs/ui','contains','current','TRANSFORM_CHANGE_OBSERVABLE_TYPE','createInstance','off-line-single_clip0_910_343'];_0x5d5c=function(){return _0x1f1e17;};return _0x5d5c();}function _0x3a65(_0xc9614c,_0x5cf596){const _0x5d5ccf=_0x5d5c();return _0x3a65=function(_0x3a65ca,_0x25b91a){_0x3a65ca=_0x3a65ca-0x124;let _0x45cc05=_0x5d5ccf[_0x3a65ca];return _0x45cc05;},_0x3a65(_0xc9614c,_0x5cf596);}(function(_0x5adace,_0x337436){const _0x2dd88c=_0x3a65,_0x16254d=_0x5adace();while(!![]){try{const _0x59ca8a=parseInt(_0x2dd88c(0x2c7))/0x1*(-parseInt(_0x2dd88c(0x1c4))/0x2)+parseInt(_0x2dd88c(0x143))/0x3*(-parseInt(_0x2dd88c(0x240))/0x4)+parseInt(_0x2dd88c(0x210))/0x5+-parseInt(_0x2dd88c(0x2ad))/0x6+parseInt(_0x2dd88c(0x21d))/0x7+parseInt(_0x2dd88c(0x2e0))/0x8+parseInt(_0x2dd88c(0x184))/0x9;if(_0x59ca8a===_0x337436)break;else _0x16254d['push'](_0x16254d['shift']());}catch(_0x4b6065){_0x16254d['push'](_0x16254d['shift']());}}}(_0x5d5c,0x50751),function(_0xe0bc82,_0x848fa2){const _0x213f63=_0x3a65;typeof exports=='object'&&typeof module<'u'?_0x848fa2(exports,require(_0x213f63(0x191)),require(_0x213f63(0x1d8)),require('@univerjs/engine-render'),require(_0x213f63(0x30e)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x213f63(0x39d)),require(_0x213f63(0x260)),require(_0x213f63(0x2b1)),require(_0x213f63(0x2f9)),require(_0x213f63(0x34a)),require('rxjs/operators'),require(_0x213f63(0x245)),require(_0x213f63(0x338)),require(_0x213f63(0x1eb)),require(_0x213f63(0x381)),require(_0x213f63(0x25a)),require(_0x213f63(0x359))):typeof define=='function'&&define['amd']?define([_0x213f63(0x377),_0x213f63(0x191),_0x213f63(0x1d8),_0x213f63(0x31b),_0x213f63(0x30e),_0x213f63(0x27f),'@univerjs/drawing',_0x213f63(0x39d),'@univerjs/docs','@univerjs-pro/collaboration','@univerjs/engine-formula',_0x213f63(0x34a),_0x213f63(0x3c4),_0x213f63(0x245),_0x213f63(0x338),_0x213f63(0x1eb),_0x213f63(0x381),'react',_0x213f63(0x359)],_0x848fa2):(_0xe0bc82=typeof globalThis<'u'?globalThis:_0xe0bc82||self,_0x848fa2(_0xe0bc82[_0x213f63(0x34f)]={},_0xe0bc82[_0x213f63(0x363)],_0xe0bc82[_0x213f63(0x19e)],_0xe0bc82[_0x213f63(0x2ec)],_0xe0bc82[_0x213f63(0x3ae)],_0xe0bc82[_0x213f63(0x1ad)],_0xe0bc82[_0x213f63(0x158)],_0xe0bc82[_0x213f63(0x39d)],_0xe0bc82[_0x213f63(0x228)],_0xe0bc82[_0x213f63(0x283)],_0xe0bc82['UniverEngineFormula'],_0xe0bc82[_0x213f63(0x297)],_0xe0bc82[_0x213f63(0x39d)][_0x213f63(0x2c9)],_0xe0bc82[_0x213f63(0x345)],_0xe0bc82[_0x213f63(0x16e)],_0xe0bc82['UniverUi'],_0xe0bc82[_0x213f63(0x2a6)],_0xe0bc82[_0x213f63(0x16e)],_0xe0bc82[_0x213f63(0x1a6)]));}(this,function(_0x116d7d,_0x2b9205,_0x57425f,_0x29da64,_0x117380,_0x29ac66,_0x3d438d,_0x3883f8,_0x141165,_0x3529a2,_0x356844,_0x4ddade,_0x4b14ca,_0x3bd0fb,_0x46722a,_0x9ae5c8,_0x1fb7c0,_0x5889c3,_0x42d988){'use strict';const _0x1405a7=_0x3a65;var _0x38336e=Object[_0x1405a7(0x2e2)],_0x50bd87=(_0x579dab,_0x3fef4e,_0x544457)=>_0x3fef4e in _0x579dab?_0x38336e(_0x579dab,_0x3fef4e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x544457}):_0x579dab[_0x3fef4e]=_0x544457,_0xc11de6=(_0x49ce75,_0xd9a723,_0x183052)=>_0x50bd87(_0x49ce75,typeof _0xd9a723!='symbol'?_0xd9a723+'':_0xd9a723,_0x183052),_0x332c26=Object[_0x1405a7(0x1ba)],_0xbdd4f0=(_0x5995f8,_0x587b54,_0x2fbceb,_0x51b14e)=>{const _0x2ce5b3=_0x1405a7;for(var _0x154230=_0x51b14e>0x1?void 0x0:_0x51b14e?_0x332c26(_0x587b54,_0x2fbceb):_0x587b54,_0xbb680=_0x5995f8[_0x2ce5b3(0x39a)]-0x1,_0x4a5a53;_0xbb680>=0x0;_0xbb680--)(_0x4a5a53=_0x5995f8[_0xbb680])&&(_0x154230=_0x4a5a53(_0x154230)||_0x154230);return _0x154230;},_0x1ff545=(_0x57eb0c,_0x555d1c)=>(_0x438aa9,_0x4a3be4)=>_0x555d1c(_0x438aa9,_0x4a3be4,_0x57eb0c);let _0xc1baa1=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x3d0926,_0xd6dcfc){const _0x17ea08=_0x1405a7;super(),this[_0x17ea08(0x343)]=_0x3d0926,this[_0x17ea08(0x2f5)]=_0xd6dcfc,this[_0x17ea08(0x2bc)]();}[_0x1405a7(0x2bc)](){const _0x12519b=_0x1405a7,_0x5677f9=this;this[_0x12519b(0x22c)](this[_0x12519b(0x343)][_0x12519b(0x2bf)]({'onBeforePasteImage':async _0x33d67e=>{const _0x5e3888=_0x12519b,_0x20666b=await _0x5677f9['_imageIoService'][_0x5e3888(0x28e)](_0x33d67e);return _0x20666b?{'source':_0x20666b[_0x5e3888(0x1df)],'imageSourceType':_0x20666b[_0x5e3888(0x167)]}:null;}}));}};_0xc1baa1=_0xbdd4f0([_0x1ff545(0x0,_0x29ac66['IDocClipboardService']),_0x1ff545(0x1,_0x3d438d[_0x1405a7(0x27b)])],_0xc1baa1);const _0x4b605d=[_0x1405a7(0x2a2),_0x1405a7(0x2b3),_0x1405a7(0x218),_0x1405a7(0x2a7),_0x1405a7(0x22f),_0x1405a7(0x367)];class _0x1a366c extends _0x57425f[_0x1405a7(0x1fd)]{constructor(){const _0x4e1410=_0x1405a7;super(...arguments),_0xc11de6(this,_0x4e1410(0x1a1),new Map()),_0xc11de6(this,_0x4e1410(0x1a8),0x0);}['assignAColorForMemberID'](_0x867496){const _0x521f9a=_0x1405a7;if(this[_0x521f9a(0x1a1)][_0x521f9a(0x1a9)](_0x867496))return this[_0x521f9a(0x1a1)][_0x521f9a(0x1c3)](_0x867496);const _0x553696=_0x4b605d[this[_0x521f9a(0x1a8)]];return this[_0x521f9a(0x1a8)]=(this[_0x521f9a(0x1a8)]+0x1)%_0x4b605d[_0x521f9a(0x39a)],this[_0x521f9a(0x1a1)][_0x521f9a(0x3a1)](_0x867496,_0x553696),_0x553696;}}function _0xe98a40(_0x408da6){const _0x5ad410=_0x1405a7;let _0x16db65='';for(const _0x930cd6 of _0x408da6){const {startOffset:_0x33e907,endOffset:_0x3829dc,isActive:_0x284b0b,rangeType:_0xf6d76a,segmentId:_0x2eb029,segmentPage:_0x2c393c}=_0x930cd6;_0x16db65[_0x5ad410(0x39a)]&&(_0x16db65+=','),_0x16db65+=_0x33e907+':'+_0x3829dc+':'+(_0x284b0b?'1':'0')+':'+_0xf6d76a+':'+_0x2eb029+':'+_0x2c393c;}return _0x16db65;}function _0x423b0a(_0x34cb23){const _0x3507b3=_0x1405a7,_0x1fd5af=_0x34cb23[_0x3507b3(0x2b6)](','),_0x1b5452=[];for(const _0x2b0e21 of _0x1fd5af){const [_0x45c30a,_0x56ca88,_0x3c839d,_0x20cb0d,_0x4b4a0e,_0x1d04f0]=_0x2b0e21['split'](':');_0x1b5452['push']({'startOffset':Number(_0x45c30a),'endOffset':Number(_0x56ca88),'collapsed':_0x45c30a===_0x56ca88,'isActive':_0x3c839d==='1','rangeType':_0x20cb0d===_0x57425f[_0x3507b3(0x14e)][_0x3507b3(0x37e)]?_0x57425f[_0x3507b3(0x14e)][_0x3507b3(0x37e)]:_0x57425f[_0x3507b3(0x14e)][_0x3507b3(0x131)],'segmentId':typeof _0x4b4a0e==_0x3507b3(0x137)?String(_0x4b4a0e):'','segmentPage':Number(_0x1d04f0!=null?_0x1d04f0:-0x1)});}return _0x1b5452[_0x3507b3(0x187)](_0xc5e417=>_0xc5e417[_0x3507b3(0x205)])||(_0x1b5452[0x0][_0x3507b3(0x205)]=!0x0),_0x1b5452;}class _0x3353d2 extends _0x57425f[_0x1405a7(0x1d0)]{constructor(){const _0xb351e=_0x1405a7;super(...arguments),_0xc11de6(this,_0xb351e(0x237),new _0x3883f8[(_0xb351e(0x37b))](null)),_0xc11de6(this,_0xb351e(0x355),this[_0xb351e(0x237)][_0xb351e(0x193)]());}[_0x1405a7(0x1c7)](_0x51ef4e){const _0x171df0=_0x1405a7,{unitID:_0x2a2228,memberID:_0x5c5884,textRanges:_0x2835bc}=_0x51ef4e,_0x18c352=_0xe98a40(_0x2835bc);if(_0x18c352==='')return;const _0xad9a45={'unitID':_0x2a2228,'memberID':_0x5c5884,'selection':_0x18c352};this['_collabCursorState$'][_0x171df0(0x33f)](_0xad9a45);}}var _0x2760d3=Object[_0x1405a7(0x1ba)],_0x47c08e=(_0x25869b,_0x43f87f,_0x12ae62,_0x1adcfb)=>{const _0x5f2644=_0x1405a7;for(var _0x1c53d1=_0x1adcfb>0x1?void 0x0:_0x1adcfb?_0x2760d3(_0x43f87f,_0x12ae62):_0x43f87f,_0x4d348b=_0x25869b[_0x5f2644(0x39a)]-0x1,_0x1d6dce;_0x4d348b>=0x0;_0x4d348b--)(_0x1d6dce=_0x25869b[_0x4d348b])&&(_0x1c53d1=_0x1d6dce(_0x1c53d1)||_0x1c53d1);return _0x1c53d1;},_0x31b475=(_0x34d5e7,_0x4183b8)=>(_0x3157da,_0x194413)=>_0x4183b8(_0x3157da,_0x194413,_0x34d5e7);const _0x2bd010=0x12c,_0x2a3948=0x64;let _0x43629f=class extends _0x57425f['RxDisposable']{constructor(_0x33b0a3,_0x28a98e,_0xb49318,_0x2dab5c,_0x14e80f,_0x5c9321,_0x596cc0,_0x44e1c1,_0x41ccb2){const _0xafcb9e=_0x1405a7;super(),_0xc11de6(this,_0xafcb9e(0x1f4),!0x1),_0xc11de6(this,'_init',!0x1),_0xc11de6(this,_0xafcb9e(0x35d),new _0x3883f8[(_0xafcb9e(0x37b))](new Map())),_0xc11de6(this,_0xafcb9e(0x29e),this[_0xafcb9e(0x35d)][_0xafcb9e(0x193)]()),_0xc11de6(this,_0xafcb9e(0x255),new _0x3883f8['BehaviorSubject']([])),_0xc11de6(this,_0xafcb9e(0x293),this['_roomMembers$'][_0xafcb9e(0x3bd)](_0x3883f8[_0xafcb9e(0x163)](_0x2bd010))),_0xc11de6(this,_0xafcb9e(0x350),_0x57425f[_0xafcb9e(0x384)](_0x3188a6=>{const _0x569bef=_0xafcb9e,_0x4244cb={'eventID':_0x3529a2[_0x569bef(0x315)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x569bef(0x150)],'memberID':this['_session'][_0x569bef(0x351)](),'selection':_0xe98a40(_0x3188a6)}};this['_session'][_0x569bef(0x2c2)](_0x4244cb,this[_0x569bef(0x150)]);},_0x2a3948)),(this['unitID']=_0x33b0a3,this[_0xafcb9e(0x1ae)]=_0x28a98e,this['_injector']=_0xb49318,this[_0xafcb9e(0x284)]=_0x2dab5c,this['_memberService']=_0x14e80f,this[_0xafcb9e(0x225)]=_0x5c9321,this[_0xafcb9e(0x3b4)]=_0x596cc0,this[_0xafcb9e(0x396)]=_0x44e1c1,this[_0xafcb9e(0x2e5)]=_0x41ccb2);}get[_0x1405a7(0x29a)](){const _0x3fb98e=_0x1405a7;return this[_0x3fb98e(0x35d)]['getValue']();}get['roomMembers'](){const _0x4f5628=_0x1405a7;return this['_roomMembers$'][_0x4f5628(0x2cf)]();}[_0x1405a7(0x217)](){const _0x1749f8=_0x1405a7;super['dispose'](),this[_0x1749f8(0x35d)][_0x1749f8(0x33f)](new Map()),this[_0x1749f8(0x35d)][_0x1749f8(0x300)](),this[_0x1749f8(0x255)][_0x1749f8(0x33f)]([]),this[_0x1749f8(0x255)]['complete']();}[_0x1405a7(0x3a5)](){const _0x327794=_0x1405a7;this[_0x327794(0x2bc)]||(this[_0x327794(0x2bc)]=!0x0,this[_0x327794(0x1ae)][_0x327794(0x222)]['pipe'](_0x3883f8[_0x327794(0x2dd)](this[_0x327794(0x22e)]))[_0x327794(0x12d)](_0x2b4f25=>{const _0x413ae7=_0x327794;_0x2b4f25===_0x2b9205['SessionStatus'][_0x413ae7(0x1f9)]?this[_0x413ae7(0x33a)]():this[_0x413ae7(0x31c)]();}),this[_0x327794(0x1ae)]['event$']['pipe'](_0x3883f8[_0x327794(0x2dd)](this[_0x327794(0x22e)]))[_0x327794(0x12d)](_0x3aa013=>{const _0x15376b=_0x327794,_0x3c05fd=_0x3aa013[_0x15376b(0x20f)];_0x3c05fd===_0x3529a2[_0x15376b(0x315)][_0x15376b(0x373)]&&this[_0x15376b(0x209)](_0x3aa013),_0x3c05fd===_0x3529a2[_0x15376b(0x315)]['USERS_LEAVE']&&this[_0x15376b(0x31a)](_0x3aa013);}),this[_0x327794(0x22c)](this[_0x327794(0x2e5)][_0x327794(0x166)](_0x5adce3=>{const _0x4e6b0d=_0x327794,_0x2d5a61=_0x5adce3[_0x4e6b0d(0x177)];_0x2d5a61!=null&&this['_online']&&_0x5adce3['id']===_0x141165[_0x4e6b0d(0x15c)]['id']&&_0x2d5a61[_0x4e6b0d(0x1d1)]===this[_0x4e6b0d(0x150)]&&_0x2d5a61[_0x4e6b0d(0x3b2)]===!0x1&&_0x2d5a61[_0x4e6b0d(0x28b)][_0x4e6b0d(0x39a)]>0x0&&this[_0x4e6b0d(0x350)](_0x2d5a61['ranges']);})),this['_syncEditingCollabCursorService'][_0x327794(0x355)]['pipe'](_0x3883f8[_0x327794(0x2dd)](this[_0x327794(0x22e)]))[_0x327794(0x12d)](_0x1b694b=>{const _0x4d9909=_0x327794;if((_0x1b694b==null?void 0x0:_0x1b694b[_0x4d9909(0x150)])!==this[_0x4d9909(0x150)])return;const _0x1bb170={'eventID':_0x3529a2[_0x4d9909(0x315)][_0x4d9909(0x373)],'data':_0x1b694b};this[_0x4d9909(0x209)](_0x1bb170);}),this[_0x327794(0x22c)](this[_0x327794(0x2e5)][_0x327794(0x166)](_0x3417f4=>{const _0x2b7bb6=_0x327794;if(_0x3417f4['params']==null)return;const _0xfaa84f=_0x3417f4[_0x2b7bb6(0x177)];if(_0x3417f4['id']!==_0x141165[_0x2b7bb6(0x317)]['id']||_0xfaa84f[_0x2b7bb6(0x1d1)]!==this['unitID'])return;const _0x5092e5={'id':_0x2b7bb6(0x197),'params':_0xfaa84f},_0x109c19=this['cursorInfo'];for(const [_0x494b2b,_0xf5716b]of _0x109c19){const _0x4fe97e={'id':_0x2b7bb6(0x197),'params':{'unitId':this[_0x2b7bb6(0x150)],'actions':null,'textRanges':_0xf5716b[_0x2b7bb6(0x28b)]}},_0x22411d=this[_0x2b7bb6(0x3b4)][_0x2b7bb6(0x372)](_0x5092e5,_0x4fe97e,!0x1);if(_0x3529a2['isTransformMutationFailure'](_0x22411d))throw _0x22411d[_0x2b7bb6(0x257)];_0x109c19[_0x2b7bb6(0x3a1)](_0x494b2b,{..._0xf5716b,'ranges':_0x22411d[_0x2b7bb6(0x319)][_0x2b7bb6(0x177)][_0x2b7bb6(0x34b)]});}queueMicrotask(()=>{const _0x1481ff=_0x2b7bb6;this[_0x1481ff(0x35d)][_0x1481ff(0x33f)](_0x109c19);});})));}[_0x1405a7(0x209)](_0x510caf){const _0xfa886e=_0x1405a7;var _0x1fb3d8,_0x34a640;const {memberID:_0x41ae6d,selection:_0x505d9d}=_0x510caf[_0xfa886e(0x239)],_0x42e1aa=_0x423b0a(_0x505d9d),_0x32fb0a=(_0x34a640=(_0x1fb3d8=this[_0xfa886e(0x30d)][_0xfa886e(0x14d)](this[_0xfa886e(0x150)],_0x41ae6d))==null?void 0x0:_0x1fb3d8[_0xfa886e(0x306)])!=null?_0x34a640:_0xfa886e(0x194),_0x376523={'color':this[_0xfa886e(0x284)][_0xfa886e(0x321)](_0x41ae6d),'name':_0x32fb0a,'ranges':_0x42e1aa},_0x18b550=this[_0xfa886e(0x29a)];_0x18b550[_0xfa886e(0x3a1)](_0x41ae6d,_0x376523),this[_0xfa886e(0x35d)][_0xfa886e(0x33f)](_0x18b550);}[_0x1405a7(0x31a)](_0x2a3adf){const _0x516c39=_0x1405a7,{memberID:_0xb2acd}=_0x2a3adf['data'],_0x5736b=this['cursorInfo'];_0x5736b[_0x516c39(0x235)](_0xb2acd),this['_cursorInfo$'][_0x516c39(0x33f)](_0x5736b);}[_0x1405a7(0x33a)](){const _0x1d183a=_0x1405a7;var _0x525dc5;if(this['_online']=!0x0,((_0x525dc5=this[_0x1d183a(0x396)][_0x1d183a(0x127)]())==null?void 0x0:_0x525dc5[_0x1d183a(0x219)]())!==this[_0x1d183a(0x150)])return;const _0x15fef5=this[_0x1d183a(0x35b)][_0x1d183a(0x1c3)](_0x141165[_0x1d183a(0x23e)])[_0x1d183a(0x17c)]();Array[_0x1d183a(0x24d)](_0x15fef5)&&_0x15fef5[_0x1d183a(0x39a)]>0x0&&this[_0x1d183a(0x350)](_0x15fef5);}[_0x1405a7(0x31c)](){const _0x5aae77=_0x1405a7;this[_0x5aae77(0x1f4)]=!0x1;}};_0x43629f=_0x47c08e([_0x31b475(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x1dd)])),_0x31b475(0x3,_0x57425f[_0x1405a7(0x3aa)](_0x1a366c)),_0x31b475(0x4,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x353)])),_0x31b475(0x5,_0x57425f[_0x1405a7(0x3aa)](_0x3353d2)),_0x31b475(0x6,_0x3529a2[_0x1405a7(0x215)]),_0x31b475(0x7,_0x57425f[_0x1405a7(0x3c7)]),_0x31b475(0x8,_0x57425f['ICommandService'])],_0x43629f);var _0x61c4d5=Object[_0x1405a7(0x1ba)],_0x50e7f6=(_0x392465,_0xf2b504,_0x471096,_0x443c5f)=>{const _0x1275e0=_0x1405a7;for(var _0x397ed9=_0x443c5f>0x1?void 0x0:_0x443c5f?_0x61c4d5(_0xf2b504,_0x471096):_0xf2b504,_0x29bab6=_0x392465[_0x1275e0(0x39a)]-0x1,_0x17b91a;_0x29bab6>=0x0;_0x29bab6--)(_0x17b91a=_0x392465[_0x29bab6])&&(_0x397ed9=_0x17b91a(_0x397ed9)||_0x397ed9);return _0x397ed9;},_0xbda838=(_0x116244,_0x3d6511)=>(_0x5c4e45,_0x5ca571)=>_0x3d6511(_0x5c4e45,_0x5ca571,_0x116244);const _0x4cccd9=0x12c,_0x213cfc=0x64,_0x3c43fb=()=>{let _0x3d25ec=[],_0x34cf51=!0x1;return _0x390120=>{_0x3d25ec['push'](_0x390120),_0x34cf51||(_0x34cf51=!0x0,setTimeout(()=>{const _0x1ab7d3=_0x3a65;_0x3d25ec[_0x1ab7d3(0x335)](_0x5beb79=>_0x5beb79()),_0x3d25ec=[],_0x34cf51=!0x1;}));};};let _0x4dab01=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x568781,_0x1c370f,_0x4d0ead,_0x52d48f,_0x4ed15a,_0x2efee0,_0x57b974,_0x4a1ace){const _0x4eb3f4=_0x1405a7;super(),_0xc11de6(this,_0x4eb3f4(0x1f4),!0x1),_0xc11de6(this,_0x4eb3f4(0x2bc),!0x1),_0xc11de6(this,_0x4eb3f4(0x35d),new _0x3883f8['BehaviorSubject'](new Map())),_0xc11de6(this,_0x4eb3f4(0x29e),this[_0x4eb3f4(0x35d)]['asObservable']()),_0xc11de6(this,_0x4eb3f4(0x255),new _0x3883f8['BehaviorSubject']([])),_0xc11de6(this,_0x4eb3f4(0x293),this[_0x4eb3f4(0x255)][_0x4eb3f4(0x3bd)](_0x3883f8['debounceTime'](_0x4cccd9))),_0xc11de6(this,'_updateLocalCursor',_0x57425f['debounce']((_0x3c89b7,_0x3300ca)=>{const _0x52aa71=_0x4eb3f4,_0x4e1bbc={'eventID':_0x3529a2[_0x52aa71(0x315)][_0x52aa71(0x373)],'data':{'unitID':this[_0x52aa71(0x150)],'memberID':this['_session'][_0x52aa71(0x351)](),'selection':_0x356844[_0x52aa71(0x395)](_0x3c89b7,_0x3300ca['range'])}};this[_0x52aa71(0x1ae)][_0x52aa71(0x2c2)](_0x4e1bbc,this[_0x52aa71(0x150)]);},_0x213cfc)),(this[_0x4eb3f4(0x150)]=_0x568781,this[_0x4eb3f4(0x1ae)]=_0x1c370f,this[_0x4eb3f4(0x35b)]=_0x4d0ead,this[_0x4eb3f4(0x284)]=_0x52d48f,this['_memberService']=_0x4ed15a,this[_0x4eb3f4(0x396)]=_0x2efee0,this[_0x4eb3f4(0x2e5)]=_0x57b974,this['_refRangeService']=_0x4a1ace);}get['cursorInfo'](){const _0x4c6d69=_0x1405a7;return this[_0x4c6d69(0x35d)][_0x4c6d69(0x2cf)]();}get['roomMembers'](){const _0x19345e=_0x1405a7;return this[_0x19345e(0x255)][_0x19345e(0x2cf)]();}[_0x1405a7(0x217)](){const _0x19a3fc=_0x1405a7;super[_0x19a3fc(0x217)](),this[_0x19a3fc(0x35d)]['next'](new Map()),this[_0x19a3fc(0x35d)][_0x19a3fc(0x300)](),this[_0x19a3fc(0x255)][_0x19a3fc(0x33f)]([]),this[_0x19a3fc(0x255)]['complete']();}[_0x1405a7(0x3a5)](){const _0x40930a=_0x1405a7;this[_0x40930a(0x2bc)]||(this[_0x40930a(0x2bc)]=!0x0,this[_0x40930a(0x1ae)][_0x40930a(0x222)][_0x40930a(0x3bd)](_0x3883f8[_0x40930a(0x2dd)](this[_0x40930a(0x22e)]))[_0x40930a(0x12d)](_0x148a7d=>{const _0x328fc5=_0x40930a;_0x148a7d===_0x2b9205[_0x328fc5(0x1a5)][_0x328fc5(0x1f9)]?this[_0x328fc5(0x33a)]():this[_0x328fc5(0x31c)]();}),this[_0x40930a(0x1ae)][_0x40930a(0x21f)][_0x40930a(0x3bd)](_0x3883f8['takeUntil'](this[_0x40930a(0x22e)]))[_0x40930a(0x12d)](_0x96fb16=>{const _0x2daea2=_0x40930a,_0x11149e=_0x96fb16[_0x2daea2(0x20f)];_0x11149e===_0x3529a2[_0x2daea2(0x315)][_0x2daea2(0x373)]&&this[_0x2daea2(0x209)](_0x96fb16),_0x11149e===_0x3529a2[_0x2daea2(0x315)][_0x2daea2(0x33e)]&&this[_0x2daea2(0x31a)](_0x96fb16);}),this[_0x40930a(0x301)](),this['disposeWithMe'](this[_0x40930a(0x2e5)][_0x40930a(0x166)](_0x221ec0=>{const _0x7617a=_0x40930a;if(this[_0x7617a(0x1f4)]&&_0x221ec0['id']===_0x4ddade[_0x7617a(0x2f2)]['id']&&_0x221ec0['params'][_0x7617a(0x1d1)]===this[_0x7617a(0x150)]){const _0x373fcf=_0x221ec0[_0x7617a(0x177)];this[_0x7617a(0x350)](_0x373fcf[_0x7617a(0x14a)],_0x373fcf[_0x7617a(0x1b4)][0x0]);}})));}[_0x1405a7(0x209)](_0x3b5a9c){const _0x47b9e4=_0x1405a7;var _0x96a5a8,_0x265694;const {memberID:_0xdf65ef,selection:_0x2af4d9}=_0x3b5a9c[_0x47b9e4(0x239)],{sheetName:_0x9a5885,range:_0x1d1321}=_0x356844[_0x47b9e4(0x388)](_0x2af4d9),_0x539fdc={'name':(_0x265694=(_0x96a5a8=this[_0x47b9e4(0x30d)]['getMember'](this[_0x47b9e4(0x150)],_0xdf65ef))==null?void 0x0:_0x96a5a8['name'])!=null?_0x265694:_0x47b9e4(0x194),'range':this[_0x47b9e4(0x2cc)](_0x9a5885,_0x1d1321),'sheetID':_0x9a5885,'color':this[_0x47b9e4(0x284)][_0x47b9e4(0x321)](_0xdf65ef),'selection':_0x2af4d9},_0x267ff=this['cursorInfo'];_0x267ff['set'](_0xdf65ef,_0x539fdc),this[_0x47b9e4(0x35d)]['next'](_0x267ff);}[_0x1405a7(0x31a)](_0x52fab6){const _0x201686=_0x1405a7,{memberID:_0x329c94}=_0x52fab6[_0x201686(0x239)],_0x3e0a0c=this['cursorInfo'];_0x3e0a0c[_0x201686(0x235)](_0x329c94),this[_0x201686(0x35d)][_0x201686(0x33f)](_0x3e0a0c);}['_getMergeRange'](_0x2ebfda,_0x1df335){const _0x28b861=_0x1405a7;var _0x25aeb6,_0x57007c;const _0x47a27b=(_0x57007c=(_0x25aeb6=this[_0x28b861(0x396)][_0x28b861(0x2ea)](this[_0x28b861(0x150)]))==null?void 0x0:_0x25aeb6[_0x28b861(0x340)](_0x2ebfda))==null?void 0x0:_0x57007c[_0x28b861(0x202)]();return(_0x47a27b==null?void 0x0:_0x47a27b['find'](_0x432b34=>_0x57425f[_0x28b861(0x195)][_0x28b861(0x1ec)](_0x432b34,_0x1df335)))||_0x1df335;}['_onRefRangeChange'](){const _0x253f98=_0x1405a7,_0x5aeb4a=new _0x57425f[(_0x253f98(0x33d))](),_0x4c58db=_0x3c43fb(),_0x3ad7a6=()=>{const _0x47a8d9=_0x253f98;_0x5aeb4a[_0x47a8d9(0x217)]();const _0x425e5f=(_0x11d230,_0x2d49b2,_0x16b835,_0x1ab119)=>{const _0x10fdb2=_0x47a8d9;let _0x85bd8=[];switch(_0x11d230['id']){case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x290)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x216)](_0x11d230,_0x1ab119);break;}case _0x4ddade['EffectRefRangId'][_0x10fdb2(0x249)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x27e)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x390)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x382)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x152)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x153)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x32e)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x2d4)](_0x11d230,_0x1ab119);break;}case _0x4ddade['EffectRefRangId']['InsertRowCommandId']:{_0x85bd8=_0x4ddade[_0x10fdb2(0x19d)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x1c8)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x391)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x32d)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x1bd)](_0x11d230,_0x1ab119);break;}case _0x4ddade['EffectRefRangId'][_0x10fdb2(0x28a)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x325)](_0x11d230,_0x1ab119);break;}}const _0x6199dd=_0x4ddade['runRefRangeMutations'](_0x85bd8,_0x1ab119),_0x4e3d1a=this[_0x10fdb2(0x29a)]['get'](_0x2d49b2);if(_0x4e3d1a&&_0x6199dd){const _0x5515cd={..._0x4e3d1a,'range':_0x6199dd};this[_0x10fdb2(0x29a)]['set'](_0x2d49b2,_0x5515cd),_0x4c58db(()=>{const _0x3eb1a8=_0x10fdb2,_0x27cbd1=this[_0x3eb1a8(0x38b)]['registerRefRange'](_0x6199dd,_0x205afd=>(_0x27cbd1['dispose'](),_0x425e5f(_0x205afd,_0x2d49b2,_0x16b835,_0x6199dd)));_0x5aeb4a[_0x3eb1a8(0x33c)](_0x27cbd1);});}return{'redos':[],'undos':[]};};this[_0x47a8d9(0x29a)]['forEach']((_0xf47dd,_0x4997ef)=>{const _0x590cf7=_0x47a8d9,{range:_0x45e206,sheetID:_0x48f6ee}=_0xf47dd,_0x12a517=this['_refRangeService'][_0x590cf7(0x2e8)](_0x45e206,_0x3f44e8=>(_0x12a517[_0x590cf7(0x217)](),_0x425e5f(_0x3f44e8,_0x4997ef,_0x48f6ee,_0x45e206)));_0x5aeb4a[_0x590cf7(0x33c)](_0x12a517);});};this[_0x253f98(0x22c)](_0x57425f[_0x253f98(0x332)](this[_0x253f98(0x35d)][_0x253f98(0x12d)](()=>{_0x3ad7a6();})));}[_0x1405a7(0x33a)](){const _0x18c19a=_0x1405a7;var _0x1086ea,_0x34ce62;if(this['_online']=!0x0,((_0x1086ea=this[_0x18c19a(0x396)][_0x18c19a(0x127)]())==null?void 0x0:_0x1086ea[_0x18c19a(0x219)]())!==this[_0x18c19a(0x150)])return;const _0x1304b5=(_0x34ce62=this[_0x18c19a(0x35b)][_0x18c19a(0x1c3)](_0x4ddade['SheetsSelectionsService'])[_0x18c19a(0x1bf)]())==null?void 0x0:_0x34ce62[0x0],_0x530a4b=this[_0x18c19a(0x396)][_0x18c19a(0x30c)](_0x57425f[_0x18c19a(0x311)]['UNIVER_SHEET'])[_0x18c19a(0x333)]();_0x1304b5&&_0x530a4b&&this[_0x18c19a(0x350)](_0x530a4b[_0x18c19a(0x385)](),_0x1304b5);}[_0x1405a7(0x31c)](){const _0x29d0b5=_0x1405a7;this[_0x29d0b5(0x1f4)]=!0x1;}};_0x4dab01=_0x50e7f6([_0xbda838(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x1dd)])),_0xbda838(0x3,_0x57425f[_0x1405a7(0x3aa)](_0x1a366c)),_0xbda838(0x4,_0x57425f[_0x1405a7(0x3aa)](_0x2b9205[_0x1405a7(0x353)])),_0xbda838(0x5,_0x57425f[_0x1405a7(0x3c7)]),_0xbda838(0x6,_0x57425f[_0x1405a7(0x328)]),_0xbda838(0x7,_0x57425f['Inject'](_0x4ddade[_0x1405a7(0x316)]))],_0x4dab01);var _0x5a7aac=Object[_0x1405a7(0x1ba)],_0x128175=(_0x14bdf8,_0x17a86a,_0x290b1f,_0x2c3d1d)=>{const _0x21dbc6=_0x1405a7;for(var _0xb815e8=_0x2c3d1d>0x1?void 0x0:_0x2c3d1d?_0x5a7aac(_0x17a86a,_0x290b1f):_0x17a86a,_0x94def4=_0x14bdf8[_0x21dbc6(0x39a)]-0x1,_0x3b0182;_0x94def4>=0x0;_0x94def4--)(_0x3b0182=_0x14bdf8[_0x94def4])&&(_0xb815e8=_0x3b0182(_0xb815e8)||_0xb815e8);return _0xb815e8;},_0x24cf1e=(_0x2c703e,_0x1bd352)=>(_0x39fd5d,_0x28c276)=>_0x1bd352(_0x39fd5d,_0x28c276,_0x2c703e);let _0x3b8e9b=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x5ee255,_0x32ffa8,_0x559829){const _0x4dac74=_0x1405a7;super(),_0xc11de6(this,_0x4dac74(0x282),new Map()),_0xc11de6(this,_0x4dac74(0x1f7),new _0x3883f8[(_0x4dac74(0x2f8))]()),(this[_0x4dac74(0x396)]=_0x5ee255,this[_0x4dac74(0x35b)]=_0x32ffa8,this[_0x4dac74(0x2c0)]=_0x559829,this[_0x4dac74(0x2bc)]());}[_0x1405a7(0x217)](){const _0x477dc1=_0x1405a7;super[_0x477dc1(0x217)](),this['_entityInit$']['complete'](),this[_0x477dc1(0x282)][_0x477dc1(0x335)](_0x10371d=>_0x10371d['dispose']());}['getCollabCursors$'](_0x2e5f80){const _0x4d4e0f=_0x1405a7;return this[_0x4d4e0f(0x282)][_0x4d4e0f(0x1a9)](_0x2e5f80)?this['_entities'][_0x4d4e0f(0x1c3)](_0x2e5f80)[_0x4d4e0f(0x29e)]:this[_0x4d4e0f(0x1f7)]['pipe'](_0x3883f8[_0x4d4e0f(0x144)](_0x233493=>_0x233493[_0x4d4e0f(0x150)]===_0x2e5f80),_0x3883f8['switchMap'](_0x481fd1=>_0x481fd1[_0x4d4e0f(0x29e)]));}[_0x1405a7(0x2bc)](){const _0x2c81e9=_0x1405a7;this[_0x2c81e9(0x396)][_0x2c81e9(0x169)](_0x57425f['UniverInstanceType'][_0x2c81e9(0x18a)])[_0x2c81e9(0x3bd)](_0x3883f8[_0x2c81e9(0x2dd)](this['dispose$']))[_0x2c81e9(0x12d)](async _0x32ae12=>{const _0x3f0506=_0x2c81e9,_0xbc669d=_0x32ae12['getUnitId'](),_0x56b6b4=await this[_0x3f0506(0x31f)](_0xbc669d);this['_entityInit$'][_0x3f0506(0x33f)](_0x56b6b4),this[_0x3f0506(0x282)][_0x3f0506(0x3a1)](_0xbc669d,_0x56b6b4);}),this[_0x2c81e9(0x396)]['getTypeOfUnitAdded$'](_0x57425f[_0x2c81e9(0x311)][_0x2c81e9(0x37f)])['pipe'](_0x3883f8[_0x2c81e9(0x2dd)](this[_0x2c81e9(0x22e)]))[_0x2c81e9(0x3bd)](_0x3883f8[_0x2c81e9(0x144)](_0x8665d0=>!_0x8665d0[_0x2c81e9(0x219)]()[_0x2c81e9(0x1d4)]('__')))[_0x2c81e9(0x12d)](async _0x535923=>{const _0x2a9916=_0x2c81e9,_0x136d58=_0x535923[_0x2a9916(0x219)](),_0x59c610=await this[_0x2a9916(0x231)](_0x136d58);this[_0x2a9916(0x1f7)][_0x2a9916(0x33f)](_0x59c610),this[_0x2a9916(0x282)][_0x2a9916(0x3a1)](_0x136d58,_0x59c610);}),_0x3883f8['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x57425f['UniverInstanceType']['UNIVER_DOC']),this[_0x2c81e9(0x396)]['getTypeOfUnitDisposed$'](_0x57425f[_0x2c81e9(0x311)]['UNIVER_SHEET']))['pipe'](_0x3883f8[_0x2c81e9(0x2dd)](this['dispose$']))[_0x2c81e9(0x12d)](_0x3be029=>{const _0x16976c=_0x2c81e9,_0x16aa5f=_0x3be029[_0x16976c(0x219)](),_0x17bc5b=this[_0x16976c(0x282)][_0x16976c(0x1c3)](_0x16aa5f);_0x17bc5b&&(_0x17bc5b['dispose'](),this[_0x16976c(0x282)][_0x16976c(0x235)](_0x16aa5f));});}async[_0x1405a7(0x31f)](_0x4add82){const _0x591cfd=_0x1405a7,_0x5e227d=await this[_0x591cfd(0x2c0)]['requireSession'](_0x4add82),_0x2e5cf7=this[_0x591cfd(0x35b)][_0x591cfd(0x1ef)](_0x4dab01,_0x4add82,_0x5e227d);return _0x2e5cf7[_0x591cfd(0x3a5)](),_0x2e5cf7;}async['_startDocCollabCursor'](_0x3f9a84){const _0x2ca2df=_0x1405a7,_0x457fa1=await this['_collabSessionService'][_0x2ca2df(0x134)](_0x3f9a84),_0x17939d=this[_0x2ca2df(0x35b)]['createInstance'](_0x43629f,_0x3f9a84,_0x457fa1);return _0x17939d['init'](),_0x17939d;}};_0x3b8e9b=_0x128175([_0x24cf1e(0x0,_0x57425f[_0x1405a7(0x3c7)]),_0x24cf1e(0x1,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x24cf1e(0x2,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x27a)]))],_0x3b8e9b);const _0x4276c8=0x14,_0x36b675=0xc8,_0x434809=0x4,_0x24d7b2=0x5;function _0x3cb1f7(_0x1c8481,_0x4ce01f){const _0x32a4d3=_0x1405a7;let {radius:_0x1b18d8,width:_0x4f25cf,height:_0x1ff166}=_0x4ce01f;_0x1b18d8=_0x1b18d8!=null?_0x1b18d8:0x0,_0x4f25cf=_0x4f25cf!=null?_0x4f25cf:0x1e,_0x1ff166=_0x1ff166!=null?_0x1ff166:0x1e;let _0x25e11d=0x0,_0x148bc5=0x0,_0x1e42ed=0x0;_0x25e11d=_0x148bc5=_0x1e42ed=Math[_0x32a4d3(0x2ff)](_0x1b18d8,_0x4f25cf/0x2,_0x1ff166/0x2),_0x1c8481['beginPath'](),_0x1c8481[_0x32a4d3(0x129)](_0x25e11d,0x0),_0x1c8481[_0x32a4d3(0x259)](_0x4f25cf-_0x148bc5,0x0),_0x1c8481[_0x32a4d3(0x2a0)](_0x4f25cf-_0x148bc5,_0x148bc5,_0x148bc5,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c8481['lineTo'](_0x4f25cf,_0x1ff166-_0x1e42ed),_0x1c8481[_0x32a4d3(0x2a0)](_0x4f25cf-_0x1e42ed,_0x1ff166-_0x1e42ed,_0x1e42ed,0x0,Math['PI']/0x2,!0x1),_0x1c8481[_0x32a4d3(0x259)](0x0,_0x1ff166),_0x1c8481['lineTo'](0x0,_0x25e11d),_0x1c8481['arc'](_0x25e11d,_0x25e11d,_0x25e11d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c8481['closePath'](),_0x4ce01f[_0x32a4d3(0x310)]&&(_0x1c8481['save'](),_0x1c8481[_0x32a4d3(0x204)]=_0x4ce01f[_0x32a4d3(0x310)],_0x4ce01f[_0x32a4d3(0x164)]===_0x32a4d3(0x29c)?_0x1c8481['fill'](_0x32a4d3(0x29c)):_0x1c8481[_0x32a4d3(0x310)](),_0x1c8481[_0x32a4d3(0x148)]());}class _0x100091 extends _0x29da64[_0x1405a7(0x2a1)]{constructor(_0x35bd68,_0x6002){const _0x2d28b2=_0x1405a7;super(_0x35bd68,_0x6002),_0xc11de6(this,_0x2d28b2(0x2d9)),_0xc11de6(this,_0x2d28b2(0x294)),(this[_0x2d28b2(0x2d9)]=_0x6002==null?void 0x0:_0x6002['color'],this[_0x2d28b2(0x294)]=_0x6002==null?void 0x0:_0x6002['text']);}static[_0x1405a7(0x162)](_0x13220f,_0x190760){const _0x4f0c48=_0x1405a7,{text:_0x3c3cb4,color:_0x39c285}=_0x190760;_0x13220f[_0x4f0c48(0x320)](),_0x13220f[_0x4f0c48(0x3c6)]=_0x4f0c48(0x1da);const _0x7d7fbb=_0x13220f['measureText'](_0x3c3cb4)['width'],_0xbf13fc=Math[_0x4f0c48(0x2ff)](_0x7d7fbb+0x2*_0x434809,_0x36b675);_0x3cb1f7(_0x13220f,{'height':_0x4276c8,'radius':0x4,'width':_0xbf13fc,'fill':_0x39c285}),_0x13220f['fillStyle']='#FFF';const _0x4803be=_0x434809,_0x344c59=_0x4276c8-_0x24d7b2,_0x3d7ead=_0x36b675-0x2*_0x434809;if(_0x7d7fbb>_0x3d7ead){let _0x14be21='',_0x39513b=0x0;for(const _0x5ef375 of _0x3c3cb4){const _0xab18fe=_0x13220f['measureText'](_0x5ef375)['width'];if(_0x39513b+_0xab18fe<=_0x3d7ead-_0x13220f['measureText'](_0x4f0c48(0x24a))[_0x4f0c48(0x23a)])_0x14be21+=_0x5ef375,_0x39513b+=_0xab18fe;else{_0x14be21+=_0x4f0c48(0x24a);break;}}_0x13220f['fillText'](_0x14be21,_0x4803be,_0x344c59);}else _0x13220f[_0x4f0c48(0x380)](_0x3c3cb4,_0x4803be,_0x344c59);_0x13220f[_0x4f0c48(0x148)]();}[_0x1405a7(0x2ef)](_0x5a438c){const _0x4350b9=_0x1405a7;_0x100091[_0x4350b9(0x162)](_0x5a438c,this);}}const _0x5358e3=_0x1405a7(0x26a),_0x29c8ce=_0x1405a7(0x352),_0x52c3d7=_0x1405a7(0x1b1),_0x10a006=0x6,_0x44a629=1.5,_0x425d51=0x4,_0x160e77=1.5,_0x27af09=_0x1405a7(0x1b7);class _0x583714{constructor(_0x2efc6d,_0x5ade2e,_0x20958a,_0x2cca7c){const _0xa83b83=_0x1405a7;_0xc11de6(this,_0xa83b83(0x24f),[]),_0xc11de6(this,_0xa83b83(0x2fd),null),_0xc11de6(this,_0xa83b83(0x35c),null),_0xc11de6(this,_0xa83b83(0x2d5),null),_0xc11de6(this,'_hideTimer',null),_0xc11de6(this,_0xa83b83(0x2cb),null),(this[_0xa83b83(0x18b)]=_0x2efc6d,this[_0xa83b83(0x2bb)]=_0x5ade2e,this[_0xa83b83(0x347)]=_0x20958a,this[_0xa83b83(0x1ce)]=_0x2cca7c,this[_0xa83b83(0x3a8)]());}set[_0x1405a7(0x1ac)](_0x48ef77){const _0x6bb774=_0x1405a7;_0x48ef77?(this[_0x6bb774(0x2d5)]&&this[_0x6bb774(0x2d5)][_0x6bb774(0x1e2)](),this[_0x6bb774(0x35c)]&&this['_textBubble'][_0x6bb774(0x23b)]()):(this[_0x6bb774(0x2d5)]&&this[_0x6bb774(0x2d5)][_0x6bb774(0x23b)](),this[_0x6bb774(0x35c)]&&this[_0x6bb774(0x35c)][_0x6bb774(0x1e2)]());}[_0x1405a7(0x217)](){const _0x387adc=_0x1405a7;for(const _0x7bddce of this['_shapes'])_0x7bddce['dispose']();this[_0x387adc(0x35c)]&&this[_0x387adc(0x35c)]['dispose'](),this[_0x387adc(0x2d5)]&&this['_anchorDot'][_0x387adc(0x217)](),this[_0x387adc(0x2fd)]&&this[_0x387adc(0x2fd)][_0x387adc(0x217)](),this[_0x387adc(0x2cb)]&&this['_eventUnsubscribe']();}[_0x1405a7(0x3a8)](){const _0x4e8f0e=_0x1405a7;var _0x3da112;const {_docSkeleton:_0x138575,_document:_0x302526}=this,{color:_0x5e5b37,name:_0x35c255,ranges:_0x19d72a}=this[_0x4e8f0e(0x18b)],_0x2938b1=_0x302526[_0x4e8f0e(0x1d2)](),{docsLeft:_0x5bc506,docsTop:_0x2c8e25}=_0x2938b1,_0x19a213=new _0x29ac66[(_0x4e8f0e(0x1fa))](_0x2938b1,_0x138575);for(const {startOffset:_0x5a4ef6,endOffset:_0x220c50,rangeType:_0x278884,segmentId:_0x5aa1a0,segmentPage:_0x4389da,collapsed:_0x47487e,isActive:_0x7de9de}of _0x19d72a){const _0x4595f4=_0x138575[_0x4e8f0e(0x280)](_0x5a4ef6,!0x0,_0x5aa1a0,_0x4389da);let _0x15bec1=_0x138575[_0x4e8f0e(0x280)](_0x220c50,!0x0,_0x5aa1a0,_0x4389da);if(_0x15bec1==null&&(_0x15bec1=_0x138575[_0x4e8f0e(0x280)](_0x220c50-0x1,!0x1,_0x5aa1a0,_0x4389da)),_0x7de9de){const {contentBoxPointGroup:_0x20dee0}=_0x19a213['getRangePointData'](_0x15bec1,_0x15bec1);if(_0x20dee0[_0x4e8f0e(0x39a)]===0x0)continue;this[_0x4e8f0e(0x20a)](_0x5e5b37,_0x20dee0,_0x5bc506,_0x2c8e25,_0x35c255),this['_eventUnsubscribe']=this[_0x4e8f0e(0x229)]();}if(_0x4595f4&&_0x15bec1){if(_0x278884===_0x57425f[_0x4e8f0e(0x14e)][_0x4e8f0e(0x131)]){const _0x1a1698=new _0x29ac66[(_0x4e8f0e(0x1f3))](_0x2938b1,_0x138575),{pointGroup:_0x28d800}=(_0x3da112=_0x1a1698[_0x4e8f0e(0x263)](_0x4595f4,_0x15bec1))!=null?_0x3da112:{};if(_0x28d800==null||_0x28d800[_0x4e8f0e(0x39a)]===0x0)continue;this[_0x4e8f0e(0x2fe)](_0x5e5b37,_0x28d800,_0x5bc506,_0x2c8e25);}else{if(!_0x47487e){const {borderBoxPointGroup:_0x1f1877}=_0x19a213['getRangePointData'](_0x4595f4,_0x15bec1);if(_0x1f1877['length']===0x0)continue;this[_0x4e8f0e(0x303)](_0x5e5b37,_0x1f1877,_0x5bc506,_0x2c8e25);}}}}}[_0x1405a7(0x20a)](_0x3bdef2,_0x264b18,_0x20a910,_0x186be2,_0x224a50){const _0x1fa93d=_0x1405a7,_0x28183f=this[_0x1fa93d(0x272)](_0x264b18),{left:_0x27f3a2,top:_0x79c44a,height:_0x403f1e}=_0x28183f,_0x3a56c5=this[_0x1fa93d(0x369)](),_0x34eb6f=_0x160e77/_0x3a56c5,_0x5bb87b=new _0x29da64[(_0x1fa93d(0x339))](_0x5358e3+_0x57425f[_0x1fa93d(0x17f)][_0x1fa93d(0x3c0)](_0x10a006),{'left':_0x27f3a2+_0x20a910-_0x34eb6f,'top':_0x79c44a+_0x186be2,'height':_0x403f1e,'width':_0x44a629,'fill':_0x3bdef2||_0x29da64[_0x1fa93d(0x348)](_0x57425f[_0x1fa93d(0x3a4)]['black'],0x0),'strokeWidth':_0x34eb6f,'stroke':_0x27af09,'evented':!0x0});this[_0x1fa93d(0x2fd)]=_0x5bb87b,this[_0x1fa93d(0x2bb)][_0x1fa93d(0x2da)](_0x5bb87b,_0x29ac66[_0x1fa93d(0x230)]);const _0x52b443=new _0x29da64[(_0x1fa93d(0x339))](_0x5358e3+_0x57425f[_0x1fa93d(0x17f)][_0x1fa93d(0x3c0)](_0x10a006),{'left':_0x27f3a2+_0x20a910-_0x34eb6f,'top':_0x79c44a+_0x186be2-_0x425d51/0x2,'height':_0x425d51,'width':_0x425d51,'fill':_0x3bdef2||_0x29da64[_0x1fa93d(0x348)](_0x57425f[_0x1fa93d(0x3a4)][_0x1fa93d(0x288)],0x0),'strokeWidth':0x0,'stroke':_0x3bdef2||_0x29da64[_0x1fa93d(0x348)](_0x57425f[_0x1fa93d(0x3a4)][_0x1fa93d(0x288)],0x0),'evented':!0x1});this[_0x1fa93d(0x2d5)]=_0x52b443,this[_0x1fa93d(0x2bb)][_0x1fa93d(0x2da)](_0x52b443,_0x29ac66[_0x1fa93d(0x230)]);const _0x1309dd=new _0x100091(_0x5358e3+_0x57425f['Tools'][_0x1fa93d(0x3c0)](_0x10a006),{'left':_0x27f3a2+_0x20a910-_0x34eb6f,'top':_0x79c44a+_0x186be2-_0x4276c8,'text':_0x224a50,'color':_0x3bdef2});this['_textBubble']=_0x1309dd,this[_0x1fa93d(0x2bb)]['addObject'](_0x1309dd,_0x29ac66[_0x1fa93d(0x230)]),this[_0x1fa93d(0x1ac)]=!0x1;}['_handleHover'](){const _0x2a22c2=_0x1405a7,_0x5f2c7a=this[_0x2a22c2(0x2fd)][_0x2a22c2(0x24b)][_0x2a22c2(0x1e6)](()=>{const _0x302666=_0x2a22c2;this[_0x302666(0x1ac)]=!0x0;}),_0x1045e1=this[_0x2a22c2(0x2fd)][_0x2a22c2(0x130)][_0x2a22c2(0x1e6)](()=>{const _0x27d2a4=_0x2a22c2;this['_hideTimer']&&clearTimeout(this[_0x27d2a4(0x3ba)]),this['_hideTimer']=setTimeout(()=>{const _0x3f90d5=_0x27d2a4;this[_0x3f90d5(0x1ac)]=!0x1;},0x7d0);});return()=>{const _0xcf973b=_0x2a22c2;_0x5f2c7a[_0xcf973b(0x135)](),_0x1045e1[_0xcf973b(0x135)]();};}[_0x1405a7(0x303)](_0x490400,_0x29bd20,_0x51178d,_0x25b7a3){const _0x23ab54=_0x1405a7,_0x1bfc5b=new _0x57425f[(_0x23ab54(0x21a))](_0x490400)[_0x23ab54(0x2e4)](0.2)['toRgbString'](),_0xf8257f=new _0x29da64['RegularPolygon'](_0x29c8ce+_0x57425f['Tools']['generateRandomId'](_0x10a006),{'pointsGroup':_0x29bd20,'fill':_0x1bfc5b||_0x29da64[_0x23ab54(0x348)](_0x57425f[_0x23ab54(0x3a4)]['black'],0.2),'left':_0x51178d,'top':_0x25b7a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23ab54(0x24f)][_0x23ab54(0x173)](_0xf8257f),this[_0x23ab54(0x2bb)][_0x23ab54(0x2da)](_0xf8257f,_0x29ac66[_0x23ab54(0x230)]);}[_0x1405a7(0x2fe)](_0x4d16f4,_0x274800,_0x18c03c,_0x4b504d){const _0x49a3a8=_0x1405a7,_0x3b4d1d=new _0x57425f['ColorKit'](_0x4d16f4)[_0x49a3a8(0x2e4)](0.2)['toRgbString'](),_0x57a0c6=new _0x29da64[(_0x49a3a8(0x3b9))](_0x52c3d7+_0x57425f['Tools'][_0x49a3a8(0x3c0)](_0x10a006),{'pointsGroup':_0x274800,'fill':_0x3b4d1d||_0x29da64[_0x49a3a8(0x348)](_0x57425f[_0x49a3a8(0x3a4)][_0x49a3a8(0x288)],0.2),'left':_0x18c03c,'top':_0x4b504d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49a3a8(0x24f)][_0x49a3a8(0x173)](_0x57a0c6),this[_0x49a3a8(0x2bb)][_0x49a3a8(0x2da)](_0x57a0c6,_0x29ac66['TEXT_RANGE_LAYER_INDEX']);}[_0x1405a7(0x272)](_0x42f281){const _0x3e2239=_0x42f281[0x0],_0x555621=_0x3e2239[0x0],_0xdc903d=_0x3e2239[0x2],{x:_0x405ccc,y:_0x7d2604}=_0x555621,{x:_0x4e50a4,y:_0x2e7528}=_0xdc903d;return{'left':_0x405ccc,'top':_0x7d2604,'width':_0x4e50a4-_0x405ccc,'height':_0x2e7528-_0x7d2604};}['_getScale'](){const _0x55ad2a=_0x1405a7,{scaleX:_0x529aff,scaleY:_0x5d5802}=this[_0x55ad2a(0x2bb)][_0x55ad2a(0x3a9)]();return Math['max'](_0x529aff,_0x5d5802);}}var _0x28728e=Object['getOwnPropertyDescriptor'],_0xcf456=(_0xa44b6a,_0x2afb37,_0x1c3a0b,_0x380c07)=>{const _0x5857b6=_0x1405a7;for(var _0xdee304=_0x380c07>0x1?void 0x0:_0x380c07?_0x28728e(_0x2afb37,_0x1c3a0b):_0x2afb37,_0x139a65=_0xa44b6a[_0x5857b6(0x39a)]-0x1,_0xc1bbb6;_0x139a65>=0x0;_0x139a65--)(_0xc1bbb6=_0xa44b6a[_0x139a65])&&(_0xdee304=_0xc1bbb6(_0xdee304)||_0xdee304);return _0xdee304;},_0x350ee4=(_0x581bf4,_0x1cbd0f)=>(_0x27692f,_0x530928)=>_0x1cbd0f(_0x27692f,_0x530928,_0x581bf4);let _0x4bcef5=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x36ce8a,_0x2d1a32,_0x2a664b,_0x283895,_0x28c4f2){const _0x4a11ad=_0x1405a7;super(),_0xc11de6(this,_0x4a11ad(0x289),[]),_0xc11de6(this,_0x4a11ad(0x17b),[]),(this['_context']=_0x36ce8a,this[_0x4a11ad(0x277)]=_0x2d1a32,this[_0x4a11ad(0x26e)]=_0x2a664b,this['_commandService']=_0x283895,this['_themeService']=_0x28c4f2,this[_0x4a11ad(0x2bc)]());}[_0x1405a7(0x2bc)](){const _0xf1cadd=_0x1405a7,_0x5158f7=this[_0xf1cadd(0x365)][_0xf1cadd(0x1d1)],_0xb35862=this[_0xf1cadd(0x277)];this[_0xf1cadd(0x22c)](_0x3883f8['combineLatest']([this[_0xf1cadd(0x26e)][_0xf1cadd(0x2e9)](_0x5158f7),this[_0xf1cadd(0x1c2)][_0xf1cadd(0x2b8)]])[_0xf1cadd(0x3bd)](_0x4b14ca[_0xf1cadd(0x3bb)](([_0x2f545d,_0x4d2f50])=>({'skeleton':_0xb35862[_0xf1cadd(0x287)](),'cursors':[..._0x2f545d[_0xf1cadd(0x302)]()]['flatMap'](_0x2b2827=>({..._0x2b2827,'color':_0x4d2f50[_0x2b2827['color']]}))})))[_0xf1cadd(0x12d)](_0x2340f8=>{const _0x5d29d5=_0xf1cadd;if(this[_0x5d29d5(0x1e3)](),_0x2340f8){const {skeleton:_0x421c67,cursors:_0x440416}=_0x2340f8;this[_0x5d29d5(0x185)](_0x421c67,_0x440416);}})),this[_0xf1cadd(0x146)](),this[_0xf1cadd(0x138)]();}[_0x1405a7(0x185)](_0x553228,_0x28872f){const _0x239d73=_0x1405a7,{scene:_0x5c2b82,mainComponent:_0x4394c9}=this[_0x239d73(0x365)],_0x10c2c6=_0x28872f[_0x239d73(0x3bb)](_0x52cc00=>new _0x583714(_0x52cc00,_0x5c2b82,_0x553228,_0x4394c9));this[_0x239d73(0x289)]=_0x10c2c6,this[_0x239d73(0x17b)]=_0x28872f;}['_refreshCollabCursors'](){const _0x255f78=_0x1405a7;this[_0x255f78(0x1e3)]();const {scene:_0x426268,mainComponent:_0x5d020a}=this[_0x255f78(0x365)],_0x561ee8=this[_0x255f78(0x277)][_0x255f78(0x287)](),_0x5ee463=this[_0x255f78(0x17b)][_0x255f78(0x3bb)](_0xa00212=>new _0x583714(_0xa00212,_0x426268,_0x561ee8,_0x5d020a));this[_0x255f78(0x289)]=_0x5ee463;}[_0x1405a7(0x1e3)](){const _0x3adaf1=_0x1405a7;this[_0x3adaf1(0x289)][_0x3adaf1(0x335)](_0xc7d79f=>_0xc7d79f['dispose']()),this[_0x3adaf1(0x289)]=[];}[_0x1405a7(0x138)](){const _0x1f1bc8=_0x1405a7,_0x3e3746=[_0x29ac66['SetDocZoomRatioOperation']['id']];this[_0x1f1bc8(0x22c)](this[_0x1f1bc8(0x2e5)]['onCommandExecuted'](_0x2e39a2=>{const _0x41f20f=_0x1f1bc8;_0x3e3746[_0x41f20f(0x25c)](_0x2e39a2['id'])&&_0x2e39a2['params']['unitId']===this[_0x41f20f(0x365)][_0x41f20f(0x1d1)]&&this[_0x41f20f(0x16b)]();}));}[_0x1405a7(0x146)](){const _0x5509f6=_0x1405a7;this[_0x5509f6(0x22c)](_0x57425f['fromEventSubject'](this[_0x5509f6(0x365)][_0x5509f6(0x1a7)][_0x5509f6(0x261)])['pipe'](_0x4b14ca['filter'](_0x5a0c40=>_0x5a0c40[_0x5509f6(0x1b3)]===_0x29da64[_0x5509f6(0x1ee)][_0x5509f6(0x279)]),_0x4b14ca[_0x5509f6(0x258)](0x10))[_0x5509f6(0x12d)](()=>{const _0x5c06d1=_0x5509f6;this[_0x5c06d1(0x16b)]();}));}};_0x4bcef5=_0xcf456([_0x350ee4(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x141165[_0x1405a7(0x34c)])),_0x350ee4(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x3b8e9b)),_0x350ee4(0x3,_0x57425f[_0x1405a7(0x328)]),_0x350ee4(0x4,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x236)]))],_0x4bcef5);const _0x21e465=0x1,_0x4f245f=1.5;class _0x5fa9c6 extends _0x29da64['Shape']{constructor(_0x39b8f4,_0x5c1799){const _0x1cc066=_0x1405a7;super(_0x39b8f4,_0x5c1799),_0xc11de6(this,_0x1cc066(0x207)),_0xc11de6(this,_0x1cc066(0x36f),!0x1),_0xc11de6(this,_0x1cc066(0x270)),_0xc11de6(this,_0x1cc066(0x161),''),_0xc11de6(this,_0x1cc066(0x3c2),'top'),_0xc11de6(this,_0x1cc066(0x12e)),(_0x5c1799&&this[_0x1cc066(0x26f)](_0x5c1799),this[_0x1cc066(0x24b)][_0x1cc066(0x1e6)](()=>this[_0x1cc066(0x26f)]({'hovered':!0x0})),this[_0x1cc066(0x130)][_0x1cc066(0x1e6)](()=>this[_0x1cc066(0x26f)]({'hovered':!0x1})));}['setShapeProps'](_0x3d3425){const _0x552707=_0x1405a7;var _0x41c90e,_0x1dea89,_0x5a6b3e,_0x4fb14d,_0x4d6cbf,_0x27d9b4;this[_0x552707(0x207)]=(_0x41c90e=_0x3d3425[_0x552707(0x2d9)])!=null?_0x41c90e:this[_0x552707(0x207)],this[_0x552707(0x36f)]=(_0x1dea89=_0x3d3425[_0x552707(0x14c)])!=null?_0x1dea89:this['_hovered'],this[_0x552707(0x270)]=(_0x5a6b3e=_0x3d3425[_0x552707(0x278)])!=null?_0x5a6b3e:this[_0x552707(0x270)],this[_0x552707(0x161)]=(_0x4fb14d=_0x3d3425['name'])!=null?_0x4fb14d:this[_0x552707(0x161)],this['_labelPosition']=(_0x4d6cbf=_0x3d3425[_0x552707(0x15e)])!=null?_0x4d6cbf:this[_0x552707(0x3c2)],this[_0x552707(0x12e)]=(_0x27d9b4=_0x3d3425[_0x552707(0x314)])!=null?_0x27d9b4:this[_0x552707(0x12e)],this[_0x552707(0x37c)]({'width':_0x3d3425['width'],'height':_0x3d3425[_0x552707(0x149)]});}[_0x1405a7(0x223)](_0x596f20){const _0x2de2f6=_0x1405a7,{row:_0x8c914d,column:_0x1dd00f}=_0x596f20;if(_0x8c914d>=this[_0x2de2f6(0x270)]['startRow']&&_0x8c914d<=this[_0x2de2f6(0x270)][_0x2de2f6(0x13c)]&&_0x1dd00f>=this[_0x2de2f6(0x270)][_0x2de2f6(0x16c)]&&_0x1dd00f<=this[_0x2de2f6(0x270)][_0x2de2f6(0x23d)]){this[_0x2de2f6(0x26f)]({'hovered':!0x0});return;}this[_0x2de2f6(0x26f)]({'hovered':!0x1});}['triggerDblclick'](_0x3fd342){return!0x1;}[_0x1405a7(0x2ef)](_0x41f1b1){const _0x167498=_0x1405a7;_0x29da64['Rect']['drawWith'](_0x41f1b1,{'width':this[_0x167498(0x23a)],'height':this[_0x167498(0x149)],'strokeWidth':_0x4f245f,'stroke':this[_0x167498(0x207)],'evented':!0x1,'fill':this[_0x167498(0x12e)]}),this['_hovered']&&(_0x41f1b1['save'](),_0x41f1b1[_0x167498(0x20d)](0x1,0x0,0x0,0x1,this[_0x167498(0x23a)],this['_labelPosition']===_0x167498(0x357)?0x0:-0x14),_0x100091[_0x167498(0x162)](_0x41f1b1,{'text':this[_0x167498(0x161)],'color':this['_color']}),_0x41f1b1[_0x167498(0x148)]());}}var _0x176f79=Object[_0x1405a7(0x1ba)],_0x4eaf77=(_0x2bfcb3,_0x5cd5f4,_0x34c3b7,_0x53100a)=>{const _0x3d8f90=_0x1405a7;for(var _0x3cc357=_0x53100a>0x1?void 0x0:_0x53100a?_0x176f79(_0x5cd5f4,_0x34c3b7):_0x5cd5f4,_0x3d69a1=_0x2bfcb3[_0x3d8f90(0x39a)]-0x1,_0x545755;_0x3d69a1>=0x0;_0x3d69a1--)(_0x545755=_0x2bfcb3[_0x3d69a1])&&(_0x3cc357=_0x545755(_0x3cc357)||_0x3cc357);return _0x3cc357;},_0x1669d3=(_0x36daa5,_0x309dc2)=>(_0x4f0c45,_0x599331)=>_0x309dc2(_0x4f0c45,_0x599331,_0x36daa5);const _0x4fd776=0x1389;let _0x16a77a=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x41a1cd,_0x28b16d,_0x44064c,_0x3f2873){const _0x99f61d=_0x1405a7;super(),_0xc11de6(this,_0x99f61d(0x17b),new Set()),_0xc11de6(this,_0x99f61d(0x346),null),(this[_0x99f61d(0x365)]=_0x41a1cd,this[_0x99f61d(0x379)]=_0x28b16d,this['_collabCursorController']=_0x44064c,this['_themeService']=_0x3f2873,this[_0x99f61d(0x2bc)]());}[_0x1405a7(0x2bc)](){const _0x504a8c=_0x1405a7;this[_0x504a8c(0x379)][_0x504a8c(0x221)][_0x504a8c(0x3bd)](_0x4b14ca[_0x504a8c(0x2dd)](this[_0x504a8c(0x22e)]),_0x4b14ca[_0x504a8c(0x206)](_0x220ce0=>{const _0xd4a922=_0x504a8c;if(_0x220ce0){const _0x3abf6e=_0x220ce0[_0xd4a922(0x1de)];return _0x3883f8[_0xd4a922(0x35e)](this[_0xd4a922(0x26e)][_0xd4a922(0x2e9)](this[_0xd4a922(0x365)][_0xd4a922(0x1d1)]),this[_0xd4a922(0x1c2)]['currentTheme$'])[_0xd4a922(0x3bd)](_0x4b14ca[_0xd4a922(0x3bb)](([_0x3e5c43,_0x116c3a])=>{const _0x2b518c=_0xd4a922,_0x3e3d17=new Map();return _0x3e5c43[_0x2b518c(0x335)]((_0x18f0af,_0x164ae)=>{const _0x3d7d5d=_0x2b518c;if(_0x18f0af['sheetID']===_0x3abf6e){const _0x55b71b={..._0x18f0af};_0x55b71b[_0x3d7d5d(0x2d9)]=_0x116c3a[_0x18f0af[_0x3d7d5d(0x2d9)]],_0x3e3d17['set'](_0x164ae,_0x55b71b);}}),{'skeleton':_0x220ce0,'cursors':_0x3e3d17};}));}return _0x3883f8['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x54650a,cursors:_0x494926})=>{const _0x3825e4=_0x504a8c;this[_0x3825e4(0x1e3)](),_0x54650a&&this[_0x3825e4(0x185)](_0x54650a,_0x494926);}),this[_0x504a8c(0x379)][_0x504a8c(0x221)]['subscribe'](_0x32eb0e=>{const _0x37817d=_0x504a8c;if(_0x32eb0e==null)return;const {skeleton:_0x1da956}=_0x32eb0e,{scene:_0x3fdd4c}=this[_0x37817d(0x365)];_0x3fdd4c['onPointerMove$'][_0x37817d(0x1e6)](_0x57425f[_0x37817d(0x384)](_0x4f3973=>{const _0x11d11b=_0x37817d;var _0x2c30a8,_0x4d2f5c;const {offsetX:_0x56e2c7,offsetY:_0x46b2e8}=_0x4f3973,{x:_0x165fff,y:_0x56fd7e}=_0x3fdd4c[_0x11d11b(0x307)](_0x29da64[_0x11d11b(0x226)][_0x11d11b(0x2d7)]([_0x56e2c7,_0x46b2e8])),{scaleX:_0x15500f,scaleY:_0x2d9a71}=_0x3fdd4c[_0x11d11b(0x3a9)](),_0x5829aa=_0x3fdd4c[_0x11d11b(0x251)](_0x29da64[_0x11d11b(0x398)][_0x11d11b(0x2a3)]),_0x19e4ca=_0x3fdd4c['getVpScrollXYInfoByPosToVp'](_0x29da64[_0x11d11b(0x226)][_0x11d11b(0x2d7)]([_0x165fff,_0x56fd7e]),_0x5829aa),_0x2ec326=_0x1da956[_0x11d11b(0x19b)](_0x56e2c7,_0x46b2e8,_0x15500f,_0x2d9a71,_0x19e4ca);((_0x2c30a8=this['_lastPointer'])==null?void 0x0:_0x2c30a8[_0x11d11b(0x234)])===_0x2ec326[_0x11d11b(0x234)]&&((_0x4d2f5c=this[_0x11d11b(0x346)])==null?void 0x0:_0x4d2f5c[_0x11d11b(0x3c3)])===_0x2ec326[_0x11d11b(0x3c3)]||this[_0x11d11b(0x17b)][_0x11d11b(0x335)](_0x30a651=>{_0x30a651['onMouseMove'](_0x2ec326);});},0x64));});}[_0x1405a7(0x185)](_0x2a7730,_0x19712f){const _0x31fd49=_0x1405a7;var _0x381cac;const _0x547930=(_0x381cac=this['_sheetSkeletonManagerService'][_0x31fd49(0x1a4)]())==null?void 0x0:_0x381cac[_0x31fd49(0x19a)];if(!_0x547930)return;const _0x5f2921=this['_getSheetObject']();if(!_0x5f2921)return;this[_0x31fd49(0x17b)][_0x31fd49(0x335)](_0x33b446=>{const _0x52e476=_0x31fd49;_0x33b446[_0x52e476(0x26d)]();});const {scene:_0x11fc5e}=_0x5f2921,_0x5e8bbf=_0x3ae3c8(Array[_0x31fd49(0x2ae)](_0x19712f['values']()))[_0x31fd49(0x3bb)](_0x3f64b4=>{const _0x329fd6=_0x31fd49,{color:_0x599f07,range:_0x383128,name:_0x4fa7af,selection:_0xa0b356,sheetID:_0x2e45ad}=_0x3f64b4,{startColumn:_0x578756,startRow:_0x254cab,endColumn:_0x4b466f,endRow:_0x41b28c}=_0x383128,_0x3eea72=_0x3bd0fb[_0x329fd6(0x2f4)](_0x254cab,_0x578756,_0x11fc5e,_0x547930),_0xa8d9dc=_0x3bd0fb[_0x329fd6(0x2f4)](_0x41b28c,_0x4b466f,_0x11fc5e,_0x547930),{columnHeaderHeightAndMarginTop:_0x2660f8}=_0x547930,{startX:_0x4a6aad,startY:_0x270370}=_0x3eea72,{endX:_0x5c1e39,endY:_0x34cea8}=_0xa8d9dc,_0x404165=_0x5c1e39-_0x4a6aad,_0xf50ca8=_0x34cea8-_0x270370,_0x18ebb9={'labelPosition':_0x270370-_0x2660f8>=_0x4276c8?_0x329fd6(0x252):'bottom','sheetID':_0x2e45ad,'range':_0x383128,'color':_0x599f07,'name':_0x4fa7af,'selection':_0xa0b356,'left':_0x4a6aad,'top':_0x270370,'width':_0x404165,'height':_0xf50ca8,'evented':!0x1,'zIndex':_0x4fd776};return new _0x5fa9c6(_0x4fa7af,_0x18ebb9);});_0x11fc5e[_0x31fd49(0x15a)](_0x5e8bbf,_0x21e465),this[_0x31fd49(0x17b)]=new Set(_0x5e8bbf);}[_0x1405a7(0x1e3)](){const _0x46b005=_0x1405a7;var _0x57ae33;(_0x57ae33=this[_0x46b005(0x17b)])==null||_0x57ae33[_0x46b005(0x335)](_0x5ad78f=>_0x5ad78f[_0x46b005(0x217)]());}[_0x1405a7(0x1e4)](){const _0x305893=_0x1405a7;return _0x3bd0fb[_0x305893(0x3b3)](this[_0x305893(0x365)]['unit'],this[_0x305893(0x365)]);}};_0x16a77a=_0x4eaf77([_0x1669d3(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x3bd0fb[_0x1405a7(0x3a7)])),_0x1669d3(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x3b8e9b)),_0x1669d3(0x3,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x236)]))],_0x16a77a);function _0x3ae3c8(_0x23c39c){const _0x5727f9=_0x1405a7,_0x3f4913=new Map();return _0x23c39c[_0x5727f9(0x335)](_0x2a5b79=>{const _0x4344c4=_0x5727f9;if(_0x3f4913['has'](_0x2a5b79[_0x4344c4(0x393)])){const _0x38efb9=_0x3f4913[_0x4344c4(0x1c3)](_0x2a5b79[_0x4344c4(0x393)]);_0x38efb9['name']+=',\x20'+_0x2a5b79[_0x4344c4(0x306)];}else _0x3f4913[_0x4344c4(0x3a1)](_0x2a5b79[_0x4344c4(0x393)],_0x2a5b79);}),Array[_0x5727f9(0x2ae)](_0x3f4913['values']());}var _0x17a228=function(){const _0xdd6a6=_0x1405a7;return _0x17a228=Object[_0xdd6a6(0x285)]||function(_0x3639a2){const _0x595b0f=_0xdd6a6;for(var _0x1eb953,_0x112a0a=0x1,_0x5534b5=arguments[_0x595b0f(0x39a)];_0x112a0a<_0x5534b5;_0x112a0a++){_0x1eb953=arguments[_0x112a0a];for(var _0x1ef78b in _0x1eb953)Object[_0x595b0f(0x2cd)][_0x595b0f(0x232)][_0x595b0f(0x267)](_0x1eb953,_0x1ef78b)&&(_0x3639a2[_0x1ef78b]=_0x1eb953[_0x1ef78b]);}return _0x3639a2;},_0x17a228[_0xdd6a6(0x24c)](this,arguments);},_0x3459c8=function(_0xea4e16,_0x8df2a4){const _0x3ef63d=_0x1405a7;var _0x48dfe6={};for(var _0x2a6c6a in _0xea4e16)Object[_0x3ef63d(0x2cd)][_0x3ef63d(0x232)][_0x3ef63d(0x267)](_0xea4e16,_0x2a6c6a)&&_0x8df2a4[_0x3ef63d(0x18c)](_0x2a6c6a)<0x0&&(_0x48dfe6[_0x2a6c6a]=_0xea4e16[_0x2a6c6a]);if(_0xea4e16!=null&&typeof Object[_0x3ef63d(0x198)]==_0x3ef63d(0x36d)){for(var _0x27461e=0x0,_0x2a6c6a=Object[_0x3ef63d(0x198)](_0xea4e16);_0x27461e<_0x2a6c6a[_0x3ef63d(0x39a)];_0x27461e++)_0x8df2a4['indexOf'](_0x2a6c6a[_0x27461e])<0x0&&Object['prototype'][_0x3ef63d(0x17a)][_0x3ef63d(0x267)](_0xea4e16,_0x2a6c6a[_0x27461e])&&(_0x48dfe6[_0x2a6c6a[_0x27461e]]=_0xea4e16[_0x2a6c6a[_0x27461e]]);}return _0x48dfe6;},_0x7a1d70=_0x5889c3[_0x1405a7(0x327)](function(_0x3e0678,_0x4f6f42){const _0x2429fa=_0x1405a7;var _0x1e0cfb=_0x3e0678[_0x2429fa(0x2f6)],_0x410aad=_0x3e0678['id'],_0x5dcb3d=_0x3e0678['className'],_0x4c9ffd=_0x3e0678[_0x2429fa(0x171)],_0x13a321=_0x3459c8(_0x3e0678,[_0x2429fa(0x2f6),'id',_0x2429fa(0x2b4),_0x2429fa(0x171)]),_0x51376c=_0x2429fa(0x2d0)[_0x2429fa(0x37d)](_0x410aad,'\x20')[_0x2429fa(0x37d)](_0x5dcb3d||'')[_0x2429fa(0x309)](),_0x55b923=_0x5889c3[_0x2429fa(0x1c5)]('_'[_0x2429fa(0x37d)](_0x161cbf()));return _0x175125(_0x1e0cfb,''[_0x2429fa(0x37d)](_0x410aad),{'defIds':_0x1e0cfb['defIds'],'idSuffix':_0x55b923[_0x2429fa(0x1ed)]},_0x17a228({'ref':_0x4f6f42,'className':_0x51376c},_0x13a321),_0x4c9ffd);});function _0x175125(_0x25bf41,_0x56ea8b,_0x1a32ea,_0x5dc13d,_0x4b5c60){const _0x460462=_0x1405a7;return _0x5889c3[_0x460462(0x38f)](_0x25bf41['tag'],_0x17a228(_0x17a228({'key':_0x56ea8b},_0x58ce61(_0x25bf41,_0x1a32ea,_0x4b5c60)),_0x5dc13d),(_0x26b039(_0x25bf41,_0x1a32ea)[_0x460462(0x1c6)]||[])['map'](function(_0x2a699b,_0x3bdae2){const _0x209f36=_0x460462;return _0x175125(_0x2a699b,''[_0x209f36(0x37d)](_0x56ea8b,'-')['concat'](_0x25bf41[_0x209f36(0x2ac)],'-')['concat'](_0x3bdae2),_0x1a32ea,void 0x0,_0x4b5c60);}));}function _0x58ce61(_0x3c9cb2,_0x23199d,_0xdee328){const _0x3c9d78=_0x1405a7;var _0x1d7d78=_0x17a228({},_0x3c9cb2['attrs']);_0xdee328!=null&&_0xdee328[_0x3c9d78(0x23f)]&&_0x1d7d78[_0x3c9d78(0x310)]===_0x3c9d78(0x23f)&&(_0x1d7d78[_0x3c9d78(0x310)]=_0xdee328[_0x3c9d78(0x23f)]),_0x3c9cb2[_0x3c9d78(0x2ac)]==='mask'&&_0x1d7d78['id']&&(_0x1d7d78['id']=_0x1d7d78['id']+_0x23199d[_0x3c9d78(0x1a3)]),Object['entries'](_0x1d7d78)[_0x3c9d78(0x335)](function(_0x406ba4){const _0x49dcc9=_0x3c9d78;var _0x320048=_0x406ba4[0x0],_0x4f481a=_0x406ba4[0x1];_0x320048===_0x49dcc9(0x399)&&typeof _0x4f481a==_0x49dcc9(0x137)&&(_0x1d7d78[_0x320048]=_0x4f481a['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x23199d['idSuffix'],')')));});var _0x51f4f1=_0x23199d[_0x3c9d78(0x196)];return!_0x51f4f1||_0x51f4f1['length']===0x0||(_0x3c9cb2[_0x3c9d78(0x2ac)]===_0x3c9d78(0x21b)&&_0x1d7d78[_0x3c9d78(0x2e3)]&&(_0x1d7d78[_0x3c9d78(0x2e3)]=_0x1d7d78[_0x3c9d78(0x2e3)]+_0x23199d['idSuffix']),Object[_0x3c9d78(0x331)](_0x1d7d78)[_0x3c9d78(0x335)](function(_0x5c3c3f){const _0x3ee766=_0x3c9d78;var _0x37faff=_0x5c3c3f[0x0],_0x3fb4e3=_0x5c3c3f[0x1];typeof _0x3fb4e3==_0x3ee766(0x137)&&(_0x1d7d78[_0x37faff]=_0x3fb4e3[_0x3ee766(0x3a6)](/url\(#(.*)\)/,_0x3ee766(0x337)['concat'](_0x23199d['idSuffix'],')')));})),_0x1d7d78;}function _0x26b039(_0x5eead3,_0x3f6bda){const _0x108e9e=_0x1405a7;var _0x14a683,_0x1ed6cb=_0x3f6bda['defIds'];return!_0x1ed6cb||_0x1ed6cb[_0x108e9e(0x39a)]===0x0?_0x5eead3:_0x5eead3['tag']===_0x108e9e(0x364)&&(!((_0x14a683=_0x5eead3[_0x108e9e(0x1c6)])===null||_0x14a683===void 0x0)&&_0x14a683[_0x108e9e(0x39a)])?_0x17a228(_0x17a228({},_0x5eead3),{'children':_0x5eead3['children'][_0x108e9e(0x3bb)](function(_0x5a4387){const _0x1ea09c=_0x108e9e;return typeof _0x5a4387['attrs']['id']==_0x1ea09c(0x137)&&_0x1ed6cb&&_0x1ed6cb[_0x1ea09c(0x18c)](_0x5a4387[_0x1ea09c(0x254)]['id'])>-0x1?_0x17a228(_0x17a228({},_0x5a4387),{'attrs':_0x17a228(_0x17a228({},_0x5a4387[_0x1ea09c(0x254)]),{'id':_0x5a4387['attrs']['id']+_0x3f6bda[_0x1ea09c(0x1a3)]})}):_0x5a4387;})}):_0x5eead3;}function _0x161cbf(){const _0x2a2ffa=_0x1405a7;return Math[_0x2a2ffa(0x22a)]()[_0x2a2ffa(0x147)](0x24)[_0x2a2ffa(0x3a2)](0x2,0x8);}_0x7a1d70[_0x1405a7(0x2df)]=_0x1405a7(0x200);var _0x2d584b={'tag':_0x1405a7(0x36b),'attrs':{'fill':_0x1405a7(0x394),'viewBox':_0x1405a7(0x250),'width':_0x1405a7(0x39b),'height':_0x1405a7(0x39b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1405a7(0x17e),'d':_0x1405a7(0x188),'strokeLinecap':'round','strokeLinejoin':_0x1405a7(0x1f5),'strokeWidth':1.2}}]},{'tag':_0x1405a7(0x364),'attrs':{},'children':[{'tag':_0x1405a7(0x2aa),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1405a7(0x15b),'attrs':{'fill':_0x1405a7(0x26c),'d':_0x1405a7(0x32a)}}]}]}],'defIds':[_0x1405a7(0x1f0)]},_0x201d27=_0x5889c3[_0x1405a7(0x327)](function(_0x19a59f,_0x3fb363){const _0x29ddb2=_0x1405a7;return _0x5889c3[_0x29ddb2(0x38f)](_0x7a1d70,Object[_0x29ddb2(0x285)]({},_0x19a59f,{'id':_0x29ddb2(0x1db),'ref':_0x3fb363,'icon':_0x2d584b}));});_0x201d27['displayName']=_0x1405a7(0x1b0);var _0x5b0b90={'tag':_0x1405a7(0x36b),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x1405a7(0x39b),'height':_0x1405a7(0x39b)},'children':[{'tag':'g','attrs':{'clipPath':_0x1405a7(0x269)},'children':[{'tag':_0x1405a7(0x15b),'attrs':{'stroke':'currentColor','d':_0x1405a7(0x1b9),'strokeLinecap':_0x1405a7(0x1f5),'strokeLinejoin':_0x1405a7(0x1f5),'strokeWidth':1.2}}]},{'tag':_0x1405a7(0x364),'attrs':{},'children':[{'tag':_0x1405a7(0x2aa),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1405a7(0x15b),'attrs':{'fill':_0x1405a7(0x26c),'d':'M0\x200H16V16H0z','transform':_0x1405a7(0x3b5)}}]}]}],'defIds':[_0x1405a7(0x276)]},_0x258b64=_0x5889c3[_0x1405a7(0x327)](function(_0x1cf4ab,_0x4cebfa){const _0x378086=_0x1405a7;return _0x5889c3[_0x378086(0x38f)](_0x7a1d70,Object['assign']({},_0x1cf4ab,{'id':'on-line-single','ref':_0x4cebfa,'icon':_0x5b0b90}));});_0x258b64[_0x1405a7(0x2df)]='OnLineSingle';function _0xb887e6(_0x1e0ae2){const _0x38193a=_0x1405a7;switch(_0x1e0ae2){case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x3ab)]:return _0x38193a(0x39e);case _0x2b9205[_0x38193a(0x336)]['CONFLICT']:return _0x38193a(0x268);case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x2be)]:return _0x38193a(0x233);case _0x2b9205[_0x38193a(0x336)]['NOT_COLLAB']:return _0x38193a(0x26b);case _0x2b9205[_0x38193a(0x336)]['AWAITING']:case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x358)]:return'collabStatus.syncing';case _0x2b9205['CollaborationStatus'][_0x38193a(0x1be)]:case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x354)]:return _0x38193a(0x2af);}}function _0x554786(_0x3ec524){const _0x1a7c2a=_0x1405a7,{status$:_0x4336c8}=_0x3ec524,_0x2020d3=_0x9ae5c8[_0x1a7c2a(0x271)](_0x4336c8,_0x2b9205[_0x1a7c2a(0x336)][_0x1a7c2a(0x378)]),_0xcd5915=_0x9ae5c8[_0x1a7c2a(0x2c5)](_0x57425f[_0x1a7c2a(0x1a0)]),_0xfbdffd=_0x9ae5c8[_0x1a7c2a(0x2c5)](_0x2b9205[_0x1a7c2a(0x27a)]),_0x19997f=_0x2020d3!==_0x2b9205[_0x1a7c2a(0x336)][_0x1a7c2a(0x3ab)],_0x39a79a=_0xcd5915['t'](_0xb887e6(_0x2020d3)),_0x47f67e=_0x19997f?_0x46722a['jsx'](_0x258b64,{}):_0x46722a[_0x1a7c2a(0x326)](_0x201d27,{}),_0x23eeed=_0x5889c3['useCallback'](()=>{const _0x1d647c=_0x1a7c2a;_0x19997f||_0xfbdffd[_0x1d647c(0x304)]();},[_0x19997f,_0xfbdffd]);function _0x56286e(){const _0x2c68b8=_0x1a7c2a;return _0x46722a[_0x2c68b8(0x172)](_0x2c68b8(0x3c8),{'className':'univer-flex\x20univer-items-center','onClick':_0x23eeed,'children':[_0x46722a[_0x2c68b8(0x326)](_0x2c68b8(0x3c8),{'className':_0x1fb7c0[_0x2c68b8(0x330)](_0x2c68b8(0x208),_0x19997f?_0x2c68b8(0x18f):_0x2c68b8(0x157)),'children':_0x47f67e}),_0x46722a['jsx'](_0x2c68b8(0x3c8),{'className':_0x2c68b8(0x2e1),'children':_0x39a79a})]});}return _0x19997f?_0x56286e():_0x46722a[_0x1a7c2a(0x326)](_0x1fb7c0['Tooltip'],{'title':_0xcd5915['t'](_0x1a7c2a(0x1b8)),'children':_0x56286e()});}var _0x2ad142=Object[_0x1405a7(0x1ba)],_0x5c385f=(_0x399bba,_0x36a03e,_0x418274,_0x2e6f6)=>{const _0x4b8100=_0x1405a7;for(var _0x232ce2=_0x2e6f6>0x1?void 0x0:_0x2e6f6?_0x2ad142(_0x36a03e,_0x418274):_0x36a03e,_0x3b52a0=_0x399bba[_0x4b8100(0x39a)]-0x1,_0x4cda6c;_0x3b52a0>=0x0;_0x3b52a0--)(_0x4cda6c=_0x399bba[_0x3b52a0])&&(_0x232ce2=_0x4cda6c(_0x232ce2)||_0x232ce2);return _0x232ce2;},_0x4db492=(_0x55a306,_0x5e8970)=>(_0x3e7710,_0x2d13b1)=>_0x5e8970(_0x3e7710,_0x2d13b1,_0x55a306);_0x116d7d['DesktopCollaborationStatusDisplayController']=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x35bd0b,_0x291dcd,_0x49c971,_0x50e703){const _0x56c17e=_0x1405a7;super(),_0xc11de6(this,_0x56c17e(0x145),new _0x3883f8['BehaviorSubject'](_0x2b9205[_0x56c17e(0x336)]['NOT_COLLAB'])),(this[_0x56c17e(0x396)]=_0x35bd0b,this[_0x56c17e(0x35b)]=_0x291dcd,this[_0x56c17e(0x13f)]=_0x49c971,this[_0x56c17e(0x179)]=_0x50e703,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x1405a7(0x1b6)](){const _0x314554=_0x1405a7;this[_0x314554(0x22c)](this[_0x314554(0x396)][_0x314554(0x128)]['pipe'](_0x3883f8[_0x314554(0x206)](()=>{const _0x4177f0=_0x314554,_0x250581=this[_0x4177f0(0x396)][_0x4177f0(0x127)]();return _0x250581?this[_0x4177f0(0x13f)][_0x4177f0(0x334)](_0x250581['getUnitId']()):_0x3883f8['of'](null);}),_0x3883f8[_0x314554(0x206)](_0x40a41a=>_0x40a41a?_0x40a41a[_0x314554(0x383)]:_0x3883f8['of'](_0x2b9205[_0x314554(0x336)][_0x314554(0x378)])))['subscribe'](_0x113c19=>{const _0x85d7bc=_0x314554;this['_status$'][_0x85d7bc(0x33f)](_0x113c19);}));}['_initStatusComponent'](){const _0x21d342=_0x1405a7;this[_0x21d342(0x22c)](this[_0x21d342(0x179)]['registerComponent'](_0x9ae5c8['BuiltInUIPart']['HEADER_MENU'],()=>_0x9ae5c8[_0x21d342(0x3bc)](_0x14a880({'status$':this[_0x21d342(0x145)][_0x21d342(0x193)]()}),this['_injector'])));}},_0x116d7d[_0x1405a7(0x3b8)]=_0x5c385f([_0x4db492(0x0,_0x57425f[_0x1405a7(0x3c7)]),_0x4db492(0x1,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x4db492(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x2b9205[_0x1405a7(0x2b2)])),_0x4db492(0x3,_0x9ae5c8[_0x1405a7(0x3c5)])],_0x116d7d[_0x1405a7(0x3b8)]);function _0x14a880(_0x26224b){const {status$:_0xf44669}=_0x26224b;return function(){const _0x2f1b83=_0x3a65;return _0x46722a[_0x2f1b83(0x326)](_0x554786,{'status$':_0xf44669});};}var _0x47afb5=Object[_0x1405a7(0x1ba)],_0x1f92ed=(_0x1418c5,_0x16d03d,_0x882574,_0x5e23d5)=>{const _0x5f3343=_0x1405a7;for(var _0x511f3c=_0x5e23d5>0x1?void 0x0:_0x5e23d5?_0x47afb5(_0x16d03d,_0x882574):_0x16d03d,_0x31327b=_0x1418c5[_0x5f3343(0x39a)]-0x1,_0x3d931c;_0x31327b>=0x0;_0x31327b--)(_0x3d931c=_0x1418c5[_0x31327b])&&(_0x511f3c=_0x3d931c(_0x511f3c)||_0x511f3c);return _0x511f3c;},_0x415d6a=(_0x55d9c8,_0x56143f)=>(_0xccfa59,_0x329368)=>_0x56143f(_0xccfa59,_0x329368,_0x55d9c8);let _0x3d88ff=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x419e54,_0x39d347,_0x151386,_0x3a2085,_0x473d47,_0x42a469){const _0x2629c3=_0x1405a7;super(),this['_beforeCloseService']=_0x419e54,this[_0x2629c3(0x2d2)]=_0x39d347,this[_0x2629c3(0x211)]=_0x151386,this['_messageService']=_0x3a2085,this[_0x2629c3(0x3bf)]=_0x473d47,this[_0x2629c3(0x30b)]=_0x42a469,this[_0x2629c3(0x38a)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x4add11=_0x1405a7;this[_0x4add11(0x22c)](this[_0x4add11(0x18d)][_0x4add11(0x2ce)](()=>{const _0x20e21a=_0x4add11;if(this['_localCacheService'][_0x20e21a(0x23c)][_0x20e21a(0x375)])return this[_0x20e21a(0x30b)]['t'](_0x20e21a(0x2a5));}));}[_0x1405a7(0x2de)](){const _0x3ad4f7=_0x1405a7;this[_0x3ad4f7(0x22c)](this['_collaborationUIEventService'][_0x3ad4f7(0x21f)]['subscribe'](_0x17e8c1=>{const _0x2d9080=_0x3ad4f7;_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x2b9)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x133)],'content':this[_0x2d9080(0x30b)]['t']('collaboration.single-unit.warning')}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)]['CLOSE_ROOM']&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)]['Warning'],'content':this[_0x2d9080(0x30b)]['t'](_0x2d9080(0x305))}),_0x17e8c1['id']===_0x2b9205['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x2d9080(0x23b)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x2d9080(0x182)),'type':'error','duration':0x0}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x155)]&&this['_messageService'][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x262)],'content':this[_0x2d9080(0x30b)]['t']('collaboration.closeRoom')+'('+_0x17e8c1[_0x2d9080(0x239)]+')'}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x36e)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x133)],'content':this[_0x2d9080(0x30b)]['t'](_0x17e8c1['data']||'')}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x176)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0['MessageType']['Warning'],'content':this['_localeService']['t'](_0x2d9080(0x1dc))}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x281)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0['MessageType'][_0x2d9080(0x262)],'content':this[_0x2d9080(0x30b)]['t'](_0x2d9080(0x2e7))}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x286)]&&this[_0x2d9080(0x2fc)]['show']({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x262)],'content':this[_0x2d9080(0x30b)]['t'](_0x2d9080(0x3a0))});}));}};_0x3d88ff=_0x1f92ed([_0x415d6a(0x0,_0x9ae5c8[_0x1405a7(0x35f)]),_0x415d6a(0x1,_0x2b9205['ILocalCacheService']),_0x415d6a(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x2b9205[_0x1405a7(0x341)])),_0x415d6a(0x3,_0x9ae5c8[_0x1405a7(0x20b)]),_0x415d6a(0x4,_0x9ae5c8[_0x1405a7(0x2b5)]),_0x415d6a(0x5,_0x57425f['Inject'](_0x57425f['LocaleService']))],_0x3d88ff);const _0x22e680=_0x1405a7(0x3af),_0x5db327={},_0x1234c7=_0x57425f['createIdentifier'](_0x1405a7(0x2db));var _0x4e1108=Object[_0x1405a7(0x1ba)],_0x527ee2=(_0x14c86c,_0x55eaf4,_0x3755ff,_0x3e465b)=>{for(var _0x1377d2=_0x3e465b>0x1?void 0x0:_0x3e465b?_0x4e1108(_0x55eaf4,_0x3755ff):_0x55eaf4,_0xe17b7a=_0x14c86c['length']-0x1,_0xb86bf4;_0xe17b7a>=0x0;_0xe17b7a--)(_0xb86bf4=_0x14c86c[_0xe17b7a])&&(_0x1377d2=_0xb86bf4(_0x1377d2)||_0x1377d2);return _0x1377d2;},_0x40f633=(_0x2555f7,_0x36e2c0)=>(_0x41369f,_0x210783)=>_0x36e2c0(_0x41369f,_0x210783,_0x2555f7);_0x116d7d[_0x1405a7(0x1cb)]=class extends _0x57425f['RxDisposable']{constructor(_0x3091e4,_0x1c2bfd,_0xf7f4e2,_0x1d40c2,_0x29177a){const _0x26fd4f=_0x1405a7;super(),this[_0x26fd4f(0x30a)]=_0x3091e4,this['_logService']=_0x1c2bfd,this[_0x26fd4f(0x2e5)]=_0xf7f4e2,this[_0x26fd4f(0x34d)]=_0x1d40c2,_0x29177a?_0x29177a==null||_0x29177a[_0x26fd4f(0x2b7)]()['then'](()=>this[_0x26fd4f(0x2bc)]()):(this[_0x26fd4f(0x32c)][_0x26fd4f(0x1ab)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5e119a=_0x1405a7,_0xdcdbe0=this['_urlService'][_0x5e119a(0x22d)](_0x5e119a(0x274)),_0x54a262=this[_0x5e119a(0x30a)]['getParam']('type'),_0x6ff30b=this[_0x5e119a(0x30a)][_0x5e119a(0x22d)](_0x5e119a(0x214));if(!_0xdcdbe0||!_0x54a262){this[_0x5e119a(0x32c)][_0x5e119a(0x1ab)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x347c85=await this[_0x5e119a(0x34d)][_0x5e119a(0x165)](_0xdcdbe0,Number(_0x54a262),_0x6ff30b);_0x347c85&&_0x347c85 instanceof _0x57425f['Workbook']&&this[_0x5e119a(0x2d3)](_0x347c85);}async[_0x1405a7(0x2d3)](_0x2243e7){const _0x176da0=_0x1405a7;await this['_updateSubUnitFromURLParams'](_0x2243e7),_0x2243e7[_0x176da0(0x1e0)][_0x176da0(0x3bd)](_0x3883f8[_0x176da0(0x2dd)](this[_0x176da0(0x22e)]))[_0x176da0(0x12d)](_0x11db90=>{const _0x172f29=_0x176da0;_0x11db90&&this[_0x172f29(0x313)](_0x11db90);}),this['_urlService'][_0x176da0(0x2ab)][_0x176da0(0x3bd)](_0x3883f8[_0x176da0(0x2dd)](this[_0x176da0(0x22e)]))['subscribe'](()=>this[_0x176da0(0x3b1)](_0x2243e7));}[_0x1405a7(0x313)](_0x21348f,_0x1491a0=!0x1){const _0x4e66ca=_0x1405a7,_0x196052=this[_0x4e66ca(0x30a)][_0x4e66ca(0x22d)](_0x4e66ca(0x214));_0x21348f['getSheetId']()!==_0x196052&&this[_0x4e66ca(0x30a)]['setParam'](_0x4e66ca(0x214),_0x21348f[_0x4e66ca(0x385)](),_0x1491a0);}async[_0x1405a7(0x3b1)](_0x3bda96){const _0xb475c6=_0x1405a7;var _0x3a76fc;const _0x5a5197=this[_0xb475c6(0x30a)]['getParam'](_0xb475c6(0x214));if(!_0x5a5197||!_0x3bda96[_0xb475c6(0x340)](_0x5a5197)){const _0x3133e9=_0x3bda96[_0xb475c6(0x1e9)]()[0x0],_0x2695c4=_0x3bda96['getSheetBySheetId'](_0x3133e9);if(!_0x2695c4)return;this[_0xb475c6(0x313)](_0x2695c4,!0x0),await this[_0xb475c6(0x2e5)][_0xb475c6(0x20c)](_0x4ddade['SetWorksheetActivateCommand']['id'],{'unitId':_0x3bda96[_0xb475c6(0x219)](),'subUnitId':_0x3133e9});return;}((_0x3a76fc=_0x3bda96[_0xb475c6(0x333)]())==null?void 0x0:_0x3a76fc[_0xb475c6(0x385)]())!==_0x5a5197&&await this[_0xb475c6(0x2e5)][_0xb475c6(0x20c)](_0x4ddade['SetWorksheetActivateCommand']['id'],{'unitId':_0x3bda96['getUnitId'](),'subUnitId':_0x5a5197});}},_0x116d7d[_0x1405a7(0x1cb)]=_0x527ee2([_0x40f633(0x0,_0x1234c7),_0x40f633(0x1,_0x57425f[_0x1405a7(0x36c)]),_0x40f633(0x2,_0x57425f[_0x1405a7(0x328)]),_0x40f633(0x3,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x360)])),_0x40f633(0x4,_0x57425f[_0x1405a7(0x256)](_0x42d988[_0x1405a7(0x14b)]))],_0x116d7d[_0x1405a7(0x1cb)]);var _0x3bb4f8=Object[_0x1405a7(0x1ba)],_0x3da787=(_0x5caccb,_0x1fbf48,_0x39ea74,_0x4c67bf)=>{for(var _0x2a6c5d=_0x4c67bf>0x1?void 0x0:_0x4c67bf?_0x3bb4f8(_0x1fbf48,_0x39ea74):_0x1fbf48,_0x4cdddd=_0x5caccb['length']-0x1,_0x30cf56;_0x4cdddd>=0x0;_0x4cdddd--)(_0x30cf56=_0x5caccb[_0x4cdddd])&&(_0x2a6c5d=_0x30cf56(_0x2a6c5d)||_0x2a6c5d);return _0x2a6c5d;},_0x3b3485=(_0x4245e2,_0x6130e0)=>(_0x1374e5,_0x4a0c6f)=>_0x6130e0(_0x1374e5,_0x4a0c6f,_0x4245e2);let _0x44314b=class{constructor(_0x171ace,_0x3afe83,_0x50279a){const _0x4827de=_0x1405a7;this[_0x4827de(0x35b)]=_0x171ace,this[_0x4827de(0x3b4)]=_0x3afe83,this['_renderManagerService']=_0x50279a;}['transformIMECache'](_0x5aaec2){this['_transformUndoRedoStack'](_0x5aaec2),this['_transformPreviousActiveRange'](_0x5aaec2);}[_0x1405a7(0x374)](_0x1ffc83){const _0x1c4065=_0x1405a7,{unitID:_0x5c3a9d}=_0x1ffc83,_0x2d3eb1=this['_renderManagerService']['getRenderById'](_0x5c3a9d)[_0x1c4065(0x29d)](_0x29ac66[_0x1c4065(0x2b0)]),{redoCache:_0x958298}=_0x2d3eb1['getUndoRedoMutationParamsCache']();if(_0x958298[_0x1c4065(0x39a)]===0x0)return _0x1ffc83;let _0x221147=_0x57425f[_0x1c4065(0x17f)][_0x1c4065(0x18e)](_0x1ffc83[_0x1c4065(0x1c9)][0x0]);for(let _0x38800a=0x0;_0x38800a<_0x958298[_0x1c4065(0x39a)];_0x38800a++){const _0x2496e7={'id':'doc.mutation.rich-text-editing','params':{..._0x958298[_0x38800a]}},_0x55f1f1=this['_transformService'][_0x1c4065(0x372)](_0x221147,_0x2496e7,!0x1);if(_0x3529a2[_0x1c4065(0x3b6)](_0x55f1f1))throw _0x55f1f1[_0x1c4065(0x257)];_0x221147=_0x55f1f1['m1Prime'];}return{..._0x57425f[_0x1c4065(0x17f)][_0x1c4065(0x18e)](_0x1ffc83),'mutations':[_0x221147]};}['_transformUndoRedoStack'](_0x40d7c9){const _0x58fb81=_0x1405a7,{unitID:_0x4a0ffd}=_0x40d7c9,_0x26886e=this[_0x58fb81(0x38c)][_0x58fb81(0x3b0)](_0x4a0ffd)['with'](_0x29ac66[_0x58fb81(0x2b0)]),{undoCache:_0x529dec,redoCache:_0x2c927d}=_0x26886e[_0x58fb81(0x2a8)]();if(_0x529dec[_0x58fb81(0x39a)]===0x0||_0x2c927d['length']===0x0)return;const _0x57243d=[],_0x5c008c=[];let _0x4c48a4=_0x57425f['Tools']['deepClone'](_0x40d7c9['mutations'][0x0]),_0x9dfdb3=_0x57425f[_0x58fb81(0x17f)][_0x58fb81(0x18e)](_0x40d7c9['mutations'][0x0]);for(let _0x9d7a93=_0x529dec[_0x58fb81(0x39a)]-0x1;_0x9d7a93>=0x0;_0x9d7a93--){const _0x365f5e={'id':_0x58fb81(0x197),'params':{..._0x529dec[_0x9d7a93]}},_0x30c98b={'id':_0x58fb81(0x197),'params':{..._0x2c927d[_0x9d7a93]}},_0x5f2b6a=this[_0x58fb81(0x3b4)][_0x58fb81(0x372)](_0x4c48a4,_0x365f5e,!0x1),_0x31994b=this[_0x58fb81(0x3b4)][_0x58fb81(0x372)](_0x9dfdb3,_0x30c98b,!0x1);if(_0x3529a2[_0x58fb81(0x3b6)](_0x5f2b6a))throw _0x5f2b6a['error'];if(_0x3529a2['isTransformMutationFailure'](_0x31994b))throw _0x31994b[_0x58fb81(0x257)];_0x57243d[_0x58fb81(0x386)](_0x5f2b6a[_0x58fb81(0x319)]['params']),_0x5c008c[_0x58fb81(0x386)](_0x31994b[_0x58fb81(0x319)][_0x58fb81(0x177)]),_0x4c48a4=_0x5f2b6a['m1Prime'],_0x9dfdb3=_0x31994b['m1Prime'];}_0x26886e[_0x58fb81(0x1b2)]({'undoCache':_0x57243d,'redoCache':_0x5c008c});}['_transformPreviousActiveRange'](_0x328bf0){const _0x139d81=_0x1405a7,{unitID:_0x142d21}=_0x328bf0,_0x5a93f9=this[_0x139d81(0x38c)]['getRenderById'](_0x142d21)['with'](_0x29ac66[_0x139d81(0x2b0)]),_0x363976=_0x5a93f9[_0x139d81(0x159)]();if(_0x363976==null)return;const _0x59f5d2=[{'id':_0x139d81(0x197),'params':{'unitId':_0x328bf0[_0x139d81(0x150)],'actions':null,'textRanges':[_0x363976]}}],_0x307f8c=this[_0x139d81(0x3b4)][_0x139d81(0x3c1)](_0x328bf0,_0x59f5d2);if(!_0x3529a2['isTransformMutationsWithChangesetSuccess'](_0x307f8c))throw _0x307f8c['error'];const _0x2b1dfb=_0x307f8c[_0x139d81(0x319)][0x0][_0x139d81(0x177)][_0x139d81(0x34b)];Array[_0x139d81(0x24d)](_0x2b1dfb)&&_0x2b1dfb['length']&&_0x5a93f9[_0x139d81(0x2fb)](_0x2b1dfb[0x0]);}};_0x44314b=_0x3da787([_0x3b3485(0x0,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x1dd)])),_0x3b3485(0x1,_0x3529a2[_0x1405a7(0x215)]),_0x3b3485(0x2,_0x29da64[_0x1405a7(0x1a2)])],_0x44314b);var _0x14d592=Object[_0x1405a7(0x1ba)],_0x2be6f9=(_0x4764b2,_0x4bbcc3,_0x4d6938,_0x549f40)=>{const _0x45de25=_0x1405a7;for(var _0x5169a4=_0x549f40>0x1?void 0x0:_0x549f40?_0x14d592(_0x4bbcc3,_0x4d6938):_0x4bbcc3,_0x4ab0df=_0x4764b2[_0x45de25(0x39a)]-0x1,_0x35b665;_0x4ab0df>=0x0;_0x4ab0df--)(_0x35b665=_0x4764b2[_0x4ab0df])&&(_0x5169a4=_0x35b665(_0x5169a4)||_0x5169a4);return _0x5169a4;},_0x242b3a=(_0x4c85af,_0x428ce3)=>(_0x1f9a4e,_0x4b1376)=>_0x428ce3(_0x1f9a4e,_0x4b1376,_0x4c85af);let _0x355a81=class{constructor(_0x537c7d,_0x2ac97a,_0xc2dfb){const _0xbedaf4=_0x1405a7;this[_0xbedaf4(0x35b)]=_0x537c7d,this[_0xbedaf4(0x3b4)]=_0x2ac97a,this[_0xbedaf4(0x21e)]=_0xc2dfb;}[_0x1405a7(0x2d6)](_0x59a285){const _0x251e79=_0x1405a7;this[_0x251e79(0x2c6)](_0x59a285);}[_0x1405a7(0x374)](_0x3cb6ab){const _0x24d15d=_0x1405a7,{unitID:_0x4f98bf}=_0x3cb6ab,{collaboration:_0x2a817c}=this[_0x24d15d(0x21e)][_0x24d15d(0x36a)](_0x4f98bf);if(_0x2a817c[_0x24d15d(0x39a)]===0x0)return _0x3cb6ab;let _0x3c7a87=_0x57425f[_0x24d15d(0x17f)][_0x24d15d(0x18e)](_0x3cb6ab[_0x24d15d(0x1c9)][0x0]);for(let _0x669161=0x0;_0x669161<_0x2a817c['length'];_0x669161++){const _0x38a062={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a817c[_0x669161][_0x24d15d(0x1d1)],..._0x2a817c[_0x669161]['redoState']}},_0x1d995c=this[_0x24d15d(0x3b4)][_0x24d15d(0x372)](_0x3c7a87,_0x38a062,!0x1);if(_0x3529a2['isTransformMutationFailure'](_0x1d995c))throw _0x1d995c['error'];_0x3c7a87=_0x1d995c[_0x24d15d(0x368)];}return{..._0x57425f[_0x24d15d(0x17f)][_0x24d15d(0x18e)](_0x3cb6ab),'mutations':[_0x3c7a87]};}['_transformHistoryAndStateStack'](_0xca3a8b){const _0x261ed4=_0x1405a7,{unitID:_0x49e68b}=_0xca3a8b,{history:_0x19740e,collaboration:_0x35a1d9}=this['_docStateChangeManagerService'][_0x261ed4(0x36a)](_0x49e68b);if(_0x19740e[_0x261ed4(0x39a)]===0x0&&_0x35a1d9[_0x261ed4(0x39a)]===0x0)return;const _0x19ae41=[],_0x2c8e0c=[];let _0x2eabcb=_0x57425f[_0x261ed4(0x17f)][_0x261ed4(0x18e)](_0xca3a8b['mutations'][0x0]),_0x5275dd=_0x57425f['Tools'][_0x261ed4(0x18e)](_0xca3a8b[_0x261ed4(0x1c9)][0x0]);for(let _0x591155=_0x19740e[_0x261ed4(0x39a)]-0x1;_0x591155>=0x0;_0x591155--){const _0x10273a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19740e[_0x591155][_0x261ed4(0x1d1)],..._0x19740e[_0x591155][_0x261ed4(0x244)]}},_0x576ad9={'id':_0x261ed4(0x197),'params':{'unitId':_0x19740e[_0x591155][_0x261ed4(0x1d1)],..._0x19740e[_0x591155][_0x261ed4(0x2c1)]}},_0xe5f0fb=this[_0x261ed4(0x3b4)][_0x261ed4(0x372)](_0x2eabcb,_0x10273a,!0x1),_0x3ccb3f=this['_transformService'][_0x261ed4(0x372)](_0x5275dd,_0x576ad9,!0x1);if(_0x3529a2['isTransformMutationFailure'](_0xe5f0fb))throw _0xe5f0fb[_0x261ed4(0x257)];if(_0x3529a2[_0x261ed4(0x3b6)](_0x3ccb3f))throw _0x3ccb3f[_0x261ed4(0x257)];_0x19ae41[_0x261ed4(0x386)]({..._0x19740e[_0x591155],'undoState':_0xe5f0fb[_0x261ed4(0x319)]['params'],'redoState':_0x3ccb3f[_0x261ed4(0x319)][_0x261ed4(0x177)]}),_0x2eabcb=_0xe5f0fb['m1Prime'],_0x5275dd=_0x3ccb3f['m1Prime'];}_0x2eabcb=_0x57425f['Tools'][_0x261ed4(0x18e)](_0xca3a8b[_0x261ed4(0x1c9)][0x0]),_0x5275dd=_0x57425f[_0x261ed4(0x17f)][_0x261ed4(0x18e)](_0xca3a8b[_0x261ed4(0x1c9)][0x0]);for(let _0x1ef03f=_0x35a1d9['length']-0x1;_0x1ef03f>=0x0;_0x1ef03f--){const _0x3ed5a7={'id':_0x261ed4(0x197),'params':{'unitId':_0x35a1d9[_0x1ef03f]['unitId'],..._0x35a1d9[_0x1ef03f][_0x261ed4(0x244)]}},_0x44a25e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x35a1d9[_0x1ef03f][_0x261ed4(0x1d1)],..._0x35a1d9[_0x1ef03f][_0x261ed4(0x2c1)]}},_0x19d360=this[_0x261ed4(0x3b4)]['transformMutation'](_0x2eabcb,_0x3ed5a7,!0x1),_0x1a5cb5=this['_transformService']['transformMutation'](_0x5275dd,_0x44a25e,!0x1);if(_0x3529a2[_0x261ed4(0x3b6)](_0x19d360))throw _0x19d360[_0x261ed4(0x257)];if(_0x3529a2[_0x261ed4(0x3b6)](_0x1a5cb5))throw _0x1a5cb5['error'];_0x2c8e0c[_0x261ed4(0x386)]({..._0x35a1d9[_0x1ef03f],'undoState':_0x19d360[_0x261ed4(0x319)][_0x261ed4(0x177)],'redoState':_0x1a5cb5[_0x261ed4(0x319)]['params']}),_0x2eabcb=_0x19d360[_0x261ed4(0x368)],_0x5275dd=_0x1a5cb5[_0x261ed4(0x368)];}this[_0x261ed4(0x21e)][_0x261ed4(0x344)](_0x49e68b,{'history':_0x19ae41,'collaboration':_0x2c8e0c});}};_0x355a81=_0x2be6f9([_0x242b3a(0x0,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x242b3a(0x1,_0x3529a2[_0x1405a7(0x215)]),_0x242b3a(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x29ac66[_0x1405a7(0x3ac)]))],_0x355a81);var _0x5360c7=Object[_0x1405a7(0x1ba)],_0x39d175=(_0x4c192b,_0xa0a108,_0x37a055,_0x8801de)=>{const _0x2a3571=_0x1405a7;for(var _0xaa4fdd=_0x8801de>0x1?void 0x0:_0x8801de?_0x5360c7(_0xa0a108,_0x37a055):_0xa0a108,_0x5061a9=_0x4c192b[_0x2a3571(0x39a)]-0x1,_0x431120;_0x5061a9>=0x0;_0x5061a9--)(_0x431120=_0x4c192b[_0x5061a9])&&(_0xaa4fdd=_0x431120(_0xaa4fdd)||_0xaa4fdd);return _0xaa4fdd;},_0x257ba2=(_0x6884b6,_0x23f248)=>(_0x3b93af,_0x251ee6)=>_0x23f248(_0x3b93af,_0x251ee6,_0x6884b6);let _0x96573a=class{constructor(_0x4b98fc,_0x2bf76f){const _0x53cacb=_0x1405a7;this[_0x53cacb(0x35b)]=_0x4b98fc,this[_0x53cacb(0x3b4)]=_0x2bf76f;}[_0x1405a7(0x28f)](_0x49c018){const _0x256c8d=_0x1405a7;var _0x2d0ea1;const _0x100a79=this[_0x256c8d(0x35b)][_0x256c8d(0x1c3)](_0x141165['DocSelectionManagerService']),_0x3e0ad8=(_0x2d0ea1=_0x100a79[_0x256c8d(0x17c)]())!=null?_0x2d0ea1:[];if(_0x3e0ad8['length']===0x0)return;const _0x2e1872=_0x49c018[_0x256c8d(0x150)],_0x1e2ecd=[{'id':_0x256c8d(0x197),'params':{'unitId':_0x2e1872,'actions':null,'textRanges':_0x3e0ad8}}],_0x34543e=this[_0x256c8d(0x3b4)]['transformMutationsWithChangeset'](_0x49c018,_0x1e2ecd);if(!_0x3529a2[_0x256c8d(0x132)](_0x34543e))throw _0x34543e['error'];const _0x2f1eb1=_0x34543e[_0x256c8d(0x319)][0x0][_0x256c8d(0x177)][_0x256c8d(0x34b)];Array[_0x256c8d(0x24d)](_0x2f1eb1)&&_0x2f1eb1[_0x256c8d(0x39a)]&&_0x100a79[_0x256c8d(0x342)](_0x2f1eb1,{'unitId':_0x2e1872,'subUnitId':_0x2e1872},!0x1);}};_0x96573a=_0x39d175([_0x257ba2(0x0,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x257ba2(0x1,_0x3529a2[_0x1405a7(0x215)])],_0x96573a);var _0x52e652=Object['getOwnPropertyDescriptor'],_0x20264e=(_0x35f89c,_0x133d8e,_0x6ed7e4,_0x2770cc)=>{const _0x558bbb=_0x1405a7;for(var _0xc7c48=_0x2770cc>0x1?void 0x0:_0x2770cc?_0x52e652(_0x133d8e,_0x6ed7e4):_0x133d8e,_0x141993=_0x35f89c[_0x558bbb(0x39a)]-0x1,_0x25bb0d;_0x141993>=0x0;_0x141993--)(_0x25bb0d=_0x35f89c[_0x141993])&&(_0xc7c48=_0x25bb0d(_0xc7c48)||_0xc7c48);return _0xc7c48;},_0x4f47b4=(_0x456755,_0x43a693)=>(_0x4861cc,_0x3a523c)=>_0x43a693(_0x4861cc,_0x3a523c,_0x456755);let _0x55e398=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x2d96e5,_0x1d7d54,_0x17ef76,_0x513b62,_0x7128c1,_0x446ad9,_0x346553,_0x26db70){const _0x568ab9=_0x1405a7;super(),_0xc11de6(this,_0x568ab9(0x145),new _0x3883f8['BehaviorSubject'](_0x2b9205[_0x568ab9(0x336)][_0x568ab9(0x378)])),(this[_0x568ab9(0x21e)]=_0x2d96e5,this[_0x568ab9(0x13f)]=_0x1d7d54,this[_0x568ab9(0x38d)]=_0x17ef76,this[_0x568ab9(0x25e)]=_0x513b62,this[_0x568ab9(0x1cf)]=_0x7128c1,this[_0x568ab9(0x199)]=_0x446ad9,this[_0x568ab9(0x2fc)]=_0x346553,this[_0x568ab9(0x30b)]=_0x26db70,this[_0x568ab9(0x190)]());}[_0x1405a7(0x190)](){const _0x19537e=_0x1405a7;this[_0x19537e(0x22c)](this[_0x19537e(0x13f)][_0x19537e(0x366)][_0x19537e(0x12d)](_0x234803=>{const _0x532f01=_0x19537e,_0x315546=this[_0x532f01(0x21e)][_0x532f01(0x1d7)][_0x532f01(0x12d)](_0x4c747f=>{const _0x4eebb5=_0x532f01;if(_0x4c747f==null)return;const {unitId:_0x25d153,redoState:_0x221399,commandId:_0x1df152}=_0x4c747f;if(_0x25d153!==_0x234803[_0x4eebb5(0x150)])return;const _0x127245={'id':_0x1df152,'type':_0x57425f['CommandType'][_0x4eebb5(0x142)],'params':{'unitId':_0x25d153,'actions':_0x221399['actions'],'textRanges':null}};_0x234803[_0x4eebb5(0x168)](_0x127245);});if(_0x234803[_0x532f01(0x22c)](_0x315546),_0x234803 instanceof _0x2b9205[_0x532f01(0x13b)]){const _0x5cd85b={'onTransformIME':_0x56af3f=>this[_0x532f01(0x38d)][_0x532f01(0x180)](_0x56af3f),'onTransformState':_0x137600=>this['_docTransformStateCacheService']['transformStateCache'](_0x137600),'onTransformSelections':_0x83b9ae=>this['_docTransformSelectionsService'][_0x532f01(0x28f)](_0x83b9ae),'onSyncEditingCollabCursor':_0x3ad028=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3ad028),'onTransformRemoteChangesetByIMECache':_0x917a73=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x917a73),'onTransformRemoteChangesetByStateCache':_0x58ce59=>this[_0x532f01(0x25e)][_0x532f01(0x374)](_0x58ce59)};_0x234803['addHandlerCallback'](_0x5cd85b);}}));}};_0x55e398=_0x20264e([_0x4f47b4(0x0,_0x57425f['Inject'](_0x29ac66['DocStateChangeManagerService'])),_0x4f47b4(0x1,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x2b2)])),_0x4f47b4(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x44314b)),_0x4f47b4(0x3,_0x57425f[_0x1405a7(0x3aa)](_0x355a81)),_0x4f47b4(0x4,_0x57425f[_0x1405a7(0x3aa)](_0x96573a)),_0x4f47b4(0x5,_0x57425f[_0x1405a7(0x3aa)](_0x3353d2)),_0x4f47b4(0x6,_0x9ae5c8[_0x1405a7(0x20b)]),_0x4f47b4(0x7,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1a0)]))],_0x55e398);var _0x41ee7d=Object[_0x1405a7(0x1ba)],_0x142702=(_0x464144,_0x9a055e,_0x1369c8,_0x54e47f)=>{const _0x4aa872=_0x1405a7;for(var _0x188a79=_0x54e47f>0x1?void 0x0:_0x54e47f?_0x41ee7d(_0x9a055e,_0x1369c8):_0x9a055e,_0x5c994b=_0x464144[_0x4aa872(0x39a)]-0x1,_0x151bd5;_0x5c994b>=0x0;_0x5c994b--)(_0x151bd5=_0x464144[_0x5c994b])&&(_0x188a79=_0x151bd5(_0x188a79)||_0x188a79);return _0x188a79;},_0xc6f6e1=(_0x5ac949,_0x82539e)=>(_0x3f9682,_0x1a3761)=>_0x82539e(_0x3f9682,_0x1a3761,_0x5ac949);let _0x2ffbf3=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x246d9b,_0x410746,_0x2f58cd){const _0x1c7e81=_0x1405a7;super(),_0xc11de6(this,_0x1c7e81(0x160),new Map()),_0xc11de6(this,_0x1c7e81(0x139),new Map()),_0xc11de6(this,'_disabled',!0x1),(this[_0x1c7e81(0x1cc)]=_0x246d9b,this[_0x1c7e81(0x361)]=_0x410746,this[_0x1c7e81(0x178)]=_0x2f58cd);}[_0x1405a7(0x25f)](){const _0x3adb70=_0x1405a7;this[_0x3adb70(0x1cd)]=!0x0;}[_0x1405a7(0x2e6)](){this['_disabled']=!0x1;}get[_0x1405a7(0x23c)](){const _0x2123be=_0x1405a7;return this[_0x2123be(0x139)];}[_0x1405a7(0x217)](){const _0x58a409=_0x1405a7;this[_0x58a409(0x2a9)]()[_0x58a409(0x1ca)](()=>super['dispose']());}async[_0x1405a7(0x3cb)](_0x38d146){const _0x4855ab=_0x1405a7;return this[_0x4855ab(0x1cd)]?null:this[_0x4855ab(0x361)][_0x4855ab(0x312)](_0x2b9205['getLocalCacheKey'](_0x38d146));}async[_0x1405a7(0x20e)](_0x380065,_0x343793){const _0x360a19=_0x1405a7;return!!this[_0x360a19(0x361)][_0x360a19(0x12c)](_0x380065,_0x343793);}[_0x1405a7(0x174)](_0x117b84,_0x5c2e7d,_0x31df71,_0x2de5c6){const _0x4001d2=_0x1405a7,_0x21fffe=this['_revisionService'][_0x4001d2(0x126)](_0x117b84);this[_0x4001d2(0x160)][_0x4001d2(0x3a1)](_0x117b84,{'unitID':_0x117b84,'type':_0x5c2e7d,'awaitingChangeset':_0x31df71,'mutations':_0x2de5c6,'rev':_0x21fffe}),this[_0x4001d2(0x139)][_0x4001d2(0x1a9)](_0x117b84)||this[_0x4001d2(0x291)](_0x117b84);}[_0x1405a7(0x291)](_0x30099a){const _0x5f3467=_0x1405a7,_0x2a2a89=this[_0x5f3467(0x31d)]();_0x2a2a89===0x0?this[_0x5f3467(0x1f2)](_0x30099a):this[_0x5f3467(0x139)][_0x5f3467(0x3a1)](_0x30099a,setTimeout(()=>this['_saveCache'](_0x30099a),_0x2a2a89));}['_getSaveTimeout'](){const _0x22b9a0=_0x1405a7;var _0x24a0bc;return(_0x24a0bc=this[_0x22b9a0(0x1cc)]['getConfig'](_0x2b9205[_0x22b9a0(0x2d1)]))!=null?_0x24a0bc:_0x2b9205[_0x22b9a0(0x2c3)];}['_saveCache'](_0x4f0bef){const _0x578fec=_0x1405a7,_0x37cae8=this[_0x578fec(0x139)]['get'](_0x4f0bef);return _0x37cae8!==void 0x0&&window[_0x578fec(0x2bd)](_0x37cae8),this[_0x578fec(0x361)]['setItem'](_0x2b9205[_0x578fec(0x265)](_0x4f0bef),this[_0x578fec(0x160)][_0x578fec(0x1c3)](_0x4f0bef))[_0x578fec(0x1ca)](()=>this[_0x578fec(0x139)][_0x578fec(0x235)](_0x4f0bef));}async['exhaustSavingTask'](){const _0x52853e=_0x1405a7,_0x3bc0d0=[];this[_0x52853e(0x139)][_0x52853e(0x335)]((_0x8bc437,_0x5271c2)=>{const _0x50155f=_0x52853e;window['clearTimeout'](_0x8bc437),_0x3bc0d0[_0x50155f(0x173)](this['_saveCache'](_0x5271c2)[_0x50155f(0x1ca)](()=>{const _0x4db5bb=_0x50155f;this[_0x4db5bb(0x139)]['delete'](_0x5271c2);}));}),await Promise[_0x52853e(0x13a)](_0x3bc0d0);}};_0x2ffbf3=_0x142702([_0xc6f6e1(0x0,_0x57425f[_0x1405a7(0x1fc)]),_0xc6f6e1(0x1,_0x57425f['ILocalStorageService']),_0xc6f6e1(0x2,_0x57425f['Inject'](_0x3529a2['RevisionService']))],_0x2ffbf3);class _0x5abb13 extends _0x57425f[_0x1405a7(0x1d0)]{constructor(){const _0x1c58d5=_0x1405a7;super(),_0xc11de6(this,_0x1c58d5(0x2ab)),this[_0x1c58d5(0x2ab)]=_0x3883f8[_0x1c58d5(0x298)](window,_0x1c58d5(0x1f6))['pipe'](_0x3883f8[_0x1c58d5(0x2dd)](this[_0x1c58d5(0x22e)]),_0x3883f8[_0x1c58d5(0x1e8)](0x1),_0x3883f8[_0x1c58d5(0x25d)](void 0x0));}[_0x1405a7(0x224)](_0x2380d1,_0x40d4db,_0x1888b2=!0x1){const _0x2229ff=_0x1405a7,_0x48c551=new URL(window[_0x2229ff(0x324)][_0x2229ff(0x141)]);_0x48c551[_0x2229ff(0x1c0)][_0x2229ff(0x3a1)](_0x2380d1,_0x40d4db),_0x1888b2?window['history']['replaceState']('','',_0x48c551[_0x2229ff(0x147)]()):window[_0x2229ff(0x329)][_0x2229ff(0x28d)]('','',_0x48c551[_0x2229ff(0x147)]());}[_0x1405a7(0x1ff)](_0xc39bcc,_0x429494=!0x1){const _0x1a2ca2=_0x1405a7,_0x3d3587=new URL(window[_0x1a2ca2(0x324)][_0x1a2ca2(0x141)]);_0x3d3587['searchParams'][_0x1a2ca2(0x235)](_0xc39bcc),_0x429494?window['history'][_0x1a2ca2(0x2f7)]('','',_0x3d3587[_0x1a2ca2(0x147)]()):window[_0x1a2ca2(0x329)][_0x1a2ca2(0x28d)]('','',_0x3d3587[_0x1a2ca2(0x147)]());}[_0x1405a7(0x22d)](_0x215673){const _0x3361d4=_0x1405a7;var _0x50da7a;return(_0x50da7a=new URL(window[_0x3361d4(0x324)]['href'])['searchParams'][_0x3361d4(0x1c3)](_0x215673))!=null?_0x50da7a:void 0x0;}}var _0x334341=Object[_0x1405a7(0x2e2)],_0x2b16be=Object['getOwnPropertyDescriptor'],_0xc10b8e=(_0x1f9425,_0x175b84,_0x21a827)=>_0x175b84 in _0x1f9425?_0x334341(_0x1f9425,_0x175b84,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21a827}):_0x1f9425[_0x175b84]=_0x21a827,_0x22b793=(_0x42dbdb,_0x30d7f5,_0x283f22,_0x5a3295)=>{const _0x4ec240=_0x1405a7;for(var _0x4bc3df=_0x5a3295>0x1?void 0x0:_0x5a3295?_0x2b16be(_0x30d7f5,_0x283f22):_0x30d7f5,_0x3ce109=_0x42dbdb[_0x4ec240(0x39a)]-0x1,_0x44650a;_0x3ce109>=0x0;_0x3ce109--)(_0x44650a=_0x42dbdb[_0x3ce109])&&(_0x4bc3df=_0x44650a(_0x4bc3df)||_0x4bc3df);return _0x4bc3df;},_0x4b20d8=(_0x41e73f,_0xe2ec21)=>(_0x1b6db4,_0x5dc5e9)=>_0xe2ec21(_0x1b6db4,_0x5dc5e9,_0x41e73f),_0x37f46f=(_0x27867b,_0x52a333,_0x87ddd6)=>_0xc10b8e(_0x27867b,_0x52a333+'',_0x87ddd6);const _0x568737=_0x1405a7(0x2fa);_0x116d7d['UniverCollaborationClientUIPlugin']=class extends _0x57425f['Plugin']{constructor(_0x3fc4a9=_0x5db327,_0x1d253e,_0x133703,_0x24a985){const _0x28d8c4=_0x1405a7;super(),this[_0x28d8c4(0x151)]=_0x3fc4a9,this[_0x28d8c4(0x38c)]=_0x1d253e,this[_0x28d8c4(0x35b)]=_0x133703,this[_0x28d8c4(0x1cc)]=_0x24a985;const {..._0x4f92e6}=_0x57425f[_0x28d8c4(0x248)]({},_0x5db327,this[_0x28d8c4(0x151)]);this[_0x28d8c4(0x1cc)]['setConfig'](_0x22e680,_0x4f92e6);}[_0x1405a7(0x3ca)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1405a7(0x1d9)](){this['_registerRenderDependencies']();}[_0x1405a7(0x264)](){const _0x42f7de=_0x1405a7;var _0x1d1fac;const _0x441b9e=[[_0x1a366c],[_0x96573a],[_0x44314b],[_0x355a81],[_0x3353d2],[_0x1234c7,{'useClass':_0x5abb13}],[_0x117380[_0x42f7de(0x29f)],{'useClass':_0x117380['WebSocketService']}],[_0x2b9205[_0x42f7de(0x19f)],{'useClass':_0x2ffbf3}],[_0x116d7d[_0x42f7de(0x3b8)]],[_0x55e398],[_0x3d88ff],[_0x3b8e9b],[_0xc1baa1],[_0x116d7d[_0x42f7de(0x1cb)]]];_0x57425f[_0x42f7de(0x183)](this['_injector'],_0x57425f[_0x42f7de(0x349)](_0x441b9e,(_0x1d1fac=this[_0x42f7de(0x151)])==null?void 0x0:_0x1d1fac[_0x42f7de(0x1d6)]));}[_0x1405a7(0x376)](){const _0x298b6c=_0x1405a7;this[_0x298b6c(0x22c)](this['_renderManagerService']['registerRenderModule'](_0x57425f['UniverInstanceType'][_0x298b6c(0x37f)],[_0x4bcef5])),this['disposeWithMe'](this[_0x298b6c(0x38c)]['registerRenderModule'](_0x57425f[_0x298b6c(0x311)][_0x298b6c(0x18a)],[_0x16a77a]));}[_0x1405a7(0x318)](){const _0x45f0e3=_0x1405a7;_0x57425f[_0x45f0e3(0x227)](this[_0x45f0e3(0x35b)],[[_0x3b8e9b],[_0x116d7d['DesktopCollaborationStatusDisplayController']],[_0x55e398],[_0x3d88ff],[_0x116d7d[_0x45f0e3(0x1cb)]]]);}},_0x37f46f(_0x116d7d[_0x1405a7(0x124)],'pluginName',_0x568737),_0x116d7d[_0x1405a7(0x124)]=_0x22b793([_0x57425f['DependentOn'](_0x2b9205[_0x1405a7(0x371)]),_0x4b20d8(0x1,_0x29da64[_0x1405a7(0x1a2)]),_0x4b20d8(0x2,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x4b20d8(0x3,_0x57425f['IConfigService'])],_0x116d7d[_0x1405a7(0x124)]);var _0x5d387d=Object['getOwnPropertyDescriptor'],_0x4c54c2=(_0x41fd2b,_0x2b0ca6,_0x54fd0b,_0x508064)=>{const _0x385e2b=_0x1405a7;for(var _0x599f8c=_0x508064>0x1?void 0x0:_0x508064?_0x5d387d(_0x2b0ca6,_0x54fd0b):_0x2b0ca6,_0x4cf4e4=_0x41fd2b[_0x385e2b(0x39a)]-0x1,_0x4f0e39;_0x4cf4e4>=0x0;_0x4cf4e4--)(_0x4f0e39=_0x41fd2b[_0x4cf4e4])&&(_0x599f8c=_0x4f0e39(_0x599f8c)||_0x599f8c);return _0x599f8c;},_0xde9b6f=(_0x99a3d5,_0x2ef37e)=>(_0x88cddc,_0x47f44c)=>_0x2ef37e(_0x88cddc,_0x47f44c,_0x99a3d5);_0x116d7d[_0x1405a7(0x37a)]=class extends _0x2b9205[_0x1405a7(0x292)]{constructor(_0x2cba76,_0x35c3fd,_0x24a93d,_0x401934,_0x42e0fd){super(_0x2cba76,_0x35c3fd,_0x24a93d,_0x401934,_0x42e0fd);}async[_0x1405a7(0x242)](_0x227af2){const _0x4fcad4=_0x1405a7,_0x3b9c12=await this[_0x4fcad4(0x243)](),_0x343287=this[_0x4fcad4(0x1fe)](_0x227af2,_0x3b9c12);return this[_0x4fcad4(0x299)](_0x343287);}['_createSocketURL'](_0x59e8ac,_0x57b967){const _0x1bcb33=_0x1405a7,_0x270706=typeof window>'u'?new URL(_0x59e8ac):new URL(_0x59e8ac,window['location'][_0x1bcb33(0x2c4)]);_0x270706[_0x1bcb33(0x1c0)][_0x1bcb33(0x3a1)](_0x1bcb33(0x392),_0x57b967);const _0x315b19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1bcb33(0x13d)]);return _0x315b19[_0x1bcb33(0x1c3)]('runId')&&_0x270706[_0x1bcb33(0x1c0)][_0x1bcb33(0x3a1)](_0x1bcb33(0x241),_0x315b19[_0x1bcb33(0x1c3)](_0x1bcb33(0x241))),_0x270706[_0x1bcb33(0x147)]();}async[_0x1405a7(0x243)](){const _0xa0b31=_0x1405a7;var _0x19927a,_0x4b867b,_0x338f0c;const _0x45724d=this[_0xa0b31(0x1cc)][_0xa0b31(0x3be)](_0x2b9205[_0xa0b31(0x25b)]),_0xa01a80=(_0x19927a=_0x45724d==null?void 0x0:_0x45724d[_0xa0b31(0x2f1)])!=null?_0x19927a:_0x2b9205[_0xa0b31(0x14f)];return(_0x338f0c=(_0x4b867b=(await this[_0xa0b31(0x2f3)]['get'](_0xa01a80,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x4b867b['ticket'])!=null?_0x338f0c:'';}},_0x116d7d[_0x1405a7(0x37a)]=_0x4c54c2([_0xde9b6f(0x0,_0x57425f[_0x1405a7(0x3aa)](_0x57425f['Injector'])),_0xde9b6f(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x117380[_0x1405a7(0x370)])),_0xde9b6f(0x2,_0x57425f[_0x1405a7(0x1fc)]),_0xde9b6f(0x3,_0x57425f[_0x1405a7(0x36c)]),_0xde9b6f(0x4,_0x3529a2[_0x1405a7(0x12f)])],_0x116d7d[_0x1405a7(0x37a)]);const _0x12483a=0x7530,_0x184406=_0x1405a7(0x1e1);class _0x29882d extends _0x57425f[_0x1405a7(0x1fd)]{constructor(){const _0x44c220=_0x1405a7;super(),_0xc11de6(this,'_id',_0x57425f['generateRandomId']()),_0xc11de6(this,_0x44c220(0x1f8),new Set()),_0xc11de6(this,'_unitOnClients',new Map()),_0xc11de6(this,_0x44c220(0x1aa),null),_0xc11de6(this,'_clearOtherTimers',new Map()),_0xc11de6(this,_0x44c220(0x32f),new Map()),this[_0x44c220(0x2bc)]();}['dispose'](){const _0x4e612c=_0x1405a7;super[_0x4e612c(0x217)](),this[_0x4e612c(0x356)][_0x4e612c(0x335)]((_0x5f4d82,_0x5e29a9)=>this[_0x4e612c(0x38e)](_0x5e29a9)),this[_0x4e612c(0x1aa)]&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5944a3){const _0x481e3f=_0x1405a7;return this['_ensureSubject'](_0x5944a3)[_0x481e3f(0x3bd)](_0x3883f8[_0x481e3f(0x203)]());}[_0x1405a7(0x1d3)](_0x59bbf6){const _0x40b33a=_0x1405a7;this['_selfUnitIDs'][_0x40b33a(0x375)]===0x0&&this['_scheduleHeartbeat'](),this[_0x40b33a(0x1f8)][_0x40b33a(0x33c)](_0x59bbf6),this[_0x40b33a(0x308)]({'type':0x0,'memberID':this[_0x40b33a(0x1fb)],'unitIDs':[_0x59bbf6],'isForwarded':!0x1});}[_0x1405a7(0x389)](_0x394e6d){const _0x1b84ca=_0x1405a7;this[_0x1b84ca(0x1f8)][_0x1b84ca(0x235)](_0x394e6d),this[_0x1b84ca(0x1f8)][_0x1b84ca(0x375)]===0x0&&this[_0x1b84ca(0x1aa)]&&window[_0x1b84ca(0x1f1)](this[_0x1b84ca(0x1aa)]);}[_0x1405a7(0x2bc)](){const _0x2e5051=_0x1405a7;this[_0x2e5051(0x22c)](_0x57425f[_0x2e5051(0x332)](_0x3883f8[_0x2e5051(0x298)](window,_0x2e5051(0x2ed))[_0x2e5051(0x12d)](_0x3cd8b5=>{const _0x38e409=_0x2e5051;if(_0x3cd8b5[_0x38e409(0x246)]!==_0x184406||!_0x3cd8b5[_0x38e409(0x3a3)])return;const _0x1e9768=JSON[_0x38e409(0x28c)](_0x3cd8b5[_0x38e409(0x3a3)]);this[_0x38e409(0x27c)](_0x1e9768);}))),window[_0x2e5051(0x3c9)](_0x2e5051(0x17d),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x2e5051(0x1f8)])}));}[_0x1405a7(0x27c)](_0x323d9a){const _0x288cf6=_0x1405a7;switch(_0x323d9a['type']){case 0x0:this['_handleJoinEvent'](_0x323d9a);break;case 0x1:this[_0x288cf6(0x273)](_0x323d9a);break;case 0x2:this[_0x288cf6(0x253)](_0x323d9a);break;}}[_0x1405a7(0x323)](_0x72e04d){const _0x4f02bb=_0x1405a7,{unitIDs:_0x1f143d,memberID:_0x49e39e,isForwarded:_0x4d3ced}=_0x72e04d;_0x1f143d['forEach'](_0x503c55=>{const _0x236174=_0x3a65;if(!_0x4d3ced&&this['_unitOnClients'][_0x236174(0x1a9)](_0x503c55)&&this[_0x236174(0x181)](_0x503c55)[_0x236174(0x33f)](_0x2b9205[_0x236174(0x1bc)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x503c55)||!this[_0x236174(0x1e5)][_0x236174(0x1c3)](_0x503c55)[_0x236174(0x1a9)](_0x49e39e)){const _0x460d97=this[_0x236174(0x1e5)][_0x236174(0x1c3)](_0x503c55)||new Set();_0x460d97[_0x236174(0x33c)](_0x49e39e),this['_unitOnClients'][_0x236174(0x3a1)](_0x503c55,_0x460d97),this[_0x236174(0x12b)](_0x49e39e);}}),_0x4d3ced||this[_0x4f02bb(0x308)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4f02bb(0x1f8)]],'isForwarded':!0x0});}[_0x1405a7(0x12b)](_0x17482a){const _0x3d029e=_0x1405a7;this[_0x3d029e(0x38e)](_0x17482a);const _0x1fb10e=window[_0x3d029e(0x2dc)](()=>{const _0x46547e=_0x3d029e;this[_0x46547e(0x1e5)][_0x46547e(0x335)](_0x2b0f84=>{const _0x13b6cd=_0x46547e;_0x2b0f84[_0x13b6cd(0x235)](_0x17482a);});},_0x12483a*0x2);this['_clearOtherTimers']['set'](_0x17482a,_0x1fb10e);}[_0x1405a7(0x38e)](_0x1176c2){const _0x38b729=_0x1405a7;if(this[_0x38b729(0x356)][_0x38b729(0x1a9)](_0x1176c2)){const _0x129332=this[_0x38b729(0x356)][_0x38b729(0x1c3)](_0x1176c2);_0x129332&&window['clearTimeout'](_0x129332),this[_0x38b729(0x356)][_0x38b729(0x3a1)](_0x1176c2,null);}}[_0x1405a7(0x273)](_0x36ac36){const _0x223f3a=_0x1405a7,{memberID:_0x211fbc,unitIDs:_0x4034fc}=_0x36ac36;_0x4034fc[_0x223f3a(0x335)](_0x8a9a3a=>{const _0x540326=_0x223f3a;var _0x58bab4;const _0x2ca047=this[_0x540326(0x1e5)][_0x540326(0x1c3)](_0x8a9a3a);_0x2ca047&&(_0x2ca047[_0x540326(0x235)](_0x211fbc),(_0x58bab4=this[_0x540326(0x181)](_0x8a9a3a))==null||_0x58bab4[_0x540326(0x33f)](_0x2ca047[_0x540326(0x375)]===0x0?_0x2b9205[_0x540326(0x1bc)]['NO_OTHER_CLIENTS_EDITING']:_0x2b9205[_0x540326(0x1bc)][_0x540326(0x30f)]));}),this[_0x223f3a(0x38e)](_0x211fbc);}[_0x1405a7(0x253)](_0x26ff41){const _0x14e4d8=_0x1405a7;this[_0x14e4d8(0x12b)](_0x26ff41['memberID']);}['_send'](_0x512abf){const _0x1a54eb=_0x1405a7;localStorage[_0x1a54eb(0x12c)](_0x184406,JSON['stringify'](_0x512abf));}[_0x1405a7(0x2d8)](){const _0x1bbaad=_0x1405a7;this[_0x1bbaad(0x1aa)]=window[_0x1bbaad(0x32b)](()=>{const _0x341ec7=_0x1bbaad;this[_0x341ec7(0x308)]({'type':0x2,'memberID':this[_0x341ec7(0x1fb)]});},_0x12483a);}[_0x1405a7(0x181)](_0x2297fb){const _0x14bb2c=_0x1405a7;return this['_unitStatus']['has'](_0x2297fb)||this[_0x14bb2c(0x32f)]['set'](_0x2297fb,new _0x3883f8[(_0x14bb2c(0x37b))](_0x2b9205[_0x14bb2c(0x1bc)][_0x14bb2c(0x220)])),this[_0x14bb2c(0x32f)][_0x14bb2c(0x1c3)](_0x2297fb);}}var _0x4e459f=(_0xfaf089=>(_0xfaf089[_0xfaf089['UNDEFINED']=0x0]='UNDEFINED',_0xfaf089[_0xfaf089['OK']=0x1]='OK',_0xfaf089[_0xfaf089[_0x1405a7(0x3b7)]=0x2]=_0x1405a7(0x3b7),_0xfaf089[_0xfaf089['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0xfaf089[_0xfaf089[_0x1405a7(0x16a)]=0x4]=_0x1405a7(0x16a),_0xfaf089[_0xfaf089[_0x1405a7(0x33b)]=0x5]=_0x1405a7(0x33b),_0xfaf089[_0xfaf089['ALREADY_EXISTS']=0x6]=_0x1405a7(0x247),_0xfaf089[_0xfaf089['INVALID_ARGUMENT']=0x7]=_0x1405a7(0x39f),_0xfaf089[_0xfaf089[_0x1405a7(0x296)]=0x8]=_0x1405a7(0x296),_0xfaf089[_0xfaf089['COMPLETION_FINISHED']=0x9]=_0x1405a7(0x35a),_0xfaf089[_0xfaf089['LOGIN_FAILED']=0xa]=_0x1405a7(0x31e),_0xfaf089[_0xfaf089[_0x1405a7(0x192)]=0x1389]=_0x1405a7(0x192),_0xfaf089[_0xfaf089[_0x1405a7(0x22b)]=0x1771]=_0x1405a7(0x22b),_0xfaf089[_0xfaf089[_0x1405a7(0x2ca)]=0x1772]=_0x1405a7(0x2ca),_0xfaf089[_0xfaf089[_0x1405a7(0x238)]=0x1773]=_0x1405a7(0x238),_0xfaf089[_0xfaf089[_0x1405a7(0x275)]=0x1b59]=_0x1405a7(0x275),_0xfaf089[_0xfaf089[_0x1405a7(0x295)]=0x1b5a]=_0x1405a7(0x295),_0xfaf089[_0xfaf089[_0x1405a7(0x213)]=0x1b5b]=_0x1405a7(0x213),_0xfaf089[_0xfaf089[_0x1405a7(0x34e)]=0x1b5c]=_0x1405a7(0x34e),_0xfaf089[_0xfaf089['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xfaf089[_0xfaf089[_0x1405a7(0x387)]=0x1f41]=_0x1405a7(0x387),_0xfaf089[_0xfaf089[_0x1405a7(0x2ee)]=0x2329]=_0x1405a7(0x2ee),_0xfaf089[_0xfaf089[_0x1405a7(0x170)]=0x232a]=_0x1405a7(0x170),_0xfaf089[_0xfaf089[_0x1405a7(0x212)]=0x232b]=_0x1405a7(0x212),_0xfaf089[_0xfaf089[_0x1405a7(0x12a)]=0x232c]=_0x1405a7(0x12a),_0xfaf089[_0xfaf089['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xfaf089[_0xfaf089[_0x1405a7(0x2f0)]=0x2711]=_0x1405a7(0x2f0),_0xfaf089[_0xfaf089[_0x1405a7(0x1e7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xfaf089[_0xfaf089[_0x1405a7(0x125)]=0x2713]=_0x1405a7(0x125),_0xfaf089[_0xfaf089[_0x1405a7(0x201)]=0x2714]=_0x1405a7(0x201),_0xfaf089[_0xfaf089[_0x1405a7(0x322)]=0x271a]=_0x1405a7(0x322),_0xfaf089[_0xfaf089['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1405a7(0x1c1),_0xfaf089[_0xfaf089[_0x1405a7(0x21c)]=0x2af9]=_0x1405a7(0x21c),_0xfaf089[_0xfaf089[_0x1405a7(0x39c)]=0x2ee1]=_0x1405a7(0x39c),_0xfaf089[_0xfaf089[_0x1405a7(0x24e)]=0x2ee2]=_0x1405a7(0x24e),_0xfaf089[_0xfaf089[_0x1405a7(0x16d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xfaf089[_0xfaf089[_0x1405a7(0x1d5)]=0x2ee4]=_0x1405a7(0x1d5),_0xfaf089[_0xfaf089[_0x1405a7(0x1ea)]=0x2ee5]=_0x1405a7(0x1ea),_0xfaf089[_0xfaf089[_0x1405a7(0x15f)]=0x32c9]=_0x1405a7(0x15f),_0xfaf089[_0xfaf089['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xfaf089[_0xfaf089[_0x1405a7(0x362)]=0x32cb]=_0x1405a7(0x362),_0xfaf089[_0xfaf089[_0x1405a7(0x16f)]=-0x1]='UNRECOGNIZED',_0xfaf089))(_0x4e459f||{}),_0x5500a8=Object[_0x1405a7(0x1ba)],_0xc52bbb=(_0x2fbb80,_0x5b2a0c,_0x2f371d,_0x18990c)=>{const _0x8dd984=_0x1405a7;for(var _0x206dd1=_0x18990c>0x1?void 0x0:_0x18990c?_0x5500a8(_0x5b2a0c,_0x2f371d):_0x5b2a0c,_0x3c2bfb=_0x2fbb80[_0x8dd984(0x39a)]-0x1,_0x15ce0d;_0x3c2bfb>=0x0;_0x3c2bfb--)(_0x15ce0d=_0x2fbb80[_0x3c2bfb])&&(_0x206dd1=_0x15ce0d(_0x206dd1)||_0x206dd1);return _0x206dd1;},_0xf226fe=(_0x1b77cb,_0x748e76)=>(_0x55645d,_0x19e337)=>_0x748e76(_0x55645d,_0x19e337,_0x1b77cb);_0x116d7d['RemoteUniscriptService']=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x3468ae,_0x5226f3,_0x558bf2){const _0x3d39d6=_0x1405a7;super(),this[_0x3d39d6(0x136)]=_0x3468ae,this[_0x3d39d6(0x2f3)]=_0x5226f3,this[_0x3d39d6(0x1cc)]=_0x558bf2;}async[_0x1405a7(0x266)](_0x2386e3,_0x989599,_0x4a040b,..._0x1ce510){const _0x52ec13=_0x1405a7;var _0x2c6808,_0x81d3db,_0x2a13b8,_0x270660;const _0x52bda5=this[_0x52ec13(0x136)][_0x52ec13(0x127)]();if(!_0x52bda5)throw new Error(_0x52ec13(0x186));const _0x597790=((_0x2c6808=this[_0x52ec13(0x1cc)][_0x52ec13(0x3be)](_0x2b9205['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x2c6808:_0x2b9205[_0x52ec13(0x397)])+'/'+_0x2386e3+_0x52ec13(0x1bb)+_0x989599,_0x9d63d6=new URL(window[_0x52ec13(0x324)][_0x52ec13(0x141)]),_0x24f2bd={'scriptId':_0x2386e3,'runId':(_0x81d3db=_0x9d63d6['searchParams'][_0x52ec13(0x1c3)](_0x52ec13(0x241)))!=null?_0x81d3db:'','function':_0x989599,'unitId':_0x52bda5['getUnitId'](),'argsOfFunction':JSON[_0x52ec13(0x19c)](_0x1ce510),'invokeId':(_0x2a13b8=_0x4a040b['invokeId'])!=null?_0x2a13b8:'','executionId':(_0x270660=_0x4a040b[_0x52ec13(0x15d)])!=null?_0x270660:''};try{const _0x586a47=await this[_0x52ec13(0x2f3)][_0x52ec13(0x2eb)](_0x597790,{'body':_0x24f2bd});return _0x586a47['body'][_0x52ec13(0x257)]&&_0x586a47[_0x52ec13(0x140)]['error'][_0x52ec13(0x29b)]!==_0x4e459f['OK']?_0x52ec13(0x156):_0x586a47[_0x52ec13(0x140)][_0x52ec13(0x27d)];}catch{return _0x52ec13(0x156);}}},_0x116d7d[_0x1405a7(0x3ad)]=_0xc52bbb([_0xf226fe(0x0,_0x57425f[_0x1405a7(0x3c7)]),_0xf226fe(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x117380['HTTPService'])),_0xf226fe(0x2,_0x57425f[_0x1405a7(0x1fc)])],_0x116d7d[_0x1405a7(0x3ad)]),_0x116d7d[_0x1405a7(0x189)]=_0x554786,_0x116d7d[_0x1405a7(0x2c8)]=_0x1234c7,_0x116d7d[_0x1405a7(0x1af)]=_0x5fa9c6,_0x116d7d[_0x1405a7(0x175)]=_0x29882d,_0x116d7d[_0x1405a7(0x1b5)]=_0x5abb13,Object[_0x1405a7(0x2e2)](_0x116d7d,Symbol[_0x1405a7(0x13e)],{'value':'Module'});}));
|