@univerjs-pro/collaboration-client-ui 0.15.4 → 0.15.5

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 (57) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +17 -17
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x38fc(_0x24ac91,_0x4e1543){_0x24ac91=_0x24ac91-0x14b;const _0x1f06fa=_0x1f06();let _0x38fc79=_0x1f06fa[_0x24ac91];return _0x38fc79;}(function(_0x202602,_0x42cce8){const _0xd2f45a=_0x38fc,_0x5a5ec4=_0x202602();while(!![]){try{const _0x3e587e=-parseInt(_0xd2f45a(0x265))/0x1*(parseInt(_0xd2f45a(0x2bc))/0x2)+-parseInt(_0xd2f45a(0x278))/0x3+parseInt(_0xd2f45a(0x371))/0x4+parseInt(_0xd2f45a(0x220))/0x5*(-parseInt(_0xd2f45a(0x19b))/0x6)+parseInt(_0xd2f45a(0x3ce))/0x7*(-parseInt(_0xd2f45a(0x255))/0x8)+parseInt(_0xd2f45a(0x187))/0x9+parseInt(_0xd2f45a(0x20c))/0xa;if(_0x3e587e===_0x42cce8)break;else _0x5a5ec4['push'](_0x5a5ec4['shift']());}catch(_0x3b32a1){_0x5a5ec4['push'](_0x5a5ec4['shift']());}}}(_0x1f06,0x7aeb0),function(_0x7f0ac2,_0x86f2c){const _0x20b543=_0x38fc;typeof exports=='object'&&typeof module<'u'?_0x86f2c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define(['exports',_0x20b543(0x322),_0x20b543(0x22d),'@univerjs/core',_0x20b543(0x2ca),_0x20b543(0x3be),'@univerjs/design',_0x20b543(0x298),_0x20b543(0x3c9),_0x20b543(0x329),_0x20b543(0x342),_0x20b543(0x2cf),_0x20b543(0x28b),_0x20b543(0x3f8),'@univerjs-pro/collaboration',_0x20b543(0x30f),'@univerjs/engine-formula',_0x20b543(0x1c7),_0x20b543(0x1d2)],_0x86f2c):(_0x7f0ac2=typeof globalThis<'u'?globalThis:_0x7f0ac2||self,_0x86f2c(_0x7f0ac2['UniverProCollaborationClientUi']={},_0x7f0ac2[_0x20b543(0x3c5)],_0x7f0ac2['UniverProCollaborationClient'],_0x7f0ac2[_0x20b543(0x26b)],_0x7f0ac2[_0x20b543(0x400)],_0x7f0ac2[_0x20b543(0x3be)],_0x7f0ac2[_0x20b543(0x42d)],_0x7f0ac2[_0x20b543(0x3c5)],_0x7f0ac2[_0x20b543(0x23b)],_0x7f0ac2[_0x20b543(0x214)],_0x7f0ac2[_0x20b543(0x2a1)],_0x7f0ac2[_0x20b543(0x27a)],_0x7f0ac2['UniverDocsUi'],_0x7f0ac2[_0x20b543(0x1c4)],_0x7f0ac2[_0x20b543(0x2b6)],_0x7f0ac2[_0x20b543(0x251)],_0x7f0ac2[_0x20b543(0x3a9)],_0x7f0ac2[_0x20b543(0x3be)]['operators'],_0x7f0ac2[_0x20b543(0x3c6)]));}(this,function(_0x2ad16c,_0x37fe28,_0x1ebeaa,_0x49d737,_0x1c307e,_0x13a994,_0x573e9b,_0x2bd372,_0x18a673,_0x3e6b18,_0x3b0527,_0xcfaf25,_0x985634,_0x5c43ab,_0x3ba40b,_0x37e704,_0x1d2500,_0xd2ad0e,_0x1c16c1){'use strict';const _0x415dad=_0x38fc;var _0x2cb5f0=Object['defineProperty'],_0x3d38da=(_0x167abe,_0x9d7a1,_0xa6f5b6)=>_0x9d7a1 in _0x167abe?_0x2cb5f0(_0x167abe,_0x9d7a1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa6f5b6}):_0x167abe[_0x9d7a1]=_0xa6f5b6,_0x45e42d=(_0x190a1a,_0x4801ca,_0x21d50f)=>_0x3d38da(_0x190a1a,typeof _0x4801ca!=_0x415dad(0x244)?_0x4801ca+'':_0x4801ca,_0x21d50f);function _0x3ca071({ref:_0x1b92e8,..._0x30fa5d}){const _0x2bfcb8=_0x415dad,{icon:_0x390012,id:_0x49518a,className:_0x378676,extend:_0x2fd615,..._0x55b195}=_0x30fa5d,_0x3d1aaa=(_0x2bfcb8(0x1ea)+_0x49518a+'\x20'+(_0x378676||''))['trim'](),_0x21b27c=_0x2bd372[_0x2bfcb8(0x387)]('_'+_0x1f1b41());return _0x11c900(_0x390012,''+_0x49518a,{'defIds':_0x390012['defIds'],'idSuffix':_0x21b27c[_0x2bfcb8(0x175)]},{'ref':_0x1b92e8,'className':_0x3d1aaa,..._0x55b195},_0x2fd615);}function _0x11c900(_0x127b41,_0xeedac5,_0x4534f9,_0xe4c0cf,_0x4a5773){const _0x522728=_0x415dad;return _0x2bd372[_0x522728(0x301)](_0x127b41['tag'],{'key':_0xeedac5,..._0x5ed6fa(_0x127b41,_0x4534f9,_0x4a5773),..._0xe4c0cf},(_0x4641ca(_0x127b41,_0x4534f9)[_0x522728(0x259)]||[])['map']((_0x11930b,_0xbe2cff)=>_0x11c900(_0x11930b,_0xeedac5+'-'+_0x127b41['tag']+'-'+_0xbe2cff,_0x4534f9,void 0x0,_0x4a5773)));}function _0x5ed6fa(_0x107426,_0x2ccf10,_0x399863){const _0x3427ff=_0x415dad,_0x110294={..._0x107426[_0x3427ff(0x312)]};_0x399863!=null&&_0x399863[_0x3427ff(0x23e)]&&_0x110294['fill']==='colorChannel1'&&(_0x110294['fill']=_0x399863[_0x3427ff(0x23e)]),_0x107426[_0x3427ff(0x37a)]===_0x3427ff(0x325)&&_0x110294['id']&&(_0x110294['id']=_0x110294['id']+_0x2ccf10[_0x3427ff(0x3a6)]),Object[_0x3427ff(0x419)](_0x110294)[_0x3427ff(0x415)](([_0x147be7,_0x30abba])=>{const _0x31b83b=_0x3427ff;_0x147be7===_0x31b83b(0x325)&&typeof _0x30abba=='string'&&(_0x110294[_0x147be7]=_0x30abba[_0x31b83b(0x2ff)](/url\(#(.*)\)/,_0x31b83b(0x366)+_0x2ccf10[_0x31b83b(0x3a6)]+')'));});const {defIds:_0x9aa14a}=_0x2ccf10;return!_0x9aa14a||_0x9aa14a['length']===0x0||(_0x107426['tag']===_0x3427ff(0x29a)&&_0x110294['xlink:href']&&(_0x110294[_0x3427ff(0x2e9)]=_0x110294[_0x3427ff(0x2e9)]+_0x2ccf10[_0x3427ff(0x3a6)]),Object[_0x3427ff(0x419)](_0x110294)[_0x3427ff(0x415)](([_0x3be8f4,_0x37a31d])=>{const _0x1479e9=_0x3427ff;typeof _0x37a31d==_0x1479e9(0x3e2)&&(_0x110294[_0x3be8f4]=_0x37a31d['replace'](/url\(#(.*)\)/,_0x1479e9(0x366)+_0x2ccf10[_0x1479e9(0x3a6)]+')'));})),_0x110294;}function _0x4641ca(_0x1e44c6,_0x475681){const _0x326091=_0x415dad;var _0x2e81cd;const {defIds:_0x1edbe8}=_0x475681;return!_0x1edbe8||_0x1edbe8['length']===0x0?_0x1e44c6:_0x1e44c6[_0x326091(0x37a)]===_0x326091(0x2b8)&&((_0x2e81cd=_0x1e44c6[_0x326091(0x259)])!=null&&_0x2e81cd['length'])?{..._0x1e44c6,'children':_0x1e44c6[_0x326091(0x259)]['map'](_0x29df5e=>typeof _0x29df5e[_0x326091(0x312)]['id']==_0x326091(0x3e2)&&_0x1edbe8&&_0x1edbe8['includes'](_0x29df5e['attrs']['id'])?{..._0x29df5e,'attrs':{..._0x29df5e[_0x326091(0x312)],'id':_0x29df5e[_0x326091(0x312)]['id']+_0x475681['idSuffix']}}:_0x29df5e)}:_0x1e44c6;}function _0x1f1b41(){const _0x3a0093=_0x415dad;return Math[_0x3a0093(0x273)]()[_0x3a0093(0x37c)](0x24)[_0x3a0093(0x26e)](0x2,0x8);}_0x3ca071['displayName']=_0x415dad(0x247);const _0x10daec={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x415dad(0x277),'viewBox':'0\x200\x2016\x2016','width':_0x415dad(0x26d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x415dad(0x2fb)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x415dad(0x16f),'strokeWidth':1.2}}]},{'tag':_0x415dad(0x2b8),'attrs':{},'children':[{'tag':_0x415dad(0x268),'attrs':{'id':_0x415dad(0x28e)},'children':[{'tag':_0x415dad(0x1ce),'attrs':{'fill':_0x415dad(0x403),'d':_0x415dad(0x35e)}}]}]}],'defIds':[_0x415dad(0x28e)]},_0x1ac94d=_0x2bd372[_0x415dad(0x24d)](function(_0x218223,_0x7e28e0){const _0x3d4ac5=_0x415dad;return _0x2bd372['createElement'](_0x3ca071,Object[_0x3d4ac5(0x381)]({},_0x218223,{'id':_0x3d4ac5(0x324),'ref':_0x7e28e0,'icon':_0x10daec}));});_0x1ac94d[_0x415dad(0x1c9)]=_0x415dad(0x40d);const _0x42b57a={'tag':_0x415dad(0x372),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x415dad(0x277),'viewBox':_0x415dad(0x1ab),'width':'1em','height':_0x415dad(0x26d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x415dad(0x42b),'d':_0x415dad(0x375),'strokeLinecap':'round','strokeLinejoin':_0x415dad(0x16f),'strokeWidth':1.2}}]},{'tag':_0x415dad(0x2b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x415dad(0x28f)},'children':[{'tag':_0x415dad(0x1ce),'attrs':{'fill':_0x415dad(0x403),'d':_0x415dad(0x35e),'transform':_0x415dad(0x226)}}]}]}],'defIds':[_0x415dad(0x28f)]},_0x38e7f8=_0x2bd372[_0x415dad(0x24d)](function(_0x10663e,_0x250789){const _0x1140d1=_0x415dad;return _0x2bd372[_0x1140d1(0x301)](_0x3ca071,Object[_0x1140d1(0x381)]({},_0x10663e,{'id':'on-line-icon','ref':_0x250789,'icon':_0x42b57a}));});_0x38e7f8['displayName']=_0x415dad(0x242);function _0x458117(_0x13b2c8){const _0x101329=_0x415dad;switch(_0x13b2c8){case _0x1ebeaa['CollaborationStatus'][_0x101329(0x264)]:return _0x101329(0x3a3);case _0x1ebeaa['CollaborationStatus'][_0x101329(0x1a7)]:return _0x101329(0x1fc);case _0x1ebeaa[_0x101329(0x3f7)][_0x101329(0x1f0)]:return _0x101329(0x2d0);case _0x1ebeaa[_0x101329(0x3f7)]['NOT_COLLAB']:return _0x101329(0x1f5);case _0x1ebeaa[_0x101329(0x3f7)][_0x101329(0x1f8)]:case _0x1ebeaa[_0x101329(0x3f7)]['AWAITING_WITH_PENDING']:return _0x101329(0x3d3);case _0x1ebeaa[_0x101329(0x3f7)][_0x101329(0x308)]:case _0x1ebeaa['CollaborationStatus'][_0x101329(0x1c6)]:return _0x101329(0x33d);}}function _0x14dae0(_0x4c0134){const _0x21d0c1=_0x415dad,{status$:_0x371927}=_0x4c0134,_0x169e94=_0x1c307e[_0x21d0c1(0x25c)](_0x371927,_0x1ebeaa['CollaborationStatus'][_0x21d0c1(0x33c)]),_0x51c496=_0x1c307e['useDependency'](_0x49d737[_0x21d0c1(0x177)]),_0x12bae7=_0x1c307e[_0x21d0c1(0x402)](_0x1ebeaa[_0x21d0c1(0x178)]),_0x590e86=_0x169e94!==_0x1ebeaa[_0x21d0c1(0x3f7)][_0x21d0c1(0x264)],_0x2d46fb=_0x51c496['t'](_0x458117(_0x169e94)),_0x1221b3=_0x590e86?_0x37fe28[_0x21d0c1(0x39a)](_0x38e7f8,{}):_0x37fe28[_0x21d0c1(0x39a)](_0x1ac94d,{}),_0x4dbefa=_0x2bd372['useCallback'](()=>{_0x590e86||_0x12bae7['reconnect']();},[_0x590e86,_0x12bae7]);function _0x50b40c(){const _0x90ac3=_0x21d0c1;return _0x37fe28['jsxs'](_0x90ac3(0x1ac),{'className':_0x90ac3(0x391),'onClick':_0x4dbefa,'children':[_0x37fe28['jsx']('div',{'className':_0x573e9b[_0x90ac3(0x2fc)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x590e86,'univer-text-red-500':!_0x590e86}),'children':_0x1221b3}),_0x37fe28[_0x90ac3(0x39a)](_0x90ac3(0x1ac),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2d46fb})]});}return _0x590e86?_0x50b40c():_0x37fe28[_0x21d0c1(0x39a)](_0x573e9b[_0x21d0c1(0x32f)],{'title':_0x51c496['t'](_0x21d0c1(0x1a8)),'children':_0x50b40c()});}var _0x2d45e9=Object[_0x415dad(0x417)],_0x1fa636=(_0x420389,_0x56e910,_0x31bb8c,_0x378942)=>{const _0x482789=_0x415dad;for(var _0x5ea781=_0x378942>0x1?void 0x0:_0x378942?_0x2d45e9(_0x56e910,_0x31bb8c):_0x56e910,_0x31a648=_0x420389[_0x482789(0x3af)]-0x1,_0x45e063;_0x31a648>=0x0;_0x31a648--)(_0x45e063=_0x420389[_0x31a648])&&(_0x5ea781=_0x45e063(_0x5ea781)||_0x5ea781);return _0x5ea781;},_0x50197f=(_0x1452db,_0x72fda6)=>(_0x585886,_0x407cac)=>_0x72fda6(_0x585886,_0x407cac,_0x1452db);_0x2ad16c[_0x415dad(0x16e)]=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x1348de,_0x451832,_0x519d8b,_0x1831f4){const _0x257927=_0x415dad;super(),_0x45e42d(this,_0x257927(0x1fb),new _0x13a994[(_0x257927(0x209))](_0x1ebeaa[_0x257927(0x3f7)][_0x257927(0x33c)])),(this[_0x257927(0x365)]=_0x1348de,this[_0x257927(0x388)]=_0x451832,this[_0x257927(0x294)]=_0x519d8b,this['_uiPartsService']=_0x1831f4,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x415dad(0x182)](){const _0x1fbe85=_0x415dad;this[_0x1fbe85(0x25d)](this[_0x1fbe85(0x365)][_0x1fbe85(0x3f0)][_0x1fbe85(0x37e)](_0x13a994[_0x1fbe85(0x170)](()=>{const _0x415f66=_0x1fbe85,_0x1120c1=this['_univerInstanceService'][_0x415f66(0x285)]();return _0x1120c1?this['_collaborationController'][_0x415f66(0x286)](_0x1120c1[_0x415f66(0x3c2)]()):_0x13a994['of'](null);}),_0x13a994['switchMap'](_0x9b2f4f=>_0x9b2f4f?_0x9b2f4f['status$']:_0x13a994['of'](_0x1ebeaa[_0x1fbe85(0x3f7)][_0x1fbe85(0x33c)])))[_0x1fbe85(0x360)](_0x46a802=>{const _0x346271=_0x1fbe85;this[_0x346271(0x1fb)]['next'](_0x46a802);}));}[_0x415dad(0x3fa)](){const _0x520fb4=_0x415dad;this[_0x520fb4(0x25d)](this[_0x520fb4(0x421)]['registerComponent'](_0x1c307e[_0x520fb4(0x2d9)][_0x520fb4(0x3df)],()=>_0x1c307e[_0x520fb4(0x29d)](_0x5bc6aa({'status$':this[_0x520fb4(0x1fb)][_0x520fb4(0x3e9)]()}),this['_injector'])));}},_0x2ad16c['DesktopCollaborationStatusDisplayController']=_0x1fa636([_0x50197f(0x0,_0x49d737[_0x415dad(0x3e4)]),_0x50197f(0x1,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x50197f(0x2,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x1c0)])),_0x50197f(0x3,_0x1c307e['IUIPartsService'])],_0x2ad16c[_0x415dad(0x16e)]);function _0x5bc6aa(_0x5c1475){const {status$:_0x1c3212}=_0x5c1475;return function(){const _0x1214a3=_0x38fc;return _0x37fe28[_0x1214a3(0x39a)](_0x14dae0,{'status$':_0x1c3212});};}const _0x37350b=_0x49d737[_0x415dad(0x418)](_0x415dad(0x39d));var _0x1c8515=Object[_0x415dad(0x417)],_0x2d2694=(_0x124526,_0x2c0cb5,_0x1f2c32,_0x21b0bc)=>{const _0x18e7f4=_0x415dad;for(var _0x43c5d7=_0x21b0bc>0x1?void 0x0:_0x21b0bc?_0x1c8515(_0x2c0cb5,_0x1f2c32):_0x2c0cb5,_0x2a0aa8=_0x124526[_0x18e7f4(0x3af)]-0x1,_0x2b3051;_0x2a0aa8>=0x0;_0x2a0aa8--)(_0x2b3051=_0x124526[_0x2a0aa8])&&(_0x43c5d7=_0x2b3051(_0x43c5d7)||_0x43c5d7);return _0x43c5d7;},_0x865037=(_0x46dd67,_0x32cabf)=>(_0x4dfacd,_0x437310)=>_0x32cabf(_0x4dfacd,_0x437310,_0x46dd67);_0x2ad16c[_0x415dad(0x326)]=class extends _0x49d737['RxDisposable']{constructor(_0xa33810,_0x19e04c,_0x28eabd,_0x468009,_0x352035){const _0x470e25=_0x415dad;super(),this['_urlService']=_0xa33810,this[_0x470e25(0x2a0)]=_0x19e04c,this[_0x470e25(0x383)]=_0x28eabd,this['_dataLoaderService']=_0x468009,_0x352035?_0x352035==null||_0x352035[_0x470e25(0x1ae)]()['then'](()=>this[_0x470e25(0x27e)]()):(this[_0x470e25(0x2a0)][_0x470e25(0x14f)](_0x470e25(0x1aa),_0x470e25(0x1b5)),this[_0x470e25(0x27e)]());}async[_0x415dad(0x27e)](){const _0x13adec=_0x415dad,_0x1e9269=this[_0x13adec(0x3db)][_0x13adec(0x1cb)](_0x13adec(0x168)),_0x59ac78=this[_0x13adec(0x3db)]['getParam'](_0x13adec(0x3b2)),_0x1bb741=this[_0x13adec(0x3db)][_0x13adec(0x1cb)]('subunit');if(!_0x1e9269||!_0x59ac78){this['_logService'][_0x13adec(0x14f)](_0x13adec(0x1aa),_0x13adec(0x30c));return;}const _0x4ecf3e=await this[_0x13adec(0x39b)]['loadUnit'](_0x1e9269,Number(_0x59ac78),_0x1bb741);_0x4ecf3e&&_0x4ecf3e instanceof _0x49d737[_0x13adec(0x272)]&&this[_0x13adec(0x28a)](_0x4ecf3e);}async[_0x415dad(0x28a)](_0x1909a4){const _0x4bb223=_0x415dad;await this[_0x4bb223(0x16b)](_0x1909a4),_0x1909a4[_0x4bb223(0x3f5)]['pipe'](_0x13a994[_0x4bb223(0x2c6)](this[_0x4bb223(0x1b1)]))[_0x4bb223(0x360)](_0x4dad2d=>{_0x4dad2d&&this['_updateURLWithCurrentState'](_0x4dad2d);}),this['_urlService']['urlChange$'][_0x4bb223(0x37e)](_0x13a994[_0x4bb223(0x2c6)](this[_0x4bb223(0x1b1)]))[_0x4bb223(0x360)](()=>this['_updateSubUnitFromURLParams'](_0x1909a4));}[_0x415dad(0x290)](_0x44cab4,_0x193c9f=!0x1){const _0xa7626c=_0x415dad,_0x4a218a=this[_0xa7626c(0x3db)]['getParam'](_0xa7626c(0x36d));_0x44cab4[_0xa7626c(0x3bf)]()!==_0x4a218a&&this[_0xa7626c(0x3db)]['setParam'](_0xa7626c(0x36d),_0x44cab4[_0xa7626c(0x3bf)](),_0x193c9f);}async[_0x415dad(0x16b)](_0x3d2d52){const _0x9a4eb4=_0x415dad;var _0x48cedd;const _0x73ed49=this[_0x9a4eb4(0x3db)][_0x9a4eb4(0x1cb)](_0x9a4eb4(0x36d));if(!_0x73ed49||!_0x3d2d52[_0x9a4eb4(0x2dd)](_0x73ed49)){const _0x639fd9=_0x3d2d52['getUnhiddenWorksheets']()[0x0],_0x473d11=_0x3d2d52[_0x9a4eb4(0x2dd)](_0x639fd9);if(!_0x473d11)return;this[_0x9a4eb4(0x290)](_0x473d11,!0x0),await this[_0x9a4eb4(0x383)][_0x9a4eb4(0x27d)](_0x3e6b18[_0x9a4eb4(0x2a7)]['id'],{'unitId':_0x3d2d52[_0x9a4eb4(0x3c2)](),'subUnitId':_0x639fd9});return;}((_0x48cedd=_0x3d2d52[_0x9a4eb4(0x194)]())==null?void 0x0:_0x48cedd[_0x9a4eb4(0x3bf)]())!==_0x73ed49&&await this['_commandService'][_0x9a4eb4(0x27d)](_0x3e6b18[_0x9a4eb4(0x2a7)]['id'],{'unitId':_0x3d2d52[_0x9a4eb4(0x3c2)](),'subUnitId':_0x73ed49});}},_0x2ad16c['CollaborationDataLoaderController']=_0x2d2694([_0x865037(0x0,_0x37350b),_0x865037(0x1,_0x49d737[_0x415dad(0x3a5)]),_0x865037(0x2,_0x49d737[_0x415dad(0x16c)]),_0x865037(0x3,_0x49d737['Inject'](_0x1ebeaa[_0x415dad(0x2b4)])),_0x865037(0x4,_0x49d737[_0x415dad(0x2cb)](_0x18a673[_0x415dad(0x384)]))],_0x2ad16c[_0x415dad(0x326)]);var _0x56fc15=Object[_0x415dad(0x417)],_0x4a33f2=(_0x39a95d,_0x4a8757,_0x31c24f,_0x3b1e99)=>{const _0x267590=_0x415dad;for(var _0x4d2e44=_0x3b1e99>0x1?void 0x0:_0x3b1e99?_0x56fc15(_0x4a8757,_0x31c24f):_0x4a8757,_0x4cbffa=_0x39a95d[_0x267590(0x3af)]-0x1,_0xb28654;_0x4cbffa>=0x0;_0x4cbffa--)(_0xb28654=_0x39a95d[_0x4cbffa])&&(_0x4d2e44=_0xb28654(_0x4d2e44)||_0x4d2e44);return _0x4d2e44;},_0x2d95c3=(_0xabab11,_0x1c7f14)=>(_0x527031,_0x2dffc1)=>_0x1c7f14(_0x527031,_0x2dffc1,_0xabab11);let _0x232dcb=class extends _0x49d737['RxDisposable']{constructor(_0x3f145f,_0x1b1feb){const _0x1644ef=_0x415dad;super(),this[_0x1644ef(0x173)]=_0x3f145f,this[_0x1644ef(0x1c8)]=_0x1b1feb,this['_init']();}[_0x415dad(0x27e)](){const _0x14af45=_0x415dad,_0x5a371b=this;this[_0x14af45(0x25d)](this[_0x14af45(0x173)][_0x14af45(0x393)]({'onBeforePasteImage':async _0x5a4fc0=>{const _0x7c5263=_0x14af45,_0x4a4bd8=await _0x5a371b[_0x7c5263(0x1c8)][_0x7c5263(0x3b9)](_0x5a4fc0);return _0x4a4bd8?{'source':_0x4a4bd8[_0x7c5263(0x3ca)],'imageSourceType':_0x4a4bd8[_0x7c5263(0x241)]}:null;}}));}};_0x232dcb=_0x4a33f2([_0x2d95c3(0x0,_0x985634['IDocClipboardService']),_0x2d95c3(0x1,_0x5c43ab[_0x415dad(0x2e8)])],_0x232dcb);const _0x2e3043=[_0x415dad(0x229),'jiqing.500',_0x415dad(0x1e0),'red.300',_0x415dad(0x395),_0x415dad(0x1f3)];class _0x9c3829 extends _0x49d737[_0x415dad(0x1bc)]{constructor(){const _0x4b7b80=_0x415dad;super(...arguments),_0x45e42d(this,_0x4b7b80(0x1bd),new Map()),_0x45e42d(this,_0x4b7b80(0x304),0x0);}['assignAColorForMemberID'](_0x572e0f){const _0x258ea6=_0x415dad;if(this[_0x258ea6(0x1bd)][_0x258ea6(0x2c3)](_0x572e0f))return this[_0x258ea6(0x1bd)][_0x258ea6(0x356)](_0x572e0f);const _0x344d8d=_0x2e3043[this['_colorIndex']];return this['_colorIndex']=(this[_0x258ea6(0x304)]+0x1)%_0x2e3043['length'],this[_0x258ea6(0x1bd)][_0x258ea6(0x18b)](_0x572e0f,_0x344d8d),_0x344d8d;}}function _0x1dd9ad(_0xe0e9f1){const _0x564881=_0x415dad;let _0xd15992='';for(const _0x15594d of _0xe0e9f1){const {startOffset:_0x113c1c,endOffset:_0x14840b,isActive:_0x5767f1,rangeType:_0x1901d7,segmentId:_0x4c073f,segmentPage:_0x5ae56b}=_0x15594d;_0xd15992[_0x564881(0x3af)]&&(_0xd15992+=','),_0xd15992+=_0x113c1c+':'+_0x14840b+':'+(_0x5767f1?'1':'0')+':'+_0x1901d7+':'+_0x4c073f+':'+_0x5ae56b;}return _0xd15992;}function _0x4ff80d(_0x4c4433){const _0x3a1e9c=_0x415dad,_0x4df83a=_0x4c4433['split'](','),_0x2ba215=[];for(const _0x56122d of _0x4df83a){const [_0x1d3ac6,_0x3103c7,_0x515b36,_0x30ab96,_0xceded2,_0xde15d3]=_0x56122d['split'](':');_0x2ba215[_0x3a1e9c(0x2c1)]({'startOffset':Number(_0x1d3ac6),'endOffset':Number(_0x3103c7),'collapsed':_0x1d3ac6===_0x3103c7,'isActive':_0x515b36==='1','rangeType':_0x30ab96===_0x49d737[_0x3a1e9c(0x401)][_0x3a1e9c(0x269)]?_0x49d737['DOC_RANGE_TYPE'][_0x3a1e9c(0x269)]:_0x49d737['DOC_RANGE_TYPE'][_0x3a1e9c(0x2db)],'segmentId':typeof _0xceded2==_0x3a1e9c(0x3e2)?String(_0xceded2):'','segmentPage':Number(_0xde15d3!=null?_0xde15d3:-0x1)});}return _0x2ba215[_0x3a1e9c(0x217)](_0x36a516=>_0x36a516[_0x3a1e9c(0x279)])||(_0x2ba215[0x0][_0x3a1e9c(0x279)]=!0x0),_0x2ba215;}class _0x159f52 extends _0x49d737[_0x415dad(0x352)]{constructor(){const _0x2a3f54=_0x415dad;super(...arguments),_0x45e42d(this,_0x2a3f54(0x1f9),new _0x13a994[(_0x2a3f54(0x209))](null)),_0x45e42d(this,_0x2a3f54(0x15b),this[_0x2a3f54(0x1f9)]['asObservable']());}[_0x415dad(0x311)](_0xa99544){const _0x6a4f8f=_0x415dad,{unitID:_0x58b2f7,memberID:_0x35ad0f,textRanges:_0x2faa0f}=_0xa99544,_0xcb78f4=_0x1dd9ad(_0x2faa0f);if(_0xcb78f4==='')return;const _0x34fd28={'unitID':_0x58b2f7,'memberID':_0x35ad0f,'selection':_0xcb78f4};this[_0x6a4f8f(0x1f9)]['next'](_0x34fd28);}}var _0x4ea2b5=Object[_0x415dad(0x417)],_0x5d6e7a=(_0x17b7cb,_0x3d9c18,_0x528b4f,_0x5826c1)=>{const _0x35b1d9=_0x415dad;for(var _0x178ee7=_0x5826c1>0x1?void 0x0:_0x5826c1?_0x4ea2b5(_0x3d9c18,_0x528b4f):_0x3d9c18,_0x16b808=_0x17b7cb[_0x35b1d9(0x3af)]-0x1,_0x595b8b;_0x16b808>=0x0;_0x16b808--)(_0x595b8b=_0x17b7cb[_0x16b808])&&(_0x178ee7=_0x595b8b(_0x178ee7)||_0x178ee7);return _0x178ee7;},_0xd696ea=(_0x32ff7a,_0x56333a)=>(_0x2b2ef5,_0xadd70d)=>_0x56333a(_0x2b2ef5,_0xadd70d,_0x32ff7a);const _0x170429=0x12c,_0x174e4f=0x64;let _0x16df5e=class extends _0x49d737['RxDisposable']{constructor(_0x525832,_0x1f7607,_0x5cc4c0,_0x2cc094,_0x505f53,_0x260fdd,_0x1af9c6,_0x1c3f59,_0x39c5c2){const _0x707c02=_0x415dad;super(),_0x45e42d(this,_0x707c02(0x32c),!0x1),_0x45e42d(this,_0x707c02(0x27e),!0x1),_0x45e42d(this,_0x707c02(0x3d7),new _0x13a994[(_0x707c02(0x209))](new Map())),_0x45e42d(this,_0x707c02(0x394),this[_0x707c02(0x3d7)][_0x707c02(0x3e9)]()),_0x45e42d(this,_0x707c02(0x42c),new _0x13a994[(_0x707c02(0x209))]([])),_0x45e42d(this,'roomMembers$',this['_roomMembers$'][_0x707c02(0x37e)](_0x13a994[_0x707c02(0x1a3)](_0x170429))),_0x45e42d(this,_0x707c02(0x1de),_0x49d737[_0x707c02(0x3b8)](_0x468af5=>{const _0x3ae965=_0x707c02,_0x24351f={'eventID':_0x3ba40b[_0x3ae965(0x29e)][_0x3ae965(0x3fd)],'data':{'unitID':this[_0x3ae965(0x1d5)],'memberID':this['_session'][_0x3ae965(0x41f)](),'selection':_0x1dd9ad(_0x468af5)}};this[_0x3ae965(0x2a4)][_0x3ae965(0x3ed)](_0x24351f,this[_0x3ae965(0x1d5)]);},_0x174e4f)),(this[_0x707c02(0x1d5)]=_0x525832,this[_0x707c02(0x2a4)]=_0x1f7607,this[_0x707c02(0x388)]=_0x5cc4c0,this['_colorAssignService']=_0x2cc094,this[_0x707c02(0x2dc)]=_0x505f53,this[_0x707c02(0x1cf)]=_0x260fdd,this[_0x707c02(0x374)]=_0x1af9c6,this[_0x707c02(0x365)]=_0x1c3f59,this[_0x707c02(0x383)]=_0x39c5c2);}get[_0x415dad(0x27f)](){const _0x390e1b=_0x415dad;return this[_0x390e1b(0x3d7)][_0x390e1b(0x31a)]();}get['roomMembers'](){const _0x2efa99=_0x415dad;return this[_0x2efa99(0x42c)][_0x2efa99(0x31a)]();}['dispose'](){const _0x293ad3=_0x415dad;super[_0x293ad3(0x1bb)](),this['_cursorInfo$'][_0x293ad3(0x31b)](new Map()),this[_0x293ad3(0x3d7)][_0x293ad3(0x327)](),this[_0x293ad3(0x42c)]['next']([]),this[_0x293ad3(0x42c)][_0x293ad3(0x327)]();}[_0x415dad(0x1c2)](){const _0x2f9c6e=_0x415dad;this[_0x2f9c6e(0x27e)]||(this[_0x2f9c6e(0x27e)]=!0x0,this['_session']['sessionStatus$'][_0x2f9c6e(0x37e)](_0x13a994['takeUntil'](this[_0x2f9c6e(0x1b1)]))['subscribe'](_0x376254=>{const _0x39e054=_0x2f9c6e;_0x376254===_0x1ebeaa[_0x39e054(0x427)]['ONLINE']?this[_0x39e054(0x207)]():this[_0x39e054(0x2ab)]();}),this['_session'][_0x2f9c6e(0x2b2)][_0x2f9c6e(0x37e)](_0x13a994['takeUntil'](this[_0x2f9c6e(0x1b1)]))['subscribe'](_0xcbb643=>{const _0x85b959=_0x2f9c6e,_0x4d4b86=_0xcbb643[_0x85b959(0x334)];_0x4d4b86===_0x3ba40b[_0x85b959(0x29e)][_0x85b959(0x3fd)]&&this[_0x85b959(0x293)](_0xcbb643),_0x4d4b86===_0x3ba40b['CollaborationEvent'][_0x85b959(0x37f)]&&this[_0x85b959(0x2ef)](_0xcbb643);}),this[_0x2f9c6e(0x25d)](this[_0x2f9c6e(0x383)][_0x2f9c6e(0x2d2)](_0x55dd75=>{const _0x4fb296=_0x2f9c6e,_0x383bf9=_0x55dd75['params'];_0x383bf9!=null&&this['_online']&&_0x55dd75['id']===_0x37e704[_0x4fb296(0x3ba)]['id']&&_0x383bf9[_0x4fb296(0x20a)]===this['unitID']&&_0x383bf9['isEditing']===!0x1&&_0x383bf9['ranges']['length']>0x0&&this[_0x4fb296(0x1de)](_0x383bf9[_0x4fb296(0x20b)]);})),this[_0x2f9c6e(0x1cf)][_0x2f9c6e(0x15b)][_0x2f9c6e(0x37e)](_0x13a994[_0x2f9c6e(0x2c6)](this[_0x2f9c6e(0x1b1)]))[_0x2f9c6e(0x360)](_0x3c74eb=>{const _0x5309b8=_0x2f9c6e;if((_0x3c74eb==null?void 0x0:_0x3c74eb['unitID'])!==this[_0x5309b8(0x1d5)])return;const _0x501330={'eventID':_0x3ba40b[_0x5309b8(0x29e)][_0x5309b8(0x3fd)],'data':_0x3c74eb};this[_0x5309b8(0x293)](_0x501330);}),this[_0x2f9c6e(0x25d)](this[_0x2f9c6e(0x383)]['onCommandExecuted'](_0x49f702=>{const _0x55c23a=_0x2f9c6e;if(_0x49f702[_0x55c23a(0x3fe)]==null)return;const _0x166ba4=_0x49f702['params'];if(_0x49f702['id']!==_0x37e704[_0x55c23a(0x233)]['id']||_0x166ba4[_0x55c23a(0x20a)]!==this['unitID'])return;const _0x3972c8={'id':'doc.mutation.rich-text-editing','params':_0x166ba4},_0x1ab680=this[_0x55c23a(0x27f)];for(const [_0x6b5d03,_0x33b9b6]of _0x1ab680){const _0xbcdf51={'id':_0x55c23a(0x2c2),'params':{'unitId':this[_0x55c23a(0x1d5)],'actions':null,'textRanges':_0x33b9b6[_0x55c23a(0x20b)]}},_0x51d090=this[_0x55c23a(0x374)]['transformMutation'](_0x3972c8,_0xbcdf51,!0x1);if(_0x3ba40b[_0x55c23a(0x184)](_0x51d090))throw _0x51d090[_0x55c23a(0x291)];_0x1ab680[_0x55c23a(0x18b)](_0x6b5d03,{..._0x33b9b6,'ranges':_0x51d090[_0x55c23a(0x237)][_0x55c23a(0x3fe)][_0x55c23a(0x40a)]});}queueMicrotask(()=>{const _0x1aeb2c=_0x55c23a;this[_0x1aeb2c(0x3d7)][_0x1aeb2c(0x31b)](_0x1ab680);});})));}[_0x415dad(0x293)](_0x55bbff){const _0x5b06ca=_0x415dad;var _0xd4156e,_0x334401;const {memberID:_0x1bd5fc,selection:_0xf42f1c}=_0x55bbff['data'],_0x5cd138=_0x4ff80d(_0xf42f1c),_0x2e440c=(_0x334401=(_0xd4156e=this[_0x5b06ca(0x2dc)][_0x5b06ca(0x34c)](this[_0x5b06ca(0x1d5)],_0x1bd5fc))==null?void 0x0:_0xd4156e[_0x5b06ca(0x18f)])!=null?_0x334401:_0x5b06ca(0x353),_0x2d30de={'color':this['_colorAssignService'][_0x5b06ca(0x299)](_0x1bd5fc),'name':_0x2e440c,'ranges':_0x5cd138},_0x504dd4=this[_0x5b06ca(0x27f)];_0x504dd4['set'](_0x1bd5fc,_0x2d30de),this[_0x5b06ca(0x3d7)][_0x5b06ca(0x31b)](_0x504dd4);}['_onCursorDelete'](_0x268b9d){const _0x49ac4b=_0x415dad,{memberID:_0x232fb5}=_0x268b9d[_0x49ac4b(0x236)],_0x14a0bf=this[_0x49ac4b(0x27f)];_0x14a0bf[_0x49ac4b(0x227)](_0x232fb5),this['_cursorInfo$'][_0x49ac4b(0x31b)](_0x14a0bf);}['_toggleOnline'](){const _0x140773=_0x415dad;var _0x4719b7;if(this[_0x140773(0x32c)]=!0x0,((_0x4719b7=this[_0x140773(0x365)][_0x140773(0x285)]())==null?void 0x0:_0x4719b7[_0x140773(0x3c2)]())!==this['unitID'])return;const _0x5d4a3b=this['_injector'][_0x140773(0x356)](_0x37e704[_0x140773(0x22c)])[_0x140773(0x234)]();Array[_0x140773(0x253)](_0x5d4a3b)&&_0x5d4a3b[_0x140773(0x3af)]>0x0&&this[_0x140773(0x1de)](_0x5d4a3b);}[_0x415dad(0x2ab)](){const _0x5339d5=_0x415dad;this[_0x5339d5(0x32c)]=!0x1;}};_0x16df5e=_0x5d6e7a([_0xd696ea(0x2,_0x49d737['Inject'](_0x49d737['Injector'])),_0xd696ea(0x3,_0x49d737[_0x415dad(0x3b7)](_0x9c3829)),_0xd696ea(0x4,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x271)])),_0xd696ea(0x5,_0x49d737['Inject'](_0x159f52)),_0xd696ea(0x6,_0x3ba40b[_0x415dad(0x424)]),_0xd696ea(0x7,_0x49d737['IUniverInstanceService']),_0xd696ea(0x8,_0x49d737[_0x415dad(0x16c)])],_0x16df5e);var _0x2decc5=Object[_0x415dad(0x417)],_0x4b8e14=(_0x5c30fe,_0x12a8a0,_0x5828d7,_0x4d581c)=>{const _0x465d6e=_0x415dad;for(var _0x4ea0a2=_0x4d581c>0x1?void 0x0:_0x4d581c?_0x2decc5(_0x12a8a0,_0x5828d7):_0x12a8a0,_0x4f3cd7=_0x5c30fe[_0x465d6e(0x3af)]-0x1,_0x312028;_0x4f3cd7>=0x0;_0x4f3cd7--)(_0x312028=_0x5c30fe[_0x4f3cd7])&&(_0x4ea0a2=_0x312028(_0x4ea0a2)||_0x4ea0a2);return _0x4ea0a2;},_0x429ed0=(_0x48cd79,_0x342bf8)=>(_0x2f0757,_0x268ed9)=>_0x342bf8(_0x2f0757,_0x268ed9,_0x48cd79);const _0x59bfbf=0x12c,_0x16ab37=0x64,_0x73ed4c=()=>{let _0x1c4839=[],_0x32fc20=!0x1;return _0x246ec8=>{const _0x15331b=_0x38fc;_0x1c4839[_0x15331b(0x2c1)](_0x246ec8),_0x32fc20||(_0x32fc20=!0x0,setTimeout(()=>{const _0x4fedda=_0x15331b;_0x1c4839[_0x4fedda(0x415)](_0x79afa7=>_0x79afa7()),_0x1c4839=[],_0x32fc20=!0x1;}));};};let _0x222f7c=class extends _0x49d737[_0x415dad(0x352)]{constructor(_0x3536f3,_0x38de5b,_0x29cb32,_0x6b3d,_0x29b25c,_0x4ddf91,_0x435428,_0x27d0b2){const _0x16465c=_0x415dad;super(),_0x45e42d(this,_0x16465c(0x32c),!0x1),_0x45e42d(this,_0x16465c(0x27e),!0x1),_0x45e42d(this,_0x16465c(0x3d7),new _0x13a994[(_0x16465c(0x209))](new Map())),_0x45e42d(this,'cursorInfo$',this[_0x16465c(0x3d7)]['asObservable']()),_0x45e42d(this,_0x16465c(0x42c),new _0x13a994[(_0x16465c(0x209))]([])),_0x45e42d(this,_0x16465c(0x196),this[_0x16465c(0x42c)]['pipe'](_0x13a994['debounceTime'](_0x59bfbf))),_0x45e42d(this,'_updateLocalCursor',_0x49d737[_0x16465c(0x3b8)]((_0x47a01e,_0x395ec3)=>{const _0x22cfea=_0x16465c,_0x41ca5={'eventID':_0x3ba40b[_0x22cfea(0x29e)][_0x22cfea(0x3fd)],'data':{'unitID':this[_0x22cfea(0x1d5)],'memberID':this['_session']['getMemberID'](),'selection':_0x1d2500[_0x22cfea(0x198)](_0x47a01e,_0x395ec3[_0x22cfea(0x41b)])}};this[_0x22cfea(0x2a4)][_0x22cfea(0x3ed)](_0x41ca5,this['unitID']);},_0x16ab37)),(this['unitID']=_0x3536f3,this[_0x16465c(0x2a4)]=_0x38de5b,this[_0x16465c(0x388)]=_0x29cb32,this[_0x16465c(0x2f0)]=_0x6b3d,this['_memberService']=_0x29b25c,this[_0x16465c(0x365)]=_0x4ddf91,this[_0x16465c(0x383)]=_0x435428,this['_refRangeService']=_0x27d0b2);}get[_0x415dad(0x27f)](){const _0x49ea53=_0x415dad;return this[_0x49ea53(0x3d7)][_0x49ea53(0x31a)]();}get[_0x415dad(0x20f)](){const _0x4ed735=_0x415dad;return this['_roomMembers$'][_0x4ed735(0x31a)]();}[_0x415dad(0x1bb)](){const _0x1eeedc=_0x415dad;super[_0x1eeedc(0x1bb)](),this[_0x1eeedc(0x3d7)][_0x1eeedc(0x31b)](new Map()),this[_0x1eeedc(0x3d7)]['complete'](),this['_roomMembers$'][_0x1eeedc(0x31b)]([]),this[_0x1eeedc(0x42c)][_0x1eeedc(0x327)]();}[_0x415dad(0x1c2)](){const _0xca8a07=_0x415dad;this[_0xca8a07(0x27e)]||(this[_0xca8a07(0x27e)]=!0x0,this[_0xca8a07(0x2a4)]['sessionStatus$'][_0xca8a07(0x37e)](_0x13a994[_0xca8a07(0x2c6)](this[_0xca8a07(0x1b1)]))[_0xca8a07(0x360)](_0x5ccced=>{const _0x31a9ed=_0xca8a07;_0x5ccced===_0x1ebeaa['SessionStatus'][_0x31a9ed(0x370)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xca8a07(0x2a4)][_0xca8a07(0x2b2)][_0xca8a07(0x37e)](_0x13a994[_0xca8a07(0x2c6)](this['dispose$']))['subscribe'](_0x2f5cfd=>{const _0x446080=_0xca8a07,_0x5996d9=_0x2f5cfd[_0x446080(0x334)];_0x5996d9===_0x3ba40b[_0x446080(0x29e)]['UPDATE_CURSOR']&&this[_0x446080(0x293)](_0x2f5cfd),_0x5996d9===_0x3ba40b[_0x446080(0x29e)][_0x446080(0x37f)]&&this['_onCursorDelete'](_0x2f5cfd);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0xca8a07(0x383)]['onCommandExecuted'](_0x34b287=>{const _0xe22065=_0xca8a07;if(this[_0xe22065(0x32c)]&&_0x34b287['id']===_0x3e6b18[_0xe22065(0x37b)]['id']&&_0x34b287[_0xe22065(0x3fe)][_0xe22065(0x20a)]===this[_0xe22065(0x1d5)]){const _0x75549=_0x34b287['params'];this[_0xe22065(0x1de)](_0x75549['subUnitId'],_0x75549[_0xe22065(0x1b0)][0x0]);}})));}[_0x415dad(0x293)](_0x55f338){const _0x57d2f1=_0x415dad;var _0x23501f,_0x58bf3d;const {memberID:_0x46f423,selection:_0x39fe02}=_0x55f338[_0x57d2f1(0x236)],{sheetName:_0x10f189,range:_0x94df16}=_0x1d2500[_0x57d2f1(0x413)](_0x39fe02),_0x4a8bee={'name':(_0x58bf3d=(_0x23501f=this['_memberService']['getMember'](this[_0x57d2f1(0x1d5)],_0x46f423))==null?void 0x0:_0x23501f['name'])!=null?_0x58bf3d:'Unknown\x20user','range':this[_0x57d2f1(0x39c)](_0x10f189,_0x94df16),'sheetID':_0x10f189,'color':this[_0x57d2f1(0x2f0)][_0x57d2f1(0x299)](_0x46f423),'selection':_0x39fe02},_0x1c7ef1=this[_0x57d2f1(0x27f)];_0x1c7ef1['set'](_0x46f423,_0x4a8bee),this[_0x57d2f1(0x3d7)]['next'](_0x1c7ef1);}[_0x415dad(0x2ef)](_0x28bfd8){const _0x1ba717=_0x415dad,{memberID:_0x4cd7ae}=_0x28bfd8[_0x1ba717(0x236)],_0x5c7e1f=this[_0x1ba717(0x27f)];_0x5c7e1f['delete'](_0x4cd7ae),this[_0x1ba717(0x3d7)][_0x1ba717(0x31b)](_0x5c7e1f);}['_getMergeRange'](_0x2e450e,_0x35654c){const _0x54cd0d=_0x415dad;var _0x581f0f,_0x43f29d;const _0x58e063=(_0x43f29d=(_0x581f0f=this[_0x54cd0d(0x365)][_0x54cd0d(0x162)](this[_0x54cd0d(0x1d5)]))==null?void 0x0:_0x581f0f[_0x54cd0d(0x2dd)](_0x2e450e))==null?void 0x0:_0x43f29d[_0x54cd0d(0x172)]();return(_0x58e063==null?void 0x0:_0x58e063['find'](_0x9acfe0=>_0x49d737[_0x54cd0d(0x361)]['contains'](_0x9acfe0,_0x35654c)))||_0x35654c;}['_onRefRangeChange'](){const _0x7127bf=_0x415dad,_0x2ff92d=new _0x49d737[(_0x7127bf(0x283))](),_0x2d5fef=_0x73ed4c(),_0x580168=()=>{const _0x3fd031=_0x7127bf;_0x2ff92d['dispose']();const _0x14dd92=(_0x3e2260,_0x2f1db3,_0x335801,_0x801e0d)=>{const _0x5925f1=_0x38fc;let _0x33e825=[];switch(_0x3e2260['id']){case _0x3e6b18[_0x5925f1(0x17d)][_0x5925f1(0x36e)]:{_0x33e825=_0x3e6b18[_0x5925f1(0x192)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['DeleteRangeMoveUpCommandId']:{_0x33e825=_0x3e6b18[_0x5925f1(0x163)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['InsertColCommandId']:{_0x33e825=_0x3e6b18['handleInsertCol'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x33e825=_0x3e6b18['handleInsertRangeMoveDown'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)][_0x5925f1(0x1bf)]:{_0x33e825=_0x3e6b18[_0x5925f1(0x2d7)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['InsertRowCommandId']:{_0x33e825=_0x3e6b18[_0x5925f1(0x38f)](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)]['MoveRangeCommandId']:{_0x33e825=_0x3e6b18['handleMoveRange'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18[_0x5925f1(0x17d)][_0x5925f1(0x24e)]:{_0x33e825=_0x3e6b18['handleIRemoveCol'](_0x3e2260,_0x801e0d);break;}case _0x3e6b18['EffectRefRangId']['RemoveRowCommandId']:{_0x33e825=_0x3e6b18[_0x5925f1(0x2ea)](_0x3e2260,_0x801e0d);break;}}const _0x21f95f=_0x3e6b18[_0x5925f1(0x200)](_0x33e825,_0x801e0d),_0x1e6c70=this[_0x5925f1(0x27f)][_0x5925f1(0x356)](_0x2f1db3);if(_0x1e6c70&&_0x21f95f){const _0x439e44={..._0x1e6c70,'range':_0x21f95f};this['cursorInfo'][_0x5925f1(0x18b)](_0x2f1db3,_0x439e44),_0x2d5fef(()=>{const _0x3e87cc=_0x5925f1,_0x16482f=this['_refRangeService'][_0x3e87cc(0x25b)](_0x21f95f,_0x51094b=>(_0x16482f[_0x3e87cc(0x1bb)](),_0x14dd92(_0x51094b,_0x2f1db3,_0x335801,_0x21f95f)));_0x2ff92d[_0x3e87cc(0x248)](_0x16482f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3fd031(0x415)]((_0x4d4eec,_0x27055c)=>{const _0x5db4dc=_0x3fd031,{range:_0x578c24,sheetID:_0x1c0d1b}=_0x4d4eec,_0x2620fc=this[_0x5db4dc(0x40e)]['registerRefRange'](_0x578c24,_0x3e2554=>(_0x2620fc['dispose'](),_0x14dd92(_0x3e2554,_0x27055c,_0x1c0d1b,_0x578c24)));_0x2ff92d[_0x5db4dc(0x248)](_0x2620fc);});};this[_0x7127bf(0x25d)](_0x49d737['toDisposable'](this[_0x7127bf(0x3d7)][_0x7127bf(0x360)](()=>{_0x580168();})));}['_toggleOnline'](){const _0x488889=_0x415dad;var _0x2d8568,_0x2377e9;if(this[_0x488889(0x32c)]=!0x0,((_0x2d8568=this[_0x488889(0x365)]['getFocusedUnit']())==null?void 0x0:_0x2d8568['getUnitId']())!==this['unitID'])return;const _0x3794a6=(_0x2377e9=this['_injector']['get'](_0x3e6b18['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2377e9[0x0],_0x386e7b=this[_0x488889(0x365)][_0x488889(0x206)](_0x49d737[_0x488889(0x152)][_0x488889(0x369)])[_0x488889(0x194)]();_0x3794a6&&_0x386e7b&&this[_0x488889(0x1de)](_0x386e7b[_0x488889(0x3bf)](),_0x3794a6);}[_0x415dad(0x2ab)](){const _0x2a47ba=_0x415dad;this[_0x2a47ba(0x32c)]=!0x1;}};_0x222f7c=_0x4b8e14([_0x429ed0(0x2,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x429ed0(0x3,_0x49d737[_0x415dad(0x3b7)](_0x9c3829)),_0x429ed0(0x4,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x271)])),_0x429ed0(0x5,_0x49d737['IUniverInstanceService']),_0x429ed0(0x6,_0x49d737[_0x415dad(0x16c)]),_0x429ed0(0x7,_0x49d737['Inject'](_0x3e6b18[_0x415dad(0x232)]))],_0x222f7c);var _0x26d6ed=Object[_0x415dad(0x417)],_0x27fa9b=(_0x21c93c,_0x535ee5,_0x11e887,_0x17ab5f)=>{const _0x1e3980=_0x415dad;for(var _0x428f46=_0x17ab5f>0x1?void 0x0:_0x17ab5f?_0x26d6ed(_0x535ee5,_0x11e887):_0x535ee5,_0x1d2a7c=_0x21c93c[_0x1e3980(0x3af)]-0x1,_0x515dac;_0x1d2a7c>=0x0;_0x1d2a7c--)(_0x515dac=_0x21c93c[_0x1d2a7c])&&(_0x428f46=_0x515dac(_0x428f46)||_0x428f46);return _0x428f46;},_0x53e373=(_0x818271,_0x514025)=>(_0x40701a,_0x3dc0e3)=>_0x514025(_0x40701a,_0x3dc0e3,_0x818271);let _0x3c63d8=class extends _0x49d737[_0x415dad(0x352)]{constructor(_0x4e2494,_0x211ab5,_0x53b774){const _0x15a7ac=_0x415dad;super(),_0x45e42d(this,_0x15a7ac(0x319),new Map()),_0x45e42d(this,_0x15a7ac(0x183),new _0x13a994[(_0x15a7ac(0x35c))]()),(this[_0x15a7ac(0x365)]=_0x4e2494,this[_0x15a7ac(0x388)]=_0x211ab5,this[_0x15a7ac(0x3aa)]=_0x53b774,this[_0x15a7ac(0x27e)]());}[_0x415dad(0x1bb)](){const _0x4b59fb=_0x415dad;super[_0x4b59fb(0x1bb)](),this[_0x4b59fb(0x183)][_0x4b59fb(0x327)](),this[_0x4b59fb(0x319)][_0x4b59fb(0x415)](_0x493ae0=>_0x493ae0[_0x4b59fb(0x1bb)]());}[_0x415dad(0x300)](_0x9f5107){const _0x39098d=_0x415dad;return this[_0x39098d(0x319)][_0x39098d(0x2c3)](_0x9f5107)?this[_0x39098d(0x319)][_0x39098d(0x356)](_0x9f5107)[_0x39098d(0x394)]:this['_entityInit$'][_0x39098d(0x37e)](_0x13a994[_0x39098d(0x2f7)](_0xe6e16d=>_0xe6e16d['unitID']===_0x9f5107),_0x13a994[_0x39098d(0x170)](_0x49d2b9=>_0x49d2b9[_0x39098d(0x394)]));}[_0x415dad(0x27e)](){const _0x2c8ee6=_0x415dad;this[_0x2c8ee6(0x365)][_0x2c8ee6(0x30e)](_0x49d737['UniverInstanceType']['UNIVER_SHEET'])[_0x2c8ee6(0x37e)](_0x13a994[_0x2c8ee6(0x2c6)](this['dispose$']))[_0x2c8ee6(0x360)](async _0xdde9a8=>{const _0x39fff4=_0x2c8ee6,_0x22b295=_0xdde9a8[_0x39fff4(0x3c2)](),_0x38fa22=await this[_0x39fff4(0x3d8)](_0x22b295);this['_entityInit$'][_0x39fff4(0x31b)](_0x38fa22),this[_0x39fff4(0x319)][_0x39fff4(0x18b)](_0x22b295,_0x38fa22);}),this[_0x2c8ee6(0x365)][_0x2c8ee6(0x30e)](_0x49d737[_0x2c8ee6(0x152)]['UNIVER_DOC'])[_0x2c8ee6(0x37e)](_0x13a994[_0x2c8ee6(0x2c6)](this[_0x2c8ee6(0x1b1)]))[_0x2c8ee6(0x37e)](_0x13a994[_0x2c8ee6(0x2f7)](_0x1ba9d=>!_0x1ba9d[_0x2c8ee6(0x3c2)]()[_0x2c8ee6(0x429)]('__')))[_0x2c8ee6(0x360)](async _0x1f7a4d=>{const _0x15eb7c=_0x2c8ee6,_0x526d31=_0x1f7a4d[_0x15eb7c(0x3c2)](),_0x13c417=await this['_startDocCollabCursor'](_0x526d31);this['_entityInit$'][_0x15eb7c(0x31b)](_0x13c417),this['_entities'][_0x15eb7c(0x18b)](_0x526d31,_0x13c417);}),_0x13a994[_0x2c8ee6(0x31e)](this['_univerInstanceService'][_0x2c8ee6(0x2de)](_0x49d737[_0x2c8ee6(0x152)][_0x2c8ee6(0x303)]),this[_0x2c8ee6(0x365)][_0x2c8ee6(0x2de)](_0x49d737[_0x2c8ee6(0x152)][_0x2c8ee6(0x369)]))[_0x2c8ee6(0x37e)](_0x13a994['takeUntil'](this[_0x2c8ee6(0x1b1)]))[_0x2c8ee6(0x360)](_0x204e45=>{const _0x4d1514=_0x2c8ee6,_0x214208=_0x204e45[_0x4d1514(0x3c2)](),_0x14ef77=this[_0x4d1514(0x319)][_0x4d1514(0x356)](_0x214208);_0x14ef77&&(_0x14ef77[_0x4d1514(0x1bb)](),this[_0x4d1514(0x319)]['delete'](_0x214208));});}async[_0x415dad(0x3d8)](_0x52a4a6){const _0x1677c5=_0x415dad,_0x338e22=await this[_0x1677c5(0x3aa)][_0x1677c5(0x317)](_0x52a4a6),_0x49e737=this[_0x1677c5(0x388)][_0x1677c5(0x2a3)](_0x222f7c,_0x52a4a6,_0x338e22);return _0x49e737[_0x1677c5(0x1c2)](),_0x49e737;}async[_0x415dad(0x1e1)](_0x3a2b8f){const _0x50243a=_0x415dad,_0x10683b=await this[_0x50243a(0x3aa)][_0x50243a(0x317)](_0x3a2b8f),_0x54e799=this['_injector'][_0x50243a(0x2a3)](_0x16df5e,_0x3a2b8f,_0x10683b);return _0x54e799[_0x50243a(0x1c2)](),_0x54e799;}};_0x3c63d8=_0x27fa9b([_0x53e373(0x0,_0x49d737['IUniverInstanceService']),_0x53e373(0x1,_0x49d737['Inject'](_0x49d737[_0x415dad(0x161)])),_0x53e373(0x2,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x178)]))],_0x3c63d8);const _0x3793cc=0x14,_0x3fbf8f=0xc8,_0x345e48=0x4,_0x346948=0x5;function _0x2429bb(_0x549ed8,_0x20767f){const _0x5a4208=_0x415dad;let {radius:_0x335831,width:_0x314d05,height:_0x5125d0}=_0x20767f;_0x335831=_0x335831!=null?_0x335831:0x0,_0x314d05=_0x314d05!=null?_0x314d05:0x1e,_0x5125d0=_0x5125d0!=null?_0x5125d0:0x1e;let _0x54c762=0x0,_0xac03f0=0x0,_0x167897=0x0;_0x54c762=_0xac03f0=_0x167897=Math[_0x5a4208(0x406)](_0x335831,_0x314d05/0x2,_0x5125d0/0x2),_0x549ed8['beginPath'](),_0x549ed8[_0x5a4208(0x263)](_0x54c762,0x0),_0x549ed8[_0x5a4208(0x219)](_0x314d05-_0xac03f0,0x0),_0x549ed8[_0x5a4208(0x210)](_0x314d05-_0xac03f0,_0xac03f0,_0xac03f0,Math['PI']*0x3/0x2,0x0,!0x1),_0x549ed8[_0x5a4208(0x219)](_0x314d05,_0x5125d0-_0x167897),_0x549ed8[_0x5a4208(0x210)](_0x314d05-_0x167897,_0x5125d0-_0x167897,_0x167897,0x0,Math['PI']/0x2,!0x1),_0x549ed8['lineTo'](0x0,_0x5125d0),_0x549ed8['lineTo'](0x0,_0x54c762),_0x549ed8[_0x5a4208(0x210)](_0x54c762,_0x54c762,_0x54c762,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x549ed8['closePath'](),_0x20767f[_0x5a4208(0x426)]&&(_0x549ed8[_0x5a4208(0x2ec)](),_0x549ed8[_0x5a4208(0x1dd)]=_0x20767f['fill'],_0x20767f[_0x5a4208(0x3f4)]===_0x5a4208(0x407)?_0x549ed8[_0x5a4208(0x426)]('evenodd'):_0x549ed8[_0x5a4208(0x426)](),_0x549ed8[_0x5a4208(0x1d0)]());}class _0x3aa1dc extends _0x3b0527['Shape']{constructor(_0x1167fe,_0xa40210){const _0x2f11a0=_0x415dad;super(_0x1167fe,_0xa40210),_0x45e42d(this,_0x2f11a0(0x408)),_0x45e42d(this,'text'),(this[_0x2f11a0(0x408)]=_0xa40210==null?void 0x0:_0xa40210[_0x2f11a0(0x408)],this[_0x2f11a0(0x1e6)]=_0xa40210==null?void 0x0:_0xa40210[_0x2f11a0(0x1e6)]);}static['drawWith'](_0x4c4e8f,_0x1ba6fb){const _0x1991d4=_0x415dad,{text:_0x35df12,color:_0x38f019}=_0x1ba6fb;_0x4c4e8f[_0x1991d4(0x2ec)](),_0x4c4e8f[_0x1991d4(0x390)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4894d6=_0x4c4e8f[_0x1991d4(0x3ee)](_0x35df12)[_0x1991d4(0x377)],_0x5667d0=Math[_0x1991d4(0x406)](_0x4894d6+0x2*_0x345e48,_0x3fbf8f);_0x2429bb(_0x4c4e8f,{'height':_0x3793cc,'radius':0x4,'width':_0x5667d0,'fill':_0x38f019}),_0x4c4e8f[_0x1991d4(0x1dd)]=_0x1991d4(0x243);const _0x526c9e=_0x345e48,_0x424e1d=_0x3793cc-_0x346948,_0x31ce9c=_0x3fbf8f-0x2*_0x345e48;if(_0x4894d6>_0x31ce9c){let _0x1d2450='',_0x2c9092=0x0;for(const _0x9647f1 of _0x35df12){const _0x2edaaa=_0x4c4e8f[_0x1991d4(0x3ee)](_0x9647f1)[_0x1991d4(0x377)];if(_0x2c9092+_0x2edaaa<=_0x31ce9c-_0x4c4e8f[_0x1991d4(0x3ee)](_0x1991d4(0x423))['width'])_0x1d2450+=_0x9647f1,_0x2c9092+=_0x2edaaa;else{_0x1d2450+='...';break;}}_0x4c4e8f[_0x1991d4(0x39f)](_0x1d2450,_0x526c9e,_0x424e1d);}else _0x4c4e8f['fillText'](_0x35df12,_0x526c9e,_0x424e1d);_0x4c4e8f[_0x1991d4(0x1d0)]();}[_0x415dad(0x1d8)](_0x5eb9c8){const _0x2da408=_0x415dad;_0x3aa1dc[_0x2da408(0x15e)](_0x5eb9c8,this);}}const _0x50a0c4=_0x415dad(0x190),_0x52981e=_0x415dad(0x202),_0x2a3994='collab-rect-range-',_0x5b2a7f=0x6,_0x3cb660=1.5,_0xcb979f=0x4,_0x2773cb=1.5,_0x20b13b=_0x415dad(0x2d5);class _0x2c76e4{constructor(_0x2e55a7,_0x25e90e,_0x4f1a5c,_0xd8c629){const _0x506966=_0x415dad;_0x45e42d(this,_0x506966(0x35b),[]),_0x45e42d(this,'_anchor',null),_0x45e42d(this,_0x506966(0x355),null),_0x45e42d(this,'_anchorDot',null),_0x45e42d(this,_0x506966(0x359),null),_0x45e42d(this,_0x506966(0x218),null),(this[_0x506966(0x307)]=_0x2e55a7,this['_scene']=_0x25e90e,this[_0x506966(0x2df)]=_0x4f1a5c,this[_0x506966(0x1df)]=_0xd8c629,this[_0x506966(0x40c)]());}set['_hover'](_0x12f46b){const _0x217446=_0x415dad;_0x12f46b?(this[_0x217446(0x2a2)]&&this['_anchorDot'][_0x217446(0x36c)](),this[_0x217446(0x355)]&&this[_0x217446(0x355)][_0x217446(0x23d)]()):(this[_0x217446(0x2a2)]&&this[_0x217446(0x2a2)]['show'](),this[_0x217446(0x355)]&&this['_textBubble'][_0x217446(0x36c)]());}[_0x415dad(0x1bb)](){const _0x8b2fb6=_0x415dad;for(const _0x13fe5c of this[_0x8b2fb6(0x35b)])_0x13fe5c[_0x8b2fb6(0x1bb)]();this[_0x8b2fb6(0x355)]&&this[_0x8b2fb6(0x355)][_0x8b2fb6(0x1bb)](),this[_0x8b2fb6(0x2a2)]&&this[_0x8b2fb6(0x2a2)][_0x8b2fb6(0x1bb)](),this['_anchor']&&this['_anchor'][_0x8b2fb6(0x1bb)](),this[_0x8b2fb6(0x218)]&&this[_0x8b2fb6(0x218)]();}[_0x415dad(0x40c)](){const _0x19ba11=_0x415dad;var _0x3ab8c5;const {_docSkeleton:_0x37f5b2,_document:_0xd41f2b}=this,{color:_0x4ca6a5,name:_0x53a193,ranges:_0x36c743}=this[_0x19ba11(0x307)],_0x2015a8=_0xd41f2b[_0x19ba11(0x1f4)](),{docsLeft:_0x5f15af,docsTop:_0x39a603}=_0x2015a8,_0x193128=new _0x985634['NodePositionConvertToCursor'](_0x2015a8,_0x37f5b2);for(const {startOffset:_0x5234f7,endOffset:_0x3a21a6,rangeType:_0x1ba978,segmentId:_0x26415d,segmentPage:_0x2dbee4,collapsed:_0x36d3fb,isActive:_0x245c45}of _0x36c743){const _0x291b56=_0x37f5b2[_0x19ba11(0x3a0)](_0x5234f7,!0x0,_0x26415d,_0x2dbee4);let _0x1faae6=_0x37f5b2[_0x19ba11(0x3a0)](_0x3a21a6,!0x0,_0x26415d,_0x2dbee4);if(_0x1faae6==null&&(_0x1faae6=_0x37f5b2[_0x19ba11(0x3a0)](_0x3a21a6-0x1,!0x1,_0x26415d,_0x2dbee4)),_0x245c45){const {contentBoxPointGroup:_0x25f7b5}=_0x193128['getRangePointData'](_0x1faae6,_0x1faae6);if(_0x25f7b5[_0x19ba11(0x3af)]===0x0)continue;this[_0x19ba11(0x2f1)](_0x4ca6a5,_0x25f7b5,_0x5f15af,_0x39a603,_0x53a193),this[_0x19ba11(0x218)]=this[_0x19ba11(0x18d)]();}if(_0x291b56&&_0x1faae6){if(_0x1ba978===_0x49d737[_0x19ba11(0x401)]['RECT']){const _0x55aafc=new _0x985634[(_0x19ba11(0x3dc))](_0x2015a8,_0x37f5b2),{pointGroup:_0x14479d}=(_0x3ab8c5=_0x55aafc[_0x19ba11(0x31f)](_0x291b56,_0x1faae6))!=null?_0x3ab8c5:{};if(_0x14479d==null||_0x14479d[_0x19ba11(0x3af)]===0x0)continue;this[_0x19ba11(0x2da)](_0x4ca6a5,_0x14479d,_0x5f15af,_0x39a603);}else{if(!_0x36d3fb){const {borderBoxPointGroup:_0x22812a}=_0x193128[_0x19ba11(0x31f)](_0x291b56,_0x1faae6);if(_0x22812a[_0x19ba11(0x3af)]===0x0)continue;this['_drawTextRange'](_0x4ca6a5,_0x22812a,_0x5f15af,_0x39a603);}}}}}['_drawAnchor'](_0xcf075e,_0x121fd2,_0x17e090,_0x403414,_0x3871b2){const _0xb04ed5=_0x415dad,_0x50b880=this[_0xb04ed5(0x221)](_0x121fd2),{left:_0x5c2fbc,top:_0x1b3e8e,height:_0x17906b}=_0x50b880,_0x2ab670=this[_0xb04ed5(0x15d)](),_0x53abc3=_0x2773cb/_0x2ab670,_0x1b9a3d=new _0x3b0527[(_0xb04ed5(0x1a6))](_0x50a0c4+_0x49d737[_0xb04ed5(0x230)](_0x5b2a7f),{'left':_0x5c2fbc+_0x17e090-_0x53abc3,'top':_0x1b3e8e+_0x403414,'height':_0x17906b,'width':_0x3cb660,'fill':_0xcf075e||_0x3b0527['getColor'](_0x49d737[_0xb04ed5(0x282)]['black'],0x0),'strokeWidth':_0x53abc3,'stroke':_0x20b13b,'evented':!0x0});this[_0xb04ed5(0x411)]=_0x1b9a3d,this[_0xb04ed5(0x203)][_0xb04ed5(0x3cd)](_0x1b9a3d,_0x985634[_0xb04ed5(0x2ce)]);const _0x55837b=new _0x3b0527[(_0xb04ed5(0x1a6))](_0x50a0c4+_0x49d737['generateRandomId'](_0x5b2a7f),{'left':_0x5c2fbc+_0x17e090-_0x53abc3,'top':_0x1b3e8e+_0x403414-_0xcb979f/0x2,'height':_0xcb979f,'width':_0xcb979f,'fill':_0xcf075e||_0x3b0527[_0xb04ed5(0x288)](_0x49d737[_0xb04ed5(0x282)]['black'],0x0),'strokeWidth':0x0,'stroke':_0xcf075e||_0x3b0527[_0xb04ed5(0x288)](_0x49d737[_0xb04ed5(0x282)][_0xb04ed5(0x25a)],0x0),'evented':!0x1});this[_0xb04ed5(0x2a2)]=_0x55837b,this['_scene'][_0xb04ed5(0x3cd)](_0x55837b,_0x985634['TEXT_RANGE_LAYER_INDEX']);const _0x2dccba=new _0x3aa1dc(_0x50a0c4+_0x49d737[_0xb04ed5(0x230)](_0x5b2a7f),{'left':_0x5c2fbc+_0x17e090-_0x53abc3,'top':_0x1b3e8e+_0x403414-_0x3793cc,'text':_0x3871b2,'color':_0xcf075e});this['_textBubble']=_0x2dccba,this[_0xb04ed5(0x203)][_0xb04ed5(0x3cd)](_0x2dccba,_0x985634[_0xb04ed5(0x2ce)]),this[_0xb04ed5(0x3cf)]=!0x1;}[_0x415dad(0x18d)](){const _0x1ec5aa=_0x415dad,_0x6944b7=this['_anchor'][_0x1ec5aa(0x222)][_0x1ec5aa(0x1a1)](()=>{const _0x1f9f81=_0x1ec5aa;this[_0x1f9f81(0x3cf)]=!0x0;}),_0x24a850=this['_anchor'][_0x1ec5aa(0x1e5)][_0x1ec5aa(0x1a1)](()=>{const _0x5d10fc=_0x1ec5aa;this[_0x5d10fc(0x359)]&&clearTimeout(this['_hideTimer']),this[_0x5d10fc(0x359)]=setTimeout(()=>{const _0xbb0765=_0x5d10fc;this[_0xbb0765(0x3cf)]=!0x1;},0x7d0);});return()=>{const _0x4d54f3=_0x1ec5aa;_0x6944b7[_0x4d54f3(0x1d1)](),_0x24a850[_0x4d54f3(0x1d1)]();};}[_0x415dad(0x17e)](_0x4adbb9,_0x230d29,_0x33a34a,_0x1a5e14){const _0x5294d3=_0x415dad,_0x586ac6=new _0x49d737['ColorKit'](_0x4adbb9)[_0x5294d3(0x3e7)](0.2)[_0x5294d3(0x39e)](),_0x248002=new _0x3b0527[(_0x5294d3(0x22e))](_0x52981e+_0x49d737[_0x5294d3(0x230)](_0x5b2a7f),{'pointsGroup':_0x230d29,'fill':_0x586ac6||_0x3b0527[_0x5294d3(0x288)](_0x49d737[_0x5294d3(0x282)]['black'],0.2),'left':_0x33a34a,'top':_0x1a5e14,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5294d3(0x2c1)](_0x248002),this[_0x5294d3(0x203)][_0x5294d3(0x3cd)](_0x248002,_0x985634[_0x5294d3(0x2ce)]);}['_drawRectRange'](_0x1ad8ef,_0x1edeec,_0xc97d93,_0x38d44e){const _0xf9d1d4=_0x415dad,_0x71ef86=new _0x49d737[(_0xf9d1d4(0x3de))](_0x1ad8ef)[_0xf9d1d4(0x3e7)](0.2)[_0xf9d1d4(0x39e)](),_0x40c2c7=new _0x3b0527[(_0xf9d1d4(0x22e))](_0x2a3994+_0x49d737[_0xf9d1d4(0x230)](_0x5b2a7f),{'pointsGroup':_0x1edeec,'fill':_0x71ef86||_0x3b0527[_0xf9d1d4(0x288)](_0x49d737['COLORS'][_0xf9d1d4(0x25a)],0.2),'left':_0xc97d93,'top':_0x38d44e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf9d1d4(0x35b)]['push'](_0x40c2c7),this['_scene']['addObject'](_0x40c2c7,_0x985634['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x57b269){const _0x20183c=_0x57b269[0x0],_0x40f775=_0x20183c[0x0],_0x4d2a01=_0x20183c[0x2],{x:_0x195a5a,y:_0x21ce0e}=_0x40f775,{x:_0x100c1c,y:_0x14ae2a}=_0x4d2a01;return{'left':_0x195a5a,'top':_0x21ce0e,'width':_0x100c1c-_0x195a5a,'height':_0x14ae2a-_0x21ce0e};}[_0x415dad(0x15d)](){const _0x222269=_0x415dad,{scaleX:_0x49b81d,scaleY:_0x2d63b7}=this['_scene'][_0x222269(0x1a0)]();return Math['max'](_0x49b81d,_0x2d63b7);}}var _0x3e3ae9=Object[_0x415dad(0x417)],_0x55052e=(_0x2783ea,_0x5caef5,_0x2c5921,_0x3593e7)=>{const _0x41ec5b=_0x415dad;for(var _0xcb0c9a=_0x3593e7>0x1?void 0x0:_0x3593e7?_0x3e3ae9(_0x5caef5,_0x2c5921):_0x5caef5,_0x4c4a90=_0x2783ea[_0x41ec5b(0x3af)]-0x1,_0x57e5cf;_0x4c4a90>=0x0;_0x4c4a90--)(_0x57e5cf=_0x2783ea[_0x4c4a90])&&(_0xcb0c9a=_0x57e5cf(_0xcb0c9a)||_0xcb0c9a);return _0xcb0c9a;},_0x3da162=(_0x523390,_0x23c3a7)=>(_0x1538b7,_0x4627e8)=>_0x23c3a7(_0x1538b7,_0x4627e8,_0x523390);let _0x24d610=class extends _0x49d737['RxDisposable']{constructor(_0x15bcca,_0x446a3d,_0xf033e4,_0x4de2eb,_0x576366){const _0x430bd3=_0x415dad;super(),_0x45e42d(this,_0x430bd3(0x32b),[]),_0x45e42d(this,_0x430bd3(0x33b),[]),(this[_0x430bd3(0x347)]=_0x15bcca,this[_0x430bd3(0x41e)]=_0x446a3d,this[_0x430bd3(0x17c)]=_0xf033e4,this[_0x430bd3(0x383)]=_0x4de2eb,this['_themeService']=_0x576366,this['_init']());}[_0x415dad(0x27e)](){const _0x36fdd2=_0x415dad,_0x1b9184=this[_0x36fdd2(0x347)][_0x36fdd2(0x20a)],_0x154eee=this[_0x36fdd2(0x41e)];this[_0x36fdd2(0x25d)](_0x13a994[_0x36fdd2(0x38c)]([this[_0x36fdd2(0x17c)][_0x36fdd2(0x300)](_0x1b9184),this[_0x36fdd2(0x14b)]['currentTheme$']])['pipe'](_0xd2ad0e['map'](([_0x5ab22b,_0x26ce89])=>({'skeleton':_0x154eee[_0x36fdd2(0x22a)](),'cursors':[..._0x5ab22b[_0x36fdd2(0x2e1)]()][_0x36fdd2(0x3b3)](_0xa5f37a=>({..._0xa5f37a,'color':this[_0x36fdd2(0x14b)][_0x36fdd2(0x3c0)](_0xa5f37a[_0x36fdd2(0x408)])}))})))[_0x36fdd2(0x360)](_0x2100eb=>{const _0x956c43=_0x36fdd2;if(this[_0x956c43(0x2eb)](),_0x2100eb){const {skeleton:_0x23914d,cursors:_0x112ebd}=_0x2100eb;this[_0x956c43(0x21b)](_0x23914d,_0x112ebd);}})),this['_initResize'](),this[_0x36fdd2(0x1ec)]();}['_updateCollabCursors'](_0x2ca8d9,_0x114f13){const _0x3e9bf9=_0x415dad,{scene:_0x114937,mainComponent:_0x1d95bd}=this['_context'],_0x2cd827=_0x114f13['map'](_0x3079e9=>new _0x2c76e4(_0x3079e9,_0x114937,_0x2ca8d9,_0x1d95bd));this['_cursorShapes']=_0x2cd827,this[_0x3e9bf9(0x33b)]=_0x114f13;}['_refreshCollabCursors'](){const _0x27c4c1=_0x415dad;this[_0x27c4c1(0x2eb)]();const {scene:_0x598ea0,mainComponent:_0x1a3f44}=this[_0x27c4c1(0x347)],_0x4c3911=this['_docSkeletonManagerService'][_0x27c4c1(0x22a)](),_0x327dc3=this['_cursors'][_0x27c4c1(0x2cc)](_0x4eb1cf=>new _0x2c76e4(_0x4eb1cf,_0x598ea0,_0x4c3911,_0x1a3f44));this[_0x27c4c1(0x32b)]=_0x327dc3;}[_0x415dad(0x2eb)](){const _0x4e2d78=_0x415dad;this[_0x4e2d78(0x32b)][_0x4e2d78(0x415)](_0x172b31=>_0x172b31[_0x4e2d78(0x1bb)]()),this[_0x4e2d78(0x32b)]=[];}[_0x415dad(0x1ec)](){const _0x1bf01f=_0x415dad,_0x563d32=[_0x985634[_0x1bf01f(0x2d1)]['id']];this[_0x1bf01f(0x25d)](this[_0x1bf01f(0x383)][_0x1bf01f(0x2d2)](_0x5e4d9d=>{const _0x2b436c=_0x1bf01f;_0x563d32[_0x2b436c(0x363)](_0x5e4d9d['id'])&&_0x5e4d9d[_0x2b436c(0x3fe)][_0x2b436c(0x20a)]===this[_0x2b436c(0x347)][_0x2b436c(0x20a)]&&this[_0x2b436c(0x2d3)]();}));}['_initResize'](){const _0x5d432a=_0x415dad;this[_0x5d432a(0x25d)](_0x49d737[_0x5d432a(0x2f8)](this[_0x5d432a(0x347)][_0x5d432a(0x201)]['onTransformChange$'])[_0x5d432a(0x37e)](_0xd2ad0e['filter'](_0x142746=>_0x142746[_0x5d432a(0x3b2)]===_0x3b0527[_0x5d432a(0x164)][_0x5d432a(0x396)]),_0xd2ad0e[_0x5d432a(0x36f)](0x10))[_0x5d432a(0x360)](()=>{const _0x5bfb4c=_0x5d432a;this[_0x5bfb4c(0x2d3)]();}));}};_0x24d610=_0x55052e([_0x3da162(0x1,_0x49d737[_0x415dad(0x3b7)](_0x37e704['DocSkeletonManagerService'])),_0x3da162(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3c63d8)),_0x3da162(0x3,_0x49d737[_0x415dad(0x16c)]),_0x3da162(0x4,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x41d)]))],_0x24d610);const _0x1451fe=0x1,_0x314c6c=1.5;class _0x10a36b extends _0x3b0527[_0x415dad(0x3e8)]{constructor(_0x5ebe74,_0x4ac5e8){const _0x186bb9=_0x415dad;super(_0x5ebe74,_0x4ac5e8),_0x45e42d(this,_0x186bb9(0x306)),_0x45e42d(this,'_hovered',!0x1),_0x45e42d(this,_0x186bb9(0x174)),_0x45e42d(this,_0x186bb9(0x3b5),''),_0x45e42d(this,_0x186bb9(0x14d),'top'),_0x45e42d(this,'_backgroundColor'),(_0x4ac5e8&&this[_0x186bb9(0x3f1)](_0x4ac5e8),this[_0x186bb9(0x222)][_0x186bb9(0x1a1)](()=>this[_0x186bb9(0x3f1)]({'hovered':!0x0})),this[_0x186bb9(0x1e5)][_0x186bb9(0x1a1)](()=>this[_0x186bb9(0x3f1)]({'hovered':!0x1})));}['setShapeProps'](_0x2c326d){const _0x127347=_0x415dad;var _0x2f4d4e,_0x2490a7,_0x13f124,_0x243da6,_0x1a1424,_0x4e2cab;this['_color']=(_0x2f4d4e=_0x2c326d[_0x127347(0x408)])!=null?_0x2f4d4e:this[_0x127347(0x306)],this[_0x127347(0x176)]=(_0x2490a7=_0x2c326d[_0x127347(0x1a5)])!=null?_0x2490a7:this['_hovered'],this[_0x127347(0x174)]=(_0x13f124=_0x2c326d[_0x127347(0x41b)])!=null?_0x13f124:this[_0x127347(0x174)],this[_0x127347(0x3b5)]=(_0x243da6=_0x2c326d['name'])!=null?_0x243da6:this[_0x127347(0x3b5)],this['_labelPosition']=(_0x1a1424=_0x2c326d[_0x127347(0x3b4)])!=null?_0x1a1424:this[_0x127347(0x14d)],this[_0x127347(0x17a)]=(_0x4e2cab=_0x2c326d[_0x127347(0x240)])!=null?_0x4e2cab:this[_0x127347(0x17a)],this[_0x127347(0x3d6)]({'width':_0x2c326d[_0x127347(0x377)],'height':_0x2c326d[_0x127347(0x21c)]});}[_0x415dad(0x19f)](_0x3c929e){const _0x4ddfc2=_0x415dad,{row:_0x2ca988,column:_0x36d280}=_0x3c929e;if(_0x2ca988>=this[_0x4ddfc2(0x174)][_0x4ddfc2(0x3fb)]&&_0x2ca988<=this[_0x4ddfc2(0x174)][_0x4ddfc2(0x2c9)]&&_0x36d280>=this[_0x4ddfc2(0x174)][_0x4ddfc2(0x15c)]&&_0x36d280<=this['_range']['endColumn']){this[_0x4ddfc2(0x3f1)]({'hovered':!0x0});return;}this[_0x4ddfc2(0x3f1)]({'hovered':!0x1});}[_0x415dad(0x2d6)](_0x377c4b){return!0x1;}[_0x415dad(0x1d8)](_0x5743eb){const _0x62c1ae=_0x415dad;_0x3b0527[_0x62c1ae(0x1a6)][_0x62c1ae(0x15e)](_0x5743eb,{'width':this[_0x62c1ae(0x377)],'height':this[_0x62c1ae(0x21c)],'strokeWidth':_0x314c6c,'stroke':this[_0x62c1ae(0x306)],'evented':!0x1,'fill':this[_0x62c1ae(0x17a)]}),this['_hovered']&&(_0x5743eb['save'](),_0x5743eb['transform'](0x1,0x0,0x0,0x1,this[_0x62c1ae(0x377)],this['_labelPosition']==='bottom'?0x0:-_0x3793cc),_0x3aa1dc['drawWith'](_0x5743eb,{'text':this['_name'],'color':this[_0x62c1ae(0x306)]}),_0x5743eb['restore']());}}var _0x25dfed=Object[_0x415dad(0x417)],_0x5e0811=(_0x5eff46,_0x2906db,_0x178baf,_0x3eea45)=>{const _0x5172ac=_0x415dad;for(var _0x28d719=_0x3eea45>0x1?void 0x0:_0x3eea45?_0x25dfed(_0x2906db,_0x178baf):_0x2906db,_0x3602e7=_0x5eff46[_0x5172ac(0x3af)]-0x1,_0x38e0dd;_0x3602e7>=0x0;_0x3602e7--)(_0x38e0dd=_0x5eff46[_0x3602e7])&&(_0x28d719=_0x38e0dd(_0x28d719)||_0x28d719);return _0x28d719;},_0x51271f=(_0x3bcf17,_0x4b8381)=>(_0x3a32ac,_0x10c719)=>_0x4b8381(_0x3a32ac,_0x10c719,_0x3bcf17);const _0x578e69=0x1389;let _0x1ecd79=class extends _0x49d737['RxDisposable']{constructor(_0x40093e,_0x561ab6,_0x13d6fd,_0x1c0c55){const _0x1a3f02=_0x415dad;super(),_0x45e42d(this,_0x1a3f02(0x33b),new Set()),_0x45e42d(this,_0x1a3f02(0x1fa),null),(this[_0x1a3f02(0x347)]=_0x40093e,this[_0x1a3f02(0x1af)]=_0x561ab6,this[_0x1a3f02(0x17c)]=_0x13d6fd,this[_0x1a3f02(0x14b)]=_0x1c0c55,this['_init']());}['_init'](){const _0x3555d0=_0x415dad;this[_0x3555d0(0x1af)][_0x3555d0(0x297)]['pipe'](_0xd2ad0e['takeUntil'](this[_0x3555d0(0x1b1)]),_0xd2ad0e[_0x3555d0(0x170)](_0x5cca05=>{const _0x49cc8d=_0x3555d0;if(_0x5cca05){const _0x3390b6=_0x5cca05[_0x49cc8d(0x238)];return _0x13a994[_0x49cc8d(0x38c)](this[_0x49cc8d(0x17c)]['getCollabCursors$'](this[_0x49cc8d(0x347)]['unitId']),this['_themeService'][_0x49cc8d(0x151)])['pipe'](_0xd2ad0e[_0x49cc8d(0x2cc)](([_0xb6163,_0x5936fa])=>{const _0x5ac533=_0x49cc8d,_0x592c68=new Map();return _0xb6163[_0x5ac533(0x415)]((_0x436eee,_0x18383c)=>{const _0x1f3845=_0x5ac533;if(_0x436eee[_0x1f3845(0x3a4)]===_0x3390b6){const _0xb6c81d={..._0x436eee};_0xb6c81d[_0x1f3845(0x408)]=this[_0x1f3845(0x14b)][_0x1f3845(0x3c0)](_0x436eee[_0x1f3845(0x408)]),_0x592c68['set'](_0x18383c,_0xb6c81d);}}),{'skeleton':_0x5cca05,'cursors':_0x592c68};}));}return _0x13a994['of']({'skeleton':null,'cursors':new Map()});}))[_0x3555d0(0x360)](({skeleton:_0x55cadb,cursors:_0x76faaf})=>{const _0x5b0c8a=_0x3555d0;this[_0x5b0c8a(0x2eb)](),_0x55cadb&&this[_0x5b0c8a(0x21b)](_0x55cadb,_0x76faaf);}),this['_sheetSkeletonManagerService'][_0x3555d0(0x297)][_0x3555d0(0x360)](_0x5be3af=>{const _0x18ba2e=_0x3555d0;if(_0x5be3af==null)return;const {skeleton:_0x218a3f}=_0x5be3af,{scene:_0x225a52}=this[_0x18ba2e(0x347)];_0x225a52[_0x18ba2e(0x185)][_0x18ba2e(0x1a1)](_0x49d737[_0x18ba2e(0x3b8)](_0x29d437=>{const _0x987923=_0x18ba2e;var _0x154f87,_0x334705;const {offsetX:_0x2ba9d4,offsetY:_0x205d6a}=_0x29d437,{x:_0x455c80,y:_0x321ae0}=_0x225a52[_0x987923(0x225)](_0x3b0527[_0x987923(0x386)][_0x987923(0x409)]([_0x2ba9d4,_0x205d6a])),{scaleX:_0x4f81a7,scaleY:_0x56b9d7}=_0x225a52[_0x987923(0x1a0)](),_0x21bcae=_0x225a52[_0x987923(0x169)](_0x3b0527[_0x987923(0x18c)][_0x987923(0x154)]),_0x40dfb6=_0x225a52[_0x987923(0x2f5)](_0x3b0527[_0x987923(0x386)][_0x987923(0x409)]([_0x455c80,_0x321ae0]),_0x21bcae),_0x8133b4=_0x218a3f[_0x987923(0x295)](_0x2ba9d4,_0x205d6a,_0x4f81a7,_0x56b9d7,_0x40dfb6);((_0x154f87=this['_lastPointer'])==null?void 0x0:_0x154f87[_0x987923(0x3bd)])===_0x8133b4['column']&&((_0x334705=this['_lastPointer'])==null?void 0x0:_0x334705[_0x987923(0x343)])===_0x8133b4['row']||this[_0x987923(0x33b)][_0x987923(0x415)](_0x24793f=>{_0x24793f['onMouseMove'](_0x8133b4);});},0x64));});}[_0x415dad(0x21b)](_0x16c71d,_0x12a44d){const _0x389071=_0x415dad;var _0x25bf62;const _0x164bca=(_0x25bf62=this[_0x389071(0x1af)][_0x389071(0x333)]())==null?void 0x0:_0x25bf62[_0x389071(0x16d)];if(!_0x164bca)return;const _0x2ed4a0=this['_getSheetObject']();if(!_0x2ed4a0)return;this[_0x389071(0x33b)][_0x389071(0x415)](_0x561604=>{_0x561604['makeDirty']();});const {scene:_0x58cb6b}=_0x2ed4a0,_0x3d4c2b=_0x5ae85c(Array['from'](_0x12a44d[_0x389071(0x2e1)]()))[_0x389071(0x2cc)](_0x5e5267=>{const _0x37af9b=_0x389071,{color:_0x97b705,range:_0x49a80e,name:_0xa91c8a,selection:_0x411ea6,sheetID:_0x508a24}=_0x5e5267,{startColumn:_0x5751a6,startRow:_0x293473,endColumn:_0x19126a,endRow:_0x543210}=_0x49a80e,_0x1d4077=_0x1c16c1[_0x37af9b(0x254)](_0x293473,_0x5751a6,_0x58cb6b,_0x164bca),_0x562c96=_0x1c16c1[_0x37af9b(0x254)](_0x543210,_0x19126a,_0x58cb6b,_0x164bca),{columnHeaderHeightAndMarginTop:_0x2aa545}=_0x164bca,{startX:_0x43d00f,startY:_0x2ff063}=_0x1d4077,{endX:_0x177ccd,endY:_0x3bc341}=_0x562c96,_0x5b6a1d=_0x177ccd-_0x43d00f,_0xbf7c4b=_0x3bc341-_0x2ff063,_0x13fc95={'labelPosition':_0x2ff063-_0x2aa545>=_0x3793cc?_0x37af9b(0x1a4):'bottom','sheetID':_0x508a24,'range':_0x49a80e,'color':_0x97b705,'name':_0xa91c8a,'selection':_0x411ea6,'left':_0x43d00f,'top':_0x2ff063,'width':_0x5b6a1d,'height':_0xbf7c4b,'evented':!0x1,'zIndex':_0x578e69};return new _0x10a36b(_0xa91c8a,_0x13fc95);});_0x58cb6b[_0x389071(0x309)](_0x3d4c2b,_0x1451fe),this[_0x389071(0x33b)]=new Set(_0x3d4c2b);}[_0x415dad(0x2eb)](){const _0xd6020a=_0x415dad;var _0x2266ca;(_0x2266ca=this[_0xd6020a(0x33b)])==null||_0x2266ca[_0xd6020a(0x415)](_0x7c398d=>_0x7c398d[_0xd6020a(0x1bb)]());}[_0x415dad(0x341)](){const _0x18524c=_0x415dad;return _0x1c16c1[_0x18524c(0x2af)](this[_0x18524c(0x347)]['unit'],this[_0x18524c(0x347)]);}};_0x1ecd79=_0x5e0811([_0x51271f(0x1,_0x49d737[_0x415dad(0x3b7)](_0x1c16c1[_0x415dad(0x18a)])),_0x51271f(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3c63d8)),_0x51271f(0x3,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x41d)]))],_0x1ecd79);function _0x5ae85c(_0x69c784){const _0x36a52f=_0x415dad,_0x19a4ce=new Map();return _0x69c784[_0x36a52f(0x415)](_0x33bbb1=>{const _0x571819=_0x36a52f;if(_0x19a4ce[_0x571819(0x2c3)](_0x33bbb1[_0x571819(0x3f9)])){const _0xc10a11=_0x19a4ce[_0x571819(0x356)](_0x33bbb1[_0x571819(0x3f9)]);_0xc10a11['name']+=',\x20'+_0x33bbb1[_0x571819(0x18f)];}else _0x19a4ce[_0x571819(0x18b)](_0x33bbb1[_0x571819(0x3f9)],_0x33bbb1);}),Array[_0x36a52f(0x235)](_0x19a4ce[_0x36a52f(0x2e1)]());}var _0x591170=Object[_0x415dad(0x417)],_0x496dd6=(_0x595c14,_0x200a8e,_0x578ee7,_0x515e2c)=>{for(var _0x32636e=_0x515e2c>0x1?void 0x0:_0x515e2c?_0x591170(_0x200a8e,_0x578ee7):_0x200a8e,_0x26eb07=_0x595c14['length']-0x1,_0x1a1e83;_0x26eb07>=0x0;_0x26eb07--)(_0x1a1e83=_0x595c14[_0x26eb07])&&(_0x32636e=_0x1a1e83(_0x32636e)||_0x32636e);return _0x32636e;},_0x1d0309=(_0x59e446,_0x29c6b4)=>(_0x5aaa83,_0x203c8d)=>_0x29c6b4(_0x5aaa83,_0x203c8d,_0x59e446);let _0x51d0d6=class extends _0x49d737['Disposable']{constructor(_0xa9d05a,_0xd1d9ff,_0xcc663,_0x2c9062,_0x39e1a4,_0x5306ac){const _0x4fdeec=_0x415dad;super(),this[_0x4fdeec(0x1d9)]=_0xa9d05a,this[_0x4fdeec(0x153)]=_0xd1d9ff,this[_0x4fdeec(0x350)]=_0xcc663,this[_0x4fdeec(0x1a9)]=_0x2c9062,this['_notificationService']=_0x39e1a4,this[_0x4fdeec(0x414)]=_0x5306ac,this[_0x4fdeec(0x1c3)](),this[_0x4fdeec(0x32a)]();}['_setupBeforeClosingHandler'](){const _0x2ec767=_0x415dad;this[_0x2ec767(0x25d)](this[_0x2ec767(0x1d9)]['registerBeforeClose'](()=>{const _0x56d4c9=_0x2ec767;if(this['_localCacheService']['saveTaskMap'][_0x56d4c9(0x332)])return this['_localeService']['t'](_0x56d4c9(0x195));}));}[_0x415dad(0x32a)](){const _0x4c7b89=_0x415dad;this[_0x4c7b89(0x25d)](this[_0x4c7b89(0x350)]['event$']['subscribe'](_0x179cc1=>{const _0x55f358=_0x4c7b89;_0x179cc1['id']===_0x1ebeaa['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x27c)],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x296))}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x29c)]&&this[_0x55f358(0x1a9)]['show']({'type':_0x573e9b['MessageType']['Warning'],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x31c))}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)]['PERMISSION_DENIED']&&this[_0x55f358(0x2bd)]['show']({'title':this[_0x55f358(0x414)]['t'](_0x55f358(0x261)),'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x2d4)),'type':'error','duration':0x0}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x1a7)]&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x358)],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x31c))+'('+_0x179cc1[_0x55f358(0x236)]+')'}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)]['JOIN_ROOM_FAILED']&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x27c)],'content':this[_0x55f358(0x414)]['t'](_0x179cc1[_0x55f358(0x236)]||'')}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x1e2)]&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x27c)],'content':this[_0x55f358(0x414)]['t']('session.will-retry')}),_0x179cc1['id']===_0x1ebeaa['CollaborationUIEventId'][_0x55f358(0x181)]&&this[_0x55f358(0x1a9)]['show']({'type':_0x573e9b[_0x55f358(0x2c5)][_0x55f358(0x358)],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x3d4))}),_0x179cc1['id']===_0x1ebeaa[_0x55f358(0x20e)][_0x55f358(0x367)]&&this[_0x55f358(0x1a9)][_0x55f358(0x23d)]({'type':_0x573e9b[_0x55f358(0x2c5)]['Error'],'content':this[_0x55f358(0x414)]['t'](_0x55f358(0x208))});}));}};_0x51d0d6=_0x496dd6([_0x1d0309(0x0,_0x1c307e[_0x415dad(0x364)]),_0x1d0309(0x1,_0x1ebeaa[_0x415dad(0x21d)]),_0x1d0309(0x2,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x2bf)])),_0x1d0309(0x3,_0x1c307e[_0x415dad(0x410)]),_0x1d0309(0x4,_0x1c307e[_0x415dad(0x23c)]),_0x1d0309(0x5,_0x49d737['Inject'](_0x49d737['LocaleService']))],_0x51d0d6);var _0x2743c0=Object[_0x415dad(0x417)],_0x5b5724=(_0x2ce579,_0x9cf49e,_0x2ee95b,_0x538ef7)=>{for(var _0x5a5588=_0x538ef7>0x1?void 0x0:_0x538ef7?_0x2743c0(_0x9cf49e,_0x2ee95b):_0x9cf49e,_0x336083=_0x2ce579['length']-0x1,_0x5bc041;_0x336083>=0x0;_0x336083--)(_0x5bc041=_0x2ce579[_0x336083])&&(_0x5a5588=_0x5bc041(_0x5a5588)||_0x5a5588);return _0x5a5588;},_0xb203c2=(_0x2bb769,_0x398f99)=>(_0x2780b3,_0x2402de)=>_0x398f99(_0x2780b3,_0x2402de,_0x2bb769);let _0x49f423=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x463488,_0x3f9bda,_0x30e092,_0x1fdd91){const _0x4b781d=_0x415dad;super(),_0x45e42d(this,'_memberID'),(this[_0x4b781d(0x388)]=_0x463488,this[_0x4b781d(0x262)]=_0x3f9bda,this[_0x4b781d(0x2a0)]=_0x30e092,this[_0x4b781d(0x3ae)]=_0x1fdd91,this['_init']());}[_0x415dad(0x27e)](){const _0x3548e3=_0x415dad;this[_0x3548e3(0x179)](),this[_0x3548e3(0x26a)](),this['_monkeyPatchLogService'](),this[_0x3548e3(0x40b)]();}[_0x415dad(0x40b)](){const _0x5b8889=_0x415dad;this['disposeWithMe'](this['_collaborationSessionService'][_0x5b8889(0x315)][_0x5b8889(0x360)](_0xcc7b8=>{const _0xed8157=_0x5b8889;this['_memberID']=_0xcc7b8==null?void 0x0:_0xcc7b8[_0xed8157(0x1e3)];}));}[_0x415dad(0x179)](){const _0x447e05=_0x415dad,_0x4b693d=_0x96709d=>{const _0x192ebf=_0x38fc;var _0x4ecbb6;this[_0x192ebf(0x1ee)](_0x192ebf(0x291),_0x192ebf(0x1b2)+_0x96709d[_0x192ebf(0x17b)]+_0x192ebf(0x2c7)+_0x96709d[_0x192ebf(0x2b0)]+':'+_0x96709d[_0x192ebf(0x1ad)]+':'+_0x96709d[_0x192ebf(0x38e)]+'\x0a'+(((_0x4ecbb6=_0x96709d[_0x192ebf(0x291)])==null?void 0x0:_0x4ecbb6['stack'])||''));};window[_0x447e05(0x215)](_0x447e05(0x291),_0x4b693d),this[_0x447e05(0x25d)](()=>{const _0x4eec19=_0x447e05;window[_0x4eec19(0x1ba)](_0x4eec19(0x291),_0x4b693d);});}[_0x415dad(0x26a)](){const _0x4f63c2=_0x415dad,_0x392309=_0x5ddcc2=>{const _0x38f38b=_0x38fc;this[_0x38f38b(0x1ee)]('error',_0x38f38b(0x3eb)+_0x5ddcc2[_0x38f38b(0x3bb)]);};window[_0x4f63c2(0x215)](_0x4f63c2(0x349),_0x392309),this[_0x4f63c2(0x25d)](()=>{const _0x3035c6=_0x4f63c2;window['removeEventListener'](_0x3035c6(0x349),_0x392309);});}['_monkeyPatchLogService'](){const _0x35b937=_0x415dad,_0x3e5b18=this[_0x35b937(0x2a0)][_0x35b937(0x291)]['bind'](this[_0x35b937(0x2a0)]);this[_0x35b937(0x2a0)][_0x35b937(0x291)]=(..._0x16ffc7)=>{const _0x3626cd=_0x35b937,_0xc8766a=_0x16ffc7[_0x3626cd(0x2cc)](_0x17c36e=>_0x17c36e instanceof Error?_0x17c36e['message']+'\x0a'+_0x17c36e[_0x3626cd(0x3d1)]:String(_0x17c36e))[_0x3626cd(0x2fe)]('\x20');this[_0x3626cd(0x1ee)]('error',_0x3626cd(0x2b3)+_0xc8766a),_0x3e5b18(..._0x16ffc7);},this[_0x35b937(0x25d)](()=>{const _0x7507b4=_0x35b937;this[_0x7507b4(0x2a0)]['error']=_0x3e5b18;});}[_0x415dad(0x1ee)](_0x294706,_0x36834f){const _0x2e68bf=_0x415dad;try{const _0x38a1e0={'userId':this['_memberID'],'logLabel':_0x294706,'content':_0x36834f};this[_0x2e68bf(0x262)][_0x2e68bf(0x19a)](_0x2e68bf(0x19e),{'body':_0x38a1e0})[_0x2e68bf(0x211)](()=>{});}catch{}}};_0x49f423=_0x5b5724([_0xb203c2(0x0,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0xb203c2(0x1,_0x49d737['Inject'](_0xcfaf25[_0x415dad(0x14e)])),_0xb203c2(0x2,_0x49d737['ILogService']),_0xb203c2(0x3,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x178)]))],_0x49f423);const _0xfec0b7='collaboration-client-ui.config',_0x17c1be={};var _0x55c6de=Object[_0x415dad(0x417)],_0x426f38=(_0x2e6b58,_0x53f059,_0x5f1749,_0x1eb59a)=>{for(var _0x3c10bd=_0x1eb59a>0x1?void 0x0:_0x1eb59a?_0x55c6de(_0x53f059,_0x5f1749):_0x53f059,_0x2349df=_0x2e6b58['length']-0x1,_0x264b12;_0x2349df>=0x0;_0x2349df--)(_0x264b12=_0x2e6b58[_0x2349df])&&(_0x3c10bd=_0x264b12(_0x3c10bd)||_0x3c10bd);return _0x3c10bd;},_0x2eb90a=(_0x7c9ac9,_0x6cf43e)=>(_0x177476,_0x42c6be)=>_0x6cf43e(_0x177476,_0x42c6be,_0x7c9ac9);let _0x3d62e9=class{constructor(_0x118eb9,_0x44d3c3){this['_transformService']=_0x118eb9,this['_renderManagerService']=_0x44d3c3;}['transformIMECache'](_0x47a84d){const _0x3ac6fa=_0x415dad;this['_transformUndoRedoStack'](_0x47a84d),this[_0x3ac6fa(0x354)](_0x47a84d);}['transformRemoteChangeset'](_0x55d67f){const _0x5d536b=_0x415dad,{unitID:_0x4cfe28}=_0x55d67f,_0x1fc2f0=this['_renderManagerService'][_0x5d536b(0x22f)](_0x4cfe28)[_0x5d536b(0x29f)](_0x985634[_0x5d536b(0x32e)]),{redoCache:_0x5f3d20}=_0x1fc2f0[_0x5d536b(0x422)]();if(_0x5f3d20['length']===0x0)return _0x55d67f;let _0x4a980c=_0x49d737['Tools'][_0x5d536b(0x3da)](_0x55d67f[_0x5d536b(0x331)][0x0]);for(let _0x4e895c=0x0;_0x4e895c<_0x5f3d20[_0x5d536b(0x3af)];_0x4e895c++){const _0x3372cd={'id':_0x5d536b(0x2c2),'params':{..._0x5f3d20[_0x4e895c]}},_0xa3c7f6=this[_0x5d536b(0x374)][_0x5d536b(0x1fe)](_0x4a980c,_0x3372cd,!0x1);if(_0x3ba40b[_0x5d536b(0x184)](_0xa3c7f6))throw _0xa3c7f6[_0x5d536b(0x291)];_0x4a980c=_0xa3c7f6[_0x5d536b(0x362)];}return{..._0x49d737[_0x5d536b(0x193)][_0x5d536b(0x3da)](_0x55d67f),'mutations':[_0x4a980c]};}['_transformUndoRedoStack'](_0x20f006){const _0x32770b=_0x415dad,{unitID:_0x59248e}=_0x20f006,_0x4b3383=this['_renderManagerService'][_0x32770b(0x22f)](_0x59248e)['with'](_0x985634[_0x32770b(0x32e)]),{undoCache:_0x346264,redoCache:_0x430e1c}=_0x4b3383[_0x32770b(0x422)]();if(_0x346264[_0x32770b(0x3af)]===0x0||_0x430e1c[_0x32770b(0x3af)]===0x0)return;const _0x28cd5c=[],_0x2b2388=[];let _0x2f52a3=_0x49d737[_0x32770b(0x193)]['deepClone'](_0x20f006[_0x32770b(0x331)][0x0]),_0xbda3a0=_0x49d737[_0x32770b(0x193)]['deepClone'](_0x20f006[_0x32770b(0x331)][0x0]);for(let _0x215c48=_0x346264['length']-0x1;_0x215c48>=0x0;_0x215c48--){const _0x4ad6c2={'id':'doc.mutation.rich-text-editing','params':{..._0x346264[_0x215c48]}},_0x526bd6={'id':_0x32770b(0x2c2),'params':{..._0x430e1c[_0x215c48]}},_0x384f4e=this[_0x32770b(0x374)]['transformMutation'](_0x2f52a3,_0x4ad6c2,!0x1),_0x4124cf=this['_transformService'][_0x32770b(0x1fe)](_0xbda3a0,_0x526bd6,!0x1);if(_0x3ba40b[_0x32770b(0x184)](_0x384f4e))throw _0x384f4e[_0x32770b(0x291)];if(_0x3ba40b[_0x32770b(0x184)](_0x4124cf))throw _0x4124cf[_0x32770b(0x291)];_0x28cd5c[_0x32770b(0x3d2)](_0x384f4e[_0x32770b(0x237)][_0x32770b(0x3fe)]),_0x2b2388[_0x32770b(0x3d2)](_0x4124cf['m2Prime'][_0x32770b(0x3fe)]),_0x2f52a3=_0x384f4e[_0x32770b(0x362)],_0xbda3a0=_0x4124cf[_0x32770b(0x362)];}_0x4b3383[_0x32770b(0x340)]({'undoCache':_0x28cd5c,'redoCache':_0x2b2388});}[_0x415dad(0x354)](_0x51afad){const _0x4d2a6e=_0x415dad,{unitID:_0x4d3dfa}=_0x51afad,_0x2e39b8=this[_0x4d2a6e(0x428)]['getRenderById'](_0x4d3dfa)[_0x4d2a6e(0x29f)](_0x985634[_0x4d2a6e(0x32e)]),_0x4d8558=_0x2e39b8[_0x4d2a6e(0x19c)]();if(_0x4d8558==null)return;const _0x5a74db=[{'id':_0x4d2a6e(0x2c2),'params':{'unitId':_0x51afad[_0x4d2a6e(0x1d5)],'actions':null,'textRanges':[_0x4d8558]}}],_0x5d5e55=this[_0x4d2a6e(0x374)][_0x4d2a6e(0x38a)](_0x51afad,_0x5a74db);if(!_0x3ba40b[_0x4d2a6e(0x156)](_0x5d5e55))throw _0x5d5e55[_0x4d2a6e(0x291)];const _0x4bb3bf=_0x5d5e55['m2Prime'][0x0][_0x4d2a6e(0x3fe)][_0x4d2a6e(0x40a)];Array[_0x4d2a6e(0x253)](_0x4bb3bf)&&_0x4bb3bf['length']&&_0x2e39b8['setActiveRange'](_0x4bb3bf[0x0]);}};_0x3d62e9=_0x426f38([_0x2eb90a(0x0,_0x3ba40b[_0x415dad(0x424)]),_0x2eb90a(0x1,_0x3b0527[_0x415dad(0x2f9)])],_0x3d62e9);var _0x5352c6=Object[_0x415dad(0x417)],_0x50d55d=(_0x25cbe9,_0xe7d35b,_0x10bd8b,_0x659e44)=>{const _0x4ba4b0=_0x415dad;for(var _0x2f3e8e=_0x659e44>0x1?void 0x0:_0x659e44?_0x5352c6(_0xe7d35b,_0x10bd8b):_0xe7d35b,_0x50a5b4=_0x25cbe9[_0x4ba4b0(0x3af)]-0x1,_0x3c7000;_0x50a5b4>=0x0;_0x50a5b4--)(_0x3c7000=_0x25cbe9[_0x50a5b4])&&(_0x2f3e8e=_0x3c7000(_0x2f3e8e)||_0x2f3e8e);return _0x2f3e8e;},_0x2941db=(_0x2ca490,_0x3b3547)=>(_0x19bb74,_0xd55f64)=>_0x3b3547(_0x19bb74,_0xd55f64,_0x2ca490);let _0x2544c2=class{constructor(_0x46bb23,_0x135dc5,_0x1a3903){const _0x252a0f=_0x415dad;this[_0x252a0f(0x388)]=_0x46bb23,this['_transformService']=_0x135dc5,this['_docStateChangeManagerService']=_0x1a3903;}[_0x415dad(0x27b)](_0x576444){this['_transformHistoryAndStateStack'](_0x576444);}[_0x415dad(0x3ea)](_0x28e555){const _0x22576c=_0x415dad,{unitID:_0x39a500}=_0x28e555,{collaboration:_0x12865a}=this[_0x22576c(0x1b6)]['getStateCache'](_0x39a500);if(_0x12865a[_0x22576c(0x3af)]===0x0)return _0x28e555;let _0x501051=_0x49d737[_0x22576c(0x193)]['deepClone'](_0x28e555['mutations'][0x0]);for(let _0x4936a2=0x0;_0x4936a2<_0x12865a[_0x22576c(0x3af)];_0x4936a2++){const _0x17382d={'id':_0x22576c(0x2c2),'params':{'unitId':_0x12865a[_0x4936a2]['unitId'],..._0x12865a[_0x4936a2][_0x22576c(0x197)]}},_0x57b3f2=this[_0x22576c(0x374)][_0x22576c(0x1fe)](_0x501051,_0x17382d,!0x1);if(_0x3ba40b[_0x22576c(0x184)](_0x57b3f2))throw _0x57b3f2['error'];_0x501051=_0x57b3f2[_0x22576c(0x362)];}return{..._0x49d737[_0x22576c(0x193)][_0x22576c(0x3da)](_0x28e555),'mutations':[_0x501051]};}[_0x415dad(0x15a)](_0x1d2902){const _0x3b5f22=_0x415dad,{unitID:_0x400012}=_0x1d2902,{history:_0x561273,collaboration:_0x45bdef}=this['_docStateChangeManagerService'][_0x3b5f22(0x155)](_0x400012);if(_0x561273['length']===0x0&&_0x45bdef[_0x3b5f22(0x3af)]===0x0)return;const _0x334283=[],_0x22ee20=[];let _0x4669c6=_0x49d737[_0x3b5f22(0x193)][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]),_0x26eccf=_0x49d737['Tools'][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]);for(let _0x583c74=_0x561273[_0x3b5f22(0x3af)]-0x1;_0x583c74>=0x0;_0x583c74--){const _0x3c99b9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x561273[_0x583c74][_0x3b5f22(0x20a)],..._0x561273[_0x583c74][_0x3b5f22(0x191)]}},_0x139d26={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x561273[_0x583c74][_0x3b5f22(0x20a)],..._0x561273[_0x583c74]['redoState']}},_0x495a88=this[_0x3b5f22(0x374)][_0x3b5f22(0x1fe)](_0x4669c6,_0x3c99b9,!0x1),_0x1f5f27=this[_0x3b5f22(0x374)][_0x3b5f22(0x1fe)](_0x26eccf,_0x139d26,!0x1);if(_0x3ba40b['isTransformMutationFailure'](_0x495a88))throw _0x495a88[_0x3b5f22(0x291)];if(_0x3ba40b[_0x3b5f22(0x184)](_0x1f5f27))throw _0x1f5f27['error'];_0x334283['unshift']({..._0x561273[_0x583c74],'undoState':_0x495a88[_0x3b5f22(0x237)][_0x3b5f22(0x3fe)],'redoState':_0x1f5f27[_0x3b5f22(0x237)][_0x3b5f22(0x3fe)]}),_0x4669c6=_0x495a88[_0x3b5f22(0x362)],_0x26eccf=_0x1f5f27[_0x3b5f22(0x362)];}_0x4669c6=_0x49d737[_0x3b5f22(0x193)][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]),_0x26eccf=_0x49d737['Tools'][_0x3b5f22(0x3da)](_0x1d2902[_0x3b5f22(0x331)][0x0]);for(let _0x543016=_0x45bdef[_0x3b5f22(0x3af)]-0x1;_0x543016>=0x0;_0x543016--){const _0x40ea92={'id':_0x3b5f22(0x2c2),'params':{'unitId':_0x45bdef[_0x543016][_0x3b5f22(0x20a)],..._0x45bdef[_0x543016][_0x3b5f22(0x191)]}},_0x2cffea={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45bdef[_0x543016][_0x3b5f22(0x20a)],..._0x45bdef[_0x543016][_0x3b5f22(0x197)]}},_0x22bb18=this['_transformService'][_0x3b5f22(0x1fe)](_0x4669c6,_0x40ea92,!0x1),_0x3e2537=this[_0x3b5f22(0x374)][_0x3b5f22(0x1fe)](_0x26eccf,_0x2cffea,!0x1);if(_0x3ba40b['isTransformMutationFailure'](_0x22bb18))throw _0x22bb18[_0x3b5f22(0x291)];if(_0x3ba40b[_0x3b5f22(0x184)](_0x3e2537))throw _0x3e2537[_0x3b5f22(0x291)];_0x22ee20['unshift']({..._0x45bdef[_0x543016],'undoState':_0x22bb18[_0x3b5f22(0x237)][_0x3b5f22(0x3fe)],'redoState':_0x3e2537[_0x3b5f22(0x237)]['params']}),_0x4669c6=_0x22bb18[_0x3b5f22(0x362)],_0x26eccf=_0x3e2537['m1Prime'];}this[_0x3b5f22(0x1b6)][_0x3b5f22(0x231)](_0x400012,{'history':_0x334283,'collaboration':_0x22ee20});}};_0x2544c2=_0x50d55d([_0x2941db(0x0,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x2941db(0x1,_0x3ba40b[_0x415dad(0x424)]),_0x2941db(0x2,_0x49d737['Inject'](_0x985634[_0x415dad(0x425)]))],_0x2544c2);var _0x375f7e=Object['getOwnPropertyDescriptor'],_0x21e8b1=(_0x1cbfca,_0x10bdbb,_0x48dcb0,_0x1ba90a)=>{const _0x3ee4f6=_0x415dad;for(var _0x2b8a65=_0x1ba90a>0x1?void 0x0:_0x1ba90a?_0x375f7e(_0x10bdbb,_0x48dcb0):_0x10bdbb,_0x1fee1e=_0x1cbfca[_0x3ee4f6(0x3af)]-0x1,_0x26a4a2;_0x1fee1e>=0x0;_0x1fee1e--)(_0x26a4a2=_0x1cbfca[_0x1fee1e])&&(_0x2b8a65=_0x26a4a2(_0x2b8a65)||_0x2b8a65);return _0x2b8a65;},_0x414503=(_0x280af3,_0x3f338e)=>(_0x1d1de5,_0x5f5292)=>_0x3f338e(_0x1d1de5,_0x5f5292,_0x280af3);let _0xf45f60=class{constructor(_0x44e5cc,_0x195143){const _0x2838df=_0x415dad;this[_0x2838df(0x388)]=_0x44e5cc,this[_0x2838df(0x374)]=_0x195143;}[_0x415dad(0x239)](_0x5a337f){const _0x338a5b=_0x415dad;var _0x114365;const _0x10e338=this['_injector'][_0x338a5b(0x356)](_0x37e704['DocSelectionManagerService']),_0x2e5730=(_0x114365=_0x10e338[_0x338a5b(0x234)]())!=null?_0x114365:[];if(_0x2e5730[_0x338a5b(0x3af)]===0x0)return;const _0x3d063f=_0x5a337f['unitID'],_0x4ba7a2=[{'id':_0x338a5b(0x2c2),'params':{'unitId':_0x3d063f,'actions':null,'textRanges':_0x2e5730}}],_0xb5dbb6=this[_0x338a5b(0x374)][_0x338a5b(0x38a)](_0x5a337f,_0x4ba7a2);if(!_0x3ba40b[_0x338a5b(0x156)](_0xb5dbb6))throw _0xb5dbb6[_0x338a5b(0x291)];const _0x3bc6b4=_0xb5dbb6[_0x338a5b(0x237)][0x0][_0x338a5b(0x3fe)]['textRanges'];Array['isArray'](_0x3bc6b4)&&_0x3bc6b4[_0x338a5b(0x3af)]&&_0x10e338[_0x338a5b(0x1b3)](_0x3bc6b4,{'unitId':_0x3d063f,'subUnitId':_0x3d063f},!0x1);}};_0xf45f60=_0x21e8b1([_0x414503(0x0,_0x49d737['Inject'](_0x49d737[_0x415dad(0x161)])),_0x414503(0x1,_0x3ba40b['ITransformService'])],_0xf45f60);var _0x373ff4=Object[_0x415dad(0x417)],_0x547f4a=(_0x1ab154,_0x505ec7,_0x55db48,_0x2a5cca)=>{const _0x26a2af=_0x415dad;for(var _0x3ec749=_0x2a5cca>0x1?void 0x0:_0x2a5cca?_0x373ff4(_0x505ec7,_0x55db48):_0x505ec7,_0x2a0423=_0x1ab154[_0x26a2af(0x3af)]-0x1,_0x4cda7d;_0x2a0423>=0x0;_0x2a0423--)(_0x4cda7d=_0x1ab154[_0x2a0423])&&(_0x3ec749=_0x4cda7d(_0x3ec749)||_0x3ec749);return _0x3ec749;},_0xbc1fb8=(_0x17d52d,_0x4d6f11)=>(_0xbe0326,_0xb764f3)=>_0x4d6f11(_0xbe0326,_0xb764f3,_0x17d52d);let _0x269e5c=class extends _0x49d737['Disposable']{constructor(_0x163376,_0x22e0c3,_0x1ef0a3,_0xed9567,_0x6c5855,_0xe24a60,_0x5be272,_0x3bf965){const _0x195148=_0x415dad;super(),_0x45e42d(this,_0x195148(0x1fb),new _0x13a994[(_0x195148(0x209))](_0x1ebeaa[_0x195148(0x3f7)][_0x195148(0x33c)])),(this['_docStateChangeManagerService']=_0x163376,this[_0x195148(0x294)]=_0x22e0c3,this['_docTransformIMECacheService']=_0x1ef0a3,this[_0x195148(0x1da)]=_0xed9567,this[_0x195148(0x3a1)]=_0x6c5855,this['_docSyncEditingCollabCursorService']=_0xe24a60,this[_0x195148(0x1a9)]=_0x5be272,this[_0x195148(0x414)]=_0x3bf965,this['_initEntityListener']());}[_0x415dad(0x3c1)](){const _0x21739f=_0x415dad;this[_0x21739f(0x25d)](this[_0x21739f(0x294)][_0x21739f(0x2f6)][_0x21739f(0x360)](_0x43584d=>{const _0x574e2d=_0x21739f,_0x44521a=this['_docStateChangeManagerService'][_0x574e2d(0x42f)][_0x574e2d(0x360)](_0x3e888d=>{const _0x510c64=_0x574e2d;if(_0x3e888d==null)return;const {unitId:_0x406c00,redoState:_0x690205,commandId:_0x4eb4d2}=_0x3e888d;if(_0x406c00!==_0x43584d[_0x510c64(0x1d5)])return;const _0x3e1a22={'id':_0x4eb4d2,'type':_0x49d737[_0x510c64(0x2e4)]['MUTATION'],'params':{'unitId':_0x406c00,'actions':_0x690205[_0x510c64(0x287)],'textRanges':null}};_0x43584d[_0x510c64(0x346)](_0x3e1a22);});if(_0x43584d[_0x574e2d(0x25d)](_0x44521a),_0x43584d instanceof _0x1ebeaa[_0x574e2d(0x33a)]){const _0x3e1cab={'onTransformIME':_0x57d41c=>this[_0x574e2d(0x328)][_0x574e2d(0x1d7)](_0x57d41c),'onTransformState':_0x2014bc=>this[_0x574e2d(0x1da)]['transformStateCache'](_0x2014bc),'onTransformSelections':_0xf0a786=>this[_0x574e2d(0x3a1)]['transformSelections'](_0xf0a786),'onSyncEditingCollabCursor':_0xca0009=>this[_0x574e2d(0x1b7)][_0x574e2d(0x311)](_0xca0009),'onTransformRemoteChangesetByIMECache':_0x39836b=>this[_0x574e2d(0x328)][_0x574e2d(0x3ea)](_0x39836b),'onTransformRemoteChangesetByStateCache':_0x5dbc0e=>this[_0x574e2d(0x1da)][_0x574e2d(0x3ea)](_0x5dbc0e)};_0x43584d[_0x574e2d(0x2e0)](_0x3e1cab);}}));}};_0x269e5c=_0x547f4a([_0xbc1fb8(0x0,_0x49d737[_0x415dad(0x3b7)](_0x985634[_0x415dad(0x425)])),_0xbc1fb8(0x1,_0x49d737[_0x415dad(0x3b7)](_0x1ebeaa[_0x415dad(0x1c0)])),_0xbc1fb8(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3d62e9)),_0xbc1fb8(0x3,_0x49d737[_0x415dad(0x3b7)](_0x2544c2)),_0xbc1fb8(0x4,_0x49d737['Inject'](_0xf45f60)),_0xbc1fb8(0x5,_0x49d737[_0x415dad(0x3b7)](_0x159f52)),_0xbc1fb8(0x6,_0x1c307e[_0x415dad(0x410)]),_0xbc1fb8(0x7,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x177)]))],_0x269e5c);var _0x86bd58=(_0x5c1201=>(_0x5c1201[_0x5c1201[_0x415dad(0x34a)]=0x0]=_0x415dad(0x34a),_0x5c1201[_0x5c1201['OK']=0x1]='OK',_0x5c1201[_0x5c1201[_0x415dad(0x310)]=0x2]=_0x415dad(0x310),_0x5c1201[_0x5c1201['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5c1201[_0x5c1201[_0x415dad(0x213)]=0x4]=_0x415dad(0x213),_0x5c1201[_0x5c1201['UNAUTHENTICATED']=0x5]=_0x415dad(0x2cd),_0x5c1201[_0x5c1201['ALREADY_EXISTS']=0x6]=_0x415dad(0x416),_0x5c1201[_0x5c1201[_0x415dad(0x3ab)]=0x7]=_0x415dad(0x3ab),_0x5c1201[_0x5c1201['TOO_MANY_REQUESTS']=0x8]=_0x415dad(0x1db),_0x5c1201[_0x5c1201[_0x415dad(0x320)]=0x9]=_0x415dad(0x320),_0x5c1201[_0x5c1201['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x5c1201[_0x5c1201[_0x415dad(0x252)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5c1201[_0x5c1201[_0x415dad(0x3ac)]=0xc]=_0x415dad(0x3ac),_0x5c1201[_0x5c1201['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5c1201[_0x5c1201['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x415dad(0x2ae),_0x5c1201[_0x5c1201['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x415dad(0x336),_0x5c1201[_0x5c1201['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x415dad(0x258),_0x5c1201[_0x5c1201[_0x415dad(0x2b9)]=0x64]=_0x415dad(0x2b9),_0x5c1201[_0x5c1201[_0x415dad(0x159)]=0x65]=_0x415dad(0x159),_0x5c1201[_0x5c1201[_0x415dad(0x165)]=0xc9]=_0x415dad(0x165),_0x5c1201[_0x5c1201[_0x415dad(0x3b1)]=0xca]=_0x415dad(0x3b1),_0x5c1201[_0x5c1201[_0x415dad(0x430)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5c1201[_0x5c1201[_0x415dad(0x167)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5c1201[_0x5c1201['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x415dad(0x160),_0x5c1201[_0x5c1201[_0x415dad(0x1a2)]=0x1773]=_0x415dad(0x1a2),_0x5c1201[_0x5c1201[_0x415dad(0x204)]=0x1b59]=_0x415dad(0x204),_0x5c1201[_0x5c1201['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5c1201[_0x5c1201['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x415dad(0x3e5),_0x5c1201[_0x5c1201[_0x415dad(0x302)]=0x1b5c]=_0x415dad(0x302),_0x5c1201[_0x5c1201['APPLY_DUPLICATED']=0x1b5d]=_0x415dad(0x368),_0x5c1201[_0x5c1201[_0x415dad(0x23a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c1201[_0x5c1201[_0x415dad(0x345)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5c1201[_0x5c1201[_0x415dad(0x3e3)]=0x232a]=_0x415dad(0x3e3),_0x5c1201[_0x5c1201[_0x415dad(0x1cc)]=0x232b]=_0x415dad(0x1cc),_0x5c1201[_0x5c1201[_0x415dad(0x15f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5c1201[_0x5c1201[_0x415dad(0x1e4)]=0x232d]=_0x415dad(0x1e4),_0x5c1201[_0x5c1201[_0x415dad(0x2f2)]=0x2711]=_0x415dad(0x2f2),_0x5c1201[_0x5c1201[_0x415dad(0x2e2)]=0x2712]=_0x415dad(0x2e2),_0x5c1201[_0x5c1201[_0x415dad(0x2f4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5c1201[_0x5c1201['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5c1201[_0x5c1201[_0x415dad(0x274)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5c1201[_0x5c1201[_0x415dad(0x2a8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5c1201[_0x5c1201[_0x415dad(0x1f2)]=0x271c]=_0x415dad(0x1f2),_0x5c1201[_0x5c1201[_0x415dad(0x379)]=0x271d]=_0x415dad(0x379),_0x5c1201[_0x5c1201[_0x415dad(0x216)]=0x271e]=_0x415dad(0x216),_0x5c1201[_0x5c1201[_0x415dad(0x223)]=0x271f]=_0x415dad(0x223),_0x5c1201[_0x5c1201['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x415dad(0x3e1),_0x5c1201[_0x5c1201[_0x415dad(0x2ad)]=0x2af9]=_0x415dad(0x2ad),_0x5c1201[_0x5c1201[_0x415dad(0x1d6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5c1201[_0x5c1201[_0x415dad(0x34d)]=0x2ee2]=_0x415dad(0x34d),_0x5c1201[_0x5c1201['INVITE_CODE_REQUIRED']=0x2ee3]=_0x415dad(0x2aa),_0x5c1201[_0x5c1201['USER_NOT_INVITED_CODE']=0x2ee4]=_0x415dad(0x344),_0x5c1201[_0x5c1201[_0x415dad(0x2a6)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5c1201[_0x5c1201[_0x415dad(0x397)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c1201[_0x5c1201[_0x415dad(0x1d3)]=0x32ca]=_0x415dad(0x1d3),_0x5c1201[_0x5c1201[_0x415dad(0x205)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5c1201[_0x5c1201[_0x415dad(0x35f)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5c1201[_0x5c1201[_0x415dad(0x41a)]=0x36b2]=_0x415dad(0x41a),_0x5c1201[_0x5c1201[_0x415dad(0x25f)]=0x36b3]=_0x415dad(0x25f),_0x5c1201[_0x5c1201['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x415dad(0x32d),_0x5c1201[_0x5c1201[_0x415dad(0x3d9)]=0x36b5]=_0x415dad(0x3d9),_0x5c1201[_0x5c1201[_0x415dad(0x3ef)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5c1201[_0x5c1201[_0x415dad(0x412)]=0x36b7]=_0x415dad(0x412),_0x5c1201[_0x5c1201[_0x415dad(0x158)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5c1201[_0x5c1201[_0x415dad(0x2bb)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5c1201[_0x5c1201[_0x415dad(0x29b)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5c1201[_0x5c1201['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x415dad(0x33f),_0x5c1201[_0x5c1201[_0x415dad(0x34f)]=0x37dd]=_0x415dad(0x34f),_0x5c1201[_0x5c1201['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x5c1201[_0x5c1201[_0x415dad(0x28d)]=0x3a9a]=_0x415dad(0x28d),_0x5c1201[_0x5c1201[_0x415dad(0x228)]=0x3a9b]=_0x415dad(0x228),_0x5c1201[_0x5c1201[_0x415dad(0x23f)]=0x3a9c]=_0x415dad(0x23f),_0x5c1201[_0x5c1201[_0x415dad(0x1f1)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5c1201[_0x5c1201[_0x415dad(0x249)]=0x3a9e]=_0x415dad(0x249),_0x5c1201[_0x5c1201[_0x415dad(0x3fc)]=0x3a9f]=_0x415dad(0x3fc),_0x5c1201[_0x5c1201[_0x415dad(0x3d5)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5c1201[_0x5c1201[_0x415dad(0x321)]=-0x1]=_0x415dad(0x321),_0x5c1201))(_0x86bd58||{});function _0x263ac0(_0x46832b){const _0x36d5ca=_0x415dad;var _0x4109ed,_0x3615fe;const _0x516576=(_0x4109ed=_0x46832b['stageInfo'])==null?void 0x0:_0x4109ed[_0x36d5ca(0x2a9)],_0x5f0f14=((_0x3615fe=_0x46832b[_0x36d5ca(0x404)])==null?void 0x0:_0x3615fe[_0x36d5ca(0x3b0)])||0x0;return _0x516576===_0x1d2500['FormulaExecuteStageType'][_0x36d5ca(0x20d)]&&_0x5f0f14>0x0;}function _0x13ed33(_0x11da17){const _0x16a767=_0x415dad;return _0x11da17['functionsExecutedState']===_0x1d2500[_0x16a767(0x199)][_0x16a767(0x431)];}var _0x1d8db7=Object[_0x415dad(0x417)],_0x5ee646=(_0x86df25,_0x218992,_0x59ce7e,_0x74c7d9)=>{for(var _0x5676d1=_0x74c7d9>0x1?void 0x0:_0x74c7d9?_0x1d8db7(_0x218992,_0x59ce7e):_0x218992,_0x5f43b9=_0x86df25['length']-0x1,_0xbfe914;_0x5f43b9>=0x0;_0x5f43b9--)(_0xbfe914=_0x86df25[_0x5f43b9])&&(_0x5676d1=_0xbfe914(_0x5676d1)||_0x5676d1);return _0x5676d1;},_0x18e543=(_0x57424f,_0x59f84f)=>(_0x576e1d,_0x11ce59)=>_0x59f84f(_0x576e1d,_0x11ce59,_0x57424f);const _0x21960c=_0x415dad(0x316),_0x2d8342='/universer-api/license/formula/limit/start',_0x41c940=_0x415dad(0x14c);let _0x51ff3e=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x3f931d,_0x5ce167,_0x1f3c85,_0x1c0897,_0x2d73b7,_0x2506c4,_0x59a992){const _0x403dd7=_0x415dad;super(),_0x45e42d(this,_0x403dd7(0x17f),null),_0x45e42d(this,_0x403dd7(0x281),0x0),_0x45e42d(this,_0x403dd7(0x276),0x0),_0x45e42d(this,_0x403dd7(0x1b4),[]),_0x45e42d(this,_0x403dd7(0x1c5),0x0),(this[_0x403dd7(0x1a9)]=_0x3f931d,this[_0x403dd7(0x383)]=_0x5ce167,this[_0x403dd7(0x42a)]=_0x1f3c85,this[_0x403dd7(0x262)]=_0x1c0897,this[_0x403dd7(0x365)]=_0x2d73b7,this['_logService']=_0x2506c4,this[_0x403dd7(0x414)]=_0x59a992,this['_initCommandInterceptor']());}[_0x415dad(0x1be)](){const _0x161af8=_0x415dad;this[_0x161af8(0x25d)](this[_0x161af8(0x383)][_0x161af8(0x3b6)]((_0x3bfa7a,_0x13cc5c)=>{const _0x35b5f3=_0x161af8;var _0x522698;if(_0x3bfa7a['id']!==_0x1d2500['SetFormulaCalculationStartMutation']['id'])return;const _0x125158=_0x3bfa7a[_0x35b5f3(0x3fe)];if(!this['_hasFormulaInDirtyRanges']((_0x522698=_0x125158[_0x35b5f3(0x1ef)])!=null?_0x522698:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x35b5f3(0x1c1)](_0x3bfa7a,_0x13cc5c),this[_0x35b5f3(0x180)](),new _0x49d737[(_0x35b5f3(0x2ac))]();})),this[_0x161af8(0x25d)](this[_0x161af8(0x383)][_0x161af8(0x2d2)]((_0x894a73,_0x61070d)=>{const _0x4fb2b8=_0x161af8;if(_0x894a73['id']!==_0x1d2500[_0x4fb2b8(0x3c4)]['id'])return;const _0x3bac60=_0x894a73[_0x4fb2b8(0x3fe)];if(_0x263ac0(_0x3bac60)){const _0x2fb809=_0x49d737[_0x4fb2b8(0x230)]();this[_0x4fb2b8(0x1b4)][_0x4fb2b8(0x2c1)](_0x2fb809),this['_startCalculationLimit'](_0x2fb809);}else{if(_0x13ed33(_0x3bac60)&&this['_taskIds'][_0x4fb2b8(0x3af)]>0x0){const _0xd94cfe=this[_0x4fb2b8(0x1b4)][_0x4fb2b8(0x166)]();this[_0x4fb2b8(0x2fd)](_0xd94cfe);}}}));}[_0x415dad(0x1bb)](){const _0x5b5529=_0x415dad;super[_0x5b5529(0x1bb)](),this['_clearPolling'](),this[_0x5b5529(0x1b4)]=[],this['_currentUsage']=0x0,this[_0x5b5529(0x281)]=0x0,this[_0x5b5529(0x1c5)]=0x0;}async[_0x415dad(0x1c1)](_0x14ceb5,_0x2d945e){const _0x85865d=_0x415dad;for(let _0x4ac708=0x0;_0x4ac708<0x1e;_0x4ac708++)try{if(await this[_0x85865d(0x373)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x14ceb5,_0x2d945e),this['_messageService'][_0x85865d(0x23d)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x573e9b[_0x85865d(0x2c5)][_0x85865d(0x3bc)]});return;}await new Promise(_0x2533c6=>{const _0x5a5cb1=_0x85865d;this['_pollingInterval']=window[_0x5a5cb1(0x339)](_0x2533c6,0x3e8);});}catch(_0x529354){this[_0x85865d(0x2a0)][_0x85865d(0x291)](_0x529354);}this['_messageService'][_0x85865d(0x23d)]({'content':this[_0x85865d(0x414)]['t'](_0x85865d(0x267)),'type':_0x573e9b[_0x85865d(0x2c5)][_0x85865d(0x358)]});}[_0x415dad(0x2b5)](_0x2cf4e3,_0x3dd23f){const _0x2e42dc=_0x415dad;try{this[_0x2e42dc(0x383)][_0x2e42dc(0x27d)](_0x2cf4e3['id'],_0x2cf4e3[_0x2e42dc(0x3fe)],_0x3dd23f);}catch(_0x4df4ca){this[_0x2e42dc(0x2a0)]['error'](_0x4df4ca);}}[_0x415dad(0x399)](_0x14d9f6,_0x42206d){const _0x3b1b27=_0x415dad;_0x42206d<this['_lastResponseTimestamp']||(this[_0x3b1b27(0x1c5)]=_0x42206d,this[_0x3b1b27(0x281)]=Number[_0x3b1b27(0x34e)](_0x14d9f6[_0x3b1b27(0x1e9)]),this[_0x3b1b27(0x276)]=Number[_0x3b1b27(0x34e)](_0x14d9f6[_0x3b1b27(0x3c7)]));}async[_0x415dad(0x323)](_0x4fc250){const _0x5ece0d=_0x415dad;var _0x31e65f,_0x39659b;const _0x40f335=Date[_0x5ece0d(0x150)]();try{const _0x386b51=((_0x31e65f=this[_0x5ece0d(0x42a)][_0x5ece0d(0x35d)](_0x1ebeaa[_0x5ece0d(0x3d0)]))==null?void 0x0:_0x31e65f['startFormulaLimitUrl'])||_0x2d8342,_0x3d3596=(await this[_0x5ece0d(0x262)][_0x5ece0d(0x19a)](_0x386b51,{'body':JSON[_0x5ece0d(0x19d)]({'taskId':_0x4fc250})}))[_0x5ece0d(0x314)];if(((_0x39659b=_0x3d3596[_0x5ece0d(0x291)])==null?void 0x0:_0x39659b[_0x5ece0d(0x245)])!==_0x86bd58['OK'])return;this['_setFormulaLimitStatus'](_0x3d3596[_0x5ece0d(0x2ee)],_0x40f335);}catch(_0x40f1fc){this[_0x5ece0d(0x2a0)]['error'](_0x40f1fc);}}async[_0x415dad(0x373)](_0x476461){const _0xd09687=_0x415dad;var _0x1f3d32,_0x209bb4;const _0x149844=Date['now']();try{const _0x279998=((_0x1f3d32=this[_0xd09687(0x42a)]['getConfig'](_0x1ebeaa[_0xd09687(0x3d0)]))==null?void 0x0:_0x1f3d32['getFormulaLimitStatusUrl'])||_0x21960c,_0x4af77c=_0x476461?_0x279998+_0xd09687(0x330)+encodeURIComponent(_0x476461):_0x279998,_0x529f61=(await this[_0xd09687(0x262)][_0xd09687(0x356)](_0x4af77c))[_0xd09687(0x314)];if(((_0x209bb4=_0x529f61['error'])==null?void 0x0:_0x209bb4[_0xd09687(0x245)])!==_0x86bd58['OK'])return;this[_0xd09687(0x399)](_0x529f61['limitInfo'],_0x149844);}catch(_0x26015a){this['_logService'][_0xd09687(0x291)](_0x26015a);}}async[_0x415dad(0x2fd)](_0x1e661f){const _0x17f43f=_0x415dad;var _0x4d00c3,_0x5c01bd;const _0x419607=Date[_0x17f43f(0x150)]();try{const _0xcbdd9d=((_0x4d00c3=this[_0x17f43f(0x42a)][_0x17f43f(0x35d)](_0x1ebeaa[_0x17f43f(0x3d0)]))==null?void 0x0:_0x4d00c3[_0x17f43f(0x212)])||_0x41c940,_0x2f8d88=(await this[_0x17f43f(0x262)][_0x17f43f(0x19a)](_0xcbdd9d,{'body':JSON['stringify']({'taskId':_0x1e661f})}))[_0x17f43f(0x314)];if(((_0x5c01bd=_0x2f8d88[_0x17f43f(0x291)])==null?void 0x0:_0x5c01bd[_0x17f43f(0x245)])!==_0x86bd58['OK'])return;this[_0x17f43f(0x399)](_0x2f8d88[_0x17f43f(0x2ee)],_0x419607);}catch(_0x5f4c4c){this['_logService'][_0x17f43f(0x291)](_0x5f4c4c);}}[_0x415dad(0x2ed)](){const _0x3bd152=_0x415dad;return this[_0x3bd152(0x281)]===0x0?!0x0:this[_0x3bd152(0x281)]-this[_0x3bd152(0x276)]>0x0;}[_0x415dad(0x2c0)](){const _0x542d2a=_0x415dad;this[_0x542d2a(0x17f)]&&(clearTimeout(this[_0x542d2a(0x17f)]),this[_0x542d2a(0x17f)]=null);}['_showGuardMessage'](){const _0x8d2327=_0x415dad;this[_0x8d2327(0x1a9)]['show']({'content':this[_0x8d2327(0x414)]['t'](_0x8d2327(0x1f6)),'type':_0x573e9b[_0x8d2327(0x2c5)][_0x8d2327(0x305)]});}[_0x415dad(0x3f3)](_0x5b2e8d){const _0x3b63e3=_0x415dad;for(const _0x314636 of _0x5b2e8d){const {unitId:_0x312ad0,sheetId:_0x2a0713,range:_0x37b592}=_0x314636,_0x554eb7=this[_0x3b63e3(0x365)][_0x3b63e3(0x2b7)](_0x312ad0);if(!_0x554eb7)continue;const _0x3694dd=_0x554eb7[_0x3b63e3(0x2dd)](_0x2a0713);if(!_0x3694dd)continue;const _0x449c58=_0x3694dd[_0x3b63e3(0x28c)]();for(let _0x52b47d=_0x37b592[_0x3b63e3(0x3fb)];_0x52b47d<=_0x37b592[_0x3b63e3(0x2c9)];_0x52b47d++)for(let _0x56be66=_0x37b592['startColumn'];_0x56be66<=_0x37b592[_0x3b63e3(0x37d)];_0x56be66++){const _0x3ba065=_0x449c58[_0x3b63e3(0x31a)](_0x52b47d,_0x56be66);if(_0x3ba065&&(_0x49d737['isFormulaString'](_0x3ba065['f'])||_0x49d737['isFormulaId'](_0x3ba065['si'])))return!0x0;}}return!0x1;}};_0x51ff3e=_0x5ee646([_0x18e543(0x0,_0x49d737[_0x415dad(0x3b7)](_0x1c307e['IMessageService'])),_0x18e543(0x1,_0x49d737[_0x415dad(0x16c)]),_0x18e543(0x2,_0x49d737[_0x415dad(0x1e8)]),_0x18e543(0x3,_0x49d737[_0x415dad(0x3b7)](_0xcfaf25[_0x415dad(0x14e)])),_0x18e543(0x4,_0x49d737['IUniverInstanceService']),_0x18e543(0x5,_0x49d737['ILogService']),_0x18e543(0x6,_0x49d737[_0x415dad(0x3b7)](_0x49d737['LocaleService']))],_0x51ff3e);var _0x2a1397=Object['getOwnPropertyDescriptor'],_0x4453c6=(_0x5534b1,_0x51436b,_0x26acf4,_0xf898dd)=>{for(var _0x13846e=_0xf898dd>0x1?void 0x0:_0xf898dd?_0x2a1397(_0x51436b,_0x26acf4):_0x51436b,_0x25489b=_0x5534b1['length']-0x1,_0x57ac01;_0x25489b>=0x0;_0x25489b--)(_0x57ac01=_0x5534b1[_0x25489b])&&(_0x13846e=_0x57ac01(_0x13846e)||_0x13846e);return _0x13846e;},_0x31b436=(_0x3bdd41,_0x3a9731)=>(_0x6f8dc1,_0x511f83)=>_0x3a9731(_0x6f8dc1,_0x511f83,_0x3bdd41);let _0x5aecc6=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0x449809,_0x3af919,_0x595027){const _0x1488b4=_0x415dad;super(),_0x45e42d(this,_0x1488b4(0x2c8),new Map()),_0x45e42d(this,_0x1488b4(0x34b),new Map()),_0x45e42d(this,_0x1488b4(0x378),!0x1),(this[_0x1488b4(0x42a)]=_0x449809,this[_0x1488b4(0x382)]=_0x3af919,this[_0x1488b4(0x3ff)]=_0x595027);}[_0x415dad(0x30a)](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x415dad(0x3a7)](){const _0xbe2ac0=_0x415dad;return this[_0xbe2ac0(0x34b)];}[_0x415dad(0x1bb)](){const _0xd5c1a6=_0x415dad;this[_0xd5c1a6(0x1cd)]()['then'](()=>super[_0xd5c1a6(0x1bb)]());}async[_0x415dad(0x318)](_0x639427){const _0x2015f5=_0x415dad;return this['_disabled']?null:this[_0x2015f5(0x382)]['getItem'](_0x1ebeaa[_0x2015f5(0x1dc)](_0x639427));}async[_0x415dad(0x36b)](_0x2cff72,_0x369cd8){const _0x36b3cf=_0x415dad;return!!this['_localStorageService'][_0x36b3cf(0x398)](_0x2cff72,_0x369cd8);}['updateOfflineData'](_0x937d65,_0x12b89f,_0x11285c,_0x3d48fe){const _0x49b8ca=_0x415dad,_0x8bae48=this[_0x49b8ca(0x3ff)]['getCurrentRevOfUnit'](_0x937d65);this[_0x49b8ca(0x2c8)]['set'](_0x937d65,{'unitID':_0x937d65,'type':_0x12b89f,'awaitingChangeset':_0x11285c,'mutations':_0x3d48fe,'rev':_0x8bae48}),this[_0x49b8ca(0x34b)][_0x49b8ca(0x2c3)](_0x937d65)||this[_0x49b8ca(0x3f2)](_0x937d65);}[_0x415dad(0x3f2)](_0x1f8e32){const _0x242eec=_0x415dad,_0x2b189a=this['_getSaveTimeout']();_0x2b189a===0x0?this['_saveCache'](_0x1f8e32):this[_0x242eec(0x34b)][_0x242eec(0x18b)](_0x1f8e32,setTimeout(()=>this[_0x242eec(0x348)](_0x1f8e32),_0x2b189a));}['_getSaveTimeout'](){const _0x28c337=_0x415dad;var _0x455961;return(_0x455961=this[_0x28c337(0x42a)]['getConfig'](_0x1ebeaa[_0x28c337(0x313)]))!=null?_0x455961:_0x1ebeaa[_0x28c337(0x22b)];}[_0x415dad(0x348)](_0x2c79f9){const _0x5c00fa=_0x415dad,_0x306d2c=this[_0x5c00fa(0x34b)]['get'](_0x2c79f9);return _0x306d2c!==void 0x0&&window[_0x5c00fa(0x38d)](_0x306d2c),this[_0x5c00fa(0x382)][_0x5c00fa(0x398)](_0x1ebeaa['getLocalCacheKey'](_0x2c79f9),this[_0x5c00fa(0x2c8)][_0x5c00fa(0x356)](_0x2c79f9))[_0x5c00fa(0x275)](()=>this[_0x5c00fa(0x34b)][_0x5c00fa(0x227)](_0x2c79f9));}async[_0x415dad(0x1cd)](){const _0x145efb=_0x415dad,_0x4e9ff7=[];this[_0x145efb(0x34b)][_0x145efb(0x415)]((_0x5f1087,_0x1154ea)=>{const _0xee4779=_0x145efb;window[_0xee4779(0x38d)](_0x5f1087),_0x4e9ff7[_0xee4779(0x2c1)](this['_saveCache'](_0x1154ea)['then'](()=>{const _0x714793=_0xee4779;this[_0x714793(0x34b)][_0x714793(0x227)](_0x1154ea);}));}),await Promise[_0x145efb(0x2e5)](_0x4e9ff7);}};_0x5aecc6=_0x4453c6([_0x31b436(0x0,_0x49d737['IConfigService']),_0x31b436(0x1,_0x49d737[_0x415dad(0x1d4)]),_0x31b436(0x2,_0x49d737[_0x415dad(0x3b7)](_0x3ba40b[_0x415dad(0x38b)]))],_0x5aecc6);class _0x1c2050 extends _0x49d737[_0x415dad(0x352)]{constructor(){const _0x1ca400=_0x415dad;super(),_0x45e42d(this,_0x1ca400(0x24c)),this[_0x1ca400(0x24c)]=_0x13a994[_0x1ca400(0x42e)](window,'popstate')[_0x1ca400(0x37e)](_0x13a994[_0x1ca400(0x2c6)](this['dispose$']),_0x13a994[_0x1ca400(0x3c3)](0x1),_0x13a994['mapTo'](void 0x0));}[_0x415dad(0x2f3)](_0xd87651,_0x209554,_0x5503be=!0x1){const _0x465a6f=_0x415dad,_0x15872f=new URL(window[_0x465a6f(0x21e)][_0x465a6f(0x260)]);_0x15872f[_0x465a6f(0x270)][_0x465a6f(0x18b)](_0xd87651,_0x209554),_0x5503be?window['history'][_0x465a6f(0x256)]('','',_0x15872f[_0x465a6f(0x37c)]()):window[_0x465a6f(0x16a)][_0x465a6f(0x26c)]('','',_0x15872f[_0x465a6f(0x37c)]());}['removeParam'](_0x5df05c,_0x1046eb=!0x1){const _0x2719bb=_0x415dad,_0x4a54c6=new URL(window[_0x2719bb(0x21e)][_0x2719bb(0x260)]);_0x4a54c6[_0x2719bb(0x270)][_0x2719bb(0x227)](_0x5df05c),_0x1046eb?window[_0x2719bb(0x16a)][_0x2719bb(0x256)]('','',_0x4a54c6[_0x2719bb(0x37c)]()):window[_0x2719bb(0x16a)][_0x2719bb(0x26c)]('','',_0x4a54c6[_0x2719bb(0x37c)]());}[_0x415dad(0x1cb)](_0x2287c2){const _0x2dd5b5=_0x415dad;var _0x43f9dd;return(_0x43f9dd=new URL(window[_0x2dd5b5(0x21e)][_0x2dd5b5(0x260)])[_0x2dd5b5(0x270)][_0x2dd5b5(0x356)](_0x2287c2))!=null?_0x43f9dd:void 0x0;}}var _0x2eec5f=Object[_0x415dad(0x405)],_0x29ad72=Object[_0x415dad(0x417)],_0x461c26=(_0x1f376d,_0x4683ce,_0x5dac37)=>_0x4683ce in _0x1f376d?_0x2eec5f(_0x1f376d,_0x4683ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dac37}):_0x1f376d[_0x4683ce]=_0x5dac37,_0xd90f0=(_0x2b97be,_0x359713,_0x25f34d,_0x1f71e7)=>{for(var _0x85f79=_0x1f71e7>0x1?void 0x0:_0x1f71e7?_0x29ad72(_0x359713,_0x25f34d):_0x359713,_0x531436=_0x2b97be['length']-0x1,_0x39891c;_0x531436>=0x0;_0x531436--)(_0x39891c=_0x2b97be[_0x531436])&&(_0x85f79=_0x39891c(_0x85f79)||_0x85f79);return _0x85f79;},_0xa12808=(_0x36a7a8,_0x201176)=>(_0x19fb26,_0x5d153f)=>_0x201176(_0x19fb26,_0x5d153f,_0x36a7a8),_0x26f39f=(_0x57212c,_0x4243e6,_0x53827a)=>_0x461c26(_0x57212c,_0x4243e6+'',_0x53827a);const _0x493364=_0x415dad(0x189);_0x2ad16c[_0x415dad(0x33e)]=class extends _0x49d737['Plugin']{constructor(_0x2e57fb=_0x17c1be,_0x47c9a9,_0x3b25cd,_0x543561){const _0x167bc8=_0x415dad;super(),this[_0x167bc8(0x186)]=_0x2e57fb,this[_0x167bc8(0x428)]=_0x47c9a9,this[_0x167bc8(0x388)]=_0x3b25cd,this['_configService']=_0x543561;const {..._0x1810c7}=_0x49d737['merge']({},_0x17c1be,this['_config']);this[_0x167bc8(0x42a)][_0x167bc8(0x246)](_0xfec0b7,_0x1810c7);}['onStarting'](){const _0xed07d7=_0x415dad;this['_registerDependencies'](),this[_0xed07d7(0x188)]();}[_0x415dad(0x420)](){this['_registerRenderDependencies']();}[_0x415dad(0x26f)](){const _0x325780=_0x415dad;var _0x3bed9a;const _0x3421be=[[_0x9c3829],[_0x51ff3e],[_0xf45f60],[_0x3d62e9],[_0x2544c2],[_0x159f52],[_0x37350b,{'useClass':_0x1c2050}],[_0xcfaf25[_0x325780(0x30b)],{'useClass':_0xcfaf25['WebSocketService']}],[_0x1ebeaa[_0x325780(0x21d)],{'useClass':_0x5aecc6}],[_0x2ad16c[_0x325780(0x16e)]],[_0x269e5c],[_0x51d0d6],[_0x3c63d8],[_0x232dcb],[_0x2ad16c[_0x325780(0x326)]]];this[_0x325780(0x186)][_0x325780(0x392)]&&_0x3421be[_0x325780(0x2c1)]([_0x49f423]),_0x49d737[_0x325780(0x21a)](this['_injector'],_0x49d737['mergeOverrideWithDependencies'](_0x3421be,(_0x3bed9a=this[_0x325780(0x186)])==null?void 0x0:_0x3bed9a[_0x325780(0x1eb)]));}[_0x415dad(0x1b9)](){const _0x574e75=_0x415dad;this[_0x574e75(0x25d)](this[_0x574e75(0x428)]['registerRenderModule'](_0x49d737[_0x574e75(0x152)][_0x574e75(0x303)],[_0x24d610])),this[_0x574e75(0x25d)](this[_0x574e75(0x428)]['registerRenderModule'](_0x49d737[_0x574e75(0x152)][_0x574e75(0x369)],[_0x1ecd79]));}['_initDependencies'](){const _0x447e7a=_0x415dad;_0x49d737['touchDependencies'](this[_0x447e7a(0x388)],[[_0x3c63d8],[_0x2ad16c['DesktopCollaborationStatusDisplayController']],[_0x269e5c],[_0x51d0d6],[_0x2ad16c[_0x447e7a(0x326)]],[_0x51ff3e]]),this['_config'][_0x447e7a(0x392)]&&_0x49d737[_0x447e7a(0x2e6)](this['_injector'],[[_0x49f423]]);}},_0x26f39f(_0x2ad16c[_0x415dad(0x33e)],_0x415dad(0x1ca),_0x493364),_0x2ad16c['UniverCollaborationClientUIPlugin']=_0xd90f0([_0x49d737['DependentOn'](_0x1ebeaa[_0x415dad(0x3ec)]),_0xa12808(0x1,_0x3b0527[_0x415dad(0x2f9)]),_0xa12808(0x2,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0xa12808(0x3,_0x49d737[_0x415dad(0x1e8)])],_0x2ad16c['UniverCollaborationClientUIPlugin']);var _0x2be350=Object['getOwnPropertyDescriptor'],_0x48bd57=(_0x2d903e,_0x48466a,_0x2771f5,_0x39872b)=>{const _0x298510=_0x415dad;for(var _0x1aed9d=_0x39872b>0x1?void 0x0:_0x39872b?_0x2be350(_0x48466a,_0x2771f5):_0x48466a,_0x3fa382=_0x2d903e[_0x298510(0x3af)]-0x1,_0x378d21;_0x3fa382>=0x0;_0x3fa382--)(_0x378d21=_0x2d903e[_0x3fa382])&&(_0x1aed9d=_0x378d21(_0x1aed9d)||_0x1aed9d);return _0x1aed9d;},_0x224cf3=(_0x244bfd,_0x4b8c27)=>(_0x3f5255,_0xc8c8a5)=>_0x4b8c27(_0x3f5255,_0xc8c8a5,_0x244bfd);_0x2ad16c[_0x415dad(0x338)]=class extends _0x1ebeaa[_0x415dad(0x224)]{constructor(_0x5232cd,_0x383cee,_0x18a2b5,_0x93feb5,_0x568502){super(_0x5232cd,_0x383cee,_0x18a2b5,_0x93feb5,_0x568502);}async[_0x415dad(0x284)](_0x1b6cbe){const _0x1890d6=_0x415dad,_0x1c08ee=await this[_0x1890d6(0x3a8)](),_0x4f3782=this[_0x1890d6(0x1ff)](_0x1b6cbe,_0x1c08ee);return this[_0x1890d6(0x3cb)](_0x4f3782);}['_createSocketURL'](_0x6a2d20,_0x1e77a2){const _0x57c2c0=_0x415dad,_0x274bf6=typeof window>'u'?new URL(_0x6a2d20):new URL(_0x6a2d20,window[_0x57c2c0(0x21e)][_0x57c2c0(0x25e)]);_0x274bf6[_0x57c2c0(0x270)][_0x57c2c0(0x18b)](_0x57c2c0(0x2a5),_0x1e77a2);const _0x466e85=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x57c2c0(0x18e)]);return _0x466e85[_0x57c2c0(0x356)](_0x57c2c0(0x3c8))&&_0x274bf6[_0x57c2c0(0x270)][_0x57c2c0(0x18b)](_0x57c2c0(0x3c8),_0x466e85[_0x57c2c0(0x356)]('runId')),_0x274bf6[_0x57c2c0(0x37c)]();}async[_0x415dad(0x3a8)](){const _0x2dec94=_0x415dad;var _0x173042,_0x58a038,_0x4d7d36;const _0x6f38a4=this[_0x2dec94(0x42a)][_0x2dec94(0x35d)](_0x1ebeaa[_0x2dec94(0x3d0)]),_0xacfb71=(_0x173042=_0x6f38a4==null?void 0x0:_0x6f38a4[_0x2dec94(0x280)])!=null?_0x173042:_0x1ebeaa['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4d7d36=(_0x58a038=(await this['_httpService']['get'](_0xacfb71,{'headers':{'Content-Type':_0x2dec94(0x2c4)}}))['body'])==null?void 0x0:_0x58a038[_0x2dec94(0x2be)])!=null?_0x4d7d36:'';}},_0x2ad16c[_0x415dad(0x338)]=_0x48bd57([_0x224cf3(0x0,_0x49d737[_0x415dad(0x3b7)](_0x49d737[_0x415dad(0x161)])),_0x224cf3(0x1,_0x49d737['Inject'](_0xcfaf25['HTTPService'])),_0x224cf3(0x2,_0x49d737[_0x415dad(0x1e8)]),_0x224cf3(0x3,_0x49d737[_0x415dad(0x3a5)]),_0x224cf3(0x4,_0x3ba40b[_0x415dad(0x1f7)])],_0x2ad16c[_0x415dad(0x338)]);var _0x3ad0f0=Object[_0x415dad(0x417)],_0x189f56=(_0x14d837,_0x16c237,_0x23904c,_0x42c477)=>{const _0x4cc090=_0x415dad;for(var _0x3a43b1=_0x42c477>0x1?void 0x0:_0x42c477?_0x3ad0f0(_0x16c237,_0x23904c):_0x16c237,_0x5f2554=_0x14d837[_0x4cc090(0x3af)]-0x1,_0x402a29;_0x5f2554>=0x0;_0x5f2554--)(_0x402a29=_0x14d837[_0x5f2554])&&(_0x3a43b1=_0x402a29(_0x3a43b1)||_0x3a43b1);return _0x3a43b1;},_0x42ca8a=(_0x28f4c9,_0x322ccc)=>(_0x3a5661,_0x3e0d7d)=>_0x322ccc(_0x3a5661,_0x3e0d7d,_0x28f4c9);_0x2ad16c[_0x415dad(0x266)]=class extends _0x49d737[_0x415dad(0x1bc)]{constructor(_0xf7de10,_0x2d4470,_0x5da6f3){const _0x44633d=_0x415dad;super(),this[_0x44633d(0x2e3)]=_0xf7de10,this[_0x44633d(0x262)]=_0x2d4470,this[_0x44633d(0x42a)]=_0x5da6f3;}async[_0x415dad(0x2fa)](_0x267944,_0x4bc0f5,_0x7cb481,..._0x2a57ff){const _0x46c4c9=_0x415dad;var _0x9f01fb,_0x3200a5,_0x1060f4,_0x1b0610;const _0x2213b9=this[_0x46c4c9(0x2e3)][_0x46c4c9(0x285)]();if(!_0x2213b9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x444098=((_0x9f01fb=this[_0x46c4c9(0x42a)][_0x46c4c9(0x35d)](_0x1ebeaa[_0x46c4c9(0x21f)]))!=null?_0x9f01fb:_0x1ebeaa['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x267944+_0x46c4c9(0x250)+_0x4bc0f5,_0x59709a=new URL(window['location'][_0x46c4c9(0x260)]),_0x3eb148={'scriptId':_0x267944,'runId':(_0x3200a5=_0x59709a[_0x46c4c9(0x270)][_0x46c4c9(0x356)](_0x46c4c9(0x3c8)))!=null?_0x3200a5:'','function':_0x4bc0f5,'unitId':_0x2213b9['getUnitId'](),'argsOfFunction':JSON[_0x46c4c9(0x19d)](_0x2a57ff),'invokeId':(_0x1060f4=_0x7cb481[_0x46c4c9(0x1ed)])!=null?_0x1060f4:'','executionId':(_0x1b0610=_0x7cb481['executionId'])!=null?_0x1b0610:''};try{const _0xe7e73f=await this['_httpService'][_0x46c4c9(0x19a)](_0x444098,{'body':_0x3eb148});return _0xe7e73f[_0x46c4c9(0x314)][_0x46c4c9(0x291)]&&_0xe7e73f['body']['error'][_0x46c4c9(0x245)]!==_0x86bd58['OK']?_0x46c4c9(0x337):_0xe7e73f[_0x46c4c9(0x314)][_0x46c4c9(0x380)];}catch{return _0x46c4c9(0x337);}}},_0x2ad16c['RemoteUniscriptService']=_0x189f56([_0x42ca8a(0x0,_0x49d737[_0x415dad(0x3e4)]),_0x42ca8a(0x1,_0x49d737['Inject'](_0xcfaf25['HTTPService'])),_0x42ca8a(0x2,_0x49d737[_0x415dad(0x1e8)])],_0x2ad16c[_0x415dad(0x266)]);const _0x5e28c6=0x7530,_0x37e42c=_0x415dad(0x351);class _0x2d15ae extends _0x49d737[_0x415dad(0x1bc)]{constructor(){const _0x403d48=_0x415dad;super(),_0x45e42d(this,_0x403d48(0x36a),_0x49d737[_0x403d48(0x230)]()),_0x45e42d(this,_0x403d48(0x35a),new Set()),_0x45e42d(this,_0x403d48(0x3e0),new Map()),_0x45e42d(this,_0x403d48(0x376),null),_0x45e42d(this,_0x403d48(0x1e7),new Map()),_0x45e42d(this,_0x403d48(0x335),new Map()),this[_0x403d48(0x27e)]();}[_0x415dad(0x1bb)](){const _0x2002ba=_0x415dad;super[_0x2002ba(0x1bb)](),this[_0x2002ba(0x1e7)][_0x2002ba(0x415)]((_0x2feba5,_0x1c9472)=>this[_0x2002ba(0x171)](_0x1c9472)),this[_0x2002ba(0x376)]&&window[_0x2002ba(0x3e6)](this[_0x2002ba(0x376)]);}['getUnitStatus$'](_0xa7067f){const _0x2c06eb=_0x415dad;return this[_0x2c06eb(0x257)](_0xa7067f)[_0x2c06eb(0x37e)](_0x13a994[_0x2c06eb(0x292)]());}[_0x415dad(0x40f)](_0xaf2442){const _0x52af35=_0x415dad;this['_selfUnitIDs'][_0x52af35(0x332)]===0x0&&this[_0x52af35(0x289)](),this[_0x52af35(0x35a)][_0x52af35(0x248)](_0xaf2442),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xaf2442],'isForwarded':!0x1});}[_0x415dad(0x389)](_0x48e126){const _0x39faf0=_0x415dad;this[_0x39faf0(0x35a)][_0x39faf0(0x227)](_0x48e126),this[_0x39faf0(0x35a)][_0x39faf0(0x332)]===0x0&&this['_heartbeatTimer']&&window[_0x39faf0(0x3e6)](this['_heartbeatTimer']);}[_0x415dad(0x27e)](){const _0x3b20c5=_0x415dad;this[_0x3b20c5(0x25d)](_0x49d737[_0x3b20c5(0x24a)](_0x13a994[_0x3b20c5(0x42e)](window,_0x3b20c5(0x3cc))['subscribe'](_0x857c58=>{const _0x1d89d0=_0x3b20c5;if(_0x857c58['key']!==_0x37e42c||!_0x857c58[_0x1d89d0(0x31d)])return;const _0x23766d=JSON[_0x1d89d0(0x3dd)](_0x857c58[_0x1d89d0(0x31d)]);this[_0x1d89d0(0x1fd)](_0x23766d);}))),window[_0x3b20c5(0x215)](_0x3b20c5(0x41c),()=>this[_0x3b20c5(0x2e7)]({'type':0x1,'memberID':this[_0x3b20c5(0x36a)],'unitIDs':Array['from'](this[_0x3b20c5(0x35a)])}));}[_0x415dad(0x1fd)](_0x5d3578){const _0x10c55e=_0x415dad;switch(_0x5d3578[_0x10c55e(0x3b2)]){case 0x0:this[_0x10c55e(0x2b1)](_0x5d3578);break;case 0x1:this[_0x10c55e(0x3a2)](_0x5d3578);break;case 0x2:this[_0x10c55e(0x385)](_0x5d3578);break;}}['_handleJoinEvent'](_0x3ebed5){const _0x3f6d14=_0x415dad,{unitIDs:_0x44a1d7,memberID:_0x4005f3,isForwarded:_0x299a2e}=_0x3ebed5;_0x44a1d7[_0x3f6d14(0x415)](_0x6b59d6=>{const _0x4ca6d2=_0x3f6d14;if(!_0x299a2e&&this[_0x4ca6d2(0x3e0)][_0x4ca6d2(0x2c3)](_0x6b59d6)&&this[_0x4ca6d2(0x257)](_0x6b59d6)[_0x4ca6d2(0x31b)](_0x1ebeaa[_0x4ca6d2(0x30d)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x6b59d6)||!this[_0x4ca6d2(0x3e0)][_0x4ca6d2(0x356)](_0x6b59d6)[_0x4ca6d2(0x2c3)](_0x4005f3)){const _0x5d2744=this[_0x4ca6d2(0x3e0)][_0x4ca6d2(0x356)](_0x6b59d6)||new Set();_0x5d2744[_0x4ca6d2(0x248)](_0x4005f3),this['_unitOnClients'][_0x4ca6d2(0x18b)](_0x6b59d6,_0x5d2744),this[_0x4ca6d2(0x157)](_0x4005f3);}}),_0x299a2e||this[_0x3f6d14(0x2e7)]({'type':0x0,'memberID':this[_0x3f6d14(0x36a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x415dad(0x157)](_0x3ac490){const _0x158ad0=_0x415dad;this[_0x158ad0(0x171)](_0x3ac490);const _0x414b2d=window[_0x158ad0(0x339)](()=>{const _0x56f0de=_0x158ad0;this[_0x56f0de(0x3e0)]['forEach'](_0x56356d=>{const _0x1626f1=_0x56f0de;_0x56356d[_0x1626f1(0x227)](_0x3ac490);});},_0x5e28c6*0x2);this[_0x158ad0(0x1e7)]['set'](_0x3ac490,_0x414b2d);}[_0x415dad(0x171)](_0x52e8a2){const _0x2fb85b=_0x415dad;if(this[_0x2fb85b(0x1e7)][_0x2fb85b(0x2c3)](_0x52e8a2)){const _0x32193e=this['_clearOtherTimers'][_0x2fb85b(0x356)](_0x52e8a2);_0x32193e&&window[_0x2fb85b(0x38d)](_0x32193e),this[_0x2fb85b(0x1e7)][_0x2fb85b(0x18b)](_0x52e8a2,null);}}[_0x415dad(0x3a2)](_0x185706){const {memberID:_0x25af14,unitIDs:_0x21cf51}=_0x185706;_0x21cf51['forEach'](_0x2d37ee=>{const _0x4b50db=_0x38fc;var _0x165c61;const _0x4225d0=this['_unitOnClients'][_0x4b50db(0x356)](_0x2d37ee);_0x4225d0&&(_0x4225d0[_0x4b50db(0x227)](_0x25af14),(_0x165c61=this['_ensureSubject'](_0x2d37ee))==null||_0x165c61['next'](_0x4225d0['size']===0x0?_0x1ebeaa[_0x4b50db(0x30d)][_0x4b50db(0x3f6)]:_0x1ebeaa[_0x4b50db(0x30d)][_0x4b50db(0x2d8)]));}),this['_removeClearOtherTimer'](_0x25af14);}[_0x415dad(0x385)](_0x3e4e5f){const _0x3fa6b2=_0x415dad;this[_0x3fa6b2(0x157)](_0x3e4e5f[_0x3fa6b2(0x1e3)]);}[_0x415dad(0x2e7)](_0x24033c){const _0x1909ad=_0x415dad;localStorage[_0x1909ad(0x398)](_0x37e42c,JSON[_0x1909ad(0x19d)](_0x24033c));}[_0x415dad(0x289)](){const _0x4c4c2e=_0x415dad;this[_0x4c4c2e(0x376)]=window[_0x4c4c2e(0x24b)](()=>{const _0x5bffcb=_0x4c4c2e;this[_0x5bffcb(0x2e7)]({'type':0x2,'memberID':this[_0x5bffcb(0x36a)]});},_0x5e28c6);}[_0x415dad(0x257)](_0x5c1501){const _0x49ce3d=_0x415dad;return this[_0x49ce3d(0x335)][_0x49ce3d(0x2c3)](_0x5c1501)||this[_0x49ce3d(0x335)][_0x49ce3d(0x18b)](_0x5c1501,new _0x13a994['BehaviorSubject'](_0x1ebeaa[_0x49ce3d(0x30d)][_0x49ce3d(0x3f6)])),this[_0x49ce3d(0x335)][_0x49ce3d(0x356)](_0x5c1501);}}_0x2ad16c[_0x415dad(0x3ad)]=_0x37350b,_0x2ad16c[_0x415dad(0x2ba)]=_0x10a36b,_0x2ad16c[_0x415dad(0x24f)]=_0x2d15ae,_0x2ad16c['WebURLService']=_0x1c2050,Object['defineProperty'](_0x2ad16c,Symbol[_0x415dad(0x357)],{'value':_0x415dad(0x1b8)});}));function _0x1f06(){const _0x4747c1=['Error','_hideTimer','_selfUnitIDs','_shapes','Subject','getConfig','M0\x200H16V16H0z','ENTITLE_CAN_NOT_BUY_LOWER_OTP','subscribe','Rectangle','m1Prime','includes','IBeforeCloseService','_univerInstanceService','url(#$1','SUBMIT_CHANGESET_TIMEOUT','APPLY_DUPLICATED','UNIVER_SHEET','_id','saveOfflineData','hide','subunit','DeleteRangeMoveLeftCommandId','throttleTime','ONLINE','1503160wtEKch','svg','_getFormulaLimitStatus','_transformService','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','_heartbeatTimer','width','_disabled','YUUMI_ALL_TABLES_IS_INVALID','tag','SetSelectionsOperation','toString','endColumn','pipe','USERS_LEAVE','result','assign','_localStorageService','_commandService','IRemoteInstanceService','_handleHeartbeatEvent','Vector2','useRef','_injector','disposeUnit','transformMutationsWithChangeset','RevisionService','combineLatest','clearTimeout','colno','handleInsertRow','font','univer-flex\x20univer-items-center','enableFrontendLog','addClipboardHook','cursorInfo$','blue.400','resize','WECHAT_HAS_BEEN_BOUND','setItem','_setFormulaLimitStatus','jsx','_dataLoaderService','_getMergeRange','uni.network.url-service','toRgbString','fillText','findNodePositionByCharIndex','_docTransformSelectionsService','_handleLeaveEvent','collabStatus.offline','sheetID','ILogService','idSuffix','saveTaskMap','_getSessionTicket','UniverEngineFormula','_collabSessionService','INVALID_ARGUMENT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IURLService','_collaborationSessionService','length','totalFormulasToCalculate','USER_IS_ANONYMOUS','type','flatMap','labelPosition','_name','beforeCommandExecuted','Inject','debounce','saveImage','SetTextSelectionsOperation','reason','Success','column','rxjs','getSheetId','getColorFromTheme','_initEntityListener','getUnitId','shareReplay','SetFormulaCalculationNotificationMutation','React','UniverSheetsUi','currentUsage','runId','@univerjs/rpc','source','_doCreateSocket','storage','addObject','14usQMIB','_hover','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','stack','unshift','collabStatus.syncing','session.connection-failed','DATA_SOURCE_TOO_LARGE','transformByState','_cursorInfo$','_startSheetCollabCursor','ENTITLE_INVALID_COUPON_CODE','deepClone','_urlService','NodePositionConvertToRectRange','parse','ColorKit','HEADER_MENU','_unitOnClients','YUUMI_CONNECTOR_URL_NOT_FOUND','string','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IUniverInstanceService','APPLY_REVISION_CONFILICT','clearInterval','setAlpha','Shape','asObservable','transformRemoteChangeset','[Unhandled\x20Rejection]:\x20','UniverCollaborationClientPlugin','send','measureText','ENTITLE_COUPON_EXPIRED','focused$','setShapeProps','_scheduleSaving','_hasFormulaInDirtyRanges','fillRule','activeSheet$','NO_OTHER_CLIENTS_EDITING','CollaborationStatus','@univerjs/drawing','selection','_initStatusComponent','startRow','REDEMPTION_CODE_HAS_BEEN_CREATED','UPDATE_CURSOR','params','_revisionService','UniverUi','DOC_RANGE_TYPE','useDependency','white','stageInfo','defineProperty','min','evenodd','color','FromArray','textRanges','_initUserListener','_render','OffLineIcon','_refRangeService','editingUnit','IMessageService','_anchor','ENTITLE_COUPON_USED_UP','deserializeRangeWithSheet','_localeService','forEach','ALREADY_EXISTS','getOwnPropertyDescriptor','createIdentifier','entries','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','range','unload','ThemeService','_docSkeletonManagerService','getMemberID','onRendered','_uiPartsService','getUndoRedoMutationParamsCache','...','ITransformService','DocStateChangeManagerService','fill','SessionStatus','_renderManagerService','startsWith','_configService','currentColor','_roomMembers$','UniverDesign','fromEvent','docStateChange$','CHANGESET_REVISION_CONFILICT','SUCCESS','_themeService','/universer-api/license/formula/limit/done','_labelPosition','HTTPService','debug','now','currentTheme$','UniverInstanceType','_localCacheService','VIEW_MAIN','getStateCache','isTransformMutationsWithChangesetSuccess','_scheduleClearOtherTimer','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ERROR_AGAIN','_transformHistoryAndStateStack','collabCursorState$','startColumn','_getScale','drawWith','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','Injector','getUniverSheetInstance','handleDeleteRangeMoveUp','TRANSFORM_CHANGE_OBSERVABLE_TYPE','USER_NOT_FOUND','shift','SNAPSHOT_INVALID_SNAPSHOT','unit','getViewport','history','_updateSubUnitFromURLParams','ICommandService','skeleton','DesktopCollaborationStatusDisplayController','round','switchMap','_removeClearOtherTimer','getMergeData','_docClipboardService','_range','current','_hovered','LocaleService','CollaborationSessionService','_initWindowErrorListener','_backgroundColor','message','_collabCursorController','EffectRefRangId','_drawTextRange','_pollingInterval','_showGuardMessage','SOCKET_FAILED','_initStatusListener','_entityInit$','isTransformMutationFailure','onPointerMove$','_config','2550087dVxGDh','_initDependencies','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SheetSkeletonManagerService','set','SHEET_VIEWPORT_KEY','_handleHover','search','name','collab-text-anchor-','undoState','handleDeleteRangeMoveLeft','Tools','getActiveSheet','collaboration.offline-data-not-saved','roomMembers$','redoState','serializeRangeWithSheet','FormulaExecutedStateType','post','158610KPQCpz','getActiveRange','stringify','/universer-api/frontend/logs','onMouseMove','getAncestorScale','subscribeEvent','ENSURE_SNAPSHOT_EXECUTION','debounceTime','top','hovered','Rect','CONFLICT','collab-client.tooltip.reconnect','_messageService','[CollaborationDataLoaderController]','0\x200\x2017\x2016','div','lineno','whenReady','_sheetSkeletonManagerService','selections','dispose$','[Window\x20Error]:\x20','replaceDocRanges','_taskIds','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_docStateChangeManagerService','_docSyncEditingCollabCursorService','Module','_registerRenderDependencies','removeEventListener','dispose','Disposable','_assignedColors','_initCommandInterceptor','InsertRangeMoveRightCommandId','CollaborationController','_checkAndWaitForCalculationPermission','init','_setupBeforeClosingHandler','UniverDrawing','_lastResponseTimestamp','PENDING','rxjs/operators','_imageIoService','displayName','pluginName','getParam','LICENSE_IMPORT_SIZE_EXCEEDED','exhaustSavingTask','path','_syncEditingCollabCursorService','restore','unsubscribe','@univerjs/sheets-ui','MOBILE_HAS_BEEN_BOUND','ILocalStorageService','unitID','INVITE_CODE_HAS_BEEN_UES','transformIMECache','_draw','_beforeCloseService','_docTransformStateCacheService','TOO_MANY_REQUESTS','getLocalCacheKey','fillStyle','_updateLocalCursor','_document','green.600','_startDocCollabCursor','SOCKET_FAILED_RETRY','memberID','LICENSE_DISTRO_REJECTED','onPointerLeave$','text','_clearOtherTimers','IConfigService','maxFormulaLimit','univerjs-icon\x20univerjs-icon-','override','_initCommandExecutedListener','invokeId','_uploadLog','dirtyRanges','FETCH_MISS','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','yellow.400','getOffsetConfig','collabStatus.notCollab','formula.calculation.waiting','ISnapshotServerService','AWAITING','_collabCursorState$','_lastPointer','_status$','collabStatus.conflict','_handleEvent','transformMutation','_createSocketURL','runRefRangeMutations','engine','collab-text-range-','_scene','APPLY_REJECT','EMAIL_HAS_BEEN_BOUND','getCurrentUnitForType','_toggleOnline','session.collaboration-timeout','BehaviorSubject','unitId','ranges','26878070GjaBeu','START_CALCULATION','CollaborationUIEventId','roomMembers','arc','catch','releaseFormulaLimitUrl','NOT_FOUND','UniverSheets','addEventListener','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','_eventUnsubscribe','lineTo','registerDependencies','_updateCollabCursors','height','ILocalCacheService','location','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','75SfHIRI','_getAnchorBounding','onPointerEnter$','YUUMI_AI_RUN_FAILED','CollaborationSocketService','getRelativeToViewportCoord','translate(.97)','delete','REDEMPTION_CODE_FULLY_REDEEMED','purple.300','getSkeleton','LOCAL_CACHE_INTERVAL','DocSelectionManagerService','@univerjs-pro/collaboration-client','RegularPolygon','getRenderById','generateRandomId','setStateCache','RefRangeService','RichTextEditingMutation','getDocRanges','from','data','m2Prime','sheetId','transformSelections','CONNECTOR_DATA_TOO_LARGE','UniverRpc','INotificationService','show','colorChannel1','REDEMPTION_CODE_NOT_STARTED','backgroundColor','imageSourceType','OnLineIcon','#FFF','symbol','code','setConfig','UniverIcon','add','REDEMPTION_USER_REDEEM_TIMES_EXCEED','toDisposable','setInterval','urlChange$','forwardRef','RemoveColCommandId','WebBrowserSingleActiveUnitService','/run/','UniverDocs','MOBILE_VERIFY_CODE_MISMATCH','isArray','getCoordByCell','2991856yBMQuy','replaceState','_ensureSubject','LOGIN_TOKEN_PROCESSING_FAILED','children','black','registerRefRange','useObservable','disposeWithMe','origin','ENTITLE_DUP_SUBSCRIPTION','href','permission.title','_httpService','moveTo','OFFLINE','65LjEOja','RemoteUniscriptService','formula.calculation.unable','clipPath','TEXT','_initUnhandledRejectionListener','UniverCore','pushState','1em','substring','_registerDependencies','searchParams','MemberService','Workbook','random','YUUMI_NO_CUBOID_FOR_QUESTION','then','_currentUsage','none','2982747hLxyqC','isActive','UniverNetwork','transformStateCache','Warning','executeCommand','_init','cursorInfo','wsSessionTicketUrl','_maxFormulaLimit','COLORS','DisposableCollection','createSocket','getFocusedUnit','getCollabEntity$','actions','getColor','_scheduleHeartbeat','_setupSubUnitSync','@univerjs/docs-ui','getCellMatrix','REDEMPTION_CODE_INACTIVE','off-line-icon_clip0_910_343','on-line-icon_clip0_910_349','_updateURLWithCurrentState','error','distinctUntilChanged','_onCursorUpdate','_collaborationController','getCellPositionByOffset','collaboration.single-unit.warning','currentSkeleton$','react','assignAColorForMemberID','use','ENTITLE_REPORT_LIMIT_EXCEED','CLOSE_ROOM','connectInjector','CollaborationEvent','with','_logService','UniverEngineRender','_anchorDot','createInstance','_session','sessionTicket','INVITE_CODE_ALREADY_BOUND','SetWorksheetActivateCommand','YUUMI_ASYNCIO_CANCELLED','stage','INVITE_CODE_REQUIRED','_toggleOffline','CanceledError','PY_RUNTIME_SCRIPT_ERROR','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getSheetObject','filename','_handleJoinEvent','event$','[LogService\x20Error]:\x20','DataLoaderService','_applyCommand','UniverProCollaboration','getUnit','defs','CURRENT_STATUS_CANNOT_OPERATE','SheetCollabCursorShape','ENTITLE_CHAT_LIMIT_EXCEED','21684EZrCNo','_notificationService','ticket','CollaborationUIEventService','_clearPolling','push','doc.mutation.rich-text-editing','has','application/json','MessageType','takeUntil','\x20at\x20','_cachedData','endRow','@univerjs/ui','Optional','map','UNAUTHENTICATED','TEXT_RANGE_LAYER_INDEX','@univerjs/network','collabStatus.fetchMiss','SetDocZoomRatioOperation','onCommandExecuted','_refreshCollabCursors','permission.content','rgba(255,\x20255,\x20255,\x200.01)','triggerDblclick','handleInsertRangeMoveRight','OTHER_CLIENTS_EDITING','BuiltInUIPart','_drawRectRange','RECT','_memberService','getSheetBySheetId','getTypeOfUnitDisposed$','_docSkeleton','addHandlerCallback','values','YUUMI_URL_COL_OUT_OF_RANGE','_instanceService','CommandType','all','touchDependencies','_send','IImageIoService','xlink:href','handleIRemoveRow','_removeCollabCursors','save','_checkCalculationAvailable','limitInfo','_onCursorDelete','_colorAssignService','_drawAnchor','YUUMI_UNABLE_LOAD_URL','setParam','YUUMI_RATE_OVER_LIMIT','getVpScrollXYInfoByPosToVp','entityInit$','filter','fromEventSubject','IRenderManagerService','runOnServer','url(#off-line-icon_clip0_910_343)','clsx','_releaseCalculationLimit','join','replace','getCollabCursors$','createElement','APPLY_PERMISSION_DENIED','UNIVER_DOC','_colorIndex','Loading','_color','_cursor','SYNCED','addObjects','disableLocalCache','ISocketService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitStatus','getTypeOfUnitAdded$','@univerjs/docs','INTERNAL_ERROR','syncEditingCollabCursor','attrs','LOCAL_CACHE_INTERVAL_KEY','body','socket$','/universer-api/license/formula/limit/status','requireSession','loadOfflineData','_entities','getValue','next','collaboration.closeRoom','newValue','merge','getRangePointData','COMPLETION_FINISHED','UNRECOGNIZED','react/jsx-runtime','_startCalculationLimit','off-line-icon','mask','CollaborationDataLoaderController','complete','_docTransformIMECacheService','@univerjs/sheets','_initEvent','_cursorShapes','_online','PAYMENT_CHANNEL_NOT_SUPPORT','DocIMEInputManagerService','Tooltip','?taskId=','mutations','size','getCurrent','eventID','_unitStatus','AUTHORIZE_CODE_ILLEGAL','Failed','BrowserCollaborationSocketService','setTimeout','DocCollaborationEntity','_cursors','NOT_COLLAB','collabStatus.synced','UniverCollaborationClientUIPlugin','ENTITLE_INSUFFICIENT_QUOTA','setUndoRedoMutationParamsCache','_getSheetObject','@univerjs/engine-render','row','USER_NOT_INVITED_CODE','LICENSE_MAX_UNITS_EXCEEDED','onLocalMutation','_context','_saveCache','unhandledrejection','UNDEFINED','_saveTaskMap','getMember','INVALID_INVITE_CODE','parseInt','ENTITLE_NEED_BILLING_ADDRESS','_collaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','RxDisposable','Unknown\x20user','_transformPreviousActiveRange','_textBubble','get','toStringTag'];_0x1f06=function(){return _0x4747c1;};return _0x1f06();}
1
+ function _0x3f90(_0xf88a0f,_0x4334db){_0xf88a0f=_0xf88a0f-0xcb;const _0x3893da=_0x3893();let _0x3f90a1=_0x3893da[_0xf88a0f];return _0x3f90a1;}function _0x3893(){const _0x1f0edb=['collaboration-client-ui.config','getColor','event$','addEventListener','restore','APPLY_NON_SEQUENTIAL_REVISION','imageSourceType','_hasFormulaInDirtyRanges','_setFormulaLimitStatus','_anchor','off-line-icon_clip0_910_343','_docStateChangeManagerService','handleDeleteRangeMoveUp','UniverProCollaborationClient','HEADER_MENU','RemoveColCommandId','@univerjs/sheets','font','_transformHistoryAndStateStack','exports','loadUnit','2619376oamong','bottom','RegularPolygon','_maxFormulaLimit','OffLineIcon','rxjs','now','_context','saveTaskMap','roomMembers','then','_name','onPointerMove$','2kbDGgy','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','fillStyle','subunit','handleInsertCol','object','_drawAnchor','LOGIN_TOKEN_PROCESSING_FAILED','pluginName','Success','all','onPointerLeave$','LocaleService','_getAnchorBounding','START_CALCULATION','startFormulaLimitUrl','throttleTime','_updateCollabCursors','cursorInfo$','JOIN_ROOM_FAILED','hovered','getColorFromTheme','UniverProCollaborationClientUi','...','registerDependencies','/universer-api/frontend/logs','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','_localCacheService','saveImage','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','_refreshCollabCursors','FromArray','collabCursorState$','_startDocCollabCursor','arc','getRangePointData','UPDATE_CURSOR','parseInt','_docTransformStateCacheService','getMember','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ILogService','asObservable','entries','_initStatusComponent','delete','getCoordByCell','dispose$','_session','replaceState','path','_messageService','_removeClearOtherTimer','1966164NMAbbp','yellow.400','deserializeRangeWithSheet','children','code','text','div','_revisionService','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','getValue','@univerjs/ui','transformStateCache','createElement','green.600','ThemeService','transformMutation','executionId','_onRefRangeChange','_selfUnitIDs','_httpService','length','[CollaborationDataLoaderController]','_syncEditingCollabCursorService','Tooltip','ENTITLE_DUP_SUBSCRIPTION','formula.calculation.unable','USER_NOT_FOUND','ITransformService','searchParams','color','_localeService','syncEditingCollabCursor','currentColor','xlink:href','registerRefRange','REDEMPTION_CODE_INACTIVE','releaseFormulaLimitUrl','onRendered','_render','ENSURE_SNAPSHOT_EXECUTION','react','join','_saveCache','_clearPolling','handleInsertRangeMoveDown','connectInjector','_color','_registerDependencies','_roomMembers$','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','PY_RUNTIME_SCRIPT_ERROR','disposeUnit','@univerjs/engine-formula','getDocRanges','current','sheetId','_eventUnsubscribe','ticket','/universer-api/license/formula/limit/status','Subject','getCurrentSelections','@univerjs/engine-render','UniverSheetsUi','_entities','activeSheet$','MOBILE_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','_lastResponseTimestamp','_cursorShapes','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','REDEMPTION_CODE_NOT_STARTED','doc.mutation.rich-text-editing','whenReady','/universer-api/license/formula/limit/done','RxDisposable','@univerjs/network','split','_assignedColors','Tools','InsertRowCommandId','CONFLICT','disposeWithMe','_unitOnClients','get','add','IMessageService','rxjs/operators','catch','OFFLINE','IUniverInstanceService','UNIVER_SHEET','_cursorInfo$','800crFQAo','SNAPSHOT_INVALID_SNAPSHOT','2349645KKDMaR','_saveTaskMap','_memberService','WebBrowserSingleActiveUnitService','name','setStateCache','generateRandomId','CollaborationDataLoaderController','executeCommand','startsWith','getUnitId','_removeCollabCursors','debounce','currentUsage','setUndoRedoMutationParamsCache','YUUMI_URL_COL_OUT_OF_RANGE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','COMPLETION_FINISHED','_releaseCalculationLimit','INVALID_INVITE_CODE','_configService','Injector','_scheduleSaving','_drawRectRange','contains','ISocketService','params','getSkeleton','_instanceService','SessionStatus','SetTextSelectionsOperation','handleInsertRow','data','_scheduleHeartbeat','DocSelectionManagerService','[LogService\x20Error]:\x20','DEFAULT_WS_SESSION_TICKET_URL','sessionStatus$','exhaustSavingTask','APPLY_REJECT','univer-flex\x20univer-items-center','black','save','_lastPointer','textRanges','getUniverSheetInstance','endColumn','collab-text-range-','collabStatus.syncing','transform','0\x200\x2016\x2016','_handleHover','USER_IS_ANONYMOUS','map','_initCommandExecutedListener','UniverDesign','m1Prime','unshift','startRow','labelPosition','defIds','_ensureSubject','idSuffix','subscribeEvent','RemoteUniscriptService','Failed','replace','1078275zVaxFW','_currentUsage','_updateSubUnitFromURLParams','_pollingInterval','top','0\x200\x2017\x2016','_sheetSkeletonManagerService','ENTITLE_COUPON_EXPIRED','_taskIds','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getCurrentRevOfUnit','SheetSkeletonManagerService','_collabCursorState$','[Window\x20Error]:\x20','override','evenodd','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','FormulaExecutedStateType','requireSession','debounceTime','PENDING','currentSkeleton$','EMAIL_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','round','_cachedData','590240mXLcwT','row','getSheetBySheetId','getRenderById','ColorKit','unhandledrejection','onMouseMove','IURLService','registerRenderModule','YUUMI_CONNECTOR_URL_NOT_FOUND','mapTo','_id','setItem','_cursor','height','_labelPosition','_send','useRef','debug','send','moveTo','_injector','_logService','roomMembers$','createInstance','clearInterval','_handleLeaveEvent','on-line-icon','_setupSubUnitSync','AUTHORIZE_CODE_ILLEGAL','SYNCED','SetFormulaCalculationNotificationMutation','jsx','touchDependencies','UniverUi','sheetID','history','getAncestorScale','DependentOn','url(#on-line-icon_clip0_910_349)','addObjects','forEach','1em','addClipboardHook','OTHER_CLIENT_EDITING','wsSessionTicketUrl','assignAColorForMemberID','LOGIN_FAILED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleDeleteRangeMoveLeft','_showGuardMessage','_initWindowErrorListener','string','CHANGESET_REVISION_CONFILICT','DisposableCollection','/universer-api/license/formula/limit/start','_backgroundColor','none','_refRangeService','YUUMI_ALL_TABLES_IS_INVALID','from','Shape','_uiPartsService','MemberService','InsertColCommandId','entityInit$','defineProperty','body','CollaborationSessionService','IImageIoService','INVITE_CODE_ALREADY_BOUND','addHandlerCallback','Disposable','RefRangeService','clipPath','CONNECTOR_DATA_TOO_LARGE','status$','UniverCollaborationClientUIPlugin','Inject','uni.network.url-service','distinctUntilChanged','UNDEFINED','_beforeCloseService','transformByState','deepClone','post','UNRECOGNIZED','_anchorDot','http://www.w3.org/2000/svg','_scheduleClearOtherTimer','_updateLocalCursor','push','YUUMI_AI_RUN_FAILED','getLocalCacheKey','runId','getItem','focused$','toDisposable','_getSheetObject','getUndoRedoMutationParamsCache','DocStateChangeManagerService','getCurrentUnitForType','_univerInstanceService','_memberID','removeEventListener','transformMutationsWithChangeset','getRelativeToViewportCoord','_collaborationUIEventService','parse','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','tag','getCellMatrix','setInterval','jiqing.500','TOO_MANY_REQUESTS','engine','_updateURLWithCurrentState','_docClipboardService','_shapes','backgroundColor','CollaborationEvent','saveOfflineData','collabStatus.fetchMiss','ENTITLE_CHAT_LIMIT_EXCEED','isTransformMutationFailure','serializeRangeWithSheet','EffectRefRangId','UNIVER_DOC','measureText','_uploadLog','SOCKET_FAILED_RETRY','getActiveRange','_transformPreviousActiveRange','getTypeOfUnitAdded$','formula.calculation.waiting','ILocalStorageService','shareReplay','UniverDocs','_registerRenderDependencies','unitId','error','transformSelections','TEXT_RANGE_LAYER_INDEX','url(#off-line-icon_clip0_910_343)','type','socket$','getUnit','size','UniverEngineRender','ONLINE','LOCAL_CACHE_INTERVAL_KEY','_imageIoService','Warning','_toggleOnline','replaceDocRanges','isEditing','merge','PERMISSION_DENIED','getFocusedUnit','selection','570355yRnJpR','getTypeOfUnitDisposed$','INotificationService','session.collaboration-timeout','_onCursorUpdate','registerBeforeClose','_transformService','max','APPLY_DUPLICATED','_startSheetCollabCursor','_initUserListener','@univerjs/core','LICENSE_IMPORT_SIZE_EXCEEDED','getStateCache','collabStatus.offline','isArray','urlChange$','getMergeData','complete','REDEMPTION_INVALID_CODE','docStateChange$','unload','SUBMIT_CHANGESET_TIMEOUT','CollaborationUIEventId','REDEMPTION_CODE_FULLY_REDEEMED','drawWith','RevisionService','_handleEvent','skeleton','REDEMPTION_CODE_HAS_BEEN_CREATED','_disabled','stageInfo','findNodePositionByCharIndex','_initEvent','BuiltInUIPart','newValue','currentTheme$','svg','_renderManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','key','makeDirty','EMAIL_VERIFY_CODE_MISMATCH','_status$','MoveRangeCommandId','isTransformMutationsWithChangesetSuccess','displayName','_entityInit$','ICommandService','DOC_RANGE_TYPE','@univerjs/design','PAYMENT_CHANNEL_NOT_SUPPORT','isActive','Optional','getOffsetConfig','IDocClipboardService','_getSaveTimeout','forwardRef','mutations','fromEventSubject','NOT_FOUND','SetFormulaCalculationStartMutation','INTERNAL_ERROR','Unknown\x20user','CLOSE_ROOM','useDependency','_handleJoinEvent','combineLatest','_config','includes','IRenderManagerService','redoState','unit','_getMergeRange','symbol','NO_OTHER_CLIENTS_EDITING','updateOfflineData','url(#$1','_unitStatus','href','getUnitStatus$','blue.400','beforeCommandExecuted','_docSyncEditingCollabCursorService','@univerjs/rpc','INVITE_CODE_HAS_BEEN_UES','isFormulaId','_initDependencies','MUTATION','registerComponent','transformRemoteChangeset','_hovered','TEXT','SheetsSelectionsService','startColumn','switchMap','DesktopCollaborationStatusDisplayController','onCommandExecuted','width','init','use','APPLY_PERMISSION_DENIED','bind','@univerjs-pro/collaboration','totalFormulasToCalculate','ENTITLE_CAN_NOT_BUY_LOWER_OTP','permission.content','IConfigService','takeUntil','fillText','createIdentifier','memberID','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformUndoRedoStack','_textBubble','BehaviorSubject','UniverCore','jsxs','some','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getConfig','getViewport','collaboration.closeRoom','subUnitId','ENTITLE_USE_COUPON_NOT_1ST_TRADE','MessageType','\x20at\x20','collabStatus.synced','NodePositionConvertToCursor','_document','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationController','_clearOtherTimers','M0\x200H16V16H0z','collabStatus.conflict','_commandService','SetSelectionsOperation','function','CollaborationStatus','_monkeyPatchLogService','red.300','_applyCommand','_docTransformSelectionsService','OnLineIcon','assign','YUUMI_ASYNCIO_CANCELLED','Loading','RemoveRowCommandId','ACTIVE_UNIT_EVENT_CHANNEL','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getActiveSheet','_themeService','getOwnPropertyDescriptor','LICENSE_DISTRO_REJECTED','_colorIndex','_heartbeatTimer','subscribe','session.connection-failed','setAlpha','_localStorageService','_initUnhandledRejectionListener','_initEntityListener','MOBILE_VERIFY_CODE_MISMATCH','Error','useCallback','mask','runOnServer','SetWorksheetActivateCommand','clearTimeout','formula.calculation.started','popstate','_onCursorDelete','_initResize','undoState','_colorAssignService','DocCollaborationEntity','COLORS','handleIRemoveCol','_getSessionTicket','@univerjs/docs-ui','_init','_drawTextRange','m2Prime','getCollabCursors$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DocIMEInputManagerService','_online','DocSkeletonManagerService','_hideTimer','next','addObject','WECHAT_HAS_BEEN_BOUND','triggerDblclick','handleInsertRangeMoveRight','APPLY_REVISION_CONFILICT','setShapeProps','InsertRangeMoveRightCommandId','setTimeout','_toggleOffline','YUUMI_NO_CUBOID_FOR_QUESTION','UniverSheets','hide','_cursors','_createSocketURL','translate(.97)','stack','IUIPartsService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','toString','set','flatMap','origin','colorChannel1','YUUMI_RATE_OVER_LIMIT','editingUnit','_collabSessionService','NodePositionConvertToRectRange','attrs','45351WCxVst','UniverInstanceType','_docTransformIMECacheService','UnitStatus','trim','NOT_COLLAB','VIEW_MAIN','ENTITLE_NEED_BILLING_ADDRESS','getParam','_startCalculationLimit','Module','FormulaExecuteStageType','_hover','getMemberID','getCellPositionByOffset','enableFrontendLog','_urlService','dirtyRanges','IBeforeCloseService','getCollabEntity$','toRgbString','UniverRpc','REDEMPTION_USER_NOT_ELIGIBLE','unitID','_scene','with','_collaborationSessionService','WebSocketService','filter','InsertRangeMoveDownCommandId','SUCCESS','collaboration.offline-data-not-saved','CommandType','IRemoteInstanceService','dispose','cursorInfo','fromEvent','pushState','useObservable','off-line-icon','_dataLoaderService','pipe','limitInfo','UNAUTHENTICATED','_initCommandInterceptor','ILocalCacheService','enableLocalCache','lineTo','_initStatusListener','_collaborationController','has','disableLocalCache','RECT','defs','DATA_SOURCE_TOO_LARGE','BrowserCollaborationSocketService','ranges','column','7bVrJcM','invokeId','location','SheetCollabCursorShape','show','onPointerEnter$','_handleHeartbeatEvent','runRefRangeMutations','CURRENT_STATUS_CANNOT_OPERATE','source','ISnapshotServerService','ENTITLE_INVALID_COUPON_CODE','reconnect','stringify','on-line-icon_clip0_910_349','substring','_collabCursorController','session.will-retry','white','values','_range','fill','INVITE_CODE_REQUIRED','endRow','selections','ENTITLE_INSUFFICIENT_QUOTA','handleIRemoveRow','_getScale','_docSkeletonManagerService','stage','ALREADY_EXISTS','Rect','WebURLService','setParam'];_0x3893=function(){return _0x1f0edb;};return _0x3893();}(function(_0x1baf0f,_0x1b0090){const _0x18104a=_0x3f90,_0x37e716=_0x1baf0f();while(!![]){try{const _0x59da7f=-parseInt(_0x18104a(0x19c))/0x1*(-parseInt(_0x18104a(0x2f5))/0x2)+-parseInt(_0x18104a(0xe2))/0x3+parseInt(_0x18104a(0xfc))/0x4+-parseInt(_0x18104a(0x38a))/0x5+parseInt(_0x18104a(0x32b))/0x6*(parseInt(_0x18104a(0x2b1))/0x7)+-parseInt(_0x18104a(0x2e8))/0x8+parseInt(_0x18104a(0x277))/0x9*(parseInt(_0x18104a(0x388))/0xa);if(_0x59da7f===_0x1b0090)break;else _0x37e716['push'](_0x37e716['shift']());}catch(_0x352fbb){_0x37e716['push'](_0x37e716['shift']());}}}(_0x3893,0x47471),function(_0x2b52bc,_0x3310b6){const _0x1b9c7d=_0x3f90;typeof exports==_0x1b9c7d(0x2fa)&&typeof module<'u'?_0x3310b6(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==_0x1b9c7d(0x226)&&define['amd']?define([_0x1b9c7d(0x2e6),'react/jsx-runtime',_0x1b9c7d(0xf9),_0x1b9c7d(0x1a7),_0x1b9c7d(0x335),'rxjs',_0x1b9c7d(0x1ce),_0x1b9c7d(0x353),_0x1b9c7d(0x1f0),_0x1b9c7d(0x2e3),_0x1b9c7d(0x369),_0x1b9c7d(0x377),_0x1b9c7d(0x250),'@univerjs/drawing',_0x1b9c7d(0x203),'@univerjs/docs',_0x1b9c7d(0x360),_0x1b9c7d(0x382),'@univerjs/sheets-ui'],_0x3310b6):(_0x2b52bc=typeof globalThis<'u'?globalThis:_0x2b52bc||self,_0x3310b6(_0x2b52bc[_0x1b9c7d(0x30b)]={},_0x2b52bc['React'],_0x2b52bc[_0x1b9c7d(0x2e0)],_0x2b52bc[_0x1b9c7d(0x210)],_0x2b52bc[_0x1b9c7d(0x11e)],_0x2b52bc[_0x1b9c7d(0x2ed)],_0x2b52bc[_0x1b9c7d(0xd6)],_0x2b52bc['React'],_0x2b52bc[_0x1b9c7d(0x28c)],_0x2b52bc[_0x1b9c7d(0x265)],_0x2b52bc[_0x1b9c7d(0x190)],_0x2b52bc['UniverNetwork'],_0x2b52bc['UniverDocsUi'],_0x2b52bc['UniverDrawing'],_0x2b52bc['UniverProCollaboration'],_0x2b52bc[_0x1b9c7d(0x185)],_0x2b52bc['UniverEngineFormula'],_0x2b52bc[_0x1b9c7d(0x2ed)]['operators'],_0x2b52bc[_0x1b9c7d(0x36a)]));}(this,function(_0x497957,_0x8016bc,_0xe662fa,_0x488b23,_0x16efad,_0xd39c43,_0x29b3d4,_0x48e918,_0x95816f,_0x579814,_0x4ad5e1,_0x46c86d,_0x568c85,_0x22ecfc,_0x330813,_0x473e87,_0x5a73c8,_0x517874,_0x477084){'use strict';const _0x35d624=_0x3f90;var _0x27bd3c=Object[_0x35d624(0x13e)],_0x250b08=(_0x222f58,_0x3f7e96,_0x2c4f71)=>_0x3f7e96 in _0x222f58?_0x27bd3c(_0x222f58,_0x3f7e96,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c4f71}):_0x222f58[_0x3f7e96]=_0x2c4f71,_0x5c8f58=(_0x2c8c7d,_0x2d15cd,_0x1cd133)=>_0x250b08(_0x2c8c7d,typeof _0x2d15cd!=_0x35d624(0x1e6)?_0x2d15cd+'':_0x2d15cd,_0x1cd133);function _0x399dcd({ref:_0xc5f7f6,..._0x265687}){const _0x338cc6=_0x35d624,{icon:_0x11f4e7,id:_0x3271e6,className:_0x42251f,extend:_0x45bda7,..._0x55e806}=_0x265687,_0x156607=('univerjs-icon\x20univerjs-icon-'+_0x3271e6+'\x20'+(_0x42251f||''))[_0x338cc6(0x27b)](),_0x5cbb57=_0x48e918[_0x338cc6(0x10d)]('_'+_0x305be1());return _0x192183(_0x11f4e7,''+_0x3271e6,{'defIds':_0x11f4e7[_0x338cc6(0xdb)],'idSuffix':_0x5cbb57[_0x338cc6(0x362)]},{'ref':_0xc5f7f6,'className':_0x156607,..._0x55e806},_0x45bda7);}function _0x192183(_0x222a2a,_0x5d5c03,_0x1b4902,_0x174014,_0x1fd099){const _0x597ff2=_0x35d624;return _0x48e918[_0x597ff2(0x337)](_0x222a2a[_0x597ff2(0x16a)],{'key':_0x5d5c03,..._0x1f8a2e(_0x222a2a,_0x1b4902,_0x1fd099),..._0x174014},(_0x9e4244(_0x222a2a,_0x1b4902)[_0x597ff2(0x32e)]||[])[_0x597ff2(0xd4)]((_0x1692c4,_0x4146ab)=>_0x192183(_0x1692c4,_0x5d5c03+'-'+_0x222a2a[_0x597ff2(0x16a)]+'-'+_0x4146ab,_0x1b4902,void 0x0,_0x1fd099)));}function _0x1f8a2e(_0x337d6b,_0x396f4b,_0x4e119a){const _0x1d31cd=_0x35d624,_0x40418e={..._0x337d6b['attrs']};_0x4e119a!=null&&_0x4e119a[_0x1d31cd(0x271)]&&_0x40418e[_0x1d31cd(0x2c6)]===_0x1d31cd(0x271)&&(_0x40418e[_0x1d31cd(0x2c6)]=_0x4e119a[_0x1d31cd(0x271)]),_0x337d6b[_0x1d31cd(0x16a)]===_0x1d31cd(0x242)&&_0x40418e['id']&&(_0x40418e['id']=_0x40418e['id']+_0x396f4b[_0x1d31cd(0xdd)]),Object[_0x1d31cd(0x321)](_0x40418e)[_0x1d31cd(0x125)](([_0x246b60,_0x4dfd18])=>{const _0xb1eb00=_0x1d31cd;_0x246b60===_0xb1eb00(0x242)&&typeof _0x4dfd18==_0xb1eb00(0x130)&&(_0x40418e[_0x246b60]=_0x4dfd18[_0xb1eb00(0xe1)](/url\(#(.*)\)/,'url(#$1'+_0x396f4b['idSuffix']+')'));});const {defIds:_0x4e7a23}=_0x396f4b;return!_0x4e7a23||_0x4e7a23[_0x1d31cd(0x33f)]===0x0||(_0x337d6b[_0x1d31cd(0x16a)]===_0x1d31cd(0x200)&&_0x40418e[_0x1d31cd(0x34c)]&&(_0x40418e[_0x1d31cd(0x34c)]=_0x40418e[_0x1d31cd(0x34c)]+_0x396f4b[_0x1d31cd(0xdd)]),Object[_0x1d31cd(0x321)](_0x40418e)[_0x1d31cd(0x125)](([_0x286945,_0xa325f3])=>{const _0x43e4ad=_0x1d31cd;typeof _0xa325f3==_0x43e4ad(0x130)&&(_0x40418e[_0x286945]=_0xa325f3[_0x43e4ad(0xe1)](/url\(#(.*)\)/,_0x43e4ad(0x1e9)+_0x396f4b[_0x43e4ad(0xdd)]+')'));})),_0x40418e;}function _0x9e4244(_0x43e1f9,_0x2947ca){const _0x395081=_0x35d624;var _0x4d24e1;const {defIds:_0x425e2c}=_0x2947ca;return!_0x425e2c||_0x425e2c[_0x395081(0x33f)]===0x0?_0x43e1f9:_0x43e1f9[_0x395081(0x16a)]===_0x395081(0x2ac)&&((_0x4d24e1=_0x43e1f9[_0x395081(0x32e)])!=null&&_0x4d24e1[_0x395081(0x33f)])?{..._0x43e1f9,'children':_0x43e1f9[_0x395081(0x32e)][_0x395081(0xd4)](_0x5a9a4e=>typeof _0x5a9a4e['attrs']['id']==_0x395081(0x130)&&_0x425e2c&&_0x425e2c['includes'](_0x5a9a4e[_0x395081(0x276)]['id'])?{..._0x5a9a4e,'attrs':{..._0x5a9a4e['attrs'],'id':_0x5a9a4e[_0x395081(0x276)]['id']+_0x2947ca[_0x395081(0xdd)]}}:_0x5a9a4e)}:_0x43e1f9;}function _0x305be1(){const _0x34d0ae=_0x35d624;return Math['random']()[_0x34d0ae(0x26d)](0x24)[_0x34d0ae(0x2c0)](0x2,0x8);}_0x399dcd[_0x35d624(0x1ca)]='UniverIcon';const _0x90719b={'tag':_0x35d624(0x1c1),'attrs':{'xmlns':_0x35d624(0x154),'fill':_0x35d624(0x135),'viewBox':_0x35d624(0xd1),'width':'1em','height':_0x35d624(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x35d624(0x18b)},'children':[{'tag':_0x35d624(0x328),'attrs':{'stroke':_0x35d624(0x34b),'d':_0x35d624(0x333),'strokeLinecap':_0x35d624(0xfa),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35d624(0x2ac),'attrs':{},'children':[{'tag':_0x35d624(0x146),'attrs':{'id':_0x35d624(0x2dd)},'children':[{'tag':_0x35d624(0x328),'attrs':{'fill':_0x35d624(0x2c3),'d':_0x35d624(0x222)}}]}]}],'defIds':[_0x35d624(0x2dd)]},_0x19b6b3=_0x48e918[_0x35d624(0x1d5)](function(_0x3b1f52,_0x4aa44a){const _0x205cb9=_0x35d624;return _0x48e918[_0x205cb9(0x337)](_0x399dcd,Object[_0x205cb9(0x22d)]({},_0x3b1f52,{'id':_0x205cb9(0x29e),'ref':_0x4aa44a,'icon':_0x90719b}));});_0x19b6b3[_0x35d624(0x1ca)]=_0x35d624(0x2ec);const _0xe02553={'tag':_0x35d624(0x1c1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x35d624(0x135),'viewBox':_0x35d624(0xe7),'width':_0x35d624(0x126),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x35d624(0x123)},'children':[{'tag':_0x35d624(0x328),'attrs':{'stroke':'currentColor','d':_0x35d624(0x313),'strokeLinecap':_0x35d624(0xfa),'strokeLinejoin':_0x35d624(0xfa),'strokeWidth':1.2}}]},{'tag':_0x35d624(0x2ac),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x35d624(0x328),'attrs':{'fill':_0x35d624(0x2c3),'d':_0x35d624(0x222),'transform':_0x35d624(0x269)}}]}]}],'defIds':[_0x35d624(0x2bf)]},_0x249d13=_0x48e918[_0x35d624(0x1d5)](function(_0x433cf7,_0x4234be){const _0x43be6f=_0x35d624;return _0x48e918[_0x43be6f(0x337)](_0x399dcd,Object[_0x43be6f(0x22d)]({},_0x433cf7,{'id':_0x43be6f(0x117),'ref':_0x4234be,'icon':_0xe02553}));});_0x249d13[_0x35d624(0x1ca)]=_0x35d624(0x22c);function _0x347706(_0x41a677){const _0x3990f6=_0x35d624;switch(_0x41a677){case _0xe662fa[_0x3990f6(0x227)]['OFFLINE']:return _0x3990f6(0x1aa);case _0xe662fa[_0x3990f6(0x227)]['CONFLICT']:return _0x3990f6(0x223);case _0xe662fa[_0x3990f6(0x227)]['FETCH_MISS']:return _0x3990f6(0x176);case _0xe662fa['CollaborationStatus'][_0x3990f6(0x27c)]:return'collabStatus.notCollab';case _0xe662fa['CollaborationStatus']['AWAITING']:case _0xe662fa['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x3990f6(0xcf);case _0xe662fa[_0x3990f6(0x227)][_0x3990f6(0x11a)]:case _0xe662fa[_0x3990f6(0x227)][_0x3990f6(0xf6)]:return _0x3990f6(0x21b);}}function _0x3eef9f(_0x8dd343){const _0x4d8d43=_0x35d624,{status$:_0xae32dc}=_0x8dd343,_0x3a16ce=_0x16efad[_0x4d8d43(0x29d)](_0xae32dc,_0xe662fa[_0x4d8d43(0x227)]['NOT_COLLAB']),_0x4ea414=_0x16efad[_0x4d8d43(0x1dd)](_0x488b23[_0x4d8d43(0x301)]),_0x40d908=_0x16efad[_0x4d8d43(0x1dd)](_0xe662fa[_0x4d8d43(0x140)]),_0x254ec9=_0x3a16ce!==_0xe662fa[_0x4d8d43(0x227)][_0x4d8d43(0x384)],_0xa30468=_0x4ea414['t'](_0x347706(_0x3a16ce)),_0x240c79=_0x254ec9?_0x8016bc[_0x4d8d43(0x11c)](_0x249d13,{}):_0x8016bc[_0x4d8d43(0x11c)](_0x19b6b3,{}),_0xc30a35=_0x48e918[_0x4d8d43(0x241)](()=>{const _0x1a3997=_0x4d8d43;_0x254ec9||_0x40d908[_0x1a3997(0x2bd)]();},[_0x254ec9,_0x40d908]);function _0x1ad43c(){const _0x259735=_0x4d8d43;return _0x8016bc[_0x259735(0x211)](_0x259735(0x331),{'className':_0x259735(0x3b2),'onClick':_0xc30a35,'children':[_0x8016bc[_0x259735(0x11c)](_0x259735(0x331),{'className':_0x29b3d4['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x254ec9,'univer-text-red-500':!_0x254ec9}),'children':_0x240c79}),_0x8016bc[_0x259735(0x11c)](_0x259735(0x331),{'className':_0x259735(0x2f6),'children':_0xa30468})]});}return _0x254ec9?_0x1ad43c():_0x8016bc[_0x4d8d43(0x11c)](_0x29b3d4[_0x4d8d43(0x342)],{'title':_0x4ea414['t']('collab-client.tooltip.reconnect'),'children':_0x1ad43c()});}var _0x1922a2=Object[_0x35d624(0x235)],_0x2e6e9a=(_0x110c99,_0x4df21b,_0x5d4b50,_0x647791)=>{const _0x3f3663=_0x35d624;for(var _0x5c8c16=_0x647791>0x1?void 0x0:_0x647791?_0x1922a2(_0x4df21b,_0x5d4b50):_0x4df21b,_0xe9cdb3=_0x110c99[_0x3f3663(0x33f)]-0x1,_0x345b7b;_0xe9cdb3>=0x0;_0xe9cdb3--)(_0x345b7b=_0x110c99[_0xe9cdb3])&&(_0x5c8c16=_0x345b7b(_0x5c8c16)||_0x5c8c16);return _0x5c8c16;},_0x3b11e2=(_0x6e9ab9,_0x425b1c)=>(_0x147c0d,_0xb4c68)=>_0x425b1c(_0x147c0d,_0xb4c68,_0x6e9ab9);_0x497957[_0x35d624(0x1fc)]=class extends _0x488b23['Disposable']{constructor(_0x58aa90,_0x5ee014,_0x192313,_0x2e06a2){const _0x55ef5b=_0x35d624;super(),_0x5c8f58(this,_0x55ef5b(0x1c7),new _0xd39c43[(_0x55ef5b(0x20f))](_0xe662fa['CollaborationStatus'][_0x55ef5b(0x27c)])),(this[_0x55ef5b(0x162)]=_0x58aa90,this[_0x55ef5b(0x111)]=_0x5ee014,this[_0x55ef5b(0x2a8)]=_0x192313,this[_0x55ef5b(0x13a)]=_0x2e06a2,this[_0x55ef5b(0x322)](),this[_0x55ef5b(0x2a7)]());}['_initStatusListener'](){const _0x41674b=_0x35d624;this[_0x41674b(0x37d)](this['_univerInstanceService'][_0x41674b(0x15c)][_0x41674b(0x2a0)](_0xd39c43['switchMap'](()=>{const _0x316aec=_0x41674b,_0x20e8eb=this['_univerInstanceService']['getFocusedUnit']();return _0x20e8eb?this[_0x316aec(0x2a8)][_0x316aec(0x28a)](_0x20e8eb[_0x316aec(0x394)]()):_0xd39c43['of'](null);}),_0xd39c43[_0x41674b(0x1fb)](_0x55ea46=>_0x55ea46?_0x55ea46[_0x41674b(0x148)]:_0xd39c43['of'](_0xe662fa[_0x41674b(0x227)][_0x41674b(0x27c)])))[_0x41674b(0x239)](_0x325dc3=>{const _0x1ab396=_0x41674b;this['_status$'][_0x1ab396(0x25a)](_0x325dc3);}));}['_initStatusComponent'](){const _0x5e95f0=_0x35d624;this[_0x5e95f0(0x37d)](this[_0x5e95f0(0x13a)][_0x5e95f0(0x1f5)](_0x16efad[_0x5e95f0(0x1be)][_0x5e95f0(0x2e1)],()=>_0x16efad[_0x5e95f0(0x358)](_0x495282({'status$':this['_status$']['asObservable']()}),this[_0x5e95f0(0x111)])));}},_0x497957[_0x35d624(0x1fc)]=_0x2e6e9a([_0x3b11e2(0x0,_0x488b23[_0x35d624(0x385)]),_0x3b11e2(0x1,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x3b11e2(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa[_0x35d624(0x220)])),_0x3b11e2(0x3,_0x16efad[_0x35d624(0x26b)])],_0x497957[_0x35d624(0x1fc)]);function _0x495282(_0x30cd61){const {status$:_0x3ffd97}=_0x30cd61;return function(){return _0x8016bc['jsx'](_0x3eef9f,{'status$':_0x3ffd97});};}const _0x59fd33=_0x488b23[_0x35d624(0x20a)](_0x35d624(0x14b));var _0x54dc5a=Object[_0x35d624(0x235)],_0x42aad5=(_0x39e198,_0x16a799,_0x54de49,_0x389636)=>{const _0x70de29=_0x35d624;for(var _0x40b056=_0x389636>0x1?void 0x0:_0x389636?_0x54dc5a(_0x16a799,_0x54de49):_0x16a799,_0x3e6cdd=_0x39e198[_0x70de29(0x33f)]-0x1,_0x2ac771;_0x3e6cdd>=0x0;_0x3e6cdd--)(_0x2ac771=_0x39e198[_0x3e6cdd])&&(_0x40b056=_0x2ac771(_0x40b056)||_0x40b056);return _0x40b056;},_0x26e654=(_0xa1d039,_0x4d6fbf)=>(_0x5acd31,_0x2c4835)=>_0x4d6fbf(_0x5acd31,_0x2c4835,_0xa1d039);_0x497957[_0x35d624(0x391)]=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x4c7346,_0xded4b,_0x1c7ef1,_0x23e213,_0x2b8f6f){const _0x10db15=_0x35d624;super(),this[_0x10db15(0x287)]=_0x4c7346,this[_0x10db15(0x112)]=_0xded4b,this[_0x10db15(0x224)]=_0x1c7ef1,this[_0x10db15(0x29f)]=_0x23e213,_0x2b8f6f?_0x2b8f6f==null||_0x2b8f6f[_0x10db15(0x374)]()[_0x10db15(0x2f2)](()=>this['_init']()):(this[_0x10db15(0x112)][_0x10db15(0x10e)](_0x10db15(0x340),_0x10db15(0x12c)),this[_0x10db15(0x251)]());}async['_init'](){const _0x3c91f9=_0x35d624,_0x5dbd5d=this[_0x3c91f9(0x287)][_0x3c91f9(0x27f)](_0x3c91f9(0x1e4)),_0x8129c6=this[_0x3c91f9(0x287)]['getParam'](_0x3c91f9(0x18c)),_0x31e2e9=this[_0x3c91f9(0x287)][_0x3c91f9(0x27f)]('subunit');if(!_0x5dbd5d||!_0x8129c6){this[_0x3c91f9(0x112)][_0x3c91f9(0x10e)](_0x3c91f9(0x340),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x411a28=await this[_0x3c91f9(0x29f)][_0x3c91f9(0x2e7)](_0x5dbd5d,Number(_0x8129c6),_0x31e2e9);_0x411a28&&_0x411a28 instanceof _0x488b23['Workbook']&&this[_0x3c91f9(0x118)](_0x411a28);}async['_setupSubUnitSync'](_0x4adabc){const _0x22b8e9=_0x35d624;await this[_0x22b8e9(0xe4)](_0x4adabc),_0x4adabc[_0x22b8e9(0x36c)][_0x22b8e9(0x2a0)](_0xd39c43['takeUntil'](this[_0x22b8e9(0x325)]))[_0x22b8e9(0x239)](_0x1ca3b3=>{const _0x3c8623=_0x22b8e9;_0x1ca3b3&&this[_0x3c8623(0x170)](_0x1ca3b3);}),this[_0x22b8e9(0x287)][_0x22b8e9(0x1ac)]['pipe'](_0xd39c43[_0x22b8e9(0x208)](this[_0x22b8e9(0x325)]))['subscribe'](()=>this[_0x22b8e9(0xe4)](_0x4adabc));}['_updateURLWithCurrentState'](_0x4fda1d,_0x4e55ea=!0x1){const _0x4ac7b2=_0x35d624,_0x16bcd3=this[_0x4ac7b2(0x287)][_0x4ac7b2(0x27f)](_0x4ac7b2(0x2f8));_0x4fda1d[_0x4ac7b2(0x310)]()!==_0x16bcd3&&this['_urlService'][_0x4ac7b2(0x2d2)](_0x4ac7b2(0x2f8),_0x4fda1d[_0x4ac7b2(0x310)](),_0x4e55ea);}async['_updateSubUnitFromURLParams'](_0x5e7823){const _0x4f5f13=_0x35d624;var _0x5a50e0;const _0x272e69=this[_0x4f5f13(0x287)]['getParam'](_0x4f5f13(0x2f8));if(!_0x272e69||!_0x5e7823[_0x4f5f13(0xfe)](_0x272e69)){const _0x3a4c60=_0x5e7823['getUnhiddenWorksheets']()[0x0],_0xec7293=_0x5e7823[_0x4f5f13(0xfe)](_0x3a4c60);if(!_0xec7293)return;this[_0x4f5f13(0x170)](_0xec7293,!0x0),await this[_0x4f5f13(0x224)]['executeCommand'](_0x579814[_0x4f5f13(0x244)]['id'],{'unitId':_0x5e7823[_0x4f5f13(0x394)](),'subUnitId':_0x3a4c60});return;}((_0x5a50e0=_0x5e7823[_0x4f5f13(0x233)]())==null?void 0x0:_0x5a50e0['getSheetId']())!==_0x272e69&&await this[_0x4f5f13(0x224)]['executeCommand'](_0x579814[_0x4f5f13(0x244)]['id'],{'unitId':_0x5e7823['getUnitId'](),'subUnitId':_0x272e69});}},_0x497957[_0x35d624(0x391)]=_0x42aad5([_0x26e654(0x0,_0x59fd33),_0x26e654(0x1,_0x488b23[_0x35d624(0x31f)]),_0x26e654(0x2,_0x488b23[_0x35d624(0x1cc)]),_0x26e654(0x3,_0x488b23[_0x35d624(0x14a)](_0xe662fa['DataLoaderService'])),_0x26e654(0x4,_0x488b23[_0x35d624(0x1d1)](_0x95816f[_0x35d624(0x298)]))],_0x497957[_0x35d624(0x391)]);var _0x22083f=Object[_0x35d624(0x235)],_0x1d55e1=(_0x35a18c,_0x996b4e,_0x2a5304,_0x403108)=>{const _0x4a3e3f=_0x35d624;for(var _0x4a4089=_0x403108>0x1?void 0x0:_0x403108?_0x22083f(_0x996b4e,_0x2a5304):_0x996b4e,_0x36efe7=_0x35a18c[_0x4a3e3f(0x33f)]-0x1,_0x1687f9;_0x36efe7>=0x0;_0x36efe7--)(_0x1687f9=_0x35a18c[_0x36efe7])&&(_0x4a4089=_0x1687f9(_0x4a4089)||_0x4a4089);return _0x4a4089;},_0x27e887=(_0x282e47,_0x522b5e)=>(_0x3b764b,_0x174190)=>_0x522b5e(_0x3b764b,_0x174190,_0x282e47);let _0x1a397d=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x12676c,_0x5a3e9f){const _0x1d88f0=_0x35d624;super(),this[_0x1d88f0(0x171)]=_0x12676c,this['_imageIoService']=_0x5a3e9f,this[_0x1d88f0(0x251)]();}[_0x35d624(0x251)](){const _0x1f60c5=_0x35d624,_0x2eb3ef=this;this[_0x1f60c5(0x37d)](this['_docClipboardService'][_0x1f60c5(0x127)]({'onBeforePasteImage':async _0x38d205=>{const _0x5939be=_0x1f60c5,_0x25194a=await _0x2eb3ef[_0x5939be(0x193)][_0x5939be(0x312)](_0x38d205);return _0x25194a?{'source':_0x25194a[_0x5939be(0x2ba)],'imageSourceType':_0x25194a[_0x5939be(0x2d9)]}:null;}}));}};_0x1a397d=_0x1d55e1([_0x27e887(0x0,_0x568c85[_0x35d624(0x1d3)]),_0x27e887(0x1,_0x22ecfc[_0x35d624(0x141)])],_0x1a397d);const _0x406a63=['purple.300',_0x35d624(0x16d),_0x35d624(0x338),_0x35d624(0x229),_0x35d624(0x1ed),_0x35d624(0x32c)];class _0x3a845f extends _0x488b23['Disposable']{constructor(){const _0x415e7d=_0x35d624;super(...arguments),_0x5c8f58(this,_0x415e7d(0x379),new Map()),_0x5c8f58(this,_0x415e7d(0x237),0x0);}[_0x35d624(0x12a)](_0x29ac26){const _0x4c6b53=_0x35d624;if(this[_0x4c6b53(0x379)][_0x4c6b53(0x2a9)](_0x29ac26))return this['_assignedColors'][_0x4c6b53(0x37f)](_0x29ac26);const _0x4072c9=_0x406a63[this['_colorIndex']];return this[_0x4c6b53(0x237)]=(this['_colorIndex']+0x1)%_0x406a63['length'],this['_assignedColors'][_0x4c6b53(0x26e)](_0x29ac26,_0x4072c9),_0x4072c9;}}function _0x108b41(_0x422baa){const _0x6a116a=_0x35d624;let _0x1512f5='';for(const _0x1751ca of _0x422baa){const {startOffset:_0x545b20,endOffset:_0x25974f,isActive:_0x3ccb4d,rangeType:_0x276620,segmentId:_0x1a65f2,segmentPage:_0xf84fcc}=_0x1751ca;_0x1512f5[_0x6a116a(0x33f)]&&(_0x1512f5+=','),_0x1512f5+=_0x545b20+':'+_0x25974f+':'+(_0x3ccb4d?'1':'0')+':'+_0x276620+':'+_0x1a65f2+':'+_0xf84fcc;}return _0x1512f5;}function _0x307604(_0x1ebec6){const _0x535ead=_0x35d624,_0x574104=_0x1ebec6[_0x535ead(0x378)](','),_0x4745f6=[];for(const _0x50c0b2 of _0x574104){const [_0xde3a5b,_0x4b69f6,_0x27f6c3,_0x3eff7c,_0x1ebb64,_0x35d8c0]=_0x50c0b2[_0x535ead(0x378)](':');_0x4745f6[_0x535ead(0x157)]({'startOffset':Number(_0xde3a5b),'endOffset':Number(_0x4b69f6),'collapsed':_0xde3a5b===_0x4b69f6,'isActive':_0x27f6c3==='1','rangeType':_0x3eff7c===_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x1f8)]?_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x1f8)]:_0x488b23[_0x535ead(0x1cd)][_0x535ead(0x2ab)],'segmentId':typeof _0x1ebb64=='string'?String(_0x1ebb64):'','segmentPage':Number(_0x35d8c0!=null?_0x35d8c0:-0x1)});}return _0x4745f6[_0x535ead(0x212)](_0x3198c1=>_0x3198c1[_0x535ead(0x1d0)])||(_0x4745f6[0x0]['isActive']=!0x0),_0x4745f6;}class _0x4f1bea extends _0x488b23[_0x35d624(0x376)]{constructor(){const _0x7cb1f5=_0x35d624;super(...arguments),_0x5c8f58(this,_0x7cb1f5(0xee),new _0xd39c43[(_0x7cb1f5(0x20f))](null)),_0x5c8f58(this,_0x7cb1f5(0x316),this['_collabCursorState$'][_0x7cb1f5(0x320)]());}['syncEditingCollabCursor'](_0x920b8d){const _0x4e907b=_0x35d624,{unitID:_0x3a9ab8,memberID:_0x201aed,textRanges:_0x4a0fb7}=_0x920b8d,_0x345628=_0x108b41(_0x4a0fb7);if(_0x345628==='')return;const _0x3fc58b={'unitID':_0x3a9ab8,'memberID':_0x201aed,'selection':_0x345628};this[_0x4e907b(0xee)]['next'](_0x3fc58b);}}var _0x33454b=Object[_0x35d624(0x235)],_0x43e68d=(_0x3d9a22,_0x13247b,_0x1018d7,_0x364859)=>{const _0x4e1dad=_0x35d624;for(var _0x9c7dbe=_0x364859>0x1?void 0x0:_0x364859?_0x33454b(_0x13247b,_0x1018d7):_0x13247b,_0x405cbc=_0x3d9a22[_0x4e1dad(0x33f)]-0x1,_0x44f084;_0x405cbc>=0x0;_0x405cbc--)(_0x44f084=_0x3d9a22[_0x405cbc])&&(_0x9c7dbe=_0x44f084(_0x9c7dbe)||_0x9c7dbe);return _0x9c7dbe;},_0x45e62a=(_0x58fc8b,_0xf39940)=>(_0x4b2563,_0x46c523)=>_0xf39940(_0x4b2563,_0x46c523,_0x58fc8b);const _0x26cfbf=0x12c,_0x4016ed=0x64;let _0x5f2e5e=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x10f7f1,_0xd4dab5,_0x308423,_0x1bf9eb,_0x3fcb68,_0x1679ba,_0x1a4c78,_0x3d3582,_0x80ccc1){const _0x410847=_0x35d624;super(),_0x5c8f58(this,_0x410847(0x257),!0x1),_0x5c8f58(this,_0x410847(0x251),!0x1),_0x5c8f58(this,_0x410847(0x387),new _0xd39c43[(_0x410847(0x20f))](new Map())),_0x5c8f58(this,_0x410847(0x307),this[_0x410847(0x387)]['asObservable']()),_0x5c8f58(this,_0x410847(0x35b),new _0xd39c43['BehaviorSubject']([])),_0x5c8f58(this,_0x410847(0x113),this['_roomMembers$'][_0x410847(0x2a0)](_0xd39c43[_0x410847(0xf5)](_0x26cfbf))),_0x5c8f58(this,_0x410847(0x156),_0x488b23[_0x410847(0x396)](_0x426e06=>{const _0x5524ef=_0x410847,_0x1c0621={'eventID':_0x330813[_0x5524ef(0x174)][_0x5524ef(0x31a)],'data':{'unitID':this[_0x5524ef(0x28e)],'memberID':this['_session'][_0x5524ef(0x284)](),'selection':_0x108b41(_0x426e06)}};this['_session'][_0x5524ef(0x10f)](_0x1c0621,this[_0x5524ef(0x28e)]);},_0x4016ed)),(this[_0x410847(0x28e)]=_0x10f7f1,this[_0x410847(0x326)]=_0xd4dab5,this[_0x410847(0x111)]=_0x308423,this[_0x410847(0x24b)]=_0x1bf9eb,this[_0x410847(0x38c)]=_0x3fcb68,this[_0x410847(0x341)]=_0x1679ba,this[_0x410847(0x1a2)]=_0x1a4c78,this[_0x410847(0x162)]=_0x3d3582,this[_0x410847(0x224)]=_0x80ccc1);}get[_0x35d624(0x29a)](){const _0x43f15f=_0x35d624;return this[_0x43f15f(0x387)][_0x43f15f(0x334)]();}get['roomMembers'](){const _0x1f9a76=_0x35d624;return this[_0x1f9a76(0x35b)][_0x1f9a76(0x334)]();}[_0x35d624(0x299)](){const _0x28645c=_0x35d624;super['dispose'](),this[_0x28645c(0x387)][_0x28645c(0x25a)](new Map()),this['_cursorInfo$'][_0x28645c(0x1ae)](),this[_0x28645c(0x35b)][_0x28645c(0x25a)]([]),this[_0x28645c(0x35b)]['complete']();}[_0x35d624(0x1ff)](){const _0x25e1fb=_0x35d624;this[_0x25e1fb(0x251)]||(this[_0x25e1fb(0x251)]=!0x0,this[_0x25e1fb(0x326)][_0x25e1fb(0x3af)][_0x25e1fb(0x2a0)](_0xd39c43['takeUntil'](this[_0x25e1fb(0x325)]))['subscribe'](_0x3cad5e=>{const _0x5079ce=_0x25e1fb;_0x3cad5e===_0xe662fa[_0x5079ce(0x3a7)][_0x5079ce(0x191)]?this[_0x5079ce(0x195)]():this[_0x5079ce(0x263)]();}),this[_0x25e1fb(0x326)][_0x25e1fb(0x2d5)][_0x25e1fb(0x2a0)](_0xd39c43[_0x25e1fb(0x208)](this[_0x25e1fb(0x325)]))[_0x25e1fb(0x239)](_0x2ae40e=>{const _0xe958f8=_0x25e1fb,_0x5b564f=_0x2ae40e['eventID'];_0x5b564f===_0x330813[_0xe958f8(0x174)][_0xe958f8(0x31a)]&&this[_0xe958f8(0x1a0)](_0x2ae40e),_0x5b564f===_0x330813[_0xe958f8(0x174)]['USERS_LEAVE']&&this[_0xe958f8(0x248)](_0x2ae40e);}),this[_0x25e1fb(0x37d)](this[_0x25e1fb(0x224)][_0x25e1fb(0x1fd)](_0x15dc48=>{const _0x2ca90f=_0x25e1fb,_0x56f2ea=_0x15dc48[_0x2ca90f(0x3a4)];_0x56f2ea!=null&&this[_0x2ca90f(0x257)]&&_0x15dc48['id']===_0x473e87[_0x2ca90f(0x3a8)]['id']&&_0x56f2ea[_0x2ca90f(0x187)]===this['unitID']&&_0x56f2ea[_0x2ca90f(0x197)]===!0x1&&_0x56f2ea[_0x2ca90f(0x2af)][_0x2ca90f(0x33f)]>0x0&&this[_0x2ca90f(0x156)](_0x56f2ea[_0x2ca90f(0x2af)]);})),this[_0x25e1fb(0x341)]['collabCursorState$'][_0x25e1fb(0x2a0)](_0xd39c43[_0x25e1fb(0x208)](this[_0x25e1fb(0x325)]))[_0x25e1fb(0x239)](_0x3df33c=>{const _0x5105a2=_0x25e1fb;if((_0x3df33c==null?void 0x0:_0x3df33c[_0x5105a2(0x28e)])!==this['unitID'])return;const _0x1867e5={'eventID':_0x330813[_0x5105a2(0x174)][_0x5105a2(0x31a)],'data':_0x3df33c};this[_0x5105a2(0x1a0)](_0x1867e5);}),this['disposeWithMe'](this[_0x25e1fb(0x224)][_0x25e1fb(0x1fd)](_0x44f69c=>{const _0x30b013=_0x25e1fb;if(_0x44f69c[_0x30b013(0x3a4)]==null)return;const _0x1ea469=_0x44f69c[_0x30b013(0x3a4)];if(_0x44f69c['id']!==_0x473e87['RichTextEditingMutation']['id']||_0x1ea469[_0x30b013(0x187)]!==this[_0x30b013(0x28e)])return;const _0x3b8996={'id':_0x30b013(0x373),'params':_0x1ea469},_0x51bc14=this[_0x30b013(0x29a)];for(const [_0x378808,_0x40d578]of _0x51bc14){const _0x6aa883={'id':_0x30b013(0x373),'params':{'unitId':this[_0x30b013(0x28e)],'actions':null,'textRanges':_0x40d578['ranges']}},_0x50c39f=this[_0x30b013(0x1a2)][_0x30b013(0x33a)](_0x3b8996,_0x6aa883,!0x1);if(_0x330813['isTransformMutationFailure'](_0x50c39f))throw _0x50c39f[_0x30b013(0x188)];_0x51bc14['set'](_0x378808,{..._0x40d578,'ranges':_0x50c39f['m2Prime']['params'][_0x30b013(0xcb)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x51bc14);});})));}[_0x35d624(0x1a0)](_0xe9b6b2){const _0x55d911=_0x35d624;var _0x27e779,_0x29bc76;const {memberID:_0x5374ee,selection:_0x450bdf}=_0xe9b6b2['data'],_0x17629=_0x307604(_0x450bdf),_0xa54cea=(_0x29bc76=(_0x27e779=this[_0x55d911(0x38c)]['getMember'](this[_0x55d911(0x28e)],_0x5374ee))==null?void 0x0:_0x27e779[_0x55d911(0x38e)])!=null?_0x29bc76:'Unknown\x20user',_0x1054bd={'color':this[_0x55d911(0x24b)][_0x55d911(0x12a)](_0x5374ee),'name':_0xa54cea,'ranges':_0x17629},_0x3e93ab=this[_0x55d911(0x29a)];_0x3e93ab[_0x55d911(0x26e)](_0x5374ee,_0x1054bd),this['_cursorInfo$'][_0x55d911(0x25a)](_0x3e93ab);}[_0x35d624(0x248)](_0x599ec3){const _0x3cc9ab=_0x35d624,{memberID:_0x43be78}=_0x599ec3['data'],_0x4b879c=this['cursorInfo'];_0x4b879c[_0x3cc9ab(0x323)](_0x43be78),this[_0x3cc9ab(0x387)]['next'](_0x4b879c);}[_0x35d624(0x195)](){const _0x3d48cb=_0x35d624;var _0x3e80fb;if(this['_online']=!0x0,((_0x3e80fb=this[_0x3d48cb(0x162)][_0x3d48cb(0x19a)]())==null?void 0x0:_0x3e80fb[_0x3d48cb(0x394)]())!==this['unitID'])return;const _0x1fcd41=this[_0x3d48cb(0x111)][_0x3d48cb(0x37f)](_0x473e87[_0x3d48cb(0x3ac)])[_0x3d48cb(0x361)]();Array[_0x3d48cb(0x1ab)](_0x1fcd41)&&_0x1fcd41[_0x3d48cb(0x33f)]>0x0&&this[_0x3d48cb(0x156)](_0x1fcd41);}[_0x35d624(0x263)](){this['_online']=!0x1;}};_0x5f2e5e=_0x43e68d([_0x45e62a(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x45e62a(0x3,_0x488b23[_0x35d624(0x14a)](_0x3a845f)),_0x45e62a(0x4,_0x488b23['Inject'](_0xe662fa[_0x35d624(0x13b)])),_0x45e62a(0x5,_0x488b23['Inject'](_0x4f1bea)),_0x45e62a(0x6,_0x330813['ITransformService']),_0x45e62a(0x7,_0x488b23[_0x35d624(0x385)]),_0x45e62a(0x8,_0x488b23[_0x35d624(0x1cc)])],_0x5f2e5e);var _0x34640e=Object[_0x35d624(0x235)],_0x30af6e=(_0x29ea12,_0x456e0f,_0x1dc54d,_0x1e8e21)=>{for(var _0x440afa=_0x1e8e21>0x1?void 0x0:_0x1e8e21?_0x34640e(_0x456e0f,_0x1dc54d):_0x456e0f,_0x541d6d=_0x29ea12['length']-0x1,_0x346279;_0x541d6d>=0x0;_0x541d6d--)(_0x346279=_0x29ea12[_0x541d6d])&&(_0x440afa=_0x346279(_0x440afa)||_0x440afa);return _0x440afa;},_0x26fdda=(_0x1e0db3,_0x14bfd0)=>(_0x1bbb7c,_0x266daa)=>_0x14bfd0(_0x1bbb7c,_0x266daa,_0x1e0db3);const _0x4bf96c=0x12c,_0x12bab0=0x64,_0x36a631=()=>{let _0x155bea=[],_0xda4665=!0x1;return _0x1412b1=>{const _0x3298b9=_0x3f90;_0x155bea[_0x3298b9(0x157)](_0x1412b1),_0xda4665||(_0xda4665=!0x0,setTimeout(()=>{const _0x143a29=_0x3298b9;_0x155bea[_0x143a29(0x125)](_0x4cec47=>_0x4cec47()),_0x155bea=[],_0xda4665=!0x1;}));};};let _0x535e38=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x4e3f26,_0x193a4d,_0x5a1da2,_0x3d8b5a,_0x31d3af,_0xec9f1c,_0x31b2b2,_0x16d660){const _0x516340=_0x35d624;super(),_0x5c8f58(this,_0x516340(0x257),!0x1),_0x5c8f58(this,_0x516340(0x251),!0x1),_0x5c8f58(this,_0x516340(0x387),new _0xd39c43[(_0x516340(0x20f))](new Map())),_0x5c8f58(this,_0x516340(0x307),this['_cursorInfo$']['asObservable']()),_0x5c8f58(this,_0x516340(0x35b),new _0xd39c43['BehaviorSubject']([])),_0x5c8f58(this,_0x516340(0x113),this[_0x516340(0x35b)][_0x516340(0x2a0)](_0xd39c43[_0x516340(0xf5)](_0x4bf96c))),_0x5c8f58(this,'_updateLocalCursor',_0x488b23[_0x516340(0x396)]((_0x19ee6f,_0x354ac8)=>{const _0x1e8533=_0x516340,_0x32575d={'eventID':_0x330813[_0x1e8533(0x174)][_0x1e8533(0x31a)],'data':{'unitID':this[_0x1e8533(0x28e)],'memberID':this[_0x1e8533(0x326)][_0x1e8533(0x284)](),'selection':_0x5a73c8[_0x1e8533(0x179)](_0x19ee6f,_0x354ac8['range'])}};this[_0x1e8533(0x326)][_0x1e8533(0x10f)](_0x32575d,this['unitID']);},_0x12bab0)),(this[_0x516340(0x28e)]=_0x4e3f26,this[_0x516340(0x326)]=_0x193a4d,this['_injector']=_0x5a1da2,this['_colorAssignService']=_0x3d8b5a,this[_0x516340(0x38c)]=_0x31d3af,this[_0x516340(0x162)]=_0xec9f1c,this[_0x516340(0x224)]=_0x31b2b2,this['_refRangeService']=_0x16d660);}get[_0x35d624(0x29a)](){const _0x292ace=_0x35d624;return this['_cursorInfo$'][_0x292ace(0x334)]();}get[_0x35d624(0x2f1)](){const _0x5cfbcd=_0x35d624;return this[_0x5cfbcd(0x35b)]['getValue']();}[_0x35d624(0x299)](){const _0x22d240=_0x35d624;super['dispose'](),this[_0x22d240(0x387)][_0x22d240(0x25a)](new Map()),this[_0x22d240(0x387)][_0x22d240(0x1ae)](),this[_0x22d240(0x35b)][_0x22d240(0x25a)]([]),this[_0x22d240(0x35b)]['complete']();}[_0x35d624(0x1ff)](){const _0x676123=_0x35d624;this[_0x676123(0x251)]||(this['_init']=!0x0,this[_0x676123(0x326)]['sessionStatus$'][_0x676123(0x2a0)](_0xd39c43[_0x676123(0x208)](this[_0x676123(0x325)]))[_0x676123(0x239)](_0x3aeb58=>{const _0x1a2a6c=_0x676123;_0x3aeb58===_0xe662fa[_0x1a2a6c(0x3a7)][_0x1a2a6c(0x191)]?this[_0x1a2a6c(0x195)]():this[_0x1a2a6c(0x263)]();}),this[_0x676123(0x326)][_0x676123(0x2d5)][_0x676123(0x2a0)](_0xd39c43['takeUntil'](this[_0x676123(0x325)]))[_0x676123(0x239)](_0x5a3153=>{const _0x5c03e0=_0x676123,_0x5f3bc1=_0x5a3153['eventID'];_0x5f3bc1===_0x330813[_0x5c03e0(0x174)][_0x5c03e0(0x31a)]&&this[_0x5c03e0(0x1a0)](_0x5a3153),_0x5f3bc1===_0x330813['CollaborationEvent']['USERS_LEAVE']&&this[_0x5c03e0(0x248)](_0x5a3153);}),this[_0x676123(0x33c)](),this[_0x676123(0x37d)](this[_0x676123(0x224)]['onCommandExecuted'](_0x50c42c=>{const _0x1b6266=_0x676123;if(this[_0x1b6266(0x257)]&&_0x50c42c['id']===_0x579814[_0x1b6266(0x225)]['id']&&_0x50c42c[_0x1b6266(0x3a4)][_0x1b6266(0x187)]===this[_0x1b6266(0x28e)]){const _0x653f60=_0x50c42c[_0x1b6266(0x3a4)];this['_updateLocalCursor'](_0x653f60[_0x1b6266(0x217)],_0x653f60[_0x1b6266(0x2c9)][0x0]);}})));}[_0x35d624(0x1a0)](_0x36ae1d){const _0x3bb66a=_0x35d624;var _0x29db8d,_0x15f42b;const {memberID:_0x4235d9,selection:_0xdb7d1e}=_0x36ae1d['data'],{sheetName:_0x2d73f2,range:_0x540c9a}=_0x5a73c8[_0x3bb66a(0x32d)](_0xdb7d1e),_0x3a5fb2={'name':(_0x15f42b=(_0x29db8d=this[_0x3bb66a(0x38c)][_0x3bb66a(0x31d)](this[_0x3bb66a(0x28e)],_0x4235d9))==null?void 0x0:_0x29db8d[_0x3bb66a(0x38e)])!=null?_0x15f42b:_0x3bb66a(0x1db),'range':this[_0x3bb66a(0x1e5)](_0x2d73f2,_0x540c9a),'sheetID':_0x2d73f2,'color':this[_0x3bb66a(0x24b)][_0x3bb66a(0x12a)](_0x4235d9),'selection':_0xdb7d1e},_0x1b79c5=this['cursorInfo'];_0x1b79c5[_0x3bb66a(0x26e)](_0x4235d9,_0x3a5fb2),this['_cursorInfo$'][_0x3bb66a(0x25a)](_0x1b79c5);}[_0x35d624(0x248)](_0x11907b){const _0x146659=_0x35d624,{memberID:_0x3894ee}=_0x11907b['data'],_0x4bd3ef=this[_0x146659(0x29a)];_0x4bd3ef['delete'](_0x3894ee),this['_cursorInfo$'][_0x146659(0x25a)](_0x4bd3ef);}[_0x35d624(0x1e5)](_0x4845e5,_0x1ce35a){const _0x5d5e95=_0x35d624;var _0x2d4c86,_0xcbe847;const _0x5d7fdf=(_0xcbe847=(_0x2d4c86=this[_0x5d5e95(0x162)][_0x5d5e95(0xcc)](this[_0x5d5e95(0x28e)]))==null?void 0x0:_0x2d4c86[_0x5d5e95(0xfe)](_0x4845e5))==null?void 0x0:_0xcbe847[_0x5d5e95(0x1ad)]();return(_0x5d7fdf==null?void 0x0:_0x5d7fdf['find'](_0x9458e3=>_0x488b23['Rectangle'][_0x5d5e95(0x3a2)](_0x9458e3,_0x1ce35a)))||_0x1ce35a;}[_0x35d624(0x33c)](){const _0x5243bc=_0x35d624,_0x2b93e3=new _0x488b23[(_0x5243bc(0x132))](),_0x46f884=_0x36a631(),_0x57cfa7=()=>{const _0x594a65=_0x5243bc;_0x2b93e3[_0x594a65(0x299)]();const _0x5f014d=(_0x3dcb73,_0x489e9a,_0x2d75dd,_0x31552b)=>{const _0x45a01f=_0x594a65;let _0x390414=[];switch(_0x3dcb73['id']){case _0x579814['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x390414=_0x579814[_0x45a01f(0x12d)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)]['DeleteRangeMoveUpCommandId']:{_0x390414=_0x579814[_0x45a01f(0x2df)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x13c)]:{_0x390414=_0x579814[_0x45a01f(0x2f9)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)][_0x45a01f(0x294)]:{_0x390414=_0x579814[_0x45a01f(0x357)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x261)]:{_0x390414=_0x579814[_0x45a01f(0x25e)](_0x3dcb73,_0x31552b);break;}case _0x579814[_0x45a01f(0x17a)][_0x45a01f(0x37b)]:{_0x390414=_0x579814[_0x45a01f(0x3a9)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x1c8)]:{_0x390414=_0x579814['handleMoveRange'](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x2e2)]:{_0x390414=_0x579814[_0x45a01f(0x24e)](_0x3dcb73,_0x31552b);break;}case _0x579814['EffectRefRangId'][_0x45a01f(0x230)]:{_0x390414=_0x579814[_0x45a01f(0x2cb)](_0x3dcb73,_0x31552b);break;}}const _0x17930c=_0x579814[_0x45a01f(0x2b8)](_0x390414,_0x31552b),_0x494529=this[_0x45a01f(0x29a)][_0x45a01f(0x37f)](_0x489e9a);if(_0x494529&&_0x17930c){const _0x27ec4e={..._0x494529,'range':_0x17930c};this['cursorInfo'][_0x45a01f(0x26e)](_0x489e9a,_0x27ec4e),_0x46f884(()=>{const _0x30a039=_0x45a01f,_0x3427b5=this[_0x30a039(0x136)]['registerRefRange'](_0x17930c,_0x1d2ad1=>(_0x3427b5[_0x30a039(0x299)](),_0x5f014d(_0x1d2ad1,_0x489e9a,_0x2d75dd,_0x17930c)));_0x2b93e3['add'](_0x3427b5);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x31acec,_0x514fb6)=>{const _0x1ea9b7=_0x594a65,{range:_0x376b71,sheetID:_0x258cf4}=_0x31acec,_0xc845df=this[_0x1ea9b7(0x136)][_0x1ea9b7(0x34d)](_0x376b71,_0xf46c6=>(_0xc845df['dispose'](),_0x5f014d(_0xf46c6,_0x514fb6,_0x258cf4,_0x376b71)));_0x2b93e3[_0x1ea9b7(0x380)](_0xc845df);});};this[_0x5243bc(0x37d)](_0x488b23[_0x5243bc(0x15d)](this[_0x5243bc(0x387)][_0x5243bc(0x239)](()=>{_0x57cfa7();})));}[_0x35d624(0x195)](){const _0x5d0cae=_0x35d624;var _0x44f5b7,_0x1f5608;if(this[_0x5d0cae(0x257)]=!0x0,((_0x44f5b7=this[_0x5d0cae(0x162)][_0x5d0cae(0x19a)]())==null?void 0x0:_0x44f5b7['getUnitId']())!==this[_0x5d0cae(0x28e)])return;const _0x43f61c=(_0x1f5608=this[_0x5d0cae(0x111)][_0x5d0cae(0x37f)](_0x579814[_0x5d0cae(0x1f9)])[_0x5d0cae(0x368)]())==null?void 0x0:_0x1f5608[0x0],_0x2bb1f1=this['_univerInstanceService'][_0x5d0cae(0x161)](_0x488b23[_0x5d0cae(0x278)][_0x5d0cae(0x386)])['getActiveSheet']();_0x43f61c&&_0x2bb1f1&&this[_0x5d0cae(0x156)](_0x2bb1f1[_0x5d0cae(0x310)](),_0x43f61c);}[_0x35d624(0x263)](){const _0x1a3f0c=_0x35d624;this[_0x1a3f0c(0x257)]=!0x1;}};_0x535e38=_0x30af6e([_0x26fdda(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x26fdda(0x3,_0x488b23[_0x35d624(0x14a)](_0x3a845f)),_0x26fdda(0x4,_0x488b23['Inject'](_0xe662fa[_0x35d624(0x13b)])),_0x26fdda(0x5,_0x488b23[_0x35d624(0x385)]),_0x26fdda(0x6,_0x488b23[_0x35d624(0x1cc)]),_0x26fdda(0x7,_0x488b23[_0x35d624(0x14a)](_0x579814[_0x35d624(0x145)]))],_0x535e38);var _0x564c88=Object[_0x35d624(0x235)],_0x2b0350=(_0x5c27ef,_0x5dd6a2,_0xcc2390,_0x4d3226)=>{for(var _0x53a85c=_0x4d3226>0x1?void 0x0:_0x4d3226?_0x564c88(_0x5dd6a2,_0xcc2390):_0x5dd6a2,_0x50bdd3=_0x5c27ef['length']-0x1,_0x332c1a;_0x50bdd3>=0x0;_0x50bdd3--)(_0x332c1a=_0x5c27ef[_0x50bdd3])&&(_0x53a85c=_0x332c1a(_0x53a85c)||_0x53a85c);return _0x53a85c;},_0x5e20b0=(_0x577001,_0x34310f)=>(_0x306788,_0x58ef1a)=>_0x34310f(_0x306788,_0x58ef1a,_0x577001);let _0x52c457=class extends _0x488b23['RxDisposable']{constructor(_0x1c81d7,_0xea62b2,_0x2a7990){const _0x1afabb=_0x35d624;super(),_0x5c8f58(this,'_entities',new Map()),_0x5c8f58(this,_0x1afabb(0x1cb),new _0xd39c43[(_0x1afabb(0x367))]()),(this[_0x1afabb(0x162)]=_0x1c81d7,this[_0x1afabb(0x111)]=_0xea62b2,this[_0x1afabb(0x274)]=_0x2a7990,this[_0x1afabb(0x251)]());}[_0x35d624(0x299)](){const _0x51b40e=_0x35d624;super['dispose'](),this['_entityInit$'][_0x51b40e(0x1ae)](),this[_0x51b40e(0x36b)]['forEach'](_0x58e629=>_0x58e629[_0x51b40e(0x299)]());}[_0x35d624(0x254)](_0x501897){const _0x462c6a=_0x35d624;return this[_0x462c6a(0x36b)]['has'](_0x501897)?this[_0x462c6a(0x36b)]['get'](_0x501897)[_0x462c6a(0x307)]:this[_0x462c6a(0x1cb)]['pipe'](_0xd39c43['filter'](_0x2e9a05=>_0x2e9a05['unitID']===_0x501897),_0xd39c43['switchMap'](_0x51ff9e=>_0x51ff9e[_0x462c6a(0x307)]));}[_0x35d624(0x251)](){const _0x367368=_0x35d624;this[_0x367368(0x162)][_0x367368(0x181)](_0x488b23[_0x367368(0x278)]['UNIVER_SHEET'])[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this[_0x367368(0x325)]))[_0x367368(0x239)](async _0x30fc70=>{const _0xa94af5=_0x367368,_0x427b61=_0x30fc70[_0xa94af5(0x394)](),_0x3c8dfb=await this[_0xa94af5(0x1a5)](_0x427b61);this[_0xa94af5(0x1cb)]['next'](_0x3c8dfb),this['_entities'][_0xa94af5(0x26e)](_0x427b61,_0x3c8dfb);}),this[_0x367368(0x162)][_0x367368(0x181)](_0x488b23[_0x367368(0x278)][_0x367368(0x17b)])[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this[_0x367368(0x325)]))[_0x367368(0x2a0)](_0xd39c43[_0x367368(0x293)](_0x288edb=>!_0x288edb[_0x367368(0x394)]()[_0x367368(0x393)]('__')))[_0x367368(0x239)](async _0x11d0bb=>{const _0x933885=_0x367368,_0x48d55a=_0x11d0bb[_0x933885(0x394)](),_0x1fe060=await this[_0x933885(0x317)](_0x48d55a);this['_entityInit$'][_0x933885(0x25a)](_0x1fe060),this[_0x933885(0x36b)][_0x933885(0x26e)](_0x48d55a,_0x1fe060);}),_0xd39c43[_0x367368(0x198)](this[_0x367368(0x162)][_0x367368(0x19d)](_0x488b23[_0x367368(0x278)][_0x367368(0x17b)]),this[_0x367368(0x162)]['getTypeOfUnitDisposed$'](_0x488b23[_0x367368(0x278)]['UNIVER_SHEET']))[_0x367368(0x2a0)](_0xd39c43['takeUntil'](this['dispose$']))[_0x367368(0x239)](_0x51540a=>{const _0x2ae8db=_0x367368,_0x2311dd=_0x51540a[_0x2ae8db(0x394)](),_0x4fc4df=this[_0x2ae8db(0x36b)]['get'](_0x2311dd);_0x4fc4df&&(_0x4fc4df[_0x2ae8db(0x299)](),this[_0x2ae8db(0x36b)][_0x2ae8db(0x323)](_0x2311dd));});}async[_0x35d624(0x1a5)](_0x292784){const _0x4aac86=_0x35d624,_0x29191e=await this[_0x4aac86(0x274)]['requireSession'](_0x292784),_0x5e6687=this[_0x4aac86(0x111)][_0x4aac86(0x114)](_0x535e38,_0x292784,_0x29191e);return _0x5e6687[_0x4aac86(0x1ff)](),_0x5e6687;}async['_startDocCollabCursor'](_0x461cb7){const _0x5ddc8b=_0x35d624,_0x9daf99=await this[_0x5ddc8b(0x274)][_0x5ddc8b(0xf4)](_0x461cb7),_0x116f27=this['_injector'][_0x5ddc8b(0x114)](_0x5f2e5e,_0x461cb7,_0x9daf99);return _0x116f27[_0x5ddc8b(0x1ff)](),_0x116f27;}};_0x52c457=_0x2b0350([_0x5e20b0(0x0,_0x488b23[_0x35d624(0x385)]),_0x5e20b0(0x1,_0x488b23[_0x35d624(0x14a)](_0x488b23['Injector'])),_0x5e20b0(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationSessionService']))],_0x52c457);const _0x3e1347=0x14,_0x4814b2=0xc8,_0x19907b=0x4,_0x3d292f=0x5;function _0x8ebd3e(_0x297518,_0x45f832){const _0x1af95c=_0x35d624;let {radius:_0x534704,width:_0x27582b,height:_0x507a4e}=_0x45f832;_0x534704=_0x534704!=null?_0x534704:0x0,_0x27582b=_0x27582b!=null?_0x27582b:0x1e,_0x507a4e=_0x507a4e!=null?_0x507a4e:0x1e;let _0x1a623c=0x0,_0x47c28a=0x0,_0x2ab738=0x0;_0x1a623c=_0x47c28a=_0x2ab738=Math['min'](_0x534704,_0x27582b/0x2,_0x507a4e/0x2),_0x297518['beginPath'](),_0x297518[_0x1af95c(0x110)](_0x1a623c,0x0),_0x297518[_0x1af95c(0x2a6)](_0x27582b-_0x47c28a,0x0),_0x297518[_0x1af95c(0x318)](_0x27582b-_0x47c28a,_0x47c28a,_0x47c28a,Math['PI']*0x3/0x2,0x0,!0x1),_0x297518[_0x1af95c(0x2a6)](_0x27582b,_0x507a4e-_0x2ab738),_0x297518[_0x1af95c(0x318)](_0x27582b-_0x2ab738,_0x507a4e-_0x2ab738,_0x2ab738,0x0,Math['PI']/0x2,!0x1),_0x297518[_0x1af95c(0x2a6)](0x0,_0x507a4e),_0x297518[_0x1af95c(0x2a6)](0x0,_0x1a623c),_0x297518[_0x1af95c(0x318)](_0x1a623c,_0x1a623c,_0x1a623c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x297518['closePath'](),_0x45f832[_0x1af95c(0x2c6)]&&(_0x297518[_0x1af95c(0x3b4)](),_0x297518['fillStyle']=_0x45f832[_0x1af95c(0x2c6)],_0x45f832['fillRule']===_0x1af95c(0xf1)?_0x297518[_0x1af95c(0x2c6)](_0x1af95c(0xf1)):_0x297518['fill'](),_0x297518['restore']());}class _0x35a191 extends _0x4ad5e1[_0x35d624(0x139)]{constructor(_0x30064d,_0x3869c1){const _0xed8332=_0x35d624;super(_0x30064d,_0x3869c1),_0x5c8f58(this,_0xed8332(0x348)),_0x5c8f58(this,'text'),(this[_0xed8332(0x348)]=_0x3869c1==null?void 0x0:_0x3869c1[_0xed8332(0x348)],this[_0xed8332(0x330)]=_0x3869c1==null?void 0x0:_0x3869c1['text']);}static['drawWith'](_0xd45d31,_0x2cbcc4){const _0x18cc59=_0x35d624,{text:_0x5b5c91,color:_0x71fce8}=_0x2cbcc4;_0xd45d31[_0x18cc59(0x3b4)](),_0xd45d31[_0x18cc59(0x2e4)]=_0x18cc59(0x26c);const _0x245de7=_0xd45d31[_0x18cc59(0x17c)](_0x5b5c91)[_0x18cc59(0x1fe)],_0x129267=Math['min'](_0x245de7+0x2*_0x19907b,_0x4814b2);_0x8ebd3e(_0xd45d31,{'height':_0x3e1347,'radius':0x4,'width':_0x129267,'fill':_0x71fce8}),_0xd45d31[_0x18cc59(0x2f7)]='#FFF';const _0x4ecb30=_0x19907b,_0x4f522d=_0x3e1347-_0x3d292f,_0x47ea50=_0x4814b2-0x2*_0x19907b;if(_0x245de7>_0x47ea50){let _0x3e3917='',_0x119d0b=0x0;for(const _0x20fdd6 of _0x5b5c91){const _0x4e449a=_0xd45d31[_0x18cc59(0x17c)](_0x20fdd6)[_0x18cc59(0x1fe)];if(_0x119d0b+_0x4e449a<=_0x47ea50-_0xd45d31[_0x18cc59(0x17c)](_0x18cc59(0x30c))[_0x18cc59(0x1fe)])_0x3e3917+=_0x20fdd6,_0x119d0b+=_0x4e449a;else{_0x3e3917+=_0x18cc59(0x30c);break;}}_0xd45d31[_0x18cc59(0x209)](_0x3e3917,_0x4ecb30,_0x4f522d);}else _0xd45d31[_0x18cc59(0x209)](_0x5b5c91,_0x4ecb30,_0x4f522d);_0xd45d31[_0x18cc59(0x2d7)]();}['_draw'](_0x27a3cd){const _0x45790b=_0x35d624;_0x35a191[_0x45790b(0x1b5)](_0x27a3cd,this);}}const _0xcaa577='collab-text-anchor-',_0x51a857=_0x35d624(0xce),_0x433d2f='collab-rect-range-',_0x27b9f4=0x6,_0x291d89=1.5,_0x59f5fd=0x4,_0x58c60f=1.5,_0x4d180f='rgba(255,\x20255,\x20255,\x200.01)';class _0x5c0baf{constructor(_0x549d3d,_0x4f21c1,_0x2d8c06,_0x5d5c39){const _0x34d6e5=_0x35d624;_0x5c8f58(this,_0x34d6e5(0x172),[]),_0x5c8f58(this,'_anchor',null),_0x5c8f58(this,_0x34d6e5(0x20e),null),_0x5c8f58(this,'_anchorDot',null),_0x5c8f58(this,_0x34d6e5(0x259),null),_0x5c8f58(this,'_eventUnsubscribe',null),(this[_0x34d6e5(0x109)]=_0x549d3d,this[_0x34d6e5(0x28f)]=_0x4f21c1,this['_docSkeleton']=_0x2d8c06,this[_0x34d6e5(0x21d)]=_0x5d5c39,this[_0x34d6e5(0x351)]());}set[_0x35d624(0x283)](_0x49d230){const _0x1d05f5=_0x35d624;_0x49d230?(this[_0x1d05f5(0x153)]&&this[_0x1d05f5(0x153)][_0x1d05f5(0x266)](),this[_0x1d05f5(0x20e)]&&this[_0x1d05f5(0x20e)][_0x1d05f5(0x2b5)]()):(this['_anchorDot']&&this[_0x1d05f5(0x153)][_0x1d05f5(0x2b5)](),this[_0x1d05f5(0x20e)]&&this[_0x1d05f5(0x20e)][_0x1d05f5(0x266)]());}[_0x35d624(0x299)](){const _0x2e542a=_0x35d624;for(const _0x4ae198 of this['_shapes'])_0x4ae198['dispose']();this[_0x2e542a(0x20e)]&&this[_0x2e542a(0x20e)][_0x2e542a(0x299)](),this[_0x2e542a(0x153)]&&this[_0x2e542a(0x153)][_0x2e542a(0x299)](),this[_0x2e542a(0x2dc)]&&this[_0x2e542a(0x2dc)][_0x2e542a(0x299)](),this[_0x2e542a(0x364)]&&this['_eventUnsubscribe']();}[_0x35d624(0x351)](){const _0x475ab0=_0x35d624;var _0x4debfc;const {_docSkeleton:_0x88bb2d,_document:_0x3dd494}=this,{color:_0x2deccb,name:_0x37ffd9,ranges:_0x1e2920}=this[_0x475ab0(0x109)],_0x2fcbd5=_0x3dd494[_0x475ab0(0x1d2)](),{docsLeft:_0x13f67d,docsTop:_0x4fb8f4}=_0x2fcbd5,_0x21089b=new _0x568c85[(_0x475ab0(0x21c))](_0x2fcbd5,_0x88bb2d);for(const {startOffset:_0x1a12f5,endOffset:_0x3d31f2,rangeType:_0x4b6322,segmentId:_0x7ef245,segmentPage:_0x59bacb,collapsed:_0x1b4331,isActive:_0x3b5eff}of _0x1e2920){const _0x21714d=_0x88bb2d['findNodePositionByCharIndex'](_0x1a12f5,!0x0,_0x7ef245,_0x59bacb);let _0x3a20a7=_0x88bb2d[_0x475ab0(0x1bc)](_0x3d31f2,!0x0,_0x7ef245,_0x59bacb);if(_0x3a20a7==null&&(_0x3a20a7=_0x88bb2d[_0x475ab0(0x1bc)](_0x3d31f2-0x1,!0x1,_0x7ef245,_0x59bacb)),_0x3b5eff){const {contentBoxPointGroup:_0x583c23}=_0x21089b[_0x475ab0(0x319)](_0x3a20a7,_0x3a20a7);if(_0x583c23[_0x475ab0(0x33f)]===0x0)continue;this[_0x475ab0(0x2fb)](_0x2deccb,_0x583c23,_0x13f67d,_0x4fb8f4,_0x37ffd9),this[_0x475ab0(0x364)]=this['_handleHover']();}if(_0x21714d&&_0x3a20a7){if(_0x4b6322===_0x488b23[_0x475ab0(0x1cd)][_0x475ab0(0x2ab)]){const _0x20d63b=new _0x568c85[(_0x475ab0(0x275))](_0x2fcbd5,_0x88bb2d),{pointGroup:_0x157cb3}=(_0x4debfc=_0x20d63b[_0x475ab0(0x319)](_0x21714d,_0x3a20a7))!=null?_0x4debfc:{};if(_0x157cb3==null||_0x157cb3['length']===0x0)continue;this[_0x475ab0(0x3a1)](_0x2deccb,_0x157cb3,_0x13f67d,_0x4fb8f4);}else{if(!_0x1b4331){const {borderBoxPointGroup:_0x2192d4}=_0x21089b['getRangePointData'](_0x21714d,_0x3a20a7);if(_0x2192d4[_0x475ab0(0x33f)]===0x0)continue;this[_0x475ab0(0x252)](_0x2deccb,_0x2192d4,_0x13f67d,_0x4fb8f4);}}}}}['_drawAnchor'](_0x3571f8,_0x4b6455,_0x10ba72,_0x345990,_0x5122ad){const _0x325b46=_0x35d624,_0xffb00d=this[_0x325b46(0x302)](_0x4b6455),{left:_0x15241f,top:_0x1fe2f5,height:_0x3760d7}=_0xffb00d,_0x52e779=this['_getScale'](),_0x2a99a7=_0x58c60f/_0x52e779,_0x320983=new _0x4ad5e1['Rect'](_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990,'height':_0x3760d7,'width':_0x291d89,'fill':_0x3571f8||_0x4ad5e1[_0x325b46(0x2d4)](_0x488b23[_0x325b46(0x24d)][_0x325b46(0x3b3)],0x0),'strokeWidth':_0x2a99a7,'stroke':_0x4d180f,'evented':!0x0});this[_0x325b46(0x2dc)]=_0x320983,this[_0x325b46(0x28f)]['addObject'](_0x320983,_0x568c85[_0x325b46(0x18a)]);const _0x10790c=new _0x4ad5e1[(_0x325b46(0x2d0))](_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990-_0x59f5fd/0x2,'height':_0x59f5fd,'width':_0x59f5fd,'fill':_0x3571f8||_0x4ad5e1['getColor'](_0x488b23['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x3571f8||_0x4ad5e1['getColor'](_0x488b23[_0x325b46(0x24d)][_0x325b46(0x3b3)],0x0),'evented':!0x1});this[_0x325b46(0x153)]=_0x10790c,this[_0x325b46(0x28f)][_0x325b46(0x25b)](_0x10790c,_0x568c85[_0x325b46(0x18a)]);const _0x373286=new _0x35a191(_0xcaa577+_0x488b23[_0x325b46(0x390)](_0x27b9f4),{'left':_0x15241f+_0x10ba72-_0x2a99a7,'top':_0x1fe2f5+_0x345990-_0x3e1347,'text':_0x5122ad,'color':_0x3571f8});this[_0x325b46(0x20e)]=_0x373286,this[_0x325b46(0x28f)]['addObject'](_0x373286,_0x568c85[_0x325b46(0x18a)]),this[_0x325b46(0x283)]=!0x1;}[_0x35d624(0xd2)](){const _0x59f8ad=_0x35d624,_0x262759=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0xa3ca8c=_0x3f90;this[_0xa3ca8c(0x283)]=!0x0;}),_0x83c362=this[_0x59f8ad(0x2dc)][_0x59f8ad(0x300)][_0x59f8ad(0xde)](()=>{const _0x15577b=_0x59f8ad;this[_0x15577b(0x259)]&&clearTimeout(this[_0x15577b(0x259)]),this[_0x15577b(0x259)]=setTimeout(()=>{const _0x270d2c=_0x15577b;this[_0x270d2c(0x283)]=!0x1;},0x7d0);});return()=>{_0x262759['unsubscribe'](),_0x83c362['unsubscribe']();};}[_0x35d624(0x252)](_0x45190a,_0x54a450,_0x200135,_0x496d8d){const _0x4f07d7=_0x35d624,_0x5a6a28=new _0x488b23[(_0x4f07d7(0x100))](_0x45190a)[_0x4f07d7(0x23b)](0.2)[_0x4f07d7(0x28b)](),_0x5d54c7=new _0x4ad5e1[(_0x4f07d7(0x2ea))](_0x51a857+_0x488b23['generateRandomId'](_0x27b9f4),{'pointsGroup':_0x54a450,'fill':_0x5a6a28||_0x4ad5e1['getColor'](_0x488b23['COLORS']['black'],0.2),'left':_0x200135,'top':_0x496d8d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f07d7(0x172)]['push'](_0x5d54c7),this[_0x4f07d7(0x28f)][_0x4f07d7(0x25b)](_0x5d54c7,_0x568c85['TEXT_RANGE_LAYER_INDEX']);}[_0x35d624(0x3a1)](_0x2afa85,_0x176ede,_0xf17dc2,_0x507564){const _0x405b89=_0x35d624,_0x255350=new _0x488b23[(_0x405b89(0x100))](_0x2afa85)['setAlpha'](0.2)[_0x405b89(0x28b)](),_0x25c28d=new _0x4ad5e1[(_0x405b89(0x2ea))](_0x433d2f+_0x488b23[_0x405b89(0x390)](_0x27b9f4),{'pointsGroup':_0x176ede,'fill':_0x255350||_0x4ad5e1[_0x405b89(0x2d4)](_0x488b23[_0x405b89(0x24d)]['black'],0.2),'left':_0xf17dc2,'top':_0x507564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x405b89(0x172)][_0x405b89(0x157)](_0x25c28d),this[_0x405b89(0x28f)]['addObject'](_0x25c28d,_0x568c85['TEXT_RANGE_LAYER_INDEX']);}[_0x35d624(0x302)](_0x2af89d){const _0x40afe9=_0x2af89d[0x0],_0x1c8aad=_0x40afe9[0x0],_0x49c206=_0x40afe9[0x2],{x:_0x133cb4,y:_0x366518}=_0x1c8aad,{x:_0x588c0f,y:_0x456566}=_0x49c206;return{'left':_0x133cb4,'top':_0x366518,'width':_0x588c0f-_0x133cb4,'height':_0x456566-_0x366518};}[_0x35d624(0x2cc)](){const _0x5810ef=_0x35d624,{scaleX:_0x3dd3bd,scaleY:_0x14ec85}=this[_0x5810ef(0x28f)][_0x5810ef(0x121)]();return Math[_0x5810ef(0x1a3)](_0x3dd3bd,_0x14ec85);}}var _0x1627ae=Object[_0x35d624(0x235)],_0x552f09=(_0x4a1817,_0xb792b9,_0x2041cb,_0x3c86bf)=>{const _0x446075=_0x35d624;for(var _0x109a8a=_0x3c86bf>0x1?void 0x0:_0x3c86bf?_0x1627ae(_0xb792b9,_0x2041cb):_0xb792b9,_0x567345=_0x4a1817[_0x446075(0x33f)]-0x1,_0x36d29e;_0x567345>=0x0;_0x567345--)(_0x36d29e=_0x4a1817[_0x567345])&&(_0x109a8a=_0x36d29e(_0x109a8a)||_0x109a8a);return _0x109a8a;},_0x4927f3=(_0x548cbd,_0x297379)=>(_0xcfb168,_0x223c24)=>_0x297379(_0xcfb168,_0x223c24,_0x548cbd);let _0x2a680a=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0xba1c58,_0x14e0ba,_0x585b31,_0x42e4c7,_0x5ea943){const _0x21d2d8=_0x35d624;super(),_0x5c8f58(this,_0x21d2d8(0x370),[]),_0x5c8f58(this,_0x21d2d8(0x267),[]),(this[_0x21d2d8(0x2ef)]=_0xba1c58,this[_0x21d2d8(0x2cd)]=_0x14e0ba,this[_0x21d2d8(0x2c1)]=_0x585b31,this[_0x21d2d8(0x224)]=_0x42e4c7,this['_themeService']=_0x5ea943,this[_0x21d2d8(0x251)]());}[_0x35d624(0x251)](){const _0x577c1a=_0x35d624,_0x4f843c=this[_0x577c1a(0x2ef)][_0x577c1a(0x187)],_0x3b120a=this[_0x577c1a(0x2cd)];this[_0x577c1a(0x37d)](_0xd39c43[_0x577c1a(0x1df)]([this['_collabCursorController'][_0x577c1a(0x254)](_0x4f843c),this['_themeService'][_0x577c1a(0x1c0)]])[_0x577c1a(0x2a0)](_0x517874[_0x577c1a(0xd4)](([_0x1c8917,_0xd76354])=>({'skeleton':_0x3b120a[_0x577c1a(0x3a5)](),'cursors':[..._0x1c8917[_0x577c1a(0x2c4)]()][_0x577c1a(0x26f)](_0x9d1b1d=>({..._0x9d1b1d,'color':this[_0x577c1a(0x234)]['getColorFromTheme'](_0x9d1b1d[_0x577c1a(0x348)])}))})))[_0x577c1a(0x239)](_0x26e448=>{const _0x11eded=_0x577c1a;if(this['_removeCollabCursors'](),_0x26e448){const {skeleton:_0x462bbb,cursors:_0x5bc2d5}=_0x26e448;this[_0x11eded(0x306)](_0x462bbb,_0x5bc2d5);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x35d624(0x306)](_0x4f986b,_0x3234c4){const _0xfc5a23=_0x35d624,{scene:_0x327860,mainComponent:_0x44ce3c}=this[_0xfc5a23(0x2ef)],_0x178358=_0x3234c4[_0xfc5a23(0xd4)](_0x2061a5=>new _0x5c0baf(_0x2061a5,_0x327860,_0x4f986b,_0x44ce3c));this['_cursorShapes']=_0x178358,this['_cursors']=_0x3234c4;}[_0x35d624(0x314)](){const _0x453b0b=_0x35d624;this['_removeCollabCursors']();const {scene:_0xd0d88c,mainComponent:_0x194a29}=this[_0x453b0b(0x2ef)],_0xff90ac=this[_0x453b0b(0x2cd)][_0x453b0b(0x3a5)](),_0x19d5c1=this[_0x453b0b(0x267)][_0x453b0b(0xd4)](_0x3d936d=>new _0x5c0baf(_0x3d936d,_0xd0d88c,_0xff90ac,_0x194a29));this[_0x453b0b(0x370)]=_0x19d5c1;}[_0x35d624(0x395)](){const _0x3c8f76=_0x35d624;this[_0x3c8f76(0x370)][_0x3c8f76(0x125)](_0x281713=>_0x281713['dispose']()),this[_0x3c8f76(0x370)]=[];}[_0x35d624(0xd5)](){const _0x56e4c5=_0x35d624,_0x549272=[_0x568c85['SetDocZoomRatioOperation']['id']];this[_0x56e4c5(0x37d)](this[_0x56e4c5(0x224)][_0x56e4c5(0x1fd)](_0x1cb8a7=>{const _0x525cc8=_0x56e4c5;_0x549272[_0x525cc8(0x1e1)](_0x1cb8a7['id'])&&_0x1cb8a7['params'][_0x525cc8(0x187)]===this['_context'][_0x525cc8(0x187)]&&this[_0x525cc8(0x314)]();}));}[_0x35d624(0x249)](){const _0x2de24a=_0x35d624;this[_0x2de24a(0x37d)](_0x488b23[_0x2de24a(0x1d7)](this[_0x2de24a(0x2ef)][_0x2de24a(0x16f)]['onTransformChange$'])['pipe'](_0x517874[_0x2de24a(0x293)](_0x121bf4=>_0x121bf4[_0x2de24a(0x18c)]===_0x4ad5e1[_0x2de24a(0x31e)]['resize']),_0x517874[_0x2de24a(0x305)](0x10))[_0x2de24a(0x239)](()=>{const _0x9dabb7=_0x2de24a;this[_0x9dabb7(0x314)]();}));}};_0x2a680a=_0x552f09([_0x4927f3(0x1,_0x488b23[_0x35d624(0x14a)](_0x473e87[_0x35d624(0x258)])),_0x4927f3(0x2,_0x488b23[_0x35d624(0x14a)](_0x52c457)),_0x4927f3(0x3,_0x488b23[_0x35d624(0x1cc)]),_0x4927f3(0x4,_0x488b23['Inject'](_0x488b23[_0x35d624(0x339)]))],_0x2a680a);const _0x5c9426=0x1,_0x276093=1.5;class _0x370ba4 extends _0x4ad5e1[_0x35d624(0x139)]{constructor(_0x4c80a0,_0x449f5d){const _0x1ec27e=_0x35d624;super(_0x4c80a0,_0x449f5d),_0x5c8f58(this,_0x1ec27e(0x359)),_0x5c8f58(this,'_hovered',!0x1),_0x5c8f58(this,_0x1ec27e(0x2c5)),_0x5c8f58(this,_0x1ec27e(0x2f3),''),_0x5c8f58(this,'_labelPosition',_0x1ec27e(0xe6)),_0x5c8f58(this,_0x1ec27e(0x134)),(_0x449f5d&&this[_0x1ec27e(0x260)](_0x449f5d),this[_0x1ec27e(0x2b6)][_0x1ec27e(0xde)](()=>this[_0x1ec27e(0x260)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x11aef6){const _0x5d8786=_0x35d624;var _0x24e658,_0x16890e,_0x4100c2,_0xc5d404,_0x36ea47,_0x286c7e;this['_color']=(_0x24e658=_0x11aef6['color'])!=null?_0x24e658:this[_0x5d8786(0x359)],this[_0x5d8786(0x1f7)]=(_0x16890e=_0x11aef6[_0x5d8786(0x309)])!=null?_0x16890e:this['_hovered'],this['_range']=(_0x4100c2=_0x11aef6['range'])!=null?_0x4100c2:this['_range'],this[_0x5d8786(0x2f3)]=(_0xc5d404=_0x11aef6[_0x5d8786(0x38e)])!=null?_0xc5d404:this[_0x5d8786(0x2f3)],this['_labelPosition']=(_0x36ea47=_0x11aef6[_0x5d8786(0xda)])!=null?_0x36ea47:this[_0x5d8786(0x10b)],this[_0x5d8786(0x134)]=(_0x286c7e=_0x11aef6[_0x5d8786(0x173)])!=null?_0x286c7e:this[_0x5d8786(0x134)],this[_0x5d8786(0x14f)]({'width':_0x11aef6[_0x5d8786(0x1fe)],'height':_0x11aef6['height']});}['onMouseMove'](_0xfaaf8e){const _0x5dcc10=_0x35d624,{row:_0x15f540,column:_0x760380}=_0xfaaf8e;if(_0x15f540>=this[_0x5dcc10(0x2c5)]['startRow']&&_0x15f540<=this[_0x5dcc10(0x2c5)][_0x5dcc10(0x2c8)]&&_0x760380>=this[_0x5dcc10(0x2c5)][_0x5dcc10(0x1fa)]&&_0x760380<=this[_0x5dcc10(0x2c5)][_0x5dcc10(0xcd)]){this[_0x5dcc10(0x260)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x35d624(0x25d)](_0x578503){return!0x1;}['_draw'](_0x14bed1){const _0x34775a=_0x35d624;_0x4ad5e1[_0x34775a(0x2d0)][_0x34775a(0x1b5)](_0x14bed1,{'width':this[_0x34775a(0x1fe)],'height':this[_0x34775a(0x10a)],'strokeWidth':_0x276093,'stroke':this[_0x34775a(0x359)],'evented':!0x1,'fill':this[_0x34775a(0x134)]}),this[_0x34775a(0x1f7)]&&(_0x14bed1[_0x34775a(0x3b4)](),_0x14bed1[_0x34775a(0xd0)](0x1,0x0,0x0,0x1,this[_0x34775a(0x1fe)],this[_0x34775a(0x10b)]===_0x34775a(0x2e9)?0x0:-_0x3e1347),_0x35a191[_0x34775a(0x1b5)](_0x14bed1,{'text':this[_0x34775a(0x2f3)],'color':this[_0x34775a(0x359)]}),_0x14bed1[_0x34775a(0x2d7)]());}}var _0x271f4f=Object[_0x35d624(0x235)],_0x393bb2=(_0x247d86,_0x36ed1e,_0x562335,_0x5cc3f4)=>{const _0x472744=_0x35d624;for(var _0x1950a0=_0x5cc3f4>0x1?void 0x0:_0x5cc3f4?_0x271f4f(_0x36ed1e,_0x562335):_0x36ed1e,_0x3fdf6b=_0x247d86[_0x472744(0x33f)]-0x1,_0x1cc47e;_0x3fdf6b>=0x0;_0x3fdf6b--)(_0x1cc47e=_0x247d86[_0x3fdf6b])&&(_0x1950a0=_0x1cc47e(_0x1950a0)||_0x1950a0);return _0x1950a0;},_0x173c15=(_0x535424,_0x33559d)=>(_0x171605,_0x57c260)=>_0x33559d(_0x171605,_0x57c260,_0x535424);const _0x5ed7c3=0x1389;let _0x3f03ab=class extends _0x488b23[_0x35d624(0x376)]{constructor(_0x20f390,_0x281578,_0x33c011,_0x18b38f){const _0x10dcd0=_0x35d624;super(),_0x5c8f58(this,_0x10dcd0(0x267),new Set()),_0x5c8f58(this,'_lastPointer',null),(this[_0x10dcd0(0x2ef)]=_0x20f390,this[_0x10dcd0(0xe8)]=_0x281578,this[_0x10dcd0(0x2c1)]=_0x33c011,this[_0x10dcd0(0x234)]=_0x18b38f,this['_init']());}[_0x35d624(0x251)](){const _0x3c87b2=_0x35d624;this[_0x3c87b2(0xe8)][_0x3c87b2(0xf7)][_0x3c87b2(0x2a0)](_0x517874['takeUntil'](this[_0x3c87b2(0x325)]),_0x517874[_0x3c87b2(0x1fb)](_0x2e9bc2=>{const _0x3613f3=_0x3c87b2;if(_0x2e9bc2){const _0x19423d=_0x2e9bc2[_0x3613f3(0x363)];return _0xd39c43[_0x3613f3(0x1df)](this[_0x3613f3(0x2c1)]['getCollabCursors$'](this['_context']['unitId']),this[_0x3613f3(0x234)][_0x3613f3(0x1c0)])[_0x3613f3(0x2a0)](_0x517874[_0x3613f3(0xd4)](([_0x5376b3,_0x2619c3])=>{const _0x468e89=_0x3613f3,_0x1171be=new Map();return _0x5376b3[_0x468e89(0x125)]((_0x118809,_0x2e72a1)=>{const _0x3680d2=_0x468e89;if(_0x118809[_0x3680d2(0x11f)]===_0x19423d){const _0x1c242a={..._0x118809};_0x1c242a[_0x3680d2(0x348)]=this['_themeService'][_0x3680d2(0x30a)](_0x118809[_0x3680d2(0x348)]),_0x1171be[_0x3680d2(0x26e)](_0x2e72a1,_0x1c242a);}}),{'skeleton':_0x2e9bc2,'cursors':_0x1171be};}));}return _0xd39c43['of']({'skeleton':null,'cursors':new Map()});}))[_0x3c87b2(0x239)](({skeleton:_0x4e0e69,cursors:_0x4d704e})=>{const _0x333a69=_0x3c87b2;this[_0x333a69(0x395)](),_0x4e0e69&&this[_0x333a69(0x306)](_0x4e0e69,_0x4d704e);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3c87b2(0x239)](_0x228248=>{const _0x4fb024=_0x3c87b2;if(_0x228248==null)return;const {skeleton:_0x4fcfed}=_0x228248,{scene:_0x1491bb}=this['_context'];_0x1491bb[_0x4fb024(0x2f4)]['subscribeEvent'](_0x488b23[_0x4fb024(0x396)](_0x170c20=>{const _0x585f13=_0x4fb024;var _0x3df871,_0x2c55af;const {offsetX:_0x5566c8,offsetY:_0x57a470}=_0x170c20,{x:_0x2a26ee,y:_0x25c9b0}=_0x1491bb[_0x585f13(0x166)](_0x4ad5e1['Vector2'][_0x585f13(0x315)]([_0x5566c8,_0x57a470])),{scaleX:_0xdf0db3,scaleY:_0x390c20}=_0x1491bb[_0x585f13(0x121)](),_0x40d260=_0x1491bb[_0x585f13(0x215)](_0x4ad5e1['SHEET_VIEWPORT_KEY'][_0x585f13(0x27d)]),_0x595505=_0x1491bb['getVpScrollXYInfoByPosToVp'](_0x4ad5e1['Vector2'][_0x585f13(0x315)]([_0x2a26ee,_0x25c9b0]),_0x40d260),_0x767182=_0x4fcfed[_0x585f13(0x285)](_0x5566c8,_0x57a470,_0xdf0db3,_0x390c20,_0x595505);((_0x3df871=this[_0x585f13(0x3b5)])==null?void 0x0:_0x3df871[_0x585f13(0x2b0)])===_0x767182[_0x585f13(0x2b0)]&&((_0x2c55af=this['_lastPointer'])==null?void 0x0:_0x2c55af[_0x585f13(0xfd)])===_0x767182['row']||this[_0x585f13(0x267)][_0x585f13(0x125)](_0x3bc8b5=>{const _0x46e805=_0x585f13;_0x3bc8b5[_0x46e805(0x102)](_0x767182);});},0x64));});}[_0x35d624(0x306)](_0x455bed,_0x54b2d3){const _0x32d07d=_0x35d624;var _0x2a8a7a;const _0x2a047e=(_0x2a8a7a=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2a8a7a[_0x32d07d(0x1b8)];if(!_0x2a047e)return;const _0x35044e=this[_0x32d07d(0x15e)]();if(!_0x35044e)return;this[_0x32d07d(0x267)][_0x32d07d(0x125)](_0x386ce8=>{const _0xa042ce=_0x32d07d;_0x386ce8[_0xa042ce(0x1c5)]();});const {scene:_0x47ca38}=_0x35044e,_0x56dd0f=_0x85ffeb(Array['from'](_0x54b2d3[_0x32d07d(0x2c4)]()))[_0x32d07d(0xd4)](_0x4fc5eb=>{const _0x1198c0=_0x32d07d,{color:_0x1e5478,range:_0x372995,name:_0x29dd2b,selection:_0x2d41cd,sheetID:_0x11e5c7}=_0x4fc5eb,{startColumn:_0xafef6a,startRow:_0x215d8c,endColumn:_0x351d8a,endRow:_0x4be057}=_0x372995,_0x567f95=_0x477084[_0x1198c0(0x324)](_0x215d8c,_0xafef6a,_0x47ca38,_0x2a047e),_0x4a991e=_0x477084[_0x1198c0(0x324)](_0x4be057,_0x351d8a,_0x47ca38,_0x2a047e),{columnHeaderHeightAndMarginTop:_0x3bfa52}=_0x2a047e,{startX:_0x5b1836,startY:_0xb33be8}=_0x567f95,{endX:_0x4c1672,endY:_0x259e1d}=_0x4a991e,_0x264d79=_0x4c1672-_0x5b1836,_0x3f9d0f=_0x259e1d-_0xb33be8,_0x11bae2={'labelPosition':_0xb33be8-_0x3bfa52>=_0x3e1347?_0x1198c0(0xe6):'bottom','sheetID':_0x11e5c7,'range':_0x372995,'color':_0x1e5478,'name':_0x29dd2b,'selection':_0x2d41cd,'left':_0x5b1836,'top':_0xb33be8,'width':_0x264d79,'height':_0x3f9d0f,'evented':!0x1,'zIndex':_0x5ed7c3};return new _0x370ba4(_0x29dd2b,_0x11bae2);});_0x47ca38[_0x32d07d(0x124)](_0x56dd0f,_0x5c9426),this[_0x32d07d(0x267)]=new Set(_0x56dd0f);}['_removeCollabCursors'](){const _0x156af1=_0x35d624;var _0x57b176;(_0x57b176=this[_0x156af1(0x267)])==null||_0x57b176['forEach'](_0x1036c1=>_0x1036c1[_0x156af1(0x299)]());}[_0x35d624(0x15e)](){const _0x4359c1=_0x35d624;return _0x477084['getSheetObject'](this[_0x4359c1(0x2ef)]['unit'],this['_context']);}};_0x3f03ab=_0x393bb2([_0x173c15(0x1,_0x488b23[_0x35d624(0x14a)](_0x477084[_0x35d624(0xed)])),_0x173c15(0x2,_0x488b23[_0x35d624(0x14a)](_0x52c457)),_0x173c15(0x3,_0x488b23['Inject'](_0x488b23[_0x35d624(0x339)]))],_0x3f03ab);function _0x85ffeb(_0x30c87b){const _0x5a7ce7=_0x35d624,_0x194fb1=new Map();return _0x30c87b[_0x5a7ce7(0x125)](_0x11eb64=>{const _0x281156=_0x5a7ce7;if(_0x194fb1[_0x281156(0x2a9)](_0x11eb64[_0x281156(0x19b)])){const _0x8404b6=_0x194fb1[_0x281156(0x37f)](_0x11eb64[_0x281156(0x19b)]);_0x8404b6[_0x281156(0x38e)]+=',\x20'+_0x11eb64[_0x281156(0x38e)];}else _0x194fb1[_0x281156(0x26e)](_0x11eb64[_0x281156(0x19b)],_0x11eb64);}),Array[_0x5a7ce7(0x138)](_0x194fb1[_0x5a7ce7(0x2c4)]());}var _0x53760a=Object[_0x35d624(0x235)],_0x42b026=(_0x481b76,_0x4cff8e,_0x3e5d9a,_0x1a7ecb)=>{const _0x429643=_0x35d624;for(var _0x579883=_0x1a7ecb>0x1?void 0x0:_0x1a7ecb?_0x53760a(_0x4cff8e,_0x3e5d9a):_0x4cff8e,_0x55dff4=_0x481b76[_0x429643(0x33f)]-0x1,_0x503d51;_0x55dff4>=0x0;_0x55dff4--)(_0x503d51=_0x481b76[_0x55dff4])&&(_0x579883=_0x503d51(_0x579883)||_0x579883);return _0x579883;},_0x25e23f=(_0x182719,_0x573357)=>(_0x49b9a3,_0x2a7969)=>_0x573357(_0x49b9a3,_0x2a7969,_0x182719);let _0x4de461=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x21a72e,_0x200f0b,_0x6ad427,_0x550749,_0x4f407b,_0x2fc0ef){const _0x3e1df8=_0x35d624;super(),this[_0x3e1df8(0x14e)]=_0x21a72e,this[_0x3e1df8(0x311)]=_0x200f0b,this[_0x3e1df8(0x167)]=_0x6ad427,this[_0x3e1df8(0x329)]=_0x550749,this['_notificationService']=_0x4f407b,this[_0x3e1df8(0x349)]=_0x2fc0ef,this['_setupBeforeClosingHandler'](),this[_0x3e1df8(0x1bd)]();}['_setupBeforeClosingHandler'](){const _0x311c9e=_0x35d624;this[_0x311c9e(0x37d)](this[_0x311c9e(0x14e)][_0x311c9e(0x1a1)](()=>{const _0x467bd1=_0x311c9e;if(this[_0x467bd1(0x311)]['saveTaskMap']['size'])return this[_0x467bd1(0x349)]['t'](_0x467bd1(0x296));}));}[_0x35d624(0x1bd)](){const _0x434c57=_0x35d624;this[_0x434c57(0x37d)](this[_0x434c57(0x167)][_0x434c57(0x2d5)]['subscribe'](_0x2de548=>{const _0x5d2942=_0x434c57;_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x128)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t']('collaboration.single-unit.warning')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x1dc)]&&this['_messageService'][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t']('collaboration.closeRoom')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x199)]&&this['_notificationService'][_0x5d2942(0x2b5)]({'title':this[_0x5d2942(0x349)]['t']('permission.title'),'content':this['_localeService']['t'](_0x5d2942(0x206)),'type':'error','duration':0x0}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x37c)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x216))+'('+_0x2de548[_0x5d2942(0x3aa)]+')'}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x308)]&&this[_0x5d2942(0x329)]['show']({'type':_0x29b3d4[_0x5d2942(0x219)]['Warning'],'content':this['_localeService']['t'](_0x2de548['data']||'')}),_0x2de548['id']===_0xe662fa[_0x5d2942(0x1b3)][_0x5d2942(0x17e)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x194)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x2c2))}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4['MessageType'][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x23a))}),_0x2de548['id']===_0xe662fa['CollaborationUIEventId'][_0x5d2942(0x1b2)]&&this[_0x5d2942(0x329)][_0x5d2942(0x2b5)]({'type':_0x29b3d4[_0x5d2942(0x219)][_0x5d2942(0x240)],'content':this[_0x5d2942(0x349)]['t'](_0x5d2942(0x19f))});}));}};_0x4de461=_0x42b026([_0x25e23f(0x0,_0x16efad[_0x35d624(0x289)]),_0x25e23f(0x1,_0xe662fa[_0x35d624(0x2a4)]),_0x25e23f(0x2,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationUIEventService'])),_0x25e23f(0x3,_0x16efad[_0x35d624(0x381)]),_0x25e23f(0x4,_0x16efad[_0x35d624(0x19e)]),_0x25e23f(0x5,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x4de461);var _0x3935e1=Object[_0x35d624(0x235)],_0x3f032f=(_0x104e4f,_0x7201fb,_0x4032ae,_0x473e44)=>{for(var _0x385bd2=_0x473e44>0x1?void 0x0:_0x473e44?_0x3935e1(_0x7201fb,_0x4032ae):_0x7201fb,_0x294242=_0x104e4f['length']-0x1,_0x3f9806;_0x294242>=0x0;_0x294242--)(_0x3f9806=_0x104e4f[_0x294242])&&(_0x385bd2=_0x3f9806(_0x385bd2)||_0x385bd2);return _0x385bd2;},_0x43d69b=(_0x3d08a2,_0x577f59)=>(_0x77c254,_0x28b4f8)=>_0x577f59(_0x77c254,_0x28b4f8,_0x3d08a2);let _0x5b922f=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x5db7d5,_0x1ef7c0,_0x156766,_0x473cd6){const _0xc9a62d=_0x35d624;super(),_0x5c8f58(this,_0xc9a62d(0x163)),(this[_0xc9a62d(0x111)]=_0x5db7d5,this[_0xc9a62d(0x33e)]=_0x1ef7c0,this[_0xc9a62d(0x112)]=_0x156766,this[_0xc9a62d(0x291)]=_0x473cd6,this['_init']());}[_0x35d624(0x251)](){const _0x228a22=_0x35d624;this[_0x228a22(0x12f)](),this[_0x228a22(0x23d)](),this[_0x228a22(0x228)](),this[_0x228a22(0x1a6)]();}[_0x35d624(0x1a6)](){const _0x47cc55=_0x35d624;this[_0x47cc55(0x37d)](this[_0x47cc55(0x291)][_0x47cc55(0x18d)]['subscribe'](_0x1382fa=>{const _0x116fad=_0x47cc55;this[_0x116fad(0x163)]=_0x1382fa==null?void 0x0:_0x1382fa[_0x116fad(0x20b)];}));}[_0x35d624(0x12f)](){const _0x2a6bd4=_0x35d624,_0x55e9e2=_0x305cf2=>{const _0x40dd6c=_0x3f90;var _0x1230ec;this['_uploadLog']('error',_0x40dd6c(0xef)+_0x305cf2['message']+_0x40dd6c(0x21a)+_0x305cf2['filename']+':'+_0x305cf2['lineno']+':'+_0x305cf2['colno']+'\x0a'+(((_0x1230ec=_0x305cf2['error'])==null?void 0x0:_0x1230ec['stack'])||''));};window[_0x2a6bd4(0x2d6)]('error',_0x55e9e2),this[_0x2a6bd4(0x37d)](()=>{const _0x4ea172=_0x2a6bd4;window[_0x4ea172(0x164)](_0x4ea172(0x188),_0x55e9e2);});}[_0x35d624(0x23d)](){const _0x535f42=_0x35d624,_0x9ade0d=_0x2035a7=>{const _0xe6042c=_0x3f90;this[_0xe6042c(0x17d)](_0xe6042c(0x188),'[Unhandled\x20Rejection]:\x20'+_0x2035a7['reason']);};window[_0x535f42(0x2d6)](_0x535f42(0x101),_0x9ade0d),this[_0x535f42(0x37d)](()=>{const _0x825f2e=_0x535f42;window[_0x825f2e(0x164)](_0x825f2e(0x101),_0x9ade0d);});}['_monkeyPatchLogService'](){const _0x3cfcdc=_0x35d624,_0x5187c4=this[_0x3cfcdc(0x112)][_0x3cfcdc(0x188)][_0x3cfcdc(0x202)](this[_0x3cfcdc(0x112)]);this['_logService']['error']=(..._0x28ad46)=>{const _0x1087d2=_0x3cfcdc,_0xfc38f8=_0x28ad46[_0x1087d2(0xd4)](_0x3158f3=>_0x3158f3 instanceof Error?_0x3158f3['message']+'\x0a'+_0x3158f3[_0x1087d2(0x26a)]:String(_0x3158f3))[_0x1087d2(0x354)]('\x20');this[_0x1087d2(0x17d)](_0x1087d2(0x188),_0x1087d2(0x3ad)+_0xfc38f8),_0x5187c4(..._0x28ad46);},this[_0x3cfcdc(0x37d)](()=>{const _0x4e650d=_0x3cfcdc;this[_0x4e650d(0x112)]['error']=_0x5187c4;});}[_0x35d624(0x17d)](_0x1bbf09,_0x2d921a){const _0x47f41c=_0x35d624;try{const _0x294ba8={'userId':this['_memberID'],'logLabel':_0x1bbf09,'content':_0x2d921a};this['_httpService'][_0x47f41c(0x151)](_0x47f41c(0x30e),{'body':_0x294ba8})[_0x47f41c(0x383)](()=>{});}catch{}}};_0x5b922f=_0x3f032f([_0x43d69b(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x43d69b(0x1,_0x488b23['Inject'](_0x46c86d['HTTPService'])),_0x43d69b(0x2,_0x488b23[_0x35d624(0x31f)]),_0x43d69b(0x3,_0x488b23[_0x35d624(0x14a)](_0xe662fa['CollaborationSessionService']))],_0x5b922f);const _0x370bf5=_0x35d624(0x2d3),_0x32f775={};var _0x20cd9a=Object[_0x35d624(0x235)],_0x281d70=(_0x562163,_0x2c279a,_0x5a1ce8,_0x289446)=>{const _0x2e591b=_0x35d624;for(var _0x33f664=_0x289446>0x1?void 0x0:_0x289446?_0x20cd9a(_0x2c279a,_0x5a1ce8):_0x2c279a,_0x11a7b5=_0x562163[_0x2e591b(0x33f)]-0x1,_0x47b52c;_0x11a7b5>=0x0;_0x11a7b5--)(_0x47b52c=_0x562163[_0x11a7b5])&&(_0x33f664=_0x47b52c(_0x33f664)||_0x33f664);return _0x33f664;},_0x90622d=(_0x278bc5,_0x76876f)=>(_0x30b1a2,_0x305dce)=>_0x76876f(_0x30b1a2,_0x305dce,_0x278bc5);let _0x4b7de7=class{constructor(_0xc72702,_0x1516be){this['_transformService']=_0xc72702,this['_renderManagerService']=_0x1516be;}['transformIMECache'](_0x1f3c37){const _0x42aae5=_0x35d624;this[_0x42aae5(0x20d)](_0x1f3c37),this[_0x42aae5(0x180)](_0x1f3c37);}['transformRemoteChangeset'](_0x50e3ea){const _0x36af2c=_0x35d624,{unitID:_0x55687b}=_0x50e3ea,_0x4561dc=this[_0x36af2c(0x1c2)][_0x36af2c(0xff)](_0x55687b)[_0x36af2c(0x290)](_0x568c85['DocIMEInputManagerService']),{redoCache:_0x295396}=_0x4561dc[_0x36af2c(0x15f)]();if(_0x295396[_0x36af2c(0x33f)]===0x0)return _0x50e3ea;let _0x48aa12=_0x488b23[_0x36af2c(0x37a)]['deepClone'](_0x50e3ea[_0x36af2c(0x1d6)][0x0]);for(let _0x3cebc8=0x0;_0x3cebc8<_0x295396[_0x36af2c(0x33f)];_0x3cebc8++){const _0x2b2c32={'id':'doc.mutation.rich-text-editing','params':{..._0x295396[_0x3cebc8]}},_0xb49748=this['_transformService']['transformMutation'](_0x48aa12,_0x2b2c32,!0x1);if(_0x330813[_0x36af2c(0x178)](_0xb49748))throw _0xb49748['error'];_0x48aa12=_0xb49748['m1Prime'];}return{..._0x488b23['Tools'][_0x36af2c(0x150)](_0x50e3ea),'mutations':[_0x48aa12]};}[_0x35d624(0x20d)](_0x12dc32){const _0x396504=_0x35d624,{unitID:_0x107abc}=_0x12dc32,_0x2cec62=this[_0x396504(0x1c2)][_0x396504(0xff)](_0x107abc)['with'](_0x568c85[_0x396504(0x256)]),{undoCache:_0x592be9,redoCache:_0x11f1a2}=_0x2cec62[_0x396504(0x15f)]();if(_0x592be9[_0x396504(0x33f)]===0x0||_0x11f1a2[_0x396504(0x33f)]===0x0)return;const _0x54b64d=[],_0x273fd3=[];let _0x4a5b7e=_0x488b23[_0x396504(0x37a)][_0x396504(0x150)](_0x12dc32['mutations'][0x0]),_0x46089d=_0x488b23[_0x396504(0x37a)][_0x396504(0x150)](_0x12dc32[_0x396504(0x1d6)][0x0]);for(let _0x2fa299=_0x592be9['length']-0x1;_0x2fa299>=0x0;_0x2fa299--){const _0x64c082={'id':_0x396504(0x373),'params':{..._0x592be9[_0x2fa299]}},_0x2be9f9={'id':'doc.mutation.rich-text-editing','params':{..._0x11f1a2[_0x2fa299]}},_0xc829ff=this[_0x396504(0x1a2)]['transformMutation'](_0x4a5b7e,_0x64c082,!0x1),_0x1dd9ca=this[_0x396504(0x1a2)][_0x396504(0x33a)](_0x46089d,_0x2be9f9,!0x1);if(_0x330813[_0x396504(0x178)](_0xc829ff))throw _0xc829ff['error'];if(_0x330813[_0x396504(0x178)](_0x1dd9ca))throw _0x1dd9ca[_0x396504(0x188)];_0x54b64d[_0x396504(0xd8)](_0xc829ff[_0x396504(0x253)][_0x396504(0x3a4)]),_0x273fd3[_0x396504(0xd8)](_0x1dd9ca['m2Prime'][_0x396504(0x3a4)]),_0x4a5b7e=_0xc829ff[_0x396504(0xd7)],_0x46089d=_0x1dd9ca[_0x396504(0xd7)];}_0x2cec62[_0x396504(0x398)]({'undoCache':_0x54b64d,'redoCache':_0x273fd3});}['_transformPreviousActiveRange'](_0x181bfe){const _0x12e438=_0x35d624,{unitID:_0x5ea55a}=_0x181bfe,_0x6c05db=this[_0x12e438(0x1c2)]['getRenderById'](_0x5ea55a)['with'](_0x568c85['DocIMEInputManagerService']),_0x373f42=_0x6c05db[_0x12e438(0x17f)]();if(_0x373f42==null)return;const _0x450859=[{'id':_0x12e438(0x373),'params':{'unitId':_0x181bfe['unitID'],'actions':null,'textRanges':[_0x373f42]}}],_0x5dd87d=this[_0x12e438(0x1a2)]['transformMutationsWithChangeset'](_0x181bfe,_0x450859);if(!_0x330813['isTransformMutationsWithChangesetSuccess'](_0x5dd87d))throw _0x5dd87d['error'];const _0x1697bf=_0x5dd87d[_0x12e438(0x253)][0x0][_0x12e438(0x3a4)]['textRanges'];Array[_0x12e438(0x1ab)](_0x1697bf)&&_0x1697bf[_0x12e438(0x33f)]&&_0x6c05db['setActiveRange'](_0x1697bf[0x0]);}};_0x4b7de7=_0x281d70([_0x90622d(0x0,_0x330813[_0x35d624(0x346)]),_0x90622d(0x1,_0x4ad5e1[_0x35d624(0x1e2)])],_0x4b7de7);var _0x20c88b=Object['getOwnPropertyDescriptor'],_0x36cfec=(_0x5834bf,_0x3eadf7,_0x4e4f20,_0x1c91ba)=>{const _0x3bd6c1=_0x35d624;for(var _0x3b024b=_0x1c91ba>0x1?void 0x0:_0x1c91ba?_0x20c88b(_0x3eadf7,_0x4e4f20):_0x3eadf7,_0x4215da=_0x5834bf[_0x3bd6c1(0x33f)]-0x1,_0x9f6838;_0x4215da>=0x0;_0x4215da--)(_0x9f6838=_0x5834bf[_0x4215da])&&(_0x3b024b=_0x9f6838(_0x3b024b)||_0x3b024b);return _0x3b024b;},_0xbb13fb=(_0x9322eb,_0x350eac)=>(_0x33b8b5,_0x32524a)=>_0x350eac(_0x33b8b5,_0x32524a,_0x9322eb);let _0x1432ff=class{constructor(_0x424ff5,_0x3415a4,_0x3965a3){const _0x126d03=_0x35d624;this[_0x126d03(0x111)]=_0x424ff5,this[_0x126d03(0x1a2)]=_0x3415a4,this[_0x126d03(0x2de)]=_0x3965a3;}['transformStateCache'](_0x15c4a2){this['_transformHistoryAndStateStack'](_0x15c4a2);}[_0x35d624(0x1f6)](_0x49b58f){const _0xd4a49d=_0x35d624,{unitID:_0x1962c9}=_0x49b58f,{collaboration:_0x4cc0d9}=this[_0xd4a49d(0x2de)]['getStateCache'](_0x1962c9);if(_0x4cc0d9[_0xd4a49d(0x33f)]===0x0)return _0x49b58f;let _0x21b8dd=_0x488b23[_0xd4a49d(0x37a)][_0xd4a49d(0x150)](_0x49b58f[_0xd4a49d(0x1d6)][0x0]);for(let _0x3d20c8=0x0;_0x3d20c8<_0x4cc0d9[_0xd4a49d(0x33f)];_0x3d20c8++){const _0x32ef0c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cc0d9[_0x3d20c8][_0xd4a49d(0x187)],..._0x4cc0d9[_0x3d20c8][_0xd4a49d(0x1e3)]}},_0x99397d=this['_transformService'][_0xd4a49d(0x33a)](_0x21b8dd,_0x32ef0c,!0x1);if(_0x330813[_0xd4a49d(0x178)](_0x99397d))throw _0x99397d[_0xd4a49d(0x188)];_0x21b8dd=_0x99397d['m1Prime'];}return{..._0x488b23['Tools'][_0xd4a49d(0x150)](_0x49b58f),'mutations':[_0x21b8dd]};}[_0x35d624(0x2e5)](_0x30b27d){const _0x3a040c=_0x35d624,{unitID:_0x4f48a3}=_0x30b27d,{history:_0x5c8765,collaboration:_0x5993a6}=this[_0x3a040c(0x2de)][_0x3a040c(0x1a9)](_0x4f48a3);if(_0x5c8765['length']===0x0&&_0x5993a6[_0x3a040c(0x33f)]===0x0)return;const _0x408c59=[],_0x59485d=[];let _0x1304b8=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]),_0x4750d6=_0x488b23[_0x3a040c(0x37a)]['deepClone'](_0x30b27d[_0x3a040c(0x1d6)][0x0]);for(let _0x311bdb=_0x5c8765[_0x3a040c(0x33f)]-0x1;_0x311bdb>=0x0;_0x311bdb--){const _0x138618={'id':_0x3a040c(0x373),'params':{'unitId':_0x5c8765[_0x311bdb][_0x3a040c(0x187)],..._0x5c8765[_0x311bdb]['undoState']}},_0x5dea18={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c8765[_0x311bdb][_0x3a040c(0x187)],..._0x5c8765[_0x311bdb][_0x3a040c(0x1e3)]}},_0x3b713=this[_0x3a040c(0x1a2)]['transformMutation'](_0x1304b8,_0x138618,!0x1),_0x3d23da=this[_0x3a040c(0x1a2)][_0x3a040c(0x33a)](_0x4750d6,_0x5dea18,!0x1);if(_0x330813[_0x3a040c(0x178)](_0x3b713))throw _0x3b713[_0x3a040c(0x188)];if(_0x330813['isTransformMutationFailure'](_0x3d23da))throw _0x3d23da[_0x3a040c(0x188)];_0x408c59['unshift']({..._0x5c8765[_0x311bdb],'undoState':_0x3b713['m2Prime'][_0x3a040c(0x3a4)],'redoState':_0x3d23da[_0x3a040c(0x253)][_0x3a040c(0x3a4)]}),_0x1304b8=_0x3b713['m1Prime'],_0x4750d6=_0x3d23da[_0x3a040c(0xd7)];}_0x1304b8=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]),_0x4750d6=_0x488b23[_0x3a040c(0x37a)][_0x3a040c(0x150)](_0x30b27d[_0x3a040c(0x1d6)][0x0]);for(let _0x4a2626=_0x5993a6[_0x3a040c(0x33f)]-0x1;_0x4a2626>=0x0;_0x4a2626--){const _0x29b016={'id':_0x3a040c(0x373),'params':{'unitId':_0x5993a6[_0x4a2626][_0x3a040c(0x187)],..._0x5993a6[_0x4a2626][_0x3a040c(0x24a)]}},_0x3c12ec={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5993a6[_0x4a2626][_0x3a040c(0x187)],..._0x5993a6[_0x4a2626]['redoState']}},_0x3d9b3a=this['_transformService']['transformMutation'](_0x1304b8,_0x29b016,!0x1),_0x8dd0b1=this[_0x3a040c(0x1a2)][_0x3a040c(0x33a)](_0x4750d6,_0x3c12ec,!0x1);if(_0x330813[_0x3a040c(0x178)](_0x3d9b3a))throw _0x3d9b3a[_0x3a040c(0x188)];if(_0x330813[_0x3a040c(0x178)](_0x8dd0b1))throw _0x8dd0b1['error'];_0x59485d[_0x3a040c(0xd8)]({..._0x5993a6[_0x4a2626],'undoState':_0x3d9b3a[_0x3a040c(0x253)][_0x3a040c(0x3a4)],'redoState':_0x8dd0b1[_0x3a040c(0x253)]['params']}),_0x1304b8=_0x3d9b3a[_0x3a040c(0xd7)],_0x4750d6=_0x8dd0b1['m1Prime'];}this[_0x3a040c(0x2de)][_0x3a040c(0x38f)](_0x4f48a3,{'history':_0x408c59,'collaboration':_0x59485d});}};_0x1432ff=_0x36cfec([_0xbb13fb(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0xbb13fb(0x1,_0x330813[_0x35d624(0x346)]),_0xbb13fb(0x2,_0x488b23[_0x35d624(0x14a)](_0x568c85[_0x35d624(0x160)]))],_0x1432ff);var _0x360afb=Object[_0x35d624(0x235)],_0x40a8c5=(_0x505d5e,_0xe07b4,_0x59a676,_0x4384d7)=>{for(var _0x261e1f=_0x4384d7>0x1?void 0x0:_0x4384d7?_0x360afb(_0xe07b4,_0x59a676):_0xe07b4,_0x20d680=_0x505d5e['length']-0x1,_0x44b6ea;_0x20d680>=0x0;_0x20d680--)(_0x44b6ea=_0x505d5e[_0x20d680])&&(_0x261e1f=_0x44b6ea(_0x261e1f)||_0x261e1f);return _0x261e1f;},_0x4966bd=(_0x512210,_0x236657)=>(_0x32047b,_0x59b7f7)=>_0x236657(_0x32047b,_0x59b7f7,_0x512210);let _0x2e060d=class{constructor(_0x1ee632,_0xb04ec7){const _0x1f74a7=_0x35d624;this[_0x1f74a7(0x111)]=_0x1ee632,this['_transformService']=_0xb04ec7;}['transformSelections'](_0x528347){const _0x5b3e66=_0x35d624;var _0x2129bf;const _0x2c9830=this[_0x5b3e66(0x111)][_0x5b3e66(0x37f)](_0x473e87[_0x5b3e66(0x3ac)]),_0x478875=(_0x2129bf=_0x2c9830[_0x5b3e66(0x361)]())!=null?_0x2129bf:[];if(_0x478875[_0x5b3e66(0x33f)]===0x0)return;const _0x5a0c52=_0x528347[_0x5b3e66(0x28e)],_0x3c76b8=[{'id':_0x5b3e66(0x373),'params':{'unitId':_0x5a0c52,'actions':null,'textRanges':_0x478875}}],_0x55efc8=this[_0x5b3e66(0x1a2)][_0x5b3e66(0x165)](_0x528347,_0x3c76b8);if(!_0x330813[_0x5b3e66(0x1c9)](_0x55efc8))throw _0x55efc8[_0x5b3e66(0x188)];const _0x485dcf=_0x55efc8['m2Prime'][0x0][_0x5b3e66(0x3a4)][_0x5b3e66(0xcb)];Array[_0x5b3e66(0x1ab)](_0x485dcf)&&_0x485dcf[_0x5b3e66(0x33f)]&&_0x2c9830[_0x5b3e66(0x196)](_0x485dcf,{'unitId':_0x5a0c52,'subUnitId':_0x5a0c52},!0x1);}};_0x2e060d=_0x40a8c5([_0x4966bd(0x0,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x4966bd(0x1,_0x330813[_0x35d624(0x346)])],_0x2e060d);var _0x5cd970=Object['getOwnPropertyDescriptor'],_0x2a52cd=(_0x262145,_0x45288f,_0x105a24,_0x154911)=>{const _0x51fbf5=_0x35d624;for(var _0x1e529f=_0x154911>0x1?void 0x0:_0x154911?_0x5cd970(_0x45288f,_0x105a24):_0x45288f,_0x4d2e9a=_0x262145[_0x51fbf5(0x33f)]-0x1,_0x2b765f;_0x4d2e9a>=0x0;_0x4d2e9a--)(_0x2b765f=_0x262145[_0x4d2e9a])&&(_0x1e529f=_0x2b765f(_0x1e529f)||_0x1e529f);return _0x1e529f;},_0x49615e=(_0x131c3f,_0x4a1b74)=>(_0x295799,_0x3d54ca)=>_0x4a1b74(_0x295799,_0x3d54ca,_0x131c3f);let _0x13fe58=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x1a895e,_0x41d389,_0x71d6d9,_0x375ce1,_0x4f5ccb,_0x464ef3,_0x567541,_0x63bde3){const _0x33f418=_0x35d624;super(),_0x5c8f58(this,_0x33f418(0x1c7),new _0xd39c43[(_0x33f418(0x20f))](_0xe662fa[_0x33f418(0x227)][_0x33f418(0x27c)])),(this[_0x33f418(0x2de)]=_0x1a895e,this[_0x33f418(0x2a8)]=_0x41d389,this[_0x33f418(0x279)]=_0x71d6d9,this[_0x33f418(0x31c)]=_0x375ce1,this[_0x33f418(0x22b)]=_0x4f5ccb,this[_0x33f418(0x1ef)]=_0x464ef3,this[_0x33f418(0x329)]=_0x567541,this['_localeService']=_0x63bde3,this[_0x33f418(0x23e)]());}['_initEntityListener'](){const _0x35a30e=_0x35d624;this[_0x35a30e(0x37d)](this['_collaborationController'][_0x35a30e(0x13d)]['subscribe'](_0x455a16=>{const _0x1ab29c=_0x35a30e,_0xd368ab=this[_0x1ab29c(0x2de)][_0x1ab29c(0x1b0)][_0x1ab29c(0x239)](_0x158829=>{const _0x675ecc=_0x1ab29c;if(_0x158829==null)return;const {unitId:_0x39019e,redoState:_0x541dae,commandId:_0x343280}=_0x158829;if(_0x39019e!==_0x455a16[_0x675ecc(0x28e)])return;const _0x10f5c3={'id':_0x343280,'type':_0x488b23[_0x675ecc(0x297)][_0x675ecc(0x1f4)],'params':{'unitId':_0x39019e,'actions':_0x541dae['actions'],'textRanges':null}};_0x455a16['onLocalMutation'](_0x10f5c3);});if(_0x455a16[_0x1ab29c(0x37d)](_0xd368ab),_0x455a16 instanceof _0xe662fa[_0x1ab29c(0x24c)]){const _0x2ef844={'onTransformIME':_0x5242e9=>this[_0x1ab29c(0x279)]['transformIMECache'](_0x5242e9),'onTransformState':_0x335ee0=>this[_0x1ab29c(0x31c)][_0x1ab29c(0x336)](_0x335ee0),'onTransformSelections':_0x24a4bd=>this[_0x1ab29c(0x22b)][_0x1ab29c(0x189)](_0x24a4bd),'onSyncEditingCollabCursor':_0x5c309b=>this[_0x1ab29c(0x1ef)][_0x1ab29c(0x34a)](_0x5c309b),'onTransformRemoteChangesetByIMECache':_0x4cac9e=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x4cac9e),'onTransformRemoteChangesetByStateCache':_0x190559=>this[_0x1ab29c(0x31c)]['transformRemoteChangeset'](_0x190559)};_0x455a16[_0x1ab29c(0x143)](_0x2ef844);}}));}};_0x13fe58=_0x2a52cd([_0x49615e(0x0,_0x488b23[_0x35d624(0x14a)](_0x568c85[_0x35d624(0x160)])),_0x49615e(0x1,_0x488b23[_0x35d624(0x14a)](_0xe662fa[_0x35d624(0x220)])),_0x49615e(0x2,_0x488b23[_0x35d624(0x14a)](_0x4b7de7)),_0x49615e(0x3,_0x488b23['Inject'](_0x1432ff)),_0x49615e(0x4,_0x488b23['Inject'](_0x2e060d)),_0x49615e(0x5,_0x488b23[_0x35d624(0x14a)](_0x4f1bea)),_0x49615e(0x6,_0x16efad[_0x35d624(0x381)]),_0x49615e(0x7,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x13fe58);var _0x524c8c=(_0x48f374=>(_0x48f374[_0x48f374[_0x35d624(0x14d)]=0x0]=_0x35d624(0x14d),_0x48f374[_0x48f374['OK']=0x1]='OK',_0x48f374[_0x48f374[_0x35d624(0x1da)]=0x2]=_0x35d624(0x1da),_0x48f374[_0x48f374[_0x35d624(0x199)]=0x3]=_0x35d624(0x199),_0x48f374[_0x48f374[_0x35d624(0x1d8)]=0x4]=_0x35d624(0x1d8),_0x48f374[_0x48f374[_0x35d624(0x2a2)]=0x5]='UNAUTHENTICATED',_0x48f374[_0x48f374[_0x35d624(0x2cf)]=0x6]=_0x35d624(0x2cf),_0x48f374[_0x48f374['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x48f374[_0x48f374[_0x35d624(0x16e)]=0x8]=_0x35d624(0x16e),_0x48f374[_0x48f374['COMPLETION_FINISHED']=0x9]=_0x35d624(0x39b),_0x48f374[_0x48f374[_0x35d624(0x12b)]=0xa]=_0x35d624(0x12b),_0x48f374[_0x48f374[_0x35d624(0x23f)]=0xb]=_0x35d624(0x23f),_0x48f374[_0x48f374[_0x35d624(0x35d)]=0xc]=_0x35d624(0x35d),_0x48f374[_0x48f374['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x35d624(0x1c6),_0x48f374[_0x48f374[_0x35d624(0x169)]=0xe]=_0x35d624(0x169),_0x48f374[_0x48f374[_0x35d624(0x119)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x48f374[_0x48f374[_0x35d624(0x2fc)]=0x10]=_0x35d624(0x2fc),_0x48f374[_0x48f374['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x35d624(0x2b9),_0x48f374[_0x48f374['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x48f374[_0x48f374[_0x35d624(0x345)]=0xc9]=_0x35d624(0x345),_0x48f374[_0x48f374['USER_IS_ANONYMOUS']=0xca]=_0x35d624(0xd3),_0x48f374[_0x48f374[_0x35d624(0x131)]=0x1389]=_0x35d624(0x131),_0x48f374[_0x48f374[_0x35d624(0x389)]=0x1771]=_0x35d624(0x389),_0x48f374[_0x48f374[_0x35d624(0x30f)]=0x1772]=_0x35d624(0x30f),_0x48f374[_0x48f374[_0x35d624(0x352)]=0x1773]=_0x35d624(0x352),_0x48f374[_0x48f374[_0x35d624(0x3b1)]=0x1b59]=_0x35d624(0x3b1),_0x48f374[_0x48f374[_0x35d624(0x2d8)]=0x1b5a]=_0x35d624(0x2d8),_0x48f374[_0x48f374[_0x35d624(0x25f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x48f374[_0x48f374['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x35d624(0x201),_0x48f374[_0x48f374[_0x35d624(0x1a4)]=0x1b5d]=_0x35d624(0x1a4),_0x48f374[_0x48f374[_0x35d624(0x147)]=0x1f41]=_0x35d624(0x147),_0x48f374[_0x48f374['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x48f374[_0x48f374[_0x35d624(0x255)]=0x232a]=_0x35d624(0x255),_0x48f374[_0x48f374['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x35d624(0x1a8),_0x48f374[_0x48f374[_0x35d624(0x35c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x48f374[_0x48f374[_0x35d624(0x236)]=0x232d]=_0x35d624(0x236),_0x48f374[_0x48f374[_0x35d624(0x21e)]=0x2711]=_0x35d624(0x21e),_0x48f374[_0x48f374[_0x35d624(0x399)]=0x2712]=_0x35d624(0x399),_0x48f374[_0x48f374['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x35d624(0x272),_0x48f374[_0x48f374[_0x35d624(0x20c)]=0x2714]=_0x35d624(0x20c),_0x48f374[_0x48f374[_0x35d624(0x264)]=0x271a]=_0x35d624(0x264),_0x48f374[_0x48f374['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x35d624(0x22e),_0x48f374[_0x48f374[_0x35d624(0x21f)]=0x271c]=_0x35d624(0x21f),_0x48f374[_0x48f374[_0x35d624(0x137)]=0x271d]=_0x35d624(0x137),_0x48f374[_0x48f374['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x35d624(0xf2),_0x48f374[_0x48f374[_0x35d624(0x158)]=0x271f]=_0x35d624(0x158),_0x48f374[_0x48f374[_0x35d624(0x105)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x48f374[_0x48f374[_0x35d624(0x35e)]=0x2af9]=_0x35d624(0x35e),_0x48f374[_0x48f374['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x35d624(0x1f1),_0x48f374[_0x48f374[_0x35d624(0x39d)]=0x2ee2]=_0x35d624(0x39d),_0x48f374[_0x48f374[_0x35d624(0x2c7)]=0x2ee3]=_0x35d624(0x2c7),_0x48f374[_0x48f374['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x48f374[_0x48f374[_0x35d624(0x142)]=0x2ee5]=_0x35d624(0x142),_0x48f374[_0x48f374[_0x35d624(0x25c)]=0x32c9]=_0x35d624(0x25c),_0x48f374[_0x48f374[_0x35d624(0x36d)]=0x32ca]=_0x35d624(0x36d),_0x48f374[_0x48f374[_0x35d624(0xf8)]=0x32cb]=_0x35d624(0xf8),_0x48f374[_0x48f374[_0x35d624(0x205)]=0x36b1]=_0x35d624(0x205),_0x48f374[_0x48f374[_0x35d624(0xeb)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x48f374[_0x48f374['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x35d624(0x343),_0x48f374[_0x48f374[_0x35d624(0x1cf)]=0x36b4]=_0x35d624(0x1cf),_0x48f374[_0x48f374[_0x35d624(0x2bc)]=0x36b5]=_0x35d624(0x2bc),_0x48f374[_0x48f374[_0x35d624(0xe9)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x48f374[_0x48f374['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x48f374[_0x48f374[_0x35d624(0x218)]=0x36b8]=_0x35d624(0x218),_0x48f374[_0x48f374['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x35d624(0x177),_0x48f374[_0x48f374['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x48f374[_0x48f374[_0x35d624(0x2ca)]=0x3717]=_0x35d624(0x2ca),_0x48f374[_0x48f374['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x35d624(0x27e),_0x48f374[_0x48f374[_0x35d624(0x1af)]=0x3a99]=_0x35d624(0x1af),_0x48f374[_0x48f374[_0x35d624(0x34e)]=0x3a9a]=_0x35d624(0x34e),_0x48f374[_0x48f374[_0x35d624(0x1b4)]=0x3a9b]=_0x35d624(0x1b4),_0x48f374[_0x48f374[_0x35d624(0x372)]=0x3a9c]=_0x35d624(0x372),_0x48f374[_0x48f374[_0x35d624(0x28d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x48f374[_0x48f374[_0x35d624(0x39a)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x48f374[_0x48f374['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x35d624(0x1b9),_0x48f374[_0x48f374['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x35d624(0x2ad),_0x48f374[_0x48f374[_0x35d624(0x152)]=-0x1]=_0x35d624(0x152),_0x48f374))(_0x524c8c||{});function _0x2b4d36(_0x1e7b51){const _0x3680ce=_0x35d624;var _0xebfda8,_0x2d0261;const _0x472435=(_0xebfda8=_0x1e7b51[_0x3680ce(0x1bb)])==null?void 0x0:_0xebfda8[_0x3680ce(0x2ce)],_0x45ccba=((_0x2d0261=_0x1e7b51[_0x3680ce(0x1bb)])==null?void 0x0:_0x2d0261[_0x3680ce(0x204)])||0x0;return _0x472435===_0x5a73c8[_0x3680ce(0x282)][_0x3680ce(0x303)]&&_0x45ccba>0x0;}function _0x3d34fe(_0x163190){const _0x5c7495=_0x35d624;return _0x163190['functionsExecutedState']===_0x5a73c8[_0x5c7495(0xf3)][_0x5c7495(0x295)];}var _0xec557f=Object['getOwnPropertyDescriptor'],_0x5c5bb5=(_0x3a2f4e,_0x922b26,_0x167e1b,_0x6c1ddb)=>{const _0x4e19ea=_0x35d624;for(var _0x23b312=_0x6c1ddb>0x1?void 0x0:_0x6c1ddb?_0xec557f(_0x922b26,_0x167e1b):_0x922b26,_0x5d149d=_0x3a2f4e[_0x4e19ea(0x33f)]-0x1,_0x46fc3b;_0x5d149d>=0x0;_0x5d149d--)(_0x46fc3b=_0x3a2f4e[_0x5d149d])&&(_0x23b312=_0x46fc3b(_0x23b312)||_0x23b312);return _0x23b312;},_0x407e74=(_0x4ad5f4,_0x3382c9)=>(_0x311342,_0x313c2b)=>_0x3382c9(_0x311342,_0x313c2b,_0x4ad5f4);const _0x4d7c95=_0x35d624(0x366),_0x5b2a39=_0x35d624(0x133),_0x358343=_0x35d624(0x375);let _0x243db5=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x5084b4,_0x582350,_0x451fcc,_0x2c8e38,_0x4ef444,_0x195f7b,_0xb90f8){const _0x213c1c=_0x35d624;super(),_0x5c8f58(this,_0x213c1c(0xe5),null),_0x5c8f58(this,_0x213c1c(0x2eb),0x0),_0x5c8f58(this,'_currentUsage',0x0),_0x5c8f58(this,_0x213c1c(0xea),[]),_0x5c8f58(this,_0x213c1c(0x36f),0x0),(this[_0x213c1c(0x329)]=_0x5084b4,this['_commandService']=_0x582350,this['_configService']=_0x451fcc,this[_0x213c1c(0x33e)]=_0x2c8e38,this['_univerInstanceService']=_0x4ef444,this[_0x213c1c(0x112)]=_0x195f7b,this['_localeService']=_0xb90f8,this[_0x213c1c(0x2a3)]());}[_0x35d624(0x2a3)](){const _0x3229f2=_0x35d624;this[_0x3229f2(0x37d)](this[_0x3229f2(0x224)][_0x3229f2(0x1ee)]((_0x3cec53,_0x305873)=>{const _0x2f4e8b=_0x3229f2;var _0x4ab30d;if(_0x3cec53['id']!==_0x5a73c8[_0x2f4e8b(0x1d9)]['id'])return;const _0xecc5ea=_0x3cec53[_0x2f4e8b(0x3a4)];if(!this[_0x2f4e8b(0x2da)]((_0x4ab30d=_0xecc5ea[_0x2f4e8b(0x288)])!=null?_0x4ab30d:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x2f4e8b(0x36e)](_0x3cec53,_0x305873),this[_0x2f4e8b(0x12e)](),new _0x488b23['CanceledError']();})),this['disposeWithMe'](this[_0x3229f2(0x224)][_0x3229f2(0x1fd)]((_0x5b2731,_0x2dc5d8)=>{const _0x201142=_0x3229f2;if(_0x5b2731['id']!==_0x5a73c8[_0x201142(0x11b)]['id'])return;const _0x5817b8=_0x5b2731[_0x201142(0x3a4)];if(_0x2b4d36(_0x5817b8)){const _0x362110=_0x488b23[_0x201142(0x390)]();this['_taskIds']['push'](_0x362110),this[_0x201142(0x280)](_0x362110);}else{if(_0x3d34fe(_0x5817b8)&&this[_0x201142(0xea)][_0x201142(0x33f)]>0x0){const _0x3d6894=this['_taskIds']['shift']();this[_0x201142(0x39c)](_0x3d6894);}}}));}[_0x35d624(0x299)](){const _0x490f5e=_0x35d624;super[_0x490f5e(0x299)](),this[_0x490f5e(0x356)](),this['_taskIds']=[],this[_0x490f5e(0xe3)]=0x0,this[_0x490f5e(0x2eb)]=0x0,this[_0x490f5e(0x36f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x44f63d,_0x319414){const _0x141bb8=_0x35d624;for(let _0x2bc6d9=0x0;_0x2bc6d9<0x1e;_0x2bc6d9++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x141bb8(0x22a)](_0x44f63d,_0x319414),this[_0x141bb8(0x329)][_0x141bb8(0x2b5)]({'content':this[_0x141bb8(0x349)]['t'](_0x141bb8(0x246)),'type':_0x29b3d4[_0x141bb8(0x219)][_0x141bb8(0x2fe)]});return;}await new Promise(_0x58a327=>{const _0x3edda1=_0x141bb8;this[_0x3edda1(0xe5)]=window[_0x3edda1(0x262)](_0x58a327,0x3e8);});}catch(_0x478135){this[_0x141bb8(0x112)][_0x141bb8(0x188)](_0x478135);}this[_0x141bb8(0x329)][_0x141bb8(0x2b5)]({'content':this[_0x141bb8(0x349)]['t'](_0x141bb8(0x344)),'type':_0x29b3d4[_0x141bb8(0x219)]['Error']});}[_0x35d624(0x22a)](_0xc58dd5,_0x5d1c80){const _0x1f21e4=_0x35d624;try{this[_0x1f21e4(0x224)][_0x1f21e4(0x392)](_0xc58dd5['id'],_0xc58dd5['params'],_0x5d1c80);}catch(_0x36d0bc){this['_logService'][_0x1f21e4(0x188)](_0x36d0bc);}}[_0x35d624(0x2db)](_0x53ef2e,_0x5d80df){const _0x5d1a8a=_0x35d624;_0x5d80df<this[_0x5d1a8a(0x36f)]||(this['_lastResponseTimestamp']=_0x5d80df,this[_0x5d1a8a(0x2eb)]=Number[_0x5d1a8a(0x31b)](_0x53ef2e['maxFormulaLimit']),this['_currentUsage']=Number[_0x5d1a8a(0x31b)](_0x53ef2e[_0x5d1a8a(0x397)]));}async[_0x35d624(0x280)](_0x3b8a42){const _0x3e2d30=_0x35d624;var _0x533a8e,_0x22c323;const _0x225a9e=Date[_0x3e2d30(0x2ee)]();try{const _0x3962b0=((_0x533a8e=this['_configService'][_0x3e2d30(0x214)](_0xe662fa[_0x3e2d30(0x1c3)]))==null?void 0x0:_0x533a8e[_0x3e2d30(0x304)])||_0x5b2a39,_0x1c4ed4=(await this[_0x3e2d30(0x33e)][_0x3e2d30(0x151)](_0x3962b0,{'body':JSON[_0x3e2d30(0x2be)]({'taskId':_0x3b8a42})}))[_0x3e2d30(0x13f)];if(((_0x22c323=_0x1c4ed4[_0x3e2d30(0x188)])==null?void 0x0:_0x22c323[_0x3e2d30(0x32f)])!==_0x524c8c['OK'])return;this[_0x3e2d30(0x2db)](_0x1c4ed4['limitInfo'],_0x225a9e);}catch(_0x1e6fad){this[_0x3e2d30(0x112)]['error'](_0x1e6fad);}}async['_getFormulaLimitStatus'](_0x2db08d){const _0x3a655d=_0x35d624;var _0x226a3d,_0x2d76fd;const _0xb49352=Date['now']();try{const _0x1ad77d=((_0x226a3d=this['_configService'][_0x3a655d(0x214)](_0xe662fa[_0x3a655d(0x1c3)]))==null?void 0x0:_0x226a3d['getFormulaLimitStatusUrl'])||_0x4d7c95,_0x439b83=_0x2db08d?_0x1ad77d+'?taskId='+encodeURIComponent(_0x2db08d):_0x1ad77d,_0x2efc6b=(await this[_0x3a655d(0x33e)][_0x3a655d(0x37f)](_0x439b83))[_0x3a655d(0x13f)];if(((_0x2d76fd=_0x2efc6b[_0x3a655d(0x188)])==null?void 0x0:_0x2d76fd[_0x3a655d(0x32f)])!==_0x524c8c['OK'])return;this['_setFormulaLimitStatus'](_0x2efc6b[_0x3a655d(0x2a1)],_0xb49352);}catch(_0x40b3f3){this['_logService'][_0x3a655d(0x188)](_0x40b3f3);}}async['_releaseCalculationLimit'](_0xbdf9a6){const _0x324ad6=_0x35d624;var _0x79784e,_0x282f87;const _0x2691c3=Date['now']();try{const _0x4494d9=((_0x79784e=this[_0x324ad6(0x39e)][_0x324ad6(0x214)](_0xe662fa[_0x324ad6(0x1c3)]))==null?void 0x0:_0x79784e[_0x324ad6(0x34f)])||_0x358343,_0x382098=(await this[_0x324ad6(0x33e)]['post'](_0x4494d9,{'body':JSON[_0x324ad6(0x2be)]({'taskId':_0xbdf9a6})}))[_0x324ad6(0x13f)];if(((_0x282f87=_0x382098[_0x324ad6(0x188)])==null?void 0x0:_0x282f87[_0x324ad6(0x32f)])!==_0x524c8c['OK'])return;this[_0x324ad6(0x2db)](_0x382098[_0x324ad6(0x2a1)],_0x2691c3);}catch(_0x45b4bf){this[_0x324ad6(0x112)][_0x324ad6(0x188)](_0x45b4bf);}}['_checkCalculationAvailable'](){const _0x52b2bc=_0x35d624;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x52b2bc(0x2eb)]-this[_0x52b2bc(0xe3)]>0x0;}['_clearPolling'](){const _0x22b077=_0x35d624;this[_0x22b077(0xe5)]&&(clearTimeout(this[_0x22b077(0xe5)]),this['_pollingInterval']=null);}[_0x35d624(0x12e)](){const _0x132116=_0x35d624;this[_0x132116(0x329)][_0x132116(0x2b5)]({'content':this[_0x132116(0x349)]['t'](_0x132116(0x182)),'type':_0x29b3d4[_0x132116(0x219)][_0x132116(0x22f)]});}[_0x35d624(0x2da)](_0x55d7c4){const _0x553c3d=_0x35d624;for(const _0x150633 of _0x55d7c4){const {unitId:_0x1424e2,sheetId:_0xba7ad4,range:_0x46084b}=_0x150633,_0x24a1e0=this[_0x553c3d(0x162)][_0x553c3d(0x18e)](_0x1424e2);if(!_0x24a1e0)continue;const _0x2b1a51=_0x24a1e0['getSheetBySheetId'](_0xba7ad4);if(!_0x2b1a51)continue;const _0x4a30dd=_0x2b1a51[_0x553c3d(0x16b)]();for(let _0x266eb0=_0x46084b[_0x553c3d(0xd9)];_0x266eb0<=_0x46084b[_0x553c3d(0x2c8)];_0x266eb0++)for(let _0x4dfcc9=_0x46084b[_0x553c3d(0x1fa)];_0x4dfcc9<=_0x46084b['endColumn'];_0x4dfcc9++){const _0xecdc0a=_0x4a30dd[_0x553c3d(0x334)](_0x266eb0,_0x4dfcc9);if(_0xecdc0a&&(_0x488b23['isFormulaString'](_0xecdc0a['f'])||_0x488b23[_0x553c3d(0x1f2)](_0xecdc0a['si'])))return!0x0;}}return!0x1;}};_0x243db5=_0x5c5bb5([_0x407e74(0x0,_0x488b23[_0x35d624(0x14a)](_0x16efad[_0x35d624(0x381)])),_0x407e74(0x1,_0x488b23['ICommandService']),_0x407e74(0x2,_0x488b23[_0x35d624(0x207)]),_0x407e74(0x3,_0x488b23[_0x35d624(0x14a)](_0x46c86d['HTTPService'])),_0x407e74(0x4,_0x488b23['IUniverInstanceService']),_0x407e74(0x5,_0x488b23[_0x35d624(0x31f)]),_0x407e74(0x6,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x301)]))],_0x243db5);var _0xa374e8=Object['getOwnPropertyDescriptor'],_0x9df212=(_0x531f1e,_0x202805,_0x144e78,_0x30c2b0)=>{for(var _0x5af1dc=_0x30c2b0>0x1?void 0x0:_0x30c2b0?_0xa374e8(_0x202805,_0x144e78):_0x202805,_0x12284e=_0x531f1e['length']-0x1,_0x4de524;_0x12284e>=0x0;_0x12284e--)(_0x4de524=_0x531f1e[_0x12284e])&&(_0x5af1dc=_0x4de524(_0x5af1dc)||_0x5af1dc);return _0x5af1dc;},_0x11f59e=(_0x3ccbad,_0x3b47cd)=>(_0x47cb24,_0x2daa77)=>_0x3b47cd(_0x47cb24,_0x2daa77,_0x3ccbad);let _0x5b1857=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x2cd4c3,_0x2860b3,_0x27d169){const _0x4707e9=_0x35d624;super(),_0x5c8f58(this,_0x4707e9(0xfb),new Map()),_0x5c8f58(this,'_saveTaskMap',new Map()),_0x5c8f58(this,_0x4707e9(0x1ba),!0x1),(this['_configService']=_0x2cd4c3,this[_0x4707e9(0x23c)]=_0x2860b3,this[_0x4707e9(0x332)]=_0x27d169);}[_0x35d624(0x2aa)](){this['_disabled']=!0x0;}[_0x35d624(0x2a5)](){this['_disabled']=!0x1;}get[_0x35d624(0x2f0)](){const _0x3dc687=_0x35d624;return this[_0x3dc687(0x38b)];}[_0x35d624(0x299)](){const _0x461bd1=_0x35d624;this[_0x461bd1(0x3b0)]()[_0x461bd1(0x2f2)](()=>super[_0x461bd1(0x299)]());}async['loadOfflineData'](_0x397ce1){const _0x11705c=_0x35d624;return this[_0x11705c(0x1ba)]?null:this[_0x11705c(0x23c)][_0x11705c(0x15b)](_0xe662fa[_0x11705c(0x159)](_0x397ce1));}async[_0x35d624(0x175)](_0x56167d,_0xfe3781){const _0x18b537=_0x35d624;return!!this[_0x18b537(0x23c)][_0x18b537(0x108)](_0x56167d,_0xfe3781);}[_0x35d624(0x1e8)](_0x1daf93,_0x2503e4,_0x46e68c,_0x312705){const _0x411fa1=_0x35d624,_0x5e76f1=this[_0x411fa1(0x332)][_0x411fa1(0xec)](_0x1daf93);this[_0x411fa1(0xfb)]['set'](_0x1daf93,{'unitID':_0x1daf93,'type':_0x2503e4,'awaitingChangeset':_0x46e68c,'mutations':_0x312705,'rev':_0x5e76f1}),this[_0x411fa1(0x38b)]['has'](_0x1daf93)||this[_0x411fa1(0x3a0)](_0x1daf93);}[_0x35d624(0x3a0)](_0x51fc4e){const _0xfabd34=_0x35d624,_0x355c43=this[_0xfabd34(0x1d4)]();_0x355c43===0x0?this[_0xfabd34(0x355)](_0x51fc4e):this[_0xfabd34(0x38b)][_0xfabd34(0x26e)](_0x51fc4e,setTimeout(()=>this[_0xfabd34(0x355)](_0x51fc4e),_0x355c43));}[_0x35d624(0x1d4)](){const _0x145103=_0x35d624;var _0x25d1eb;return(_0x25d1eb=this['_configService']['getConfig'](_0xe662fa[_0x145103(0x192)]))!=null?_0x25d1eb:_0xe662fa['LOCAL_CACHE_INTERVAL'];}[_0x35d624(0x355)](_0x57c0ab){const _0x41a7bb=_0x35d624,_0x2fde01=this[_0x41a7bb(0x38b)]['get'](_0x57c0ab);return _0x2fde01!==void 0x0&&window[_0x41a7bb(0x245)](_0x2fde01),this['_localStorageService'][_0x41a7bb(0x108)](_0xe662fa[_0x41a7bb(0x159)](_0x57c0ab),this[_0x41a7bb(0xfb)][_0x41a7bb(0x37f)](_0x57c0ab))[_0x41a7bb(0x2f2)](()=>this[_0x41a7bb(0x38b)]['delete'](_0x57c0ab));}async[_0x35d624(0x3b0)](){const _0x3e5d66=_0x35d624,_0x48cf8b=[];this[_0x3e5d66(0x38b)][_0x3e5d66(0x125)]((_0x105b62,_0x432e8c)=>{const _0x3fbc02=_0x3e5d66;window[_0x3fbc02(0x245)](_0x105b62),_0x48cf8b['push'](this[_0x3fbc02(0x355)](_0x432e8c)[_0x3fbc02(0x2f2)](()=>{const _0x2f5131=_0x3fbc02;this[_0x2f5131(0x38b)][_0x2f5131(0x323)](_0x432e8c);}));}),await Promise[_0x3e5d66(0x2ff)](_0x48cf8b);}};_0x5b1857=_0x9df212([_0x11f59e(0x0,_0x488b23[_0x35d624(0x207)]),_0x11f59e(0x1,_0x488b23[_0x35d624(0x183)]),_0x11f59e(0x2,_0x488b23[_0x35d624(0x14a)](_0x330813[_0x35d624(0x1b6)]))],_0x5b1857);class _0xec686a extends _0x488b23[_0x35d624(0x376)]{constructor(){const _0x379b4a=_0x35d624;super(),_0x5c8f58(this,_0x379b4a(0x1ac)),this[_0x379b4a(0x1ac)]=_0xd39c43[_0x379b4a(0x29b)](window,_0x379b4a(0x247))[_0x379b4a(0x2a0)](_0xd39c43[_0x379b4a(0x208)](this[_0x379b4a(0x325)]),_0xd39c43[_0x379b4a(0x184)](0x1),_0xd39c43[_0x379b4a(0x106)](void 0x0));}[_0x35d624(0x2d2)](_0xd2d802,_0x488b84,_0x38981b=!0x1){const _0x1c3797=_0x35d624,_0x353504=new URL(window[_0x1c3797(0x2b3)]['href']);_0x353504[_0x1c3797(0x347)][_0x1c3797(0x26e)](_0xd2d802,_0x488b84),_0x38981b?window[_0x1c3797(0x120)][_0x1c3797(0x327)]('','',_0x353504[_0x1c3797(0x26d)]()):window['history'][_0x1c3797(0x29c)]('','',_0x353504[_0x1c3797(0x26d)]());}['removeParam'](_0x1ee18e,_0x37e61d=!0x1){const _0x5eb8f3=_0x35d624,_0x25bfa2=new URL(window['location'][_0x5eb8f3(0x1eb)]);_0x25bfa2[_0x5eb8f3(0x347)][_0x5eb8f3(0x323)](_0x1ee18e),_0x37e61d?window['history'][_0x5eb8f3(0x327)]('','',_0x25bfa2[_0x5eb8f3(0x26d)]()):window[_0x5eb8f3(0x120)][_0x5eb8f3(0x29c)]('','',_0x25bfa2['toString']());}['getParam'](_0x1bff7e){const _0x1de5fb=_0x35d624;var _0x2bb0ac;return(_0x2bb0ac=new URL(window[_0x1de5fb(0x2b3)][_0x1de5fb(0x1eb)])[_0x1de5fb(0x347)][_0x1de5fb(0x37f)](_0x1bff7e))!=null?_0x2bb0ac:void 0x0;}}var _0x537c5f=Object[_0x35d624(0x13e)],_0x3d2093=Object[_0x35d624(0x235)],_0x35786c=(_0x245afc,_0x200a55,_0x460358)=>_0x200a55 in _0x245afc?_0x537c5f(_0x245afc,_0x200a55,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x460358}):_0x245afc[_0x200a55]=_0x460358,_0xbafb5a=(_0x4d32ce,_0xff9251,_0x194bb8,_0xe28f64)=>{for(var _0x4736d9=_0xe28f64>0x1?void 0x0:_0xe28f64?_0x3d2093(_0xff9251,_0x194bb8):_0xff9251,_0x38143c=_0x4d32ce['length']-0x1,_0x1d6882;_0x38143c>=0x0;_0x38143c--)(_0x1d6882=_0x4d32ce[_0x38143c])&&(_0x4736d9=_0x1d6882(_0x4736d9)||_0x4736d9);return _0x4736d9;},_0x2b0bae=(_0xe1bfa3,_0x1d221b)=>(_0x338b17,_0x23e771)=>_0x1d221b(_0x338b17,_0x23e771,_0xe1bfa3),_0x1ca766=(_0x26576f,_0x1ceadc,_0x5859aa)=>_0x35786c(_0x26576f,_0x1ceadc+'',_0x5859aa);const _0x240d31=_0x35d624(0x213);_0x497957[_0x35d624(0x149)]=class extends _0x488b23['Plugin']{constructor(_0x5f447a=_0x32f775,_0x26a02f,_0x231f39,_0x5ed541){const _0x17aff7=_0x35d624;super(),this['_config']=_0x5f447a,this[_0x17aff7(0x1c2)]=_0x26a02f,this['_injector']=_0x231f39,this[_0x17aff7(0x39e)]=_0x5ed541;const {..._0x3947d4}=_0x488b23[_0x17aff7(0x198)]({},_0x32f775,this['_config']);this[_0x17aff7(0x39e)]['setConfig'](_0x370bf5,_0x3947d4);}['onStarting'](){const _0x13ecbc=_0x35d624;this[_0x13ecbc(0x35a)](),this[_0x13ecbc(0x1f3)]();}[_0x35d624(0x350)](){const _0x3cbf62=_0x35d624;this[_0x3cbf62(0x186)]();}[_0x35d624(0x35a)](){const _0x8659ff=_0x35d624;var _0x4d59c8;const _0x78ec3f=[[_0x3a845f],[_0x243db5],[_0x2e060d],[_0x4b7de7],[_0x1432ff],[_0x4f1bea],[_0x59fd33,{'useClass':_0xec686a}],[_0x46c86d[_0x8659ff(0x3a3)],{'useClass':_0x46c86d[_0x8659ff(0x292)]}],[_0xe662fa['ILocalCacheService'],{'useClass':_0x5b1857}],[_0x497957['DesktopCollaborationStatusDisplayController']],[_0x13fe58],[_0x4de461],[_0x52c457],[_0x1a397d],[_0x497957[_0x8659ff(0x391)]]];this[_0x8659ff(0x1e0)][_0x8659ff(0x286)]&&_0x78ec3f[_0x8659ff(0x157)]([_0x5b922f]),_0x488b23[_0x8659ff(0x30d)](this[_0x8659ff(0x111)],_0x488b23['mergeOverrideWithDependencies'](_0x78ec3f,(_0x4d59c8=this['_config'])==null?void 0x0:_0x4d59c8[_0x8659ff(0xf0)]));}[_0x35d624(0x186)](){const _0x44c7b4=_0x35d624;this[_0x44c7b4(0x37d)](this[_0x44c7b4(0x1c2)][_0x44c7b4(0x104)](_0x488b23[_0x44c7b4(0x278)][_0x44c7b4(0x17b)],[_0x2a680a])),this['disposeWithMe'](this[_0x44c7b4(0x1c2)][_0x44c7b4(0x104)](_0x488b23['UniverInstanceType'][_0x44c7b4(0x386)],[_0x3f03ab]));}['_initDependencies'](){const _0x4d8321=_0x35d624;_0x488b23[_0x4d8321(0x11d)](this[_0x4d8321(0x111)],[[_0x52c457],[_0x497957['DesktopCollaborationStatusDisplayController']],[_0x13fe58],[_0x4de461],[_0x497957['CollaborationDataLoaderController']],[_0x243db5]]),this[_0x4d8321(0x1e0)][_0x4d8321(0x286)]&&_0x488b23['touchDependencies'](this[_0x4d8321(0x111)],[[_0x5b922f]]);}},_0x1ca766(_0x497957[_0x35d624(0x149)],_0x35d624(0x2fd),_0x240d31),_0x497957['UniverCollaborationClientUIPlugin']=_0xbafb5a([_0x488b23[_0x35d624(0x122)](_0xe662fa['UniverCollaborationClientPlugin']),_0x2b0bae(0x1,_0x4ad5e1['IRenderManagerService']),_0x2b0bae(0x2,_0x488b23[_0x35d624(0x14a)](_0x488b23[_0x35d624(0x39f)])),_0x2b0bae(0x3,_0x488b23[_0x35d624(0x207)])],_0x497957['UniverCollaborationClientUIPlugin']);var _0x49d1a5=Object[_0x35d624(0x235)],_0x220188=(_0x59bf96,_0x823a57,_0x3488f0,_0x52ee00)=>{const _0x36fc1d=_0x35d624;for(var _0x126624=_0x52ee00>0x1?void 0x0:_0x52ee00?_0x49d1a5(_0x823a57,_0x3488f0):_0x823a57,_0xb93d0f=_0x59bf96[_0x36fc1d(0x33f)]-0x1,_0x42af81;_0xb93d0f>=0x0;_0xb93d0f--)(_0x42af81=_0x59bf96[_0xb93d0f])&&(_0x126624=_0x42af81(_0x126624)||_0x126624);return _0x126624;},_0x39e103=(_0x4d1cb0,_0x91a060)=>(_0x4bc52b,_0x17118b)=>_0x91a060(_0x4bc52b,_0x17118b,_0x4d1cb0);_0x497957[_0x35d624(0x2ae)]=class extends _0xe662fa['CollaborationSocketService']{constructor(_0x4f692c,_0x5b4ba3,_0x506329,_0x3c2c7f,_0x36e384){super(_0x4f692c,_0x5b4ba3,_0x506329,_0x3c2c7f,_0x36e384);}async['createSocket'](_0x361208){const _0x3323e5=await this['_getSessionTicket'](),_0x3ef80b=this['_createSocketURL'](_0x361208,_0x3323e5);return this['_doCreateSocket'](_0x3ef80b);}[_0x35d624(0x268)](_0x32f7c6,_0x1ce54b){const _0x2525c3=_0x35d624,_0x51a58e=typeof window>'u'?new URL(_0x32f7c6):new URL(_0x32f7c6,window[_0x2525c3(0x2b3)][_0x2525c3(0x270)]);_0x51a58e[_0x2525c3(0x347)][_0x2525c3(0x26e)]('sessionTicket',_0x1ce54b);const _0x393ecd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2525c3(0x2b3)]['search']);return _0x393ecd[_0x2525c3(0x37f)]('runId')&&_0x51a58e['searchParams'][_0x2525c3(0x26e)](_0x2525c3(0x15a),_0x393ecd[_0x2525c3(0x37f)](_0x2525c3(0x15a))),_0x51a58e[_0x2525c3(0x26d)]();}async[_0x35d624(0x24f)](){const _0x22c248=_0x35d624;var _0x1c7988,_0x303b12,_0x1d7854;const _0x187877=this[_0x22c248(0x39e)][_0x22c248(0x214)](_0xe662fa[_0x22c248(0x1c3)]),_0x50e9a8=(_0x1c7988=_0x187877==null?void 0x0:_0x187877[_0x22c248(0x129)])!=null?_0x1c7988:_0xe662fa[_0x22c248(0x3ae)];return(_0x1d7854=(_0x303b12=(await this[_0x22c248(0x33e)][_0x22c248(0x37f)](_0x50e9a8,{'headers':{'Content-Type':'application/json'}}))[_0x22c248(0x13f)])==null?void 0x0:_0x303b12[_0x22c248(0x365)])!=null?_0x1d7854:'';}},_0x497957[_0x35d624(0x2ae)]=_0x220188([_0x39e103(0x0,_0x488b23['Inject'](_0x488b23[_0x35d624(0x39f)])),_0x39e103(0x1,_0x488b23['Inject'](_0x46c86d['HTTPService'])),_0x39e103(0x2,_0x488b23[_0x35d624(0x207)]),_0x39e103(0x3,_0x488b23[_0x35d624(0x31f)]),_0x39e103(0x4,_0x330813[_0x35d624(0x2bb)])],_0x497957['BrowserCollaborationSocketService']);var _0x31aa58=Object[_0x35d624(0x235)],_0x225a38=(_0x194de1,_0x238d4e,_0xad5c1b,_0x42f144)=>{const _0x4541ec=_0x35d624;for(var _0x58451e=_0x42f144>0x1?void 0x0:_0x42f144?_0x31aa58(_0x238d4e,_0xad5c1b):_0x238d4e,_0x39f3cb=_0x194de1[_0x4541ec(0x33f)]-0x1,_0x420cfc;_0x39f3cb>=0x0;_0x39f3cb--)(_0x420cfc=_0x194de1[_0x39f3cb])&&(_0x58451e=_0x420cfc(_0x58451e)||_0x58451e);return _0x58451e;},_0x23df0b=(_0x1877ce,_0x198f68)=>(_0xe6c358,_0x5c47cd)=>_0x198f68(_0xe6c358,_0x5c47cd,_0x1877ce);_0x497957[_0x35d624(0xdf)]=class extends _0x488b23[_0x35d624(0x144)]{constructor(_0x4f6106,_0x417c3f,_0x336e84){const _0x3ac1cd=_0x35d624;super(),this[_0x3ac1cd(0x3a6)]=_0x4f6106,this[_0x3ac1cd(0x33e)]=_0x417c3f,this[_0x3ac1cd(0x39e)]=_0x336e84;}async[_0x35d624(0x243)](_0x4b16ee,_0x4bebc6,_0x134e45,..._0x8ae971){const _0x43fa91=_0x35d624;var _0x3e57f2,_0x1b04a7,_0x48db1b,_0x2f99f5;const _0x47b79d=this[_0x43fa91(0x3a6)][_0x43fa91(0x19a)]();if(!_0x47b79d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x478fa3=((_0x3e57f2=this['_configService'][_0x43fa91(0x214)](_0xe662fa[_0x43fa91(0x371)]))!=null?_0x3e57f2:_0xe662fa[_0x43fa91(0x232)])+'/'+_0x4b16ee+'/run/'+_0x4bebc6,_0x144a5e=new URL(window['location'][_0x43fa91(0x1eb)]),_0x59d2ee={'scriptId':_0x4b16ee,'runId':(_0x1b04a7=_0x144a5e['searchParams'][_0x43fa91(0x37f)](_0x43fa91(0x15a)))!=null?_0x1b04a7:'','function':_0x4bebc6,'unitId':_0x47b79d[_0x43fa91(0x394)](),'argsOfFunction':JSON['stringify'](_0x8ae971),'invokeId':(_0x48db1b=_0x134e45[_0x43fa91(0x2b2)])!=null?_0x48db1b:'','executionId':(_0x2f99f5=_0x134e45[_0x43fa91(0x33b)])!=null?_0x2f99f5:''};try{const _0x128c35=await this[_0x43fa91(0x33e)][_0x43fa91(0x151)](_0x478fa3,{'body':_0x59d2ee});return _0x128c35['body'][_0x43fa91(0x188)]&&_0x128c35[_0x43fa91(0x13f)]['error'][_0x43fa91(0x32f)]!==_0x524c8c['OK']?_0x43fa91(0xe0):_0x128c35[_0x43fa91(0x13f)]['result'];}catch{return _0x43fa91(0xe0);}}},_0x497957[_0x35d624(0xdf)]=_0x225a38([_0x23df0b(0x0,_0x488b23[_0x35d624(0x385)]),_0x23df0b(0x1,_0x488b23[_0x35d624(0x14a)](_0x46c86d['HTTPService'])),_0x23df0b(0x2,_0x488b23[_0x35d624(0x207)])],_0x497957[_0x35d624(0xdf)]);const _0x193945=0x7530,_0x54dc8d=_0x35d624(0x231);class _0x40af19 extends _0x488b23[_0x35d624(0x144)]{constructor(){const _0x24a900=_0x35d624;super(),_0x5c8f58(this,'_id',_0x488b23['generateRandomId']()),_0x5c8f58(this,_0x24a900(0x33d),new Set()),_0x5c8f58(this,_0x24a900(0x37e),new Map()),_0x5c8f58(this,_0x24a900(0x238),null),_0x5c8f58(this,_0x24a900(0x221),new Map()),_0x5c8f58(this,_0x24a900(0x1ea),new Map()),this[_0x24a900(0x251)]();}[_0x35d624(0x299)](){const _0x2d6065=_0x35d624;super['dispose'](),this[_0x2d6065(0x221)]['forEach']((_0x14c722,_0x1e9e25)=>this['_removeClearOtherTimer'](_0x1e9e25)),this['_heartbeatTimer']&&window[_0x2d6065(0x115)](this[_0x2d6065(0x238)]);}[_0x35d624(0x1ec)](_0x51bb6e){const _0x52efd7=_0x35d624;return this['_ensureSubject'](_0x51bb6e)[_0x52efd7(0x2a0)](_0xd39c43[_0x52efd7(0x14c)]());}[_0x35d624(0x273)](_0x1a3f82){const _0x54ae79=_0x35d624;this[_0x54ae79(0x33d)][_0x54ae79(0x18f)]===0x0&&this[_0x54ae79(0x3ab)](),this[_0x54ae79(0x33d)][_0x54ae79(0x380)](_0x1a3f82),this[_0x54ae79(0x10c)]({'type':0x0,'memberID':this[_0x54ae79(0x107)],'unitIDs':[_0x1a3f82],'isForwarded':!0x1});}[_0x35d624(0x35f)](_0x190b1f){const _0x2e6c85=_0x35d624;this['_selfUnitIDs'][_0x2e6c85(0x323)](_0x190b1f),this[_0x2e6c85(0x33d)][_0x2e6c85(0x18f)]===0x0&&this[_0x2e6c85(0x238)]&&window['clearInterval'](this[_0x2e6c85(0x238)]);}[_0x35d624(0x251)](){const _0x46adb1=_0x35d624;this[_0x46adb1(0x37d)](_0x488b23[_0x46adb1(0x15d)](_0xd39c43['fromEvent'](window,'storage')['subscribe'](_0x409614=>{const _0xa89af0=_0x46adb1;if(_0x409614[_0xa89af0(0x1c4)]!==_0x54dc8d||!_0x409614['newValue'])return;const _0x2175b5=JSON[_0xa89af0(0x168)](_0x409614[_0xa89af0(0x1bf)]);this[_0xa89af0(0x1b7)](_0x2175b5);}))),window[_0x46adb1(0x2d6)](_0x46adb1(0x1b1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x46adb1(0x138)](this[_0x46adb1(0x33d)])}));}[_0x35d624(0x1b7)](_0x543673){const _0x353199=_0x35d624;switch(_0x543673[_0x353199(0x18c)]){case 0x0:this[_0x353199(0x1de)](_0x543673);break;case 0x1:this['_handleLeaveEvent'](_0x543673);break;case 0x2:this[_0x353199(0x2b7)](_0x543673);break;}}['_handleJoinEvent'](_0x42c1fc){const _0x32c1b3=_0x35d624,{unitIDs:_0x240af8,memberID:_0x6d9db0,isForwarded:_0x4a6033}=_0x42c1fc;_0x240af8['forEach'](_0x47e65a=>{const _0x9a2995=_0x3f90;if(!_0x4a6033&&this[_0x9a2995(0x37e)][_0x9a2995(0x2a9)](_0x47e65a)&&this[_0x9a2995(0xdc)](_0x47e65a)['next'](_0xe662fa[_0x9a2995(0x27a)]['OTHER_CLIENTS_EDITING']),!this[_0x9a2995(0x37e)][_0x9a2995(0x2a9)](_0x47e65a)||!this[_0x9a2995(0x37e)][_0x9a2995(0x37f)](_0x47e65a)[_0x9a2995(0x2a9)](_0x6d9db0)){const _0x27f335=this['_unitOnClients'][_0x9a2995(0x37f)](_0x47e65a)||new Set();_0x27f335[_0x9a2995(0x380)](_0x6d9db0),this['_unitOnClients'][_0x9a2995(0x26e)](_0x47e65a,_0x27f335),this['_scheduleClearOtherTimer'](_0x6d9db0);}}),_0x4a6033||this[_0x32c1b3(0x10c)]({'type':0x0,'memberID':this[_0x32c1b3(0x107)],'unitIDs':[...this[_0x32c1b3(0x33d)]],'isForwarded':!0x0});}[_0x35d624(0x155)](_0x14ed70){const _0x372e83=_0x35d624;this['_removeClearOtherTimer'](_0x14ed70);const _0x31ac70=window['setTimeout'](()=>{const _0x53b544=_0x3f90;this[_0x53b544(0x37e)]['forEach'](_0x4bdada=>{const _0x20e990=_0x53b544;_0x4bdada[_0x20e990(0x323)](_0x14ed70);});},_0x193945*0x2);this[_0x372e83(0x221)][_0x372e83(0x26e)](_0x14ed70,_0x31ac70);}[_0x35d624(0x32a)](_0x3fedef){const _0x244426=_0x35d624;if(this['_clearOtherTimers'][_0x244426(0x2a9)](_0x3fedef)){const _0x3b0f23=this['_clearOtherTimers'][_0x244426(0x37f)](_0x3fedef);_0x3b0f23&&window[_0x244426(0x245)](_0x3b0f23),this[_0x244426(0x221)][_0x244426(0x26e)](_0x3fedef,null);}}[_0x35d624(0x116)](_0x3c0186){const _0x311c8e=_0x35d624,{memberID:_0x2ec4a5,unitIDs:_0x3c1cf5}=_0x3c0186;_0x3c1cf5[_0x311c8e(0x125)](_0xb33d1d=>{const _0x29542d=_0x311c8e;var _0x253f22;const _0x5d284a=this[_0x29542d(0x37e)]['get'](_0xb33d1d);_0x5d284a&&(_0x5d284a[_0x29542d(0x323)](_0x2ec4a5),(_0x253f22=this[_0x29542d(0xdc)](_0xb33d1d))==null||_0x253f22['next'](_0x5d284a[_0x29542d(0x18f)]===0x0?_0xe662fa[_0x29542d(0x27a)][_0x29542d(0x1e7)]:_0xe662fa[_0x29542d(0x27a)]['OTHER_CLIENTS_EDITING']));}),this[_0x311c8e(0x32a)](_0x2ec4a5);}['_handleHeartbeatEvent'](_0x1ad8cd){const _0x476e1c=_0x35d624;this['_scheduleClearOtherTimer'](_0x1ad8cd[_0x476e1c(0x20b)]);}['_send'](_0xb82d96){const _0x154019=_0x35d624;localStorage['setItem'](_0x54dc8d,JSON[_0x154019(0x2be)](_0xb82d96));}[_0x35d624(0x3ab)](){const _0x33a29d=_0x35d624;this[_0x33a29d(0x238)]=window[_0x33a29d(0x16c)](()=>{const _0x5b2e22=_0x33a29d;this[_0x5b2e22(0x10c)]({'type':0x2,'memberID':this[_0x5b2e22(0x107)]});},_0x193945);}[_0x35d624(0xdc)](_0x1eb82e){const _0x567c51=_0x35d624;return this[_0x567c51(0x1ea)][_0x567c51(0x2a9)](_0x1eb82e)||this[_0x567c51(0x1ea)][_0x567c51(0x26e)](_0x1eb82e,new _0xd39c43['BehaviorSubject'](_0xe662fa[_0x567c51(0x27a)][_0x567c51(0x1e7)])),this[_0x567c51(0x1ea)][_0x567c51(0x37f)](_0x1eb82e);}}_0x497957[_0x35d624(0x103)]=_0x59fd33,_0x497957[_0x35d624(0x2b4)]=_0x370ba4,_0x497957[_0x35d624(0x38d)]=_0x40af19,_0x497957[_0x35d624(0x2d1)]=_0xec686a,Object[_0x35d624(0x13e)](_0x497957,Symbol['toStringTag'],{'value':_0x35d624(0x281)});}));