@univerjs-pro/collaboration-client-ui 0.8.3 → 0.9.1-nightly.202507041607
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/ko-KR.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/ko-KR.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/ko-KR.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/ko-KR.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/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x561d26,_0x340f70){const _0x242684=_0x3c3b,_0x4e9510=_0x561d26();while(!![]){try{const _0x12bc0b=parseInt(_0x242684(0x151))/0x1+parseInt(_0x242684(0x20d))/0x2*(parseInt(_0x242684(0x156))/0x3)+parseInt(_0x242684(0x23f))/0x4+-parseInt(_0x242684(0x132))/0x5*(-parseInt(_0x242684(0x1aa))/0x6)+parseInt(_0x242684(0x15f))/0x7*(-parseInt(_0x242684(0x283))/0x8)+-parseInt(_0x242684(0x1d2))/0x9*(-parseInt(_0x242684(0x2a3))/0xa)+-parseInt(_0x242684(0x14e))/0xb;if(_0x12bc0b===_0x340f70)break;else _0x4e9510['push'](_0x4e9510['shift']());}catch(_0x24cd56){_0x4e9510['push'](_0x4e9510['shift']());}}}(_0xcd77,0x5daff),function(_0x259a55,_0x8eaf3d){const _0x20fa3a=_0x3c3b;typeof exports==_0x20fa3a(0x168)&&typeof module<'u'?_0x8eaf3d(exports,require(_0x20fa3a(0x19f)),require(_0x20fa3a(0x2de)),require('@univerjs/engine-render'),require(_0x20fa3a(0x2ad)),require(_0x20fa3a(0x2e2)),require(_0x20fa3a(0x2e0)),require(_0x20fa3a(0x116)),require('@univerjs-pro/collaboration'),require(_0x20fa3a(0x2e1)),require(_0x20fa3a(0x12e)),require('@univerjs/sheets'),require(_0x20fa3a(0xc8)),require(_0x20fa3a(0x19e)),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require(_0x20fa3a(0x2d7)),require(_0x20fa3a(0x142))):typeof define=='function'&&define[_0x20fa3a(0xde)]?define(['exports','@univerjs-pro/collaboration-client',_0x20fa3a(0x2de),_0x20fa3a(0x22a),_0x20fa3a(0x2ad),_0x20fa3a(0x2e2),_0x20fa3a(0x2e0),'rxjs',_0x20fa3a(0x100),_0x20fa3a(0x2e1),_0x20fa3a(0x12e),'@univerjs/sheets','rxjs/operators','@univerjs/sheets-ui',_0x20fa3a(0x261),_0x20fa3a(0xad),'@univerjs/design','react','@univerjs/rpc'],_0x8eaf3d):(_0x259a55=typeof globalThis<'u'?globalThis:_0x259a55||self,_0x8eaf3d(_0x259a55['UniverProCollaborationClientUi']={},_0x259a55[_0x20fa3a(0xd2)],_0x259a55[_0x20fa3a(0x1d6)],_0x259a55[_0x20fa3a(0x27e)],_0x259a55[_0x20fa3a(0x2f6)],_0x259a55['UniverDocsUi'],_0x259a55[_0x20fa3a(0x1ca)],_0x259a55['rxjs'],_0x259a55[_0x20fa3a(0x1b6)],_0x259a55['UniverDocs'],_0x259a55[_0x20fa3a(0x200)],_0x259a55[_0x20fa3a(0x292)],_0x259a55[_0x20fa3a(0x116)][_0x20fa3a(0xd8)],_0x259a55[_0x20fa3a(0xe8)],_0x259a55['React'],_0x259a55['UniverUi'],_0x259a55['UniverDesign'],_0x259a55['React'],_0x259a55[_0x20fa3a(0x1b2)]));}(this,function(_0x54a1e0,_0x106dd7,_0x327729,_0x19e16c,_0x10fbe7,_0x88e369,_0x568319,_0x4a689b,_0x4ac0c0,_0xa5f8cf,_0x377435,_0xf4e447,_0xbb9ec1,_0x4bc061,_0x1dfa0c,_0x1eafc9,_0x4fad06,_0x5d517a,_0x76fef8){'use strict';const _0x607acc=_0x3c3b;var _0x5e5c1d=Object[_0x607acc(0x191)],_0xc04d88=(_0x3beef3,_0xaa7078,_0x459d90)=>_0xaa7078 in _0x3beef3?_0x5e5c1d(_0x3beef3,_0xaa7078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x459d90}):_0x3beef3[_0xaa7078]=_0x459d90,_0x338777=(_0x1d9bb2,_0x45ccd1,_0x442bde)=>_0xc04d88(_0x1d9bb2,typeof _0x45ccd1!='symbol'?_0x45ccd1+'':_0x45ccd1,_0x442bde),_0x1d92ac=Object[_0x607acc(0x30e)],_0x492926=(_0x160a11,_0x38919e,_0x476d20,_0x1d7057)=>{for(var _0x328a47=_0x1d7057>0x1?void 0x0:_0x1d7057?_0x1d92ac(_0x38919e,_0x476d20):_0x38919e,_0x4485a5=_0x160a11['length']-0x1,_0x4b4159;_0x4485a5>=0x0;_0x4485a5--)(_0x4b4159=_0x160a11[_0x4485a5])&&(_0x328a47=_0x4b4159(_0x328a47)||_0x328a47);return _0x328a47;},_0x1e3d87=(_0x17e7d2,_0x1df954)=>(_0x59f219,_0x5fe7fc)=>_0x1df954(_0x59f219,_0x5fe7fc,_0x17e7d2);let _0x142699=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x46a89a,_0x136ea6){const _0x2659e1=_0x607acc;super(),this['_docClipboardService']=_0x46a89a,this[_0x2659e1(0x184)]=_0x136ea6,this[_0x2659e1(0x135)]();}[_0x607acc(0x135)](){const _0x2ee1bb=_0x607acc,_0x2eb873=this;this[_0x2ee1bb(0xb8)](this[_0x2ee1bb(0x10f)][_0x2ee1bb(0x217)]({'onBeforePasteImage':async _0x280261=>{const _0x4d36ab=_0x2ee1bb,_0x1178a1=await _0x2eb873['_imageIoService']['saveImage'](_0x280261);return _0x1178a1?{'source':_0x1178a1[_0x4d36ab(0x25d)],'imageSourceType':_0x1178a1[_0x4d36ab(0x260)]}:null;}}));}};_0x142699=_0x492926([_0x1e3d87(0x0,_0x88e369[_0x607acc(0xe7)]),_0x1e3d87(0x1,_0x568319[_0x607acc(0x323)])],_0x142699);const _0x5db064=['purple.300','jiqing.500',_0x607acc(0x274),_0x607acc(0x1bb),_0x607acc(0x101),'yellow.400'];class _0x3a75e1 extends _0x327729['Disposable']{constructor(){const _0x1ca031=_0x607acc;super(...arguments),_0x338777(this,_0x1ca031(0x1b1),new Map()),_0x338777(this,_0x1ca031(0x2f8),0x0);}[_0x607acc(0xea)](_0x26023e){const _0xb81302=_0x607acc;if(this[_0xb81302(0x1b1)][_0xb81302(0x29d)](_0x26023e))return this[_0xb81302(0x1b1)][_0xb81302(0x1e4)](_0x26023e);const _0x2af6b0=_0x5db064[this[_0xb81302(0x2f8)]];return this[_0xb81302(0x2f8)]=(this[_0xb81302(0x2f8)]+0x1)%_0x5db064[_0xb81302(0x304)],this['_assignedColors']['set'](_0x26023e,_0x2af6b0),_0x2af6b0;}}function _0x41df60(_0x469591){let _0x3ab938='';for(const _0x356e15 of _0x469591){const {startOffset:_0x565a2c,endOffset:_0x41a82c,isActive:_0x1a031f,rangeType:_0x165968,segmentId:_0x5df3a3,segmentPage:_0x567e81}=_0x356e15;_0x3ab938['length']&&(_0x3ab938+=','),_0x3ab938+=_0x565a2c+':'+_0x41a82c+':'+(_0x1a031f?'1':'0')+':'+_0x165968+':'+_0x5df3a3+':'+_0x567e81;}return _0x3ab938;}function _0x18f69a(_0x5af4e2){const _0x3cbffa=_0x607acc,_0x25025d=_0x5af4e2['split'](','),_0x49af7a=[];for(const _0x52be4b of _0x25025d){const [_0x255c4d,_0x55593b,_0x335a63,_0x2d6ba1,_0xe8977,_0x360575]=_0x52be4b[_0x3cbffa(0x272)](':');_0x49af7a[_0x3cbffa(0x2d2)]({'startOffset':Number(_0x255c4d),'endOffset':Number(_0x55593b),'collapsed':_0x255c4d===_0x55593b,'isActive':_0x335a63==='1','rangeType':_0x2d6ba1===_0x327729[_0x3cbffa(0x140)][_0x3cbffa(0x13a)]?_0x327729[_0x3cbffa(0x140)][_0x3cbffa(0x13a)]:_0x327729[_0x3cbffa(0x140)][_0x3cbffa(0x181)],'segmentId':typeof _0xe8977==_0x3cbffa(0x177)?String(_0xe8977):'','segmentPage':Number(_0x360575!=null?_0x360575:-0x1)});}return _0x49af7a[_0x3cbffa(0x28c)](_0x31ab51=>_0x31ab51['isActive'])||(_0x49af7a[0x0]['isActive']=!0x0),_0x49af7a;}class _0x11acbb extends _0x327729[_0x607acc(0x1c4)]{constructor(){const _0x1f1830=_0x607acc;super(...arguments),_0x338777(this,_0x1f1830(0x299),new _0x4a689b[(_0x1f1830(0xa9))](null)),_0x338777(this,_0x1f1830(0x18b),this[_0x1f1830(0x299)][_0x1f1830(0x310)]());}[_0x607acc(0x91)](_0xef7c0e){const _0xffe334=_0x607acc,{unitID:_0x5a7e4c,memberID:_0x72f13d,textRanges:_0x331c19}=_0xef7c0e,_0x481e3a=_0x41df60(_0x331c19);if(_0x481e3a==='')return;const _0x24980={'unitID':_0x5a7e4c,'memberID':_0x72f13d,'selection':_0x481e3a};this[_0xffe334(0x299)]['next'](_0x24980);}}var _0x58629a=Object['getOwnPropertyDescriptor'],_0x3ec051=(_0x3c8b13,_0x1b2d09,_0x5cf3bd,_0x2066b3)=>{const _0x3e3fb9=_0x607acc;for(var _0x23158f=_0x2066b3>0x1?void 0x0:_0x2066b3?_0x58629a(_0x1b2d09,_0x5cf3bd):_0x1b2d09,_0x19d55c=_0x3c8b13[_0x3e3fb9(0x304)]-0x1,_0x505ca5;_0x19d55c>=0x0;_0x19d55c--)(_0x505ca5=_0x3c8b13[_0x19d55c])&&(_0x23158f=_0x505ca5(_0x23158f)||_0x23158f);return _0x23158f;},_0x2bfd78=(_0x5332e8,_0x3bd039)=>(_0x340b54,_0x2ecd5d)=>_0x3bd039(_0x340b54,_0x2ecd5d,_0x5332e8);const _0x3d4b68=0x12c,_0x22a868=0x64;let _0x126af2=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x218f08,_0x3f41c1,_0x34c4a3,_0x166d70,_0x38c185,_0x4fe32e,_0x1f967e,_0x1582aa,_0x405e37){const _0x102acd=_0x607acc;super(),_0x338777(this,_0x102acd(0x2ac),!0x1),_0x338777(this,_0x102acd(0x135),!0x1),_0x338777(this,_0x102acd(0x2c4),new _0x4a689b[(_0x102acd(0xa9))](new Map())),_0x338777(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x338777(this,'_roomMembers$',new _0x4a689b[(_0x102acd(0xa9))]([])),_0x338777(this,_0x102acd(0x175),this[_0x102acd(0x97)][_0x102acd(0x30f)](_0x4a689b['debounceTime'](_0x3d4b68))),_0x338777(this,_0x102acd(0x22e),_0x327729[_0x102acd(0x164)](_0xbdbdd7=>{const _0x5e895b=_0x102acd,_0x2f28f1={'eventID':_0x4ac0c0[_0x5e895b(0x1a1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5e895b(0x1d3)],'memberID':this[_0x5e895b(0x1d8)]['getMemberID'](),'selection':_0x41df60(_0xbdbdd7)}};this[_0x5e895b(0x1d8)][_0x5e895b(0x265)](_0x2f28f1,this[_0x5e895b(0x1d3)]);},_0x22a868)),(this[_0x102acd(0x1d3)]=_0x218f08,this[_0x102acd(0x1d8)]=_0x3f41c1,this['_injector']=_0x34c4a3,this[_0x102acd(0x21d)]=_0x166d70,this[_0x102acd(0x20e)]=_0x38c185,this[_0x102acd(0x313)]=_0x4fe32e,this[_0x102acd(0x305)]=_0x1f967e,this[_0x102acd(0x2c5)]=_0x1582aa,this[_0x102acd(0x1fe)]=_0x405e37);}get[_0x607acc(0x1f7)](){const _0x2c9106=_0x607acc;return this[_0x2c9106(0x2c4)][_0x2c9106(0x161)]();}get[_0x607acc(0x1c8)](){const _0x444ca9=_0x607acc;return this[_0x444ca9(0x97)]['getValue']();}[_0x607acc(0x185)](){const _0x426d07=_0x607acc;super[_0x426d07(0x185)](),this['_cursorInfo$'][_0x426d07(0x1dd)](new Map()),this[_0x426d07(0x2c4)][_0x426d07(0x22b)](),this[_0x426d07(0x97)]['next']([]),this[_0x426d07(0x97)][_0x426d07(0x22b)]();}[_0x607acc(0x2a7)](){const _0x29865c=_0x607acc;this[_0x29865c(0x135)]||(this['_init']=!0x0,this[_0x29865c(0x1d8)][_0x29865c(0x2ee)][_0x29865c(0x30f)](_0x4a689b[_0x29865c(0xec)](this[_0x29865c(0x1ad)]))[_0x29865c(0x10d)](_0x5d792a=>{const _0x355ca3=_0x29865c;_0x5d792a===_0x106dd7[_0x355ca3(0x29e)][_0x355ca3(0x93)]?this['_toggleOnline']():this[_0x355ca3(0x1c9)]();}),this['_session'][_0x29865c(0x1b5)][_0x29865c(0x30f)](_0x4a689b[_0x29865c(0xec)](this[_0x29865c(0x1ad)]))[_0x29865c(0x10d)](_0x3086e3=>{const _0xff1170=_0x29865c,_0x2a3a1d=_0x3086e3[_0xff1170(0xa8)];_0x2a3a1d===_0x4ac0c0[_0xff1170(0x1a1)][_0xff1170(0x1f4)]&&this[_0xff1170(0x22d)](_0x3086e3),_0x2a3a1d===_0x4ac0c0[_0xff1170(0x1a1)]['USERS_LEAVE']&&this[_0xff1170(0x2fd)](_0x3086e3);}),this[_0x29865c(0xb8)](this[_0x29865c(0x1fe)]['onCommandExecuted'](_0x4a8b81=>{const _0x329008=_0x29865c,_0x3a1a41=_0x4a8b81[_0x329008(0x127)];_0x3a1a41!=null&&this[_0x329008(0x2ac)]&&_0x4a8b81['id']===_0xa5f8cf[_0x329008(0x298)]['id']&&_0x3a1a41[_0x329008(0x183)]===this[_0x329008(0x1d3)]&&_0x3a1a41[_0x329008(0x133)]===!0x1&&_0x3a1a41['ranges']['length']>0x0&&this[_0x329008(0x22e)](_0x3a1a41[_0x329008(0x12a)]);})),this['_syncEditingCollabCursorService'][_0x29865c(0x18b)][_0x29865c(0x30f)](_0x4a689b[_0x29865c(0xec)](this['dispose$']))[_0x29865c(0x10d)](_0x2a03d9=>{const _0x341a47=_0x29865c;if((_0x2a03d9==null?void 0x0:_0x2a03d9[_0x341a47(0x1d3)])!==this['unitID'])return;const _0x8e5da3={'eventID':_0x4ac0c0[_0x341a47(0x1a1)]['UPDATE_CURSOR'],'data':_0x2a03d9};this[_0x341a47(0x22d)](_0x8e5da3);}),this[_0x29865c(0xb8)](this['_commandService'][_0x29865c(0xfc)](_0x66ce0d=>{const _0x53a76c=_0x29865c;if(_0x66ce0d[_0x53a76c(0x127)]==null)return;const _0x16388f=_0x66ce0d[_0x53a76c(0x127)];if(_0x66ce0d['id']!==_0xa5f8cf[_0x53a76c(0x128)]['id']||_0x16388f[_0x53a76c(0x183)]!==this[_0x53a76c(0x1d3)])return;const _0x5162a5={'id':_0x53a76c(0x27f),'params':_0x16388f},_0x36c98d=this[_0x53a76c(0x1f7)];for(const [_0x3ddb99,_0x30e24e]of _0x36c98d){const _0x566ff4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x30e24e['ranges']}},_0x162c18=this[_0x53a76c(0x305)][_0x53a76c(0x320)](_0x5162a5,_0x566ff4,!0x1);if(_0x4ac0c0[_0x53a76c(0xaf)](_0x162c18))throw _0x162c18[_0x53a76c(0x1a4)];_0x36c98d[_0x53a76c(0x264)](_0x3ddb99,{..._0x30e24e,'ranges':_0x162c18[_0x53a76c(0x1be)]['params'][_0x53a76c(0xf0)]});}queueMicrotask(()=>{const _0x4926a5=_0x53a76c;this[_0x4926a5(0x2c4)][_0x4926a5(0x1dd)](_0x36c98d);});})));}[_0x607acc(0x22d)](_0x902e55){const _0x4be2ee=_0x607acc;var _0x3354c2,_0xbdd927;const {memberID:_0x3c88fe,selection:_0x226fd9}=_0x902e55[_0x4be2ee(0x2ef)],_0x54aade=_0x18f69a(_0x226fd9),_0x28fd1a=(_0xbdd927=(_0x3354c2=this[_0x4be2ee(0x20e)][_0x4be2ee(0x2ea)](this[_0x4be2ee(0x1d3)],_0x3c88fe))==null?void 0x0:_0x3354c2[_0x4be2ee(0x24d)])!=null?_0xbdd927:_0x4be2ee(0x293),_0x16748e={'color':this[_0x4be2ee(0x21d)][_0x4be2ee(0xea)](_0x3c88fe),'name':_0x28fd1a,'ranges':_0x54aade},_0x4cc364=this[_0x4be2ee(0x1f7)];_0x4cc364[_0x4be2ee(0x264)](_0x3c88fe,_0x16748e),this[_0x4be2ee(0x2c4)][_0x4be2ee(0x1dd)](_0x4cc364);}[_0x607acc(0x2fd)](_0x274135){const _0x4d235a=_0x607acc,{memberID:_0x4d0a39}=_0x274135[_0x4d235a(0x2ef)],_0x261599=this[_0x4d235a(0x1f7)];_0x261599[_0x4d235a(0xda)](_0x4d0a39),this[_0x4d235a(0x2c4)][_0x4d235a(0x1dd)](_0x261599);}[_0x607acc(0x21f)](){const _0x401b21=_0x607acc;var _0x3f256a;if(this[_0x401b21(0x2ac)]=!0x0,((_0x3f256a=this[_0x401b21(0x2c5)][_0x401b21(0xff)]())==null?void 0x0:_0x3f256a[_0x401b21(0x309)]())!==this[_0x401b21(0x1d3)])return;const _0x4256d2=this['_injector'][_0x401b21(0x1e4)](_0xa5f8cf['DocSelectionManagerService'])[_0x401b21(0x255)]();Array[_0x401b21(0x12b)](_0x4256d2)&&_0x4256d2[_0x401b21(0x304)]>0x0&&this[_0x401b21(0x22e)](_0x4256d2);}[_0x607acc(0x1c9)](){this['_online']=!0x1;}};_0x126af2=_0x3ec051([_0x2bfd78(0x2,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x2bfd78(0x3,_0x327729['Inject'](_0x3a75e1)),_0x2bfd78(0x4,_0x327729['Inject'](_0x106dd7[_0x607acc(0x2bb)])),_0x2bfd78(0x5,_0x327729['Inject'](_0x11acbb)),_0x2bfd78(0x6,_0x4ac0c0[_0x607acc(0x130)]),_0x2bfd78(0x7,_0x327729[_0x607acc(0x1eb)]),_0x2bfd78(0x8,_0x327729['ICommandService'])],_0x126af2);var _0x1247a0=Object[_0x607acc(0x30e)],_0x1ff3bd=(_0x231a1a,_0x1bcbbc,_0x3a2cc0,_0x1334c4)=>{const _0x3be64c=_0x607acc;for(var _0x4c8a8d=_0x1334c4>0x1?void 0x0:_0x1334c4?_0x1247a0(_0x1bcbbc,_0x3a2cc0):_0x1bcbbc,_0x566786=_0x231a1a[_0x3be64c(0x304)]-0x1,_0x3a6790;_0x566786>=0x0;_0x566786--)(_0x3a6790=_0x231a1a[_0x566786])&&(_0x4c8a8d=_0x3a6790(_0x4c8a8d)||_0x4c8a8d);return _0x4c8a8d;},_0x4b864c=(_0x41237e,_0x130f2e)=>(_0x1a64a4,_0x3bd4ef)=>_0x130f2e(_0x1a64a4,_0x3bd4ef,_0x41237e);const _0x24cff=0x12c,_0x355979=0x64,_0x54af8a=()=>{let _0x5b6c28=[],_0x438fce=!0x1;return _0x5adabb=>{_0x5b6c28['push'](_0x5adabb),_0x438fce||(_0x438fce=!0x0,setTimeout(()=>{const _0x6d5538=_0x3c3b;_0x5b6c28[_0x6d5538(0x284)](_0x193d4b=>_0x193d4b()),_0x5b6c28=[],_0x438fce=!0x1;}));};};let _0xeb01f4=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x189d41,_0x5ad636,_0x4aa290,_0x3ed86a,_0x12e6e9,_0x2814ed,_0xd449f2,_0x398586){const _0x4a6afc=_0x607acc;super(),_0x338777(this,_0x4a6afc(0x2ac),!0x1),_0x338777(this,_0x4a6afc(0x135),!0x1),_0x338777(this,_0x4a6afc(0x2c4),new _0x4a689b[(_0x4a6afc(0xa9))](new Map())),_0x338777(this,'cursorInfo$',this[_0x4a6afc(0x2c4)][_0x4a6afc(0x310)]()),_0x338777(this,'_roomMembers$',new _0x4a689b['BehaviorSubject']([])),_0x338777(this,_0x4a6afc(0x175),this['_roomMembers$']['pipe'](_0x4a689b[_0x4a6afc(0x205)](_0x24cff))),_0x338777(this,_0x4a6afc(0x22e),_0x327729[_0x4a6afc(0x164)]((_0x48ed68,_0x55e740)=>{const _0x122722=_0x4a6afc,_0x5de5ea={'eventID':_0x4ac0c0[_0x122722(0x1a1)][_0x122722(0x1f4)],'data':{'unitID':this['unitID'],'memberID':this[_0x122722(0x1d8)][_0x122722(0x13e)](),'selection':_0x377435['serializeRangeWithSheet'](_0x48ed68,_0x55e740['range'])}};this[_0x122722(0x1d8)]['send'](_0x5de5ea,this[_0x122722(0x1d3)]);},_0x355979)),(this['unitID']=_0x189d41,this['_session']=_0x5ad636,this['_injector']=_0x4aa290,this[_0x4a6afc(0x21d)]=_0x3ed86a,this[_0x4a6afc(0x20e)]=_0x12e6e9,this['_univerInstanceService']=_0x2814ed,this[_0x4a6afc(0x1fe)]=_0xd449f2,this[_0x4a6afc(0xd1)]=_0x398586);}get[_0x607acc(0x1f7)](){const _0x295228=_0x607acc;return this[_0x295228(0x2c4)][_0x295228(0x161)]();}get[_0x607acc(0x1c8)](){const _0xf8b27d=_0x607acc;return this['_roomMembers$'][_0xf8b27d(0x161)]();}[_0x607acc(0x185)](){const _0x57931c=_0x607acc;super[_0x57931c(0x185)](),this[_0x57931c(0x2c4)][_0x57931c(0x1dd)](new Map()),this[_0x57931c(0x2c4)]['complete'](),this[_0x57931c(0x97)][_0x57931c(0x1dd)]([]),this[_0x57931c(0x97)][_0x57931c(0x22b)]();}[_0x607acc(0x2a7)](){const _0x43565c=_0x607acc;this[_0x43565c(0x135)]||(this[_0x43565c(0x135)]=!0x0,this[_0x43565c(0x1d8)][_0x43565c(0x2ee)][_0x43565c(0x30f)](_0x4a689b['takeUntil'](this[_0x43565c(0x1ad)]))[_0x43565c(0x10d)](_0x1a8f49=>{const _0x2dc977=_0x43565c;_0x1a8f49===_0x106dd7['SessionStatus'][_0x2dc977(0x93)]?this['_toggleOnline']():this[_0x2dc977(0x1c9)]();}),this[_0x43565c(0x1d8)][_0x43565c(0x1b5)][_0x43565c(0x30f)](_0x4a689b[_0x43565c(0xec)](this['dispose$']))[_0x43565c(0x10d)](_0x54a75d=>{const _0x5cb8cd=_0x43565c,_0x40e527=_0x54a75d[_0x5cb8cd(0xa8)];_0x40e527===_0x4ac0c0[_0x5cb8cd(0x1a1)][_0x5cb8cd(0x1f4)]&&this[_0x5cb8cd(0x22d)](_0x54a75d),_0x40e527===_0x4ac0c0[_0x5cb8cd(0x1a1)][_0x5cb8cd(0x1e3)]&&this[_0x5cb8cd(0x2fd)](_0x54a75d);}),this[_0x43565c(0x14d)](),this[_0x43565c(0xb8)](this[_0x43565c(0x1fe)]['onCommandExecuted'](_0x5509e5=>{const _0x10eadc=_0x43565c;if(this[_0x10eadc(0x2ac)]&&_0x5509e5['id']===_0xf4e447[_0x10eadc(0xb3)]['id']&&_0x5509e5['params'][_0x10eadc(0x183)]===this[_0x10eadc(0x1d3)]){const _0x528ad5=_0x5509e5[_0x10eadc(0x127)];this['_updateLocalCursor'](_0x528ad5[_0x10eadc(0x2fb)],_0x528ad5[_0x10eadc(0x15c)][0x0]);}})));}[_0x607acc(0x22d)](_0x3c02a5){const _0x4dc96f=_0x607acc;var _0x3442fe,_0x2ff796;const {memberID:_0x35e287,selection:_0x108345}=_0x3c02a5[_0x4dc96f(0x2ef)],{sheetName:_0x109dff,range:_0x4c2018}=_0x377435[_0x4dc96f(0x31c)](_0x108345),_0x39d610={'name':(_0x2ff796=(_0x3442fe=this[_0x4dc96f(0x20e)]['getMember'](this[_0x4dc96f(0x1d3)],_0x35e287))==null?void 0x0:_0x3442fe[_0x4dc96f(0x24d)])!=null?_0x2ff796:_0x4dc96f(0x293),'range':this[_0x4dc96f(0x311)](_0x109dff,_0x4c2018),'sheetID':_0x109dff,'color':this[_0x4dc96f(0x21d)][_0x4dc96f(0xea)](_0x35e287),'selection':_0x108345},_0x453d5a=this[_0x4dc96f(0x1f7)];_0x453d5a[_0x4dc96f(0x264)](_0x35e287,_0x39d610),this['_cursorInfo$'][_0x4dc96f(0x1dd)](_0x453d5a);}[_0x607acc(0x2fd)](_0x2b05c0){const _0x317844=_0x607acc,{memberID:_0x46108b}=_0x2b05c0[_0x317844(0x2ef)],_0x1005d4=this[_0x317844(0x1f7)];_0x1005d4[_0x317844(0xda)](_0x46108b),this[_0x317844(0x2c4)][_0x317844(0x1dd)](_0x1005d4);}[_0x607acc(0x311)](_0x140a54,_0x251d1b){const _0x22ea19=_0x607acc;var _0x4bfade,_0x37e1af;const _0x90af68=(_0x37e1af=(_0x4bfade=this[_0x22ea19(0x2c5)][_0x22ea19(0x28d)](this[_0x22ea19(0x1d3)]))==null?void 0x0:_0x4bfade[_0x22ea19(0x2c1)](_0x140a54))==null?void 0x0:_0x37e1af[_0x22ea19(0x2b2)]();return(_0x90af68==null?void 0x0:_0x90af68[_0x22ea19(0x1f2)](_0x18e151=>_0x327729[_0x22ea19(0x157)]['contains'](_0x18e151,_0x251d1b)))||_0x251d1b;}[_0x607acc(0x14d)](){const _0x1f3d38=_0x607acc,_0x482f18=new _0x327729[(_0x1f3d38(0x303))](),_0x13d51c=_0x54af8a(),_0x4e55e5=()=>{const _0x38a5db=_0x1f3d38;_0x482f18[_0x38a5db(0x185)]();const _0x38d720=(_0x94523d,_0x1dded3,_0x9c95fd,_0x435610)=>{const _0x4b5f1b=_0x38a5db;let _0x48ea47=[];switch(_0x94523d['id']){case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x167)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x300)](_0x94523d,_0x435610);break;}case _0xf4e447['EffectRefRangId'][_0x4b5f1b(0x31e)]:{_0x48ea47=_0xf4e447['handleDeleteRangeMoveUp'](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)]['InsertColCommandId']:{_0x48ea47=_0xf4e447['handleInsertCol'](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x285)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x1c5)](_0x94523d,_0x435610);break;}case _0xf4e447['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x48ea47=_0xf4e447['handleInsertRangeMoveRight'](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x2ed)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x12c)](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)][_0x4b5f1b(0x234)]:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x252)](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)]['RemoveColCommandId']:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x9d)](_0x94523d,_0x435610);break;}case _0xf4e447[_0x4b5f1b(0x1c3)]['RemoveRowCommandId']:{_0x48ea47=_0xf4e447[_0x4b5f1b(0x92)](_0x94523d,_0x435610);break;}}const _0x5d33d3=_0xf4e447[_0x4b5f1b(0x1ee)](_0x48ea47,_0x435610),_0x7635f2=this[_0x4b5f1b(0x1f7)][_0x4b5f1b(0x1e4)](_0x1dded3);if(_0x7635f2&&_0x5d33d3){const _0x15506b={..._0x7635f2,'range':_0x5d33d3};this[_0x4b5f1b(0x1f7)][_0x4b5f1b(0x264)](_0x1dded3,_0x15506b),_0x13d51c(()=>{const _0x28f13c=_0x4b5f1b,_0x415870=this[_0x28f13c(0xd1)][_0x28f13c(0x1a2)](_0x5d33d3,_0x4f51fe=>(_0x415870['dispose'](),_0x38d720(_0x4f51fe,_0x1dded3,_0x9c95fd,_0x5d33d3)));_0x482f18[_0x28f13c(0x27a)](_0x415870);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x38a5db(0x284)]((_0x2ba0b7,_0x3a1149)=>{const _0x4f9358=_0x38a5db,{range:_0x2f7dc3,sheetID:_0x4f24dd}=_0x2ba0b7,_0x3fc826=this[_0x4f9358(0xd1)]['registerRefRange'](_0x2f7dc3,_0x5d4019=>(_0x3fc826[_0x4f9358(0x185)](),_0x38d720(_0x5d4019,_0x3a1149,_0x4f24dd,_0x2f7dc3)));_0x482f18[_0x4f9358(0x27a)](_0x3fc826);});};this[_0x1f3d38(0xb8)](_0x327729['toDisposable'](this[_0x1f3d38(0x2c4)][_0x1f3d38(0x10d)](()=>{_0x4e55e5();})));}[_0x607acc(0x21f)](){const _0x1867ed=_0x607acc;var _0x42e12e,_0x4e36e1;if(this[_0x1867ed(0x2ac)]=!0x0,((_0x42e12e=this[_0x1867ed(0x2c5)][_0x1867ed(0xff)]())==null?void 0x0:_0x42e12e[_0x1867ed(0x309)]())!==this[_0x1867ed(0x1d3)])return;const _0x1ec130=(_0x4e36e1=this[_0x1867ed(0x170)]['get'](_0xf4e447['SheetsSelectionsService'])[_0x1867ed(0xdb)]())==null?void 0x0:_0x4e36e1[0x0],_0x1f0b65=this[_0x1867ed(0x2c5)]['getCurrentUnitForType'](_0x327729[_0x1867ed(0xe9)][_0x1867ed(0x238)])[_0x1867ed(0x297)]();_0x1ec130&&_0x1f0b65&&this[_0x1867ed(0x22e)](_0x1f0b65[_0x1867ed(0x25b)](),_0x1ec130);}[_0x607acc(0x1c9)](){this['_online']=!0x1;}};_0xeb01f4=_0x1ff3bd([_0x4b864c(0x2,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x4b864c(0x3,_0x327729[_0x607acc(0x1cc)](_0x3a75e1)),_0x4b864c(0x4,_0x327729['Inject'](_0x106dd7[_0x607acc(0x2bb)])),_0x4b864c(0x5,_0x327729[_0x607acc(0x1eb)]),_0x4b864c(0x6,_0x327729['ICommandService']),_0x4b864c(0x7,_0x327729['Inject'](_0xf4e447[_0x607acc(0xa4)]))],_0xeb01f4);var _0x35b0f8=Object[_0x607acc(0x30e)],_0x21684a=(_0x50930e,_0x4f21b,_0x267bcb,_0x5bd4d6)=>{const _0x4d1e85=_0x607acc;for(var _0x1dea33=_0x5bd4d6>0x1?void 0x0:_0x5bd4d6?_0x35b0f8(_0x4f21b,_0x267bcb):_0x4f21b,_0x5a818d=_0x50930e[_0x4d1e85(0x304)]-0x1,_0x58008c;_0x5a818d>=0x0;_0x5a818d--)(_0x58008c=_0x50930e[_0x5a818d])&&(_0x1dea33=_0x58008c(_0x1dea33)||_0x1dea33);return _0x1dea33;},_0x16da8c=(_0x4ff5d4,_0x1181ac)=>(_0x5db976,_0x45b81e)=>_0x1181ac(_0x5db976,_0x45b81e,_0x4ff5d4);let _0x4dc4bf=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x32fb76,_0x39f20f,_0xfe3186){const _0x4f2d0f=_0x607acc;super(),_0x338777(this,_0x4f2d0f(0x1b3),new Map()),_0x338777(this,_0x4f2d0f(0x1e7),new _0x4a689b[(_0x4f2d0f(0x1ae))]()),(this[_0x4f2d0f(0x2c5)]=_0x32fb76,this[_0x4f2d0f(0x170)]=_0x39f20f,this[_0x4f2d0f(0x1df)]=_0xfe3186,this[_0x4f2d0f(0x135)]());}[_0x607acc(0x185)](){const _0xa98776=_0x607acc;super[_0xa98776(0x185)](),this[_0xa98776(0x1e7)]['complete'](),this[_0xa98776(0x1b3)][_0xa98776(0x284)](_0x3994d4=>_0x3994d4['dispose']());}[_0x607acc(0x190)](_0x19238a){const _0x388848=_0x607acc;return this['_entities'][_0x388848(0x29d)](_0x19238a)?this[_0x388848(0x1b3)]['get'](_0x19238a)[_0x388848(0x11b)]:this[_0x388848(0x1e7)][_0x388848(0x30f)](_0x4a689b['filter'](_0x4aa6a9=>_0x4aa6a9[_0x388848(0x1d3)]===_0x19238a),_0x4a689b[_0x388848(0x24b)](_0x1ec6b7=>_0x1ec6b7['cursorInfo$']));}['_init'](){const _0x3948c6=_0x607acc;this['_univerInstanceService'][_0x3948c6(0x106)](_0x327729['UniverInstanceType'][_0x3948c6(0x238)])[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0xec)](this[_0x3948c6(0x1ad)]))['subscribe'](async _0x5dce33=>{const _0x48aa3f=_0x3948c6,_0x50e04e=_0x5dce33[_0x48aa3f(0x309)](),_0x28e345=await this['_startSheetCollabCursor'](_0x50e04e);this[_0x48aa3f(0x1e7)][_0x48aa3f(0x1dd)](_0x28e345),this[_0x48aa3f(0x1b3)]['set'](_0x50e04e,_0x28e345);}),this[_0x3948c6(0x2c5)][_0x3948c6(0x106)](_0x327729[_0x3948c6(0xe9)][_0x3948c6(0x208)])[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0xec)](this[_0x3948c6(0x1ad)]))[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0x30b)](_0x4c73d5=>!_0x4c73d5[_0x3948c6(0x309)]()['startsWith']('__')))[_0x3948c6(0x10d)](async _0x45d3c0=>{const _0xba335b=_0x3948c6,_0x51d366=_0x45d3c0[_0xba335b(0x309)](),_0x2e6fbb=await this[_0xba335b(0x2e7)](_0x51d366);this[_0xba335b(0x1e7)][_0xba335b(0x1dd)](_0x2e6fbb),this[_0xba335b(0x1b3)]['set'](_0x51d366,_0x2e6fbb);}),_0x4a689b['merge'](this[_0x3948c6(0x2c5)][_0x3948c6(0xc6)](_0x327729[_0x3948c6(0xe9)][_0x3948c6(0x208)]),this[_0x3948c6(0x2c5)][_0x3948c6(0xc6)](_0x327729['UniverInstanceType'][_0x3948c6(0x238)]))[_0x3948c6(0x30f)](_0x4a689b[_0x3948c6(0xec)](this[_0x3948c6(0x1ad)]))[_0x3948c6(0x10d)](_0x98d6e6=>{const _0x5bf2c7=_0x3948c6,_0x1983d4=_0x98d6e6[_0x5bf2c7(0x309)](),_0x3f5d10=this[_0x5bf2c7(0x1b3)][_0x5bf2c7(0x1e4)](_0x1983d4);_0x3f5d10&&(_0x3f5d10[_0x5bf2c7(0x185)](),this['_entities'][_0x5bf2c7(0xda)](_0x1983d4));});}async[_0x607acc(0x107)](_0x207c48){const _0x903d03=_0x607acc,_0xfaa09b=await this[_0x903d03(0x1df)][_0x903d03(0x259)](_0x207c48),_0x39edce=this[_0x903d03(0x170)]['createInstance'](_0xeb01f4,_0x207c48,_0xfaa09b);return _0x39edce[_0x903d03(0x2a7)](),_0x39edce;}async[_0x607acc(0x2e7)](_0x4d7024){const _0xc05326=_0x607acc,_0x47a823=await this['_collabSessionService'][_0xc05326(0x259)](_0x4d7024),_0x30611d=this['_injector'][_0xc05326(0xc7)](_0x126af2,_0x4d7024,_0x47a823);return _0x30611d[_0xc05326(0x2a7)](),_0x30611d;}};_0x4dc4bf=_0x21684a([_0x16da8c(0x0,_0x327729['IUniverInstanceService']),_0x16da8c(0x1,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x16da8c(0x2,_0x327729[_0x607acc(0x1cc)](_0x106dd7['CollaborationSessionService']))],_0x4dc4bf);const _0x836d21=0x14,_0x440263=0xc8,_0x436ba8=0x4,_0x22da81=0x5;function _0x4d3874(_0x117a75,_0x6699ba){const _0xc51c8d=_0x607acc;let {radius:_0x1f75ad,width:_0x34be53,height:_0x47b956}=_0x6699ba;_0x1f75ad=_0x1f75ad!=null?_0x1f75ad:0x0,_0x34be53=_0x34be53!=null?_0x34be53:0x1e,_0x47b956=_0x47b956!=null?_0x47b956:0x1e;let _0x49a4a1=0x0,_0x8c2b06=0x0,_0x49a7e7=0x0;_0x49a4a1=_0x8c2b06=_0x49a7e7=Math['min'](_0x1f75ad,_0x34be53/0x2,_0x47b956/0x2),_0x117a75[_0xc51c8d(0xc0)](),_0x117a75[_0xc51c8d(0x315)](_0x49a4a1,0x0),_0x117a75[_0xc51c8d(0x287)](_0x34be53-_0x8c2b06,0x0),_0x117a75[_0xc51c8d(0x1a3)](_0x34be53-_0x8c2b06,_0x8c2b06,_0x8c2b06,Math['PI']*0x3/0x2,0x0,!0x1),_0x117a75[_0xc51c8d(0x287)](_0x34be53,_0x47b956-_0x49a7e7),_0x117a75['arc'](_0x34be53-_0x49a7e7,_0x47b956-_0x49a7e7,_0x49a7e7,0x0,Math['PI']/0x2,!0x1),_0x117a75[_0xc51c8d(0x287)](0x0,_0x47b956),_0x117a75[_0xc51c8d(0x287)](0x0,_0x49a4a1),_0x117a75['arc'](_0x49a4a1,_0x49a4a1,_0x49a4a1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x117a75['closePath'](),_0x6699ba[_0xc51c8d(0x18d)]&&(_0x117a75['save'](),_0x117a75['fillStyle']=_0x6699ba['fill'],_0x6699ba['fillRule']===_0xc51c8d(0x2b5)?_0x117a75[_0xc51c8d(0x18d)]('evenodd'):_0x117a75[_0xc51c8d(0x18d)](),_0x117a75['restore']());}class _0x461a15 extends _0x19e16c[_0x607acc(0x187)]{constructor(_0x5d57be,_0x473461){const _0x2666af=_0x607acc;super(_0x5d57be,_0x473461),_0x338777(this,'color'),_0x338777(this,_0x2666af(0x327)),(this[_0x2666af(0x290)]=_0x473461==null?void 0x0:_0x473461[_0x2666af(0x290)],this['text']=_0x473461==null?void 0x0:_0x473461['text']);}static[_0x607acc(0x228)](_0x46ae0f,_0xbd0674){const _0x464e52=_0x607acc,{text:_0x195576,color:_0x3435a2}=_0xbd0674;_0x46ae0f[_0x464e52(0xfb)](),_0x46ae0f[_0x464e52(0x210)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x35f804=_0x46ae0f[_0x464e52(0x1a5)](_0x195576)[_0x464e52(0xbb)],_0x748039=Math['min'](_0x35f804+0x2*_0x436ba8,_0x440263);_0x4d3874(_0x46ae0f,{'height':_0x836d21,'radius':0x4,'width':_0x748039,'fill':_0x3435a2}),_0x46ae0f['fillStyle']=_0x464e52(0x111);const _0x359852=_0x436ba8,_0x5b038a=_0x836d21-_0x22da81,_0x58db71=_0x440263-0x2*_0x436ba8;if(_0x35f804>_0x58db71){let _0x3e0faa='',_0x9d7dc5=0x0;for(const _0x468d7c of _0x195576){const _0x342c89=_0x46ae0f[_0x464e52(0x1a5)](_0x468d7c)[_0x464e52(0xbb)];if(_0x9d7dc5+_0x342c89<=_0x58db71-_0x46ae0f[_0x464e52(0x1a5)](_0x464e52(0x244))[_0x464e52(0xbb)])_0x3e0faa+=_0x468d7c,_0x9d7dc5+=_0x342c89;else{_0x3e0faa+='...';break;}}_0x46ae0f[_0x464e52(0x1b7)](_0x3e0faa,_0x359852,_0x5b038a);}else _0x46ae0f[_0x464e52(0x1b7)](_0x195576,_0x359852,_0x5b038a);_0x46ae0f['restore']();}['_draw'](_0x142fed){const _0x33d528=_0x607acc;_0x461a15[_0x33d528(0x228)](_0x142fed,this);}}const _0x33f183='collab-text-anchor-',_0x603134='collab-text-range-',_0x56758f=_0x607acc(0x295),_0x38da43=0x6,_0x21716f=1.5,_0x4d8e6d=0x4,_0x44b373=1.5,_0x38ea1e='rgba(255,\x20255,\x20255,\x200.01)';class _0x4ce558{constructor(_0x455cd3,_0x62bc9a,_0x20d870,_0x3d26f4){const _0x1eb9d2=_0x607acc;_0x338777(this,_0x1eb9d2(0xf5),[]),_0x338777(this,_0x1eb9d2(0xdd),null),_0x338777(this,'_textBubble',null),_0x338777(this,_0x1eb9d2(0xca),null),_0x338777(this,_0x1eb9d2(0x1f0),null),_0x338777(this,_0x1eb9d2(0x202),null),(this[_0x1eb9d2(0x1f8)]=_0x455cd3,this[_0x1eb9d2(0x196)]=_0x62bc9a,this['_docSkeleton']=_0x20d870,this[_0x1eb9d2(0x1d0)]=_0x3d26f4,this[_0x1eb9d2(0x2b8)]());}set[_0x607acc(0xed)](_0x1e4bd3){const _0x239ffe=_0x607acc;_0x1e4bd3?(this[_0x239ffe(0xca)]&&this[_0x239ffe(0xca)][_0x239ffe(0xe6)](),this[_0x239ffe(0x307)]&&this[_0x239ffe(0x307)][_0x239ffe(0x172)]()):(this['_anchorDot']&&this[_0x239ffe(0xca)][_0x239ffe(0x172)](),this[_0x239ffe(0x307)]&&this['_textBubble'][_0x239ffe(0xe6)]());}[_0x607acc(0x185)](){const _0xb61840=_0x607acc;for(const _0x49d57b of this[_0xb61840(0xf5)])_0x49d57b[_0xb61840(0x185)]();this[_0xb61840(0x307)]&&this[_0xb61840(0x307)][_0xb61840(0x185)](),this[_0xb61840(0xca)]&&this[_0xb61840(0xca)][_0xb61840(0x185)](),this[_0xb61840(0xdd)]&&this[_0xb61840(0xdd)][_0xb61840(0x185)](),this['_eventUnsubscribe']&&this[_0xb61840(0x202)]();}['_render'](){const _0x484214=_0x607acc;var _0x44e810;const {_docSkeleton:_0x31efbb,_document:_0xfaadf5}=this,{color:_0x360b5e,name:_0x37ecc1,ranges:_0xfda10c}=this[_0x484214(0x1f8)],_0x1ed45a=_0xfaadf5['getOffsetConfig'](),{docsLeft:_0x3cc09a,docsTop:_0x150b39}=_0x1ed45a,_0x338550=new _0x88e369[(_0x484214(0x13c))](_0x1ed45a,_0x31efbb);for(const {startOffset:_0x2b2529,endOffset:_0x441b94,rangeType:_0x7cbb5d,segmentId:_0x3538e7,segmentPage:_0x1bb099,collapsed:_0x6e9afc,isActive:_0x1771ae}of _0xfda10c){const _0x29e2c0=_0x31efbb[_0x484214(0x198)](_0x2b2529,!0x0,_0x3538e7,_0x1bb099);let _0x1d678e=_0x31efbb[_0x484214(0x198)](_0x441b94,!0x0,_0x3538e7,_0x1bb099);if(_0x1d678e==null&&(_0x1d678e=_0x31efbb['findNodePositionByCharIndex'](_0x441b94-0x1,!0x1,_0x3538e7,_0x1bb099)),_0x1771ae){const {contentBoxPointGroup:_0x38a578}=_0x338550[_0x484214(0x2e6)](_0x1d678e,_0x1d678e);if(_0x38a578[_0x484214(0x304)]===0x0)continue;this[_0x484214(0x27b)](_0x360b5e,_0x38a578,_0x3cc09a,_0x150b39,_0x37ecc1),this[_0x484214(0x202)]=this[_0x484214(0x150)]();}if(_0x29e2c0&&_0x1d678e){if(_0x7cbb5d===_0x327729[_0x484214(0x140)]['RECT']){const _0x51315b=new _0x88e369[(_0x484214(0x1ea))](_0x1ed45a,_0x31efbb),{pointGroup:_0x49b9e1}=(_0x44e810=_0x51315b[_0x484214(0x2e6)](_0x29e2c0,_0x1d678e))!=null?_0x44e810:{};if(_0x49b9e1==null||_0x49b9e1[_0x484214(0x304)]===0x0)continue;this[_0x484214(0x26b)](_0x360b5e,_0x49b9e1,_0x3cc09a,_0x150b39);}else{if(!_0x6e9afc){const {borderBoxPointGroup:_0x461ed3}=_0x338550[_0x484214(0x2e6)](_0x29e2c0,_0x1d678e);if(_0x461ed3[_0x484214(0x304)]===0x0)continue;this['_drawTextRange'](_0x360b5e,_0x461ed3,_0x3cc09a,_0x150b39);}}}}}[_0x607acc(0x27b)](_0x571997,_0x10d4bc,_0x1fcb3b,_0x21d30b,_0x1a0e14){const _0x57d892=_0x607acc,_0x12c3ad=this[_0x57d892(0x243)](_0x10d4bc),{left:_0x5011b3,top:_0x36e3e0,height:_0x1bb6c9}=_0x12c3ad,_0x51dfc4=this['_getScale'](),_0x47cfdf=_0x44b373/_0x51dfc4,_0x7aea8a=new _0x19e16c[(_0x57d892(0x254))](_0x33f183+_0x327729[_0x57d892(0x11c)][_0x57d892(0x29f)](_0x38da43),{'left':_0x5011b3+_0x1fcb3b-_0x47cfdf,'top':_0x36e3e0+_0x21d30b,'height':_0x1bb6c9,'width':_0x21716f,'fill':_0x571997||_0x19e16c[_0x57d892(0x1e5)](_0x327729['COLORS'][_0x57d892(0x15b)],0x0),'strokeWidth':_0x47cfdf,'stroke':_0x38ea1e,'evented':!0x0});this[_0x57d892(0xdd)]=_0x7aea8a,this['_scene'][_0x57d892(0x2b7)](_0x7aea8a,_0x88e369['TEXT_RANGE_LAYER_INDEX']);const _0x486824=new _0x19e16c['Rect'](_0x33f183+_0x327729[_0x57d892(0x11c)]['generateRandomId'](_0x38da43),{'left':_0x5011b3+_0x1fcb3b-_0x47cfdf,'top':_0x36e3e0+_0x21d30b-_0x4d8e6d/0x2,'height':_0x4d8e6d,'width':_0x4d8e6d,'fill':_0x571997||_0x19e16c[_0x57d892(0x1e5)](_0x327729[_0x57d892(0x16e)][_0x57d892(0x15b)],0x0),'strokeWidth':0x0,'stroke':_0x571997||_0x19e16c['getColor'](_0x327729['COLORS'][_0x57d892(0x15b)],0x0),'evented':!0x1});this[_0x57d892(0xca)]=_0x486824,this[_0x57d892(0x196)][_0x57d892(0x2b7)](_0x486824,_0x88e369[_0x57d892(0x20c)]);const _0x47f097=new _0x461a15(_0x33f183+_0x327729[_0x57d892(0x11c)][_0x57d892(0x29f)](_0x38da43),{'left':_0x5011b3+_0x1fcb3b-_0x47cfdf,'top':_0x36e3e0+_0x21d30b-_0x836d21,'text':_0x1a0e14,'color':_0x571997});this[_0x57d892(0x307)]=_0x47f097,this['_scene']['addObject'](_0x47f097,_0x88e369[_0x57d892(0x20c)]),this[_0x57d892(0xed)]=!0x1;}['_handleHover'](){const _0x26121b=_0x607acc,_0x25df56=this[_0x26121b(0xdd)][_0x26121b(0x2f7)]['subscribeEvent'](()=>{const _0x51efb3=_0x26121b;this[_0x51efb3(0xed)]=!0x0;}),_0x484a4e=this[_0x26121b(0xdd)][_0x26121b(0x2f1)][_0x26121b(0x1a8)](()=>{const _0x41cb48=_0x26121b;this['_hideTimer']&&clearTimeout(this[_0x41cb48(0x1f0)]),this[_0x41cb48(0x1f0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4c88ee=_0x26121b;_0x25df56[_0x4c88ee(0x213)](),_0x484a4e[_0x4c88ee(0x213)]();};}['_drawTextRange'](_0x423b0e,_0x5c5812,_0x29f017,_0x107a61){const _0x96a91d=_0x607acc,_0x1ecb54=new _0x327729[(_0x96a91d(0x215))](_0x423b0e)[_0x96a91d(0x115)](0.2)[_0x96a91d(0xb6)](),_0x79fef8=new _0x19e16c[(_0x96a91d(0x143))](_0x603134+_0x327729[_0x96a91d(0x11c)][_0x96a91d(0x29f)](_0x38da43),{'pointsGroup':_0x5c5812,'fill':_0x1ecb54||_0x19e16c[_0x96a91d(0x1e5)](_0x327729['COLORS'][_0x96a91d(0x15b)],0.2),'left':_0x29f017,'top':_0x107a61,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x96a91d(0xf5)][_0x96a91d(0x2d2)](_0x79fef8),this[_0x96a91d(0x196)][_0x96a91d(0x2b7)](_0x79fef8,_0x88e369['TEXT_RANGE_LAYER_INDEX']);}[_0x607acc(0x26b)](_0x4cbaaa,_0x1e5296,_0x2d4166,_0x17e8c5){const _0x47e153=_0x607acc,_0x182de3=new _0x327729['ColorKit'](_0x4cbaaa)[_0x47e153(0x115)](0.2)[_0x47e153(0xb6)](),_0x4f2a26=new _0x19e16c[(_0x47e153(0x143))](_0x56758f+_0x327729[_0x47e153(0x11c)]['generateRandomId'](_0x38da43),{'pointsGroup':_0x1e5296,'fill':_0x182de3||_0x19e16c[_0x47e153(0x1e5)](_0x327729[_0x47e153(0x16e)][_0x47e153(0x15b)],0.2),'left':_0x2d4166,'top':_0x17e8c5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47e153(0xf5)][_0x47e153(0x2d2)](_0x4f2a26),this[_0x47e153(0x196)][_0x47e153(0x2b7)](_0x4f2a26,_0x88e369[_0x47e153(0x20c)]);}[_0x607acc(0x243)](_0x2abe2e){const _0x4f1fae=_0x2abe2e[0x0],_0x16f668=_0x4f1fae[0x0],_0x4a4089=_0x4f1fae[0x2],{x:_0x23a4c2,y:_0x5c1d03}=_0x16f668,{x:_0x45cd69,y:_0x1c44f6}=_0x4a4089;return{'left':_0x23a4c2,'top':_0x5c1d03,'width':_0x45cd69-_0x23a4c2,'height':_0x1c44f6-_0x5c1d03};}[_0x607acc(0x154)](){const _0x90f371=_0x607acc,{scaleX:_0x4e5f05,scaleY:_0x5467c1}=this[_0x90f371(0x196)][_0x90f371(0x241)]();return Math['max'](_0x4e5f05,_0x5467c1);}}var _0x48dd68=Object['getOwnPropertyDescriptor'],_0x48f6a9=(_0x3b4fe7,_0x3baf47,_0x5ddd8d,_0x25f994)=>{const _0x1fffa4=_0x607acc;for(var _0x61b3ac=_0x25f994>0x1?void 0x0:_0x25f994?_0x48dd68(_0x3baf47,_0x5ddd8d):_0x3baf47,_0x55bf7e=_0x3b4fe7[_0x1fffa4(0x304)]-0x1,_0x2e1842;_0x55bf7e>=0x0;_0x55bf7e--)(_0x2e1842=_0x3b4fe7[_0x55bf7e])&&(_0x61b3ac=_0x2e1842(_0x61b3ac)||_0x61b3ac);return _0x61b3ac;},_0x113146=(_0x5b2903,_0x3f450f)=>(_0x6b5b24,_0x388256)=>_0x3f450f(_0x6b5b24,_0x388256,_0x5b2903);let _0x5d89d=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x2394cd,_0x1b8d9b,_0x1fb38d,_0x2a073d,_0x4c08cc){const _0xc780d8=_0x607acc;super(),_0x338777(this,_0xc780d8(0x201),[]),_0x338777(this,_0xc780d8(0x16b),[]),(this['_context']=_0x2394cd,this[_0xc780d8(0x20b)]=_0x1b8d9b,this['_collabCursorController']=_0x1fb38d,this[_0xc780d8(0x1fe)]=_0x2a073d,this[_0xc780d8(0x20a)]=_0x4c08cc,this['_init']());}['_init'](){const _0x597493=_0x607acc,_0x4a3b37=this[_0x597493(0x1f1)]['unitId'],_0x37c631=this['_docSkeletonManagerService'];this[_0x597493(0xb8)](_0x4a689b[_0x597493(0x28f)]([this[_0x597493(0x16f)]['getCollabCursors$'](_0x4a3b37),this[_0x597493(0x20a)][_0x597493(0x1e8)]])['pipe'](_0xbb9ec1[_0x597493(0x134)](([_0x5dbaf2,_0x460233])=>({'skeleton':_0x37c631[_0x597493(0x13d)](),'cursors':[..._0x5dbaf2[_0x597493(0xbf)]()][_0x597493(0x31f)](_0x2f9727=>({..._0x2f9727,'color':this[_0x597493(0x20a)][_0x597493(0x23a)](_0x2f9727[_0x597493(0x290)])}))})))[_0x597493(0x10d)](_0x2d43e1=>{const _0x5f8dd8=_0x597493;if(this['_removeCollabCursors'](),_0x2d43e1){const {skeleton:_0x2b0641,cursors:_0x20996f}=_0x2d43e1;this[_0x5f8dd8(0x14f)](_0x2b0641,_0x20996f);}})),this['_initResize'](),this[_0x597493(0xfa)]();}['_updateCollabCursors'](_0x161a9b,_0x2118b3){const _0x14a8c0=_0x607acc,{scene:_0x12a6dc,mainComponent:_0x3f6724}=this[_0x14a8c0(0x1f1)],_0x1df2f9=_0x2118b3[_0x14a8c0(0x134)](_0x864a25=>new _0x4ce558(_0x864a25,_0x12a6dc,_0x161a9b,_0x3f6724));this[_0x14a8c0(0x201)]=_0x1df2f9,this[_0x14a8c0(0x16b)]=_0x2118b3;}[_0x607acc(0x1d4)](){const _0x26fb24=_0x607acc;this[_0x26fb24(0x1c1)]();const {scene:_0x10d442,mainComponent:_0x2ba090}=this[_0x26fb24(0x1f1)],_0x13231b=this[_0x26fb24(0x20b)]['getSkeleton'](),_0x27d644=this[_0x26fb24(0x16b)][_0x26fb24(0x134)](_0x50f081=>new _0x4ce558(_0x50f081,_0x10d442,_0x13231b,_0x2ba090));this[_0x26fb24(0x201)]=_0x27d644;}[_0x607acc(0x1c1)](){const _0x196674=_0x607acc;this[_0x196674(0x201)][_0x196674(0x284)](_0x15de6d=>_0x15de6d['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x252f8e=_0x607acc,_0x1d1fbc=[_0x88e369[_0x252f8e(0xb2)]['id']];this[_0x252f8e(0xb8)](this['_commandService'][_0x252f8e(0xfc)](_0x1abe7d=>{const _0x384a8d=_0x252f8e;_0x1d1fbc['includes'](_0x1abe7d['id'])&&_0x1abe7d[_0x384a8d(0x127)][_0x384a8d(0x183)]===this[_0x384a8d(0x1f1)][_0x384a8d(0x183)]&&this[_0x384a8d(0x1d4)]();}));}[_0x607acc(0xcf)](){const _0x4e14c1=_0x607acc;this[_0x4e14c1(0xb8)](_0x327729['fromEventSubject'](this[_0x4e14c1(0x1f1)][_0x4e14c1(0x19b)][_0x4e14c1(0xa7)])['pipe'](_0xbb9ec1[_0x4e14c1(0x30b)](_0x53e578=>_0x53e578[_0x4e14c1(0x1a0)]===_0x19e16c[_0x4e14c1(0x275)]['resize']),_0xbb9ec1[_0x4e14c1(0x232)](0x10))[_0x4e14c1(0x10d)](()=>{this['_refreshCollabCursors']();}));}};_0x5d89d=_0x48f6a9([_0x113146(0x1,_0x327729[_0x607acc(0x1cc)](_0xa5f8cf[_0x607acc(0x27c)])),_0x113146(0x2,_0x327729[_0x607acc(0x1cc)](_0x4dc4bf)),_0x113146(0x3,_0x327729['ICommandService']),_0x113146(0x4,_0x327729['Inject'](_0x327729[_0x607acc(0x155)]))],_0x5d89d);const _0x53cfb2=0x1,_0x551c61=1.5;class _0xdf647a extends _0x19e16c['Shape']{constructor(_0x3d5fda,_0x21e79d){const _0x49717f=_0x607acc;super(_0x3d5fda,_0x21e79d),_0x338777(this,_0x49717f(0x271)),_0x338777(this,'_hovered',!0x1),_0x338777(this,_0x49717f(0xc3)),_0x338777(this,_0x49717f(0x263),''),_0x338777(this,_0x49717f(0x182),'top'),_0x338777(this,'_backgroundColor'),(_0x21e79d&&this[_0x49717f(0x11a)](_0x21e79d),this[_0x49717f(0x2f7)]['subscribeEvent'](()=>this[_0x49717f(0x11a)]({'hovered':!0x0})),this[_0x49717f(0x2f1)][_0x49717f(0x1a8)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5e65c2){const _0x336bdf=_0x607acc;var _0x476f0c,_0x481cfe,_0x1b2c85,_0x129a3a,_0x2d6f3f,_0x2e52af;this['_color']=(_0x476f0c=_0x5e65c2[_0x336bdf(0x290)])!=null?_0x476f0c:this[_0x336bdf(0x271)],this[_0x336bdf(0x2f9)]=(_0x481cfe=_0x5e65c2[_0x336bdf(0x163)])!=null?_0x481cfe:this['_hovered'],this[_0x336bdf(0xc3)]=(_0x1b2c85=_0x5e65c2[_0x336bdf(0x329)])!=null?_0x1b2c85:this[_0x336bdf(0xc3)],this[_0x336bdf(0x263)]=(_0x129a3a=_0x5e65c2[_0x336bdf(0x24d)])!=null?_0x129a3a:this['_name'],this['_labelPosition']=(_0x2d6f3f=_0x5e65c2[_0x336bdf(0x2f3)])!=null?_0x2d6f3f:this[_0x336bdf(0x182)],this[_0x336bdf(0x28a)]=(_0x2e52af=_0x5e65c2[_0x336bdf(0x169)])!=null?_0x2e52af:this[_0x336bdf(0x28a)],this['transformByState']({'width':_0x5e65c2['width'],'height':_0x5e65c2[_0x336bdf(0x1bd)]});}[_0x607acc(0xd3)](_0x70a209){const _0x349bed=_0x607acc,{row:_0x3b66e4,column:_0x47d29a}=_0x70a209;if(_0x3b66e4>=this[_0x349bed(0xc3)][_0x349bed(0x110)]&&_0x3b66e4<=this[_0x349bed(0xc3)][_0x349bed(0x2da)]&&_0x47d29a>=this[_0x349bed(0xc3)]['startColumn']&&_0x47d29a<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x349bed(0x11a)]({'hovered':!0x1});}[_0x607acc(0x153)](_0x2e9807){return!0x1;}[_0x607acc(0xe2)](_0x474d14){const _0x55adfc=_0x607acc;_0x19e16c['Rect'][_0x55adfc(0x228)](_0x474d14,{'width':this[_0x55adfc(0xbb)],'height':this[_0x55adfc(0x1bd)],'strokeWidth':_0x551c61,'stroke':this[_0x55adfc(0x271)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x55adfc(0x2f9)]&&(_0x474d14[_0x55adfc(0xfb)](),_0x474d14[_0x55adfc(0x17b)](0x1,0x0,0x0,0x1,this[_0x55adfc(0xbb)],this[_0x55adfc(0x182)]===_0x55adfc(0x165)?0x0:-0x14),_0x461a15[_0x55adfc(0x228)](_0x474d14,{'text':this['_name'],'color':this[_0x55adfc(0x271)]}),_0x474d14[_0x55adfc(0x173)]());}}var _0x13476e=Object[_0x607acc(0x30e)],_0x2851a9=(_0x2192d6,_0x5eb5a4,_0x19e2de,_0xb5488e)=>{const _0x393b15=_0x607acc;for(var _0x4475ad=_0xb5488e>0x1?void 0x0:_0xb5488e?_0x13476e(_0x5eb5a4,_0x19e2de):_0x5eb5a4,_0x2e2aed=_0x2192d6[_0x393b15(0x304)]-0x1,_0x3b6981;_0x2e2aed>=0x0;_0x2e2aed--)(_0x3b6981=_0x2192d6[_0x2e2aed])&&(_0x4475ad=_0x3b6981(_0x4475ad)||_0x4475ad);return _0x4475ad;},_0x3b4421=(_0x2d8e13,_0x463acb)=>(_0x25c7f1,_0x1d32b5)=>_0x463acb(_0x25c7f1,_0x1d32b5,_0x2d8e13);const _0x586597=0x1389;let _0x2ee156=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x50b344,_0x81a583,_0x313853,_0x2ac9f2){const _0x3f8687=_0x607acc;super(),_0x338777(this,'_cursors',new Set()),_0x338777(this,'_lastPointer',null),(this['_context']=_0x50b344,this[_0x3f8687(0x174)]=_0x81a583,this[_0x3f8687(0x16f)]=_0x313853,this[_0x3f8687(0x20a)]=_0x2ac9f2,this[_0x3f8687(0x135)]());}[_0x607acc(0x135)](){const _0x1244cf=_0x607acc;this[_0x1244cf(0x174)][_0x1244cf(0x317)][_0x1244cf(0x30f)](_0xbb9ec1[_0x1244cf(0xec)](this[_0x1244cf(0x1ad)]),_0xbb9ec1[_0x1244cf(0x24b)](_0x2b4c7e=>{const _0x163d58=_0x1244cf;if(_0x2b4c7e){const _0x3b4e97=_0x2b4c7e[_0x163d58(0x1e6)];return _0x4a689b['combineLatest'](this[_0x163d58(0x16f)][_0x163d58(0x190)](this[_0x163d58(0x1f1)]['unitId']),this['_themeService'][_0x163d58(0x1e8)])['pipe'](_0xbb9ec1[_0x163d58(0x134)](([_0x2a16a9,_0x15dfe8])=>{const _0x1abc70=_0x163d58,_0x10b333=new Map();return _0x2a16a9[_0x1abc70(0x284)]((_0xd455d0,_0x49a52b)=>{const _0x5a0bb9=_0x1abc70;if(_0xd455d0[_0x5a0bb9(0xce)]===_0x3b4e97){const _0x53e678={..._0xd455d0};_0x53e678['color']=this[_0x5a0bb9(0x20a)][_0x5a0bb9(0x23a)](_0xd455d0[_0x5a0bb9(0x290)]),_0x10b333[_0x5a0bb9(0x264)](_0x49a52b,_0x53e678);}}),{'skeleton':_0x2b4c7e,'cursors':_0x10b333};}));}return _0x4a689b['of']({'skeleton':null,'cursors':new Map()});}))[_0x1244cf(0x10d)](({skeleton:_0x1a0629,cursors:_0xdffb10})=>{const _0x2fbcfb=_0x1244cf;this[_0x2fbcfb(0x1c1)](),_0x1a0629&&this[_0x2fbcfb(0x14f)](_0x1a0629,_0xdffb10);}),this[_0x1244cf(0x174)][_0x1244cf(0x317)]['subscribe'](_0x436e80=>{const _0x37b735=_0x1244cf;if(_0x436e80==null)return;const {skeleton:_0x5827a5}=_0x436e80,{scene:_0x2f850b}=this[_0x37b735(0x1f1)];_0x2f850b[_0x37b735(0x325)][_0x37b735(0x1a8)](_0x327729[_0x37b735(0x164)](_0x38476b=>{const _0x386d74=_0x37b735;var _0x229e51,_0x4710f4;const {offsetX:_0x54542b,offsetY:_0x3ec24a}=_0x38476b,{x:_0xc71634,y:_0x49c133}=_0x2f850b['getRelativeToViewportCoord'](_0x19e16c['Vector2'][_0x386d74(0x1cb)]([_0x54542b,_0x3ec24a])),{scaleX:_0x4614e1,scaleY:_0x533148}=_0x2f850b[_0x386d74(0x241)](),_0x80a076=_0x2f850b[_0x386d74(0x1a9)](_0x19e16c[_0x386d74(0xe1)]['VIEW_MAIN']),_0x18e9d2=_0x2f850b[_0x386d74(0xc2)](_0x19e16c[_0x386d74(0x1f6)][_0x386d74(0x1cb)]([_0xc71634,_0x49c133]),_0x80a076),_0x3f6035=_0x5827a5[_0x386d74(0x286)](_0x54542b,_0x3ec24a,_0x4614e1,_0x533148,_0x18e9d2);((_0x229e51=this[_0x386d74(0x2fa)])==null?void 0x0:_0x229e51[_0x386d74(0x1c0)])===_0x3f6035[_0x386d74(0x1c0)]&&((_0x4710f4=this['_lastPointer'])==null?void 0x0:_0x4710f4[_0x386d74(0x224)])===_0x3f6035['row']||this[_0x386d74(0x16b)][_0x386d74(0x284)](_0xbd3446=>{const _0x57a042=_0x386d74;_0xbd3446[_0x57a042(0xd3)](_0x3f6035);});},0x64));});}[_0x607acc(0x14f)](_0x430b2f,_0x3fbda4){const _0x3c4167=_0x607acc;var _0x19d8a5;const _0x27d98b=(_0x19d8a5=this[_0x3c4167(0x174)][_0x3c4167(0x1ba)]())==null?void 0x0:_0x19d8a5[_0x3c4167(0x2db)];if(!_0x27d98b)return;const _0x1c5ce0=this[_0x3c4167(0x225)]();if(!_0x1c5ce0)return;this[_0x3c4167(0x16b)][_0x3c4167(0x284)](_0x1353a4=>{const _0x346bcc=_0x3c4167;_0x1353a4[_0x346bcc(0x2a9)]();});const {scene:_0x588e90}=_0x1c5ce0,_0x57d797=_0x129c87(Array[_0x3c4167(0x216)](_0x3fbda4[_0x3c4167(0xbf)]()))['map'](_0x2391c7=>{const _0x359e6c=_0x3c4167,{color:_0x439915,range:_0x48a63e,name:_0x51456a,selection:_0x49a964,sheetID:_0x5128aa}=_0x2391c7,{startColumn:_0x59a0e1,startRow:_0x564d91,endColumn:_0x3a85a6,endRow:_0x5ed89a}=_0x48a63e,_0x1560cc=_0x4bc061[_0x359e6c(0x218)](_0x564d91,_0x59a0e1,_0x588e90,_0x27d98b),_0x2b9ec4=_0x4bc061[_0x359e6c(0x218)](_0x5ed89a,_0x3a85a6,_0x588e90,_0x27d98b),{columnHeaderHeightAndMarginTop:_0x2d8fe7}=_0x27d98b,{startX:_0x253ad9,startY:_0x3447e4}=_0x1560cc,{endX:_0x41cffe,endY:_0x1bad1d}=_0x2b9ec4,_0x30cfe8=_0x41cffe-_0x253ad9,_0xda1b15=_0x1bad1d-_0x3447e4,_0xb850b4={'labelPosition':_0x3447e4-_0x2d8fe7>=_0x836d21?_0x359e6c(0x24e):'bottom','sheetID':_0x5128aa,'range':_0x48a63e,'color':_0x439915,'name':_0x51456a,'selection':_0x49a964,'left':_0x253ad9,'top':_0x3447e4,'width':_0x30cfe8,'height':_0xda1b15,'evented':!0x1,'zIndex':_0x586597};return new _0xdf647a(_0x51456a,_0xb850b4);});_0x588e90[_0x3c4167(0x214)](_0x57d797,_0x53cfb2),this['_cursors']=new Set(_0x57d797);}['_removeCollabCursors'](){const _0x1f071a=_0x607acc;var _0x31d986;(_0x31d986=this[_0x1f071a(0x16b)])==null||_0x31d986[_0x1f071a(0x284)](_0x49c7c0=>_0x49c7c0[_0x1f071a(0x185)]());}['_getSheetObject'](){const _0x580350=_0x607acc;return _0x4bc061[_0x580350(0xf3)](this[_0x580350(0x1f1)][_0x580350(0xe5)],this[_0x580350(0x1f1)]);}};_0x2ee156=_0x2851a9([_0x3b4421(0x1,_0x327729[_0x607acc(0x1cc)](_0x4bc061[_0x607acc(0x1bc)])),_0x3b4421(0x2,_0x327729['Inject'](_0x4dc4bf)),_0x3b4421(0x3,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x155)]))],_0x2ee156);function _0x129c87(_0x5d780a){const _0x21b3ad=_0x607acc,_0x31ee8a=new Map();return _0x5d780a[_0x21b3ad(0x284)](_0x48a598=>{const _0xc88ec7=_0x21b3ad;if(_0x31ee8a['has'](_0x48a598['selection'])){const _0x342954=_0x31ee8a[_0xc88ec7(0x1e4)](_0x48a598['selection']);_0x342954[_0xc88ec7(0x24d)]+=',\x20'+_0x48a598[_0xc88ec7(0x24d)];}else _0x31ee8a[_0xc88ec7(0x264)](_0x48a598[_0xc88ec7(0x121)],_0x48a598);}),Array[_0x21b3ad(0x216)](_0x31ee8a[_0x21b3ad(0xbf)]());}var _0x569918=function(){const _0x36b8e5=_0x607acc;return _0x569918=Object[_0x36b8e5(0x1da)]||function(_0x4b222f){const _0x4181b2=_0x36b8e5;for(var _0x490e5f,_0x55baa0=0x1,_0x1012cb=arguments[_0x4181b2(0x304)];_0x55baa0<_0x1012cb;_0x55baa0++){_0x490e5f=arguments[_0x55baa0];for(var _0x583e76 in _0x490e5f)Object[_0x4181b2(0x124)]['hasOwnProperty'][_0x4181b2(0x306)](_0x490e5f,_0x583e76)&&(_0x4b222f[_0x583e76]=_0x490e5f[_0x583e76]);}return _0x4b222f;},_0x569918[_0x36b8e5(0x188)](this,arguments);},_0x13bc25=function(_0x54c832,_0x3c0584){const _0x5bc4fa=_0x607acc;var _0x15fd6c={};for(var _0x1753e2 in _0x54c832)Object['prototype'][_0x5bc4fa(0x28b)]['call'](_0x54c832,_0x1753e2)&&_0x3c0584[_0x5bc4fa(0x194)](_0x1753e2)<0x0&&(_0x15fd6c[_0x1753e2]=_0x54c832[_0x1753e2]);if(_0x54c832!=null&&typeof Object[_0x5bc4fa(0x1e0)]=='function'){for(var _0x3d10d6=0x0,_0x1753e2=Object[_0x5bc4fa(0x1e0)](_0x54c832);_0x3d10d6<_0x1753e2[_0x5bc4fa(0x304)];_0x3d10d6++)_0x3c0584[_0x5bc4fa(0x194)](_0x1753e2[_0x3d10d6])<0x0&&Object[_0x5bc4fa(0x124)][_0x5bc4fa(0x31b)][_0x5bc4fa(0x306)](_0x54c832,_0x1753e2[_0x3d10d6])&&(_0x15fd6c[_0x1753e2[_0x3d10d6]]=_0x54c832[_0x1753e2[_0x3d10d6]]);}return _0x15fd6c;},_0x2da740=_0x5d517a[_0x607acc(0x139)](function(_0x39ae48,_0x2a4f96){const _0x31961b=_0x607acc;var _0x43902d=_0x39ae48['icon'],_0x480f4b=_0x39ae48['id'],_0x5f0d2e=_0x39ae48[_0x31961b(0x18f)],_0x1ce877=_0x39ae48[_0x31961b(0x203)],_0x2020de=_0x13bc25(_0x39ae48,[_0x31961b(0xf1),'id','className',_0x31961b(0x203)]),_0x3f6e43='univerjs-icon\x20univerjs-icon-'['concat'](_0x480f4b,'\x20')[_0x31961b(0x152)](_0x5f0d2e||'')['trim'](),_0x3ff8ea=_0x5d517a[_0x31961b(0x2f0)]('_'[_0x31961b(0x152)](_0x2ea06e()));return _0x48486c(_0x43902d,''[_0x31961b(0x152)](_0x480f4b),{'defIds':_0x43902d[_0x31961b(0x25f)],'idSuffix':_0x3ff8ea['current']},_0x569918({'ref':_0x2a4f96,'className':_0x3f6e43},_0x2020de),_0x1ce877);});function _0x48486c(_0x6359d5,_0x2cf3ad,_0x243d49,_0x6ffdee,_0x2c6994){const _0x404007=_0x607acc;return _0x5d517a[_0x404007(0x2e3)](_0x6359d5[_0x404007(0x289)],_0x569918(_0x569918({'key':_0x2cf3ad},_0x56b2cb(_0x6359d5,_0x243d49,_0x2c6994)),_0x6ffdee),(_0x890d0e(_0x6359d5,_0x243d49)[_0x404007(0x99)]||[])[_0x404007(0x134)](function(_0x186208,_0x1d1d23){const _0x3e4e64=_0x404007;return _0x48486c(_0x186208,''[_0x3e4e64(0x152)](_0x2cf3ad,'-')[_0x3e4e64(0x152)](_0x6359d5[_0x3e4e64(0x289)],'-')['concat'](_0x1d1d23),_0x243d49,void 0x0,_0x2c6994);}));}function _0x56b2cb(_0x113a40,_0x2b65fe,_0xdd235){const _0xc474b0=_0x607acc;var _0x211b5e=_0x569918({},_0x113a40['attrs']);_0xdd235!=null&&_0xdd235[_0xc474b0(0x1ec)]&&_0x211b5e[_0xc474b0(0x18d)]===_0xc474b0(0x1ec)&&(_0x211b5e[_0xc474b0(0x18d)]=_0xdd235[_0xc474b0(0x1ec)]),_0x113a40[_0xc474b0(0x289)]===_0xc474b0(0x206)&&_0x211b5e['id']&&(_0x211b5e['id']=_0x211b5e['id']+_0x2b65fe['idSuffix']),Object['entries'](_0x211b5e)['forEach'](function(_0x23e6f2){const _0x3b6939=_0xc474b0;var _0x2f0090=_0x23e6f2[0x0],_0x279013=_0x23e6f2[0x1];_0x2f0090===_0x3b6939(0x206)&&typeof _0x279013=='string'&&(_0x211b5e[_0x2f0090]=_0x279013[_0x3b6939(0x26c)](/url\(#(.*)\)/,_0x3b6939(0x212)['concat'](_0x2b65fe[_0x3b6939(0x2b6)],')')));});var _0x1ff271=_0x2b65fe[_0xc474b0(0x25f)];return!_0x1ff271||_0x1ff271[_0xc474b0(0x304)]===0x0||(_0x113a40[_0xc474b0(0x289)]===_0xc474b0(0x162)&&_0x211b5e['xlink:href']&&(_0x211b5e['xlink:href']=_0x211b5e['xlink:href']+_0x2b65fe[_0xc474b0(0x2b6)]),Object[_0xc474b0(0x147)](_0x211b5e)[_0xc474b0(0x284)](function(_0x110fe0){const _0x2acf87=_0xc474b0;var _0x20dfcb=_0x110fe0[0x0],_0x276482=_0x110fe0[0x1];typeof _0x276482==_0x2acf87(0x177)&&(_0x211b5e[_0x20dfcb]=_0x276482[_0x2acf87(0x26c)](/url\(#(.*)\)/,_0x2acf87(0x212)['concat'](_0x2b65fe['idSuffix'],')')));})),_0x211b5e;}function _0x890d0e(_0x1e48e0,_0x3fe25e){const _0xa493da=_0x607acc;var _0x2d6411,_0x33f0a5=_0x3fe25e['defIds'];return!_0x33f0a5||_0x33f0a5[_0xa493da(0x304)]===0x0?_0x1e48e0:_0x1e48e0[_0xa493da(0x289)]===_0xa493da(0x312)&&(!((_0x2d6411=_0x1e48e0[_0xa493da(0x99)])===null||_0x2d6411===void 0x0)&&_0x2d6411[_0xa493da(0x304)])?_0x569918(_0x569918({},_0x1e48e0),{'children':_0x1e48e0[_0xa493da(0x99)][_0xa493da(0x134)](function(_0x1a3065){const _0x4e448e=_0xa493da;return typeof _0x1a3065['attrs']['id']==_0x4e448e(0x177)&&_0x33f0a5&&_0x33f0a5[_0x4e448e(0x2c6)](_0x1a3065[_0x4e448e(0x1f3)]['id'])?_0x569918(_0x569918({},_0x1a3065),{'attrs':_0x569918(_0x569918({},_0x1a3065[_0x4e448e(0x1f3)]),{'id':_0x1a3065[_0x4e448e(0x1f3)]['id']+_0x3fe25e[_0x4e448e(0x2b6)]})}):_0x1a3065;})}):_0x1e48e0;}function _0x2ea06e(){const _0x3c9e63=_0x607acc;return Math[_0x3c9e63(0x2cf)]()[_0x3c9e63(0x2ba)](0x24)[_0x3c9e63(0xf2)](0x2,0x8);}_0x2da740[_0x607acc(0x280)]=_0x607acc(0x2ab);var _0x208915={'tag':_0x607acc(0xf9),'attrs':{'xmlns':_0x607acc(0x179),'fill':_0x607acc(0x2c0),'viewBox':'0\x200\x2016\x2016','width':_0x607acc(0x2e9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x607acc(0x14b)},'children':[{'tag':'path','attrs':{'stroke':_0x607acc(0x219),'d':_0x607acc(0x247),'strokeLinecap':_0x607acc(0x2c9),'strokeLinejoin':_0x607acc(0x2c9),'strokeWidth':1.2}}]},{'tag':_0x607acc(0x312),'attrs':{},'children':[{'tag':_0x607acc(0x15d),'attrs':{'id':_0x607acc(0x262)},'children':[{'tag':_0x607acc(0x23c),'attrs':{'fill':_0x607acc(0x1ac),'d':_0x607acc(0xab)}}]}]}],'defIds':[_0x607acc(0x262)]},_0xc1ff51=_0x5d517a[_0x607acc(0x139)](function(_0xfcc96e,_0x1d21d6){const _0x46c794=_0x607acc;return _0x5d517a[_0x46c794(0x2e3)](_0x2da740,Object[_0x46c794(0x1da)]({},_0xfcc96e,{'id':_0x46c794(0x17d),'ref':_0x1d21d6,'icon':_0x208915}));});_0xc1ff51[_0x607acc(0x280)]='OffLineIcon';var _0x46ec1f={'tag':_0x607acc(0xf9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x607acc(0x2ca),'width':_0x607acc(0x2e9),'height':_0x607acc(0x2e9)},'children':[{'tag':'g','attrs':{'clipPath':_0x607acc(0x1a6)},'children':[{'tag':_0x607acc(0x23c),'attrs':{'stroke':_0x607acc(0x219),'d':_0x607acc(0x171),'strokeLinecap':'round','strokeLinejoin':_0x607acc(0x2c9),'strokeWidth':1.2}}]},{'tag':_0x607acc(0x312),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x607acc(0xa0)},'children':[{'tag':_0x607acc(0x23c),'attrs':{'fill':'white','d':_0x607acc(0xab),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x22c062=_0x5d517a['forwardRef'](function(_0x47ecc4,_0x374d63){const _0x490291=_0x607acc;return _0x5d517a[_0x490291(0x2e3)](_0x2da740,Object['assign']({},_0x47ecc4,{'id':_0x490291(0x253),'ref':_0x374d63,'icon':_0x46ec1f}));});_0x22c062['displayName']=_0x607acc(0xd4);function _0x261076(_0x1b9e3b){const _0x23b4b3=_0x607acc;switch(_0x1b9e3b){case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x104)]:return _0x23b4b3(0x1ce);case _0x106dd7['CollaborationStatus'][_0x23b4b3(0x236)]:return _0x23b4b3(0x197);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x9c)]:return _0x23b4b3(0x31a);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x120)]:return _0x23b4b3(0x245);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x19d)]:case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x1d9)]:return _0x23b4b3(0x204);case _0x106dd7[_0x23b4b3(0x12d)][_0x23b4b3(0x314)]:case _0x106dd7['CollaborationStatus'][_0x23b4b3(0x249)]:return _0x23b4b3(0x2a2);}}function _0x12c585(_0x1b446e){const _0x480cfa=_0x607acc,{status$:_0xb82dbe}=_0x1b446e,_0x12f5fc=_0x1eafc9['useObservable'](_0xb82dbe,_0x106dd7['CollaborationStatus'][_0x480cfa(0x120)]),_0x3d2e5b=_0x1eafc9['useDependency'](_0x327729[_0x480cfa(0x2c3)]),_0x175df7=_0x1eafc9['useDependency'](_0x106dd7[_0x480cfa(0x1de)]),_0x2bfacb=_0x12f5fc!==_0x106dd7['CollaborationStatus'][_0x480cfa(0x104)],_0x34f151=_0x3d2e5b['t'](_0x261076(_0x12f5fc)),_0x44441a=_0x2bfacb?_0x1dfa0c[_0x480cfa(0x308)](_0x22c062,{}):_0x1dfa0c[_0x480cfa(0x308)](_0xc1ff51,{}),_0x488f04=_0x5d517a[_0x480cfa(0x21b)](()=>{const _0x2cae97=_0x480cfa;_0x2bfacb||_0x175df7[_0x2cae97(0x24c)]();},[_0x2bfacb,_0x175df7]);function _0x4a9e46(){const _0x5ee47c=_0x480cfa;return _0x1dfa0c[_0x5ee47c(0xd0)](_0x5ee47c(0x279),{'className':_0x5ee47c(0x1fb),'onClick':_0x488f04,'children':[_0x1dfa0c[_0x5ee47c(0x308)](_0x5ee47c(0x279),{'className':_0x4fad06[_0x5ee47c(0x98)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2bfacb,'univer-text-red-500':!_0x2bfacb}),'children':_0x44441a}),_0x1dfa0c['jsx'](_0x5ee47c(0x279),{'className':_0x5ee47c(0x2cd),'children':_0x34f151})]});}return _0x2bfacb?_0x4a9e46():_0x1dfa0c['jsx'](_0x4fad06[_0x480cfa(0x278)],{'title':_0x3d2e5b['t'](_0x480cfa(0x2bd)),'children':_0x4a9e46()});}var _0x5da480=Object['getOwnPropertyDescriptor'],_0x46d961=(_0x2129e3,_0x5bf7dd,_0x2f883b,_0x59e2fa)=>{const _0xaa010b=_0x607acc;for(var _0x4a5be7=_0x59e2fa>0x1?void 0x0:_0x59e2fa?_0x5da480(_0x5bf7dd,_0x2f883b):_0x5bf7dd,_0x56a19c=_0x2129e3[_0xaa010b(0x304)]-0x1,_0x172bda;_0x56a19c>=0x0;_0x56a19c--)(_0x172bda=_0x2129e3[_0x56a19c])&&(_0x4a5be7=_0x172bda(_0x4a5be7)||_0x4a5be7);return _0x4a5be7;},_0x2bd8c=(_0x26392f,_0x23e65a)=>(_0xd04196,_0x39d796)=>_0x23e65a(_0xd04196,_0x39d796,_0x26392f);_0x54a1e0[_0x607acc(0xd7)]=class extends _0x327729['Disposable']{constructor(_0x314c02,_0x42bc98,_0x3d300f,_0x143a02){const _0x26af47=_0x607acc;super(),_0x338777(this,_0x26af47(0x2b3),new _0x4a689b[(_0x26af47(0xa9))](_0x106dd7[_0x26af47(0x12d)][_0x26af47(0x120)])),(this[_0x26af47(0x2c5)]=_0x314c02,this['_injector']=_0x42bc98,this['_collaborationController']=_0x3d300f,this[_0x26af47(0xa1)]=_0x143a02,this[_0x26af47(0x148)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x340726=_0x607acc;this[_0x340726(0xb8)](this[_0x340726(0x2c5)]['focused$'][_0x340726(0x30f)](_0x4a689b[_0x340726(0x24b)](()=>{const _0x552a76=_0x340726,_0x18e9d0=this[_0x552a76(0x2c5)][_0x552a76(0xff)]();return _0x18e9d0?this[_0x552a76(0x2d0)][_0x552a76(0xaa)](_0x18e9d0[_0x552a76(0x309)]()):_0x4a689b['of'](null);}),_0x4a689b['switchMap'](_0x507f7c=>_0x507f7c?_0x507f7c[_0x340726(0x25e)]:_0x4a689b['of'](_0x106dd7['CollaborationStatus'][_0x340726(0x120)])))[_0x340726(0x10d)](_0x2b66e0=>{const _0x5557ff=_0x340726;this[_0x5557ff(0x2b3)][_0x5557ff(0x1dd)](_0x2b66e0);}));}[_0x607acc(0x148)](){const _0x153232=_0x607acc;this[_0x153232(0xb8)](this['_uiPartsService'][_0x153232(0x18e)](_0x1eafc9[_0x153232(0x2e4)][_0x153232(0x16d)],()=>_0x1eafc9[_0x153232(0x316)](_0x38e21e({'status$':this[_0x153232(0x2b3)][_0x153232(0x310)]()}),this[_0x153232(0x170)])));}},_0x54a1e0['DesktopCollaborationStatusDisplayController']=_0x46d961([_0x2bd8c(0x0,_0x327729['IUniverInstanceService']),_0x2bd8c(0x1,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x2bd8c(0x2,_0x327729[_0x607acc(0x1cc)](_0x106dd7[_0x607acc(0xae)])),_0x2bd8c(0x3,_0x1eafc9[_0x607acc(0x145)])],_0x54a1e0[_0x607acc(0xd7)]);function _0x38e21e(_0x5c1943){const {status$:_0x32b340}=_0x5c1943;return function(){const _0x55580d=_0x3c3b;return _0x1dfa0c[_0x55580d(0x308)](_0x12c585,{'status$':_0x32b340});};}var _0x4ccc78=Object['getOwnPropertyDescriptor'],_0x3a723a=(_0x1b03c2,_0x14b21a,_0x1edeb3,_0x42dbb9)=>{const _0x423028=_0x607acc;for(var _0x216bc6=_0x42dbb9>0x1?void 0x0:_0x42dbb9?_0x4ccc78(_0x14b21a,_0x1edeb3):_0x14b21a,_0x3d68a6=_0x1b03c2[_0x423028(0x304)]-0x1,_0x48228e;_0x3d68a6>=0x0;_0x3d68a6--)(_0x48228e=_0x1b03c2[_0x3d68a6])&&(_0x216bc6=_0x48228e(_0x216bc6)||_0x216bc6);return _0x216bc6;},_0x5b880b=(_0x6ec28e,_0x21a571)=>(_0x27eac2,_0x4f7863)=>_0x21a571(_0x27eac2,_0x4f7863,_0x6ec28e);let _0x2ffb89=class extends _0x327729[_0x607acc(0x22f)]{constructor(_0x3436c9,_0x36bcfb,_0x237680,_0x48e209,_0x56dafb,_0x4f8955){const _0x2b51d=_0x607acc;super(),this[_0x2b51d(0x222)]=_0x3436c9,this[_0x2b51d(0xbc)]=_0x36bcfb,this[_0x2b51d(0x13b)]=_0x237680,this['_messageService']=_0x48e209,this[_0x2b51d(0x220)]=_0x56dafb,this['_localeService']=_0x4f8955,this[_0x2b51d(0xd6)](),this[_0x2b51d(0x1f5)]();}[_0x607acc(0xd6)](){const _0x28ba70=_0x607acc;this['disposeWithMe'](this[_0x28ba70(0x222)]['registerBeforeClose'](()=>{const _0x404b07=_0x28ba70;if(this['_localCacheService'][_0x404b07(0x103)][_0x404b07(0x1db)])return this['_localeService']['t'](_0x404b07(0x1b8));}));}[_0x607acc(0x1f5)](){const _0xffd49f=_0x607acc;this[_0xffd49f(0xb8)](this[_0xffd49f(0x13b)]['event$'][_0xffd49f(0x10d)](_0x881b56=>{const _0x40a472=_0xffd49f;_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x2d8)]&&this[_0x40a472(0x24f)][_0x40a472(0x172)]({'type':_0x4fad06[_0x40a472(0xc4)]['Warning'],'content':this[_0x40a472(0x1d1)]['t']('collaboration.single-unit.warning')}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x1b4)]&&this[_0x40a472(0x24f)]['show']({'type':_0x4fad06[_0x40a472(0xc4)][_0x40a472(0x2dc)],'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0x2fc))}),_0x881b56['id']===_0x106dd7['CollaborationUIEventId'][_0x40a472(0x267)]&&this['_notificationService'][_0x40a472(0x172)]({'title':this[_0x40a472(0x1d1)]['t']('permission.title'),'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0xb9)),'type':'error','duration':0x0}),_0x881b56['id']===_0x106dd7['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06['MessageType'][_0x40a472(0x23d)],'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0x2fc))+'('+_0x881b56['data']+')'}),_0x881b56['id']===_0x106dd7['CollaborationUIEventId'][_0x40a472(0x319)]&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06['MessageType'][_0x40a472(0x2dc)],'content':this['_localeService']['t'](_0x881b56[_0x40a472(0x2ef)]||'')}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x1c7)]&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06['MessageType'][_0x40a472(0x2dc)],'content':this[_0x40a472(0x1d1)]['t']('session.will-retry')}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0x105)]&&this['_messageService'][_0x40a472(0x172)]({'type':_0x4fad06[_0x40a472(0xc4)]['Error'],'content':this[_0x40a472(0x1d1)]['t'](_0x40a472(0x237))}),_0x881b56['id']===_0x106dd7[_0x40a472(0x2a0)][_0x40a472(0xc5)]&&this[_0x40a472(0x24f)][_0x40a472(0x172)]({'type':_0x4fad06[_0x40a472(0xc4)][_0x40a472(0x23d)],'content':this['_localeService']['t'](_0x40a472(0x276))});}));}};_0x2ffb89=_0x3a723a([_0x5b880b(0x0,_0x1eafc9[_0x607acc(0x19a)]),_0x5b880b(0x1,_0x106dd7['ILocalCacheService']),_0x5b880b(0x2,_0x327729[_0x607acc(0x1cc)](_0x106dd7[_0x607acc(0x23b)])),_0x5b880b(0x3,_0x1eafc9[_0x607acc(0x10a)]),_0x5b880b(0x4,_0x1eafc9[_0x607acc(0x227)]),_0x5b880b(0x5,_0x327729[_0x607acc(0x1cc)](_0x327729['LocaleService']))],_0x2ffb89);const _0x167d12=_0x607acc(0x136),_0x33c385={},_0x4bc93e=_0x327729[_0x607acc(0x2ae)](_0x607acc(0x1e1));var _0x1fafa9=Object[_0x607acc(0x30e)],_0x105ef0=(_0x7fc01,_0x4f33ed,_0x2d9c71,_0x254d34)=>{for(var _0x94cbc6=_0x254d34>0x1?void 0x0:_0x254d34?_0x1fafa9(_0x4f33ed,_0x2d9c71):_0x4f33ed,_0x32b442=_0x7fc01['length']-0x1,_0x5efc8a;_0x32b442>=0x0;_0x32b442--)(_0x5efc8a=_0x7fc01[_0x32b442])&&(_0x94cbc6=_0x5efc8a(_0x94cbc6)||_0x94cbc6);return _0x94cbc6;},_0x9d791f=(_0x27c234,_0xd317d5)=>(_0x249ce0,_0x53e49a)=>_0xd317d5(_0x249ce0,_0x53e49a,_0x27c234);_0x54a1e0[_0x607acc(0x10e)]=class extends _0x327729[_0x607acc(0x1c4)]{constructor(_0x1e2b8a,_0x18218f,_0x5c01f5,_0x5b0704,_0x2b7c9b){const _0x135579=_0x607acc;super(),this[_0x135579(0x15a)]=_0x1e2b8a,this[_0x135579(0x1a7)]=_0x18218f,this['_commandService']=_0x5c01f5,this[_0x135579(0x9e)]=_0x5b0704,_0x2b7c9b?_0x2b7c9b==null||_0x2b7c9b[_0x135579(0x2a5)]()[_0x135579(0x209)](()=>this['_init']()):(this[_0x135579(0x1a7)][_0x135579(0x9b)](_0x135579(0x2d9),_0x135579(0x2e8)),this[_0x135579(0x135)]());}async[_0x607acc(0x135)](){const _0x21eb87=_0x607acc,_0x1186d3=this[_0x21eb87(0x15a)]['getParam'](_0x21eb87(0xe5)),_0x49dc83=this['_urlService'][_0x21eb87(0x1d7)](_0x21eb87(0x1a0)),_0x119ffa=this[_0x21eb87(0x15a)][_0x21eb87(0x1d7)](_0x21eb87(0xb0));if(!_0x1186d3||!_0x49dc83){this[_0x21eb87(0x1a7)][_0x21eb87(0x9b)](_0x21eb87(0x2d9),_0x21eb87(0xac));return;}const _0x109296=await this[_0x21eb87(0x9e)][_0x21eb87(0x29a)](_0x1186d3,Number(_0x49dc83),_0x119ffa);_0x109296&&_0x109296 instanceof _0x327729[_0x21eb87(0x1fc)]&&this[_0x21eb87(0x117)](_0x109296);}async[_0x607acc(0x117)](_0x525501){const _0xd5a01f=_0x607acc;await this[_0xd5a01f(0x114)](_0x525501),_0x525501[_0xd5a01f(0x1d5)]['pipe'](_0x4a689b[_0xd5a01f(0xec)](this['dispose$']))['subscribe'](_0x3188b0=>{const _0x34d4f7=_0xd5a01f;_0x3188b0&&this[_0x34d4f7(0x1fd)](_0x3188b0);}),this[_0xd5a01f(0x15a)][_0xd5a01f(0x2df)][_0xd5a01f(0x30f)](_0x4a689b[_0xd5a01f(0xec)](this['dispose$']))[_0xd5a01f(0x10d)](()=>this['_updateSubUnitFromURLParams'](_0x525501));}['_updateURLWithCurrentState'](_0x1c4637,_0x4d4637=!0x1){const _0x560a05=_0x607acc,_0x8a7371=this['_urlService'][_0x560a05(0x1d7)](_0x560a05(0xb0));_0x1c4637['getSheetId']()!==_0x8a7371&&this[_0x560a05(0x15a)][_0x560a05(0xef)](_0x560a05(0xb0),_0x1c4637[_0x560a05(0x25b)](),_0x4d4637);}async[_0x607acc(0x114)](_0x3357f5){const _0x1b4fbb=_0x607acc;var _0x673a90;const _0x403aca=this[_0x1b4fbb(0x15a)][_0x1b4fbb(0x1d7)]('subunit');if(!_0x403aca||!_0x3357f5['getSheetBySheetId'](_0x403aca)){const _0x5b4932=_0x3357f5[_0x1b4fbb(0x27d)]()[0x0],_0x286311=_0x3357f5[_0x1b4fbb(0x2c1)](_0x5b4932);if(!_0x286311)return;this['_updateURLWithCurrentState'](_0x286311,!0x0),await this[_0x1b4fbb(0x1fe)]['executeCommand'](_0xf4e447[_0x1b4fbb(0x112)]['id'],{'unitId':_0x3357f5['getUnitId'](),'subUnitId':_0x5b4932});return;}((_0x673a90=_0x3357f5[_0x1b4fbb(0x297)]())==null?void 0x0:_0x673a90[_0x1b4fbb(0x25b)]())!==_0x403aca&&await this[_0x1b4fbb(0x1fe)][_0x1b4fbb(0xd9)](_0xf4e447['SetWorksheetActivateCommand']['id'],{'unitId':_0x3357f5[_0x1b4fbb(0x309)](),'subUnitId':_0x403aca});}},_0x54a1e0[_0x607acc(0x10e)]=_0x105ef0([_0x9d791f(0x0,_0x4bc93e),_0x9d791f(0x1,_0x327729[_0x607acc(0xfe)]),_0x9d791f(0x2,_0x327729[_0x607acc(0x2eb)]),_0x9d791f(0x3,_0x327729[_0x607acc(0x1cc)](_0x106dd7['DataLoaderService'])),_0x9d791f(0x4,_0x327729['Optional'](_0x76fef8['IRemoteInstanceService']))],_0x54a1e0[_0x607acc(0x10e)]);var _0x1479c7=Object[_0x607acc(0x30e)],_0x43ce1a=(_0x4e911d,_0x2ee6cd,_0x4de26c,_0x321d90)=>{const _0x214818=_0x607acc;for(var _0x5bf153=_0x321d90>0x1?void 0x0:_0x321d90?_0x1479c7(_0x2ee6cd,_0x4de26c):_0x2ee6cd,_0x3db76d=_0x4e911d[_0x214818(0x304)]-0x1,_0x4dca8d;_0x3db76d>=0x0;_0x3db76d--)(_0x4dca8d=_0x4e911d[_0x3db76d])&&(_0x5bf153=_0x4dca8d(_0x5bf153)||_0x5bf153);return _0x5bf153;},_0x296d64=(_0x6bda02,_0x3fdae6)=>(_0x570a7b,_0x1d01d6)=>_0x3fdae6(_0x570a7b,_0x1d01d6,_0x6bda02);let _0xb1a5f=class{constructor(_0x36d720,_0xd694a8,_0x47bdcd){const _0x35ee4c=_0x607acc;this[_0x35ee4c(0x170)]=_0x36d720,this['_transformService']=_0xd694a8,this[_0x35ee4c(0x122)]=_0x47bdcd;}[_0x607acc(0x21a)](_0x4aa55a){const _0x519ffe=_0x607acc;this[_0x519ffe(0x18a)](_0x4aa55a),this[_0x519ffe(0x16c)](_0x4aa55a);}[_0x607acc(0x277)](_0x4bf7fb){const _0x26cf2d=_0x607acc,{unitID:_0x4e76b8}=_0x4bf7fb,_0xa91039=this[_0x26cf2d(0x122)][_0x26cf2d(0x229)](_0x4e76b8)[_0x26cf2d(0x26f)](_0x88e369[_0x26cf2d(0xe0)]),{redoCache:_0x48b781}=_0xa91039['getUndoRedoMutationParamsCache']();if(_0x48b781[_0x26cf2d(0x304)]===0x0)return _0x4bf7fb;let _0x4a6f83=_0x327729[_0x26cf2d(0x11c)][_0x26cf2d(0xe4)](_0x4bf7fb[_0x26cf2d(0x1cf)][0x0]);for(let _0xfbd6f2=0x0;_0xfbd6f2<_0x48b781[_0x26cf2d(0x304)];_0xfbd6f2++){const _0x3eed10={'id':_0x26cf2d(0x27f),'params':{..._0x48b781[_0xfbd6f2]}},_0x36cca9=this[_0x26cf2d(0x305)][_0x26cf2d(0x320)](_0x4a6f83,_0x3eed10,!0x1);if(_0x4ac0c0[_0x26cf2d(0xaf)](_0x36cca9))throw _0x36cca9[_0x26cf2d(0x1a4)];_0x4a6f83=_0x36cca9[_0x26cf2d(0x221)];}return{..._0x327729[_0x26cf2d(0x11c)]['deepClone'](_0x4bf7fb),'mutations':[_0x4a6f83]};}[_0x607acc(0x18a)](_0x1834cb){const _0x4c9244=_0x607acc,{unitID:_0x320ad1}=_0x1834cb,_0x182553=this['_renderManagerService']['getRenderById'](_0x320ad1)[_0x4c9244(0x26f)](_0x88e369[_0x4c9244(0xe0)]),{undoCache:_0xae9763,redoCache:_0x26a72b}=_0x182553[_0x4c9244(0x2a1)]();if(_0xae9763['length']===0x0||_0x26a72b[_0x4c9244(0x304)]===0x0)return;const _0x3e5547=[],_0x453839=[];let _0x3aec58=_0x327729[_0x4c9244(0x11c)]['deepClone'](_0x1834cb[_0x4c9244(0x1cf)][0x0]),_0x1e835b=_0x327729[_0x4c9244(0x11c)][_0x4c9244(0xe4)](_0x1834cb[_0x4c9244(0x1cf)][0x0]);for(let _0x51625d=_0xae9763[_0x4c9244(0x304)]-0x1;_0x51625d>=0x0;_0x51625d--){const _0x13e87b={'id':_0x4c9244(0x27f),'params':{..._0xae9763[_0x51625d]}},_0x8314b1={'id':_0x4c9244(0x27f),'params':{..._0x26a72b[_0x51625d]}},_0x4aff16=this[_0x4c9244(0x305)]['transformMutation'](_0x3aec58,_0x13e87b,!0x1),_0x164a93=this[_0x4c9244(0x305)]['transformMutation'](_0x1e835b,_0x8314b1,!0x1);if(_0x4ac0c0['isTransformMutationFailure'](_0x4aff16))throw _0x4aff16[_0x4c9244(0x1a4)];if(_0x4ac0c0[_0x4c9244(0xaf)](_0x164a93))throw _0x164a93['error'];_0x3e5547[_0x4c9244(0x2b1)](_0x4aff16[_0x4c9244(0x1be)]['params']),_0x453839[_0x4c9244(0x2b1)](_0x164a93['m2Prime']['params']),_0x3aec58=_0x4aff16[_0x4c9244(0x221)],_0x1e835b=_0x164a93['m1Prime'];}_0x182553[_0x4c9244(0xa2)]({'undoCache':_0x3e5547,'redoCache':_0x453839});}['_transformPreviousActiveRange'](_0x4d7972){const _0x3dca76=_0x607acc,{unitID:_0x2f2c52}=_0x4d7972,_0x5a6cf6=this[_0x3dca76(0x122)]['getRenderById'](_0x2f2c52)[_0x3dca76(0x26f)](_0x88e369[_0x3dca76(0xe0)]),_0x5cc0f3=_0x5a6cf6[_0x3dca76(0x137)]();if(_0x5cc0f3==null)return;const _0x1a6fbe=[{'id':_0x3dca76(0x27f),'params':{'unitId':_0x4d7972[_0x3dca76(0x1d3)],'actions':null,'textRanges':[_0x5cc0f3]}}],_0x300949=this[_0x3dca76(0x305)]['transformMutationsWithChangeset'](_0x4d7972,_0x1a6fbe);if(!_0x4ac0c0['isTransformMutationsWithChangesetSuccess'](_0x300949))throw _0x300949[_0x3dca76(0x1a4)];const _0x355c96=_0x300949[_0x3dca76(0x1be)][0x0]['params'][_0x3dca76(0xf0)];Array[_0x3dca76(0x12b)](_0x355c96)&&_0x355c96[_0x3dca76(0x304)]&&_0x5a6cf6[_0x3dca76(0x25c)](_0x355c96[0x0]);}};_0xb1a5f=_0x43ce1a([_0x296d64(0x0,_0x327729[_0x607acc(0x1cc)](_0x327729['Injector'])),_0x296d64(0x1,_0x4ac0c0[_0x607acc(0x130)]),_0x296d64(0x2,_0x19e16c[_0x607acc(0x2f5)])],_0xb1a5f);var _0x5b0b28=Object['getOwnPropertyDescriptor'],_0x5ec2bd=(_0x427883,_0x470923,_0x3a934a,_0x3e0da7)=>{const _0x422996=_0x607acc;for(var _0x8055b3=_0x3e0da7>0x1?void 0x0:_0x3e0da7?_0x5b0b28(_0x470923,_0x3a934a):_0x470923,_0x2ccc8d=_0x427883[_0x422996(0x304)]-0x1,_0x4241bf;_0x2ccc8d>=0x0;_0x2ccc8d--)(_0x4241bf=_0x427883[_0x2ccc8d])&&(_0x8055b3=_0x4241bf(_0x8055b3)||_0x8055b3);return _0x8055b3;},_0x5e8367=(_0x14c865,_0x5582e6)=>(_0x57fb26,_0x4486ba)=>_0x5582e6(_0x57fb26,_0x4486ba,_0x14c865);let _0x546f56=class{constructor(_0x5f3a82,_0x4d30cd,_0x3da96a){const _0x16350f=_0x607acc;this[_0x16350f(0x170)]=_0x5f3a82,this[_0x16350f(0x305)]=_0x4d30cd,this[_0x16350f(0x11f)]=_0x3da96a;}[_0x607acc(0x2aa)](_0x4b05e3){const _0x43502c=_0x607acc;this[_0x43502c(0x251)](_0x4b05e3);}[_0x607acc(0x277)](_0xc47091){const _0x5b7e88=_0x607acc,{unitID:_0xc6bee0}=_0xc47091,{collaboration:_0x4c7df7}=this[_0x5b7e88(0x11f)][_0x5b7e88(0xa3)](_0xc6bee0);if(_0x4c7df7[_0x5b7e88(0x304)]===0x0)return _0xc47091;let _0x19f970=_0x327729[_0x5b7e88(0x11c)][_0x5b7e88(0xe4)](_0xc47091['mutations'][0x0]);for(let _0x48365f=0x0;_0x48365f<_0x4c7df7[_0x5b7e88(0x304)];_0x48365f++){const _0x1b1a35={'id':_0x5b7e88(0x27f),'params':{'unitId':_0x4c7df7[_0x48365f][_0x5b7e88(0x183)],..._0x4c7df7[_0x48365f][_0x5b7e88(0x22c)]}},_0x41af17=this[_0x5b7e88(0x305)]['transformMutation'](_0x19f970,_0x1b1a35,!0x1);if(_0x4ac0c0[_0x5b7e88(0xaf)](_0x41af17))throw _0x41af17['error'];_0x19f970=_0x41af17['m1Prime'];}return{..._0x327729[_0x5b7e88(0x11c)][_0x5b7e88(0xe4)](_0xc47091),'mutations':[_0x19f970]};}[_0x607acc(0x251)](_0x4b5a49){const _0x5ad471=_0x607acc,{unitID:_0x87ac14}=_0x4b5a49,{history:_0x5c00b1,collaboration:_0x55f77c}=this[_0x5ad471(0x11f)][_0x5ad471(0xa3)](_0x87ac14);if(_0x5c00b1['length']===0x0&&_0x55f77c[_0x5ad471(0x304)]===0x0)return;const _0x3441c1=[],_0x4acb42=[];let _0x15b492=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49['mutations'][0x0]),_0x10c391=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49['mutations'][0x0]);for(let _0x11329e=_0x5c00b1[_0x5ad471(0x304)]-0x1;_0x11329e>=0x0;_0x11329e--){const _0x31bb6b={'id':_0x5ad471(0x27f),'params':{'unitId':_0x5c00b1[_0x11329e][_0x5ad471(0x183)],..._0x5c00b1[_0x11329e][_0x5ad471(0x26d)]}},_0x543e51={'id':_0x5ad471(0x27f),'params':{'unitId':_0x5c00b1[_0x11329e][_0x5ad471(0x183)],..._0x5c00b1[_0x11329e][_0x5ad471(0x22c)]}},_0x129796=this[_0x5ad471(0x305)][_0x5ad471(0x320)](_0x15b492,_0x31bb6b,!0x1),_0x1ffda5=this['_transformService'][_0x5ad471(0x320)](_0x10c391,_0x543e51,!0x1);if(_0x4ac0c0[_0x5ad471(0xaf)](_0x129796))throw _0x129796[_0x5ad471(0x1a4)];if(_0x4ac0c0[_0x5ad471(0xaf)](_0x1ffda5))throw _0x1ffda5[_0x5ad471(0x1a4)];_0x3441c1[_0x5ad471(0x2b1)]({..._0x5c00b1[_0x11329e],'undoState':_0x129796['m2Prime'][_0x5ad471(0x127)],'redoState':_0x1ffda5[_0x5ad471(0x1be)]['params']}),_0x15b492=_0x129796['m1Prime'],_0x10c391=_0x1ffda5['m1Prime'];}_0x15b492=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49[_0x5ad471(0x1cf)][0x0]),_0x10c391=_0x327729[_0x5ad471(0x11c)][_0x5ad471(0xe4)](_0x4b5a49[_0x5ad471(0x1cf)][0x0]);for(let _0x52a0d7=_0x55f77c['length']-0x1;_0x52a0d7>=0x0;_0x52a0d7--){const _0x4e62a2={'id':_0x5ad471(0x27f),'params':{'unitId':_0x55f77c[_0x52a0d7][_0x5ad471(0x183)],..._0x55f77c[_0x52a0d7][_0x5ad471(0x26d)]}},_0x590ca6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55f77c[_0x52a0d7][_0x5ad471(0x183)],..._0x55f77c[_0x52a0d7][_0x5ad471(0x22c)]}},_0x4ccba0=this[_0x5ad471(0x305)][_0x5ad471(0x320)](_0x15b492,_0x4e62a2,!0x1),_0x49518a=this['_transformService'][_0x5ad471(0x320)](_0x10c391,_0x590ca6,!0x1);if(_0x4ac0c0[_0x5ad471(0xaf)](_0x4ccba0))throw _0x4ccba0[_0x5ad471(0x1a4)];if(_0x4ac0c0[_0x5ad471(0xaf)](_0x49518a))throw _0x49518a[_0x5ad471(0x1a4)];_0x4acb42['unshift']({..._0x55f77c[_0x52a0d7],'undoState':_0x4ccba0[_0x5ad471(0x1be)][_0x5ad471(0x127)],'redoState':_0x49518a[_0x5ad471(0x1be)]['params']}),_0x15b492=_0x4ccba0[_0x5ad471(0x221)],_0x10c391=_0x49518a[_0x5ad471(0x221)];}this['_docStateChangeManagerService']['setStateCache'](_0x87ac14,{'history':_0x3441c1,'collaboration':_0x4acb42});}};_0x546f56=_0x5ec2bd([_0x5e8367(0x0,_0x327729['Inject'](_0x327729[_0x607acc(0x258)])),_0x5e8367(0x1,_0x4ac0c0[_0x607acc(0x130)]),_0x5e8367(0x2,_0x327729[_0x607acc(0x1cc)](_0x88e369['DocStateChangeManagerService']))],_0x546f56);var _0x31360e=Object['getOwnPropertyDescriptor'],_0x373ef1=(_0x842e15,_0x5351e5,_0x4b25e1,_0x1461a8)=>{const _0x5e4ef0=_0x607acc;for(var _0x44e0f2=_0x1461a8>0x1?void 0x0:_0x1461a8?_0x31360e(_0x5351e5,_0x4b25e1):_0x5351e5,_0x542a0c=_0x842e15[_0x5e4ef0(0x304)]-0x1,_0x5703ee;_0x542a0c>=0x0;_0x542a0c--)(_0x5703ee=_0x842e15[_0x542a0c])&&(_0x44e0f2=_0x5703ee(_0x44e0f2)||_0x44e0f2);return _0x44e0f2;},_0x105c42=(_0x22011a,_0x26f35f)=>(_0x49f99c,_0x50d9f2)=>_0x26f35f(_0x49f99c,_0x50d9f2,_0x22011a);let _0x5b2986=class{constructor(_0x10f0bd,_0x2ff975){const _0x5d2f3f=_0x607acc;this['_injector']=_0x10f0bd,this[_0x5d2f3f(0x305)]=_0x2ff975;}['transformSelections'](_0x2967b3){const _0x55358d=_0x607acc;var _0x575557;const _0x34537b=this[_0x55358d(0x170)][_0x55358d(0x1e4)](_0xa5f8cf[_0x55358d(0x230)]),_0x6b8aa5=(_0x575557=_0x34537b[_0x55358d(0x255)]())!=null?_0x575557:[];if(_0x6b8aa5[_0x55358d(0x304)]===0x0)return;const _0x3fdb1c=_0x2967b3[_0x55358d(0x1d3)],_0x5648ca=[{'id':_0x55358d(0x27f),'params':{'unitId':_0x3fdb1c,'actions':null,'textRanges':_0x6b8aa5}}],_0x7f971c=this[_0x55358d(0x305)][_0x55358d(0x20f)](_0x2967b3,_0x5648ca);if(!_0x4ac0c0[_0x55358d(0x141)](_0x7f971c))throw _0x7f971c[_0x55358d(0x1a4)];const _0xc107cb=_0x7f971c[_0x55358d(0x1be)][0x0][_0x55358d(0x127)]['textRanges'];Array[_0x55358d(0x12b)](_0xc107cb)&&_0xc107cb[_0x55358d(0x304)]&&_0x34537b[_0x55358d(0xc9)](_0xc107cb,{'unitId':_0x3fdb1c,'subUnitId':_0x3fdb1c},!0x1);}};_0x5b2986=_0x373ef1([_0x105c42(0x0,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x105c42(0x1,_0x4ac0c0['ITransformService'])],_0x5b2986);var _0x186ad5=Object[_0x607acc(0x30e)],_0x2ec852=(_0x4cdc4d,_0x1c9809,_0x47195b,_0x30fc74)=>{const _0x506432=_0x607acc;for(var _0x2cadd7=_0x30fc74>0x1?void 0x0:_0x30fc74?_0x186ad5(_0x1c9809,_0x47195b):_0x1c9809,_0x11d693=_0x4cdc4d[_0x506432(0x304)]-0x1,_0x5492aa;_0x11d693>=0x0;_0x11d693--)(_0x5492aa=_0x4cdc4d[_0x11d693])&&(_0x2cadd7=_0x5492aa(_0x2cadd7)||_0x2cadd7);return _0x2cadd7;},_0x27faf7=(_0x3507b2,_0xc442ea)=>(_0x596988,_0x1d2491)=>_0xc442ea(_0x596988,_0x1d2491,_0x3507b2);let _0x25c51c=class extends _0x327729['Disposable']{constructor(_0x1bacc7,_0x25c2d9,_0x416a7e,_0x51009a,_0x1a935f,_0x269cc2,_0x5b2bc0,_0x57edc9){const _0x24965a=_0x607acc;super(),_0x338777(this,'_status$',new _0x4a689b[(_0x24965a(0xa9))](_0x106dd7[_0x24965a(0x12d)][_0x24965a(0x120)])),(this[_0x24965a(0x11f)]=_0x1bacc7,this[_0x24965a(0x2d0)]=_0x25c2d9,this[_0x24965a(0x11e)]=_0x416a7e,this['_docTransformStateCacheService']=_0x51009a,this[_0x24965a(0x281)]=_0x1a935f,this['_docSyncEditingCollabCursorService']=_0x269cc2,this[_0x24965a(0x24f)]=_0x5b2bc0,this[_0x24965a(0x1d1)]=_0x57edc9,this[_0x24965a(0x326)]());}['_initEntityListener'](){const _0x1af26a=_0x607acc;this[_0x1af26a(0xb8)](this[_0x1af26a(0x2d0)][_0x1af26a(0x2c2)][_0x1af26a(0x10d)](_0x756a9a=>{const _0x71ee9b=_0x1af26a,_0x5766cb=this[_0x71ee9b(0x11f)]['docStateChange$'][_0x71ee9b(0x10d)](_0x2508f4=>{const _0x3db21d=_0x71ee9b;if(_0x2508f4==null)return;const {unitId:_0x1a3f1a,redoState:_0x978fa3,commandId:_0x1ecbaa}=_0x2508f4;if(_0x1a3f1a!==_0x756a9a[_0x3db21d(0x1d3)])return;const _0x3df78d={'id':_0x1ecbaa,'type':_0x327729[_0x3db21d(0x158)]['MUTATION'],'params':{'unitId':_0x1a3f1a,'actions':_0x978fa3[_0x3db21d(0x1e2)],'textRanges':null}};_0x756a9a[_0x3db21d(0x30c)](_0x3df78d);});if(_0x756a9a[_0x71ee9b(0xb8)](_0x5766cb),_0x756a9a instanceof _0x106dd7[_0x71ee9b(0x2be)]){const _0x1d84a2={'onTransformIME':_0x19ec61=>this['_docTransformIMECacheService'][_0x71ee9b(0x21a)](_0x19ec61),'onTransformState':_0x2b29c3=>this[_0x71ee9b(0x24a)][_0x71ee9b(0x2aa)](_0x2b29c3),'onTransformSelections':_0x2d61eb=>this[_0x71ee9b(0x281)][_0x71ee9b(0x2b0)](_0x2d61eb),'onSyncEditingCollabCursor':_0x45b2c3=>this[_0x71ee9b(0x1b9)][_0x71ee9b(0x91)](_0x45b2c3),'onTransformRemoteChangesetByIMECache':_0x50db44=>this['_docTransformIMECacheService'][_0x71ee9b(0x277)](_0x50db44),'onTransformRemoteChangesetByStateCache':_0xc0cd93=>this['_docTransformStateCacheService'][_0x71ee9b(0x277)](_0xc0cd93)};_0x756a9a['addHandlerCallback'](_0x1d84a2);}}));}};_0x25c51c=_0x2ec852([_0x27faf7(0x0,_0x327729['Inject'](_0x88e369[_0x607acc(0x160)])),_0x27faf7(0x1,_0x327729[_0x607acc(0x1cc)](_0x106dd7[_0x607acc(0xae)])),_0x27faf7(0x2,_0x327729['Inject'](_0xb1a5f)),_0x27faf7(0x3,_0x327729[_0x607acc(0x1cc)](_0x546f56)),_0x27faf7(0x4,_0x327729[_0x607acc(0x1cc)](_0x5b2986)),_0x27faf7(0x5,_0x327729[_0x607acc(0x1cc)](_0x11acbb)),_0x27faf7(0x6,_0x1eafc9['IMessageService']),_0x27faf7(0x7,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x2c3)]))],_0x25c51c);var _0x1d32da=Object[_0x607acc(0x30e)],_0x128f28=(_0x271fa8,_0x355e22,_0x5e349b,_0x59aec6)=>{const _0x595acd=_0x607acc;for(var _0x1ec9ec=_0x59aec6>0x1?void 0x0:_0x59aec6?_0x1d32da(_0x355e22,_0x5e349b):_0x355e22,_0x441530=_0x271fa8[_0x595acd(0x304)]-0x1,_0x5e7ccb;_0x441530>=0x0;_0x441530--)(_0x5e7ccb=_0x271fa8[_0x441530])&&(_0x1ec9ec=_0x5e7ccb(_0x1ec9ec)||_0x1ec9ec);return _0x1ec9ec;},_0x59739c=(_0xc20955,_0x9a9cc4)=>(_0x3b1fb3,_0x22bdff)=>_0x9a9cc4(_0x3b1fb3,_0x22bdff,_0xc20955);let _0x1e1deb=class extends _0x327729[_0x607acc(0x22f)]{constructor(_0x5465c9,_0x4d94ce,_0x3cdb25){const _0x19bfd2=_0x607acc;super(),_0x338777(this,'_cachedData',new Map()),_0x338777(this,'_saveTaskMap',new Map()),_0x338777(this,'_disabled',!0x1),(this[_0x19bfd2(0x95)]=_0x5465c9,this[_0x19bfd2(0x207)]=_0x4d94ce,this[_0x19bfd2(0x180)]=_0x3cdb25);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x607acc(0x21c)](){const _0xb5b72d=_0x607acc;this[_0xb5b72d(0x318)]=!0x1;}get['saveTaskMap'](){const _0x148a4f=_0x607acc;return this[_0x148a4f(0x94)];}[_0x607acc(0x185)](){const _0xca247d=_0x607acc;this[_0xca247d(0xb7)]()[_0xca247d(0x209)](()=>super[_0xca247d(0x185)]());}async[_0x607acc(0x2e5)](_0x153679){const _0xcdcf6=_0x607acc;return this[_0xcdcf6(0x318)]?null:this[_0xcdcf6(0x207)][_0xcdcf6(0x10b)](_0x106dd7[_0xcdcf6(0x29b)](_0x153679));}async[_0x607acc(0x288)](_0x2e3e68,_0x2d1d26){const _0x27cdd6=_0x607acc;return!!this[_0x27cdd6(0x207)][_0x27cdd6(0x2d3)](_0x2e3e68,_0x2d1d26);}[_0x607acc(0xcc)](_0x7a8a29,_0x1b8ff6,_0x47afc2,_0x2a5220){const _0x3c7271=_0x607acc,_0x2e44df=this[_0x3c7271(0x180)][_0x3c7271(0xba)](_0x7a8a29);this[_0x3c7271(0x324)][_0x3c7271(0x264)](_0x7a8a29,{'unitID':_0x7a8a29,'type':_0x1b8ff6,'awaitingChangeset':_0x47afc2,'mutations':_0x2a5220,'rev':_0x2e44df}),this[_0x3c7271(0x94)]['has'](_0x7a8a29)||this[_0x3c7271(0x123)](_0x7a8a29);}[_0x607acc(0x123)](_0x355970){const _0x1cdaa8=_0x607acc,_0x3642f5=this['_getSaveTimeout']();_0x3642f5===0x0?this[_0x1cdaa8(0xee)](_0x355970):this[_0x1cdaa8(0x94)]['set'](_0x355970,setTimeout(()=>this[_0x1cdaa8(0xee)](_0x355970),_0x3642f5));}[_0x607acc(0x2d1)](){const _0x30e853=_0x607acc;var _0x318b7f;return(_0x318b7f=this[_0x30e853(0x95)][_0x30e853(0x176)](_0x106dd7[_0x30e853(0x282)]))!=null?_0x318b7f:_0x106dd7[_0x30e853(0x2af)];}[_0x607acc(0xee)](_0x1d9e14){const _0x33a5ed=_0x607acc,_0xc90ce0=this[_0x33a5ed(0x94)][_0x33a5ed(0x1e4)](_0x1d9e14);return _0xc90ce0!==void 0x0&&window[_0x33a5ed(0x268)](_0xc90ce0),this[_0x33a5ed(0x207)][_0x33a5ed(0x2d3)](_0x106dd7[_0x33a5ed(0x29b)](_0x1d9e14),this[_0x33a5ed(0x324)]['get'](_0x1d9e14))['then'](()=>this[_0x33a5ed(0x94)][_0x33a5ed(0xda)](_0x1d9e14));}async[_0x607acc(0xb7)](){const _0x28fb72=_0x607acc,_0x4c799c=[];this[_0x28fb72(0x94)][_0x28fb72(0x284)]((_0x4052c0,_0x200291)=>{const _0x2e65f2=_0x28fb72;window[_0x2e65f2(0x268)](_0x4052c0),_0x4c799c['push'](this[_0x2e65f2(0xee)](_0x200291)[_0x2e65f2(0x209)](()=>{const _0x14e708=_0x2e65f2;this['_saveTaskMap'][_0x14e708(0xda)](_0x200291);}));}),await Promise[_0x28fb72(0x269)](_0x4c799c);}};_0x1e1deb=_0x128f28([_0x59739c(0x0,_0x327729['IConfigService']),_0x59739c(0x1,_0x327729['ILocalStorageService']),_0x59739c(0x2,_0x327729['Inject'](_0x4ac0c0[_0x607acc(0x270)]))],_0x1e1deb);class _0x34821e extends _0x327729[_0x607acc(0x1c4)]{constructor(){const _0x2ee174=_0x607acc;super(),_0x338777(this,_0x2ee174(0x2df)),this[_0x2ee174(0x2df)]=_0x4a689b['fromEvent'](window,_0x2ee174(0x2d5))[_0x2ee174(0x30f)](_0x4a689b[_0x2ee174(0xec)](this[_0x2ee174(0x1ad)]),_0x4a689b[_0x2ee174(0x1fa)](0x1),_0x4a689b[_0x2ee174(0x248)](void 0x0));}[_0x607acc(0xef)](_0x5c3657,_0x421820,_0xa59293=!0x1){const _0x4f92eb=_0x607acc,_0x43b09d=new URL(window['location'][_0x4f92eb(0x11d)]);_0x43b09d['searchParams'][_0x4f92eb(0x264)](_0x5c3657,_0x421820),_0xa59293?window[_0x4f92eb(0x2ec)][_0x4f92eb(0x2f4)]('','',_0x43b09d[_0x4f92eb(0x2ba)]()):window[_0x4f92eb(0x2ec)][_0x4f92eb(0x125)]('','',_0x43b09d[_0x4f92eb(0x2ba)]());}[_0x607acc(0xf8)](_0x12b919,_0x371051=!0x1){const _0x38a7ea=_0x607acc,_0x2ec289=new URL(window[_0x38a7ea(0x242)]['href']);_0x2ec289[_0x38a7ea(0x109)][_0x38a7ea(0xda)](_0x12b919),_0x371051?window[_0x38a7ea(0x2ec)]['replaceState']('','',_0x2ec289[_0x38a7ea(0x2ba)]()):window['history']['pushState']('','',_0x2ec289[_0x38a7ea(0x2ba)]());}[_0x607acc(0x1d7)](_0x571a5a){const _0x58b1b8=_0x607acc;var _0x14f15f;return(_0x14f15f=new URL(window[_0x58b1b8(0x242)]['href'])[_0x58b1b8(0x109)]['get'](_0x571a5a))!=null?_0x14f15f:void 0x0;}}var _0x27b457=Object[_0x607acc(0x191)],_0x144bbd=Object[_0x607acc(0x30e)],_0x2ff7c8=(_0x17fcc8,_0x19003b,_0x146d3f)=>_0x19003b in _0x17fcc8?_0x27b457(_0x17fcc8,_0x19003b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x146d3f}):_0x17fcc8[_0x19003b]=_0x146d3f,_0x3c3168=(_0x43426a,_0x5cb88e,_0x535c25,_0x4d2d46)=>{for(var _0x116847=_0x4d2d46>0x1?void 0x0:_0x4d2d46?_0x144bbd(_0x5cb88e,_0x535c25):_0x5cb88e,_0x1eb4d2=_0x43426a['length']-0x1,_0x1094ec;_0x1eb4d2>=0x0;_0x1eb4d2--)(_0x1094ec=_0x43426a[_0x1eb4d2])&&(_0x116847=_0x1094ec(_0x116847)||_0x116847);return _0x116847;},_0x21826f=(_0x442951,_0x41b2ca)=>(_0x11cce1,_0x3ec4c8)=>_0x41b2ca(_0x11cce1,_0x3ec4c8,_0x442951),_0x4749c9=(_0x40b565,_0x4dc5ca,_0x5d54dc)=>_0x2ff7c8(_0x40b565,_0x4dc5ca+'',_0x5d54dc);const _0x5f1b83='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x54a1e0[_0x607acc(0x14c)]=class extends _0x327729[_0x607acc(0xf7)]{constructor(_0x3755ea=_0x33c385,_0x1ba81d,_0x301d88,_0x215960){const _0x26994b=_0x607acc;super(),this['_config']=_0x3755ea,this['_renderManagerService']=_0x1ba81d,this['_injector']=_0x301d88,this['_configService']=_0x215960;const {..._0x33a9b9}=_0x327729[_0x26994b(0x144)]({},_0x33c385,this[_0x26994b(0x1ff)]);this[_0x26994b(0x95)]['setConfig'](_0x167d12,_0x33a9b9);}[_0x607acc(0xdc)](){const _0x18a3db=_0x607acc;this[_0x18a3db(0x2c7)](),this[_0x18a3db(0x226)]();}[_0x607acc(0x199)](){const _0x2fe660=_0x607acc;this[_0x2fe660(0x30a)]();}[_0x607acc(0x2c7)](){const _0x1fe0fb=_0x607acc;var _0xa86b50;const _0x375ccb=[[_0x3a75e1],[_0x5b2986],[_0xb1a5f],[_0x546f56],[_0x11acbb],[_0x4bc93e,{'useClass':_0x34821e}],[_0x10fbe7[_0x1fe0fb(0x2c8)],{'useClass':_0x10fbe7['WebSocketService']}],[_0x106dd7[_0x1fe0fb(0x30d)],{'useClass':_0x1e1deb}],[_0x54a1e0[_0x1fe0fb(0xd7)]],[_0x25c51c],[_0x2ffb89],[_0x4dc4bf],[_0x142699],[_0x54a1e0[_0x1fe0fb(0x10e)]]];_0x327729[_0x1fe0fb(0xf4)](this[_0x1fe0fb(0x170)],_0x327729[_0x1fe0fb(0xdf)](_0x375ccb,(_0xa86b50=this['_config'])==null?void 0x0:_0xa86b50[_0x1fe0fb(0x321)]));}['_registerRenderDependencies'](){const _0x221bc4=_0x607acc;this[_0x221bc4(0xb8)](this['_renderManagerService']['registerRenderModule'](_0x327729[_0x221bc4(0xe9)][_0x221bc4(0x208)],[_0x5d89d])),this[_0x221bc4(0xb8)](this['_renderManagerService']['registerRenderModule'](_0x327729['UniverInstanceType'][_0x221bc4(0x238)],[_0x2ee156]));}['_initDependencies'](){const _0x474b40=_0x607acc;_0x327729[_0x474b40(0x302)](this[_0x474b40(0x170)],[[_0x4dc4bf],[_0x54a1e0['DesktopCollaborationStatusDisplayController']],[_0x25c51c],[_0x2ffb89],[_0x54a1e0[_0x474b40(0x10e)]]]);}},_0x4749c9(_0x54a1e0[_0x607acc(0x14c)],_0x607acc(0x2ce),_0x5f1b83),_0x54a1e0[_0x607acc(0x14c)]=_0x3c3168([_0x327729[_0x607acc(0x10c)](_0x106dd7[_0x607acc(0x9f)]),_0x21826f(0x1,_0x19e16c[_0x607acc(0x2f5)]),_0x21826f(0x2,_0x327729[_0x607acc(0x1cc)](_0x327729[_0x607acc(0x258)])),_0x21826f(0x3,_0x327729[_0x607acc(0x1bf)])],_0x54a1e0[_0x607acc(0x14c)]);var _0x3e8cd1=Object[_0x607acc(0x30e)],_0x39c31e=(_0x24d358,_0x8f7051,_0x3cfb3b,_0x3964ae)=>{const _0x2ba360=_0x607acc;for(var _0x3219be=_0x3964ae>0x1?void 0x0:_0x3964ae?_0x3e8cd1(_0x8f7051,_0x3cfb3b):_0x8f7051,_0x38eaf9=_0x24d358[_0x2ba360(0x304)]-0x1,_0x1720c7;_0x38eaf9>=0x0;_0x38eaf9--)(_0x1720c7=_0x24d358[_0x38eaf9])&&(_0x3219be=_0x1720c7(_0x3219be)||_0x3219be);return _0x3219be;},_0x2aa83a=(_0x3acbc9,_0x2066cb)=>(_0x11b5ba,_0x3b1a7d)=>_0x2066cb(_0x11b5ba,_0x3b1a7d,_0x3acbc9);_0x54a1e0[_0x607acc(0xb4)]=class extends _0x106dd7['CollaborationSocketService']{constructor(_0x31a114,_0x14e915,_0x1632b3,_0x3c61a7,_0x181d98){super(_0x31a114,_0x14e915,_0x1632b3,_0x3c61a7,_0x181d98);}async[_0x607acc(0xcb)](_0x306f50){const _0x1edee8=_0x607acc,_0x150409=await this[_0x1edee8(0x1dc)](),_0x52193b=this[_0x1edee8(0x131)](_0x306f50,_0x150409);return this[_0x1edee8(0x9a)](_0x52193b);}['_createSocketURL'](_0xcee265,_0xc2cbe6){const _0x47eea3=_0x607acc,_0x44d38c=typeof window>'u'?new URL(_0xcee265):new URL(_0xcee265,window[_0x47eea3(0x242)]['origin']);_0x44d38c[_0x47eea3(0x109)]['set']('sessionTicket',_0xc2cbe6);const _0x4d10b4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x47eea3(0x242)][_0x47eea3(0x26e)]);return _0x4d10b4[_0x47eea3(0x1e4)](_0x47eea3(0x296))&&_0x44d38c['searchParams'][_0x47eea3(0x264)](_0x47eea3(0x296),_0x4d10b4[_0x47eea3(0x1e4)](_0x47eea3(0x296))),_0x44d38c[_0x47eea3(0x2ba)]();}async[_0x607acc(0x1dc)](){const _0x45d3f3=_0x607acc;var _0x29e738,_0x3996c2,_0x36bf80;const _0xc296ed=this[_0x45d3f3(0x95)][_0x45d3f3(0x176)](_0x106dd7[_0x45d3f3(0x31d)]),_0x426d75=(_0x29e738=_0xc296ed==null?void 0x0:_0xc296ed[_0x45d3f3(0xeb)])!=null?_0x29e738:_0x106dd7[_0x45d3f3(0x16a)];return(_0x36bf80=(_0x3996c2=(await this[_0x45d3f3(0x223)]['get'](_0x426d75,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3996c2[_0x45d3f3(0x195)])!=null?_0x36bf80:'';}},_0x54a1e0['BrowserCollaborationSocketService']=_0x39c31e([_0x2aa83a(0x0,_0x327729[_0x607acc(0x1cc)](_0x327729['Injector'])),_0x2aa83a(0x1,_0x327729['Inject'](_0x10fbe7['HTTPService'])),_0x2aa83a(0x2,_0x327729['IConfigService']),_0x2aa83a(0x3,_0x327729[_0x607acc(0xfe)]),_0x2aa83a(0x4,_0x4ac0c0[_0x607acc(0x231)])],_0x54a1e0[_0x607acc(0xb4)]);const _0x465038=0x7530,_0x53bd17=_0x607acc(0x328);class _0x384620 extends _0x327729[_0x607acc(0x22f)]{constructor(){const _0x583e17=_0x607acc;super(),_0x338777(this,_0x583e17(0x240),_0x327729[_0x583e17(0x29f)]()),_0x338777(this,_0x583e17(0x108),new Set()),_0x338777(this,_0x583e17(0x1ed),new Map()),_0x338777(this,_0x583e17(0x193),null),_0x338777(this,_0x583e17(0x186),new Map()),_0x338777(this,_0x583e17(0x2b9),new Map()),this[_0x583e17(0x135)]();}[_0x607acc(0x185)](){const _0x299934=_0x607acc;super['dispose'](),this['_clearOtherTimers'][_0x299934(0x284)]((_0x4bfcae,_0x287968)=>this[_0x299934(0x2a8)](_0x287968)),this[_0x299934(0x193)]&&window[_0x299934(0x126)](this[_0x299934(0x193)]);}[_0x607acc(0x2d4)](_0x582ccd){const _0x58e8cf=_0x607acc;return this[_0x58e8cf(0xf6)](_0x582ccd)[_0x58e8cf(0x30f)](_0x4a689b['distinctUntilChanged']());}['editingUnit'](_0xdc7f16){const _0x9b5630=_0x607acc;this[_0x9b5630(0x108)]['size']===0x0&&this[_0x9b5630(0x17e)](),this[_0x9b5630(0x108)][_0x9b5630(0x27a)](_0xdc7f16),this['_send']({'type':0x0,'memberID':this[_0x9b5630(0x240)],'unitIDs':[_0xdc7f16],'isForwarded':!0x1});}['disposeUnit'](_0x3d281c){const _0x29059c=_0x607acc;this['_selfUnitIDs'][_0x29059c(0xda)](_0x3d281c),this[_0x29059c(0x108)][_0x29059c(0x1db)]===0x0&&this[_0x29059c(0x193)]&&window[_0x29059c(0x126)](this[_0x29059c(0x193)]);}[_0x607acc(0x135)](){const _0x25d1da=_0x607acc;this[_0x25d1da(0xb8)](_0x327729[_0x25d1da(0x96)](_0x4a689b[_0x25d1da(0x129)](window,_0x25d1da(0xd5))[_0x25d1da(0x10d)](_0x3cea73=>{const _0x2234cc=_0x25d1da;if(_0x3cea73['key']!==_0x53bd17||!_0x3cea73[_0x2234cc(0x1cd)])return;const _0x214641=JSON[_0x2234cc(0x2bf)](_0x3cea73[_0x2234cc(0x1cd)]);this[_0x2234cc(0x2fe)](_0x214641);}))),window['addEventListener'](_0x25d1da(0x1b0),()=>this[_0x25d1da(0x2cc)]({'type':0x1,'memberID':this[_0x25d1da(0x240)],'unitIDs':Array[_0x25d1da(0x216)](this['_selfUnitIDs'])}));}[_0x607acc(0x2fe)](_0x546a82){const _0x18ea34=_0x607acc;switch(_0x546a82[_0x18ea34(0x1a0)]){case 0x0:this[_0x18ea34(0x113)](_0x546a82);break;case 0x1:this[_0x18ea34(0x18c)](_0x546a82);break;case 0x2:this[_0x18ea34(0x14a)](_0x546a82);break;}}[_0x607acc(0x113)](_0x27fdd7){const _0x260523=_0x607acc,{unitIDs:_0x3d277a,memberID:_0x2d588d,isForwarded:_0x665a1e}=_0x27fdd7;_0x3d277a[_0x260523(0x284)](_0x2adef5=>{const _0x311c72=_0x260523;if(!_0x665a1e&&this[_0x311c72(0x1ed)]['has'](_0x2adef5)&&this[_0x311c72(0xf6)](_0x2adef5)[_0x311c72(0x1dd)](_0x106dd7[_0x311c72(0x2f2)][_0x311c72(0xb5)]),!this[_0x311c72(0x1ed)][_0x311c72(0x29d)](_0x2adef5)||!this[_0x311c72(0x1ed)][_0x311c72(0x1e4)](_0x2adef5)[_0x311c72(0x29d)](_0x2d588d)){const _0x350078=this[_0x311c72(0x1ed)][_0x311c72(0x1e4)](_0x2adef5)||new Set();_0x350078[_0x311c72(0x27a)](_0x2d588d),this['_unitOnClients']['set'](_0x2adef5,_0x350078),this['_scheduleClearOtherTimer'](_0x2d588d);}}),_0x665a1e||this['_send']({'type':0x0,'memberID':this[_0x260523(0x240)],'unitIDs':[...this[_0x260523(0x108)]],'isForwarded':!0x0});}[_0x607acc(0x2dd)](_0x62dd96){const _0x36df60=_0x607acc;this[_0x36df60(0x2a8)](_0x62dd96);const _0xc0761e=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x511220=>{const _0x3978a8=_0x3c3b;_0x511220[_0x3978a8(0xda)](_0x62dd96);});},_0x465038*0x2);this[_0x36df60(0x186)][_0x36df60(0x264)](_0x62dd96,_0xc0761e);}[_0x607acc(0x2a8)](_0x2dee04){const _0x69ef6e=_0x607acc;if(this[_0x69ef6e(0x186)][_0x69ef6e(0x29d)](_0x2dee04)){const _0x5d1d2c=this[_0x69ef6e(0x186)][_0x69ef6e(0x1e4)](_0x2dee04);_0x5d1d2c&&window['clearTimeout'](_0x5d1d2c),this[_0x69ef6e(0x186)][_0x69ef6e(0x264)](_0x2dee04,null);}}[_0x607acc(0x18c)](_0x1a3e3e){const _0x21ae51=_0x607acc,{memberID:_0x4ad319,unitIDs:_0x1e78e9}=_0x1a3e3e;_0x1e78e9[_0x21ae51(0x284)](_0x54f130=>{const _0x50e432=_0x21ae51;var _0x5063d5;const _0x417388=this[_0x50e432(0x1ed)]['get'](_0x54f130);_0x417388&&(_0x417388[_0x50e432(0xda)](_0x4ad319),(_0x5063d5=this['_ensureSubject'](_0x54f130))==null||_0x5063d5['next'](_0x417388[_0x50e432(0x1db)]===0x0?_0x106dd7['UnitStatus'][_0x50e432(0x149)]:_0x106dd7['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4ad319);}['_handleHeartbeatEvent'](_0x448d9e){const _0x1b23ee=_0x607acc;this[_0x1b23ee(0x2dd)](_0x448d9e['memberID']);}['_send'](_0x374eab){const _0x44314e=_0x607acc;localStorage[_0x44314e(0x2d3)](_0x53bd17,JSON[_0x44314e(0x119)](_0x374eab));}[_0x607acc(0x17e)](){const _0x2a5f92=_0x607acc;this[_0x2a5f92(0x193)]=window[_0x2a5f92(0x166)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x465038);}[_0x607acc(0xf6)](_0x365456){const _0x559804=_0x607acc;return this[_0x559804(0x2b9)][_0x559804(0x29d)](_0x365456)||this[_0x559804(0x2b9)][_0x559804(0x264)](_0x365456,new _0x4a689b['BehaviorSubject'](_0x106dd7[_0x559804(0x2f2)][_0x559804(0x149)])),this[_0x559804(0x2b9)]['get'](_0x365456);}}var _0x12e17c=(_0x3cb370=>(_0x3cb370[_0x3cb370['UNDEFINED']=0x0]=_0x607acc(0xfd),_0x3cb370[_0x3cb370['OK']=0x1]='OK',_0x3cb370[_0x3cb370[_0x607acc(0x12f)]=0x2]=_0x607acc(0x12f),_0x3cb370[_0x3cb370[_0x607acc(0x267)]=0x3]=_0x607acc(0x267),_0x3cb370[_0x3cb370[_0x607acc(0x291)]=0x4]=_0x607acc(0x291),_0x3cb370[_0x3cb370[_0x607acc(0x29c)]=0x5]=_0x607acc(0x29c),_0x3cb370[_0x3cb370[_0x607acc(0x17f)]=0x6]=_0x607acc(0x17f),_0x3cb370[_0x3cb370['INVALID_ARGUMENT']=0x7]=_0x607acc(0x25a),_0x3cb370[_0x3cb370['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3cb370[_0x3cb370[_0x607acc(0x273)]=0x9]=_0x607acc(0x273),_0x3cb370[_0x3cb370['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3cb370[_0x3cb370[_0x607acc(0x2bc)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3cb370[_0x3cb370[_0x607acc(0xe3)]=0xc]=_0x607acc(0xe3),_0x3cb370[_0x3cb370[_0x607acc(0xa5)]=0xd]=_0x607acc(0xa5),_0x3cb370[_0x3cb370['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x607acc(0x138),_0x3cb370[_0x3cb370['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x607acc(0xbd),_0x3cb370[_0x3cb370[_0x607acc(0x192)]=0x1771]=_0x607acc(0x192),_0x3cb370[_0x3cb370[_0x607acc(0x322)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3cb370[_0x3cb370['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x607acc(0x1c6),_0x3cb370[_0x3cb370[_0x607acc(0x211)]=0x1b59]=_0x607acc(0x211),_0x3cb370[_0x3cb370[_0x607acc(0xc1)]=0x1b5a]=_0x607acc(0xc1),_0x3cb370[_0x3cb370['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x607acc(0x250),_0x3cb370[_0x3cb370[_0x607acc(0x189)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3cb370[_0x3cb370[_0x607acc(0xa6)]=0x1b5d]=_0x607acc(0xa6),_0x3cb370[_0x3cb370[_0x607acc(0x1f9)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3cb370[_0x3cb370[_0x607acc(0x17a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3cb370[_0x3cb370['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3cb370[_0x3cb370[_0x607acc(0x2a6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3cb370[_0x3cb370[_0x607acc(0x1c2)]=0x232c]=_0x607acc(0x1c2),_0x3cb370[_0x3cb370['LICENSE_DISTRO_REJECTED']=0x232d]=_0x607acc(0x17c),_0x3cb370[_0x3cb370['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3cb370[_0x3cb370[_0x607acc(0x1ef)]=0x2712]=_0x607acc(0x1ef),_0x3cb370[_0x3cb370[_0x607acc(0x257)]=0x2713]=_0x607acc(0x257),_0x3cb370[_0x3cb370[_0x607acc(0x1ab)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3cb370[_0x3cb370[_0x607acc(0x2d6)]=0x271a]=_0x607acc(0x2d6),_0x3cb370[_0x3cb370[_0x607acc(0x239)]=0x271b]=_0x607acc(0x239),_0x3cb370[_0x3cb370[_0x607acc(0x26a)]=0x271c]=_0x607acc(0x26a),_0x3cb370[_0x3cb370['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x607acc(0x19c),_0x3cb370[_0x3cb370['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x607acc(0xbe),_0x3cb370[_0x3cb370[_0x607acc(0x1e9)]=0x271f]=_0x607acc(0x1e9),_0x3cb370[_0x3cb370[_0x607acc(0x2cb)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3cb370[_0x3cb370[_0x607acc(0x2b4)]=0x2af9]=_0x607acc(0x2b4),_0x3cb370[_0x3cb370[_0x607acc(0xcd)]=0x2ee1]=_0x607acc(0xcd),_0x3cb370[_0x3cb370[_0x607acc(0x146)]=0x2ee2]=_0x607acc(0x146),_0x3cb370[_0x3cb370[_0x607acc(0x294)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3cb370[_0x3cb370[_0x607acc(0xb1)]=0x2ee4]=_0x607acc(0xb1),_0x3cb370[_0x3cb370[_0x607acc(0x246)]=0x2ee5]=_0x607acc(0x246),_0x3cb370[_0x3cb370['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x607acc(0x178),_0x3cb370[_0x3cb370['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x607acc(0x23e),_0x3cb370[_0x3cb370[_0x607acc(0x159)]=0x32cb]=_0x607acc(0x159),_0x3cb370[_0x3cb370[_0x607acc(0x13f)]=-0x1]=_0x607acc(0x13f),_0x3cb370))(_0x12e17c||{}),_0x22632d=Object[_0x607acc(0x30e)],_0x99f1a5=(_0x21ba1f,_0x59e741,_0x15dfaa,_0x7de18c)=>{const _0x43d957=_0x607acc;for(var _0x53dbe3=_0x7de18c>0x1?void 0x0:_0x7de18c?_0x22632d(_0x59e741,_0x15dfaa):_0x59e741,_0x5c9dce=_0x21ba1f[_0x43d957(0x304)]-0x1,_0x361b9e;_0x5c9dce>=0x0;_0x5c9dce--)(_0x361b9e=_0x21ba1f[_0x5c9dce])&&(_0x53dbe3=_0x361b9e(_0x53dbe3)||_0x53dbe3);return _0x53dbe3;},_0x150f51=(_0x17e56a,_0x2db749)=>(_0x283a2d,_0x424962)=>_0x2db749(_0x283a2d,_0x424962,_0x17e56a);_0x54a1e0[_0x607acc(0x21e)]=class extends _0x327729[_0x607acc(0x22f)]{constructor(_0x2c57d2,_0x5d3485,_0x5bbaee){const _0x308e0d=_0x607acc;super(),this['_instanceService']=_0x2c57d2,this[_0x308e0d(0x223)]=_0x5d3485,this[_0x308e0d(0x95)]=_0x5bbaee;}async['runOnServer'](_0x2f8b8f,_0x5ddf49,_0x262aac,..._0x4e5ea1){const _0x2984ff=_0x607acc;var _0x50948c,_0x1c08dc,_0x3cf90d,_0x369d75;const _0x30fe40=this[_0x2984ff(0x90)][_0x2984ff(0xff)]();if(!_0x30fe40)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x458c11=((_0x50948c=this[_0x2984ff(0x95)]['getConfig'](_0x106dd7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x50948c:_0x106dd7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2f8b8f+_0x2984ff(0x28e)+_0x5ddf49,_0x5ee4dd=new URL(window[_0x2984ff(0x242)][_0x2984ff(0x11d)]),_0x159d54={'scriptId':_0x2f8b8f,'runId':(_0x1c08dc=_0x5ee4dd[_0x2984ff(0x109)][_0x2984ff(0x1e4)](_0x2984ff(0x296)))!=null?_0x1c08dc:'','function':_0x5ddf49,'unitId':_0x30fe40[_0x2984ff(0x309)](),'argsOfFunction':JSON[_0x2984ff(0x119)](_0x4e5ea1),'invokeId':(_0x3cf90d=_0x262aac[_0x2984ff(0x2ff)])!=null?_0x3cf90d:'','executionId':(_0x369d75=_0x262aac['executionId'])!=null?_0x369d75:''};try{const _0x13beaf=await this[_0x2984ff(0x223)][_0x2984ff(0x233)](_0x458c11,{'body':_0x159d54});return _0x13beaf[_0x2984ff(0x235)]['error']&&_0x13beaf[_0x2984ff(0x235)]['error']['code']!==_0x12e17c['OK']?_0x2984ff(0x15e):_0x13beaf[_0x2984ff(0x235)]['result'];}catch{return _0x2984ff(0x15e);}}},_0x54a1e0[_0x607acc(0x21e)]=_0x99f1a5([_0x150f51(0x0,_0x327729[_0x607acc(0x1eb)]),_0x150f51(0x1,_0x327729[_0x607acc(0x1cc)](_0x10fbe7[_0x607acc(0x118)])),_0x150f51(0x2,_0x327729[_0x607acc(0x1bf)])],_0x54a1e0[_0x607acc(0x21e)]),_0x54a1e0[_0x607acc(0x1af)]=_0x12c585,_0x54a1e0[_0x607acc(0x2a4)]=_0x4bc93e,_0x54a1e0[_0x607acc(0x102)]=_0xdf647a,_0x54a1e0[_0x607acc(0x256)]=_0x384620,_0x54a1e0[_0x607acc(0x266)]=_0x34821e,Object['defineProperty'](_0x54a1e0,Symbol[_0x607acc(0x301)],{'value':'Module'});}));function _0x3c3b(_0x253028,_0x3d04c3){const _0xcd77f=_0xcd77();return _0x3c3b=function(_0x3c3be7,_0x123a7e){_0x3c3be7=_0x3c3be7-0x90;let _0x58f3ec=_0xcd77f[_0x3c3be7];return _0x58f3ec;},_0x3c3b(_0x253028,_0x3d04c3);}function _0xcd77(){const _0x448626=['YUUMI_AI_RUN_FAILED','NodePositionConvertToRectRange','IUniverInstanceService','colorChannel1','_unitOnClients','runRefRangeMutations','YUUMI_URL_COL_OUT_OF_RANGE','_hideTimer','_context','find','attrs','UPDATE_CURSOR','_initEvent','Vector2','cursorInfo','_cursor','CONNECTOR_DATA_TOO_LARGE','shareReplay','univer-flex\x20univer-items-center','Workbook','_updateURLWithCurrentState','_commandService','_config','UniverEngineFormula','_cursorShapes','_eventUnsubscribe','extend','collabStatus.syncing','debounceTime','mask','_localStorageService','UNIVER_DOC','then','_themeService','_docSkeletonManagerService','TEXT_RANGE_LAYER_INDEX','5126OcEuVE','_memberService','transformMutationsWithChangeset','font','APPLY_REJECT','url(#$1','unsubscribe','addObjects','ColorKit','from','addClipboardHook','getCoordByCell','currentColor','transformIMECache','useCallback','enableLocalCache','_colorAssignService','RemoteUniscriptService','_toggleOnline','_notificationService','m1Prime','_beforeCloseService','_httpService','row','_getSheetObject','_initDependencies','INotificationService','drawWith','getRenderById','@univerjs/engine-render','complete','redoState','_onCursorUpdate','_updateLocalCursor','Disposable','DocSelectionManagerService','ISnapshotServerService','throttleTime','post','MoveRangeCommandId','body','CONFLICT','session.connection-failed','UNIVER_SHEET','YUUMI_ASYNCIO_CANCELLED','getColorFromTheme','CollaborationUIEventService','path','Error','MOBILE_HAS_BEEN_BOUND','420884czExjv','_id','getAncestorScale','location','_getAnchorBounding','...','collabStatus.notCollab','INVITE_CODE_ALREADY_BOUND','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','mapTo','PENDING','_docTransformStateCacheService','switchMap','reconnect','name','top','_messageService','APPLY_REVISION_CONFILICT','_transformHistoryAndStateStack','handleMoveRange','on-line-icon','Rect','getDocRanges','WebBrowserSingleActiveUnitService','YUUMI_RATE_OVER_LIMIT','Injector','requireSession','INVALID_ARGUMENT','getSheetId','setActiveRange','source','status$','defIds','imageSourceType','react/jsx-runtime','off-line-icon_clip0_910_343','_name','set','send','WebURLService','PERMISSION_DENIED','clearTimeout','all','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_drawRectRange','replace','undoState','search','with','RevisionService','_color','split','COMPLETION_FINISHED','green.600','TRANSFORM_CHANGE_OBSERVABLE_TYPE','session.collaboration-timeout','transformRemoteChangeset','Tooltip','div','add','_drawAnchor','DocSkeletonManagerService','getUnhiddenWorksheets','UniverEngineRender','doc.mutation.rich-text-editing','displayName','_docTransformSelectionsService','LOCAL_CACHE_INTERVAL_KEY','568UqcErE','forEach','InsertRangeMoveDownCommandId','getCellPositionByOffset','lineTo','saveOfflineData','tag','_backgroundColor','hasOwnProperty','some','getUniverSheetInstance','/run/','combineLatest','color','NOT_FOUND','UniverSheets','Unknown\x20user','INVITE_CODE_REQUIRED','collab-rect-range-','runId','getActiveSheet','SetTextSelectionsOperation','_collabCursorState$','loadUnit','getLocalCacheKey','UNAUTHENTICATED','has','SessionStatus','generateRandomId','CollaborationUIEventId','getUndoRedoMutationParamsCache','collabStatus.synced','5304490gUSDWd','IURLService','whenReady','LICENSE_IMPORT_SIZE_EXCEEDED','init','_removeClearOtherTimer','makeDirty','transformStateCache','UniverIcon','_online','@univerjs/network','createIdentifier','LOCAL_CACHE_INTERVAL','transformSelections','unshift','getMergeData','_status$','PY_RUNTIME_SCRIPT_ERROR','evenodd','idSuffix','addObject','_render','_unitStatus','toString','MemberService','MOBILE_VERIFY_CODE_MISMATCH','collab-client.tooltip.reconnect','DocCollaborationEntity','parse','none','getSheetBySheetId','entityInit$','LocaleService','_cursorInfo$','_univerInstanceService','includes','_registerDependencies','ISocketService','round','0\x200\x2017\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','pluginName','random','_collaborationController','_getSaveTimeout','push','setItem','getUnitStatus$','popstate','YUUMI_NO_CUBOID_FOR_QUESTION','react','OTHER_CLIENT_EDITING','[CollaborationDataLoaderController]','endRow','skeleton','Warning','_scheduleClearOtherTimer','@univerjs/core','urlChange$','@univerjs/drawing','@univerjs/docs','@univerjs/docs-ui','createElement','BuiltInUIPart','loadOfflineData','getRangePointData','_startDocCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','1em','getMember','ICommandService','history','InsertRowCommandId','sessionStatus$','data','useRef','onPointerLeave$','UnitStatus','labelPosition','replaceState','IRenderManagerService','UniverNetwork','onPointerEnter$','_colorIndex','_hovered','_lastPointer','subUnitId','collaboration.closeRoom','_onCursorDelete','_handleEvent','invokeId','handleDeleteRangeMoveLeft','toStringTag','touchDependencies','DisposableCollection','length','_transformService','call','_textBubble','jsx','getUnitId','_registerRenderDependencies','filter','onLocalMutation','ILocalCacheService','getOwnPropertyDescriptor','pipe','asObservable','_getMergeRange','defs','_syncEditingCollabCursorService','SYNCED','moveTo','connectInjector','currentSkeleton$','_disabled','JOIN_ROOM_FAILED','collabStatus.fetchMiss','propertyIsEnumerable','deserializeRangeWithSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DeleteRangeMoveUpCommandId','flatMap','transformMutation','override','SNAPSHOT_HAS_BEEN_REMOVED','IImageIoService','_cachedData','onPointerMove$','_initEntityListener','text','ACTIVE_UNIT_EVENT_CHANNEL','range','_instanceService','syncEditingCollabCursor','handleIRemoveRow','ONLINE','_saveTaskMap','_configService','toDisposable','_roomMembers$','clsx','children','_doCreateSocket','debug','FETCH_MISS','handleIRemoveCol','_dataLoaderService','UniverCollaborationClientPlugin','on-line-icon_clip0_910_349','_uiPartsService','setUndoRedoMutationParamsCache','getStateCache','RefRangeService','EMAIL_VERIFY_CODE_MISMATCH','APPLY_DUPLICATED','onTransformChange$','eventID','BehaviorSubject','getCollabEntity$','M0\x200H16V16H0z','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','@univerjs/ui','CollaborationController','isTransformMutationFailure','subunit','USER_NOT_INVITED_CODE','SetDocZoomRatioOperation','SetSelectionsOperation','BrowserCollaborationSocketService','OTHER_CLIENTS_EDITING','toRgbString','exhaustSavingTask','disposeWithMe','permission.content','getCurrentRevOfUnit','width','_localCacheService','CHANGESET_REVISION_CONFILICT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','values','beginPath','APPLY_NON_SEQUENTIAL_REVISION','getVpScrollXYInfoByPosToVp','_range','MessageType','SUBMIT_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','createInstance','rxjs/operators','replaceDocRanges','_anchorDot','createSocket','updateOfflineData','INVITE_CODE_HAS_BEEN_UES','sheetID','_initResize','jsxs','_refRangeService','UniverProCollaborationClient','onMouseMove','OnLineIcon','storage','_setupBeforeClosingHandler','DesktopCollaborationStatusDisplayController','operators','executeCommand','delete','getCurrentSelections','onStarting','_anchor','amd','mergeOverrideWithDependencies','DocIMEInputManagerService','SHEET_VIEWPORT_KEY','_draw','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','deepClone','unit','hide','IDocClipboardService','UniverSheetsUi','UniverInstanceType','assignAColorForMemberID','wsSessionTicketUrl','takeUntil','_hover','_saveCache','setParam','textRanges','icon','substring','getSheetObject','registerDependencies','_shapes','_ensureSubject','Plugin','removeParam','svg','_initCommandExecutedListener','save','onCommandExecuted','UNDEFINED','ILogService','getFocusedUnit','@univerjs-pro/collaboration','blue.400','SheetCollabCursorShape','saveTaskMap','OFFLINE','SOCKET_FAILED','getTypeOfUnitAdded$','_startSheetCollabCursor','_selfUnitIDs','searchParams','IMessageService','getItem','DependentOn','subscribe','CollaborationDataLoaderController','_docClipboardService','startRow','#FFF','SetWorksheetActivateCommand','_handleJoinEvent','_updateSubUnitFromURLParams','setAlpha','rxjs','_setupSubUnitSync','HTTPService','stringify','setShapeProps','cursorInfo$','Tools','href','_docTransformIMECacheService','_docStateChangeManagerService','NOT_COLLAB','selection','_renderManagerService','_scheduleSaving','prototype','pushState','clearInterval','params','RichTextEditingMutation','fromEvent','ranges','isArray','handleInsertRow','CollaborationStatus','@univerjs/engine-formula','INTERNAL_ERROR','ITransformService','_createSocketURL','1901075bYBgBl','isEditing','map','_init','collaboration-client-ui.config','getActiveRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','forwardRef','TEXT','_collaborationUIEventService','NodePositionConvertToCursor','getSkeleton','getMemberID','UNRECOGNIZED','DOC_RANGE_TYPE','isTransformMutationsWithChangesetSuccess','@univerjs/rpc','RegularPolygon','merge','IUIPartsService','INVALID_INVITE_CODE','entries','_initStatusComponent','NO_OTHER_CLIENTS_EDITING','_handleHeartbeatEvent','url(#off-line-icon_clip0_910_343)','UniverCollaborationClientUIPlugin','_onRefRangeChange','10289103xqdvCK','_updateCollabCursors','_handleHover','398835rBjYQD','concat','triggerDblclick','_getScale','ThemeService','75wnHHes','Rectangle','CommandType','EMAIL_HAS_BEEN_BOUND','_urlService','black','selections','clipPath','Failed','15743WuWBxT','DocStateChangeManagerService','getValue','use','hovered','debounce','bottom','setInterval','DeleteRangeMoveLeftCommandId','object','backgroundColor','DEFAULT_WS_SESSION_TICKET_URL','_cursors','_transformPreviousActiveRange','HEADER_MENU','COLORS','_collabCursorController','_injector','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','restore','_sheetSkeletonManagerService','roomMembers$','getConfig','string','WECHAT_HAS_BEEN_BOUND','http://www.w3.org/2000/svg','LICENSE_MAX_UNITS_EXCEEDED','transform','LICENSE_DISTRO_REJECTED','off-line-icon','_scheduleHeartbeat','ALREADY_EXISTS','_revisionService','RECT','_labelPosition','unitId','_imageIoService','dispose','_clearOtherTimers','Shape','apply','APPLY_PERMISSION_DENIED','_transformUndoRedoStack','collabCursorState$','_handleLeaveEvent','fill','registerComponent','className','getCollabCursors$','defineProperty','SNAPSHOT_INVALID_SNAPSHOT','_heartbeatTimer','indexOf','ticket','_scene','collabStatus.conflict','findNodePositionByCharIndex','onRendered','IBeforeCloseService','engine','YUUMI_ALL_TABLES_IS_INVALID','AWAITING','@univerjs/sheets-ui','@univerjs-pro/collaboration-client','type','CollaborationEvent','registerRefRange','arc','error','measureText','url(#on-line-icon_clip0_910_349)','_logService','subscribeEvent','getViewport','6wVRiAm','YUUMI_SUBSCRIPTION_NOT_FOUND','white','dispose$','Subject','CollaborationStatusDisplay','unload','_assignedColors','UniverRpc','_entities','CLOSE_ROOM','event$','UniverProCollaboration','fillText','collaboration-client.offline-data-not-saved','_docSyncEditingCollabCursorService','getCurrent','red.300','SheetSkeletonManagerService','height','m2Prime','IConfigService','column','_removeCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','EffectRefRangId','RxDisposable','handleInsertRangeMoveDown','ENSURE_SNAPSHOT_EXECUTION','SOCKET_FAILED_RETRY','roomMembers','_toggleOffline','UniverDrawing','FromArray','Inject','newValue','collabStatus.offline','mutations','_document','_localeService','9IwiaXz','unitID','_refreshCollabCursors','activeSheet$','UniverCore','getParam','_session','AWAITING_WITH_PENDING','assign','size','_getSessionTicket','next','CollaborationSessionService','_collabSessionService','getOwnPropertySymbols','uni.network.url-service','actions','USERS_LEAVE','get','getColor','sheetId','_entityInit$','currentTheme$'];_0xcd77=function(){return _0x448626;};return _0xcd77();}
|
|
1
|
+
function _0x35b5(){const _0xbdc0e9=['tag','assign','_dataLoaderService','yellow.400','then','attrs','SNAPSHOT_HAS_BEEN_REMOVED','getRenderById','SessionStatus','startColumn','YUUMI_ASYNCIO_CANCELLED','body','_lastPointer','UNIVER_SHEET','fillStyle','subscribe','getColor','NOT_FOUND','ITransformService','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','red.300','LOGIN_FAILED','arc','UNDEFINED','_hideTimer','extend','univerjs-icon\x20univerjs-icon-','_config','isTransformMutationsWithChangesetSuccess','DependentOn','APPLY_REJECT','UniverSheets','popstate','setShapeProps','_cursorShapes','uni.network.url-service','getMergeData','transformMutation','handleInsertCol','init','CommandType','_transformUndoRedoStack','UniverRpc','UniverInstanceType','propertyIsEnumerable','_init','CollaborationSocketService','length','CollaborationStatus','setItem','_uiPartsService','filter','debounceTime','4034826YFyOXj','flatMap','onPointerEnter$','http://www.w3.org/2000/svg','COMPLETION_FINISHED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','registerRenderModule','OTHER_CLIENTS_EDITING','icon','setAlpha','AWAITING_WITH_PENDING','_updateLocalCursor','combineLatest','DocStateChangeManagerService','6741777BRZYgu','makeDirty','parse','fillRule','getConfig','session.connection-failed','requireSession','values','getItem','collabStatus.synced','getVpScrollXYInfoByPosToVp','CollaborationUIEventId','1661810tszjhE','/run/','getParam','closePath','NodePositionConvertToCursor','ALREADY_EXISTS','WebURLService','LICENSE_IMPORT_SIZE_EXCEEDED','exports','unit','toRgbString','unshift','_shapes','APPLY_DUPLICATED','code','YUUMI_RATE_OVER_LIMIT','_scheduleClearOtherTimer','BehaviorSubject','UNRECOGNIZED','YUUMI_UNABLE_LOAD_URL','addObject','transformSelections','registerDependencies','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','saveImage','_unitOnClients','push','disposeUnit','SheetCollabCursorShape','href','@univerjs/core','isEditing','get','UNIVER_DOC','_entityInit$','INVALID_INVITE_CODE','white','UniverProCollaboration','IUniverInstanceService','searchParams','function','APPLY_NON_SEQUENTIAL_REVISION','runOnServer','loadUnit','enableLocalCache','collaboration.single-unit.warning','currentTheme$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_DISTRO_REJECTED','UniverCore','_injector','prototype','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OTHER_CLIENT_EDITING','url(#on-line-icon_clip0_910_349)','_handleHover','YUUMI_SUBSCRIPTION_NOT_FOUND','RichTextEditingMutation','0\x200\x2017\x2016','params','pluginName','UniverCollaborationClientPlugin','INVALID_ARGUMENT','getActiveSheet','Unknown\x20user','lineTo','updateOfflineData','_getMergeRange','_toggleOffline','Workbook','_backgroundColor','range','EffectRefRangId','@univerjs/ui','_initStatusListener','5228388vEvdhd','EMAIL_VERIFY_CODE_MISMATCH','WebSocketService','disableLocalCache','getSheetBySheetId','LOCAL_CACHE_INTERVAL_KEY','UniverEngineRender','onPointerMove$','react','CollaborationController','send','_toggleOnline','sessionTicket','RegularPolygon','NO_OTHER_CLIENTS_EDITING','TEXT_RANGE_LAYER_INDEX','Failed','_onRefRangeChange','location','className','status$','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','MUTATION','bottom','UniverCollaborationClientUIPlugin','_drawTextRange','_ensureSubject','add','getValue','addEventListener','getCollabEntity$','UniverIcon','_id','OffLineIcon','@univerjs/engine-render','_localeService','result','_onCursorUpdate','_collabCursorController','SheetsSelectionsService','_drawAnchor','_initEntityListener','PENDING','_unitStatus','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_status$','IBeforeCloseService','LOCAL_CACHE_INTERVAL','_setupBeforeClosingHandler','CollaborationUIEventService','endRow','type','onTransformChange$','ILocalStorageService','actions','jsx','NOT_COLLAB','ranges','_syncEditingCollabCursorService','YUUMI_ALL_TABLES_IS_INVALID','OnLineIcon','SHEET_VIEWPORT_KEY','DesktopCollaborationStatusDisplayController','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','USER_NOT_INVITED_CODE','getAncestorScale','min','_draw','_univerInstanceService','USERS_LEAVE','collab-rect-range-','SUBMIT_CHANGESET_TIMEOUT','_sheetSkeletonManagerService','origin','engine','Disposable','NodePositionConvertToRectRange','_name','_cursor','RxDisposable','getCurrentRevOfUnit','getFocusedUnit','_labelPosition','addClipboardHook','_setupSubUnitSync','subunit','getActiveRange','createElement','activeSheet$','_docSkeleton','CollaborationStatusDisplay','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','throttleTime','beginPath','_document','ILocalCacheService','INTERNAL_ERROR','has','getTypeOfUnitAdded$','black','size','addObjects','invokeId','DisposableCollection','_saveTaskMap','SOCKET_FAILED_RETRY','contains','_saveCache','_refRangeService','div','univer-flex\x20univer-items-center','onLocalMutation','collab-text-range-','measureText','loadOfflineData','M0\x200H16V16H0z','deserializeRangeWithSheet','Shape','CollaborationEvent','UniverProCollaborationClient','_hover','getUniverSheetInstance','@univerjs-pro/collaboration','rgba(255,\x20255,\x20255,\x200.01)','setParam','handleIRemoveRow','getCellPositionByOffset','_initStatusComponent','DocIMEInputManagerService','_color','createInstance','handleDeleteRangeMoveLeft','addHandlerCallback','debounce','_transformService','jsxs','YUUMI_CONNECTOR_URL_NOT_FOUND','saveTaskMap','getRangePointData','getLocalCacheKey','_docStateChangeManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','cursorInfo$','forEach','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','delete','history','UNAUTHENTICATED','registerComponent','none','distinctUntilChanged','unload','Vector2','Optional','InsertRangeMoveDownCommandId','PERMISSION_DENIED','_render','svg','DocCollaborationEntity','isArray','getMember','roomMembers','_colorIndex','_commandService','_removeClearOtherTimer','clsx','getDocRanges','_collabSessionService','cursorInfo','generateRandomId','_context','_getAnchorBounding','_messageService','text','m1Prime','@univerjs/engine-formula','RECT','_revisionService','blue.400','saveOfflineData','Tools','_imageIoService','_docSyncEditingCollabCursorService','CLOSE_ROOM','handleInsertRangeMoveDown','off-line-icon_clip0_910_343','_collaborationUIEventService','DEFAULT_WS_SESSION_TICKET_URL','TEXT','reconnect','@univerjs/drawing','registerRefRange','whenReady','startRow','includes','_anchor','80001wzgkGQ','UniverDrawing','fill','indexOf','unitID','next','_logService','restore','height','_initResize','displayName','SOCKET_FAILED','MessageType','_registerDependencies','session.will-retry','RemoteUniscriptService','_docTransformSelectionsService','deepClone','SetDocZoomRatioOperation','mutations','DataLoaderService','doc.mutation.rich-text-editing','clearTimeout','setInterval','drawWith','_updateSubUnitFromURLParams','selection','_collabCursorState$','handleInsertRangeMoveRight','_startDocCollabCursor','InsertRangeMoveRightCommandId','getRelativeToViewportCoord','onStarting','_getSessionTicket','replaceDocRanges','collaboration.closeRoom','ICommandService','stringify','getStateCache','PY_RUNTIME_SCRIPT_ERROR','_onCursorDelete','children','CONNECTOR_DATA_TOO_LARGE','_entities','WECHAT_HAS_BEEN_BOUND','@univerjs/design','_createSocketURL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collaborationController','JOIN_ROOM_FAILED','current','Rectangle','_startSheetCollabCursor','ISnapshotServerService','handleInsertRow','_disabled','executeCommand','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','with','_docTransformStateCacheService','onCommandExecuted','APPLY_PERMISSION_DENIED','_urlService','replaceState','map','SNAPSHOT_INVALID_SNAPSHOT','registerBeforeClose','#FFF','5KxIbdC','asObservable','debug','[CollaborationDataLoaderController]','_beforeCloseService','YUUMI_NO_CUBOID_FOR_QUESTION','_range','RemoveRowCommandId','_instanceService','subscribeEvent','...','top','wsSessionTicketUrl','redoState','VIEW_MAIN','850272nwBypU','FETCH_MISS','permission.content','_assignedColors','TOO_MANY_REQUESTS','_anchorDot','@univerjs-pro/collaboration-client','object','UniverDocs','substring','InsertRowCommandId','complete','getOffsetConfig','replace','newValue','currentColor','editingUnit','INVITE_CODE_ALREADY_BOUND','name','RemoveColCommandId','transformStateCache','getSheetId','_send','_getSaveTimeout','_colorAssignService','getUnitId','_registerRenderDependencies','_roomMembers$','mask','switchMap','connectInjector','runId','_getSheetObject','collab-client.tooltip.reconnect','split','removeParam','random','transformMutationsWithChangeset','Inject','12bUCstF','FromArray','collabStatus.fetchMiss','skeleton','undoState','_initDependencies','defineProperty','APPLY_REVISION_CONFILICT','CollaborationSessionService','roomMembers$','Rect','m2Prime','UPDATE_CURSOR','DocSelectionManagerService','pushState','url(#$1','path','evenodd','Plugin','width','unsubscribe','collabCursorState$','merge','RevisionService','80JNWIyz','WebBrowserSingleActiveUnitService','getSheetObject','isTransformMutationFailure','handleMoveRange','_clearOtherTimers','_initEvent','hovered','show','entries','getColorFromTheme','_docTransformIMECacheService','purple.300','save','toDisposable','shareReplay','_hovered','_refreshCollabCursors','assignAColorForMemberID','COLORS','_docClipboardService','_drawRectRange','IMessageService','IRenderManagerService','colorChannel1','call','collaboration-client.offline-data-not-saved','getUnitStatus$','onMouseMove','_initCommandExecutedListener','getCurrent','triggerDblclick','_textBubble','getMemberID','fromEventSubject','Injector','amd','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','hasOwnProperty','SetWorksheetActivateCommand','_session','_scene','set','eventID','Subject','UniverNetwork','defIds','collaboration-client-ui.config','_updateCollabCursors','labelPosition','event$','MOBILE_HAS_BEEN_BOUND','syncEditingCollabCursor','_renderManagerService','_updateURLWithCurrentState','some','Error','MemberService','max','CONFLICT','IConfigService','focused$','unitId','currentSkeleton$','defs','CollaborationDataLoaderController','OFFLINE','textRanges','1em','_online','serializeRangeWithSheet','collabStatus.offline','INVITE_CODE_HAS_BEEN_UES','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_localCacheService','toString','Module','backgroundColor','onPointerLeave$','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','ISocketService','getUndoRedoMutationParamsCache','forwardRef','sheetId','transformRemoteChangeset','LocaleService','idSuffix','UnitStatus','UniverDesign','getSkeleton','_eventUnsubscribe','toStringTag','dispose$','_handleJoinEvent','takeUntil','ONLINE','137462ZPPASd','_transformPreviousActiveRange','_cursors','_doCreateSocket','operators','subUnitId','fromEvent','YUUMI_AI_RUN_FAILED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleEvent','from','resize','string','pipe','_selfUnitIDs','Warning','IURLService','setTimeout','color','getCollabCursors$','getUnhiddenWorksheets','createIdentifier','_cursorInfo$','209lvJmge','UniverProCollaborationClientUi','LICENSE_EXPORT_SIZE_EXCEEDED','_docSkeletonManagerService','_getScale','url(#off-line-icon_clip0_910_343)','setConfig','ENSURE_SNAPSHOT_EXECUTION','disposeWithMe','_configService','all','_httpService','_heartbeatTimer','CHANGESET_REVISION_CONFILICT','_scheduleHeartbeat','search','setActiveRange','_notificationService','getOwnPropertySymbols','transformIMECache','_localStorageService','hide','endColumn','exhaustSavingTask','error','dispose','DOC_RANGE_TYPE','docStateChange$','BrowserCollaborationSocketService','SYNCED','DeleteRangeMoveLeftCommandId','_themeService','concat','data','on-line-icon_clip0_910_349','_cachedData','AWAITING','MoveRangeCommandId','_memberService','React','_handleLeaveEvent','round','translate(.97)','DocSkeletonManagerService','_removeCollabCursors','findNodePositionByCharIndex','sheetID','@univerjs/docs-ui','@univerjs/rpc','collabStatus.notCollab','SetTextSelectionsOperation','getCurrentUnitForType','useDependency','DeleteRangeMoveUpCommandId','handleIRemoveCol','urlChange$','UniverUi','getTypeOfUnitDisposed$','rxjs'];_0x35b5=function(){return _0xbdc0e9;};return _0x35b5();}function _0x5710(_0x554243,_0x5ee721){const _0x35b5b2=_0x35b5();return _0x5710=function(_0x571080,_0x19ab7a){_0x571080=_0x571080-0x18b;let _0x58d01a=_0x35b5b2[_0x571080];return _0x58d01a;},_0x5710(_0x554243,_0x5ee721);}(function(_0x358744,_0x404d7a){const _0x27e36d=_0x5710,_0x2ef9c1=_0x358744();while(!![]){try{const _0x241334=parseInt(_0x27e36d(0x24e))/0x1*(parseInt(_0x27e36d(0x2c7))/0x2)+-parseInt(_0x27e36d(0x1d4))/0x3*(-parseInt(_0x27e36d(0x266))/0x4)+parseInt(_0x27e36d(0x218))/0x5*(parseInt(_0x27e36d(0x34f))/0x6)+parseInt(_0x27e36d(0x35d))/0x7+parseInt(_0x27e36d(0x227))/0x8+parseInt(_0x27e36d(0x3b4))/0x9+-parseInt(_0x27e36d(0x369))/0xa*(parseInt(_0x27e36d(0x2de))/0xb);if(_0x241334===_0x404d7a)break;else _0x2ef9c1['push'](_0x2ef9c1['shift']());}catch(_0x1e6eda){_0x2ef9c1['push'](_0x2ef9c1['shift']());}}}(_0x35b5,0x7fccf),function(_0x36507d,_0x2ea418){const _0x567c59=_0x5710;typeof exports==_0x567c59(0x22e)&&typeof module<'u'?_0x2ea418(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x567c59(0x391)&&define[_0x567c59(0x28a)]?define([_0x567c59(0x371),_0x567c59(0x22d),_0x567c59(0x387),_0x567c59(0x3d6),'@univerjs/network',_0x567c59(0x30d),_0x567c59(0x1ce),_0x567c59(0x318),_0x567c59(0x42e),'@univerjs/docs',_0x567c59(0x1bf),'@univerjs/sheets','rxjs/operators','@univerjs/sheets-ui','react/jsx-runtime',_0x567c59(0x3b2),_0x567c59(0x201),_0x567c59(0x3bc),_0x567c59(0x30e)],_0x2ea418):(_0x36507d=typeof globalThis<'u'?globalThis:_0x36507d||self,_0x2ea418(_0x36507d[_0x567c59(0x2df)]={},_0x36507d[_0x567c59(0x42b)],_0x36507d[_0x567c59(0x39a)],_0x36507d[_0x567c59(0x3ba)],_0x36507d[_0x567c59(0x293)],_0x36507d['UniverDocsUi'],_0x36507d[_0x567c59(0x1d5)],_0x36507d[_0x567c59(0x318)],_0x36507d[_0x567c59(0x38e)],_0x36507d[_0x567c59(0x22f)],_0x36507d['UniverEngineFormula'],_0x36507d[_0x567c59(0x339)],_0x36507d['rxjs'][_0x567c59(0x2cb)],_0x36507d['UniverSheetsUi'],_0x36507d['React'],_0x36507d[_0x567c59(0x316)],_0x36507d[_0x567c59(0x2bf)],_0x36507d[_0x567c59(0x305)],_0x36507d[_0x567c59(0x344)]));}(this,function(_0x2371ad,_0x2390c9,_0x52c702,_0x711590,_0x5b0bb2,_0x458abf,_0x3e48c5,_0x160e63,_0x4d50de,_0xf45cd5,_0x492681,_0x3e234a,_0x17f6ed,_0x32553f,_0x5c8876,_0x28ba4b,_0x1de269,_0x9dce46,_0x23c22c){'use strict';const _0x36331a=_0x5710;var _0x25b229=Object[_0x36331a(0x254)],_0x21fe82=(_0x6eaf32,_0x334a65,_0x36e17d)=>_0x334a65 in _0x6eaf32?_0x25b229(_0x6eaf32,_0x334a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36e17d}):_0x6eaf32[_0x334a65]=_0x36e17d,_0x5cb653=(_0x491bc3,_0x5ca211,_0x356dd5)=>_0x21fe82(_0x491bc3,typeof _0x5ca211!='symbol'?_0x5ca211+'':_0x5ca211,_0x356dd5),_0x3a95b0=Object['getOwnPropertyDescriptor'],_0x16bc89=(_0x260294,_0x148bae,_0x1eba39,_0x30cf61)=>{const _0x21828a=_0x36331a;for(var _0x2cc8e0=_0x30cf61>0x1?void 0x0:_0x30cf61?_0x3a95b0(_0x148bae,_0x1eba39):_0x148bae,_0x5d2628=_0x260294[_0x21828a(0x349)]-0x1,_0xba1aee;_0x5d2628>=0x0;_0x5d2628--)(_0xba1aee=_0x260294[_0x5d2628])&&(_0x2cc8e0=_0xba1aee(_0x2cc8e0)||_0x2cc8e0);return _0x2cc8e0;},_0x4e017e=(_0x15d1ce,_0x146f34)=>(_0x2e087d,_0x340e5d)=>_0x146f34(_0x2e087d,_0x340e5d,_0x15d1ce);let _0x447eb7=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x4fc9d2,_0x16d7b8){const _0x399549=_0x36331a;super(),this[_0x399549(0x27a)]=_0x4fc9d2,this[_0x399549(0x1c5)]=_0x16d7b8,this[_0x399549(0x347)]();}['_init'](){const _0xfc7b7=_0x36331a,_0x4f3b5b=this;this[_0xfc7b7(0x2e6)](this[_0xfc7b7(0x27a)][_0xfc7b7(0x407)]({'onBeforePasteImage':async _0x12b0a1=>{const _0x33aa68=_0xfc7b7,_0x821fe9=await _0x4f3b5b[_0x33aa68(0x1c5)][_0x33aa68(0x381)](_0x12b0a1);return _0x821fe9?{'source':_0x821fe9['source'],'imageSourceType':_0x821fe9['imageSourceType']}:null;}}));}};_0x447eb7=_0x16bc89([_0x4e017e(0x0,_0x458abf['IDocClipboardService']),_0x4e017e(0x1,_0x3e48c5['IImageIoService'])],_0x447eb7);const _0x5e5195=[_0x36331a(0x272),'jiqing.500','green.600',_0x36331a(0x32e),_0x36331a(0x1c2),_0x36331a(0x31c)];class _0x12dd9b extends _0x52c702[_0x36331a(0x3ff)]{constructor(){const _0x3a81ab=_0x36331a;super(...arguments),_0x5cb653(this,_0x3a81ab(0x22a),new Map()),_0x5cb653(this,_0x3a81ab(0x1b2),0x0);}[_0x36331a(0x278)](_0x54b9b9){const _0x53347d=_0x36331a;if(this[_0x53347d(0x22a)]['has'](_0x54b9b9))return this[_0x53347d(0x22a)]['get'](_0x54b9b9);const _0x59c20a=_0x5e5195[this[_0x53347d(0x1b2)]];return this['_colorIndex']=(this[_0x53347d(0x1b2)]+0x1)%_0x5e5195[_0x53347d(0x349)],this['_assignedColors'][_0x53347d(0x290)](_0x54b9b9,_0x59c20a),_0x59c20a;}}function _0x15cc15(_0x326318){const _0x3333fc=_0x36331a;let _0x3a0521='';for(const _0x39625f of _0x326318){const {startOffset:_0x3176a3,endOffset:_0x281ed2,isActive:_0x4aaf59,rangeType:_0x425ad4,segmentId:_0x112c05,segmentPage:_0x4810e8}=_0x39625f;_0x3a0521[_0x3333fc(0x349)]&&(_0x3a0521+=','),_0x3a0521+=_0x3176a3+':'+_0x281ed2+':'+(_0x4aaf59?'1':'0')+':'+_0x425ad4+':'+_0x112c05+':'+_0x4810e8;}return _0x3a0521;}function _0x4a8de4(_0x701250){const _0xe9600b=_0x36331a,_0x59ccbd=_0x701250[_0xe9600b(0x249)](','),_0x4a60ab=[];for(const _0x2fb054 of _0x59ccbd){const [_0x1c970f,_0x6c85af,_0x8a6984,_0x56ca77,_0x12dd68,_0x597488]=_0x2fb054[_0xe9600b(0x249)](':');_0x4a60ab['push']({'startOffset':Number(_0x1c970f),'endOffset':Number(_0x6c85af),'collapsed':_0x1c970f===_0x6c85af,'isActive':_0x8a6984==='1','rangeType':_0x56ca77===_0x52c702[_0xe9600b(0x2f8)][_0xe9600b(0x1cc)]?_0x52c702['DOC_RANGE_TYPE']['TEXT']:_0x52c702['DOC_RANGE_TYPE'][_0xe9600b(0x1c0)],'segmentId':typeof _0x12dd68==_0xe9600b(0x2d3)?String(_0x12dd68):'','segmentPage':Number(_0x597488!=null?_0x597488:-0x1)});}return _0x4a60ab[_0xe9600b(0x29d)](_0x54e063=>_0x54e063['isActive'])||(_0x4a60ab[0x0]['isActive']=!0x0),_0x4a60ab;}class _0xd2d642 extends _0x52c702[_0x36331a(0x403)]{constructor(){const _0x3dc8cb=_0x36331a;super(...arguments),_0x5cb653(this,_0x3dc8cb(0x1ef),new _0x160e63['BehaviorSubject'](null)),_0x5cb653(this,_0x3dc8cb(0x263),this[_0x3dc8cb(0x1ef)][_0x3dc8cb(0x219)]());}[_0x36331a(0x29a)](_0x11441f){const _0x3f429e=_0x36331a,{unitID:_0x463680,memberID:_0x42af85,textRanges:_0x290eee}=_0x11441f,_0x57abd1=_0x15cc15(_0x290eee);if(_0x57abd1==='')return;const _0x4f117c={'unitID':_0x463680,'memberID':_0x42af85,'selection':_0x57abd1};this[_0x3f429e(0x1ef)][_0x3f429e(0x1d9)](_0x4f117c);}}var _0x2c6583=Object[_0x36331a(0x2b6)],_0x23d031=(_0x500c05,_0x529142,_0x123ba5,_0x2f40bb)=>{const _0x5d4775=_0x36331a;for(var _0xf29eca=_0x2f40bb>0x1?void 0x0:_0x2f40bb?_0x2c6583(_0x529142,_0x123ba5):_0x529142,_0x187cb1=_0x500c05[_0x5d4775(0x349)]-0x1,_0x45ce19;_0x187cb1>=0x0;_0x187cb1--)(_0x45ce19=_0x500c05[_0x187cb1])&&(_0xf29eca=_0x45ce19(_0xf29eca)||_0xf29eca);return _0xf29eca;},_0x171ab1=(_0x52d36b,_0x4fb926)=>(_0x1f4a4b,_0x16b89f)=>_0x4fb926(_0x1f4a4b,_0x16b89f,_0x52d36b);const _0x4877e4=0x12c,_0x4c7853=0x64;let _0x2655ba=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x3d7eff,_0x39ae12,_0x55c7b4,_0x40942e,_0x8dcd7,_0x2a15c4,_0x596f6a,_0x28e14d,_0x55e1e6){const _0x502b2c=_0x36331a;super(),_0x5cb653(this,_0x502b2c(0x2ab),!0x1),_0x5cb653(this,_0x502b2c(0x347),!0x1),_0x5cb653(this,_0x502b2c(0x2dd),new _0x160e63[(_0x502b2c(0x37a))](new Map())),_0x5cb653(this,_0x502b2c(0x19e),this[_0x502b2c(0x2dd)]['asObservable']()),_0x5cb653(this,_0x502b2c(0x242),new _0x160e63[(_0x502b2c(0x37a))]([])),_0x5cb653(this,_0x502b2c(0x257),this[_0x502b2c(0x242)]['pipe'](_0x160e63[_0x502b2c(0x34e)](_0x4877e4))),_0x5cb653(this,_0x502b2c(0x35a),_0x52c702[_0x502b2c(0x195)](_0x24b422=>{const _0x2fff5c=_0x502b2c,_0x2831ad={'eventID':_0x4d50de['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2fff5c(0x1d8)],'memberID':this['_session'][_0x2fff5c(0x287)](),'selection':_0x15cc15(_0x24b422)}};this['_session'][_0x2fff5c(0x3be)](_0x2831ad,this[_0x2fff5c(0x1d8)]);},_0x4c7853)),(this[_0x502b2c(0x1d8)]=_0x3d7eff,this['_session']=_0x39ae12,this['_injector']=_0x55c7b4,this[_0x502b2c(0x23f)]=_0x40942e,this['_memberService']=_0x8dcd7,this[_0x502b2c(0x3ee)]=_0x2a15c4,this[_0x502b2c(0x196)]=_0x596f6a,this[_0x502b2c(0x3f8)]=_0x28e14d,this[_0x502b2c(0x1b3)]=_0x55e1e6);}get[_0x36331a(0x1b8)](){const _0xed3664=_0x36331a;return this[_0xed3664(0x2dd)][_0xed3664(0x3d0)]();}get[_0x36331a(0x1b1)](){const _0x3b3267=_0x36331a;return this[_0x3b3267(0x242)][_0x3b3267(0x3d0)]();}[_0x36331a(0x2f7)](){const _0x5354fb=_0x36331a;super[_0x5354fb(0x2f7)](),this[_0x5354fb(0x2dd)][_0x5354fb(0x1d9)](new Map()),this[_0x5354fb(0x2dd)][_0x5354fb(0x232)](),this['_roomMembers$']['next']([]),this[_0x5354fb(0x242)][_0x5354fb(0x232)]();}[_0x36331a(0x341)](){const _0x2f61d2=_0x36331a;this['_init']||(this[_0x2f61d2(0x347)]=!0x0,this['_session']['sessionStatus$'][_0x2f61d2(0x2d4)](_0x160e63['takeUntil'](this[_0x2f61d2(0x2c3)]))[_0x2f61d2(0x328)](_0x5be31b=>{const _0x1c9ee0=_0x2f61d2;_0x5be31b===_0x2390c9[_0x1c9ee0(0x321)][_0x1c9ee0(0x2c6)]?this['_toggleOnline']():this[_0x1c9ee0(0x3ad)]();}),this[_0x2f61d2(0x28e)][_0x2f61d2(0x298)]['pipe'](_0x160e63[_0x2f61d2(0x2c5)](this[_0x2f61d2(0x2c3)]))[_0x2f61d2(0x328)](_0xc9ace5=>{const _0x30ce39=_0x2f61d2,_0x1acbf5=_0xc9ace5[_0x30ce39(0x291)];_0x1acbf5===_0x4d50de['CollaborationEvent'][_0x30ce39(0x25a)]&&this[_0x30ce39(0x3d9)](_0xc9ace5),_0x1acbf5===_0x4d50de[_0x30ce39(0x42a)][_0x30ce39(0x3f9)]&&this[_0x30ce39(0x1fc)](_0xc9ace5);}),this[_0x2f61d2(0x2e6)](this['_commandService'][_0x2f61d2(0x210)](_0xf96644=>{const _0x5a414b=_0x2f61d2,_0xa3a5bc=_0xf96644[_0x5a414b(0x3a4)];_0xa3a5bc!=null&&this[_0x5a414b(0x2ab)]&&_0xf96644['id']===_0xf45cd5[_0x5a414b(0x310)]['id']&&_0xa3a5bc[_0x5a414b(0x2a4)]===this[_0x5a414b(0x1d8)]&&_0xa3a5bc[_0x5a414b(0x388)]===!0x1&&_0xa3a5bc[_0x5a414b(0x3ed)]['length']>0x0&&this['_updateLocalCursor'](_0xa3a5bc[_0x5a414b(0x3ed)]);})),this[_0x2f61d2(0x3ee)][_0x2f61d2(0x263)]['pipe'](_0x160e63[_0x2f61d2(0x2c5)](this[_0x2f61d2(0x2c3)]))[_0x2f61d2(0x328)](_0x3cdbc9=>{const _0x5d9aad=_0x2f61d2;if((_0x3cdbc9==null?void 0x0:_0x3cdbc9[_0x5d9aad(0x1d8)])!==this[_0x5d9aad(0x1d8)])return;const _0x48f4a2={'eventID':_0x4d50de[_0x5d9aad(0x42a)][_0x5d9aad(0x25a)],'data':_0x3cdbc9};this[_0x5d9aad(0x3d9)](_0x48f4a2);}),this[_0x2f61d2(0x2e6)](this[_0x2f61d2(0x1b3)][_0x2f61d2(0x210)](_0x4d58be=>{const _0x2b7691=_0x2f61d2;if(_0x4d58be[_0x2b7691(0x3a4)]==null)return;const _0x7edfba=_0x4d58be[_0x2b7691(0x3a4)];if(_0x4d58be['id']!==_0xf45cd5[_0x2b7691(0x3a2)]['id']||_0x7edfba[_0x2b7691(0x2a4)]!==this[_0x2b7691(0x1d8)])return;const _0x236671={'id':_0x2b7691(0x1e9),'params':_0x7edfba},_0xdea09=this[_0x2b7691(0x1b8)];for(const [_0x690189,_0x5dc37a]of _0xdea09){const _0x3893f4={'id':_0x2b7691(0x1e9),'params':{'unitId':this[_0x2b7691(0x1d8)],'actions':null,'textRanges':_0x5dc37a[_0x2b7691(0x3ed)]}},_0x10c7df=this[_0x2b7691(0x196)][_0x2b7691(0x33f)](_0x236671,_0x3893f4,!0x1);if(_0x4d50de[_0x2b7691(0x269)](_0x10c7df))throw _0x10c7df[_0x2b7691(0x2f6)];_0xdea09[_0x2b7691(0x290)](_0x690189,{..._0x5dc37a,'ranges':_0x10c7df[_0x2b7691(0x259)][_0x2b7691(0x3a4)][_0x2b7691(0x2a9)]});}queueMicrotask(()=>{const _0x5157dd=_0x2b7691;this[_0x5157dd(0x2dd)][_0x5157dd(0x1d9)](_0xdea09);});})));}['_onCursorUpdate'](_0x44e46b){const _0x9e1d40=_0x36331a;var _0x158bcc,_0x1ebcde;const {memberID:_0x56ca9f,selection:_0x5eeeeb}=_0x44e46b[_0x9e1d40(0x2ff)],_0x20f878=_0x4a8de4(_0x5eeeeb),_0x46f9d4=(_0x1ebcde=(_0x158bcc=this[_0x9e1d40(0x304)][_0x9e1d40(0x1b0)](this[_0x9e1d40(0x1d8)],_0x56ca9f))==null?void 0x0:_0x158bcc['name'])!=null?_0x1ebcde:_0x9e1d40(0x3a9),_0x105ac5={'color':this[_0x9e1d40(0x23f)][_0x9e1d40(0x278)](_0x56ca9f),'name':_0x46f9d4,'ranges':_0x20f878},_0x5a6119=this['cursorInfo'];_0x5a6119[_0x9e1d40(0x290)](_0x56ca9f,_0x105ac5),this[_0x9e1d40(0x2dd)][_0x9e1d40(0x1d9)](_0x5a6119);}['_onCursorDelete'](_0x170948){const _0x2fe4c4=_0x36331a,{memberID:_0x1fed5b}=_0x170948[_0x2fe4c4(0x2ff)],_0x14230c=this[_0x2fe4c4(0x1b8)];_0x14230c[_0x2fe4c4(0x1a1)](_0x1fed5b),this[_0x2fe4c4(0x2dd)]['next'](_0x14230c);}[_0x36331a(0x3bf)](){const _0x11d9d2=_0x36331a;var _0x53a6fe;if(this[_0x11d9d2(0x2ab)]=!0x0,((_0x53a6fe=this[_0x11d9d2(0x3f8)][_0x11d9d2(0x405)]())==null?void 0x0:_0x53a6fe[_0x11d9d2(0x240)]())!==this[_0x11d9d2(0x1d8)])return;const _0x392e35=this['_injector']['get'](_0xf45cd5[_0x11d9d2(0x25b)])['getDocRanges']();Array[_0x11d9d2(0x1af)](_0x392e35)&&_0x392e35['length']>0x0&&this[_0x11d9d2(0x35a)](_0x392e35);}[_0x36331a(0x3ad)](){const _0x4244d0=_0x36331a;this[_0x4244d0(0x2ab)]=!0x1;}};_0x2655ba=_0x23d031([_0x171ab1(0x2,_0x52c702['Inject'](_0x52c702[_0x36331a(0x289)])),_0x171ab1(0x3,_0x52c702['Inject'](_0x12dd9b)),_0x171ab1(0x4,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x29f)])),_0x171ab1(0x5,_0x52c702[_0x36331a(0x24d)](_0xd2d642)),_0x171ab1(0x6,_0x4d50de['ITransformService']),_0x171ab1(0x7,_0x52c702['IUniverInstanceService']),_0x171ab1(0x8,_0x52c702['ICommandService'])],_0x2655ba);var _0x3ec5eb=Object['getOwnPropertyDescriptor'],_0x8ad732=(_0x51d4a3,_0x51da94,_0x132f79,_0x2afdef)=>{const _0x1c9634=_0x36331a;for(var _0x3cf90c=_0x2afdef>0x1?void 0x0:_0x2afdef?_0x3ec5eb(_0x51da94,_0x132f79):_0x51da94,_0x1b09e4=_0x51d4a3[_0x1c9634(0x349)]-0x1,_0x4ecf7;_0x1b09e4>=0x0;_0x1b09e4--)(_0x4ecf7=_0x51d4a3[_0x1b09e4])&&(_0x3cf90c=_0x4ecf7(_0x3cf90c)||_0x3cf90c);return _0x3cf90c;},_0x17bd86=(_0x2eb96d,_0x53ed4f)=>(_0x494422,_0x584057)=>_0x53ed4f(_0x494422,_0x584057,_0x2eb96d);const _0x1d58f3=0x12c,_0x10a156=0x64,_0x31d239=()=>{let _0x476865=[],_0x2e3b91=!0x1;return _0x245f60=>{const _0x230bf6=_0x5710;_0x476865[_0x230bf6(0x383)](_0x245f60),_0x2e3b91||(_0x2e3b91=!0x0,setTimeout(()=>{const _0x2f0009=_0x230bf6;_0x476865[_0x2f0009(0x19f)](_0x52980c=>_0x52980c()),_0x476865=[],_0x2e3b91=!0x1;}));};};let _0x26a887=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x2edeee,_0x3cb037,_0x3d57ea,_0x200b59,_0x273186,_0x37f0d2,_0x4907a3,_0x10863b){const _0x36ac90=_0x36331a;super(),_0x5cb653(this,_0x36ac90(0x2ab),!0x1),_0x5cb653(this,_0x36ac90(0x347),!0x1),_0x5cb653(this,_0x36ac90(0x2dd),new _0x160e63[(_0x36ac90(0x37a))](new Map())),_0x5cb653(this,_0x36ac90(0x19e),this[_0x36ac90(0x2dd)]['asObservable']()),_0x5cb653(this,_0x36ac90(0x242),new _0x160e63[(_0x36ac90(0x37a))]([])),_0x5cb653(this,_0x36ac90(0x257),this[_0x36ac90(0x242)][_0x36ac90(0x2d4)](_0x160e63[_0x36ac90(0x34e)](_0x1d58f3))),_0x5cb653(this,_0x36ac90(0x35a),_0x52c702[_0x36ac90(0x195)]((_0x2279b0,_0x1e7b3b)=>{const _0x34f2e5=_0x36ac90,_0x475c4f={'eventID':_0x4d50de[_0x34f2e5(0x42a)][_0x34f2e5(0x25a)],'data':{'unitID':this[_0x34f2e5(0x1d8)],'memberID':this[_0x34f2e5(0x28e)]['getMemberID'](),'selection':_0x492681[_0x34f2e5(0x2ac)](_0x2279b0,_0x1e7b3b[_0x34f2e5(0x3b0)])}};this[_0x34f2e5(0x28e)]['send'](_0x475c4f,this['unitID']);},_0x10a156)),(this['unitID']=_0x2edeee,this[_0x36ac90(0x28e)]=_0x3cb037,this[_0x36ac90(0x39b)]=_0x3d57ea,this[_0x36ac90(0x23f)]=_0x200b59,this[_0x36ac90(0x304)]=_0x273186,this[_0x36ac90(0x3f8)]=_0x37f0d2,this[_0x36ac90(0x1b3)]=_0x4907a3,this[_0x36ac90(0x420)]=_0x10863b);}get['cursorInfo'](){const _0x106328=_0x36331a;return this['_cursorInfo$'][_0x106328(0x3d0)]();}get[_0x36331a(0x1b1)](){const _0x84efdf=_0x36331a;return this[_0x84efdf(0x242)][_0x84efdf(0x3d0)]();}[_0x36331a(0x2f7)](){const _0x186b4e=_0x36331a;super[_0x186b4e(0x2f7)](),this[_0x186b4e(0x2dd)][_0x186b4e(0x1d9)](new Map()),this['_cursorInfo$'][_0x186b4e(0x232)](),this[_0x186b4e(0x242)][_0x186b4e(0x1d9)]([]),this[_0x186b4e(0x242)]['complete']();}[_0x36331a(0x341)](){const _0x1882f9=_0x36331a;this[_0x1882f9(0x347)]||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x160e63['takeUntil'](this[_0x1882f9(0x2c3)]))['subscribe'](_0x1ff664=>{const _0x4b4e21=_0x1882f9;_0x1ff664===_0x2390c9[_0x4b4e21(0x321)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1882f9(0x28e)]['event$'][_0x1882f9(0x2d4)](_0x160e63[_0x1882f9(0x2c5)](this['dispose$']))['subscribe'](_0x512ada=>{const _0x2bfa0=_0x1882f9,_0x3f7438=_0x512ada[_0x2bfa0(0x291)];_0x3f7438===_0x4d50de['CollaborationEvent'][_0x2bfa0(0x25a)]&&this[_0x2bfa0(0x3d9)](_0x512ada),_0x3f7438===_0x4d50de['CollaborationEvent'][_0x2bfa0(0x3f9)]&&this['_onCursorDelete'](_0x512ada);}),this[_0x1882f9(0x3c5)](),this[_0x1882f9(0x2e6)](this[_0x1882f9(0x1b3)][_0x1882f9(0x210)](_0x40ce2a=>{const _0xba59f1=_0x1882f9;if(this[_0xba59f1(0x2ab)]&&_0x40ce2a['id']===_0x3e234a['SetSelectionsOperation']['id']&&_0x40ce2a[_0xba59f1(0x3a4)][_0xba59f1(0x2a4)]===this[_0xba59f1(0x1d8)]){const _0x34837e=_0x40ce2a[_0xba59f1(0x3a4)];this['_updateLocalCursor'](_0x34837e[_0xba59f1(0x2cc)],_0x34837e['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3f58b0){const _0x5aba73=_0x36331a;var _0x233470,_0x436966;const {memberID:_0x5c75b0,selection:_0x87dd82}=_0x3f58b0[_0x5aba73(0x2ff)],{sheetName:_0x577120,range:_0x2c30f2}=_0x492681[_0x5aba73(0x428)](_0x87dd82),_0x3149eb={'name':(_0x436966=(_0x233470=this[_0x5aba73(0x304)]['getMember'](this[_0x5aba73(0x1d8)],_0x5c75b0))==null?void 0x0:_0x233470['name'])!=null?_0x436966:'Unknown\x20user','range':this[_0x5aba73(0x3ac)](_0x577120,_0x2c30f2),'sheetID':_0x577120,'color':this[_0x5aba73(0x23f)][_0x5aba73(0x278)](_0x5c75b0),'selection':_0x87dd82},_0x25fc30=this[_0x5aba73(0x1b8)];_0x25fc30['set'](_0x5c75b0,_0x3149eb),this['_cursorInfo$'][_0x5aba73(0x1d9)](_0x25fc30);}[_0x36331a(0x1fc)](_0x164be1){const _0x468640=_0x36331a,{memberID:_0x54e5cb}=_0x164be1[_0x468640(0x2ff)],_0x3a82b7=this[_0x468640(0x1b8)];_0x3a82b7[_0x468640(0x1a1)](_0x54e5cb),this[_0x468640(0x2dd)][_0x468640(0x1d9)](_0x3a82b7);}[_0x36331a(0x3ac)](_0x1b2fd3,_0x41e3cc){const _0x2d44be=_0x36331a;var _0x43ef10,_0x1071a5;const _0x142958=(_0x1071a5=(_0x43ef10=this[_0x2d44be(0x3f8)][_0x2d44be(0x42d)](this[_0x2d44be(0x1d8)]))==null?void 0x0:_0x43ef10[_0x2d44be(0x3b8)](_0x1b2fd3))==null?void 0x0:_0x1071a5[_0x2d44be(0x33e)]();return(_0x142958==null?void 0x0:_0x142958['find'](_0x714977=>_0x52c702[_0x2d44be(0x207)][_0x2d44be(0x41e)](_0x714977,_0x41e3cc)))||_0x41e3cc;}[_0x36331a(0x3c5)](){const _0x447723=_0x36331a,_0x14bc08=new _0x52c702[(_0x447723(0x41b))](),_0x2024cd=_0x31d239(),_0x2c90af=()=>{const _0x2d9200=_0x447723;_0x14bc08['dispose']();const _0x378252=(_0x59a628,_0x24c474,_0xdb3c63,_0x974dd1)=>{const _0x31e2d6=_0x5710;let _0x24b18a=[];switch(_0x59a628['id']){case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x2fc)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x193)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x313)]:{_0x24b18a=_0x3e234a['handleDeleteRangeMoveUp'](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId']['InsertColCommandId']:{_0x24b18a=_0x3e234a[_0x31e2d6(0x340)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x1aa)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x1c8)](_0x59a628,_0x974dd1);break;}case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x1f2)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x1f0)](_0x59a628,_0x974dd1);break;}case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x231)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x20a)](_0x59a628,_0x974dd1);break;}case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x303)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x26a)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x23a)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x314)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x21f)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x18d)](_0x59a628,_0x974dd1);break;}}const _0x2db590=_0x3e234a['runRefRangeMutations'](_0x24b18a,_0x974dd1),_0x3668ed=this[_0x31e2d6(0x1b8)][_0x31e2d6(0x389)](_0x24c474);if(_0x3668ed&&_0x2db590){const _0x52b1f3={..._0x3668ed,'range':_0x2db590};this[_0x31e2d6(0x1b8)][_0x31e2d6(0x290)](_0x24c474,_0x52b1f3),_0x2024cd(()=>{const _0x107b31=_0x31e2d6,_0x2972d3=this[_0x107b31(0x420)][_0x107b31(0x1cf)](_0x2db590,_0xacf574=>(_0x2972d3[_0x107b31(0x2f7)](),_0x378252(_0xacf574,_0x24c474,_0xdb3c63,_0x2db590)));_0x14bc08[_0x107b31(0x3cf)](_0x2972d3);});}return{'redos':[],'undos':[]};};this[_0x2d9200(0x1b8)][_0x2d9200(0x19f)]((_0x3271fa,_0x52766f)=>{const _0x4bed12=_0x2d9200,{range:_0x446e16,sheetID:_0x2e6464}=_0x3271fa,_0x241923=this[_0x4bed12(0x420)][_0x4bed12(0x1cf)](_0x446e16,_0x2db69a=>(_0x241923[_0x4bed12(0x2f7)](),_0x378252(_0x2db69a,_0x52766f,_0x2e6464,_0x446e16)));_0x14bc08[_0x4bed12(0x3cf)](_0x241923);});};this[_0x447723(0x2e6)](_0x52c702['toDisposable'](this[_0x447723(0x2dd)][_0x447723(0x328)](()=>{_0x2c90af();})));}['_toggleOnline'](){const _0x1e511b=_0x36331a;var _0x101cd9,_0x501d2d;if(this[_0x1e511b(0x2ab)]=!0x0,((_0x101cd9=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x101cd9[_0x1e511b(0x240)]())!==this[_0x1e511b(0x1d8)])return;const _0x4c812b=(_0x501d2d=this[_0x1e511b(0x39b)][_0x1e511b(0x389)](_0x3e234a[_0x1e511b(0x3db)])['getCurrentSelections']())==null?void 0x0:_0x501d2d[0x0],_0x5579ef=this[_0x1e511b(0x3f8)][_0x1e511b(0x311)](_0x52c702[_0x1e511b(0x345)][_0x1e511b(0x326)])[_0x1e511b(0x3a8)]();_0x4c812b&&_0x5579ef&&this[_0x1e511b(0x35a)](_0x5579ef['getSheetId'](),_0x4c812b);}['_toggleOffline'](){const _0x4d870d=_0x36331a;this[_0x4d870d(0x2ab)]=!0x1;}};_0x26a887=_0x8ad732([_0x17bd86(0x2,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x17bd86(0x3,_0x52c702['Inject'](_0x12dd9b)),_0x17bd86(0x4,_0x52c702[_0x36331a(0x24d)](_0x2390c9['MemberService'])),_0x17bd86(0x5,_0x52c702[_0x36331a(0x38f)]),_0x17bd86(0x6,_0x52c702[_0x36331a(0x1f8)]),_0x17bd86(0x7,_0x52c702[_0x36331a(0x24d)](_0x3e234a['RefRangeService']))],_0x26a887);var _0x29b90f=Object[_0x36331a(0x2b6)],_0x9327ea=(_0x5a5d6b,_0x216a26,_0x4702ff,_0x2bd4c0)=>{for(var _0x4b2fa5=_0x2bd4c0>0x1?void 0x0:_0x2bd4c0?_0x29b90f(_0x216a26,_0x4702ff):_0x216a26,_0x283d09=_0x5a5d6b['length']-0x1,_0x4a3cb5;_0x283d09>=0x0;_0x283d09--)(_0x4a3cb5=_0x5a5d6b[_0x283d09])&&(_0x4b2fa5=_0x4a3cb5(_0x4b2fa5)||_0x4b2fa5);return _0x4b2fa5;},_0x5c7256=(_0x3c1266,_0x4ab047)=>(_0x21f138,_0x4c9c80)=>_0x4ab047(_0x21f138,_0x4c9c80,_0x3c1266);let _0x518f67=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x3b4d86,_0x47f5ca,_0x544c0b){const _0xd3f1e6=_0x36331a;super(),_0x5cb653(this,_0xd3f1e6(0x1ff),new Map()),_0x5cb653(this,_0xd3f1e6(0x38b),new _0x160e63[(_0xd3f1e6(0x292))]()),(this['_univerInstanceService']=_0x3b4d86,this[_0xd3f1e6(0x39b)]=_0x47f5ca,this[_0xd3f1e6(0x1b7)]=_0x544c0b,this[_0xd3f1e6(0x347)]());}[_0x36331a(0x2f7)](){const _0x480022=_0x36331a;super[_0x480022(0x2f7)](),this[_0x480022(0x38b)][_0x480022(0x232)](),this['_entities'][_0x480022(0x19f)](_0x49bb6e=>_0x49bb6e[_0x480022(0x2f7)]());}[_0x36331a(0x2da)](_0x46ccae){const _0x382a3f=_0x36331a;return this[_0x382a3f(0x1ff)][_0x382a3f(0x415)](_0x46ccae)?this['_entities'][_0x382a3f(0x389)](_0x46ccae)[_0x382a3f(0x19e)]:this[_0x382a3f(0x38b)][_0x382a3f(0x2d4)](_0x160e63[_0x382a3f(0x34d)](_0x286ede=>_0x286ede[_0x382a3f(0x1d8)]===_0x46ccae),_0x160e63['switchMap'](_0x5a5e43=>_0x5a5e43[_0x382a3f(0x19e)]));}[_0x36331a(0x347)](){const _0x3a8bb5=_0x36331a;this[_0x3a8bb5(0x3f8)][_0x3a8bb5(0x416)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x326)])[_0x3a8bb5(0x2d4)](_0x160e63[_0x3a8bb5(0x2c5)](this['dispose$']))['subscribe'](async _0x21877a=>{const _0x587aad=_0x3a8bb5,_0x1f4cfc=_0x21877a[_0x587aad(0x240)](),_0x478c3c=await this[_0x587aad(0x208)](_0x1f4cfc);this[_0x587aad(0x38b)]['next'](_0x478c3c),this[_0x587aad(0x1ff)]['set'](_0x1f4cfc,_0x478c3c);}),this['_univerInstanceService'][_0x3a8bb5(0x416)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x38a)])[_0x3a8bb5(0x2d4)](_0x160e63[_0x3a8bb5(0x2c5)](this[_0x3a8bb5(0x2c3)]))[_0x3a8bb5(0x2d4)](_0x160e63[_0x3a8bb5(0x34d)](_0x242ef2=>!_0x242ef2[_0x3a8bb5(0x240)]()['startsWith']('__')))['subscribe'](async _0x5ebf72=>{const _0x24cc39=_0x3a8bb5,_0xd4f58b=_0x5ebf72[_0x24cc39(0x240)](),_0x3c3efa=await this[_0x24cc39(0x1f1)](_0xd4f58b);this[_0x24cc39(0x38b)][_0x24cc39(0x1d9)](_0x3c3efa),this[_0x24cc39(0x1ff)]['set'](_0xd4f58b,_0x3c3efa);}),_0x160e63[_0x3a8bb5(0x264)](this[_0x3a8bb5(0x3f8)][_0x3a8bb5(0x317)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x38a)]),this[_0x3a8bb5(0x3f8)][_0x3a8bb5(0x317)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x326)]))[_0x3a8bb5(0x2d4)](_0x160e63['takeUntil'](this[_0x3a8bb5(0x2c3)]))[_0x3a8bb5(0x328)](_0x327663=>{const _0x94778e=_0x3a8bb5,_0x38eacb=_0x327663['getUnitId'](),_0xad2d93=this[_0x94778e(0x1ff)][_0x94778e(0x389)](_0x38eacb);_0xad2d93&&(_0xad2d93[_0x94778e(0x2f7)](),this[_0x94778e(0x1ff)][_0x94778e(0x1a1)](_0x38eacb));});}async[_0x36331a(0x208)](_0x5c2b53){const _0x421d63=_0x36331a,_0x4367c3=await this[_0x421d63(0x1b7)][_0x421d63(0x363)](_0x5c2b53),_0x5cf20f=this[_0x421d63(0x39b)][_0x421d63(0x192)](_0x26a887,_0x5c2b53,_0x4367c3);return _0x5cf20f[_0x421d63(0x341)](),_0x5cf20f;}async[_0x36331a(0x1f1)](_0x276140){const _0x4473f6=_0x36331a,_0xf0fdf3=await this[_0x4473f6(0x1b7)]['requireSession'](_0x276140),_0x4fd55b=this[_0x4473f6(0x39b)][_0x4473f6(0x192)](_0x2655ba,_0x276140,_0xf0fdf3);return _0x4fd55b[_0x4473f6(0x341)](),_0x4fd55b;}};_0x518f67=_0x9327ea([_0x5c7256(0x0,_0x52c702[_0x36331a(0x38f)]),_0x5c7256(0x1,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x5c7256(0x2,_0x52c702['Inject'](_0x2390c9[_0x36331a(0x256)]))],_0x518f67);const _0x447e2c=0x14,_0x2d0e1b=0xc8,_0x380f81=0x4,_0x313921=0x5;function _0x10e2ed(_0xea6a5e,_0x2aa001){const _0x40e545=_0x36331a;let {radius:_0x145fc9,width:_0x5bcd5a,height:_0x224cf5}=_0x2aa001;_0x145fc9=_0x145fc9!=null?_0x145fc9:0x0,_0x5bcd5a=_0x5bcd5a!=null?_0x5bcd5a:0x1e,_0x224cf5=_0x224cf5!=null?_0x224cf5:0x1e;let _0x4b2526=0x0,_0x5e640d=0x0,_0x181aa1=0x0;_0x4b2526=_0x5e640d=_0x181aa1=Math[_0x40e545(0x3f6)](_0x145fc9,_0x5bcd5a/0x2,_0x224cf5/0x2),_0xea6a5e[_0x40e545(0x411)](),_0xea6a5e['moveTo'](_0x4b2526,0x0),_0xea6a5e['lineTo'](_0x5bcd5a-_0x5e640d,0x0),_0xea6a5e[_0x40e545(0x330)](_0x5bcd5a-_0x5e640d,_0x5e640d,_0x5e640d,Math['PI']*0x3/0x2,0x0,!0x1),_0xea6a5e[_0x40e545(0x3aa)](_0x5bcd5a,_0x224cf5-_0x181aa1),_0xea6a5e['arc'](_0x5bcd5a-_0x181aa1,_0x224cf5-_0x181aa1,_0x181aa1,0x0,Math['PI']/0x2,!0x1),_0xea6a5e['lineTo'](0x0,_0x224cf5),_0xea6a5e[_0x40e545(0x3aa)](0x0,_0x4b2526),_0xea6a5e[_0x40e545(0x330)](_0x4b2526,_0x4b2526,_0x4b2526,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xea6a5e[_0x40e545(0x36c)](),_0x2aa001[_0x40e545(0x1d6)]&&(_0xea6a5e[_0x40e545(0x273)](),_0xea6a5e[_0x40e545(0x327)]=_0x2aa001[_0x40e545(0x1d6)],_0x2aa001[_0x40e545(0x360)]===_0x40e545(0x25f)?_0xea6a5e[_0x40e545(0x1d6)](_0x40e545(0x25f)):_0xea6a5e['fill'](),_0xea6a5e[_0x40e545(0x1db)]());}class _0x5d0dd6 extends _0x711590[_0x36331a(0x429)]{constructor(_0x271925,_0x1188f0){const _0x4f11a1=_0x36331a;super(_0x271925,_0x1188f0),_0x5cb653(this,_0x4f11a1(0x2d9)),_0x5cb653(this,_0x4f11a1(0x1bd)),(this[_0x4f11a1(0x2d9)]=_0x1188f0==null?void 0x0:_0x1188f0['color'],this['text']=_0x1188f0==null?void 0x0:_0x1188f0['text']);}static[_0x36331a(0x1ec)](_0x58c839,_0x250a2e){const _0x5a2fd8=_0x36331a,{text:_0x491dbf,color:_0x5dc119}=_0x250a2e;_0x58c839[_0x5a2fd8(0x273)](),_0x58c839['font']=_0x5a2fd8(0x203);const _0x358b8c=_0x58c839[_0x5a2fd8(0x425)](_0x491dbf)[_0x5a2fd8(0x261)],_0x26382d=Math[_0x5a2fd8(0x3f6)](_0x358b8c+0x2*_0x380f81,_0x2d0e1b);_0x10e2ed(_0x58c839,{'height':_0x447e2c,'radius':0x4,'width':_0x26382d,'fill':_0x5dc119}),_0x58c839[_0x5a2fd8(0x327)]=_0x5a2fd8(0x217);const _0x3b1824=_0x380f81,_0x207dd7=_0x447e2c-_0x313921,_0x4480ed=_0x2d0e1b-0x2*_0x380f81;if(_0x358b8c>_0x4480ed){let _0x375176='',_0x143e3e=0x0;for(const _0x49e5c5 of _0x491dbf){const _0x43f6e7=_0x58c839[_0x5a2fd8(0x425)](_0x49e5c5)[_0x5a2fd8(0x261)];if(_0x143e3e+_0x43f6e7<=_0x4480ed-_0x58c839[_0x5a2fd8(0x425)](_0x5a2fd8(0x222))[_0x5a2fd8(0x261)])_0x375176+=_0x49e5c5,_0x143e3e+=_0x43f6e7;else{_0x375176+=_0x5a2fd8(0x222);break;}}_0x58c839['fillText'](_0x375176,_0x3b1824,_0x207dd7);}else _0x58c839['fillText'](_0x491dbf,_0x3b1824,_0x207dd7);_0x58c839[_0x5a2fd8(0x1db)]();}[_0x36331a(0x3f7)](_0x2efe37){_0x5d0dd6['drawWith'](_0x2efe37,this);}}const _0x1e49ac='collab-text-anchor-',_0x42b1c4=_0x36331a(0x424),_0x540c2d=_0x36331a(0x3fa),_0x5a8781=0x6,_0x2c9162=1.5,_0x3c3c81=0x4,_0x46fa98=1.5,_0x19d035=_0x36331a(0x18b);class _0x367812{constructor(_0x27558c,_0x38e3fe,_0x252031,_0x52b417){const _0x5b2154=_0x36331a;_0x5cb653(this,_0x5b2154(0x375),[]),_0x5cb653(this,_0x5b2154(0x1d3),null),_0x5cb653(this,_0x5b2154(0x286),null),_0x5cb653(this,_0x5b2154(0x22c),null),_0x5cb653(this,_0x5b2154(0x332),null),_0x5cb653(this,_0x5b2154(0x2c1),null),(this[_0x5b2154(0x402)]=_0x27558c,this[_0x5b2154(0x28f)]=_0x38e3fe,this[_0x5b2154(0x40d)]=_0x252031,this[_0x5b2154(0x412)]=_0x52b417,this[_0x5b2154(0x1ac)]());}set[_0x36331a(0x42c)](_0x2827e5){const _0x2b08ce=_0x36331a;_0x2827e5?(this['_anchorDot']&&this['_anchorDot'][_0x2b08ce(0x2f3)](),this[_0x2b08ce(0x286)]&&this[_0x2b08ce(0x286)]['show']()):(this[_0x2b08ce(0x22c)]&&this[_0x2b08ce(0x22c)][_0x2b08ce(0x26e)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x36331a(0x2f7)](){const _0x213332=_0x36331a;for(const _0x2c3e48 of this['_shapes'])_0x2c3e48[_0x213332(0x2f7)]();this['_textBubble']&&this[_0x213332(0x286)][_0x213332(0x2f7)](),this[_0x213332(0x22c)]&&this[_0x213332(0x22c)][_0x213332(0x2f7)](),this[_0x213332(0x1d3)]&&this['_anchor'][_0x213332(0x2f7)](),this[_0x213332(0x2c1)]&&this[_0x213332(0x2c1)]();}[_0x36331a(0x1ac)](){const _0x3b6f10=_0x36331a;var _0x56ac72;const {_docSkeleton:_0x33f4cf,_document:_0x41cfad}=this,{color:_0x43191d,name:_0x5a9ef6,ranges:_0x358cc4}=this[_0x3b6f10(0x402)],_0x1bb17a=_0x41cfad[_0x3b6f10(0x233)](),{docsLeft:_0x13b9b3,docsTop:_0x4b3087}=_0x1bb17a,_0x5397b8=new _0x458abf[(_0x3b6f10(0x36d))](_0x1bb17a,_0x33f4cf);for(const {startOffset:_0x59b23b,endOffset:_0x153698,rangeType:_0x2d8125,segmentId:_0x53f331,segmentPage:_0x5d9a89,collapsed:_0x49e35b,isActive:_0xf3d396}of _0x358cc4){const _0x46d986=_0x33f4cf[_0x3b6f10(0x30b)](_0x59b23b,!0x0,_0x53f331,_0x5d9a89);let _0x1215e7=_0x33f4cf[_0x3b6f10(0x30b)](_0x153698,!0x0,_0x53f331,_0x5d9a89);if(_0x1215e7==null&&(_0x1215e7=_0x33f4cf[_0x3b6f10(0x30b)](_0x153698-0x1,!0x1,_0x53f331,_0x5d9a89)),_0xf3d396){const {contentBoxPointGroup:_0x49620c}=_0x5397b8[_0x3b6f10(0x19a)](_0x1215e7,_0x1215e7);if(_0x49620c['length']===0x0)continue;this[_0x3b6f10(0x3dc)](_0x43191d,_0x49620c,_0x13b9b3,_0x4b3087,_0x5a9ef6),this['_eventUnsubscribe']=this[_0x3b6f10(0x3a0)]();}if(_0x46d986&&_0x1215e7){if(_0x2d8125===_0x52c702['DOC_RANGE_TYPE']['RECT']){const _0x3ed851=new _0x458abf[(_0x3b6f10(0x400))](_0x1bb17a,_0x33f4cf),{pointGroup:_0x27f09f}=(_0x56ac72=_0x3ed851[_0x3b6f10(0x19a)](_0x46d986,_0x1215e7))!=null?_0x56ac72:{};if(_0x27f09f==null||_0x27f09f[_0x3b6f10(0x349)]===0x0)continue;this[_0x3b6f10(0x27b)](_0x43191d,_0x27f09f,_0x13b9b3,_0x4b3087);}else{if(!_0x49e35b){const {borderBoxPointGroup:_0x352192}=_0x5397b8[_0x3b6f10(0x19a)](_0x46d986,_0x1215e7);if(_0x352192[_0x3b6f10(0x349)]===0x0)continue;this['_drawTextRange'](_0x43191d,_0x352192,_0x13b9b3,_0x4b3087);}}}}}[_0x36331a(0x3dc)](_0x533283,_0x1692a9,_0x452e90,_0x5bffcc,_0x9c0e53){const _0x234f5e=_0x36331a,_0x5cf50e=this[_0x234f5e(0x1bb)](_0x1692a9),{left:_0x43b7d7,top:_0x3fe5a1,height:_0x3aa545}=_0x5cf50e,_0x54a0bb=this[_0x234f5e(0x2e2)](),_0x487930=_0x46fa98/_0x54a0bb,_0x1c19b9=new _0x711590[(_0x234f5e(0x258))](_0x1e49ac+_0x52c702[_0x234f5e(0x1c4)][_0x234f5e(0x1b9)](_0x5a8781),{'left':_0x43b7d7+_0x452e90-_0x487930,'top':_0x3fe5a1+_0x5bffcc,'height':_0x3aa545,'width':_0x2c9162,'fill':_0x533283||_0x711590[_0x234f5e(0x329)](_0x52c702[_0x234f5e(0x279)]['black'],0x0),'strokeWidth':_0x487930,'stroke':_0x19d035,'evented':!0x0});this[_0x234f5e(0x1d3)]=_0x1c19b9,this[_0x234f5e(0x28f)][_0x234f5e(0x37d)](_0x1c19b9,_0x458abf['TEXT_RANGE_LAYER_INDEX']);const _0x4041c8=new _0x711590[(_0x234f5e(0x258))](_0x1e49ac+_0x52c702[_0x234f5e(0x1c4)][_0x234f5e(0x1b9)](_0x5a8781),{'left':_0x43b7d7+_0x452e90-_0x487930,'top':_0x3fe5a1+_0x5bffcc-_0x3c3c81/0x2,'height':_0x3c3c81,'width':_0x3c3c81,'fill':_0x533283||_0x711590[_0x234f5e(0x329)](_0x52c702[_0x234f5e(0x279)][_0x234f5e(0x417)],0x0),'strokeWidth':0x0,'stroke':_0x533283||_0x711590[_0x234f5e(0x329)](_0x52c702[_0x234f5e(0x279)][_0x234f5e(0x417)],0x0),'evented':!0x1});this['_anchorDot']=_0x4041c8,this[_0x234f5e(0x28f)]['addObject'](_0x4041c8,_0x458abf[_0x234f5e(0x3c3)]);const _0x2f6689=new _0x5d0dd6(_0x1e49ac+_0x52c702[_0x234f5e(0x1c4)][_0x234f5e(0x1b9)](_0x5a8781),{'left':_0x43b7d7+_0x452e90-_0x487930,'top':_0x3fe5a1+_0x5bffcc-_0x447e2c,'text':_0x9c0e53,'color':_0x533283});this[_0x234f5e(0x286)]=_0x2f6689,this['_scene'][_0x234f5e(0x37d)](_0x2f6689,_0x458abf[_0x234f5e(0x3c3)]),this[_0x234f5e(0x42c)]=!0x1;}[_0x36331a(0x3a0)](){const _0x5a5b3b=_0x36331a,_0x3fe644=this[_0x5a5b3b(0x1d3)][_0x5a5b3b(0x351)][_0x5a5b3b(0x221)](()=>{const _0x20509f=_0x5a5b3b;this[_0x20509f(0x42c)]=!0x0;}),_0x3b7bc6=this[_0x5a5b3b(0x1d3)][_0x5a5b3b(0x2b4)][_0x5a5b3b(0x221)](()=>{const _0x56d3a4=_0x5a5b3b;this[_0x56d3a4(0x332)]&&clearTimeout(this[_0x56d3a4(0x332)]),this[_0x56d3a4(0x332)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5e2f6a=_0x5a5b3b;_0x3fe644['unsubscribe'](),_0x3b7bc6[_0x5e2f6a(0x262)]();};}[_0x36331a(0x3cd)](_0xe22a09,_0xa5c5cf,_0x3483f9,_0x4594e6){const _0x2a6bb0=_0x36331a,_0x32c378=new _0x52c702['ColorKit'](_0xe22a09)['setAlpha'](0.2)[_0x2a6bb0(0x373)](),_0x2d81a6=new _0x711590[(_0x2a6bb0(0x3c1))](_0x42b1c4+_0x52c702[_0x2a6bb0(0x1c4)][_0x2a6bb0(0x1b9)](_0x5a8781),{'pointsGroup':_0xa5c5cf,'fill':_0x32c378||_0x711590['getColor'](_0x52c702[_0x2a6bb0(0x279)]['black'],0.2),'left':_0x3483f9,'top':_0x4594e6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x2d81a6),this[_0x2a6bb0(0x28f)][_0x2a6bb0(0x37d)](_0x2d81a6,_0x458abf[_0x2a6bb0(0x3c3)]);}['_drawRectRange'](_0x271f06,_0x643389,_0x407241,_0x53d749){const _0x2f97f3=_0x36331a,_0x14e048=new _0x52c702['ColorKit'](_0x271f06)[_0x2f97f3(0x358)](0.2)[_0x2f97f3(0x373)](),_0x38d56b=new _0x711590[(_0x2f97f3(0x3c1))](_0x540c2d+_0x52c702['Tools'][_0x2f97f3(0x1b9)](_0x5a8781),{'pointsGroup':_0x643389,'fill':_0x14e048||_0x711590[_0x2f97f3(0x329)](_0x52c702[_0x2f97f3(0x279)][_0x2f97f3(0x417)],0.2),'left':_0x407241,'top':_0x53d749,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2f97f3(0x383)](_0x38d56b),this['_scene']['addObject'](_0x38d56b,_0x458abf['TEXT_RANGE_LAYER_INDEX']);}[_0x36331a(0x1bb)](_0xedf219){const _0x4f8134=_0xedf219[0x0],_0x1637a7=_0x4f8134[0x0],_0x3df958=_0x4f8134[0x2],{x:_0x2e21f1,y:_0x37b188}=_0x1637a7,{x:_0x121684,y:_0x26b8af}=_0x3df958;return{'left':_0x2e21f1,'top':_0x37b188,'width':_0x121684-_0x2e21f1,'height':_0x26b8af-_0x37b188};}['_getScale'](){const _0x4517d7=_0x36331a,{scaleX:_0x7c92c2,scaleY:_0xbf4598}=this[_0x4517d7(0x28f)][_0x4517d7(0x3f5)]();return Math[_0x4517d7(0x2a0)](_0x7c92c2,_0xbf4598);}}var _0x257a1a=Object['getOwnPropertyDescriptor'],_0xecefaf=(_0x23bff8,_0x2ba6f4,_0x276baf,_0x3eba0d)=>{for(var _0x5aa9fb=_0x3eba0d>0x1?void 0x0:_0x3eba0d?_0x257a1a(_0x2ba6f4,_0x276baf):_0x2ba6f4,_0x5896c4=_0x23bff8['length']-0x1,_0x3fb59e;_0x5896c4>=0x0;_0x5896c4--)(_0x3fb59e=_0x23bff8[_0x5896c4])&&(_0x5aa9fb=_0x3fb59e(_0x5aa9fb)||_0x5aa9fb);return _0x5aa9fb;},_0x4b99a6=(_0xf38bee,_0x351976)=>(_0x4d79db,_0x2ddd24)=>_0x351976(_0x4d79db,_0x2ddd24,_0xf38bee);let _0x86d5fa=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x3b770a,_0x16fe17,_0xbf95c5,_0x4890ff,_0x14a0dd){const _0x1c1a0e=_0x36331a;super(),_0x5cb653(this,_0x1c1a0e(0x33c),[]),_0x5cb653(this,_0x1c1a0e(0x2c9),[]),(this[_0x1c1a0e(0x1ba)]=_0x3b770a,this['_docSkeletonManagerService']=_0x16fe17,this[_0x1c1a0e(0x3da)]=_0xbf95c5,this[_0x1c1a0e(0x1b3)]=_0x4890ff,this[_0x1c1a0e(0x2fd)]=_0x14a0dd,this[_0x1c1a0e(0x347)]());}[_0x36331a(0x347)](){const _0x5d00ae=_0x36331a,_0x4aaa50=this[_0x5d00ae(0x1ba)]['unitId'],_0x2c5919=this[_0x5d00ae(0x2e1)];this[_0x5d00ae(0x2e6)](_0x160e63[_0x5d00ae(0x35b)]([this[_0x5d00ae(0x3da)][_0x5d00ae(0x2da)](_0x4aaa50),this[_0x5d00ae(0x2fd)]['currentTheme$']])['pipe'](_0x17f6ed[_0x5d00ae(0x214)](([_0x1b6411,_0x3a45ee])=>({'skeleton':_0x2c5919[_0x5d00ae(0x2c0)](),'cursors':[..._0x1b6411[_0x5d00ae(0x364)]()][_0x5d00ae(0x350)](_0x42a7ef=>({..._0x42a7ef,'color':this[_0x5d00ae(0x2fd)][_0x5d00ae(0x270)](_0x42a7ef[_0x5d00ae(0x2d9)])}))})))[_0x5d00ae(0x328)](_0x143b8b=>{const _0x2edd7e=_0x5d00ae;if(this[_0x2edd7e(0x30a)](),_0x143b8b){const {skeleton:_0x49c8ba,cursors:_0x469908}=_0x143b8b;this[_0x2edd7e(0x296)](_0x49c8ba,_0x469908);}})),this[_0x5d00ae(0x1dd)](),this[_0x5d00ae(0x283)]();}['_updateCollabCursors'](_0x2d4061,_0x1507bb){const _0x1c214a=_0x36331a,{scene:_0x2cc7f8,mainComponent:_0x3671a1}=this[_0x1c214a(0x1ba)],_0x49bd44=_0x1507bb[_0x1c214a(0x214)](_0x51eb3d=>new _0x367812(_0x51eb3d,_0x2cc7f8,_0x2d4061,_0x3671a1));this[_0x1c214a(0x33c)]=_0x49bd44,this[_0x1c214a(0x2c9)]=_0x1507bb;}[_0x36331a(0x277)](){const _0x4d0654=_0x36331a;this['_removeCollabCursors']();const {scene:_0x5df813,mainComponent:_0x169285}=this[_0x4d0654(0x1ba)],_0x35c088=this[_0x4d0654(0x2e1)][_0x4d0654(0x2c0)](),_0x2c9d71=this['_cursors'][_0x4d0654(0x214)](_0x35a277=>new _0x367812(_0x35a277,_0x5df813,_0x35c088,_0x169285));this[_0x4d0654(0x33c)]=_0x2c9d71;}[_0x36331a(0x30a)](){const _0x42af6b=_0x36331a;this[_0x42af6b(0x33c)][_0x42af6b(0x19f)](_0xf6dad8=>_0xf6dad8['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x1c8ab4=_0x36331a,_0x148081=[_0x458abf[_0x1c8ab4(0x1e6)]['id']];this[_0x1c8ab4(0x2e6)](this['_commandService']['onCommandExecuted'](_0x3bc35d=>{const _0xabb44a=_0x1c8ab4;_0x148081[_0xabb44a(0x1d2)](_0x3bc35d['id'])&&_0x3bc35d[_0xabb44a(0x3a4)][_0xabb44a(0x2a4)]===this[_0xabb44a(0x1ba)][_0xabb44a(0x2a4)]&&this[_0xabb44a(0x277)]();}));}['_initResize'](){const _0x416aec=_0x36331a;this['disposeWithMe'](_0x52c702[_0x416aec(0x288)](this[_0x416aec(0x1ba)][_0x416aec(0x3fe)][_0x416aec(0x3e8)])[_0x416aec(0x2d4)](_0x17f6ed[_0x416aec(0x34d)](_0x4dd962=>_0x4dd962['type']===_0x711590[_0x416aec(0x2af)][_0x416aec(0x2d2)]),_0x17f6ed[_0x416aec(0x410)](0x10))[_0x416aec(0x328)](()=>{const _0x77446e=_0x416aec;this[_0x77446e(0x277)]();}));}};_0x86d5fa=_0xecefaf([_0x4b99a6(0x1,_0x52c702['Inject'](_0xf45cd5[_0x36331a(0x309)])),_0x4b99a6(0x2,_0x52c702[_0x36331a(0x24d)](_0x518f67)),_0x4b99a6(0x3,_0x52c702[_0x36331a(0x1f8)]),_0x4b99a6(0x4,_0x52c702[_0x36331a(0x24d)](_0x52c702['ThemeService']))],_0x86d5fa);const _0x1f29eb=0x1,_0x5dc1af=1.5;class _0x4f5011 extends _0x711590[_0x36331a(0x429)]{constructor(_0x14853d,_0x2d9fca){const _0x507cf0=_0x36331a;super(_0x14853d,_0x2d9fca),_0x5cb653(this,_0x507cf0(0x191)),_0x5cb653(this,_0x507cf0(0x276),!0x1),_0x5cb653(this,'_range'),_0x5cb653(this,'_name',''),_0x5cb653(this,_0x507cf0(0x406),'top'),_0x5cb653(this,_0x507cf0(0x3af)),(_0x2d9fca&&this[_0x507cf0(0x33b)](_0x2d9fca),this[_0x507cf0(0x351)][_0x507cf0(0x221)](()=>this[_0x507cf0(0x33b)]({'hovered':!0x0})),this[_0x507cf0(0x2b4)][_0x507cf0(0x221)](()=>this[_0x507cf0(0x33b)]({'hovered':!0x1})));}[_0x36331a(0x33b)](_0x4123a8){const _0x34f428=_0x36331a;var _0x23faba,_0x47a211,_0x395612,_0x195b3c,_0x2e00e7,_0x30e7c9;this[_0x34f428(0x191)]=(_0x23faba=_0x4123a8['color'])!=null?_0x23faba:this[_0x34f428(0x191)],this[_0x34f428(0x276)]=(_0x47a211=_0x4123a8[_0x34f428(0x26d)])!=null?_0x47a211:this[_0x34f428(0x276)],this[_0x34f428(0x21e)]=(_0x395612=_0x4123a8[_0x34f428(0x3b0)])!=null?_0x395612:this['_range'],this['_name']=(_0x195b3c=_0x4123a8[_0x34f428(0x239)])!=null?_0x195b3c:this[_0x34f428(0x401)],this[_0x34f428(0x406)]=(_0x2e00e7=_0x4123a8[_0x34f428(0x297)])!=null?_0x2e00e7:this['_labelPosition'],this[_0x34f428(0x3af)]=(_0x30e7c9=_0x4123a8[_0x34f428(0x2b3)])!=null?_0x30e7c9:this[_0x34f428(0x3af)],this['transformByState']({'width':_0x4123a8[_0x34f428(0x261)],'height':_0x4123a8['height']});}[_0x36331a(0x282)](_0x26a0fe){const _0x6d64f9=_0x36331a,{row:_0x4c223f,column:_0x53e9e1}=_0x26a0fe;if(_0x4c223f>=this[_0x6d64f9(0x21e)][_0x6d64f9(0x1d1)]&&_0x4c223f<=this[_0x6d64f9(0x21e)][_0x6d64f9(0x3e6)]&&_0x53e9e1>=this['_range'][_0x6d64f9(0x322)]&&_0x53e9e1<=this['_range'][_0x6d64f9(0x2f4)]){this[_0x6d64f9(0x33b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x36331a(0x285)](_0x14fba5){return!0x1;}[_0x36331a(0x3f7)](_0x38a808){const _0x3d20d2=_0x36331a;_0x711590[_0x3d20d2(0x258)][_0x3d20d2(0x1ec)](_0x38a808,{'width':this[_0x3d20d2(0x261)],'height':this[_0x3d20d2(0x1dc)],'strokeWidth':_0x5dc1af,'stroke':this[_0x3d20d2(0x191)],'evented':!0x1,'fill':this[_0x3d20d2(0x3af)]}),this[_0x3d20d2(0x276)]&&(_0x38a808['save'](),_0x38a808['transform'](0x1,0x0,0x0,0x1,this[_0x3d20d2(0x261)],this[_0x3d20d2(0x406)]===_0x3d20d2(0x3cb)?0x0:-0x14),_0x5d0dd6[_0x3d20d2(0x1ec)](_0x38a808,{'text':this[_0x3d20d2(0x401)],'color':this[_0x3d20d2(0x191)]}),_0x38a808['restore']());}}var _0x2f25bd=Object['getOwnPropertyDescriptor'],_0x4c477c=(_0x521730,_0x479a8f,_0x30f3af,_0x1caa71)=>{const _0x13bbc2=_0x36331a;for(var _0x5305d2=_0x1caa71>0x1?void 0x0:_0x1caa71?_0x2f25bd(_0x479a8f,_0x30f3af):_0x479a8f,_0x53e6f7=_0x521730[_0x13bbc2(0x349)]-0x1,_0x430444;_0x53e6f7>=0x0;_0x53e6f7--)(_0x430444=_0x521730[_0x53e6f7])&&(_0x5305d2=_0x430444(_0x5305d2)||_0x5305d2);return _0x5305d2;},_0x5b19dc=(_0x1aa1ed,_0x36515c)=>(_0x4c387c,_0x48c0c1)=>_0x36515c(_0x4c387c,_0x48c0c1,_0x1aa1ed);const _0x276670=0x1389;let _0xa1828c=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x1a0a4c,_0x5c931b,_0x168178,_0x225351){const _0x3846dd=_0x36331a;super(),_0x5cb653(this,_0x3846dd(0x2c9),new Set()),_0x5cb653(this,_0x3846dd(0x325),null),(this[_0x3846dd(0x1ba)]=_0x1a0a4c,this[_0x3846dd(0x3fc)]=_0x5c931b,this['_collabCursorController']=_0x168178,this[_0x3846dd(0x2fd)]=_0x225351,this[_0x3846dd(0x347)]());}['_init'](){const _0xca8712=_0x36331a;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x17f6ed['takeUntil'](this[_0xca8712(0x2c3)]),_0x17f6ed[_0xca8712(0x244)](_0x30f375=>{const _0x12aa95=_0xca8712;if(_0x30f375){const _0x20300a=_0x30f375[_0x12aa95(0x2ba)];return _0x160e63[_0x12aa95(0x35b)](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x12aa95(0x2a4)]),this[_0x12aa95(0x2fd)][_0x12aa95(0x397)])[_0x12aa95(0x2d4)](_0x17f6ed[_0x12aa95(0x214)](([_0x438fc6,_0x2bca06])=>{const _0x13ca4c=_0x12aa95,_0x1fd514=new Map();return _0x438fc6[_0x13ca4c(0x19f)]((_0x262a61,_0x1d262e)=>{const _0x3a0a1a=_0x13ca4c;if(_0x262a61[_0x3a0a1a(0x30c)]===_0x20300a){const _0x462533={..._0x262a61};_0x462533[_0x3a0a1a(0x2d9)]=this['_themeService'][_0x3a0a1a(0x270)](_0x262a61[_0x3a0a1a(0x2d9)]),_0x1fd514[_0x3a0a1a(0x290)](_0x1d262e,_0x462533);}}),{'skeleton':_0x30f375,'cursors':_0x1fd514};}));}return _0x160e63['of']({'skeleton':null,'cursors':new Map()});}))[_0xca8712(0x328)](({skeleton:_0x2fd620,cursors:_0x38a9c3})=>{const _0x1a1533=_0xca8712;this[_0x1a1533(0x30a)](),_0x2fd620&&this[_0x1a1533(0x296)](_0x2fd620,_0x38a9c3);}),this[_0xca8712(0x3fc)][_0xca8712(0x2a5)][_0xca8712(0x328)](_0x2d40d8=>{const _0x4cfabf=_0xca8712;if(_0x2d40d8==null)return;const {skeleton:_0x4b0d3c}=_0x2d40d8,{scene:_0x4872c6}=this[_0x4cfabf(0x1ba)];_0x4872c6[_0x4cfabf(0x3bb)][_0x4cfabf(0x221)](_0x52c702[_0x4cfabf(0x195)](_0x725dc2=>{const _0xe93b74=_0x4cfabf;var _0x4e9c22,_0x8d60bd;const {offsetX:_0x4148ca,offsetY:_0x208700}=_0x725dc2,{x:_0x4079bc,y:_0x5e3a7f}=_0x4872c6[_0xe93b74(0x1f3)](_0x711590['Vector2'][_0xe93b74(0x24f)]([_0x4148ca,_0x208700])),{scaleX:_0x4bb31b,scaleY:_0x9d5299}=_0x4872c6[_0xe93b74(0x3f5)](),_0x42c460=_0x4872c6['getViewport'](_0x711590[_0xe93b74(0x3f1)][_0xe93b74(0x226)]),_0x5e698d=_0x4872c6[_0xe93b74(0x367)](_0x711590[_0xe93b74(0x1a8)][_0xe93b74(0x24f)]([_0x4079bc,_0x5e3a7f]),_0x42c460),_0x3689cf=_0x4b0d3c[_0xe93b74(0x18e)](_0x4148ca,_0x208700,_0x4bb31b,_0x9d5299,_0x5e698d);((_0x4e9c22=this[_0xe93b74(0x325)])==null?void 0x0:_0x4e9c22['column'])===_0x3689cf['column']&&((_0x8d60bd=this[_0xe93b74(0x325)])==null?void 0x0:_0x8d60bd['row'])===_0x3689cf['row']||this[_0xe93b74(0x2c9)][_0xe93b74(0x19f)](_0x2f303a=>{const _0x409cdb=_0xe93b74;_0x2f303a[_0x409cdb(0x282)](_0x3689cf);});},0x64));});}[_0x36331a(0x296)](_0x14900a,_0xeefd30){const _0x301581=_0x36331a;var _0x227232;const _0x12c6ce=(_0x227232=this[_0x301581(0x3fc)][_0x301581(0x284)]())==null?void 0x0:_0x227232[_0x301581(0x251)];if(!_0x12c6ce)return;const _0x39260e=this['_getSheetObject']();if(!_0x39260e)return;this[_0x301581(0x2c9)][_0x301581(0x19f)](_0x352282=>{const _0x85787f=_0x301581;_0x352282[_0x85787f(0x35e)]();});const {scene:_0x5a1e6f}=_0x39260e,_0x5c0e59=_0x4164d0(Array['from'](_0xeefd30[_0x301581(0x364)]()))[_0x301581(0x214)](_0x4799a3=>{const _0x37f86c=_0x301581,{color:_0x44c877,range:_0x32c831,name:_0xd20a51,selection:_0xddef22,sheetID:_0x2a84ec}=_0x4799a3,{startColumn:_0x4e14ef,startRow:_0x890912,endColumn:_0x4c0a99,endRow:_0x107d6b}=_0x32c831,_0x21e60d=_0x32553f['getCoordByCell'](_0x890912,_0x4e14ef,_0x5a1e6f,_0x12c6ce),_0x1280e9=_0x32553f['getCoordByCell'](_0x107d6b,_0x4c0a99,_0x5a1e6f,_0x12c6ce),{columnHeaderHeightAndMarginTop:_0x3b7e1b}=_0x12c6ce,{startX:_0x369991,startY:_0x221502}=_0x21e60d,{endX:_0x266bf9,endY:_0x59eaeb}=_0x1280e9,_0x34bdb5=_0x266bf9-_0x369991,_0x3d95d0=_0x59eaeb-_0x221502,_0x715ad8={'labelPosition':_0x221502-_0x3b7e1b>=_0x447e2c?_0x37f86c(0x223):_0x37f86c(0x3cb),'sheetID':_0x2a84ec,'range':_0x32c831,'color':_0x44c877,'name':_0xd20a51,'selection':_0xddef22,'left':_0x369991,'top':_0x221502,'width':_0x34bdb5,'height':_0x3d95d0,'evented':!0x1,'zIndex':_0x276670};return new _0x4f5011(_0xd20a51,_0x715ad8);});_0x5a1e6f[_0x301581(0x419)](_0x5c0e59,_0x1f29eb),this[_0x301581(0x2c9)]=new Set(_0x5c0e59);}[_0x36331a(0x30a)](){const _0x488980=_0x36331a;var _0x4d5b00;(_0x4d5b00=this['_cursors'])==null||_0x4d5b00[_0x488980(0x19f)](_0x406afd=>_0x406afd[_0x488980(0x2f7)]());}[_0x36331a(0x247)](){const _0x8dd974=_0x36331a;return _0x32553f[_0x8dd974(0x268)](this[_0x8dd974(0x1ba)][_0x8dd974(0x372)],this[_0x8dd974(0x1ba)]);}};_0xa1828c=_0x4c477c([_0x5b19dc(0x1,_0x52c702['Inject'](_0x32553f['SheetSkeletonManagerService'])),_0x5b19dc(0x2,_0x52c702['Inject'](_0x518f67)),_0x5b19dc(0x3,_0x52c702[_0x36331a(0x24d)](_0x52c702['ThemeService']))],_0xa1828c);function _0x4164d0(_0x415017){const _0x351598=_0x36331a,_0x2f182f=new Map();return _0x415017['forEach'](_0x5f3f34=>{const _0x22ce84=_0x5710;if(_0x2f182f[_0x22ce84(0x415)](_0x5f3f34[_0x22ce84(0x1ee)])){const _0x264b49=_0x2f182f[_0x22ce84(0x389)](_0x5f3f34[_0x22ce84(0x1ee)]);_0x264b49[_0x22ce84(0x239)]+=',\x20'+_0x5f3f34[_0x22ce84(0x239)];}else _0x2f182f[_0x22ce84(0x290)](_0x5f3f34[_0x22ce84(0x1ee)],_0x5f3f34);}),Array[_0x351598(0x2d1)](_0x2f182f[_0x351598(0x364)]());}var _0x2c8b55=function(){return _0x2c8b55=Object['assign']||function(_0x5aaad2){const _0x4c3941=_0x5710;for(var _0x46747,_0x3519f5=0x1,_0x4d5bc9=arguments['length'];_0x3519f5<_0x4d5bc9;_0x3519f5++){_0x46747=arguments[_0x3519f5];for(var _0x43dad8 in _0x46747)Object['prototype']['hasOwnProperty'][_0x4c3941(0x27f)](_0x46747,_0x43dad8)&&(_0x5aaad2[_0x43dad8]=_0x46747[_0x43dad8]);}return _0x5aaad2;},_0x2c8b55['apply'](this,arguments);},_0x201143=function(_0x2b0bb8,_0x3ed04e){const _0x48522e=_0x36331a;var _0x45e310={};for(var _0x3a44e0 in _0x2b0bb8)Object['prototype'][_0x48522e(0x28c)]['call'](_0x2b0bb8,_0x3a44e0)&&_0x3ed04e[_0x48522e(0x1d7)](_0x3a44e0)<0x0&&(_0x45e310[_0x3a44e0]=_0x2b0bb8[_0x3a44e0]);if(_0x2b0bb8!=null&&typeof Object[_0x48522e(0x2f0)]=='function'){for(var _0x49e3d9=0x0,_0x3a44e0=Object[_0x48522e(0x2f0)](_0x2b0bb8);_0x49e3d9<_0x3a44e0[_0x48522e(0x349)];_0x49e3d9++)_0x3ed04e[_0x48522e(0x1d7)](_0x3a44e0[_0x49e3d9])<0x0&&Object[_0x48522e(0x39c)][_0x48522e(0x346)][_0x48522e(0x27f)](_0x2b0bb8,_0x3a44e0[_0x49e3d9])&&(_0x45e310[_0x3a44e0[_0x49e3d9]]=_0x2b0bb8[_0x3a44e0[_0x49e3d9]]);}return _0x45e310;},_0x1ba119=_0x9dce46[_0x36331a(0x2b9)](function(_0x3a326a,_0x32ee2a){const _0x1e4888=_0x36331a;var _0x4f43ce=_0x3a326a[_0x1e4888(0x357)],_0x19df1a=_0x3a326a['id'],_0x434c33=_0x3a326a[_0x1e4888(0x3c7)],_0x1c134a=_0x3a326a[_0x1e4888(0x333)],_0x15db46=_0x201143(_0x3a326a,[_0x1e4888(0x357),'id',_0x1e4888(0x3c7),'extend']),_0x343bc1=_0x1e4888(0x334)[_0x1e4888(0x2fe)](_0x19df1a,'\x20')['concat'](_0x434c33||'')['trim'](),_0x229540=_0x9dce46['useRef']('_'['concat'](_0x4ff7ec()));return _0x5a3799(_0x4f43ce,''[_0x1e4888(0x2fe)](_0x19df1a),{'defIds':_0x4f43ce['defIds'],'idSuffix':_0x229540[_0x1e4888(0x206)]},_0x2c8b55({'ref':_0x32ee2a,'className':_0x343bc1},_0x15db46),_0x1c134a);});function _0x5a3799(_0x49106a,_0xfbcaea,_0x2c9188,_0x587408,_0x79c2ee){const _0x57ca22=_0x36331a;return _0x9dce46[_0x57ca22(0x40b)](_0x49106a[_0x57ca22(0x319)],_0x2c8b55(_0x2c8b55({'key':_0xfbcaea},_0x5c6b78(_0x49106a,_0x2c9188,_0x79c2ee)),_0x587408),(_0x4da3fe(_0x49106a,_0x2c9188)['children']||[])['map'](function(_0x43c3f2,_0x131e93){const _0x578d5e=_0x57ca22;return _0x5a3799(_0x43c3f2,''[_0x578d5e(0x2fe)](_0xfbcaea,'-')['concat'](_0x49106a['tag'],'-')[_0x578d5e(0x2fe)](_0x131e93),_0x2c9188,void 0x0,_0x79c2ee);}));}function _0x5c6b78(_0x5dba6f,_0xe0cf94,_0xf32580){const _0x460d47=_0x36331a;var _0x17525d=_0x2c8b55({},_0x5dba6f[_0x460d47(0x31e)]);_0xf32580!=null&&_0xf32580['colorChannel1']&&_0x17525d['fill']===_0x460d47(0x27e)&&(_0x17525d[_0x460d47(0x1d6)]=_0xf32580['colorChannel1']),_0x5dba6f[_0x460d47(0x319)]===_0x460d47(0x243)&&_0x17525d['id']&&(_0x17525d['id']=_0x17525d['id']+_0xe0cf94[_0x460d47(0x2bd)]),Object[_0x460d47(0x26f)](_0x17525d)['forEach'](function(_0x145e98){const _0x4cd2d9=_0x460d47;var _0x175121=_0x145e98[0x0],_0x3e5d19=_0x145e98[0x1];_0x175121===_0x4cd2d9(0x243)&&typeof _0x3e5d19=='string'&&(_0x17525d[_0x175121]=_0x3e5d19[_0x4cd2d9(0x234)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xe0cf94['idSuffix'],')')));});var _0x7191c7=_0xe0cf94[_0x460d47(0x294)];return!_0x7191c7||_0x7191c7[_0x460d47(0x349)]===0x0||(_0x5dba6f[_0x460d47(0x319)]==='use'&&_0x17525d['xlink:href']&&(_0x17525d['xlink:href']=_0x17525d['xlink:href']+_0xe0cf94[_0x460d47(0x2bd)]),Object[_0x460d47(0x26f)](_0x17525d)[_0x460d47(0x19f)](function(_0x1240b2){const _0x42cdca=_0x460d47;var _0x4fec71=_0x1240b2[0x0],_0x3722ca=_0x1240b2[0x1];typeof _0x3722ca=='string'&&(_0x17525d[_0x4fec71]=_0x3722ca[_0x42cdca(0x234)](/url\(#(.*)\)/,_0x42cdca(0x25d)['concat'](_0xe0cf94[_0x42cdca(0x2bd)],')')));})),_0x17525d;}function _0x4da3fe(_0xbbd9bb,_0x128394){const _0x34a683=_0x36331a;var _0x3740cb,_0x3dec8d=_0x128394[_0x34a683(0x294)];return!_0x3dec8d||_0x3dec8d[_0x34a683(0x349)]===0x0?_0xbbd9bb:_0xbbd9bb[_0x34a683(0x319)]===_0x34a683(0x2a6)&&(!((_0x3740cb=_0xbbd9bb[_0x34a683(0x1fd)])===null||_0x3740cb===void 0x0)&&_0x3740cb['length'])?_0x2c8b55(_0x2c8b55({},_0xbbd9bb),{'children':_0xbbd9bb[_0x34a683(0x1fd)][_0x34a683(0x214)](function(_0x516fad){const _0x3a4db0=_0x34a683;return typeof _0x516fad['attrs']['id']==_0x3a4db0(0x2d3)&&_0x3dec8d&&_0x3dec8d[_0x3a4db0(0x1d2)](_0x516fad[_0x3a4db0(0x31e)]['id'])?_0x2c8b55(_0x2c8b55({},_0x516fad),{'attrs':_0x2c8b55(_0x2c8b55({},_0x516fad[_0x3a4db0(0x31e)]),{'id':_0x516fad[_0x3a4db0(0x31e)]['id']+_0x128394[_0x3a4db0(0x2bd)]})}):_0x516fad;})}):_0xbbd9bb;}function _0x4ff7ec(){const _0x483b37=_0x36331a;return Math[_0x483b37(0x24b)]()['toString'](0x24)[_0x483b37(0x230)](0x2,0x8);}_0x1ba119['displayName']=_0x36331a(0x3d3);var _0x52258e={'tag':_0x36331a(0x1ad),'attrs':{'xmlns':_0x36331a(0x352),'fill':_0x36331a(0x1a5),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x36331a(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x36331a(0x2e3)},'children':[{'tag':_0x36331a(0x25e),'attrs':{'stroke':_0x36331a(0x236),'d':_0x36331a(0x3c9),'strokeLinecap':_0x36331a(0x307),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x36331a(0x2a6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x36331a(0x1c9)},'children':[{'tag':_0x36331a(0x25e),'attrs':{'fill':_0x36331a(0x38d),'d':_0x36331a(0x427)}}]}]}],'defIds':[_0x36331a(0x1c9)]},_0x4f091d=_0x9dce46[_0x36331a(0x2b9)](function(_0x30fa7,_0x17a229){const _0x1c6fed=_0x36331a;return _0x9dce46[_0x1c6fed(0x40b)](_0x1ba119,Object[_0x1c6fed(0x31a)]({},_0x30fa7,{'id':'off-line-icon','ref':_0x17a229,'icon':_0x52258e}));});_0x4f091d[_0x36331a(0x1de)]=_0x36331a(0x3d5);var _0xf4b1ba={'tag':_0x36331a(0x1ad),'attrs':{'xmlns':_0x36331a(0x352),'fill':_0x36331a(0x1a5),'viewBox':_0x36331a(0x3a3),'width':_0x36331a(0x2aa),'height':_0x36331a(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x36331a(0x39f)},'children':[{'tag':'path','attrs':{'stroke':_0x36331a(0x236),'d':_0x36331a(0x20d),'strokeLinecap':_0x36331a(0x307),'strokeLinejoin':_0x36331a(0x307),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x36331a(0x300)},'children':[{'tag':_0x36331a(0x25e),'attrs':{'fill':_0x36331a(0x38d),'d':_0x36331a(0x427),'transform':_0x36331a(0x308)}}]}]}],'defIds':[_0x36331a(0x300)]},_0x3b9692=_0x9dce46[_0x36331a(0x2b9)](function(_0x1343e0,_0x4c1f4e){const _0x2e1182=_0x36331a;return _0x9dce46['createElement'](_0x1ba119,Object[_0x2e1182(0x31a)]({},_0x1343e0,{'id':'on-line-icon','ref':_0x4c1f4e,'icon':_0xf4b1ba}));});_0x3b9692['displayName']=_0x36331a(0x3f0);function _0x4aa137(_0x30e8c1){const _0x5659f7=_0x36331a;switch(_0x30e8c1){case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x2a8)]:return _0x5659f7(0x2ad);case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x2a1)]:return'collabStatus.conflict';case _0x2390c9['CollaborationStatus'][_0x5659f7(0x228)]:return _0x5659f7(0x250);case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x3ec)]:return _0x5659f7(0x30f);case _0x2390c9['CollaborationStatus'][_0x5659f7(0x302)]:case _0x2390c9['CollaborationStatus'][_0x5659f7(0x359)]:return'collabStatus.syncing';case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x2fb)]:case _0x2390c9['CollaborationStatus'][_0x5659f7(0x3de)]:return _0x5659f7(0x366);}}function _0x393365(_0x42efd7){const _0x53c992=_0x36331a,{status$:_0x229f66}=_0x42efd7,_0x2315c8=_0x28ba4b['useObservable'](_0x229f66,_0x2390c9['CollaborationStatus'][_0x53c992(0x3ec)]),_0x198c27=_0x28ba4b[_0x53c992(0x312)](_0x52c702[_0x53c992(0x2bc)]),_0x51a384=_0x28ba4b['useDependency'](_0x2390c9[_0x53c992(0x256)]),_0x55f4f6=_0x2315c8!==_0x2390c9[_0x53c992(0x34a)]['OFFLINE'],_0x50d704=_0x198c27['t'](_0x4aa137(_0x2315c8)),_0x3dbb8d=_0x55f4f6?_0x5c8876[_0x53c992(0x3eb)](_0x3b9692,{}):_0x5c8876[_0x53c992(0x3eb)](_0x4f091d,{}),_0x22f356=_0x9dce46['useCallback'](()=>{const _0x3f6237=_0x53c992;_0x55f4f6||_0x51a384[_0x3f6237(0x1cd)]();},[_0x55f4f6,_0x51a384]);function _0x5b0c05(){const _0x6ad77e=_0x53c992;return _0x5c8876[_0x6ad77e(0x197)](_0x6ad77e(0x421),{'className':_0x6ad77e(0x422),'onClick':_0x22f356,'children':[_0x5c8876[_0x6ad77e(0x3eb)]('div',{'className':_0x1de269[_0x6ad77e(0x1b5)](_0x6ad77e(0x19d),{'univer-text-green-500':_0x55f4f6,'univer-text-red-500':!_0x55f4f6}),'children':_0x3dbb8d}),_0x5c8876['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50d704})]});}return _0x55f4f6?_0x5b0c05():_0x5c8876[_0x53c992(0x3eb)](_0x1de269['Tooltip'],{'title':_0x198c27['t'](_0x53c992(0x248)),'children':_0x5b0c05()});}var _0x2ee936=Object[_0x36331a(0x2b6)],_0x16996a=(_0x28fafc,_0x4e99e2,_0x541838,_0x2e3771)=>{const _0x1580c1=_0x36331a;for(var _0x5daacf=_0x2e3771>0x1?void 0x0:_0x2e3771?_0x2ee936(_0x4e99e2,_0x541838):_0x4e99e2,_0x30a940=_0x28fafc[_0x1580c1(0x349)]-0x1,_0x4533cb;_0x30a940>=0x0;_0x30a940--)(_0x4533cb=_0x28fafc[_0x30a940])&&(_0x5daacf=_0x4533cb(_0x5daacf)||_0x5daacf);return _0x5daacf;},_0x1fc025=(_0x293935,_0x52f4d8)=>(_0x2d2feb,_0xb7e011)=>_0x52f4d8(_0x2d2feb,_0xb7e011,_0x293935);_0x2371ad['DesktopCollaborationStatusDisplayController']=class extends _0x52c702['Disposable']{constructor(_0x1e8642,_0x7cb77b,_0x22c81f,_0x193aca){const _0x1b51ab=_0x36331a;super(),_0x5cb653(this,_0x1b51ab(0x3e1),new _0x160e63[(_0x1b51ab(0x37a))](_0x2390c9[_0x1b51ab(0x34a)][_0x1b51ab(0x3ec)])),(this['_univerInstanceService']=_0x1e8642,this[_0x1b51ab(0x39b)]=_0x7cb77b,this[_0x1b51ab(0x204)]=_0x22c81f,this[_0x1b51ab(0x34c)]=_0x193aca,this[_0x1b51ab(0x18f)](),this[_0x1b51ab(0x3b3)]());}[_0x36331a(0x3b3)](){const _0x1beab4=_0x36331a;this[_0x1beab4(0x2e6)](this['_univerInstanceService'][_0x1beab4(0x2a3)][_0x1beab4(0x2d4)](_0x160e63[_0x1beab4(0x244)](()=>{const _0xa30ae2=_0x1beab4,_0x22dc74=this[_0xa30ae2(0x3f8)][_0xa30ae2(0x405)]();return _0x22dc74?this[_0xa30ae2(0x204)][_0xa30ae2(0x3d2)](_0x22dc74[_0xa30ae2(0x240)]()):_0x160e63['of'](null);}),_0x160e63[_0x1beab4(0x244)](_0x4d1710=>_0x4d1710?_0x4d1710[_0x1beab4(0x3c8)]:_0x160e63['of'](_0x2390c9[_0x1beab4(0x34a)]['NOT_COLLAB'])))['subscribe'](_0x23f464=>{const _0x792142=_0x1beab4;this[_0x792142(0x3e1)]['next'](_0x23f464);}));}[_0x36331a(0x18f)](){const _0x2dc0cf=_0x36331a;this[_0x2dc0cf(0x2e6)](this['_uiPartsService'][_0x2dc0cf(0x1a4)](_0x28ba4b['BuiltInUIPart']['HEADER_MENU'],()=>_0x28ba4b[_0x2dc0cf(0x245)](_0x44d28d({'status$':this[_0x2dc0cf(0x3e1)]['asObservable']()}),this[_0x2dc0cf(0x39b)])));}},_0x2371ad[_0x36331a(0x3f2)]=_0x16996a([_0x1fc025(0x0,_0x52c702[_0x36331a(0x38f)]),_0x1fc025(0x1,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x1fc025(0x2,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x3bd)])),_0x1fc025(0x3,_0x28ba4b['IUIPartsService'])],_0x2371ad[_0x36331a(0x3f2)]);function _0x44d28d(_0x2dc83a){const {status$:_0x21a26c}=_0x2dc83a;return function(){const _0x55ece1=_0x5710;return _0x5c8876[_0x55ece1(0x3eb)](_0x393365,{'status$':_0x21a26c});};}var _0x368952=Object[_0x36331a(0x2b6)],_0x138a6e=(_0x4f83ca,_0x3185d5,_0x2e2d8c,_0x55ccf1)=>{const _0x13195d=_0x36331a;for(var _0x3e8336=_0x55ccf1>0x1?void 0x0:_0x55ccf1?_0x368952(_0x3185d5,_0x2e2d8c):_0x3185d5,_0x3bb6a1=_0x4f83ca[_0x13195d(0x349)]-0x1,_0x2d882f;_0x3bb6a1>=0x0;_0x3bb6a1--)(_0x2d882f=_0x4f83ca[_0x3bb6a1])&&(_0x3e8336=_0x2d882f(_0x3e8336)||_0x3e8336);return _0x3e8336;},_0x20f983=(_0x1ed459,_0x55d751)=>(_0x22c2bb,_0x3b7236)=>_0x55d751(_0x22c2bb,_0x3b7236,_0x1ed459);let _0x15688f=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x8b63a,_0x3cc042,_0x41c72f,_0x36cc6a,_0x570bee,_0x270d81){const _0x5d1f13=_0x36331a;super(),this[_0x5d1f13(0x21c)]=_0x8b63a,this[_0x5d1f13(0x2b0)]=_0x3cc042,this[_0x5d1f13(0x1ca)]=_0x41c72f,this[_0x5d1f13(0x1bc)]=_0x36cc6a,this[_0x5d1f13(0x2ef)]=_0x570bee,this[_0x5d1f13(0x3d7)]=_0x270d81,this[_0x5d1f13(0x3e4)](),this[_0x5d1f13(0x26c)]();}[_0x36331a(0x3e4)](){const _0x83137e=_0x36331a;this[_0x83137e(0x2e6)](this['_beforeCloseService'][_0x83137e(0x216)](()=>{const _0x449ff3=_0x83137e;if(this[_0x449ff3(0x2b0)][_0x449ff3(0x199)][_0x449ff3(0x418)])return this[_0x449ff3(0x3d7)]['t'](_0x449ff3(0x280));}));}[_0x36331a(0x26c)](){const _0x24e0ab=_0x36331a;this[_0x24e0ab(0x2e6)](this[_0x24e0ab(0x1ca)][_0x24e0ab(0x298)]['subscribe'](_0x16de41=>{const _0x4b88dd=_0x24e0ab;_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x39e)]&&this[_0x4b88dd(0x1bc)]['show']({'type':_0x1de269[_0x4b88dd(0x1e0)][_0x4b88dd(0x2d6)],'content':this[_0x4b88dd(0x3d7)]['t'](_0x4b88dd(0x396))}),_0x16de41['id']===_0x2390c9['CollaborationUIEventId'][_0x4b88dd(0x1c7)]&&this[_0x4b88dd(0x1bc)][_0x4b88dd(0x26e)]({'type':_0x1de269[_0x4b88dd(0x1e0)]['Warning'],'content':this[_0x4b88dd(0x3d7)]['t']('collaboration.closeRoom')}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x1ab)]&&this[_0x4b88dd(0x2ef)][_0x4b88dd(0x26e)]({'title':this[_0x4b88dd(0x3d7)]['t']('permission.title'),'content':this['_localeService']['t'](_0x4b88dd(0x229)),'type':_0x4b88dd(0x2f6),'duration':0x0}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)]['CONFLICT']&&this[_0x4b88dd(0x1bc)]['show']({'type':_0x1de269[_0x4b88dd(0x1e0)]['Error'],'content':this['_localeService']['t'](_0x4b88dd(0x1f7))+'('+_0x16de41[_0x4b88dd(0x2ff)]+')'}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x205)]&&this[_0x4b88dd(0x1bc)][_0x4b88dd(0x26e)]({'type':_0x1de269['MessageType']['Warning'],'content':this['_localeService']['t'](_0x16de41['data']||'')}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x41d)]&&this[_0x4b88dd(0x1bc)]['show']({'type':_0x1de269[_0x4b88dd(0x1e0)][_0x4b88dd(0x2d6)],'content':this[_0x4b88dd(0x3d7)]['t'](_0x4b88dd(0x1e2))}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x1df)]&&this[_0x4b88dd(0x1bc)][_0x4b88dd(0x26e)]({'type':_0x1de269['MessageType'][_0x4b88dd(0x29e)],'content':this[_0x4b88dd(0x3d7)]['t'](_0x4b88dd(0x362))}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x3fb)]&&this['_messageService'][_0x4b88dd(0x26e)]({'type':_0x1de269[_0x4b88dd(0x1e0)][_0x4b88dd(0x29e)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x15688f=_0x138a6e([_0x20f983(0x0,_0x28ba4b[_0x36331a(0x3e2)]),_0x20f983(0x1,_0x2390c9[_0x36331a(0x413)]),_0x20f983(0x2,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x3e5)])),_0x20f983(0x3,_0x28ba4b[_0x36331a(0x27c)]),_0x20f983(0x4,_0x28ba4b['INotificationService']),_0x20f983(0x5,_0x52c702['Inject'](_0x52c702['LocaleService']))],_0x15688f);const _0x4e3052=_0x36331a(0x295),_0x3dbd8b={},_0x43ac3b=_0x52c702[_0x36331a(0x2dc)](_0x36331a(0x33d));var _0x183699=Object[_0x36331a(0x2b6)],_0x1da592=(_0x4e3beb,_0x1655a1,_0x1d430e,_0x41a3e9)=>{const _0x5cacd4=_0x36331a;for(var _0x5ef35b=_0x41a3e9>0x1?void 0x0:_0x41a3e9?_0x183699(_0x1655a1,_0x1d430e):_0x1655a1,_0x786d0e=_0x4e3beb[_0x5cacd4(0x349)]-0x1,_0x4a3083;_0x786d0e>=0x0;_0x786d0e--)(_0x4a3083=_0x4e3beb[_0x786d0e])&&(_0x5ef35b=_0x4a3083(_0x5ef35b)||_0x5ef35b);return _0x5ef35b;},_0x5dce94=(_0x133dcf,_0x34845e)=>(_0x23a2d6,_0x5571b4)=>_0x34845e(_0x23a2d6,_0x5571b4,_0x133dcf);_0x2371ad[_0x36331a(0x2a7)]=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x4c272c,_0x16cc85,_0x1e0d86,_0x4d1221,_0x4e1813){const _0xede170=_0x36331a;super(),this['_urlService']=_0x4c272c,this[_0xede170(0x1da)]=_0x16cc85,this[_0xede170(0x1b3)]=_0x1e0d86,this[_0xede170(0x31b)]=_0x4d1221,_0x4e1813?_0x4e1813==null||_0x4e1813[_0xede170(0x1d0)]()[_0xede170(0x31d)](()=>this[_0xede170(0x347)]()):(this[_0xede170(0x1da)]['debug']('[CollaborationDataLoaderController]',_0xede170(0x3e0)),this['_init']());}async[_0x36331a(0x347)](){const _0x4bd820=_0x36331a,_0x452367=this[_0x4bd820(0x212)][_0x4bd820(0x36b)](_0x4bd820(0x372)),_0x1656db=this[_0x4bd820(0x212)][_0x4bd820(0x36b)]('type'),_0x556665=this[_0x4bd820(0x212)][_0x4bd820(0x36b)](_0x4bd820(0x409));if(!_0x452367||!_0x1656db){this['_logService'][_0x4bd820(0x21a)](_0x4bd820(0x21b),_0x4bd820(0x354));return;}const _0xc7c5b5=await this[_0x4bd820(0x31b)][_0x4bd820(0x394)](_0x452367,Number(_0x1656db),_0x556665);_0xc7c5b5&&_0xc7c5b5 instanceof _0x52c702[_0x4bd820(0x3ae)]&&this[_0x4bd820(0x408)](_0xc7c5b5);}async[_0x36331a(0x408)](_0x7c4bd6){const _0x292a7a=_0x36331a;await this[_0x292a7a(0x1ed)](_0x7c4bd6),_0x7c4bd6[_0x292a7a(0x40c)]['pipe'](_0x160e63[_0x292a7a(0x2c5)](this[_0x292a7a(0x2c3)]))[_0x292a7a(0x328)](_0x41ca4c=>{const _0x42daf6=_0x292a7a;_0x41ca4c&&this[_0x42daf6(0x29c)](_0x41ca4c);}),this[_0x292a7a(0x212)][_0x292a7a(0x315)]['pipe'](_0x160e63[_0x292a7a(0x2c5)](this[_0x292a7a(0x2c3)]))[_0x292a7a(0x328)](()=>this[_0x292a7a(0x1ed)](_0x7c4bd6));}[_0x36331a(0x29c)](_0x4a4ee0,_0x14a949=!0x1){const _0x41585f=_0x36331a,_0x2546d2=this[_0x41585f(0x212)][_0x41585f(0x36b)](_0x41585f(0x409));_0x4a4ee0[_0x41585f(0x23c)]()!==_0x2546d2&&this[_0x41585f(0x212)]['setParam'](_0x41585f(0x409),_0x4a4ee0['getSheetId'](),_0x14a949);}async[_0x36331a(0x1ed)](_0x3b3eb9){const _0x4c22a1=_0x36331a;var _0x187b44;const _0x522335=this['_urlService'][_0x4c22a1(0x36b)]('subunit');if(!_0x522335||!_0x3b3eb9[_0x4c22a1(0x3b8)](_0x522335)){const _0x1f0139=_0x3b3eb9[_0x4c22a1(0x2db)]()[0x0],_0x4192ae=_0x3b3eb9[_0x4c22a1(0x3b8)](_0x1f0139);if(!_0x4192ae)return;this[_0x4c22a1(0x29c)](_0x4192ae,!0x0),await this[_0x4c22a1(0x1b3)]['executeCommand'](_0x3e234a[_0x4c22a1(0x28d)]['id'],{'unitId':_0x3b3eb9['getUnitId'](),'subUnitId':_0x1f0139});return;}((_0x187b44=_0x3b3eb9[_0x4c22a1(0x3a8)]())==null?void 0x0:_0x187b44[_0x4c22a1(0x23c)]())!==_0x522335&&await this[_0x4c22a1(0x1b3)][_0x4c22a1(0x20c)](_0x3e234a['SetWorksheetActivateCommand']['id'],{'unitId':_0x3b3eb9[_0x4c22a1(0x240)](),'subUnitId':_0x522335});}},_0x2371ad['CollaborationDataLoaderController']=_0x1da592([_0x5dce94(0x0,_0x43ac3b),_0x5dce94(0x1,_0x52c702['ILogService']),_0x5dce94(0x2,_0x52c702[_0x36331a(0x1f8)]),_0x5dce94(0x3,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x1e8)])),_0x5dce94(0x4,_0x52c702[_0x36331a(0x1a9)](_0x23c22c['IRemoteInstanceService']))],_0x2371ad['CollaborationDataLoaderController']);var _0x3b78f4=Object[_0x36331a(0x2b6)],_0x5c56a0=(_0x598542,_0x2277df,_0x144033,_0x5d8121)=>{const _0x116342=_0x36331a;for(var _0xba30c=_0x5d8121>0x1?void 0x0:_0x5d8121?_0x3b78f4(_0x2277df,_0x144033):_0x2277df,_0x5e1646=_0x598542[_0x116342(0x349)]-0x1,_0x3d6ddd;_0x5e1646>=0x0;_0x5e1646--)(_0x3d6ddd=_0x598542[_0x5e1646])&&(_0xba30c=_0x3d6ddd(_0xba30c)||_0xba30c);return _0xba30c;},_0x3a1f2c=(_0x54c0b0,_0xf1eda5)=>(_0x4e9d7a,_0x91441f)=>_0xf1eda5(_0x4e9d7a,_0x91441f,_0x54c0b0);let _0x4e8924=class{constructor(_0x191594,_0x294acd,_0x39fcc2){const _0x3b2486=_0x36331a;this['_injector']=_0x191594,this[_0x3b2486(0x196)]=_0x294acd,this['_renderManagerService']=_0x39fcc2;}['transformIMECache'](_0x5611ce){const _0x5a7e91=_0x36331a;this[_0x5a7e91(0x343)](_0x5611ce),this[_0x5a7e91(0x2c8)](_0x5611ce);}['transformRemoteChangeset'](_0x567fd8){const _0xaaddf0=_0x36331a,{unitID:_0x430f54}=_0x567fd8,_0x294578=this['_renderManagerService']['getRenderById'](_0x430f54)[_0xaaddf0(0x20e)](_0x458abf[_0xaaddf0(0x190)]),{redoCache:_0x224e13}=_0x294578['getUndoRedoMutationParamsCache']();if(_0x224e13['length']===0x0)return _0x567fd8;let _0x25f6a4=_0x52c702['Tools']['deepClone'](_0x567fd8[_0xaaddf0(0x1e7)][0x0]);for(let _0x2fd644=0x0;_0x2fd644<_0x224e13[_0xaaddf0(0x349)];_0x2fd644++){const _0x243f64={'id':_0xaaddf0(0x1e9),'params':{..._0x224e13[_0x2fd644]}},_0x37d2ae=this['_transformService']['transformMutation'](_0x25f6a4,_0x243f64,!0x1);if(_0x4d50de['isTransformMutationFailure'](_0x37d2ae))throw _0x37d2ae[_0xaaddf0(0x2f6)];_0x25f6a4=_0x37d2ae[_0xaaddf0(0x1be)];}return{..._0x52c702['Tools']['deepClone'](_0x567fd8),'mutations':[_0x25f6a4]};}[_0x36331a(0x343)](_0x414ada){const _0x10230f=_0x36331a,{unitID:_0x110aa8}=_0x414ada,_0x4650dc=this[_0x10230f(0x29b)][_0x10230f(0x320)](_0x110aa8)[_0x10230f(0x20e)](_0x458abf[_0x10230f(0x190)]),{undoCache:_0x21eb69,redoCache:_0x4fbce6}=_0x4650dc[_0x10230f(0x2b8)]();if(_0x21eb69[_0x10230f(0x349)]===0x0||_0x4fbce6[_0x10230f(0x349)]===0x0)return;const _0x4298b2=[],_0x286b17=[];let _0x5c8bf3=_0x52c702[_0x10230f(0x1c4)][_0x10230f(0x1e5)](_0x414ada[_0x10230f(0x1e7)][0x0]),_0x59b92e=_0x52c702['Tools'][_0x10230f(0x1e5)](_0x414ada[_0x10230f(0x1e7)][0x0]);for(let _0x1bdad2=_0x21eb69[_0x10230f(0x349)]-0x1;_0x1bdad2>=0x0;_0x1bdad2--){const _0x37157c={'id':_0x10230f(0x1e9),'params':{..._0x21eb69[_0x1bdad2]}},_0x1f95d6={'id':_0x10230f(0x1e9),'params':{..._0x4fbce6[_0x1bdad2]}},_0x43baed=this[_0x10230f(0x196)][_0x10230f(0x33f)](_0x5c8bf3,_0x37157c,!0x1),_0xf9906=this[_0x10230f(0x196)]['transformMutation'](_0x59b92e,_0x1f95d6,!0x1);if(_0x4d50de['isTransformMutationFailure'](_0x43baed))throw _0x43baed[_0x10230f(0x2f6)];if(_0x4d50de[_0x10230f(0x269)](_0xf9906))throw _0xf9906[_0x10230f(0x2f6)];_0x4298b2[_0x10230f(0x374)](_0x43baed[_0x10230f(0x259)]['params']),_0x286b17[_0x10230f(0x374)](_0xf9906['m2Prime'][_0x10230f(0x3a4)]),_0x5c8bf3=_0x43baed['m1Prime'],_0x59b92e=_0xf9906[_0x10230f(0x1be)];}_0x4650dc['setUndoRedoMutationParamsCache']({'undoCache':_0x4298b2,'redoCache':_0x286b17});}[_0x36331a(0x2c8)](_0x11eaab){const _0x47b3ee=_0x36331a,{unitID:_0x576198}=_0x11eaab,_0x315166=this[_0x47b3ee(0x29b)][_0x47b3ee(0x320)](_0x576198)[_0x47b3ee(0x20e)](_0x458abf[_0x47b3ee(0x190)]),_0x208fbb=_0x315166[_0x47b3ee(0x40a)]();if(_0x208fbb==null)return;const _0x33d8d5=[{'id':_0x47b3ee(0x1e9),'params':{'unitId':_0x11eaab[_0x47b3ee(0x1d8)],'actions':null,'textRanges':[_0x208fbb]}}],_0x2653ba=this[_0x47b3ee(0x196)]['transformMutationsWithChangeset'](_0x11eaab,_0x33d8d5);if(!_0x4d50de[_0x47b3ee(0x336)](_0x2653ba))throw _0x2653ba[_0x47b3ee(0x2f6)];const _0x3b9bfe=_0x2653ba[_0x47b3ee(0x259)][0x0]['params'][_0x47b3ee(0x2a9)];Array['isArray'](_0x3b9bfe)&&_0x3b9bfe[_0x47b3ee(0x349)]&&_0x315166[_0x47b3ee(0x2ee)](_0x3b9bfe[0x0]);}};_0x4e8924=_0x5c56a0([_0x3a1f2c(0x0,_0x52c702['Inject'](_0x52c702[_0x36331a(0x289)])),_0x3a1f2c(0x1,_0x4d50de[_0x36331a(0x32b)]),_0x3a1f2c(0x2,_0x711590[_0x36331a(0x27d)])],_0x4e8924);var _0x3f9a78=Object[_0x36331a(0x2b6)],_0x4a25b7=(_0xac27ef,_0x1eafc4,_0x395a71,_0x584c61)=>{for(var _0x5a8e4e=_0x584c61>0x1?void 0x0:_0x584c61?_0x3f9a78(_0x1eafc4,_0x395a71):_0x1eafc4,_0x59024a=_0xac27ef['length']-0x1,_0x82f1dc;_0x59024a>=0x0;_0x59024a--)(_0x82f1dc=_0xac27ef[_0x59024a])&&(_0x5a8e4e=_0x82f1dc(_0x5a8e4e)||_0x5a8e4e);return _0x5a8e4e;},_0x511708=(_0x4a3d64,_0x5b310d)=>(_0x527609,_0x19872b)=>_0x5b310d(_0x527609,_0x19872b,_0x4a3d64);let _0x1bf8df=class{constructor(_0x10c628,_0x502735,_0x45c1fb){const _0x2032d1=_0x36331a;this[_0x2032d1(0x39b)]=_0x10c628,this[_0x2032d1(0x196)]=_0x502735,this[_0x2032d1(0x19c)]=_0x45c1fb;}[_0x36331a(0x23b)](_0x477a92){this['_transformHistoryAndStateStack'](_0x477a92);}['transformRemoteChangeset'](_0x36a898){const _0x5003e4=_0x36331a,{unitID:_0x51cc46}=_0x36a898,{collaboration:_0x772f96}=this['_docStateChangeManagerService'][_0x5003e4(0x1fa)](_0x51cc46);if(_0x772f96[_0x5003e4(0x349)]===0x0)return _0x36a898;let _0x5c8ee2=_0x52c702['Tools'][_0x5003e4(0x1e5)](_0x36a898[_0x5003e4(0x1e7)][0x0]);for(let _0x12bc36=0x0;_0x12bc36<_0x772f96['length'];_0x12bc36++){const _0x3a6802={'id':_0x5003e4(0x1e9),'params':{'unitId':_0x772f96[_0x12bc36]['unitId'],..._0x772f96[_0x12bc36][_0x5003e4(0x225)]}},_0x4b1a25=this['_transformService'][_0x5003e4(0x33f)](_0x5c8ee2,_0x3a6802,!0x1);if(_0x4d50de[_0x5003e4(0x269)](_0x4b1a25))throw _0x4b1a25[_0x5003e4(0x2f6)];_0x5c8ee2=_0x4b1a25[_0x5003e4(0x1be)];}return{..._0x52c702['Tools'][_0x5003e4(0x1e5)](_0x36a898),'mutations':[_0x5c8ee2]};}['_transformHistoryAndStateStack'](_0x25c723){const _0x367d56=_0x36331a,{unitID:_0x476789}=_0x25c723,{history:_0x1d2761,collaboration:_0x3141de}=this[_0x367d56(0x19c)][_0x367d56(0x1fa)](_0x476789);if(_0x1d2761[_0x367d56(0x349)]===0x0&&_0x3141de[_0x367d56(0x349)]===0x0)return;const _0x540da4=[],_0x1e2eb4=[];let _0x34d43a=_0x52c702[_0x367d56(0x1c4)][_0x367d56(0x1e5)](_0x25c723['mutations'][0x0]),_0xbe8b1e=_0x52c702['Tools'][_0x367d56(0x1e5)](_0x25c723['mutations'][0x0]);for(let _0x4abec8=_0x1d2761[_0x367d56(0x349)]-0x1;_0x4abec8>=0x0;_0x4abec8--){const _0xec6a28={'id':_0x367d56(0x1e9),'params':{'unitId':_0x1d2761[_0x4abec8]['unitId'],..._0x1d2761[_0x4abec8][_0x367d56(0x252)]}},_0x145e7e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d2761[_0x4abec8][_0x367d56(0x2a4)],..._0x1d2761[_0x4abec8]['redoState']}},_0x2f6e71=this[_0x367d56(0x196)][_0x367d56(0x33f)](_0x34d43a,_0xec6a28,!0x1),_0x42c9f5=this['_transformService'][_0x367d56(0x33f)](_0xbe8b1e,_0x145e7e,!0x1);if(_0x4d50de[_0x367d56(0x269)](_0x2f6e71))throw _0x2f6e71[_0x367d56(0x2f6)];if(_0x4d50de[_0x367d56(0x269)](_0x42c9f5))throw _0x42c9f5['error'];_0x540da4['unshift']({..._0x1d2761[_0x4abec8],'undoState':_0x2f6e71[_0x367d56(0x259)][_0x367d56(0x3a4)],'redoState':_0x42c9f5[_0x367d56(0x259)]['params']}),_0x34d43a=_0x2f6e71[_0x367d56(0x1be)],_0xbe8b1e=_0x42c9f5[_0x367d56(0x1be)];}_0x34d43a=_0x52c702[_0x367d56(0x1c4)][_0x367d56(0x1e5)](_0x25c723[_0x367d56(0x1e7)][0x0]),_0xbe8b1e=_0x52c702[_0x367d56(0x1c4)][_0x367d56(0x1e5)](_0x25c723[_0x367d56(0x1e7)][0x0]);for(let _0x3fe389=_0x3141de[_0x367d56(0x349)]-0x1;_0x3fe389>=0x0;_0x3fe389--){const _0x286d04={'id':_0x367d56(0x1e9),'params':{'unitId':_0x3141de[_0x3fe389][_0x367d56(0x2a4)],..._0x3141de[_0x3fe389][_0x367d56(0x252)]}},_0x3037a1={'id':_0x367d56(0x1e9),'params':{'unitId':_0x3141de[_0x3fe389][_0x367d56(0x2a4)],..._0x3141de[_0x3fe389][_0x367d56(0x225)]}},_0xd418d=this[_0x367d56(0x196)][_0x367d56(0x33f)](_0x34d43a,_0x286d04,!0x1),_0x3b8dfd=this['_transformService'][_0x367d56(0x33f)](_0xbe8b1e,_0x3037a1,!0x1);if(_0x4d50de[_0x367d56(0x269)](_0xd418d))throw _0xd418d[_0x367d56(0x2f6)];if(_0x4d50de[_0x367d56(0x269)](_0x3b8dfd))throw _0x3b8dfd[_0x367d56(0x2f6)];_0x1e2eb4[_0x367d56(0x374)]({..._0x3141de[_0x3fe389],'undoState':_0xd418d[_0x367d56(0x259)][_0x367d56(0x3a4)],'redoState':_0x3b8dfd[_0x367d56(0x259)][_0x367d56(0x3a4)]}),_0x34d43a=_0xd418d[_0x367d56(0x1be)],_0xbe8b1e=_0x3b8dfd[_0x367d56(0x1be)];}this[_0x367d56(0x19c)]['setStateCache'](_0x476789,{'history':_0x540da4,'collaboration':_0x1e2eb4});}};_0x1bf8df=_0x4a25b7([_0x511708(0x0,_0x52c702['Inject'](_0x52c702['Injector'])),_0x511708(0x1,_0x4d50de['ITransformService']),_0x511708(0x2,_0x52c702[_0x36331a(0x24d)](_0x458abf[_0x36331a(0x35c)]))],_0x1bf8df);var _0x4187d5=Object[_0x36331a(0x2b6)],_0x3bd5c1=(_0x9d1e14,_0x145d01,_0x1c3a19,_0x529b0b)=>{const _0x309d2d=_0x36331a;for(var _0x2d2fc3=_0x529b0b>0x1?void 0x0:_0x529b0b?_0x4187d5(_0x145d01,_0x1c3a19):_0x145d01,_0x526403=_0x9d1e14[_0x309d2d(0x349)]-0x1,_0x5bba86;_0x526403>=0x0;_0x526403--)(_0x5bba86=_0x9d1e14[_0x526403])&&(_0x2d2fc3=_0x5bba86(_0x2d2fc3)||_0x2d2fc3);return _0x2d2fc3;},_0x1d6a2c=(_0x16776f,_0x3e8f5d)=>(_0x3df77b,_0x3ec774)=>_0x3e8f5d(_0x3df77b,_0x3ec774,_0x16776f);let _0x14927e=class{constructor(_0x1fd7b2,_0x19179d){const _0x180418=_0x36331a;this[_0x180418(0x39b)]=_0x1fd7b2,this[_0x180418(0x196)]=_0x19179d;}[_0x36331a(0x37e)](_0x817b6f){const _0x1af5d8=_0x36331a;var _0x1bc7d6;const _0x139915=this[_0x1af5d8(0x39b)][_0x1af5d8(0x389)](_0xf45cd5['DocSelectionManagerService']),_0x16093f=(_0x1bc7d6=_0x139915[_0x1af5d8(0x1b6)]())!=null?_0x1bc7d6:[];if(_0x16093f['length']===0x0)return;const _0x1bb780=_0x817b6f['unitID'],_0x21b0da=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bb780,'actions':null,'textRanges':_0x16093f}}],_0x8d8113=this[_0x1af5d8(0x196)][_0x1af5d8(0x24c)](_0x817b6f,_0x21b0da);if(!_0x4d50de[_0x1af5d8(0x336)](_0x8d8113))throw _0x8d8113[_0x1af5d8(0x2f6)];const _0x4d3481=_0x8d8113['m2Prime'][0x0][_0x1af5d8(0x3a4)]['textRanges'];Array[_0x1af5d8(0x1af)](_0x4d3481)&&_0x4d3481['length']&&_0x139915[_0x1af5d8(0x1f6)](_0x4d3481,{'unitId':_0x1bb780,'subUnitId':_0x1bb780},!0x1);}};_0x14927e=_0x3bd5c1([_0x1d6a2c(0x0,_0x52c702['Inject'](_0x52c702[_0x36331a(0x289)])),_0x1d6a2c(0x1,_0x4d50de[_0x36331a(0x32b)])],_0x14927e);var _0x2e97c4=Object[_0x36331a(0x2b6)],_0x4d295c=(_0x4c4c53,_0x29a816,_0x3fad98,_0x3f8609)=>{for(var _0x4af762=_0x3f8609>0x1?void 0x0:_0x3f8609?_0x2e97c4(_0x29a816,_0x3fad98):_0x29a816,_0x1c5169=_0x4c4c53['length']-0x1,_0x144ee5;_0x1c5169>=0x0;_0x1c5169--)(_0x144ee5=_0x4c4c53[_0x1c5169])&&(_0x4af762=_0x144ee5(_0x4af762)||_0x4af762);return _0x4af762;},_0x1159f1=(_0x1110cb,_0x814c71)=>(_0xceb96b,_0x2bd9bc)=>_0x814c71(_0xceb96b,_0x2bd9bc,_0x1110cb);let _0x51bb39=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x349271,_0x989bf7,_0x1f9c6b,_0x33f6dc,_0x48572f,_0x4ab5c2,_0x513991,_0x881079){const _0x842180=_0x36331a;super(),_0x5cb653(this,_0x842180(0x3e1),new _0x160e63[(_0x842180(0x37a))](_0x2390c9[_0x842180(0x34a)][_0x842180(0x3ec)])),(this[_0x842180(0x19c)]=_0x349271,this['_collaborationController']=_0x989bf7,this[_0x842180(0x271)]=_0x1f9c6b,this[_0x842180(0x20f)]=_0x33f6dc,this[_0x842180(0x1e4)]=_0x48572f,this[_0x842180(0x1c6)]=_0x4ab5c2,this[_0x842180(0x1bc)]=_0x513991,this[_0x842180(0x3d7)]=_0x881079,this[_0x842180(0x3dd)]());}[_0x36331a(0x3dd)](){const _0x4658b9=_0x36331a;this[_0x4658b9(0x2e6)](this[_0x4658b9(0x204)]['entityInit$'][_0x4658b9(0x328)](_0x13057f=>{const _0x4c0691=_0x4658b9,_0x488cfc=this[_0x4c0691(0x19c)][_0x4c0691(0x2f9)][_0x4c0691(0x328)](_0x221f3c=>{const _0x288769=_0x4c0691;if(_0x221f3c==null)return;const {unitId:_0x31cc35,redoState:_0x129bc8,commandId:_0x48b380}=_0x221f3c;if(_0x31cc35!==_0x13057f[_0x288769(0x1d8)])return;const _0x180e1f={'id':_0x48b380,'type':_0x52c702[_0x288769(0x342)][_0x288769(0x3ca)],'params':{'unitId':_0x31cc35,'actions':_0x129bc8[_0x288769(0x3ea)],'textRanges':null}};_0x13057f[_0x288769(0x423)](_0x180e1f);});if(_0x13057f[_0x4c0691(0x2e6)](_0x488cfc),_0x13057f instanceof _0x2390c9[_0x4c0691(0x1ae)]){const _0x2650fb={'onTransformIME':_0x4882e1=>this[_0x4c0691(0x271)][_0x4c0691(0x2f1)](_0x4882e1),'onTransformState':_0x27d311=>this[_0x4c0691(0x20f)][_0x4c0691(0x23b)](_0x27d311),'onTransformSelections':_0x3a5716=>this[_0x4c0691(0x1e4)][_0x4c0691(0x37e)](_0x3a5716),'onSyncEditingCollabCursor':_0x135eb3=>this['_docSyncEditingCollabCursorService'][_0x4c0691(0x29a)](_0x135eb3),'onTransformRemoteChangesetByIMECache':_0x234c03=>this[_0x4c0691(0x271)][_0x4c0691(0x2bb)](_0x234c03),'onTransformRemoteChangesetByStateCache':_0x1f06c1=>this['_docTransformStateCacheService'][_0x4c0691(0x2bb)](_0x1f06c1)};_0x13057f[_0x4c0691(0x194)](_0x2650fb);}}));}};_0x51bb39=_0x4d295c([_0x1159f1(0x0,_0x52c702[_0x36331a(0x24d)](_0x458abf['DocStateChangeManagerService'])),_0x1159f1(0x1,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x3bd)])),_0x1159f1(0x2,_0x52c702['Inject'](_0x4e8924)),_0x1159f1(0x3,_0x52c702[_0x36331a(0x24d)](_0x1bf8df)),_0x1159f1(0x4,_0x52c702['Inject'](_0x14927e)),_0x1159f1(0x5,_0x52c702['Inject'](_0xd2d642)),_0x1159f1(0x6,_0x28ba4b[_0x36331a(0x27c)]),_0x1159f1(0x7,_0x52c702['Inject'](_0x52c702[_0x36331a(0x2bc)]))],_0x51bb39);var _0x52ff88=Object[_0x36331a(0x2b6)],_0xdce836=(_0x135606,_0x2e0800,_0x1ee782,_0x544ff5)=>{const _0x4d2970=_0x36331a;for(var _0x369820=_0x544ff5>0x1?void 0x0:_0x544ff5?_0x52ff88(_0x2e0800,_0x1ee782):_0x2e0800,_0x6bc944=_0x135606[_0x4d2970(0x349)]-0x1,_0x4a742f;_0x6bc944>=0x0;_0x6bc944--)(_0x4a742f=_0x135606[_0x6bc944])&&(_0x369820=_0x4a742f(_0x369820)||_0x369820);return _0x369820;},_0x176b20=(_0x5873f0,_0x548f0c)=>(_0x3eeee8,_0x48fd6c)=>_0x548f0c(_0x3eeee8,_0x48fd6c,_0x5873f0);let _0x102af3=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x5b369d,_0x385bde,_0x2c3f08){const _0x439bd9=_0x36331a;super(),_0x5cb653(this,_0x439bd9(0x301),new Map()),_0x5cb653(this,_0x439bd9(0x41c),new Map()),_0x5cb653(this,_0x439bd9(0x20b),!0x1),(this['_configService']=_0x5b369d,this[_0x439bd9(0x2f2)]=_0x385bde,this[_0x439bd9(0x1c1)]=_0x2c3f08);}[_0x36331a(0x3b7)](){this['_disabled']=!0x0;}[_0x36331a(0x395)](){const _0x2e380f=_0x36331a;this[_0x2e380f(0x20b)]=!0x1;}get[_0x36331a(0x199)](){const _0x1e9e12=_0x36331a;return this[_0x1e9e12(0x41c)];}[_0x36331a(0x2f7)](){const _0x355b83=_0x36331a;this[_0x355b83(0x2f5)]()[_0x355b83(0x31d)](()=>super['dispose']());}async[_0x36331a(0x426)](_0x572994){const _0x459a00=_0x36331a;return this[_0x459a00(0x20b)]?null:this[_0x459a00(0x2f2)][_0x459a00(0x365)](_0x2390c9[_0x459a00(0x19b)](_0x572994));}async[_0x36331a(0x1c3)](_0xb309d4,_0x57cedf){const _0x5da8c7=_0x36331a;return!!this[_0x5da8c7(0x2f2)][_0x5da8c7(0x34b)](_0xb309d4,_0x57cedf);}[_0x36331a(0x3ab)](_0x51bbf2,_0x19fc43,_0x35c733,_0x5f2b05){const _0x2b27da=_0x36331a,_0x481225=this[_0x2b27da(0x1c1)][_0x2b27da(0x404)](_0x51bbf2);this[_0x2b27da(0x301)][_0x2b27da(0x290)](_0x51bbf2,{'unitID':_0x51bbf2,'type':_0x19fc43,'awaitingChangeset':_0x35c733,'mutations':_0x5f2b05,'rev':_0x481225}),this[_0x2b27da(0x41c)][_0x2b27da(0x415)](_0x51bbf2)||this['_scheduleSaving'](_0x51bbf2);}['_scheduleSaving'](_0x3846d3){const _0x4320b3=_0x36331a,_0x178a5e=this[_0x4320b3(0x23e)]();_0x178a5e===0x0?this[_0x4320b3(0x41f)](_0x3846d3):this[_0x4320b3(0x41c)][_0x4320b3(0x290)](_0x3846d3,setTimeout(()=>this['_saveCache'](_0x3846d3),_0x178a5e));}[_0x36331a(0x23e)](){const _0x7c947d=_0x36331a;var _0x58d10b;return(_0x58d10b=this[_0x7c947d(0x2e7)][_0x7c947d(0x361)](_0x2390c9[_0x7c947d(0x3b9)]))!=null?_0x58d10b:_0x2390c9[_0x7c947d(0x3e3)];}[_0x36331a(0x41f)](_0x2a8be2){const _0x32fa31=_0x36331a,_0xb23577=this[_0x32fa31(0x41c)][_0x32fa31(0x389)](_0x2a8be2);return _0xb23577!==void 0x0&&window['clearTimeout'](_0xb23577),this['_localStorageService'][_0x32fa31(0x34b)](_0x2390c9['getLocalCacheKey'](_0x2a8be2),this[_0x32fa31(0x301)]['get'](_0x2a8be2))['then'](()=>this[_0x32fa31(0x41c)][_0x32fa31(0x1a1)](_0x2a8be2));}async['exhaustSavingTask'](){const _0x2e987d=_0x36331a,_0x12280c=[];this['_saveTaskMap']['forEach']((_0x150676,_0x34dffd)=>{const _0x5af9b2=_0x5710;window[_0x5af9b2(0x1ea)](_0x150676),_0x12280c[_0x5af9b2(0x383)](this['_saveCache'](_0x34dffd)[_0x5af9b2(0x31d)](()=>{const _0x5d9248=_0x5af9b2;this[_0x5d9248(0x41c)][_0x5d9248(0x1a1)](_0x34dffd);}));}),await Promise[_0x2e987d(0x2e8)](_0x12280c);}};_0x102af3=_0xdce836([_0x176b20(0x0,_0x52c702[_0x36331a(0x2a2)]),_0x176b20(0x1,_0x52c702[_0x36331a(0x3e9)]),_0x176b20(0x2,_0x52c702[_0x36331a(0x24d)](_0x4d50de[_0x36331a(0x265)]))],_0x102af3);class _0x20ae1e extends _0x52c702[_0x36331a(0x403)]{constructor(){const _0x58a9e6=_0x36331a;super(),_0x5cb653(this,'urlChange$'),this[_0x58a9e6(0x315)]=_0x160e63[_0x58a9e6(0x2cd)](window,_0x58a9e6(0x33a))['pipe'](_0x160e63[_0x58a9e6(0x2c5)](this[_0x58a9e6(0x2c3)]),_0x160e63[_0x58a9e6(0x275)](0x1),_0x160e63['mapTo'](void 0x0));}[_0x36331a(0x18c)](_0x2bf789,_0x54b7dc,_0x44d345=!0x1){const _0x115e31=_0x36331a,_0x364f94=new URL(window['location'][_0x115e31(0x386)]);_0x364f94[_0x115e31(0x390)][_0x115e31(0x290)](_0x2bf789,_0x54b7dc),_0x44d345?window['history'][_0x115e31(0x213)]('','',_0x364f94['toString']()):window[_0x115e31(0x1a2)]['pushState']('','',_0x364f94[_0x115e31(0x2b1)]());}[_0x36331a(0x24a)](_0x15919d,_0x55b07b=!0x1){const _0x2029e4=_0x36331a,_0x5014d6=new URL(window['location'][_0x2029e4(0x386)]);_0x5014d6[_0x2029e4(0x390)][_0x2029e4(0x1a1)](_0x15919d),_0x55b07b?window[_0x2029e4(0x1a2)][_0x2029e4(0x213)]('','',_0x5014d6[_0x2029e4(0x2b1)]()):window['history'][_0x2029e4(0x25c)]('','',_0x5014d6[_0x2029e4(0x2b1)]());}[_0x36331a(0x36b)](_0x394119){const _0x34ad82=_0x36331a;var _0x3722e1;return(_0x3722e1=new URL(window[_0x34ad82(0x3c6)][_0x34ad82(0x386)])[_0x34ad82(0x390)]['get'](_0x394119))!=null?_0x3722e1:void 0x0;}}var _0x11be37=Object['defineProperty'],_0x5ebf9d=Object[_0x36331a(0x2b6)],_0x1a8af3=(_0x2d5a4c,_0xa8aff4,_0x471908)=>_0xa8aff4 in _0x2d5a4c?_0x11be37(_0x2d5a4c,_0xa8aff4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x471908}):_0x2d5a4c[_0xa8aff4]=_0x471908,_0x5e66fb=(_0x93662c,_0x4199f0,_0x54e5c5,_0x441fa8)=>{const _0x3f3dee=_0x36331a;for(var _0x5a6e10=_0x441fa8>0x1?void 0x0:_0x441fa8?_0x5ebf9d(_0x4199f0,_0x54e5c5):_0x4199f0,_0x1c51e9=_0x93662c[_0x3f3dee(0x349)]-0x1,_0x2a444c;_0x1c51e9>=0x0;_0x1c51e9--)(_0x2a444c=_0x93662c[_0x1c51e9])&&(_0x5a6e10=_0x2a444c(_0x5a6e10)||_0x5a6e10);return _0x5a6e10;},_0x107f56=(_0x326c12,_0x1d518e)=>(_0x4b7f98,_0x4b4583)=>_0x1d518e(_0x4b7f98,_0x4b4583,_0x326c12),_0x598133=(_0x3fe927,_0x5c9277,_0x88a382)=>_0x1a8af3(_0x3fe927,_0x5c9277+'',_0x88a382);const _0x7aa7ca=_0x36331a(0x1a0);_0x2371ad['UniverCollaborationClientUIPlugin']=class extends _0x52c702[_0x36331a(0x260)]{constructor(_0x97b069=_0x3dbd8b,_0x25ad3c,_0x453c24,_0x36c098){const _0x22ecca=_0x36331a;super(),this[_0x22ecca(0x335)]=_0x97b069,this[_0x22ecca(0x29b)]=_0x25ad3c,this['_injector']=_0x453c24,this['_configService']=_0x36c098;const {..._0x51e614}=_0x52c702[_0x22ecca(0x264)]({},_0x3dbd8b,this['_config']);this['_configService'][_0x22ecca(0x2e4)](_0x4e3052,_0x51e614);}[_0x36331a(0x1f4)](){const _0x22c237=_0x36331a;this[_0x22c237(0x1e1)](),this[_0x22c237(0x253)]();}['onRendered'](){const _0x2140f1=_0x36331a;this[_0x2140f1(0x241)]();}[_0x36331a(0x1e1)](){const _0x2f5f07=_0x36331a;var _0x18f3f5;const _0x293a4c=[[_0x12dd9b],[_0x14927e],[_0x4e8924],[_0x1bf8df],[_0xd2d642],[_0x43ac3b,{'useClass':_0x20ae1e}],[_0x5b0bb2[_0x2f5f07(0x2b7)],{'useClass':_0x5b0bb2[_0x2f5f07(0x3b6)]}],[_0x2390c9[_0x2f5f07(0x413)],{'useClass':_0x102af3}],[_0x2371ad[_0x2f5f07(0x3f2)]],[_0x51bb39],[_0x15688f],[_0x518f67],[_0x447eb7],[_0x2371ad[_0x2f5f07(0x2a7)]]];_0x52c702[_0x2f5f07(0x37f)](this['_injector'],_0x52c702['mergeOverrideWithDependencies'](_0x293a4c,(_0x18f3f5=this[_0x2f5f07(0x335)])==null?void 0x0:_0x18f3f5['override']));}[_0x36331a(0x241)](){const _0x189f47=_0x36331a;this['disposeWithMe'](this['_renderManagerService'][_0x189f47(0x355)](_0x52c702[_0x189f47(0x345)][_0x189f47(0x38a)],[_0x86d5fa])),this[_0x189f47(0x2e6)](this['_renderManagerService'][_0x189f47(0x355)](_0x52c702[_0x189f47(0x345)][_0x189f47(0x326)],[_0xa1828c]));}['_initDependencies'](){const _0x5eda07=_0x36331a;_0x52c702['touchDependencies'](this[_0x5eda07(0x39b)],[[_0x518f67],[_0x2371ad[_0x5eda07(0x3f2)]],[_0x51bb39],[_0x15688f],[_0x2371ad['CollaborationDataLoaderController']]]);}},_0x598133(_0x2371ad[_0x36331a(0x3cc)],_0x36331a(0x3a5),_0x7aa7ca),_0x2371ad[_0x36331a(0x3cc)]=_0x5e66fb([_0x52c702[_0x36331a(0x337)](_0x2390c9[_0x36331a(0x3a6)]),_0x107f56(0x1,_0x711590[_0x36331a(0x27d)]),_0x107f56(0x2,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x107f56(0x3,_0x52c702['IConfigService'])],_0x2371ad[_0x36331a(0x3cc)]);var _0x51cca0=Object[_0x36331a(0x2b6)],_0x2fee8a=(_0x5052e7,_0x289d2f,_0x1000fe,_0x3797fe)=>{for(var _0xb7aa6e=_0x3797fe>0x1?void 0x0:_0x3797fe?_0x51cca0(_0x289d2f,_0x1000fe):_0x289d2f,_0x59bced=_0x5052e7['length']-0x1,_0x1ee8c9;_0x59bced>=0x0;_0x59bced--)(_0x1ee8c9=_0x5052e7[_0x59bced])&&(_0xb7aa6e=_0x1ee8c9(_0xb7aa6e)||_0xb7aa6e);return _0xb7aa6e;},_0x2afbdb=(_0x3b02ba,_0x359dbb)=>(_0x344694,_0x15feee)=>_0x359dbb(_0x344694,_0x15feee,_0x3b02ba);_0x2371ad['BrowserCollaborationSocketService']=class extends _0x2390c9[_0x36331a(0x348)]{constructor(_0x1d608b,_0x4b6a5a,_0x31cc8c,_0x1fe834,_0x8c03ce){super(_0x1d608b,_0x4b6a5a,_0x31cc8c,_0x1fe834,_0x8c03ce);}async['createSocket'](_0x55734c){const _0x4b52fb=_0x36331a,_0xa9dc1f=await this[_0x4b52fb(0x1f5)](),_0x404803=this[_0x4b52fb(0x202)](_0x55734c,_0xa9dc1f);return this[_0x4b52fb(0x2ca)](_0x404803);}['_createSocketURL'](_0x1261e5,_0x114b6a){const _0x5576c8=_0x36331a,_0x3f57f6=typeof window>'u'?new URL(_0x1261e5):new URL(_0x1261e5,window[_0x5576c8(0x3c6)][_0x5576c8(0x3fd)]);_0x3f57f6[_0x5576c8(0x390)]['set'](_0x5576c8(0x3c0),_0x114b6a);const _0x3be908=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5576c8(0x3c6)][_0x5576c8(0x2ed)]);return _0x3be908[_0x5576c8(0x389)](_0x5576c8(0x246))&&_0x3f57f6[_0x5576c8(0x390)][_0x5576c8(0x290)](_0x5576c8(0x246),_0x3be908[_0x5576c8(0x389)](_0x5576c8(0x246))),_0x3f57f6[_0x5576c8(0x2b1)]();}async[_0x36331a(0x1f5)](){const _0x5e56a9=_0x36331a;var _0xa30942,_0x175a8b,_0x44045c;const _0x55ec15=this['_configService']['getConfig'](_0x2390c9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x177db4=(_0xa30942=_0x55ec15==null?void 0x0:_0x55ec15[_0x5e56a9(0x224)])!=null?_0xa30942:_0x2390c9[_0x5e56a9(0x1cb)];return(_0x44045c=(_0x175a8b=(await this[_0x5e56a9(0x2e9)][_0x5e56a9(0x389)](_0x177db4,{'headers':{'Content-Type':'application/json'}}))[_0x5e56a9(0x324)])==null?void 0x0:_0x175a8b['ticket'])!=null?_0x44045c:'';}},_0x2371ad[_0x36331a(0x2fa)]=_0x2fee8a([_0x2afbdb(0x0,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x2afbdb(0x1,_0x52c702[_0x36331a(0x24d)](_0x5b0bb2['HTTPService'])),_0x2afbdb(0x2,_0x52c702['IConfigService']),_0x2afbdb(0x3,_0x52c702['ILogService']),_0x2afbdb(0x4,_0x4d50de[_0x36331a(0x209)])],_0x2371ad[_0x36331a(0x2fa)]);const _0x2fe8cd=0x7530,_0x49397b='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1343c7 extends _0x52c702[_0x36331a(0x3ff)]{constructor(){const _0x3770a7=_0x36331a;super(),_0x5cb653(this,_0x3770a7(0x3d4),_0x52c702['generateRandomId']()),_0x5cb653(this,_0x3770a7(0x2d5),new Set()),_0x5cb653(this,'_unitOnClients',new Map()),_0x5cb653(this,_0x3770a7(0x2ea),null),_0x5cb653(this,_0x3770a7(0x26b),new Map()),_0x5cb653(this,_0x3770a7(0x3df),new Map()),this[_0x3770a7(0x347)]();}[_0x36331a(0x2f7)](){const _0x245765=_0x36331a;super[_0x245765(0x2f7)](),this[_0x245765(0x26b)][_0x245765(0x19f)]((_0x301e3c,_0x3f1128)=>this[_0x245765(0x1b4)](_0x3f1128)),this[_0x245765(0x2ea)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x36331a(0x281)](_0x344357){const _0x47675d=_0x36331a;return this[_0x47675d(0x3ce)](_0x344357)[_0x47675d(0x2d4)](_0x160e63[_0x47675d(0x1a6)]());}[_0x36331a(0x237)](_0x2ff794){const _0xe1597a=_0x36331a;this[_0xe1597a(0x2d5)][_0xe1597a(0x418)]===0x0&&this['_scheduleHeartbeat'](),this[_0xe1597a(0x2d5)][_0xe1597a(0x3cf)](_0x2ff794),this[_0xe1597a(0x23d)]({'type':0x0,'memberID':this[_0xe1597a(0x3d4)],'unitIDs':[_0x2ff794],'isForwarded':!0x1});}[_0x36331a(0x384)](_0x18d97c){const _0x2f68cf=_0x36331a;this[_0x2f68cf(0x2d5)][_0x2f68cf(0x1a1)](_0x18d97c),this[_0x2f68cf(0x2d5)][_0x2f68cf(0x418)]===0x0&&this[_0x2f68cf(0x2ea)]&&window['clearInterval'](this[_0x2f68cf(0x2ea)]);}[_0x36331a(0x347)](){const _0x320399=_0x36331a;this[_0x320399(0x2e6)](_0x52c702[_0x320399(0x274)](_0x160e63['fromEvent'](window,'storage')[_0x320399(0x328)](_0x16f745=>{const _0x134062=_0x320399;if(_0x16f745['key']!==_0x49397b||!_0x16f745['newValue'])return;const _0x4969e7=JSON[_0x134062(0x35f)](_0x16f745[_0x134062(0x235)]);this[_0x134062(0x2d0)](_0x4969e7);}))),window[_0x320399(0x3d1)](_0x320399(0x1a7),()=>this[_0x320399(0x23d)]({'type':0x1,'memberID':this[_0x320399(0x3d4)],'unitIDs':Array[_0x320399(0x2d1)](this[_0x320399(0x2d5)])}));}[_0x36331a(0x2d0)](_0x33cb70){const _0x50c4c3=_0x36331a;switch(_0x33cb70[_0x50c4c3(0x3e7)]){case 0x0:this[_0x50c4c3(0x2c4)](_0x33cb70);break;case 0x1:this[_0x50c4c3(0x306)](_0x33cb70);break;case 0x2:this['_handleHeartbeatEvent'](_0x33cb70);break;}}['_handleJoinEvent'](_0x3de02e){const _0x3eb263=_0x36331a,{unitIDs:_0x573371,memberID:_0x3eb06c,isForwarded:_0x17417f}=_0x3de02e;_0x573371[_0x3eb263(0x19f)](_0x309bbe=>{const _0x571f71=_0x3eb263;if(!_0x17417f&&this[_0x571f71(0x382)]['has'](_0x309bbe)&&this[_0x571f71(0x3ce)](_0x309bbe)[_0x571f71(0x1d9)](_0x2390c9[_0x571f71(0x2be)][_0x571f71(0x356)]),!this[_0x571f71(0x382)][_0x571f71(0x415)](_0x309bbe)||!this[_0x571f71(0x382)][_0x571f71(0x389)](_0x309bbe)['has'](_0x3eb06c)){const _0xfeb141=this['_unitOnClients'][_0x571f71(0x389)](_0x309bbe)||new Set();_0xfeb141[_0x571f71(0x3cf)](_0x3eb06c),this['_unitOnClients'][_0x571f71(0x290)](_0x309bbe,_0xfeb141),this[_0x571f71(0x379)](_0x3eb06c);}}),_0x17417f||this['_send']({'type':0x0,'memberID':this[_0x3eb263(0x3d4)],'unitIDs':[...this[_0x3eb263(0x2d5)]],'isForwarded':!0x0});}[_0x36331a(0x379)](_0x412630){const _0x149549=_0x36331a;this['_removeClearOtherTimer'](_0x412630);const _0x52ca56=window[_0x149549(0x2d8)](()=>{const _0x25e4b1=_0x149549;this[_0x25e4b1(0x382)]['forEach'](_0x1c9d99=>{const _0x2c01e2=_0x25e4b1;_0x1c9d99[_0x2c01e2(0x1a1)](_0x412630);});},_0x2fe8cd*0x2);this[_0x149549(0x26b)][_0x149549(0x290)](_0x412630,_0x52ca56);}[_0x36331a(0x1b4)](_0x53251c){const _0x4605e7=_0x36331a;if(this['_clearOtherTimers'][_0x4605e7(0x415)](_0x53251c)){const _0x479117=this['_clearOtherTimers'][_0x4605e7(0x389)](_0x53251c);_0x479117&&window[_0x4605e7(0x1ea)](_0x479117),this[_0x4605e7(0x26b)][_0x4605e7(0x290)](_0x53251c,null);}}[_0x36331a(0x306)](_0xb469cc){const _0x1112a4=_0x36331a,{memberID:_0x155081,unitIDs:_0x9c829e}=_0xb469cc;_0x9c829e['forEach'](_0x2b747e=>{const _0x110f0f=_0x5710;var _0x15e2c2;const _0x327771=this[_0x110f0f(0x382)][_0x110f0f(0x389)](_0x2b747e);_0x327771&&(_0x327771[_0x110f0f(0x1a1)](_0x155081),(_0x15e2c2=this[_0x110f0f(0x3ce)](_0x2b747e))==null||_0x15e2c2['next'](_0x327771['size']===0x0?_0x2390c9[_0x110f0f(0x2be)][_0x110f0f(0x3c2)]:_0x2390c9['UnitStatus'][_0x110f0f(0x356)]));}),this[_0x1112a4(0x1b4)](_0x155081);}['_handleHeartbeatEvent'](_0x45a76d){const _0x4eb17c=_0x36331a;this[_0x4eb17c(0x379)](_0x45a76d['memberID']);}[_0x36331a(0x23d)](_0x1dad0d){const _0x44cc56=_0x36331a;localStorage[_0x44cc56(0x34b)](_0x49397b,JSON[_0x44cc56(0x1f9)](_0x1dad0d));}[_0x36331a(0x2ec)](){const _0x2b424c=_0x36331a;this[_0x2b424c(0x2ea)]=window[_0x2b424c(0x1eb)](()=>{const _0x13a0d9=_0x2b424c;this['_send']({'type':0x2,'memberID':this[_0x13a0d9(0x3d4)]});},_0x2fe8cd);}[_0x36331a(0x3ce)](_0x329b4d){const _0xf0d8f5=_0x36331a;return this[_0xf0d8f5(0x3df)][_0xf0d8f5(0x415)](_0x329b4d)||this[_0xf0d8f5(0x3df)][_0xf0d8f5(0x290)](_0x329b4d,new _0x160e63[(_0xf0d8f5(0x37a))](_0x2390c9['UnitStatus'][_0xf0d8f5(0x3c2)])),this['_unitStatus'][_0xf0d8f5(0x389)](_0x329b4d);}}var _0x3cd24a=(_0x3cf306=>(_0x3cf306[_0x3cf306[_0x36331a(0x331)]=0x0]=_0x36331a(0x331),_0x3cf306[_0x3cf306['OK']=0x1]='OK',_0x3cf306[_0x3cf306[_0x36331a(0x414)]=0x2]=_0x36331a(0x414),_0x3cf306[_0x3cf306[_0x36331a(0x1ab)]=0x3]=_0x36331a(0x1ab),_0x3cf306[_0x3cf306[_0x36331a(0x32a)]=0x4]=_0x36331a(0x32a),_0x3cf306[_0x3cf306['UNAUTHENTICATED']=0x5]=_0x36331a(0x1a3),_0x3cf306[_0x3cf306[_0x36331a(0x36e)]=0x6]=_0x36331a(0x36e),_0x3cf306[_0x3cf306[_0x36331a(0x3a7)]=0x7]=_0x36331a(0x3a7),_0x3cf306[_0x3cf306[_0x36331a(0x22b)]=0x8]=_0x36331a(0x22b),_0x3cf306[_0x3cf306[_0x36331a(0x353)]=0x9]=_0x36331a(0x353),_0x3cf306[_0x3cf306[_0x36331a(0x32f)]=0xa]=_0x36331a(0x32f),_0x3cf306[_0x3cf306['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3cf306[_0x3cf306[_0x36331a(0x2cf)]=0xc]=_0x36331a(0x2cf),_0x3cf306[_0x3cf306[_0x36331a(0x3b5)]=0xd]=_0x36331a(0x3b5),_0x3cf306[_0x3cf306['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x36331a(0x28b),_0x3cf306[_0x3cf306[_0x36331a(0x2eb)]=0x1389]=_0x36331a(0x2eb),_0x3cf306[_0x3cf306[_0x36331a(0x215)]=0x1771]=_0x36331a(0x215),_0x3cf306[_0x3cf306[_0x36331a(0x31f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3cf306[_0x3cf306['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x36331a(0x2e5),_0x3cf306[_0x3cf306[_0x36331a(0x338)]=0x1b59]=_0x36331a(0x338),_0x3cf306[_0x3cf306[_0x36331a(0x392)]=0x1b5a]=_0x36331a(0x392),_0x3cf306[_0x3cf306['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x36331a(0x255),_0x3cf306[_0x3cf306[_0x36331a(0x211)]=0x1b5c]=_0x36331a(0x211),_0x3cf306[_0x3cf306[_0x36331a(0x376)]=0x1b5d]=_0x36331a(0x376),_0x3cf306[_0x3cf306['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x36331a(0x1fe),_0x3cf306[_0x3cf306['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x36331a(0x32c),_0x3cf306[_0x3cf306[_0x36331a(0x398)]=0x232a]=_0x36331a(0x398),_0x3cf306[_0x3cf306[_0x36331a(0x370)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3cf306[_0x3cf306['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x36331a(0x2e0),_0x3cf306[_0x3cf306[_0x36331a(0x399)]=0x232d]=_0x36331a(0x399),_0x3cf306[_0x3cf306[_0x36331a(0x37c)]=0x2711]=_0x36331a(0x37c),_0x3cf306[_0x3cf306[_0x36331a(0x32d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3cf306[_0x3cf306[_0x36331a(0x378)]=0x2713]=_0x36331a(0x378),_0x3cf306[_0x3cf306[_0x36331a(0x3a1)]=0x2714]=_0x36331a(0x3a1),_0x3cf306[_0x3cf306['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x36331a(0x21d),_0x3cf306[_0x3cf306['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x36331a(0x323),_0x3cf306[_0x3cf306[_0x36331a(0x39d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3cf306[_0x3cf306[_0x36331a(0x3ef)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3cf306[_0x3cf306[_0x36331a(0x40f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3cf306[_0x3cf306[_0x36331a(0x2ce)]=0x271f]=_0x36331a(0x2ce),_0x3cf306[_0x3cf306[_0x36331a(0x198)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3cf306[_0x3cf306['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x36331a(0x1fb),_0x3cf306[_0x3cf306['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x36331a(0x2ae),_0x3cf306[_0x3cf306[_0x36331a(0x38c)]=0x2ee2]='INVALID_INVITE_CODE',_0x3cf306[_0x3cf306['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3cf306[_0x3cf306[_0x36331a(0x3f4)]=0x2ee4]=_0x36331a(0x3f4),_0x3cf306[_0x3cf306[_0x36331a(0x238)]=0x2ee5]=_0x36331a(0x238),_0x3cf306[_0x3cf306['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x36331a(0x200),_0x3cf306[_0x3cf306[_0x36331a(0x299)]=0x32ca]=_0x36331a(0x299),_0x3cf306[_0x3cf306[_0x36331a(0x2b5)]=0x32cb]=_0x36331a(0x2b5),_0x3cf306[_0x3cf306[_0x36331a(0x37b)]=-0x1]='UNRECOGNIZED',_0x3cf306))(_0x3cd24a||{}),_0x4188b0=Object[_0x36331a(0x2b6)],_0x2b7d35=(_0x2da709,_0x2bebac,_0xd66fb,_0x35ee11)=>{for(var _0x1a4aae=_0x35ee11>0x1?void 0x0:_0x35ee11?_0x4188b0(_0x2bebac,_0xd66fb):_0x2bebac,_0x401e1b=_0x2da709['length']-0x1,_0x496b7e;_0x401e1b>=0x0;_0x401e1b--)(_0x496b7e=_0x2da709[_0x401e1b])&&(_0x1a4aae=_0x496b7e(_0x1a4aae)||_0x1a4aae);return _0x1a4aae;},_0x1355fd=(_0x1d0556,_0x4ddf56)=>(_0x31d250,_0x45b0f1)=>_0x4ddf56(_0x31d250,_0x45b0f1,_0x1d0556);_0x2371ad[_0x36331a(0x1e3)]=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x4f537a,_0x30fd14,_0x2ee27b){const _0x5db0f2=_0x36331a;super(),this[_0x5db0f2(0x220)]=_0x4f537a,this['_httpService']=_0x30fd14,this[_0x5db0f2(0x2e7)]=_0x2ee27b;}async[_0x36331a(0x393)](_0x3cc374,_0x357daa,_0x56367f,..._0x523207){const _0x427474=_0x36331a;var _0xc67841,_0x50012e,_0x41c2c2,_0x16ec3d;const _0x3331b5=this['_instanceService']['getFocusedUnit']();if(!_0x3331b5)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x38baa2=((_0xc67841=this[_0x427474(0x2e7)]['getConfig'](_0x2390c9[_0x427474(0x380)]))!=null?_0xc67841:_0x2390c9[_0x427474(0x3f3)])+'/'+_0x3cc374+_0x427474(0x36a)+_0x357daa,_0x8fa0b1=new URL(window[_0x427474(0x3c6)]['href']),_0x42d190={'scriptId':_0x3cc374,'runId':(_0x50012e=_0x8fa0b1[_0x427474(0x390)][_0x427474(0x389)]('runId'))!=null?_0x50012e:'','function':_0x357daa,'unitId':_0x3331b5[_0x427474(0x240)](),'argsOfFunction':JSON['stringify'](_0x523207),'invokeId':(_0x41c2c2=_0x56367f[_0x427474(0x41a)])!=null?_0x41c2c2:'','executionId':(_0x16ec3d=_0x56367f['executionId'])!=null?_0x16ec3d:''};try{const _0x2e7937=await this[_0x427474(0x2e9)]['post'](_0x38baa2,{'body':_0x42d190});return _0x2e7937[_0x427474(0x324)]['error']&&_0x2e7937['body'][_0x427474(0x2f6)][_0x427474(0x377)]!==_0x3cd24a['OK']?_0x427474(0x3c4):_0x2e7937[_0x427474(0x324)][_0x427474(0x3d8)];}catch{return'Failed';}}},_0x2371ad[_0x36331a(0x1e3)]=_0x2b7d35([_0x1355fd(0x0,_0x52c702[_0x36331a(0x38f)]),_0x1355fd(0x1,_0x52c702['Inject'](_0x5b0bb2['HTTPService'])),_0x1355fd(0x2,_0x52c702[_0x36331a(0x2a2)])],_0x2371ad[_0x36331a(0x1e3)]),_0x2371ad[_0x36331a(0x40e)]=_0x393365,_0x2371ad[_0x36331a(0x2d7)]=_0x43ac3b,_0x2371ad[_0x36331a(0x385)]=_0x4f5011,_0x2371ad[_0x36331a(0x267)]=_0x1343c7,_0x2371ad[_0x36331a(0x36f)]=_0x20ae1e,Object[_0x36331a(0x254)](_0x2371ad,Symbol[_0x36331a(0x2c2)],{'value':_0x36331a(0x2b2)});}));
|