@univerjs-pro/collaboration-client-ui 0.15.2-insiders.20260124-12fc7f0 → 0.15.3-insiders.20260131-b9b8805

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 (58) 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/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -0
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/locale/sk-SK.d.ts +3 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -0
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +17 -17
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1599(_0x370940,_0x42b24d){_0x370940=_0x370940-0x86;const _0x3f7c69=_0x3f7c();let _0x15993d=_0x3f7c69[_0x370940];return _0x15993d;}(function(_0x2f700f,_0x5599af){const _0x50980f=_0x1599,_0x48dfc8=_0x2f700f();while(!![]){try{const _0x1dbbea=parseInt(_0x50980f(0xf4))/0x1*(parseInt(_0x50980f(0x1dd))/0x2)+parseInt(_0x50980f(0x103))/0x3*(-parseInt(_0x50980f(0x2fe))/0x4)+parseInt(_0x50980f(0x2e8))/0x5*(-parseInt(_0x50980f(0x150))/0x6)+parseInt(_0x50980f(0x2d1))/0x7+-parseInt(_0x50980f(0x2d0))/0x8+-parseInt(_0x50980f(0x376))/0x9+parseInt(_0x50980f(0xa5))/0xa;if(_0x1dbbea===_0x5599af)break;else _0x48dfc8['push'](_0x48dfc8['shift']());}catch(_0x5629c5){_0x48dfc8['push'](_0x48dfc8['shift']());}}}(_0x3f7c,0x9f523),function(_0x5d00d1,_0x2b515c){const _0x5e8ee7=_0x1599;typeof exports==_0x5e8ee7(0x2e6)&&typeof module<'u'?_0x2b515c(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==_0x5e8ee7(0xe4)&&define[_0x5e8ee7(0x118)]?define(['exports',_0x5e8ee7(0xeb),_0x5e8ee7(0x2e3),_0x5e8ee7(0x34f),'@univerjs/ui','rxjs',_0x5e8ee7(0x15f),'react',_0x5e8ee7(0x203),_0x5e8ee7(0x29b),_0x5e8ee7(0x309),_0x5e8ee7(0x1be),_0x5e8ee7(0x1c1),_0x5e8ee7(0x369),_0x5e8ee7(0x1e1),'@univerjs/docs',_0x5e8ee7(0x1b3),_0x5e8ee7(0x18b),_0x5e8ee7(0xa0)],_0x2b515c):(_0x5d00d1=typeof globalThis<'u'?globalThis:_0x5d00d1||self,_0x2b515c(_0x5d00d1[_0x5e8ee7(0x2bc)]={},_0x5d00d1[_0x5e8ee7(0x37d)],_0x5d00d1[_0x5e8ee7(0x30a)],_0x5d00d1['UniverCore'],_0x5d00d1[_0x5e8ee7(0x26a)],_0x5d00d1[_0x5e8ee7(0xa1)],_0x5d00d1['UniverDesign'],_0x5d00d1['React'],_0x5d00d1[_0x5e8ee7(0x16a)],_0x5d00d1[_0x5e8ee7(0x1ab)],_0x5d00d1['UniverEngineRender'],_0x5d00d1[_0x5e8ee7(0x1b7)],_0x5d00d1[_0x5e8ee7(0x1ea)],_0x5d00d1[_0x5e8ee7(0x24e)],_0x5d00d1[_0x5e8ee7(0xad)],_0x5d00d1[_0x5e8ee7(0x264)],_0x5d00d1[_0x5e8ee7(0x27d)],_0x5d00d1['rxjs'][_0x5e8ee7(0x1a1)],_0x5d00d1[_0x5e8ee7(0x1de)]));}(this,function(_0x94c2a0,_0x3fba3f,_0xe836dc,_0x1acd3c,_0x3d1085,_0x52b4d8,_0x31b7ea,_0x5b1fa1,_0x501fab,_0x17a17c,_0x4dbd74,_0x26a7c0,_0x4a5890,_0x12a509,_0x1d9a86,_0x3e8285,_0x5dc12e,_0x20b870,_0x3f878d){'use strict';const _0x35dcc5=_0x1599;var _0x35d869=Object[_0x35dcc5(0x2a2)],_0x27024f=(_0x35c307,_0x5b958f,_0x43e919)=>_0x5b958f in _0x35c307?_0x35d869(_0x35c307,_0x5b958f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43e919}):_0x35c307[_0x5b958f]=_0x43e919,_0x504098=(_0x2fef61,_0x57dde8,_0x294c1e)=>_0x27024f(_0x2fef61,typeof _0x57dde8!=_0x35dcc5(0x110)?_0x57dde8+'':_0x57dde8,_0x294c1e);function _0x211bfc({ref:_0x497037,..._0x349e01}){const _0x4bec32=_0x35dcc5,{icon:_0xbd9079,id:_0x32dd70,className:_0x419ace,extend:_0x26b4c3,..._0x1ce8c3}=_0x349e01,_0x39628f=(_0x4bec32(0x370)+_0x32dd70+'\x20'+(_0x419ace||''))[_0x4bec32(0x1a8)](),_0x1c616f=_0x5b1fa1[_0x4bec32(0x1f4)]('_'+_0x40ff15());return _0x48ce0e(_0xbd9079,''+_0x32dd70,{'defIds':_0xbd9079[_0x4bec32(0x267)],'idSuffix':_0x1c616f[_0x4bec32(0x87)]},{'ref':_0x497037,'className':_0x39628f,..._0x1ce8c3},_0x26b4c3);}function _0x48ce0e(_0x31cf98,_0x20f0e6,_0x50438e,_0x40d5a7,_0x43b4da){const _0x3dcc08=_0x35dcc5;return _0x5b1fa1[_0x3dcc08(0x32a)](_0x31cf98[_0x3dcc08(0x254)],{'key':_0x20f0e6,..._0x12c8ba(_0x31cf98,_0x50438e,_0x43b4da),..._0x40d5a7},(_0x40f2e0(_0x31cf98,_0x50438e)['children']||[])[_0x3dcc08(0x365)]((_0x30ca94,_0x56047b)=>_0x48ce0e(_0x30ca94,_0x20f0e6+'-'+_0x31cf98[_0x3dcc08(0x254)]+'-'+_0x56047b,_0x50438e,void 0x0,_0x43b4da)));}function _0x12c8ba(_0x104b99,_0x2bc63d,_0x8a1bcd){const _0x2dde7d=_0x35dcc5,_0x2a4799={..._0x104b99[_0x2dde7d(0x319)]};_0x8a1bcd!=null&&_0x8a1bcd[_0x2dde7d(0x252)]&&_0x2a4799[_0x2dde7d(0x1cf)]===_0x2dde7d(0x252)&&(_0x2a4799[_0x2dde7d(0x1cf)]=_0x8a1bcd['colorChannel1']),_0x104b99[_0x2dde7d(0x254)]===_0x2dde7d(0x15a)&&_0x2a4799['id']&&(_0x2a4799['id']=_0x2a4799['id']+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x5bd208,_0x5bf351])=>{const _0x51dde4=_0x2dde7d;_0x5bd208===_0x51dde4(0x15a)&&typeof _0x5bf351==_0x51dde4(0xc1)&&(_0x2a4799[_0x5bd208]=_0x5bf351[_0x51dde4(0x2d6)](/url\(#(.*)\)/,_0x51dde4(0x170)+_0x2bc63d[_0x51dde4(0x1bf)]+')'));});const {defIds:_0x3ddcf3}=_0x2bc63d;return!_0x3ddcf3||_0x3ddcf3['length']===0x0||(_0x104b99[_0x2dde7d(0x254)]==='use'&&_0x2a4799[_0x2dde7d(0x2a1)]&&(_0x2a4799[_0x2dde7d(0x2a1)]=_0x2a4799[_0x2dde7d(0x2a1)]+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x304797,_0x111637])=>{const _0x4a5b2d=_0x2dde7d;typeof _0x111637=='string'&&(_0x2a4799[_0x304797]=_0x111637[_0x4a5b2d(0x2d6)](/url\(#(.*)\)/,'url(#$1'+_0x2bc63d['idSuffix']+')'));})),_0x2a4799;}function _0x40f2e0(_0x59e1ca,_0x12faff){const _0x40e271=_0x35dcc5;var _0x39ed88;const {defIds:_0x4d7209}=_0x12faff;return!_0x4d7209||_0x4d7209[_0x40e271(0x36b)]===0x0?_0x59e1ca:_0x59e1ca[_0x40e271(0x254)]===_0x40e271(0x194)&&((_0x39ed88=_0x59e1ca[_0x40e271(0x186)])!=null&&_0x39ed88[_0x40e271(0x36b)])?{..._0x59e1ca,'children':_0x59e1ca[_0x40e271(0x186)]['map'](_0x153e52=>typeof _0x153e52['attrs']['id']==_0x40e271(0xc1)&&_0x4d7209&&_0x4d7209[_0x40e271(0x34d)](_0x153e52[_0x40e271(0x319)]['id'])?{..._0x153e52,'attrs':{..._0x153e52[_0x40e271(0x319)],'id':_0x153e52[_0x40e271(0x319)]['id']+_0x12faff[_0x40e271(0x1bf)]}}:_0x153e52)}:_0x59e1ca;}function _0x40ff15(){const _0x84c2be=_0x35dcc5;return Math[_0x84c2be(0x306)]()[_0x84c2be(0x327)](0x24)[_0x84c2be(0x344)](0x2,0x8);}_0x211bfc['displayName']=_0x35dcc5(0x20e);const _0x477673={'tag':_0x35dcc5(0x35a),'attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':_0x35dcc5(0x1aa),'width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x21e)},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'stroke':_0x35dcc5(0x2aa),'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':_0x35dcc5(0x1b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':_0x35dcc5(0x26e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x35dcc5(0x14f)]},_0x293c47=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x36c14b,_0x3ad0db){const _0x292b50=_0x35dcc5;return _0x5b1fa1[_0x292b50(0x32a)](_0x211bfc,Object[_0x292b50(0x1e3)]({},_0x36c14b,{'id':_0x292b50(0x353),'ref':_0x3ad0db,'icon':_0x477673}));});_0x293c47['displayName']=_0x35dcc5(0xc7);const _0x2985e9={'tag':'svg','attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':'0\x200\x2017\x2016','width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x372)},'children':[{'tag':'path','attrs':{'stroke':_0x35dcc5(0x2aa),'d':_0x35dcc5(0x195),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':_0x35dcc5(0x1fa),'transform':_0x35dcc5(0x159)}}]}]}],'defIds':[_0x35dcc5(0x11c)]},_0x18a4cb=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x3f050f,_0x1e22c2){const _0x104a34=_0x35dcc5;return _0x5b1fa1[_0x104a34(0x32a)](_0x211bfc,Object[_0x104a34(0x1e3)]({},_0x3f050f,{'id':_0x104a34(0x155),'ref':_0x1e22c2,'icon':_0x2985e9}));});_0x18a4cb[_0x35dcc5(0x1a9)]=_0x35dcc5(0x22f);function _0x2260c7(_0x8fa159){const _0x47ce8c=_0x35dcc5;switch(_0x8fa159){case _0xe836dc['CollaborationStatus']['OFFLINE']:return _0x47ce8c(0x2b7);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x1fc)]:return _0x47ce8c(0x29d);case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x332)]:return _0x47ce8c(0x289);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2c5)]:return _0x47ce8c(0x24a);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2da)]:case _0xe836dc[_0x47ce8c(0x283)]['AWAITING_WITH_PENDING']:return _0x47ce8c(0x1da);case _0xe836dc[_0x47ce8c(0x283)]['SYNCED']:case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x2e2)]:return'collabStatus.synced';}}function _0x195e6b(_0x18c53d){const _0x2763b4=_0x35dcc5,{status$:_0x404c97}=_0x18c53d,_0x67a6cf=_0x3d1085[_0x2763b4(0xf8)](_0x404c97,_0xe836dc[_0x2763b4(0x283)][_0x2763b4(0x2c5)]),_0x452aca=_0x3d1085[_0x2763b4(0x21b)](_0x1acd3c[_0x2763b4(0x10c)]),_0x41e98e=_0x3d1085[_0x2763b4(0x21b)](_0xe836dc[_0x2763b4(0x1e7)]),_0xbad154=_0x67a6cf!==_0xe836dc['CollaborationStatus'][_0x2763b4(0xbe)],_0x2ac27d=_0x452aca['t'](_0x2260c7(_0x67a6cf)),_0x427f38=_0xbad154?_0x3fba3f[_0x2763b4(0x2d2)](_0x18a4cb,{}):_0x3fba3f[_0x2763b4(0x2d2)](_0x293c47,{}),_0x3a90bf=_0x5b1fa1[_0x2763b4(0x19f)](()=>{_0xbad154||_0x41e98e['reconnect']();},[_0xbad154,_0x41e98e]);function _0x138293(){const _0x3dc544=_0x2763b4;return _0x3fba3f['jsxs'](_0x3dc544(0x228),{'className':'univer-flex\x20univer-items-center','onClick':_0x3a90bf,'children':[_0x3fba3f[_0x3dc544(0x2d2)](_0x3dc544(0x228),{'className':_0x31b7ea[_0x3dc544(0x236)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xbad154,'univer-text-red-500':!_0xbad154}),'children':_0x427f38}),_0x3fba3f['jsx'](_0x3dc544(0x228),{'className':_0x3dc544(0x1a5),'children':_0x2ac27d})]});}return _0xbad154?_0x138293():_0x3fba3f[_0x2763b4(0x2d2)](_0x31b7ea['Tooltip'],{'title':_0x452aca['t'](_0x2763b4(0x2ef)),'children':_0x138293()});}var _0x23a300=Object[_0x35dcc5(0x378)],_0x312e14=(_0x49c067,_0x2a2e5d,_0x1acc11,_0x5c61f6)=>{const _0x275315=_0x35dcc5;for(var _0x41c134=_0x5c61f6>0x1?void 0x0:_0x5c61f6?_0x23a300(_0x2a2e5d,_0x1acc11):_0x2a2e5d,_0x2d963d=_0x49c067[_0x275315(0x36b)]-0x1,_0x53028e;_0x2d963d>=0x0;_0x2d963d--)(_0x53028e=_0x49c067[_0x2d963d])&&(_0x41c134=_0x53028e(_0x41c134)||_0x41c134);return _0x41c134;},_0x171612=(_0x202bf1,_0x122cc7)=>(_0x9efde4,_0x1d38cf)=>_0x122cc7(_0x9efde4,_0x1d38cf,_0x202bf1);_0x94c2a0['DesktopCollaborationStatusDisplayController']=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1a20ab,_0x1a928a,_0xe26574,_0x1da128){const _0x2ec2ad=_0x35dcc5;super(),_0x504098(this,_0x2ec2ad(0x197),new _0x52b4d8[(_0x2ec2ad(0x2eb))](_0xe836dc[_0x2ec2ad(0x283)][_0x2ec2ad(0x2c5)])),(this['_univerInstanceService']=_0x1a20ab,this[_0x2ec2ad(0x304)]=_0x1a928a,this['_collaborationController']=_0xe26574,this[_0x2ec2ad(0x226)]=_0x1da128,this[_0x2ec2ad(0x8a)](),this[_0x2ec2ad(0x273)]());}['_initStatusListener'](){const _0x3d7b6e=_0x35dcc5;this['disposeWithMe'](this[_0x3d7b6e(0x2ee)]['focused$'][_0x3d7b6e(0x22a)](_0x52b4d8['switchMap'](()=>{const _0x3c3194=_0x3d7b6e,_0x2b10f0=this[_0x3c3194(0x2ee)]['getFocusedUnit']();return _0x2b10f0?this[_0x3c3194(0x2c7)]['getCollabEntity$'](_0x2b10f0[_0x3c3194(0x2cb)]()):_0x52b4d8['of'](null);}),_0x52b4d8[_0x3d7b6e(0x1ac)](_0xc0291b=>_0xc0291b?_0xc0291b[_0x3d7b6e(0x363)]:_0x52b4d8['of'](_0xe836dc[_0x3d7b6e(0x283)][_0x3d7b6e(0x2c5)])))['subscribe'](_0x5284f2=>{const _0x4084c2=_0x3d7b6e;this[_0x4084c2(0x197)]['next'](_0x5284f2);}));}[_0x35dcc5(0x8a)](){const _0x23b3d8=_0x35dcc5;this[_0x23b3d8(0x362)](this[_0x23b3d8(0x226)][_0x23b3d8(0x131)](_0x3d1085['BuiltInUIPart'][_0x23b3d8(0x234)],()=>_0x3d1085[_0x23b3d8(0xa8)](_0x37946a({'status$':this[_0x23b3d8(0x197)]['asObservable']()}),this[_0x23b3d8(0x304)])));}},_0x94c2a0[_0x35dcc5(0x34a)]=_0x312e14([_0x171612(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x171612(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x171612(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x171612(0x3,_0x3d1085[_0x35dcc5(0x1ee)])],_0x94c2a0[_0x35dcc5(0x34a)]);function _0x37946a(_0x100f22){const {status$:_0x18150e}=_0x100f22;return function(){const _0x4f4a77=_0x1599;return _0x3fba3f[_0x4f4a77(0x2d2)](_0x195e6b,{'status$':_0x18150e});};}const _0x47bc3f=_0x1acd3c[_0x35dcc5(0xcd)](_0x35dcc5(0x233));var _0x30153f=Object[_0x35dcc5(0x378)],_0x1252a5=(_0x2257d3,_0x5494dd,_0x5cb6f5,_0x7879f0)=>{const _0x2a1102=_0x35dcc5;for(var _0x1cc70a=_0x7879f0>0x1?void 0x0:_0x7879f0?_0x30153f(_0x5494dd,_0x5cb6f5):_0x5494dd,_0x41bb78=_0x2257d3[_0x2a1102(0x36b)]-0x1,_0x58d480;_0x41bb78>=0x0;_0x41bb78--)(_0x58d480=_0x2257d3[_0x41bb78])&&(_0x1cc70a=_0x58d480(_0x1cc70a)||_0x1cc70a);return _0x1cc70a;},_0x45e21c=(_0x25fa75,_0x2a8446)=>(_0x53b1fc,_0x5ebac0)=>_0x2a8446(_0x53b1fc,_0x5ebac0,_0x25fa75);_0x94c2a0[_0x35dcc5(0xdc)]=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x282073,_0x531c05,_0x3cee84,_0x59b84a,_0x3a9824){const _0x4e7ec=_0x35dcc5;super(),this[_0x4e7ec(0x1a7)]=_0x282073,this['_logService']=_0x531c05,this[_0x4e7ec(0xe6)]=_0x3cee84,this[_0x4e7ec(0xa3)]=_0x59b84a,_0x3a9824?_0x3a9824==null||_0x3a9824[_0x4e7ec(0x115)]()[_0x4e7ec(0x1c3)](()=>this[_0x4e7ec(0x216)]()):(this[_0x4e7ec(0x94)]['debug']('[CollaborationDataLoaderController]',_0x4e7ec(0xd4)),this[_0x4e7ec(0x216)]());}async['_init'](){const _0x3c9016=_0x35dcc5,_0x359e09=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)](_0x3c9016(0xb3)),_0x2a70a7=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('type'),_0xebe472=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('subunit');if(!_0x359e09||!_0x2a70a7){this[_0x3c9016(0x94)]['debug'](_0x3c9016(0xc9),_0x3c9016(0x137));return;}const _0x56e723=await this[_0x3c9016(0xa3)]['loadUnit'](_0x359e09,Number(_0x2a70a7),_0xebe472);_0x56e723&&_0x56e723 instanceof _0x1acd3c[_0x3c9016(0x30b)]&&this[_0x3c9016(0x35f)](_0x56e723);}async[_0x35dcc5(0x35f)](_0x391853){const _0x462bbf=_0x35dcc5;await this['_updateSubUnitFromURLParams'](_0x391853),_0x391853['activeSheet$'][_0x462bbf(0x22a)](_0x52b4d8['takeUntil'](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](_0x483523=>{const _0x394cb9=_0x462bbf;_0x483523&&this[_0x394cb9(0x371)](_0x483523);}),this[_0x462bbf(0x1a7)][_0x462bbf(0xec)][_0x462bbf(0x22a)](_0x52b4d8[_0x462bbf(0xa7)](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](()=>this[_0x462bbf(0x1d2)](_0x391853));}['_updateURLWithCurrentState'](_0x2b8b8e,_0x406834=!0x1){const _0x5e90a2=_0x35dcc5,_0x443e46=this['_urlService'][_0x5e90a2(0x1a2)]('subunit');_0x2b8b8e[_0x5e90a2(0xc5)]()!==_0x443e46&&this['_urlService'][_0x5e90a2(0x130)](_0x5e90a2(0x2a3),_0x2b8b8e[_0x5e90a2(0xc5)](),_0x406834);}async[_0x35dcc5(0x1d2)](_0x387788){const _0x45765b=_0x35dcc5;var _0x350ee1;const _0x168bc1=this[_0x45765b(0x1a7)]['getParam'](_0x45765b(0x2a3));if(!_0x168bc1||!_0x387788[_0x45765b(0x14b)](_0x168bc1)){const _0x5c4a43=_0x387788[_0x45765b(0xcf)]()[0x0],_0xb99076=_0x387788[_0x45765b(0x14b)](_0x5c4a43);if(!_0xb99076)return;this[_0x45765b(0x371)](_0xb99076,!0x0),await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x5c4a43});return;}((_0x350ee1=_0x387788['getActiveSheet']())==null?void 0x0:_0x350ee1[_0x45765b(0xc5)]())!==_0x168bc1&&await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x168bc1});}},_0x94c2a0[_0x35dcc5(0xdc)]=_0x1252a5([_0x45e21c(0x0,_0x47bc3f),_0x45e21c(0x1,_0x1acd3c[_0x35dcc5(0x296)]),_0x45e21c(0x2,_0x1acd3c[_0x35dcc5(0x27e)]),_0x45e21c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1df)])),_0x45e21c(0x4,_0x1acd3c[_0x35dcc5(0x220)](_0x501fab[_0x35dcc5(0x357)]))],_0x94c2a0['CollaborationDataLoaderController']);var _0x559fad=Object[_0x35dcc5(0x378)],_0x3f059e=(_0x3ce31f,_0x50c7e8,_0x293c28,_0x3ad049)=>{const _0x2cdfc2=_0x35dcc5;for(var _0x5b8ac2=_0x3ad049>0x1?void 0x0:_0x3ad049?_0x559fad(_0x50c7e8,_0x293c28):_0x50c7e8,_0x2e93a5=_0x3ce31f[_0x2cdfc2(0x36b)]-0x1,_0x3f8908;_0x2e93a5>=0x0;_0x2e93a5--)(_0x3f8908=_0x3ce31f[_0x2e93a5])&&(_0x5b8ac2=_0x3f8908(_0x5b8ac2)||_0x5b8ac2);return _0x5b8ac2;},_0xffe697=(_0x5a8d82,_0x8374e)=>(_0x288e3d,_0x834361)=>_0x8374e(_0x288e3d,_0x834361,_0x5a8d82);let _0x774444=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x27fffd,_0xa2a3cb){const _0x5f06e1=_0x35dcc5;super(),this['_docClipboardService']=_0x27fffd,this[_0x5f06e1(0x2f7)]=_0xa2a3cb,this[_0x5f06e1(0x216)]();}[_0x35dcc5(0x216)](){const _0x27c2d6=_0x35dcc5,_0x222067=this;this[_0x27c2d6(0x362)](this[_0x27c2d6(0x123)][_0x27c2d6(0x2d7)]({'onBeforePasteImage':async _0x3101fb=>{const _0x14475b=_0x27c2d6,_0x29756a=await _0x222067[_0x14475b(0x2f7)][_0x14475b(0x149)](_0x3101fb);return _0x29756a?{'source':_0x29756a[_0x14475b(0x315)],'imageSourceType':_0x29756a[_0x14475b(0x30c)]}:null;}}));}};_0x774444=_0x3f059e([_0xffe697(0x0,_0x4a5890[_0x35dcc5(0x36f)]),_0xffe697(0x1,_0x12a509[_0x35dcc5(0x1dc)])],_0x774444);const _0x1718b1=[_0x35dcc5(0x310),'jiqing.500',_0x35dcc5(0x1d8),_0x35dcc5(0x2a7),_0x35dcc5(0x1e6),_0x35dcc5(0x16f)];class _0x2ecc79 extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(){const _0x5b4afb=_0x35dcc5;super(...arguments),_0x504098(this,'_assignedColors',new Map()),_0x504098(this,_0x5b4afb(0x19a),0x0);}[_0x35dcc5(0x20b)](_0x3ee6d4){const _0x3c6906=_0x35dcc5;if(this[_0x3c6906(0x2df)]['has'](_0x3ee6d4))return this['_assignedColors']['get'](_0x3ee6d4);const _0x458338=_0x1718b1[this[_0x3c6906(0x19a)]];return this['_colorIndex']=(this[_0x3c6906(0x19a)]+0x1)%_0x1718b1['length'],this['_assignedColors']['set'](_0x3ee6d4,_0x458338),_0x458338;}}function _0x5d330d(_0x420db9){const _0x2e4a54=_0x35dcc5;let _0x314c01='';for(const _0xb15f6c of _0x420db9){const {startOffset:_0x41eeef,endOffset:_0x53204a,isActive:_0x65b53b,rangeType:_0x5d43a3,segmentId:_0x221839,segmentPage:_0x2a111a}=_0xb15f6c;_0x314c01[_0x2e4a54(0x36b)]&&(_0x314c01+=','),_0x314c01+=_0x41eeef+':'+_0x53204a+':'+(_0x65b53b?'1':'0')+':'+_0x5d43a3+':'+_0x221839+':'+_0x2a111a;}return _0x314c01;}function _0x220161(_0x38ccd0){const _0x59e2d1=_0x35dcc5,_0x3c708f=_0x38ccd0[_0x59e2d1(0x92)](','),_0x156521=[];for(const _0x4dcc89 of _0x3c708f){const [_0x41cfb4,_0x5e708a,_0x2980aa,_0x48140e,_0x3a5bb7,_0x17cd4a]=_0x4dcc89[_0x59e2d1(0x92)](':');_0x156521['push']({'startOffset':Number(_0x41cfb4),'endOffset':Number(_0x5e708a),'collapsed':_0x41cfb4===_0x5e708a,'isActive':_0x2980aa==='1','rangeType':_0x48140e===_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]?_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]:_0x1acd3c['DOC_RANGE_TYPE'][_0x59e2d1(0x1ca)],'segmentId':typeof _0x3a5bb7==_0x59e2d1(0xc1)?String(_0x3a5bb7):'','segmentPage':Number(_0x17cd4a!=null?_0x17cd4a:-0x1)});}return _0x156521[_0x59e2d1(0x263)](_0x3a92df=>_0x3a92df[_0x59e2d1(0x224)])||(_0x156521[0x0]['isActive']=!0x0),_0x156521;}class _0x4fc58b extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(){const _0x3d46b6=_0x35dcc5;super(...arguments),_0x504098(this,'_collabCursorState$',new _0x52b4d8[(_0x3d46b6(0x2eb))](null)),_0x504098(this,'collabCursorState$',this[_0x3d46b6(0x2cc)][_0x3d46b6(0x34c)]());}[_0x35dcc5(0xbb)](_0x30e0a5){const _0x11a319=_0x35dcc5,{unitID:_0x4cb71d,memberID:_0x46810,textRanges:_0x356948}=_0x30e0a5,_0x2c127c=_0x5d330d(_0x356948);if(_0x2c127c==='')return;const _0x55093e={'unitID':_0x4cb71d,'memberID':_0x46810,'selection':_0x2c127c};this[_0x11a319(0x2cc)][_0x11a319(0xba)](_0x55093e);}}var _0x4d86e5=Object[_0x35dcc5(0x378)],_0x29e528=(_0x5580f8,_0xa96d9,_0x478241,_0x10a1f5)=>{const _0x31ad4a=_0x35dcc5;for(var _0xa2f84e=_0x10a1f5>0x1?void 0x0:_0x10a1f5?_0x4d86e5(_0xa96d9,_0x478241):_0xa96d9,_0x3019bc=_0x5580f8[_0x31ad4a(0x36b)]-0x1,_0x58519a;_0x3019bc>=0x0;_0x3019bc--)(_0x58519a=_0x5580f8[_0x3019bc])&&(_0xa2f84e=_0x58519a(_0xa2f84e)||_0xa2f84e);return _0xa2f84e;},_0x42c20c=(_0x12f8f2,_0x192cc8)=>(_0x3c8505,_0x6696f4)=>_0x192cc8(_0x3c8505,_0x6696f4,_0x12f8f2);const _0x3691bf=0x12c,_0x120aad=0x64;let _0x51b1c2=class extends _0x1acd3c['RxDisposable']{constructor(_0x3b2bf6,_0x1641d1,_0x105b0d,_0x342580,_0x45c2a5,_0x58366f,_0x179120,_0x2b73ae,_0x2c0d60){const _0x13d47f=_0x35dcc5;super(),_0x504098(this,_0x13d47f(0x1c7),!0x1),_0x504098(this,'_init',!0x1),_0x504098(this,_0x13d47f(0x8e),new _0x52b4d8[(_0x13d47f(0x2eb))](new Map())),_0x504098(this,_0x13d47f(0xfc),this[_0x13d47f(0x8e)][_0x13d47f(0x34c)]()),_0x504098(this,_0x13d47f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,'roomMembers$',this[_0x13d47f(0x312)][_0x13d47f(0x22a)](_0x52b4d8['debounceTime'](_0x3691bf))),_0x504098(this,_0x13d47f(0x206),_0x1acd3c['debounce'](_0x4ad5bb=>{const _0x51864d=_0x13d47f,_0xdc0a6e={'eventID':_0x1d9a86[_0x51864d(0xd6)][_0x51864d(0x17b)],'data':{'unitID':this['unitID'],'memberID':this[_0x51864d(0x238)][_0x51864d(0x1b1)](),'selection':_0x5d330d(_0x4ad5bb)}};this[_0x51864d(0x238)][_0x51864d(0x32f)](_0xdc0a6e,this[_0x51864d(0x181)]);},_0x120aad)),(this[_0x13d47f(0x181)]=_0x3b2bf6,this[_0x13d47f(0x238)]=_0x1641d1,this[_0x13d47f(0x304)]=_0x105b0d,this[_0x13d47f(0x335)]=_0x342580,this['_memberService']=_0x45c2a5,this[_0x13d47f(0x1d5)]=_0x58366f,this['_transformService']=_0x179120,this['_univerInstanceService']=_0x2b73ae,this[_0x13d47f(0xe6)]=_0x2c0d60);}get[_0x35dcc5(0x2ba)](){const _0xaae948=_0x35dcc5;return this[_0xaae948(0x8e)]['getValue']();}get['roomMembers'](){const _0x508e6d=_0x35dcc5;return this['_roomMembers$'][_0x508e6d(0x20a)]();}[_0x35dcc5(0x381)](){const _0x4301d1=_0x35dcc5;super['dispose'](),this['_cursorInfo$'][_0x4301d1(0xba)](new Map()),this[_0x4301d1(0x8e)][_0x4301d1(0x269)](),this[_0x4301d1(0x312)][_0x4301d1(0xba)]([]),this[_0x4301d1(0x312)][_0x4301d1(0x269)]();}['init'](){const _0x5eb9f1=_0x35dcc5;this[_0x5eb9f1(0x216)]||(this[_0x5eb9f1(0x216)]=!0x0,this[_0x5eb9f1(0x238)][_0x5eb9f1(0x262)]['pipe'](_0x52b4d8[_0x5eb9f1(0xa7)](this[_0x5eb9f1(0x2f9)]))[_0x5eb9f1(0xc6)](_0x91d8ed=>{const _0x8713b1=_0x5eb9f1;_0x91d8ed===_0xe836dc[_0x8713b1(0x28c)]['ONLINE']?this[_0x8713b1(0x2be)]():this[_0x8713b1(0x322)]();}),this[_0x5eb9f1(0x238)][_0x5eb9f1(0x9d)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x300e95=>{const _0x38d6d3=_0x5eb9f1,_0x1788f0=_0x300e95['eventID'];_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)][_0x38d6d3(0x17b)]&&this[_0x38d6d3(0x20f)](_0x300e95),_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)]['USERS_LEAVE']&&this[_0x38d6d3(0x298)](_0x300e95);}),this[_0x5eb9f1(0x362)](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17681e=>{const _0x4f2df0=_0x5eb9f1,_0x53d003=_0x17681e[_0x4f2df0(0x164)];_0x53d003!=null&&this[_0x4f2df0(0x1c7)]&&_0x17681e['id']===_0x3e8285['SetTextSelectionsOperation']['id']&&_0x53d003[_0x4f2df0(0x334)]===this[_0x4f2df0(0x181)]&&_0x53d003[_0x4f2df0(0x33b)]===!0x1&&_0x53d003[_0x4f2df0(0x22e)][_0x4f2df0(0x36b)]>0x0&&this[_0x4f2df0(0x206)](_0x53d003[_0x4f2df0(0x22e)]);})),this[_0x5eb9f1(0x1d5)][_0x5eb9f1(0x193)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x55ae26=>{const _0xeaf0d0=_0x5eb9f1;if((_0x55ae26==null?void 0x0:_0x55ae26[_0xeaf0d0(0x181)])!==this[_0xeaf0d0(0x181)])return;const _0x40b768={'eventID':_0x1d9a86['CollaborationEvent'][_0xeaf0d0(0x17b)],'data':_0x55ae26};this['_onCursorUpdate'](_0x40b768);}),this['disposeWithMe'](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17707a=>{const _0x5a9ae4=_0x5eb9f1;if(_0x17707a[_0x5a9ae4(0x164)]==null)return;const _0x3bf9ff=_0x17707a['params'];if(_0x17707a['id']!==_0x3e8285[_0x5a9ae4(0x295)]['id']||_0x3bf9ff['unitId']!==this[_0x5a9ae4(0x181)])return;const _0x508b6c={'id':_0x5a9ae4(0x2b8),'params':_0x3bf9ff},_0x1f6859=this['cursorInfo'];for(const [_0x451c28,_0x4f2bbb]of _0x1f6859){const _0x208183={'id':_0x5a9ae4(0x2b8),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4f2bbb['ranges']}},_0x458c03=this[_0x5a9ae4(0x2a5)]['transformMutation'](_0x508b6c,_0x208183,!0x1);if(_0x1d9a86[_0x5a9ae4(0xd0)](_0x458c03))throw _0x458c03[_0x5a9ae4(0x36d)];_0x1f6859[_0x5a9ae4(0x375)](_0x451c28,{..._0x4f2bbb,'ranges':_0x458c03[_0x5a9ae4(0x167)]['params'][_0x5a9ae4(0x35b)]});}queueMicrotask(()=>{const _0x2f9da9=_0x5a9ae4;this[_0x2f9da9(0x8e)]['next'](_0x1f6859);});})));}[_0x35dcc5(0x20f)](_0x3f8d42){const _0xd60897=_0x35dcc5;var _0x56d8dd,_0x8d75c9;const {memberID:_0x2c6b6a,selection:_0x3e5c71}=_0x3f8d42[_0xd60897(0xe5)],_0x49ccff=_0x220161(_0x3e5c71),_0x1d8408=(_0x8d75c9=(_0x56d8dd=this['_memberService'][_0xd60897(0x1eb)](this[_0xd60897(0x181)],_0x2c6b6a))==null?void 0x0:_0x56d8dd[_0xd60897(0x10b)])!=null?_0x8d75c9:_0xd60897(0x21a),_0x40a6af={'color':this[_0xd60897(0x335)][_0xd60897(0x20b)](_0x2c6b6a),'name':_0x1d8408,'ranges':_0x49ccff},_0x4e5bc8=this['cursorInfo'];_0x4e5bc8['set'](_0x2c6b6a,_0x40a6af),this['_cursorInfo$'][_0xd60897(0xba)](_0x4e5bc8);}[_0x35dcc5(0x298)](_0x54440c){const _0xa8ebf=_0x35dcc5,{memberID:_0x2cac70}=_0x54440c[_0xa8ebf(0xe5)],_0x2406d8=this[_0xa8ebf(0x2ba)];_0x2406d8[_0xa8ebf(0x2bb)](_0x2cac70),this['_cursorInfo$'][_0xa8ebf(0xba)](_0x2406d8);}[_0x35dcc5(0x2be)](){const _0x305610=_0x35dcc5;var _0x50af44;if(this[_0x305610(0x1c7)]=!0x0,((_0x50af44=this['_univerInstanceService'][_0x305610(0x21c)]())==null?void 0x0:_0x50af44[_0x305610(0x2cb)]())!==this[_0x305610(0x181)])return;const _0x17019e=this[_0x305610(0x304)][_0x305610(0x343)](_0x3e8285['DocSelectionManagerService'])[_0x305610(0x172)]();Array[_0x305610(0x245)](_0x17019e)&&_0x17019e[_0x305610(0x36b)]>0x0&&this[_0x305610(0x206)](_0x17019e);}[_0x35dcc5(0x322)](){this['_online']=!0x1;}};_0x51b1c2=_0x29e528([_0x42c20c(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x42c20c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x42c20c(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x42c20c(0x5,_0x1acd3c['Inject'](_0x4fc58b)),_0x42c20c(0x6,_0x1d9a86['ITransformService']),_0x42c20c(0x7,_0x1acd3c[_0x35dcc5(0x329)]),_0x42c20c(0x8,_0x1acd3c[_0x35dcc5(0x27e)])],_0x51b1c2);var _0x4ea420=Object['getOwnPropertyDescriptor'],_0x55cd00=(_0x579146,_0x1d360a,_0x4dc7ee,_0x5ab8d5)=>{for(var _0xb45386=_0x5ab8d5>0x1?void 0x0:_0x5ab8d5?_0x4ea420(_0x1d360a,_0x4dc7ee):_0x1d360a,_0xf02477=_0x579146['length']-0x1,_0x3f33f1;_0xf02477>=0x0;_0xf02477--)(_0x3f33f1=_0x579146[_0xf02477])&&(_0xb45386=_0x3f33f1(_0xb45386)||_0xb45386);return _0xb45386;},_0x160e72=(_0x24e3f6,_0x296fa2)=>(_0x364b43,_0x49fbc4)=>_0x296fa2(_0x364b43,_0x49fbc4,_0x24e3f6);const _0x5d23a5=0x12c,_0x2bf8bd=0x64,_0x5f1747=()=>{let _0x471273=[],_0x590510=!0x1;return _0x513e63=>{const _0x30d1b6=_0x1599;_0x471273[_0x30d1b6(0x2c2)](_0x513e63),_0x590510||(_0x590510=!0x0,setTimeout(()=>{_0x471273['forEach'](_0x564b6c=>_0x564b6c()),_0x471273=[],_0x590510=!0x1;}));};};let _0x3b7df7=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x41947c,_0x3cedfb,_0x175980,_0x22dd78,_0x298a3f,_0x137d6f,_0x1639f9,_0x890848){const _0x21010f=_0x35dcc5;super(),_0x504098(this,'_online',!0x1),_0x504098(this,_0x21010f(0x216),!0x1),_0x504098(this,_0x21010f(0x8e),new _0x52b4d8['BehaviorSubject'](new Map())),_0x504098(this,_0x21010f(0xfc),this[_0x21010f(0x8e)][_0x21010f(0x34c)]()),_0x504098(this,_0x21010f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,_0x21010f(0x2c4),this[_0x21010f(0x312)][_0x21010f(0x22a)](_0x52b4d8[_0x21010f(0x287)](_0x5d23a5))),_0x504098(this,'_updateLocalCursor',_0x1acd3c['debounce']((_0x4bb9da,_0x2a31ff)=>{const _0x3489a0=_0x21010f,_0x2b94e0={'eventID':_0x1d9a86['CollaborationEvent'][_0x3489a0(0x17b)],'data':{'unitID':this[_0x3489a0(0x181)],'memberID':this['_session'][_0x3489a0(0x1b1)](),'selection':_0x5dc12e[_0x3489a0(0x290)](_0x4bb9da,_0x2a31ff[_0x3489a0(0x251)])}};this[_0x3489a0(0x238)][_0x3489a0(0x32f)](_0x2b94e0,this['unitID']);},_0x2bf8bd)),(this[_0x21010f(0x181)]=_0x41947c,this[_0x21010f(0x238)]=_0x3cedfb,this[_0x21010f(0x304)]=_0x175980,this[_0x21010f(0x335)]=_0x22dd78,this[_0x21010f(0x360)]=_0x298a3f,this['_univerInstanceService']=_0x137d6f,this[_0x21010f(0xe6)]=_0x1639f9,this[_0x21010f(0x1c8)]=_0x890848);}get[_0x35dcc5(0x2ba)](){const _0x149ca3=_0x35dcc5;return this['_cursorInfo$'][_0x149ca3(0x20a)]();}get['roomMembers'](){const _0x3fd6ae=_0x35dcc5;return this[_0x3fd6ae(0x312)][_0x3fd6ae(0x20a)]();}['dispose'](){const _0x2a7397=_0x35dcc5;super['dispose'](),this[_0x2a7397(0x8e)]['next'](new Map()),this[_0x2a7397(0x8e)][_0x2a7397(0x269)](),this[_0x2a7397(0x312)][_0x2a7397(0xba)]([]),this[_0x2a7397(0x312)][_0x2a7397(0x269)]();}['init'](){const _0x5ca263=_0x35dcc5;this[_0x5ca263(0x216)]||(this[_0x5ca263(0x216)]=!0x0,this[_0x5ca263(0x238)][_0x5ca263(0x262)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0xbe613=>{const _0x24c4d9=_0x5ca263;_0xbe613===_0xe836dc[_0x24c4d9(0x28c)][_0x24c4d9(0xed)]?this[_0x24c4d9(0x2be)]():this[_0x24c4d9(0x322)]();}),this[_0x5ca263(0x238)][_0x5ca263(0x9d)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0x9465f6=>{const _0x57e842=_0x5ca263,_0x538caa=_0x9465f6[_0x57e842(0xc4)];_0x538caa===_0x1d9a86['CollaborationEvent'][_0x57e842(0x17b)]&&this[_0x57e842(0x20f)](_0x9465f6),_0x538caa===_0x1d9a86[_0x57e842(0xd6)][_0x57e842(0x2f2)]&&this['_onCursorDelete'](_0x9465f6);}),this[_0x5ca263(0x223)](),this['disposeWithMe'](this[_0x5ca263(0xe6)][_0x5ca263(0x1d7)](_0x3595f2=>{const _0x49d99d=_0x5ca263;if(this['_online']&&_0x3595f2['id']===_0x17a17c[_0x49d99d(0xe9)]['id']&&_0x3595f2[_0x49d99d(0x164)]['unitId']===this[_0x49d99d(0x181)]){const _0x394ffd=_0x3595f2[_0x49d99d(0x164)];this[_0x49d99d(0x206)](_0x394ffd[_0x49d99d(0x1f0)],_0x394ffd[_0x49d99d(0x320)][0x0]);}})));}[_0x35dcc5(0x20f)](_0x3c5223){const _0x4cc9da=_0x35dcc5;var _0x551f96,_0x29411c;const {memberID:_0x5f591f,selection:_0x44a582}=_0x3c5223[_0x4cc9da(0xe5)],{sheetName:_0x26c58a,range:_0x53328d}=_0x5dc12e[_0x4cc9da(0x171)](_0x44a582),_0x47f0a0={'name':(_0x29411c=(_0x551f96=this[_0x4cc9da(0x360)][_0x4cc9da(0x1eb)](this['unitID'],_0x5f591f))==null?void 0x0:_0x551f96['name'])!=null?_0x29411c:_0x4cc9da(0x21a),'range':this[_0x4cc9da(0x36e)](_0x26c58a,_0x53328d),'sheetID':_0x26c58a,'color':this[_0x4cc9da(0x335)]['assignAColorForMemberID'](_0x5f591f),'selection':_0x44a582},_0x16605a=this[_0x4cc9da(0x2ba)];_0x16605a[_0x4cc9da(0x375)](_0x5f591f,_0x47f0a0),this[_0x4cc9da(0x8e)][_0x4cc9da(0xba)](_0x16605a);}[_0x35dcc5(0x298)](_0x504778){const _0x1354d0=_0x35dcc5,{memberID:_0x3b660a}=_0x504778[_0x1354d0(0xe5)],_0x3dc5e1=this[_0x1354d0(0x2ba)];_0x3dc5e1[_0x1354d0(0x2bb)](_0x3b660a),this['_cursorInfo$'][_0x1354d0(0xba)](_0x3dc5e1);}[_0x35dcc5(0x36e)](_0x3687fd,_0x2c541f){const _0x26d029=_0x35dcc5;var _0xf11c7e,_0x293598;const _0x4df95c=(_0x293598=(_0xf11c7e=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x26d029(0x181)]))==null?void 0x0:_0xf11c7e[_0x26d029(0x14b)](_0x3687fd))==null?void 0x0:_0x293598['getMergeData']();return(_0x4df95c==null?void 0x0:_0x4df95c[_0x26d029(0x2f0)](_0x5689bc=>_0x1acd3c[_0x26d029(0x1e8)][_0x26d029(0x145)](_0x5689bc,_0x2c541f)))||_0x2c541f;}[_0x35dcc5(0x223)](){const _0x422792=_0x35dcc5,_0x161d97=new _0x1acd3c[(_0x422792(0x1f9))](),_0x49ddca=_0x5f1747(),_0x2069ff=()=>{const _0x287e23=_0x422792;_0x161d97['dispose']();const _0x245884=(_0x4bbf36,_0x545f28,_0x17bb45,_0x5d6b10)=>{const _0x47375b=_0x1599;let _0x3da4b4=[];switch(_0x4bbf36['id']){case _0x17a17c[_0x47375b(0x125)]['DeleteRangeMoveLeftCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x13d)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x16d)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertColCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x166)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x199)]:{_0x3da4b4=_0x17a17c['handleInsertRangeMoveDown'](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertRangeMoveRightCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x368)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0xda)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x37a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x9c)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x11e)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x23a)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x313)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c['EffectRefRangId'][_0x47375b(0x367)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25c)](_0x4bbf36,_0x5d6b10);break;}}const _0x83030f=_0x17a17c[_0x47375b(0x276)](_0x3da4b4,_0x5d6b10),_0x51c1c8=this[_0x47375b(0x2ba)][_0x47375b(0x343)](_0x545f28);if(_0x51c1c8&&_0x83030f){const _0x5bcc63={..._0x51c1c8,'range':_0x83030f};this[_0x47375b(0x2ba)][_0x47375b(0x375)](_0x545f28,_0x5bcc63),_0x49ddca(()=>{const _0x22064e=_0x47375b,_0x5c361f=this[_0x22064e(0x1c8)]['registerRefRange'](_0x83030f,_0x4aa357=>(_0x5c361f[_0x22064e(0x381)](),_0x245884(_0x4aa357,_0x545f28,_0x17bb45,_0x83030f)));_0x161d97[_0x22064e(0x2fc)](_0x5c361f);});}return{'redos':[],'undos':[]};};this[_0x287e23(0x2ba)][_0x287e23(0x9a)]((_0x5c5f6c,_0x31e29b)=>{const _0x266bac=_0x287e23,{range:_0x3374d9,sheetID:_0x190de2}=_0x5c5f6c,_0x5320ba=this[_0x266bac(0x1c8)][_0x266bac(0x285)](_0x3374d9,_0x3d19b0=>(_0x5320ba[_0x266bac(0x381)](),_0x245884(_0x3d19b0,_0x31e29b,_0x190de2,_0x3374d9)));_0x161d97[_0x266bac(0x2fc)](_0x5320ba);});};this[_0x422792(0x362)](_0x1acd3c[_0x422792(0x31a)](this[_0x422792(0x8e)]['subscribe'](()=>{_0x2069ff();})));}[_0x35dcc5(0x2be)](){const _0x5d8dfb=_0x35dcc5;var _0xb6a22,_0x4c73a5;if(this[_0x5d8dfb(0x1c7)]=!0x0,((_0xb6a22=this[_0x5d8dfb(0x2ee)][_0x5d8dfb(0x21c)]())==null?void 0x0:_0xb6a22[_0x5d8dfb(0x2cb)]())!==this[_0x5d8dfb(0x181)])return;const _0x42cba9=(_0x4c73a5=this[_0x5d8dfb(0x304)][_0x5d8dfb(0x343)](_0x17a17c['SheetsSelectionsService'])[_0x5d8dfb(0x351)]())==null?void 0x0:_0x4c73a5[0x0],_0x3c4405=this['_univerInstanceService'][_0x5d8dfb(0x100)](_0x1acd3c[_0x5d8dfb(0x8d)][_0x5d8dfb(0x97)])[_0x5d8dfb(0x268)]();_0x42cba9&&_0x3c4405&&this['_updateLocalCursor'](_0x3c4405['getSheetId'](),_0x42cba9);}[_0x35dcc5(0x322)](){const _0x4d533e=_0x35dcc5;this[_0x4d533e(0x1c7)]=!0x1;}};_0x3b7df7=_0x55cd00([_0x160e72(0x2,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x160e72(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x160e72(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x160e72(0x5,_0x1acd3c['IUniverInstanceService']),_0x160e72(0x6,_0x1acd3c['ICommandService']),_0x160e72(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x17a17c[_0x35dcc5(0x253)]))],_0x3b7df7);var _0x971b24=Object[_0x35dcc5(0x378)],_0x504e92=(_0x3910c2,_0x434353,_0x84a3b,_0x303b6b)=>{const _0x35b957=_0x35dcc5;for(var _0x199846=_0x303b6b>0x1?void 0x0:_0x303b6b?_0x971b24(_0x434353,_0x84a3b):_0x434353,_0x14672c=_0x3910c2[_0x35b957(0x36b)]-0x1,_0x1f8f6f;_0x14672c>=0x0;_0x14672c--)(_0x1f8f6f=_0x3910c2[_0x14672c])&&(_0x199846=_0x1f8f6f(_0x199846)||_0x199846);return _0x199846;},_0x1a1d42=(_0x1da880,_0x178b62)=>(_0x98e966,_0x2c1664)=>_0x178b62(_0x98e966,_0x2c1664,_0x1da880);let _0x224c41=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x583c8c,_0x3c026f,_0x11e8e8){const _0x5289bd=_0x35dcc5;super(),_0x504098(this,_0x5289bd(0x142),new Map()),_0x504098(this,_0x5289bd(0x133),new _0x52b4d8[(_0x5289bd(0xbd))]()),(this[_0x5289bd(0x2ee)]=_0x583c8c,this[_0x5289bd(0x304)]=_0x3c026f,this[_0x5289bd(0x2ea)]=_0x11e8e8,this[_0x5289bd(0x216)]());}[_0x35dcc5(0x381)](){const _0x43749a=_0x35dcc5;super['dispose'](),this['_entityInit$'][_0x43749a(0x269)](),this[_0x43749a(0x142)][_0x43749a(0x9a)](_0x55a11f=>_0x55a11f[_0x43749a(0x381)]());}['getCollabCursors$'](_0x53c81b){const _0x4c4878=_0x35dcc5;return this[_0x4c4878(0x142)][_0x4c4878(0x1ba)](_0x53c81b)?this[_0x4c4878(0x142)][_0x4c4878(0x343)](_0x53c81b)['cursorInfo$']:this['_entityInit$'][_0x4c4878(0x22a)](_0x52b4d8[_0x4c4878(0x2e9)](_0xa66117=>_0xa66117['unitID']===_0x53c81b),_0x52b4d8[_0x4c4878(0x1ac)](_0xa572b7=>_0xa572b7[_0x4c4878(0xfc)]));}['_init'](){const _0x5a040c=_0x35dcc5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)])[_0x5a040c(0x22a)](_0x52b4d8['takeUntil'](this[_0x5a040c(0x2f9)]))['subscribe'](async _0x419d79=>{const _0x2e7dc5=_0x5a040c,_0x145e84=_0x419d79[_0x2e7dc5(0x2cb)](),_0x48e2c1=await this['_startSheetCollabCursor'](_0x145e84);this[_0x2e7dc5(0x133)][_0x2e7dc5(0xba)](_0x48e2c1),this[_0x2e7dc5(0x142)][_0x2e7dc5(0x375)](_0x145e84,_0x48e2c1);}),this[_0x5a040c(0x2ee)][_0x5a040c(0x225)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x1b2)])['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))[_0x5a040c(0x22a)](_0x52b4d8[_0x5a040c(0x2e9)](_0x4d0035=>!_0x4d0035[_0x5a040c(0x2cb)]()[_0x5a040c(0x17f)]('__')))[_0x5a040c(0xc6)](async _0x3d4238=>{const _0x154380=_0x5a040c,_0xb270ef=_0x3d4238[_0x154380(0x2cb)](),_0x5b37ee=await this[_0x154380(0x36a)](_0xb270ef);this['_entityInit$'][_0x154380(0xba)](_0x5b37ee),this[_0x154380(0x142)][_0x154380(0x375)](_0xb270ef,_0x5b37ee);}),_0x52b4d8[_0x5a040c(0x88)](this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c['UniverInstanceType']['UNIVER_DOC']),this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)]))['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))['subscribe'](_0x534858=>{const _0x1efc7e=_0x5a040c,_0xfb0fe4=_0x534858['getUnitId'](),_0x3ea2ae=this[_0x1efc7e(0x142)][_0x1efc7e(0x343)](_0xfb0fe4);_0x3ea2ae&&(_0x3ea2ae[_0x1efc7e(0x381)](),this['_entities'][_0x1efc7e(0x2bb)](_0xfb0fe4));});}async[_0x35dcc5(0x198)](_0x16d79a){const _0x1def99=_0x35dcc5,_0xd77182=await this[_0x1def99(0x2ea)][_0x1def99(0x2c9)](_0x16d79a),_0x360995=this['_injector']['createInstance'](_0x3b7df7,_0x16d79a,_0xd77182);return _0x360995[_0x1def99(0xfd)](),_0x360995;}async['_startDocCollabCursor'](_0x13c646){const _0x3f74af=_0x35dcc5,_0xebe179=await this[_0x3f74af(0x2ea)][_0x3f74af(0x2c9)](_0x13c646),_0x38dc30=this['_injector'][_0x3f74af(0x1ff)](_0x51b1c2,_0x13c646,_0xebe179);return _0x38dc30[_0x3f74af(0xfd)](),_0x38dc30;}};_0x224c41=_0x504e92([_0x1a1d42(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x1a1d42(0x1,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x1a1d42(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x224c41);const _0x1be3de=0x14,_0xa03e9=0xc8,_0x36129c=0x4,_0x157402=0x5;function _0x3266e6(_0x36ab44,_0x3d3a02){const _0x2e4186=_0x35dcc5;let {radius:_0x5adadf,width:_0x78f4a2,height:_0x2e1bd7}=_0x3d3a02;_0x5adadf=_0x5adadf!=null?_0x5adadf:0x0,_0x78f4a2=_0x78f4a2!=null?_0x78f4a2:0x1e,_0x2e1bd7=_0x2e1bd7!=null?_0x2e1bd7:0x1e;let _0x5a9f68=0x0,_0x251fc8=0x0,_0x290631=0x0;_0x5a9f68=_0x251fc8=_0x290631=Math[_0x2e4186(0x1e0)](_0x5adadf,_0x78f4a2/0x2,_0x2e1bd7/0x2),_0x36ab44[_0x2e4186(0xc3)](),_0x36ab44[_0x2e4186(0x1cc)](_0x5a9f68,0x0),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2-_0x251fc8,0x0),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x251fc8,_0x251fc8,_0x251fc8,Math['PI']*0x3/0x2,0x0,!0x1),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2,_0x2e1bd7-_0x290631),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x290631,_0x2e1bd7-_0x290631,_0x290631,0x0,Math['PI']/0x2,!0x1),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x2e1bd7),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x5a9f68),_0x36ab44[_0x2e4186(0x20d)](_0x5a9f68,_0x5a9f68,_0x5a9f68,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36ab44['closePath'](),_0x3d3a02[_0x2e4186(0x1cf)]&&(_0x36ab44['save'](),_0x36ab44[_0x2e4186(0xfb)]=_0x3d3a02[_0x2e4186(0x1cf)],_0x3d3a02['fillRule']===_0x2e4186(0x10d)?_0x36ab44[_0x2e4186(0x1cf)](_0x2e4186(0x10d)):_0x36ab44[_0x2e4186(0x1cf)](),_0x36ab44[_0x2e4186(0x219)]());}class _0x1aaf15 extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x38e862,_0x39e8dc){const _0x572ea9=_0x35dcc5;super(_0x38e862,_0x39e8dc),_0x504098(this,'color'),_0x504098(this,_0x572ea9(0xd2)),(this['color']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0x27c)],this['text']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0xd2)]);}static['drawWith'](_0x56982c,_0x167aa1){const _0x4a851c=_0x35dcc5,{text:_0x1420f0,color:_0x10da22}=_0x167aa1;_0x56982c[_0x4a851c(0x37b)](),_0x56982c[_0x4a851c(0x1e5)]=_0x4a851c(0x35e);const _0x1763c3=_0x56982c['measureText'](_0x1420f0)[_0x4a851c(0x311)],_0x2b8b97=Math[_0x4a851c(0x1e0)](_0x1763c3+0x2*_0x36129c,_0xa03e9);_0x3266e6(_0x56982c,{'height':_0x1be3de,'radius':0x4,'width':_0x2b8b97,'fill':_0x10da22}),_0x56982c['fillStyle']='#FFF';const _0x376c9e=_0x36129c,_0x284e68=_0x1be3de-_0x157402,_0x162587=_0xa03e9-0x2*_0x36129c;if(_0x1763c3>_0x162587){let _0x1c2028='',_0xc68952=0x0;for(const _0x1d14c1 of _0x1420f0){const _0x2ce474=_0x56982c[_0x4a851c(0x108)](_0x1d14c1)['width'];if(_0xc68952+_0x2ce474<=_0x162587-_0x56982c['measureText']('...')[_0x4a851c(0x311)])_0x1c2028+=_0x1d14c1,_0xc68952+=_0x2ce474;else{_0x1c2028+='...';break;}}_0x56982c[_0x4a851c(0x2d8)](_0x1c2028,_0x376c9e,_0x284e68);}else _0x56982c[_0x4a851c(0x2d8)](_0x1420f0,_0x376c9e,_0x284e68);_0x56982c[_0x4a851c(0x219)]();}['_draw'](_0x137b91){const _0x12173a=_0x35dcc5;_0x1aaf15[_0x12173a(0x205)](_0x137b91,this);}}const _0x59fab8='collab-text-anchor-',_0x3a9f81=_0x35dcc5(0x34e),_0x46b727='collab-rect-range-',_0x54bcc5=0x6,_0x898d05=1.5,_0xbe2765=0x4,_0x170b47=1.5,_0x25e4a1=_0x35dcc5(0x17d);class _0x274d19{constructor(_0x5b9fc2,_0x15be6d,_0x5e032c,_0x146662){const _0x22a9f3=_0x35dcc5;_0x504098(this,_0x22a9f3(0x13c),[]),_0x504098(this,'_anchor',null),_0x504098(this,_0x22a9f3(0x235),null),_0x504098(this,'_anchorDot',null),_0x504098(this,_0x22a9f3(0x158),null),_0x504098(this,_0x22a9f3(0x326),null),(this[_0x22a9f3(0x138)]=_0x5b9fc2,this[_0x22a9f3(0x1bd)]=_0x15be6d,this['_docSkeleton']=_0x5e032c,this['_document']=_0x146662,this[_0x22a9f3(0x1bc)]());}set[_0x35dcc5(0x2fa)](_0x2aa9d9){const _0x2d070e=_0x35dcc5;_0x2aa9d9?(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)]['hide'](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['show']()):(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)][_0x2d070e(0x18a)](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['hide']());}[_0x35dcc5(0x381)](){const _0x1ff236=_0x35dcc5;for(const _0x58eca3 of this[_0x1ff236(0x13c)])_0x58eca3[_0x1ff236(0x381)]();this['_textBubble']&&this[_0x1ff236(0x235)][_0x1ff236(0x381)](),this[_0x1ff236(0xf0)]&&this[_0x1ff236(0xf0)][_0x1ff236(0x381)](),this['_anchor']&&this[_0x1ff236(0x124)][_0x1ff236(0x381)](),this['_eventUnsubscribe']&&this[_0x1ff236(0x326)]();}[_0x35dcc5(0x1bc)](){const _0x2bea37=_0x35dcc5;var _0x14d946;const {_docSkeleton:_0x14f96f,_document:_0x3375a6}=this,{color:_0x5a249a,name:_0x2322fb,ranges:_0x150f34}=this['_cursor'],_0x253137=_0x3375a6[_0x2bea37(0x299)](),{docsLeft:_0x4c12b9,docsTop:_0x594c21}=_0x253137,_0x590fab=new _0x4a5890[(_0x2bea37(0x261))](_0x253137,_0x14f96f);for(const {startOffset:_0x814156,endOffset:_0x5517a9,rangeType:_0x13a6ba,segmentId:_0x42408c,segmentPage:_0x5080f6,collapsed:_0x2557f7,isActive:_0x1a1931}of _0x150f34){const _0x5a612e=_0x14f96f[_0x2bea37(0xac)](_0x814156,!0x0,_0x42408c,_0x5080f6);let _0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9,!0x0,_0x42408c,_0x5080f6);if(_0x34b0ee==null&&(_0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9-0x1,!0x1,_0x42408c,_0x5080f6)),_0x1a1931){const {contentBoxPointGroup:_0x14ef16}=_0x590fab['getRangePointData'](_0x34b0ee,_0x34b0ee);if(_0x14ef16[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0xab)](_0x5a249a,_0x14ef16,_0x4c12b9,_0x594c21,_0x2322fb),this[_0x2bea37(0x326)]=this[_0x2bea37(0x328)]();}if(_0x5a612e&&_0x34b0ee){if(_0x13a6ba===_0x1acd3c['DOC_RANGE_TYPE'][_0x2bea37(0x1ca)]){const _0x6e3bfa=new _0x4a5890[(_0x2bea37(0x22b))](_0x253137,_0x14f96f),{pointGroup:_0x2c68a2}=(_0x14d946=_0x6e3bfa[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee))!=null?_0x14d946:{};if(_0x2c68a2==null||_0x2c68a2[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x32d)](_0x5a249a,_0x2c68a2,_0x4c12b9,_0x594c21);}else{if(!_0x2557f7){const {borderBoxPointGroup:_0x8f8d29}=_0x590fab[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee);if(_0x8f8d29[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x104)](_0x5a249a,_0x8f8d29,_0x4c12b9,_0x594c21);}}}}}['_drawAnchor'](_0x4fd484,_0x4691c5,_0x4557be,_0x705aad,_0x3e5140){const _0x233b7c=_0x35dcc5,_0x5a7fa6=this[_0x233b7c(0x15e)](_0x4691c5),{left:_0x23295f,top:_0x4e558c,height:_0x212d60}=_0x5a7fa6,_0x29dcfe=this[_0x233b7c(0xb0)](),_0xf3de69=_0x170b47/_0x29dcfe,_0x52127a=new _0x4dbd74[(_0x233b7c(0x33e))](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad,'height':_0x212d60,'width':_0x898d05,'fill':_0x4fd484||_0x4dbd74['getColor'](_0x1acd3c['COLORS'][_0x233b7c(0x25b)],0x0),'strokeWidth':_0xf3de69,'stroke':_0x25e4a1,'evented':!0x0});this[_0x233b7c(0x124)]=_0x52127a,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x52127a,_0x4a5890[_0x233b7c(0x307)]);const _0x553dca=new _0x4dbd74['Rect'](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0xbe2765/0x2,'height':_0xbe2765,'width':_0xbe2765,'fill':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'evented':!0x1});this[_0x233b7c(0xf0)]=_0x553dca,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x553dca,_0x4a5890[_0x233b7c(0x307)]);const _0xd85097=new _0x1aaf15(_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0x1be3de,'text':_0x3e5140,'color':_0x4fd484});this['_textBubble']=_0xd85097,this['_scene']['addObject'](_0xd85097,_0x4a5890[_0x233b7c(0x307)]),this[_0x233b7c(0x2fa)]=!0x1;}[_0x35dcc5(0x328)](){const _0x121484=_0x35dcc5,_0x2cbbb1=this[_0x121484(0x124)][_0x121484(0x202)][_0x121484(0x192)](()=>{const _0xe30568=_0x121484;this[_0xe30568(0x2fa)]=!0x0;}),_0x2d8964=this['_anchor'][_0x121484(0x2f8)]['subscribeEvent'](()=>{const _0x3f471a=_0x121484;this[_0x3f471a(0x158)]&&clearTimeout(this[_0x3f471a(0x158)]),this[_0x3f471a(0x158)]=setTimeout(()=>{const _0x46d052=_0x3f471a;this[_0x46d052(0x2fa)]=!0x1;},0x7d0);});return()=>{const _0x128ca6=_0x121484;_0x2cbbb1['unsubscribe'](),_0x2d8964[_0x128ca6(0x27b)]();};}[_0x35dcc5(0x104)](_0x429591,_0x4d023e,_0x5567c9,_0x4c6a4e){const _0xe9372e=_0x35dcc5,_0x4d17d4=new _0x1acd3c[(_0xe9372e(0x230))](_0x429591)['setAlpha'](0.2)[_0xe9372e(0x256)](),_0x5a58cf=new _0x4dbd74[(_0xe9372e(0xfa))](_0x3a9f81+_0x1acd3c['generateRandomId'](_0x54bcc5),{'pointsGroup':_0x4d023e,'fill':_0x4d17d4||_0x4dbd74[_0xe9372e(0x2ac)](_0x1acd3c[_0xe9372e(0x301)][_0xe9372e(0x25b)],0.2),'left':_0x5567c9,'top':_0x4c6a4e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5a58cf),this[_0xe9372e(0x1bd)]['addObject'](_0x5a58cf,_0x4a5890[_0xe9372e(0x307)]);}[_0x35dcc5(0x32d)](_0x5acac9,_0xe5d6e1,_0x49c58c,_0x254a64){const _0x3408c4=_0x35dcc5,_0x42cdc9=new _0x1acd3c[(_0x3408c4(0x230))](_0x5acac9)[_0x3408c4(0x257)](0.2)[_0x3408c4(0x256)](),_0x3a62ec=new _0x4dbd74[(_0x3408c4(0xfa))](_0x46b727+_0x1acd3c[_0x3408c4(0x23f)](_0x54bcc5),{'pointsGroup':_0xe5d6e1,'fill':_0x42cdc9||_0x4dbd74[_0x3408c4(0x2ac)](_0x1acd3c[_0x3408c4(0x301)][_0x3408c4(0x25b)],0.2),'left':_0x49c58c,'top':_0x254a64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3408c4(0x13c)][_0x3408c4(0x2c2)](_0x3a62ec),this[_0x3408c4(0x1bd)]['addObject'](_0x3a62ec,_0x4a5890[_0x3408c4(0x307)]);}[_0x35dcc5(0x15e)](_0x11d8e2){const _0x4e1529=_0x11d8e2[0x0],_0x3b65df=_0x4e1529[0x0],_0x3f6fa7=_0x4e1529[0x2],{x:_0x478414,y:_0x434f8d}=_0x3b65df,{x:_0x1184b3,y:_0x5e3035}=_0x3f6fa7;return{'left':_0x478414,'top':_0x434f8d,'width':_0x1184b3-_0x478414,'height':_0x5e3035-_0x434f8d};}[_0x35dcc5(0xb0)](){const _0x3e0d07=_0x35dcc5,{scaleX:_0x2c6c5b,scaleY:_0x20da77}=this[_0x3e0d07(0x1bd)][_0x3e0d07(0x18e)]();return Math['max'](_0x2c6c5b,_0x20da77);}}var _0x20f9cd=Object[_0x35dcc5(0x378)],_0x19a1a0=(_0x150605,_0x1e0141,_0xffefc,_0x48c2b4)=>{const _0xa7427a=_0x35dcc5;for(var _0x1c3ede=_0x48c2b4>0x1?void 0x0:_0x48c2b4?_0x20f9cd(_0x1e0141,_0xffefc):_0x1e0141,_0x2f0d53=_0x150605[_0xa7427a(0x36b)]-0x1,_0x482d0a;_0x2f0d53>=0x0;_0x2f0d53--)(_0x482d0a=_0x150605[_0x2f0d53])&&(_0x1c3ede=_0x482d0a(_0x1c3ede)||_0x1c3ede);return _0x1c3ede;},_0x51bd1b=(_0x42c1aa,_0x4b77ba)=>(_0x660978,_0x409f34)=>_0x4b77ba(_0x660978,_0x409f34,_0x42c1aa);let _0x2a51ff=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x4a23ba,_0x4221ee,_0x13a93e,_0x36659c,_0x16d731){const _0x4addb3=_0x35dcc5;super(),_0x504098(this,_0x4addb3(0x24f),[]),_0x504098(this,_0x4addb3(0x140),[]),(this[_0x4addb3(0xf9)]=_0x4a23ba,this['_docSkeletonManagerService']=_0x4221ee,this['_collabCursorController']=_0x13a93e,this['_commandService']=_0x36659c,this[_0x4addb3(0xe8)]=_0x16d731,this['_init']());}[_0x35dcc5(0x216)](){const _0x140391=_0x35dcc5,_0x595cf4=this[_0x140391(0xf9)][_0x140391(0x334)],_0x122a45=this[_0x140391(0x1f2)];this[_0x140391(0x362)](_0x52b4d8[_0x140391(0x336)]([this[_0x140391(0xd8)][_0x140391(0x8c)](_0x595cf4),this[_0x140391(0xe8)][_0x140391(0x1c9)]])['pipe'](_0x20b870[_0x140391(0x365)](([_0x4938d1,_0x76b9c7])=>({'skeleton':_0x122a45[_0x140391(0x120)](),'cursors':[..._0x4938d1[_0x140391(0x1b9)]()][_0x140391(0x179)](_0x5789f5=>({..._0x5789f5,'color':this[_0x140391(0xe8)][_0x140391(0x1d9)](_0x5789f5[_0x140391(0x27c)])}))})))[_0x140391(0xc6)](_0xf259f0=>{const _0x8fc382=_0x140391;if(this[_0x8fc382(0x182)](),_0xf259f0){const {skeleton:_0x52cdcc,cursors:_0x5e549a}=_0xf259f0;this[_0x8fc382(0x31c)](_0x52cdcc,_0x5e549a);}})),this[_0x140391(0xdb)](),this[_0x140391(0x132)]();}[_0x35dcc5(0x31c)](_0x42ca8d,_0x27a4b5){const _0x2478fc=_0x35dcc5,{scene:_0x1b59f7,mainComponent:_0x3246ab}=this[_0x2478fc(0xf9)],_0x350d88=_0x27a4b5[_0x2478fc(0x365)](_0x143ab1=>new _0x274d19(_0x143ab1,_0x1b59f7,_0x42ca8d,_0x3246ab));this[_0x2478fc(0x24f)]=_0x350d88,this['_cursors']=_0x27a4b5;}[_0x35dcc5(0x2b5)](){const _0x18ad55=_0x35dcc5;this[_0x18ad55(0x182)]();const {scene:_0x32039e,mainComponent:_0x37962c}=this[_0x18ad55(0xf9)],_0x5b21ec=this[_0x18ad55(0x1f2)][_0x18ad55(0x120)](),_0x35d742=this['_cursors']['map'](_0x1dd429=>new _0x274d19(_0x1dd429,_0x32039e,_0x5b21ec,_0x37962c));this[_0x18ad55(0x24f)]=_0x35d742;}[_0x35dcc5(0x182)](){const _0x2d1d8c=_0x35dcc5;this['_cursorShapes'][_0x2d1d8c(0x9a)](_0x3fed81=>_0x3fed81[_0x2d1d8c(0x381)]()),this[_0x2d1d8c(0x24f)]=[];}[_0x35dcc5(0x132)](){const _0x5be644=_0x35dcc5,_0x727f4c=[_0x4a5890[_0x5be644(0x305)]['id']];this[_0x5be644(0x362)](this[_0x5be644(0xe6)][_0x5be644(0x1d7)](_0x49bbda=>{const _0x5939d6=_0x5be644;_0x727f4c[_0x5939d6(0x34d)](_0x49bbda['id'])&&_0x49bbda[_0x5939d6(0x164)][_0x5939d6(0x334)]===this[_0x5939d6(0xf9)][_0x5939d6(0x334)]&&this['_refreshCollabCursors']();}));}[_0x35dcc5(0xdb)](){const _0x19c9a0=_0x35dcc5;this[_0x19c9a0(0x362)](_0x1acd3c[_0x19c9a0(0x26c)](this['_context'][_0x19c9a0(0x121)][_0x19c9a0(0x31e)])[_0x19c9a0(0x22a)](_0x20b870[_0x19c9a0(0x2e9)](_0x59df50=>_0x59df50[_0x19c9a0(0x17a)]===_0x4dbd74[_0x19c9a0(0x24d)][_0x19c9a0(0x201)]),_0x20b870[_0x19c9a0(0x214)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x2a51ff=_0x19a1a0([_0x51bd1b(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3e8285[_0x35dcc5(0x2a6)])),_0x51bd1b(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x51bd1b(0x3,_0x1acd3c[_0x35dcc5(0x27e)]),_0x51bd1b(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x2a51ff);const _0x4f518b=0x1,_0x40423f=1.5;class _0x17cc8b extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x5333a7,_0x26e6a4){const _0x5107b9=_0x35dcc5;super(_0x5333a7,_0x26e6a4),_0x504098(this,_0x5107b9(0x292)),_0x504098(this,_0x5107b9(0x2af),!0x1),_0x504098(this,_0x5107b9(0x21f)),_0x504098(this,_0x5107b9(0x222),''),_0x504098(this,_0x5107b9(0xa2),_0x5107b9(0x37c)),_0x504098(this,_0x5107b9(0x275)),(_0x26e6a4&&this[_0x5107b9(0x165)](_0x26e6a4),this[_0x5107b9(0x202)][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x1})));}[_0x35dcc5(0x165)](_0x244903){const _0x121aec=_0x35dcc5;var _0x2f5e49,_0xc53170,_0x57427b,_0x2f677d,_0x1d816e,_0x3b2d05;this[_0x121aec(0x292)]=(_0x2f5e49=_0x244903[_0x121aec(0x27c)])!=null?_0x2f5e49:this[_0x121aec(0x292)],this['_hovered']=(_0xc53170=_0x244903[_0x121aec(0x2cd)])!=null?_0xc53170:this['_hovered'],this[_0x121aec(0x21f)]=(_0x57427b=_0x244903['range'])!=null?_0x57427b:this[_0x121aec(0x21f)],this['_name']=(_0x2f677d=_0x244903['name'])!=null?_0x2f677d:this[_0x121aec(0x222)],this[_0x121aec(0xa2)]=(_0x1d816e=_0x244903[_0x121aec(0x2ed)])!=null?_0x1d816e:this[_0x121aec(0xa2)],this['_backgroundColor']=(_0x3b2d05=_0x244903[_0x121aec(0x1ed)])!=null?_0x3b2d05:this[_0x121aec(0x275)],this[_0x121aec(0x2d4)]({'width':_0x244903['width'],'height':_0x244903['height']});}[_0x35dcc5(0x346)](_0x453ef3){const _0x50fb76=_0x35dcc5,{row:_0x115386,column:_0x8f8d8d}=_0x453ef3;if(_0x115386>=this[_0x50fb76(0x21f)][_0x50fb76(0x122)]&&_0x115386<=this[_0x50fb76(0x21f)][_0x50fb76(0xbf)]&&_0x8f8d8d>=this['_range'][_0x50fb76(0x270)]&&_0x8f8d8d<=this[_0x50fb76(0x21f)][_0x50fb76(0x13b)]){this[_0x50fb76(0x165)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x35dcc5(0x321)](_0x5e7369){return!0x1;}[_0x35dcc5(0x200)](_0x15a6bd){const _0x571f36=_0x35dcc5;_0x4dbd74[_0x571f36(0x33e)]['drawWith'](_0x15a6bd,{'width':this[_0x571f36(0x311)],'height':this['height'],'strokeWidth':_0x40423f,'stroke':this[_0x571f36(0x292)],'evented':!0x1,'fill':this[_0x571f36(0x275)]}),this[_0x571f36(0x2af)]&&(_0x15a6bd[_0x571f36(0x37b)](),_0x15a6bd[_0x571f36(0x160)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x571f36(0x28f)?0x0:-_0x1be3de),_0x1aaf15[_0x571f36(0x205)](_0x15a6bd,{'text':this[_0x571f36(0x222)],'color':this[_0x571f36(0x292)]}),_0x15a6bd[_0x571f36(0x219)]());}}var _0x3f2731=Object[_0x35dcc5(0x378)],_0x50f509=(_0x5c5044,_0x3bab73,_0x461e28,_0x4f3a6d)=>{const _0x5c42b1=_0x35dcc5;for(var _0x1e2017=_0x4f3a6d>0x1?void 0x0:_0x4f3a6d?_0x3f2731(_0x3bab73,_0x461e28):_0x3bab73,_0x3dd428=_0x5c5044[_0x5c42b1(0x36b)]-0x1,_0x2cda26;_0x3dd428>=0x0;_0x3dd428--)(_0x2cda26=_0x5c5044[_0x3dd428])&&(_0x1e2017=_0x2cda26(_0x1e2017)||_0x1e2017);return _0x1e2017;},_0x194512=(_0x318a4e,_0x3f9772)=>(_0x3ae66e,_0x447127)=>_0x3f9772(_0x3ae66e,_0x447127,_0x318a4e);const _0x131984=0x1389;let _0x4f2b9e=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x177d28,_0x56f2b6,_0x4290fd,_0x208c5b){const _0x4bffe8=_0x35dcc5;super(),_0x504098(this,_0x4bffe8(0x140),new Set()),_0x504098(this,'_lastPointer',null),(this[_0x4bffe8(0xf9)]=_0x177d28,this[_0x4bffe8(0xe7)]=_0x56f2b6,this[_0x4bffe8(0xd8)]=_0x4290fd,this[_0x4bffe8(0xe8)]=_0x208c5b,this[_0x4bffe8(0x216)]());}[_0x35dcc5(0x216)](){const _0x26bca4=_0x35dcc5;this[_0x26bca4(0xe7)]['currentSkeleton$']['pipe'](_0x20b870[_0x26bca4(0xa7)](this['dispose$']),_0x20b870[_0x26bca4(0x1ac)](_0x1f9eea=>{const _0x26d220=_0x26bca4;if(_0x1f9eea){const _0x28b008=_0x1f9eea['sheetId'];return _0x52b4d8[_0x26d220(0x336)](this['_collabCursorController'][_0x26d220(0x8c)](this['_context']['unitId']),this[_0x26d220(0xe8)][_0x26d220(0x1c9)])['pipe'](_0x20b870['map'](([_0x1f479e,_0x3b62b7])=>{const _0xaf6e16=_0x26d220,_0x3f0b84=new Map();return _0x1f479e[_0xaf6e16(0x9a)]((_0x1387e2,_0x14f9f7)=>{const _0x1bc18e=_0xaf6e16;if(_0x1387e2[_0x1bc18e(0x185)]===_0x28b008){const _0x70a2aa={..._0x1387e2};_0x70a2aa[_0x1bc18e(0x27c)]=this[_0x1bc18e(0xe8)][_0x1bc18e(0x1d9)](_0x1387e2[_0x1bc18e(0x27c)]),_0x3f0b84['set'](_0x14f9f7,_0x70a2aa);}}),{'skeleton':_0x1f9eea,'cursors':_0x3f0b84};}));}return _0x52b4d8['of']({'skeleton':null,'cursors':new Map()});}))[_0x26bca4(0xc6)](({skeleton:_0x4de974,cursors:_0x5375ea})=>{const _0x4c4eb3=_0x26bca4;this['_removeCollabCursors'](),_0x4de974&&this[_0x4c4eb3(0x31c)](_0x4de974,_0x5375ea);}),this[_0x26bca4(0xe7)][_0x26bca4(0x17c)][_0x26bca4(0xc6)](_0x225ba7=>{const _0x3140b1=_0x26bca4;if(_0x225ba7==null)return;const {skeleton:_0x41e392}=_0x225ba7,{scene:_0x25dc40}=this[_0x3140b1(0xf9)];_0x25dc40[_0x3140b1(0x380)]['subscribeEvent'](_0x1acd3c['debounce'](_0x4de2d6=>{const _0x5511ca=_0x3140b1;var _0x1c464f,_0x251dae;const {offsetX:_0x59f5bb,offsetY:_0x2193b7}=_0x4de2d6,{x:_0x336588,y:_0x2a3f0e}=_0x25dc40['getRelativeToViewportCoord'](_0x4dbd74[_0x5511ca(0x24b)][_0x5511ca(0x352)]([_0x59f5bb,_0x2193b7])),{scaleX:_0x257aa8,scaleY:_0x32eaf8}=_0x25dc40[_0x5511ca(0x18e)](),_0x437b11=_0x25dc40[_0x5511ca(0x2f3)](_0x4dbd74['SHEET_VIEWPORT_KEY'][_0x5511ca(0x342)]),_0x2081d5=_0x25dc40[_0x5511ca(0x249)](_0x4dbd74[_0x5511ca(0x24b)]['FromArray']([_0x336588,_0x2a3f0e]),_0x437b11),_0x294f8b=_0x41e392[_0x5511ca(0x2ad)](_0x59f5bb,_0x2193b7,_0x257aa8,_0x32eaf8,_0x2081d5);((_0x1c464f=this[_0x5511ca(0x135)])==null?void 0x0:_0x1c464f['column'])===_0x294f8b[_0x5511ca(0x31d)]&&((_0x251dae=this[_0x5511ca(0x135)])==null?void 0x0:_0x251dae[_0x5511ca(0xe3)])===_0x294f8b['row']||this['_cursors'][_0x5511ca(0x9a)](_0x7b52c=>{const _0x465bf0=_0x5511ca;_0x7b52c[_0x465bf0(0x346)](_0x294f8b);});},0x64));});}[_0x35dcc5(0x31c)](_0x34d998,_0x3c70b8){const _0xaf5a73=_0x35dcc5;var _0x3be247;const _0x17c500=(_0x3be247=this[_0xaf5a73(0xe7)][_0xaf5a73(0x291)]())==null?void 0x0:_0x3be247[_0xaf5a73(0x2dd)];if(!_0x17c500)return;const _0x412b2b=this[_0xaf5a73(0x1db)]();if(!_0x412b2b)return;this[_0xaf5a73(0x140)][_0xaf5a73(0x9a)](_0x711f61=>{const _0xdfee77=_0xaf5a73;_0x711f61[_0xdfee77(0x2de)]();});const {scene:_0x2b02a4}=_0x412b2b,_0x4c2c80=_0x4dd79b(Array[_0xaf5a73(0x29a)](_0x3c70b8[_0xaf5a73(0x1b9)]()))['map'](_0x30a4b6=>{const _0x5aadaf=_0xaf5a73,{color:_0x2c2a0a,range:_0x529cfd,name:_0x29ba0b,selection:_0xdc75a,sheetID:_0x4946ea}=_0x30a4b6,{startColumn:_0x4dd7b2,startRow:_0x574a41,endColumn:_0x232fb1,endRow:_0x2d905f}=_0x529cfd,_0x18441b=_0x3f878d[_0x5aadaf(0x35c)](_0x574a41,_0x4dd7b2,_0x2b02a4,_0x17c500),_0x120e7d=_0x3f878d[_0x5aadaf(0x35c)](_0x2d905f,_0x232fb1,_0x2b02a4,_0x17c500),{columnHeaderHeightAndMarginTop:_0x11e291}=_0x17c500,{startX:_0x43ab04,startY:_0x359843}=_0x18441b,{endX:_0x53a94c,endY:_0x3ffe04}=_0x120e7d,_0x28e1e0=_0x53a94c-_0x43ab04,_0x30717b=_0x3ffe04-_0x359843,_0x20022e={'labelPosition':_0x359843-_0x11e291>=_0x1be3de?_0x5aadaf(0x37c):'bottom','sheetID':_0x4946ea,'range':_0x529cfd,'color':_0x2c2a0a,'name':_0x29ba0b,'selection':_0xdc75a,'left':_0x43ab04,'top':_0x359843,'width':_0x28e1e0,'height':_0x30717b,'evented':!0x1,'zIndex':_0x131984};return new _0x17cc8b(_0x29ba0b,_0x20022e);});_0x2b02a4[_0xaf5a73(0x163)](_0x4c2c80,_0x4f518b),this[_0xaf5a73(0x140)]=new Set(_0x4c2c80);}['_removeCollabCursors'](){const _0x1d0b00=_0x35dcc5;var _0x937b0b;(_0x937b0b=this[_0x1d0b00(0x140)])==null||_0x937b0b[_0x1d0b00(0x9a)](_0x5d7652=>_0x5d7652[_0x1d0b00(0x381)]());}[_0x35dcc5(0x1db)](){const _0x1a88dc=_0x35dcc5;return _0x3f878d[_0x1a88dc(0x1d3)](this[_0x1a88dc(0xf9)][_0x1a88dc(0xb3)],this[_0x1a88dc(0xf9)]);}};_0x4f2b9e=_0x50f509([_0x194512(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3f878d['SheetSkeletonManagerService'])),_0x194512(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x194512(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x4f2b9e);function _0x4dd79b(_0x3f2665){const _0x4d6b22=_0x35dcc5,_0x3927c9=new Map();return _0x3f2665[_0x4d6b22(0x9a)](_0x1982af=>{const _0x3aa704=_0x4d6b22;if(_0x3927c9[_0x3aa704(0x1ba)](_0x1982af['selection'])){const _0x30c154=_0x3927c9[_0x3aa704(0x343)](_0x1982af[_0x3aa704(0x231)]);_0x30c154[_0x3aa704(0x10b)]+=',\x20'+_0x1982af[_0x3aa704(0x10b)];}else _0x3927c9['set'](_0x1982af[_0x3aa704(0x231)],_0x1982af);}),Array[_0x4d6b22(0x29a)](_0x3927c9[_0x4d6b22(0x1b9)]());}var _0x2bb036=Object[_0x35dcc5(0x378)],_0x25444b=(_0x14888c,_0x574651,_0x2d5c3b,_0x54a110)=>{const _0x26af63=_0x35dcc5;for(var _0x18107c=_0x54a110>0x1?void 0x0:_0x54a110?_0x2bb036(_0x574651,_0x2d5c3b):_0x574651,_0x216ca1=_0x14888c[_0x26af63(0x36b)]-0x1,_0xe2d0d8;_0x216ca1>=0x0;_0x216ca1--)(_0xe2d0d8=_0x14888c[_0x216ca1])&&(_0x18107c=_0xe2d0d8(_0x18107c)||_0x18107c);return _0x18107c;},_0xc857fd=(_0x19d5e4,_0x51769f)=>(_0x36d8bf,_0x12bfe9)=>_0x51769f(_0x36d8bf,_0x12bfe9,_0x19d5e4);let _0x56f72a=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1caa93,_0x45c7f1,_0x263865,_0x41112a,_0x174116,_0x464c4d){const _0x1980f8=_0x35dcc5;super(),this[_0x1980f8(0x1d0)]=_0x1caa93,this[_0x1980f8(0x127)]=_0x45c7f1,this[_0x1980f8(0x2dc)]=_0x263865,this[_0x1980f8(0x15b)]=_0x41112a,this[_0x1980f8(0x330)]=_0x174116,this['_localeService']=_0x464c4d,this[_0x1980f8(0x324)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x2605d9=_0x35dcc5;this['disposeWithMe'](this['_beforeCloseService'][_0x2605d9(0x341)](()=>{const _0x256c57=_0x2605d9;if(this[_0x256c57(0x127)][_0x256c57(0xb2)][_0x256c57(0x9b)])return this[_0x256c57(0xaf)]['t']('collaboration.offline-data-not-saved');}));}[_0x35dcc5(0x2d3)](){const _0x380306=_0x35dcc5;this[_0x380306(0x362)](this[_0x380306(0x2dc)][_0x380306(0x9d)][_0x380306(0xc6)](_0x4d95f6=>{const _0x22f617=_0x380306;_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId'][_0x22f617(0x1f5)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t']('collaboration.single-unit.warning')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['CLOSE_ROOM']&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this['_localeService']['t'](_0x22f617(0x136))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xb8)]&&this[_0x22f617(0x330)][_0x22f617(0x18a)]({'title':this[_0x22f617(0xaf)]['t'](_0x22f617(0x178)),'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x347)),'type':'error','duration':0x0}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x1fc)]&&this['_messageService'][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)]['Error'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x136))+'('+_0x4d95f6[_0x22f617(0xe5)]+')'}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xa6)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t'](_0x4d95f6['data']||'')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x114)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea['MessageType']['Warning'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x2ff))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['SOCKET_FAILED']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0xc2))}),_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this['_localeService']['t'](_0x22f617(0x27f))});}));}};_0x56f72a=_0x25444b([_0xc857fd(0x0,_0x3d1085[_0x35dcc5(0x10e)]),_0xc857fd(0x1,_0xe836dc[_0x35dcc5(0x1d6)]),_0xc857fd(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x18d)])),_0xc857fd(0x3,_0x3d1085[_0x35dcc5(0x37f)]),_0xc857fd(0x4,_0x3d1085[_0x35dcc5(0xf7)]),_0xc857fd(0x5,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x56f72a);var _0x54e161=Object[_0x35dcc5(0x378)],_0x3e277b=(_0x5da7ce,_0x3b1220,_0xdc5319,_0x43e96a)=>{const _0x397ed7=_0x35dcc5;for(var _0x2037f9=_0x43e96a>0x1?void 0x0:_0x43e96a?_0x54e161(_0x3b1220,_0xdc5319):_0x3b1220,_0x1102bf=_0x5da7ce[_0x397ed7(0x36b)]-0x1,_0x339b57;_0x1102bf>=0x0;_0x1102bf--)(_0x339b57=_0x5da7ce[_0x1102bf])&&(_0x2037f9=_0x339b57(_0x2037f9)||_0x2037f9);return _0x2037f9;},_0x534ac1=(_0x50e661,_0x5e3772)=>(_0x37806f,_0x18dfef)=>_0x5e3772(_0x37806f,_0x18dfef,_0x50e661);let _0x245133=class extends _0x1acd3c['Disposable']{constructor(_0xe96816,_0x14cc66,_0x457442,_0x22a1c9){const _0x344404=_0x35dcc5;super(),_0x504098(this,'_memberID'),(this[_0x344404(0x304)]=_0xe96816,this[_0x344404(0x111)]=_0x14cc66,this[_0x344404(0x94)]=_0x457442,this[_0x344404(0xa4)]=_0x22a1c9,this['_init']());}[_0x35dcc5(0x216)](){const _0x333a0f=_0x35dcc5;this[_0x333a0f(0x23b)](),this[_0x333a0f(0x28a)](),this[_0x333a0f(0x101)](),this[_0x333a0f(0x2b9)]();}['_initUserListener'](){const _0x34d75e=_0x35dcc5;this['disposeWithMe'](this[_0x34d75e(0xa4)][_0x34d75e(0x91)]['subscribe'](_0xacb2ab=>{const _0x25f661=_0x34d75e;this[_0x25f661(0x116)]=_0xacb2ab==null?void 0x0:_0xacb2ab['memberID'];}));}['_initWindowErrorListener'](){const _0x4ee69c=_0x35dcc5,_0x440cf8=_0x28362c=>{const _0x22696d=_0x1599;var _0x20a637;this[_0x22696d(0x2e5)](_0x22696d(0x36d),_0x22696d(0xce)+_0x28362c['message']+_0x22696d(0x168)+_0x28362c['filename']+':'+_0x28362c['lineno']+':'+_0x28362c[_0x22696d(0x1c4)]+'\x0a'+(((_0x20a637=_0x28362c['error'])==null?void 0x0:_0x20a637[_0x22696d(0x2b0)])||''));};window[_0x4ee69c(0x374)](_0x4ee69c(0x36d),_0x440cf8),this['disposeWithMe'](()=>{const _0x589383=_0x4ee69c;window[_0x589383(0x14e)](_0x589383(0x36d),_0x440cf8);});}[_0x35dcc5(0x28a)](){const _0x4fa5ab=_0x35dcc5,_0x29c5b4=_0x2da639=>{const _0x5953d9=_0x1599;this['_uploadLog'](_0x5953d9(0x36d),_0x5953d9(0x1fd)+_0x2da639[_0x5953d9(0x359)]);};window[_0x4fa5ab(0x374)](_0x4fa5ab(0x1f1),_0x29c5b4),this[_0x4fa5ab(0x362)](()=>{window['removeEventListener']('unhandledrejection',_0x29c5b4);});}[_0x35dcc5(0x101)](){const _0x4b2c60=_0x35dcc5,_0x50d263=this[_0x4b2c60(0x94)]['error'][_0x4b2c60(0x21d)](this[_0x4b2c60(0x94)]);this['_logService'][_0x4b2c60(0x36d)]=(..._0x317528)=>{const _0x2eecd4=_0x4b2c60,_0xdc0d21=_0x317528[_0x2eecd4(0x365)](_0x451486=>_0x451486 instanceof Error?_0x451486[_0x2eecd4(0x1f7)]+'\x0a'+_0x451486[_0x2eecd4(0x2b0)]:String(_0x451486))[_0x2eecd4(0x144)]('\x20');this[_0x2eecd4(0x2e5)](_0x2eecd4(0x36d),_0x2eecd4(0x141)+_0xdc0d21),_0x50d263(..._0x317528);},this['disposeWithMe'](()=>{const _0x201663=_0x4b2c60;this[_0x201663(0x94)][_0x201663(0x36d)]=_0x50d263;});}[_0x35dcc5(0x2e5)](_0x14cdad,_0x29ea58){const _0x35d752=_0x35dcc5;try{const _0x11af93={'userId':this[_0x35d752(0x116)],'logLabel':_0x14cdad,'content':_0x29ea58};this[_0x35d752(0x111)][_0x35d752(0x109)]('/universer-api/frontend/logs',{'body':_0x11af93})[_0x35d752(0x2ab)](()=>{});}catch{}}};_0x245133=_0x3e277b([_0x534ac1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x534ac1(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x534ac1(0x2,_0x1acd3c[_0x35dcc5(0x296)]),_0x534ac1(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x245133);const _0x1b22ef=_0x35dcc5(0x232),_0x444dbe={};var _0x54b66a=Object[_0x35dcc5(0x378)],_0x5f537f=(_0x1fc95f,_0x424823,_0x2ca0ba,_0x31d031)=>{const _0x522ebf=_0x35dcc5;for(var _0x80ec94=_0x31d031>0x1?void 0x0:_0x31d031?_0x54b66a(_0x424823,_0x2ca0ba):_0x424823,_0x4ad92d=_0x1fc95f[_0x522ebf(0x36b)]-0x1,_0x31f8ad;_0x4ad92d>=0x0;_0x4ad92d--)(_0x31f8ad=_0x1fc95f[_0x4ad92d])&&(_0x80ec94=_0x31f8ad(_0x80ec94)||_0x80ec94);return _0x80ec94;},_0x187e8c=(_0x323a51,_0x406256)=>(_0xc46cd5,_0x38ee55)=>_0x406256(_0xc46cd5,_0x38ee55,_0x323a51);let _0x17d59f=class{constructor(_0xfb98ee,_0x5c58a6){const _0x1bf234=_0x35dcc5;this[_0x1bf234(0x2a5)]=_0xfb98ee,this[_0x1bf234(0x19d)]=_0x5c58a6;}['transformIMECache'](_0x492384){this['_transformUndoRedoStack'](_0x492384),this['_transformPreviousActiveRange'](_0x492384);}['transformRemoteChangeset'](_0x538f6e){const _0x4f9242=_0x35dcc5,{unitID:_0x21074f}=_0x538f6e,_0x2c0918=this['_renderManagerService']['getRenderById'](_0x21074f)['with'](_0x4a5890[_0x4f9242(0x28e)]),{redoCache:_0x1b042d}=_0x2c0918[_0x4f9242(0x1fe)]();if(_0x1b042d[_0x4f9242(0x36b)]===0x0)return _0x538f6e;let _0x2bc4b4=_0x1acd3c['Tools'][_0x4f9242(0x107)](_0x538f6e[_0x4f9242(0x356)][0x0]);for(let _0x1bb5c7=0x0;_0x1bb5c7<_0x1b042d[_0x4f9242(0x36b)];_0x1bb5c7++){const _0x1227dd={'id':'doc.mutation.rich-text-editing','params':{..._0x1b042d[_0x1bb5c7]}},_0x46f628=this['_transformService'][_0x4f9242(0x277)](_0x2bc4b4,_0x1227dd,!0x1);if(_0x1d9a86[_0x4f9242(0xd0)](_0x46f628))throw _0x46f628[_0x4f9242(0x36d)];_0x2bc4b4=_0x46f628[_0x4f9242(0x24c)];}return{..._0x1acd3c[_0x4f9242(0x25e)][_0x4f9242(0x107)](_0x538f6e),'mutations':[_0x2bc4b4]};}[_0x35dcc5(0x303)](_0xebad48){const _0x1bdde2=_0x35dcc5,{unitID:_0x1e2a14}=_0xebad48,_0x255972=this[_0x1bdde2(0x19d)][_0x1bdde2(0x1e2)](_0x1e2a14)[_0x1bdde2(0xe0)](_0x4a5890['DocIMEInputManagerService']),{undoCache:_0xf7fcdc,redoCache:_0x15b250}=_0x255972[_0x1bdde2(0x1fe)]();if(_0xf7fcdc[_0x1bdde2(0x36b)]===0x0||_0x15b250['length']===0x0)return;const _0x4623d2=[],_0x188e7b=[];let _0x406cf1=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]),_0x49d8fb=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]);for(let _0x2870b2=_0xf7fcdc[_0x1bdde2(0x36b)]-0x1;_0x2870b2>=0x0;_0x2870b2--){const _0x33e7b5={'id':_0x1bdde2(0x2b8),'params':{..._0xf7fcdc[_0x2870b2]}},_0x162824={'id':_0x1bdde2(0x2b8),'params':{..._0x15b250[_0x2870b2]}},_0x46825e=this[_0x1bdde2(0x2a5)][_0x1bdde2(0x277)](_0x406cf1,_0x33e7b5,!0x1),_0xc898d0=this['_transformService'][_0x1bdde2(0x277)](_0x49d8fb,_0x162824,!0x1);if(_0x1d9a86['isTransformMutationFailure'](_0x46825e))throw _0x46825e[_0x1bdde2(0x36d)];if(_0x1d9a86[_0x1bdde2(0xd0)](_0xc898d0))throw _0xc898d0[_0x1bdde2(0x36d)];_0x4623d2['unshift'](_0x46825e[_0x1bdde2(0x167)]['params']),_0x188e7b[_0x1bdde2(0xdd)](_0xc898d0[_0x1bdde2(0x167)][_0x1bdde2(0x164)]),_0x406cf1=_0x46825e[_0x1bdde2(0x24c)],_0x49d8fb=_0xc898d0[_0x1bdde2(0x24c)];}_0x255972[_0x1bdde2(0x151)]({'undoCache':_0x4623d2,'redoCache':_0x188e7b});}['_transformPreviousActiveRange'](_0x2d178b){const _0x27a065=_0x35dcc5,{unitID:_0x3968b0}=_0x2d178b,_0x575cf2=this[_0x27a065(0x19d)][_0x27a065(0x1e2)](_0x3968b0)['with'](_0x4a5890[_0x27a065(0x28e)]),_0x4c934b=_0x575cf2['getActiveRange']();if(_0x4c934b==null)return;const _0x55024b=[{'id':_0x27a065(0x2b8),'params':{'unitId':_0x2d178b[_0x27a065(0x181)],'actions':null,'textRanges':[_0x4c934b]}}],_0x58338b=this['_transformService'][_0x27a065(0x96)](_0x2d178b,_0x55024b);if(!_0x1d9a86[_0x27a065(0x1af)](_0x58338b))throw _0x58338b[_0x27a065(0x36d)];const _0x5c0652=_0x58338b[_0x27a065(0x167)][0x0][_0x27a065(0x164)]['textRanges'];Array[_0x27a065(0x245)](_0x5c0652)&&_0x5c0652[_0x27a065(0x36b)]&&_0x575cf2[_0x27a065(0x30d)](_0x5c0652[0x0]);}};_0x17d59f=_0x5f537f([_0x187e8c(0x0,_0x1d9a86['ITransformService']),_0x187e8c(0x1,_0x4dbd74[_0x35dcc5(0x1f3)])],_0x17d59f);var _0x4b3752=Object[_0x35dcc5(0x378)],_0x62151d=(_0x3e5307,_0x20be16,_0x513529,_0x6a8908)=>{const _0xfb6f49=_0x35dcc5;for(var _0x3ec695=_0x6a8908>0x1?void 0x0:_0x6a8908?_0x4b3752(_0x20be16,_0x513529):_0x20be16,_0x39805f=_0x3e5307[_0xfb6f49(0x36b)]-0x1,_0x4642ad;_0x39805f>=0x0;_0x39805f--)(_0x4642ad=_0x3e5307[_0x39805f])&&(_0x3ec695=_0x4642ad(_0x3ec695)||_0x3ec695);return _0x3ec695;},_0x5351b9=(_0x187928,_0xf4b22c)=>(_0x21129a,_0x4ad56c)=>_0xf4b22c(_0x21129a,_0x4ad56c,_0x187928);let _0x20228f=class{constructor(_0x43e291,_0x53d94a,_0x299148){const _0x545cd2=_0x35dcc5;this[_0x545cd2(0x304)]=_0x43e291,this[_0x545cd2(0x2a5)]=_0x53d94a,this['_docStateChangeManagerService']=_0x299148;}[_0x35dcc5(0xef)](_0x4544c){const _0x2b1bec=_0x35dcc5;this[_0x2b1bec(0x173)](_0x4544c);}[_0x35dcc5(0xb9)](_0xc4b474){const _0x160b47=_0x35dcc5,{unitID:_0x18b5b6}=_0xc4b474,{collaboration:_0x501bf3}=this[_0x160b47(0x10f)][_0x160b47(0x1a0)](_0x18b5b6);if(_0x501bf3[_0x160b47(0x36b)]===0x0)return _0xc4b474;let _0xde331e=_0x1acd3c[_0x160b47(0x25e)]['deepClone'](_0xc4b474[_0x160b47(0x356)][0x0]);for(let _0x47e470=0x0;_0x47e470<_0x501bf3[_0x160b47(0x36b)];_0x47e470++){const _0x3152f5={'id':_0x160b47(0x2b8),'params':{'unitId':_0x501bf3[_0x47e470][_0x160b47(0x334)],..._0x501bf3[_0x47e470][_0x160b47(0x348)]}},_0x27925f=this['_transformService'][_0x160b47(0x277)](_0xde331e,_0x3152f5,!0x1);if(_0x1d9a86[_0x160b47(0xd0)](_0x27925f))throw _0x27925f[_0x160b47(0x36d)];_0xde331e=_0x27925f['m1Prime'];}return{..._0x1acd3c[_0x160b47(0x25e)][_0x160b47(0x107)](_0xc4b474),'mutations':[_0xde331e]};}[_0x35dcc5(0x173)](_0x4d99c5){const _0x2799ab=_0x35dcc5,{unitID:_0x2f24ea}=_0x4d99c5,{history:_0x1960e6,collaboration:_0x121f56}=this[_0x2799ab(0x10f)]['getStateCache'](_0x2f24ea);if(_0x1960e6['length']===0x0&&_0x121f56['length']===0x0)return;const _0x3d5dfc=[],_0x13fa10=[];let _0xa58508=_0x1acd3c[_0x2799ab(0x25e)][_0x2799ab(0x107)](_0x4d99c5['mutations'][0x0]),_0x2dbae0=_0x1acd3c['Tools']['deepClone'](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x1ad05a=_0x1960e6['length']-0x1;_0x1ad05a>=0x0;_0x1ad05a--){const _0x107bb0={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0xcc)]}},_0x5ba048={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0x348)]}},_0x5b6d99=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x107bb0,!0x1),_0x2022b5=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0x2dbae0,_0x5ba048,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x5b6d99))throw _0x5b6d99['error'];if(_0x1d9a86[_0x2799ab(0xd0)](_0x2022b5))throw _0x2022b5[_0x2799ab(0x36d)];_0x3d5dfc['unshift']({..._0x1960e6[_0x1ad05a],'undoState':_0x5b6d99[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0x2022b5[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x5b6d99[_0x2799ab(0x24c)],_0x2dbae0=_0x2022b5['m1Prime'];}_0xa58508=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]),_0x2dbae0=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x21c7c1=_0x121f56['length']-0x1;_0x21c7c1>=0x0;_0x21c7c1--){const _0x1df591={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1][_0x2799ab(0x334)],..._0x121f56[_0x21c7c1][_0x2799ab(0xcc)]}},_0x26cb90={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1]['unitId'],..._0x121f56[_0x21c7c1][_0x2799ab(0x348)]}},_0x3c922c=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x1df591,!0x1),_0xecc7e6=this['_transformService'][_0x2799ab(0x277)](_0x2dbae0,_0x26cb90,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x3c922c))throw _0x3c922c[_0x2799ab(0x36d)];if(_0x1d9a86['isTransformMutationFailure'](_0xecc7e6))throw _0xecc7e6[_0x2799ab(0x36d)];_0x13fa10['unshift']({..._0x121f56[_0x21c7c1],'undoState':_0x3c922c[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0xecc7e6[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x3c922c[_0x2799ab(0x24c)],_0x2dbae0=_0xecc7e6[_0x2799ab(0x24c)];}this[_0x2799ab(0x10f)]['setStateCache'](_0x2f24ea,{'history':_0x3d5dfc,'collaboration':_0x13fa10});}};_0x20228f=_0x62151d([_0x5351b9(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5351b9(0x1,_0x1d9a86[_0x35dcc5(0xd9)]),_0x5351b9(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890['DocStateChangeManagerService']))],_0x20228f);var _0x29884f=Object['getOwnPropertyDescriptor'],_0x5313f3=(_0xece908,_0x314292,_0x13e966,_0x3ae326)=>{const _0x47919c=_0x35dcc5;for(var _0x5c4a8e=_0x3ae326>0x1?void 0x0:_0x3ae326?_0x29884f(_0x314292,_0x13e966):_0x314292,_0x395163=_0xece908[_0x47919c(0x36b)]-0x1,_0x17f7bd;_0x395163>=0x0;_0x395163--)(_0x17f7bd=_0xece908[_0x395163])&&(_0x5c4a8e=_0x17f7bd(_0x5c4a8e)||_0x5c4a8e);return _0x5c4a8e;},_0x258d61=(_0x4f1d6d,_0x31fbd1)=>(_0x1b4cac,_0x596254)=>_0x31fbd1(_0x1b4cac,_0x596254,_0x4f1d6d);let _0x5ca507=class{constructor(_0xbc6ce1,_0x932555){const _0x187970=_0x35dcc5;this[_0x187970(0x304)]=_0xbc6ce1,this[_0x187970(0x2a5)]=_0x932555;}[_0x35dcc5(0x2ec)](_0x5c20b0){const _0x15f3c8=_0x35dcc5;var _0x415b41;const _0x6a1b24=this[_0x15f3c8(0x304)]['get'](_0x3e8285[_0x15f3c8(0x25f)]),_0x1e62c3=(_0x415b41=_0x6a1b24[_0x15f3c8(0x172)]())!=null?_0x415b41:[];if(_0x1e62c3[_0x15f3c8(0x36b)]===0x0)return;const _0xd4d81a=_0x5c20b0[_0x15f3c8(0x181)],_0x3e75b0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd4d81a,'actions':null,'textRanges':_0x1e62c3}}],_0x59ae45=this[_0x15f3c8(0x2a5)][_0x15f3c8(0x96)](_0x5c20b0,_0x3e75b0);if(!_0x1d9a86[_0x15f3c8(0x1af)](_0x59ae45))throw _0x59ae45[_0x15f3c8(0x36d)];const _0xba13a1=_0x59ae45[_0x15f3c8(0x167)][0x0]['params'][_0x15f3c8(0x35b)];Array[_0x15f3c8(0x245)](_0xba13a1)&&_0xba13a1['length']&&_0x6a1b24[_0x15f3c8(0x17e)](_0xba13a1,{'unitId':_0xd4d81a,'subUnitId':_0xd4d81a},!0x1);}};_0x5ca507=_0x5313f3([_0x258d61(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x258d61(0x1,_0x1d9a86[_0x35dcc5(0xd9)])],_0x5ca507);var _0x9bafee=Object[_0x35dcc5(0x378)],_0x332f74=(_0x16b4c5,_0x2334ac,_0x351ae6,_0x310cc1)=>{for(var _0x27c17c=_0x310cc1>0x1?void 0x0:_0x310cc1?_0x9bafee(_0x2334ac,_0x351ae6):_0x2334ac,_0x1327ce=_0x16b4c5['length']-0x1,_0xbc999e;_0x1327ce>=0x0;_0x1327ce--)(_0xbc999e=_0x16b4c5[_0x1327ce])&&(_0x27c17c=_0xbc999e(_0x27c17c)||_0x27c17c);return _0x27c17c;},_0x4e87b8=(_0x28b06f,_0x20ce3a)=>(_0x49d3b6,_0x5b969a)=>_0x20ce3a(_0x49d3b6,_0x5b969a,_0x28b06f);let _0x207c0e=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x62406e,_0x297818,_0x2ac3a6,_0x2bc6ae,_0x137388,_0x6f66b0,_0x306c4b,_0x3eba49){const _0x4ebf66=_0x35dcc5;super(),_0x504098(this,'_status$',new _0x52b4d8[(_0x4ebf66(0x2eb))](_0xe836dc[_0x4ebf66(0x283)][_0x4ebf66(0x2c5)])),(this[_0x4ebf66(0x10f)]=_0x62406e,this['_collaborationController']=_0x297818,this[_0x4ebf66(0x156)]=_0x2ac3a6,this['_docTransformStateCacheService']=_0x2bc6ae,this['_docTransformSelectionsService']=_0x137388,this['_docSyncEditingCollabCursorService']=_0x6f66b0,this['_messageService']=_0x306c4b,this[_0x4ebf66(0xaf)]=_0x3eba49,this[_0x4ebf66(0x229)]());}[_0x35dcc5(0x229)](){const _0x5a4449=_0x35dcc5;this[_0x5a4449(0x362)](this[_0x5a4449(0x2c7)][_0x5a4449(0xa9)][_0x5a4449(0xc6)](_0x17060a=>{const _0x39aef2=_0x5a4449,_0x5846d9=this[_0x39aef2(0x10f)][_0x39aef2(0x255)]['subscribe'](_0x335fe6=>{const _0x4e3df1=_0x39aef2;if(_0x335fe6==null)return;const {unitId:_0x4be373,redoState:_0x4e4c81,commandId:_0x31c22e}=_0x335fe6;if(_0x4be373!==_0x17060a['unitID'])return;const _0x25eb28={'id':_0x31c22e,'type':_0x1acd3c[_0x4e3df1(0x9f)][_0x4e3df1(0x174)],'params':{'unitId':_0x4be373,'actions':_0x4e4c81[_0x4e3df1(0xf2)],'textRanges':null}};_0x17060a[_0x4e3df1(0x13a)](_0x25eb28);});if(_0x17060a[_0x39aef2(0x362)](_0x5846d9),_0x17060a instanceof _0xe836dc[_0x39aef2(0x143)]){const _0x20f376={'onTransformIME':_0x4a0b15=>this[_0x39aef2(0x156)][_0x39aef2(0x16b)](_0x4a0b15),'onTransformState':_0x331085=>this['_docTransformStateCacheService'][_0x39aef2(0xef)](_0x331085),'onTransformSelections':_0x7f236d=>this[_0x39aef2(0x20c)][_0x39aef2(0x2ec)](_0x7f236d),'onSyncEditingCollabCursor':_0xa93de3=>this[_0x39aef2(0x11a)][_0x39aef2(0xbb)](_0xa93de3),'onTransformRemoteChangesetByIMECache':_0xc4457a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xc4457a),'onTransformRemoteChangesetByStateCache':_0x192522=>this[_0x39aef2(0x161)][_0x39aef2(0xb9)](_0x192522)};_0x17060a[_0x39aef2(0x177)](_0x20f376);}}));}};_0x207c0e=_0x332f74([_0x4e87b8(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890[_0x35dcc5(0x12b)])),_0x4e87b8(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x4e87b8(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x17d59f)),_0x4e87b8(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x20228f)),_0x4e87b8(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x5ca507)),_0x4e87b8(0x5,_0x1acd3c[_0x35dcc5(0x36c)](_0x4fc58b)),_0x4e87b8(0x6,_0x3d1085[_0x35dcc5(0x37f)]),_0x4e87b8(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x207c0e);var _0x5a8da7=(_0x5091d8=>(_0x5091d8[_0x5091d8['UNDEFINED']=0x0]=_0x35dcc5(0x288),_0x5091d8[_0x5091d8['OK']=0x1]='OK',_0x5091d8[_0x5091d8[_0x35dcc5(0x242)]=0x2]='INTERNAL_ERROR',_0x5091d8[_0x5091d8[_0x35dcc5(0xb8)]=0x3]=_0x35dcc5(0xb8),_0x5091d8[_0x5091d8['NOT_FOUND']=0x4]=_0x35dcc5(0x2ae),_0x5091d8[_0x5091d8['UNAUTHENTICATED']=0x5]=_0x35dcc5(0xf6),_0x5091d8[_0x5091d8[_0x35dcc5(0x112)]=0x6]=_0x35dcc5(0x112),_0x5091d8[_0x5091d8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5091d8[_0x5091d8[_0x35dcc5(0x247)]=0x8]=_0x35dcc5(0x247),_0x5091d8[_0x5091d8['COMPLETION_FINISHED']=0x9]=_0x35dcc5(0x1d4),_0x5091d8[_0x5091d8[_0x35dcc5(0x316)]=0xa]='LOGIN_FAILED',_0x5091d8[_0x5091d8[_0x35dcc5(0x302)]=0xb]=_0x35dcc5(0x302),_0x5091d8[_0x5091d8[_0x35dcc5(0x1ef)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0xde)]=0xd]=_0x35dcc5(0xde),_0x5091d8[_0x5091d8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x278)]=0xf]=_0x35dcc5(0x278),_0x5091d8[_0x5091d8['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x35dcc5(0xe1),_0x5091d8[_0x5091d8[_0x35dcc5(0x16e)]=0x64]=_0x35dcc5(0x16e),_0x5091d8[_0x5091d8[_0x35dcc5(0x183)]=0x65]=_0x35dcc5(0x183),_0x5091d8[_0x5091d8[_0x35dcc5(0x10a)]=0xc9]='USER_NOT_FOUND',_0x5091d8[_0x5091d8[_0x35dcc5(0x89)]=0xca]=_0x35dcc5(0x89),_0x5091d8[_0x5091d8[_0x35dcc5(0x34b)]=0x1389]=_0x35dcc5(0x34b),_0x5091d8[_0x5091d8[_0x35dcc5(0x366)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5091d8[_0x5091d8[_0x35dcc5(0xae)]=0x1772]=_0x35dcc5(0xae),_0x5091d8[_0x5091d8[_0x35dcc5(0x282)]=0x1773]=_0x35dcc5(0x282),_0x5091d8[_0x5091d8[_0x35dcc5(0x32c)]=0x1b59]='APPLY_REJECT',_0x5091d8[_0x5091d8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5091d8[_0x5091d8[_0x35dcc5(0xca)]=0x1b5b]=_0x35dcc5(0xca),_0x5091d8[_0x5091d8[_0x35dcc5(0xff)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5091d8[_0x5091d8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5091d8[_0x5091d8[_0x35dcc5(0x102)]=0x1f41]=_0x35dcc5(0x102),_0x5091d8[_0x5091d8[_0x35dcc5(0x272)]=0x2329]=_0x35dcc5(0x272),_0x5091d8[_0x5091d8[_0x35dcc5(0x190)]=0x232a]=_0x35dcc5(0x190),_0x5091d8[_0x5091d8[_0x35dcc5(0x28b)]=0x232b]=_0x35dcc5(0x28b),_0x5091d8[_0x5091d8[_0x35dcc5(0x297)]=0x232c]=_0x35dcc5(0x297),_0x5091d8[_0x5091d8[_0x35dcc5(0x2d9)]=0x232d]=_0x35dcc5(0x2d9),_0x5091d8[_0x5091d8[_0x35dcc5(0x31b)]=0x2711]=_0x35dcc5(0x31b),_0x5091d8[_0x5091d8[_0x35dcc5(0x373)]=0x2712]=_0x35dcc5(0x373),_0x5091d8[_0x5091d8[_0x35dcc5(0x215)]=0x2713]=_0x35dcc5(0x215),_0x5091d8[_0x5091d8[_0x35dcc5(0x33f)]=0x2714]=_0x35dcc5(0x33f),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bf)]=0x271a]=_0x35dcc5(0x2bf),_0x5091d8[_0x5091d8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x35dcc5(0x2b3),_0x5091d8[_0x5091d8[_0x35dcc5(0x2a8)]=0x271c]=_0x35dcc5(0x2a8),_0x5091d8[_0x5091d8[_0x35dcc5(0xea)]=0x271d]=_0x35dcc5(0xea),_0x5091d8[_0x5091d8[_0x35dcc5(0xd3)]=0x271e]=_0x35dcc5(0xd3),_0x5091d8[_0x5091d8[_0x35dcc5(0x333)]=0x271f]=_0x35dcc5(0x333),_0x5091d8[_0x5091d8[_0x35dcc5(0xf3)]=0x2720]=_0x35dcc5(0xf3),_0x5091d8[_0x5091d8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x35dcc5(0x1a3),_0x5091d8[_0x5091d8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x35dcc5(0x184),_0x5091d8[_0x5091d8['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5091d8[_0x5091d8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x35dcc5(0x1ce),_0x5091d8[_0x5091d8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x35dcc5(0x26b),_0x5091d8[_0x5091d8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x35dcc5(0x28d),_0x5091d8[_0x5091d8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x35dcc5(0x281),_0x5091d8[_0x5091d8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x35dcc5(0x12f),_0x5091d8[_0x5091d8[_0x35dcc5(0x213)]=0x32cb]=_0x35dcc5(0x213),_0x5091d8[_0x5091d8[_0x35dcc5(0x126)]=0x36b1]=_0x35dcc5(0x126),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bd)]=0x36b2]=_0x35dcc5(0x2bd),_0x5091d8[_0x5091d8[_0x35dcc5(0x2b4)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5091d8[_0x5091d8[_0x35dcc5(0x175)]=0x36b4]=_0x35dcc5(0x175),_0x5091d8[_0x5091d8[_0x35dcc5(0x2cf)]=0x36b5]=_0x35dcc5(0x2cf),_0x5091d8[_0x5091d8[_0x35dcc5(0x355)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x2e4)]=0x36b7]=_0x35dcc5(0x2e4),_0x5091d8[_0x5091d8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x35dcc5(0x2d5),_0x5091d8[_0x5091d8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x35dcc5(0x188),_0x5091d8[_0x5091d8[_0x35dcc5(0x318)]=0x3716]=_0x35dcc5(0x318),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c3)]=0x3717]=_0x35dcc5(0x2c3),_0x5091d8[_0x5091d8['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5091d8[_0x5091d8[_0x35dcc5(0x2c0)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5091d8[_0x5091d8[_0x35dcc5(0x1b8)]=0x3a9a]=_0x35dcc5(0x1b8),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f4)]=0x3a9b]=_0x35dcc5(0x2f4),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f5)]=0x3a9c]=_0x35dcc5(0x2f5),_0x5091d8[_0x5091d8[_0x35dcc5(0x187)]=0x3a9d]=_0x35dcc5(0x187),_0x5091d8[_0x5091d8[_0x35dcc5(0x217)]=0x3a9e]=_0x35dcc5(0x217),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c8)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5091d8[_0x5091d8['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x35dcc5(0x2fb),_0x5091d8[_0x5091d8[_0x35dcc5(0x134)]=-0x1]=_0x35dcc5(0x134),_0x5091d8))(_0x5a8da7||{});function _0x12ddac(_0xb1c943){const _0xe2a521=_0x35dcc5;var _0xe9783e,_0x3198f6;const _0x251fcb=(_0xe9783e=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0xe9783e[_0xe2a521(0x29f)],_0x21e216=((_0x3198f6=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0x3198f6[_0xe2a521(0x16c)])||0x0;return _0x251fcb===_0x5dc12e[_0xe2a521(0x339)][_0xe2a521(0x212)]&&_0x21e216>0x0;}function _0x18ee2b(_0x808c92){const _0x39c6bc=_0x35dcc5;return _0x808c92[_0x39c6bc(0x1cb)]===_0x5dc12e[_0x39c6bc(0x128)][_0x39c6bc(0x169)];}var _0x145cff=Object['getOwnPropertyDescriptor'],_0x444011=(_0x20a42f,_0x10671b,_0xa05792,_0x485647)=>{const _0x5acb64=_0x35dcc5;for(var _0x1b4210=_0x485647>0x1?void 0x0:_0x485647?_0x145cff(_0x10671b,_0xa05792):_0x10671b,_0x5d97be=_0x20a42f[_0x5acb64(0x36b)]-0x1,_0x4b6237;_0x5d97be>=0x0;_0x5d97be--)(_0x4b6237=_0x20a42f[_0x5d97be])&&(_0x1b4210=_0x4b6237(_0x1b4210)||_0x1b4210);return _0x1b4210;},_0x17cba1=(_0x2e1528,_0x427d5d)=>(_0x514b28,_0x1a8678)=>_0x427d5d(_0x514b28,_0x1a8678,_0x2e1528);const _0x31e8dd=_0x35dcc5(0x11f),_0x5ead8b=_0x35dcc5(0x18f),_0x59133d=_0x35dcc5(0x8f);let _0x20acf5=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x503dcb,_0x6fce63,_0x4f64a0,_0x12f728,_0x10eb52,_0x48d9c6,_0x21fe48){const _0x33bbdf=_0x35dcc5;super(),_0x504098(this,_0x33bbdf(0x211),null),_0x504098(this,_0x33bbdf(0x1ad),0x0),_0x504098(this,_0x33bbdf(0x154),0x0),_0x504098(this,_0x33bbdf(0x2a9),[]),_0x504098(this,_0x33bbdf(0x106),0x0),(this[_0x33bbdf(0x15b)]=_0x503dcb,this[_0x33bbdf(0xe6)]=_0x6fce63,this[_0x33bbdf(0x1c2)]=_0x4f64a0,this[_0x33bbdf(0x111)]=_0x12f728,this[_0x33bbdf(0x2ee)]=_0x10eb52,this['_logService']=_0x48d9c6,this[_0x33bbdf(0xaf)]=_0x21fe48,this[_0x33bbdf(0x31f)]());}[_0x35dcc5(0x31f)](){const _0x419e2e=_0x35dcc5;this[_0x419e2e(0x362)](this[_0x419e2e(0xe6)]['beforeCommandExecuted']((_0x49b915,_0xe89e7a)=>{const _0x135180=_0x419e2e;var _0x560c00;if(_0x49b915['id']!==_0x5dc12e['SetFormulaCalculationStartMutation']['id'])return;const _0x5f58c5=_0x49b915[_0x135180(0x164)];if(!this[_0x135180(0x8b)]((_0x560c00=_0x5f58c5[_0x135180(0x1e9)])!=null?_0x560c00:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x135180(0x129)](_0x49b915,_0xe89e7a),this[_0x135180(0xb1)](),new _0x1acd3c['CanceledError']();})),this[_0x419e2e(0x362)](this['_commandService'][_0x419e2e(0x1d7)]((_0x212eb6,_0x40018d)=>{const _0x320d49=_0x419e2e;if(_0x212eb6['id']!==_0x5dc12e['SetFormulaCalculationNotificationMutation']['id'])return;const _0x49cc0b=_0x212eb6[_0x320d49(0x164)];if(_0x12ddac(_0x49cc0b)){const _0x5d699f=_0x1acd3c[_0x320d49(0x23f)]();this['_taskIds'][_0x320d49(0x2c2)](_0x5d699f),this[_0x320d49(0x207)](_0x5d699f);}else{if(_0x18ee2b(_0x49cc0b)&&this[_0x320d49(0x2a9)][_0x320d49(0x36b)]>0x0){const _0x2842be=this[_0x320d49(0x2a9)][_0x320d49(0x2b2)]();this[_0x320d49(0x1a4)](_0x2842be);}}}));}['dispose'](){const _0x35e053=_0x35dcc5;super[_0x35e053(0x381)](),this['_clearPolling'](),this[_0x35e053(0x2a9)]=[],this['_currentUsage']=0x0,this[_0x35e053(0x1ad)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x35dcc5(0x129)](_0x1d2874,_0x4e3b4c){const _0xb62abe=_0x35dcc5;for(let _0x106644=0x0;_0x106644<0x1e;_0x106644++)try{if(await this[_0xb62abe(0x250)](),this[_0xb62abe(0x2ce)]()){this[_0xb62abe(0x258)](_0x1d2874,_0x4e3b4c),this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t'](_0xb62abe(0x18c)),'type':_0x31b7ea[_0xb62abe(0x1f8)][_0xb62abe(0x246)]});return;}await new Promise(_0xd74af2=>{const _0x4e14ac=_0xb62abe;this[_0x4e14ac(0x211)]=window[_0x4e14ac(0x241)](_0xd74af2,0x3e8);});}catch(_0x14b2c7){this[_0xb62abe(0x94)][_0xb62abe(0x36d)](_0x14b2c7);}this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t']('formula.calculation.unable'),'type':_0x31b7ea['MessageType'][_0xb62abe(0x308)]});}[_0x35dcc5(0x258)](_0x279498,_0x34f0e3){const _0x18180b=_0x35dcc5;try{this[_0x18180b(0xe6)][_0x18180b(0x23c)](_0x279498['id'],_0x279498[_0x18180b(0x164)],_0x34f0e3);}catch(_0x31abc9){this[_0x18180b(0x94)][_0x18180b(0x36d)](_0x31abc9);}}['_setFormulaLimitStatus'](_0x396753,_0x41feb9){const _0x3246a5=_0x35dcc5;_0x41feb9<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x41feb9,this['_maxFormulaLimit']=Number['parseInt'](_0x396753[_0x3246a5(0x350)]),this[_0x3246a5(0x154)]=Number[_0x3246a5(0xb5)](_0x396753[_0x3246a5(0x239)]));}async[_0x35dcc5(0x207)](_0x1a2a7f){const _0x5ec444=_0x35dcc5;var _0x3e680d,_0x5924dc;const _0x290090=Date['now']();try{const _0x515bf1=((_0x3e680d=this[_0x5ec444(0x1c2)][_0x5ec444(0x14a)](_0xe836dc[_0x5ec444(0x338)]))==null?void 0x0:_0x3e680d[_0x5ec444(0x337)])||_0x5ead8b,_0x2fea2c=(await this[_0x5ec444(0x111)][_0x5ec444(0x109)](_0x515bf1,{'body':JSON[_0x5ec444(0x1b6)]({'taskId':_0x1a2a7f})}))[_0x5ec444(0x279)];if(((_0x5924dc=_0x2fea2c[_0x5ec444(0x36d)])==null?void 0x0:_0x5924dc[_0x5ec444(0xfe)])!==_0x5a8da7['OK'])return;this[_0x5ec444(0x331)](_0x2fea2c[_0x5ec444(0x191)],_0x290090);}catch(_0x2cc754){this[_0x5ec444(0x94)][_0x5ec444(0x36d)](_0x2cc754);}}async[_0x35dcc5(0x250)](_0x3652b2){const _0x33c88d=_0x35dcc5;var _0x17c1c8,_0x22e56c;const _0xed5485=Date[_0x33c88d(0x153)]();try{const _0xcae761=((_0x17c1c8=this[_0x33c88d(0x1c2)]['getConfig'](_0xe836dc[_0x33c88d(0x338)]))==null?void 0x0:_0x17c1c8[_0x33c88d(0x1b4)])||_0x31e8dd,_0x103222=_0x3652b2?_0xcae761+'?taskId='+encodeURIComponent(_0x3652b2):_0xcae761,_0x1cf2c0=(await this[_0x33c88d(0x111)][_0x33c88d(0x343)](_0x103222))['body'];if(((_0x22e56c=_0x1cf2c0[_0x33c88d(0x36d)])==null?void 0x0:_0x22e56c['code'])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x1cf2c0[_0x33c88d(0x191)],_0xed5485);}catch(_0x1bc394){this[_0x33c88d(0x94)]['error'](_0x1bc394);}}async['_releaseCalculationLimit'](_0x70102d){const _0x1929bc=_0x35dcc5;var _0xa48f97,_0x2704f9;const _0x3b9711=Date['now']();try{const _0x4aa110=((_0xa48f97=this[_0x1929bc(0x1c2)]['getConfig'](_0xe836dc[_0x1929bc(0x338)]))==null?void 0x0:_0xa48f97[_0x1929bc(0x15c)])||_0x59133d,_0x37abc0=(await this[_0x1929bc(0x111)][_0x1929bc(0x109)](_0x4aa110,{'body':JSON[_0x1929bc(0x1b6)]({'taskId':_0x70102d})}))[_0x1929bc(0x279)];if(((_0x2704f9=_0x37abc0[_0x1929bc(0x36d)])==null?void 0x0:_0x2704f9[_0x1929bc(0xfe)])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x37abc0[_0x1929bc(0x191)],_0x3b9711);}catch(_0x5b54b9){this['_logService'][_0x1929bc(0x36d)](_0x5b54b9);}}[_0x35dcc5(0x2ce)](){const _0x4aa11d=_0x35dcc5;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4aa11d(0x1ad)]-this[_0x4aa11d(0x154)]>0x0;}[_0x35dcc5(0x27a)](){const _0x429bf2=_0x35dcc5;this[_0x429bf2(0x211)]&&(clearTimeout(this[_0x429bf2(0x211)]),this[_0x429bf2(0x211)]=null);}[_0x35dcc5(0xb1)](){const _0x233779=_0x35dcc5;this['_messageService'][_0x233779(0x18a)]({'content':this[_0x233779(0xaf)]['t'](_0x233779(0x1ae)),'type':_0x31b7ea[_0x233779(0x1f8)][_0x233779(0xb6)]});}[_0x35dcc5(0x8b)](_0x5546ce){const _0xbeee1c=_0x35dcc5;for(const _0x2e0b7b of _0x5546ce){const {unitId:_0x524a46,sheetId:_0x4176bd,range:_0x2b7dc6}=_0x2e0b7b,_0x1430be=this[_0xbeee1c(0x2ee)]['getUnit'](_0x524a46);if(!_0x1430be)continue;const _0x1e4523=_0x1430be[_0xbeee1c(0x14b)](_0x4176bd);if(!_0x1e4523)continue;const _0x577001=_0x1e4523[_0xbeee1c(0x2a4)]();for(let _0x1c2f1c=_0x2b7dc6[_0xbeee1c(0x122)];_0x1c2f1c<=_0x2b7dc6['endRow'];_0x1c2f1c++)for(let _0x37f827=_0x2b7dc6[_0xbeee1c(0x270)];_0x37f827<=_0x2b7dc6[_0xbeee1c(0x13b)];_0x37f827++){const _0x2855f9=_0x577001[_0xbeee1c(0x20a)](_0x1c2f1c,_0x37f827);if(_0x2855f9&&(_0x1acd3c['isFormulaString'](_0x2855f9['f'])||_0x1acd3c[_0xbeee1c(0x286)](_0x2855f9['si'])))return!0x0;}}return!0x1;}};_0x20acf5=_0x444011([_0x17cba1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x3d1085['IMessageService'])),_0x17cba1(0x1,_0x1acd3c[_0x35dcc5(0x27e)]),_0x17cba1(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x17cba1(0x3,_0x1acd3c['Inject'](_0x26a7c0['HTTPService'])),_0x17cba1(0x4,_0x1acd3c['IUniverInstanceService']),_0x17cba1(0x5,_0x1acd3c[_0x35dcc5(0x296)]),_0x17cba1(0x6,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x20acf5);var _0x40ea6d=Object[_0x35dcc5(0x378)],_0x45bb2a=(_0x4d6f4,_0x317bb6,_0x3cc101,_0x2020b1)=>{const _0x3dc326=_0x35dcc5;for(var _0x3adef0=_0x2020b1>0x1?void 0x0:_0x2020b1?_0x40ea6d(_0x317bb6,_0x3cc101):_0x317bb6,_0x31a209=_0x4d6f4[_0x3dc326(0x36b)]-0x1,_0x5d4a08;_0x31a209>=0x0;_0x31a209--)(_0x5d4a08=_0x4d6f4[_0x31a209])&&(_0x3adef0=_0x5d4a08(_0x3adef0)||_0x3adef0);return _0x3adef0;},_0x4999c5=(_0x40237e,_0x53ad18)=>(_0xa9c299,_0x50a398)=>_0x53ad18(_0xa9c299,_0x50a398,_0x40237e);let _0x125cac=class extends _0x1acd3c['Disposable']{constructor(_0x55e248,_0xb8dd89,_0x2f4edc){const _0x226ec0=_0x35dcc5;super(),_0x504098(this,_0x226ec0(0x35d),new Map()),_0x504098(this,_0x226ec0(0x271),new Map()),_0x504098(this,_0x226ec0(0x2e0),!0x1),(this[_0x226ec0(0x1c2)]=_0x55e248,this['_localStorageService']=_0xb8dd89,this[_0x226ec0(0x240)]=_0x2f4edc);}[_0x35dcc5(0x176)](){const _0x3c3da9=_0x35dcc5;this[_0x3c3da9(0x2e0)]=!0x0;}['enableLocalCache'](){const _0x187fc0=_0x35dcc5;this[_0x187fc0(0x2e0)]=!0x1;}get[_0x35dcc5(0xb2)](){const _0x39b85c=_0x35dcc5;return this[_0x39b85c(0x271)];}[_0x35dcc5(0x381)](){const _0x15b6e0=_0x35dcc5;this[_0x15b6e0(0x317)]()[_0x15b6e0(0x1c3)](()=>super[_0x15b6e0(0x381)]());}async[_0x35dcc5(0xb4)](_0x1dbb80){const _0x23988e=_0x35dcc5;return this[_0x23988e(0x2e0)]?null:this['_localStorageService']['getItem'](_0xe836dc['getLocalCacheKey'](_0x1dbb80));}async[_0x35dcc5(0x86)](_0x59e85d,_0x3a228e){const _0x3ad2c2=_0x35dcc5;return!!this[_0x3ad2c2(0xf5)][_0x3ad2c2(0x345)](_0x59e85d,_0x3a228e);}[_0x35dcc5(0x148)](_0x104cfc,_0x1829a2,_0x4d7529,_0x45137f){const _0x863731=_0x35dcc5,_0x2b5501=this[_0x863731(0x240)][_0x863731(0x218)](_0x104cfc);this[_0x863731(0x35d)][_0x863731(0x375)](_0x104cfc,{'unitID':_0x104cfc,'type':_0x1829a2,'awaitingChangeset':_0x4d7529,'mutations':_0x45137f,'rev':_0x2b5501}),this[_0x863731(0x271)][_0x863731(0x1ba)](_0x104cfc)||this[_0x863731(0x280)](_0x104cfc);}[_0x35dcc5(0x280)](_0x2944fd){const _0x1e67bf=_0x35dcc5,_0x4d1123=this[_0x1e67bf(0xe2)]();_0x4d1123===0x0?this[_0x1e67bf(0x147)](_0x2944fd):this[_0x1e67bf(0x271)]['set'](_0x2944fd,setTimeout(()=>this[_0x1e67bf(0x147)](_0x2944fd),_0x4d1123));}[_0x35dcc5(0xe2)](){const _0x49dbae=_0x35dcc5;var _0x5c5613;return(_0x5c5613=this['_configService'][_0x49dbae(0x14a)](_0xe836dc[_0x49dbae(0x1c0)]))!=null?_0x5c5613:_0xe836dc['LOCAL_CACHE_INTERVAL'];}[_0x35dcc5(0x147)](_0x51598b){const _0x5a800d=_0x35dcc5,_0xe752a6=this[_0x5a800d(0x271)][_0x5a800d(0x343)](_0x51598b);return _0xe752a6!==void 0x0&&window[_0x5a800d(0x248)](_0xe752a6),this['_localStorageService'][_0x5a800d(0x345)](_0xe836dc[_0x5a800d(0x243)](_0x51598b),this[_0x5a800d(0x35d)][_0x5a800d(0x343)](_0x51598b))[_0x5a800d(0x1c3)](()=>this['_saveTaskMap']['delete'](_0x51598b));}async[_0x35dcc5(0x317)](){const _0x54ec7a=_0x35dcc5,_0x551e14=[];this[_0x54ec7a(0x271)][_0x54ec7a(0x9a)]((_0x3a8eaa,_0x306105)=>{const _0x4bf6c1=_0x54ec7a;window['clearTimeout'](_0x3a8eaa),_0x551e14[_0x4bf6c1(0x2c2)](this['_saveCache'](_0x306105)[_0x4bf6c1(0x1c3)](()=>{this['_saveTaskMap']['delete'](_0x306105);}));}),await Promise[_0x54ec7a(0xb7)](_0x551e14);}};_0x125cac=_0x45bb2a([_0x4999c5(0x0,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x4999c5(0x1,_0x1acd3c[_0x35dcc5(0x29e)]),_0x4999c5(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1d9a86[_0x35dcc5(0x26f)]))],_0x125cac);class _0x1e34fb extends _0x1acd3c['RxDisposable']{constructor(){const _0x4b7440=_0x35dcc5;super(),_0x504098(this,_0x4b7440(0xec)),this['urlChange$']=_0x52b4d8[_0x4b7440(0x237)](window,'popstate')[_0x4b7440(0x22a)](_0x52b4d8[_0x4b7440(0xa7)](this['dispose$']),_0x52b4d8[_0x4b7440(0x113)](0x1),_0x52b4d8[_0x4b7440(0x105)](void 0x0));}[_0x35dcc5(0x130)](_0x450c8e,_0x1024af,_0x8af0bf=!0x1){const _0x493935=_0x35dcc5,_0x1daf00=new URL(window[_0x493935(0x196)][_0x493935(0x37e)]);_0x1daf00[_0x493935(0x1bb)][_0x493935(0x375)](_0x450c8e,_0x1024af),_0x8af0bf?window['history'][_0x493935(0x361)]('','',_0x1daf00[_0x493935(0x327)]()):window[_0x493935(0x23e)][_0x493935(0xf1)]('','',_0x1daf00[_0x493935(0x327)]());}[_0x35dcc5(0x189)](_0x27c293,_0x5680c2=!0x1){const _0x46966a=_0x35dcc5,_0x3b5c63=new URL(window[_0x46966a(0x196)][_0x46966a(0x37e)]);_0x3b5c63[_0x46966a(0x1bb)]['delete'](_0x27c293),_0x5680c2?window[_0x46966a(0x23e)][_0x46966a(0x361)]('','',_0x3b5c63[_0x46966a(0x327)]()):window[_0x46966a(0x23e)][_0x46966a(0xf1)]('','',_0x3b5c63[_0x46966a(0x327)]());}[_0x35dcc5(0x1a2)](_0x36e2f0){const _0x3c4c47=_0x35dcc5;var _0x96a641;return(_0x96a641=new URL(window['location']['href'])[_0x3c4c47(0x1bb)][_0x3c4c47(0x343)](_0x36e2f0))!=null?_0x96a641:void 0x0;}}var _0x52ee2e=Object[_0x35dcc5(0x2a2)],_0x4ac457=Object[_0x35dcc5(0x378)],_0x1929cc=(_0x271e52,_0x1ba97a,_0x4ffa02)=>_0x1ba97a in _0x271e52?_0x52ee2e(_0x271e52,_0x1ba97a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ffa02}):_0x271e52[_0x1ba97a]=_0x4ffa02,_0x4cc86e=(_0x564b07,_0x39075,_0x3eddef,_0x2a6e86)=>{const _0x1563d2=_0x35dcc5;for(var _0x165616=_0x2a6e86>0x1?void 0x0:_0x2a6e86?_0x4ac457(_0x39075,_0x3eddef):_0x39075,_0x2fe4db=_0x564b07[_0x1563d2(0x36b)]-0x1,_0x4ca8bd;_0x2fe4db>=0x0;_0x2fe4db--)(_0x4ca8bd=_0x564b07[_0x2fe4db])&&(_0x165616=_0x4ca8bd(_0x165616)||_0x165616);return _0x165616;},_0x50e127=(_0x21d00a,_0x81cd2e)=>(_0x2d01da,_0x2f8d02)=>_0x81cd2e(_0x2d01da,_0x2f8d02,_0x21d00a),_0x566736=(_0x564135,_0x1b33d4,_0x41401c)=>_0x1929cc(_0x564135,_0x1b33d4+'',_0x41401c);const _0x1c2b55=_0x35dcc5(0x25d);_0x94c2a0['UniverCollaborationClientUIPlugin']=class extends _0x1acd3c[_0x35dcc5(0x1c6)]{constructor(_0x4e4a58=_0x444dbe,_0x154b31,_0x12bc4d,_0x379a5d){const _0x44df97=_0x35dcc5;super(),this[_0x44df97(0x12d)]=_0x4e4a58,this['_renderManagerService']=_0x154b31,this[_0x44df97(0x304)]=_0x12bc4d,this[_0x44df97(0x1c2)]=_0x379a5d;const {..._0x1cd192}=_0x1acd3c['merge']({},_0x444dbe,this['_config']);this[_0x44df97(0x1c2)][_0x44df97(0x22c)](_0x1b22ef,_0x1cd192);}[_0x35dcc5(0x293)](){const _0x182af7=_0x35dcc5;this['_registerDependencies'](),this[_0x182af7(0x93)]();}[_0x35dcc5(0x274)](){const _0x55dfd2=_0x35dcc5;this[_0x55dfd2(0x2b6)]();}[_0x35dcc5(0x300)](){const _0x15d88f=_0x35dcc5;var _0x362aae;const _0x16cedb=[[_0x2ecc79],[_0x20acf5],[_0x5ca507],[_0x17d59f],[_0x20228f],[_0x4fc58b],[_0x47bc3f,{'useClass':_0x1e34fb}],[_0x26a7c0[_0x15d88f(0x340)],{'useClass':_0x26a7c0['WebSocketService']}],[_0xe836dc[_0x15d88f(0x1d6)],{'useClass':_0x125cac}],[_0x94c2a0[_0x15d88f(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x224c41],[_0x774444],[_0x94c2a0['CollaborationDataLoaderController']]];this['_config'][_0x15d88f(0x265)]&&_0x16cedb[_0x15d88f(0x2c2)]([_0x245133]),_0x1acd3c['registerDependencies'](this[_0x15d88f(0x304)],_0x1acd3c['mergeOverrideWithDependencies'](_0x16cedb,(_0x362aae=this[_0x15d88f(0x12d)])==null?void 0x0:_0x362aae[_0x15d88f(0x12e)]));}[_0x35dcc5(0x2b6)](){const _0x2f950b=_0x35dcc5;this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)][_0x2f950b(0x210)](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x1b2)],[_0x2a51ff])),this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)]['registerRenderModule'](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x97)],[_0x4f2b9e]));}['_initDependencies'](){const _0x430ff1=_0x35dcc5;_0x1acd3c['touchDependencies'](this[_0x430ff1(0x304)],[[_0x224c41],[_0x94c2a0[_0x430ff1(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x94c2a0[_0x430ff1(0xdc)]],[_0x20acf5]]),this[_0x430ff1(0x12d)][_0x430ff1(0x265)]&&_0x1acd3c[_0x430ff1(0x1c5)](this['_injector'],[[_0x245133]]);}},_0x566736(_0x94c2a0['UniverCollaborationClientUIPlugin'],_0x35dcc5(0x294),_0x1c2b55),_0x94c2a0[_0x35dcc5(0x180)]=_0x4cc86e([_0x1acd3c[_0x35dcc5(0xee)](_0xe836dc[_0x35dcc5(0x29c)]),_0x50e127(0x1,_0x4dbd74[_0x35dcc5(0x1f3)]),_0x50e127(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x50e127(0x3,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0[_0x35dcc5(0x180)]);var _0x3aba60=Object[_0x35dcc5(0x378)],_0x53105c=(_0x444123,_0x2ea1ff,_0x4955fd,_0x5e0c89)=>{const _0x2b6598=_0x35dcc5;for(var _0x45ba30=_0x5e0c89>0x1?void 0x0:_0x5e0c89?_0x3aba60(_0x2ea1ff,_0x4955fd):_0x2ea1ff,_0x2704bf=_0x444123[_0x2b6598(0x36b)]-0x1,_0x4f1eb5;_0x2704bf>=0x0;_0x2704bf--)(_0x4f1eb5=_0x444123[_0x2704bf])&&(_0x45ba30=_0x4f1eb5(_0x45ba30)||_0x45ba30);return _0x45ba30;},_0x5ca938=(_0x917fff,_0x599eff)=>(_0x3842e9,_0x4f5c2c)=>_0x599eff(_0x3842e9,_0x4f5c2c,_0x917fff);_0x94c2a0[_0x35dcc5(0x227)]=class extends _0xe836dc[_0x35dcc5(0x30e)]{constructor(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7){super(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7);}async[_0x35dcc5(0x2ca)](_0x2e9afb){const _0x279329=_0x35dcc5,_0x1f4a0f=await this[_0x279329(0x379)](),_0x282a04=this['_createSocketURL'](_0x2e9afb,_0x1f4a0f);return this[_0x279329(0x19e)](_0x282a04);}['_createSocketURL'](_0x49a899,_0x19f627){const _0x15268e=_0x35dcc5,_0x11b131=typeof window>'u'?new URL(_0x49a899):new URL(_0x49a899,window[_0x15268e(0x196)][_0x15268e(0x2f6)]);_0x11b131[_0x15268e(0x1bb)][_0x15268e(0x375)](_0x15268e(0xaa),_0x19f627);const _0x305bd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x15268e(0x196)][_0x15268e(0x95)]);return _0x305bd1['get']('runId')&&_0x11b131[_0x15268e(0x1bb)]['set'](_0x15268e(0x349),_0x305bd1['get']('runId')),_0x11b131['toString']();}async['_getSessionTicket'](){const _0x3cd31b=_0x35dcc5;var _0x36d5dd,_0x3b50bd,_0x1deb33;const _0x3826fb=this[_0x3cd31b(0x1c2)][_0x3cd31b(0x14a)](_0xe836dc[_0x3cd31b(0x338)]),_0x44d20d=(_0x36d5dd=_0x3826fb==null?void 0x0:_0x3826fb['wsSessionTicketUrl'])!=null?_0x36d5dd:_0xe836dc[_0x3cd31b(0x14d)];return(_0x1deb33=(_0x3b50bd=(await this[_0x3cd31b(0x111)]['get'](_0x44d20d,{'headers':{'Content-Type':_0x3cd31b(0xc0)}}))[_0x3cd31b(0x279)])==null?void 0x0:_0x3b50bd['ticket'])!=null?_0x1deb33:'';}},_0x94c2a0[_0x35dcc5(0x227)]=_0x53105c([_0x5ca938(0x0,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5ca938(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x5ca938(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x5ca938(0x3,_0x1acd3c['ILogService']),_0x5ca938(0x4,_0x1d9a86['ISnapshotServerService'])],_0x94c2a0[_0x35dcc5(0x227)]);var _0x56d996=Object[_0x35dcc5(0x378)],_0x5c877c=(_0x53013f,_0x491019,_0x4849f6,_0x4ba3d)=>{const _0x22977a=_0x35dcc5;for(var _0x5b6665=_0x4ba3d>0x1?void 0x0:_0x4ba3d?_0x56d996(_0x491019,_0x4849f6):_0x491019,_0x110c9d=_0x53013f[_0x22977a(0x36b)]-0x1,_0x518de7;_0x110c9d>=0x0;_0x110c9d--)(_0x518de7=_0x53013f[_0x110c9d])&&(_0x5b6665=_0x518de7(_0x5b6665)||_0x5b6665);return _0x5b6665;},_0x188c3e=(_0x269a3b,_0x116ac0)=>(_0x432792,_0x4eea32)=>_0x116ac0(_0x432792,_0x4eea32,_0x269a3b);_0x94c2a0[_0x35dcc5(0xbc)]=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x857cc2,_0x18bf5f,_0x5e5746){const _0x2e3c06=_0x35dcc5;super(),this[_0x2e3c06(0x209)]=_0x857cc2,this[_0x2e3c06(0x111)]=_0x18bf5f,this[_0x2e3c06(0x1c2)]=_0x5e5746;}async[_0x35dcc5(0x26d)](_0x5c9c32,_0x409e09,_0x26824d,..._0x4c84b3){const _0x3069a4=_0x35dcc5;var _0x3f33cd,_0x240ceb,_0x59cae3,_0x301327;const _0x5008b6=this[_0x3069a4(0x209)][_0x3069a4(0x21c)]();if(!_0x5008b6)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1698d4=((_0x3f33cd=this[_0x3069a4(0x1c2)]['getConfig'](_0xe836dc[_0x3069a4(0xd7)]))!=null?_0x3f33cd:_0xe836dc[_0x3069a4(0xdf)])+'/'+_0x5c9c32+'/run/'+_0x409e09,_0x114695=new URL(window[_0x3069a4(0x196)][_0x3069a4(0x37e)]),_0x408cde={'scriptId':_0x5c9c32,'runId':(_0x240ceb=_0x114695['searchParams'][_0x3069a4(0x343)](_0x3069a4(0x349)))!=null?_0x240ceb:'','function':_0x409e09,'unitId':_0x5008b6[_0x3069a4(0x2cb)](),'argsOfFunction':JSON[_0x3069a4(0x1b6)](_0x4c84b3),'invokeId':(_0x59cae3=_0x26824d[_0x3069a4(0x32e)])!=null?_0x59cae3:'','executionId':(_0x301327=_0x26824d[_0x3069a4(0x2e1)])!=null?_0x301327:''};try{const _0x1aaa83=await this[_0x3069a4(0x111)]['post'](_0x1698d4,{'body':_0x408cde});return _0x1aaa83[_0x3069a4(0x279)][_0x3069a4(0x36d)]&&_0x1aaa83['body'][_0x3069a4(0x36d)][_0x3069a4(0xfe)]!==_0x5a8da7['OK']?'Failed':_0x1aaa83['body'][_0x3069a4(0x19c)];}catch{return'Failed';}}},_0x94c2a0[_0x35dcc5(0xbc)]=_0x5c877c([_0x188c3e(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x188c3e(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x188c3e(0x2,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0['RemoteUniscriptService']);const _0x2f5fd9=0x7530,_0x366a5e=_0x35dcc5(0x33d);class _0x11f82a extends _0x1acd3c['Disposable']{constructor(){const _0x583cc2=_0x35dcc5;super(),_0x504098(this,'_id',_0x1acd3c[_0x583cc2(0x23f)]()),_0x504098(this,_0x583cc2(0x152),new Set()),_0x504098(this,_0x583cc2(0x221),new Map()),_0x504098(this,_0x583cc2(0x364),null),_0x504098(this,'_clearOtherTimers',new Map()),_0x504098(this,_0x583cc2(0x117),new Map()),this[_0x583cc2(0x216)]();}[_0x35dcc5(0x381)](){const _0x12c66d=_0x35dcc5;super[_0x12c66d(0x381)](),this['_clearOtherTimers']['forEach']((_0xb4198f,_0x18c534)=>this[_0x12c66d(0x2db)](_0x18c534)),this[_0x12c66d(0x364)]&&window[_0x12c66d(0x244)](this[_0x12c66d(0x364)]);}[_0x35dcc5(0x354)](_0x2a6e88){const _0x1af53d=_0x35dcc5;return this[_0x1af53d(0x90)](_0x2a6e88)[_0x1af53d(0x22a)](_0x52b4d8[_0x1af53d(0x266)]());}[_0x35dcc5(0x2e7)](_0x2c2aa1){const _0x594b46=_0x35dcc5;this[_0x594b46(0x152)][_0x594b46(0x9b)]===0x0&&this[_0x594b46(0x119)](),this[_0x594b46(0x152)][_0x594b46(0x2fc)](_0x2c2aa1),this['_send']({'type':0x0,'memberID':this[_0x594b46(0x12c)],'unitIDs':[_0x2c2aa1],'isForwarded':!0x1});}[_0x35dcc5(0x1d1)](_0x1040f3){const _0x1b0db3=_0x35dcc5;this[_0x1b0db3(0x152)][_0x1b0db3(0x2bb)](_0x1040f3),this[_0x1b0db3(0x152)][_0x1b0db3(0x9b)]===0x0&&this[_0x1b0db3(0x364)]&&window[_0x1b0db3(0x244)](this['_heartbeatTimer']);}[_0x35dcc5(0x216)](){const _0x195d4d=_0x35dcc5;this[_0x195d4d(0x362)](_0x1acd3c[_0x195d4d(0x31a)](_0x52b4d8['fromEvent'](window,_0x195d4d(0x259))[_0x195d4d(0xc6)](_0x31c8b5=>{const _0x6e64b0=_0x195d4d;if(_0x31c8b5[_0x6e64b0(0x2b1)]!==_0x366a5e||!_0x31c8b5[_0x6e64b0(0xd5)])return;const _0x55f791=JSON[_0x6e64b0(0x325)](_0x31c8b5[_0x6e64b0(0xd5)]);this[_0x6e64b0(0x1ec)](_0x55f791);}))),window[_0x195d4d(0x374)](_0x195d4d(0x11d),()=>this[_0x195d4d(0x9e)]({'type':0x1,'memberID':this[_0x195d4d(0x12c)],'unitIDs':Array[_0x195d4d(0x29a)](this[_0x195d4d(0x152)])}));}[_0x35dcc5(0x1ec)](_0x3baab5){const _0x510de9=_0x35dcc5;switch(_0x3baab5['type']){case 0x0:this[_0x510de9(0xcb)](_0x3baab5);break;case 0x1:this[_0x510de9(0x1a6)](_0x3baab5);break;case 0x2:this[_0x510de9(0x33c)](_0x3baab5);break;}}['_handleJoinEvent'](_0x3528da){const _0x6b1cf3=_0x35dcc5,{unitIDs:_0x4858ca,memberID:_0x5b7675,isForwarded:_0x3af1c7}=_0x3528da;_0x4858ca[_0x6b1cf3(0x9a)](_0x4b5200=>{const _0x6f7a01=_0x6b1cf3;if(!_0x3af1c7&&this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)&&this[_0x6f7a01(0x90)](_0x4b5200)[_0x6f7a01(0xba)](_0xe836dc[_0x6f7a01(0x15d)][_0x6f7a01(0x157)]),!this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)||!this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)[_0x6f7a01(0x1ba)](_0x5b7675)){const _0x52a8ca=this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)||new Set();_0x52a8ca['add'](_0x5b7675),this[_0x6f7a01(0x221)][_0x6f7a01(0x375)](_0x4b5200,_0x52a8ca),this[_0x6f7a01(0x23d)](_0x5b7675);}}),_0x3af1c7||this[_0x6b1cf3(0x9e)]({'type':0x0,'memberID':this[_0x6b1cf3(0x12c)],'unitIDs':[...this[_0x6b1cf3(0x152)]],'isForwarded':!0x0});}[_0x35dcc5(0x23d)](_0x4c946d){const _0x1ebc1e=_0x35dcc5;this[_0x1ebc1e(0x2db)](_0x4c946d);const _0xd77ba5=window[_0x1ebc1e(0x241)](()=>{const _0x3702ce=_0x1ebc1e;this['_unitOnClients'][_0x3702ce(0x9a)](_0x3cd8c0=>{_0x3cd8c0['delete'](_0x4c946d);});},_0x2f5fd9*0x2);this['_clearOtherTimers'][_0x1ebc1e(0x375)](_0x4c946d,_0xd77ba5);}[_0x35dcc5(0x2db)](_0xe9adde){const _0x2456ff=_0x35dcc5;if(this[_0x2456ff(0x1e4)][_0x2456ff(0x1ba)](_0xe9adde)){const _0x242832=this[_0x2456ff(0x1e4)][_0x2456ff(0x343)](_0xe9adde);_0x242832&&window[_0x2456ff(0x248)](_0x242832),this['_clearOtherTimers'][_0x2456ff(0x375)](_0xe9adde,null);}}[_0x35dcc5(0x1a6)](_0x3f78ae){const _0x56f86d=_0x35dcc5,{memberID:_0xc3fa,unitIDs:_0x3281a9}=_0x3f78ae;_0x3281a9[_0x56f86d(0x9a)](_0x3e61bc=>{const _0x388f00=_0x56f86d;var _0xd3f08e;const _0x3eaff5=this['_unitOnClients'][_0x388f00(0x343)](_0x3e61bc);_0x3eaff5&&(_0x3eaff5[_0x388f00(0x2bb)](_0xc3fa),(_0xd3f08e=this['_ensureSubject'](_0x3e61bc))==null||_0xd3f08e[_0x388f00(0xba)](_0x3eaff5['size']===0x0?_0xe836dc[_0x388f00(0x15d)][_0x388f00(0x323)]:_0xe836dc[_0x388f00(0x15d)]['OTHER_CLIENTS_EDITING']));}),this[_0x56f86d(0x2db)](_0xc3fa);}[_0x35dcc5(0x33c)](_0x4e7375){const _0x158e7d=_0x35dcc5;this[_0x158e7d(0x23d)](_0x4e7375['memberID']);}[_0x35dcc5(0x9e)](_0x248845){const _0x4dad4e=_0x35dcc5;localStorage[_0x4dad4e(0x345)](_0x366a5e,JSON[_0x4dad4e(0x1b6)](_0x248845));}[_0x35dcc5(0x119)](){const _0x5cbab4=_0x35dcc5;this[_0x5cbab4(0x364)]=window[_0x5cbab4(0x146)](()=>{const _0x27ac44=_0x5cbab4;this[_0x27ac44(0x9e)]({'type':0x2,'memberID':this[_0x27ac44(0x12c)]});},_0x2f5fd9);}[_0x35dcc5(0x90)](_0x10deaf){const _0x5cdd47=_0x35dcc5;return this[_0x5cdd47(0x117)][_0x5cdd47(0x1ba)](_0x10deaf)||this[_0x5cdd47(0x117)][_0x5cdd47(0x375)](_0x10deaf,new _0x52b4d8[(_0x5cdd47(0x2eb))](_0xe836dc[_0x5cdd47(0x15d)][_0x5cdd47(0x323)])),this['_unitStatus'][_0x5cdd47(0x343)](_0x10deaf);}}_0x94c2a0[_0x35dcc5(0x2a0)]=_0x47bc3f,_0x94c2a0[_0x35dcc5(0xc8)]=_0x17cc8b,_0x94c2a0[_0x35dcc5(0x314)]=_0x11f82a,_0x94c2a0[_0x35dcc5(0x2c1)]=_0x1e34fb,Object['defineProperty'](_0x94c2a0,Symbol[_0x35dcc5(0x14c)],{'value':_0x35dcc5(0x204)});}));function _0x3f7c(){const _0xeb7894=['CollaborationUIEventId','CONFLICT','[Unhandled\x20Rejection]:\x20','getUndoRedoMutationParamsCache','createInstance','_draw','resize','onPointerEnter$','@univerjs/rpc','Module','drawWith','_updateLocalCursor','_startCalculationLimit','Disposable','_instanceService','getValue','assignAColorForMemberID','_docTransformSelectionsService','arc','UniverIcon','_onCursorUpdate','registerRenderModule','_pollingInterval','START_CALCULATION','EMAIL_HAS_BEEN_BOUND','throttleTime','YUUMI_RATE_OVER_LIMIT','_init','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getCurrentRevOfUnit','restore','Unknown\x20user','useDependency','getFocusedUnit','bind','url(#off-line-icon_clip0_910_343)','_range','Optional','_unitOnClients','_name','_onRefRangeChange','isActive','getTypeOfUnitAdded$','_uiPartsService','BrowserCollaborationSocketService','div','_initEntityListener','pipe','NodePositionConvertToRectRange','setConfig','Warning','ranges','OnLineIcon','ColorKit','selection','collaboration-client-ui.config','uni.network.url-service','HEADER_MENU','_textBubble','clsx','fromEvent','_session','currentUsage','RemoveColCommandId','_initWindowErrorListener','executeCommand','_scheduleClearOtherTimer','history','generateRandomId','_revisionService','setTimeout','INTERNAL_ERROR','getLocalCacheKey','clearInterval','isArray','Success','TOO_MANY_REQUESTS','clearTimeout','getVpScrollXYInfoByPosToVp','collabStatus.notCollab','Vector2','m1Prime','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverDrawing','_cursorShapes','_getFormulaLimitStatus','range','colorChannel1','RefRangeService','tag','docStateChange$','toRgbString','setAlpha','_applyCommand','storage','handleDeleteRangeMoveUp','black','handleIRemoveRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Tools','DocSelectionManagerService','SetWorksheetActivateCommand','NodePositionConvertToCursor','sessionStatus$','some','UniverDocs','enableFrontendLog','distinctUntilChanged','defIds','getActiveSheet','complete','UniverUi','USER_NOT_INVITED_CODE','fromEventSubject','runOnServer','clipPath','RevisionService','startColumn','_saveTaskMap','LICENSE_MAX_UNITS_EXCEEDED','_initStatusListener','onRendered','_backgroundColor','runRefRangeMutations','transformMutation','AUTHORIZE_CODE_ILLEGAL','body','_clearPolling','unsubscribe','color','UniverEngineFormula','ICommandService','session.collaboration-timeout','_scheduleSaving','WECHAT_HAS_BEEN_BOUND','ENSURE_SNAPSHOT_EXECUTION','CollaborationStatus','getTypeOfUnitDisposed$','registerRefRange','isFormulaId','debounceTime','UNDEFINED','collabStatus.fetchMiss','_initUnhandledRejectionListener','LICENSE_IMPORT_SIZE_EXCEEDED','SessionStatus','INVITE_CODE_ALREADY_BOUND','DocIMEInputManagerService','bottom','serializeRangeWithSheet','getCurrent','_color','onStarting','pluginName','RichTextEditingMutation','ILogService','LICENSE_EXPORT_SIZE_EXCEEDED','_onCursorDelete','getOffsetConfig','from','@univerjs/sheets','UniverCollaborationClientPlugin','collabStatus.conflict','ILocalStorageService','stage','IURLService','xlink:href','defineProperty','subunit','getCellMatrix','_transformService','DocSkeletonManagerService','red.300','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_taskIds','currentColor','catch','getColor','getCellPositionByOffset','NOT_FOUND','_hovered','stack','key','shift','YUUMI_ASYNCIO_CANCELLED','ENTITLE_DUP_SUBSCRIPTION','_refreshCollabCursors','_registerRenderDependencies','collabStatus.offline','doc.mutation.rich-text-editing','_initUserListener','cursorInfo','delete','UniverProCollaborationClientUi','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_toggleOnline','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_INVALID_CODE','WebURLService','push','ENTITLE_INSUFFICIENT_QUOTA','roomMembers$','NOT_COLLAB','addObject','_collaborationController','REDEMPTION_CODE_HAS_BEEN_CREATED','requireSession','createSocket','getUnitId','_collabCursorState$','hovered','_checkCalculationAvailable','ENTITLE_INVALID_COUPON_CODE','6926328BokcXJ','4911025THFfNP','jsx','_initEvent','transformByState','ENTITLE_USE_COUPON_NOT_1ST_TRADE','replace','addClipboardHook','fillText','LICENSE_DISTRO_REJECTED','AWAITING','_removeClearOtherTimer','_collaborationUIEventService','skeleton','makeDirty','_assignedColors','_disabled','executionId','PENDING','@univerjs-pro/collaboration-client','ENTITLE_COUPON_USED_UP','_uploadLog','object','editingUnit','763930OAmBjC','filter','_collabSessionService','BehaviorSubject','transformSelections','labelPosition','_univerInstanceService','collab-client.tooltip.reconnect','find','IConfigService','USERS_LEAVE','getViewport','REDEMPTION_CODE_FULLY_REDEEMED','REDEMPTION_CODE_NOT_STARTED','origin','_imageIoService','onPointerLeave$','dispose$','_hover','DATA_SOURCE_TOO_LARGE','add','path','6924sbCVcu','session.will-retry','_registerDependencies','COLORS','MOBILE_VERIFY_CODE_MISMATCH','_transformUndoRedoStack','_injector','SetDocZoomRatioOperation','random','TEXT_RANGE_LAYER_INDEX','Error','@univerjs/engine-render','UniverProCollaborationClient','Workbook','imageSourceType','setActiveRange','CollaborationSocketService','none','purple.300','width','_roomMembers$','handleIRemoveCol','WebBrowserSingleActiveUnitService','source','LOGIN_FAILED','exhaustSavingTask','ENTITLE_REPORT_LIMIT_EXCEED','attrs','toDisposable','YUUMI_UNABLE_LOAD_URL','_updateCollabCursors','column','onTransformChange$','_initCommandInterceptor','selections','triggerDblclick','_toggleOffline','NO_OTHER_CLIENTS_EDITING','_setupBeforeClosingHandler','parse','_eventUnsubscribe','toString','_handleHover','IUniverInstanceService','createElement','entries','APPLY_REJECT','_drawRectRange','invokeId','send','_notificationService','_setFormulaLimitStatus','FETCH_MISS','YUUMI_AI_RUN_FAILED','unitId','_colorAssignService','combineLatest','startFormulaLimitUrl','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','FormulaExecuteStageType','white','isEditing','_handleHeartbeatEvent','ACTIVE_UNIT_EVENT_CHANNEL','Rect','YUUMI_SUBSCRIPTION_NOT_FOUND','ISocketService','registerBeforeClose','VIEW_MAIN','get','substring','setItem','onMouseMove','permission.content','redoState','runId','DesktopCollaborationStatusDisplayController','CHANGESET_REVISION_CONFILICT','asObservable','includes','collab-text-range-','@univerjs/core','maxFormulaLimit','getCurrentSelections','FromArray','off-line-icon','getUnitStatus$','ENTITLE_COUPON_EXPIRED','mutations','IRemoteInstanceService','Shape','reason','svg','textRanges','getCoordByCell','_cachedData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_setupSubUnitSync','_memberService','replaceState','disposeWithMe','status$','_heartbeatTimer','map','SNAPSHOT_INVALID_SNAPSHOT','RemoveRowCommandId','handleInsertRangeMoveRight','@univerjs/drawing','_startDocCollabCursor','length','Inject','error','_getMergeRange','IDocClipboardService','univerjs-icon\x20univerjs-icon-','_updateURLWithCurrentState','url(#on-line-icon_clip0_910_349)','YUUMI_URL_COL_OUT_OF_RANGE','addEventListener','set','9273636zuFpZN','HTTPService','getOwnPropertyDescriptor','_getSessionTicket','handleInsertRow','save','top','React','href','IMessageService','onPointerMove$','dispose','saveOfflineData','current','merge','USER_IS_ANONYMOUS','_initStatusComponent','_hasFormulaInDirtyRanges','getCollabCursors$','UniverInstanceType','_cursorInfo$','/universer-api/license/formula/limit/done','_ensureSubject','socket$','split','_initDependencies','_logService','search','transformMutationsWithChangeset','UNIVER_SHEET','forwardRef','getRangePointData','forEach','size','MoveRangeCommandId','event$','_send','CommandType','@univerjs/sheets-ui','rxjs','_labelPosition','_dataLoaderService','_collaborationSessionService','17734130PHRaBQ','JOIN_ROOM_FAILED','takeUntil','connectInjector','entityInit$','sessionTicket','_drawAnchor','findNodePositionByCharIndex','UniverProCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','_getScale','_showGuardMessage','saveTaskMap','unit','loadOfflineData','parseInt','Loading','all','PERMISSION_DENIED','transformRemoteChangeset','next','syncEditingCollabCursor','RemoteUniscriptService','Subject','OFFLINE','endRow','application/json','string','session.connection-failed','beginPath','eventID','getSheetId','subscribe','OffLineIcon','SheetCollabCursorShape','[CollaborationDataLoaderController]','APPLY_REVISION_CONFILICT','_handleJoinEvent','undoState','createIdentifier','[Window\x20Error]:\x20','getUnhiddenWorksheets','isTransformMutationFailure','DOC_RANGE_TYPE','text','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','newValue','CollaborationEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_collabCursorController','ITransformService','InsertRowCommandId','_initResize','CollaborationDataLoaderController','unshift','EMAIL_VERIFY_CODE_MISMATCH','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','with','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','row','function','data','_commandService','_sheetSkeletonManagerService','_themeService','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','react/jsx-runtime','urlChange$','ONLINE','DependentOn','transformStateCache','_anchorDot','pushState','actions','YUUMI_CONNECTOR_URL_NOT_FOUND','1OPANQu','_localStorageService','UNAUTHENTICATED','INotificationService','useObservable','_context','RegularPolygon','fillStyle','cursorInfo$','init','code','APPLY_PERMISSION_DENIED','getCurrentUnitForType','_monkeyPatchLogService','CONNECTOR_DATA_TOO_LARGE','1539XLZeLr','_drawTextRange','mapTo','_lastResponseTimestamp','deepClone','measureText','post','USER_NOT_FOUND','name','LocaleService','evenodd','IBeforeCloseService','_docStateChangeManagerService','symbol','_httpService','ALREADY_EXISTS','shareReplay','SOCKET_FAILED_RETRY','whenReady','_memberID','_unitStatus','amd','_scheduleHeartbeat','_docSyncEditingCollabCursorService','Injector','on-line-icon_clip0_910_349','unload','handleMoveRange','/universer-api/license/formula/limit/status','getSkeleton','engine','startRow','_docClipboardService','_anchor','EffectRefRangId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_localCacheService','FormulaExecutedStateType','_checkAndWaitForCalculationPermission','http://www.w3.org/2000/svg','DocStateChangeManagerService','_id','_config','override','MOBILE_HAS_BEEN_BOUND','setParam','registerComponent','_initCommandExecutedListener','_entityInit$','UNRECOGNIZED','_lastPointer','collaboration.closeRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursor','ThemeService','onLocalMutation','endColumn','_shapes','handleDeleteRangeMoveLeft','1em','stageInfo','_cursors','[LogService\x20Error]:\x20','_entities','DocCollaborationEntity','join','contains','setInterval','_saveCache','updateOfflineData','saveImage','getConfig','getSheetBySheetId','toStringTag','DEFAULT_WS_SESSION_TICKET_URL','removeEventListener','off-line-icon_clip0_910_343','12oICKBj','setUndoRedoMutationParamsCache','_selfUnitIDs','now','_currentUsage','on-line-icon','_docTransformIMECacheService','OTHER_CLIENTS_EDITING','_hideTimer','translate(.97)','mask','_messageService','releaseFormulaLimitUrl','UnitStatus','_getAnchorBounding','@univerjs/design','transform','_docTransformStateCacheService','CollaborationController','addObjects','params','setShapeProps','handleInsertCol','m2Prime','\x20at\x20','SUCCESS','UniverRpc','transformIMECache','totalFormulasToCalculate','DeleteRangeMoveUpCommandId','CURRENT_STATUS_CANNOT_OPERATE','yellow.400','url(#$1','deserializeRangeWithSheet','getDocRanges','_transformHistoryAndStateStack','MUTATION','PAYMENT_CHANNEL_NOT_SUPPORT','disableLocalCache','addHandlerCallback','permission.title','flatMap','type','UPDATE_CURSOR','currentSkeleton$','rgba(255,\x20255,\x20255,\x200.01)','replaceDocRanges','startsWith','UniverCollaborationClientUIPlugin','unitID','_removeCollabCursors','ERROR_AGAIN','INVITE_CODE_HAS_BEEN_UES','sheetID','children','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_CHAT_LIMIT_EXCEED','removeParam','show','rxjs/operators','formula.calculation.started','CollaborationUIEventService','getAncestorScale','/universer-api/license/formula/limit/start','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','limitInfo','subscribeEvent','collabCursorState$','defs','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','location','_status$','_startSheetCollabCursor','InsertRangeMoveDownCommandId','_colorIndex','lineTo','result','_renderManagerService','_doCreateSocket','useCallback','getStateCache','operators','getParam','PY_RUNTIME_SCRIPT_ERROR','_releaseCalculationLimit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleLeaveEvent','_urlService','trim','displayName','0\x200\x2016\x2016','UniverSheets','switchMap','_maxFormulaLimit','formula.calculation.waiting','isTransformMutationsWithChangesetSuccess','TEXT','getMemberID','UNIVER_DOC','@univerjs/engine-formula','getFormulaLimitStatusUrl','round','stringify','UniverNetwork','REDEMPTION_CODE_INACTIVE','values','has','searchParams','_render','_scene','@univerjs/network','idSuffix','LOCAL_CACHE_INTERVAL_KEY','@univerjs/docs-ui','_configService','then','colno','touchDependencies','Plugin','_online','_refRangeService','currentTheme$','RECT','functionsExecutedState','moveTo','MemberService','INVITE_CODE_REQUIRED','fill','_beforeCloseService','disposeUnit','_updateSubUnitFromURLParams','getSheetObject','COMPLETION_FINISHED','_syncEditingCollabCursorService','ILocalCacheService','onCommandExecuted','green.600','getColorFromTheme','collabStatus.syncing','_getSheetObject','IImageIoService','2534722QPPTZr','UniverSheetsUi','DataLoaderService','min','@univerjs-pro/collaboration','getRenderById','assign','_clearOtherTimers','font','blue.400','CollaborationSessionService','Rectangle','dirtyRanges','UniverDocsUi','getMember','_handleEvent','backgroundColor','IUIPartsService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subUnitId','unhandledrejection','_docSkeletonManagerService','IRenderManagerService','useRef','OTHER_CLIENT_EDITING','RxDisposable','message','MessageType','DisposableCollection','M0\x200H16V16H0z'];_0x3f7c=function(){return _0xeb7894;};return _0x3f7c();}
1
+ function _0x2f7c(_0x543577,_0x1aea48){_0x543577=_0x543577-0xa3;const _0x516276=_0x5162();let _0x2f7cac=_0x516276[_0x543577];return _0x2f7cac;}function _0x5162(){const _0x2298c4=['font','_ensureSubject','stringify','measureText','DocStateChangeManagerService','_releaseCalculationLimit','CollaborationController','SetFormulaCalculationNotificationMutation','parseInt','contains','_initResize','body','_checkAndWaitForCalculationPermission','_createSocketURL','toDisposable','LOGIN_FAILED','urlChange$','map','hide','IImageIoService','current','restore','jsxs','random','getMember','pluginName','UniverDrawing','_selfUnitIDs','700408SQIwmW','collabStatus.syncing','stageInfo','APPLY_DUPLICATED','DOC_RANGE_TYPE','params','replaceDocRanges','trim','_saveCache','USER_NOT_INVITED_CODE','storage','SheetsSelectionsService','SheetSkeletonManagerService','getActiveSheet','IRemoteInstanceService','react','YUUMI_TABLE_NOT_FOUND_IN_UNIT','lineTo','_docTransformSelectionsService','removeParam','red.300','DisposableCollection','_backgroundColor','INVITE_CODE_REQUIRED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','white','UniverEngineFormula','mask','connectInjector','1488sZtrNw','ICommandService','ILogService','_unitStatus','parse','stack','_hasFormulaInDirtyRanges','fromEvent','UniverProCollaboration','textRanges','DATA_SOURCE_TOO_LARGE','RECT','LICENSE_MAX_UNITS_EXCEEDED','replaceState','_handleEvent','collab-text-anchor-','@univerjs/sheets-ui','handleDeleteRangeMoveUp','currentTheme$','IRenderManagerService','Inject','APPLY_REJECT','unhandledrejection','Error','_shapes','isFormulaString','currentSkeleton$','_memberID','ISocketService','drawWith','assign','_univerInstanceService','_collabCursorController','transformSelections','_saveTaskMap','entries','serializeRangeWithSheet','children','collabStatus.notCollab','getRangePointData','runId','CollaborationUIEventId','_anchorDot','_name','_localeService','useRef','UnitStatus','710rMtzeq','stage','fillStyle','registerBeforeClose','resize','UniverCollaborationClientUIPlugin','getCoordByCell','bind','YUUMI_CONNECTOR_URL_NOT_FOUND','defIds','next','0\x200\x2016\x2016','_init','assignAColorForMemberID','transformMutationsWithChangeset','onMouseMove','_clearOtherTimers','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','CommandType','cursorInfo$','MemberService','MessageType','CURRENT_STATUS_CANNOT_OPERATE','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_CODE_INACTIVE','_render','saveTaskMap','_registerRenderDependencies','closePath','_docSyncEditingCollabCursorService','saveOfflineData','url(#$1','4035162BRYuVq','InsertColCommandId','merge','generateRandomId','formula.calculation.waiting','onTransformChange$','_initDependencies','_checkCalculationAvailable','formula.calculation.started','getCurrentSelections','handleInsertRangeMoveRight','all','onPointerEnter$','_cursor','unit','_memberService','_heartbeatTimer','@univerjs/engine-formula','enableLocalCache','...','_online','_labelPosition','INTERNAL_ERROR','RefRangeService','yellow.400','ENTITLE_INSUFFICIENT_QUOTA','_toggleOffline','CollaborationEvent','transform','collab-client.tooltip.reconnect','WebURLService','collaboration.offline-data-not-saved','_docSkeletonManagerService','UNIVER_SHEET','some','unshift','createInstance','has','INVITE_CODE_HAS_BEEN_UES','_imageIoService','_applyCommand','registerComponent','IUniverInstanceService','doc.mutation.rich-text-editing','_startSheetCollabCursor','color','startFormulaLimitUrl','useObservable','Tools','push','COMPLETION_FINISHED','RemoveColCommandId','dirtyRanges','createElement','_uploadLog','SNAPSHOT_HAS_BEEN_REMOVED','includes','substring','Tooltip','tag','evenodd','Success','memberID','handleMoveRange','roomMembers$','INotificationService','idSuffix','@univerjs/ui','FormulaExecuteStageType','IMessageService','subUnitId','toRgbString','CHANGESET_REVISION_CONFILICT','ranges','clearInterval','catch','getParam','getOffsetConfig','@univerjs/engine-render','takeUntil','type','_collaborationSessionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','@univerjs/design','ENTITLE_USE_COUPON_NOT_1ST_TRADE','20OibgWb','_setupBeforeClosingHandler','OFFLINE','_initEntityListener','skeleton','collabStatus.conflict','_doCreateSocket','@univerjs/network','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','object','subunit','registerRenderModule','function','_cursors','set','top','PERMISSION_DENIED','socket$','reconnect','@univerjs/docs-ui','1em','touchDependencies','useDependency','triggerDblclick','filter','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SetDocZoomRatioOperation','OTHER_CLIENT_EDITING','2516XtwaNc','text','getRelativeToViewportCoord','cursorInfo','_localCacheService','SOCKET_FAILED_RETRY','NOT_COLLAB','_revisionService','_onCursorDelete','selections','REDEMPTION_INVALID_CODE','send','CLOSE_ROOM','?taskId=','backgroundColor','debounceTime','forEach','getUnitId','beforeCommandExecuted','_currentUsage','YUUMI_ALL_TABLES_IS_INVALID','setParam','ENSURE_SNAPSHOT_EXECUTION','_maxFormulaLimit','USERS_LEAVE','AWAITING','OffLineIcon','size','_showGuardMessage','whenReady','reason','_handleHeartbeatEvent','VIEW_MAIN','m1Prime','SheetCollabCursorShape','onPointerLeave$','_docSkeleton','newValue','JOIN_ROOM_FAILED','_range','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getLocalCacheKey','getSheetBySheetId','@univerjs-pro/collaboration','unload','endRow','xlink:href','search','@univerjs/drawing','mutations','InsertRangeMoveDownCommandId','defs','collab-text-range-','width','getConfig','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','totalFormulasToCalculate','getRenderById','removeEventListener','_document','_getSheetObject','getMergeData','location','black','from','add','_initUnhandledRejectionListener','join','React','@univerjs-pro/collaboration-client','_transformPreviousActiveRange','getViewport','_hideTimer','forwardRef','getOwnPropertyDescriptor','32758ECaAGC','off-line-icon_clip0_910_343','DEFAULT_WS_SESSION_TICKET_URL','UNDEFINED','arc','unsubscribe','_drawTextRange','/universer-api/license/formula/limit/start','setItem','TOO_MANY_REQUESTS','ENTITLE_NEED_BILLING_ADDRESS','getUndoRedoMutationParamsCache','sessionStatus$','Loading','sessionTicket','activeSheet$','getTypeOfUnitDisposed$','CollaborationStatus','handleInsertRangeMoveDown','loadOfflineData','url(#off-line-icon_clip0_910_343)','isActive','_uiPartsService','on-line-icon','NodePositionConvertToCursor','fillText','moveTo','_status$','length','executionId','UNAUTHENTICATED','getSheetObject','_instanceService','_initEvent','pushState','_getSessionTicket','#FFF','asObservable','_initCommandInterceptor','_notificationService','attrs','executeCommand','0\x200\x2017\x2016','operators','univerjs-icon\x20univerjs-icon-','amd','round','CollaborationSessionService','RemoteUniscriptService','_colorAssignService','_unitOnClients','_id','WECHAT_HAS_BEEN_BOUND','_transformHistoryAndStateStack','releaseFormulaLimitUrl','IConfigService','_httpService','PY_RUNTIME_SCRIPT_ERROR','runOnServer','_collabSessionService','univer-flex\x20univer-items-center','setActiveRange','FromArray','collabStatus.fetchMiss','popstate','_toggleOnline','EMAIL_HAS_BEEN_BOUND','FETCH_MISS','_initStatusListener','CollaborationDataLoaderController','row','CONFLICT','@univerjs/rpc','INVALID_INVITE_CODE','EffectRefRangId','clipPath','filename','source','univer-mr-2\x20univer-flex\x20univer-text-xl','Rect','DocIMEInputManagerService','SetFormulaCalculationStartMutation','RichTextEditingMutation','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getFocusedUnit','mergeOverrideWithDependencies','syncEditingCollabCursor','_eventUnsubscribe','ENTITLE_COUPON_EXPIRED','_docTransformIMECacheService','transformRemoteChangeset','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationSocketService','YUUMI_ASYNCIO_CANCELLED','MOBILE_VERIFY_CODE_MISMATCH','_taskIds','isArray','SetWorksheetActivateCommand','RegularPolygon','_scheduleClearOtherTimer','disposeUnit','_getAnchorBounding','UniverEngineRender','_assignedColors','NOT_FOUND','DesktopCollaborationStatusDisplayController','code','YUUMI_AI_RUN_FAILED','939waVjHX','currentUsage','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_pollingInterval','lineno','_transformService','AUTHORIZE_CODE_ILLEGAL','ENTITLE_DUP_SUBSCRIPTION','roomMembers','_updateURLWithCurrentState','jsx','delete','on-line-icon_clip0_910_349','Workbook','TEXT_RANGE_LAYER_INDEX','UniverUi','getCellMatrix','Optional','_drawRectRange','getDocRanges','dispose$','getUnit','startColumn','getMemberID','getCollabCursors$','BehaviorSubject','/run/','transformStateCache','column','SUBMIT_CHANGESET_TIMEOUT','_urlService','DocSelectionManagerService','_renderManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','OnLineIcon','_hovered','468296coPNpa','transformMutation','BrowserCollaborationSocketService','enableFrontendLog','_lastPointer','Shape','show','SessionStatus','save','data','init','TRANSFORM_CHANGE_OBSERVABLE_TYPE','addObject','_initStatusComponent','_collaborationController','SHEET_VIEWPORT_KEY','_updateCollabCursors','toStringTag','_docClipboardService','_lastResponseTimestamp','RxDisposable','[Unhandled\x20Rejection]:\x20','getActiveRange','ThemeService','_roomMembers$','sheetId','_commandService','status$','DocCollaborationEntity','selection','ENTITLE_REPORT_LIMIT_EXCEED','_getSaveTimeout','_logService','getUnitStatus$','getColor','svg','_getMergeRange','NO_OTHER_CLIENTS_EDITING','_entityInit$','name','getColorFromTheme','rxjs','ISnapshotServerService','LocaleService','_scene','LICENSE_EXPORT_SIZE_EXCEEDED','clearTimeout','_initUserListener','jiqing.500','ENTITLE_CHAT_LIMIT_EXCEED','handleIRemoveRow','/universer-api/license/formula/limit/done','_hover','get','_startCalculationLimit','limitInfo','_getFormulaLimitStatus','_messageService','labelPosition','_registerDependencies','INVALID_ARGUMENT','_removeCollabCursors','_updateLocalCursor','beginPath','UniverRpc','http://www.w3.org/2000/svg','setAlpha','FormulaExecutedStateType','setShapeProps','div','_getScale','_transformUndoRedoStack','_entities','Disposable','_disabled','wsSessionTicketUrl','REDEMPTION_USER_REDEEM_TIMES_EXCEED','INVITE_CODE_ALREADY_BOUND','mapTo','UNRECOGNIZED','none','OTHER_CLIENTS_EDITING','unitID','path','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','history','findNodePositionByCharIndex','pipe','/universer-api/license/formula/limit/status','UniverProCollaborationClient','ERROR_AGAIN','_injector','_refRangeService','deepClone','_cachedData','collabCursorState$','getSkeleton','invokeId','Failed','UPDATE_CURSOR','collaboration-client-ui.config','Injector','now','getSheetId','fillRule','UniverInstanceType','LOGIN_TOKEN_PROCESSING_FAILED','/universer-api/frontend/logs','UniverNetwork','setTimeout','SetTextSelectionsOperation','CollaborationUIEventService','ILocalStorageService','_setFormulaLimitStatus','_themeService','href','_startDocCollabCursor','transformByState','toString','purple.300','_scheduleHeartbeat','maxFormulaLimit','_collaborationUIEventService','USER_IS_ANONYMOUS','_localStorageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','ACTIVE_UNIT_EVENT_CHANNEL','isEditing','shift','useCallback','_cursorInfo$','_draw','EMAIL_VERIFY_CODE_MISMATCH','exhaustSavingTask','fill','split','HTTPService','ticket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','min','Unknown\x20user','onLocalMutation','getVpScrollXYInfoByPosToVp','subscribe','ILocalCacheService','loadUnit','registerRefRange','[Window\x20Error]:\x20','undoState','COLORS','LOCAL_CACHE_INTERVAL','@univerjs/docs','UniverDocs','LOCAL_CACHE_INTERVAL_KEY','_updateSubUnitFromURLParams','height','[CollaborationDataLoaderController]','USER_NOT_FOUND','blue.400','displayName','_colorIndex','APPLY_PERMISSION_DENIED','isTransformMutationFailure','debounce','getCollabEntity$','permission.title','YUUMI_SUBSCRIPTION_NOT_FOUND','collabStatus.synced','DocSkeletonManagerService','handleDeleteRangeMoveLeft','onRendered','_cursorShapes','redoState','IURLService','_handleHover','startRow','TEXT','editingUnit','Warning','debug','addObjects','WebSocketService','_docStateChangeManagerService','message','isTransformMutationsWithChangesetSuccess','_session','entityInit$','M0\x200H16V16H0z','disposeWithMe','off-line-icon','setConfig','result','_initWindowErrorListener','error','PAYMENT_CHANNEL_NOT_SUPPORT','_removeClearOtherTimer','eventID','[LogService\x20Error]:\x20','subscribeEvent','shareReplay','complete','LICENSE_DISTRO_REJECTED','event$','7TVLSDP','_docTransformStateCacheService','dispose','with','RevisionService','UniverCollaborationClientPlugin','_dataLoaderService','endColumn','string','_anchor','getItem','currentColor','1631583BztEVQ','colorChannel1','REDEMPTION_CODE_FULLY_REDEEMED','ONLINE','collaboration.closeRoom','START_CALCULATION','AWAITING_WITH_PENDING','UniverSheetsUi','addEventListener','_configService','runRefRangeMutations','_sheetSkeletonManagerService','RemoveRowCommandId','post','getFormulaLimitStatusUrl','application/json','rgba(255,\x20255,\x20255,\x200.01)','onCommandExecuted','green.600','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','_monkeyPatchLogService','replace','ENTITLE_CAN_NOT_BUY_LOWER_OTP','collab-rect-range-','bottom','_color','_onRefRangeChange','getStateCache','_context','getAncestorScale','createIdentifier','ColorKit','_config','Plugin','unitId','values','_handleJoinEvent','switchMap','4812cPggYP','MOBILE_HAS_BEEN_BOUND','searchParams','_scheduleSaving','ALREADY_EXISTS','SNAPSHOT_INVALID_SNAPSHOT','deserializeRangeWithSheet','use','_send','REDEMPTION_CODE_HAS_BEEN_CREATED','getCurrentUnitForType','_handleLeaveEvent','getCurrent','_refreshCollabCursors','find','_initCommandExecutedListener','REDEMPTION_CODE_NOT_STARTED','uni.network.url-service','requireSession','getValue','InsertRowCommandId','REDEMPTION_USER_NOT_ELIGIBLE','combineLatest','ITransformService','CONNECTOR_DATA_TOO_LARGE','UNIVER_DOC','@univerjs/sheets','max','functionsExecutedState','_textBubble','m2Prime','defineProperty','ENTITLE_INVALID_COUPON_CODE','_onCursorUpdate','handleIRemoveCol','then'];_0x5162=function(){return _0x2298c4;};return _0x5162();}(function(_0x1b7f6c,_0x3d5e92){const _0x289daa=_0x2f7c,_0x437cf4=_0x1b7f6c();while(!![]){try{const _0x1b30df=-parseInt(_0x289daa(0x2e3))/0x1+-parseInt(_0x289daa(0xca))/0x2*(parseInt(_0x289daa(0x181))/0x3)+-parseInt(_0x289daa(0x300))/0x4*(parseInt(_0x289daa(0x32f))/0x5)+-parseInt(_0x289daa(0x34f))/0x6*(-parseInt(_0x289daa(0x271))/0x7)+parseInt(_0x289daa(0x1a5))/0x8+parseInt(_0x289daa(0x27d))/0x9*(-parseInt(_0x289daa(0xae))/0xa)+-parseInt(_0x289daa(0x115))/0xb*(-parseInt(_0x289daa(0x2a3))/0xc);if(_0x1b30df===_0x3d5e92)break;else _0x437cf4['push'](_0x437cf4['shift']());}catch(_0x5aa23d){_0x437cf4['push'](_0x437cf4['shift']());}}}(_0x5162,0x657c2),function(_0x4a8dce,_0x34aada){const _0x4b14d3=_0x2f7c;typeof exports==_0x4b14d3(0xb7)&&typeof module<'u'?_0x34aada(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==_0x4b14d3(0xba)&&define[_0x4b14d3(0x142)]?define(['exports','react/jsx-runtime',_0x4b14d3(0x10f),'@univerjs/core',_0x4b14d3(0x392),_0x4b14d3(0x1ce),_0x4b14d3(0xac),_0x4b14d3(0x2f2),_0x4b14d3(0x15d),_0x4b14d3(0x2bd),_0x4b14d3(0xa7),_0x4b14d3(0xb5),_0x4b14d3(0xc1),_0x4b14d3(0xfa),_0x4b14d3(0xf5),_0x4b14d3(0x23d),_0x4b14d3(0x360),'rxjs/operators',_0x4b14d3(0x310)],_0x34aada):(_0x4a8dce=typeof globalThis<'u'?globalThis:_0x4a8dce||self,_0x34aada(_0x4a8dce['UniverProCollaborationClientUi']={},_0x4a8dce[_0x4b14d3(0x10e)],_0x4a8dce[_0x4b14d3(0x1fe)],_0x4a8dce['UniverCore'],_0x4a8dce[_0x4b14d3(0x190)],_0x4a8dce['rxjs'],_0x4a8dce['UniverDesign'],_0x4a8dce[_0x4b14d3(0x10e)],_0x4a8dce[_0x4b14d3(0x1e5)],_0x4a8dce['UniverSheets'],_0x4a8dce[_0x4b14d3(0x17b)],_0x4a8dce[_0x4b14d3(0x211)],_0x4a8dce['UniverDocsUi'],_0x4a8dce[_0x4b14d3(0x2e1)],_0x4a8dce[_0x4b14d3(0x308)],_0x4a8dce[_0x4b14d3(0x23e)],_0x4a8dce[_0x4b14d3(0x2fd)],_0x4a8dce[_0x4b14d3(0x1ce)][_0x4b14d3(0x140)],_0x4a8dce[_0x4b14d3(0x284)]));}(this,function(_0x5a3025,_0x24cd75,_0x1909e3,_0x342523,_0x2f8bb3,_0x1196b5,_0x1c8890,_0x1a0201,_0x4fa113,_0x5dee0c,_0x4f2644,_0x21c8cf,_0x594bd5,_0x1226a9,_0x5165ed,_0x56104d,_0x25bdde,_0x65d82d,_0x30f08e){'use strict';const _0x367cbb=_0x2f7c;var _0x4d1841=Object[_0x367cbb(0x2c2)],_0x11422b=(_0x155062,_0x1ee218,_0x26c9e8)=>_0x1ee218 in _0x155062?_0x4d1841(_0x155062,_0x1ee218,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26c9e8}):_0x155062[_0x1ee218]=_0x26c9e8,_0x55b886=(_0x54065e,_0x5ede51,_0x47ba4d)=>_0x11422b(_0x54065e,typeof _0x5ede51!='symbol'?_0x5ede51+'':_0x5ede51,_0x47ba4d);function _0x253226({ref:_0xc6f4a5,..._0x4e4330}){const _0xdbd556=_0x367cbb,{icon:_0x5e8ebf,id:_0x1ce20a,className:_0x2d19ee,extend:_0x24849d,..._0x294635}=_0x4e4330,_0x7cf47=(_0xdbd556(0x141)+_0x1ce20a+'\x20'+(_0x2d19ee||''))[_0xdbd556(0x2ea)](),_0x4f03c2=_0x1a0201[_0xdbd556(0x32d)]('_'+_0x3b2509());return _0x3531c1(_0x5e8ebf,''+_0x1ce20a,{'defIds':_0x5e8ebf[_0xdbd556(0x338)],'idSuffix':_0x4f03c2[_0xdbd556(0x2db)]},{'ref':_0xc6f4a5,'className':_0x7cf47,..._0x294635},_0x24849d);}function _0x3531c1(_0x67e5b6,_0x486168,_0x1d36d2,_0x2b05d4,_0xd2528f){const _0x28d201=_0x367cbb;return _0x1a0201[_0x28d201(0x384)](_0x67e5b6[_0x28d201(0x38a)],{'key':_0x486168,..._0x5936c7(_0x67e5b6,_0x1d36d2,_0xd2528f),..._0x2b05d4},(_0x343652(_0x67e5b6,_0x1d36d2)['children']||[])[_0x28d201(0x2d8)]((_0x498acf,_0x23f5c4)=>_0x3531c1(_0x498acf,_0x486168+'-'+_0x67e5b6[_0x28d201(0x38a)]+'-'+_0x23f5c4,_0x1d36d2,void 0x0,_0xd2528f)));}function _0x5936c7(_0x269930,_0x53e06f,_0x3f8155){const _0x1ac544=_0x367cbb,_0x3a2da9={..._0x269930[_0x1ac544(0x13d)]};_0x3f8155!=null&&_0x3f8155[_0x1ac544(0x27e)]&&_0x3a2da9[_0x1ac544(0x22c)]===_0x1ac544(0x27e)&&(_0x3a2da9['fill']=_0x3f8155[_0x1ac544(0x27e)]),_0x269930[_0x1ac544(0x38a)]===_0x1ac544(0x2fe)&&_0x3a2da9['id']&&(_0x3a2da9['id']=_0x3a2da9['id']+_0x53e06f[_0x1ac544(0x391)]),Object[_0x1ac544(0x323)](_0x3a2da9)[_0x1ac544(0xda)](([_0xc0de50,_0x2936ed])=>{const _0x430559=_0x1ac544;_0xc0de50===_0x430559(0x2fe)&&typeof _0x2936ed=='string'&&(_0x3a2da9[_0xc0de50]=_0x2936ed[_0x430559(0x292)](/url\(#(.*)\)/,_0x430559(0x34e)+_0x53e06f[_0x430559(0x391)]+')'));});const {defIds:_0x4ef451}=_0x53e06f;return!_0x4ef451||_0x4ef451['length']===0x0||(_0x269930['tag']===_0x1ac544(0x2aa)&&_0x3a2da9[_0x1ac544(0xf8)]&&(_0x3a2da9['xlink:href']=_0x3a2da9[_0x1ac544(0xf8)]+_0x53e06f['idSuffix']),Object['entries'](_0x3a2da9)[_0x1ac544(0xda)](([_0x4811e8,_0x2470df])=>{const _0x3bf96c=_0x1ac544;typeof _0x2470df=='string'&&(_0x3a2da9[_0x4811e8]=_0x2470df['replace'](/url\(#(.*)\)/,_0x3bf96c(0x34e)+_0x53e06f[_0x3bf96c(0x391)]+')'));})),_0x3a2da9;}function _0x343652(_0x17dc58,_0xc8b136){const _0x3e5b3e=_0x367cbb;var _0x1bbc10;const {defIds:_0x319274}=_0xc8b136;return!_0x319274||_0x319274[_0x3e5b3e(0x131)]===0x0?_0x17dc58:_0x17dc58[_0x3e5b3e(0x38a)]===_0x3e5b3e(0xfd)&&((_0x1bbc10=_0x17dc58[_0x3e5b3e(0x325)])!=null&&_0x1bbc10[_0x3e5b3e(0x131)])?{..._0x17dc58,'children':_0x17dc58[_0x3e5b3e(0x325)][_0x3e5b3e(0x2d8)](_0x13e730=>typeof _0x13e730[_0x3e5b3e(0x13d)]['id']==_0x3e5b3e(0x279)&&_0x319274&&_0x319274[_0x3e5b3e(0x387)](_0x13e730['attrs']['id'])?{..._0x13e730,'attrs':{..._0x13e730[_0x3e5b3e(0x13d)],'id':_0x13e730[_0x3e5b3e(0x13d)]['id']+_0xc8b136[_0x3e5b3e(0x391)]}}:_0x13e730)}:_0x17dc58;}function _0x3b2509(){const _0x4ea2b0=_0x367cbb;return Math[_0x4ea2b0(0x2de)]()['toString'](0x24)[_0x4ea2b0(0x388)](0x2,0x8);}_0x253226['displayName']='UniverIcon';const _0x5193dd={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x367cbb(0x1f5),'viewBox':_0x367cbb(0x33a),'width':_0x367cbb(0xc2),'height':_0x367cbb(0xc2)},'children':[{'tag':'g','attrs':{'clipPath':_0x367cbb(0x129)},'children':[{'tag':_0x367cbb(0x1f8),'attrs':{'stroke':_0x367cbb(0x27c),'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':'round','strokeLinejoin':_0x367cbb(0x143),'strokeWidth':1.2}}]},{'tag':_0x367cbb(0xfd),'attrs':{},'children':[{'tag':_0x367cbb(0x160),'attrs':{'id':_0x367cbb(0x116)},'children':[{'tag':_0x367cbb(0x1f8),'attrs':{'fill':'white','d':_0x367cbb(0x261)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3ad093=_0x1a0201['forwardRef'](function(_0x1f7ab0,_0x44dfba){const _0x3b792a=_0x367cbb;return _0x1a0201[_0x3b792a(0x384)](_0x253226,Object['assign']({},_0x1f7ab0,{'id':_0x3b792a(0x263),'ref':_0x44dfba,'icon':_0x5193dd}));});_0x3ad093['displayName']=_0x367cbb(0xe4);const _0x5e0307={'tag':_0x367cbb(0x1c8),'attrs':{'xmlns':_0x367cbb(0x1e6),'fill':'none','viewBox':_0x367cbb(0x13f),'width':_0x367cbb(0xc2),'height':_0x367cbb(0xc2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x367cbb(0x1f8),'attrs':{'stroke':_0x367cbb(0x27c),'d':_0x367cbb(0x290),'strokeLinecap':_0x367cbb(0x143),'strokeLinejoin':_0x367cbb(0x143),'strokeWidth':1.2}}]},{'tag':_0x367cbb(0xfd),'attrs':{},'children':[{'tag':_0x367cbb(0x160),'attrs':{'id':_0x367cbb(0x18d)},'children':[{'tag':_0x367cbb(0x1f8),'attrs':{'fill':_0x367cbb(0x2fc),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x20d3d2=_0x1a0201[_0x367cbb(0x113)](function(_0x288d88,_0x255eed){const _0x306495=_0x367cbb;return _0x1a0201[_0x306495(0x384)](_0x253226,Object[_0x306495(0x31e)]({},_0x288d88,{'id':_0x306495(0x12c),'ref':_0x255eed,'icon':_0x5e0307}));});_0x20d3d2[_0x367cbb(0x245)]=_0x367cbb(0x1a3);function _0x259342(_0x180408){const _0x52af89=_0x367cbb;switch(_0x180408){case _0x1909e3['CollaborationStatus'][_0x52af89(0xb0)]:return'collabStatus.offline';case _0x1909e3[_0x52af89(0x126)][_0x52af89(0x15c)]:return _0x52af89(0xb3);case _0x1909e3[_0x52af89(0x126)][_0x52af89(0x158)]:return _0x52af89(0x154);case _0x1909e3[_0x52af89(0x126)][_0x52af89(0xd0)]:return _0x52af89(0x326);case _0x1909e3[_0x52af89(0x126)][_0x52af89(0xe3)]:case _0x1909e3[_0x52af89(0x126)][_0x52af89(0x283)]:return _0x52af89(0x2e4);case _0x1909e3['CollaborationStatus']['SYNCED']:case _0x1909e3[_0x52af89(0x126)]['PENDING']:return _0x52af89(0x24d);}}function _0x461169(_0x1cdeb7){const _0x26f14f=_0x367cbb,{status$:_0x198c83}=_0x1cdeb7,_0x39b7a9=_0x2f8bb3[_0x26f14f(0x37e)](_0x198c83,_0x1909e3['CollaborationStatus'][_0x26f14f(0xd0)]),_0x39fe03=_0x2f8bb3[_0x26f14f(0xc4)](_0x342523[_0x26f14f(0x1d0)]),_0x504f60=_0x2f8bb3['useDependency'](_0x1909e3[_0x26f14f(0x144)]),_0x5d967c=_0x39b7a9!==_0x1909e3['CollaborationStatus'][_0x26f14f(0xb0)],_0x1290b6=_0x39fe03['t'](_0x259342(_0x39b7a9)),_0x4be4d5=_0x5d967c?_0x24cd75['jsx'](_0x20d3d2,{}):_0x24cd75[_0x26f14f(0x18b)](_0x3ad093,{}),_0x473208=_0x1a0201[_0x26f14f(0x227)](()=>{const _0x5b1f74=_0x26f14f;_0x5d967c||_0x504f60[_0x5b1f74(0xc0)]();},[_0x5d967c,_0x504f60]);function _0x3c25ed(){const _0x240a5e=_0x26f14f;return _0x24cd75[_0x240a5e(0x2dd)](_0x240a5e(0x1ea),{'className':_0x240a5e(0x151),'onClick':_0x473208,'children':[_0x24cd75[_0x240a5e(0x18b)](_0x240a5e(0x1ea),{'className':_0x1c8890['clsx'](_0x240a5e(0x163),{'univer-text-green-500':_0x5d967c,'univer-text-red-500':!_0x5d967c}),'children':_0x4be4d5}),_0x24cd75[_0x240a5e(0x18b)](_0x240a5e(0x1ea),{'className':_0x240a5e(0x222),'children':_0x1290b6})]});}return _0x5d967c?_0x3c25ed():_0x24cd75['jsx'](_0x1c8890[_0x26f14f(0x389)],{'title':_0x39fe03['t'](_0x26f14f(0x36c)),'children':_0x3c25ed()});}var _0x4d1532=Object[_0x367cbb(0x114)],_0xe63c19=(_0x1e7cdd,_0x53b64e,_0x4a751f,_0x52b725)=>{const _0x35cdd2=_0x367cbb;for(var _0x1a9a5d=_0x52b725>0x1?void 0x0:_0x52b725?_0x4d1532(_0x53b64e,_0x4a751f):_0x53b64e,_0x231ed0=_0x1e7cdd[_0x35cdd2(0x131)]-0x1,_0x491164;_0x231ed0>=0x0;_0x231ed0--)(_0x491164=_0x1e7cdd[_0x231ed0])&&(_0x1a9a5d=_0x491164(_0x1a9a5d)||_0x1a9a5d);return _0x1a9a5d;},_0x17185d=(_0x211fbe,_0x4aea59)=>(_0xcadd3e,_0x429799)=>_0x4aea59(_0xcadd3e,_0x429799,_0x211fbe);_0x5a3025[_0x367cbb(0x17e)]=class extends _0x342523[_0x367cbb(0x1ee)]{constructor(_0x11cef4,_0x2587fe,_0x5ae73f,_0x304dec){const _0x2114a4=_0x367cbb;super(),_0x55b886(this,_0x2114a4(0x130),new _0x1196b5[(_0x2114a4(0x19a))](_0x1909e3[_0x2114a4(0x126)][_0x2114a4(0xd0)])),(this['_univerInstanceService']=_0x11cef4,this[_0x2114a4(0x200)]=_0x2587fe,this[_0x2114a4(0x1b3)]=_0x5ae73f,this[_0x2114a4(0x12b)]=_0x304dec,this[_0x2114a4(0x1b2)](),this[_0x2114a4(0x159)]());}[_0x367cbb(0x159)](){const _0x5251e3=_0x367cbb;this[_0x5251e3(0x262)](this[_0x5251e3(0x31f)]['focused$']['pipe'](_0x1196b5[_0x5251e3(0x2a2)](()=>{const _0x54d754=_0x5251e3,_0x210a46=this[_0x54d754(0x31f)][_0x54d754(0x169)]();return _0x210a46?this['_collaborationController'][_0x54d754(0x24a)](_0x210a46[_0x54d754(0xdb)]()):_0x1196b5['of'](null);}),_0x1196b5['switchMap'](_0x332e52=>_0x332e52?_0x332e52[_0x5251e3(0x1c0)]:_0x1196b5['of'](_0x1909e3[_0x5251e3(0x126)][_0x5251e3(0xd0)])))[_0x5251e3(0x235)](_0xbb005c=>{const _0x2d68b5=_0x5251e3;this[_0x2d68b5(0x130)][_0x2d68b5(0x339)](_0xbb005c);}));}[_0x367cbb(0x1b2)](){const _0x467cc0=_0x367cbb;this[_0x467cc0(0x262)](this[_0x467cc0(0x12b)][_0x467cc0(0x378)](_0x2f8bb3['BuiltInUIPart']['HEADER_MENU'],()=>_0x2f8bb3[_0x467cc0(0x2ff)](_0x13ca43({'status$':this[_0x467cc0(0x130)][_0x467cc0(0x13a)]()}),this['_injector'])));}},_0x5a3025[_0x367cbb(0x17e)]=_0xe63c19([_0x17185d(0x0,_0x342523['IUniverInstanceService']),_0x17185d(0x1,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x17185d(0x2,_0x342523['Inject'](_0x1909e3[_0x367cbb(0x2cd)])),_0x17185d(0x3,_0x2f8bb3['IUIPartsService'])],_0x5a3025[_0x367cbb(0x17e)]);function _0x13ca43(_0x5468e5){const {status$:_0x3d47b0}=_0x5468e5;return function(){const _0x5dbc43=_0x2f7c;return _0x24cd75[_0x5dbc43(0x18b)](_0x461169,{'status$':_0x3d47b0});};}const _0x5b726e=_0x342523[_0x367cbb(0x29b)](_0x367cbb(0x2b4));var _0x13f3dd=Object[_0x367cbb(0x114)],_0x399f2f=(_0x5efdf2,_0x14d513,_0x39199f,_0x23427a)=>{const _0x518cfb=_0x367cbb;for(var _0x51f07d=_0x23427a>0x1?void 0x0:_0x23427a?_0x13f3dd(_0x14d513,_0x39199f):_0x14d513,_0x31839d=_0x5efdf2[_0x518cfb(0x131)]-0x1,_0x2682de;_0x31839d>=0x0;_0x31839d--)(_0x2682de=_0x5efdf2[_0x31839d])&&(_0x51f07d=_0x2682de(_0x51f07d)||_0x51f07d);return _0x51f07d;},_0x5b7eb4=(_0xf1dfc1,_0x43b27b)=>(_0x522ed4,_0x4951c9)=>_0x43b27b(_0x522ed4,_0x4951c9,_0xf1dfc1);_0x5a3025[_0x367cbb(0x15a)]=class extends _0x342523[_0x367cbb(0x1b9)]{constructor(_0x33748f,_0x3d77e3,_0x46cd10,_0x11a206,_0x1f7bcc){const _0x74eaf4=_0x367cbb;super(),this['_urlService']=_0x33748f,this['_logService']=_0x3d77e3,this['_commandService']=_0x46cd10,this[_0x74eaf4(0x277)]=_0x11a206,_0x1f7bcc?_0x1f7bcc==null||_0x1f7bcc[_0x74eaf4(0xe7)]()[_0x74eaf4(0x2c6)](()=>this[_0x74eaf4(0x33b)]()):(this[_0x74eaf4(0x1c5)][_0x74eaf4(0x259)](_0x74eaf4(0x242),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x74eaf4(0x33b)]());}async[_0x367cbb(0x33b)](){const _0x4f14bf=_0x367cbb,_0x11c4cf=this['_urlService'][_0x4f14bf(0xa5)](_0x4f14bf(0x35d)),_0xfe2965=this[_0x4f14bf(0x19f)]['getParam'](_0x4f14bf(0xa9)),_0x28d1ee=this[_0x4f14bf(0x19f)]['getParam'](_0x4f14bf(0xb8));if(!_0x11c4cf||!_0xfe2965){this['_logService'][_0x4f14bf(0x259)](_0x4f14bf(0x242),_0x4f14bf(0x101));return;}const _0x44caf0=await this['_dataLoaderService'][_0x4f14bf(0x237)](_0x11c4cf,Number(_0xfe2965),_0x28d1ee);_0x44caf0&&_0x44caf0 instanceof _0x342523[_0x4f14bf(0x18e)]&&this['_setupSubUnitSync'](_0x44caf0);}async['_setupSubUnitSync'](_0x51b68e){const _0x540dcd=_0x367cbb;await this['_updateSubUnitFromURLParams'](_0x51b68e),_0x51b68e[_0x540dcd(0x124)][_0x540dcd(0x1fc)](_0x1196b5[_0x540dcd(0xa8)](this[_0x540dcd(0x195)]))[_0x540dcd(0x235)](_0x2cfb28=>{const _0x39d429=_0x540dcd;_0x2cfb28&&this[_0x39d429(0x18a)](_0x2cfb28);}),this[_0x540dcd(0x19f)][_0x540dcd(0x2d7)][_0x540dcd(0x1fc)](_0x1196b5[_0x540dcd(0xa8)](this[_0x540dcd(0x195)]))[_0x540dcd(0x235)](()=>this['_updateSubUnitFromURLParams'](_0x51b68e));}[_0x367cbb(0x18a)](_0x34de1c,_0xe8f5cb=!0x1){const _0x4526ed=_0x367cbb,_0x37728b=this[_0x4526ed(0x19f)]['getParam']('subunit');_0x34de1c[_0x4526ed(0x20c)]()!==_0x37728b&&this[_0x4526ed(0x19f)][_0x4526ed(0xdf)](_0x4526ed(0xb8),_0x34de1c[_0x4526ed(0x20c)](),_0xe8f5cb);}async[_0x367cbb(0x240)](_0x2acd52){const _0x4cb58f=_0x367cbb;var _0x1ac2e4;const _0x267abe=this['_urlService'][_0x4cb58f(0xa5)]('subunit');if(!_0x267abe||!_0x2acd52['getSheetBySheetId'](_0x267abe)){const _0x1b42b1=_0x2acd52['getUnhiddenWorksheets']()[0x0],_0x1cb23e=_0x2acd52['getSheetBySheetId'](_0x1b42b1);if(!_0x1cb23e)return;this[_0x4cb58f(0x18a)](_0x1cb23e,!0x0),await this[_0x4cb58f(0x1bf)]['executeCommand'](_0x5dee0c[_0x4cb58f(0x176)]['id'],{'unitId':_0x2acd52[_0x4cb58f(0xdb)](),'subUnitId':_0x1b42b1});return;}((_0x1ac2e4=_0x2acd52[_0x4cb58f(0x2f0)]())==null?void 0x0:_0x1ac2e4[_0x4cb58f(0x20c)]())!==_0x267abe&&await this[_0x4cb58f(0x1bf)]['executeCommand'](_0x5dee0c[_0x4cb58f(0x176)]['id'],{'unitId':_0x2acd52[_0x4cb58f(0xdb)](),'subUnitId':_0x267abe});}},_0x5a3025[_0x367cbb(0x15a)]=_0x399f2f([_0x5b7eb4(0x0,_0x5b726e),_0x5b7eb4(0x1,_0x342523[_0x367cbb(0x302)]),_0x5b7eb4(0x2,_0x342523['ICommandService']),_0x5b7eb4(0x3,_0x342523[_0x367cbb(0x314)](_0x1909e3['DataLoaderService'])),_0x5b7eb4(0x4,_0x342523[_0x367cbb(0x192)](_0x4fa113[_0x367cbb(0x2f1)]))],_0x5a3025['CollaborationDataLoaderController']);var _0x3b15e4=Object[_0x367cbb(0x114)],_0x426024=(_0x2811be,_0x1d8ee8,_0x397aa2,_0x36129b)=>{for(var _0xed87ae=_0x36129b>0x1?void 0x0:_0x36129b?_0x3b15e4(_0x1d8ee8,_0x397aa2):_0x1d8ee8,_0x3ae7ad=_0x2811be['length']-0x1,_0x4adcc1;_0x3ae7ad>=0x0;_0x3ae7ad--)(_0x4adcc1=_0x2811be[_0x3ae7ad])&&(_0xed87ae=_0x4adcc1(_0xed87ae)||_0xed87ae);return _0xed87ae;},_0x398c6a=(_0x386c36,_0x1999fc)=>(_0x56aeda,_0x4e11f2)=>_0x1999fc(_0x56aeda,_0x4e11f2,_0x386c36);let _0x6ac21d=class extends _0x342523[_0x367cbb(0x1b9)]{constructor(_0x48e641,_0x551091){const _0x1408fd=_0x367cbb;super(),this[_0x1408fd(0x1b7)]=_0x48e641,this[_0x1408fd(0x376)]=_0x551091,this[_0x1408fd(0x33b)]();}[_0x367cbb(0x33b)](){const _0x38753b=_0x367cbb,_0x2ba102=this;this[_0x38753b(0x262)](this[_0x38753b(0x1b7)]['addClipboardHook']({'onBeforePasteImage':async _0x4ada1f=>{const _0x3009b7=_0x38753b,_0x3a885b=await _0x2ba102[_0x3009b7(0x376)]['saveImage'](_0x4ada1f);return _0x3a885b?{'source':_0x3a885b[_0x3009b7(0x162)],'imageSourceType':_0x3a885b['imageSourceType']}:null;}}));}};_0x6ac21d=_0x426024([_0x398c6a(0x0,_0x594bd5['IDocClipboardService']),_0x398c6a(0x1,_0x1226a9[_0x367cbb(0x2da)])],_0x6ac21d);const _0xfb15d7=[_0x367cbb(0x21c),_0x367cbb(0x1d5),_0x367cbb(0x28f),_0x367cbb(0x2f7),_0x367cbb(0x244),_0x367cbb(0x367)];class _0x556477 extends _0x342523[_0x367cbb(0x1ee)]{constructor(){const _0x5e2c46=_0x367cbb;super(...arguments),_0x55b886(this,_0x5e2c46(0x17c),new Map()),_0x55b886(this,_0x5e2c46(0x246),0x0);}['assignAColorForMemberID'](_0x27ee52){const _0x26b9bd=_0x367cbb;if(this[_0x26b9bd(0x17c)][_0x26b9bd(0x374)](_0x27ee52))return this[_0x26b9bd(0x17c)][_0x26b9bd(0x1da)](_0x27ee52);const _0x51358b=_0xfb15d7[this[_0x26b9bd(0x246)]];return this[_0x26b9bd(0x246)]=(this[_0x26b9bd(0x246)]+0x1)%_0xfb15d7[_0x26b9bd(0x131)],this[_0x26b9bd(0x17c)][_0x26b9bd(0xbc)](_0x27ee52,_0x51358b),_0x51358b;}}function _0x21dcd4(_0x4cda22){const _0x3c090f=_0x367cbb;let _0x1bd716='';for(const _0x4c0333 of _0x4cda22){const {startOffset:_0x1891a2,endOffset:_0x161ec1,isActive:_0x30829c,rangeType:_0x28fb60,segmentId:_0x2c4a74,segmentPage:_0x455650}=_0x4c0333;_0x1bd716[_0x3c090f(0x131)]&&(_0x1bd716+=','),_0x1bd716+=_0x1891a2+':'+_0x161ec1+':'+(_0x30829c?'1':'0')+':'+_0x28fb60+':'+_0x2c4a74+':'+_0x455650;}return _0x1bd716;}function _0x1c3273(_0x209c75){const _0x45d83b=_0x367cbb,_0x411f15=_0x209c75[_0x45d83b(0x22d)](','),_0xa2c500=[];for(const _0x5df0cc of _0x411f15){const [_0x45843c,_0x5165f3,_0x5e4641,_0x40dd79,_0x5cac9c,_0x177bc3]=_0x5df0cc[_0x45d83b(0x22d)](':');_0xa2c500[_0x45d83b(0x380)]({'startOffset':Number(_0x45843c),'endOffset':Number(_0x5165f3),'collapsed':_0x45843c===_0x5165f3,'isActive':_0x5e4641==='1','rangeType':_0x40dd79===_0x342523[_0x45d83b(0x2e7)][_0x45d83b(0x256)]?_0x342523[_0x45d83b(0x2e7)]['TEXT']:_0x342523[_0x45d83b(0x2e7)][_0x45d83b(0x30b)],'segmentId':typeof _0x5cac9c==_0x45d83b(0x279)?String(_0x5cac9c):'','segmentPage':Number(_0x177bc3!=null?_0x177bc3:-0x1)});}return _0xa2c500[_0x45d83b(0x371)](_0x12d2f5=>_0x12d2f5[_0x45d83b(0x12a)])||(_0xa2c500[0x0]['isActive']=!0x0),_0xa2c500;}class _0x1fd0b9 extends _0x342523[_0x367cbb(0x1b9)]{constructor(){const _0x59e421=_0x367cbb;super(...arguments),_0x55b886(this,'_collabCursorState$',new _0x1196b5[(_0x59e421(0x19a))](null)),_0x55b886(this,_0x59e421(0x204),this['_collabCursorState$'][_0x59e421(0x13a)]());}[_0x367cbb(0x16b)](_0xb297c7){const {unitID:_0x284847,memberID:_0x1321a4,textRanges:_0x3be1bd}=_0xb297c7,_0x3eeb80=_0x21dcd4(_0x3be1bd);if(_0x3eeb80==='')return;const _0x3e480d={'unitID':_0x284847,'memberID':_0x1321a4,'selection':_0x3eeb80};this['_collabCursorState$']['next'](_0x3e480d);}}var _0x254a0f=Object['getOwnPropertyDescriptor'],_0x57722d=(_0x4e2544,_0x5aa7c9,_0x2cae87,_0x269ed9)=>{const _0x2b8bae=_0x367cbb;for(var _0x3176fc=_0x269ed9>0x1?void 0x0:_0x269ed9?_0x254a0f(_0x5aa7c9,_0x2cae87):_0x5aa7c9,_0xe0783=_0x4e2544[_0x2b8bae(0x131)]-0x1,_0x4aba0b;_0xe0783>=0x0;_0xe0783--)(_0x4aba0b=_0x4e2544[_0xe0783])&&(_0x3176fc=_0x4aba0b(_0x3176fc)||_0x3176fc);return _0x3176fc;},_0x5eaa6c=(_0x2d6618,_0x286ff2)=>(_0x38db6a,_0x27e821)=>_0x286ff2(_0x38db6a,_0x27e821,_0x2d6618);const _0x3c6ff4=0x12c,_0x57ea81=0x64;let _0x44fa2d=class extends _0x342523[_0x367cbb(0x1b9)]{constructor(_0x150874,_0x1b5841,_0x309846,_0x10de06,_0x23545e,_0x1e34d1,_0x5340bd,_0x1ce034,_0x464410){const _0x5c2f72=_0x367cbb;super(),_0x55b886(this,_0x5c2f72(0x363),!0x1),_0x55b886(this,_0x5c2f72(0x33b),!0x1),_0x55b886(this,'_cursorInfo$',new _0x1196b5[(_0x5c2f72(0x19a))](new Map())),_0x55b886(this,_0x5c2f72(0x342),this[_0x5c2f72(0x228)][_0x5c2f72(0x13a)]()),_0x55b886(this,_0x5c2f72(0x1bd),new _0x1196b5[(_0x5c2f72(0x19a))]([])),_0x55b886(this,'roomMembers$',this['_roomMembers$'][_0x5c2f72(0x1fc)](_0x1196b5[_0x5c2f72(0xd9)](_0x3c6ff4))),_0x55b886(this,'_updateLocalCursor',_0x342523[_0x5c2f72(0x249)](_0x2f246a=>{const _0x2ff5f8=_0x5c2f72,_0xfe66bc={'eventID':_0x5165ed[_0x2ff5f8(0x36a)][_0x2ff5f8(0x208)],'data':{'unitID':this[_0x2ff5f8(0x1f7)],'memberID':this['_session'][_0x2ff5f8(0x198)](),'selection':_0x21dcd4(_0x2f246a)}};this[_0x2ff5f8(0x25f)][_0x2ff5f8(0xd5)](_0xfe66bc,this[_0x2ff5f8(0x1f7)]);},_0x57ea81)),(this[_0x5c2f72(0x1f7)]=_0x150874,this[_0x5c2f72(0x25f)]=_0x1b5841,this[_0x5c2f72(0x200)]=_0x309846,this[_0x5c2f72(0x146)]=_0x10de06,this[_0x5c2f72(0x35e)]=_0x23545e,this['_syncEditingCollabCursorService']=_0x1e34d1,this['_transformService']=_0x5340bd,this['_univerInstanceService']=_0x1ce034,this[_0x5c2f72(0x1bf)]=_0x464410);}get[_0x367cbb(0xcd)](){return this['_cursorInfo$']['getValue']();}get[_0x367cbb(0x189)](){const _0x539260=_0x367cbb;return this['_roomMembers$'][_0x539260(0x2b6)]();}[_0x367cbb(0x273)](){const _0x57b381=_0x367cbb;super[_0x57b381(0x273)](),this[_0x57b381(0x228)][_0x57b381(0x339)](new Map()),this[_0x57b381(0x228)][_0x57b381(0x26e)](),this[_0x57b381(0x1bd)]['next']([]),this['_roomMembers$'][_0x57b381(0x26e)]();}[_0x367cbb(0x1af)](){const _0x19bda2=_0x367cbb;this[_0x19bda2(0x33b)]||(this[_0x19bda2(0x33b)]=!0x0,this[_0x19bda2(0x25f)][_0x19bda2(0x121)][_0x19bda2(0x1fc)](_0x1196b5[_0x19bda2(0xa8)](this[_0x19bda2(0x195)]))[_0x19bda2(0x235)](_0x26f128=>{const _0x49893a=_0x19bda2;_0x26f128===_0x1909e3[_0x49893a(0x1ac)][_0x49893a(0x280)]?this[_0x49893a(0x156)]():this[_0x49893a(0x369)]();}),this[_0x19bda2(0x25f)][_0x19bda2(0x270)][_0x19bda2(0x1fc)](_0x1196b5[_0x19bda2(0xa8)](this[_0x19bda2(0x195)]))[_0x19bda2(0x235)](_0x28da53=>{const _0xe15ce0=_0x19bda2,_0x16f3d0=_0x28da53[_0xe15ce0(0x26a)];_0x16f3d0===_0x5165ed[_0xe15ce0(0x36a)][_0xe15ce0(0x208)]&&this['_onCursorUpdate'](_0x28da53),_0x16f3d0===_0x5165ed[_0xe15ce0(0x36a)]['USERS_LEAVE']&&this[_0xe15ce0(0xd2)](_0x28da53);}),this[_0x19bda2(0x262)](this[_0x19bda2(0x1bf)][_0x19bda2(0x28e)](_0x308bb4=>{const _0x2a2721=_0x19bda2,_0x439fe6=_0x308bb4['params'];_0x439fe6!=null&&this[_0x2a2721(0x363)]&&_0x308bb4['id']===_0x56104d[_0x2a2721(0x213)]['id']&&_0x439fe6['unitId']===this[_0x2a2721(0x1f7)]&&_0x439fe6[_0x2a2721(0x225)]===!0x1&&_0x439fe6[_0x2a2721(0x398)][_0x2a2721(0x131)]>0x0&&this[_0x2a2721(0x1e3)](_0x439fe6[_0x2a2721(0x398)]);})),this['_syncEditingCollabCursorService'][_0x19bda2(0x204)][_0x19bda2(0x1fc)](_0x1196b5[_0x19bda2(0xa8)](this[_0x19bda2(0x195)]))[_0x19bda2(0x235)](_0x30eb04=>{const _0x4228c2=_0x19bda2;if((_0x30eb04==null?void 0x0:_0x30eb04['unitID'])!==this[_0x4228c2(0x1f7)])return;const _0x1e11a1={'eventID':_0x5165ed['CollaborationEvent'][_0x4228c2(0x208)],'data':_0x30eb04};this[_0x4228c2(0x2c4)](_0x1e11a1);}),this[_0x19bda2(0x262)](this[_0x19bda2(0x1bf)][_0x19bda2(0x28e)](_0x21c2dd=>{const _0x28b6d2=_0x19bda2;if(_0x21c2dd[_0x28b6d2(0x2e8)]==null)return;const _0x580da6=_0x21c2dd[_0x28b6d2(0x2e8)];if(_0x21c2dd['id']!==_0x56104d[_0x28b6d2(0x167)]['id']||_0x580da6[_0x28b6d2(0x29f)]!==this[_0x28b6d2(0x1f7)])return;const _0x462057={'id':'doc.mutation.rich-text-editing','params':_0x580da6},_0x1f3eb0=this['cursorInfo'];for(const [_0xd12165,_0x4f0802]of _0x1f3eb0){const _0x449b7f={'id':_0x28b6d2(0x37a),'params':{'unitId':this[_0x28b6d2(0x1f7)],'actions':null,'textRanges':_0x4f0802[_0x28b6d2(0x398)]}},_0x409d2f=this[_0x28b6d2(0x186)][_0x28b6d2(0x1a6)](_0x462057,_0x449b7f,!0x1);if(_0x5165ed['isTransformMutationFailure'](_0x409d2f))throw _0x409d2f[_0x28b6d2(0x267)];_0x1f3eb0['set'](_0xd12165,{..._0x4f0802,'ranges':_0x409d2f[_0x28b6d2(0x2c1)]['params'][_0x28b6d2(0x309)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x1f3eb0);});})));}[_0x367cbb(0x2c4)](_0x25b360){const _0x2c2394=_0x367cbb;var _0x4c4396,_0x166c11;const {memberID:_0x18bd4a,selection:_0x153967}=_0x25b360[_0x2c2394(0x1ae)],_0x25a335=_0x1c3273(_0x153967),_0x2e12c7=(_0x166c11=(_0x4c4396=this[_0x2c2394(0x35e)][_0x2c2394(0x2df)](this[_0x2c2394(0x1f7)],_0x18bd4a))==null?void 0x0:_0x4c4396[_0x2c2394(0x1cc)])!=null?_0x166c11:_0x2c2394(0x232),_0x267c95={'color':this[_0x2c2394(0x146)]['assignAColorForMemberID'](_0x18bd4a),'name':_0x2e12c7,'ranges':_0x25a335},_0x52414c=this['cursorInfo'];_0x52414c['set'](_0x18bd4a,_0x267c95),this[_0x2c2394(0x228)]['next'](_0x52414c);}[_0x367cbb(0xd2)](_0x36d060){const _0x52fa94=_0x367cbb,{memberID:_0x5cf9d0}=_0x36d060[_0x52fa94(0x1ae)],_0x548879=this[_0x52fa94(0xcd)];_0x548879[_0x52fa94(0x18c)](_0x5cf9d0),this['_cursorInfo$']['next'](_0x548879);}[_0x367cbb(0x156)](){const _0x1df301=_0x367cbb;var _0x54e6a3;if(this[_0x1df301(0x363)]=!0x0,((_0x54e6a3=this[_0x1df301(0x31f)]['getFocusedUnit']())==null?void 0x0:_0x54e6a3[_0x1df301(0xdb)]())!==this[_0x1df301(0x1f7)])return;const _0x4fd261=this['_injector'][_0x1df301(0x1da)](_0x56104d[_0x1df301(0x1a0)])[_0x1df301(0x194)]();Array[_0x1df301(0x175)](_0x4fd261)&&_0x4fd261[_0x1df301(0x131)]>0x0&&this[_0x1df301(0x1e3)](_0x4fd261);}['_toggleOffline'](){this['_online']=!0x1;}};_0x44fa2d=_0x57722d([_0x5eaa6c(0x2,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x5eaa6c(0x3,_0x342523['Inject'](_0x556477)),_0x5eaa6c(0x4,_0x342523[_0x367cbb(0x314)](_0x1909e3[_0x367cbb(0x343)])),_0x5eaa6c(0x5,_0x342523['Inject'](_0x1fd0b9)),_0x5eaa6c(0x6,_0x5165ed[_0x367cbb(0x2ba)]),_0x5eaa6c(0x7,_0x342523['IUniverInstanceService']),_0x5eaa6c(0x8,_0x342523[_0x367cbb(0x301)])],_0x44fa2d);var _0x325449=Object[_0x367cbb(0x114)],_0x24722a=(_0xb65bd1,_0x2966cc,_0xb028ad,_0x2b34cd)=>{const _0xd36331=_0x367cbb;for(var _0x21fd0a=_0x2b34cd>0x1?void 0x0:_0x2b34cd?_0x325449(_0x2966cc,_0xb028ad):_0x2966cc,_0x2b1f83=_0xb65bd1[_0xd36331(0x131)]-0x1,_0x5c4fe7;_0x2b1f83>=0x0;_0x2b1f83--)(_0x5c4fe7=_0xb65bd1[_0x2b1f83])&&(_0x21fd0a=_0x5c4fe7(_0x21fd0a)||_0x21fd0a);return _0x21fd0a;},_0x39f22f=(_0x479cee,_0x11c4d7)=>(_0xfd1dae,_0x2ec658)=>_0x11c4d7(_0xfd1dae,_0x2ec658,_0x479cee);const _0x13cc5b=0x12c,_0x436c00=0x64,_0x2a87b8=()=>{let _0x52014d=[],_0xaf2105=!0x1;return _0x4e3a34=>{_0x52014d['push'](_0x4e3a34),_0xaf2105||(_0xaf2105=!0x0,setTimeout(()=>{const _0x22c3b9=_0x2f7c;_0x52014d[_0x22c3b9(0xda)](_0x37e216=>_0x37e216()),_0x52014d=[],_0xaf2105=!0x1;}));};};let _0x313d6b=class extends _0x342523[_0x367cbb(0x1b9)]{constructor(_0x3cc46f,_0x395098,_0x30d1d3,_0x1d343d,_0x3852f7,_0x5bcab6,_0x3906a6,_0x3403fb){const _0x273b2d=_0x367cbb;super(),_0x55b886(this,_0x273b2d(0x363),!0x1),_0x55b886(this,_0x273b2d(0x33b),!0x1),_0x55b886(this,_0x273b2d(0x228),new _0x1196b5[(_0x273b2d(0x19a))](new Map())),_0x55b886(this,'cursorInfo$',this[_0x273b2d(0x228)][_0x273b2d(0x13a)]()),_0x55b886(this,_0x273b2d(0x1bd),new _0x1196b5[(_0x273b2d(0x19a))]([])),_0x55b886(this,_0x273b2d(0x38f),this[_0x273b2d(0x1bd)][_0x273b2d(0x1fc)](_0x1196b5[_0x273b2d(0xd9)](_0x13cc5b))),_0x55b886(this,_0x273b2d(0x1e3),_0x342523['debounce']((_0x3be585,_0x3a0adb)=>{const _0x227e22=_0x273b2d,_0x5999ef={'eventID':_0x5165ed['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x227e22(0x1f7)],'memberID':this['_session']['getMemberID'](),'selection':_0x25bdde[_0x227e22(0x324)](_0x3be585,_0x3a0adb['range'])}};this[_0x227e22(0x25f)][_0x227e22(0xd5)](_0x5999ef,this['unitID']);},_0x436c00)),(this[_0x273b2d(0x1f7)]=_0x3cc46f,this[_0x273b2d(0x25f)]=_0x395098,this[_0x273b2d(0x200)]=_0x30d1d3,this['_colorAssignService']=_0x1d343d,this['_memberService']=_0x3852f7,this[_0x273b2d(0x31f)]=_0x5bcab6,this[_0x273b2d(0x1bf)]=_0x3906a6,this[_0x273b2d(0x201)]=_0x3403fb);}get[_0x367cbb(0xcd)](){const _0x52c2cd=_0x367cbb;return this['_cursorInfo$'][_0x52c2cd(0x2b6)]();}get[_0x367cbb(0x189)](){const _0x7fed1=_0x367cbb;return this[_0x7fed1(0x1bd)][_0x7fed1(0x2b6)]();}['dispose'](){const _0x189e0a=_0x367cbb;super[_0x189e0a(0x273)](),this[_0x189e0a(0x228)][_0x189e0a(0x339)](new Map()),this[_0x189e0a(0x228)][_0x189e0a(0x26e)](),this['_roomMembers$']['next']([]),this[_0x189e0a(0x1bd)][_0x189e0a(0x26e)]();}[_0x367cbb(0x1af)](){const _0x310c6b=_0x367cbb;this[_0x310c6b(0x33b)]||(this[_0x310c6b(0x33b)]=!0x0,this[_0x310c6b(0x25f)][_0x310c6b(0x121)]['pipe'](_0x1196b5[_0x310c6b(0xa8)](this[_0x310c6b(0x195)]))[_0x310c6b(0x235)](_0x305cec=>{const _0x47f41a=_0x310c6b;_0x305cec===_0x1909e3['SessionStatus'][_0x47f41a(0x280)]?this[_0x47f41a(0x156)]():this['_toggleOffline']();}),this[_0x310c6b(0x25f)][_0x310c6b(0x270)][_0x310c6b(0x1fc)](_0x1196b5[_0x310c6b(0xa8)](this[_0x310c6b(0x195)]))[_0x310c6b(0x235)](_0x25c2d1=>{const _0x479448=_0x310c6b,_0x5d45ca=_0x25c2d1[_0x479448(0x26a)];_0x5d45ca===_0x5165ed[_0x479448(0x36a)][_0x479448(0x208)]&&this['_onCursorUpdate'](_0x25c2d1),_0x5d45ca===_0x5165ed[_0x479448(0x36a)][_0x479448(0xe2)]&&this[_0x479448(0xd2)](_0x25c2d1);}),this[_0x310c6b(0x297)](),this[_0x310c6b(0x262)](this[_0x310c6b(0x1bf)][_0x310c6b(0x28e)](_0x413e44=>{const _0x580654=_0x310c6b;if(this[_0x580654(0x363)]&&_0x413e44['id']===_0x5dee0c['SetSelectionsOperation']['id']&&_0x413e44[_0x580654(0x2e8)]['unitId']===this[_0x580654(0x1f7)]){const _0x2191d5=_0x413e44[_0x580654(0x2e8)];this[_0x580654(0x1e3)](_0x2191d5[_0x580654(0x395)],_0x2191d5[_0x580654(0xd3)][0x0]);}})));}[_0x367cbb(0x2c4)](_0x5e2171){const _0x268b45=_0x367cbb;var _0x827727,_0x456b69;const {memberID:_0x3ed662,selection:_0x2af534}=_0x5e2171[_0x268b45(0x1ae)],{sheetName:_0x355c5a,range:_0x55c32e}=_0x25bdde[_0x268b45(0x2a9)](_0x2af534),_0xc25ace={'name':(_0x456b69=(_0x827727=this['_memberService']['getMember'](this['unitID'],_0x3ed662))==null?void 0x0:_0x827727[_0x268b45(0x1cc)])!=null?_0x456b69:_0x268b45(0x232),'range':this['_getMergeRange'](_0x355c5a,_0x55c32e),'sheetID':_0x355c5a,'color':this['_colorAssignService'][_0x268b45(0x33c)](_0x3ed662),'selection':_0x2af534},_0x481a85=this[_0x268b45(0xcd)];_0x481a85['set'](_0x3ed662,_0xc25ace),this[_0x268b45(0x228)][_0x268b45(0x339)](_0x481a85);}[_0x367cbb(0xd2)](_0x576b2d){const _0x3fe093=_0x367cbb,{memberID:_0x5d4234}=_0x576b2d[_0x3fe093(0x1ae)],_0x532cae=this[_0x3fe093(0xcd)];_0x532cae[_0x3fe093(0x18c)](_0x5d4234),this[_0x3fe093(0x228)][_0x3fe093(0x339)](_0x532cae);}[_0x367cbb(0x1c9)](_0x21ebbd,_0x422aa4){const _0x57af90=_0x367cbb;var _0x4532c2,_0x3d90e5;const _0x190123=(_0x3d90e5=(_0x4532c2=this[_0x57af90(0x31f)]['getUniverSheetInstance'](this[_0x57af90(0x1f7)]))==null?void 0x0:_0x4532c2[_0x57af90(0xf4)](_0x21ebbd))==null?void 0x0:_0x3d90e5[_0x57af90(0x107)]();return(_0x190123==null?void 0x0:_0x190123[_0x57af90(0x2b1)](_0xf0ce88=>_0x342523['Rectangle'][_0x57af90(0x2d0)](_0xf0ce88,_0x422aa4)))||_0x422aa4;}[_0x367cbb(0x297)](){const _0xb7e2a3=_0x367cbb,_0x56be8f=new _0x342523[(_0xb7e2a3(0x2f8))](),_0x1e2a15=_0x2a87b8(),_0x4daaff=()=>{const _0x9178c1=_0xb7e2a3;_0x56be8f[_0x9178c1(0x273)]();const _0x54beb7=(_0x787c4f,_0x179bae,_0xcbdfbe,_0x5f1d32)=>{const _0x384291=_0x9178c1;let _0x5830e1=[];switch(_0x787c4f['id']){case _0x5dee0c[_0x384291(0x15f)]['DeleteRangeMoveLeftCommandId']:{_0x5830e1=_0x5dee0c[_0x384291(0x24f)](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c[_0x384291(0x15f)]['DeleteRangeMoveUpCommandId']:{_0x5830e1=_0x5dee0c[_0x384291(0x311)](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c[_0x384291(0x15f)][_0x384291(0x350)]:{_0x5830e1=_0x5dee0c['handleInsertCol'](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c[_0x384291(0x15f)][_0x384291(0xfc)]:{_0x5830e1=_0x5dee0c[_0x384291(0x127)](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5830e1=_0x5dee0c[_0x384291(0x359)](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c[_0x384291(0x15f)][_0x384291(0x2b7)]:{_0x5830e1=_0x5dee0c['handleInsertRow'](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c['EffectRefRangId']['MoveRangeCommandId']:{_0x5830e1=_0x5dee0c[_0x384291(0x38e)](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c['EffectRefRangId'][_0x384291(0x382)]:{_0x5830e1=_0x5dee0c[_0x384291(0x2c5)](_0x787c4f,_0x5f1d32);break;}case _0x5dee0c[_0x384291(0x15f)][_0x384291(0x289)]:{_0x5830e1=_0x5dee0c[_0x384291(0x1d7)](_0x787c4f,_0x5f1d32);break;}}const _0x5d800c=_0x5dee0c[_0x384291(0x287)](_0x5830e1,_0x5f1d32),_0x4da204=this[_0x384291(0xcd)][_0x384291(0x1da)](_0x179bae);if(_0x4da204&&_0x5d800c){const _0x2626aa={..._0x4da204,'range':_0x5d800c};this[_0x384291(0xcd)]['set'](_0x179bae,_0x2626aa),_0x1e2a15(()=>{const _0x410b1e=_0x384291,_0x179e23=this[_0x410b1e(0x201)][_0x410b1e(0x238)](_0x5d800c,_0x469f59=>(_0x179e23[_0x410b1e(0x273)](),_0x54beb7(_0x469f59,_0x179bae,_0xcbdfbe,_0x5d800c)));_0x56be8f['add'](_0x179e23);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x9178c1(0xda)]((_0x2beb2f,_0x2d4e0a)=>{const _0x27eedd=_0x9178c1,{range:_0x46d778,sheetID:_0x4e457b}=_0x2beb2f,_0x4c417d=this[_0x27eedd(0x201)][_0x27eedd(0x238)](_0x46d778,_0x1e887d=>(_0x4c417d[_0x27eedd(0x273)](),_0x54beb7(_0x1e887d,_0x2d4e0a,_0x4e457b,_0x46d778)));_0x56be8f['add'](_0x4c417d);});};this[_0xb7e2a3(0x262)](_0x342523[_0xb7e2a3(0x2d5)](this['_cursorInfo$'][_0xb7e2a3(0x235)](()=>{_0x4daaff();})));}['_toggleOnline'](){const _0xd1a02c=_0x367cbb;var _0x3a6a25,_0x4f3f09;if(this[_0xd1a02c(0x363)]=!0x0,((_0x3a6a25=this[_0xd1a02c(0x31f)]['getFocusedUnit']())==null?void 0x0:_0x3a6a25[_0xd1a02c(0xdb)]())!==this[_0xd1a02c(0x1f7)])return;const _0x4af999=(_0x4f3f09=this[_0xd1a02c(0x200)]['get'](_0x5dee0c[_0xd1a02c(0x2ee)])[_0xd1a02c(0x358)]())==null?void 0x0:_0x4f3f09[0x0],_0x3c0ae7=this[_0xd1a02c(0x31f)][_0xd1a02c(0x2ad)](_0x342523[_0xd1a02c(0x20e)]['UNIVER_SHEET'])['getActiveSheet']();_0x4af999&&_0x3c0ae7&&this[_0xd1a02c(0x1e3)](_0x3c0ae7[_0xd1a02c(0x20c)](),_0x4af999);}[_0x367cbb(0x369)](){const _0x584dab=_0x367cbb;this[_0x584dab(0x363)]=!0x1;}};_0x313d6b=_0x24722a([_0x39f22f(0x2,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x39f22f(0x3,_0x342523[_0x367cbb(0x314)](_0x556477)),_0x39f22f(0x4,_0x342523[_0x367cbb(0x314)](_0x1909e3['MemberService'])),_0x39f22f(0x5,_0x342523[_0x367cbb(0x379)]),_0x39f22f(0x6,_0x342523[_0x367cbb(0x301)]),_0x39f22f(0x7,_0x342523[_0x367cbb(0x314)](_0x5dee0c[_0x367cbb(0x366)]))],_0x313d6b);var _0x417f63=Object['getOwnPropertyDescriptor'],_0xf7fbf1=(_0x205710,_0x1b5c5d,_0xf55baa,_0x3df6df)=>{const _0x280a1d=_0x367cbb;for(var _0x50828c=_0x3df6df>0x1?void 0x0:_0x3df6df?_0x417f63(_0x1b5c5d,_0xf55baa):_0x1b5c5d,_0x13178d=_0x205710[_0x280a1d(0x131)]-0x1,_0x29dace;_0x13178d>=0x0;_0x13178d--)(_0x29dace=_0x205710[_0x13178d])&&(_0x50828c=_0x29dace(_0x50828c)||_0x50828c);return _0x50828c;},_0x1d2dd0=(_0x5c260d,_0x433d77)=>(_0x5d554c,_0x426d8a)=>_0x433d77(_0x5d554c,_0x426d8a,_0x5c260d);let _0x411473=class extends _0x342523['RxDisposable']{constructor(_0x2ce980,_0x1bb65d,_0x1f3abe){const _0x463711=_0x367cbb;super(),_0x55b886(this,'_entities',new Map()),_0x55b886(this,'_entityInit$',new _0x1196b5['Subject']()),(this['_univerInstanceService']=_0x2ce980,this[_0x463711(0x200)]=_0x1bb65d,this[_0x463711(0x150)]=_0x1f3abe,this['_init']());}[_0x367cbb(0x273)](){const _0x523156=_0x367cbb;super['dispose'](),this['_entityInit$']['complete'](),this[_0x523156(0x1ed)][_0x523156(0xda)](_0x2291c9=>_0x2291c9[_0x523156(0x273)]());}[_0x367cbb(0x199)](_0x2e4eb1){const _0x32f4db=_0x367cbb;return this[_0x32f4db(0x1ed)][_0x32f4db(0x374)](_0x2e4eb1)?this[_0x32f4db(0x1ed)][_0x32f4db(0x1da)](_0x2e4eb1)[_0x32f4db(0x342)]:this['_entityInit$'][_0x32f4db(0x1fc)](_0x1196b5[_0x32f4db(0xc6)](_0x987a12=>_0x987a12[_0x32f4db(0x1f7)]===_0x2e4eb1),_0x1196b5[_0x32f4db(0x2a2)](_0x13814f=>_0x13814f[_0x32f4db(0x342)]));}[_0x367cbb(0x33b)](){const _0x66c3fb=_0x367cbb;this[_0x66c3fb(0x31f)]['getTypeOfUnitAdded$'](_0x342523[_0x66c3fb(0x20e)]['UNIVER_SHEET'])[_0x66c3fb(0x1fc)](_0x1196b5[_0x66c3fb(0xa8)](this[_0x66c3fb(0x195)]))['subscribe'](async _0x126247=>{const _0xfdcdc3=_0x66c3fb,_0x4a1749=_0x126247['getUnitId'](),_0x175782=await this[_0xfdcdc3(0x37b)](_0x4a1749);this[_0xfdcdc3(0x1cb)][_0xfdcdc3(0x339)](_0x175782),this[_0xfdcdc3(0x1ed)][_0xfdcdc3(0xbc)](_0x4a1749,_0x175782);}),this[_0x66c3fb(0x31f)]['getTypeOfUnitAdded$'](_0x342523[_0x66c3fb(0x20e)][_0x66c3fb(0x2bc)])['pipe'](_0x1196b5[_0x66c3fb(0xa8)](this[_0x66c3fb(0x195)]))[_0x66c3fb(0x1fc)](_0x1196b5['filter'](_0x18171f=>!_0x18171f['getUnitId']()['startsWith']('__')))[_0x66c3fb(0x235)](async _0x4ddbe4=>{const _0x132b8e=_0x66c3fb,_0x3a8388=_0x4ddbe4[_0x132b8e(0xdb)](),_0x3c7861=await this[_0x132b8e(0x219)](_0x3a8388);this[_0x132b8e(0x1cb)][_0x132b8e(0x339)](_0x3c7861),this[_0x132b8e(0x1ed)]['set'](_0x3a8388,_0x3c7861);}),_0x1196b5[_0x66c3fb(0x351)](this[_0x66c3fb(0x31f)]['getTypeOfUnitDisposed$'](_0x342523[_0x66c3fb(0x20e)]['UNIVER_DOC']),this[_0x66c3fb(0x31f)][_0x66c3fb(0x125)](_0x342523[_0x66c3fb(0x20e)][_0x66c3fb(0x370)]))[_0x66c3fb(0x1fc)](_0x1196b5['takeUntil'](this[_0x66c3fb(0x195)]))[_0x66c3fb(0x235)](_0x92cee0=>{const _0x2da666=_0x66c3fb,_0xe89f8a=_0x92cee0[_0x2da666(0xdb)](),_0x337fab=this['_entities']['get'](_0xe89f8a);_0x337fab&&(_0x337fab[_0x2da666(0x273)](),this['_entities'][_0x2da666(0x18c)](_0xe89f8a));});}async[_0x367cbb(0x37b)](_0xb1431c){const _0x5c26f3=_0x367cbb,_0x13e0fa=await this[_0x5c26f3(0x150)][_0x5c26f3(0x2b5)](_0xb1431c),_0x3dc97a=this[_0x5c26f3(0x200)][_0x5c26f3(0x373)](_0x313d6b,_0xb1431c,_0x13e0fa);return _0x3dc97a['init'](),_0x3dc97a;}async[_0x367cbb(0x219)](_0x262e26){const _0x4f75ab=_0x367cbb,_0x34349f=await this[_0x4f75ab(0x150)]['requireSession'](_0x262e26),_0x391289=this[_0x4f75ab(0x200)][_0x4f75ab(0x373)](_0x44fa2d,_0x262e26,_0x34349f);return _0x391289[_0x4f75ab(0x1af)](),_0x391289;}};_0x411473=_0xf7fbf1([_0x1d2dd0(0x0,_0x342523[_0x367cbb(0x379)]),_0x1d2dd0(0x1,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x1d2dd0(0x2,_0x342523[_0x367cbb(0x314)](_0x1909e3['CollaborationSessionService']))],_0x411473);const _0x3631d8=0x14,_0x55d0fc=0xc8,_0x15d125=0x4,_0x3787d5=0x5;function _0x4386ba(_0xd7ff81,_0x3e5ef6){const _0x1e305b=_0x367cbb;let {radius:_0x5f4688,width:_0x43b300,height:_0x1836de}=_0x3e5ef6;_0x5f4688=_0x5f4688!=null?_0x5f4688:0x0,_0x43b300=_0x43b300!=null?_0x43b300:0x1e,_0x1836de=_0x1836de!=null?_0x1836de:0x1e;let _0x270f02=0x0,_0x26a50e=0x0,_0x1a66fe=0x0;_0x270f02=_0x26a50e=_0x1a66fe=Math['min'](_0x5f4688,_0x43b300/0x2,_0x1836de/0x2),_0xd7ff81[_0x1e305b(0x1e4)](),_0xd7ff81[_0x1e305b(0x12f)](_0x270f02,0x0),_0xd7ff81['lineTo'](_0x43b300-_0x26a50e,0x0),_0xd7ff81[_0x1e305b(0x119)](_0x43b300-_0x26a50e,_0x26a50e,_0x26a50e,Math['PI']*0x3/0x2,0x0,!0x1),_0xd7ff81[_0x1e305b(0x2f4)](_0x43b300,_0x1836de-_0x1a66fe),_0xd7ff81[_0x1e305b(0x119)](_0x43b300-_0x1a66fe,_0x1836de-_0x1a66fe,_0x1a66fe,0x0,Math['PI']/0x2,!0x1),_0xd7ff81[_0x1e305b(0x2f4)](0x0,_0x1836de),_0xd7ff81[_0x1e305b(0x2f4)](0x0,_0x270f02),_0xd7ff81['arc'](_0x270f02,_0x270f02,_0x270f02,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xd7ff81[_0x1e305b(0x34b)](),_0x3e5ef6[_0x1e305b(0x22c)]&&(_0xd7ff81[_0x1e305b(0x1ad)](),_0xd7ff81[_0x1e305b(0x331)]=_0x3e5ef6[_0x1e305b(0x22c)],_0x3e5ef6[_0x1e305b(0x20d)]===_0x1e305b(0x38b)?_0xd7ff81[_0x1e305b(0x22c)](_0x1e305b(0x38b)):_0xd7ff81[_0x1e305b(0x22c)](),_0xd7ff81['restore']());}class _0x11fcda extends _0x4f2644[_0x367cbb(0x1aa)]{constructor(_0x3ec508,_0x5515ae){const _0x5435b4=_0x367cbb;super(_0x3ec508,_0x5515ae),_0x55b886(this,_0x5435b4(0x37c)),_0x55b886(this,_0x5435b4(0xcb)),(this[_0x5435b4(0x37c)]=_0x5515ae==null?void 0x0:_0x5515ae['color'],this[_0x5435b4(0xcb)]=_0x5515ae==null?void 0x0:_0x5515ae[_0x5435b4(0xcb)]);}static[_0x367cbb(0x31d)](_0x424422,_0x2f5ae5){const _0x46d989=_0x367cbb,{text:_0x5dbd0b,color:_0x9b5e5b}=_0x2f5ae5;_0x424422[_0x46d989(0x1ad)](),_0x424422[_0x46d989(0x2c7)]=_0x46d989(0x340);const _0x1259fb=_0x424422[_0x46d989(0x2ca)](_0x5dbd0b)[_0x46d989(0xff)],_0x376582=Math[_0x46d989(0x231)](_0x1259fb+0x2*_0x15d125,_0x55d0fc);_0x4386ba(_0x424422,{'height':_0x3631d8,'radius':0x4,'width':_0x376582,'fill':_0x9b5e5b}),_0x424422['fillStyle']=_0x46d989(0x139);const _0x11c0b4=_0x15d125,_0x4af593=_0x3631d8-_0x3787d5,_0xc8e846=_0x55d0fc-0x2*_0x15d125;if(_0x1259fb>_0xc8e846){let _0x2b658b='',_0x4ac273=0x0;for(const _0x5b801a of _0x5dbd0b){const _0x3857c9=_0x424422['measureText'](_0x5b801a)['width'];if(_0x4ac273+_0x3857c9<=_0xc8e846-_0x424422[_0x46d989(0x2ca)]('...')[_0x46d989(0xff)])_0x2b658b+=_0x5b801a,_0x4ac273+=_0x3857c9;else{_0x2b658b+=_0x46d989(0x362);break;}}_0x424422[_0x46d989(0x12e)](_0x2b658b,_0x11c0b4,_0x4af593);}else _0x424422[_0x46d989(0x12e)](_0x5dbd0b,_0x11c0b4,_0x4af593);_0x424422[_0x46d989(0x2dc)]();}[_0x367cbb(0x229)](_0x431866){const _0x51973b=_0x367cbb;_0x11fcda[_0x51973b(0x31d)](_0x431866,this);}}const _0x32d704=_0x367cbb(0x30f),_0x782a25=_0x367cbb(0xfe),_0x2d0828=_0x367cbb(0x294),_0x58da8c=0x6,_0x282cff=1.5,_0x1c6e18=0x4,_0x1ae2ca=1.5,_0x3c5a6c=_0x367cbb(0x28d);class _0xe92512{constructor(_0xc34fa1,_0x1d79bc,_0x25bcfc,_0x2fb38c){const _0x379bb8=_0x367cbb;_0x55b886(this,_0x379bb8(0x318),[]),_0x55b886(this,'_anchor',null),_0x55b886(this,_0x379bb8(0x2c0),null),_0x55b886(this,_0x379bb8(0x32a),null),_0x55b886(this,_0x379bb8(0x112),null),_0x55b886(this,_0x379bb8(0x16c),null),(this[_0x379bb8(0x35c)]=_0xc34fa1,this[_0x379bb8(0x1d1)]=_0x1d79bc,this[_0x379bb8(0xee)]=_0x25bcfc,this[_0x379bb8(0x105)]=_0x2fb38c,this[_0x379bb8(0x348)]());}set['_hover'](_0x39d70d){const _0x1268ec=_0x367cbb;_0x39d70d?(this[_0x1268ec(0x32a)]&&this[_0x1268ec(0x32a)][_0x1268ec(0x2d9)](),this['_textBubble']&&this[_0x1268ec(0x2c0)]['show']()):(this[_0x1268ec(0x32a)]&&this[_0x1268ec(0x32a)][_0x1268ec(0x1ab)](),this['_textBubble']&&this[_0x1268ec(0x2c0)][_0x1268ec(0x2d9)]());}[_0x367cbb(0x273)](){const _0x30490c=_0x367cbb;for(const _0x338851 of this[_0x30490c(0x318)])_0x338851[_0x30490c(0x273)]();this[_0x30490c(0x2c0)]&&this[_0x30490c(0x2c0)]['dispose'](),this[_0x30490c(0x32a)]&&this[_0x30490c(0x32a)][_0x30490c(0x273)](),this[_0x30490c(0x27a)]&&this['_anchor'][_0x30490c(0x273)](),this[_0x30490c(0x16c)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2fa6a0=_0x367cbb;var _0x4f6f78;const {_docSkeleton:_0x34ee79,_document:_0x94082d}=this,{color:_0x461d5e,name:_0x59d058,ranges:_0xb839f1}=this[_0x2fa6a0(0x35c)],_0x226411=_0x94082d[_0x2fa6a0(0xa6)](),{docsLeft:_0x268c05,docsTop:_0x44a2f8}=_0x226411,_0x22ecb3=new _0x594bd5[(_0x2fa6a0(0x12d))](_0x226411,_0x34ee79);for(const {startOffset:_0x2d9532,endOffset:_0x57ebbb,rangeType:_0x38d7ee,segmentId:_0x4758aa,segmentPage:_0x48f287,collapsed:_0x202ae4,isActive:_0x267626}of _0xb839f1){const _0x3637da=_0x34ee79[_0x2fa6a0(0x1fb)](_0x2d9532,!0x0,_0x4758aa,_0x48f287);let _0x4757e7=_0x34ee79[_0x2fa6a0(0x1fb)](_0x57ebbb,!0x0,_0x4758aa,_0x48f287);if(_0x4757e7==null&&(_0x4757e7=_0x34ee79[_0x2fa6a0(0x1fb)](_0x57ebbb-0x1,!0x1,_0x4758aa,_0x48f287)),_0x267626){const {contentBoxPointGroup:_0x59ca67}=_0x22ecb3['getRangePointData'](_0x4757e7,_0x4757e7);if(_0x59ca67[_0x2fa6a0(0x131)]===0x0)continue;this['_drawAnchor'](_0x461d5e,_0x59ca67,_0x268c05,_0x44a2f8,_0x59d058),this[_0x2fa6a0(0x16c)]=this[_0x2fa6a0(0x254)]();}if(_0x3637da&&_0x4757e7){if(_0x38d7ee===_0x342523[_0x2fa6a0(0x2e7)][_0x2fa6a0(0x30b)]){const _0x1944d6=new _0x594bd5['NodePositionConvertToRectRange'](_0x226411,_0x34ee79),{pointGroup:_0x799a5a}=(_0x4f6f78=_0x1944d6['getRangePointData'](_0x3637da,_0x4757e7))!=null?_0x4f6f78:{};if(_0x799a5a==null||_0x799a5a['length']===0x0)continue;this[_0x2fa6a0(0x193)](_0x461d5e,_0x799a5a,_0x268c05,_0x44a2f8);}else{if(!_0x202ae4){const {borderBoxPointGroup:_0x8f1ed8}=_0x22ecb3[_0x2fa6a0(0x327)](_0x3637da,_0x4757e7);if(_0x8f1ed8[_0x2fa6a0(0x131)]===0x0)continue;this[_0x2fa6a0(0x11b)](_0x461d5e,_0x8f1ed8,_0x268c05,_0x44a2f8);}}}}}['_drawAnchor'](_0x1c503f,_0x8f34be,_0xf44b68,_0x3a5371,_0x5ace1f){const _0x3a9e68=_0x367cbb,_0x4fb636=this[_0x3a9e68(0x17a)](_0x8f34be),{left:_0xd27c90,top:_0x592381,height:_0x4b1c06}=_0x4fb636,_0x13206a=this['_getScale'](),_0x180605=_0x1ae2ca/_0x13206a,_0x248f88=new _0x4f2644[(_0x3a9e68(0x164))](_0x32d704+_0x342523[_0x3a9e68(0x352)](_0x58da8c),{'left':_0xd27c90+_0xf44b68-_0x180605,'top':_0x592381+_0x3a5371,'height':_0x4b1c06,'width':_0x282cff,'fill':_0x1c503f||_0x4f2644[_0x3a9e68(0x1c7)](_0x342523[_0x3a9e68(0x23b)][_0x3a9e68(0x109)],0x0),'strokeWidth':_0x180605,'stroke':_0x3c5a6c,'evented':!0x0});this[_0x3a9e68(0x27a)]=_0x248f88,this[_0x3a9e68(0x1d1)][_0x3a9e68(0x1b1)](_0x248f88,_0x594bd5[_0x3a9e68(0x18f)]);const _0x333f41=new _0x4f2644['Rect'](_0x32d704+_0x342523[_0x3a9e68(0x352)](_0x58da8c),{'left':_0xd27c90+_0xf44b68-_0x180605,'top':_0x592381+_0x3a5371-_0x1c6e18/0x2,'height':_0x1c6e18,'width':_0x1c6e18,'fill':_0x1c503f||_0x4f2644[_0x3a9e68(0x1c7)](_0x342523['COLORS'][_0x3a9e68(0x109)],0x0),'strokeWidth':0x0,'stroke':_0x1c503f||_0x4f2644[_0x3a9e68(0x1c7)](_0x342523[_0x3a9e68(0x23b)][_0x3a9e68(0x109)],0x0),'evented':!0x1});this[_0x3a9e68(0x32a)]=_0x333f41,this[_0x3a9e68(0x1d1)][_0x3a9e68(0x1b1)](_0x333f41,_0x594bd5['TEXT_RANGE_LAYER_INDEX']);const _0x45fa28=new _0x11fcda(_0x32d704+_0x342523[_0x3a9e68(0x352)](_0x58da8c),{'left':_0xd27c90+_0xf44b68-_0x180605,'top':_0x592381+_0x3a5371-_0x3631d8,'text':_0x5ace1f,'color':_0x1c503f});this[_0x3a9e68(0x2c0)]=_0x45fa28,this[_0x3a9e68(0x1d1)][_0x3a9e68(0x1b1)](_0x45fa28,_0x594bd5['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x53db50=_0x367cbb,_0x259959=this['_anchor'][_0x53db50(0x35b)][_0x53db50(0x26c)](()=>{const _0x25b043=_0x53db50;this[_0x25b043(0x1d9)]=!0x0;}),_0x5b0a76=this[_0x53db50(0x27a)][_0x53db50(0xed)][_0x53db50(0x26c)](()=>{const _0x3bb38a=_0x53db50;this[_0x3bb38a(0x112)]&&clearTimeout(this[_0x3bb38a(0x112)]),this[_0x3bb38a(0x112)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3db6bb=_0x53db50;_0x259959['unsubscribe'](),_0x5b0a76[_0x3db6bb(0x11a)]();};}[_0x367cbb(0x11b)](_0x48ff6b,_0x205fc6,_0x469098,_0x12e88a){const _0x5e9d48=_0x367cbb,_0x207676=new _0x342523[(_0x5e9d48(0x29c))](_0x48ff6b)[_0x5e9d48(0x1e7)](0.2)[_0x5e9d48(0x396)](),_0x152599=new _0x4f2644[(_0x5e9d48(0x177))](_0x782a25+_0x342523['generateRandomId'](_0x58da8c),{'pointsGroup':_0x205fc6,'fill':_0x207676||_0x4f2644['getColor'](_0x342523[_0x5e9d48(0x23b)][_0x5e9d48(0x109)],0.2),'left':_0x469098,'top':_0x12e88a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e9d48(0x318)][_0x5e9d48(0x380)](_0x152599),this['_scene'][_0x5e9d48(0x1b1)](_0x152599,_0x594bd5[_0x5e9d48(0x18f)]);}['_drawRectRange'](_0x53ec9f,_0x245fbc,_0x338f3d,_0x1408bb){const _0x54cb0b=_0x367cbb,_0xe1a2b9=new _0x342523[(_0x54cb0b(0x29c))](_0x53ec9f)['setAlpha'](0.2)[_0x54cb0b(0x396)](),_0x346fce=new _0x4f2644[(_0x54cb0b(0x177))](_0x2d0828+_0x342523[_0x54cb0b(0x352)](_0x58da8c),{'pointsGroup':_0x245fbc,'fill':_0xe1a2b9||_0x4f2644[_0x54cb0b(0x1c7)](_0x342523[_0x54cb0b(0x23b)]['black'],0.2),'left':_0x338f3d,'top':_0x1408bb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x54cb0b(0x380)](_0x346fce),this['_scene'][_0x54cb0b(0x1b1)](_0x346fce,_0x594bd5[_0x54cb0b(0x18f)]);}['_getAnchorBounding'](_0x4372c9){const _0x1428ca=_0x4372c9[0x0],_0x17836d=_0x1428ca[0x0],_0x2912d3=_0x1428ca[0x2],{x:_0x4fedda,y:_0x598ffe}=_0x17836d,{x:_0x1ea0bf,y:_0x9bead7}=_0x2912d3;return{'left':_0x4fedda,'top':_0x598ffe,'width':_0x1ea0bf-_0x4fedda,'height':_0x9bead7-_0x598ffe};}[_0x367cbb(0x1eb)](){const _0x5ac187=_0x367cbb,{scaleX:_0x4127ea,scaleY:_0x4dde20}=this[_0x5ac187(0x1d1)]['getAncestorScale']();return Math[_0x5ac187(0x2be)](_0x4127ea,_0x4dde20);}}var _0x3609d9=Object[_0x367cbb(0x114)],_0x3a3959=(_0x4f4c84,_0x498c28,_0xd61a8b,_0x8bbcc5)=>{const _0x13cc1e=_0x367cbb;for(var _0x2b87b3=_0x8bbcc5>0x1?void 0x0:_0x8bbcc5?_0x3609d9(_0x498c28,_0xd61a8b):_0x498c28,_0x57b586=_0x4f4c84[_0x13cc1e(0x131)]-0x1,_0x4ec133;_0x57b586>=0x0;_0x57b586--)(_0x4ec133=_0x4f4c84[_0x57b586])&&(_0x2b87b3=_0x4ec133(_0x2b87b3)||_0x2b87b3);return _0x2b87b3;},_0xb1fe23=(_0x496771,_0x2381bc)=>(_0x2ad328,_0x46e4e5)=>_0x2381bc(_0x2ad328,_0x46e4e5,_0x496771);let _0x4fa3d3=class extends _0x342523[_0x367cbb(0x1b9)]{constructor(_0x594702,_0x4f6cc8,_0x38f9dc,_0x41bb26,_0x39e497){const _0x330813=_0x367cbb;super(),_0x55b886(this,_0x330813(0x251),[]),_0x55b886(this,_0x330813(0xbb),[]),(this['_context']=_0x594702,this[_0x330813(0x36f)]=_0x4f6cc8,this[_0x330813(0x320)]=_0x38f9dc,this['_commandService']=_0x41bb26,this[_0x330813(0x217)]=_0x39e497,this[_0x330813(0x33b)]());}[_0x367cbb(0x33b)](){const _0x159e7a=_0x367cbb,_0x5c24b2=this[_0x159e7a(0x299)]['unitId'],_0x46526a=this[_0x159e7a(0x36f)];this['disposeWithMe'](_0x1196b5[_0x159e7a(0x2b9)]([this['_collabCursorController'][_0x159e7a(0x199)](_0x5c24b2),this['_themeService'][_0x159e7a(0x312)]])[_0x159e7a(0x1fc)](_0x65d82d[_0x159e7a(0x2d8)](([_0x297b53,_0xbf0068])=>({'skeleton':_0x46526a[_0x159e7a(0x205)](),'cursors':[..._0x297b53['values']()]['flatMap'](_0x15f4d4=>({..._0x15f4d4,'color':this[_0x159e7a(0x217)][_0x159e7a(0x1cd)](_0x15f4d4['color'])}))})))['subscribe'](_0x34c582=>{const _0x3789a9=_0x159e7a;if(this[_0x3789a9(0x1e2)](),_0x34c582){const {skeleton:_0x9c885a,cursors:_0x2caa1f}=_0x34c582;this[_0x3789a9(0x1b5)](_0x9c885a,_0x2caa1f);}})),this['_initResize'](),this[_0x159e7a(0x2b2)]();}['_updateCollabCursors'](_0x263e2f,_0xf46f89){const _0x575a2a=_0x367cbb,{scene:_0xc0c1c,mainComponent:_0x502d5a}=this[_0x575a2a(0x299)],_0x1ccf76=_0xf46f89[_0x575a2a(0x2d8)](_0x159c5d=>new _0xe92512(_0x159c5d,_0xc0c1c,_0x263e2f,_0x502d5a));this[_0x575a2a(0x251)]=_0x1ccf76,this[_0x575a2a(0xbb)]=_0xf46f89;}[_0x367cbb(0x2b0)](){const _0x3631ec=_0x367cbb;this['_removeCollabCursors']();const {scene:_0x41bc44,mainComponent:_0x3b6baa}=this[_0x3631ec(0x299)],_0x58b7b7=this[_0x3631ec(0x36f)][_0x3631ec(0x205)](),_0x5f69ed=this[_0x3631ec(0xbb)][_0x3631ec(0x2d8)](_0x325ab9=>new _0xe92512(_0x325ab9,_0x41bc44,_0x58b7b7,_0x3b6baa));this['_cursorShapes']=_0x5f69ed;}[_0x367cbb(0x1e2)](){const _0x17cc70=_0x367cbb;this['_cursorShapes'][_0x17cc70(0xda)](_0x1ee48c=>_0x1ee48c[_0x17cc70(0x273)]()),this['_cursorShapes']=[];}[_0x367cbb(0x2b2)](){const _0x367505=_0x367cbb,_0x3d1a4f=[_0x594bd5[_0x367505(0xc8)]['id']];this[_0x367505(0x262)](this[_0x367505(0x1bf)][_0x367505(0x28e)](_0x4e3bac=>{const _0x409f59=_0x367505;_0x3d1a4f[_0x409f59(0x387)](_0x4e3bac['id'])&&_0x4e3bac['params'][_0x409f59(0x29f)]===this[_0x409f59(0x299)][_0x409f59(0x29f)]&&this[_0x409f59(0x2b0)]();}));}[_0x367cbb(0x2d1)](){const _0xcb3c16=_0x367cbb;this[_0xcb3c16(0x262)](_0x342523['fromEventSubject'](this[_0xcb3c16(0x299)]['engine'][_0xcb3c16(0x354)])['pipe'](_0x65d82d[_0xcb3c16(0xc6)](_0x1db447=>_0x1db447[_0xcb3c16(0xa9)]===_0x4f2644[_0xcb3c16(0x1b0)][_0xcb3c16(0x333)]),_0x65d82d['throttleTime'](0x10))[_0xcb3c16(0x235)](()=>{this['_refreshCollabCursors']();}));}};_0x4fa3d3=_0x3a3959([_0xb1fe23(0x1,_0x342523[_0x367cbb(0x314)](_0x56104d[_0x367cbb(0x24e)])),_0xb1fe23(0x2,_0x342523[_0x367cbb(0x314)](_0x411473)),_0xb1fe23(0x3,_0x342523[_0x367cbb(0x301)]),_0xb1fe23(0x4,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x1bc)]))],_0x4fa3d3);const _0x21b239=0x1,_0x2fba66=1.5;class _0x527f26 extends _0x4f2644['Shape']{constructor(_0x828539,_0x30cc76){const _0x5cd39e=_0x367cbb;super(_0x828539,_0x30cc76),_0x55b886(this,_0x5cd39e(0x296)),_0x55b886(this,'_hovered',!0x1),_0x55b886(this,_0x5cd39e(0xf1)),_0x55b886(this,_0x5cd39e(0x32b),''),_0x55b886(this,'_labelPosition',_0x5cd39e(0xbd)),_0x55b886(this,_0x5cd39e(0x2f9)),(_0x30cc76&&this[_0x5cd39e(0x1e9)](_0x30cc76),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5cd39e(0xed)][_0x5cd39e(0x26c)](()=>this[_0x5cd39e(0x1e9)]({'hovered':!0x1})));}[_0x367cbb(0x1e9)](_0x266b17){const _0x31e6e7=_0x367cbb;var _0x49cc99,_0x11117d,_0x508161,_0x36c4f3,_0x3bba35,_0x4013a6;this[_0x31e6e7(0x296)]=(_0x49cc99=_0x266b17[_0x31e6e7(0x37c)])!=null?_0x49cc99:this[_0x31e6e7(0x296)],this['_hovered']=(_0x11117d=_0x266b17['hovered'])!=null?_0x11117d:this[_0x31e6e7(0x1a4)],this[_0x31e6e7(0xf1)]=(_0x508161=_0x266b17['range'])!=null?_0x508161:this[_0x31e6e7(0xf1)],this[_0x31e6e7(0x32b)]=(_0x36c4f3=_0x266b17[_0x31e6e7(0x1cc)])!=null?_0x36c4f3:this[_0x31e6e7(0x32b)],this[_0x31e6e7(0x364)]=(_0x3bba35=_0x266b17[_0x31e6e7(0x1df)])!=null?_0x3bba35:this[_0x31e6e7(0x364)],this['_backgroundColor']=(_0x4013a6=_0x266b17[_0x31e6e7(0xd8)])!=null?_0x4013a6:this[_0x31e6e7(0x2f9)],this[_0x31e6e7(0x21a)]({'width':_0x266b17['width'],'height':_0x266b17[_0x31e6e7(0x241)]});}['onMouseMove'](_0x2c263){const _0x241872=_0x367cbb,{row:_0x599dc0,column:_0x38ef42}=_0x2c263;if(_0x599dc0>=this[_0x241872(0xf1)]['startRow']&&_0x599dc0<=this['_range'][_0x241872(0xf7)]&&_0x38ef42>=this['_range']['startColumn']&&_0x38ef42<=this[_0x241872(0xf1)][_0x241872(0x278)]){this[_0x241872(0x1e9)]({'hovered':!0x0});return;}this[_0x241872(0x1e9)]({'hovered':!0x1});}[_0x367cbb(0xc5)](_0x2599d){return!0x1;}[_0x367cbb(0x229)](_0x11452a){const _0x1e124e=_0x367cbb;_0x4f2644[_0x1e124e(0x164)][_0x1e124e(0x31d)](_0x11452a,{'width':this[_0x1e124e(0xff)],'height':this[_0x1e124e(0x241)],'strokeWidth':_0x2fba66,'stroke':this[_0x1e124e(0x296)],'evented':!0x1,'fill':this[_0x1e124e(0x2f9)]}),this['_hovered']&&(_0x11452a[_0x1e124e(0x1ad)](),_0x11452a[_0x1e124e(0x36b)](0x1,0x0,0x0,0x1,this[_0x1e124e(0xff)],this[_0x1e124e(0x364)]===_0x1e124e(0x295)?0x0:-_0x3631d8),_0x11fcda[_0x1e124e(0x31d)](_0x11452a,{'text':this[_0x1e124e(0x32b)],'color':this[_0x1e124e(0x296)]}),_0x11452a[_0x1e124e(0x2dc)]());}}var _0x4a45f7=Object[_0x367cbb(0x114)],_0x59a125=(_0x36e994,_0x57053f,_0x3b832b,_0x227b4a)=>{const _0x1a539c=_0x367cbb;for(var _0x460cf9=_0x227b4a>0x1?void 0x0:_0x227b4a?_0x4a45f7(_0x57053f,_0x3b832b):_0x57053f,_0x1fb8ad=_0x36e994[_0x1a539c(0x131)]-0x1,_0x224fd4;_0x1fb8ad>=0x0;_0x1fb8ad--)(_0x224fd4=_0x36e994[_0x1fb8ad])&&(_0x460cf9=_0x224fd4(_0x460cf9)||_0x460cf9);return _0x460cf9;},_0x23f892=(_0x5e0eb4,_0x3b79cc)=>(_0x4d428a,_0x11e84b)=>_0x3b79cc(_0x4d428a,_0x11e84b,_0x5e0eb4);const _0x4504eb=0x1389;let _0xc69c2=class extends _0x342523[_0x367cbb(0x1b9)]{constructor(_0x31fc53,_0x1117a3,_0x460fe6,_0x3d93f4){const _0x5cb0ea=_0x367cbb;super(),_0x55b886(this,_0x5cb0ea(0xbb),new Set()),_0x55b886(this,_0x5cb0ea(0x1a9),null),(this[_0x5cb0ea(0x299)]=_0x31fc53,this[_0x5cb0ea(0x288)]=_0x1117a3,this[_0x5cb0ea(0x320)]=_0x460fe6,this[_0x5cb0ea(0x217)]=_0x3d93f4,this[_0x5cb0ea(0x33b)]());}[_0x367cbb(0x33b)](){const _0x246730=_0x367cbb;this['_sheetSkeletonManagerService'][_0x246730(0x31a)][_0x246730(0x1fc)](_0x65d82d[_0x246730(0xa8)](this['dispose$']),_0x65d82d[_0x246730(0x2a2)](_0xe66bd7=>{const _0x49062b=_0x246730;if(_0xe66bd7){const _0xdb58f8=_0xe66bd7[_0x49062b(0x1be)];return _0x1196b5[_0x49062b(0x2b9)](this[_0x49062b(0x320)]['getCollabCursors$'](this['_context']['unitId']),this[_0x49062b(0x217)]['currentTheme$'])['pipe'](_0x65d82d['map'](([_0x21d7f6,_0x8fff85])=>{const _0x2d4925=_0x49062b,_0x24643d=new Map();return _0x21d7f6[_0x2d4925(0xda)]((_0x3aa947,_0x535b37)=>{const _0x14b69d=_0x2d4925;if(_0x3aa947['sheetID']===_0xdb58f8){const _0x25dc3c={..._0x3aa947};_0x25dc3c['color']=this[_0x14b69d(0x217)][_0x14b69d(0x1cd)](_0x3aa947[_0x14b69d(0x37c)]),_0x24643d[_0x14b69d(0xbc)](_0x535b37,_0x25dc3c);}}),{'skeleton':_0xe66bd7,'cursors':_0x24643d};}));}return _0x1196b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x246730(0x235)](({skeleton:_0x4a35ca,cursors:_0x550389})=>{const _0x431a64=_0x246730;this[_0x431a64(0x1e2)](),_0x4a35ca&&this[_0x431a64(0x1b5)](_0x4a35ca,_0x550389);}),this[_0x246730(0x288)][_0x246730(0x31a)][_0x246730(0x235)](_0xc333db=>{const _0x2b7c60=_0x246730;if(_0xc333db==null)return;const {skeleton:_0x38a88f}=_0xc333db,{scene:_0x72974f}=this[_0x2b7c60(0x299)];_0x72974f['onPointerMove$'][_0x2b7c60(0x26c)](_0x342523['debounce'](_0x1f6c15=>{const _0x1e32cc=_0x2b7c60;var _0x514184,_0x141944;const {offsetX:_0x301432,offsetY:_0x37f76d}=_0x1f6c15,{x:_0xb97a5b,y:_0x65ee36}=_0x72974f[_0x1e32cc(0xcc)](_0x4f2644['Vector2']['FromArray']([_0x301432,_0x37f76d])),{scaleX:_0x2b207d,scaleY:_0xfb6fcc}=_0x72974f[_0x1e32cc(0x29a)](),_0x1ec237=_0x72974f[_0x1e32cc(0x111)](_0x4f2644[_0x1e32cc(0x1b4)][_0x1e32cc(0xea)]),_0x18cea2=_0x72974f[_0x1e32cc(0x234)](_0x4f2644['Vector2'][_0x1e32cc(0x153)]([_0xb97a5b,_0x65ee36]),_0x1ec237),_0x310596=_0x38a88f['getCellPositionByOffset'](_0x301432,_0x37f76d,_0x2b207d,_0xfb6fcc,_0x18cea2);((_0x514184=this[_0x1e32cc(0x1a9)])==null?void 0x0:_0x514184[_0x1e32cc(0x19d)])===_0x310596[_0x1e32cc(0x19d)]&&((_0x141944=this[_0x1e32cc(0x1a9)])==null?void 0x0:_0x141944[_0x1e32cc(0x15b)])===_0x310596[_0x1e32cc(0x15b)]||this[_0x1e32cc(0xbb)][_0x1e32cc(0xda)](_0x33e8a0=>{const _0x138f87=_0x1e32cc;_0x33e8a0[_0x138f87(0x33e)](_0x310596);});},0x64));});}[_0x367cbb(0x1b5)](_0x4192e6,_0x53fdee){const _0x7cc9ed=_0x367cbb;var _0x16e6ee;const _0x4855ba=(_0x16e6ee=this[_0x7cc9ed(0x288)][_0x7cc9ed(0x2af)]())==null?void 0x0:_0x16e6ee[_0x7cc9ed(0xb2)];if(!_0x4855ba)return;const _0x1a6afa=this[_0x7cc9ed(0x106)]();if(!_0x1a6afa)return;this[_0x7cc9ed(0xbb)]['forEach'](_0x1de027=>{_0x1de027['makeDirty']();});const {scene:_0x20e3c9}=_0x1a6afa,_0x280b9c=_0x51727b(Array[_0x7cc9ed(0x10a)](_0x53fdee[_0x7cc9ed(0x2a0)]()))[_0x7cc9ed(0x2d8)](_0x7ebd40=>{const _0x59d19d=_0x7cc9ed,{color:_0x37af23,range:_0x3e6fff,name:_0x552a5d,selection:_0x25c9ab,sheetID:_0x3629f9}=_0x7ebd40,{startColumn:_0x11d48d,startRow:_0x2d8ec5,endColumn:_0x50ddcb,endRow:_0x227c0f}=_0x3e6fff,_0x1300fb=_0x30f08e['getCoordByCell'](_0x2d8ec5,_0x11d48d,_0x20e3c9,_0x4855ba),_0x478c70=_0x30f08e[_0x59d19d(0x335)](_0x227c0f,_0x50ddcb,_0x20e3c9,_0x4855ba),{columnHeaderHeightAndMarginTop:_0x235e43}=_0x4855ba,{startX:_0x47dd4f,startY:_0x2e883f}=_0x1300fb,{endX:_0x4b6b06,endY:_0x47e1f1}=_0x478c70,_0x13b940=_0x4b6b06-_0x47dd4f,_0x1adcf3=_0x47e1f1-_0x2e883f,_0x328aa5={'labelPosition':_0x2e883f-_0x235e43>=_0x3631d8?_0x59d19d(0xbd):_0x59d19d(0x295),'sheetID':_0x3629f9,'range':_0x3e6fff,'color':_0x37af23,'name':_0x552a5d,'selection':_0x25c9ab,'left':_0x47dd4f,'top':_0x2e883f,'width':_0x13b940,'height':_0x1adcf3,'evented':!0x1,'zIndex':_0x4504eb};return new _0x527f26(_0x552a5d,_0x328aa5);});_0x20e3c9[_0x7cc9ed(0x25a)](_0x280b9c,_0x21b239),this[_0x7cc9ed(0xbb)]=new Set(_0x280b9c);}[_0x367cbb(0x1e2)](){const _0x2c1cbe=_0x367cbb;var _0x1ebe29;(_0x1ebe29=this['_cursors'])==null||_0x1ebe29[_0x2c1cbe(0xda)](_0x1e755e=>_0x1e755e[_0x2c1cbe(0x273)]());}['_getSheetObject'](){const _0x4f4a53=_0x367cbb;return _0x30f08e[_0x4f4a53(0x134)](this[_0x4f4a53(0x299)]['unit'],this[_0x4f4a53(0x299)]);}};_0xc69c2=_0x59a125([_0x23f892(0x1,_0x342523[_0x367cbb(0x314)](_0x30f08e[_0x367cbb(0x2ef)])),_0x23f892(0x2,_0x342523['Inject'](_0x411473)),_0x23f892(0x3,_0x342523[_0x367cbb(0x314)](_0x342523['ThemeService']))],_0xc69c2);function _0x51727b(_0x59350b){const _0x5db6f1=_0x367cbb,_0x2d902e=new Map();return _0x59350b['forEach'](_0x570df3=>{const _0x2e896a=_0x2f7c;if(_0x2d902e[_0x2e896a(0x374)](_0x570df3['selection'])){const _0x252ceb=_0x2d902e[_0x2e896a(0x1da)](_0x570df3['selection']);_0x252ceb[_0x2e896a(0x1cc)]+=',\x20'+_0x570df3['name'];}else _0x2d902e[_0x2e896a(0xbc)](_0x570df3[_0x2e896a(0x1c2)],_0x570df3);}),Array[_0x5db6f1(0x10a)](_0x2d902e[_0x5db6f1(0x2a0)]());}var _0x3a3255=Object[_0x367cbb(0x114)],_0x592c3a=(_0x2584ef,_0x414779,_0x37c9f7,_0x1875a4)=>{for(var _0x40f41a=_0x1875a4>0x1?void 0x0:_0x1875a4?_0x3a3255(_0x414779,_0x37c9f7):_0x414779,_0x3bc333=_0x2584ef['length']-0x1,_0x61fbe0;_0x3bc333>=0x0;_0x3bc333--)(_0x61fbe0=_0x2584ef[_0x3bc333])&&(_0x40f41a=_0x61fbe0(_0x40f41a)||_0x40f41a);return _0x40f41a;},_0x5cdcbe=(_0x1ea26d,_0xfd71fa)=>(_0x2801e0,_0x49bc45)=>_0xfd71fa(_0x2801e0,_0x49bc45,_0x1ea26d);let _0x5ef912=class extends _0x342523[_0x367cbb(0x1ee)]{constructor(_0x432389,_0x59a256,_0x25c191,_0x1a23ba,_0x35ac1d,_0x5ab31f){const _0x4b94d8=_0x367cbb;super(),this['_beforeCloseService']=_0x432389,this['_localCacheService']=_0x59a256,this[_0x4b94d8(0x21f)]=_0x25c191,this[_0x4b94d8(0x1de)]=_0x1a23ba,this[_0x4b94d8(0x13c)]=_0x35ac1d,this[_0x4b94d8(0x32c)]=_0x5ab31f,this['_setupBeforeClosingHandler'](),this[_0x4b94d8(0x136)]();}[_0x367cbb(0xaf)](){const _0x103e85=_0x367cbb;this[_0x103e85(0x262)](this['_beforeCloseService'][_0x103e85(0x332)](()=>{const _0x142117=_0x103e85;if(this[_0x142117(0xce)][_0x142117(0x349)][_0x142117(0xe5)])return this['_localeService']['t'](_0x142117(0x36e));}));}[_0x367cbb(0x136)](){const _0x2848ec=_0x367cbb;this['disposeWithMe'](this['_collaborationUIEventService'][_0x2848ec(0x270)]['subscribe'](_0x36dcb9=>{const _0x22d846=_0x2848ec;_0x36dcb9['id']===_0x1909e3['CollaborationUIEventId'][_0x22d846(0xc9)]&&this[_0x22d846(0x1de)][_0x22d846(0x1ab)]({'type':_0x1c8890[_0x22d846(0x344)][_0x22d846(0x258)],'content':this[_0x22d846(0x32c)]['t']('collaboration.single-unit.warning')}),_0x36dcb9['id']===_0x1909e3[_0x22d846(0x329)][_0x22d846(0xd6)]&&this[_0x22d846(0x1de)][_0x22d846(0x1ab)]({'type':_0x1c8890['MessageType'][_0x22d846(0x258)],'content':this[_0x22d846(0x32c)]['t'](_0x22d846(0x281))}),_0x36dcb9['id']===_0x1909e3['CollaborationUIEventId'][_0x22d846(0xbe)]&&this[_0x22d846(0x13c)]['show']({'title':this[_0x22d846(0x32c)]['t'](_0x22d846(0x24b)),'content':this[_0x22d846(0x32c)]['t']('permission.content'),'type':'error','duration':0x0}),_0x36dcb9['id']===_0x1909e3['CollaborationUIEventId']['CONFLICT']&&this[_0x22d846(0x1de)]['show']({'type':_0x1c8890['MessageType'][_0x22d846(0x317)],'content':this[_0x22d846(0x32c)]['t'](_0x22d846(0x281))+'('+_0x36dcb9[_0x22d846(0x1ae)]+')'}),_0x36dcb9['id']===_0x1909e3[_0x22d846(0x329)][_0x22d846(0xf0)]&&this['_messageService']['show']({'type':_0x1c8890[_0x22d846(0x344)][_0x22d846(0x258)],'content':this['_localeService']['t'](_0x36dcb9['data']||'')}),_0x36dcb9['id']===_0x1909e3['CollaborationUIEventId'][_0x22d846(0xcf)]&&this[_0x22d846(0x1de)][_0x22d846(0x1ab)]({'type':_0x1c8890[_0x22d846(0x344)][_0x22d846(0x258)],'content':this[_0x22d846(0x32c)]['t']('session.will-retry')}),_0x36dcb9['id']===_0x1909e3['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x22d846(0x1de)][_0x22d846(0x1ab)]({'type':_0x1c8890[_0x22d846(0x344)][_0x22d846(0x317)],'content':this[_0x22d846(0x32c)]['t']('session.connection-failed')}),_0x36dcb9['id']===_0x1909e3[_0x22d846(0x329)][_0x22d846(0x19e)]&&this[_0x22d846(0x1de)][_0x22d846(0x1ab)]({'type':_0x1c8890[_0x22d846(0x344)][_0x22d846(0x317)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x5ef912=_0x592c3a([_0x5cdcbe(0x0,_0x2f8bb3['IBeforeCloseService']),_0x5cdcbe(0x1,_0x1909e3[_0x367cbb(0x236)]),_0x5cdcbe(0x2,_0x342523['Inject'](_0x1909e3[_0x367cbb(0x214)])),_0x5cdcbe(0x3,_0x2f8bb3[_0x367cbb(0x394)]),_0x5cdcbe(0x4,_0x2f8bb3[_0x367cbb(0x390)]),_0x5cdcbe(0x5,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x1d0)]))],_0x5ef912);var _0x2a67b7=Object['getOwnPropertyDescriptor'],_0x421d41=(_0x1f0b62,_0x1f51aa,_0xf94f05,_0x35a59a)=>{const _0x647ffa=_0x367cbb;for(var _0x129342=_0x35a59a>0x1?void 0x0:_0x35a59a?_0x2a67b7(_0x1f51aa,_0xf94f05):_0x1f51aa,_0x57a7a2=_0x1f0b62[_0x647ffa(0x131)]-0x1,_0x1e41b0;_0x57a7a2>=0x0;_0x57a7a2--)(_0x1e41b0=_0x1f0b62[_0x57a7a2])&&(_0x129342=_0x1e41b0(_0x129342)||_0x129342);return _0x129342;},_0x16d8fd=(_0x3e50fc,_0x2e6673)=>(_0x535946,_0x2711f7)=>_0x2e6673(_0x535946,_0x2711f7,_0x3e50fc);let _0x1a10e2=class extends _0x342523[_0x367cbb(0x1ee)]{constructor(_0x3a7524,_0x22ec8e,_0x39712f,_0x4f0187){const _0x11a664=_0x367cbb;super(),_0x55b886(this,'_memberID'),(this[_0x11a664(0x200)]=_0x3a7524,this[_0x11a664(0x14d)]=_0x22ec8e,this['_logService']=_0x39712f,this['_collaborationSessionService']=_0x4f0187,this['_init']());}[_0x367cbb(0x33b)](){const _0x56dd66=_0x367cbb;this[_0x56dd66(0x266)](),this['_initUnhandledRejectionListener'](),this[_0x56dd66(0x291)](),this[_0x56dd66(0x1d4)]();}[_0x367cbb(0x1d4)](){const _0x13f4fc=_0x367cbb;this['disposeWithMe'](this[_0x13f4fc(0xaa)][_0x13f4fc(0xbf)][_0x13f4fc(0x235)](_0x41a3a1=>{const _0x4dba3e=_0x13f4fc;this[_0x4dba3e(0x31b)]=_0x41a3a1==null?void 0x0:_0x41a3a1[_0x4dba3e(0x38d)];}));}['_initWindowErrorListener'](){const _0x2879fb=_0x367cbb,_0x60f519=_0x2b081d=>{const _0x468532=_0x2f7c;var _0x4e0b18;this[_0x468532(0x385)](_0x468532(0x267),_0x468532(0x239)+_0x2b081d[_0x468532(0x25d)]+'\x20at\x20'+_0x2b081d[_0x468532(0x161)]+':'+_0x2b081d[_0x468532(0x185)]+':'+_0x2b081d['colno']+'\x0a'+(((_0x4e0b18=_0x2b081d[_0x468532(0x267)])==null?void 0x0:_0x4e0b18[_0x468532(0x305)])||''));};window[_0x2879fb(0x285)](_0x2879fb(0x267),_0x60f519),this['disposeWithMe'](()=>{const _0x3f8415=_0x2879fb;window[_0x3f8415(0x104)]('error',_0x60f519);});}[_0x367cbb(0x10c)](){const _0x2f8507=_0x367cbb,_0xf9078c=_0x4cc458=>{const _0x42cc39=_0x2f7c;this[_0x42cc39(0x385)](_0x42cc39(0x267),_0x42cc39(0x1ba)+_0x4cc458[_0x42cc39(0xe8)]);};window[_0x2f8507(0x285)](_0x2f8507(0x316),_0xf9078c),this[_0x2f8507(0x262)](()=>{const _0x5dea21=_0x2f8507;window[_0x5dea21(0x104)](_0x5dea21(0x316),_0xf9078c);});}['_monkeyPatchLogService'](){const _0x2f5d28=_0x367cbb,_0x2c7cc6=this['_logService']['error'][_0x2f5d28(0x336)](this[_0x2f5d28(0x1c5)]);this['_logService'][_0x2f5d28(0x267)]=(..._0x33cdaa)=>{const _0x5acc17=_0x2f5d28,_0x47aea9=_0x33cdaa['map'](_0x46d0f3=>_0x46d0f3 instanceof Error?_0x46d0f3[_0x5acc17(0x25d)]+'\x0a'+_0x46d0f3[_0x5acc17(0x305)]:String(_0x46d0f3))[_0x5acc17(0x10d)]('\x20');this[_0x5acc17(0x385)](_0x5acc17(0x267),_0x5acc17(0x26b)+_0x47aea9),_0x2c7cc6(..._0x33cdaa);},this[_0x2f5d28(0x262)](()=>{const _0x33528b=_0x2f5d28;this[_0x33528b(0x1c5)]['error']=_0x2c7cc6;});}[_0x367cbb(0x385)](_0x38ffed,_0x3bca29){const _0x142d6d=_0x367cbb;try{const _0xf1f7d9={'userId':this['_memberID'],'logLabel':_0x38ffed,'content':_0x3bca29};this[_0x142d6d(0x14d)][_0x142d6d(0x28a)](_0x142d6d(0x210),{'body':_0xf1f7d9})[_0x142d6d(0xa4)](()=>{});}catch{}}};_0x1a10e2=_0x421d41([_0x16d8fd(0x0,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x16d8fd(0x1,_0x342523[_0x367cbb(0x314)](_0x21c8cf[_0x367cbb(0x22e)])),_0x16d8fd(0x2,_0x342523[_0x367cbb(0x302)]),_0x16d8fd(0x3,_0x342523[_0x367cbb(0x314)](_0x1909e3[_0x367cbb(0x144)]))],_0x1a10e2);const _0x37307e=_0x367cbb(0x209),_0x2612a7={};var _0x5ee6c4=Object[_0x367cbb(0x114)],_0x40a271=(_0x26e1c2,_0x1892d3,_0x42b00a,_0x46fb8b)=>{const _0x2a0f40=_0x367cbb;for(var _0xd55ddf=_0x46fb8b>0x1?void 0x0:_0x46fb8b?_0x5ee6c4(_0x1892d3,_0x42b00a):_0x1892d3,_0x38fd0a=_0x26e1c2[_0x2a0f40(0x131)]-0x1,_0x29030a;_0x38fd0a>=0x0;_0x38fd0a--)(_0x29030a=_0x26e1c2[_0x38fd0a])&&(_0xd55ddf=_0x29030a(_0xd55ddf)||_0xd55ddf);return _0xd55ddf;},_0x3c6d92=(_0x7c28c2,_0x4c9c00)=>(_0x7ec143,_0x4e1d36)=>_0x4c9c00(_0x7ec143,_0x4e1d36,_0x7c28c2);let _0xfab60f=class{constructor(_0x52c7d8,_0x5f5d30){const _0x1728f8=_0x367cbb;this[_0x1728f8(0x186)]=_0x52c7d8,this[_0x1728f8(0x1a1)]=_0x5f5d30;}['transformIMECache'](_0x35f304){const _0x54d3c2=_0x367cbb;this[_0x54d3c2(0x1ec)](_0x35f304),this[_0x54d3c2(0x110)](_0x35f304);}[_0x367cbb(0x16f)](_0x2dc760){const _0x51ade1=_0x367cbb,{unitID:_0x586523}=_0x2dc760,_0x45fcdc=this[_0x51ade1(0x1a1)][_0x51ade1(0x103)](_0x586523)[_0x51ade1(0x274)](_0x594bd5[_0x51ade1(0x165)]),{redoCache:_0x3947c6}=_0x45fcdc[_0x51ade1(0x120)]();if(_0x3947c6[_0x51ade1(0x131)]===0x0)return _0x2dc760;let _0x50feb7=_0x342523[_0x51ade1(0x37f)]['deepClone'](_0x2dc760[_0x51ade1(0xfb)][0x0]);for(let _0x32e7f1=0x0;_0x32e7f1<_0x3947c6[_0x51ade1(0x131)];_0x32e7f1++){const _0x4d867a={'id':_0x51ade1(0x37a),'params':{..._0x3947c6[_0x32e7f1]}},_0x14f339=this['_transformService'][_0x51ade1(0x1a6)](_0x50feb7,_0x4d867a,!0x1);if(_0x5165ed[_0x51ade1(0x248)](_0x14f339))throw _0x14f339[_0x51ade1(0x267)];_0x50feb7=_0x14f339['m1Prime'];}return{..._0x342523['Tools'][_0x51ade1(0x202)](_0x2dc760),'mutations':[_0x50feb7]};}['_transformUndoRedoStack'](_0x2a1c0c){const _0x5ac339=_0x367cbb,{unitID:_0x2d57a0}=_0x2a1c0c,_0x233abd=this[_0x5ac339(0x1a1)][_0x5ac339(0x103)](_0x2d57a0)[_0x5ac339(0x274)](_0x594bd5[_0x5ac339(0x165)]),{undoCache:_0x465e85,redoCache:_0x308c03}=_0x233abd[_0x5ac339(0x120)]();if(_0x465e85[_0x5ac339(0x131)]===0x0||_0x308c03[_0x5ac339(0x131)]===0x0)return;const _0x559505=[],_0x578f8f=[];let _0x1e31ed=_0x342523[_0x5ac339(0x37f)][_0x5ac339(0x202)](_0x2a1c0c['mutations'][0x0]),_0x3b3df2=_0x342523[_0x5ac339(0x37f)][_0x5ac339(0x202)](_0x2a1c0c['mutations'][0x0]);for(let _0x13628d=_0x465e85[_0x5ac339(0x131)]-0x1;_0x13628d>=0x0;_0x13628d--){const _0x3f2963={'id':_0x5ac339(0x37a),'params':{..._0x465e85[_0x13628d]}},_0x272a2a={'id':_0x5ac339(0x37a),'params':{..._0x308c03[_0x13628d]}},_0x10388f=this['_transformService'][_0x5ac339(0x1a6)](_0x1e31ed,_0x3f2963,!0x1),_0x48a5b3=this[_0x5ac339(0x186)][_0x5ac339(0x1a6)](_0x3b3df2,_0x272a2a,!0x1);if(_0x5165ed[_0x5ac339(0x248)](_0x10388f))throw _0x10388f[_0x5ac339(0x267)];if(_0x5165ed[_0x5ac339(0x248)](_0x48a5b3))throw _0x48a5b3['error'];_0x559505['unshift'](_0x10388f['m2Prime'][_0x5ac339(0x2e8)]),_0x578f8f[_0x5ac339(0x372)](_0x48a5b3[_0x5ac339(0x2c1)][_0x5ac339(0x2e8)]),_0x1e31ed=_0x10388f[_0x5ac339(0xeb)],_0x3b3df2=_0x48a5b3[_0x5ac339(0xeb)];}_0x233abd['setUndoRedoMutationParamsCache']({'undoCache':_0x559505,'redoCache':_0x578f8f});}['_transformPreviousActiveRange'](_0x1507ae){const _0x3088bc=_0x367cbb,{unitID:_0xfc1848}=_0x1507ae,_0x3d97de=this[_0x3088bc(0x1a1)][_0x3088bc(0x103)](_0xfc1848)[_0x3088bc(0x274)](_0x594bd5[_0x3088bc(0x165)]),_0x2ec477=_0x3d97de[_0x3088bc(0x1bb)]();if(_0x2ec477==null)return;const _0x4c04c1=[{'id':_0x3088bc(0x37a),'params':{'unitId':_0x1507ae[_0x3088bc(0x1f7)],'actions':null,'textRanges':[_0x2ec477]}}],_0x865136=this[_0x3088bc(0x186)][_0x3088bc(0x33d)](_0x1507ae,_0x4c04c1);if(!_0x5165ed[_0x3088bc(0x25e)](_0x865136))throw _0x865136[_0x3088bc(0x267)];const _0x3bf995=_0x865136[_0x3088bc(0x2c1)][0x0][_0x3088bc(0x2e8)][_0x3088bc(0x309)];Array[_0x3088bc(0x175)](_0x3bf995)&&_0x3bf995[_0x3088bc(0x131)]&&_0x3d97de[_0x3088bc(0x152)](_0x3bf995[0x0]);}};_0xfab60f=_0x40a271([_0x3c6d92(0x0,_0x5165ed[_0x367cbb(0x2ba)]),_0x3c6d92(0x1,_0x4f2644[_0x367cbb(0x313)])],_0xfab60f);var _0x1140db=Object['getOwnPropertyDescriptor'],_0x7f85bd=(_0x467703,_0x1eabf4,_0x35551b,_0x2dbb2b)=>{const _0x3d9ac4=_0x367cbb;for(var _0x4dff21=_0x2dbb2b>0x1?void 0x0:_0x2dbb2b?_0x1140db(_0x1eabf4,_0x35551b):_0x1eabf4,_0x119ddf=_0x467703[_0x3d9ac4(0x131)]-0x1,_0xe0cb96;_0x119ddf>=0x0;_0x119ddf--)(_0xe0cb96=_0x467703[_0x119ddf])&&(_0x4dff21=_0xe0cb96(_0x4dff21)||_0x4dff21);return _0x4dff21;},_0x297422=(_0x345169,_0x56ede4)=>(_0xc6c751,_0x34b841)=>_0x56ede4(_0xc6c751,_0x34b841,_0x345169);let _0x1d6947=class{constructor(_0x50ed8,_0x41bab6,_0x154fc3){const _0x505a3b=_0x367cbb;this['_injector']=_0x50ed8,this['_transformService']=_0x41bab6,this[_0x505a3b(0x25c)]=_0x154fc3;}[_0x367cbb(0x19c)](_0x43cfa5){const _0x223c12=_0x367cbb;this[_0x223c12(0x14a)](_0x43cfa5);}[_0x367cbb(0x16f)](_0x2f7da9){const _0x2737ed=_0x367cbb,{unitID:_0x4e7dd9}=_0x2f7da9,{collaboration:_0x3ca20e}=this['_docStateChangeManagerService'][_0x2737ed(0x298)](_0x4e7dd9);if(_0x3ca20e[_0x2737ed(0x131)]===0x0)return _0x2f7da9;let _0x25cbaf=_0x342523[_0x2737ed(0x37f)]['deepClone'](_0x2f7da9[_0x2737ed(0xfb)][0x0]);for(let _0x35b22d=0x0;_0x35b22d<_0x3ca20e[_0x2737ed(0x131)];_0x35b22d++){const _0x4bd93e={'id':_0x2737ed(0x37a),'params':{'unitId':_0x3ca20e[_0x35b22d][_0x2737ed(0x29f)],..._0x3ca20e[_0x35b22d]['redoState']}},_0x3ad24f=this[_0x2737ed(0x186)]['transformMutation'](_0x25cbaf,_0x4bd93e,!0x1);if(_0x5165ed[_0x2737ed(0x248)](_0x3ad24f))throw _0x3ad24f[_0x2737ed(0x267)];_0x25cbaf=_0x3ad24f[_0x2737ed(0xeb)];}return{..._0x342523['Tools'][_0x2737ed(0x202)](_0x2f7da9),'mutations':[_0x25cbaf]};}['_transformHistoryAndStateStack'](_0x1d4c9d){const _0x227666=_0x367cbb,{unitID:_0x36bddb}=_0x1d4c9d,{history:_0x3167d4,collaboration:_0x1594a7}=this[_0x227666(0x25c)][_0x227666(0x298)](_0x36bddb);if(_0x3167d4[_0x227666(0x131)]===0x0&&_0x1594a7[_0x227666(0x131)]===0x0)return;const _0x422075=[],_0x2bf4b4=[];let _0x49b88f=_0x342523[_0x227666(0x37f)][_0x227666(0x202)](_0x1d4c9d[_0x227666(0xfb)][0x0]),_0x33122b=_0x342523[_0x227666(0x37f)][_0x227666(0x202)](_0x1d4c9d[_0x227666(0xfb)][0x0]);for(let _0x3be21d=_0x3167d4['length']-0x1;_0x3be21d>=0x0;_0x3be21d--){const _0x374a31={'id':_0x227666(0x37a),'params':{'unitId':_0x3167d4[_0x3be21d]['unitId'],..._0x3167d4[_0x3be21d][_0x227666(0x23a)]}},_0x328ad3={'id':_0x227666(0x37a),'params':{'unitId':_0x3167d4[_0x3be21d][_0x227666(0x29f)],..._0x3167d4[_0x3be21d][_0x227666(0x252)]}},_0x3123ef=this['_transformService'][_0x227666(0x1a6)](_0x49b88f,_0x374a31,!0x1),_0x1d78e4=this[_0x227666(0x186)]['transformMutation'](_0x33122b,_0x328ad3,!0x1);if(_0x5165ed[_0x227666(0x248)](_0x3123ef))throw _0x3123ef[_0x227666(0x267)];if(_0x5165ed[_0x227666(0x248)](_0x1d78e4))throw _0x1d78e4['error'];_0x422075['unshift']({..._0x3167d4[_0x3be21d],'undoState':_0x3123ef[_0x227666(0x2c1)][_0x227666(0x2e8)],'redoState':_0x1d78e4['m2Prime'][_0x227666(0x2e8)]}),_0x49b88f=_0x3123ef['m1Prime'],_0x33122b=_0x1d78e4[_0x227666(0xeb)];}_0x49b88f=_0x342523[_0x227666(0x37f)][_0x227666(0x202)](_0x1d4c9d[_0x227666(0xfb)][0x0]),_0x33122b=_0x342523[_0x227666(0x37f)][_0x227666(0x202)](_0x1d4c9d[_0x227666(0xfb)][0x0]);for(let _0x15ff44=_0x1594a7[_0x227666(0x131)]-0x1;_0x15ff44>=0x0;_0x15ff44--){const _0x8ed989={'id':_0x227666(0x37a),'params':{'unitId':_0x1594a7[_0x15ff44][_0x227666(0x29f)],..._0x1594a7[_0x15ff44][_0x227666(0x23a)]}},_0x294a16={'id':_0x227666(0x37a),'params':{'unitId':_0x1594a7[_0x15ff44][_0x227666(0x29f)],..._0x1594a7[_0x15ff44][_0x227666(0x252)]}},_0x2b6c57=this[_0x227666(0x186)]['transformMutation'](_0x49b88f,_0x8ed989,!0x1),_0x15eec8=this[_0x227666(0x186)][_0x227666(0x1a6)](_0x33122b,_0x294a16,!0x1);if(_0x5165ed[_0x227666(0x248)](_0x2b6c57))throw _0x2b6c57[_0x227666(0x267)];if(_0x5165ed['isTransformMutationFailure'](_0x15eec8))throw _0x15eec8[_0x227666(0x267)];_0x2bf4b4['unshift']({..._0x1594a7[_0x15ff44],'undoState':_0x2b6c57[_0x227666(0x2c1)][_0x227666(0x2e8)],'redoState':_0x15eec8[_0x227666(0x2c1)]['params']}),_0x49b88f=_0x2b6c57[_0x227666(0xeb)],_0x33122b=_0x15eec8[_0x227666(0xeb)];}this[_0x227666(0x25c)]['setStateCache'](_0x36bddb,{'history':_0x422075,'collaboration':_0x2bf4b4});}};_0x1d6947=_0x7f85bd([_0x297422(0x0,_0x342523['Inject'](_0x342523[_0x367cbb(0x20a)])),_0x297422(0x1,_0x5165ed[_0x367cbb(0x2ba)]),_0x297422(0x2,_0x342523['Inject'](_0x594bd5['DocStateChangeManagerService']))],_0x1d6947);var _0x1a05c5=Object['getOwnPropertyDescriptor'],_0x12de75=(_0x2db2aa,_0x3076bc,_0x46884a,_0x47151e)=>{const _0x11f450=_0x367cbb;for(var _0x3609f6=_0x47151e>0x1?void 0x0:_0x47151e?_0x1a05c5(_0x3076bc,_0x46884a):_0x3076bc,_0x3a8853=_0x2db2aa[_0x11f450(0x131)]-0x1,_0x179a34;_0x3a8853>=0x0;_0x3a8853--)(_0x179a34=_0x2db2aa[_0x3a8853])&&(_0x3609f6=_0x179a34(_0x3609f6)||_0x3609f6);return _0x3609f6;},_0x36a325=(_0x200c2b,_0x359788)=>(_0x2aec4d,_0x2c1ff8)=>_0x359788(_0x2aec4d,_0x2c1ff8,_0x200c2b);let _0x1cc493=class{constructor(_0x307f25,_0x2c27b2){const _0x210bd=_0x367cbb;this[_0x210bd(0x200)]=_0x307f25,this[_0x210bd(0x186)]=_0x2c27b2;}[_0x367cbb(0x321)](_0x4da946){const _0x2c04cb=_0x367cbb;var _0xfaabc5;const _0x398829=this[_0x2c04cb(0x200)][_0x2c04cb(0x1da)](_0x56104d[_0x2c04cb(0x1a0)]),_0x541520=(_0xfaabc5=_0x398829['getDocRanges']())!=null?_0xfaabc5:[];if(_0x541520[_0x2c04cb(0x131)]===0x0)return;const _0x1d104b=_0x4da946[_0x2c04cb(0x1f7)],_0x40e865=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d104b,'actions':null,'textRanges':_0x541520}}],_0x1ae6fc=this[_0x2c04cb(0x186)][_0x2c04cb(0x33d)](_0x4da946,_0x40e865);if(!_0x5165ed[_0x2c04cb(0x25e)](_0x1ae6fc))throw _0x1ae6fc[_0x2c04cb(0x267)];const _0x892985=_0x1ae6fc[_0x2c04cb(0x2c1)][0x0][_0x2c04cb(0x2e8)]['textRanges'];Array[_0x2c04cb(0x175)](_0x892985)&&_0x892985['length']&&_0x398829[_0x2c04cb(0x2e9)](_0x892985,{'unitId':_0x1d104b,'subUnitId':_0x1d104b},!0x1);}};_0x1cc493=_0x12de75([_0x36a325(0x0,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x36a325(0x1,_0x5165ed[_0x367cbb(0x2ba)])],_0x1cc493);var _0x114753=Object[_0x367cbb(0x114)],_0x2f4d5d=(_0x33bdc0,_0x24a8cd,_0x124aa4,_0x1b20cd)=>{for(var _0x1f91f1=_0x1b20cd>0x1?void 0x0:_0x1b20cd?_0x114753(_0x24a8cd,_0x124aa4):_0x24a8cd,_0x18e784=_0x33bdc0['length']-0x1,_0x264e4f;_0x18e784>=0x0;_0x18e784--)(_0x264e4f=_0x33bdc0[_0x18e784])&&(_0x1f91f1=_0x264e4f(_0x1f91f1)||_0x1f91f1);return _0x1f91f1;},_0x84cc7=(_0x4c819d,_0x536b77)=>(_0x246a29,_0x15c2c2)=>_0x536b77(_0x246a29,_0x15c2c2,_0x4c819d);let _0x55db2a=class extends _0x342523[_0x367cbb(0x1ee)]{constructor(_0x2df6c7,_0x2eb293,_0x5551cd,_0xba4a41,_0x175ab8,_0xec00c1,_0x38232e,_0x1d5467){const _0x4c5cf0=_0x367cbb;super(),_0x55b886(this,_0x4c5cf0(0x130),new _0x1196b5[(_0x4c5cf0(0x19a))](_0x1909e3[_0x4c5cf0(0x126)]['NOT_COLLAB'])),(this[_0x4c5cf0(0x25c)]=_0x2df6c7,this[_0x4c5cf0(0x1b3)]=_0x2eb293,this['_docTransformIMECacheService']=_0x5551cd,this[_0x4c5cf0(0x272)]=_0xba4a41,this[_0x4c5cf0(0x2f5)]=_0x175ab8,this[_0x4c5cf0(0x34c)]=_0xec00c1,this[_0x4c5cf0(0x1de)]=_0x38232e,this[_0x4c5cf0(0x32c)]=_0x1d5467,this['_initEntityListener']());}[_0x367cbb(0xb1)](){const _0x39a704=_0x367cbb;this[_0x39a704(0x262)](this['_collaborationController'][_0x39a704(0x260)][_0x39a704(0x235)](_0x958c58=>{const _0x3d6317=_0x39a704,_0x377e96=this[_0x3d6317(0x25c)]['docStateChange$'][_0x3d6317(0x235)](_0x23289c=>{const _0x3cf347=_0x3d6317;if(_0x23289c==null)return;const {unitId:_0x3e12d9,redoState:_0x326864,commandId:_0x58b96b}=_0x23289c;if(_0x3e12d9!==_0x958c58[_0x3cf347(0x1f7)])return;const _0x9fd0bf={'id':_0x58b96b,'type':_0x342523[_0x3cf347(0x341)]['MUTATION'],'params':{'unitId':_0x3e12d9,'actions':_0x326864['actions'],'textRanges':null}};_0x958c58[_0x3cf347(0x233)](_0x9fd0bf);});if(_0x958c58[_0x3d6317(0x262)](_0x377e96),_0x958c58 instanceof _0x1909e3[_0x3d6317(0x1c1)]){const _0x5ed3c8={'onTransformIME':_0x14b5db=>this[_0x3d6317(0x16e)]['transformIMECache'](_0x14b5db),'onTransformState':_0x4b5778=>this['_docTransformStateCacheService'][_0x3d6317(0x19c)](_0x4b5778),'onTransformSelections':_0x4345e2=>this[_0x3d6317(0x2f5)]['transformSelections'](_0x4345e2),'onSyncEditingCollabCursor':_0x35fa72=>this[_0x3d6317(0x34c)][_0x3d6317(0x16b)](_0x35fa72),'onTransformRemoteChangesetByIMECache':_0x52f470=>this[_0x3d6317(0x16e)]['transformRemoteChangeset'](_0x52f470),'onTransformRemoteChangesetByStateCache':_0x3a730c=>this[_0x3d6317(0x272)][_0x3d6317(0x16f)](_0x3a730c)};_0x958c58['addHandlerCallback'](_0x5ed3c8);}}));}};_0x55db2a=_0x2f4d5d([_0x84cc7(0x0,_0x342523[_0x367cbb(0x314)](_0x594bd5[_0x367cbb(0x2cb)])),_0x84cc7(0x1,_0x342523[_0x367cbb(0x314)](_0x1909e3[_0x367cbb(0x2cd)])),_0x84cc7(0x2,_0x342523[_0x367cbb(0x314)](_0xfab60f)),_0x84cc7(0x3,_0x342523[_0x367cbb(0x314)](_0x1d6947)),_0x84cc7(0x4,_0x342523[_0x367cbb(0x314)](_0x1cc493)),_0x84cc7(0x5,_0x342523[_0x367cbb(0x314)](_0x1fd0b9)),_0x84cc7(0x6,_0x2f8bb3[_0x367cbb(0x394)]),_0x84cc7(0x7,_0x342523[_0x367cbb(0x314)](_0x342523['LocaleService']))],_0x55db2a);var _0x248fde=(_0x10830b=>(_0x10830b[_0x10830b[_0x367cbb(0x118)]=0x0]=_0x367cbb(0x118),_0x10830b[_0x10830b['OK']=0x1]='OK',_0x10830b[_0x10830b['INTERNAL_ERROR']=0x2]=_0x367cbb(0x365),_0x10830b[_0x10830b[_0x367cbb(0xbe)]=0x3]=_0x367cbb(0xbe),_0x10830b[_0x10830b[_0x367cbb(0x17d)]=0x4]=_0x367cbb(0x17d),_0x10830b[_0x10830b['UNAUTHENTICATED']=0x5]=_0x367cbb(0x133),_0x10830b[_0x10830b['ALREADY_EXISTS']=0x6]=_0x367cbb(0x2a7),_0x10830b[_0x10830b[_0x367cbb(0x1e1)]=0x7]='INVALID_ARGUMENT',_0x10830b[_0x10830b[_0x367cbb(0x11e)]=0x8]=_0x367cbb(0x11e),_0x10830b[_0x10830b[_0x367cbb(0x381)]=0x9]=_0x367cbb(0x381),_0x10830b[_0x10830b['LOGIN_FAILED']=0xa]=_0x367cbb(0x2d6),_0x10830b[_0x10830b[_0x367cbb(0x173)]=0xb]=_0x367cbb(0x173),_0x10830b[_0x10830b[_0x367cbb(0xb6)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10830b[_0x10830b[_0x367cbb(0x22a)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x10830b[_0x10830b[_0x367cbb(0xc7)]=0xe]=_0x367cbb(0xc7),_0x10830b[_0x10830b['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x367cbb(0x187),_0x10830b[_0x10830b[_0x367cbb(0x20f)]=0x10]=_0x367cbb(0x20f),_0x10830b[_0x10830b[_0x367cbb(0x345)]=0x64]=_0x367cbb(0x345),_0x10830b[_0x10830b[_0x367cbb(0x1ff)]=0x65]=_0x367cbb(0x1ff),_0x10830b[_0x10830b[_0x367cbb(0x243)]=0xc9]=_0x367cbb(0x243),_0x10830b[_0x10830b[_0x367cbb(0x220)]=0xca]='USER_IS_ANONYMOUS',_0x10830b[_0x10830b[_0x367cbb(0x397)]=0x1389]=_0x367cbb(0x397),_0x10830b[_0x10830b[_0x367cbb(0x2a8)]=0x1771]=_0x367cbb(0x2a8),_0x10830b[_0x10830b[_0x367cbb(0x386)]=0x1772]=_0x367cbb(0x386),_0x10830b[_0x10830b[_0x367cbb(0xe0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x10830b[_0x10830b[_0x367cbb(0x315)]=0x1b59]=_0x367cbb(0x315),_0x10830b[_0x10830b[_0x367cbb(0x223)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x10830b[_0x10830b['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x10830b[_0x10830b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x367cbb(0x247),_0x10830b[_0x10830b['APPLY_DUPLICATED']=0x1b5d]=_0x367cbb(0x2e6),_0x10830b[_0x10830b[_0x367cbb(0x2bb)]=0x1f41]=_0x367cbb(0x2bb),_0x10830b[_0x10830b[_0x367cbb(0x30c)]=0x2329]=_0x367cbb(0x30c),_0x10830b[_0x10830b[_0x367cbb(0x183)]=0x232a]=_0x367cbb(0x183),_0x10830b[_0x10830b[_0x367cbb(0x1a2)]=0x232b]=_0x367cbb(0x1a2),_0x10830b[_0x10830b[_0x367cbb(0x1d2)]=0x232c]=_0x367cbb(0x1d2),_0x10830b[_0x10830b[_0x367cbb(0x26f)]=0x232d]=_0x367cbb(0x26f),_0x10830b[_0x10830b['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x10830b[_0x10830b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x367cbb(0x170),_0x10830b[_0x10830b['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x10830b[_0x10830b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x367cbb(0x24c),_0x10830b[_0x10830b[_0x367cbb(0x346)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x10830b[_0x10830b[_0x367cbb(0x172)]=0x271b]=_0x367cbb(0x172),_0x10830b[_0x10830b[_0x367cbb(0x2f3)]=0x271c]=_0x367cbb(0x2f3),_0x10830b[_0x10830b[_0x367cbb(0xde)]=0x271d]=_0x367cbb(0xde),_0x10830b[_0x10830b[_0x367cbb(0x230)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x10830b[_0x10830b['YUUMI_AI_RUN_FAILED']=0x271f]=_0x367cbb(0x180),_0x10830b[_0x10830b[_0x367cbb(0x337)]=0x2720]=_0x367cbb(0x337),_0x10830b[_0x10830b[_0x367cbb(0x14e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x10830b[_0x10830b[_0x367cbb(0x375)]=0x2ee1]=_0x367cbb(0x375),_0x10830b[_0x10830b[_0x367cbb(0x15e)]=0x2ee2]='INVALID_INVITE_CODE',_0x10830b[_0x10830b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x367cbb(0x2fa),_0x10830b[_0x10830b[_0x367cbb(0x2ec)]=0x2ee4]=_0x367cbb(0x2ec),_0x10830b[_0x10830b[_0x367cbb(0x1f2)]=0x2ee5]=_0x367cbb(0x1f2),_0x10830b[_0x10830b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x367cbb(0x149),_0x10830b[_0x10830b['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x367cbb(0x2a4),_0x10830b[_0x10830b[_0x367cbb(0x157)]=0x32cb]=_0x367cbb(0x157),_0x10830b[_0x10830b[_0x367cbb(0x293)]=0x36b1]=_0x367cbb(0x293),_0x10830b[_0x10830b[_0x367cbb(0x2fb)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x10830b[_0x10830b[_0x367cbb(0x188)]=0x36b3]=_0x367cbb(0x188),_0x10830b[_0x10830b[_0x367cbb(0x268)]=0x36b4]=_0x367cbb(0x268),_0x10830b[_0x10830b[_0x367cbb(0x2c3)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x10830b[_0x10830b[_0x367cbb(0x16d)]=0x36b6]=_0x367cbb(0x16d),_0x10830b[_0x10830b['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x10830b[_0x10830b[_0x367cbb(0xad)]=0x36b8]=_0x367cbb(0xad),_0x10830b[_0x10830b[_0x367cbb(0x1d6)]=0x3715]=_0x367cbb(0x1d6),_0x10830b[_0x10830b['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x367cbb(0x1c3),_0x10830b[_0x10830b[_0x367cbb(0x368)]=0x3717]=_0x367cbb(0x368),_0x10830b[_0x10830b['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x367cbb(0x11f),_0x10830b[_0x10830b[_0x367cbb(0xd4)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x10830b[_0x10830b[_0x367cbb(0x347)]=0x3a9a]=_0x367cbb(0x347),_0x10830b[_0x10830b[_0x367cbb(0x27f)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x10830b[_0x10830b['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x367cbb(0x2b3),_0x10830b[_0x10830b[_0x367cbb(0x2b8)]=0x3a9d]=_0x367cbb(0x2b8),_0x10830b[_0x10830b[_0x367cbb(0x1f1)]=0x3a9e]=_0x367cbb(0x1f1),_0x10830b[_0x10830b[_0x367cbb(0x2ac)]=0x3a9f]=_0x367cbb(0x2ac),_0x10830b[_0x10830b['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x367cbb(0x30a),_0x10830b[_0x10830b[_0x367cbb(0x1f4)]=-0x1]=_0x367cbb(0x1f4),_0x10830b))(_0x248fde||{});function _0x34fb0d(_0x31df5f){const _0xaf64ee=_0x367cbb;var _0x34d310,_0x2b81a8;const _0x2e54ba=(_0x34d310=_0x31df5f[_0xaf64ee(0x2e5)])==null?void 0x0:_0x34d310[_0xaf64ee(0x330)],_0x69fec5=((_0x2b81a8=_0x31df5f['stageInfo'])==null?void 0x0:_0x2b81a8[_0xaf64ee(0x102)])||0x0;return _0x2e54ba===_0x25bdde[_0xaf64ee(0x393)][_0xaf64ee(0x282)]&&_0x69fec5>0x0;}function _0x1cc2ea(_0x5d8bf1){const _0x12e12d=_0x367cbb;return _0x5d8bf1[_0x12e12d(0x2bf)]===_0x25bdde[_0x12e12d(0x1e8)]['SUCCESS'];}var _0x20e9cf=Object[_0x367cbb(0x114)],_0x32a1c3=(_0x1c0168,_0x52fd02,_0x344bee,_0x47a431)=>{const _0x1824e4=_0x367cbb;for(var _0x3b638d=_0x47a431>0x1?void 0x0:_0x47a431?_0x20e9cf(_0x52fd02,_0x344bee):_0x52fd02,_0x1126a9=_0x1c0168[_0x1824e4(0x131)]-0x1,_0x33df10;_0x1126a9>=0x0;_0x1126a9--)(_0x33df10=_0x1c0168[_0x1126a9])&&(_0x3b638d=_0x33df10(_0x3b638d)||_0x3b638d);return _0x3b638d;},_0x405a64=(_0x38c6ef,_0x3d0ad9)=>(_0x1397a4,_0x5b32b7)=>_0x3d0ad9(_0x1397a4,_0x5b32b7,_0x38c6ef);const _0x3c3364=_0x367cbb(0x1fd),_0x5b6709=_0x367cbb(0x11c),_0x3365f1=_0x367cbb(0x1d8);let _0x2471ab=class extends _0x342523[_0x367cbb(0x1ee)]{constructor(_0x43c45d,_0x421eed,_0x16714b,_0x2aab63,_0xfedd89,_0x4e3442,_0x20a3c7){const _0x3e9a36=_0x367cbb;super(),_0x55b886(this,_0x3e9a36(0x184),null),_0x55b886(this,_0x3e9a36(0xe1),0x0),_0x55b886(this,_0x3e9a36(0xdd),0x0),_0x55b886(this,'_taskIds',[]),_0x55b886(this,_0x3e9a36(0x1b8),0x0),(this[_0x3e9a36(0x1de)]=_0x43c45d,this[_0x3e9a36(0x1bf)]=_0x421eed,this[_0x3e9a36(0x286)]=_0x16714b,this[_0x3e9a36(0x14d)]=_0x2aab63,this[_0x3e9a36(0x31f)]=_0xfedd89,this[_0x3e9a36(0x1c5)]=_0x4e3442,this[_0x3e9a36(0x32c)]=_0x20a3c7,this[_0x3e9a36(0x13b)]());}[_0x367cbb(0x13b)](){const _0x3f7c10=_0x367cbb;this[_0x3f7c10(0x262)](this[_0x3f7c10(0x1bf)][_0x3f7c10(0xdc)]((_0x499e35,_0x300a74)=>{const _0x19cf46=_0x3f7c10;var _0x6b3fb6;if(_0x499e35['id']!==_0x25bdde[_0x19cf46(0x166)]['id'])return;const _0x295719=_0x499e35[_0x19cf46(0x2e8)];if(!this[_0x19cf46(0x306)]((_0x6b3fb6=_0x295719[_0x19cf46(0x383)])!=null?_0x6b3fb6:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x499e35,_0x300a74),this[_0x19cf46(0xe6)](),new _0x342523['CanceledError']();})),this[_0x3f7c10(0x262)](this['_commandService'][_0x3f7c10(0x28e)]((_0x273534,_0x138cc4)=>{const _0x449548=_0x3f7c10;if(_0x273534['id']!==_0x25bdde[_0x449548(0x2ce)]['id'])return;const _0x109271=_0x273534[_0x449548(0x2e8)];if(_0x34fb0d(_0x109271)){const _0x53ce47=_0x342523[_0x449548(0x352)]();this[_0x449548(0x174)][_0x449548(0x380)](_0x53ce47),this['_startCalculationLimit'](_0x53ce47);}else{if(_0x1cc2ea(_0x109271)&&this['_taskIds'][_0x449548(0x131)]>0x0){const _0xc0d1c0=this['_taskIds'][_0x449548(0x226)]();this[_0x449548(0x2cc)](_0xc0d1c0);}}}));}[_0x367cbb(0x273)](){const _0x418166=_0x367cbb;super['dispose'](),this['_clearPolling'](),this[_0x418166(0x174)]=[],this[_0x418166(0xdd)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x418166(0x1b8)]=0x0;}async[_0x367cbb(0x2d3)](_0x11bd4d,_0x58c39b){const _0x3e191b=_0x367cbb;for(let _0x254d25=0x0;_0x254d25<0x1e;_0x254d25++)try{if(await this[_0x3e191b(0x1dd)](),this['_checkCalculationAvailable']()){this[_0x3e191b(0x377)](_0x11bd4d,_0x58c39b),this[_0x3e191b(0x1de)][_0x3e191b(0x1ab)]({'content':this['_localeService']['t'](_0x3e191b(0x357)),'type':_0x1c8890[_0x3e191b(0x344)][_0x3e191b(0x38c)]});return;}await new Promise(_0x14422a=>{const _0x33ff96=_0x3e191b;this[_0x33ff96(0x184)]=window[_0x33ff96(0x212)](_0x14422a,0x3e8);});}catch(_0x4e5b3f){this['_logService']['error'](_0x4e5b3f);}this[_0x3e191b(0x1de)]['show']({'content':this[_0x3e191b(0x32c)]['t']('formula.calculation.unable'),'type':_0x1c8890['MessageType'][_0x3e191b(0x317)]});}[_0x367cbb(0x377)](_0x4d7550,_0x1f98b7){const _0x31073e=_0x367cbb;try{this[_0x31073e(0x1bf)][_0x31073e(0x13e)](_0x4d7550['id'],_0x4d7550[_0x31073e(0x2e8)],_0x1f98b7);}catch(_0xabc8ea){this[_0x31073e(0x1c5)][_0x31073e(0x267)](_0xabc8ea);}}['_setFormulaLimitStatus'](_0x1bc586,_0x4214b6){const _0x528814=_0x367cbb;_0x4214b6<this[_0x528814(0x1b8)]||(this[_0x528814(0x1b8)]=_0x4214b6,this[_0x528814(0xe1)]=Number[_0x528814(0x2cf)](_0x1bc586[_0x528814(0x21e)]),this[_0x528814(0xdd)]=Number['parseInt'](_0x1bc586[_0x528814(0x182)]));}async[_0x367cbb(0x1db)](_0x2142fc){const _0xef8f35=_0x367cbb;var _0x105b28,_0x5c84ea;const _0x1c9ec4=Date[_0xef8f35(0x20b)]();try{const _0x350221=((_0x105b28=this[_0xef8f35(0x286)][_0xef8f35(0x100)](_0x1909e3[_0xef8f35(0x1f9)]))==null?void 0x0:_0x105b28[_0xef8f35(0x37d)])||_0x5b6709,_0x324602=(await this[_0xef8f35(0x14d)]['post'](_0x350221,{'body':JSON[_0xef8f35(0x2c9)]({'taskId':_0x2142fc})}))[_0xef8f35(0x2d2)];if(((_0x5c84ea=_0x324602[_0xef8f35(0x267)])==null?void 0x0:_0x5c84ea['code'])!==_0x248fde['OK'])return;this['_setFormulaLimitStatus'](_0x324602[_0xef8f35(0x1dc)],_0x1c9ec4);}catch(_0x16955c){this[_0xef8f35(0x1c5)][_0xef8f35(0x267)](_0x16955c);}}async[_0x367cbb(0x1dd)](_0x53b5a3){const _0x332342=_0x367cbb;var _0xe79b62,_0x1e621a;const _0x541d0c=Date[_0x332342(0x20b)]();try{const _0x4b5efc=((_0xe79b62=this[_0x332342(0x286)]['getConfig'](_0x1909e3['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xe79b62[_0x332342(0x28b)])||_0x3c3364,_0x115f28=_0x53b5a3?_0x4b5efc+_0x332342(0xd7)+encodeURIComponent(_0x53b5a3):_0x4b5efc,_0x3e53ef=(await this[_0x332342(0x14d)][_0x332342(0x1da)](_0x115f28))[_0x332342(0x2d2)];if(((_0x1e621a=_0x3e53ef[_0x332342(0x267)])==null?void 0x0:_0x1e621a[_0x332342(0x17f)])!==_0x248fde['OK'])return;this[_0x332342(0x216)](_0x3e53ef[_0x332342(0x1dc)],_0x541d0c);}catch(_0x519f0d){this[_0x332342(0x1c5)]['error'](_0x519f0d);}}async[_0x367cbb(0x2cc)](_0x36b8b3){const _0x442b4c=_0x367cbb;var _0x4fdb75,_0x1b1668;const _0x124a3a=Date[_0x442b4c(0x20b)]();try{const _0x26c095=((_0x4fdb75=this[_0x442b4c(0x286)][_0x442b4c(0x100)](_0x1909e3[_0x442b4c(0x1f9)]))==null?void 0x0:_0x4fdb75[_0x442b4c(0x14b)])||_0x3365f1,_0x505001=(await this[_0x442b4c(0x14d)][_0x442b4c(0x28a)](_0x26c095,{'body':JSON['stringify']({'taskId':_0x36b8b3})}))[_0x442b4c(0x2d2)];if(((_0x1b1668=_0x505001[_0x442b4c(0x267)])==null?void 0x0:_0x1b1668[_0x442b4c(0x17f)])!==_0x248fde['OK'])return;this['_setFormulaLimitStatus'](_0x505001[_0x442b4c(0x1dc)],_0x124a3a);}catch(_0x15f3db){this[_0x442b4c(0x1c5)]['error'](_0x15f3db);}}[_0x367cbb(0x356)](){const _0x59514b=_0x367cbb;return this[_0x59514b(0xe1)]===0x0?!0x0:this[_0x59514b(0xe1)]-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x33ca37=_0x367cbb;this['_pollingInterval']&&(clearTimeout(this[_0x33ca37(0x184)]),this[_0x33ca37(0x184)]=null);}[_0x367cbb(0xe6)](){const _0x33e8e3=_0x367cbb;this[_0x33e8e3(0x1de)][_0x33e8e3(0x1ab)]({'content':this[_0x33e8e3(0x32c)]['t'](_0x33e8e3(0x353)),'type':_0x1c8890[_0x33e8e3(0x344)][_0x33e8e3(0x122)]});}[_0x367cbb(0x306)](_0x26c517){const _0x1b1ab8=_0x367cbb;for(const _0xb0a3ff of _0x26c517){const {unitId:_0x1f24ab,sheetId:_0x38dbb4,range:_0xc6d63e}=_0xb0a3ff,_0x30ffd1=this[_0x1b1ab8(0x31f)][_0x1b1ab8(0x196)](_0x1f24ab);if(!_0x30ffd1)continue;const _0x80a3d2=_0x30ffd1[_0x1b1ab8(0xf4)](_0x38dbb4);if(!_0x80a3d2)continue;const _0x11f2ae=_0x80a3d2[_0x1b1ab8(0x191)]();for(let _0x3a7c73=_0xc6d63e[_0x1b1ab8(0x255)];_0x3a7c73<=_0xc6d63e[_0x1b1ab8(0xf7)];_0x3a7c73++)for(let _0x1fc41a=_0xc6d63e[_0x1b1ab8(0x197)];_0x1fc41a<=_0xc6d63e[_0x1b1ab8(0x278)];_0x1fc41a++){const _0x17c4a9=_0x11f2ae['getValue'](_0x3a7c73,_0x1fc41a);if(_0x17c4a9&&(_0x342523[_0x1b1ab8(0x319)](_0x17c4a9['f'])||_0x342523['isFormulaId'](_0x17c4a9['si'])))return!0x0;}}return!0x1;}};_0x2471ab=_0x32a1c3([_0x405a64(0x0,_0x342523[_0x367cbb(0x314)](_0x2f8bb3[_0x367cbb(0x394)])),_0x405a64(0x1,_0x342523[_0x367cbb(0x301)]),_0x405a64(0x2,_0x342523['IConfigService']),_0x405a64(0x3,_0x342523['Inject'](_0x21c8cf[_0x367cbb(0x22e)])),_0x405a64(0x4,_0x342523[_0x367cbb(0x379)]),_0x405a64(0x5,_0x342523[_0x367cbb(0x302)]),_0x405a64(0x6,_0x342523['Inject'](_0x342523['LocaleService']))],_0x2471ab);var _0x3ca00e=Object[_0x367cbb(0x114)],_0x3e1328=(_0x3a88c3,_0x2192a9,_0x25d07e,_0x2f5e47)=>{for(var _0x4d0564=_0x2f5e47>0x1?void 0x0:_0x2f5e47?_0x3ca00e(_0x2192a9,_0x25d07e):_0x2192a9,_0x5df7e9=_0x3a88c3['length']-0x1,_0x392c46;_0x5df7e9>=0x0;_0x5df7e9--)(_0x392c46=_0x3a88c3[_0x5df7e9])&&(_0x4d0564=_0x392c46(_0x4d0564)||_0x4d0564);return _0x4d0564;},_0x2e093c=(_0x40fb00,_0x3d92b3)=>(_0x5c88a5,_0x30c2a8)=>_0x3d92b3(_0x5c88a5,_0x30c2a8,_0x40fb00);let _0x15c90f=class extends _0x342523[_0x367cbb(0x1ee)]{constructor(_0x52f158,_0x231506,_0x2553f3){const _0x2b230f=_0x367cbb;super(),_0x55b886(this,_0x2b230f(0x203),new Map()),_0x55b886(this,_0x2b230f(0x322),new Map()),_0x55b886(this,_0x2b230f(0x1ef),!0x1),(this['_configService']=_0x52f158,this[_0x2b230f(0x221)]=_0x231506,this[_0x2b230f(0xd1)]=_0x2553f3);}['disableLocalCache'](){const _0x86b212=_0x367cbb;this[_0x86b212(0x1ef)]=!0x0;}[_0x367cbb(0x361)](){const _0x27cf67=_0x367cbb;this[_0x27cf67(0x1ef)]=!0x1;}get[_0x367cbb(0x349)](){return this['_saveTaskMap'];}[_0x367cbb(0x273)](){const _0x195b4c=_0x367cbb;this[_0x195b4c(0x22b)]()[_0x195b4c(0x2c6)](()=>super[_0x195b4c(0x273)]());}async[_0x367cbb(0x128)](_0x48e860){const _0x3e9cd9=_0x367cbb;return this[_0x3e9cd9(0x1ef)]?null:this[_0x3e9cd9(0x221)][_0x3e9cd9(0x27b)](_0x1909e3[_0x3e9cd9(0xf3)](_0x48e860));}async[_0x367cbb(0x34d)](_0x649513,_0x39ede6){const _0x526b80=_0x367cbb;return!!this[_0x526b80(0x221)][_0x526b80(0x11d)](_0x649513,_0x39ede6);}['updateOfflineData'](_0x15920b,_0x30807c,_0x4685b6,_0x54cff1){const _0x5cd8dd=_0x367cbb,_0x5c0096=this[_0x5cd8dd(0xd1)]['getCurrentRevOfUnit'](_0x15920b);this['_cachedData'][_0x5cd8dd(0xbc)](_0x15920b,{'unitID':_0x15920b,'type':_0x30807c,'awaitingChangeset':_0x4685b6,'mutations':_0x54cff1,'rev':_0x5c0096}),this['_saveTaskMap']['has'](_0x15920b)||this['_scheduleSaving'](_0x15920b);}[_0x367cbb(0x2a6)](_0x25d21e){const _0x1b5b64=_0x367cbb,_0x1574ca=this[_0x1b5b64(0x1c4)]();_0x1574ca===0x0?this['_saveCache'](_0x25d21e):this['_saveTaskMap']['set'](_0x25d21e,setTimeout(()=>this[_0x1b5b64(0x2eb)](_0x25d21e),_0x1574ca));}['_getSaveTimeout'](){const _0x20393c=_0x367cbb;var _0x53f69e;return(_0x53f69e=this['_configService'][_0x20393c(0x100)](_0x1909e3[_0x20393c(0x23f)]))!=null?_0x53f69e:_0x1909e3[_0x20393c(0x23c)];}[_0x367cbb(0x2eb)](_0x1e816a){const _0x1ec73e=_0x367cbb,_0x2b5b08=this[_0x1ec73e(0x322)][_0x1ec73e(0x1da)](_0x1e816a);return _0x2b5b08!==void 0x0&&window[_0x1ec73e(0x1d3)](_0x2b5b08),this[_0x1ec73e(0x221)][_0x1ec73e(0x11d)](_0x1909e3['getLocalCacheKey'](_0x1e816a),this[_0x1ec73e(0x203)]['get'](_0x1e816a))[_0x1ec73e(0x2c6)](()=>this[_0x1ec73e(0x322)][_0x1ec73e(0x18c)](_0x1e816a));}async['exhaustSavingTask'](){const _0x179bd5=_0x367cbb,_0x323507=[];this[_0x179bd5(0x322)][_0x179bd5(0xda)]((_0x11bcb0,_0x383546)=>{const _0x4a94f0=_0x179bd5;window[_0x4a94f0(0x1d3)](_0x11bcb0),_0x323507[_0x4a94f0(0x380)](this[_0x4a94f0(0x2eb)](_0x383546)[_0x4a94f0(0x2c6)](()=>{const _0x10cc4a=_0x4a94f0;this[_0x10cc4a(0x322)][_0x10cc4a(0x18c)](_0x383546);}));}),await Promise[_0x179bd5(0x35a)](_0x323507);}};_0x15c90f=_0x3e1328([_0x2e093c(0x0,_0x342523['IConfigService']),_0x2e093c(0x1,_0x342523[_0x367cbb(0x215)]),_0x2e093c(0x2,_0x342523[_0x367cbb(0x314)](_0x5165ed[_0x367cbb(0x275)]))],_0x15c90f);class _0x406d78 extends _0x342523['RxDisposable']{constructor(){const _0x50507c=_0x367cbb;super(),_0x55b886(this,_0x50507c(0x2d7)),this[_0x50507c(0x2d7)]=_0x1196b5[_0x50507c(0x307)](window,_0x50507c(0x155))[_0x50507c(0x1fc)](_0x1196b5[_0x50507c(0xa8)](this[_0x50507c(0x195)]),_0x1196b5[_0x50507c(0x26d)](0x1),_0x1196b5[_0x50507c(0x1f3)](void 0x0));}[_0x367cbb(0xdf)](_0x16cb8f,_0x4438a0,_0x404e31=!0x1){const _0x12de7a=_0x367cbb,_0x3d3835=new URL(window['location']['href']);_0x3d3835[_0x12de7a(0x2a5)][_0x12de7a(0xbc)](_0x16cb8f,_0x4438a0),_0x404e31?window['history'][_0x12de7a(0x30d)]('','',_0x3d3835[_0x12de7a(0x21b)]()):window[_0x12de7a(0x1fa)][_0x12de7a(0x137)]('','',_0x3d3835[_0x12de7a(0x21b)]());}[_0x367cbb(0x2f6)](_0x576f53,_0x4c773e=!0x1){const _0x1f4809=_0x367cbb,_0x10f044=new URL(window[_0x1f4809(0x108)][_0x1f4809(0x218)]);_0x10f044[_0x1f4809(0x2a5)]['delete'](_0x576f53),_0x4c773e?window[_0x1f4809(0x1fa)][_0x1f4809(0x30d)]('','',_0x10f044[_0x1f4809(0x21b)]()):window[_0x1f4809(0x1fa)][_0x1f4809(0x137)]('','',_0x10f044[_0x1f4809(0x21b)]());}[_0x367cbb(0xa5)](_0x10bd40){const _0x433522=_0x367cbb;var _0x599b26;return(_0x599b26=new URL(window['location']['href'])['searchParams'][_0x433522(0x1da)](_0x10bd40))!=null?_0x599b26:void 0x0;}}var _0x3adf45=Object[_0x367cbb(0x2c2)],_0x9fb7bd=Object[_0x367cbb(0x114)],_0x193cee=(_0x460fc5,_0x469828,_0x54aa67)=>_0x469828 in _0x460fc5?_0x3adf45(_0x460fc5,_0x469828,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54aa67}):_0x460fc5[_0x469828]=_0x54aa67,_0x210b52=(_0x38e4e9,_0xd194b0,_0x7915c6,_0x154ed6)=>{const _0x250d65=_0x367cbb;for(var _0x525e61=_0x154ed6>0x1?void 0x0:_0x154ed6?_0x9fb7bd(_0xd194b0,_0x7915c6):_0xd194b0,_0x49f745=_0x38e4e9[_0x250d65(0x131)]-0x1,_0x16821e;_0x49f745>=0x0;_0x49f745--)(_0x16821e=_0x38e4e9[_0x49f745])&&(_0x525e61=_0x16821e(_0x525e61)||_0x525e61);return _0x525e61;},_0x3711fe=(_0xecd849,_0x2dc291)=>(_0x407992,_0x29a3c4)=>_0x2dc291(_0x407992,_0x29a3c4,_0xecd849),_0x20ac68=(_0xdb3645,_0x22f902,_0x17d26f)=>_0x193cee(_0xdb3645,_0x22f902+'',_0x17d26f);const _0x21a5d6=_0x367cbb(0xab);_0x5a3025[_0x367cbb(0x334)]=class extends _0x342523[_0x367cbb(0x29e)]{constructor(_0x5abb30=_0x2612a7,_0x27d870,_0x571e6c,_0x3e311f){const _0x4ec94f=_0x367cbb;super(),this['_config']=_0x5abb30,this['_renderManagerService']=_0x27d870,this[_0x4ec94f(0x200)]=_0x571e6c,this['_configService']=_0x3e311f;const {..._0xe0b8}=_0x342523['merge']({},_0x2612a7,this[_0x4ec94f(0x29d)]);this[_0x4ec94f(0x286)][_0x4ec94f(0x264)](_0x37307e,_0xe0b8);}['onStarting'](){const _0x1cefa2=_0x367cbb;this[_0x1cefa2(0x1e0)](),this[_0x1cefa2(0x355)]();}[_0x367cbb(0x250)](){const _0x56e677=_0x367cbb;this[_0x56e677(0x34a)]();}[_0x367cbb(0x1e0)](){const _0x5c7c61=_0x367cbb;var _0x3e90de;const _0x2450ea=[[_0x556477],[_0x2471ab],[_0x1cc493],[_0xfab60f],[_0x1d6947],[_0x1fd0b9],[_0x5b726e,{'useClass':_0x406d78}],[_0x21c8cf[_0x5c7c61(0x31c)],{'useClass':_0x21c8cf[_0x5c7c61(0x25b)]}],[_0x1909e3['ILocalCacheService'],{'useClass':_0x15c90f}],[_0x5a3025[_0x5c7c61(0x17e)]],[_0x55db2a],[_0x5ef912],[_0x411473],[_0x6ac21d],[_0x5a3025[_0x5c7c61(0x15a)]]];this['_config']['enableFrontendLog']&&_0x2450ea[_0x5c7c61(0x380)]([_0x1a10e2]),_0x342523['registerDependencies'](this[_0x5c7c61(0x200)],_0x342523[_0x5c7c61(0x16a)](_0x2450ea,(_0x3e90de=this[_0x5c7c61(0x29d)])==null?void 0x0:_0x3e90de['override']));}[_0x367cbb(0x34a)](){const _0x23508c=_0x367cbb;this[_0x23508c(0x262)](this[_0x23508c(0x1a1)][_0x23508c(0xb9)](_0x342523[_0x23508c(0x20e)][_0x23508c(0x2bc)],[_0x4fa3d3])),this[_0x23508c(0x262)](this[_0x23508c(0x1a1)]['registerRenderModule'](_0x342523[_0x23508c(0x20e)][_0x23508c(0x370)],[_0xc69c2]));}[_0x367cbb(0x355)](){const _0x7c5272=_0x367cbb;_0x342523[_0x7c5272(0xc3)](this['_injector'],[[_0x411473],[_0x5a3025['DesktopCollaborationStatusDisplayController']],[_0x55db2a],[_0x5ef912],[_0x5a3025['CollaborationDataLoaderController']],[_0x2471ab]]),this['_config'][_0x7c5272(0x1a8)]&&_0x342523[_0x7c5272(0xc3)](this['_injector'],[[_0x1a10e2]]);}},_0x20ac68(_0x5a3025[_0x367cbb(0x334)],_0x367cbb(0x2e0),_0x21a5d6),_0x5a3025[_0x367cbb(0x334)]=_0x210b52([_0x342523['DependentOn'](_0x1909e3[_0x367cbb(0x276)]),_0x3711fe(0x1,_0x4f2644[_0x367cbb(0x313)]),_0x3711fe(0x2,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x3711fe(0x3,_0x342523[_0x367cbb(0x14c)])],_0x5a3025[_0x367cbb(0x334)]);var _0x3ff757=Object[_0x367cbb(0x114)],_0x5d0267=(_0x21f5e7,_0x4017bd,_0xe9476e,_0x1cbb82)=>{const _0x1c22c8=_0x367cbb;for(var _0x37bc53=_0x1cbb82>0x1?void 0x0:_0x1cbb82?_0x3ff757(_0x4017bd,_0xe9476e):_0x4017bd,_0x1ee867=_0x21f5e7[_0x1c22c8(0x131)]-0x1,_0x561770;_0x1ee867>=0x0;_0x1ee867--)(_0x561770=_0x21f5e7[_0x1ee867])&&(_0x37bc53=_0x561770(_0x37bc53)||_0x37bc53);return _0x37bc53;},_0x4a88b2=(_0x111182,_0x2bb3a2)=>(_0x5f4236,_0x131858)=>_0x2bb3a2(_0x5f4236,_0x131858,_0x111182);_0x5a3025[_0x367cbb(0x1a7)]=class extends _0x1909e3[_0x367cbb(0x171)]{constructor(_0x500c9f,_0x16b244,_0x1b143e,_0x62243c,_0x559ecc){super(_0x500c9f,_0x16b244,_0x1b143e,_0x62243c,_0x559ecc);}async['createSocket'](_0x3e82d1){const _0x3c0b06=_0x367cbb,_0x136c93=await this[_0x3c0b06(0x138)](),_0x5afe06=this['_createSocketURL'](_0x3e82d1,_0x136c93);return this[_0x3c0b06(0xb4)](_0x5afe06);}[_0x367cbb(0x2d4)](_0x4edee9,_0x49a6e3){const _0x1f0eed=_0x367cbb,_0x1994b5=typeof window>'u'?new URL(_0x4edee9):new URL(_0x4edee9,window[_0x1f0eed(0x108)]['origin']);_0x1994b5[_0x1f0eed(0x2a5)][_0x1f0eed(0xbc)](_0x1f0eed(0x123),_0x49a6e3);const _0x3e616c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1f0eed(0x108)][_0x1f0eed(0xf9)]);return _0x3e616c[_0x1f0eed(0x1da)]('runId')&&_0x1994b5[_0x1f0eed(0x2a5)][_0x1f0eed(0xbc)](_0x1f0eed(0x328),_0x3e616c[_0x1f0eed(0x1da)](_0x1f0eed(0x328))),_0x1994b5[_0x1f0eed(0x21b)]();}async[_0x367cbb(0x138)](){const _0xcfa3da=_0x367cbb;var _0x122eb1,_0x2c9831,_0x3d60a9;const _0x43be55=this[_0xcfa3da(0x286)][_0xcfa3da(0x100)](_0x1909e3[_0xcfa3da(0x1f9)]),_0x2e24bc=(_0x122eb1=_0x43be55==null?void 0x0:_0x43be55[_0xcfa3da(0x1f0)])!=null?_0x122eb1:_0x1909e3[_0xcfa3da(0x117)];return(_0x3d60a9=(_0x2c9831=(await this[_0xcfa3da(0x14d)][_0xcfa3da(0x1da)](_0x2e24bc,{'headers':{'Content-Type':_0xcfa3da(0x28c)}}))[_0xcfa3da(0x2d2)])==null?void 0x0:_0x2c9831[_0xcfa3da(0x22f)])!=null?_0x3d60a9:'';}},_0x5a3025['BrowserCollaborationSocketService']=_0x5d0267([_0x4a88b2(0x0,_0x342523[_0x367cbb(0x314)](_0x342523[_0x367cbb(0x20a)])),_0x4a88b2(0x1,_0x342523['Inject'](_0x21c8cf[_0x367cbb(0x22e)])),_0x4a88b2(0x2,_0x342523[_0x367cbb(0x14c)]),_0x4a88b2(0x3,_0x342523['ILogService']),_0x4a88b2(0x4,_0x5165ed[_0x367cbb(0x1cf)])],_0x5a3025[_0x367cbb(0x1a7)]);var _0x174a8a=Object[_0x367cbb(0x114)],_0x3fb9a2=(_0x46d007,_0x2a68d7,_0x277b3d,_0x51c987)=>{for(var _0x54f0a3=_0x51c987>0x1?void 0x0:_0x51c987?_0x174a8a(_0x2a68d7,_0x277b3d):_0x2a68d7,_0x3ea3c4=_0x46d007['length']-0x1,_0x5df60c;_0x3ea3c4>=0x0;_0x3ea3c4--)(_0x5df60c=_0x46d007[_0x3ea3c4])&&(_0x54f0a3=_0x5df60c(_0x54f0a3)||_0x54f0a3);return _0x54f0a3;},_0x349ffb=(_0x4aac51,_0x57d76f)=>(_0x5a1ec4,_0x2ceaf1)=>_0x57d76f(_0x5a1ec4,_0x2ceaf1,_0x4aac51);_0x5a3025[_0x367cbb(0x145)]=class extends _0x342523[_0x367cbb(0x1ee)]{constructor(_0x5218a3,_0x3e28f7,_0x142ebb){const _0x4dba98=_0x367cbb;super(),this['_instanceService']=_0x5218a3,this[_0x4dba98(0x14d)]=_0x3e28f7,this[_0x4dba98(0x286)]=_0x142ebb;}async[_0x367cbb(0x14f)](_0x4051d1,_0x276346,_0x36efb9,..._0x1a67ac){const _0x31e6b7=_0x367cbb;var _0x296192,_0xdc4766,_0x363786,_0x32dcfd;const _0x487ec5=this[_0x31e6b7(0x135)][_0x31e6b7(0x169)]();if(!_0x487ec5)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1505e6=((_0x296192=this['_configService'][_0x31e6b7(0x100)](_0x1909e3[_0x31e6b7(0x168)]))!=null?_0x296192:_0x1909e3[_0x31e6b7(0xf2)])+'/'+_0x4051d1+_0x31e6b7(0x19b)+_0x276346,_0x4be7e2=new URL(window[_0x31e6b7(0x108)][_0x31e6b7(0x218)]),_0x5da643={'scriptId':_0x4051d1,'runId':(_0xdc4766=_0x4be7e2[_0x31e6b7(0x2a5)][_0x31e6b7(0x1da)](_0x31e6b7(0x328)))!=null?_0xdc4766:'','function':_0x276346,'unitId':_0x487ec5['getUnitId'](),'argsOfFunction':JSON[_0x31e6b7(0x2c9)](_0x1a67ac),'invokeId':(_0x363786=_0x36efb9[_0x31e6b7(0x206)])!=null?_0x363786:'','executionId':(_0x32dcfd=_0x36efb9[_0x31e6b7(0x132)])!=null?_0x32dcfd:''};try{const _0x1c23ca=await this[_0x31e6b7(0x14d)][_0x31e6b7(0x28a)](_0x1505e6,{'body':_0x5da643});return _0x1c23ca[_0x31e6b7(0x2d2)][_0x31e6b7(0x267)]&&_0x1c23ca[_0x31e6b7(0x2d2)]['error'][_0x31e6b7(0x17f)]!==_0x248fde['OK']?_0x31e6b7(0x207):_0x1c23ca[_0x31e6b7(0x2d2)][_0x31e6b7(0x265)];}catch{return'Failed';}}},_0x5a3025['RemoteUniscriptService']=_0x3fb9a2([_0x349ffb(0x0,_0x342523[_0x367cbb(0x379)]),_0x349ffb(0x1,_0x342523['Inject'](_0x21c8cf['HTTPService'])),_0x349ffb(0x2,_0x342523[_0x367cbb(0x14c)])],_0x5a3025['RemoteUniscriptService']);const _0x4ff246=0x7530,_0x112545=_0x367cbb(0x224);class _0x1e2bdd extends _0x342523['Disposable']{constructor(){const _0x4b67ea=_0x367cbb;super(),_0x55b886(this,_0x4b67ea(0x148),_0x342523['generateRandomId']()),_0x55b886(this,_0x4b67ea(0x2e2),new Set()),_0x55b886(this,'_unitOnClients',new Map()),_0x55b886(this,_0x4b67ea(0x35f),null),_0x55b886(this,_0x4b67ea(0x33f),new Map()),_0x55b886(this,'_unitStatus',new Map()),this[_0x4b67ea(0x33b)]();}['dispose'](){const _0x443942=_0x367cbb;super[_0x443942(0x273)](),this[_0x443942(0x33f)][_0x443942(0xda)]((_0x5eea4e,_0x40f631)=>this['_removeClearOtherTimer'](_0x40f631)),this[_0x443942(0x35f)]&&window[_0x443942(0xa3)](this[_0x443942(0x35f)]);}[_0x367cbb(0x1c6)](_0x52d148){const _0x59a5e1=_0x367cbb;return this[_0x59a5e1(0x2c8)](_0x52d148)['pipe'](_0x1196b5['distinctUntilChanged']());}[_0x367cbb(0x257)](_0x9142bd){const _0x577582=_0x367cbb;this[_0x577582(0x2e2)][_0x577582(0xe5)]===0x0&&this[_0x577582(0x21d)](),this[_0x577582(0x2e2)][_0x577582(0x10b)](_0x9142bd),this[_0x577582(0x2ab)]({'type':0x0,'memberID':this[_0x577582(0x148)],'unitIDs':[_0x9142bd],'isForwarded':!0x1});}[_0x367cbb(0x179)](_0x2487f6){const _0x4bfaf8=_0x367cbb;this[_0x4bfaf8(0x2e2)][_0x4bfaf8(0x18c)](_0x2487f6),this['_selfUnitIDs'][_0x4bfaf8(0xe5)]===0x0&&this[_0x4bfaf8(0x35f)]&&window[_0x4bfaf8(0xa3)](this[_0x4bfaf8(0x35f)]);}[_0x367cbb(0x33b)](){const _0x24947c=_0x367cbb;this['disposeWithMe'](_0x342523[_0x24947c(0x2d5)](_0x1196b5[_0x24947c(0x307)](window,_0x24947c(0x2ed))[_0x24947c(0x235)](_0x1ee1d2=>{const _0x5a46df=_0x24947c;if(_0x1ee1d2['key']!==_0x112545||!_0x1ee1d2[_0x5a46df(0xef)])return;const _0x3fd938=JSON[_0x5a46df(0x304)](_0x1ee1d2[_0x5a46df(0xef)]);this[_0x5a46df(0x30e)](_0x3fd938);}))),window[_0x24947c(0x285)](_0x24947c(0xf6),()=>this[_0x24947c(0x2ab)]({'type':0x1,'memberID':this[_0x24947c(0x148)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x367cbb(0x30e)](_0x58bc7d){const _0x2bb701=_0x367cbb;switch(_0x58bc7d[_0x2bb701(0xa9)]){case 0x0:this['_handleJoinEvent'](_0x58bc7d);break;case 0x1:this[_0x2bb701(0x2ae)](_0x58bc7d);break;case 0x2:this[_0x2bb701(0xe9)](_0x58bc7d);break;}}[_0x367cbb(0x2a1)](_0x14b7a0){const _0x5ac8ee=_0x367cbb,{unitIDs:_0x438d97,memberID:_0x462803,isForwarded:_0x21711f}=_0x14b7a0;_0x438d97[_0x5ac8ee(0xda)](_0xa0d361=>{const _0x25043b=_0x5ac8ee;if(!_0x21711f&&this[_0x25043b(0x147)][_0x25043b(0x374)](_0xa0d361)&&this[_0x25043b(0x2c8)](_0xa0d361)[_0x25043b(0x339)](_0x1909e3[_0x25043b(0x32e)][_0x25043b(0x1f6)]),!this[_0x25043b(0x147)][_0x25043b(0x374)](_0xa0d361)||!this['_unitOnClients']['get'](_0xa0d361)[_0x25043b(0x374)](_0x462803)){const _0x13e3bb=this[_0x25043b(0x147)][_0x25043b(0x1da)](_0xa0d361)||new Set();_0x13e3bb[_0x25043b(0x10b)](_0x462803),this[_0x25043b(0x147)]['set'](_0xa0d361,_0x13e3bb),this[_0x25043b(0x178)](_0x462803);}}),_0x21711f||this[_0x5ac8ee(0x2ab)]({'type':0x0,'memberID':this[_0x5ac8ee(0x148)],'unitIDs':[...this[_0x5ac8ee(0x2e2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x167293){const _0x47fd55=_0x367cbb;this[_0x47fd55(0x269)](_0x167293);const _0x4ebd80=window[_0x47fd55(0x212)](()=>{const _0x471440=_0x47fd55;this[_0x471440(0x147)][_0x471440(0xda)](_0x1dba07=>{_0x1dba07['delete'](_0x167293);});},_0x4ff246*0x2);this['_clearOtherTimers'][_0x47fd55(0xbc)](_0x167293,_0x4ebd80);}[_0x367cbb(0x269)](_0x2549d7){const _0x3649f8=_0x367cbb;if(this[_0x3649f8(0x33f)][_0x3649f8(0x374)](_0x2549d7)){const _0x7ab99b=this['_clearOtherTimers'][_0x3649f8(0x1da)](_0x2549d7);_0x7ab99b&&window[_0x3649f8(0x1d3)](_0x7ab99b),this[_0x3649f8(0x33f)][_0x3649f8(0xbc)](_0x2549d7,null);}}[_0x367cbb(0x2ae)](_0x41cfcb){const _0x17449b=_0x367cbb,{memberID:_0x259f9e,unitIDs:_0x525cc5}=_0x41cfcb;_0x525cc5['forEach'](_0x3e5bc8=>{const _0x23f5b7=_0x2f7c;var _0x1154f8;const _0x48345f=this[_0x23f5b7(0x147)]['get'](_0x3e5bc8);_0x48345f&&(_0x48345f[_0x23f5b7(0x18c)](_0x259f9e),(_0x1154f8=this['_ensureSubject'](_0x3e5bc8))==null||_0x1154f8[_0x23f5b7(0x339)](_0x48345f['size']===0x0?_0x1909e3[_0x23f5b7(0x32e)][_0x23f5b7(0x1ca)]:_0x1909e3['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x17449b(0x269)](_0x259f9e);}[_0x367cbb(0xe9)](_0x59c0e9){const _0x3211fb=_0x367cbb;this[_0x3211fb(0x178)](_0x59c0e9[_0x3211fb(0x38d)]);}[_0x367cbb(0x2ab)](_0x13caf0){const _0x44ed1b=_0x367cbb;localStorage['setItem'](_0x112545,JSON[_0x44ed1b(0x2c9)](_0x13caf0));}[_0x367cbb(0x21d)](){const _0x1b7f68=_0x367cbb;this[_0x1b7f68(0x35f)]=window['setInterval'](()=>{const _0x5ad565=_0x1b7f68;this[_0x5ad565(0x2ab)]({'type':0x2,'memberID':this['_id']});},_0x4ff246);}[_0x367cbb(0x2c8)](_0x470f6f){const _0x43ba8d=_0x367cbb;return this[_0x43ba8d(0x303)]['has'](_0x470f6f)||this[_0x43ba8d(0x303)][_0x43ba8d(0xbc)](_0x470f6f,new _0x1196b5[(_0x43ba8d(0x19a))](_0x1909e3[_0x43ba8d(0x32e)][_0x43ba8d(0x1ca)])),this[_0x43ba8d(0x303)][_0x43ba8d(0x1da)](_0x470f6f);}}_0x5a3025[_0x367cbb(0x253)]=_0x5b726e,_0x5a3025[_0x367cbb(0xec)]=_0x527f26,_0x5a3025['WebBrowserSingleActiveUnitService']=_0x1e2bdd,_0x5a3025[_0x367cbb(0x36d)]=_0x406d78,Object[_0x367cbb(0x2c2)](_0x5a3025,Symbol[_0x367cbb(0x1b6)],{'value':'Module'});}));