@univerjs-pro/collaboration-client-ui 0.10.10-nightly.202510180327 → 0.10.11-nightly.202510220308

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x34bd42,_0xf12f03){const _0x36af80=_0x4227,_0x52cb0e=_0x34bd42();while(!![]){try{const _0x2ea451=parseInt(_0x36af80(0x217))/0x1+-parseInt(_0x36af80(0x3b5))/0x2+parseInt(_0x36af80(0x191))/0x3+parseInt(_0x36af80(0x30d))/0x4*(parseInt(_0x36af80(0x381))/0x5)+-parseInt(_0x36af80(0x328))/0x6+parseInt(_0x36af80(0x29c))/0x7*(-parseInt(_0x36af80(0x131))/0x8)+-parseInt(_0x36af80(0x394))/0x9;if(_0x2ea451===_0xf12f03)break;else _0x52cb0e['push'](_0x52cb0e['shift']());}catch(_0x472dfe){_0x52cb0e['push'](_0x52cb0e['shift']());}}}(_0x32c6,0x90763),function(_0x375097,_0x4a27fd){const _0x1a796e=_0x4227;typeof exports==_0x1a796e(0x3c6)&&typeof module<'u'?_0x4a27fd(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==_0x1a796e(0x1f5)&&define['amd']?define([_0x1a796e(0x122),_0x1a796e(0x279),_0x1a796e(0x27c),_0x1a796e(0x2cd),'@univerjs/ui',_0x1a796e(0x170),_0x1a796e(0x2a6),_0x1a796e(0x2c9),_0x1a796e(0x337),_0x1a796e(0x2a7),_0x1a796e(0x1cb),_0x1a796e(0x356),_0x1a796e(0x201),_0x1a796e(0x1e5),'@univerjs-pro/collaboration',_0x1a796e(0x1df),_0x1a796e(0x115),'rxjs/operators',_0x1a796e(0x1e3)],_0x4a27fd):(_0x375097=typeof globalThis<'u'?globalThis:_0x375097||self,_0x4a27fd(_0x375097[_0x1a796e(0x3b3)]={},_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x350)],_0x375097[_0x1a796e(0x347)],_0x375097[_0x1a796e(0x2e6)],_0x375097['rxjs'],_0x375097[_0x1a796e(0x20d)],_0x375097[_0x1a796e(0x24f)],_0x375097[_0x1a796e(0x11d)],_0x375097['UniverSheets'],_0x375097[_0x1a796e(0x39c)],_0x375097['UniverNetwork'],_0x375097[_0x1a796e(0x2ba)],_0x375097[_0x1a796e(0x15d)],_0x375097[_0x1a796e(0x29d)],_0x375097[_0x1a796e(0x22d)],_0x375097['UniverEngineFormula'],_0x375097[_0x1a796e(0x170)]['operators'],_0x375097[_0x1a796e(0x2ca)]));}(this,function(_0x4205ba,_0x53f1cd,_0x184317,_0x3f9956,_0x26d040,_0x6aec0,_0x3fc7ae,_0x116b9f,_0x2abcd4,_0x13a368,_0x2dd116,_0x2b426c,_0xa8c85b,_0x386c76,_0x2de7d2,_0x333572,_0x2c79d7,_0x5f224d,_0x52f894){'use strict';const _0x3db0e4=_0x4227;var _0xe93974=Object[_0x3db0e4(0x197)],_0x376bcf=(_0x455d85,_0x581e6c,_0x383223)=>_0x581e6c in _0x455d85?_0xe93974(_0x455d85,_0x581e6c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x383223}):_0x455d85[_0x581e6c]=_0x383223,_0x442022=(_0x374301,_0x2b8340,_0x42e02b)=>_0x376bcf(_0x374301,typeof _0x2b8340!=_0x3db0e4(0x3af)?_0x2b8340+'':_0x2b8340,_0x42e02b),_0xf22670=function(){const _0x105c81=_0x3db0e4;return _0xf22670=Object[_0x105c81(0x15c)]||function(_0x24166e){const _0x18d755=_0x105c81;for(var _0xe17cf8,_0x441ba2=0x1,_0xea10c4=arguments[_0x18d755(0xf8)];_0x441ba2<_0xea10c4;_0x441ba2++){_0xe17cf8=arguments[_0x441ba2];for(var _0x22cafc in _0xe17cf8)Object[_0x18d755(0x187)][_0x18d755(0x26d)][_0x18d755(0x180)](_0xe17cf8,_0x22cafc)&&(_0x24166e[_0x22cafc]=_0xe17cf8[_0x22cafc]);}return _0x24166e;},_0xf22670['apply'](this,arguments);},_0x4d4032=function(_0x2d09ab,_0x11215e){const _0x396c14=_0x3db0e4;var _0xf521c3={};for(var _0x25b9ab in _0x2d09ab)Object['prototype'][_0x396c14(0x26d)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab)&&_0x11215e[_0x396c14(0x329)](_0x25b9ab)<0x0&&(_0xf521c3[_0x25b9ab]=_0x2d09ab[_0x25b9ab]);if(_0x2d09ab!=null&&typeof Object[_0x396c14(0x331)]==_0x396c14(0x1f5)){for(var _0x44bcd3=0x0,_0x25b9ab=Object[_0x396c14(0x331)](_0x2d09ab);_0x44bcd3<_0x25b9ab[_0x396c14(0xf8)];_0x44bcd3++)_0x11215e[_0x396c14(0x329)](_0x25b9ab[_0x44bcd3])<0x0&&Object[_0x396c14(0x187)][_0x396c14(0x265)][_0x396c14(0x180)](_0x2d09ab,_0x25b9ab[_0x44bcd3])&&(_0xf521c3[_0x25b9ab[_0x44bcd3]]=_0x2d09ab[_0x25b9ab[_0x44bcd3]]);}return _0xf521c3;},_0x466f9f=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x23f60c,_0x1f4882){const _0x53e675=_0x3db0e4;var _0x8018a=_0x23f60c[_0x53e675(0x202)],_0x2c5df1=_0x23f60c['id'],_0x166e99=_0x23f60c['className'],_0x2331df=_0x23f60c[_0x53e675(0x15e)],_0xefa2f0=_0x4d4032(_0x23f60c,[_0x53e675(0x202),'id',_0x53e675(0x1f6),_0x53e675(0x15e)]),_0x1bee0f='univerjs-icon\x20univerjs-icon-'[_0x53e675(0x247)](_0x2c5df1,'\x20')[_0x53e675(0x247)](_0x166e99||'')['trim'](),_0x58bbc3=_0x116b9f[_0x53e675(0x27f)]('_'[_0x53e675(0x247)](_0x5260be()));return _0x539839(_0x8018a,''[_0x53e675(0x247)](_0x2c5df1),{'defIds':_0x8018a[_0x53e675(0x33d)],'idSuffix':_0x58bbc3[_0x53e675(0x3b2)]},_0xf22670({'ref':_0x1f4882,'className':_0x1bee0f},_0xefa2f0),_0x2331df);});function _0x539839(_0x371c19,_0x57a6be,_0x59c329,_0x4c07cf,_0x2d5534){const _0x27bbf9=_0x3db0e4;return _0x116b9f[_0x27bbf9(0x256)](_0x371c19[_0x27bbf9(0x227)],_0xf22670(_0xf22670({'key':_0x57a6be},_0xc7783(_0x371c19,_0x59c329,_0x2d5534)),_0x4c07cf),(_0x3bc023(_0x371c19,_0x59c329)[_0x27bbf9(0x2b2)]||[])[_0x27bbf9(0x3be)](function(_0x297be,_0x2c3be3){const _0x496fc7=_0x27bbf9;return _0x539839(_0x297be,''[_0x496fc7(0x247)](_0x57a6be,'-')[_0x496fc7(0x247)](_0x371c19['tag'],'-')[_0x496fc7(0x247)](_0x2c3be3),_0x59c329,void 0x0,_0x2d5534);}));}function _0xc7783(_0x445faf,_0xbe4f30,_0x5978e1){const _0x37fb95=_0x3db0e4;var _0x294504=_0xf22670({},_0x445faf[_0x37fb95(0x3bd)]);_0x5978e1!=null&&_0x5978e1[_0x37fb95(0x336)]&&_0x294504[_0x37fb95(0x126)]===_0x37fb95(0x336)&&(_0x294504[_0x37fb95(0x126)]=_0x5978e1[_0x37fb95(0x336)]),_0x445faf[_0x37fb95(0x227)]===_0x37fb95(0x28c)&&_0x294504['id']&&(_0x294504['id']=_0x294504['id']+_0xbe4f30[_0x37fb95(0x1c2)]),Object['entries'](_0x294504)[_0x37fb95(0x29f)](function(_0x110671){const _0x4d5a6a=_0x37fb95;var _0x2b1b02=_0x110671[0x0],_0x58f3f3=_0x110671[0x1];_0x2b1b02===_0x4d5a6a(0x28c)&&typeof _0x58f3f3==_0x4d5a6a(0x283)&&(_0x294504[_0x2b1b02]=_0x58f3f3[_0x4d5a6a(0x23b)](/url\(#(.*)\)/,_0x4d5a6a(0x2b4)[_0x4d5a6a(0x247)](_0xbe4f30['idSuffix'],')')));});var _0x3da2a4=_0xbe4f30[_0x37fb95(0x33d)];return!_0x3da2a4||_0x3da2a4[_0x37fb95(0xf8)]===0x0||(_0x445faf['tag']===_0x37fb95(0x332)&&_0x294504[_0x37fb95(0x27e)]&&(_0x294504[_0x37fb95(0x27e)]=_0x294504[_0x37fb95(0x27e)]+_0xbe4f30['idSuffix']),Object[_0x37fb95(0x322)](_0x294504)[_0x37fb95(0x29f)](function(_0x3c55b9){const _0x202528=_0x37fb95;var _0x49eabc=_0x3c55b9[0x0],_0x569a53=_0x3c55b9[0x1];typeof _0x569a53=='string'&&(_0x294504[_0x49eabc]=_0x569a53[_0x202528(0x23b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xbe4f30[_0x202528(0x1c2)],')')));})),_0x294504;}function _0x3bc023(_0x2c92c1,_0x44c14b){const _0x3c208a=_0x3db0e4;var _0x340d0a,_0x3dc3b3=_0x44c14b[_0x3c208a(0x33d)];return!_0x3dc3b3||_0x3dc3b3[_0x3c208a(0xf8)]===0x0?_0x2c92c1:_0x2c92c1[_0x3c208a(0x227)]==='defs'&&(!((_0x340d0a=_0x2c92c1[_0x3c208a(0x2b2)])===null||_0x340d0a===void 0x0)&&_0x340d0a['length'])?_0xf22670(_0xf22670({},_0x2c92c1),{'children':_0x2c92c1[_0x3c208a(0x2b2)][_0x3c208a(0x3be)](function(_0x4245ad){const _0x5495ef=_0x3c208a;return typeof _0x4245ad[_0x5495ef(0x3bd)]['id']=='string'&&_0x3dc3b3&&_0x3dc3b3[_0x5495ef(0x357)](_0x4245ad['attrs']['id'])?_0xf22670(_0xf22670({},_0x4245ad),{'attrs':_0xf22670(_0xf22670({},_0x4245ad['attrs']),{'id':_0x4245ad[_0x5495ef(0x3bd)]['id']+_0x44c14b[_0x5495ef(0x1c2)]})}):_0x4245ad;})}):_0x2c92c1;}function _0x5260be(){const _0xe47782=_0x3db0e4;return Math[_0xe47782(0x2a1)]()[_0xe47782(0x14a)](0x24)['substring'](0x2,0x8);}_0x466f9f['displayName']='UniverIcon';var _0x5c938e={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3db0e4(0x188),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db0e4(0x2c6)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':_0x3db0e4(0x37d),'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':_0x3db0e4(0x372),'strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x13a)},'children':[{'tag':'path','attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f)}}]}]}],'defIds':[_0x3db0e4(0x13a)]},_0x2382d7=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x483f2d,_0x199242){const _0x4d6ff1=_0x3db0e4;return _0x116b9f[_0x4d6ff1(0x256)](_0x466f9f,Object[_0x4d6ff1(0x15c)]({},_0x483f2d,{'id':'off-line-icon','ref':_0x199242,'icon':_0x5c938e}));});_0x2382d7[_0x3db0e4(0x330)]='OffLineIcon';var _0x242c52={'tag':_0x3db0e4(0x2be),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x3db0e4(0x10f),'height':_0x3db0e4(0x10f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x3db0e4(0x372),'strokeWidth':1.2}}]},{'tag':_0x3db0e4(0x1f8),'attrs':{},'children':[{'tag':_0x3db0e4(0x152),'attrs':{'id':_0x3db0e4(0x1c8)},'children':[{'tag':_0x3db0e4(0xf5),'attrs':{'fill':_0x3db0e4(0x186),'d':_0x3db0e4(0x18f),'transform':_0x3db0e4(0x319)}}]}]}],'defIds':[_0x3db0e4(0x1c8)]},_0x137c00=_0x116b9f[_0x3db0e4(0x3a1)](function(_0x3c8641,_0x3931a2){const _0x173e43=_0x3db0e4;return _0x116b9f['createElement'](_0x466f9f,Object[_0x173e43(0x15c)]({},_0x3c8641,{'id':_0x173e43(0x10e),'ref':_0x3931a2,'icon':_0x242c52}));});_0x137c00[_0x3db0e4(0x330)]=_0x3db0e4(0x3bc);function _0x3547fe(_0x4dc4e2){const _0x347b84=_0x3db0e4;switch(_0x4dc4e2){case _0x184317[_0x347b84(0x371)][_0x347b84(0x342)]:return'collabStatus.offline';case _0x184317['CollaborationStatus']['CONFLICT']:return _0x347b84(0x272);case _0x184317[_0x347b84(0x371)][_0x347b84(0x2a8)]:return _0x347b84(0x2d0);case _0x184317[_0x347b84(0x371)]['NOT_COLLAB']:return _0x347b84(0x2f4);case _0x184317['CollaborationStatus'][_0x347b84(0x2d6)]:case _0x184317[_0x347b84(0x371)][_0x347b84(0x167)]:return _0x347b84(0x304);case _0x184317[_0x347b84(0x371)][_0x347b84(0x21f)]:case _0x184317[_0x347b84(0x371)]['PENDING']:return _0x347b84(0x160);}}function _0x582d7e(_0x142c26){const _0x434ba3=_0x3db0e4,{status$:_0x53c491}=_0x142c26,_0x5887a3=_0x26d040['useObservable'](_0x53c491,_0x184317[_0x434ba3(0x371)][_0x434ba3(0x11b)]),_0x2ff1ec=_0x26d040[_0x434ba3(0x192)](_0x3f9956[_0x434ba3(0x39e)]),_0x17cec2=_0x26d040['useDependency'](_0x184317['CollaborationSessionService']),_0x16f2a5=_0x5887a3!==_0x184317['CollaborationStatus'][_0x434ba3(0x342)],_0x15f98d=_0x2ff1ec['t'](_0x3547fe(_0x5887a3)),_0x35b015=_0x16f2a5?_0x53f1cd['jsx'](_0x137c00,{}):_0x53f1cd[_0x434ba3(0x2fc)](_0x2382d7,{}),_0x2937a7=_0x116b9f[_0x434ba3(0x1fc)](()=>{const _0x119dab=_0x434ba3;_0x16f2a5||_0x17cec2[_0x119dab(0x2e8)]();},[_0x16f2a5,_0x17cec2]);function _0x4a71b7(){const _0x43bdf3=_0x434ba3;return _0x53f1cd[_0x43bdf3(0x1f4)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x2937a7,'children':[_0x53f1cd['jsx'](_0x43bdf3(0x162),{'className':_0x3fc7ae['clsx'](_0x43bdf3(0x2c0),{'univer-text-green-500':_0x16f2a5,'univer-text-red-500':!_0x16f2a5}),'children':_0x35b015}),_0x53f1cd[_0x43bdf3(0x2fc)](_0x43bdf3(0x162),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x15f98d})]});}return _0x16f2a5?_0x4a71b7():_0x53f1cd['jsx'](_0x3fc7ae[_0x434ba3(0x10c)],{'title':_0x2ff1ec['t']('collab-client.tooltip.reconnect'),'children':_0x4a71b7()});}var _0x3bf36f=Object['getOwnPropertyDescriptor'],_0x6324a6=(_0x2dc49d,_0x23a36f,_0x484443,_0x443d87)=>{const _0x5a1cde=_0x3db0e4;for(var _0x31c24=_0x443d87>0x1?void 0x0:_0x443d87?_0x3bf36f(_0x23a36f,_0x484443):_0x23a36f,_0x399399=_0x2dc49d[_0x5a1cde(0xf8)]-0x1,_0x509525;_0x399399>=0x0;_0x399399--)(_0x509525=_0x2dc49d[_0x399399])&&(_0x31c24=_0x509525(_0x31c24)||_0x31c24);return _0x31c24;},_0x2542c5=(_0x586221,_0x2f1e8e)=>(_0x100e77,_0x575832)=>_0x2f1e8e(_0x100e77,_0x575832,_0x586221);_0x4205ba['DesktopCollaborationStatusDisplayController']=class extends _0x3f9956['Disposable']{constructor(_0x30a5d5,_0x29b97c,_0x341bea,_0x43fa3f){const _0x30285d=_0x3db0e4;super(),_0x442022(this,_0x30285d(0x1f3),new _0x6aec0[(_0x30285d(0x154))](_0x184317['CollaborationStatus'][_0x30285d(0x11b)])),(this[_0x30285d(0x205)]=_0x30a5d5,this['_injector']=_0x29b97c,this['_collaborationController']=_0x341bea,this[_0x30285d(0x3bf)]=_0x43fa3f,this[_0x30285d(0x1e2)](),this[_0x30285d(0x218)]());}[_0x3db0e4(0x218)](){const _0x3db3c0=_0x3db0e4;this[_0x3db3c0(0x20e)](this[_0x3db3c0(0x205)][_0x3db3c0(0x20f)][_0x3db3c0(0xf7)](_0x6aec0['switchMap'](()=>{const _0x1bd2df=_0x3db3c0,_0x2ffa3c=this[_0x1bd2df(0x205)][_0x1bd2df(0x230)]();return _0x2ffa3c?this['_collaborationController'][_0x1bd2df(0x1c3)](_0x2ffa3c[_0x1bd2df(0x3aa)]()):_0x6aec0['of'](null);}),_0x6aec0[_0x3db3c0(0x2dc)](_0x1913f1=>_0x1913f1?_0x1913f1[_0x3db3c0(0x36a)]:_0x6aec0['of'](_0x184317['CollaborationStatus']['NOT_COLLAB'])))[_0x3db3c0(0x29b)](_0x44c753=>{this['_status$']['next'](_0x44c753);}));}['_initStatusComponent'](){const _0x3534b4=_0x3db0e4;this[_0x3534b4(0x20e)](this[_0x3534b4(0x3bf)][_0x3534b4(0x194)](_0x26d040[_0x3534b4(0x362)][_0x3534b4(0x1ff)],()=>_0x26d040[_0x3534b4(0x2ab)](_0xb15acc({'status$':this[_0x3534b4(0x1f3)][_0x3534b4(0x244)]()}),this[_0x3534b4(0x15f)])));}},_0x4205ba[_0x3db0e4(0x171)]=_0x6324a6([_0x2542c5(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x2542c5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2542c5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x206)])),_0x2542c5(0x3,_0x26d040[_0x3db0e4(0x209)])],_0x4205ba['DesktopCollaborationStatusDisplayController']);function _0xb15acc(_0x32f160){const {status$:_0x263112}=_0x32f160;return function(){return _0x53f1cd['jsx'](_0x582d7e,{'status$':_0x263112});};}const _0x3958fd=_0x3f9956[_0x3db0e4(0x172)]('uni.network.url-service');var _0x24d530=Object['getOwnPropertyDescriptor'],_0xc0039e=(_0x3ae61c,_0x3ef0be,_0x27308a,_0x21e323)=>{const _0x2402d6=_0x3db0e4;for(var _0x28c703=_0x21e323>0x1?void 0x0:_0x21e323?_0x24d530(_0x3ef0be,_0x27308a):_0x3ef0be,_0x3e1882=_0x3ae61c[_0x2402d6(0xf8)]-0x1,_0x370656;_0x3e1882>=0x0;_0x3e1882--)(_0x370656=_0x3ae61c[_0x3e1882])&&(_0x28c703=_0x370656(_0x28c703)||_0x28c703);return _0x28c703;},_0x52771d=(_0x125404,_0x1fe3c6)=>(_0x43d508,_0x1fdccc)=>_0x1fe3c6(_0x43d508,_0x1fdccc,_0x125404);_0x4205ba['CollaborationDataLoaderController']=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x12d508,_0x1ca77a,_0x456d2e,_0x5d639e,_0x432bb0){const _0x25b87b=_0x3db0e4;super(),this[_0x25b87b(0x1aa)]=_0x12d508,this[_0x25b87b(0x237)]=_0x1ca77a,this['_commandService']=_0x456d2e,this[_0x25b87b(0x2f3)]=_0x5d639e,_0x432bb0?_0x432bb0==null||_0x432bb0[_0x25b87b(0x20c)]()[_0x25b87b(0x354)](()=>this[_0x25b87b(0x18a)]()):(this['_logService'][_0x25b87b(0x1cc)](_0x25b87b(0x1ee),_0x25b87b(0x2d3)),this[_0x25b87b(0x18a)]());}async['_init'](){const _0x693ec=_0x3db0e4,_0x3c8d30=this['_urlService']['getParam'](_0x693ec(0x10d)),_0x54ad5d=this[_0x693ec(0x1aa)][_0x693ec(0x3a4)](_0x693ec(0x3a0)),_0x3968f7=this[_0x693ec(0x1aa)]['getParam'](_0x693ec(0x16b));if(!_0x3c8d30||!_0x54ad5d){this[_0x693ec(0x237)][_0x693ec(0x1cc)](_0x693ec(0x1ee),_0x693ec(0x1a1));return;}const _0x549cd9=await this[_0x693ec(0x2f3)][_0x693ec(0x3a7)](_0x3c8d30,Number(_0x54ad5d),_0x3968f7);_0x549cd9&&_0x549cd9 instanceof _0x3f9956[_0x693ec(0x334)]&&this[_0x693ec(0x39f)](_0x549cd9);}async[_0x3db0e4(0x39f)](_0x15c9ae){const _0x250253=_0x3db0e4;await this[_0x250253(0x149)](_0x15c9ae),_0x15c9ae[_0x250253(0x1ef)][_0x250253(0xf7)](_0x6aec0[_0x250253(0x277)](this['dispose$']))[_0x250253(0x29b)](_0x15e911=>{const _0x509f69=_0x250253;_0x15e911&&this[_0x509f69(0x2ac)](_0x15e911);}),this[_0x250253(0x1aa)][_0x250253(0x25f)]['pipe'](_0x6aec0[_0x250253(0x277)](this[_0x250253(0x107)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x15c9ae));}[_0x3db0e4(0x2ac)](_0x8b76c8,_0x266645=!0x1){const _0x19bee8=_0x3db0e4,_0x527b43=this['_urlService'][_0x19bee8(0x3a4)](_0x19bee8(0x16b));_0x8b76c8[_0x19bee8(0x1db)]()!==_0x527b43&&this['_urlService']['setParam'](_0x19bee8(0x16b),_0x8b76c8[_0x19bee8(0x1db)](),_0x266645);}async[_0x3db0e4(0x149)](_0x890766){const _0xb5a9e0=_0x3db0e4;var _0x7ed54e;const _0x2e8738=this[_0xb5a9e0(0x1aa)][_0xb5a9e0(0x3a4)]('subunit');if(!_0x2e8738||!_0x890766[_0xb5a9e0(0x36f)](_0x2e8738)){const _0xe8a332=_0x890766[_0xb5a9e0(0x146)]()[0x0],_0x430a70=_0x890766[_0xb5a9e0(0x36f)](_0xe8a332);if(!_0x430a70)return;this['_updateURLWithCurrentState'](_0x430a70,!0x0),await this['_commandService']['executeCommand'](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766[_0xb5a9e0(0x3aa)](),'subUnitId':_0xe8a332});return;}((_0x7ed54e=_0x890766[_0xb5a9e0(0x1bd)]())==null?void 0x0:_0x7ed54e[_0xb5a9e0(0x1db)]())!==_0x2e8738&&await this[_0xb5a9e0(0x278)][_0xb5a9e0(0x3ad)](_0x13a368[_0xb5a9e0(0x17a)]['id'],{'unitId':_0x890766['getUnitId'](),'subUnitId':_0x2e8738});}},_0x4205ba[_0x3db0e4(0x309)]=_0xc0039e([_0x52771d(0x0,_0x3958fd),_0x52771d(0x1,_0x3f9956['ILogService']),_0x52771d(0x2,_0x3f9956[_0x3db0e4(0x30c)]),_0x52771d(0x3,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x35f)])),_0x52771d(0x4,_0x3f9956['Optional'](_0x2abcd4[_0x3db0e4(0x3c4)]))],_0x4205ba[_0x3db0e4(0x309)]);var _0xa65399=Object[_0x3db0e4(0x2d1)],_0x1109ce=(_0x11d232,_0x236cda,_0x36d611,_0x3de889)=>{for(var _0x441714=_0x3de889>0x1?void 0x0:_0x3de889?_0xa65399(_0x236cda,_0x36d611):_0x236cda,_0x4ba979=_0x11d232['length']-0x1,_0xacff6a;_0x4ba979>=0x0;_0x4ba979--)(_0xacff6a=_0x11d232[_0x4ba979])&&(_0x441714=_0xacff6a(_0x441714)||_0x441714);return _0x441714;},_0x27aa5e=(_0x3a3224,_0x581c76)=>(_0x270c5a,_0x55c33c)=>_0x581c76(_0x270c5a,_0x55c33c,_0x3a3224);let _0x5c2573=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x3a9a16,_0x2504cb){const _0x17d5b0=_0x3db0e4;super(),this[_0x17d5b0(0x1fe)]=_0x3a9a16,this[_0x17d5b0(0x1fa)]=_0x2504cb,this[_0x17d5b0(0x18a)]();}['_init'](){const _0x255aeb=_0x3db0e4,_0x5c1740=this;this[_0x255aeb(0x20e)](this['_docClipboardService'][_0x255aeb(0x16f)]({'onBeforePasteImage':async _0x41ae50=>{const _0x2d2933=_0x255aeb,_0x261486=await _0x5c1740[_0x2d2933(0x1fa)][_0x2d2933(0x27d)](_0x41ae50);return _0x261486?{'source':_0x261486[_0x2d2933(0x2b5)],'imageSourceType':_0x261486[_0x2d2933(0x3c7)]}:null;}}));}};_0x5c2573=_0x1109ce([_0x27aa5e(0x0,_0xa8c85b['IDocClipboardService']),_0x27aa5e(0x1,_0x386c76[_0x3db0e4(0x15a)])],_0x5c2573);const _0xe9e8c5=[_0x3db0e4(0x375),'jiqing.500','green.600',_0x3db0e4(0x2f8),_0x3db0e4(0x19c),_0x3db0e4(0x340)];class _0x5cb38a extends _0x3f9956['Disposable']{constructor(){const _0x1df49c=_0x3db0e4;super(...arguments),_0x442022(this,'_assignedColors',new Map()),_0x442022(this,_0x1df49c(0x164),0x0);}[_0x3db0e4(0x363)](_0x445c75){const _0x2ac207=_0x3db0e4;if(this[_0x2ac207(0x3a3)][_0x2ac207(0x3a8)](_0x445c75))return this['_assignedColors'][_0x2ac207(0x392)](_0x445c75);const _0x516fcd=_0xe9e8c5[this[_0x2ac207(0x164)]];return this[_0x2ac207(0x164)]=(this[_0x2ac207(0x164)]+0x1)%_0xe9e8c5[_0x2ac207(0xf8)],this[_0x2ac207(0x3a3)][_0x2ac207(0x26f)](_0x445c75,_0x516fcd),_0x516fcd;}}function _0x4035a4(_0x201123){let _0x5ea915='';for(const _0x25ee08 of _0x201123){const {startOffset:_0x20b3d6,endOffset:_0x36edc8,isActive:_0x59a922,rangeType:_0x540c02,segmentId:_0x5de7b1,segmentPage:_0x4f8987}=_0x25ee08;_0x5ea915['length']&&(_0x5ea915+=','),_0x5ea915+=_0x20b3d6+':'+_0x36edc8+':'+(_0x59a922?'1':'0')+':'+_0x540c02+':'+_0x5de7b1+':'+_0x4f8987;}return _0x5ea915;}function _0xe72dbf(_0x70e774){const _0x131a96=_0x3db0e4,_0x51b934=_0x70e774[_0x131a96(0x243)](','),_0x3b0aab=[];for(const _0x2f255f of _0x51b934){const [_0x4a2a9c,_0x5cf604,_0x447f79,_0x2d06a7,_0x3b756d,_0x1fa0ad]=_0x2f255f[_0x131a96(0x243)](':');_0x3b0aab[_0x131a96(0x1ae)]({'startOffset':Number(_0x4a2a9c),'endOffset':Number(_0x5cf604),'collapsed':_0x4a2a9c===_0x5cf604,'isActive':_0x447f79==='1','rangeType':_0x2d06a7===_0x3f9956['DOC_RANGE_TYPE'][_0x131a96(0x355)]?_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x355)]:_0x3f9956[_0x131a96(0x37c)][_0x131a96(0x1b6)],'segmentId':typeof _0x3b756d=='string'?String(_0x3b756d):'','segmentPage':Number(_0x1fa0ad!=null?_0x1fa0ad:-0x1)});}return _0x3b0aab[_0x131a96(0x12e)](_0x9ce161=>_0x9ce161[_0x131a96(0x22b)])||(_0x3b0aab[0x0]['isActive']=!0x0),_0x3b0aab;}class _0x5e3cb6 extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(){const _0x383f14=_0x3db0e4;super(...arguments),_0x442022(this,_0x383f14(0x10b),new _0x6aec0[(_0x383f14(0x154))](null)),_0x442022(this,'collabCursorState$',this[_0x383f14(0x10b)][_0x383f14(0x244)]());}[_0x3db0e4(0x1a4)](_0x13d5e1){const _0x2b53f6=_0x3db0e4,{unitID:_0x150162,memberID:_0x2279e6,textRanges:_0x462372}=_0x13d5e1,_0x43c7c7=_0x4035a4(_0x462372);if(_0x43c7c7==='')return;const _0x5f358d={'unitID':_0x150162,'memberID':_0x2279e6,'selection':_0x43c7c7};this['_collabCursorState$'][_0x2b53f6(0x360)](_0x5f358d);}}var _0x4d6fca=Object[_0x3db0e4(0x2d1)],_0x3ed3f5=(_0x29ad26,_0x3a0bd2,_0x455a0d,_0x7dfe70)=>{for(var _0x4b40a4=_0x7dfe70>0x1?void 0x0:_0x7dfe70?_0x4d6fca(_0x3a0bd2,_0x455a0d):_0x3a0bd2,_0x560724=_0x29ad26['length']-0x1,_0x182ec9;_0x560724>=0x0;_0x560724--)(_0x182ec9=_0x29ad26[_0x560724])&&(_0x4b40a4=_0x182ec9(_0x4b40a4)||_0x4b40a4);return _0x4b40a4;},_0xfcec48=(_0x5bc2cd,_0x24d2e8)=>(_0x5e45c1,_0x981494)=>_0x24d2e8(_0x5e45c1,_0x981494,_0x5bc2cd);const _0xaeb3f8=0x12c,_0x33a3bc=0x64;let _0x654d15=class extends _0x3f9956['RxDisposable']{constructor(_0x395097,_0x937b67,_0x434cca,_0x2c3491,_0x3919c7,_0x56894c,_0x6413c7,_0x1e1f31,_0x2e9e6){const _0x8d889a=_0x3db0e4;super(),_0x442022(this,_0x8d889a(0x2fb),!0x1),_0x442022(this,_0x8d889a(0x18a),!0x1),_0x442022(this,'_cursorInfo$',new _0x6aec0[(_0x8d889a(0x154))](new Map())),_0x442022(this,_0x8d889a(0x19b),this[_0x8d889a(0xf4)]['asObservable']()),_0x442022(this,_0x8d889a(0xf0),new _0x6aec0[(_0x8d889a(0x154))]([])),_0x442022(this,_0x8d889a(0x2f7),this['_roomMembers$'][_0x8d889a(0xf7)](_0x6aec0[_0x8d889a(0x2e3)](_0xaeb3f8))),_0x442022(this,_0x8d889a(0x1b2),_0x3f9956[_0x8d889a(0x145)](_0x17ca1e=>{const _0x1bdb57=_0x8d889a,_0x35810c={'eventID':_0x2de7d2[_0x1bdb57(0x389)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1bdb57(0x297)],'memberID':this[_0x1bdb57(0x31f)][_0x1bdb57(0x1d6)](),'selection':_0x4035a4(_0x17ca1e)}};this[_0x1bdb57(0x31f)][_0x1bdb57(0x112)](_0x35810c,this['unitID']);},_0x33a3bc)),(this[_0x8d889a(0x297)]=_0x395097,this[_0x8d889a(0x31f)]=_0x937b67,this['_injector']=_0x434cca,this[_0x8d889a(0x1c5)]=_0x2c3491,this['_memberService']=_0x3919c7,this[_0x8d889a(0x390)]=_0x56894c,this[_0x8d889a(0x2da)]=_0x6413c7,this['_univerInstanceService']=_0x1e1f31,this[_0x8d889a(0x278)]=_0x2e9e6);}get['cursorInfo'](){const _0x208db0=_0x3db0e4;return this[_0x208db0(0xf4)][_0x208db0(0x1d4)]();}get[_0x3db0e4(0x324)](){const _0x484ffd=_0x3db0e4;return this[_0x484ffd(0xf0)][_0x484ffd(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0x59e43a=_0x3db0e4;super[_0x59e43a(0x14f)](),this['_cursorInfo$'][_0x59e43a(0x360)](new Map()),this[_0x59e43a(0xf4)]['complete'](),this[_0x59e43a(0xf0)][_0x59e43a(0x360)]([]),this[_0x59e43a(0xf0)]['complete']();}[_0x3db0e4(0x106)](){const _0x3f478a=_0x3db0e4;this[_0x3f478a(0x18a)]||(this['_init']=!0x0,this[_0x3f478a(0x31f)][_0x3f478a(0x306)][_0x3f478a(0xf7)](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x5e2214=>{const _0x4edd40=_0x3f478a;_0x5e2214===_0x184317[_0x4edd40(0x2bf)][_0x4edd40(0x143)]?this['_toggleOnline']():this[_0x4edd40(0x2c4)]();}),this[_0x3f478a(0x31f)][_0x3f478a(0x248)]['pipe'](_0x6aec0['takeUntil'](this[_0x3f478a(0x107)]))[_0x3f478a(0x29b)](_0x4e1474=>{const _0x50cce7=_0x3f478a,_0x491ee4=_0x4e1474[_0x50cce7(0x157)];_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x140)]&&this['_onCursorUpdate'](_0x4e1474),_0x491ee4===_0x2de7d2[_0x50cce7(0x389)][_0x50cce7(0x120)]&&this[_0x50cce7(0x33b)](_0x4e1474);}),this[_0x3f478a(0x20e)](this['_commandService'][_0x3f478a(0x14d)](_0x4af4dd=>{const _0x9dfc63=_0x3f478a,_0x3e3a42=_0x4af4dd['params'];_0x3e3a42!=null&&this[_0x9dfc63(0x2fb)]&&_0x4af4dd['id']===_0x333572['SetTextSelectionsOperation']['id']&&_0x3e3a42[_0x9dfc63(0x2bc)]===this[_0x9dfc63(0x297)]&&_0x3e3a42[_0x9dfc63(0x11e)]===!0x1&&_0x3e3a42[_0x9dfc63(0x2c8)][_0x9dfc63(0xf8)]>0x0&&this[_0x9dfc63(0x1b2)](_0x3e3a42[_0x9dfc63(0x2c8)]);})),this[_0x3f478a(0x390)]['collabCursorState$']['pipe'](_0x6aec0[_0x3f478a(0x277)](this[_0x3f478a(0x107)]))['subscribe'](_0x861ad8=>{const _0x7ff392=_0x3f478a;if((_0x861ad8==null?void 0x0:_0x861ad8[_0x7ff392(0x297)])!==this[_0x7ff392(0x297)])return;const _0x11ef15={'eventID':_0x2de7d2[_0x7ff392(0x389)][_0x7ff392(0x140)],'data':_0x861ad8};this['_onCursorUpdate'](_0x11ef15);}),this[_0x3f478a(0x20e)](this[_0x3f478a(0x278)]['onCommandExecuted'](_0x2f34d0=>{const _0x18b43d=_0x3f478a;if(_0x2f34d0[_0x18b43d(0x176)]==null)return;const _0x137ed7=_0x2f34d0[_0x18b43d(0x176)];if(_0x2f34d0['id']!==_0x333572['RichTextEditingMutation']['id']||_0x137ed7[_0x18b43d(0x2bc)]!==this['unitID'])return;const _0x20cbb2={'id':'doc.mutation.rich-text-editing','params':_0x137ed7},_0x179789=this[_0x18b43d(0x2d7)];for(const [_0x29eebe,_0xc335de]of _0x179789){const _0x44ec33={'id':_0x18b43d(0x260),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xc335de['ranges']}},_0x4788a1=this['_transformService']['transformMutation'](_0x20cbb2,_0x44ec33,!0x1);if(_0x2de7d2[_0x18b43d(0x18d)](_0x4788a1))throw _0x4788a1[_0x18b43d(0x235)];_0x179789[_0x18b43d(0x26f)](_0x29eebe,{..._0xc335de,'ranges':_0x4788a1[_0x18b43d(0x333)][_0x18b43d(0x176)][_0x18b43d(0x2c2)]});}queueMicrotask(()=>{const _0x5998f5=_0x18b43d;this[_0x5998f5(0xf4)][_0x5998f5(0x360)](_0x179789);});})));}[_0x3db0e4(0x129)](_0x5b83ae){const _0x4748ef=_0x3db0e4;var _0x5a84e8,_0x22a8c5;const {memberID:_0x2b4dd9,selection:_0x2d74a5}=_0x5b83ae[_0x4748ef(0xf3)],_0x4fb838=_0xe72dbf(_0x2d74a5),_0x39dd8e=(_0x22a8c5=(_0x5a84e8=this[_0x4748ef(0x195)]['getMember'](this[_0x4748ef(0x297)],_0x2b4dd9))==null?void 0x0:_0x5a84e8['name'])!=null?_0x22a8c5:_0x4748ef(0x148),_0x182300={'color':this[_0x4748ef(0x1c5)][_0x4748ef(0x363)](_0x2b4dd9),'name':_0x39dd8e,'ranges':_0x4fb838},_0xa26863=this['cursorInfo'];_0xa26863[_0x4748ef(0x26f)](_0x2b4dd9,_0x182300),this[_0x4748ef(0xf4)]['next'](_0xa26863);}[_0x3db0e4(0x33b)](_0x49f730){const _0x499c9b=_0x3db0e4,{memberID:_0x3823a7}=_0x49f730[_0x499c9b(0xf3)],_0x584536=this['cursorInfo'];_0x584536[_0x499c9b(0x1ce)](_0x3823a7),this[_0x499c9b(0xf4)]['next'](_0x584536);}[_0x3db0e4(0x34b)](){const _0x20e51b=_0x3db0e4;var _0x3f803e;if(this['_online']=!0x0,((_0x3f803e=this[_0x20e51b(0x205)][_0x20e51b(0x230)]())==null?void 0x0:_0x3f803e['getUnitId']())!==this[_0x20e51b(0x297)])return;const _0x2751f7=this[_0x20e51b(0x15f)][_0x20e51b(0x392)](_0x333572[_0x20e51b(0x29a)])[_0x20e51b(0x1ac)]();Array['isArray'](_0x2751f7)&&_0x2751f7[_0x20e51b(0xf8)]>0x0&&this[_0x20e51b(0x1b2)](_0x2751f7);}[_0x3db0e4(0x2c4)](){const _0x276e72=_0x3db0e4;this[_0x276e72(0x2fb)]=!0x1;}};_0x654d15=_0x3ed3f5([_0xfcec48(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0xfcec48(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0xfcec48(0x4,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x323)])),_0xfcec48(0x5,_0x3f9956['Inject'](_0x5e3cb6)),_0xfcec48(0x6,_0x2de7d2['ITransformService']),_0xfcec48(0x7,_0x3f9956[_0x3db0e4(0x264)]),_0xfcec48(0x8,_0x3f9956[_0x3db0e4(0x30c)])],_0x654d15);var _0x757cd8=Object[_0x3db0e4(0x2d1)],_0x12a958=(_0x33f82f,_0xee74cf,_0xc8a720,_0x4701b4)=>{const _0x241dea=_0x3db0e4;for(var _0x2e9fd2=_0x4701b4>0x1?void 0x0:_0x4701b4?_0x757cd8(_0xee74cf,_0xc8a720):_0xee74cf,_0x2cf10c=_0x33f82f[_0x241dea(0xf8)]-0x1,_0x19954a;_0x2cf10c>=0x0;_0x2cf10c--)(_0x19954a=_0x33f82f[_0x2cf10c])&&(_0x2e9fd2=_0x19954a(_0x2e9fd2)||_0x2e9fd2);return _0x2e9fd2;},_0x865286=(_0x43a21d,_0x2d9f66)=>(_0x5ee647,_0x3208dc)=>_0x2d9f66(_0x5ee647,_0x3208dc,_0x43a21d);const _0x29f938=0x12c,_0x8f6363=0x64,_0x54f247=()=>{let _0x226603=[],_0x46e341=!0x1;return _0x13050c=>{const _0x263b8a=_0x4227;_0x226603[_0x263b8a(0x1ae)](_0x13050c),_0x46e341||(_0x46e341=!0x0,setTimeout(()=>{const _0x391235=_0x263b8a;_0x226603[_0x391235(0x29f)](_0x3be6f4=>_0x3be6f4()),_0x226603=[],_0x46e341=!0x1;}));};};let _0x2209c0=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x16fde9,_0x1d292e,_0x1c556c,_0x46752b,_0x366c68,_0x25701f,_0x2f03d3,_0x346e20){const _0x5ba21b=_0x3db0e4;super(),_0x442022(this,_0x5ba21b(0x2fb),!0x1),_0x442022(this,_0x5ba21b(0x18a),!0x1),_0x442022(this,_0x5ba21b(0xf4),new _0x6aec0['BehaviorSubject'](new Map())),_0x442022(this,'cursorInfo$',this[_0x5ba21b(0xf4)]['asObservable']()),_0x442022(this,_0x5ba21b(0xf0),new _0x6aec0['BehaviorSubject']([])),_0x442022(this,_0x5ba21b(0x2f7),this[_0x5ba21b(0xf0)]['pipe'](_0x6aec0[_0x5ba21b(0x2e3)](_0x29f938))),_0x442022(this,_0x5ba21b(0x1b2),_0x3f9956[_0x5ba21b(0x145)]((_0x1a462b,_0x28718a)=>{const _0x55afda=_0x5ba21b,_0x4584df={'eventID':_0x2de7d2[_0x55afda(0x389)][_0x55afda(0x140)],'data':{'unitID':this[_0x55afda(0x297)],'memberID':this[_0x55afda(0x31f)]['getMemberID'](),'selection':_0x2c79d7['serializeRangeWithSheet'](_0x1a462b,_0x28718a[_0x55afda(0x268)])}};this[_0x55afda(0x31f)][_0x55afda(0x112)](_0x4584df,this[_0x55afda(0x297)]);},_0x8f6363)),(this[_0x5ba21b(0x297)]=_0x16fde9,this[_0x5ba21b(0x31f)]=_0x1d292e,this[_0x5ba21b(0x15f)]=_0x1c556c,this[_0x5ba21b(0x1c5)]=_0x46752b,this[_0x5ba21b(0x195)]=_0x366c68,this[_0x5ba21b(0x205)]=_0x25701f,this[_0x5ba21b(0x278)]=_0x2f03d3,this['_refRangeService']=_0x346e20);}get[_0x3db0e4(0x2d7)](){const _0x4d1082=_0x3db0e4;return this[_0x4d1082(0xf4)]['getValue']();}get[_0x3db0e4(0x324)](){const _0x4cd236=_0x3db0e4;return this['_roomMembers$'][_0x4cd236(0x1d4)]();}[_0x3db0e4(0x14f)](){const _0xf12b91=_0x3db0e4;super[_0xf12b91(0x14f)](),this[_0xf12b91(0xf4)][_0xf12b91(0x360)](new Map()),this['_cursorInfo$'][_0xf12b91(0x2ef)](),this[_0xf12b91(0xf0)][_0xf12b91(0x360)]([]),this[_0xf12b91(0xf0)][_0xf12b91(0x2ef)]();}['init'](){const _0x32b27c=_0x3db0e4;this['_init']||(this[_0x32b27c(0x18a)]=!0x0,this['_session'][_0x32b27c(0x306)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))[_0x32b27c(0x29b)](_0x512bb4=>{const _0x5918a9=_0x32b27c;_0x512bb4===_0x184317[_0x5918a9(0x2bf)]['ONLINE']?this['_toggleOnline']():this[_0x5918a9(0x2c4)]();}),this[_0x32b27c(0x31f)][_0x32b27c(0x248)][_0x32b27c(0xf7)](_0x6aec0[_0x32b27c(0x277)](this[_0x32b27c(0x107)]))['subscribe'](_0x29b807=>{const _0x599809=_0x32b27c,_0x51a262=_0x29b807[_0x599809(0x157)];_0x51a262===_0x2de7d2['CollaborationEvent'][_0x599809(0x140)]&&this[_0x599809(0x129)](_0x29b807),_0x51a262===_0x2de7d2[_0x599809(0x389)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x29b807);}),this[_0x32b27c(0x1ed)](),this['disposeWithMe'](this[_0x32b27c(0x278)][_0x32b27c(0x14d)](_0x470cd5=>{const _0x76fadb=_0x32b27c;if(this[_0x76fadb(0x2fb)]&&_0x470cd5['id']===_0x13a368[_0x76fadb(0x117)]['id']&&_0x470cd5[_0x76fadb(0x176)]['unitId']===this[_0x76fadb(0x297)]){const _0x1b128e=_0x470cd5[_0x76fadb(0x176)];this['_updateLocalCursor'](_0x1b128e[_0x76fadb(0x151)],_0x1b128e[_0x76fadb(0x184)][0x0]);}})));}['_onCursorUpdate'](_0x431ec9){const _0x5ae103=_0x3db0e4;var _0x1ec14d,_0x158a51;const {memberID:_0x41ac3c,selection:_0x4ca68a}=_0x431ec9[_0x5ae103(0xf3)],{sheetName:_0x61097a,range:_0x32232c}=_0x2c79d7[_0x5ae103(0x39a)](_0x4ca68a),_0x1c847d={'name':(_0x158a51=(_0x1ec14d=this[_0x5ae103(0x195)][_0x5ae103(0x253)](this['unitID'],_0x41ac3c))==null?void 0x0:_0x1ec14d[_0x5ae103(0x17d)])!=null?_0x158a51:_0x5ae103(0x148),'range':this['_getMergeRange'](_0x61097a,_0x32232c),'sheetID':_0x61097a,'color':this[_0x5ae103(0x1c5)]['assignAColorForMemberID'](_0x41ac3c),'selection':_0x4ca68a},_0x59ab22=this['cursorInfo'];_0x59ab22[_0x5ae103(0x26f)](_0x41ac3c,_0x1c847d),this[_0x5ae103(0xf4)][_0x5ae103(0x360)](_0x59ab22);}[_0x3db0e4(0x33b)](_0x59d0bc){const _0x5af454=_0x3db0e4,{memberID:_0x5c8c49}=_0x59d0bc['data'],_0x16ca27=this['cursorInfo'];_0x16ca27[_0x5af454(0x1ce)](_0x5c8c49),this[_0x5af454(0xf4)][_0x5af454(0x360)](_0x16ca27);}[_0x3db0e4(0x292)](_0x33bf00,_0x398ddd){const _0x5df7c1=_0x3db0e4;var _0x5e5665,_0x1ba92e;const _0x4c7b5c=(_0x1ba92e=(_0x5e5665=this[_0x5df7c1(0x205)][_0x5df7c1(0x3b4)](this[_0x5df7c1(0x297)]))==null?void 0x0:_0x5e5665['getSheetBySheetId'](_0x33bf00))==null?void 0x0:_0x1ba92e[_0x5df7c1(0x289)]();return(_0x4c7b5c==null?void 0x0:_0x4c7b5c[_0x5df7c1(0x295)](_0x5393fb=>_0x3f9956[_0x5df7c1(0x251)]['contains'](_0x5393fb,_0x398ddd)))||_0x398ddd;}[_0x3db0e4(0x1ed)](){const _0x50fd80=_0x3db0e4,_0x57e25e=new _0x3f9956[(_0x50fd80(0x30f))](),_0x575cce=_0x54f247(),_0x3d07cb=()=>{const _0x1bac7e=_0x50fd80;_0x57e25e['dispose']();const _0x58b39a=(_0x47eec1,_0x3a2686,_0x521fdd,_0x58ca94)=>{const _0x22415a=_0x4227;let _0x53de5f=[];switch(_0x47eec1['id']){case _0x13a368['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x173)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['DeleteRangeMoveUpCommandId']:{_0x53de5f=_0x13a368['handleDeleteRangeMoveUp'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x37f)]:{_0x53de5f=_0x13a368[_0x22415a(0x135)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['InsertRangeMoveDownCommandId']:{_0x53de5f=_0x13a368['handleInsertRangeMoveDown'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x34d)]:{_0x53de5f=_0x13a368[_0x22415a(0x161)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x17c)]:{_0x53de5f=_0x13a368['handleInsertRow'](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['MoveRangeCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x396)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)]['RemoveColCommandId']:{_0x53de5f=_0x13a368[_0x22415a(0x2e5)](_0x47eec1,_0x58ca94);break;}case _0x13a368[_0x22415a(0x288)][_0x22415a(0x346)]:{_0x53de5f=_0x13a368[_0x22415a(0x32e)](_0x47eec1,_0x58ca94);break;}}const _0x73e273=_0x13a368[_0x22415a(0x1f2)](_0x53de5f,_0x58ca94),_0x5c0c70=this[_0x22415a(0x2d7)][_0x22415a(0x392)](_0x3a2686);if(_0x5c0c70&&_0x73e273){const _0x31d778={..._0x5c0c70,'range':_0x73e273};this['cursorInfo'][_0x22415a(0x26f)](_0x3a2686,_0x31d778),_0x575cce(()=>{const _0x5c199b=_0x22415a,_0x4316ec=this[_0x5c199b(0x386)][_0x5c199b(0x141)](_0x73e273,_0x4b99a7=>(_0x4316ec[_0x5c199b(0x14f)](),_0x58b39a(_0x4b99a7,_0x3a2686,_0x521fdd,_0x73e273)));_0x57e25e[_0x5c199b(0x2d8)](_0x4316ec);});}return{'redos':[],'undos':[]};};this[_0x1bac7e(0x2d7)][_0x1bac7e(0x29f)]((_0x5ffd1e,_0x2fa575)=>{const _0x27b6f0=_0x1bac7e,{range:_0x118537,sheetID:_0x59ae2a}=_0x5ffd1e,_0xafcf88=this[_0x27b6f0(0x386)]['registerRefRange'](_0x118537,_0x28d5c7=>(_0xafcf88[_0x27b6f0(0x14f)](),_0x58b39a(_0x28d5c7,_0x2fa575,_0x59ae2a,_0x118537)));_0x57e25e[_0x27b6f0(0x2d8)](_0xafcf88);});};this[_0x50fd80(0x20e)](_0x3f9956[_0x50fd80(0x30e)](this[_0x50fd80(0xf4)][_0x50fd80(0x29b)](()=>{_0x3d07cb();})));}[_0x3db0e4(0x34b)](){const _0x3725b7=_0x3db0e4;var _0x27a537,_0x45d9d5;if(this[_0x3725b7(0x2fb)]=!0x0,((_0x27a537=this['_univerInstanceService'][_0x3725b7(0x230)]())==null?void 0x0:_0x27a537[_0x3725b7(0x3aa)]())!==this[_0x3725b7(0x297)])return;const _0x335bc3=(_0x45d9d5=this[_0x3725b7(0x15f)][_0x3725b7(0x392)](_0x13a368['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x45d9d5[0x0],_0x2ab3f2=this[_0x3725b7(0x205)][_0x3725b7(0x28d)](_0x3f9956[_0x3725b7(0x100)][_0x3725b7(0xff)])[_0x3725b7(0x1bd)]();_0x335bc3&&_0x2ab3f2&&this[_0x3725b7(0x1b2)](_0x2ab3f2[_0x3725b7(0x1db)](),_0x335bc3);}[_0x3db0e4(0x2c4)](){this['_online']=!0x1;}};_0x2209c0=_0x12a958([_0x865286(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x865286(0x3,_0x3f9956['Inject'](_0x5cb38a)),_0x865286(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x323)])),_0x865286(0x5,_0x3f9956[_0x3db0e4(0x264)]),_0x865286(0x6,_0x3f9956[_0x3db0e4(0x30c)]),_0x865286(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x13a368[_0x3db0e4(0x35e)]))],_0x2209c0);var _0x26d098=Object[_0x3db0e4(0x2d1)],_0x5bd336=(_0xb464d0,_0x4b8a1d,_0x38b89e,_0x23d180)=>{const _0x158a2e=_0x3db0e4;for(var _0x515d06=_0x23d180>0x1?void 0x0:_0x23d180?_0x26d098(_0x4b8a1d,_0x38b89e):_0x4b8a1d,_0x43de7a=_0xb464d0[_0x158a2e(0xf8)]-0x1,_0x231422;_0x43de7a>=0x0;_0x43de7a--)(_0x231422=_0xb464d0[_0x43de7a])&&(_0x515d06=_0x231422(_0x515d06)||_0x515d06);return _0x515d06;},_0x110cb9=(_0x405cec,_0x9053c7)=>(_0x2770bf,_0x37f82b)=>_0x9053c7(_0x2770bf,_0x37f82b,_0x405cec);let _0x135bf3=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x4bf893,_0x4f64a6,_0x50d0fe){const _0x1de7d2=_0x3db0e4;super(),_0x442022(this,_0x1de7d2(0x224),new Map()),_0x442022(this,_0x1de7d2(0x213),new _0x6aec0['Subject']()),(this[_0x1de7d2(0x205)]=_0x4bf893,this[_0x1de7d2(0x15f)]=_0x4f64a6,this['_collabSessionService']=_0x50d0fe,this[_0x1de7d2(0x18a)]());}['dispose'](){const _0x5475fa=_0x3db0e4;super[_0x5475fa(0x14f)](),this[_0x5475fa(0x213)][_0x5475fa(0x2ef)](),this[_0x5475fa(0x224)][_0x5475fa(0x29f)](_0x20ab70=>_0x20ab70[_0x5475fa(0x14f)]());}[_0x3db0e4(0x2e1)](_0xd659a9){const _0x32bf72=_0x3db0e4;return this[_0x32bf72(0x224)][_0x32bf72(0x3a8)](_0xd659a9)?this[_0x32bf72(0x224)][_0x32bf72(0x392)](_0xd659a9)[_0x32bf72(0x19b)]:this['_entityInit$'][_0x32bf72(0xf7)](_0x6aec0[_0x32bf72(0x1ba)](_0x269b1c=>_0x269b1c['unitID']===_0xd659a9),_0x6aec0[_0x32bf72(0x2dc)](_0x355dcf=>_0x355dcf[_0x32bf72(0x19b)]));}['_init'](){const _0x2a1b24=_0x3db0e4;this[_0x2a1b24(0x205)]['getTypeOfUnitAdded$'](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET'])[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))['subscribe'](async _0x46acd5=>{const _0x16acda=_0x2a1b24,_0x41ad88=_0x46acd5[_0x16acda(0x3aa)](),_0x5101b1=await this[_0x16acda(0x320)](_0x41ad88);this[_0x16acda(0x213)][_0x16acda(0x360)](_0x5101b1),this[_0x16acda(0x224)][_0x16acda(0x26f)](_0x41ad88,_0x5101b1);}),this[_0x2a1b24(0x205)][_0x2a1b24(0x273)](_0x3f9956['UniverInstanceType'][_0x2a1b24(0x257)])[_0x2a1b24(0xf7)](_0x6aec0['takeUntil'](this['dispose$']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x1ba)](_0x1c63fc=>!_0x1c63fc['getUnitId']()['startsWith']('__')))[_0x2a1b24(0x29b)](async _0x4e245f=>{const _0x234a64=_0x2a1b24,_0x527362=_0x4e245f['getUnitId'](),_0xe4dba2=await this[_0x234a64(0x165)](_0x527362);this['_entityInit$'][_0x234a64(0x360)](_0xe4dba2),this[_0x234a64(0x224)][_0x234a64(0x26f)](_0x527362,_0xe4dba2);}),_0x6aec0['merge'](this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956['UniverInstanceType']['UNIVER_DOC']),this[_0x2a1b24(0x205)][_0x2a1b24(0x33f)](_0x3f9956[_0x2a1b24(0x100)]['UNIVER_SHEET']))[_0x2a1b24(0xf7)](_0x6aec0[_0x2a1b24(0x277)](this[_0x2a1b24(0x107)]))[_0x2a1b24(0x29b)](_0x15ca92=>{const _0x3ea536=_0x2a1b24,_0x5d2756=_0x15ca92[_0x3ea536(0x3aa)](),_0x2bb1e8=this['_entities'][_0x3ea536(0x392)](_0x5d2756);_0x2bb1e8&&(_0x2bb1e8[_0x3ea536(0x14f)](),this[_0x3ea536(0x224)][_0x3ea536(0x1ce)](_0x5d2756));});}async[_0x3db0e4(0x320)](_0x31b85a){const _0x1e5caf=_0x3db0e4,_0x2eed18=await this['_collabSessionService'][_0x1e5caf(0x370)](_0x31b85a),_0x2368ac=this['_injector'][_0x1e5caf(0x212)](_0x2209c0,_0x31b85a,_0x2eed18);return _0x2368ac[_0x1e5caf(0x106)](),_0x2368ac;}async['_startDocCollabCursor'](_0x4d704e){const _0x22496a=_0x3db0e4,_0x2db301=await this['_collabSessionService']['requireSession'](_0x4d704e),_0x28e708=this['_injector']['createInstance'](_0x654d15,_0x4d704e,_0x2db301);return _0x28e708[_0x22496a(0x106)](),_0x28e708;}};_0x135bf3=_0x5bd336([_0x110cb9(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x110cb9(0x1,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x110cb9(0x2,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x240)]))],_0x135bf3);const _0x2520ce=0x14,_0x198362=0xc8,_0x27d5e3=0x4,_0x5d2659=0x5;function _0x2b9394(_0x224ca5,_0x1ccc81){const _0x2363af=_0x3db0e4;let {radius:_0x24c054,width:_0x1b245d,height:_0x5483ef}=_0x1ccc81;_0x24c054=_0x24c054!=null?_0x24c054:0x0,_0x1b245d=_0x1b245d!=null?_0x1b245d:0x1e,_0x5483ef=_0x5483ef!=null?_0x5483ef:0x1e;let _0x19221a=0x0,_0x1f3384=0x0,_0x580b56=0x0;_0x19221a=_0x1f3384=_0x580b56=Math[_0x2363af(0x37a)](_0x24c054,_0x1b245d/0x2,_0x5483ef/0x2),_0x224ca5[_0x2363af(0x232)](),_0x224ca5[_0x2363af(0x35c)](_0x19221a,0x0),_0x224ca5['lineTo'](_0x1b245d-_0x1f3384,0x0),_0x224ca5[_0x2363af(0x102)](_0x1b245d-_0x1f3384,_0x1f3384,_0x1f3384,Math['PI']*0x3/0x2,0x0,!0x1),_0x224ca5[_0x2363af(0x38a)](_0x1b245d,_0x5483ef-_0x580b56),_0x224ca5['arc'](_0x1b245d-_0x580b56,_0x5483ef-_0x580b56,_0x580b56,0x0,Math['PI']/0x2,!0x1),_0x224ca5[_0x2363af(0x38a)](0x0,_0x5483ef),_0x224ca5[_0x2363af(0x38a)](0x0,_0x19221a),_0x224ca5[_0x2363af(0x102)](_0x19221a,_0x19221a,_0x19221a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x224ca5['closePath'](),_0x1ccc81[_0x2363af(0x126)]&&(_0x224ca5['save'](),_0x224ca5[_0x2363af(0x31c)]=_0x1ccc81[_0x2363af(0x126)],_0x1ccc81[_0x2363af(0x2b9)]==='evenodd'?_0x224ca5[_0x2363af(0x126)]('evenodd'):_0x224ca5[_0x2363af(0x126)](),_0x224ca5[_0x2363af(0xfb)]());}class _0x3cfc67 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x257d21,_0x50617e){const _0x5b1a36=_0x3db0e4;super(_0x257d21,_0x50617e),_0x442022(this,'color'),_0x442022(this,_0x5b1a36(0x36e)),(this[_0x5b1a36(0x228)]=_0x50617e==null?void 0x0:_0x50617e['color'],this[_0x5b1a36(0x36e)]=_0x50617e==null?void 0x0:_0x50617e[_0x5b1a36(0x36e)]);}static['drawWith'](_0x50a91e,_0x2ea3aa){const _0xc4e0d=_0x3db0e4,{text:_0x1e7df8,color:_0x9776dd}=_0x2ea3aa;_0x50a91e[_0xc4e0d(0x12c)](),_0x50a91e['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x28220f=_0x50a91e[_0xc4e0d(0x2ec)](_0x1e7df8)[_0xc4e0d(0x2a9)],_0x6e8185=Math[_0xc4e0d(0x37a)](_0x28220f+0x2*_0x27d5e3,_0x198362);_0x2b9394(_0x50a91e,{'height':_0x2520ce,'radius':0x4,'width':_0x6e8185,'fill':_0x9776dd}),_0x50a91e[_0xc4e0d(0x31c)]=_0xc4e0d(0x1b5);const _0x5ef981=_0x27d5e3,_0x45df94=_0x2520ce-_0x5d2659,_0x4181db=_0x198362-0x2*_0x27d5e3;if(_0x28220f>_0x4181db){let _0xa1c0ff='',_0x173a23=0x0;for(const _0x299bcd of _0x1e7df8){const _0x16304f=_0x50a91e[_0xc4e0d(0x2ec)](_0x299bcd)[_0xc4e0d(0x2a9)];if(_0x173a23+_0x16304f<=_0x4181db-_0x50a91e[_0xc4e0d(0x2ec)](_0xc4e0d(0x229))[_0xc4e0d(0x2a9)])_0xa1c0ff+=_0x299bcd,_0x173a23+=_0x16304f;else{_0xa1c0ff+=_0xc4e0d(0x229);break;}}_0x50a91e['fillText'](_0xa1c0ff,_0x5ef981,_0x45df94);}else _0x50a91e[_0xc4e0d(0x18e)](_0x1e7df8,_0x5ef981,_0x45df94);_0x50a91e[_0xc4e0d(0xfb)]();}[_0x3db0e4(0x352)](_0x2a11df){_0x3cfc67['drawWith'](_0x2a11df,this);}}const _0x47c6cd=_0x3db0e4(0x1da),_0x83fd96=_0x3db0e4(0x1ad),_0x3d6617='collab-rect-range-',_0x6ff9c1=0x6,_0x25dee4=1.5,_0x23e213=0x4,_0x2303df=1.5,_0x3e49e7=_0x3db0e4(0x238);class _0x277afe{constructor(_0x4ceefd,_0x24562c,_0xb617a6,_0x107e11){const _0x3c3118=_0x3db0e4;_0x442022(this,'_shapes',[]),_0x442022(this,_0x3c3118(0x384),null),_0x442022(this,_0x3c3118(0x377),null),_0x442022(this,_0x3c3118(0x159),null),_0x442022(this,_0x3c3118(0x32a),null),_0x442022(this,'_eventUnsubscribe',null),(this[_0x3c3118(0x156)]=_0x4ceefd,this[_0x3c3118(0x11a)]=_0x24562c,this[_0x3c3118(0x348)]=_0xb617a6,this[_0x3c3118(0x199)]=_0x107e11,this[_0x3c3118(0x1cd)]());}set['_hover'](_0x1408cc){const _0x59ce66=_0x3db0e4;_0x1408cc?(this[_0x59ce66(0x159)]&&this['_anchorDot'][_0x59ce66(0x21b)](),this['_textBubble']&&this['_textBubble'][_0x59ce66(0x2c7)]()):(this[_0x59ce66(0x159)]&&this[_0x59ce66(0x159)][_0x59ce66(0x2c7)](),this[_0x59ce66(0x377)]&&this['_textBubble'][_0x59ce66(0x21b)]());}[_0x3db0e4(0x14f)](){const _0x3fa651=_0x3db0e4;for(const _0x194355 of this[_0x3fa651(0x1f9)])_0x194355['dispose']();this[_0x3fa651(0x377)]&&this['_textBubble'][_0x3fa651(0x14f)](),this[_0x3fa651(0x159)]&&this[_0x3fa651(0x159)]['dispose'](),this[_0x3fa651(0x384)]&&this[_0x3fa651(0x384)][_0x3fa651(0x14f)](),this[_0x3fa651(0x105)]&&this[_0x3fa651(0x105)]();}['_render'](){const _0xf9aa24=_0x3db0e4;var _0x1208c3;const {_docSkeleton:_0x1d09c2,_document:_0x24a222}=this,{color:_0x611a08,name:_0x484f16,ranges:_0xd7717c}=this[_0xf9aa24(0x156)],_0x3f6af4=_0x24a222[_0xf9aa24(0x1d3)](),{docsLeft:_0x2f3669,docsTop:_0x40f6ca}=_0x3f6af4,_0x3f3136=new _0xa8c85b[(_0xf9aa24(0x222))](_0x3f6af4,_0x1d09c2);for(const {startOffset:_0x15aec2,endOffset:_0x437a3,rangeType:_0x2745fd,segmentId:_0x436db7,segmentPage:_0x4e9910,collapsed:_0x23a1ee,isActive:_0x172e79}of _0xd7717c){const _0x10e658=_0x1d09c2[_0xf9aa24(0x365)](_0x15aec2,!0x0,_0x436db7,_0x4e9910);let _0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3,!0x0,_0x436db7,_0x4e9910);if(_0x3b2f39==null&&(_0x3b2f39=_0x1d09c2['findNodePositionByCharIndex'](_0x437a3-0x1,!0x1,_0x436db7,_0x4e9910)),_0x172e79){const {contentBoxPointGroup:_0x41ee81}=_0x3f3136[_0xf9aa24(0x23a)](_0x3b2f39,_0x3b2f39);if(_0x41ee81[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x104)](_0x611a08,_0x41ee81,_0x2f3669,_0x40f6ca,_0x484f16),this[_0xf9aa24(0x105)]=this[_0xf9aa24(0x326)]();}if(_0x10e658&&_0x3b2f39){if(_0x2745fd===_0x3f9956[_0xf9aa24(0x37c)]['RECT']){const _0x194761=new _0xa8c85b[(_0xf9aa24(0x315))](_0x3f6af4,_0x1d09c2),{pointGroup:_0x7784f8}=(_0x1208c3=_0x194761[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39))!=null?_0x1208c3:{};if(_0x7784f8==null||_0x7784f8[_0xf9aa24(0xf8)]===0x0)continue;this['_drawRectRange'](_0x611a08,_0x7784f8,_0x2f3669,_0x40f6ca);}else{if(!_0x23a1ee){const {borderBoxPointGroup:_0x3edf17}=_0x3f3136[_0xf9aa24(0x23a)](_0x10e658,_0x3b2f39);if(_0x3edf17[_0xf9aa24(0xf8)]===0x0)continue;this[_0xf9aa24(0x2ea)](_0x611a08,_0x3edf17,_0x2f3669,_0x40f6ca);}}}}}[_0x3db0e4(0x104)](_0x1ddcf4,_0x358d38,_0x2e361,_0x1bb62a,_0x48c66a){const _0x4961c3=_0x3db0e4,_0x475ef9=this[_0x4961c3(0x2e4)](_0x358d38),{left:_0x4538da,top:_0x196765,height:_0x49ec0f}=_0x475ef9,_0x42194a=this[_0x4961c3(0x116)](),_0x120fc8=_0x2303df/_0x42194a,_0x2bcd35=new _0x2dd116['Rect'](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a,'height':_0x49ec0f,'width':_0x25dee4,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'strokeWidth':_0x120fc8,'stroke':_0x3e49e7,'evented':!0x0});this[_0x4961c3(0x384)]=_0x2bcd35,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x2bcd35,_0xa8c85b[_0x4961c3(0x113)]);const _0x802174=new _0x2dd116[(_0x4961c3(0x207))](_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x23e213/0x2,'height':_0x23e213,'width':_0x23e213,'fill':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956['COLORS'][_0x4961c3(0x30b)],0x0),'strokeWidth':0x0,'stroke':_0x1ddcf4||_0x2dd116[_0x4961c3(0x3ac)](_0x3f9956[_0x4961c3(0x298)][_0x4961c3(0x30b)],0x0),'evented':!0x1});this[_0x4961c3(0x159)]=_0x802174,this[_0x4961c3(0x11a)][_0x4961c3(0x22f)](_0x802174,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']);const _0x479463=new _0x3cfc67(_0x47c6cd+_0x3f9956[_0x4961c3(0x17e)](_0x6ff9c1),{'left':_0x4538da+_0x2e361-_0x120fc8,'top':_0x196765+_0x1bb62a-_0x2520ce,'text':_0x48c66a,'color':_0x1ddcf4});this[_0x4961c3(0x377)]=_0x479463,this['_scene']['addObject'](_0x479463,_0xa8c85b['TEXT_RANGE_LAYER_INDEX']),this[_0x4961c3(0x12b)]=!0x1;}[_0x3db0e4(0x326)](){const _0x1b9f0c=_0x3db0e4,_0x140dc3=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x282)][_0x1b9f0c(0x1cf)](()=>{const _0x59951e=_0x1b9f0c;this[_0x59951e(0x12b)]=!0x0;}),_0x1981be=this[_0x1b9f0c(0x384)][_0x1b9f0c(0x21a)][_0x1b9f0c(0x1cf)](()=>{const _0x72e08f=_0x1b9f0c;this[_0x72e08f(0x32a)]&&clearTimeout(this['_hideTimer']),this[_0x72e08f(0x32a)]=setTimeout(()=>{const _0x2c40e0=_0x72e08f;this[_0x2c40e0(0x12b)]=!0x1;},0x7d0);});return()=>{const _0x56b0f5=_0x1b9f0c;_0x140dc3[_0x56b0f5(0x271)](),_0x1981be[_0x56b0f5(0x271)]();};}[_0x3db0e4(0x2ea)](_0x111d3c,_0x2cfe14,_0x4b01c3,_0x38fe0b){const _0x5268df=_0x3db0e4,_0xd419af=new _0x3f9956['ColorKit'](_0x111d3c)[_0x5268df(0x2c5)](0.2)[_0x5268df(0x376)](),_0xa86a32=new _0x2dd116['RegularPolygon'](_0x83fd96+_0x3f9956[_0x5268df(0x17e)](_0x6ff9c1),{'pointsGroup':_0x2cfe14,'fill':_0xd419af||_0x2dd116[_0x5268df(0x3ac)](_0x3f9956[_0x5268df(0x298)][_0x5268df(0x30b)],0.2),'left':_0x4b01c3,'top':_0x38fe0b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5268df(0x1ae)](_0xa86a32),this[_0x5268df(0x11a)][_0x5268df(0x22f)](_0xa86a32,_0xa8c85b[_0x5268df(0x113)]);}[_0x3db0e4(0x18c)](_0x53617b,_0x4bbe59,_0x444ab3,_0x331efa){const _0x597b76=_0x3db0e4,_0x3313c3=new _0x3f9956[(_0x597b76(0x1f1))](_0x53617b)['setAlpha'](0.2)[_0x597b76(0x376)](),_0xac58a3=new _0x2dd116[(_0x597b76(0x393))](_0x3d6617+_0x3f9956[_0x597b76(0x17e)](_0x6ff9c1),{'pointsGroup':_0x4bbe59,'fill':_0x3313c3||_0x2dd116[_0x597b76(0x3ac)](_0x3f9956[_0x597b76(0x298)]['black'],0.2),'left':_0x444ab3,'top':_0x331efa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x597b76(0x1f9)][_0x597b76(0x1ae)](_0xac58a3),this['_scene']['addObject'](_0xac58a3,_0xa8c85b[_0x597b76(0x113)]);}[_0x3db0e4(0x2e4)](_0x33224e){const _0x1a2e9d=_0x33224e[0x0],_0x53ce43=_0x1a2e9d[0x0],_0x497f1c=_0x1a2e9d[0x2],{x:_0x190c49,y:_0x4a2e9a}=_0x53ce43,{x:_0x391e58,y:_0x1030c1}=_0x497f1c;return{'left':_0x190c49,'top':_0x4a2e9a,'width':_0x391e58-_0x190c49,'height':_0x1030c1-_0x4a2e9a};}[_0x3db0e4(0x116)](){const _0x54fcb0=_0x3db0e4,{scaleX:_0x5ecedf,scaleY:_0x74854f}=this[_0x54fcb0(0x11a)]['getAncestorScale']();return Math[_0x54fcb0(0x12f)](_0x5ecedf,_0x74854f);}}var _0x53647e=Object['getOwnPropertyDescriptor'],_0x502c92=(_0x35707e,_0x5a42b7,_0x4d6245,_0x58b4fa)=>{const _0x5df212=_0x3db0e4;for(var _0x5702c7=_0x58b4fa>0x1?void 0x0:_0x58b4fa?_0x53647e(_0x5a42b7,_0x4d6245):_0x5a42b7,_0x202d23=_0x35707e[_0x5df212(0xf8)]-0x1,_0x4c3470;_0x202d23>=0x0;_0x202d23--)(_0x4c3470=_0x35707e[_0x202d23])&&(_0x5702c7=_0x4c3470(_0x5702c7)||_0x5702c7);return _0x5702c7;},_0x22aa03=(_0x85c973,_0x1ba9f4)=>(_0x1f50f1,_0x496768)=>_0x1ba9f4(_0x1f50f1,_0x496768,_0x85c973);let _0x5ddb20=class extends _0x3f9956[_0x3db0e4(0x17f)]{constructor(_0x14dd8f,_0xde9b9d,_0x2b8775,_0x4f049a,_0x49c9b7){const _0x121c3a=_0x3db0e4;super(),_0x442022(this,_0x121c3a(0x1ab),[]),_0x442022(this,'_cursors',[]),(this[_0x121c3a(0x3a5)]=_0x14dd8f,this['_docSkeletonManagerService']=_0xde9b9d,this[_0x121c3a(0x189)]=_0x2b8775,this[_0x121c3a(0x278)]=_0x4f049a,this['_themeService']=_0x49c9b7,this[_0x121c3a(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x21b773=_0x3db0e4,_0x1f3dc1=this['_context']['unitId'],_0x198006=this[_0x21b773(0x353)];this[_0x21b773(0x20e)](_0x6aec0[_0x21b773(0x245)]([this[_0x21b773(0x189)]['getCollabCursors$'](_0x1f3dc1),this['_themeService'][_0x21b773(0x178)]])[_0x21b773(0xf7)](_0x5f224d[_0x21b773(0x3be)](([_0x5b8cff,_0x3ba72a])=>({'skeleton':_0x198006[_0x21b773(0x29e)](),'cursors':[..._0x5b8cff[_0x21b773(0x2fd)]()][_0x21b773(0x142)](_0x2a47b5=>({..._0x2a47b5,'color':this[_0x21b773(0xf6)]['getColorFromTheme'](_0x2a47b5[_0x21b773(0x228)])}))})))[_0x21b773(0x29b)](_0x19657f=>{const _0x4d962d=_0x21b773;if(this['_removeCollabCursors'](),_0x19657f){const {skeleton:_0x5a8dc5,cursors:_0x462d64}=_0x19657f;this[_0x4d962d(0x1bb)](_0x5a8dc5,_0x462d64);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x45c6b6,_0x5c73dc){const _0x3bc559=_0x3db0e4,{scene:_0x234fd1,mainComponent:_0xe559fd}=this[_0x3bc559(0x3a5)],_0x2e6a5b=_0x5c73dc[_0x3bc559(0x3be)](_0x2e2b67=>new _0x277afe(_0x2e2b67,_0x234fd1,_0x45c6b6,_0xe559fd));this[_0x3bc559(0x1ab)]=_0x2e6a5b,this[_0x3bc559(0x387)]=_0x5c73dc;}[_0x3db0e4(0x307)](){const _0x29bc3e=_0x3db0e4;this['_removeCollabCursors']();const {scene:_0x3151f4,mainComponent:_0x191575}=this[_0x29bc3e(0x3a5)],_0xb82f01=this[_0x29bc3e(0x353)][_0x29bc3e(0x29e)](),_0x29af73=this[_0x29bc3e(0x387)][_0x29bc3e(0x3be)](_0x4f91b3=>new _0x277afe(_0x4f91b3,_0x3151f4,_0xb82f01,_0x191575));this[_0x29bc3e(0x1ab)]=_0x29af73;}[_0x3db0e4(0x31e)](){const _0x7c2e43=_0x3db0e4;this[_0x7c2e43(0x1ab)][_0x7c2e43(0x29f)](_0x25368e=>_0x25368e[_0x7c2e43(0x14f)]()),this[_0x7c2e43(0x1ab)]=[];}['_initCommandExecutedListener'](){const _0x10eabc=_0x3db0e4,_0x5dd624=[_0xa8c85b['SetDocZoomRatioOperation']['id']];this[_0x10eabc(0x20e)](this[_0x10eabc(0x278)][_0x10eabc(0x14d)](_0x4ab165=>{const _0x46e042=_0x10eabc;_0x5dd624[_0x46e042(0x357)](_0x4ab165['id'])&&_0x4ab165[_0x46e042(0x176)]['unitId']===this['_context']['unitId']&&this[_0x46e042(0x307)]();}));}[_0x3db0e4(0x185)](){const _0x46fc99=_0x3db0e4;this[_0x46fc99(0x20e)](_0x3f9956[_0x46fc99(0x327)](this['_context'][_0x46fc99(0xf9)][_0x46fc99(0x286)])[_0x46fc99(0xf7)](_0x5f224d[_0x46fc99(0x1ba)](_0x6073fb=>_0x6073fb[_0x46fc99(0x3a0)]===_0x2dd116[_0x46fc99(0x291)][_0x46fc99(0x311)]),_0x5f224d[_0x46fc99(0x2df)](0x10))[_0x46fc99(0x29b)](()=>{const _0x35542f=_0x46fc99;this[_0x35542f(0x307)]();}));}};_0x5ddb20=_0x502c92([_0x22aa03(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x333572[_0x3db0e4(0x108)])),_0x22aa03(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x22aa03(0x3,_0x3f9956[_0x3db0e4(0x30c)]),_0x22aa03(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956['ThemeService']))],_0x5ddb20);const _0x23fe97=0x1,_0x5baae7=1.5;class _0x187ac5 extends _0x2dd116[_0x3db0e4(0x1e7)]{constructor(_0x524c01,_0x188b80){const _0x171afc=_0x3db0e4;super(_0x524c01,_0x188b80),_0x442022(this,'_color'),_0x442022(this,_0x171afc(0x2cf),!0x1),_0x442022(this,_0x171afc(0x139)),_0x442022(this,_0x171afc(0x2e7),''),_0x442022(this,'_labelPosition',_0x171afc(0x2a3)),_0x442022(this,_0x171afc(0x2b0)),(_0x188b80&&this[_0x171afc(0x399)](_0x188b80),this[_0x171afc(0x282)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x171afc(0x21a)][_0x171afc(0x1cf)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x33ec40){const _0xf86177=_0x3db0e4;var _0x11630a,_0x429385,_0x5b4f69,_0x48e7df,_0x1b9527,_0xad16f3;this[_0xf86177(0x190)]=(_0x11630a=_0x33ec40[_0xf86177(0x228)])!=null?_0x11630a:this[_0xf86177(0x190)],this[_0xf86177(0x2cf)]=(_0x429385=_0x33ec40[_0xf86177(0x132)])!=null?_0x429385:this[_0xf86177(0x2cf)],this['_range']=(_0x5b4f69=_0x33ec40['range'])!=null?_0x5b4f69:this[_0xf86177(0x139)],this[_0xf86177(0x2e7)]=(_0x48e7df=_0x33ec40[_0xf86177(0x17d)])!=null?_0x48e7df:this[_0xf86177(0x2e7)],this[_0xf86177(0x128)]=(_0x1b9527=_0x33ec40[_0xf86177(0x35d)])!=null?_0x1b9527:this[_0xf86177(0x128)],this['_backgroundColor']=(_0xad16f3=_0x33ec40[_0xf86177(0x1dd)])!=null?_0xad16f3:this[_0xf86177(0x2b0)],this['transformByState']({'width':_0x33ec40['width'],'height':_0x33ec40[_0xf86177(0x3ae)]});}[_0x3db0e4(0x325)](_0x40038f){const _0x5251c1=_0x3db0e4,{row:_0x369a6f,column:_0x40a04f}=_0x40038f;if(_0x369a6f>=this[_0x5251c1(0x139)][_0x5251c1(0x16c)]&&_0x369a6f<=this['_range']['endRow']&&_0x40a04f>=this['_range'][_0x5251c1(0x14c)]&&_0x40a04f<=this[_0x5251c1(0x139)]['endColumn']){this[_0x5251c1(0x399)]({'hovered':!0x0});return;}this[_0x5251c1(0x399)]({'hovered':!0x1});}[_0x3db0e4(0x1c1)](_0x5563f2){return!0x1;}[_0x3db0e4(0x352)](_0x197081){const _0x50d399=_0x3db0e4;_0x2dd116[_0x50d399(0x207)]['drawWith'](_0x197081,{'width':this['width'],'height':this[_0x50d399(0x3ae)],'strokeWidth':_0x5baae7,'stroke':this[_0x50d399(0x190)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x197081[_0x50d399(0x12c)](),_0x197081[_0x50d399(0x2cb)](0x1,0x0,0x0,0x1,this[_0x50d399(0x2a9)],this[_0x50d399(0x128)]===_0x50d399(0x12a)?0x0:-_0x2520ce),_0x3cfc67[_0x50d399(0x38c)](_0x197081,{'text':this[_0x50d399(0x2e7)],'color':this[_0x50d399(0x190)]}),_0x197081[_0x50d399(0xfb)]());}}var _0x460587=Object['getOwnPropertyDescriptor'],_0x4d587a=(_0xe39d36,_0x38bcb9,_0x344ec8,_0x2f17c9)=>{const _0x847cdd=_0x3db0e4;for(var _0x51a460=_0x2f17c9>0x1?void 0x0:_0x2f17c9?_0x460587(_0x38bcb9,_0x344ec8):_0x38bcb9,_0x3c8ac6=_0xe39d36[_0x847cdd(0xf8)]-0x1,_0x3bea8e;_0x3c8ac6>=0x0;_0x3c8ac6--)(_0x3bea8e=_0xe39d36[_0x3c8ac6])&&(_0x51a460=_0x3bea8e(_0x51a460)||_0x51a460);return _0x51a460;},_0x33e2f5=(_0x4ad611,_0x3be8ab)=>(_0x173d62,_0x36241a)=>_0x3be8ab(_0x173d62,_0x36241a,_0x4ad611);const _0x35efc7=0x1389;let _0x345a73=class extends _0x3f9956['RxDisposable']{constructor(_0x4939e1,_0x1083ca,_0x2e1063,_0x50b54b){const _0x60800d=_0x3db0e4;super(),_0x442022(this,_0x60800d(0x387),new Set()),_0x442022(this,_0x60800d(0x221),null),(this[_0x60800d(0x3a5)]=_0x4939e1,this[_0x60800d(0x18b)]=_0x1083ca,this['_collabCursorController']=_0x2e1063,this[_0x60800d(0xf6)]=_0x50b54b,this[_0x60800d(0x18a)]());}[_0x3db0e4(0x18a)](){const _0x5bf2fb=_0x3db0e4;this['_sheetSkeletonManagerService'][_0x5bf2fb(0x27b)][_0x5bf2fb(0xf7)](_0x5f224d['takeUntil'](this[_0x5bf2fb(0x107)]),_0x5f224d[_0x5bf2fb(0x2dc)](_0x3f318d=>{const _0x2921c8=_0x5bf2fb;if(_0x3f318d){const _0x549a94=_0x3f318d[_0x2921c8(0x1ea)];return _0x6aec0[_0x2921c8(0x245)](this[_0x2921c8(0x189)]['getCollabCursors$'](this[_0x2921c8(0x3a5)][_0x2921c8(0x2bc)]),this[_0x2921c8(0xf6)]['currentTheme$'])[_0x2921c8(0xf7)](_0x5f224d[_0x2921c8(0x3be)](([_0x149737,_0x3e9cda])=>{const _0x48460c=_0x2921c8,_0x22d7f9=new Map();return _0x149737[_0x48460c(0x29f)]((_0x31bf1e,_0x1778a2)=>{const _0x2ed6bb=_0x48460c;if(_0x31bf1e['sheetID']===_0x549a94){const _0x3d86a8={..._0x31bf1e};_0x3d86a8['color']=this[_0x2ed6bb(0xf6)][_0x2ed6bb(0x249)](_0x31bf1e[_0x2ed6bb(0x228)]),_0x22d7f9[_0x2ed6bb(0x26f)](_0x1778a2,_0x3d86a8);}}),{'skeleton':_0x3f318d,'cursors':_0x22d7f9};}));}return _0x6aec0['of']({'skeleton':null,'cursors':new Map()});}))[_0x5bf2fb(0x29b)](({skeleton:_0x39f165,cursors:_0x5b2f62})=>{this['_removeCollabCursors'](),_0x39f165&&this['_updateCollabCursors'](_0x39f165,_0x5b2f62);}),this[_0x5bf2fb(0x18b)][_0x5bf2fb(0x27b)]['subscribe'](_0x4485ae=>{const _0x5e8d44=_0x5bf2fb;if(_0x4485ae==null)return;const {skeleton:_0x385a31}=_0x4485ae,{scene:_0x2e62c9}=this['_context'];_0x2e62c9['onPointerMove$'][_0x5e8d44(0x1cf)](_0x3f9956[_0x5e8d44(0x145)](_0x36f32c=>{const _0x5b1285=_0x5e8d44;var _0x3bf83d,_0x15ff10;const {offsetX:_0x33142f,offsetY:_0x4d1191}=_0x36f32c,{x:_0x58f858,y:_0x3de357}=_0x2e62c9[_0x5b1285(0x2d4)](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x33142f,_0x4d1191])),{scaleX:_0x2cf713,scaleY:_0x5b48cd}=_0x2e62c9[_0x5b1285(0x2cc)](),_0x32964d=_0x2e62c9[_0x5b1285(0x1c7)](_0x2dd116[_0x5b1285(0x1fd)][_0x5b1285(0x1c9)]),_0x492945=_0x2e62c9['getVpScrollXYInfoByPosToVp'](_0x2dd116[_0x5b1285(0x28e)]['FromArray']([_0x58f858,_0x3de357]),_0x32964d),_0x20fe84=_0x385a31[_0x5b1285(0x3b0)](_0x33142f,_0x4d1191,_0x2cf713,_0x5b48cd,_0x492945);((_0x3bf83d=this[_0x5b1285(0x221)])==null?void 0x0:_0x3bf83d[_0x5b1285(0x1bc)])===_0x20fe84[_0x5b1285(0x1bc)]&&((_0x15ff10=this['_lastPointer'])==null?void 0x0:_0x15ff10['row'])===_0x20fe84[_0x5b1285(0x14e)]||this[_0x5b1285(0x387)]['forEach'](_0x164382=>{const _0x2c49cf=_0x5b1285;_0x164382[_0x2c49cf(0x325)](_0x20fe84);});},0x64));});}[_0x3db0e4(0x1bb)](_0x345e0e,_0x2c6a4c){const _0x357457=_0x3db0e4;var _0x43c82b;const _0x3376e3=(_0x43c82b=this['_sheetSkeletonManagerService'][_0x357457(0x1f0)]())==null?void 0x0:_0x43c82b[_0x357457(0x19e)];if(!_0x3376e3)return;const _0x11bc7f=this[_0x357457(0x1a7)]();if(!_0x11bc7f)return;this[_0x357457(0x387)][_0x357457(0x29f)](_0x12ca05=>{const _0x1f8ec2=_0x357457;_0x12ca05[_0x1f8ec2(0x2a4)]();});const {scene:_0x1d1a6b}=_0x11bc7f,_0x45fc33=_0x210956(Array['from'](_0x2c6a4c[_0x357457(0x2fd)]()))[_0x357457(0x3be)](_0x3a64a0=>{const _0x32d31d=_0x357457,{color:_0x14c268,range:_0x597b24,name:_0x4cd933,selection:_0x50545f,sheetID:_0x4cb0be}=_0x3a64a0,{startColumn:_0x38f656,startRow:_0x50fc8d,endColumn:_0x376091,endRow:_0x372376}=_0x597b24,_0x3fd4f4=_0x52f894['getCoordByCell'](_0x50fc8d,_0x38f656,_0x1d1a6b,_0x3376e3),_0x3765b3=_0x52f894[_0x32d31d(0x1e1)](_0x372376,_0x376091,_0x1d1a6b,_0x3376e3),{columnHeaderHeightAndMarginTop:_0x446ccb}=_0x3376e3,{startX:_0x150801,startY:_0x4c5bad}=_0x3fd4f4,{endX:_0x26d197,endY:_0x208405}=_0x3765b3,_0x6daff2=_0x26d197-_0x150801,_0x1e5b9a=_0x208405-_0x4c5bad,_0x49d68a={'labelPosition':_0x4c5bad-_0x446ccb>=_0x2520ce?_0x32d31d(0x2a3):'bottom','sheetID':_0x4cb0be,'range':_0x597b24,'color':_0x14c268,'name':_0x4cd933,'selection':_0x50545f,'left':_0x150801,'top':_0x4c5bad,'width':_0x6daff2,'height':_0x1e5b9a,'evented':!0x1,'zIndex':_0x35efc7};return new _0x187ac5(_0x4cd933,_0x49d68a);});_0x1d1a6b[_0x357457(0x226)](_0x45fc33,_0x23fe97),this[_0x357457(0x387)]=new Set(_0x45fc33);}[_0x3db0e4(0x31e)](){const _0x299dcc=_0x3db0e4;var _0x51bcef;(_0x51bcef=this['_cursors'])==null||_0x51bcef[_0x299dcc(0x29f)](_0x21edae=>_0x21edae[_0x299dcc(0x14f)]());}[_0x3db0e4(0x1a7)](){const _0x4a7d4c=_0x3db0e4;return _0x52f894['getSheetObject'](this[_0x4a7d4c(0x3a5)][_0x4a7d4c(0x10d)],this[_0x4a7d4c(0x3a5)]);}};_0x345a73=_0x4d587a([_0x33e2f5(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x52f894[_0x3db0e4(0x168)])),_0x33e2f5(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x135bf3)),_0x33e2f5(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x34e)]))],_0x345a73);function _0x210956(_0x3b46e4){const _0x5b19d3=_0x3db0e4,_0x45b720=new Map();return _0x3b46e4['forEach'](_0x684097=>{const _0x53369a=_0x4227;if(_0x45b720['has'](_0x684097[_0x53369a(0x22e)])){const _0x17129d=_0x45b720[_0x53369a(0x392)](_0x684097[_0x53369a(0x22e)]);_0x17129d[_0x53369a(0x17d)]+=',\x20'+_0x684097[_0x53369a(0x17d)];}else _0x45b720[_0x53369a(0x26f)](_0x684097[_0x53369a(0x22e)],_0x684097);}),Array[_0x5b19d3(0x1eb)](_0x45b720[_0x5b19d3(0x2fd)]());}var _0x152096=Object[_0x3db0e4(0x2d1)],_0x2e2882=(_0x5ac21c,_0x2ea889,_0x390128,_0x5ecf08)=>{const _0x599dcf=_0x3db0e4;for(var _0x54beea=_0x5ecf08>0x1?void 0x0:_0x5ecf08?_0x152096(_0x2ea889,_0x390128):_0x2ea889,_0x57b551=_0x5ac21c[_0x599dcf(0xf8)]-0x1,_0x5aafba;_0x57b551>=0x0;_0x57b551--)(_0x5aafba=_0x5ac21c[_0x57b551])&&(_0x54beea=_0x5aafba(_0x54beea)||_0x54beea);return _0x54beea;},_0x2e1a14=(_0x4c8c03,_0x577e63)=>(_0x2519a6,_0x2e0e4e)=>_0x577e63(_0x2519a6,_0x2e0e4e,_0x4c8c03);let _0x395203=class extends _0x3f9956['Disposable']{constructor(_0x4b6f84,_0x2dab8b,_0x264405,_0x1d04f2,_0x3fe77a,_0x5dc6e5){const _0x2c0479=_0x3db0e4;super(),this[_0x2c0479(0x33c)]=_0x4b6f84,this[_0x2c0479(0x3ab)]=_0x2dab8b,this[_0x2c0479(0x339)]=_0x264405,this[_0x2c0479(0x174)]=_0x1d04f2,this[_0x2c0479(0x258)]=_0x3fe77a,this['_localeService']=_0x5dc6e5,this[_0x2c0479(0x269)](),this['_initEvent']();}[_0x3db0e4(0x269)](){const _0x31b8c4=_0x3db0e4;this[_0x31b8c4(0x20e)](this[_0x31b8c4(0x33c)][_0x31b8c4(0x110)](()=>{const _0x203a4a=_0x31b8c4;if(this[_0x203a4a(0x3ab)][_0x203a4a(0x344)][_0x203a4a(0x137)])return this[_0x203a4a(0x359)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3db0e4(0x1e9)](){const _0x3375cb=_0x3db0e4;this[_0x3375cb(0x20e)](this[_0x3375cb(0x339)][_0x3375cb(0x248)][_0x3375cb(0x29b)](_0x593d8e=>{const _0x1170d7=_0x3375cb;_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x17b)]&&this['_messageService'][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t']('collaboration.single-unit.warning')}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x236)]&&this[_0x1170d7(0x174)]['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x345))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x1be)]&&this[_0x1170d7(0x258)][_0x1170d7(0x2c7)]({'title':this[_0x1170d7(0x359)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x1170d7(0x235),'duration':0x0}),_0x593d8e['id']===_0x184317['CollaborationUIEventId'][_0x1170d7(0x1b8)]&&this['_messageService']['show']({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('collaboration.closeRoom')+'('+_0x593d8e['data']+')'}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x138)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x593d8e['data']||'')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED_RETRY']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x203)],'content':this[_0x1170d7(0x359)]['t'](_0x1170d7(0x3a9))}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)]['SOCKET_FAILED']&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this[_0x1170d7(0x359)]['t']('session.connection-failed')}),_0x593d8e['id']===_0x184317[_0x1170d7(0x1c0)][_0x1170d7(0x241)]&&this[_0x1170d7(0x174)][_0x1170d7(0x2c7)]({'type':_0x3fc7ae[_0x1170d7(0x25c)][_0x1170d7(0x136)],'content':this['_localeService']['t'](_0x1170d7(0x383))});}));}};_0x395203=_0x2e2882([_0x2e1a14(0x0,_0x26d040[_0x3db0e4(0x1d5)]),_0x2e1a14(0x1,_0x184317['ILocalCacheService']),_0x2e1a14(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x184317[_0x3db0e4(0x2db)])),_0x2e1a14(0x3,_0x26d040[_0x3db0e4(0x30a)]),_0x2e1a14(0x4,_0x26d040[_0x3db0e4(0x25d)]),_0x2e1a14(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x395203);const _0x512303=_0x3db0e4(0x3c5),_0xd1a49e={};var _0x3cd354=Object[_0x3db0e4(0x2d1)],_0x1854a0=(_0x55d2e2,_0x3a87b1,_0x24c6d3,_0x4c7305)=>{const _0x18b3a1=_0x3db0e4;for(var _0x391a8b=_0x4c7305>0x1?void 0x0:_0x4c7305?_0x3cd354(_0x3a87b1,_0x24c6d3):_0x3a87b1,_0x23732f=_0x55d2e2[_0x18b3a1(0xf8)]-0x1,_0x52543f;_0x23732f>=0x0;_0x23732f--)(_0x52543f=_0x55d2e2[_0x23732f])&&(_0x391a8b=_0x52543f(_0x391a8b)||_0x391a8b);return _0x391a8b;},_0x3ba674=(_0x450de0,_0x4aae30)=>(_0x3d4bcb,_0x32a621)=>_0x4aae30(_0x3d4bcb,_0x32a621,_0x450de0);let _0x36ef44=class{constructor(_0x5a391a,_0x84df47){const _0x397490=_0x3db0e4;this[_0x397490(0x2da)]=_0x5a391a,this[_0x397490(0x1e4)]=_0x84df47;}['transformIMECache'](_0x9e10d5){const _0x24328d=_0x3db0e4;this[_0x24328d(0x1d8)](_0x9e10d5),this[_0x24328d(0x3c2)](_0x9e10d5);}[_0x3db0e4(0x23e)](_0x5e125a){const _0x4729ab=_0x3db0e4,{unitID:_0x22122b}=_0x5e125a,_0x5725bd=this[_0x4729ab(0x1e4)]['getRenderById'](_0x22122b)['with'](_0xa8c85b[_0x4729ab(0x150)]),{redoCache:_0x1faa63}=_0x5725bd[_0x4729ab(0x2ff)]();if(_0x1faa63[_0x4729ab(0xf8)]===0x0)return _0x5e125a;let _0x1bf5a2=_0x3f9956[_0x4729ab(0x38e)]['deepClone'](_0x5e125a['mutations'][0x0]);for(let _0x50a675=0x0;_0x50a675<_0x1faa63['length'];_0x50a675++){const _0x2a2ea6={'id':_0x4729ab(0x260),'params':{..._0x1faa63[_0x50a675]}},_0x194ab9=this['_transformService'][_0x4729ab(0x2eb)](_0x1bf5a2,_0x2a2ea6,!0x1);if(_0x2de7d2[_0x4729ab(0x18d)](_0x194ab9))throw _0x194ab9['error'];_0x1bf5a2=_0x194ab9[_0x4729ab(0x19d)];}return{..._0x3f9956[_0x4729ab(0x38e)][_0x4729ab(0x366)](_0x5e125a),'mutations':[_0x1bf5a2]};}[_0x3db0e4(0x1d8)](_0x414ea1){const _0x18a546=_0x3db0e4,{unitID:_0x5a82e4}=_0x414ea1,_0x45e8cd=this[_0x18a546(0x1e4)][_0x18a546(0x12d)](_0x5a82e4)['with'](_0xa8c85b[_0x18a546(0x150)]),{undoCache:_0x3d5b1c,redoCache:_0x409001}=_0x45e8cd[_0x18a546(0x2ff)]();if(_0x3d5b1c['length']===0x0||_0x409001[_0x18a546(0xf8)]===0x0)return;const _0x8c1b78=[],_0x3c317a=[];let _0x369e18=_0x3f9956['Tools'][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]),_0xf1d735=_0x3f9956[_0x18a546(0x38e)][_0x18a546(0x366)](_0x414ea1[_0x18a546(0x2d9)][0x0]);for(let _0x3fffb3=_0x3d5b1c['length']-0x1;_0x3fffb3>=0x0;_0x3fffb3--){const _0x8714fa={'id':_0x18a546(0x260),'params':{..._0x3d5b1c[_0x3fffb3]}},_0x13ef6a={'id':_0x18a546(0x260),'params':{..._0x409001[_0x3fffb3]}},_0x6d826=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0x369e18,_0x8714fa,!0x1),_0xf8b48c=this[_0x18a546(0x2da)][_0x18a546(0x2eb)](_0xf1d735,_0x13ef6a,!0x1);if(_0x2de7d2[_0x18a546(0x18d)](_0x6d826))throw _0x6d826[_0x18a546(0x235)];if(_0x2de7d2['isTransformMutationFailure'](_0xf8b48c))throw _0xf8b48c[_0x18a546(0x235)];_0x8c1b78['unshift'](_0x6d826['m2Prime'][_0x18a546(0x176)]),_0x3c317a[_0x18a546(0x177)](_0xf8b48c[_0x18a546(0x333)]['params']),_0x369e18=_0x6d826[_0x18a546(0x19d)],_0xf1d735=_0xf8b48c[_0x18a546(0x19d)];}_0x45e8cd['setUndoRedoMutationParamsCache']({'undoCache':_0x8c1b78,'redoCache':_0x3c317a});}[_0x3db0e4(0x3c2)](_0x59c2d0){const _0x536d32=_0x3db0e4,{unitID:_0x57471c}=_0x59c2d0,_0x1ed94f=this['_renderManagerService'][_0x536d32(0x12d)](_0x57471c)[_0x536d32(0x395)](_0xa8c85b[_0x536d32(0x150)]),_0x1a1c94=_0x1ed94f[_0x536d32(0x28f)]();if(_0x1a1c94==null)return;const _0x27b48c=[{'id':_0x536d32(0x260),'params':{'unitId':_0x59c2d0[_0x536d32(0x297)],'actions':null,'textRanges':[_0x1a1c94]}}],_0x2a7b22=this[_0x536d32(0x2da)][_0x536d32(0x385)](_0x59c2d0,_0x27b48c);if(!_0x2de7d2[_0x536d32(0x369)](_0x2a7b22))throw _0x2a7b22['error'];const _0xe00fee=_0x2a7b22[_0x536d32(0x333)][0x0][_0x536d32(0x176)][_0x536d32(0x2c2)];Array[_0x536d32(0x37e)](_0xe00fee)&&_0xe00fee[_0x536d32(0xf8)]&&_0x1ed94f[_0x536d32(0x2ad)](_0xe00fee[0x0]);}};_0x36ef44=_0x1854a0([_0x3ba674(0x0,_0x2de7d2['ITransformService']),_0x3ba674(0x1,_0x2dd116['IRenderManagerService'])],_0x36ef44);var _0x15cea0=Object[_0x3db0e4(0x2d1)],_0x592019=(_0x587ddc,_0x4e061b,_0x53b522,_0x1866b4)=>{const _0x3c1841=_0x3db0e4;for(var _0x19ae5e=_0x1866b4>0x1?void 0x0:_0x1866b4?_0x15cea0(_0x4e061b,_0x53b522):_0x4e061b,_0x4933eb=_0x587ddc[_0x3c1841(0xf8)]-0x1,_0x7f5240;_0x4933eb>=0x0;_0x4933eb--)(_0x7f5240=_0x587ddc[_0x4933eb])&&(_0x19ae5e=_0x7f5240(_0x19ae5e)||_0x19ae5e);return _0x19ae5e;},_0x5f42e6=(_0x54fada,_0x4958bc)=>(_0x3c8ce7,_0x4d0669)=>_0x4958bc(_0x3c8ce7,_0x4d0669,_0x54fada);let _0x548941=class{constructor(_0x181f5b,_0x522514,_0x469993){this['_injector']=_0x181f5b,this['_transformService']=_0x522514,this['_docStateChangeManagerService']=_0x469993;}[_0x3db0e4(0x2ee)](_0x12772e){const _0x681f4a=_0x3db0e4;this[_0x681f4a(0x35a)](_0x12772e);}[_0x3db0e4(0x23e)](_0x299656){const _0xe5849b=_0x3db0e4,{unitID:_0x1dc15c}=_0x299656,{collaboration:_0x1f8f9c}=this['_docStateChangeManagerService']['getStateCache'](_0x1dc15c);if(_0x1f8f9c[_0xe5849b(0xf8)]===0x0)return _0x299656;let _0x272b37=_0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656[_0xe5849b(0x2d9)][0x0]);for(let _0x19db00=0x0;_0x19db00<_0x1f8f9c[_0xe5849b(0xf8)];_0x19db00++){const _0x5ed8d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f8f9c[_0x19db00][_0xe5849b(0x2bc)],..._0x1f8f9c[_0x19db00][_0xe5849b(0x2af)]}},_0x40fa04=this[_0xe5849b(0x2da)][_0xe5849b(0x2eb)](_0x272b37,_0x5ed8d5,!0x1);if(_0x2de7d2[_0xe5849b(0x18d)](_0x40fa04))throw _0x40fa04['error'];_0x272b37=_0x40fa04['m1Prime'];}return{..._0x3f9956[_0xe5849b(0x38e)][_0xe5849b(0x366)](_0x299656),'mutations':[_0x272b37]};}[_0x3db0e4(0x35a)](_0x84fd74){const _0x5aa285=_0x3db0e4,{unitID:_0x205e51}=_0x84fd74,{history:_0x59f050,collaboration:_0x29d122}=this[_0x5aa285(0x2b3)][_0x5aa285(0x24e)](_0x205e51);if(_0x59f050[_0x5aa285(0xf8)]===0x0&&_0x29d122['length']===0x0)return;const _0x4ed5ff=[],_0x4f84e5=[];let _0x46cca1=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)][_0x5aa285(0x366)](_0x84fd74['mutations'][0x0]);for(let _0x3296d5=_0x59f050[_0x5aa285(0xf8)]-0x1;_0x3296d5>=0x0;_0x3296d5--){const _0x45dc86={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5][_0x5aa285(0x290)]}},_0x5b2c9e={'id':_0x5aa285(0x260),'params':{'unitId':_0x59f050[_0x3296d5][_0x5aa285(0x2bc)],..._0x59f050[_0x3296d5]['redoState']}},_0x46e770=this['_transformService'][_0x5aa285(0x2eb)](_0x46cca1,_0x45dc86,!0x1),_0x315d64=this[_0x5aa285(0x2da)][_0x5aa285(0x2eb)](_0x56e0da,_0x5b2c9e,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x46e770))throw _0x46e770[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0x315d64))throw _0x315d64[_0x5aa285(0x235)];_0x4ed5ff[_0x5aa285(0x177)]({..._0x59f050[_0x3296d5],'undoState':_0x46e770['m2Prime'][_0x5aa285(0x176)],'redoState':_0x315d64[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x46e770[_0x5aa285(0x19d)],_0x56e0da=_0x315d64[_0x5aa285(0x19d)];}_0x46cca1=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]),_0x56e0da=_0x3f9956[_0x5aa285(0x38e)]['deepClone'](_0x84fd74[_0x5aa285(0x2d9)][0x0]);for(let _0x36ea2a=_0x29d122[_0x5aa285(0xf8)]-0x1;_0x36ea2a>=0x0;_0x36ea2a--){const _0x1c0fb6={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x290)]}},_0x48c2c1={'id':_0x5aa285(0x260),'params':{'unitId':_0x29d122[_0x36ea2a][_0x5aa285(0x2bc)],..._0x29d122[_0x36ea2a][_0x5aa285(0x2af)]}},_0x16c159=this[_0x5aa285(0x2da)]['transformMutation'](_0x46cca1,_0x1c0fb6,!0x1),_0xb9d0bc=this['_transformService'][_0x5aa285(0x2eb)](_0x56e0da,_0x48c2c1,!0x1);if(_0x2de7d2['isTransformMutationFailure'](_0x16c159))throw _0x16c159[_0x5aa285(0x235)];if(_0x2de7d2[_0x5aa285(0x18d)](_0xb9d0bc))throw _0xb9d0bc[_0x5aa285(0x235)];_0x4f84e5[_0x5aa285(0x177)]({..._0x29d122[_0x36ea2a],'undoState':_0x16c159[_0x5aa285(0x333)]['params'],'redoState':_0xb9d0bc[_0x5aa285(0x333)][_0x5aa285(0x176)]}),_0x46cca1=_0x16c159[_0x5aa285(0x19d)],_0x56e0da=_0xb9d0bc[_0x5aa285(0x19d)];}this[_0x5aa285(0x2b3)]['setStateCache'](_0x205e51,{'history':_0x4ed5ff,'collaboration':_0x4f84e5});}};_0x548941=_0x592019([_0x5f42e6(0x0,_0x3f9956['Inject'](_0x3f9956[_0x3db0e4(0x39d)])),_0x5f42e6(0x1,_0x2de7d2[_0x3db0e4(0x281)]),_0x5f42e6(0x2,_0x3f9956['Inject'](_0xa8c85b['DocStateChangeManagerService']))],_0x548941);var _0x5025bc=Object[_0x3db0e4(0x2d1)],_0x2a9bd5=(_0x3e13a7,_0x2bf32f,_0x4441bd,_0x48263c)=>{const _0x277239=_0x3db0e4;for(var _0x31ea98=_0x48263c>0x1?void 0x0:_0x48263c?_0x5025bc(_0x2bf32f,_0x4441bd):_0x2bf32f,_0x43253c=_0x3e13a7[_0x277239(0xf8)]-0x1,_0x450f3b;_0x43253c>=0x0;_0x43253c--)(_0x450f3b=_0x3e13a7[_0x43253c])&&(_0x31ea98=_0x450f3b(_0x31ea98)||_0x31ea98);return _0x31ea98;},_0x592d50=(_0x14bc60,_0x13a2c8)=>(_0x25f686,_0x4ce00b)=>_0x13a2c8(_0x25f686,_0x4ce00b,_0x14bc60);let _0x5573a9=class{constructor(_0x1963a5,_0x378956){const _0x26d9a3=_0x3db0e4;this[_0x26d9a3(0x15f)]=_0x1963a5,this[_0x26d9a3(0x2da)]=_0x378956;}[_0x3db0e4(0x119)](_0x760079){const _0x137678=_0x3db0e4;var _0x32a9b2;const _0x2af304=this['_injector']['get'](_0x333572['DocSelectionManagerService']),_0x31ce1c=(_0x32a9b2=_0x2af304[_0x137678(0x1ac)]())!=null?_0x32a9b2:[];if(_0x31ce1c['length']===0x0)return;const _0x17dd5c=_0x760079[_0x137678(0x297)],_0x3c5e54=[{'id':_0x137678(0x260),'params':{'unitId':_0x17dd5c,'actions':null,'textRanges':_0x31ce1c}}],_0x459e04=this[_0x137678(0x2da)][_0x137678(0x385)](_0x760079,_0x3c5e54);if(!_0x2de7d2['isTransformMutationsWithChangesetSuccess'](_0x459e04))throw _0x459e04[_0x137678(0x235)];const _0x21807d=_0x459e04[_0x137678(0x333)][0x0][_0x137678(0x176)]['textRanges'];Array[_0x137678(0x37e)](_0x21807d)&&_0x21807d['length']&&_0x2af304[_0x137678(0x36b)](_0x21807d,{'unitId':_0x17dd5c,'subUnitId':_0x17dd5c},!0x1);}};_0x5573a9=_0x2a9bd5([_0x592d50(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x592d50(0x1,_0x2de7d2[_0x3db0e4(0x281)])],_0x5573a9);var _0x38d5eb=Object[_0x3db0e4(0x2d1)],_0x4fa85e=(_0x6be0c7,_0x329559,_0x645c4d,_0x4c22f4)=>{const _0x39335b=_0x3db0e4;for(var _0x383110=_0x4c22f4>0x1?void 0x0:_0x4c22f4?_0x38d5eb(_0x329559,_0x645c4d):_0x329559,_0x342f84=_0x6be0c7[_0x39335b(0xf8)]-0x1,_0x1de3e3;_0x342f84>=0x0;_0x342f84--)(_0x1de3e3=_0x6be0c7[_0x342f84])&&(_0x383110=_0x1de3e3(_0x383110)||_0x383110);return _0x383110;},_0x45f415=(_0x2512fc,_0x455dc7)=>(_0x20c5af,_0x349fec)=>_0x455dc7(_0x20c5af,_0x349fec,_0x2512fc);let _0x1f68e4=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x3605cd,_0x589df7,_0x1055ab,_0x1d2e7c,_0x59cea2,_0x50f9a7,_0x2e19d8,_0x41061d){const _0x448d83=_0x3db0e4;super(),_0x442022(this,'_status$',new _0x6aec0[(_0x448d83(0x154))](_0x184317[_0x448d83(0x371)][_0x448d83(0x11b)])),(this[_0x448d83(0x2b3)]=_0x3605cd,this['_collaborationController']=_0x589df7,this[_0x448d83(0x391)]=_0x1055ab,this['_docTransformStateCacheService']=_0x1d2e7c,this[_0x448d83(0x1f7)]=_0x59cea2,this['_docSyncEditingCollabCursorService']=_0x50f9a7,this[_0x448d83(0x174)]=_0x2e19d8,this[_0x448d83(0x359)]=_0x41061d,this[_0x448d83(0xfc)]());}[_0x3db0e4(0xfc)](){const _0x3d8fc5=_0x3db0e4;this[_0x3d8fc5(0x20e)](this[_0x3d8fc5(0x34a)][_0x3d8fc5(0x3a6)][_0x3d8fc5(0x29b)](_0x55c1a0=>{const _0x5e535d=_0x3d8fc5,_0x79d48f=this[_0x5e535d(0x2b3)][_0x5e535d(0x3b6)][_0x5e535d(0x29b)](_0x52d9c2=>{const _0x48489d=_0x5e535d;if(_0x52d9c2==null)return;const {unitId:_0x2bc88d,redoState:_0x3cacd2,commandId:_0x14897e}=_0x52d9c2;if(_0x2bc88d!==_0x55c1a0[_0x48489d(0x297)])return;const _0x47d905={'id':_0x14897e,'type':_0x3f9956[_0x48489d(0x31b)]['MUTATION'],'params':{'unitId':_0x2bc88d,'actions':_0x3cacd2[_0x48489d(0x380)],'textRanges':null}};_0x55c1a0[_0x48489d(0x1d0)](_0x47d905);});if(_0x55c1a0[_0x5e535d(0x20e)](_0x79d48f),_0x55c1a0 instanceof _0x184317[_0x5e535d(0x13e)]){const _0x1dae51={'onTransformIME':_0x3a1ed5=>this['_docTransformIMECacheService'][_0x5e535d(0x1ca)](_0x3a1ed5),'onTransformState':_0x40bb14=>this[_0x5e535d(0x123)][_0x5e535d(0x2ee)](_0x40bb14),'onTransformSelections':_0x485339=>this[_0x5e535d(0x1f7)][_0x5e535d(0x119)](_0x485339),'onSyncEditingCollabCursor':_0x4885e1=>this[_0x5e535d(0x343)][_0x5e535d(0x1a4)](_0x4885e1),'onTransformRemoteChangesetByIMECache':_0x560d28=>this['_docTransformIMECacheService'][_0x5e535d(0x23e)](_0x560d28),'onTransformRemoteChangesetByStateCache':_0x2fb6ab=>this[_0x5e535d(0x123)]['transformRemoteChangeset'](_0x2fb6ab)};_0x55c1a0[_0x5e535d(0x183)](_0x1dae51);}}));}};_0x1f68e4=_0x4fa85e([_0x45f415(0x0,_0x3f9956[_0x3db0e4(0x302)](_0xa8c85b[_0x3db0e4(0x368)])),_0x45f415(0x1,_0x3f9956['Inject'](_0x184317[_0x3db0e4(0x206)])),_0x45f415(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x36ef44)),_0x45f415(0x3,_0x3f9956['Inject'](_0x548941)),_0x45f415(0x4,_0x3f9956[_0x3db0e4(0x302)](_0x5573a9)),_0x45f415(0x5,_0x3f9956[_0x3db0e4(0x302)](_0x5e3cb6)),_0x45f415(0x6,_0x26d040[_0x3db0e4(0x30a)]),_0x45f415(0x7,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x1f68e4);var _0x2133b7=(_0x1d499e=>(_0x1d499e[_0x1d499e[_0x3db0e4(0x313)]=0x0]=_0x3db0e4(0x313),_0x1d499e[_0x1d499e['OK']=0x1]='OK',_0x1d499e[_0x1d499e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x1d499e[_0x1d499e[_0x3db0e4(0x1be)]=0x3]=_0x3db0e4(0x1be),_0x1d499e[_0x1d499e[_0x3db0e4(0x38b)]=0x4]='NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x23c)]=0x5]=_0x3db0e4(0x23c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32b)]=0x6]=_0x3db0e4(0x32b),_0x1d499e[_0x1d499e['INVALID_ARGUMENT']=0x7]=_0x3db0e4(0x274),_0x1d499e[_0x1d499e[_0x3db0e4(0x38f)]=0x8]='TOO_MANY_REQUESTS',_0x1d499e[_0x1d499e[_0x3db0e4(0x147)]=0x9]=_0x3db0e4(0x147),_0x1d499e[_0x1d499e[_0x3db0e4(0x254)]=0xa]=_0x3db0e4(0x254),_0x1d499e[_0x1d499e[_0x3db0e4(0x23d)]=0xb]=_0x3db0e4(0x23d),_0x1d499e[_0x1d499e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3db0e4(0x16a),_0x1d499e[_0x1d499e[_0x3db0e4(0x351)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1d499e[_0x1d499e[_0x3db0e4(0x234)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1d499e[_0x1d499e[_0x3db0e4(0x321)]=0xf]=_0x3db0e4(0x321),_0x1d499e[_0x1d499e[_0x3db0e4(0x11c)]=0x10]=_0x3db0e4(0x11c),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a0)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x1d499e[_0x1d499e[_0x3db0e4(0x13d)]=0x65]=_0x3db0e4(0x13d),_0x1d499e[_0x1d499e['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x300)]=0xca]=_0x3db0e4(0x300),_0x1d499e[_0x1d499e[_0x3db0e4(0x2e9)]=0x1389]=_0x3db0e4(0x2e9),_0x1d499e[_0x1d499e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db0e4(0x196),_0x1d499e[_0x1d499e[_0x3db0e4(0xf1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d499e[_0x1d499e[_0x3db0e4(0x335)]=0x1773]=_0x3db0e4(0x335),_0x1d499e[_0x1d499e['APPLY_REJECT']=0x1b59]=_0x3db0e4(0x215),_0x1d499e[_0x1d499e[_0x3db0e4(0x2b7)]=0x1b5a]=_0x3db0e4(0x2b7),_0x1d499e[_0x1d499e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3db0e4(0x23f),_0x1d499e[_0x1d499e[_0x3db0e4(0x3c3)]=0x1b5c]=_0x3db0e4(0x3c3),_0x1d499e[_0x1d499e[_0x3db0e4(0x175)]=0x1b5d]='APPLY_DUPLICATED',_0x1d499e[_0x1d499e[_0x3db0e4(0x1b1)]=0x1f41]=_0x3db0e4(0x1b1),_0x1d499e[_0x1d499e[_0x3db0e4(0x310)]=0x2329]=_0x3db0e4(0x310),_0x1d499e[_0x1d499e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1d499e[_0x1d499e['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3db0e4(0x33e),_0x1d499e[_0x1d499e[_0x3db0e4(0x2c3)]=0x232c]=_0x3db0e4(0x2c3),_0x1d499e[_0x1d499e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db0e4(0x21c),_0x1d499e[_0x1d499e[_0x3db0e4(0x32d)]=0x2711]=_0x3db0e4(0x32d),_0x1d499e[_0x1d499e[_0x3db0e4(0x200)]=0x2712]=_0x3db0e4(0x200),_0x1d499e[_0x1d499e[_0x3db0e4(0x13c)]=0x2713]=_0x3db0e4(0x13c),_0x1d499e[_0x1d499e[_0x3db0e4(0x20a)]=0x2714]=_0x3db0e4(0x20a),_0x1d499e[_0x1d499e[_0x3db0e4(0x121)]=0x271a]=_0x3db0e4(0x121),_0x1d499e[_0x1d499e[_0x3db0e4(0xf2)]=0x271b]=_0x3db0e4(0xf2),_0x1d499e[_0x1d499e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3db0e4(0x287),_0x1d499e[_0x1d499e[_0x3db0e4(0x24b)]=0x271d]=_0x3db0e4(0x24b),_0x1d499e[_0x1d499e[_0x3db0e4(0x2fa)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d499e[_0x1d499e[_0x3db0e4(0x32c)]=0x271f]=_0x3db0e4(0x32c),_0x1d499e[_0x1d499e[_0x3db0e4(0x38d)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1d499e[_0x1d499e[_0x3db0e4(0x33a)]=0x2af9]=_0x3db0e4(0x33a),_0x1d499e[_0x1d499e[_0x3db0e4(0x1ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1d499e[_0x1d499e[_0x3db0e4(0x3ba)]=0x2ee2]=_0x3db0e4(0x3ba),_0x1d499e[_0x1d499e[_0x3db0e4(0x1a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1d499e[_0x1d499e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3db0e4(0x114),_0x1d499e[_0x1d499e[_0x3db0e4(0x2a5)]=0x2ee5]=_0x3db0e4(0x2a5),_0x1d499e[_0x1d499e[_0x3db0e4(0x318)]=0x32c9]=_0x3db0e4(0x318),_0x1d499e[_0x1d499e[_0x3db0e4(0x127)]=0x32ca]=_0x3db0e4(0x127),_0x1d499e[_0x1d499e[_0x3db0e4(0x250)]=0x32cb]=_0x3db0e4(0x250),_0x1d499e[_0x1d499e[_0x3db0e4(0x26e)]=0x36b1]=_0x3db0e4(0x26e),_0x1d499e[_0x1d499e[_0x3db0e4(0x181)]=0x36b2]=_0x3db0e4(0x181),_0x1d499e[_0x1d499e[_0x3db0e4(0x2ae)]=0x36b3]=_0x3db0e4(0x2ae),_0x1d499e[_0x1d499e[_0x3db0e4(0x219)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x1d499e[_0x1d499e[_0x3db0e4(0x134)]=0x3715]=_0x3db0e4(0x134),_0x1d499e[_0x1d499e[_0x3db0e4(0x39b)]=0x3716]=_0x3db0e4(0x39b),_0x1d499e[_0x1d499e['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1d499e[_0x1d499e[_0x3db0e4(0x1d9)]=0x3a99]=_0x3db0e4(0x1d9),_0x1d499e[_0x1d499e['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3db0e4(0x267),_0x1d499e[_0x1d499e[_0x3db0e4(0x35b)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1d499e[_0x1d499e[_0x3db0e4(0x24c)]=0x3a9c]=_0x3db0e4(0x24c),_0x1d499e[_0x1d499e[_0x3db0e4(0x21d)]=0x3a9d]=_0x3db0e4(0x21d),_0x1d499e[_0x1d499e[_0x3db0e4(0x397)]=0x3a9e]=_0x3db0e4(0x397),_0x1d499e[_0x1d499e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x3db0e4(0x2f6),_0x1d499e[_0x1d499e['UNRECOGNIZED']=-0x1]=_0x3db0e4(0x155),_0x1d499e))(_0x2133b7||{});function _0x4ba424(_0x153591){const _0x122f49=_0x3db0e4;var _0x321d2a,_0xb40a58;const _0x3bb665=(_0x321d2a=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0x321d2a['stage'],_0x40324e=((_0xb40a58=_0x153591[_0x122f49(0x2a2)])==null?void 0x0:_0xb40a58['totalFormulasToCalculate'])||0x0;return _0x3bb665===_0x2c79d7['FormulaExecuteStageType'][_0x122f49(0x1dc)]&&_0x40324e>0x0;}function _0x11d8af(_0x5a71ee){const _0x28d976=_0x3db0e4;return _0x5a71ee[_0x28d976(0x2f5)]===_0x2c79d7[_0x28d976(0x2aa)]['SUCCESS'];}var _0x597314=Object[_0x3db0e4(0x2d1)],_0x24d578=(_0x458c03,_0x59a53a,_0x2f6326,_0x269811)=>{for(var _0x8b5db4=_0x269811>0x1?void 0x0:_0x269811?_0x597314(_0x59a53a,_0x2f6326):_0x59a53a,_0x1a7280=_0x458c03['length']-0x1,_0x15e7e9;_0x1a7280>=0x0;_0x1a7280--)(_0x15e7e9=_0x458c03[_0x1a7280])&&(_0x8b5db4=_0x15e7e9(_0x8b5db4)||_0x8b5db4);return _0x8b5db4;},_0x4de614=(_0x501363,_0x28c48e)=>(_0x33981f,_0x4134df)=>_0x28c48e(_0x33981f,_0x4134df,_0x501363);const _0x1ec8ac='/universer-api/license/formula/limit/status',_0x43f063=_0x3db0e4(0x2de),_0x4c95f8=_0x3db0e4(0x266);let _0x886def=class extends _0x3f9956[_0x3db0e4(0x225)]{constructor(_0x16c463,_0x4523b2,_0x1eeb1c,_0x14508e,_0x3496eb,_0x5aaf21,_0x44738e){const _0x15923a=_0x3db0e4;super(),_0x442022(this,_0x15923a(0x378),null),_0x442022(this,_0x15923a(0x101),0x0),_0x442022(this,_0x15923a(0x27a),0x0),_0x442022(this,'_taskIds',[]),_0x442022(this,_0x15923a(0x208),0x0),(this[_0x15923a(0x174)]=_0x16c463,this[_0x15923a(0x278)]=_0x4523b2,this['_configService']=_0x1eeb1c,this['_httpService']=_0x14508e,this[_0x15923a(0x205)]=_0x3496eb,this[_0x15923a(0x237)]=_0x5aaf21,this[_0x15923a(0x359)]=_0x44738e,this[_0x15923a(0x36c)]());}[_0x3db0e4(0x36c)](){const _0xc53e86=_0x3db0e4;this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)]['beforeCommandExecuted']((_0xb0122f,_0x1e2709)=>{const _0x154fbb=_0xc53e86;if(_0xb0122f['id']!==_0x2c79d7['SetFormulaCalculationStartMutation']['id'])return;const _0x1bd76=_0xb0122f[_0x154fbb(0x176)];if(!this[_0x154fbb(0x3bb)](_0x1bd76[_0x154fbb(0x338)]))return;if(!this[_0x154fbb(0x11f)]())throw this[_0x154fbb(0x1e0)](_0xb0122f,_0x1e2709),this[_0x154fbb(0x26c)](),new _0x3f9956[(_0x154fbb(0x2f1))]();})),this[_0xc53e86(0x20e)](this[_0xc53e86(0x278)][_0xc53e86(0x14d)]((_0x4f5cae,_0x5dd8eb)=>{const _0x19275a=_0xc53e86;if(_0x4f5cae['id']!==_0x2c79d7['SetFormulaCalculationNotificationMutation']['id'])return;const _0x1e7af7=_0x4f5cae[_0x19275a(0x176)];if(_0x4ba424(_0x1e7af7)){const _0x15c139=_0x3f9956['generateRandomId']();this[_0x19275a(0x2c1)][_0x19275a(0x1ae)](_0x15c139),this['_startCalculationLimit'](_0x15c139);}else{if(_0x11d8af(_0x1e7af7)&&this[_0x19275a(0x2c1)][_0x19275a(0xf8)]>0x0){const _0x21465b=this[_0x19275a(0x2c1)][_0x19275a(0x1d1)]();this[_0x19275a(0x296)](_0x21465b);}}}));}[_0x3db0e4(0x14f)](){const _0x4e517f=_0x3db0e4;super[_0x4e517f(0x14f)](),this[_0x4e517f(0x31a)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x4e517f(0x101)]=0x0,this[_0x4e517f(0x208)]=0x0;}async[_0x3db0e4(0x1e0)](_0xc6268f,_0x2085b4){const _0x3abd0f=_0x3db0e4;for(let _0x51c242=0x0;_0x51c242<0x1e;_0x51c242++)try{if(await this[_0x3abd0f(0x1b3)](),this[_0x3abd0f(0x11f)]()){this[_0x3abd0f(0x26b)](_0xc6268f,_0x2085b4),this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x233)),'type':_0x3fc7ae['MessageType'][_0x3abd0f(0x210)]});return;}await new Promise(_0x1dc29a=>{const _0x364fe1=_0x3abd0f;this[_0x364fe1(0x378)]=window[_0x364fe1(0x2f2)](_0x1dc29a,0x3e8);});}catch(_0x24352d){this[_0x3abd0f(0x237)]['error'](_0x24352d);}this[_0x3abd0f(0x174)][_0x3abd0f(0x2c7)]({'content':this['_localeService']['t'](_0x3abd0f(0x103)),'type':_0x3fc7ae[_0x3abd0f(0x25c)][_0x3abd0f(0x136)]});}[_0x3db0e4(0x26b)](_0x2e6a87,_0x174eda){const _0x22cb27=_0x3db0e4;try{this['_commandService']['executeCommand'](_0x2e6a87['id'],_0x2e6a87[_0x22cb27(0x176)],_0x174eda);}catch(_0x2ee5d5){this[_0x22cb27(0x237)]['error'](_0x2ee5d5);}}[_0x3db0e4(0x1b7)](_0x124c3e,_0x573a17){const _0x250da5=_0x3db0e4;_0x573a17<this[_0x250da5(0x208)]||(this[_0x250da5(0x208)]=_0x573a17,this[_0x250da5(0x101)]=Number[_0x250da5(0x14b)](_0x124c3e['maxFormulaLimit']),this[_0x250da5(0x27a)]=Number[_0x250da5(0x14b)](_0x124c3e['currentUsage']));}async[_0x3db0e4(0x1e6)](_0x8ded00){const _0x3298b1=_0x3db0e4;var _0x3b7c24,_0x1ef674;const _0x39792a=Date['now']();try{const _0x3a72c5=((_0x3b7c24=this[_0x3298b1(0x358)][_0x3298b1(0x2f9)](_0x184317[_0x3298b1(0x239)]))==null?void 0x0:_0x3b7c24[_0x3298b1(0x124)])||_0x43f063,_0x59cc5a=(await this[_0x3298b1(0x374)]['post'](_0x3a72c5,{'body':JSON[_0x3298b1(0x1a2)]({'taskId':_0x8ded00})}))['body'];if(((_0x1ef674=_0x59cc5a[_0x3298b1(0x235)])==null?void 0x0:_0x1ef674[_0x3298b1(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x59cc5a['limitInfo'],_0x39792a);}catch(_0x5223cc){this['_logService']['error'](_0x5223cc);}}async[_0x3db0e4(0x1b3)](_0x111b9c){const _0x388f16=_0x3db0e4;var _0xcf54e2,_0x2e15c2;const _0x1e5a6f=Date['now']();try{const _0x1f8209=((_0xcf54e2=this[_0x388f16(0x358)][_0x388f16(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xcf54e2[_0x388f16(0x262)])||_0x1ec8ac,_0x4c55fa=_0x111b9c?_0x1f8209+'?taskId='+encodeURIComponent(_0x111b9c):_0x1f8209,_0x409c5d=(await this[_0x388f16(0x374)][_0x388f16(0x392)](_0x4c55fa))[_0x388f16(0x26a)];if(((_0x2e15c2=_0x409c5d['error'])==null?void 0x0:_0x2e15c2[_0x388f16(0x2dd)])!==_0x2133b7['OK'])return;this[_0x388f16(0x1b7)](_0x409c5d[_0x388f16(0x22a)],_0x1e5a6f);}catch(_0x33581a){this[_0x388f16(0x237)][_0x388f16(0x235)](_0x33581a);}}async[_0x3db0e4(0x296)](_0x40f87d){const _0x55ff4f=_0x3db0e4;var _0x28e639,_0x1b7001;const _0x206edd=Date['now']();try{const _0xc1cdab=((_0x28e639=this['_configService'][_0x55ff4f(0x2f9)](_0x184317['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x28e639[_0x55ff4f(0xfa)])||_0x4c95f8,_0x5d7371=(await this['_httpService'][_0x55ff4f(0x301)](_0xc1cdab,{'body':JSON[_0x55ff4f(0x1a2)]({'taskId':_0x40f87d})}))[_0x55ff4f(0x26a)];if(((_0x1b7001=_0x5d7371[_0x55ff4f(0x235)])==null?void 0x0:_0x1b7001[_0x55ff4f(0x2dd)])!==_0x2133b7['OK'])return;this['_setFormulaLimitStatus'](_0x5d7371['limitInfo'],_0x206edd);}catch(_0x36828e){this[_0x55ff4f(0x237)][_0x55ff4f(0x235)](_0x36828e);}}[_0x3db0e4(0x11f)](){const _0x47582a=_0x3db0e4;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x47582a(0x27a)]>0x0;}[_0x3db0e4(0x31a)](){const _0x4d6fa=_0x3db0e4;this['_pollingInterval']&&(clearTimeout(this[_0x4d6fa(0x378)]),this[_0x4d6fa(0x378)]=null);}[_0x3db0e4(0x26c)](){const _0x3d7805=_0x3db0e4;this['_messageService']['show']({'content':this[_0x3d7805(0x359)]['t'](_0x3d7805(0x2fe)),'type':_0x3fc7ae[_0x3d7805(0x25c)][_0x3d7805(0x153)]});}[_0x3db0e4(0x3bb)](_0x589e30){const _0x607e54=_0x3db0e4;for(const _0x193bae of _0x589e30){const {unitId:_0x556506,sheetId:_0x415d29,range:_0x573c78}=_0x193bae,_0x56a1ab=this[_0x607e54(0x205)][_0x607e54(0xfe)](_0x556506);if(!_0x56a1ab)continue;const _0x2fb467=_0x56a1ab[_0x607e54(0x36f)](_0x415d29);if(!_0x2fb467)continue;const _0x2d3120=_0x2fb467[_0x607e54(0x216)]();for(let _0x2a60b5=_0x573c78[_0x607e54(0x16c)];_0x2a60b5<=_0x573c78[_0x607e54(0x398)];_0x2a60b5++)for(let _0xbc0d2b=_0x573c78[_0x607e54(0x14c)];_0xbc0d2b<=_0x573c78[_0x607e54(0x308)];_0xbc0d2b++){const _0x12c0cb=_0x2d3120[_0x607e54(0x1d4)](_0x2a60b5,_0xbc0d2b);if(_0x12c0cb&&(_0x3f9956[_0x607e54(0x19f)](_0x12c0cb['f'])||_0x3f9956[_0x607e54(0x111)](_0x12c0cb['si'])))return!0x0;}}return!0x1;}};_0x886def=_0x24d578([_0x4de614(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x26d040[_0x3db0e4(0x30a)])),_0x4de614(0x1,_0x3f9956[_0x3db0e4(0x30c)]),_0x4de614(0x2,_0x3f9956[_0x3db0e4(0x125)]),_0x4de614(0x3,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x4de614(0x4,_0x3f9956['IUniverInstanceService']),_0x4de614(0x5,_0x3f9956['ILogService']),_0x4de614(0x6,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39e)]))],_0x886def);var _0x21fb74=Object[_0x3db0e4(0x2d1)],_0x4da7ea=(_0x4e8030,_0x857cb6,_0x16180a,_0x5c1487)=>{const _0xbcb1c1=_0x3db0e4;for(var _0x2847a8=_0x5c1487>0x1?void 0x0:_0x5c1487?_0x21fb74(_0x857cb6,_0x16180a):_0x857cb6,_0x263568=_0x4e8030[_0xbcb1c1(0xf8)]-0x1,_0xe51a24;_0x263568>=0x0;_0x263568--)(_0xe51a24=_0x4e8030[_0x263568])&&(_0x2847a8=_0xe51a24(_0x2847a8)||_0x2847a8);return _0x2847a8;},_0x2ef050=(_0x56fa6c,_0x3893e1)=>(_0xa530c7,_0x15c35d)=>_0x3893e1(_0xa530c7,_0x15c35d,_0x56fa6c);let _0x12d161=class extends _0x3f9956['Disposable']{constructor(_0x95d11c,_0x241212,_0x1d1670){const _0x54485a=_0x3db0e4;super(),_0x442022(this,_0x54485a(0x276),new Map()),_0x442022(this,_0x54485a(0x1a6),new Map()),_0x442022(this,_0x54485a(0x2b8),!0x1),(this[_0x54485a(0x358)]=_0x95d11c,this[_0x54485a(0x3b7)]=_0x241212,this[_0x54485a(0x25e)]=_0x1d1670);}[_0x3db0e4(0x2e0)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x525015=_0x3db0e4;this[_0x525015(0x2b8)]=!0x1;}get[_0x3db0e4(0x344)](){const _0x19f75a=_0x3db0e4;return this[_0x19f75a(0x1a6)];}['dispose'](){const _0x53f32f=_0x3db0e4;this[_0x53f32f(0x118)]()[_0x53f32f(0x354)](()=>super['dispose']());}async[_0x3db0e4(0x1de)](_0x57c9fa){const _0x12b4bb=_0x3db0e4;return this['_disabled']?null:this[_0x12b4bb(0x3b7)][_0x12b4bb(0x25a)](_0x184317[_0x12b4bb(0x198)](_0x57c9fa));}async[_0x3db0e4(0x220)](_0x5be8a8,_0x50deb7){const _0x417b0e=_0x3db0e4;return!!this[_0x417b0e(0x3b7)][_0x417b0e(0x367)](_0x5be8a8,_0x50deb7);}[_0x3db0e4(0x133)](_0x1614d4,_0x4fd9b0,_0x340d36,_0x64c4b4){const _0x241b40=_0x3db0e4,_0x3cf832=this[_0x241b40(0x25e)][_0x241b40(0x13b)](_0x1614d4);this[_0x241b40(0x276)]['set'](_0x1614d4,{'unitID':_0x1614d4,'type':_0x4fd9b0,'awaitingChangeset':_0x340d36,'mutations':_0x64c4b4,'rev':_0x3cf832}),this[_0x241b40(0x1a6)]['has'](_0x1614d4)||this[_0x241b40(0x16e)](_0x1614d4);}[_0x3db0e4(0x16e)](_0x9ccb47){const _0x33af6c=_0x3db0e4,_0x1c2ec1=this['_getSaveTimeout']();_0x1c2ec1===0x0?this['_saveCache'](_0x9ccb47):this[_0x33af6c(0x1a6)][_0x33af6c(0x26f)](_0x9ccb47,setTimeout(()=>this[_0x33af6c(0x2a0)](_0x9ccb47),_0x1c2ec1));}[_0x3db0e4(0x144)](){const _0x456caf=_0x3db0e4;var _0x207c8f;return(_0x207c8f=this['_configService'][_0x456caf(0x2f9)](_0x184317[_0x456caf(0x1a8)]))!=null?_0x207c8f:_0x184317[_0x456caf(0x280)];}[_0x3db0e4(0x2a0)](_0x532e33){const _0xb8174d=_0x3db0e4,_0x5fc44d=this[_0xb8174d(0x1a6)][_0xb8174d(0x392)](_0x532e33);return _0x5fc44d!==void 0x0&&window['clearTimeout'](_0x5fc44d),this[_0xb8174d(0x3b7)][_0xb8174d(0x367)](_0x184317[_0xb8174d(0x198)](_0x532e33),this[_0xb8174d(0x276)][_0xb8174d(0x392)](_0x532e33))['then'](()=>this[_0xb8174d(0x1a6)]['delete'](_0x532e33));}async[_0x3db0e4(0x118)](){const _0x182054=_0x3db0e4,_0x26995b=[];this[_0x182054(0x1a6)][_0x182054(0x29f)]((_0x46c38d,_0x57a81f)=>{const _0x3ac2bf=_0x182054;window['clearTimeout'](_0x46c38d),_0x26995b[_0x3ac2bf(0x1ae)](this['_saveCache'](_0x57a81f)['then'](()=>{const _0x345631=_0x3ac2bf;this[_0x345631(0x1a6)]['delete'](_0x57a81f);}));}),await Promise[_0x182054(0x24a)](_0x26995b);}};_0x12d161=_0x4da7ea([_0x2ef050(0x0,_0x3f9956[_0x3db0e4(0x125)]),_0x2ef050(0x1,_0x3f9956['ILocalStorageService']),_0x2ef050(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x2de7d2['RevisionService']))],_0x12d161);class _0x2d9519 extends _0x3f9956['RxDisposable']{constructor(){const _0x40879c=_0x3db0e4;super(),_0x442022(this,'urlChange$'),this[_0x40879c(0x25f)]=_0x6aec0[_0x40879c(0x1c4)](window,'popstate')[_0x40879c(0xf7)](_0x6aec0[_0x40879c(0x277)](this['dispose$']),_0x6aec0[_0x40879c(0x34f)](0x1),_0x6aec0[_0x40879c(0x1d7)](void 0x0));}[_0x3db0e4(0x270)](_0x4a5e4d,_0x19be5a,_0x1d0870=!0x1){const _0x4d05d0=_0x3db0e4,_0x4ced24=new URL(window['location'][_0x4d05d0(0x2ce)]);_0x4ced24['searchParams'][_0x4d05d0(0x26f)](_0x4a5e4d,_0x19be5a),_0x1d0870?window[_0x4d05d0(0x204)][_0x4d05d0(0x1bf)]('','',_0x4ced24[_0x4d05d0(0x14a)]()):window['history'][_0x4d05d0(0x1b9)]('','',_0x4ced24[_0x4d05d0(0x14a)]());}[_0x3db0e4(0x15b)](_0x8060ef,_0x5991ff=!0x1){const _0x22c852=_0x3db0e4,_0x36dd80=new URL(window[_0x22c852(0x28b)][_0x22c852(0x2ce)]);_0x36dd80[_0x22c852(0x3b1)][_0x22c852(0x1ce)](_0x8060ef),_0x5991ff?window[_0x22c852(0x204)][_0x22c852(0x1bf)]('','',_0x36dd80[_0x22c852(0x14a)]()):window['history']['pushState']('','',_0x36dd80['toString']());}['getParam'](_0x22d446){const _0x4c7e5d=_0x3db0e4;var _0x357bcd;return(_0x357bcd=new URL(window[_0x4c7e5d(0x28b)][_0x4c7e5d(0x2ce)])[_0x4c7e5d(0x3b1)][_0x4c7e5d(0x392)](_0x22d446))!=null?_0x357bcd:void 0x0;}}var _0x51b1b3=Object[_0x3db0e4(0x197)],_0xb42762=Object[_0x3db0e4(0x2d1)],_0x1a038d=(_0x3b6925,_0x11057b,_0x4a8339)=>_0x11057b in _0x3b6925?_0x51b1b3(_0x3b6925,_0x11057b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a8339}):_0x3b6925[_0x11057b]=_0x4a8339,_0x816194=(_0x55c300,_0x5d594b,_0x5ce116,_0x1ef2d2)=>{const _0x1b621b=_0x3db0e4;for(var _0x4e2f97=_0x1ef2d2>0x1?void 0x0:_0x1ef2d2?_0xb42762(_0x5d594b,_0x5ce116):_0x5d594b,_0x3674ac=_0x55c300[_0x1b621b(0xf8)]-0x1,_0x36bf13;_0x3674ac>=0x0;_0x3674ac--)(_0x36bf13=_0x55c300[_0x3674ac])&&(_0x4e2f97=_0x36bf13(_0x4e2f97)||_0x4e2f97);return _0x4e2f97;},_0x2d7b65=(_0x5c6a4b,_0x199710)=>(_0x20ac5c,_0x458d6c)=>_0x199710(_0x20ac5c,_0x458d6c,_0x5c6a4b),_0x4648a2=(_0x4ac198,_0x58d38c,_0x321670)=>_0x1a038d(_0x4ac198,_0x58d38c+'',_0x321670);const _0x116df3=_0x3db0e4(0x13f);_0x4205ba[_0x3db0e4(0x109)]=class extends _0x3f9956[_0x3db0e4(0x379)]{constructor(_0x3d4ffa=_0xd1a49e,_0xf68f41,_0x3b9b43,_0xd4cf6){const _0xd9043e=_0x3db0e4;super(),this[_0xd9043e(0x28a)]=_0x3d4ffa,this[_0xd9043e(0x1e4)]=_0xf68f41,this['_injector']=_0x3b9b43,this['_configService']=_0xd4cf6;const {..._0x43aadf}=_0x3f9956[_0xd9043e(0x37b)]({},_0xd1a49e,this['_config']);this[_0xd9043e(0x358)][_0xd9043e(0x163)](_0x512303,_0x43aadf);}[_0x3db0e4(0x3a2)](){const _0x805cb7=_0x3db0e4;this[_0x805cb7(0x24d)](),this[_0x805cb7(0x1b4)]();}[_0x3db0e4(0x211)](){const _0x178d2d=_0x3db0e4;this[_0x178d2d(0x303)]();}[_0x3db0e4(0x24d)](){const _0x1a8f76=_0x3db0e4;var _0x1a0d6a;const _0x44f97d=[[_0x5cb38a],[_0x886def],[_0x5573a9],[_0x36ef44],[_0x548941],[_0x5e3cb6],[_0x3958fd,{'useClass':_0x2d9519}],[_0x2b426c[_0x1a8f76(0x32f)],{'useClass':_0x2b426c[_0x1a8f76(0x263)]}],[_0x184317[_0x1a8f76(0x3b9)],{'useClass':_0x12d161}],[_0x4205ba[_0x1a8f76(0x171)]],[_0x1f68e4],[_0x395203],[_0x135bf3],[_0x5c2573],[_0x4205ba[_0x1a8f76(0x309)]]];_0x3f9956[_0x1a8f76(0x361)](this[_0x1a8f76(0x15f)],_0x3f9956[_0x1a8f76(0x169)](_0x44f97d,(_0x1a0d6a=this[_0x1a8f76(0x28a)])==null?void 0x0:_0x1a0d6a[_0x1a8f76(0x130)]));}[_0x3db0e4(0x303)](){const _0x54950e=_0x3db0e4;this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956['UniverInstanceType'][_0x54950e(0x257)],[_0x5ddb20])),this[_0x54950e(0x20e)](this[_0x54950e(0x1e4)]['registerRenderModule'](_0x3f9956[_0x54950e(0x100)][_0x54950e(0xff)],[_0x345a73]));}['_initDependencies'](){const _0x14180b=_0x3db0e4;_0x3f9956[_0x14180b(0x261)](this[_0x14180b(0x15f)],[[_0x135bf3],[_0x4205ba[_0x14180b(0x171)]],[_0x1f68e4],[_0x395203],[_0x4205ba[_0x14180b(0x309)]],[_0x886def]]);}},_0x4648a2(_0x4205ba[_0x3db0e4(0x109)],_0x3db0e4(0x1a5),_0x116df3),_0x4205ba[_0x3db0e4(0x109)]=_0x816194([_0x3f9956[_0x3db0e4(0x305)](_0x184317[_0x3db0e4(0x317)]),_0x2d7b65(0x1,_0x2dd116[_0x3db0e4(0x16d)]),_0x2d7b65(0x2,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x2d7b65(0x3,_0x3f9956['IConfigService'])],_0x4205ba[_0x3db0e4(0x109)]);var _0x329167=Object['getOwnPropertyDescriptor'],_0xfa9c7=(_0x3307f0,_0x3d6801,_0x48fbc2,_0x7d36bf)=>{const _0x515c1b=_0x3db0e4;for(var _0x4d9e5e=_0x7d36bf>0x1?void 0x0:_0x7d36bf?_0x329167(_0x3d6801,_0x48fbc2):_0x3d6801,_0x4c8d58=_0x3307f0[_0x515c1b(0xf8)]-0x1,_0x52c0e7;_0x4c8d58>=0x0;_0x4c8d58--)(_0x52c0e7=_0x3307f0[_0x4c8d58])&&(_0x4d9e5e=_0x52c0e7(_0x4d9e5e)||_0x4d9e5e);return _0x4d9e5e;},_0x58eaf8=(_0x9d52c,_0x2ed8c0)=>(_0x2177bd,_0x312edc)=>_0x2ed8c0(_0x2177bd,_0x312edc,_0x9d52c);_0x4205ba[_0x3db0e4(0x3c1)]=class extends _0x184317[_0x3db0e4(0x316)]{constructor(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a){super(_0x325262,_0x2dbe83,_0x271afb,_0x2358b2,_0x5dd88a);}async[_0x3db0e4(0x275)](_0x1be1a3){const _0x175fe4=_0x3db0e4,_0x53d1e7=await this[_0x175fe4(0xfd)](),_0x567a36=this[_0x175fe4(0x285)](_0x1be1a3,_0x53d1e7);return this[_0x175fe4(0x1e8)](_0x567a36);}[_0x3db0e4(0x285)](_0x13e558,_0x32f91f){const _0x322a8c=_0x3db0e4,_0x4d4fd3=typeof window>'u'?new URL(_0x13e558):new URL(_0x13e558,window[_0x322a8c(0x28b)][_0x322a8c(0x312)]);_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)]('sessionTicket',_0x32f91f);const _0x3e1e20=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x322a8c(0x252)]);return _0x3e1e20[_0x322a8c(0x392)](_0x322a8c(0x25b))&&_0x4d4fd3[_0x322a8c(0x3b1)][_0x322a8c(0x26f)](_0x322a8c(0x25b),_0x3e1e20['get'](_0x322a8c(0x25b))),_0x4d4fd3['toString']();}async[_0x3db0e4(0xfd)](){const _0x5ca5c8=_0x3db0e4;var _0x16d7cf,_0xeab27b,_0x5e47cc;const _0x5c59c5=this[_0x5ca5c8(0x358)][_0x5ca5c8(0x2f9)](_0x184317[_0x5ca5c8(0x239)]),_0x1572f7=(_0x16d7cf=_0x5c59c5==null?void 0x0:_0x5c59c5[_0x5ca5c8(0x231)])!=null?_0x16d7cf:_0x184317[_0x5ca5c8(0x341)];return(_0x5e47cc=(_0xeab27b=(await this[_0x5ca5c8(0x374)]['get'](_0x1572f7,{'headers':{'Content-Type':_0x5ca5c8(0x2d5)}}))[_0x5ca5c8(0x26a)])==null?void 0x0:_0xeab27b[_0x5ca5c8(0x373)])!=null?_0x5e47cc:'';}},_0x4205ba[_0x3db0e4(0x3c1)]=_0xfa9c7([_0x58eaf8(0x0,_0x3f9956[_0x3db0e4(0x302)](_0x3f9956[_0x3db0e4(0x39d)])),_0x58eaf8(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c['HTTPService'])),_0x58eaf8(0x2,_0x3f9956['IConfigService']),_0x58eaf8(0x3,_0x3f9956[_0x3db0e4(0x2d2)]),_0x58eaf8(0x4,_0x2de7d2['ISnapshotServerService'])],_0x4205ba[_0x3db0e4(0x3c1)]);var _0x2788d7=Object[_0x3db0e4(0x2d1)],_0x39901d=(_0x10ac05,_0x3c63a6,_0x3847ea,_0x3689ae)=>{const _0x4f8e1d=_0x3db0e4;for(var _0x1b7039=_0x3689ae>0x1?void 0x0:_0x3689ae?_0x2788d7(_0x3c63a6,_0x3847ea):_0x3c63a6,_0x2ec4f1=_0x10ac05[_0x4f8e1d(0xf8)]-0x1,_0x13162b;_0x2ec4f1>=0x0;_0x2ec4f1--)(_0x13162b=_0x10ac05[_0x2ec4f1])&&(_0x1b7039=_0x13162b(_0x1b7039)||_0x1b7039);return _0x1b7039;},_0x165fde=(_0x439124,_0x198f79)=>(_0x3cfbbd,_0x41b966)=>_0x198f79(_0x3cfbbd,_0x41b966,_0x439124);_0x4205ba['RemoteUniscriptService']=class extends _0x3f9956['Disposable']{constructor(_0x4ed7ac,_0x34a243,_0x7f9ab5){const _0x1f9745=_0x3db0e4;super(),this[_0x1f9745(0x242)]=_0x4ed7ac,this[_0x1f9745(0x374)]=_0x34a243,this[_0x1f9745(0x358)]=_0x7f9ab5;}async[_0x3db0e4(0x388)](_0x1dc3a0,_0x252fcd,_0xe99942,..._0x2c83df){const _0xe8fd5=_0x3db0e4;var _0x3e2f05,_0x7729f6,_0x19b87f,_0xefa383;const _0x3b66a6=this[_0xe8fd5(0x242)]['getFocusedUnit']();if(!_0x3b66a6)throw new Error(_0xe8fd5(0x255));const _0x334cba=((_0x3e2f05=this[_0xe8fd5(0x358)]['getConfig'](_0x184317[_0xe8fd5(0x31d)]))!=null?_0x3e2f05:_0x184317[_0xe8fd5(0x294)])+'/'+_0x1dc3a0+_0xe8fd5(0x182)+_0x252fcd,_0x8c02e4=new URL(window[_0xe8fd5(0x28b)][_0xe8fd5(0x2ce)]),_0x4e9448={'scriptId':_0x1dc3a0,'runId':(_0x7729f6=_0x8c02e4[_0xe8fd5(0x3b1)]['get']('runId'))!=null?_0x7729f6:'','function':_0x252fcd,'unitId':_0x3b66a6[_0xe8fd5(0x3aa)](),'argsOfFunction':JSON[_0xe8fd5(0x1a2)](_0x2c83df),'invokeId':(_0x19b87f=_0xe99942[_0xe8fd5(0x1af)])!=null?_0x19b87f:'','executionId':(_0xefa383=_0xe99942[_0xe8fd5(0x193)])!=null?_0xefa383:''};try{const _0x29057b=await this[_0xe8fd5(0x374)][_0xe8fd5(0x301)](_0x334cba,{'body':_0x4e9448});return _0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]&&_0x29057b[_0xe8fd5(0x26a)][_0xe8fd5(0x235)]['code']!==_0x2133b7['OK']?_0xe8fd5(0x158):_0x29057b['body'][_0xe8fd5(0x259)];}catch{return _0xe8fd5(0x158);}}},_0x4205ba[_0x3db0e4(0x2ed)]=_0x39901d([_0x165fde(0x0,_0x3f9956[_0x3db0e4(0x264)]),_0x165fde(0x1,_0x3f9956[_0x3db0e4(0x302)](_0x2b426c[_0x3db0e4(0x349)])),_0x165fde(0x2,_0x3f9956[_0x3db0e4(0x125)])],_0x4205ba[_0x3db0e4(0x2ed)]);const _0x2a64ff=0x7530,_0x4250c9=_0x3db0e4(0x22c);class _0x567343 extends _0x3f9956[_0x3db0e4(0x225)]{constructor(){const _0x35850e=_0x3db0e4;super(),_0x442022(this,_0x35850e(0x2bd),_0x3f9956[_0x35850e(0x17e)]()),_0x442022(this,_0x35850e(0x2bb),new Set()),_0x442022(this,_0x35850e(0x314),new Map()),_0x442022(this,'_heartbeatTimer',null),_0x442022(this,_0x35850e(0x2b6),new Map()),_0x442022(this,_0x35850e(0x364),new Map()),this['_init']();}[_0x3db0e4(0x14f)](){const _0x189b5c=_0x3db0e4;super[_0x189b5c(0x14f)](),this['_clearOtherTimers'][_0x189b5c(0x29f)]((_0x1cd9db,_0x2f352e)=>this[_0x189b5c(0x19a)](_0x2f352e)),this[_0x189b5c(0x2e2)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3db0e4(0x293)](_0x1cc832){const _0x4c0df2=_0x3db0e4;return this[_0x4c0df2(0x10a)](_0x1cc832)[_0x4c0df2(0xf7)](_0x6aec0['distinctUntilChanged']());}[_0x3db0e4(0x214)](_0x5747fd){const _0x424e3b=_0x3db0e4;this['_selfUnitIDs'][_0x424e3b(0x137)]===0x0&&this[_0x424e3b(0x20b)](),this[_0x424e3b(0x2bb)][_0x424e3b(0x2d8)](_0x5747fd),this[_0x424e3b(0x3c0)]({'type':0x0,'memberID':this[_0x424e3b(0x2bd)],'unitIDs':[_0x5747fd],'isForwarded':!0x1});}[_0x3db0e4(0x1a9)](_0x31b309){const _0x3a6b9d=_0x3db0e4;this['_selfUnitIDs'][_0x3a6b9d(0x1ce)](_0x31b309),this[_0x3a6b9d(0x2bb)][_0x3a6b9d(0x137)]===0x0&&this['_heartbeatTimer']&&window[_0x3a6b9d(0x1fb)](this[_0x3a6b9d(0x2e2)]);}[_0x3db0e4(0x18a)](){const _0x58f3e2=_0x3db0e4;this[_0x58f3e2(0x20e)](_0x3f9956[_0x58f3e2(0x30e)](_0x6aec0['fromEvent'](window,_0x58f3e2(0x299))[_0x58f3e2(0x29b)](_0x3216d5=>{const _0x38e8f9=_0x58f3e2;if(_0x3216d5[_0x38e8f9(0x1c6)]!==_0x4250c9||!_0x3216d5[_0x38e8f9(0x3b8)])return;const _0x266b81=JSON['parse'](_0x3216d5[_0x38e8f9(0x3b8)]);this['_handleEvent'](_0x266b81);}))),window[_0x58f3e2(0x179)]('unload',()=>this[_0x58f3e2(0x3c0)]({'type':0x1,'memberID':this[_0x58f3e2(0x2bd)],'unitIDs':Array['from'](this[_0x58f3e2(0x2bb)])}));}[_0x3db0e4(0x382)](_0x9dc4c1){const _0x246f4f=_0x3db0e4;switch(_0x9dc4c1[_0x246f4f(0x3a0)]){case 0x0:this['_handleJoinEvent'](_0x9dc4c1);break;case 0x1:this[_0x246f4f(0x2f0)](_0x9dc4c1);break;case 0x2:this[_0x246f4f(0x223)](_0x9dc4c1);break;}}['_handleJoinEvent'](_0x4261df){const _0x66a771=_0x3db0e4,{unitIDs:_0x403a3f,memberID:_0x2c9212,isForwarded:_0xbc931}=_0x4261df;_0x403a3f[_0x66a771(0x29f)](_0x25116e=>{const _0xf23ac2=_0x66a771;if(!_0xbc931&&this[_0xf23ac2(0x314)][_0xf23ac2(0x3a8)](_0x25116e)&&this['_ensureSubject'](_0x25116e)[_0xf23ac2(0x360)](_0x184317['UnitStatus'][_0xf23ac2(0x36d)]),!this['_unitOnClients']['has'](_0x25116e)||!this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)[_0xf23ac2(0x3a8)](_0x2c9212)){const _0x29ab9a=this[_0xf23ac2(0x314)][_0xf23ac2(0x392)](_0x25116e)||new Set();_0x29ab9a[_0xf23ac2(0x2d8)](_0x2c9212),this[_0xf23ac2(0x314)][_0xf23ac2(0x26f)](_0x25116e,_0x29ab9a),this[_0xf23ac2(0x166)](_0x2c9212);}}),_0xbc931||this[_0x66a771(0x3c0)]({'type':0x0,'memberID':this[_0x66a771(0x2bd)],'unitIDs':[...this[_0x66a771(0x2bb)]],'isForwarded':!0x0});}[_0x3db0e4(0x166)](_0x2168b4){const _0x46d9aa=_0x3db0e4;this[_0x46d9aa(0x19a)](_0x2168b4);const _0x4c829d=window[_0x46d9aa(0x2f2)](()=>{const _0x34e7db=_0x46d9aa;this['_unitOnClients'][_0x34e7db(0x29f)](_0x353768=>{_0x353768['delete'](_0x2168b4);});},_0x2a64ff*0x2);this[_0x46d9aa(0x2b6)]['set'](_0x2168b4,_0x4c829d);}[_0x3db0e4(0x19a)](_0x8f11bf){const _0x242976=_0x3db0e4;if(this['_clearOtherTimers'][_0x242976(0x3a8)](_0x8f11bf)){const _0x3c5629=this[_0x242976(0x2b6)][_0x242976(0x392)](_0x8f11bf);_0x3c5629&&window[_0x242976(0xef)](_0x3c5629),this[_0x242976(0x2b6)][_0x242976(0x26f)](_0x8f11bf,null);}}[_0x3db0e4(0x2f0)](_0x6b64e1){const _0x5b6c9a=_0x3db0e4,{memberID:_0x16ed87,unitIDs:_0x144234}=_0x6b64e1;_0x144234[_0x5b6c9a(0x29f)](_0x30ef0e=>{const _0x4f596f=_0x5b6c9a;var _0x29c794;const _0x3ad69f=this['_unitOnClients'][_0x4f596f(0x392)](_0x30ef0e);_0x3ad69f&&(_0x3ad69f[_0x4f596f(0x1ce)](_0x16ed87),(_0x29c794=this[_0x4f596f(0x10a)](_0x30ef0e))==null||_0x29c794[_0x4f596f(0x360)](_0x3ad69f['size']===0x0?_0x184317[_0x4f596f(0x21e)]['NO_OTHER_CLIENTS_EDITING']:_0x184317[_0x4f596f(0x21e)][_0x4f596f(0x36d)]));}),this[_0x5b6c9a(0x19a)](_0x16ed87);}[_0x3db0e4(0x223)](_0x3d45e6){this['_scheduleClearOtherTimer'](_0x3d45e6['memberID']);}[_0x3db0e4(0x3c0)](_0xa1d6f4){const _0x17224a=_0x3db0e4;localStorage[_0x17224a(0x367)](_0x4250c9,JSON[_0x17224a(0x1a2)](_0xa1d6f4));}[_0x3db0e4(0x20b)](){const _0xde56b=_0x3db0e4;this[_0xde56b(0x2e2)]=window[_0xde56b(0x1d2)](()=>{const _0x35bdf9=_0xde56b;this[_0x35bdf9(0x3c0)]({'type':0x2,'memberID':this[_0x35bdf9(0x2bd)]});},_0x2a64ff);}[_0x3db0e4(0x10a)](_0x31a6cb){const _0x574c60=_0x3db0e4;return this[_0x574c60(0x364)]['has'](_0x31a6cb)||this['_unitStatus'][_0x574c60(0x26f)](_0x31a6cb,new _0x6aec0[(_0x574c60(0x154))](_0x184317[_0x574c60(0x21e)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x574c60(0x364)][_0x574c60(0x392)](_0x31a6cb);}}_0x4205ba[_0x3db0e4(0x34c)]=_0x3958fd,_0x4205ba[_0x3db0e4(0x246)]=_0x187ac5,_0x4205ba[_0x3db0e4(0x284)]=_0x567343,_0x4205ba[_0x3db0e4(0x1b0)]=_0x2d9519,Object[_0x3db0e4(0x197)](_0x4205ba,Symbol[_0x3db0e4(0x2b1)],{'value':'Module'});}));function _0x4227(_0x48bf9c,_0xd40da5){const _0x32c6c7=_0x32c6();return _0x4227=function(_0x42271f,_0x547ae7){_0x42271f=_0x42271f-0xef;let _0x1a3ea8=_0x32c6c7[_0x42271f];return _0x1a3ea8;},_0x4227(_0x48bf9c,_0xd40da5);}function _0x32c6(){const _0x103874=['fillRule','UniverDocsUi','_selfUnitIDs','unitId','_id','svg','SessionStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','_taskIds','textRanges','LICENSE_EXPORT_SIZE_EXCEEDED','_toggleOffline','setAlpha','url(#off-line-icon_clip0_910_343)','show','ranges','react','UniverSheetsUi','transform','getAncestorScale','@univerjs/core','href','_hovered','collabStatus.fetchMiss','getOwnPropertyDescriptor','ILogService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getRelativeToViewportCoord','application/json','AWAITING','cursorInfo','add','mutations','_transformService','CollaborationUIEventService','switchMap','code','/universer-api/license/formula/limit/start','throttleTime','disableLocalCache','getCollabCursors$','_heartbeatTimer','debounceTime','_getAnchorBounding','handleIRemoveCol','UniverUi','_name','reconnect','CHANGESET_REVISION_CONFILICT','_drawTextRange','transformMutation','measureText','RemoteUniscriptService','transformStateCache','complete','_handleLeaveEvent','CanceledError','setTimeout','_dataLoaderService','collabStatus.notCollab','functionsExecutedState','REDEMPTION_CODE_HAS_BEEN_CREATED','roomMembers$','red.300','getConfig','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_online','jsx','values','formula.calculation.waiting','getUndoRedoMutationParamsCache','USER_IS_ANONYMOUS','post','Inject','_registerRenderDependencies','collabStatus.syncing','DependentOn','sessionStatus$','_refreshCollabCursors','endColumn','CollaborationDataLoaderController','IMessageService','black','ICommandService','4ywnRhr','toDisposable','DisposableCollection','LICENSE_MAX_UNITS_EXCEEDED','resize','origin','UNDEFINED','_unitOnClients','NodePositionConvertToRectRange','CollaborationSocketService','UniverCollaborationClientPlugin','WECHAT_HAS_BEEN_BOUND','translate(.97)','_clearPolling','CommandType','fillStyle','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeCollabCursors','_session','_startSheetCollabCursor','AUTHORIZE_CODE_ILLEGAL','entries','MemberService','roomMembers','onMouseMove','_handleHover','fromEventSubject','1726908hbVtHf','indexOf','_hideTimer','ALREADY_EXISTS','YUUMI_AI_RUN_FAILED','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','ISocketService','displayName','getOwnPropertySymbols','use','m2Prime','Workbook','ENSURE_SNAPSHOT_EXECUTION','colorChannel1','@univerjs/rpc','dirtyRanges','_collaborationUIEventService','PY_RUNTIME_SCRIPT_ERROR','_onCursorDelete','_beforeCloseService','defIds','LICENSE_IMPORT_SIZE_EXCEEDED','getTypeOfUnitDisposed$','yellow.400','DEFAULT_WS_SESSION_TICKET_URL','OFFLINE','_docSyncEditingCollabCursorService','saveTaskMap','collaboration.closeRoom','RemoveRowCommandId','UniverCore','_docSkeleton','HTTPService','_collaborationController','_toggleOnline','IURLService','InsertRangeMoveRightCommandId','ThemeService','shareReplay','UniverProCollaborationClient','EMAIL_VERIFY_CODE_MISMATCH','_draw','_docSkeletonManagerService','then','TEXT','@univerjs/network','includes','_configService','_localeService','_transformHistoryAndStateStack','REDEMPTION_CODE_FULLY_REDEEMED','moveTo','labelPosition','RefRangeService','DataLoaderService','next','registerDependencies','BuiltInUIPart','assignAColorForMemberID','_unitStatus','findNodePositionByCharIndex','deepClone','setItem','DocStateChangeManagerService','isTransformMutationsWithChangesetSuccess','status$','replaceDocRanges','_initCommandInterceptor','OTHER_CLIENTS_EDITING','text','getSheetBySheetId','requireSession','CollaborationStatus','round','ticket','_httpService','purple.300','toRgbString','_textBubble','_pollingInterval','Plugin','min','merge','DOC_RANGE_TYPE','currentColor','isArray','InsertColCommandId','actions','2612755pLkfnP','_handleEvent','session.collaboration-timeout','_anchor','transformMutationsWithChangeset','_refRangeService','_cursors','runOnServer','CollaborationEvent','lineTo','NOT_FOUND','drawWith','YUUMI_CONNECTOR_URL_NOT_FOUND','Tools','TOO_MANY_REQUESTS','_syncEditingCollabCursorService','_docTransformIMECacheService','get','RegularPolygon','7553133RTnXsV','with','handleMoveRange','REDEMPTION_USER_REDEEM_TIMES_EXCEED','endRow','setShapeProps','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','UniverEngineRender','Injector','LocaleService','_setupSubUnitSync','type','forwardRef','onStarting','_assignedColors','getParam','_context','entityInit$','loadUnit','has','session.will-retry','getUnitId','_localCacheService','getColor','executeCommand','height','symbol','getCellPositionByOffset','searchParams','current','UniverProCollaborationClientUi','getUniverSheetInstance','516308meYxlo','docStateChange$','_localStorageService','newValue','ILocalCacheService','INVALID_INVITE_CODE','_hasFormulaInDirtyRanges','OnLineIcon','attrs','map','_uiPartsService','_send','BrowserCollaborationSocketService','_transformPreviousActiveRange','APPLY_PERMISSION_DENIED','IRemoteInstanceService','collaboration-client-ui.config','object','imageSourceType','clearTimeout','_roomMembers$','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_ASYNCIO_CANCELLED','data','_cursorInfo$','path','_themeService','pipe','length','engine','releaseFormulaLimitUrl','restore','_initEntityListener','_getSessionTicket','getUnit','UNIVER_SHEET','UniverInstanceType','_maxFormulaLimit','arc','formula.calculation.unable','_drawAnchor','_eventUnsubscribe','init','dispose$','DocSkeletonManagerService','UniverCollaborationClientUIPlugin','_ensureSubject','_collabCursorState$','Tooltip','unit','on-line-icon','1em','registerBeforeClose','isFormulaId','send','TEXT_RANGE_LAYER_INDEX','USER_NOT_INVITED_CODE','@univerjs/engine-formula','_getScale','SetSelectionsOperation','exhaustSavingTask','transformSelections','_scene','NOT_COLLAB','LOGIN_TOKEN_PROCESSING_FAILED','UniverRpc','isEditing','_checkCalculationAvailable','USERS_LEAVE','YUUMI_NO_CUBOID_FOR_QUESTION','exports','_docTransformStateCacheService','startFormulaLimitUrl','IConfigService','fill','MOBILE_HAS_BEEN_BOUND','_labelPosition','_onCursorUpdate','bottom','_hover','save','getRenderById','some','max','override','40UmVIez','hovered','updateOfflineData','ENTITLE_CHAT_LIMIT_EXCEED','handleInsertCol','Error','size','JOIN_ROOM_FAILED','_range','off-line-icon_clip0_910_343','getCurrentRevOfUnit','YUUMI_RATE_OVER_LIMIT','ERROR_AGAIN','DocCollaborationEntity','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UPDATE_CURSOR','registerRefRange','flatMap','ONLINE','_getSaveTimeout','debounce','getUnhiddenWorksheets','COMPLETION_FINISHED','Unknown\x20user','_updateSubUnitFromURLParams','toString','parseInt','startColumn','onCommandExecuted','row','dispose','DocIMEInputManagerService','subUnitId','clipPath','Loading','BehaviorSubject','UNRECOGNIZED','_cursor','eventID','Failed','_anchorDot','IImageIoService','removeParam','assign','UniverDrawing','extend','_injector','collabStatus.synced','handleInsertRangeMoveRight','div','setConfig','_colorIndex','_startDocCollabCursor','_scheduleClearOtherTimer','AWAITING_WITH_PENDING','SheetSkeletonManagerService','mergeOverrideWithDependencies','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subunit','startRow','IRenderManagerService','_scheduleSaving','addClipboardHook','rxjs','DesktopCollaborationStatusDisplayController','createIdentifier','handleDeleteRangeMoveLeft','_messageService','APPLY_DUPLICATED','params','unshift','currentTheme$','addEventListener','SetWorksheetActivateCommand','OTHER_CLIENT_EDITING','InsertRowCommandId','name','generateRandomId','RxDisposable','call','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','/run/','addHandlerCallback','selections','_initResize','white','prototype','none','_collabCursorController','_init','_sheetSkeletonManagerService','_drawRectRange','isTransformMutationFailure','fillText','M0\x200H16V16H0z','_color','2917848gNzQfx','useDependency','executionId','registerComponent','_memberService','SNAPSHOT_INVALID_SNAPSHOT','defineProperty','getLocalCacheKey','_document','_removeClearOtherTimer','cursorInfo$','blue.400','m1Prime','skeleton','isFormulaString','CURRENT_STATUS_CANNOT_OPERATE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','stringify','INVITE_CODE_REQUIRED','syncEditingCollabCursor','pluginName','_saveTaskMap','_getSheetObject','LOCAL_CACHE_INTERVAL_KEY','disposeUnit','_urlService','_cursorShapes','getDocRanges','collab-text-range-','push','invokeId','WebURLService','CONNECTOR_DATA_TOO_LARGE','_updateLocalCursor','_getFormulaLimitStatus','_initDependencies','#FFF','RECT','_setFormulaLimitStatus','CONFLICT','pushState','filter','_updateCollabCursors','column','getActiveSheet','PERMISSION_DENIED','replaceState','CollaborationUIEventId','triggerDblclick','idSuffix','getCollabEntity$','fromEvent','_colorAssignService','key','getViewport','on-line-icon_clip0_910_349','VIEW_MAIN','transformIMECache','@univerjs/engine-render','debug','_render','delete','subscribeEvent','onLocalMutation','shift','setInterval','getOffsetConfig','getValue','IBeforeCloseService','getMemberID','mapTo','_transformUndoRedoStack','REDEMPTION_INVALID_CODE','collab-text-anchor-','getSheetId','START_CALCULATION','backgroundColor','loadOfflineData','@univerjs/docs','_checkAndWaitForCalculationPermission','getCoordByCell','_initStatusComponent','@univerjs/sheets-ui','_renderManagerService','@univerjs/drawing','_startCalculationLimit','Shape','_doCreateSocket','_initEvent','sheetId','from','INVITE_CODE_HAS_BEEN_UES','_onRefRangeChange','[CollaborationDataLoaderController]','activeSheet$','getCurrent','ColorKit','runRefRangeMutations','_status$','jsxs','function','className','_docTransformSelectionsService','defs','_shapes','_imageIoService','clearInterval','useCallback','SHEET_VIEWPORT_KEY','_docClipboardService','HEADER_MENU','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','icon','Warning','history','_univerInstanceService','CollaborationController','Rect','_lastResponseTimestamp','IUIPartsService','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleHeartbeat','whenReady','UniverDesign','disposeWithMe','focused$','Success','onRendered','createInstance','_entityInit$','editingUnit','APPLY_REJECT','getCellMatrix','910462pWbaJj','_initStatusListener','PAYMENT_CHANNEL_NOT_SUPPORT','onPointerLeave$','hide','LICENSE_DISTRO_REJECTED','REDEMPTION_USER_NOT_ELIGIBLE','UnitStatus','SYNCED','saveOfflineData','_lastPointer','NodePositionConvertToCursor','_handleHeartbeatEvent','_entities','Disposable','addObjects','tag','color','...','limitInfo','isActive','ACTIVE_UNIT_EVENT_CHANNEL','UniverDocs','selection','addObject','getFocusedUnit','wsSessionTicketUrl','beginPath','formula.calculation.started','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','error','CLOSE_ROOM','_logService','rgba(255,\x20255,\x20255,\x200.01)','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getRangePointData','replace','UNAUTHENTICATED','MOBILE_VERIFY_CODE_MISMATCH','transformRemoteChangeset','APPLY_REVISION_CONFILICT','CollaborationSessionService','SUBMIT_CHANGESET_TIMEOUT','_instanceService','split','asObservable','combineLatest','SheetCollabCursorShape','concat','event$','getColorFromTheme','all','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_NOT_STARTED','_registerDependencies','getStateCache','React','EMAIL_HAS_BEEN_BOUND','Rectangle','search','getMember','LOGIN_FAILED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','createElement','UNIVER_DOC','_notificationService','result','getItem','runId','MessageType','INotificationService','_revisionService','urlChange$','doc.mutation.rich-text-editing','touchDependencies','getformulaLimitStatusUrl','WebSocketService','IUniverInstanceService','propertyIsEnumerable','/universer-api/license/formula/limit/done','REDEMPTION_CODE_INACTIVE','range','_setupBeforeClosingHandler','body','_applyCommand','_showGuardMessage','hasOwnProperty','ENTITLE_CAN_NOT_BUY_LOWER_OTP','set','setParam','unsubscribe','collabStatus.conflict','getTypeOfUnitAdded$','INVALID_ARGUMENT','createSocket','_cachedData','takeUntil','_commandService','react/jsx-runtime','_currentUsage','currentSkeleton$','@univerjs-pro/collaboration-client','saveImage','xlink:href','useRef','LOCAL_CACHE_INTERVAL','ITransformService','onPointerEnter$','string','WebBrowserSingleActiveUnitService','_createSocketURL','onTransformChange$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','EffectRefRangId','getMergeData','_config','location','mask','getCurrentUnitForType','Vector2','getActiveRange','undoState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getMergeRange','getUnitStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','_releaseCalculationLimit','unitID','COLORS','storage','DocSelectionManagerService','subscribe','600187zhPfpN','UniverProCollaboration','getSkeleton','forEach','_saveCache','random','stageInfo','top','makeDirty','INVITE_CODE_ALREADY_BOUND','@univerjs/design','@univerjs/sheets','FETCH_MISS','width','FormulaExecutedStateType','connectInjector','_updateURLWithCurrentState','setActiveRange','ENTITLE_DUP_SUBSCRIPTION','redoState','_backgroundColor','toStringTag','children','_docStateChangeManagerService','url(#$1','source','_clearOtherTimers','APPLY_NON_SEQUENTIAL_REVISION','_disabled'];_0x32c6=function(){return _0x103874;};return _0x32c6();}
1
+ function _0x3fa7(_0x42eabb,_0x10d576){const _0x97afe0=_0x97af();return _0x3fa7=function(_0x3fa7ed,_0x562396){_0x3fa7ed=_0x3fa7ed-0x166;let _0x4fb70e=_0x97afe0[_0x3fa7ed];return _0x4fb70e;},_0x3fa7(_0x42eabb,_0x10d576);}(function(_0x39d124,_0x366e36){const _0x118be9=_0x3fa7,_0x5508e9=_0x39d124();while(!![]){try{const _0x32597c=-parseInt(_0x118be9(0x367))/0x1*(-parseInt(_0x118be9(0x31e))/0x2)+-parseInt(_0x118be9(0x211))/0x3+parseInt(_0x118be9(0x1d6))/0x4*(-parseInt(_0x118be9(0x180))/0x5)+parseInt(_0x118be9(0x40e))/0x6+-parseInt(_0x118be9(0x38e))/0x7+-parseInt(_0x118be9(0x19b))/0x8+parseInt(_0x118be9(0x38c))/0x9*(parseInt(_0x118be9(0x294))/0xa);if(_0x32597c===_0x366e36)break;else _0x5508e9['push'](_0x5508e9['shift']());}catch(_0x97840c){_0x5508e9['push'](_0x5508e9['shift']());}}}(_0x97af,0x6bad7),function(_0x40a696,_0x3e80c8){const _0x484207=_0x3fa7;typeof exports==_0x484207(0x2d5)&&typeof module<'u'?_0x3e80c8(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==_0x484207(0x37b)&&define[_0x484207(0x297)]?define(['exports',_0x484207(0x391),_0x484207(0x2b3),'@univerjs/core',_0x484207(0x407),_0x484207(0x239),'@univerjs/design',_0x484207(0x2fd),_0x484207(0x3fa),_0x484207(0x20d),_0x484207(0x41c),_0x484207(0x1c9),_0x484207(0x412),'@univerjs/drawing','@univerjs-pro/collaboration','@univerjs/docs',_0x484207(0x29c),_0x484207(0x43f),'@univerjs/sheets-ui'],_0x3e80c8):(_0x40a696=typeof globalThis<'u'?globalThis:_0x40a696||self,_0x3e80c8(_0x40a696[_0x484207(0x444)]={},_0x40a696[_0x484207(0x304)],_0x40a696[_0x484207(0x202)],_0x40a696[_0x484207(0x1d5)],_0x40a696['UniverUi'],_0x40a696[_0x484207(0x239)],_0x40a696[_0x484207(0x2e9)],_0x40a696['React'],_0x40a696[_0x484207(0x3e9)],_0x40a696[_0x484207(0x3f4)],_0x40a696[_0x484207(0x439)],_0x40a696['UniverNetwork'],_0x40a696[_0x484207(0x2e4)],_0x40a696[_0x484207(0x3ec)],_0x40a696[_0x484207(0x376)],_0x40a696['UniverDocs'],_0x40a696['UniverEngineFormula'],_0x40a696[_0x484207(0x239)][_0x484207(0x372)],_0x40a696[_0x484207(0x1c1)]));}(this,function(_0x2d6df0,_0x3f2dd7,_0x5114e9,_0xe02e1d,_0x2783f5,_0x4f3599,_0x51c415,_0x2df6e2,_0x4abea4,_0x1f9905,_0x82715c,_0x42ea24,_0x3c2fd8,_0x3bb5b2,_0x1d566b,_0x45611e,_0x30fe55,_0x114028,_0x18520d){'use strict';const _0x4ffb2f=_0x3fa7;var _0x3ef5cf=Object['defineProperty'],_0x57c3d6=(_0x3a4dae,_0x59a70a,_0x10da57)=>_0x59a70a in _0x3a4dae?_0x3ef5cf(_0x3a4dae,_0x59a70a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10da57}):_0x3a4dae[_0x59a70a]=_0x10da57,_0x18680f=(_0x2fab0f,_0x380a57,_0x23d3fb)=>_0x57c3d6(_0x2fab0f,typeof _0x380a57!='symbol'?_0x380a57+'':_0x380a57,_0x23d3fb),_0x5e32c4=function(){const _0x185240=_0x3fa7;return _0x5e32c4=Object[_0x185240(0x29d)]||function(_0x2feeba){const _0x4b42b0=_0x185240;for(var _0x3320a2,_0xd0c695=0x1,_0x8c8c68=arguments[_0x4b42b0(0x30b)];_0xd0c695<_0x8c8c68;_0xd0c695++){_0x3320a2=arguments[_0xd0c695];for(var _0x10664e in _0x3320a2)Object[_0x4b42b0(0x3d5)][_0x4b42b0(0x2be)]['call'](_0x3320a2,_0x10664e)&&(_0x2feeba[_0x10664e]=_0x3320a2[_0x10664e]);}return _0x2feeba;},_0x5e32c4[_0x185240(0x2ec)](this,arguments);},_0x2a292d=function(_0xe18ce2,_0x5f5991){const _0x34ab62=_0x3fa7;var _0x5d8e9f={};for(var _0x1a9af4 in _0xe18ce2)Object['prototype'][_0x34ab62(0x2be)]['call'](_0xe18ce2,_0x1a9af4)&&_0x5f5991[_0x34ab62(0x2c9)](_0x1a9af4)<0x0&&(_0x5d8e9f[_0x1a9af4]=_0xe18ce2[_0x1a9af4]);if(_0xe18ce2!=null&&typeof Object[_0x34ab62(0x24c)]==_0x34ab62(0x37b)){for(var _0x3c2f7c=0x0,_0x1a9af4=Object[_0x34ab62(0x24c)](_0xe18ce2);_0x3c2f7c<_0x1a9af4[_0x34ab62(0x30b)];_0x3c2f7c++)_0x5f5991[_0x34ab62(0x2c9)](_0x1a9af4[_0x3c2f7c])<0x0&&Object[_0x34ab62(0x3d5)][_0x34ab62(0x194)][_0x34ab62(0x1ab)](_0xe18ce2,_0x1a9af4[_0x3c2f7c])&&(_0x5d8e9f[_0x1a9af4[_0x3c2f7c]]=_0xe18ce2[_0x1a9af4[_0x3c2f7c]]);}return _0x5d8e9f;},_0xb19191=_0x2df6e2[_0x4ffb2f(0x1b1)](function(_0x3c441d,_0x54832c){const _0x53ef31=_0x4ffb2f;var _0x52c05b=_0x3c441d[_0x53ef31(0x2f5)],_0x5b2db0=_0x3c441d['id'],_0x5ddc74=_0x3c441d['className'],_0x1ca04c=_0x3c441d['extend'],_0x293459=_0x2a292d(_0x3c441d,[_0x53ef31(0x2f5),'id',_0x53ef31(0x216),_0x53ef31(0x350)]),_0x34d0c0=_0x53ef31(0x435)[_0x53ef31(0x19d)](_0x5b2db0,'\x20')[_0x53ef31(0x19d)](_0x5ddc74||'')[_0x53ef31(0x2f6)](),_0x525936=_0x2df6e2[_0x53ef31(0x410)]('_'['concat'](_0x49c17f()));return _0x376751(_0x52c05b,''['concat'](_0x5b2db0),{'defIds':_0x52c05b[_0x53ef31(0x434)],'idSuffix':_0x525936['current']},_0x5e32c4({'ref':_0x54832c,'className':_0x34d0c0},_0x293459),_0x1ca04c);});function _0x376751(_0x4a0925,_0x3ad459,_0x4539b2,_0x413e18,_0x5b87fc){const _0x121262=_0x4ffb2f;return _0x2df6e2['createElement'](_0x4a0925[_0x121262(0x374)],_0x5e32c4(_0x5e32c4({'key':_0x3ad459},_0x798be2(_0x4a0925,_0x4539b2,_0x5b87fc)),_0x413e18),(_0x41af36(_0x4a0925,_0x4539b2)['children']||[])[_0x121262(0x2d2)](function(_0x18a328,_0x11963b){const _0xa3b97a=_0x121262;return _0x376751(_0x18a328,''[_0xa3b97a(0x19d)](_0x3ad459,'-')[_0xa3b97a(0x19d)](_0x4a0925['tag'],'-')[_0xa3b97a(0x19d)](_0x11963b),_0x4539b2,void 0x0,_0x5b87fc);}));}function _0x798be2(_0x85bdb8,_0x5d1e9f,_0x4659f9){const _0x3e246f=_0x4ffb2f;var _0x265a6a=_0x5e32c4({},_0x85bdb8[_0x3e246f(0x42a)]);_0x4659f9!=null&&_0x4659f9[_0x3e246f(0x2a1)]&&_0x265a6a[_0x3e246f(0x203)]===_0x3e246f(0x2a1)&&(_0x265a6a[_0x3e246f(0x203)]=_0x4659f9[_0x3e246f(0x2a1)]),_0x85bdb8['tag']==='mask'&&_0x265a6a['id']&&(_0x265a6a['id']=_0x265a6a['id']+_0x5d1e9f['idSuffix']),Object[_0x3e246f(0x3da)](_0x265a6a)[_0x3e246f(0x3b3)](function(_0x143c54){const _0x5f24af=_0x3e246f;var _0x2dd6d3=_0x143c54[0x0],_0x26e815=_0x143c54[0x1];_0x2dd6d3===_0x5f24af(0x2fa)&&typeof _0x26e815==_0x5f24af(0x379)&&(_0x265a6a[_0x2dd6d3]=_0x26e815[_0x5f24af(0x283)](/url\(#(.*)\)/,_0x5f24af(0x196)[_0x5f24af(0x19d)](_0x5d1e9f[_0x5f24af(0x27c)],')')));});var _0x391e53=_0x5d1e9f[_0x3e246f(0x434)];return!_0x391e53||_0x391e53[_0x3e246f(0x30b)]===0x0||(_0x85bdb8[_0x3e246f(0x374)]===_0x3e246f(0x343)&&_0x265a6a[_0x3e246f(0x354)]&&(_0x265a6a[_0x3e246f(0x354)]=_0x265a6a[_0x3e246f(0x354)]+_0x5d1e9f[_0x3e246f(0x27c)]),Object[_0x3e246f(0x3da)](_0x265a6a)[_0x3e246f(0x3b3)](function(_0x44c55f){const _0x5b8bea=_0x3e246f;var _0x925c59=_0x44c55f[0x0],_0x1df3eb=_0x44c55f[0x1];typeof _0x1df3eb==_0x5b8bea(0x379)&&(_0x265a6a[_0x925c59]=_0x1df3eb[_0x5b8bea(0x283)](/url\(#(.*)\)/,_0x5b8bea(0x196)['concat'](_0x5d1e9f[_0x5b8bea(0x27c)],')')));})),_0x265a6a;}function _0x41af36(_0x35a857,_0x49922e){const _0xdb7140=_0x4ffb2f;var _0x2d0ec5,_0x3902c6=_0x49922e[_0xdb7140(0x434)];return!_0x3902c6||_0x3902c6[_0xdb7140(0x30b)]===0x0?_0x35a857:_0x35a857[_0xdb7140(0x374)]===_0xdb7140(0x3a4)&&(!((_0x2d0ec5=_0x35a857[_0xdb7140(0x2e8)])===null||_0x2d0ec5===void 0x0)&&_0x2d0ec5[_0xdb7140(0x30b)])?_0x5e32c4(_0x5e32c4({},_0x35a857),{'children':_0x35a857['children'][_0xdb7140(0x2d2)](function(_0x43f7b7){const _0x5cb8ed=_0xdb7140;return typeof _0x43f7b7[_0x5cb8ed(0x42a)]['id']==_0x5cb8ed(0x379)&&_0x3902c6&&_0x3902c6[_0x5cb8ed(0x168)](_0x43f7b7[_0x5cb8ed(0x42a)]['id'])?_0x5e32c4(_0x5e32c4({},_0x43f7b7),{'attrs':_0x5e32c4(_0x5e32c4({},_0x43f7b7[_0x5cb8ed(0x42a)]),{'id':_0x43f7b7['attrs']['id']+_0x49922e[_0x5cb8ed(0x27c)]})}):_0x43f7b7;})}):_0x35a857;}function _0x49c17f(){const _0x490acd=_0x4ffb2f;return Math[_0x490acd(0x44c)]()[_0x490acd(0x2d8)](0x24)[_0x490acd(0x311)](0x2,0x8);}_0xb19191['displayName']=_0x4ffb2f(0x36f);var _0x495ab6={'tag':_0x4ffb2f(0x34a),'attrs':{'xmlns':_0x4ffb2f(0x385),'fill':_0x4ffb2f(0x1b0),'viewBox':_0x4ffb2f(0x289),'width':_0x4ffb2f(0x3b1),'height':_0x4ffb2f(0x3b1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4ffb2f(0x296),'attrs':{'stroke':_0x4ffb2f(0x25d),'d':_0x4ffb2f(0x18d),'strokeLinecap':_0x4ffb2f(0x34d),'strokeLinejoin':_0x4ffb2f(0x34d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4ffb2f(0x326),'attrs':{'id':_0x4ffb2f(0x42d)},'children':[{'tag':_0x4ffb2f(0x296),'attrs':{'fill':_0x4ffb2f(0x2b1),'d':_0x4ffb2f(0x2bb)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3094b5=_0x2df6e2['forwardRef'](function(_0x880eb3,_0x1f686d){const _0x6ba596=_0x4ffb2f;return _0x2df6e2[_0x6ba596(0x24f)](_0xb19191,Object[_0x6ba596(0x29d)]({},_0x880eb3,{'id':'off-line-icon','ref':_0x1f686d,'icon':_0x495ab6}));});_0x3094b5[_0x4ffb2f(0x3d3)]='OffLineIcon';var _0x24e0c5={'tag':_0x4ffb2f(0x34a),'attrs':{'xmlns':_0x4ffb2f(0x385),'fill':'none','viewBox':_0x4ffb2f(0x1f3),'width':_0x4ffb2f(0x3b1),'height':_0x4ffb2f(0x3b1)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ffb2f(0x1e0)},'children':[{'tag':_0x4ffb2f(0x296),'attrs':{'stroke':_0x4ffb2f(0x25d),'d':_0x4ffb2f(0x40d),'strokeLinecap':_0x4ffb2f(0x34d),'strokeLinejoin':_0x4ffb2f(0x34d),'strokeWidth':1.2}}]},{'tag':_0x4ffb2f(0x3a4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x4ffb2f(0x296),'attrs':{'fill':'white','d':_0x4ffb2f(0x2bb),'transform':_0x4ffb2f(0x3cd)}}]}]}],'defIds':[_0x4ffb2f(0x268)]},_0x28f09e=_0x2df6e2[_0x4ffb2f(0x1b1)](function(_0x3c149c,_0x407145){const _0x26d662=_0x4ffb2f;return _0x2df6e2[_0x26d662(0x24f)](_0xb19191,Object['assign']({},_0x3c149c,{'id':'on-line-icon','ref':_0x407145,'icon':_0x24e0c5}));});_0x28f09e[_0x4ffb2f(0x3d3)]=_0x4ffb2f(0x3de);function _0x29ed78(_0x51c81d){const _0x334f11=_0x4ffb2f;switch(_0x51c81d){case _0x5114e9[_0x334f11(0x2b6)][_0x334f11(0x209)]:return'collabStatus.offline';case _0x5114e9[_0x334f11(0x2b6)][_0x334f11(0x295)]:return'collabStatus.conflict';case _0x5114e9['CollaborationStatus'][_0x334f11(0x21f)]:return _0x334f11(0x306);case _0x5114e9[_0x334f11(0x2b6)][_0x334f11(0x236)]:return'collabStatus.notCollab';case _0x5114e9[_0x334f11(0x2b6)][_0x334f11(0x267)]:case _0x5114e9['CollaborationStatus'][_0x334f11(0x2e5)]:return'collabStatus.syncing';case _0x5114e9['CollaborationStatus'][_0x334f11(0x2d0)]:case _0x5114e9[_0x334f11(0x2b6)][_0x334f11(0x1fb)]:return _0x334f11(0x336);}}function _0x150d53(_0x16f4a2){const _0x2c2a9b=_0x4ffb2f,{status$:_0x145189}=_0x16f4a2,_0x293059=_0x2783f5[_0x2c2a9b(0x329)](_0x145189,_0x5114e9[_0x2c2a9b(0x2b6)]['NOT_COLLAB']),_0x5c646e=_0x2783f5[_0x2c2a9b(0x1b2)](_0xe02e1d[_0x2c2a9b(0x388)]),_0x52e035=_0x2783f5[_0x2c2a9b(0x1b2)](_0x5114e9[_0x2c2a9b(0x429)]),_0x490ef4=_0x293059!==_0x5114e9['CollaborationStatus'][_0x2c2a9b(0x209)],_0x477b6d=_0x5c646e['t'](_0x29ed78(_0x293059)),_0x1d955a=_0x490ef4?_0x3f2dd7['jsx'](_0x28f09e,{}):_0x3f2dd7[_0x2c2a9b(0x396)](_0x3094b5,{}),_0x1e6c26=_0x2df6e2[_0x2c2a9b(0x208)](()=>{const _0x463303=_0x2c2a9b;_0x490ef4||_0x52e035[_0x463303(0x2af)]();},[_0x490ef4,_0x52e035]);function _0x26ff8b(){const _0x4d0398=_0x2c2a9b;return _0x3f2dd7[_0x4d0398(0x1f7)](_0x4d0398(0x36d),{'className':_0x4d0398(0x394),'onClick':_0x1e6c26,'children':[_0x3f2dd7[_0x4d0398(0x396)](_0x4d0398(0x36d),{'className':_0x51c415[_0x4d0398(0x2a5)](_0x4d0398(0x25f),{'univer-text-green-500':_0x490ef4,'univer-text-red-500':!_0x490ef4}),'children':_0x1d955a}),_0x3f2dd7['jsx'](_0x4d0398(0x36d),{'className':_0x4d0398(0x286),'children':_0x477b6d})]});}return _0x490ef4?_0x26ff8b():_0x3f2dd7[_0x2c2a9b(0x396)](_0x51c415['Tooltip'],{'title':_0x5c646e['t']('collab-client.tooltip.reconnect'),'children':_0x26ff8b()});}var _0x126082=Object['getOwnPropertyDescriptor'],_0x12e512=(_0x7028bc,_0x578b35,_0x489d2f,_0x2dbff3)=>{const _0x3a62f5=_0x4ffb2f;for(var _0x2f3382=_0x2dbff3>0x1?void 0x0:_0x2dbff3?_0x126082(_0x578b35,_0x489d2f):_0x578b35,_0x5f208=_0x7028bc[_0x3a62f5(0x30b)]-0x1,_0x17dfcd;_0x5f208>=0x0;_0x5f208--)(_0x17dfcd=_0x7028bc[_0x5f208])&&(_0x2f3382=_0x17dfcd(_0x2f3382)||_0x2f3382);return _0x2f3382;},_0x575661=(_0x18abb5,_0x1a1152)=>(_0x2b9271,_0x324ef8)=>_0x1a1152(_0x2b9271,_0x324ef8,_0x18abb5);_0x2d6df0[_0x4ffb2f(0x414)]=class extends _0xe02e1d[_0x4ffb2f(0x3ae)]{constructor(_0x4ccb80,_0x4412f2,_0x1cc8c1,_0x368d3d){const _0x160c8b=_0x4ffb2f;super(),_0x18680f(this,_0x160c8b(0x258),new _0x4f3599['BehaviorSubject'](_0x5114e9[_0x160c8b(0x2b6)]['NOT_COLLAB'])),(this[_0x160c8b(0x17c)]=_0x4ccb80,this[_0x160c8b(0x188)]=_0x4412f2,this['_collaborationController']=_0x1cc8c1,this[_0x160c8b(0x24e)]=_0x368d3d,this[_0x160c8b(0x375)](),this[_0x160c8b(0x3c9)]());}[_0x4ffb2f(0x3c9)](){const _0x229ffb=_0x4ffb2f;this[_0x229ffb(0x2c6)](this[_0x229ffb(0x17c)][_0x229ffb(0x2bd)][_0x229ffb(0x1da)](_0x4f3599['switchMap'](()=>{const _0x441141=_0x229ffb,_0x10ef73=this[_0x441141(0x17c)][_0x441141(0x3e5)]();return _0x10ef73?this[_0x441141(0x184)][_0x441141(0x3b2)](_0x10ef73['getUnitId']()):_0x4f3599['of'](null);}),_0x4f3599[_0x229ffb(0x3f3)](_0x4d4411=>_0x4d4411?_0x4d4411['status$']:_0x4f3599['of'](_0x5114e9[_0x229ffb(0x2b6)][_0x229ffb(0x236)])))[_0x229ffb(0x2ee)](_0x1da8b=>{const _0x19a68c=_0x229ffb;this['_status$'][_0x19a68c(0x2a8)](_0x1da8b);}));}[_0x4ffb2f(0x375)](){const _0x54303c=_0x4ffb2f;this[_0x54303c(0x2c6)](this[_0x54303c(0x24e)][_0x54303c(0x3f9)](_0x2783f5[_0x54303c(0x25c)][_0x54303c(0x24d)],()=>_0x2783f5[_0x54303c(0x29a)](_0x23a491({'status$':this[_0x54303c(0x258)][_0x54303c(0x369)]()}),this[_0x54303c(0x188)])));}},_0x2d6df0['DesktopCollaborationStatusDisplayController']=_0x12e512([_0x575661(0x0,_0xe02e1d[_0x4ffb2f(0x312)]),_0x575661(0x1,_0xe02e1d['Inject'](_0xe02e1d[_0x4ffb2f(0x1c2)])),_0x575661(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0x5114e9[_0x4ffb2f(0x218)])),_0x575661(0x3,_0x2783f5[_0x4ffb2f(0x446)])],_0x2d6df0[_0x4ffb2f(0x414)]);function _0x23a491(_0x2a4262){const {status$:_0x2a16f0}=_0x2a4262;return function(){const _0x156e4f=_0x3fa7;return _0x3f2dd7[_0x156e4f(0x396)](_0x150d53,{'status$':_0x2a16f0});};}const _0x4a67c0=_0xe02e1d[_0x4ffb2f(0x2fb)](_0x4ffb2f(0x26b));var _0x137eb7=Object[_0x4ffb2f(0x1c4)],_0xb7b304=(_0x5d41da,_0x45ef5e,_0x42f2ce,_0x574bcb)=>{const _0x236c85=_0x4ffb2f;for(var _0x490210=_0x574bcb>0x1?void 0x0:_0x574bcb?_0x137eb7(_0x45ef5e,_0x42f2ce):_0x45ef5e,_0x500c9d=_0x5d41da[_0x236c85(0x30b)]-0x1,_0x2f7902;_0x500c9d>=0x0;_0x500c9d--)(_0x2f7902=_0x5d41da[_0x500c9d])&&(_0x490210=_0x2f7902(_0x490210)||_0x490210);return _0x490210;},_0x419035=(_0x22bd62,_0x24ab10)=>(_0x1fdbfd,_0x3ef62d)=>_0x24ab10(_0x1fdbfd,_0x3ef62d,_0x22bd62);_0x2d6df0[_0x4ffb2f(0x43c)]=class extends _0xe02e1d['RxDisposable']{constructor(_0x1d630e,_0x20053f,_0x55db9f,_0x58e14b,_0x1357c1){const _0x644ab9=_0x4ffb2f;super(),this['_urlService']=_0x1d630e,this[_0x644ab9(0x310)]=_0x20053f,this['_commandService']=_0x55db9f,this[_0x644ab9(0x307)]=_0x58e14b,_0x1357c1?_0x1357c1==null||_0x1357c1[_0x644ab9(0x382)]()[_0x644ab9(0x40a)](()=>this[_0x644ab9(0x230)]()):(this[_0x644ab9(0x310)][_0x644ab9(0x18a)](_0x644ab9(0x276),_0x644ab9(0x1a6)),this['_init']());}async[_0x4ffb2f(0x230)](){const _0x229c97=_0x4ffb2f,_0x150bac=this[_0x229c97(0x442)][_0x229c97(0x27f)](_0x229c97(0x341)),_0x9be741=this[_0x229c97(0x442)][_0x229c97(0x27f)]('type'),_0x579ae8=this['_urlService']['getParam'](_0x229c97(0x1de));if(!_0x150bac||!_0x9be741){this[_0x229c97(0x310)]['debug']('[CollaborationDataLoaderController]',_0x229c97(0x1bf));return;}const _0xac20fb=await this['_dataLoaderService'][_0x229c97(0x32a)](_0x150bac,Number(_0x9be741),_0x579ae8);_0xac20fb&&_0xac20fb instanceof _0xe02e1d[_0x229c97(0x2bc)]&&this[_0x229c97(0x321)](_0xac20fb);}async[_0x4ffb2f(0x321)](_0x4cde51){const _0x2d9412=_0x4ffb2f;await this[_0x2d9412(0x3be)](_0x4cde51),_0x4cde51[_0x2d9412(0x3d2)][_0x2d9412(0x1da)](_0x4f3599[_0x2d9412(0x2ab)](this[_0x2d9412(0x3ba)]))[_0x2d9412(0x2ee)](_0x1ddc23=>{const _0x5e8415=_0x2d9412;_0x1ddc23&&this[_0x5e8415(0x30a)](_0x1ddc23);}),this[_0x2d9412(0x442)][_0x2d9412(0x3cf)][_0x2d9412(0x1da)](_0x4f3599[_0x2d9412(0x2ab)](this[_0x2d9412(0x3ba)]))['subscribe'](()=>this[_0x2d9412(0x3be)](_0x4cde51));}[_0x4ffb2f(0x30a)](_0x4c32a8,_0x50f003=!0x1){const _0x37b415=_0x4ffb2f,_0x440d58=this[_0x37b415(0x442)][_0x37b415(0x27f)](_0x37b415(0x1de));_0x4c32a8[_0x37b415(0x44f)]()!==_0x440d58&&this[_0x37b415(0x442)][_0x37b415(0x3d9)](_0x37b415(0x1de),_0x4c32a8['getSheetId'](),_0x50f003);}async['_updateSubUnitFromURLParams'](_0x4f0043){const _0x34f1b3=_0x4ffb2f;var _0xb4b2bc;const _0x23982b=this['_urlService']['getParam'](_0x34f1b3(0x1de));if(!_0x23982b||!_0x4f0043[_0x34f1b3(0x1cb)](_0x23982b)){const _0x2e5ed5=_0x4f0043[_0x34f1b3(0x34b)]()[0x0],_0x2af848=_0x4f0043[_0x34f1b3(0x1cb)](_0x2e5ed5);if(!_0x2af848)return;this[_0x34f1b3(0x30a)](_0x2af848,!0x0),await this[_0x34f1b3(0x3ad)][_0x34f1b3(0x201)](_0x1f9905['SetWorksheetActivateCommand']['id'],{'unitId':_0x4f0043[_0x34f1b3(0x22d)](),'subUnitId':_0x2e5ed5});return;}((_0xb4b2bc=_0x4f0043[_0x34f1b3(0x2c4)]())==null?void 0x0:_0xb4b2bc['getSheetId']())!==_0x23982b&&await this[_0x34f1b3(0x3ad)]['executeCommand'](_0x1f9905[_0x34f1b3(0x222)]['id'],{'unitId':_0x4f0043[_0x34f1b3(0x22d)](),'subUnitId':_0x23982b});}},_0x2d6df0[_0x4ffb2f(0x43c)]=_0xb7b304([_0x419035(0x0,_0x4a67c0),_0x419035(0x1,_0xe02e1d[_0x4ffb2f(0x3d1)]),_0x419035(0x2,_0xe02e1d[_0x4ffb2f(0x2b4)]),_0x419035(0x3,_0xe02e1d[_0x4ffb2f(0x23d)](_0x5114e9[_0x4ffb2f(0x17d)])),_0x419035(0x4,_0xe02e1d[_0x4ffb2f(0x37f)](_0x4abea4[_0x4ffb2f(0x43b)]))],_0x2d6df0[_0x4ffb2f(0x43c)]);var _0x5803ba=Object[_0x4ffb2f(0x1c4)],_0x13699b=(_0xfec3a8,_0x3dad58,_0x58caa2,_0x513ec1)=>{const _0x3f5144=_0x4ffb2f;for(var _0x54a118=_0x513ec1>0x1?void 0x0:_0x513ec1?_0x5803ba(_0x3dad58,_0x58caa2):_0x3dad58,_0x5eb2be=_0xfec3a8[_0x3f5144(0x30b)]-0x1,_0x1ad5f2;_0x5eb2be>=0x0;_0x5eb2be--)(_0x1ad5f2=_0xfec3a8[_0x5eb2be])&&(_0x54a118=_0x1ad5f2(_0x54a118)||_0x54a118);return _0x54a118;},_0x2cc7af=(_0x2231cf,_0x1ec371)=>(_0x183d0a,_0x3cd83a)=>_0x1ec371(_0x183d0a,_0x3cd83a,_0x2231cf);let _0x536d27=class extends _0xe02e1d['RxDisposable']{constructor(_0x4a4b36,_0x42a70){const _0x3977a8=_0x4ffb2f;super(),this[_0x3977a8(0x1d4)]=_0x4a4b36,this[_0x3977a8(0x33f)]=_0x42a70,this[_0x3977a8(0x230)]();}['_init'](){const _0x52dd0d=_0x4ffb2f,_0x4e00f8=this;this[_0x52dd0d(0x2c6)](this[_0x52dd0d(0x1d4)]['addClipboardHook']({'onBeforePasteImage':async _0x3b244a=>{const _0xf8c012=_0x52dd0d,_0xae648f=await _0x4e00f8['_imageIoService'][_0xf8c012(0x2d9)](_0x3b244a);return _0xae648f?{'source':_0xae648f[_0xf8c012(0x1fd)],'imageSourceType':_0xae648f[_0xf8c012(0x272)]}:null;}}));}};_0x536d27=_0x13699b([_0x2cc7af(0x0,_0x3c2fd8['IDocClipboardService']),_0x2cc7af(0x1,_0x3bb5b2[_0x4ffb2f(0x207)])],_0x536d27);const _0x3e7379=[_0x4ffb2f(0x2de),_0x4ffb2f(0x3bf),_0x4ffb2f(0x252),_0x4ffb2f(0x253),_0x4ffb2f(0x21c),_0x4ffb2f(0x32f)];class _0x55d160 extends _0xe02e1d[_0x4ffb2f(0x3ae)]{constructor(){const _0x330a81=_0x4ffb2f;super(...arguments),_0x18680f(this,'_assignedColors',new Map()),_0x18680f(this,_0x330a81(0x3bb),0x0);}[_0x4ffb2f(0x2df)](_0xc235bb){const _0x1158bd=_0x4ffb2f;if(this[_0x1158bd(0x1ec)][_0x1158bd(0x438)](_0xc235bb))return this[_0x1158bd(0x1ec)][_0x1158bd(0x3f8)](_0xc235bb);const _0x13c020=_0x3e7379[this['_colorIndex']];return this[_0x1158bd(0x3bb)]=(this[_0x1158bd(0x3bb)]+0x1)%_0x3e7379['length'],this[_0x1158bd(0x1ec)][_0x1158bd(0x319)](_0xc235bb,_0x13c020),_0x13c020;}}function _0x48d153(_0x172e0c){const _0x2d945c=_0x4ffb2f;let _0xb0eeef='';for(const _0x3d8faa of _0x172e0c){const {startOffset:_0x40619d,endOffset:_0x4e3643,isActive:_0x1c9658,rangeType:_0x44e66b,segmentId:_0x3968a6,segmentPage:_0x225ddf}=_0x3d8faa;_0xb0eeef[_0x2d945c(0x30b)]&&(_0xb0eeef+=','),_0xb0eeef+=_0x40619d+':'+_0x4e3643+':'+(_0x1c9658?'1':'0')+':'+_0x44e66b+':'+_0x3968a6+':'+_0x225ddf;}return _0xb0eeef;}function _0x12f4f4(_0x404b1b){const _0x4da03e=_0x4ffb2f,_0x39d523=_0x404b1b['split'](','),_0x20809e=[];for(const _0x176426 of _0x39d523){const [_0x3eff2e,_0x2dab11,_0x551277,_0x58e007,_0x3122ae,_0xcbfc27]=_0x176426[_0x4da03e(0x39b)](':');_0x20809e[_0x4da03e(0x349)]({'startOffset':Number(_0x3eff2e),'endOffset':Number(_0x2dab11),'collapsed':_0x3eff2e===_0x2dab11,'isActive':_0x551277==='1','rangeType':_0x58e007===_0xe02e1d[_0x4da03e(0x38a)][_0x4da03e(0x271)]?_0xe02e1d[_0x4da03e(0x38a)][_0x4da03e(0x271)]:_0xe02e1d[_0x4da03e(0x38a)][_0x4da03e(0x2db)],'segmentId':typeof _0x3122ae==_0x4da03e(0x379)?String(_0x3122ae):'','segmentPage':Number(_0xcbfc27!=null?_0xcbfc27:-0x1)});}return _0x20809e[_0x4da03e(0x364)](_0x66c18f=>_0x66c18f[_0x4da03e(0x404)])||(_0x20809e[0x0]['isActive']=!0x0),_0x20809e;}class _0x528574 extends _0xe02e1d['RxDisposable']{constructor(){const _0x4b82dc=_0x4ffb2f;super(...arguments),_0x18680f(this,_0x4b82dc(0x284),new _0x4f3599[(_0x4b82dc(0x263))](null)),_0x18680f(this,_0x4b82dc(0x277),this['_collabCursorState$'][_0x4b82dc(0x369)]());}[_0x4ffb2f(0x199)](_0x15df4b){const _0x3ac19b=_0x4ffb2f,{unitID:_0x21a866,memberID:_0x1f77ce,textRanges:_0x5eb570}=_0x15df4b,_0x3bc1e7=_0x48d153(_0x5eb570);if(_0x3bc1e7==='')return;const _0xb193c={'unitID':_0x21a866,'memberID':_0x1f77ce,'selection':_0x3bc1e7};this[_0x3ac19b(0x284)][_0x3ac19b(0x2a8)](_0xb193c);}}var _0x2e503d=Object[_0x4ffb2f(0x1c4)],_0x1e3e48=(_0x25846f,_0x4e0d23,_0x9c547f,_0x464042)=>{const _0x12134a=_0x4ffb2f;for(var _0x20b82e=_0x464042>0x1?void 0x0:_0x464042?_0x2e503d(_0x4e0d23,_0x9c547f):_0x4e0d23,_0x3fd618=_0x25846f[_0x12134a(0x30b)]-0x1,_0x590838;_0x3fd618>=0x0;_0x3fd618--)(_0x590838=_0x25846f[_0x3fd618])&&(_0x20b82e=_0x590838(_0x20b82e)||_0x20b82e);return _0x20b82e;},_0x35f9fd=(_0xaf18f7,_0x2c4215)=>(_0x443635,_0x3241bd)=>_0x2c4215(_0x443635,_0x3241bd,_0xaf18f7);const _0x498701=0x12c,_0x1be1a3=0x64;let _0x2639bb=class extends _0xe02e1d['RxDisposable']{constructor(_0x1fa49a,_0x2cf726,_0x59ba61,_0x5c14fc,_0x43e4e2,_0x26c327,_0x4df8b9,_0x503f76,_0x10b8f3){const _0x98128b=_0x4ffb2f;super(),_0x18680f(this,_0x98128b(0x2a9),!0x1),_0x18680f(this,_0x98128b(0x230),!0x1),_0x18680f(this,_0x98128b(0x1ce),new _0x4f3599[(_0x98128b(0x263))](new Map())),_0x18680f(this,'cursorInfo$',this[_0x98128b(0x1ce)]['asObservable']()),_0x18680f(this,'_roomMembers$',new _0x4f3599[(_0x98128b(0x263))]([])),_0x18680f(this,_0x98128b(0x35c),this[_0x98128b(0x41a)][_0x98128b(0x1da)](_0x4f3599['debounceTime'](_0x498701))),_0x18680f(this,_0x98128b(0x377),_0xe02e1d[_0x98128b(0x292)](_0x3c7062=>{const _0x23a688=_0x98128b,_0xdbd4b8={'eventID':_0x1d566b[_0x23a688(0x3e4)][_0x23a688(0x2e6)],'data':{'unitID':this[_0x23a688(0x16d)],'memberID':this['_session'][_0x23a688(0x23c)](),'selection':_0x48d153(_0x3c7062)}};this[_0x23a688(0x33c)][_0x23a688(0x37c)](_0xdbd4b8,this[_0x23a688(0x16d)]);},_0x1be1a3)),(this[_0x98128b(0x16d)]=_0x1fa49a,this[_0x98128b(0x33c)]=_0x2cf726,this[_0x98128b(0x188)]=_0x59ba61,this[_0x98128b(0x3dd)]=_0x5c14fc,this[_0x98128b(0x44a)]=_0x43e4e2,this['_syncEditingCollabCursorService']=_0x26c327,this['_transformService']=_0x4df8b9,this[_0x98128b(0x17c)]=_0x503f76,this['_commandService']=_0x10b8f3);}get[_0x4ffb2f(0x1b9)](){const _0x2a3f4c=_0x4ffb2f;return this[_0x2a3f4c(0x1ce)][_0x2a3f4c(0x339)]();}get[_0x4ffb2f(0x261)](){const _0x2bf8b5=_0x4ffb2f;return this['_roomMembers$'][_0x2bf8b5(0x339)]();}[_0x4ffb2f(0x35b)](){const _0x488020=_0x4ffb2f;super[_0x488020(0x35b)](),this[_0x488020(0x1ce)][_0x488020(0x2a8)](new Map()),this[_0x488020(0x1ce)][_0x488020(0x406)](),this[_0x488020(0x41a)][_0x488020(0x2a8)]([]),this[_0x488020(0x41a)][_0x488020(0x406)]();}['init'](){const _0x1253e4=_0x4ffb2f;this[_0x1253e4(0x230)]||(this['_init']=!0x0,this[_0x1253e4(0x33c)]['sessionStatus$']['pipe'](_0x4f3599['takeUntil'](this['dispose$']))['subscribe'](_0x7ecfe2=>{const _0x2fc619=_0x1253e4;_0x7ecfe2===_0x5114e9[_0x2fc619(0x41d)]['ONLINE']?this[_0x2fc619(0x182)]():this['_toggleOffline']();}),this[_0x1253e4(0x33c)]['event$'][_0x1253e4(0x1da)](_0x4f3599['takeUntil'](this[_0x1253e4(0x3ba)]))['subscribe'](_0x97a9bc=>{const _0x50f0b1=_0x1253e4,_0x4a6240=_0x97a9bc[_0x50f0b1(0x2da)];_0x4a6240===_0x1d566b[_0x50f0b1(0x3e4)][_0x50f0b1(0x2e6)]&&this[_0x50f0b1(0x16a)](_0x97a9bc),_0x4a6240===_0x1d566b[_0x50f0b1(0x3e4)]['USERS_LEAVE']&&this[_0x50f0b1(0x285)](_0x97a9bc);}),this[_0x1253e4(0x2c6)](this[_0x1253e4(0x3ad)][_0x1253e4(0x3c5)](_0xe989f7=>{const _0x1138d7=_0x1253e4,_0x4599a0=_0xe989f7[_0x1138d7(0x281)];_0x4599a0!=null&&this[_0x1138d7(0x2a9)]&&_0xe989f7['id']===_0x45611e[_0x1138d7(0x332)]['id']&&_0x4599a0[_0x1138d7(0x20a)]===this['unitID']&&_0x4599a0[_0x1138d7(0x445)]===!0x1&&_0x4599a0[_0x1138d7(0x3c7)][_0x1138d7(0x30b)]>0x0&&this[_0x1138d7(0x377)](_0x4599a0[_0x1138d7(0x3c7)]);})),this['_syncEditingCollabCursorService'][_0x1253e4(0x277)][_0x1253e4(0x1da)](_0x4f3599[_0x1253e4(0x2ab)](this['dispose$']))['subscribe'](_0x3ec43d=>{const _0x1b9865=_0x1253e4;if((_0x3ec43d==null?void 0x0:_0x3ec43d['unitID'])!==this[_0x1b9865(0x16d)])return;const _0x1ba3f4={'eventID':_0x1d566b[_0x1b9865(0x3e4)]['UPDATE_CURSOR'],'data':_0x3ec43d};this['_onCursorUpdate'](_0x1ba3f4);}),this['disposeWithMe'](this[_0x1253e4(0x3ad)]['onCommandExecuted'](_0x56a590=>{const _0x5c1396=_0x1253e4;if(_0x56a590['params']==null)return;const _0x17235c=_0x56a590[_0x5c1396(0x281)];if(_0x56a590['id']!==_0x45611e[_0x5c1396(0x3fb)]['id']||_0x17235c[_0x5c1396(0x20a)]!==this[_0x5c1396(0x16d)])return;const _0x338ffe={'id':_0x5c1396(0x28b),'params':_0x17235c},_0x17ac1c=this[_0x5c1396(0x1b9)];for(const [_0x31293a,_0x2c1816]of _0x17ac1c){const _0x3f3cec={'id':_0x5c1396(0x28b),'params':{'unitId':this[_0x5c1396(0x16d)],'actions':null,'textRanges':_0x2c1816[_0x5c1396(0x3c7)]}},_0x38b549=this['_transformService'][_0x5c1396(0x320)](_0x338ffe,_0x3f3cec,!0x1);if(_0x1d566b[_0x5c1396(0x1e4)](_0x38b549))throw _0x38b549[_0x5c1396(0x22f)];_0x17ac1c[_0x5c1396(0x319)](_0x31293a,{..._0x2c1816,'ranges':_0x38b549['m2Prime']['params'][_0x5c1396(0x353)]});}queueMicrotask(()=>{const _0x20f501=_0x5c1396;this[_0x20f501(0x1ce)][_0x20f501(0x2a8)](_0x17ac1c);});})));}[_0x4ffb2f(0x16a)](_0x3a717c){const _0x26d1ea=_0x4ffb2f;var _0x15ecc5,_0x5baad3;const {memberID:_0x571827,selection:_0x15e3d4}=_0x3a717c[_0x26d1ea(0x32b)],_0x5e802f=_0x12f4f4(_0x15e3d4),_0x1052be=(_0x5baad3=(_0x15ecc5=this[_0x26d1ea(0x44a)][_0x26d1ea(0x328)](this[_0x26d1ea(0x16d)],_0x571827))==null?void 0x0:_0x15ecc5['name'])!=null?_0x5baad3:_0x26d1ea(0x288),_0x5708c3={'color':this[_0x26d1ea(0x3dd)][_0x26d1ea(0x2df)](_0x571827),'name':_0x1052be,'ranges':_0x5e802f},_0xe62f36=this['cursorInfo'];_0xe62f36['set'](_0x571827,_0x5708c3),this[_0x26d1ea(0x1ce)][_0x26d1ea(0x2a8)](_0xe62f36);}[_0x4ffb2f(0x285)](_0x3d3a09){const _0x2f408b=_0x4ffb2f,{memberID:_0x3e810b}=_0x3d3a09[_0x2f408b(0x32b)],_0x53c7f0=this[_0x2f408b(0x1b9)];_0x53c7f0[_0x2f408b(0x1e5)](_0x3e810b),this[_0x2f408b(0x1ce)][_0x2f408b(0x2a8)](_0x53c7f0);}[_0x4ffb2f(0x182)](){const _0x4a2928=_0x4ffb2f;var _0x51eeb5;if(this[_0x4a2928(0x2a9)]=!0x0,((_0x51eeb5=this[_0x4a2928(0x17c)][_0x4a2928(0x3e5)]())==null?void 0x0:_0x51eeb5['getUnitId']())!==this[_0x4a2928(0x16d)])return;const _0x1e657e=this[_0x4a2928(0x188)][_0x4a2928(0x3f8)](_0x45611e['DocSelectionManagerService'])[_0x4a2928(0x308)]();Array[_0x4a2928(0x1ae)](_0x1e657e)&&_0x1e657e[_0x4a2928(0x30b)]>0x0&&this[_0x4a2928(0x377)](_0x1e657e);}[_0x4ffb2f(0x221)](){this['_online']=!0x1;}};_0x2639bb=_0x1e3e48([_0x35f9fd(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x1c2)])),_0x35f9fd(0x3,_0xe02e1d[_0x4ffb2f(0x23d)](_0x55d160)),_0x35f9fd(0x4,_0xe02e1d[_0x4ffb2f(0x23d)](_0x5114e9[_0x4ffb2f(0x20e)])),_0x35f9fd(0x5,_0xe02e1d[_0x4ffb2f(0x23d)](_0x528574)),_0x35f9fd(0x6,_0x1d566b[_0x4ffb2f(0x1a1)]),_0x35f9fd(0x7,_0xe02e1d['IUniverInstanceService']),_0x35f9fd(0x8,_0xe02e1d[_0x4ffb2f(0x2b4)])],_0x2639bb);var _0x71928=Object[_0x4ffb2f(0x1c4)],_0x41f2f9=(_0x395101,_0x359be2,_0x1300b2,_0x1bfec4)=>{const _0x125001=_0x4ffb2f;for(var _0x4e0e59=_0x1bfec4>0x1?void 0x0:_0x1bfec4?_0x71928(_0x359be2,_0x1300b2):_0x359be2,_0x268f91=_0x395101[_0x125001(0x30b)]-0x1,_0x1b2dca;_0x268f91>=0x0;_0x268f91--)(_0x1b2dca=_0x395101[_0x268f91])&&(_0x4e0e59=_0x1b2dca(_0x4e0e59)||_0x4e0e59);return _0x4e0e59;},_0xc27e68=(_0x4868f9,_0x19a10d)=>(_0x2ae2c5,_0x52e926)=>_0x19a10d(_0x2ae2c5,_0x52e926,_0x4868f9);const _0x543ef0=0x12c,_0x24ef5f=0x64,_0x141826=()=>{let _0x2557f3=[],_0x246666=!0x1;return _0x1c9252=>{const _0x339683=_0x3fa7;_0x2557f3[_0x339683(0x349)](_0x1c9252),_0x246666||(_0x246666=!0x0,setTimeout(()=>{const _0x294ca9=_0x339683;_0x2557f3[_0x294ca9(0x3b3)](_0x2c2764=>_0x2c2764()),_0x2557f3=[],_0x246666=!0x1;}));};};let _0x3902fd=class extends _0xe02e1d[_0x4ffb2f(0x183)]{constructor(_0x24f57b,_0x65cdf4,_0x505202,_0x49e043,_0x111448,_0x92ea75,_0x5d78d8,_0xff5598){const _0x33351e=_0x4ffb2f;super(),_0x18680f(this,_0x33351e(0x2a9),!0x1),_0x18680f(this,_0x33351e(0x230),!0x1),_0x18680f(this,_0x33351e(0x1ce),new _0x4f3599[(_0x33351e(0x263))](new Map())),_0x18680f(this,'cursorInfo$',this[_0x33351e(0x1ce)][_0x33351e(0x369)]()),_0x18680f(this,'_roomMembers$',new _0x4f3599[(_0x33351e(0x263))]([])),_0x18680f(this,_0x33351e(0x35c),this[_0x33351e(0x41a)][_0x33351e(0x1da)](_0x4f3599['debounceTime'](_0x543ef0))),_0x18680f(this,_0x33351e(0x377),_0xe02e1d[_0x33351e(0x292)]((_0x526e64,_0x18819a)=>{const _0x4fb240=_0x33351e,_0x1d0a55={'eventID':_0x1d566b[_0x4fb240(0x3e4)][_0x4fb240(0x2e6)],'data':{'unitID':this[_0x4fb240(0x16d)],'memberID':this[_0x4fb240(0x33c)][_0x4fb240(0x23c)](),'selection':_0x30fe55[_0x4fb240(0x401)](_0x526e64,_0x18819a[_0x4fb240(0x37a)])}};this[_0x4fb240(0x33c)][_0x4fb240(0x37c)](_0x1d0a55,this[_0x4fb240(0x16d)]);},_0x24ef5f)),(this[_0x33351e(0x16d)]=_0x24f57b,this[_0x33351e(0x33c)]=_0x65cdf4,this[_0x33351e(0x188)]=_0x505202,this['_colorAssignService']=_0x49e043,this[_0x33351e(0x44a)]=_0x111448,this['_univerInstanceService']=_0x92ea75,this['_commandService']=_0x5d78d8,this['_refRangeService']=_0xff5598);}get['cursorInfo'](){const _0x5e6c1c=_0x4ffb2f;return this[_0x5e6c1c(0x1ce)][_0x5e6c1c(0x339)]();}get['roomMembers'](){const _0xcc9a3f=_0x4ffb2f;return this[_0xcc9a3f(0x41a)]['getValue']();}[_0x4ffb2f(0x35b)](){const _0x201598=_0x4ffb2f;super['dispose'](),this[_0x201598(0x1ce)][_0x201598(0x2a8)](new Map()),this['_cursorInfo$']['complete'](),this[_0x201598(0x41a)]['next']([]),this['_roomMembers$'][_0x201598(0x406)]();}[_0x4ffb2f(0x247)](){const _0x22de17=_0x4ffb2f;this[_0x22de17(0x230)]||(this[_0x22de17(0x230)]=!0x0,this['_session'][_0x22de17(0x1f5)]['pipe'](_0x4f3599['takeUntil'](this[_0x22de17(0x3ba)]))[_0x22de17(0x2ee)](_0x3ef17e=>{const _0x4e0c23=_0x22de17;_0x3ef17e===_0x5114e9[_0x4e0c23(0x41d)][_0x4e0c23(0x3eb)]?this[_0x4e0c23(0x182)]():this[_0x4e0c23(0x221)]();}),this[_0x22de17(0x33c)][_0x22de17(0x1b3)]['pipe'](_0x4f3599[_0x22de17(0x2ab)](this[_0x22de17(0x3ba)]))[_0x22de17(0x2ee)](_0x5c1846=>{const _0xf6ec52=_0x22de17,_0x589071=_0x5c1846[_0xf6ec52(0x2da)];_0x589071===_0x1d566b[_0xf6ec52(0x3e4)][_0xf6ec52(0x2e6)]&&this['_onCursorUpdate'](_0x5c1846),_0x589071===_0x1d566b[_0xf6ec52(0x3e4)][_0xf6ec52(0x1c8)]&&this[_0xf6ec52(0x285)](_0x5c1846);}),this[_0x22de17(0x2a0)](),this[_0x22de17(0x2c6)](this['_commandService'][_0x22de17(0x3c5)](_0x231d6c=>{const _0x576c0d=_0x22de17;if(this[_0x576c0d(0x2a9)]&&_0x231d6c['id']===_0x1f9905[_0x576c0d(0x39f)]['id']&&_0x231d6c[_0x576c0d(0x281)]['unitId']===this['unitID']){const _0x4511b7=_0x231d6c[_0x576c0d(0x281)];this[_0x576c0d(0x377)](_0x4511b7[_0x576c0d(0x355)],_0x4511b7[_0x576c0d(0x35d)][0x0]);}})));}[_0x4ffb2f(0x16a)](_0x55ad74){const _0x3fa39e=_0x4ffb2f;var _0x594af4,_0x2c2603;const {memberID:_0x133941,selection:_0x1dff53}=_0x55ad74['data'],{sheetName:_0x1498d0,range:_0x2039f8}=_0x30fe55[_0x3fa39e(0x3e2)](_0x1dff53),_0x8eb60c={'name':(_0x2c2603=(_0x594af4=this[_0x3fa39e(0x44a)][_0x3fa39e(0x328)](this[_0x3fa39e(0x16d)],_0x133941))==null?void 0x0:_0x594af4['name'])!=null?_0x2c2603:'Unknown\x20user','range':this[_0x3fa39e(0x309)](_0x1498d0,_0x2039f8),'sheetID':_0x1498d0,'color':this[_0x3fa39e(0x3dd)]['assignAColorForMemberID'](_0x133941),'selection':_0x1dff53},_0x31997f=this[_0x3fa39e(0x1b9)];_0x31997f[_0x3fa39e(0x319)](_0x133941,_0x8eb60c),this[_0x3fa39e(0x1ce)]['next'](_0x31997f);}['_onCursorDelete'](_0x3e9acc){const _0x3338b3=_0x4ffb2f,{memberID:_0x524dea}=_0x3e9acc[_0x3338b3(0x32b)],_0x13236a=this['cursorInfo'];_0x13236a[_0x3338b3(0x1e5)](_0x524dea),this[_0x3338b3(0x1ce)][_0x3338b3(0x2a8)](_0x13236a);}[_0x4ffb2f(0x309)](_0x303558,_0x33b2fe){const _0x1d6224=_0x4ffb2f;var _0x12a7c7,_0x48ffaf;const _0x1dd931=(_0x48ffaf=(_0x12a7c7=this[_0x1d6224(0x17c)][_0x1d6224(0x1cd)](this['unitID']))==null?void 0x0:_0x12a7c7[_0x1d6224(0x1cb)](_0x303558))==null?void 0x0:_0x48ffaf[_0x1d6224(0x213)]();return(_0x1dd931==null?void 0x0:_0x1dd931[_0x1d6224(0x300)](_0xa98462=>_0xe02e1d[_0x1d6224(0x2f9)]['contains'](_0xa98462,_0x33b2fe)))||_0x33b2fe;}[_0x4ffb2f(0x2a0)](){const _0x8c8fa6=_0x4ffb2f,_0x21e7a6=new _0xe02e1d[(_0x8c8fa6(0x204))](),_0x29a434=_0x141826(),_0x21dfa2=()=>{const _0x31b737=_0x8c8fa6;_0x21e7a6['dispose']();const _0xc920c2=(_0x2321f2,_0x363cdf,_0x1436a3,_0x39c069)=>{const _0x528365=_0x3fa7;let _0x3bdb14=[];switch(_0x2321f2['id']){case _0x1f9905[_0x528365(0x44e)][_0x528365(0x449)]:{_0x3bdb14=_0x1f9905[_0x528365(0x2b9)](_0x2321f2,_0x39c069);break;}case _0x1f9905[_0x528365(0x44e)][_0x528365(0x1ff)]:{_0x3bdb14=_0x1f9905[_0x528365(0x2f2)](_0x2321f2,_0x39c069);break;}case _0x1f9905[_0x528365(0x44e)]['InsertColCommandId']:{_0x3bdb14=_0x1f9905[_0x528365(0x1e8)](_0x2321f2,_0x39c069);break;}case _0x1f9905[_0x528365(0x44e)][_0x528365(0x24a)]:{_0x3bdb14=_0x1f9905['handleInsertRangeMoveDown'](_0x2321f2,_0x39c069);break;}case _0x1f9905['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x3bdb14=_0x1f9905[_0x528365(0x3b9)](_0x2321f2,_0x39c069);break;}case _0x1f9905['EffectRefRangId'][_0x528365(0x3b0)]:{_0x3bdb14=_0x1f9905[_0x528365(0x20f)](_0x2321f2,_0x39c069);break;}case _0x1f9905[_0x528365(0x44e)][_0x528365(0x185)]:{_0x3bdb14=_0x1f9905[_0x528365(0x448)](_0x2321f2,_0x39c069);break;}case _0x1f9905['EffectRefRangId']['RemoveColCommandId']:{_0x3bdb14=_0x1f9905[_0x528365(0x1a5)](_0x2321f2,_0x39c069);break;}case _0x1f9905[_0x528365(0x44e)][_0x528365(0x245)]:{_0x3bdb14=_0x1f9905[_0x528365(0x171)](_0x2321f2,_0x39c069);break;}}const _0x2ec2aa=_0x1f9905[_0x528365(0x1a9)](_0x3bdb14,_0x39c069),_0x2a5c0d=this[_0x528365(0x1b9)][_0x528365(0x3f8)](_0x363cdf);if(_0x2a5c0d&&_0x2ec2aa){const _0x17c1e0={..._0x2a5c0d,'range':_0x2ec2aa};this[_0x528365(0x1b9)][_0x528365(0x319)](_0x363cdf,_0x17c1e0),_0x29a434(()=>{const _0x19922c=_0x528365,_0xa02a6e=this[_0x19922c(0x2ce)][_0x19922c(0x1cf)](_0x2ec2aa,_0x10c9b8=>(_0xa02a6e[_0x19922c(0x35b)](),_0xc920c2(_0x10c9b8,_0x363cdf,_0x1436a3,_0x2ec2aa)));_0x21e7a6[_0x19922c(0x322)](_0xa02a6e);});}return{'redos':[],'undos':[]};};this[_0x31b737(0x1b9)][_0x31b737(0x3b3)]((_0x5c882e,_0x12da08)=>{const _0x3ad579=_0x31b737,{range:_0x3e18c6,sheetID:_0x2a051c}=_0x5c882e,_0x8131b0=this['_refRangeService']['registerRefRange'](_0x3e18c6,_0x30b778=>(_0x8131b0[_0x3ad579(0x35b)](),_0xc920c2(_0x30b778,_0x12da08,_0x2a051c,_0x3e18c6)));_0x21e7a6[_0x3ad579(0x322)](_0x8131b0);});};this[_0x8c8fa6(0x2c6)](_0xe02e1d[_0x8c8fa6(0x3c2)](this['_cursorInfo$'][_0x8c8fa6(0x2ee)](()=>{_0x21dfa2();})));}[_0x4ffb2f(0x182)](){const _0x548fbe=_0x4ffb2f;var _0x76f1da,_0x6a7df8;if(this['_online']=!0x0,((_0x76f1da=this[_0x548fbe(0x17c)][_0x548fbe(0x3e5)]())==null?void 0x0:_0x76f1da[_0x548fbe(0x22d)]())!==this[_0x548fbe(0x16d)])return;const _0x39d53b=(_0x6a7df8=this[_0x548fbe(0x188)]['get'](_0x1f9905[_0x548fbe(0x1e1)])['getCurrentSelections']())==null?void 0x0:_0x6a7df8[0x0],_0x1763a1=this[_0x548fbe(0x17c)][_0x548fbe(0x1fa)](_0xe02e1d[_0x548fbe(0x395)][_0x548fbe(0x18b)])[_0x548fbe(0x2c4)]();_0x39d53b&&_0x1763a1&&this[_0x548fbe(0x377)](_0x1763a1[_0x548fbe(0x44f)](),_0x39d53b);}[_0x4ffb2f(0x221)](){const _0x51ad4a=_0x4ffb2f;this[_0x51ad4a(0x2a9)]=!0x1;}};_0x3902fd=_0x41f2f9([_0xc27e68(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x1c2)])),_0xc27e68(0x3,_0xe02e1d[_0x4ffb2f(0x23d)](_0x55d160)),_0xc27e68(0x4,_0xe02e1d[_0x4ffb2f(0x23d)](_0x5114e9['MemberService'])),_0xc27e68(0x5,_0xe02e1d[_0x4ffb2f(0x312)]),_0xc27e68(0x6,_0xe02e1d[_0x4ffb2f(0x2b4)]),_0xc27e68(0x7,_0xe02e1d[_0x4ffb2f(0x23d)](_0x1f9905[_0x4ffb2f(0x19e)]))],_0x3902fd);var _0x166126=Object[_0x4ffb2f(0x1c4)],_0x2c10fe=(_0x213549,_0x15abe4,_0x512e77,_0x59d151)=>{for(var _0x2abac2=_0x59d151>0x1?void 0x0:_0x59d151?_0x166126(_0x15abe4,_0x512e77):_0x15abe4,_0x2812d8=_0x213549['length']-0x1,_0x5cb153;_0x2812d8>=0x0;_0x2812d8--)(_0x5cb153=_0x213549[_0x2812d8])&&(_0x2abac2=_0x5cb153(_0x2abac2)||_0x2abac2);return _0x2abac2;},_0xf7f487=(_0x461574,_0x30eee1)=>(_0x11cc28,_0x5636ef)=>_0x30eee1(_0x11cc28,_0x5636ef,_0x461574);let _0x55c126=class extends _0xe02e1d[_0x4ffb2f(0x183)]{constructor(_0x2d7149,_0x56671e,_0xf4250d){const _0x2d82ff=_0x4ffb2f;super(),_0x18680f(this,_0x2d82ff(0x43d),new Map()),_0x18680f(this,'_entityInit$',new _0x4f3599['Subject']()),(this[_0x2d82ff(0x17c)]=_0x2d7149,this[_0x2d82ff(0x188)]=_0x56671e,this[_0x2d82ff(0x170)]=_0xf4250d,this[_0x2d82ff(0x230)]());}[_0x4ffb2f(0x35b)](){const _0x17b0c2=_0x4ffb2f;super[_0x17b0c2(0x35b)](),this[_0x17b0c2(0x317)][_0x17b0c2(0x406)](),this['_entities'][_0x17b0c2(0x3b3)](_0x5acf32=>_0x5acf32[_0x17b0c2(0x35b)]());}[_0x4ffb2f(0x3dc)](_0x21df37){const _0x5c0f14=_0x4ffb2f;return this[_0x5c0f14(0x43d)][_0x5c0f14(0x438)](_0x21df37)?this['_entities'][_0x5c0f14(0x3f8)](_0x21df37)['cursorInfo$']:this[_0x5c0f14(0x317)][_0x5c0f14(0x1da)](_0x4f3599[_0x5c0f14(0x356)](_0x3f2bd8=>_0x3f2bd8[_0x5c0f14(0x16d)]===_0x21df37),_0x4f3599[_0x5c0f14(0x3f3)](_0x28fc7c=>_0x28fc7c[_0x5c0f14(0x2eb)]));}[_0x4ffb2f(0x230)](){const _0x57f4d1=_0x4ffb2f;this['_univerInstanceService'][_0x57f4d1(0x3f6)](_0xe02e1d[_0x57f4d1(0x395)]['UNIVER_SHEET'])['pipe'](_0x4f3599[_0x57f4d1(0x2ab)](this[_0x57f4d1(0x3ba)]))['subscribe'](async _0x3aed11=>{const _0x47c2b1=_0x57f4d1,_0xb39549=_0x3aed11[_0x47c2b1(0x22d)](),_0x596b4f=await this['_startSheetCollabCursor'](_0xb39549);this['_entityInit$'][_0x47c2b1(0x2a8)](_0x596b4f),this[_0x47c2b1(0x43d)][_0x47c2b1(0x319)](_0xb39549,_0x596b4f);}),this['_univerInstanceService'][_0x57f4d1(0x3f6)](_0xe02e1d[_0x57f4d1(0x395)][_0x57f4d1(0x37e)])[_0x57f4d1(0x1da)](_0x4f3599['takeUntil'](this[_0x57f4d1(0x3ba)]))[_0x57f4d1(0x1da)](_0x4f3599[_0x57f4d1(0x356)](_0x46a075=>!_0x46a075[_0x57f4d1(0x22d)]()['startsWith']('__')))[_0x57f4d1(0x2ee)](async _0x22117c=>{const _0x2fa827=_0x57f4d1,_0xabcd46=_0x22117c[_0x2fa827(0x22d)](),_0x11f2c3=await this[_0x2fa827(0x41e)](_0xabcd46);this[_0x2fa827(0x317)]['next'](_0x11f2c3),this[_0x2fa827(0x43d)][_0x2fa827(0x319)](_0xabcd46,_0x11f2c3);}),_0x4f3599['merge'](this[_0x57f4d1(0x17c)][_0x57f4d1(0x335)](_0xe02e1d[_0x57f4d1(0x395)][_0x57f4d1(0x37e)]),this[_0x57f4d1(0x17c)]['getTypeOfUnitDisposed$'](_0xe02e1d[_0x57f4d1(0x395)][_0x57f4d1(0x18b)]))[_0x57f4d1(0x1da)](_0x4f3599[_0x57f4d1(0x2ab)](this[_0x57f4d1(0x3ba)]))[_0x57f4d1(0x2ee)](_0x549cbc=>{const _0x299076=_0x57f4d1,_0x59395b=_0x549cbc[_0x299076(0x22d)](),_0x3b75e5=this[_0x299076(0x43d)][_0x299076(0x3f8)](_0x59395b);_0x3b75e5&&(_0x3b75e5[_0x299076(0x35b)](),this[_0x299076(0x43d)][_0x299076(0x1e5)](_0x59395b));});}async[_0x4ffb2f(0x1b4)](_0x4a7318){const _0x44f3cd=_0x4ffb2f,_0x4a16ce=await this['_collabSessionService'][_0x44f3cd(0x1e7)](_0x4a7318),_0x25f4f1=this[_0x44f3cd(0x188)][_0x44f3cd(0x2c5)](_0x3902fd,_0x4a7318,_0x4a16ce);return _0x25f4f1[_0x44f3cd(0x247)](),_0x25f4f1;}async[_0x4ffb2f(0x41e)](_0x571b57){const _0xe9e06b=_0x4ffb2f,_0x484f96=await this[_0xe9e06b(0x170)][_0xe9e06b(0x1e7)](_0x571b57),_0x1cf2ea=this[_0xe9e06b(0x188)][_0xe9e06b(0x2c5)](_0x2639bb,_0x571b57,_0x484f96);return _0x1cf2ea[_0xe9e06b(0x247)](),_0x1cf2ea;}};_0x55c126=_0x2c10fe([_0xf7f487(0x0,_0xe02e1d[_0x4ffb2f(0x312)]),_0xf7f487(0x1,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x1c2)])),_0xf7f487(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0x5114e9[_0x4ffb2f(0x429)]))],_0x55c126);const _0x1a0203=0x14,_0x394e39=0xc8,_0x477b14=0x4,_0x16d96a=0x5;function _0x5d4352(_0x1b4c79,_0x204b19){const _0xf2e14c=_0x4ffb2f;let {radius:_0x2ecdda,width:_0x7af540,height:_0x3718a7}=_0x204b19;_0x2ecdda=_0x2ecdda!=null?_0x2ecdda:0x0,_0x7af540=_0x7af540!=null?_0x7af540:0x1e,_0x3718a7=_0x3718a7!=null?_0x3718a7:0x1e;let _0x582422=0x0,_0x2af03c=0x0,_0x1055ea=0x0;_0x582422=_0x2af03c=_0x1055ea=Math[_0xf2e14c(0x2d3)](_0x2ecdda,_0x7af540/0x2,_0x3718a7/0x2),_0x1b4c79['beginPath'](),_0x1b4c79[_0xf2e14c(0x447)](_0x582422,0x0),_0x1b4c79['lineTo'](_0x7af540-_0x2af03c,0x0),_0x1b4c79['arc'](_0x7af540-_0x2af03c,_0x2af03c,_0x2af03c,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b4c79[_0xf2e14c(0x1b7)](_0x7af540,_0x3718a7-_0x1055ea),_0x1b4c79[_0xf2e14c(0x1e3)](_0x7af540-_0x1055ea,_0x3718a7-_0x1055ea,_0x1055ea,0x0,Math['PI']/0x2,!0x1),_0x1b4c79[_0xf2e14c(0x1b7)](0x0,_0x3718a7),_0x1b4c79[_0xf2e14c(0x1b7)](0x0,_0x582422),_0x1b4c79[_0xf2e14c(0x1e3)](_0x582422,_0x582422,_0x582422,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b4c79[_0xf2e14c(0x19c)](),_0x204b19[_0xf2e14c(0x203)]&&(_0x1b4c79[_0xf2e14c(0x23e)](),_0x1b4c79['fillStyle']=_0x204b19['fill'],_0x204b19[_0xf2e14c(0x432)]==='evenodd'?_0x1b4c79[_0xf2e14c(0x203)](_0xf2e14c(0x16f)):_0x1b4c79[_0xf2e14c(0x203)](),_0x1b4c79[_0xf2e14c(0x1ad)]());}class _0x54479e extends _0x82715c[_0x4ffb2f(0x360)]{constructor(_0x57b82d,_0x523a93){const _0x4e22fe=_0x4ffb2f;super(_0x57b82d,_0x523a93),_0x18680f(this,_0x4e22fe(0x264)),_0x18680f(this,_0x4e22fe(0x232)),(this['color']=_0x523a93==null?void 0x0:_0x523a93['color'],this[_0x4e22fe(0x232)]=_0x523a93==null?void 0x0:_0x523a93[_0x4e22fe(0x232)]);}static[_0x4ffb2f(0x1db)](_0x5b0fa4,_0x10d14a){const _0x486f65=_0x4ffb2f,{text:_0x3049f4,color:_0x3ce96f}=_0x10d14a;_0x5b0fa4[_0x486f65(0x23e)](),_0x5b0fa4['font']=_0x486f65(0x16e);const _0x1500a9=_0x5b0fa4[_0x486f65(0x227)](_0x3049f4)[_0x486f65(0x273)],_0x4db636=Math[_0x486f65(0x2d3)](_0x1500a9+0x2*_0x477b14,_0x394e39);_0x5d4352(_0x5b0fa4,{'height':_0x1a0203,'radius':0x4,'width':_0x4db636,'fill':_0x3ce96f}),_0x5b0fa4[_0x486f65(0x313)]=_0x486f65(0x34e);const _0x94d3c1=_0x477b14,_0x2886e8=_0x1a0203-_0x16d96a,_0x525417=_0x394e39-0x2*_0x477b14;if(_0x1500a9>_0x525417){let _0xfe357a='',_0x2ba750=0x0;for(const _0x4f108c of _0x3049f4){const _0x3c7c2d=_0x5b0fa4['measureText'](_0x4f108c)[_0x486f65(0x273)];if(_0x2ba750+_0x3c7c2d<=_0x525417-_0x5b0fa4['measureText']('...')[_0x486f65(0x273)])_0xfe357a+=_0x4f108c,_0x2ba750+=_0x3c7c2d;else{_0xfe357a+=_0x486f65(0x347);break;}}_0x5b0fa4[_0x486f65(0x210)](_0xfe357a,_0x94d3c1,_0x2886e8);}else _0x5b0fa4['fillText'](_0x3049f4,_0x94d3c1,_0x2886e8);_0x5b0fa4[_0x486f65(0x1ad)]();}['_draw'](_0xcce8af){const _0x4531ed=_0x4ffb2f;_0x54479e[_0x4531ed(0x1db)](_0xcce8af,this);}}const _0x1f98e4='collab-text-anchor-',_0x59a205='collab-text-range-',_0x2ca733='collab-rect-range-',_0x4262d8=0x6,_0x51de28=1.5,_0xdfa3ee=0x4,_0x2f8e07=1.5,_0x4c65f0=_0x4ffb2f(0x1fc);class _0x87efb8{constructor(_0x186f67,_0x43b5cf,_0x24f150,_0x5d17b2){const _0x53ce9c=_0x4ffb2f;_0x18680f(this,'_shapes',[]),_0x18680f(this,_0x53ce9c(0x3cb),null),_0x18680f(this,_0x53ce9c(0x3a7),null),_0x18680f(this,_0x53ce9c(0x290),null),_0x18680f(this,'_hideTimer',null),_0x18680f(this,'_eventUnsubscribe',null),(this[_0x53ce9c(0x3ca)]=_0x186f67,this[_0x53ce9c(0x30d)]=_0x43b5cf,this[_0x53ce9c(0x18e)]=_0x24f150,this[_0x53ce9c(0x2aa)]=_0x5d17b2,this[_0x53ce9c(0x30e)]());}set[_0x4ffb2f(0x393)](_0x36c2fa){const _0x3a59ca=_0x4ffb2f;_0x36c2fa?(this[_0x3a59ca(0x290)]&&this['_anchorDot'][_0x3a59ca(0x3e8)](),this[_0x3a59ca(0x3a7)]&&this['_textBubble']['show']()):(this[_0x3a59ca(0x290)]&&this[_0x3a59ca(0x290)][_0x3a59ca(0x1ba)](),this[_0x3a59ca(0x3a7)]&&this[_0x3a59ca(0x3a7)][_0x3a59ca(0x3e8)]());}[_0x4ffb2f(0x35b)](){const _0x40f0d1=_0x4ffb2f;for(const _0x36a2e1 of this[_0x40f0d1(0x1bc)])_0x36a2e1[_0x40f0d1(0x35b)]();this[_0x40f0d1(0x3a7)]&&this[_0x40f0d1(0x3a7)][_0x40f0d1(0x35b)](),this[_0x40f0d1(0x290)]&&this[_0x40f0d1(0x290)]['dispose'](),this[_0x40f0d1(0x3cb)]&&this[_0x40f0d1(0x3cb)][_0x40f0d1(0x35b)](),this['_eventUnsubscribe']&&this[_0x40f0d1(0x34c)]();}['_render'](){const _0xbd44ac=_0x4ffb2f;var _0x5c7420;const {_docSkeleton:_0x15766d,_document:_0x336dbf}=this,{color:_0x3a665b,name:_0x134f68,ranges:_0x4f509d}=this[_0xbd44ac(0x3ca)],_0x58a7c5=_0x336dbf[_0xbd44ac(0x28e)](),{docsLeft:_0x5f2981,docsTop:_0x791e0f}=_0x58a7c5,_0x52d2a2=new _0x3c2fd8[(_0xbd44ac(0x1c6))](_0x58a7c5,_0x15766d);for(const {startOffset:_0x469c6c,endOffset:_0x91a623,rangeType:_0x1ec709,segmentId:_0x5bdddc,segmentPage:_0x158fd8,collapsed:_0x58e75c,isActive:_0x77faea}of _0x4f509d){const _0xee5ccb=_0x15766d[_0xbd44ac(0x206)](_0x469c6c,!0x0,_0x5bdddc,_0x158fd8);let _0x38bf4d=_0x15766d[_0xbd44ac(0x206)](_0x91a623,!0x0,_0x5bdddc,_0x158fd8);if(_0x38bf4d==null&&(_0x38bf4d=_0x15766d[_0xbd44ac(0x206)](_0x91a623-0x1,!0x1,_0x5bdddc,_0x158fd8)),_0x77faea){const {contentBoxPointGroup:_0x2e5446}=_0x52d2a2[_0xbd44ac(0x31d)](_0x38bf4d,_0x38bf4d);if(_0x2e5446[_0xbd44ac(0x30b)]===0x0)continue;this[_0xbd44ac(0x383)](_0x3a665b,_0x2e5446,_0x5f2981,_0x791e0f,_0x134f68),this[_0xbd44ac(0x34c)]=this[_0xbd44ac(0x19f)]();}if(_0xee5ccb&&_0x38bf4d){if(_0x1ec709===_0xe02e1d['DOC_RANGE_TYPE']['RECT']){const _0x4ffb0b=new _0x3c2fd8[(_0xbd44ac(0x1c5))](_0x58a7c5,_0x15766d),{pointGroup:_0x30d42d}=(_0x5c7420=_0x4ffb0b[_0xbd44ac(0x31d)](_0xee5ccb,_0x38bf4d))!=null?_0x5c7420:{};if(_0x30d42d==null||_0x30d42d[_0xbd44ac(0x30b)]===0x0)continue;this[_0xbd44ac(0x3f5)](_0x3a665b,_0x30d42d,_0x5f2981,_0x791e0f);}else{if(!_0x58e75c){const {borderBoxPointGroup:_0x45d3b0}=_0x52d2a2[_0xbd44ac(0x31d)](_0xee5ccb,_0x38bf4d);if(_0x45d3b0[_0xbd44ac(0x30b)]===0x0)continue;this[_0xbd44ac(0x27e)](_0x3a665b,_0x45d3b0,_0x5f2981,_0x791e0f);}}}}}['_drawAnchor'](_0x54dcd8,_0x55172d,_0x1dcdb3,_0xd154a8,_0x3af334){const _0x213034=_0x4ffb2f,_0x38edb5=this[_0x213034(0x3ab)](_0x55172d),{left:_0xa7922f,top:_0x338475,height:_0x307c58}=_0x38edb5,_0x17fa9c=this[_0x213034(0x17a)](),_0x154d08=_0x2f8e07/_0x17fa9c,_0x100acc=new _0x82715c[(_0x213034(0x16b))](_0x1f98e4+_0xe02e1d['generateRandomId'](_0x4262d8),{'left':_0xa7922f+_0x1dcdb3-_0x154d08,'top':_0x338475+_0xd154a8,'height':_0x307c58,'width':_0x51de28,'fill':_0x54dcd8||_0x82715c[_0x213034(0x30c)](_0xe02e1d[_0x213034(0x2ef)][_0x213034(0x291)],0x0),'strokeWidth':_0x154d08,'stroke':_0x4c65f0,'evented':!0x0});this['_anchor']=_0x100acc,this[_0x213034(0x30d)]['addObject'](_0x100acc,_0x3c2fd8[_0x213034(0x38f)]);const _0x55a01b=new _0x82715c['Rect'](_0x1f98e4+_0xe02e1d[_0x213034(0x340)](_0x4262d8),{'left':_0xa7922f+_0x1dcdb3-_0x154d08,'top':_0x338475+_0xd154a8-_0xdfa3ee/0x2,'height':_0xdfa3ee,'width':_0xdfa3ee,'fill':_0x54dcd8||_0x82715c[_0x213034(0x30c)](_0xe02e1d[_0x213034(0x2ef)][_0x213034(0x291)],0x0),'strokeWidth':0x0,'stroke':_0x54dcd8||_0x82715c[_0x213034(0x30c)](_0xe02e1d['COLORS'][_0x213034(0x291)],0x0),'evented':!0x1});this['_anchorDot']=_0x55a01b,this[_0x213034(0x30d)]['addObject'](_0x55a01b,_0x3c2fd8['TEXT_RANGE_LAYER_INDEX']);const _0x1e15e8=new _0x54479e(_0x1f98e4+_0xe02e1d[_0x213034(0x340)](_0x4262d8),{'left':_0xa7922f+_0x1dcdb3-_0x154d08,'top':_0x338475+_0xd154a8-_0x1a0203,'text':_0x3af334,'color':_0x54dcd8});this[_0x213034(0x3a7)]=_0x1e15e8,this[_0x213034(0x30d)][_0x213034(0x3a5)](_0x1e15e8,_0x3c2fd8[_0x213034(0x38f)]),this[_0x213034(0x393)]=!0x1;}['_handleHover'](){const _0x210a44=_0x4ffb2f,_0x5717e1=this[_0x210a44(0x3cb)]['onPointerEnter$'][_0x210a44(0x1bb)](()=>{const _0x3db5e4=_0x210a44;this[_0x3db5e4(0x393)]=!0x0;}),_0x58181a=this[_0x210a44(0x3cb)][_0x210a44(0x33d)][_0x210a44(0x1bb)](()=>{const _0x40ee7f=_0x210a44;this['_hideTimer']&&clearTimeout(this[_0x40ee7f(0x363)]),this['_hideTimer']=setTimeout(()=>{const _0x240dc1=_0x40ee7f;this[_0x240dc1(0x393)]=!0x1;},0x7d0);});return()=>{const _0x4398c3=_0x210a44;_0x5717e1[_0x4398c3(0x17b)](),_0x58181a[_0x4398c3(0x17b)]();};}['_drawTextRange'](_0x524478,_0x1f0f85,_0x26e4db,_0x56241c){const _0x518de4=_0x4ffb2f,_0x106873=new _0xe02e1d['ColorKit'](_0x524478)[_0x518de4(0x1ed)](0.2)['toRgbString'](),_0x1dc9c0=new _0x82715c[(_0x518de4(0x193))](_0x59a205+_0xe02e1d[_0x518de4(0x340)](_0x4262d8),{'pointsGroup':_0x1f0f85,'fill':_0x106873||_0x82715c['getColor'](_0xe02e1d[_0x518de4(0x2ef)][_0x518de4(0x291)],0.2),'left':_0x26e4db,'top':_0x56241c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x518de4(0x1bc)][_0x518de4(0x349)](_0x1dc9c0),this['_scene'][_0x518de4(0x3a5)](_0x1dc9c0,_0x3c2fd8['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0xc7f00,_0xe91138,_0x40765e,_0xe6128d){const _0x4224e0=_0x4ffb2f,_0x3e10fb=new _0xe02e1d[(_0x4224e0(0x214))](_0xc7f00)[_0x4224e0(0x1ed)](0.2)[_0x4224e0(0x43e)](),_0xfc29fa=new _0x82715c[(_0x4224e0(0x193))](_0x2ca733+_0xe02e1d[_0x4224e0(0x340)](_0x4262d8),{'pointsGroup':_0xe91138,'fill':_0x3e10fb||_0x82715c[_0x4224e0(0x30c)](_0xe02e1d[_0x4224e0(0x2ef)][_0x4224e0(0x291)],0.2),'left':_0x40765e,'top':_0xe6128d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4224e0(0x1bc)]['push'](_0xfc29fa),this[_0x4224e0(0x30d)][_0x4224e0(0x3a5)](_0xfc29fa,_0x3c2fd8[_0x4224e0(0x38f)]);}[_0x4ffb2f(0x3ab)](_0x26df6){const _0x1c5a58=_0x26df6[0x0],_0x1fabb4=_0x1c5a58[0x0],_0xdeb225=_0x1c5a58[0x2],{x:_0x201165,y:_0x2a4e6e}=_0x1fabb4,{x:_0x3ad904,y:_0x342576}=_0xdeb225;return{'left':_0x201165,'top':_0x2a4e6e,'width':_0x3ad904-_0x201165,'height':_0x342576-_0x2a4e6e};}[_0x4ffb2f(0x17a)](){const _0x5d7fe0=_0x4ffb2f,{scaleX:_0xe6ddb0,scaleY:_0xa6e4a0}=this[_0x5d7fe0(0x30d)][_0x5d7fe0(0x17e)]();return Math['max'](_0xe6ddb0,_0xa6e4a0);}}var _0x3ef94b=Object[_0x4ffb2f(0x1c4)],_0x5a8ddd=(_0x6b01bd,_0x45a3c2,_0x494eb2,_0x154521)=>{const _0x3a910c=_0x4ffb2f;for(var _0x2c5318=_0x154521>0x1?void 0x0:_0x154521?_0x3ef94b(_0x45a3c2,_0x494eb2):_0x45a3c2,_0x4c6805=_0x6b01bd[_0x3a910c(0x30b)]-0x1,_0x47094e;_0x4c6805>=0x0;_0x4c6805--)(_0x47094e=_0x6b01bd[_0x4c6805])&&(_0x2c5318=_0x47094e(_0x2c5318)||_0x2c5318);return _0x2c5318;},_0x1589ba=(_0x34548e,_0x4cd144)=>(_0x48f7ce,_0x3d5fcb)=>_0x4cd144(_0x48f7ce,_0x3d5fcb,_0x34548e);let _0x4b7b5a=class extends _0xe02e1d[_0x4ffb2f(0x183)]{constructor(_0x294c7a,_0x501b,_0x59fbb4,_0x22c3b1,_0x1fb847){const _0x45e915=_0x4ffb2f;super(),_0x18680f(this,_0x45e915(0x29b),[]),_0x18680f(this,'_cursors',[]),(this['_context']=_0x294c7a,this[_0x45e915(0x40c)]=_0x501b,this[_0x45e915(0x40b)]=_0x59fbb4,this['_commandService']=_0x22c3b1,this[_0x45e915(0x1f2)]=_0x1fb847,this[_0x45e915(0x230)]());}[_0x4ffb2f(0x230)](){const _0x4207c8=_0x4ffb2f,_0x269c9c=this[_0x4207c8(0x2c1)][_0x4207c8(0x20a)],_0xd1d374=this[_0x4207c8(0x40c)];this[_0x4207c8(0x2c6)](_0x4f3599[_0x4207c8(0x2fe)]([this[_0x4207c8(0x40b)][_0x4207c8(0x3dc)](_0x269c9c),this[_0x4207c8(0x1f2)][_0x4207c8(0x200)]])['pipe'](_0x114028[_0x4207c8(0x2d2)](([_0x39ae8f,_0x1e57c0])=>({'skeleton':_0xd1d374[_0x4207c8(0x2cf)](),'cursors':[..._0x39ae8f[_0x4207c8(0x3c6)]()][_0x4207c8(0x359)](_0x1a3fa9=>({..._0x1a3fa9,'color':this[_0x4207c8(0x1f2)][_0x4207c8(0x3b8)](_0x1a3fa9[_0x4207c8(0x264)])}))})))[_0x4207c8(0x2ee)](_0x35a6c3=>{const _0x5ced57=_0x4207c8;if(this[_0x5ced57(0x167)](),_0x35a6c3){const {skeleton:_0x9bf4e9,cursors:_0x5f2cb4}=_0x35a6c3;this[_0x5ced57(0x23b)](_0x9bf4e9,_0x5f2cb4);}})),this['_initResize'](),this[_0x4207c8(0x2fc)]();}[_0x4ffb2f(0x23b)](_0x2ee3d9,_0x2e2c7b){const _0x1f928b=_0x4ffb2f,{scene:_0x275a2f,mainComponent:_0x3f8313}=this[_0x1f928b(0x2c1)],_0x581256=_0x2e2c7b[_0x1f928b(0x2d2)](_0x5f110f=>new _0x87efb8(_0x5f110f,_0x275a2f,_0x2ee3d9,_0x3f8313));this[_0x1f928b(0x29b)]=_0x581256,this[_0x1f928b(0x416)]=_0x2e2c7b;}[_0x4ffb2f(0x2a3)](){const _0x3f56e7=_0x4ffb2f;this['_removeCollabCursors']();const {scene:_0x55bbe7,mainComponent:_0x49d3c1}=this[_0x3f56e7(0x2c1)],_0x51858d=this[_0x3f56e7(0x40c)][_0x3f56e7(0x2cf)](),_0x4ae784=this[_0x3f56e7(0x416)][_0x3f56e7(0x2d2)](_0x3691de=>new _0x87efb8(_0x3691de,_0x55bbe7,_0x51858d,_0x49d3c1));this[_0x3f56e7(0x29b)]=_0x4ae784;}[_0x4ffb2f(0x167)](){const _0xcc88e5=_0x4ffb2f;this[_0xcc88e5(0x29b)][_0xcc88e5(0x3b3)](_0x5504cb=>_0x5504cb[_0xcc88e5(0x35b)]()),this[_0xcc88e5(0x29b)]=[];}[_0x4ffb2f(0x2fc)](){const _0x2feca3=_0x4ffb2f,_0x4512e4=[_0x3c2fd8[_0x2feca3(0x371)]['id']];this[_0x2feca3(0x2c6)](this[_0x2feca3(0x3ad)][_0x2feca3(0x3c5)](_0xa6eeb6=>{const _0x121c3f=_0x2feca3;_0x4512e4['includes'](_0xa6eeb6['id'])&&_0xa6eeb6[_0x121c3f(0x281)][_0x121c3f(0x20a)]===this[_0x121c3f(0x2c1)][_0x121c3f(0x20a)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x12d792=_0x4ffb2f;this[_0x12d792(0x2c6)](_0xe02e1d[_0x12d792(0x1f8)](this[_0x12d792(0x2c1)]['engine'][_0x12d792(0x35e)])['pipe'](_0x114028['filter'](_0x650bf1=>_0x650bf1['type']===_0x82715c[_0x12d792(0x37d)][_0x12d792(0x212)]),_0x114028[_0x12d792(0x2cb)](0x10))[_0x12d792(0x2ee)](()=>{this['_refreshCollabCursors']();}));}};_0x4b7b5a=_0x5a8ddd([_0x1589ba(0x1,_0xe02e1d['Inject'](_0x45611e[_0x4ffb2f(0x175)])),_0x1589ba(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0x55c126)),_0x1589ba(0x3,_0xe02e1d[_0x4ffb2f(0x2b4)]),_0x1589ba(0x4,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d['ThemeService']))],_0x4b7b5a);const _0x498962=0x1,_0x2c1784=1.5;class _0x3bd7d5 extends _0x82715c[_0x4ffb2f(0x360)]{constructor(_0x5371f1,_0x27d4d2){const _0x2337c2=_0x4ffb2f;super(_0x5371f1,_0x27d4d2),_0x18680f(this,_0x2337c2(0x3e7)),_0x18680f(this,_0x2337c2(0x3c0),!0x1),_0x18680f(this,_0x2337c2(0x262)),_0x18680f(this,'_name',''),_0x18680f(this,_0x2337c2(0x3e3),_0x2337c2(0x1eb)),_0x18680f(this,_0x2337c2(0x402)),(_0x27d4d2&&this[_0x2337c2(0x2ca)](_0x27d4d2),this[_0x2337c2(0x398)][_0x2337c2(0x1bb)](()=>this[_0x2337c2(0x2ca)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x2337c2(0x2ca)]({'hovered':!0x1})));}[_0x4ffb2f(0x2ca)](_0x9970b8){const _0x2c4f10=_0x4ffb2f;var _0x4e21e6,_0x4986ec,_0x119d15,_0x5ce653,_0x1e9c2d,_0x3918ab;this[_0x2c4f10(0x3e7)]=(_0x4e21e6=_0x9970b8[_0x2c4f10(0x264)])!=null?_0x4e21e6:this[_0x2c4f10(0x3e7)],this[_0x2c4f10(0x3c0)]=(_0x4986ec=_0x9970b8[_0x2c4f10(0x249)])!=null?_0x4986ec:this[_0x2c4f10(0x3c0)],this[_0x2c4f10(0x262)]=(_0x119d15=_0x9970b8[_0x2c4f10(0x37a)])!=null?_0x119d15:this['_range'],this[_0x2c4f10(0x1fe)]=(_0x5ce653=_0x9970b8[_0x2c4f10(0x1a3)])!=null?_0x5ce653:this[_0x2c4f10(0x1fe)],this['_labelPosition']=(_0x1e9c2d=_0x9970b8[_0x2c4f10(0x381)])!=null?_0x1e9c2d:this['_labelPosition'],this[_0x2c4f10(0x402)]=(_0x3918ab=_0x9970b8['backgroundColor'])!=null?_0x3918ab:this[_0x2c4f10(0x402)],this[_0x2c4f10(0x1e9)]({'width':_0x9970b8[_0x2c4f10(0x273)],'height':_0x9970b8[_0x2c4f10(0x3ed)]});}[_0x4ffb2f(0x259)](_0x193958){const _0x29b3ab=_0x4ffb2f,{row:_0x1502f6,column:_0x534430}=_0x193958;if(_0x1502f6>=this[_0x29b3ab(0x262)][_0x29b3ab(0x225)]&&_0x1502f6<=this['_range'][_0x29b3ab(0x1f4)]&&_0x534430>=this[_0x29b3ab(0x262)]['startColumn']&&_0x534430<=this['_range'][_0x29b3ab(0x3b4)]){this[_0x29b3ab(0x2ca)]({'hovered':!0x0});return;}this[_0x29b3ab(0x2ca)]({'hovered':!0x1});}['triggerDblclick'](_0x367d4a){return!0x1;}[_0x4ffb2f(0x242)](_0x37aacb){const _0x54d3ba=_0x4ffb2f;_0x82715c[_0x54d3ba(0x16b)]['drawWith'](_0x37aacb,{'width':this[_0x54d3ba(0x273)],'height':this[_0x54d3ba(0x3ed)],'strokeWidth':_0x2c1784,'stroke':this[_0x54d3ba(0x3e7)],'evented':!0x1,'fill':this[_0x54d3ba(0x402)]}),this[_0x54d3ba(0x3c0)]&&(_0x37aacb[_0x54d3ba(0x23e)](),_0x37aacb[_0x54d3ba(0x266)](0x1,0x0,0x0,0x1,this[_0x54d3ba(0x273)],this[_0x54d3ba(0x3e3)]==='bottom'?0x0:-_0x1a0203),_0x54479e['drawWith'](_0x37aacb,{'text':this['_name'],'color':this[_0x54d3ba(0x3e7)]}),_0x37aacb[_0x54d3ba(0x1ad)]());}}var _0x3fd20b=Object[_0x4ffb2f(0x1c4)],_0x31d386=(_0x498193,_0x4517a9,_0xc80804,_0x56351d)=>{const _0x1a504a=_0x4ffb2f;for(var _0xe614b0=_0x56351d>0x1?void 0x0:_0x56351d?_0x3fd20b(_0x4517a9,_0xc80804):_0x4517a9,_0x3ccd85=_0x498193[_0x1a504a(0x30b)]-0x1,_0x43ab82;_0x3ccd85>=0x0;_0x3ccd85--)(_0x43ab82=_0x498193[_0x3ccd85])&&(_0xe614b0=_0x43ab82(_0xe614b0)||_0xe614b0);return _0xe614b0;},_0x3ffcf3=(_0x43795b,_0x2c1474)=>(_0x5ddaff,_0x273c5e)=>_0x2c1474(_0x5ddaff,_0x273c5e,_0x43795b);const _0x3ee100=0x1389;let _0x44d14b=class extends _0xe02e1d[_0x4ffb2f(0x183)]{constructor(_0x5e6892,_0x47742c,_0x4ad422,_0x552131){const _0xb2952a=_0x4ffb2f;super(),_0x18680f(this,_0xb2952a(0x416),new Set()),_0x18680f(this,_0xb2952a(0x26f),null),(this['_context']=_0x5e6892,this['_sheetSkeletonManagerService']=_0x47742c,this[_0xb2952a(0x40b)]=_0x4ad422,this[_0xb2952a(0x1f2)]=_0x552131,this['_init']());}[_0x4ffb2f(0x230)](){const _0x4791b7=_0x4ffb2f;this[_0x4791b7(0x3db)][_0x4791b7(0x3ff)][_0x4791b7(0x1da)](_0x114028[_0x4791b7(0x2ab)](this[_0x4791b7(0x3ba)]),_0x114028[_0x4791b7(0x3f3)](_0x47566d=>{const _0x2cc806=_0x4791b7;if(_0x47566d){const _0x5e5fd2=_0x47566d[_0x2cc806(0x1b8)];return _0x4f3599[_0x2cc806(0x2fe)](this[_0x2cc806(0x40b)]['getCollabCursors$'](this['_context'][_0x2cc806(0x20a)]),this[_0x2cc806(0x1f2)][_0x2cc806(0x200)])['pipe'](_0x114028[_0x2cc806(0x2d2)](([_0x4da09b,_0x71bef1])=>{const _0x407c90=_0x2cc806,_0x4e2514=new Map();return _0x4da09b[_0x407c90(0x3b3)]((_0x46b56f,_0xd8465f)=>{const _0x1678f6=_0x407c90;if(_0x46b56f[_0x1678f6(0x3e6)]===_0x5e5fd2){const _0x31f78c={..._0x46b56f};_0x31f78c[_0x1678f6(0x264)]=this[_0x1678f6(0x1f2)][_0x1678f6(0x3b8)](_0x46b56f[_0x1678f6(0x264)]),_0x4e2514[_0x1678f6(0x319)](_0xd8465f,_0x31f78c);}}),{'skeleton':_0x47566d,'cursors':_0x4e2514};}));}return _0x4f3599['of']({'skeleton':null,'cursors':new Map()});}))[_0x4791b7(0x2ee)](({skeleton:_0xbf34ba,cursors:_0x3cc435})=>{const _0x217bf6=_0x4791b7;this[_0x217bf6(0x167)](),_0xbf34ba&&this[_0x217bf6(0x23b)](_0xbf34ba,_0x3cc435);}),this['_sheetSkeletonManagerService'][_0x4791b7(0x3ff)][_0x4791b7(0x2ee)](_0x62a7c6=>{const _0x4a312e=_0x4791b7;if(_0x62a7c6==null)return;const {skeleton:_0x16607f}=_0x62a7c6,{scene:_0x26060e}=this[_0x4a312e(0x2c1)];_0x26060e[_0x4a312e(0x3a1)][_0x4a312e(0x1bb)](_0xe02e1d[_0x4a312e(0x292)](_0x21d429=>{const _0x4c2db0=_0x4a312e;var _0x3b6ebc,_0x2a79a0;const {offsetX:_0x3e5d2d,offsetY:_0x564d11}=_0x21d429,{x:_0x4fdc51,y:_0x3f8399}=_0x26060e[_0x4c2db0(0x3bc)](_0x82715c[_0x4c2db0(0x42b)][_0x4c2db0(0x3c1)]([_0x3e5d2d,_0x564d11])),{scaleX:_0x42b743,scaleY:_0x47cc5b}=_0x26060e['getAncestorScale'](),_0x43a037=_0x26060e[_0x4c2db0(0x195)](_0x82715c[_0x4c2db0(0x330)][_0x4c2db0(0x2a6)]),_0x2c9e71=_0x26060e[_0x4c2db0(0x423)](_0x82715c[_0x4c2db0(0x42b)][_0x4c2db0(0x3c1)]([_0x4fdc51,_0x3f8399]),_0x43a037),_0x375ead=_0x16607f['getCellPositionByOffset'](_0x3e5d2d,_0x564d11,_0x42b743,_0x47cc5b,_0x2c9e71);((_0x3b6ebc=this[_0x4c2db0(0x26f)])==null?void 0x0:_0x3b6ebc[_0x4c2db0(0x352)])===_0x375ead[_0x4c2db0(0x352)]&&((_0x2a79a0=this[_0x4c2db0(0x26f)])==null?void 0x0:_0x2a79a0[_0x4c2db0(0x1a7)])===_0x375ead[_0x4c2db0(0x1a7)]||this[_0x4c2db0(0x416)][_0x4c2db0(0x3b3)](_0x2edd76=>{const _0x2e35dd=_0x4c2db0;_0x2edd76[_0x2e35dd(0x259)](_0x375ead);});},0x64));});}['_updateCollabCursors'](_0x273fa3,_0x1b7434){const _0x3336a8=_0x4ffb2f;var _0x16f481;const _0x179ebb=(_0x16f481=this['_sheetSkeletonManagerService'][_0x3336a8(0x358)]())==null?void 0x0:_0x16f481[_0x3336a8(0x303)];if(!_0x179ebb)return;const _0x56c866=this['_getSheetObject']();if(!_0x56c866)return;this[_0x3336a8(0x416)][_0x3336a8(0x3b3)](_0x23f9b5=>{const _0x59c510=_0x3336a8;_0x23f9b5[_0x59c510(0x1d9)]();});const {scene:_0x183eab}=_0x56c866,_0x525ad3=_0x224427(Array[_0x3336a8(0x173)](_0x1b7434[_0x3336a8(0x3c6)]()))[_0x3336a8(0x2d2)](_0x47523e=>{const _0x3e065b=_0x3336a8,{color:_0x57cfa6,range:_0x41e66a,name:_0x5cc78a,selection:_0x17d453,sheetID:_0x3ff20b}=_0x47523e,{startColumn:_0x4aeb2c,startRow:_0x54f9ff,endColumn:_0x47d64a,endRow:_0x18ff7c}=_0x41e66a,_0x764aec=_0x18520d[_0x3e065b(0x28f)](_0x54f9ff,_0x4aeb2c,_0x183eab,_0x179ebb),_0x4f658e=_0x18520d[_0x3e065b(0x28f)](_0x18ff7c,_0x47d64a,_0x183eab,_0x179ebb),{columnHeaderHeightAndMarginTop:_0xabcc64}=_0x179ebb,{startX:_0xf1d635,startY:_0x559cf0}=_0x764aec,{endX:_0x3e96b5,endY:_0x3813cf}=_0x4f658e,_0x45b326=_0x3e96b5-_0xf1d635,_0x415ace=_0x3813cf-_0x559cf0,_0x8dd7c5={'labelPosition':_0x559cf0-_0xabcc64>=_0x1a0203?_0x3e065b(0x1eb):_0x3e065b(0x426),'sheetID':_0x3ff20b,'range':_0x41e66a,'color':_0x57cfa6,'name':_0x5cc78a,'selection':_0x17d453,'left':_0xf1d635,'top':_0x559cf0,'width':_0x45b326,'height':_0x415ace,'evented':!0x1,'zIndex':_0x3ee100};return new _0x3bd7d5(_0x5cc78a,_0x8dd7c5);});_0x183eab[_0x3336a8(0x34f)](_0x525ad3,_0x498962),this['_cursors']=new Set(_0x525ad3);}['_removeCollabCursors'](){const _0x406da5=_0x4ffb2f;var _0x2e7794;(_0x2e7794=this[_0x406da5(0x416)])==null||_0x2e7794[_0x406da5(0x3b3)](_0xdadfac=>_0xdadfac[_0x406da5(0x35b)]());}['_getSheetObject'](){const _0x4b3028=_0x4ffb2f;return _0x18520d['getSheetObject'](this['_context']['unit'],this[_0x4b3028(0x2c1)]);}};_0x44d14b=_0x31d386([_0x3ffcf3(0x1,_0xe02e1d[_0x4ffb2f(0x23d)](_0x18520d[_0x4ffb2f(0x25a)])),_0x3ffcf3(0x2,_0xe02e1d['Inject'](_0x55c126)),_0x3ffcf3(0x3,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x378)]))],_0x44d14b);function _0x224427(_0x119c32){const _0x278eb8=_0x4ffb2f,_0x34c155=new Map();return _0x119c32[_0x278eb8(0x3b3)](_0xe942ff=>{const _0x58741c=_0x278eb8;if(_0x34c155[_0x58741c(0x438)](_0xe942ff[_0x58741c(0x20b)])){const _0x503f5d=_0x34c155[_0x58741c(0x3f8)](_0xe942ff[_0x58741c(0x20b)]);_0x503f5d[_0x58741c(0x1a3)]+=',\x20'+_0xe942ff['name'];}else _0x34c155[_0x58741c(0x319)](_0xe942ff[_0x58741c(0x20b)],_0xe942ff);}),Array[_0x278eb8(0x173)](_0x34c155['values']());}var _0x52b15d=Object[_0x4ffb2f(0x1c4)],_0x437119=(_0x1580d6,_0x2a9554,_0x334143,_0x3b3528)=>{const _0x528483=_0x4ffb2f;for(var _0x8b38b2=_0x3b3528>0x1?void 0x0:_0x3b3528?_0x52b15d(_0x2a9554,_0x334143):_0x2a9554,_0x4f22cb=_0x1580d6[_0x528483(0x30b)]-0x1,_0x47e393;_0x4f22cb>=0x0;_0x4f22cb--)(_0x47e393=_0x1580d6[_0x4f22cb])&&(_0x8b38b2=_0x47e393(_0x8b38b2)||_0x8b38b2);return _0x8b38b2;},_0x10bad2=(_0x2b51fa,_0x19f0ea)=>(_0x2b49a9,_0x7f2cc9)=>_0x19f0ea(_0x2b49a9,_0x7f2cc9,_0x2b51fa);let _0x2461fb=class extends _0xe02e1d[_0x4ffb2f(0x3ae)]{constructor(_0x3de320,_0x4f3e4b,_0x2c14ef,_0x481473,_0x141961,_0x423807){const _0x27b751=_0x4ffb2f;super(),this['_beforeCloseService']=_0x3de320,this[_0x27b751(0x33b)]=_0x4f3e4b,this[_0x27b751(0x415)]=_0x2c14ef,this[_0x27b751(0x2d6)]=_0x481473,this[_0x27b751(0x428)]=_0x141961,this[_0x27b751(0x172)]=_0x423807,this[_0x27b751(0x305)](),this[_0x27b751(0x18f)]();}[_0x4ffb2f(0x305)](){const _0x524f4a=_0x4ffb2f;this[_0x524f4a(0x2c6)](this['_beforeCloseService'][_0x524f4a(0x427)](()=>{const _0x16af3a=_0x524f4a;if(this[_0x16af3a(0x33b)][_0x16af3a(0x3fe)][_0x16af3a(0x274)])return this[_0x16af3a(0x172)]['t'](_0x16af3a(0x425));}));}[_0x4ffb2f(0x18f)](){const _0x8e0b6=_0x4ffb2f;this[_0x8e0b6(0x2c6)](this[_0x8e0b6(0x415)][_0x8e0b6(0x1b3)][_0x8e0b6(0x2ee)](_0x1c18c4=>{const _0xfb821b=_0x8e0b6;_0x1c18c4['id']===_0x5114e9[_0xfb821b(0x3fc)][_0xfb821b(0x42c)]&&this[_0xfb821b(0x2d6)][_0xfb821b(0x1ba)]({'type':_0x51c415[_0xfb821b(0x2a2)][_0xfb821b(0x224)],'content':this[_0xfb821b(0x172)]['t'](_0xfb821b(0x36b))}),_0x1c18c4['id']===_0x5114e9['CollaborationUIEventId'][_0xfb821b(0x2c0)]&&this['_messageService'][_0xfb821b(0x1ba)]({'type':_0x51c415['MessageType'][_0xfb821b(0x224)],'content':this[_0xfb821b(0x172)]['t']('collaboration.closeRoom')}),_0x1c18c4['id']===_0x5114e9[_0xfb821b(0x3fc)]['PERMISSION_DENIED']&&this[_0xfb821b(0x428)][_0xfb821b(0x1ba)]({'title':this[_0xfb821b(0x172)]['t']('permission.title'),'content':this[_0xfb821b(0x172)]['t'](_0xfb821b(0x28c)),'type':_0xfb821b(0x22f),'duration':0x0}),_0x1c18c4['id']===_0x5114e9['CollaborationUIEventId'][_0xfb821b(0x295)]&&this['_messageService'][_0xfb821b(0x1ba)]({'type':_0x51c415[_0xfb821b(0x2a2)][_0xfb821b(0x32c)],'content':this[_0xfb821b(0x172)]['t'](_0xfb821b(0x3cc))+'('+_0x1c18c4[_0xfb821b(0x32b)]+')'}),_0x1c18c4['id']===_0x5114e9[_0xfb821b(0x3fc)][_0xfb821b(0x3ce)]&&this['_messageService'][_0xfb821b(0x1ba)]({'type':_0x51c415[_0xfb821b(0x2a2)]['Warning'],'content':this[_0xfb821b(0x172)]['t'](_0x1c18c4[_0xfb821b(0x32b)]||'')}),_0x1c18c4['id']===_0x5114e9[_0xfb821b(0x3fc)][_0xfb821b(0x190)]&&this[_0xfb821b(0x2d6)][_0xfb821b(0x1ba)]({'type':_0x51c415['MessageType'][_0xfb821b(0x224)],'content':this[_0xfb821b(0x172)]['t'](_0xfb821b(0x417))}),_0x1c18c4['id']===_0x5114e9[_0xfb821b(0x3fc)]['SOCKET_FAILED']&&this[_0xfb821b(0x2d6)]['show']({'type':_0x51c415[_0xfb821b(0x2a2)][_0xfb821b(0x32c)],'content':this[_0xfb821b(0x172)]['t']('session.connection-failed')}),_0x1c18c4['id']===_0x5114e9[_0xfb821b(0x3fc)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x51c415['MessageType'][_0xfb821b(0x32c)],'content':this[_0xfb821b(0x172)]['t'](_0xfb821b(0x1c3))});}));}};_0x2461fb=_0x437119([_0x10bad2(0x0,_0x2783f5[_0x4ffb2f(0x192)]),_0x10bad2(0x1,_0x5114e9[_0x4ffb2f(0x397)]),_0x10bad2(0x2,_0xe02e1d['Inject'](_0x5114e9[_0x4ffb2f(0x248)])),_0x10bad2(0x3,_0x2783f5[_0x4ffb2f(0x3b7)]),_0x10bad2(0x4,_0x2783f5[_0x4ffb2f(0x40f)]),_0x10bad2(0x5,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x388)]))],_0x2461fb);const _0x39b674=_0x4ffb2f(0x2bf),_0x33c86e={};var _0x57306a=Object[_0x4ffb2f(0x1c4)],_0x5e7e55=(_0x2f61b9,_0x445ba0,_0x22aac0,_0x19edfa)=>{const _0x2f1e27=_0x4ffb2f;for(var _0x2b04dd=_0x19edfa>0x1?void 0x0:_0x19edfa?_0x57306a(_0x445ba0,_0x22aac0):_0x445ba0,_0x413a80=_0x2f61b9[_0x2f1e27(0x30b)]-0x1,_0x3b311c;_0x413a80>=0x0;_0x413a80--)(_0x3b311c=_0x2f61b9[_0x413a80])&&(_0x2b04dd=_0x3b311c(_0x2b04dd)||_0x2b04dd);return _0x2b04dd;},_0x57e1d2=(_0x4898d2,_0xfb297d)=>(_0x3a6ac4,_0x10dbb9)=>_0xfb297d(_0x3a6ac4,_0x10dbb9,_0x4898d2);let _0xfc4f8=class{constructor(_0x42861d,_0x5114a1){const _0x53a3d7=_0x4ffb2f;this[_0x53a3d7(0x169)]=_0x42861d,this[_0x53a3d7(0x1d3)]=_0x5114a1;}[_0x4ffb2f(0x2c8)](_0x4eba63){const _0x446644=_0x4ffb2f;this[_0x446644(0x403)](_0x4eba63),this[_0x446644(0x3ee)](_0x4eba63);}[_0x4ffb2f(0x3af)](_0x10a2ca){const _0x12e425=_0x4ffb2f,{unitID:_0x17dfec}=_0x10a2ca,_0x3c9e20=this[_0x12e425(0x1d3)][_0x12e425(0x1f9)](_0x17dfec)['with'](_0x3c2fd8[_0x12e425(0x240)]),{redoCache:_0x4cc3f1}=_0x3c9e20[_0x12e425(0x334)]();if(_0x4cc3f1[_0x12e425(0x30b)]===0x0)return _0x10a2ca;let _0x37be19=_0xe02e1d[_0x12e425(0x2b5)][_0x12e425(0x1a0)](_0x10a2ca[_0x12e425(0x179)][0x0]);for(let _0x3cbe49=0x0;_0x3cbe49<_0x4cc3f1[_0x12e425(0x30b)];_0x3cbe49++){const _0x55cfa6={'id':_0x12e425(0x28b),'params':{..._0x4cc3f1[_0x3cbe49]}},_0x5bb787=this[_0x12e425(0x169)]['transformMutation'](_0x37be19,_0x55cfa6,!0x1);if(_0x1d566b[_0x12e425(0x1e4)](_0x5bb787))throw _0x5bb787['error'];_0x37be19=_0x5bb787[_0x12e425(0x2ad)];}return{..._0xe02e1d[_0x12e425(0x2b5)][_0x12e425(0x1a0)](_0x10a2ca),'mutations':[_0x37be19]};}['_transformUndoRedoStack'](_0x5be29f){const _0x4c8c9d=_0x4ffb2f,{unitID:_0x37bb25}=_0x5be29f,_0xf19ea2=this[_0x4c8c9d(0x1d3)][_0x4c8c9d(0x1f9)](_0x37bb25)['with'](_0x3c2fd8[_0x4c8c9d(0x240)]),{undoCache:_0x3f1225,redoCache:_0x311214}=_0xf19ea2['getUndoRedoMutationParamsCache']();if(_0x3f1225[_0x4c8c9d(0x30b)]===0x0||_0x311214[_0x4c8c9d(0x30b)]===0x0)return;const _0x14c3f1=[],_0x3c230f=[];let _0x3830f3=_0xe02e1d['Tools'][_0x4c8c9d(0x1a0)](_0x5be29f[_0x4c8c9d(0x179)][0x0]),_0x305c50=_0xe02e1d['Tools']['deepClone'](_0x5be29f[_0x4c8c9d(0x179)][0x0]);for(let _0x64831b=_0x3f1225[_0x4c8c9d(0x30b)]-0x1;_0x64831b>=0x0;_0x64831b--){const _0x1baabb={'id':_0x4c8c9d(0x28b),'params':{..._0x3f1225[_0x64831b]}},_0x1a9fae={'id':_0x4c8c9d(0x28b),'params':{..._0x311214[_0x64831b]}},_0x5b931c=this[_0x4c8c9d(0x169)]['transformMutation'](_0x3830f3,_0x1baabb,!0x1),_0x2ae006=this[_0x4c8c9d(0x169)][_0x4c8c9d(0x320)](_0x305c50,_0x1a9fae,!0x1);if(_0x1d566b[_0x4c8c9d(0x1e4)](_0x5b931c))throw _0x5b931c[_0x4c8c9d(0x22f)];if(_0x1d566b[_0x4c8c9d(0x1e4)](_0x2ae006))throw _0x2ae006[_0x4c8c9d(0x22f)];_0x14c3f1[_0x4c8c9d(0x2f1)](_0x5b931c[_0x4c8c9d(0x27d)][_0x4c8c9d(0x281)]),_0x3c230f[_0x4c8c9d(0x2f1)](_0x2ae006[_0x4c8c9d(0x27d)][_0x4c8c9d(0x281)]),_0x3830f3=_0x5b931c[_0x4c8c9d(0x2ad)],_0x305c50=_0x2ae006[_0x4c8c9d(0x2ad)];}_0xf19ea2[_0x4c8c9d(0x3a9)]({'undoCache':_0x14c3f1,'redoCache':_0x3c230f});}['_transformPreviousActiveRange'](_0x24130a){const _0xc17371=_0x4ffb2f,{unitID:_0x58f6d5}=_0x24130a,_0x1bd842=this[_0xc17371(0x1d3)]['getRenderById'](_0x58f6d5)[_0xc17371(0x38b)](_0x3c2fd8[_0xc17371(0x240)]),_0x58369b=_0x1bd842[_0xc17371(0x2b7)]();if(_0x58369b==null)return;const _0x21bdef=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24130a[_0xc17371(0x16d)],'actions':null,'textRanges':[_0x58369b]}}],_0xe321f9=this[_0xc17371(0x169)][_0xc17371(0x3a3)](_0x24130a,_0x21bdef);if(!_0x1d566b[_0xc17371(0x386)](_0xe321f9))throw _0xe321f9[_0xc17371(0x22f)];const _0x4145af=_0xe321f9[_0xc17371(0x27d)][0x0]['params'][_0xc17371(0x353)];Array[_0xc17371(0x1ae)](_0x4145af)&&_0x4145af[_0xc17371(0x30b)]&&_0x1bd842['setActiveRange'](_0x4145af[0x0]);}};_0xfc4f8=_0x5e7e55([_0x57e1d2(0x0,_0x1d566b[_0x4ffb2f(0x1a1)]),_0x57e1d2(0x1,_0x82715c['IRenderManagerService'])],_0xfc4f8);var _0x4bcfed=Object['getOwnPropertyDescriptor'],_0x474e2f=(_0x1c062d,_0x2d8080,_0x402009,_0x3ac56a)=>{for(var _0xd26fe6=_0x3ac56a>0x1?void 0x0:_0x3ac56a?_0x4bcfed(_0x2d8080,_0x402009):_0x2d8080,_0x538528=_0x1c062d['length']-0x1,_0x12640a;_0x538528>=0x0;_0x538528--)(_0x12640a=_0x1c062d[_0x538528])&&(_0xd26fe6=_0x12640a(_0xd26fe6)||_0xd26fe6);return _0xd26fe6;},_0x10db7d=(_0x28dfb8,_0x46995c)=>(_0x39dc92,_0x3d282a)=>_0x46995c(_0x39dc92,_0x3d282a,_0x28dfb8);let _0x119487=class{constructor(_0x3cf9ee,_0x165ed1,_0x49533e){const _0x3e9098=_0x4ffb2f;this[_0x3e9098(0x188)]=_0x3cf9ee,this[_0x3e9098(0x169)]=_0x165ed1,this['_docStateChangeManagerService']=_0x49533e;}['transformStateCache'](_0x45f67d){this['_transformHistoryAndStateStack'](_0x45f67d);}['transformRemoteChangeset'](_0x49171e){const _0x5e1363=_0x4ffb2f,{unitID:_0x2d5e6c}=_0x49171e,{collaboration:_0x1b2c49}=this['_docStateChangeManagerService'][_0x5e1363(0x1dc)](_0x2d5e6c);if(_0x1b2c49[_0x5e1363(0x30b)]===0x0)return _0x49171e;let _0x445785=_0xe02e1d[_0x5e1363(0x2b5)]['deepClone'](_0x49171e[_0x5e1363(0x179)][0x0]);for(let _0x39b5e2=0x0;_0x39b5e2<_0x1b2c49['length'];_0x39b5e2++){const _0x2c979d={'id':_0x5e1363(0x28b),'params':{'unitId':_0x1b2c49[_0x39b5e2]['unitId'],..._0x1b2c49[_0x39b5e2]['redoState']}},_0x2565f9=this[_0x5e1363(0x169)][_0x5e1363(0x320)](_0x445785,_0x2c979d,!0x1);if(_0x1d566b[_0x5e1363(0x1e4)](_0x2565f9))throw _0x2565f9[_0x5e1363(0x22f)];_0x445785=_0x2565f9[_0x5e1363(0x2ad)];}return{..._0xe02e1d['Tools'][_0x5e1363(0x1a0)](_0x49171e),'mutations':[_0x445785]};}['_transformHistoryAndStateStack'](_0x1e9dff){const _0x10a606=_0x4ffb2f,{unitID:_0x10a7b4}=_0x1e9dff,{history:_0x36197f,collaboration:_0x3abc7d}=this[_0x10a606(0x3ea)][_0x10a606(0x1dc)](_0x10a7b4);if(_0x36197f['length']===0x0&&_0x3abc7d[_0x10a606(0x30b)]===0x0)return;const _0x5d38a8=[],_0xed0bbc=[];let _0xae366b=_0xe02e1d[_0x10a606(0x2b5)][_0x10a606(0x1a0)](_0x1e9dff[_0x10a606(0x179)][0x0]),_0x4ec342=_0xe02e1d[_0x10a606(0x2b5)][_0x10a606(0x1a0)](_0x1e9dff[_0x10a606(0x179)][0x0]);for(let _0x4f086b=_0x36197f['length']-0x1;_0x4f086b>=0x0;_0x4f086b--){const _0x32d5f9={'id':_0x10a606(0x28b),'params':{'unitId':_0x36197f[_0x4f086b][_0x10a606(0x20a)],..._0x36197f[_0x4f086b]['undoState']}},_0xda7b7={'id':_0x10a606(0x28b),'params':{'unitId':_0x36197f[_0x4f086b]['unitId'],..._0x36197f[_0x4f086b][_0x10a606(0x1d7)]}},_0x5aa768=this[_0x10a606(0x169)]['transformMutation'](_0xae366b,_0x32d5f9,!0x1),_0x4e97a4=this[_0x10a606(0x169)][_0x10a606(0x320)](_0x4ec342,_0xda7b7,!0x1);if(_0x1d566b[_0x10a606(0x1e4)](_0x5aa768))throw _0x5aa768['error'];if(_0x1d566b[_0x10a606(0x1e4)](_0x4e97a4))throw _0x4e97a4[_0x10a606(0x22f)];_0x5d38a8[_0x10a606(0x2f1)]({..._0x36197f[_0x4f086b],'undoState':_0x5aa768[_0x10a606(0x27d)][_0x10a606(0x281)],'redoState':_0x4e97a4['m2Prime'][_0x10a606(0x281)]}),_0xae366b=_0x5aa768['m1Prime'],_0x4ec342=_0x4e97a4['m1Prime'];}_0xae366b=_0xe02e1d[_0x10a606(0x2b5)][_0x10a606(0x1a0)](_0x1e9dff[_0x10a606(0x179)][0x0]),_0x4ec342=_0xe02e1d[_0x10a606(0x2b5)][_0x10a606(0x1a0)](_0x1e9dff[_0x10a606(0x179)][0x0]);for(let _0x3a793d=_0x3abc7d[_0x10a606(0x30b)]-0x1;_0x3a793d>=0x0;_0x3a793d--){const _0x47356f={'id':_0x10a606(0x28b),'params':{'unitId':_0x3abc7d[_0x3a793d][_0x10a606(0x20a)],..._0x3abc7d[_0x3a793d][_0x10a606(0x323)]}},_0x2f028a={'id':_0x10a606(0x28b),'params':{'unitId':_0x3abc7d[_0x3a793d][_0x10a606(0x20a)],..._0x3abc7d[_0x3a793d][_0x10a606(0x1d7)]}},_0x56d8c0=this[_0x10a606(0x169)][_0x10a606(0x320)](_0xae366b,_0x47356f,!0x1),_0x582dfc=this[_0x10a606(0x169)][_0x10a606(0x320)](_0x4ec342,_0x2f028a,!0x1);if(_0x1d566b['isTransformMutationFailure'](_0x56d8c0))throw _0x56d8c0[_0x10a606(0x22f)];if(_0x1d566b[_0x10a606(0x1e4)](_0x582dfc))throw _0x582dfc[_0x10a606(0x22f)];_0xed0bbc[_0x10a606(0x2f1)]({..._0x3abc7d[_0x3a793d],'undoState':_0x56d8c0[_0x10a606(0x27d)][_0x10a606(0x281)],'redoState':_0x582dfc[_0x10a606(0x27d)][_0x10a606(0x281)]}),_0xae366b=_0x56d8c0[_0x10a606(0x2ad)],_0x4ec342=_0x582dfc[_0x10a606(0x2ad)];}this[_0x10a606(0x3ea)][_0x10a606(0x1a8)](_0x10a7b4,{'history':_0x5d38a8,'collaboration':_0xed0bbc});}};_0x119487=_0x474e2f([_0x10db7d(0x0,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x1c2)])),_0x10db7d(0x1,_0x1d566b[_0x4ffb2f(0x1a1)]),_0x10db7d(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0x3c2fd8[_0x4ffb2f(0x373)]))],_0x119487);var _0x4a9d99=Object[_0x4ffb2f(0x1c4)],_0x138957=(_0x3e36ec,_0x2f5cdb,_0x4eb134,_0x5503cc)=>{for(var _0x2a75b7=_0x5503cc>0x1?void 0x0:_0x5503cc?_0x4a9d99(_0x2f5cdb,_0x4eb134):_0x2f5cdb,_0x241ad0=_0x3e36ec['length']-0x1,_0x5d37df;_0x241ad0>=0x0;_0x241ad0--)(_0x5d37df=_0x3e36ec[_0x241ad0])&&(_0x2a75b7=_0x5d37df(_0x2a75b7)||_0x2a75b7);return _0x2a75b7;},_0x5cdb53=(_0x42fe30,_0x4ee5f6)=>(_0x4f308b,_0x46ffa8)=>_0x4ee5f6(_0x4f308b,_0x46ffa8,_0x42fe30);let _0x51e7a2=class{constructor(_0x153bc2,_0x280a19){const _0x3b98b7=_0x4ffb2f;this[_0x3b98b7(0x188)]=_0x153bc2,this[_0x3b98b7(0x169)]=_0x280a19;}[_0x4ffb2f(0x342)](_0x48a046){const _0x4db511=_0x4ffb2f;var _0x34d108;const _0x55b161=this[_0x4db511(0x188)][_0x4db511(0x3f8)](_0x45611e[_0x4db511(0x2ed)]),_0x3ea89f=(_0x34d108=_0x55b161[_0x4db511(0x308)]())!=null?_0x34d108:[];if(_0x3ea89f[_0x4db511(0x30b)]===0x0)return;const _0x9d57ad=_0x48a046[_0x4db511(0x16d)],_0x4316fb=[{'id':_0x4db511(0x28b),'params':{'unitId':_0x9d57ad,'actions':null,'textRanges':_0x3ea89f}}],_0x210fab=this[_0x4db511(0x169)][_0x4db511(0x3a3)](_0x48a046,_0x4316fb);if(!_0x1d566b['isTransformMutationsWithChangesetSuccess'](_0x210fab))throw _0x210fab[_0x4db511(0x22f)];const _0x1804dc=_0x210fab[_0x4db511(0x27d)][0x0]['params'][_0x4db511(0x353)];Array[_0x4db511(0x1ae)](_0x1804dc)&&_0x1804dc[_0x4db511(0x30b)]&&_0x55b161[_0x4db511(0x229)](_0x1804dc,{'unitId':_0x9d57ad,'subUnitId':_0x9d57ad},!0x1);}};_0x51e7a2=_0x138957([_0x5cdb53(0x0,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x1c2)])),_0x5cdb53(0x1,_0x1d566b[_0x4ffb2f(0x1a1)])],_0x51e7a2);var _0x3ccffc=Object[_0x4ffb2f(0x1c4)],_0x2d7825=(_0xf81e06,_0x553816,_0x3ba3fb,_0x42dbb5)=>{const _0xb3c84f=_0x4ffb2f;for(var _0x424863=_0x42dbb5>0x1?void 0x0:_0x42dbb5?_0x3ccffc(_0x553816,_0x3ba3fb):_0x553816,_0x3a7a16=_0xf81e06[_0xb3c84f(0x30b)]-0x1,_0x1ab466;_0x3a7a16>=0x0;_0x3a7a16--)(_0x1ab466=_0xf81e06[_0x3a7a16])&&(_0x424863=_0x1ab466(_0x424863)||_0x424863);return _0x424863;},_0x1e334e=(_0x560734,_0x42f4c1)=>(_0x26af8b,_0x42da8a)=>_0x42f4c1(_0x26af8b,_0x42da8a,_0x560734);let _0x2a1dc8=class extends _0xe02e1d[_0x4ffb2f(0x3ae)]{constructor(_0x24bd35,_0x52bc16,_0x53ee48,_0x121a13,_0x1e09f9,_0x3cdb75,_0x337a45,_0x1fd9db){const _0x21d525=_0x4ffb2f;super(),_0x18680f(this,_0x21d525(0x258),new _0x4f3599['BehaviorSubject'](_0x5114e9[_0x21d525(0x2b6)]['NOT_COLLAB'])),(this[_0x21d525(0x3ea)]=_0x24bd35,this[_0x21d525(0x184)]=_0x52bc16,this[_0x21d525(0x28d)]=_0x53ee48,this[_0x21d525(0x16c)]=_0x121a13,this[_0x21d525(0x344)]=_0x1e09f9,this[_0x21d525(0x36e)]=_0x3cdb75,this['_messageService']=_0x337a45,this[_0x21d525(0x172)]=_0x1fd9db,this[_0x21d525(0x29f)]());}[_0x4ffb2f(0x29f)](){const _0x47a108=_0x4ffb2f;this['disposeWithMe'](this[_0x47a108(0x184)][_0x47a108(0x1a4)][_0x47a108(0x2ee)](_0x4874f9=>{const _0x1befa8=_0x47a108,_0x293c08=this[_0x1befa8(0x3ea)][_0x1befa8(0x198)][_0x1befa8(0x2ee)](_0x4a1ab9=>{const _0x70ee4d=_0x1befa8;if(_0x4a1ab9==null)return;const {unitId:_0x23f4fd,redoState:_0x4c881f,commandId:_0xad00c6}=_0x4a1ab9;if(_0x23f4fd!==_0x4874f9['unitID'])return;const _0xcb7e0c={'id':_0xad00c6,'type':_0xe02e1d[_0x70ee4d(0x22e)]['MUTATION'],'params':{'unitId':_0x23f4fd,'actions':_0x4c881f['actions'],'textRanges':null}};_0x4874f9[_0x70ee4d(0x318)](_0xcb7e0c);});if(_0x4874f9[_0x1befa8(0x2c6)](_0x293c08),_0x4874f9 instanceof _0x5114e9[_0x1befa8(0x3ac)]){const _0x44d050={'onTransformIME':_0x1866bb=>this[_0x1befa8(0x28d)][_0x1befa8(0x2c8)](_0x1866bb),'onTransformState':_0x3f84bd=>this[_0x1befa8(0x16c)][_0x1befa8(0x2f3)](_0x3f84bd),'onTransformSelections':_0x499492=>this[_0x1befa8(0x344)][_0x1befa8(0x342)](_0x499492),'onSyncEditingCollabCursor':_0x16623f=>this[_0x1befa8(0x36e)][_0x1befa8(0x199)](_0x16623f),'onTransformRemoteChangesetByIMECache':_0xec66cd=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xec66cd),'onTransformRemoteChangesetByStateCache':_0x115ecb=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x115ecb)};_0x4874f9[_0x1befa8(0x3f1)](_0x44d050);}}));}};_0x2a1dc8=_0x2d7825([_0x1e334e(0x0,_0xe02e1d[_0x4ffb2f(0x23d)](_0x3c2fd8[_0x4ffb2f(0x373)])),_0x1e334e(0x1,_0xe02e1d['Inject'](_0x5114e9[_0x4ffb2f(0x218)])),_0x1e334e(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0xfc4f8)),_0x1e334e(0x3,_0xe02e1d[_0x4ffb2f(0x23d)](_0x119487)),_0x1e334e(0x4,_0xe02e1d['Inject'](_0x51e7a2)),_0x1e334e(0x5,_0xe02e1d[_0x4ffb2f(0x23d)](_0x528574)),_0x1e334e(0x6,_0x2783f5[_0x4ffb2f(0x3b7)]),_0x1e334e(0x7,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d['LocaleService']))],_0x2a1dc8);var _0x19b061=(_0x31b0cb=>(_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x392)]=0x0]=_0x4ffb2f(0x392),_0x31b0cb[_0x31b0cb['OK']=0x1]='OK',_0x31b0cb[_0x31b0cb['INTERNAL_ERROR']=0x2]=_0x4ffb2f(0x441),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x1a2)]=0x3]='PERMISSION_DENIED',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x27b)]=0x4]=_0x4ffb2f(0x27b),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x1e6)]=0x5]='UNAUTHENTICATED',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x42f)]=0x6]=_0x4ffb2f(0x42f),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x1b6)]=0x7]=_0x4ffb2f(0x1b6),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x3e0)]=0x8]='TOO_MANY_REQUESTS',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x19a)]=0x9]=_0x4ffb2f(0x19a),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x346)]=0xa]=_0x4ffb2f(0x346),_0x31b0cb[_0x31b0cb['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4ffb2f(0x20c),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x233)]=0xc]=_0x4ffb2f(0x233),_0x31b0cb[_0x31b0cb['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x4ffb2f(0x3f0),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x400)]=0xe]=_0x4ffb2f(0x400),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x2c2)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x3c8)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x31b0cb[_0x31b0cb['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x357)]=0x65]=_0x4ffb2f(0x357),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x31a)]=0xc9]=_0x4ffb2f(0x31a),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x3d4)]=0xca]=_0x4ffb2f(0x3d4),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x418)]=0x1389]=_0x4ffb2f(0x418),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x384)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x44b)]=0x1772]=_0x4ffb2f(0x44b),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x2e1)]=0x1773]=_0x4ffb2f(0x2e1),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x23f)]=0x1b59]=_0x4ffb2f(0x23f),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x22c)]=0x1b5a]=_0x4ffb2f(0x22c),_0x31b0cb[_0x31b0cb['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ffb2f(0x3fd),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x389)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x430)]=0x1b5d]=_0x4ffb2f(0x430),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x299)]=0x1f41]=_0x4ffb2f(0x299),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x390)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x21e)]=0x232a]=_0x4ffb2f(0x21e),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x3f7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x39c)]=0x232c]=_0x4ffb2f(0x39c),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x409)]=0x232d]=_0x4ffb2f(0x409),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x3a6)]=0x2711]=_0x4ffb2f(0x3a6),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x220)]=0x2712]=_0x4ffb2f(0x220),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x3d0)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x31b0cb[_0x31b0cb['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4ffb2f(0x2e2),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x26c)]=0x271a]=_0x4ffb2f(0x26c),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x234)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x255)]=0x271c]=_0x4ffb2f(0x255),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x176)]=0x271d]=_0x4ffb2f(0x176),_0x31b0cb[_0x31b0cb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4ffb2f(0x235),_0x31b0cb[_0x31b0cb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x4ffb2f(0x2a4),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x315)]=0x2720]=_0x4ffb2f(0x315),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x420)]=0x2af9]=_0x4ffb2f(0x420),_0x31b0cb[_0x31b0cb['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4ffb2f(0x36c),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x287)]=0x2ee2]=_0x4ffb2f(0x287),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x1f0)]=0x2ee3]=_0x4ffb2f(0x1f0),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x31c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x1aa)]=0x2ee5]=_0x4ffb2f(0x1aa),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x2e3)]=0x32c9]=_0x4ffb2f(0x2e3),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x177)]=0x32ca]=_0x4ffb2f(0x177),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x1f6)]=0x32cb]=_0x4ffb2f(0x1f6),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x186)]=0x36b1]=_0x4ffb2f(0x186),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x2ea)]=0x36b2]=_0x4ffb2f(0x2ea),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x275)]=0x36b3]=_0x4ffb2f(0x275),_0x31b0cb[_0x31b0cb['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x4ffb2f(0x3d8),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x33a)]=0x3715]=_0x4ffb2f(0x33a),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x331)]=0x3716]=_0x4ffb2f(0x331),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x324)]=0x37dd]=_0x4ffb2f(0x324),_0x31b0cb[_0x31b0cb['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4ffb2f(0x1c7),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x237)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x187)]=0x3a9b]=_0x4ffb2f(0x187),_0x31b0cb[_0x31b0cb['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x4ffb2f(0x22b),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x2b2)]=0x3a9d]=_0x4ffb2f(0x2b2),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x2f0)]=0x3a9e]=_0x4ffb2f(0x2f0),_0x31b0cb[_0x31b0cb[_0x4ffb2f(0x238)]=0x3a9f]=_0x4ffb2f(0x238),_0x31b0cb[_0x31b0cb['UNRECOGNIZED']=-0x1]=_0x4ffb2f(0x366),_0x31b0cb))(_0x19b061||{});function _0x4a5921(_0x57a34a){const _0x363a46=_0x4ffb2f;var _0x40bc58,_0x195555;const _0xa3f8de=(_0x40bc58=_0x57a34a[_0x363a46(0x254)])==null?void 0x0:_0x40bc58[_0x363a46(0x35f)],_0x431a8e=((_0x195555=_0x57a34a[_0x363a46(0x254)])==null?void 0x0:_0x195555[_0x363a46(0x437)])||0x0;return _0xa3f8de===_0x30fe55['FormulaExecuteStageType'][_0x363a46(0x1d0)]&&_0x431a8e>0x0;}function _0x5d9e31(_0x54556e){const _0x160c1f=_0x4ffb2f;return _0x54556e['functionsExecutedState']===_0x30fe55[_0x160c1f(0x436)]['SUCCESS'];}var _0x359cf9=Object[_0x4ffb2f(0x1c4)],_0x23f5b8=(_0x47ce32,_0xfd302e,_0x322f68,_0x493e8f)=>{const _0x4ad777=_0x4ffb2f;for(var _0x4b502d=_0x493e8f>0x1?void 0x0:_0x493e8f?_0x359cf9(_0xfd302e,_0x322f68):_0xfd302e,_0x500ca8=_0x47ce32[_0x4ad777(0x30b)]-0x1,_0x3dfa56;_0x500ca8>=0x0;_0x500ca8--)(_0x3dfa56=_0x47ce32[_0x500ca8])&&(_0x4b502d=_0x3dfa56(_0x4b502d)||_0x4b502d);return _0x4b502d;},_0x2cb83c=(_0xecaa7a,_0x1c48df)=>(_0x3219dd,_0xdca1ed)=>_0x1c48df(_0x3219dd,_0xdca1ed,_0xecaa7a);const _0x311374='/universer-api/license/formula/limit/status',_0x1e82a1=_0x4ffb2f(0x368),_0x5d42bd=_0x4ffb2f(0x31f);let _0x50276f=class extends _0xe02e1d['Disposable']{constructor(_0x1ad3a9,_0x429150,_0x1ae249,_0x3e5e7b,_0x36f451,_0x5ca6b9,_0xf93ef6){const _0x3b044b=_0x4ffb2f;super(),_0x18680f(this,_0x3b044b(0x387),null),_0x18680f(this,_0x3b044b(0x1d1),0x0),_0x18680f(this,'_currentUsage',0x0),_0x18680f(this,_0x3b044b(0x250),[]),_0x18680f(this,_0x3b044b(0x361),0x0),(this[_0x3b044b(0x2d6)]=_0x1ad3a9,this[_0x3b044b(0x3ad)]=_0x429150,this['_configService']=_0x1ae249,this[_0x3b044b(0x17f)]=_0x3e5e7b,this[_0x3b044b(0x17c)]=_0x36f451,this[_0x3b044b(0x310)]=_0x5ca6b9,this['_localeService']=_0xf93ef6,this[_0x3b044b(0x3d7)]());}[_0x4ffb2f(0x3d7)](){const _0x5bace6=_0x4ffb2f;this[_0x5bace6(0x2c6)](this[_0x5bace6(0x3ad)]['beforeCommandExecuted']((_0x17da5f,_0x1face0)=>{const _0x2d6ce8=_0x5bace6;if(_0x17da5f['id']!==_0x30fe55[_0x2d6ce8(0x174)]['id'])return;const _0x26c242=_0x17da5f[_0x2d6ce8(0x281)];if(!this[_0x2d6ce8(0x27a)](_0x26c242[_0x2d6ce8(0x243)]))return;if(!this[_0x2d6ce8(0x1ca)]())throw this[_0x2d6ce8(0x41f)](_0x17da5f,_0x1face0),this[_0x2d6ce8(0x2b8)](),new _0xe02e1d[(_0x2d6ce8(0x440))]();})),this[_0x5bace6(0x2c6)](this[_0x5bace6(0x3ad)][_0x5bace6(0x3c5)]((_0x1e074d,_0x10ba35)=>{const _0x2636a4=_0x5bace6;if(_0x1e074d['id']!==_0x30fe55[_0x2636a4(0x405)]['id'])return;const _0xa6fd5b=_0x1e074d[_0x2636a4(0x281)];if(_0x4a5921(_0xa6fd5b)){const _0x2b0639=_0xe02e1d[_0x2636a4(0x340)]();this[_0x2636a4(0x250)][_0x2636a4(0x349)](_0x2b0639),this['_startCalculationLimit'](_0x2b0639);}else{if(_0x5d9e31(_0xa6fd5b)&&this[_0x2636a4(0x250)][_0x2636a4(0x30b)]>0x0){const _0x3937e9=this[_0x2636a4(0x250)][_0x2636a4(0x43a)]();this[_0x2636a4(0x337)](_0x3937e9);}}}));}[_0x4ffb2f(0x35b)](){const _0x2e047b=_0x4ffb2f;super[_0x2e047b(0x35b)](),this[_0x2e047b(0x251)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x2e047b(0x1d1)]=0x0,this[_0x2e047b(0x361)]=0x0;}async[_0x4ffb2f(0x41f)](_0x51bfd5,_0x12bd37){const _0xfdcfca=_0x4ffb2f;for(let _0x1410e8=0x0;_0x1410e8<0x1e;_0x1410e8++)try{if(await this[_0xfdcfca(0x411)](),this['_checkCalculationAvailable']()){this[_0xfdcfca(0x35a)](_0x51bfd5,_0x12bd37),this[_0xfdcfca(0x2d6)][_0xfdcfca(0x1ba)]({'content':this[_0xfdcfca(0x172)]['t'](_0xfdcfca(0x3df)),'type':_0x51c415[_0xfdcfca(0x2a2)][_0xfdcfca(0x39a)]});return;}await new Promise(_0x57557e=>{this['_pollingInterval']=window['setTimeout'](_0x57557e,0x3e8);});}catch(_0x1e78cc){this[_0xfdcfca(0x310)][_0xfdcfca(0x22f)](_0x1e78cc);}this['_messageService']['show']({'content':this[_0xfdcfca(0x172)]['t'](_0xfdcfca(0x21d)),'type':_0x51c415[_0xfdcfca(0x2a2)][_0xfdcfca(0x32c)]});}[_0x4ffb2f(0x35a)](_0x2b5204,_0x17bb9e){const _0x2be3b0=_0x4ffb2f;try{this['_commandService']['executeCommand'](_0x2b5204['id'],_0x2b5204[_0x2be3b0(0x281)],_0x17bb9e);}catch(_0x46d760){this[_0x2be3b0(0x310)][_0x2be3b0(0x22f)](_0x46d760);}}['_setFormulaLimitStatus'](_0x2fbd7c,_0x36abfd){const _0x135db4=_0x4ffb2f;_0x36abfd<this[_0x135db4(0x361)]||(this['_lastResponseTimestamp']=_0x36abfd,this[_0x135db4(0x1d1)]=Number[_0x135db4(0x244)](_0x2fbd7c['maxFormulaLimit']),this['_currentUsage']=Number[_0x135db4(0x244)](_0x2fbd7c[_0x135db4(0x181)]));}async[_0x4ffb2f(0x431)](_0xfdc5a5){const _0xc09a0e=_0x4ffb2f;var _0x496136,_0x20e52c;const _0x5d5559=Date['now']();try{const _0x13ecd1=((_0x496136=this[_0xc09a0e(0x293)][_0xc09a0e(0x362)](_0x5114e9[_0xc09a0e(0x2f7)]))==null?void 0x0:_0x496136[_0xc09a0e(0x338)])||_0x1e82a1,_0x3e437a=(await this[_0xc09a0e(0x17f)][_0xc09a0e(0x413)](_0x13ecd1,{'body':JSON[_0xc09a0e(0x2b0)]({'taskId':_0xfdc5a5})}))[_0xc09a0e(0x2cc)];if(((_0x20e52c=_0x3e437a['error'])==null?void 0x0:_0x20e52c[_0xc09a0e(0x18c)])!==_0x19b061['OK'])return;this[_0xc09a0e(0x166)](_0x3e437a[_0xc09a0e(0x215)],_0x5d5559);}catch(_0x240e8c){this[_0xc09a0e(0x310)][_0xc09a0e(0x22f)](_0x240e8c);}}async[_0x4ffb2f(0x411)](_0x4d45f3){const _0x19b581=_0x4ffb2f;var _0x542e6d,_0x3f4827;const _0x17cdd3=Date[_0x19b581(0x205)]();try{const _0x672f12=((_0x542e6d=this[_0x19b581(0x293)][_0x19b581(0x362)](_0x5114e9[_0x19b581(0x2f7)]))==null?void 0x0:_0x542e6d[_0x19b581(0x419)])||_0x311374,_0x14085c=_0x4d45f3?_0x672f12+_0x19b581(0x191)+encodeURIComponent(_0x4d45f3):_0x672f12,_0x19e1f4=(await this[_0x19b581(0x17f)]['get'](_0x14085c))['body'];if(((_0x3f4827=_0x19e1f4[_0x19b581(0x22f)])==null?void 0x0:_0x3f4827[_0x19b581(0x18c)])!==_0x19b061['OK'])return;this[_0x19b581(0x166)](_0x19e1f4[_0x19b581(0x215)],_0x17cdd3);}catch(_0x307a9a){this[_0x19b581(0x310)][_0x19b581(0x22f)](_0x307a9a);}}async[_0x4ffb2f(0x337)](_0x4d96e5){const _0xb010fb=_0x4ffb2f;var _0x425f6a,_0x508a2f;const _0x2e5eeb=Date[_0xb010fb(0x205)]();try{const _0x2ee0aa=((_0x425f6a=this[_0xb010fb(0x293)][_0xb010fb(0x362)](_0x5114e9[_0xb010fb(0x2f7)]))==null?void 0x0:_0x425f6a[_0xb010fb(0x3e1)])||_0x5d42bd,_0x283dcd=(await this[_0xb010fb(0x17f)]['post'](_0x2ee0aa,{'body':JSON[_0xb010fb(0x2b0)]({'taskId':_0x4d96e5})}))[_0xb010fb(0x2cc)];if(((_0x508a2f=_0x283dcd[_0xb010fb(0x22f)])==null?void 0x0:_0x508a2f[_0xb010fb(0x18c)])!==_0x19b061['OK'])return;this[_0xb010fb(0x166)](_0x283dcd[_0xb010fb(0x215)],_0x2e5eeb);}catch(_0x3ecc2e){this[_0xb010fb(0x310)][_0xb010fb(0x22f)](_0x3ecc2e);}}[_0x4ffb2f(0x1ca)](){const _0x531881=_0x4ffb2f;return this[_0x531881(0x1d1)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x531881(0x21a)]>0x0;}[_0x4ffb2f(0x251)](){const _0xd35e52=_0x4ffb2f;this['_pollingInterval']&&(clearTimeout(this[_0xd35e52(0x387)]),this['_pollingInterval']=null);}[_0x4ffb2f(0x2b8)](){const _0x203b9d=_0x4ffb2f;this['_messageService']['show']({'content':this[_0x203b9d(0x172)]['t'](_0x203b9d(0x25e)),'type':_0x51c415['MessageType']['Loading']});}[_0x4ffb2f(0x27a)](_0x12a5ab){const _0x4e0c69=_0x4ffb2f;for(const _0x3f2e98 of _0x12a5ab){const {unitId:_0x35225b,sheetId:_0x21d30c,range:_0x459fb4}=_0x3f2e98,_0x1dbf97=this[_0x4e0c69(0x17c)][_0x4e0c69(0x1d2)](_0x35225b);if(!_0x1dbf97)continue;const _0x460288=_0x1dbf97[_0x4e0c69(0x1cb)](_0x21d30c);if(!_0x460288)continue;const _0x492322=_0x460288[_0x4e0c69(0x2cd)]();for(let _0x366843=_0x459fb4['startRow'];_0x366843<=_0x459fb4[_0x4e0c69(0x1f4)];_0x366843++)for(let _0xb4d568=_0x459fb4['startColumn'];_0xb4d568<=_0x459fb4[_0x4e0c69(0x3b4)];_0xb4d568++){const _0x4933a6=_0x492322['getValue'](_0x366843,_0xb4d568);if(_0x4933a6&&(_0xe02e1d[_0x4e0c69(0x2d1)](_0x4933a6['f'])||_0xe02e1d['isFormulaId'](_0x4933a6['si'])))return!0x0;}}return!0x1;}};_0x50276f=_0x23f5b8([_0x2cb83c(0x0,_0xe02e1d[_0x4ffb2f(0x23d)](_0x2783f5['IMessageService'])),_0x2cb83c(0x1,_0xe02e1d['ICommandService']),_0x2cb83c(0x2,_0xe02e1d[_0x4ffb2f(0x408)]),_0x2cb83c(0x3,_0xe02e1d[_0x4ffb2f(0x23d)](_0x42ea24[_0x4ffb2f(0x301)])),_0x2cb83c(0x4,_0xe02e1d[_0x4ffb2f(0x312)]),_0x2cb83c(0x5,_0xe02e1d[_0x4ffb2f(0x3d1)]),_0x2cb83c(0x6,_0xe02e1d['Inject'](_0xe02e1d['LocaleService']))],_0x50276f);var _0x2087f3=Object['getOwnPropertyDescriptor'],_0x18eaa2=(_0x39bc47,_0x47885c,_0x19ce7a,_0x2bcb92)=>{const _0x468590=_0x4ffb2f;for(var _0x32e1c1=_0x2bcb92>0x1?void 0x0:_0x2bcb92?_0x2087f3(_0x47885c,_0x19ce7a):_0x47885c,_0x5c407c=_0x39bc47[_0x468590(0x30b)]-0x1,_0x15aab4;_0x5c407c>=0x0;_0x5c407c--)(_0x15aab4=_0x39bc47[_0x5c407c])&&(_0x32e1c1=_0x15aab4(_0x32e1c1)||_0x32e1c1);return _0x32e1c1;},_0x5cd30b=(_0x343f7e,_0x29853b)=>(_0x101598,_0x519468)=>_0x29853b(_0x101598,_0x519468,_0x343f7e);let _0x1174c5=class extends _0xe02e1d[_0x4ffb2f(0x3ae)]{constructor(_0x69a1ce,_0x1d6ec6,_0x3169af){const _0x3e32a7=_0x4ffb2f;super(),_0x18680f(this,_0x3e32a7(0x2d7),new Map()),_0x18680f(this,_0x3e32a7(0x246),new Map()),_0x18680f(this,_0x3e32a7(0x280),!0x1),(this['_configService']=_0x69a1ce,this['_localStorageService']=_0x1d6ec6,this['_revisionService']=_0x3169af);}[_0x4ffb2f(0x31b)](){const _0xb59f37=_0x4ffb2f;this[_0xb59f37(0x280)]=!0x0;}[_0x4ffb2f(0x257)](){const _0x210ca4=_0x4ffb2f;this[_0x210ca4(0x280)]=!0x1;}get[_0x4ffb2f(0x3fe)](){const _0x316205=_0x4ffb2f;return this[_0x316205(0x246)];}[_0x4ffb2f(0x35b)](){const _0x3f0f04=_0x4ffb2f;this[_0x3f0f04(0x223)]()[_0x3f0f04(0x40a)](()=>super[_0x3f0f04(0x35b)]());}async[_0x4ffb2f(0x197)](_0x2de26a){const _0x2f39fb=_0x4ffb2f;return this['_disabled']?null:this[_0x2f39fb(0x2dc)][_0x2f39fb(0x32e)](_0x5114e9[_0x2f39fb(0x3c3)](_0x2de26a));}async[_0x4ffb2f(0x3b5)](_0x5730fa,_0x542f17){const _0x536f9f=_0x4ffb2f;return!!this[_0x536f9f(0x2dc)]['setItem'](_0x5730fa,_0x542f17);}[_0x4ffb2f(0x25b)](_0x4f0c50,_0x5e02aa,_0x210204,_0x5754e2){const _0x48a190=_0x4ffb2f,_0x161392=this[_0x48a190(0x3a2)][_0x48a190(0x23a)](_0x4f0c50);this['_cachedData'][_0x48a190(0x319)](_0x4f0c50,{'unitID':_0x4f0c50,'type':_0x5e02aa,'awaitingChangeset':_0x210204,'mutations':_0x5754e2,'rev':_0x161392}),this[_0x48a190(0x246)][_0x48a190(0x438)](_0x4f0c50)||this[_0x48a190(0x29e)](_0x4f0c50);}[_0x4ffb2f(0x29e)](_0x895e5d){const _0x1e226a=_0x4ffb2f,_0x1e1556=this['_getSaveTimeout']();_0x1e1556===0x0?this[_0x1e226a(0x38d)](_0x895e5d):this['_saveTaskMap'][_0x1e226a(0x319)](_0x895e5d,setTimeout(()=>this[_0x1e226a(0x38d)](_0x895e5d),_0x1e1556));}['_getSaveTimeout'](){const _0x19bf3d=_0x4ffb2f;var _0x4c980c;return(_0x4c980c=this[_0x19bf3d(0x293)][_0x19bf3d(0x362)](_0x5114e9[_0x19bf3d(0x2f8)]))!=null?_0x4c980c:_0x5114e9['LOCAL_CACHE_INTERVAL'];}[_0x4ffb2f(0x38d)](_0x4580a5){const _0x30e7b3=_0x4ffb2f,_0x5d5278=this[_0x30e7b3(0x246)]['get'](_0x4580a5);return _0x5d5278!==void 0x0&&window[_0x30e7b3(0x2ba)](_0x5d5278),this[_0x30e7b3(0x2dc)]['setItem'](_0x5114e9[_0x30e7b3(0x3c3)](_0x4580a5),this[_0x30e7b3(0x2d7)][_0x30e7b3(0x3f8)](_0x4580a5))[_0x30e7b3(0x40a)](()=>this['_saveTaskMap'][_0x30e7b3(0x1e5)](_0x4580a5));}async[_0x4ffb2f(0x223)](){const _0x17c8a9=_0x4ffb2f,_0x3703ac=[];this['_saveTaskMap']['forEach']((_0x3e36d2,_0x25db08)=>{const _0xdbcc77=_0x3fa7;window[_0xdbcc77(0x2ba)](_0x3e36d2),_0x3703ac['push'](this[_0xdbcc77(0x38d)](_0x25db08)[_0xdbcc77(0x40a)](()=>{const _0x525ca1=_0xdbcc77;this[_0x525ca1(0x246)][_0x525ca1(0x1e5)](_0x25db08);}));}),await Promise[_0x17c8a9(0x1bd)](_0x3703ac);}};_0x1174c5=_0x18eaa2([_0x5cd30b(0x0,_0xe02e1d[_0x4ffb2f(0x408)]),_0x5cd30b(0x1,_0xe02e1d[_0x4ffb2f(0x2ff)]),_0x5cd30b(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0x1d566b[_0x4ffb2f(0x41b)]))],_0x1174c5);class _0x3e3fc7 extends _0xe02e1d[_0x4ffb2f(0x183)]{constructor(){const _0x160ddd=_0x4ffb2f;super(),_0x18680f(this,'urlChange$'),this[_0x160ddd(0x3cf)]=_0x4f3599['fromEvent'](window,_0x160ddd(0x2ac))[_0x160ddd(0x1da)](_0x4f3599[_0x160ddd(0x2ab)](this[_0x160ddd(0x3ba)]),_0x4f3599[_0x160ddd(0x24b)](0x1),_0x4f3599[_0x160ddd(0x298)](void 0x0));}['setParam'](_0x22091b,_0x26a6fb,_0x234e40=!0x1){const _0xb8dc59=_0x4ffb2f,_0x4e2149=new URL(window[_0xb8dc59(0x22a)][_0xb8dc59(0x265)]);_0x4e2149[_0xb8dc59(0x1f1)][_0xb8dc59(0x319)](_0x22091b,_0x26a6fb),_0x234e40?window[_0xb8dc59(0x241)][_0xb8dc59(0x3d6)]('','',_0x4e2149['toString']()):window[_0xb8dc59(0x241)]['pushState']('','',_0x4e2149[_0xb8dc59(0x2d8)]());}[_0x4ffb2f(0x217)](_0x335084,_0x2ff80e=!0x1){const _0x58a227=_0x4ffb2f,_0x3187b1=new URL(window[_0x58a227(0x22a)][_0x58a227(0x265)]);_0x3187b1[_0x58a227(0x1f1)][_0x58a227(0x1e5)](_0x335084),_0x2ff80e?window[_0x58a227(0x241)]['replaceState']('','',_0x3187b1[_0x58a227(0x2d8)]()):window['history']['pushState']('','',_0x3187b1[_0x58a227(0x2d8)]());}[_0x4ffb2f(0x27f)](_0x4a6353){const _0x389af9=_0x4ffb2f;var _0x70a753;return(_0x70a753=new URL(window[_0x389af9(0x22a)]['href'])[_0x389af9(0x1f1)][_0x389af9(0x3f8)](_0x4a6353))!=null?_0x70a753:void 0x0;}}var _0x407f9a=Object[_0x4ffb2f(0x2a7)],_0x10d257=Object[_0x4ffb2f(0x1c4)],_0x38cc2d=(_0x11ef25,_0x4f4d75,_0x3ffcc4)=>_0x4f4d75 in _0x11ef25?_0x407f9a(_0x11ef25,_0x4f4d75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ffcc4}):_0x11ef25[_0x4f4d75]=_0x3ffcc4,_0x4e9a21=(_0x3fb6c3,_0x5ca5b0,_0xb6a876,_0x149430)=>{const _0x4c5646=_0x4ffb2f;for(var _0x101561=_0x149430>0x1?void 0x0:_0x149430?_0x10d257(_0x5ca5b0,_0xb6a876):_0x5ca5b0,_0x5c4949=_0x3fb6c3[_0x4c5646(0x30b)]-0x1,_0x21e872;_0x5c4949>=0x0;_0x5c4949--)(_0x21e872=_0x3fb6c3[_0x5c4949])&&(_0x101561=_0x21e872(_0x101561)||_0x101561);return _0x101561;},_0x5b5f5f=(_0x2d722a,_0x35f9dd)=>(_0x18bc74,_0x52e05f)=>_0x35f9dd(_0x18bc74,_0x52e05f,_0x2d722a),_0x53a4c2=(_0x331b47,_0x154906,_0x17771e)=>_0x38cc2d(_0x331b47,_0x154906+'',_0x17771e);const _0xd1afeb=_0x4ffb2f(0x365);_0x2d6df0['UniverCollaborationClientUIPlugin']=class extends _0xe02e1d['Plugin']{constructor(_0x471f8c=_0x33c86e,_0x1085d0,_0xdffa59,_0x23eed3){const _0x160788=_0x4ffb2f;super(),this[_0x160788(0x421)]=_0x471f8c,this['_renderManagerService']=_0x1085d0,this['_injector']=_0xdffa59,this[_0x160788(0x293)]=_0x23eed3;const {..._0x3a1374}=_0xe02e1d[_0x160788(0x228)]({},_0x33c86e,this['_config']);this['_configService'][_0x160788(0x348)](_0x39b674,_0x3a1374);}[_0x4ffb2f(0x2e0)](){const _0x4ce834=_0x4ffb2f;this[_0x4ce834(0x26e)](),this['_initDependencies']();}[_0x4ffb2f(0x3b6)](){this['_registerRenderDependencies']();}[_0x4ffb2f(0x26e)](){const _0x420524=_0x4ffb2f;var _0x12f4ad;const _0x2d053b=[[_0x55d160],[_0x50276f],[_0x51e7a2],[_0xfc4f8],[_0x119487],[_0x528574],[_0x4a67c0,{'useClass':_0x3e3fc7}],[_0x42ea24[_0x420524(0x2c7)],{'useClass':_0x42ea24[_0x420524(0x2d4)]}],[_0x5114e9[_0x420524(0x397)],{'useClass':_0x1174c5}],[_0x2d6df0['DesktopCollaborationStatusDisplayController']],[_0x2a1dc8],[_0x2461fb],[_0x55c126],[_0x536d27],[_0x2d6df0[_0x420524(0x43c)]]];_0xe02e1d[_0x420524(0x30f)](this['_injector'],_0xe02e1d[_0x420524(0x1ee)](_0x2d053b,(_0x12f4ad=this[_0x420524(0x421)])==null?void 0x0:_0x12f4ad[_0x420524(0x433)]));}[_0x4ffb2f(0x269)](){const _0x22192e=_0x4ffb2f;this['disposeWithMe'](this[_0x22192e(0x1d3)][_0x22192e(0x279)](_0xe02e1d[_0x22192e(0x395)][_0x22192e(0x37e)],[_0x4b7b5a])),this[_0x22192e(0x2c6)](this[_0x22192e(0x1d3)]['registerRenderModule'](_0xe02e1d[_0x22192e(0x395)]['UNIVER_SHEET'],[_0x44d14b]));}['_initDependencies'](){const _0x1fc401=_0x4ffb2f;_0xe02e1d['touchDependencies'](this['_injector'],[[_0x55c126],[_0x2d6df0[_0x1fc401(0x414)]],[_0x2a1dc8],[_0x2461fb],[_0x2d6df0[_0x1fc401(0x43c)]],[_0x50276f]]);}},_0x53a4c2(_0x2d6df0['UniverCollaborationClientUIPlugin'],_0x4ffb2f(0x26d),_0xd1afeb),_0x2d6df0['UniverCollaborationClientUIPlugin']=_0x4e9a21([_0xe02e1d['DependentOn'](_0x5114e9[_0x4ffb2f(0x33e)]),_0x5b5f5f(0x1,_0x82715c['IRenderManagerService']),_0x5b5f5f(0x2,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d[_0x4ffb2f(0x1c2)])),_0x5b5f5f(0x3,_0xe02e1d[_0x4ffb2f(0x408)])],_0x2d6df0['UniverCollaborationClientUIPlugin']);var _0x57c007=Object[_0x4ffb2f(0x1c4)],_0x889f9=(_0x373277,_0x56a8e3,_0x202008,_0x139b64)=>{for(var _0xf67fb8=_0x139b64>0x1?void 0x0:_0x139b64?_0x57c007(_0x56a8e3,_0x202008):_0x56a8e3,_0x6dcfaf=_0x373277['length']-0x1,_0x10909b;_0x6dcfaf>=0x0;_0x6dcfaf--)(_0x10909b=_0x373277[_0x6dcfaf])&&(_0xf67fb8=_0x10909b(_0xf67fb8)||_0xf67fb8);return _0xf67fb8;},_0x5b131d=(_0x1f209e,_0x26fc64)=>(_0x494ac9,_0xf1c9b1)=>_0x26fc64(_0x494ac9,_0xf1c9b1,_0x1f209e);_0x2d6df0[_0x4ffb2f(0x42e)]=class extends _0x5114e9[_0x4ffb2f(0x1ef)]{constructor(_0x5e8aa9,_0xc159,_0x469936,_0x4b36de,_0x4757f8){super(_0x5e8aa9,_0xc159,_0x469936,_0x4b36de,_0x4757f8);}async[_0x4ffb2f(0x2e7)](_0x10f2bb){const _0x4a784d=_0x4ffb2f,_0x43461b=await this[_0x4a784d(0x370)](),_0xc665b9=this['_createSocketURL'](_0x10f2bb,_0x43461b);return this[_0x4a784d(0x1be)](_0xc665b9);}[_0x4ffb2f(0x1af)](_0x5ec8c2,_0x7d30c3){const _0x5322f9=_0x4ffb2f,_0x5a8f90=typeof window>'u'?new URL(_0x5ec8c2):new URL(_0x5ec8c2,window[_0x5322f9(0x22a)][_0x5322f9(0x1d8)]);_0x5a8f90[_0x5322f9(0x1f1)][_0x5322f9(0x319)](_0x5322f9(0x1c0),_0x7d30c3);const _0x4c9b05=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5322f9(0x39e)]);return _0x4c9b05[_0x5322f9(0x3f8)](_0x5322f9(0x3aa))&&_0x5a8f90['searchParams'][_0x5322f9(0x319)](_0x5322f9(0x3aa),_0x4c9b05[_0x5322f9(0x3f8)]('runId')),_0x5a8f90[_0x5322f9(0x2d8)]();}async[_0x4ffb2f(0x370)](){const _0x1f6054=_0x4ffb2f;var _0x5bf7d7,_0x21fbd3,_0xa6138b;const _0xe27e71=this[_0x1f6054(0x293)]['getConfig'](_0x5114e9[_0x1f6054(0x2f7)]),_0x5eeca7=(_0x5bf7d7=_0xe27e71==null?void 0x0:_0xe27e71[_0x1f6054(0x3c4)])!=null?_0x5bf7d7:_0x5114e9[_0x1f6054(0x424)];return(_0xa6138b=(_0x21fbd3=(await this['_httpService'][_0x1f6054(0x3f8)](_0x5eeca7,{'headers':{'Content-Type':'application/json'}}))[_0x1f6054(0x2cc)])==null?void 0x0:_0x21fbd3[_0x1f6054(0x1dd)])!=null?_0xa6138b:'';}},_0x2d6df0[_0x4ffb2f(0x42e)]=_0x889f9([_0x5b131d(0x0,_0xe02e1d[_0x4ffb2f(0x23d)](_0xe02e1d['Injector'])),_0x5b131d(0x1,_0xe02e1d[_0x4ffb2f(0x23d)](_0x42ea24['HTTPService'])),_0x5b131d(0x2,_0xe02e1d[_0x4ffb2f(0x408)]),_0x5b131d(0x3,_0xe02e1d[_0x4ffb2f(0x3d1)]),_0x5b131d(0x4,_0x1d566b[_0x4ffb2f(0x231)])],_0x2d6df0[_0x4ffb2f(0x42e)]);var _0xc3a66a=Object[_0x4ffb2f(0x1c4)],_0x3cee3e=(_0x22fc46,_0x2be01d,_0x1420bd,_0x2227e9)=>{for(var _0x31d4b9=_0x2227e9>0x1?void 0x0:_0x2227e9?_0xc3a66a(_0x2be01d,_0x1420bd):_0x2be01d,_0x39fdff=_0x22fc46['length']-0x1,_0x1e833e;_0x39fdff>=0x0;_0x39fdff--)(_0x1e833e=_0x22fc46[_0x39fdff])&&(_0x31d4b9=_0x1e833e(_0x31d4b9)||_0x31d4b9);return _0x31d4b9;},_0x300c87=(_0x572b6e,_0x310dd1)=>(_0x54c923,_0x258142)=>_0x310dd1(_0x54c923,_0x258142,_0x572b6e);_0x2d6df0[_0x4ffb2f(0x226)]=class extends _0xe02e1d['Disposable']{constructor(_0x471773,_0x35ecfd,_0x472ace){const _0x580e5b=_0x4ffb2f;super(),this[_0x580e5b(0x3bd)]=_0x471773,this[_0x580e5b(0x17f)]=_0x35ecfd,this[_0x580e5b(0x293)]=_0x472ace;}async['runOnServer'](_0x5ad38c,_0x3f1eb2,_0x25fe52,..._0x3c8cc5){const _0x30bd36=_0x4ffb2f;var _0x5f051e,_0x466017,_0x157249,_0x32f1db;const _0x87fe95=this[_0x30bd36(0x3bd)][_0x30bd36(0x3e5)]();if(!_0x87fe95)throw new Error(_0x30bd36(0x399));const _0x554ff3=((_0x5f051e=this['_configService'][_0x30bd36(0x362)](_0x5114e9[_0x30bd36(0x282)]))!=null?_0x5f051e:_0x5114e9[_0x30bd36(0x260)])+'/'+_0x5ad38c+_0x30bd36(0x39d)+_0x3f1eb2,_0x45719e=new URL(window[_0x30bd36(0x22a)]['href']),_0x149f3d={'scriptId':_0x5ad38c,'runId':(_0x466017=_0x45719e[_0x30bd36(0x1f1)][_0x30bd36(0x3f8)]('runId'))!=null?_0x466017:'','function':_0x3f1eb2,'unitId':_0x87fe95[_0x30bd36(0x22d)](),'argsOfFunction':JSON[_0x30bd36(0x2b0)](_0x3c8cc5),'invokeId':(_0x157249=_0x25fe52[_0x30bd36(0x2f4)])!=null?_0x157249:'','executionId':(_0x32f1db=_0x25fe52[_0x30bd36(0x422)])!=null?_0x32f1db:''};try{const _0x2dac8f=await this[_0x30bd36(0x17f)][_0x30bd36(0x413)](_0x554ff3,{'body':_0x149f3d});return _0x2dac8f[_0x30bd36(0x2cc)][_0x30bd36(0x22f)]&&_0x2dac8f['body'][_0x30bd36(0x22f)]['code']!==_0x19b061['OK']?_0x30bd36(0x1df):_0x2dac8f[_0x30bd36(0x2cc)]['result'];}catch{return _0x30bd36(0x1df);}}},_0x2d6df0[_0x4ffb2f(0x226)]=_0x3cee3e([_0x300c87(0x0,_0xe02e1d[_0x4ffb2f(0x312)]),_0x300c87(0x1,_0xe02e1d[_0x4ffb2f(0x23d)](_0x42ea24[_0x4ffb2f(0x301)])),_0x300c87(0x2,_0xe02e1d[_0x4ffb2f(0x408)])],_0x2d6df0[_0x4ffb2f(0x226)]);const _0x11c547=0x7530,_0x44115d=_0x4ffb2f(0x1cc);class _0x1483eb extends _0xe02e1d[_0x4ffb2f(0x3ae)]{constructor(){const _0x40a64d=_0x4ffb2f;super(),_0x18680f(this,_0x40a64d(0x44d),_0xe02e1d[_0x40a64d(0x340)]()),_0x18680f(this,_0x40a64d(0x219),new Set()),_0x18680f(this,_0x40a64d(0x351),new Map()),_0x18680f(this,_0x40a64d(0x21b),null),_0x18680f(this,_0x40a64d(0x28a),new Map()),_0x18680f(this,'_unitStatus',new Map()),this['_init']();}[_0x4ffb2f(0x35b)](){const _0x52512e=_0x4ffb2f;super[_0x52512e(0x35b)](),this['_clearOtherTimers'][_0x52512e(0x3b3)]((_0x4e145f,_0x542d39)=>this[_0x52512e(0x345)](_0x542d39)),this[_0x52512e(0x21b)]&&window[_0x52512e(0x189)](this['_heartbeatTimer']);}[_0x4ffb2f(0x3a0)](_0x2911da){const _0x4fa440=_0x4ffb2f;return this[_0x4fa440(0x32d)](_0x2911da)[_0x4fa440(0x1da)](_0x4f3599[_0x4fa440(0x316)]());}[_0x4ffb2f(0x327)](_0x5bcc68){const _0x247edb=_0x4ffb2f;this[_0x247edb(0x219)][_0x247edb(0x274)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x247edb(0x322)](_0x5bcc68),this[_0x247edb(0x2ae)]({'type':0x0,'memberID':this[_0x247edb(0x44d)],'unitIDs':[_0x5bcc68],'isForwarded':!0x1});}[_0x4ffb2f(0x1b5)](_0x18988a){const _0x3e09f4=_0x4ffb2f;this['_selfUnitIDs'][_0x3e09f4(0x1e5)](_0x18988a),this[_0x3e09f4(0x219)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x3e09f4(0x189)](this[_0x3e09f4(0x21b)]);}[_0x4ffb2f(0x230)](){const _0x2681ca=_0x4ffb2f;this[_0x2681ca(0x2c6)](_0xe02e1d[_0x2681ca(0x3c2)](_0x4f3599[_0x2681ca(0x3f2)](window,_0x2681ca(0x325))[_0x2681ca(0x2ee)](_0x3417c7=>{const _0x3996a1=_0x2681ca;if(_0x3417c7[_0x3996a1(0x443)]!==_0x44115d||!_0x3417c7[_0x3996a1(0x3a8)])return;const _0x492bce=JSON[_0x3996a1(0x314)](_0x3417c7[_0x3996a1(0x3a8)]);this['_handleEvent'](_0x492bce);}))),window['addEventListener'](_0x2681ca(0x380),()=>this[_0x2681ca(0x2ae)]({'type':0x1,'memberID':this[_0x2681ca(0x44d)],'unitIDs':Array['from'](this[_0x2681ca(0x219)])}));}['_handleEvent'](_0x30f786){const _0x1682c6=_0x4ffb2f;switch(_0x30f786[_0x1682c6(0x2c3)]){case 0x0:this[_0x1682c6(0x333)](_0x30f786);break;case 0x1:this[_0x1682c6(0x1ac)](_0x30f786);break;case 0x2:this[_0x1682c6(0x270)](_0x30f786);break;}}['_handleJoinEvent'](_0x5c798f){const _0x54614c=_0x4ffb2f,{unitIDs:_0x3530ca,memberID:_0x569446,isForwarded:_0x51c5a1}=_0x5c798f;_0x3530ca[_0x54614c(0x3b3)](_0x477dd3=>{const _0x4a83a6=_0x54614c;if(!_0x51c5a1&&this['_unitOnClients'][_0x4a83a6(0x438)](_0x477dd3)&&this['_ensureSubject'](_0x477dd3)[_0x4a83a6(0x2a8)](_0x5114e9['UnitStatus'][_0x4a83a6(0x36a)]),!this['_unitOnClients'][_0x4a83a6(0x438)](_0x477dd3)||!this['_unitOnClients'][_0x4a83a6(0x3f8)](_0x477dd3)[_0x4a83a6(0x438)](_0x569446)){const _0x5d7989=this[_0x4a83a6(0x351)][_0x4a83a6(0x3f8)](_0x477dd3)||new Set();_0x5d7989[_0x4a83a6(0x322)](_0x569446),this[_0x4a83a6(0x351)][_0x4a83a6(0x319)](_0x477dd3,_0x5d7989),this[_0x4a83a6(0x2dd)](_0x569446);}}),_0x51c5a1||this['_send']({'type':0x0,'memberID':this[_0x54614c(0x44d)],'unitIDs':[...this[_0x54614c(0x219)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5b3e99){const _0x4cd271=_0x4ffb2f;this['_removeClearOtherTimer'](_0x5b3e99);const _0x3f4e9a=window['setTimeout'](()=>{const _0x4c525b=_0x3fa7;this['_unitOnClients'][_0x4c525b(0x3b3)](_0x18ee4a=>{const _0x3a55b4=_0x4c525b;_0x18ee4a[_0x3a55b4(0x1e5)](_0x5b3e99);});},_0x11c547*0x2);this[_0x4cd271(0x28a)][_0x4cd271(0x319)](_0x5b3e99,_0x3f4e9a);}[_0x4ffb2f(0x345)](_0x3dd4d9){const _0x5a8a43=_0x4ffb2f;if(this[_0x5a8a43(0x28a)][_0x5a8a43(0x438)](_0x3dd4d9)){const _0x4268b9=this[_0x5a8a43(0x28a)][_0x5a8a43(0x3f8)](_0x3dd4d9);_0x4268b9&&window[_0x5a8a43(0x2ba)](_0x4268b9),this[_0x5a8a43(0x28a)]['set'](_0x3dd4d9,null);}}[_0x4ffb2f(0x1ac)](_0x192035){const _0x1c85df=_0x4ffb2f,{memberID:_0x4bdcfb,unitIDs:_0x8d567a}=_0x192035;_0x8d567a[_0x1c85df(0x3b3)](_0x3a4cb5=>{const _0x25c908=_0x1c85df;var _0x1c0e94;const _0x440bf3=this[_0x25c908(0x351)]['get'](_0x3a4cb5);_0x440bf3&&(_0x440bf3['delete'](_0x4bdcfb),(_0x1c0e94=this['_ensureSubject'](_0x3a4cb5))==null||_0x1c0e94['next'](_0x440bf3['size']===0x0?_0x5114e9[_0x25c908(0x3ef)]['NO_OTHER_CLIENTS_EDITING']:_0x5114e9[_0x25c908(0x3ef)][_0x25c908(0x36a)]));}),this['_removeClearOtherTimer'](_0x4bdcfb);}[_0x4ffb2f(0x270)](_0x20edc7){const _0x5b7aac=_0x4ffb2f;this[_0x5b7aac(0x2dd)](_0x20edc7[_0x5b7aac(0x450)]);}[_0x4ffb2f(0x2ae)](_0x2a5671){localStorage['setItem'](_0x44115d,JSON['stringify'](_0x2a5671));}['_scheduleHeartbeat'](){const _0x2d3e3c=_0x4ffb2f;this[_0x2d3e3c(0x21b)]=window[_0x2d3e3c(0x278)](()=>{const _0x1e4c88=_0x2d3e3c;this[_0x1e4c88(0x2ae)]({'type':0x2,'memberID':this[_0x1e4c88(0x44d)]});},_0x11c547);}[_0x4ffb2f(0x32d)](_0x4ac7ba){const _0x25c8b8=_0x4ffb2f;return this[_0x25c8b8(0x256)][_0x25c8b8(0x438)](_0x4ac7ba)||this['_unitStatus'][_0x25c8b8(0x319)](_0x4ac7ba,new _0x4f3599[(_0x25c8b8(0x263))](_0x5114e9[_0x25c8b8(0x3ef)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x25c8b8(0x256)]['get'](_0x4ac7ba);}}_0x2d6df0[_0x4ffb2f(0x1ea)]=_0x4a67c0,_0x2d6df0['SheetCollabCursorShape']=_0x3bd7d5,_0x2d6df0[_0x4ffb2f(0x26a)]=_0x1483eb,_0x2d6df0[_0x4ffb2f(0x1e2)]=_0x3e3fc7,Object[_0x4ffb2f(0x2a7)](_0x2d6df0,Symbol[_0x4ffb2f(0x178)],{'value':_0x4ffb2f(0x302)});}));function _0x97af(){const _0x25f277=['eventID','RECT','_localStorageService','_scheduleClearOtherTimer','purple.300','assignAColorForMemberID','onStarting','ENSURE_SNAPSHOT_EXECUTION','YUUMI_SUBSCRIPTION_NOT_FOUND','WECHAT_HAS_BEEN_BOUND','UniverDocsUi','AWAITING_WITH_PENDING','UPDATE_CURSOR','createSocket','children','UniverDesign','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','cursorInfo$','apply','DocSelectionManagerService','subscribe','COLORS','REDEMPTION_USER_REDEEM_TIMES_EXCEED','unshift','handleDeleteRangeMoveUp','transformStateCache','invokeId','icon','trim','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LOCAL_CACHE_INTERVAL_KEY','Rectangle','mask','createIdentifier','_initCommandExecutedListener','react','combineLatest','ILocalStorageService','find','HTTPService','Module','skeleton','React','_setupBeforeClosingHandler','collabStatus.fetchMiss','_dataLoaderService','getDocRanges','_getMergeRange','_updateURLWithCurrentState','length','getColor','_scene','_render','registerDependencies','_logService','substring','IUniverInstanceService','fillStyle','parse','YUUMI_CONNECTOR_URL_NOT_FOUND','distinctUntilChanged','_entityInit$','onLocalMutation','set','USER_NOT_FOUND','disableLocalCache','USER_NOT_INVITED_CODE','getRangePointData','11238DrSoxd','/universer-api/license/formula/limit/done','transformMutation','_setupSubUnitSync','add','undoState','ENTITLE_NEED_BILLING_ADDRESS','storage','clipPath','editingUnit','getMember','useObservable','loadUnit','data','Error','_ensureSubject','getItem','yellow.400','SHEET_VIEWPORT_KEY','ENTITLE_REPORT_LIMIT_EXCEED','SetTextSelectionsOperation','_handleJoinEvent','getUndoRedoMutationParamsCache','getTypeOfUnitDisposed$','collabStatus.synced','_releaseCalculationLimit','startFormulaLimitUrl','getValue','ENTITLE_CHAT_LIMIT_EXCEED','_localCacheService','_session','onPointerLeave$','UniverCollaborationClientPlugin','_imageIoService','generateRandomId','unit','transformSelections','use','_docTransformSelectionsService','_removeClearOtherTimer','LOGIN_FAILED','...','setConfig','push','svg','getUnhiddenWorksheets','_eventUnsubscribe','round','#FFF','addObjects','extend','_unitOnClients','column','textRanges','xlink:href','subUnitId','filter','ERROR_AGAIN','getCurrent','flatMap','_applyCommand','dispose','roomMembers$','selections','onTransformChange$','stage','Shape','_lastResponseTimestamp','getConfig','_hideTimer','some','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UNRECOGNIZED','64QiHfFW','/universer-api/license/formula/limit/start','asObservable','OTHER_CLIENTS_EDITING','collaboration.single-unit.warning','INVITE_CODE_HAS_BEEN_UES','div','_docSyncEditingCollabCursorService','UniverIcon','_getSessionTicket','SetDocZoomRatioOperation','operators','DocStateChangeManagerService','tag','_initStatusComponent','UniverProCollaboration','_updateLocalCursor','ThemeService','string','range','function','send','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UNIVER_DOC','Optional','unload','labelPosition','whenReady','_drawAnchor','SNAPSHOT_INVALID_SNAPSHOT','http://www.w3.org/2000/svg','isTransformMutationsWithChangesetSuccess','_pollingInterval','LocaleService','APPLY_PERMISSION_DENIED','DOC_RANGE_TYPE','with','4356243DToNIz','_saveCache','3630571tSvZka','TEXT_RANGE_LAYER_INDEX','LICENSE_MAX_UNITS_EXCEEDED','react/jsx-runtime','UNDEFINED','_hover','univer-flex\x20univer-items-center','UniverInstanceType','jsx','ILocalCacheService','onPointerEnter$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Success','split','LICENSE_EXPORT_SIZE_EXCEEDED','/run/','search','SetSelectionsOperation','getUnitStatus$','onPointerMove$','_revisionService','transformMutationsWithChangeset','defs','addObject','YUUMI_UNABLE_LOAD_URL','_textBubble','newValue','setUndoRedoMutationParamsCache','runId','_getAnchorBounding','DocCollaborationEntity','_commandService','Disposable','transformRemoteChangeset','InsertRowCommandId','1em','getCollabEntity$','forEach','endColumn','saveOfflineData','onRendered','IMessageService','getColorFromTheme','handleInsertRangeMoveRight','dispose$','_colorIndex','getRelativeToViewportCoord','_instanceService','_updateSubUnitFromURLParams','jiqing.500','_hovered','FromArray','toDisposable','getLocalCacheKey','wsSessionTicketUrl','onCommandExecuted','values','ranges','LOGIN_TOKEN_PROCESSING_FAILED','_initStatusListener','_cursor','_anchor','collaboration.closeRoom','translate(.97)','JOIN_ROOM_FAILED','urlChange$','YUUMI_RATE_OVER_LIMIT','ILogService','activeSheet$','displayName','USER_IS_ANONYMOUS','prototype','replaceState','_initCommandInterceptor','PAYMENT_CHANNEL_NOT_SUPPORT','setParam','entries','_sheetSkeletonManagerService','getCollabCursors$','_colorAssignService','OnLineIcon','formula.calculation.started','TOO_MANY_REQUESTS','releaseFormulaLimitUrl','deserializeRangeWithSheet','_labelPosition','CollaborationEvent','getFocusedUnit','sheetID','_color','hide','UniverRpc','_docStateChangeManagerService','ONLINE','UniverDrawing','height','_transformPreviousActiveRange','UnitStatus','EMAIL_VERIFY_CODE_MISMATCH','addHandlerCallback','fromEvent','switchMap','UniverSheets','_drawRectRange','getTypeOfUnitAdded$','LICENSE_IMPORT_SIZE_EXCEEDED','get','registerComponent','@univerjs/rpc','RichTextEditingMutation','CollaborationUIEventId','APPLY_REVISION_CONFILICT','saveTaskMap','currentSkeleton$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','serializeRangeWithSheet','_backgroundColor','_transformUndoRedoStack','isActive','SetFormulaCalculationNotificationMutation','complete','@univerjs/ui','IConfigService','LICENSE_DISTRO_REJECTED','then','_collabCursorController','_docSkeletonManagerService','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','4776474YGAVGn','INotificationService','useRef','_getFormulaLimitStatus','@univerjs/docs-ui','post','DesktopCollaborationStatusDisplayController','_collaborationUIEventService','_cursors','session.will-retry','CHANGESET_REVISION_CONFILICT','getformulaLimitStatusUrl','_roomMembers$','RevisionService','@univerjs/engine-render','SessionStatus','_startDocCollabCursor','_checkAndWaitForCalculationPermission','PY_RUNTIME_SCRIPT_ERROR','_config','executionId','getVpScrollXYInfoByPosToVp','DEFAULT_WS_SESSION_TICKET_URL','collaboration-client.offline-data-not-saved','bottom','registerBeforeClose','_notificationService','CollaborationSessionService','attrs','Vector2','OTHER_CLIENT_EDITING','off-line-icon_clip0_910_343','BrowserCollaborationSocketService','ALREADY_EXISTS','APPLY_DUPLICATED','_startCalculationLimit','fillRule','override','defIds','univerjs-icon\x20univerjs-icon-','FormulaExecutedStateType','totalFormulasToCalculate','has','UniverEngineRender','shift','IRemoteInstanceService','CollaborationDataLoaderController','_entities','toRgbString','rxjs/operators','CanceledError','INTERNAL_ERROR','_urlService','key','UniverProCollaborationClientUi','isEditing','IUIPartsService','moveTo','handleMoveRange','DeleteRangeMoveLeftCommandId','_memberService','SNAPSHOT_HAS_BEEN_REMOVED','random','_id','EffectRefRangId','getSheetId','memberID','_setFormulaLimitStatus','_removeCollabCursors','includes','_transformService','_onCursorUpdate','Rect','_docTransformStateCacheService','unitID','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','evenodd','_collabSessionService','handleIRemoveRow','_localeService','from','SetFormulaCalculationStartMutation','DocSkeletonManagerService','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_HAS_BEEN_BOUND','toStringTag','mutations','_getScale','unsubscribe','_univerInstanceService','DataLoaderService','getAncestorScale','_httpService','253515ASSDbP','currentUsage','_toggleOnline','RxDisposable','_collaborationController','MoveRangeCommandId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','REDEMPTION_CODE_FULLY_REDEEMED','_injector','clearInterval','debug','UNIVER_SHEET','code','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','_docSkeleton','_initEvent','SOCKET_FAILED_RETRY','?taskId=','IBeforeCloseService','RegularPolygon','propertyIsEnumerable','getViewport','url(#$1','loadOfflineData','docStateChange$','syncEditingCollabCursor','COMPLETION_FINISHED','4902744FMqIlp','closePath','concat','RefRangeService','_handleHover','deepClone','ITransformService','PERMISSION_DENIED','name','entityInit$','handleIRemoveCol','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','row','setStateCache','runRefRangeMutations','INVITE_CODE_ALREADY_BOUND','call','_handleLeaveEvent','restore','isArray','_createSocketURL','none','forwardRef','useDependency','event$','_startSheetCollabCursor','disposeUnit','INVALID_ARGUMENT','lineTo','sheetId','cursorInfo','show','subscribeEvent','_shapes','all','_doCreateSocket','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','sessionTicket','UniverSheetsUi','Injector','session.collaboration-timeout','getOwnPropertyDescriptor','NodePositionConvertToRectRange','NodePositionConvertToCursor','REDEMPTION_INVALID_CODE','USERS_LEAVE','@univerjs/network','_checkCalculationAvailable','getSheetBySheetId','ACTIVE_UNIT_EVENT_CHANNEL','getUniverSheetInstance','_cursorInfo$','registerRefRange','START_CALCULATION','_maxFormulaLimit','getUnit','_renderManagerService','_docClipboardService','UniverCore','16gDSSgZ','redoState','origin','makeDirty','pipe','drawWith','getStateCache','ticket','subunit','Failed','url(#on-line-icon_clip0_910_349)','SheetsSelectionsService','WebURLService','arc','isTransformMutationFailure','delete','UNAUTHENTICATED','requireSession','handleInsertCol','transformByState','IURLService','top','_assignedColors','setAlpha','mergeOverrideWithDependencies','CollaborationSocketService','INVITE_CODE_REQUIRED','searchParams','_themeService','0\x200\x2017\x2016','endRow','sessionStatus$','EMAIL_HAS_BEEN_BOUND','jsxs','fromEventSubject','getRenderById','getCurrentUnitForType','PENDING','rgba(255,\x20255,\x20255,\x200.01)','source','_name','DeleteRangeMoveUpCommandId','currentTheme$','executeCommand','UniverProCollaborationClient','fill','DisposableCollection','now','findNodePositionByCharIndex','IImageIoService','useCallback','OFFLINE','unitId','selection','MOBILE_VERIFY_CODE_MISMATCH','@univerjs/sheets','MemberService','handleInsertRow','fillText','2497263QvopFW','resize','getMergeData','ColorKit','limitInfo','className','removeParam','CollaborationController','_selfUnitIDs','_currentUsage','_heartbeatTimer','blue.400','formula.calculation.unable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FETCH_MISS','YUUMI_URL_COL_OUT_OF_RANGE','_toggleOffline','SetWorksheetActivateCommand','exhaustSavingTask','Warning','startRow','RemoteUniscriptService','measureText','merge','replaceDocRanges','location','REDEMPTION_CODE_NOT_STARTED','APPLY_NON_SEQUENTIAL_REVISION','getUnitId','CommandType','error','_init','ISnapshotServerService','text','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_ASYNCIO_CANCELLED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','NOT_COLLAB','REDEMPTION_CODE_INACTIVE','REDEMPTION_CODE_HAS_BEEN_CREATED','rxjs','getCurrentRevOfUnit','_updateCollabCursors','getMemberID','Inject','save','APPLY_REJECT','DocIMEInputManagerService','history','_draw','dirtyRanges','parseInt','RemoveRowCommandId','_saveTaskMap','init','CollaborationUIEventService','hovered','InsertRangeMoveDownCommandId','shareReplay','getOwnPropertySymbols','HEADER_MENU','_uiPartsService','createElement','_taskIds','_clearPolling','green.600','red.300','stageInfo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_unitStatus','enableLocalCache','_status$','onMouseMove','SheetSkeletonManagerService','updateOfflineData','BuiltInUIPart','currentColor','formula.calculation.waiting','univer-mr-2\x20univer-flex\x20univer-text-xl','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','roomMembers','_range','BehaviorSubject','color','href','transform','AWAITING','on-line-icon_clip0_910_349','_registerRenderDependencies','WebBrowserSingleActiveUnitService','uni.network.url-service','YUUMI_NO_CUBOID_FOR_QUESTION','pluginName','_registerDependencies','_lastPointer','_handleHeartbeatEvent','TEXT','imageSourceType','width','size','ENTITLE_DUP_SUBSCRIPTION','[CollaborationDataLoaderController]','collabCursorState$','setInterval','registerRenderModule','_hasFormulaInDirtyRanges','NOT_FOUND','idSuffix','m2Prime','_drawTextRange','getParam','_disabled','params','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','replace','_collabCursorState$','_onCursorDelete','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','INVALID_INVITE_CODE','Unknown\x20user','0\x200\x2016\x2016','_clearOtherTimers','doc.mutation.rich-text-editing','permission.content','_docTransformIMECacheService','getOffsetConfig','getCoordByCell','_anchorDot','black','debounce','_configService','30PpNvor','CONFLICT','path','amd','mapTo','CONNECTOR_DATA_TOO_LARGE','connectInjector','_cursorShapes','@univerjs/engine-formula','assign','_scheduleSaving','_initEntityListener','_onRefRangeChange','colorChannel1','MessageType','_refreshCollabCursors','YUUMI_AI_RUN_FAILED','clsx','VIEW_MAIN','defineProperty','next','_online','_document','takeUntil','popstate','m1Prime','_send','reconnect','stringify','white','REDEMPTION_USER_NOT_ELIGIBLE','@univerjs-pro/collaboration-client','ICommandService','Tools','CollaborationStatus','getActiveRange','_showGuardMessage','handleDeleteRangeMoveLeft','clearTimeout','M0\x200H16V16H0z','Workbook','focused$','hasOwnProperty','collaboration-client-ui.config','CLOSE_ROOM','_context','AUTHORIZE_CODE_ILLEGAL','type','getActiveSheet','createInstance','disposeWithMe','ISocketService','transformIMECache','indexOf','setShapeProps','throttleTime','body','getCellMatrix','_refRangeService','getSkeleton','SYNCED','isFormulaString','map','min','WebSocketService','object','_messageService','_cachedData','toString','saveImage'];_0x97af=function(){return _0x25f277;};return _0x97af();}