@univerjs-pro/collaboration-client-ui 0.10.1 → 0.10.2-nightly.202508071209

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.
Files changed (50) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/types/index.d.ts +5 -5
  38. package/lib/umd/facade.js +1 -1
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2a9803,_0x15ea83){const _0x551a09=_0x1210,_0x232021=_0x2a9803();while(!![]){try{const _0x4805d3=-parseInt(_0x551a09(0x256))/0x1+parseInt(_0x551a09(0x252))/0x2+parseInt(_0x551a09(0x1dc))/0x3+parseInt(_0x551a09(0x14f))/0x4*(parseInt(_0x551a09(0x1b1))/0x5)+parseInt(_0x551a09(0x343))/0x6+-parseInt(_0x551a09(0x397))/0x7*(-parseInt(_0x551a09(0x379))/0x8)+-parseInt(_0x551a09(0x2eb))/0x9*(parseInt(_0x551a09(0x1b8))/0xa);if(_0x4805d3===_0x15ea83)break;else _0x232021['push'](_0x232021['shift']());}catch(_0x1574f3){_0x232021['push'](_0x232021['shift']());}}}(_0xf519,0x28389),function(_0x3d03e4,_0x17bca3){const _0x420a19=_0x1210;typeof exports==_0x420a19(0x209)&&typeof module<'u'?_0x17bca3(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=='function'&&define[_0x420a19(0x181)]?define([_0x420a19(0x350),'@univerjs-pro/collaboration-client','@univerjs/core',_0x420a19(0x342),_0x420a19(0x281),_0x420a19(0x316),_0x420a19(0x219),'rxjs',_0x420a19(0x26b),_0x420a19(0x228),_0x420a19(0x303),_0x420a19(0x330),'rxjs/operators',_0x420a19(0x2bc),_0x420a19(0x139),_0x420a19(0x2fa),_0x420a19(0x271),_0x420a19(0x1c9),'@univerjs/rpc'],_0x17bca3):(_0x3d03e4=typeof globalThis<'u'?globalThis:_0x3d03e4||self,_0x17bca3(_0x3d03e4[_0x420a19(0x275)]={},_0x3d03e4[_0x420a19(0x37e)],_0x3d03e4[_0x420a19(0x185)],_0x3d03e4[_0x420a19(0x390)],_0x3d03e4[_0x420a19(0x126)],_0x3d03e4[_0x420a19(0x14d)],_0x3d03e4[_0x420a19(0x337)],_0x3d03e4[_0x420a19(0x129)],_0x3d03e4['UniverProCollaboration'],_0x3d03e4[_0x420a19(0x229)],_0x3d03e4[_0x420a19(0x34d)],_0x3d03e4[_0x420a19(0x22e)],_0x3d03e4[_0x420a19(0x129)]['operators'],_0x3d03e4[_0x420a19(0x211)],_0x3d03e4[_0x420a19(0x131)],_0x3d03e4['UniverUi'],_0x3d03e4[_0x420a19(0x2c5)],_0x3d03e4['React'],_0x3d03e4[_0x420a19(0x1ef)]));}(this,function(_0x3c58c2,_0x5b56a5,_0x5f0b8d,_0x5e68e4,_0x14a8ee,_0x1aba27,_0x50a51c,_0x241d80,_0x23426a,_0x363e6a,_0x163fc0,_0x3658e6,_0x3ed17b,_0x5d6e31,_0x2e2eef,_0x1ed79b,_0x341f85,_0x59958d,_0x1cc702){'use strict';const _0x145800=_0x1210;var _0x2da74b=Object['defineProperty'],_0x8ba467=(_0x15b43a,_0x2b7e98,_0x42c317)=>_0x2b7e98 in _0x15b43a?_0x2da74b(_0x15b43a,_0x2b7e98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42c317}):_0x15b43a[_0x2b7e98]=_0x42c317,_0x508c44=(_0x1c95f2,_0x44ed68,_0x233ef1)=>_0x8ba467(_0x1c95f2,typeof _0x44ed68!=_0x145800(0x192)?_0x44ed68+'':_0x44ed68,_0x233ef1),_0x218284=Object[_0x145800(0x30b)],_0x5bf1bd=(_0x19c0e6,_0xabdf09,_0x574ef9,_0x4ff63e)=>{for(var _0x4d9eaf=_0x4ff63e>0x1?void 0x0:_0x4ff63e?_0x218284(_0xabdf09,_0x574ef9):_0xabdf09,_0x2edb11=_0x19c0e6['length']-0x1,_0x4c31bc;_0x2edb11>=0x0;_0x2edb11--)(_0x4c31bc=_0x19c0e6[_0x2edb11])&&(_0x4d9eaf=_0x4c31bc(_0x4d9eaf)||_0x4d9eaf);return _0x4d9eaf;},_0xb0095b=(_0x178b4b,_0x406d8d)=>(_0x17ad18,_0x4f6676)=>_0x406d8d(_0x17ad18,_0x4f6676,_0x178b4b);let _0x1c80df=class extends _0x5f0b8d['RxDisposable']{constructor(_0x478133,_0x1fcfae){const _0x8c1235=_0x145800;super(),this[_0x8c1235(0x1f0)]=_0x478133,this[_0x8c1235(0x2a7)]=_0x1fcfae,this[_0x8c1235(0x357)]();}[_0x145800(0x357)](){const _0x20815d=_0x145800,_0x43256e=this;this[_0x20815d(0x363)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x24db41=>{const _0x3acf49=_0x20815d,_0x439f0d=await _0x43256e[_0x3acf49(0x2a7)]['saveImage'](_0x24db41);return _0x439f0d?{'source':_0x439f0d['source'],'imageSourceType':_0x439f0d[_0x3acf49(0x358)]}:null;}}));}};_0x1c80df=_0x5bf1bd([_0xb0095b(0x0,_0x1aba27['IDocClipboardService']),_0xb0095b(0x1,_0x50a51c[_0x145800(0x14b)])],_0x1c80df);const _0x34b206=[_0x145800(0x35b),_0x145800(0x2cb),_0x145800(0x224),_0x145800(0x361),'blue.400',_0x145800(0x292)];class _0x8037af extends _0x5f0b8d[_0x145800(0x216)]{constructor(){const _0xa47a49=_0x145800;super(...arguments),_0x508c44(this,_0xa47a49(0x2c6),new Map()),_0x508c44(this,_0xa47a49(0x1f7),0x0);}[_0x145800(0x33c)](_0x29be24){const _0x4a74db=_0x145800;if(this[_0x4a74db(0x2c6)]['has'](_0x29be24))return this['_assignedColors'][_0x4a74db(0x1fb)](_0x29be24);const _0x3b38ca=_0x34b206[this[_0x4a74db(0x1f7)]];return this[_0x4a74db(0x1f7)]=(this[_0x4a74db(0x1f7)]+0x1)%_0x34b206[_0x4a74db(0x362)],this[_0x4a74db(0x2c6)]['set'](_0x29be24,_0x3b38ca),_0x3b38ca;}}function _0xb487ad(_0x8b9e2d){let _0x601c56='';for(const _0x56ec44 of _0x8b9e2d){const {startOffset:_0x123c7b,endOffset:_0x11c4ac,isActive:_0x1c6f7e,rangeType:_0x3ed811,segmentId:_0x5b34db,segmentPage:_0x2a9397}=_0x56ec44;_0x601c56['length']&&(_0x601c56+=','),_0x601c56+=_0x123c7b+':'+_0x11c4ac+':'+(_0x1c6f7e?'1':'0')+':'+_0x3ed811+':'+_0x5b34db+':'+_0x2a9397;}return _0x601c56;}function _0x2266d9(_0x3dd3d4){const _0x5e1820=_0x145800,_0x41a9be=_0x3dd3d4[_0x5e1820(0x38b)](','),_0x50ae0f=[];for(const _0x41bf09 of _0x41a9be){const [_0x180eb9,_0x3d9dd1,_0x3d7877,_0x100500,_0x44e91e,_0x13e426]=_0x41bf09[_0x5e1820(0x38b)](':');_0x50ae0f[_0x5e1820(0x259)]({'startOffset':Number(_0x180eb9),'endOffset':Number(_0x3d9dd1),'collapsed':_0x180eb9===_0x3d9dd1,'isActive':_0x3d7877==='1','rangeType':_0x100500===_0x5f0b8d[_0x5e1820(0x187)]['TEXT']?_0x5f0b8d[_0x5e1820(0x187)][_0x5e1820(0x3ae)]:_0x5f0b8d[_0x5e1820(0x187)]['RECT'],'segmentId':typeof _0x44e91e==_0x5e1820(0x12c)?String(_0x44e91e):'','segmentPage':Number(_0x13e426!=null?_0x13e426:-0x1)});}return _0x50ae0f[_0x5e1820(0x167)](_0x12feaf=>_0x12feaf[_0x5e1820(0x1cd)])||(_0x50ae0f[0x0]['isActive']=!0x0),_0x50ae0f;}class _0x34c5a6 extends _0x5f0b8d[_0x145800(0x165)]{constructor(){const _0x2572ec=_0x145800;super(...arguments),_0x508c44(this,_0x2572ec(0x265),new _0x241d80[(_0x2572ec(0x2ff))](null)),_0x508c44(this,'collabCursorState$',this['_collabCursorState$'][_0x2572ec(0x190)]());}[_0x145800(0x3a9)](_0x34d584){const _0x39bbcf=_0x145800,{unitID:_0x195784,memberID:_0x5164fd,textRanges:_0x137789}=_0x34d584,_0x3b11e0=_0xb487ad(_0x137789);if(_0x3b11e0==='')return;const _0x839c5e={'unitID':_0x195784,'memberID':_0x5164fd,'selection':_0x3b11e0};this[_0x39bbcf(0x265)][_0x39bbcf(0x1fd)](_0x839c5e);}}var _0x195c3e=Object[_0x145800(0x30b)],_0x49b682=(_0x5824f8,_0x34c2a6,_0x1610c8,_0x22d758)=>{for(var _0x52e1d2=_0x22d758>0x1?void 0x0:_0x22d758?_0x195c3e(_0x34c2a6,_0x1610c8):_0x34c2a6,_0x52b5fd=_0x5824f8['length']-0x1,_0x27c9d4;_0x52b5fd>=0x0;_0x52b5fd--)(_0x27c9d4=_0x5824f8[_0x52b5fd])&&(_0x52e1d2=_0x27c9d4(_0x52e1d2)||_0x52e1d2);return _0x52e1d2;},_0x56104b=(_0x13a3eb,_0x4171f9)=>(_0x2f4ffc,_0xb9a9bb)=>_0x4171f9(_0x2f4ffc,_0xb9a9bb,_0x13a3eb);const _0x4a4460=0x12c,_0x52e888=0x64;let _0x52148f=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x2c694c,_0x22be46,_0x43fa68,_0x17b49e,_0x40d098,_0x577d10,_0x29dc86,_0x160e16,_0x1c2bb7){const _0x333df7=_0x145800;super(),_0x508c44(this,_0x333df7(0x273),!0x1),_0x508c44(this,_0x333df7(0x357),!0x1),_0x508c44(this,_0x333df7(0x148),new _0x241d80[(_0x333df7(0x2ff))](new Map())),_0x508c44(this,'cursorInfo$',this[_0x333df7(0x148)]['asObservable']()),_0x508c44(this,_0x333df7(0x374),new _0x241d80[(_0x333df7(0x2ff))]([])),_0x508c44(this,'roomMembers$',this[_0x333df7(0x374)][_0x333df7(0x2d6)](_0x241d80[_0x333df7(0x2e1)](_0x4a4460))),_0x508c44(this,_0x333df7(0x123),_0x5f0b8d[_0x333df7(0x20f)](_0x10a37b=>{const _0x7dc96f=_0x333df7,_0x57facc={'eventID':_0x23426a['CollaborationEvent'][_0x7dc96f(0x39b)],'data':{'unitID':this['unitID'],'memberID':this[_0x7dc96f(0x28b)][_0x7dc96f(0x246)](),'selection':_0xb487ad(_0x10a37b)}};this['_session']['send'](_0x57facc,this[_0x7dc96f(0x344)]);},_0x52e888)),(this['unitID']=_0x2c694c,this[_0x333df7(0x28b)]=_0x22be46,this[_0x333df7(0x2e6)]=_0x43fa68,this[_0x333df7(0x2d9)]=_0x17b49e,this[_0x333df7(0x2cf)]=_0x40d098,this[_0x333df7(0x35a)]=_0x577d10,this['_transformService']=_0x29dc86,this[_0x333df7(0x2db)]=_0x160e16,this[_0x333df7(0x217)]=_0x1c2bb7);}get[_0x145800(0x23c)](){const _0x34e9ca=_0x145800;return this[_0x34e9ca(0x148)][_0x34e9ca(0x296)]();}get[_0x145800(0x388)](){const _0x226d77=_0x145800;return this['_roomMembers$'][_0x226d77(0x296)]();}[_0x145800(0x33a)](){const _0x52f286=_0x145800;super[_0x52f286(0x33a)](),this['_cursorInfo$']['next'](new Map()),this[_0x52f286(0x148)][_0x52f286(0x15c)](),this[_0x52f286(0x374)][_0x52f286(0x1fd)]([]),this[_0x52f286(0x374)][_0x52f286(0x15c)]();}[_0x145800(0x22a)](){const _0x5adac2=_0x145800;this['_init']||(this['_init']=!0x0,this['_session'][_0x5adac2(0x13d)][_0x5adac2(0x2d6)](_0x241d80[_0x5adac2(0x1d3)](this[_0x5adac2(0x19b)]))[_0x5adac2(0x262)](_0x365219=>{const _0x5bfd73=_0x5adac2;_0x365219===_0x5b56a5[_0x5bfd73(0x2a4)][_0x5bfd73(0x26d)]?this['_toggleOnline']():this[_0x5bfd73(0x249)]();}),this['_session'][_0x5adac2(0x1f6)]['pipe'](_0x241d80[_0x5adac2(0x1d3)](this[_0x5adac2(0x19b)]))[_0x5adac2(0x262)](_0x1f9850=>{const _0xeb2318=_0x5adac2,_0x373749=_0x1f9850['eventID'];_0x373749===_0x23426a['CollaborationEvent'][_0xeb2318(0x39b)]&&this[_0xeb2318(0x2e2)](_0x1f9850),_0x373749===_0x23426a[_0xeb2318(0x266)][_0xeb2318(0x38d)]&&this[_0xeb2318(0x1aa)](_0x1f9850);}),this[_0x5adac2(0x363)](this[_0x5adac2(0x217)]['onCommandExecuted'](_0x471213=>{const _0x4cbd95=_0x5adac2,_0x2b2ae5=_0x471213[_0x4cbd95(0x1c8)];_0x2b2ae5!=null&&this[_0x4cbd95(0x273)]&&_0x471213['id']===_0x363e6a['SetTextSelectionsOperation']['id']&&_0x2b2ae5['unitId']===this[_0x4cbd95(0x344)]&&_0x2b2ae5[_0x4cbd95(0x31f)]===!0x1&&_0x2b2ae5[_0x4cbd95(0x23f)][_0x4cbd95(0x362)]>0x0&&this[_0x4cbd95(0x123)](_0x2b2ae5[_0x4cbd95(0x23f)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5adac2(0x2d6)](_0x241d80[_0x5adac2(0x1d3)](this[_0x5adac2(0x19b)]))['subscribe'](_0x49eb14=>{const _0x395a92=_0x5adac2;if((_0x49eb14==null?void 0x0:_0x49eb14[_0x395a92(0x344)])!==this[_0x395a92(0x344)])return;const _0x4438ef={'eventID':_0x23426a[_0x395a92(0x266)]['UPDATE_CURSOR'],'data':_0x49eb14};this['_onCursorUpdate'](_0x4438ef);}),this[_0x5adac2(0x363)](this[_0x5adac2(0x217)][_0x5adac2(0x153)](_0x54fa12=>{const _0x556674=_0x5adac2;if(_0x54fa12[_0x556674(0x1c8)]==null)return;const _0x4d2555=_0x54fa12[_0x556674(0x1c8)];if(_0x54fa12['id']!==_0x363e6a['RichTextEditingMutation']['id']||_0x4d2555[_0x556674(0x280)]!==this[_0x556674(0x344)])return;const _0x2bda15={'id':_0x556674(0x2cc),'params':_0x4d2555},_0x178d75=this[_0x556674(0x23c)];for(const [_0x4a9127,_0x44c83f]of _0x178d75){const _0x4785d9={'id':_0x556674(0x2cc),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x44c83f[_0x556674(0x23f)]}},_0x2c5255=this[_0x556674(0x19e)][_0x556674(0x16a)](_0x2bda15,_0x4785d9,!0x1);if(_0x23426a['isTransformMutationFailure'](_0x2c5255))throw _0x2c5255['error'];_0x178d75[_0x556674(0x183)](_0x4a9127,{..._0x44c83f,'ranges':_0x2c5255[_0x556674(0x39c)][_0x556674(0x1c8)][_0x556674(0x1b0)]});}queueMicrotask(()=>{const _0x287f1b=_0x556674;this[_0x287f1b(0x148)]['next'](_0x178d75);});})));}['_onCursorUpdate'](_0x3d9e73){const _0x4ded6a=_0x145800;var _0x550732,_0x3c1893;const {memberID:_0x261d2d,selection:_0x50812e}=_0x3d9e73[_0x4ded6a(0x264)],_0x5e3ce9=_0x2266d9(_0x50812e),_0x4d695e=(_0x3c1893=(_0x550732=this['_memberService'][_0x4ded6a(0x238)](this[_0x4ded6a(0x344)],_0x261d2d))==null?void 0x0:_0x550732[_0x4ded6a(0x3a2)])!=null?_0x3c1893:_0x4ded6a(0x2c0),_0x22fdfb={'color':this[_0x4ded6a(0x2d9)][_0x4ded6a(0x33c)](_0x261d2d),'name':_0x4d695e,'ranges':_0x5e3ce9},_0x59d914=this[_0x4ded6a(0x23c)];_0x59d914[_0x4ded6a(0x183)](_0x261d2d,_0x22fdfb),this[_0x4ded6a(0x148)][_0x4ded6a(0x1fd)](_0x59d914);}[_0x145800(0x1aa)](_0x4e267a){const _0x4f246a=_0x145800,{memberID:_0x3d8f49}=_0x4e267a[_0x4f246a(0x264)],_0x98ee5d=this[_0x4f246a(0x23c)];_0x98ee5d['delete'](_0x3d8f49),this[_0x4f246a(0x148)][_0x4f246a(0x1fd)](_0x98ee5d);}[_0x145800(0x1bc)](){const _0x3c08dd=_0x145800;var _0x5d8978;if(this[_0x3c08dd(0x273)]=!0x0,((_0x5d8978=this['_univerInstanceService'][_0x3c08dd(0x359)]())==null?void 0x0:_0x5d8978[_0x3c08dd(0x21f)]())!==this[_0x3c08dd(0x344)])return;const _0x7746ff=this[_0x3c08dd(0x2e6)][_0x3c08dd(0x1fb)](_0x363e6a[_0x3c08dd(0x315)])[_0x3c08dd(0x1a7)]();Array[_0x3c08dd(0x37f)](_0x7746ff)&&_0x7746ff['length']>0x0&&this[_0x3c08dd(0x123)](_0x7746ff);}[_0x145800(0x249)](){const _0x34967c=_0x145800;this[_0x34967c(0x273)]=!0x1;}};_0x52148f=_0x49b682([_0x56104b(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d['Injector'])),_0x56104b(0x3,_0x5f0b8d[_0x145800(0x236)](_0x8037af)),_0x56104b(0x4,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x294)])),_0x56104b(0x5,_0x5f0b8d[_0x145800(0x236)](_0x34c5a6)),_0x56104b(0x6,_0x23426a['ITransformService']),_0x56104b(0x7,_0x5f0b8d[_0x145800(0x1be)]),_0x56104b(0x8,_0x5f0b8d[_0x145800(0x1b2)])],_0x52148f);var _0x28476b=Object[_0x145800(0x30b)],_0x2644ca=(_0xc60368,_0x2cb810,_0x21320c,_0xcd245e)=>{for(var _0x4f89f9=_0xcd245e>0x1?void 0x0:_0xcd245e?_0x28476b(_0x2cb810,_0x21320c):_0x2cb810,_0x1e7602=_0xc60368['length']-0x1,_0x1f0900;_0x1e7602>=0x0;_0x1e7602--)(_0x1f0900=_0xc60368[_0x1e7602])&&(_0x4f89f9=_0x1f0900(_0x4f89f9)||_0x4f89f9);return _0x4f89f9;},_0x57ed54=(_0xbf5d2c,_0x199c4c)=>(_0x484fba,_0x375dbb)=>_0x199c4c(_0x484fba,_0x375dbb,_0xbf5d2c);const _0x218232=0x12c,_0x40df3b=0x64,_0x6012e3=()=>{let _0x9dedc3=[],_0x31aa82=!0x1;return _0x492e6c=>{const _0x1bd3a3=_0x1210;_0x9dedc3[_0x1bd3a3(0x259)](_0x492e6c),_0x31aa82||(_0x31aa82=!0x0,setTimeout(()=>{const _0x49bf8=_0x1bd3a3;_0x9dedc3[_0x49bf8(0x1e0)](_0x4755f7=>_0x4755f7()),_0x9dedc3=[],_0x31aa82=!0x1;}));};};let _0x199307=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x23b1eb,_0x143bb3,_0x11c9f3,_0xbb6971,_0x58372d,_0x8f4a9e,_0x29ce28,_0x499469){const _0xf57dc4=_0x145800;super(),_0x508c44(this,_0xf57dc4(0x273),!0x1),_0x508c44(this,_0xf57dc4(0x357),!0x1),_0x508c44(this,_0xf57dc4(0x148),new _0x241d80[(_0xf57dc4(0x2ff))](new Map())),_0x508c44(this,_0xf57dc4(0x22c),this[_0xf57dc4(0x148)][_0xf57dc4(0x190)]()),_0x508c44(this,'_roomMembers$',new _0x241d80['BehaviorSubject']([])),_0x508c44(this,_0xf57dc4(0x203),this[_0xf57dc4(0x374)][_0xf57dc4(0x2d6)](_0x241d80[_0xf57dc4(0x2e1)](_0x218232))),_0x508c44(this,_0xf57dc4(0x123),_0x5f0b8d[_0xf57dc4(0x20f)]((_0x150eb6,_0x40cb86)=>{const _0xf6c598=_0xf57dc4,_0x2458e7={'eventID':_0x23426a[_0xf6c598(0x266)][_0xf6c598(0x39b)],'data':{'unitID':this['unitID'],'memberID':this[_0xf6c598(0x28b)][_0xf6c598(0x246)](),'selection':_0x163fc0[_0xf6c598(0x1b6)](_0x150eb6,_0x40cb86[_0xf6c598(0x198)])}};this[_0xf6c598(0x28b)][_0xf6c598(0x274)](_0x2458e7,this[_0xf6c598(0x344)]);},_0x40df3b)),(this[_0xf57dc4(0x344)]=_0x23b1eb,this[_0xf57dc4(0x28b)]=_0x143bb3,this[_0xf57dc4(0x2e6)]=_0x11c9f3,this[_0xf57dc4(0x2d9)]=_0xbb6971,this[_0xf57dc4(0x2cf)]=_0x58372d,this[_0xf57dc4(0x2db)]=_0x8f4a9e,this[_0xf57dc4(0x217)]=_0x29ce28,this['_refRangeService']=_0x499469);}get[_0x145800(0x23c)](){const _0x2ee669=_0x145800;return this[_0x2ee669(0x148)][_0x2ee669(0x296)]();}get[_0x145800(0x388)](){return this['_roomMembers$']['getValue']();}[_0x145800(0x33a)](){const _0x1ffb37=_0x145800;super[_0x1ffb37(0x33a)](),this[_0x1ffb37(0x148)][_0x1ffb37(0x1fd)](new Map()),this[_0x1ffb37(0x148)][_0x1ffb37(0x15c)](),this[_0x1ffb37(0x374)][_0x1ffb37(0x1fd)]([]),this[_0x1ffb37(0x374)][_0x1ffb37(0x15c)]();}['init'](){const _0x11dd5c=_0x145800;this[_0x11dd5c(0x357)]||(this[_0x11dd5c(0x357)]=!0x0,this[_0x11dd5c(0x28b)]['sessionStatus$'][_0x11dd5c(0x2d6)](_0x241d80[_0x11dd5c(0x1d3)](this[_0x11dd5c(0x19b)]))['subscribe'](_0x5d5ad0=>{const _0x1a6273=_0x11dd5c;_0x5d5ad0===_0x5b56a5[_0x1a6273(0x2a4)]['ONLINE']?this[_0x1a6273(0x1bc)]():this[_0x1a6273(0x249)]();}),this[_0x11dd5c(0x28b)][_0x11dd5c(0x1f6)][_0x11dd5c(0x2d6)](_0x241d80[_0x11dd5c(0x1d3)](this[_0x11dd5c(0x19b)]))[_0x11dd5c(0x262)](_0x12e6e5=>{const _0x29dc01=_0x11dd5c,_0xe9fc74=_0x12e6e5[_0x29dc01(0x251)];_0xe9fc74===_0x23426a[_0x29dc01(0x266)][_0x29dc01(0x39b)]&&this[_0x29dc01(0x2e2)](_0x12e6e5),_0xe9fc74===_0x23426a[_0x29dc01(0x266)][_0x29dc01(0x38d)]&&this[_0x29dc01(0x1aa)](_0x12e6e5);}),this[_0x11dd5c(0x128)](),this[_0x11dd5c(0x363)](this['_commandService'][_0x11dd5c(0x153)](_0x26ee8e=>{const _0xc72103=_0x11dd5c;if(this['_online']&&_0x26ee8e['id']===_0x3658e6[_0xc72103(0x35d)]['id']&&_0x26ee8e[_0xc72103(0x1c8)][_0xc72103(0x280)]===this[_0xc72103(0x344)]){const _0x14d2e5=_0x26ee8e[_0xc72103(0x1c8)];this['_updateLocalCursor'](_0x14d2e5['subUnitId'],_0x14d2e5['selections'][0x0]);}})));}[_0x145800(0x2e2)](_0x1377be){const _0x5cac71=_0x145800;var _0x292616,_0x50c9c2;const {memberID:_0x2c45e2,selection:_0x5c8260}=_0x1377be[_0x5cac71(0x264)],{sheetName:_0x528d6b,range:_0x3961d8}=_0x163fc0[_0x5cac71(0x1a8)](_0x5c8260),_0x2f5a6d={'name':(_0x50c9c2=(_0x292616=this[_0x5cac71(0x2cf)]['getMember'](this[_0x5cac71(0x344)],_0x2c45e2))==null?void 0x0:_0x292616[_0x5cac71(0x3a2)])!=null?_0x50c9c2:_0x5cac71(0x2c0),'range':this[_0x5cac71(0x1a4)](_0x528d6b,_0x3961d8),'sheetID':_0x528d6b,'color':this[_0x5cac71(0x2d9)]['assignAColorForMemberID'](_0x2c45e2),'selection':_0x5c8260},_0x41d002=this['cursorInfo'];_0x41d002[_0x5cac71(0x183)](_0x2c45e2,_0x2f5a6d),this[_0x5cac71(0x148)][_0x5cac71(0x1fd)](_0x41d002);}[_0x145800(0x1aa)](_0x23d102){const _0x5e2de4=_0x145800,{memberID:_0x5da649}=_0x23d102[_0x5e2de4(0x264)],_0x20d121=this[_0x5e2de4(0x23c)];_0x20d121[_0x5e2de4(0x21e)](_0x5da649),this[_0x5e2de4(0x148)][_0x5e2de4(0x1fd)](_0x20d121);}[_0x145800(0x1a4)](_0x2571f9,_0x2e3273){const _0x5b2b5b=_0x145800;var _0x3e33bf,_0x1306a5;const _0x37d0b1=(_0x1306a5=(_0x3e33bf=this[_0x5b2b5b(0x2db)][_0x5b2b5b(0x133)](this[_0x5b2b5b(0x344)]))==null?void 0x0:_0x3e33bf[_0x5b2b5b(0x3a5)](_0x2571f9))==null?void 0x0:_0x1306a5['getMergeData']();return(_0x37d0b1==null?void 0x0:_0x37d0b1[_0x5b2b5b(0x26e)](_0x5ba8c3=>_0x5f0b8d['Rectangle']['contains'](_0x5ba8c3,_0x2e3273)))||_0x2e3273;}[_0x145800(0x128)](){const _0x595a54=_0x145800,_0xe8a4d9=new _0x5f0b8d[(_0x595a54(0x2c4))](),_0x3877d6=_0x6012e3(),_0x310a81=()=>{const _0x9d02f3=_0x595a54;_0xe8a4d9[_0x9d02f3(0x33a)]();const _0x3c8f9a=(_0x14318d,_0x42a41f,_0x163775,_0x59b806)=>{const _0x343caf=_0x9d02f3;let _0xfdbbf6=[];switch(_0x14318d['id']){case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x227)]:{_0xfdbbf6=_0x3658e6['handleDeleteRangeMoveLeft'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x201)]:{_0xfdbbf6=_0x3658e6[_0x343caf(0x2bf)](_0x14318d,_0x59b806);break;}case _0x3658e6['EffectRefRangId'][_0x343caf(0x1e8)]:{_0xfdbbf6=_0x3658e6['handleInsertCol'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x140)]:{_0xfdbbf6=_0x3658e6['handleInsertRangeMoveDown'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x222)]:{_0xfdbbf6=_0x3658e6[_0x343caf(0x213)](_0x14318d,_0x59b806);break;}case _0x3658e6['EffectRefRangId'][_0x343caf(0x32f)]:{_0xfdbbf6=_0x3658e6['handleInsertRow'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x2d5)]:{_0xfdbbf6=_0x3658e6['handleMoveRange'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x1c6)]:{_0xfdbbf6=_0x3658e6['handleIRemoveCol'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x2b5)]:{_0xfdbbf6=_0x3658e6['handleIRemoveRow'](_0x14318d,_0x59b806);break;}}const _0x546e08=_0x3658e6[_0x343caf(0x35f)](_0xfdbbf6,_0x59b806),_0x8ba004=this[_0x343caf(0x23c)][_0x343caf(0x1fb)](_0x42a41f);if(_0x8ba004&&_0x546e08){const _0x1d14da={..._0x8ba004,'range':_0x546e08};this[_0x343caf(0x23c)]['set'](_0x42a41f,_0x1d14da),_0x3877d6(()=>{const _0x1ffa77=_0x343caf,_0x50426e=this[_0x1ffa77(0x2d8)][_0x1ffa77(0x338)](_0x546e08,_0x2cdc7b=>(_0x50426e[_0x1ffa77(0x33a)](),_0x3c8f9a(_0x2cdc7b,_0x42a41f,_0x163775,_0x546e08)));_0xe8a4d9[_0x1ffa77(0x396)](_0x50426e);});}return{'redos':[],'undos':[]};};this[_0x9d02f3(0x23c)][_0x9d02f3(0x1e0)]((_0x28c0b4,_0x437c1c)=>{const _0x5b9878=_0x9d02f3,{range:_0x27beb3,sheetID:_0x21a867}=_0x28c0b4,_0x5de9fd=this['_refRangeService'][_0x5b9878(0x338)](_0x27beb3,_0x5500ac=>(_0x5de9fd[_0x5b9878(0x33a)](),_0x3c8f9a(_0x5500ac,_0x437c1c,_0x21a867,_0x27beb3)));_0xe8a4d9[_0x5b9878(0x396)](_0x5de9fd);});};this[_0x595a54(0x363)](_0x5f0b8d['toDisposable'](this[_0x595a54(0x148)][_0x595a54(0x262)](()=>{_0x310a81();})));}['_toggleOnline'](){const _0x48ee19=_0x145800;var _0x23fd9e,_0x47e4b1;if(this[_0x48ee19(0x273)]=!0x0,((_0x23fd9e=this[_0x48ee19(0x2db)][_0x48ee19(0x359)]())==null?void 0x0:_0x23fd9e[_0x48ee19(0x21f)]())!==this[_0x48ee19(0x344)])return;const _0x54afe3=(_0x47e4b1=this['_injector']['get'](_0x3658e6['SheetsSelectionsService'])[_0x48ee19(0x152)]())==null?void 0x0:_0x47e4b1[0x0],_0x5018ca=this[_0x48ee19(0x2db)]['getCurrentUnitForType'](_0x5f0b8d[_0x48ee19(0x1d1)][_0x48ee19(0x1c5)])[_0x48ee19(0x2c1)]();_0x54afe3&&_0x5018ca&&this[_0x48ee19(0x123)](_0x5018ca[_0x48ee19(0x1d6)](),_0x54afe3);}[_0x145800(0x249)](){this['_online']=!0x1;}};_0x199307=_0x2644ca([_0x57ed54(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x57ed54(0x3,_0x5f0b8d[_0x145800(0x236)](_0x8037af)),_0x57ed54(0x4,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x294)])),_0x57ed54(0x5,_0x5f0b8d[_0x145800(0x1be)]),_0x57ed54(0x6,_0x5f0b8d['ICommandService']),_0x57ed54(0x7,_0x5f0b8d['Inject'](_0x3658e6[_0x145800(0x206)]))],_0x199307);var _0x51056c=Object[_0x145800(0x30b)],_0x44321a=(_0x480a64,_0x37accd,_0x8b8f3,_0x276f6f)=>{const _0x386fbe=_0x145800;for(var _0x2909e9=_0x276f6f>0x1?void 0x0:_0x276f6f?_0x51056c(_0x37accd,_0x8b8f3):_0x37accd,_0x2fc9fa=_0x480a64[_0x386fbe(0x362)]-0x1,_0x5177cb;_0x2fc9fa>=0x0;_0x2fc9fa--)(_0x5177cb=_0x480a64[_0x2fc9fa])&&(_0x2909e9=_0x5177cb(_0x2909e9)||_0x2909e9);return _0x2909e9;},_0x5c5ccb=(_0x16a57d,_0x7260f6)=>(_0x107ccb,_0x5d909a)=>_0x7260f6(_0x107ccb,_0x5d909a,_0x16a57d);let _0x39a089=class extends _0x5f0b8d['RxDisposable']{constructor(_0x1cac15,_0x3b4b5b,_0xe1a4a7){const _0x71df5c=_0x145800;super(),_0x508c44(this,_0x71df5c(0x3a0),new Map()),_0x508c44(this,_0x71df5c(0x36c),new _0x241d80[(_0x71df5c(0x19a))]()),(this[_0x71df5c(0x2db)]=_0x1cac15,this[_0x71df5c(0x2e6)]=_0x3b4b5b,this[_0x71df5c(0x1f5)]=_0xe1a4a7,this[_0x71df5c(0x357)]());}[_0x145800(0x33a)](){const _0xb38de9=_0x145800;super['dispose'](),this[_0xb38de9(0x36c)][_0xb38de9(0x15c)](),this[_0xb38de9(0x3a0)]['forEach'](_0x4317bf=>_0x4317bf['dispose']());}[_0x145800(0x32e)](_0x5b1400){const _0x582a46=_0x145800;return this['_entities'][_0x582a46(0x2b2)](_0x5b1400)?this[_0x582a46(0x3a0)]['get'](_0x5b1400)[_0x582a46(0x22c)]:this[_0x582a46(0x36c)][_0x582a46(0x2d6)](_0x241d80[_0x582a46(0x2f9)](_0x2d0521=>_0x2d0521[_0x582a46(0x344)]===_0x5b1400),_0x241d80[_0x582a46(0x235)](_0x15b23a=>_0x15b23a['cursorInfo$']));}[_0x145800(0x357)](){const _0x271f09=_0x145800;this[_0x271f09(0x2db)][_0x271f09(0x295)](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x1c5)])['pipe'](_0x241d80[_0x271f09(0x1d3)](this[_0x271f09(0x19b)]))[_0x271f09(0x262)](async _0x4a6e99=>{const _0x3839dd=_0x271f09,_0x2e505e=_0x4a6e99['getUnitId'](),_0x16a411=await this['_startSheetCollabCursor'](_0x2e505e);this[_0x3839dd(0x36c)]['next'](_0x16a411),this['_entities']['set'](_0x2e505e,_0x16a411);}),this[_0x271f09(0x2db)][_0x271f09(0x295)](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x24f)])[_0x271f09(0x2d6)](_0x241d80[_0x271f09(0x1d3)](this[_0x271f09(0x19b)]))[_0x271f09(0x2d6)](_0x241d80[_0x271f09(0x2f9)](_0x1e1cc5=>!_0x1e1cc5[_0x271f09(0x21f)]()[_0x271f09(0x19c)]('__')))[_0x271f09(0x262)](async _0x1d3d51=>{const _0x25bd4e=_0x271f09,_0x59b119=_0x1d3d51['getUnitId'](),_0xefbfd7=await this[_0x25bd4e(0x12e)](_0x59b119);this[_0x25bd4e(0x36c)][_0x25bd4e(0x1fd)](_0xefbfd7),this['_entities']['set'](_0x59b119,_0xefbfd7);}),_0x241d80[_0x271f09(0x395)](this[_0x271f09(0x2db)]['getTypeOfUnitDisposed$'](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x24f)]),this[_0x271f09(0x2db)]['getTypeOfUnitDisposed$'](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x1c5)]))[_0x271f09(0x2d6)](_0x241d80[_0x271f09(0x1d3)](this[_0x271f09(0x19b)]))['subscribe'](_0x58c24f=>{const _0x395a17=_0x271f09,_0x5c2368=_0x58c24f[_0x395a17(0x21f)](),_0x77231d=this['_entities'][_0x395a17(0x1fb)](_0x5c2368);_0x77231d&&(_0x77231d[_0x395a17(0x33a)](),this[_0x395a17(0x3a0)][_0x395a17(0x21e)](_0x5c2368));});}async[_0x145800(0x27b)](_0x560f90){const _0xd4a681=_0x145800,_0x56cc3f=await this[_0xd4a681(0x1f5)][_0xd4a681(0x18c)](_0x560f90),_0x750af8=this[_0xd4a681(0x2e6)]['createInstance'](_0x199307,_0x560f90,_0x56cc3f);return _0x750af8[_0xd4a681(0x22a)](),_0x750af8;}async['_startDocCollabCursor'](_0xe8dbe3){const _0x84d04b=_0x145800,_0x57d5af=await this['_collabSessionService'][_0x84d04b(0x18c)](_0xe8dbe3),_0x5cc5ed=this[_0x84d04b(0x2e6)][_0x84d04b(0x255)](_0x52148f,_0xe8dbe3,_0x57d5af);return _0x5cc5ed[_0x84d04b(0x22a)](),_0x5cc5ed;}};_0x39a089=_0x44321a([_0x5c5ccb(0x0,_0x5f0b8d[_0x145800(0x1be)]),_0x5c5ccb(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x5c5ccb(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x2f5)]))],_0x39a089);const _0x1e2684=0x14,_0x19d37c=0xc8,_0x2794f4=0x4,_0x4fa93b=0x5;function _0x572ef6(_0x37ad5d,_0x1d1bf7){const _0x44093a=_0x145800;let {radius:_0x5613f2,width:_0x362a9a,height:_0x3aa7cf}=_0x1d1bf7;_0x5613f2=_0x5613f2!=null?_0x5613f2:0x0,_0x362a9a=_0x362a9a!=null?_0x362a9a:0x1e,_0x3aa7cf=_0x3aa7cf!=null?_0x3aa7cf:0x1e;let _0xabee81=0x0,_0x937741=0x0,_0x36896e=0x0;_0xabee81=_0x937741=_0x36896e=Math[_0x44093a(0x155)](_0x5613f2,_0x362a9a/0x2,_0x3aa7cf/0x2),_0x37ad5d[_0x44093a(0x195)](),_0x37ad5d['moveTo'](_0xabee81,0x0),_0x37ad5d[_0x44093a(0x2d1)](_0x362a9a-_0x937741,0x0),_0x37ad5d[_0x44093a(0x2ca)](_0x362a9a-_0x937741,_0x937741,_0x937741,Math['PI']*0x3/0x2,0x0,!0x1),_0x37ad5d['lineTo'](_0x362a9a,_0x3aa7cf-_0x36896e),_0x37ad5d[_0x44093a(0x2ca)](_0x362a9a-_0x36896e,_0x3aa7cf-_0x36896e,_0x36896e,0x0,Math['PI']/0x2,!0x1),_0x37ad5d[_0x44093a(0x2d1)](0x0,_0x3aa7cf),_0x37ad5d[_0x44093a(0x2d1)](0x0,_0xabee81),_0x37ad5d[_0x44093a(0x2ca)](_0xabee81,_0xabee81,_0xabee81,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x37ad5d[_0x44093a(0x2a2)](),_0x1d1bf7[_0x44093a(0x21a)]&&(_0x37ad5d[_0x44093a(0x218)](),_0x37ad5d[_0x44093a(0x3b0)]=_0x1d1bf7['fill'],_0x1d1bf7[_0x44093a(0x29f)]===_0x44093a(0x36f)?_0x37ad5d[_0x44093a(0x21a)]('evenodd'):_0x37ad5d[_0x44093a(0x21a)](),_0x37ad5d['restore']());}class _0x3958f1 extends _0x5e68e4[_0x145800(0x2c8)]{constructor(_0x351bce,_0x28bc05){const _0x181e3b=_0x145800;super(_0x351bce,_0x28bc05),_0x508c44(this,'color'),_0x508c44(this,'text'),(this[_0x181e3b(0x329)]=_0x28bc05==null?void 0x0:_0x28bc05[_0x181e3b(0x329)],this[_0x181e3b(0x2bb)]=_0x28bc05==null?void 0x0:_0x28bc05['text']);}static[_0x145800(0x186)](_0x43057e,_0x517ce5){const _0x42c65f=_0x145800,{text:_0x5bf3ce,color:_0x14cd74}=_0x517ce5;_0x43057e[_0x42c65f(0x218)](),_0x43057e[_0x42c65f(0x2fe)]=_0x42c65f(0x2b9);const _0x54ce89=_0x43057e[_0x42c65f(0x208)](_0x5bf3ce)[_0x42c65f(0x3ab)],_0xd6f5d=Math[_0x42c65f(0x155)](_0x54ce89+0x2*_0x2794f4,_0x19d37c);_0x572ef6(_0x43057e,{'height':_0x1e2684,'radius':0x4,'width':_0xd6f5d,'fill':_0x14cd74}),_0x43057e[_0x42c65f(0x3b0)]=_0x42c65f(0x2cd);const _0x4ec08a=_0x2794f4,_0x3d87b0=_0x1e2684-_0x4fa93b,_0x16101a=_0x19d37c-0x2*_0x2794f4;if(_0x54ce89>_0x16101a){let _0x46e36f='',_0x38ca4a=0x0;for(const _0xc179b2 of _0x5bf3ce){const _0x226280=_0x43057e[_0x42c65f(0x208)](_0xc179b2)['width'];if(_0x38ca4a+_0x226280<=_0x16101a-_0x43057e['measureText'](_0x42c65f(0x125))[_0x42c65f(0x3ab)])_0x46e36f+=_0xc179b2,_0x38ca4a+=_0x226280;else{_0x46e36f+=_0x42c65f(0x125);break;}}_0x43057e[_0x42c65f(0x24e)](_0x46e36f,_0x4ec08a,_0x3d87b0);}else _0x43057e[_0x42c65f(0x24e)](_0x5bf3ce,_0x4ec08a,_0x3d87b0);_0x43057e[_0x42c65f(0x39f)]();}[_0x145800(0x250)](_0xd9647f){const _0x30ad59=_0x145800;_0x3958f1[_0x30ad59(0x186)](_0xd9647f,this);}}const _0xc7953d=_0x145800(0x36e),_0x4cdec2=_0x145800(0x288),_0x3569b9=_0x145800(0x2e5),_0x23bd3d=0x6,_0x342b0d=1.5,_0x34db81=0x4,_0x541c9d=1.5,_0x18b615='rgba(255,\x20255,\x20255,\x200.01)';class _0x5b3f0b{constructor(_0x5c4bb8,_0x13eb72,_0x48cb86,_0xa8a066){const _0x280ed5=_0x145800;_0x508c44(this,_0x280ed5(0x355),[]),_0x508c44(this,_0x280ed5(0x2ae),null),_0x508c44(this,'_textBubble',null),_0x508c44(this,_0x280ed5(0x312),null),_0x508c44(this,_0x280ed5(0x386),null),_0x508c44(this,_0x280ed5(0x1e7),null),(this[_0x280ed5(0x234)]=_0x5c4bb8,this[_0x280ed5(0x231)]=_0x13eb72,this[_0x280ed5(0x3af)]=_0x48cb86,this[_0x280ed5(0x1c1)]=_0xa8a066,this[_0x280ed5(0x27e)]());}set[_0x145800(0x28d)](_0x4eab36){const _0x25fad9=_0x145800;_0x4eab36?(this[_0x25fad9(0x312)]&&this[_0x25fad9(0x312)]['hide'](),this[_0x25fad9(0x23a)]&&this['_textBubble'][_0x25fad9(0x372)]()):(this[_0x25fad9(0x312)]&&this[_0x25fad9(0x312)][_0x25fad9(0x372)](),this['_textBubble']&&this[_0x25fad9(0x23a)][_0x25fad9(0x13a)]());}[_0x145800(0x33a)](){const _0x57eeb2=_0x145800;for(const _0x63ea47 of this['_shapes'])_0x63ea47[_0x57eeb2(0x33a)]();this[_0x57eeb2(0x23a)]&&this['_textBubble'][_0x57eeb2(0x33a)](),this[_0x57eeb2(0x312)]&&this[_0x57eeb2(0x312)][_0x57eeb2(0x33a)](),this[_0x57eeb2(0x2ae)]&&this['_anchor'][_0x57eeb2(0x33a)](),this['_eventUnsubscribe']&&this[_0x57eeb2(0x1e7)]();}[_0x145800(0x27e)](){const _0x39cae5=_0x145800;var _0x5d80c4;const {_docSkeleton:_0x89f37e,_document:_0x2bc49b}=this,{color:_0x30d683,name:_0x2b8208,ranges:_0x554cab}=this[_0x39cae5(0x234)],_0x354f7e=_0x2bc49b[_0x39cae5(0x385)](),{docsLeft:_0x54234c,docsTop:_0x14c30b}=_0x354f7e,_0x2e35fa=new _0x1aba27['NodePositionConvertToCursor'](_0x354f7e,_0x89f37e);for(const {startOffset:_0x1702eb,endOffset:_0x5f107a,rangeType:_0x50db6e,segmentId:_0x15598f,segmentPage:_0x43bbae,collapsed:_0x18a1ca,isActive:_0x31a46c}of _0x554cab){const _0x1cfa11=_0x89f37e[_0x39cae5(0x320)](_0x1702eb,!0x0,_0x15598f,_0x43bbae);let _0x1b38bf=_0x89f37e['findNodePositionByCharIndex'](_0x5f107a,!0x0,_0x15598f,_0x43bbae);if(_0x1b38bf==null&&(_0x1b38bf=_0x89f37e[_0x39cae5(0x320)](_0x5f107a-0x1,!0x1,_0x15598f,_0x43bbae)),_0x31a46c){const {contentBoxPointGroup:_0x4cecd3}=_0x2e35fa[_0x39cae5(0x174)](_0x1b38bf,_0x1b38bf);if(_0x4cecd3[_0x39cae5(0x362)]===0x0)continue;this[_0x39cae5(0x32c)](_0x30d683,_0x4cecd3,_0x54234c,_0x14c30b,_0x2b8208),this[_0x39cae5(0x1e7)]=this[_0x39cae5(0x16e)]();}if(_0x1cfa11&&_0x1b38bf){if(_0x50db6e===_0x5f0b8d[_0x39cae5(0x187)][_0x39cae5(0x16d)]){const _0x2a8744=new _0x1aba27[(_0x39cae5(0x1e3))](_0x354f7e,_0x89f37e),{pointGroup:_0x13b441}=(_0x5d80c4=_0x2a8744[_0x39cae5(0x174)](_0x1cfa11,_0x1b38bf))!=null?_0x5d80c4:{};if(_0x13b441==null||_0x13b441[_0x39cae5(0x362)]===0x0)continue;this['_drawRectRange'](_0x30d683,_0x13b441,_0x54234c,_0x14c30b);}else{if(!_0x18a1ca){const {borderBoxPointGroup:_0x2e65ab}=_0x2e35fa[_0x39cae5(0x174)](_0x1cfa11,_0x1b38bf);if(_0x2e65ab['length']===0x0)continue;this[_0x39cae5(0x28a)](_0x30d683,_0x2e65ab,_0x54234c,_0x14c30b);}}}}}[_0x145800(0x32c)](_0x36042d,_0xeb3d88,_0x4716ff,_0xf94b61,_0x5dfdd4){const _0x4fb7b8=_0x145800,_0xd3ee25=this[_0x4fb7b8(0x15e)](_0xeb3d88),{left:_0x3a9270,top:_0x1c9956,height:_0x4e979f}=_0xd3ee25,_0x16d1bb=this[_0x4fb7b8(0x1f8)](),_0x49f42f=_0x541c9d/_0x16d1bb,_0xa8e8bc=new _0x5e68e4['Rect'](_0xc7953d+_0x5f0b8d[_0x4fb7b8(0x200)](_0x23bd3d),{'left':_0x3a9270+_0x4716ff-_0x49f42f,'top':_0x1c9956+_0xf94b61,'height':_0x4e979f,'width':_0x342b0d,'fill':_0x36042d||_0x5e68e4[_0x4fb7b8(0x143)](_0x5f0b8d[_0x4fb7b8(0x17c)][_0x4fb7b8(0x25b)],0x0),'strokeWidth':_0x49f42f,'stroke':_0x18b615,'evented':!0x0});this['_anchor']=_0xa8e8bc,this[_0x4fb7b8(0x231)][_0x4fb7b8(0x164)](_0xa8e8bc,_0x1aba27['TEXT_RANGE_LAYER_INDEX']);const _0x13c3c7=new _0x5e68e4['Rect'](_0xc7953d+_0x5f0b8d['generateRandomId'](_0x23bd3d),{'left':_0x3a9270+_0x4716ff-_0x49f42f,'top':_0x1c9956+_0xf94b61-_0x34db81/0x2,'height':_0x34db81,'width':_0x34db81,'fill':_0x36042d||_0x5e68e4[_0x4fb7b8(0x143)](_0x5f0b8d[_0x4fb7b8(0x17c)][_0x4fb7b8(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x36042d||_0x5e68e4[_0x4fb7b8(0x143)](_0x5f0b8d[_0x4fb7b8(0x17c)][_0x4fb7b8(0x25b)],0x0),'evented':!0x1});this[_0x4fb7b8(0x312)]=_0x13c3c7,this[_0x4fb7b8(0x231)][_0x4fb7b8(0x164)](_0x13c3c7,_0x1aba27['TEXT_RANGE_LAYER_INDEX']);const _0x29ae84=new _0x3958f1(_0xc7953d+_0x5f0b8d[_0x4fb7b8(0x200)](_0x23bd3d),{'left':_0x3a9270+_0x4716ff-_0x49f42f,'top':_0x1c9956+_0xf94b61-_0x1e2684,'text':_0x5dfdd4,'color':_0x36042d});this[_0x4fb7b8(0x23a)]=_0x29ae84,this[_0x4fb7b8(0x231)][_0x4fb7b8(0x164)](_0x29ae84,_0x1aba27[_0x4fb7b8(0x240)]),this['_hover']=!0x1;}[_0x145800(0x16e)](){const _0x2ff5e5=_0x145800,_0x58fdfe=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x2b28c9=_0x1210;this[_0x2b28c9(0x28d)]=!0x0;}),_0x13b3ae=this[_0x2ff5e5(0x2ae)]['onPointerLeave$'][_0x2ff5e5(0x17d)](()=>{const _0x2bdfee=_0x2ff5e5;this[_0x2bdfee(0x386)]&&clearTimeout(this[_0x2bdfee(0x386)]),this[_0x2bdfee(0x386)]=setTimeout(()=>{const _0x526270=_0x2bdfee;this[_0x526270(0x28d)]=!0x1;},0x7d0);});return()=>{_0x58fdfe['unsubscribe'](),_0x13b3ae['unsubscribe']();};}[_0x145800(0x28a)](_0xeb8e2d,_0x357a76,_0x422f85,_0x3436d0){const _0x448e2b=_0x145800,_0x13714c=new _0x5f0b8d[(_0x448e2b(0x32d))](_0xeb8e2d)[_0x448e2b(0x285)](0.2)[_0x448e2b(0x279)](),_0x1150f3=new _0x5e68e4[(_0x448e2b(0x3aa))](_0x4cdec2+_0x5f0b8d[_0x448e2b(0x200)](_0x23bd3d),{'pointsGroup':_0x357a76,'fill':_0x13714c||_0x5e68e4['getColor'](_0x5f0b8d['COLORS']['black'],0.2),'left':_0x422f85,'top':_0x3436d0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x448e2b(0x355)][_0x448e2b(0x259)](_0x1150f3),this[_0x448e2b(0x231)]['addObject'](_0x1150f3,_0x1aba27['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x3d33a3,_0x3ba8c8,_0x49c48e,_0x3ee0ad){const _0x8cd0c8=_0x145800,_0x1be255=new _0x5f0b8d[(_0x8cd0c8(0x32d))](_0x3d33a3)[_0x8cd0c8(0x285)](0.2)[_0x8cd0c8(0x279)](),_0x301e57=new _0x5e68e4[(_0x8cd0c8(0x3aa))](_0x3569b9+_0x5f0b8d[_0x8cd0c8(0x200)](_0x23bd3d),{'pointsGroup':_0x3ba8c8,'fill':_0x1be255||_0x5e68e4[_0x8cd0c8(0x143)](_0x5f0b8d['COLORS']['black'],0.2),'left':_0x49c48e,'top':_0x3ee0ad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8cd0c8(0x355)][_0x8cd0c8(0x259)](_0x301e57),this[_0x8cd0c8(0x231)][_0x8cd0c8(0x164)](_0x301e57,_0x1aba27[_0x8cd0c8(0x240)]);}[_0x145800(0x15e)](_0x26cac5){const _0x1561ed=_0x26cac5[0x0],_0x3b5b3d=_0x1561ed[0x0],_0x5033b9=_0x1561ed[0x2],{x:_0x4b3527,y:_0x18ab7e}=_0x3b5b3d,{x:_0x41efaa,y:_0x3c2bdf}=_0x5033b9;return{'left':_0x4b3527,'top':_0x18ab7e,'width':_0x41efaa-_0x4b3527,'height':_0x3c2bdf-_0x18ab7e};}[_0x145800(0x1f8)](){const _0x137b8a=_0x145800,{scaleX:_0x32fc1b,scaleY:_0x54ec1c}=this[_0x137b8a(0x231)][_0x137b8a(0x2ea)]();return Math[_0x137b8a(0x2a0)](_0x32fc1b,_0x54ec1c);}}var _0x198dd7=Object[_0x145800(0x30b)],_0x21c144=(_0x2fa3af,_0x24559b,_0x34d243,_0x413a9b)=>{const _0x25d481=_0x145800;for(var _0x1e8c67=_0x413a9b>0x1?void 0x0:_0x413a9b?_0x198dd7(_0x24559b,_0x34d243):_0x24559b,_0x3d942f=_0x2fa3af[_0x25d481(0x362)]-0x1,_0x1bf367;_0x3d942f>=0x0;_0x3d942f--)(_0x1bf367=_0x2fa3af[_0x3d942f])&&(_0x1e8c67=_0x1bf367(_0x1e8c67)||_0x1e8c67);return _0x1e8c67;},_0x43670b=(_0x527414,_0x70b6f1)=>(_0x3824bf,_0x4d1ae0)=>_0x70b6f1(_0x3824bf,_0x4d1ae0,_0x527414);let _0x294eda=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0xe7e9f1,_0x113759,_0x2befab,_0x138158,_0xa68d66){const _0x1840d2=_0x145800;super(),_0x508c44(this,_0x1840d2(0x20c),[]),_0x508c44(this,_0x1840d2(0x32b),[]),(this[_0x1840d2(0x276)]=_0xe7e9f1,this['_docSkeletonManagerService']=_0x113759,this[_0x1840d2(0x137)]=_0x2befab,this[_0x1840d2(0x217)]=_0x138158,this['_themeService']=_0xa68d66,this['_init']());}[_0x145800(0x357)](){const _0x23c648=_0x145800,_0x4935c0=this[_0x23c648(0x276)]['unitId'],_0x140f2f=this[_0x23c648(0x376)];this[_0x23c648(0x363)](_0x241d80['combineLatest']([this['_collabCursorController'][_0x23c648(0x32e)](_0x4935c0),this[_0x23c648(0x188)][_0x23c648(0x267)]])[_0x23c648(0x2d6)](_0x3ed17b['map'](([_0x475c7d,_0x3e38ee])=>({'skeleton':_0x140f2f['getSkeleton'](),'cursors':[..._0x475c7d[_0x23c648(0x291)]()][_0x23c648(0x30e)](_0x6eac87=>({..._0x6eac87,'color':this[_0x23c648(0x188)][_0x23c648(0x177)](_0x6eac87[_0x23c648(0x329)])}))})))[_0x23c648(0x262)](_0x56bfdf=>{const _0x36010d=_0x23c648;if(this['_removeCollabCursors'](),_0x56bfdf){const {skeleton:_0x8a886b,cursors:_0x2ce47a}=_0x56bfdf;this[_0x36010d(0x1ea)](_0x8a886b,_0x2ce47a);}})),this[_0x23c648(0x2d7)](),this['_initCommandExecutedListener']();}[_0x145800(0x1ea)](_0x488819,_0x2b8faf){const _0x3027d6=_0x145800,{scene:_0x25e130,mainComponent:_0x1aa828}=this[_0x3027d6(0x276)],_0x3b5f02=_0x2b8faf[_0x3027d6(0x159)](_0x39d2bd=>new _0x5b3f0b(_0x39d2bd,_0x25e130,_0x488819,_0x1aa828));this[_0x3027d6(0x20c)]=_0x3b5f02,this[_0x3027d6(0x32b)]=_0x2b8faf;}[_0x145800(0x378)](){const _0x1eb78b=_0x145800;this[_0x1eb78b(0x31e)]();const {scene:_0x33fc72,mainComponent:_0x5581ca}=this[_0x1eb78b(0x276)],_0x123211=this[_0x1eb78b(0x376)]['getSkeleton'](),_0x5cbcc2=this['_cursors'][_0x1eb78b(0x159)](_0x4effa9=>new _0x5b3f0b(_0x4effa9,_0x33fc72,_0x123211,_0x5581ca));this[_0x1eb78b(0x20c)]=_0x5cbcc2;}[_0x145800(0x31e)](){const _0x370f03=_0x145800;this['_cursorShapes']['forEach'](_0x1b479a=>_0x1b479a[_0x370f03(0x33a)]()),this[_0x370f03(0x20c)]=[];}[_0x145800(0x293)](){const _0x3c4392=_0x145800,_0x42429c=[_0x1aba27[_0x3c4392(0x1f3)]['id']];this[_0x3c4392(0x363)](this[_0x3c4392(0x217)][_0x3c4392(0x153)](_0x4b3989=>{const _0x86b26=_0x3c4392;_0x42429c[_0x86b26(0x12b)](_0x4b3989['id'])&&_0x4b3989[_0x86b26(0x1c8)]['unitId']===this[_0x86b26(0x276)][_0x86b26(0x280)]&&this['_refreshCollabCursors']();}));}[_0x145800(0x2d7)](){const _0x49588e=_0x145800;this['disposeWithMe'](_0x5f0b8d[_0x49588e(0x26c)](this[_0x49588e(0x276)]['engine'][_0x49588e(0x1c0)])['pipe'](_0x3ed17b[_0x49588e(0x2f9)](_0x2c46c9=>_0x2c46c9[_0x49588e(0x1ee)]===_0x5e68e4[_0x49588e(0x1c7)][_0x49588e(0x19f)]),_0x3ed17b[_0x49588e(0x322)](0x10))[_0x49588e(0x262)](()=>{const _0x35f23b=_0x49588e;this[_0x35f23b(0x378)]();}));}};_0x294eda=_0x21c144([_0x43670b(0x1,_0x5f0b8d[_0x145800(0x236)](_0x363e6a[_0x145800(0x2f6)])),_0x43670b(0x2,_0x5f0b8d['Inject'](_0x39a089)),_0x43670b(0x3,_0x5f0b8d[_0x145800(0x1b2)]),_0x43670b(0x4,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2b8)]))],_0x294eda);const _0x10f45d=0x1,_0x5c0cae=1.5;class _0x2e892a extends _0x5e68e4[_0x145800(0x2c8)]{constructor(_0x5581d4,_0x32ea9b){const _0x51f198=_0x145800;super(_0x5581d4,_0x32ea9b),_0x508c44(this,_0x51f198(0x145)),_0x508c44(this,_0x51f198(0x149),!0x1),_0x508c44(this,'_range'),_0x508c44(this,_0x51f198(0x19d),''),_0x508c44(this,_0x51f198(0x1d9),_0x51f198(0x36a)),_0x508c44(this,_0x51f198(0x175)),(_0x32ea9b&&this[_0x51f198(0x1f4)](_0x32ea9b),this[_0x51f198(0x2a3)][_0x51f198(0x17d)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x51f198(0x182)][_0x51f198(0x17d)](()=>this[_0x51f198(0x1f4)]({'hovered':!0x1})));}['setShapeProps'](_0x31ad6d){const _0x43245d=_0x145800;var _0x23bf89,_0x3b8fd0,_0x20c3ea,_0x440a1a,_0xe0afb3,_0x5acf87;this[_0x43245d(0x145)]=(_0x23bf89=_0x31ad6d[_0x43245d(0x329)])!=null?_0x23bf89:this['_color'],this[_0x43245d(0x149)]=(_0x3b8fd0=_0x31ad6d['hovered'])!=null?_0x3b8fd0:this[_0x43245d(0x149)],this['_range']=(_0x20c3ea=_0x31ad6d[_0x43245d(0x198)])!=null?_0x20c3ea:this[_0x43245d(0x333)],this[_0x43245d(0x19d)]=(_0x440a1a=_0x31ad6d[_0x43245d(0x3a2)])!=null?_0x440a1a:this['_name'],this[_0x43245d(0x1d9)]=(_0xe0afb3=_0x31ad6d[_0x43245d(0x154)])!=null?_0xe0afb3:this[_0x43245d(0x1d9)],this[_0x43245d(0x175)]=(_0x5acf87=_0x31ad6d[_0x43245d(0x17f)])!=null?_0x5acf87:this[_0x43245d(0x175)],this[_0x43245d(0x270)]({'width':_0x31ad6d['width'],'height':_0x31ad6d['height']});}['onMouseMove'](_0x5453c5){const _0x4fb701=_0x145800,{row:_0x513353,column:_0x26f148}=_0x5453c5;if(_0x513353>=this['_range'][_0x4fb701(0x16f)]&&_0x513353<=this[_0x4fb701(0x333)][_0x4fb701(0x326)]&&_0x26f148>=this['_range'][_0x4fb701(0x1d2)]&&_0x26f148<=this['_range']['endColumn']){this[_0x4fb701(0x1f4)]({'hovered':!0x0});return;}this[_0x4fb701(0x1f4)]({'hovered':!0x1});}[_0x145800(0x14a)](_0x1e1384){return!0x1;}['_draw'](_0xd74f87){const _0x1404cb=_0x145800;_0x5e68e4['Rect'][_0x1404cb(0x186)](_0xd74f87,{'width':this[_0x1404cb(0x3ab)],'height':this[_0x1404cb(0x32a)],'strokeWidth':_0x5c0cae,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1404cb(0x175)]}),this[_0x1404cb(0x149)]&&(_0xd74f87[_0x1404cb(0x218)](),_0xd74f87['transform'](0x1,0x0,0x0,0x1,this[_0x1404cb(0x3ab)],this['_labelPosition']===_0x1404cb(0x261)?0x0:-_0x1e2684),_0x3958f1[_0x1404cb(0x186)](_0xd74f87,{'text':this[_0x1404cb(0x19d)],'color':this[_0x1404cb(0x145)]}),_0xd74f87[_0x1404cb(0x39f)]());}}var _0x78101=Object[_0x145800(0x30b)],_0x364edc=(_0x43530b,_0x47f98c,_0x156013,_0x216b91)=>{for(var _0x5d085b=_0x216b91>0x1?void 0x0:_0x216b91?_0x78101(_0x47f98c,_0x156013):_0x47f98c,_0x2cadf2=_0x43530b['length']-0x1,_0x5eaba7;_0x2cadf2>=0x0;_0x2cadf2--)(_0x5eaba7=_0x43530b[_0x2cadf2])&&(_0x5d085b=_0x5eaba7(_0x5d085b)||_0x5d085b);return _0x5d085b;},_0x395226=(_0x3a6e85,_0x141bb3)=>(_0x3da2f6,_0x247453)=>_0x141bb3(_0x3da2f6,_0x247453,_0x3a6e85);const _0x2ac1be=0x1389;let _0x4c8fda=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x4951e7,_0x4ab59b,_0x3b0c9e,_0x3e38bd){const _0x581cf4=_0x145800;super(),_0x508c44(this,'_cursors',new Set()),_0x508c44(this,_0x581cf4(0x21b),null),(this[_0x581cf4(0x276)]=_0x4951e7,this[_0x581cf4(0x307)]=_0x4ab59b,this[_0x581cf4(0x137)]=_0x3b0c9e,this[_0x581cf4(0x188)]=_0x3e38bd,this[_0x581cf4(0x357)]());}[_0x145800(0x357)](){const _0x507878=_0x145800;this[_0x507878(0x307)]['currentSkeleton$']['pipe'](_0x3ed17b[_0x507878(0x1d3)](this[_0x507878(0x19b)]),_0x3ed17b[_0x507878(0x235)](_0x2a156d=>{const _0x39e6fc=_0x507878;if(_0x2a156d){const _0x16d318=_0x2a156d['sheetId'];return _0x241d80[_0x39e6fc(0x37a)](this[_0x39e6fc(0x137)]['getCollabCursors$'](this[_0x39e6fc(0x276)]['unitId']),this[_0x39e6fc(0x188)][_0x39e6fc(0x267)])[_0x39e6fc(0x2d6)](_0x3ed17b['map'](([_0x2b6a6a,_0x3ccb2b])=>{const _0x4dcc30=_0x39e6fc,_0x5bbc81=new Map();return _0x2b6a6a[_0x4dcc30(0x1e0)]((_0xf08f06,_0x16114f)=>{const _0x1ef46d=_0x4dcc30;if(_0xf08f06[_0x1ef46d(0x1df)]===_0x16d318){const _0x17a35f={..._0xf08f06};_0x17a35f[_0x1ef46d(0x329)]=this[_0x1ef46d(0x188)][_0x1ef46d(0x177)](_0xf08f06[_0x1ef46d(0x329)]),_0x5bbc81[_0x1ef46d(0x183)](_0x16114f,_0x17a35f);}}),{'skeleton':_0x2a156d,'cursors':_0x5bbc81};}));}return _0x241d80['of']({'skeleton':null,'cursors':new Map()});}))[_0x507878(0x262)](({skeleton:_0x3121a6,cursors:_0x3e7513})=>{const _0x4ab638=_0x507878;this[_0x4ab638(0x31e)](),_0x3121a6&&this[_0x4ab638(0x1ea)](_0x3121a6,_0x3e7513);}),this[_0x507878(0x307)][_0x507878(0x2c9)][_0x507878(0x262)](_0x2c36c9=>{const _0x2fb40e=_0x507878;if(_0x2c36c9==null)return;const {skeleton:_0x90b741}=_0x2c36c9,{scene:_0x245389}=this[_0x2fb40e(0x276)];_0x245389['onPointerMove$']['subscribeEvent'](_0x5f0b8d['debounce'](_0x1ab847=>{const _0x3b2d0e=_0x2fb40e;var _0x4b06f5,_0x1e88b2;const {offsetX:_0x20a2be,offsetY:_0x2e4f8f}=_0x1ab847,{x:_0xb80b13,y:_0x42e2ad}=_0x245389['getRelativeToViewportCoord'](_0x5e68e4[_0x3b2d0e(0x225)][_0x3b2d0e(0x3a6)]([_0x20a2be,_0x2e4f8f])),{scaleX:_0x3ce400,scaleY:_0x985cb4}=_0x245389['getAncestorScale'](),_0x2ba1b9=_0x245389[_0x3b2d0e(0x2d3)](_0x5e68e4[_0x3b2d0e(0x162)][_0x3b2d0e(0x14e)]),_0x566635=_0x245389[_0x3b2d0e(0x25a)](_0x5e68e4['Vector2']['FromArray']([_0xb80b13,_0x42e2ad]),_0x2ba1b9),_0x4ee404=_0x90b741[_0x3b2d0e(0x2f0)](_0x20a2be,_0x2e4f8f,_0x3ce400,_0x985cb4,_0x566635);((_0x4b06f5=this[_0x3b2d0e(0x21b)])==null?void 0x0:_0x4b06f5[_0x3b2d0e(0x309)])===_0x4ee404['column']&&((_0x1e88b2=this[_0x3b2d0e(0x21b)])==null?void 0x0:_0x1e88b2[_0x3b2d0e(0x25c)])===_0x4ee404[_0x3b2d0e(0x25c)]||this[_0x3b2d0e(0x32b)][_0x3b2d0e(0x1e0)](_0x5f3cfa=>{const _0x1eac11=_0x3b2d0e;_0x5f3cfa[_0x1eac11(0x20d)](_0x4ee404);});},0x64));});}[_0x145800(0x1ea)](_0x33696e,_0x2066b0){const _0x3379ef=_0x145800;var _0x14608f;const _0x343c2e=(_0x14608f=this[_0x3379ef(0x307)][_0x3379ef(0x1ca)]())==null?void 0x0:_0x14608f[_0x3379ef(0x1b9)];if(!_0x343c2e)return;const _0x16db46=this[_0x3379ef(0x1bd)]();if(!_0x16db46)return;this[_0x3379ef(0x32b)]['forEach'](_0x274b34=>{const _0x3a197e=_0x3379ef;_0x274b34[_0x3a197e(0x176)]();});const {scene:_0x2eac45}=_0x16db46,_0x8432c=_0x1ec4a1(Array[_0x3379ef(0x22b)](_0x2066b0['values']()))[_0x3379ef(0x159)](_0x11ed19=>{const _0x7a4593=_0x3379ef,{color:_0x349a41,range:_0x381c85,name:_0x311147,selection:_0x35c1bd,sheetID:_0x5bffdd}=_0x11ed19,{startColumn:_0x3f6565,startRow:_0x2f4068,endColumn:_0x1d7a18,endRow:_0x4d5147}=_0x381c85,_0x4c49fa=_0x5d6e31['getCoordByCell'](_0x2f4068,_0x3f6565,_0x2eac45,_0x343c2e),_0x468a11=_0x5d6e31['getCoordByCell'](_0x4d5147,_0x1d7a18,_0x2eac45,_0x343c2e),{columnHeaderHeightAndMarginTop:_0x576b0d}=_0x343c2e,{startX:_0x3d40b1,startY:_0x20eac8}=_0x4c49fa,{endX:_0x4e6b4c,endY:_0x2667d6}=_0x468a11,_0x3b1a10=_0x4e6b4c-_0x3d40b1,_0x58cc32=_0x2667d6-_0x20eac8,_0x1b4bcb={'labelPosition':_0x20eac8-_0x576b0d>=_0x1e2684?_0x7a4593(0x36a):'bottom','sheetID':_0x5bffdd,'range':_0x381c85,'color':_0x349a41,'name':_0x311147,'selection':_0x35c1bd,'left':_0x3d40b1,'top':_0x20eac8,'width':_0x3b1a10,'height':_0x58cc32,'evented':!0x1,'zIndex':_0x2ac1be};return new _0x2e892a(_0x311147,_0x1b4bcb);});_0x2eac45[_0x3379ef(0x1d4)](_0x8432c,_0x10f45d),this[_0x3379ef(0x32b)]=new Set(_0x8432c);}[_0x145800(0x31e)](){const _0x1f0e61=_0x145800;var _0x106f12;(_0x106f12=this[_0x1f0e61(0x32b)])==null||_0x106f12[_0x1f0e61(0x1e0)](_0x2e513b=>_0x2e513b[_0x1f0e61(0x33a)]());}[_0x145800(0x1bd)](){const _0x48bc6c=_0x145800;return _0x5d6e31['getSheetObject'](this[_0x48bc6c(0x276)][_0x48bc6c(0x3a7)],this['_context']);}};_0x4c8fda=_0x364edc([_0x395226(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5d6e31[_0x145800(0x1ab)])),_0x395226(0x2,_0x5f0b8d[_0x145800(0x236)](_0x39a089)),_0x395226(0x3,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2b8)]))],_0x4c8fda);function _0x1ec4a1(_0x445b69){const _0x4e3e6f=_0x145800,_0x147e6c=new Map();return _0x445b69[_0x4e3e6f(0x1e0)](_0x51c7e0=>{const _0x2753b6=_0x4e3e6f;if(_0x147e6c['has'](_0x51c7e0[_0x2753b6(0x366)])){const _0x205dce=_0x147e6c[_0x2753b6(0x1fb)](_0x51c7e0[_0x2753b6(0x366)]);_0x205dce[_0x2753b6(0x3a2)]+=',\x20'+_0x51c7e0[_0x2753b6(0x3a2)];}else _0x147e6c[_0x2753b6(0x183)](_0x51c7e0[_0x2753b6(0x366)],_0x51c7e0);}),Array['from'](_0x147e6c[_0x4e3e6f(0x291)]());}var _0x5dae0d=function(){const _0x5f4f23=_0x145800;return _0x5dae0d=Object[_0x5f4f23(0x3a1)]||function(_0x4c344c){const _0x13ee77=_0x5f4f23;for(var _0x539f9b,_0xb5aed3=0x1,_0x4296f7=arguments['length'];_0xb5aed3<_0x4296f7;_0xb5aed3++){_0x539f9b=arguments[_0xb5aed3];for(var _0x1fe0df in _0x539f9b)Object[_0x13ee77(0x2dd)][_0x13ee77(0x369)][_0x13ee77(0x207)](_0x539f9b,_0x1fe0df)&&(_0x4c344c[_0x1fe0df]=_0x539f9b[_0x1fe0df]);}return _0x4c344c;},_0x5dae0d[_0x5f4f23(0x340)](this,arguments);},_0x2ed36c=function(_0x47a79f,_0xb9eca){const _0x4b2145=_0x145800;var _0x469e1e={};for(var _0x474e51 in _0x47a79f)Object[_0x4b2145(0x2dd)]['hasOwnProperty'][_0x4b2145(0x207)](_0x47a79f,_0x474e51)&&_0xb9eca[_0x4b2145(0x1fc)](_0x474e51)<0x0&&(_0x469e1e[_0x474e51]=_0x47a79f[_0x474e51]);if(_0x47a79f!=null&&typeof Object['getOwnPropertySymbols']==_0x4b2145(0x1f1)){for(var _0x828584=0x0,_0x474e51=Object[_0x4b2145(0x2dc)](_0x47a79f);_0x828584<_0x474e51[_0x4b2145(0x362)];_0x828584++)_0xb9eca[_0x4b2145(0x1fc)](_0x474e51[_0x828584])<0x0&&Object['prototype'][_0x4b2145(0x1fe)][_0x4b2145(0x207)](_0x47a79f,_0x474e51[_0x828584])&&(_0x469e1e[_0x474e51[_0x828584]]=_0x47a79f[_0x474e51[_0x828584]]);}return _0x469e1e;},_0x11cb32=_0x59958d[_0x145800(0x127)](function(_0x13fe83,_0x51cf1b){const _0x243e1e=_0x145800;var _0x28543b=_0x13fe83[_0x243e1e(0x331)],_0x242ca6=_0x13fe83['id'],_0x299122=_0x13fe83[_0x243e1e(0x365)],_0x5445c6=_0x13fe83['extend'],_0x59fc4f=_0x2ed36c(_0x13fe83,[_0x243e1e(0x331),'id','className','extend']),_0x3aac7b='univerjs-icon\x20univerjs-icon-'['concat'](_0x242ca6,'\x20')[_0x243e1e(0x1b7)](_0x299122||'')[_0x243e1e(0x1e4)](),_0x3b41f6=_0x59958d[_0x243e1e(0x18f)]('_'[_0x243e1e(0x1b7)](_0x1db185()));return _0x31a20d(_0x28543b,''[_0x243e1e(0x1b7)](_0x242ca6),{'defIds':_0x28543b[_0x243e1e(0x3ac)],'idSuffix':_0x3b41f6['current']},_0x5dae0d({'ref':_0x51cf1b,'className':_0x3aac7b},_0x59fc4f),_0x5445c6);});function _0x31a20d(_0x3164a8,_0x501c67,_0x29a9c7,_0x11aed2,_0x34cddd){const _0x250ea5=_0x145800;return _0x59958d[_0x250ea5(0x318)](_0x3164a8['tag'],_0x5dae0d(_0x5dae0d({'key':_0x501c67},_0x26ff32(_0x3164a8,_0x29a9c7,_0x34cddd)),_0x11aed2),(_0x549734(_0x3164a8,_0x29a9c7)[_0x250ea5(0x150)]||[])[_0x250ea5(0x159)](function(_0xc2a42e,_0x1ecaad){const _0x30dcdd=_0x250ea5;return _0x31a20d(_0xc2a42e,''[_0x30dcdd(0x1b7)](_0x501c67,'-')[_0x30dcdd(0x1b7)](_0x3164a8[_0x30dcdd(0x168)],'-')[_0x30dcdd(0x1b7)](_0x1ecaad),_0x29a9c7,void 0x0,_0x34cddd);}));}function _0x26ff32(_0x2e9441,_0x4ff606,_0xaa66dc){const _0xead94e=_0x145800;var _0xb85846=_0x5dae0d({},_0x2e9441[_0xead94e(0x300)]);_0xaa66dc!=null&&_0xaa66dc[_0xead94e(0x22f)]&&_0xb85846['fill']===_0xead94e(0x22f)&&(_0xb85846[_0xead94e(0x21a)]=_0xaa66dc['colorChannel1']),_0x2e9441[_0xead94e(0x168)]===_0xead94e(0x327)&&_0xb85846['id']&&(_0xb85846['id']=_0xb85846['id']+_0x4ff606[_0xead94e(0x360)]),Object[_0xead94e(0x375)](_0xb85846)[_0xead94e(0x1e0)](function(_0x391f25){const _0x2a8121=_0xead94e;var _0x8522d0=_0x391f25[0x0],_0x26cdef=_0x391f25[0x1];_0x8522d0===_0x2a8121(0x327)&&typeof _0x26cdef=='string'&&(_0xb85846[_0x8522d0]=_0x26cdef[_0x2a8121(0x328)](/url\(#(.*)\)/,_0x2a8121(0x199)[_0x2a8121(0x1b7)](_0x4ff606[_0x2a8121(0x360)],')')));});var _0x3b9a6a=_0x4ff606['defIds'];return!_0x3b9a6a||_0x3b9a6a[_0xead94e(0x362)]===0x0||(_0x2e9441[_0xead94e(0x168)]==='use'&&_0xb85846['xlink:href']&&(_0xb85846[_0xead94e(0x349)]=_0xb85846[_0xead94e(0x349)]+_0x4ff606[_0xead94e(0x360)]),Object[_0xead94e(0x375)](_0xb85846)[_0xead94e(0x1e0)](function(_0x38fc1c){const _0x224ef8=_0xead94e;var _0x480179=_0x38fc1c[0x0],_0x26d4cb=_0x38fc1c[0x1];typeof _0x26d4cb=='string'&&(_0xb85846[_0x480179]=_0x26d4cb[_0x224ef8(0x328)](/url\(#(.*)\)/,_0x224ef8(0x199)[_0x224ef8(0x1b7)](_0x4ff606['idSuffix'],')')));})),_0xb85846;}function _0x549734(_0x40a9b0,_0x9c5760){const _0x3b39ef=_0x145800;var _0x4667ef,_0x6dac70=_0x9c5760[_0x3b39ef(0x3ac)];return!_0x6dac70||_0x6dac70[_0x3b39ef(0x362)]===0x0?_0x40a9b0:_0x40a9b0[_0x3b39ef(0x168)]===_0x3b39ef(0x18a)&&(!((_0x4667ef=_0x40a9b0[_0x3b39ef(0x150)])===null||_0x4667ef===void 0x0)&&_0x4667ef[_0x3b39ef(0x362)])?_0x5dae0d(_0x5dae0d({},_0x40a9b0),{'children':_0x40a9b0[_0x3b39ef(0x150)][_0x3b39ef(0x159)](function(_0xb4210){const _0x3abddc=_0x3b39ef;return typeof _0xb4210['attrs']['id']==_0x3abddc(0x12c)&&_0x6dac70&&_0x6dac70['includes'](_0xb4210[_0x3abddc(0x300)]['id'])?_0x5dae0d(_0x5dae0d({},_0xb4210),{'attrs':_0x5dae0d(_0x5dae0d({},_0xb4210[_0x3abddc(0x300)]),{'id':_0xb4210[_0x3abddc(0x300)]['id']+_0x9c5760[_0x3abddc(0x360)]})}):_0xb4210;})}):_0x40a9b0;}function _0x1db185(){const _0x4b51e9=_0x145800;return Math[_0x4b51e9(0x1a9)]()[_0x4b51e9(0x269)](0x24)[_0x4b51e9(0x34a)](0x2,0x8);}_0x11cb32['displayName']=_0x145800(0x2a8);var _0x44d5f0={'tag':_0x145800(0x226),'attrs':{'xmlns':_0x145800(0x2f8),'fill':_0x145800(0x243),'viewBox':_0x145800(0x1db),'width':_0x145800(0x392),'height':_0x145800(0x392)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x145800(0x1ff),'attrs':{'stroke':_0x145800(0x335),'d':_0x145800(0x17b),'strokeLinecap':_0x145800(0x399),'strokeLinejoin':_0x145800(0x399),'strokeWidth':1.2}}]},{'tag':_0x145800(0x18a),'attrs':{},'children':[{'tag':_0x145800(0x2ef),'attrs':{'id':_0x145800(0x387)},'children':[{'tag':_0x145800(0x1ff),'attrs':{'fill':_0x145800(0x284),'d':_0x145800(0x20a)}}]}]}],'defIds':[_0x145800(0x387)]},_0x350981=_0x59958d[_0x145800(0x127)](function(_0xc8f3a3,_0x331e89){return _0x59958d['createElement'](_0x11cb32,Object['assign']({},_0xc8f3a3,{'id':'off-line-icon','ref':_0x331e89,'icon':_0x44d5f0}));});_0x350981[_0x145800(0x29d)]=_0x145800(0x1cc);var _0x31d0d2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x145800(0x243),'viewBox':'0\x200\x2017\x2016','width':_0x145800(0x392),'height':_0x145800(0x392)},'children':[{'tag':'g','attrs':{'clipPath':_0x145800(0x30d)},'children':[{'tag':'path','attrs':{'stroke':_0x145800(0x335),'d':_0x145800(0x28f),'strokeLinecap':_0x145800(0x399),'strokeLinejoin':_0x145800(0x399),'strokeWidth':1.2}}]},{'tag':_0x145800(0x18a),'attrs':{},'children':[{'tag':_0x145800(0x2ef),'attrs':{'id':_0x145800(0x232)},'children':[{'tag':_0x145800(0x1ff),'attrs':{'fill':'white','d':_0x145800(0x20a),'transform':_0x145800(0x301)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x46d992=_0x59958d[_0x145800(0x127)](function(_0x2446af,_0x5cbb96){const _0x4bdb59=_0x145800;return _0x59958d['createElement'](_0x11cb32,Object[_0x4bdb59(0x3a1)]({},_0x2446af,{'id':_0x4bdb59(0x1cb),'ref':_0x5cbb96,'icon':_0x31d0d2}));});_0x46d992[_0x145800(0x29d)]=_0x145800(0x321);function _0x5cdc57(_0x8e1132){const _0x3426dc=_0x145800;switch(_0x8e1132){case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x31b)]:return'collabStatus.offline';case _0x5b56a5['CollaborationStatus'][_0x3426dc(0x170)]:return _0x3426dc(0x27a);case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x351)]:return _0x3426dc(0x20b);case _0x5b56a5['CollaborationStatus'][_0x3426dc(0x146)]:return _0x3426dc(0x210);case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x17a)]:case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x142)]:return'collabStatus.syncing';case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x180)]:case _0x5b56a5[_0x3426dc(0x313)]['PENDING']:return _0x3426dc(0x2f4);}}function _0x3564e4(_0x361da4){const _0x4b9704=_0x145800,{status$:_0x1b43f5}=_0x361da4,_0x4cc4c1=_0x1ed79b[_0x4b9704(0x25d)](_0x1b43f5,_0x5b56a5[_0x4b9704(0x313)][_0x4b9704(0x146)]),_0x1d8330=_0x1ed79b[_0x4b9704(0x308)](_0x5f0b8d['LocaleService']),_0x2d23ff=_0x1ed79b['useDependency'](_0x5b56a5[_0x4b9704(0x2f5)]),_0x114994=_0x4cc4c1!==_0x5b56a5[_0x4b9704(0x313)][_0x4b9704(0x31b)],_0xd45f26=_0x1d8330['t'](_0x5cdc57(_0x4cc4c1)),_0x211bf8=_0x114994?_0x2e2eef[_0x4b9704(0x286)](_0x46d992,{}):_0x2e2eef[_0x4b9704(0x286)](_0x350981,{}),_0x190442=_0x59958d[_0x4b9704(0x1a0)](()=>{const _0x3a84db=_0x4b9704;_0x114994||_0x2d23ff[_0x3a84db(0x324)]();},[_0x114994,_0x2d23ff]);function _0x28d564(){const _0x17211b=_0x4b9704;return _0x2e2eef['jsxs'](_0x17211b(0x29e),{'className':_0x17211b(0x1ad),'onClick':_0x190442,'children':[_0x2e2eef['jsx'](_0x17211b(0x29e),{'className':_0x341f85[_0x17211b(0x245)](_0x17211b(0x141),{'univer-text-green-500':_0x114994,'univer-text-red-500':!_0x114994}),'children':_0x211bf8}),_0x2e2eef[_0x17211b(0x286)](_0x17211b(0x29e),{'className':_0x17211b(0x237),'children':_0xd45f26})]});}return _0x114994?_0x28d564():_0x2e2eef['jsx'](_0x341f85['Tooltip'],{'title':_0x1d8330['t'](_0x4b9704(0x2d0)),'children':_0x28d564()});}var _0x1ca466=Object['getOwnPropertyDescriptor'],_0x4d07c2=(_0x4612ce,_0x27161a,_0x2f12c7,_0xcf7290)=>{const _0x25d8c0=_0x145800;for(var _0x4b7a98=_0xcf7290>0x1?void 0x0:_0xcf7290?_0x1ca466(_0x27161a,_0x2f12c7):_0x27161a,_0x31d7d8=_0x4612ce[_0x25d8c0(0x362)]-0x1,_0x5b7975;_0x31d7d8>=0x0;_0x31d7d8--)(_0x5b7975=_0x4612ce[_0x31d7d8])&&(_0x4b7a98=_0x5b7975(_0x4b7a98)||_0x4b7a98);return _0x4b7a98;},_0x315900=(_0x20f8fc,_0x4b5f23)=>(_0xb3582b,_0x5eb560)=>_0x4b5f23(_0xb3582b,_0x5eb560,_0x20f8fc);_0x3c58c2[_0x145800(0x24d)]=class extends _0x5f0b8d[_0x145800(0x216)]{constructor(_0x2c9089,_0x4dc656,_0x4144ed,_0x1c8a8a){const _0x96289c=_0x145800;super(),_0x508c44(this,'_status$',new _0x241d80[(_0x96289c(0x2ff))](_0x5b56a5[_0x96289c(0x313)][_0x96289c(0x146)])),(this[_0x96289c(0x2db)]=_0x2c9089,this['_injector']=_0x4dc656,this[_0x96289c(0x2ac)]=_0x4144ed,this[_0x96289c(0x260)]=_0x1c8a8a,this[_0x96289c(0x1ba)](),this[_0x96289c(0x2b1)]());}[_0x145800(0x2b1)](){const _0x153142=_0x145800;this['disposeWithMe'](this[_0x153142(0x2db)][_0x153142(0x196)][_0x153142(0x2d6)](_0x241d80[_0x153142(0x235)](()=>{const _0x30c49f=_0x153142,_0x51d97c=this['_univerInstanceService'][_0x30c49f(0x359)]();return _0x51d97c?this['_collaborationController']['getCollabEntity$'](_0x51d97c[_0x30c49f(0x21f)]()):_0x241d80['of'](null);}),_0x241d80[_0x153142(0x235)](_0x26757d=>_0x26757d?_0x26757d[_0x153142(0x282)]:_0x241d80['of'](_0x5b56a5[_0x153142(0x313)][_0x153142(0x146)])))[_0x153142(0x262)](_0x35a6b8=>{const _0x1f02c0=_0x153142;this[_0x1f02c0(0x1da)][_0x1f02c0(0x1fd)](_0x35a6b8);}));}['_initStatusComponent'](){const _0xc78336=_0x145800;this[_0xc78336(0x363)](this['_uiPartsService'][_0xc78336(0x204)](_0x1ed79b['BuiltInUIPart'][_0xc78336(0x214)],()=>_0x1ed79b['connectInjector'](_0x35a9de({'status$':this['_status$'][_0xc78336(0x190)]()}),this['_injector'])));}},_0x3c58c2[_0x145800(0x24d)]=_0x4d07c2([_0x315900(0x0,_0x5f0b8d[_0x145800(0x1be)]),_0x315900(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x315900(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x257)])),_0x315900(0x3,_0x1ed79b[_0x145800(0x364)])],_0x3c58c2[_0x145800(0x24d)]);function _0x35a9de(_0x2cf5f5){const {status$:_0x3f02ae}=_0x2cf5f5;return function(){const _0x139fb8=_0x1210;return _0x2e2eef[_0x139fb8(0x286)](_0x3564e4,{'status$':_0x3f02ae});};}var _0x32e170=Object[_0x145800(0x30b)],_0xc843ef=(_0x17b185,_0x3cd887,_0x11f9be,_0x2916e5)=>{const _0x37c6c6=_0x145800;for(var _0x56a146=_0x2916e5>0x1?void 0x0:_0x2916e5?_0x32e170(_0x3cd887,_0x11f9be):_0x3cd887,_0x4220f5=_0x17b185[_0x37c6c6(0x362)]-0x1,_0x437811;_0x4220f5>=0x0;_0x4220f5--)(_0x437811=_0x17b185[_0x4220f5])&&(_0x56a146=_0x437811(_0x56a146)||_0x56a146);return _0x56a146;},_0x43f4cf=(_0x46f29e,_0x53bd75)=>(_0x2c1595,_0x127dfe)=>_0x53bd75(_0x2c1595,_0x127dfe,_0x46f29e);let _0x2e9f8d=class extends _0x5f0b8d[_0x145800(0x216)]{constructor(_0x26afc5,_0x614bcf,_0x48958e,_0x46289d,_0x3fb8bd,_0x16222c){const _0x34ec11=_0x145800;super(),this[_0x34ec11(0x2a9)]=_0x26afc5,this['_localCacheService']=_0x614bcf,this['_collaborationUIEventService']=_0x48958e,this['_messageService']=_0x46289d,this[_0x34ec11(0x3a8)]=_0x3fb8bd,this[_0x34ec11(0x24a)]=_0x16222c,this[_0x34ec11(0x1f2)](),this[_0x34ec11(0x134)]();}[_0x145800(0x1f2)](){const _0x3d199d=_0x145800;this[_0x3d199d(0x363)](this[_0x3d199d(0x2a9)][_0x3d199d(0x242)](()=>{const _0x6f52b0=_0x3d199d;if(this[_0x6f52b0(0x25f)][_0x6f52b0(0x380)][_0x6f52b0(0x215)])return this[_0x6f52b0(0x24a)]['t'](_0x6f52b0(0x1bf));}));}[_0x145800(0x134)](){const _0xa97e0=_0x145800;this[_0xa97e0(0x363)](this[_0xa97e0(0x2ad)][_0xa97e0(0x1f6)][_0xa97e0(0x262)](_0x251315=>{const _0x4ff8c3=_0xa97e0;_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)]['OTHER_CLIENT_EDITING']&&this[_0x4ff8c3(0x221)][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)][_0x4ff8c3(0x353)],'content':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x28c))}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x15a)]&&this[_0x4ff8c3(0x221)]['show']({'type':_0x341f85['MessageType'][_0x4ff8c3(0x353)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x251315['id']===_0x5b56a5['CollaborationUIEventId'][_0x4ff8c3(0x1eb)]&&this[_0x4ff8c3(0x3a8)]['show']({'title':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x121)),'content':this['_localeService']['t']('permission.content'),'type':_0x4ff8c3(0x193),'duration':0x0}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x170)]&&this['_messageService'][_0x4ff8c3(0x372)]({'type':_0x341f85['MessageType'][_0x4ff8c3(0x11f)],'content':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x35c))+'('+_0x251315[_0x4ff8c3(0x264)]+')'}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x1d7)]&&this[_0x4ff8c3(0x221)][_0x4ff8c3(0x372)]({'type':_0x341f85['MessageType'][_0x4ff8c3(0x353)],'content':this[_0x4ff8c3(0x24a)]['t'](_0x251315[_0x4ff8c3(0x264)]||'')}),_0x251315['id']===_0x5b56a5['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x4ff8c3(0x221)][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)]['Warning'],'content':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x23b))}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x39a)]&&this['_messageService'][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)][_0x4ff8c3(0x11f)],'content':this['_localeService']['t'](_0x4ff8c3(0x22d))}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)][_0x4ff8c3(0x11f)],'content':this[_0x4ff8c3(0x24a)]['t']('session.collaboration-timeout')});}));}};_0x2e9f8d=_0xc843ef([_0x43f4cf(0x0,_0x1ed79b[_0x145800(0x1b4)]),_0x43f4cf(0x1,_0x5b56a5['ILocalCacheService']),_0x43f4cf(0x2,_0x5f0b8d['Inject'](_0x5b56a5[_0x145800(0x325)])),_0x43f4cf(0x3,_0x1ed79b[_0x145800(0x1de)]),_0x43f4cf(0x4,_0x1ed79b['INotificationService']),_0x43f4cf(0x5,_0x5f0b8d['Inject'](_0x5f0b8d[_0x145800(0x2e9)]))],_0x2e9f8d);const _0x38010b=_0x145800(0x33f),_0x1a3222={},_0x19cf94=_0x5f0b8d[_0x145800(0x305)](_0x145800(0x382));var _0x276600=Object[_0x145800(0x30b)],_0xe00082=(_0x8bd157,_0x370702,_0x124bcb,_0x219335)=>{for(var _0x47eecd=_0x219335>0x1?void 0x0:_0x219335?_0x276600(_0x370702,_0x124bcb):_0x370702,_0x5af56f=_0x8bd157['length']-0x1,_0x2ec53f;_0x5af56f>=0x0;_0x5af56f--)(_0x2ec53f=_0x8bd157[_0x5af56f])&&(_0x47eecd=_0x2ec53f(_0x47eecd)||_0x47eecd);return _0x47eecd;},_0x508660=(_0x44b6f1,_0x37a6af)=>(_0xb5cdb9,_0x5807f2)=>_0x37a6af(_0xb5cdb9,_0x5807f2,_0x44b6f1);_0x3c58c2[_0x145800(0x156)]=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x2ffa07,_0x27c42f,_0x1eaa98,_0x508a88,_0x6e1fb0){const _0x29cd4f=_0x145800;super(),this['_urlService']=_0x2ffa07,this[_0x29cd4f(0x368)]=_0x27c42f,this[_0x29cd4f(0x217)]=_0x1eaa98,this[_0x29cd4f(0x2ba)]=_0x508a88,_0x6e1fb0?_0x6e1fb0==null||_0x6e1fb0[_0x29cd4f(0x3b1)]()['then'](()=>this['_init']()):(this[_0x29cd4f(0x368)][_0x29cd4f(0x2f2)](_0x29cd4f(0x2c3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x29cd4f(0x357)]());}async['_init'](){const _0x4c9d4b=_0x145800,_0x2d70d5=this[_0x4c9d4b(0x23e)][_0x4c9d4b(0x289)](_0x4c9d4b(0x3a7)),_0x386c4c=this[_0x4c9d4b(0x23e)][_0x4c9d4b(0x289)]('type'),_0x29f8a9=this[_0x4c9d4b(0x23e)]['getParam']('subunit');if(!_0x2d70d5||!_0x386c4c){this[_0x4c9d4b(0x368)][_0x4c9d4b(0x2f2)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x18a737=await this[_0x4c9d4b(0x2ba)][_0x4c9d4b(0x1ae)](_0x2d70d5,Number(_0x386c4c),_0x29f8a9);_0x18a737&&_0x18a737 instanceof _0x5f0b8d[_0x4c9d4b(0x391)]&&this[_0x4c9d4b(0x30a)](_0x18a737);}async[_0x145800(0x30a)](_0xf66a46){const _0x211ba1=_0x145800;await this[_0x211ba1(0x138)](_0xf66a46),_0xf66a46[_0x211ba1(0x205)][_0x211ba1(0x2d6)](_0x241d80[_0x211ba1(0x1d3)](this[_0x211ba1(0x19b)]))['subscribe'](_0x2cb40e=>{const _0x5d5942=_0x211ba1;_0x2cb40e&&this[_0x5d5942(0x341)](_0x2cb40e);}),this[_0x211ba1(0x23e)][_0x211ba1(0x2df)]['pipe'](_0x241d80['takeUntil'](this['dispose$']))[_0x211ba1(0x262)](()=>this[_0x211ba1(0x138)](_0xf66a46));}[_0x145800(0x341)](_0x2accc5,_0x3c25bd=!0x1){const _0x4b9cf9=_0x145800,_0x444abd=this['_urlService']['getParam'](_0x4b9cf9(0x1d0));_0x2accc5[_0x4b9cf9(0x1d6)]()!==_0x444abd&&this[_0x4b9cf9(0x23e)][_0x4b9cf9(0x220)](_0x4b9cf9(0x1d0),_0x2accc5['getSheetId'](),_0x3c25bd);}async[_0x145800(0x138)](_0x208b91){const _0x20c26f=_0x145800;var _0x4dbbe0;const _0x5b40ec=this['_urlService'][_0x20c26f(0x289)](_0x20c26f(0x1d0));if(!_0x5b40ec||!_0x208b91[_0x20c26f(0x3a5)](_0x5b40ec)){const _0x3ec6a1=_0x208b91[_0x20c26f(0x38e)]()[0x0],_0x564932=_0x208b91['getSheetBySheetId'](_0x3ec6a1);if(!_0x564932)return;this[_0x20c26f(0x341)](_0x564932,!0x0),await this[_0x20c26f(0x217)][_0x20c26f(0x202)](_0x3658e6[_0x20c26f(0x15f)]['id'],{'unitId':_0x208b91['getUnitId'](),'subUnitId':_0x3ec6a1});return;}((_0x4dbbe0=_0x208b91[_0x20c26f(0x2c1)]())==null?void 0x0:_0x4dbbe0[_0x20c26f(0x1d6)]())!==_0x5b40ec&&await this[_0x20c26f(0x217)][_0x20c26f(0x202)](_0x3658e6[_0x20c26f(0x15f)]['id'],{'unitId':_0x208b91[_0x20c26f(0x21f)](),'subUnitId':_0x5b40ec});}},_0x3c58c2[_0x145800(0x156)]=_0xe00082([_0x508660(0x0,_0x19cf94),_0x508660(0x1,_0x5f0b8d[_0x145800(0x1cf)]),_0x508660(0x2,_0x5f0b8d[_0x145800(0x1b2)]),_0x508660(0x3,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x1ed)])),_0x508660(0x4,_0x5f0b8d[_0x145800(0x166)](_0x1cc702[_0x145800(0x2da)]))],_0x3c58c2[_0x145800(0x156)]);var _0x58d545=Object[_0x145800(0x30b)],_0x337b08=(_0x3c96e8,_0x1da413,_0x36952d,_0x48dea7)=>{const _0x57f098=_0x145800;for(var _0x59f216=_0x48dea7>0x1?void 0x0:_0x48dea7?_0x58d545(_0x1da413,_0x36952d):_0x1da413,_0x46f2ce=_0x3c96e8[_0x57f098(0x362)]-0x1,_0x1b8b28;_0x46f2ce>=0x0;_0x46f2ce--)(_0x1b8b28=_0x3c96e8[_0x46f2ce])&&(_0x59f216=_0x1b8b28(_0x59f216)||_0x59f216);return _0x59f216;},_0x4f0578=(_0xca621b,_0x2a95f4)=>(_0x24b075,_0x196bfe)=>_0x2a95f4(_0x24b075,_0x196bfe,_0xca621b);let _0x576935=class{constructor(_0x25b465,_0x57f0eb){const _0xd36412=_0x145800;this[_0xd36412(0x19e)]=_0x25b465,this[_0xd36412(0x33b)]=_0x57f0eb;}[_0x145800(0x1e2)](_0x4acafb){const _0x2723b3=_0x145800;this[_0x2723b3(0x14c)](_0x4acafb),this[_0x2723b3(0x173)](_0x4acafb);}[_0x145800(0x383)](_0x23ab19){const _0x1d6bae=_0x145800,{unitID:_0x4450b1}=_0x23ab19,_0x5cd521=this[_0x1d6bae(0x33b)]['getRenderById'](_0x4450b1)[_0x1d6bae(0x2fc)](_0x1aba27[_0x1d6bae(0x29c)]),{redoCache:_0x22adc1}=_0x5cd521[_0x1d6bae(0x27f)]();if(_0x22adc1[_0x1d6bae(0x362)]===0x0)return _0x23ab19;let _0x34f419=_0x5f0b8d[_0x1d6bae(0x2e0)][_0x1d6bae(0x26f)](_0x23ab19['mutations'][0x0]);for(let _0x5a5076=0x0;_0x5a5076<_0x22adc1[_0x1d6bae(0x362)];_0x5a5076++){const _0xb91786={'id':'doc.mutation.rich-text-editing','params':{..._0x22adc1[_0x5a5076]}},_0x12f50d=this[_0x1d6bae(0x19e)][_0x1d6bae(0x16a)](_0x34f419,_0xb91786,!0x1);if(_0x23426a[_0x1d6bae(0x2e7)](_0x12f50d))throw _0x12f50d[_0x1d6bae(0x193)];_0x34f419=_0x12f50d[_0x1d6bae(0x120)];}return{..._0x5f0b8d[_0x1d6bae(0x2e0)][_0x1d6bae(0x26f)](_0x23ab19),'mutations':[_0x34f419]};}[_0x145800(0x14c)](_0x4ee5d9){const _0x32e6e9=_0x145800,{unitID:_0x34bcf2}=_0x4ee5d9,_0x4f4156=this[_0x32e6e9(0x33b)][_0x32e6e9(0x29a)](_0x34bcf2)['with'](_0x1aba27[_0x32e6e9(0x29c)]),{undoCache:_0x4cd29d,redoCache:_0x258a6a}=_0x4f4156[_0x32e6e9(0x27f)]();if(_0x4cd29d[_0x32e6e9(0x362)]===0x0||_0x258a6a[_0x32e6e9(0x362)]===0x0)return;const _0x57e25e=[],_0x479c0e=[];let _0x1c60b8=_0x5f0b8d['Tools']['deepClone'](_0x4ee5d9[_0x32e6e9(0x310)][0x0]),_0xe685b=_0x5f0b8d['Tools'][_0x32e6e9(0x26f)](_0x4ee5d9[_0x32e6e9(0x310)][0x0]);for(let _0x16d288=_0x4cd29d[_0x32e6e9(0x362)]-0x1;_0x16d288>=0x0;_0x16d288--){const _0x4e90fe={'id':_0x32e6e9(0x2cc),'params':{..._0x4cd29d[_0x16d288]}},_0x530933={'id':_0x32e6e9(0x2cc),'params':{..._0x258a6a[_0x16d288]}},_0xf8977=this['_transformService'][_0x32e6e9(0x16a)](_0x1c60b8,_0x4e90fe,!0x1),_0x3f88e9=this[_0x32e6e9(0x19e)][_0x32e6e9(0x16a)](_0xe685b,_0x530933,!0x1);if(_0x23426a[_0x32e6e9(0x2e7)](_0xf8977))throw _0xf8977[_0x32e6e9(0x193)];if(_0x23426a['isTransformMutationFailure'](_0x3f88e9))throw _0x3f88e9[_0x32e6e9(0x193)];_0x57e25e[_0x32e6e9(0x258)](_0xf8977['m2Prime']['params']),_0x479c0e['unshift'](_0x3f88e9[_0x32e6e9(0x39c)][_0x32e6e9(0x1c8)]),_0x1c60b8=_0xf8977[_0x32e6e9(0x120)],_0xe685b=_0x3f88e9[_0x32e6e9(0x120)];}_0x4f4156[_0x32e6e9(0x1e1)]({'undoCache':_0x57e25e,'redoCache':_0x479c0e});}['_transformPreviousActiveRange'](_0x54b8a1){const _0x3f53fa=_0x145800,{unitID:_0x320d4c}=_0x54b8a1,_0x25d3c6=this[_0x3f53fa(0x33b)][_0x3f53fa(0x29a)](_0x320d4c)['with'](_0x1aba27[_0x3f53fa(0x29c)]),_0x29ce66=_0x25d3c6[_0x3f53fa(0x348)]();if(_0x29ce66==null)return;const _0x239bd5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54b8a1[_0x3f53fa(0x344)],'actions':null,'textRanges':[_0x29ce66]}}],_0x428197=this['_transformService']['transformMutationsWithChangeset'](_0x54b8a1,_0x239bd5);if(!_0x23426a['isTransformMutationsWithChangesetSuccess'](_0x428197))throw _0x428197[_0x3f53fa(0x193)];const _0x386a7c=_0x428197[_0x3f53fa(0x39c)][0x0][_0x3f53fa(0x1c8)][_0x3f53fa(0x1b0)];Array[_0x3f53fa(0x37f)](_0x386a7c)&&_0x386a7c[_0x3f53fa(0x362)]&&_0x25d3c6['setActiveRange'](_0x386a7c[0x0]);}};_0x576935=_0x337b08([_0x4f0578(0x0,_0x23426a[_0x145800(0x370)]),_0x4f0578(0x1,_0x5e68e4[_0x145800(0x1af)])],_0x576935);var _0x39cf12=Object[_0x145800(0x30b)],_0x4fad9f=(_0x175e14,_0x13d208,_0x5595e3,_0x38b2b1)=>{const _0x3dfd12=_0x145800;for(var _0x158072=_0x38b2b1>0x1?void 0x0:_0x38b2b1?_0x39cf12(_0x13d208,_0x5595e3):_0x13d208,_0x1bff16=_0x175e14[_0x3dfd12(0x362)]-0x1,_0x1bd268;_0x1bff16>=0x0;_0x1bff16--)(_0x1bd268=_0x175e14[_0x1bff16])&&(_0x158072=_0x1bd268(_0x158072)||_0x158072);return _0x158072;},_0x5a589e=(_0x481ae3,_0x5c9026)=>(_0x553466,_0x4400ca)=>_0x5c9026(_0x553466,_0x4400ca,_0x481ae3);let _0x1bda7c=class{constructor(_0x4be644,_0x4e31f5,_0xefa170){const _0x5d18fe=_0x145800;this[_0x5d18fe(0x2e6)]=_0x4be644,this['_transformService']=_0x4e31f5,this[_0x5d18fe(0x26a)]=_0xefa170;}[_0x145800(0x135)](_0x4e742c){this['_transformHistoryAndStateStack'](_0x4e742c);}[_0x145800(0x383)](_0x1a973d){const _0x3fa3f8=_0x145800,{unitID:_0x1d38ab}=_0x1a973d,{collaboration:_0x5c2ff5}=this[_0x3fa3f8(0x26a)][_0x3fa3f8(0x2f3)](_0x1d38ab);if(_0x5c2ff5[_0x3fa3f8(0x362)]===0x0)return _0x1a973d;let _0x4d23bf=_0x5f0b8d[_0x3fa3f8(0x2e0)][_0x3fa3f8(0x26f)](_0x1a973d['mutations'][0x0]);for(let _0x58ffbe=0x0;_0x58ffbe<_0x5c2ff5[_0x3fa3f8(0x362)];_0x58ffbe++){const _0x56358e={'id':_0x3fa3f8(0x2cc),'params':{'unitId':_0x5c2ff5[_0x58ffbe]['unitId'],..._0x5c2ff5[_0x58ffbe][_0x3fa3f8(0x191)]}},_0x4c724c=this[_0x3fa3f8(0x19e)][_0x3fa3f8(0x16a)](_0x4d23bf,_0x56358e,!0x1);if(_0x23426a[_0x3fa3f8(0x2e7)](_0x4c724c))throw _0x4c724c[_0x3fa3f8(0x193)];_0x4d23bf=_0x4c724c[_0x3fa3f8(0x120)];}return{..._0x5f0b8d['Tools'][_0x3fa3f8(0x26f)](_0x1a973d),'mutations':[_0x4d23bf]};}[_0x145800(0x1b3)](_0x5bfb05){const _0x16d36e=_0x145800,{unitID:_0x1491ad}=_0x5bfb05,{history:_0x17423c,collaboration:_0x3b4776}=this[_0x16d36e(0x26a)][_0x16d36e(0x2f3)](_0x1491ad);if(_0x17423c[_0x16d36e(0x362)]===0x0&&_0x3b4776['length']===0x0)return;const _0x5ef150=[],_0x4581e1=[];let _0x31e485=_0x5f0b8d[_0x16d36e(0x2e0)][_0x16d36e(0x26f)](_0x5bfb05[_0x16d36e(0x310)][0x0]),_0x2971a2=_0x5f0b8d[_0x16d36e(0x2e0)]['deepClone'](_0x5bfb05['mutations'][0x0]);for(let _0x2f61f7=_0x17423c[_0x16d36e(0x362)]-0x1;_0x2f61f7>=0x0;_0x2f61f7--){const _0x41fd94={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x17423c[_0x2f61f7]['unitId'],..._0x17423c[_0x2f61f7]['undoState']}},_0x29e63f={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x17423c[_0x2f61f7][_0x16d36e(0x280)],..._0x17423c[_0x2f61f7][_0x16d36e(0x191)]}},_0x19b59f=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x31e485,_0x41fd94,!0x1),_0x4847a9=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x2971a2,_0x29e63f,!0x1);if(_0x23426a[_0x16d36e(0x2e7)](_0x19b59f))throw _0x19b59f[_0x16d36e(0x193)];if(_0x23426a['isTransformMutationFailure'](_0x4847a9))throw _0x4847a9['error'];_0x5ef150[_0x16d36e(0x258)]({..._0x17423c[_0x2f61f7],'undoState':_0x19b59f[_0x16d36e(0x39c)][_0x16d36e(0x1c8)],'redoState':_0x4847a9[_0x16d36e(0x39c)][_0x16d36e(0x1c8)]}),_0x31e485=_0x19b59f[_0x16d36e(0x120)],_0x2971a2=_0x4847a9[_0x16d36e(0x120)];}_0x31e485=_0x5f0b8d[_0x16d36e(0x2e0)][_0x16d36e(0x26f)](_0x5bfb05[_0x16d36e(0x310)][0x0]),_0x2971a2=_0x5f0b8d[_0x16d36e(0x2e0)][_0x16d36e(0x26f)](_0x5bfb05[_0x16d36e(0x310)][0x0]);for(let _0x51515b=_0x3b4776['length']-0x1;_0x51515b>=0x0;_0x51515b--){const _0x51ba50={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x3b4776[_0x51515b][_0x16d36e(0x280)],..._0x3b4776[_0x51515b]['undoState']}},_0x54e83a={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x3b4776[_0x51515b][_0x16d36e(0x280)],..._0x3b4776[_0x51515b]['redoState']}},_0x3d4597=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x31e485,_0x51ba50,!0x1),_0x38270b=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x2971a2,_0x54e83a,!0x1);if(_0x23426a['isTransformMutationFailure'](_0x3d4597))throw _0x3d4597[_0x16d36e(0x193)];if(_0x23426a[_0x16d36e(0x2e7)](_0x38270b))throw _0x38270b[_0x16d36e(0x193)];_0x4581e1[_0x16d36e(0x258)]({..._0x3b4776[_0x51515b],'undoState':_0x3d4597['m2Prime'][_0x16d36e(0x1c8)],'redoState':_0x38270b[_0x16d36e(0x39c)][_0x16d36e(0x1c8)]}),_0x31e485=_0x3d4597[_0x16d36e(0x120)],_0x2971a2=_0x38270b[_0x16d36e(0x120)];}this[_0x16d36e(0x26a)][_0x16d36e(0x11d)](_0x1491ad,{'history':_0x5ef150,'collaboration':_0x4581e1});}};_0x1bda7c=_0x4fad9f([_0x5a589e(0x0,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x5a589e(0x1,_0x23426a[_0x145800(0x370)]),_0x5a589e(0x2,_0x5f0b8d[_0x145800(0x236)](_0x1aba27[_0x145800(0x394)]))],_0x1bda7c);var _0x1bda59=Object[_0x145800(0x30b)],_0x263304=(_0x56a50c,_0x431c22,_0x18c253,_0x40c0f3)=>{const _0x293cb8=_0x145800;for(var _0x26b7fa=_0x40c0f3>0x1?void 0x0:_0x40c0f3?_0x1bda59(_0x431c22,_0x18c253):_0x431c22,_0x49ceae=_0x56a50c[_0x293cb8(0x362)]-0x1,_0x52e365;_0x49ceae>=0x0;_0x49ceae--)(_0x52e365=_0x56a50c[_0x49ceae])&&(_0x26b7fa=_0x52e365(_0x26b7fa)||_0x26b7fa);return _0x26b7fa;},_0x2964e5=(_0x39c568,_0x229bff)=>(_0x3de528,_0x10b834)=>_0x229bff(_0x3de528,_0x10b834,_0x39c568);let _0x45aba7=class{constructor(_0x316c17,_0x15fed9){const _0x3a0232=_0x145800;this[_0x3a0232(0x2e6)]=_0x316c17,this[_0x3a0232(0x19e)]=_0x15fed9;}[_0x145800(0x160)](_0x4325ac){const _0x49baaa=_0x145800;var _0x33d966;const _0xe8c4a=this[_0x49baaa(0x2e6)][_0x49baaa(0x1fb)](_0x363e6a[_0x49baaa(0x315)]),_0xc84507=(_0x33d966=_0xe8c4a[_0x49baaa(0x1a7)]())!=null?_0x33d966:[];if(_0xc84507[_0x49baaa(0x362)]===0x0)return;const _0x492483=_0x4325ac[_0x49baaa(0x344)],_0x27208e=[{'id':_0x49baaa(0x2cc),'params':{'unitId':_0x492483,'actions':null,'textRanges':_0xc84507}}],_0x5c83c5=this['_transformService']['transformMutationsWithChangeset'](_0x4325ac,_0x27208e);if(!_0x23426a[_0x49baaa(0x314)](_0x5c83c5))throw _0x5c83c5['error'];const _0x3df324=_0x5c83c5['m2Prime'][0x0]['params'][_0x49baaa(0x1b0)];Array[_0x49baaa(0x37f)](_0x3df324)&&_0x3df324[_0x49baaa(0x362)]&&_0xe8c4a[_0x49baaa(0x1e6)](_0x3df324,{'unitId':_0x492483,'subUnitId':_0x492483},!0x1);}};_0x45aba7=_0x263304([_0x2964e5(0x0,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d['Injector'])),_0x2964e5(0x1,_0x23426a[_0x145800(0x370)])],_0x45aba7);var _0x53a84b=Object[_0x145800(0x30b)],_0x2f5fe8=(_0x295f49,_0x1110a3,_0x1d301d,_0x51fa39)=>{const _0x4e6061=_0x145800;for(var _0x5b779c=_0x51fa39>0x1?void 0x0:_0x51fa39?_0x53a84b(_0x1110a3,_0x1d301d):_0x1110a3,_0x4e8c3f=_0x295f49[_0x4e6061(0x362)]-0x1,_0x31c623;_0x4e8c3f>=0x0;_0x4e8c3f--)(_0x31c623=_0x295f49[_0x4e8c3f])&&(_0x5b779c=_0x31c623(_0x5b779c)||_0x5b779c);return _0x5b779c;},_0x336ced=(_0x46ec3f,_0x48329d)=>(_0xce73a,_0x2f0a47)=>_0x48329d(_0xce73a,_0x2f0a47,_0x46ec3f);let _0x533ecb=class extends _0x5f0b8d['Disposable']{constructor(_0x4d8cf4,_0x48a143,_0x5a6d19,_0x5685f9,_0x129809,_0x1db7c4,_0x2abd52,_0x5270bc){const _0x39fe96=_0x145800;super(),_0x508c44(this,_0x39fe96(0x1da),new _0x241d80[(_0x39fe96(0x2ff))](_0x5b56a5[_0x39fe96(0x313)][_0x39fe96(0x146)])),(this[_0x39fe96(0x26a)]=_0x4d8cf4,this[_0x39fe96(0x2ac)]=_0x48a143,this[_0x39fe96(0x278)]=_0x5a6d19,this[_0x39fe96(0x346)]=_0x5685f9,this[_0x39fe96(0x339)]=_0x129809,this[_0x39fe96(0x298)]=_0x1db7c4,this[_0x39fe96(0x221)]=_0x2abd52,this[_0x39fe96(0x24a)]=_0x5270bc,this[_0x39fe96(0x277)]());}[_0x145800(0x277)](){const _0x5d2b54=_0x145800;this[_0x5d2b54(0x363)](this[_0x5d2b54(0x2ac)]['entityInit$'][_0x5d2b54(0x262)](_0x55dcd1=>{const _0x243fcc=_0x5d2b54,_0x549c67=this[_0x243fcc(0x26a)][_0x243fcc(0x34e)][_0x243fcc(0x262)](_0x405817=>{const _0x1b3a79=_0x243fcc;if(_0x405817==null)return;const {unitId:_0x236acb,redoState:_0x22176d,commandId:_0xcb44a0}=_0x405817;if(_0x236acb!==_0x55dcd1[_0x1b3a79(0x344)])return;const _0x594146={'id':_0xcb44a0,'type':_0x5f0b8d[_0x1b3a79(0x1c3)]['MUTATION'],'params':{'unitId':_0x236acb,'actions':_0x22176d['actions'],'textRanges':null}};_0x55dcd1['onLocalMutation'](_0x594146);});if(_0x55dcd1[_0x243fcc(0x363)](_0x549c67),_0x55dcd1 instanceof _0x5b56a5[_0x243fcc(0x179)]){const _0x2e0eb0={'onTransformIME':_0x4fb86c=>this[_0x243fcc(0x278)]['transformIMECache'](_0x4fb86c),'onTransformState':_0x361e2a=>this['_docTransformStateCacheService'][_0x243fcc(0x135)](_0x361e2a),'onTransformSelections':_0x4318cf=>this[_0x243fcc(0x339)][_0x243fcc(0x160)](_0x4318cf),'onSyncEditingCollabCursor':_0x1fa558=>this[_0x243fcc(0x298)][_0x243fcc(0x3a9)](_0x1fa558),'onTransformRemoteChangesetByIMECache':_0x1cedec=>this[_0x243fcc(0x278)]['transformRemoteChangeset'](_0x1cedec),'onTransformRemoteChangesetByStateCache':_0x16174c=>this[_0x243fcc(0x346)]['transformRemoteChangeset'](_0x16174c)};_0x55dcd1[_0x243fcc(0x18e)](_0x2e0eb0);}}));}};_0x533ecb=_0x2f5fe8([_0x336ced(0x0,_0x5f0b8d[_0x145800(0x236)](_0x1aba27[_0x145800(0x394)])),_0x336ced(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x257)])),_0x336ced(0x2,_0x5f0b8d[_0x145800(0x236)](_0x576935)),_0x336ced(0x3,_0x5f0b8d['Inject'](_0x1bda7c)),_0x336ced(0x4,_0x5f0b8d['Inject'](_0x45aba7)),_0x336ced(0x5,_0x5f0b8d[_0x145800(0x236)](_0x34c5a6)),_0x336ced(0x6,_0x1ed79b[_0x145800(0x1de)]),_0x336ced(0x7,_0x5f0b8d['Inject'](_0x5f0b8d[_0x145800(0x2e9)]))],_0x533ecb);var _0x3c63da=Object[_0x145800(0x30b)],_0x72d198=(_0x497900,_0x723e4b,_0x5a3d51,_0x4e5228)=>{const _0x944e36=_0x145800;for(var _0x4a6d1f=_0x4e5228>0x1?void 0x0:_0x4e5228?_0x3c63da(_0x723e4b,_0x5a3d51):_0x723e4b,_0x5c2591=_0x497900[_0x944e36(0x362)]-0x1,_0x563ea7;_0x5c2591>=0x0;_0x5c2591--)(_0x563ea7=_0x497900[_0x5c2591])&&(_0x4a6d1f=_0x563ea7(_0x4a6d1f)||_0x4a6d1f);return _0x4a6d1f;},_0x231069=(_0x4c3bf2,_0x3bb6ed)=>(_0x3f7101,_0x1ba483)=>_0x3bb6ed(_0x3f7101,_0x1ba483,_0x4c3bf2);let _0x4578a2=class extends _0x5f0b8d['Disposable']{constructor(_0x427a8e,_0x2eaf21,_0x7bc0f8){const _0x2fcbdc=_0x145800;super(),_0x508c44(this,_0x2fcbdc(0x24b),new Map()),_0x508c44(this,_0x2fcbdc(0x2af),new Map()),_0x508c44(this,_0x2fcbdc(0x311),!0x1),(this[_0x2fcbdc(0x3a3)]=_0x427a8e,this[_0x2fcbdc(0x194)]=_0x2eaf21,this['_revisionService']=_0x7bc0f8);}[_0x145800(0x1d5)](){const _0x107af7=_0x145800;this[_0x107af7(0x311)]=!0x0;}[_0x145800(0x27c)](){const _0x5c4297=_0x145800;this[_0x5c4297(0x311)]=!0x1;}get['saveTaskMap'](){const _0x255b3e=_0x145800;return this[_0x255b3e(0x2af)];}['dispose'](){const _0x40adb0=_0x145800;this[_0x40adb0(0x16b)]()[_0x40adb0(0x31c)](()=>super[_0x40adb0(0x33a)]());}async[_0x145800(0x147)](_0xa2bf1f){const _0x249fb8=_0x145800;return this[_0x249fb8(0x311)]?null:this[_0x249fb8(0x194)][_0x249fb8(0x1fa)](_0x5b56a5[_0x249fb8(0x1bb)](_0xa2bf1f));}async[_0x145800(0x223)](_0x30f613,_0x113987){const _0x1288ec=_0x145800;return!!this[_0x1288ec(0x194)][_0x1288ec(0x24c)](_0x30f613,_0x113987);}[_0x145800(0x2d4)](_0x582d2c,_0x36ae48,_0x49985a,_0x5b44dd){const _0x55b167=_0x145800,_0x339822=this[_0x55b167(0x317)][_0x55b167(0x367)](_0x582d2c);this[_0x55b167(0x24b)][_0x55b167(0x183)](_0x582d2c,{'unitID':_0x582d2c,'type':_0x36ae48,'awaitingChangeset':_0x49985a,'mutations':_0x5b44dd,'rev':_0x339822}),this[_0x55b167(0x2af)]['has'](_0x582d2c)||this['_scheduleSaving'](_0x582d2c);}[_0x145800(0x12d)](_0x32f680){const _0x44310e=_0x145800,_0x17656=this[_0x44310e(0x2ab)]();_0x17656===0x0?this['_saveCache'](_0x32f680):this['_saveTaskMap'][_0x44310e(0x183)](_0x32f680,setTimeout(()=>this[_0x44310e(0x1ec)](_0x32f680),_0x17656));}[_0x145800(0x2ab)](){const _0x4b4d65=_0x145800;var _0x276fc1;return(_0x276fc1=this['_configService']['getConfig'](_0x5b56a5['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x276fc1:_0x5b56a5[_0x4b4d65(0x290)];}['_saveCache'](_0x59f717){const _0x45074f=_0x145800,_0x459b23=this['_saveTaskMap'][_0x45074f(0x1fb)](_0x59f717);return _0x459b23!==void 0x0&&window[_0x45074f(0x2e8)](_0x459b23),this[_0x45074f(0x194)]['setItem'](_0x5b56a5['getLocalCacheKey'](_0x59f717),this['_cachedData'][_0x45074f(0x1fb)](_0x59f717))[_0x45074f(0x31c)](()=>this[_0x45074f(0x2af)][_0x45074f(0x21e)](_0x59f717));}async[_0x145800(0x16b)](){const _0x10fe90=_0x145800,_0x3815a7=[];this[_0x10fe90(0x2af)][_0x10fe90(0x1e0)]((_0x2b26be,_0x36ecd1)=>{const _0x3acdb5=_0x10fe90;window['clearTimeout'](_0x2b26be),_0x3815a7[_0x3acdb5(0x259)](this[_0x3acdb5(0x1ec)](_0x36ecd1)[_0x3acdb5(0x31c)](()=>{const _0x5d8420=_0x3acdb5;this[_0x5d8420(0x2af)][_0x5d8420(0x21e)](_0x36ecd1);}));}),await Promise['all'](_0x3815a7);}};_0x4578a2=_0x72d198([_0x231069(0x0,_0x5f0b8d[_0x145800(0x2fd)]),_0x231069(0x1,_0x5f0b8d[_0x145800(0x16c)]),_0x231069(0x2,_0x5f0b8d['Inject'](_0x23426a[_0x145800(0x2b7)]))],_0x4578a2);class _0x43b08d extends _0x5f0b8d[_0x145800(0x165)]{constructor(){const _0x308a34=_0x145800;super(),_0x508c44(this,_0x308a34(0x2df)),this[_0x308a34(0x2df)]=_0x241d80[_0x308a34(0x31a)](window,_0x308a34(0x12a))[_0x308a34(0x2d6)](_0x241d80[_0x308a34(0x1d3)](this[_0x308a34(0x19b)]),_0x241d80[_0x308a34(0x384)](0x1),_0x241d80['mapTo'](void 0x0));}['setParam'](_0x78c98,_0x598bf2,_0x294b61=!0x1){const _0x3449b0=_0x145800,_0x523859=new URL(window[_0x3449b0(0x2e3)]['href']);_0x523859[_0x3449b0(0x323)][_0x3449b0(0x183)](_0x78c98,_0x598bf2),_0x294b61?window[_0x3449b0(0x37c)]['replaceState']('','',_0x523859[_0x3449b0(0x269)]()):window[_0x3449b0(0x37c)][_0x3449b0(0x38a)]('','',_0x523859['toString']());}['removeParam'](_0x3b7e8f,_0x29ee0e=!0x1){const _0x4428f7=_0x145800,_0x3eccdf=new URL(window[_0x4428f7(0x2e3)][_0x4428f7(0x197)]);_0x3eccdf[_0x4428f7(0x323)][_0x4428f7(0x21e)](_0x3b7e8f),_0x29ee0e?window[_0x4428f7(0x37c)]['replaceState']('','',_0x3eccdf[_0x4428f7(0x269)]()):window['history']['pushState']('','',_0x3eccdf[_0x4428f7(0x269)]());}[_0x145800(0x289)](_0x3dfa70){const _0x148377=_0x145800;var _0xbddbcb;return(_0xbddbcb=new URL(window[_0x148377(0x2e3)][_0x148377(0x197)])[_0x148377(0x323)][_0x148377(0x1fb)](_0x3dfa70))!=null?_0xbddbcb:void 0x0;}}var _0x33a939=Object[_0x145800(0x25e)],_0x12897b=Object['getOwnPropertyDescriptor'],_0x156208=(_0x3f21c4,_0x1dac3e,_0x206374)=>_0x1dac3e in _0x3f21c4?_0x33a939(_0x3f21c4,_0x1dac3e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x206374}):_0x3f21c4[_0x1dac3e]=_0x206374,_0x4eb197=(_0x4cc1e9,_0x5604a9,_0x34e911,_0x3cde91)=>{const _0x47365f=_0x145800;for(var _0x44ea62=_0x3cde91>0x1?void 0x0:_0x3cde91?_0x12897b(_0x5604a9,_0x34e911):_0x5604a9,_0x2a2707=_0x4cc1e9[_0x47365f(0x362)]-0x1,_0x40f0e3;_0x2a2707>=0x0;_0x2a2707--)(_0x40f0e3=_0x4cc1e9[_0x2a2707])&&(_0x44ea62=_0x40f0e3(_0x44ea62)||_0x44ea62);return _0x44ea62;},_0x5e8cb1=(_0x540b1f,_0x8ec503)=>(_0x50f98e,_0x180562)=>_0x8ec503(_0x50f98e,_0x180562,_0x540b1f),_0x2ecd26=(_0x5e7ab0,_0x3912b0,_0x1e1c88)=>_0x156208(_0x5e7ab0,_0x3912b0+'',_0x1e1c88);const _0x2b105b=_0x145800(0x2e4);_0x3c58c2[_0x145800(0x2fb)]=class extends _0x5f0b8d[_0x145800(0x1c4)]{constructor(_0x5b4252=_0x1a3222,_0x15ec22,_0xde8fd8,_0x36b347){const _0x32bd94=_0x145800;super(),this[_0x32bd94(0x354)]=_0x5b4252,this[_0x32bd94(0x33b)]=_0x15ec22,this[_0x32bd94(0x2e6)]=_0xde8fd8,this[_0x32bd94(0x3a3)]=_0x36b347;const {..._0x408030}=_0x5f0b8d[_0x32bd94(0x395)]({},_0x1a3222,this[_0x32bd94(0x354)]);this[_0x32bd94(0x3a3)][_0x32bd94(0x39e)](_0x38010b,_0x408030);}[_0x145800(0x1dd)](){const _0x419b4c=_0x145800;this[_0x419b4c(0x2b6)](),this[_0x419b4c(0x1e5)]();}[_0x145800(0x393)](){const _0x97933f=_0x145800;this[_0x97933f(0x12f)]();}['_registerDependencies'](){const _0xc59bb8=_0x145800;var _0x3fed2c;const _0x5ace5c=[[_0x8037af],[_0x45aba7],[_0x576935],[_0x1bda7c],[_0x34c5a6],[_0x19cf94,{'useClass':_0x43b08d}],[_0x14a8ee['ISocketService'],{'useClass':_0x14a8ee['WebSocketService']}],[_0x5b56a5[_0xc59bb8(0x184)],{'useClass':_0x4578a2}],[_0x3c58c2[_0xc59bb8(0x24d)]],[_0x533ecb],[_0x2e9f8d],[_0x39a089],[_0x1c80df],[_0x3c58c2['CollaborationDataLoaderController']]];_0x5f0b8d[_0xc59bb8(0x36d)](this[_0xc59bb8(0x2e6)],_0x5f0b8d[_0xc59bb8(0x371)](_0x5ace5c,(_0x3fed2c=this[_0xc59bb8(0x354)])==null?void 0x0:_0x3fed2c['override']));}['_registerRenderDependencies'](){const _0x17231c=_0x145800;this[_0x17231c(0x363)](this[_0x17231c(0x33b)][_0x17231c(0x29b)](_0x5f0b8d['UniverInstanceType'][_0x17231c(0x24f)],[_0x294eda])),this[_0x17231c(0x363)](this[_0x17231c(0x33b)][_0x17231c(0x29b)](_0x5f0b8d[_0x17231c(0x1d1)]['UNIVER_SHEET'],[_0x4c8fda]));}['_initDependencies'](){const _0x38231d=_0x145800;_0x5f0b8d[_0x38231d(0x306)](this[_0x38231d(0x2e6)],[[_0x39a089],[_0x3c58c2[_0x38231d(0x24d)]],[_0x533ecb],[_0x2e9f8d],[_0x3c58c2[_0x38231d(0x156)]]]);}},_0x2ecd26(_0x3c58c2['UniverCollaborationClientUIPlugin'],_0x145800(0x332),_0x2b105b),_0x3c58c2[_0x145800(0x2fb)]=_0x4eb197([_0x5f0b8d[_0x145800(0x15b)](_0x5b56a5[_0x145800(0x39d)]),_0x5e8cb1(0x1,_0x5e68e4[_0x145800(0x1af)]),_0x5e8cb1(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d['Injector'])),_0x5e8cb1(0x3,_0x5f0b8d[_0x145800(0x2fd)])],_0x3c58c2['UniverCollaborationClientUIPlugin']);var _0x468aba=Object[_0x145800(0x30b)],_0x54d372=(_0x25ccbb,_0x109d60,_0xd01a2b,_0x3bcf93)=>{for(var _0x582afd=_0x3bcf93>0x1?void 0x0:_0x3bcf93?_0x468aba(_0x109d60,_0xd01a2b):_0x109d60,_0x2c42a2=_0x25ccbb['length']-0x1,_0x5a5af2;_0x2c42a2>=0x0;_0x2c42a2--)(_0x5a5af2=_0x25ccbb[_0x2c42a2])&&(_0x582afd=_0x5a5af2(_0x582afd)||_0x582afd);return _0x582afd;},_0x4aaef5=(_0x59cdc1,_0x4e8b67)=>(_0x357830,_0x2dac3e)=>_0x4e8b67(_0x357830,_0x2dac3e,_0x59cdc1);_0x3c58c2[_0x145800(0x13e)]=class extends _0x5b56a5[_0x145800(0x1ce)]{constructor(_0x2a6b0c,_0x10da53,_0x637bf4,_0x454c38,_0x32297c){super(_0x2a6b0c,_0x10da53,_0x637bf4,_0x454c38,_0x32297c);}async[_0x145800(0x347)](_0x2f3ff3){const _0x1f6b26=_0x145800,_0x465bc3=await this['_getSessionTicket'](),_0x40d84d=this[_0x1f6b26(0x1ac)](_0x2f3ff3,_0x465bc3);return this['_doCreateSocket'](_0x40d84d);}[_0x145800(0x1ac)](_0x542dc7,_0x1c0b37){const _0x1d14f3=_0x145800,_0x560129=typeof window>'u'?new URL(_0x542dc7):new URL(_0x542dc7,window[_0x1d14f3(0x2e3)][_0x1d14f3(0x254)]);_0x560129[_0x1d14f3(0x323)]['set'](_0x1d14f3(0x132),_0x1c0b37);const _0x571112=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1d14f3(0x2e3)][_0x1d14f3(0x1a1)]);return _0x571112[_0x1d14f3(0x1fb)](_0x1d14f3(0x1a6))&&_0x560129[_0x1d14f3(0x323)][_0x1d14f3(0x183)](_0x1d14f3(0x1a6),_0x571112[_0x1d14f3(0x1fb)](_0x1d14f3(0x1a6))),_0x560129['toString']();}async[_0x145800(0x377)](){const _0x361e5a=_0x145800;var _0x22cd8a,_0x29ae63,_0x55a1fd;const _0x5b4d84=this['_configService']['getConfig'](_0x5b56a5[_0x361e5a(0x33d)]),_0x357212=(_0x22cd8a=_0x5b4d84==null?void 0x0:_0x5b4d84[_0x361e5a(0x144)])!=null?_0x22cd8a:_0x5b56a5[_0x361e5a(0x297)];return(_0x55a1fd=(_0x29ae63=(await this[_0x361e5a(0x37b)][_0x361e5a(0x1fb)](_0x357212,{'headers':{'Content-Type':_0x361e5a(0x2ed)}}))[_0x361e5a(0x373)])==null?void 0x0:_0x29ae63[_0x361e5a(0x13c)])!=null?_0x55a1fd:'';}},_0x3c58c2[_0x145800(0x13e)]=_0x54d372([_0x4aaef5(0x0,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x4aaef5(0x1,_0x5f0b8d[_0x145800(0x236)](_0x14a8ee['HTTPService'])),_0x4aaef5(0x2,_0x5f0b8d[_0x145800(0x2fd)]),_0x4aaef5(0x3,_0x5f0b8d[_0x145800(0x1cf)]),_0x4aaef5(0x4,_0x23426a[_0x145800(0x2ec)])],_0x3c58c2[_0x145800(0x13e)]);const _0x6b11dd=0x7530,_0x4ffe65='ACTIVE_UNIT_EVENT_CHANNEL';class _0x577ca5 extends _0x5f0b8d[_0x145800(0x216)]{constructor(){const _0x42b2e1=_0x145800;super(),_0x508c44(this,_0x42b2e1(0x239),_0x5f0b8d[_0x42b2e1(0x200)]()),_0x508c44(this,'_selfUnitIDs',new Set()),_0x508c44(this,_0x42b2e1(0x248),new Map()),_0x508c44(this,_0x42b2e1(0x23d),null),_0x508c44(this,_0x42b2e1(0x2b4),new Map()),_0x508c44(this,'_unitStatus',new Map()),this[_0x42b2e1(0x357)]();}['dispose'](){const _0x180d93=_0x145800;super[_0x180d93(0x33a)](),this[_0x180d93(0x2b4)]['forEach']((_0x55958d,_0x2a9f36)=>this[_0x180d93(0x230)](_0x2a9f36)),this[_0x180d93(0x23d)]&&window[_0x180d93(0x169)](this[_0x180d93(0x23d)]);}[_0x145800(0x1e9)](_0x2011fa){const _0x26ae8a=_0x145800;return this[_0x26ae8a(0x253)](_0x2011fa)[_0x26ae8a(0x2d6)](_0x241d80[_0x26ae8a(0x302)]());}[_0x145800(0x20e)](_0x51ca24){const _0x44b3a0=_0x145800;this['_selfUnitIDs'][_0x44b3a0(0x215)]===0x0&&this[_0x44b3a0(0x3ad)](),this[_0x44b3a0(0x13f)][_0x44b3a0(0x396)](_0x51ca24),this[_0x44b3a0(0x36b)]({'type':0x0,'memberID':this[_0x44b3a0(0x239)],'unitIDs':[_0x51ca24],'isForwarded':!0x1});}[_0x145800(0x35e)](_0x20dd1e){const _0xff07d0=_0x145800;this[_0xff07d0(0x13f)][_0xff07d0(0x21e)](_0x20dd1e),this[_0xff07d0(0x13f)]['size']===0x0&&this[_0xff07d0(0x23d)]&&window['clearInterval'](this[_0xff07d0(0x23d)]);}['_init'](){const _0x4f9ed0=_0x145800;this[_0x4f9ed0(0x363)](_0x5f0b8d['toDisposable'](_0x241d80[_0x4f9ed0(0x31a)](window,_0x4f9ed0(0x161))[_0x4f9ed0(0x262)](_0x26940c=>{const _0x31ced6=_0x4f9ed0;if(_0x26940c['key']!==_0x4ffe65||!_0x26940c[_0x31ced6(0x2f7)])return;const _0x4b8be4=JSON['parse'](_0x26940c[_0x31ced6(0x2f7)]);this[_0x31ced6(0x2a5)](_0x4b8be4);}))),window[_0x4f9ed0(0x136)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4f9ed0(0x22b)](this[_0x4f9ed0(0x13f)])}));}[_0x145800(0x2a5)](_0x3b8650){const _0x560c3c=_0x145800;switch(_0x3b8650[_0x560c3c(0x1ee)]){case 0x0:this[_0x560c3c(0x2c7)](_0x3b8650);break;case 0x1:this[_0x560c3c(0x268)](_0x3b8650);break;case 0x2:this['_handleHeartbeatEvent'](_0x3b8650);break;}}[_0x145800(0x2c7)](_0x255e97){const _0x263ccd=_0x145800,{unitIDs:_0x3cd831,memberID:_0x1092c1,isForwarded:_0x33f672}=_0x255e97;_0x3cd831[_0x263ccd(0x1e0)](_0x39d6ed=>{const _0xbb029a=_0x263ccd;if(!_0x33f672&&this[_0xbb029a(0x248)][_0xbb029a(0x2b2)](_0x39d6ed)&&this[_0xbb029a(0x253)](_0x39d6ed)[_0xbb029a(0x1fd)](_0x5b56a5[_0xbb029a(0x34c)][_0xbb029a(0x398)]),!this['_unitOnClients'][_0xbb029a(0x2b2)](_0x39d6ed)||!this['_unitOnClients'][_0xbb029a(0x1fb)](_0x39d6ed)[_0xbb029a(0x2b2)](_0x1092c1)){const _0x24e7c4=this['_unitOnClients'][_0xbb029a(0x1fb)](_0x39d6ed)||new Set();_0x24e7c4[_0xbb029a(0x396)](_0x1092c1),this['_unitOnClients'][_0xbb029a(0x183)](_0x39d6ed,_0x24e7c4),this['_scheduleClearOtherTimer'](_0x1092c1);}}),_0x33f672||this[_0x263ccd(0x36b)]({'type':0x0,'memberID':this[_0x263ccd(0x239)],'unitIDs':[...this[_0x263ccd(0x13f)]],'isForwarded':!0x0});}[_0x145800(0x1c2)](_0x58c44a){const _0x47c8f5=_0x145800;this['_removeClearOtherTimer'](_0x58c44a);const _0x2cf5d0=window[_0x47c8f5(0x30c)](()=>{const _0x4a5a61=_0x47c8f5;this[_0x4a5a61(0x248)][_0x4a5a61(0x1e0)](_0x1ab90c=>{const _0x52bd6c=_0x4a5a61;_0x1ab90c[_0x52bd6c(0x21e)](_0x58c44a);});},_0x6b11dd*0x2);this[_0x47c8f5(0x2b4)]['set'](_0x58c44a,_0x2cf5d0);}[_0x145800(0x230)](_0x52be87){const _0x8fe1b6=_0x145800;if(this[_0x8fe1b6(0x2b4)]['has'](_0x52be87)){const _0x1a0293=this[_0x8fe1b6(0x2b4)][_0x8fe1b6(0x1fb)](_0x52be87);_0x1a0293&&window[_0x8fe1b6(0x2e8)](_0x1a0293),this[_0x8fe1b6(0x2b4)][_0x8fe1b6(0x183)](_0x52be87,null);}}[_0x145800(0x268)](_0x2b4c14){const _0x443ad=_0x145800,{memberID:_0x10981f,unitIDs:_0x399f7e}=_0x2b4c14;_0x399f7e[_0x443ad(0x1e0)](_0x3575b6=>{const _0x3dcc3a=_0x443ad;var _0x262db7;const _0x5f1ee8=this[_0x3dcc3a(0x248)][_0x3dcc3a(0x1fb)](_0x3575b6);_0x5f1ee8&&(_0x5f1ee8[_0x3dcc3a(0x21e)](_0x10981f),(_0x262db7=this[_0x3dcc3a(0x253)](_0x3575b6))==null||_0x262db7[_0x3dcc3a(0x1fd)](_0x5f1ee8['size']===0x0?_0x5b56a5['UnitStatus'][_0x3dcc3a(0x334)]:_0x5b56a5['UnitStatus'][_0x3dcc3a(0x398)]));}),this[_0x443ad(0x230)](_0x10981f);}['_handleHeartbeatEvent'](_0x3b2696){const _0x19530b=_0x145800;this[_0x19530b(0x1c2)](_0x3b2696[_0x19530b(0x233)]);}[_0x145800(0x36b)](_0x53b501){const _0x24fd1c=_0x145800;localStorage[_0x24fd1c(0x24c)](_0x4ffe65,JSON[_0x24fd1c(0x172)](_0x53b501));}[_0x145800(0x3ad)](){const _0x52d826=_0x145800;this[_0x52d826(0x23d)]=window['setInterval'](()=>{const _0x34d17b=_0x52d826;this[_0x34d17b(0x36b)]({'type':0x2,'memberID':this['_id']});},_0x6b11dd);}[_0x145800(0x253)](_0x10d8fb){const _0x370dd0=_0x145800;return this[_0x370dd0(0x171)][_0x370dd0(0x2b2)](_0x10d8fb)||this[_0x370dd0(0x171)][_0x370dd0(0x183)](_0x10d8fb,new _0x241d80[(_0x370dd0(0x2ff))](_0x5b56a5[_0x370dd0(0x34c)][_0x370dd0(0x334)])),this['_unitStatus'][_0x370dd0(0x1fb)](_0x10d8fb);}}var _0x241a1d=(_0x58ea84=>(_0x58ea84[_0x58ea84[_0x145800(0x2c2)]=0x0]=_0x145800(0x2c2),_0x58ea84[_0x58ea84['OK']=0x1]='OK',_0x58ea84[_0x58ea84[_0x145800(0x21d)]=0x2]='INTERNAL_ERROR',_0x58ea84[_0x58ea84[_0x145800(0x1eb)]=0x3]=_0x145800(0x1eb),_0x58ea84[_0x58ea84[_0x145800(0x212)]=0x4]=_0x145800(0x212),_0x58ea84[_0x58ea84['UNAUTHENTICATED']=0x5]=_0x145800(0x189),_0x58ea84[_0x58ea84[_0x145800(0x34b)]=0x6]=_0x145800(0x34b),_0x58ea84[_0x58ea84[_0x145800(0x34f)]=0x7]=_0x145800(0x34f),_0x58ea84[_0x58ea84[_0x145800(0x2de)]=0x8]=_0x145800(0x2de),_0x58ea84[_0x58ea84[_0x145800(0x304)]=0x9]='COMPLETION_FINISHED',_0x58ea84[_0x58ea84[_0x145800(0x381)]=0xa]='LOGIN_FAILED',_0x58ea84[_0x58ea84[_0x145800(0x299)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x58ea84[_0x58ea84[_0x145800(0x389)]=0xc]=_0x145800(0x389),_0x58ea84[_0x58ea84['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x58ea84[_0x58ea84[_0x145800(0x38c)]=0xe]=_0x145800(0x38c),_0x58ea84[_0x58ea84[_0x145800(0x287)]=0x1389]=_0x145800(0x287),_0x58ea84[_0x58ea84['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x58ea84[_0x58ea84['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x145800(0x21c),_0x58ea84[_0x58ea84['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x145800(0x17e),_0x58ea84[_0x58ea84['APPLY_REJECT']=0x1b59]=_0x145800(0x13b),_0x58ea84[_0x58ea84[_0x145800(0x1b5)]=0x1b5a]=_0x145800(0x1b5),_0x58ea84[_0x58ea84[_0x145800(0x244)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x58ea84[_0x58ea84[_0x145800(0x1a3)]=0x1b5c]=_0x145800(0x1a3),_0x58ea84[_0x58ea84[_0x145800(0x122)]=0x1b5d]='APPLY_DUPLICATED',_0x58ea84[_0x58ea84['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x145800(0x30f),_0x58ea84[_0x58ea84['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x145800(0x2bd),_0x58ea84[_0x58ea84['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x145800(0x130),_0x58ea84[_0x58ea84['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x145800(0x241),_0x58ea84[_0x58ea84['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x58ea84[_0x58ea84[_0x145800(0x2ee)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x58ea84[_0x58ea84['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x58ea84[_0x58ea84['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x58ea84[_0x58ea84[_0x145800(0x124)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x58ea84[_0x58ea84[_0x145800(0x163)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x58ea84[_0x58ea84[_0x145800(0x15d)]=0x271a]=_0x145800(0x15d),_0x58ea84[_0x58ea84[_0x145800(0x356)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x58ea84[_0x58ea84[_0x145800(0x18d)]=0x271c]=_0x145800(0x18d),_0x58ea84[_0x58ea84[_0x145800(0x178)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x58ea84[_0x58ea84[_0x145800(0x319)]=0x271e]=_0x145800(0x319),_0x58ea84[_0x58ea84['YUUMI_AI_RUN_FAILED']=0x271f]=_0x145800(0x272),_0x58ea84[_0x58ea84[_0x145800(0x283)]=0x2720]=_0x145800(0x283),_0x58ea84[_0x58ea84[_0x145800(0x158)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x58ea84[_0x58ea84[_0x145800(0x18b)]=0x2ee1]=_0x145800(0x18b),_0x58ea84[_0x58ea84[_0x145800(0x37d)]=0x2ee2]=_0x145800(0x37d),_0x58ea84[_0x58ea84['INVITE_CODE_REQUIRED']=0x2ee3]=_0x145800(0x2a1),_0x58ea84[_0x58ea84[_0x145800(0x157)]=0x2ee4]=_0x145800(0x157),_0x58ea84[_0x58ea84[_0x145800(0x247)]=0x2ee5]=_0x145800(0x247),_0x58ea84[_0x58ea84[_0x145800(0x2d2)]=0x32c9]=_0x145800(0x2d2),_0x58ea84[_0x58ea84[_0x145800(0x11e)]=0x32ca]=_0x145800(0x11e),_0x58ea84[_0x58ea84[_0x145800(0x336)]=0x32cb]=_0x145800(0x336),_0x58ea84[_0x58ea84[_0x145800(0x33e)]=-0x1]='UNRECOGNIZED',_0x58ea84))(_0x241a1d||{}),_0x232dea=Object[_0x145800(0x30b)],_0x526f5f=(_0x4375e2,_0x30e355,_0x1d47fa,_0x2b0c06)=>{const _0x3dc9cb=_0x145800;for(var _0x250fe0=_0x2b0c06>0x1?void 0x0:_0x2b0c06?_0x232dea(_0x30e355,_0x1d47fa):_0x30e355,_0x3a29f6=_0x4375e2[_0x3dc9cb(0x362)]-0x1,_0x395ddc;_0x3a29f6>=0x0;_0x3a29f6--)(_0x395ddc=_0x4375e2[_0x3a29f6])&&(_0x250fe0=_0x395ddc(_0x250fe0)||_0x250fe0);return _0x250fe0;},_0x540c4b=(_0x180abe,_0x2b1636)=>(_0x4ae419,_0x2c777d)=>_0x2b1636(_0x4ae419,_0x2c777d,_0x180abe);_0x3c58c2['RemoteUniscriptService']=class extends _0x5f0b8d[_0x145800(0x216)]{constructor(_0x71254d,_0x33554e,_0x42e987){const _0x2e0738=_0x145800;super(),this[_0x2e0738(0x2ce)]=_0x71254d,this['_httpService']=_0x33554e,this[_0x2e0738(0x3a3)]=_0x42e987;}async['runOnServer'](_0x5bffdc,_0xcabece,_0xe68b5,..._0x1505cb){const _0x1b8021=_0x145800;var _0x4f47d3,_0x5c723d,_0x53b6d9,_0x3a48ed;const _0x1c21be=this[_0x1b8021(0x2ce)][_0x1b8021(0x359)]();if(!_0x1c21be)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x22aee9=((_0x4f47d3=this['_configService'][_0x1b8021(0x345)](_0x5b56a5[_0x1b8021(0x2aa)]))!=null?_0x4f47d3:_0x5b56a5[_0x1b8021(0x263)])+'/'+_0x5bffdc+'/run/'+_0xcabece,_0xc0bbdd=new URL(window[_0x1b8021(0x2e3)][_0x1b8021(0x197)]),_0x1fd840={'scriptId':_0x5bffdc,'runId':(_0x5c723d=_0xc0bbdd[_0x1b8021(0x323)][_0x1b8021(0x1fb)](_0x1b8021(0x1a6)))!=null?_0x5c723d:'','function':_0xcabece,'unitId':_0x1c21be[_0x1b8021(0x21f)](),'argsOfFunction':JSON[_0x1b8021(0x172)](_0x1505cb),'invokeId':(_0x53b6d9=_0xe68b5[_0x1b8021(0x28e)])!=null?_0x53b6d9:'','executionId':(_0x3a48ed=_0xe68b5[_0x1b8021(0x1f9)])!=null?_0x3a48ed:''};try{const _0x3bdd52=await this[_0x1b8021(0x37b)][_0x1b8021(0x1a2)](_0x22aee9,{'body':_0x1fd840});return _0x3bdd52[_0x1b8021(0x373)]['error']&&_0x3bdd52[_0x1b8021(0x373)][_0x1b8021(0x193)][_0x1b8021(0x2be)]!==_0x241a1d['OK']?_0x1b8021(0x1a5):_0x3bdd52[_0x1b8021(0x373)][_0x1b8021(0x3a4)];}catch{return _0x1b8021(0x1a5);}}},_0x3c58c2[_0x145800(0x27d)]=_0x526f5f([_0x540c4b(0x0,_0x5f0b8d[_0x145800(0x1be)]),_0x540c4b(0x1,_0x5f0b8d['Inject'](_0x14a8ee[_0x145800(0x2b0)])),_0x540c4b(0x2,_0x5f0b8d[_0x145800(0x2fd)])],_0x3c58c2[_0x145800(0x27d)]),_0x3c58c2[_0x145800(0x2f1)]=_0x19cf94,_0x3c58c2['SheetCollabCursorShape']=_0x2e892a,_0x3c58c2[_0x145800(0x2b3)]=_0x577ca5,_0x3c58c2['WebURLService']=_0x43b08d,Object[_0x145800(0x25e)](_0x3c58c2,Symbol[_0x145800(0x1d8)],{'value':_0x145800(0x352)});}));function _0x1210(_0x221095,_0x33fb28){const _0xf5193=_0xf519();return _0x1210=function(_0x1210fd,_0x4e2eff){_0x1210fd=_0x1210fd-0x11d;let _0x31bafc=_0xf5193[_0x1210fd];return _0x31bafc;},_0x1210(_0x221095,_0x33fb28);}function _0xf519(){const _0x15b8f8=['DocSelectionManagerService','@univerjs/docs-ui','_revisionService','createElement','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEvent','OFFLINE','then','EffectRefRangId','_removeCollabCursors','isEditing','findNodePositionByCharIndex','OnLineIcon','throttleTime','searchParams','reconnect','CollaborationUIEventService','endRow','mask','replace','color','height','_cursors','_drawAnchor','ColorKit','getCollabCursors$','InsertRowCommandId','@univerjs/sheets','icon','pluginName','_range','NO_OTHER_CLIENTS_EDITING','currentColor','EMAIL_HAS_BEEN_BOUND','UniverDrawing','registerRefRange','_docTransformSelectionsService','dispose','_renderManagerService','assignAColorForMemberID','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UNRECOGNIZED','collaboration-client-ui.config','apply','_updateURLWithCurrentState','@univerjs/engine-render','148008XqWYor','unitID','getConfig','_docTransformStateCacheService','createSocket','getActiveRange','xlink:href','substring','ALREADY_EXISTS','UnitStatus','UniverEngineFormula','docStateChange$','INVALID_ARGUMENT','exports','FETCH_MISS','Module','Warning','_config','_shapes','YUUMI_ASYNCIO_CANCELLED','_init','imageSourceType','getFocusedUnit','_syncEditingCollabCursorService','purple.300','collaboration.closeRoom','SetSelectionsOperation','disposeUnit','runRefRangeMutations','idSuffix','red.300','length','disposeWithMe','IUIPartsService','className','selection','getCurrentRevOfUnit','_logService','hasOwnProperty','top','_send','_entityInit$','registerDependencies','collab-text-anchor-','evenodd','ITransformService','mergeOverrideWithDependencies','show','body','_roomMembers$','entries','_docSkeletonManagerService','_getSessionTicket','_refreshCollabCursors','207512Mhiczr','combineLatest','_httpService','history','INVALID_INVITE_CODE','UniverProCollaborationClient','isArray','saveTaskMap','LOGIN_FAILED','uni.network.url-service','transformRemoteChangeset','shareReplay','getOffsetConfig','_hideTimer','off-line-icon_clip0_910_343','roomMembers','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','pushState','split','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USERS_LEAVE','getUnhiddenWorksheets','MessageType','UniverEngineRender','Workbook','1em','onRendered','DocStateChangeManagerService','merge','add','63rUQLhT','OTHER_CLIENTS_EDITING','round','SOCKET_FAILED','UPDATE_CURSOR','m2Prime','UniverCollaborationClientPlugin','setConfig','restore','_entities','assign','name','_configService','result','getSheetBySheetId','FromArray','unit','_notificationService','syncEditingCollabCursor','RegularPolygon','width','defIds','_scheduleHeartbeat','TEXT','_docSkeleton','fillStyle','whenReady','setStateCache','MOBILE_HAS_BEEN_BOUND','Error','m1Prime','permission.title','APPLY_DUPLICATED','_updateLocalCursor','YUUMI_RATE_OVER_LIMIT','...','UniverNetwork','forwardRef','_onRefRangeChange','rxjs','popstate','includes','string','_scheduleSaving','_startDocCollabCursor','_registerRenderDependencies','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','React','sessionTicket','getUniverSheetInstance','_initEvent','transformStateCache','addEventListener','_collabCursorController','_updateSubUnitFromURLParams','react/jsx-runtime','hide','APPLY_REJECT','ticket','sessionStatus$','BrowserCollaborationSocketService','_selfUnitIDs','InsertRangeMoveDownCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','AWAITING_WITH_PENDING','getColor','wsSessionTicketUrl','_color','NOT_COLLAB','loadOfflineData','_cursorInfo$','_hovered','triggerDblclick','IImageIoService','_transformUndoRedoStack','UniverDocsUi','VIEW_MAIN','356PYmCdy','children','CollaborationUIEventId','getCurrentSelections','onCommandExecuted','labelPosition','min','CollaborationDataLoaderController','USER_NOT_INVITED_CODE','PY_RUNTIME_SCRIPT_ERROR','map','CLOSE_ROOM','DependentOn','complete','YUUMI_NO_CUBOID_FOR_QUESTION','_getAnchorBounding','SetWorksheetActivateCommand','transformSelections','storage','SHEET_VIEWPORT_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','addObject','RxDisposable','Optional','some','tag','clearInterval','transformMutation','exhaustSavingTask','ILocalStorageService','RECT','_handleHover','startRow','CONFLICT','_unitStatus','stringify','_transformPreviousActiveRange','getRangePointData','_backgroundColor','makeDirty','getColorFromTheme','YUUMI_ALL_TABLES_IS_INVALID','DocCollaborationEntity','AWAITING','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','COLORS','subscribeEvent','ENSURE_SNAPSHOT_EXECUTION','backgroundColor','SYNCED','amd','onPointerLeave$','set','ILocalCacheService','UniverCore','drawWith','DOC_RANGE_TYPE','_themeService','UNAUTHENTICATED','defs','INVITE_CODE_HAS_BEEN_UES','requireSession','YUUMI_TABLE_NOT_FOUND_IN_UNIT','addHandlerCallback','useRef','asObservable','redoState','symbol','error','_localStorageService','beginPath','focused$','href','range','url(#$1','Subject','dispose$','startsWith','_name','_transformService','resize','useCallback','search','post','APPLY_PERMISSION_DENIED','_getMergeRange','Failed','runId','getDocRanges','deserializeRangeWithSheet','random','_onCursorDelete','SheetSkeletonManagerService','_createSocketURL','univer-flex\x20univer-items-center','loadUnit','IRenderManagerService','textRanges','4360GfQyaj','ICommandService','_transformHistoryAndStateStack','IBeforeCloseService','APPLY_NON_SEQUENTIAL_REVISION','serializeRangeWithSheet','concat','8570IFZBmT','skeleton','_initStatusComponent','getLocalCacheKey','_toggleOnline','_getSheetObject','IUniverInstanceService','collaboration-client.offline-data-not-saved','onTransformChange$','_document','_scheduleClearOtherTimer','CommandType','Plugin','UNIVER_SHEET','RemoveColCommandId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','params','react','getCurrent','on-line-icon','OffLineIcon','isActive','CollaborationSocketService','ILogService','subunit','UniverInstanceType','startColumn','takeUntil','addObjects','disableLocalCache','getSheetId','JOIN_ROOM_FAILED','toStringTag','_labelPosition','_status$','0\x200\x2016\x2016','918069KuCCeN','onStarting','IMessageService','sheetID','forEach','setUndoRedoMutationParamsCache','transformIMECache','NodePositionConvertToRectRange','trim','_initDependencies','replaceDocRanges','_eventUnsubscribe','InsertColCommandId','getUnitStatus$','_updateCollabCursors','PERMISSION_DENIED','_saveCache','DataLoaderService','type','UniverRpc','_docClipboardService','function','_setupBeforeClosingHandler','SetDocZoomRatioOperation','setShapeProps','_collabSessionService','event$','_colorIndex','_getScale','executionId','getItem','get','indexOf','next','propertyIsEnumerable','path','generateRandomId','DeleteRangeMoveUpCommandId','executeCommand','roomMembers$','registerComponent','activeSheet$','RefRangeService','call','measureText','object','M0\x200H16V16H0z','collabStatus.fetchMiss','_cursorShapes','onMouseMove','editingUnit','debounce','collabStatus.notCollab','UniverSheetsUi','NOT_FOUND','handleInsertRangeMoveRight','HEADER_MENU','size','Disposable','_commandService','save','@univerjs/drawing','fill','_lastPointer','SNAPSHOT_HAS_BEEN_REMOVED','INTERNAL_ERROR','delete','getUnitId','setParam','_messageService','InsertRangeMoveRightCommandId','saveOfflineData','green.600','Vector2','svg','DeleteRangeMoveLeftCommandId','@univerjs/docs','UniverDocs','init','from','cursorInfo$','session.connection-failed','UniverSheets','colorChannel1','_removeClearOtherTimer','_scene','on-line-icon_clip0_910_349','memberID','_cursor','switchMap','Inject','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMember','_id','_textBubble','session.will-retry','cursorInfo','_heartbeatTimer','_urlService','ranges','TEXT_RANGE_LAYER_INDEX','LICENSE_IMPORT_SIZE_EXCEEDED','registerBeforeClose','none','APPLY_REVISION_CONFILICT','clsx','getMemberID','INVITE_CODE_ALREADY_BOUND','_unitOnClients','_toggleOffline','_localeService','_cachedData','setItem','DesktopCollaborationStatusDisplayController','fillText','UNIVER_DOC','_draw','eventID','618026kBNHGy','_ensureSubject','origin','createInstance','129556Kksabh','CollaborationController','unshift','push','getVpScrollXYInfoByPosToVp','black','row','useObservable','defineProperty','_localCacheService','_uiPartsService','bottom','subscribe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','data','_collabCursorState$','CollaborationEvent','currentTheme$','_handleLeaveEvent','toString','_docStateChangeManagerService','@univerjs-pro/collaboration','fromEventSubject','ONLINE','find','deepClone','transformByState','@univerjs/design','YUUMI_AI_RUN_FAILED','_online','send','UniverProCollaborationClientUi','_context','_initEntityListener','_docTransformIMECacheService','toRgbString','collabStatus.conflict','_startSheetCollabCursor','enableLocalCache','RemoteUniscriptService','_render','getUndoRedoMutationParamsCache','unitId','@univerjs/network','status$','YUUMI_CONNECTOR_URL_NOT_FOUND','white','setAlpha','jsx','CHANGESET_REVISION_CONFILICT','collab-text-range-','getParam','_drawTextRange','_session','collaboration.single-unit.warning','_hover','invokeId','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','LOCAL_CACHE_INTERVAL','values','yellow.400','_initCommandExecutedListener','MemberService','getTypeOfUnitAdded$','getValue','DEFAULT_WS_SESSION_TICKET_URL','_docSyncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','getRenderById','registerRenderModule','DocIMEInputManagerService','displayName','div','fillRule','max','INVITE_CODE_REQUIRED','closePath','onPointerEnter$','SessionStatus','_handleEvent','Injector','_imageIoService','UniverIcon','_beforeCloseService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','_collaborationController','_collaborationUIEventService','_anchor','_saveTaskMap','HTTPService','_initStatusListener','has','WebBrowserSingleActiveUnitService','_clearOtherTimers','RemoveRowCommandId','_registerDependencies','RevisionService','ThemeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_dataLoaderService','text','@univerjs/sheets-ui','LICENSE_MAX_UNITS_EXCEEDED','code','handleDeleteRangeMoveUp','Unknown\x20user','getActiveSheet','UNDEFINED','[CollaborationDataLoaderController]','DisposableCollection','UniverDesign','_assignedColors','_handleJoinEvent','Shape','currentSkeleton$','arc','jiqing.500','doc.mutation.rich-text-editing','#FFF','_instanceService','_memberService','collab-client.tooltip.reconnect','lineTo','WECHAT_HAS_BEEN_BOUND','getViewport','updateOfflineData','MoveRangeCommandId','pipe','_initResize','_refRangeService','_colorAssignService','IRemoteInstanceService','_univerInstanceService','getOwnPropertySymbols','prototype','TOO_MANY_REQUESTS','urlChange$','Tools','debounceTime','_onCursorUpdate','location','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collab-rect-range-','_injector','isTransformMutationFailure','clearTimeout','LocaleService','getAncestorScale','6894IIMZqU','ISnapshotServerService','application/json','LICENSE_DISTRO_REJECTED','clipPath','getCellPositionByOffset','IURLService','debug','getStateCache','collabStatus.synced','CollaborationSessionService','DocSkeletonManagerService','newValue','http://www.w3.org/2000/svg','filter','@univerjs/ui','UniverCollaborationClientUIPlugin','with','IConfigService','font','BehaviorSubject','attrs','translate(.97)','distinctUntilChanged','@univerjs/engine-formula','COMPLETION_FINISHED','createIdentifier','touchDependencies','_sheetSkeletonManagerService','useDependency','column','_setupSubUnitSync','getOwnPropertyDescriptor','setTimeout','url(#on-line-icon_clip0_910_349)','flatMap','CONNECTOR_DATA_TOO_LARGE','mutations','_disabled','_anchorDot','CollaborationStatus','isTransformMutationsWithChangesetSuccess'];_0xf519=function(){return _0x15b8f8;};return _0xf519();}
1
+ function _0x2795(_0x36aae7,_0x2d96ef){const _0x853e19=_0x853e();return _0x2795=function(_0x279523,_0xcab11d){_0x279523=_0x279523-0x8a;let _0x86b554=_0x853e19[_0x279523];return _0x86b554;},_0x2795(_0x36aae7,_0x2d96ef);}(function(_0x51b74d,_0xf2c6bc){const _0x418c3a=_0x2795,_0xf7b6c1=_0x51b74d();while(!![]){try{const _0x17419c=-parseInt(_0x418c3a(0x2c1))/0x1+-parseInt(_0x418c3a(0x2b8))/0x2*(parseInt(_0x418c3a(0x16f))/0x3)+-parseInt(_0x418c3a(0x1a1))/0x4*(parseInt(_0x418c3a(0x14f))/0x5)+-parseInt(_0x418c3a(0x122))/0x6+parseInt(_0x418c3a(0xdb))/0x7*(-parseInt(_0x418c3a(0x260))/0x8)+-parseInt(_0x418c3a(0x242))/0x9*(-parseInt(_0x418c3a(0x24f))/0xa)+parseInt(_0x418c3a(0x11b))/0xb;if(_0x17419c===_0xf2c6bc)break;else _0xf7b6c1['push'](_0xf7b6c1['shift']());}catch(_0x4182d7){_0xf7b6c1['push'](_0xf7b6c1['shift']());}}}(_0x853e,0x92a26),function(_0x49a049,_0x249d6d){const _0x3db0d3=_0x2795;typeof exports==_0x3db0d3(0x18c)&&typeof module<'u'?_0x249d6d(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x3db0d3(0x211)&&define['amd']?define([_0x3db0d3(0x1de),'react/jsx-runtime',_0x3db0d3(0xf5),'@univerjs/core',_0x3db0d3(0x2ea),_0x3db0d3(0x1a5),'@univerjs/design','react',_0x3db0d3(0x1cf),_0x3db0d3(0x168),'@univerjs/engine-render',_0x3db0d3(0x17c),_0x3db0d3(0x2ec),'@univerjs/drawing','@univerjs-pro/collaboration','@univerjs/docs',_0x3db0d3(0xe4),_0x3db0d3(0x16e),_0x3db0d3(0x16a)],_0x249d6d):(_0x49a049=typeof globalThis<'u'?globalThis:_0x49a049||self,_0x249d6d(_0x49a049[_0x3db0d3(0x1e2)]={},_0x49a049[_0x3db0d3(0x2a0)],_0x49a049[_0x3db0d3(0x95)],_0x49a049[_0x3db0d3(0x26d)],_0x49a049['UniverUi'],_0x49a049[_0x3db0d3(0x1a5)],_0x49a049[_0x3db0d3(0x2f4)],_0x49a049[_0x3db0d3(0x2a0)],_0x49a049['UniverRpc'],_0x49a049[_0x3db0d3(0x232)],_0x49a049['UniverEngineRender'],_0x49a049[_0x3db0d3(0x11c)],_0x49a049[_0x3db0d3(0x238)],_0x49a049['UniverDrawing'],_0x49a049[_0x3db0d3(0x2ae)],_0x49a049[_0x3db0d3(0x249)],_0x49a049[_0x3db0d3(0x1bb)],_0x49a049[_0x3db0d3(0x1a5)][_0x3db0d3(0xc0)],_0x49a049[_0x3db0d3(0xe0)]));}(this,function(_0x35533f,_0x5afc3c,_0x4bbaf5,_0x3e70b8,_0x410b06,_0x294c14,_0x25a710,_0x2005ed,_0x28a82b,_0x2e00d7,_0x14944b,_0x31b241,_0x188185,_0x41a7a5,_0x27c608,_0x81b01f,_0x384d3c,_0xff66a0,_0x24c4a6){'use strict';const _0x1eda19=_0x2795;var _0x41ecab=Object[_0x1eda19(0x2a2)],_0x37189d=(_0x5612d4,_0x5a54e5,_0x4c88ef)=>_0x5a54e5 in _0x5612d4?_0x41ecab(_0x5612d4,_0x5a54e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c88ef}):_0x5612d4[_0x5a54e5]=_0x4c88ef,_0x1d81a2=(_0x453518,_0x43945e,_0x54f70d)=>_0x37189d(_0x453518,typeof _0x43945e!='symbol'?_0x43945e+'':_0x43945e,_0x54f70d),_0x2f1bb9=function(){const _0x5737a9=_0x1eda19;return _0x2f1bb9=Object[_0x5737a9(0xb3)]||function(_0x1c3da2){const _0x2890bc=_0x5737a9;for(var _0x5b5144,_0x3569bb=0x1,_0x3b1db1=arguments[_0x2890bc(0xfa)];_0x3569bb<_0x3b1db1;_0x3569bb++){_0x5b5144=arguments[_0x3569bb];for(var _0x4edb88 in _0x5b5144)Object[_0x2890bc(0x10d)][_0x2890bc(0x2ad)]['call'](_0x5b5144,_0x4edb88)&&(_0x1c3da2[_0x4edb88]=_0x5b5144[_0x4edb88]);}return _0x1c3da2;},_0x2f1bb9['apply'](this,arguments);},_0x5d1db4=function(_0x57b0b1,_0x2b5d31){const _0x3910bf=_0x1eda19;var _0x5d15c9={};for(var _0x47340e in _0x57b0b1)Object[_0x3910bf(0x10d)]['hasOwnProperty'][_0x3910bf(0x13b)](_0x57b0b1,_0x47340e)&&_0x2b5d31[_0x3910bf(0x90)](_0x47340e)<0x0&&(_0x5d15c9[_0x47340e]=_0x57b0b1[_0x47340e]);if(_0x57b0b1!=null&&typeof Object[_0x3910bf(0x253)]==_0x3910bf(0x211)){for(var _0x523256=0x0,_0x47340e=Object['getOwnPropertySymbols'](_0x57b0b1);_0x523256<_0x47340e[_0x3910bf(0xfa)];_0x523256++)_0x2b5d31[_0x3910bf(0x90)](_0x47340e[_0x523256])<0x0&&Object[_0x3910bf(0x10d)][_0x3910bf(0x246)][_0x3910bf(0x13b)](_0x57b0b1,_0x47340e[_0x523256])&&(_0x5d15c9[_0x47340e[_0x523256]]=_0x57b0b1[_0x47340e[_0x523256]]);}return _0x5d15c9;},_0x5efc75=_0x2005ed[_0x1eda19(0x166)](function(_0x1f3fc2,_0x598a41){const _0x4f8a19=_0x1eda19;var _0x795b68=_0x1f3fc2[_0x4f8a19(0x1f1)],_0x22cd84=_0x1f3fc2['id'],_0x208639=_0x1f3fc2[_0x4f8a19(0x111)],_0x31eb56=_0x1f3fc2[_0x4f8a19(0x1f0)],_0x24fafd=_0x5d1db4(_0x1f3fc2,[_0x4f8a19(0x1f1),'id',_0x4f8a19(0x111),_0x4f8a19(0x1f0)]),_0x3313f6=_0x4f8a19(0x1a9)[_0x4f8a19(0x1c6)](_0x22cd84,'\x20')[_0x4f8a19(0x1c6)](_0x208639||'')[_0x4f8a19(0x294)](),_0x39810d=_0x2005ed[_0x4f8a19(0x2b4)]('_'['concat'](_0x350769()));return _0xa3e958(_0x795b68,''[_0x4f8a19(0x1c6)](_0x22cd84),{'defIds':_0x795b68['defIds'],'idSuffix':_0x39810d[_0x4f8a19(0x15f)]},_0x2f1bb9({'ref':_0x598a41,'className':_0x3313f6},_0x24fafd),_0x31eb56);});function _0xa3e958(_0x1ce7ae,_0x47ac8d,_0x5893ba,_0x3a9d5e,_0x57501d){const _0x473c15=_0x1eda19;return _0x2005ed['createElement'](_0x1ce7ae['tag'],_0x2f1bb9(_0x2f1bb9({'key':_0x47ac8d},_0xe60c74(_0x1ce7ae,_0x5893ba,_0x57501d)),_0x3a9d5e),(_0x17cc6e(_0x1ce7ae,_0x5893ba)[_0x473c15(0x22a)]||[])[_0x473c15(0x15b)](function(_0x1dc797,_0x525790){const _0x2282e1=_0x473c15;return _0xa3e958(_0x1dc797,''[_0x2282e1(0x1c6)](_0x47ac8d,'-')[_0x2282e1(0x1c6)](_0x1ce7ae[_0x2282e1(0x21b)],'-')['concat'](_0x525790),_0x5893ba,void 0x0,_0x57501d);}));}function _0xe60c74(_0x589d65,_0x4df984,_0x3bc6c9){const _0x466134=_0x1eda19;var _0x1ef274=_0x2f1bb9({},_0x589d65['attrs']);_0x3bc6c9!=null&&_0x3bc6c9[_0x466134(0xea)]&&_0x1ef274[_0x466134(0x102)]===_0x466134(0xea)&&(_0x1ef274[_0x466134(0x102)]=_0x3bc6c9['colorChannel1']),_0x589d65['tag']===_0x466134(0x1e6)&&_0x1ef274['id']&&(_0x1ef274['id']=_0x1ef274['id']+_0x4df984['idSuffix']),Object['entries'](_0x1ef274)[_0x466134(0x2a5)](function(_0x5b5658){const _0x510230=_0x466134;var _0xb1dec=_0x5b5658[0x0],_0x2669c4=_0x5b5658[0x1];_0xb1dec===_0x510230(0x1e6)&&typeof _0x2669c4==_0x510230(0x135)&&(_0x1ef274[_0xb1dec]=_0x2669c4[_0x510230(0x29e)](/url\(#(.*)\)/,_0x510230(0x244)[_0x510230(0x1c6)](_0x4df984['idSuffix'],')')));});var _0x58d3ff=_0x4df984[_0x466134(0x101)];return!_0x58d3ff||_0x58d3ff['length']===0x0||(_0x589d65[_0x466134(0x21b)]==='use'&&_0x1ef274[_0x466134(0xeb)]&&(_0x1ef274['xlink:href']=_0x1ef274[_0x466134(0xeb)]+_0x4df984[_0x466134(0x221)]),Object[_0x466134(0x31b)](_0x1ef274)[_0x466134(0x2a5)](function(_0x4450b6){const _0x40cd02=_0x466134;var _0xbe7c14=_0x4450b6[0x0],_0x2ab4cf=_0x4450b6[0x1];typeof _0x2ab4cf==_0x40cd02(0x135)&&(_0x1ef274[_0xbe7c14]=_0x2ab4cf['replace'](/url\(#(.*)\)/,_0x40cd02(0x244)[_0x40cd02(0x1c6)](_0x4df984[_0x40cd02(0x221)],')')));})),_0x1ef274;}function _0x17cc6e(_0x52d064,_0x232b2c){const _0x401189=_0x1eda19;var _0x1748e,_0x1be8ec=_0x232b2c['defIds'];return!_0x1be8ec||_0x1be8ec['length']===0x0?_0x52d064:_0x52d064[_0x401189(0x21b)]===_0x401189(0x2f7)&&(!((_0x1748e=_0x52d064[_0x401189(0x22a)])===null||_0x1748e===void 0x0)&&_0x1748e[_0x401189(0xfa)])?_0x2f1bb9(_0x2f1bb9({},_0x52d064),{'children':_0x52d064['children']['map'](function(_0x1ece98){const _0x514649=_0x401189;return typeof _0x1ece98[_0x514649(0xfd)]['id']=='string'&&_0x1be8ec&&_0x1be8ec[_0x514649(0x28a)](_0x1ece98[_0x514649(0xfd)]['id'])?_0x2f1bb9(_0x2f1bb9({},_0x1ece98),{'attrs':_0x2f1bb9(_0x2f1bb9({},_0x1ece98[_0x514649(0xfd)]),{'id':_0x1ece98[_0x514649(0xfd)]['id']+_0x232b2c[_0x514649(0x221)]})}):_0x1ece98;})}):_0x52d064;}function _0x350769(){const _0x2f96b5=_0x1eda19;return Math[_0x2f96b5(0xe3)]()[_0x2f96b5(0x1dd)](0x24)[_0x2f96b5(0x116)](0x2,0x8);}_0x5efc75[_0x1eda19(0x1d3)]=_0x1eda19(0x278);var _0x568a69={'tag':_0x1eda19(0x219),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1eda19(0x193),'viewBox':_0x1eda19(0x14b),'width':_0x1eda19(0x1c2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1eda19(0x121),'attrs':{'stroke':_0x1eda19(0x1ed),'d':_0x1eda19(0x252),'strokeLinecap':_0x1eda19(0x1b5),'strokeLinejoin':_0x1eda19(0x1b5),'strokeWidth':1.2}}]},{'tag':_0x1eda19(0x2f7),'attrs':{},'children':[{'tag':_0x1eda19(0x275),'attrs':{'id':_0x1eda19(0x2f5)},'children':[{'tag':_0x1eda19(0x121),'attrs':{'fill':_0x1eda19(0x2fe),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1eda19(0x2f5)]},_0xe89a68=_0x2005ed[_0x1eda19(0x166)](function(_0x8de5cf,_0x38f869){const _0x62546c=_0x1eda19;return _0x2005ed[_0x62546c(0x128)](_0x5efc75,Object[_0x62546c(0xb3)]({},_0x8de5cf,{'id':'off-line-icon','ref':_0x38f869,'icon':_0x568a69}));});_0xe89a68['displayName']='OffLineIcon';var _0x39e402={'tag':_0x1eda19(0x219),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1eda19(0x193),'viewBox':_0x1eda19(0x2e6),'width':'1em','height':_0x1eda19(0x1c2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1eda19(0x26c)},'children':[{'tag':_0x1eda19(0x121),'attrs':{'stroke':_0x1eda19(0x1ed),'d':_0x1eda19(0xb2),'strokeLinecap':_0x1eda19(0x1b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1eda19(0x2f7),'attrs':{},'children':[{'tag':_0x1eda19(0x275),'attrs':{'id':_0x1eda19(0x119)},'children':[{'tag':_0x1eda19(0x121),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x1eda19(0xd9)}}]}]}],'defIds':[_0x1eda19(0x119)]},_0x25c4b5=_0x2005ed[_0x1eda19(0x166)](function(_0x35c208,_0x1acd09){const _0x5ab036=_0x1eda19;return _0x2005ed[_0x5ab036(0x128)](_0x5efc75,Object[_0x5ab036(0xb3)]({},_0x35c208,{'id':_0x5ab036(0x2b7),'ref':_0x1acd09,'icon':_0x39e402}));});_0x25c4b5[_0x1eda19(0x1d3)]=_0x1eda19(0xce);function _0x34271b(_0x4c75c9){const _0xd1ccc=_0x1eda19;switch(_0x4c75c9){case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x320)]:return _0xd1ccc(0x24e);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x23b)]:return _0xd1ccc(0x99);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x25a)]:return _0xd1ccc(0x10c);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x234)]:return _0xd1ccc(0x2d4);case _0x4bbaf5[_0xd1ccc(0x317)]['AWAITING']:case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x132)]:return _0xd1ccc(0xdf);case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0x19d)]:case _0x4bbaf5[_0xd1ccc(0x317)][_0xd1ccc(0xad)]:return _0xd1ccc(0x29f);}}function _0x5cb16b(_0x18c630){const _0x7281b7=_0x1eda19,{status$:_0x128514}=_0x18c630,_0x5d5e81=_0x410b06[_0x7281b7(0x296)](_0x128514,_0x4bbaf5[_0x7281b7(0x317)][_0x7281b7(0x234)]),_0x292a4b=_0x410b06[_0x7281b7(0x24c)](_0x3e70b8[_0x7281b7(0x24a)]),_0x3f575c=_0x410b06[_0x7281b7(0x24c)](_0x4bbaf5[_0x7281b7(0x28c)]),_0x244b3c=_0x5d5e81!==_0x4bbaf5['CollaborationStatus'][_0x7281b7(0x320)],_0x3ce7a4=_0x292a4b['t'](_0x34271b(_0x5d5e81)),_0x27e7b1=_0x244b3c?_0x5afc3c[_0x7281b7(0x302)](_0x25c4b5,{}):_0x5afc3c['jsx'](_0xe89a68,{}),_0x499491=_0x2005ed[_0x7281b7(0x1c5)](()=>{_0x244b3c||_0x3f575c['reconnect']();},[_0x244b3c,_0x3f575c]);function _0x752670(){const _0x4480f4=_0x7281b7;return _0x5afc3c[_0x4480f4(0x1a6)](_0x4480f4(0x2d8),{'className':'univer-flex\x20univer-items-center','onClick':_0x499491,'children':[_0x5afc3c[_0x4480f4(0x302)](_0x4480f4(0x2d8),{'className':_0x25a710['clsx'](_0x4480f4(0x94),{'univer-text-green-500':_0x244b3c,'univer-text-red-500':!_0x244b3c}),'children':_0x27e7b1}),_0x5afc3c['jsx']('div',{'className':_0x4480f4(0x25f),'children':_0x3ce7a4})]});}return _0x244b3c?_0x752670():_0x5afc3c[_0x7281b7(0x302)](_0x25a710['Tooltip'],{'title':_0x292a4b['t']('collab-client.tooltip.reconnect'),'children':_0x752670()});}var _0x563c86=Object[_0x1eda19(0x250)],_0x2e9e27=(_0x1b1497,_0x131fd9,_0x53bf87,_0xb38ad7)=>{for(var _0x1b9030=_0xb38ad7>0x1?void 0x0:_0xb38ad7?_0x563c86(_0x131fd9,_0x53bf87):_0x131fd9,_0x39b191=_0x1b1497['length']-0x1,_0x5ccaf6;_0x39b191>=0x0;_0x39b191--)(_0x5ccaf6=_0x1b1497[_0x39b191])&&(_0x1b9030=_0x5ccaf6(_0x1b9030)||_0x1b9030);return _0x1b9030;},_0x209127=(_0x5b6908,_0x2be02f)=>(_0x5042f3,_0x24697a)=>_0x2be02f(_0x5042f3,_0x24697a,_0x5b6908);_0x35533f[_0x1eda19(0x279)]=class extends _0x3e70b8['Disposable']{constructor(_0x3176af,_0x1158b4,_0x44e85d,_0x4b7ad8){const _0x1d1c55=_0x1eda19;super(),_0x1d81a2(this,'_status$',new _0x294c14[(_0x1d1c55(0x125))](_0x4bbaf5[_0x1d1c55(0x317)][_0x1d1c55(0x234)])),(this['_univerInstanceService']=_0x3176af,this[_0x1d1c55(0xdd)]=_0x1158b4,this[_0x1d1c55(0x25e)]=_0x44e85d,this[_0x1d1c55(0x308)]=_0x4b7ad8,this[_0x1d1c55(0x1c3)](),this[_0x1d1c55(0x18d)]());}[_0x1eda19(0x18d)](){const _0x12594d=_0x1eda19;this[_0x12594d(0x316)](this[_0x12594d(0x2e7)][_0x12594d(0x300)]['pipe'](_0x294c14['switchMap'](()=>{const _0x3ca5f2=_0x12594d,_0x1672bd=this[_0x3ca5f2(0x2e7)][_0x3ca5f2(0x2b2)]();return _0x1672bd?this[_0x3ca5f2(0x25e)]['getCollabEntity$'](_0x1672bd[_0x3ca5f2(0x2f8)]()):_0x294c14['of'](null);}),_0x294c14[_0x12594d(0x23e)](_0x333220=>_0x333220?_0x333220[_0x12594d(0x16d)]:_0x294c14['of'](_0x4bbaf5[_0x12594d(0x317)]['NOT_COLLAB'])))[_0x12594d(0x2ca)](_0x44b939=>{this['_status$']['next'](_0x44b939);}));}['_initStatusComponent'](){const _0x1b5b96=_0x1eda19;this[_0x1b5b96(0x316)](this[_0x1b5b96(0x308)]['registerComponent'](_0x410b06[_0x1b5b96(0x110)][_0x1b5b96(0x262)],()=>_0x410b06[_0x1b5b96(0xb6)](_0x179fc6({'status$':this['_status$'][_0x1b5b96(0x1c1)]()}),this[_0x1b5b96(0xdd)])));}},_0x35533f[_0x1eda19(0x279)]=_0x2e9e27([_0x209127(0x0,_0x3e70b8[_0x1eda19(0xa9)]),_0x209127(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8['Injector'])),_0x209127(0x2,_0x3e70b8['Inject'](_0x4bbaf5['CollaborationController'])),_0x209127(0x3,_0x410b06[_0x1eda19(0x12a)])],_0x35533f[_0x1eda19(0x279)]);function _0x179fc6(_0xe792f8){const {status$:_0x2ab462}=_0xe792f8;return function(){const _0x4af8ca=_0x2795;return _0x5afc3c[_0x4af8ca(0x302)](_0x5cb16b,{'status$':_0x2ab462});};}const _0x4f6373=_0x3e70b8[_0x1eda19(0x1ec)](_0x1eda19(0x16b));var _0x5ddbc6=Object[_0x1eda19(0x250)],_0x4fba64=(_0xf19986,_0x58788e,_0x585a87,_0x305299)=>{const _0x4c4b55=_0x1eda19;for(var _0x5453df=_0x305299>0x1?void 0x0:_0x305299?_0x5ddbc6(_0x58788e,_0x585a87):_0x58788e,_0x222146=_0xf19986[_0x4c4b55(0xfa)]-0x1,_0x28bf08;_0x222146>=0x0;_0x222146--)(_0x28bf08=_0xf19986[_0x222146])&&(_0x5453df=_0x28bf08(_0x5453df)||_0x5453df);return _0x5453df;},_0x9c9e98=(_0x4bab06,_0x599944)=>(_0x4b73c4,_0x124005)=>_0x599944(_0x4b73c4,_0x124005,_0x4bab06);_0x35533f[_0x1eda19(0x208)]=class extends _0x3e70b8['RxDisposable']{constructor(_0x15e8c8,_0x2f45fd,_0x1dbaa1,_0x2bccc9,_0x1c1fb6){const _0x221c17=_0x1eda19;super(),this['_urlService']=_0x15e8c8,this[_0x221c17(0x236)]=_0x2f45fd,this[_0x221c17(0x1fb)]=_0x1dbaa1,this['_dataLoaderService']=_0x2bccc9,_0x1c1fb6?_0x1c1fb6==null||_0x1c1fb6['whenReady']()[_0x221c17(0x165)](()=>this[_0x221c17(0x237)]()):(this[_0x221c17(0x236)][_0x221c17(0x1b1)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x221c17(0x237)]());}async[_0x1eda19(0x237)](){const _0x128a2b=_0x1eda19,_0x5941b6=this[_0x128a2b(0x15a)][_0x128a2b(0x25d)]('unit'),_0x1a8a68=this[_0x128a2b(0x15a)][_0x128a2b(0x25d)](_0x128a2b(0x207)),_0x1cde7e=this[_0x128a2b(0x15a)][_0x128a2b(0x25d)]('subunit');if(!_0x5941b6||!_0x1a8a68){this['_logService']['debug'](_0x128a2b(0x1d6),_0x128a2b(0xfc));return;}const _0x9515a8=await this['_dataLoaderService'][_0x128a2b(0x1d2)](_0x5941b6,Number(_0x1a8a68),_0x1cde7e);_0x9515a8&&_0x9515a8 instanceof _0x3e70b8[_0x128a2b(0x117)]&&this[_0x128a2b(0x305)](_0x9515a8);}async[_0x1eda19(0x305)](_0x34b710){const _0x57cb9e=_0x1eda19;await this[_0x57cb9e(0x206)](_0x34b710),_0x34b710[_0x57cb9e(0x245)][_0x57cb9e(0x136)](_0x294c14[_0x57cb9e(0x160)](this[_0x57cb9e(0x2ce)]))[_0x57cb9e(0x2ca)](_0x4fcbe3=>{_0x4fcbe3&&this['_updateURLWithCurrentState'](_0x4fcbe3);}),this[_0x57cb9e(0x15a)][_0x57cb9e(0x2a3)][_0x57cb9e(0x136)](_0x294c14[_0x57cb9e(0x160)](this['dispose$']))[_0x57cb9e(0x2ca)](()=>this[_0x57cb9e(0x206)](_0x34b710));}[_0x1eda19(0x24d)](_0x4105d1,_0x1970b3=!0x1){const _0xc3d0c8=_0x1eda19,_0x283b93=this[_0xc3d0c8(0x15a)][_0xc3d0c8(0x25d)](_0xc3d0c8(0x2cb));_0x4105d1[_0xc3d0c8(0x2b5)]()!==_0x283b93&&this[_0xc3d0c8(0x15a)][_0xc3d0c8(0x2d6)](_0xc3d0c8(0x2cb),_0x4105d1[_0xc3d0c8(0x2b5)](),_0x1970b3);}async[_0x1eda19(0x206)](_0x1d7a52){const _0x534f92=_0x1eda19;var _0x2a0e1d;const _0x37f1b0=this[_0x534f92(0x15a)][_0x534f92(0x25d)](_0x534f92(0x2cb));if(!_0x37f1b0||!_0x1d7a52[_0x534f92(0x272)](_0x37f1b0)){const _0x5b37f3=_0x1d7a52[_0x534f92(0xd1)]()[0x0],_0x5cecbc=_0x1d7a52[_0x534f92(0x272)](_0x5b37f3);if(!_0x5cecbc)return;this['_updateURLWithCurrentState'](_0x5cecbc,!0x0),await this[_0x534f92(0x1fb)][_0x534f92(0x327)](_0x2e00d7[_0x534f92(0x243)]['id'],{'unitId':_0x1d7a52[_0x534f92(0x2f8)](),'subUnitId':_0x5b37f3});return;}((_0x2a0e1d=_0x1d7a52[_0x534f92(0x30f)]())==null?void 0x0:_0x2a0e1d['getSheetId']())!==_0x37f1b0&&await this[_0x534f92(0x1fb)]['executeCommand'](_0x2e00d7[_0x534f92(0x243)]['id'],{'unitId':_0x1d7a52[_0x534f92(0x2f8)](),'subUnitId':_0x37f1b0});}},_0x35533f['CollaborationDataLoaderController']=_0x4fba64([_0x9c9e98(0x0,_0x4f6373),_0x9c9e98(0x1,_0x3e70b8[_0x1eda19(0x1da)]),_0x9c9e98(0x2,_0x3e70b8[_0x1eda19(0xe1)]),_0x9c9e98(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x2e2)])),_0x9c9e98(0x4,_0x3e70b8[_0x1eda19(0x2c4)](_0x28a82b[_0x1eda19(0x21a)]))],_0x35533f[_0x1eda19(0x208)]);var _0x238308=Object[_0x1eda19(0x250)],_0x4b3dd1=(_0x1f5e0d,_0x11050f,_0x3f913e,_0x1a3c7e)=>{const _0x23d49c=_0x1eda19;for(var _0x1f3895=_0x1a3c7e>0x1?void 0x0:_0x1a3c7e?_0x238308(_0x11050f,_0x3f913e):_0x11050f,_0x68e7d1=_0x1f5e0d[_0x23d49c(0xfa)]-0x1,_0x49e3fe;_0x68e7d1>=0x0;_0x68e7d1--)(_0x49e3fe=_0x1f5e0d[_0x68e7d1])&&(_0x1f3895=_0x49e3fe(_0x1f3895)||_0x1f3895);return _0x1f3895;},_0x3aea14=(_0x4c4108,_0x40c0ec)=>(_0x4591c5,_0xa31d7f)=>_0x40c0ec(_0x4591c5,_0xa31d7f,_0x4c4108);let _0x12d618=class extends _0x3e70b8[_0x1eda19(0xd2)]{constructor(_0x33fd38,_0x3bf46b){const _0xc595d1=_0x1eda19;super(),this[_0xc595d1(0x1f9)]=_0x33fd38,this['_imageIoService']=_0x3bf46b,this[_0xc595d1(0x237)]();}['_init'](){const _0x346d52=_0x1eda19,_0x59eab9=this;this[_0x346d52(0x316)](this[_0x346d52(0x1f9)][_0x346d52(0x1bc)]({'onBeforePasteImage':async _0x24258b=>{const _0x15dae3=_0x346d52,_0x5f402b=await _0x59eab9[_0x15dae3(0xb1)][_0x15dae3(0x1e1)](_0x24258b);return _0x5f402b?{'source':_0x5f402b[_0x15dae3(0x15c)],'imageSourceType':_0x5f402b['imageSourceType']}:null;}}));}};_0x12d618=_0x4b3dd1([_0x3aea14(0x0,_0x188185['IDocClipboardService']),_0x3aea14(0x1,_0x41a7a5[_0x1eda19(0x2d3)])],_0x12d618);const _0x5a82bd=[_0x1eda19(0x2dd),_0x1eda19(0x10f),_0x1eda19(0x29a),'red.300',_0x1eda19(0xa8),_0x1eda19(0x161)];class _0x598ec8 extends _0x3e70b8[_0x1eda19(0x151)]{constructor(){const _0x150528=_0x1eda19;super(...arguments),_0x1d81a2(this,_0x150528(0x2d7),new Map()),_0x1d81a2(this,_0x150528(0xa2),0x0);}[_0x1eda19(0x18f)](_0x517bdc){const _0x37b4cc=_0x1eda19;if(this['_assignedColors']['has'](_0x517bdc))return this[_0x37b4cc(0x2d7)][_0x37b4cc(0x15d)](_0x517bdc);const _0x4c2a3c=_0x5a82bd[this['_colorIndex']];return this[_0x37b4cc(0xa2)]=(this['_colorIndex']+0x1)%_0x5a82bd[_0x37b4cc(0xfa)],this[_0x37b4cc(0x2d7)][_0x37b4cc(0x1e4)](_0x517bdc,_0x4c2a3c),_0x4c2a3c;}}function _0x411d8c(_0x2f07ff){const _0x33bf6b=_0x1eda19;let _0x303505='';for(const _0x17ff71 of _0x2f07ff){const {startOffset:_0x1583a2,endOffset:_0x132492,isActive:_0x1c4c9a,rangeType:_0x520852,segmentId:_0x3f1655,segmentPage:_0x47a026}=_0x17ff71;_0x303505[_0x33bf6b(0xfa)]&&(_0x303505+=','),_0x303505+=_0x1583a2+':'+_0x132492+':'+(_0x1c4c9a?'1':'0')+':'+_0x520852+':'+_0x3f1655+':'+_0x47a026;}return _0x303505;}function _0x2006e5(_0x138c90){const _0x2aa2af=_0x1eda19,_0x3e343e=_0x138c90[_0x2aa2af(0x13a)](','),_0x2fa76c=[];for(const _0x3c79d9 of _0x3e343e){const [_0x3befb2,_0x3e0c73,_0x5f2388,_0x54e98c,_0x5d2f67,_0x4249ee]=_0x3c79d9[_0x2aa2af(0x13a)](':');_0x2fa76c[_0x2aa2af(0x269)]({'startOffset':Number(_0x3befb2),'endOffset':Number(_0x3e0c73),'collapsed':_0x3befb2===_0x3e0c73,'isActive':_0x5f2388==='1','rangeType':_0x54e98c===_0x3e70b8[_0x2aa2af(0x2bd)]['TEXT']?_0x3e70b8['DOC_RANGE_TYPE'][_0x2aa2af(0x31e)]:_0x3e70b8['DOC_RANGE_TYPE'][_0x2aa2af(0x266)],'segmentId':typeof _0x5d2f67==_0x2aa2af(0x135)?String(_0x5d2f67):'','segmentPage':Number(_0x4249ee!=null?_0x4249ee:-0x1)});}return _0x2fa76c[_0x2aa2af(0x1b4)](_0x30ac6e=>_0x30ac6e[_0x2aa2af(0x9d)])||(_0x2fa76c[0x0][_0x2aa2af(0x9d)]=!0x0),_0x2fa76c;}class _0x1d8f47 extends _0x3e70b8['RxDisposable']{constructor(){const _0x3ade97=_0x1eda19;super(...arguments),_0x1d81a2(this,_0x3ade97(0x22e),new _0x294c14[(_0x3ade97(0x125))](null)),_0x1d81a2(this,'collabCursorState$',this[_0x3ade97(0x22e)][_0x3ade97(0x1c1)]());}[_0x1eda19(0xd0)](_0x57a68f){const _0x4832b1=_0x1eda19,{unitID:_0x3e6fa2,memberID:_0x1c37cf,textRanges:_0x10afdf}=_0x57a68f,_0x142f0b=_0x411d8c(_0x10afdf);if(_0x142f0b==='')return;const _0x5881b5={'unitID':_0x3e6fa2,'memberID':_0x1c37cf,'selection':_0x142f0b};this[_0x4832b1(0x22e)]['next'](_0x5881b5);}}var _0x3ace56=Object[_0x1eda19(0x250)],_0x3afaa5=(_0x4c4195,_0x313195,_0x4ecf98,_0x555e37)=>{const _0x1bb0c3=_0x1eda19;for(var _0x5cf219=_0x555e37>0x1?void 0x0:_0x555e37?_0x3ace56(_0x313195,_0x4ecf98):_0x313195,_0x4c3303=_0x4c4195[_0x1bb0c3(0xfa)]-0x1,_0x774a0b;_0x4c3303>=0x0;_0x4c3303--)(_0x774a0b=_0x4c4195[_0x4c3303])&&(_0x5cf219=_0x774a0b(_0x5cf219)||_0x5cf219);return _0x5cf219;},_0x4db199=(_0xf500a2,_0x2f9f40)=>(_0x4989b4,_0x2e32ec)=>_0x2f9f40(_0x4989b4,_0x2e32ec,_0xf500a2);const _0x31a31b=0x12c,_0x441ee6=0x64;let _0x5bf135=class extends _0x3e70b8['RxDisposable']{constructor(_0x4a86fd,_0x240c04,_0x14ab60,_0x3d97c1,_0x59c698,_0x12553f,_0x4c5072,_0x2328f6,_0x200fd7){const _0x5ef714=_0x1eda19;super(),_0x1d81a2(this,_0x5ef714(0x137),!0x1),_0x1d81a2(this,_0x5ef714(0x237),!0x1),_0x1d81a2(this,_0x5ef714(0xd8),new _0x294c14['BehaviorSubject'](new Map())),_0x1d81a2(this,'cursorInfo$',this[_0x5ef714(0xd8)][_0x5ef714(0x1c1)]()),_0x1d81a2(this,'_roomMembers$',new _0x294c14[(_0x5ef714(0x125))]([])),_0x1d81a2(this,_0x5ef714(0xab),this[_0x5ef714(0x139)][_0x5ef714(0x136)](_0x294c14[_0x5ef714(0x181)](_0x31a31b))),_0x1d81a2(this,_0x5ef714(0x158),_0x3e70b8[_0x5ef714(0x97)](_0x42e3e7=>{const _0x5d4b7d=_0x5ef714,_0x5a3845={'eventID':_0x27c608[_0x5d4b7d(0x313)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5d4b7d(0x214)],'memberID':this[_0x5d4b7d(0x1db)][_0x5d4b7d(0x2fb)](),'selection':_0x411d8c(_0x42e3e7)}};this[_0x5d4b7d(0x1db)][_0x5d4b7d(0xf4)](_0x5a3845,this[_0x5d4b7d(0x214)]);},_0x441ee6)),(this[_0x5ef714(0x214)]=_0x4a86fd,this[_0x5ef714(0x1db)]=_0x240c04,this[_0x5ef714(0xdd)]=_0x14ab60,this['_colorAssignService']=_0x3d97c1,this[_0x5ef714(0x105)]=_0x59c698,this['_syncEditingCollabCursorService']=_0x12553f,this[_0x5ef714(0x178)]=_0x4c5072,this[_0x5ef714(0x2e7)]=_0x2328f6,this[_0x5ef714(0x1fb)]=_0x200fd7);}get[_0x1eda19(0x241)](){const _0x565780=_0x1eda19;return this[_0x565780(0xd8)][_0x565780(0x30d)]();}get['roomMembers'](){const _0x56b660=_0x1eda19;return this[_0x56b660(0x139)][_0x56b660(0x30d)]();}['dispose'](){const _0x2e4938=_0x1eda19;super['dispose'](),this[_0x2e4938(0xd8)][_0x2e4938(0x190)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x2e4938(0x190)]([]),this['_roomMembers$'][_0x2e4938(0x1ee)]();}[_0x1eda19(0xf9)](){const _0x4bcc58=_0x1eda19;this['_init']||(this['_init']=!0x0,this[_0x4bcc58(0x1db)][_0x4bcc58(0x251)][_0x4bcc58(0x136)](_0x294c14[_0x4bcc58(0x160)](this[_0x4bcc58(0x2ce)]))['subscribe'](_0x13fc37=>{const _0xe8161c=_0x4bcc58;_0x13fc37===_0x4bbaf5[_0xe8161c(0xf3)][_0xe8161c(0x131)]?this[_0xe8161c(0x12d)]():this[_0xe8161c(0xa0)]();}),this[_0x4bcc58(0x1db)][_0x4bcc58(0x28b)][_0x4bcc58(0x136)](_0x294c14[_0x4bcc58(0x160)](this['dispose$']))[_0x4bcc58(0x2ca)](_0x360400=>{const _0x192efd=_0x4bcc58,_0x38de9d=_0x360400['eventID'];_0x38de9d===_0x27c608['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x360400),_0x38de9d===_0x27c608[_0x192efd(0x313)][_0x192efd(0x1cb)]&&this[_0x192efd(0xcc)](_0x360400);}),this[_0x4bcc58(0x316)](this[_0x4bcc58(0x1fb)][_0x4bcc58(0x2f3)](_0x4916a0=>{const _0xda23b2=_0x4bcc58,_0x3909bc=_0x4916a0['params'];_0x3909bc!=null&&this[_0xda23b2(0x137)]&&_0x4916a0['id']===_0x81b01f[_0xda23b2(0x2d9)]['id']&&_0x3909bc[_0xda23b2(0x31d)]===this[_0xda23b2(0x214)]&&_0x3909bc[_0xda23b2(0x2e4)]===!0x1&&_0x3909bc[_0xda23b2(0x11f)][_0xda23b2(0xfa)]>0x0&&this['_updateLocalCursor'](_0x3909bc[_0xda23b2(0x11f)]);})),this[_0x4bcc58(0x2ac)]['collabCursorState$'][_0x4bcc58(0x136)](_0x294c14[_0x4bcc58(0x160)](this['dispose$']))[_0x4bcc58(0x2ca)](_0x2333ad=>{const _0x1efe1e=_0x4bcc58;if((_0x2333ad==null?void 0x0:_0x2333ad[_0x1efe1e(0x214)])!==this[_0x1efe1e(0x214)])return;const _0x2a3ddb={'eventID':_0x27c608['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x2333ad};this[_0x1efe1e(0x255)](_0x2a3ddb);}),this[_0x4bcc58(0x316)](this[_0x4bcc58(0x1fb)][_0x4bcc58(0x2f3)](_0x4e654d=>{const _0x3c8199=_0x4bcc58;if(_0x4e654d['params']==null)return;const _0x17369f=_0x4e654d['params'];if(_0x4e654d['id']!==_0x81b01f[_0x3c8199(0x134)]['id']||_0x17369f[_0x3c8199(0x31d)]!==this[_0x3c8199(0x214)])return;const _0x45bea4={'id':'doc.mutation.rich-text-editing','params':_0x17369f},_0x2dae7b=this[_0x3c8199(0x241)];for(const [_0x34341d,_0x315964]of _0x2dae7b){const _0x5d492b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3c8199(0x214)],'actions':null,'textRanges':_0x315964[_0x3c8199(0x11f)]}},_0x4ab3bb=this[_0x3c8199(0x178)][_0x3c8199(0xe6)](_0x45bea4,_0x5d492b,!0x1);if(_0x27c608[_0x3c8199(0x179)](_0x4ab3bb))throw _0x4ab3bb[_0x3c8199(0x1fe)];_0x2dae7b[_0x3c8199(0x1e4)](_0x34341d,{..._0x315964,'ranges':_0x4ab3bb['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x426204=_0x3c8199;this[_0x426204(0xd8)][_0x426204(0x190)](_0x2dae7b);});})));}['_onCursorUpdate'](_0xd24c2e){const _0x32ae23=_0x1eda19;var _0x110eb4,_0xed7072;const {memberID:_0x36dc36,selection:_0x3ee0b2}=_0xd24c2e['data'],_0x437c04=_0x2006e5(_0x3ee0b2),_0x2d8faf=(_0xed7072=(_0x110eb4=this[_0x32ae23(0x105)][_0x32ae23(0x1cd)](this['unitID'],_0x36dc36))==null?void 0x0:_0x110eb4[_0x32ae23(0x31f)])!=null?_0xed7072:_0x32ae23(0xb7),_0x18fee3={'color':this[_0x32ae23(0x2f0)]['assignAColorForMemberID'](_0x36dc36),'name':_0x2d8faf,'ranges':_0x437c04},_0x143829=this[_0x32ae23(0x241)];_0x143829[_0x32ae23(0x1e4)](_0x36dc36,_0x18fee3),this[_0x32ae23(0xd8)]['next'](_0x143829);}['_onCursorDelete'](_0x1aa6ea){const _0x32b399=_0x1eda19,{memberID:_0x3c235a}=_0x1aa6ea[_0x32b399(0x328)],_0xa63c0f=this[_0x32b399(0x241)];_0xa63c0f['delete'](_0x3c235a),this[_0x32b399(0xd8)][_0x32b399(0x190)](_0xa63c0f);}[_0x1eda19(0x12d)](){const _0x534ae4=_0x1eda19;var _0x4d0c6d;if(this['_online']=!0x0,((_0x4d0c6d=this[_0x534ae4(0x2e7)][_0x534ae4(0x2b2)]())==null?void 0x0:_0x4d0c6d[_0x534ae4(0x2f8)]())!==this['unitID'])return;const _0x4a6d46=this[_0x534ae4(0xdd)][_0x534ae4(0x15d)](_0x81b01f[_0x534ae4(0x1bd)])[_0x534ae4(0xae)]();Array[_0x534ae4(0xcb)](_0x4a6d46)&&_0x4a6d46['length']>0x0&&this['_updateLocalCursor'](_0x4a6d46);}[_0x1eda19(0xa0)](){const _0x2a4130=_0x1eda19;this[_0x2a4130(0x137)]=!0x1;}};_0x5bf135=_0x3afaa5([_0x4db199(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x4db199(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x598ec8)),_0x4db199(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x310)])),_0x4db199(0x5,_0x3e70b8['Inject'](_0x1d8f47)),_0x4db199(0x6,_0x27c608[_0x1eda19(0x183)]),_0x4db199(0x7,_0x3e70b8[_0x1eda19(0xa9)]),_0x4db199(0x8,_0x3e70b8[_0x1eda19(0xe1)])],_0x5bf135);var _0x8d61f7=Object[_0x1eda19(0x250)],_0x502c25=(_0x14b318,_0x4d1ef5,_0x365e32,_0x2bb0e7)=>{const _0x19ca92=_0x1eda19;for(var _0x5a3e4c=_0x2bb0e7>0x1?void 0x0:_0x2bb0e7?_0x8d61f7(_0x4d1ef5,_0x365e32):_0x4d1ef5,_0x274712=_0x14b318[_0x19ca92(0xfa)]-0x1,_0x4d8ea1;_0x274712>=0x0;_0x274712--)(_0x4d8ea1=_0x14b318[_0x274712])&&(_0x5a3e4c=_0x4d8ea1(_0x5a3e4c)||_0x5a3e4c);return _0x5a3e4c;},_0x4e8653=(_0x1ec6b0,_0x52f1c5)=>(_0x578c05,_0x223895)=>_0x52f1c5(_0x578c05,_0x223895,_0x1ec6b0);const _0x2f474d=0x12c,_0x406cbe=0x64,_0x3dc746=()=>{let _0x571f9e=[],_0x16f8ea=!0x1;return _0x2184d7=>{_0x571f9e['push'](_0x2184d7),_0x16f8ea||(_0x16f8ea=!0x0,setTimeout(()=>{const _0x1a1991=_0x2795;_0x571f9e[_0x1a1991(0x2a5)](_0x2f058d=>_0x2f058d()),_0x571f9e=[],_0x16f8ea=!0x1;}));};};let _0x2c2d4f=class extends _0x3e70b8[_0x1eda19(0xd2)]{constructor(_0x2cff55,_0x4df5e7,_0x27823b,_0x4a415f,_0x5fac6,_0x373e90,_0x562245,_0x23c99c){const _0x2ef96d=_0x1eda19;super(),_0x1d81a2(this,_0x2ef96d(0x137),!0x1),_0x1d81a2(this,'_init',!0x1),_0x1d81a2(this,_0x2ef96d(0xd8),new _0x294c14[(_0x2ef96d(0x125))](new Map())),_0x1d81a2(this,'cursorInfo$',this[_0x2ef96d(0xd8)][_0x2ef96d(0x1c1)]()),_0x1d81a2(this,_0x2ef96d(0x139),new _0x294c14[(_0x2ef96d(0x125))]([])),_0x1d81a2(this,_0x2ef96d(0xab),this[_0x2ef96d(0x139)][_0x2ef96d(0x136)](_0x294c14[_0x2ef96d(0x181)](_0x2f474d))),_0x1d81a2(this,'_updateLocalCursor',_0x3e70b8[_0x2ef96d(0x97)]((_0x563a46,_0x422309)=>{const _0x4d80a5=_0x2ef96d,_0xd2132e={'eventID':_0x27c608[_0x4d80a5(0x313)][_0x4d80a5(0x106)],'data':{'unitID':this[_0x4d80a5(0x214)],'memberID':this[_0x4d80a5(0x1db)][_0x4d80a5(0x2fb)](),'selection':_0x384d3c['serializeRangeWithSheet'](_0x563a46,_0x422309[_0x4d80a5(0xee)])}};this[_0x4d80a5(0x1db)]['send'](_0xd2132e,this[_0x4d80a5(0x214)]);},_0x406cbe)),(this[_0x2ef96d(0x214)]=_0x2cff55,this[_0x2ef96d(0x1db)]=_0x4df5e7,this[_0x2ef96d(0xdd)]=_0x27823b,this[_0x2ef96d(0x2f0)]=_0x4a415f,this[_0x2ef96d(0x105)]=_0x5fac6,this[_0x2ef96d(0x2e7)]=_0x373e90,this[_0x2ef96d(0x1fb)]=_0x562245,this[_0x2ef96d(0x12f)]=_0x23c99c);}get['cursorInfo'](){const _0x529e51=_0x1eda19;return this[_0x529e51(0xd8)][_0x529e51(0x30d)]();}get[_0x1eda19(0x1e9)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x230125=_0x1eda19;super[_0x230125(0x324)](),this['_cursorInfo$'][_0x230125(0x190)](new Map()),this[_0x230125(0xd8)][_0x230125(0x1ee)](),this[_0x230125(0x139)][_0x230125(0x190)]([]),this[_0x230125(0x139)][_0x230125(0x1ee)]();}['init'](){const _0x3c28bd=_0x1eda19;this[_0x3c28bd(0x237)]||(this[_0x3c28bd(0x237)]=!0x0,this[_0x3c28bd(0x1db)]['sessionStatus$']['pipe'](_0x294c14[_0x3c28bd(0x160)](this['dispose$']))[_0x3c28bd(0x2ca)](_0x29bce2=>{const _0x1ba1fa=_0x3c28bd;_0x29bce2===_0x4bbaf5[_0x1ba1fa(0xf3)][_0x1ba1fa(0x131)]?this[_0x1ba1fa(0x12d)]():this[_0x1ba1fa(0xa0)]();}),this[_0x3c28bd(0x1db)][_0x3c28bd(0x28b)][_0x3c28bd(0x136)](_0x294c14['takeUntil'](this[_0x3c28bd(0x2ce)]))[_0x3c28bd(0x2ca)](_0x2dd8f8=>{const _0x5cf2f6=_0x3c28bd,_0x11d06e=_0x2dd8f8[_0x5cf2f6(0x2dc)];_0x11d06e===_0x27c608[_0x5cf2f6(0x313)][_0x5cf2f6(0x106)]&&this[_0x5cf2f6(0x255)](_0x2dd8f8),_0x11d06e===_0x27c608[_0x5cf2f6(0x313)]['USERS_LEAVE']&&this[_0x5cf2f6(0xcc)](_0x2dd8f8);}),this[_0x3c28bd(0x1a8)](),this[_0x3c28bd(0x316)](this[_0x3c28bd(0x1fb)][_0x3c28bd(0x2f3)](_0x2099f2=>{const _0x50c4f4=_0x3c28bd;if(this['_online']&&_0x2099f2['id']===_0x2e00d7[_0x50c4f4(0x2bb)]['id']&&_0x2099f2['params'][_0x50c4f4(0x31d)]===this[_0x50c4f4(0x214)]){const _0x7c2fc3=_0x2099f2[_0x50c4f4(0x230)];this[_0x50c4f4(0x158)](_0x7c2fc3[_0x50c4f4(0x2da)],_0x7c2fc3[_0x50c4f4(0x16c)][0x0]);}})));}['_onCursorUpdate'](_0x9e554f){const _0x1e2757=_0x1eda19;var _0x1e8a62,_0x280b2f;const {memberID:_0x554553,selection:_0x3a4c66}=_0x9e554f[_0x1e2757(0x328)],{sheetName:_0x4e2005,range:_0x18035f}=_0x384d3c[_0x1e2757(0xec)](_0x3a4c66),_0xcdb471={'name':(_0x280b2f=(_0x1e8a62=this[_0x1e2757(0x105)][_0x1e2757(0x1cd)](this['unitID'],_0x554553))==null?void 0x0:_0x1e8a62['name'])!=null?_0x280b2f:'Unknown\x20user','range':this[_0x1e2757(0xcf)](_0x4e2005,_0x18035f),'sheetID':_0x4e2005,'color':this[_0x1e2757(0x2f0)][_0x1e2757(0x18f)](_0x554553),'selection':_0x3a4c66},_0x2675c0=this[_0x1e2757(0x241)];_0x2675c0['set'](_0x554553,_0xcdb471),this[_0x1e2757(0xd8)]['next'](_0x2675c0);}[_0x1eda19(0xcc)](_0x5e1e26){const _0x42bfb7=_0x1eda19,{memberID:_0x436fe1}=_0x5e1e26[_0x42bfb7(0x328)],_0x2f4811=this[_0x42bfb7(0x241)];_0x2f4811['delete'](_0x436fe1),this[_0x42bfb7(0xd8)]['next'](_0x2f4811);}[_0x1eda19(0xcf)](_0x1b4fbf,_0x262d60){const _0x345dcf=_0x1eda19;var _0x21d469,_0x550f4a;const _0x52b088=(_0x550f4a=(_0x21d469=this[_0x345dcf(0x2e7)]['getUniverSheetInstance'](this[_0x345dcf(0x214)]))==null?void 0x0:_0x21d469[_0x345dcf(0x272)](_0x1b4fbf))==null?void 0x0:_0x550f4a['getMergeData']();return(_0x52b088==null?void 0x0:_0x52b088[_0x345dcf(0x212)](_0x5513c8=>_0x3e70b8[_0x345dcf(0x96)][_0x345dcf(0x164)](_0x5513c8,_0x262d60)))||_0x262d60;}['_onRefRangeChange'](){const _0x46fcac=_0x1eda19,_0x5a5ad5=new _0x3e70b8['DisposableCollection'](),_0x232963=_0x3dc746(),_0x4468f6=()=>{const _0x1c9548=_0x2795;_0x5a5ad5[_0x1c9548(0x324)]();const _0x8ff9ff=(_0x23fed2,_0x4fdcb9,_0xbbe8a4,_0x2a81b9)=>{const _0x2e6d99=_0x1c9548;let _0x5e4f5d=[];switch(_0x23fed2['id']){case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x1b3)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x24b)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x239)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x8e)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x1cc)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x28d)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x154)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x222)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)]['InsertRangeMoveRightCommandId']:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x156)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7['EffectRefRangId']['InsertRowCommandId']:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x14d)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)]['MoveRangeCommandId']:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x209)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0xbd)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x31a)](_0x23fed2,_0x2a81b9);break;}case _0x2e00d7[_0x2e6d99(0x152)][_0x2e6d99(0x9a)]:{_0x5e4f5d=_0x2e00d7[_0x2e6d99(0x2e3)](_0x23fed2,_0x2a81b9);break;}}const _0x290f96=_0x2e00d7[_0x2e6d99(0x265)](_0x5e4f5d,_0x2a81b9),_0x34b559=this['cursorInfo'][_0x2e6d99(0x15d)](_0x4fdcb9);if(_0x34b559&&_0x290f96){const _0x45db6b={..._0x34b559,'range':_0x290f96};this[_0x2e6d99(0x241)]['set'](_0x4fdcb9,_0x45db6b),_0x232963(()=>{const _0xb16c45=_0x2e6d99,_0x3ab0ee=this[_0xb16c45(0x12f)][_0xb16c45(0x18e)](_0x290f96,_0x25c314=>(_0x3ab0ee[_0xb16c45(0x324)](),_0x8ff9ff(_0x25c314,_0x4fdcb9,_0xbbe8a4,_0x290f96)));_0x5a5ad5[_0xb16c45(0x9e)](_0x3ab0ee);});}return{'redos':[],'undos':[]};};this[_0x1c9548(0x241)][_0x1c9548(0x2a5)]((_0x5158b1,_0x1c8fc6)=>{const _0x66555c=_0x1c9548,{range:_0x123a47,sheetID:_0x1f8877}=_0x5158b1,_0x24d583=this['_refRangeService'][_0x66555c(0x18e)](_0x123a47,_0x557306=>(_0x24d583[_0x66555c(0x324)](),_0x8ff9ff(_0x557306,_0x1c8fc6,_0x1f8877,_0x123a47)));_0x5a5ad5['add'](_0x24d583);});};this[_0x46fcac(0x316)](_0x3e70b8['toDisposable'](this[_0x46fcac(0xd8)]['subscribe'](()=>{_0x4468f6();})));}[_0x1eda19(0x12d)](){const _0x401f1a=_0x1eda19;var _0x3f298e,_0x4a493c;if(this[_0x401f1a(0x137)]=!0x0,((_0x3f298e=this['_univerInstanceService'][_0x401f1a(0x2b2)]())==null?void 0x0:_0x3f298e[_0x401f1a(0x2f8)]())!==this['unitID'])return;const _0x2ebffb=(_0x4a493c=this['_injector'][_0x401f1a(0x15d)](_0x2e00d7[_0x401f1a(0x282)])['getCurrentSelections']())==null?void 0x0:_0x4a493c[0x0],_0x37df7f=this['_univerInstanceService'][_0x401f1a(0x10a)](_0x3e70b8[_0x401f1a(0x10e)][_0x401f1a(0x124)])[_0x401f1a(0x30f)]();_0x2ebffb&&_0x37df7f&&this['_updateLocalCursor'](_0x37df7f[_0x401f1a(0x2b5)](),_0x2ebffb);}[_0x1eda19(0xa0)](){const _0x2ae031=_0x1eda19;this[_0x2ae031(0x137)]=!0x1;}};_0x2c2d4f=_0x502c25([_0x4e8653(0x2,_0x3e70b8['Inject'](_0x3e70b8[_0x1eda19(0x2aa)])),_0x4e8653(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x598ec8)),_0x4e8653(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x310)])),_0x4e8653(0x5,_0x3e70b8[_0x1eda19(0xa9)]),_0x4e8653(0x6,_0x3e70b8[_0x1eda19(0xe1)]),_0x4e8653(0x7,_0x3e70b8[_0x1eda19(0x1be)](_0x2e00d7['RefRangeService']))],_0x2c2d4f);var _0x4b877a=Object['getOwnPropertyDescriptor'],_0x55b863=(_0x4de6c0,_0x3a8d02,_0x4af1d9,_0x405d18)=>{const _0x273c00=_0x1eda19;for(var _0x5c0715=_0x405d18>0x1?void 0x0:_0x405d18?_0x4b877a(_0x3a8d02,_0x4af1d9):_0x3a8d02,_0x1a1f93=_0x4de6c0[_0x273c00(0xfa)]-0x1,_0x49b77d;_0x1a1f93>=0x0;_0x1a1f93--)(_0x49b77d=_0x4de6c0[_0x1a1f93])&&(_0x5c0715=_0x49b77d(_0x5c0715)||_0x5c0715);return _0x5c0715;},_0x3ac574=(_0x43c40a,_0x2a924d)=>(_0x27dd24,_0x2f3376)=>_0x2a924d(_0x27dd24,_0x2f3376,_0x43c40a);let _0x2b1c7e=class extends _0x3e70b8['RxDisposable']{constructor(_0xb7ac1f,_0x3efa5b,_0x216039){const _0x13fbfe=_0x1eda19;super(),_0x1d81a2(this,'_entities',new Map()),_0x1d81a2(this,_0x13fbfe(0x1e5),new _0x294c14[(_0x13fbfe(0x321))]()),(this[_0x13fbfe(0x2e7)]=_0xb7ac1f,this[_0x13fbfe(0xdd)]=_0x3efa5b,this[_0x13fbfe(0x170)]=_0x216039,this[_0x13fbfe(0x237)]());}[_0x1eda19(0x324)](){const _0x2a8d7c=_0x1eda19;super[_0x2a8d7c(0x324)](),this['_entityInit$'][_0x2a8d7c(0x1ee)](),this[_0x2a8d7c(0x2df)][_0x2a8d7c(0x2a5)](_0x2eddcb=>_0x2eddcb['dispose']());}[_0x1eda19(0x104)](_0x2c3b1b){const _0x2cd79b=_0x1eda19;return this[_0x2cd79b(0x2df)][_0x2cd79b(0x25b)](_0x2c3b1b)?this[_0x2cd79b(0x2df)][_0x2cd79b(0x15d)](_0x2c3b1b)[_0x2cd79b(0x138)]:this[_0x2cd79b(0x1e5)][_0x2cd79b(0x136)](_0x294c14['filter'](_0x24efb7=>_0x24efb7[_0x2cd79b(0x214)]===_0x2c3b1b),_0x294c14[_0x2cd79b(0x23e)](_0x834fd=>_0x834fd[_0x2cd79b(0x138)]));}[_0x1eda19(0x237)](){const _0x3c7cce=_0x1eda19;this['_univerInstanceService'][_0x3c7cce(0xf8)](_0x3e70b8[_0x3c7cce(0x10e)]['UNIVER_SHEET'])['pipe'](_0x294c14[_0x3c7cce(0x160)](this[_0x3c7cce(0x2ce)]))[_0x3c7cce(0x2ca)](async _0x318284=>{const _0x55bce3=_0x3c7cce,_0x8444ae=_0x318284[_0x55bce3(0x2f8)](),_0x7dc686=await this[_0x55bce3(0x311)](_0x8444ae);this[_0x55bce3(0x1e5)][_0x55bce3(0x190)](_0x7dc686),this['_entities'][_0x55bce3(0x1e4)](_0x8444ae,_0x7dc686);}),this[_0x3c7cce(0x2e7)][_0x3c7cce(0xf8)](_0x3e70b8[_0x3c7cce(0x10e)][_0x3c7cce(0x149)])['pipe'](_0x294c14['takeUntil'](this[_0x3c7cce(0x2ce)]))['pipe'](_0x294c14[_0x3c7cce(0x284)](_0x5ca5e3=>!_0x5ca5e3['getUnitId']()[_0x3c7cce(0xa7)]('__')))[_0x3c7cce(0x2ca)](async _0x9ff96f=>{const _0x3744fd=_0x3c7cce,_0x22ab4a=_0x9ff96f[_0x3744fd(0x2f8)](),_0x28400c=await this[_0x3744fd(0x1ad)](_0x22ab4a);this[_0x3744fd(0x1e5)][_0x3744fd(0x190)](_0x28400c),this[_0x3744fd(0x2df)][_0x3744fd(0x1e4)](_0x22ab4a,_0x28400c);}),_0x294c14[_0x3c7cce(0x306)](this[_0x3c7cce(0x2e7)][_0x3c7cce(0x148)](_0x3e70b8[_0x3c7cce(0x10e)][_0x3c7cce(0x149)]),this[_0x3c7cce(0x2e7)][_0x3c7cce(0x148)](_0x3e70b8[_0x3c7cce(0x10e)][_0x3c7cce(0x124)]))[_0x3c7cce(0x136)](_0x294c14[_0x3c7cce(0x160)](this[_0x3c7cce(0x2ce)]))[_0x3c7cce(0x2ca)](_0x3c1ae5=>{const _0x4361f8=_0x3c7cce,_0x583735=_0x3c1ae5['getUnitId'](),_0x98f52f=this[_0x4361f8(0x2df)]['get'](_0x583735);_0x98f52f&&(_0x98f52f['dispose'](),this[_0x4361f8(0x2df)][_0x4361f8(0x2d0)](_0x583735));});}async[_0x1eda19(0x311)](_0x5ceb38){const _0x274077=_0x1eda19,_0x2e488f=await this[_0x274077(0x170)][_0x274077(0x1f2)](_0x5ceb38),_0x19a1e7=this[_0x274077(0xdd)][_0x274077(0x20c)](_0x2c2d4f,_0x5ceb38,_0x2e488f);return _0x19a1e7[_0x274077(0xf9)](),_0x19a1e7;}async[_0x1eda19(0x1ad)](_0x549a1e){const _0x5d1553=_0x1eda19,_0x21ea83=await this[_0x5d1553(0x170)][_0x5d1553(0x1f2)](_0x549a1e),_0x2cca84=this[_0x5d1553(0xdd)]['createInstance'](_0x5bf135,_0x549a1e,_0x21ea83);return _0x2cca84[_0x5d1553(0xf9)](),_0x2cca84;}};_0x2b1c7e=_0x55b863([_0x3ac574(0x0,_0x3e70b8[_0x1eda19(0xa9)]),_0x3ac574(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x3ac574(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0x28c)]))],_0x2b1c7e);const _0x286ef5=0x14,_0x5d69a4=0xc8,_0x315c16=0x4,_0x38ff39=0x5;function _0x4e20ed(_0x5ba417,_0x2110cc){const _0x2cc5f9=_0x1eda19;let {radius:_0x5e4cd1,width:_0x5946d1,height:_0x274ce6}=_0x2110cc;_0x5e4cd1=_0x5e4cd1!=null?_0x5e4cd1:0x0,_0x5946d1=_0x5946d1!=null?_0x5946d1:0x1e,_0x274ce6=_0x274ce6!=null?_0x274ce6:0x1e;let _0xf32173=0x0,_0x34ddff=0x0,_0x44a69b=0x0;_0xf32173=_0x34ddff=_0x44a69b=Math[_0x2cc5f9(0x2ba)](_0x5e4cd1,_0x5946d1/0x2,_0x274ce6/0x2),_0x5ba417['beginPath'](),_0x5ba417[_0x2cc5f9(0x1b2)](_0xf32173,0x0),_0x5ba417[_0x2cc5f9(0x283)](_0x5946d1-_0x34ddff,0x0),_0x5ba417[_0x2cc5f9(0xf6)](_0x5946d1-_0x34ddff,_0x34ddff,_0x34ddff,Math['PI']*0x3/0x2,0x0,!0x1),_0x5ba417[_0x2cc5f9(0x283)](_0x5946d1,_0x274ce6-_0x44a69b),_0x5ba417['arc'](_0x5946d1-_0x44a69b,_0x274ce6-_0x44a69b,_0x44a69b,0x0,Math['PI']/0x2,!0x1),_0x5ba417[_0x2cc5f9(0x283)](0x0,_0x274ce6),_0x5ba417[_0x2cc5f9(0x283)](0x0,_0xf32173),_0x5ba417[_0x2cc5f9(0xf6)](_0xf32173,_0xf32173,_0xf32173,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5ba417[_0x2cc5f9(0x298)](),_0x2110cc[_0x2cc5f9(0x102)]&&(_0x5ba417[_0x2cc5f9(0x147)](),_0x5ba417['fillStyle']=_0x2110cc[_0x2cc5f9(0x102)],_0x2110cc['fillRule']===_0x2cc5f9(0x293)?_0x5ba417[_0x2cc5f9(0x102)](_0x2cc5f9(0x293)):_0x5ba417[_0x2cc5f9(0x102)](),_0x5ba417[_0x2cc5f9(0xa4)]());}class _0x4e76f4 extends _0x14944b[_0x1eda19(0x301)]{constructor(_0x1523c1,_0x2ba300){const _0x46023d=_0x1eda19;super(_0x1523c1,_0x2ba300),_0x1d81a2(this,_0x46023d(0x1fc)),_0x1d81a2(this,_0x46023d(0x22f)),(this['color']=_0x2ba300==null?void 0x0:_0x2ba300['color'],this['text']=_0x2ba300==null?void 0x0:_0x2ba300[_0x46023d(0x22f)]);}static[_0x1eda19(0x143)](_0x49a40f,_0x1ac05b){const _0x104644=_0x1eda19,{text:_0x330241,color:_0x11fb16}=_0x1ac05b;_0x49a40f[_0x104644(0x147)](),_0x49a40f[_0x104644(0x19e)]=_0x104644(0x198);const _0x593ff2=_0x49a40f[_0x104644(0x1a4)](_0x330241)[_0x104644(0x229)],_0x17acf9=Math['min'](_0x593ff2+0x2*_0x315c16,_0x5d69a4);_0x4e20ed(_0x49a40f,{'height':_0x286ef5,'radius':0x4,'width':_0x17acf9,'fill':_0x11fb16}),_0x49a40f['fillStyle']='#FFF';const _0x3a497c=_0x315c16,_0x3bc3f2=_0x286ef5-_0x38ff39,_0xbb93e7=_0x5d69a4-0x2*_0x315c16;if(_0x593ff2>_0xbb93e7){let _0x561b71='',_0x515f75=0x0;for(const _0xe77c4a of _0x330241){const _0x34e80a=_0x49a40f['measureText'](_0xe77c4a)[_0x104644(0x229)];if(_0x515f75+_0x34e80a<=_0xbb93e7-_0x49a40f[_0x104644(0x1a4)](_0x104644(0x18a))['width'])_0x561b71+=_0xe77c4a,_0x515f75+=_0x34e80a;else{_0x561b71+=_0x104644(0x18a);break;}}_0x49a40f[_0x104644(0x319)](_0x561b71,_0x3a497c,_0x3bc3f2);}else _0x49a40f['fillText'](_0x330241,_0x3a497c,_0x3bc3f2);_0x49a40f[_0x104644(0xa4)]();}['_draw'](_0x590b42){const _0x48602c=_0x1eda19;_0x4e76f4[_0x48602c(0x143)](_0x590b42,this);}}const _0x2bb81d=_0x1eda19(0x268),_0x51bcf0=_0x1eda19(0xd5),_0x5ad82e=_0x1eda19(0x8c),_0x2485b8=0x6,_0x1e60a6=1.5,_0x413990=0x4,_0x4caf63=1.5,_0x220c52=_0x1eda19(0xc4);class _0x36b67d{constructor(_0x2539dd,_0x5ba47b,_0x10e51a,_0x28cae2){const _0x12b64b=_0x1eda19;_0x1d81a2(this,_0x12b64b(0x323),[]),_0x1d81a2(this,_0x12b64b(0x202),null),_0x1d81a2(this,_0x12b64b(0x192),null),_0x1d81a2(this,_0x12b64b(0x191),null),_0x1d81a2(this,_0x12b64b(0xe2),null),_0x1d81a2(this,_0x12b64b(0x21e),null),(this[_0x12b64b(0x287)]=_0x2539dd,this[_0x12b64b(0xe8)]=_0x5ba47b,this[_0x12b64b(0x1df)]=_0x10e51a,this[_0x12b64b(0x8d)]=_0x28cae2,this[_0x12b64b(0xb0)]());}set[_0x1eda19(0x182)](_0x448972){const _0xb68300=_0x1eda19;_0x448972?(this[_0xb68300(0x191)]&&this[_0xb68300(0x191)][_0xb68300(0x2f1)](),this[_0xb68300(0x192)]&&this['_textBubble'][_0xb68300(0x264)]()):(this[_0xb68300(0x191)]&&this['_anchorDot'][_0xb68300(0x264)](),this['_textBubble']&&this[_0xb68300(0x192)]['hide']());}[_0x1eda19(0x324)](){const _0x81719d=_0x1eda19;for(const _0x39b2eb of this[_0x81719d(0x323)])_0x39b2eb[_0x81719d(0x324)]();this[_0x81719d(0x192)]&&this[_0x81719d(0x192)]['dispose'](),this['_anchorDot']&&this[_0x81719d(0x191)][_0x81719d(0x324)](),this[_0x81719d(0x202)]&&this[_0x81719d(0x202)]['dispose'](),this[_0x81719d(0x21e)]&&this[_0x81719d(0x21e)]();}['_render'](){const _0x211833=_0x1eda19;var _0x334af7;const {_docSkeleton:_0x2f5ef4,_document:_0x25cf70}=this,{color:_0x4f01e8,name:_0x1c78c5,ranges:_0x3963c4}=this[_0x211833(0x287)],_0x126008=_0x25cf70[_0x211833(0x273)](),{docsLeft:_0x24c86e,docsTop:_0x55edb5}=_0x126008,_0x500122=new _0x188185[(_0x211833(0x2b9))](_0x126008,_0x2f5ef4);for(const {startOffset:_0x4be295,endOffset:_0x5721cd,rangeType:_0x2d66e9,segmentId:_0x227b2e,segmentPage:_0x398962,collapsed:_0x1f469c,isActive:_0x425375}of _0x3963c4){const _0x212ef8=_0x2f5ef4[_0x211833(0x1ca)](_0x4be295,!0x0,_0x227b2e,_0x398962);let _0xa0e37=_0x2f5ef4['findNodePositionByCharIndex'](_0x5721cd,!0x0,_0x227b2e,_0x398962);if(_0xa0e37==null&&(_0xa0e37=_0x2f5ef4['findNodePositionByCharIndex'](_0x5721cd-0x1,!0x1,_0x227b2e,_0x398962)),_0x425375){const {contentBoxPointGroup:_0x29fd6b}=_0x500122[_0x211833(0x12e)](_0xa0e37,_0xa0e37);if(_0x29fd6b[_0x211833(0xfa)]===0x0)continue;this[_0x211833(0x2e9)](_0x4f01e8,_0x29fd6b,_0x24c86e,_0x55edb5,_0x1c78c5),this['_eventUnsubscribe']=this[_0x211833(0xaa)]();}if(_0x212ef8&&_0xa0e37){if(_0x2d66e9===_0x3e70b8[_0x211833(0x2bd)][_0x211833(0x266)]){const _0x19b66f=new _0x188185[(_0x211833(0x210))](_0x126008,_0x2f5ef4),{pointGroup:_0x5a3cc0}=(_0x334af7=_0x19b66f[_0x211833(0x12e)](_0x212ef8,_0xa0e37))!=null?_0x334af7:{};if(_0x5a3cc0==null||_0x5a3cc0[_0x211833(0xfa)]===0x0)continue;this[_0x211833(0x27f)](_0x4f01e8,_0x5a3cc0,_0x24c86e,_0x55edb5);}else{if(!_0x1f469c){const {borderBoxPointGroup:_0x2978cc}=_0x500122[_0x211833(0x12e)](_0x212ef8,_0xa0e37);if(_0x2978cc[_0x211833(0xfa)]===0x0)continue;this[_0x211833(0x2bf)](_0x4f01e8,_0x2978cc,_0x24c86e,_0x55edb5);}}}}}[_0x1eda19(0x2e9)](_0xca102c,_0x3ee8d6,_0x4ec686,_0x4ea676,_0xd15da){const _0x511e18=_0x1eda19,_0x9a3441=this[_0x511e18(0x98)](_0x3ee8d6),{left:_0x20c16b,top:_0x27d078,height:_0x528ab7}=_0x9a3441,_0x3c5d44=this['_getScale'](),_0x3af832=_0x4caf63/_0x3c5d44,_0x1a2211=new _0x14944b[(_0x511e18(0xac))](_0x2bb81d+_0x3e70b8['generateRandomId'](_0x2485b8),{'left':_0x20c16b+_0x4ec686-_0x3af832,'top':_0x27d078+_0x4ea676,'height':_0x528ab7,'width':_0x1e60a6,'fill':_0xca102c||_0x14944b[_0x511e18(0x197)](_0x3e70b8[_0x511e18(0x93)][_0x511e18(0x17a)],0x0),'strokeWidth':_0x3af832,'stroke':_0x220c52,'evented':!0x0});this[_0x511e18(0x202)]=_0x1a2211,this[_0x511e18(0xe8)][_0x511e18(0x309)](_0x1a2211,_0x188185[_0x511e18(0x261)]);const _0x40f45b=new _0x14944b['Rect'](_0x2bb81d+_0x3e70b8[_0x511e18(0x2cc)](_0x2485b8),{'left':_0x20c16b+_0x4ec686-_0x3af832,'top':_0x27d078+_0x4ea676-_0x413990/0x2,'height':_0x413990,'width':_0x413990,'fill':_0xca102c||_0x14944b[_0x511e18(0x197)](_0x3e70b8[_0x511e18(0x93)][_0x511e18(0x17a)],0x0),'strokeWidth':0x0,'stroke':_0xca102c||_0x14944b[_0x511e18(0x197)](_0x3e70b8[_0x511e18(0x93)][_0x511e18(0x17a)],0x0),'evented':!0x1});this[_0x511e18(0x191)]=_0x40f45b,this[_0x511e18(0xe8)][_0x511e18(0x309)](_0x40f45b,_0x188185[_0x511e18(0x261)]);const _0x335e45=new _0x4e76f4(_0x2bb81d+_0x3e70b8[_0x511e18(0x2cc)](_0x2485b8),{'left':_0x20c16b+_0x4ec686-_0x3af832,'top':_0x27d078+_0x4ea676-_0x286ef5,'text':_0xd15da,'color':_0xca102c});this[_0x511e18(0x192)]=_0x335e45,this[_0x511e18(0xe8)][_0x511e18(0x309)](_0x335e45,_0x188185[_0x511e18(0x261)]),this[_0x511e18(0x182)]=!0x1;}['_handleHover'](){const _0x5bf0a2=_0x1eda19,_0x4d26a0=this['_anchor']['onPointerEnter$'][_0x5bf0a2(0x2db)](()=>{const _0x21150b=_0x5bf0a2;this[_0x21150b(0x182)]=!0x0;}),_0xdfee03=this[_0x5bf0a2(0x202)]['onPointerLeave$'][_0x5bf0a2(0x2db)](()=>{const _0x5bcf06=_0x5bf0a2;this['_hideTimer']&&clearTimeout(this[_0x5bcf06(0xe2)]),this[_0x5bcf06(0xe2)]=setTimeout(()=>{const _0x4d1476=_0x5bcf06;this[_0x4d1476(0x182)]=!0x1;},0x7d0);});return()=>{const _0x49ba9e=_0x5bf0a2;_0x4d26a0[_0x49ba9e(0xa5)](),_0xdfee03['unsubscribe']();};}[_0x1eda19(0x2bf)](_0x1696ef,_0xc6c9fc,_0x42728c,_0x4a4aad){const _0x30be56=_0x1eda19,_0xe2ffcd=new _0x3e70b8['ColorKit'](_0x1696ef)[_0x30be56(0x1b8)](0.2)['toRgbString'](),_0x169e70=new _0x14944b[(_0x30be56(0x286))](_0x51bcf0+_0x3e70b8[_0x30be56(0x2cc)](_0x2485b8),{'pointsGroup':_0xc6c9fc,'fill':_0xe2ffcd||_0x14944b[_0x30be56(0x197)](_0x3e70b8[_0x30be56(0x93)][_0x30be56(0x17a)],0.2),'left':_0x42728c,'top':_0x4a4aad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30be56(0x323)][_0x30be56(0x269)](_0x169e70),this[_0x30be56(0xe8)][_0x30be56(0x309)](_0x169e70,_0x188185[_0x30be56(0x261)]);}[_0x1eda19(0x27f)](_0x469a17,_0x5078ea,_0x241186,_0x327ab9){const _0x212772=_0x1eda19,_0x50d6b1=new _0x3e70b8['ColorKit'](_0x469a17)[_0x212772(0x1b8)](0.2)['toRgbString'](),_0x4b185b=new _0x14944b[(_0x212772(0x286))](_0x5ad82e+_0x3e70b8['generateRandomId'](_0x2485b8),{'pointsGroup':_0x5078ea,'fill':_0x50d6b1||_0x14944b[_0x212772(0x197)](_0x3e70b8[_0x212772(0x93)]['black'],0.2),'left':_0x241186,'top':_0x327ab9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x212772(0x323)]['push'](_0x4b185b),this['_scene']['addObject'](_0x4b185b,_0x188185[_0x212772(0x261)]);}[_0x1eda19(0x98)](_0x22f22e){const _0x2ac237=_0x22f22e[0x0],_0x4cfbef=_0x2ac237[0x0],_0x5eb942=_0x2ac237[0x2],{x:_0x23e2ac,y:_0x199e5b}=_0x4cfbef,{x:_0x4274e2,y:_0x3aea5c}=_0x5eb942;return{'left':_0x23e2ac,'top':_0x199e5b,'width':_0x4274e2-_0x23e2ac,'height':_0x3aea5c-_0x199e5b};}[_0x1eda19(0x30a)](){const _0x27e1ad=_0x1eda19,{scaleX:_0x1dbdd6,scaleY:_0x164b46}=this[_0x27e1ad(0xe8)]['getAncestorScale']();return Math[_0x27e1ad(0x140)](_0x1dbdd6,_0x164b46);}}var _0x4c4a1a=Object[_0x1eda19(0x250)],_0x4051c4=(_0x274ba7,_0x23b75b,_0x2607e5,_0x31539e)=>{const _0x2abe2b=_0x1eda19;for(var _0x4b6bdb=_0x31539e>0x1?void 0x0:_0x31539e?_0x4c4a1a(_0x23b75b,_0x2607e5):_0x23b75b,_0x23c320=_0x274ba7[_0x2abe2b(0xfa)]-0x1,_0x59a463;_0x23c320>=0x0;_0x23c320--)(_0x59a463=_0x274ba7[_0x23c320])&&(_0x4b6bdb=_0x59a463(_0x4b6bdb)||_0x4b6bdb);return _0x4b6bdb;},_0x57098=(_0xabf06a,_0x3fa01a)=>(_0x3247a1,_0x504556)=>_0x3fa01a(_0x3247a1,_0x504556,_0xabf06a);let _0xffd5df=class extends _0x3e70b8[_0x1eda19(0xd2)]{constructor(_0x2aac78,_0x2486b3,_0x4dbc30,_0x2d56c9,_0x1d5949){const _0x36dc69=_0x1eda19;super(),_0x1d81a2(this,_0x36dc69(0x1dc),[]),_0x1d81a2(this,_0x36dc69(0x17f),[]),(this[_0x36dc69(0x31c)]=_0x2aac78,this[_0x36dc69(0xc5)]=_0x2486b3,this[_0x36dc69(0x17d)]=_0x4dbc30,this[_0x36dc69(0x1fb)]=_0x2d56c9,this[_0x36dc69(0x157)]=_0x1d5949,this[_0x36dc69(0x237)]());}['_init'](){const _0xdaca88=_0x1eda19,_0x2c3991=this[_0xdaca88(0x31c)][_0xdaca88(0x31d)],_0x2255f0=this[_0xdaca88(0xc5)];this[_0xdaca88(0x316)](_0x294c14[_0xdaca88(0x13f)]([this['_collabCursorController'][_0xdaca88(0x104)](_0x2c3991),this[_0xdaca88(0x157)][_0xdaca88(0x28e)]])['pipe'](_0xff66a0[_0xdaca88(0x15b)](([_0x42a1dd,_0x532d7e])=>({'skeleton':_0x2255f0[_0xdaca88(0x30e)](),'cursors':[..._0x42a1dd[_0xdaca88(0x223)]()]['flatMap'](_0x5e64ff=>({..._0x5e64ff,'color':this[_0xdaca88(0x157)][_0xdaca88(0x22d)](_0x5e64ff[_0xdaca88(0x1fc)])}))})))[_0xdaca88(0x2ca)](_0x16aba7=>{const _0x11bd89=_0xdaca88;if(this[_0x11bd89(0x115)](),_0x16aba7){const {skeleton:_0x42d3cd,cursors:_0x179759}=_0x16aba7;this[_0x11bd89(0x289)](_0x42d3cd,_0x179759);}})),this[_0xdaca88(0x1e8)](),this[_0xdaca88(0xff)]();}[_0x1eda19(0x289)](_0x506d02,_0x591b6c){const _0x53f76b=_0x1eda19,{scene:_0x47747c,mainComponent:_0x914fc9}=this['_context'],_0x2993cb=_0x591b6c[_0x53f76b(0x15b)](_0x2ad363=>new _0x36b67d(_0x2ad363,_0x47747c,_0x506d02,_0x914fc9));this['_cursorShapes']=_0x2993cb,this[_0x53f76b(0x17f)]=_0x591b6c;}[_0x1eda19(0x29d)](){const _0x4b4e4d=_0x1eda19;this[_0x4b4e4d(0x115)]();const {scene:_0x5287d9,mainComponent:_0x22b28d}=this[_0x4b4e4d(0x31c)],_0x2bf15f=this['_docSkeletonManagerService']['getSkeleton'](),_0x5bc0c0=this['_cursors'][_0x4b4e4d(0x15b)](_0x4dbd48=>new _0x36b67d(_0x4dbd48,_0x5287d9,_0x2bf15f,_0x22b28d));this[_0x4b4e4d(0x1dc)]=_0x5bc0c0;}[_0x1eda19(0x115)](){const _0x271f92=_0x1eda19;this['_cursorShapes']['forEach'](_0x39a5d3=>_0x39a5d3['dispose']()),this[_0x271f92(0x1dc)]=[];}[_0x1eda19(0xff)](){const _0x1c9ce7=_0x1eda19,_0x3e063d=[_0x188185[_0x1c9ce7(0x196)]['id']];this[_0x1c9ce7(0x316)](this['_commandService'][_0x1c9ce7(0x2f3)](_0x3fcb5f=>{const _0x2a06ea=_0x1c9ce7;_0x3e063d[_0x2a06ea(0x28a)](_0x3fcb5f['id'])&&_0x3fcb5f[_0x2a06ea(0x230)][_0x2a06ea(0x31d)]===this[_0x2a06ea(0x31c)][_0x2a06ea(0x31d)]&&this[_0x2a06ea(0x29d)]();}));}[_0x1eda19(0x1e8)](){const _0xa0593e=_0x1eda19;this['disposeWithMe'](_0x3e70b8['fromEventSubject'](this['_context'][_0xa0593e(0x1b0)][_0xa0593e(0x13e)])[_0xa0593e(0x136)](_0xff66a0[_0xa0593e(0x284)](_0xf5b0f0=>_0xf5b0f0[_0xa0593e(0x207)]===_0x14944b[_0xa0593e(0x1e3)]['resize']),_0xff66a0[_0xa0593e(0xb9)](0x10))[_0xa0593e(0x2ca)](()=>{const _0x5b748a=_0xa0593e;this[_0x5b748a(0x29d)]();}));}};_0xffd5df=_0x4051c4([_0x57098(0x1,_0x3e70b8['Inject'](_0x81b01f[_0x1eda19(0x14a)])),_0x57098(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x2b1c7e)),_0x57098(0x3,_0x3e70b8[_0x1eda19(0xe1)]),_0x57098(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x1b9)]))],_0xffd5df);const _0x1b2670=0x1,_0x3bf27c=1.5;class _0x2c3757 extends _0x14944b['Shape']{constructor(_0x20635b,_0xff6ead){const _0x3d4ac9=_0x1eda19;super(_0x20635b,_0xff6ead),_0x1d81a2(this,'_color'),_0x1d81a2(this,'_hovered',!0x1),_0x1d81a2(this,_0x3d4ac9(0x281)),_0x1d81a2(this,_0x3d4ac9(0x11d),''),_0x1d81a2(this,_0x3d4ac9(0x194),_0x3d4ac9(0x1d7)),_0x1d81a2(this,_0x3d4ac9(0x1ea)),(_0xff6ead&&this['setShapeProps'](_0xff6ead),this[_0x3d4ac9(0x8a)][_0x3d4ac9(0x2db)](()=>this[_0x3d4ac9(0x14e)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3d4ac9(0x14e)]({'hovered':!0x1})));}[_0x1eda19(0x14e)](_0x3c40d3){const _0x510587=_0x1eda19;var _0x35d7da,_0x289dbe,_0x561e13,_0x1e2c22,_0x318d74,_0x110f38;this['_color']=(_0x35d7da=_0x3c40d3[_0x510587(0x1fc)])!=null?_0x35d7da:this[_0x510587(0x20f)],this[_0x510587(0x270)]=(_0x289dbe=_0x3c40d3[_0x510587(0x29c)])!=null?_0x289dbe:this[_0x510587(0x270)],this[_0x510587(0x281)]=(_0x561e13=_0x3c40d3[_0x510587(0xee)])!=null?_0x561e13:this[_0x510587(0x281)],this[_0x510587(0x11d)]=(_0x1e2c22=_0x3c40d3[_0x510587(0x31f)])!=null?_0x1e2c22:this[_0x510587(0x11d)],this[_0x510587(0x194)]=(_0x318d74=_0x3c40d3[_0x510587(0xe5)])!=null?_0x318d74:this[_0x510587(0x194)],this['_backgroundColor']=(_0x110f38=_0x3c40d3[_0x510587(0x1ab)])!=null?_0x110f38:this[_0x510587(0x1ea)],this[_0x510587(0x318)]({'width':_0x3c40d3[_0x510587(0x229)],'height':_0x3c40d3[_0x510587(0x141)]});}[_0x1eda19(0x231)](_0x46ea6f){const _0x158457=_0x1eda19,{row:_0x17eb46,column:_0x3ec4ab}=_0x46ea6f;if(_0x17eb46>=this[_0x158457(0x281)]['startRow']&&_0x17eb46<=this[_0x158457(0x281)][_0x158457(0xfe)]&&_0x3ec4ab>=this[_0x158457(0x281)]['startColumn']&&_0x3ec4ab<=this[_0x158457(0x281)][_0x158457(0x216)]){this[_0x158457(0x14e)]({'hovered':!0x0});return;}this[_0x158457(0x14e)]({'hovered':!0x1});}[_0x1eda19(0xdc)](_0x18d4c8){return!0x1;}['_draw'](_0x4b56b5){const _0x38b7b5=_0x1eda19;_0x14944b[_0x38b7b5(0xac)]['drawWith'](_0x4b56b5,{'width':this[_0x38b7b5(0x229)],'height':this[_0x38b7b5(0x141)],'strokeWidth':_0x3bf27c,'stroke':this[_0x38b7b5(0x20f)],'evented':!0x1,'fill':this[_0x38b7b5(0x1ea)]}),this[_0x38b7b5(0x270)]&&(_0x4b56b5[_0x38b7b5(0x147)](),_0x4b56b5['transform'](0x1,0x0,0x0,0x1,this[_0x38b7b5(0x229)],this[_0x38b7b5(0x194)]===_0x38b7b5(0x297)?0x0:-_0x286ef5),_0x4e76f4[_0x38b7b5(0x143)](_0x4b56b5,{'text':this[_0x38b7b5(0x11d)],'color':this[_0x38b7b5(0x20f)]}),_0x4b56b5[_0x38b7b5(0xa4)]());}}var _0x32e441=Object[_0x1eda19(0x250)],_0x152a63=(_0x147bf4,_0x17db47,_0x2aa8c9,_0xf0507b)=>{const _0x40269d=_0x1eda19;for(var _0x4d6f0e=_0xf0507b>0x1?void 0x0:_0xf0507b?_0x32e441(_0x17db47,_0x2aa8c9):_0x17db47,_0x104ee0=_0x147bf4[_0x40269d(0xfa)]-0x1,_0x43797f;_0x104ee0>=0x0;_0x104ee0--)(_0x43797f=_0x147bf4[_0x104ee0])&&(_0x4d6f0e=_0x43797f(_0x4d6f0e)||_0x4d6f0e);return _0x4d6f0e;},_0x3f5b66=(_0x520a2a,_0x34f6cc)=>(_0x3e2beb,_0x473bf0)=>_0x34f6cc(_0x3e2beb,_0x473bf0,_0x520a2a);const _0x2ca968=0x1389;let _0x378706=class extends _0x3e70b8['RxDisposable']{constructor(_0x3c2029,_0x2149b0,_0x1f9b2a,_0x461b7e){const _0xf4b998=_0x1eda19;super(),_0x1d81a2(this,'_cursors',new Set()),_0x1d81a2(this,_0xf4b998(0xef),null),(this[_0xf4b998(0x31c)]=_0x3c2029,this[_0xf4b998(0x2c7)]=_0x2149b0,this[_0xf4b998(0x17d)]=_0x1f9b2a,this['_themeService']=_0x461b7e,this['_init']());}[_0x1eda19(0x237)](){const _0x4cf18d=_0x1eda19;this[_0x4cf18d(0x2c7)]['currentSkeleton$']['pipe'](_0xff66a0[_0x4cf18d(0x160)](this[_0x4cf18d(0x2ce)]),_0xff66a0[_0x4cf18d(0x23e)](_0x27738b=>{const _0xa2498b=_0x4cf18d;if(_0x27738b){const _0x1b7d69=_0x27738b[_0xa2498b(0x126)];return _0x294c14[_0xa2498b(0x13f)](this[_0xa2498b(0x17d)]['getCollabCursors$'](this[_0xa2498b(0x31c)]['unitId']),this[_0xa2498b(0x157)][_0xa2498b(0x28e)])[_0xa2498b(0x136)](_0xff66a0[_0xa2498b(0x15b)](([_0x309876,_0x509dd2])=>{const _0x246b5d=new Map();return _0x309876['forEach']((_0x231036,_0x3c84b3)=>{const _0x1f38a9=_0x2795;if(_0x231036[_0x1f38a9(0x1c0)]===_0x1b7d69){const _0x39a631={..._0x231036};_0x39a631[_0x1f38a9(0x1fc)]=this[_0x1f38a9(0x157)][_0x1f38a9(0x22d)](_0x231036[_0x1f38a9(0x1fc)]),_0x246b5d['set'](_0x3c84b3,_0x39a631);}}),{'skeleton':_0x27738b,'cursors':_0x246b5d};}));}return _0x294c14['of']({'skeleton':null,'cursors':new Map()});}))[_0x4cf18d(0x2ca)](({skeleton:_0x5f362f,cursors:_0x5ec41f})=>{const _0x29fbab=_0x4cf18d;this[_0x29fbab(0x115)](),_0x5f362f&&this['_updateCollabCursors'](_0x5f362f,_0x5ec41f);}),this['_sheetSkeletonManagerService'][_0x4cf18d(0x146)][_0x4cf18d(0x2ca)](_0x3f1ea0=>{const _0x1ee055=_0x4cf18d;if(_0x3f1ea0==null)return;const {skeleton:_0x382668}=_0x3f1ea0,{scene:_0x42ee19}=this[_0x1ee055(0x31c)];_0x42ee19[_0x1ee055(0x1c7)]['subscribeEvent'](_0x3e70b8[_0x1ee055(0x97)](_0x58deb2=>{const _0x168a08=_0x1ee055;var _0xe5e2c6,_0x1169d4;const {offsetX:_0x312352,offsetY:_0x1e8849}=_0x58deb2,{x:_0x18f731,y:_0x5a3004}=_0x42ee19['getRelativeToViewportCoord'](_0x14944b[_0x168a08(0xb8)][_0x168a08(0xd7)]([_0x312352,_0x1e8849])),{scaleX:_0x3c0c66,scaleY:_0x3a5b39}=_0x42ee19[_0x168a08(0x100)](),_0x105cf6=_0x42ee19['getViewport'](_0x14944b[_0x168a08(0xc9)]['VIEW_MAIN']),_0x3e8507=_0x42ee19[_0x168a08(0x1ce)](_0x14944b[_0x168a08(0xb8)][_0x168a08(0xd7)]([_0x18f731,_0x5a3004]),_0x105cf6),_0x3d5814=_0x382668[_0x168a08(0xc8)](_0x312352,_0x1e8849,_0x3c0c66,_0x3a5b39,_0x3e8507);((_0xe5e2c6=this[_0x168a08(0xef)])==null?void 0x0:_0xe5e2c6[_0x168a08(0x1a7)])===_0x3d5814[_0x168a08(0x1a7)]&&((_0x1169d4=this['_lastPointer'])==null?void 0x0:_0x1169d4[_0x168a08(0x291)])===_0x3d5814[_0x168a08(0x291)]||this[_0x168a08(0x17f)][_0x168a08(0x2a5)](_0x279b8c=>{const _0x1f9e37=_0x168a08;_0x279b8c[_0x1f9e37(0x231)](_0x3d5814);});},0x64));});}[_0x1eda19(0x289)](_0x2ba2fc,_0x188e33){const _0x1b6717=_0x1eda19;var _0x1f325d;const _0x2b3551=(_0x1f325d=this[_0x1b6717(0x2c7)][_0x1b6717(0x2e0)]())==null?void 0x0:_0x1f325d[_0x1b6717(0x1f5)];if(!_0x2b3551)return;const _0x3c2c69=this[_0x1b6717(0x295)]();if(!_0x3c2c69)return;this[_0x1b6717(0x17f)][_0x1b6717(0x2a5)](_0xd3321c=>{_0xd3321c['makeDirty']();});const {scene:_0xf45208}=_0x3c2c69,_0x15a298=_0x40110f(Array[_0x1b6717(0xde)](_0x188e33[_0x1b6717(0x223)]()))[_0x1b6717(0x15b)](_0x343b1a=>{const _0x4740f0=_0x1b6717,{color:_0x2c1845,range:_0x327975,name:_0x3b5911,selection:_0x1c0806,sheetID:_0x558576}=_0x343b1a,{startColumn:_0x5a70ea,startRow:_0x1b381b,endColumn:_0x23e10c,endRow:_0x2fd525}=_0x327975,_0x1dedec=_0x24c4a6[_0x4740f0(0x2ff)](_0x1b381b,_0x5a70ea,_0xf45208,_0x2b3551),_0xd5a9e2=_0x24c4a6['getCoordByCell'](_0x2fd525,_0x23e10c,_0xf45208,_0x2b3551),{columnHeaderHeightAndMarginTop:_0x4039fb}=_0x2b3551,{startX:_0x499652,startY:_0xc78902}=_0x1dedec,{endX:_0x559cc6,endY:_0x4adb09}=_0xd5a9e2,_0x201262=_0x559cc6-_0x499652,_0x21e772=_0x4adb09-_0xc78902,_0x2fc6f8={'labelPosition':_0xc78902-_0x4039fb>=_0x286ef5?_0x4740f0(0x1d7):_0x4740f0(0x297),'sheetID':_0x558576,'range':_0x327975,'color':_0x2c1845,'name':_0x3b5911,'selection':_0x1c0806,'left':_0x499652,'top':_0xc78902,'width':_0x201262,'height':_0x21e772,'evented':!0x1,'zIndex':_0x2ca968};return new _0x2c3757(_0x3b5911,_0x2fc6f8);});_0xf45208['addObjects'](_0x15a298,_0x1b2670),this['_cursors']=new Set(_0x15a298);}[_0x1eda19(0x115)](){const _0x59efe3=_0x1eda19;var _0x1b6101;(_0x1b6101=this[_0x59efe3(0x17f)])==null||_0x1b6101[_0x59efe3(0x2a5)](_0x237e78=>_0x237e78[_0x59efe3(0x324)]());}['_getSheetObject'](){const _0x1dd970=_0x1eda19;return _0x24c4a6[_0x1dd970(0x1af)](this['_context']['unit'],this[_0x1dd970(0x31c)]);}};_0x378706=_0x152a63([_0x3f5b66(0x1,_0x3e70b8['Inject'](_0x24c4a6[_0x1eda19(0xbb)])),_0x3f5b66(0x2,_0x3e70b8['Inject'](_0x2b1c7e)),_0x3f5b66(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x1b9)]))],_0x378706);function _0x40110f(_0x42de9f){const _0x4080d5=_0x1eda19,_0x86e9cc=new Map();return _0x42de9f[_0x4080d5(0x2a5)](_0x1fe530=>{const _0x350995=_0x4080d5;if(_0x86e9cc['has'](_0x1fe530[_0x350995(0x150)])){const _0x4b2660=_0x86e9cc['get'](_0x1fe530['selection']);_0x4b2660[_0x350995(0x31f)]+=',\x20'+_0x1fe530[_0x350995(0x31f)];}else _0x86e9cc[_0x350995(0x1e4)](_0x1fe530[_0x350995(0x150)],_0x1fe530);}),Array[_0x4080d5(0xde)](_0x86e9cc['values']());}var _0xb0e0cd=Object[_0x1eda19(0x250)],_0x21ff7b=(_0x2d2d94,_0x11cf02,_0x1016ae,_0x29d017)=>{const _0x2a73ef=_0x1eda19;for(var _0x504792=_0x29d017>0x1?void 0x0:_0x29d017?_0xb0e0cd(_0x11cf02,_0x1016ae):_0x11cf02,_0x282e55=_0x2d2d94[_0x2a73ef(0xfa)]-0x1,_0xbc320f;_0x282e55>=0x0;_0x282e55--)(_0xbc320f=_0x2d2d94[_0x282e55])&&(_0x504792=_0xbc320f(_0x504792)||_0x504792);return _0x504792;},_0x423550=(_0x4553e6,_0x283aca)=>(_0x3a3174,_0x3c175c)=>_0x283aca(_0x3a3174,_0x3c175c,_0x4553e6);let _0xd419f7=class extends _0x3e70b8[_0x1eda19(0x151)]{constructor(_0x482805,_0x5eaac1,_0x4003c8,_0x36e4ec,_0x53c904,_0xab0dea){const _0x5f2c00=_0x1eda19;super(),this[_0x5f2c00(0x258)]=_0x482805,this['_localCacheService']=_0x5eaac1,this[_0x5f2c00(0x153)]=_0x4003c8,this[_0x5f2c00(0x2a1)]=_0x36e4ec,this[_0x5f2c00(0x290)]=_0x53c904,this['_localeService']=_0xab0dea,this[_0x5f2c00(0xb4)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x5cfd90=_0x1eda19;this['disposeWithMe'](this[_0x5cfd90(0x258)][_0x5cfd90(0x22c)](()=>{const _0x28eb34=_0x5cfd90;if(this[_0x28eb34(0x233)][_0x28eb34(0xc7)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x1eda19(0x1a0)](){const _0x854d37=_0x1eda19;this[_0x854d37(0x316)](this[_0x854d37(0x153)]['event$'][_0x854d37(0x2ca)](_0x32ffc0=>{const _0x330c23=_0x854d37;_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x142)]&&this['_messageService']['show']({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x2e8)],'content':this[_0x330c23(0x25c)]['t']('collaboration.single-unit.warning')}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x1ef)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x2e8)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x130))}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)]['PERMISSION_DENIED']&&this[_0x330c23(0x290)][_0x330c23(0x264)]({'title':this['_localeService']['t'](_0x330c23(0x2b3)),'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0xc6)),'type':_0x330c23(0x1fe),'duration':0x0}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x23b)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710['MessageType'][_0x330c23(0x1e0)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x130))+'('+_0x32ffc0[_0x330c23(0x328)]+')'}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x1d4)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)]['Warning'],'content':this[_0x330c23(0x25c)]['t'](_0x32ffc0[_0x330c23(0x328)]||'')}),_0x32ffc0['id']===_0x4bbaf5['CollaborationUIEventId'][_0x330c23(0x1c9)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x2e8)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x303))}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x304)]&&this[_0x330c23(0x2a1)][_0x330c23(0x264)]({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x1e0)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x2de))}),_0x32ffc0['id']===_0x4bbaf5[_0x330c23(0x205)][_0x330c23(0x13c)]&&this[_0x330c23(0x2a1)]['show']({'type':_0x25a710[_0x330c23(0x26f)][_0x330c23(0x1e0)],'content':this[_0x330c23(0x25c)]['t'](_0x330c23(0x28f))});}));}};_0xd419f7=_0x21ff7b([_0x423550(0x0,_0x410b06[_0x1eda19(0x27c)]),_0x423550(0x1,_0x4bbaf5[_0x1eda19(0xf2)]),_0x423550(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5[_0x1eda19(0xba)])),_0x423550(0x3,_0x410b06[_0x1eda19(0x171)]),_0x423550(0x4,_0x410b06[_0x1eda19(0x145)]),_0x423550(0x5,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x24a)]))],_0xd419f7);const _0x1e2954=_0x1eda19(0x21f),_0x11c272={};var _0x123a8d=Object[_0x1eda19(0x250)],_0x495d1e=(_0x2b662e,_0x3b150b,_0x5d7c21,_0x26c94c)=>{const _0x227ce5=_0x1eda19;for(var _0x24afa6=_0x26c94c>0x1?void 0x0:_0x26c94c?_0x123a8d(_0x3b150b,_0x5d7c21):_0x3b150b,_0x4d4079=_0x2b662e[_0x227ce5(0xfa)]-0x1,_0x5da562;_0x4d4079>=0x0;_0x4d4079--)(_0x5da562=_0x2b662e[_0x4d4079])&&(_0x24afa6=_0x5da562(_0x24afa6)||_0x24afa6);return _0x24afa6;},_0x4fe4e1=(_0x23eb0a,_0x53532a)=>(_0x54234a,_0x38c894)=>_0x53532a(_0x54234a,_0x38c894,_0x23eb0a);let _0x169909=class{constructor(_0x2246a1,_0x4eac92){const _0x5a3160=_0x1eda19;this[_0x5a3160(0x178)]=_0x2246a1,this['_renderManagerService']=_0x4eac92;}[_0x1eda19(0xd6)](_0x572506){const _0x11a1d7=_0x1eda19;this['_transformUndoRedoStack'](_0x572506),this[_0x11a1d7(0x2a8)](_0x572506);}[_0x1eda19(0x23a)](_0x2652da){const _0x3fb338=_0x1eda19,{unitID:_0x27dd7d}=_0x2652da,_0x1b65a3=this[_0x3fb338(0x174)][_0x3fb338(0x120)](_0x27dd7d)[_0x3fb338(0xfb)](_0x188185[_0x3fb338(0x2c5)]),{redoCache:_0x455b30}=_0x1b65a3[_0x3fb338(0x224)]();if(_0x455b30['length']===0x0)return _0x2652da;let _0x311f8e=_0x3e70b8[_0x3fb338(0x29b)]['deepClone'](_0x2652da[_0x3fb338(0x23c)][0x0]);for(let _0x344cbe=0x0;_0x344cbe<_0x455b30[_0x3fb338(0xfa)];_0x344cbe++){const _0x369047={'id':'doc.mutation.rich-text-editing','params':{..._0x455b30[_0x344cbe]}},_0xc3c635=this['_transformService'][_0x3fb338(0xe6)](_0x311f8e,_0x369047,!0x1);if(_0x27c608['isTransformMutationFailure'](_0xc3c635))throw _0xc3c635[_0x3fb338(0x1fe)];_0x311f8e=_0xc3c635[_0x3fb338(0xa6)];}return{..._0x3e70b8[_0x3fb338(0x29b)][_0x3fb338(0x1a2)](_0x2652da),'mutations':[_0x311f8e]};}[_0x1eda19(0x118)](_0x3c7580){const _0x530183=_0x1eda19,{unitID:_0x474008}=_0x3c7580,_0x2101d9=this[_0x530183(0x174)][_0x530183(0x120)](_0x474008)[_0x530183(0xfb)](_0x188185[_0x530183(0x2c5)]),{undoCache:_0x25427d,redoCache:_0xfb39c2}=_0x2101d9[_0x530183(0x224)]();if(_0x25427d[_0x530183(0xfa)]===0x0||_0xfb39c2[_0x530183(0xfa)]===0x0)return;const _0x2ae617=[],_0x4d64db=[];let _0x145853=_0x3e70b8['Tools'][_0x530183(0x1a2)](_0x3c7580[_0x530183(0x23c)][0x0]),_0x4035f7=_0x3e70b8[_0x530183(0x29b)]['deepClone'](_0x3c7580['mutations'][0x0]);for(let _0x504cc4=_0x25427d['length']-0x1;_0x504cc4>=0x0;_0x504cc4--){const _0x44d203={'id':_0x530183(0x195),'params':{..._0x25427d[_0x504cc4]}},_0x325167={'id':_0x530183(0x195),'params':{..._0xfb39c2[_0x504cc4]}},_0x3d4b21=this['_transformService'][_0x530183(0xe6)](_0x145853,_0x44d203,!0x1),_0x43a4f0=this[_0x530183(0x178)]['transformMutation'](_0x4035f7,_0x325167,!0x1);if(_0x27c608[_0x530183(0x179)](_0x3d4b21))throw _0x3d4b21[_0x530183(0x1fe)];if(_0x27c608[_0x530183(0x179)](_0x43a4f0))throw _0x43a4f0['error'];_0x2ae617[_0x530183(0x240)](_0x3d4b21[_0x530183(0x248)][_0x530183(0x230)]),_0x4d64db['unshift'](_0x43a4f0['m2Prime'][_0x530183(0x230)]),_0x145853=_0x3d4b21[_0x530183(0xa6)],_0x4035f7=_0x43a4f0[_0x530183(0xa6)];}_0x2101d9[_0x530183(0xf1)]({'undoCache':_0x2ae617,'redoCache':_0x4d64db});}[_0x1eda19(0x2a8)](_0x201aba){const _0x4b3fad=_0x1eda19,{unitID:_0x4c0240}=_0x201aba,_0x790f97=this[_0x4b3fad(0x174)]['getRenderById'](_0x4c0240)['with'](_0x188185['DocIMEInputManagerService']),_0x191621=_0x790f97['getActiveRange']();if(_0x191621==null)return;const _0x43d173=[{'id':_0x4b3fad(0x195),'params':{'unitId':_0x201aba['unitID'],'actions':null,'textRanges':[_0x191621]}}],_0xf54118=this['_transformService'][_0x4b3fad(0x19f)](_0x201aba,_0x43d173);if(!_0x27c608[_0x4b3fad(0x10b)](_0xf54118))throw _0xf54118[_0x4b3fad(0x1fe)];const _0x4116e4=_0xf54118[_0x4b3fad(0x248)][0x0][_0x4b3fad(0x230)][_0x4b3fad(0xa3)];Array['isArray'](_0x4116e4)&&_0x4116e4['length']&&_0x790f97[_0x4b3fad(0x1e7)](_0x4116e4[0x0]);}};_0x169909=_0x495d1e([_0x4fe4e1(0x0,_0x27c608[_0x1eda19(0x183)]),_0x4fe4e1(0x1,_0x14944b['IRenderManagerService'])],_0x169909);var _0x3873f4=Object[_0x1eda19(0x250)],_0x5467ab=(_0x5264ff,_0x55be35,_0x5de7a0,_0x12ae55)=>{const _0x3ff0f4=_0x1eda19;for(var _0x11af9e=_0x12ae55>0x1?void 0x0:_0x12ae55?_0x3873f4(_0x55be35,_0x5de7a0):_0x55be35,_0x1c9417=_0x5264ff[_0x3ff0f4(0xfa)]-0x1,_0x5e59e0;_0x1c9417>=0x0;_0x1c9417--)(_0x5e59e0=_0x5264ff[_0x1c9417])&&(_0x11af9e=_0x5e59e0(_0x11af9e)||_0x11af9e);return _0x11af9e;},_0x5720d9=(_0x5a93f9,_0x4f3e5e)=>(_0x221800,_0x488a9c)=>_0x4f3e5e(_0x221800,_0x488a9c,_0x5a93f9);let _0x205db0=class{constructor(_0x440de6,_0x375552,_0x3784f2){const _0x221f99=_0x1eda19;this['_injector']=_0x440de6,this[_0x221f99(0x178)]=_0x375552,this[_0x221f99(0x2f9)]=_0x3784f2;}[_0x1eda19(0x1ac)](_0x250dcf){const _0x532ae6=_0x1eda19;this[_0x532ae6(0xe9)](_0x250dcf);}[_0x1eda19(0x23a)](_0x2067a3){const _0x5d9001=_0x1eda19,{unitID:_0x4e9e4e}=_0x2067a3,{collaboration:_0x31cbac}=this[_0x5d9001(0x2f9)][_0x5d9001(0x177)](_0x4e9e4e);if(_0x31cbac[_0x5d9001(0xfa)]===0x0)return _0x2067a3;let _0x327180=_0x3e70b8[_0x5d9001(0x29b)][_0x5d9001(0x1a2)](_0x2067a3[_0x5d9001(0x23c)][0x0]);for(let _0x2aa128=0x0;_0x2aa128<_0x31cbac[_0x5d9001(0xfa)];_0x2aa128++){const _0x218887={'id':_0x5d9001(0x195),'params':{'unitId':_0x31cbac[_0x2aa128][_0x5d9001(0x31d)],..._0x31cbac[_0x2aa128][_0x5d9001(0xc2)]}},_0x3e6b96=this['_transformService'][_0x5d9001(0xe6)](_0x327180,_0x218887,!0x1);if(_0x27c608[_0x5d9001(0x179)](_0x3e6b96))throw _0x3e6b96['error'];_0x327180=_0x3e6b96['m1Prime'];}return{..._0x3e70b8[_0x5d9001(0x29b)][_0x5d9001(0x1a2)](_0x2067a3),'mutations':[_0x327180]};}[_0x1eda19(0xe9)](_0x5828e1){const _0x2744f4=_0x1eda19,{unitID:_0x44907e}=_0x5828e1,{history:_0x1ca7a6,collaboration:_0xaa003d}=this[_0x2744f4(0x2f9)][_0x2744f4(0x177)](_0x44907e);if(_0x1ca7a6['length']===0x0&&_0xaa003d[_0x2744f4(0xfa)]===0x0)return;const _0x2c8e4d=[],_0x1929da=[];let _0x2f47bf=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]),_0x5f3a2c=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]);for(let _0x16b3c7=_0x1ca7a6[_0x2744f4(0xfa)]-0x1;_0x16b3c7>=0x0;_0x16b3c7--){const _0x23d8d1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ca7a6[_0x16b3c7][_0x2744f4(0x31d)],..._0x1ca7a6[_0x16b3c7][_0x2744f4(0x235)]}},_0x4d3939={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ca7a6[_0x16b3c7][_0x2744f4(0x31d)],..._0x1ca7a6[_0x16b3c7][_0x2744f4(0xc2)]}},_0x45ad17=this[_0x2744f4(0x178)][_0x2744f4(0xe6)](_0x2f47bf,_0x23d8d1,!0x1),_0x1e3628=this[_0x2744f4(0x178)]['transformMutation'](_0x5f3a2c,_0x4d3939,!0x1);if(_0x27c608[_0x2744f4(0x179)](_0x45ad17))throw _0x45ad17[_0x2744f4(0x1fe)];if(_0x27c608['isTransformMutationFailure'](_0x1e3628))throw _0x1e3628[_0x2744f4(0x1fe)];_0x2c8e4d[_0x2744f4(0x240)]({..._0x1ca7a6[_0x16b3c7],'undoState':_0x45ad17[_0x2744f4(0x248)]['params'],'redoState':_0x1e3628['m2Prime'][_0x2744f4(0x230)]}),_0x2f47bf=_0x45ad17['m1Prime'],_0x5f3a2c=_0x1e3628[_0x2744f4(0xa6)];}_0x2f47bf=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]),_0x5f3a2c=_0x3e70b8[_0x2744f4(0x29b)][_0x2744f4(0x1a2)](_0x5828e1[_0x2744f4(0x23c)][0x0]);for(let _0x49b57f=_0xaa003d[_0x2744f4(0xfa)]-0x1;_0x49b57f>=0x0;_0x49b57f--){const _0x1a7e2c={'id':_0x2744f4(0x195),'params':{'unitId':_0xaa003d[_0x49b57f]['unitId'],..._0xaa003d[_0x49b57f][_0x2744f4(0x235)]}},_0x3b56e6={'id':_0x2744f4(0x195),'params':{'unitId':_0xaa003d[_0x49b57f][_0x2744f4(0x31d)],..._0xaa003d[_0x49b57f][_0x2744f4(0xc2)]}},_0x55d615=this[_0x2744f4(0x178)]['transformMutation'](_0x2f47bf,_0x1a7e2c,!0x1),_0x4f2933=this[_0x2744f4(0x178)][_0x2744f4(0xe6)](_0x5f3a2c,_0x3b56e6,!0x1);if(_0x27c608[_0x2744f4(0x179)](_0x55d615))throw _0x55d615[_0x2744f4(0x1fe)];if(_0x27c608['isTransformMutationFailure'](_0x4f2933))throw _0x4f2933['error'];_0x1929da[_0x2744f4(0x240)]({..._0xaa003d[_0x49b57f],'undoState':_0x55d615[_0x2744f4(0x248)][_0x2744f4(0x230)],'redoState':_0x4f2933[_0x2744f4(0x248)][_0x2744f4(0x230)]}),_0x2f47bf=_0x55d615[_0x2744f4(0xa6)],_0x5f3a2c=_0x4f2933[_0x2744f4(0xa6)];}this[_0x2744f4(0x2f9)][_0x2744f4(0x292)](_0x44907e,{'history':_0x2c8e4d,'collaboration':_0x1929da});}};_0x205db0=_0x5467ab([_0x5720d9(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8['Injector'])),_0x5720d9(0x1,_0x27c608[_0x1eda19(0x183)]),_0x5720d9(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x188185[_0x1eda19(0x2cf)]))],_0x205db0);var _0x86733d=Object[_0x1eda19(0x250)],_0x5e8ca7=(_0x3ed897,_0x5d5fb7,_0x1484d8,_0x383947)=>{const _0x40c286=_0x1eda19;for(var _0x27c3ae=_0x383947>0x1?void 0x0:_0x383947?_0x86733d(_0x5d5fb7,_0x1484d8):_0x5d5fb7,_0x11017f=_0x3ed897[_0x40c286(0xfa)]-0x1,_0x5c5465;_0x11017f>=0x0;_0x11017f--)(_0x5c5465=_0x3ed897[_0x11017f])&&(_0x27c3ae=_0x5c5465(_0x27c3ae)||_0x27c3ae);return _0x27c3ae;},_0x3d5f52=(_0x1a50b8,_0x35884e)=>(_0x8b0e4f,_0x531efb)=>_0x35884e(_0x8b0e4f,_0x531efb,_0x1a50b8);let _0x1beb1d=class{constructor(_0x2769c4,_0x1365ed){const _0x2f435d=_0x1eda19;this[_0x2f435d(0xdd)]=_0x2769c4,this[_0x2f435d(0x178)]=_0x1365ed;}[_0x1eda19(0x2c9)](_0x1b2d47){const _0x3b1cac=_0x1eda19;var _0x4e0540;const _0x33642c=this['_injector'][_0x3b1cac(0x15d)](_0x81b01f['DocSelectionManagerService']),_0x18a734=(_0x4e0540=_0x33642c[_0x3b1cac(0xae)]())!=null?_0x4e0540:[];if(_0x18a734[_0x3b1cac(0xfa)]===0x0)return;const _0x2180ab=_0x1b2d47[_0x3b1cac(0x214)],_0x1a6a1a=[{'id':_0x3b1cac(0x195),'params':{'unitId':_0x2180ab,'actions':null,'textRanges':_0x18a734}}],_0x18668b=this[_0x3b1cac(0x178)]['transformMutationsWithChangeset'](_0x1b2d47,_0x1a6a1a);if(!_0x27c608[_0x3b1cac(0x10b)](_0x18668b))throw _0x18668b[_0x3b1cac(0x1fe)];const _0x49ef8e=_0x18668b[_0x3b1cac(0x248)][0x0]['params']['textRanges'];Array['isArray'](_0x49ef8e)&&_0x49ef8e['length']&&_0x33642c[_0x3b1cac(0x2ee)](_0x49ef8e,{'unitId':_0x2180ab,'subUnitId':_0x2180ab},!0x1);}};_0x1beb1d=_0x5e8ca7([_0x3d5f52(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x3d5f52(0x1,_0x27c608[_0x1eda19(0x183)])],_0x1beb1d);var _0x59679d=Object[_0x1eda19(0x250)],_0x17f0c9=(_0x57a8f5,_0x3e9fc2,_0x11c47c,_0x22c1c2)=>{const _0x48818f=_0x1eda19;for(var _0xe0bb0b=_0x22c1c2>0x1?void 0x0:_0x22c1c2?_0x59679d(_0x3e9fc2,_0x11c47c):_0x3e9fc2,_0x370965=_0x57a8f5[_0x48818f(0xfa)]-0x1,_0x1c53ea;_0x370965>=0x0;_0x370965--)(_0x1c53ea=_0x57a8f5[_0x370965])&&(_0xe0bb0b=_0x1c53ea(_0xe0bb0b)||_0xe0bb0b);return _0xe0bb0b;},_0x2d2f70=(_0x469983,_0x528e87)=>(_0x3f9dfa,_0x2c0a64)=>_0x528e87(_0x3f9dfa,_0x2c0a64,_0x469983);let _0x1c9d5b=class extends _0x3e70b8[_0x1eda19(0x151)]{constructor(_0x1b7dfc,_0xa26dd2,_0x1a14b3,_0x4253b5,_0x4c0d65,_0x2e8400,_0x27b005,_0x25381c){const _0x188258=_0x1eda19;super(),_0x1d81a2(this,_0x188258(0x2c2),new _0x294c14[(_0x188258(0x125))](_0x4bbaf5[_0x188258(0x317)][_0x188258(0x234)])),(this[_0x188258(0x2f9)]=_0x1b7dfc,this[_0x188258(0x25e)]=_0xa26dd2,this[_0x188258(0x225)]=_0x1a14b3,this[_0x188258(0x315)]=_0x4253b5,this[_0x188258(0x1f7)]=_0x4c0d65,this[_0x188258(0x254)]=_0x2e8400,this[_0x188258(0x2a1)]=_0x27b005,this[_0x188258(0x25c)]=_0x25381c,this['_initEntityListener']());}['_initEntityListener'](){const _0x22e0b5=_0x1eda19;this[_0x22e0b5(0x316)](this[_0x22e0b5(0x25e)][_0x22e0b5(0x1bf)][_0x22e0b5(0x2ca)](_0x3696f1=>{const _0x3110eb=_0x22e0b5,_0x328e6e=this[_0x3110eb(0x2f9)][_0x3110eb(0x180)][_0x3110eb(0x2ca)](_0x36941b=>{const _0x539e6f=_0x3110eb;if(_0x36941b==null)return;const {unitId:_0x2bbba7,redoState:_0x109f7a,commandId:_0x1a403d}=_0x36941b;if(_0x2bbba7!==_0x3696f1['unitID'])return;const _0x58d298={'id':_0x1a403d,'type':_0x3e70b8[_0x539e6f(0x159)][_0x539e6f(0x1d0)],'params':{'unitId':_0x2bbba7,'actions':_0x109f7a[_0x539e6f(0x27e)],'textRanges':null}};_0x3696f1[_0x539e6f(0x9c)](_0x58d298);});if(_0x3696f1[_0x3110eb(0x316)](_0x328e6e),_0x3696f1 instanceof _0x4bbaf5[_0x3110eb(0xed)]){const _0x498135={'onTransformIME':_0xdef540=>this['_docTransformIMECacheService'][_0x3110eb(0xd6)](_0xdef540),'onTransformState':_0x3d0a5d=>this[_0x3110eb(0x315)][_0x3110eb(0x1ac)](_0x3d0a5d),'onTransformSelections':_0x1b0504=>this['_docTransformSelectionsService']['transformSelections'](_0x1b0504),'onSyncEditingCollabCursor':_0x8d4ef9=>this[_0x3110eb(0x254)][_0x3110eb(0xd0)](_0x8d4ef9),'onTransformRemoteChangesetByIMECache':_0x33fb73=>this[_0x3110eb(0x225)][_0x3110eb(0x23a)](_0x33fb73),'onTransformRemoteChangesetByStateCache':_0x878d8e=>this[_0x3110eb(0x315)][_0x3110eb(0x23a)](_0x878d8e)};_0x3696f1[_0x3110eb(0xcd)](_0x498135);}}));}};_0x1c9d5b=_0x17f0c9([_0x2d2f70(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x188185[_0x1eda19(0x2cf)])),_0x2d2f70(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x4bbaf5['CollaborationController'])),_0x2d2f70(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x169909)),_0x2d2f70(0x3,_0x3e70b8[_0x1eda19(0x1be)](_0x205db0)),_0x2d2f70(0x4,_0x3e70b8[_0x1eda19(0x1be)](_0x1beb1d)),_0x2d2f70(0x5,_0x3e70b8[_0x1eda19(0x1be)](_0x1d8f47)),_0x2d2f70(0x6,_0x410b06[_0x1eda19(0x171)]),_0x2d2f70(0x7,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x24a)]))],_0x1c9d5b);var _0x3feb8a=Object[_0x1eda19(0x250)],_0x1734d4=(_0x3153cb,_0x583bcb,_0x469878,_0x279d39)=>{for(var _0x402631=_0x279d39>0x1?void 0x0:_0x279d39?_0x3feb8a(_0x583bcb,_0x469878):_0x583bcb,_0x1fa08e=_0x3153cb['length']-0x1,_0x257b27;_0x1fa08e>=0x0;_0x1fa08e--)(_0x257b27=_0x3153cb[_0x1fa08e])&&(_0x402631=_0x257b27(_0x402631)||_0x402631);return _0x402631;},_0x5bef6e=(_0x1abe74,_0xe8806f)=>(_0x212c45,_0x33d3e5)=>_0xe8806f(_0x212c45,_0x33d3e5,_0x1abe74);let _0x651f8b=class extends _0x3e70b8['Disposable']{constructor(_0x2cac7b,_0xd174,_0x47a9ac){const _0x154361=_0x1eda19;super(),_0x1d81a2(this,_0x154361(0x162),new Map()),_0x1d81a2(this,'_saveTaskMap',new Map()),_0x1d81a2(this,'_disabled',!0x1),(this[_0x154361(0x1f4)]=_0x2cac7b,this['_localStorageService']=_0xd174,this[_0x154361(0x228)]=_0x47a9ac);}[_0x1eda19(0x169)](){const _0x36c016=_0x1eda19;this[_0x36c016(0x26a)]=!0x0;}[_0x1eda19(0x185)](){const _0x429141=_0x1eda19;this[_0x429141(0x26a)]=!0x1;}get[_0x1eda19(0xc7)](){const _0x503fd0=_0x1eda19;return this[_0x503fd0(0x1ba)];}[_0x1eda19(0x324)](){const _0x24c021=_0x1eda19;this[_0x24c021(0x184)]()[_0x24c021(0x165)](()=>super[_0x24c021(0x324)]());}async[_0x1eda19(0x23d)](_0x4d0ac9){const _0x2e8d1c=_0x1eda19;return this['_disabled']?null:this['_localStorageService']['getItem'](_0x4bbaf5[_0x2e8d1c(0x1ae)](_0x4d0ac9));}async['saveOfflineData'](_0x11dd41,_0x39746f){const _0x6bb7d9=_0x1eda19;return!!this['_localStorageService'][_0x6bb7d9(0x227)](_0x11dd41,_0x39746f);}['updateOfflineData'](_0x2186b0,_0xf0237a,_0x76b374,_0x1d79b4){const _0xb0736f=_0x1eda19,_0x543173=this[_0xb0736f(0x228)]['getCurrentRevOfUnit'](_0x2186b0);this[_0xb0736f(0x162)][_0xb0736f(0x1e4)](_0x2186b0,{'unitID':_0x2186b0,'type':_0xf0237a,'awaitingChangeset':_0x76b374,'mutations':_0x1d79b4,'rev':_0x543173}),this['_saveTaskMap'][_0xb0736f(0x25b)](_0x2186b0)||this[_0xb0736f(0x187)](_0x2186b0);}[_0x1eda19(0x187)](_0xda676d){const _0x3c52c5=_0x1eda19,_0x3b79bf=this[_0x3c52c5(0x314)]();_0x3b79bf===0x0?this['_saveCache'](_0xda676d):this[_0x3c52c5(0x1ba)]['set'](_0xda676d,setTimeout(()=>this[_0x3c52c5(0x1d5)](_0xda676d),_0x3b79bf));}[_0x1eda19(0x314)](){const _0x3eb47f=_0x1eda19;var _0x39b72c;return(_0x39b72c=this[_0x3eb47f(0x1f4)][_0x3eb47f(0x129)](_0x4bbaf5[_0x3eb47f(0xf0)]))!=null?_0x39b72c:_0x4bbaf5[_0x3eb47f(0x22b)];}[_0x1eda19(0x1d5)](_0x46dcc7){const _0x501dbe=_0x1eda19,_0x16b18c=this[_0x501dbe(0x1ba)][_0x501dbe(0x15d)](_0x46dcc7);return _0x16b18c!==void 0x0&&window[_0x501dbe(0x2a7)](_0x16b18c),this['_localStorageService'][_0x501dbe(0x227)](_0x4bbaf5['getLocalCacheKey'](_0x46dcc7),this[_0x501dbe(0x162)][_0x501dbe(0x15d)](_0x46dcc7))[_0x501dbe(0x165)](()=>this[_0x501dbe(0x1ba)][_0x501dbe(0x2d0)](_0x46dcc7));}async[_0x1eda19(0x184)](){const _0x282101=_0x1eda19,_0x1abebd=[];this[_0x282101(0x1ba)][_0x282101(0x2a5)]((_0x62c4e7,_0x2bd163)=>{const _0x1a7427=_0x282101;window[_0x1a7427(0x2a7)](_0x62c4e7),_0x1abebd[_0x1a7427(0x269)](this[_0x1a7427(0x1d5)](_0x2bd163)[_0x1a7427(0x165)](()=>{const _0x1fa174=_0x1a7427;this[_0x1fa174(0x1ba)][_0x1fa174(0x2d0)](_0x2bd163);}));}),await Promise[_0x282101(0x1eb)](_0x1abebd);}};_0x651f8b=_0x1734d4([_0x5bef6e(0x0,_0x3e70b8['IConfigService']),_0x5bef6e(0x1,_0x3e70b8[_0x1eda19(0x285)]),_0x5bef6e(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x27c608['RevisionService']))],_0x651f8b);class _0x54cf63 extends _0x3e70b8['RxDisposable']{constructor(){const _0x3c2a6c=_0x1eda19;super(),_0x1d81a2(this,'urlChange$'),this[_0x3c2a6c(0x2a3)]=_0x294c14[_0x3c2a6c(0x299)](window,_0x3c2a6c(0x144))[_0x3c2a6c(0x136)](_0x294c14[_0x3c2a6c(0x160)](this[_0x3c2a6c(0x2ce)]),_0x294c14[_0x3c2a6c(0xc3)](0x1),_0x294c14[_0x3c2a6c(0x114)](void 0x0));}[_0x1eda19(0x2d6)](_0x2ba275,_0x12e44f,_0x2347c7=!0x1){const _0x595fc2=_0x1eda19,_0x242b18=new URL(window['location'][_0x595fc2(0x247)]);_0x242b18[_0x595fc2(0x2f2)][_0x595fc2(0x1e4)](_0x2ba275,_0x12e44f),_0x2347c7?window[_0x595fc2(0x155)][_0x595fc2(0x107)]('','',_0x242b18[_0x595fc2(0x1dd)]()):window[_0x595fc2(0x155)]['pushState']('','',_0x242b18['toString']());}[_0x1eda19(0x19c)](_0x565de7,_0x44124d=!0x1){const _0x101665=_0x1eda19,_0x20f79f=new URL(window[_0x101665(0x1b7)]['href']);_0x20f79f[_0x101665(0x2f2)][_0x101665(0x2d0)](_0x565de7),_0x44124d?window[_0x101665(0x155)]['replaceState']('','',_0x20f79f[_0x101665(0x1dd)]()):window[_0x101665(0x155)][_0x101665(0x20b)]('','',_0x20f79f[_0x101665(0x1dd)]());}[_0x1eda19(0x25d)](_0x34b5e6){const _0x4392f6=_0x1eda19;var _0x99877f;return(_0x99877f=new URL(window[_0x4392f6(0x1b7)]['href'])[_0x4392f6(0x2f2)][_0x4392f6(0x15d)](_0x34b5e6))!=null?_0x99877f:void 0x0;}}var _0x3a3097=Object[_0x1eda19(0x2a2)],_0x44a160=Object[_0x1eda19(0x250)],_0x2a9c3a=(_0x2303ed,_0x300cc5,_0x1d73a7)=>_0x300cc5 in _0x2303ed?_0x3a3097(_0x2303ed,_0x300cc5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d73a7}):_0x2303ed[_0x300cc5]=_0x1d73a7,_0x4d9662=(_0x2fa555,_0x157002,_0x24d33a,_0x1ae34a)=>{const _0x174254=_0x1eda19;for(var _0x1382f2=_0x1ae34a>0x1?void 0x0:_0x1ae34a?_0x44a160(_0x157002,_0x24d33a):_0x157002,_0x68e222=_0x2fa555[_0x174254(0xfa)]-0x1,_0x4d9df3;_0x68e222>=0x0;_0x68e222--)(_0x4d9df3=_0x2fa555[_0x68e222])&&(_0x1382f2=_0x4d9df3(_0x1382f2)||_0x1382f2);return _0x1382f2;},_0x13f252=(_0x58c5fc,_0xa72bc7)=>(_0x4a3d1a,_0x33350e)=>_0xa72bc7(_0x4a3d1a,_0x33350e,_0x58c5fc),_0x33b5ca=(_0x422d6b,_0xbee245,_0x30c03d)=>_0x2a9c3a(_0x422d6b,_0xbee245+'',_0x30c03d);const _0xb55163=_0x1eda19(0x9b);_0x35533f[_0x1eda19(0x2c0)]=class extends _0x3e70b8[_0x1eda19(0x288)]{constructor(_0x4e84cd=_0x11c272,_0x14662a,_0x11ca85,_0x235d72){const _0x31b8fb=_0x1eda19;super(),this[_0x31b8fb(0x1d8)]=_0x4e84cd,this[_0x31b8fb(0x174)]=_0x14662a,this[_0x31b8fb(0xdd)]=_0x11ca85,this['_configService']=_0x235d72;const {..._0x4f4520}=_0x3e70b8[_0x31b8fb(0x306)]({},_0x11c272,this['_config']);this[_0x31b8fb(0x1f4)][_0x31b8fb(0x257)](_0x1e2954,_0x4f4520);}[_0x1eda19(0x2b0)](){const _0x15c978=_0x1eda19;this['_registerDependencies'](),this[_0x15c978(0x123)]();}[_0x1eda19(0x19b)](){const _0x2f11e5=_0x1eda19;this[_0x2f11e5(0x21d)]();}[_0x1eda19(0x1f8)](){const _0x48f08a=_0x1eda19;var _0x5a9ed9;const _0x570348=[[_0x598ec8],[_0x1beb1d],[_0x169909],[_0x205db0],[_0x1d8f47],[_0x4f6373,{'useClass':_0x54cf63}],[_0x31b241[_0x48f08a(0x2be)],{'useClass':_0x31b241[_0x48f08a(0x312)]}],[_0x4bbaf5['ILocalCacheService'],{'useClass':_0x651f8b}],[_0x35533f[_0x48f08a(0x279)]],[_0x1c9d5b],[_0xd419f7],[_0x2b1c7e],[_0x12d618],[_0x35533f[_0x48f08a(0x208)]]];_0x3e70b8[_0x48f08a(0x23f)](this[_0x48f08a(0xdd)],_0x3e70b8[_0x48f08a(0x14c)](_0x570348,(_0x5a9ed9=this[_0x48f08a(0x1d8)])==null?void 0x0:_0x5a9ed9[_0x48f08a(0x1aa)]));}[_0x1eda19(0x21d)](){const _0xedf6d=_0x1eda19;this['disposeWithMe'](this[_0xedf6d(0x174)][_0xedf6d(0x2a9)](_0x3e70b8[_0xedf6d(0x10e)][_0xedf6d(0x149)],[_0xffd5df])),this[_0xedf6d(0x316)](this[_0xedf6d(0x174)]['registerRenderModule'](_0x3e70b8[_0xedf6d(0x10e)][_0xedf6d(0x124)],[_0x378706]));}[_0x1eda19(0x123)](){const _0x486663=_0x1eda19;_0x3e70b8['touchDependencies'](this[_0x486663(0xdd)],[[_0x2b1c7e],[_0x35533f['DesktopCollaborationStatusDisplayController']],[_0x1c9d5b],[_0xd419f7],[_0x35533f[_0x486663(0x208)]]]);}},_0x33b5ca(_0x35533f[_0x1eda19(0x2c0)],_0x1eda19(0x220),_0xb55163),_0x35533f[_0x1eda19(0x2c0)]=_0x4d9662([_0x3e70b8[_0x1eda19(0x17b)](_0x4bbaf5[_0x1eda19(0x173)]),_0x13f252(0x1,_0x14944b['IRenderManagerService']),_0x13f252(0x2,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x13f252(0x3,_0x3e70b8[_0x1eda19(0x27a)])],_0x35533f[_0x1eda19(0x2c0)]);var _0x478975=Object[_0x1eda19(0x250)],_0x1cc269=(_0x585c06,_0x5c7884,_0x20c582,_0x29abda)=>{const _0x322adb=_0x1eda19;for(var _0xc3c7b5=_0x29abda>0x1?void 0x0:_0x29abda?_0x478975(_0x5c7884,_0x20c582):_0x5c7884,_0x31f34e=_0x585c06[_0x322adb(0xfa)]-0x1,_0x44f680;_0x31f34e>=0x0;_0x31f34e--)(_0x44f680=_0x585c06[_0x31f34e])&&(_0xc3c7b5=_0x44f680(_0xc3c7b5)||_0xc3c7b5);return _0xc3c7b5;},_0x5f4083=(_0x404f8d,_0x592878)=>(_0x36afe9,_0x2017ee)=>_0x592878(_0x36afe9,_0x2017ee,_0x404f8d);_0x35533f['BrowserCollaborationSocketService']=class extends _0x4bbaf5[_0x1eda19(0x133)]{constructor(_0x53dd21,_0x26524b,_0x1593ba,_0xfd3029,_0x2b6407){super(_0x53dd21,_0x26524b,_0x1593ba,_0xfd3029,_0x2b6407);}async['createSocket'](_0x24e6bb){const _0x27b025=_0x1eda19,_0x492afc=await this[_0x27b025(0x11a)](),_0x284132=this['_createSocketURL'](_0x24e6bb,_0x492afc);return this[_0x27b025(0x30c)](_0x284132);}[_0x1eda19(0x1d1)](_0x30bb18,_0x10caa0){const _0x164e6a=_0x1eda19,_0x2fbe2f=typeof window>'u'?new URL(_0x30bb18):new URL(_0x30bb18,window[_0x164e6a(0x1b7)][_0x164e6a(0x21c)]);_0x2fbe2f[_0x164e6a(0x2f2)][_0x164e6a(0x1e4)](_0x164e6a(0x2ed),_0x10caa0);const _0x582fb9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x164e6a(0x188)]);return _0x582fb9['get'](_0x164e6a(0x13d))&&_0x2fbe2f[_0x164e6a(0x2f2)][_0x164e6a(0x1e4)](_0x164e6a(0x13d),_0x582fb9[_0x164e6a(0x15d)](_0x164e6a(0x13d))),_0x2fbe2f[_0x164e6a(0x1dd)]();}async['_getSessionTicket'](){const _0xfd1298=_0x1eda19;var _0x4a9242,_0x2748e1,_0x2c6bfa;const _0xbe3b74=this[_0xfd1298(0x1f4)][_0xfd1298(0x129)](_0x4bbaf5[_0xfd1298(0xa1)]),_0x12b5a5=(_0x4a9242=_0xbe3b74==null?void 0x0:_0xbe3b74[_0xfd1298(0xbf)])!=null?_0x4a9242:_0x4bbaf5[_0xfd1298(0x176)];return(_0x2c6bfa=(_0x2748e1=(await this[_0xfd1298(0x30b)][_0xfd1298(0x15d)](_0x12b5a5,{'headers':{'Content-Type':_0xfd1298(0x200)}}))[_0xfd1298(0x15e)])==null?void 0x0:_0x2748e1[_0xfd1298(0xd3)])!=null?_0x2c6bfa:'';}},_0x35533f['BrowserCollaborationSocketService']=_0x1cc269([_0x5f4083(0x0,_0x3e70b8[_0x1eda19(0x1be)](_0x3e70b8[_0x1eda19(0x2aa)])),_0x5f4083(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x31b241[_0x1eda19(0x2af)])),_0x5f4083(0x2,_0x3e70b8[_0x1eda19(0x27a)]),_0x5f4083(0x3,_0x3e70b8['ILogService']),_0x5f4083(0x4,_0x27c608[_0x1eda19(0x20a)])],_0x35533f[_0x1eda19(0x26b)]);var _0x4f4b1d=(_0x2d6ec4=>(_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2a6)]=0x0]=_0x1eda19(0x2a6),_0x2d6ec4[_0x2d6ec4['OK']=0x1]='OK',_0x2d6ec4[_0x2d6ec4['INTERNAL_ERROR']=0x2]=_0x1eda19(0x108),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1c4)]=0x3]='PERMISSION_DENIED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0xf7)]=0x4]='NOT_FOUND',_0x2d6ec4[_0x2d6ec4['UNAUTHENTICATED']=0x5]=_0x1eda19(0x226),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x27d)]=0x6]=_0x1eda19(0x27d),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x167)]=0x7]=_0x1eda19(0x167),_0x2d6ec4[_0x2d6ec4['TOO_MANY_REQUESTS']=0x8]=_0x1eda19(0x218),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1b6)]=0x9]=_0x1eda19(0x1b6),_0x2d6ec4[_0x2d6ec4['LOGIN_FAILED']=0xa]=_0x1eda19(0x1fd),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2eb)]=0xb]=_0x1eda19(0x2eb),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x9f)]=0xc]=_0x1eda19(0x9f),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x271)]=0xd]=_0x1eda19(0x271),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2a4)]=0xe]=_0x1eda19(0x2a4),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x189)]=0x1389]=_0x1eda19(0x189),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x19a)]=0x1771]=_0x1eda19(0x19a),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1d9)]=0x1772]=_0x1eda19(0x1d9),_0x2d6ec4[_0x2d6ec4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1eda19(0x267),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x27b)]=0x1b59]=_0x1eda19(0x27b),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1ff)]=0x1b5a]=_0x1eda19(0x1ff),_0x2d6ec4[_0x2d6ec4['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1eda19(0x91),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x325)]=0x1b5c]=_0x1eda19(0x325),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x217)]=0x1b5d]='APPLY_DUPLICATED',_0x2d6ec4[_0x2d6ec4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1eda19(0x2cd),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2fa)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x8b)]=0x232a]=_0x1eda19(0x8b),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0xe7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2d6ec4[_0x2d6ec4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0xaf)]=0x232d]=_0x1eda19(0xaf),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1fa)]=0x2711]=_0x1eda19(0x1fa),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x203)]=0x2712]=_0x1eda19(0x203),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2f6)]=0x2713]=_0x1eda19(0x2f6),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x92)]=0x2714]=_0x1eda19(0x92),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x1c8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2e1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x11e)]=0x271c]=_0x1eda19(0x11e),_0x2d6ec4[_0x2d6ec4['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x1eda19(0x259),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2e5)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2c3)]=0x271f]=_0x1eda19(0x2c3),_0x2d6ec4[_0x2d6ec4['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1eda19(0x2fd),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x20e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x186)]=0x2ee1]=_0x1eda19(0x186),_0x2d6ec4[_0x2d6ec4['INVALID_INVITE_CODE']=0x2ee2]=_0x1eda19(0x175),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x127)]=0x2ee3]=_0x1eda19(0x127),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x213)]=0x2ee4]=_0x1eda19(0x213),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x17e)]=0x2ee5]=_0x1eda19(0x17e),_0x2d6ec4[_0x2d6ec4['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2ef)]=0x32ca]=_0x1eda19(0x2ef),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x2c8)]=0x32cb]=_0x1eda19(0x2c8),_0x2d6ec4[_0x2d6ec4[_0x1eda19(0x204)]=-0x1]=_0x1eda19(0x204),_0x2d6ec4))(_0x4f4b1d||{}),_0x4a71cc=Object[_0x1eda19(0x250)],_0x503ebf=(_0x34b9c7,_0x2ae402,_0x4abdae,_0x1941ee)=>{for(var _0x384f67=_0x1941ee>0x1?void 0x0:_0x1941ee?_0x4a71cc(_0x2ae402,_0x4abdae):_0x2ae402,_0x43afc9=_0x34b9c7['length']-0x1,_0x5661e5;_0x43afc9>=0x0;_0x43afc9--)(_0x5661e5=_0x34b9c7[_0x43afc9])&&(_0x384f67=_0x5661e5(_0x384f67)||_0x384f67);return _0x384f67;},_0x33017c=(_0x1dbe1d,_0x31f198)=>(_0x470ee3,_0x3238d9)=>_0x31f198(_0x470ee3,_0x3238d9,_0x1dbe1d);_0x35533f[_0x1eda19(0x8f)]=class extends _0x3e70b8[_0x1eda19(0x151)]{constructor(_0x32e9d4,_0x48fdd5,_0x595956){const _0x1f3d87=_0x1eda19;super(),this['_instanceService']=_0x32e9d4,this[_0x1f3d87(0x30b)]=_0x48fdd5,this[_0x1f3d87(0x1f4)]=_0x595956;}async[_0x1eda19(0x307)](_0x4cb463,_0x10c0a1,_0x4969a5,..._0x1b5258){const _0x1b8360=_0x1eda19;var _0x5c577b,_0x3d5bf8,_0x29569b,_0x1c5b83;const _0x25b3c8=this[_0x1b8360(0x2ab)][_0x1b8360(0x2b2)]();if(!_0x25b3c8)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4510ad=((_0x5c577b=this[_0x1b8360(0x1f4)][_0x1b8360(0x129)](_0x4bbaf5['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5c577b:_0x4bbaf5['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4cb463+_0x1b8360(0x2b1)+_0x10c0a1,_0x3dd1fc=new URL(window['location'][_0x1b8360(0x247)]),_0x3ab5bf={'scriptId':_0x4cb463,'runId':(_0x3d5bf8=_0x3dd1fc[_0x1b8360(0x2f2)][_0x1b8360(0x15d)](_0x1b8360(0x13d)))!=null?_0x3d5bf8:'','function':_0x10c0a1,'unitId':_0x25b3c8['getUnitId'](),'argsOfFunction':JSON[_0x1b8360(0x2bc)](_0x1b5258),'invokeId':(_0x29569b=_0x4969a5['invokeId'])!=null?_0x29569b:'','executionId':(_0x1c5b83=_0x4969a5[_0x1b8360(0x1f6)])!=null?_0x1c5b83:''};try{const _0x12da49=await this['_httpService'][_0x1b8360(0x1a3)](_0x4510ad,{'body':_0x3ab5bf});return _0x12da49[_0x1b8360(0x15e)][_0x1b8360(0x1fe)]&&_0x12da49[_0x1b8360(0x15e)][_0x1b8360(0x1fe)]['code']!==_0x4f4b1d['OK']?_0x1b8360(0xb5):_0x12da49[_0x1b8360(0x15e)]['result'];}catch{return _0x1b8360(0xb5);}}},_0x35533f[_0x1eda19(0x8f)]=_0x503ebf([_0x33017c(0x0,_0x3e70b8['IUniverInstanceService']),_0x33017c(0x1,_0x3e70b8[_0x1eda19(0x1be)](_0x31b241['HTTPService'])),_0x33017c(0x2,_0x3e70b8[_0x1eda19(0x27a)])],_0x35533f['RemoteUniscriptService']);const _0x5e10a5=0x7530,_0xbf7394=_0x1eda19(0x277);class _0x492d42 extends _0x3e70b8[_0x1eda19(0x151)]{constructor(){const _0x2d9a8d=_0x1eda19;super(),_0x1d81a2(this,'_id',_0x3e70b8[_0x2d9a8d(0x2cc)]()),_0x1d81a2(this,_0x2d9a8d(0x103),new Set()),_0x1d81a2(this,_0x2d9a8d(0x2d5),new Map()),_0x1d81a2(this,'_heartbeatTimer',null),_0x1d81a2(this,'_clearOtherTimers',new Map()),_0x1d81a2(this,'_unitStatus',new Map()),this[_0x2d9a8d(0x237)]();}[_0x1eda19(0x324)](){const _0x1f36b6=_0x1eda19;super[_0x1f36b6(0x324)](),this['_clearOtherTimers'][_0x1f36b6(0x2a5)]((_0xf360bb,_0x50545b)=>this['_removeClearOtherTimer'](_0x50545b)),this['_heartbeatTimer']&&window[_0x1f36b6(0x18b)](this[_0x1f36b6(0x263)]);}['getUnitStatus$'](_0x1d8b5e){const _0x3e63af=_0x1eda19;return this['_ensureSubject'](_0x1d8b5e)[_0x3e63af(0x136)](_0x294c14[_0x3e63af(0xbc)]());}[_0x1eda19(0x2b6)](_0x15377f){const _0x44fe14=_0x1eda19;this[_0x44fe14(0x103)][_0x44fe14(0xc1)]===0x0&&this[_0x44fe14(0x215)](),this['_selfUnitIDs'][_0x44fe14(0x9e)](_0x15377f),this[_0x44fe14(0x2d2)]({'type':0x0,'memberID':this[_0x44fe14(0xca)],'unitIDs':[_0x15377f],'isForwarded':!0x1});}['disposeUnit'](_0x53cbf0){const _0x2765fe=_0x1eda19;this[_0x2765fe(0x103)][_0x2765fe(0x2d0)](_0x53cbf0),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x2765fe(0x18b)](this[_0x2765fe(0x263)]);}[_0x1eda19(0x237)](){const _0x5161a6=_0x1eda19;this['disposeWithMe'](_0x3e70b8[_0x5161a6(0x2fc)](_0x294c14[_0x5161a6(0x299)](window,_0x5161a6(0x12b))['subscribe'](_0x141264=>{const _0x1ded48=_0x5161a6;if(_0x141264['key']!==_0xbf7394||!_0x141264[_0x1ded48(0x163)])return;const _0x4efd25=JSON[_0x1ded48(0x256)](_0x141264[_0x1ded48(0x163)]);this['_handleEvent'](_0x4efd25);}))),window['addEventListener'](_0x5161a6(0xbe),()=>this[_0x5161a6(0x2d2)]({'type':0x1,'memberID':this[_0x5161a6(0xca)],'unitIDs':Array[_0x5161a6(0xde)](this[_0x5161a6(0x103)])}));}[_0x1eda19(0x172)](_0x322849){const _0x4b2b20=_0x1eda19;switch(_0x322849[_0x4b2b20(0x207)]){case 0x0:this['_handleJoinEvent'](_0x322849);break;case 0x1:this['_handleLeaveEvent'](_0x322849);break;case 0x2:this[_0x4b2b20(0x1f3)](_0x322849);break;}}['_handleJoinEvent'](_0x44ad27){const _0x3b3fa5=_0x1eda19,{unitIDs:_0x30002f,memberID:_0x6febf,isForwarded:_0x30198b}=_0x44ad27;_0x30002f[_0x3b3fa5(0x2a5)](_0x57cf77=>{const _0xfa585d=_0x3b3fa5;if(!_0x30198b&&this[_0xfa585d(0x2d5)][_0xfa585d(0x25b)](_0x57cf77)&&this['_ensureSubject'](_0x57cf77)[_0xfa585d(0x190)](_0x4bbaf5[_0xfa585d(0x326)][_0xfa585d(0x201)]),!this['_unitOnClients'][_0xfa585d(0x25b)](_0x57cf77)||!this[_0xfa585d(0x2d5)]['get'](_0x57cf77)['has'](_0x6febf)){const _0x248a78=this['_unitOnClients'][_0xfa585d(0x15d)](_0x57cf77)||new Set();_0x248a78['add'](_0x6febf),this[_0xfa585d(0x2d5)][_0xfa585d(0x1e4)](_0x57cf77,_0x248a78),this[_0xfa585d(0x113)](_0x6febf);}}),_0x30198b||this[_0x3b3fa5(0x2d2)]({'type':0x0,'memberID':this[_0x3b3fa5(0xca)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1eda19(0x113)](_0x5050e4){const _0x2306c6=_0x1eda19;this[_0x2306c6(0x112)](_0x5050e4);const _0x3beb16=window[_0x2306c6(0x322)](()=>{const _0x180b8f=_0x2306c6;this[_0x180b8f(0x2d5)][_0x180b8f(0x2a5)](_0x5d6a6c=>{_0x5d6a6c['delete'](_0x5050e4);});},_0x5e10a5*0x2);this[_0x2306c6(0x109)]['set'](_0x5050e4,_0x3beb16);}['_removeClearOtherTimer'](_0x2836c5){const _0x33bb19=_0x1eda19;if(this[_0x33bb19(0x109)][_0x33bb19(0x25b)](_0x2836c5)){const _0xf3f6c0=this['_clearOtherTimers'][_0x33bb19(0x15d)](_0x2836c5);_0xf3f6c0&&window[_0x33bb19(0x2a7)](_0xf3f6c0),this[_0x33bb19(0x109)]['set'](_0x2836c5,null);}}[_0x1eda19(0xda)](_0x3f8702){const _0x541fbb=_0x1eda19,{memberID:_0x6e7989,unitIDs:_0x1e235d}=_0x3f8702;_0x1e235d[_0x541fbb(0x2a5)](_0x169a26=>{const _0x188938=_0x541fbb;var _0x306d4e;const _0x1a7f7a=this[_0x188938(0x2d5)]['get'](_0x169a26);_0x1a7f7a&&(_0x1a7f7a['delete'](_0x6e7989),(_0x306d4e=this['_ensureSubject'](_0x169a26))==null||_0x306d4e[_0x188938(0x190)](_0x1a7f7a[_0x188938(0xc1)]===0x0?_0x4bbaf5['UnitStatus'][_0x188938(0x26e)]:_0x4bbaf5[_0x188938(0x326)][_0x188938(0x201)]));}),this[_0x541fbb(0x112)](_0x6e7989);}['_handleHeartbeatEvent'](_0x1e0841){const _0x555384=_0x1eda19;this[_0x555384(0x113)](_0x1e0841[_0x555384(0x20d)]);}['_send'](_0x102e2a){const _0xec6f3b=_0x1eda19;localStorage[_0xec6f3b(0x227)](_0xbf7394,JSON[_0xec6f3b(0x2bc)](_0x102e2a));}[_0x1eda19(0x215)](){const _0xd5b87f=_0x1eda19;this['_heartbeatTimer']=window[_0xd5b87f(0x2d1)](()=>{const _0x8db6f3=_0xd5b87f;this[_0x8db6f3(0x2d2)]({'type':0x2,'memberID':this['_id']});},_0x5e10a5);}['_ensureSubject'](_0x544e23){const _0x1500ff=_0x1eda19;return this[_0x1500ff(0xd4)][_0x1500ff(0x25b)](_0x544e23)||this['_unitStatus'][_0x1500ff(0x1e4)](_0x544e23,new _0x294c14[(_0x1500ff(0x125))](_0x4bbaf5[_0x1500ff(0x326)][_0x1500ff(0x26e)])),this[_0x1500ff(0xd4)][_0x1500ff(0x15d)](_0x544e23);}}_0x35533f[_0x1eda19(0x274)]=_0x4f6373,_0x35533f[_0x1eda19(0x2c6)]=_0x2c3757,_0x35533f[_0x1eda19(0x280)]=_0x492d42,_0x35533f[_0x1eda19(0x199)]=_0x54cf63,Object['defineProperty'](_0x35533f,Symbol[_0x1eda19(0x12c)],{'value':_0x1eda19(0x276)});}));function _0x853e(){const _0x526fff=['_backgroundColor','all','createIdentifier','currentColor','complete','CLOSE_ROOM','extend','icon','requireSession','_handleHeartbeatEvent','_configService','skeleton','executionId','_docTransformSelectionsService','_registerDependencies','_docClipboardService','YUUMI_UNABLE_LOAD_URL','_commandService','color','LOGIN_FAILED','error','APPLY_NON_SEQUENTIAL_REVISION','application/json','OTHER_CLIENTS_EDITING','_anchor','YUUMI_URL_COL_OUT_OF_RANGE','UNRECOGNIZED','CollaborationUIEventId','_updateSubUnitFromURLParams','type','CollaborationDataLoaderController','handleMoveRange','ISnapshotServerService','pushState','createInstance','memberID','PY_RUNTIME_SCRIPT_ERROR','_color','NodePositionConvertToRectRange','function','find','USER_NOT_INVITED_CODE','unitID','_scheduleHeartbeat','endColumn','APPLY_DUPLICATED','TOO_MANY_REQUESTS','svg','IRemoteInstanceService','tag','origin','_registerRenderDependencies','_eventUnsubscribe','collaboration-client-ui.config','pluginName','idSuffix','handleInsertRangeMoveDown','values','getUndoRedoMutationParamsCache','_docTransformIMECacheService','UNAUTHENTICATED','setItem','_revisionService','width','children','LOCAL_CACHE_INTERVAL','registerBeforeClose','getColorFromTheme','_collabCursorState$','text','params','onMouseMove','UniverSheets','_localCacheService','NOT_COLLAB','undoState','_logService','_init','UniverDocsUi','DeleteRangeMoveUpCommandId','transformRemoteChangeset','CONFLICT','mutations','loadOfflineData','switchMap','registerDependencies','unshift','cursorInfo','45GaLBSu','SetWorksheetActivateCommand','url(#$1','activeSheet$','propertyIsEnumerable','href','m2Prime','UniverDocs','LocaleService','handleDeleteRangeMoveLeft','useDependency','_updateURLWithCurrentState','collabStatus.offline','727500uRxsQh','getOwnPropertyDescriptor','sessionStatus$','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','getOwnPropertySymbols','_docSyncEditingCollabCursorService','_onCursorUpdate','parse','setConfig','_beforeCloseService','YUUMI_ALL_TABLES_IS_INVALID','FETCH_MISS','has','_localeService','getParam','_collaborationController','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','262784GshzcZ','TEXT_RANGE_LAYER_INDEX','HEADER_MENU','_heartbeatTimer','show','runRefRangeMutations','RECT','ENSURE_SNAPSHOT_EXECUTION','collab-text-anchor-','push','_disabled','BrowserCollaborationSocketService','url(#on-line-icon_clip0_910_349)','UniverCore','NO_OTHER_CLIENTS_EDITING','MessageType','_hovered','EMAIL_VERIFY_CODE_MISMATCH','getSheetBySheetId','getOffsetConfig','IURLService','clipPath','Module','ACTIVE_UNIT_EVENT_CHANNEL','UniverIcon','DesktopCollaborationStatusDisplayController','IConfigService','APPLY_REJECT','IBeforeCloseService','ALREADY_EXISTS','actions','_drawRectRange','WebBrowserSingleActiveUnitService','_range','SheetsSelectionsService','lineTo','filter','ILocalStorageService','RegularPolygon','_cursor','Plugin','_updateCollabCursors','includes','event$','CollaborationSessionService','handleInsertCol','currentTheme$','session.collaboration-timeout','_notificationService','row','setStateCache','evenodd','trim','_getSheetObject','useObservable','bottom','closePath','fromEvent','green.600','Tools','hovered','_refreshCollabCursors','replace','collabStatus.synced','React','_messageService','defineProperty','urlChange$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','forEach','UNDEFINED','clearTimeout','_transformPreviousActiveRange','registerRenderModule','Injector','_instanceService','_syncEditingCollabCursorService','hasOwnProperty','UniverProCollaboration','HTTPService','onStarting','/run/','getFocusedUnit','permission.title','useRef','getSheetId','editingUnit','on-line-icon','42766cIlKlK','NodePositionConvertToCursor','min','SetSelectionsOperation','stringify','DOC_RANGE_TYPE','ISocketService','_drawTextRange','UniverCollaborationClientUIPlugin','229761ngrILg','_status$','YUUMI_AI_RUN_FAILED','Optional','DocIMEInputManagerService','SheetCollabCursorShape','_sheetSkeletonManagerService','EMAIL_HAS_BEEN_BOUND','transformSelections','subscribe','subunit','generateRandomId','CONNECTOR_DATA_TOO_LARGE','dispose$','DocStateChangeManagerService','delete','setInterval','_send','IImageIoService','collabStatus.notCollab','_unitOnClients','setParam','_assignedColors','div','SetTextSelectionsOperation','subUnitId','subscribeEvent','eventID','purple.300','session.connection-failed','_entities','getCurrent','YUUMI_ASYNCIO_CANCELLED','DataLoaderService','handleIRemoveRow','isEditing','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','0\x200\x2017\x2016','_univerInstanceService','Warning','_drawAnchor','@univerjs/ui','MOBILE_VERIFY_CODE_MISMATCH','@univerjs/docs-ui','sessionTicket','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','_colorAssignService','hide','searchParams','onCommandExecuted','UniverDesign','off-line-icon_clip0_910_343','YUUMI_RATE_OVER_LIMIT','defs','getUnitId','_docStateChangeManagerService','LICENSE_MAX_UNITS_EXCEEDED','getMemberID','toDisposable','YUUMI_CONNECTOR_URL_NOT_FOUND','white','getCoordByCell','focused$','Shape','jsx','session.will-retry','SOCKET_FAILED','_setupSubUnitSync','merge','runOnServer','_uiPartsService','addObject','_getScale','_httpService','_doCreateSocket','getValue','getSkeleton','getActiveSheet','MemberService','_startSheetCollabCursor','WebSocketService','CollaborationEvent','_getSaveTimeout','_docTransformStateCacheService','disposeWithMe','CollaborationStatus','transformByState','fillText','handleIRemoveCol','entries','_context','unitId','TEXT','name','OFFLINE','Subject','setTimeout','_shapes','dispose','APPLY_PERMISSION_DENIED','UnitStatus','executeCommand','data','onPointerEnter$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collab-rect-range-','_document','handleDeleteRangeMoveUp','RemoteUniscriptService','indexOf','APPLY_REVISION_CONFILICT','YUUMI_SUBSCRIPTION_NOT_FOUND','COLORS','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverProCollaborationClient','Rectangle','debounce','_getAnchorBounding','collabStatus.conflict','RemoveRowCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onLocalMutation','isActive','add','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_toggleOffline','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_colorIndex','textRanges','restore','unsubscribe','m1Prime','startsWith','blue.400','IUniverInstanceService','_handleHover','roomMembers$','Rect','PENDING','getDocRanges','LICENSE_DISTRO_REJECTED','_render','_imageIoService','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','assign','_setupBeforeClosingHandler','Failed','connectInjector','Unknown\x20user','Vector2','throttleTime','CollaborationUIEventService','SheetSkeletonManagerService','distinctUntilChanged','RemoveColCommandId','unload','wsSessionTicketUrl','operators','size','redoState','shareReplay','rgba(255,\x20255,\x20255,\x200.01)','_docSkeletonManagerService','permission.content','saveTaskMap','getCellPositionByOffset','SHEET_VIEWPORT_KEY','_id','isArray','_onCursorDelete','addHandlerCallback','OnLineIcon','_getMergeRange','syncEditingCollabCursor','getUnhiddenWorksheets','RxDisposable','ticket','_unitStatus','collab-text-range-','transformIMECache','FromArray','_cursorInfo$','translate(.97)','_handleLeaveEvent','147aAByKp','triggerDblclick','_injector','from','collabStatus.syncing','UniverSheetsUi','ICommandService','_hideTimer','random','@univerjs/engine-formula','labelPosition','transformMutation','LICENSE_IMPORT_SIZE_EXCEEDED','_scene','_transformHistoryAndStateStack','colorChannel1','xlink:href','deserializeRangeWithSheet','DocCollaborationEntity','range','_lastPointer','LOCAL_CACHE_INTERVAL_KEY','setUndoRedoMutationParamsCache','ILocalCacheService','SessionStatus','send','@univerjs-pro/collaboration-client','arc','NOT_FOUND','getTypeOfUnitAdded$','init','length','with','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','attrs','endRow','_initCommandExecutedListener','getAncestorScale','defIds','fill','_selfUnitIDs','getCollabCursors$','_memberService','UPDATE_CURSOR','replaceState','INTERNAL_ERROR','_clearOtherTimers','getCurrentUnitForType','isTransformMutationsWithChangesetSuccess','collabStatus.fetchMiss','prototype','UniverInstanceType','jiqing.500','BuiltInUIPart','className','_removeClearOtherTimer','_scheduleClearOtherTimer','mapTo','_removeCollabCursors','substring','Workbook','_transformUndoRedoStack','on-line-icon_clip0_910_349','_getSessionTicket','34096172tMGmuE','UniverNetwork','_name','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ranges','getRenderById','path','4348224joJxaA','_initDependencies','UNIVER_SHEET','BehaviorSubject','sheetId','INVITE_CODE_REQUIRED','createElement','getConfig','IUIPartsService','storage','toStringTag','_toggleOnline','getRangePointData','_refRangeService','collaboration.closeRoom','ONLINE','AWAITING_WITH_PENDING','CollaborationSocketService','RichTextEditingMutation','string','pipe','_online','cursorInfo$','_roomMembers$','split','call','SUBMIT_CHANGESET_TIMEOUT','runId','onTransformChange$','combineLatest','max','height','OTHER_CLIENT_EDITING','drawWith','popstate','INotificationService','currentSkeleton$','save','getTypeOfUnitDisposed$','UNIVER_DOC','DocSkeletonManagerService','0\x200\x2016\x2016','mergeOverrideWithDependencies','handleInsertRow','setShapeProps','1389105qIQewF','selection','Disposable','EffectRefRangId','_collaborationUIEventService','InsertRangeMoveDownCommandId','history','handleInsertRangeMoveRight','_themeService','_updateLocalCursor','CommandType','_urlService','map','source','get','body','current','takeUntil','yellow.400','_cachedData','newValue','contains','then','forwardRef','INVALID_ARGUMENT','@univerjs/sheets','disableLocalCache','@univerjs/sheets-ui','uni.network.url-service','selections','status$','rxjs/operators','93cZHTmK','_collabSessionService','IMessageService','_handleEvent','UniverCollaborationClientPlugin','_renderManagerService','INVALID_INVITE_CODE','DEFAULT_WS_SESSION_TICKET_URL','getStateCache','_transformService','isTransformMutationFailure','black','DependentOn','@univerjs/network','_collabCursorController','INVITE_CODE_ALREADY_BOUND','_cursors','docStateChange$','debounceTime','_hover','ITransformService','exhaustSavingTask','enableLocalCache','INVITE_CODE_HAS_BEEN_UES','_scheduleSaving','search','CHANGESET_REVISION_CONFILICT','...','clearInterval','object','_initStatusListener','registerRefRange','assignAColorForMemberID','next','_anchorDot','_textBubble','none','_labelPosition','doc.mutation.rich-text-editing','SetDocZoomRatioOperation','getColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','WebURLService','SNAPSHOT_INVALID_SNAPSHOT','onRendered','removeParam','SYNCED','font','transformMutationsWithChangeset','_initEvent','8zRNnto','deepClone','post','measureText','rxjs','jsxs','column','_onRefRangeChange','univerjs-icon\x20univerjs-icon-','override','backgroundColor','transformStateCache','_startDocCollabCursor','getLocalCacheKey','getSheetObject','engine','debug','moveTo','DeleteRangeMoveLeftCommandId','some','round','COMPLETION_FINISHED','location','setAlpha','ThemeService','_saveTaskMap','UniverEngineFormula','addClipboardHook','DocSelectionManagerService','Inject','entityInit$','sheetID','asObservable','1em','_initStatusComponent','PERMISSION_DENIED','useCallback','concat','onPointerMove$','YUUMI_NO_CUBOID_FOR_QUESTION','SOCKET_FAILED_RETRY','findNodePositionByCharIndex','USERS_LEAVE','InsertColCommandId','getMember','getVpScrollXYInfoByPosToVp','@univerjs/rpc','MUTATION','_createSocketURL','loadUnit','displayName','JOIN_ROOM_FAILED','_saveCache','[CollaborationDataLoaderController]','top','_config','SNAPSHOT_HAS_BEEN_REMOVED','ILogService','_session','_cursorShapes','toString','exports','_docSkeleton','Error','saveImage','UniverProCollaborationClientUi','TRANSFORM_CHANGE_OBSERVABLE_TYPE','set','_entityInit$','mask','setActiveRange','_initResize','roomMembers'];_0x853e=function(){return _0x526fff;};return _0x853e();}