@univerjs-pro/collaboration-client-ui 0.9.2 → 0.9.3-nightly.202507250819

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 (52) 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 -0
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -0
  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 -0
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -0
  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 -0
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -0
  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 +0 -2
  38. package/lib/types/locale/ca-ES.d.ts +3 -0
  39. package/lib/types/locale/es-ES.d.ts +3 -0
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -0
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -0
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +17 -17
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x37ecb3,_0x356ca2){const _0x4334c0=_0x4c50,_0x3dc602=_0x37ecb3();while(!![]){try{const _0x5e9405=-parseInt(_0x4334c0(0x1d5))/0x1*(-parseInt(_0x4334c0(0x1d2))/0x2)+parseInt(_0x4334c0(0x141))/0x3+-parseInt(_0x4334c0(0x93))/0x4+parseInt(_0x4334c0(0x220))/0x5+-parseInt(_0x4334c0(0x121))/0x6*(-parseInt(_0x4334c0(0x1af))/0x7)+parseInt(_0x4334c0(0x29a))/0x8*(-parseInt(_0x4334c0(0x114))/0x9)+parseInt(_0x4334c0(0x11f))/0xa*(parseInt(_0x4334c0(0x29e))/0xb);if(_0x5e9405===_0x356ca2)break;else _0x3dc602['push'](_0x3dc602['shift']());}catch(_0x3ef2b5){_0x3dc602['push'](_0x3dc602['shift']());}}}(_0x85f6,0x416a6),function(_0x30edab,_0x3b531c){const _0x36f235=_0x4c50;typeof exports==_0x36f235(0x202)&&typeof module<'u'?_0x3b531c(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['amd']?define([_0x36f235(0x252),'@univerjs-pro/collaboration-client',_0x36f235(0xe0),'@univerjs/engine-render','@univerjs/network',_0x36f235(0x122),_0x36f235(0x249),_0x36f235(0x2c1),'@univerjs-pro/collaboration',_0x36f235(0x329),_0x36f235(0xd1),_0x36f235(0x1ec),_0x36f235(0x2fe),_0x36f235(0xe3),_0x36f235(0x210),_0x36f235(0x277),'@univerjs/design',_0x36f235(0x10c),_0x36f235(0x2bd)],_0x3b531c):(_0x30edab=typeof globalThis<'u'?globalThis:_0x30edab||self,_0x3b531c(_0x30edab[_0x36f235(0x2c2)]={},_0x30edab[_0x36f235(0x26e)],_0x30edab['UniverCore'],_0x30edab[_0x36f235(0xf1)],_0x30edab[_0x36f235(0x273)],_0x30edab['UniverDocsUi'],_0x30edab[_0x36f235(0x2cb)],_0x30edab[_0x36f235(0x2c1)],_0x30edab[_0x36f235(0x2b9)],_0x30edab[_0x36f235(0x228)],_0x30edab[_0x36f235(0x298)],_0x30edab[_0x36f235(0xd8)],_0x30edab[_0x36f235(0x2c1)][_0x36f235(0x243)],_0x30edab['UniverSheetsUi'],_0x30edab[_0x36f235(0x1cd)],_0x30edab[_0x36f235(0x24e)],_0x30edab['UniverDesign'],_0x30edab[_0x36f235(0x1cd)],_0x30edab['UniverRpc']));}(this,function(_0x17bc2c,_0x40916b,_0x50247b,_0x24e38c,_0x4c764b,_0x2b2a5c,_0x5c384b,_0x481311,_0xaf0477,_0x2136d0,_0x2d8baa,_0x2db21a,_0x3846e5,_0x28ba35,_0x190220,_0x4d3b42,_0x7c6d07,_0x998dec,_0x40e19a){'use strict';const _0x465324=_0x4c50;var _0x568d9a=Object['defineProperty'],_0x3f8de8=(_0x406d8e,_0x4a3f40,_0x194eb1)=>_0x4a3f40 in _0x406d8e?_0x568d9a(_0x406d8e,_0x4a3f40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x194eb1}):_0x406d8e[_0x4a3f40]=_0x194eb1,_0x2f0564=(_0x5a928c,_0x41de4b,_0x5cacc8)=>_0x3f8de8(_0x5a928c,typeof _0x41de4b!=_0x465324(0x1df)?_0x41de4b+'':_0x41de4b,_0x5cacc8),_0x3b2442=Object['getOwnPropertyDescriptor'],_0x235933=(_0x1cf1a9,_0x112614,_0x2afd0c,_0x3c1618)=>{const _0x1094d3=_0x465324;for(var _0x2dd5ab=_0x3c1618>0x1?void 0x0:_0x3c1618?_0x3b2442(_0x112614,_0x2afd0c):_0x112614,_0x5c6c30=_0x1cf1a9[_0x1094d3(0x223)]-0x1,_0x1cba28;_0x5c6c30>=0x0;_0x5c6c30--)(_0x1cba28=_0x1cf1a9[_0x5c6c30])&&(_0x2dd5ab=_0x1cba28(_0x2dd5ab)||_0x2dd5ab);return _0x2dd5ab;},_0x46f0ed=(_0x16b72a,_0x551a18)=>(_0x82e2ab,_0xf459bf)=>_0x551a18(_0x82e2ab,_0xf459bf,_0x16b72a);let _0xd53509=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x5907b4,_0xced448){const _0x291d4f=_0x465324;super(),this[_0x291d4f(0x1e4)]=_0x5907b4,this[_0x291d4f(0x29c)]=_0xced448,this[_0x291d4f(0x256)]();}['_init'](){const _0x84e98=_0x465324,_0xdb3445=this;this[_0x84e98(0x148)](this[_0x84e98(0x1e4)][_0x84e98(0xa1)]({'onBeforePasteImage':async _0x260238=>{const _0x5bcbbc=_0x84e98,_0x2b970f=await _0xdb3445[_0x5bcbbc(0x29c)][_0x5bcbbc(0xef)](_0x260238);return _0x2b970f?{'source':_0x2b970f[_0x5bcbbc(0x2e8)],'imageSourceType':_0x2b970f[_0x5bcbbc(0x20b)]}:null;}}));}};_0xd53509=_0x235933([_0x46f0ed(0x0,_0x2b2a5c['IDocClipboardService']),_0x46f0ed(0x1,_0x5c384b[_0x465324(0x2d0)])],_0xd53509);const _0x5a0d30=[_0x465324(0x282),'jiqing.500',_0x465324(0xae),_0x465324(0x305),_0x465324(0x113),_0x465324(0x24c)];class _0x20e9cb extends _0x50247b[_0x465324(0x1e1)]{constructor(){const _0x3101f6=_0x465324;super(...arguments),_0x2f0564(this,_0x3101f6(0x209),new Map()),_0x2f0564(this,_0x3101f6(0x2e2),0x0);}[_0x465324(0xa6)](_0x13078b){const _0xd24996=_0x465324;if(this[_0xd24996(0x209)][_0xd24996(0xfd)](_0x13078b))return this[_0xd24996(0x209)]['get'](_0x13078b);const _0x281999=_0x5a0d30[this[_0xd24996(0x2e2)]];return this[_0xd24996(0x2e2)]=(this[_0xd24996(0x2e2)]+0x1)%_0x5a0d30['length'],this['_assignedColors'][_0xd24996(0x154)](_0x13078b,_0x281999),_0x281999;}}function _0x444374(_0x3c60bf){const _0x391227=_0x465324;let _0x43d4fc='';for(const _0x308bc5 of _0x3c60bf){const {startOffset:_0x2d637d,endOffset:_0x9b6e4a,isActive:_0x2a1b6e,rangeType:_0x15a23b,segmentId:_0x494178,segmentPage:_0x492d1c}=_0x308bc5;_0x43d4fc[_0x391227(0x223)]&&(_0x43d4fc+=','),_0x43d4fc+=_0x2d637d+':'+_0x9b6e4a+':'+(_0x2a1b6e?'1':'0')+':'+_0x15a23b+':'+_0x494178+':'+_0x492d1c;}return _0x43d4fc;}function _0x1aa900(_0x4938e1){const _0x4d9385=_0x465324,_0x3df243=_0x4938e1[_0x4d9385(0x1bc)](','),_0x26a69c=[];for(const _0x401e76 of _0x3df243){const [_0x453e78,_0x1382f7,_0x465adb,_0x5d1925,_0x5850b3,_0x4f7872]=_0x401e76['split'](':');_0x26a69c['push']({'startOffset':Number(_0x453e78),'endOffset':Number(_0x1382f7),'collapsed':_0x453e78===_0x1382f7,'isActive':_0x465adb==='1','rangeType':_0x5d1925===_0x50247b[_0x4d9385(0x280)]['TEXT']?_0x50247b[_0x4d9385(0x280)]['TEXT']:_0x50247b[_0x4d9385(0x280)]['RECT'],'segmentId':typeof _0x5850b3=='string'?String(_0x5850b3):'','segmentPage':Number(_0x4f7872!=null?_0x4f7872:-0x1)});}return _0x26a69c['some'](_0x2302cc=>_0x2302cc[_0x4d9385(0x26f)])||(_0x26a69c[0x0]['isActive']=!0x0),_0x26a69c;}class _0x100092 extends _0x50247b[_0x465324(0x16f)]{constructor(){const _0xfe4ba7=_0x465324;super(...arguments),_0x2f0564(this,_0xfe4ba7(0x99),new _0x481311[(_0xfe4ba7(0x190))](null)),_0x2f0564(this,_0xfe4ba7(0x2e7),this[_0xfe4ba7(0x99)]['asObservable']());}[_0x465324(0x1d3)](_0x5cf01c){const _0x4f89dd=_0x465324,{unitID:_0x36fc0a,memberID:_0x3175f9,textRanges:_0x250a12}=_0x5cf01c,_0x29bf72=_0x444374(_0x250a12);if(_0x29bf72==='')return;const _0x18e3c6={'unitID':_0x36fc0a,'memberID':_0x3175f9,'selection':_0x29bf72};this['_collabCursorState$'][_0x4f89dd(0x1d1)](_0x18e3c6);}}var _0x4d6e74=Object[_0x465324(0x164)],_0x53d15c=(_0x3eeb74,_0x218792,_0x26de0d,_0x10ec4e)=>{for(var _0x4bad3f=_0x10ec4e>0x1?void 0x0:_0x10ec4e?_0x4d6e74(_0x218792,_0x26de0d):_0x218792,_0x6d5390=_0x3eeb74['length']-0x1,_0x28a892;_0x6d5390>=0x0;_0x6d5390--)(_0x28a892=_0x3eeb74[_0x6d5390])&&(_0x4bad3f=_0x28a892(_0x4bad3f)||_0x4bad3f);return _0x4bad3f;},_0x22b7b6=(_0x458455,_0x40a6cd)=>(_0x2fd174,_0x9df384)=>_0x40a6cd(_0x2fd174,_0x9df384,_0x458455);const _0x3b9c6b=0x12c,_0x34b428=0x64;let _0x55a4f4=class extends _0x50247b['RxDisposable']{constructor(_0x37acc8,_0x472cfc,_0x3d501b,_0x425bdd,_0x2c230e,_0x573b44,_0x492e1e,_0x39bd0e,_0xfdadc1){const _0x35e1c7=_0x465324;super(),_0x2f0564(this,_0x35e1c7(0x315),!0x1),_0x2f0564(this,'_init',!0x1),_0x2f0564(this,_0x35e1c7(0xcb),new _0x481311[(_0x35e1c7(0x190))](new Map())),_0x2f0564(this,_0x35e1c7(0x168),this['_cursorInfo$'][_0x35e1c7(0x15d)]()),_0x2f0564(this,_0x35e1c7(0x1a9),new _0x481311[(_0x35e1c7(0x190))]([])),_0x2f0564(this,'roomMembers$',this[_0x35e1c7(0x1a9)][_0x35e1c7(0x29b)](_0x481311['debounceTime'](_0x3b9c6b))),_0x2f0564(this,_0x35e1c7(0x1b4),_0x50247b[_0x35e1c7(0x100)](_0x5c0e63=>{const _0x14363f=_0x35e1c7,_0x2c67c8={'eventID':_0xaf0477['CollaborationEvent'][_0x14363f(0x1d6)],'data':{'unitID':this[_0x14363f(0x1a3)],'memberID':this['_session']['getMemberID'](),'selection':_0x444374(_0x5c0e63)}};this[_0x14363f(0x289)][_0x14363f(0x269)](_0x2c67c8,this['unitID']);},_0x34b428)),(this[_0x35e1c7(0x1a3)]=_0x37acc8,this[_0x35e1c7(0x289)]=_0x472cfc,this[_0x35e1c7(0xe8)]=_0x3d501b,this[_0x35e1c7(0x9e)]=_0x425bdd,this[_0x35e1c7(0x11b)]=_0x2c230e,this[_0x35e1c7(0x130)]=_0x573b44,this['_transformService']=_0x492e1e,this['_univerInstanceService']=_0x39bd0e,this['_commandService']=_0xfdadc1);}get[_0x465324(0xdd)](){const _0x2b6d69=_0x465324;return this[_0x2b6d69(0xcb)]['getValue']();}get[_0x465324(0x207)](){const _0x1be6c3=_0x465324;return this['_roomMembers$'][_0x1be6c3(0x10a)]();}['dispose'](){const _0xbf2abb=_0x465324;super[_0xbf2abb(0xc1)](),this[_0xbf2abb(0xcb)][_0xbf2abb(0x1d1)](new Map()),this[_0xbf2abb(0xcb)]['complete'](),this[_0xbf2abb(0x1a9)][_0xbf2abb(0x1d1)]([]),this[_0xbf2abb(0x1a9)]['complete']();}[_0x465324(0xb9)](){const _0x5808e0=_0x465324;this[_0x5808e0(0x256)]||(this[_0x5808e0(0x256)]=!0x0,this[_0x5808e0(0x289)]['sessionStatus$'][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x12f2af=>{const _0x50b64f=_0x5808e0;_0x12f2af===_0x40916b[_0x50b64f(0x259)]['ONLINE']?this['_toggleOnline']():this[_0x50b64f(0x1b5)]();}),this[_0x5808e0(0x289)][_0x5808e0(0x24d)][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x3fcab4=>{const _0x1caeee=_0x5808e0,_0x9e2c71=_0x3fcab4['eventID'];_0x9e2c71===_0xaf0477['CollaborationEvent'][_0x1caeee(0x1d6)]&&this[_0x1caeee(0x2a5)](_0x3fcab4),_0x9e2c71===_0xaf0477[_0x1caeee(0x2cf)][_0x1caeee(0x119)]&&this[_0x1caeee(0x2bc)](_0x3fcab4);}),this[_0x5808e0(0x148)](this['_commandService'][_0x5808e0(0x1e7)](_0x97a4ca=>{const _0x1e02f0=_0x5808e0,_0x1b5aba=_0x97a4ca['params'];_0x1b5aba!=null&&this['_online']&&_0x97a4ca['id']===_0x2136d0[_0x1e02f0(0x30f)]['id']&&_0x1b5aba[_0x1e02f0(0x107)]===this['unitID']&&_0x1b5aba[_0x1e02f0(0x303)]===!0x1&&_0x1b5aba[_0x1e02f0(0x293)][_0x1e02f0(0x223)]>0x0&&this[_0x1e02f0(0x1b4)](_0x1b5aba[_0x1e02f0(0x293)]);})),this[_0x5808e0(0x130)][_0x5808e0(0x2e7)][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x31cb17=>{const _0x4123f2=_0x5808e0;if((_0x31cb17==null?void 0x0:_0x31cb17['unitID'])!==this[_0x4123f2(0x1a3)])return;const _0x4917d7={'eventID':_0xaf0477[_0x4123f2(0x2cf)]['UPDATE_CURSOR'],'data':_0x31cb17};this[_0x4123f2(0x2a5)](_0x4917d7);}),this[_0x5808e0(0x148)](this[_0x5808e0(0x1aa)][_0x5808e0(0x1e7)](_0x5380aa=>{const _0x3943e6=_0x5808e0;if(_0x5380aa['params']==null)return;const _0x38dd85=_0x5380aa['params'];if(_0x5380aa['id']!==_0x2136d0[_0x3943e6(0x1d0)]['id']||_0x38dd85[_0x3943e6(0x107)]!==this[_0x3943e6(0x1a3)])return;const _0x45fe83={'id':_0x3943e6(0x21e),'params':_0x38dd85},_0x4b8cd2=this[_0x3943e6(0xdd)];for(const [_0x3915c6,_0x192cce]of _0x4b8cd2){const _0x4ddcca={'id':_0x3943e6(0x21e),'params':{'unitId':this[_0x3943e6(0x1a3)],'actions':null,'textRanges':_0x192cce[_0x3943e6(0x293)]}},_0x9d5ee1=this['_transformService']['transformMutation'](_0x45fe83,_0x4ddcca,!0x1);if(_0xaf0477[_0x3943e6(0x1a6)](_0x9d5ee1))throw _0x9d5ee1[_0x3943e6(0x301)];_0x4b8cd2[_0x3943e6(0x154)](_0x3915c6,{..._0x192cce,'ranges':_0x9d5ee1['m2Prime'][_0x3943e6(0x176)][_0x3943e6(0x1f1)]});}queueMicrotask(()=>{const _0x3edf0d=_0x3943e6;this[_0x3edf0d(0xcb)][_0x3edf0d(0x1d1)](_0x4b8cd2);});})));}[_0x465324(0x2a5)](_0x591a81){const _0x1e6a2e=_0x465324;var _0x1b31dd,_0x17237a;const {memberID:_0x14c5c3,selection:_0xb0180e}=_0x591a81[_0x1e6a2e(0x163)],_0x5e865c=_0x1aa900(_0xb0180e),_0xbaf426=(_0x17237a=(_0x1b31dd=this['_memberService']['getMember'](this['unitID'],_0x14c5c3))==null?void 0x0:_0x1b31dd['name'])!=null?_0x17237a:_0x1e6a2e(0x264),_0x134b03={'color':this[_0x1e6a2e(0x9e)][_0x1e6a2e(0xa6)](_0x14c5c3),'name':_0xbaf426,'ranges':_0x5e865c},_0x2f5cf4=this['cursorInfo'];_0x2f5cf4[_0x1e6a2e(0x154)](_0x14c5c3,_0x134b03),this['_cursorInfo$'][_0x1e6a2e(0x1d1)](_0x2f5cf4);}['_onCursorDelete'](_0xe6f535){const _0x48c607=_0x465324,{memberID:_0x14a485}=_0xe6f535[_0x48c607(0x163)],_0x53e04c=this[_0x48c607(0xdd)];_0x53e04c[_0x48c607(0x2bf)](_0x14a485),this[_0x48c607(0xcb)][_0x48c607(0x1d1)](_0x53e04c);}[_0x465324(0x2ab)](){const _0x3fcc77=_0x465324;var _0x11de55;if(this[_0x3fcc77(0x315)]=!0x0,((_0x11de55=this[_0x3fcc77(0x2c7)]['getFocusedUnit']())==null?void 0x0:_0x11de55['getUnitId']())!==this[_0x3fcc77(0x1a3)])return;const _0x5521a3=this[_0x3fcc77(0xe8)]['get'](_0x2136d0[_0x3fcc77(0x248)])['getDocRanges']();Array['isArray'](_0x5521a3)&&_0x5521a3[_0x3fcc77(0x223)]>0x0&&this[_0x3fcc77(0x1b4)](_0x5521a3);}[_0x465324(0x1b5)](){this['_online']=!0x1;}};_0x55a4f4=_0x53d15c([_0x22b7b6(0x2,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x22b7b6(0x3,_0x50247b['Inject'](_0x20e9cb)),_0x22b7b6(0x4,_0x50247b['Inject'](_0x40916b[_0x465324(0x2b4)])),_0x22b7b6(0x5,_0x50247b['Inject'](_0x100092)),_0x22b7b6(0x6,_0xaf0477[_0x465324(0x30e)]),_0x22b7b6(0x7,_0x50247b[_0x465324(0x257)]),_0x22b7b6(0x8,_0x50247b[_0x465324(0xde)])],_0x55a4f4);var _0x532e96=Object[_0x465324(0x164)],_0x3aa8c4=(_0x4c778b,_0x586a80,_0x1f05f0,_0x4aef3d)=>{for(var _0x27b089=_0x4aef3d>0x1?void 0x0:_0x4aef3d?_0x532e96(_0x586a80,_0x1f05f0):_0x586a80,_0x8d3a3f=_0x4c778b['length']-0x1,_0x5daa4e;_0x8d3a3f>=0x0;_0x8d3a3f--)(_0x5daa4e=_0x4c778b[_0x8d3a3f])&&(_0x27b089=_0x5daa4e(_0x27b089)||_0x27b089);return _0x27b089;},_0x4c2e65=(_0x24202c,_0x426c2c)=>(_0x3d4e5b,_0x3e17a7)=>_0x426c2c(_0x3d4e5b,_0x3e17a7,_0x24202c);const _0x38dc54=0x12c,_0xa888a6=0x64,_0x12be2b=()=>{let _0x23d93f=[],_0x48089f=!0x1;return _0x5a53c1=>{_0x23d93f['push'](_0x5a53c1),_0x48089f||(_0x48089f=!0x0,setTimeout(()=>{const _0x517822=_0x4c50;_0x23d93f[_0x517822(0x134)](_0x5cf2f9=>_0x5cf2f9()),_0x23d93f=[],_0x48089f=!0x1;}));};};let _0x944f80=class extends _0x50247b['RxDisposable']{constructor(_0x3a557e,_0x53b906,_0x17893c,_0x49626e,_0x422f13,_0x106e20,_0x54c193,_0x147787){const _0x4cc9f4=_0x465324;super(),_0x2f0564(this,_0x4cc9f4(0x315),!0x1),_0x2f0564(this,_0x4cc9f4(0x256),!0x1),_0x2f0564(this,_0x4cc9f4(0xcb),new _0x481311[(_0x4cc9f4(0x190))](new Map())),_0x2f0564(this,_0x4cc9f4(0x168),this['_cursorInfo$'][_0x4cc9f4(0x15d)]()),_0x2f0564(this,_0x4cc9f4(0x1a9),new _0x481311['BehaviorSubject']([])),_0x2f0564(this,'roomMembers$',this[_0x4cc9f4(0x1a9)]['pipe'](_0x481311['debounceTime'](_0x38dc54))),_0x2f0564(this,_0x4cc9f4(0x1b4),_0x50247b[_0x4cc9f4(0x100)]((_0x3d18f1,_0x386ce9)=>{const _0x51519c=_0x4cc9f4,_0x4f6816={'eventID':_0xaf0477[_0x51519c(0x2cf)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x51519c(0x1a3)],'memberID':this['_session'][_0x51519c(0x316)](),'selection':_0x2d8baa[_0x51519c(0x9a)](_0x3d18f1,_0x386ce9[_0x51519c(0x2d4)])}};this['_session']['send'](_0x4f6816,this['unitID']);},_0xa888a6)),(this['unitID']=_0x3a557e,this['_session']=_0x53b906,this[_0x4cc9f4(0xe8)]=_0x17893c,this['_colorAssignService']=_0x49626e,this['_memberService']=_0x422f13,this[_0x4cc9f4(0x2c7)]=_0x106e20,this[_0x4cc9f4(0x1aa)]=_0x54c193,this[_0x4cc9f4(0x155)]=_0x147787);}get['cursorInfo'](){const _0x9e9837=_0x465324;return this[_0x9e9837(0xcb)][_0x9e9837(0x10a)]();}get['roomMembers'](){const _0x4c06ba=_0x465324;return this[_0x4c06ba(0x1a9)][_0x4c06ba(0x10a)]();}[_0x465324(0xc1)](){const _0x5647b1=_0x465324;super[_0x5647b1(0xc1)](),this[_0x5647b1(0xcb)]['next'](new Map()),this['_cursorInfo$'][_0x5647b1(0xf8)](),this[_0x5647b1(0x1a9)][_0x5647b1(0x1d1)]([]),this['_roomMembers$'][_0x5647b1(0xf8)]();}[_0x465324(0xb9)](){const _0x40fe8d=_0x465324;this[_0x40fe8d(0x256)]||(this[_0x40fe8d(0x256)]=!0x0,this['_session'][_0x40fe8d(0x19d)][_0x40fe8d(0x29b)](_0x481311['takeUntil'](this[_0x40fe8d(0x312)]))[_0x40fe8d(0x1a4)](_0x376bd0=>{const _0xd69cbf=_0x40fe8d;_0x376bd0===_0x40916b[_0xd69cbf(0x259)]['ONLINE']?this[_0xd69cbf(0x2ab)]():this['_toggleOffline']();}),this[_0x40fe8d(0x289)]['event$'][_0x40fe8d(0x29b)](_0x481311[_0x40fe8d(0x14f)](this['dispose$']))[_0x40fe8d(0x1a4)](_0x54f8aa=>{const _0x127803=_0x40fe8d,_0x25b3cd=_0x54f8aa[_0x127803(0x166)];_0x25b3cd===_0xaf0477[_0x127803(0x2cf)]['UPDATE_CURSOR']&&this[_0x127803(0x2a5)](_0x54f8aa),_0x25b3cd===_0xaf0477['CollaborationEvent'][_0x127803(0x119)]&&this[_0x127803(0x2bc)](_0x54f8aa);}),this[_0x40fe8d(0x231)](),this[_0x40fe8d(0x148)](this[_0x40fe8d(0x1aa)][_0x40fe8d(0x1e7)](_0x231cf6=>{const _0x1dc188=_0x40fe8d;if(this[_0x1dc188(0x315)]&&_0x231cf6['id']===_0x2db21a[_0x1dc188(0x22f)]['id']&&_0x231cf6[_0x1dc188(0x176)]['unitId']===this[_0x1dc188(0x1a3)]){const _0x3478a5=_0x231cf6['params'];this['_updateLocalCursor'](_0x3478a5[_0x1dc188(0x167)],_0x3478a5['selections'][0x0]);}})));}[_0x465324(0x2a5)](_0x57123a){const _0x31c6e7=_0x465324;var _0x124185,_0x2729b9;const {memberID:_0x5bd700,selection:_0x3a6ff5}=_0x57123a[_0x31c6e7(0x163)],{sheetName:_0x345631,range:_0x51354a}=_0x2d8baa[_0x31c6e7(0x13a)](_0x3a6ff5),_0x30490c={'name':(_0x2729b9=(_0x124185=this[_0x31c6e7(0x11b)][_0x31c6e7(0x131)](this['unitID'],_0x5bd700))==null?void 0x0:_0x124185['name'])!=null?_0x2729b9:_0x31c6e7(0x264),'range':this['_getMergeRange'](_0x345631,_0x51354a),'sheetID':_0x345631,'color':this[_0x31c6e7(0x9e)][_0x31c6e7(0xa6)](_0x5bd700),'selection':_0x3a6ff5},_0x42ff76=this[_0x31c6e7(0xdd)];_0x42ff76[_0x31c6e7(0x154)](_0x5bd700,_0x30490c),this[_0x31c6e7(0xcb)][_0x31c6e7(0x1d1)](_0x42ff76);}[_0x465324(0x2bc)](_0x3b2a7e){const _0x4884d0=_0x465324,{memberID:_0x1e6c8c}=_0x3b2a7e[_0x4884d0(0x163)],_0x505131=this[_0x4884d0(0xdd)];_0x505131[_0x4884d0(0x2bf)](_0x1e6c8c),this[_0x4884d0(0xcb)]['next'](_0x505131);}[_0x465324(0x20c)](_0x208394,_0x362335){const _0xda001e=_0x465324;var _0x269401,_0x17688e;const _0x35b071=(_0x17688e=(_0x269401=this[_0xda001e(0x2c7)][_0xda001e(0xca)](this['unitID']))==null?void 0x0:_0x269401['getSheetBySheetId'](_0x208394))==null?void 0x0:_0x17688e['getMergeData']();return(_0x35b071==null?void 0x0:_0x35b071[_0xda001e(0x306)](_0x22a95d=>_0x50247b[_0xda001e(0xa7)][_0xda001e(0x285)](_0x22a95d,_0x362335)))||_0x362335;}[_0x465324(0x231)](){const _0x3aede5=_0x465324,_0xe88d2a=new _0x50247b[(_0x3aede5(0x295))](),_0x5e3241=_0x12be2b(),_0x2b85c5=()=>{const _0x47e57b=_0x3aede5;_0xe88d2a[_0x47e57b(0xc1)]();const _0x4acbc2=(_0x44a1c1,_0x147377,_0x165aa2,_0xff3bd5)=>{const _0x64624b=_0x47e57b;let _0x1e56ab=[];switch(_0x44a1c1['id']){case _0x2db21a['EffectRefRangId'][_0x64624b(0x17e)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x173)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x1ab)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x27f)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a['EffectRefRangId'][_0x64624b(0x291)]:{_0x1e56ab=_0x2db21a[_0x64624b(0xac)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x2e5)]:{_0x1e56ab=_0x2db21a['handleInsertRangeMoveDown'](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x1e56ab=_0x2db21a[_0x64624b(0x1bf)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)]['InsertRowCommandId']:{_0x1e56ab=_0x2db21a['handleInsertRow'](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x143)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x27c)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x129)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x109)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x180)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x183)](_0x44a1c1,_0xff3bd5);break;}}const _0x3d2319=_0x2db21a[_0x64624b(0x157)](_0x1e56ab,_0xff3bd5),_0x3693a2=this[_0x64624b(0xdd)][_0x64624b(0x2d8)](_0x147377);if(_0x3693a2&&_0x3d2319){const _0x138b50={..._0x3693a2,'range':_0x3d2319};this[_0x64624b(0xdd)][_0x64624b(0x154)](_0x147377,_0x138b50),_0x5e3241(()=>{const _0x504a73=_0x64624b,_0x347281=this[_0x504a73(0x155)][_0x504a73(0x1e9)](_0x3d2319,_0x34bdbf=>(_0x347281['dispose'](),_0x4acbc2(_0x34bdbf,_0x147377,_0x165aa2,_0x3d2319)));_0xe88d2a[_0x504a73(0x246)](_0x347281);});}return{'redos':[],'undos':[]};};this[_0x47e57b(0xdd)][_0x47e57b(0x134)]((_0x259c9e,_0xe2213e)=>{const _0x47ede1=_0x47e57b,{range:_0x39d9da,sheetID:_0x215884}=_0x259c9e,_0x1eba5d=this['_refRangeService']['registerRefRange'](_0x39d9da,_0x3b9eda=>(_0x1eba5d['dispose'](),_0x4acbc2(_0x3b9eda,_0xe2213e,_0x215884,_0x39d9da)));_0xe88d2a[_0x47ede1(0x246)](_0x1eba5d);});};this[_0x3aede5(0x148)](_0x50247b['toDisposable'](this['_cursorInfo$'][_0x3aede5(0x1a4)](()=>{_0x2b85c5();})));}[_0x465324(0x2ab)](){const _0x30157c=_0x465324;var _0x242f6d,_0x42b557;if(this[_0x30157c(0x315)]=!0x0,((_0x242f6d=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x242f6d[_0x30157c(0x324)]())!==this[_0x30157c(0x1a3)])return;const _0x558a82=(_0x42b557=this[_0x30157c(0xe8)][_0x30157c(0x2d8)](_0x2db21a[_0x30157c(0x15b)])[_0x30157c(0xe6)]())==null?void 0x0:_0x42b557[0x0],_0x5b688f=this[_0x30157c(0x2c7)][_0x30157c(0x308)](_0x50247b[_0x30157c(0x319)]['UNIVER_SHEET'])[_0x30157c(0x16a)]();_0x558a82&&_0x5b688f&&this[_0x30157c(0x1b4)](_0x5b688f[_0x30157c(0x97)](),_0x558a82);}[_0x465324(0x1b5)](){this['_online']=!0x1;}};_0x944f80=_0x3aa8c4([_0x4c2e65(0x2,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x4c2e65(0x3,_0x50247b[_0x465324(0x15e)](_0x20e9cb)),_0x4c2e65(0x4,_0x50247b[_0x465324(0x15e)](_0x40916b['MemberService'])),_0x4c2e65(0x5,_0x50247b[_0x465324(0x257)]),_0x4c2e65(0x6,_0x50247b[_0x465324(0xde)]),_0x4c2e65(0x7,_0x50247b['Inject'](_0x2db21a[_0x465324(0x2fb)]))],_0x944f80);var _0xdcda77=Object[_0x465324(0x164)],_0x29923c=(_0x492436,_0x384f84,_0x141f72,_0x59cd29)=>{const _0x48d154=_0x465324;for(var _0x21cf88=_0x59cd29>0x1?void 0x0:_0x59cd29?_0xdcda77(_0x384f84,_0x141f72):_0x384f84,_0x136165=_0x492436[_0x48d154(0x223)]-0x1,_0x543b3a;_0x136165>=0x0;_0x136165--)(_0x543b3a=_0x492436[_0x136165])&&(_0x21cf88=_0x543b3a(_0x21cf88)||_0x21cf88);return _0x21cf88;},_0x530e3a=(_0x10e56d,_0x2fad30)=>(_0x10c681,_0x205948)=>_0x2fad30(_0x10c681,_0x205948,_0x10e56d);let _0x565865=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x175612,_0x30c7ba,_0x1bc47d){const _0x4dbfd3=_0x465324;super(),_0x2f0564(this,_0x4dbfd3(0x1f7),new Map()),_0x2f0564(this,_0x4dbfd3(0x1da),new _0x481311[(_0x4dbfd3(0x127))]()),(this[_0x4dbfd3(0x2c7)]=_0x175612,this[_0x4dbfd3(0xe8)]=_0x30c7ba,this[_0x4dbfd3(0x32a)]=_0x1bc47d,this[_0x4dbfd3(0x256)]());}['dispose'](){const _0x2e4148=_0x465324;super[_0x2e4148(0xc1)](),this['_entityInit$'][_0x2e4148(0xf8)](),this[_0x2e4148(0x1f7)]['forEach'](_0x39be44=>_0x39be44[_0x2e4148(0xc1)]());}[_0x465324(0xfc)](_0x3d219b){const _0x2598fd=_0x465324;return this[_0x2598fd(0x1f7)][_0x2598fd(0xfd)](_0x3d219b)?this['_entities']['get'](_0x3d219b)[_0x2598fd(0x168)]:this[_0x2598fd(0x1da)][_0x2598fd(0x29b)](_0x481311[_0x2598fd(0x111)](_0x44a852=>_0x44a852[_0x2598fd(0x1a3)]===_0x3d219b),_0x481311['switchMap'](_0x4f6791=>_0x4f6791[_0x2598fd(0x168)]));}['_init'](){const _0x33f6c2=_0x465324;this['_univerInstanceService'][_0x33f6c2(0x2b3)](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0xdb)])['pipe'](_0x481311[_0x33f6c2(0x14f)](this['dispose$']))[_0x33f6c2(0x1a4)](async _0x2188d1=>{const _0x3e4704=_0x33f6c2,_0x338cc5=_0x2188d1['getUnitId'](),_0x51ef27=await this['_startSheetCollabCursor'](_0x338cc5);this[_0x3e4704(0x1da)]['next'](_0x51ef27),this[_0x3e4704(0x1f7)][_0x3e4704(0x154)](_0x338cc5,_0x51ef27);}),this['_univerInstanceService'][_0x33f6c2(0x2b3)](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0x18b)])['pipe'](_0x481311[_0x33f6c2(0x14f)](this[_0x33f6c2(0x312)]))[_0x33f6c2(0x29b)](_0x481311[_0x33f6c2(0x111)](_0x42dcfa=>!_0x42dcfa[_0x33f6c2(0x324)]()[_0x33f6c2(0xc9)]('__')))[_0x33f6c2(0x1a4)](async _0x37aafb=>{const _0x225639=_0x33f6c2,_0x49b5d9=_0x37aafb[_0x225639(0x324)](),_0x2f6e09=await this['_startDocCollabCursor'](_0x49b5d9);this[_0x225639(0x1da)][_0x225639(0x1d1)](_0x2f6e09),this['_entities'][_0x225639(0x154)](_0x49b5d9,_0x2f6e09);}),_0x481311['merge'](this[_0x33f6c2(0x2c7)]['getTypeOfUnitDisposed$'](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0x18b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x50247b[_0x33f6c2(0x319)]['UNIVER_SHEET']))['pipe'](_0x481311[_0x33f6c2(0x14f)](this[_0x33f6c2(0x312)]))[_0x33f6c2(0x1a4)](_0x22b7c6=>{const _0x5da00e=_0x33f6c2,_0x4baf6a=_0x22b7c6[_0x5da00e(0x324)](),_0x1f80ff=this[_0x5da00e(0x1f7)][_0x5da00e(0x2d8)](_0x4baf6a);_0x1f80ff&&(_0x1f80ff['dispose'](),this[_0x5da00e(0x1f7)][_0x5da00e(0x2bf)](_0x4baf6a));});}async[_0x465324(0x2de)](_0x365a37){const _0x1719be=_0x465324,_0x44fe71=await this[_0x1719be(0x32a)][_0x1719be(0x16e)](_0x365a37),_0x46033e=this[_0x1719be(0xe8)][_0x1719be(0x17b)](_0x944f80,_0x365a37,_0x44fe71);return _0x46033e['init'](),_0x46033e;}async[_0x465324(0x195)](_0x2f2c6d){const _0x4e9bcf=_0x465324,_0x5e56f9=await this[_0x4e9bcf(0x32a)]['requireSession'](_0x2f2c6d),_0x12bed0=this['_injector'][_0x4e9bcf(0x17b)](_0x55a4f4,_0x2f2c6d,_0x5e56f9);return _0x12bed0[_0x4e9bcf(0xb9)](),_0x12bed0;}};_0x565865=_0x29923c([_0x530e3a(0x0,_0x50247b['IUniverInstanceService']),_0x530e3a(0x1,_0x50247b['Inject'](_0x50247b['Injector'])),_0x530e3a(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b['CollaborationSessionService']))],_0x565865);const _0x342200=0x14,_0x25862e=0xc8,_0x28d8d9=0x4,_0x2ef096=0x5;function _0x1f2b38(_0x39dc03,_0x46821a){const _0x247214=_0x465324;let {radius:_0xe6adf3,width:_0x18683f,height:_0x327a4b}=_0x46821a;_0xe6adf3=_0xe6adf3!=null?_0xe6adf3:0x0,_0x18683f=_0x18683f!=null?_0x18683f:0x1e,_0x327a4b=_0x327a4b!=null?_0x327a4b:0x1e;let _0x186901=0x0,_0x581604=0x0,_0x7c406a=0x0;_0x186901=_0x581604=_0x7c406a=Math['min'](_0xe6adf3,_0x18683f/0x2,_0x327a4b/0x2),_0x39dc03[_0x247214(0x22c)](),_0x39dc03['moveTo'](_0x186901,0x0),_0x39dc03[_0x247214(0x185)](_0x18683f-_0x581604,0x0),_0x39dc03[_0x247214(0x1f5)](_0x18683f-_0x581604,_0x581604,_0x581604,Math['PI']*0x3/0x2,0x0,!0x1),_0x39dc03[_0x247214(0x185)](_0x18683f,_0x327a4b-_0x7c406a),_0x39dc03['arc'](_0x18683f-_0x7c406a,_0x327a4b-_0x7c406a,_0x7c406a,0x0,Math['PI']/0x2,!0x1),_0x39dc03[_0x247214(0x185)](0x0,_0x327a4b),_0x39dc03[_0x247214(0x185)](0x0,_0x186901),_0x39dc03[_0x247214(0x1f5)](_0x186901,_0x186901,_0x186901,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39dc03[_0x247214(0x1e0)](),_0x46821a[_0x247214(0x165)]&&(_0x39dc03[_0x247214(0x251)](),_0x39dc03[_0x247214(0x1c5)]=_0x46821a[_0x247214(0x165)],_0x46821a[_0x247214(0x2b6)]===_0x247214(0x262)?_0x39dc03['fill'](_0x247214(0x262)):_0x39dc03['fill'](),_0x39dc03[_0x247214(0xc0)]());}class _0x5a05ec extends _0x24e38c[_0x465324(0x112)]{constructor(_0x57036c,_0x5c44dc){const _0x5a8aaa=_0x465324;super(_0x57036c,_0x5c44dc),_0x2f0564(this,_0x5a8aaa(0x226)),_0x2f0564(this,'text'),(this['color']=_0x5c44dc==null?void 0x0:_0x5c44dc['color'],this['text']=_0x5c44dc==null?void 0x0:_0x5c44dc[_0x5a8aaa(0xec)]);}static[_0x465324(0xa0)](_0x44410d,_0x1b5b89){const _0x3d7388=_0x465324,{text:_0x3136f1,color:_0x126906}=_0x1b5b89;_0x44410d[_0x3d7388(0x251)](),_0x44410d[_0x3d7388(0x1f4)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x368b7d=_0x44410d[_0x3d7388(0x136)](_0x3136f1)['width'],_0x5b872f=Math[_0x3d7388(0x2f8)](_0x368b7d+0x2*_0x28d8d9,_0x25862e);_0x1f2b38(_0x44410d,{'height':_0x342200,'radius':0x4,'width':_0x5b872f,'fill':_0x126906}),_0x44410d['fillStyle']='#FFF';const _0x4561e5=_0x28d8d9,_0x4fef01=_0x342200-_0x2ef096,_0x3dd7c5=_0x25862e-0x2*_0x28d8d9;if(_0x368b7d>_0x3dd7c5){let _0x38dd8e='',_0x4807ff=0x0;for(const _0x5ee768 of _0x3136f1){const _0x3aa83f=_0x44410d[_0x3d7388(0x136)](_0x5ee768)[_0x3d7388(0x1f3)];if(_0x4807ff+_0x3aa83f<=_0x3dd7c5-_0x44410d[_0x3d7388(0x136)](_0x3d7388(0x1b7))['width'])_0x38dd8e+=_0x5ee768,_0x4807ff+=_0x3aa83f;else{_0x38dd8e+=_0x3d7388(0x1b7);break;}}_0x44410d[_0x3d7388(0x12c)](_0x38dd8e,_0x4561e5,_0x4fef01);}else _0x44410d[_0x3d7388(0x12c)](_0x3136f1,_0x4561e5,_0x4fef01);_0x44410d[_0x3d7388(0xc0)]();}[_0x465324(0xa4)](_0x3a741c){const _0x3e0fa6=_0x465324;_0x5a05ec[_0x3e0fa6(0xa0)](_0x3a741c,this);}}const _0x3cdf1e=_0x465324(0x9c),_0x597ba4=_0x465324(0x19f),_0x468fe7='collab-rect-range-',_0x7f852=0x6,_0x2e3d59=1.5,_0x393a7c=0x4,_0x4eebfe=1.5,_0x403f67=_0x465324(0x218);class _0x11a7a{constructor(_0x3b65f9,_0x322ab9,_0x3657a5,_0x5bd32c){const _0x11f1ea=_0x465324;_0x2f0564(this,'_shapes',[]),_0x2f0564(this,_0x11f1ea(0x211),null),_0x2f0564(this,'_textBubble',null),_0x2f0564(this,_0x11f1ea(0xf9),null),_0x2f0564(this,_0x11f1ea(0x27e),null),_0x2f0564(this,_0x11f1ea(0x103),null),(this[_0x11f1ea(0x201)]=_0x3b65f9,this[_0x11f1ea(0x1bd)]=_0x322ab9,this[_0x11f1ea(0xe5)]=_0x3657a5,this['_document']=_0x5bd32c,this['_render']());}set[_0x465324(0x13e)](_0x506420){const _0x10b8a2=_0x465324;_0x506420?(this[_0x10b8a2(0xf9)]&&this['_anchorDot'][_0x10b8a2(0x263)](),this['_textBubble']&&this[_0x10b8a2(0x182)][_0x10b8a2(0x197)]()):(this[_0x10b8a2(0xf9)]&&this['_anchorDot'][_0x10b8a2(0x197)](),this[_0x10b8a2(0x182)]&&this[_0x10b8a2(0x182)]['hide']());}['dispose'](){const _0x21f6d3=_0x465324;for(const _0x27b960 of this[_0x21f6d3(0x15a)])_0x27b960[_0x21f6d3(0xc1)]();this[_0x21f6d3(0x182)]&&this[_0x21f6d3(0x182)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0xf9)]&&this[_0x21f6d3(0xf9)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0x211)]&&this[_0x21f6d3(0x211)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0x103)]&&this[_0x21f6d3(0x103)]();}[_0x465324(0x15f)](){const _0x12f9ef=_0x465324;var _0x284914;const {_docSkeleton:_0x1f13cb,_document:_0xe3e59b}=this,{color:_0x1dfc14,name:_0x40caa3,ranges:_0x3ba9da}=this[_0x12f9ef(0x201)],_0x4436e6=_0xe3e59b['getOffsetConfig'](),{docsLeft:_0x102d6c,docsTop:_0x359120}=_0x4436e6,_0xf679b8=new _0x2b2a5c[(_0x12f9ef(0x150))](_0x4436e6,_0x1f13cb);for(const {startOffset:_0x1e8e4a,endOffset:_0x59a5d8,rangeType:_0x430547,segmentId:_0x5b3c49,segmentPage:_0x50b9c7,collapsed:_0xee1c02,isActive:_0x21840b}of _0x3ba9da){const _0x2c7706=_0x1f13cb[_0x12f9ef(0x1c3)](_0x1e8e4a,!0x0,_0x5b3c49,_0x50b9c7);let _0x4f3a99=_0x1f13cb[_0x12f9ef(0x1c3)](_0x59a5d8,!0x0,_0x5b3c49,_0x50b9c7);if(_0x4f3a99==null&&(_0x4f3a99=_0x1f13cb[_0x12f9ef(0x1c3)](_0x59a5d8-0x1,!0x1,_0x5b3c49,_0x50b9c7)),_0x21840b){const {contentBoxPointGroup:_0x670cc1}=_0xf679b8[_0x12f9ef(0xa2)](_0x4f3a99,_0x4f3a99);if(_0x670cc1['length']===0x0)continue;this['_drawAnchor'](_0x1dfc14,_0x670cc1,_0x102d6c,_0x359120,_0x40caa3),this[_0x12f9ef(0x103)]=this[_0x12f9ef(0xa8)]();}if(_0x2c7706&&_0x4f3a99){if(_0x430547===_0x50247b[_0x12f9ef(0x280)][_0x12f9ef(0xbc)]){const _0x577af2=new _0x2b2a5c[(_0x12f9ef(0x227))](_0x4436e6,_0x1f13cb),{pointGroup:_0x2f3776}=(_0x284914=_0x577af2[_0x12f9ef(0xa2)](_0x2c7706,_0x4f3a99))!=null?_0x284914:{};if(_0x2f3776==null||_0x2f3776[_0x12f9ef(0x223)]===0x0)continue;this[_0x12f9ef(0x11a)](_0x1dfc14,_0x2f3776,_0x102d6c,_0x359120);}else{if(!_0xee1c02){const {borderBoxPointGroup:_0x2a1027}=_0xf679b8[_0x12f9ef(0xa2)](_0x2c7706,_0x4f3a99);if(_0x2a1027['length']===0x0)continue;this[_0x12f9ef(0x28b)](_0x1dfc14,_0x2a1027,_0x102d6c,_0x359120);}}}}}[_0x465324(0x2fd)](_0x53ad08,_0xcf26d5,_0x308875,_0x5edf61,_0x1695ab){const _0x1cd708=_0x465324,_0xd95aad=this[_0x1cd708(0x2c3)](_0xcf26d5),{left:_0x1dcf28,top:_0x355f90,height:_0x2725ea}=_0xd95aad,_0x19b89b=this[_0x1cd708(0x120)](),_0x5a1764=_0x4eebfe/_0x19b89b,_0x2187c3=new _0x24e38c[(_0x1cd708(0x26a))](_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)][_0x1cd708(0x102)](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61,'height':_0x2725ea,'width':_0x2e3d59,'fill':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)]['black'],0x0),'strokeWidth':_0x5a1764,'stroke':_0x403f67,'evented':!0x0});this['_anchor']=_0x2187c3,this['_scene'][_0x1cd708(0x219)](_0x2187c3,_0x2b2a5c[_0x1cd708(0x2ce)]);const _0x3e9b5a=new _0x24e38c[(_0x1cd708(0x26a))](_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)]['generateRandomId'](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61-_0x393a7c/0x2,'height':_0x393a7c,'width':_0x393a7c,'fill':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)][_0x1cd708(0x2a3)],0x0),'strokeWidth':0x0,'stroke':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)]['black'],0x0),'evented':!0x1});this[_0x1cd708(0xf9)]=_0x3e9b5a,this['_scene'][_0x1cd708(0x219)](_0x3e9b5a,_0x2b2a5c[_0x1cd708(0x2ce)]);const _0x37c6d5=new _0x5a05ec(_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)][_0x1cd708(0x102)](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61-_0x342200,'text':_0x1695ab,'color':_0x53ad08});this[_0x1cd708(0x182)]=_0x37c6d5,this['_scene'][_0x1cd708(0x219)](_0x37c6d5,_0x2b2a5c['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x3acf89=_0x465324,_0x18d078=this['_anchor'][_0x3acf89(0x123)]['subscribeEvent'](()=>{const _0x6b2714=_0x3acf89;this[_0x6b2714(0x13e)]=!0x0;}),_0x1230d8=this[_0x3acf89(0x211)]['onPointerLeave$'][_0x3acf89(0x31c)](()=>{const _0x83f1a2=_0x3acf89;this[_0x83f1a2(0x27e)]&&clearTimeout(this[_0x83f1a2(0x27e)]),this[_0x83f1a2(0x27e)]=setTimeout(()=>{const _0x26e50c=_0x83f1a2;this[_0x26e50c(0x13e)]=!0x1;},0x7d0);});return()=>{const _0x465b08=_0x3acf89;_0x18d078[_0x465b08(0x2b0)](),_0x1230d8[_0x465b08(0x2b0)]();};}[_0x465324(0x28b)](_0x3e0ff1,_0x520455,_0x16ebef,_0x397e23){const _0x47183d=_0x465324,_0x251126=new _0x50247b[(_0x47183d(0xcc))](_0x3e0ff1)[_0x47183d(0x2c4)](0.2)[_0x47183d(0xbd)](),_0x556466=new _0x24e38c['RegularPolygon'](_0x597ba4+_0x50247b[_0x47183d(0x1be)][_0x47183d(0x102)](_0x7f852),{'pointsGroup':_0x520455,'fill':_0x251126||_0x24e38c[_0x47183d(0x1a5)](_0x50247b[_0x47183d(0x2b8)][_0x47183d(0x2a3)],0.2),'left':_0x16ebef,'top':_0x397e23,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47183d(0x15a)][_0x47183d(0xc3)](_0x556466),this['_scene'][_0x47183d(0x219)](_0x556466,_0x2b2a5c[_0x47183d(0x2ce)]);}[_0x465324(0x11a)](_0x89efe1,_0x4326ff,_0xa2650f,_0x5ea4ce){const _0x32afec=_0x465324,_0x48e793=new _0x50247b['ColorKit'](_0x89efe1)[_0x32afec(0x2c4)](0.2)['toRgbString'](),_0x490ee6=new _0x24e38c['RegularPolygon'](_0x468fe7+_0x50247b[_0x32afec(0x1be)][_0x32afec(0x102)](_0x7f852),{'pointsGroup':_0x4326ff,'fill':_0x48e793||_0x24e38c[_0x32afec(0x1a5)](_0x50247b[_0x32afec(0x2b8)]['black'],0.2),'left':_0xa2650f,'top':_0x5ea4ce,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32afec(0x15a)][_0x32afec(0xc3)](_0x490ee6),this[_0x32afec(0x1bd)][_0x32afec(0x219)](_0x490ee6,_0x2b2a5c[_0x32afec(0x2ce)]);}['_getAnchorBounding'](_0x2d386c){const _0xcf90fe=_0x2d386c[0x0],_0x4cc6f8=_0xcf90fe[0x0],_0x3a24e9=_0xcf90fe[0x2],{x:_0x4dc688,y:_0x2fb108}=_0x4cc6f8,{x:_0x3259d6,y:_0xe613e7}=_0x3a24e9;return{'left':_0x4dc688,'top':_0x2fb108,'width':_0x3259d6-_0x4dc688,'height':_0xe613e7-_0x2fb108};}[_0x465324(0x120)](){const _0x3b8c53=_0x465324,{scaleX:_0x3d5704,scaleY:_0xf1556}=this[_0x3b8c53(0x1bd)][_0x3b8c53(0x31f)]();return Math[_0x3b8c53(0x2a8)](_0x3d5704,_0xf1556);}}var _0x46aa48=Object[_0x465324(0x164)],_0x4a77d1=(_0xe0df36,_0x47b18a,_0x37e9c9,_0x14a6fd)=>{const _0x1406c4=_0x465324;for(var _0x32a83a=_0x14a6fd>0x1?void 0x0:_0x14a6fd?_0x46aa48(_0x47b18a,_0x37e9c9):_0x47b18a,_0xbb35d0=_0xe0df36[_0x1406c4(0x223)]-0x1,_0x36f37f;_0xbb35d0>=0x0;_0xbb35d0--)(_0x36f37f=_0xe0df36[_0xbb35d0])&&(_0x32a83a=_0x36f37f(_0x32a83a)||_0x32a83a);return _0x32a83a;},_0x2379eb=(_0xb3b0e3,_0x392c05)=>(_0x2f0ab5,_0x1e1f98)=>_0x392c05(_0x2f0ab5,_0x1e1f98,_0xb3b0e3);let _0x8254e1=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x958283,_0x27b7f7,_0x398675,_0x9c3f80,_0x3cae7f){const _0x2ae5d0=_0x465324;super(),_0x2f0564(this,_0x2ae5d0(0x302),[]),_0x2f0564(this,'_cursors',[]),(this['_context']=_0x958283,this[_0x2ae5d0(0x96)]=_0x27b7f7,this[_0x2ae5d0(0xe7)]=_0x398675,this[_0x2ae5d0(0x1aa)]=_0x9c3f80,this[_0x2ae5d0(0x1f9)]=_0x3cae7f,this['_init']());}['_init'](){const _0x4756e4=_0x465324,_0x3dbd72=this[_0x4756e4(0x12a)][_0x4756e4(0x107)],_0x4ebaf7=this[_0x4756e4(0x96)];this[_0x4756e4(0x148)](_0x481311['combineLatest']([this[_0x4756e4(0xe7)][_0x4756e4(0xfc)](_0x3dbd72),this[_0x4756e4(0x1f9)][_0x4756e4(0x153)]])[_0x4756e4(0x29b)](_0x3846e5['map'](([_0x346f95,_0x21925e])=>({'skeleton':_0x4ebaf7[_0x4756e4(0x17a)](),'cursors':[..._0x346f95[_0x4756e4(0x2e3)]()]['flatMap'](_0x3886b9=>({..._0x3886b9,'color':this[_0x4756e4(0x1f9)][_0x4756e4(0x2c9)](_0x3886b9[_0x4756e4(0x226)])}))})))[_0x4756e4(0x1a4)](_0x535249=>{const _0x3e7187=_0x4756e4;if(this[_0x3e7187(0x317)](),_0x535249){const {skeleton:_0x22f2ff,cursors:_0x1e7f04}=_0x535249;this[_0x3e7187(0x326)](_0x22f2ff,_0x1e7f04);}})),this[_0x4756e4(0x12f)](),this[_0x4756e4(0x2c5)]();}['_updateCollabCursors'](_0x169925,_0x5dcbd9){const _0x2da746=_0x465324,{scene:_0x40b1a1,mainComponent:_0x3f1989}=this['_context'],_0x32ed80=_0x5dcbd9[_0x2da746(0xb4)](_0x35a529=>new _0x11a7a(_0x35a529,_0x40b1a1,_0x169925,_0x3f1989));this[_0x2da746(0x302)]=_0x32ed80,this['_cursors']=_0x5dcbd9;}[_0x465324(0x181)](){const _0x259d96=_0x465324;this[_0x259d96(0x317)]();const {scene:_0x817338,mainComponent:_0x5b6dd7}=this[_0x259d96(0x12a)],_0xaa658f=this[_0x259d96(0x96)][_0x259d96(0x17a)](),_0x4f3605=this[_0x259d96(0x2b7)][_0x259d96(0xb4)](_0x1af61a=>new _0x11a7a(_0x1af61a,_0x817338,_0xaa658f,_0x5b6dd7));this[_0x259d96(0x302)]=_0x4f3605;}[_0x465324(0x317)](){const _0x287a6c=_0x465324;this[_0x287a6c(0x302)][_0x287a6c(0x134)](_0x163658=>_0x163658[_0x287a6c(0xc1)]()),this[_0x287a6c(0x302)]=[];}[_0x465324(0x2c5)](){const _0x4f75f6=_0x465324,_0x5bb7ce=[_0x2b2a5c[_0x4f75f6(0x1c1)]['id']];this[_0x4f75f6(0x148)](this[_0x4f75f6(0x1aa)][_0x4f75f6(0x1e7)](_0x378dee=>{const _0x56565c=_0x4f75f6;_0x5bb7ce[_0x56565c(0x21b)](_0x378dee['id'])&&_0x378dee[_0x56565c(0x176)][_0x56565c(0x107)]===this[_0x56565c(0x12a)][_0x56565c(0x107)]&&this[_0x56565c(0x181)]();}));}[_0x465324(0x12f)](){const _0x5bef6d=_0x465324;this[_0x5bef6d(0x148)](_0x50247b[_0x5bef6d(0x1c9)](this[_0x5bef6d(0x12a)][_0x5bef6d(0x2ba)]['onTransformChange$'])[_0x5bef6d(0x29b)](_0x3846e5['filter'](_0x3f6e40=>_0x3f6e40[_0x5bef6d(0x177)]===_0x24e38c[_0x5bef6d(0x22b)][_0x5bef6d(0x1b8)]),_0x3846e5[_0x5bef6d(0xd7)](0x10))[_0x5bef6d(0x1a4)](()=>{const _0x2da810=_0x5bef6d;this[_0x2da810(0x181)]();}));}};_0x8254e1=_0x4a77d1([_0x2379eb(0x1,_0x50247b['Inject'](_0x2136d0[_0x465324(0x191)])),_0x2379eb(0x2,_0x50247b['Inject'](_0x565865)),_0x2379eb(0x3,_0x50247b[_0x465324(0xde)]),_0x2379eb(0x4,_0x50247b['Inject'](_0x50247b['ThemeService']))],_0x8254e1);const _0x19f6b7=0x1,_0x216340=1.5;class _0x25a3fc extends _0x24e38c[_0x465324(0x112)]{constructor(_0x14fc93,_0x3875ee){const _0x1372d5=_0x465324;super(_0x14fc93,_0x3875ee),_0x2f0564(this,_0x1372d5(0xaa)),_0x2f0564(this,_0x1372d5(0x193),!0x1),_0x2f0564(this,_0x1372d5(0x2d1)),_0x2f0564(this,'_name',''),_0x2f0564(this,_0x1372d5(0x9d),'top'),_0x2f0564(this,_0x1372d5(0x204)),(_0x3875ee&&this[_0x1372d5(0x13c)](_0x3875ee),this[_0x1372d5(0x123)][_0x1372d5(0x31c)](()=>this[_0x1372d5(0x13c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1372d5(0x31c)](()=>this[_0x1372d5(0x13c)]({'hovered':!0x1})));}[_0x465324(0x13c)](_0x1d41fe){const _0xf1eef=_0x465324;var _0x381e82,_0x5b126b,_0x5745f6,_0x2f9b9f,_0x45dfdb,_0x33cd68;this[_0xf1eef(0xaa)]=(_0x381e82=_0x1d41fe[_0xf1eef(0x226)])!=null?_0x381e82:this['_color'],this['_hovered']=(_0x5b126b=_0x1d41fe[_0xf1eef(0x268)])!=null?_0x5b126b:this[_0xf1eef(0x193)],this[_0xf1eef(0x2d1)]=(_0x5745f6=_0x1d41fe[_0xf1eef(0x2d4)])!=null?_0x5745f6:this[_0xf1eef(0x2d1)],this[_0xf1eef(0x234)]=(_0x2f9b9f=_0x1d41fe[_0xf1eef(0x18d)])!=null?_0x2f9b9f:this[_0xf1eef(0x234)],this[_0xf1eef(0x9d)]=(_0x45dfdb=_0x1d41fe[_0xf1eef(0x224)])!=null?_0x45dfdb:this['_labelPosition'],this[_0xf1eef(0x204)]=(_0x33cd68=_0x1d41fe[_0xf1eef(0xb6)])!=null?_0x33cd68:this[_0xf1eef(0x204)],this[_0xf1eef(0xc4)]({'width':_0x1d41fe[_0xf1eef(0x1f3)],'height':_0x1d41fe[_0xf1eef(0x21f)]});}['onMouseMove'](_0x1d2f52){const _0x5d6b85=_0x465324,{row:_0x4d202e,column:_0x30e360}=_0x1d2f52;if(_0x4d202e>=this[_0x5d6b85(0x2d1)][_0x5d6b85(0x311)]&&_0x4d202e<=this['_range'][_0x5d6b85(0x124)]&&_0x30e360>=this[_0x5d6b85(0x2d1)]['startColumn']&&_0x30e360<=this['_range'][_0x5d6b85(0x14d)]){this[_0x5d6b85(0x13c)]({'hovered':!0x0});return;}this[_0x5d6b85(0x13c)]({'hovered':!0x1});}[_0x465324(0x266)](_0x1b38a8){return!0x1;}[_0x465324(0xa4)](_0x3edfe4){const _0x275631=_0x465324;_0x24e38c['Rect'][_0x275631(0xa0)](_0x3edfe4,{'width':this[_0x275631(0x1f3)],'height':this[_0x275631(0x21f)],'strokeWidth':_0x216340,'stroke':this[_0x275631(0xaa)],'evented':!0x1,'fill':this[_0x275631(0x204)]}),this[_0x275631(0x193)]&&(_0x3edfe4[_0x275631(0x251)](),_0x3edfe4['transform'](0x1,0x0,0x0,0x1,this[_0x275631(0x1f3)],this[_0x275631(0x9d)]==='bottom'?0x0:-0x14),_0x5a05ec[_0x275631(0xa0)](_0x3edfe4,{'text':this[_0x275631(0x234)],'color':this[_0x275631(0xaa)]}),_0x3edfe4['restore']());}}var _0x47152c=Object[_0x465324(0x164)],_0x4b6c67=(_0x43a943,_0x48dee1,_0x4bc6f9,_0x2a6c6d)=>{const _0x5eea2f=_0x465324;for(var _0xbc7ed1=_0x2a6c6d>0x1?void 0x0:_0x2a6c6d?_0x47152c(_0x48dee1,_0x4bc6f9):_0x48dee1,_0x20bf4a=_0x43a943[_0x5eea2f(0x223)]-0x1,_0x109cf5;_0x20bf4a>=0x0;_0x20bf4a--)(_0x109cf5=_0x43a943[_0x20bf4a])&&(_0xbc7ed1=_0x109cf5(_0xbc7ed1)||_0xbc7ed1);return _0xbc7ed1;},_0x1dd898=(_0x107b58,_0xca7cdf)=>(_0xcb03dc,_0x14baa3)=>_0xca7cdf(_0xcb03dc,_0x14baa3,_0x107b58);const _0x34fbad=0x1389;let _0x250f25=class extends _0x50247b['RxDisposable']{constructor(_0x5b3814,_0x556173,_0x3627e4,_0x47f490){const _0x14aa80=_0x465324;super(),_0x2f0564(this,_0x14aa80(0x2b7),new Set()),_0x2f0564(this,_0x14aa80(0x174),null),(this['_context']=_0x5b3814,this[_0x14aa80(0x1a8)]=_0x556173,this[_0x14aa80(0xe7)]=_0x3627e4,this[_0x14aa80(0x1f9)]=_0x47f490,this[_0x14aa80(0x256)]());}[_0x465324(0x256)](){const _0x4dde47=_0x465324;this[_0x4dde47(0x1a8)][_0x4dde47(0x272)][_0x4dde47(0x29b)](_0x3846e5[_0x4dde47(0x14f)](this[_0x4dde47(0x312)]),_0x3846e5[_0x4dde47(0x137)](_0x8662f=>{const _0xd0133e=_0x4dde47;if(_0x8662f){const _0x524b5f=_0x8662f[_0xd0133e(0x14a)];return _0x481311[_0xd0133e(0x161)](this[_0xd0133e(0xe7)][_0xd0133e(0xfc)](this['_context'][_0xd0133e(0x107)]),this['_themeService']['currentTheme$'])[_0xd0133e(0x29b)](_0x3846e5[_0xd0133e(0xb4)](([_0x123180,_0x7e733f])=>{const _0xf2fb21=_0xd0133e,_0x152fb5=new Map();return _0x123180[_0xf2fb21(0x134)]((_0x103999,_0x5d5637)=>{const _0x160f1c=_0xf2fb21;if(_0x103999[_0x160f1c(0x2e1)]===_0x524b5f){const _0x29c906={..._0x103999};_0x29c906['color']=this[_0x160f1c(0x1f9)][_0x160f1c(0x2c9)](_0x103999[_0x160f1c(0x226)]),_0x152fb5[_0x160f1c(0x154)](_0x5d5637,_0x29c906);}}),{'skeleton':_0x8662f,'cursors':_0x152fb5};}));}return _0x481311['of']({'skeleton':null,'cursors':new Map()});}))[_0x4dde47(0x1a4)](({skeleton:_0x4ac6de,cursors:_0x46b39c})=>{const _0x163fac=_0x4dde47;this[_0x163fac(0x317)](),_0x4ac6de&&this[_0x163fac(0x326)](_0x4ac6de,_0x46b39c);}),this[_0x4dde47(0x1a8)][_0x4dde47(0x272)][_0x4dde47(0x1a4)](_0x2e260e=>{const _0x14c02d=_0x4dde47;if(_0x2e260e==null)return;const {skeleton:_0x527dc7}=_0x2e260e,{scene:_0x275234}=this[_0x14c02d(0x12a)];_0x275234[_0x14c02d(0x17d)][_0x14c02d(0x31c)](_0x50247b[_0x14c02d(0x100)](_0x742015=>{const _0x3cd0ab=_0x14c02d;var _0x42a2d9,_0x55abaa;const {offsetX:_0x2dffb8,offsetY:_0x2e269c}=_0x742015,{x:_0x40f392,y:_0x48e505}=_0x275234[_0x3cd0ab(0x2cc)](_0x24e38c[_0x3cd0ab(0x313)][_0x3cd0ab(0x151)]([_0x2dffb8,_0x2e269c])),{scaleX:_0x33a816,scaleY:_0x353519}=_0x275234['getAncestorScale'](),_0x209027=_0x275234[_0x3cd0ab(0x261)](_0x24e38c[_0x3cd0ab(0xda)][_0x3cd0ab(0x215)]),_0x595d44=_0x275234[_0x3cd0ab(0xd2)](_0x24e38c[_0x3cd0ab(0x313)]['FromArray']([_0x40f392,_0x48e505]),_0x209027),_0x4b46b8=_0x527dc7[_0x3cd0ab(0x2d2)](_0x2dffb8,_0x2e269c,_0x33a816,_0x353519,_0x595d44);((_0x42a2d9=this['_lastPointer'])==null?void 0x0:_0x42a2d9['column'])===_0x4b46b8['column']&&((_0x55abaa=this[_0x3cd0ab(0x174)])==null?void 0x0:_0x55abaa[_0x3cd0ab(0x299)])===_0x4b46b8[_0x3cd0ab(0x299)]||this[_0x3cd0ab(0x2b7)][_0x3cd0ab(0x134)](_0x1f594d=>{const _0x315f6a=_0x3cd0ab;_0x1f594d[_0x315f6a(0x17c)](_0x4b46b8);});},0x64));});}[_0x465324(0x326)](_0x5a02db,_0x4d7052){const _0x4d63ff=_0x465324;var _0x40372f;const _0x5846ca=(_0x40372f=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x40372f['skeleton'];if(!_0x5846ca)return;const _0x25820b=this[_0x4d63ff(0x18e)]();if(!_0x25820b)return;this['_cursors'][_0x4d63ff(0x134)](_0x29827f=>{_0x29827f['makeDirty']();});const {scene:_0x55a314}=_0x25820b,_0x4535a8=_0x41e2db(Array[_0x4d63ff(0x279)](_0x4d7052['values']()))['map'](_0x1a5e0b=>{const _0x5c0e56=_0x4d63ff,{color:_0x1b0f9b,range:_0x3c4873,name:_0x437e02,selection:_0x8bfeb4,sheetID:_0x598d29}=_0x1a5e0b,{startColumn:_0x5db4d2,startRow:_0x12bda0,endColumn:_0x1e4379,endRow:_0x512ee2}=_0x3c4873,_0x51517b=_0x28ba35['getCoordByCell'](_0x12bda0,_0x5db4d2,_0x55a314,_0x5846ca),_0x2eb574=_0x28ba35[_0x5c0e56(0xb3)](_0x512ee2,_0x1e4379,_0x55a314,_0x5846ca),{columnHeaderHeightAndMarginTop:_0x5aa691}=_0x5846ca,{startX:_0x58fe1f,startY:_0x202105}=_0x51517b,{endX:_0x4895d4,endY:_0x5934d4}=_0x2eb574,_0x29c228=_0x4895d4-_0x58fe1f,_0x126c0b=_0x5934d4-_0x202105,_0x33a174={'labelPosition':_0x202105-_0x5aa691>=_0x342200?_0x5c0e56(0xee):_0x5c0e56(0x28a),'sheetID':_0x598d29,'range':_0x3c4873,'color':_0x1b0f9b,'name':_0x437e02,'selection':_0x8bfeb4,'left':_0x58fe1f,'top':_0x202105,'width':_0x29c228,'height':_0x126c0b,'evented':!0x1,'zIndex':_0x34fbad};return new _0x25a3fc(_0x437e02,_0x33a174);});_0x55a314[_0x4d63ff(0x27b)](_0x4535a8,_0x19f6b7),this[_0x4d63ff(0x2b7)]=new Set(_0x4535a8);}[_0x465324(0x317)](){const _0x539888=_0x465324;var _0xc210b1;(_0xc210b1=this['_cursors'])==null||_0xc210b1[_0x539888(0x134)](_0x49cbfd=>_0x49cbfd[_0x539888(0xc1)]());}[_0x465324(0x18e)](){const _0x4fdf6d=_0x465324;return _0x28ba35[_0x4fdf6d(0x18c)](this[_0x4fdf6d(0x12a)][_0x4fdf6d(0xfa)],this[_0x4fdf6d(0x12a)]);}};_0x250f25=_0x4b6c67([_0x1dd898(0x1,_0x50247b[_0x465324(0x15e)](_0x28ba35[_0x465324(0x216)])),_0x1dd898(0x2,_0x50247b[_0x465324(0x15e)](_0x565865)),_0x1dd898(0x3,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x28e)]))],_0x250f25);function _0x41e2db(_0x373535){const _0x1858d9=_0x465324,_0x3adaeb=new Map();return _0x373535[_0x1858d9(0x134)](_0x23ce8d=>{const _0x213c12=_0x1858d9;if(_0x3adaeb[_0x213c12(0xfd)](_0x23ce8d[_0x213c12(0xbe)])){const _0x5611ea=_0x3adaeb[_0x213c12(0x2d8)](_0x23ce8d[_0x213c12(0xbe)]);_0x5611ea[_0x213c12(0x18d)]+=',\x20'+_0x23ce8d['name'];}else _0x3adaeb['set'](_0x23ce8d[_0x213c12(0xbe)],_0x23ce8d);}),Array['from'](_0x3adaeb[_0x1858d9(0x2e3)]());}var _0x4d02a0=function(){return _0x4d02a0=Object['assign']||function(_0x16811e){const _0x451349=_0x4c50;for(var _0x2cdb56,_0x4f06d7=0x1,_0xf6be29=arguments[_0x451349(0x223)];_0x4f06d7<_0xf6be29;_0x4f06d7++){_0x2cdb56=arguments[_0x4f06d7];for(var _0x1651e2 in _0x2cdb56)Object[_0x451349(0x2dd)][_0x451349(0x19b)][_0x451349(0x233)](_0x2cdb56,_0x1651e2)&&(_0x16811e[_0x1651e2]=_0x2cdb56[_0x1651e2]);}return _0x16811e;},_0x4d02a0['apply'](this,arguments);},_0x359641=function(_0x237f91,_0x187339){const _0x4e9a5f=_0x465324;var _0xa6079c={};for(var _0x34f9ca in _0x237f91)Object[_0x4e9a5f(0x2dd)][_0x4e9a5f(0x19b)][_0x4e9a5f(0x233)](_0x237f91,_0x34f9ca)&&_0x187339[_0x4e9a5f(0x1c6)](_0x34f9ca)<0x0&&(_0xa6079c[_0x34f9ca]=_0x237f91[_0x34f9ca]);if(_0x237f91!=null&&typeof Object['getOwnPropertySymbols']==_0x4e9a5f(0x12e)){for(var _0x29318f=0x0,_0x34f9ca=Object[_0x4e9a5f(0xdc)](_0x237f91);_0x29318f<_0x34f9ca['length'];_0x29318f++)_0x187339[_0x4e9a5f(0x1c6)](_0x34f9ca[_0x29318f])<0x0&&Object['prototype'][_0x4e9a5f(0x146)][_0x4e9a5f(0x233)](_0x237f91,_0x34f9ca[_0x29318f])&&(_0xa6079c[_0x34f9ca[_0x29318f]]=_0x237f91[_0x34f9ca[_0x29318f]]);}return _0xa6079c;},_0x24ede3=_0x998dec[_0x465324(0x106)](function(_0x2e2705,_0x2e0d53){const _0x27ab75=_0x465324;var _0x3a7a78=_0x2e2705[_0x27ab75(0xd9)],_0x7bf77d=_0x2e2705['id'],_0x59bf51=_0x2e2705[_0x27ab75(0x28f)],_0x18e3b3=_0x2e2705[_0x27ab75(0x28d)],_0x2b8ae2=_0x359641(_0x2e2705,[_0x27ab75(0xd9),'id',_0x27ab75(0x28f),_0x27ab75(0x28d)]),_0xae0fa2=_0x27ab75(0x1a0)[_0x27ab75(0x25b)](_0x7bf77d,'\x20')[_0x27ab75(0x25b)](_0x59bf51||'')[_0x27ab75(0x172)](),_0x13879b=_0x998dec[_0x27ab75(0x2ad)]('_'[_0x27ab75(0x25b)](_0x689a83()));return _0x1b140c(_0x3a7a78,''[_0x27ab75(0x25b)](_0x7bf77d),{'defIds':_0x3a7a78[_0x27ab75(0xeb)],'idSuffix':_0x13879b[_0x27ab75(0x29f)]},_0x4d02a0({'ref':_0x2e0d53,'className':_0xae0fa2},_0x2b8ae2),_0x18e3b3);});function _0x1b140c(_0x5d851a,_0x4c38e3,_0x1d2d66,_0x26ccda,_0x2aecc4){const _0x4b8a21=_0x465324;return _0x998dec['createElement'](_0x5d851a[_0x4b8a21(0x25c)],_0x4d02a0(_0x4d02a0({'key':_0x4c38e3},_0xf59f(_0x5d851a,_0x1d2d66,_0x2aecc4)),_0x26ccda),(_0xff4871(_0x5d851a,_0x1d2d66)[_0x4b8a21(0x244)]||[])[_0x4b8a21(0xb4)](function(_0x115ccc,_0x1e4cc1){const _0x1eb746=_0x4b8a21;return _0x1b140c(_0x115ccc,''['concat'](_0x4c38e3,'-')[_0x1eb746(0x25b)](_0x5d851a[_0x1eb746(0x25c)],'-')[_0x1eb746(0x25b)](_0x1e4cc1),_0x1d2d66,void 0x0,_0x2aecc4);}));}function _0xf59f(_0x310d1f,_0x22103f,_0x47e515){const _0x14f530=_0x465324;var _0x303c3e=_0x4d02a0({},_0x310d1f[_0x14f530(0x221)]);_0x47e515!=null&&_0x47e515[_0x14f530(0x189)]&&_0x303c3e[_0x14f530(0x165)]===_0x14f530(0x189)&&(_0x303c3e[_0x14f530(0x165)]=_0x47e515['colorChannel1']),_0x310d1f[_0x14f530(0x25c)]===_0x14f530(0x2f7)&&_0x303c3e['id']&&(_0x303c3e['id']=_0x303c3e['id']+_0x22103f['idSuffix']),Object[_0x14f530(0x32c)](_0x303c3e)['forEach'](function(_0xd4dd08){const _0x3a137d=_0x14f530;var _0x4e2579=_0xd4dd08[0x0],_0x41be49=_0xd4dd08[0x1];_0x4e2579===_0x3a137d(0x2f7)&&typeof _0x41be49==_0x3a137d(0x19e)&&(_0x303c3e[_0x4e2579]=_0x41be49['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x22103f[_0x3a137d(0x1fa)],')')));});var _0x37fef7=_0x22103f[_0x14f530(0xeb)];return!_0x37fef7||_0x37fef7[_0x14f530(0x223)]===0x0||(_0x310d1f[_0x14f530(0x25c)]===_0x14f530(0x11e)&&_0x303c3e[_0x14f530(0x158)]&&(_0x303c3e[_0x14f530(0x158)]=_0x303c3e[_0x14f530(0x158)]+_0x22103f[_0x14f530(0x1fa)]),Object[_0x14f530(0x32c)](_0x303c3e)[_0x14f530(0x134)](function(_0x571200){const _0x3e8da9=_0x14f530;var _0x512ad3=_0x571200[0x0],_0x1a62bc=_0x571200[0x1];typeof _0x1a62bc==_0x3e8da9(0x19e)&&(_0x303c3e[_0x512ad3]=_0x1a62bc[_0x3e8da9(0x25e)](/url\(#(.*)\)/,'url(#$1'[_0x3e8da9(0x25b)](_0x22103f[_0x3e8da9(0x1fa)],')')));})),_0x303c3e;}function _0xff4871(_0x449f60,_0xcb3dfe){const _0x44c5d9=_0x465324;var _0x17f27b,_0x2504d4=_0xcb3dfe[_0x44c5d9(0xeb)];return!_0x2504d4||_0x2504d4[_0x44c5d9(0x223)]===0x0?_0x449f60:_0x449f60['tag']===_0x44c5d9(0x214)&&(!((_0x17f27b=_0x449f60[_0x44c5d9(0x244)])===null||_0x17f27b===void 0x0)&&_0x17f27b[_0x44c5d9(0x223)])?_0x4d02a0(_0x4d02a0({},_0x449f60),{'children':_0x449f60[_0x44c5d9(0x244)][_0x44c5d9(0xb4)](function(_0x401b2e){const _0x2d0fee=_0x44c5d9;return typeof _0x401b2e['attrs']['id']==_0x2d0fee(0x19e)&&_0x2504d4&&_0x2504d4['includes'](_0x401b2e[_0x2d0fee(0x221)]['id'])?_0x4d02a0(_0x4d02a0({},_0x401b2e),{'attrs':_0x4d02a0(_0x4d02a0({},_0x401b2e['attrs']),{'id':_0x401b2e[_0x2d0fee(0x221)]['id']+_0xcb3dfe[_0x2d0fee(0x1fa)]})}):_0x401b2e;})}):_0x449f60;}function _0x689a83(){const _0x4db3a5=_0x465324;return Math[_0x4db3a5(0x2ac)]()[_0x4db3a5(0x255)](0x24)[_0x4db3a5(0x192)](0x2,0x8);}_0x24ede3[_0x465324(0xa3)]=_0x465324(0x235);var _0x5a22c3={'tag':_0x465324(0x95),'attrs':{'xmlns':_0x465324(0xb8),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x465324(0x170),'height':_0x465324(0x170)},'children':[{'tag':'g','attrs':{'clipPath':_0x465324(0x2f1)},'children':[{'tag':_0x465324(0x115),'attrs':{'stroke':_0x465324(0x1cb),'d':_0x465324(0x238),'strokeLinecap':_0x465324(0x32b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x465324(0x214),'attrs':{},'children':[{'tag':_0x465324(0x1a2),'attrs':{'id':_0x465324(0x318)},'children':[{'tag':_0x465324(0x115),'attrs':{'fill':_0x465324(0x225),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x465324(0x318)]},_0xdbca98=_0x998dec[_0x465324(0x106)](function(_0xc4d851,_0x2c3e64){const _0x1bb2c0=_0x465324;return _0x998dec[_0x1bb2c0(0x322)](_0x24ede3,Object[_0x1bb2c0(0x2eb)]({},_0xc4d851,{'id':_0x1bb2c0(0x198),'ref':_0x2c3e64,'icon':_0x5a22c3}));});_0xdbca98['displayName']=_0x465324(0x274);var _0xaa3f5d={'tag':_0x465324(0x95),'attrs':{'xmlns':_0x465324(0xb8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x465324(0x170),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x465324(0x115),'attrs':{'stroke':_0x465324(0x1cb),'d':_0x465324(0x1bb),'strokeLinecap':_0x465324(0x32b),'strokeLinejoin':_0x465324(0x32b),'strokeWidth':1.2}}]},{'tag':_0x465324(0x214),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x465324(0x2a6)},'children':[{'tag':'path','attrs':{'fill':_0x465324(0x225),'d':'M0\x200H16V16H0z','transform':_0x465324(0x2f6)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3371df=_0x998dec[_0x465324(0x106)](function(_0x5c0f0a,_0x4ec4dd){const _0x352230=_0x465324;return _0x998dec[_0x352230(0x322)](_0x24ede3,Object[_0x352230(0x2eb)]({},_0x5c0f0a,{'id':_0x352230(0x1fb),'ref':_0x4ec4dd,'icon':_0xaa3f5d}));});_0x3371df[_0x465324(0xa3)]='OnLineIcon';function _0x37e08b(_0xbb8c7a){const _0x1b603b=_0x465324;switch(_0xbb8c7a){case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x14e)]:return _0x1b603b(0xdf);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x309)]:return _0x1b603b(0x294);case _0x40916b['CollaborationStatus']['FETCH_MISS']:return _0x1b603b(0x132);case _0x40916b[_0x1b603b(0x1b1)]['NOT_COLLAB']:return _0x1b603b(0xe1);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x1fc)]:case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x325)]:return _0x1b603b(0x25d);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x2e0)]:case _0x40916b['CollaborationStatus'][_0x1b603b(0x10f)]:return _0x1b603b(0x267);}}function _0xdf38a9(_0x3773b0){const _0x2d0882=_0x465324,{status$:_0xde270a}=_0x3773b0,_0x90945c=_0x4d3b42[_0x2d0882(0x288)](_0xde270a,_0x40916b[_0x2d0882(0x1b1)]['NOT_COLLAB']),_0x2bd1a2=_0x4d3b42[_0x2d0882(0xf2)](_0x50247b[_0x2d0882(0x14b)]),_0x5f1be4=_0x4d3b42[_0x2d0882(0xf2)](_0x40916b[_0x2d0882(0x139)]),_0x425fbb=_0x90945c!==_0x40916b[_0x2d0882(0x1b1)][_0x2d0882(0x14e)],_0x5af102=_0x2bd1a2['t'](_0x37e08b(_0x90945c)),_0x4b3b60=_0x425fbb?_0x190220[_0x2d0882(0x25f)](_0x3371df,{}):_0x190220[_0x2d0882(0x25f)](_0xdbca98,{}),_0x114fdc=_0x998dec[_0x2d0882(0x1a7)](()=>{_0x425fbb||_0x5f1be4['reconnect']();},[_0x425fbb,_0x5f1be4]);function _0x59c12e(){const _0x483780=_0x2d0882;return _0x190220['jsxs']('div',{'className':_0x483780(0x149),'onClick':_0x114fdc,'children':[_0x190220['jsx'](_0x483780(0x23b),{'className':_0x7c6d07[_0x483780(0xbb)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x425fbb,'univer-text-red-500':!_0x425fbb}),'children':_0x4b3b60}),_0x190220[_0x483780(0x25f)](_0x483780(0x23b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5af102})]});}return _0x425fbb?_0x59c12e():_0x190220[_0x2d0882(0x25f)](_0x7c6d07[_0x2d0882(0xfb)],{'title':_0x2bd1a2['t'](_0x2d0882(0x27d)),'children':_0x59c12e()});}var _0x48ada4=Object['getOwnPropertyDescriptor'],_0x3a61e2=(_0x333329,_0x4b78a1,_0x5154db,_0x5466fe)=>{const _0x2f3a7e=_0x465324;for(var _0x425964=_0x5466fe>0x1?void 0x0:_0x5466fe?_0x48ada4(_0x4b78a1,_0x5154db):_0x4b78a1,_0x1bdec6=_0x333329[_0x2f3a7e(0x223)]-0x1,_0x45e076;_0x1bdec6>=0x0;_0x1bdec6--)(_0x45e076=_0x333329[_0x1bdec6])&&(_0x425964=_0x45e076(_0x425964)||_0x425964);return _0x425964;},_0x2f4558=(_0x6460a5,_0x23f506)=>(_0x3bfbfd,_0x32fe89)=>_0x23f506(_0x3bfbfd,_0x32fe89,_0x6460a5);_0x17bc2c[_0x465324(0x2f3)]=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x2dce11,_0x380963,_0x881a29,_0x5ad7f0){const _0x5a8eb7=_0x465324;super(),_0x2f0564(this,_0x5a8eb7(0x1c4),new _0x481311[(_0x5a8eb7(0x190))](_0x40916b[_0x5a8eb7(0x1b1)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x2dce11,this[_0x5a8eb7(0xe8)]=_0x380963,this[_0x5a8eb7(0x188)]=_0x881a29,this['_uiPartsService']=_0x5ad7f0,this[_0x5a8eb7(0x25a)](),this[_0x5a8eb7(0xd3)]());}[_0x465324(0xd3)](){const _0x1be98f=_0x465324;this[_0x1be98f(0x148)](this[_0x1be98f(0x2c7)][_0x1be98f(0x2f9)][_0x1be98f(0x29b)](_0x481311['switchMap'](()=>{const _0x421b95=_0x1be98f,_0x44b0fb=this[_0x421b95(0x2c7)][_0x421b95(0x101)]();return _0x44b0fb?this[_0x421b95(0x188)][_0x421b95(0x241)](_0x44b0fb['getUnitId']()):_0x481311['of'](null);}),_0x481311[_0x1be98f(0x137)](_0x45e00a=>_0x45e00a?_0x45e00a[_0x1be98f(0x18f)]:_0x481311['of'](_0x40916b[_0x1be98f(0x1b1)][_0x1be98f(0x184)])))[_0x1be98f(0x1a4)](_0x1f21c5=>{const _0x5667f2=_0x1be98f;this[_0x5667f2(0x1c4)]['next'](_0x1f21c5);}));}[_0x465324(0x25a)](){const _0x5addb3=_0x465324;this[_0x5addb3(0x148)](this['_uiPartsService'][_0x5addb3(0x1ee)](_0x4d3b42[_0x5addb3(0x283)][_0x5addb3(0x258)],()=>_0x4d3b42[_0x5addb3(0x1d7)](_0x490961({'status$':this[_0x5addb3(0x1c4)][_0x5addb3(0x15d)]()}),this[_0x5addb3(0xe8)])));}},_0x17bc2c[_0x465324(0x2f3)]=_0x3a61e2([_0x2f4558(0x0,_0x50247b['IUniverInstanceService']),_0x2f4558(0x1,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x104)])),_0x2f4558(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x1ed)])),_0x2f4558(0x3,_0x4d3b42[_0x465324(0x1f6)])],_0x17bc2c[_0x465324(0x2f3)]);function _0x490961(_0x2f760c){const {status$:_0x17dbb4}=_0x2f760c;return function(){const _0x37da90=_0x4c50;return _0x190220[_0x37da90(0x25f)](_0xdf38a9,{'status$':_0x17dbb4});};}var _0x4fe6dd=Object[_0x465324(0x164)],_0x5bcad4=(_0x39debf,_0x12c353,_0x2fcd53,_0xc21501)=>{const _0xc2ed95=_0x465324;for(var _0x3fa5ed=_0xc21501>0x1?void 0x0:_0xc21501?_0x4fe6dd(_0x12c353,_0x2fcd53):_0x12c353,_0x2464bc=_0x39debf[_0xc2ed95(0x223)]-0x1,_0x379a1a;_0x2464bc>=0x0;_0x2464bc--)(_0x379a1a=_0x39debf[_0x2464bc])&&(_0x3fa5ed=_0x379a1a(_0x3fa5ed)||_0x3fa5ed);return _0x3fa5ed;},_0x586a62=(_0x4f7f76,_0x32ac3a)=>(_0x197dc6,_0x200ce0)=>_0x32ac3a(_0x197dc6,_0x200ce0,_0x4f7f76);let _0x1d3eff=class extends _0x50247b['Disposable']{constructor(_0x5c190c,_0x2edebc,_0x50dce9,_0x11bbed,_0xb9d0d7,_0x41b5d1){const _0x4bcbe3=_0x465324;super(),this['_beforeCloseService']=_0x5c190c,this[_0x4bcbe3(0x20a)]=_0x2edebc,this[_0x4bcbe3(0x1b3)]=_0x50dce9,this[_0x4bcbe3(0x160)]=_0x11bbed,this[_0x4bcbe3(0xea)]=_0xb9d0d7,this[_0x4bcbe3(0x208)]=_0x41b5d1,this[_0x4bcbe3(0x135)](),this[_0x4bcbe3(0x297)]();}['_setupBeforeClosingHandler'](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x781403=_0x4c50;if(this[_0x781403(0x20a)][_0x781403(0x265)][_0x781403(0xed)])return this[_0x781403(0x208)]['t'](_0x781403(0x24a));}));}[_0x465324(0x297)](){const _0x374458=_0x465324;this[_0x374458(0x148)](this[_0x374458(0x1b3)][_0x374458(0x24d)][_0x374458(0x1a4)](_0x3d9f12=>{const _0x4096b2=_0x374458;_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x247)]&&this['_messageService']['show']({'type':_0x7c6d07[_0x4096b2(0xb5)]['Warning'],'content':this[_0x4096b2(0x208)]['t']('collaboration.single-unit.warning')}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId'][_0x4096b2(0x147)]&&this['_messageService'][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x286)],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x281))}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x21c)]&&this[_0x4096b2(0xea)]['show']({'title':this['_localeService']['t'](_0x4096b2(0x105)),'content':this[_0x4096b2(0x208)]['t']('permission.content'),'type':_0x4096b2(0x301),'duration':0x0}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x309)]&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07['MessageType'][_0x4096b2(0x2c6)],'content':this['_localeService']['t'](_0x4096b2(0x281))+'('+_0x3d9f12[_0x4096b2(0x163)]+')'}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x286)],'content':this[_0x4096b2(0x208)]['t'](_0x3d9f12[_0x4096b2(0x163)]||'')}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x156)]&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07['MessageType']['Warning'],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x2d7))}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x2c6)],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x2d9))}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x2c6)],'content':this[_0x4096b2(0x208)]['t']('session.collaboration-timeout')});}));}};_0x1d3eff=_0x5bcad4([_0x586a62(0x0,_0x4d3b42[_0x465324(0x178)]),_0x586a62(0x1,_0x40916b['ILocalCacheService']),_0x586a62(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0xd0)])),_0x586a62(0x3,_0x4d3b42[_0x465324(0x2a7)]),_0x586a62(0x4,_0x4d3b42[_0x465324(0xad)]),_0x586a62(0x5,_0x50247b['Inject'](_0x50247b[_0x465324(0x14b)]))],_0x1d3eff);const _0xd3869c=_0x465324(0x271),_0x5264a2={},_0x5cc1ef=_0x50247b[_0x465324(0x212)](_0x465324(0x19a));var _0x4e603f=Object['getOwnPropertyDescriptor'],_0x4b3b91=(_0x399f41,_0x41367a,_0x5ea62c,_0xd07985)=>{for(var _0x4e7b2a=_0xd07985>0x1?void 0x0:_0xd07985?_0x4e603f(_0x41367a,_0x5ea62c):_0x41367a,_0x7c4e49=_0x399f41['length']-0x1,_0x2511f9;_0x7c4e49>=0x0;_0x7c4e49--)(_0x2511f9=_0x399f41[_0x7c4e49])&&(_0x4e7b2a=_0x2511f9(_0x4e7b2a)||_0x4e7b2a);return _0x4e7b2a;},_0x1bbfdf=(_0x2b77bb,_0x6b15e6)=>(_0x3a96ad,_0x14d9ff)=>_0x6b15e6(_0x3a96ad,_0x14d9ff,_0x2b77bb);_0x17bc2c[_0x465324(0x2fa)]=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x29cea1,_0x32f098,_0x3cbaff,_0x44401e,_0x42d2f9){const _0x572553=_0x465324;super(),this[_0x572553(0x12b)]=_0x29cea1,this[_0x572553(0x287)]=_0x32f098,this[_0x572553(0x1aa)]=_0x3cbaff,this[_0x572553(0x320)]=_0x44401e,_0x42d2f9?_0x42d2f9==null||_0x42d2f9[_0x572553(0x128)]()[_0x572553(0x2ec)](()=>this[_0x572553(0x256)]()):(this[_0x572553(0x287)][_0x572553(0x200)](_0x572553(0xc7),_0x572553(0x144)),this['_init']());}async[_0x465324(0x256)](){const _0x366f91=_0x465324,_0xb713d5=this[_0x366f91(0x12b)]['getParam'](_0x366f91(0xfa)),_0x5710cc=this['_urlService'][_0x366f91(0x275)](_0x366f91(0x177)),_0x18f597=this[_0x366f91(0x12b)][_0x366f91(0x275)]('subunit');if(!_0xb713d5||!_0x5710cc){this['_logService'][_0x366f91(0x200)](_0x366f91(0xc7),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4733fb=await this[_0x366f91(0x320)][_0x366f91(0x328)](_0xb713d5,Number(_0x5710cc),_0x18f597);_0x4733fb&&_0x4733fb instanceof _0x50247b[_0x366f91(0x16c)]&&this['_setupSubUnitSync'](_0x4733fb);}async['_setupSubUnitSync'](_0x28e162){const _0x450c7e=_0x465324;await this['_updateSubUnitFromURLParams'](_0x28e162),_0x28e162[_0x450c7e(0x253)][_0x450c7e(0x29b)](_0x481311[_0x450c7e(0x14f)](this[_0x450c7e(0x312)]))['subscribe'](_0x449118=>{_0x449118&&this['_updateURLWithCurrentState'](_0x449118);}),this['_urlService']['urlChange$'][_0x450c7e(0x29b)](_0x481311[_0x450c7e(0x14f)](this[_0x450c7e(0x312)]))['subscribe'](()=>this[_0x450c7e(0xab)](_0x28e162));}['_updateURLWithCurrentState'](_0x40125e,_0x21bc7e=!0x1){const _0x40c5d4=_0x465324,_0x22beda=this['_urlService'][_0x40c5d4(0x275)](_0x40c5d4(0xff));_0x40125e['getSheetId']()!==_0x22beda&&this[_0x40c5d4(0x12b)]['setParam'](_0x40c5d4(0xff),_0x40125e[_0x40c5d4(0x97)](),_0x21bc7e);}async['_updateSubUnitFromURLParams'](_0x3beb34){const _0x15bca7=_0x465324;var _0x3c914d;const _0x364f17=this['_urlService'][_0x15bca7(0x275)](_0x15bca7(0xff));if(!_0x364f17||!_0x3beb34[_0x15bca7(0x2f2)](_0x364f17)){const _0x33e6af=_0x3beb34[_0x15bca7(0xcf)]()[0x0],_0x44b6b8=_0x3beb34[_0x15bca7(0x2f2)](_0x33e6af);if(!_0x44b6b8)return;this[_0x15bca7(0x1c2)](_0x44b6b8,!0x0),await this[_0x15bca7(0x1aa)][_0x15bca7(0x2ff)](_0x2db21a[_0x15bca7(0x2ed)]['id'],{'unitId':_0x3beb34['getUnitId'](),'subUnitId':_0x33e6af});return;}((_0x3c914d=_0x3beb34[_0x15bca7(0x16a)]())==null?void 0x0:_0x3c914d[_0x15bca7(0x97)]())!==_0x364f17&&await this[_0x15bca7(0x1aa)]['executeCommand'](_0x2db21a['SetWorksheetActivateCommand']['id'],{'unitId':_0x3beb34[_0x15bca7(0x324)](),'subUnitId':_0x364f17});}},_0x17bc2c[_0x465324(0x2fa)]=_0x4b3b91([_0x1bbfdf(0x0,_0x5cc1ef),_0x1bbfdf(0x1,_0x50247b[_0x465324(0xe4)]),_0x1bbfdf(0x2,_0x50247b['ICommandService']),_0x1bbfdf(0x3,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x2fc)])),_0x1bbfdf(0x4,_0x50247b['Optional'](_0x40e19a[_0x465324(0x162)]))],_0x17bc2c[_0x465324(0x2fa)]);var _0x3be9c9=Object['getOwnPropertyDescriptor'],_0x193981=(_0x541cd5,_0x5288eb,_0x47d8fb,_0x177ecf)=>{for(var _0x52d943=_0x177ecf>0x1?void 0x0:_0x177ecf?_0x3be9c9(_0x5288eb,_0x47d8fb):_0x5288eb,_0x1ead0f=_0x541cd5['length']-0x1,_0x5077c7;_0x1ead0f>=0x0;_0x1ead0f--)(_0x5077c7=_0x541cd5[_0x1ead0f])&&(_0x52d943=_0x5077c7(_0x52d943)||_0x52d943);return _0x52d943;},_0xdafbfd=(_0x54d66f,_0x50b445)=>(_0x455df8,_0x2035d9)=>_0x50b445(_0x455df8,_0x2035d9,_0x54d66f);let _0x5ad734=class{constructor(_0x2b9eea,_0x3d4ec0,_0x1e80c1){const _0x35ad43=_0x465324;this[_0x35ad43(0xe8)]=_0x2b9eea,this[_0x35ad43(0x20d)]=_0x3d4ec0,this[_0x35ad43(0x31b)]=_0x1e80c1;}['transformIMECache'](_0x1ad235){const _0x1a3c88=_0x465324;this['_transformUndoRedoStack'](_0x1ad235),this[_0x1a3c88(0x9b)](_0x1ad235);}[_0x465324(0xb7)](_0x3da29c){const _0x518855=_0x465324,{unitID:_0x527935}=_0x3da29c,_0x1d6691=this[_0x518855(0x31b)][_0x518855(0x323)](_0x527935)['with'](_0x2b2a5c['DocIMEInputManagerService']),{redoCache:_0x5c0b04}=_0x1d6691[_0x518855(0x1f0)]();if(_0x5c0b04[_0x518855(0x223)]===0x0)return _0x3da29c;let _0x2bb0b4=_0x50247b[_0x518855(0x1be)][_0x518855(0x270)](_0x3da29c[_0x518855(0x213)][0x0]);for(let _0x51780d=0x0;_0x51780d<_0x5c0b04['length'];_0x51780d++){const _0x448b13={'id':_0x518855(0x21e),'params':{..._0x5c0b04[_0x51780d]}},_0x1fd7e6=this[_0x518855(0x20d)][_0x518855(0xc2)](_0x2bb0b4,_0x448b13,!0x1);if(_0xaf0477[_0x518855(0x1a6)](_0x1fd7e6))throw _0x1fd7e6[_0x518855(0x301)];_0x2bb0b4=_0x1fd7e6['m1Prime'];}return{..._0x50247b['Tools'][_0x518855(0x270)](_0x3da29c),'mutations':[_0x2bb0b4]};}[_0x465324(0x125)](_0x493a93){const _0x310e0f=_0x465324,{unitID:_0x282be3}=_0x493a93,_0xb2c60c=this[_0x310e0f(0x31b)][_0x310e0f(0x323)](_0x282be3)['with'](_0x2b2a5c[_0x310e0f(0xd4)]),{undoCache:_0x2a1efb,redoCache:_0x132ea0}=_0xb2c60c['getUndoRedoMutationParamsCache']();if(_0x2a1efb[_0x310e0f(0x223)]===0x0||_0x132ea0[_0x310e0f(0x223)]===0x0)return;const _0x1ed0df=[],_0x5d0d2e=[];let _0x158640=_0x50247b[_0x310e0f(0x1be)]['deepClone'](_0x493a93[_0x310e0f(0x213)][0x0]),_0x1831c1=_0x50247b[_0x310e0f(0x1be)][_0x310e0f(0x270)](_0x493a93[_0x310e0f(0x213)][0x0]);for(let _0x2dfe22=_0x2a1efb[_0x310e0f(0x223)]-0x1;_0x2dfe22>=0x0;_0x2dfe22--){const _0x31273e={'id':_0x310e0f(0x21e),'params':{..._0x2a1efb[_0x2dfe22]}},_0x4d9501={'id':_0x310e0f(0x21e),'params':{..._0x132ea0[_0x2dfe22]}},_0xf732a=this[_0x310e0f(0x20d)][_0x310e0f(0xc2)](_0x158640,_0x31273e,!0x1),_0x4a4274=this[_0x310e0f(0x20d)][_0x310e0f(0xc2)](_0x1831c1,_0x4d9501,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0xf732a))throw _0xf732a[_0x310e0f(0x301)];if(_0xaf0477[_0x310e0f(0x1a6)](_0x4a4274))throw _0x4a4274[_0x310e0f(0x301)];_0x1ed0df['unshift'](_0xf732a[_0x310e0f(0x1e8)][_0x310e0f(0x176)]),_0x5d0d2e[_0x310e0f(0x310)](_0x4a4274['m2Prime'][_0x310e0f(0x176)]),_0x158640=_0xf732a[_0x310e0f(0xf7)],_0x1831c1=_0x4a4274['m1Prime'];}_0xb2c60c[_0x310e0f(0x23d)]({'undoCache':_0x1ed0df,'redoCache':_0x5d0d2e});}['_transformPreviousActiveRange'](_0x17b756){const _0x151dac=_0x465324,{unitID:_0x3a3cdb}=_0x17b756,_0x311399=this[_0x151dac(0x31b)]['getRenderById'](_0x3a3cdb)['with'](_0x2b2a5c['DocIMEInputManagerService']),_0x3df7e6=_0x311399['getActiveRange']();if(_0x3df7e6==null)return;const _0x489609=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17b756[_0x151dac(0x1a3)],'actions':null,'textRanges':[_0x3df7e6]}}],_0x252e59=this['_transformService'][_0x151dac(0x31a)](_0x17b756,_0x489609);if(!_0xaf0477[_0x151dac(0xa9)](_0x252e59))throw _0x252e59[_0x151dac(0x301)];const _0x347df8=_0x252e59['m2Prime'][0x0][_0x151dac(0x176)][_0x151dac(0x1f1)];Array[_0x151dac(0xf4)](_0x347df8)&&_0x347df8[_0x151dac(0x223)]&&_0x311399['setActiveRange'](_0x347df8[0x0]);}};_0x5ad734=_0x193981([_0xdafbfd(0x0,_0x50247b[_0x465324(0x15e)](_0x50247b['Injector'])),_0xdafbfd(0x1,_0xaf0477[_0x465324(0x30e)]),_0xdafbfd(0x2,_0x24e38c['IRenderManagerService'])],_0x5ad734);var _0xcb755b=Object[_0x465324(0x164)],_0x303e3f=(_0x192a2f,_0x2619e8,_0x44a37a,_0x466e45)=>{for(var _0x414984=_0x466e45>0x1?void 0x0:_0x466e45?_0xcb755b(_0x2619e8,_0x44a37a):_0x2619e8,_0x570234=_0x192a2f['length']-0x1,_0x278044;_0x570234>=0x0;_0x570234--)(_0x278044=_0x192a2f[_0x570234])&&(_0x414984=_0x278044(_0x414984)||_0x414984);return _0x414984;},_0x4693d4=(_0x162911,_0x28fd94)=>(_0x195fb8,_0x4302c6)=>_0x28fd94(_0x195fb8,_0x4302c6,_0x162911);let _0x2030ac=class{constructor(_0x3f35a8,_0x3a1ae4,_0x5b2b7c){const _0x301fe8=_0x465324;this[_0x301fe8(0xe8)]=_0x3f35a8,this[_0x301fe8(0x20d)]=_0x3a1ae4,this[_0x301fe8(0x29d)]=_0x5b2b7c;}[_0x465324(0x142)](_0x2d6010){this['_transformHistoryAndStateStack'](_0x2d6010);}['transformRemoteChangeset'](_0x50c9c1){const _0x2fee4d=_0x465324,{unitID:_0x2f412e}=_0x50c9c1,{collaboration:_0x2f8bfd}=this[_0x2fee4d(0x29d)][_0x2fee4d(0x159)](_0x2f412e);if(_0x2f8bfd[_0x2fee4d(0x223)]===0x0)return _0x50c9c1;let _0x21174e=_0x50247b[_0x2fee4d(0x1be)][_0x2fee4d(0x270)](_0x50c9c1[_0x2fee4d(0x213)][0x0]);for(let _0x107fd=0x0;_0x107fd<_0x2f8bfd[_0x2fee4d(0x223)];_0x107fd++){const _0x5ea303={'id':_0x2fee4d(0x21e),'params':{'unitId':_0x2f8bfd[_0x107fd][_0x2fee4d(0x107)],..._0x2f8bfd[_0x107fd][_0x2fee4d(0x260)]}},_0x4eee03=this['_transformService'][_0x2fee4d(0xc2)](_0x21174e,_0x5ea303,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0x4eee03))throw _0x4eee03[_0x2fee4d(0x301)];_0x21174e=_0x4eee03[_0x2fee4d(0xf7)];}return{..._0x50247b[_0x2fee4d(0x1be)][_0x2fee4d(0x270)](_0x50c9c1),'mutations':[_0x21174e]};}[_0x465324(0x2d6)](_0x34decb){const _0x4418fb=_0x465324,{unitID:_0xe06a51}=_0x34decb,{history:_0x5c087f,collaboration:_0x52d82c}=this[_0x4418fb(0x29d)][_0x4418fb(0x159)](_0xe06a51);if(_0x5c087f[_0x4418fb(0x223)]===0x0&&_0x52d82c[_0x4418fb(0x223)]===0x0)return;const _0xcdbdd9=[],_0x561300=[];let _0x287ae3=_0x50247b['Tools'][_0x4418fb(0x270)](_0x34decb[_0x4418fb(0x213)][0x0]),_0x10d66b=_0x50247b[_0x4418fb(0x1be)]['deepClone'](_0x34decb['mutations'][0x0]);for(let _0x369824=_0x5c087f[_0x4418fb(0x223)]-0x1;_0x369824>=0x0;_0x369824--){const _0x329b12={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c087f[_0x369824]['unitId'],..._0x5c087f[_0x369824]['undoState']}},_0x412337={'id':_0x4418fb(0x21e),'params':{'unitId':_0x5c087f[_0x369824]['unitId'],..._0x5c087f[_0x369824][_0x4418fb(0x260)]}},_0x3a4021=this['_transformService'][_0x4418fb(0xc2)](_0x287ae3,_0x329b12,!0x1),_0x1fad11=this[_0x4418fb(0x20d)][_0x4418fb(0xc2)](_0x10d66b,_0x412337,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0x3a4021))throw _0x3a4021[_0x4418fb(0x301)];if(_0xaf0477[_0x4418fb(0x1a6)](_0x1fad11))throw _0x1fad11[_0x4418fb(0x301)];_0xcdbdd9['unshift']({..._0x5c087f[_0x369824],'undoState':_0x3a4021['m2Prime'][_0x4418fb(0x176)],'redoState':_0x1fad11['m2Prime'][_0x4418fb(0x176)]}),_0x287ae3=_0x3a4021[_0x4418fb(0xf7)],_0x10d66b=_0x1fad11[_0x4418fb(0xf7)];}_0x287ae3=_0x50247b[_0x4418fb(0x1be)][_0x4418fb(0x270)](_0x34decb['mutations'][0x0]),_0x10d66b=_0x50247b[_0x4418fb(0x1be)][_0x4418fb(0x270)](_0x34decb[_0x4418fb(0x213)][0x0]);for(let _0x3565ec=_0x52d82c[_0x4418fb(0x223)]-0x1;_0x3565ec>=0x0;_0x3565ec--){const _0xd856a4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52d82c[_0x3565ec][_0x4418fb(0x107)],..._0x52d82c[_0x3565ec]['undoState']}},_0x4d89df={'id':_0x4418fb(0x21e),'params':{'unitId':_0x52d82c[_0x3565ec][_0x4418fb(0x107)],..._0x52d82c[_0x3565ec]['redoState']}},_0x5c391f=this['_transformService']['transformMutation'](_0x287ae3,_0xd856a4,!0x1),_0x4e9dc9=this[_0x4418fb(0x20d)][_0x4418fb(0xc2)](_0x10d66b,_0x4d89df,!0x1);if(_0xaf0477[_0x4418fb(0x1a6)](_0x5c391f))throw _0x5c391f[_0x4418fb(0x301)];if(_0xaf0477[_0x4418fb(0x1a6)](_0x4e9dc9))throw _0x4e9dc9[_0x4418fb(0x301)];_0x561300[_0x4418fb(0x310)]({..._0x52d82c[_0x3565ec],'undoState':_0x5c391f['m2Prime'][_0x4418fb(0x176)],'redoState':_0x4e9dc9[_0x4418fb(0x1e8)][_0x4418fb(0x176)]}),_0x287ae3=_0x5c391f[_0x4418fb(0xf7)],_0x10d66b=_0x4e9dc9['m1Prime'];}this[_0x4418fb(0x29d)]['setStateCache'](_0xe06a51,{'history':_0xcdbdd9,'collaboration':_0x561300});}};_0x2030ac=_0x303e3f([_0x4693d4(0x0,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x4693d4(0x1,_0xaf0477[_0x465324(0x30e)]),_0x4693d4(0x2,_0x50247b[_0x465324(0x15e)](_0x2b2a5c[_0x465324(0x186)]))],_0x2030ac);var _0x30efee=Object[_0x465324(0x164)],_0x19dc28=(_0x930b1e,_0x3f942e,_0x22f29c,_0x4ebd5f)=>{const _0xdafbb0=_0x465324;for(var _0x8d2d38=_0x4ebd5f>0x1?void 0x0:_0x4ebd5f?_0x30efee(_0x3f942e,_0x22f29c):_0x3f942e,_0x5b759b=_0x930b1e[_0xdafbb0(0x223)]-0x1,_0x69a172;_0x5b759b>=0x0;_0x5b759b--)(_0x69a172=_0x930b1e[_0x5b759b])&&(_0x8d2d38=_0x69a172(_0x8d2d38)||_0x8d2d38);return _0x8d2d38;},_0x3f87b8=(_0x35ce0f,_0x34a9b3)=>(_0x1b3d56,_0x11abfe)=>_0x34a9b3(_0x1b3d56,_0x11abfe,_0x35ce0f);let _0x262500=class{constructor(_0x27decf,_0x24b6a0){const _0x572aba=_0x465324;this[_0x572aba(0xe8)]=_0x27decf,this[_0x572aba(0x20d)]=_0x24b6a0;}[_0x465324(0x27a)](_0x4e368d){const _0x17df57=_0x465324;var _0x4988b6;const _0x1bdc92=this[_0x17df57(0xe8)][_0x17df57(0x2d8)](_0x2136d0[_0x17df57(0x248)]),_0x2a4502=(_0x4988b6=_0x1bdc92[_0x17df57(0x17f)]())!=null?_0x4988b6:[];if(_0x2a4502['length']===0x0)return;const _0x417546=_0x4e368d[_0x17df57(0x1a3)],_0x49347f=[{'id':_0x17df57(0x21e),'params':{'unitId':_0x417546,'actions':null,'textRanges':_0x2a4502}}],_0x5a30a3=this[_0x17df57(0x20d)][_0x17df57(0x31a)](_0x4e368d,_0x49347f);if(!_0xaf0477[_0x17df57(0xa9)](_0x5a30a3))throw _0x5a30a3[_0x17df57(0x301)];const _0x3461b1=_0x5a30a3['m2Prime'][0x0][_0x17df57(0x176)]['textRanges'];Array['isArray'](_0x3461b1)&&_0x3461b1[_0x17df57(0x223)]&&_0x1bdc92[_0x17df57(0x1ce)](_0x3461b1,{'unitId':_0x417546,'subUnitId':_0x417546},!0x1);}};_0x262500=_0x19dc28([_0x3f87b8(0x0,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x3f87b8(0x1,_0xaf0477['ITransformService'])],_0x262500);var _0x58be09=Object['getOwnPropertyDescriptor'],_0x53386d=(_0xef565e,_0x36c0fb,_0x26607c,_0x30d843)=>{const _0x33f591=_0x465324;for(var _0x25bba3=_0x30d843>0x1?void 0x0:_0x30d843?_0x58be09(_0x36c0fb,_0x26607c):_0x36c0fb,_0x6ca619=_0xef565e[_0x33f591(0x223)]-0x1,_0xd12c37;_0x6ca619>=0x0;_0x6ca619--)(_0xd12c37=_0xef565e[_0x6ca619])&&(_0x25bba3=_0xd12c37(_0x25bba3)||_0x25bba3);return _0x25bba3;},_0xe976b=(_0x5f2d7c,_0x13e2a2)=>(_0x34f861,_0x2fca49)=>_0x13e2a2(_0x34f861,_0x2fca49,_0x5f2d7c);let _0x31a3d6=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x538fc1,_0x50b21e,_0x1f9f13,_0x30853e,_0x56ad54,_0x5ee54b,_0x323534,_0x15c33e){const _0x45b7f7=_0x465324;super(),_0x2f0564(this,_0x45b7f7(0x1c4),new _0x481311['BehaviorSubject'](_0x40916b['CollaborationStatus'][_0x45b7f7(0x184)])),(this['_docStateChangeManagerService']=_0x538fc1,this['_collaborationController']=_0x50b21e,this[_0x45b7f7(0x118)]=_0x1f9f13,this[_0x45b7f7(0x1ba)]=_0x30853e,this[_0x45b7f7(0xce)]=_0x56ad54,this[_0x45b7f7(0x2a2)]=_0x5ee54b,this['_messageService']=_0x323534,this[_0x45b7f7(0x208)]=_0x15c33e,this[_0x45b7f7(0x2ee)]());}['_initEntityListener'](){const _0xc4bf01=_0x465324;this[_0xc4bf01(0x148)](this[_0xc4bf01(0x188)][_0xc4bf01(0x1d8)][_0xc4bf01(0x1a4)](_0x553bd3=>{const _0x39a149=_0xc4bf01,_0x3298f4=this[_0x39a149(0x29d)][_0x39a149(0x30b)][_0x39a149(0x1a4)](_0xa03453=>{const _0x547513=_0x39a149;if(_0xa03453==null)return;const {unitId:_0xdcd809,redoState:_0x1ac1c3,commandId:_0x1abdbf}=_0xa03453;if(_0xdcd809!==_0x553bd3[_0x547513(0x1a3)])return;const _0x221cca={'id':_0x1abdbf,'type':_0x50247b[_0x547513(0x22d)][_0x547513(0x307)],'params':{'unitId':_0xdcd809,'actions':_0x1ac1c3['actions'],'textRanges':null}};_0x553bd3[_0x547513(0xa5)](_0x221cca);});if(_0x553bd3[_0x39a149(0x148)](_0x3298f4),_0x553bd3 instanceof _0x40916b[_0x39a149(0x2ea)]){const _0x1c740f={'onTransformIME':_0x81dabf=>this[_0x39a149(0x118)]['transformIMECache'](_0x81dabf),'onTransformState':_0x5e716c=>this['_docTransformStateCacheService'][_0x39a149(0x142)](_0x5e716c),'onTransformSelections':_0xacc144=>this['_docTransformSelectionsService'][_0x39a149(0x27a)](_0xacc144),'onSyncEditingCollabCursor':_0x377d71=>this[_0x39a149(0x2a2)][_0x39a149(0x1d3)](_0x377d71),'onTransformRemoteChangesetByIMECache':_0x30ca78=>this[_0x39a149(0x118)][_0x39a149(0xb7)](_0x30ca78),'onTransformRemoteChangesetByStateCache':_0x131bec=>this['_docTransformStateCacheService'][_0x39a149(0xb7)](_0x131bec)};_0x553bd3['addHandlerCallback'](_0x1c740f);}}));}};_0x31a3d6=_0x53386d([_0xe976b(0x0,_0x50247b[_0x465324(0x15e)](_0x2b2a5c[_0x465324(0x186)])),_0xe976b(0x1,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x1ed)])),_0xe976b(0x2,_0x50247b[_0x465324(0x15e)](_0x5ad734)),_0xe976b(0x3,_0x50247b[_0x465324(0x15e)](_0x2030ac)),_0xe976b(0x4,_0x50247b['Inject'](_0x262500)),_0xe976b(0x5,_0x50247b[_0x465324(0x15e)](_0x100092)),_0xe976b(0x6,_0x4d3b42['IMessageService']),_0xe976b(0x7,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x14b)]))],_0x31a3d6);var _0x5a5819=Object[_0x465324(0x164)],_0x21fb78=(_0x319c21,_0x553ed6,_0x5c6951,_0x1cbf03)=>{const _0x5f5a7b=_0x465324;for(var _0x5686fd=_0x1cbf03>0x1?void 0x0:_0x1cbf03?_0x5a5819(_0x553ed6,_0x5c6951):_0x553ed6,_0x11192c=_0x319c21[_0x5f5a7b(0x223)]-0x1,_0x45cca8;_0x11192c>=0x0;_0x11192c--)(_0x45cca8=_0x319c21[_0x11192c])&&(_0x5686fd=_0x45cca8(_0x5686fd)||_0x5686fd);return _0x5686fd;},_0x5b9844=(_0x17663d,_0x4be951)=>(_0xdfa445,_0x40be90)=>_0x4be951(_0xdfa445,_0x40be90,_0x17663d);let _0x37dc1e=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x23b44a,_0x2f0b58,_0x131ff1){const _0x2fbe59=_0x465324;super(),_0x2f0564(this,_0x2fbe59(0x138),new Map()),_0x2f0564(this,_0x2fbe59(0x217),new Map()),_0x2f0564(this,_0x2fbe59(0x20f),!0x1),(this[_0x2fbe59(0x1d9)]=_0x23b44a,this[_0x2fbe59(0x24b)]=_0x2f0b58,this['_revisionService']=_0x131ff1);}[_0x465324(0x1a1)](){const _0xf24351=_0x465324;this[_0xf24351(0x20f)]=!0x0;}[_0x465324(0x242)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x511850=_0x465324;return this[_0x511850(0x217)];}['dispose'](){const _0x2cd36d=_0x465324;this[_0x2cd36d(0x1ac)]()['then'](()=>super['dispose']());}async[_0x465324(0x14c)](_0x216105){const _0x5313e0=_0x465324;return this[_0x5313e0(0x20f)]?null:this['_localStorageService'][_0x5313e0(0x108)](_0x40916b[_0x5313e0(0x2a9)](_0x216105));}async[_0x465324(0x13d)](_0xe373f0,_0x58bd3e){return!!this['_localStorageService']['setItem'](_0xe373f0,_0x58bd3e);}[_0x465324(0x2ef)](_0x687fef,_0x3c01c5,_0x56ac55,_0x1e5af2){const _0x5e54ec=_0x465324,_0x48ef4a=this['_revisionService'][_0x5e54ec(0xc8)](_0x687fef);this['_cachedData']['set'](_0x687fef,{'unitID':_0x687fef,'type':_0x3c01c5,'awaitingChangeset':_0x56ac55,'mutations':_0x1e5af2,'rev':_0x48ef4a}),this[_0x5e54ec(0x217)]['has'](_0x687fef)||this['_scheduleSaving'](_0x687fef);}[_0x465324(0x199)](_0x6520f3){const _0x3c3037=_0x465324,_0x3dbd75=this['_getSaveTimeout']();_0x3dbd75===0x0?this[_0x3c3037(0x1de)](_0x6520f3):this[_0x3c3037(0x217)]['set'](_0x6520f3,setTimeout(()=>this[_0x3c3037(0x1de)](_0x6520f3),_0x3dbd75));}[_0x465324(0x194)](){const _0x3406cd=_0x465324;var _0x2677f5;return(_0x2677f5=this[_0x3406cd(0x1d9)][_0x3406cd(0x1db)](_0x40916b[_0x3406cd(0x296)]))!=null?_0x2677f5:_0x40916b[_0x3406cd(0x1fe)];}[_0x465324(0x1de)](_0xd35d6e){const _0x5ac2d4=_0x465324,_0x4fb6ef=this['_saveTaskMap']['get'](_0xd35d6e);return _0x4fb6ef!==void 0x0&&window[_0x5ac2d4(0x300)](_0x4fb6ef),this[_0x5ac2d4(0x24b)]['setItem'](_0x40916b[_0x5ac2d4(0x2a9)](_0xd35d6e),this['_cachedData'][_0x5ac2d4(0x2d8)](_0xd35d6e))[_0x5ac2d4(0x2ec)](()=>this[_0x5ac2d4(0x217)][_0x5ac2d4(0x2bf)](_0xd35d6e));}async['exhaustSavingTask'](){const _0x380a75=_0x465324,_0x3b053b=[];this[_0x380a75(0x217)]['forEach']((_0x53307a,_0x570025)=>{const _0x4b15b1=_0x380a75;window[_0x4b15b1(0x300)](_0x53307a),_0x3b053b[_0x4b15b1(0xc3)](this['_saveCache'](_0x570025)[_0x4b15b1(0x2ec)](()=>{const _0x2694ab=_0x4b15b1;this[_0x2694ab(0x217)][_0x2694ab(0x2bf)](_0x570025);}));}),await Promise[_0x380a75(0x98)](_0x3b053b);}};_0x37dc1e=_0x21fb78([_0x5b9844(0x0,_0x50247b[_0x465324(0x2d5)]),_0x5b9844(0x1,_0x50247b[_0x465324(0x2db)]),_0x5b9844(0x2,_0x50247b['Inject'](_0xaf0477['RevisionService']))],_0x37dc1e);class _0x18d761 extends _0x50247b[_0x465324(0x16f)]{constructor(){const _0xf5b155=_0x465324;super(),_0x2f0564(this,_0xf5b155(0xe2)),this['urlChange$']=_0x481311[_0xf5b155(0x31d)](window,'popstate')[_0xf5b155(0x29b)](_0x481311[_0xf5b155(0x14f)](this[_0xf5b155(0x312)]),_0x481311['shareReplay'](0x1),_0x481311[_0xf5b155(0x145)](void 0x0));}[_0x465324(0x169)](_0x136156,_0x16feae,_0x32f514=!0x1){const _0x5d8bdb=_0x465324,_0x19c8a6=new URL(window[_0x5d8bdb(0x13b)]['href']);_0x19c8a6[_0x5d8bdb(0x11d)][_0x5d8bdb(0x154)](_0x136156,_0x16feae),_0x32f514?window[_0x5d8bdb(0x222)]['replaceState']('','',_0x19c8a6[_0x5d8bdb(0x255)]()):window[_0x5d8bdb(0x222)][_0x5d8bdb(0x28c)]('','',_0x19c8a6['toString']());}['removeParam'](_0x436da8,_0x4efc61=!0x1){const _0x50ad4d=_0x465324,_0x404e71=new URL(window[_0x50ad4d(0x13b)][_0x50ad4d(0x1d4)]);_0x404e71[_0x50ad4d(0x11d)][_0x50ad4d(0x2bf)](_0x436da8),_0x4efc61?window[_0x50ad4d(0x222)][_0x50ad4d(0xbf)]('','',_0x404e71['toString']()):window['history'][_0x50ad4d(0x28c)]('','',_0x404e71[_0x50ad4d(0x255)]());}[_0x465324(0x275)](_0x39f0a1){const _0x4dc4fe=_0x465324;var _0x303972;return(_0x303972=new URL(window[_0x4dc4fe(0x13b)][_0x4dc4fe(0x1d4)])['searchParams'][_0x4dc4fe(0x2d8)](_0x39f0a1))!=null?_0x303972:void 0x0;}}var _0x1b64c7=Object['defineProperty'],_0x1ed1d3=Object[_0x465324(0x164)],_0xa50f71=(_0x1416c9,_0x48b7e8,_0x2272d0)=>_0x48b7e8 in _0x1416c9?_0x1b64c7(_0x1416c9,_0x48b7e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2272d0}):_0x1416c9[_0x48b7e8]=_0x2272d0,_0x29e0cb=(_0x477e40,_0x55a818,_0x174143,_0x3a747b)=>{const _0x45df9c=_0x465324;for(var _0x383bb6=_0x3a747b>0x1?void 0x0:_0x3a747b?_0x1ed1d3(_0x55a818,_0x174143):_0x55a818,_0x1c64d7=_0x477e40[_0x45df9c(0x223)]-0x1,_0x1af2e1;_0x1c64d7>=0x0;_0x1c64d7--)(_0x1af2e1=_0x477e40[_0x1c64d7])&&(_0x383bb6=_0x1af2e1(_0x383bb6)||_0x383bb6);return _0x383bb6;},_0x3c5565=(_0x34dcc7,_0x46213a)=>(_0x245da9,_0x597200)=>_0x46213a(_0x245da9,_0x597200,_0x34dcc7),_0x1f057a=(_0x33ee08,_0x20487f,_0x3d8c4e)=>_0xa50f71(_0x33ee08,_0x20487f+'',_0x3d8c4e);const _0x472ff9='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x17bc2c[_0x465324(0x18a)]=class extends _0x50247b[_0x465324(0xe9)]{constructor(_0x507cd1=_0x5264a2,_0x318bdc,_0x2c70a6,_0xf45b13){const _0x498d49=_0x465324;super(),this['_config']=_0x507cd1,this['_renderManagerService']=_0x318bdc,this[_0x498d49(0xe8)]=_0x2c70a6,this['_configService']=_0xf45b13;const {..._0x5f2420}=_0x50247b[_0x498d49(0x2be)]({},_0x5264a2,this[_0x498d49(0x2c0)]);this['_configService']['setConfig'](_0xd3869c,_0x5f2420);}['onStarting'](){const _0x222003=_0x465324;this[_0x222003(0xf6)](),this['_initDependencies']();}[_0x465324(0x15c)](){const _0x1e4a6f=_0x465324;this[_0x1e4a6f(0x1b2)]();}[_0x465324(0xf6)](){const _0x12b407=_0x465324;var _0x45085a;const _0x3ff508=[[_0x20e9cb],[_0x262500],[_0x5ad734],[_0x2030ac],[_0x100092],[_0x5cc1ef,{'useClass':_0x18d761}],[_0x4c764b[_0x12b407(0x21d)],{'useClass':_0x4c764b['WebSocketService']}],[_0x40916b[_0x12b407(0x1e6)],{'useClass':_0x37dc1e}],[_0x17bc2c['DesktopCollaborationStatusDisplayController']],[_0x31a3d6],[_0x1d3eff],[_0x565865],[_0xd53509],[_0x17bc2c[_0x12b407(0x2fa)]]];_0x50247b[_0x12b407(0x2b2)](this[_0x12b407(0xe8)],_0x50247b['mergeOverrideWithDependencies'](_0x3ff508,(_0x45085a=this['_config'])==null?void 0x0:_0x45085a[_0x12b407(0x1ae)]));}[_0x465324(0x1b2)](){const _0x6e288a=_0x465324;this[_0x6e288a(0x148)](this[_0x6e288a(0x31b)][_0x6e288a(0x10b)](_0x50247b[_0x6e288a(0x319)][_0x6e288a(0x18b)],[_0x8254e1])),this['disposeWithMe'](this[_0x6e288a(0x31b)][_0x6e288a(0x10b)](_0x50247b[_0x6e288a(0x319)][_0x6e288a(0xdb)],[_0x250f25]));}['_initDependencies'](){const _0x53300e=_0x465324;_0x50247b[_0x53300e(0x276)](this[_0x53300e(0xe8)],[[_0x565865],[_0x17bc2c[_0x53300e(0x2f3)]],[_0x31a3d6],[_0x1d3eff],[_0x17bc2c[_0x53300e(0x2fa)]]]);}},_0x1f057a(_0x17bc2c[_0x465324(0x18a)],_0x465324(0x314),_0x472ff9),_0x17bc2c[_0x465324(0x18a)]=_0x29e0cb([_0x50247b['DependentOn'](_0x40916b[_0x465324(0x1f2)]),_0x3c5565(0x1,_0x24e38c[_0x465324(0x203)]),_0x3c5565(0x2,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x104)])),_0x3c5565(0x3,_0x50247b[_0x465324(0x2d5)])],_0x17bc2c[_0x465324(0x18a)]);var _0x42ca13=Object[_0x465324(0x164)],_0x118c04=(_0x299124,_0x2208e9,_0x18e7c4,_0x1e05a3)=>{const _0x2af557=_0x465324;for(var _0x5c3eaa=_0x1e05a3>0x1?void 0x0:_0x1e05a3?_0x42ca13(_0x2208e9,_0x18e7c4):_0x2208e9,_0x2e4184=_0x299124[_0x2af557(0x223)]-0x1,_0x329790;_0x2e4184>=0x0;_0x2e4184--)(_0x329790=_0x299124[_0x2e4184])&&(_0x5c3eaa=_0x329790(_0x5c3eaa)||_0x5c3eaa);return _0x5c3eaa;},_0x16e65a=(_0x206b13,_0x54a6a5)=>(_0x5b5661,_0x1c0ec1)=>_0x54a6a5(_0x5b5661,_0x1c0ec1,_0x206b13);_0x17bc2c[_0x465324(0x26d)]=class extends _0x40916b[_0x465324(0x1b0)]{constructor(_0x34116d,_0x58ad0b,_0x12d087,_0x4dce0c,_0xf16382){super(_0x34116d,_0x58ad0b,_0x12d087,_0x4dce0c,_0xf16382);}async['createSocket'](_0x193ecb){const _0x1c8ea1=_0x465324,_0x290004=await this[_0x1c8ea1(0x2cd)](),_0x28a62a=this['_createSocketURL'](_0x193ecb,_0x290004);return this[_0x1c8ea1(0x1b6)](_0x28a62a);}[_0x465324(0x179)](_0xe2040b,_0x5c2ce2){const _0x5b062e=_0x465324,_0xf234b0=typeof window>'u'?new URL(_0xe2040b):new URL(_0xe2040b,window[_0x5b062e(0x13b)][_0x5b062e(0x292)]);_0xf234b0[_0x5b062e(0x11d)][_0x5b062e(0x154)](_0x5b062e(0x1e3),_0x5c2ce2);const _0x29502f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5b062e(0x1e2)]);return _0x29502f['get'](_0x5b062e(0x254))&&_0xf234b0['searchParams'][_0x5b062e(0x154)]('runId',_0x29502f['get'](_0x5b062e(0x254))),_0xf234b0[_0x5b062e(0x255)]();}async[_0x465324(0x2cd)](){const _0x12d76e=_0x465324;var _0x5bb32d,_0x1a5bac,_0x4c1d38;const _0xd8b336=this[_0x12d76e(0x1d9)]['getConfig'](_0x40916b[_0x12d76e(0x230)]),_0x3edd90=(_0x5bb32d=_0xd8b336==null?void 0x0:_0xd8b336[_0x12d76e(0x30d)])!=null?_0x5bb32d:_0x40916b[_0x12d76e(0x1dc)];return(_0x4c1d38=(_0x1a5bac=(await this['_httpService']['get'](_0x3edd90,{'headers':{'Content-Type':_0x12d76e(0xb1)}}))['body'])==null?void 0x0:_0x1a5bac[_0x12d76e(0x2ae)])!=null?_0x4c1d38:'';}},_0x17bc2c[_0x465324(0x26d)]=_0x118c04([_0x16e65a(0x0,_0x50247b['Inject'](_0x50247b['Injector'])),_0x16e65a(0x1,_0x50247b[_0x465324(0x15e)](_0x4c764b['HTTPService'])),_0x16e65a(0x2,_0x50247b[_0x465324(0x2d5)]),_0x16e65a(0x3,_0x50247b['ILogService']),_0x16e65a(0x4,_0xaf0477[_0x465324(0xd5)])],_0x17bc2c[_0x465324(0x26d)]);const _0x5a96a0=0x7530,_0x88df09=_0x465324(0x11c);class _0x3d768f extends _0x50247b[_0x465324(0x1e1)]{constructor(){const _0x234572=_0x465324;super(),_0x2f0564(this,_0x234572(0x2df),_0x50247b['generateRandomId']()),_0x2f0564(this,'_selfUnitIDs',new Set()),_0x2f0564(this,_0x234572(0x304),new Map()),_0x2f0564(this,_0x234572(0x1fd),null),_0x2f0564(this,'_clearOtherTimers',new Map()),_0x2f0564(this,'_unitStatus',new Map()),this[_0x234572(0x256)]();}[_0x465324(0xc1)](){const _0x1d74d9=_0x465324;super['dispose'](),this[_0x1d74d9(0x240)][_0x1d74d9(0x134)]((_0x22138f,_0xadff4d)=>this[_0x1d74d9(0x2e9)](_0xadff4d)),this['_heartbeatTimer']&&window[_0x1d74d9(0x229)](this[_0x1d74d9(0x1fd)]);}[_0x465324(0x196)](_0x27b349){const _0x3276c6=_0x465324;return this['_ensureSubject'](_0x27b349)[_0x3276c6(0x29b)](_0x481311[_0x3276c6(0x13f)]());}[_0x465324(0x23a)](_0x268be6){const _0x4b22cf=_0x465324;this['_selfUnitIDs'][_0x4b22cf(0xed)]===0x0&&this[_0x4b22cf(0x1e5)](),this[_0x4b22cf(0x232)][_0x4b22cf(0x246)](_0x268be6),this[_0x4b22cf(0x2e4)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x268be6],'isForwarded':!0x1});}[_0x465324(0x205)](_0x33c69){const _0x2b1d79=_0x465324;this['_selfUnitIDs'][_0x2b1d79(0x2bf)](_0x33c69),this['_selfUnitIDs'][_0x2b1d79(0xed)]===0x0&&this[_0x2b1d79(0x1fd)]&&window[_0x2b1d79(0x229)](this['_heartbeatTimer']);}[_0x465324(0x256)](){const _0x43f6a7=_0x465324;this[_0x43f6a7(0x148)](_0x50247b[_0x43f6a7(0xf0)](_0x481311[_0x43f6a7(0x31d)](window,_0x43f6a7(0x1eb))[_0x43f6a7(0x1a4)](_0x376bfd=>{const _0x31a51a=_0x43f6a7;if(_0x376bfd[_0x31a51a(0x2a1)]!==_0x88df09||!_0x376bfd[_0x31a51a(0xb2)])return;const _0x2103a8=JSON['parse'](_0x376bfd[_0x31a51a(0xb2)]);this['_handleEvent'](_0x2103a8);}))),window[_0x43f6a7(0xd6)](_0x43f6a7(0x2f4),()=>this[_0x43f6a7(0x2e4)]({'type':0x1,'memberID':this[_0x43f6a7(0x2df)],'unitIDs':Array[_0x43f6a7(0x279)](this[_0x43f6a7(0x232)])}));}[_0x465324(0x140)](_0x2a5403){const _0x5d9fbc=_0x465324;switch(_0x2a5403[_0x5d9fbc(0x177)]){case 0x0:this['_handleJoinEvent'](_0x2a5403);break;case 0x1:this[_0x5d9fbc(0x16d)](_0x2a5403);break;case 0x2:this[_0x5d9fbc(0x26c)](_0x2a5403);break;}}[_0x465324(0xc6)](_0x57d682){const _0x567e21=_0x465324,{unitIDs:_0x41809c,memberID:_0x5ddf73,isForwarded:_0x306d30}=_0x57d682;_0x41809c['forEach'](_0xabf08d=>{const _0x2cb11c=_0x4c50;if(!_0x306d30&&this[_0x2cb11c(0x304)][_0x2cb11c(0xfd)](_0xabf08d)&&this['_ensureSubject'](_0xabf08d)['next'](_0x40916b['UnitStatus'][_0x2cb11c(0xaf)]),!this[_0x2cb11c(0x304)][_0x2cb11c(0xfd)](_0xabf08d)||!this[_0x2cb11c(0x304)][_0x2cb11c(0x2d8)](_0xabf08d)['has'](_0x5ddf73)){const _0x1c2ae8=this['_unitOnClients'][_0x2cb11c(0x2d8)](_0xabf08d)||new Set();_0x1c2ae8[_0x2cb11c(0x246)](_0x5ddf73),this['_unitOnClients'][_0x2cb11c(0x154)](_0xabf08d,_0x1c2ae8),this[_0x2cb11c(0x290)](_0x5ddf73);}}),_0x306d30||this[_0x567e21(0x2e4)]({'type':0x0,'memberID':this[_0x567e21(0x2df)],'unitIDs':[...this[_0x567e21(0x232)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x74f8be){const _0x19aa14=_0x465324;this[_0x19aa14(0x2e9)](_0x74f8be);const _0x3761cf=window[_0x19aa14(0x327)](()=>{this['_unitOnClients']['forEach'](_0x40a1a7=>{_0x40a1a7['delete'](_0x74f8be);});},_0x5a96a0*0x2);this[_0x19aa14(0x240)]['set'](_0x74f8be,_0x3761cf);}['_removeClearOtherTimer'](_0x1149f3){const _0x2ae061=_0x465324;if(this[_0x2ae061(0x240)]['has'](_0x1149f3)){const _0x12cb6a=this[_0x2ae061(0x240)][_0x2ae061(0x2d8)](_0x1149f3);_0x12cb6a&&window[_0x2ae061(0x300)](_0x12cb6a),this['_clearOtherTimers'][_0x2ae061(0x154)](_0x1149f3,null);}}[_0x465324(0x16d)](_0xa6bf03){const _0x104983=_0x465324,{memberID:_0x46b630,unitIDs:_0x310a22}=_0xa6bf03;_0x310a22[_0x104983(0x134)](_0x231660=>{const _0x1e7351=_0x104983;var _0x22e1f6;const _0x4ad9e1=this['_unitOnClients'][_0x1e7351(0x2d8)](_0x231660);_0x4ad9e1&&(_0x4ad9e1[_0x1e7351(0x2bf)](_0x46b630),(_0x22e1f6=this[_0x1e7351(0x245)](_0x231660))==null||_0x22e1f6['next'](_0x4ad9e1['size']===0x0?_0x40916b['UnitStatus'][_0x1e7351(0x1ca)]:_0x40916b[_0x1e7351(0x26b)][_0x1e7351(0xaf)]));}),this[_0x104983(0x2e9)](_0x46b630);}[_0x465324(0x26c)](_0x370eee){const _0x13e916=_0x465324;this[_0x13e916(0x290)](_0x370eee[_0x13e916(0x9f)]);}[_0x465324(0x2e4)](_0x2b6af1){const _0xe4f427=_0x465324;localStorage[_0xe4f427(0x94)](_0x88df09,JSON[_0xe4f427(0x30c)](_0x2b6af1));}['_scheduleHeartbeat'](){const _0x4def11=_0x465324;this[_0x4def11(0x1fd)]=window[_0x4def11(0x1f8)](()=>{const _0x391040=_0x4def11;this[_0x391040(0x2e4)]({'type':0x2,'memberID':this['_id']});},_0x5a96a0);}[_0x465324(0x245)](_0x198549){const _0x9b2c23=_0x465324;return this[_0x9b2c23(0x284)]['has'](_0x198549)||this['_unitStatus']['set'](_0x198549,new _0x481311['BehaviorSubject'](_0x40916b[_0x9b2c23(0x26b)][_0x9b2c23(0x1ca)])),this[_0x9b2c23(0x284)][_0x9b2c23(0x2d8)](_0x198549);}}var _0x1fc8f5=(_0x449c16=>(_0x449c16[_0x449c16[_0x465324(0x24f)]=0x0]=_0x465324(0x24f),_0x449c16[_0x449c16['OK']=0x1]='OK',_0x449c16[_0x449c16[_0x465324(0x16b)]=0x2]=_0x465324(0x16b),_0x449c16[_0x449c16[_0x465324(0x21c)]=0x3]=_0x465324(0x21c),_0x449c16[_0x449c16['NOT_FOUND']=0x4]=_0x465324(0x2ca),_0x449c16[_0x449c16['UNAUTHENTICATED']=0x5]=_0x465324(0x2bb),_0x449c16[_0x449c16[_0x465324(0x171)]=0x6]=_0x465324(0x171),_0x449c16[_0x449c16[_0x465324(0x2f0)]=0x7]=_0x465324(0x2f0),_0x449c16[_0x449c16[_0x465324(0xf3)]=0x8]=_0x465324(0xf3),_0x449c16[_0x449c16[_0x465324(0x31e)]=0x9]='COMPLETION_FINISHED',_0x449c16[_0x449c16[_0x465324(0x2dc)]=0xa]=_0x465324(0x2dc),_0x449c16[_0x449c16['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x449c16[_0x449c16[_0x465324(0xba)]=0xc]=_0x465324(0xba),_0x449c16[_0x449c16[_0x465324(0x1ad)]=0xd]=_0x465324(0x1ad),_0x449c16[_0x449c16[_0x465324(0x250)]=0xe]=_0x465324(0x250),_0x449c16[_0x449c16['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x465324(0x2b5),_0x449c16[_0x449c16[_0x465324(0x206)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x449c16[_0x449c16['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x449c16[_0x449c16['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x449c16[_0x449c16[_0x465324(0x19c)]=0x1b59]=_0x465324(0x19c),_0x449c16[_0x449c16[_0x465324(0xc5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x449c16[_0x449c16[_0x465324(0x175)]=0x1b5b]=_0x465324(0x175),_0x449c16[_0x449c16['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x465324(0xf5),_0x449c16[_0x449c16[_0x465324(0x236)]=0x1b5d]=_0x465324(0x236),_0x449c16[_0x449c16[_0x465324(0x1c0)]=0x1f41]=_0x465324(0x1c0),_0x449c16[_0x449c16['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x465324(0x2b1),_0x449c16[_0x449c16['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x465324(0x321),_0x449c16[_0x449c16['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x449c16[_0x449c16['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x465324(0x2c8),_0x449c16[_0x449c16[_0x465324(0x152)]=0x232d]=_0x465324(0x152),_0x449c16[_0x449c16['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x465324(0x2e6),_0x449c16[_0x449c16['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x449c16[_0x449c16[_0x465324(0x2da)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x449c16[_0x449c16[_0x465324(0xcd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x449c16[_0x449c16[_0x465324(0x116)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x449c16[_0x449c16[_0x465324(0x10e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x449c16[_0x449c16[_0x465324(0x2a4)]=0x271c]=_0x465324(0x2a4),_0x449c16[_0x449c16[_0x465324(0x21a)]=0x271d]=_0x465324(0x21a),_0x449c16[_0x449c16['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x465324(0x23e),_0x449c16[_0x449c16['YUUMI_AI_RUN_FAILED']=0x271f]=_0x465324(0x1b9),_0x449c16[_0x449c16[_0x465324(0x133)]=0x2720]=_0x465324(0x133),_0x449c16[_0x449c16[_0x465324(0x2f5)]=0x2af9]=_0x465324(0x2f5),_0x449c16[_0x449c16['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x465324(0x187),_0x449c16[_0x449c16[_0x465324(0x23c)]=0x2ee2]=_0x465324(0x23c),_0x449c16[_0x449c16[_0x465324(0x237)]=0x2ee3]=_0x465324(0x237),_0x449c16[_0x449c16[_0x465324(0x22a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x449c16[_0x449c16[_0x465324(0x30a)]=0x2ee5]=_0x465324(0x30a),_0x449c16[_0x449c16['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x449c16[_0x449c16[_0x465324(0xb0)]=0x32ca]=_0x465324(0xb0),_0x449c16[_0x449c16['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x465324(0x12d),_0x449c16[_0x449c16[_0x465324(0x2af)]=-0x1]=_0x465324(0x2af),_0x449c16))(_0x1fc8f5||{}),_0x524f5c=Object[_0x465324(0x164)],_0x294bcb=(_0x104a9b,_0x50e5bd,_0x561aa8,_0x4ad421)=>{for(var _0x28c245=_0x4ad421>0x1?void 0x0:_0x4ad421?_0x524f5c(_0x50e5bd,_0x561aa8):_0x50e5bd,_0x4ab77f=_0x104a9b['length']-0x1,_0xdba68d;_0x4ab77f>=0x0;_0x4ab77f--)(_0xdba68d=_0x104a9b[_0x4ab77f])&&(_0x28c245=_0xdba68d(_0x28c245)||_0x28c245);return _0x28c245;},_0x128033=(_0x15b5c1,_0x446b04)=>(_0x3aecd3,_0x5d0e7b)=>_0x446b04(_0x3aecd3,_0x5d0e7b,_0x15b5c1);_0x17bc2c[_0x465324(0x1c8)]=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x175272,_0x11e2de,_0x3ff70c){const _0x5c89c1=_0x465324;super(),this[_0x5c89c1(0xfe)]=_0x175272,this[_0x5c89c1(0x1ef)]=_0x11e2de,this[_0x5c89c1(0x1d9)]=_0x3ff70c;}async[_0x465324(0x20e)](_0x982cef,_0x100efd,_0x4ce8de,..._0x2d3629){const _0x36f4ae=_0x465324;var _0x163c13,_0xb59d4f,_0x20db7c,_0x8bc81a;const _0x166de8=this['_instanceService'][_0x36f4ae(0x101)]();if(!_0x166de8)throw new Error(_0x36f4ae(0x1c7));const _0xd6d705=((_0x163c13=this[_0x36f4ae(0x1d9)][_0x36f4ae(0x1db)](_0x40916b[_0x36f4ae(0x2d3)]))!=null?_0x163c13:_0x40916b['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x982cef+_0x36f4ae(0x1cc)+_0x100efd,_0xf307d5=new URL(window[_0x36f4ae(0x13b)][_0x36f4ae(0x1d4)]),_0x50c4e5={'scriptId':_0x982cef,'runId':(_0xb59d4f=_0xf307d5['searchParams'][_0x36f4ae(0x2d8)](_0x36f4ae(0x254)))!=null?_0xb59d4f:'','function':_0x100efd,'unitId':_0x166de8[_0x36f4ae(0x324)](),'argsOfFunction':JSON[_0x36f4ae(0x30c)](_0x2d3629),'invokeId':(_0x20db7c=_0x4ce8de[_0x36f4ae(0x2a0)])!=null?_0x20db7c:'','executionId':(_0x8bc81a=_0x4ce8de[_0x36f4ae(0x1ea)])!=null?_0x8bc81a:''};try{const _0x3f64be=await this[_0x36f4ae(0x1ef)][_0x36f4ae(0x22e)](_0xd6d705,{'body':_0x50c4e5});return _0x3f64be['body']['error']&&_0x3f64be[_0x36f4ae(0x2aa)]['error']['code']!==_0x1fc8f5['OK']?'Failed':_0x3f64be['body'][_0x36f4ae(0x117)];}catch{return _0x36f4ae(0x1dd);}}},_0x17bc2c[_0x465324(0x1c8)]=_0x294bcb([_0x128033(0x0,_0x50247b[_0x465324(0x257)]),_0x128033(0x1,_0x50247b[_0x465324(0x15e)](_0x4c764b[_0x465324(0x239)])),_0x128033(0x2,_0x50247b['IConfigService'])],_0x17bc2c['RemoteUniscriptService']),_0x17bc2c[_0x465324(0x126)]=_0xdf38a9,_0x17bc2c[_0x465324(0x10d)]=_0x5cc1ef,_0x17bc2c[_0x465324(0x1cf)]=_0x25a3fc,_0x17bc2c[_0x465324(0x23f)]=_0x3d768f,_0x17bc2c[_0x465324(0x278)]=_0x18d761,Object['defineProperty'](_0x17bc2c,Symbol['toStringTag'],{'value':'Module'});}));function _0x4c50(_0x4ae161,_0x7bef3c){const _0x85f6fc=_0x85f6();return _0x4c50=function(_0x4c5070,_0x1227c9){_0x4c5070=_0x4c5070-0x93;let _0x5443b9=_0x85f6fc[_0x4c5070];return _0x5443b9;},_0x4c50(_0x4ae161,_0x7bef3c);}function _0x85f6(){const _0x2c7b95=['_getAnchorBounding','setAlpha','_initCommandExecutedListener','Error','_univerInstanceService','LICENSE_EXPORT_SIZE_EXCEEDED','getColorFromTheme','NOT_FOUND','UniverDrawing','getRelativeToViewportCoord','_getSessionTicket','TEXT_RANGE_LAYER_INDEX','CollaborationEvent','IImageIoService','_range','getCellPositionByOffset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','range','IConfigService','_transformHistoryAndStateStack','session.will-retry','get','session.connection-failed','YUUMI_RATE_OVER_LIMIT','ILocalStorageService','LOGIN_FAILED','prototype','_startSheetCollabCursor','_id','SYNCED','sheetID','_colorIndex','values','_send','InsertRangeMoveDownCommandId','YUUMI_UNABLE_LOAD_URL','collabCursorState$','source','_removeClearOtherTimer','DocCollaborationEntity','assign','then','SetWorksheetActivateCommand','_initEntityListener','updateOfflineData','INVALID_ARGUMENT','url(#off-line-icon_clip0_910_343)','getSheetBySheetId','DesktopCollaborationStatusDisplayController','unload','PY_RUNTIME_SCRIPT_ERROR','translate(.97)','mask','min','focused$','CollaborationDataLoaderController','RefRangeService','DataLoaderService','_drawAnchor','rxjs/operators','executeCommand','clearTimeout','error','_cursorShapes','isEditing','_unitOnClients','red.300','find','MUTATION','getCurrentUnitForType','CONFLICT','INVITE_CODE_ALREADY_BOUND','docStateChange$','stringify','wsSessionTicketUrl','ITransformService','SetTextSelectionsOperation','unshift','startRow','dispose$','Vector2','pluginName','_online','getMemberID','_removeCollabCursors','off-line-icon_clip0_910_343','UniverInstanceType','transformMutationsWithChangeset','_renderManagerService','subscribeEvent','fromEvent','COMPLETION_FINISHED','getAncestorScale','_dataLoaderService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','createElement','getRenderById','getUnitId','AWAITING_WITH_PENDING','_updateCollabCursors','setTimeout','loadUnit','@univerjs/docs','_collabSessionService','round','entries','1540000yMcXgI','setItem','svg','_docSkeletonManagerService','getSheetId','all','_collabCursorState$','serializeRangeWithSheet','_transformPreviousActiveRange','collab-text-anchor-','_labelPosition','_colorAssignService','memberID','drawWith','addClipboardHook','getRangePointData','displayName','_draw','onLocalMutation','assignAColorForMemberID','Rectangle','_handleHover','isTransformMutationsWithChangesetSuccess','_color','_updateSubUnitFromURLParams','handleInsertCol','INotificationService','green.600','OTHER_CLIENTS_EDITING','MOBILE_HAS_BEEN_BOUND','application/json','newValue','getCoordByCell','map','MessageType','backgroundColor','transformRemoteChangeset','http://www.w3.org/2000/svg','init','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','clsx','RECT','toRgbString','selection','replaceState','restore','dispose','transformMutation','push','transformByState','APPLY_NON_SEQUENTIAL_REVISION','_handleJoinEvent','[CollaborationDataLoaderController]','getCurrentRevOfUnit','startsWith','getUniverSheetInstance','_cursorInfo$','ColorKit','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','getUnhiddenWorksheets','CollaborationUIEventService','@univerjs/engine-formula','getVpScrollXYInfoByPosToVp','_initStatusListener','DocIMEInputManagerService','ISnapshotServerService','addEventListener','throttleTime','UniverSheets','icon','SHEET_VIEWPORT_KEY','UNIVER_SHEET','getOwnPropertySymbols','cursorInfo','ICommandService','collabStatus.offline','@univerjs/core','collabStatus.notCollab','urlChange$','@univerjs/sheets-ui','ILogService','_docSkeleton','getCurrentSelections','_collabCursorController','_injector','Plugin','_notificationService','defIds','text','size','top','saveImage','toDisposable','UniverEngineRender','useDependency','TOO_MANY_REQUESTS','isArray','APPLY_PERMISSION_DENIED','_registerDependencies','m1Prime','complete','_anchorDot','unit','Tooltip','getCollabCursors$','has','_instanceService','subunit','debounce','getFocusedUnit','generateRandomId','_eventUnsubscribe','Injector','permission.title','forwardRef','unitId','getItem','handleIRemoveCol','getValue','registerRenderModule','react','IURLService','YUUMI_ASYNCIO_CANCELLED','PENDING','CollaborationUIEventId','filter','Shape','blue.400','29655npwLyB','path','YUUMI_NO_CUBOID_FOR_QUESTION','result','_docTransformIMECacheService','USERS_LEAVE','_drawRectRange','_memberService','ACTIVE_UNIT_EVENT_CHANNEL','searchParams','use','10WbdmhY','_getScale','4128jYJQoo','@univerjs/docs-ui','onPointerEnter$','endRow','_transformUndoRedoStack','CollaborationStatusDisplay','Subject','whenReady','RemoveColCommandId','_context','_urlService','fillText','EMAIL_HAS_BEEN_BOUND','function','_initResize','_syncEditingCollabCursorService','getMember','collabStatus.fetchMiss','YUUMI_CONNECTOR_URL_NOT_FOUND','forEach','_setupBeforeClosingHandler','measureText','switchMap','_cachedData','CollaborationSessionService','deserializeRangeWithSheet','location','setShapeProps','saveOfflineData','_hover','distinctUntilChanged','_handleEvent','793251ZRDRLm','transformStateCache','MoveRangeCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','mapTo','propertyIsEnumerable','CLOSE_ROOM','disposeWithMe','univer-flex\x20univer-items-center','sheetId','LocaleService','loadOfflineData','endColumn','OFFLINE','takeUntil','NodePositionConvertToCursor','FromArray','LICENSE_DISTRO_REJECTED','currentTheme$','set','_refRangeService','SOCKET_FAILED_RETRY','runRefRangeMutations','xlink:href','getStateCache','_shapes','SheetsSelectionsService','onRendered','asObservable','Inject','_render','_messageService','combineLatest','IRemoteInstanceService','data','getOwnPropertyDescriptor','fill','eventID','subUnitId','cursorInfo$','setParam','getActiveSheet','INTERNAL_ERROR','Workbook','_handleLeaveEvent','requireSession','RxDisposable','1em','ALREADY_EXISTS','trim','handleDeleteRangeMoveLeft','_lastPointer','APPLY_REVISION_CONFILICT','params','type','IBeforeCloseService','_createSocketURL','getSkeleton','createInstance','onMouseMove','onPointerMove$','DeleteRangeMoveLeftCommandId','getDocRanges','RemoveRowCommandId','_refreshCollabCursors','_textBubble','handleIRemoveRow','NOT_COLLAB','lineTo','DocStateChangeManagerService','INVITE_CODE_HAS_BEEN_UES','_collaborationController','colorChannel1','UniverCollaborationClientUIPlugin','UNIVER_DOC','getSheetObject','name','_getSheetObject','status$','BehaviorSubject','DocSkeletonManagerService','substring','_hovered','_getSaveTimeout','_startDocCollabCursor','getUnitStatus$','show','off-line-icon','_scheduleSaving','uni.network.url-service','hasOwnProperty','APPLY_REJECT','sessionStatus$','string','collab-text-range-','univerjs-icon\x20univerjs-icon-','disableLocalCache','clipPath','unitID','subscribe','getColor','isTransformMutationFailure','useCallback','_sheetSkeletonManagerService','_roomMembers$','_commandService','DeleteRangeMoveUpCommandId','exhaustSavingTask','EMAIL_VERIFY_CODE_MISMATCH','override','1183CMiRUG','CollaborationSocketService','CollaborationStatus','_registerRenderDependencies','_collaborationUIEventService','_updateLocalCursor','_toggleOffline','_doCreateSocket','...','resize','YUUMI_AI_RUN_FAILED','_docTransformStateCacheService','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','split','_scene','Tools','handleInsertRangeMoveRight','CONNECTOR_DATA_TOO_LARGE','SetDocZoomRatioOperation','_updateURLWithCurrentState','findNodePositionByCharIndex','_status$','fillStyle','indexOf','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RemoteUniscriptService','fromEventSubject','NO_OTHER_CLIENTS_EDITING','currentColor','/run/','React','replaceDocRanges','SheetCollabCursorShape','RichTextEditingMutation','next','2OHlhYo','syncEditingCollabCursor','href','106748suvjcU','UPDATE_CURSOR','connectInjector','entityInit$','_configService','_entityInit$','getConfig','DEFAULT_WS_SESSION_TICKET_URL','Failed','_saveCache','symbol','closePath','Disposable','search','sessionTicket','_docClipboardService','_scheduleHeartbeat','ILocalCacheService','onCommandExecuted','m2Prime','registerRefRange','executionId','storage','@univerjs/sheets','CollaborationController','registerComponent','_httpService','getUndoRedoMutationParamsCache','textRanges','UniverCollaborationClientPlugin','width','font','arc','IUIPartsService','_entities','setInterval','_themeService','idSuffix','on-line-icon','AWAITING','_heartbeatTimer','LOCAL_CACHE_INTERVAL','EffectRefRangId','debug','_cursor','object','IRenderManagerService','_backgroundColor','disposeUnit','SNAPSHOT_INVALID_SNAPSHOT','roomMembers','_localeService','_assignedColors','_localCacheService','imageSourceType','_getMergeRange','_transformService','runOnServer','_disabled','react/jsx-runtime','_anchor','createIdentifier','mutations','defs','VIEW_MAIN','SheetSkeletonManagerService','_saveTaskMap','rgba(255,\x20255,\x20255,\x200.01)','addObject','YUUMI_ALL_TABLES_IS_INVALID','includes','PERMISSION_DENIED','ISocketService','doc.mutation.rich-text-editing','height','2054405mTWDOw','attrs','history','length','labelPosition','white','color','NodePositionConvertToRectRange','UniverDocs','clearInterval','USER_NOT_INVITED_CODE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','beginPath','CommandType','post','SetSelectionsOperation','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_onRefRangeChange','_selfUnitIDs','call','_name','UniverIcon','APPLY_DUPLICATED','INVITE_CODE_REQUIRED','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','HTTPService','editingUnit','div','INVALID_INVITE_CODE','setUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WebBrowserSingleActiveUnitService','_clearOtherTimers','getCollabEntity$','enableLocalCache','operators','children','_ensureSubject','add','OTHER_CLIENT_EDITING','DocSelectionManagerService','@univerjs/drawing','collaboration-client.offline-data-not-saved','_localStorageService','yellow.400','event$','UniverUi','UNDEFINED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','save','exports','activeSheet$','runId','toString','_init','IUniverInstanceService','HEADER_MENU','SessionStatus','_initStatusComponent','concat','tag','collabStatus.syncing','replace','jsx','redoState','getViewport','evenodd','hide','Unknown\x20user','saveTaskMap','triggerDblclick','collabStatus.synced','hovered','send','Rect','UnitStatus','_handleHeartbeatEvent','BrowserCollaborationSocketService','UniverProCollaborationClient','isActive','deepClone','collaboration-client-ui.config','currentSkeleton$','UniverNetwork','OffLineIcon','getParam','touchDependencies','@univerjs/ui','WebURLService','from','transformSelections','addObjects','handleMoveRange','collab-client.tooltip.reconnect','_hideTimer','handleDeleteRangeMoveUp','DOC_RANGE_TYPE','collaboration.closeRoom','purple.300','BuiltInUIPart','_unitStatus','contains','Warning','_logService','useObservable','_session','bottom','_drawTextRange','pushState','extend','ThemeService','className','_scheduleClearOtherTimer','InsertColCommandId','origin','ranges','collabStatus.conflict','DisposableCollection','LOCAL_CACHE_INTERVAL_KEY','_initEvent','UniverEngineFormula','row','664FlwyeF','pipe','_imageIoService','_docStateChangeManagerService','309199LyJNkP','current','invokeId','key','_docSyncEditingCollabCursorService','black','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','on-line-icon_clip0_910_349','IMessageService','max','getLocalCacheKey','body','_toggleOnline','random','useRef','ticket','UNRECOGNIZED','unsubscribe','LICENSE_MAX_UNITS_EXCEEDED','registerDependencies','getTypeOfUnitAdded$','MemberService','CHANGESET_REVISION_CONFILICT','fillRule','_cursors','COLORS','UniverProCollaboration','engine','UNAUTHENTICATED','_onCursorDelete','@univerjs/rpc','merge','delete','_config','rxjs','UniverProCollaborationClientUi'];_0x85f6=function(){return _0x2c7b95;};return _0x85f6();}
1
+ function _0x3ea2(_0x3b55b1,_0xa42ce0){const _0x5b5a98=_0x5b5a();return _0x3ea2=function(_0x3ea2c3,_0x220f23){_0x3ea2c3=_0x3ea2c3-0x117;let _0x3fa93c=_0x5b5a98[_0x3ea2c3];return _0x3fa93c;},_0x3ea2(_0x3b55b1,_0xa42ce0);}(function(_0x4b25c3,_0x2d2b40){const _0x324312=_0x3ea2,_0x2c5fc0=_0x4b25c3();while(!![]){try{const _0x1d86dc=-parseInt(_0x324312(0x382))/0x1+parseInt(_0x324312(0x3a0))/0x2+parseInt(_0x324312(0x2c9))/0x3+-parseInt(_0x324312(0x2d4))/0x4*(-parseInt(_0x324312(0x238))/0x5)+-parseInt(_0x324312(0x1d6))/0x6*(parseInt(_0x324312(0x16d))/0x7)+-parseInt(_0x324312(0x1e7))/0x8+parseInt(_0x324312(0x19b))/0x9*(parseInt(_0x324312(0x2d2))/0xa);if(_0x1d86dc===_0x2d2b40)break;else _0x2c5fc0['push'](_0x2c5fc0['shift']());}catch(_0x2d39ce){_0x2c5fc0['push'](_0x2c5fc0['shift']());}}}(_0x5b5a,0x95c97),function(_0x44b550,_0x285f57){const _0x100ba3=_0x3ea2;typeof exports=='object'&&typeof module<'u'?_0x285f57(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[_0x100ba3(0x2c0)]?define([_0x100ba3(0x38e),_0x100ba3(0x1e0),'@univerjs/core','@univerjs/engine-render',_0x100ba3(0x151),_0x100ba3(0x3a8),'@univerjs/drawing',_0x100ba3(0x2af),_0x100ba3(0x2c7),_0x100ba3(0x283),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x100ba3(0x24b),_0x100ba3(0x35f),'@univerjs/ui',_0x100ba3(0x352),'react',_0x100ba3(0x17e)],_0x285f57):(_0x44b550=typeof globalThis<'u'?globalThis:_0x44b550||self,_0x285f57(_0x44b550[_0x100ba3(0x194)]={},_0x44b550[_0x100ba3(0x30e)],_0x44b550['UniverCore'],_0x44b550[_0x100ba3(0x200)],_0x44b550[_0x100ba3(0x20f)],_0x44b550[_0x100ba3(0x1f6)],_0x44b550[_0x100ba3(0x189)],_0x44b550[_0x100ba3(0x2af)],_0x44b550[_0x100ba3(0x2b7)],_0x44b550[_0x100ba3(0x22a)],_0x44b550[_0x100ba3(0x2d6)],_0x44b550['UniverSheets'],_0x44b550['rxjs'][_0x100ba3(0x305)],_0x44b550['UniverSheetsUi'],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x152)],_0x44b550[_0x100ba3(0x298)],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x32b)]));}(this,function(_0x5d4de8,_0x2c5d3c,_0x13023b,_0x3b7797,_0x562449,_0x229cdf,_0x16c291,_0xe0366,_0x2db34e,_0x3679f8,_0x416312,_0x17d085,_0x1a2632,_0x128c44,_0x50649b,_0x47e75a,_0x2abc24,_0x52afd9,_0x4e87ce){'use strict';const _0x453404=_0x3ea2;var _0x3684f0=Object[_0x453404(0x188)],_0x1648b4=(_0x1b8c6e,_0x2f97cf,_0x118f0a)=>_0x2f97cf in _0x1b8c6e?_0x3684f0(_0x1b8c6e,_0x2f97cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x118f0a}):_0x1b8c6e[_0x2f97cf]=_0x118f0a,_0x4ff54d=(_0x2416bb,_0x33bb11,_0x5c1332)=>_0x1648b4(_0x2416bb,typeof _0x33bb11!='symbol'?_0x33bb11+'':_0x33bb11,_0x5c1332),_0x480823=Object[_0x453404(0x23f)],_0x477b64=(_0x40e866,_0x488fa8,_0x2c0554,_0x28abaa)=>{const _0x5f2da1=_0x453404;for(var _0x149475=_0x28abaa>0x1?void 0x0:_0x28abaa?_0x480823(_0x488fa8,_0x2c0554):_0x488fa8,_0x73b171=_0x40e866[_0x5f2da1(0x2f8)]-0x1,_0xec2057;_0x73b171>=0x0;_0x73b171--)(_0xec2057=_0x40e866[_0x73b171])&&(_0x149475=_0xec2057(_0x149475)||_0x149475);return _0x149475;},_0x55da54=(_0x419270,_0x155378)=>(_0xbab388,_0x527fd9)=>_0x155378(_0xbab388,_0x527fd9,_0x419270);let _0x5d6e1b=class extends _0x13023b['RxDisposable']{constructor(_0x5dea01,_0x220b8e){const _0x1d7ec9=_0x453404;super(),this[_0x1d7ec9(0x2a0)]=_0x5dea01,this[_0x1d7ec9(0x148)]=_0x220b8e,this[_0x1d7ec9(0x224)]();}[_0x453404(0x224)](){const _0x15d0e3=_0x453404,_0x4caeb6=this;this['disposeWithMe'](this['_docClipboardService'][_0x15d0e3(0x39c)]({'onBeforePasteImage':async _0x31774b=>{const _0x248015=_0x15d0e3,_0x997e08=await _0x4caeb6[_0x248015(0x148)][_0x248015(0x32e)](_0x31774b);return _0x997e08?{'source':_0x997e08['source'],'imageSourceType':_0x997e08[_0x248015(0x388)]}:null;}}));}};_0x5d6e1b=_0x477b64([_0x55da54(0x0,_0x229cdf[_0x453404(0x1bf)]),_0x55da54(0x1,_0x16c291['IImageIoService'])],_0x5d6e1b);const _0x416843=['purple.300',_0x453404(0x196),_0x453404(0x2fb),_0x453404(0x330),_0x453404(0x25f),_0x453404(0x326)];class _0x39fdea extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x24bb7a=_0x453404;super(...arguments),_0x4ff54d(this,_0x24bb7a(0x2c1),new Map()),_0x4ff54d(this,_0x24bb7a(0x33c),0x0);}[_0x453404(0x1e4)](_0x1cb260){const _0x3add67=_0x453404;if(this[_0x3add67(0x2c1)][_0x3add67(0x138)](_0x1cb260))return this['_assignedColors']['get'](_0x1cb260);const _0x39b602=_0x416843[this['_colorIndex']];return this[_0x3add67(0x33c)]=(this['_colorIndex']+0x1)%_0x416843[_0x3add67(0x2f8)],this[_0x3add67(0x2c1)][_0x3add67(0x2ca)](_0x1cb260,_0x39b602),_0x39b602;}}function _0x522f5d(_0xf86551){const _0x2eaccf=_0x453404;let _0x1e0122='';for(const _0x134b86 of _0xf86551){const {startOffset:_0x2a7ee6,endOffset:_0x1e7f72,isActive:_0x17642f,rangeType:_0x2b3f77,segmentId:_0x464cf7,segmentPage:_0x56483a}=_0x134b86;_0x1e0122[_0x2eaccf(0x2f8)]&&(_0x1e0122+=','),_0x1e0122+=_0x2a7ee6+':'+_0x1e7f72+':'+(_0x17642f?'1':'0')+':'+_0x2b3f77+':'+_0x464cf7+':'+_0x56483a;}return _0x1e0122;}function _0x2c8724(_0x155b5a){const _0x1e4fff=_0x453404,_0x2b4a66=_0x155b5a[_0x1e4fff(0x20c)](','),_0x2c501a=[];for(const _0x1a280b of _0x2b4a66){const [_0x63452e,_0x907a05,_0x424542,_0x1992fd,_0x57ee06,_0x4c44f7]=_0x1a280b[_0x1e4fff(0x20c)](':');_0x2c501a[_0x1e4fff(0x1fe)]({'startOffset':Number(_0x63452e),'endOffset':Number(_0x907a05),'collapsed':_0x63452e===_0x907a05,'isActive':_0x424542==='1','rangeType':_0x1992fd===_0x13023b[_0x1e4fff(0x12a)]['TEXT']?_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x118)]:_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x124)],'segmentId':typeof _0x57ee06=='string'?String(_0x57ee06):'','segmentPage':Number(_0x4c44f7!=null?_0x4c44f7:-0x1)});}return _0x2c501a['some'](_0x4e53ec=>_0x4e53ec['isActive'])||(_0x2c501a[0x0][_0x1e4fff(0x137)]=!0x0),_0x2c501a;}class _0x1373ab extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x1c7f6d=_0x453404;super(...arguments),_0x4ff54d(this,_0x1c7f6d(0x21c),new _0xe0366[(_0x1c7f6d(0x1cf))](null)),_0x4ff54d(this,_0x1c7f6d(0x2f0),this['_collabCursorState$'][_0x1c7f6d(0x21a)]());}['syncEditingCollabCursor'](_0x463561){const _0x1e914c=_0x453404,{unitID:_0x33f341,memberID:_0x49c68b,textRanges:_0x14533e}=_0x463561,_0x369fb8=_0x522f5d(_0x14533e);if(_0x369fb8==='')return;const _0x3c19d8={'unitID':_0x33f341,'memberID':_0x49c68b,'selection':_0x369fb8};this[_0x1e914c(0x21c)][_0x1e914c(0x1a0)](_0x3c19d8);}}var _0x4413a9=Object[_0x453404(0x23f)],_0x362eb2=(_0x1b926a,_0x101a38,_0x229cef,_0x73f6fa)=>{const _0x53d66e=_0x453404;for(var _0xbc55c5=_0x73f6fa>0x1?void 0x0:_0x73f6fa?_0x4413a9(_0x101a38,_0x229cef):_0x101a38,_0x52a9a6=_0x1b926a[_0x53d66e(0x2f8)]-0x1,_0x126364;_0x52a9a6>=0x0;_0x52a9a6--)(_0x126364=_0x1b926a[_0x52a9a6])&&(_0xbc55c5=_0x126364(_0xbc55c5)||_0xbc55c5);return _0xbc55c5;},_0x207696=(_0x413660,_0x3b2536)=>(_0x16966a,_0xc90641)=>_0x3b2536(_0x16966a,_0xc90641,_0x413660);const _0x197a5a=0x12c,_0xfe8f14=0x64;let _0x31024d=class extends _0x13023b['RxDisposable']{constructor(_0x43ae9e,_0x21bbbc,_0x38d40f,_0x29f81f,_0x1976ed,_0xd8a63,_0x49a07a,_0x2d67b6,_0x1c8af5){const _0x470e71=_0x453404;super(),_0x4ff54d(this,_0x470e71(0x13a),!0x1),_0x4ff54d(this,_0x470e71(0x224),!0x1),_0x4ff54d(this,_0x470e71(0x2c5),new _0xe0366[(_0x470e71(0x1cf))](new Map())),_0x4ff54d(this,'cursorInfo$',this['_cursorInfo$'][_0x470e71(0x21a)]()),_0x4ff54d(this,_0x470e71(0x35e),new _0xe0366['BehaviorSubject']([])),_0x4ff54d(this,_0x470e71(0x190),this[_0x470e71(0x35e)][_0x470e71(0x35a)](_0xe0366[_0x470e71(0x227)](_0x197a5a))),_0x4ff54d(this,_0x470e71(0x367),_0x13023b[_0x470e71(0x121)](_0x21b148=>{const _0x42641d=_0x470e71,_0x3d3de9={'eventID':_0x2db34e[_0x42641d(0x167)][_0x42641d(0x185)],'data':{'unitID':this['unitID'],'memberID':this[_0x42641d(0x11b)][_0x42641d(0x171)](),'selection':_0x522f5d(_0x21b148)}};this['_session']['send'](_0x3d3de9,this[_0x42641d(0x1b4)]);},_0xfe8f14)),(this['unitID']=_0x43ae9e,this[_0x470e71(0x11b)]=_0x21bbbc,this[_0x470e71(0x1c0)]=_0x38d40f,this[_0x470e71(0x1e1)]=_0x29f81f,this['_memberService']=_0x1976ed,this[_0x470e71(0x28e)]=_0xd8a63,this['_transformService']=_0x49a07a,this['_univerInstanceService']=_0x2d67b6,this[_0x470e71(0x27b)]=_0x1c8af5);}get[_0x453404(0x34e)](){const _0x164d18=_0x453404;return this[_0x164d18(0x2c5)][_0x164d18(0x336)]();}get[_0x453404(0x3af)](){const _0x5e290e=_0x453404;return this[_0x5e290e(0x35e)][_0x5e290e(0x336)]();}['dispose'](){const _0x1422bd=_0x453404;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x1422bd(0x2c5)]['complete'](),this[_0x1422bd(0x35e)]['next']([]),this[_0x1422bd(0x35e)][_0x1422bd(0x2a6)]();}[_0x453404(0x214)](){const _0x49199a=_0x453404;this[_0x49199a(0x224)]||(this[_0x49199a(0x224)]=!0x0,this['_session'][_0x49199a(0x23d)][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this['dispose$']))[_0x49199a(0x310)](_0x1c6c0c=>{const _0x3a9a7b=_0x49199a;_0x1c6c0c===_0x2c5d3c[_0x3a9a7b(0x248)][_0x3a9a7b(0x240)]?this[_0x3a9a7b(0x2ed)]():this['_toggleOffline']();}),this[_0x49199a(0x11b)]['event$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))[_0x49199a(0x310)](_0xcb02e8=>{const _0x5bc73c=_0x49199a,_0x37cbd0=_0xcb02e8[_0x5bc73c(0x291)];_0x37cbd0===_0x2db34e[_0x5bc73c(0x167)][_0x5bc73c(0x185)]&&this[_0x5bc73c(0x381)](_0xcb02e8),_0x37cbd0===_0x2db34e['CollaborationEvent']['USERS_LEAVE']&&this[_0x5bc73c(0x253)](_0xcb02e8);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x712e43=>{const _0x19dc7c=_0x49199a,_0x4d59fc=_0x712e43[_0x19dc7c(0x1fd)];_0x4d59fc!=null&&this[_0x19dc7c(0x13a)]&&_0x712e43['id']===_0x3679f8['SetTextSelectionsOperation']['id']&&_0x4d59fc[_0x19dc7c(0x2e4)]===this[_0x19dc7c(0x1b4)]&&_0x4d59fc[_0x19dc7c(0x290)]===!0x1&&_0x4d59fc[_0x19dc7c(0x13c)]['length']>0x0&&this[_0x19dc7c(0x367)](_0x4d59fc['ranges']);})),this[_0x49199a(0x28e)]['collabCursorState$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))['subscribe'](_0x375b4c=>{const _0x2bf210=_0x49199a;if((_0x375b4c==null?void 0x0:_0x375b4c[_0x2bf210(0x1b4)])!==this[_0x2bf210(0x1b4)])return;const _0x160427={'eventID':_0x2db34e[_0x2bf210(0x167)][_0x2bf210(0x185)],'data':_0x375b4c};this[_0x2bf210(0x381)](_0x160427);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x17f474=>{const _0xe28dc5=_0x49199a;if(_0x17f474[_0xe28dc5(0x1fd)]==null)return;const _0x570314=_0x17f474['params'];if(_0x17f474['id']!==_0x3679f8['RichTextEditingMutation']['id']||_0x570314[_0xe28dc5(0x2e4)]!==this[_0xe28dc5(0x1b4)])return;const _0x59fa16={'id':_0xe28dc5(0x139),'params':_0x570314},_0x5e77c5=this[_0xe28dc5(0x34e)];for(const [_0x59fb3b,_0x1d087a]of _0x5e77c5){const _0x3d3cbe={'id':_0xe28dc5(0x139),'params':{'unitId':this[_0xe28dc5(0x1b4)],'actions':null,'textRanges':_0x1d087a[_0xe28dc5(0x13c)]}},_0x320162=this['_transformService'][_0xe28dc5(0x2ac)](_0x59fa16,_0x3d3cbe,!0x1);if(_0x2db34e[_0xe28dc5(0x287)](_0x320162))throw _0x320162['error'];_0x5e77c5['set'](_0x59fb3b,{..._0x1d087a,'ranges':_0x320162['m2Prime'][_0xe28dc5(0x1fd)][_0xe28dc5(0x2eb)]});}queueMicrotask(()=>{const _0x34757e=_0xe28dc5;this['_cursorInfo$'][_0x34757e(0x1a0)](_0x5e77c5);});})));}['_onCursorUpdate'](_0x5f452f){const _0x5104e8=_0x453404;var _0x281e03,_0xa8abcc;const {memberID:_0x1acd68,selection:_0x362f27}=_0x5f452f[_0x5104e8(0x311)],_0x55ac35=_0x2c8724(_0x362f27),_0x10ca0e=(_0xa8abcc=(_0x281e03=this[_0x5104e8(0x268)][_0x5104e8(0x1ad)](this[_0x5104e8(0x1b4)],_0x1acd68))==null?void 0x0:_0x281e03[_0x5104e8(0x18b)])!=null?_0xa8abcc:'Unknown\x20user',_0x42e6da={'color':this['_colorAssignService'][_0x5104e8(0x1e4)](_0x1acd68),'name':_0x10ca0e,'ranges':_0x55ac35},_0x3bac3f=this['cursorInfo'];_0x3bac3f[_0x5104e8(0x2ca)](_0x1acd68,_0x42e6da),this['_cursorInfo$'][_0x5104e8(0x1a0)](_0x3bac3f);}[_0x453404(0x253)](_0x8f72fc){const _0x193c5e=_0x453404,{memberID:_0x3bce4f}=_0x8f72fc[_0x193c5e(0x311)],_0x4482d4=this[_0x193c5e(0x34e)];_0x4482d4['delete'](_0x3bce4f),this[_0x193c5e(0x2c5)][_0x193c5e(0x1a0)](_0x4482d4);}['_toggleOnline'](){const _0x97cd47=_0x453404;var _0x4c6d85;if(this[_0x97cd47(0x13a)]=!0x0,((_0x4c6d85=this[_0x97cd47(0x379)][_0x97cd47(0x187)]())==null?void 0x0:_0x4c6d85[_0x97cd47(0x2be)]())!==this[_0x97cd47(0x1b4)])return;const _0x3f10d6=this[_0x97cd47(0x1c0)][_0x97cd47(0x28f)](_0x3679f8[_0x97cd47(0x1ac)])[_0x97cd47(0x2c2)]();Array[_0x97cd47(0x32c)](_0x3f10d6)&&_0x3f10d6['length']>0x0&&this[_0x97cd47(0x367)](_0x3f10d6);}[_0x453404(0x32d)](){const _0x181c08=_0x453404;this[_0x181c08(0x13a)]=!0x1;}};_0x31024d=_0x362eb2([_0x207696(0x2,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x207696(0x3,_0x13023b[_0x453404(0x175)](_0x39fdea)),_0x207696(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x207696(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x207696(0x6,_0x2db34e[_0x453404(0x348)]),_0x207696(0x7,_0x13023b['IUniverInstanceService']),_0x207696(0x8,_0x13023b[_0x453404(0x2a5)])],_0x31024d);var _0x224f3c=Object[_0x453404(0x23f)],_0x569ff4=(_0x615a6d,_0x23be52,_0x29942d,_0x2a3070)=>{for(var _0x595309=_0x2a3070>0x1?void 0x0:_0x2a3070?_0x224f3c(_0x23be52,_0x29942d):_0x23be52,_0x53349c=_0x615a6d['length']-0x1,_0x3c0a37;_0x53349c>=0x0;_0x53349c--)(_0x3c0a37=_0x615a6d[_0x53349c])&&(_0x595309=_0x3c0a37(_0x595309)||_0x595309);return _0x595309;},_0x31bfc1=(_0x224be3,_0x2dc46c)=>(_0x3658f5,_0x458f91)=>_0x2dc46c(_0x3658f5,_0x458f91,_0x224be3);const _0x6b5ab4=0x12c,_0xdf62d5=0x64,_0x54a156=()=>{let _0x14b3a9=[],_0x3ae948=!0x1;return _0x5b534c=>{const _0x38690d=_0x3ea2;_0x14b3a9[_0x38690d(0x1fe)](_0x5b534c),_0x3ae948||(_0x3ae948=!0x0,setTimeout(()=>{const _0x1c24db=_0x38690d;_0x14b3a9[_0x1c24db(0x136)](_0x3685db=>_0x3685db()),_0x14b3a9=[],_0x3ae948=!0x1;}));};};let _0x1a04e0=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1a112d,_0x372a9f,_0x7bec15,_0x2e90ba,_0x4bfbc5,_0x2e0c54,_0x1bea40,_0xaf90f2){const _0x2ad8ed=_0x453404;super(),_0x4ff54d(this,_0x2ad8ed(0x13a),!0x1),_0x4ff54d(this,_0x2ad8ed(0x224),!0x1),_0x4ff54d(this,_0x2ad8ed(0x2c5),new _0xe0366[(_0x2ad8ed(0x1cf))](new Map())),_0x4ff54d(this,_0x2ad8ed(0x2e2),this[_0x2ad8ed(0x2c5)][_0x2ad8ed(0x21a)]()),_0x4ff54d(this,_0x2ad8ed(0x35e),new _0xe0366[(_0x2ad8ed(0x1cf))]([])),_0x4ff54d(this,'roomMembers$',this[_0x2ad8ed(0x35e)]['pipe'](_0xe0366[_0x2ad8ed(0x227)](_0x6b5ab4))),_0x4ff54d(this,_0x2ad8ed(0x367),_0x13023b[_0x2ad8ed(0x121)]((_0xd64472,_0xfaca21)=>{const _0x2b2dc4=_0x2ad8ed,_0x552e18={'eventID':_0x2db34e['CollaborationEvent'][_0x2b2dc4(0x185)],'data':{'unitID':this[_0x2b2dc4(0x1b4)],'memberID':this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x171)](),'selection':_0x416312['serializeRangeWithSheet'](_0xd64472,_0xfaca21['range'])}};this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x39a)](_0x552e18,this[_0x2b2dc4(0x1b4)]);},_0xdf62d5)),(this['unitID']=_0x1a112d,this[_0x2ad8ed(0x11b)]=_0x372a9f,this[_0x2ad8ed(0x1c0)]=_0x7bec15,this['_colorAssignService']=_0x2e90ba,this[_0x2ad8ed(0x268)]=_0x4bfbc5,this['_univerInstanceService']=_0x2e0c54,this['_commandService']=_0x1bea40,this['_refRangeService']=_0xaf90f2);}get[_0x453404(0x34e)](){return this['_cursorInfo$']['getValue']();}get[_0x453404(0x3af)](){const _0x283fa0=_0x453404;return this[_0x283fa0(0x35e)][_0x283fa0(0x336)]();}[_0x453404(0x3aa)](){const _0x1cccf2=_0x453404;super[_0x1cccf2(0x3aa)](),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x1a0)](new Map()),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x2a6)](),this[_0x1cccf2(0x35e)]['next']([]),this[_0x1cccf2(0x35e)]['complete']();}[_0x453404(0x214)](){const _0x32c2f7=_0x453404;this[_0x32c2f7(0x224)]||(this[_0x32c2f7(0x224)]=!0x0,this[_0x32c2f7(0x11b)][_0x32c2f7(0x23d)][_0x32c2f7(0x35a)](_0xe0366[_0x32c2f7(0x2ba)](this['dispose$']))[_0x32c2f7(0x310)](_0x32b5f6=>{const _0x3f08d2=_0x32c2f7;_0x32b5f6===_0x2c5d3c[_0x3f08d2(0x248)][_0x3f08d2(0x240)]?this[_0x3f08d2(0x2ed)]():this['_toggleOffline']();}),this[_0x32c2f7(0x11b)][_0x32c2f7(0x133)]['pipe'](_0xe0366['takeUntil'](this[_0x32c2f7(0x1e3)]))[_0x32c2f7(0x310)](_0x54ac27=>{const _0x2168c0=_0x32c2f7,_0x2a2044=_0x54ac27['eventID'];_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x185)]&&this[_0x2168c0(0x381)](_0x54ac27),_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x11a)]&&this[_0x2168c0(0x253)](_0x54ac27);}),this[_0x32c2f7(0x313)](),this[_0x32c2f7(0x2bf)](this[_0x32c2f7(0x27b)][_0x32c2f7(0x299)](_0x5350e2=>{const _0x3581fb=_0x32c2f7;if(this[_0x3581fb(0x13a)]&&_0x5350e2['id']===_0x17d085[_0x3581fb(0x2ec)]['id']&&_0x5350e2[_0x3581fb(0x1fd)][_0x3581fb(0x2e4)]===this[_0x3581fb(0x1b4)]){const _0x31ac30=_0x5350e2[_0x3581fb(0x1fd)];this[_0x3581fb(0x367)](_0x31ac30[_0x3581fb(0x117)],_0x31ac30[_0x3581fb(0x233)][0x0]);}})));}[_0x453404(0x381)](_0x35cc5c){const _0x47c574=_0x453404;var _0x36f52b,_0xca7639;const {memberID:_0x145a9c,selection:_0x1422c5}=_0x35cc5c[_0x47c574(0x311)],{sheetName:_0x50030d,range:_0x2af07d}=_0x416312[_0x47c574(0x37b)](_0x1422c5),_0x19027f={'name':(_0xca7639=(_0x36f52b=this[_0x47c574(0x268)]['getMember'](this[_0x47c574(0x1b4)],_0x145a9c))==null?void 0x0:_0x36f52b[_0x47c574(0x18b)])!=null?_0xca7639:_0x47c574(0x2d8),'range':this[_0x47c574(0x18f)](_0x50030d,_0x2af07d),'sheetID':_0x50030d,'color':this['_colorAssignService'][_0x47c574(0x1e4)](_0x145a9c),'selection':_0x1422c5},_0x1237f7=this['cursorInfo'];_0x1237f7[_0x47c574(0x2ca)](_0x145a9c,_0x19027f),this[_0x47c574(0x2c5)][_0x47c574(0x1a0)](_0x1237f7);}[_0x453404(0x253)](_0x3f1aea){const _0x11fc25=_0x453404,{memberID:_0xf9dbd3}=_0x3f1aea[_0x11fc25(0x311)],_0x2c5a20=this[_0x11fc25(0x34e)];_0x2c5a20['delete'](_0xf9dbd3),this['_cursorInfo$'][_0x11fc25(0x1a0)](_0x2c5a20);}['_getMergeRange'](_0x1f48db,_0x397f4f){const _0x2de3dc=_0x453404;var _0x17dec8,_0x7a0947;const _0x161787=(_0x7a0947=(_0x17dec8=this[_0x2de3dc(0x379)][_0x2de3dc(0x2b0)](this[_0x2de3dc(0x1b4)]))==null?void 0x0:_0x17dec8[_0x2de3dc(0x120)](_0x1f48db))==null?void 0x0:_0x7a0947[_0x2de3dc(0x1b3)]();return(_0x161787==null?void 0x0:_0x161787[_0x2de3dc(0x1d3)](_0x4f7a6e=>_0x13023b[_0x2de3dc(0x2e6)]['contains'](_0x4f7a6e,_0x397f4f)))||_0x397f4f;}[_0x453404(0x313)](){const _0x54e663=_0x453404,_0x130959=new _0x13023b[(_0x54e663(0x22b))](),_0x4d35e1=_0x54a156(),_0x34c55f=()=>{const _0x3d23bf=_0x54e663;_0x130959['dispose']();const _0x42fb16=(_0x33ff0f,_0x111496,_0x5ae734,_0x51c1b3)=>{const _0x4de315=_0x3ea2;let _0x20e873=[];switch(_0x33ff0f['id']){case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x29f)]:{_0x20e873=_0x17d085[_0x4de315(0x380)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x2fa)]:{_0x20e873=_0x17d085[_0x4de315(0x309)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertColCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x26e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x127)]:{_0x20e873=_0x17d085['handleInsertRangeMoveDown'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRangeMoveRightCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x14e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRowCommandId']:{_0x20e873=_0x17d085['handleInsertRow'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x14f)]:{_0x20e873=_0x17d085[_0x4de315(0x29c)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x1f4)]:{_0x20e873=_0x17d085[_0x4de315(0x130)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x394)]:{_0x20e873=_0x17d085[_0x4de315(0x278)](_0x33ff0f,_0x51c1b3);break;}}const _0x553946=_0x17d085[_0x4de315(0x161)](_0x20e873,_0x51c1b3),_0x196a18=this['cursorInfo'][_0x4de315(0x28f)](_0x111496);if(_0x196a18&&_0x553946){const _0xd0fe04={..._0x196a18,'range':_0x553946};this[_0x4de315(0x34e)]['set'](_0x111496,_0xd0fe04),_0x4d35e1(()=>{const _0x2e52b8=_0x4de315,_0x3bb621=this[_0x2e52b8(0x1f3)][_0x2e52b8(0x2f3)](_0x553946,_0x260f92=>(_0x3bb621[_0x2e52b8(0x3aa)](),_0x42fb16(_0x260f92,_0x111496,_0x5ae734,_0x553946)));_0x130959['add'](_0x3bb621);});}return{'redos':[],'undos':[]};};this[_0x3d23bf(0x34e)]['forEach']((_0x4b6172,_0x18ce2d)=>{const _0xfd54f3=_0x3d23bf,{range:_0x21f69c,sheetID:_0x3c94fa}=_0x4b6172,_0x43633e=this[_0xfd54f3(0x1f3)][_0xfd54f3(0x2f3)](_0x21f69c,_0x215e61=>(_0x43633e[_0xfd54f3(0x3aa)](),_0x42fb16(_0x215e61,_0x18ce2d,_0x3c94fa,_0x21f69c)));_0x130959[_0xfd54f3(0x358)](_0x43633e);});};this[_0x54e663(0x2bf)](_0x13023b[_0x54e663(0x1f8)](this[_0x54e663(0x2c5)][_0x54e663(0x310)](()=>{_0x34c55f();})));}[_0x453404(0x2ed)](){const _0x5cea50=_0x453404;var _0x3cc7c1,_0x18b659;if(this['_online']=!0x0,((_0x3cc7c1=this[_0x5cea50(0x379)][_0x5cea50(0x187)]())==null?void 0x0:_0x3cc7c1[_0x5cea50(0x2be)]())!==this[_0x5cea50(0x1b4)])return;const _0x3dccf8=(_0x18b659=this[_0x5cea50(0x1c0)][_0x5cea50(0x28f)](_0x17d085[_0x5cea50(0x2c4)])['getCurrentSelections']())==null?void 0x0:_0x18b659[0x0],_0x51d1fc=this[_0x5cea50(0x379)][_0x5cea50(0x15f)](_0x13023b['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x3dccf8&&_0x51d1fc&&this[_0x5cea50(0x367)](_0x51d1fc['getSheetId'](),_0x3dccf8);}[_0x453404(0x32d)](){const _0x6bc5c4=_0x453404;this[_0x6bc5c4(0x13a)]=!0x1;}};_0x1a04e0=_0x569ff4([_0x31bfc1(0x2,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x31bfc1(0x3,_0x13023b['Inject'](_0x39fdea)),_0x31bfc1(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x31bfc1(0x5,_0x13023b[_0x453404(0x331)]),_0x31bfc1(0x6,_0x13023b['ICommandService']),_0x31bfc1(0x7,_0x13023b[_0x453404(0x175)](_0x17d085[_0x453404(0x2d5)]))],_0x1a04e0);var _0x2811eb=Object[_0x453404(0x23f)],_0x50e047=(_0x57efeb,_0x2e6c95,_0x5057e1,_0x3bdb0d)=>{for(var _0x505ba2=_0x3bdb0d>0x1?void 0x0:_0x3bdb0d?_0x2811eb(_0x2e6c95,_0x5057e1):_0x2e6c95,_0x2bfa93=_0x57efeb['length']-0x1,_0xd37d15;_0x2bfa93>=0x0;_0x2bfa93--)(_0xd37d15=_0x57efeb[_0x2bfa93])&&(_0x505ba2=_0xd37d15(_0x505ba2)||_0x505ba2);return _0x505ba2;},_0x352428=(_0x58073f,_0x307cf8)=>(_0xf34265,_0x158d18)=>_0x307cf8(_0xf34265,_0x158d18,_0x58073f);let _0xa698e7=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x59e147,_0x2b0d85,_0x3c59c5){const _0x27809c=_0x453404;super(),_0x4ff54d(this,'_entities',new Map()),_0x4ff54d(this,'_entityInit$',new _0xe0366[(_0x27809c(0x346))]()),(this['_univerInstanceService']=_0x59e147,this[_0x27809c(0x1c0)]=_0x2b0d85,this['_collabSessionService']=_0x3c59c5,this[_0x27809c(0x224)]());}['dispose'](){const _0x192d4b=_0x453404;super[_0x192d4b(0x3aa)](),this['_entityInit$'][_0x192d4b(0x2a6)](),this['_entities']['forEach'](_0x55f9b6=>_0x55f9b6[_0x192d4b(0x3aa)]());}[_0x453404(0x267)](_0x3206ea){const _0x232473=_0x453404;return this['_entities'][_0x232473(0x138)](_0x3206ea)?this[_0x232473(0x357)]['get'](_0x3206ea)[_0x232473(0x2e2)]:this[_0x232473(0x277)][_0x232473(0x35a)](_0xe0366[_0x232473(0x325)](_0x218f87=>_0x218f87[_0x232473(0x1b4)]===_0x3206ea),_0xe0366['switchMap'](_0x1a9346=>_0x1a9346['cursorInfo$']));}['_init'](){const _0x2c9b79=_0x453404;this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)])['pipe'](_0xe0366[_0x2c9b79(0x2ba)](this['dispose$']))[_0x2c9b79(0x310)](async _0x306eeb=>{const _0x3b8e8c=_0x2c9b79,_0xcaa911=_0x306eeb[_0x3b8e8c(0x2be)](),_0x4d6a4b=await this[_0x3b8e8c(0x293)](_0xcaa911);this[_0x3b8e8c(0x277)][_0x3b8e8c(0x1a0)](_0x4d6a4b),this[_0x3b8e8c(0x357)][_0x3b8e8c(0x2ca)](_0xcaa911,_0x4d6a4b);}),this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)])[_0x2c9b79(0x35a)](_0xe0366['takeUntil'](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x325)](_0x46221c=>!_0x46221c[_0x2c9b79(0x2be)]()['startsWith']('__')))[_0x2c9b79(0x310)](async _0xbad5b5=>{const _0x2b403d=_0x2c9b79,_0x40a66e=_0xbad5b5[_0x2b403d(0x2be)](),_0x4282d0=await this[_0x2b403d(0x2ef)](_0x40a66e);this[_0x2b403d(0x277)]['next'](_0x4282d0),this['_entities'][_0x2b403d(0x2ca)](_0x40a66e,_0x4282d0);}),_0xe0366['merge'](this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)]),this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x2ba)](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x310)](_0x4e7d28=>{const _0x2ecc61=_0x2c9b79,_0x3a4a1b=_0x4e7d28[_0x2ecc61(0x2be)](),_0x4a45f4=this[_0x2ecc61(0x357)][_0x2ecc61(0x28f)](_0x3a4a1b);_0x4a45f4&&(_0x4a45f4['dispose'](),this['_entities']['delete'](_0x3a4a1b));});}async[_0x453404(0x293)](_0xe8b5c){const _0x307d20=_0x453404,_0x438ef7=await this['_collabSessionService'][_0x307d20(0x252)](_0xe8b5c),_0x1f1306=this['_injector'][_0x307d20(0x260)](_0x1a04e0,_0xe8b5c,_0x438ef7);return _0x1f1306['init'](),_0x1f1306;}async[_0x453404(0x2ef)](_0x21d94e){const _0x1fd3b7=_0x453404,_0x526a54=await this[_0x1fd3b7(0x2f7)][_0x1fd3b7(0x252)](_0x21d94e),_0x5048aa=this[_0x1fd3b7(0x1c0)][_0x1fd3b7(0x260)](_0x31024d,_0x21d94e,_0x526a54);return _0x5048aa[_0x1fd3b7(0x214)](),_0x5048aa;}};_0xa698e7=_0x50e047([_0x352428(0x0,_0x13023b[_0x453404(0x331)]),_0x352428(0x1,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x352428(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1ae)]))],_0xa698e7);const _0x3726df=0x14,_0x59e901=0xc8,_0x4c361e=0x4,_0x38d9ce=0x5;function _0x351980(_0x8f2d8b,_0x42c3c7){const _0xaa3c7a=_0x453404;let {radius:_0x1dc8c2,width:_0x2178a6,height:_0x58ddd4}=_0x42c3c7;_0x1dc8c2=_0x1dc8c2!=null?_0x1dc8c2:0x0,_0x2178a6=_0x2178a6!=null?_0x2178a6:0x1e,_0x58ddd4=_0x58ddd4!=null?_0x58ddd4:0x1e;let _0x255dd0=0x0,_0x209f2e=0x0,_0x3c49e1=0x0;_0x255dd0=_0x209f2e=_0x3c49e1=Math[_0xaa3c7a(0x173)](_0x1dc8c2,_0x2178a6/0x2,_0x58ddd4/0x2),_0x8f2d8b[_0xaa3c7a(0x297)](),_0x8f2d8b[_0xaa3c7a(0x2ae)](_0x255dd0,0x0),_0x8f2d8b['lineTo'](_0x2178a6-_0x209f2e,0x0),_0x8f2d8b['arc'](_0x2178a6-_0x209f2e,_0x209f2e,_0x209f2e,Math['PI']*0x3/0x2,0x0,!0x1),_0x8f2d8b[_0xaa3c7a(0x2fc)](_0x2178a6,_0x58ddd4-_0x3c49e1),_0x8f2d8b[_0xaa3c7a(0x159)](_0x2178a6-_0x3c49e1,_0x58ddd4-_0x3c49e1,_0x3c49e1,0x0,Math['PI']/0x2,!0x1),_0x8f2d8b['lineTo'](0x0,_0x58ddd4),_0x8f2d8b[_0xaa3c7a(0x2fc)](0x0,_0x255dd0),_0x8f2d8b['arc'](_0x255dd0,_0x255dd0,_0x255dd0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8f2d8b['closePath'](),_0x42c3c7[_0xaa3c7a(0x26c)]&&(_0x8f2d8b['save'](),_0x8f2d8b[_0xaa3c7a(0x33f)]=_0x42c3c7[_0xaa3c7a(0x26c)],_0x42c3c7[_0xaa3c7a(0x1a7)]===_0xaa3c7a(0x2b4)?_0x8f2d8b[_0xaa3c7a(0x26c)](_0xaa3c7a(0x2b4)):_0x8f2d8b[_0xaa3c7a(0x26c)](),_0x8f2d8b[_0xaa3c7a(0x1a5)]());}class _0x3d9cc8 extends _0x3b7797['Shape']{constructor(_0x51eb36,_0x330a43){const _0x269a08=_0x453404;super(_0x51eb36,_0x330a43),_0x4ff54d(this,_0x269a08(0x198)),_0x4ff54d(this,_0x269a08(0x1d2)),(this['color']=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x198)],this[_0x269a08(0x1d2)]=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x1d2)]);}static['drawWith'](_0x5d1d10,_0x7b080){const _0x452737=_0x453404,{text:_0x3dacb4,color:_0xc4ba17}=_0x7b080;_0x5d1d10['save'](),_0x5d1d10[_0x452737(0x1ce)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2426a1=_0x5d1d10['measureText'](_0x3dacb4)[_0x452737(0x1ea)],_0x3ecf0f=Math[_0x452737(0x173)](_0x2426a1+0x2*_0x4c361e,_0x59e901);_0x351980(_0x5d1d10,{'height':_0x3726df,'radius':0x4,'width':_0x3ecf0f,'fill':_0xc4ba17}),_0x5d1d10[_0x452737(0x33f)]='#FFF';const _0x19cc6a=_0x4c361e,_0x5733ab=_0x3726df-_0x38d9ce,_0x411c38=_0x59e901-0x2*_0x4c361e;if(_0x2426a1>_0x411c38){let _0x28d4a8='',_0xbd04d7=0x0;for(const _0x307506 of _0x3dacb4){const _0x475a14=_0x5d1d10[_0x452737(0x34c)](_0x307506)[_0x452737(0x1ea)];if(_0xbd04d7+_0x475a14<=_0x411c38-_0x5d1d10[_0x452737(0x34c)](_0x452737(0x157))['width'])_0x28d4a8+=_0x307506,_0xbd04d7+=_0x475a14;else{_0x28d4a8+=_0x452737(0x157);break;}}_0x5d1d10[_0x452737(0x3a6)](_0x28d4a8,_0x19cc6a,_0x5733ab);}else _0x5d1d10['fillText'](_0x3dacb4,_0x19cc6a,_0x5733ab);_0x5d1d10['restore']();}[_0x453404(0x3b3)](_0x5dc014){const _0x30b4e9=_0x453404;_0x3d9cc8[_0x30b4e9(0x36f)](_0x5dc014,this);}}const _0x2ac1ab=_0x453404(0x34f),_0x331699=_0x453404(0x2ea),_0xa403c5='collab-rect-range-',_0x369598=0x6,_0x15ca39=1.5,_0x4f36f5=0x4,_0x455014=1.5,_0x113691=_0x453404(0x3b2);class _0x3ec89e{constructor(_0x11c317,_0x3a70ed,_0x3b085d,_0x258846){const _0x51bbcd=_0x453404;_0x4ff54d(this,_0x51bbcd(0x274),[]),_0x4ff54d(this,_0x51bbcd(0x3ab),null),_0x4ff54d(this,_0x51bbcd(0x368),null),_0x4ff54d(this,'_anchorDot',null),_0x4ff54d(this,_0x51bbcd(0x158),null),_0x4ff54d(this,_0x51bbcd(0x271),null),(this[_0x51bbcd(0x31c)]=_0x11c317,this[_0x51bbcd(0x3ae)]=_0x3a70ed,this[_0x51bbcd(0x2c6)]=_0x3b085d,this[_0x51bbcd(0x1c7)]=_0x258846,this[_0x51bbcd(0x19f)]());}set[_0x453404(0x192)](_0x3eb2c3){const _0x1aaaf2=_0x453404;_0x3eb2c3?(this[_0x1aaaf2(0x14c)]&&this[_0x1aaaf2(0x14c)][_0x1aaaf2(0x355)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x1aaaf2(0x14c)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}['dispose'](){const _0x392413=_0x453404;for(const _0xb3b5e7 of this['_shapes'])_0xb3b5e7[_0x392413(0x3aa)]();this[_0x392413(0x368)]&&this[_0x392413(0x368)][_0x392413(0x3aa)](),this[_0x392413(0x14c)]&&this[_0x392413(0x14c)][_0x392413(0x3aa)](),this['_anchor']&&this[_0x392413(0x3ab)][_0x392413(0x3aa)](),this[_0x392413(0x271)]&&this[_0x392413(0x271)]();}[_0x453404(0x19f)](){const _0x566c39=_0x453404;var _0x4c1483;const {_docSkeleton:_0x13155b,_document:_0x447cf5}=this,{color:_0x46e4b3,name:_0x544d54,ranges:_0x58fc01}=this['_cursor'],_0x37bc9a=_0x447cf5[_0x566c39(0x149)](),{docsLeft:_0x58a10c,docsTop:_0x4f3def}=_0x37bc9a,_0x361fc8=new _0x229cdf[(_0x566c39(0x354))](_0x37bc9a,_0x13155b);for(const {startOffset:_0x2e5ed9,endOffset:_0x21912d,rangeType:_0x40e680,segmentId:_0x5f32fc,segmentPage:_0x5acf46,collapsed:_0xc3401,isActive:_0x4e7ab1}of _0x58fc01){const _0x5d60bd=_0x13155b[_0x566c39(0x1e2)](_0x2e5ed9,!0x0,_0x5f32fc,_0x5acf46);let _0x39c3bc=_0x13155b[_0x566c39(0x1e2)](_0x21912d,!0x0,_0x5f32fc,_0x5acf46);if(_0x39c3bc==null&&(_0x39c3bc=_0x13155b['findNodePositionByCharIndex'](_0x21912d-0x1,!0x1,_0x5f32fc,_0x5acf46)),_0x4e7ab1){const {contentBoxPointGroup:_0x3fb8e5}=_0x361fc8['getRangePointData'](_0x39c3bc,_0x39c3bc);if(_0x3fb8e5['length']===0x0)continue;this[_0x566c39(0x374)](_0x46e4b3,_0x3fb8e5,_0x58a10c,_0x4f3def,_0x544d54),this[_0x566c39(0x271)]=this[_0x566c39(0x2b8)]();}if(_0x5d60bd&&_0x39c3bc){if(_0x40e680===_0x13023b[_0x566c39(0x12a)][_0x566c39(0x124)]){const _0x2510e6=new _0x229cdf[(_0x566c39(0x1cc))](_0x37bc9a,_0x13155b),{pointGroup:_0x3eecec}=(_0x4c1483=_0x2510e6[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc))!=null?_0x4c1483:{};if(_0x3eecec==null||_0x3eecec[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x17f)](_0x46e4b3,_0x3eecec,_0x58a10c,_0x4f3def);}else{if(!_0xc3401){const {borderBoxPointGroup:_0x5c0818}=_0x361fc8[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc);if(_0x5c0818[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x2d1)](_0x46e4b3,_0x5c0818,_0x58a10c,_0x4f3def);}}}}}['_drawAnchor'](_0x3ddab4,_0x224f7f,_0x4e23e0,_0x25a872,_0x279638){const _0x5748ec=_0x453404,_0x44514=this[_0x5748ec(0x1ec)](_0x224f7f),{left:_0x346b93,top:_0x11bcf9,height:_0x3656f5}=_0x44514,_0x2c9203=this[_0x5748ec(0x134)](),_0x27c8aa=_0x455014/_0x2c9203,_0xdf9036=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b[_0x5748ec(0x338)](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872,'height':_0x3656f5,'width':_0x15ca39,'fill':_0x3ddab4||_0x3b7797['getColor'](_0x13023b['COLORS'][_0x5748ec(0x296)],0x0),'strokeWidth':_0x27c8aa,'stroke':_0x113691,'evented':!0x0});this[_0x5748ec(0x3ab)]=_0xdf9036,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xdf9036,_0x229cdf[_0x5748ec(0x28c)]);const _0x1ff351=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x4f36f5/0x2,'height':_0x4f36f5,'width':_0x4f36f5,'fill':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)][_0x5748ec(0x296)],0x0),'strokeWidth':0x0,'stroke':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)]['black'],0x0),'evented':!0x1});this[_0x5748ec(0x14c)]=_0x1ff351,this['_scene']['addObject'](_0x1ff351,_0x229cdf[_0x5748ec(0x28c)]);const _0xa78a30=new _0x3d9cc8(_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x3726df,'text':_0x279638,'color':_0x3ddab4});this[_0x5748ec(0x368)]=_0xa78a30,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xa78a30,_0x229cdf[_0x5748ec(0x28c)]),this[_0x5748ec(0x192)]=!0x1;}['_handleHover'](){const _0x5567ba=_0x453404,_0x150974=this['_anchor'][_0x5567ba(0x3a5)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x448de9=this[_0x5567ba(0x3ab)][_0x5567ba(0x292)]['subscribeEvent'](()=>{const _0x42fa82=_0x5567ba;this[_0x42fa82(0x158)]&&clearTimeout(this[_0x42fa82(0x158)]),this[_0x42fa82(0x158)]=setTimeout(()=>{const _0x4e7a66=_0x42fa82;this[_0x4e7a66(0x192)]=!0x1;},0x7d0);});return()=>{const _0x29902f=_0x5567ba;_0x150974[_0x29902f(0x3a1)](),_0x448de9[_0x29902f(0x3a1)]();};}[_0x453404(0x2d1)](_0x4381e6,_0x34eb42,_0x3ee1a8,_0x13d5e0){const _0x54bb0b=_0x453404,_0x53235b=new _0x13023b['ColorKit'](_0x4381e6)[_0x54bb0b(0x1ed)](0.2)[_0x54bb0b(0x2a9)](),_0x496a47=new _0x3b7797['RegularPolygon'](_0x331699+_0x13023b[_0x54bb0b(0x338)](_0x369598),{'pointsGroup':_0x34eb42,'fill':_0x53235b||_0x3b7797[_0x54bb0b(0x208)](_0x13023b[_0x54bb0b(0x384)][_0x54bb0b(0x296)],0.2),'left':_0x3ee1a8,'top':_0x13d5e0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54bb0b(0x274)][_0x54bb0b(0x1fe)](_0x496a47),this[_0x54bb0b(0x3ae)]['addObject'](_0x496a47,_0x229cdf[_0x54bb0b(0x28c)]);}['_drawRectRange'](_0xf26c00,_0x277320,_0x3b30b7,_0x56271d){const _0x37be23=_0x453404,_0x5e4f05=new _0x13023b[(_0x37be23(0x13f))](_0xf26c00)[_0x37be23(0x1ed)](0.2)[_0x37be23(0x2a9)](),_0x2c2dd3=new _0x3b7797[(_0x37be23(0x259))](_0xa403c5+_0x13023b['generateRandomId'](_0x369598),{'pointsGroup':_0x277320,'fill':_0x5e4f05||_0x3b7797[_0x37be23(0x208)](_0x13023b['COLORS'][_0x37be23(0x296)],0.2),'left':_0x3b30b7,'top':_0x56271d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x37be23(0x1fe)](_0x2c2dd3),this[_0x37be23(0x3ae)][_0x37be23(0x396)](_0x2c2dd3,_0x229cdf[_0x37be23(0x28c)]);}[_0x453404(0x1ec)](_0x4cb6d0){const _0x537e81=_0x4cb6d0[0x0],_0x3910d8=_0x537e81[0x0],_0x8eb559=_0x537e81[0x2],{x:_0x1e9908,y:_0x578db2}=_0x3910d8,{x:_0x4ef325,y:_0x40cbbb}=_0x8eb559;return{'left':_0x1e9908,'top':_0x578db2,'width':_0x4ef325-_0x1e9908,'height':_0x40cbbb-_0x578db2};}[_0x453404(0x134)](){const _0x295e74=_0x453404,{scaleX:_0x93b5ea,scaleY:_0x3c8ccb}=this[_0x295e74(0x3ae)][_0x295e74(0x35c)]();return Math[_0x295e74(0x15c)](_0x93b5ea,_0x3c8ccb);}}var _0x550765=Object[_0x453404(0x23f)],_0x23ed2a=(_0x403adb,_0x1529e2,_0x1c4a4c,_0xc7b5ff)=>{const _0x526571=_0x453404;for(var _0x56ff1e=_0xc7b5ff>0x1?void 0x0:_0xc7b5ff?_0x550765(_0x1529e2,_0x1c4a4c):_0x1529e2,_0x3fd1c3=_0x403adb[_0x526571(0x2f8)]-0x1,_0x462392;_0x3fd1c3>=0x0;_0x3fd1c3--)(_0x462392=_0x403adb[_0x3fd1c3])&&(_0x56ff1e=_0x462392(_0x56ff1e)||_0x56ff1e);return _0x56ff1e;},_0x5c19fc=(_0x24650a,_0x4e6d1c)=>(_0x1b6560,_0x17c2d7)=>_0x4e6d1c(_0x1b6560,_0x17c2d7,_0x24650a);let _0x4b6396=class extends _0x13023b['RxDisposable']{constructor(_0x3e4867,_0x132aca,_0x2fbf48,_0x423243,_0x4e3220){const _0x1a50d0=_0x453404;super(),_0x4ff54d(this,'_cursorShapes',[]),_0x4ff54d(this,_0x1a50d0(0x204),[]),(this[_0x1a50d0(0x30d)]=_0x3e4867,this[_0x1a50d0(0x270)]=_0x132aca,this['_collabCursorController']=_0x2fbf48,this[_0x1a50d0(0x27b)]=_0x423243,this['_themeService']=_0x4e3220,this[_0x1a50d0(0x224)]());}['_init'](){const _0x137611=_0x453404,_0x309127=this[_0x137611(0x30d)][_0x137611(0x2e4)],_0x101150=this['_docSkeletonManagerService'];this[_0x137611(0x2bf)](_0xe0366[_0x137611(0x2fe)]([this[_0x137611(0x23e)][_0x137611(0x267)](_0x309127),this['_themeService']['currentTheme$']])[_0x137611(0x35a)](_0x1a2632[_0x137611(0x246)](([_0x391e8f,_0x226940])=>({'skeleton':_0x101150[_0x137611(0x1dd)](),'cursors':[..._0x391e8f[_0x137611(0x218)]()]['flatMap'](_0x4ae734=>({..._0x4ae734,'color':this['_themeService'][_0x137611(0x191)](_0x4ae734[_0x137611(0x198)])}))})))['subscribe'](_0x40a453=>{const _0x3317ef=_0x137611;if(this[_0x3317ef(0x147)](),_0x40a453){const {skeleton:_0x43eb4f,cursors:_0x25bc5c}=_0x40a453;this['_updateCollabCursors'](_0x43eb4f,_0x25bc5c);}})),this[_0x137611(0x30a)](),this[_0x137611(0x3a3)]();}[_0x453404(0x340)](_0xbd93b0,_0x1c043e){const _0x5e4e9a=_0x453404,{scene:_0x2daad2,mainComponent:_0x1742a5}=this[_0x5e4e9a(0x30d)],_0x32019c=_0x1c043e[_0x5e4e9a(0x246)](_0x4be90f=>new _0x3ec89e(_0x4be90f,_0x2daad2,_0xbd93b0,_0x1742a5));this['_cursorShapes']=_0x32019c,this[_0x5e4e9a(0x204)]=_0x1c043e;}['_refreshCollabCursors'](){const _0xa92ff5=_0x453404;this['_removeCollabCursors']();const {scene:_0x372d6c,mainComponent:_0x4a8650}=this[_0xa92ff5(0x30d)],_0x2ca44f=this['_docSkeletonManagerService'][_0xa92ff5(0x1dd)](),_0x5295f5=this[_0xa92ff5(0x204)]['map'](_0x374c7f=>new _0x3ec89e(_0x374c7f,_0x372d6c,_0x2ca44f,_0x4a8650));this['_cursorShapes']=_0x5295f5;}[_0x453404(0x147)](){const _0x12aca5=_0x453404;this[_0x12aca5(0x37a)][_0x12aca5(0x136)](_0x32148f=>_0x32148f[_0x12aca5(0x3aa)]()),this[_0x12aca5(0x37a)]=[];}[_0x453404(0x3a3)](){const _0x594033=_0x453404,_0x3877e1=[_0x229cdf['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x594033(0x27b)]['onCommandExecuted'](_0x2bac85=>{const _0x3f528e=_0x594033;_0x3877e1[_0x3f528e(0x11e)](_0x2bac85['id'])&&_0x2bac85[_0x3f528e(0x1fd)]['unitId']===this[_0x3f528e(0x30d)]['unitId']&&this[_0x3f528e(0x25c)]();}));}[_0x453404(0x30a)](){const _0x316a54=_0x453404;this[_0x316a54(0x2bf)](_0x13023b[_0x316a54(0x356)](this[_0x316a54(0x30d)][_0x316a54(0x25b)][_0x316a54(0x21e)])[_0x316a54(0x35a)](_0x1a2632[_0x316a54(0x325)](_0xaaac89=>_0xaaac89[_0x316a54(0x335)]===_0x3b7797['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1a2632[_0x316a54(0x272)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x4b6396=_0x23ed2a([_0x5c19fc(0x1,_0x13023b[_0x453404(0x175)](_0x3679f8[_0x453404(0x258)])),_0x5c19fc(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x5c19fc(0x3,_0x13023b[_0x453404(0x2a5)]),_0x5c19fc(0x4,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x36c)]))],_0x4b6396);const _0x4798c9=0x1,_0xdf9837=1.5;class _0x2b9a5f extends _0x3b7797[_0x453404(0x385)]{constructor(_0x46f410,_0x75f95e){const _0x1d2550=_0x453404;super(_0x46f410,_0x75f95e),_0x4ff54d(this,'_color'),_0x4ff54d(this,'_hovered',!0x1),_0x4ff54d(this,'_range'),_0x4ff54d(this,_0x1d2550(0x1c5),''),_0x4ff54d(this,_0x1d2550(0x363),_0x1d2550(0x199)),_0x4ff54d(this,_0x1d2550(0x23c)),(_0x75f95e&&this[_0x1d2550(0x2b3)](_0x75f95e),this[_0x1d2550(0x3a5)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x0})),this[_0x1d2550(0x292)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x1})));}[_0x453404(0x2b3)](_0x145a73){const _0x2e3243=_0x453404;var _0x23c0de,_0x1049c8,_0x195889,_0x35a2fe,_0x1f6767,_0x286fe8;this[_0x2e3243(0x197)]=(_0x23c0de=_0x145a73[_0x2e3243(0x198)])!=null?_0x23c0de:this[_0x2e3243(0x197)],this[_0x2e3243(0x17b)]=(_0x1049c8=_0x145a73[_0x2e3243(0x172)])!=null?_0x1049c8:this['_hovered'],this[_0x2e3243(0x2cf)]=(_0x195889=_0x145a73['range'])!=null?_0x195889:this[_0x2e3243(0x2cf)],this[_0x2e3243(0x1c5)]=(_0x35a2fe=_0x145a73[_0x2e3243(0x18b)])!=null?_0x35a2fe:this['_name'],this[_0x2e3243(0x363)]=(_0x1f6767=_0x145a73['labelPosition'])!=null?_0x1f6767:this[_0x2e3243(0x363)],this[_0x2e3243(0x23c)]=(_0x286fe8=_0x145a73[_0x2e3243(0x36b)])!=null?_0x286fe8:this[_0x2e3243(0x23c)],this['transformByState']({'width':_0x145a73[_0x2e3243(0x1ea)],'height':_0x145a73[_0x2e3243(0x1bc)]});}[_0x453404(0x373)](_0x5c9646){const _0x2bd9b6=_0x453404,{row:_0x1de3ae,column:_0x1e2564}=_0x5c9646;if(_0x1de3ae>=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x162)]&&_0x1de3ae<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x2bd)]&&_0x1e2564>=this[_0x2bd9b6(0x2cf)]['startColumn']&&_0x1e2564<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x24f)]){this[_0x2bd9b6(0x2b3)]({'hovered':!0x0});return;}this[_0x2bd9b6(0x2b3)]({'hovered':!0x1});}['triggerDblclick'](_0x4fb8bd){return!0x1;}['_draw'](_0x4b1269){const _0x8d3219=_0x453404;_0x3b7797[_0x8d3219(0x237)][_0x8d3219(0x36f)](_0x4b1269,{'width':this[_0x8d3219(0x1ea)],'height':this['height'],'strokeWidth':_0xdf9837,'stroke':this[_0x8d3219(0x197)],'evented':!0x1,'fill':this[_0x8d3219(0x23c)]}),this[_0x8d3219(0x17b)]&&(_0x4b1269[_0x8d3219(0x16f)](),_0x4b1269['transform'](0x1,0x0,0x0,0x1,this[_0x8d3219(0x1ea)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x3d9cc8['drawWith'](_0x4b1269,{'text':this['_name'],'color':this[_0x8d3219(0x197)]}),_0x4b1269[_0x8d3219(0x1a5)]());}}var _0xb48789=Object['getOwnPropertyDescriptor'],_0x1e584f=(_0x587f08,_0x41b72d,_0x53950b,_0x47c52f)=>{const _0x1d9c32=_0x453404;for(var _0x84afcb=_0x47c52f>0x1?void 0x0:_0x47c52f?_0xb48789(_0x41b72d,_0x53950b):_0x41b72d,_0x3ecbf8=_0x587f08[_0x1d9c32(0x2f8)]-0x1,_0x51a6b6;_0x3ecbf8>=0x0;_0x3ecbf8--)(_0x51a6b6=_0x587f08[_0x3ecbf8])&&(_0x84afcb=_0x51a6b6(_0x84afcb)||_0x84afcb);return _0x84afcb;},_0x44ba04=(_0x2b972b,_0x53ab9c)=>(_0x2ffe76,_0x29ffdc)=>_0x53ab9c(_0x2ffe76,_0x29ffdc,_0x2b972b);const _0x62bc62=0x1389;let _0x53e774=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1fab6d,_0xcc1447,_0x54b9d6,_0x2bf3c5){const _0x4eea35=_0x453404;super(),_0x4ff54d(this,'_cursors',new Set()),_0x4ff54d(this,'_lastPointer',null),(this[_0x4eea35(0x30d)]=_0x1fab6d,this[_0x4eea35(0x12b)]=_0xcc1447,this[_0x4eea35(0x23e)]=_0x54b9d6,this['_themeService']=_0x2bf3c5,this[_0x4eea35(0x224)]());}['_init'](){const _0xf8f795=_0x453404;this[_0xf8f795(0x12b)]['currentSkeleton$'][_0xf8f795(0x35a)](_0x1a2632[_0xf8f795(0x2ba)](this[_0xf8f795(0x1e3)]),_0x1a2632[_0xf8f795(0x1a2)](_0x409805=>{const _0x5a5dbf=_0xf8f795;if(_0x409805){const _0x543f86=_0x409805[_0x5a5dbf(0x295)];return _0xe0366[_0x5a5dbf(0x2fe)](this[_0x5a5dbf(0x23e)]['getCollabCursors$'](this['_context']['unitId']),this[_0x5a5dbf(0x3a7)][_0x5a5dbf(0x166)])[_0x5a5dbf(0x35a)](_0x1a2632['map'](([_0x38649b,_0x1a18e7])=>{const _0xe3c2c1=_0x5a5dbf,_0x15e91e=new Map();return _0x38649b[_0xe3c2c1(0x136)]((_0x1a97ad,_0x5a778c)=>{const _0x15f673=_0xe3c2c1;if(_0x1a97ad[_0x15f673(0x255)]===_0x543f86){const _0x1bd32c={..._0x1a97ad};_0x1bd32c['color']=this['_themeService'][_0x15f673(0x191)](_0x1a97ad[_0x15f673(0x198)]),_0x15e91e[_0x15f673(0x2ca)](_0x5a778c,_0x1bd32c);}}),{'skeleton':_0x409805,'cursors':_0x15e91e};}));}return _0xe0366['of']({'skeleton':null,'cursors':new Map()});}))[_0xf8f795(0x310)](({skeleton:_0x1258fa,cursors:_0x3e5f2f})=>{const _0xc8da73=_0xf8f795;this['_removeCollabCursors'](),_0x1258fa&&this[_0xc8da73(0x340)](_0x1258fa,_0x3e5f2f);}),this[_0xf8f795(0x12b)][_0xf8f795(0x353)][_0xf8f795(0x310)](_0x35a31c=>{const _0x1c84e8=_0xf8f795;if(_0x35a31c==null)return;const {skeleton:_0x5a57b7}=_0x35a31c,{scene:_0xe0fbd9}=this['_context'];_0xe0fbd9['onPointerMove$'][_0x1c84e8(0x220)](_0x13023b[_0x1c84e8(0x121)](_0x409d9f=>{const _0x3d7a1f=_0x1c84e8;var _0x1e1e4c,_0x5457b8;const {offsetX:_0x53f335,offsetY:_0x5cb88f}=_0x409d9f,{x:_0x42bac5,y:_0x32be3a}=_0xe0fbd9[_0x3d7a1f(0x284)](_0x3b7797[_0x3d7a1f(0x125)]['FromArray']([_0x53f335,_0x5cb88f])),{scaleX:_0x3f2346,scaleY:_0x361087}=_0xe0fbd9[_0x3d7a1f(0x35c)](),_0x25dc8d=_0xe0fbd9[_0x3d7a1f(0x34b)](_0x3b7797[_0x3d7a1f(0x15a)][_0x3d7a1f(0x207)]),_0x6ef5a2=_0xe0fbd9[_0x3d7a1f(0x341)](_0x3b7797[_0x3d7a1f(0x125)][_0x3d7a1f(0x163)]([_0x42bac5,_0x32be3a]),_0x25dc8d),_0x602ea4=_0x5a57b7['getCellPositionByOffset'](_0x53f335,_0x5cb88f,_0x3f2346,_0x361087,_0x6ef5a2);((_0x1e1e4c=this['_lastPointer'])==null?void 0x0:_0x1e1e4c[_0x3d7a1f(0x213)])===_0x602ea4[_0x3d7a1f(0x213)]&&((_0x5457b8=this['_lastPointer'])==null?void 0x0:_0x5457b8[_0x3d7a1f(0x365)])===_0x602ea4['row']||this[_0x3d7a1f(0x204)][_0x3d7a1f(0x136)](_0x418430=>{_0x418430['onMouseMove'](_0x602ea4);});},0x64));});}[_0x453404(0x340)](_0x4ad565,_0x4ebafe){const _0x5b6f18=_0x453404;var _0x40ac82;const _0x99e3a3=(_0x40ac82=this[_0x5b6f18(0x12b)]['getCurrent']())==null?void 0x0:_0x40ac82[_0x5b6f18(0x334)];if(!_0x99e3a3)return;const _0x1c3e31=this['_getSheetObject']();if(!_0x1c3e31)return;this[_0x5b6f18(0x204)][_0x5b6f18(0x136)](_0x3341fe=>{const _0x2c3472=_0x5b6f18;_0x3341fe[_0x2c3472(0x2a1)]();});const {scene:_0x5673b8}=_0x1c3e31,_0xf0f9a7=_0x1ed3b3(Array[_0x5b6f18(0x239)](_0x4ebafe[_0x5b6f18(0x218)]()))['map'](_0x56cbfb=>{const _0x1309c8=_0x5b6f18,{color:_0x446e5f,range:_0x255910,name:_0x1df6c5,selection:_0xbc4c33,sheetID:_0x2f5525}=_0x56cbfb,{startColumn:_0x3fd78b,startRow:_0x2e4ee8,endColumn:_0xe915da,endRow:_0x1ac331}=_0x255910,_0x5db8ad=_0x128c44[_0x1309c8(0x21f)](_0x2e4ee8,_0x3fd78b,_0x5673b8,_0x99e3a3),_0x54d8dd=_0x128c44[_0x1309c8(0x21f)](_0x1ac331,_0xe915da,_0x5673b8,_0x99e3a3),{columnHeaderHeightAndMarginTop:_0xdcba6}=_0x99e3a3,{startX:_0x1e0e30,startY:_0x50be1c}=_0x5db8ad,{endX:_0xf08d8b,endY:_0x248b03}=_0x54d8dd,_0x2ca8a9=_0xf08d8b-_0x1e0e30,_0x2c84b8=_0x248b03-_0x50be1c,_0x3777f4={'labelPosition':_0x50be1c-_0xdcba6>=_0x3726df?_0x1309c8(0x199):'bottom','sheetID':_0x2f5525,'range':_0x255910,'color':_0x446e5f,'name':_0x1df6c5,'selection':_0xbc4c33,'left':_0x1e0e30,'top':_0x50be1c,'width':_0x2ca8a9,'height':_0x2c84b8,'evented':!0x1,'zIndex':_0x62bc62};return new _0x2b9a5f(_0x1df6c5,_0x3777f4);});_0x5673b8[_0x5b6f18(0x2e5)](_0xf0f9a7,_0x4798c9),this[_0x5b6f18(0x204)]=new Set(_0xf0f9a7);}['_removeCollabCursors'](){const _0x5ccade=_0x453404;var _0xa94bb1;(_0xa94bb1=this[_0x5ccade(0x204)])==null||_0xa94bb1[_0x5ccade(0x136)](_0x3c4064=>_0x3c4064[_0x5ccade(0x3aa)]());}[_0x453404(0x27f)](){const _0x22b4d7=_0x453404;return _0x128c44[_0x22b4d7(0x2a7)](this[_0x22b4d7(0x30d)][_0x22b4d7(0x35b)],this[_0x22b4d7(0x30d)]);}};_0x53e774=_0x1e584f([_0x44ba04(0x1,_0x13023b['Inject'](_0x128c44[_0x453404(0x1b6)])),_0x44ba04(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x44ba04(0x3,_0x13023b['Inject'](_0x13023b[_0x453404(0x36c)]))],_0x53e774);function _0x1ed3b3(_0x418ea7){const _0x2d4163=_0x453404,_0x3fcc1f=new Map();return _0x418ea7['forEach'](_0x43f093=>{const _0x40b337=_0x3ea2;if(_0x3fcc1f[_0x40b337(0x138)](_0x43f093[_0x40b337(0x1b1)])){const _0x2c9fa2=_0x3fcc1f[_0x40b337(0x28f)](_0x43f093[_0x40b337(0x1b1)]);_0x2c9fa2[_0x40b337(0x18b)]+=',\x20'+_0x43f093[_0x40b337(0x18b)];}else _0x3fcc1f[_0x40b337(0x2ca)](_0x43f093[_0x40b337(0x1b1)],_0x43f093);}),Array[_0x2d4163(0x239)](_0x3fcc1f[_0x2d4163(0x218)]());}var _0x3a4410=function(){const _0x15ac3a=_0x453404;return _0x3a4410=Object[_0x15ac3a(0x1b9)]||function(_0x46a331){const _0x313eb2=_0x15ac3a;for(var _0x8e981a,_0x8e6ff3=0x1,_0x4870d6=arguments[_0x313eb2(0x2f8)];_0x8e6ff3<_0x4870d6;_0x8e6ff3++){_0x8e981a=arguments[_0x8e6ff3];for(var _0x310f73 in _0x8e981a)Object[_0x313eb2(0x2e1)][_0x313eb2(0x37f)][_0x313eb2(0x333)](_0x8e981a,_0x310f73)&&(_0x46a331[_0x310f73]=_0x8e981a[_0x310f73]);}return _0x46a331;},_0x3a4410[_0x15ac3a(0x31b)](this,arguments);},_0x1abbb1=function(_0x204e1c,_0x8d71aa){const _0x401e06=_0x453404;var _0xf07439={};for(var _0x41cb0a in _0x204e1c)Object['prototype'][_0x401e06(0x37f)][_0x401e06(0x333)](_0x204e1c,_0x41cb0a)&&_0x8d71aa['indexOf'](_0x41cb0a)<0x0&&(_0xf07439[_0x41cb0a]=_0x204e1c[_0x41cb0a]);if(_0x204e1c!=null&&typeof Object[_0x401e06(0x36a)]=='function'){for(var _0x2ec74a=0x0,_0x41cb0a=Object[_0x401e06(0x36a)](_0x204e1c);_0x2ec74a<_0x41cb0a[_0x401e06(0x2f8)];_0x2ec74a++)_0x8d71aa[_0x401e06(0x140)](_0x41cb0a[_0x2ec74a])<0x0&&Object[_0x401e06(0x2e1)]['propertyIsEnumerable'][_0x401e06(0x333)](_0x204e1c,_0x41cb0a[_0x2ec74a])&&(_0xf07439[_0x41cb0a[_0x2ec74a]]=_0x204e1c[_0x41cb0a[_0x2ec74a]]);}return _0xf07439;},_0x3d7b6f=_0x52afd9[_0x453404(0x1af)](function(_0x46f246,_0x6a652c){const _0x5ad94d=_0x453404;var _0x239231=_0x46f246['icon'],_0x5af7f8=_0x46f246['id'],_0x574b43=_0x46f246[_0x5ad94d(0x25d)],_0x5c5f90=_0x46f246['extend'],_0x17d7a4=_0x1abbb1(_0x46f246,[_0x5ad94d(0x1bd),'id',_0x5ad94d(0x25d),_0x5ad94d(0x31f)]),_0x45c63b=_0x5ad94d(0x38d)[_0x5ad94d(0x195)](_0x5af7f8,'\x20')['concat'](_0x574b43||'')[_0x5ad94d(0x2a3)](),_0x3d8e88=_0x52afd9[_0x5ad94d(0x32a)]('_'[_0x5ad94d(0x195)](_0x550c99()));return _0x3831f1(_0x239231,''[_0x5ad94d(0x195)](_0x5af7f8),{'defIds':_0x239231[_0x5ad94d(0x2b5)],'idSuffix':_0x3d8e88[_0x5ad94d(0x3a4)]},_0x3a4410({'ref':_0x6a652c,'className':_0x45c63b},_0x17d7a4),_0x5c5f90);});function _0x3831f1(_0x566a23,_0x5ed6ab,_0xc3116a,_0x130a2f,_0x3377ae){const _0x3c8dcc=_0x453404;return _0x52afd9[_0x3c8dcc(0x1df)](_0x566a23[_0x3c8dcc(0x376)],_0x3a4410(_0x3a4410({'key':_0x5ed6ab},_0x4ab455(_0x566a23,_0xc3116a,_0x3377ae)),_0x130a2f),(_0x474f75(_0x566a23,_0xc3116a)[_0x3c8dcc(0x13d)]||[])['map'](function(_0x1fb875,_0x2aa6b9){const _0x4cd8c8=_0x3c8dcc;return _0x3831f1(_0x1fb875,''[_0x4cd8c8(0x195)](_0x5ed6ab,'-')[_0x4cd8c8(0x195)](_0x566a23[_0x4cd8c8(0x376)],'-')['concat'](_0x2aa6b9),_0xc3116a,void 0x0,_0x3377ae);}));}function _0x4ab455(_0x4d39fd,_0x2fc351,_0x4750ad){const _0x14d53d=_0x453404;var _0x1c78a2=_0x3a4410({},_0x4d39fd['attrs']);_0x4750ad!=null&&_0x4750ad['colorChannel1']&&_0x1c78a2[_0x14d53d(0x26c)]===_0x14d53d(0x29e)&&(_0x1c78a2[_0x14d53d(0x26c)]=_0x4750ad[_0x14d53d(0x29e)]),_0x4d39fd[_0x14d53d(0x376)]===_0x14d53d(0x2f6)&&_0x1c78a2['id']&&(_0x1c78a2['id']=_0x1c78a2['id']+_0x2fc351['idSuffix']),Object[_0x14d53d(0x11c)](_0x1c78a2)[_0x14d53d(0x136)](function(_0x1de856){const _0x29b554=_0x14d53d;var _0x91aed8=_0x1de856[0x0],_0x235781=_0x1de856[0x1];_0x91aed8===_0x29b554(0x2f6)&&typeof _0x235781==_0x29b554(0x209)&&(_0x1c78a2[_0x91aed8]=_0x235781[_0x29b554(0x329)](/url\(#(.*)\)/,'url(#$1'[_0x29b554(0x195)](_0x2fc351['idSuffix'],')')));});var _0x281372=_0x2fc351[_0x14d53d(0x2b5)];return!_0x281372||_0x281372[_0x14d53d(0x2f8)]===0x0||(_0x4d39fd['tag']===_0x14d53d(0x18e)&&_0x1c78a2[_0x14d53d(0x1d4)]&&(_0x1c78a2[_0x14d53d(0x1d4)]=_0x1c78a2[_0x14d53d(0x1d4)]+_0x2fc351['idSuffix']),Object['entries'](_0x1c78a2)[_0x14d53d(0x136)](function(_0x5e86a8){const _0x3f4a36=_0x14d53d;var _0xe5df5a=_0x5e86a8[0x0],_0x1b28a6=_0x5e86a8[0x1];typeof _0x1b28a6==_0x3f4a36(0x209)&&(_0x1c78a2[_0xe5df5a]=_0x1b28a6[_0x3f4a36(0x329)](/url\(#(.*)\)/,_0x3f4a36(0x16a)[_0x3f4a36(0x195)](_0x2fc351[_0x3f4a36(0x2c8)],')')));})),_0x1c78a2;}function _0x474f75(_0x32d3eb,_0x377dd8){const _0x4e2276=_0x453404;var _0x1b4f44,_0x84fb7f=_0x377dd8[_0x4e2276(0x2b5)];return!_0x84fb7f||_0x84fb7f[_0x4e2276(0x2f8)]===0x0?_0x32d3eb:_0x32d3eb['tag']===_0x4e2276(0x1e5)&&(!((_0x1b4f44=_0x32d3eb[_0x4e2276(0x13d)])===null||_0x1b4f44===void 0x0)&&_0x1b4f44[_0x4e2276(0x2f8)])?_0x3a4410(_0x3a4410({},_0x32d3eb),{'children':_0x32d3eb[_0x4e2276(0x13d)][_0x4e2276(0x246)](function(_0x18844a){const _0x3f0d2c=_0x4e2276;return typeof _0x18844a['attrs']['id']=='string'&&_0x84fb7f&&_0x84fb7f[_0x3f0d2c(0x11e)](_0x18844a[_0x3f0d2c(0x397)]['id'])?_0x3a4410(_0x3a4410({},_0x18844a),{'attrs':_0x3a4410(_0x3a4410({},_0x18844a[_0x3f0d2c(0x397)]),{'id':_0x18844a['attrs']['id']+_0x377dd8[_0x3f0d2c(0x2c8)]})}):_0x18844a;})}):_0x32d3eb;}function _0x550c99(){const _0xc7db21=_0x453404;return Math[_0xc7db21(0x324)]()[_0xc7db21(0x168)](0x24)[_0xc7db21(0x251)](0x2,0x8);}_0x3d7b6f[_0x453404(0x289)]=_0x453404(0x16c);var _0x31269c={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x375),'width':'1em','height':_0x453404(0x235)},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x2ab)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x453404(0x34a),'strokeLinecap':'round','strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':_0x453404(0x1e5),'attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372)}}]}]}],'defIds':[_0x453404(0x1db)]},_0x3cebac=_0x52afd9[_0x453404(0x1af)](function(_0x4bf4b7,_0x1dbdb0){const _0x25f3d1=_0x453404;return _0x52afd9[_0x25f3d1(0x1df)](_0x3d7b6f,Object[_0x25f3d1(0x1b9)]({},_0x4bf4b7,{'id':'off-line-icon','ref':_0x1dbdb0,'icon':_0x31269c}));});_0x3cebac[_0x453404(0x289)]=_0x453404(0x1ab);var _0x371317={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x347),'width':_0x453404(0x235),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x29a)},'children':[{'tag':_0x453404(0x3ac),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x453404(0x281),'strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372),'transform':_0x453404(0x141)}}]}]}],'defIds':[_0x453404(0x323)]},_0x5abf6d=_0x52afd9[_0x453404(0x1af)](function(_0x5d4e1a,_0x493604){const _0x4f7fe9=_0x453404;return _0x52afd9['createElement'](_0x3d7b6f,Object[_0x4f7fe9(0x1b9)]({},_0x5d4e1a,{'id':_0x4f7fe9(0x142),'ref':_0x493604,'icon':_0x371317}));});_0x5abf6d[_0x453404(0x289)]=_0x453404(0x1c3);function _0x1e13d9(_0x5c0c57){const _0x1c3092=_0x453404;switch(_0x5c0c57){case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x1de)]:return'collabStatus.offline';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x294)]:return _0x1c3092(0x244);case _0x2c5d3c[_0x1c3092(0x387)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x22c)]:return _0x1c3092(0x1d5);case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x205)]:case _0x2c5d3c['CollaborationStatus'][_0x1c3092(0x2e9)]:return _0x1c3092(0x343);case _0x2c5d3c[_0x1c3092(0x387)]['SYNCED']:case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x389)]:return _0x1c3092(0x122);}}function _0x20b0a0(_0x579468){const _0x26f998=_0x453404,{status$:_0x3309d6}=_0x579468,_0x578626=_0x47e75a[_0x26f998(0x17c)](_0x3309d6,_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x22c)]),_0x30bb9e=_0x47e75a[_0x26f998(0x360)](_0x13023b[_0x26f998(0x1a3)]),_0x298160=_0x47e75a[_0x26f998(0x360)](_0x2c5d3c[_0x26f998(0x1ae)]),_0x39795b=_0x578626!==_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x1de)],_0x422479=_0x30bb9e['t'](_0x1e13d9(_0x578626)),_0x5a80de=_0x39795b?_0x50649b[_0x26f998(0x21d)](_0x5abf6d,{}):_0x50649b[_0x26f998(0x21d)](_0x3cebac,{}),_0xd6438c=_0x52afd9[_0x26f998(0x2c3)](()=>{const _0x14c2b4=_0x26f998;_0x39795b||_0x298160[_0x14c2b4(0x33a)]();},[_0x39795b,_0x298160]);function _0xf96fe6(){const _0x39893b=_0x26f998;return _0x50649b[_0x39893b(0x126)](_0x39893b(0x395),{'className':_0x39893b(0x203),'onClick':_0xd6438c,'children':[_0x50649b['jsx']('div',{'className':_0x2abc24[_0x39893b(0x131)](_0x39893b(0x186),{'univer-text-green-500':_0x39795b,'univer-text-red-500':!_0x39795b}),'children':_0x5a80de}),_0x50649b['jsx'](_0x39893b(0x395),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x422479})]});}return _0x39795b?_0xf96fe6():_0x50649b['jsx'](_0x2abc24[_0x26f998(0x1a9)],{'title':_0x30bb9e['t'](_0x26f998(0x145)),'children':_0xf96fe6()});}var _0x387cba=Object[_0x453404(0x23f)],_0x1bfa70=(_0x6124a7,_0x37e7d8,_0x16c9ca,_0x277bee)=>{const _0x3d8979=_0x453404;for(var _0x4f706a=_0x277bee>0x1?void 0x0:_0x277bee?_0x387cba(_0x37e7d8,_0x16c9ca):_0x37e7d8,_0x1eedcd=_0x6124a7[_0x3d8979(0x2f8)]-0x1,_0x5e7aac;_0x1eedcd>=0x0;_0x1eedcd--)(_0x5e7aac=_0x6124a7[_0x1eedcd])&&(_0x4f706a=_0x5e7aac(_0x4f706a)||_0x4f706a);return _0x4f706a;},_0x22e8d4=(_0x20dc61,_0x9e7191)=>(_0x20ca96,_0x2ca83f)=>_0x9e7191(_0x20ca96,_0x2ca83f,_0x20dc61);_0x5d4de8['DesktopCollaborationStatusDisplayController']=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x1660d6,_0x150aec,_0x36330c,_0x282140){const _0x2fb10a=_0x453404;super(),_0x4ff54d(this,_0x2fb10a(0x26f),new _0xe0366[(_0x2fb10a(0x1cf))](_0x2c5d3c[_0x2fb10a(0x387)][_0x2fb10a(0x22c)])),(this[_0x2fb10a(0x379)]=_0x1660d6,this['_injector']=_0x150aec,this[_0x2fb10a(0x170)]=_0x36330c,this[_0x2fb10a(0x2db)]=_0x282140,this[_0x2fb10a(0x366)](),this[_0x2fb10a(0x154)]());}[_0x453404(0x154)](){const _0x26f5e0=_0x453404;this[_0x26f5e0(0x2bf)](this[_0x26f5e0(0x379)][_0x26f5e0(0x25e)][_0x26f5e0(0x35a)](_0xe0366['switchMap'](()=>{const _0x22fb4e=_0x26f5e0,_0x44c4cb=this['_univerInstanceService'][_0x22fb4e(0x187)]();return _0x44c4cb?this[_0x22fb4e(0x170)][_0x22fb4e(0x391)](_0x44c4cb[_0x22fb4e(0x2be)]()):_0xe0366['of'](null);}),_0xe0366[_0x26f5e0(0x1a2)](_0x2f0139=>_0x2f0139?_0x2f0139[_0x26f5e0(0x282)]:_0xe0366['of'](_0x2c5d3c[_0x26f5e0(0x387)]['NOT_COLLAB'])))[_0x26f5e0(0x310)](_0x596ce9=>{const _0x1c4236=_0x26f5e0;this[_0x1c4236(0x26f)][_0x1c4236(0x1a0)](_0x596ce9);}));}[_0x453404(0x366)](){const _0x3297d0=_0x453404;this[_0x3297d0(0x2bf)](this[_0x3297d0(0x2db)][_0x3297d0(0x1cd)](_0x47e75a[_0x3297d0(0x37c)][_0x3297d0(0x1e6)],()=>_0x47e75a[_0x3297d0(0x153)](_0x4b8d45({'status$':this['_status$'][_0x3297d0(0x21a)]()}),this['_injector'])));}},_0x5d4de8[_0x453404(0x2e8)]=_0x1bfa70([_0x22e8d4(0x0,_0x13023b[_0x453404(0x331)]),_0x22e8d4(0x1,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x22e8d4(0x2,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x16e)])),_0x22e8d4(0x3,_0x47e75a[_0x453404(0x2e3)])],_0x5d4de8['DesktopCollaborationStatusDisplayController']);function _0x4b8d45(_0x2bda75){const {status$:_0x18ac6a}=_0x2bda75;return function(){const _0x4f15c4=_0x3ea2;return _0x50649b[_0x4f15c4(0x21d)](_0x20b0a0,{'status$':_0x18ac6a});};}var _0xa88c5d=Object[_0x453404(0x23f)],_0xda9bea=(_0x2ba259,_0x147c14,_0x11fa59,_0x1f7e31)=>{for(var _0xd5f620=_0x1f7e31>0x1?void 0x0:_0x1f7e31?_0xa88c5d(_0x147c14,_0x11fa59):_0x147c14,_0x4d395d=_0x2ba259['length']-0x1,_0x4341e9;_0x4d395d>=0x0;_0x4d395d--)(_0x4341e9=_0x2ba259[_0x4d395d])&&(_0xd5f620=_0x4341e9(_0xd5f620)||_0xd5f620);return _0xd5f620;},_0x4ebd0f=(_0x15f720,_0x1252f8)=>(_0x2ab1e4,_0x1bd839)=>_0x1252f8(_0x2ab1e4,_0x1bd839,_0x15f720);let _0x5e5da6=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x372ea0,_0xb0600e,_0x583f28,_0x4de4eb,_0x5a087c,_0x5e08fe){const _0x196415=_0x453404;super(),this[_0x196415(0x234)]=_0x372ea0,this[_0x196415(0x28d)]=_0xb0600e,this[_0x196415(0x12d)]=_0x583f28,this[_0x196415(0x2bb)]=_0x4de4eb,this[_0x196415(0x23b)]=_0x5a087c,this[_0x196415(0x1c1)]=_0x5e08fe,this[_0x196415(0x14b)](),this[_0x196415(0x1c9)]();}['_setupBeforeClosingHandler'](){const _0x2d4ab9=_0x453404;this[_0x2d4ab9(0x2bf)](this[_0x2d4ab9(0x234)][_0x2d4ab9(0x1b0)](()=>{const _0x3af168=_0x2d4ab9;if(this[_0x3af168(0x28d)][_0x3af168(0x38b)][_0x3af168(0x156)])return this[_0x3af168(0x1c1)]['t'](_0x3af168(0x247));}));}[_0x453404(0x1c9)](){const _0x3a4cbc=_0x453404;this[_0x3a4cbc(0x2bf)](this['_collaborationUIEventService']['event$'][_0x3a4cbc(0x310)](_0x2249ff=>{const _0x12b0df=_0x3a4cbc;_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x28b)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)]['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2ad))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId'][_0x12b0df(0x1da)]&&this[_0x12b0df(0x23b)][_0x12b0df(0x243)]({'title':this[_0x12b0df(0x1c1)]['t']('permission.title'),'content':this['_localeService']['t'](_0x12b0df(0x33d)),'type':_0x12b0df(0x132),'duration':0x0}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)]['CONFLICT']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType'][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))+'('+_0x2249ff[_0x12b0df(0x311)]+')'}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x2cb)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x1f1)],'content':this['_localeService']['t'](_0x2249ff['data']||'')}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x1d0)]&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x288))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x169)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Error'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x14a))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x280)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x232))});}));}};_0x5e5da6=_0xda9bea([_0x4ebd0f(0x0,_0x47e75a[_0x453404(0x174)]),_0x4ebd0f(0x1,_0x2c5d3c[_0x453404(0x229)]),_0x4ebd0f(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1c6)])),_0x4ebd0f(0x3,_0x47e75a[_0x453404(0x37d)]),_0x4ebd0f(0x4,_0x47e75a[_0x453404(0x180)]),_0x4ebd0f(0x5,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x5e5da6);const _0x1bf45d='collaboration-client-ui.config',_0x4c331d={},_0x12858b=_0x13023b[_0x453404(0x308)](_0x453404(0x20b));var _0x77e4b6=Object[_0x453404(0x23f)],_0x4994e1=(_0x21e7a3,_0x3a68ad,_0x555e18,_0x5495a0)=>{const _0x561e98=_0x453404;for(var _0x5ae961=_0x5495a0>0x1?void 0x0:_0x5495a0?_0x77e4b6(_0x3a68ad,_0x555e18):_0x3a68ad,_0x330b40=_0x21e7a3[_0x561e98(0x2f8)]-0x1,_0x1ad1c7;_0x330b40>=0x0;_0x330b40--)(_0x1ad1c7=_0x21e7a3[_0x330b40])&&(_0x5ae961=_0x1ad1c7(_0x5ae961)||_0x5ae961);return _0x5ae961;},_0x15287f=(_0x160220,_0x431ef4)=>(_0x3dc11a,_0x4e2b95)=>_0x431ef4(_0x3dc11a,_0x4e2b95,_0x160220);_0x5d4de8['CollaborationDataLoaderController']=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x387192,_0x431234,_0xfa469f,_0x89354f,_0x20869f){const _0x1ed6b4=_0x453404;super(),this[_0x1ed6b4(0x254)]=_0x387192,this[_0x1ed6b4(0x1c8)]=_0x431234,this[_0x1ed6b4(0x27b)]=_0xfa469f,this[_0x1ed6b4(0x13e)]=_0x89354f,_0x20869f?_0x20869f==null||_0x20869f[_0x1ed6b4(0x249)]()[_0x1ed6b4(0x1d1)](()=>this[_0x1ed6b4(0x224)]()):(this[_0x1ed6b4(0x1c8)][_0x1ed6b4(0x361)](_0x1ed6b4(0x26b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1ed6b4(0x224)]());}async[_0x453404(0x224)](){const _0x5d8f58=_0x453404,_0x3af7ef=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x35b)),_0x5ea0e4=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x335)),_0x47e316=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x320));if(!_0x3af7ef||!_0x5ea0e4){this[_0x5d8f58(0x1c8)][_0x5d8f58(0x361)](_0x5d8f58(0x26b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xbf90c0=await this['_dataLoaderService'][_0x5d8f58(0x143)](_0x3af7ef,Number(_0x5ea0e4),_0x47e316);_0xbf90c0&&_0xbf90c0 instanceof _0x13023b[_0x5d8f58(0x164)]&&this[_0x5d8f58(0x301)](_0xbf90c0);}async['_setupSubUnitSync'](_0xccaf5f){const _0x2d0568=_0x453404;await this[_0x2d0568(0x27a)](_0xccaf5f),_0xccaf5f[_0x2d0568(0x1c2)]['pipe'](_0xe0366['takeUntil'](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](_0x279bf7=>{const _0x34be2f=_0x2d0568;_0x279bf7&&this[_0x34be2f(0x24c)](_0x279bf7);}),this[_0x2d0568(0x254)][_0x2d0568(0x30b)][_0x2d0568(0x35a)](_0xe0366[_0x2d0568(0x2ba)](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](()=>this[_0x2d0568(0x27a)](_0xccaf5f));}[_0x453404(0x24c)](_0x5143e7,_0x46b96a=!0x1){const _0x4ec873=_0x453404,_0x2d4d0f=this['_urlService'][_0x4ec873(0x210)](_0x4ec873(0x320));_0x5143e7[_0x4ec873(0x155)]()!==_0x2d4d0f&&this[_0x4ec873(0x254)]['setParam'](_0x4ec873(0x320),_0x5143e7[_0x4ec873(0x155)](),_0x46b96a);}async[_0x453404(0x27a)](_0x4b7b91){const _0x3ff445=_0x453404;var _0x419c17;const _0x127436=this[_0x3ff445(0x254)]['getParam'](_0x3ff445(0x320));if(!_0x127436||!_0x4b7b91['getSheetBySheetId'](_0x127436)){const _0x1f2c04=_0x4b7b91['getUnhiddenWorksheets']()[0x0],_0x53839a=_0x4b7b91[_0x3ff445(0x120)](_0x1f2c04);if(!_0x53839a)return;this['_updateURLWithCurrentState'](_0x53839a,!0x0),await this['_commandService'][_0x3ff445(0x312)](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x1f2c04});return;}((_0x419c17=_0x4b7b91[_0x3ff445(0x286)]())==null?void 0x0:_0x419c17[_0x3ff445(0x155)]())!==_0x127436&&await this['_commandService']['executeCommand'](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x127436});}},_0x5d4de8[_0x453404(0x1f9)]=_0x4994e1([_0x15287f(0x0,_0x12858b),_0x15287f(0x1,_0x13023b[_0x453404(0x38f)]),_0x15287f(0x2,_0x13023b[_0x453404(0x2a5)]),_0x15287f(0x3,_0x13023b['Inject'](_0x2c5d3c['DataLoaderService'])),_0x15287f(0x4,_0x13023b[_0x453404(0x2e7)](_0x4e87ce[_0x453404(0x216)]))],_0x5d4de8['CollaborationDataLoaderController']);var _0x542c94=Object['getOwnPropertyDescriptor'],_0x1d07e2=(_0x3fea87,_0x514368,_0xef5d2,_0xdf520e)=>{const _0x36f78c=_0x453404;for(var _0x133c3e=_0xdf520e>0x1?void 0x0:_0xdf520e?_0x542c94(_0x514368,_0xef5d2):_0x514368,_0x51ab53=_0x3fea87[_0x36f78c(0x2f8)]-0x1,_0xfdbe2f;_0x51ab53>=0x0;_0x51ab53--)(_0xfdbe2f=_0x3fea87[_0x51ab53])&&(_0x133c3e=_0xfdbe2f(_0x133c3e)||_0x133c3e);return _0x133c3e;},_0x25a26a=(_0x4c253b,_0x44815c)=>(_0x4c75a3,_0x130157)=>_0x44815c(_0x4c75a3,_0x130157,_0x4c253b);let _0x46c579=class{constructor(_0x23c0b3,_0x665fa5,_0x10fe02){const _0x4321c7=_0x453404;this[_0x4321c7(0x1c0)]=_0x23c0b3,this[_0x4321c7(0x285)]=_0x665fa5,this[_0x4321c7(0x201)]=_0x10fe02;}[_0x453404(0x256)](_0x35f2f6){const _0x59b0e9=_0x453404;this['_transformUndoRedoStack'](_0x35f2f6),this[_0x59b0e9(0x223)](_0x35f2f6);}[_0x453404(0x1e9)](_0x256a55){const _0x5c2e5a=_0x453404,{unitID:_0x12a56}=_0x256a55,_0x3c223e=this[_0x5c2e5a(0x201)][_0x5c2e5a(0x36e)](_0x12a56)[_0x5c2e5a(0x350)](_0x229cdf[_0x5c2e5a(0x129)]),{redoCache:_0x5f3c0f}=_0x3c223e[_0x5c2e5a(0x36d)]();if(_0x5f3c0f['length']===0x0)return _0x256a55;let _0x21f913=_0x13023b[_0x5c2e5a(0x2de)][_0x5c2e5a(0x25a)](_0x256a55[_0x5c2e5a(0x342)][0x0]);for(let _0x35e173=0x0;_0x35e173<_0x5f3c0f['length'];_0x35e173++){const _0x148af0={'id':'doc.mutation.rich-text-editing','params':{..._0x5f3c0f[_0x35e173]}},_0x3e0d6f=this[_0x5c2e5a(0x285)][_0x5c2e5a(0x2ac)](_0x21f913,_0x148af0,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x3e0d6f))throw _0x3e0d6f['error'];_0x21f913=_0x3e0d6f[_0x5c2e5a(0x266)];}return{..._0x13023b[_0x5c2e5a(0x2de)]['deepClone'](_0x256a55),'mutations':[_0x21f913]};}['_transformUndoRedoStack'](_0x33e0fb){const _0xcd1444=_0x453404,{unitID:_0x56e6f8}=_0x33e0fb,_0x4cfffd=this['_renderManagerService'][_0xcd1444(0x36e)](_0x56e6f8)[_0xcd1444(0x350)](_0x229cdf[_0xcd1444(0x129)]),{undoCache:_0xcdd899,redoCache:_0x21800c}=_0x4cfffd[_0xcd1444(0x36d)]();if(_0xcdd899[_0xcd1444(0x2f8)]===0x0||_0x21800c[_0xcd1444(0x2f8)]===0x0)return;const _0x5805b8=[],_0x57bad5=[];let _0x19601d=_0x13023b[_0xcd1444(0x2de)]['deepClone'](_0x33e0fb[_0xcd1444(0x342)][0x0]),_0xad8664=_0x13023b[_0xcd1444(0x2de)][_0xcd1444(0x25a)](_0x33e0fb['mutations'][0x0]);for(let _0x16ed06=_0xcdd899['length']-0x1;_0x16ed06>=0x0;_0x16ed06--){const _0x400d04={'id':_0xcd1444(0x139),'params':{..._0xcdd899[_0x16ed06]}},_0x45f575={'id':_0xcd1444(0x139),'params':{..._0x21800c[_0x16ed06]}},_0x1a1c68=this[_0xcd1444(0x285)][_0xcd1444(0x2ac)](_0x19601d,_0x400d04,!0x1),_0x25b713=this['_transformService'][_0xcd1444(0x2ac)](_0xad8664,_0x45f575,!0x1);if(_0x2db34e[_0xcd1444(0x287)](_0x1a1c68))throw _0x1a1c68[_0xcd1444(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x25b713))throw _0x25b713[_0xcd1444(0x132)];_0x5805b8[_0xcd1444(0x269)](_0x1a1c68['m2Prime']['params']),_0x57bad5[_0xcd1444(0x269)](_0x25b713[_0xcd1444(0x371)][_0xcd1444(0x1fd)]),_0x19601d=_0x1a1c68[_0xcd1444(0x266)],_0xad8664=_0x25b713[_0xcd1444(0x266)];}_0x4cfffd[_0xcd1444(0x2d3)]({'undoCache':_0x5805b8,'redoCache':_0x57bad5});}[_0x453404(0x223)](_0x69c436){const _0x25ae89=_0x453404,{unitID:_0x5e07cd}=_0x69c436,_0x4eb786=this['_renderManagerService'][_0x25ae89(0x36e)](_0x5e07cd)[_0x25ae89(0x350)](_0x229cdf[_0x25ae89(0x129)]),_0x166c0c=_0x4eb786[_0x25ae89(0x3b4)]();if(_0x166c0c==null)return;const _0x46467d=[{'id':_0x25ae89(0x139),'params':{'unitId':_0x69c436[_0x25ae89(0x1b4)],'actions':null,'textRanges':[_0x166c0c]}}],_0x26e2db=this['_transformService'][_0x25ae89(0x221)](_0x69c436,_0x46467d);if(!_0x2db34e[_0x25ae89(0x22e)](_0x26e2db))throw _0x26e2db[_0x25ae89(0x132)];const _0x3980fa=_0x26e2db[_0x25ae89(0x371)][0x0]['params'][_0x25ae89(0x2eb)];Array[_0x25ae89(0x32c)](_0x3980fa)&&_0x3980fa[_0x25ae89(0x2f8)]&&_0x4eb786['setActiveRange'](_0x3980fa[0x0]);}};_0x46c579=_0x1d07e2([_0x25a26a(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x25a26a(0x1,_0x2db34e[_0x453404(0x348)]),_0x25a26a(0x2,_0x3b7797[_0x453404(0x242)])],_0x46c579);var _0x5127b6=Object[_0x453404(0x23f)],_0x3e55d1=(_0x5c9767,_0x228c6f,_0xcfbc03,_0x555e44)=>{const _0xdfb79c=_0x453404;for(var _0x4904ad=_0x555e44>0x1?void 0x0:_0x555e44?_0x5127b6(_0x228c6f,_0xcfbc03):_0x228c6f,_0x576c67=_0x5c9767[_0xdfb79c(0x2f8)]-0x1,_0xda3623;_0x576c67>=0x0;_0x576c67--)(_0xda3623=_0x5c9767[_0x576c67])&&(_0x4904ad=_0xda3623(_0x4904ad)||_0x4904ad);return _0x4904ad;},_0x5b9ed3=(_0x212c6c,_0x51de4f)=>(_0x18d8a4,_0x4fb12d)=>_0x51de4f(_0x18d8a4,_0x4fb12d,_0x212c6c);let _0x41657f=class{constructor(_0x364b39,_0x2d20d6,_0x1e0617){const _0x526c22=_0x453404;this[_0x526c22(0x1c0)]=_0x364b39,this[_0x526c22(0x285)]=_0x2d20d6,this[_0x526c22(0x250)]=_0x1e0617;}[_0x453404(0x15b)](_0x558ff2){const _0x3581e1=_0x453404;this[_0x3581e1(0x2bc)](_0x558ff2);}[_0x453404(0x1e9)](_0x4b5eea){const _0x44dff0=_0x453404,{unitID:_0x1d7994}=_0x4b5eea,{collaboration:_0x4cbc03}=this['_docStateChangeManagerService']['getStateCache'](_0x1d7994);if(_0x4cbc03[_0x44dff0(0x2f8)]===0x0)return _0x4b5eea;let _0x20f2d1=_0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea['mutations'][0x0]);for(let _0x4c2f69=0x0;_0x4c2f69<_0x4cbc03[_0x44dff0(0x2f8)];_0x4c2f69++){const _0x8782e8={'id':_0x44dff0(0x139),'params':{'unitId':_0x4cbc03[_0x4c2f69][_0x44dff0(0x2e4)],..._0x4cbc03[_0x4c2f69]['redoState']}},_0x383fc1=this[_0x44dff0(0x285)]['transformMutation'](_0x20f2d1,_0x8782e8,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x383fc1))throw _0x383fc1[_0x44dff0(0x132)];_0x20f2d1=_0x383fc1[_0x44dff0(0x266)];}return{..._0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea),'mutations':[_0x20f2d1]};}['_transformHistoryAndStateStack'](_0x4f5ed5){const _0x26e210=_0x453404,{unitID:_0x3e4b46}=_0x4f5ed5,{history:_0x1ba0ab,collaboration:_0x36a7f6}=this[_0x26e210(0x250)][_0x26e210(0x3ad)](_0x3e4b46);if(_0x1ba0ab[_0x26e210(0x2f8)]===0x0&&_0x36a7f6[_0x26e210(0x2f8)]===0x0)return;const _0x27b916=[],_0x5134d9=[];let _0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)]['deepClone'](_0x4f5ed5[_0x26e210(0x342)][0x0]);for(let _0x1dd9e3=_0x1ba0ab[_0x26e210(0x2f8)]-0x1;_0x1dd9e3>=0x0;_0x1dd9e3--){const _0x285985={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3]['undoState']}},_0xe4377b={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3][_0x26e210(0x177)]}},_0x3c33af=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x285985,!0x1),_0x32ae6f=this['_transformService'][_0x26e210(0x2ac)](_0x40b175,_0xe4377b,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x3c33af))throw _0x3c33af[_0x26e210(0x132)];if(_0x2db34e[_0x26e210(0x287)](_0x32ae6f))throw _0x32ae6f[_0x26e210(0x132)];_0x27b916[_0x26e210(0x269)]({..._0x1ba0ab[_0x1dd9e3],'undoState':_0x3c33af[_0x26e210(0x371)]['params'],'redoState':_0x32ae6f[_0x26e210(0x371)]['params']}),_0x53358e=_0x3c33af['m1Prime'],_0x40b175=_0x32ae6f[_0x26e210(0x266)];}_0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5['mutations'][0x0]);for(let _0x5bf195=_0x36a7f6['length']-0x1;_0x5bf195>=0x0;_0x5bf195--){const _0x308ff2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195][_0x26e210(0x2e4)],..._0x36a7f6[_0x5bf195][_0x26e210(0x1a1)]}},_0x1dcc5e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195]['unitId'],..._0x36a7f6[_0x5bf195][_0x26e210(0x177)]}},_0x5b0aa7=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x308ff2,!0x1),_0x23c350=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x40b175,_0x1dcc5e,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x5b0aa7))throw _0x5b0aa7[_0x26e210(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x23c350))throw _0x23c350[_0x26e210(0x132)];_0x5134d9[_0x26e210(0x269)]({..._0x36a7f6[_0x5bf195],'undoState':_0x5b0aa7[_0x26e210(0x371)][_0x26e210(0x1fd)],'redoState':_0x23c350[_0x26e210(0x371)][_0x26e210(0x1fd)]}),_0x53358e=_0x5b0aa7['m1Prime'],_0x40b175=_0x23c350[_0x26e210(0x266)];}this[_0x26e210(0x250)][_0x26e210(0x18c)](_0x3e4b46,{'history':_0x27b916,'collaboration':_0x5134d9});}};_0x41657f=_0x3e55d1([_0x5b9ed3(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x5b9ed3(0x1,_0x2db34e['ITransformService']),_0x5b9ed3(0x2,_0x13023b['Inject'](_0x229cdf[_0x453404(0x225)]))],_0x41657f);var _0x3d3169=Object['getOwnPropertyDescriptor'],_0x267746=(_0x30df0a,_0x31363d,_0x39ff59,_0x5456d8)=>{const _0x59d29f=_0x453404;for(var _0x5b4799=_0x5456d8>0x1?void 0x0:_0x5456d8?_0x3d3169(_0x31363d,_0x39ff59):_0x31363d,_0x514afb=_0x30df0a[_0x59d29f(0x2f8)]-0x1,_0x3bdb3b;_0x514afb>=0x0;_0x514afb--)(_0x3bdb3b=_0x30df0a[_0x514afb])&&(_0x5b4799=_0x3bdb3b(_0x5b4799)||_0x5b4799);return _0x5b4799;},_0x301ec6=(_0x144383,_0x449806)=>(_0x2fc78b,_0x236047)=>_0x449806(_0x2fc78b,_0x236047,_0x144383);let _0x256c9d=class{constructor(_0x48020c,_0x3bdfa2){const _0x2a36d7=_0x453404;this[_0x2a36d7(0x1c0)]=_0x48020c,this[_0x2a36d7(0x285)]=_0x3bdfa2;}['transformSelections'](_0x3ec0ed){const _0x45019a=_0x453404;var _0x31ec73;const _0x3312b2=this['_injector'][_0x45019a(0x28f)](_0x3679f8[_0x45019a(0x1ac)]),_0x30a41a=(_0x31ec73=_0x3312b2[_0x45019a(0x2c2)]())!=null?_0x31ec73:[];if(_0x30a41a['length']===0x0)return;const _0x10f640=_0x3ec0ed[_0x45019a(0x1b4)],_0x294336=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10f640,'actions':null,'textRanges':_0x30a41a}}],_0x37074c=this[_0x45019a(0x285)]['transformMutationsWithChangeset'](_0x3ec0ed,_0x294336);if(!_0x2db34e[_0x45019a(0x22e)](_0x37074c))throw _0x37074c[_0x45019a(0x132)];const _0x2e4eb9=_0x37074c[_0x45019a(0x371)][0x0][_0x45019a(0x1fd)][_0x45019a(0x2eb)];Array[_0x45019a(0x32c)](_0x2e4eb9)&&_0x2e4eb9['length']&&_0x3312b2[_0x45019a(0x226)](_0x2e4eb9,{'unitId':_0x10f640,'subUnitId':_0x10f640},!0x1);}};_0x256c9d=_0x267746([_0x301ec6(0x0,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x301ec6(0x1,_0x2db34e[_0x453404(0x348)])],_0x256c9d);var _0x23427f=Object[_0x453404(0x23f)],_0x489d5f=(_0x281490,_0x23c094,_0x186a49,_0x3b6493)=>{for(var _0x392854=_0x3b6493>0x1?void 0x0:_0x3b6493?_0x23427f(_0x23c094,_0x186a49):_0x23c094,_0xb14f98=_0x281490['length']-0x1,_0x1a50d4;_0xb14f98>=0x0;_0xb14f98--)(_0x1a50d4=_0x281490[_0xb14f98])&&(_0x392854=_0x1a50d4(_0x392854)||_0x392854);return _0x392854;},_0x395cee=(_0x4d27d0,_0x5a52f4)=>(_0x31d62b,_0x3b794c)=>_0x5a52f4(_0x31d62b,_0x3b794c,_0x4d27d0);let _0x24d9bb=class extends _0x13023b['Disposable']{constructor(_0x846ba0,_0x51ce38,_0x898869,_0x537bdf,_0x3e640f,_0x310484,_0x552eb2,_0x498cf8){const _0x3a4c68=_0x453404;super(),_0x4ff54d(this,_0x3a4c68(0x26f),new _0xe0366[(_0x3a4c68(0x1cf))](_0x2c5d3c[_0x3a4c68(0x387)][_0x3a4c68(0x22c)])),(this[_0x3a4c68(0x250)]=_0x846ba0,this['_collaborationController']=_0x51ce38,this[_0x3a4c68(0x230)]=_0x898869,this[_0x3a4c68(0x2f5)]=_0x537bdf,this[_0x3a4c68(0x20e)]=_0x3e640f,this[_0x3a4c68(0x307)]=_0x310484,this[_0x3a4c68(0x2bb)]=_0x552eb2,this[_0x3a4c68(0x1c1)]=_0x498cf8,this[_0x3a4c68(0x257)]());}['_initEntityListener'](){const _0x1cd932=_0x453404;this[_0x1cd932(0x2bf)](this[_0x1cd932(0x170)]['entityInit$'][_0x1cd932(0x310)](_0x4539f1=>{const _0x42b574=_0x1cd932,_0x414502=this[_0x42b574(0x250)][_0x42b574(0x17d)][_0x42b574(0x310)](_0x195964=>{const _0x25c9f5=_0x42b574;if(_0x195964==null)return;const {unitId:_0x58b8e5,redoState:_0x350259,commandId:_0x2b9647}=_0x195964;if(_0x58b8e5!==_0x4539f1[_0x25c9f5(0x1b4)])return;const _0x4480f9={'id':_0x2b9647,'type':_0x13023b['CommandType'][_0x25c9f5(0x212)],'params':{'unitId':_0x58b8e5,'actions':_0x350259[_0x25c9f5(0x19c)],'textRanges':null}};_0x4539f1[_0x25c9f5(0x20a)](_0x4480f9);});if(_0x4539f1[_0x42b574(0x2bf)](_0x414502),_0x4539f1 instanceof _0x2c5d3c[_0x42b574(0x1ba)]){const _0x4dda3b={'onTransformIME':_0x4ce66a=>this[_0x42b574(0x230)][_0x42b574(0x256)](_0x4ce66a),'onTransformState':_0xa9946=>this[_0x42b574(0x2f5)][_0x42b574(0x15b)](_0xa9946),'onTransformSelections':_0x4d2de4=>this['_docTransformSelectionsService'][_0x42b574(0x144)](_0x4d2de4),'onSyncEditingCollabCursor':_0x450364=>this[_0x42b574(0x307)]['syncEditingCollabCursor'](_0x450364),'onTransformRemoteChangesetByIMECache':_0x2f47b8=>this[_0x42b574(0x230)][_0x42b574(0x1e9)](_0x2f47b8),'onTransformRemoteChangesetByStateCache':_0x9c85c6=>this[_0x42b574(0x2f5)][_0x42b574(0x1e9)](_0x9c85c6)};_0x4539f1[_0x42b574(0x1ca)](_0x4dda3b);}}));}};_0x24d9bb=_0x489d5f([_0x395cee(0x0,_0x13023b[_0x453404(0x175)](_0x229cdf[_0x453404(0x225)])),_0x395cee(0x1,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x16e)])),_0x395cee(0x2,_0x13023b[_0x453404(0x175)](_0x46c579)),_0x395cee(0x3,_0x13023b['Inject'](_0x41657f)),_0x395cee(0x4,_0x13023b[_0x453404(0x175)](_0x256c9d)),_0x395cee(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x395cee(0x6,_0x47e75a[_0x453404(0x37d)]),_0x395cee(0x7,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x24d9bb);var _0x29dfe4=Object[_0x453404(0x23f)],_0x1b6058=(_0x3c29c4,_0x2759a5,_0x4be9ff,_0x108041)=>{for(var _0x34e889=_0x108041>0x1?void 0x0:_0x108041?_0x29dfe4(_0x2759a5,_0x4be9ff):_0x2759a5,_0x4ae331=_0x3c29c4['length']-0x1,_0x80de85;_0x4ae331>=0x0;_0x4ae331--)(_0x80de85=_0x3c29c4[_0x4ae331])&&(_0x34e889=_0x80de85(_0x34e889)||_0x34e889);return _0x34e889;},_0x50a135=(_0x538870,_0x19ec46)=>(_0x3bb4ba,_0x2358f0)=>_0x19ec46(_0x3bb4ba,_0x2358f0,_0x538870);let _0xd50634=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x59ea7a,_0x37d5f6,_0x4d0956){const _0x35821c=_0x453404;super(),_0x4ff54d(this,'_cachedData',new Map()),_0x4ff54d(this,_0x35821c(0x15e),new Map()),_0x4ff54d(this,_0x35821c(0x22d),!0x1),(this['_configService']=_0x59ea7a,this[_0x35821c(0x1a8)]=_0x37d5f6,this['_revisionService']=_0x4d0956);}[_0x453404(0x2aa)](){const _0x35f931=_0x453404;this[_0x35f931(0x22d)]=!0x0;}[_0x453404(0x182)](){const _0x516620=_0x453404;this[_0x516620(0x22d)]=!0x1;}get[_0x453404(0x38b)](){return this['_saveTaskMap'];}[_0x453404(0x3aa)](){const _0xcf1918=_0x453404;this[_0xcf1918(0x2b2)]()[_0xcf1918(0x1d1)](()=>super[_0xcf1918(0x3aa)]());}async[_0x453404(0x3b1)](_0x257917){const _0x28809f=_0x453404;return this[_0x28809f(0x22d)]?null:this[_0x28809f(0x1a8)]['getItem'](_0x2c5d3c[_0x28809f(0x386)](_0x257917));}async[_0x453404(0x193)](_0x4aea11,_0x21ab4c){const _0x3e8d2c=_0x453404;return!!this[_0x3e8d2c(0x1a8)][_0x3e8d2c(0x38c)](_0x4aea11,_0x21ab4c);}[_0x453404(0x178)](_0x348ba9,_0x475e4a,_0x269349,_0x5d1c94){const _0x163d23=_0x453404,_0x14cfbd=this['_revisionService'][_0x163d23(0x1e8)](_0x348ba9);this[_0x163d23(0x316)]['set'](_0x348ba9,{'unitID':_0x348ba9,'type':_0x475e4a,'awaitingChangeset':_0x269349,'mutations':_0x5d1c94,'rev':_0x14cfbd}),this['_saveTaskMap'][_0x163d23(0x138)](_0x348ba9)||this[_0x163d23(0x1f0)](_0x348ba9);}[_0x453404(0x1f0)](_0x1e1058){const _0x628f8b=_0x453404,_0xd693bc=this['_getSaveTimeout']();_0xd693bc===0x0?this['_saveCache'](_0x1e1058):this[_0x628f8b(0x15e)]['set'](_0x1e1058,setTimeout(()=>this[_0x628f8b(0x211)](_0x1e1058),_0xd693bc));}['_getSaveTimeout'](){const _0x3b4b5f=_0x453404;var _0x18918e;return(_0x18918e=this[_0x3b4b5f(0x1d9)]['getConfig'](_0x2c5d3c['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x18918e:_0x2c5d3c[_0x3b4b5f(0x328)];}['_saveCache'](_0x380907){const _0x3f44f6=_0x453404,_0x11e58e=this[_0x3f44f6(0x15e)][_0x3f44f6(0x28f)](_0x380907);return _0x11e58e!==void 0x0&&window[_0x3f44f6(0x29d)](_0x11e58e),this[_0x3f44f6(0x1a8)]['setItem'](_0x2c5d3c['getLocalCacheKey'](_0x380907),this[_0x3f44f6(0x316)][_0x3f44f6(0x28f)](_0x380907))[_0x3f44f6(0x1d1)](()=>this[_0x3f44f6(0x15e)][_0x3f44f6(0x206)](_0x380907));}async[_0x453404(0x2b2)](){const _0x4c838f=_0x453404,_0x5a4238=[];this[_0x4c838f(0x15e)][_0x4c838f(0x136)]((_0x44dced,_0x5469ac)=>{const _0x3f7138=_0x4c838f;window[_0x3f7138(0x29d)](_0x44dced),_0x5a4238[_0x3f7138(0x1fe)](this[_0x3f7138(0x211)](_0x5469ac)[_0x3f7138(0x1d1)](()=>{this['_saveTaskMap']['delete'](_0x5469ac);}));}),await Promise[_0x4c838f(0x344)](_0x5a4238);}};_0xd50634=_0x1b6058([_0x50a135(0x0,_0x13023b[_0x453404(0x245)]),_0x50a135(0x1,_0x13023b[_0x453404(0x19d)]),_0x50a135(0x2,_0x13023b['Inject'](_0x2db34e[_0x453404(0x128)]))],_0xd50634);class _0x5e3f87 extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x3bc579=_0x453404;super(),_0x4ff54d(this,'urlChange$'),this['urlChange$']=_0xe0366['fromEvent'](window,_0x3bc579(0x2a4))[_0x3bc579(0x35a)](_0xe0366[_0x3bc579(0x2ba)](this[_0x3bc579(0x1e3)]),_0xe0366[_0x3bc579(0x18a)](0x1),_0xe0366[_0x3bc579(0x31e)](void 0x0));}[_0x453404(0x13b)](_0x1f3283,_0xf280c1,_0xc0224=!0x1){const _0x54a820=_0x453404,_0x443999=new URL(window[_0x54a820(0x2d0)][_0x54a820(0x339)]);_0x443999['searchParams'][_0x54a820(0x2ca)](_0x1f3283,_0xf280c1),_0xc0224?window[_0x54a820(0x1f7)][_0x54a820(0x1fc)]('','',_0x443999[_0x54a820(0x168)]()):window[_0x54a820(0x1f7)][_0x54a820(0x160)]('','',_0x443999['toString']());}[_0x453404(0x1aa)](_0x5032bb,_0x57f844=!0x1){const _0x13a32b=_0x453404,_0x4206f3=new URL(window[_0x13a32b(0x2d0)][_0x13a32b(0x339)]);_0x4206f3['searchParams'][_0x13a32b(0x206)](_0x5032bb),_0x57f844?window[_0x13a32b(0x1f7)][_0x13a32b(0x1fc)]('','',_0x4206f3['toString']()):window[_0x13a32b(0x1f7)][_0x13a32b(0x160)]('','',_0x4206f3['toString']());}[_0x453404(0x210)](_0x39a1a8){const _0x34de7a=_0x453404;var _0x4b28bf;return(_0x4b28bf=new URL(window['location'][_0x34de7a(0x339)])[_0x34de7a(0x27d)][_0x34de7a(0x28f)](_0x39a1a8))!=null?_0x4b28bf:void 0x0;}}var _0x5cdd0b=Object[_0x453404(0x188)],_0x39b438=Object[_0x453404(0x23f)],_0x4e56c8=(_0x2faf47,_0x52c178,_0x19a748)=>_0x52c178 in _0x2faf47?_0x5cdd0b(_0x2faf47,_0x52c178,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19a748}):_0x2faf47[_0x52c178]=_0x19a748,_0x32473d=(_0x514d9f,_0x293f08,_0x1e97c7,_0x19c9f7)=>{const _0x210bf1=_0x453404;for(var _0x1d7b47=_0x19c9f7>0x1?void 0x0:_0x19c9f7?_0x39b438(_0x293f08,_0x1e97c7):_0x293f08,_0x5c8635=_0x514d9f[_0x210bf1(0x2f8)]-0x1,_0x476be7;_0x5c8635>=0x0;_0x5c8635--)(_0x476be7=_0x514d9f[_0x5c8635])&&(_0x1d7b47=_0x476be7(_0x1d7b47)||_0x1d7b47);return _0x1d7b47;},_0x5e3c00=(_0x89fbcc,_0x5c442a)=>(_0x1d05dc,_0x5941d3)=>_0x5c442a(_0x1d05dc,_0x5941d3,_0x89fbcc),_0x3f9191=(_0x17aa34,_0x5cdcb2,_0x27c72e)=>_0x4e56c8(_0x17aa34,_0x5cdcb2+'',_0x27c72e);const _0xf9a98b=_0x453404(0x1d8);_0x5d4de8['UniverCollaborationClientUIPlugin']=class extends _0x13023b[_0x453404(0x1eb)]{constructor(_0x4cd80c=_0x4c331d,_0x572688,_0x2e8584,_0x570975){const _0x3c48f0=_0x453404;super(),this['_config']=_0x4cd80c,this['_renderManagerService']=_0x572688,this[_0x3c48f0(0x1c0)]=_0x2e8584,this[_0x3c48f0(0x1d9)]=_0x570975;const {..._0x452217}=_0x13023b['merge']({},_0x4c331d,this['_config']);this['_configService']['setConfig'](_0x1bf45d,_0x452217);}[_0x453404(0x276)](){const _0xc00f27=_0x453404;this[_0xc00f27(0x364)](),this[_0xc00f27(0x1ee)]();}[_0x453404(0x38a)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x580e95=_0x453404;var _0x46dc5c;const _0x398de1=[[_0x39fdea],[_0x256c9d],[_0x46c579],[_0x41657f],[_0x1373ab],[_0x12858b,{'useClass':_0x5e3f87}],[_0x562449[_0x580e95(0x28a)],{'useClass':_0x562449[_0x580e95(0x377)]}],[_0x2c5d3c[_0x580e95(0x229)],{'useClass':_0xd50634}],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0xa698e7],[_0x5d6e1b],[_0x5d4de8[_0x580e95(0x1f9)]]];_0x13023b[_0x580e95(0x304)](this['_injector'],_0x13023b['mergeOverrideWithDependencies'](_0x398de1,(_0x46dc5c=this[_0x580e95(0x398)])==null?void 0x0:_0x46dc5c['override']));}[_0x453404(0x314)](){const _0xe91479=_0x453404;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x13023b['UniverInstanceType'][_0xe91479(0x35d)],[_0x4b6396])),this[_0xe91479(0x2bf)](this[_0xe91479(0x201)]['registerRenderModule'](_0x13023b[_0xe91479(0x39d)][_0xe91479(0x2f4)],[_0x53e774]));}[_0x453404(0x1ee)](){const _0x189c11=_0x453404;_0x13023b[_0x189c11(0x33e)](this[_0x189c11(0x1c0)],[[_0xa698e7],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0x5d4de8[_0x189c11(0x1f9)]]]);}},_0x3f9191(_0x5d4de8[_0x453404(0x24e)],'pluginName',_0xf9a98b),_0x5d4de8[_0x453404(0x24e)]=_0x32473d([_0x13023b[_0x453404(0x1b2)](_0x2c5d3c[_0x453404(0x34d)]),_0x5e3c00(0x1,_0x3b7797[_0x453404(0x242)]),_0x5e3c00(0x2,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x5e3c00(0x3,_0x13023b[_0x453404(0x245)])],_0x5d4de8['UniverCollaborationClientUIPlugin']);var _0x9ad916=Object[_0x453404(0x23f)],_0x2a8968=(_0x575fb7,_0x4ff8e6,_0x12a41a,_0x5c06d7)=>{const _0x18be05=_0x453404;for(var _0x38f2a9=_0x5c06d7>0x1?void 0x0:_0x5c06d7?_0x9ad916(_0x4ff8e6,_0x12a41a):_0x4ff8e6,_0x296277=_0x575fb7[_0x18be05(0x2f8)]-0x1,_0x4aa657;_0x296277>=0x0;_0x296277--)(_0x4aa657=_0x575fb7[_0x296277])&&(_0x38f2a9=_0x4aa657(_0x38f2a9)||_0x38f2a9);return _0x38f2a9;},_0x4bd213=(_0x601b4e,_0x3294bb)=>(_0x484b19,_0x3c4ecc)=>_0x3294bb(_0x484b19,_0x3c4ecc,_0x601b4e);_0x5d4de8[_0x453404(0x261)]=class extends _0x2c5d3c[_0x453404(0x217)]{constructor(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427){super(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427);}async[_0x453404(0x26a)](_0x283623){const _0x2160e6=_0x453404,_0x30576d=await this[_0x2160e6(0x1be)](),_0x4a3293=this[_0x2160e6(0x3a9)](_0x283623,_0x30576d);return this[_0x2160e6(0x1b7)](_0x4a3293);}[_0x453404(0x3a9)](_0x273faa,_0x1581ef){const _0xad0bb7=_0x453404,_0x46c7ff=typeof window>'u'?new URL(_0x273faa):new URL(_0x273faa,window[_0xad0bb7(0x2d0)][_0xad0bb7(0x378)]);_0x46c7ff[_0xad0bb7(0x27d)]['set'](_0xad0bb7(0x302),_0x1581ef);const _0x2f32ac=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xad0bb7(0x2d0)][_0xad0bb7(0x264)]);return _0x2f32ac['get']('runId')&&_0x46c7ff[_0xad0bb7(0x27d)][_0xad0bb7(0x2ca)](_0xad0bb7(0x16b),_0x2f32ac[_0xad0bb7(0x28f)](_0xad0bb7(0x16b))),_0x46c7ff[_0xad0bb7(0x168)]();}async[_0x453404(0x1be)](){const _0x493efb=_0x453404;var _0x1c00aa,_0x4fd594,_0x206feb;const _0x355428=this[_0x493efb(0x1d9)]['getConfig'](_0x2c5d3c[_0x493efb(0x24a)]),_0x305b66=(_0x1c00aa=_0x355428==null?void 0x0:_0x355428[_0x493efb(0x263)])!=null?_0x1c00aa:_0x2c5d3c[_0x493efb(0x22f)];return(_0x206feb=(_0x4fd594=(await this[_0x493efb(0x1ef)][_0x493efb(0x28f)](_0x305b66,{'headers':{'Content-Type':'application/json'}}))[_0x493efb(0x19e)])==null?void 0x0:_0x4fd594['ticket'])!=null?_0x206feb:'';}},_0x5d4de8[_0x453404(0x261)]=_0x2a8968([_0x4bd213(0x0,_0x13023b['Inject'](_0x13023b['Injector'])),_0x4bd213(0x1,_0x13023b[_0x453404(0x175)](_0x562449[_0x453404(0x2b6)])),_0x4bd213(0x2,_0x13023b[_0x453404(0x245)]),_0x4bd213(0x3,_0x13023b[_0x453404(0x38f)]),_0x4bd213(0x4,_0x2db34e['ISnapshotServerService'])],_0x5d4de8[_0x453404(0x261)]);const _0x416e8c=0x7530,_0x3549eb=_0x453404(0x23a);class _0x507e04 extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x5d5360=_0x453404;super(),_0x4ff54d(this,_0x5d5360(0x33b),_0x13023b['generateRandomId']()),_0x4ff54d(this,_0x5d5360(0x2fd),new Set()),_0x4ff54d(this,_0x5d5360(0x123),new Map()),_0x4ff54d(this,'_heartbeatTimer',null),_0x4ff54d(this,_0x5d5360(0x176),new Map()),_0x4ff54d(this,'_unitStatus',new Map()),this[_0x5d5360(0x224)]();}[_0x453404(0x3aa)](){const _0x2dcc95=_0x453404;super[_0x2dcc95(0x3aa)](),this[_0x2dcc95(0x176)][_0x2dcc95(0x136)]((_0x41ad4d,_0x5930cf)=>this['_removeClearOtherTimer'](_0x5930cf)),this[_0x2dcc95(0x1b8)]&&window[_0x2dcc95(0x2d7)](this[_0x2dcc95(0x1b8)]);}[_0x453404(0x345)](_0x240cb7){const _0x3b83fd=_0x453404;return this[_0x3b83fd(0x2b9)](_0x240cb7)[_0x3b83fd(0x35a)](_0xe0366[_0x3b83fd(0x215)]());}['editingUnit'](_0x35637e){const _0x4460fa=_0x453404;this['_selfUnitIDs']['size']===0x0&&this[_0x4460fa(0x219)](),this[_0x4460fa(0x2fd)][_0x4460fa(0x358)](_0x35637e),this[_0x4460fa(0x2df)]({'type':0x0,'memberID':this[_0x4460fa(0x33b)],'unitIDs':[_0x35637e],'isForwarded':!0x1});}[_0x453404(0x2ff)](_0x56467b){const _0x37b5f3=_0x453404;this['_selfUnitIDs'][_0x37b5f3(0x206)](_0x56467b),this[_0x37b5f3(0x2fd)]['size']===0x0&&this[_0x37b5f3(0x1b8)]&&window[_0x37b5f3(0x2d7)](this['_heartbeatTimer']);}['_init'](){const _0x37b80b=_0x453404;this[_0x37b80b(0x2bf)](_0x13023b[_0x37b80b(0x1f8)](_0xe0366[_0x37b80b(0x135)](window,_0x37b80b(0x327))[_0x37b80b(0x310)](_0x1a73f5=>{const _0x8896fa=_0x37b80b;if(_0x1a73f5[_0x8896fa(0x30f)]!==_0x3549eb||!_0x1a73f5[_0x8896fa(0x321)])return;const _0xe08c2b=JSON[_0x8896fa(0x337)](_0x1a73f5[_0x8896fa(0x321)]);this[_0x8896fa(0x119)](_0xe08c2b);}))),window[_0x37b80b(0x27c)]('unload',()=>this[_0x37b80b(0x2df)]({'type':0x1,'memberID':this[_0x37b80b(0x33b)],'unitIDs':Array[_0x37b80b(0x239)](this[_0x37b80b(0x2fd)])}));}[_0x453404(0x119)](_0x2f994d){const _0x1dafe0=_0x453404;switch(_0x2f994d['type']){case 0x0:this[_0x1dafe0(0x18d)](_0x2f994d);break;case 0x1:this['_handleLeaveEvent'](_0x2f994d);break;case 0x2:this[_0x1dafe0(0x318)](_0x2f994d);break;}}[_0x453404(0x18d)](_0x1c99c0){const _0x4be4cb=_0x453404,{unitIDs:_0x5d02f7,memberID:_0x5e811f,isForwarded:_0x41a713}=_0x1c99c0;_0x5d02f7[_0x4be4cb(0x136)](_0x7b4d4d=>{const _0x1fc6b2=_0x4be4cb;if(!_0x41a713&&this[_0x1fc6b2(0x123)][_0x1fc6b2(0x138)](_0x7b4d4d)&&this[_0x1fc6b2(0x2b9)](_0x7b4d4d)[_0x1fc6b2(0x1a0)](_0x2c5d3c[_0x1fc6b2(0x300)][_0x1fc6b2(0x228)]),!this['_unitOnClients']['has'](_0x7b4d4d)||!this[_0x1fc6b2(0x123)][_0x1fc6b2(0x28f)](_0x7b4d4d)[_0x1fc6b2(0x138)](_0x5e811f)){const _0x411381=this[_0x1fc6b2(0x123)]['get'](_0x7b4d4d)||new Set();_0x411381[_0x1fc6b2(0x358)](_0x5e811f),this[_0x1fc6b2(0x123)][_0x1fc6b2(0x2ca)](_0x7b4d4d,_0x411381),this[_0x1fc6b2(0x31a)](_0x5e811f);}}),_0x41a713||this[_0x4be4cb(0x2df)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4be4cb(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x386dc6){const _0x3f81ae=_0x453404;this[_0x3f81ae(0x179)](_0x386dc6);const _0x3ec40a=window[_0x3f81ae(0x181)](()=>{const _0x150aad=_0x3f81ae;this[_0x150aad(0x123)][_0x150aad(0x136)](_0x33f140=>{_0x33f140['delete'](_0x386dc6);});},_0x416e8c*0x2);this[_0x3f81ae(0x176)][_0x3f81ae(0x2ca)](_0x386dc6,_0x3ec40a);}['_removeClearOtherTimer'](_0x46ff56){const _0x412368=_0x453404;if(this[_0x412368(0x176)][_0x412368(0x138)](_0x46ff56)){const _0x1c6520=this['_clearOtherTimers'][_0x412368(0x28f)](_0x46ff56);_0x1c6520&&window[_0x412368(0x29d)](_0x1c6520),this[_0x412368(0x176)][_0x412368(0x2ca)](_0x46ff56,null);}}[_0x453404(0x30c)](_0x571f0c){const _0x41568c=_0x453404,{memberID:_0x41975b,unitIDs:_0x1af087}=_0x571f0c;_0x1af087['forEach'](_0x2887ec=>{const _0x4bc79e=_0x3ea2;var _0x34101b;const _0x3de0ff=this[_0x4bc79e(0x123)]['get'](_0x2887ec);_0x3de0ff&&(_0x3de0ff['delete'](_0x41975b),(_0x34101b=this[_0x4bc79e(0x2b9)](_0x2887ec))==null||_0x34101b['next'](_0x3de0ff['size']===0x0?_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x2da)]:_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x228)]));}),this[_0x41568c(0x179)](_0x41975b);}[_0x453404(0x318)](_0x4e4e93){const _0x4cf44d=_0x453404;this[_0x4cf44d(0x31a)](_0x4e4e93[_0x4cf44d(0x12c)]);}[_0x453404(0x2df)](_0x604212){const _0x23c836=_0x453404;localStorage[_0x23c836(0x38c)](_0x3549eb,JSON[_0x23c836(0x2b1)](_0x604212));}[_0x453404(0x219)](){const _0x32ca39=_0x453404;this[_0x32ca39(0x1b8)]=window[_0x32ca39(0x11d)](()=>{const _0x4bd2bf=_0x32ca39;this[_0x4bd2bf(0x2df)]({'type':0x2,'memberID':this[_0x4bd2bf(0x33b)]});},_0x416e8c);}[_0x453404(0x2b9)](_0x3e022f){const _0x2bb939=_0x453404;return this[_0x2bb939(0x11f)][_0x2bb939(0x138)](_0x3e022f)||this[_0x2bb939(0x11f)][_0x2bb939(0x2ca)](_0x3e022f,new _0xe0366['BehaviorSubject'](_0x2c5d3c[_0x2bb939(0x300)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2bb939(0x11f)][_0x2bb939(0x28f)](_0x3e022f);}}var _0x5bfddd=(_0x3162f2=>(_0x3162f2[_0x3162f2[_0x453404(0x1d7)]=0x0]='UNDEFINED',_0x3162f2[_0x3162f2['OK']=0x1]='OK',_0x3162f2[_0x3162f2['INTERNAL_ERROR']=0x2]=_0x453404(0x24d),_0x3162f2[_0x3162f2[_0x453404(0x1da)]=0x3]='PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x15d)]=0x4]='NOT_FOUND',_0x3162f2[_0x3162f2['UNAUTHENTICATED']=0x5]=_0x453404(0x14d),_0x3162f2[_0x3162f2[_0x453404(0x392)]=0x6]=_0x453404(0x392),_0x3162f2[_0x3162f2['INVALID_ARGUMENT']=0x7]=_0x453404(0x21b),_0x3162f2[_0x3162f2[_0x453404(0x319)]=0x8]='TOO_MANY_REQUESTS',_0x3162f2[_0x3162f2[_0x453404(0x3b0)]=0x9]=_0x453404(0x3b0),_0x3162f2[_0x3162f2[_0x453404(0x1ff)]=0xa]='LOGIN_FAILED',_0x3162f2[_0x3162f2['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x453404(0x1fb),_0x3162f2[_0x3162f2[_0x453404(0x183)]=0xc]=_0x453404(0x183),_0x3162f2[_0x3162f2[_0x453404(0x273)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3162f2[_0x3162f2[_0x453404(0x146)]=0xe]=_0x453404(0x146),_0x3162f2[_0x3162f2[_0x453404(0x2a8)]=0x1389]=_0x453404(0x2a8),_0x3162f2[_0x3162f2[_0x453404(0x2f1)]=0x1771]=_0x453404(0x2f1),_0x3162f2[_0x3162f2[_0x453404(0x393)]=0x1772]=_0x453404(0x393),_0x3162f2[_0x3162f2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x453404(0x1f5),_0x3162f2[_0x3162f2[_0x453404(0x383)]=0x1b59]=_0x453404(0x383),_0x3162f2[_0x3162f2[_0x453404(0x2cd)]=0x1b5a]=_0x453404(0x2cd),_0x3162f2[_0x3162f2[_0x453404(0x279)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3162f2[_0x3162f2['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x303)]=0x1b5d]='APPLY_DUPLICATED',_0x3162f2[_0x3162f2[_0x453404(0x1b5)]=0x1f41]=_0x453404(0x1b5),_0x3162f2[_0x3162f2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x453404(0x1fa),_0x3162f2[_0x3162f2[_0x453404(0x1f2)]=0x232a]=_0x453404(0x1f2),_0x3162f2[_0x3162f2[_0x453404(0x359)]=0x232b]=_0x453404(0x359),_0x3162f2[_0x3162f2[_0x453404(0x2ce)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3162f2[_0x3162f2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x453404(0x222),_0x3162f2[_0x3162f2[_0x453404(0x26d)]=0x2711]=_0x453404(0x26d),_0x3162f2[_0x3162f2[_0x453404(0x362)]=0x2712]=_0x453404(0x362),_0x3162f2[_0x3162f2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x453404(0x1a4),_0x3162f2[_0x3162f2[_0x453404(0x12f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3162f2[_0x3162f2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x453404(0x241),_0x3162f2[_0x3162f2[_0x453404(0x37e)]=0x271b]=_0x453404(0x37e),_0x3162f2[_0x3162f2[_0x453404(0x369)]=0x271c]=_0x453404(0x369),_0x3162f2[_0x3162f2[_0x453404(0x317)]=0x271d]=_0x453404(0x317),_0x3162f2[_0x3162f2[_0x453404(0x39b)]=0x271e]=_0x453404(0x39b),_0x3162f2[_0x3162f2[_0x453404(0x306)]=0x271f]=_0x453404(0x306),_0x3162f2[_0x3162f2[_0x453404(0x39f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3162f2[_0x3162f2[_0x453404(0x17a)]=0x2af9]=_0x453404(0x17a),_0x3162f2[_0x3162f2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x453404(0x32f),_0x3162f2[_0x3162f2['INVALID_INVITE_CODE']=0x2ee2]=_0x453404(0x1cb),_0x3162f2[_0x3162f2[_0x453404(0x1bb)]=0x2ee3]=_0x453404(0x1bb),_0x3162f2[_0x3162f2[_0x453404(0x2e0)]=0x2ee4]=_0x453404(0x2e0),_0x3162f2[_0x3162f2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2ee)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x275)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2f2)]=0x32cb]=_0x453404(0x2f2),_0x3162f2[_0x3162f2['UNRECOGNIZED']=-0x1]=_0x453404(0x265),_0x3162f2))(_0x5bfddd||{}),_0x8b29d4=Object[_0x453404(0x23f)],_0x40fb1d=(_0x511be7,_0x261856,_0x4e9d02,_0x3545e2)=>{const _0x13536a=_0x453404;for(var _0x3ba611=_0x3545e2>0x1?void 0x0:_0x3545e2?_0x8b29d4(_0x261856,_0x4e9d02):_0x261856,_0x360eb7=_0x511be7[_0x13536a(0x2f8)]-0x1,_0xc1e82c;_0x360eb7>=0x0;_0x360eb7--)(_0xc1e82c=_0x511be7[_0x360eb7])&&(_0x3ba611=_0xc1e82c(_0x3ba611)||_0x3ba611);return _0x3ba611;},_0x1fda07=(_0x1baf9f,_0x15df6c)=>(_0x4f50a7,_0x35c06a)=>_0x15df6c(_0x4f50a7,_0x35c06a,_0x1baf9f);_0x5d4de8[_0x453404(0x2d9)]=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x152008,_0x5e4518,_0xcc2c33){const _0x18e66d=_0x453404;super(),this[_0x18e66d(0x231)]=_0x152008,this[_0x18e66d(0x1ef)]=_0x5e4518,this['_configService']=_0xcc2c33;}async['runOnServer'](_0x5e8ef6,_0x34eb5d,_0x2b6d7c,..._0x215071){const _0x157e16=_0x453404;var _0x4ad45d,_0x5eeab0,_0x598682,_0x27489e;const _0x419ea8=this[_0x157e16(0x231)][_0x157e16(0x187)]();if(!_0x419ea8)throw new Error(_0x157e16(0x1dc));const _0x3e4de0=((_0x4ad45d=this[_0x157e16(0x1d9)][_0x157e16(0x39e)](_0x2c5d3c[_0x157e16(0x27e)]))!=null?_0x4ad45d:_0x2c5d3c[_0x157e16(0x184)])+'/'+_0x5e8ef6+_0x157e16(0x1c4)+_0x34eb5d,_0x4138d2=new URL(window['location'][_0x157e16(0x339)]),_0x4d5206={'scriptId':_0x5e8ef6,'runId':(_0x5eeab0=_0x4138d2[_0x157e16(0x27d)]['get']('runId'))!=null?_0x5eeab0:'','function':_0x34eb5d,'unitId':_0x419ea8[_0x157e16(0x2be)](),'argsOfFunction':JSON[_0x157e16(0x2b1)](_0x215071),'invokeId':(_0x598682=_0x2b6d7c[_0x157e16(0x202)])!=null?_0x598682:'','executionId':(_0x27489e=_0x2b6d7c[_0x157e16(0x20d)])!=null?_0x27489e:''};try{const _0x4f688f=await this[_0x157e16(0x1ef)]['post'](_0x3e4de0,{'body':_0x4d5206});return _0x4f688f['body'][_0x157e16(0x132)]&&_0x4f688f[_0x157e16(0x19e)]['error']['code']!==_0x5bfddd['OK']?_0x157e16(0x370):_0x4f688f[_0x157e16(0x19e)][_0x157e16(0x2f9)];}catch{return _0x157e16(0x370);}}},_0x5d4de8[_0x453404(0x2d9)]=_0x40fb1d([_0x1fda07(0x0,_0x13023b['IUniverInstanceService']),_0x1fda07(0x1,_0x13023b['Inject'](_0x562449[_0x453404(0x2b6)])),_0x1fda07(0x2,_0x13023b[_0x453404(0x245)])],_0x5d4de8[_0x453404(0x2d9)]),_0x5d4de8[_0x453404(0x12e)]=_0x12858b,_0x5d4de8['SheetCollabCursorShape']=_0x2b9a5f,_0x5d4de8['WebBrowserSingleActiveUnitService']=_0x507e04,_0x5d4de8[_0x453404(0x349)]=_0x5e3f87,Object[_0x453404(0x188)](_0x5d4de8,Symbol[_0x453404(0x1a6)],{'value':_0x453404(0x2cc)});}));function _0x5b5a(){const _0x283a03=['EMAIL_VERIFY_CODE_MISMATCH','_shapes','MOBILE_HAS_BEEN_BOUND','onStarting','_entityInit$','handleIRemoveRow','APPLY_REVISION_CONFILICT','_updateSubUnitFromURLParams','_commandService','addEventListener','searchParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSheetObject','SUBMIT_CHANGESET_TIMEOUT','round','status$','@univerjs/docs','getRelativeToViewportCoord','_transformService','getActiveSheet','isTransformMutationFailure','session.will-retry','displayName','ISocketService','OTHER_CLIENT_EDITING','TEXT_RANGE_LAYER_INDEX','_localCacheService','_syncEditingCollabCursorService','get','isEditing','eventID','onPointerLeave$','_startSheetCollabCursor','CONFLICT','sheetId','black','beginPath','UniverDesign','onCommandExecuted','url(#on-line-icon_clip0_910_349)','EffectRefRangId','handleMoveRange','clearTimeout','colorChannel1','DeleteRangeMoveLeftCommandId','_docClipboardService','makeDirty','collaboration.closeRoom','trim','popstate','ICommandService','complete','getSheetObject','CHANGESET_REVISION_CONFILICT','toRgbString','disableLocalCache','url(#off-line-icon_clip0_910_343)','transformMutation','collaboration.single-unit.warning','moveTo','rxjs','getUniverSheetInstance','stringify','exhaustSavingTask','setShapeProps','evenodd','defIds','HTTPService','UniverProCollaboration','_handleHover','_ensureSubject','takeUntil','_messageService','_transformHistoryAndStateStack','endRow','getUnitId','disposeWithMe','amd','_assignedColors','getDocRanges','useCallback','SheetsSelectionsService','_cursorInfo$','_docSkeleton','@univerjs-pro/collaboration','idSuffix','1690752wryUWh','set','JOIN_ROOM_FAILED','Module','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_EXPORT_SIZE_EXCEEDED','_range','location','_drawTextRange','192690KQffFn','setUndoRedoMutationParamsCache','3263248XdCZeP','RefRangeService','UniverEngineFormula','clearInterval','Unknown\x20user','RemoteUniscriptService','NO_OTHER_CLIENTS_EDITING','_uiPartsService','MessageType','React','Tools','_send','USER_NOT_INVITED_CODE','prototype','cursorInfo$','IUIPartsService','unitId','addObjects','Rectangle','Optional','DesktopCollaborationStatusDisplayController','AWAITING_WITH_PENDING','collab-text-range-','textRanges','SetSelectionsOperation','_toggleOnline','WECHAT_HAS_BEEN_BOUND','_startDocCollabCursor','collabCursorState$','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_HAS_BEEN_BOUND','registerRefRange','UNIVER_SHEET','_docTransformStateCacheService','mask','_collabSessionService','length','result','DeleteRangeMoveUpCommandId','green.600','lineTo','_selfUnitIDs','combineLatest','disposeUnit','UnitStatus','_setupSubUnitSync','sessionTicket','APPLY_DUPLICATED','registerDependencies','operators','YUUMI_AI_RUN_FAILED','_docSyncEditingCollabCursorService','createIdentifier','handleDeleteRangeMoveUp','_initResize','urlChange$','_handleLeaveEvent','_context','UniverProCollaborationClient','key','subscribe','data','executeCommand','_onRefRangeChange','_registerRenderDependencies','SetWorksheetActivateCommand','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','_handleHeartbeatEvent','TOO_MANY_REQUESTS','_scheduleClearOtherTimer','apply','_cursor','getRangePointData','mapTo','extend','subunit','newValue','white','on-line-icon_clip0_910_349','random','filter','yellow.400','storage','LOCAL_CACHE_INTERVAL','replace','useRef','UniverRpc','isArray','_toggleOffline','saveImage','INVITE_CODE_HAS_BEEN_UES','red.300','IUniverInstanceService','http://www.w3.org/2000/svg','call','skeleton','type','getValue','parse','generateRandomId','href','reconnect','_id','_colorIndex','permission.content','touchDependencies','fillStyle','_updateCollabCursors','getVpScrollXYInfoByPosToVp','mutations','collabStatus.syncing','all','getUnitStatus$','Subject','0\x200\x2017\x2016','ITransformService','WebURLService','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','getViewport','measureText','UniverCollaborationClientPlugin','cursorInfo','collab-text-anchor-','with','RxDisposable','@univerjs/design','currentSkeleton$','NodePositionConvertToCursor','hide','fromEventSubject','_entities','add','LICENSE_IMPORT_SIZE_EXCEEDED','pipe','unit','getAncestorScale','UNIVER_DOC','_roomMembers$','react/jsx-runtime','useDependency','debug','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','_registerDependencies','row','_initStatusComponent','_updateLocalCursor','_textBubble','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getOwnPropertySymbols','backgroundColor','ThemeService','getUndoRedoMutationParamsCache','getRenderById','drawWith','Failed','m2Prime','M0\x200H16V16H0z','onMouseMove','_drawAnchor','0\x200\x2016\x2016','tag','WebSocketService','origin','_univerInstanceService','_cursorShapes','deserializeRangeWithSheet','BuiltInUIPart','IMessageService','YUUMI_ASYNCIO_CANCELLED','hasOwnProperty','handleDeleteRangeMoveLeft','_onCursorUpdate','667279aLWSDD','APPLY_REJECT','COLORS','Shape','getLocalCacheKey','CollaborationStatus','imageSourceType','PENDING','onRendered','saveTaskMap','setItem','univerjs-icon\x20univerjs-icon-','exports','ILogService','svg','getCollabEntity$','ALREADY_EXISTS','SNAPSHOT_HAS_BEEN_REMOVED','RemoveRowCommandId','div','addObject','attrs','_config','none','send','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addClipboardHook','UniverInstanceType','getConfig','YUUMI_CONNECTOR_URL_NOT_FOUND','342900AzvBjF','unsubscribe','clipPath','_initCommandExecutedListener','current','onPointerEnter$','fillText','_themeService','@univerjs/docs-ui','_createSocketURL','dispose','_anchor','path','getStateCache','_scene','roomMembers','COMPLETION_FINISHED','loadOfflineData','rgba(255,\x20255,\x20255,\x200.01)','_draw','getActiveRange','Error','CollaborationUIEventId','subUnitId','TEXT','_handleEvent','USERS_LEAVE','_session','entries','setInterval','includes','_unitStatus','getSheetBySheetId','debounce','collabStatus.synced','_unitOnClients','RECT','Vector2','jsxs','InsertRangeMoveDownCommandId','RevisionService','DocIMEInputManagerService','DOC_RANGE_TYPE','_sheetSkeletonManagerService','memberID','_collaborationUIEventService','IURLService','YUUMI_SUBSCRIPTION_NOT_FOUND','handleIRemoveCol','clsx','error','event$','_getScale','fromEvent','forEach','isActive','has','doc.mutation.rich-text-editing','_online','setParam','ranges','children','_dataLoaderService','ColorKit','indexOf','translate(.97)','on-line-icon','loadUnit','transformSelections','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_removeCollabCursors','_imageIoService','getOffsetConfig','session.connection-failed','_setupBeforeClosingHandler','_anchorDot','UNAUTHENTICATED','handleInsertRangeMoveRight','MoveRangeCommandId','getTypeOfUnitAdded$','@univerjs/network','UniverUi','connectInjector','_initStatusListener','getSheetId','size','...','_hideTimer','arc','SHEET_VIEWPORT_KEY','transformStateCache','max','NOT_FOUND','_saveTaskMap','getCurrentUnitForType','pushState','runRefRangeMutations','startRow','FromArray','Workbook','Disposable','currentTheme$','CollaborationEvent','toString','SOCKET_FAILED','url(#$1','runId','UniverIcon','8385825bVXibz','CollaborationController','save','_collaborationController','getMemberID','hovered','min','IBeforeCloseService','Inject','_clearOtherTimers','redoState','updateOfflineData','_removeClearOtherTimer','PY_RUNTIME_SCRIPT_ERROR','_hovered','useObservable','docStateChange$','@univerjs/rpc','_drawRectRange','INotificationService','setTimeout','enableLocalCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UPDATE_CURSOR','univer-mr-2\x20univer-flex\x20univer-text-xl','getFocusedUnit','defineProperty','UniverDrawing','shareReplay','name','setStateCache','_handleJoinEvent','use','_getMergeRange','roomMembers$','getColorFromTheme','_hover','saveOfflineData','UniverProCollaborationClientUi','concat','jiqing.500','_color','color','top','MemberService','531UzPGXq','actions','ILocalStorageService','body','_render','next','undoState','switchMap','LocaleService','YUUMI_RATE_OVER_LIMIT','restore','toStringTag','fillRule','_localStorageService','Tooltip','removeParam','OffLineIcon','DocSelectionManagerService','getMember','CollaborationSessionService','forwardRef','registerBeforeClose','selection','DependentOn','getMergeData','unitID','CONNECTOR_DATA_TOO_LARGE','SheetSkeletonManagerService','_doCreateSocket','_heartbeatTimer','assign','DocCollaborationEntity','INVITE_CODE_REQUIRED','height','icon','_getSessionTicket','IDocClipboardService','_injector','_localeService','activeSheet$','OnLineIcon','/run/','_name','CollaborationUIEventService','_document','_logService','_initEvent','addHandlerCallback','INVALID_INVITE_CODE','NodePositionConvertToRectRange','registerComponent','font','BehaviorSubject','SOCKET_FAILED_RETRY','then','text','find','xlink:href','collabStatus.notCollab','6ZKXQHO','UNDEFINED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_configService','PERMISSION_DENIED','off-line-icon_clip0_910_343','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSkeleton','OFFLINE','createElement','@univerjs-pro/collaboration-client','_colorAssignService','findNodePositionByCharIndex','dispose$','assignAColorForMemberID','defs','HEADER_MENU','1671488rFxnoo','getCurrentRevOfUnit','transformRemoteChangeset','width','Plugin','_getAnchorBounding','setAlpha','_initDependencies','_httpService','_scheduleSaving','Warning','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refRangeService','RemoveColCommandId','ENSURE_SNAPSHOT_EXECUTION','UniverDocsUi','history','toDisposable','CollaborationDataLoaderController','LICENSE_MAX_UNITS_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','replaceState','params','push','LOGIN_FAILED','UniverEngineRender','_renderManagerService','invokeId','univer-flex\x20univer-items-center','_cursors','AWAITING','delete','VIEW_MAIN','getColor','string','onLocalMutation','uni.network.url-service','split','executionId','_docTransformSelectionsService','UniverNetwork','getParam','_saveCache','MUTATION','column','init','distinctUntilChanged','IRemoteInstanceService','CollaborationSocketService','values','_scheduleHeartbeat','asObservable','INVALID_ARGUMENT','_collabCursorState$','jsx','onTransformChange$','getCoordByCell','subscribeEvent','transformMutationsWithChangeset','LICENSE_DISTRO_REJECTED','_transformPreviousActiveRange','_init','DocStateChangeManagerService','replaceDocRanges','debounceTime','OTHER_CLIENTS_EDITING','ILocalCacheService','UniverDocs','DisposableCollection','NOT_COLLAB','_disabled','isTransformMutationsWithChangesetSuccess','DEFAULT_WS_SESSION_TICKET_URL','_docTransformIMECacheService','_instanceService','session.collaboration-timeout','selections','_beforeCloseService','1em','getTypeOfUnitDisposed$','Rect','5uBhETc','from','ACTIVE_UNIT_EVENT_CHANNEL','_notificationService','_backgroundColor','sessionStatus$','_collabCursorController','getOwnPropertyDescriptor','ONLINE','YUUMI_NO_CUBOID_FOR_QUESTION','IRenderManagerService','show','collabStatus.conflict','IConfigService','map','collaboration-client.offline-data-not-saved','SessionStatus','whenReady','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/sheets-ui','_updateURLWithCurrentState','INTERNAL_ERROR','UniverCollaborationClientUIPlugin','endColumn','_docStateChangeManagerService','substring','requireSession','_onCursorDelete','_urlService','sheetID','transformIMECache','_initEntityListener','DocSkeletonManagerService','RegularPolygon','deepClone','engine','_refreshCollabCursors','className','focused$','blue.400','createInstance','BrowserCollaborationSocketService','Injector','wsSessionTicketUrl','search','UNRECOGNIZED','m1Prime','getCollabCursors$','_memberService','unshift','createSocket','[CollaborationDataLoaderController]','fill','YUUMI_UNABLE_LOAD_URL','handleInsertCol','_status$','_docSkeletonManagerService','_eventUnsubscribe','throttleTime'];_0x5b5a=function(){return _0x283a03;};return _0x5b5a();}