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

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 _0x6e2a(_0x43a791,_0x5af8b8){const _0x434d5a=_0x434d();return _0x6e2a=function(_0x6e2a6d,_0x186a4a){_0x6e2a6d=_0x6e2a6d-0xf7;let _0x4b67cc=_0x434d5a[_0x6e2a6d];return _0x4b67cc;},_0x6e2a(_0x43a791,_0x5af8b8);}(function(_0x54edd1,_0x2fa831){const _0x2da7b5=_0x6e2a,_0x33300b=_0x54edd1();while(!![]){try{const _0x29a6c6=parseInt(_0x2da7b5(0x381))/0x1+-parseInt(_0x2da7b5(0x314))/0x2+-parseInt(_0x2da7b5(0x2a8))/0x3*(parseInt(_0x2da7b5(0x29b))/0x4)+parseInt(_0x2da7b5(0x371))/0x5*(parseInt(_0x2da7b5(0x301))/0x6)+parseInt(_0x2da7b5(0x1c8))/0x7*(-parseInt(_0x2da7b5(0x2c6))/0x8)+-parseInt(_0x2da7b5(0x18e))/0x9+-parseInt(_0x2da7b5(0x2c3))/0xa*(-parseInt(_0x2da7b5(0x287))/0xb);if(_0x29a6c6===_0x2fa831)break;else _0x33300b['push'](_0x33300b['shift']());}catch(_0x36da57){_0x33300b['push'](_0x33300b['shift']());}}}(_0x434d,0xc2598),function(_0x26ed8c,_0x3da319){const _0x225213=_0x6e2a;typeof exports==_0x225213(0x1f3)&&typeof module<'u'?_0x3da319(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=='function'&&define[_0x225213(0x1e8)]?define([_0x225213(0x2df),_0x225213(0x13e),_0x225213(0x36e),_0x225213(0x128),'@univerjs/ui',_0x225213(0x322),_0x225213(0x343),_0x225213(0x20b),_0x225213(0x36c),'@univerjs/sheets','@univerjs/engine-render',_0x225213(0x2c8),_0x225213(0x271),'@univerjs/drawing',_0x225213(0x201),'@univerjs/docs','@univerjs/engine-formula',_0x225213(0x2e1),_0x225213(0x230)],_0x3da319):(_0x26ed8c=typeof globalThis<'u'?globalThis:_0x26ed8c||self,_0x3da319(_0x26ed8c[_0x225213(0x147)]={},_0x26ed8c[_0x225213(0x2a0)],_0x26ed8c[_0x225213(0x2ea)],_0x26ed8c['UniverCore'],_0x26ed8c[_0x225213(0x1fa)],_0x26ed8c[_0x225213(0x322)],_0x26ed8c[_0x225213(0x227)],_0x26ed8c[_0x225213(0x2a0)],_0x26ed8c[_0x225213(0x2e5)],_0x26ed8c['UniverSheets'],_0x26ed8c[_0x225213(0x214)],_0x26ed8c[_0x225213(0x123)],_0x26ed8c['UniverDocsUi'],_0x26ed8c[_0x225213(0xfd)],_0x26ed8c['UniverProCollaboration'],_0x26ed8c[_0x225213(0x323)],_0x26ed8c['UniverEngineFormula'],_0x26ed8c[_0x225213(0x322)][_0x225213(0x127)],_0x26ed8c[_0x225213(0x25c)]));}(this,function(_0x5a6766,_0xe1ca0d,_0x27b003,_0x396f24,_0x39278b,_0x1b47d1,_0x262431,_0x10d8dc,_0x13b0b6,_0x2141ef,_0x5841f7,_0x16b348,_0x2752ff,_0x36c19a,_0x19f9e8,_0x54b913,_0x5d9407,_0x19b639,_0x39a301){'use strict';const _0x37c2de=_0x6e2a;var _0x2f1b0e=Object[_0x37c2de(0x1c9)],_0x19a2fb=(_0x351b7e,_0x1e8182,_0x33f257)=>_0x1e8182 in _0x351b7e?_0x2f1b0e(_0x351b7e,_0x1e8182,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33f257}):_0x351b7e[_0x1e8182]=_0x33f257,_0x425380=(_0x37863c,_0x5eccbe,_0x2d8e38)=>_0x19a2fb(_0x37863c,typeof _0x5eccbe!=_0x37c2de(0x167)?_0x5eccbe+'':_0x5eccbe,_0x2d8e38),_0x4f1493=function(){const _0x2bbb8e=_0x37c2de;return _0x4f1493=Object[_0x2bbb8e(0x31f)]||function(_0x54d8fc){const _0x30aed9=_0x2bbb8e;for(var _0xe1f18f,_0x1f251f=0x1,_0x240cc5=arguments[_0x30aed9(0x2c4)];_0x1f251f<_0x240cc5;_0x1f251f++){_0xe1f18f=arguments[_0x1f251f];for(var _0x42ff27 in _0xe1f18f)Object['prototype'][_0x30aed9(0x2ac)][_0x30aed9(0x171)](_0xe1f18f,_0x42ff27)&&(_0x54d8fc[_0x42ff27]=_0xe1f18f[_0x42ff27]);}return _0x54d8fc;},_0x4f1493['apply'](this,arguments);},_0x5c3eab=function(_0x54ec84,_0x5e5559){const _0x11911c=_0x37c2de;var _0x1d1c48={};for(var _0x349b66 in _0x54ec84)Object['prototype']['hasOwnProperty'][_0x11911c(0x171)](_0x54ec84,_0x349b66)&&_0x5e5559['indexOf'](_0x349b66)<0x0&&(_0x1d1c48[_0x349b66]=_0x54ec84[_0x349b66]);if(_0x54ec84!=null&&typeof Object[_0x11911c(0x326)]==_0x11911c(0x29d)){for(var _0x3e45eb=0x0,_0x349b66=Object[_0x11911c(0x326)](_0x54ec84);_0x3e45eb<_0x349b66['length'];_0x3e45eb++)_0x5e5559[_0x11911c(0x250)](_0x349b66[_0x3e45eb])<0x0&&Object[_0x11911c(0x27c)]['propertyIsEnumerable']['call'](_0x54ec84,_0x349b66[_0x3e45eb])&&(_0x1d1c48[_0x349b66[_0x3e45eb]]=_0x54ec84[_0x349b66[_0x3e45eb]]);}return _0x1d1c48;},_0x203494=_0x10d8dc['forwardRef'](function(_0x4d55b8,_0x5c6d3b){const _0x2094bd=_0x37c2de;var _0x215ea8=_0x4d55b8['icon'],_0x29aed9=_0x4d55b8['id'],_0x52087a=_0x4d55b8['className'],_0xfa0283=_0x4d55b8[_0x2094bd(0x2d6)],_0x5a91ec=_0x5c3eab(_0x4d55b8,[_0x2094bd(0x252),'id',_0x2094bd(0x348),_0x2094bd(0x2d6)]),_0x4d9edc=_0x2094bd(0x1b5)['concat'](_0x29aed9,'\x20')[_0x2094bd(0x12f)](_0x52087a||'')[_0x2094bd(0x306)](),_0x16132f=_0x10d8dc[_0x2094bd(0x1c0)]('_'[_0x2094bd(0x12f)](_0x86b784()));return _0x15a107(_0x215ea8,''['concat'](_0x29aed9),{'defIds':_0x215ea8[_0x2094bd(0x234)],'idSuffix':_0x16132f[_0x2094bd(0x366)]},_0x4f1493({'ref':_0x5c6d3b,'className':_0x4d9edc},_0x5a91ec),_0xfa0283);});function _0x15a107(_0x2572fa,_0x5c57ca,_0xe2fe56,_0x1f8a34,_0x3499d6){const _0xe0a1ee=_0x37c2de;return _0x10d8dc[_0xe0a1ee(0x362)](_0x2572fa[_0xe0a1ee(0x2ca)],_0x4f1493(_0x4f1493({'key':_0x5c57ca},_0x40ae51(_0x2572fa,_0xe2fe56,_0x3499d6)),_0x1f8a34),(_0x513e47(_0x2572fa,_0xe2fe56)[_0xe0a1ee(0x25d)]||[])['map'](function(_0x29d73e,_0x8a7112){const _0x3fdcfc=_0xe0a1ee;return _0x15a107(_0x29d73e,''[_0x3fdcfc(0x12f)](_0x5c57ca,'-')['concat'](_0x2572fa[_0x3fdcfc(0x2ca)],'-')[_0x3fdcfc(0x12f)](_0x8a7112),_0xe2fe56,void 0x0,_0x3499d6);}));}function _0x40ae51(_0x38b4c9,_0xb7ea33,_0x48eae8){const _0x220a77=_0x37c2de;var _0x51b76f=_0x4f1493({},_0x38b4c9['attrs']);_0x48eae8!=null&&_0x48eae8[_0x220a77(0x11d)]&&_0x51b76f['fill']===_0x220a77(0x11d)&&(_0x51b76f['fill']=_0x48eae8[_0x220a77(0x11d)]),_0x38b4c9[_0x220a77(0x2ca)]===_0x220a77(0x294)&&_0x51b76f['id']&&(_0x51b76f['id']=_0x51b76f['id']+_0xb7ea33[_0x220a77(0x253)]),Object[_0x220a77(0x397)](_0x51b76f)[_0x220a77(0x217)](function(_0xdecb5e){const _0x5c0709=_0x220a77;var _0xb888c4=_0xdecb5e[0x0],_0x18671d=_0xdecb5e[0x1];_0xb888c4===_0x5c0709(0x294)&&typeof _0x18671d==_0x5c0709(0x139)&&(_0x51b76f[_0xb888c4]=_0x18671d[_0x5c0709(0x1e9)](/url\(#(.*)\)/,'url(#$1'[_0x5c0709(0x12f)](_0xb7ea33[_0x5c0709(0x253)],')')));});var _0x1a3721=_0xb7ea33[_0x220a77(0x234)];return!_0x1a3721||_0x1a3721[_0x220a77(0x2c4)]===0x0||(_0x38b4c9[_0x220a77(0x2ca)]==='use'&&_0x51b76f[_0x220a77(0x22c)]&&(_0x51b76f['xlink:href']=_0x51b76f[_0x220a77(0x22c)]+_0xb7ea33[_0x220a77(0x253)]),Object[_0x220a77(0x397)](_0x51b76f)[_0x220a77(0x217)](function(_0x5029b5){const _0x27e133=_0x220a77;var _0x355e8b=_0x5029b5[0x0],_0xbfa46d=_0x5029b5[0x1];typeof _0xbfa46d=='string'&&(_0x51b76f[_0x355e8b]=_0xbfa46d[_0x27e133(0x1e9)](/url\(#(.*)\)/,_0x27e133(0x1a2)[_0x27e133(0x12f)](_0xb7ea33[_0x27e133(0x253)],')')));})),_0x51b76f;}function _0x513e47(_0x45d5ce,_0x1d3f7d){const _0x83182=_0x37c2de;var _0x465b47,_0x1a198d=_0x1d3f7d[_0x83182(0x234)];return!_0x1a198d||_0x1a198d['length']===0x0?_0x45d5ce:_0x45d5ce['tag']==='defs'&&(!((_0x465b47=_0x45d5ce[_0x83182(0x25d)])===null||_0x465b47===void 0x0)&&_0x465b47[_0x83182(0x2c4)])?_0x4f1493(_0x4f1493({},_0x45d5ce),{'children':_0x45d5ce['children'][_0x83182(0x379)](function(_0x4613d6){const _0x4e74c0=_0x83182;return typeof _0x4613d6[_0x4e74c0(0x25f)]['id']=='string'&&_0x1a198d&&_0x1a198d[_0x4e74c0(0x37d)](_0x4613d6[_0x4e74c0(0x25f)]['id'])?_0x4f1493(_0x4f1493({},_0x4613d6),{'attrs':_0x4f1493(_0x4f1493({},_0x4613d6[_0x4e74c0(0x25f)]),{'id':_0x4613d6[_0x4e74c0(0x25f)]['id']+_0x1d3f7d[_0x4e74c0(0x253)]})}):_0x4613d6;})}):_0x45d5ce;}function _0x86b784(){const _0x1ec9a8=_0x37c2de;return Math[_0x1ec9a8(0x130)]()[_0x1ec9a8(0xf9)](0x24)[_0x1ec9a8(0x1e5)](0x2,0x8);}_0x203494[_0x37c2de(0x369)]=_0x37c2de(0x284);var _0x3060c4={'tag':_0x37c2de(0x1f0),'attrs':{'xmlns':_0x37c2de(0x19a),'fill':_0x37c2de(0x38f),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x37c2de(0x286)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'stroke':_0x37c2de(0x2f1),'d':_0x37c2de(0x272),'strokeLinecap':_0x37c2de(0x393),'strokeLinejoin':_0x37c2de(0x393),'strokeWidth':1.2}}]},{'tag':_0x37c2de(0x382),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x37c2de(0x312)},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'fill':_0x37c2de(0x206),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x37c2de(0x312)]},_0x2a363e=_0x10d8dc[_0x37c2de(0x226)](function(_0x1e2951,_0x48ac79){const _0x4d9ab4=_0x37c2de;return _0x10d8dc[_0x4d9ab4(0x362)](_0x203494,Object['assign']({},_0x1e2951,{'id':_0x4d9ab4(0x106),'ref':_0x48ac79,'icon':_0x3060c4}));});_0x2a363e['displayName']='OffLineIcon';var _0xc664b0={'tag':_0x37c2de(0x1f0),'attrs':{'xmlns':_0x37c2de(0x19a),'fill':_0x37c2de(0x38f),'viewBox':_0x37c2de(0x2d5),'width':'1em','height':_0x37c2de(0x286)},'children':[{'tag':'g','attrs':{'clipPath':_0x37c2de(0x2b4)},'children':[{'tag':_0x37c2de(0x21e),'attrs':{'stroke':'currentColor','d':_0x37c2de(0x194),'strokeLinecap':_0x37c2de(0x393),'strokeLinejoin':_0x37c2de(0x393),'strokeWidth':1.2}}]},{'tag':_0x37c2de(0x382),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x37c2de(0x109)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x37c2de(0x2b9),'transform':_0x37c2de(0x310)}}]}]}],'defIds':[_0x37c2de(0x109)]},_0x41d014=_0x10d8dc[_0x37c2de(0x226)](function(_0x33d57a,_0x21329d){const _0x27387a=_0x37c2de;return _0x10d8dc[_0x27387a(0x362)](_0x203494,Object[_0x27387a(0x31f)]({},_0x33d57a,{'id':_0x27387a(0x26d),'ref':_0x21329d,'icon':_0xc664b0}));});_0x41d014['displayName']=_0x37c2de(0x23c);function _0x143c9a(_0x39f3cc){const _0x4f9109=_0x37c2de;switch(_0x39f3cc){case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x1fc)]:return'collabStatus.offline';case _0x27b003[_0x4f9109(0x317)]['CONFLICT']:return _0x4f9109(0x1dd);case _0x27b003['CollaborationStatus'][_0x4f9109(0x291)]:return _0x4f9109(0x12e);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x182)]:return _0x4f9109(0x110);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x27e)]:case _0x27b003[_0x4f9109(0x317)]['AWAITING_WITH_PENDING']:return _0x4f9109(0x340);case _0x27b003[_0x4f9109(0x317)][_0x4f9109(0x236)]:case _0x27b003['CollaborationStatus'][_0x4f9109(0x116)]:return _0x4f9109(0x247);}}function _0x3ca8a5(_0xed5426){const _0x495b00=_0x37c2de,{status$:_0x7bdd0c}=_0xed5426,_0xf55835=_0x39278b[_0x495b00(0x23e)](_0x7bdd0c,_0x27b003['CollaborationStatus']['NOT_COLLAB']),_0x315780=_0x39278b['useDependency'](_0x396f24[_0x495b00(0x370)]),_0x21c37b=_0x39278b[_0x495b00(0x10a)](_0x27b003['CollaborationSessionService']),_0x3d041e=_0xf55835!==_0x27b003['CollaborationStatus']['OFFLINE'],_0x1112b4=_0x315780['t'](_0x143c9a(_0xf55835)),_0x11b8a5=_0x3d041e?_0xe1ca0d[_0x495b00(0x259)](_0x41d014,{}):_0xe1ca0d['jsx'](_0x2a363e,{}),_0x51d502=_0x10d8dc[_0x495b00(0x2fe)](()=>{_0x3d041e||_0x21c37b['reconnect']();},[_0x3d041e,_0x21c37b]);function _0x6492be(){const _0x5e07e5=_0x495b00;return _0xe1ca0d[_0x5e07e5(0x22e)](_0x5e07e5(0x23d),{'className':_0x5e07e5(0x32b),'onClick':_0x51d502,'children':[_0xe1ca0d[_0x5e07e5(0x259)](_0x5e07e5(0x23d),{'className':_0x262431['clsx'](_0x5e07e5(0x2fa),{'univer-text-green-500':_0x3d041e,'univer-text-red-500':!_0x3d041e}),'children':_0x11b8a5}),_0xe1ca0d[_0x5e07e5(0x259)](_0x5e07e5(0x23d),{'className':_0x5e07e5(0x277),'children':_0x1112b4})]});}return _0x3d041e?_0x6492be():_0xe1ca0d['jsx'](_0x262431[_0x495b00(0x1f7)],{'title':_0x315780['t'](_0x495b00(0x15b)),'children':_0x6492be()});}var _0x1253dd=Object['getOwnPropertyDescriptor'],_0x2313ca=(_0x31c803,_0x536e29,_0x5b00f6,_0x55ef32)=>{const _0x4cc38c=_0x37c2de;for(var _0xcfa629=_0x55ef32>0x1?void 0x0:_0x55ef32?_0x1253dd(_0x536e29,_0x5b00f6):_0x536e29,_0x386459=_0x31c803[_0x4cc38c(0x2c4)]-0x1,_0x6abbf;_0x386459>=0x0;_0x386459--)(_0x6abbf=_0x31c803[_0x386459])&&(_0xcfa629=_0x6abbf(_0xcfa629)||_0xcfa629);return _0xcfa629;},_0x267b52=(_0x5077ca,_0x4b4f85)=>(_0xc02bd9,_0x35348f)=>_0x4b4f85(_0xc02bd9,_0x35348f,_0x5077ca);_0x5a6766['DesktopCollaborationStatusDisplayController']=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0x2fb4c9,_0x1cfe1e,_0x2cf2a3,_0x2352a5){const _0x47f4de=_0x37c2de;super(),_0x425380(this,_0x47f4de(0x376),new _0x1b47d1['BehaviorSubject'](_0x27b003[_0x47f4de(0x317)][_0x47f4de(0x182)])),(this[_0x47f4de(0x332)]=_0x2fb4c9,this[_0x47f4de(0x212)]=_0x1cfe1e,this[_0x47f4de(0x1ec)]=_0x2cf2a3,this[_0x47f4de(0x180)]=_0x2352a5,this[_0x47f4de(0x2b0)](),this['_initStatusListener']());}[_0x37c2de(0x34d)](){const _0x5f389a=_0x37c2de;this[_0x5f389a(0x1c4)](this[_0x5f389a(0x332)][_0x5f389a(0x283)][_0x5f389a(0x2a6)](_0x1b47d1[_0x5f389a(0x335)](()=>{const _0x32ae60=_0x5f389a,_0x47a08a=this['_univerInstanceService'][_0x32ae60(0x2b3)]();return _0x47a08a?this[_0x32ae60(0x1ec)][_0x32ae60(0x25a)](_0x47a08a[_0x32ae60(0x278)]()):_0x1b47d1['of'](null);}),_0x1b47d1['switchMap'](_0x1a8a1e=>_0x1a8a1e?_0x1a8a1e[_0x5f389a(0x173)]:_0x1b47d1['of'](_0x27b003[_0x5f389a(0x317)][_0x5f389a(0x182)])))[_0x5f389a(0x196)](_0x1d90df=>{const _0x556cba=_0x5f389a;this[_0x556cba(0x376)]['next'](_0x1d90df);}));}['_initStatusComponent'](){const _0x4a05f5=_0x37c2de;this[_0x4a05f5(0x1c4)](this[_0x4a05f5(0x180)][_0x4a05f5(0x1cd)](_0x39278b['BuiltInUIPart'][_0x4a05f5(0x1c5)],()=>_0x39278b[_0x4a05f5(0x367)](_0x436386({'status$':this['_status$'][_0x4a05f5(0x281)]()}),this[_0x4a05f5(0x212)])));}},_0x5a6766[_0x37c2de(0x2f5)]=_0x2313ca([_0x267b52(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x267b52(0x1,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x205)])),_0x267b52(0x2,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x1b1)])),_0x267b52(0x3,_0x39278b[_0x37c2de(0x32c)])],_0x5a6766['DesktopCollaborationStatusDisplayController']);function _0x436386(_0x464568){const {status$:_0x44a0a2}=_0x464568;return function(){const _0x3d5db8=_0x6e2a;return _0xe1ca0d[_0x3d5db8(0x259)](_0x3ca8a5,{'status$':_0x44a0a2});};}const _0x2bb386=_0x396f24[_0x37c2de(0x22d)](_0x37c2de(0x164));var _0x93493d=Object[_0x37c2de(0x1ca)],_0x5ce234=(_0xef4053,_0x19f412,_0x238515,_0x4ee59b)=>{for(var _0x309c6b=_0x4ee59b>0x1?void 0x0:_0x4ee59b?_0x93493d(_0x19f412,_0x238515):_0x19f412,_0x1d010a=_0xef4053['length']-0x1,_0x48ee29;_0x1d010a>=0x0;_0x1d010a--)(_0x48ee29=_0xef4053[_0x1d010a])&&(_0x309c6b=_0x48ee29(_0x309c6b)||_0x309c6b);return _0x309c6b;},_0x59d742=(_0x35a8b4,_0x527ebb)=>(_0x37fcfe,_0x4f40d7)=>_0x527ebb(_0x37fcfe,_0x4f40d7,_0x35a8b4);_0x5a6766[_0x37c2de(0x156)]=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x29e57d,_0x715955,_0x2f613a,_0x409113,_0x33f403){const _0x79c210=_0x37c2de;super(),this[_0x79c210(0x262)]=_0x29e57d,this[_0x79c210(0x35d)]=_0x715955,this[_0x79c210(0x30c)]=_0x2f613a,this[_0x79c210(0x11e)]=_0x409113,_0x33f403?_0x33f403==null||_0x33f403[_0x79c210(0x1f5)]()[_0x79c210(0x27f)](()=>this['_init']()):(this[_0x79c210(0x35d)]['debug'](_0x79c210(0x398),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x79c210(0x133)]());}async['_init'](){const _0x3dd123=_0x37c2de,_0x3dfdf4=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x2e0)),_0x38fb6b=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x275)),_0x19fe71=this[_0x3dd123(0x262)][_0x3dd123(0x385)](_0x3dd123(0x347));if(!_0x3dfdf4||!_0x38fb6b){this[_0x3dd123(0x35d)][_0x3dd123(0x243)](_0x3dd123(0x398),_0x3dd123(0x235));return;}const _0x3d58cb=await this['_dataLoaderService'][_0x3dd123(0x148)](_0x3dfdf4,Number(_0x38fb6b),_0x19fe71);_0x3d58cb&&_0x3d58cb instanceof _0x396f24[_0x3dd123(0x141)]&&this[_0x3dd123(0x2a3)](_0x3d58cb);}async[_0x37c2de(0x2a3)](_0x3d1b9f){const _0x3f00e6=_0x37c2de;await this[_0x3f00e6(0x2cb)](_0x3d1b9f),_0x3d1b9f[_0x3f00e6(0x14b)][_0x3f00e6(0x2a6)](_0x1b47d1[_0x3f00e6(0x15c)](this[_0x3f00e6(0x16c)]))[_0x3f00e6(0x196)](_0x12eec6=>{_0x12eec6&&this['_updateURLWithCurrentState'](_0x12eec6);}),this[_0x3f00e6(0x262)][_0x3f00e6(0x19d)][_0x3f00e6(0x2a6)](_0x1b47d1['takeUntil'](this[_0x3f00e6(0x16c)]))[_0x3f00e6(0x196)](()=>this['_updateSubUnitFromURLParams'](_0x3d1b9f));}[_0x37c2de(0x1d5)](_0x2a0a2e,_0x36e1e5=!0x1){const _0x3d05ab=_0x37c2de,_0x6ea86a=this[_0x3d05ab(0x262)][_0x3d05ab(0x385)](_0x3d05ab(0x347));_0x2a0a2e[_0x3d05ab(0x153)]()!==_0x6ea86a&&this[_0x3d05ab(0x262)]['setParam'](_0x3d05ab(0x347),_0x2a0a2e[_0x3d05ab(0x153)](),_0x36e1e5);}async[_0x37c2de(0x2cb)](_0x71f304){const _0x5d2e85=_0x37c2de;var _0x10b528;const _0xda2548=this[_0x5d2e85(0x262)][_0x5d2e85(0x385)](_0x5d2e85(0x347));if(!_0xda2548||!_0x71f304[_0x5d2e85(0x105)](_0xda2548)){const _0xd79b86=_0x71f304[_0x5d2e85(0x297)]()[0x0],_0x57e1e4=_0x71f304[_0x5d2e85(0x105)](_0xd79b86);if(!_0x57e1e4)return;this[_0x5d2e85(0x1d5)](_0x57e1e4,!0x0),await this[_0x5d2e85(0x30c)]['executeCommand'](_0x2141ef[_0x5d2e85(0x1e1)]['id'],{'unitId':_0x71f304[_0x5d2e85(0x278)](),'subUnitId':_0xd79b86});return;}((_0x10b528=_0x71f304['getActiveSheet']())==null?void 0x0:_0x10b528[_0x5d2e85(0x153)]())!==_0xda2548&&await this['_commandService'][_0x5d2e85(0x2e4)](_0x2141ef[_0x5d2e85(0x1e1)]['id'],{'unitId':_0x71f304['getUnitId'](),'subUnitId':_0xda2548});}},_0x5a6766[_0x37c2de(0x156)]=_0x5ce234([_0x59d742(0x0,_0x2bb386),_0x59d742(0x1,_0x396f24['ILogService']),_0x59d742(0x2,_0x396f24[_0x37c2de(0x1a6)]),_0x59d742(0x3,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x2cd)])),_0x59d742(0x4,_0x396f24['Optional'](_0x13b0b6[_0x37c2de(0x2f7)]))],_0x5a6766['CollaborationDataLoaderController']);var _0x12d9d8=Object[_0x37c2de(0x1ca)],_0x2d317b=(_0x5909d1,_0x3a72fc,_0x5d1583,_0x5d93d7)=>{const _0xd4aa9b=_0x37c2de;for(var _0x270b1a=_0x5d93d7>0x1?void 0x0:_0x5d93d7?_0x12d9d8(_0x3a72fc,_0x5d1583):_0x3a72fc,_0xfc33d2=_0x5909d1[_0xd4aa9b(0x2c4)]-0x1,_0x47d0e0;_0xfc33d2>=0x0;_0xfc33d2--)(_0x47d0e0=_0x5909d1[_0xfc33d2])&&(_0x270b1a=_0x47d0e0(_0x270b1a)||_0x270b1a);return _0x270b1a;},_0x9c9bd4=(_0x116a6a,_0x561734)=>(_0x3c4b13,_0xa27e48)=>_0x561734(_0x3c4b13,_0xa27e48,_0x116a6a);let _0x394a4b=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x7ebdc3,_0x454a94){const _0xe07a8c=_0x37c2de;super(),this[_0xe07a8c(0x1bb)]=_0x7ebdc3,this[_0xe07a8c(0x10d)]=_0x454a94,this['_init']();}['_init'](){const _0x288b4e=_0x37c2de,_0x3fc339=this;this[_0x288b4e(0x1c4)](this[_0x288b4e(0x1bb)][_0x288b4e(0x135)]({'onBeforePasteImage':async _0x3aa724=>{const _0x538a6a=_0x288b4e,_0x25baca=await _0x3fc339[_0x538a6a(0x10d)][_0x538a6a(0x1ce)](_0x3aa724);return _0x25baca?{'source':_0x25baca['source'],'imageSourceType':_0x25baca['imageSourceType']}:null;}}));}};_0x394a4b=_0x2d317b([_0x9c9bd4(0x0,_0x2752ff['IDocClipboardService']),_0x9c9bd4(0x1,_0x36c19a[_0x37c2de(0x1c6)])],_0x394a4b);const _0x13438f=[_0x37c2de(0x339),'jiqing.500',_0x37c2de(0x1da),'red.300',_0x37c2de(0x29c),'yellow.400'];class _0x74392a extends _0x396f24[_0x37c2de(0x2e6)]{constructor(){const _0x3048d2=_0x37c2de;super(...arguments),_0x425380(this,_0x3048d2(0x242),new Map()),_0x425380(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5af821){const _0x5461cf=_0x37c2de;if(this[_0x5461cf(0x242)]['has'](_0x5af821))return this[_0x5461cf(0x242)][_0x5461cf(0x2de)](_0x5af821);const _0x39e38b=_0x13438f[this[_0x5461cf(0x2ef)]];return this[_0x5461cf(0x2ef)]=(this['_colorIndex']+0x1)%_0x13438f[_0x5461cf(0x2c4)],this[_0x5461cf(0x242)][_0x5461cf(0x117)](_0x5af821,_0x39e38b),_0x39e38b;}}function _0x52b132(_0x211ef5){let _0x533675='';for(const _0x3aef90 of _0x211ef5){const {startOffset:_0x42bf92,endOffset:_0x5b95ce,isActive:_0x57be71,rangeType:_0x2e4132,segmentId:_0x58e10e,segmentPage:_0x36bfe1}=_0x3aef90;_0x533675['length']&&(_0x533675+=','),_0x533675+=_0x42bf92+':'+_0x5b95ce+':'+(_0x57be71?'1':'0')+':'+_0x2e4132+':'+_0x58e10e+':'+_0x36bfe1;}return _0x533675;}function _0x56b693(_0x44b703){const _0x22987a=_0x37c2de,_0x2ec295=_0x44b703[_0x22987a(0x225)](','),_0x2eda42=[];for(const _0x218415 of _0x2ec295){const [_0x511289,_0x171f3e,_0xc32840,_0x6a63a6,_0x5e33af,_0x2bafb4]=_0x218415['split'](':');_0x2eda42[_0x22987a(0x20f)]({'startOffset':Number(_0x511289),'endOffset':Number(_0x171f3e),'collapsed':_0x511289===_0x171f3e,'isActive':_0xc32840==='1','rangeType':_0x6a63a6===_0x396f24['DOC_RANGE_TYPE'][_0x22987a(0x353)]?_0x396f24[_0x22987a(0x21a)][_0x22987a(0x353)]:_0x396f24[_0x22987a(0x21a)][_0x22987a(0x1e0)],'segmentId':typeof _0x5e33af==_0x22987a(0x139)?String(_0x5e33af):'','segmentPage':Number(_0x2bafb4!=null?_0x2bafb4:-0x1)});}return _0x2eda42[_0x22987a(0x220)](_0x57a861=>_0x57a861[_0x22987a(0x351)])||(_0x2eda42[0x0][_0x22987a(0x351)]=!0x0),_0x2eda42;}class _0x25bfb1 extends _0x396f24[_0x37c2de(0x37a)]{constructor(){const _0x5564c5=_0x37c2de;super(...arguments),_0x425380(this,_0x5564c5(0x1be),new _0x1b47d1[(_0x5564c5(0x338))](null)),_0x425380(this,_0x5564c5(0x219),this[_0x5564c5(0x1be)][_0x5564c5(0x281)]());}[_0x37c2de(0x282)](_0x2f55b5){const _0x4aff65=_0x37c2de,{unitID:_0x574140,memberID:_0x44cebd,textRanges:_0x314a11}=_0x2f55b5,_0x9162d4=_0x52b132(_0x314a11);if(_0x9162d4==='')return;const _0x523fc2={'unitID':_0x574140,'memberID':_0x44cebd,'selection':_0x9162d4};this['_collabCursorState$'][_0x4aff65(0x38e)](_0x523fc2);}}var _0x551138=Object['getOwnPropertyDescriptor'],_0x39986e=(_0x184059,_0x156324,_0x32cfbb,_0xb5b643)=>{const _0xef2053=_0x37c2de;for(var _0x19c9ab=_0xb5b643>0x1?void 0x0:_0xb5b643?_0x551138(_0x156324,_0x32cfbb):_0x156324,_0x4ff1bd=_0x184059[_0xef2053(0x2c4)]-0x1,_0x5eca35;_0x4ff1bd>=0x0;_0x4ff1bd--)(_0x5eca35=_0x184059[_0x4ff1bd])&&(_0x19c9ab=_0x5eca35(_0x19c9ab)||_0x19c9ab);return _0x19c9ab;},_0x1561df=(_0x1a4462,_0x656d0)=>(_0x5f4b23,_0x2d44ea)=>_0x656d0(_0x5f4b23,_0x2d44ea,_0x1a4462);const _0x57517c=0x12c,_0x56850a=0x64;let _0x2f7eb2=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x44576c,_0x25d453,_0x39769c,_0x5b875f,_0x980275,_0x192774,_0x1a6312,_0x22b585,_0x2dc8ec){const _0x451cab=_0x37c2de;super(),_0x425380(this,_0x451cab(0x119),!0x1),_0x425380(this,'_init',!0x1),_0x425380(this,_0x451cab(0x13a),new _0x1b47d1[(_0x451cab(0x338))](new Map())),_0x425380(this,_0x451cab(0x24e),this['_cursorInfo$']['asObservable']()),_0x425380(this,'_roomMembers$',new _0x1b47d1[(_0x451cab(0x338))]([])),_0x425380(this,_0x451cab(0x1a1),this[_0x451cab(0x1c7)][_0x451cab(0x2a6)](_0x1b47d1[_0x451cab(0x208)](_0x57517c))),_0x425380(this,_0x451cab(0x305),_0x396f24['debounce'](_0x476a7b=>{const _0x3886d4=_0x451cab,_0x238156={'eventID':_0x19f9e8[_0x3886d4(0x2d3)][_0x3886d4(0x2aa)],'data':{'unitID':this[_0x3886d4(0x246)],'memberID':this[_0x3886d4(0x2f8)][_0x3886d4(0x2a7)](),'selection':_0x52b132(_0x476a7b)}};this['_session'][_0x3886d4(0x1bc)](_0x238156,this['unitID']);},_0x56850a)),(this[_0x451cab(0x246)]=_0x44576c,this['_session']=_0x25d453,this[_0x451cab(0x212)]=_0x39769c,this[_0x451cab(0x1a0)]=_0x5b875f,this['_memberService']=_0x980275,this[_0x451cab(0x146)]=_0x192774,this[_0x451cab(0x1fd)]=_0x1a6312,this[_0x451cab(0x332)]=_0x22b585,this[_0x451cab(0x30c)]=_0x2dc8ec);}get[_0x37c2de(0x1cb)](){const _0x31d210=_0x37c2de;return this[_0x31d210(0x13a)][_0x31d210(0x189)]();}get['roomMembers'](){const _0x579ede=_0x37c2de;return this[_0x579ede(0x1c7)]['getValue']();}[_0x37c2de(0x254)](){const _0x3cf168=_0x37c2de;super[_0x3cf168(0x254)](),this[_0x3cf168(0x13a)]['next'](new Map()),this[_0x3cf168(0x13a)][_0x3cf168(0x373)](),this[_0x3cf168(0x1c7)][_0x3cf168(0x38e)]([]),this[_0x3cf168(0x1c7)][_0x3cf168(0x373)]();}[_0x37c2de(0x337)](){const _0x5551a1=_0x37c2de;this[_0x5551a1(0x133)]||(this[_0x5551a1(0x133)]=!0x0,this[_0x5551a1(0x2f8)]['sessionStatus$'][_0x5551a1(0x2a6)](_0x1b47d1[_0x5551a1(0x15c)](this['dispose$']))['subscribe'](_0x599504=>{const _0x50672d=_0x5551a1;_0x599504===_0x27b003[_0x50672d(0x29a)][_0x50672d(0x27a)]?this[_0x50672d(0xf8)]():this[_0x50672d(0x28d)]();}),this[_0x5551a1(0x2f8)][_0x5551a1(0x2c5)][_0x5551a1(0x2a6)](_0x1b47d1[_0x5551a1(0x15c)](this[_0x5551a1(0x16c)]))[_0x5551a1(0x196)](_0x91c02=>{const _0x412f26=_0x5551a1,_0x3c6c3b=_0x91c02[_0x412f26(0x186)];_0x3c6c3b===_0x19f9e8[_0x412f26(0x2d3)][_0x412f26(0x2aa)]&&this[_0x412f26(0x145)](_0x91c02),_0x3c6c3b===_0x19f9e8[_0x412f26(0x2d3)][_0x412f26(0x311)]&&this['_onCursorDelete'](_0x91c02);}),this['disposeWithMe'](this[_0x5551a1(0x30c)][_0x5551a1(0x27b)](_0xe3908f=>{const _0x2accd8=_0x5551a1,_0x218a87=_0xe3908f['params'];_0x218a87!=null&&this[_0x2accd8(0x119)]&&_0xe3908f['id']===_0x54b913[_0x2accd8(0x1fe)]['id']&&_0x218a87[_0x2accd8(0x22b)]===this[_0x2accd8(0x246)]&&_0x218a87[_0x2accd8(0x38b)]===!0x1&&_0x218a87[_0x2accd8(0x1a8)][_0x2accd8(0x2c4)]>0x0&&this[_0x2accd8(0x305)](_0x218a87[_0x2accd8(0x1a8)]);})),this[_0x5551a1(0x146)][_0x5551a1(0x219)]['pipe'](_0x1b47d1[_0x5551a1(0x15c)](this['dispose$']))['subscribe'](_0xf3a00e=>{const _0x46326f=_0x5551a1;if((_0xf3a00e==null?void 0x0:_0xf3a00e[_0x46326f(0x246)])!==this['unitID'])return;const _0x3369de={'eventID':_0x19f9e8['CollaborationEvent'][_0x46326f(0x2aa)],'data':_0xf3a00e};this[_0x46326f(0x145)](_0x3369de);}),this[_0x5551a1(0x1c4)](this[_0x5551a1(0x30c)]['onCommandExecuted'](_0x1327dd=>{const _0x2ec56b=_0x5551a1;if(_0x1327dd[_0x2ec56b(0x2e2)]==null)return;const _0x1b9af9=_0x1327dd[_0x2ec56b(0x2e2)];if(_0x1327dd['id']!==_0x54b913[_0x2ec56b(0x26a)]['id']||_0x1b9af9[_0x2ec56b(0x22b)]!==this[_0x2ec56b(0x246)])return;const _0x1d2755={'id':'doc.mutation.rich-text-editing','params':_0x1b9af9},_0x53e2d6=this[_0x2ec56b(0x1cb)];for(const [_0xa6207b,_0x46548e]of _0x53e2d6){const _0x3f21b1={'id':_0x2ec56b(0x35f),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x46548e[_0x2ec56b(0x1a8)]}},_0x26a43e=this[_0x2ec56b(0x1fd)][_0x2ec56b(0x1e2)](_0x1d2755,_0x3f21b1,!0x1);if(_0x19f9e8[_0x2ec56b(0x375)](_0x26a43e))throw _0x26a43e[_0x2ec56b(0x1b6)];_0x53e2d6[_0x2ec56b(0x117)](_0xa6207b,{..._0x46548e,'ranges':_0x26a43e[_0x2ec56b(0x191)][_0x2ec56b(0x2e2)]['textRanges']});}queueMicrotask(()=>{const _0x305ce2=_0x2ec56b;this[_0x305ce2(0x13a)][_0x305ce2(0x38e)](_0x53e2d6);});})));}[_0x37c2de(0x145)](_0x313f44){const _0x36af57=_0x37c2de;var _0x265a7a,_0x3f22dc;const {memberID:_0x5624c4,selection:_0xf38398}=_0x313f44[_0x36af57(0x1f4)],_0x419ce5=_0x56b693(_0xf38398),_0xdb6ba8=(_0x3f22dc=(_0x265a7a=this['_memberService']['getMember'](this[_0x36af57(0x246)],_0x5624c4))==null?void 0x0:_0x265a7a[_0x36af57(0x1cf)])!=null?_0x3f22dc:_0x36af57(0x30a),_0x184fa8={'color':this[_0x36af57(0x1a0)][_0x36af57(0x1ef)](_0x5624c4),'name':_0xdb6ba8,'ranges':_0x419ce5},_0x5acc7b=this[_0x36af57(0x1cb)];_0x5acc7b[_0x36af57(0x117)](_0x5624c4,_0x184fa8),this[_0x36af57(0x13a)]['next'](_0x5acc7b);}[_0x37c2de(0x374)](_0x2bf1cb){const _0x51aaff=_0x37c2de,{memberID:_0x5035ca}=_0x2bf1cb['data'],_0x3563ec=this[_0x51aaff(0x1cb)];_0x3563ec[_0x51aaff(0x2b2)](_0x5035ca),this[_0x51aaff(0x13a)][_0x51aaff(0x38e)](_0x3563ec);}[_0x37c2de(0xf8)](){const _0x55fd5e=_0x37c2de;var _0x391c39;if(this[_0x55fd5e(0x119)]=!0x0,((_0x391c39=this[_0x55fd5e(0x332)][_0x55fd5e(0x2b3)]())==null?void 0x0:_0x391c39[_0x55fd5e(0x278)]())!==this[_0x55fd5e(0x246)])return;const _0x2ac16e=this[_0x55fd5e(0x212)][_0x55fd5e(0x2de)](_0x54b913[_0x55fd5e(0x150)])[_0x55fd5e(0x2c2)]();Array[_0x55fd5e(0x224)](_0x2ac16e)&&_0x2ac16e[_0x55fd5e(0x2c4)]>0x0&&this[_0x55fd5e(0x305)](_0x2ac16e);}[_0x37c2de(0x28d)](){const _0x2ad88a=_0x37c2de;this[_0x2ad88a(0x119)]=!0x1;}};_0x2f7eb2=_0x39986e([_0x1561df(0x2,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x1561df(0x3,_0x396f24[_0x37c2de(0x15e)](_0x74392a)),_0x1561df(0x4,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x345)])),_0x1561df(0x5,_0x396f24[_0x37c2de(0x15e)](_0x25bfb1)),_0x1561df(0x6,_0x19f9e8['ITransformService']),_0x1561df(0x7,_0x396f24[_0x37c2de(0x34f)]),_0x1561df(0x8,_0x396f24[_0x37c2de(0x1a6)])],_0x2f7eb2);var _0x150598=Object[_0x37c2de(0x1ca)],_0x3578e7=(_0x45af46,_0x5b99c5,_0x3bead2,_0xcb8b98)=>{const _0x509835=_0x37c2de;for(var _0x160516=_0xcb8b98>0x1?void 0x0:_0xcb8b98?_0x150598(_0x5b99c5,_0x3bead2):_0x5b99c5,_0x4f7e13=_0x45af46[_0x509835(0x2c4)]-0x1,_0x3278b8;_0x4f7e13>=0x0;_0x4f7e13--)(_0x3278b8=_0x45af46[_0x4f7e13])&&(_0x160516=_0x3278b8(_0x160516)||_0x160516);return _0x160516;},_0x559ca3=(_0x48d011,_0x347877)=>(_0x15e140,_0x355b25)=>_0x347877(_0x15e140,_0x355b25,_0x48d011);const _0x3fa0dd=0x12c,_0x3c147a=0x64,_0x32df79=()=>{let _0x2346cd=[],_0x3cbdf7=!0x1;return _0x5a95c8=>{const _0x9a0dfd=_0x6e2a;_0x2346cd[_0x9a0dfd(0x20f)](_0x5a95c8),_0x3cbdf7||(_0x3cbdf7=!0x0,setTimeout(()=>{const _0x18087b=_0x9a0dfd;_0x2346cd[_0x18087b(0x217)](_0x32a02c=>_0x32a02c()),_0x2346cd=[],_0x3cbdf7=!0x1;}));};};let _0x33c9da=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x49b729,_0x4e249c,_0xa75709,_0x24b7ad,_0x49c79b,_0x35fcfa,_0x4a6a17,_0xafd03){const _0x56e027=_0x37c2de;super(),_0x425380(this,_0x56e027(0x119),!0x1),_0x425380(this,_0x56e027(0x133),!0x1),_0x425380(this,'_cursorInfo$',new _0x1b47d1['BehaviorSubject'](new Map())),_0x425380(this,'cursorInfo$',this[_0x56e027(0x13a)]['asObservable']()),_0x425380(this,_0x56e027(0x1c7),new _0x1b47d1[(_0x56e027(0x338))]([])),_0x425380(this,_0x56e027(0x1a1),this[_0x56e027(0x1c7)][_0x56e027(0x2a6)](_0x1b47d1['debounceTime'](_0x3fa0dd))),_0x425380(this,'_updateLocalCursor',_0x396f24[_0x56e027(0x190)]((_0x1c714e,_0xd9068e)=>{const _0x3fbdd8=_0x56e027,_0xb240dd={'eventID':_0x19f9e8[_0x3fbdd8(0x2d3)][_0x3fbdd8(0x2aa)],'data':{'unitID':this[_0x3fbdd8(0x246)],'memberID':this[_0x3fbdd8(0x2f8)]['getMemberID'](),'selection':_0x5d9407[_0x3fbdd8(0x177)](_0x1c714e,_0xd9068e['range'])}};this[_0x3fbdd8(0x2f8)][_0x3fbdd8(0x1bc)](_0xb240dd,this[_0x3fbdd8(0x246)]);},_0x3c147a)),(this[_0x56e027(0x246)]=_0x49b729,this[_0x56e027(0x2f8)]=_0x4e249c,this['_injector']=_0xa75709,this[_0x56e027(0x1a0)]=_0x24b7ad,this[_0x56e027(0x14f)]=_0x49c79b,this[_0x56e027(0x332)]=_0x35fcfa,this[_0x56e027(0x30c)]=_0x4a6a17,this[_0x56e027(0x159)]=_0xafd03);}get['cursorInfo'](){const _0x29718e=_0x37c2de;return this['_cursorInfo$'][_0x29718e(0x189)]();}get[_0x37c2de(0x2b5)](){const _0x5028a2=_0x37c2de;return this[_0x5028a2(0x1c7)][_0x5028a2(0x189)]();}['dispose'](){const _0x575b21=_0x37c2de;super[_0x575b21(0x254)](),this['_cursorInfo$'][_0x575b21(0x38e)](new Map()),this['_cursorInfo$'][_0x575b21(0x373)](),this[_0x575b21(0x1c7)]['next']([]),this[_0x575b21(0x1c7)][_0x575b21(0x373)]();}[_0x37c2de(0x337)](){const _0x27f552=_0x37c2de;this['_init']||(this[_0x27f552(0x133)]=!0x0,this[_0x27f552(0x2f8)]['sessionStatus$']['pipe'](_0x1b47d1['takeUntil'](this[_0x27f552(0x16c)]))[_0x27f552(0x196)](_0x5da980=>{const _0xed45df=_0x27f552;_0x5da980===_0x27b003[_0xed45df(0x29a)]['ONLINE']?this[_0xed45df(0xf8)]():this[_0xed45df(0x28d)]();}),this['_session'][_0x27f552(0x2c5)][_0x27f552(0x2a6)](_0x1b47d1['takeUntil'](this['dispose$']))['subscribe'](_0x26b58a=>{const _0x2eef52=_0x27f552,_0xa4ad76=_0x26b58a['eventID'];_0xa4ad76===_0x19f9e8[_0x2eef52(0x2d3)]['UPDATE_CURSOR']&&this[_0x2eef52(0x145)](_0x26b58a),_0xa4ad76===_0x19f9e8['CollaborationEvent']['USERS_LEAVE']&&this[_0x2eef52(0x374)](_0x26b58a);}),this[_0x27f552(0x25e)](),this['disposeWithMe'](this[_0x27f552(0x30c)][_0x27f552(0x27b)](_0x4aa1e1=>{const _0x47c082=_0x27f552;if(this['_online']&&_0x4aa1e1['id']===_0x2141ef[_0x47c082(0x1ed)]['id']&&_0x4aa1e1[_0x47c082(0x2e2)]['unitId']===this[_0x47c082(0x246)]){const _0x5317f1=_0x4aa1e1[_0x47c082(0x2e2)];this[_0x47c082(0x305)](_0x5317f1[_0x47c082(0x13b)],_0x5317f1[_0x47c082(0x256)][0x0]);}})));}[_0x37c2de(0x145)](_0x5e3e96){const _0x13b34=_0x37c2de;var _0xad58cb,_0x14efe1;const {memberID:_0x3a19db,selection:_0x2db154}=_0x5e3e96[_0x13b34(0x1f4)],{sheetName:_0x1c2dc1,range:_0xc06b13}=_0x5d9407[_0x13b34(0x245)](_0x2db154),_0x2e6fab={'name':(_0x14efe1=(_0xad58cb=this[_0x13b34(0x14f)][_0x13b34(0x1d4)](this['unitID'],_0x3a19db))==null?void 0x0:_0xad58cb['name'])!=null?_0x14efe1:'Unknown\x20user','range':this[_0x13b34(0x183)](_0x1c2dc1,_0xc06b13),'sheetID':_0x1c2dc1,'color':this[_0x13b34(0x1a0)][_0x13b34(0x1ef)](_0x3a19db),'selection':_0x2db154},_0x35e777=this[_0x13b34(0x1cb)];_0x35e777[_0x13b34(0x117)](_0x3a19db,_0x2e6fab),this[_0x13b34(0x13a)][_0x13b34(0x38e)](_0x35e777);}[_0x37c2de(0x374)](_0x29704b){const _0x449065=_0x37c2de,{memberID:_0x2dde80}=_0x29704b['data'],_0x3e22b9=this[_0x449065(0x1cb)];_0x3e22b9[_0x449065(0x2b2)](_0x2dde80),this[_0x449065(0x13a)][_0x449065(0x38e)](_0x3e22b9);}[_0x37c2de(0x183)](_0x1277a0,_0x538f02){const _0x1d65e5=_0x37c2de;var _0x1009da,_0x1c35cf;const _0x7367c6=(_0x1c35cf=(_0x1009da=this[_0x1d65e5(0x332)]['getUniverSheetInstance'](this[_0x1d65e5(0x246)]))==null?void 0x0:_0x1009da[_0x1d65e5(0x105)](_0x1277a0))==null?void 0x0:_0x1c35cf['getMergeData']();return(_0x7367c6==null?void 0x0:_0x7367c6[_0x1d65e5(0x32a)](_0x5be11c=>_0x396f24['Rectangle'][_0x1d65e5(0x34c)](_0x5be11c,_0x538f02)))||_0x538f02;}[_0x37c2de(0x25e)](){const _0x4bf297=_0x37c2de,_0x355f9e=new _0x396f24[(_0x4bf297(0x2e3))](),_0xc1d52a=_0x32df79(),_0x3a6d74=()=>{const _0x330ba9=_0x4bf297;_0x355f9e[_0x330ba9(0x254)]();const _0x31fbbd=(_0x1f7fc4,_0x444116,_0x416059,_0x22ff85)=>{const _0x1f896c=_0x330ba9;let _0x50345e=[];switch(_0x1f7fc4['id']){case _0x2141ef[_0x1f896c(0x202)]['DeleteRangeMoveLeftCommandId']:{_0x50345e=_0x2141ef['handleDeleteRangeMoveLeft'](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x108)]:{_0x50345e=_0x2141ef[_0x1f896c(0x240)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x360)]:{_0x50345e=_0x2141ef[_0x1f896c(0x249)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x50345e=_0x2141ef['handleInsertRangeMoveDown'](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)]['InsertRangeMoveRightCommandId']:{_0x50345e=_0x2141ef[_0x1f896c(0x20e)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId']['InsertRowCommandId']:{_0x50345e=_0x2141ef[_0x1f896c(0x2e9)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)][_0x1f896c(0x29f)]:{_0x50345e=_0x2141ef[_0x1f896c(0x1db)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef[_0x1f896c(0x202)][_0x1f896c(0x261)]:{_0x50345e=_0x2141ef[_0x1f896c(0x2f4)](_0x1f7fc4,_0x22ff85);break;}case _0x2141ef['EffectRefRangId'][_0x1f896c(0x1d8)]:{_0x50345e=_0x2141ef[_0x1f896c(0x36a)](_0x1f7fc4,_0x22ff85);break;}}const _0x592f0d=_0x2141ef[_0x1f896c(0x17b)](_0x50345e,_0x22ff85),_0x338389=this[_0x1f896c(0x1cb)][_0x1f896c(0x2de)](_0x444116);if(_0x338389&&_0x592f0d){const _0x414441={..._0x338389,'range':_0x592f0d};this[_0x1f896c(0x1cb)][_0x1f896c(0x117)](_0x444116,_0x414441),_0xc1d52a(()=>{const _0xe1254c=_0x1f896c,_0x40d33e=this[_0xe1254c(0x159)][_0xe1254c(0x2bb)](_0x592f0d,_0x146f12=>(_0x40d33e[_0xe1254c(0x254)](),_0x31fbbd(_0x146f12,_0x444116,_0x416059,_0x592f0d)));_0x355f9e['add'](_0x40d33e);});}return{'redos':[],'undos':[]};};this[_0x330ba9(0x1cb)][_0x330ba9(0x217)]((_0x212162,_0x34caa0)=>{const _0x7f4675=_0x330ba9,{range:_0x49a1ae,sheetID:_0x375c24}=_0x212162,_0x8384b7=this[_0x7f4675(0x159)]['registerRefRange'](_0x49a1ae,_0x1090eb=>(_0x8384b7[_0x7f4675(0x254)](),_0x31fbbd(_0x1090eb,_0x34caa0,_0x375c24,_0x49a1ae)));_0x355f9e[_0x7f4675(0x2b1)](_0x8384b7);});};this['disposeWithMe'](_0x396f24[_0x4bf297(0x19c)](this[_0x4bf297(0x13a)]['subscribe'](()=>{_0x3a6d74();})));}[_0x37c2de(0xf8)](){const _0x47a003=_0x37c2de;var _0x37bfc0,_0x4d4750;if(this[_0x47a003(0x119)]=!0x0,((_0x37bfc0=this['_univerInstanceService'][_0x47a003(0x2b3)]())==null?void 0x0:_0x37bfc0['getUnitId']())!==this[_0x47a003(0x246)])return;const _0x577feb=(_0x4d4750=this[_0x47a003(0x212)][_0x47a003(0x2de)](_0x2141ef[_0x47a003(0x292)])[_0x47a003(0x30f)]())==null?void 0x0:_0x4d4750[0x0],_0x145512=this['_univerInstanceService']['getCurrentUnitForType'](_0x396f24[_0x47a003(0x10f)]['UNIVER_SHEET'])[_0x47a003(0x197)]();_0x577feb&&_0x145512&&this[_0x47a003(0x305)](_0x145512[_0x47a003(0x153)](),_0x577feb);}['_toggleOffline'](){const _0x55b379=_0x37c2de;this[_0x55b379(0x119)]=!0x1;}};_0x33c9da=_0x3578e7([_0x559ca3(0x2,_0x396f24[_0x37c2de(0x15e)](_0x396f24['Injector'])),_0x559ca3(0x3,_0x396f24[_0x37c2de(0x15e)](_0x74392a)),_0x559ca3(0x4,_0x396f24['Inject'](_0x27b003[_0x37c2de(0x345)])),_0x559ca3(0x5,_0x396f24[_0x37c2de(0x34f)]),_0x559ca3(0x6,_0x396f24[_0x37c2de(0x1a6)]),_0x559ca3(0x7,_0x396f24[_0x37c2de(0x15e)](_0x2141ef[_0x37c2de(0x293)]))],_0x33c9da);var _0x54bc66=Object['getOwnPropertyDescriptor'],_0x56ccfa=(_0x350459,_0x1f9ce1,_0x5e02d9,_0x2ccfee)=>{for(var _0x369b93=_0x2ccfee>0x1?void 0x0:_0x2ccfee?_0x54bc66(_0x1f9ce1,_0x5e02d9):_0x1f9ce1,_0x17faae=_0x350459['length']-0x1,_0x1c6a55;_0x17faae>=0x0;_0x17faae--)(_0x1c6a55=_0x350459[_0x17faae])&&(_0x369b93=_0x1c6a55(_0x369b93)||_0x369b93);return _0x369b93;},_0x3a4afb=(_0x450bd6,_0x322e90)=>(_0x48be3f,_0x1ccb0b)=>_0x322e90(_0x48be3f,_0x1ccb0b,_0x450bd6);let _0x1789a5=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x1acd10,_0x3333e1,_0x44a53f){const _0x20de8d=_0x37c2de;super(),_0x425380(this,_0x20de8d(0x1e6),new Map()),_0x425380(this,_0x20de8d(0x213),new _0x1b47d1[(_0x20de8d(0x24c))]()),(this[_0x20de8d(0x332)]=_0x1acd10,this[_0x20de8d(0x212)]=_0x3333e1,this[_0x20de8d(0x2be)]=_0x44a53f,this[_0x20de8d(0x133)]());}[_0x37c2de(0x254)](){const _0x2da632=_0x37c2de;super[_0x2da632(0x254)](),this['_entityInit$'][_0x2da632(0x373)](),this['_entities'][_0x2da632(0x217)](_0x54a2c1=>_0x54a2c1[_0x2da632(0x254)]());}['getCollabCursors$'](_0x13693f){const _0x1f7dfd=_0x37c2de;return this[_0x1f7dfd(0x1e6)][_0x1f7dfd(0x1ff)](_0x13693f)?this[_0x1f7dfd(0x1e6)][_0x1f7dfd(0x2de)](_0x13693f)[_0x1f7dfd(0x24e)]:this[_0x1f7dfd(0x213)][_0x1f7dfd(0x2a6)](_0x1b47d1[_0x1f7dfd(0x203)](_0x1ab3e1=>_0x1ab3e1['unitID']===_0x13693f),_0x1b47d1[_0x1f7dfd(0x335)](_0x352739=>_0x352739[_0x1f7dfd(0x24e)]));}[_0x37c2de(0x133)](){const _0x269c8b=_0x37c2de;this[_0x269c8b(0x332)][_0x269c8b(0x1cc)](_0x396f24[_0x269c8b(0x10f)][_0x269c8b(0x112)])[_0x269c8b(0x2a6)](_0x1b47d1['takeUntil'](this[_0x269c8b(0x16c)]))[_0x269c8b(0x196)](async _0xe87b4d=>{const _0x215032=_0x269c8b,_0x125500=_0xe87b4d[_0x215032(0x278)](),_0x422446=await this[_0x215032(0x265)](_0x125500);this['_entityInit$'][_0x215032(0x38e)](_0x422446),this['_entities']['set'](_0x125500,_0x422446);}),this['_univerInstanceService'][_0x269c8b(0x1cc)](_0x396f24['UniverInstanceType'][_0x269c8b(0x15f)])[_0x269c8b(0x2a6)](_0x1b47d1[_0x269c8b(0x15c)](this[_0x269c8b(0x16c)]))['pipe'](_0x1b47d1[_0x269c8b(0x203)](_0x23c345=>!_0x23c345['getUnitId']()[_0x269c8b(0x36d)]('__')))['subscribe'](async _0x25aa1f=>{const _0x55adee=_0x269c8b,_0x1f23ff=_0x25aa1f[_0x55adee(0x278)](),_0x215e56=await this[_0x55adee(0x232)](_0x1f23ff);this['_entityInit$'][_0x55adee(0x38e)](_0x215e56),this[_0x55adee(0x1e6)][_0x55adee(0x117)](_0x1f23ff,_0x215e56);}),_0x1b47d1['merge'](this[_0x269c8b(0x332)][_0x269c8b(0x1fb)](_0x396f24[_0x269c8b(0x10f)][_0x269c8b(0x15f)]),this[_0x269c8b(0x332)][_0x269c8b(0x1fb)](_0x396f24[_0x269c8b(0x10f)]['UNIVER_SHEET']))[_0x269c8b(0x2a6)](_0x1b47d1[_0x269c8b(0x15c)](this['dispose$']))[_0x269c8b(0x196)](_0x6fe6bd=>{const _0x3dacf9=_0x269c8b,_0x16cc80=_0x6fe6bd['getUnitId'](),_0x5161c4=this[_0x3dacf9(0x1e6)][_0x3dacf9(0x2de)](_0x16cc80);_0x5161c4&&(_0x5161c4['dispose'](),this[_0x3dacf9(0x1e6)][_0x3dacf9(0x2b2)](_0x16cc80));});}async[_0x37c2de(0x265)](_0x38645a){const _0x7cdc54=_0x37c2de,_0x58c539=await this['_collabSessionService'][_0x7cdc54(0x14a)](_0x38645a),_0x2963ba=this['_injector'][_0x7cdc54(0x35a)](_0x33c9da,_0x38645a,_0x58c539);return _0x2963ba['init'](),_0x2963ba;}async[_0x37c2de(0x232)](_0x3faab7){const _0x229eaa=_0x37c2de,_0x7ddba7=await this[_0x229eaa(0x2be)]['requireSession'](_0x3faab7),_0x11e31c=this[_0x229eaa(0x212)]['createInstance'](_0x2f7eb2,_0x3faab7,_0x7ddba7);return _0x11e31c[_0x229eaa(0x337)](),_0x11e31c;}};_0x1789a5=_0x56ccfa([_0x3a4afb(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x3a4afb(0x1,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x205)])),_0x3a4afb(0x2,_0x396f24[_0x37c2de(0x15e)](_0x27b003['CollaborationSessionService']))],_0x1789a5);const _0x5d6f4f=0x14,_0x8392c1=0xc8,_0x48b8e6=0x4,_0x2ac0cb=0x5;function _0x1e19b6(_0x4c0a82,_0x11d313){const _0x4a9331=_0x37c2de;let {radius:_0x5eea0e,width:_0x355392,height:_0x598e28}=_0x11d313;_0x5eea0e=_0x5eea0e!=null?_0x5eea0e:0x0,_0x355392=_0x355392!=null?_0x355392:0x1e,_0x598e28=_0x598e28!=null?_0x598e28:0x1e;let _0x47ef8f=0x0,_0x36059a=0x0,_0x4cf507=0x0;_0x47ef8f=_0x36059a=_0x4cf507=Math[_0x4a9331(0x2fb)](_0x5eea0e,_0x355392/0x2,_0x598e28/0x2),_0x4c0a82[_0x4a9331(0x28f)](),_0x4c0a82[_0x4a9331(0x352)](_0x47ef8f,0x0),_0x4c0a82[_0x4a9331(0x28c)](_0x355392-_0x36059a,0x0),_0x4c0a82[_0x4a9331(0x334)](_0x355392-_0x36059a,_0x36059a,_0x36059a,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c0a82[_0x4a9331(0x28c)](_0x355392,_0x598e28-_0x4cf507),_0x4c0a82[_0x4a9331(0x334)](_0x355392-_0x4cf507,_0x598e28-_0x4cf507,_0x4cf507,0x0,Math['PI']/0x2,!0x1),_0x4c0a82[_0x4a9331(0x28c)](0x0,_0x598e28),_0x4c0a82[_0x4a9331(0x28c)](0x0,_0x47ef8f),_0x4c0a82['arc'](_0x47ef8f,_0x47ef8f,_0x47ef8f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c0a82[_0x4a9331(0x387)](),_0x11d313[_0x4a9331(0x1bd)]&&(_0x4c0a82['save'](),_0x4c0a82[_0x4a9331(0x169)]=_0x11d313[_0x4a9331(0x1bd)],_0x11d313[_0x4a9331(0x17f)]===_0x4a9331(0x113)?_0x4c0a82[_0x4a9331(0x1bd)](_0x4a9331(0x113)):_0x4c0a82[_0x4a9331(0x1bd)](),_0x4c0a82['restore']());}class _0xc354e extends _0x5841f7[_0x37c2de(0x2cc)]{constructor(_0x33a71d,_0x4746cd){const _0x3d659d=_0x37c2de;super(_0x33a71d,_0x4746cd),_0x425380(this,_0x3d659d(0x187)),_0x425380(this,_0x3d659d(0x27d)),(this[_0x3d659d(0x187)]=_0x4746cd==null?void 0x0:_0x4746cd[_0x3d659d(0x187)],this['text']=_0x4746cd==null?void 0x0:_0x4746cd[_0x3d659d(0x27d)]);}static[_0x37c2de(0x380)](_0x4b0e42,_0x163019){const _0x18da10=_0x37c2de,{text:_0x5afbe6,color:_0x15d4ca}=_0x163019;_0x4b0e42[_0x18da10(0x1d3)](),_0x4b0e42['font']=_0x18da10(0x33d);const _0x11e723=_0x4b0e42[_0x18da10(0xfc)](_0x5afbe6)[_0x18da10(0x356)],_0x3f16ba=Math[_0x18da10(0x2fb)](_0x11e723+0x2*_0x48b8e6,_0x8392c1);_0x1e19b6(_0x4b0e42,{'height':_0x5d6f4f,'radius':0x4,'width':_0x3f16ba,'fill':_0x15d4ca}),_0x4b0e42[_0x18da10(0x169)]='#FFF';const _0x3cc5a3=_0x48b8e6,_0x580dfd=_0x5d6f4f-_0x2ac0cb,_0x143e71=_0x8392c1-0x2*_0x48b8e6;if(_0x11e723>_0x143e71){let _0x27b81b='',_0x441e68=0x0;for(const _0x48171e of _0x5afbe6){const _0x23fac6=_0x4b0e42[_0x18da10(0xfc)](_0x48171e)[_0x18da10(0x356)];if(_0x441e68+_0x23fac6<=_0x143e71-_0x4b0e42['measureText'](_0x18da10(0x132))[_0x18da10(0x356)])_0x27b81b+=_0x48171e,_0x441e68+=_0x23fac6;else{_0x27b81b+=_0x18da10(0x132);break;}}_0x4b0e42[_0x18da10(0x2d4)](_0x27b81b,_0x3cc5a3,_0x580dfd);}else _0x4b0e42[_0x18da10(0x2d4)](_0x5afbe6,_0x3cc5a3,_0x580dfd);_0x4b0e42[_0x18da10(0x21c)]();}[_0x37c2de(0x17d)](_0x11f246){_0xc354e['drawWith'](_0x11f246,this);}}const _0x2b7ae8=_0x37c2de(0x328),_0x92394e=_0x37c2de(0x161),_0x4810f5=_0x37c2de(0x107),_0x24e0e1=0x6,_0xc0b8f9=1.5,_0x525ad2=0x4,_0x40b95e=1.5,_0x4e3754=_0x37c2de(0x165);class _0xdfcf27{constructor(_0x25bbde,_0x4f3d37,_0x55a896,_0x189d48){const _0x1c4951=_0x37c2de;_0x425380(this,_0x1c4951(0x15a),[]),_0x425380(this,'_anchor',null),_0x425380(this,_0x1c4951(0x279),null),_0x425380(this,_0x1c4951(0x21d),null),_0x425380(this,_0x1c4951(0x2f0),null),_0x425380(this,'_eventUnsubscribe',null),(this[_0x1c4951(0x138)]=_0x25bbde,this[_0x1c4951(0x346)]=_0x4f3d37,this[_0x1c4951(0x19e)]=_0x55a896,this['_document']=_0x189d48,this[_0x1c4951(0x1f9)]());}set[_0x37c2de(0x1d9)](_0x438265){const _0x15215f=_0x37c2de;_0x438265?(this[_0x15215f(0x21d)]&&this[_0x15215f(0x21d)][_0x15215f(0x174)](),this[_0x15215f(0x279)]&&this['_textBubble']['show']()):(this[_0x15215f(0x21d)]&&this[_0x15215f(0x21d)]['show'](),this[_0x15215f(0x279)]&&this[_0x15215f(0x279)][_0x15215f(0x174)]());}['dispose'](){const _0x48ddfe=_0x37c2de;for(const _0x4d931c of this['_shapes'])_0x4d931c[_0x48ddfe(0x254)]();this[_0x48ddfe(0x279)]&&this[_0x48ddfe(0x279)][_0x48ddfe(0x254)](),this[_0x48ddfe(0x21d)]&&this[_0x48ddfe(0x21d)]['dispose'](),this[_0x48ddfe(0x2c0)]&&this[_0x48ddfe(0x2c0)][_0x48ddfe(0x254)](),this[_0x48ddfe(0x2a2)]&&this[_0x48ddfe(0x2a2)]();}[_0x37c2de(0x1f9)](){const _0x4c9fed=_0x37c2de;var _0x2768e6;const {_docSkeleton:_0x448681,_document:_0x110594}=this,{color:_0x3a30c4,name:_0x5e0c31,ranges:_0x347431}=this[_0x4c9fed(0x138)],_0x594f7b=_0x110594[_0x4c9fed(0x2c9)](),{docsLeft:_0x3fd6e5,docsTop:_0x596b68}=_0x594f7b,_0x4ec237=new _0x2752ff[(_0x4c9fed(0x26c))](_0x594f7b,_0x448681);for(const {startOffset:_0x1bacae,endOffset:_0x321862,rangeType:_0x4d2319,segmentId:_0x1c8eeb,segmentPage:_0x80dce4,collapsed:_0x17a1ed,isActive:_0x273962}of _0x347431){const _0x3960be=_0x448681[_0x4c9fed(0x16f)](_0x1bacae,!0x0,_0x1c8eeb,_0x80dce4);let _0x4fef0a=_0x448681[_0x4c9fed(0x16f)](_0x321862,!0x0,_0x1c8eeb,_0x80dce4);if(_0x4fef0a==null&&(_0x4fef0a=_0x448681['findNodePositionByCharIndex'](_0x321862-0x1,!0x1,_0x1c8eeb,_0x80dce4)),_0x273962){const {contentBoxPointGroup:_0x60f9c8}=_0x4ec237['getRangePointData'](_0x4fef0a,_0x4fef0a);if(_0x60f9c8[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x221)](_0x3a30c4,_0x60f9c8,_0x3fd6e5,_0x596b68,_0x5e0c31),this[_0x4c9fed(0x2a2)]=this[_0x4c9fed(0x2db)]();}if(_0x3960be&&_0x4fef0a){if(_0x4d2319===_0x396f24['DOC_RANGE_TYPE'][_0x4c9fed(0x1e0)]){const _0x52ae4d=new _0x2752ff[(_0x4c9fed(0x18f))](_0x594f7b,_0x448681),{pointGroup:_0x543e73}=(_0x2768e6=_0x52ae4d[_0x4c9fed(0x142)](_0x3960be,_0x4fef0a))!=null?_0x2768e6:{};if(_0x543e73==null||_0x543e73[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x11c)](_0x3a30c4,_0x543e73,_0x3fd6e5,_0x596b68);}else{if(!_0x17a1ed){const {borderBoxPointGroup:_0x3705e7}=_0x4ec237[_0x4c9fed(0x142)](_0x3960be,_0x4fef0a);if(_0x3705e7[_0x4c9fed(0x2c4)]===0x0)continue;this[_0x4c9fed(0x21b)](_0x3a30c4,_0x3705e7,_0x3fd6e5,_0x596b68);}}}}}[_0x37c2de(0x221)](_0x591a73,_0x190807,_0x522586,_0x522984,_0x4de9de){const _0x1d44cb=_0x37c2de,_0xda7a57=this[_0x1d44cb(0x17e)](_0x190807),{left:_0x258e2b,top:_0x4b3fb4,height:_0x172fc1}=_0xda7a57,_0x36cc47=this[_0x1d44cb(0x1ae)](),_0x399799=_0x40b95e/_0x36cc47,_0x414358=new _0x5841f7[(_0x1d44cb(0x20d))](_0x2b7ae8+_0x396f24[_0x1d44cb(0x298)](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984,'height':_0x172fc1,'width':_0xc0b8f9,'fill':_0x591a73||_0x5841f7[_0x1d44cb(0x2bd)](_0x396f24['COLORS'][_0x1d44cb(0x288)],0x0),'strokeWidth':_0x399799,'stroke':_0x4e3754,'evented':!0x0});this[_0x1d44cb(0x2c0)]=_0x414358,this['_scene'][_0x1d44cb(0x211)](_0x414358,_0x2752ff[_0x1d44cb(0x349)]);const _0x281a8c=new _0x5841f7['Rect'](_0x2b7ae8+_0x396f24[_0x1d44cb(0x298)](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984-_0x525ad2/0x2,'height':_0x525ad2,'width':_0x525ad2,'fill':_0x591a73||_0x5841f7['getColor'](_0x396f24[_0x1d44cb(0x26b)][_0x1d44cb(0x288)],0x0),'strokeWidth':0x0,'stroke':_0x591a73||_0x5841f7[_0x1d44cb(0x2bd)](_0x396f24['COLORS'][_0x1d44cb(0x288)],0x0),'evented':!0x1});this[_0x1d44cb(0x21d)]=_0x281a8c,this[_0x1d44cb(0x346)][_0x1d44cb(0x211)](_0x281a8c,_0x2752ff[_0x1d44cb(0x349)]);const _0x1e69e8=new _0xc354e(_0x2b7ae8+_0x396f24['generateRandomId'](_0x24e0e1),{'left':_0x258e2b+_0x522586-_0x399799,'top':_0x4b3fb4+_0x522984-_0x5d6f4f,'text':_0x4de9de,'color':_0x591a73});this[_0x1d44cb(0x279)]=_0x1e69e8,this[_0x1d44cb(0x346)][_0x1d44cb(0x211)](_0x1e69e8,_0x2752ff[_0x1d44cb(0x349)]),this[_0x1d44cb(0x1d9)]=!0x1;}[_0x37c2de(0x2db)](){const _0x527321=_0x37c2de,_0x282d8b=this[_0x527321(0x2c0)][_0x527321(0x115)][_0x527321(0x137)](()=>{const _0x3d3bca=_0x527321;this[_0x3d3bca(0x1d9)]=!0x0;}),_0x567280=this[_0x527321(0x2c0)][_0x527321(0x163)][_0x527321(0x137)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x28e680=_0x527321;_0x282d8b[_0x28e680(0x2b8)](),_0x567280[_0x28e680(0x2b8)]();};}[_0x37c2de(0x21b)](_0x3c00ae,_0x594286,_0x7a6678,_0x2bb3a4){const _0xc4adea=_0x37c2de,_0x33dfdd=new _0x396f24[(_0xc4adea(0x1d6))](_0x3c00ae)['setAlpha'](0.2)[_0xc4adea(0x377)](),_0x225020=new _0x5841f7[(_0xc4adea(0x215))](_0x92394e+_0x396f24[_0xc4adea(0x298)](_0x24e0e1),{'pointsGroup':_0x594286,'fill':_0x33dfdd||_0x5841f7[_0xc4adea(0x2bd)](_0x396f24[_0xc4adea(0x26b)][_0xc4adea(0x288)],0.2),'left':_0x7a6678,'top':_0x2bb3a4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xc4adea(0x15a)]['push'](_0x225020),this[_0xc4adea(0x346)][_0xc4adea(0x211)](_0x225020,_0x2752ff[_0xc4adea(0x349)]);}[_0x37c2de(0x11c)](_0x57d9b3,_0x51e7e4,_0x464a9a,_0x44915a){const _0x55d63b=_0x37c2de,_0x73c4e3=new _0x396f24[(_0x55d63b(0x1d6))](_0x57d9b3)['setAlpha'](0.2)[_0x55d63b(0x377)](),_0xec15a=new _0x5841f7[(_0x55d63b(0x215))](_0x4810f5+_0x396f24[_0x55d63b(0x298)](_0x24e0e1),{'pointsGroup':_0x51e7e4,'fill':_0x73c4e3||_0x5841f7[_0x55d63b(0x2bd)](_0x396f24[_0x55d63b(0x26b)]['black'],0.2),'left':_0x464a9a,'top':_0x44915a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x55d63b(0x20f)](_0xec15a),this[_0x55d63b(0x346)][_0x55d63b(0x211)](_0xec15a,_0x2752ff[_0x55d63b(0x349)]);}[_0x37c2de(0x17e)](_0x1aff78){const _0xfa37=_0x1aff78[0x0],_0x5f14f4=_0xfa37[0x0],_0x222821=_0xfa37[0x2],{x:_0x3fb123,y:_0x33fd8a}=_0x5f14f4,{x:_0x26ec63,y:_0x2c5b8f}=_0x222821;return{'left':_0x3fb123,'top':_0x33fd8a,'width':_0x26ec63-_0x3fb123,'height':_0x2c5b8f-_0x33fd8a};}['_getScale'](){const _0x89c8e5=_0x37c2de,{scaleX:_0x3fcfdf,scaleY:_0x3fbabe}=this['_scene'][_0x89c8e5(0x223)]();return Math[_0x89c8e5(0x238)](_0x3fcfdf,_0x3fbabe);}}var _0x16d347=Object['getOwnPropertyDescriptor'],_0x144ec0=(_0x7b96c6,_0xd9a90c,_0x3f9c36,_0x457e3e)=>{const _0x1dc2f3=_0x37c2de;for(var _0x3e4bb1=_0x457e3e>0x1?void 0x0:_0x457e3e?_0x16d347(_0xd9a90c,_0x3f9c36):_0xd9a90c,_0x119b71=_0x7b96c6[_0x1dc2f3(0x2c4)]-0x1,_0x5cf246;_0x119b71>=0x0;_0x119b71--)(_0x5cf246=_0x7b96c6[_0x119b71])&&(_0x3e4bb1=_0x5cf246(_0x3e4bb1)||_0x3e4bb1);return _0x3e4bb1;},_0x49ed37=(_0x5c3e1b,_0x339e24)=>(_0x1fa8fd,_0x249b41)=>_0x339e24(_0x1fa8fd,_0x249b41,_0x5c3e1b);let _0x48bb14=class extends _0x396f24['RxDisposable']{constructor(_0x2583d0,_0x49ec43,_0x210f9f,_0x20dcf0,_0x45ffb7){const _0x388f16=_0x37c2de;super(),_0x425380(this,_0x388f16(0x1ac),[]),_0x425380(this,_0x388f16(0x303),[]),(this[_0x388f16(0x1a7)]=_0x2583d0,this['_docSkeletonManagerService']=_0x49ec43,this[_0x388f16(0x2ee)]=_0x210f9f,this[_0x388f16(0x30c)]=_0x20dcf0,this[_0x388f16(0x199)]=_0x45ffb7,this['_init']());}[_0x37c2de(0x133)](){const _0x34d8d9=_0x37c2de,_0x482c1a=this[_0x34d8d9(0x1a7)]['unitId'],_0x476cd2=this[_0x34d8d9(0x172)];this[_0x34d8d9(0x1c4)](_0x1b47d1['combineLatest']([this[_0x34d8d9(0x2ee)]['getCollabCursors$'](_0x482c1a),this[_0x34d8d9(0x199)][_0x34d8d9(0x1de)]])[_0x34d8d9(0x2a6)](_0x19b639[_0x34d8d9(0x379)](([_0x359b8c,_0x57cee2])=>({'skeleton':_0x476cd2['getSkeleton'](),'cursors':[..._0x359b8c[_0x34d8d9(0x386)]()]['flatMap'](_0x4966be=>({..._0x4966be,'color':this[_0x34d8d9(0x199)]['getColorFromTheme'](_0x4966be[_0x34d8d9(0x187)])}))})))[_0x34d8d9(0x196)](_0x2ae3e3=>{const _0x1c2127=_0x34d8d9;if(this['_removeCollabCursors'](),_0x2ae3e3){const {skeleton:_0x363d52,cursors:_0xeb1a77}=_0x2ae3e3;this[_0x1c2127(0x166)](_0x363d52,_0xeb1a77);}})),this[_0x34d8d9(0x2ed)](),this[_0x34d8d9(0x13d)]();}['_updateCollabCursors'](_0xbfdef,_0x2b4def){const _0x24dca5=_0x37c2de,{scene:_0x4b60f9,mainComponent:_0x2b2e62}=this[_0x24dca5(0x1a7)],_0x45d90d=_0x2b4def[_0x24dca5(0x379)](_0x90c718=>new _0xdfcf27(_0x90c718,_0x4b60f9,_0xbfdef,_0x2b2e62));this[_0x24dca5(0x1ac)]=_0x45d90d,this[_0x24dca5(0x303)]=_0x2b4def;}['_refreshCollabCursors'](){const _0x1399cf=_0x37c2de;this[_0x1399cf(0x2bf)]();const {scene:_0x37d2bd,mainComponent:_0x3798e3}=this['_context'],_0x51e5fc=this['_docSkeletonManagerService'][_0x1399cf(0x304)](),_0x46ee88=this[_0x1399cf(0x303)][_0x1399cf(0x379)](_0x360471=>new _0xdfcf27(_0x360471,_0x37d2bd,_0x51e5fc,_0x3798e3));this[_0x1399cf(0x1ac)]=_0x46ee88;}[_0x37c2de(0x2bf)](){const _0x585060=_0x37c2de;this[_0x585060(0x1ac)][_0x585060(0x217)](_0x2ed549=>_0x2ed549[_0x585060(0x254)]()),this['_cursorShapes']=[];}[_0x37c2de(0x13d)](){const _0x199869=_0x37c2de,_0x42df51=[_0x2752ff[_0x199869(0x1ea)]['id']];this[_0x199869(0x1c4)](this[_0x199869(0x30c)]['onCommandExecuted'](_0x2b4d5a=>{const _0x526582=_0x199869;_0x42df51[_0x526582(0x37d)](_0x2b4d5a['id'])&&_0x2b4d5a['params'][_0x526582(0x22b)]===this[_0x526582(0x1a7)][_0x526582(0x22b)]&&this[_0x526582(0x15d)]();}));}['_initResize'](){const _0xb5cb22=_0x37c2de;this[_0xb5cb22(0x1c4)](_0x396f24[_0xb5cb22(0x321)](this[_0xb5cb22(0x1a7)]['engine']['onTransformChange$'])['pipe'](_0x19b639['filter'](_0x4727f3=>_0x4727f3['type']===_0x5841f7['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0xb5cb22(0x1eb)]),_0x19b639[_0xb5cb22(0x170)](0x10))[_0xb5cb22(0x196)](()=>{const _0x5bc330=_0xb5cb22;this[_0x5bc330(0x15d)]();}));}};_0x48bb14=_0x144ec0([_0x49ed37(0x1,_0x396f24[_0x37c2de(0x15e)](_0x54b913['DocSkeletonManagerService'])),_0x49ed37(0x2,_0x396f24[_0x37c2de(0x15e)](_0x1789a5)),_0x49ed37(0x3,_0x396f24[_0x37c2de(0x1a6)]),_0x49ed37(0x4,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x134)]))],_0x48bb14);const _0x40bef3=0x1,_0x1fc4be=1.5;class _0x170b20 extends _0x5841f7[_0x37c2de(0x2cc)]{constructor(_0x234691,_0x2ecb5a){const _0xf7b389=_0x37c2de;super(_0x234691,_0x2ecb5a),_0x425380(this,'_color'),_0x425380(this,'_hovered',!0x1),_0x425380(this,_0xf7b389(0x358)),_0x425380(this,_0xf7b389(0x16b),''),_0x425380(this,_0xf7b389(0x1b8),_0xf7b389(0x193)),_0x425380(this,_0xf7b389(0x2f9)),(_0x2ecb5a&&this[_0xf7b389(0x389)](_0x2ecb5a),this[_0xf7b389(0x115)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0xf7b389(0x163)][_0xf7b389(0x137)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x37c2de(0x389)](_0x1428f0){const _0x4581d6=_0x37c2de;var _0xb842ef,_0x1251ee,_0x29d8c7,_0x41f5c9,_0x207797,_0x4cd246;this[_0x4581d6(0x2d8)]=(_0xb842ef=_0x1428f0[_0x4581d6(0x187)])!=null?_0xb842ef:this[_0x4581d6(0x2d8)],this[_0x4581d6(0x1af)]=(_0x1251ee=_0x1428f0['hovered'])!=null?_0x1251ee:this['_hovered'],this[_0x4581d6(0x358)]=(_0x29d8c7=_0x1428f0[_0x4581d6(0x274)])!=null?_0x29d8c7:this[_0x4581d6(0x358)],this['_name']=(_0x41f5c9=_0x1428f0[_0x4581d6(0x1cf)])!=null?_0x41f5c9:this[_0x4581d6(0x16b)],this[_0x4581d6(0x1b8)]=(_0x207797=_0x1428f0[_0x4581d6(0x395)])!=null?_0x207797:this['_labelPosition'],this[_0x4581d6(0x2f9)]=(_0x4cd246=_0x1428f0[_0x4581d6(0x320)])!=null?_0x4cd246:this['_backgroundColor'],this[_0x4581d6(0x24f)]({'width':_0x1428f0[_0x4581d6(0x356)],'height':_0x1428f0[_0x4581d6(0x175)]});}[_0x37c2de(0x151)](_0x1f80ff){const _0x106863=_0x37c2de,{row:_0x177b3d,column:_0x5c2dab}=_0x1f80ff;if(_0x177b3d>=this['_range']['startRow']&&_0x177b3d<=this[_0x106863(0x358)][_0x106863(0x2e8)]&&_0x5c2dab>=this[_0x106863(0x358)]['startColumn']&&_0x5c2dab<=this[_0x106863(0x358)][_0x106863(0x31b)]){this[_0x106863(0x389)]({'hovered':!0x0});return;}this[_0x106863(0x389)]({'hovered':!0x1});}[_0x37c2de(0x1ee)](_0x403fd9){return!0x1;}[_0x37c2de(0x17d)](_0x4fa484){const _0x58f25b=_0x37c2de;_0x5841f7[_0x58f25b(0x20d)][_0x58f25b(0x380)](_0x4fa484,{'width':this[_0x58f25b(0x356)],'height':this[_0x58f25b(0x175)],'strokeWidth':_0x1fc4be,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x58f25b(0x2f9)]}),this[_0x58f25b(0x1af)]&&(_0x4fa484['save'](),_0x4fa484[_0x58f25b(0x330)](0x1,0x0,0x0,0x1,this[_0x58f25b(0x356)],this[_0x58f25b(0x1b8)]===_0x58f25b(0x126)?0x0:-_0x5d6f4f),_0xc354e[_0x58f25b(0x380)](_0x4fa484,{'text':this[_0x58f25b(0x16b)],'color':this[_0x58f25b(0x2d8)]}),_0x4fa484[_0x58f25b(0x21c)]());}}var _0x1642a1=Object[_0x37c2de(0x1ca)],_0x2e712a=(_0x3fe09d,_0x1ed4b8,_0x48b15e,_0x2e9b54)=>{const _0x5a07ac=_0x37c2de;for(var _0x37c943=_0x2e9b54>0x1?void 0x0:_0x2e9b54?_0x1642a1(_0x1ed4b8,_0x48b15e):_0x1ed4b8,_0x10b18d=_0x3fe09d[_0x5a07ac(0x2c4)]-0x1,_0x53bbfc;_0x10b18d>=0x0;_0x10b18d--)(_0x53bbfc=_0x3fe09d[_0x10b18d])&&(_0x37c943=_0x53bbfc(_0x37c943)||_0x37c943);return _0x37c943;},_0x50b8c5=(_0x45f12d,_0x22ab2d)=>(_0xece192,_0x27b0a6)=>_0x22ab2d(_0xece192,_0x27b0a6,_0x45f12d);const _0xba5d7a=0x1389;let _0x29d0ef=class extends _0x396f24[_0x37c2de(0x37a)]{constructor(_0x2acfbf,_0x59ccd1,_0x176958,_0x194d72){const _0x4c72eb=_0x37c2de;super(),_0x425380(this,_0x4c72eb(0x303),new Set()),_0x425380(this,_0x4c72eb(0x1d1),null),(this[_0x4c72eb(0x1a7)]=_0x2acfbf,this[_0x4c72eb(0x1ab)]=_0x59ccd1,this[_0x4c72eb(0x2ee)]=_0x176958,this[_0x4c72eb(0x199)]=_0x194d72,this[_0x4c72eb(0x133)]());}['_init'](){const _0x2106e7=_0x37c2de;this[_0x2106e7(0x1ab)]['currentSkeleton$'][_0x2106e7(0x2a6)](_0x19b639['takeUntil'](this[_0x2106e7(0x16c)]),_0x19b639[_0x2106e7(0x335)](_0x2e2623=>{const _0x752d96=_0x2106e7;if(_0x2e2623){const _0x2a0334=_0x2e2623[_0x752d96(0x12d)];return _0x1b47d1[_0x752d96(0x1e4)](this[_0x752d96(0x2ee)]['getCollabCursors$'](this['_context'][_0x752d96(0x22b)]),this['_themeService'][_0x752d96(0x1de)])[_0x752d96(0x2a6)](_0x19b639['map'](([_0x14a8d0,_0x39bcc1])=>{const _0x1f9396=_0x752d96,_0x3ef42e=new Map();return _0x14a8d0[_0x1f9396(0x217)]((_0x514af9,_0x5954e9)=>{const _0x45ff57=_0x1f9396;if(_0x514af9[_0x45ff57(0x13c)]===_0x2a0334){const _0x3492b3={..._0x514af9};_0x3492b3['color']=this['_themeService'][_0x45ff57(0x270)](_0x514af9['color']),_0x3ef42e[_0x45ff57(0x117)](_0x5954e9,_0x3492b3);}}),{'skeleton':_0x2e2623,'cursors':_0x3ef42e};}));}return _0x1b47d1['of']({'skeleton':null,'cursors':new Map()});}))[_0x2106e7(0x196)](({skeleton:_0x52253c,cursors:_0x5bd54c})=>{const _0x4e1ad4=_0x2106e7;this[_0x4e1ad4(0x2bf)](),_0x52253c&&this['_updateCollabCursors'](_0x52253c,_0x5bd54c);}),this[_0x2106e7(0x1ab)][_0x2106e7(0x104)]['subscribe'](_0x49bc08=>{const _0x50af41=_0x2106e7;if(_0x49bc08==null)return;const {skeleton:_0x2911a7}=_0x49bc08,{scene:_0xa9ec0b}=this[_0x50af41(0x1a7)];_0xa9ec0b[_0x50af41(0x18c)]['subscribeEvent'](_0x396f24['debounce'](_0x283b78=>{const _0x275fa6=_0x50af41;var _0x36c624,_0x30a79d;const {offsetX:_0x477cf8,offsetY:_0x198536}=_0x283b78,{x:_0x3fc20b,y:_0x1b3423}=_0xa9ec0b[_0x275fa6(0x378)](_0x5841f7['Vector2'][_0x275fa6(0x255)]([_0x477cf8,_0x198536])),{scaleX:_0x2b091f,scaleY:_0x1cf5cb}=_0xa9ec0b[_0x275fa6(0x223)](),_0x1a3944=_0xa9ec0b[_0x275fa6(0x268)](_0x5841f7[_0x275fa6(0x384)][_0x275fa6(0x114)]),_0x30a6f3=_0xa9ec0b['getVpScrollXYInfoByPosToVp'](_0x5841f7[_0x275fa6(0x12c)]['FromArray']([_0x3fc20b,_0x1b3423]),_0x1a3944),_0x22c312=_0x2911a7['getCellPositionByOffset'](_0x477cf8,_0x198536,_0x2b091f,_0x1cf5cb,_0x30a6f3);((_0x36c624=this['_lastPointer'])==null?void 0x0:_0x36c624[_0x275fa6(0x11f)])===_0x22c312[_0x275fa6(0x11f)]&&((_0x30a79d=this[_0x275fa6(0x1d1)])==null?void 0x0:_0x30a79d['row'])===_0x22c312['row']||this[_0x275fa6(0x303)][_0x275fa6(0x217)](_0x2f0cbc=>{const _0x8e1021=_0x275fa6;_0x2f0cbc[_0x8e1021(0x151)](_0x22c312);});},0x64));});}[_0x37c2de(0x166)](_0x4a81b2,_0x48cf92){const _0x1482b9=_0x37c2de;var _0x800bb2;const _0x51e33f=(_0x800bb2=this[_0x1482b9(0x1ab)]['getCurrent']())==null?void 0x0:_0x800bb2[_0x1482b9(0x302)];if(!_0x51e33f)return;const _0x3b648b=this[_0x1482b9(0x200)]();if(!_0x3b648b)return;this[_0x1482b9(0x303)]['forEach'](_0x3787c3=>{const _0x3ce751=_0x1482b9;_0x3787c3[_0x3ce751(0x100)]();});const {scene:_0x38505e}=_0x3b648b,_0x8b37ff=_0x129ffa(Array[_0x1482b9(0x1f8)](_0x48cf92[_0x1482b9(0x386)]()))[_0x1482b9(0x379)](_0x32b12a=>{const _0xb5f93=_0x1482b9,{color:_0x86f767,range:_0x1375b5,name:_0x2cead9,selection:_0x3ff80c,sheetID:_0x1793e9}=_0x32b12a,{startColumn:_0x87ab64,startRow:_0x536d66,endColumn:_0x162931,endRow:_0x184c29}=_0x1375b5,_0x4fe663=_0x39a301['getCoordByCell'](_0x536d66,_0x87ab64,_0x38505e,_0x51e33f),_0x125bc0=_0x39a301['getCoordByCell'](_0x184c29,_0x162931,_0x38505e,_0x51e33f),{columnHeaderHeightAndMarginTop:_0x2dc5f8}=_0x51e33f,{startX:_0x3ce638,startY:_0x29e677}=_0x4fe663,{endX:_0x1988d8,endY:_0x5c34c0}=_0x125bc0,_0x14413e=_0x1988d8-_0x3ce638,_0x4d1932=_0x5c34c0-_0x29e677,_0x1b44bc={'labelPosition':_0x29e677-_0x2dc5f8>=_0x5d6f4f?'top':_0xb5f93(0x126),'sheetID':_0x1793e9,'range':_0x1375b5,'color':_0x86f767,'name':_0x2cead9,'selection':_0x3ff80c,'left':_0x3ce638,'top':_0x29e677,'width':_0x14413e,'height':_0x4d1932,'evented':!0x1,'zIndex':_0xba5d7a};return new _0x170b20(_0x2cead9,_0x1b44bc);});_0x38505e['addObjects'](_0x8b37ff,_0x40bef3),this[_0x1482b9(0x303)]=new Set(_0x8b37ff);}[_0x37c2de(0x2bf)](){const _0x16d080=_0x37c2de;var _0x4ac4b3;(_0x4ac4b3=this[_0x16d080(0x303)])==null||_0x4ac4b3[_0x16d080(0x217)](_0x314998=>_0x314998[_0x16d080(0x254)]());}[_0x37c2de(0x200)](){const _0x1743b5=_0x37c2de;return _0x39a301[_0x1743b5(0x28a)](this[_0x1743b5(0x1a7)]['unit'],this[_0x1743b5(0x1a7)]);}};_0x29d0ef=_0x2e712a([_0x50b8c5(0x1,_0x396f24[_0x37c2de(0x15e)](_0x39a301['SheetSkeletonManagerService'])),_0x50b8c5(0x2,_0x396f24['Inject'](_0x1789a5)),_0x50b8c5(0x3,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x134)]))],_0x29d0ef);function _0x129ffa(_0x2e21b4){const _0x550c87=_0x37c2de,_0x360b13=new Map();return _0x2e21b4[_0x550c87(0x217)](_0x154544=>{const _0x40537f=_0x550c87;if(_0x360b13[_0x40537f(0x1ff)](_0x154544[_0x40537f(0x2cf)])){const _0x2445da=_0x360b13[_0x40537f(0x2de)](_0x154544[_0x40537f(0x2cf)]);_0x2445da['name']+=',\x20'+_0x154544[_0x40537f(0x1cf)];}else _0x360b13[_0x40537f(0x117)](_0x154544[_0x40537f(0x2cf)],_0x154544);}),Array[_0x550c87(0x1f8)](_0x360b13[_0x550c87(0x386)]());}var _0x2f1b16=Object[_0x37c2de(0x1ca)],_0xb02059=(_0x13c39b,_0x3a243b,_0x5de078,_0xa1c58c)=>{const _0xa08fa8=_0x37c2de;for(var _0x3d9f82=_0xa1c58c>0x1?void 0x0:_0xa1c58c?_0x2f1b16(_0x3a243b,_0x5de078):_0x3a243b,_0x14cff9=_0x13c39b[_0xa08fa8(0x2c4)]-0x1,_0x227916;_0x14cff9>=0x0;_0x14cff9--)(_0x227916=_0x13c39b[_0x14cff9])&&(_0x3d9f82=_0x227916(_0x3d9f82)||_0x3d9f82);return _0x3d9f82;},_0x3a0206=(_0xd2b64d,_0x32b3d9)=>(_0x27b0c5,_0x9a184a)=>_0x32b3d9(_0x27b0c5,_0x9a184a,_0xd2b64d);let _0x2f45ed=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0x305490,_0x581fee,_0x55f8cd,_0x808aa6,_0x521823,_0x1df101){const _0x24432f=_0x37c2de;super(),this[_0x24432f(0x2d1)]=_0x305490,this[_0x24432f(0x1ad)]=_0x581fee,this[_0x24432f(0x13f)]=_0x55f8cd,this[_0x24432f(0x102)]=_0x808aa6,this[_0x24432f(0x2f3)]=_0x521823,this[_0x24432f(0x248)]=_0x1df101,this[_0x24432f(0x22f)](),this['_initEvent']();}[_0x37c2de(0x22f)](){const _0x386ca2=_0x37c2de;this['disposeWithMe'](this[_0x386ca2(0x2d1)][_0x386ca2(0x18d)](()=>{const _0x5aa78c=_0x386ca2;if(this[_0x5aa78c(0x1ad)]['saveTaskMap'][_0x5aa78c(0x38d)])return this[_0x5aa78c(0x248)]['t'](_0x5aa78c(0x354));}));}[_0x37c2de(0x2ad)](){const _0x245fce=_0x37c2de;this[_0x245fce(0x1c4)](this[_0x245fce(0x13f)][_0x245fce(0x2c5)][_0x245fce(0x196)](_0x4f5cce=>{const _0x53f8e9=_0x245fce;_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)]['OTHER_CLIENT_EDITING']&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x1d0))}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId'][_0x53f8e9(0x31a)]&&this['_messageService'][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x16a))}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x37f)]&&this[_0x53f8e9(0x2f3)][_0x53f8e9(0x10e)]({'title':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x120)),'content':this[_0x53f8e9(0x248)]['t']('permission.content'),'type':_0x53f8e9(0x1b6),'duration':0x0}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId'][_0x53f8e9(0x2fc)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431['MessageType'][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x16a))+'('+_0x4f5cce[_0x53f8e9(0x1f4)]+')'}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x1a9)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x188)],'content':this[_0x53f8e9(0x248)]['t'](_0x4f5cce['data']||'')}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x181)]&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)]['Warning'],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x21f))}),_0x4f5cce['id']===_0x27b003[_0x53f8e9(0x280)][_0x53f8e9(0x32d)]&&this[_0x53f8e9(0x102)]['show']({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t'](_0x53f8e9(0x1a3))}),_0x4f5cce['id']===_0x27b003['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x53f8e9(0x102)][_0x53f8e9(0x10e)]({'type':_0x262431[_0x53f8e9(0x23b)][_0x53f8e9(0x350)],'content':this[_0x53f8e9(0x248)]['t']('session.collaboration-timeout')});}));}};_0x2f45ed=_0xb02059([_0x3a0206(0x0,_0x39278b[_0x37c2de(0x260)]),_0x3a0206(0x1,_0x27b003[_0x37c2de(0x22a)]),_0x3a0206(0x2,_0x396f24['Inject'](_0x27b003['CollaborationUIEventService'])),_0x3a0206(0x3,_0x39278b[_0x37c2de(0x24b)]),_0x3a0206(0x4,_0x39278b[_0x37c2de(0x364)]),_0x3a0206(0x5,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x370)]))],_0x2f45ed);const _0x142d73='collaboration-client-ui.config',_0x548d5a={};var _0x148df8=Object[_0x37c2de(0x1ca)],_0x3a68f0=(_0x2adc35,_0x157dc9,_0x4645f8,_0x3eab63)=>{const _0x2adb35=_0x37c2de;for(var _0x1cde7a=_0x3eab63>0x1?void 0x0:_0x3eab63?_0x148df8(_0x157dc9,_0x4645f8):_0x157dc9,_0x1b5b8a=_0x2adc35[_0x2adb35(0x2c4)]-0x1,_0x235185;_0x1b5b8a>=0x0;_0x1b5b8a--)(_0x235185=_0x2adc35[_0x1b5b8a])&&(_0x1cde7a=_0x235185(_0x1cde7a)||_0x1cde7a);return _0x1cde7a;},_0x4bf907=(_0x206016,_0x33e3d6)=>(_0x164425,_0x2fe118)=>_0x33e3d6(_0x164425,_0x2fe118,_0x206016);let _0x59c018=class{constructor(_0x307101,_0x20a328){const _0xdfad5f=_0x37c2de;this[_0xdfad5f(0x1fd)]=_0x307101,this[_0xdfad5f(0x1b7)]=_0x20a328;}[_0x37c2de(0x16d)](_0x29496b){this['_transformUndoRedoStack'](_0x29496b),this['_transformPreviousActiveRange'](_0x29496b);}[_0x37c2de(0x2d0)](_0x3a631e){const _0x3a7266=_0x37c2de,{unitID:_0x267d1c}=_0x3a631e,_0x4a0d18=this['_renderManagerService']['getRenderById'](_0x267d1c)[_0x3a7266(0x244)](_0x2752ff[_0x3a7266(0x1b0)]),{redoCache:_0x4b29e7}=_0x4a0d18[_0x3a7266(0x149)]();if(_0x4b29e7[_0x3a7266(0x2c4)]===0x0)return _0x3a631e;let _0xfda147=_0x396f24[_0x3a7266(0x2f2)][_0x3a7266(0x231)](_0x3a631e[_0x3a7266(0x325)][0x0]);for(let _0x233b5b=0x0;_0x233b5b<_0x4b29e7[_0x3a7266(0x2c4)];_0x233b5b++){const _0x1c600a={'id':_0x3a7266(0x35f),'params':{..._0x4b29e7[_0x233b5b]}},_0x194232=this[_0x3a7266(0x1fd)][_0x3a7266(0x1e2)](_0xfda147,_0x1c600a,!0x1);if(_0x19f9e8[_0x3a7266(0x375)](_0x194232))throw _0x194232[_0x3a7266(0x1b6)];_0xfda147=_0x194232[_0x3a7266(0x154)];}return{..._0x396f24[_0x3a7266(0x2f2)][_0x3a7266(0x231)](_0x3a631e),'mutations':[_0xfda147]};}['_transformUndoRedoStack'](_0x4cd145){const _0x807582=_0x37c2de,{unitID:_0x2135a2}=_0x4cd145,_0x50b66e=this[_0x807582(0x1b7)]['getRenderById'](_0x2135a2)[_0x807582(0x244)](_0x2752ff[_0x807582(0x1b0)]),{undoCache:_0x34a9c2,redoCache:_0x49ed5b}=_0x50b66e[_0x807582(0x149)]();if(_0x34a9c2[_0x807582(0x2c4)]===0x0||_0x49ed5b['length']===0x0)return;const _0x3777dc=[],_0x43edbb=[];let _0x1e6eac=_0x396f24['Tools']['deepClone'](_0x4cd145[_0x807582(0x325)][0x0]),_0x4ec700=_0x396f24['Tools']['deepClone'](_0x4cd145[_0x807582(0x325)][0x0]);for(let _0x4e1c4d=_0x34a9c2['length']-0x1;_0x4e1c4d>=0x0;_0x4e1c4d--){const _0x34db58={'id':_0x807582(0x35f),'params':{..._0x34a9c2[_0x4e1c4d]}},_0x4eac6f={'id':_0x807582(0x35f),'params':{..._0x49ed5b[_0x4e1c4d]}},_0x11182b=this['_transformService'][_0x807582(0x1e2)](_0x1e6eac,_0x34db58,!0x1),_0x412bbc=this[_0x807582(0x1fd)][_0x807582(0x1e2)](_0x4ec700,_0x4eac6f,!0x1);if(_0x19f9e8[_0x807582(0x375)](_0x11182b))throw _0x11182b[_0x807582(0x1b6)];if(_0x19f9e8[_0x807582(0x375)](_0x412bbc))throw _0x412bbc[_0x807582(0x1b6)];_0x3777dc['unshift'](_0x11182b[_0x807582(0x191)][_0x807582(0x2e2)]),_0x43edbb[_0x807582(0x1d2)](_0x412bbc['m2Prime'][_0x807582(0x2e2)]),_0x1e6eac=_0x11182b[_0x807582(0x154)],_0x4ec700=_0x412bbc[_0x807582(0x154)];}_0x50b66e['setUndoRedoMutationParamsCache']({'undoCache':_0x3777dc,'redoCache':_0x43edbb});}[_0x37c2de(0x176)](_0x1ab181){const _0x4d264c=_0x37c2de,{unitID:_0x1e0139}=_0x1ab181,_0x1fc391=this[_0x4d264c(0x1b7)][_0x4d264c(0x319)](_0x1e0139)[_0x4d264c(0x244)](_0x2752ff[_0x4d264c(0x1b0)]),_0x2b2658=_0x1fc391[_0x4d264c(0x10c)]();if(_0x2b2658==null)return;const _0x20cbd3=[{'id':_0x4d264c(0x35f),'params':{'unitId':_0x1ab181['unitID'],'actions':null,'textRanges':[_0x2b2658]}}],_0x57c099=this[_0x4d264c(0x1fd)]['transformMutationsWithChangeset'](_0x1ab181,_0x20cbd3);if(!_0x19f9e8['isTransformMutationsWithChangesetSuccess'](_0x57c099))throw _0x57c099['error'];const _0x478790=_0x57c099['m2Prime'][0x0][_0x4d264c(0x2e2)][_0x4d264c(0x26e)];Array['isArray'](_0x478790)&&_0x478790['length']&&_0x1fc391[_0x4d264c(0x33b)](_0x478790[0x0]);}};_0x59c018=_0x3a68f0([_0x4bf907(0x0,_0x19f9e8['ITransformService']),_0x4bf907(0x1,_0x5841f7[_0x37c2de(0x178)])],_0x59c018);var _0x29652f=Object[_0x37c2de(0x1ca)],_0xa9caef=(_0x576fe4,_0x461c10,_0x381d2c,_0x3b3c2c)=>{const _0x46ed5b=_0x37c2de;for(var _0x2335b6=_0x3b3c2c>0x1?void 0x0:_0x3b3c2c?_0x29652f(_0x461c10,_0x381d2c):_0x461c10,_0x352067=_0x576fe4[_0x46ed5b(0x2c4)]-0x1,_0x3104d0;_0x352067>=0x0;_0x352067--)(_0x3104d0=_0x576fe4[_0x352067])&&(_0x2335b6=_0x3104d0(_0x2335b6)||_0x2335b6);return _0x2335b6;},_0x209449=(_0x54606d,_0x3d8be0)=>(_0x2af4c8,_0x416bfe)=>_0x3d8be0(_0x2af4c8,_0x416bfe,_0x54606d);let _0xd07721=class{constructor(_0x31f68f,_0x590ec9,_0x51fd28){const _0x35dd05=_0x37c2de;this['_injector']=_0x31f68f,this[_0x35dd05(0x1fd)]=_0x590ec9,this[_0x35dd05(0x122)]=_0x51fd28;}['transformStateCache'](_0x4b98ca){const _0x57d735=_0x37c2de;this[_0x57d735(0x20a)](_0x4b98ca);}[_0x37c2de(0x2d0)](_0x3be9b){const _0x57eb0a=_0x37c2de,{unitID:_0x281a53}=_0x3be9b,{collaboration:_0x4ea9c5}=this[_0x57eb0a(0x122)]['getStateCache'](_0x281a53);if(_0x4ea9c5[_0x57eb0a(0x2c4)]===0x0)return _0x3be9b;let _0xb608a4=_0x396f24[_0x57eb0a(0x2f2)]['deepClone'](_0x3be9b[_0x57eb0a(0x325)][0x0]);for(let _0x3cebab=0x0;_0x3cebab<_0x4ea9c5['length'];_0x3cebab++){const _0x573180={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ea9c5[_0x3cebab][_0x57eb0a(0x22b)],..._0x4ea9c5[_0x3cebab][_0x57eb0a(0x229)]}},_0x1b7a9f=this[_0x57eb0a(0x1fd)][_0x57eb0a(0x1e2)](_0xb608a4,_0x573180,!0x1);if(_0x19f9e8[_0x57eb0a(0x375)](_0x1b7a9f))throw _0x1b7a9f['error'];_0xb608a4=_0x1b7a9f[_0x57eb0a(0x154)];}return{..._0x396f24['Tools'][_0x57eb0a(0x231)](_0x3be9b),'mutations':[_0xb608a4]};}[_0x37c2de(0x20a)](_0x88bf16){const _0x3e4d87=_0x37c2de,{unitID:_0x35feeb}=_0x88bf16,{history:_0x527bf8,collaboration:_0x4191b2}=this[_0x3e4d87(0x122)][_0x3e4d87(0x285)](_0x35feeb);if(_0x527bf8[_0x3e4d87(0x2c4)]===0x0&&_0x4191b2[_0x3e4d87(0x2c4)]===0x0)return;const _0x4430a3=[],_0x25fa3f=[];let _0x26946f=_0x396f24[_0x3e4d87(0x2f2)]['deepClone'](_0x88bf16[_0x3e4d87(0x325)][0x0]),_0x3579b4=_0x396f24[_0x3e4d87(0x2f2)]['deepClone'](_0x88bf16[_0x3e4d87(0x325)][0x0]);for(let _0x4124b6=_0x527bf8[_0x3e4d87(0x2c4)]-0x1;_0x4124b6>=0x0;_0x4124b6--){const _0x5f52b0={'id':_0x3e4d87(0x35f),'params':{'unitId':_0x527bf8[_0x4124b6][_0x3e4d87(0x22b)],..._0x527bf8[_0x4124b6]['undoState']}},_0x337673={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x527bf8[_0x4124b6][_0x3e4d87(0x22b)],..._0x527bf8[_0x4124b6][_0x3e4d87(0x229)]}},_0x1ed3ff=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x26946f,_0x5f52b0,!0x1),_0x9e2bd1=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x3579b4,_0x337673,!0x1);if(_0x19f9e8[_0x3e4d87(0x375)](_0x1ed3ff))throw _0x1ed3ff[_0x3e4d87(0x1b6)];if(_0x19f9e8[_0x3e4d87(0x375)](_0x9e2bd1))throw _0x9e2bd1[_0x3e4d87(0x1b6)];_0x4430a3[_0x3e4d87(0x1d2)]({..._0x527bf8[_0x4124b6],'undoState':_0x1ed3ff['m2Prime']['params'],'redoState':_0x9e2bd1[_0x3e4d87(0x191)][_0x3e4d87(0x2e2)]}),_0x26946f=_0x1ed3ff[_0x3e4d87(0x154)],_0x3579b4=_0x9e2bd1[_0x3e4d87(0x154)];}_0x26946f=_0x396f24['Tools'][_0x3e4d87(0x231)](_0x88bf16[_0x3e4d87(0x325)][0x0]),_0x3579b4=_0x396f24[_0x3e4d87(0x2f2)][_0x3e4d87(0x231)](_0x88bf16['mutations'][0x0]);for(let _0x16bcbf=_0x4191b2[_0x3e4d87(0x2c4)]-0x1;_0x16bcbf>=0x0;_0x16bcbf--){const _0x585e8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4191b2[_0x16bcbf][_0x3e4d87(0x22b)],..._0x4191b2[_0x16bcbf][_0x3e4d87(0x2d2)]}},_0x7d72f6={'id':_0x3e4d87(0x35f),'params':{'unitId':_0x4191b2[_0x16bcbf][_0x3e4d87(0x22b)],..._0x4191b2[_0x16bcbf][_0x3e4d87(0x229)]}},_0x1afae9=this[_0x3e4d87(0x1fd)]['transformMutation'](_0x26946f,_0x585e8d,!0x1),_0x538873=this[_0x3e4d87(0x1fd)][_0x3e4d87(0x1e2)](_0x3579b4,_0x7d72f6,!0x1);if(_0x19f9e8[_0x3e4d87(0x375)](_0x1afae9))throw _0x1afae9[_0x3e4d87(0x1b6)];if(_0x19f9e8[_0x3e4d87(0x375)](_0x538873))throw _0x538873[_0x3e4d87(0x1b6)];_0x25fa3f[_0x3e4d87(0x1d2)]({..._0x4191b2[_0x16bcbf],'undoState':_0x1afae9[_0x3e4d87(0x191)]['params'],'redoState':_0x538873[_0x3e4d87(0x191)][_0x3e4d87(0x2e2)]}),_0x26946f=_0x1afae9['m1Prime'],_0x3579b4=_0x538873[_0x3e4d87(0x154)];}this['_docStateChangeManagerService'][_0x3e4d87(0x35b)](_0x35feeb,{'history':_0x4430a3,'collaboration':_0x25fa3f});}};_0xd07721=_0xa9caef([_0x209449(0x0,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x209449(0x1,_0x19f9e8[_0x37c2de(0x38a)]),_0x209449(0x2,_0x396f24[_0x37c2de(0x15e)](_0x2752ff[_0x37c2de(0x2a5)]))],_0xd07721);var _0x32a0a1=Object['getOwnPropertyDescriptor'],_0x1070f0=(_0x34aaca,_0x4dac42,_0xa54670,_0x412454)=>{const _0x678305=_0x37c2de;for(var _0x17a1ae=_0x412454>0x1?void 0x0:_0x412454?_0x32a0a1(_0x4dac42,_0xa54670):_0x4dac42,_0x4f8d56=_0x34aaca[_0x678305(0x2c4)]-0x1,_0x31ae42;_0x4f8d56>=0x0;_0x4f8d56--)(_0x31ae42=_0x34aaca[_0x4f8d56])&&(_0x17a1ae=_0x31ae42(_0x17a1ae)||_0x17a1ae);return _0x17a1ae;},_0x5a4ef4=(_0x457fbb,_0x150ced)=>(_0x46e417,_0x2c25db)=>_0x150ced(_0x46e417,_0x2c25db,_0x457fbb);let _0x341f82=class{constructor(_0x42df3b,_0x5061bf){const _0x151bed=_0x37c2de;this[_0x151bed(0x212)]=_0x42df3b,this[_0x151bed(0x1fd)]=_0x5061bf;}[_0x37c2de(0x20c)](_0x2932c7){const _0x15819b=_0x37c2de;var _0x54e230;const _0x273b8c=this['_injector'][_0x15819b(0x2de)](_0x54b913[_0x15819b(0x150)]),_0x16fcd5=(_0x54e230=_0x273b8c[_0x15819b(0x2c2)]())!=null?_0x54e230:[];if(_0x16fcd5[_0x15819b(0x2c4)]===0x0)return;const _0x3c2c01=_0x2932c7[_0x15819b(0x246)],_0x184b16=[{'id':_0x15819b(0x35f),'params':{'unitId':_0x3c2c01,'actions':null,'textRanges':_0x16fcd5}}],_0x9e2f5e=this[_0x15819b(0x1fd)][_0x15819b(0xf7)](_0x2932c7,_0x184b16);if(!_0x19f9e8[_0x15819b(0x33e)](_0x9e2f5e))throw _0x9e2f5e['error'];const _0x311ead=_0x9e2f5e[_0x15819b(0x191)][0x0]['params'][_0x15819b(0x26e)];Array['isArray'](_0x311ead)&&_0x311ead[_0x15819b(0x2c4)]&&_0x273b8c[_0x15819b(0x103)](_0x311ead,{'unitId':_0x3c2c01,'subUnitId':_0x3c2c01},!0x1);}};_0x341f82=_0x1070f0([_0x5a4ef4(0x0,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x5a4ef4(0x1,_0x19f9e8['ITransformService'])],_0x341f82);var _0x593d81=Object[_0x37c2de(0x1ca)],_0x60d22e=(_0x1d0495,_0x13af55,_0x23344b,_0x2dd308)=>{const _0x332ec3=_0x37c2de;for(var _0x2e8750=_0x2dd308>0x1?void 0x0:_0x2dd308?_0x593d81(_0x13af55,_0x23344b):_0x13af55,_0x5359a3=_0x1d0495[_0x332ec3(0x2c4)]-0x1,_0x44eef2;_0x5359a3>=0x0;_0x5359a3--)(_0x44eef2=_0x1d0495[_0x5359a3])&&(_0x2e8750=_0x44eef2(_0x2e8750)||_0x2e8750);return _0x2e8750;},_0x21f8e0=(_0x42cb29,_0x16c41b)=>(_0x22b111,_0x49ecf7)=>_0x16c41b(_0x22b111,_0x49ecf7,_0x42cb29);let _0xdc2afa=class extends _0x396f24[_0x37c2de(0x2e6)]{constructor(_0xed524e,_0x4a4bb0,_0x268b9f,_0xf64fa6,_0x1e50b1,_0x371235,_0x49ec60,_0x52460a){const _0x125ebf=_0x37c2de;super(),_0x425380(this,_0x125ebf(0x376),new _0x1b47d1[(_0x125ebf(0x338))](_0x27b003[_0x125ebf(0x317)]['NOT_COLLAB'])),(this[_0x125ebf(0x122)]=_0xed524e,this[_0x125ebf(0x1ec)]=_0x4a4bb0,this[_0x125ebf(0x2ff)]=_0x268b9f,this[_0x125ebf(0x289)]=_0xf64fa6,this[_0x125ebf(0x184)]=_0x1e50b1,this[_0x125ebf(0xff)]=_0x371235,this[_0x125ebf(0x102)]=_0x49ec60,this[_0x125ebf(0x248)]=_0x52460a,this[_0x125ebf(0x17c)]());}['_initEntityListener'](){const _0x2bf77a=_0x37c2de;this['disposeWithMe'](this[_0x2bf77a(0x1ec)][_0x2bf77a(0x361)]['subscribe'](_0x384f93=>{const _0x2d8b0c=_0x2bf77a,_0x45bc32=this[_0x2d8b0c(0x122)]['docStateChange$']['subscribe'](_0x3fc49e=>{const _0x422b93=_0x2d8b0c;if(_0x3fc49e==null)return;const {unitId:_0x2be6be,redoState:_0x158fc5,commandId:_0x134037}=_0x3fc49e;if(_0x2be6be!==_0x384f93[_0x422b93(0x246)])return;const _0x492063={'id':_0x134037,'type':_0x396f24[_0x422b93(0x31d)][_0x422b93(0x2ba)],'params':{'unitId':_0x2be6be,'actions':_0x158fc5[_0x422b93(0x1b4)],'textRanges':null}};_0x384f93[_0x422b93(0x299)](_0x492063);});if(_0x384f93[_0x2d8b0c(0x1c4)](_0x45bc32),_0x384f93 instanceof _0x27b003[_0x2d8b0c(0x218)]){const _0x4a5e4d={'onTransformIME':_0x56fe71=>this['_docTransformIMECacheService']['transformIMECache'](_0x56fe71),'onTransformState':_0x2e920c=>this['_docTransformStateCacheService'][_0x2d8b0c(0x204)](_0x2e920c),'onTransformSelections':_0x29c064=>this[_0x2d8b0c(0x184)][_0x2d8b0c(0x20c)](_0x29c064),'onSyncEditingCollabCursor':_0x22d7e2=>this[_0x2d8b0c(0xff)][_0x2d8b0c(0x282)](_0x22d7e2),'onTransformRemoteChangesetByIMECache':_0x10c3ae=>this[_0x2d8b0c(0x2ff)]['transformRemoteChangeset'](_0x10c3ae),'onTransformRemoteChangesetByStateCache':_0x494f7a=>this[_0x2d8b0c(0x289)]['transformRemoteChangeset'](_0x494f7a)};_0x384f93[_0x2d8b0c(0x158)](_0x4a5e4d);}}));}};_0xdc2afa=_0x60d22e([_0x21f8e0(0x0,_0x396f24[_0x37c2de(0x15e)](_0x2752ff[_0x37c2de(0x2a5)])),_0x21f8e0(0x1,_0x396f24[_0x37c2de(0x15e)](_0x27b003[_0x37c2de(0x1b1)])),_0x21f8e0(0x2,_0x396f24[_0x37c2de(0x15e)](_0x59c018)),_0x21f8e0(0x3,_0x396f24[_0x37c2de(0x15e)](_0xd07721)),_0x21f8e0(0x4,_0x396f24[_0x37c2de(0x15e)](_0x341f82)),_0x21f8e0(0x5,_0x396f24[_0x37c2de(0x15e)](_0x25bfb1)),_0x21f8e0(0x6,_0x39278b[_0x37c2de(0x24b)]),_0x21f8e0(0x7,_0x396f24[_0x37c2de(0x15e)](_0x396f24[_0x37c2de(0x370)]))],_0xdc2afa);var _0x2758dc=Object[_0x37c2de(0x1ca)],_0x4f4a5b=(_0x2a07c6,_0x86e7bd,_0x552049,_0x55f6bc)=>{const _0x523b8d=_0x37c2de;for(var _0x2c343f=_0x55f6bc>0x1?void 0x0:_0x55f6bc?_0x2758dc(_0x86e7bd,_0x552049):_0x86e7bd,_0xa92453=_0x2a07c6[_0x523b8d(0x2c4)]-0x1,_0x2b68c8;_0xa92453>=0x0;_0xa92453--)(_0x2b68c8=_0x2a07c6[_0xa92453])&&(_0x2c343f=_0x2b68c8(_0x2c343f)||_0x2c343f);return _0x2c343f;},_0x4a0a5c=(_0x133b8a,_0x3261a5)=>(_0x4d0ba5,_0x296276)=>_0x3261a5(_0x4d0ba5,_0x296276,_0x133b8a);let _0x3276ed=class extends _0x396f24['Disposable']{constructor(_0x1fa0d6,_0x457f08,_0x4d3063){const _0x32d48e=_0x37c2de;super(),_0x425380(this,'_cachedData',new Map()),_0x425380(this,_0x32d48e(0x36f),new Map()),_0x425380(this,_0x32d48e(0x257),!0x1),(this[_0x32d48e(0x18a)]=_0x1fa0d6,this['_localStorageService']=_0x457f08,this[_0x32d48e(0x210)]=_0x4d3063);}[_0x37c2de(0x195)](){const _0x4ffcd7=_0x37c2de;this[_0x4ffcd7(0x257)]=!0x0;}[_0x37c2de(0x2a9)](){const _0x5dbff9=_0x37c2de;this[_0x5dbff9(0x257)]=!0x1;}get[_0x37c2de(0x19f)](){return this['_saveTaskMap'];}[_0x37c2de(0x254)](){const _0x46c96a=_0x37c2de;this[_0x46c96a(0x327)]()[_0x46c96a(0x27f)](()=>super[_0x46c96a(0x254)]());}async['loadOfflineData'](_0x13c6f9){const _0x550d83=_0x37c2de;return this['_disabled']?null:this[_0x550d83(0x152)]['getItem'](_0x27b003[_0x550d83(0x1f2)](_0x13c6f9));}async[_0x37c2de(0x198)](_0x232e92,_0x1ee53d){const _0x12fb5b=_0x37c2de;return!!this[_0x12fb5b(0x152)][_0x12fb5b(0x31e)](_0x232e92,_0x1ee53d);}[_0x37c2de(0x315)](_0x4ee9ee,_0x243732,_0x24974f,_0xb3b9fe){const _0x78e4b9=_0x37c2de,_0x113196=this[_0x78e4b9(0x210)][_0x78e4b9(0x10b)](_0x4ee9ee);this[_0x78e4b9(0x2dd)]['set'](_0x4ee9ee,{'unitID':_0x4ee9ee,'type':_0x243732,'awaitingChangeset':_0x24974f,'mutations':_0xb3b9fe,'rev':_0x113196}),this[_0x78e4b9(0x36f)]['has'](_0x4ee9ee)||this[_0x78e4b9(0x391)](_0x4ee9ee);}['_scheduleSaving'](_0x6e9481){const _0x9dc495=_0x37c2de,_0x4a6fb4=this[_0x9dc495(0x14c)]();_0x4a6fb4===0x0?this[_0x9dc495(0x333)](_0x6e9481):this[_0x9dc495(0x36f)][_0x9dc495(0x117)](_0x6e9481,setTimeout(()=>this[_0x9dc495(0x333)](_0x6e9481),_0x4a6fb4));}[_0x37c2de(0x14c)](){const _0xcfe7e6=_0x37c2de;var _0x4ec1dc;return(_0x4ec1dc=this['_configService'][_0xcfe7e6(0x336)](_0x27b003[_0xcfe7e6(0x31c)]))!=null?_0x4ec1dc:_0x27b003[_0xcfe7e6(0x2bc)];}[_0x37c2de(0x333)](_0x69473){const _0x3befcd=_0x37c2de,_0x41d8ac=this[_0x3befcd(0x36f)][_0x3befcd(0x2de)](_0x69473);return _0x41d8ac!==void 0x0&&window[_0x3befcd(0x296)](_0x41d8ac),this[_0x3befcd(0x152)][_0x3befcd(0x31e)](_0x27b003[_0x3befcd(0x1f2)](_0x69473),this[_0x3befcd(0x2dd)][_0x3befcd(0x2de)](_0x69473))[_0x3befcd(0x27f)](()=>this['_saveTaskMap'][_0x3befcd(0x2b2)](_0x69473));}async['exhaustSavingTask'](){const _0x4191ff=_0x37c2de,_0x2fd2a1=[];this['_saveTaskMap']['forEach']((_0x3d0921,_0x25a27b)=>{const _0x1b5965=_0x6e2a;window[_0x1b5965(0x296)](_0x3d0921),_0x2fd2a1[_0x1b5965(0x20f)](this['_saveCache'](_0x25a27b)[_0x1b5965(0x27f)](()=>{const _0x3deb26=_0x1b5965;this[_0x3deb26(0x36f)][_0x3deb26(0x2b2)](_0x25a27b);}));}),await Promise[_0x4191ff(0x2ce)](_0x2fd2a1);}};_0x3276ed=_0x4f4a5b([_0x4a0a5c(0x0,_0x396f24[_0x37c2de(0x125)]),_0x4a0a5c(0x1,_0x396f24[_0x37c2de(0x155)]),_0x4a0a5c(0x2,_0x396f24[_0x37c2de(0x15e)](_0x19f9e8['RevisionService']))],_0x3276ed);class _0x196ebe extends _0x396f24['RxDisposable']{constructor(){const _0x5d3ee7=_0x37c2de;super(),_0x425380(this,_0x5d3ee7(0x19d)),this[_0x5d3ee7(0x19d)]=_0x1b47d1[_0x5d3ee7(0x24a)](window,'popstate')[_0x5d3ee7(0x2a6)](_0x1b47d1[_0x5d3ee7(0x15c)](this['dispose$']),_0x1b47d1[_0x5d3ee7(0x2a1)](0x1),_0x1b47d1[_0x5d3ee7(0x342)](void 0x0));}['setParam'](_0x48aad3,_0x4e58d3,_0x5c17c8=!0x1){const _0x345261=_0x37c2de,_0x59b444=new URL(window[_0x345261(0x239)][_0x345261(0x129)]);_0x59b444['searchParams'][_0x345261(0x117)](_0x48aad3,_0x4e58d3),_0x5c17c8?window[_0x345261(0x216)][_0x345261(0x267)]('','',_0x59b444[_0x345261(0xf9)]()):window[_0x345261(0x216)][_0x345261(0x207)]('','',_0x59b444['toString']());}[_0x37c2de(0x355)](_0x79fbde,_0x1c0698=!0x1){const _0xeb32a5=_0x37c2de,_0x4cb030=new URL(window[_0xeb32a5(0x239)]['href']);_0x4cb030[_0xeb32a5(0x12a)][_0xeb32a5(0x2b2)](_0x79fbde),_0x1c0698?window['history'][_0xeb32a5(0x267)]('','',_0x4cb030[_0xeb32a5(0xf9)]()):window['history']['pushState']('','',_0x4cb030[_0xeb32a5(0xf9)]());}[_0x37c2de(0x385)](_0x5bed4c){const _0x26045f=_0x37c2de;var _0x13c6e4;return(_0x13c6e4=new URL(window[_0x26045f(0x239)][_0x26045f(0x129)])['searchParams'][_0x26045f(0x2de)](_0x5bed4c))!=null?_0x13c6e4:void 0x0;}}var _0x4310c7=Object[_0x37c2de(0x1c9)],_0x4577b1=Object[_0x37c2de(0x1ca)],_0x695447=(_0x2e0162,_0x3f2499,_0x4bbbd8)=>_0x3f2499 in _0x2e0162?_0x4310c7(_0x2e0162,_0x3f2499,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bbbd8}):_0x2e0162[_0x3f2499]=_0x4bbbd8,_0x1aa3e2=(_0x27c8b6,_0x53310a,_0x164dbc,_0x4c791e)=>{const _0x26a5e9=_0x37c2de;for(var _0x2923f7=_0x4c791e>0x1?void 0x0:_0x4c791e?_0x4577b1(_0x53310a,_0x164dbc):_0x53310a,_0x567744=_0x27c8b6[_0x26a5e9(0x2c4)]-0x1,_0x44c722;_0x567744>=0x0;_0x567744--)(_0x44c722=_0x27c8b6[_0x567744])&&(_0x2923f7=_0x44c722(_0x2923f7)||_0x2923f7);return _0x2923f7;},_0x405ccc=(_0x842454,_0x3900ee)=>(_0x120bea,_0x842520)=>_0x3900ee(_0x120bea,_0x842520,_0x842454),_0x3826b3=(_0x2fcd5e,_0x26f4c0,_0x39300e)=>_0x695447(_0x2fcd5e,_0x26f4c0+'',_0x39300e);const _0x10fa4f=_0x37c2de(0x290);_0x5a6766[_0x37c2de(0x2d9)]=class extends _0x396f24[_0x37c2de(0x37e)]{constructor(_0x3cf114=_0x548d5a,_0x5da848,_0x556e1a,_0x4d7504){const _0x5f17c2=_0x37c2de;super(),this[_0x5f17c2(0x273)]=_0x3cf114,this[_0x5f17c2(0x1b7)]=_0x5da848,this[_0x5f17c2(0x212)]=_0x556e1a,this[_0x5f17c2(0x18a)]=_0x4d7504;const {..._0x129f4f}=_0x396f24['merge']({},_0x548d5a,this[_0x5f17c2(0x273)]);this[_0x5f17c2(0x18a)][_0x5f17c2(0x331)](_0x142d73,_0x129f4f);}[_0x37c2de(0x1aa)](){const _0x234605=_0x37c2de;this[_0x234605(0x28b)](),this[_0x234605(0x1c2)]();}[_0x37c2de(0x33c)](){this['_registerRenderDependencies']();}[_0x37c2de(0x28b)](){const _0x1f9af5=_0x37c2de;var _0x5c9a87;const _0x474a9a=[[_0x74392a],[_0x341f82],[_0x59c018],[_0xd07721],[_0x25bfb1],[_0x2bb386,{'useClass':_0x196ebe}],[_0x16b348[_0x1f9af5(0x121)],{'useClass':_0x16b348['WebSocketService']}],[_0x27b003['ILocalCacheService'],{'useClass':_0x3276ed}],[_0x5a6766[_0x1f9af5(0x2f5)]],[_0xdc2afa],[_0x2f45ed],[_0x1789a5],[_0x394a4b],[_0x5a6766['CollaborationDataLoaderController']]];_0x396f24[_0x1f9af5(0x237)](this['_injector'],_0x396f24[_0x1f9af5(0x308)](_0x474a9a,(_0x5c9a87=this[_0x1f9af5(0x273)])==null?void 0x0:_0x5c9a87[_0x1f9af5(0x37b)]));}[_0x37c2de(0x359)](){const _0x43a170=_0x37c2de;this[_0x43a170(0x1c4)](this[_0x43a170(0x1b7)][_0x43a170(0x222)](_0x396f24[_0x43a170(0x10f)][_0x43a170(0x15f)],[_0x48bb14])),this[_0x43a170(0x1c4)](this[_0x43a170(0x1b7)]['registerRenderModule'](_0x396f24['UniverInstanceType']['UNIVER_SHEET'],[_0x29d0ef]));}[_0x37c2de(0x1c2)](){const _0x20cc8=_0x37c2de;_0x396f24['touchDependencies'](this[_0x20cc8(0x212)],[[_0x1789a5],[_0x5a6766['DesktopCollaborationStatusDisplayController']],[_0xdc2afa],[_0x2f45ed],[_0x5a6766[_0x20cc8(0x156)]]]);}},_0x3826b3(_0x5a6766[_0x37c2de(0x2d9)],_0x37c2de(0x16e),_0x10fa4f),_0x5a6766[_0x37c2de(0x2d9)]=_0x1aa3e2([_0x396f24[_0x37c2de(0x18b)](_0x27b003[_0x37c2de(0x241)]),_0x405ccc(0x1,_0x5841f7['IRenderManagerService']),_0x405ccc(0x2,_0x396f24['Inject'](_0x396f24[_0x37c2de(0x205)])),_0x405ccc(0x3,_0x396f24[_0x37c2de(0x125)])],_0x5a6766[_0x37c2de(0x2d9)]);var _0x5a5bc8=Object['getOwnPropertyDescriptor'],_0xc32a51=(_0x1a425f,_0x31b23a,_0x5efc4c,_0x108ce5)=>{const _0xd7d50f=_0x37c2de;for(var _0xbe94f6=_0x108ce5>0x1?void 0x0:_0x108ce5?_0x5a5bc8(_0x31b23a,_0x5efc4c):_0x31b23a,_0x337ff3=_0x1a425f[_0xd7d50f(0x2c4)]-0x1,_0x4464d6;_0x337ff3>=0x0;_0x337ff3--)(_0x4464d6=_0x1a425f[_0x337ff3])&&(_0xbe94f6=_0x4464d6(_0xbe94f6)||_0xbe94f6);return _0xbe94f6;},_0x5b3d1c=(_0x5287d0,_0x142131)=>(_0x1fd1c8,_0x2fafc1)=>_0x142131(_0x1fd1c8,_0x2fafc1,_0x5287d0);_0x5a6766[_0x37c2de(0x34e)]=class extends _0x27b003[_0x37c2de(0x30d)]{constructor(_0x1d83ba,_0x423719,_0x19af8e,_0xe513da,_0x3fa600){super(_0x1d83ba,_0x423719,_0x19af8e,_0xe513da,_0x3fa600);}async['createSocket'](_0x2788e9){const _0x42fc26=_0x37c2de,_0x5d8570=await this['_getSessionTicket'](),_0x318c27=this[_0x42fc26(0x118)](_0x2788e9,_0x5d8570);return this[_0x42fc26(0x276)](_0x318c27);}[_0x37c2de(0x118)](_0x2ca717,_0xb07ef){const _0xd7542a=_0x37c2de,_0x27549e=typeof window>'u'?new URL(_0x2ca717):new URL(_0x2ca717,window['location'][_0xd7542a(0x1c3)]);_0x27549e[_0xd7542a(0x12a)][_0xd7542a(0x117)]('sessionTicket',_0xb07ef);const _0x9ac9ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xd7542a(0x239)][_0xd7542a(0x136)]);return _0x9ac9ab[_0xd7542a(0x2de)]('runId')&&_0x27549e[_0xd7542a(0x12a)][_0xd7542a(0x117)]('runId',_0x9ac9ab[_0xd7542a(0x2de)]('runId')),_0x27549e['toString']();}async[_0x37c2de(0x313)](){const _0x3225db=_0x37c2de;var _0x2c4517,_0x91bc45,_0x173423;const _0x443443=this[_0x3225db(0x18a)]['getConfig'](_0x27b003[_0x3225db(0x11b)]),_0x2c6ef5=(_0x2c4517=_0x443443==null?void 0x0:_0x443443[_0x3225db(0x101)])!=null?_0x2c4517:_0x27b003[_0x3225db(0x14e)];return(_0x173423=(_0x91bc45=(await this[_0x3225db(0x1b2)][_0x3225db(0x2de)](_0x2c6ef5,{'headers':{'Content-Type':_0x3225db(0x1b3)}}))[_0x3225db(0x2fd)])==null?void 0x0:_0x91bc45[_0x3225db(0x23f)])!=null?_0x173423:'';}},_0x5a6766[_0x37c2de(0x34e)]=_0xc32a51([_0x5b3d1c(0x0,_0x396f24[_0x37c2de(0x15e)](_0x396f24['Injector'])),_0x5b3d1c(0x1,_0x396f24[_0x37c2de(0x15e)](_0x16b348[_0x37c2de(0x25b)])),_0x5b3d1c(0x2,_0x396f24[_0x37c2de(0x125)]),_0x5b3d1c(0x3,_0x396f24['ILogService']),_0x5b3d1c(0x4,_0x19f9e8[_0x37c2de(0x2c1)])],_0x5a6766[_0x37c2de(0x34e)]);var _0x2ffbce=(_0x47fddd=>(_0x47fddd[_0x47fddd[_0x37c2de(0x17a)]=0x0]='UNDEFINED',_0x47fddd[_0x47fddd['OK']=0x1]='OK',_0x47fddd[_0x47fddd['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x47fddd[_0x47fddd[_0x37c2de(0x37f)]=0x3]=_0x37c2de(0x37f),_0x47fddd[_0x47fddd[_0x37c2de(0x32f)]=0x4]=_0x37c2de(0x32f),_0x47fddd[_0x47fddd['UNAUTHENTICATED']=0x5]=_0x37c2de(0x140),_0x47fddd[_0x47fddd[_0x37c2de(0x111)]=0x6]=_0x37c2de(0x111),_0x47fddd[_0x47fddd[_0x37c2de(0x23a)]=0x7]='INVALID_ARGUMENT',_0x47fddd[_0x47fddd[_0x37c2de(0x29e)]=0x8]='TOO_MANY_REQUESTS',_0x47fddd[_0x47fddd[_0x37c2de(0x32e)]=0x9]=_0x37c2de(0x32e),_0x47fddd[_0x47fddd[_0x37c2de(0x1d7)]=0xa]=_0x37c2de(0x1d7),_0x47fddd[_0x47fddd['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x37c2de(0x1bf),_0x47fddd[_0x47fddd[_0x37c2de(0x266)]=0xc]=_0x37c2de(0x266),_0x47fddd[_0x47fddd[_0x37c2de(0x35e)]=0xd]=_0x37c2de(0x35e),_0x47fddd[_0x47fddd[_0x37c2de(0x390)]=0xe]=_0x37c2de(0x390),_0x47fddd[_0x47fddd[_0x37c2de(0x394)]=0x1389]=_0x37c2de(0x394),_0x47fddd[_0x47fddd[_0x37c2de(0x157)]=0x1771]=_0x37c2de(0x157),_0x47fddd[_0x47fddd[_0x37c2de(0x233)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x47fddd[_0x47fddd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x37c2de(0x34a),_0x47fddd[_0x47fddd[_0x37c2de(0x38c)]=0x1b59]=_0x37c2de(0x38c),_0x47fddd[_0x47fddd[_0x37c2de(0x1dc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x47fddd[_0x47fddd[_0x37c2de(0x19b)]=0x1b5b]=_0x37c2de(0x19b),_0x47fddd[_0x47fddd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x37c2de(0x26f),_0x47fddd[_0x47fddd[_0x37c2de(0x1a5)]=0x1b5d]=_0x37c2de(0x1a5),_0x47fddd[_0x47fddd[_0x37c2de(0x131)]=0x1f41]=_0x37c2de(0x131),_0x47fddd[_0x47fddd['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x37c2de(0xfe),_0x47fddd[_0x47fddd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x37c2de(0x251),_0x47fddd[_0x47fddd[_0x37c2de(0x1b9)]=0x232b]=_0x37c2de(0x1b9),_0x47fddd[_0x47fddd[_0x37c2de(0x33a)]=0x232c]=_0x37c2de(0x33a),_0x47fddd[_0x47fddd[_0x37c2de(0x1f1)]=0x232d]=_0x37c2de(0x1f1),_0x47fddd[_0x47fddd[_0x37c2de(0x2e7)]=0x2711]=_0x37c2de(0x2e7),_0x47fddd[_0x47fddd[_0x37c2de(0x1df)]=0x2712]=_0x37c2de(0x1df),_0x47fddd[_0x47fddd[_0x37c2de(0x372)]=0x2713]=_0x37c2de(0x372),_0x47fddd[_0x47fddd['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x37c2de(0x264),_0x47fddd[_0x47fddd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x37c2de(0x300),_0x47fddd[_0x47fddd[_0x37c2de(0x383)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x47fddd[_0x47fddd[_0x37c2de(0x162)]=0x271c]=_0x37c2de(0x162),_0x47fddd[_0x47fddd[_0x37c2de(0x316)]=0x271d]=_0x37c2de(0x316),_0x47fddd[_0x47fddd['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x47fddd[_0x47fddd[_0x37c2de(0x144)]=0x271f]=_0x37c2de(0x144),_0x47fddd[_0x47fddd[_0x37c2de(0x209)]=0x2720]=_0x37c2de(0x209),_0x47fddd[_0x47fddd[_0x37c2de(0x2dc)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x47fddd[_0x47fddd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x37c2de(0x396),_0x47fddd[_0x47fddd[_0x37c2de(0x318)]=0x2ee2]=_0x37c2de(0x318),_0x47fddd[_0x47fddd[_0x37c2de(0x30e)]=0x2ee3]=_0x37c2de(0x30e),_0x47fddd[_0x47fddd[_0x37c2de(0x35c)]=0x2ee4]=_0x37c2de(0x35c),_0x47fddd[_0x47fddd['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x37c2de(0x2ae),_0x47fddd[_0x47fddd[_0x37c2de(0x309)]=0x32c9]=_0x37c2de(0x309),_0x47fddd[_0x47fddd[_0x37c2de(0x28e)]=0x32ca]=_0x37c2de(0x28e),_0x47fddd[_0x47fddd[_0x37c2de(0x2ab)]=0x32cb]=_0x37c2de(0x2ab),_0x47fddd[_0x47fddd['UNRECOGNIZED']=-0x1]=_0x37c2de(0x324),_0x47fddd))(_0x2ffbce||{}),_0x3a9711=Object[_0x37c2de(0x1ca)],_0x3b385f=(_0x3fee01,_0x4ef905,_0x245395,_0xdf45b0)=>{const _0x304c49=_0x37c2de;for(var _0x54d26e=_0xdf45b0>0x1?void 0x0:_0xdf45b0?_0x3a9711(_0x4ef905,_0x245395):_0x4ef905,_0x456a75=_0x3fee01[_0x304c49(0x2c4)]-0x1,_0x3cb4ea;_0x456a75>=0x0;_0x456a75--)(_0x3cb4ea=_0x3fee01[_0x456a75])&&(_0x54d26e=_0x3cb4ea(_0x54d26e)||_0x54d26e);return _0x54d26e;},_0x57c6af=(_0x43571c,_0x14848d)=>(_0x12a970,_0x45e632)=>_0x14848d(_0x12a970,_0x45e632,_0x43571c);_0x5a6766['RemoteUniscriptService']=class extends _0x396f24['Disposable']{constructor(_0x511609,_0x3e8a16,_0x466ae5){const _0x59c0b3=_0x37c2de;super(),this[_0x59c0b3(0xfa)]=_0x511609,this['_httpService']=_0x3e8a16,this[_0x59c0b3(0x18a)]=_0x466ae5;}async[_0x37c2de(0x37c)](_0x58d155,_0x1b7a02,_0x4733c3,..._0x8296a3){const _0xfa3120=_0x37c2de;var _0x2ec16e,_0x363aac,_0x43cc5d,_0x3ac5c3;const _0x15bc40=this[_0xfa3120(0xfa)][_0xfa3120(0x2b3)]();if(!_0x15bc40)throw new Error(_0xfa3120(0x143));const _0x509f14=((_0x2ec16e=this[_0xfa3120(0x18a)][_0xfa3120(0x336)](_0x27b003[_0xfa3120(0x36b)]))!=null?_0x2ec16e:_0x27b003[_0xfa3120(0x30b)])+'/'+_0x58d155+'/run/'+_0x1b7a02,_0x38f4be=new URL(window[_0xfa3120(0x239)][_0xfa3120(0x129)]),_0x3d8d9a={'scriptId':_0x58d155,'runId':(_0x363aac=_0x38f4be[_0xfa3120(0x12a)][_0xfa3120(0x2de)](_0xfa3120(0x2b7)))!=null?_0x363aac:'','function':_0x1b7a02,'unitId':_0x15bc40[_0xfa3120(0x278)](),'argsOfFunction':JSON['stringify'](_0x8296a3),'invokeId':(_0x43cc5d=_0x4733c3[_0xfa3120(0x1f6)])!=null?_0x43cc5d:'','executionId':(_0x3ac5c3=_0x4733c3[_0xfa3120(0x263)])!=null?_0x3ac5c3:''};try{const _0x180e3d=await this[_0xfa3120(0x1b2)][_0xfa3120(0x344)](_0x509f14,{'body':_0x3d8d9a});return _0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x1b6)]&&_0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x1b6)][_0xfa3120(0x329)]!==_0x2ffbce['OK']?_0xfa3120(0x11a):_0x180e3d[_0xfa3120(0x2fd)][_0xfa3120(0x34b)];}catch{return _0xfa3120(0x11a);}}},_0x5a6766['RemoteUniscriptService']=_0x3b385f([_0x57c6af(0x0,_0x396f24[_0x37c2de(0x34f)]),_0x57c6af(0x1,_0x396f24[_0x37c2de(0x15e)](_0x16b348[_0x37c2de(0x25b)])),_0x57c6af(0x2,_0x396f24[_0x37c2de(0x125)])],_0x5a6766[_0x37c2de(0x1e3)]);const _0x8f0e04=0x7530,_0x3f1f4f=_0x37c2de(0x2c7);class _0x24491d extends _0x396f24[_0x37c2de(0x2e6)]{constructor(){const _0x312e1e=_0x37c2de;super(),_0x425380(this,_0x312e1e(0x124),_0x396f24['generateRandomId']()),_0x425380(this,'_selfUnitIDs',new Set()),_0x425380(this,_0x312e1e(0x228),new Map()),_0x425380(this,'_heartbeatTimer',null),_0x425380(this,_0x312e1e(0x33f),new Map()),_0x425380(this,_0x312e1e(0x2d7),new Map()),this[_0x312e1e(0x133)]();}['dispose'](){const _0x44ab98=_0x37c2de;super[_0x44ab98(0x254)](),this[_0x44ab98(0x33f)][_0x44ab98(0x217)]((_0x329ba2,_0x57e00d)=>this['_removeClearOtherTimer'](_0x57e00d)),this[_0x44ab98(0x341)]&&window[_0x44ab98(0x295)](this[_0x44ab98(0x341)]);}['getUnitStatus$'](_0x47f1ab){const _0x4a3a5c=_0x37c2de;return this['_ensureSubject'](_0x47f1ab)[_0x4a3a5c(0x2a6)](_0x1b47d1[_0x4a3a5c(0x2da)]());}[_0x37c2de(0x192)](_0x3c42ee){const _0x47f708=_0x37c2de;this[_0x47f708(0x2af)][_0x47f708(0x38d)]===0x0&&this['_scheduleHeartbeat'](),this[_0x47f708(0x2af)][_0x47f708(0x2b1)](_0x3c42ee),this['_send']({'type':0x0,'memberID':this[_0x47f708(0x124)],'unitIDs':[_0x3c42ee],'isForwarded':!0x1});}[_0x37c2de(0x2eb)](_0x16168f){const _0x162610=_0x37c2de;this['_selfUnitIDs'][_0x162610(0x2b2)](_0x16168f),this[_0x162610(0x2af)][_0x162610(0x38d)]===0x0&&this[_0x162610(0x341)]&&window['clearInterval'](this[_0x162610(0x341)]);}[_0x37c2de(0x133)](){const _0x37e89f=_0x37c2de;this[_0x37e89f(0x1c4)](_0x396f24[_0x37e89f(0x19c)](_0x1b47d1['fromEvent'](window,_0x37e89f(0x168))[_0x37e89f(0x196)](_0x50f67a=>{const _0x4e6ae8=_0x37e89f;if(_0x50f67a[_0x4e6ae8(0x2a4)]!==_0x3f1f4f||!_0x50f67a['newValue'])return;const _0x4cd277=JSON[_0x4e6ae8(0x1c1)](_0x50f67a['newValue']);this[_0x4e6ae8(0x368)](_0x4cd277);}))),window[_0x37e89f(0x185)](_0x37e89f(0x1a4),()=>this[_0x37e89f(0x2b6)]({'type':0x1,'memberID':this[_0x37e89f(0x124)],'unitIDs':Array[_0x37e89f(0x1f8)](this[_0x37e89f(0x2af)])}));}[_0x37c2de(0x368)](_0x377f54){const _0x5342aa=_0x37c2de;switch(_0x377f54[_0x5342aa(0x275)]){case 0x0:this[_0x5342aa(0x24d)](_0x377f54);break;case 0x1:this[_0x5342aa(0x307)](_0x377f54);break;case 0x2:this[_0x5342aa(0x388)](_0x377f54);break;}}[_0x37c2de(0x24d)](_0x2a53de){const _0x42d4f8=_0x37c2de,{unitIDs:_0x5bd860,memberID:_0x5049c8,isForwarded:_0x312d1e}=_0x2a53de;_0x5bd860[_0x42d4f8(0x217)](_0x439043=>{const _0xa8f2f4=_0x42d4f8;if(!_0x312d1e&&this[_0xa8f2f4(0x228)][_0xa8f2f4(0x1ff)](_0x439043)&&this[_0xa8f2f4(0x2ec)](_0x439043)[_0xa8f2f4(0x38e)](_0x27b003[_0xa8f2f4(0x160)][_0xa8f2f4(0x2f6)]),!this[_0xa8f2f4(0x228)][_0xa8f2f4(0x1ff)](_0x439043)||!this[_0xa8f2f4(0x228)][_0xa8f2f4(0x2de)](_0x439043)[_0xa8f2f4(0x1ff)](_0x5049c8)){const _0x33c6fc=this[_0xa8f2f4(0x228)][_0xa8f2f4(0x2de)](_0x439043)||new Set();_0x33c6fc['add'](_0x5049c8),this[_0xa8f2f4(0x228)][_0xa8f2f4(0x117)](_0x439043,_0x33c6fc),this[_0xa8f2f4(0x363)](_0x5049c8);}}),_0x312d1e||this['_send']({'type':0x0,'memberID':this[_0x42d4f8(0x124)],'unitIDs':[...this[_0x42d4f8(0x2af)]],'isForwarded':!0x0});}[_0x37c2de(0x363)](_0x59b87c){const _0x1966e5=_0x37c2de;this[_0x1966e5(0x14d)](_0x59b87c);const _0x5b8b3d=window[_0x1966e5(0x365)](()=>{const _0x2f0213=_0x1966e5;this[_0x2f0213(0x228)]['forEach'](_0x181646=>{_0x181646['delete'](_0x59b87c);});},_0x8f0e04*0x2);this[_0x1966e5(0x33f)][_0x1966e5(0x117)](_0x59b87c,_0x5b8b3d);}[_0x37c2de(0x14d)](_0x55e240){const _0x23a0da=_0x37c2de;if(this[_0x23a0da(0x33f)][_0x23a0da(0x1ff)](_0x55e240)){const _0x25cc4e=this['_clearOtherTimers'][_0x23a0da(0x2de)](_0x55e240);_0x25cc4e&&window['clearTimeout'](_0x25cc4e),this['_clearOtherTimers']['set'](_0x55e240,null);}}['_handleLeaveEvent'](_0x1e4c2a){const _0x1cf5bc=_0x37c2de,{memberID:_0x2ebf2a,unitIDs:_0x497673}=_0x1e4c2a;_0x497673[_0x1cf5bc(0x217)](_0x4bc30d=>{const _0x2a1640=_0x1cf5bc;var _0x1243ea;const _0x1dceae=this[_0x2a1640(0x228)][_0x2a1640(0x2de)](_0x4bc30d);_0x1dceae&&(_0x1dceae[_0x2a1640(0x2b2)](_0x2ebf2a),(_0x1243ea=this[_0x2a1640(0x2ec)](_0x4bc30d))==null||_0x1243ea['next'](_0x1dceae[_0x2a1640(0x38d)]===0x0?_0x27b003['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x27b003[_0x2a1640(0x160)][_0x2a1640(0x2f6)]));}),this[_0x1cf5bc(0x14d)](_0x2ebf2a);}[_0x37c2de(0x388)](_0x2e1b1d){const _0x11c07d=_0x37c2de;this[_0x11c07d(0x363)](_0x2e1b1d[_0x11c07d(0x12b)]);}[_0x37c2de(0x2b6)](_0x26dc48){const _0x119d3e=_0x37c2de;localStorage[_0x119d3e(0x31e)](_0x3f1f4f,JSON['stringify'](_0x26dc48));}['_scheduleHeartbeat'](){const _0x2d4e95=_0x37c2de;this[_0x2d4e95(0x341)]=window[_0x2d4e95(0xfb)](()=>{const _0x469bfa=_0x2d4e95;this[_0x469bfa(0x2b6)]({'type':0x2,'memberID':this[_0x469bfa(0x124)]});},_0x8f0e04);}[_0x37c2de(0x2ec)](_0x35a0f6){const _0xe8ad7d=_0x37c2de;return this[_0xe8ad7d(0x2d7)][_0xe8ad7d(0x1ff)](_0x35a0f6)||this[_0xe8ad7d(0x2d7)]['set'](_0x35a0f6,new _0x1b47d1[(_0xe8ad7d(0x338))](_0x27b003[_0xe8ad7d(0x160)][_0xe8ad7d(0x357)])),this[_0xe8ad7d(0x2d7)][_0xe8ad7d(0x2de)](_0x35a0f6);}}_0x5a6766[_0x37c2de(0x392)]=_0x2bb386,_0x5a6766[_0x37c2de(0x1e7)]=_0x170b20,_0x5a6766[_0x37c2de(0x258)]=_0x24491d,_0x5a6766[_0x37c2de(0x1ba)]=_0x196ebe,Object['defineProperty'](_0x5a6766,Symbol[_0x37c2de(0x179)],{'value':_0x37c2de(0x269)});}));function _0x434d(){const _0x4f9978=['DocIMEInputManagerService','CollaborationController','_httpService','application/json','actions','univerjs-icon\x20univerjs-icon-','error','_renderManagerService','_labelPosition','LICENSE_IMPORT_SIZE_EXCEEDED','WebURLService','_docClipboardService','send','fill','_collabCursorState$','MOBILE_VERIFY_CODE_MISMATCH','useRef','parse','_initDependencies','origin','disposeWithMe','HEADER_MENU','IImageIoService','_roomMembers$','133PPqirN','defineProperty','getOwnPropertyDescriptor','cursorInfo','getTypeOfUnitAdded$','registerComponent','saveImage','name','collaboration.single-unit.warning','_lastPointer','unshift','save','getMember','_updateURLWithCurrentState','ColorKit','LOGIN_FAILED','RemoveRowCommandId','_hover','green.600','handleMoveRange','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','currentTheme$','YUUMI_URL_COL_OUT_OF_RANGE','RECT','SetWorksheetActivateCommand','transformMutation','RemoteUniscriptService','combineLatest','substring','_entities','SheetCollabCursorShape','amd','replace','SetDocZoomRatioOperation','resize','_collaborationController','SetSelectionsOperation','triggerDblclick','assignAColorForMemberID','svg','LICENSE_DISTRO_REJECTED','getLocalCacheKey','object','data','whenReady','invokeId','Tooltip','from','_render','UniverUi','getTypeOfUnitDisposed$','OFFLINE','_transformService','SetTextSelectionsOperation','has','_getSheetObject','@univerjs-pro/collaboration','EffectRefRangId','filter','transformStateCache','Injector','white','pushState','debounceTime','YUUMI_CONNECTOR_URL_NOT_FOUND','_transformHistoryAndStateStack','react','transformSelections','Rect','handleInsertRangeMoveRight','push','_revisionService','addObject','_injector','_entityInit$','UniverEngineRender','RegularPolygon','history','forEach','DocCollaborationEntity','collabCursorState$','DOC_RANGE_TYPE','_drawTextRange','restore','_anchorDot','path','session.will-retry','some','_drawAnchor','registerRenderModule','getAncestorScale','isArray','split','forwardRef','UniverDesign','_unitOnClients','redoState','ILocalCacheService','unitId','xlink:href','createIdentifier','jsxs','_setupBeforeClosingHandler','@univerjs/sheets-ui','deepClone','_startDocCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','defIds','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SYNCED','registerDependencies','max','location','INVALID_ARGUMENT','MessageType','OnLineIcon','div','useObservable','ticket','handleDeleteRangeMoveUp','UniverCollaborationClientPlugin','_assignedColors','debug','with','deserializeRangeWithSheet','unitID','collabStatus.synced','_localeService','handleInsertCol','fromEvent','IMessageService','Subject','_handleJoinEvent','cursorInfo$','transformByState','indexOf','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','icon','idSuffix','dispose','FromArray','selections','_disabled','WebBrowserSingleActiveUnitService','jsx','getCollabEntity$','HTTPService','UniverSheetsUi','children','_onRefRangeChange','attrs','IBeforeCloseService','RemoveColCommandId','_urlService','executionId','YUUMI_SUBSCRIPTION_NOT_FOUND','_startSheetCollabCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','replaceState','getViewport','Module','RichTextEditingMutation','COLORS','NodePositionConvertToCursor','on-line-icon','textRanges','APPLY_PERMISSION_DENIED','getColorFromTheme','@univerjs/docs-ui','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','_config','range','type','_doCreateSocket','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getUnitId','_textBubble','ONLINE','onCommandExecuted','prototype','text','AWAITING','then','CollaborationUIEventId','asObservable','syncEditingCollabCursor','focused$','UniverIcon','getStateCache','1em','33XTmVQQ','black','_docTransformStateCacheService','getSheetObject','_registerDependencies','lineTo','_toggleOffline','MOBILE_HAS_BEEN_BOUND','beginPath','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','FETCH_MISS','SheetsSelectionsService','RefRangeService','mask','clearInterval','clearTimeout','getUnhiddenWorksheets','generateRandomId','onLocalMutation','SessionStatus','12SeUaBm','blue.400','function','TOO_MANY_REQUESTS','MoveRangeCommandId','React','shareReplay','_eventUnsubscribe','_setupSubUnitSync','key','DocStateChangeManagerService','pipe','getMemberID','1249491fQFJQE','enableLocalCache','UPDATE_CURSOR','EMAIL_HAS_BEEN_BOUND','hasOwnProperty','_initEvent','INVITE_CODE_ALREADY_BOUND','_selfUnitIDs','_initStatusComponent','add','delete','getFocusedUnit','url(#on-line-icon_clip0_910_349)','roomMembers','_send','runId','unsubscribe','M0\x200H16V16H0z','MUTATION','registerRefRange','LOCAL_CACHE_INTERVAL','getColor','_collabSessionService','_removeCollabCursors','_anchor','ISnapshotServerService','getDocRanges','11634170LuVJan','length','event$','557104vyadJy','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/network','getOffsetConfig','tag','_updateSubUnitFromURLParams','Shape','DataLoaderService','all','selection','transformRemoteChangeset','_beforeCloseService','undoState','CollaborationEvent','fillText','0\x200\x2017\x2016','extend','_unitStatus','_color','UniverCollaborationClientUIPlugin','distinctUntilChanged','_handleHover','PY_RUNTIME_SCRIPT_ERROR','_cachedData','get','exports','unit','rxjs/operators','params','DisposableCollection','executeCommand','UniverRpc','Disposable','YUUMI_UNABLE_LOAD_URL','endRow','handleInsertRow','UniverProCollaborationClient','disposeUnit','_ensureSubject','_initResize','_collabCursorController','_colorIndex','_hideTimer','currentColor','Tools','_notificationService','handleIRemoveCol','DesktopCollaborationStatusDisplayController','OTHER_CLIENTS_EDITING','IRemoteInstanceService','_session','_backgroundColor','univer-mr-2\x20univer-flex\x20univer-text-xl','min','CONFLICT','body','useCallback','_docTransformIMECacheService','YUUMI_NO_CUBOID_FOR_QUESTION','42lCKqZi','skeleton','_cursors','getSkeleton','_updateLocalCursor','trim','_handleLeaveEvent','mergeOverrideWithDependencies','WECHAT_HAS_BEEN_BOUND','Unknown\x20user','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_commandService','CollaborationSocketService','INVITE_CODE_REQUIRED','getCurrentSelections','translate(.97)','USERS_LEAVE','off-line-icon_clip0_910_343','_getSessionTicket','2340306tYJtpG','updateOfflineData','YUUMI_ALL_TABLES_IS_INVALID','CollaborationStatus','INVALID_INVITE_CODE','getRenderById','CLOSE_ROOM','endColumn','LOCAL_CACHE_INTERVAL_KEY','CommandType','setItem','assign','backgroundColor','fromEventSubject','rxjs','UniverDocs','UNRECOGNIZED','mutations','getOwnPropertySymbols','exhaustSavingTask','collab-text-anchor-','code','find','univer-flex\x20univer-items-center','IUIPartsService','SOCKET_FAILED','COMPLETION_FINISHED','NOT_FOUND','transform','setConfig','_univerInstanceService','_saveCache','arc','switchMap','getConfig','init','BehaviorSubject','purple.300','LICENSE_EXPORT_SIZE_EXCEEDED','setActiveRange','onRendered','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','collabStatus.syncing','_heartbeatTimer','mapTo','@univerjs/design','post','MemberService','_scene','subunit','className','TEXT_RANGE_LAYER_INDEX','ENSURE_SNAPSHOT_EXECUTION','result','contains','_initStatusListener','BrowserCollaborationSocketService','IUniverInstanceService','Error','isActive','moveTo','TEXT','collaboration-client.offline-data-not-saved','removeParam','width','NO_OTHER_CLIENTS_EDITING','_range','_registerRenderDependencies','createInstance','setStateCache','USER_NOT_INVITED_CODE','_logService','EMAIL_VERIFY_CODE_MISMATCH','doc.mutation.rich-text-editing','InsertColCommandId','entityInit$','createElement','_scheduleClearOtherTimer','INotificationService','setTimeout','current','connectInjector','_handleEvent','displayName','handleIRemoveRow','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs/rpc','startsWith','@univerjs-pro/collaboration-client','_saveTaskMap','LocaleService','816665qJfpJS','YUUMI_RATE_OVER_LIMIT','complete','_onCursorDelete','isTransformMutationFailure','_status$','toRgbString','getRelativeToViewportCoord','map','RxDisposable','override','runOnServer','includes','Plugin','PERMISSION_DENIED','drawWith','337153huYrJC','defs','YUUMI_ASYNCIO_CANCELLED','SHEET_VIEWPORT_KEY','getParam','values','closePath','_handleHeartbeatEvent','setShapeProps','ITransformService','isEditing','APPLY_REJECT','size','next','none','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_scheduleSaving','IURLService','round','CHANGESET_REVISION_CONFILICT','labelPosition','INVITE_CODE_HAS_BEEN_UES','entries','[CollaborationDataLoaderController]','transformMutationsWithChangeset','_toggleOnline','toString','_instanceService','setInterval','measureText','UniverDrawing','LICENSE_MAX_UNITS_EXCEEDED','_docSyncEditingCollabCursorService','makeDirty','wsSessionTicketUrl','_messageService','replaceDocRanges','currentSkeleton$','getSheetBySheetId','off-line-icon','collab-rect-range-','DeleteRangeMoveUpCommandId','on-line-icon_clip0_910_349','useDependency','getCurrentRevOfUnit','getActiveRange','_imageIoService','show','UniverInstanceType','collabStatus.notCollab','ALREADY_EXISTS','UNIVER_SHEET','evenodd','VIEW_MAIN','onPointerEnter$','PENDING','set','_createSocketURL','_online','Failed','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_drawRectRange','colorChannel1','_dataLoaderService','column','permission.title','ISocketService','_docStateChangeManagerService','UniverNetwork','_id','IConfigService','bottom','operators','@univerjs/core','href','searchParams','memberID','Vector2','sheetId','collabStatus.fetchMiss','concat','random','CONNECTOR_DATA_TOO_LARGE','...','_init','ThemeService','addClipboardHook','search','subscribeEvent','_cursor','string','_cursorInfo$','subUnitId','sheetID','_initCommandExecutedListener','react/jsx-runtime','_collaborationUIEventService','UNAUTHENTICATED','Workbook','getRangePointData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_AI_RUN_FAILED','_onCursorUpdate','_syncEditingCollabCursorService','UniverProCollaborationClientUi','loadUnit','getUndoRedoMutationParamsCache','requireSession','activeSheet$','_getSaveTimeout','_removeClearOtherTimer','DEFAULT_WS_SESSION_TICKET_URL','_memberService','DocSelectionManagerService','onMouseMove','_localStorageService','getSheetId','m1Prime','ILocalStorageService','CollaborationDataLoaderController','SNAPSHOT_INVALID_SNAPSHOT','addHandlerCallback','_refRangeService','_shapes','collab-client.tooltip.reconnect','takeUntil','_refreshCollabCursors','Inject','UNIVER_DOC','UnitStatus','collab-text-range-','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onPointerLeave$','uni.network.url-service','rgba(255,\x20255,\x20255,\x200.01)','_updateCollabCursors','symbol','storage','fillStyle','collaboration.closeRoom','_name','dispose$','transformIMECache','pluginName','findNodePositionByCharIndex','throttleTime','call','_docSkeletonManagerService','status$','hide','height','_transformPreviousActiveRange','serializeRangeWithSheet','IRenderManagerService','toStringTag','UNDEFINED','runRefRangeMutations','_initEntityListener','_draw','_getAnchorBounding','fillRule','_uiPartsService','SOCKET_FAILED_RETRY','NOT_COLLAB','_getMergeRange','_docTransformSelectionsService','addEventListener','eventID','color','Warning','getValue','_configService','DependentOn','onPointerMove$','registerBeforeClose','3887217LSghHj','NodePositionConvertToRectRange','debounce','m2Prime','editingUnit','top','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','disableLocalCache','subscribe','getActiveSheet','saveOfflineData','_themeService','http://www.w3.org/2000/svg','APPLY_REVISION_CONFILICT','toDisposable','urlChange$','_docSkeleton','saveTaskMap','_colorAssignService','roomMembers$','url(#$1','session.connection-failed','unload','APPLY_DUPLICATED','ICommandService','_context','ranges','JOIN_ROOM_FAILED','onStarting','_sheetSkeletonManagerService','_cursorShapes','_localCacheService','_getScale','_hovered'];_0x434d=function(){return _0x4f9978;};return _0x434d();}