@univerjs-pro/collaboration-client-ui 0.12.2-nightly.202511290905 → 0.12.3-experimental.20251204-1549a8e

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 (54) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/locale/en-US.d.ts +1 -0
  41. package/lib/umd/facade.js +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/vi-VN.js +1 -1
  52. package/lib/umd/locale/zh-CN.js +1 -1
  53. package/lib/umd/locale/zh-TW.js +1 -1
  54. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4944(_0x461be3,_0x76a425){const _0x5124cb=_0x5124();return _0x4944=function(_0x494489,_0x30de93){_0x494489=_0x494489-0xf9;let _0xd9c09c=_0x5124cb[_0x494489];return _0xd9c09c;},_0x4944(_0x461be3,_0x76a425);}(function(_0x22912d,_0x5bf3fa){const _0x53c927=_0x4944,_0x2c3be4=_0x22912d();while(!![]){try{const _0xfdf807=-parseInt(_0x53c927(0x2e5))/0x1*(parseInt(_0x53c927(0x20a))/0x2)+parseInt(_0x53c927(0x32a))/0x3+parseInt(_0x53c927(0x147))/0x4*(parseInt(_0x53c927(0x2b3))/0x5)+parseInt(_0x53c927(0x200))/0x6+-parseInt(_0x53c927(0x384))/0x7*(parseInt(_0x53c927(0x2ee))/0x8)+parseInt(_0x53c927(0x1fe))/0x9+-parseInt(_0x53c927(0x312))/0xa*(parseInt(_0x53c927(0x37b))/0xb);if(_0xfdf807===_0x5bf3fa)break;else _0x2c3be4['push'](_0x2c3be4['shift']());}catch(_0x2ccc7b){_0x2c3be4['push'](_0x2c3be4['shift']());}}}(_0x5124,0xdce69),function(_0x2d0617,_0x2b844b){const _0x43b584=_0x4944;typeof exports==_0x43b584(0x310)&&typeof module<'u'?_0x2b844b(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x43b584(0x13d)&&define[_0x43b584(0x2cb)]?define([_0x43b584(0x39e),'react/jsx-runtime',_0x43b584(0x3af),_0x43b584(0x14b),_0x43b584(0x22a),'rxjs','@univerjs/design',_0x43b584(0x20d),_0x43b584(0x19a),_0x43b584(0x26d),_0x43b584(0x2c1),_0x43b584(0x266),'@univerjs/docs-ui',_0x43b584(0x199),_0x43b584(0x353),'@univerjs/docs',_0x43b584(0x23b),_0x43b584(0x374),_0x43b584(0x1b4)],_0x2b844b):(_0x2d0617=typeof globalThis<'u'?globalThis:_0x2d0617||self,_0x2b844b(_0x2d0617[_0x43b584(0x24d)]={},_0x2d0617[_0x43b584(0x2d0)],_0x2d0617[_0x43b584(0x10e)],_0x2d0617[_0x43b584(0x2fb)],_0x2d0617[_0x43b584(0x19f)],_0x2d0617['rxjs'],_0x2d0617[_0x43b584(0x287)],_0x2d0617['React'],_0x2d0617[_0x43b584(0x3de)],_0x2d0617['UniverSheets'],_0x2d0617[_0x43b584(0x381)],_0x2d0617[_0x43b584(0x28a)],_0x2d0617[_0x43b584(0x2e0)],_0x2d0617[_0x43b584(0x2da)],_0x2d0617[_0x43b584(0x296)],_0x2d0617[_0x43b584(0x3a3)],_0x2d0617['UniverEngineFormula'],_0x2d0617['rxjs'][_0x43b584(0x28d)],_0x2d0617[_0x43b584(0x248)]));}(this,function(_0x1dc582,_0x510a6e,_0x5a33af,_0xdb2415,_0x339e42,_0x5bb37b,_0xffb326,_0x856dba,_0x2aadee,_0x5d16b0,_0x7c9b89,_0x553b7e,_0x4abee5,_0x48ad96,_0x1b3789,_0x5e9ade,_0x7b5b07,_0xf7042a,_0x427b04){'use strict';const _0x41fa7f=_0x4944;var _0x6fdb19=Object[_0x41fa7f(0x148)],_0x43a4a4=(_0x13aacb,_0x2d9c08,_0x2899e2)=>_0x2d9c08 in _0x13aacb?_0x6fdb19(_0x13aacb,_0x2d9c08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2899e2}):_0x13aacb[_0x2d9c08]=_0x2899e2,_0x356879=(_0x4d7343,_0x58b386,_0x3f2f56)=>_0x43a4a4(_0x4d7343,typeof _0x58b386!=_0x41fa7f(0x236)?_0x58b386+'':_0x58b386,_0x3f2f56);function _0x5ef291({ref:_0x1269eb,..._0x21a81e}){const _0xda9261=_0x41fa7f,{icon:_0x5903b6,id:_0x130024,className:_0x21431c,extend:_0x27db26,..._0xf883fe}=_0x21a81e,_0x562763=(_0xda9261(0x150)+_0x130024+'\x20'+(_0x21431c||''))[_0xda9261(0x167)](),_0x127f94=_0x856dba[_0xda9261(0x10d)]('_'+_0x3f2043());return _0x1dad2d(_0x5903b6,''+_0x130024,{'defIds':_0x5903b6[_0xda9261(0x19d)],'idSuffix':_0x127f94[_0xda9261(0x34d)]},{'ref':_0x1269eb,'className':_0x562763,..._0xf883fe},_0x27db26);}function _0x1dad2d(_0x411fd5,_0x808e60,_0x2a6de1,_0x29a665,_0x5de42c){const _0x1cf533=_0x41fa7f;return _0x856dba[_0x1cf533(0x16e)](_0x411fd5['tag'],{'key':_0x808e60,..._0x2e3bb4(_0x411fd5,_0x2a6de1,_0x5de42c),..._0x29a665},(_0x3879c2(_0x411fd5,_0x2a6de1)[_0x1cf533(0x334)]||[])['map']((_0x1e7745,_0x32ead5)=>_0x1dad2d(_0x1e7745,_0x808e60+'-'+_0x411fd5[_0x1cf533(0x3e0)]+'-'+_0x32ead5,_0x2a6de1,void 0x0,_0x5de42c)));}function _0x2e3bb4(_0x5c6e4f,_0x455aff,_0x3fae19){const _0x125820=_0x41fa7f,_0x5d499a={..._0x5c6e4f[_0x125820(0x198)]};_0x3fae19!=null&&_0x3fae19[_0x125820(0x267)]&&_0x5d499a[_0x125820(0x18b)]==='colorChannel1'&&(_0x5d499a[_0x125820(0x18b)]=_0x3fae19[_0x125820(0x267)]),_0x5c6e4f[_0x125820(0x3e0)]===_0x125820(0x308)&&_0x5d499a['id']&&(_0x5d499a['id']=_0x5d499a['id']+_0x455aff[_0x125820(0x2a6)]),Object[_0x125820(0x118)](_0x5d499a)[_0x125820(0x270)](([_0x3f0376,_0x4b053e])=>{const _0x16f1a3=_0x125820;_0x3f0376===_0x16f1a3(0x308)&&typeof _0x4b053e=='string'&&(_0x5d499a[_0x3f0376]=_0x4b053e[_0x16f1a3(0x2c6)](/url\(#(.*)\)/,_0x16f1a3(0x11d)+_0x455aff[_0x16f1a3(0x2a6)]+')'));});const {defIds:_0x232016}=_0x455aff;return!_0x232016||_0x232016[_0x125820(0x26c)]===0x0||(_0x5c6e4f[_0x125820(0x3e0)]===_0x125820(0x32f)&&_0x5d499a[_0x125820(0x1f7)]&&(_0x5d499a[_0x125820(0x1f7)]=_0x5d499a[_0x125820(0x1f7)]+_0x455aff[_0x125820(0x2a6)]),Object[_0x125820(0x118)](_0x5d499a)[_0x125820(0x270)](([_0x5affde,_0x25ea22])=>{const _0x38e0ad=_0x125820;typeof _0x25ea22=='string'&&(_0x5d499a[_0x5affde]=_0x25ea22[_0x38e0ad(0x2c6)](/url\(#(.*)\)/,_0x38e0ad(0x11d)+_0x455aff[_0x38e0ad(0x2a6)]+')'));})),_0x5d499a;}function _0x3879c2(_0x319200,_0x20f8c7){const _0x102732=_0x41fa7f;var _0x6de88;const {defIds:_0x593ed4}=_0x20f8c7;return!_0x593ed4||_0x593ed4[_0x102732(0x26c)]===0x0?_0x319200:_0x319200['tag']===_0x102732(0x2ef)&&((_0x6de88=_0x319200['children'])!=null&&_0x6de88[_0x102732(0x26c)])?{..._0x319200,'children':_0x319200[_0x102732(0x334)][_0x102732(0x311)](_0x4d7755=>typeof _0x4d7755['attrs']['id']==_0x102732(0x329)&&_0x593ed4&&_0x593ed4[_0x102732(0x21d)](_0x4d7755[_0x102732(0x198)]['id'])?{..._0x4d7755,'attrs':{..._0x4d7755[_0x102732(0x198)],'id':_0x4d7755[_0x102732(0x198)]['id']+_0x20f8c7[_0x102732(0x2a6)]}}:_0x4d7755)}:_0x319200;}function _0x3f2043(){const _0xac0ac6=_0x41fa7f;return Math[_0xac0ac6(0x360)]()[_0xac0ac6(0x22c)](0x24)[_0xac0ac6(0x3b1)](0x2,0x8);}_0x5ef291[_0x41fa7f(0x160)]=_0x41fa7f(0x216);const _0x1c0d12={'tag':_0x41fa7f(0x187),'attrs':{'xmlns':_0x41fa7f(0x264),'fill':_0x41fa7f(0x212),'viewBox':_0x41fa7f(0x16c),'width':_0x41fa7f(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41fa7f(0x3cc)},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'stroke':_0x41fa7f(0x3df),'d':'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','strokeLinecap':_0x41fa7f(0x196),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41fa7f(0x2ef),'attrs':{},'children':[{'tag':_0x41fa7f(0x3c0),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'fill':_0x41fa7f(0x1c4),'d':_0x41fa7f(0x364)}}]}]}],'defIds':[_0x41fa7f(0x1f2)]},_0x543b0c=_0x856dba['forwardRef'](function(_0x3c88d6,_0x571ebb){const _0x43ae1b=_0x41fa7f;return _0x856dba[_0x43ae1b(0x16e)](_0x5ef291,Object[_0x43ae1b(0x3b4)]({},_0x3c88d6,{'id':'off-line-icon','ref':_0x571ebb,'icon':_0x1c0d12}));});_0x543b0c[_0x41fa7f(0x160)]='OffLineIcon';const _0xd81b27={'tag':_0x41fa7f(0x187),'attrs':{'xmlns':_0x41fa7f(0x264),'fill':_0x41fa7f(0x212),'viewBox':'0\x200\x2017\x2016','width':_0x41fa7f(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x41fa7f(0x3df),'d':_0x41fa7f(0x299),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41fa7f(0x2ef),'attrs':{},'children':[{'tag':_0x41fa7f(0x3c0),'attrs':{'id':_0x41fa7f(0x2a8)},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'fill':_0x41fa7f(0x1c4),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x41fa7f(0x2a8)]},_0x223269=_0x856dba[_0x41fa7f(0x174)](function(_0x492e3c,_0x5d9780){const _0x2e4a7b=_0x41fa7f;return _0x856dba['createElement'](_0x5ef291,Object[_0x2e4a7b(0x3b4)]({},_0x492e3c,{'id':_0x2e4a7b(0x181),'ref':_0x5d9780,'icon':_0xd81b27}));});_0x223269[_0x41fa7f(0x160)]=_0x41fa7f(0x339);function _0x59d28e(_0x45e6ca){const _0xec31a1=_0x41fa7f;switch(_0x45e6ca){case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x142)]:return _0xec31a1(0x31a);case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x1af)]:return'collabStatus.conflict';case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x36d)]:return _0xec31a1(0x2d9);case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x163)]:return _0xec31a1(0x14f);case _0x5a33af[_0xec31a1(0x1ef)]['AWAITING']:case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x2a5)]:return _0xec31a1(0x28f);case _0x5a33af['CollaborationStatus'][_0xec31a1(0x11e)]:case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x3bf)]:return _0xec31a1(0x101);}}function _0x5661ec(_0x59b5f7){const _0x254069=_0x41fa7f,{status$:_0x5d509c}=_0x59b5f7,_0x24b2e7=_0x339e42[_0x254069(0x224)](_0x5d509c,_0x5a33af['CollaborationStatus']['NOT_COLLAB']),_0x831df1=_0x339e42['useDependency'](_0xdb2415[_0x254069(0x17f)]),_0x514650=_0x339e42[_0x254069(0x1a5)](_0x5a33af['CollaborationSessionService']),_0x5bdd19=_0x24b2e7!==_0x5a33af[_0x254069(0x1ef)][_0x254069(0x142)],_0xa5e466=_0x831df1['t'](_0x59d28e(_0x24b2e7)),_0x313e9b=_0x5bdd19?_0x510a6e[_0x254069(0x2d2)](_0x223269,{}):_0x510a6e[_0x254069(0x2d2)](_0x543b0c,{}),_0x478ece=_0x856dba['useCallback'](()=>{const _0x3e2f93=_0x254069;_0x5bdd19||_0x514650[_0x3e2f93(0x3d9)]();},[_0x5bdd19,_0x514650]);function _0x49659e(){const _0x4997d7=_0x254069;return _0x510a6e['jsxs'](_0x4997d7(0x215),{'className':'univer-flex\x20univer-items-center','onClick':_0x478ece,'children':[_0x510a6e[_0x4997d7(0x2d2)]('div',{'className':_0xffb326[_0x4997d7(0x15d)](_0x4997d7(0x309),{'univer-text-green-500':_0x5bdd19,'univer-text-red-500':!_0x5bdd19}),'children':_0x313e9b}),_0x510a6e['jsx'](_0x4997d7(0x215),{'className':_0x4997d7(0x3b7),'children':_0xa5e466})]});}return _0x5bdd19?_0x49659e():_0x510a6e[_0x254069(0x2d2)](_0xffb326[_0x254069(0x324)],{'title':_0x831df1['t'](_0x254069(0x1ff)),'children':_0x49659e()});}var _0x377343=Object['getOwnPropertyDescriptor'],_0x579604=(_0x51f115,_0xc42e90,_0x5de10d,_0x5bc9fe)=>{const _0x304257=_0x41fa7f;for(var _0x4eabb0=_0x5bc9fe>0x1?void 0x0:_0x5bc9fe?_0x377343(_0xc42e90,_0x5de10d):_0xc42e90,_0x16d0b3=_0x51f115[_0x304257(0x26c)]-0x1,_0x631fb8;_0x16d0b3>=0x0;_0x16d0b3--)(_0x631fb8=_0x51f115[_0x16d0b3])&&(_0x4eabb0=_0x631fb8(_0x4eabb0)||_0x4eabb0);return _0x4eabb0;},_0x236a60=(_0x22be0e,_0x46be52)=>(_0x20dc9f,_0x4dabde)=>_0x46be52(_0x20dc9f,_0x4dabde,_0x22be0e);_0x1dc582[_0x41fa7f(0x33e)]=class extends _0xdb2415['Disposable']{constructor(_0x3b68bd,_0x22a85e,_0x5f136e,_0x4045ca){const _0x1c38d3=_0x41fa7f;super(),_0x356879(this,_0x1c38d3(0x134),new _0x5bb37b[(_0x1c38d3(0x204))](_0x5a33af[_0x1c38d3(0x1ef)][_0x1c38d3(0x163)])),(this['_univerInstanceService']=_0x3b68bd,this[_0x1c38d3(0x2e4)]=_0x22a85e,this[_0x1c38d3(0x144)]=_0x5f136e,this[_0x1c38d3(0x14e)]=_0x4045ca,this[_0x1c38d3(0x197)](),this[_0x1c38d3(0x3ba)]());}['_initStatusListener'](){const _0x2a9519=_0x41fa7f;this['disposeWithMe'](this[_0x2a9519(0x27e)][_0x2a9519(0x1d3)][_0x2a9519(0x25c)](_0x5bb37b[_0x2a9519(0x19e)](()=>{const _0x391446=_0x2a9519,_0x3defc2=this['_univerInstanceService']['getFocusedUnit']();return _0x3defc2?this['_collaborationController']['getCollabEntity$'](_0x3defc2[_0x391446(0x225)]()):_0x5bb37b['of'](null);}),_0x5bb37b[_0x2a9519(0x19e)](_0x45a0ed=>_0x45a0ed?_0x45a0ed[_0x2a9519(0x11f)]:_0x5bb37b['of'](_0x5a33af[_0x2a9519(0x1ef)][_0x2a9519(0x163)])))['subscribe'](_0x3696df=>{const _0xcb762c=_0x2a9519;this['_status$'][_0xcb762c(0x3b5)](_0x3696df);}));}[_0x41fa7f(0x197)](){const _0x199df5=_0x41fa7f;this[_0x199df5(0x31e)](this[_0x199df5(0x14e)][_0x199df5(0x2d6)](_0x339e42[_0x199df5(0x321)][_0x199df5(0x3e3)],()=>_0x339e42['connectInjector'](_0x2f68cb({'status$':this[_0x199df5(0x134)][_0x199df5(0x1c0)]()}),this[_0x199df5(0x2e4)])));}},_0x1dc582[_0x41fa7f(0x33e)]=_0x579604([_0x236a60(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x236a60(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['Injector'])),_0x236a60(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x18f)])),_0x236a60(0x3,_0x339e42['IUIPartsService'])],_0x1dc582['DesktopCollaborationStatusDisplayController']);function _0x2f68cb(_0x37ddc4){const {status$:_0x3ab2cb}=_0x37ddc4;return function(){const _0x1bdeaf=_0x4944;return _0x510a6e[_0x1bdeaf(0x2d2)](_0x5661ec,{'status$':_0x3ab2cb});};}const _0x2976d6=_0xdb2415[_0x41fa7f(0x3a2)](_0x41fa7f(0x269));var _0xde86ef=Object[_0x41fa7f(0x194)],_0x550eac=(_0xdde7e3,_0x225839,_0x20c0aa,_0x43da22)=>{for(var _0x284aa2=_0x43da22>0x1?void 0x0:_0x43da22?_0xde86ef(_0x225839,_0x20c0aa):_0x225839,_0x101765=_0xdde7e3['length']-0x1,_0x490d66;_0x101765>=0x0;_0x101765--)(_0x490d66=_0xdde7e3[_0x101765])&&(_0x284aa2=_0x490d66(_0x284aa2)||_0x284aa2);return _0x284aa2;},_0x5c1733=(_0x2cb40d,_0x14a286)=>(_0x162932,_0x4a9c71)=>_0x14a286(_0x162932,_0x4a9c71,_0x2cb40d);_0x1dc582['CollaborationDataLoaderController']=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0xa0ccd4,_0x1157ac,_0x647edd,_0x3a572b,_0x11e64c){const _0x55ce6a=_0x41fa7f;super(),this[_0x55ce6a(0x29d)]=_0xa0ccd4,this['_logService']=_0x1157ac,this[_0x55ce6a(0x2c7)]=_0x647edd,this[_0x55ce6a(0x3c7)]=_0x3a572b,_0x11e64c?_0x11e64c==null||_0x11e64c['whenReady']()['then'](()=>this[_0x55ce6a(0x33f)]()):(this[_0x55ce6a(0x2ec)][_0x55ce6a(0x394)](_0x55ce6a(0x155),_0x55ce6a(0x207)),this[_0x55ce6a(0x33f)]());}async['_init'](){const _0x3bbb94=_0x41fa7f,_0x400067=this[_0x3bbb94(0x29d)]['getParam']('unit'),_0x56105c=this['_urlService'][_0x3bbb94(0x2ff)](_0x3bbb94(0x17a)),_0x1d9a73=this[_0x3bbb94(0x29d)]['getParam'](_0x3bbb94(0x24f));if(!_0x400067||!_0x56105c){this[_0x3bbb94(0x2ec)][_0x3bbb94(0x394)](_0x3bbb94(0x155),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xa5ef41=await this['_dataLoaderService'][_0x3bbb94(0x2c5)](_0x400067,Number(_0x56105c),_0x1d9a73);_0xa5ef41&&_0xa5ef41 instanceof _0xdb2415[_0x3bbb94(0x38c)]&&this[_0x3bbb94(0x303)](_0xa5ef41);}async[_0x41fa7f(0x303)](_0x4ae59c){const _0x2dc213=_0x41fa7f;await this[_0x2dc213(0x135)](_0x4ae59c),_0x4ae59c[_0x2dc213(0x1ee)][_0x2dc213(0x25c)](_0x5bb37b[_0x2dc213(0x285)](this['dispose$']))[_0x2dc213(0x31f)](_0x5b31d7=>{_0x5b31d7&&this['_updateURLWithCurrentState'](_0x5b31d7);}),this[_0x2dc213(0x29d)][_0x2dc213(0x256)][_0x2dc213(0x25c)](_0x5bb37b[_0x2dc213(0x285)](this[_0x2dc213(0x119)]))[_0x2dc213(0x31f)](()=>this['_updateSubUnitFromURLParams'](_0x4ae59c));}[_0x41fa7f(0x247)](_0x11cbd2,_0x370038=!0x1){const _0x1e1aeb=_0x41fa7f,_0x5685b4=this[_0x1e1aeb(0x29d)][_0x1e1aeb(0x2ff)](_0x1e1aeb(0x24f));_0x11cbd2[_0x1e1aeb(0x1c8)]()!==_0x5685b4&&this[_0x1e1aeb(0x29d)][_0x1e1aeb(0x2f1)](_0x1e1aeb(0x24f),_0x11cbd2[_0x1e1aeb(0x1c8)](),_0x370038);}async[_0x41fa7f(0x135)](_0xb39061){const _0x349e8e=_0x41fa7f;var _0x223361;const _0x16711b=this[_0x349e8e(0x29d)]['getParam'](_0x349e8e(0x24f));if(!_0x16711b||!_0xb39061[_0x349e8e(0x28b)](_0x16711b)){const _0x1a08c0=_0xb39061[_0x349e8e(0x2f9)]()[0x0],_0x2bda33=_0xb39061[_0x349e8e(0x28b)](_0x1a08c0);if(!_0x2bda33)return;this['_updateURLWithCurrentState'](_0x2bda33,!0x0),await this[_0x349e8e(0x2c7)]['executeCommand'](_0x5d16b0[_0x349e8e(0x2ad)]['id'],{'unitId':_0xb39061[_0x349e8e(0x225)](),'subUnitId':_0x1a08c0});return;}((_0x223361=_0xb39061[_0x349e8e(0x34c)]())==null?void 0x0:_0x223361['getSheetId']())!==_0x16711b&&await this['_commandService'][_0x349e8e(0x172)](_0x5d16b0['SetWorksheetActivateCommand']['id'],{'unitId':_0xb39061[_0x349e8e(0x225)](),'subUnitId':_0x16711b});}},_0x1dc582[_0x41fa7f(0x10b)]=_0x550eac([_0x5c1733(0x0,_0x2976d6),_0x5c1733(0x1,_0xdb2415[_0x41fa7f(0x230)]),_0x5c1733(0x2,_0xdb2415['ICommandService']),_0x5c1733(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x1ed)])),_0x5c1733(0x4,_0xdb2415[_0x41fa7f(0x223)](_0x2aadee[_0x41fa7f(0x3bc)]))],_0x1dc582[_0x41fa7f(0x10b)]);var _0x36689e=Object[_0x41fa7f(0x194)],_0x57c6e9=(_0x279ac5,_0x3f16d5,_0x19540e,_0x16076f)=>{const _0x21ff63=_0x41fa7f;for(var _0x1455ca=_0x16076f>0x1?void 0x0:_0x16076f?_0x36689e(_0x3f16d5,_0x19540e):_0x3f16d5,_0x56a81a=_0x279ac5[_0x21ff63(0x26c)]-0x1,_0x7b8586;_0x56a81a>=0x0;_0x56a81a--)(_0x7b8586=_0x279ac5[_0x56a81a])&&(_0x1455ca=_0x7b8586(_0x1455ca)||_0x1455ca);return _0x1455ca;},_0xf72621=(_0x3e1c7c,_0x1e2c67)=>(_0x2ba6cb,_0xb1bd6e)=>_0x1e2c67(_0x2ba6cb,_0xb1bd6e,_0x3e1c7c);let _0xb90e08=class extends _0xdb2415['RxDisposable']{constructor(_0x1770f6,_0x22106a){const _0x3eb4c0=_0x41fa7f;super(),this[_0x3eb4c0(0xff)]=_0x1770f6,this[_0x3eb4c0(0x39c)]=_0x22106a,this[_0x3eb4c0(0x33f)]();}['_init'](){const _0x2d985c=_0x41fa7f,_0x3d9b52=this;this[_0x2d985c(0x31e)](this['_docClipboardService'][_0x2d985c(0x178)]({'onBeforePasteImage':async _0x1d4c0a=>{const _0x471ad4=_0x2d985c,_0x4d1b2f=await _0x3d9b52[_0x471ad4(0x39c)][_0x471ad4(0x271)](_0x1d4c0a);return _0x4d1b2f?{'source':_0x4d1b2f[_0x471ad4(0x1f5)],'imageSourceType':_0x4d1b2f[_0x471ad4(0x30a)]}:null;}}));}};_0xb90e08=_0x57c6e9([_0xf72621(0x0,_0x4abee5[_0x41fa7f(0x338)]),_0xf72621(0x1,_0x48ad96[_0x41fa7f(0x16a)])],_0xb90e08);const _0xa49ba=[_0x41fa7f(0x23a),'jiqing.500',_0x41fa7f(0x195),_0x41fa7f(0x313),'blue.400','yellow.400'];class _0x54f54d extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(){const _0xc1edde=_0x41fa7f;super(...arguments),_0x356879(this,'_assignedColors',new Map()),_0x356879(this,_0xc1edde(0x369),0x0);}[_0x41fa7f(0x29f)](_0x4d4d4a){const _0x4509b2=_0x41fa7f;if(this['_assignedColors'][_0x4509b2(0x246)](_0x4d4d4a))return this[_0x4509b2(0x20c)]['get'](_0x4d4d4a);const _0x23c287=_0xa49ba[this[_0x4509b2(0x369)]];return this[_0x4509b2(0x369)]=(this[_0x4509b2(0x369)]+0x1)%_0xa49ba[_0x4509b2(0x26c)],this[_0x4509b2(0x20c)][_0x4509b2(0x238)](_0x4d4d4a,_0x23c287),_0x23c287;}}function _0x49d4ce(_0x4567b8){let _0x42e0c8='';for(const _0x686b46 of _0x4567b8){const {startOffset:_0x26e145,endOffset:_0x163892,isActive:_0x502502,rangeType:_0xc3990c,segmentId:_0x2b3755,segmentPage:_0x149102}=_0x686b46;_0x42e0c8['length']&&(_0x42e0c8+=','),_0x42e0c8+=_0x26e145+':'+_0x163892+':'+(_0x502502?'1':'0')+':'+_0xc3990c+':'+_0x2b3755+':'+_0x149102;}return _0x42e0c8;}function _0x553eef(_0x56c943){const _0x333c9a=_0x41fa7f,_0x264a4c=_0x56c943['split'](','),_0x3d8b29=[];for(const _0x10f2de of _0x264a4c){const [_0x33a3fa,_0x4205a4,_0x3bdece,_0x5c1bc4,_0xce82df,_0x5c8b33]=_0x10f2de['split'](':');_0x3d8b29[_0x333c9a(0x3dd)]({'startOffset':Number(_0x33a3fa),'endOffset':Number(_0x4205a4),'collapsed':_0x33a3fa===_0x4205a4,'isActive':_0x3bdece==='1','rangeType':_0x5c1bc4===_0xdb2415[_0x333c9a(0x1e9)][_0x333c9a(0x1aa)]?_0xdb2415['DOC_RANGE_TYPE'][_0x333c9a(0x1aa)]:_0xdb2415[_0x333c9a(0x1e9)][_0x333c9a(0x15f)],'segmentId':typeof _0xce82df==_0x333c9a(0x329)?String(_0xce82df):'','segmentPage':Number(_0x5c8b33!=null?_0x5c8b33:-0x1)});}return _0x3d8b29[_0x333c9a(0x31c)](_0x4b2a0c=>_0x4b2a0c[_0x333c9a(0x1b8)])||(_0x3d8b29[0x0]['isActive']=!0x0),_0x3d8b29;}class _0x3dcaca extends _0xdb2415['RxDisposable']{constructor(){const _0x2483f=_0x41fa7f;super(...arguments),_0x356879(this,_0x2483f(0x149),new _0x5bb37b['BehaviorSubject'](null)),_0x356879(this,_0x2483f(0x14c),this[_0x2483f(0x149)]['asObservable']());}['syncEditingCollabCursor'](_0x3dcc19){const _0xc85e25=_0x41fa7f,{unitID:_0x46faf9,memberID:_0x2c5cba,textRanges:_0x404d39}=_0x3dcc19,_0x10de63=_0x49d4ce(_0x404d39);if(_0x10de63==='')return;const _0x3b354f={'unitID':_0x46faf9,'memberID':_0x2c5cba,'selection':_0x10de63};this[_0xc85e25(0x149)]['next'](_0x3b354f);}}var _0x102601=Object['getOwnPropertyDescriptor'],_0x348bd0=(_0x53d4b5,_0x27875d,_0x2fdac6,_0xad7912)=>{const _0x50256c=_0x41fa7f;for(var _0x2e29f9=_0xad7912>0x1?void 0x0:_0xad7912?_0x102601(_0x27875d,_0x2fdac6):_0x27875d,_0x5aeeac=_0x53d4b5[_0x50256c(0x26c)]-0x1,_0x56151f;_0x5aeeac>=0x0;_0x5aeeac--)(_0x56151f=_0x53d4b5[_0x5aeeac])&&(_0x2e29f9=_0x56151f(_0x2e29f9)||_0x2e29f9);return _0x2e29f9;},_0x1f10b4=(_0x327841,_0x3cfba0)=>(_0xf7d396,_0x4c2c78)=>_0x3cfba0(_0xf7d396,_0x4c2c78,_0x327841);const _0x7bd743=0x12c,_0x55f324=0x64;let _0x284db1=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x1741f7,_0x1e35cf,_0x100479,_0x41ebac,_0x3f9fbc,_0x5086e5,_0x4f1d8f,_0x30493f,_0x3318dc){const _0x382ba9=_0x41fa7f;super(),_0x356879(this,_0x382ba9(0x1a2),!0x1),_0x356879(this,'_init',!0x1),_0x356879(this,_0x382ba9(0x36f),new _0x5bb37b['BehaviorSubject'](new Map())),_0x356879(this,_0x382ba9(0x33d),this[_0x382ba9(0x36f)][_0x382ba9(0x1c0)]()),_0x356879(this,_0x382ba9(0x3da),new _0x5bb37b[(_0x382ba9(0x204))]([])),_0x356879(this,_0x382ba9(0x3e2),this['_roomMembers$'][_0x382ba9(0x25c)](_0x5bb37b[_0x382ba9(0x345)](_0x7bd743))),_0x356879(this,_0x382ba9(0x15c),_0xdb2415['debounce'](_0x59e077=>{const _0x40e5e7=_0x382ba9,_0x3d3497={'eventID':_0x1b3789['CollaborationEvent'][_0x40e5e7(0x297)],'data':{'unitID':this[_0x40e5e7(0x281)],'memberID':this['_session'][_0x40e5e7(0x38f)](),'selection':_0x49d4ce(_0x59e077)}};this[_0x40e5e7(0x24a)]['send'](_0x3d3497,this['unitID']);},_0x55f324)),(this[_0x382ba9(0x281)]=_0x1741f7,this[_0x382ba9(0x24a)]=_0x1e35cf,this[_0x382ba9(0x2e4)]=_0x100479,this[_0x382ba9(0x2a1)]=_0x41ebac,this['_memberService']=_0x3f9fbc,this[_0x382ba9(0x19b)]=_0x5086e5,this[_0x382ba9(0x3cb)]=_0x4f1d8f,this[_0x382ba9(0x27e)]=_0x30493f,this[_0x382ba9(0x2c7)]=_0x3318dc);}get[_0x41fa7f(0x1f6)](){const _0x52cd3f=_0x41fa7f;return this[_0x52cd3f(0x36f)][_0x52cd3f(0x2e2)]();}get[_0x41fa7f(0x1f4)](){const _0x2e6a8f=_0x41fa7f;return this['_roomMembers$'][_0x2e6a8f(0x2e2)]();}[_0x41fa7f(0x1b9)](){const _0x2a1401=_0x41fa7f;super[_0x2a1401(0x1b9)](),this[_0x2a1401(0x36f)][_0x2a1401(0x3b5)](new Map()),this[_0x2a1401(0x36f)][_0x2a1401(0x3d5)](),this[_0x2a1401(0x3da)][_0x2a1401(0x3b5)]([]),this[_0x2a1401(0x3da)][_0x2a1401(0x3d5)]();}[_0x41fa7f(0x22f)](){const _0x3ba160=_0x41fa7f;this[_0x3ba160(0x33f)]||(this[_0x3ba160(0x33f)]=!0x0,this[_0x3ba160(0x24a)][_0x3ba160(0x27b)][_0x3ba160(0x25c)](_0x5bb37b[_0x3ba160(0x285)](this[_0x3ba160(0x119)]))[_0x3ba160(0x31f)](_0x5eaaba=>{const _0x2aad35=_0x3ba160;_0x5eaaba===_0x5a33af[_0x2aad35(0x11b)][_0x2aad35(0x1d9)]?this[_0x2aad35(0x110)]():this[_0x2aad35(0x1d4)]();}),this[_0x3ba160(0x24a)][_0x3ba160(0x173)]['pipe'](_0x5bb37b[_0x3ba160(0x285)](this[_0x3ba160(0x119)]))[_0x3ba160(0x31f)](_0x5d5dd8=>{const _0x377d08=_0x3ba160,_0xe1a19f=_0x5d5dd8[_0x377d08(0x1d0)];_0xe1a19f===_0x1b3789[_0x377d08(0x276)][_0x377d08(0x297)]&&this[_0x377d08(0x2a7)](_0x5d5dd8),_0xe1a19f===_0x1b3789[_0x377d08(0x276)][_0x377d08(0x127)]&&this[_0x377d08(0x292)](_0x5d5dd8);}),this[_0x3ba160(0x31e)](this[_0x3ba160(0x2c7)]['onCommandExecuted'](_0x14b573=>{const _0x3747c7=_0x3ba160,_0x479203=_0x14b573[_0x3747c7(0x34a)];_0x479203!=null&&this[_0x3747c7(0x1a2)]&&_0x14b573['id']===_0x5e9ade['SetTextSelectionsOperation']['id']&&_0x479203[_0x3747c7(0x392)]===this['unitID']&&_0x479203[_0x3747c7(0x27f)]===!0x1&&_0x479203[_0x3747c7(0x1c1)][_0x3747c7(0x26c)]>0x0&&this[_0x3747c7(0x15c)](_0x479203[_0x3747c7(0x1c1)]);})),this[_0x3ba160(0x19b)][_0x3ba160(0x14c)][_0x3ba160(0x25c)](_0x5bb37b[_0x3ba160(0x285)](this['dispose$']))['subscribe'](_0x34acb6=>{const _0x3fd4e0=_0x3ba160;if((_0x34acb6==null?void 0x0:_0x34acb6['unitID'])!==this[_0x3fd4e0(0x281)])return;const _0x5b924a={'eventID':_0x1b3789[_0x3fd4e0(0x276)]['UPDATE_CURSOR'],'data':_0x34acb6};this['_onCursorUpdate'](_0x5b924a);}),this['disposeWithMe'](this['_commandService'][_0x3ba160(0x191)](_0x5be230=>{const _0x4b3941=_0x3ba160;if(_0x5be230[_0x4b3941(0x34a)]==null)return;const _0x35e474=_0x5be230[_0x4b3941(0x34a)];if(_0x5be230['id']!==_0x5e9ade['RichTextEditingMutation']['id']||_0x35e474[_0x4b3941(0x392)]!==this['unitID'])return;const _0x5794d0={'id':'doc.mutation.rich-text-editing','params':_0x35e474},_0x8b186f=this[_0x4b3941(0x1f6)];for(const [_0x2c02b4,_0x303617]of _0x8b186f){const _0x562e73={'id':_0x4b3941(0x1e5),'params':{'unitId':this[_0x4b3941(0x281)],'actions':null,'textRanges':_0x303617[_0x4b3941(0x1c1)]}},_0x337afd=this[_0x4b3941(0x3cb)][_0x4b3941(0x393)](_0x5794d0,_0x562e73,!0x1);if(_0x1b3789[_0x4b3941(0x1e4)](_0x337afd))throw _0x337afd[_0x4b3941(0x399)];_0x8b186f[_0x4b3941(0x238)](_0x2c02b4,{..._0x303617,'ranges':_0x337afd['m2Prime']['params'][_0x4b3941(0x2f5)]});}queueMicrotask(()=>{const _0x3eada3=_0x4b3941;this[_0x3eada3(0x36f)]['next'](_0x8b186f);});})));}[_0x41fa7f(0x2a7)](_0x212eee){const _0x1cf4af=_0x41fa7f;var _0x2d9483,_0x39d619;const {memberID:_0x11037b,selection:_0x1b3daf}=_0x212eee[_0x1cf4af(0x36c)],_0x5a2e94=_0x553eef(_0x1b3daf),_0x428439=(_0x39d619=(_0x2d9483=this['_memberService']['getMember'](this['unitID'],_0x11037b))==null?void 0x0:_0x2d9483['name'])!=null?_0x39d619:_0x1cf4af(0x337),_0x50da53={'color':this[_0x1cf4af(0x2a1)]['assignAColorForMemberID'](_0x11037b),'name':_0x428439,'ranges':_0x5a2e94},_0x383a37=this[_0x1cf4af(0x1f6)];_0x383a37[_0x1cf4af(0x238)](_0x11037b,_0x50da53),this[_0x1cf4af(0x36f)][_0x1cf4af(0x3b5)](_0x383a37);}[_0x41fa7f(0x292)](_0x36543a){const _0x9c9f68=_0x41fa7f,{memberID:_0x1435f9}=_0x36543a[_0x9c9f68(0x36c)],_0x5f0317=this[_0x9c9f68(0x1f6)];_0x5f0317[_0x9c9f68(0x349)](_0x1435f9),this[_0x9c9f68(0x36f)][_0x9c9f68(0x3b5)](_0x5f0317);}[_0x41fa7f(0x110)](){const _0x26f0a0=_0x41fa7f;var _0xdaaa9a;if(this[_0x26f0a0(0x1a2)]=!0x0,((_0xdaaa9a=this['_univerInstanceService'][_0x26f0a0(0x2be)]())==null?void 0x0:_0xdaaa9a[_0x26f0a0(0x225)]())!==this[_0x26f0a0(0x281)])return;const _0x57149a=this[_0x26f0a0(0x2e4)]['get'](_0x5e9ade[_0x26f0a0(0x29a)])['getDocRanges']();Array[_0x26f0a0(0x219)](_0x57149a)&&_0x57149a[_0x26f0a0(0x26c)]>0x0&&this[_0x26f0a0(0x15c)](_0x57149a);}[_0x41fa7f(0x1d4)](){const _0x13485f=_0x41fa7f;this[_0x13485f(0x1a2)]=!0x1;}};_0x284db1=_0x348bd0([_0x1f10b4(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x1f10b4(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x54f54d)),_0x1f10b4(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x3b9)])),_0x1f10b4(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0x3dcaca)),_0x1f10b4(0x6,_0x1b3789[_0x41fa7f(0x389)]),_0x1f10b4(0x7,_0xdb2415[_0x41fa7f(0x1b6)]),_0x1f10b4(0x8,_0xdb2415[_0x41fa7f(0x104)])],_0x284db1);var _0x2135c5=Object[_0x41fa7f(0x194)],_0x395ce6=(_0x2079df,_0x72688a,_0x2055bc,_0x310f30)=>{for(var _0x43a0ed=_0x310f30>0x1?void 0x0:_0x310f30?_0x2135c5(_0x72688a,_0x2055bc):_0x72688a,_0x4a0c2f=_0x2079df['length']-0x1,_0x2733b9;_0x4a0c2f>=0x0;_0x4a0c2f--)(_0x2733b9=_0x2079df[_0x4a0c2f])&&(_0x43a0ed=_0x2733b9(_0x43a0ed)||_0x43a0ed);return _0x43a0ed;},_0x4ba7e7=(_0x17131f,_0x27fc42)=>(_0x532871,_0x4c3515)=>_0x27fc42(_0x532871,_0x4c3515,_0x17131f);const _0x3a137c=0x12c,_0x354484=0x64,_0x244efb=()=>{let _0x501068=[],_0x86a9ab=!0x1;return _0x54a3c7=>{const _0x53857d=_0x4944;_0x501068[_0x53857d(0x3dd)](_0x54a3c7),_0x86a9ab||(_0x86a9ab=!0x0,setTimeout(()=>{const _0x3a8e08=_0x53857d;_0x501068[_0x3a8e08(0x270)](_0x306894=>_0x306894()),_0x501068=[],_0x86a9ab=!0x1;}));};};let _0x237592=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x1be30d,_0x1d55d0,_0x5d7b0f,_0x1eddb1,_0x591aef,_0x42e283,_0xb482a4,_0x47e012){const _0xd5e409=_0x41fa7f;super(),_0x356879(this,_0xd5e409(0x1a2),!0x1),_0x356879(this,'_init',!0x1),_0x356879(this,_0xd5e409(0x36f),new _0x5bb37b[(_0xd5e409(0x204))](new Map())),_0x356879(this,_0xd5e409(0x33d),this['_cursorInfo$'][_0xd5e409(0x1c0)]()),_0x356879(this,_0xd5e409(0x3da),new _0x5bb37b['BehaviorSubject']([])),_0x356879(this,_0xd5e409(0x3e2),this[_0xd5e409(0x3da)][_0xd5e409(0x25c)](_0x5bb37b['debounceTime'](_0x3a137c))),_0x356879(this,_0xd5e409(0x15c),_0xdb2415[_0xd5e409(0x2dc)]((_0x544889,_0x59a11a)=>{const _0x7c853b=_0xd5e409,_0x463918={'eventID':_0x1b3789[_0x7c853b(0x276)][_0x7c853b(0x297)],'data':{'unitID':this[_0x7c853b(0x281)],'memberID':this[_0x7c853b(0x24a)][_0x7c853b(0x38f)](),'selection':_0x7b5b07[_0x7c853b(0x300)](_0x544889,_0x59a11a[_0x7c853b(0x154)])}};this[_0x7c853b(0x24a)][_0x7c853b(0x1cc)](_0x463918,this[_0x7c853b(0x281)]);},_0x354484)),(this[_0xd5e409(0x281)]=_0x1be30d,this[_0xd5e409(0x24a)]=_0x1d55d0,this['_injector']=_0x5d7b0f,this[_0xd5e409(0x2a1)]=_0x1eddb1,this[_0xd5e409(0x1be)]=_0x591aef,this[_0xd5e409(0x27e)]=_0x42e283,this[_0xd5e409(0x2c7)]=_0xb482a4,this[_0xd5e409(0x2bd)]=_0x47e012);}get[_0x41fa7f(0x1f6)](){const _0x5700fb=_0x41fa7f;return this[_0x5700fb(0x36f)]['getValue']();}get['roomMembers'](){const _0x38d6e6=_0x41fa7f;return this[_0x38d6e6(0x3da)]['getValue']();}[_0x41fa7f(0x1b9)](){const _0x284276=_0x41fa7f;super['dispose'](),this[_0x284276(0x36f)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x284276(0x3da)][_0x284276(0x3b5)]([]),this[_0x284276(0x3da)]['complete']();}[_0x41fa7f(0x22f)](){const _0x74c453=_0x41fa7f;this[_0x74c453(0x33f)]||(this[_0x74c453(0x33f)]=!0x0,this['_session'][_0x74c453(0x27b)][_0x74c453(0x25c)](_0x5bb37b[_0x74c453(0x285)](this['dispose$']))[_0x74c453(0x31f)](_0x1778c4=>{const _0x53b974=_0x74c453;_0x1778c4===_0x5a33af['SessionStatus'][_0x53b974(0x1d9)]?this[_0x53b974(0x110)]():this[_0x53b974(0x1d4)]();}),this[_0x74c453(0x24a)][_0x74c453(0x173)][_0x74c453(0x25c)](_0x5bb37b['takeUntil'](this[_0x74c453(0x119)]))[_0x74c453(0x31f)](_0x281f16=>{const _0x3284b0=_0x74c453,_0x9e2d00=_0x281f16[_0x3284b0(0x1d0)];_0x9e2d00===_0x1b3789[_0x3284b0(0x276)][_0x3284b0(0x297)]&&this['_onCursorUpdate'](_0x281f16),_0x9e2d00===_0x1b3789[_0x3284b0(0x276)][_0x3284b0(0x127)]&&this[_0x3284b0(0x292)](_0x281f16);}),this[_0x74c453(0x387)](),this[_0x74c453(0x31e)](this[_0x74c453(0x2c7)][_0x74c453(0x191)](_0x31bdbf=>{const _0x4cea5e=_0x74c453;if(this[_0x4cea5e(0x1a2)]&&_0x31bdbf['id']===_0x5d16b0[_0x4cea5e(0x2df)]['id']&&_0x31bdbf[_0x4cea5e(0x34a)][_0x4cea5e(0x392)]===this[_0x4cea5e(0x281)]){const _0x143a4f=_0x31bdbf[_0x4cea5e(0x34a)];this[_0x4cea5e(0x15c)](_0x143a4f['subUnitId'],_0x143a4f[_0x4cea5e(0x344)][0x0]);}})));}[_0x41fa7f(0x2a7)](_0x3ab142){const _0x234144=_0x41fa7f;var _0x32c9e8,_0x1d9bf9;const {memberID:_0x4c410b,selection:_0x1577ce}=_0x3ab142['data'],{sheetName:_0x1b8b10,range:_0x5c37e9}=_0x7b5b07[_0x234144(0x1a8)](_0x1577ce),_0x18331d={'name':(_0x1d9bf9=(_0x32c9e8=this[_0x234144(0x1be)][_0x234144(0x3c3)](this['unitID'],_0x4c410b))==null?void 0x0:_0x32c9e8[_0x234144(0x2b1)])!=null?_0x1d9bf9:_0x234144(0x337),'range':this[_0x234144(0x295)](_0x1b8b10,_0x5c37e9),'sheetID':_0x1b8b10,'color':this[_0x234144(0x2a1)]['assignAColorForMemberID'](_0x4c410b),'selection':_0x1577ce},_0x43d8c8=this['cursorInfo'];_0x43d8c8['set'](_0x4c410b,_0x18331d),this[_0x234144(0x36f)][_0x234144(0x3b5)](_0x43d8c8);}['_onCursorDelete'](_0x29f5eb){const _0x28a893=_0x41fa7f,{memberID:_0x4ea43a}=_0x29f5eb[_0x28a893(0x36c)],_0x132aed=this[_0x28a893(0x1f6)];_0x132aed[_0x28a893(0x349)](_0x4ea43a),this[_0x28a893(0x36f)][_0x28a893(0x3b5)](_0x132aed);}[_0x41fa7f(0x295)](_0x180c8f,_0x2b42c0){const _0x5885e4=_0x41fa7f;var _0x25af43,_0x2097d4;const _0x3eb2ee=(_0x2097d4=(_0x25af43=this[_0x5885e4(0x27e)][_0x5885e4(0x123)](this[_0x5885e4(0x281)]))==null?void 0x0:_0x25af43[_0x5885e4(0x28b)](_0x180c8f))==null?void 0x0:_0x2097d4[_0x5885e4(0x1e0)]();return(_0x3eb2ee==null?void 0x0:_0x3eb2ee[_0x5885e4(0x397)](_0x438c13=>_0xdb2415['Rectangle'][_0x5885e4(0x385)](_0x438c13,_0x2b42c0)))||_0x2b42c0;}['_onRefRangeChange'](){const _0x163ff8=_0x41fa7f,_0x1567ec=new _0xdb2415[(_0x163ff8(0x39f))](),_0x126278=_0x244efb(),_0x476e95=()=>{const _0x21fafb=_0x163ff8;_0x1567ec['dispose']();const _0x2fa558=(_0x578a9c,_0x1a3d3f,_0x4dec43,_0x5d06be)=>{const _0x129f11=_0x4944;let _0x2d0689=[];switch(_0x578a9c['id']){case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x1fa)]:{_0x2d0689=_0x5d16b0['handleDeleteRangeMoveLeft'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x2d0689=_0x5d16b0['handleDeleteRangeMoveUp'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)]['InsertColCommandId']:{_0x2d0689=_0x5d16b0['handleInsertCol'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x179)]:{_0x2d0689=_0x5d16b0['handleInsertRangeMoveDown'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x139)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x388)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x348)]:{_0x2d0689=_0x5d16b0['handleInsertRow'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x278)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x368)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x284)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x357)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x131)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x22e)](_0x578a9c,_0x5d06be);break;}}const _0x10ec19=_0x5d16b0['runRefRangeMutations'](_0x2d0689,_0x5d06be),_0x46410d=this[_0x129f11(0x1f6)]['get'](_0x1a3d3f);if(_0x46410d&&_0x10ec19){const _0x1a5d1e={..._0x46410d,'range':_0x10ec19};this[_0x129f11(0x1f6)][_0x129f11(0x238)](_0x1a3d3f,_0x1a5d1e),_0x126278(()=>{const _0xfe646=_0x129f11,_0x52422c=this[_0xfe646(0x2bd)]['registerRefRange'](_0x10ec19,_0x181f4d=>(_0x52422c[_0xfe646(0x1b9)](),_0x2fa558(_0x181f4d,_0x1a3d3f,_0x4dec43,_0x10ec19)));_0x1567ec[_0xfe646(0x12e)](_0x52422c);});}return{'redos':[],'undos':[]};};this[_0x21fafb(0x1f6)][_0x21fafb(0x270)]((_0x21ed73,_0x458394)=>{const _0x976ce7=_0x21fafb,{range:_0x5039a7,sheetID:_0x230c68}=_0x21ed73,_0x586ded=this[_0x976ce7(0x2bd)][_0x976ce7(0x3ad)](_0x5039a7,_0x1f50b2=>(_0x586ded[_0x976ce7(0x1b9)](),_0x2fa558(_0x1f50b2,_0x458394,_0x230c68,_0x5039a7)));_0x1567ec['add'](_0x586ded);});};this[_0x163ff8(0x31e)](_0xdb2415['toDisposable'](this[_0x163ff8(0x36f)][_0x163ff8(0x31f)](()=>{_0x476e95();})));}['_toggleOnline'](){const _0x2d3bbf=_0x41fa7f;var _0x18a26a,_0x3dee85;if(this[_0x2d3bbf(0x1a2)]=!0x0,((_0x18a26a=this[_0x2d3bbf(0x27e)][_0x2d3bbf(0x2be)]())==null?void 0x0:_0x18a26a[_0x2d3bbf(0x225)]())!==this[_0x2d3bbf(0x281)])return;const _0x398757=(_0x3dee85=this[_0x2d3bbf(0x2e4)][_0x2d3bbf(0x3a4)](_0x5d16b0[_0x2d3bbf(0x32e)])['getCurrentSelections']())==null?void 0x0:_0x3dee85[0x0],_0x1c82cb=this[_0x2d3bbf(0x27e)][_0x2d3bbf(0x335)](_0xdb2415[_0x2d3bbf(0x2f0)][_0x2d3bbf(0x2f4)])['getActiveSheet']();_0x398757&&_0x1c82cb&&this[_0x2d3bbf(0x15c)](_0x1c82cb['getSheetId'](),_0x398757);}[_0x41fa7f(0x1d4)](){this['_online']=!0x1;}};_0x237592=_0x395ce6([_0x4ba7e7(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x4ba7e7(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x54f54d)),_0x4ba7e7(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x3b9)])),_0x4ba7e7(0x5,_0xdb2415['IUniverInstanceService']),_0x4ba7e7(0x6,_0xdb2415['ICommandService']),_0x4ba7e7(0x7,_0xdb2415[_0x41fa7f(0x37a)](_0x5d16b0[_0x41fa7f(0x3cf)]))],_0x237592);var _0xcce55f=Object[_0x41fa7f(0x194)],_0x4fc4cc=(_0x41ac38,_0x190655,_0x342fda,_0xd58dab)=>{const _0x108bb3=_0x41fa7f;for(var _0x1bae7c=_0xd58dab>0x1?void 0x0:_0xd58dab?_0xcce55f(_0x190655,_0x342fda):_0x190655,_0x4fc7d5=_0x41ac38[_0x108bb3(0x26c)]-0x1,_0x4b779c;_0x4fc7d5>=0x0;_0x4fc7d5--)(_0x4b779c=_0x41ac38[_0x4fc7d5])&&(_0x1bae7c=_0x4b779c(_0x1bae7c)||_0x1bae7c);return _0x1bae7c;},_0x4f2e54=(_0x1ecd94,_0x3c8397)=>(_0x21834e,_0x31567b)=>_0x3c8397(_0x21834e,_0x31567b,_0x1ecd94);let _0xa0f1ba=class extends _0xdb2415['RxDisposable']{constructor(_0xf0e3f0,_0x5ca2c9,_0x42c9b1){const _0x30651a=_0x41fa7f;super(),_0x356879(this,_0x30651a(0x316),new Map()),_0x356879(this,_0x30651a(0x2b5),new _0x5bb37b['Subject']()),(this[_0x30651a(0x27e)]=_0xf0e3f0,this[_0x30651a(0x2e4)]=_0x5ca2c9,this[_0x30651a(0x38a)]=_0x42c9b1,this[_0x30651a(0x33f)]());}[_0x41fa7f(0x1b9)](){const _0x411e79=_0x41fa7f;super[_0x411e79(0x1b9)](),this['_entityInit$'][_0x411e79(0x3d5)](),this[_0x411e79(0x316)]['forEach'](_0x3c8a0a=>_0x3c8a0a[_0x411e79(0x1b9)]());}[_0x41fa7f(0x2a4)](_0x1433ae){const _0x41bc7a=_0x41fa7f;return this[_0x41bc7a(0x316)][_0x41bc7a(0x246)](_0x1433ae)?this[_0x41bc7a(0x316)][_0x41bc7a(0x3a4)](_0x1433ae)['cursorInfo$']:this[_0x41bc7a(0x2b5)][_0x41bc7a(0x25c)](_0x5bb37b['filter'](_0x5ebf62=>_0x5ebf62[_0x41bc7a(0x281)]===_0x1433ae),_0x5bb37b[_0x41bc7a(0x19e)](_0x545339=>_0x545339[_0x41bc7a(0x33d)]));}[_0x41fa7f(0x33f)](){const _0xabd3e8=_0x41fa7f;this['_univerInstanceService'][_0xabd3e8(0x325)](_0xdb2415[_0xabd3e8(0x2f0)][_0xabd3e8(0x2f4)])[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this[_0xabd3e8(0x119)]))[_0xabd3e8(0x31f)](async _0x348363=>{const _0xda1b98=_0xabd3e8,_0x1c20c5=_0x348363[_0xda1b98(0x225)](),_0x491a0b=await this[_0xda1b98(0x3d6)](_0x1c20c5);this[_0xda1b98(0x2b5)][_0xda1b98(0x3b5)](_0x491a0b),this[_0xda1b98(0x316)]['set'](_0x1c20c5,_0x491a0b);}),this[_0xabd3e8(0x27e)][_0xabd3e8(0x325)](_0xdb2415[_0xabd3e8(0x2f0)][_0xabd3e8(0x315)])[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this['dispose$']))[_0xabd3e8(0x25c)](_0x5bb37b[_0xabd3e8(0x232)](_0x36e8ba=>!_0x36e8ba[_0xabd3e8(0x225)]()['startsWith']('__')))['subscribe'](async _0xa44a98=>{const _0x3762fc=_0xabd3e8,_0x4d608e=_0xa44a98['getUnitId'](),_0x1b31a6=await this[_0x3762fc(0x32c)](_0x4d608e);this[_0x3762fc(0x2b5)][_0x3762fc(0x3b5)](_0x1b31a6),this[_0x3762fc(0x316)][_0x3762fc(0x238)](_0x4d608e,_0x1b31a6);}),_0x5bb37b[_0xabd3e8(0x25f)](this[_0xabd3e8(0x27e)][_0xabd3e8(0x240)](_0xdb2415[_0xabd3e8(0x2f0)]['UNIVER_DOC']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xdb2415['UniverInstanceType'][_0xabd3e8(0x2f4)]))[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this['dispose$']))[_0xabd3e8(0x31f)](_0x3b63a1=>{const _0x23c3f4=_0xabd3e8,_0x5a1df5=_0x3b63a1[_0x23c3f4(0x225)](),_0x4421ae=this[_0x23c3f4(0x316)][_0x23c3f4(0x3a4)](_0x5a1df5);_0x4421ae&&(_0x4421ae[_0x23c3f4(0x1b9)](),this[_0x23c3f4(0x316)][_0x23c3f4(0x349)](_0x5a1df5));});}async['_startSheetCollabCursor'](_0x12d300){const _0x4ece69=_0x41fa7f,_0x5eb495=await this[_0x4ece69(0x38a)]['requireSession'](_0x12d300),_0x40e1dd=this[_0x4ece69(0x2e4)][_0x4ece69(0x2ca)](_0x237592,_0x12d300,_0x5eb495);return _0x40e1dd[_0x4ece69(0x22f)](),_0x40e1dd;}async[_0x41fa7f(0x32c)](_0x320074){const _0x104032=_0x41fa7f,_0x3d1b1b=await this[_0x104032(0x38a)][_0x104032(0x351)](_0x320074),_0x4a6229=this[_0x104032(0x2e4)]['createInstance'](_0x284db1,_0x320074,_0x3d1b1b);return _0x4a6229['init'](),_0x4a6229;}};_0xa0f1ba=_0x4fc4cc([_0x4f2e54(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x4f2e54(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x4f2e54(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x107)]))],_0xa0f1ba);const _0x39a30f=0x14,_0x221c7b=0xc8,_0xab4be3=0x4,_0x4148cb=0x5;function _0x6ccbfd(_0x1acef2,_0x552059){const _0x38b4bb=_0x41fa7f;let {radius:_0x827c08,width:_0x38f8d1,height:_0x3dc8d7}=_0x552059;_0x827c08=_0x827c08!=null?_0x827c08:0x0,_0x38f8d1=_0x38f8d1!=null?_0x38f8d1:0x1e,_0x3dc8d7=_0x3dc8d7!=null?_0x3dc8d7:0x1e;let _0x1951a2=0x0,_0x4441e1=0x0,_0x1e5e45=0x0;_0x1951a2=_0x4441e1=_0x1e5e45=Math[_0x38b4bb(0x302)](_0x827c08,_0x38f8d1/0x2,_0x3dc8d7/0x2),_0x1acef2[_0x38b4bb(0x183)](),_0x1acef2[_0x38b4bb(0x38e)](_0x1951a2,0x0),_0x1acef2[_0x38b4bb(0x103)](_0x38f8d1-_0x4441e1,0x0),_0x1acef2[_0x38b4bb(0x380)](_0x38f8d1-_0x4441e1,_0x4441e1,_0x4441e1,Math['PI']*0x3/0x2,0x0,!0x1),_0x1acef2[_0x38b4bb(0x103)](_0x38f8d1,_0x3dc8d7-_0x1e5e45),_0x1acef2['arc'](_0x38f8d1-_0x1e5e45,_0x3dc8d7-_0x1e5e45,_0x1e5e45,0x0,Math['PI']/0x2,!0x1),_0x1acef2['lineTo'](0x0,_0x3dc8d7),_0x1acef2['lineTo'](0x0,_0x1951a2),_0x1acef2[_0x38b4bb(0x380)](_0x1951a2,_0x1951a2,_0x1951a2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1acef2['closePath'](),_0x552059[_0x38b4bb(0x18b)]&&(_0x1acef2['save'](),_0x1acef2[_0x38b4bb(0x323)]=_0x552059[_0x38b4bb(0x18b)],_0x552059['fillRule']===_0x38b4bb(0x2e3)?_0x1acef2[_0x38b4bb(0x18b)](_0x38b4bb(0x2e3)):_0x1acef2[_0x38b4bb(0x18b)](),_0x1acef2[_0x38b4bb(0x1ac)]());}class _0x1c80eb extends _0x7c9b89[_0x41fa7f(0x128)]{constructor(_0x5bc7af,_0x70f18d){const _0x5bf24d=_0x41fa7f;super(_0x5bc7af,_0x70f18d),_0x356879(this,_0x5bf24d(0x2fa)),_0x356879(this,_0x5bf24d(0x129)),(this[_0x5bf24d(0x2fa)]=_0x70f18d==null?void 0x0:_0x70f18d[_0x5bf24d(0x2fa)],this[_0x5bf24d(0x129)]=_0x70f18d==null?void 0x0:_0x70f18d['text']);}static[_0x41fa7f(0x28c)](_0x118849,_0x5e003a){const _0x5a0cc2=_0x41fa7f,{text:_0x389206,color:_0x36b9e4}=_0x5e003a;_0x118849[_0x5a0cc2(0x23f)](),_0x118849[_0x5a0cc2(0x30f)]=_0x5a0cc2(0x120);const _0x184171=_0x118849[_0x5a0cc2(0x185)](_0x389206)[_0x5a0cc2(0x1d5)],_0x2820c6=Math[_0x5a0cc2(0x302)](_0x184171+0x2*_0xab4be3,_0x221c7b);_0x6ccbfd(_0x118849,{'height':_0x39a30f,'radius':0x4,'width':_0x2820c6,'fill':_0x36b9e4}),_0x118849[_0x5a0cc2(0x323)]=_0x5a0cc2(0x243);const _0x31654f=_0xab4be3,_0x10e10c=_0x39a30f-_0x4148cb,_0x1229af=_0x221c7b-0x2*_0xab4be3;if(_0x184171>_0x1229af){let _0x5c0330='',_0x36b3ea=0x0;for(const _0x2e71ca of _0x389206){const _0x24aaa3=_0x118849[_0x5a0cc2(0x185)](_0x2e71ca)[_0x5a0cc2(0x1d5)];if(_0x36b3ea+_0x24aaa3<=_0x1229af-_0x118849[_0x5a0cc2(0x185)](_0x5a0cc2(0x362))[_0x5a0cc2(0x1d5)])_0x5c0330+=_0x2e71ca,_0x36b3ea+=_0x24aaa3;else{_0x5c0330+=_0x5a0cc2(0x362);break;}}_0x118849[_0x5a0cc2(0x166)](_0x5c0330,_0x31654f,_0x10e10c);}else _0x118849[_0x5a0cc2(0x166)](_0x389206,_0x31654f,_0x10e10c);_0x118849[_0x5a0cc2(0x1ac)]();}[_0x41fa7f(0x2c4)](_0x2a3557){const _0x4da168=_0x41fa7f;_0x1c80eb[_0x4da168(0x28c)](_0x2a3557,this);}}const _0x55882b=_0x41fa7f(0x33a),_0x277d53=_0x41fa7f(0x1c2),_0x1551dc='collab-rect-range-',_0x5ea91d=0x6,_0xb56194=1.5,_0xfec3a6=0x4,_0x3738ca=1.5,_0x24d547=_0x41fa7f(0x365);class _0x277fdb{constructor(_0x1b5cc0,_0x2ebbd7,_0x3b7ba1,_0xe35db3){const _0xfeb88=_0x41fa7f;_0x356879(this,'_shapes',[]),_0x356879(this,_0xfeb88(0x347),null),_0x356879(this,_0xfeb88(0x331),null),_0x356879(this,_0xfeb88(0x12b),null),_0x356879(this,_0xfeb88(0x239),null),_0x356879(this,_0xfeb88(0x280),null),(this[_0xfeb88(0x213)]=_0x1b5cc0,this['_scene']=_0x2ebbd7,this['_docSkeleton']=_0x3b7ba1,this[_0xfeb88(0x146)]=_0xe35db3,this[_0xfeb88(0x226)]());}set[_0x41fa7f(0x1f9)](_0x3d469c){const _0x104cc3=_0x41fa7f;_0x3d469c?(this['_anchorDot']&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x104cc3(0x331)][_0x104cc3(0x186)]()):(this[_0x104cc3(0x12b)]&&this['_anchorDot'][_0x104cc3(0x186)](),this[_0x104cc3(0x331)]&&this[_0x104cc3(0x331)]['hide']());}['dispose'](){const _0x14f665=_0x41fa7f;for(const _0x55e5cf of this[_0x14f665(0x391)])_0x55e5cf[_0x14f665(0x1b9)]();this[_0x14f665(0x331)]&&this[_0x14f665(0x331)]['dispose'](),this[_0x14f665(0x12b)]&&this[_0x14f665(0x12b)]['dispose'](),this['_anchor']&&this[_0x14f665(0x347)][_0x14f665(0x1b9)](),this[_0x14f665(0x280)]&&this['_eventUnsubscribe']();}[_0x41fa7f(0x226)](){const _0x3ed7e7=_0x41fa7f;var _0x2b9a72;const {_docSkeleton:_0x2fc670,_document:_0x771ec2}=this,{color:_0x5f2059,name:_0x15c276,ranges:_0xb312e8}=this[_0x3ed7e7(0x213)],_0x3d5099=_0x771ec2[_0x3ed7e7(0x13e)](),{docsLeft:_0xf74a8f,docsTop:_0x4fb2f1}=_0x3d5099,_0x246aab=new _0x4abee5['NodePositionConvertToCursor'](_0x3d5099,_0x2fc670);for(const {startOffset:_0x794fa0,endOffset:_0xac7e2c,rangeType:_0x4d31c0,segmentId:_0xa778f0,segmentPage:_0x16eb4f,collapsed:_0x3647ad,isActive:_0x2101bd}of _0xb312e8){const _0x36d78e=_0x2fc670['findNodePositionByCharIndex'](_0x794fa0,!0x0,_0xa778f0,_0x16eb4f);let _0x4ea6b8=_0x2fc670[_0x3ed7e7(0x3b2)](_0xac7e2c,!0x0,_0xa778f0,_0x16eb4f);if(_0x4ea6b8==null&&(_0x4ea6b8=_0x2fc670[_0x3ed7e7(0x3b2)](_0xac7e2c-0x1,!0x1,_0xa778f0,_0x16eb4f)),_0x2101bd){const {contentBoxPointGroup:_0x4d1680}=_0x246aab[_0x3ed7e7(0x2de)](_0x4ea6b8,_0x4ea6b8);if(_0x4d1680[_0x3ed7e7(0x26c)]===0x0)continue;this[_0x3ed7e7(0x22d)](_0x5f2059,_0x4d1680,_0xf74a8f,_0x4fb2f1,_0x15c276),this[_0x3ed7e7(0x280)]=this['_handleHover']();}if(_0x36d78e&&_0x4ea6b8){if(_0x4d31c0===_0xdb2415['DOC_RANGE_TYPE'][_0x3ed7e7(0x15f)]){const _0x4c058b=new _0x4abee5['NodePositionConvertToRectRange'](_0x3d5099,_0x2fc670),{pointGroup:_0x46c30b}=(_0x2b9a72=_0x4c058b['getRangePointData'](_0x36d78e,_0x4ea6b8))!=null?_0x2b9a72:{};if(_0x46c30b==null||_0x46c30b['length']===0x0)continue;this[_0x3ed7e7(0x24e)](_0x5f2059,_0x46c30b,_0xf74a8f,_0x4fb2f1);}else{if(!_0x3647ad){const {borderBoxPointGroup:_0x2a3df5}=_0x246aab[_0x3ed7e7(0x2de)](_0x36d78e,_0x4ea6b8);if(_0x2a3df5[_0x3ed7e7(0x26c)]===0x0)continue;this[_0x3ed7e7(0x156)](_0x5f2059,_0x2a3df5,_0xf74a8f,_0x4fb2f1);}}}}}[_0x41fa7f(0x22d)](_0x4d2d02,_0x2ca276,_0xbd46e1,_0x4e30f6,_0x5e36a8){const _0x4fc918=_0x41fa7f,_0x237c54=this[_0x4fc918(0x18c)](_0x2ca276),{left:_0x4cc8d7,top:_0x325868,height:_0x494a01}=_0x237c54,_0x184529=this[_0x4fc918(0x377)](),_0x3fe94f=_0x3738ca/_0x184529,_0x35c8c1=new _0x7c9b89['Rect'](_0x55882b+_0xdb2415['generateRandomId'](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6,'height':_0x494a01,'width':_0xb56194,'fill':_0x4d2d02||_0x7c9b89['getColor'](_0xdb2415[_0x4fc918(0x159)][_0x4fc918(0x375)],0x0),'strokeWidth':_0x3fe94f,'stroke':_0x24d547,'evented':!0x0});this[_0x4fc918(0x347)]=_0x35c8c1,this['_scene'][_0x4fc918(0x130)](_0x35c8c1,_0x4abee5['TEXT_RANGE_LAYER_INDEX']);const _0x7c7f54=new _0x7c9b89[(_0x4fc918(0x3c9))](_0x55882b+_0xdb2415['generateRandomId'](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6-_0xfec3a6/0x2,'height':_0xfec3a6,'width':_0xfec3a6,'fill':_0x4d2d02||_0x7c9b89[_0x4fc918(0x3a7)](_0xdb2415[_0x4fc918(0x159)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4d2d02||_0x7c9b89[_0x4fc918(0x3a7)](_0xdb2415[_0x4fc918(0x159)][_0x4fc918(0x375)],0x0),'evented':!0x1});this['_anchorDot']=_0x7c7f54,this[_0x4fc918(0x1ce)][_0x4fc918(0x130)](_0x7c7f54,_0x4abee5[_0x4fc918(0x20f)]);const _0x95d087=new _0x1c80eb(_0x55882b+_0xdb2415[_0x4fc918(0x1c5)](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6-_0x39a30f,'text':_0x5e36a8,'color':_0x4d2d02});this['_textBubble']=_0x95d087,this[_0x4fc918(0x1ce)][_0x4fc918(0x130)](_0x95d087,_0x4abee5[_0x4fc918(0x20f)]),this[_0x4fc918(0x1f9)]=!0x1;}[_0x41fa7f(0x180)](){const _0x2b7f19=_0x41fa7f,_0xad7311=this[_0x2b7f19(0x347)][_0x2b7f19(0x2e6)][_0x2b7f19(0x38b)](()=>{const _0x3fe2f0=_0x2b7f19;this[_0x3fe2f0(0x1f9)]=!0x0;}),_0x5134ce=this['_anchor'][_0x2b7f19(0x1fd)][_0x2b7f19(0x38b)](()=>{const _0x51cead=_0x2b7f19;this[_0x51cead(0x239)]&&clearTimeout(this[_0x51cead(0x239)]),this[_0x51cead(0x239)]=setTimeout(()=>{const _0xd33d5=_0x51cead;this[_0xd33d5(0x1f9)]=!0x1;},0x7d0);});return()=>{_0xad7311['unsubscribe'](),_0x5134ce['unsubscribe']();};}['_drawTextRange'](_0x4842c1,_0x3fd8ba,_0x3583df,_0x3b2c57){const _0x221040=_0x41fa7f,_0x4afc76=new _0xdb2415[(_0x221040(0x2c2))](_0x4842c1)[_0x221040(0x359)](0.2)[_0x221040(0x1c7)](),_0x55a7c8=new _0x7c9b89[(_0x221040(0x2b2))](_0x277d53+_0xdb2415[_0x221040(0x1c5)](_0x5ea91d),{'pointsGroup':_0x3fd8ba,'fill':_0x4afc76||_0x7c9b89[_0x221040(0x3a7)](_0xdb2415['COLORS'][_0x221040(0x375)],0.2),'left':_0x3583df,'top':_0x3b2c57,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x221040(0x391)]['push'](_0x55a7c8),this['_scene'][_0x221040(0x130)](_0x55a7c8,_0x4abee5[_0x221040(0x20f)]);}[_0x41fa7f(0x24e)](_0x3742b9,_0x286680,_0x5028f1,_0xd1e2){const _0x52ee35=_0x41fa7f,_0x371144=new _0xdb2415[(_0x52ee35(0x2c2))](_0x3742b9)[_0x52ee35(0x359)](0.2)[_0x52ee35(0x1c7)](),_0x5278dd=new _0x7c9b89['RegularPolygon'](_0x1551dc+_0xdb2415['generateRandomId'](_0x5ea91d),{'pointsGroup':_0x286680,'fill':_0x371144||_0x7c9b89[_0x52ee35(0x3a7)](_0xdb2415[_0x52ee35(0x159)][_0x52ee35(0x375)],0.2),'left':_0x5028f1,'top':_0xd1e2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x52ee35(0x3dd)](_0x5278dd),this[_0x52ee35(0x1ce)][_0x52ee35(0x130)](_0x5278dd,_0x4abee5['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0xd50640){const _0x2ff103=_0xd50640[0x0],_0x67d6fa=_0x2ff103[0x0],_0x26fbd9=_0x2ff103[0x2],{x:_0x2f42a4,y:_0x45274a}=_0x67d6fa,{x:_0x2ca981,y:_0x274c8b}=_0x26fbd9;return{'left':_0x2f42a4,'top':_0x45274a,'width':_0x2ca981-_0x2f42a4,'height':_0x274c8b-_0x45274a};}['_getScale'](){const _0x15e8cc=_0x41fa7f,{scaleX:_0x4fd8f8,scaleY:_0x3472dc}=this[_0x15e8cc(0x1ce)][_0x15e8cc(0x37c)]();return Math[_0x15e8cc(0x3d7)](_0x4fd8f8,_0x3472dc);}}var _0xe41ea0=Object['getOwnPropertyDescriptor'],_0xc90376=(_0x2ab268,_0x483956,_0x58d83c,_0x32bf5f)=>{const _0x245d2b=_0x41fa7f;for(var _0x32dd92=_0x32bf5f>0x1?void 0x0:_0x32bf5f?_0xe41ea0(_0x483956,_0x58d83c):_0x483956,_0x40efdc=_0x2ab268[_0x245d2b(0x26c)]-0x1,_0x54a574;_0x40efdc>=0x0;_0x40efdc--)(_0x54a574=_0x2ab268[_0x40efdc])&&(_0x32dd92=_0x54a574(_0x32dd92)||_0x32dd92);return _0x32dd92;},_0x25fc38=(_0x4098f4,_0x5e8e35)=>(_0x185f65,_0x5ac74c)=>_0x5e8e35(_0x185f65,_0x5ac74c,_0x4098f4);let _0x1ba6f3=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x31448e,_0x2f14d8,_0xa9ae61,_0xd27ba0,_0x1cd26d){const _0x6cc955=_0x41fa7f;super(),_0x356879(this,'_cursorShapes',[]),_0x356879(this,_0x6cc955(0x1a9),[]),(this[_0x6cc955(0x2a0)]=_0x31448e,this[_0x6cc955(0x314)]=_0x2f14d8,this[_0x6cc955(0x1bc)]=_0xa9ae61,this[_0x6cc955(0x2c7)]=_0xd27ba0,this[_0x6cc955(0x326)]=_0x1cd26d,this[_0x6cc955(0x33f)]());}[_0x41fa7f(0x33f)](){const _0x1e43da=_0x41fa7f,_0x591923=this[_0x1e43da(0x2a0)][_0x1e43da(0x392)],_0x1102e3=this[_0x1e43da(0x314)];this[_0x1e43da(0x31e)](_0x5bb37b[_0x1e43da(0x2b9)]([this[_0x1e43da(0x1bc)][_0x1e43da(0x2a4)](_0x591923),this[_0x1e43da(0x326)][_0x1e43da(0x2f7)]])['pipe'](_0xf7042a[_0x1e43da(0x311)](([_0x1df03d,_0x13259e])=>({'skeleton':_0x1102e3[_0x1e43da(0x169)](),'cursors':[..._0x1df03d[_0x1e43da(0x39b)]()][_0x1e43da(0x371)](_0x4cba5d=>({..._0x4cba5d,'color':this[_0x1e43da(0x326)][_0x1e43da(0x2d3)](_0x4cba5d[_0x1e43da(0x2fa)])}))})))['subscribe'](_0x5b6c98=>{const _0x447a1e=_0x1e43da;if(this[_0x447a1e(0x17e)](),_0x5b6c98){const {skeleton:_0x19ff5d,cursors:_0x48d3cb}=_0x5b6c98;this['_updateCollabCursors'](_0x19ff5d,_0x48d3cb);}})),this['_initResize'](),this[_0x1e43da(0x306)]();}[_0x41fa7f(0x112)](_0x3ef664,_0x53a234){const _0x3e0166=_0x41fa7f,{scene:_0x2eb3aa,mainComponent:_0x5a1c30}=this[_0x3e0166(0x2a0)],_0x4434e5=_0x53a234[_0x3e0166(0x311)](_0x2b3c8d=>new _0x277fdb(_0x2b3c8d,_0x2eb3aa,_0x3ef664,_0x5a1c30));this['_cursorShapes']=_0x4434e5,this[_0x3e0166(0x1a9)]=_0x53a234;}[_0x41fa7f(0x16b)](){const _0x33497d=_0x41fa7f;this[_0x33497d(0x17e)]();const {scene:_0x1a418b,mainComponent:_0x54bfff}=this[_0x33497d(0x2a0)],_0xa9834d=this[_0x33497d(0x314)][_0x33497d(0x169)](),_0x2aa166=this[_0x33497d(0x1a9)][_0x33497d(0x311)](_0x35260b=>new _0x277fdb(_0x35260b,_0x1a418b,_0xa9834d,_0x54bfff));this[_0x33497d(0x21e)]=_0x2aa166;}[_0x41fa7f(0x17e)](){const _0x38f1ba=_0x41fa7f;this[_0x38f1ba(0x21e)]['forEach'](_0x186d7c=>_0x186d7c['dispose']()),this[_0x38f1ba(0x21e)]=[];}[_0x41fa7f(0x306)](){const _0x2b7ae2=_0x41fa7f,_0x3955ba=[_0x4abee5['SetDocZoomRatioOperation']['id']];this[_0x2b7ae2(0x31e)](this[_0x2b7ae2(0x2c7)][_0x2b7ae2(0x191)](_0x424669=>{const _0xe03613=_0x2b7ae2;_0x3955ba[_0xe03613(0x21d)](_0x424669['id'])&&_0x424669[_0xe03613(0x34a)][_0xe03613(0x392)]===this[_0xe03613(0x2a0)][_0xe03613(0x392)]&&this[_0xe03613(0x16b)]();}));}[_0x41fa7f(0x25a)](){const _0x24ecf6=_0x41fa7f;this['disposeWithMe'](_0xdb2415[_0x24ecf6(0x1b7)](this[_0x24ecf6(0x2a0)][_0x24ecf6(0x176)]['onTransformChange$'])[_0x24ecf6(0x25c)](_0xf7042a[_0x24ecf6(0x232)](_0x12450c=>_0x12450c[_0x24ecf6(0x17a)]===_0x7c9b89[_0x24ecf6(0x11c)]['resize']),_0xf7042a[_0x24ecf6(0x3ce)](0x10))['subscribe'](()=>{const _0x4f970e=_0x24ecf6;this[_0x4f970e(0x16b)]();}));}};_0x1ba6f3=_0xc90376([_0x25fc38(0x1,_0xdb2415['Inject'](_0x5e9ade[_0x41fa7f(0x170)])),_0x25fc38(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xa0f1ba)),_0x25fc38(0x3,_0xdb2415['ICommandService']),_0x25fc38(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['ThemeService']))],_0x1ba6f3);const _0x513646=0x1,_0x5b0b79=1.5;class _0x2d04ac extends _0x7c9b89['Shape']{constructor(_0x1bf760,_0x2adfa7){const _0x1a048f=_0x41fa7f;super(_0x1bf760,_0x2adfa7),_0x356879(this,_0x1a048f(0x1d6)),_0x356879(this,_0x1a048f(0x2e1),!0x1),_0x356879(this,_0x1a048f(0x27a)),_0x356879(this,_0x1a048f(0x234),''),_0x356879(this,_0x1a048f(0x3b6),_0x1a048f(0x209)),_0x356879(this,'_backgroundColor'),(_0x2adfa7&&this[_0x1a048f(0x3d0)](_0x2adfa7),this[_0x1a048f(0x2e6)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1a048f(0x1fd)][_0x1a048f(0x38b)](()=>this[_0x1a048f(0x3d0)]({'hovered':!0x1})));}['setShapeProps'](_0x5b19cc){const _0x295757=_0x41fa7f;var _0x50b3e9,_0x4fb9d7,_0x5dfb60,_0x48679b,_0x262e8c,_0x1c82ec;this[_0x295757(0x1d6)]=(_0x50b3e9=_0x5b19cc[_0x295757(0x2fa)])!=null?_0x50b3e9:this[_0x295757(0x1d6)],this[_0x295757(0x2e1)]=(_0x4fb9d7=_0x5b19cc[_0x295757(0x2b8)])!=null?_0x4fb9d7:this['_hovered'],this[_0x295757(0x27a)]=(_0x5dfb60=_0x5b19cc['range'])!=null?_0x5dfb60:this[_0x295757(0x27a)],this[_0x295757(0x234)]=(_0x48679b=_0x5b19cc[_0x295757(0x2b1)])!=null?_0x48679b:this['_name'],this[_0x295757(0x3b6)]=(_0x262e8c=_0x5b19cc[_0x295757(0x133)])!=null?_0x262e8c:this[_0x295757(0x3b6)],this[_0x295757(0x1a6)]=(_0x1c82ec=_0x5b19cc[_0x295757(0x1bd)])!=null?_0x1c82ec:this[_0x295757(0x1a6)],this['transformByState']({'width':_0x5b19cc['width'],'height':_0x5b19cc[_0x295757(0x106)]});}[_0x41fa7f(0x259)](_0x3f1315){const _0x15f4d0=_0x41fa7f,{row:_0x459a43,column:_0x3476d9}=_0x3f1315;if(_0x459a43>=this[_0x15f4d0(0x27a)][_0x15f4d0(0x137)]&&_0x459a43<=this[_0x15f4d0(0x27a)][_0x15f4d0(0x14a)]&&_0x3476d9>=this[_0x15f4d0(0x27a)][_0x15f4d0(0x12a)]&&_0x3476d9<=this['_range'][_0x15f4d0(0x350)]){this[_0x15f4d0(0x3d0)]({'hovered':!0x0});return;}this[_0x15f4d0(0x3d0)]({'hovered':!0x1});}['triggerDblclick'](_0x196695){return!0x1;}[_0x41fa7f(0x2c4)](_0x25f802){const _0xf0a65b=_0x41fa7f;_0x7c9b89[_0xf0a65b(0x3c9)]['drawWith'](_0x25f802,{'width':this[_0xf0a65b(0x1d5)],'height':this[_0xf0a65b(0x106)],'strokeWidth':_0x5b0b79,'stroke':this[_0xf0a65b(0x1d6)],'evented':!0x1,'fill':this[_0xf0a65b(0x1a6)]}),this[_0xf0a65b(0x2e1)]&&(_0x25f802[_0xf0a65b(0x23f)](),_0x25f802[_0xf0a65b(0x2af)](0x1,0x0,0x0,0x1,this['width'],this[_0xf0a65b(0x3b6)]===_0xf0a65b(0x35b)?0x0:-_0x39a30f),_0x1c80eb[_0xf0a65b(0x28c)](_0x25f802,{'text':this['_name'],'color':this['_color']}),_0x25f802[_0xf0a65b(0x1ac)]());}}var _0x2380d6=Object[_0x41fa7f(0x194)],_0x214103=(_0x275ed4,_0x19de4e,_0x13496b,_0x42a822)=>{const _0x1bbcc4=_0x41fa7f;for(var _0x9fc54=_0x42a822>0x1?void 0x0:_0x42a822?_0x2380d6(_0x19de4e,_0x13496b):_0x19de4e,_0x5664ff=_0x275ed4[_0x1bbcc4(0x26c)]-0x1,_0x14bf73;_0x5664ff>=0x0;_0x5664ff--)(_0x14bf73=_0x275ed4[_0x5664ff])&&(_0x9fc54=_0x14bf73(_0x9fc54)||_0x9fc54);return _0x9fc54;},_0x234a2b=(_0x550da8,_0x27d0bf)=>(_0x28c843,_0x239cc0)=>_0x27d0bf(_0x28c843,_0x239cc0,_0x550da8);const _0x4b416c=0x1389;let _0x267f0b=class extends _0xdb2415['RxDisposable']{constructor(_0x1ad383,_0x1dc497,_0x47e1a9,_0x1c3226){const _0x434b65=_0x41fa7f;super(),_0x356879(this,_0x434b65(0x1a9),new Set()),_0x356879(this,_0x434b65(0x2b7),null),(this[_0x434b65(0x2a0)]=_0x1ad383,this[_0x434b65(0x2ba)]=_0x1dc497,this[_0x434b65(0x1bc)]=_0x47e1a9,this[_0x434b65(0x326)]=_0x1c3226,this['_init']());}[_0x41fa7f(0x33f)](){const _0x3736b7=_0x41fa7f;this[_0x3736b7(0x2ba)][_0x3736b7(0x298)][_0x3736b7(0x25c)](_0xf7042a[_0x3736b7(0x285)](this[_0x3736b7(0x119)]),_0xf7042a['switchMap'](_0x26ab5f=>{const _0x26db39=_0x3736b7;if(_0x26ab5f){const _0x142052=_0x26ab5f[_0x26db39(0x1c3)];return _0x5bb37b[_0x26db39(0x2b9)](this[_0x26db39(0x1bc)][_0x26db39(0x2a4)](this[_0x26db39(0x2a0)][_0x26db39(0x392)]),this[_0x26db39(0x326)][_0x26db39(0x2f7)])[_0x26db39(0x25c)](_0xf7042a[_0x26db39(0x311)](([_0x5e9f53,_0x1835e6])=>{const _0xcf3345=new Map();return _0x5e9f53['forEach']((_0x2a864f,_0x1f281b)=>{const _0xf17993=_0x4944;if(_0x2a864f[_0xf17993(0x2b4)]===_0x142052){const _0x510330={..._0x2a864f};_0x510330[_0xf17993(0x2fa)]=this[_0xf17993(0x326)][_0xf17993(0x2d3)](_0x2a864f['color']),_0xcf3345[_0xf17993(0x238)](_0x1f281b,_0x510330);}}),{'skeleton':_0x26ab5f,'cursors':_0xcf3345};}));}return _0x5bb37b['of']({'skeleton':null,'cursors':new Map()});}))[_0x3736b7(0x31f)](({skeleton:_0x1860b2,cursors:_0x49ba94})=>{const _0x1caaca=_0x3736b7;this[_0x1caaca(0x17e)](),_0x1860b2&&this[_0x1caaca(0x112)](_0x1860b2,_0x49ba94);}),this['_sheetSkeletonManagerService'][_0x3736b7(0x298)][_0x3736b7(0x31f)](_0x43843e=>{const _0x28053e=_0x3736b7;if(_0x43843e==null)return;const {skeleton:_0xc1d4bc}=_0x43843e,{scene:_0x15cbc4}=this[_0x28053e(0x2a0)];_0x15cbc4['onPointerMove$'][_0x28053e(0x38b)](_0xdb2415[_0x28053e(0x2dc)](_0x28f2be=>{const _0x293803=_0x28053e;var _0xfa81d0,_0x447715;const {offsetX:_0x1481ca,offsetY:_0x226a0a}=_0x28f2be,{x:_0x2d9ed7,y:_0x468ac5}=_0x15cbc4[_0x293803(0x114)](_0x7c9b89[_0x293803(0x356)][_0x293803(0x2cd)]([_0x1481ca,_0x226a0a])),{scaleX:_0x391a3f,scaleY:_0x54fe07}=_0x15cbc4[_0x293803(0x37c)](),_0x521022=_0x15cbc4[_0x293803(0x249)](_0x7c9b89['SHEET_VIEWPORT_KEY'][_0x293803(0x182)]),_0x137e86=_0x15cbc4[_0x293803(0x32d)](_0x7c9b89['Vector2'][_0x293803(0x2cd)]([_0x2d9ed7,_0x468ac5]),_0x521022),_0x127acf=_0xc1d4bc[_0x293803(0xf9)](_0x1481ca,_0x226a0a,_0x391a3f,_0x54fe07,_0x137e86);((_0xfa81d0=this[_0x293803(0x2b7)])==null?void 0x0:_0xfa81d0[_0x293803(0x35a)])===_0x127acf[_0x293803(0x35a)]&&((_0x447715=this[_0x293803(0x2b7)])==null?void 0x0:_0x447715[_0x293803(0x379)])===_0x127acf[_0x293803(0x379)]||this[_0x293803(0x1a9)][_0x293803(0x270)](_0x43fc43=>{const _0x74333=_0x293803;_0x43fc43[_0x74333(0x259)](_0x127acf);});},0x64));});}[_0x41fa7f(0x112)](_0x319582,_0x45c573){const _0x5a99dc=_0x41fa7f;var _0x3bca55;const _0x54cce2=(_0x3bca55=this[_0x5a99dc(0x2ba)][_0x5a99dc(0x32b)]())==null?void 0x0:_0x3bca55[_0x5a99dc(0x218)];if(!_0x54cce2)return;const _0x5c3081=this[_0x5a99dc(0x1ca)]();if(!_0x5c3081)return;this[_0x5a99dc(0x1a9)]['forEach'](_0x5e5fb7=>{const _0x29e095=_0x5a99dc;_0x5e5fb7[_0x29e095(0x193)]();});const {scene:_0x2e2519}=_0x5c3081,_0x28f1e6=_0x25b5ba(Array[_0x5a99dc(0x2a2)](_0x45c573[_0x5a99dc(0x39b)]()))[_0x5a99dc(0x311)](_0x45a275=>{const _0x1021ce=_0x5a99dc,{color:_0x495800,range:_0x3fb9d3,name:_0x3e5eb2,selection:_0x5336f5,sheetID:_0x42b2c3}=_0x45a275,{startColumn:_0x1fb6ed,startRow:_0x5b4259,endColumn:_0x25e95a,endRow:_0x124bc9}=_0x3fb9d3,_0x3d0b6e=_0x427b04[_0x1021ce(0x1cf)](_0x5b4259,_0x1fb6ed,_0x2e2519,_0x54cce2),_0x51d7fe=_0x427b04[_0x1021ce(0x1cf)](_0x124bc9,_0x25e95a,_0x2e2519,_0x54cce2),{columnHeaderHeightAndMarginTop:_0xa112aa}=_0x54cce2,{startX:_0x4cb7fc,startY:_0xaa2b5c}=_0x3d0b6e,{endX:_0x5cc1e9,endY:_0x3b7c79}=_0x51d7fe,_0x4729c0=_0x5cc1e9-_0x4cb7fc,_0x14354c=_0x3b7c79-_0xaa2b5c,_0x426724={'labelPosition':_0xaa2b5c-_0xa112aa>=_0x39a30f?_0x1021ce(0x209):'bottom','sheetID':_0x42b2c3,'range':_0x3fb9d3,'color':_0x495800,'name':_0x3e5eb2,'selection':_0x5336f5,'left':_0x4cb7fc,'top':_0xaa2b5c,'width':_0x4729c0,'height':_0x14354c,'evented':!0x1,'zIndex':_0x4b416c};return new _0x2d04ac(_0x3e5eb2,_0x426724);});_0x2e2519[_0x5a99dc(0x17b)](_0x28f1e6,_0x513646),this[_0x5a99dc(0x1a9)]=new Set(_0x28f1e6);}[_0x41fa7f(0x17e)](){const _0x567509=_0x41fa7f;var _0x5edf63;(_0x5edf63=this['_cursors'])==null||_0x5edf63[_0x567509(0x270)](_0x40947a=>_0x40947a[_0x567509(0x1b9)]());}[_0x41fa7f(0x1ca)](){const _0x42892b=_0x41fa7f;return _0x427b04[_0x42892b(0x190)](this[_0x42892b(0x2a0)][_0x42892b(0x3a1)],this['_context']);}};_0x267f0b=_0x214103([_0x234a2b(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x427b04[_0x41fa7f(0x235)])),_0x234a2b(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xa0f1ba)),_0x234a2b(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['ThemeService']))],_0x267f0b);function _0x25b5ba(_0x26b270){const _0x5e328c=_0x41fa7f,_0x37f4ef=new Map();return _0x26b270[_0x5e328c(0x270)](_0x5e0f2e=>{const _0x12cf83=_0x5e328c;if(_0x37f4ef[_0x12cf83(0x246)](_0x5e0f2e[_0x12cf83(0x1ba)])){const _0x22d852=_0x37f4ef[_0x12cf83(0x3a4)](_0x5e0f2e['selection']);_0x22d852['name']+=',\x20'+_0x5e0f2e[_0x12cf83(0x2b1)];}else _0x37f4ef[_0x12cf83(0x238)](_0x5e0f2e['selection'],_0x5e0f2e);}),Array[_0x5e328c(0x2a2)](_0x37f4ef[_0x5e328c(0x39b)]());}var _0x43bd34=Object[_0x41fa7f(0x194)],_0x4c6cdb=(_0x2a76e7,_0x4ee4d0,_0x1469df,_0x52faa2)=>{const _0x3d57d8=_0x41fa7f;for(var _0x410330=_0x52faa2>0x1?void 0x0:_0x52faa2?_0x43bd34(_0x4ee4d0,_0x1469df):_0x4ee4d0,_0x850d1d=_0x2a76e7[_0x3d57d8(0x26c)]-0x1,_0x555be3;_0x850d1d>=0x0;_0x850d1d--)(_0x555be3=_0x2a76e7[_0x850d1d])&&(_0x410330=_0x555be3(_0x410330)||_0x410330);return _0x410330;},_0x3b7ca7=(_0x115bdf,_0x51869e)=>(_0x4e1981,_0x90b3ca)=>_0x51869e(_0x4e1981,_0x90b3ca,_0x115bdf);let _0x375bf7=class extends _0xdb2415['Disposable']{constructor(_0x223b02,_0x235279,_0x97cb77,_0x559611,_0x57efe7,_0x404809){const _0x38542d=_0x41fa7f;super(),this[_0x38542d(0x3a5)]=_0x223b02,this['_localCacheService']=_0x235279,this[_0x38542d(0x290)]=_0x97cb77,this[_0x38542d(0x1db)]=_0x559611,this[_0x38542d(0x320)]=_0x57efe7,this[_0x38542d(0x1d8)]=_0x404809,this['_setupBeforeClosingHandler'](),this[_0x38542d(0x245)]();}[_0x41fa7f(0x1e1)](){const _0x1fe78a=_0x41fa7f;this[_0x1fe78a(0x31e)](this[_0x1fe78a(0x3a5)][_0x1fe78a(0x217)](()=>{const _0x4972e=_0x1fe78a;if(this[_0x4972e(0x31b)][_0x4972e(0x255)]['size'])return this[_0x4972e(0x1d8)]['t'](_0x4972e(0x1bf));}));}[_0x41fa7f(0x245)](){const _0x502aaa=_0x41fa7f;this[_0x502aaa(0x31e)](this[_0x502aaa(0x290)][_0x502aaa(0x173)][_0x502aaa(0x31f)](_0x209151=>{const _0x5a023b=_0x502aaa;_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x3ca)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326['MessageType']['Warning'],'content':this[_0x5a023b(0x1d8)]['t']('collaboration.single-unit.warning')}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1f8)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)]['Warning'],'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x31d))}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x21f)]&&this[_0x5a023b(0x320)][_0x5a023b(0x186)]({'title':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x132)),'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x36a)),'type':_0x5a023b(0x399),'duration':0x0}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1af)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x373)],'content':this[_0x5a023b(0x1d8)]['t']('collaboration.closeRoom')+'('+_0x209151[_0x5a023b(0x36c)]+')'}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1cb)]&&this['_messageService'][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x177)],'content':this[_0x5a023b(0x1d8)]['t'](_0x209151[_0x5a023b(0x36c)]||'')}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x26b)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x177)],'content':this['_localeService']['t'](_0x5a023b(0x228))}),_0x209151['id']===_0x5a33af['CollaborationUIEventId'][_0x5a023b(0x2c9)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326['MessageType']['Error'],'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x2aa))}),_0x209151['id']===_0x5a33af['CollaborationUIEventId'][_0x5a023b(0x157)]&&this['_messageService'][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x373)],'content':this['_localeService']['t'](_0x5a023b(0x113))});}));}};_0x375bf7=_0x4c6cdb([_0x3b7ca7(0x0,_0x339e42[_0x41fa7f(0x376)]),_0x3b7ca7(0x1,_0x5a33af[_0x41fa7f(0x383)]),_0x3b7ca7(0x2,_0xdb2415['Inject'](_0x5a33af['CollaborationUIEventService'])),_0x3b7ca7(0x3,_0x339e42[_0x41fa7f(0x25d)]),_0x3b7ca7(0x4,_0x339e42[_0x41fa7f(0x35e)]),_0x3b7ca7(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x375bf7);var _0x56d265=Object[_0x41fa7f(0x194)],_0x3f2749=(_0x488a1e,_0x2c77e6,_0x3fd907,_0xf29ac3)=>{const _0x2a9b77=_0x41fa7f;for(var _0x42b446=_0xf29ac3>0x1?void 0x0:_0xf29ac3?_0x56d265(_0x2c77e6,_0x3fd907):_0x2c77e6,_0x522dbb=_0x488a1e[_0x2a9b77(0x26c)]-0x1,_0x3757fb;_0x522dbb>=0x0;_0x522dbb--)(_0x3757fb=_0x488a1e[_0x522dbb])&&(_0x42b446=_0x3757fb(_0x42b446)||_0x42b446);return _0x42b446;},_0x4dc717=(_0x5a5b72,_0x37d412)=>(_0x1f6d23,_0x2791ad)=>_0x37d412(_0x1f6d23,_0x2791ad,_0x5a5b72);let _0x34fedc=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x97badb,_0x3336f4,_0x37c44f,_0x16ac43){const _0x5b4ab4=_0x41fa7f;super(),_0x356879(this,_0x5b4ab4(0x18a)),(this[_0x5b4ab4(0x2e4)]=_0x97badb,this[_0x5b4ab4(0x23e)]=_0x3336f4,this[_0x5b4ab4(0x2ec)]=_0x37c44f,this['_collaborationSessionService']=_0x16ac43,this[_0x5b4ab4(0x33f)]());}[_0x41fa7f(0x33f)](){const _0x5ea78f=_0x41fa7f;this[_0x5ea78f(0x3c4)](),this[_0x5ea78f(0x231)](),this[_0x5ea78f(0x117)](),this[_0x5ea78f(0x21c)]();}[_0x41fa7f(0x21c)](){const _0x7693d3=_0x41fa7f;this[_0x7693d3(0x31e)](this[_0x7693d3(0x221)][_0x7693d3(0x14d)]['subscribe'](_0x14c7f9=>{const _0x4483c7=_0x7693d3;this[_0x4483c7(0x18a)]=_0x14c7f9==null?void 0x0:_0x14c7f9['memberID'];}));}[_0x41fa7f(0x3c4)](){const _0x3f1452=_0x41fa7f,_0x4c0bbc=_0x14e5af=>{const _0x5aa03d=_0x4944;var _0x5b9d25;this[_0x5aa03d(0x136)](_0x5aa03d(0x399),_0x5aa03d(0x3c5)+_0x14e5af[_0x5aa03d(0x333)]+_0x5aa03d(0x2b0)+_0x14e5af[_0x5aa03d(0x328)]+':'+_0x14e5af[_0x5aa03d(0x2fe)]+':'+_0x14e5af[_0x5aa03d(0xfe)]+'\x0a'+(((_0x5b9d25=_0x14e5af[_0x5aa03d(0x399)])==null?void 0x0:_0x5b9d25[_0x5aa03d(0x2d1)])||''));};window[_0x3f1452(0x13a)](_0x3f1452(0x399),_0x4c0bbc),this[_0x3f1452(0x31e)](()=>{const _0x33b77d=_0x3f1452;window[_0x33b77d(0x10c)](_0x33b77d(0x399),_0x4c0bbc);});}[_0x41fa7f(0x231)](){const _0x536914=_0x41fa7f,_0x213dc9=_0x375ff3=>{const _0x3ec552=_0x4944;this['_uploadLog']('error',_0x3ec552(0x1c6)+_0x375ff3[_0x3ec552(0x3ab)]);};window[_0x536914(0x13a)](_0x536914(0x244),_0x213dc9),this[_0x536914(0x31e)](()=>{const _0x37554e=_0x536914;window[_0x37554e(0x10c)]('unhandledrejection',_0x213dc9);});}[_0x41fa7f(0x117)](){const _0x16ffb4=_0x41fa7f,_0x303199=this[_0x16ffb4(0x2ec)][_0x16ffb4(0x399)][_0x16ffb4(0x265)](this['_logService']);this['_logService']['error']=(..._0x2f02d6)=>{const _0x44218d=_0x16ffb4,_0x202e34=_0x2f02d6[_0x44218d(0x311)](_0x42f91b=>_0x42f91b instanceof Error?_0x42f91b[_0x44218d(0x333)]+'\x0a'+_0x42f91b[_0x44218d(0x2d1)]:String(_0x42f91b))[_0x44218d(0x307)]('\x20');this[_0x44218d(0x136)](_0x44218d(0x399),_0x44218d(0x1e6)+_0x202e34),_0x303199(..._0x2f02d6);},this['disposeWithMe'](()=>{const _0x2fe703=_0x16ffb4;this[_0x2fe703(0x2ec)][_0x2fe703(0x399)]=_0x303199;});}[_0x41fa7f(0x136)](_0x2c8ba2,_0x1e5c26){const _0x3d659c=_0x41fa7f;try{const _0x98f983={'userId':this[_0x3d659c(0x18a)],'logLabel':_0x2c8ba2,'content':_0x1e5c26};this[_0x3d659c(0x23e)][_0x3d659c(0x11a)]('/universer-api/frontend/logs',{'body':_0x98f983})['catch'](()=>{});}catch{}}};_0x34fedc=_0x3f2749([_0x4dc717(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['Injector'])),_0x4dc717(0x1,_0xdb2415['Inject'](_0x553b7e[_0x41fa7f(0x258)])),_0x4dc717(0x2,_0xdb2415[_0x41fa7f(0x230)]),_0x4dc717(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x107)]))],_0x34fedc);const _0x58498a=_0x41fa7f(0x289),_0x232bc8={};var _0xf4cd70=Object[_0x41fa7f(0x194)],_0x1e1c51=(_0x5ae5b0,_0x35fbd4,_0x3189f5,_0x2aa6e7)=>{for(var _0x3a0b13=_0x2aa6e7>0x1?void 0x0:_0x2aa6e7?_0xf4cd70(_0x35fbd4,_0x3189f5):_0x35fbd4,_0x4c337c=_0x5ae5b0['length']-0x1,_0x121537;_0x4c337c>=0x0;_0x4c337c--)(_0x121537=_0x5ae5b0[_0x4c337c])&&(_0x3a0b13=_0x121537(_0x3a0b13)||_0x3a0b13);return _0x3a0b13;},_0x29cdf6=(_0x2209af,_0x4e96e0)=>(_0x4c3cc7,_0x32441d)=>_0x4e96e0(_0x4c3cc7,_0x32441d,_0x2209af);let _0x3b67da=class{constructor(_0x3ee090,_0x25a40c){const _0x38526f=_0x41fa7f;this[_0x38526f(0x3cb)]=_0x3ee090,this[_0x38526f(0x10f)]=_0x25a40c;}['transformIMECache'](_0x3afce8){const _0x159bab=_0x41fa7f;this[_0x159bab(0x202)](_0x3afce8),this[_0x159bab(0x27c)](_0x3afce8);}[_0x41fa7f(0x3e4)](_0xeb081f){const _0xe86b98=_0x41fa7f,{unitID:_0x459323}=_0xeb081f,_0x5ea9b2=this['_renderManagerService'][_0xe86b98(0x3aa)](_0x459323)[_0xe86b98(0x34f)](_0x4abee5[_0xe86b98(0x241)]),{redoCache:_0x42766b}=_0x5ea9b2[_0xe86b98(0x2bc)]();if(_0x42766b[_0xe86b98(0x26c)]===0x0)return _0xeb081f;let _0x3ab861=_0xdb2415['Tools'][_0xe86b98(0x305)](_0xeb081f['mutations'][0x0]);for(let _0x6c75ec=0x0;_0x6c75ec<_0x42766b[_0xe86b98(0x26c)];_0x6c75ec++){const _0x20f1c0={'id':'doc.mutation.rich-text-editing','params':{..._0x42766b[_0x6c75ec]}},_0x4a63f3=this[_0xe86b98(0x3cb)][_0xe86b98(0x393)](_0x3ab861,_0x20f1c0,!0x1);if(_0x1b3789[_0xe86b98(0x1e4)](_0x4a63f3))throw _0x4a63f3[_0xe86b98(0x399)];_0x3ab861=_0x4a63f3['m1Prime'];}return{..._0xdb2415[_0xe86b98(0x1da)][_0xe86b98(0x305)](_0xeb081f),'mutations':[_0x3ab861]};}[_0x41fa7f(0x202)](_0xb84bdb){const _0xed9e35=_0x41fa7f,{unitID:_0x50a4f1}=_0xb84bdb,_0x429fe6=this[_0xed9e35(0x10f)][_0xed9e35(0x3aa)](_0x50a4f1)[_0xed9e35(0x34f)](_0x4abee5['DocIMEInputManagerService']),{undoCache:_0x3749ee,redoCache:_0x48ef4d}=_0x429fe6[_0xed9e35(0x2bc)]();if(_0x3749ee['length']===0x0||_0x48ef4d[_0xed9e35(0x26c)]===0x0)return;const _0x2ac551=[],_0x45fa11=[];let _0x6effe2=_0xdb2415[_0xed9e35(0x1da)]['deepClone'](_0xb84bdb[_0xed9e35(0x1b5)][0x0]),_0x53bbe2=_0xdb2415[_0xed9e35(0x1da)][_0xed9e35(0x305)](_0xb84bdb[_0xed9e35(0x1b5)][0x0]);for(let _0x164743=_0x3749ee[_0xed9e35(0x26c)]-0x1;_0x164743>=0x0;_0x164743--){const _0x1f3a5c={'id':_0xed9e35(0x1e5),'params':{..._0x3749ee[_0x164743]}},_0x5d72f3={'id':'doc.mutation.rich-text-editing','params':{..._0x48ef4d[_0x164743]}},_0x403519=this['_transformService'][_0xed9e35(0x393)](_0x6effe2,_0x1f3a5c,!0x1),_0x41ff05=this['_transformService'][_0xed9e35(0x393)](_0x53bbe2,_0x5d72f3,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x403519))throw _0x403519[_0xed9e35(0x399)];if(_0x1b3789[_0xed9e35(0x1e4)](_0x41ff05))throw _0x41ff05[_0xed9e35(0x399)];_0x2ac551[_0xed9e35(0x2e7)](_0x403519['m2Prime'][_0xed9e35(0x34a)]),_0x45fa11[_0xed9e35(0x2e7)](_0x41ff05[_0xed9e35(0x28e)][_0xed9e35(0x34a)]),_0x6effe2=_0x403519[_0xed9e35(0x37e)],_0x53bbe2=_0x41ff05[_0xed9e35(0x37e)];}_0x429fe6[_0xed9e35(0x273)]({'undoCache':_0x2ac551,'redoCache':_0x45fa11});}[_0x41fa7f(0x27c)](_0x1a95e2){const _0x3e8d63=_0x41fa7f,{unitID:_0x14d0db}=_0x1a95e2,_0xcb942e=this[_0x3e8d63(0x10f)][_0x3e8d63(0x3aa)](_0x14d0db)[_0x3e8d63(0x34f)](_0x4abee5[_0x3e8d63(0x241)]),_0x576541=_0xcb942e['getActiveRange']();if(_0x576541==null)return;const _0x1f2b4e=[{'id':_0x3e8d63(0x1e5),'params':{'unitId':_0x1a95e2[_0x3e8d63(0x281)],'actions':null,'textRanges':[_0x576541]}}],_0x472158=this['_transformService'][_0x3e8d63(0x229)](_0x1a95e2,_0x1f2b4e);if(!_0x1b3789[_0x3e8d63(0x15e)](_0x472158))throw _0x472158[_0x3e8d63(0x399)];const _0xf2bf82=_0x472158[_0x3e8d63(0x28e)][0x0][_0x3e8d63(0x34a)][_0x3e8d63(0x2f5)];Array['isArray'](_0xf2bf82)&&_0xf2bf82[_0x3e8d63(0x26c)]&&_0xcb942e['setActiveRange'](_0xf2bf82[0x0]);}};_0x3b67da=_0x1e1c51([_0x29cdf6(0x0,_0x1b3789[_0x41fa7f(0x389)]),_0x29cdf6(0x1,_0x7c9b89[_0x41fa7f(0x2e8)])],_0x3b67da);var _0x29c902=Object['getOwnPropertyDescriptor'],_0x447bcb=(_0x406449,_0x2e04d8,_0x120737,_0x4d9a01)=>{const _0x6e3593=_0x41fa7f;for(var _0x13f7af=_0x4d9a01>0x1?void 0x0:_0x4d9a01?_0x29c902(_0x2e04d8,_0x120737):_0x2e04d8,_0x17e256=_0x406449[_0x6e3593(0x26c)]-0x1,_0x49f32c;_0x17e256>=0x0;_0x17e256--)(_0x49f32c=_0x406449[_0x17e256])&&(_0x13f7af=_0x49f32c(_0x13f7af)||_0x13f7af);return _0x13f7af;},_0x535a4b=(_0x5edeb3,_0x1b5833)=>(_0x60f695,_0x1572e3)=>_0x1b5833(_0x60f695,_0x1572e3,_0x5edeb3);let _0x354c67=class{constructor(_0x50a100,_0x40b682,_0x10f5e8){const _0x325278=_0x41fa7f;this['_injector']=_0x50a100,this[_0x325278(0x3cb)]=_0x40b682,this['_docStateChangeManagerService']=_0x10f5e8;}[_0x41fa7f(0x153)](_0x2f9df9){const _0x3ea1ce=_0x41fa7f;this[_0x3ea1ce(0x121)](_0x2f9df9);}['transformRemoteChangeset'](_0x3631b7){const _0x559b32=_0x41fa7f,{unitID:_0x1d2a81}=_0x3631b7,{collaboration:_0x12dcee}=this[_0x559b32(0x1bb)][_0x559b32(0x3dc)](_0x1d2a81);if(_0x12dcee[_0x559b32(0x26c)]===0x0)return _0x3631b7;let _0x1383ee=_0xdb2415['Tools']['deepClone'](_0x3631b7[_0x559b32(0x1b5)][0x0]);for(let _0x412f3e=0x0;_0x412f3e<_0x12dcee[_0x559b32(0x26c)];_0x412f3e++){const _0x1d0bcc={'id':_0x559b32(0x1e5),'params':{'unitId':_0x12dcee[_0x412f3e][_0x559b32(0x392)],..._0x12dcee[_0x412f3e][_0x559b32(0x1d7)]}},_0x4f414b=this[_0x559b32(0x3cb)]['transformMutation'](_0x1383ee,_0x1d0bcc,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x4f414b))throw _0x4f414b[_0x559b32(0x399)];_0x1383ee=_0x4f414b['m1Prime'];}return{..._0xdb2415[_0x559b32(0x1da)][_0x559b32(0x305)](_0x3631b7),'mutations':[_0x1383ee]};}[_0x41fa7f(0x121)](_0x108e9b){const _0x31461f=_0x41fa7f,{unitID:_0x50118f}=_0x108e9b,{history:_0xe4bfd2,collaboration:_0x4c95d4}=this['_docStateChangeManagerService']['getStateCache'](_0x50118f);if(_0xe4bfd2['length']===0x0&&_0x4c95d4[_0x31461f(0x26c)]===0x0)return;const _0x22c397=[],_0x114553=[];let _0x302802=_0xdb2415[_0x31461f(0x1da)]['deepClone'](_0x108e9b['mutations'][0x0]),_0x3a84df=_0xdb2415[_0x31461f(0x1da)][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]);for(let _0x4f0bfe=_0xe4bfd2[_0x31461f(0x26c)]-0x1;_0x4f0bfe>=0x0;_0x4f0bfe--){const _0x5f3167={'id':_0x31461f(0x1e5),'params':{'unitId':_0xe4bfd2[_0x4f0bfe][_0x31461f(0x392)],..._0xe4bfd2[_0x4f0bfe]['undoState']}},_0x444e67={'id':_0x31461f(0x1e5),'params':{'unitId':_0xe4bfd2[_0x4f0bfe]['unitId'],..._0xe4bfd2[_0x4f0bfe]['redoState']}},_0x5176f9=this['_transformService'][_0x31461f(0x393)](_0x302802,_0x5f3167,!0x1),_0xe1605d=this['_transformService']['transformMutation'](_0x3a84df,_0x444e67,!0x1);if(_0x1b3789[_0x31461f(0x1e4)](_0x5176f9))throw _0x5176f9['error'];if(_0x1b3789['isTransformMutationFailure'](_0xe1605d))throw _0xe1605d[_0x31461f(0x399)];_0x22c397['unshift']({..._0xe4bfd2[_0x4f0bfe],'undoState':_0x5176f9[_0x31461f(0x28e)][_0x31461f(0x34a)],'redoState':_0xe1605d[_0x31461f(0x28e)][_0x31461f(0x34a)]}),_0x302802=_0x5176f9['m1Prime'],_0x3a84df=_0xe1605d['m1Prime'];}_0x302802=_0xdb2415[_0x31461f(0x1da)][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]),_0x3a84df=_0xdb2415['Tools'][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]);for(let _0x24d7ab=_0x4c95d4[_0x31461f(0x26c)]-0x1;_0x24d7ab>=0x0;_0x24d7ab--){const _0x52dc2c={'id':_0x31461f(0x1e5),'params':{'unitId':_0x4c95d4[_0x24d7ab][_0x31461f(0x392)],..._0x4c95d4[_0x24d7ab]['undoState']}},_0x4cb3c4={'id':_0x31461f(0x1e5),'params':{'unitId':_0x4c95d4[_0x24d7ab]['unitId'],..._0x4c95d4[_0x24d7ab][_0x31461f(0x1d7)]}},_0x587562=this[_0x31461f(0x3cb)][_0x31461f(0x393)](_0x302802,_0x52dc2c,!0x1),_0x3632f9=this[_0x31461f(0x3cb)]['transformMutation'](_0x3a84df,_0x4cb3c4,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x587562))throw _0x587562['error'];if(_0x1b3789[_0x31461f(0x1e4)](_0x3632f9))throw _0x3632f9['error'];_0x114553[_0x31461f(0x2e7)]({..._0x4c95d4[_0x24d7ab],'undoState':_0x587562['m2Prime'][_0x31461f(0x34a)],'redoState':_0x3632f9[_0x31461f(0x28e)][_0x31461f(0x34a)]}),_0x302802=_0x587562[_0x31461f(0x37e)],_0x3a84df=_0x3632f9[_0x31461f(0x37e)];}this[_0x31461f(0x1bb)][_0x31461f(0xfd)](_0x50118f,{'history':_0x22c397,'collaboration':_0x114553});}};_0x354c67=_0x447bcb([_0x535a4b(0x0,_0xdb2415['Inject'](_0xdb2415[_0x41fa7f(0x277)])),_0x535a4b(0x1,_0x1b3789[_0x41fa7f(0x389)]),_0x535a4b(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x4abee5[_0x41fa7f(0x39d)]))],_0x354c67);var _0x3f1645=Object['getOwnPropertyDescriptor'],_0x5742a7=(_0x406371,_0xc5fcdd,_0x53576e,_0x489f4a)=>{const _0x306554=_0x41fa7f;for(var _0x28ba8c=_0x489f4a>0x1?void 0x0:_0x489f4a?_0x3f1645(_0xc5fcdd,_0x53576e):_0xc5fcdd,_0x34fded=_0x406371[_0x306554(0x26c)]-0x1,_0x297bdc;_0x34fded>=0x0;_0x34fded--)(_0x297bdc=_0x406371[_0x34fded])&&(_0x28ba8c=_0x297bdc(_0x28ba8c)||_0x28ba8c);return _0x28ba8c;},_0x23ce97=(_0x2b104d,_0x87345b)=>(_0x2ae659,_0x4d845f)=>_0x87345b(_0x2ae659,_0x4d845f,_0x2b104d);let _0x508056=class{constructor(_0x41bd32,_0x1d4dc0){this['_injector']=_0x41bd32,this['_transformService']=_0x1d4dc0;}['transformSelections'](_0x379d5e){const _0x5da7a1=_0x41fa7f;var _0x4bf1a5;const _0x1f9d11=this[_0x5da7a1(0x2e4)][_0x5da7a1(0x3a4)](_0x5e9ade['DocSelectionManagerService']),_0x21e1e9=(_0x4bf1a5=_0x1f9d11['getDocRanges']())!=null?_0x4bf1a5:[];if(_0x21e1e9[_0x5da7a1(0x26c)]===0x0)return;const _0x500cd1=_0x379d5e[_0x5da7a1(0x281)],_0x106d0f=[{'id':_0x5da7a1(0x1e5),'params':{'unitId':_0x500cd1,'actions':null,'textRanges':_0x21e1e9}}],_0x18b3d7=this['_transformService'][_0x5da7a1(0x229)](_0x379d5e,_0x106d0f);if(!_0x1b3789['isTransformMutationsWithChangesetSuccess'](_0x18b3d7))throw _0x18b3d7[_0x5da7a1(0x399)];const _0x4a1820=_0x18b3d7[_0x5da7a1(0x28e)][0x0][_0x5da7a1(0x34a)][_0x5da7a1(0x2f5)];Array[_0x5da7a1(0x219)](_0x4a1820)&&_0x4a1820[_0x5da7a1(0x26c)]&&_0x1f9d11['replaceDocRanges'](_0x4a1820,{'unitId':_0x500cd1,'subUnitId':_0x500cd1},!0x1);}};_0x508056=_0x5742a7([_0x23ce97(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x23ce97(0x1,_0x1b3789[_0x41fa7f(0x389)])],_0x508056);var _0x162dc2=Object[_0x41fa7f(0x194)],_0x35c0a3=(_0x3f380b,_0x1371f0,_0x545547,_0x50fb85)=>{const _0x5b77c2=_0x41fa7f;for(var _0x483939=_0x50fb85>0x1?void 0x0:_0x50fb85?_0x162dc2(_0x1371f0,_0x545547):_0x1371f0,_0x2fddfa=_0x3f380b[_0x5b77c2(0x26c)]-0x1,_0xb1636b;_0x2fddfa>=0x0;_0x2fddfa--)(_0xb1636b=_0x3f380b[_0x2fddfa])&&(_0x483939=_0xb1636b(_0x483939)||_0x483939);return _0x483939;},_0x4478bf=(_0x57c014,_0x5ad244)=>(_0x32bd4f,_0x1226ab)=>_0x5ad244(_0x32bd4f,_0x1226ab,_0x57c014);let _0x294d98=class extends _0xdb2415['Disposable']{constructor(_0x58a68f,_0x59d18c,_0x2b5db5,_0x4279f5,_0x5a7842,_0x4a1111,_0x4bf304,_0x49a078){const _0x4acf4c=_0x41fa7f;super(),_0x356879(this,'_status$',new _0x5bb37b[(_0x4acf4c(0x204))](_0x5a33af[_0x4acf4c(0x1ef)][_0x4acf4c(0x163)])),(this[_0x4acf4c(0x1bb)]=_0x58a68f,this[_0x4acf4c(0x144)]=_0x59d18c,this[_0x4acf4c(0x29e)]=_0x2b5db5,this['_docTransformStateCacheService']=_0x4279f5,this[_0x4acf4c(0x152)]=_0x5a7842,this[_0x4acf4c(0x111)]=_0x4a1111,this['_messageService']=_0x4bf304,this[_0x4acf4c(0x1d8)]=_0x49a078,this[_0x4acf4c(0x188)]());}[_0x41fa7f(0x188)](){const _0x1d6a35=_0x41fa7f;this['disposeWithMe'](this[_0x1d6a35(0x144)][_0x1d6a35(0x208)][_0x1d6a35(0x31f)](_0x2fae72=>{const _0x3c6242=_0x1d6a35,_0x26a5d5=this[_0x3c6242(0x1bb)][_0x3c6242(0x145)][_0x3c6242(0x31f)](_0x229c90=>{const _0x2b040d=_0x3c6242;if(_0x229c90==null)return;const {unitId:_0x34cd2d,redoState:_0x343fba,commandId:_0x5bc9ad}=_0x229c90;if(_0x34cd2d!==_0x2fae72[_0x2b040d(0x281)])return;const _0x278aa5={'id':_0x5bc9ad,'type':_0xdb2415[_0x2b040d(0x1f0)][_0x2b040d(0x363)],'params':{'unitId':_0x34cd2d,'actions':_0x343fba[_0x2b040d(0x1ab)],'textRanges':null}};_0x2fae72[_0x2b040d(0x330)](_0x278aa5);});if(_0x2fae72[_0x3c6242(0x31e)](_0x26a5d5),_0x2fae72 instanceof _0x5a33af[_0x3c6242(0x222)]){const _0x3d7cfc={'onTransformIME':_0x4bb483=>this[_0x3c6242(0x29e)][_0x3c6242(0x1e8)](_0x4bb483),'onTransformState':_0x959dcc=>this[_0x3c6242(0xfc)][_0x3c6242(0x153)](_0x959dcc),'onTransformSelections':_0x18a61b=>this[_0x3c6242(0x152)][_0x3c6242(0x2cc)](_0x18a61b),'onSyncEditingCollabCursor':_0x5d08a8=>this[_0x3c6242(0x111)][_0x3c6242(0x140)](_0x5d08a8),'onTransformRemoteChangesetByIMECache':_0x4b2d39=>this[_0x3c6242(0x29e)][_0x3c6242(0x3e4)](_0x4b2d39),'onTransformRemoteChangesetByStateCache':_0x56fa56=>this[_0x3c6242(0xfc)][_0x3c6242(0x3e4)](_0x56fa56)};_0x2fae72[_0x3c6242(0x294)](_0x3d7cfc);}}));}};_0x294d98=_0x35c0a3([_0x4478bf(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0x4abee5[_0x41fa7f(0x39d)])),_0x4478bf(0x1,_0xdb2415['Inject'](_0x5a33af[_0x41fa7f(0x18f)])),_0x4478bf(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x3b67da)),_0x4478bf(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x354c67)),_0x4478bf(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x508056)),_0x4478bf(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0x3dcaca)),_0x4478bf(0x6,_0x339e42[_0x41fa7f(0x25d)]),_0x4478bf(0x7,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x294d98);var _0x4edfd6=(_0x46f527=>(_0x46f527[_0x46f527[_0x41fa7f(0x16f)]=0x0]='UNDEFINED',_0x46f527[_0x46f527['OK']=0x1]='OK',_0x46f527[_0x46f527[_0x41fa7f(0x30c)]=0x2]=_0x41fa7f(0x30c),_0x46f527[_0x46f527[_0x41fa7f(0x21f)]=0x3]='PERMISSION_DENIED',_0x46f527[_0x46f527['NOT_FOUND']=0x4]=_0x41fa7f(0x33c),_0x46f527[_0x46f527[_0x41fa7f(0x301)]=0x5]='UNAUTHENTICATED',_0x46f527[_0x46f527['ALREADY_EXISTS']=0x6]=_0x41fa7f(0x151),_0x46f527[_0x46f527[_0x41fa7f(0x343)]=0x7]=_0x41fa7f(0x343),_0x46f527[_0x46f527[_0x41fa7f(0x291)]=0x8]=_0x41fa7f(0x291),_0x46f527[_0x46f527[_0x41fa7f(0x205)]=0x9]=_0x41fa7f(0x205),_0x46f527[_0x46f527['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x46f527[_0x46f527['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x41fa7f(0x3ae),_0x46f527[_0x46f527['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x41fa7f(0x203),_0x46f527[_0x46f527['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x41fa7f(0x263),_0x46f527[_0x46f527[_0x41fa7f(0x2d7)]=0xe]=_0x41fa7f(0x2d7),_0x46f527[_0x46f527[_0x41fa7f(0x30e)]=0xf]=_0x41fa7f(0x30e),_0x46f527[_0x46f527[_0x41fa7f(0x3e1)]=0x10]=_0x41fa7f(0x3e1),_0x46f527[_0x46f527[_0x41fa7f(0x2fd)]=0x64]=_0x41fa7f(0x2fd),_0x46f527[_0x46f527[_0x41fa7f(0x189)]=0x65]=_0x41fa7f(0x189),_0x46f527[_0x46f527[_0x41fa7f(0x319)]=0xc9]=_0x41fa7f(0x319),_0x46f527[_0x46f527[_0x41fa7f(0x352)]=0xca]=_0x41fa7f(0x352),_0x46f527[_0x46f527[_0x41fa7f(0x125)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x46f527[_0x46f527[_0x41fa7f(0x13c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x46f527[_0x46f527['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x41fa7f(0x22b),_0x46f527[_0x46f527[_0x41fa7f(0x168)]=0x1773]=_0x41fa7f(0x168),_0x46f527[_0x46f527[_0x41fa7f(0x396)]=0x1b59]=_0x41fa7f(0x396),_0x46f527[_0x46f527['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x41fa7f(0x3ac),_0x46f527[_0x46f527[_0x41fa7f(0x250)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x46f527[_0x46f527[_0x41fa7f(0x2ac)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46f527[_0x46f527[_0x41fa7f(0x13b)]=0x1b5d]=_0x41fa7f(0x13b),_0x46f527[_0x46f527['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x41fa7f(0x3a9),_0x46f527[_0x46f527[_0x41fa7f(0x115)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x1d2)]=0x232a]=_0x41fa7f(0x1d2),_0x46f527[_0x46f527[_0x41fa7f(0x304)]=0x232b]=_0x41fa7f(0x304),_0x46f527[_0x46f527['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x27d)]=0x232d]=_0x41fa7f(0x27d),_0x46f527[_0x46f527[_0x41fa7f(0x3db)]=0x2711]=_0x41fa7f(0x3db),_0x46f527[_0x46f527[_0x41fa7f(0x1eb)]=0x2712]=_0x41fa7f(0x1eb),_0x46f527[_0x46f527['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x41fa7f(0x2a9),_0x46f527[_0x46f527[_0x41fa7f(0x318)]=0x2714]=_0x41fa7f(0x318),_0x46f527[_0x46f527[_0x41fa7f(0x1a0)]=0x271a]=_0x41fa7f(0x1a0),_0x46f527[_0x46f527['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x46f527[_0x46f527[_0x41fa7f(0xfb)]=0x271c]=_0x41fa7f(0xfb),_0x46f527[_0x46f527['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x41fa7f(0x253),_0x46f527[_0x46f527['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x3e5)]=0x271f]=_0x41fa7f(0x3e5),_0x46f527[_0x46f527[_0x41fa7f(0x26f)]=0x2720]=_0x41fa7f(0x26f),_0x46f527[_0x46f527[_0x41fa7f(0x2ea)]=0x2af9]=_0x41fa7f(0x2ea),_0x46f527[_0x46f527[_0x41fa7f(0x372)]=0x2ee1]=_0x41fa7f(0x372),_0x46f527[_0x46f527[_0x41fa7f(0x3d8)]=0x2ee2]=_0x41fa7f(0x3d8),_0x46f527[_0x46f527['INVITE_CODE_REQUIRED']=0x2ee3]=_0x41fa7f(0x105),_0x46f527[_0x46f527[_0x41fa7f(0x2d5)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x46f527[_0x46f527[_0x41fa7f(0x17d)]=0x2ee5]=_0x41fa7f(0x17d),_0x46f527[_0x46f527[_0x41fa7f(0x25b)]=0x32c9]=_0x41fa7f(0x25b),_0x46f527[_0x46f527[_0x41fa7f(0x358)]=0x32ca]=_0x41fa7f(0x358),_0x46f527[_0x46f527['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x46f527[_0x46f527[_0x41fa7f(0x317)]=0x36b1]=_0x41fa7f(0x317),_0x46f527[_0x46f527[_0x41fa7f(0x12d)]=0x36b2]=_0x41fa7f(0x12d),_0x46f527[_0x46f527[_0x41fa7f(0x37f)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x46f527[_0x46f527[_0x41fa7f(0x3a0)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x46f527[_0x46f527[_0x41fa7f(0x341)]=0x3715]=_0x41fa7f(0x341),_0x46f527[_0x46f527[_0x41fa7f(0x165)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x46f527[_0x46f527[_0x41fa7f(0x1ae)]=0x3717]=_0x41fa7f(0x1ae),_0x46f527[_0x46f527[_0x41fa7f(0x322)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x46f527[_0x46f527[_0x41fa7f(0x361)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x46f527[_0x46f527[_0x41fa7f(0x2d4)]=0x3a9a]=_0x41fa7f(0x2d4),_0x46f527[_0x46f527['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x41fa7f(0x1a7),_0x46f527[_0x46f527[_0x41fa7f(0x23d)]=0x3a9c]=_0x41fa7f(0x23d),_0x46f527[_0x46f527['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x41fa7f(0x122),_0x46f527[_0x46f527[_0x41fa7f(0x2f6)]=0x3a9e]=_0x41fa7f(0x2f6),_0x46f527[_0x46f527[_0x41fa7f(0x26e)]=0x3a9f]=_0x41fa7f(0x26e),_0x46f527[_0x46f527[_0x41fa7f(0x175)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x46f527[_0x46f527[_0x41fa7f(0x171)]=-0x1]=_0x41fa7f(0x171),_0x46f527))(_0x4edfd6||{});function _0x7ecb32(_0x3c6675){const _0x5d459d=_0x41fa7f;var _0x130459,_0x5b2e47;const _0x2d700e=(_0x130459=_0x3c6675['stageInfo'])==null?void 0x0:_0x130459['stage'],_0x5815cf=((_0x5b2e47=_0x3c6675[_0x5d459d(0x12c)])==null?void 0x0:_0x5b2e47[_0x5d459d(0x3d2)])||0x0;return _0x2d700e===_0x7b5b07[_0x5d459d(0x21a)]['START_CALCULATION']&&_0x5815cf>0x0;}function _0x47cd57(_0x3eb5ff){const _0x4d47d4=_0x41fa7f;return _0x3eb5ff[_0x4d47d4(0x2db)]===_0x7b5b07[_0x4d47d4(0x1a4)][_0x4d47d4(0x382)];}var _0x455b56=Object[_0x41fa7f(0x194)],_0x563e0b=(_0x1a7c67,_0x1b67e4,_0x48ebbb,_0x4f7234)=>{for(var _0x234b54=_0x4f7234>0x1?void 0x0:_0x4f7234?_0x455b56(_0x1b67e4,_0x48ebbb):_0x1b67e4,_0x196a26=_0x1a7c67['length']-0x1,_0x3789ab;_0x196a26>=0x0;_0x196a26--)(_0x3789ab=_0x1a7c67[_0x196a26])&&(_0x234b54=_0x3789ab(_0x234b54)||_0x234b54);return _0x234b54;},_0x482799=(_0xdd4e6b,_0x4d9b4f)=>(_0x2e59c4,_0x382bcb)=>_0x4d9b4f(_0x2e59c4,_0x382bcb,_0xdd4e6b);const _0x43a1ae=_0x41fa7f(0x39a),_0x4765e6='/universer-api/license/formula/limit/start',_0x28909e=_0x41fa7f(0x3c6);let _0x324e6d=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x278608,_0xadfd67,_0x4307f2,_0x4ed7d9,_0x16b200,_0x401cba,_0xdbe38d){const _0x3ab7a4=_0x41fa7f;super(),_0x356879(this,_0x3ab7a4(0x3a6),null),_0x356879(this,'_maxFormulaLimit',0x0),_0x356879(this,_0x3ab7a4(0x366),0x0),_0x356879(this,_0x3ab7a4(0x268),[]),_0x356879(this,_0x3ab7a4(0x1ec),0x0),(this[_0x3ab7a4(0x1db)]=_0x278608,this[_0x3ab7a4(0x2c7)]=_0xadfd67,this['_configService']=_0x4307f2,this[_0x3ab7a4(0x23e)]=_0x4ed7d9,this['_univerInstanceService']=_0x16b200,this['_logService']=_0x401cba,this[_0x3ab7a4(0x1d8)]=_0xdbe38d,this[_0x3ab7a4(0x336)]());}[_0x41fa7f(0x336)](){const _0x3d7cb1=_0x41fa7f;this[_0x3d7cb1(0x31e)](this['_commandService'][_0x3d7cb1(0x29b)]((_0x8405ff,_0x5098b5)=>{const _0x408ccd=_0x3d7cb1;var _0x4b4f0e;if(_0x8405ff['id']!==_0x7b5b07[_0x408ccd(0x20e)]['id'])return;const _0x1ed9f4=_0x8405ff[_0x408ccd(0x34a)];if(!this[_0x408ccd(0x260)]((_0x4b4f0e=_0x1ed9f4[_0x408ccd(0x367)])!=null?_0x4b4f0e:[]))return;if(!this[_0x408ccd(0x21b)]())throw this['_checkAndWaitForCalculationPermission'](_0x8405ff,_0x5098b5),this[_0x408ccd(0x34b)](),new _0xdb2415['CanceledError']();})),this[_0x3d7cb1(0x31e)](this[_0x3d7cb1(0x2c7)][_0x3d7cb1(0x191)]((_0x2bcb90,_0x23f80a)=>{const _0x2e07f5=_0x3d7cb1;if(_0x2bcb90['id']!==_0x7b5b07[_0x2e07f5(0x395)]['id'])return;const _0x44fbc5=_0x2bcb90['params'];if(_0x7ecb32(_0x44fbc5)){const _0x2e3834=_0xdb2415[_0x2e07f5(0x1c5)]();this[_0x2e07f5(0x268)][_0x2e07f5(0x3dd)](_0x2e3834),this['_startCalculationLimit'](_0x2e3834);}else{if(_0x47cd57(_0x44fbc5)&&this[_0x2e07f5(0x268)]['length']>0x0){const _0x55c1fb=this[_0x2e07f5(0x268)]['shift']();this[_0x2e07f5(0x141)](_0x55c1fb);}}}));}['dispose'](){const _0xbf4061=_0x41fa7f;super[_0xbf4061(0x1b9)](),this[_0xbf4061(0x1fc)](),this['_taskIds']=[],this[_0xbf4061(0x366)]=0x0,this[_0xbf4061(0x3d4)]=0x0,this[_0xbf4061(0x1ec)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x220fe8,_0x3f6a34){const _0x186a44=_0x41fa7f;for(let _0x319a4c=0x0;_0x319a4c<0x1e;_0x319a4c++)try{if(await this[_0x186a44(0x274)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x220fe8,_0x3f6a34),this[_0x186a44(0x1db)][_0x186a44(0x186)]({'content':this['_localeService']['t'](_0x186a44(0x116)),'type':_0xffb326[_0x186a44(0x13f)][_0x186a44(0x1e3)]});return;}await new Promise(_0x1e2cea=>{const _0x4793b4=_0x186a44;this[_0x4793b4(0x3a6)]=window[_0x4793b4(0x1b2)](_0x1e2cea,0x3e8);});}catch(_0x559d07){this[_0x186a44(0x2ec)][_0x186a44(0x399)](_0x559d07);}this[_0x186a44(0x1db)][_0x186a44(0x186)]({'content':this['_localeService']['t'](_0x186a44(0x3a8)),'type':_0xffb326[_0x186a44(0x13f)][_0x186a44(0x373)]});}[_0x41fa7f(0x3b0)](_0x2d8f1e,_0x258d91){const _0x3226e1=_0x41fa7f;try{this['_commandService'][_0x3226e1(0x172)](_0x2d8f1e['id'],_0x2d8f1e[_0x3226e1(0x34a)],_0x258d91);}catch(_0x4afb31){this['_logService'][_0x3226e1(0x399)](_0x4afb31);}}[_0x41fa7f(0x2fc)](_0x38a7d0,_0x39714b){const _0x388a8b=_0x41fa7f;_0x39714b<this[_0x388a8b(0x1ec)]||(this[_0x388a8b(0x1ec)]=_0x39714b,this[_0x388a8b(0x3d4)]=Number[_0x388a8b(0x1e2)](_0x38a7d0[_0x388a8b(0x35c)]),this[_0x388a8b(0x366)]=Number[_0x388a8b(0x1e2)](_0x38a7d0[_0x388a8b(0x1b3)]));}async[_0x41fa7f(0x3c1)](_0x4820df){const _0x3d7a0d=_0x41fa7f;var _0x419d6a,_0x42b90b;const _0x42c4be=Date[_0x3d7a0d(0x164)]();try{const _0x133024=((_0x419d6a=this['_configService'][_0x3d7a0d(0x102)](_0x5a33af[_0x3d7a0d(0x2cf)]))==null?void 0x0:_0x419d6a[_0x3d7a0d(0x1cd)])||_0x4765e6,_0x194e01=(await this[_0x3d7a0d(0x23e)][_0x3d7a0d(0x11a)](_0x133024,{'body':JSON[_0x3d7a0d(0x109)]({'taskId':_0x4820df})}))[_0x3d7a0d(0x332)];if(((_0x42b90b=_0x194e01['error'])==null?void 0x0:_0x42b90b['code'])!==_0x4edfd6['OK'])return;this[_0x3d7a0d(0x2fc)](_0x194e01[_0x3d7a0d(0x257)],_0x42c4be);}catch(_0x3ed16f){this[_0x3d7a0d(0x2ec)][_0x3d7a0d(0x399)](_0x3ed16f);}}async[_0x41fa7f(0x274)](_0x2f7d89){const _0x46d2b5=_0x41fa7f;var _0x1c17d5,_0x4dda42;const _0x1602e2=Date[_0x46d2b5(0x164)]();try{const _0x32c000=((_0x1c17d5=this[_0x46d2b5(0x1ea)]['getConfig'](_0x5a33af[_0x46d2b5(0x2cf)]))==null?void 0x0:_0x1c17d5[_0x46d2b5(0xfa)])||_0x43a1ae,_0xe7eceb=_0x2f7d89?_0x32c000+_0x46d2b5(0x3b3)+encodeURIComponent(_0x2f7d89):_0x32c000,_0x5f1f9f=(await this['_httpService'][_0x46d2b5(0x3a4)](_0xe7eceb))[_0x46d2b5(0x332)];if(((_0x4dda42=_0x5f1f9f['error'])==null?void 0x0:_0x4dda42[_0x46d2b5(0x2f8)])!==_0x4edfd6['OK'])return;this['_setFormulaLimitStatus'](_0x5f1f9f['limitInfo'],_0x1602e2);}catch(_0x3a028a){this[_0x46d2b5(0x2ec)][_0x46d2b5(0x399)](_0x3a028a);}}async[_0x41fa7f(0x141)](_0x2c6bbb){const _0x5b8a9a=_0x41fa7f;var _0x32177b,_0x530d7f;const _0x40eda4=Date[_0x5b8a9a(0x164)]();try{const _0x596864=((_0x32177b=this[_0x5b8a9a(0x1ea)][_0x5b8a9a(0x102)](_0x5a33af[_0x5b8a9a(0x2cf)]))==null?void 0x0:_0x32177b[_0x5b8a9a(0x2c3)])||_0x28909e,_0xad994c=(await this[_0x5b8a9a(0x23e)][_0x5b8a9a(0x11a)](_0x596864,{'body':JSON[_0x5b8a9a(0x109)]({'taskId':_0x2c6bbb})}))['body'];if(((_0x530d7f=_0xad994c[_0x5b8a9a(0x399)])==null?void 0x0:_0x530d7f[_0x5b8a9a(0x2f8)])!==_0x4edfd6['OK'])return;this[_0x5b8a9a(0x2fc)](_0xad994c[_0x5b8a9a(0x257)],_0x40eda4);}catch(_0x3f44d2){this[_0x5b8a9a(0x2ec)][_0x5b8a9a(0x399)](_0x3f44d2);}}[_0x41fa7f(0x21b)](){const _0x5c1617=_0x41fa7f;return this[_0x5c1617(0x3d4)]===0x0?!0x0:this[_0x5c1617(0x3d4)]-this[_0x5c1617(0x366)]>0x0;}[_0x41fa7f(0x1fc)](){const _0x5a338c=_0x41fa7f;this[_0x5a338c(0x3a6)]&&(clearTimeout(this['_pollingInterval']),this[_0x5a338c(0x3a6)]=null);}[_0x41fa7f(0x34b)](){const _0xe7ab7c=_0x41fa7f;this[_0xe7ab7c(0x1db)][_0xe7ab7c(0x186)]({'content':this[_0xe7ab7c(0x1d8)]['t'](_0xe7ab7c(0x35d)),'type':_0xffb326[_0xe7ab7c(0x13f)]['Loading']});}[_0x41fa7f(0x260)](_0x2d44b0){const _0xb4dacc=_0x41fa7f;for(const _0x28f65c of _0x2d44b0){const {unitId:_0x388ba4,sheetId:_0x3bcaba,range:_0xc16811}=_0x28f65c,_0x28d27e=this[_0xb4dacc(0x27e)][_0xb4dacc(0x242)](_0x388ba4);if(!_0x28d27e)continue;const _0x33f273=_0x28d27e['getSheetBySheetId'](_0x3bcaba);if(!_0x33f273)continue;const _0xa7e394=_0x33f273[_0xb4dacc(0x1dd)]();for(let _0x327b44=_0xc16811['startRow'];_0x327b44<=_0xc16811[_0xb4dacc(0x14a)];_0x327b44++)for(let _0xf0034=_0xc16811['startColumn'];_0xf0034<=_0xc16811[_0xb4dacc(0x350)];_0xf0034++){const _0x4628ec=_0xa7e394[_0xb4dacc(0x2e2)](_0x327b44,_0xf0034);if(_0x4628ec&&(_0xdb2415[_0xb4dacc(0x3c2)](_0x4628ec['f'])||_0xdb2415[_0xb4dacc(0x288)](_0x4628ec['si'])))return!0x0;}}return!0x1;}};_0x324e6d=_0x563e0b([_0x482799(0x0,_0xdb2415['Inject'](_0x339e42[_0x41fa7f(0x25d)])),_0x482799(0x1,_0xdb2415['ICommandService']),_0x482799(0x2,_0xdb2415['IConfigService']),_0x482799(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x482799(0x4,_0xdb2415[_0x41fa7f(0x1b6)]),_0x482799(0x5,_0xdb2415['ILogService']),_0x482799(0x6,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x324e6d);var _0x8febbd=Object['getOwnPropertyDescriptor'],_0x337377=(_0x716d63,_0x46e92e,_0x1a3834,_0x496f7e)=>{const _0x104eab=_0x41fa7f;for(var _0x5c1a97=_0x496f7e>0x1?void 0x0:_0x496f7e?_0x8febbd(_0x46e92e,_0x1a3834):_0x46e92e,_0x5f2ab7=_0x716d63[_0x104eab(0x26c)]-0x1,_0x5eedde;_0x5f2ab7>=0x0;_0x5f2ab7--)(_0x5eedde=_0x716d63[_0x5f2ab7])&&(_0x5c1a97=_0x5eedde(_0x5c1a97)||_0x5c1a97);return _0x5c1a97;},_0x300240=(_0x3910e4,_0x2044f3)=>(_0xf7f20a,_0x3d6270)=>_0x2044f3(_0xf7f20a,_0x3d6270,_0x3910e4);let _0x217e1d=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x1314e6,_0x2129ba,_0x71b46f){const _0x54242d=_0x41fa7f;super(),_0x356879(this,_0x54242d(0x1fb),new Map()),_0x356879(this,_0x54242d(0x220),new Map()),_0x356879(this,'_disabled',!0x1),(this[_0x54242d(0x1ea)]=_0x1314e6,this['_localStorageService']=_0x2129ba,this[_0x54242d(0x252)]=_0x71b46f);}[_0x41fa7f(0x201)](){const _0x1cd9e2=_0x41fa7f;this[_0x1cd9e2(0x35f)]=!0x0;}[_0x41fa7f(0x233)](){this['_disabled']=!0x1;}get[_0x41fa7f(0x255)](){const _0x43df91=_0x41fa7f;return this[_0x43df91(0x220)];}[_0x41fa7f(0x1b9)](){const _0x2cbe22=_0x41fa7f;this[_0x2cbe22(0x23c)]()[_0x2cbe22(0x36e)](()=>super[_0x2cbe22(0x1b9)]());}async[_0x41fa7f(0x138)](_0x1f79fc){const _0x3a9feb=_0x41fa7f;return this[_0x3a9feb(0x35f)]?null:this[_0x3a9feb(0x2ae)]['getItem'](_0x5a33af[_0x3a9feb(0x3b8)](_0x1f79fc));}async[_0x41fa7f(0x143)](_0x240c20,_0x38cf47){const _0x55c2ef=_0x41fa7f;return!!this[_0x55c2ef(0x2ae)][_0x55c2ef(0x126)](_0x240c20,_0x38cf47);}[_0x41fa7f(0x2b6)](_0x147179,_0x271987,_0x411051,_0x22f7b4){const _0x52bfc7=_0x41fa7f,_0x6f0555=this[_0x52bfc7(0x252)][_0x52bfc7(0x2bb)](_0x147179);this[_0x52bfc7(0x1fb)][_0x52bfc7(0x238)](_0x147179,{'unitID':_0x147179,'type':_0x271987,'awaitingChangeset':_0x411051,'mutations':_0x22f7b4,'rev':_0x6f0555}),this['_saveTaskMap'][_0x52bfc7(0x246)](_0x147179)||this['_scheduleSaving'](_0x147179);}[_0x41fa7f(0x34e)](_0x18d10a){const _0x2d7bb5=_0x41fa7f,_0x1efa46=this[_0x2d7bb5(0x390)]();_0x1efa46===0x0?this[_0x2d7bb5(0x108)](_0x18d10a):this[_0x2d7bb5(0x220)][_0x2d7bb5(0x238)](_0x18d10a,setTimeout(()=>this['_saveCache'](_0x18d10a),_0x1efa46));}[_0x41fa7f(0x390)](){const _0x230c20=_0x41fa7f;var _0x4ef316;return(_0x4ef316=this[_0x230c20(0x1ea)][_0x230c20(0x102)](_0x5a33af['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4ef316:_0x5a33af['LOCAL_CACHE_INTERVAL'];}[_0x41fa7f(0x108)](_0x51c8a5){const _0x5ca265=_0x41fa7f,_0x1c7a6f=this[_0x5ca265(0x220)][_0x5ca265(0x3a4)](_0x51c8a5);return _0x1c7a6f!==void 0x0&&window['clearTimeout'](_0x1c7a6f),this[_0x5ca265(0x2ae)][_0x5ca265(0x126)](_0x5a33af['getLocalCacheKey'](_0x51c8a5),this[_0x5ca265(0x1fb)][_0x5ca265(0x3a4)](_0x51c8a5))[_0x5ca265(0x36e)](()=>this[_0x5ca265(0x220)][_0x5ca265(0x349)](_0x51c8a5));}async['exhaustSavingTask'](){const _0x283912=_0x41fa7f,_0x5bae99=[];this[_0x283912(0x220)][_0x283912(0x270)]((_0x4cbd3f,_0x236c73)=>{const _0x37de91=_0x283912;window['clearTimeout'](_0x4cbd3f),_0x5bae99[_0x37de91(0x3dd)](this['_saveCache'](_0x236c73)[_0x37de91(0x36e)](()=>{const _0x1c4c5e=_0x37de91;this[_0x1c4c5e(0x220)][_0x1c4c5e(0x349)](_0x236c73);}));}),await Promise[_0x283912(0x2c0)](_0x5bae99);}};_0x217e1d=_0x337377([_0x300240(0x0,_0xdb2415['IConfigService']),_0x300240(0x1,_0xdb2415['ILocalStorageService']),_0x300240(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x1b3789['RevisionService']))],_0x217e1d);class _0x46c748 extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(){const _0x238cb4=_0x41fa7f;super(),_0x356879(this,_0x238cb4(0x256)),this['urlChange$']=_0x5bb37b['fromEvent'](window,'popstate')['pipe'](_0x5bb37b[_0x238cb4(0x285)](this['dispose$']),_0x5bb37b['shareReplay'](0x1),_0x5bb37b[_0x238cb4(0x3c8)](void 0x0));}[_0x41fa7f(0x2f1)](_0x8a61be,_0xd729a,_0x1553c9=!0x1){const _0x5a9bf9=_0x41fa7f,_0x2f93c1=new URL(window[_0x5a9bf9(0x1a3)]['href']);_0x2f93c1['searchParams'][_0x5a9bf9(0x238)](_0x8a61be,_0xd729a),_0x1553c9?window[_0x5a9bf9(0x378)][_0x5a9bf9(0x2f2)]('','',_0x2f93c1[_0x5a9bf9(0x22c)]()):window[_0x5a9bf9(0x378)][_0x5a9bf9(0x2dd)]('','',_0x2f93c1[_0x5a9bf9(0x22c)]());}['removeParam'](_0x5d60b3,_0x5e9a47=!0x1){const _0x1b8ca0=_0x41fa7f,_0x3eb64f=new URL(window['location'][_0x1b8ca0(0x2bf)]);_0x3eb64f['searchParams'][_0x1b8ca0(0x349)](_0x5d60b3),_0x5e9a47?window[_0x1b8ca0(0x378)][_0x1b8ca0(0x2f2)]('','',_0x3eb64f[_0x1b8ca0(0x22c)]()):window['history']['pushState']('','',_0x3eb64f[_0x1b8ca0(0x22c)]());}['getParam'](_0x770714){const _0x3bdd40=_0x41fa7f;var _0x38218a;return(_0x38218a=new URL(window[_0x3bdd40(0x1a3)][_0x3bdd40(0x2bf)])['searchParams']['get'](_0x770714))!=null?_0x38218a:void 0x0;}}var _0x603108=Object[_0x41fa7f(0x148)],_0x1da270=Object[_0x41fa7f(0x194)],_0x2bceab=(_0x58f5ed,_0x377637,_0x5e4cf7)=>_0x377637 in _0x58f5ed?_0x603108(_0x58f5ed,_0x377637,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e4cf7}):_0x58f5ed[_0x377637]=_0x5e4cf7,_0x5528e4=(_0x2f4096,_0x5e517b,_0x5525d2,_0xb68a29)=>{const _0x277d36=_0x41fa7f;for(var _0x5d1e97=_0xb68a29>0x1?void 0x0:_0xb68a29?_0x1da270(_0x5e517b,_0x5525d2):_0x5e517b,_0x371ef6=_0x2f4096[_0x277d36(0x26c)]-0x1,_0x40cb8;_0x371ef6>=0x0;_0x371ef6--)(_0x40cb8=_0x2f4096[_0x371ef6])&&(_0x5d1e97=_0x40cb8(_0x5d1e97)||_0x5d1e97);return _0x5d1e97;},_0x13a67b=(_0x4efb3e,_0x10e302)=>(_0x12d219,_0x36fad9)=>_0x10e302(_0x12d219,_0x36fad9,_0x4efb3e),_0x1a1852=(_0x372637,_0xfa022d,_0x3697f2)=>_0x2bceab(_0x372637,_0xfa022d+'',_0x3697f2);const _0x47be37=_0x41fa7f(0x1e7);_0x1dc582[_0x41fa7f(0x206)]=class extends _0xdb2415['Plugin']{constructor(_0x1af9e2=_0x232bc8,_0x51aade,_0x2b4590,_0x489066){const _0x30bc12=_0x41fa7f;super(),this[_0x30bc12(0x286)]=_0x1af9e2,this[_0x30bc12(0x10f)]=_0x51aade,this[_0x30bc12(0x2e4)]=_0x2b4590,this[_0x30bc12(0x1ea)]=_0x489066;const {..._0x4dd6f7}=_0xdb2415[_0x30bc12(0x25f)]({},_0x232bc8,this[_0x30bc12(0x286)]);this[_0x30bc12(0x1ea)][_0x30bc12(0x18e)](_0x58498a,_0x4dd6f7);}['onStarting'](){const _0x5665ba=_0x41fa7f;this[_0x5665ba(0x210)](),this[_0x5665ba(0x279)]();}[_0x41fa7f(0x214)](){const _0x15ecdb=_0x41fa7f;this[_0x15ecdb(0x3bb)]();}[_0x41fa7f(0x210)](){const _0x534d6e=_0x41fa7f;var _0x43bf4e;const _0x122405=[[_0x54f54d],[_0x324e6d],[_0x508056],[_0x3b67da],[_0x354c67],[_0x3dcaca],[_0x2976d6,{'useClass':_0x46c748}],[_0x553b7e['ISocketService'],{'useClass':_0x553b7e[_0x534d6e(0x10a)]}],[_0x5a33af['ILocalCacheService'],{'useClass':_0x217e1d}],[_0x1dc582[_0x534d6e(0x33e)]],[_0x294d98],[_0x375bf7],[_0xa0f1ba],[_0xb90e08],[_0x1dc582[_0x534d6e(0x10b)]]];this[_0x534d6e(0x286)]['enableFrontendLog']&&_0x122405[_0x534d6e(0x3dd)]([_0x34fedc]),_0xdb2415['registerDependencies'](this[_0x534d6e(0x2e4)],_0xdb2415[_0x534d6e(0x251)](_0x122405,(_0x43bf4e=this['_config'])==null?void 0x0:_0x43bf4e[_0x534d6e(0x33b)]));}['_registerRenderDependencies'](){const _0x3ad064=_0x41fa7f;this[_0x3ad064(0x31e)](this[_0x3ad064(0x10f)]['registerRenderModule'](_0xdb2415['UniverInstanceType'][_0x3ad064(0x315)],[_0x1ba6f3])),this[_0x3ad064(0x31e)](this['_renderManagerService'][_0x3ad064(0x161)](_0xdb2415[_0x3ad064(0x2f0)]['UNIVER_SHEET'],[_0x267f0b]));}[_0x41fa7f(0x279)](){const _0x28d320=_0x41fa7f;_0xdb2415[_0x28d320(0x283)](this[_0x28d320(0x2e4)],[[_0xa0f1ba],[_0x1dc582[_0x28d320(0x33e)]],[_0x294d98],[_0x375bf7],[_0x1dc582[_0x28d320(0x10b)]],[_0x324e6d]]),this['_config'][_0x28d320(0x24b)]&&_0xdb2415['touchDependencies'](this[_0x28d320(0x2e4)],[[_0x34fedc]]);}},_0x1a1852(_0x1dc582['UniverCollaborationClientUIPlugin'],_0x41fa7f(0x162),_0x47be37),_0x1dc582[_0x41fa7f(0x206)]=_0x5528e4([_0xdb2415[_0x41fa7f(0x2f3)](_0x5a33af[_0x41fa7f(0x20b)]),_0x13a67b(0x1,_0x7c9b89['IRenderManagerService']),_0x13a67b(0x2,_0xdb2415['Inject'](_0xdb2415[_0x41fa7f(0x277)])),_0x13a67b(0x3,_0xdb2415[_0x41fa7f(0x2e9)])],_0x1dc582[_0x41fa7f(0x206)]);var _0x364f0d=Object[_0x41fa7f(0x194)],_0x4339a1=(_0x509204,_0x567b01,_0x52dd47,_0x21fa42)=>{const _0xf6279d=_0x41fa7f;for(var _0x4f1b5f=_0x21fa42>0x1?void 0x0:_0x21fa42?_0x364f0d(_0x567b01,_0x52dd47):_0x567b01,_0x4aa96c=_0x509204[_0xf6279d(0x26c)]-0x1,_0x47cf2d;_0x4aa96c>=0x0;_0x4aa96c--)(_0x47cf2d=_0x509204[_0x4aa96c])&&(_0x4f1b5f=_0x47cf2d(_0x4f1b5f)||_0x4f1b5f);return _0x4f1b5f;},_0x45667d=(_0x597f9c,_0x7a3f0f)=>(_0x382d27,_0x5edd2f)=>_0x7a3f0f(_0x382d27,_0x5edd2f,_0x597f9c);_0x1dc582[_0x41fa7f(0x342)]=class extends _0x5a33af['CollaborationSocketService']{constructor(_0x3aed87,_0x4fe7d4,_0x2efff3,_0x4d2a21,_0x39135d){super(_0x3aed87,_0x4fe7d4,_0x2efff3,_0x4d2a21,_0x39135d);}async[_0x41fa7f(0x30b)](_0x1806f7){const _0x2764ef=_0x41fa7f,_0x32fb4a=await this[_0x2764ef(0x227)](),_0x25f8bb=this[_0x2764ef(0x184)](_0x1806f7,_0x32fb4a);return this['_doCreateSocket'](_0x25f8bb);}[_0x41fa7f(0x184)](_0x3db489,_0x164be2){const _0x484359=_0x41fa7f,_0x1cc203=typeof window>'u'?new URL(_0x3db489):new URL(_0x3db489,window[_0x484359(0x1a3)][_0x484359(0x340)]);_0x1cc203[_0x484359(0x254)]['set'](_0x484359(0x19c),_0x164be2);const _0x5da1e4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x484359(0x1a3)][_0x484359(0x1a1)]);return _0x5da1e4[_0x484359(0x3a4)]('runId')&&_0x1cc203[_0x484359(0x254)][_0x484359(0x238)](_0x484359(0x398),_0x5da1e4[_0x484359(0x3a4)](_0x484359(0x398))),_0x1cc203['toString']();}async[_0x41fa7f(0x227)](){const _0x24b064=_0x41fa7f;var _0x2eae72,_0x415cb6,_0x3bd7d4;const _0x4dd46f=this[_0x24b064(0x1ea)][_0x24b064(0x102)](_0x5a33af[_0x24b064(0x2cf)]),_0x5250c6=(_0x2eae72=_0x4dd46f==null?void 0x0:_0x4dd46f['wsSessionTicketUrl'])!=null?_0x2eae72:_0x5a33af[_0x24b064(0x293)];return(_0x3bd7d4=(_0x415cb6=(await this[_0x24b064(0x23e)][_0x24b064(0x3a4)](_0x5250c6,{'headers':{'Content-Type':_0x24b064(0x2d8)}}))['body'])==null?void 0x0:_0x415cb6[_0x24b064(0x237)])!=null?_0x3bd7d4:'';}},_0x1dc582[_0x41fa7f(0x342)]=_0x4339a1([_0x45667d(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x45667d(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x45667d(0x2,_0xdb2415['IConfigService']),_0x45667d(0x3,_0xdb2415['ILogService']),_0x45667d(0x4,_0x1b3789[_0x41fa7f(0x124)])],_0x1dc582[_0x41fa7f(0x342)]);var _0x59ee28=Object[_0x41fa7f(0x194)],_0x281e28=(_0x3a55d5,_0x5cd513,_0x3c0e7d,_0x23c344)=>{const _0x4631ad=_0x41fa7f;for(var _0x12af6e=_0x23c344>0x1?void 0x0:_0x23c344?_0x59ee28(_0x5cd513,_0x3c0e7d):_0x5cd513,_0x429573=_0x3a55d5[_0x4631ad(0x26c)]-0x1,_0x422264;_0x429573>=0x0;_0x429573--)(_0x422264=_0x3a55d5[_0x429573])&&(_0x12af6e=_0x422264(_0x12af6e)||_0x12af6e);return _0x12af6e;},_0x44b694=(_0x4024e7,_0x47428c)=>(_0xd7915c,_0x4c6b54)=>_0x47428c(_0xd7915c,_0x4c6b54,_0x4024e7);_0x1dc582[_0x41fa7f(0x17c)]=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x4aff2c,_0xa93a3,_0x56a8fa){const _0x3486aa=_0x41fa7f;super(),this[_0x3486aa(0x327)]=_0x4aff2c,this[_0x3486aa(0x23e)]=_0xa93a3,this['_configService']=_0x56a8fa;}async[_0x41fa7f(0x2ed)](_0x519ca9,_0x4f0267,_0x24764c,..._0x1d5cb9){const _0xf20930=_0x41fa7f;var _0x35dfa3,_0x5c69ae,_0x3ed102,_0x3252da;const _0x5f3ea8=this['_instanceService'][_0xf20930(0x2be)]();if(!_0x5f3ea8)throw new Error(_0xf20930(0x1c9));const _0x45f61e=((_0x35dfa3=this[_0xf20930(0x1ea)][_0xf20930(0x102)](_0x5a33af['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x35dfa3:_0x5a33af[_0xf20930(0x1b0)])+'/'+_0x519ca9+_0xf20930(0x3d1)+_0x4f0267,_0x1a7487=new URL(window[_0xf20930(0x1a3)][_0xf20930(0x2bf)]),_0x2c44bf={'scriptId':_0x519ca9,'runId':(_0x5c69ae=_0x1a7487[_0xf20930(0x254)][_0xf20930(0x3a4)](_0xf20930(0x398)))!=null?_0x5c69ae:'','function':_0x4f0267,'unitId':_0x5f3ea8[_0xf20930(0x225)](),'argsOfFunction':JSON[_0xf20930(0x109)](_0x1d5cb9),'invokeId':(_0x3ed102=_0x24764c[_0xf20930(0x3cd)])!=null?_0x3ed102:'','executionId':(_0x3252da=_0x24764c[_0xf20930(0x158)])!=null?_0x3252da:''};try{const _0x4c69a9=await this['_httpService'][_0xf20930(0x11a)](_0x45f61e,{'body':_0x2c44bf});return _0x4c69a9[_0xf20930(0x332)][_0xf20930(0x399)]&&_0x4c69a9[_0xf20930(0x332)][_0xf20930(0x399)]['code']!==_0x4edfd6['OK']?_0xf20930(0x1dc):_0x4c69a9[_0xf20930(0x332)]['result'];}catch{return'Failed';}}},_0x1dc582[_0x41fa7f(0x17c)]=_0x281e28([_0x44b694(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x44b694(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x44b694(0x2,_0xdb2415[_0x41fa7f(0x2e9)])],_0x1dc582[_0x41fa7f(0x17c)]);const _0x42de53=0x7530,_0x218b7d=_0x41fa7f(0x18d);class _0x261f1a extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(){const _0x21cce8=_0x41fa7f;super(),_0x356879(this,_0x21cce8(0x282),_0xdb2415['generateRandomId']()),_0x356879(this,_0x21cce8(0x16d),new Set()),_0x356879(this,_0x21cce8(0x12f),new Map()),_0x356879(this,_0x21cce8(0x36b),null),_0x356879(this,_0x21cce8(0x1f1),new Map()),_0x356879(this,_0x21cce8(0x29c),new Map()),this[_0x21cce8(0x33f)]();}[_0x41fa7f(0x1b9)](){const _0x29a2b1=_0x41fa7f;super['dispose'](),this[_0x29a2b1(0x1f1)][_0x29a2b1(0x270)]((_0xe3ecc0,_0x59a6ff)=>this[_0x29a2b1(0x355)](_0x59a6ff)),this[_0x29a2b1(0x36b)]&&window[_0x29a2b1(0x24c)](this[_0x29a2b1(0x36b)]);}['getUnitStatus$'](_0x26f305){const _0x1774ee=_0x41fa7f;return this[_0x1774ee(0x2ce)](_0x26f305)['pipe'](_0x5bb37b[_0x1774ee(0x30d)]());}[_0x41fa7f(0x1f3)](_0x414195){const _0x488543=_0x41fa7f;this['_selfUnitIDs'][_0x488543(0x26a)]===0x0&&this[_0x488543(0x15a)](),this[_0x488543(0x16d)][_0x488543(0x12e)](_0x414195),this[_0x488543(0x3bd)]({'type':0x0,'memberID':this[_0x488543(0x282)],'unitIDs':[_0x414195],'isForwarded':!0x1});}[_0x41fa7f(0x354)](_0x373628){const _0x4e3130=_0x41fa7f;this['_selfUnitIDs'][_0x4e3130(0x349)](_0x373628),this[_0x4e3130(0x16d)]['size']===0x0&&this[_0x4e3130(0x36b)]&&window[_0x4e3130(0x24c)](this[_0x4e3130(0x36b)]);}['_init'](){const _0x437664=_0x41fa7f;this[_0x437664(0x31e)](_0xdb2415[_0x437664(0x2eb)](_0x5bb37b['fromEvent'](window,_0x437664(0x386))[_0x437664(0x31f)](_0x38e7e9=>{const _0x811599=_0x437664;if(_0x38e7e9[_0x811599(0x370)]!==_0x218b7d||!_0x38e7e9['newValue'])return;const _0x5b0798=JSON[_0x811599(0x3be)](_0x38e7e9[_0x811599(0x272)]);this[_0x811599(0x38d)](_0x5b0798);}))),window[_0x437664(0x13a)]('unload',()=>this[_0x437664(0x3bd)]({'type':0x1,'memberID':this[_0x437664(0x282)],'unitIDs':Array[_0x437664(0x2a2)](this['_selfUnitIDs'])}));}[_0x41fa7f(0x38d)](_0x3751e3){const _0x54c512=_0x41fa7f;switch(_0x3751e3[_0x54c512(0x17a)]){case 0x0:this[_0x54c512(0x275)](_0x3751e3);break;case 0x1:this[_0x54c512(0x1de)](_0x3751e3);break;case 0x2:this['_handleHeartbeatEvent'](_0x3751e3);break;}}[_0x41fa7f(0x275)](_0x462b67){const _0x1a350a=_0x41fa7f,{unitIDs:_0xd458b5,memberID:_0x252617,isForwarded:_0x346dde}=_0x462b67;_0xd458b5[_0x1a350a(0x270)](_0x512f12=>{const _0x2b0d6c=_0x1a350a;if(!_0x346dde&&this['_unitOnClients'][_0x2b0d6c(0x246)](_0x512f12)&&this[_0x2b0d6c(0x2ce)](_0x512f12)[_0x2b0d6c(0x3b5)](_0x5a33af[_0x2b0d6c(0x2a3)]['OTHER_CLIENTS_EDITING']),!this[_0x2b0d6c(0x12f)]['has'](_0x512f12)||!this[_0x2b0d6c(0x12f)][_0x2b0d6c(0x3a4)](_0x512f12)[_0x2b0d6c(0x246)](_0x252617)){const _0x224a75=this[_0x2b0d6c(0x12f)][_0x2b0d6c(0x3a4)](_0x512f12)||new Set();_0x224a75[_0x2b0d6c(0x12e)](_0x252617),this[_0x2b0d6c(0x12f)]['set'](_0x512f12,_0x224a75),this['_scheduleClearOtherTimer'](_0x252617);}}),_0x346dde||this[_0x1a350a(0x3bd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x41fa7f(0x3d3)](_0x1a5023){const _0xfca101=_0x41fa7f;this[_0xfca101(0x355)](_0x1a5023);const _0x25f389=window['setTimeout'](()=>{const _0x35e075=_0xfca101;this['_unitOnClients'][_0x35e075(0x270)](_0x4f793e=>{_0x4f793e['delete'](_0x1a5023);});},_0x42de53*0x2);this[_0xfca101(0x1f1)]['set'](_0x1a5023,_0x25f389);}[_0x41fa7f(0x355)](_0x321023){const _0x155fcc=_0x41fa7f;if(this[_0x155fcc(0x1f1)][_0x155fcc(0x246)](_0x321023)){const _0x3a3708=this[_0x155fcc(0x1f1)]['get'](_0x321023);_0x3a3708&&window['clearTimeout'](_0x3a3708),this['_clearOtherTimers'][_0x155fcc(0x238)](_0x321023,null);}}[_0x41fa7f(0x1de)](_0x15fe5d){const _0x413202=_0x41fa7f,{memberID:_0x215f72,unitIDs:_0xcc1c62}=_0x15fe5d;_0xcc1c62[_0x413202(0x270)](_0x12d464=>{const _0x586846=_0x413202;var _0x55af35;const _0x31de19=this['_unitOnClients']['get'](_0x12d464);_0x31de19&&(_0x31de19[_0x586846(0x349)](_0x215f72),(_0x55af35=this[_0x586846(0x2ce)](_0x12d464))==null||_0x55af35[_0x586846(0x3b5)](_0x31de19[_0x586846(0x26a)]===0x0?_0x5a33af[_0x586846(0x2a3)]['NO_OTHER_CLIENTS_EDITING']:_0x5a33af[_0x586846(0x2a3)]['OTHER_CLIENTS_EDITING']));}),this[_0x413202(0x355)](_0x215f72);}[_0x41fa7f(0x192)](_0x177751){const _0xb7f3bf=_0x41fa7f;this[_0xb7f3bf(0x3d3)](_0x177751['memberID']);}[_0x41fa7f(0x3bd)](_0x54180f){const _0x2c5bf2=_0x41fa7f;localStorage[_0x2c5bf2(0x126)](_0x218b7d,JSON[_0x2c5bf2(0x109)](_0x54180f));}[_0x41fa7f(0x15a)](){const _0x20ab4f=_0x41fa7f;this['_heartbeatTimer']=window[_0x20ab4f(0x1b1)](()=>{const _0xdb9a40=_0x20ab4f;this[_0xdb9a40(0x3bd)]({'type':0x2,'memberID':this['_id']});},_0x42de53);}[_0x41fa7f(0x2ce)](_0x3a211b){const _0x1960d6=_0x41fa7f;return this['_unitStatus']['has'](_0x3a211b)||this[_0x1960d6(0x29c)][_0x1960d6(0x238)](_0x3a211b,new _0x5bb37b['BehaviorSubject'](_0x5a33af['UnitStatus'][_0x1960d6(0x262)])),this[_0x1960d6(0x29c)][_0x1960d6(0x3a4)](_0x3a211b);}}_0x1dc582[_0x41fa7f(0x211)]=_0x2976d6,_0x1dc582[_0x41fa7f(0x15b)]=_0x2d04ac,_0x1dc582[_0x41fa7f(0x2c8)]=_0x261f1a,_0x1dc582[_0x41fa7f(0x100)]=_0x46c748,Object[_0x41fa7f(0x148)](_0x1dc582,Symbol[_0x41fa7f(0x261)],{'value':_0x41fa7f(0x25e)});}));function _0x5124(){const _0x1bb8d1=['CollaborationEvent','Injector','MoveRangeCommandId','_initDependencies','_range','sessionStatus$','_transformPreviousActiveRange','LICENSE_DISTRO_REJECTED','_univerInstanceService','isEditing','_eventUnsubscribe','unitID','_id','touchDependencies','RemoveColCommandId','takeUntil','_config','UniverDesign','isFormulaId','collaboration-client-ui.config','UniverNetwork','getSheetBySheetId','drawWith','operators','m2Prime','collabStatus.syncing','_collaborationUIEventService','TOO_MANY_REQUESTS','_onCursorDelete','DEFAULT_WS_SESSION_TICKET_URL','addHandlerCallback','_getMergeRange','UniverProCollaboration','UPDATE_CURSOR','currentSkeleton$','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','DocSelectionManagerService','beforeCommandExecuted','_unitStatus','_urlService','_docTransformIMECacheService','assignAColorForMemberID','_context','_colorAssignService','from','UnitStatus','getCollabCursors$','AWAITING_WITH_PENDING','idSuffix','_onCursorUpdate','on-line-icon_clip0_910_349','YUUMI_RATE_OVER_LIMIT','session.connection-failed','CollaborationUIEventId','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','_localStorageService','transform','\x20at\x20','name','RegularPolygon','545FjkhmQ','sheetID','_entityInit$','updateOfflineData','_lastPointer','hovered','combineLatest','_sheetSkeletonManagerService','getCurrentRevOfUnit','getUndoRedoMutationParamsCache','_refRangeService','getFocusedUnit','href','all','@univerjs/engine-render','ColorKit','releaseFormulaLimitUrl','_draw','loadUnit','replace','_commandService','WebBrowserSingleActiveUnitService','SOCKET_FAILED','createInstance','amd','transformSelections','FromArray','_ensureSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','React','stack','jsx','getColorFromTheme','REDEMPTION_CODE_INACTIVE','USER_NOT_INVITED_CODE','registerComponent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','application/json','collabStatus.fetchMiss','UniverDrawing','functionsExecutedState','debounce','pushState','getRangePointData','SetSelectionsOperation','UniverDocsUi','_hovered','getValue','evenodd','_injector','77bvOmoT','onPointerEnter$','unshift','IRenderManagerService','IConfigService','PY_RUNTIME_SCRIPT_ERROR','toDisposable','_logService','runOnServer','72PBtcYb','defs','UniverInstanceType','setParam','replaceState','DependentOn','UNIVER_SHEET','textRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','currentTheme$','code','getUnhiddenWorksheets','color','UniverCore','_setFormulaLimitStatus','CURRENT_STATUS_CANNOT_OPERATE','lineno','getParam','serializeRangeWithSheet','UNAUTHENTICATED','min','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','deepClone','_initCommandExecutedListener','join','mask','univer-mr-2\x20univer-flex\x20univer-text-xl','imageSourceType','createSocket','INTERNAL_ERROR','distinctUntilChanged','AUTHORIZE_CODE_ILLEGAL','font','object','map','2450kmDGwB','red.300','_docSkeletonManagerService','UNIVER_DOC','_entities','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_SUBSCRIPTION_NOT_FOUND','USER_NOT_FOUND','collabStatus.offline','_localCacheService','some','collaboration.closeRoom','disposeWithMe','subscribe','_notificationService','BuiltInUIPart','ENTITLE_NEED_BILLING_ADDRESS','fillStyle','Tooltip','getTypeOfUnitAdded$','_themeService','_instanceService','filename','string','4948074kPocyY','getCurrent','_startDocCollabCursor','getVpScrollXYInfoByPosToVp','SheetsSelectionsService','use','onLocalMutation','_textBubble','body','message','children','getCurrentUnitForType','_initCommandInterceptor','Unknown\x20user','IDocClipboardService','OnLineIcon','collab-text-anchor-','override','NOT_FOUND','cursorInfo$','DesktopCollaborationStatusDisplayController','_init','origin','ENTITLE_CHAT_LIMIT_EXCEED','BrowserCollaborationSocketService','INVALID_ARGUMENT','selections','debounceTime','1em','_anchor','InsertRowCommandId','delete','params','_showGuardMessage','getActiveSheet','current','_scheduleSaving','with','endColumn','requireSession','USER_IS_ANONYMOUS','@univerjs-pro/collaboration','disposeUnit','_removeClearOtherTimer','Vector2','handleIRemoveCol','MOBILE_HAS_BEEN_BOUND','setAlpha','column','bottom','maxFormulaLimit','formula.calculation.waiting','INotificationService','_disabled','random','REDEMPTION_INVALID_CODE','...','MUTATION','M0\x200H16V16H0z','rgba(255,\x20255,\x20255,\x200.01)','_currentUsage','dirtyRanges','handleMoveRange','_colorIndex','permission.content','_heartbeatTimer','data','FETCH_MISS','then','_cursorInfo$','key','flatMap','INVITE_CODE_HAS_BEEN_UES','Error','rxjs/operators','black','IBeforeCloseService','_getScale','history','row','Inject','43923vvNNxq','getAncestorScale','Disposable','m1Prime','ENTITLE_DUP_SUBSCRIPTION','arc','UniverEngineRender','SUCCESS','ILocalCacheService','1299949IITacC','contains','storage','_onRefRangeChange','handleInsertRangeMoveRight','ITransformService','_collabSessionService','subscribeEvent','Workbook','_handleEvent','moveTo','getMemberID','_getSaveTimeout','_shapes','unitId','transformMutation','debug','SetFormulaCalculationNotificationMutation','APPLY_REJECT','find','runId','error','/universer-api/license/formula/limit/status','values','_imageIoService','DocStateChangeManagerService','exports','DisposableCollection','PAYMENT_CHANNEL_NOT_SUPPORT','unit','createIdentifier','UniverDocs','get','_beforeCloseService','_pollingInterval','getColor','formula.calculation.unable','CONNECTOR_DATA_TOO_LARGE','getRenderById','reason','APPLY_NON_SEQUENTIAL_REVISION','registerRefRange','MOBILE_VERIFY_CODE_MISMATCH','@univerjs-pro/collaboration-client','_applyCommand','substring','findNodePositionByCharIndex','?taskId=','assign','next','_labelPosition','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getLocalCacheKey','MemberService','_initStatusListener','_registerRenderDependencies','IRemoteInstanceService','_send','parse','PENDING','clipPath','_startCalculationLimit','isFormulaString','getMember','_initWindowErrorListener','[Window\x20Error]:\x20','/universer-api/license/formula/limit/done','_dataLoaderService','mapTo','Rect','OTHER_CLIENT_EDITING','_transformService','url(#off-line-icon_clip0_910_343)','invokeId','throttleTime','RefRangeService','setShapeProps','/run/','totalFormulasToCalculate','_scheduleClearOtherTimer','_maxFormulaLimit','complete','_startSheetCollabCursor','max','INVALID_INVITE_CODE','reconnect','_roomMembers$','YUUMI_UNABLE_LOAD_URL','getStateCache','push','UniverRpc','currentColor','tag','LOGIN_TOKEN_PROCESSING_FAILED','roomMembers$','HEADER_MENU','transformRemoteChangeset','YUUMI_AI_RUN_FAILED','getCellPositionByOffset','getformulaLimitStatusUrl','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_docTransformStateCacheService','setStateCache','colno','_docClipboardService','WebURLService','collabStatus.synced','getConfig','lineTo','ICommandService','INVITE_CODE_REQUIRED','height','CollaborationSessionService','_saveCache','stringify','WebSocketService','CollaborationDataLoaderController','removeEventListener','useRef','UniverProCollaborationClient','_renderManagerService','_toggleOnline','_docSyncEditingCollabCursorService','_updateCollabCursors','session.collaboration-timeout','getRelativeToViewportCoord','LICENSE_MAX_UNITS_EXCEEDED','formula.calculation.started','_monkeyPatchLogService','entries','dispose$','post','SessionStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','url(#$1','SYNCED','status$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformHistoryAndStateStack','REDEMPTION_USER_NOT_ELIGIBLE','getUniverSheetInstance','ISnapshotServerService','CHANGESET_REVISION_CONFILICT','setItem','USERS_LEAVE','Shape','text','startColumn','_anchorDot','stageInfo','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','add','_unitOnClients','addObject','RemoveRowCommandId','permission.title','labelPosition','_status$','_updateSubUnitFromURLParams','_uploadLog','startRow','loadOfflineData','InsertRangeMoveRightCommandId','addEventListener','APPLY_DUPLICATED','SNAPSHOT_INVALID_SNAPSHOT','function','getOffsetConfig','MessageType','syncEditingCollabCursor','_releaseCalculationLimit','OFFLINE','saveOfflineData','_collaborationController','docStateChange$','_document','50056eTZovF','defineProperty','_collabCursorState$','endRow','@univerjs/core','collabCursorState$','socket$','_uiPartsService','collabStatus.notCollab','univerjs-icon\x20univerjs-icon-','ALREADY_EXISTS','_docTransformSelectionsService','transformStateCache','range','[CollaborationDataLoaderController]','_drawTextRange','SUBMIT_CHANGESET_TIMEOUT','executionId','COLORS','_scheduleHeartbeat','SheetCollabCursorShape','_updateLocalCursor','clsx','isTransformMutationsWithChangesetSuccess','RECT','displayName','registerRenderModule','pluginName','NOT_COLLAB','now','ENTITLE_REPORT_LIMIT_EXCEED','fillText','trim','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','IImageIoService','_refreshCollabCursors','0\x200\x2016\x2016','_selfUnitIDs','createElement','UNDEFINED','DocSkeletonManagerService','UNRECOGNIZED','executeCommand','event$','forwardRef','DATA_SOURCE_TOO_LARGE','engine','Warning','addClipboardHook','InsertRangeMoveDownCommandId','type','addObjects','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','_removeCollabCursors','LocaleService','_handleHover','on-line-icon','VIEW_MAIN','beginPath','_createSocketURL','measureText','show','svg','_initEntityListener','ERROR_AGAIN','_memberID','fill','_getAnchorBounding','ACTIVE_UNIT_EVENT_CHANNEL','setConfig','CollaborationController','getSheetObject','onCommandExecuted','_handleHeartbeatEvent','makeDirty','getOwnPropertyDescriptor','green.600','round','_initStatusComponent','attrs','@univerjs/drawing','@univerjs/rpc','_syncEditingCollabCursorService','sessionTicket','defIds','switchMap','UniverUi','YUUMI_NO_CUBOID_FOR_QUESTION','search','_online','location','FormulaExecutedStateType','useDependency','_backgroundColor','REDEMPTION_CODE_FULLY_REDEEMED','deserializeRangeWithSheet','_cursors','TEXT','actions','restore','path','ENTITLE_INSUFFICIENT_QUOTA','CONFLICT','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setInterval','setTimeout','currentUsage','@univerjs/sheets-ui','mutations','IUniverInstanceService','fromEventSubject','isActive','dispose','selection','_docStateChangeManagerService','_collabCursorController','backgroundColor','_memberService','collaboration-client.offline-data-not-saved','asObservable','ranges','collab-text-range-','sheetId','white','generateRandomId','[Unhandled\x20Rejection]:\x20','toRgbString','getSheetId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','JOIN_ROOM_FAILED','send','startFormulaLimitUrl','_scene','getCoordByCell','eventID','RxDisposable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','focused$','_toggleOffline','width','_color','redoState','_localeService','ONLINE','Tools','_messageService','Failed','getCellMatrix','_handleLeaveEvent','EffectRefRangId','getMergeData','_setupBeforeClosingHandler','parseInt','Success','isTransformMutationFailure','doc.mutation.rich-text-editing','[LogService\x20Error]:\x20','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformIMECache','DOC_RANGE_TYPE','_configService','YUUMI_URL_COL_OUT_OF_RANGE','_lastResponseTimestamp','DataLoaderService','activeSheet$','CollaborationStatus','CommandType','_clearOtherTimers','off-line-icon_clip0_910_343','editingUnit','roomMembers','source','cursorInfo','xlink:href','CLOSE_ROOM','_hover','DeleteRangeMoveLeftCommandId','_cachedData','_clearPolling','onPointerLeave$','4837437hZMydU','collab-client.tooltip.reconnect','4391076tdCpfc','disableLocalCache','_transformUndoRedoStack','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BehaviorSubject','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','entityInit$','top','18916aZhJhr','UniverCollaborationClientPlugin','_assignedColors','react','SetFormulaCalculationStartMutation','TEXT_RANGE_LAYER_INDEX','_registerDependencies','IURLService','none','_cursor','onRendered','div','UniverIcon','registerBeforeClose','skeleton','isArray','FormulaExecuteStageType','_checkCalculationAvailable','_initUserListener','includes','_cursorShapes','PERMISSION_DENIED','_saveTaskMap','_collaborationSessionService','DocCollaborationEntity','Optional','useObservable','getUnitId','_render','_getSessionTicket','session.will-retry','transformMutationsWithChangeset','@univerjs/ui','SNAPSHOT_HAS_BEEN_REMOVED','toString','_drawAnchor','handleIRemoveRow','init','ILogService','_initUnhandledRejectionListener','filter','enableLocalCache','_name','SheetSkeletonManagerService','symbol','ticket','set','_hideTimer','purple.300','@univerjs/engine-formula','exhaustSavingTask','REDEMPTION_CODE_NOT_STARTED','_httpService','save','getTypeOfUnitDisposed$','DocIMEInputManagerService','getUnit','#FFF','unhandledrejection','_initEvent','has','_updateURLWithCurrentState','UniverSheetsUi','getViewport','_session','enableFrontendLog','clearInterval','UniverProCollaborationClientUi','_drawRectRange','subunit','APPLY_REVISION_CONFILICT','mergeOverrideWithDependencies','_revisionService','YUUMI_ALL_TABLES_IS_INVALID','searchParams','saveTaskMap','urlChange$','limitInfo','HTTPService','onMouseMove','_initResize','WECHAT_HAS_BEEN_BOUND','pipe','IMessageService','Module','merge','_hasFormulaInDirtyRanges','toStringTag','NO_OTHER_CLIENTS_EDITING','EMAIL_VERIFY_CODE_MISMATCH','http://www.w3.org/2000/svg','bind','@univerjs/network','colorChannel1','_taskIds','uni.network.url-service','size','SOCKET_FAILED_RETRY','length','@univerjs/sheets','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_CONNECTOR_URL_NOT_FOUND','forEach','saveImage','newValue','setUndoRedoMutationParamsCache','_getFormulaLimitStatus','_handleJoinEvent'];_0x5124=function(){return _0x1bb8d1;};return _0x5124();}
1
+ function _0x924f(){const _0x4d50f5=['_unitStatus','isTransformMutationFailure','collaboration.closeRoom','_init','_releaseCalculationLimit','LOGIN_FAILED','RevisionService','getActiveRange','blue.400','removeEventListener','getSheetId','debug','round','_initUserListener','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_getScale','UNRECOGNIZED','_collaborationController','INotificationService','INVITE_CODE_REQUIRED','jsx','closePath','_drawAnchor','_cursors','status$','fillText','getColor','ENSURE_SNAPSHOT_EXECUTION','arc','unitId','_initUnhandledRejectionListener','IMessageService','post','_online','lineno','CONNECTOR_DATA_TOO_LARGE','getCollabEntity$','then','docStateChange$','max','NodePositionConvertToCursor','setStateCache','subscribeEvent','YUUMI_ASYNCIO_CANCELLED','createSocket','off-line-icon_clip0_910_343','mapTo','transformRemoteChangeset','ENTITLE_COUPON_USED_UP','colorChannel1','getConfig','_createSocketURL','forwardRef','@univerjs/core','type','_send','CollaborationDataLoaderController','129vgXrZw','getValue','measureText','add','_initStatusListener','collabStatus.fetchMiss','serializeRangeWithSheet','_applyCommand','ONLINE','PERMISSION_DENIED','UniverIcon','_refreshCollabCursors','registerBeforeClose','DocStateChangeManagerService','30199428HxTmAW','SetFormulaCalculationNotificationMutation','RegularPolygon','UniverCore','idSuffix','LICENSE_IMPORT_SIZE_EXCEEDED','handleIRemoveRow','addHandlerCallback','[Window\x20Error]:\x20','CollaborationUIEventId','pluginName','_handleLeaveEvent','AWAITING','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveLeftCommandId','split','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transform','_initStatusComponent','syncEditingCollabCursor','onPointerMove$','MemberService','_updateSubUnitFromURLParams','disableLocalCache','M0\x200H16V16H0z','flatMap','_id','shift','getformulaLimitStatusUrl','xlink:href','toStringTag','IUIPartsService','DocIMEInputManagerService','onTransformChange$','_getFormulaLimitStatus','saveTaskMap','HEADER_MENU','LOCAL_CACHE_INTERVAL','getOwnPropertyDescriptor','OffLineIcon','INVALID_INVITE_CODE','_pollingInterval','exhaustSavingTask','bottom','setActiveRange','ICommandService','IUniverInstanceService','REDEMPTION_CODE_FULLY_REDEEMED','COMPLETION_FINISHED','font','assign','UniverProCollaborationClientUi','ENTITLE_COUPON_EXPIRED','[LogService\x20Error]:\x20','_initEntityListener','BuiltInUIPart','/universer-api/license/formula/limit/status','_updateCollabCursors','11WZxmVu','switchMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','4348ptDqJE','maxFormulaLimit','_document','debounceTime','_getSaveTimeout','row','5834240algsBI','getCurrentUnitForType','React','registerComponent','ENTITLE_NEED_BILLING_ADDRESS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEvent','UniverInstanceType','moveTo','_registerRenderDependencies','UNIVER_DOC','APPLY_DUPLICATED','drawWith','getCollabCursors$','_hasFormulaInDirtyRanges','ILogService','SYNCED','_disabled','column','endRow','sessionStatus$','session.will-retry','registerDependencies','_refRangeService','...','permission.content','RECT','getFocusedUnit','_taskIds','cursorInfo','textRanges','UPDATE_CURSOR','BehaviorSubject','ILocalStorageService','transformByState','Rect','registerRefRange','ERROR_AGAIN','none','useCallback','_saveTaskMap','requireSession','LocaleService','CollaborationEvent','_shapes','endColumn','unitID','_getAnchorBounding','getColorFromTheme','_name','INVITE_CODE_HAS_BEEN_UES','clipPath','with','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_currentUsage','operators','replaceState','eventID','_render','cursorInfo$','clearTimeout','_docTransformSelectionsService','_removeClearOtherTimer','href','INTERNAL_ERROR','_logService','UNDEFINED','runOnServer','toString','shareReplay','rgba(255,\x20255,\x20255,\x200.01)','RxDisposable','enableLocalCache','@univerjs/design','name','Injector','storage','_config','DesktopCollaborationStatusDisplayController','fill','m1Prime','getUniverSheetInstance','currentSkeleton$','INVALID_ARGUMENT','_scheduleHeartbeat','1232930OMBBRa','init','SetSelectionsOperation','selection','onPointerLeave$','debounce','Shape','getCellMatrix','@univerjs/drawing','yellow.400','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_localCacheService','AUTHORIZE_CODE_ILLEGAL','code','@univerjs/engine-formula','http://www.w3.org/2000/svg','_startDocCollabCursor','INVITE_CODE_ALREADY_BOUND','executeCommand','getOffsetConfig','get','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','@univerjs/rpc','onCommandExecuted','1em','getUnitId','UNIVER_SHEET','CollaborationController','createInstance','entries','TEXT','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','beginPath','HTTPService','rxjs','_drawTextRange','MessageType','IImageIoService','reason','FETCH_MISS','key','_collabSessionService','APPLY_NON_SEQUENTIAL_REVISION','_onRefRangeChange','_onCursorUpdate','_maxFormulaLimit','push','AWAITING_WITH_PENDING','isFormulaId','SheetsSelectionsService','_getMergeRange','CollaborationUIEventService','url(#off-line-icon_clip0_910_343)','CollaborationSocketService','APPLY_REVISION_CONFILICT','_colorIndex','_startCalculationLimit','parse','getRangePointData','includes','InsertRangeMoveRightCommandId','getMergeData','collabStatus.offline','substring','_handleJoinEvent','transformMutation','transformMutationsWithChangeset','onLocalMutation','YUUMI_AI_RUN_FAILED','SheetSkeletonManagerService','subunit','_initCommandExecutedListener','stack','80VTdUON','setShapeProps','/run/','SetTextSelectionsOperation','onMouseMove','path','_textBubble','whenReady','@univerjs/sheets-ui','DataLoaderService','tag','handleMoveRange','UniverProCollaboration','subUnitId','event$','getCellPositionByOffset','url(#on-line-icon_clip0_910_349)','_beforeCloseService','DOC_RANGE_TYPE','on-line-icon_clip0_910_349','startFormulaLimitUrl','isTransformMutationsWithChangesetSuccess','_commandService','saveOfflineData','_themeService','transformStateCache','startRow','_toggleOffline','object','size','show','on-line-icon','SUBMIT_CHANGESET_TIMEOUT','ticket','translate(.97)','currentUsage','/universer-api/license/formula/limit/start','SNAPSHOT_HAS_BEEN_REMOVED','labelPosition','jiqing.500','setParam','_scheduleClearOtherTimer','CURRENT_STATUS_CANNOT_OPERATE','merge','collabCursorState$','stringify','40FjYJNQ','Loading','contains','takeUntil','_unitOnClients','ALREADY_EXISTS','_memberID','_color','fillRule','_injector','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','startColumn','[CollaborationDataLoaderController]','Vector2','getCurrent','_startSheetCollabCursor','_toggleOnline','white','_collabCursorController','getMemberID','pipe','application/json','string','releaseFormulaLimitUrl','collab-text-range-','toDisposable','totalFormulasToCalculate','_hover','onRendered','setAlpha','1eABxUj','CONFLICT','searchParams','/universer-api/frontend/logs','START_CALCULATION','WebURLService','8334081sijDxB','TEXT_RANGE_LAYER_INDEX','setUndoRedoMutationParamsCache','RefRangeService','delete','YUUMI_UNABLE_LOAD_URL','_uploadLog','rxjs/operators','USERS_LEAVE','activeSheet$','dispose$','@univerjs/docs','values','SessionStatus','unhandledrejection','_syncEditingCollabCursorService','_revisionService','find','enableFrontendLog','formula.calculation.unable','ENTITLE_REPORT_LIMIT_EXCEED','REDEMPTION_USER_NOT_ELIGIBLE','BrowserCollaborationSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','message','setItem','_status$','getCurrentSelections','getUndoRedoMutationParamsCache','_assignedColors','set','REDEMPTION_CODE_NOT_STARTED','APPLY_PERMISSION_DENIED','_docSkeleton','_imageIoService','LICENSE_DISTRO_REJECTED','\x20at\x20','clearInterval','height','removeParam','deepClone','ENTITLE_INVALID_COUPON_CODE','transformSelections','fromEventSubject','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_handleHover','red.300','@univerjs-pro/collaboration','_renderManagerService','CLOSE_ROOM','length','REDEMPTION_CODE_INACTIVE','_httpService','ITransformService','OTHER_CLIENTS_EDITING','restore','min','UniverCollaborationClientUIPlugin','onStarting','registerRenderModule','_setupBeforeClosingHandler','_cursorInfo$','UNAUTHENTICATED','undoState','_docClipboardService','addClipboardHook','Inject','YUUMI_ALL_TABLES_IS_INVALID','_saveCache','UniverDesign','forEach','UnitStatus','Disposable','CommandType','addObject','Module','univer-mr-2\x20univer-flex\x20univer-text-xl','YUUMI_CONNECTOR_URL_NOT_FOUND','_uiPartsService','_drawRectRange','toRgbString','_notificationService','transformIMECache','DocSelectionManagerService','IConfigService','stage','replaceDocRanges','source','location','amd','_docSkeletonManagerService','_docTransformStateCacheService','uni.network.url-service','DocSkeletonManagerService','_configService','_getSessionTicket','UniverRpc','jsxs','origin','Unknown\x20user','exports','dispose','_collaborationSessionService','_initCommandInterceptor','map','_lastPointer','getUnhiddenWorksheets','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','formula.calculation.started','_setFormulaLimitStatus','startsWith','urlChange$','top','assignAColorForMemberID','ENTITLE_DUP_SUBSCRIPTION','runId','getRenderById','throttleTime','collabStatus.syncing','UniverSheets','createElement','isFormulaString','disposeWithMe','color','collab-text-anchor-','defIds','random','unit','REDEMPTION_INVALID_CODE','_registerDependencies','RemoteUniscriptService','_docSyncEditingCollabCursorService','_transformService','@univerjs/engine-render','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocCollaborationEntity','defineProperty','_localeService','text','save','m2Prime','YUUMI_URL_COL_OUT_OF_RANGE','InsertColCommandId','currentColor','InsertRangeMoveDownCommandId','getItem','range','_docStateChangeManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','memberID','from','_monkeyPatchLogService','url(#$1','getAncestorScale','OnLineIcon','SetDocZoomRatioOperation','error','Error','addObjects','_heartbeatTimer','ThemeService','collabStatus.notCollab','formula.calculation.waiting','NOT_COLLAB','evenodd','CollaborationStatus','getSheetBySheetId','DEFAULT_WS_SESSION_TICKET_URL','_hideTimer','now','@univerjs/network','_getSheetObject','_cursorShapes','@univerjs/sheets','EffectRefRangId','MOBILE_HAS_BEEN_BOUND','TOO_MANY_REQUESTS','_initWindowErrorListener','_transformHistoryAndStateStack','mergeOverrideWithDependencies','_initDependencies','getLocalCacheKey','SOCKET_FAILED','roomMembers$','Subject','triggerDblclick','_backgroundColor','executionId','MUTATION','_eventUnsubscribe','_collabCursorState$','ILocalCacheService','DATA_SOURCE_TOO_LARGE','_memberService','updateOfflineData','complete','FromArray','skeleton','asObservable','socket$','search','mutations','imageSourceType','getDocRanges','WebSocketService','doc.mutation.rich-text-editing','ranges','session.collaboration-timeout','symbol','handleInsertRangeMoveRight','Failed','newValue','next','_anchor','sessionTicket','beforeCommandExecuted','Tooltip','_initResize','UniverEngineRender','_roomMembers$','reconnect','UniverEngineFormula','MOBILE_VERIFY_CODE_MISMATCH','ISnapshotServerService','params','parseInt','NOT_FOUND','_updateURLWithCurrentState','UniverSheetsUi','defs','handleIRemoveCol','lineTo','catch','filter','WECHAT_HAS_BEEN_BOUND','IRenderManagerService','_lastResponseTimestamp','touchDependencies','focused$','1628487jZPgkd','_ensureSubject','subscribe','_showGuardMessage','LICENSE_EXPORT_SIZE_EXCEEDED','functionsExecutedState','stageInfo','fillStyle','[Unhandled\x20Rejection]:\x20','SOCKET_FAILED_RETRY','generateRandomId','mask','PY_RUNTIME_SCRIPT_ERROR','0\x200\x2017\x2016','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleInsertCol','saveImage','IDocClipboardService','_handleHeartbeatEvent','getParam','getMember','_clearPolling','SUCCESS','Plugin','setInterval','hide','_transformPreviousActiveRange','makeDirty','Warning','useDependency','setTimeout','ColorKit','_handleEvent','COLORS','children','_localStorageService','SHEET_VIEWPORT_KEY','function','div','deserializeRangeWithSheet','OTHER_CLIENT_EDITING','_labelPosition','_selfUnitIDs','editingUnit','addEventListener','0\x200\x2016\x2016','APPLY_REJECT','width','UniverNetwork','loadOfflineData','TRANSFORM_CHANGE_OBSERVABLE_TYPE','colno','CollaborationSessionService','_checkCalculationAvailable','_clearOtherTimers','YUUMI_RATE_OVER_LIMIT','redoState','_doCreateSocket','USER_NOT_FOUND','body','LOGIN_TOKEN_PROCESSING_FAILED','getSkeleton','_colorAssignService','black','_removeCollabCursors','roomMembers','isActive','InsertRowCommandId','_docTransformIMECacheService','@univerjs/docs-ui','_setupSubUnitSync','sheetID','USER_IS_ANONYMOUS','collab-rect-range-','loadUnit','_dataLoaderService','_scheduleSaving','#FFF','popstate','UniverDrawing','onPointerEnter$','RemoveColCommandId','limitInfo','isArray','_draw','collaboration.single-unit.warning','invokeId','data','JOIN_ROOM_FAILED','findNodePositionByCharIndex','unload','_collaborationUIEventService','getUnit','distinctUntilChanged','history','join','_entities','UniverDocs','_checkAndWaitForCalculationPermission','758436cpVwuL','SetWorksheetActivateCommand','_updateLocalCursor','_session','_messageService','_univerInstanceService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','PENDING','currentTheme$','purple.300','attrs','_cachedData','_entityInit$','DeleteRangeMoveUpCommandId','bind','_scene','pushState','LICENSE_MAX_UNITS_EXCEEDED','handleInsertRow','Rectangle','isEditing','_onCursorDelete','ENTITLE_INSUFFICIENT_QUOTA','VIEW_MAIN','_range','univer-flex\x20univer-items-center','_sheetSkeletonManagerService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','EMAIL_VERIFY_CODE_MISMATCH','CHANGESET_REVISION_CONFILICT','displayName','_hovered','getStateCache','has','useObservable','NO_OTHER_CLIENTS_EDITING','Tools','ENTITLE_CHAT_LIMIT_EXCEED','RichTextEditingMutation','svg','setConfig','_context','CanceledError','filename','_urlService','YUUMI_SUBSCRIPTION_NOT_FOUND','Workbook','_anchorDot','react/jsx-runtime'];_0x924f=function(){return _0x4d50f5;};return _0x924f();}function _0x1a49(_0x5ef47e,_0x1c8943){_0x5ef47e=_0x5ef47e-0x17e;const _0x924f52=_0x924f();let _0x1a49a7=_0x924f52[_0x5ef47e];return _0x1a49a7;}(function(_0x4e0d80,_0x2a8569){const _0x3543d2=_0x1a49,_0x1082a4=_0x4e0d80();while(!![]){try{const _0x31e328=parseInt(_0x3543d2(0x246))/0x1*(parseInt(_0x3543d2(0x1b1))/0x2)+parseInt(_0x3543d2(0x409))/0x3*(-parseInt(_0x3543d2(0x454))/0x4)+-parseInt(_0x3543d2(0x228))/0x5*(-parseInt(_0x3543d2(0x39f))/0x6)+parseInt(_0x3543d2(0x24c))/0x7+-parseInt(_0x3543d2(0x45a))/0x8+-parseInt(_0x3543d2(0x33b))/0x9*(-parseInt(_0x3543d2(0x1fa))/0xa)+parseInt(_0x3543d2(0x451))/0xb*(-parseInt(_0x3543d2(0x417))/0xc);if(_0x31e328===_0x2a8569)break;else _0x1082a4['push'](_0x1082a4['shift']());}catch(_0x3ee09c){_0x1082a4['push'](_0x1082a4['shift']());}}}(_0x924f,0xed990),function(_0x8c33d0,_0x1770b8){const _0x428bbe=_0x1a49;typeof exports==_0x428bbe(0x216)&&typeof module<'u'?_0x1770b8(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x428bbe(0x361)&&define[_0x428bbe(0x2a5)]?define([_0x428bbe(0x2b0),_0x428bbe(0x3cf),'@univerjs-pro/collaboration-client',_0x428bbe(0x405),'@univerjs/ui',_0x428bbe(0x1d3),_0x428bbe(0x1a5),'react',_0x428bbe(0x1c7),_0x428bbe(0x2f9),_0x428bbe(0x2d1),_0x428bbe(0x2f6),_0x428bbe(0x381),_0x428bbe(0x1b9),_0x428bbe(0x27b),_0x428bbe(0x257),_0x428bbe(0x1bf),_0x428bbe(0x253),_0x428bbe(0x202)],_0x1770b8):(_0x8c33d0=typeof globalThis<'u'?globalThis:_0x8c33d0||self,_0x1770b8(_0x8c33d0[_0x428bbe(0x44a)]={},_0x8c33d0[_0x428bbe(0x45c)],_0x8c33d0['UniverProCollaborationClient'],_0x8c33d0[_0x428bbe(0x41a)],_0x8c33d0['UniverUi'],_0x8c33d0[_0x428bbe(0x1d3)],_0x8c33d0[_0x428bbe(0x291)],_0x8c33d0['React'],_0x8c33d0[_0x428bbe(0x2ac)],_0x8c33d0[_0x428bbe(0x2c3)],_0x8c33d0[_0x428bbe(0x326)],_0x8c33d0[_0x428bbe(0x36c)],_0x8c33d0['UniverDocsUi'],_0x8c33d0[_0x428bbe(0x38b)],_0x8c33d0[_0x428bbe(0x206)],_0x8c33d0[_0x428bbe(0x39d)],_0x8c33d0[_0x428bbe(0x329)],_0x8c33d0[_0x428bbe(0x1d3)][_0x428bbe(0x193)],_0x8c33d0[_0x428bbe(0x330)]));}(this,function(_0x1c2aca,_0xfab7b1,_0x1b7c3e,_0x513c5a,_0x2b894c,_0x44d779,_0x3fc2d4,_0x172118,_0x5c0f05,_0x314f03,_0x4672ea,_0x2e9ff2,_0x216a55,_0x3e7cd7,_0x191313,_0x702727,_0x5f233a,_0x523890,_0x33b767){'use strict';const _0x4c5fe4=_0x1a49;var _0x30c9ca=Object[_0x4c5fe4(0x2d4)],_0x5b36fd=(_0x11d93e,_0x115b45,_0x845149)=>_0x115b45 in _0x11d93e?_0x30c9ca(_0x11d93e,_0x115b45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x845149}):_0x11d93e[_0x115b45]=_0x845149,_0x49e871=(_0x23ad48,_0x3735ca,_0x32b3a2)=>_0x5b36fd(_0x23ad48,typeof _0x3735ca!=_0x4c5fe4(0x31c)?_0x3735ca+'':_0x3735ca,_0x32b3a2);function _0x5f0c62({ref:_0x2d6f03,..._0x345694}){const _0x14f06c=_0x4c5fe4,{icon:_0x3f704f,id:_0x2acba4,className:_0x57c441,extend:_0x485c50,..._0x2bf4a7}=_0x345694,_0x3a7347=('univerjs-icon\x20univerjs-icon-'+_0x2acba4+'\x20'+(_0x57c441||''))['trim'](),_0x4bae35=_0x172118['useRef']('_'+_0x16d856());return _0x17e624(_0x3f704f,''+_0x2acba4,{'defIds':_0x3f704f[_0x14f06c(0x2c9)],'idSuffix':_0x4bae35['current']},{'ref':_0x2d6f03,'className':_0x3a7347,..._0x2bf4a7},_0x485c50);}function _0x17e624(_0x544f29,_0x5cef84,_0x53cf2f,_0x2bf77a,_0x320202){const _0x10fded=_0x4c5fe4;return _0x172118[_0x10fded(0x2c4)](_0x544f29[_0x10fded(0x204)],{'key':_0x5cef84,..._0x3eab83(_0x544f29,_0x53cf2f,_0x320202),..._0x2bf77a},(_0x16993b(_0x544f29,_0x53cf2f)[_0x10fded(0x35e)]||[])[_0x10fded(0x2b4)]((_0x304af9,_0x1c1c45)=>_0x17e624(_0x304af9,_0x5cef84+'-'+_0x544f29['tag']+'-'+_0x1c1c45,_0x53cf2f,void 0x0,_0x320202)));}function _0x3eab83(_0x285afc,_0x1f185d,_0x2e70a0){const _0x1edc8e=_0x4c5fe4,_0x6991a8={..._0x285afc[_0x1edc8e(0x3a9)]};_0x2e70a0!=null&&_0x2e70a0[_0x1edc8e(0x401)]&&_0x6991a8[_0x1edc8e(0x1ab)]===_0x1edc8e(0x401)&&(_0x6991a8[_0x1edc8e(0x1ab)]=_0x2e70a0[_0x1edc8e(0x401)]),_0x285afc[_0x1edc8e(0x204)]==='mask'&&_0x6991a8['id']&&(_0x6991a8['id']=_0x6991a8['id']+_0x1f185d[_0x1edc8e(0x41b)]),Object[_0x1edc8e(0x1ce)](_0x6991a8)['forEach'](([_0x2435a5,_0x538ac3])=>{const _0x4f0e59=_0x1edc8e;_0x2435a5===_0x4f0e59(0x346)&&typeof _0x538ac3=='string'&&(_0x6991a8[_0x2435a5]=_0x538ac3['replace'](/url\(#(.*)\)/,_0x4f0e59(0x2e4)+_0x1f185d['idSuffix']+')'));});const {defIds:_0x46aebd}=_0x1f185d;return!_0x46aebd||_0x46aebd[_0x1edc8e(0x27e)]===0x0||(_0x285afc[_0x1edc8e(0x204)]==='use'&&_0x6991a8[_0x1edc8e(0x434)]&&(_0x6991a8[_0x1edc8e(0x434)]=_0x6991a8[_0x1edc8e(0x434)]+_0x1f185d[_0x1edc8e(0x41b)]),Object['entries'](_0x6991a8)['forEach'](([_0x2645c0,_0x192fec])=>{const _0x35ff0e=_0x1edc8e;typeof _0x192fec=='string'&&(_0x6991a8[_0x2645c0]=_0x192fec['replace'](/url\(#(.*)\)/,'url(#$1'+_0x1f185d[_0x35ff0e(0x41b)]+')'));})),_0x6991a8;}function _0x16993b(_0x11e648,_0x50c738){const _0x5e2e28=_0x4c5fe4;var _0x33da6a;const {defIds:_0x3d7912}=_0x50c738;return!_0x3d7912||_0x3d7912[_0x5e2e28(0x27e)]===0x0?_0x11e648:_0x11e648['tag']===_0x5e2e28(0x331)&&((_0x33da6a=_0x11e648[_0x5e2e28(0x35e)])!=null&&_0x33da6a[_0x5e2e28(0x27e)])?{..._0x11e648,'children':_0x11e648[_0x5e2e28(0x35e)][_0x5e2e28(0x2b4)](_0xd35a69=>typeof _0xd35a69[_0x5e2e28(0x3a9)]['id']==_0x5e2e28(0x23e)&&_0x3d7912&&_0x3d7912[_0x5e2e28(0x1ec)](_0xd35a69[_0x5e2e28(0x3a9)]['id'])?{..._0xd35a69,'attrs':{..._0xd35a69[_0x5e2e28(0x3a9)],'id':_0xd35a69[_0x5e2e28(0x3a9)]['id']+_0x50c738[_0x5e2e28(0x41b)]}}:_0xd35a69)}:_0x11e648;}function _0x16d856(){const _0x328aa0=_0x4c5fe4;return Math[_0x328aa0(0x2ca)]()[_0x328aa0(0x1a0)](0x24)[_0x328aa0(0x1f0)](0x2,0x8);}_0x5f0c62[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x413);const _0x47b36d={'tag':'svg','attrs':{'xmlns':_0x4c5fe4(0x1c0),'fill':_0x4c5fe4(0x182),'viewBox':_0x4c5fe4(0x369),'width':_0x4c5fe4(0x1c9),'height':_0x4c5fe4(0x1c9)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c5fe4(0x1e5)},'children':[{'tag':'path','attrs':{'stroke':_0x4c5fe4(0x2db),'d':'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','strokeLinecap':_0x4c5fe4(0x3dc),'strokeLinejoin':_0x4c5fe4(0x3dc),'strokeWidth':1.2}}]},{'tag':_0x4c5fe4(0x331),'attrs':{},'children':[{'tag':_0x4c5fe4(0x18f),'attrs':{'id':_0x4c5fe4(0x3fd)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'fill':_0x4c5fe4(0x239),'d':_0x4c5fe4(0x42f)}}]}]}],'defIds':[_0x4c5fe4(0x3fd)]},_0x270308=_0x172118['forwardRef'](function(_0x55e94d,_0x4f7c19){const _0x461381=_0x4c5fe4;return _0x172118[_0x461381(0x2c4)](_0x5f0c62,Object[_0x461381(0x449)]({},_0x55e94d,{'id':'off-line-icon','ref':_0x4f7c19,'icon':_0x47b36d}));});_0x270308[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x43e);const _0x525d26={'tag':_0x4c5fe4(0x3c6),'attrs':{'xmlns':_0x4c5fe4(0x1c0),'fill':_0x4c5fe4(0x182),'viewBox':_0x4c5fe4(0x348),'width':_0x4c5fe4(0x1c9),'height':_0x4c5fe4(0x1c9)},'children':[{'tag':'g','attrs':{'clipPath':_0x4c5fe4(0x20a)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'stroke':_0x4c5fe4(0x2db),'d':_0x4c5fe4(0x2b7),'strokeLinecap':_0x4c5fe4(0x3dc),'strokeLinejoin':_0x4c5fe4(0x3dc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4c5fe4(0x18f),'attrs':{'id':_0x4c5fe4(0x20d)},'children':[{'tag':_0x4c5fe4(0x1ff),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x4c5fe4(0x21c)}}]}]}],'defIds':[_0x4c5fe4(0x20d)]},_0x34902d=_0x172118[_0x4c5fe4(0x404)](function(_0x3fadbb,_0x1d8c3c){const _0x4f3af8=_0x4c5fe4;return _0x172118[_0x4f3af8(0x2c4)](_0x5f0c62,Object[_0x4f3af8(0x449)]({},_0x3fadbb,{'id':_0x4f3af8(0x219),'ref':_0x1d8c3c,'icon':_0x525d26}));});_0x34902d[_0x4c5fe4(0x3bd)]=_0x4c5fe4(0x2e6);function _0x288bca(_0x3923e2){const _0x33e350=_0x4c5fe4;switch(_0x3923e2){case _0x1b7c3e[_0x33e350(0x2f1)]['OFFLINE']:return _0x33e350(0x1ef);case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x247)]:return'collabStatus.conflict';case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x1d8)]:return _0x33e350(0x40e);case _0x1b7c3e[_0x33e350(0x2f1)]['NOT_COLLAB']:return _0x33e350(0x2ed);case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x423)]:case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x1e0)]:return _0x33e350(0x2c2);case _0x1b7c3e['CollaborationStatus'][_0x33e350(0x46a)]:case _0x1b7c3e[_0x33e350(0x2f1)][_0x33e350(0x3a6)]:return'collabStatus.synced';}}function _0x5b082f(_0x2e6947){const _0x4603e7=_0x4c5fe4,{status$:_0x47320f}=_0x2e6947,_0x52643a=_0x2b894c[_0x4603e7(0x3c1)](_0x47320f,_0x1b7c3e[_0x4603e7(0x2f1)][_0x4603e7(0x2ef)]),_0x57143f=_0x2b894c[_0x4603e7(0x359)](_0x513c5a[_0x4603e7(0x186)]),_0x4a284b=_0x2b894c['useDependency'](_0x1b7c3e['CollaborationSessionService']),_0x129d6c=_0x52643a!==_0x1b7c3e[_0x4603e7(0x2f1)]['OFFLINE'],_0x2c8ba1=_0x57143f['t'](_0x288bca(_0x52643a)),_0x3739c9=_0x129d6c?_0xfab7b1[_0x4603e7(0x3e4)](_0x34902d,{}):_0xfab7b1[_0x4603e7(0x3e4)](_0x270308,{}),_0x1314d1=_0x172118[_0x4603e7(0x183)](()=>{const _0xcccaca=_0x4603e7;_0x129d6c||_0x4a284b[_0xcccaca(0x328)]();},[_0x129d6c,_0x4a284b]);function _0x95621d(){const _0x2a2897=_0x4603e7;return _0xfab7b1[_0x2a2897(0x2ad)](_0x2a2897(0x362),{'className':_0x2a2897(0x3b8),'onClick':_0x1314d1,'children':[_0xfab7b1[_0x2a2897(0x3e4)](_0x2a2897(0x362),{'className':_0x3fc2d4['clsx'](_0x2a2897(0x298),{'univer-text-green-500':_0x129d6c,'univer-text-red-500':!_0x129d6c}),'children':_0x3739c9}),_0xfab7b1['jsx'](_0x2a2897(0x362),{'className':_0x2a2897(0x3a5),'children':_0x2c8ba1})]});}return _0x129d6c?_0x95621d():_0xfab7b1[_0x4603e7(0x3e4)](_0x3fc2d4[_0x4603e7(0x324)],{'title':_0x57143f['t']('collab-client.tooltip.reconnect'),'children':_0x95621d()});}var _0x834bd1=Object[_0x4c5fe4(0x43d)],_0x3f4a2f=(_0x32246b,_0x428f1e,_0x526306,_0x3c3808)=>{for(var _0x578df0=_0x3c3808>0x1?void 0x0:_0x3c3808?_0x834bd1(_0x428f1e,_0x526306):_0x428f1e,_0x3728ee=_0x32246b['length']-0x1,_0x40d562;_0x3728ee>=0x0;_0x3728ee--)(_0x40d562=_0x32246b[_0x3728ee])&&(_0x578df0=_0x40d562(_0x578df0)||_0x578df0);return _0x578df0;},_0x1a19b7=(_0x59c05a,_0x255450)=>(_0x5939cd,_0x57ceb0)=>_0x255450(_0x5939cd,_0x57ceb0,_0x59c05a);_0x1c2aca[_0x4c5fe4(0x1aa)]=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x218d2e,_0x4a20bb,_0x37c623,_0x1c423d){const _0x5d60c7=_0x4c5fe4;super(),_0x49e871(this,_0x5d60c7(0x266),new _0x44d779['BehaviorSubject'](_0x1b7c3e[_0x5d60c7(0x2f1)][_0x5d60c7(0x2ef)])),(this['_univerInstanceService']=_0x218d2e,this[_0x5d60c7(0x231)]=_0x4a20bb,this[_0x5d60c7(0x3e1)]=_0x37c623,this[_0x5d60c7(0x29a)]=_0x1c423d,this[_0x5d60c7(0x429)](),this[_0x5d60c7(0x40d)]());}[_0x4c5fe4(0x40d)](){const _0x47d263=_0x4c5fe4;this[_0x47d263(0x2c6)](this['_univerInstanceService'][_0x47d263(0x33a)]['pipe'](_0x44d779[_0x47d263(0x452)](()=>{const _0x25dbd4=_0x47d263,_0x4699bc=this[_0x25dbd4(0x3a4)]['getFocusedUnit']();return _0x4699bc?this[_0x25dbd4(0x3e1)][_0x25dbd4(0x3f4)](_0x4699bc['getUnitId']()):_0x44d779['of'](null);}),_0x44d779[_0x47d263(0x452)](_0x3923c4=>_0x3923c4?_0x3923c4[_0x47d263(0x3e8)]:_0x44d779['of'](_0x1b7c3e[_0x47d263(0x2f1)][_0x47d263(0x2ef)])))[_0x47d263(0x33d)](_0x377379=>{const _0x3aa801=_0x47d263;this[_0x3aa801(0x266)][_0x3aa801(0x320)](_0x377379);}));}[_0x4c5fe4(0x429)](){const _0x2b590e=_0x4c5fe4;this[_0x2b590e(0x2c6)](this[_0x2b590e(0x29a)][_0x2b590e(0x45d)](_0x2b894c[_0x2b590e(0x44e)][_0x2b590e(0x43b)],()=>_0x2b894c['connectInjector'](_0x1cd15b({'status$':this[_0x2b590e(0x266)][_0x2b590e(0x312)]()}),this['_injector'])));}},_0x1c2aca[_0x4c5fe4(0x1aa)]=_0x3f4a2f([_0x1a19b7(0x0,_0x513c5a[_0x4c5fe4(0x445)]),_0x1a19b7(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x1a19b7(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1cc)])),_0x1a19b7(0x3,_0x2b894c[_0x4c5fe4(0x436)])],_0x1c2aca[_0x4c5fe4(0x1aa)]);function _0x1cd15b(_0x442a10){const {status$:_0x45e543}=_0x442a10;return function(){return _0xfab7b1['jsx'](_0x5b082f,{'status$':_0x45e543});};}const _0x24977f=_0x513c5a['createIdentifier'](_0x4c5fe4(0x2a8));var _0x1ad996=Object[_0x4c5fe4(0x43d)],_0x209a9d=(_0x177d21,_0x67575e,_0x17dddf,_0x271d80)=>{const _0x13a28b=_0x4c5fe4;for(var _0x3869a6=_0x271d80>0x1?void 0x0:_0x271d80?_0x1ad996(_0x67575e,_0x17dddf):_0x67575e,_0x4bc2e7=_0x177d21[_0x13a28b(0x27e)]-0x1,_0xa012d7;_0x4bc2e7>=0x0;_0x4bc2e7--)(_0xa012d7=_0x177d21[_0x4bc2e7])&&(_0x3869a6=_0xa012d7(_0x3869a6)||_0x3869a6);return _0x3869a6;},_0x57a0ed=(_0x359b9e,_0x94a57c)=>(_0x5045e6,_0x3fa71b)=>_0x94a57c(_0x5045e6,_0x3fa71b,_0x359b9e);_0x1c2aca[_0x4c5fe4(0x408)]=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x147268,_0x5d0b20,_0x20e0fd,_0xde6a59,_0x5479c5){const _0x3d97cd=_0x4c5fe4;super(),this[_0x3d97cd(0x3cb)]=_0x147268,this[_0x3d97cd(0x19d)]=_0x5d0b20,this[_0x3d97cd(0x210)]=_0x20e0fd,this['_dataLoaderService']=_0xde6a59,_0x5479c5?_0x5479c5==null||_0x5479c5[_0x3d97cd(0x201)]()[_0x3d97cd(0x3f5)](()=>this[_0x3d97cd(0x3d3)]()):(this[_0x3d97cd(0x19d)]['debug'](_0x3d97cd(0x234),_0x3d97cd(0x191)),this[_0x3d97cd(0x3d3)]());}async[_0x4c5fe4(0x3d3)](){const _0x53537e=_0x4c5fe4,_0x59c8ec=this['_urlService'][_0x53537e(0x34f)](_0x53537e(0x2cb)),_0x161a47=this['_urlService'][_0x53537e(0x34f)](_0x53537e(0x406)),_0x2fe919=this['_urlService']['getParam'](_0x53537e(0x1f7));if(!_0x59c8ec||!_0x161a47){this[_0x53537e(0x19d)][_0x53537e(0x3db)](_0x53537e(0x234),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x487a3a=await this[_0x53537e(0x387)][_0x53537e(0x386)](_0x59c8ec,Number(_0x161a47),_0x2fe919);_0x487a3a&&_0x487a3a instanceof _0x513c5a[_0x53537e(0x3cd)]&&this[_0x53537e(0x382)](_0x487a3a);}async[_0x4c5fe4(0x382)](_0x3b6979){const _0x311b9e=_0x4c5fe4;await this[_0x311b9e(0x42d)](_0x3b6979),_0x3b6979[_0x311b9e(0x255)][_0x311b9e(0x23c)](_0x44d779['takeUntil'](this[_0x311b9e(0x256)]))[_0x311b9e(0x33d)](_0x3d9aca=>{const _0x506607=_0x311b9e;_0x3d9aca&&this[_0x506607(0x32f)](_0x3d9aca);}),this[_0x311b9e(0x3cb)]['urlChange$'][_0x311b9e(0x23c)](_0x44d779[_0x311b9e(0x22b)](this['dispose$']))[_0x311b9e(0x33d)](()=>this['_updateSubUnitFromURLParams'](_0x3b6979));}[_0x4c5fe4(0x32f)](_0x33fd05,_0xccdbcc=!0x1){const _0x1fc092=_0x4c5fe4,_0x200920=this[_0x1fc092(0x3cb)][_0x1fc092(0x34f)](_0x1fc092(0x1f7));_0x33fd05[_0x1fc092(0x3da)]()!==_0x200920&&this[_0x1fc092(0x3cb)][_0x1fc092(0x222)]('subunit',_0x33fd05['getSheetId'](),_0xccdbcc);}async[_0x4c5fe4(0x42d)](_0x154e88){const _0x49802d=_0x4c5fe4;var _0x5b2c81;const _0x430131=this['_urlService'][_0x49802d(0x34f)]('subunit');if(!_0x430131||!_0x154e88[_0x49802d(0x2f2)](_0x430131)){const _0x51b667=_0x154e88[_0x49802d(0x2b6)]()[0x0],_0x2ccb6e=_0x154e88[_0x49802d(0x2f2)](_0x51b667);if(!_0x2ccb6e)return;this[_0x49802d(0x32f)](_0x2ccb6e,!0x0),await this[_0x49802d(0x210)][_0x49802d(0x1c3)](_0x314f03[_0x49802d(0x3a0)]['id'],{'unitId':_0x154e88[_0x49802d(0x1ca)](),'subUnitId':_0x51b667});return;}((_0x5b2c81=_0x154e88['getActiveSheet']())==null?void 0x0:_0x5b2c81['getSheetId']())!==_0x430131&&await this['_commandService'][_0x49802d(0x1c3)](_0x314f03[_0x49802d(0x3a0)]['id'],{'unitId':_0x154e88[_0x49802d(0x1ca)](),'subUnitId':_0x430131});}},_0x1c2aca[_0x4c5fe4(0x408)]=_0x209a9d([_0x57a0ed(0x0,_0x24977f),_0x57a0ed(0x1,_0x513c5a[_0x4c5fe4(0x469)]),_0x57a0ed(0x2,_0x513c5a[_0x4c5fe4(0x444)]),_0x57a0ed(0x3,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x203)])),_0x57a0ed(0x4,_0x513c5a['Optional'](_0x5c0f05['IRemoteInstanceService']))],_0x1c2aca[_0x4c5fe4(0x408)]);var _0x2b8f02=Object['getOwnPropertyDescriptor'],_0x36e85=(_0x2f4f4c,_0x141d5b,_0x3550d7,_0x441369)=>{const _0x4de1e6=_0x4c5fe4;for(var _0x32f8e9=_0x441369>0x1?void 0x0:_0x441369?_0x2b8f02(_0x141d5b,_0x3550d7):_0x141d5b,_0x56784e=_0x2f4f4c[_0x4de1e6(0x27e)]-0x1,_0x34d2cc;_0x56784e>=0x0;_0x56784e--)(_0x34d2cc=_0x2f4f4c[_0x56784e])&&(_0x32f8e9=_0x34d2cc(_0x32f8e9)||_0x32f8e9);return _0x32f8e9;},_0x56a1bd=(_0x38a7d4,_0x2f7528)=>(_0x31c8b3,_0x3f07e3)=>_0x2f7528(_0x31c8b3,_0x3f07e3,_0x38a7d4);let _0x400d71=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x55931e,_0x25b7d0){const _0x5b8894=_0x4c5fe4;super(),this['_docClipboardService']=_0x55931e,this[_0x5b8894(0x26e)]=_0x25b7d0,this[_0x5b8894(0x3d3)]();}[_0x4c5fe4(0x3d3)](){const _0x1e13d3=_0x4c5fe4,_0x5687a3=this;this[_0x1e13d3(0x2c6)](this[_0x1e13d3(0x28c)][_0x1e13d3(0x28d)]({'onBeforePasteImage':async _0x470171=>{const _0x1ada6b=_0x1e13d3,_0x5bb679=await _0x5687a3[_0x1ada6b(0x26e)][_0x1ada6b(0x34c)](_0x470171);return _0x5bb679?{'source':_0x5bb679[_0x1ada6b(0x2a3)],'imageSourceType':_0x5bb679[_0x1ada6b(0x316)]}:null;}}));}};_0x400d71=_0x36e85([_0x56a1bd(0x0,_0x216a55[_0x4c5fe4(0x34d)]),_0x56a1bd(0x1,_0x3e7cd7[_0x4c5fe4(0x1d6)])],_0x400d71);const _0x579ca5=[_0x4c5fe4(0x3a8),_0x4c5fe4(0x221),'green.600',_0x4c5fe4(0x27a),_0x4c5fe4(0x3d8),_0x4c5fe4(0x1ba)];class _0x14caec extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(){const _0x57969e=_0x4c5fe4;super(...arguments),_0x49e871(this,'_assignedColors',new Map()),_0x49e871(this,_0x57969e(0x1e8),0x0);}[_0x4c5fe4(0x2bd)](_0x9affe0){const _0x39e1dd=_0x4c5fe4;if(this['_assignedColors'][_0x39e1dd(0x3c0)](_0x9affe0))return this[_0x39e1dd(0x269)][_0x39e1dd(0x1c5)](_0x9affe0);const _0x2a93e2=_0x579ca5[this[_0x39e1dd(0x1e8)]];return this[_0x39e1dd(0x1e8)]=(this[_0x39e1dd(0x1e8)]+0x1)%_0x579ca5[_0x39e1dd(0x27e)],this[_0x39e1dd(0x269)][_0x39e1dd(0x26a)](_0x9affe0,_0x2a93e2),_0x2a93e2;}}function _0x54de33(_0xbe5fa6){const _0x29dec8=_0x4c5fe4;let _0x5751e9='';for(const _0x1ecbc0 of _0xbe5fa6){const {startOffset:_0x10683e,endOffset:_0x1b56f6,isActive:_0x2731fe,rangeType:_0x23cf5f,segmentId:_0x3835fe,segmentPage:_0x43c4cf}=_0x1ecbc0;_0x5751e9[_0x29dec8(0x27e)]&&(_0x5751e9+=','),_0x5751e9+=_0x10683e+':'+_0x1b56f6+':'+(_0x2731fe?'1':'0')+':'+_0x23cf5f+':'+_0x3835fe+':'+_0x43c4cf;}return _0x5751e9;}function _0x4ba325(_0x472f40){const _0x23de67=_0x4c5fe4,_0x2dc346=_0x472f40['split'](','),_0x4c9c2d=[];for(const _0x3948e4 of _0x2dc346){const [_0xba5a10,_0x5d5e05,_0x3b30c4,_0xb1df9b,_0x29bc95,_0x2a32d8]=_0x3948e4[_0x23de67(0x426)](':');_0x4c9c2d[_0x23de67(0x1df)]({'startOffset':Number(_0xba5a10),'endOffset':Number(_0x5d5e05),'collapsed':_0xba5a10===_0x5d5e05,'isActive':_0x3b30c4==='1','rangeType':_0xb1df9b===_0x513c5a[_0x23de67(0x20c)][_0x23de67(0x1cf)]?_0x513c5a[_0x23de67(0x20c)][_0x23de67(0x1cf)]:_0x513c5a[_0x23de67(0x20c)]['RECT'],'segmentId':typeof _0x29bc95==_0x23de67(0x23e)?String(_0x29bc95):'','segmentPage':Number(_0x2a32d8!=null?_0x2a32d8:-0x1)});}return _0x4c9c2d['some'](_0x32586c=>_0x32586c[_0x23de67(0x37e)])||(_0x4c9c2d[0x0][_0x23de67(0x37e)]=!0x0),_0x4c9c2d;}class _0x2ccf5b extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(){const _0x2a7215=_0x4c5fe4;super(...arguments),_0x49e871(this,'_collabCursorState$',new _0x44d779[(_0x2a7215(0x47a))](null)),_0x49e871(this,_0x2a7215(0x226),this['_collabCursorState$'][_0x2a7215(0x312)]());}[_0x4c5fe4(0x42a)](_0x2b44ca){const _0x13b8b8=_0x4c5fe4,{unitID:_0x2dbb95,memberID:_0x137fe6,textRanges:_0x53af59}=_0x2b44ca,_0x5a7318=_0x54de33(_0x53af59);if(_0x5a7318==='')return;const _0x46168f={'unitID':_0x2dbb95,'memberID':_0x137fe6,'selection':_0x5a7318};this[_0x13b8b8(0x30a)][_0x13b8b8(0x320)](_0x46168f);}}var _0x2ae3ab=Object[_0x4c5fe4(0x43d)],_0x45f919=(_0x22cd21,_0x1478cc,_0x44a811,_0xbb6345)=>{const _0x5bfcf1=_0x4c5fe4;for(var _0x50df3f=_0xbb6345>0x1?void 0x0:_0xbb6345?_0x2ae3ab(_0x1478cc,_0x44a811):_0x1478cc,_0x160daa=_0x22cd21[_0x5bfcf1(0x27e)]-0x1,_0x2a02ab;_0x160daa>=0x0;_0x160daa--)(_0x2a02ab=_0x22cd21[_0x160daa])&&(_0x50df3f=_0x2a02ab(_0x50df3f)||_0x50df3f);return _0x50df3f;},_0x4a3fc4=(_0x373680,_0x19bf1c)=>(_0x18accd,_0x12774b)=>_0x19bf1c(_0x18accd,_0x12774b,_0x373680);const _0x66934a=0x12c,_0x11d4b8=0x64;let _0x54f104=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x571a6b,_0x220d0a,_0x5556bb,_0x517187,_0x2966f7,_0xf88c0b,_0x34ff0e,_0x1d98ac,_0x443c4c){const _0x3328f9=_0x4c5fe4;super(),_0x49e871(this,_0x3328f9(0x3f1),!0x1),_0x49e871(this,_0x3328f9(0x3d3),!0x1),_0x49e871(this,_0x3328f9(0x289),new _0x44d779[(_0x3328f9(0x47a))](new Map())),_0x49e871(this,_0x3328f9(0x197),this[_0x3328f9(0x289)][_0x3328f9(0x312)]()),_0x49e871(this,_0x3328f9(0x327),new _0x44d779[(_0x3328f9(0x47a))]([])),_0x49e871(this,_0x3328f9(0x303),this[_0x3328f9(0x327)][_0x3328f9(0x23c)](_0x44d779[_0x3328f9(0x457)](_0x66934a))),_0x49e871(this,_0x3328f9(0x3a1),_0x513c5a['debounce'](_0xbe5f91=>{const _0x4ef0ef=_0x3328f9,_0x35a14c={'eventID':_0x191313[_0x4ef0ef(0x187)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4ef0ef(0x3a2)][_0x4ef0ef(0x23b)](),'selection':_0x54de33(_0xbe5f91)}};this[_0x4ef0ef(0x3a2)]['send'](_0x35a14c,this[_0x4ef0ef(0x18a)]);},_0x11d4b8)),(this['unitID']=_0x571a6b,this[_0x3328f9(0x3a2)]=_0x220d0a,this['_injector']=_0x5556bb,this[_0x3328f9(0x37a)]=_0x517187,this[_0x3328f9(0x30d)]=_0x2966f7,this['_syncEditingCollabCursorService']=_0xf88c0b,this[_0x3328f9(0x2d0)]=_0x34ff0e,this[_0x3328f9(0x3a4)]=_0x1d98ac,this[_0x3328f9(0x210)]=_0x443c4c);}get[_0x4c5fe4(0x477)](){const _0x18c5c5=_0x4c5fe4;return this[_0x18c5c5(0x289)]['getValue']();}get[_0x4c5fe4(0x37d)](){const _0x276c31=_0x4c5fe4;return this['_roomMembers$'][_0x276c31(0x40a)]();}['dispose'](){const _0x5163c4=_0x4c5fe4;super[_0x5163c4(0x2b1)](),this[_0x5163c4(0x289)]['next'](new Map()),this[_0x5163c4(0x289)]['complete'](),this[_0x5163c4(0x327)][_0x5163c4(0x320)]([]),this[_0x5163c4(0x327)]['complete']();}['init'](){const _0x4116ca=_0x4c5fe4;this[_0x4116ca(0x3d3)]||(this[_0x4116ca(0x3d3)]=!0x0,this[_0x4116ca(0x3a2)]['sessionStatus$'][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))['subscribe'](_0x342380=>{const _0x2570cb=_0x4116ca;_0x342380===_0x1b7c3e[_0x2570cb(0x259)][_0x2570cb(0x411)]?this[_0x2570cb(0x238)]():this[_0x2570cb(0x215)]();}),this[_0x4116ca(0x3a2)][_0x4116ca(0x208)][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))[_0x4116ca(0x33d)](_0x3c441c=>{const _0x3410c2=_0x4116ca,_0x186d6a=_0x3c441c[_0x3410c2(0x195)];_0x186d6a===_0x191313[_0x3410c2(0x187)][_0x3410c2(0x479)]&&this[_0x3410c2(0x1dd)](_0x3c441c),_0x186d6a===_0x191313['CollaborationEvent'][_0x3410c2(0x254)]&&this['_onCursorDelete'](_0x3c441c);}),this[_0x4116ca(0x2c6)](this[_0x4116ca(0x210)][_0x4116ca(0x1c8)](_0x202a07=>{const _0x3ef1d6=_0x4116ca,_0x3cbbac=_0x202a07[_0x3ef1d6(0x32c)];_0x3cbbac!=null&&this[_0x3ef1d6(0x3f1)]&&_0x202a07['id']===_0x702727[_0x3ef1d6(0x1fd)]['id']&&_0x3cbbac[_0x3ef1d6(0x3ed)]===this[_0x3ef1d6(0x18a)]&&_0x3cbbac[_0x3ef1d6(0x3b3)]===!0x1&&_0x3cbbac[_0x3ef1d6(0x31a)][_0x3ef1d6(0x27e)]>0x0&&this['_updateLocalCursor'](_0x3cbbac[_0x3ef1d6(0x31a)]);})),this[_0x4116ca(0x25b)][_0x4116ca(0x226)][_0x4116ca(0x23c)](_0x44d779[_0x4116ca(0x22b)](this[_0x4116ca(0x256)]))[_0x4116ca(0x33d)](_0x5dcd16=>{const _0xf4c789=_0x4116ca;if((_0x5dcd16==null?void 0x0:_0x5dcd16['unitID'])!==this[_0xf4c789(0x18a)])return;const _0x427ad7={'eventID':_0x191313[_0xf4c789(0x187)][_0xf4c789(0x479)],'data':_0x5dcd16};this['_onCursorUpdate'](_0x427ad7);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x49d3d4=>{const _0x208b56=_0x4116ca;if(_0x49d3d4[_0x208b56(0x32c)]==null)return;const _0x6d62f8=_0x49d3d4[_0x208b56(0x32c)];if(_0x49d3d4['id']!==_0x702727[_0x208b56(0x3c5)]['id']||_0x6d62f8[_0x208b56(0x3ed)]!==this['unitID'])return;const _0x38a442={'id':_0x208b56(0x319),'params':_0x6d62f8},_0x152b48=this['cursorInfo'];for(const [_0x45e4f2,_0x270c1c]of _0x152b48){const _0x20ff1e={'id':_0x208b56(0x319),'params':{'unitId':this[_0x208b56(0x18a)],'actions':null,'textRanges':_0x270c1c[_0x208b56(0x31a)]}},_0xafdbf8=this[_0x208b56(0x2d0)][_0x208b56(0x1f2)](_0x38a442,_0x20ff1e,!0x1);if(_0x191313[_0x208b56(0x3d1)](_0xafdbf8))throw _0xafdbf8['error'];_0x152b48['set'](_0x45e4f2,{..._0x270c1c,'ranges':_0xafdbf8[_0x208b56(0x2d8)][_0x208b56(0x32c)]['textRanges']});}queueMicrotask(()=>{const _0x4f6094=_0x208b56;this[_0x4f6094(0x289)][_0x4f6094(0x320)](_0x152b48);});})));}[_0x4c5fe4(0x1dd)](_0x960c3a){const _0x609170=_0x4c5fe4;var _0x1d51b7,_0x1be7d0;const {memberID:_0x27a723,selection:_0x436033}=_0x960c3a[_0x609170(0x393)],_0x2b9753=_0x4ba325(_0x436033),_0x20a07a=(_0x1be7d0=(_0x1d51b7=this[_0x609170(0x30d)]['getMember'](this[_0x609170(0x18a)],_0x27a723))==null?void 0x0:_0x1d51b7[_0x609170(0x1a6)])!=null?_0x1be7d0:_0x609170(0x2af),_0x4586f5={'color':this[_0x609170(0x37a)]['assignAColorForMemberID'](_0x27a723),'name':_0x20a07a,'ranges':_0x2b9753},_0x210e6e=this[_0x609170(0x477)];_0x210e6e[_0x609170(0x26a)](_0x27a723,_0x4586f5),this[_0x609170(0x289)][_0x609170(0x320)](_0x210e6e);}[_0x4c5fe4(0x3b4)](_0x2dcbab){const _0x25a7ce=_0x4c5fe4,{memberID:_0xba65f3}=_0x2dcbab[_0x25a7ce(0x393)],_0x2dc61f=this[_0x25a7ce(0x477)];_0x2dc61f[_0x25a7ce(0x250)](_0xba65f3),this[_0x25a7ce(0x289)][_0x25a7ce(0x320)](_0x2dc61f);}[_0x4c5fe4(0x238)](){const _0x58835a=_0x4c5fe4;var _0x20c430;if(this[_0x58835a(0x3f1)]=!0x0,((_0x20c430=this[_0x58835a(0x3a4)][_0x58835a(0x475)]())==null?void 0x0:_0x20c430[_0x58835a(0x1ca)]())!==this[_0x58835a(0x18a)])return;const _0x198b43=this[_0x58835a(0x231)][_0x58835a(0x1c5)](_0x702727[_0x58835a(0x29f)])[_0x58835a(0x317)]();Array[_0x58835a(0x38f)](_0x198b43)&&_0x198b43[_0x58835a(0x27e)]>0x0&&this[_0x58835a(0x3a1)](_0x198b43);}[_0x4c5fe4(0x215)](){const _0x2a4947=_0x4c5fe4;this[_0x2a4947(0x3f1)]=!0x1;}};_0x54f104=_0x45f919([_0x4a3fc4(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x4a3fc4(0x3,_0x513c5a['Inject'](_0x14caec)),_0x4a3fc4(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x42c)])),_0x4a3fc4(0x5,_0x513c5a[_0x4c5fe4(0x28e)](_0x2ccf5b)),_0x4a3fc4(0x6,_0x191313[_0x4c5fe4(0x281)]),_0x4a3fc4(0x7,_0x513c5a['IUniverInstanceService']),_0x4a3fc4(0x8,_0x513c5a[_0x4c5fe4(0x444)])],_0x54f104);var _0x522130=Object[_0x4c5fe4(0x43d)],_0x381d16=(_0x1992c1,_0xfdcd7f,_0x46d16f,_0x3034f3)=>{const _0x6874a9=_0x4c5fe4;for(var _0xdd22dd=_0x3034f3>0x1?void 0x0:_0x3034f3?_0x522130(_0xfdcd7f,_0x46d16f):_0xfdcd7f,_0x2985d2=_0x1992c1[_0x6874a9(0x27e)]-0x1,_0x244a4c;_0x2985d2>=0x0;_0x2985d2--)(_0x244a4c=_0x1992c1[_0x2985d2])&&(_0xdd22dd=_0x244a4c(_0xdd22dd)||_0xdd22dd);return _0xdd22dd;},_0x5ab50c=(_0x5c5369,_0x44b8b0)=>(_0x26f337,_0x50a8d5)=>_0x44b8b0(_0x26f337,_0x50a8d5,_0x5c5369);const _0x405a88=0x12c,_0x5a4257=0x64,_0x20577e=()=>{let _0x458e43=[],_0x27d7b2=!0x1;return _0x36961f=>{const _0x4f0d27=_0x1a49;_0x458e43[_0x4f0d27(0x1df)](_0x36961f),_0x27d7b2||(_0x27d7b2=!0x0,setTimeout(()=>{const _0x23d1dd=_0x4f0d27;_0x458e43[_0x23d1dd(0x292)](_0x2f86b5=>_0x2f86b5()),_0x458e43=[],_0x27d7b2=!0x1;}));};};let _0x41ce11=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x53a2a6,_0x11354c,_0x41033e,_0xf0476,_0x1be6c7,_0x4fd88d,_0x24c97e,_0x4fc0d2){const _0x5972d9=_0x4c5fe4;super(),_0x49e871(this,_0x5972d9(0x3f1),!0x1),_0x49e871(this,_0x5972d9(0x3d3),!0x1),_0x49e871(this,_0x5972d9(0x289),new _0x44d779[(_0x5972d9(0x47a))](new Map())),_0x49e871(this,_0x5972d9(0x197),this['_cursorInfo$'][_0x5972d9(0x312)]()),_0x49e871(this,_0x5972d9(0x327),new _0x44d779[(_0x5972d9(0x47a))]([])),_0x49e871(this,_0x5972d9(0x303),this[_0x5972d9(0x327)]['pipe'](_0x44d779[_0x5972d9(0x457)](_0x405a88))),_0x49e871(this,_0x5972d9(0x3a1),_0x513c5a[_0x5972d9(0x1b6)]((_0x564f76,_0x2ed13b)=>{const _0xb098bf=_0x5972d9,_0x555978={'eventID':_0x191313[_0xb098bf(0x187)][_0xb098bf(0x479)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0xb098bf(0x23b)](),'selection':_0x5f233a[_0xb098bf(0x40f)](_0x564f76,_0x2ed13b[_0xb098bf(0x2de)])}};this[_0xb098bf(0x3a2)]['send'](_0x555978,this[_0xb098bf(0x18a)]);},_0x5a4257)),(this['unitID']=_0x53a2a6,this[_0x5972d9(0x3a2)]=_0x11354c,this[_0x5972d9(0x231)]=_0x41033e,this[_0x5972d9(0x37a)]=_0xf0476,this[_0x5972d9(0x30d)]=_0x1be6c7,this[_0x5972d9(0x3a4)]=_0x4fd88d,this[_0x5972d9(0x210)]=_0x24c97e,this['_refRangeService']=_0x4fc0d2);}get[_0x4c5fe4(0x477)](){const _0xaf7520=_0x4c5fe4;return this[_0xaf7520(0x289)][_0xaf7520(0x40a)]();}get['roomMembers'](){const _0x32a5de=_0x4c5fe4;return this['_roomMembers$'][_0x32a5de(0x40a)]();}[_0x4c5fe4(0x2b1)](){const _0x53c1a6=_0x4c5fe4;super[_0x53c1a6(0x2b1)](),this[_0x53c1a6(0x289)][_0x53c1a6(0x320)](new Map()),this[_0x53c1a6(0x289)][_0x53c1a6(0x30f)](),this['_roomMembers$'][_0x53c1a6(0x320)]([]),this[_0x53c1a6(0x327)][_0x53c1a6(0x30f)]();}[_0x4c5fe4(0x1b2)](){const _0x538052=_0x4c5fe4;this[_0x538052(0x3d3)]||(this['_init']=!0x0,this[_0x538052(0x3a2)][_0x538052(0x46e)][_0x538052(0x23c)](_0x44d779['takeUntil'](this[_0x538052(0x256)]))[_0x538052(0x33d)](_0x5eec8d=>{const _0x3b944b=_0x538052;_0x5eec8d===_0x1b7c3e[_0x3b944b(0x259)][_0x3b944b(0x411)]?this[_0x3b944b(0x238)]():this['_toggleOffline']();}),this[_0x538052(0x3a2)][_0x538052(0x208)][_0x538052(0x23c)](_0x44d779['takeUntil'](this[_0x538052(0x256)]))['subscribe'](_0x4915c9=>{const _0x282fa0=_0x538052,_0x1f7e90=_0x4915c9[_0x282fa0(0x195)];_0x1f7e90===_0x191313[_0x282fa0(0x187)][_0x282fa0(0x479)]&&this[_0x282fa0(0x1dd)](_0x4915c9),_0x1f7e90===_0x191313[_0x282fa0(0x187)][_0x282fa0(0x254)]&&this['_onCursorDelete'](_0x4915c9);}),this[_0x538052(0x1dc)](),this[_0x538052(0x2c6)](this[_0x538052(0x210)][_0x538052(0x1c8)](_0x5c6aa1=>{const _0x853c44=_0x538052;if(this[_0x853c44(0x3f1)]&&_0x5c6aa1['id']===_0x314f03[_0x853c44(0x1b3)]['id']&&_0x5c6aa1[_0x853c44(0x32c)][_0x853c44(0x3ed)]===this['unitID']){const _0x3f45f3=_0x5c6aa1['params'];this['_updateLocalCursor'](_0x3f45f3[_0x853c44(0x207)],_0x3f45f3['selections'][0x0]);}})));}['_onCursorUpdate'](_0x4fbaf2){const _0x2d1494=_0x4c5fe4;var _0x3c7521,_0x168a2b;const {memberID:_0xbd4a4,selection:_0x5172f9}=_0x4fbaf2[_0x2d1494(0x393)],{sheetName:_0x18889f,range:_0x5688bd}=_0x5f233a[_0x2d1494(0x363)](_0x5172f9),_0x4bc65c={'name':(_0x168a2b=(_0x3c7521=this['_memberService'][_0x2d1494(0x350)](this[_0x2d1494(0x18a)],_0xbd4a4))==null?void 0x0:_0x3c7521[_0x2d1494(0x1a6)])!=null?_0x168a2b:_0x2d1494(0x2af),'range':this[_0x2d1494(0x1e3)](_0x18889f,_0x5688bd),'sheetID':_0x18889f,'color':this[_0x2d1494(0x37a)][_0x2d1494(0x2bd)](_0xbd4a4),'selection':_0x5172f9},_0xd29ad6=this['cursorInfo'];_0xd29ad6[_0x2d1494(0x26a)](_0xbd4a4,_0x4bc65c),this['_cursorInfo$']['next'](_0xd29ad6);}[_0x4c5fe4(0x3b4)](_0x53ec1a){const _0x42c168=_0x4c5fe4,{memberID:_0x1a518e}=_0x53ec1a[_0x42c168(0x393)],_0x1b9b3a=this[_0x42c168(0x477)];_0x1b9b3a[_0x42c168(0x250)](_0x1a518e),this[_0x42c168(0x289)][_0x42c168(0x320)](_0x1b9b3a);}['_getMergeRange'](_0x5ec400,_0x1bfb5a){const _0x15f5c0=_0x4c5fe4;var _0x475604,_0x2e9c58;const _0x319138=(_0x2e9c58=(_0x475604=this[_0x15f5c0(0x3a4)][_0x15f5c0(0x1ad)](this['unitID']))==null?void 0x0:_0x475604['getSheetBySheetId'](_0x5ec400))==null?void 0x0:_0x2e9c58[_0x15f5c0(0x1ee)]();return(_0x319138==null?void 0x0:_0x319138[_0x15f5c0(0x25d)](_0x34aa6d=>_0x513c5a[_0x15f5c0(0x3b2)][_0x15f5c0(0x22a)](_0x34aa6d,_0x1bfb5a)))||_0x1bfb5a;}['_onRefRangeChange'](){const _0x1eae04=_0x4c5fe4,_0x55b379=new _0x513c5a['DisposableCollection'](),_0x2d75f3=_0x20577e(),_0x5e9b37=()=>{const _0xfd2ec0=_0x1a49;_0x55b379['dispose']();const _0x52ba0c=(_0x2d1c68,_0x231a52,_0x44cb5b,_0x1f3a49)=>{const _0x2d2de7=_0x1a49;let _0x3ea229=[];switch(_0x2d1c68['id']){case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x425)]:{_0x3ea229=_0x314f03['handleDeleteRangeMoveLeft'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03['EffectRefRangId'][_0x2d2de7(0x3ac)]:{_0x3ea229=_0x314f03['handleDeleteRangeMoveUp'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x2da)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x34b)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x2dc)]:{_0x3ea229=_0x314f03['handleInsertRangeMoveDown'](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x1ed)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x31d)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x37f)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x3b1)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)]['MoveRangeCommandId']:{_0x3ea229=_0x314f03[_0x2d2de7(0x205)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)][_0x2d2de7(0x38d)]:{_0x3ea229=_0x314f03[_0x2d2de7(0x332)](_0x2d1c68,_0x1f3a49);break;}case _0x314f03[_0x2d2de7(0x2fa)]['RemoveRowCommandId']:{_0x3ea229=_0x314f03[_0x2d2de7(0x41d)](_0x2d1c68,_0x1f3a49);break;}}const _0x393c56=_0x314f03['runRefRangeMutations'](_0x3ea229,_0x1f3a49),_0x2e7d5f=this['cursorInfo'][_0x2d2de7(0x1c5)](_0x231a52);if(_0x2e7d5f&&_0x393c56){const _0x2a4fd6={..._0x2e7d5f,'range':_0x393c56};this['cursorInfo']['set'](_0x231a52,_0x2a4fd6),_0x2d75f3(()=>{const _0x4d2d94=_0x2d2de7,_0xcefe4a=this[_0x4d2d94(0x471)][_0x4d2d94(0x180)](_0x393c56,_0x5f164c=>(_0xcefe4a['dispose'](),_0x52ba0c(_0x5f164c,_0x231a52,_0x44cb5b,_0x393c56)));_0x55b379['add'](_0xcefe4a);});}return{'redos':[],'undos':[]};};this[_0xfd2ec0(0x477)]['forEach']((_0x5d85bf,_0x1a476d)=>{const _0x221fcd=_0xfd2ec0,{range:_0x3ffae6,sheetID:_0x5f3288}=_0x5d85bf,_0x263f9f=this[_0x221fcd(0x471)][_0x221fcd(0x180)](_0x3ffae6,_0x1d07d7=>(_0x263f9f[_0x221fcd(0x2b1)](),_0x52ba0c(_0x1d07d7,_0x1a476d,_0x5f3288,_0x3ffae6)));_0x55b379[_0x221fcd(0x40c)](_0x263f9f);});};this['disposeWithMe'](_0x513c5a[_0x1eae04(0x241)](this[_0x1eae04(0x289)]['subscribe'](()=>{_0x5e9b37();})));}[_0x4c5fe4(0x238)](){const _0x2c591e=_0x4c5fe4;var _0xdd2f42,_0x5248cd;if(this[_0x2c591e(0x3f1)]=!0x0,((_0xdd2f42=this[_0x2c591e(0x3a4)][_0x2c591e(0x475)]())==null?void 0x0:_0xdd2f42[_0x2c591e(0x1ca)]())!==this[_0x2c591e(0x18a)])return;const _0x2d17aa=(_0x5248cd=this[_0x2c591e(0x231)][_0x2c591e(0x1c5)](_0x314f03[_0x2c591e(0x1e2)])[_0x2c591e(0x267)]())==null?void 0x0:_0x5248cd[0x0],_0x4eae35=this['_univerInstanceService'][_0x2c591e(0x45b)](_0x513c5a[_0x2c591e(0x461)][_0x2c591e(0x1cb)])['getActiveSheet']();_0x2d17aa&&_0x4eae35&&this[_0x2c591e(0x3a1)](_0x4eae35[_0x2c591e(0x3da)](),_0x2d17aa);}[_0x4c5fe4(0x215)](){const _0x2d1d59=_0x4c5fe4;this[_0x2d1d59(0x3f1)]=!0x1;}};_0x41ce11=_0x381d16([_0x5ab50c(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['Injector'])),_0x5ab50c(0x3,_0x513c5a[_0x4c5fe4(0x28e)](_0x14caec)),_0x5ab50c(0x4,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x42c)])),_0x5ab50c(0x5,_0x513c5a['IUniverInstanceService']),_0x5ab50c(0x6,_0x513c5a[_0x4c5fe4(0x444)]),_0x5ab50c(0x7,_0x513c5a[_0x4c5fe4(0x28e)](_0x314f03[_0x4c5fe4(0x24f)]))],_0x41ce11);var _0x6a08ce=Object['getOwnPropertyDescriptor'],_0x44916c=(_0x3534d7,_0x8c4b60,_0x20d63b,_0x55621f)=>{const _0xf86db7=_0x4c5fe4;for(var _0x368b73=_0x55621f>0x1?void 0x0:_0x55621f?_0x6a08ce(_0x8c4b60,_0x20d63b):_0x8c4b60,_0x5e9692=_0x3534d7[_0xf86db7(0x27e)]-0x1,_0x2be432;_0x5e9692>=0x0;_0x5e9692--)(_0x2be432=_0x3534d7[_0x5e9692])&&(_0x368b73=_0x2be432(_0x368b73)||_0x368b73);return _0x368b73;},_0x18f688=(_0x1cd96c,_0x5104c7)=>(_0x5b703e,_0x55a65e)=>_0x5104c7(_0x5b703e,_0x55a65e,_0x1cd96c);let _0xdc7b15=class extends _0x513c5a['RxDisposable']{constructor(_0x2a46d0,_0x38ee7b,_0x251c03){const _0x5a4f5a=_0x4c5fe4;super(),_0x49e871(this,_0x5a4f5a(0x39c),new Map()),_0x49e871(this,_0x5a4f5a(0x3ab),new _0x44d779[(_0x5a4f5a(0x304))]()),(this[_0x5a4f5a(0x3a4)]=_0x2a46d0,this[_0x5a4f5a(0x231)]=_0x38ee7b,this[_0x5a4f5a(0x1da)]=_0x251c03,this[_0x5a4f5a(0x3d3)]());}['dispose'](){const _0x570296=_0x4c5fe4;super[_0x570296(0x2b1)](),this[_0x570296(0x3ab)]['complete'](),this[_0x570296(0x39c)]['forEach'](_0x5bdcb0=>_0x5bdcb0[_0x570296(0x2b1)]());}[_0x4c5fe4(0x467)](_0x4ab56a){const _0x47afeb=_0x4c5fe4;return this['_entities'][_0x47afeb(0x3c0)](_0x4ab56a)?this[_0x47afeb(0x39c)][_0x47afeb(0x1c5)](_0x4ab56a)[_0x47afeb(0x197)]:this['_entityInit$'][_0x47afeb(0x23c)](_0x44d779[_0x47afeb(0x335)](_0x53c369=>_0x53c369['unitID']===_0x4ab56a),_0x44d779[_0x47afeb(0x452)](_0x538afc=>_0x538afc[_0x47afeb(0x197)]));}[_0x4c5fe4(0x3d3)](){const _0x1bd501=_0x4c5fe4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x513c5a[_0x1bd501(0x461)]['UNIVER_SHEET'])['pipe'](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))['subscribe'](async _0x5895d2=>{const _0x447e49=_0x1bd501,_0x186af2=_0x5895d2[_0x447e49(0x1ca)](),_0x2dd57d=await this[_0x447e49(0x237)](_0x186af2);this[_0x447e49(0x3ab)][_0x447e49(0x320)](_0x2dd57d),this[_0x447e49(0x39c)][_0x447e49(0x26a)](_0x186af2,_0x2dd57d);}),this[_0x1bd501(0x3a4)]['getTypeOfUnitAdded$'](_0x513c5a[_0x1bd501(0x461)][_0x1bd501(0x464)])[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x335)](_0x4e138f=>!_0x4e138f[_0x1bd501(0x1ca)]()[_0x1bd501(0x2ba)]('__')))[_0x1bd501(0x33d)](async _0x1f599b=>{const _0x27f6aa=_0x1bd501,_0x1cb26e=_0x1f599b[_0x27f6aa(0x1ca)](),_0x34c0b5=await this[_0x27f6aa(0x1c1)](_0x1cb26e);this['_entityInit$'][_0x27f6aa(0x320)](_0x34c0b5),this['_entities'][_0x27f6aa(0x26a)](_0x1cb26e,_0x34c0b5);}),_0x44d779[_0x1bd501(0x225)](this[_0x1bd501(0x3a4)]['getTypeOfUnitDisposed$'](_0x513c5a[_0x1bd501(0x461)][_0x1bd501(0x464)]),this[_0x1bd501(0x3a4)]['getTypeOfUnitDisposed$'](_0x513c5a[_0x1bd501(0x461)]['UNIVER_SHEET']))[_0x1bd501(0x23c)](_0x44d779[_0x1bd501(0x22b)](this[_0x1bd501(0x256)]))[_0x1bd501(0x33d)](_0xf47bbe=>{const _0x4fbfde=_0x1bd501,_0x1c5caf=_0xf47bbe['getUnitId'](),_0xf7c75a=this['_entities'][_0x4fbfde(0x1c5)](_0x1c5caf);_0xf7c75a&&(_0xf7c75a[_0x4fbfde(0x2b1)](),this[_0x4fbfde(0x39c)][_0x4fbfde(0x250)](_0x1c5caf));});}async[_0x4c5fe4(0x237)](_0x542739){const _0x3fc6a3=_0x4c5fe4,_0x2ec247=await this[_0x3fc6a3(0x1da)]['requireSession'](_0x542739),_0x35c430=this['_injector'][_0x3fc6a3(0x1cd)](_0x41ce11,_0x542739,_0x2ec247);return _0x35c430[_0x3fc6a3(0x1b2)](),_0x35c430;}async[_0x4c5fe4(0x1c1)](_0x4088cd){const _0x126d98=_0x4c5fe4,_0x57cfda=await this[_0x126d98(0x1da)][_0x126d98(0x185)](_0x4088cd),_0xfba633=this[_0x126d98(0x231)][_0x126d98(0x1cd)](_0x54f104,_0x4088cd,_0x57cfda);return _0xfba633[_0x126d98(0x1b2)](),_0xfba633;}};_0xdc7b15=_0x44916c([_0x18f688(0x0,_0x513c5a['IUniverInstanceService']),_0x18f688(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x18f688(0x2,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x370)]))],_0xdc7b15);const _0x41d721=0x14,_0x4ab5bf=0xc8,_0x38b806=0x4,_0x3cccb2=0x5;function _0xf5be64(_0x5087bb,_0x552c7a){const _0x246c8f=_0x4c5fe4;let {radius:_0x25055a,width:_0x2e36c9,height:_0x3f691b}=_0x552c7a;_0x25055a=_0x25055a!=null?_0x25055a:0x0,_0x2e36c9=_0x2e36c9!=null?_0x2e36c9:0x1e,_0x3f691b=_0x3f691b!=null?_0x3f691b:0x1e;let _0x301f45=0x0,_0x1587d2=0x0,_0x41eeb8=0x0;_0x301f45=_0x1587d2=_0x41eeb8=Math[_0x246c8f(0x284)](_0x25055a,_0x2e36c9/0x2,_0x3f691b/0x2),_0x5087bb[_0x246c8f(0x1d1)](),_0x5087bb[_0x246c8f(0x462)](_0x301f45,0x0),_0x5087bb['lineTo'](_0x2e36c9-_0x1587d2,0x0),_0x5087bb['arc'](_0x2e36c9-_0x1587d2,_0x1587d2,_0x1587d2,Math['PI']*0x3/0x2,0x0,!0x1),_0x5087bb[_0x246c8f(0x333)](_0x2e36c9,_0x3f691b-_0x41eeb8),_0x5087bb[_0x246c8f(0x3ec)](_0x2e36c9-_0x41eeb8,_0x3f691b-_0x41eeb8,_0x41eeb8,0x0,Math['PI']/0x2,!0x1),_0x5087bb[_0x246c8f(0x333)](0x0,_0x3f691b),_0x5087bb['lineTo'](0x0,_0x301f45),_0x5087bb[_0x246c8f(0x3ec)](_0x301f45,_0x301f45,_0x301f45,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5087bb[_0x246c8f(0x3e5)](),_0x552c7a[_0x246c8f(0x1ab)]&&(_0x5087bb[_0x246c8f(0x2d7)](),_0x5087bb[_0x246c8f(0x342)]=_0x552c7a[_0x246c8f(0x1ab)],_0x552c7a[_0x246c8f(0x230)]==='evenodd'?_0x5087bb[_0x246c8f(0x1ab)](_0x246c8f(0x2f0)):_0x5087bb[_0x246c8f(0x1ab)](),_0x5087bb[_0x246c8f(0x283)]());}class _0x237d4b extends _0x4672ea[_0x4c5fe4(0x1b7)]{constructor(_0x560293,_0x297f08){const _0x121e0e=_0x4c5fe4;super(_0x560293,_0x297f08),_0x49e871(this,'color'),_0x49e871(this,'text'),(this[_0x121e0e(0x2c7)]=_0x297f08==null?void 0x0:_0x297f08[_0x121e0e(0x2c7)],this[_0x121e0e(0x2d6)]=_0x297f08==null?void 0x0:_0x297f08[_0x121e0e(0x2d6)]);}static['drawWith'](_0x3e72ff,_0x5aefdb){const _0xfaf664=_0x4c5fe4,{text:_0x4a8d42,color:_0x330477}=_0x5aefdb;_0x3e72ff[_0xfaf664(0x2d7)](),_0x3e72ff[_0xfaf664(0x448)]=_0xfaf664(0x424);const _0x389b14=_0x3e72ff[_0xfaf664(0x40b)](_0x4a8d42)[_0xfaf664(0x36b)],_0x4c21a7=Math[_0xfaf664(0x284)](_0x389b14+0x2*_0x38b806,_0x4ab5bf);_0xf5be64(_0x3e72ff,{'height':_0x41d721,'radius':0x4,'width':_0x4c21a7,'fill':_0x330477}),_0x3e72ff[_0xfaf664(0x342)]=_0xfaf664(0x389);const _0xf61b0f=_0x38b806,_0xfd4dd3=_0x41d721-_0x3cccb2,_0x378845=_0x4ab5bf-0x2*_0x38b806;if(_0x389b14>_0x378845){let _0x422539='',_0x4577d9=0x0;for(const _0x3abd8e of _0x4a8d42){const _0x4c63a3=_0x3e72ff[_0xfaf664(0x40b)](_0x3abd8e)[_0xfaf664(0x36b)];if(_0x4577d9+_0x4c63a3<=_0x378845-_0x3e72ff['measureText'](_0xfaf664(0x472))[_0xfaf664(0x36b)])_0x422539+=_0x3abd8e,_0x4577d9+=_0x4c63a3;else{_0x422539+='...';break;}}_0x3e72ff[_0xfaf664(0x3e9)](_0x422539,_0xf61b0f,_0xfd4dd3);}else _0x3e72ff[_0xfaf664(0x3e9)](_0x4a8d42,_0xf61b0f,_0xfd4dd3);_0x3e72ff[_0xfaf664(0x283)]();}[_0x4c5fe4(0x390)](_0x4c5ec6){_0x237d4b['drawWith'](_0x4c5ec6,this);}}const _0x50f0a4=_0x4c5fe4(0x2c8),_0x26ed96=_0x4c5fe4(0x240),_0x3f7907=_0x4c5fe4(0x385),_0x1a60dc=0x6,_0x5c8d0f=1.5,_0x1fda6e=0x4,_0x4b4725=1.5,_0x4a7cdc=_0x4c5fe4(0x1a2);class _0x1fcc5b{constructor(_0x262c81,_0x599fc5,_0xfa260b,_0x4b7e76){const _0x5833b7=_0x4c5fe4;_0x49e871(this,_0x5833b7(0x188),[]),_0x49e871(this,_0x5833b7(0x321),null),_0x49e871(this,'_textBubble',null),_0x49e871(this,_0x5833b7(0x3ce),null),_0x49e871(this,_0x5833b7(0x2f4),null),_0x49e871(this,_0x5833b7(0x309),null),(this['_cursor']=_0x262c81,this[_0x5833b7(0x3ae)]=_0x599fc5,this[_0x5833b7(0x26d)]=_0xfa260b,this[_0x5833b7(0x456)]=_0x4b7e76,this[_0x5833b7(0x196)]());}set[_0x4c5fe4(0x243)](_0x48280e){const _0x1d17b1=_0x4c5fe4;_0x48280e?(this[_0x1d17b1(0x3ce)]&&this[_0x1d17b1(0x3ce)]['hide'](),this[_0x1d17b1(0x200)]&&this['_textBubble'][_0x1d17b1(0x218)]()):(this[_0x1d17b1(0x3ce)]&&this[_0x1d17b1(0x3ce)]['show'](),this[_0x1d17b1(0x200)]&&this[_0x1d17b1(0x200)][_0x1d17b1(0x355)]());}['dispose'](){const _0x549051=_0x4c5fe4;for(const _0x42c5af of this[_0x549051(0x188)])_0x42c5af['dispose']();this[_0x549051(0x200)]&&this[_0x549051(0x200)][_0x549051(0x2b1)](),this[_0x549051(0x3ce)]&&this[_0x549051(0x3ce)][_0x549051(0x2b1)](),this[_0x549051(0x321)]&&this[_0x549051(0x321)][_0x549051(0x2b1)](),this[_0x549051(0x309)]&&this[_0x549051(0x309)]();}[_0x4c5fe4(0x196)](){const _0x2c4d09=_0x4c5fe4;var _0x2377e3;const {_docSkeleton:_0x314ea2,_document:_0x59cbfb}=this,{color:_0x37920d,name:_0x3e519b,ranges:_0x4add65}=this['_cursor'],_0x48e94e=_0x59cbfb[_0x2c4d09(0x1c4)](),{docsLeft:_0x2c58a3,docsTop:_0x232dd1}=_0x48e94e,_0x300b68=new _0x216a55[(_0x2c4d09(0x3f8))](_0x48e94e,_0x314ea2);for(const {startOffset:_0x21ebf2,endOffset:_0x569c7e,rangeType:_0x46f490,segmentId:_0x314465,segmentPage:_0x1f84b7,collapsed:_0x14c1c0,isActive:_0x589f2c}of _0x4add65){const _0x4ed591=_0x314ea2[_0x2c4d09(0x395)](_0x21ebf2,!0x0,_0x314465,_0x1f84b7);let _0x40c21f=_0x314ea2[_0x2c4d09(0x395)](_0x569c7e,!0x0,_0x314465,_0x1f84b7);if(_0x40c21f==null&&(_0x40c21f=_0x314ea2[_0x2c4d09(0x395)](_0x569c7e-0x1,!0x1,_0x314465,_0x1f84b7)),_0x589f2c){const {contentBoxPointGroup:_0x36ce1c}=_0x300b68[_0x2c4d09(0x1eb)](_0x40c21f,_0x40c21f);if(_0x36ce1c[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x3e6)](_0x37920d,_0x36ce1c,_0x2c58a3,_0x232dd1,_0x3e519b),this[_0x2c4d09(0x309)]=this[_0x2c4d09(0x279)]();}if(_0x4ed591&&_0x40c21f){if(_0x46f490===_0x513c5a['DOC_RANGE_TYPE'][_0x2c4d09(0x474)]){const _0xc10caa=new _0x216a55['NodePositionConvertToRectRange'](_0x48e94e,_0x314ea2),{pointGroup:_0x5ca560}=(_0x2377e3=_0xc10caa['getRangePointData'](_0x4ed591,_0x40c21f))!=null?_0x2377e3:{};if(_0x5ca560==null||_0x5ca560[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x29b)](_0x37920d,_0x5ca560,_0x2c58a3,_0x232dd1);}else{if(!_0x14c1c0){const {borderBoxPointGroup:_0x52f20d}=_0x300b68[_0x2c4d09(0x1eb)](_0x4ed591,_0x40c21f);if(_0x52f20d[_0x2c4d09(0x27e)]===0x0)continue;this[_0x2c4d09(0x1d4)](_0x37920d,_0x52f20d,_0x2c58a3,_0x232dd1);}}}}}[_0x4c5fe4(0x3e6)](_0x3d3ec1,_0x40f04b,_0x3352a1,_0x3a9266,_0x60e5a8){const _0x2b4cb2=_0x4c5fe4,_0x1ee645=this[_0x2b4cb2(0x18b)](_0x40f04b),{left:_0x314c21,top:_0x4e8e71,height:_0x63e08c}=_0x1ee645,_0x5e315e=this[_0x2b4cb2(0x3df)](),_0x491e0f=_0x4b4725/_0x5e315e,_0x2a8001=new _0x4672ea[(_0x2b4cb2(0x17f))](_0x50f0a4+_0x513c5a[_0x2b4cb2(0x345)](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266,'height':_0x63e08c,'width':_0x5c8d0f,'fill':_0x3d3ec1||_0x4672ea[_0x2b4cb2(0x3ea)](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'strokeWidth':_0x491e0f,'stroke':_0x4a7cdc,'evented':!0x0});this['_anchor']=_0x2a8001,this[_0x2b4cb2(0x3ae)]['addObject'](_0x2a8001,_0x216a55[_0x2b4cb2(0x24d)]);const _0x56514e=new _0x4672ea['Rect'](_0x50f0a4+_0x513c5a[_0x2b4cb2(0x345)](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266-_0x1fda6e/0x2,'height':_0x1fda6e,'width':_0x1fda6e,'fill':_0x3d3ec1||_0x4672ea[_0x2b4cb2(0x3ea)](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'strokeWidth':0x0,'stroke':_0x3d3ec1||_0x4672ea['getColor'](_0x513c5a[_0x2b4cb2(0x35d)][_0x2b4cb2(0x37b)],0x0),'evented':!0x1});this['_anchorDot']=_0x56514e,this['_scene'][_0x2b4cb2(0x296)](_0x56514e,_0x216a55[_0x2b4cb2(0x24d)]);const _0x5197d5=new _0x237d4b(_0x50f0a4+_0x513c5a['generateRandomId'](_0x1a60dc),{'left':_0x314c21+_0x3352a1-_0x491e0f,'top':_0x4e8e71+_0x3a9266-_0x41d721,'text':_0x60e5a8,'color':_0x3d3ec1});this[_0x2b4cb2(0x200)]=_0x5197d5,this['_scene']['addObject'](_0x5197d5,_0x216a55[_0x2b4cb2(0x24d)]),this['_hover']=!0x1;}[_0x4c5fe4(0x279)](){const _0x17706d=_0x4c5fe4,_0x3dab0c=this['_anchor'][_0x17706d(0x38c)]['subscribeEvent'](()=>{const _0xab1806=_0x17706d;this[_0xab1806(0x243)]=!0x0;}),_0x43b421=this['_anchor'][_0x17706d(0x1b5)][_0x17706d(0x3fa)](()=>{const _0x3d08a6=_0x17706d;this[_0x3d08a6(0x2f4)]&&clearTimeout(this[_0x3d08a6(0x2f4)]),this[_0x3d08a6(0x2f4)]=setTimeout(()=>{const _0x23d409=_0x3d08a6;this[_0x23d409(0x243)]=!0x1;},0x7d0);});return()=>{const _0x224768=_0x17706d;_0x3dab0c[_0x224768(0x349)](),_0x43b421[_0x224768(0x349)]();};}[_0x4c5fe4(0x1d4)](_0x423c35,_0x452373,_0x38a7f0,_0x50ca72){const _0xb711e8=_0x4c5fe4,_0x42f1c9=new _0x513c5a[(_0xb711e8(0x35b))](_0x423c35)[_0xb711e8(0x245)](0.2)[_0xb711e8(0x29c)](),_0x587f56=new _0x4672ea['RegularPolygon'](_0x26ed96+_0x513c5a[_0xb711e8(0x345)](_0x1a60dc),{'pointsGroup':_0x452373,'fill':_0x42f1c9||_0x4672ea[_0xb711e8(0x3ea)](_0x513c5a[_0xb711e8(0x35d)][_0xb711e8(0x37b)],0.2),'left':_0x38a7f0,'top':_0x50ca72,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xb711e8(0x1df)](_0x587f56),this[_0xb711e8(0x3ae)][_0xb711e8(0x296)](_0x587f56,_0x216a55['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x14a310,_0x1a3025,_0x356bfb,_0x4ffa59){const _0x89a7c6=_0x4c5fe4,_0x350793=new _0x513c5a[(_0x89a7c6(0x35b))](_0x14a310)[_0x89a7c6(0x245)](0.2)[_0x89a7c6(0x29c)](),_0x49988f=new _0x4672ea[(_0x89a7c6(0x419))](_0x3f7907+_0x513c5a[_0x89a7c6(0x345)](_0x1a60dc),{'pointsGroup':_0x1a3025,'fill':_0x350793||_0x4672ea['getColor'](_0x513c5a[_0x89a7c6(0x35d)][_0x89a7c6(0x37b)],0.2),'left':_0x356bfb,'top':_0x4ffa59,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x89a7c6(0x188)]['push'](_0x49988f),this[_0x89a7c6(0x3ae)][_0x89a7c6(0x296)](_0x49988f,_0x216a55[_0x89a7c6(0x24d)]);}['_getAnchorBounding'](_0x215766){const _0x2289e9=_0x215766[0x0],_0x128735=_0x2289e9[0x0],_0x503e3c=_0x2289e9[0x2],{x:_0x160949,y:_0x6d5008}=_0x128735,{x:_0x5ebd3e,y:_0x4226dd}=_0x503e3c;return{'left':_0x160949,'top':_0x6d5008,'width':_0x5ebd3e-_0x160949,'height':_0x4226dd-_0x6d5008};}[_0x4c5fe4(0x3df)](){const _0x50229b=_0x4c5fe4,{scaleX:_0x274999,scaleY:_0x5a7c4c}=this[_0x50229b(0x3ae)][_0x50229b(0x2e5)]();return Math[_0x50229b(0x3f7)](_0x274999,_0x5a7c4c);}}var _0xbefc97=Object['getOwnPropertyDescriptor'],_0x3d876a=(_0x3947bf,_0x3c80a9,_0x55ead2,_0x1f3df8)=>{for(var _0x4e700c=_0x1f3df8>0x1?void 0x0:_0x1f3df8?_0xbefc97(_0x3c80a9,_0x55ead2):_0x3c80a9,_0x42af32=_0x3947bf['length']-0x1,_0x2af0f6;_0x42af32>=0x0;_0x42af32--)(_0x2af0f6=_0x3947bf[_0x42af32])&&(_0x4e700c=_0x2af0f6(_0x4e700c)||_0x4e700c);return _0x4e700c;},_0x212355=(_0x1fbd81,_0x246c4c)=>(_0x54db30,_0x281e92)=>_0x246c4c(_0x54db30,_0x281e92,_0x1fbd81);let _0x373cd3=class extends _0x513c5a[_0x4c5fe4(0x1a3)]{constructor(_0x34197a,_0x4aaf9f,_0x2adc67,_0x2211cd,_0x1ab1a6){const _0x21ff84=_0x4c5fe4;super(),_0x49e871(this,'_cursorShapes',[]),_0x49e871(this,_0x21ff84(0x3e7),[]),(this['_context']=_0x34197a,this[_0x21ff84(0x2a6)]=_0x4aaf9f,this[_0x21ff84(0x23a)]=_0x2adc67,this[_0x21ff84(0x210)]=_0x2211cd,this[_0x21ff84(0x212)]=_0x1ab1a6,this['_init']());}['_init'](){const _0xf81c88=_0x4c5fe4,_0x538000=this[_0xf81c88(0x3c8)][_0xf81c88(0x3ed)],_0x506454=this[_0xf81c88(0x2a6)];this['disposeWithMe'](_0x44d779['combineLatest']([this['_collabCursorController'][_0xf81c88(0x467)](_0x538000),this[_0xf81c88(0x212)][_0xf81c88(0x3a7)]])[_0xf81c88(0x23c)](_0x523890['map'](([_0xad5e32,_0x4a37a9])=>({'skeleton':_0x506454[_0xf81c88(0x379)](),'cursors':[..._0xad5e32[_0xf81c88(0x258)]()][_0xf81c88(0x430)](_0x4f7be7=>({..._0x4f7be7,'color':this['_themeService'][_0xf81c88(0x18c)](_0x4f7be7['color'])}))})))[_0xf81c88(0x33d)](_0x804143=>{const _0x2fcd27=_0xf81c88;if(this[_0x2fcd27(0x37c)](),_0x804143){const {skeleton:_0x4e1c55,cursors:_0x2a4b25}=_0x804143;this[_0x2fcd27(0x450)](_0x4e1c55,_0x2a4b25);}})),this[_0xf81c88(0x325)](),this['_initCommandExecutedListener']();}[_0x4c5fe4(0x450)](_0x3d9aa9,_0x2e2105){const _0x26ef7c=_0x4c5fe4,{scene:_0x469bd2,mainComponent:_0x4f8b4a}=this['_context'],_0x564b16=_0x2e2105[_0x26ef7c(0x2b4)](_0xd8f9c6=>new _0x1fcc5b(_0xd8f9c6,_0x469bd2,_0x3d9aa9,_0x4f8b4a));this[_0x26ef7c(0x2f8)]=_0x564b16,this[_0x26ef7c(0x3e7)]=_0x2e2105;}[_0x4c5fe4(0x414)](){const _0x45e918=_0x4c5fe4;this['_removeCollabCursors']();const {scene:_0x179c85,mainComponent:_0x53eee1}=this[_0x45e918(0x3c8)],_0x3d955c=this[_0x45e918(0x2a6)]['getSkeleton'](),_0x48fd01=this[_0x45e918(0x3e7)][_0x45e918(0x2b4)](_0x10bc93=>new _0x1fcc5b(_0x10bc93,_0x179c85,_0x3d955c,_0x53eee1));this[_0x45e918(0x2f8)]=_0x48fd01;}[_0x4c5fe4(0x37c)](){const _0xe6c576=_0x4c5fe4;this[_0xe6c576(0x2f8)][_0xe6c576(0x292)](_0x4ceed2=>_0x4ceed2[_0xe6c576(0x2b1)]()),this['_cursorShapes']=[];}[_0x4c5fe4(0x1f8)](){const _0x358237=_0x4c5fe4,_0x16b849=[_0x216a55[_0x358237(0x2e7)]['id']];this['disposeWithMe'](this[_0x358237(0x210)][_0x358237(0x1c8)](_0xcbcd95=>{const _0x253bdf=_0x358237;_0x16b849[_0x253bdf(0x1ec)](_0xcbcd95['id'])&&_0xcbcd95['params'][_0x253bdf(0x3ed)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x4c5fe4(0x325)](){const _0x2187ed=_0x4c5fe4;this[_0x2187ed(0x2c6)](_0x513c5a[_0x2187ed(0x277)](this[_0x2187ed(0x3c8)]['engine'][_0x2187ed(0x438)])[_0x2187ed(0x23c)](_0x523890[_0x2187ed(0x335)](_0x4d8614=>_0x4d8614[_0x2187ed(0x406)]===_0x4672ea[_0x2187ed(0x36e)]['resize']),_0x523890[_0x2187ed(0x2c1)](0x10))[_0x2187ed(0x33d)](()=>{const _0x2c69b9=_0x2187ed;this[_0x2c69b9(0x414)]();}));}};_0x373cd3=_0x3d876a([_0x212355(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x702727[_0x4c5fe4(0x2a9)])),_0x212355(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0xdc7b15)),_0x212355(0x3,_0x513c5a[_0x4c5fe4(0x444)]),_0x212355(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['ThemeService']))],_0x373cd3);const _0x340e35=0x1,_0x58c9f6=1.5;class _0x39b2dd extends _0x4672ea['Shape']{constructor(_0x5b29a7,_0x8af52e){const _0xc9713c=_0x4c5fe4;super(_0x5b29a7,_0x8af52e),_0x49e871(this,_0xc9713c(0x22f)),_0x49e871(this,_0xc9713c(0x3be),!0x1),_0x49e871(this,_0xc9713c(0x3b7)),_0x49e871(this,_0xc9713c(0x18d),''),_0x49e871(this,_0xc9713c(0x365),_0xc9713c(0x2bc)),_0x49e871(this,'_backgroundColor'),(_0x8af52e&&this[_0xc9713c(0x1fb)](_0x8af52e),this[_0xc9713c(0x38c)]['subscribeEvent'](()=>this[_0xc9713c(0x1fb)]({'hovered':!0x0})),this[_0xc9713c(0x1b5)][_0xc9713c(0x3fa)](()=>this[_0xc9713c(0x1fb)]({'hovered':!0x1})));}[_0x4c5fe4(0x1fb)](_0x714b){const _0x11b817=_0x4c5fe4;var _0x3697c2,_0x7f991d,_0xcff832,_0x539a4f,_0x7b8183,_0x3e5613;this[_0x11b817(0x22f)]=(_0x3697c2=_0x714b[_0x11b817(0x2c7)])!=null?_0x3697c2:this[_0x11b817(0x22f)],this[_0x11b817(0x3be)]=(_0x7f991d=_0x714b['hovered'])!=null?_0x7f991d:this[_0x11b817(0x3be)],this['_range']=(_0xcff832=_0x714b[_0x11b817(0x2de)])!=null?_0xcff832:this[_0x11b817(0x3b7)],this[_0x11b817(0x18d)]=(_0x539a4f=_0x714b[_0x11b817(0x1a6)])!=null?_0x539a4f:this[_0x11b817(0x18d)],this[_0x11b817(0x365)]=(_0x7b8183=_0x714b[_0x11b817(0x220)])!=null?_0x7b8183:this['_labelPosition'],this[_0x11b817(0x306)]=(_0x3e5613=_0x714b['backgroundColor'])!=null?_0x3e5613:this[_0x11b817(0x306)],this[_0x11b817(0x17e)]({'width':_0x714b[_0x11b817(0x36b)],'height':_0x714b['height']});}[_0x4c5fe4(0x1fe)](_0xaed046){const _0x485c6d=_0x4c5fe4,{row:_0x12653a,column:_0x4282d4}=_0xaed046;if(_0x12653a>=this[_0x485c6d(0x3b7)][_0x485c6d(0x214)]&&_0x12653a<=this[_0x485c6d(0x3b7)][_0x485c6d(0x46d)]&&_0x4282d4>=this[_0x485c6d(0x3b7)]['startColumn']&&_0x4282d4<=this[_0x485c6d(0x3b7)]['endColumn']){this[_0x485c6d(0x1fb)]({'hovered':!0x0});return;}this[_0x485c6d(0x1fb)]({'hovered':!0x1});}[_0x4c5fe4(0x305)](_0x3d7f08){return!0x1;}[_0x4c5fe4(0x390)](_0x4b2c68){const _0x54ac81=_0x4c5fe4;_0x4672ea[_0x54ac81(0x17f)][_0x54ac81(0x466)](_0x4b2c68,{'width':this[_0x54ac81(0x36b)],'height':this[_0x54ac81(0x272)],'strokeWidth':_0x58c9f6,'stroke':this[_0x54ac81(0x22f)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x54ac81(0x3be)]&&(_0x4b2c68['save'](),_0x4b2c68[_0x54ac81(0x428)](0x1,0x0,0x0,0x1,this[_0x54ac81(0x36b)],this[_0x54ac81(0x365)]===_0x54ac81(0x442)?0x0:-_0x41d721),_0x237d4b['drawWith'](_0x4b2c68,{'text':this[_0x54ac81(0x18d)],'color':this[_0x54ac81(0x22f)]}),_0x4b2c68[_0x54ac81(0x283)]());}}var _0x54c704=Object['getOwnPropertyDescriptor'],_0x95784e=(_0x413c2c,_0x44070b,_0x3e539a,_0x285c06)=>{for(var _0x29b5a3=_0x285c06>0x1?void 0x0:_0x285c06?_0x54c704(_0x44070b,_0x3e539a):_0x44070b,_0x26b24d=_0x413c2c['length']-0x1,_0x151c2f;_0x26b24d>=0x0;_0x26b24d--)(_0x151c2f=_0x413c2c[_0x26b24d])&&(_0x29b5a3=_0x151c2f(_0x29b5a3)||_0x29b5a3);return _0x29b5a3;},_0x5f2ddf=(_0x23103c,_0x574268)=>(_0x3121c5,_0x45efe5)=>_0x574268(_0x3121c5,_0x45efe5,_0x23103c);const _0x3565ed=0x1389;let _0x13ef75=class extends _0x513c5a['RxDisposable']{constructor(_0x470f07,_0xcf8861,_0x1150df,_0xa003b6){const _0x1dd531=_0x4c5fe4;super(),_0x49e871(this,'_cursors',new Set()),_0x49e871(this,_0x1dd531(0x2b5),null),(this['_context']=_0x470f07,this[_0x1dd531(0x3b9)]=_0xcf8861,this['_collabCursorController']=_0x1150df,this[_0x1dd531(0x212)]=_0xa003b6,this[_0x1dd531(0x3d3)]());}[_0x4c5fe4(0x3d3)](){const _0x5283cb=_0x4c5fe4;this[_0x5283cb(0x3b9)]['currentSkeleton$']['pipe'](_0x523890[_0x5283cb(0x22b)](this[_0x5283cb(0x256)]),_0x523890[_0x5283cb(0x452)](_0x4cd7d5=>{const _0x163f67=_0x5283cb;if(_0x4cd7d5){const _0xaec9f=_0x4cd7d5['sheetId'];return _0x44d779['combineLatest'](this[_0x163f67(0x23a)][_0x163f67(0x467)](this['_context'][_0x163f67(0x3ed)]),this[_0x163f67(0x212)][_0x163f67(0x3a7)])[_0x163f67(0x23c)](_0x523890[_0x163f67(0x2b4)](([_0x29840a,_0x462e68])=>{const _0x20ccc1=new Map();return _0x29840a['forEach']((_0x1a2bd9,_0xe95a7b)=>{const _0x281927=_0x1a49;if(_0x1a2bd9[_0x281927(0x383)]===_0xaec9f){const _0x56d77d={..._0x1a2bd9};_0x56d77d[_0x281927(0x2c7)]=this[_0x281927(0x212)]['getColorFromTheme'](_0x1a2bd9[_0x281927(0x2c7)]),_0x20ccc1[_0x281927(0x26a)](_0xe95a7b,_0x56d77d);}}),{'skeleton':_0x4cd7d5,'cursors':_0x20ccc1};}));}return _0x44d779['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x9f835,cursors:_0x5d72e1})=>{const _0x4c4c46=_0x5283cb;this['_removeCollabCursors'](),_0x9f835&&this[_0x4c4c46(0x450)](_0x9f835,_0x5d72e1);}),this[_0x5283cb(0x3b9)][_0x5283cb(0x1ae)][_0x5283cb(0x33d)](_0x47e6e5=>{const _0x391ca5=_0x5283cb;if(_0x47e6e5==null)return;const {skeleton:_0xd30ed6}=_0x47e6e5,{scene:_0x53b186}=this[_0x391ca5(0x3c8)];_0x53b186[_0x391ca5(0x42b)]['subscribeEvent'](_0x513c5a[_0x391ca5(0x1b6)](_0x474c9a=>{const _0x20017a=_0x391ca5;var _0x3f4cb5,_0x5b97b0;const {offsetX:_0xdbd922,offsetY:_0x1322b2}=_0x474c9a,{x:_0x2a3377,y:_0x40612a}=_0x53b186['getRelativeToViewportCoord'](_0x4672ea[_0x20017a(0x235)][_0x20017a(0x310)]([_0xdbd922,_0x1322b2])),{scaleX:_0x2d4188,scaleY:_0x1e965e}=_0x53b186['getAncestorScale'](),_0x1e8639=_0x53b186['getViewport'](_0x4672ea[_0x20017a(0x360)][_0x20017a(0x3b6)]),_0x5112af=_0x53b186['getVpScrollXYInfoByPosToVp'](_0x4672ea[_0x20017a(0x235)][_0x20017a(0x310)]([_0x2a3377,_0x40612a]),_0x1e8639),_0x3af268=_0xd30ed6[_0x20017a(0x209)](_0xdbd922,_0x1322b2,_0x2d4188,_0x1e965e,_0x5112af);((_0x3f4cb5=this[_0x20017a(0x2b5)])==null?void 0x0:_0x3f4cb5[_0x20017a(0x46c)])===_0x3af268['column']&&((_0x5b97b0=this[_0x20017a(0x2b5)])==null?void 0x0:_0x5b97b0[_0x20017a(0x459)])===_0x3af268[_0x20017a(0x459)]||this['_cursors'][_0x20017a(0x292)](_0x5b163c=>{_0x5b163c['onMouseMove'](_0x3af268);});},0x64));});}[_0x4c5fe4(0x450)](_0x488881,_0x539811){const _0x3915ce=_0x4c5fe4;var _0x857427;const _0x1fd78b=(_0x857427=this['_sheetSkeletonManagerService'][_0x3915ce(0x236)]())==null?void 0x0:_0x857427[_0x3915ce(0x311)];if(!_0x1fd78b)return;const _0x34e264=this[_0x3915ce(0x2f7)]();if(!_0x34e264)return;this[_0x3915ce(0x3e7)][_0x3915ce(0x292)](_0x2ef712=>{const _0x4d062e=_0x3915ce;_0x2ef712[_0x4d062e(0x357)]();});const {scene:_0x14f2ff}=_0x34e264,_0xf814f5=_0x4c2272(Array[_0x3915ce(0x2e2)](_0x539811[_0x3915ce(0x258)]()))['map'](_0x51978d=>{const _0xad91f8=_0x3915ce,{color:_0x1ba5a4,range:_0x612d02,name:_0x2037ed,selection:_0x25a411,sheetID:_0x171df0}=_0x51978d,{startColumn:_0x59d0df,startRow:_0x28393e,endColumn:_0x4aa38b,endRow:_0x3d4cb5}=_0x612d02,_0x175584=_0x33b767['getCoordByCell'](_0x28393e,_0x59d0df,_0x14f2ff,_0x1fd78b),_0x449877=_0x33b767['getCoordByCell'](_0x3d4cb5,_0x4aa38b,_0x14f2ff,_0x1fd78b),{columnHeaderHeightAndMarginTop:_0x45e4ab}=_0x1fd78b,{startX:_0x395f88,startY:_0x4be987}=_0x175584,{endX:_0x2fa036,endY:_0x34bd3d}=_0x449877,_0x11f286=_0x2fa036-_0x395f88,_0x30f6b9=_0x34bd3d-_0x4be987,_0xd5770d={'labelPosition':_0x4be987-_0x45e4ab>=_0x41d721?_0xad91f8(0x2bc):'bottom','sheetID':_0x171df0,'range':_0x612d02,'color':_0x1ba5a4,'name':_0x2037ed,'selection':_0x25a411,'left':_0x395f88,'top':_0x4be987,'width':_0x11f286,'height':_0x30f6b9,'evented':!0x1,'zIndex':_0x3565ed};return new _0x39b2dd(_0x2037ed,_0xd5770d);});_0x14f2ff[_0x3915ce(0x2ea)](_0xf814f5,_0x340e35),this[_0x3915ce(0x3e7)]=new Set(_0xf814f5);}[_0x4c5fe4(0x37c)](){const _0x2d35df=_0x4c5fe4;var _0x4a97b5;(_0x4a97b5=this[_0x2d35df(0x3e7)])==null||_0x4a97b5[_0x2d35df(0x292)](_0x28f77d=>_0x28f77d[_0x2d35df(0x2b1)]());}[_0x4c5fe4(0x2f7)](){const _0x355209=_0x4c5fe4;return _0x33b767['getSheetObject'](this[_0x355209(0x3c8)][_0x355209(0x2cb)],this[_0x355209(0x3c8)]);}};_0x13ef75=_0x95784e([_0x5f2ddf(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x33b767[_0x4c5fe4(0x1f6)])),_0x5f2ddf(0x2,_0x513c5a['Inject'](_0xdc7b15)),_0x5f2ddf(0x3,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x2ec)]))],_0x13ef75);function _0x4c2272(_0x420342){const _0x5f3e2f=_0x4c5fe4,_0x1558cd=new Map();return _0x420342[_0x5f3e2f(0x292)](_0x109f5c=>{const _0x535a73=_0x5f3e2f;if(_0x1558cd['has'](_0x109f5c[_0x535a73(0x1b4)])){const _0x54a487=_0x1558cd[_0x535a73(0x1c5)](_0x109f5c[_0x535a73(0x1b4)]);_0x54a487['name']+=',\x20'+_0x109f5c[_0x535a73(0x1a6)];}else _0x1558cd[_0x535a73(0x26a)](_0x109f5c[_0x535a73(0x1b4)],_0x109f5c);}),Array[_0x5f3e2f(0x2e2)](_0x1558cd[_0x5f3e2f(0x258)]());}var _0x5a96bd=Object[_0x4c5fe4(0x43d)],_0x3bb85f=(_0x5223c4,_0x5e8594,_0x54665a,_0x203cb2)=>{const _0x4fcec3=_0x4c5fe4;for(var _0xe88753=_0x203cb2>0x1?void 0x0:_0x203cb2?_0x5a96bd(_0x5e8594,_0x54665a):_0x5e8594,_0x395382=_0x5223c4[_0x4fcec3(0x27e)]-0x1,_0x39163a;_0x395382>=0x0;_0x395382--)(_0x39163a=_0x5223c4[_0x395382])&&(_0xe88753=_0x39163a(_0xe88753)||_0xe88753);return _0xe88753;},_0x5b0a97=(_0xe5a20,_0x10924d)=>(_0x478dea,_0x1bee5b)=>_0x10924d(_0x478dea,_0x1bee5b,_0xe5a20);let _0x562633=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x27531a,_0x403735,_0x4d1a1d,_0x441050,_0x22645f,_0x17a578){const _0x4cb635=_0x4c5fe4;super(),this[_0x4cb635(0x20b)]=_0x27531a,this[_0x4cb635(0x1bc)]=_0x403735,this['_collaborationUIEventService']=_0x4d1a1d,this['_messageService']=_0x441050,this[_0x4cb635(0x29d)]=_0x22645f,this['_localeService']=_0x17a578,this[_0x4cb635(0x288)](),this['_initEvent']();}[_0x4c5fe4(0x288)](){const _0x2339f2=_0x4c5fe4;this[_0x2339f2(0x2c6)](this[_0x2339f2(0x20b)][_0x2339f2(0x415)](()=>{const _0x3da81f=_0x2339f2;if(this[_0x3da81f(0x1bc)][_0x3da81f(0x43a)][_0x3da81f(0x217)])return this[_0x3da81f(0x2d5)]['t']('collaboration.offline-data-not-saved');}));}['_initEvent'](){const _0x5f42af=_0x4c5fe4;this['disposeWithMe'](this[_0x5f42af(0x397)]['event$'][_0x5f42af(0x33d)](_0x253a89=>{const _0x19a273=_0x5f42af;_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x364)]&&this[_0x19a273(0x3a3)]['show']({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x391))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x27d)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x3d2))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)]['PERMISSION_DENIED']&&this['_notificationService'][_0x19a273(0x218)]({'title':this[_0x19a273(0x2d5)]['t']('permission.title'),'content':this['_localeService']['t'](_0x19a273(0x473)),'type':_0x19a273(0x2e8),'duration':0x0}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x247)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x3d2))+'('+_0x253a89[_0x19a273(0x393)]+')'}),_0x253a89['id']===_0x1b7c3e['CollaborationUIEventId'][_0x19a273(0x394)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this[_0x19a273(0x2d5)]['t'](_0x253a89[_0x19a273(0x393)]||'')}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x344)]&&this['_messageService']['show']({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x358)],'content':this['_localeService']['t'](_0x19a273(0x46f))}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x302)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t']('session.connection-failed')}),_0x253a89['id']===_0x1b7c3e[_0x19a273(0x420)][_0x19a273(0x21a)]&&this[_0x19a273(0x3a3)][_0x19a273(0x218)]({'type':_0x3fc2d4[_0x19a273(0x1d5)][_0x19a273(0x2e9)],'content':this[_0x19a273(0x2d5)]['t'](_0x19a273(0x31b))});}));}};_0x562633=_0x3bb85f([_0x5b0a97(0x0,_0x2b894c['IBeforeCloseService']),_0x5b0a97(0x1,_0x1b7c3e[_0x4c5fe4(0x30b)]),_0x5b0a97(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1e4)])),_0x5b0a97(0x3,_0x2b894c[_0x4c5fe4(0x3ef)]),_0x5b0a97(0x4,_0x2b894c[_0x4c5fe4(0x3e2)]),_0x5b0a97(0x5,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x186)]))],_0x562633);var _0x508467=Object[_0x4c5fe4(0x43d)],_0x54ec4d=(_0x3e465f,_0x484e28,_0x5b1aa3,_0x3fdd9d)=>{const _0x23e545=_0x4c5fe4;for(var _0x449583=_0x3fdd9d>0x1?void 0x0:_0x3fdd9d?_0x508467(_0x484e28,_0x5b1aa3):_0x484e28,_0x4b05c6=_0x3e465f[_0x23e545(0x27e)]-0x1,_0x1f25c3;_0x4b05c6>=0x0;_0x4b05c6--)(_0x1f25c3=_0x3e465f[_0x4b05c6])&&(_0x449583=_0x1f25c3(_0x449583)||_0x449583);return _0x449583;},_0x1ae665=(_0x3dc639,_0x2b9a95)=>(_0x1f5230,_0x1554c2)=>_0x2b9a95(_0x1f5230,_0x1554c2,_0x3dc639);let _0xd68c02=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x25b092,_0x33bc86,_0x30ba50,_0x179976){const _0x20bb0d=_0x4c5fe4;super(),_0x49e871(this,_0x20bb0d(0x22e)),(this[_0x20bb0d(0x231)]=_0x25b092,this[_0x20bb0d(0x280)]=_0x33bc86,this[_0x20bb0d(0x19d)]=_0x30ba50,this[_0x20bb0d(0x2b2)]=_0x179976,this[_0x20bb0d(0x3d3)]());}['_init'](){const _0x19cfb2=_0x4c5fe4;this[_0x19cfb2(0x2fd)](),this[_0x19cfb2(0x3ee)](),this[_0x19cfb2(0x2e3)](),this[_0x19cfb2(0x3dd)]();}[_0x4c5fe4(0x3dd)](){const _0x13e049=_0x4c5fe4;this['disposeWithMe'](this[_0x13e049(0x2b2)][_0x13e049(0x313)][_0x13e049(0x33d)](_0x1a293e=>{const _0x6cc852=_0x13e049;this['_memberID']=_0x1a293e==null?void 0x0:_0x1a293e[_0x6cc852(0x2e1)];}));}['_initWindowErrorListener'](){const _0xd98c25=_0x4c5fe4,_0x1f76d5=_0x1ffb72=>{const _0x4f4d43=_0x1a49;var _0x2c6948;this[_0x4f4d43(0x252)]('error',_0x4f4d43(0x41f)+_0x1ffb72['message']+_0x4f4d43(0x270)+_0x1ffb72[_0x4f4d43(0x3ca)]+':'+_0x1ffb72[_0x4f4d43(0x3f2)]+':'+_0x1ffb72[_0x4f4d43(0x36f)]+'\x0a'+(((_0x2c6948=_0x1ffb72[_0x4f4d43(0x2e8)])==null?void 0x0:_0x2c6948[_0x4f4d43(0x1f9)])||''));};window['addEventListener']('error',_0x1f76d5),this[_0xd98c25(0x2c6)](()=>{const _0x276081=_0xd98c25;window['removeEventListener'](_0x276081(0x2e8),_0x1f76d5);});}[_0x4c5fe4(0x3ee)](){const _0xd27f06=_0x4c5fe4,_0x5c8982=_0x3f9e2f=>{const _0x5383ab=_0x1a49;this[_0x5383ab(0x252)](_0x5383ab(0x2e8),_0x5383ab(0x343)+_0x3f9e2f[_0x5383ab(0x1d7)]);};window['addEventListener'](_0xd27f06(0x25a),_0x5c8982),this[_0xd27f06(0x2c6)](()=>{const _0xb6cf23=_0xd27f06;window[_0xb6cf23(0x3d9)](_0xb6cf23(0x25a),_0x5c8982);});}['_monkeyPatchLogService'](){const _0x1156be=_0x4c5fe4,_0x1037fb=this['_logService'][_0x1156be(0x2e8)][_0x1156be(0x3ad)](this['_logService']);this['_logService']['error']=(..._0x4f7d61)=>{const _0x23801b=_0x1156be,_0x4666cb=_0x4f7d61[_0x23801b(0x2b4)](_0x64b3d8=>_0x64b3d8 instanceof Error?_0x64b3d8[_0x23801b(0x264)]+'\x0a'+_0x64b3d8['stack']:String(_0x64b3d8))[_0x23801b(0x39b)]('\x20');this['_uploadLog'](_0x23801b(0x2e8),_0x23801b(0x44c)+_0x4666cb),_0x1037fb(..._0x4f7d61);},this[_0x1156be(0x2c6)](()=>{const _0x5ddfe5=_0x1156be;this[_0x5ddfe5(0x19d)][_0x5ddfe5(0x2e8)]=_0x1037fb;});}[_0x4c5fe4(0x252)](_0x49018d,_0x4b5119){const _0x4ce4ec=_0x4c5fe4;try{const _0x3d98a0={'userId':this[_0x4ce4ec(0x22e)],'logLabel':_0x49018d,'content':_0x4b5119};this[_0x4ce4ec(0x280)][_0x4ce4ec(0x3f0)](_0x4ce4ec(0x249),{'body':_0x3d98a0})[_0x4ce4ec(0x334)](()=>{});}catch{}}};_0xd68c02=_0x54ec4d([_0x1ae665(0x0,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x1ae665(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2['HTTPService'])),_0x1ae665(0x2,_0x513c5a[_0x4c5fe4(0x469)]),_0x1ae665(0x3,_0x513c5a['Inject'](_0x1b7c3e[_0x4c5fe4(0x370)]))],_0xd68c02);const _0x53d765='collaboration-client-ui.config',_0x43cb2d={};var _0x57ccd1=Object[_0x4c5fe4(0x43d)],_0x5c50c1=(_0x2039cd,_0x28291d,_0x3beeb3,_0x286fb6)=>{for(var _0x19e7ab=_0x286fb6>0x1?void 0x0:_0x286fb6?_0x57ccd1(_0x28291d,_0x3beeb3):_0x28291d,_0x28aa7e=_0x2039cd['length']-0x1,_0x18f90e;_0x28aa7e>=0x0;_0x28aa7e--)(_0x18f90e=_0x2039cd[_0x28aa7e])&&(_0x19e7ab=_0x18f90e(_0x19e7ab)||_0x19e7ab);return _0x19e7ab;},_0x34aa73=(_0x4287e6,_0x2e519f)=>(_0x23b896,_0x5a24a8)=>_0x2e519f(_0x23b896,_0x5a24a8,_0x4287e6);let _0x387262=class{constructor(_0x46228a,_0xe402c3){const _0xcb1d3d=_0x4c5fe4;this[_0xcb1d3d(0x2d0)]=_0x46228a,this[_0xcb1d3d(0x27c)]=_0xe402c3;}[_0x4c5fe4(0x29e)](_0x595f47){const _0x34f77e=_0x4c5fe4;this['_transformUndoRedoStack'](_0x595f47),this[_0x34f77e(0x356)](_0x595f47);}['transformRemoteChangeset'](_0xc777d){const _0x2331dd=_0x4c5fe4,{unitID:_0x114658}=_0xc777d,_0x37d876=this['_renderManagerService']['getRenderById'](_0x114658)[_0x2331dd(0x190)](_0x216a55[_0x2331dd(0x437)]),{redoCache:_0x5e3db1}=_0x37d876[_0x2331dd(0x268)]();if(_0x5e3db1[_0x2331dd(0x27e)]===0x0)return _0xc777d;let _0x4e23ea=_0x513c5a[_0x2331dd(0x3c3)][_0x2331dd(0x274)](_0xc777d[_0x2331dd(0x315)][0x0]);for(let _0x29b4b2=0x0;_0x29b4b2<_0x5e3db1[_0x2331dd(0x27e)];_0x29b4b2++){const _0x1df53b={'id':_0x2331dd(0x319),'params':{..._0x5e3db1[_0x29b4b2]}},_0x2c027e=this['_transformService'][_0x2331dd(0x1f2)](_0x4e23ea,_0x1df53b,!0x1);if(_0x191313[_0x2331dd(0x3d1)](_0x2c027e))throw _0x2c027e['error'];_0x4e23ea=_0x2c027e[_0x2331dd(0x1ac)];}return{..._0x513c5a[_0x2331dd(0x3c3)][_0x2331dd(0x274)](_0xc777d),'mutations':[_0x4e23ea]};}['_transformUndoRedoStack'](_0x28414d){const _0x1899fd=_0x4c5fe4,{unitID:_0x5db705}=_0x28414d,_0x25e184=this[_0x1899fd(0x27c)][_0x1899fd(0x2c0)](_0x5db705)[_0x1899fd(0x190)](_0x216a55[_0x1899fd(0x437)]),{undoCache:_0x2b3db1,redoCache:_0x498978}=_0x25e184[_0x1899fd(0x268)]();if(_0x2b3db1[_0x1899fd(0x27e)]===0x0||_0x498978[_0x1899fd(0x27e)]===0x0)return;const _0x6e1de4=[],_0x275e80=[];let _0x535e83=_0x513c5a[_0x1899fd(0x3c3)][_0x1899fd(0x274)](_0x28414d[_0x1899fd(0x315)][0x0]),_0xe22400=_0x513c5a['Tools'][_0x1899fd(0x274)](_0x28414d['mutations'][0x0]);for(let _0x23e1c1=_0x2b3db1[_0x1899fd(0x27e)]-0x1;_0x23e1c1>=0x0;_0x23e1c1--){const _0x19d75a={'id':_0x1899fd(0x319),'params':{..._0x2b3db1[_0x23e1c1]}},_0x3e24f5={'id':_0x1899fd(0x319),'params':{..._0x498978[_0x23e1c1]}},_0x244ef7=this[_0x1899fd(0x2d0)][_0x1899fd(0x1f2)](_0x535e83,_0x19d75a,!0x1),_0x2b79=this[_0x1899fd(0x2d0)][_0x1899fd(0x1f2)](_0xe22400,_0x3e24f5,!0x1);if(_0x191313[_0x1899fd(0x3d1)](_0x244ef7))throw _0x244ef7[_0x1899fd(0x2e8)];if(_0x191313['isTransformMutationFailure'](_0x2b79))throw _0x2b79['error'];_0x6e1de4['unshift'](_0x244ef7['m2Prime'][_0x1899fd(0x32c)]),_0x275e80['unshift'](_0x2b79[_0x1899fd(0x2d8)][_0x1899fd(0x32c)]),_0x535e83=_0x244ef7[_0x1899fd(0x1ac)],_0xe22400=_0x2b79['m1Prime'];}_0x25e184[_0x1899fd(0x24e)]({'undoCache':_0x6e1de4,'redoCache':_0x275e80});}['_transformPreviousActiveRange'](_0x4c10b3){const _0x2431f0=_0x4c5fe4,{unitID:_0x178394}=_0x4c10b3,_0x57b888=this[_0x2431f0(0x27c)]['getRenderById'](_0x178394)[_0x2431f0(0x190)](_0x216a55[_0x2431f0(0x437)]),_0x3e7ab1=_0x57b888[_0x2431f0(0x3d7)]();if(_0x3e7ab1==null)return;const _0x2e8e1e=[{'id':_0x2431f0(0x319),'params':{'unitId':_0x4c10b3[_0x2431f0(0x18a)],'actions':null,'textRanges':[_0x3e7ab1]}}],_0x35f9a4=this['_transformService'][_0x2431f0(0x1f3)](_0x4c10b3,_0x2e8e1e);if(!_0x191313[_0x2431f0(0x20f)](_0x35f9a4))throw _0x35f9a4[_0x2431f0(0x2e8)];const _0xc22709=_0x35f9a4[_0x2431f0(0x2d8)][0x0][_0x2431f0(0x32c)]['textRanges'];Array[_0x2431f0(0x38f)](_0xc22709)&&_0xc22709[_0x2431f0(0x27e)]&&_0x57b888[_0x2431f0(0x443)](_0xc22709[0x0]);}};_0x387262=_0x5c50c1([_0x34aa73(0x0,_0x191313[_0x4c5fe4(0x281)]),_0x34aa73(0x1,_0x4672ea['IRenderManagerService'])],_0x387262);var _0x3bd505=Object['getOwnPropertyDescriptor'],_0x3faec2=(_0x3eb467,_0x3b99e4,_0x2406fc,_0x233727)=>{const _0x4f68ca=_0x4c5fe4;for(var _0x5eb638=_0x233727>0x1?void 0x0:_0x233727?_0x3bd505(_0x3b99e4,_0x2406fc):_0x3b99e4,_0x46ad24=_0x3eb467[_0x4f68ca(0x27e)]-0x1,_0x3da499;_0x46ad24>=0x0;_0x46ad24--)(_0x3da499=_0x3eb467[_0x46ad24])&&(_0x5eb638=_0x3da499(_0x5eb638)||_0x5eb638);return _0x5eb638;},_0x2817c3=(_0x1093e1,_0x3dd6de)=>(_0x32ae73,_0x594228)=>_0x3dd6de(_0x32ae73,_0x594228,_0x1093e1);let _0x4d6bb8=class{constructor(_0x467127,_0x13fa14,_0x33b874){const _0xa1cbe3=_0x4c5fe4;this[_0xa1cbe3(0x231)]=_0x467127,this[_0xa1cbe3(0x2d0)]=_0x13fa14,this[_0xa1cbe3(0x2df)]=_0x33b874;}[_0x4c5fe4(0x213)](_0x907171){this['_transformHistoryAndStateStack'](_0x907171);}['transformRemoteChangeset'](_0x20a023){const _0x51c5c2=_0x4c5fe4,{unitID:_0x120b06}=_0x20a023,{collaboration:_0x5ae7f0}=this[_0x51c5c2(0x2df)][_0x51c5c2(0x3bf)](_0x120b06);if(_0x5ae7f0[_0x51c5c2(0x27e)]===0x0)return _0x20a023;let _0x45069c=_0x513c5a[_0x51c5c2(0x3c3)][_0x51c5c2(0x274)](_0x20a023[_0x51c5c2(0x315)][0x0]);for(let _0xcb8d8f=0x0;_0xcb8d8f<_0x5ae7f0[_0x51c5c2(0x27e)];_0xcb8d8f++){const _0x38f0f8={'id':_0x51c5c2(0x319),'params':{'unitId':_0x5ae7f0[_0xcb8d8f][_0x51c5c2(0x3ed)],..._0x5ae7f0[_0xcb8d8f][_0x51c5c2(0x374)]}},_0x17c600=this[_0x51c5c2(0x2d0)][_0x51c5c2(0x1f2)](_0x45069c,_0x38f0f8,!0x1);if(_0x191313[_0x51c5c2(0x3d1)](_0x17c600))throw _0x17c600['error'];_0x45069c=_0x17c600[_0x51c5c2(0x1ac)];}return{..._0x513c5a[_0x51c5c2(0x3c3)][_0x51c5c2(0x274)](_0x20a023),'mutations':[_0x45069c]};}[_0x4c5fe4(0x2fe)](_0x36c394){const _0x556842=_0x4c5fe4,{unitID:_0x3f9efd}=_0x36c394,{history:_0x3b6c4b,collaboration:_0x49c43c}=this[_0x556842(0x2df)][_0x556842(0x3bf)](_0x3f9efd);if(_0x3b6c4b[_0x556842(0x27e)]===0x0&&_0x49c43c[_0x556842(0x27e)]===0x0)return;const _0x2d44f2=[],_0x4fbf09=[];let _0x1f5c23=_0x513c5a[_0x556842(0x3c3)][_0x556842(0x274)](_0x36c394['mutations'][0x0]),_0x3f8a13=_0x513c5a['Tools']['deepClone'](_0x36c394[_0x556842(0x315)][0x0]);for(let _0x1cff6d=_0x3b6c4b[_0x556842(0x27e)]-0x1;_0x1cff6d>=0x0;_0x1cff6d--){const _0x316154={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b6c4b[_0x1cff6d][_0x556842(0x3ed)],..._0x3b6c4b[_0x1cff6d][_0x556842(0x28b)]}},_0x17f1f0={'id':_0x556842(0x319),'params':{'unitId':_0x3b6c4b[_0x1cff6d]['unitId'],..._0x3b6c4b[_0x1cff6d]['redoState']}},_0x4dcc34=this[_0x556842(0x2d0)]['transformMutation'](_0x1f5c23,_0x316154,!0x1),_0x1d1885=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x3f8a13,_0x17f1f0,!0x1);if(_0x191313[_0x556842(0x3d1)](_0x4dcc34))throw _0x4dcc34['error'];if(_0x191313[_0x556842(0x3d1)](_0x1d1885))throw _0x1d1885['error'];_0x2d44f2['unshift']({..._0x3b6c4b[_0x1cff6d],'undoState':_0x4dcc34[_0x556842(0x2d8)]['params'],'redoState':_0x1d1885[_0x556842(0x2d8)][_0x556842(0x32c)]}),_0x1f5c23=_0x4dcc34[_0x556842(0x1ac)],_0x3f8a13=_0x1d1885[_0x556842(0x1ac)];}_0x1f5c23=_0x513c5a[_0x556842(0x3c3)]['deepClone'](_0x36c394['mutations'][0x0]),_0x3f8a13=_0x513c5a['Tools'][_0x556842(0x274)](_0x36c394[_0x556842(0x315)][0x0]);for(let _0x319fb7=_0x49c43c[_0x556842(0x27e)]-0x1;_0x319fb7>=0x0;_0x319fb7--){const _0x5a7e6a={'id':_0x556842(0x319),'params':{'unitId':_0x49c43c[_0x319fb7][_0x556842(0x3ed)],..._0x49c43c[_0x319fb7][_0x556842(0x28b)]}},_0x46869f={'id':_0x556842(0x319),'params':{'unitId':_0x49c43c[_0x319fb7][_0x556842(0x3ed)],..._0x49c43c[_0x319fb7]['redoState']}},_0x2c3734=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x1f5c23,_0x5a7e6a,!0x1),_0xa260d5=this[_0x556842(0x2d0)][_0x556842(0x1f2)](_0x3f8a13,_0x46869f,!0x1);if(_0x191313['isTransformMutationFailure'](_0x2c3734))throw _0x2c3734[_0x556842(0x2e8)];if(_0x191313[_0x556842(0x3d1)](_0xa260d5))throw _0xa260d5[_0x556842(0x2e8)];_0x4fbf09['unshift']({..._0x49c43c[_0x319fb7],'undoState':_0x2c3734[_0x556842(0x2d8)][_0x556842(0x32c)],'redoState':_0xa260d5[_0x556842(0x2d8)]['params']}),_0x1f5c23=_0x2c3734[_0x556842(0x1ac)],_0x3f8a13=_0xa260d5[_0x556842(0x1ac)];}this['_docStateChangeManagerService'][_0x556842(0x3f9)](_0x3f9efd,{'history':_0x2d44f2,'collaboration':_0x4fbf09});}};_0x4d6bb8=_0x3faec2([_0x2817c3(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x2817c3(0x1,_0x191313[_0x4c5fe4(0x281)]),_0x2817c3(0x2,_0x513c5a['Inject'](_0x216a55[_0x4c5fe4(0x416)]))],_0x4d6bb8);var _0x6fdb91=Object[_0x4c5fe4(0x43d)],_0x5aed6a=(_0x473637,_0x3fac19,_0x2c7244,_0x216398)=>{const _0x32a2b1=_0x4c5fe4;for(var _0x2ee24c=_0x216398>0x1?void 0x0:_0x216398?_0x6fdb91(_0x3fac19,_0x2c7244):_0x3fac19,_0x3fa0dd=_0x473637[_0x32a2b1(0x27e)]-0x1,_0x52e34b;_0x3fa0dd>=0x0;_0x3fa0dd--)(_0x52e34b=_0x473637[_0x3fa0dd])&&(_0x2ee24c=_0x52e34b(_0x2ee24c)||_0x2ee24c);return _0x2ee24c;},_0x33ef3f=(_0x18fd13,_0x465767)=>(_0x53539d,_0x16c125)=>_0x465767(_0x53539d,_0x16c125,_0x18fd13);let _0x3eccda=class{constructor(_0x455d14,_0x4cd2e6){const _0x504792=_0x4c5fe4;this[_0x504792(0x231)]=_0x455d14,this['_transformService']=_0x4cd2e6;}[_0x4c5fe4(0x276)](_0x46b6ad){const _0x4ad197=_0x4c5fe4;var _0xeffd14;const _0x43e2ad=this[_0x4ad197(0x231)][_0x4ad197(0x1c5)](_0x702727[_0x4ad197(0x29f)]),_0x39b7e9=(_0xeffd14=_0x43e2ad[_0x4ad197(0x317)]())!=null?_0xeffd14:[];if(_0x39b7e9[_0x4ad197(0x27e)]===0x0)return;const _0x5bedb2=_0x46b6ad[_0x4ad197(0x18a)],_0x528acc=[{'id':_0x4ad197(0x319),'params':{'unitId':_0x5bedb2,'actions':null,'textRanges':_0x39b7e9}}],_0x5eca48=this[_0x4ad197(0x2d0)][_0x4ad197(0x1f3)](_0x46b6ad,_0x528acc);if(!_0x191313['isTransformMutationsWithChangesetSuccess'](_0x5eca48))throw _0x5eca48[_0x4ad197(0x2e8)];const _0x6aa663=_0x5eca48['m2Prime'][0x0][_0x4ad197(0x32c)][_0x4ad197(0x478)];Array[_0x4ad197(0x38f)](_0x6aa663)&&_0x6aa663['length']&&_0x43e2ad[_0x4ad197(0x2a2)](_0x6aa663,{'unitId':_0x5bedb2,'subUnitId':_0x5bedb2},!0x1);}};_0x3eccda=_0x5aed6a([_0x33ef3f(0x0,_0x513c5a['Inject'](_0x513c5a[_0x4c5fe4(0x1a7)])),_0x33ef3f(0x1,_0x191313['ITransformService'])],_0x3eccda);var _0x369a92=Object['getOwnPropertyDescriptor'],_0x17d777=(_0x3f929f,_0x8daa15,_0x4f0f5f,_0x4741a9)=>{const _0x515a4f=_0x4c5fe4;for(var _0x54cf8a=_0x4741a9>0x1?void 0x0:_0x4741a9?_0x369a92(_0x8daa15,_0x4f0f5f):_0x8daa15,_0x14a6e5=_0x3f929f[_0x515a4f(0x27e)]-0x1,_0x52c225;_0x14a6e5>=0x0;_0x14a6e5--)(_0x52c225=_0x3f929f[_0x14a6e5])&&(_0x54cf8a=_0x52c225(_0x54cf8a)||_0x54cf8a);return _0x54cf8a;},_0x4725e2=(_0x102464,_0x40552e)=>(_0x40bf41,_0x13077a)=>_0x40552e(_0x40bf41,_0x13077a,_0x102464);let _0x226639=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0x4b34ca,_0x79bceb,_0x65855a,_0x2096be,_0x1971de,_0xbff301,_0x4461f2,_0x2b6ed5){const _0x6017e=_0x4c5fe4;super(),_0x49e871(this,_0x6017e(0x266),new _0x44d779[(_0x6017e(0x47a))](_0x1b7c3e[_0x6017e(0x2f1)][_0x6017e(0x2ef)])),(this['_docStateChangeManagerService']=_0x4b34ca,this[_0x6017e(0x3e1)]=_0x79bceb,this[_0x6017e(0x380)]=_0x65855a,this['_docTransformStateCacheService']=_0x2096be,this[_0x6017e(0x199)]=_0x1971de,this[_0x6017e(0x2cf)]=_0xbff301,this[_0x6017e(0x3a3)]=_0x4461f2,this['_localeService']=_0x2b6ed5,this[_0x6017e(0x44d)]());}[_0x4c5fe4(0x44d)](){const _0x165360=_0x4c5fe4;this[_0x165360(0x2c6)](this[_0x165360(0x3e1)]['entityInit$'][_0x165360(0x33d)](_0x1c8e3d=>{const _0x4d549a=_0x165360,_0x4cb86f=this[_0x4d549a(0x2df)][_0x4d549a(0x3f6)][_0x4d549a(0x33d)](_0x52db3e=>{const _0x4fb885=_0x4d549a;if(_0x52db3e==null)return;const {unitId:_0x4cc3a1,redoState:_0x5d285f,commandId:_0x3c4769}=_0x52db3e;if(_0x4cc3a1!==_0x1c8e3d['unitID'])return;const _0x5eede6={'id':_0x3c4769,'type':_0x513c5a[_0x4fb885(0x295)][_0x4fb885(0x308)],'params':{'unitId':_0x4cc3a1,'actions':_0x5d285f['actions'],'textRanges':null}};_0x1c8e3d[_0x4fb885(0x1f4)](_0x5eede6);});if(_0x1c8e3d['disposeWithMe'](_0x4cb86f),_0x1c8e3d instanceof _0x1b7c3e[_0x4d549a(0x2d3)]){const _0x1b29d9={'onTransformIME':_0x368d16=>this[_0x4d549a(0x380)]['transformIMECache'](_0x368d16),'onTransformState':_0x391c74=>this['_docTransformStateCacheService'][_0x4d549a(0x213)](_0x391c74),'onTransformSelections':_0x1f0776=>this[_0x4d549a(0x199)][_0x4d549a(0x276)](_0x1f0776),'onSyncEditingCollabCursor':_0x33d3b4=>this[_0x4d549a(0x2cf)]['syncEditingCollabCursor'](_0x33d3b4),'onTransformRemoteChangesetByIMECache':_0xd29d98=>this[_0x4d549a(0x380)][_0x4d549a(0x3ff)](_0xd29d98),'onTransformRemoteChangesetByStateCache':_0x4e5376=>this[_0x4d549a(0x2a7)][_0x4d549a(0x3ff)](_0x4e5376)};_0x1c8e3d[_0x4d549a(0x41e)](_0x1b29d9);}}));}};_0x226639=_0x17d777([_0x4725e2(0x0,_0x513c5a['Inject'](_0x216a55[_0x4c5fe4(0x416)])),_0x4725e2(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x1b7c3e[_0x4c5fe4(0x1cc)])),_0x4725e2(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x387262)),_0x4725e2(0x3,_0x513c5a['Inject'](_0x4d6bb8)),_0x4725e2(0x4,_0x513c5a[_0x4c5fe4(0x28e)](_0x3eccda)),_0x4725e2(0x5,_0x513c5a['Inject'](_0x2ccf5b)),_0x4725e2(0x6,_0x2b894c[_0x4c5fe4(0x3ef)]),_0x4725e2(0x7,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x186)]))],_0x226639);var _0x4c2a62=(_0x54b387=>(_0x54b387[_0x54b387['UNDEFINED']=0x0]=_0x4c5fe4(0x19e),_0x54b387[_0x54b387['OK']=0x1]='OK',_0x54b387[_0x54b387['INTERNAL_ERROR']=0x2]=_0x4c5fe4(0x19c),_0x54b387[_0x54b387['PERMISSION_DENIED']=0x3]=_0x4c5fe4(0x412),_0x54b387[_0x54b387[_0x4c5fe4(0x32e)]=0x4]=_0x4c5fe4(0x32e),_0x54b387[_0x54b387[_0x4c5fe4(0x28a)]=0x5]=_0x4c5fe4(0x28a),_0x54b387[_0x54b387['ALREADY_EXISTS']=0x6]=_0x4c5fe4(0x22d),_0x54b387[_0x54b387['INVALID_ARGUMENT']=0x7]=_0x4c5fe4(0x1af),_0x54b387[_0x54b387[_0x4c5fe4(0x2fc)]=0x8]=_0x4c5fe4(0x2fc),_0x54b387[_0x54b387[_0x4c5fe4(0x447)]=0x9]=_0x4c5fe4(0x447),_0x54b387[_0x54b387[_0x4c5fe4(0x3d5)]=0xa]='LOGIN_FAILED',_0x54b387[_0x54b387[_0x4c5fe4(0x32a)]=0xb]=_0x4c5fe4(0x32a),_0x54b387[_0x54b387[_0x4c5fe4(0x2d2)]=0xc]=_0x4c5fe4(0x2d2),_0x54b387[_0x54b387['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4c5fe4(0x3bb),_0x54b387[_0x54b387[_0x4c5fe4(0x34a)]=0xe]=_0x4c5fe4(0x34a),_0x54b387[_0x54b387[_0x4c5fe4(0x1bd)]=0xf]=_0x4c5fe4(0x1bd),_0x54b387[_0x54b387[_0x4c5fe4(0x378)]=0x10]=_0x4c5fe4(0x378),_0x54b387[_0x54b387[_0x4c5fe4(0x224)]=0x64]=_0x4c5fe4(0x224),_0x54b387[_0x54b387[_0x4c5fe4(0x181)]=0x65]=_0x4c5fe4(0x181),_0x54b387[_0x54b387[_0x4c5fe4(0x376)]=0xc9]=_0x4c5fe4(0x376),_0x54b387[_0x54b387[_0x4c5fe4(0x384)]=0xca]=_0x4c5fe4(0x384),_0x54b387[_0x54b387[_0x4c5fe4(0x3bc)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x54b387[_0x54b387['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x54b387[_0x54b387[_0x4c5fe4(0x21f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54b387[_0x54b387[_0x4c5fe4(0x3eb)]=0x1773]=_0x4c5fe4(0x3eb),_0x54b387[_0x54b387[_0x4c5fe4(0x36a)]=0x1b59]=_0x4c5fe4(0x36a),_0x54b387[_0x54b387[_0x4c5fe4(0x1db)]=0x1b5a]=_0x4c5fe4(0x1db),_0x54b387[_0x54b387[_0x4c5fe4(0x1e7)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x54b387[_0x54b387[_0x4c5fe4(0x26c)]=0x1b5c]=_0x4c5fe4(0x26c),_0x54b387[_0x54b387['APPLY_DUPLICATED']=0x1b5d]=_0x4c5fe4(0x465),_0x54b387[_0x54b387[_0x4c5fe4(0x3f3)]=0x1f41]=_0x4c5fe4(0x3f3),_0x54b387[_0x54b387['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4c5fe4(0x3b0),_0x54b387[_0x54b387[_0x4c5fe4(0x427)]=0x232a]=_0x4c5fe4(0x427),_0x54b387[_0x54b387[_0x4c5fe4(0x41c)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x54b387[_0x54b387['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4c5fe4(0x33f),_0x54b387[_0x54b387[_0x4c5fe4(0x26f)]=0x232d]=_0x4c5fe4(0x26f),_0x54b387[_0x54b387[_0x4c5fe4(0x251)]=0x2711]=_0x4c5fe4(0x251),_0x54b387[_0x54b387['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4c5fe4(0x2d9),_0x54b387[_0x54b387[_0x4c5fe4(0x373)]=0x2713]=_0x4c5fe4(0x373),_0x54b387[_0x54b387[_0x4c5fe4(0x3cc)]=0x2714]=_0x4c5fe4(0x3cc),_0x54b387[_0x54b387['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x54b387[_0x54b387['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4c5fe4(0x3fb),_0x54b387[_0x54b387['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x54b387[_0x54b387[_0x4c5fe4(0x28f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x54b387[_0x54b387[_0x4c5fe4(0x45f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x54b387[_0x54b387[_0x4c5fe4(0x1f5)]=0x271f]=_0x4c5fe4(0x1f5),_0x54b387[_0x54b387['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x4c5fe4(0x299),_0x54b387[_0x54b387['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4c5fe4(0x347),_0x54b387[_0x54b387['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4c5fe4(0x18e),_0x54b387[_0x54b387['INVALID_INVITE_CODE']=0x2ee2]=_0x4c5fe4(0x43f),_0x54b387[_0x54b387[_0x4c5fe4(0x3e3)]=0x2ee3]=_0x4c5fe4(0x3e3),_0x54b387[_0x54b387['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x54b387[_0x54b387[_0x4c5fe4(0x1c2)]=0x2ee5]=_0x4c5fe4(0x1c2),_0x54b387[_0x54b387[_0x4c5fe4(0x336)]=0x32c9]=_0x4c5fe4(0x336),_0x54b387[_0x54b387[_0x4c5fe4(0x2fb)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x54b387[_0x54b387['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x54b387[_0x54b387[_0x4c5fe4(0x3de)]=0x36b1]=_0x4c5fe4(0x3de),_0x54b387[_0x54b387[_0x4c5fe4(0x1d0)]=0x36b2]=_0x4c5fe4(0x1d0),_0x54b387[_0x54b387['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4c5fe4(0x2be),_0x54b387[_0x54b387[_0x4c5fe4(0x263)]=0x36b4]=_0x4c5fe4(0x263),_0x54b387[_0x54b387[_0x4c5fe4(0x275)]=0x36b5]=_0x4c5fe4(0x275),_0x54b387[_0x54b387[_0x4c5fe4(0x44b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x54b387[_0x54b387[_0x4c5fe4(0x400)]=0x36b7]=_0x4c5fe4(0x400),_0x54b387[_0x54b387[_0x4c5fe4(0x278)]=0x36b8]=_0x4c5fe4(0x278),_0x54b387[_0x54b387[_0x4c5fe4(0x3c4)]=0x3715]=_0x4c5fe4(0x3c4),_0x54b387[_0x54b387[_0x4c5fe4(0x260)]=0x3716]=_0x4c5fe4(0x260),_0x54b387[_0x54b387['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4c5fe4(0x3b5),_0x54b387[_0x54b387[_0x4c5fe4(0x45e)]=0x37dd]=_0x4c5fe4(0x45e),_0x54b387[_0x54b387[_0x4c5fe4(0x2cc)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x54b387[_0x54b387['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x4c5fe4(0x27f),_0x54b387[_0x54b387[_0x4c5fe4(0x446)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x54b387[_0x54b387[_0x4c5fe4(0x26b)]=0x3a9c]=_0x4c5fe4(0x26b),_0x54b387[_0x54b387[_0x4c5fe4(0x261)]=0x3a9d]=_0x4c5fe4(0x261),_0x54b387[_0x54b387[_0x4c5fe4(0x3ba)]=0x3a9e]=_0x4c5fe4(0x3ba),_0x54b387[_0x54b387[_0x4c5fe4(0x2e0)]=0x3a9f]=_0x4c5fe4(0x2e0),_0x54b387[_0x54b387[_0x4c5fe4(0x30c)]=0x3e81]=_0x4c5fe4(0x30c),_0x54b387[_0x54b387['UNRECOGNIZED']=-0x1]=_0x4c5fe4(0x3e0),_0x54b387))(_0x4c2a62||{});function _0x27baa8(_0x30287c){const _0x7ecda3=_0x4c5fe4;var _0x4ef093,_0x42bf8b;const _0x415d3d=(_0x4ef093=_0x30287c[_0x7ecda3(0x341)])==null?void 0x0:_0x4ef093[_0x7ecda3(0x2a1)],_0x256a5d=((_0x42bf8b=_0x30287c[_0x7ecda3(0x341)])==null?void 0x0:_0x42bf8b[_0x7ecda3(0x242)])||0x0;return _0x415d3d===_0x5f233a['FormulaExecuteStageType'][_0x7ecda3(0x24a)]&&_0x256a5d>0x0;}function _0x231460(_0x4df672){const _0x158081=_0x4c5fe4;return _0x4df672[_0x158081(0x340)]===_0x5f233a['FormulaExecutedStateType'][_0x158081(0x352)];}var _0x1df3bc=Object['getOwnPropertyDescriptor'],_0x28975a=(_0x11e957,_0x269556,_0x3c45f7,_0x2ceb7d)=>{const _0x1d4bde=_0x4c5fe4;for(var _0x2adc07=_0x2ceb7d>0x1?void 0x0:_0x2ceb7d?_0x1df3bc(_0x269556,_0x3c45f7):_0x269556,_0x42655c=_0x11e957[_0x1d4bde(0x27e)]-0x1,_0x2af20f;_0x42655c>=0x0;_0x42655c--)(_0x2af20f=_0x11e957[_0x42655c])&&(_0x2adc07=_0x2af20f(_0x2adc07)||_0x2adc07);return _0x2adc07;},_0x2208db=(_0x43e436,_0x899946)=>(_0x412224,_0x2823f8)=>_0x899946(_0x412224,_0x2823f8,_0x43e436);const _0x3072b4=_0x4c5fe4(0x44f),_0x37ecdf=_0x4c5fe4(0x21e),_0x272a1c='/universer-api/license/formula/limit/done';let _0x150160=class extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(_0xc04242,_0x54511d,_0x307131,_0x3dc269,_0x790c18,_0xf7dd01,_0x723bcb){const _0x46dc30=_0x4c5fe4;super(),_0x49e871(this,_0x46dc30(0x440),null),_0x49e871(this,_0x46dc30(0x1de),0x0),_0x49e871(this,_0x46dc30(0x192),0x0),_0x49e871(this,_0x46dc30(0x476),[]),_0x49e871(this,_0x46dc30(0x338),0x0),(this['_messageService']=_0xc04242,this[_0x46dc30(0x210)]=_0x54511d,this[_0x46dc30(0x2aa)]=_0x307131,this['_httpService']=_0x3dc269,this['_univerInstanceService']=_0x790c18,this[_0x46dc30(0x19d)]=_0xf7dd01,this[_0x46dc30(0x2d5)]=_0x723bcb,this[_0x46dc30(0x2b3)]());}['_initCommandInterceptor'](){const _0x43eded=_0x4c5fe4;this['disposeWithMe'](this[_0x43eded(0x210)][_0x43eded(0x323)]((_0x5317df,_0x17d2a8)=>{const _0x11e709=_0x43eded;var _0x4c5d6f;if(_0x5317df['id']!==_0x5f233a['SetFormulaCalculationStartMutation']['id'])return;const _0x7144e1=_0x5317df['params'];if(!this['_hasFormulaInDirtyRanges']((_0x4c5d6f=_0x7144e1['dirtyRanges'])!=null?_0x4c5d6f:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x11e709(0x39e)](_0x5317df,_0x17d2a8),this[_0x11e709(0x33e)](),new _0x513c5a[(_0x11e709(0x3c9))]();})),this[_0x43eded(0x2c6)](this[_0x43eded(0x210)][_0x43eded(0x1c8)]((_0x68b610,_0x56d6fb)=>{const _0x27a03e=_0x43eded;if(_0x68b610['id']!==_0x5f233a[_0x27a03e(0x418)]['id'])return;const _0x3e46b4=_0x68b610[_0x27a03e(0x32c)];if(_0x27baa8(_0x3e46b4)){const _0x551a8a=_0x513c5a[_0x27a03e(0x345)]();this['_taskIds']['push'](_0x551a8a),this[_0x27a03e(0x1e9)](_0x551a8a);}else{if(_0x231460(_0x3e46b4)&&this['_taskIds'][_0x27a03e(0x27e)]>0x0){const _0x3fe53b=this[_0x27a03e(0x476)][_0x27a03e(0x432)]();this[_0x27a03e(0x3d4)](_0x3fe53b);}}}));}[_0x4c5fe4(0x2b1)](){const _0x119192=_0x4c5fe4;super['dispose'](),this[_0x119192(0x351)](),this[_0x119192(0x476)]=[],this[_0x119192(0x192)]=0x0,this[_0x119192(0x1de)]=0x0,this[_0x119192(0x338)]=0x0;}async[_0x4c5fe4(0x39e)](_0x5e3137,_0x1540b1){const _0x23bbdf=_0x4c5fe4;for(let _0x3c3bbd=0x0;_0x3c3bbd<0x1e;_0x3c3bbd++)try{if(await this[_0x23bbdf(0x439)](),this[_0x23bbdf(0x371)]()){this[_0x23bbdf(0x410)](_0x5e3137,_0x1540b1),this[_0x23bbdf(0x3a3)][_0x23bbdf(0x218)]({'content':this['_localeService']['t'](_0x23bbdf(0x2b8)),'type':_0x3fc2d4[_0x23bbdf(0x1d5)]['Success']});return;}await new Promise(_0x59b62d=>{const _0x365cf4=_0x23bbdf;this[_0x365cf4(0x440)]=window[_0x365cf4(0x35a)](_0x59b62d,0x3e8);});}catch(_0x996b2){this[_0x23bbdf(0x19d)][_0x23bbdf(0x2e8)](_0x996b2);}this['_messageService'][_0x23bbdf(0x218)]({'content':this['_localeService']['t'](_0x23bbdf(0x25f)),'type':_0x3fc2d4[_0x23bbdf(0x1d5)]['Error']});}[_0x4c5fe4(0x410)](_0x4f47c4,_0x465248){const _0x7335e=_0x4c5fe4;try{this[_0x7335e(0x210)]['executeCommand'](_0x4f47c4['id'],_0x4f47c4['params'],_0x465248);}catch(_0x1e3a42){this['_logService'][_0x7335e(0x2e8)](_0x1e3a42);}}[_0x4c5fe4(0x2b9)](_0x31f184,_0x2ad56f){const _0x17ab32=_0x4c5fe4;_0x2ad56f<this[_0x17ab32(0x338)]||(this['_lastResponseTimestamp']=_0x2ad56f,this[_0x17ab32(0x1de)]=Number[_0x17ab32(0x32d)](_0x31f184[_0x17ab32(0x455)]),this[_0x17ab32(0x192)]=Number[_0x17ab32(0x32d)](_0x31f184[_0x17ab32(0x21d)]));}async[_0x4c5fe4(0x1e9)](_0x2cdeb2){const _0x455d95=_0x4c5fe4;var _0xe57d93,_0x360f1a;const _0x57a9cb=Date['now']();try{const _0x5cb39a=((_0xe57d93=this[_0x455d95(0x2aa)]['getConfig'](_0x1b7c3e[_0x455d95(0x1bb)]))==null?void 0x0:_0xe57d93[_0x455d95(0x20e)])||_0x37ecdf,_0x340a67=(await this[_0x455d95(0x280)]['post'](_0x5cb39a,{'body':JSON['stringify']({'taskId':_0x2cdeb2})}))[_0x455d95(0x377)];if(((_0x360f1a=_0x340a67[_0x455d95(0x2e8)])==null?void 0x0:_0x360f1a[_0x455d95(0x1be)])!==_0x4c2a62['OK'])return;this['_setFormulaLimitStatus'](_0x340a67['limitInfo'],_0x57a9cb);}catch(_0x1fb0df){this[_0x455d95(0x19d)][_0x455d95(0x2e8)](_0x1fb0df);}}async['_getFormulaLimitStatus'](_0x90c61c){const _0x224395=_0x4c5fe4;var _0x14e8f2,_0x456dae;const _0xe8f0bf=Date[_0x224395(0x2f5)]();try{const _0x3bef92=((_0x14e8f2=this[_0x224395(0x2aa)][_0x224395(0x402)](_0x1b7c3e[_0x224395(0x1bb)]))==null?void 0x0:_0x14e8f2[_0x224395(0x433)])||_0x3072b4,_0x4e4d66=_0x90c61c?_0x3bef92+'?taskId='+encodeURIComponent(_0x90c61c):_0x3bef92,_0x27d109=(await this[_0x224395(0x280)][_0x224395(0x1c5)](_0x4e4d66))[_0x224395(0x377)];if(((_0x456dae=_0x27d109[_0x224395(0x2e8)])==null?void 0x0:_0x456dae[_0x224395(0x1be)])!==_0x4c2a62['OK'])return;this[_0x224395(0x2b9)](_0x27d109[_0x224395(0x38e)],_0xe8f0bf);}catch(_0x379d32){this[_0x224395(0x19d)]['error'](_0x379d32);}}async[_0x4c5fe4(0x3d4)](_0xb71bec){const _0x1ec121=_0x4c5fe4;var _0x568d6b,_0x728b5;const _0x52c760=Date['now']();try{const _0x80949f=((_0x568d6b=this['_configService'][_0x1ec121(0x402)](_0x1b7c3e[_0x1ec121(0x1bb)]))==null?void 0x0:_0x568d6b[_0x1ec121(0x23f)])||_0x272a1c,_0x229a51=(await this[_0x1ec121(0x280)][_0x1ec121(0x3f0)](_0x80949f,{'body':JSON['stringify']({'taskId':_0xb71bec})}))[_0x1ec121(0x377)];if(((_0x728b5=_0x229a51['error'])==null?void 0x0:_0x728b5[_0x1ec121(0x1be)])!==_0x4c2a62['OK'])return;this['_setFormulaLimitStatus'](_0x229a51[_0x1ec121(0x38e)],_0x52c760);}catch(_0xe66f88){this[_0x1ec121(0x19d)][_0x1ec121(0x2e8)](_0xe66f88);}}['_checkCalculationAvailable'](){const _0x1eb2eb=_0x4c5fe4;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x1eb2eb(0x1de)]-this[_0x1eb2eb(0x192)]>0x0;}[_0x4c5fe4(0x351)](){const _0x55b17c=_0x4c5fe4;this[_0x55b17c(0x440)]&&(clearTimeout(this['_pollingInterval']),this[_0x55b17c(0x440)]=null);}[_0x4c5fe4(0x33e)](){const _0x3be18a=_0x4c5fe4;this[_0x3be18a(0x3a3)]['show']({'content':this[_0x3be18a(0x2d5)]['t'](_0x3be18a(0x2ee)),'type':_0x3fc2d4[_0x3be18a(0x1d5)][_0x3be18a(0x229)]});}[_0x4c5fe4(0x468)](_0x368fc7){const _0x4a3a6b=_0x4c5fe4;for(const _0x5e67c5 of _0x368fc7){const {unitId:_0x1a1ceb,sheetId:_0x3ce97d,range:_0x3bce77}=_0x5e67c5,_0x1745c0=this[_0x4a3a6b(0x3a4)][_0x4a3a6b(0x398)](_0x1a1ceb);if(!_0x1745c0)continue;const _0x29bcd2=_0x1745c0[_0x4a3a6b(0x2f2)](_0x3ce97d);if(!_0x29bcd2)continue;const _0x4e23dd=_0x29bcd2[_0x4a3a6b(0x1b8)]();for(let _0x58f190=_0x3bce77['startRow'];_0x58f190<=_0x3bce77[_0x4a3a6b(0x46d)];_0x58f190++)for(let _0x3b60dc=_0x3bce77[_0x4a3a6b(0x233)];_0x3b60dc<=_0x3bce77[_0x4a3a6b(0x189)];_0x3b60dc++){const _0x8eba3c=_0x4e23dd['getValue'](_0x58f190,_0x3b60dc);if(_0x8eba3c&&(_0x513c5a[_0x4a3a6b(0x2c5)](_0x8eba3c['f'])||_0x513c5a[_0x4a3a6b(0x1e1)](_0x8eba3c['si'])))return!0x0;}}return!0x1;}};_0x150160=_0x28975a([_0x2208db(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x2b894c[_0x4c5fe4(0x3ef)])),_0x2208db(0x1,_0x513c5a[_0x4c5fe4(0x444)]),_0x2208db(0x2,_0x513c5a['IConfigService']),_0x2208db(0x3,_0x513c5a['Inject'](_0x2e9ff2['HTTPService'])),_0x2208db(0x4,_0x513c5a[_0x4c5fe4(0x445)]),_0x2208db(0x5,_0x513c5a['ILogService']),_0x2208db(0x6,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a[_0x4c5fe4(0x186)]))],_0x150160);var _0x231530=Object[_0x4c5fe4(0x43d)],_0x3d94f2=(_0xde1bb9,_0x411619,_0x7d3151,_0xfd8732)=>{const _0x425ca1=_0x4c5fe4;for(var _0xebf949=_0xfd8732>0x1?void 0x0:_0xfd8732?_0x231530(_0x411619,_0x7d3151):_0x411619,_0xd962fd=_0xde1bb9[_0x425ca1(0x27e)]-0x1,_0x47e2b4;_0xd962fd>=0x0;_0xd962fd--)(_0x47e2b4=_0xde1bb9[_0xd962fd])&&(_0xebf949=_0x47e2b4(_0xebf949)||_0xebf949);return _0xebf949;},_0x83808a=(_0x2c2b69,_0x52e53f)=>(_0x3584ba,_0x3cfe2f)=>_0x52e53f(_0x3584ba,_0x3cfe2f,_0x2c2b69);let _0x4554e9=class extends _0x513c5a['Disposable']{constructor(_0x2cd39e,_0x1c0a8f,_0x265a18){const _0x48f982=_0x4c5fe4;super(),_0x49e871(this,_0x48f982(0x3aa),new Map()),_0x49e871(this,_0x48f982(0x184),new Map()),_0x49e871(this,_0x48f982(0x46b),!0x1),(this[_0x48f982(0x2aa)]=_0x2cd39e,this['_localStorageService']=_0x1c0a8f,this[_0x48f982(0x25c)]=_0x265a18);}[_0x4c5fe4(0x42e)](){const _0x175873=_0x4c5fe4;this[_0x175873(0x46b)]=!0x0;}[_0x4c5fe4(0x1a4)](){const _0x44712a=_0x4c5fe4;this[_0x44712a(0x46b)]=!0x1;}get[_0x4c5fe4(0x43a)](){const _0x7520f3=_0x4c5fe4;return this[_0x7520f3(0x184)];}[_0x4c5fe4(0x2b1)](){const _0x3a75fa=_0x4c5fe4;this[_0x3a75fa(0x441)]()[_0x3a75fa(0x3f5)](()=>super[_0x3a75fa(0x2b1)]());}async[_0x4c5fe4(0x36d)](_0x55ef15){const _0x3938d0=_0x4c5fe4;return this[_0x3938d0(0x46b)]?null:this[_0x3938d0(0x35f)][_0x3938d0(0x2dd)](_0x1b7c3e['getLocalCacheKey'](_0x55ef15));}async[_0x4c5fe4(0x211)](_0x42bff4,_0x5d7667){const _0x4e4920=_0x4c5fe4;return!!this[_0x4e4920(0x35f)][_0x4e4920(0x265)](_0x42bff4,_0x5d7667);}[_0x4c5fe4(0x30e)](_0xadd6af,_0x2e223b,_0x5383d2,_0x5a86c4){const _0xa828c6=_0x4c5fe4,_0x4a029b=this[_0xa828c6(0x25c)]['getCurrentRevOfUnit'](_0xadd6af);this[_0xa828c6(0x3aa)]['set'](_0xadd6af,{'unitID':_0xadd6af,'type':_0x2e223b,'awaitingChangeset':_0x5383d2,'mutations':_0x5a86c4,'rev':_0x4a029b}),this[_0xa828c6(0x184)][_0xa828c6(0x3c0)](_0xadd6af)||this[_0xa828c6(0x388)](_0xadd6af);}[_0x4c5fe4(0x388)](_0x282be3){const _0x1344d5=_0x4c5fe4,_0x2ea132=this[_0x1344d5(0x458)]();_0x2ea132===0x0?this[_0x1344d5(0x290)](_0x282be3):this[_0x1344d5(0x184)]['set'](_0x282be3,setTimeout(()=>this[_0x1344d5(0x290)](_0x282be3),_0x2ea132));}[_0x4c5fe4(0x458)](){const _0x3304a5=_0x4c5fe4;var _0xb5403d;return(_0xb5403d=this[_0x3304a5(0x2aa)][_0x3304a5(0x402)](_0x1b7c3e['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xb5403d:_0x1b7c3e[_0x3304a5(0x43c)];}['_saveCache'](_0x1d4d4f){const _0x22c098=_0x4c5fe4,_0x324ab1=this[_0x22c098(0x184)]['get'](_0x1d4d4f);return _0x324ab1!==void 0x0&&window[_0x22c098(0x198)](_0x324ab1),this[_0x22c098(0x35f)][_0x22c098(0x265)](_0x1b7c3e[_0x22c098(0x301)](_0x1d4d4f),this['_cachedData'][_0x22c098(0x1c5)](_0x1d4d4f))[_0x22c098(0x3f5)](()=>this[_0x22c098(0x184)][_0x22c098(0x250)](_0x1d4d4f));}async[_0x4c5fe4(0x441)](){const _0x1a6f59=_0x4c5fe4,_0x47fe28=[];this[_0x1a6f59(0x184)][_0x1a6f59(0x292)]((_0x200eab,_0x416278)=>{const _0xde0702=_0x1a6f59;window['clearTimeout'](_0x200eab),_0x47fe28[_0xde0702(0x1df)](this[_0xde0702(0x290)](_0x416278)['then'](()=>{const _0x183d91=_0xde0702;this[_0x183d91(0x184)][_0x183d91(0x250)](_0x416278);}));}),await Promise['all'](_0x47fe28);}};_0x4554e9=_0x3d94f2([_0x83808a(0x0,_0x513c5a[_0x4c5fe4(0x2a0)]),_0x83808a(0x1,_0x513c5a[_0x4c5fe4(0x47b)]),_0x83808a(0x2,_0x513c5a[_0x4c5fe4(0x28e)](_0x191313[_0x4c5fe4(0x3d6)]))],_0x4554e9);class _0x22939e extends _0x513c5a['RxDisposable']{constructor(){const _0x2137cd=_0x4c5fe4;super(),_0x49e871(this,_0x2137cd(0x2bb)),this[_0x2137cd(0x2bb)]=_0x44d779['fromEvent'](window,_0x2137cd(0x38a))['pipe'](_0x44d779[_0x2137cd(0x22b)](this[_0x2137cd(0x256)]),_0x44d779[_0x2137cd(0x1a1)](0x1),_0x44d779[_0x2137cd(0x3fe)](void 0x0));}['setParam'](_0x4221c6,_0x2fd56c,_0x51bd56=!0x1){const _0x243c94=_0x4c5fe4,_0x271c8b=new URL(window[_0x243c94(0x2a4)][_0x243c94(0x19b)]);_0x271c8b[_0x243c94(0x248)][_0x243c94(0x26a)](_0x4221c6,_0x2fd56c),_0x51bd56?window['history'][_0x243c94(0x194)]('','',_0x271c8b['toString']()):window[_0x243c94(0x39a)][_0x243c94(0x3af)]('','',_0x271c8b[_0x243c94(0x1a0)]());}[_0x4c5fe4(0x273)](_0x5e3144,_0x4051f1=!0x1){const _0x3f00e3=_0x4c5fe4,_0x39d84f=new URL(window[_0x3f00e3(0x2a4)]['href']);_0x39d84f['searchParams'][_0x3f00e3(0x250)](_0x5e3144),_0x4051f1?window['history'][_0x3f00e3(0x194)]('','',_0x39d84f[_0x3f00e3(0x1a0)]()):window['history']['pushState']('','',_0x39d84f[_0x3f00e3(0x1a0)]());}[_0x4c5fe4(0x34f)](_0x432164){const _0x4e3e1d=_0x4c5fe4;var _0xa9efa5;return(_0xa9efa5=new URL(window[_0x4e3e1d(0x2a4)]['href'])[_0x4e3e1d(0x248)][_0x4e3e1d(0x1c5)](_0x432164))!=null?_0xa9efa5:void 0x0;}}var _0x3b7f28=Object['defineProperty'],_0x6d04a6=Object[_0x4c5fe4(0x43d)],_0xd88566=(_0x176839,_0x2cf644,_0x15d6cc)=>_0x2cf644 in _0x176839?_0x3b7f28(_0x176839,_0x2cf644,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15d6cc}):_0x176839[_0x2cf644]=_0x15d6cc,_0xe7b9e7=(_0x588c4b,_0x10b775,_0x3c2562,_0x3b103c)=>{const _0x2368d5=_0x4c5fe4;for(var _0x59d53e=_0x3b103c>0x1?void 0x0:_0x3b103c?_0x6d04a6(_0x10b775,_0x3c2562):_0x10b775,_0x3cda28=_0x588c4b[_0x2368d5(0x27e)]-0x1,_0x548dca;_0x3cda28>=0x0;_0x3cda28--)(_0x548dca=_0x588c4b[_0x3cda28])&&(_0x59d53e=_0x548dca(_0x59d53e)||_0x59d53e);return _0x59d53e;},_0x45b29c=(_0x198cc6,_0x5d5c30)=>(_0x5e138d,_0x6ac9d7)=>_0x5d5c30(_0x5e138d,_0x6ac9d7,_0x198cc6),_0x2375c9=(_0x1084ee,_0x3197a2,_0x2ee76a)=>_0xd88566(_0x1084ee,_0x3197a2+'',_0x2ee76a);const _0x53dfa3=_0x4c5fe4(0x1c6);_0x1c2aca[_0x4c5fe4(0x285)]=class extends _0x513c5a[_0x4c5fe4(0x353)]{constructor(_0x346734=_0x43cb2d,_0x1ca81c,_0x1a1400,_0x246435){const _0xf48166=_0x4c5fe4;super(),this[_0xf48166(0x1a9)]=_0x346734,this[_0xf48166(0x27c)]=_0x1ca81c,this[_0xf48166(0x231)]=_0x1a1400,this[_0xf48166(0x2aa)]=_0x246435;const {..._0x511f7a}=_0x513c5a['merge']({},_0x43cb2d,this[_0xf48166(0x1a9)]);this[_0xf48166(0x2aa)][_0xf48166(0x3c7)](_0x53d765,_0x511f7a);}[_0x4c5fe4(0x286)](){const _0x47bafd=_0x4c5fe4;this['_registerDependencies'](),this[_0x47bafd(0x300)]();}[_0x4c5fe4(0x244)](){const _0x20f684=_0x4c5fe4;this[_0x20f684(0x463)]();}[_0x4c5fe4(0x2cd)](){const _0x29c11f=_0x4c5fe4;var _0x331281;const _0x1ec86f=[[_0x14caec],[_0x150160],[_0x3eccda],[_0x387262],[_0x4d6bb8],[_0x2ccf5b],[_0x24977f,{'useClass':_0x22939e}],[_0x2e9ff2['ISocketService'],{'useClass':_0x2e9ff2[_0x29c11f(0x318)]}],[_0x1b7c3e[_0x29c11f(0x30b)],{'useClass':_0x4554e9}],[_0x1c2aca['DesktopCollaborationStatusDisplayController']],[_0x226639],[_0x562633],[_0xdc7b15],[_0x400d71],[_0x1c2aca[_0x29c11f(0x408)]]];this[_0x29c11f(0x1a9)][_0x29c11f(0x25e)]&&_0x1ec86f[_0x29c11f(0x1df)]([_0xd68c02]),_0x513c5a[_0x29c11f(0x470)](this['_injector'],_0x513c5a[_0x29c11f(0x2ff)](_0x1ec86f,(_0x331281=this[_0x29c11f(0x1a9)])==null?void 0x0:_0x331281['override']));}[_0x4c5fe4(0x463)](){const _0x2aefad=_0x4c5fe4;this[_0x2aefad(0x2c6)](this['_renderManagerService'][_0x2aefad(0x287)](_0x513c5a[_0x2aefad(0x461)][_0x2aefad(0x464)],[_0x373cd3])),this[_0x2aefad(0x2c6)](this[_0x2aefad(0x27c)][_0x2aefad(0x287)](_0x513c5a[_0x2aefad(0x461)]['UNIVER_SHEET'],[_0x13ef75]));}[_0x4c5fe4(0x300)](){const _0x2c989d=_0x4c5fe4;_0x513c5a[_0x2c989d(0x339)](this[_0x2c989d(0x231)],[[_0xdc7b15],[_0x1c2aca[_0x2c989d(0x1aa)]],[_0x226639],[_0x562633],[_0x1c2aca[_0x2c989d(0x408)]],[_0x150160]]),this[_0x2c989d(0x1a9)][_0x2c989d(0x25e)]&&_0x513c5a[_0x2c989d(0x339)](this[_0x2c989d(0x231)],[[_0xd68c02]]);}},_0x2375c9(_0x1c2aca[_0x4c5fe4(0x285)],_0x4c5fe4(0x421),_0x53dfa3),_0x1c2aca['UniverCollaborationClientUIPlugin']=_0xe7b9e7([_0x513c5a['DependentOn'](_0x1b7c3e['UniverCollaborationClientPlugin']),_0x45b29c(0x1,_0x4672ea[_0x4c5fe4(0x337)]),_0x45b29c(0x2,_0x513c5a['Inject'](_0x513c5a['Injector'])),_0x45b29c(0x3,_0x513c5a[_0x4c5fe4(0x2a0)])],_0x1c2aca[_0x4c5fe4(0x285)]);var _0x2b75ad=Object[_0x4c5fe4(0x43d)],_0x22aa89=(_0x1ca7b2,_0x2a78bb,_0xd519e6,_0x6b199f)=>{const _0x3bf392=_0x4c5fe4;for(var _0x1f5c05=_0x6b199f>0x1?void 0x0:_0x6b199f?_0x2b75ad(_0x2a78bb,_0xd519e6):_0x2a78bb,_0x2c0309=_0x1ca7b2[_0x3bf392(0x27e)]-0x1,_0x3ab7e7;_0x2c0309>=0x0;_0x2c0309--)(_0x3ab7e7=_0x1ca7b2[_0x2c0309])&&(_0x1f5c05=_0x3ab7e7(_0x1f5c05)||_0x1f5c05);return _0x1f5c05;},_0x32ecb8=(_0x1ae90d,_0x4524ec)=>(_0x4fdf2c,_0x2596eb)=>_0x4524ec(_0x4fdf2c,_0x2596eb,_0x1ae90d);_0x1c2aca['BrowserCollaborationSocketService']=class extends _0x1b7c3e[_0x4c5fe4(0x1e6)]{constructor(_0x3cf5cd,_0xc4b8fd,_0xe3663d,_0x1d26e9,_0x5b624a){super(_0x3cf5cd,_0xc4b8fd,_0xe3663d,_0x1d26e9,_0x5b624a);}async[_0x4c5fe4(0x3fc)](_0x507b02){const _0x3b3058=_0x4c5fe4,_0x4f7c46=await this[_0x3b3058(0x2ab)](),_0xa81b19=this[_0x3b3058(0x403)](_0x507b02,_0x4f7c46);return this[_0x3b3058(0x375)](_0xa81b19);}[_0x4c5fe4(0x403)](_0x58b30c,_0x14be88){const _0x5da585=_0x4c5fe4,_0x2c8561=typeof window>'u'?new URL(_0x58b30c):new URL(_0x58b30c,window[_0x5da585(0x2a4)][_0x5da585(0x2ae)]);_0x2c8561[_0x5da585(0x248)]['set'](_0x5da585(0x322),_0x14be88);const _0x4badbf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5da585(0x2a4)][_0x5da585(0x314)]);return _0x4badbf[_0x5da585(0x1c5)](_0x5da585(0x2bf))&&_0x2c8561[_0x5da585(0x248)][_0x5da585(0x26a)](_0x5da585(0x2bf),_0x4badbf['get'](_0x5da585(0x2bf))),_0x2c8561[_0x5da585(0x1a0)]();}async['_getSessionTicket'](){const _0x484d53=_0x4c5fe4;var _0x286990,_0x8a2a91,_0x199a3a;const _0xb803b7=this['_configService'][_0x484d53(0x402)](_0x1b7c3e[_0x484d53(0x1bb)]),_0x199e97=(_0x286990=_0xb803b7==null?void 0x0:_0xb803b7['wsSessionTicketUrl'])!=null?_0x286990:_0x1b7c3e[_0x484d53(0x2f3)];return(_0x199a3a=(_0x8a2a91=(await this[_0x484d53(0x280)][_0x484d53(0x1c5)](_0x199e97,{'headers':{'Content-Type':_0x484d53(0x23d)}}))[_0x484d53(0x377)])==null?void 0x0:_0x8a2a91[_0x484d53(0x21b)])!=null?_0x199a3a:'';}},_0x1c2aca['BrowserCollaborationSocketService']=_0x22aa89([_0x32ecb8(0x0,_0x513c5a[_0x4c5fe4(0x28e)](_0x513c5a['Injector'])),_0x32ecb8(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2[_0x4c5fe4(0x1d2)])),_0x32ecb8(0x2,_0x513c5a[_0x4c5fe4(0x2a0)]),_0x32ecb8(0x3,_0x513c5a[_0x4c5fe4(0x469)]),_0x32ecb8(0x4,_0x191313[_0x4c5fe4(0x32b)])],_0x1c2aca[_0x4c5fe4(0x262)]);var _0x406a8f=Object[_0x4c5fe4(0x43d)],_0x44ba42=(_0xe57b4e,_0x3a230c,_0x1921d1,_0x2d331e)=>{const _0x8a4805=_0x4c5fe4;for(var _0x1e4476=_0x2d331e>0x1?void 0x0:_0x2d331e?_0x406a8f(_0x3a230c,_0x1921d1):_0x3a230c,_0x339d41=_0xe57b4e[_0x8a4805(0x27e)]-0x1,_0x80f0d0;_0x339d41>=0x0;_0x339d41--)(_0x80f0d0=_0xe57b4e[_0x339d41])&&(_0x1e4476=_0x80f0d0(_0x1e4476)||_0x1e4476);return _0x1e4476;},_0x43921a=(_0x206d29,_0x3bfd82)=>(_0x454db6,_0x7b0339)=>_0x3bfd82(_0x454db6,_0x7b0339,_0x206d29);_0x1c2aca[_0x4c5fe4(0x2ce)]=class extends _0x513c5a['Disposable']{constructor(_0x4c290c,_0x5d4173,_0x7a64aa){const _0x4cb8db=_0x4c5fe4;super(),this['_instanceService']=_0x4c290c,this[_0x4cb8db(0x280)]=_0x5d4173,this[_0x4cb8db(0x2aa)]=_0x7a64aa;}async[_0x4c5fe4(0x19f)](_0x307081,_0x4be4b4,_0x372ed1,..._0x279e88){const _0x1fdfba=_0x4c5fe4;var _0x404f94,_0x100217,_0x4b530f,_0x1c289d;const _0x39f57e=this['_instanceService'][_0x1fdfba(0x475)]();if(!_0x39f57e)throw new Error(_0x1fdfba(0x453));const _0x214e9e=((_0x404f94=this[_0x1fdfba(0x2aa)][_0x1fdfba(0x402)](_0x1b7c3e['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x404f94:_0x1b7c3e[_0x1fdfba(0x232)])+'/'+_0x307081+_0x1fdfba(0x1fc)+_0x4be4b4,_0xbb0c2b=new URL(window[_0x1fdfba(0x2a4)][_0x1fdfba(0x19b)]),_0x241c15={'scriptId':_0x307081,'runId':(_0x100217=_0xbb0c2b[_0x1fdfba(0x248)][_0x1fdfba(0x1c5)]('runId'))!=null?_0x100217:'','function':_0x4be4b4,'unitId':_0x39f57e[_0x1fdfba(0x1ca)](),'argsOfFunction':JSON[_0x1fdfba(0x227)](_0x279e88),'invokeId':(_0x4b530f=_0x372ed1[_0x1fdfba(0x392)])!=null?_0x4b530f:'','executionId':(_0x1c289d=_0x372ed1[_0x1fdfba(0x307)])!=null?_0x1c289d:''};try{const _0x3192ef=await this['_httpService'][_0x1fdfba(0x3f0)](_0x214e9e,{'body':_0x241c15});return _0x3192ef[_0x1fdfba(0x377)][_0x1fdfba(0x2e8)]&&_0x3192ef[_0x1fdfba(0x377)]['error'][_0x1fdfba(0x1be)]!==_0x4c2a62['OK']?_0x1fdfba(0x31e):_0x3192ef[_0x1fdfba(0x377)]['result'];}catch{return _0x1fdfba(0x31e);}}},_0x1c2aca[_0x4c5fe4(0x2ce)]=_0x44ba42([_0x43921a(0x0,_0x513c5a[_0x4c5fe4(0x445)]),_0x43921a(0x1,_0x513c5a[_0x4c5fe4(0x28e)](_0x2e9ff2['HTTPService'])),_0x43921a(0x2,_0x513c5a[_0x4c5fe4(0x2a0)])],_0x1c2aca[_0x4c5fe4(0x2ce)]);const _0x53eaff=0x7530,_0x1b17be='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5f486b extends _0x513c5a[_0x4c5fe4(0x294)]{constructor(){const _0x373fcd=_0x4c5fe4;super(),_0x49e871(this,_0x373fcd(0x431),_0x513c5a[_0x373fcd(0x345)]()),_0x49e871(this,_0x373fcd(0x366),new Set()),_0x49e871(this,_0x373fcd(0x22c),new Map()),_0x49e871(this,_0x373fcd(0x2eb),null),_0x49e871(this,_0x373fcd(0x372),new Map()),_0x49e871(this,'_unitStatus',new Map()),this[_0x373fcd(0x3d3)]();}['dispose'](){const _0x26fe07=_0x4c5fe4;super['dispose'](),this[_0x26fe07(0x372)]['forEach']((_0x7262b3,_0x404eca)=>this['_removeClearOtherTimer'](_0x404eca)),this['_heartbeatTimer']&&window[_0x26fe07(0x271)](this[_0x26fe07(0x2eb)]);}['getUnitStatus$'](_0xfa1b33){const _0x186d65=_0x4c5fe4;return this[_0x186d65(0x33c)](_0xfa1b33)[_0x186d65(0x23c)](_0x44d779[_0x186d65(0x399)]());}[_0x4c5fe4(0x367)](_0x32b0d1){const _0x28991b=_0x4c5fe4;this['_selfUnitIDs']['size']===0x0&&this[_0x28991b(0x1b0)](),this[_0x28991b(0x366)]['add'](_0x32b0d1),this[_0x28991b(0x407)]({'type':0x0,'memberID':this[_0x28991b(0x431)],'unitIDs':[_0x32b0d1],'isForwarded':!0x1});}['disposeUnit'](_0x515952){const _0xba9439=_0x4c5fe4;this[_0xba9439(0x366)][_0xba9439(0x250)](_0x515952),this[_0xba9439(0x366)][_0xba9439(0x217)]===0x0&&this['_heartbeatTimer']&&window[_0xba9439(0x271)](this[_0xba9439(0x2eb)]);}[_0x4c5fe4(0x3d3)](){const _0x1547fd=_0x4c5fe4;this[_0x1547fd(0x2c6)](_0x513c5a[_0x1547fd(0x241)](_0x44d779[_0x1547fd(0x460)](window,_0x1547fd(0x1a8))['subscribe'](_0x22c42a=>{const _0x5a3e23=_0x1547fd;if(_0x22c42a[_0x5a3e23(0x1d9)]!==_0x1b17be||!_0x22c42a['newValue'])return;const _0x229305=JSON[_0x5a3e23(0x1ea)](_0x22c42a[_0x5a3e23(0x31f)]);this[_0x5a3e23(0x35c)](_0x229305);}))),window[_0x1547fd(0x368)](_0x1547fd(0x396),()=>this['_send']({'type':0x1,'memberID':this[_0x1547fd(0x431)],'unitIDs':Array[_0x1547fd(0x2e2)](this[_0x1547fd(0x366)])}));}['_handleEvent'](_0xdf1afb){const _0xfaf804=_0x4c5fe4;switch(_0xdf1afb['type']){case 0x0:this[_0xfaf804(0x1f1)](_0xdf1afb);break;case 0x1:this[_0xfaf804(0x422)](_0xdf1afb);break;case 0x2:this[_0xfaf804(0x34e)](_0xdf1afb);break;}}[_0x4c5fe4(0x1f1)](_0x6c7b10){const _0x3673a3=_0x4c5fe4,{unitIDs:_0x1c20e8,memberID:_0x4154be,isForwarded:_0x2e468d}=_0x6c7b10;_0x1c20e8[_0x3673a3(0x292)](_0x3b6399=>{const _0x2d9435=_0x3673a3;if(!_0x2e468d&&this[_0x2d9435(0x22c)][_0x2d9435(0x3c0)](_0x3b6399)&&this[_0x2d9435(0x33c)](_0x3b6399)[_0x2d9435(0x320)](_0x1b7c3e[_0x2d9435(0x293)][_0x2d9435(0x282)]),!this[_0x2d9435(0x22c)][_0x2d9435(0x3c0)](_0x3b6399)||!this['_unitOnClients'][_0x2d9435(0x1c5)](_0x3b6399)['has'](_0x4154be)){const _0x2485b4=this[_0x2d9435(0x22c)][_0x2d9435(0x1c5)](_0x3b6399)||new Set();_0x2485b4[_0x2d9435(0x40c)](_0x4154be),this[_0x2d9435(0x22c)]['set'](_0x3b6399,_0x2485b4),this['_scheduleClearOtherTimer'](_0x4154be);}}),_0x2e468d||this[_0x3673a3(0x407)]({'type':0x0,'memberID':this[_0x3673a3(0x431)],'unitIDs':[...this[_0x3673a3(0x366)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1b1f93){const _0x276106=_0x4c5fe4;this['_removeClearOtherTimer'](_0x1b1f93);const _0x37bf88=window[_0x276106(0x35a)](()=>{const _0x1041b0=_0x276106;this[_0x1041b0(0x22c)]['forEach'](_0x48c0e8=>{const _0x36a1e6=_0x1041b0;_0x48c0e8[_0x36a1e6(0x250)](_0x1b1f93);});},_0x53eaff*0x2);this[_0x276106(0x372)][_0x276106(0x26a)](_0x1b1f93,_0x37bf88);}[_0x4c5fe4(0x19a)](_0xfac58a){const _0x135005=_0x4c5fe4;if(this[_0x135005(0x372)]['has'](_0xfac58a)){const _0x58cff5=this[_0x135005(0x372)]['get'](_0xfac58a);_0x58cff5&&window[_0x135005(0x198)](_0x58cff5),this[_0x135005(0x372)][_0x135005(0x26a)](_0xfac58a,null);}}[_0x4c5fe4(0x422)](_0xe73e01){const _0x23aadd=_0x4c5fe4,{memberID:_0x43933e,unitIDs:_0xd8a185}=_0xe73e01;_0xd8a185[_0x23aadd(0x292)](_0x1a409b=>{const _0x18498f=_0x23aadd;var _0x31c339;const _0x554925=this['_unitOnClients'][_0x18498f(0x1c5)](_0x1a409b);_0x554925&&(_0x554925[_0x18498f(0x250)](_0x43933e),(_0x31c339=this[_0x18498f(0x33c)](_0x1a409b))==null||_0x31c339[_0x18498f(0x320)](_0x554925['size']===0x0?_0x1b7c3e[_0x18498f(0x293)][_0x18498f(0x3c2)]:_0x1b7c3e[_0x18498f(0x293)][_0x18498f(0x282)]));}),this['_removeClearOtherTimer'](_0x43933e);}['_handleHeartbeatEvent'](_0x439d6f){const _0x10ea9b=_0x4c5fe4;this[_0x10ea9b(0x223)](_0x439d6f[_0x10ea9b(0x2e1)]);}[_0x4c5fe4(0x407)](_0x50c9c5){const _0x6f99c9=_0x4c5fe4;localStorage[_0x6f99c9(0x265)](_0x1b17be,JSON['stringify'](_0x50c9c5));}['_scheduleHeartbeat'](){const _0x57feb7=_0x4c5fe4;this[_0x57feb7(0x2eb)]=window[_0x57feb7(0x354)](()=>{const _0x8657c7=_0x57feb7;this[_0x8657c7(0x407)]({'type':0x2,'memberID':this[_0x8657c7(0x431)]});},_0x53eaff);}['_ensureSubject'](_0x3fecd4){const _0x2891ea=_0x4c5fe4;return this[_0x2891ea(0x3d0)][_0x2891ea(0x3c0)](_0x3fecd4)||this[_0x2891ea(0x3d0)][_0x2891ea(0x26a)](_0x3fecd4,new _0x44d779[(_0x2891ea(0x47a))](_0x1b7c3e['UnitStatus'][_0x2891ea(0x3c2)])),this[_0x2891ea(0x3d0)][_0x2891ea(0x1c5)](_0x3fecd4);}}_0x1c2aca['IURLService']=_0x24977f,_0x1c2aca['SheetCollabCursorShape']=_0x39b2dd,_0x1c2aca['WebBrowserSingleActiveUnitService']=_0x5f486b,_0x1c2aca[_0x4c5fe4(0x24b)]=_0x22939e,Object[_0x4c5fe4(0x2d4)](_0x1c2aca,Symbol[_0x4c5fe4(0x435)],{'value':_0x4c5fe4(0x297)});}));