@univerjs-pro/collaboration-client-ui 0.19.0 → 0.20.0

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 +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3751c1,_0x245eb5){const _0x5d7166=_0x1f09,_0x2dd76c=_0x3751c1();while(!![]){try{const _0x292413=-parseInt(_0x5d7166(0x2ba))/0x1*(parseInt(_0x5d7166(0x37f))/0x2)+-parseInt(_0x5d7166(0x18a))/0x3*(parseInt(_0x5d7166(0x196))/0x4)+-parseInt(_0x5d7166(0x25b))/0x5*(-parseInt(_0x5d7166(0x461))/0x6)+-parseInt(_0x5d7166(0x35c))/0x7+parseInt(_0x5d7166(0x2d8))/0x8*(-parseInt(_0x5d7166(0x152))/0x9)+-parseInt(_0x5d7166(0x278))/0xa*(parseInt(_0x5d7166(0x445))/0xb)+parseInt(_0x5d7166(0x2b1))/0xc;if(_0x292413===_0x245eb5)break;else _0x2dd76c['push'](_0x2dd76c['shift']());}catch(_0x895223){_0x2dd76c['push'](_0x2dd76c['shift']());}}}(_0x59b4,0x33d5c),function(_0x5f3bca,_0x13183b){const _0x50e683=_0x1f09;typeof exports==_0x50e683(0x30b)&&typeof module<'u'?_0x13183b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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==_0x50e683(0x2f0)&&define['amd']?define([_0x50e683(0x2bf),_0x50e683(0x43f),_0x50e683(0x1fd),'@univerjs/ui',_0x50e683(0x3f5),_0x50e683(0x1a3),_0x50e683(0x41e),_0x50e683(0x209),_0x50e683(0x460),_0x50e683(0x280),_0x50e683(0x212),_0x50e683(0x1e3),'@univerjs/docs-ui',_0x50e683(0x329),'@univerjs-pro/collaboration',_0x50e683(0x2ac),'@univerjs/engine-formula',_0x50e683(0x1ee),_0x50e683(0x208)],_0x13183b):(_0x5f3bca=typeof globalThis<'u'?globalThis:_0x5f3bca||self,_0x13183b(_0x5f3bca[_0x50e683(0x175)]={},_0x5f3bca[_0x50e683(0x265)],_0x5f3bca[_0x50e683(0x1cb)],_0x5f3bca[_0x50e683(0x195)],_0x5f3bca[_0x50e683(0x3f5)],_0x5f3bca['UniverDesign'],_0x5f3bca[_0x50e683(0x435)],_0x5f3bca[_0x50e683(0x435)],_0x5f3bca[_0x50e683(0x36c)],_0x5f3bca['UniverSheets'],_0x5f3bca[_0x50e683(0x364)],_0x5f3bca[_0x50e683(0x38f)],_0x5f3bca[_0x50e683(0x297)],_0x5f3bca[_0x50e683(0x396)],_0x5f3bca[_0x50e683(0x170)],_0x5f3bca['UniverDocs'],_0x5f3bca[_0x50e683(0x29c)],_0x5f3bca[_0x50e683(0x3f5)][_0x50e683(0x3c9)],_0x5f3bca[_0x50e683(0x16f)]));}(this,function(_0x2f0af9,_0x18e88d,_0x1e96bc,_0x163a5f,_0x25f103,_0x12bd8e,_0x996045,_0x3595c1,_0xba6498,_0x3a9a8f,_0x42ac73,_0xe453ac,_0xe88835,_0x42b430,_0x55fb1d,_0x3aacdf,_0x3b565c,_0x23c12b,_0x1827e1){const _0x29b412=_0x1f09;Object[_0x29b412(0x45a)](_0x2f0af9,Symbol[_0x29b412(0x38c)],{'value':_0x29b412(0x3fa)});function _0x42b57b({ref:_0x3af208,..._0x530459}){const _0x481816=_0x29b412;let {icon:_0x586923,id:_0x551974,className:_0x48dfcb,extend:_0x528e3f,..._0x2f833e}=_0x530459,_0x2f8775=(_0x481816(0x35a)+_0x551974+'\x20'+(_0x48dfcb||''))[_0x481816(0x3f4)](),_0x5b0949=(0x0,_0x996045['useRef'])('_'+_0x5dc6e6());return _0x2b3511(_0x586923,''+_0x551974,{'defIds':_0x586923[_0x481816(0x3a0)],'idSuffix':_0x5b0949[_0x481816(0x456)]},{'ref':_0x3af208,'className':_0x2f8775,..._0x2f833e},_0x528e3f);}function _0x2b3511(_0x4c696b,_0x4f0fc3,_0x2aa7c7,_0x2744ed,_0x48bc65){const _0x50afc7=_0x29b412;return(0x0,_0x996045['createElement'])(_0x4c696b[_0x50afc7(0x3e0)],{'key':_0x4f0fc3,..._0x5c3b31(_0x4c696b,_0x2aa7c7,_0x48bc65),..._0x2744ed},(_0x5d5327(_0x4c696b,_0x2aa7c7)[_0x50afc7(0x2f9)]||[])[_0x50afc7(0x403)]((_0x2255a4,_0x1f95ee)=>_0x2b3511(_0x2255a4,_0x4f0fc3+'-'+_0x4c696b[_0x50afc7(0x3e0)]+'-'+_0x1f95ee,_0x2aa7c7,void 0x0,_0x48bc65)));}function _0x5c3b31(_0x5b3c6d,_0x48ccfa,_0x1c3285){const _0x159ef5=_0x29b412;let _0x4851ac={..._0x5b3c6d['attrs']};_0x1c3285!=null&&_0x1c3285[_0x159ef5(0x426)]&&_0x4851ac['fill']==='colorChannel1'&&(_0x4851ac[_0x159ef5(0x2e6)]=_0x1c3285[_0x159ef5(0x426)]),_0x5b3c6d[_0x159ef5(0x3e0)]===_0x159ef5(0x44b)&&_0x4851ac['id']&&(_0x4851ac['id']+=_0x48ccfa[_0x159ef5(0x36b)]),Object[_0x159ef5(0x2d4)](_0x4851ac)[_0x159ef5(0x312)](([_0x3f271b,_0x32171c])=>{const _0x13a9a7=_0x159ef5;_0x3f271b===_0x13a9a7(0x44b)&&typeof _0x32171c=='string'&&(_0x4851ac[_0x3f271b]=_0x32171c[_0x13a9a7(0x26c)](/url\(#(.*)\)/,_0x13a9a7(0x231)+_0x48ccfa[_0x13a9a7(0x36b)]+')'));});let {defIds:_0x12a107}=_0x48ccfa;return!_0x12a107||_0x12a107[_0x159ef5(0x1b7)]===0x0?_0x4851ac:(_0x5b3c6d[_0x159ef5(0x3e0)]===_0x159ef5(0x229)&&_0x4851ac[_0x159ef5(0x3e5)]&&(_0x4851ac['xlink:href']+=_0x48ccfa[_0x159ef5(0x36b)]),Object['entries'](_0x4851ac)['forEach'](([_0x4cf601,_0x292449])=>{const _0x542692=_0x159ef5;typeof _0x292449==_0x542692(0x416)&&(_0x4851ac[_0x4cf601]=_0x292449['replace'](/url\(#(.*)\)/,_0x542692(0x231)+_0x48ccfa[_0x542692(0x36b)]+')'));}),_0x4851ac);}function _0x5d5327(_0x187400,_0x55d846){const _0x139bac=_0x29b412;var _0x1b727b;let {defIds:_0x557a96}=_0x55d846;return!_0x557a96||_0x557a96[_0x139bac(0x1b7)]===0x0?_0x187400:_0x187400[_0x139bac(0x3e0)]===_0x139bac(0x2e7)&&(_0x1b727b=_0x187400[_0x139bac(0x2f9)])!=null&&_0x1b727b[_0x139bac(0x1b7)]?{..._0x187400,'children':_0x187400[_0x139bac(0x2f9)][_0x139bac(0x403)](_0x1c93ef=>typeof _0x1c93ef[_0x139bac(0x402)]['id']==_0x139bac(0x416)&&_0x557a96&&_0x557a96[_0x139bac(0x1d8)](_0x1c93ef[_0x139bac(0x402)]['id'])?{..._0x1c93ef,'attrs':{..._0x1c93ef[_0x139bac(0x402)],'id':_0x1c93ef[_0x139bac(0x402)]['id']+_0x55d846['idSuffix']}}:_0x1c93ef)}:_0x187400;}function _0x5dc6e6(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x42b57b[_0x29b412(0x181)]='UniverIcon';let _0x3044f3={'tag':_0x29b412(0x25e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29b412(0x34f),'viewBox':_0x29b412(0x463),'width':_0x29b412(0x457),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x29b412(0x330),'attrs':{'stroke':_0x29b412(0x2ff),'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':_0x29b412(0x29f),'strokeLinejoin':_0x29b412(0x29f),'strokeWidth':1.2}}]},{'tag':_0x29b412(0x2e7),'attrs':{},'children':[{'tag':_0x29b412(0x40e),'attrs':{'id':_0x29b412(0x3dc)},'children':[{'tag':_0x29b412(0x330),'attrs':{'fill':_0x29b412(0x2a5),'d':_0x29b412(0x2df)}}]}]}],'defIds':[_0x29b412(0x3dc)]},_0x32f60e=(0x0,_0x996045[_0x29b412(0x249)])(function(_0x4f7e7f,_0x5b8fa4){const _0x501c73=_0x29b412;return(0x0,_0x996045[_0x501c73(0x3b2)])(_0x42b57b,Object[_0x501c73(0x1cd)]({},_0x4f7e7f,{'id':'off-line-icon','ref':_0x5b8fa4,'icon':_0x3044f3}));});_0x32f60e[_0x29b412(0x181)]=_0x29b412(0x1ec);let _0x18c937={'tag':'svg','attrs':{'xmlns':_0x29b412(0x3f8),'fill':_0x29b412(0x34f),'viewBox':_0x29b412(0x2c3),'width':_0x29b412(0x457),'height':_0x29b412(0x457)},'children':[{'tag':'g','attrs':{'clipPath':_0x29b412(0x336)},'children':[{'tag':_0x29b412(0x330),'attrs':{'stroke':_0x29b412(0x2ff),'d':_0x29b412(0x1aa),'strokeLinecap':'round','strokeLinejoin':_0x29b412(0x29f),'strokeWidth':1.2}}]},{'tag':_0x29b412(0x2e7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x29b412(0x2df),'transform':'translate(.97)'}}]}]}],'defIds':[_0x29b412(0x169)]},_0x4b6f8b=(0x0,_0x996045['forwardRef'])(function(_0x29bffd,_0x571e3c){const _0x923b3a=_0x29b412;return(0x0,_0x996045['createElement'])(_0x42b57b,Object[_0x923b3a(0x1cd)]({},_0x29bffd,{'id':_0x923b3a(0x1ce),'ref':_0x571e3c,'icon':_0x18c937}));});_0x4b6f8b['displayName']=_0x29b412(0x23f);function _0x134a0c(_0x22f849){const _0x1166f0=_0x29b412;switch(_0x22f849){case _0x18e88d['CollaborationStatus'][_0x1166f0(0x1c6)]:return _0x1166f0(0x1de);case _0x18e88d[_0x1166f0(0x22f)]['CONFLICT']:return _0x1166f0(0x23a);case _0x18e88d['CollaborationStatus'][_0x1166f0(0x3eb)]:return _0x1166f0(0x3b1);case _0x18e88d[_0x1166f0(0x22f)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x18e88d[_0x1166f0(0x22f)]['AWAITING']:case _0x18e88d[_0x1166f0(0x22f)]['AWAITING_WITH_PENDING']:return _0x1166f0(0x26e);case _0x18e88d[_0x1166f0(0x22f)][_0x1166f0(0x2c2)]:case _0x18e88d['CollaborationStatus'][_0x1166f0(0x381)]:return _0x1166f0(0x17f);}}function _0x48688a(_0x304914){const _0x46b464=_0x29b412;let {status$:_0x4db24c}=_0x304914,_0x4ca7ab=(0x0,_0x163a5f['useObservable'])(_0x4db24c,_0x18e88d[_0x46b464(0x22f)][_0x46b464(0x19f)]),_0x2efa9c=(0x0,_0x163a5f[_0x46b464(0x28d)])(_0x1e96bc['LocaleService']),_0x1446ef=(0x0,_0x163a5f[_0x46b464(0x28d)])(_0x18e88d[_0x46b464(0x38e)]),_0x4989c5=_0x4ca7ab!==_0x18e88d['CollaborationStatus'][_0x46b464(0x1c6)],_0x3213e3=_0x2efa9c['t'](_0x134a0c(_0x4ca7ab)),_0x8c953b=_0x4989c5?(0x0,_0x3595c1[_0x46b464(0x289)])(_0x4b6f8b,{}):(0x0,_0x3595c1[_0x46b464(0x289)])(_0x32f60e,{}),_0x5bca74=(0x0,_0x996045[_0x46b464(0x3a8)])(()=>{_0x4989c5||_0x1446ef['reconnect']();},[_0x4989c5,_0x1446ef]);function _0x551a39(){const _0x5f256c=_0x46b464;return(0x0,_0x3595c1[_0x5f256c(0x269)])(_0x5f256c(0x1b9),{'className':'univer-flex\x20univer-items-center','onClick':_0x5bca74,'children':[(0x0,_0x3595c1[_0x5f256c(0x289)])(_0x5f256c(0x1b9),{'className':(0x0,_0x12bd8e[_0x5f256c(0x31c)])('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4989c5,'univer-text-red-500':!_0x4989c5}),'children':_0x8c953b}),(0x0,_0x3595c1['jsx'])(_0x5f256c(0x1b9),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3213e3})]});}return _0x4989c5?_0x551a39():(0x0,_0x3595c1[_0x46b464(0x289)])(_0x12bd8e[_0x46b464(0x261)],{'title':_0x2efa9c['t'](_0x46b464(0x2f3)),'children':_0x551a39()});}function _0xd5e38a(_0x4d823b){'@babel/helpers - typeof';const _0x2fbcb0=_0x29b412;return _0xd5e38a=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x2fbcb0(0x1f1)?function(_0x1376bc){return typeof _0x1376bc;}:function(_0x5daa45){const _0x3237b0=_0x2fbcb0;return _0x5daa45&&typeof Symbol==_0x3237b0(0x2f0)&&_0x5daa45['constructor']===Symbol&&_0x5daa45!==Symbol[_0x3237b0(0x153)]?_0x3237b0(0x1f1):typeof _0x5daa45;},_0xd5e38a(_0x4d823b);}function _0x597435(_0x4d913e,_0x2c742a){const _0x2c94bf=_0x29b412;if(_0xd5e38a(_0x4d913e)!=_0x2c94bf(0x30b)||!_0x4d913e)return _0x4d913e;var _0x17305c=_0x4d913e[Symbol[_0x2c94bf(0x163)]];if(_0x17305c!==void 0x0){var _0x3987dd=_0x17305c[_0x2c94bf(0x2ef)](_0x4d913e,_0x2c742a||_0x2c94bf(0x1b6));if(_0xd5e38a(_0x3987dd)!='object')return _0x3987dd;throw TypeError(_0x2c94bf(0x2b9));}return(_0x2c742a===_0x2c94bf(0x416)?String:Number)(_0x4d913e);}function _0x133709(_0x57284c){const _0x25d8ef=_0x29b412;var _0x58dc39=_0x597435(_0x57284c,_0x25d8ef(0x416));return _0xd5e38a(_0x58dc39)==_0x25d8ef(0x1f1)?_0x58dc39:_0x58dc39+'';}function _0x4878f2(_0x4f1d6b,_0x349441,_0x25b22b){return(_0x349441=_0x133709(_0x349441))in _0x4f1d6b?Object['defineProperty'](_0x4f1d6b,_0x349441,{'value':_0x25b22b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4f1d6b[_0x349441]=_0x25b22b,_0x4f1d6b;}function _0x19fee6(_0x492af7,_0x58cae9){return function(_0x246808,_0x5a3d84){_0x58cae9(_0x246808,_0x5a3d84,_0x492af7);};}function _0x1c9c51(_0x2f8532,_0x34e9d1,_0xe01564,_0x3d6bf9){const _0x4f4920=_0x29b412;var _0x2ed182=arguments['length'],_0x2a2f27=_0x2ed182<0x3?_0x34e9d1:_0x3d6bf9===null?_0x3d6bf9=Object[_0x4f4920(0x2bd)](_0x34e9d1,_0xe01564):_0x3d6bf9,_0x439dce;if(typeof Reflect==_0x4f4920(0x30b)&&typeof Reflect[_0x4f4920(0x282)]=='function')_0x2a2f27=Reflect[_0x4f4920(0x282)](_0x2f8532,_0x34e9d1,_0xe01564,_0x3d6bf9);else{for(var _0x4ae473=_0x2f8532['length']-0x1;_0x4ae473>=0x0;_0x4ae473--)(_0x439dce=_0x2f8532[_0x4ae473])&&(_0x2a2f27=(_0x2ed182<0x3?_0x439dce(_0x2a2f27):_0x2ed182>0x3?_0x439dce(_0x34e9d1,_0xe01564,_0x2a2f27):_0x439dce(_0x34e9d1,_0xe01564))||_0x2a2f27);}return _0x2ed182>0x3&&_0x2a2f27&&Object[_0x4f4920(0x45a)](_0x34e9d1,_0xe01564,_0x2a2f27),_0x2a2f27;}let _0x31d8d2=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x58757a,_0x2c32b2,_0xb84fd0,_0x445ab3){const _0x36627f=_0x29b412;super(),this[_0x36627f(0x2d1)]=_0x58757a,this[_0x36627f(0x21f)]=_0x2c32b2,this[_0x36627f(0x27e)]=_0xb84fd0,this[_0x36627f(0x171)]=_0x445ab3,_0x4878f2(this,_0x36627f(0x1f6),new _0x25f103[(_0x36627f(0x177))](_0x18e88d[_0x36627f(0x22f)][_0x36627f(0x19f)])),this[_0x36627f(0x3f0)](),this[_0x36627f(0x412)]();}[_0x29b412(0x412)](){const _0x3ce989=_0x29b412;this[_0x3ce989(0x434)](this[_0x3ce989(0x2d1)][_0x3ce989(0x2cf)][_0x3ce989(0x23c)]((0x0,_0x25f103[_0x3ce989(0x43a)])(()=>{const _0x2964b0=_0x3ce989;let _0x44f120=this[_0x2964b0(0x2d1)][_0x2964b0(0x37d)]();return _0x44f120?this['_collaborationController'][_0x2964b0(0x1b3)](_0x44f120[_0x2964b0(0x393)]()):(0x0,_0x25f103['of'])(null);}),(0x0,_0x25f103[_0x3ce989(0x43a)])(_0x2e62ce=>_0x2e62ce?_0x2e62ce[_0x3ce989(0x1fb)]:(0x0,_0x25f103['of'])(_0x18e88d['CollaborationStatus'][_0x3ce989(0x19f)])))[_0x3ce989(0x2ca)](_0x3fd373=>{const _0x5b67fa=_0x3ce989;this['_status$'][_0x5b67fa(0x1db)](_0x3fd373);}));}[_0x29b412(0x3f0)](){const _0xc7e217=_0x29b412;this[_0xc7e217(0x434)](this[_0xc7e217(0x171)]['registerComponent'](_0x163a5f[_0xc7e217(0x406)][_0xc7e217(0x40f)],()=>(0x0,_0x163a5f[_0xc7e217(0x1a1)])(_0x3d5c36({'status$':this['_status$'][_0xc7e217(0x341)]()}),this[_0xc7e217(0x21f)])));}};_0x31d8d2=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['Injector'])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x322)])),_0x19fee6(0x3,_0x163a5f['IUIPartsService'])],_0x31d8d2);function _0x3d5c36(_0x3441a8){let {status$:_0x4b973b}=_0x3441a8;return function(){const _0x110a6b=_0x1f09;return(0x0,_0x3595c1[_0x110a6b(0x289)])(_0x48688a,{'status$':_0x4b973b});};}let _0x19d706=(0x0,_0x1e96bc[_0x29b412(0x29e)])(_0x29b412(0x326)),_0x4bd713=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x4a305a,_0x5e937d,_0x5c084b,_0x2ad14f,_0x1928cd){const _0x1f10c9=_0x29b412;super(),this[_0x1f10c9(0x433)]=_0x4a305a,this[_0x1f10c9(0x3d0)]=_0x5e937d,this[_0x1f10c9(0x1e4)]=_0x5c084b,this[_0x1f10c9(0x245)]=_0x2ad14f,_0x1928cd?_0x1928cd==null||_0x1928cd['whenReady']()['then'](()=>this['_init']()):(this['_logService']['debug'](_0x1f10c9(0x43e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1f10c9(0x19b)]());}async['_init'](){const _0x15198c=_0x29b412;let _0x570d96=this[_0x15198c(0x433)][_0x15198c(0x263)]('unit'),_0x5cb7b7=this[_0x15198c(0x433)]['getParam'](_0x15198c(0x2f8)),_0x1066d0=this['_urlService'][_0x15198c(0x263)](_0x15198c(0x277));if(!_0x570d96||!_0x5cb7b7){this['_logService'][_0x15198c(0x424)](_0x15198c(0x43e),_0x15198c(0x18b));return;}let _0x2ce9da=await this['_dataLoaderService'][_0x15198c(0x3db)](_0x570d96,Number(_0x5cb7b7),_0x1066d0);_0x2ce9da&&_0x2ce9da instanceof _0x1e96bc['Workbook']&&this[_0x15198c(0x164)](_0x2ce9da);}async['_setupSubUnitSync'](_0x2ad20a){const _0x127f95=_0x29b412;await this[_0x127f95(0x252)](_0x2ad20a),_0x2ad20a['activeSheet$'][_0x127f95(0x23c)]((0x0,_0x25f103[_0x127f95(0x3c7)])(this[_0x127f95(0x165)]))[_0x127f95(0x2ca)](_0x7dae9c=>{const _0x5433d9=_0x127f95;_0x7dae9c&&this[_0x5433d9(0x211)](_0x7dae9c);}),this[_0x127f95(0x433)]['urlChange$'][_0x127f95(0x23c)]((0x0,_0x25f103['takeUntil'])(this['dispose$']))[_0x127f95(0x2ca)](()=>this[_0x127f95(0x252)](_0x2ad20a));}[_0x29b412(0x211)](_0x415db7,_0x11e44c=!0x1){const _0x1f80b0=_0x29b412;let _0x599b2a=this[_0x1f80b0(0x433)]['getParam'](_0x1f80b0(0x277));_0x415db7[_0x1f80b0(0x2a2)]()!==_0x599b2a&&this[_0x1f80b0(0x433)]['setParam'](_0x1f80b0(0x277),_0x415db7[_0x1f80b0(0x2a2)](),_0x11e44c);}async['_updateSubUnitFromURLParams'](_0xa30344){const _0x1c5e83=_0x29b412;var _0x22e396;let _0x302177=this['_urlService'][_0x1c5e83(0x263)](_0x1c5e83(0x277));if(!_0x302177||!_0xa30344[_0x1c5e83(0x354)](_0x302177)){let _0x7c0966=_0xa30344[_0x1c5e83(0x39f)]()[0x0],_0x25917b=_0xa30344[_0x1c5e83(0x354)](_0x7c0966);if(!_0x25917b)return;this[_0x1c5e83(0x211)](_0x25917b,!0x0),await this['_commandService'][_0x1c5e83(0x358)](_0x3a9a8f['SetWorksheetActivateCommand']['id'],{'unitId':_0xa30344[_0x1c5e83(0x393)](),'subUnitId':_0x7c0966});return;}((_0x22e396=_0xa30344['getActiveSheet']())==null?void 0x0:_0x22e396[_0x1c5e83(0x2a2)]())!==_0x302177&&await this[_0x1c5e83(0x1e4)][_0x1c5e83(0x358)](_0x3a9a8f[_0x1c5e83(0x348)]['id'],{'unitId':_0xa30344[_0x1c5e83(0x393)](),'subUnitId':_0x302177});}};_0x4bd713=_0x1c9c51([_0x19fee6(0x0,_0x19d706),_0x19fee6(0x1,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['DataLoaderService'])),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x20b)])(_0xba6498[_0x29b412(0x238)]))],_0x4bd713);var _0x3a7710=_0x29b412(0x1bd),_0x4df1c3=_0x29b412(0x2ce);let _0x3048a8=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x547f9e,_0x4c537b){const _0x1b6937=_0x29b412;super(),this[_0x1b6937(0x1b5)]=_0x547f9e,this[_0x1b6937(0x338)]=_0x4c537b,this[_0x1b6937(0x19b)]();}[_0x29b412(0x19b)](){const _0x28dfcf=_0x29b412;let _0x393f53=this;this['disposeWithMe'](this[_0x28dfcf(0x1b5)][_0x28dfcf(0x421)]({'onBeforePasteImage':async _0x4babcf=>{const _0x2e9763=_0x28dfcf;let _0x50d80=await _0x393f53[_0x2e9763(0x338)][_0x2e9763(0x40d)](_0x4babcf);return _0x50d80?{'source':_0x50d80[_0x2e9763(0x25f)],'imageSourceType':_0x50d80[_0x2e9763(0x295)]}:null;}}));}};_0x3048a8=_0x1c9c51([_0x19fee6(0x0,_0xe88835[_0x29b412(0x2ad)]),_0x19fee6(0x1,_0x42b430[_0x29b412(0x28b)])],_0x3048a8);let _0x519b19=['purple.300',_0x29b412(0x432),_0x29b412(0x2b4),_0x29b412(0x370),_0x29b412(0x2f7),'yellow.400'];var _0x447e19=class extends _0x1e96bc['Disposable']{constructor(..._0x29c9c1){const _0x586830=_0x29b412;super(..._0x29c9c1),_0x4878f2(this,_0x586830(0x2a9),new Map()),_0x4878f2(this,_0x586830(0x335),0x0);}[_0x29b412(0x2fc)](_0x4aa21f){const _0x12cbf3=_0x29b412;if(this['_assignedColors'][_0x12cbf3(0x411)](_0x4aa21f))return this['_assignedColors'][_0x12cbf3(0x17b)](_0x4aa21f);let _0x406318=_0x519b19[this[_0x12cbf3(0x335)]];return this[_0x12cbf3(0x335)]=(this[_0x12cbf3(0x335)]+0x1)%_0x519b19[_0x12cbf3(0x1b7)],this['_assignedColors'][_0x12cbf3(0x1dc)](_0x4aa21f,_0x406318),_0x406318;}},_0x4212b1=function(_0x5ece7e){const _0x49646b=_0x29b412;return _0x5ece7e[_0x49646b(0x331)]='1',_0x5ece7e['Inactive']='0',_0x5ece7e;}(_0x4212b1||{});function _0x4ca010(_0x1111e3){const _0x1f8534=_0x29b412;let _0x50ceab='';for(let _0x2f5260 of _0x1111e3){let {startOffset:_0x21c1c7,endOffset:_0x33e3ed,isActive:_0x16d4c7,rangeType:_0xb85fd4,segmentId:_0x3d7370,segmentPage:_0x435cf8}=_0x2f5260;_0x50ceab['length']&&(_0x50ceab+=','),_0x50ceab+=_0x21c1c7+':'+_0x33e3ed+':'+(_0x16d4c7?_0x4212b1[_0x1f8534(0x331)]:_0x4212b1[_0x1f8534(0x3d9)])+':'+_0xb85fd4+':'+_0x3d7370+':'+_0x435cf8;}return _0x50ceab;}function _0x20a36d(_0x41c6fe){const _0x5ca588=_0x29b412;let _0x1277f2=_0x41c6fe[_0x5ca588(0x1d7)](','),_0x26abd4=[];for(let _0x402835 of _0x1277f2){let [_0x1fbce1,_0x43db11,_0x139e96,_0x32988f,_0x31d5a0,_0x66275a]=_0x402835[_0x5ca588(0x1d7)](':');_0x26abd4[_0x5ca588(0x3ec)]({'startOffset':Number(_0x1fbce1),'endOffset':Number(_0x43db11),'collapsed':_0x1fbce1===_0x43db11,'isActive':_0x139e96===_0x4212b1[_0x5ca588(0x331)],'rangeType':_0x32988f===_0x1e96bc[_0x5ca588(0x155)][_0x5ca588(0x319)]?_0x1e96bc[_0x5ca588(0x155)]['TEXT']:_0x1e96bc['DOC_RANGE_TYPE'][_0x5ca588(0x45d)],'segmentId':typeof _0x31d5a0=='string'?String(_0x31d5a0):'','segmentPage':Number(_0x66275a==null?-0x1:_0x66275a)});}return _0x26abd4[_0x5ca588(0x409)](_0x4d575a=>_0x4d575a['isActive'])||(_0x26abd4[0x0][_0x5ca588(0x43c)]=!0x0),_0x26abd4;}var _0x54c1c7=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(..._0x55e6ef){const _0x48ccf9=_0x29b412;super(..._0x55e6ef),_0x4878f2(this,_0x48ccf9(0x351),new _0x25f103[(_0x48ccf9(0x177))](null)),_0x4878f2(this,'collabCursorState$',this[_0x48ccf9(0x351)][_0x48ccf9(0x341)]());}[_0x29b412(0x30e)](_0xb7fc09){const _0x527215=_0x29b412;let {unitID:_0x76d712,memberID:_0x30538b,textRanges:_0x29296d}=_0xb7fc09,_0x373399=_0x4ca010(_0x29296d);if(_0x373399==='')return;let _0x33ba1d={'unitID':_0x76d712,'memberID':_0x30538b,'selection':_0x373399};this[_0x527215(0x351)][_0x527215(0x1db)](_0x33ba1d);}};let _0x83701a=class extends _0x1e96bc[_0x29b412(0x267)]{get[_0x29b412(0x22e)](){const _0x1fc8cd=_0x29b412;return this[_0x1fc8cd(0x226)][_0x1fc8cd(0x27d)]();}get[_0x29b412(0x304)](){return this['_roomMembers$']['getValue']();}constructor(_0x83a06f,_0x5431ba,_0x7d2cde,_0x257c31,_0x388183,_0x34c527,_0x36e93e,_0x2a4cd8,_0x4906ac){const _0x1c8dfe=_0x29b412;super(),this[_0x1c8dfe(0x180)]=_0x83a06f,this[_0x1c8dfe(0x16b)]=_0x5431ba,this[_0x1c8dfe(0x21f)]=_0x7d2cde,this[_0x1c8dfe(0x21d)]=_0x257c31,this[_0x1c8dfe(0x1a6)]=_0x388183,this[_0x1c8dfe(0x3c6)]=_0x34c527,this[_0x1c8dfe(0x446)]=_0x36e93e,this[_0x1c8dfe(0x2d1)]=_0x2a4cd8,this[_0x1c8dfe(0x1e4)]=_0x4906ac,_0x4878f2(this,'_online',!0x1),_0x4878f2(this,_0x1c8dfe(0x19b),!0x1),_0x4878f2(this,'_cursorInfo$',new _0x25f103[(_0x1c8dfe(0x177))](new Map())),_0x4878f2(this,_0x1c8dfe(0x309),this['_cursorInfo$'][_0x1c8dfe(0x341)]()),_0x4878f2(this,_0x1c8dfe(0x1b4),new _0x25f103['BehaviorSubject']([])),_0x4878f2(this,_0x1c8dfe(0x1e5),this[_0x1c8dfe(0x1b4)][_0x1c8dfe(0x23c)]((0x0,_0x25f103[_0x1c8dfe(0x213)])(0x12c))),_0x4878f2(this,_0x1c8dfe(0x3bf),(0x0,_0x1e96bc[_0x1c8dfe(0x20e)])(_0x3f488b=>{const _0x2faa7c=_0x1c8dfe;let _0x799354={'eventID':_0x55fb1d[_0x2faa7c(0x1f3)][_0x2faa7c(0x2e0)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x4ca010(_0x3f488b)}};this[_0x2faa7c(0x16b)][_0x2faa7c(0x3e8)](_0x799354,this['unitID']);},0x64));}[_0x29b412(0x1e7)](){const _0x5760fb=_0x29b412;super['dispose'](),this[_0x5760fb(0x226)][_0x5760fb(0x1db)](new Map()),this[_0x5760fb(0x226)][_0x5760fb(0x444)](),this[_0x5760fb(0x1b4)][_0x5760fb(0x1db)]([]),this[_0x5760fb(0x1b4)]['complete']();}[_0x29b412(0x37a)](){const _0x212d30=_0x29b412;this[_0x212d30(0x19b)]||(this['_init']=!0x0,this['_session'][_0x212d30(0x2bc)][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this[_0x212d30(0x165)]))['subscribe'](_0x463949=>{const _0x3aba3a=_0x212d30;_0x463949===_0x18e88d[_0x3aba3a(0x1f7)][_0x3aba3a(0x314)]?this[_0x3aba3a(0x3a4)]():this[_0x3aba3a(0x1af)]();}),this[_0x212d30(0x16b)][_0x212d30(0x420)][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this[_0x212d30(0x165)]))[_0x212d30(0x2ca)](_0x4f0df9=>{const _0x3bdad8=_0x212d30;let _0x490f79=_0x4f0df9[_0x3bdad8(0x34e)];_0x490f79===_0x55fb1d[_0x3bdad8(0x1f3)]['UPDATE_CURSOR']&&this[_0x3bdad8(0x32a)](_0x4f0df9),_0x490f79===_0x55fb1d[_0x3bdad8(0x1f3)][_0x3bdad8(0x1b1)]&&this['_onCursorDelete'](_0x4f0df9);}),this[_0x212d30(0x434)](this['_commandService'][_0x212d30(0x2d9)](_0x5c76f7=>{const _0x2328c2=_0x212d30;let _0x194148=_0x5c76f7[_0x2328c2(0x431)];_0x194148!=null&&this['_online']&&_0x5c76f7['id']===_0x3aacdf[_0x2328c2(0x3c2)]['id']&&_0x194148['unitId']===this[_0x2328c2(0x180)]&&_0x194148[_0x2328c2(0x349)]===!0x1&&_0x194148[_0x2328c2(0x1ba)][_0x2328c2(0x1b7)]>0x0&&this['_updateLocalCursor'](_0x194148[_0x2328c2(0x1ba)]);})),this[_0x212d30(0x3c6)]['collabCursorState$'][_0x212d30(0x23c)]((0x0,_0x25f103[_0x212d30(0x3c7)])(this['dispose$']))[_0x212d30(0x2ca)](_0x2b25c9=>{const _0x36581b=_0x212d30;if((_0x2b25c9==null?void 0x0:_0x2b25c9[_0x36581b(0x180)])!==this[_0x36581b(0x180)])return;let _0x38ce3e={'eventID':_0x55fb1d[_0x36581b(0x1f3)][_0x36581b(0x2e0)],'data':_0x2b25c9};this[_0x36581b(0x32a)](_0x38ce3e);}),this[_0x212d30(0x434)](this[_0x212d30(0x1e4)][_0x212d30(0x2d9)](_0x35bcc8=>{const _0x414993=_0x212d30;if(_0x35bcc8[_0x414993(0x431)]==null)return;let _0x1ad72c=_0x35bcc8[_0x414993(0x431)];if(_0x35bcc8['id']!==_0x3aacdf[_0x414993(0x405)]['id']||_0x1ad72c[_0x414993(0x378)]!==this[_0x414993(0x180)])return;let _0x14e0af={'id':_0x414993(0x3ac),'params':_0x1ad72c},_0x42f0d8=this[_0x414993(0x22e)];for(let [_0x4a575e,_0x1ae761]of _0x42f0d8){let _0x1d949a={'id':_0x414993(0x3ac),'params':{'unitId':this[_0x414993(0x180)],'actions':null,'textRanges':_0x1ae761[_0x414993(0x1ba)]}},_0x1b25d0=this['_transformService']['transformMutation'](_0x14e0af,_0x1d949a,!0x1);if((0x0,_0x55fb1d[_0x414993(0x2ea)])(_0x1b25d0))throw _0x1b25d0[_0x414993(0x1cf)];_0x42f0d8[_0x414993(0x1dc)](_0x4a575e,{..._0x1ae761,'ranges':_0x1b25d0[_0x414993(0x447)]['params']['textRanges']});}queueMicrotask(()=>{const _0x275327=_0x414993;this[_0x275327(0x226)][_0x275327(0x1db)](_0x42f0d8);});})));}[_0x29b412(0x32a)](_0x4acaf7){const _0x380687=_0x29b412;var _0x444814,_0x575190;let {memberID:_0x5b0ec4,selection:_0x1e2b79}=_0x4acaf7[_0x380687(0x2c4)],_0x384f6b=_0x20a36d(_0x1e2b79),_0x2ddeff=(_0x444814=(_0x575190=this[_0x380687(0x1a6)][_0x380687(0x301)](this[_0x380687(0x180)],_0x5b0ec4))==null?void 0x0:_0x575190[_0x380687(0x298)])==null?_0x380687(0x357):_0x444814,_0x5f3a4f={'color':this[_0x380687(0x21d)]['assignAColorForMemberID'](_0x5b0ec4),'name':_0x2ddeff,'ranges':_0x384f6b},_0x424858=this['cursorInfo'];_0x424858[_0x380687(0x1dc)](_0x5b0ec4,_0x5f3a4f),this['_cursorInfo$']['next'](_0x424858);}[_0x29b412(0x179)](_0xe98497){const _0x520f77=_0x29b412;let {memberID:_0x16e383}=_0xe98497[_0x520f77(0x2c4)],_0x77a7c0=this[_0x520f77(0x22e)];_0x77a7c0[_0x520f77(0x24d)](_0x16e383),this['_cursorInfo$']['next'](_0x77a7c0);}[_0x29b412(0x3a4)](){const _0x1a4ea9=_0x29b412;var _0xf3315f;if(this[_0x1a4ea9(0x223)]=!0x0,((_0xf3315f=this[_0x1a4ea9(0x2d1)]['getFocusedUnit']())==null?void 0x0:_0xf3315f['getUnitId']())!==this[_0x1a4ea9(0x180)])return;let _0x109861=this['_injector'][_0x1a4ea9(0x17b)](_0x3aacdf[_0x1a4ea9(0x3d8)])[_0x1a4ea9(0x45c)]();Array['isArray'](_0x109861)&&_0x109861[_0x1a4ea9(0x1b7)]>0x0&&this[_0x1a4ea9(0x3bf)](_0x109861);}[_0x29b412(0x1af)](){const _0x35f742=_0x29b412;this[_0x35f742(0x223)]=!0x1;}};_0x83701a=_0x1c9c51([_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x447e19)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x2b0)])),_0x19fee6(0x5,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x54c1c7)),_0x19fee6(0x6,_0x55fb1d[_0x29b412(0x42a)]),_0x19fee6(0x7,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x8,_0x1e96bc[_0x29b412(0x42c)])],_0x83701a);let _0x37f6df=()=>{let _0x2123ba=[],_0x5a963d=!0x1;return _0x948fef=>{_0x2123ba['push'](_0x948fef),_0x5a963d||(_0x5a963d=!0x0,setTimeout(()=>{const _0x3a3ab0=_0x1f09;_0x2123ba[_0x3a3ab0(0x312)](_0x304be9=>_0x304be9()),_0x2123ba=[],_0x5a963d=!0x1;}));};},_0x4853dd=class extends _0x1e96bc[_0x29b412(0x267)]{get[_0x29b412(0x22e)](){const _0x4e0b6a=_0x29b412;return this[_0x4e0b6a(0x226)]['getValue']();}get[_0x29b412(0x304)](){const _0x558420=_0x29b412;return this[_0x558420(0x1b4)]['getValue']();}constructor(_0x165d4e,_0x459e5b,_0x3c577b,_0x520e0e,_0x53ab57,_0x3be1ea,_0x3382d7,_0x5d3512){const _0x3be063=_0x29b412;super(),this['unitID']=_0x165d4e,this[_0x3be063(0x16b)]=_0x459e5b,this[_0x3be063(0x21f)]=_0x3c577b,this['_colorAssignService']=_0x520e0e,this[_0x3be063(0x1a6)]=_0x53ab57,this[_0x3be063(0x2d1)]=_0x3be1ea,this['_commandService']=_0x3382d7,this[_0x3be063(0x251)]=_0x5d3512,_0x4878f2(this,_0x3be063(0x223),!0x1),_0x4878f2(this,'_init',!0x1),_0x4878f2(this,'_cursorInfo$',new _0x25f103[(_0x3be063(0x177))](new Map())),_0x4878f2(this,_0x3be063(0x309),this['_cursorInfo$']['asObservable']()),_0x4878f2(this,_0x3be063(0x1b4),new _0x25f103[(_0x3be063(0x177))]([])),_0x4878f2(this,_0x3be063(0x1e5),this[_0x3be063(0x1b4)][_0x3be063(0x23c)]((0x0,_0x25f103['debounceTime'])(0x12c))),_0x4878f2(this,_0x3be063(0x3bf),(0x0,_0x1e96bc[_0x3be063(0x20e)])((_0x458b64,_0x172515)=>{const _0x58d36b=_0x3be063;let _0x26badc={'eventID':_0x55fb1d[_0x58d36b(0x1f3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x58d36b(0x180)],'memberID':this[_0x58d36b(0x16b)][_0x58d36b(0x352)](),'selection':(0x0,_0x3b565c[_0x58d36b(0x419)])(_0x458b64,_0x172515['range'])}};this['_session'][_0x58d36b(0x3e8)](_0x26badc,this[_0x58d36b(0x180)]);},0x64));}[_0x29b412(0x1e7)](){const _0x5c77f2=_0x29b412;super['dispose'](),this[_0x5c77f2(0x226)]['next'](new Map()),this[_0x5c77f2(0x226)][_0x5c77f2(0x444)](),this[_0x5c77f2(0x1b4)]['next']([]),this['_roomMembers$'][_0x5c77f2(0x444)]();}[_0x29b412(0x37a)](){const _0x449b33=_0x29b412;this['_init']||(this[_0x449b33(0x19b)]=!0x0,this['_session'][_0x449b33(0x2bc)][_0x449b33(0x23c)]((0x0,_0x25f103[_0x449b33(0x3c7)])(this[_0x449b33(0x165)]))[_0x449b33(0x2ca)](_0x10a028=>{const _0x56d92c=_0x449b33;_0x10a028===_0x18e88d[_0x56d92c(0x1f7)][_0x56d92c(0x314)]?this['_toggleOnline']():this[_0x56d92c(0x1af)]();}),this['_session'][_0x449b33(0x420)][_0x449b33(0x23c)]((0x0,_0x25f103[_0x449b33(0x3c7)])(this[_0x449b33(0x165)]))['subscribe'](_0x5d77b2=>{const _0xd57e6f=_0x449b33;let _0x746d14=_0x5d77b2['eventID'];_0x746d14===_0x55fb1d['CollaborationEvent'][_0xd57e6f(0x2e0)]&&this[_0xd57e6f(0x32a)](_0x5d77b2),_0x746d14===_0x55fb1d['CollaborationEvent'][_0xd57e6f(0x1b1)]&&this[_0xd57e6f(0x179)](_0x5d77b2);}),this['_onRefRangeChange'](),this[_0x449b33(0x434)](this[_0x449b33(0x1e4)][_0x449b33(0x2d9)](_0x3f9fdd=>{const _0x4b0058=_0x449b33;if(this[_0x4b0058(0x223)]&&_0x3f9fdd['id']===_0x3a9a8f[_0x4b0058(0x1be)]['id']&&_0x3f9fdd[_0x4b0058(0x431)][_0x4b0058(0x378)]===this['unitID']){let _0x154280=_0x3f9fdd[_0x4b0058(0x431)];this[_0x4b0058(0x3bf)](_0x154280[_0x4b0058(0x2ee)],_0x154280[_0x4b0058(0x1ae)][0x0]);}})));}[_0x29b412(0x32a)](_0x263fe8){const _0x5cbd3f=_0x29b412;var _0x324624,_0x788b3a;let {memberID:_0xbb81b9,selection:_0x43d407}=_0x263fe8[_0x5cbd3f(0x2c4)],{sheetName:_0x334063,range:_0x35ce05}=(0x0,_0x3b565c['deserializeRangeWithSheet'])(_0x43d407),_0x1cce6b={'name':(_0x324624=(_0x788b3a=this['_memberService'][_0x5cbd3f(0x301)](this[_0x5cbd3f(0x180)],_0xbb81b9))==null?void 0x0:_0x788b3a[_0x5cbd3f(0x298)])==null?_0x5cbd3f(0x357):_0x324624,'range':this[_0x5cbd3f(0x408)](_0x334063,_0x35ce05),'sheetID':_0x334063,'color':this[_0x5cbd3f(0x21d)][_0x5cbd3f(0x2fc)](_0xbb81b9),'selection':_0x43d407},_0xffb35f=this[_0x5cbd3f(0x22e)];_0xffb35f[_0x5cbd3f(0x1dc)](_0xbb81b9,_0x1cce6b),this[_0x5cbd3f(0x226)][_0x5cbd3f(0x1db)](_0xffb35f);}[_0x29b412(0x179)](_0x5e53aa){const _0x2fe577=_0x29b412;let {memberID:_0x2d99d7}=_0x5e53aa[_0x2fe577(0x2c4)],_0x20d45d=this[_0x2fe577(0x22e)];_0x20d45d['delete'](_0x2d99d7),this[_0x2fe577(0x226)]['next'](_0x20d45d);}['_getMergeRange'](_0x343c17,_0x567cf4){const _0x322e73=_0x29b412;var _0x1647a2;let _0xa9057d=(_0x1647a2=this[_0x322e73(0x2d1)][_0x322e73(0x29d)](this['unitID']))==null||(_0x1647a2=_0x1647a2[_0x322e73(0x354)](_0x343c17))==null?void 0x0:_0x1647a2[_0x322e73(0x279)]();return(_0xa9057d==null?void 0x0:_0xa9057d['find'](_0x4e5c5a=>_0x1e96bc['Rectangle'][_0x322e73(0x1b0)](_0x4e5c5a,_0x567cf4)))||_0x567cf4;}[_0x29b412(0x2dd)](){const _0x34a47b=_0x29b412;let _0x47f365=new _0x1e96bc[(_0x34a47b(0x394))](),_0x29e4e1=_0x37f6df(),_0x5b578f=()=>{const _0x56e03d=_0x34a47b;_0x47f365[_0x56e03d(0x1e7)]();let _0x139a46=(_0x2d8cf4,_0x4c6b97,_0x392777,_0x1437d1)=>{const _0x3b115c=_0x56e03d;let _0x4615da=[];switch(_0x2d8cf4['id']){case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x187)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x1f8)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x3ad)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x272)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)]['InsertColCommandId']:_0x4615da=(0x0,_0x3a9a8f['handleInsertCol'])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x1df)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x3fc)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x221)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x454)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f[_0x3b115c(0x345)][_0x3b115c(0x355)]:_0x4615da=(0x0,_0x3a9a8f['handleInsertRow'])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId']['MoveRangeCommandId']:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x3e6)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId']['RemoveColCommandId']:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x293)])(_0x2d8cf4,_0x1437d1);break;case _0x3a9a8f['EffectRefRangId'][_0x3b115c(0x1a0)]:_0x4615da=(0x0,_0x3a9a8f[_0x3b115c(0x17e)])(_0x2d8cf4,_0x1437d1);break;}let _0x239f5e=(0x0,_0x3a9a8f[_0x3b115c(0x386)])(_0x4615da,_0x1437d1),_0x199f5d=this['cursorInfo'][_0x3b115c(0x17b)](_0x4c6b97);if(_0x199f5d&&_0x239f5e){let _0x244272={..._0x199f5d,'range':_0x239f5e};this[_0x3b115c(0x22e)][_0x3b115c(0x1dc)](_0x4c6b97,_0x244272),_0x29e4e1(()=>{const _0x5749f0=_0x3b115c;let _0x5660ca=this[_0x5749f0(0x251)][_0x5749f0(0x27b)](_0x239f5e,_0x2cb5a9=>(_0x5660ca[_0x5749f0(0x1e7)](),_0x139a46(_0x2cb5a9,_0x4c6b97,_0x392777,_0x239f5e)));_0x47f365[_0x5749f0(0x20c)](_0x5660ca);});}return{'redos':[],'undos':[]};};this[_0x56e03d(0x22e)][_0x56e03d(0x312)]((_0x4a53d8,_0xa50d9e)=>{const _0x19c4db=_0x56e03d;let {range:_0x1f1108,sheetID:_0x19e370}=_0x4a53d8,_0x45b800=this['_refRangeService']['registerRefRange'](_0x1f1108,_0x459dec=>(_0x45b800[_0x19c4db(0x1e7)](),_0x139a46(_0x459dec,_0xa50d9e,_0x19e370,_0x1f1108)));_0x47f365['add'](_0x45b800);});};this['disposeWithMe']((0x0,_0x1e96bc['toDisposable'])(this[_0x34a47b(0x226)][_0x34a47b(0x2ca)](()=>{_0x5b578f();})));}['_toggleOnline'](){const _0x1fb496=_0x29b412;var _0x23175d,_0x136c47;if(this[_0x1fb496(0x223)]=!0x0,((_0x23175d=this[_0x1fb496(0x2d1)][_0x1fb496(0x37d)]())==null?void 0x0:_0x23175d[_0x1fb496(0x393)]())!==this[_0x1fb496(0x180)])return;let _0x2f4b26=(_0x136c47=this['_injector']['get'](_0x3a9a8f[_0x1fb496(0x3e7)])[_0x1fb496(0x23e)]())==null?void 0x0:_0x136c47[0x0],_0x3fa803=this[_0x1fb496(0x2d1)][_0x1fb496(0x38b)](_0x1e96bc[_0x1fb496(0x20d)]['UNIVER_SHEET'])['getActiveSheet']();_0x2f4b26&&_0x3fa803&&this['_updateLocalCursor'](_0x3fa803[_0x1fb496(0x2a2)](),_0x2f4b26);}[_0x29b412(0x1af)](){const _0x769354=_0x29b412;this[_0x769354(0x223)]=!0x1;}};_0x4853dd=_0x1c9c51([_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x447e19)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['MemberService'])),_0x19fee6(0x5,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x6,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x7,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x3a9a8f[_0x29b412(0x40c)]))],_0x4853dd);let _0x396377=class extends _0x1e96bc['RxDisposable']{constructor(_0x28bbc0,_0x223af9,_0x338f39){const _0x319d75=_0x29b412;super(),this['_univerInstanceService']=_0x28bbc0,this[_0x319d75(0x21f)]=_0x223af9,this[_0x319d75(0x281)]=_0x338f39,_0x4878f2(this,_0x319d75(0x1a9),new Map()),_0x4878f2(this,'_entityInit$',new _0x25f103[(_0x319d75(0x321))]()),this[_0x319d75(0x19b)]();}[_0x29b412(0x1e7)](){const _0x4c88b4=_0x29b412;super[_0x4c88b4(0x1e7)](),this[_0x4c88b4(0x3d7)][_0x4c88b4(0x444)](),this[_0x4c88b4(0x1a9)][_0x4c88b4(0x312)](_0x2114f0=>_0x2114f0[_0x4c88b4(0x1e7)]());}[_0x29b412(0x197)](_0x53cc1c){const _0x310827=_0x29b412;return this['_entities'][_0x310827(0x411)](_0x53cc1c)?this['_entities'][_0x310827(0x17b)](_0x53cc1c)[_0x310827(0x309)]:this['_entityInit$'][_0x310827(0x23c)]((0x0,_0x25f103[_0x310827(0x442)])(_0xcb81da=>_0xcb81da['unitID']===_0x53cc1c),(0x0,_0x25f103[_0x310827(0x43a)])(_0x2f40fa=>_0x2f40fa[_0x310827(0x309)]));}['_init'](){const _0x20bb1a=_0x29b412;this[_0x20bb1a(0x2d1)][_0x20bb1a(0x465)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x3b4)])[_0x20bb1a(0x23c)]((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x2ca)](async _0x495a51=>{const _0x227328=_0x20bb1a;let _0x16fb0a=_0x495a51['getUnitId'](),_0xc90972=await this[_0x227328(0x429)](_0x16fb0a);this[_0x227328(0x3d7)][_0x227328(0x1db)](_0xc90972),this[_0x227328(0x1a9)]['set'](_0x16fb0a,_0xc90972);}),this['_univerInstanceService'][_0x20bb1a(0x465)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x1dd)])['pipe']((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x23c)]((0x0,_0x25f103[_0x20bb1a(0x442)])(_0x3cd117=>!_0x3cd117[_0x20bb1a(0x393)]()[_0x20bb1a(0x220)]('__')))[_0x20bb1a(0x2ca)](async _0x4dbc92=>{const _0x23e5f7=_0x20bb1a;let _0x1890fa=_0x4dbc92[_0x23e5f7(0x393)](),_0x4a5f49=await this['_startDocCollabCursor'](_0x1890fa);this[_0x23e5f7(0x3d7)]['next'](_0x4a5f49),this[_0x23e5f7(0x1a9)][_0x23e5f7(0x1dc)](_0x1890fa,_0x4a5f49);}),(0x0,_0x25f103[_0x20bb1a(0x371)])(this[_0x20bb1a(0x2d1)][_0x20bb1a(0x31f)](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x1dd)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1e96bc[_0x20bb1a(0x20d)][_0x20bb1a(0x3b4)]))['pipe']((0x0,_0x25f103[_0x20bb1a(0x3c7)])(this[_0x20bb1a(0x165)]))[_0x20bb1a(0x2ca)](_0x58567f=>{const _0x454037=_0x20bb1a;let _0x3e07f6=_0x58567f[_0x454037(0x393)](),_0x16c8aa=this[_0x454037(0x1a9)][_0x454037(0x17b)](_0x3e07f6);_0x16c8aa&&(_0x16c8aa[_0x454037(0x1e7)](),this[_0x454037(0x1a9)][_0x454037(0x24d)](_0x3e07f6));});}async['_startSheetCollabCursor'](_0xe7b3f2){const _0x52c21f=_0x29b412;let _0x2c9104=await this['_collabSessionService'][_0x52c21f(0x24c)](_0xe7b3f2),_0x33b542=this['_injector'][_0x52c21f(0x18c)](_0x4853dd,_0xe7b3f2,_0x2c9104);return _0x33b542[_0x52c21f(0x37a)](),_0x33b542;}async['_startDocCollabCursor'](_0x5bef0f){const _0x1d55dd=_0x29b412;let _0x243a4f=await this[_0x1d55dd(0x281)]['requireSession'](_0x5bef0f),_0xf24d7e=this['_injector']['createInstance'](_0x83701a,_0x5bef0f,_0x243a4f);return _0xf24d7e['init'](),_0xf24d7e;}};_0x396377=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d[_0x29b412(0x38e)]))],_0x396377);function _0x3e4eef(_0x3979ec,_0x47d0d9){const _0x3ac713=_0x29b412;var _0x41ecee,_0x3603c4,_0x49386a;let {radius:_0x2eec1a,width:_0x2fe56b,height:_0x976f02}=_0x47d0d9;_0x2eec1a=(_0x41ecee=_0x2eec1a)==null?0x0:_0x41ecee,_0x2fe56b=(_0x3603c4=_0x2fe56b)==null?0x1e:_0x3603c4,_0x976f02=(_0x49386a=_0x976f02)==null?0x1e:_0x49386a;let _0x384575=0x0,_0x411d1a=0x0,_0x115917=0x0;_0x384575=_0x411d1a=_0x115917=Math[_0x3ac713(0x356)](_0x2eec1a,_0x2fe56b/0x2,_0x976f02/0x2),_0x3979ec['beginPath'](),_0x3979ec[_0x3ac713(0x449)](_0x384575,0x0),_0x3979ec['lineTo'](_0x2fe56b-_0x411d1a,0x0),_0x3979ec['arc'](_0x2fe56b-_0x411d1a,_0x411d1a,_0x411d1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x3979ec[_0x3ac713(0x1ca)](_0x2fe56b,_0x976f02-_0x115917),_0x3979ec[_0x3ac713(0x3b7)](_0x2fe56b-_0x115917,_0x976f02-_0x115917,_0x115917,0x0,Math['PI']/0x2,!0x1),_0x3979ec[_0x3ac713(0x1ca)](0x0,_0x976f02),_0x3979ec[_0x3ac713(0x1ca)](0x0,_0x384575),_0x3979ec[_0x3ac713(0x3b7)](_0x384575,_0x384575,_0x384575,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3979ec['closePath'](),_0x47d0d9[_0x3ac713(0x2e6)]&&(_0x3979ec[_0x3ac713(0x166)](),_0x3979ec[_0x3ac713(0x323)]=_0x47d0d9[_0x3ac713(0x2e6)],_0x47d0d9[_0x3ac713(0x344)]==='evenodd'?_0x3979ec[_0x3ac713(0x2e6)](_0x3ac713(0x1a2)):_0x3979ec['fill'](),_0x3979ec[_0x3ac713(0x3c1)]());}var _0x3fff7c=class _0x4eb704 extends _0x42ac73[_0x29b412(0x3ef)]{constructor(_0x4dc50e,_0x48dfaf){const _0x5c208b=_0x29b412;super(_0x4dc50e,_0x48dfaf),_0x4878f2(this,_0x5c208b(0x44c),void 0x0),_0x4878f2(this,_0x5c208b(0x15d),void 0x0),this['color']=_0x48dfaf==null?void 0x0:_0x48dfaf[_0x5c208b(0x44c)],this['text']=_0x48dfaf==null?void 0x0:_0x48dfaf[_0x5c208b(0x15d)];}static[_0x29b412(0x190)](_0x4799f7,_0x251588){const _0x375acb=_0x29b412;let {text:_0xe81eee,color:_0x30ab73}=_0x251588;_0x4799f7['save'](),_0x4799f7[_0x375acb(0x1d4)]=_0x375acb(0x160);let _0x3023f4=_0x4799f7[_0x375acb(0x26a)](_0xe81eee)[_0x375acb(0x2ae)];if(_0x3e4eef(_0x4799f7,{'height':0x14,'radius':0x4,'width':Math['min'](_0x3023f4+0x8,0xc8),'fill':_0x30ab73,'evented':!0x1}),_0x4799f7['fillStyle']=_0x375acb(0x36e),_0x3023f4>0xc0){let _0x189adf='',_0x165d8b=0x0;for(let _0x36718d of _0xe81eee){let _0xd27561=_0x4799f7[_0x375acb(0x26a)](_0x36718d)[_0x375acb(0x2ae)];if(_0x165d8b+_0xd27561<=0xc0-_0x4799f7['measureText']('...')[_0x375acb(0x2ae)])_0x189adf+=_0x36718d,_0x165d8b+=_0xd27561;else{_0x189adf+=_0x375acb(0x33e);break;}}_0x4799f7[_0x375acb(0x2de)](_0x189adf,0x4,0xf);}else _0x4799f7[_0x375acb(0x2de)](_0xe81eee,0x4,0xf);_0x4799f7[_0x375acb(0x3c1)]();}['_draw'](_0x32b5e2){const _0x2d67d0=_0x29b412;_0x4eb704[_0x2d67d0(0x190)](_0x32b5e2,this);}};let _0x5ae368='collab-text-anchor-';var _0x3c104f=class{constructor(_0x3c0d9b,_0x57a231,_0xc65beb,_0x31e0d2){const _0x13007f=_0x29b412;this[_0x13007f(0x339)]=_0x3c0d9b,this[_0x13007f(0x285)]=_0x57a231,this[_0x13007f(0x188)]=_0xc65beb,this[_0x13007f(0x401)]=_0x31e0d2,_0x4878f2(this,_0x13007f(0x1a5),[]),_0x4878f2(this,_0x13007f(0x294),null),_0x4878f2(this,_0x13007f(0x305),null),_0x4878f2(this,_0x13007f(0x2e9),null),_0x4878f2(this,_0x13007f(0x3a5),null),_0x4878f2(this,'_eventUnsubscribe',null),this[_0x13007f(0x3e9)]();}set[_0x29b412(0x317)](_0x2209a3){const _0x54f2dc=_0x29b412;_0x2209a3?(this['_anchorDot']&&this['_anchorDot'][_0x54f2dc(0x193)](),this[_0x54f2dc(0x305)]&&this[_0x54f2dc(0x305)]['show']()):(this[_0x54f2dc(0x2e9)]&&this[_0x54f2dc(0x2e9)][_0x54f2dc(0x450)](),this['_textBubble']&&this[_0x54f2dc(0x305)][_0x54f2dc(0x193)]());}[_0x29b412(0x1e7)](){const _0x5bc547=_0x29b412;for(let _0xd94525 of this[_0x5bc547(0x1a5)])_0xd94525['dispose']();this[_0x5bc547(0x305)]&&this[_0x5bc547(0x305)][_0x5bc547(0x1e7)](),this[_0x5bc547(0x2e9)]&&this[_0x5bc547(0x2e9)][_0x5bc547(0x1e7)](),this[_0x5bc547(0x294)]&&this['_anchor'][_0x5bc547(0x1e7)](),this[_0x5bc547(0x21e)]&&this[_0x5bc547(0x21e)]();}['_render'](){const _0x1ae480=_0x29b412;let {_docSkeleton:_0x2144f9,_document:_0x2c831c}=this,{color:_0x36b694,name:_0x2bca94,ranges:_0x3061c2}=this[_0x1ae480(0x339)],_0x1010de=_0x2c831c[_0x1ae480(0x216)](),{docsLeft:_0x32954d,docsTop:_0xdd8fc6}=_0x1010de,_0x571bbd=new _0xe88835[(_0x1ae480(0x39c))](_0x1010de,_0x2144f9);for(let {startOffset:_0x398df4,endOffset:_0x176fdb,rangeType:_0xe22076,segmentId:_0x41c315,segmentPage:_0x254479,collapsed:_0x1a2b97,isActive:_0x2f1102}of _0x3061c2){let _0x56b78d=_0x2144f9['findNodePositionByCharIndex'](_0x398df4,!0x0,_0x41c315,_0x254479),_0x567f6e=_0x2144f9[_0x1ae480(0x283)](_0x176fdb,!0x0,_0x41c315,_0x254479);if(_0x567f6e==null&&(_0x567f6e=_0x2144f9[_0x1ae480(0x283)](_0x176fdb-0x1,!0x1,_0x41c315,_0x254479)),_0x2f1102){let {contentBoxPointGroup:_0x56ca02}=_0x571bbd[_0x1ae480(0x1ef)](_0x567f6e,_0x567f6e);if(_0x56ca02[_0x1ae480(0x1b7)]===0x0)continue;this[_0x1ae480(0x35e)](_0x36b694,_0x56ca02,_0x32954d,_0xdd8fc6,_0x2bca94),this[_0x1ae480(0x21e)]=this[_0x1ae480(0x302)]();}if(_0x56b78d&&_0x567f6e){if(_0xe22076===_0x1e96bc[_0x1ae480(0x155)][_0x1ae480(0x45d)]){var _0x316605;let {pointGroup:_0x5a0355}=(_0x316605=new _0xe88835[(_0x1ae480(0x236))](_0x1010de,_0x2144f9)[_0x1ae480(0x1ef)](_0x56b78d,_0x567f6e))==null?{}:_0x316605;if(_0x5a0355==null||_0x5a0355[_0x1ae480(0x1b7)]===0x0)continue;this[_0x1ae480(0x1d3)](_0x36b694,_0x5a0355,_0x32954d,_0xdd8fc6);}else{if(!_0x1a2b97){let {borderBoxPointGroup:_0xb6d706}=_0x571bbd['getRangePointData'](_0x56b78d,_0x567f6e);if(_0xb6d706['length']===0x0)continue;this[_0x1ae480(0x16d)](_0x36b694,_0xb6d706,_0x32954d,_0xdd8fc6);}}}}}[_0x29b412(0x35e)](_0x22ece4,_0x22293a,_0x4b5eeb,_0x52cddd,_0x1e0856){const _0x971822=_0x29b412;let {left:_0x1bdb09,top:_0x23ba29,height:_0x2ab78a}=this[_0x971822(0x18f)](_0x22293a),_0x2423b5=1.5/this[_0x971822(0x3fe)](),_0x5cbe4d=new _0x42ac73['Rect'](_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd,'height':_0x2ab78a,'width':1.5,'fill':_0x22ece4||(0x0,_0x42ac73[_0x971822(0x3c4)])(_0x1e96bc[_0x971822(0x3e2)][_0x971822(0x292)],0x0),'strokeWidth':_0x2423b5,'stroke':_0x971822(0x1ed),'evented':!0x0});this[_0x971822(0x294)]=_0x5cbe4d,this[_0x971822(0x285)]['addObject'](_0x5cbe4d,_0xe88835[_0x971822(0x2be)]);let _0x5b6d12=new _0x42ac73['Rect'](_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x22ece4||(0x0,_0x42ac73['getColor'])(_0x1e96bc['COLORS'][_0x971822(0x292)],0x0),'strokeWidth':0x0,'stroke':_0x22ece4||(0x0,_0x42ac73[_0x971822(0x3c4)])(_0x1e96bc[_0x971822(0x3e2)]['black'],0x0),'evented':!0x1});this[_0x971822(0x2e9)]=_0x5b6d12,this['_scene'][_0x971822(0x368)](_0x5b6d12,_0xe88835['TEXT_RANGE_LAYER_INDEX']);let _0x4e9c4c=new _0x3fff7c(_0x5ae368+(0x0,_0x1e96bc[_0x971822(0x1f9)])(0x6),{'left':_0x1bdb09+_0x4b5eeb-_0x2423b5,'top':_0x23ba29+_0x52cddd-0x14,'text':_0x1e0856,'color':_0x22ece4});this['_textBubble']=_0x4e9c4c,this[_0x971822(0x285)]['addObject'](_0x4e9c4c,_0xe88835[_0x971822(0x2be)]),this[_0x971822(0x317)]=!0x1;}[_0x29b412(0x302)](){const _0x1f95fb=_0x29b412;let _0x570dfa=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x38e7c3=this[_0x1f95fb(0x294)][_0x1f95fb(0x254)][_0x1f95fb(0x31a)](()=>{const _0x1d8ab0=_0x1f95fb;this[_0x1d8ab0(0x3a5)]&&clearTimeout(this[_0x1d8ab0(0x3a5)]),this['_hideTimer']=setTimeout(()=>{const _0x191691=_0x1d8ab0;this[_0x191691(0x317)]=!0x1;},0x7d0);});return()=>{const _0xc47a3f=_0x1f95fb;_0x570dfa[_0xc47a3f(0x3bc)](),_0x38e7c3['unsubscribe']();};}['_drawTextRange'](_0x144f7d,_0x2a87fc,_0x1f0678,_0x9d8996){const _0x25bbf0=_0x29b412;let _0x569e54=0.2,_0x5b55a4=new _0x1e96bc[(_0x25bbf0(0x1f0))](_0x144f7d)[_0x25bbf0(0x21c)](_0x569e54)[_0x25bbf0(0x243)](),_0x6d4b0e=new _0x42ac73[(_0x25bbf0(0x22b))]('collab-text-range-'+(0x0,_0x1e96bc['generateRandomId'])(0x6),{'pointsGroup':_0x2a87fc,'fill':_0x5b55a4||(0x0,_0x42ac73[_0x25bbf0(0x3c4)])(_0x1e96bc[_0x25bbf0(0x3e2)][_0x25bbf0(0x292)],_0x569e54),'left':_0x1f0678,'top':_0x9d8996,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25bbf0(0x1a5)][_0x25bbf0(0x3ec)](_0x6d4b0e),this[_0x25bbf0(0x285)]['addObject'](_0x6d4b0e,_0xe88835[_0x25bbf0(0x2be)]);}[_0x29b412(0x1d3)](_0x49ddf5,_0x4ed521,_0x2d84bb,_0x1b4bd2){const _0x46a778=_0x29b412;let _0x576d43=0.2,_0x58ffca=new _0x1e96bc['ColorKit'](_0x49ddf5)[_0x46a778(0x21c)](_0x576d43)['toRgbString'](),_0x304d10=new _0x42ac73[(_0x46a778(0x22b))]('collab-rect-range-'+(0x0,_0x1e96bc[_0x46a778(0x1f9)])(0x6),{'pointsGroup':_0x4ed521,'fill':_0x58ffca||(0x0,_0x42ac73[_0x46a778(0x3c4)])(_0x1e96bc['COLORS'][_0x46a778(0x292)],_0x576d43),'left':_0x2d84bb,'top':_0x1b4bd2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46a778(0x1a5)][_0x46a778(0x3ec)](_0x304d10),this[_0x46a778(0x285)][_0x46a778(0x368)](_0x304d10,_0xe88835[_0x46a778(0x2be)]);}[_0x29b412(0x18f)](_0x260ef0){let _0x18995f=_0x260ef0[0x0],_0x3ebb6c=_0x18995f[0x0],_0x453a64=_0x18995f[0x2],{x:_0x5b0007,y:_0x5ca8f5}=_0x3ebb6c,{x:_0x139fdc,y:_0x5ed55d}=_0x453a64;return{'left':_0x5b0007,'top':_0x5ca8f5,'width':_0x139fdc-_0x5b0007,'height':_0x5ed55d-_0x5ca8f5};}[_0x29b412(0x3fe)](){const _0x3f8056=_0x29b412;let {scaleX:_0x2f7130,scaleY:_0x4af46b}=this[_0x3f8056(0x285)][_0x3f8056(0x347)]();return Math[_0x3f8056(0x44a)](_0x2f7130,_0x4af46b);}};let _0x303d04=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0xb6fa4f,_0x577c32,_0x12ed0c,_0x2ec7a3,_0x53035c){const _0x216722=_0x29b412;super(),this[_0x216722(0x158)]=_0xb6fa4f,this['_docSkeletonManagerService']=_0x577c32,this[_0x216722(0x21b)]=_0x12ed0c,this['_commandService']=_0x2ec7a3,this[_0x216722(0x33f)]=_0x53035c,_0x4878f2(this,_0x216722(0x392),[]),_0x4878f2(this,_0x216722(0x19d),[]),this['_init']();}['_init'](){const _0x3276eb=_0x29b412;let _0x967496=this[_0x3276eb(0x158)][_0x3276eb(0x378)],_0x5e1999=this['_docSkeletonManagerService'];this[_0x3276eb(0x434)]((0x0,_0x25f103[_0x3276eb(0x19c)])([this[_0x3276eb(0x21b)]['getCollabCursors$'](_0x967496),this[_0x3276eb(0x33f)][_0x3276eb(0x17c)]])[_0x3276eb(0x23c)]((0x0,_0x23c12b[_0x3276eb(0x403)])(([_0x3a07df,_0x588ddf])=>({'skeleton':_0x5e1999[_0x3276eb(0x219)](),'cursors':[..._0x3a07df['values']()][_0x3276eb(0x1c2)](_0x64ae73=>({..._0x64ae73,'color':this[_0x3276eb(0x33f)]['getColorFromTheme'](_0x64ae73[_0x3276eb(0x44c)])}))})))[_0x3276eb(0x2ca)](_0x223dac=>{const _0x121d33=_0x3276eb;if(this[_0x121d33(0x384)](),_0x223dac){let {skeleton:_0x215f8d,cursors:_0x58ec81}=_0x223dac;this[_0x121d33(0x192)](_0x215f8d,_0x58ec81);}})),this[_0x3276eb(0x1c9)](),this[_0x3276eb(0x390)]();}[_0x29b412(0x192)](_0x1139f4,_0x4eaa26){const _0x1dfdc3=_0x29b412;let {scene:_0x1153a5,mainComponent:_0x428efa}=this[_0x1dfdc3(0x158)];this[_0x1dfdc3(0x392)]=_0x4eaa26[_0x1dfdc3(0x403)](_0x338d8d=>new _0x3c104f(_0x338d8d,_0x1153a5,_0x1139f4,_0x428efa)),this[_0x1dfdc3(0x19d)]=_0x4eaa26;}[_0x29b412(0x222)](){const _0x50893a=_0x29b412;this[_0x50893a(0x384)]();let {scene:_0x17ba28,mainComponent:_0x9a0bea}=this[_0x50893a(0x158)],_0x5a023e=this[_0x50893a(0x2fd)][_0x50893a(0x219)]();this['_cursorShapes']=this[_0x50893a(0x19d)][_0x50893a(0x403)](_0x26d2ed=>new _0x3c104f(_0x26d2ed,_0x17ba28,_0x5a023e,_0x9a0bea));}[_0x29b412(0x384)](){const _0x54ec8e=_0x29b412;this[_0x54ec8e(0x392)][_0x54ec8e(0x312)](_0x111c54=>_0x111c54[_0x54ec8e(0x1e7)]()),this[_0x54ec8e(0x392)]=[];}[_0x29b412(0x390)](){const _0x1c2f27=_0x29b412;let _0x37de48=[_0xe88835[_0x1c2f27(0x3c8)]['id']];this[_0x1c2f27(0x434)](this[_0x1c2f27(0x1e4)]['onCommandExecuted'](_0x43efd4=>{const _0x9922ac=_0x1c2f27;_0x37de48['includes'](_0x43efd4['id'])&&_0x43efd4[_0x9922ac(0x431)][_0x9922ac(0x378)]===this['_context'][_0x9922ac(0x378)]&&this[_0x9922ac(0x222)]();}));}[_0x29b412(0x1c9)](){const _0x19184c=_0x29b412;this[_0x19184c(0x434)]((0x0,_0x1e96bc[_0x19184c(0x30d)])(this['_context'][_0x19184c(0x404)][_0x19184c(0x21a)])[_0x19184c(0x23c)]((0x0,_0x23c12b[_0x19184c(0x442)])(_0x1a163c=>_0x1a163c[_0x19184c(0x2f8)]===_0x42ac73[_0x19184c(0x43d)]['resize']),(0x0,_0x23c12b[_0x19184c(0x3b6)])(0x10))['subscribe'](()=>{const _0x44e63a=_0x19184c;this[_0x44e63a(0x222)]();}));}};_0x303d04=_0x1c9c51([_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x3aacdf[_0x29b412(0x237)])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x396377)),_0x19fee6(0x3,_0x1e96bc['ICommandService']),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['ThemeService']))],_0x303d04);var _0x5a9d20=class extends _0x42ac73[_0x29b412(0x3ef)]{constructor(_0x54cf87,_0x4b9cc0){const _0x22930c=_0x29b412;if(super(_0x54cf87,_0x4b9cc0),_0x4878f2(this,_0x22930c(0x328),void 0x0),_0x4878f2(this,_0x22930c(0x25d),!0x1),_0x4878f2(this,_0x22930c(0x40a),void 0x0),_0x4878f2(this,'_name',''),_0x4878f2(this,'_labelPosition',_0x22930c(0x3b9)),_0x4878f2(this,_0x22930c(0x315),void 0x0),_0x4878f2(this,'_showText',void 0x0),_0x4878f2(this,_0x22930c(0x3f7),void 0x0),_0x4878f2(this,_0x22930c(0x1fa),0x4),_0x4878f2(this,'_blinkTimer',void 0x0),_0x4878f2(this,_0x22930c(0x334),void 0x0),_0x4878f2(this,_0x22930c(0x206),!0x0),_0x4878f2(this,_0x22930c(0x205),0x0),_0x4b9cc0){var _0x26b316;if(this['setShapeProps'](_0x4b9cc0),_0x4b9cc0['highlight']&&((_0x26b316=_0x4b9cc0[_0x22930c(0x353)])==null?this[_0x22930c(0x1fa)]:_0x26b316)){var _0x24bf9e;this[_0x22930c(0x210)]((_0x24bf9e=_0x4b9cc0['highlightSecond'])==null?this[_0x22930c(0x1fa)]:_0x24bf9e);}}this['onPointerEnter$'][_0x22930c(0x31a)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x22930c(0x254)][_0x22930c(0x31a)](()=>this[_0x22930c(0x1ad)]({'hovered':!0x1}));}['setOffsetY'](_0x3819ec){this['_offsetY']=_0x3819ec;}[_0x29b412(0x1ad)](_0x553c51){const _0x2f2d41=_0x29b412;var _0x54e9ad,_0x4f590e,_0x2588d4,_0x49801a,_0x3c3b02,_0x2fcedf,_0x23832b;this['_color']=(_0x54e9ad=_0x553c51['color'])==null?this[_0x2f2d41(0x328)]:_0x54e9ad,this[_0x2f2d41(0x25d)]=(_0x4f590e=_0x553c51['hovered'])==null?this[_0x2f2d41(0x25d)]:_0x4f590e,this['_range']=(_0x2588d4=_0x553c51[_0x2f2d41(0x233)])==null?this[_0x2f2d41(0x40a)]:_0x2588d4,this[_0x2f2d41(0x3ce)]=(_0x49801a=_0x553c51[_0x2f2d41(0x298)])==null?this[_0x2f2d41(0x3ce)]:_0x49801a,this[_0x2f2d41(0x241)]=(_0x3c3b02=_0x553c51[_0x2f2d41(0x22d)])==null?this[_0x2f2d41(0x241)]:_0x3c3b02,this[_0x2f2d41(0x315)]=(_0x2fcedf=_0x553c51[_0x2f2d41(0x266)])==null?this[_0x2f2d41(0x315)]:_0x2fcedf,this[_0x2f2d41(0x453)]=(_0x23832b=_0x553c51['showText'])==null?this[_0x2f2d41(0x453)]:_0x23832b,_0x553c51[_0x2f2d41(0x353)]!==void 0x0&&(this['_highlightSecond']=_0x553c51['highlightSecond']),_0x553c51[_0x2f2d41(0x224)]!==void 0x0&&(this[_0x2f2d41(0x3f7)]=_0x553c51[_0x2f2d41(0x224)]),_0x553c51[_0x2f2d41(0x198)]!==void 0x0&&(this[_0x2f2d41(0x205)]=_0x553c51[_0x2f2d41(0x198)]),this[_0x2f2d41(0x3bb)]({'width':_0x553c51[_0x2f2d41(0x2ae)],'height':_0x553c51[_0x2f2d41(0x31b)]});}[_0x29b412(0x27f)](_0x54a6e2){const _0x33dc15=_0x29b412;let {row:_0x5b847e,column:_0x3a136b}=_0x54a6e2;if(_0x5b847e>=this[_0x33dc15(0x40a)][_0x33dc15(0x387)]&&_0x5b847e<=this[_0x33dc15(0x40a)][_0x33dc15(0x380)]&&_0x3a136b>=this[_0x33dc15(0x40a)][_0x33dc15(0x247)]&&_0x3a136b<=this[_0x33dc15(0x40a)][_0x33dc15(0x42e)]){this[_0x33dc15(0x1ad)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x29b412(0x210)](_0x5af236){const _0x45ba80=_0x29b412;this['_stopBlinking'](),this[_0x45ba80(0x206)]=!0x0,this['_blinkIntervalTimer']=window[_0x45ba80(0x19a)](()=>{const _0x35bf36=_0x45ba80;this[_0x35bf36(0x206)]=!this[_0x35bf36(0x206)],this[_0x35bf36(0x2f5)](!0x0);},0x1f4),this[_0x45ba80(0x410)]=window[_0x45ba80(0x20a)](()=>{const _0x34582d=_0x45ba80;this['_stopBlinking'](),this[_0x34582d(0x206)]=!0x0,this['makeDirty'](!0x0);},_0x5af236*0x3e8);}['_stopBlinking'](){const _0x14466e=_0x29b412;this[_0x14466e(0x334)]&&(window['clearInterval'](this[_0x14466e(0x334)]),this[_0x14466e(0x334)]=void 0x0),this[_0x14466e(0x410)]&&(window['clearTimeout'](this[_0x14466e(0x410)]),this[_0x14466e(0x410)]=void 0x0);}['triggerDblclick'](_0x27c910){return!0x1;}[_0x29b412(0x1e7)](){const _0x37abc2=_0x29b412;this[_0x37abc2(0x2cb)](),super[_0x37abc2(0x1e7)]();}[_0x29b412(0x2a8)](_0x7156f6){const _0x17cf1c=_0x29b412;var _0xfe7e54;let _0xedb8ef=this[_0x17cf1c(0x328)],_0x4d95ef=this['_backgroundColor'];if(this['_highlight']&&!this[_0x17cf1c(0x206)]&&(_0xedb8ef=this['_getLighterColor'](this[_0x17cf1c(0x328)]),_0x4d95ef=this[_0x17cf1c(0x315)]?this[_0x17cf1c(0x3d3)](this[_0x17cf1c(0x315)]):void 0x0),_0x42ac73['Rect'][_0x17cf1c(0x190)](_0x7156f6,{'width':this['width'],'height':this[_0x17cf1c(0x31b)],'strokeWidth':(_0xfe7e54=this[_0x17cf1c(0x29b)])==null?1.5:_0xfe7e54,'stroke':_0xedb8ef,'evented':!0x1,'fill':_0x4d95ef}),this[_0x17cf1c(0x25d)]||this[_0x17cf1c(0x453)]){var _0x4f7871;_0x7156f6[_0x17cf1c(0x166)](),_0x7156f6[_0x17cf1c(0x43b)](0x1,0x0,0x0,0x1,this[_0x17cf1c(0x2ae)],(this[_0x17cf1c(0x241)]===_0x17cf1c(0x1b8)?0x0:-0x14)+((_0x4f7871=this[_0x17cf1c(0x205)])==null?0x0:_0x4f7871)),_0x3fff7c['drawWith'](_0x7156f6,{'text':this[_0x17cf1c(0x3ce)],'color':_0xedb8ef}),_0x7156f6[_0x17cf1c(0x3c1)]();}}['_getLighterColor'](_0x5de18a){const _0x2fef3a=_0x29b412;return _0x5de18a['startsWith']('#')?_0x2fef3a(0x2cc)+Number[_0x2fef3a(0x391)](_0x5de18a['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x2fef3a(0x391)](_0x5de18a['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x5de18a['slice'](0x5,0x7),0x10)+_0x2fef3a(0x1fc):_0x5de18a[_0x2fef3a(0x220)]('rgba')?_0x5de18a['replace'](/[\d.]+\)$/g,'0.2)'):_0x5de18a[_0x2fef3a(0x220)](_0x2fef3a(0x3ee))?_0x5de18a['replace']('rgb','rgba')[_0x2fef3a(0x26c)](')',',\x200.2)'):_0x5de18a;}};let _0x1225ba=class extends _0x1e96bc[_0x29b412(0x267)]{constructor(_0x280019,_0x4ae9c4,_0x55a63c,_0x16abca){const _0x2b4a5d=_0x29b412;super(),this[_0x2b4a5d(0x158)]=_0x280019,this['_sheetSkeletonManagerService']=_0x4ae9c4,this[_0x2b4a5d(0x21b)]=_0x55a63c,this[_0x2b4a5d(0x33f)]=_0x16abca,_0x4878f2(this,_0x2b4a5d(0x19d),new Set()),_0x4878f2(this,_0x2b4a5d(0x2ed),null),this['_init']();}[_0x29b412(0x19b)](){const _0x37900=_0x29b412;this[_0x37900(0x452)][_0x37900(0x24e)][_0x37900(0x23c)]((0x0,_0x23c12b['takeUntil'])(this[_0x37900(0x165)]),(0x0,_0x23c12b['switchMap'])(_0x2441b7=>{const _0x2fbb15=_0x37900;if(_0x2441b7){let _0x2fab44=_0x2441b7['sheetId'];return(0x0,_0x25f103['combineLatest'])(this['_collabCursorController']['getCollabCursors$'](this[_0x2fbb15(0x158)][_0x2fbb15(0x378)]),this['_themeService'][_0x2fbb15(0x17c)])[_0x2fbb15(0x23c)]((0x0,_0x23c12b[_0x2fbb15(0x403)])(([_0x3ddb70,_0x507668])=>{const _0x3b9bcd=_0x2fbb15;let _0x10b45e=new Map();return _0x3ddb70[_0x3b9bcd(0x312)]((_0x354aab,_0x59ef74)=>{const _0x517c64=_0x3b9bcd;if(_0x354aab[_0x517c64(0x2d5)]===_0x2fab44){let _0x149bfb={..._0x354aab};_0x149bfb[_0x517c64(0x44c)]=this[_0x517c64(0x33f)][_0x517c64(0x3ea)](_0x354aab[_0x517c64(0x44c)]),_0x10b45e[_0x517c64(0x1dc)](_0x59ef74,_0x149bfb);}}),{'skeleton':_0x2441b7,'cursors':_0x10b45e};}));}return(0x0,_0x25f103['of'])({'skeleton':null,'cursors':new Map()});}))[_0x37900(0x2ca)](({skeleton:_0x4447d7,cursors:_0x33ce2d})=>{const _0x5f4f7e=_0x37900;this[_0x5f4f7e(0x384)](),_0x4447d7&&this[_0x5f4f7e(0x192)](_0x4447d7,_0x33ce2d);}),this['_sheetSkeletonManagerService'][_0x37900(0x24e)][_0x37900(0x2ca)](_0x38dd71=>{const _0x5cd98a=_0x37900;if(_0x38dd71==null)return;let {skeleton:_0x43a147}=_0x38dd71,{scene:_0x43804f}=this[_0x5cd98a(0x158)];_0x43804f[_0x5cd98a(0x273)]['subscribeEvent']((0x0,_0x1e96bc[_0x5cd98a(0x20e)])(_0x262c7e=>{const _0x57cf73=_0x5cd98a;var _0x3deace,_0x294928;let {offsetX:_0x16973e,offsetY:_0xac43df}=_0x262c7e,{x:_0x2829bc,y:_0x2fa77c}=_0x43804f[_0x57cf73(0x161)](_0x42ac73[_0x57cf73(0x441)][_0x57cf73(0x227)]([_0x16973e,_0xac43df])),{scaleX:_0x236199,scaleY:_0xb60ed7}=_0x43804f['getAncestorScale'](),_0x5a54d3=_0x43804f[_0x57cf73(0x2b2)](_0x42ac73[_0x57cf73(0x362)]['VIEW_MAIN']),_0x12d162=_0x43804f[_0x57cf73(0x262)](_0x42ac73[_0x57cf73(0x441)]['FromArray']([_0x2829bc,_0x2fa77c]),_0x5a54d3),_0xee2662=_0x43a147['getCellPositionByOffset'](_0x16973e,_0xac43df,_0x236199,_0xb60ed7,_0x12d162);((_0x3deace=this[_0x57cf73(0x2ed)])==null?void 0x0:_0x3deace[_0x57cf73(0x41a)])===_0xee2662[_0x57cf73(0x41a)]&&((_0x294928=this[_0x57cf73(0x2ed)])==null?void 0x0:_0x294928[_0x57cf73(0x2b7)])===_0xee2662['row']||this[_0x57cf73(0x19d)][_0x57cf73(0x312)](_0x5f1fae=>{_0x5f1fae['onMouseMove'](_0xee2662);});},0x64));});}[_0x29b412(0x192)](_0x252bf9,_0x5f50ef){const _0x2d9b77=_0x29b412;var _0x275c2c;let _0x24fa72=(_0x275c2c=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x275c2c[_0x2d9b77(0x3ff)];if(!_0x24fa72)return;let _0x831d1=this['_getSheetObject']();if(!_0x831d1)return;this['_cursors']['forEach'](_0x123c77=>{const _0x4129e6=_0x2d9b77;_0x123c77[_0x4129e6(0x2f5)]();});let {scene:_0x16c8cf}=_0x831d1,_0x11b7e1=_0x34efc9(Array[_0x2d9b77(0x30c)](_0x5f50ef[_0x2d9b77(0x253)]()))[_0x2d9b77(0x403)](_0x19ba63=>{const _0x4637d6=_0x2d9b77;let {color:_0xde619e,range:_0x4dd6ad,name:_0x5eef21,selection:_0xd3dbe,sheetID:_0x1b1941}=_0x19ba63,{startColumn:_0x44eec1,startRow:_0xbffd5f,endColumn:_0x140010,endRow:_0x3c7efe}=_0x4dd6ad,_0x3ae7c4=(0x0,_0x1827e1['getCoordByCell'])(_0xbffd5f,_0x44eec1,_0x16c8cf,_0x24fa72),_0x4dae7f=(0x0,_0x1827e1[_0x4637d6(0x34a)])(_0x3c7efe,_0x140010,_0x16c8cf,_0x24fa72),{columnHeaderHeightAndMarginTop:_0x40eb52}=_0x24fa72,{startX:_0x3e8f09,startY:_0x37bf29}=_0x3ae7c4,{endX:_0x25fe8f,endY:_0x55bc3e}=_0x4dae7f,_0x234012=_0x25fe8f-_0x3e8f09,_0x3c8f6a=_0x55bc3e-_0x37bf29;return new _0x5a9d20(_0x5eef21,{'labelPosition':_0x37bf29-_0x40eb52>=0x14?_0x4637d6(0x3b9):_0x4637d6(0x1b8),'sheetID':_0x1b1941,'range':_0x4dd6ad,'color':_0xde619e,'name':_0x5eef21,'selection':_0xd3dbe,'left':_0x3e8f09,'top':_0x37bf29,'width':_0x234012,'height':_0x3c8f6a,'evented':!0x1,'zIndex':0x1389});});_0x16c8cf[_0x2d9b77(0x39a)](_0x11b7e1,0x1),this[_0x2d9b77(0x19d)]=new Set(_0x11b7e1);}[_0x29b412(0x384)](){const _0xf87dd5=_0x29b412;var _0x502ba0;(_0x502ba0=this[_0xf87dd5(0x19d)])==null||_0x502ba0['forEach'](_0x5dee53=>_0x5dee53[_0xf87dd5(0x1e7)]());}[_0x29b412(0x307)](){const _0x3b629f=_0x29b412;return(0x0,_0x1827e1[_0x3b629f(0x437)])(this[_0x3b629f(0x158)][_0x3b629f(0x1bf)],this[_0x3b629f(0x158)]);}};_0x1225ba=_0x1c9c51([_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1827e1['SheetSkeletonManagerService'])),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x396377)),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['ThemeService']))],_0x1225ba);function _0x34efc9(_0x5c2079){const _0x44f221=_0x29b412;let _0x3d0516=new Map();return _0x5c2079[_0x44f221(0x312)](_0x52cb44=>{const _0x1598de=_0x44f221;if(_0x3d0516['has'](_0x52cb44['selection'])){let _0x566fa6=_0x3d0516[_0x1598de(0x17b)](_0x52cb44[_0x1598de(0x1bc)]);_0x566fa6[_0x1598de(0x298)]+=',\x20'+_0x52cb44['name'];}else _0x3d0516[_0x1598de(0x1dc)](_0x52cb44[_0x1598de(0x1bc)],_0x52cb44);}),Array['from'](_0x3d0516[_0x44f221(0x253)]());}let _0x3bab23=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x1f67b1,_0x3b2395,_0x50ee3d,_0x23a2ce,_0x53fcdd,_0x768d2e){const _0x1f4954=_0x29b412;super(),this[_0x1f4954(0x1f4)]=_0x1f67b1,this['_localCacheService']=_0x3b2395,this[_0x1f4954(0x316)]=_0x50ee3d,this['_messageService']=_0x23a2ce,this[_0x1f4954(0x173)]=_0x53fcdd,this[_0x1f4954(0x382)]=_0x768d2e,this[_0x1f4954(0x36d)](),this[_0x1f4954(0x204)]();}[_0x29b412(0x36d)](){const _0x55a557=_0x29b412;this['disposeWithMe'](this[_0x55a557(0x1f4)]['registerBeforeClose'](()=>{const _0xa6e3b2=_0x55a557;if(this[_0xa6e3b2(0x3fd)][_0xa6e3b2(0x425)][_0xa6e3b2(0x2e1)])return this[_0xa6e3b2(0x382)]['t'](_0xa6e3b2(0x448));}));}[_0x29b412(0x204)](){const _0x2137d4=_0x29b412;this[_0x2137d4(0x434)](this[_0x2137d4(0x316)][_0x2137d4(0x420)][_0x2137d4(0x2ca)](_0x56320e=>{const _0x2ed3c6=_0x2137d4;_0x56320e['id']===_0x18e88d['CollaborationUIEventId'][_0x2ed3c6(0x218)]&&this['_messageService'][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)]['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)]['CLOSE_ROOM']&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x45f))}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x459)]&&this[_0x2ed3c6(0x173)][_0x2ed3c6(0x450)]({'title':this['_localeService']['t'](_0x2ed3c6(0x288)),'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x1e6)),'type':_0x2ed3c6(0x1cf),'duration':0x0}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)]['CONFLICT']&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e['MessageType'][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x45f))+'('+_0x56320e[_0x2ed3c6(0x2c4)]+')'}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x3a3)]&&this[_0x2ed3c6(0x2d3)]['show']({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this[_0x2ed3c6(0x382)]['t'](_0x56320e['data']||'')}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x42f)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x33a)],'content':this['_localeService']['t'](_0x2ed3c6(0x3ab))}),_0x56320e['id']===_0x18e88d['CollaborationUIEventId'][_0x2ed3c6(0x1d6)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e[_0x2ed3c6(0x1b2)][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x2d7))}),_0x56320e['id']===_0x18e88d[_0x2ed3c6(0x385)][_0x2ed3c6(0x215)]&&this[_0x2ed3c6(0x2d3)][_0x2ed3c6(0x450)]({'type':_0x12bd8e['MessageType'][_0x2ed3c6(0x369)],'content':this[_0x2ed3c6(0x382)]['t'](_0x2ed3c6(0x3cf))});}));}};_0x3bab23=_0x1c9c51([_0x19fee6(0x0,_0x163a5f['IBeforeCloseService']),_0x19fee6(0x1,_0x18e88d[_0x29b412(0x2ec)]),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x18e88d[_0x29b412(0x375)])),_0x19fee6(0x3,_0x163a5f[_0x29b412(0x268)]),_0x19fee6(0x4,_0x163a5f['INotificationService']),_0x19fee6(0x5,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['LocaleService']))],_0x3bab23);let _0x2eef91=_0x29b412(0x2b3);Symbol(_0x2eef91);let _0x26ee57={},_0x548b99=class{constructor(_0x5c0f6f,_0x4c0c18){const _0x206685=_0x29b412;this[_0x206685(0x446)]=_0x5c0f6f,this[_0x206685(0x16e)]=_0x4c0c18;}['transformIMECache'](_0x3f3774){this['_transformUndoRedoStack'](_0x3f3774),this['_transformPreviousActiveRange'](_0x3f3774);}['transformRemoteChangeset'](_0x3557f2){const _0x1756aa=_0x29b412;let {unitID:_0x4982c8}=_0x3557f2,{redoCache:_0xd45036}=this[_0x1756aa(0x16e)][_0x1756aa(0x156)](_0x4982c8)[_0x1756aa(0x3a6)](_0xe88835['DocIMEInputManagerService'])[_0x1756aa(0x367)]();if(_0xd45036['length']===0x0)return _0x3557f2;let _0x5b2a8c=_0x1e96bc['Tools'][_0x1756aa(0x3a1)](_0x3557f2[_0x1756aa(0x260)][0x0]);for(let _0x464598=0x0;_0x464598<_0xd45036['length'];_0x464598++){let _0x1ab2a4={'id':'doc.mutation.rich-text-editing','params':{..._0xd45036[_0x464598]}},_0x107ece=this[_0x1756aa(0x446)][_0x1756aa(0x255)](_0x5b2a8c,_0x1ab2a4,!0x1);if((0x0,_0x55fb1d[_0x1756aa(0x2ea)])(_0x107ece))throw _0x107ece['error'];_0x5b2a8c=_0x107ece[_0x1756aa(0x296)];}return{..._0x1e96bc['Tools'][_0x1756aa(0x3a1)](_0x3557f2),'mutations':[_0x5b2a8c]};}[_0x29b412(0x194)](_0xcd52f){const _0x43842e=_0x29b412;let {unitID:_0x300dd2}=_0xcd52f,_0x522986=this[_0x43842e(0x16e)][_0x43842e(0x156)](_0x300dd2)['with'](_0xe88835[_0x43842e(0x313)]),{undoCache:_0x35139b,redoCache:_0x5e045e}=_0x522986[_0x43842e(0x367)]();if(_0x35139b[_0x43842e(0x1b7)]===0x0||_0x5e045e[_0x43842e(0x1b7)]===0x0)return;let _0x21a3c1=[],_0x36bb23=[],_0x28cc20=_0x1e96bc['Tools'][_0x43842e(0x3a1)](_0xcd52f[_0x43842e(0x260)][0x0]),_0x3cd184=_0x1e96bc[_0x43842e(0x287)][_0x43842e(0x3a1)](_0xcd52f[_0x43842e(0x260)][0x0]);for(let _0x593943=_0x35139b[_0x43842e(0x1b7)]-0x1;_0x593943>=0x0;_0x593943--){let _0x389f50={'id':_0x43842e(0x3ac),'params':{..._0x35139b[_0x593943]}},_0xdff7fa={'id':_0x43842e(0x3ac),'params':{..._0x5e045e[_0x593943]}},_0x2eebe5=this[_0x43842e(0x446)]['transformMutation'](_0x28cc20,_0x389f50,!0x1),_0x141a86=this[_0x43842e(0x446)][_0x43842e(0x255)](_0x3cd184,_0xdff7fa,!0x1);if((0x0,_0x55fb1d[_0x43842e(0x2ea)])(_0x2eebe5))throw _0x2eebe5['error'];if((0x0,_0x55fb1d[_0x43842e(0x2ea)])(_0x141a86))throw _0x141a86[_0x43842e(0x1cf)];_0x21a3c1[_0x43842e(0x2e5)](_0x2eebe5[_0x43842e(0x447)][_0x43842e(0x431)]),_0x36bb23[_0x43842e(0x2e5)](_0x141a86['m2Prime'][_0x43842e(0x431)]),_0x28cc20=_0x2eebe5[_0x43842e(0x296)],_0x3cd184=_0x141a86[_0x43842e(0x296)];}_0x522986[_0x43842e(0x1ea)]({'undoCache':_0x21a3c1,'redoCache':_0x36bb23});}[_0x29b412(0x2e2)](_0x374880){const _0xc91c10=_0x29b412;let {unitID:_0x5db3ef}=_0x374880,_0x6c6cea=this[_0xc91c10(0x16e)]['getRenderById'](_0x5db3ef)[_0xc91c10(0x3a6)](_0xe88835['DocIMEInputManagerService']),_0xd1974e=_0x6c6cea[_0xc91c10(0x3da)]();if(_0xd1974e==null)return;let _0x219571=[{'id':_0xc91c10(0x3ac),'params':{'unitId':_0x374880[_0xc91c10(0x180)],'actions':null,'textRanges':[_0xd1974e]}}],_0xee3601=this[_0xc91c10(0x446)][_0xc91c10(0x39e)](_0x374880,_0x219571);if(!(0x0,_0x55fb1d[_0xc91c10(0x3be)])(_0xee3601))throw _0xee3601[_0xc91c10(0x1cf)];let _0x1802f0=_0xee3601[_0xc91c10(0x447)][0x0][_0xc91c10(0x431)][_0xc91c10(0x3f9)];Array['isArray'](_0x1802f0)&&_0x1802f0[_0xc91c10(0x1b7)]&&_0x6c6cea[_0xc91c10(0x22c)](_0x1802f0[0x0]);}};_0x548b99=_0x1c9c51([_0x19fee6(0x0,_0x55fb1d['ITransformService']),_0x19fee6(0x1,_0x42ac73['IRenderManagerService'])],_0x548b99);let _0x164d7f=class{constructor(_0x53301a,_0x3d105d,_0x2557eb){const _0x4b46dc=_0x29b412;this[_0x4b46dc(0x21f)]=_0x53301a,this[_0x4b46dc(0x446)]=_0x3d105d,this['_docStateChangeManagerService']=_0x2557eb;}[_0x29b412(0x189)](_0x1a32d8){const _0x178831=_0x29b412;this[_0x178831(0x3aa)](_0x1a32d8);}[_0x29b412(0x244)](_0x19a8e4){const _0x2b34a3=_0x29b412;let {unitID:_0x37b09b}=_0x19a8e4,{collaboration:_0x41487d}=this[_0x2b34a3(0x33c)][_0x2b34a3(0x39d)](_0x37b09b);if(_0x41487d[_0x2b34a3(0x1b7)]===0x0)return _0x19a8e4;let _0x429cf7=_0x1e96bc[_0x2b34a3(0x287)][_0x2b34a3(0x3a1)](_0x19a8e4[_0x2b34a3(0x260)][0x0]);for(let _0x127a18=0x0;_0x127a18<_0x41487d[_0x2b34a3(0x1b7)];_0x127a18++){let _0x40e553={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41487d[_0x127a18][_0x2b34a3(0x378)],..._0x41487d[_0x127a18][_0x2b34a3(0x274)]}},_0x48279a=this[_0x2b34a3(0x446)][_0x2b34a3(0x255)](_0x429cf7,_0x40e553,!0x1);if((0x0,_0x55fb1d['isTransformMutationFailure'])(_0x48279a))throw _0x48279a['error'];_0x429cf7=_0x48279a[_0x2b34a3(0x296)];}return{..._0x1e96bc[_0x2b34a3(0x287)]['deepClone'](_0x19a8e4),'mutations':[_0x429cf7]};}[_0x29b412(0x3aa)](_0x58de53){const _0x3c6e61=_0x29b412;let {unitID:_0x42f58e}=_0x58de53,{history:_0x2e3dcc,collaboration:_0x2080f5}=this[_0x3c6e61(0x33c)][_0x3c6e61(0x39d)](_0x42f58e);if(_0x2e3dcc['length']===0x0&&_0x2080f5['length']===0x0)return;let _0x57d63f=[],_0x11f026=[],_0x4708c0=_0x1e96bc['Tools'][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]),_0x72e56=_0x1e96bc['Tools'][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]);for(let _0x2df32e=_0x2e3dcc['length']-0x1;_0x2df32e>=0x0;_0x2df32e--){let _0x261747={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2e3dcc[_0x2df32e][_0x3c6e61(0x378)],..._0x2e3dcc[_0x2df32e][_0x3c6e61(0x34d)]}},_0x5a129b={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2e3dcc[_0x2df32e][_0x3c6e61(0x378)],..._0x2e3dcc[_0x2df32e][_0x3c6e61(0x274)]}},_0x8fe57c=this[_0x3c6e61(0x446)][_0x3c6e61(0x255)](_0x4708c0,_0x261747,!0x1),_0x5a0ce1=this[_0x3c6e61(0x446)][_0x3c6e61(0x255)](_0x72e56,_0x5a129b,!0x1);if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x8fe57c))throw _0x8fe57c['error'];if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x5a0ce1))throw _0x5a0ce1[_0x3c6e61(0x1cf)];_0x57d63f[_0x3c6e61(0x2e5)]({..._0x2e3dcc[_0x2df32e],'undoState':_0x8fe57c['m2Prime'][_0x3c6e61(0x431)],'redoState':_0x5a0ce1[_0x3c6e61(0x447)][_0x3c6e61(0x431)]}),_0x4708c0=_0x8fe57c[_0x3c6e61(0x296)],_0x72e56=_0x5a0ce1[_0x3c6e61(0x296)];}_0x4708c0=_0x1e96bc[_0x3c6e61(0x287)][_0x3c6e61(0x3a1)](_0x58de53['mutations'][0x0]),_0x72e56=_0x1e96bc[_0x3c6e61(0x287)][_0x3c6e61(0x3a1)](_0x58de53[_0x3c6e61(0x260)][0x0]);for(let _0x373075=_0x2080f5[_0x3c6e61(0x1b7)]-0x1;_0x373075>=0x0;_0x373075--){let _0x354494={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2080f5[_0x373075][_0x3c6e61(0x378)],..._0x2080f5[_0x373075][_0x3c6e61(0x34d)]}},_0x3de5c4={'id':_0x3c6e61(0x3ac),'params':{'unitId':_0x2080f5[_0x373075][_0x3c6e61(0x378)],..._0x2080f5[_0x373075][_0x3c6e61(0x274)]}},_0x1ee72a=this['_transformService'][_0x3c6e61(0x255)](_0x4708c0,_0x354494,!0x1),_0x3c54d5=this['_transformService'][_0x3c6e61(0x255)](_0x72e56,_0x3de5c4,!0x1);if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x1ee72a))throw _0x1ee72a['error'];if((0x0,_0x55fb1d[_0x3c6e61(0x2ea)])(_0x3c54d5))throw _0x3c54d5['error'];_0x11f026[_0x3c6e61(0x2e5)]({..._0x2080f5[_0x373075],'undoState':_0x1ee72a[_0x3c6e61(0x447)][_0x3c6e61(0x431)],'redoState':_0x3c54d5['m2Prime'][_0x3c6e61(0x431)]}),_0x4708c0=_0x1ee72a[_0x3c6e61(0x296)],_0x72e56=_0x3c54d5[_0x3c6e61(0x296)];}this[_0x3c6e61(0x33c)][_0x3c6e61(0x2a1)](_0x42f58e,{'history':_0x57d63f,'collaboration':_0x11f026});}};_0x164d7f=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,_0x55fb1d[_0x29b412(0x42a)]),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe88835[_0x29b412(0x343)]))],_0x164d7f);let _0x12c66b=class{constructor(_0x59aac9,_0x35b233){this['_injector']=_0x59aac9,this['_transformService']=_0x35b233;}[_0x29b412(0x157)](_0xc2d487){const _0x224304=_0x29b412;var _0x46cedf;let _0x3a1b48=this[_0x224304(0x21f)]['get'](_0x3aacdf[_0x224304(0x3d8)]),_0x4f801a=(_0x46cedf=_0x3a1b48['getDocRanges']())==null?[]:_0x46cedf;if(_0x4f801a['length']===0x0)return;let _0x17d2a2=_0xc2d487['unitID'],_0x4748c0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17d2a2,'actions':null,'textRanges':_0x4f801a}}],_0x731f18=this['_transformService'][_0x224304(0x39e)](_0xc2d487,_0x4748c0);if(!(0x0,_0x55fb1d['isTransformMutationsWithChangesetSuccess'])(_0x731f18))throw _0x731f18[_0x224304(0x1cf)];let _0x2ccf82=_0x731f18[_0x224304(0x447)][0x0]['params']['textRanges'];Array[_0x224304(0x41c)](_0x2ccf82)&&_0x2ccf82[_0x224304(0x1b7)]&&_0x3a1b48[_0x224304(0x185)](_0x2ccf82,{'unitId':_0x17d2a2,'subUnitId':_0x17d2a2},!0x1);}};_0x12c66b=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,_0x55fb1d[_0x29b412(0x42a)])],_0x12c66b);let _0xfbf66=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x1a1108,_0x19c535,_0x7d0ae,_0x2d5a7a,_0x2acf7f,_0x253193,_0x95f8e3,_0x5486d7){const _0x4b8c70=_0x29b412;super(),this[_0x4b8c70(0x33c)]=_0x1a1108,this[_0x4b8c70(0x27e)]=_0x19c535,this['_docTransformIMECacheService']=_0x7d0ae,this[_0x4b8c70(0x275)]=_0x2d5a7a,this[_0x4b8c70(0x28c)]=_0x2acf7f,this['_docSyncEditingCollabCursorService']=_0x253193,this['_messageService']=_0x95f8e3,this[_0x4b8c70(0x382)]=_0x5486d7,_0x4878f2(this,_0x4b8c70(0x1f6),new _0x25f103[(_0x4b8c70(0x177))](_0x18e88d[_0x4b8c70(0x22f)][_0x4b8c70(0x19f)])),this[_0x4b8c70(0x228)]();}[_0x29b412(0x228)](){const _0x453f06=_0x29b412;this[_0x453f06(0x434)](this[_0x453f06(0x27e)][_0x453f06(0x1bb)]['subscribe'](_0x2b8c18=>{const _0x492894=_0x453f06;let _0x384535=this[_0x492894(0x33c)][_0x492894(0x1ac)][_0x492894(0x2ca)](_0x3a5f9d=>{const _0x3d25f1=_0x492894;if(_0x3a5f9d==null)return;let {unitId:_0x52640f,redoState:_0x55d963,commandId:_0x26572d}=_0x3a5f9d;if(_0x52640f!==_0x2b8c18[_0x3d25f1(0x180)])return;let _0x5052ef={'id':_0x26572d,'type':_0x1e96bc[_0x3d25f1(0x2a7)][_0x3d25f1(0x44d)],'params':{'unitId':_0x52640f,'actions':_0x55d963[_0x3d25f1(0x376)],'textRanges':null}};_0x2b8c18[_0x3d25f1(0x428)](_0x5052ef);});_0x2b8c18['disposeWithMe'](_0x384535),_0x2b8c18 instanceof _0x18e88d[_0x492894(0x2ab)]&&_0x2b8c18[_0x492894(0x15a)]({'onTransformIME':_0x31a927=>this['_docTransformIMECacheService'][_0x492894(0x264)](_0x31a927),'onTransformState':_0x1dc330=>this[_0x492894(0x275)][_0x492894(0x189)](_0x1dc330),'onTransformSelections':_0x1a5a9a=>this[_0x492894(0x28c)][_0x492894(0x157)](_0x1a5a9a),'onSyncEditingCollabCursor':_0x3d86bf=>this[_0x492894(0x333)][_0x492894(0x30e)](_0x3d86bf),'onTransformRemoteChangesetByIMECache':_0x32589b=>this[_0x492894(0x37c)][_0x492894(0x244)](_0x32589b),'onTransformRemoteChangesetByStateCache':_0x589e44=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x589e44)});}));}};_0xfbf66=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0xe88835[_0x29b412(0x343)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x18e88d['CollaborationController'])),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x548b99)),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x164d7f)),_0x19fee6(0x4,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x12c66b)),_0x19fee6(0x5,(0x0,_0x1e96bc['Inject'])(_0x54c1c7)),_0x19fee6(0x6,_0x163a5f[_0x29b412(0x268)]),_0x19fee6(0x7,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc['LocaleService']))],_0xfbf66);let _0x50b38e=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x524dfd,_0x933d4f,_0x5a0fc0,_0x544a99){const _0x3d9e12=_0x29b412;super(),this['_injector']=_0x524dfd,this[_0x3d9e12(0x20f)]=_0x933d4f,this[_0x3d9e12(0x3d0)]=_0x5a0fc0,this[_0x3d9e12(0x318)]=_0x544a99,_0x4878f2(this,_0x3d9e12(0x458),void 0x0),this[_0x3d9e12(0x19b)]();}[_0x29b412(0x19b)](){const _0x4d819b=_0x29b412;this[_0x4d819b(0x2a0)](),this[_0x4d819b(0x359)](),this[_0x4d819b(0x19e)](),this['_initUserListener']();}[_0x29b412(0x418)](){const _0x59f18a=_0x29b412;this['disposeWithMe'](this[_0x59f18a(0x318)]['socket$'][_0x59f18a(0x2ca)](_0xdd83e7=>{const _0x5d2f96=_0x59f18a;this[_0x5d2f96(0x458)]=_0xdd83e7==null?void 0x0:_0xdd83e7['memberID'];}));}[_0x29b412(0x2a0)](){const _0x5681de=_0x29b412;let _0x4569b9=_0x3d7c0e=>{const _0x5f2397=_0x1f09;var _0x2803cf;this[_0x5f2397(0x3d4)](_0x5f2397(0x1cf),_0x5f2397(0x24b)+_0x3d7c0e[_0x5f2397(0x217)]+'\x20at\x20'+_0x3d7c0e[_0x5f2397(0x440)]+':'+_0x3d7c0e['lineno']+':'+_0x3d7c0e['colno']+'\x0a'+(((_0x2803cf=_0x3d7c0e[_0x5f2397(0x1cf)])==null?void 0x0:_0x2803cf[_0x5f2397(0x360)])||''));};window[_0x5681de(0x234)](_0x5681de(0x1cf),_0x4569b9),this[_0x5681de(0x434)](()=>{const _0x489062=_0x5681de;window[_0x489062(0x154)](_0x489062(0x1cf),_0x4569b9);});}[_0x29b412(0x359)](){const _0x52fbff=_0x29b412;let _0xc272d1=_0x10ea62=>{const _0x39bb71=_0x1f09;this['_uploadLog'](_0x39bb71(0x1cf),_0x39bb71(0x3f1)+_0x10ea62[_0x39bb71(0x286)]);};window[_0x52fbff(0x234)]('unhandledrejection',_0xc272d1),this[_0x52fbff(0x434)](()=>{const _0x214f15=_0x52fbff;window[_0x214f15(0x154)](_0x214f15(0x2fa),_0xc272d1);});}[_0x29b412(0x19e)](){const _0x27b805=_0x29b412;let _0x1d6a12=this[_0x27b805(0x3d0)][_0x27b805(0x1cf)][_0x27b805(0x2fb)](this[_0x27b805(0x3d0)]);this[_0x27b805(0x3d0)][_0x27b805(0x1cf)]=(..._0x15125c)=>{const _0x19be7d=_0x27b805;let _0x1e75a4=_0x15125c[_0x19be7d(0x403)](_0x4ae5e9=>_0x4ae5e9 instanceof Error?_0x4ae5e9[_0x19be7d(0x217)]+'\x0a'+_0x4ae5e9['stack']:String(_0x4ae5e9))[_0x19be7d(0x15c)]('\x20');this['_uploadLog'](_0x19be7d(0x1cf),_0x19be7d(0x2dc)+_0x1e75a4),_0x1d6a12(..._0x15125c);},this[_0x27b805(0x434)](()=>{this['_logService']['error']=_0x1d6a12;});}[_0x29b412(0x3d4)](_0x291f91,_0x1d6558){const _0x3e150d=_0x29b412;try{let _0x15f7fb={'userId':this[_0x3e150d(0x458)],'logLabel':_0x291f91,'content':_0x1d6558};this[_0x3e150d(0x20f)][_0x3e150d(0x1a4)](_0x3e150d(0x300),{'body':_0x15f7fb})[_0x3e150d(0x3cd)](()=>{});}catch{}}};_0x50b38e=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc['ILogService']),_0x19fee6(0x3,(0x0,_0x1e96bc['Inject'])(_0x18e88d['CollaborationSessionService']))],_0x50b38e);let _0x3beb10=function(_0x36bfcf){const _0x3efb7f=_0x29b412;return _0x36bfcf[_0x36bfcf['UNDEFINED']=0x0]=_0x3efb7f(0x203),_0x36bfcf[_0x36bfcf['OK']=0x1]='OK',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d2)]=0x2]=_0x3efb7f(0x1d2),_0x36bfcf[_0x36bfcf['PERMISSION_DENIED']=0x3]=_0x3efb7f(0x459),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3f3)]=0x4]=_0x3efb7f(0x3f3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x39b)]=0x5]=_0x3efb7f(0x39b),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2da)]=0x6]=_0x3efb7f(0x2da),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x388)]=0x7]='INVALID_ARGUMENT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x398)]=0x8]=_0x3efb7f(0x398),_0x36bfcf[_0x36bfcf['COMPLETION_FINISHED']=0x9]=_0x3efb7f(0x36a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x32b)]=0xa]='LOGIN_FAILED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x379)]=0xb]=_0x3efb7f(0x379),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1cc)]=0xc]=_0x3efb7f(0x1cc),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x439)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x443)]=0xe]=_0x3efb7f(0x443),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1e8)]=0xf]=_0x3efb7f(0x1e8),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x44f)]=0x10]=_0x3efb7f(0x44f),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x214)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x31e)]=0x65]='ERROR_AGAIN',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1a7)]=0xc9]=_0x3efb7f(0x1a7),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x25a)]=0xca]=_0x3efb7f(0x25a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x248)]=0x1389]=_0x3efb7f(0x248),_0x36bfcf[_0x36bfcf['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3efb7f(0x259),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x38d)]=0x1772]=_0x3efb7f(0x38d),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3e3)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x36bfcf[_0x36bfcf['APPLY_REJECT']=0x1b59]=_0x3efb7f(0x271),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d0)]=0x1b5a]=_0x3efb7f(0x1d0),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2c1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2e8)]=0x1b5c]=_0x3efb7f(0x2e8),_0x36bfcf[_0x36bfcf['APPLY_DUPLICATED']=0x1b5d]=_0x3efb7f(0x2b8),_0x36bfcf[_0x36bfcf['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x36bfcf[_0x36bfcf['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3efb7f(0x372),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x16c)]=0x232a]=_0x3efb7f(0x16c),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3cc)]=0x232b]=_0x3efb7f(0x3cc),_0x36bfcf[_0x36bfcf['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3efb7f(0x40b),_0x36bfcf[_0x36bfcf['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3c3)]=0x2711]=_0x3efb7f(0x3c3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2d0)]=0x2712]=_0x3efb7f(0x2d0),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3a7)]=0x2713]=_0x3efb7f(0x3a7),_0x36bfcf[_0x36bfcf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3efb7f(0x366),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x29a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x35d)]=0x271b]=_0x3efb7f(0x35d),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x27c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x36bfcf[_0x36bfcf['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3efb7f(0x1e1),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x250)]=0x271e]=_0x3efb7f(0x250),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1d5)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x36bfcf[_0x36bfcf['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3efb7f(0x225),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x423)]=0x2af9]=_0x3efb7f(0x423),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x37b)]=0x2ee1]=_0x3efb7f(0x37b),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2a6)]=0x2ee2]='INVALID_INVITE_CODE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x1eb)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x290)]=0x2ee4]=_0x3efb7f(0x290),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x207)]=0x2ee5]=_0x3efb7f(0x207),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x183)]=0x32c9]=_0x3efb7f(0x183),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x466)]=0x32ca]=_0x3efb7f(0x466),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x30a)]=0x32cb]=_0x3efb7f(0x30a),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x389)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x36bfcf[_0x36bfcf['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x191)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x34b)]=0x36b4]=_0x3efb7f(0x34b),_0x36bfcf[_0x36bfcf['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2f2)]=0x36b6]=_0x3efb7f(0x2f2),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x235)]=0x36b7]=_0x3efb7f(0x235),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2e4)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x36bfcf[_0x36bfcf['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3efb7f(0x1c3),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3d1)]=0x3716]=_0x3efb7f(0x3d1),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x415)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3d2)]=0x37dd]=_0x3efb7f(0x3d2),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x15f)]=0x3a99]=_0x3efb7f(0x15f),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x413)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x3e1)]=0x3a9b]=_0x3efb7f(0x3e1),_0x36bfcf[_0x36bfcf['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x3efb7f(0x464),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x2f6)]=0x3a9d]=_0x3efb7f(0x2f6),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x35f)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x17a)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x36bfcf[_0x36bfcf[_0x3efb7f(0x276)]=0x3e81]=_0x3efb7f(0x276),_0x36bfcf[_0x36bfcf[_0x3efb7f(0x182)]=-0x1]=_0x3efb7f(0x182),_0x36bfcf;}({});function _0x2a8cbb(_0x178484){const _0x2d5bf4=_0x29b412;var _0xbccdf3,_0x4d83e3;let _0x1620e6=(_0xbccdf3=_0x178484[_0x2d5bf4(0x41f)])==null?void 0x0:_0xbccdf3[_0x2d5bf4(0x3b5)],_0x5a9676=((_0x4d83e3=_0x178484['stageInfo'])==null?void 0x0:_0x4d83e3[_0x2d5bf4(0x41d)])||0x0;return _0x1620e6===_0x3b565c[_0x2d5bf4(0x36f)][_0x2d5bf4(0x1c1)]&&_0x5a9676>0x0;}function _0x474789(_0x5a38cb){const _0x5d21aa=_0x29b412;return _0x5a38cb[_0x5d21aa(0x15b)]===_0x3b565c[_0x5d21aa(0x397)][_0x5d21aa(0x332)];}let _0x1e5951=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x21e94d,_0x46ea4c,_0x24baf4,_0x3bb4c0,_0x378ea8,_0xed9cc1,_0xc30640){const _0x269f35=_0x29b412;super(),this[_0x269f35(0x2d3)]=_0x21e94d,this[_0x269f35(0x1e4)]=_0x46ea4c,this['_configService']=_0x24baf4,this[_0x269f35(0x20f)]=_0x3bb4c0,this[_0x269f35(0x2d1)]=_0x378ea8,this[_0x269f35(0x3d0)]=_0xed9cc1,this[_0x269f35(0x382)]=_0xc30640,_0x4878f2(this,_0x269f35(0x230),null),_0x4878f2(this,_0x269f35(0x16a),0x0),_0x4878f2(this,'_currentUsage',0x0),_0x4878f2(this,_0x269f35(0x3a2),[]),_0x4878f2(this,_0x269f35(0x23b),0x0),this[_0x269f35(0x1ab)]();}[_0x29b412(0x1ab)](){const _0x487dc1=_0x29b412;this[_0x487dc1(0x434)](this[_0x487dc1(0x1e4)]['beforeCommandExecuted']((_0x488243,_0x1b1733)=>{const _0x546342=_0x487dc1;var _0x457cb8;if(_0x488243['id']!==_0x3b565c[_0x546342(0x18e)]['id'])return;let _0x4f6d0d=_0x488243[_0x546342(0x431)];if(this[_0x546342(0x258)]((_0x457cb8=_0x4f6d0d[_0x546342(0x2b6)])==null?[]:_0x457cb8)&&!this[_0x546342(0x246)]())throw this['_checkAndWaitForCalculationPermission'](_0x488243,_0x1b1733),this[_0x546342(0x2f4)](),new _0x1e96bc[(_0x546342(0x15e))]();})),this[_0x487dc1(0x434)](this[_0x487dc1(0x1e4)][_0x487dc1(0x2d9)]((_0x1c71b4,_0x215427)=>{const _0x11be81=_0x487dc1;if(_0x1c71b4['id']!==_0x3b565c[_0x11be81(0x186)]['id'])return;let _0x148593=_0x1c71b4[_0x11be81(0x431)];if(_0x2a8cbb(_0x148593)){let _0x32f570=(0x0,_0x1e96bc[_0x11be81(0x1f9)])();this['_taskIds']['push'](_0x32f570),this[_0x11be81(0x2c9)](_0x32f570);}else{if(_0x474789(_0x148593)&&this[_0x11be81(0x3a2)][_0x11be81(0x1b7)]>0x0){let _0x59e017=this[_0x11be81(0x3a2)][_0x11be81(0x3ae)]();this[_0x11be81(0x3c0)](_0x59e017);}}}));}[_0x29b412(0x1e7)](){const _0x37d2e0=_0x29b412;super[_0x37d2e0(0x1e7)](),this[_0x37d2e0(0x42d)](),this[_0x37d2e0(0x3a2)]=[],this[_0x37d2e0(0x26d)]=0x0,this[_0x37d2e0(0x16a)]=0x0,this[_0x37d2e0(0x23b)]=0x0;}async[_0x29b412(0x2a4)](_0x308e3f,_0x1b71b9){const _0x561cb9=_0x29b412;for(let _0x2c27e8=0x0;_0x2c27e8<0x1e;_0x2c27e8++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x308e3f,_0x1b71b9),this[_0x561cb9(0x2d3)][_0x561cb9(0x450)]({'content':this[_0x561cb9(0x382)]['t']('formula.calculation.started'),'type':_0x12bd8e[_0x561cb9(0x1b2)][_0x561cb9(0x26f)]});return;}await new Promise(_0x55d594=>{const _0x31137e=_0x561cb9;this[_0x31137e(0x230)]=window[_0x31137e(0x20a)](_0x55d594,0x3e8);});}catch(_0x4f166d){this[_0x561cb9(0x3d0)][_0x561cb9(0x1cf)](_0x4f166d);}this[_0x561cb9(0x2d3)][_0x561cb9(0x450)]({'content':this[_0x561cb9(0x382)]['t'](_0x561cb9(0x365)),'type':_0x12bd8e['MessageType'][_0x561cb9(0x369)]});}[_0x29b412(0x45b)](_0x319631,_0x498612){const _0x3c3957=_0x29b412;try{this['_commandService'][_0x3c3957(0x358)](_0x319631['id'],_0x319631[_0x3c3957(0x431)],_0x498612);}catch(_0x37c4c4){this[_0x3c3957(0x3d0)][_0x3c3957(0x1cf)](_0x37c4c4);}}[_0x29b412(0x23d)](_0x3fd9af,_0xf03def){const _0x37d609=_0x29b412;_0xf03def<this[_0x37d609(0x23b)]||(this[_0x37d609(0x23b)]=_0xf03def,this[_0x37d609(0x16a)]=Number[_0x37d609(0x391)](_0x3fd9af['maxFormulaLimit']),this[_0x37d609(0x26d)]=Number[_0x37d609(0x391)](_0x3fd9af['currentUsage']));}async[_0x29b412(0x2c9)](_0x46a356){const _0x535b68=_0x29b412;let _0x34b40f=Date['now']();try{var _0x3cef6d,_0x4a040d;let _0x2b6157=((_0x3cef6d=this['_configService'][_0x535b68(0x1f5)](_0x18e88d[_0x535b68(0x342)]))==null?void 0x0:_0x3cef6d[_0x535b68(0x1c4)])||_0x535b68(0x3af),_0x1b0210=(await this[_0x535b68(0x20f)][_0x535b68(0x1a4)](_0x2b6157,{'body':JSON['stringify']({'taskId':_0x46a356})}))[_0x535b68(0x2eb)];if(((_0x4a040d=_0x1b0210['error'])==null?void 0x0:_0x4a040d[_0x535b68(0x303)])!==_0x3beb10['OK'])return;this[_0x535b68(0x23d)](_0x1b0210[_0x535b68(0x3cb)],_0x34b40f);}catch(_0x3cc0e2){this[_0x535b68(0x3d0)][_0x535b68(0x1cf)](_0x3cc0e2);}}async[_0x29b412(0x38a)](_0x12c247){const _0x3530c9=_0x29b412;let _0x218eaa=Date[_0x3530c9(0x24f)]();try{var _0x3d2fc6,_0x516f11;let _0x3274f1=((_0x3d2fc6=this[_0x3530c9(0x363)][_0x3530c9(0x1f5)](_0x18e88d[_0x3530c9(0x342)]))==null?void 0x0:_0x3d2fc6[_0x3530c9(0x200)])||'/universer-api/license/formula/limit/status',_0x5f33e8=_0x12c247?_0x3274f1+_0x3530c9(0x3ba)+encodeURIComponent(_0x12c247):_0x3274f1,_0x4e9d51=(await this['_httpService'][_0x3530c9(0x17b)](_0x5f33e8))[_0x3530c9(0x2eb)];if(((_0x516f11=_0x4e9d51['error'])==null?void 0x0:_0x516f11[_0x3530c9(0x303)])!==_0x3beb10['OK'])return;this[_0x3530c9(0x23d)](_0x4e9d51[_0x3530c9(0x3cb)],_0x218eaa);}catch(_0x5d8a63){this['_logService'][_0x3530c9(0x1cf)](_0x5d8a63);}}async[_0x29b412(0x3c0)](_0x50a4dd){const _0x39dffc=_0x29b412;let _0x56937b=Date[_0x39dffc(0x24f)]();try{var _0xfdb0bc,_0x2e6300;let _0x2e1280=((_0xfdb0bc=this[_0x39dffc(0x363)]['getConfig'](_0x18e88d[_0x39dffc(0x342)]))==null?void 0x0:_0xfdb0bc[_0x39dffc(0x2c0)])||'/universer-api/license/formula/limit/done',_0xbb7257=(await this[_0x39dffc(0x20f)][_0x39dffc(0x1a4)](_0x2e1280,{'body':JSON[_0x39dffc(0x3fb)]({'taskId':_0x50a4dd})}))[_0x39dffc(0x2eb)];if(((_0x2e6300=_0xbb7257[_0x39dffc(0x1cf)])==null?void 0x0:_0x2e6300[_0x39dffc(0x303)])!==_0x3beb10['OK'])return;this['_setFormulaLimitStatus'](_0xbb7257[_0x39dffc(0x3cb)],_0x56937b);}catch(_0xf46bf7){this[_0x39dffc(0x3d0)][_0x39dffc(0x1cf)](_0xf46bf7);}}[_0x29b412(0x246)](){const _0xe75ed1=_0x29b412;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0xe75ed1(0x26d)]>0x0;}[_0x29b412(0x42d)](){const _0x422938=_0x29b412;this[_0x422938(0x230)]&&(clearTimeout(this[_0x422938(0x230)]),this[_0x422938(0x230)]=null);}[_0x29b412(0x2f4)](){const _0x1531d7=_0x29b412;this[_0x1531d7(0x2d3)]['show']({'content':this[_0x1531d7(0x382)]['t'](_0x1531d7(0x1e2)),'type':_0x12bd8e['MessageType'][_0x1531d7(0x201)]});}['_hasFormulaInDirtyRanges'](_0x193b9b){const _0x248844=_0x29b412;for(let _0x4bbf43 of _0x193b9b){let {unitId:_0x12c361,sheetId:_0x296e40,range:_0x4492e0}=_0x4bbf43,_0xeaf923=this[_0x248844(0x2d1)]['getUnit'](_0x12c361);if(!_0xeaf923)continue;let _0x59ceea=_0xeaf923[_0x248844(0x354)](_0x296e40);if(!_0x59ceea)continue;let _0x570ac7=_0x59ceea[_0x248844(0x414)]();for(let _0x34aeef=_0x4492e0[_0x248844(0x387)];_0x34aeef<=_0x4492e0[_0x248844(0x380)];_0x34aeef++)for(let _0x68cbc0=_0x4492e0[_0x248844(0x247)];_0x68cbc0<=_0x4492e0[_0x248844(0x42e)];_0x68cbc0++){let _0x27ce8a=_0x570ac7[_0x248844(0x27d)](_0x34aeef,_0x68cbc0);if(_0x27ce8a&&((0x0,_0x1e96bc[_0x248844(0x34c)])(_0x27ce8a['f'])||(0x0,_0x1e96bc[_0x248844(0x455)])(_0x27ce8a['si'])))return!0x0;}}return!0x1;}};_0x1e5951=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc['Inject'])(_0x163a5f[_0x29b412(0x268)])),_0x19fee6(0x1,_0x1e96bc[_0x29b412(0x42c)]),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x3,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac['HTTPService'])),_0x19fee6(0x4,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x5,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x6,(0x0,_0x1e96bc['Inject'])(_0x1e96bc[_0x29b412(0x1d9)]))],_0x1e5951);let _0x4ee559=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x55ff19,_0x2e4fc8,_0x4e12c7){const _0x3f352f=_0x29b412;super(),this[_0x3f352f(0x363)]=_0x55ff19,this[_0x3f352f(0x308)]=_0x2e4fc8,this[_0x3f352f(0x256)]=_0x4e12c7,_0x4878f2(this,_0x3f352f(0x2cd),new Map()),_0x4878f2(this,'_saveTaskMap',new Map()),_0x4878f2(this,_0x3f352f(0x184),!0x1);}[_0x29b412(0x37e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x41fcd7=_0x29b412;this[_0x41fcd7(0x184)]=!0x1;}get['saveTaskMap'](){const _0xa33c8a=_0x29b412;return this[_0xa33c8a(0x2b5)];}[_0x29b412(0x1e7)](){const _0x2e2606=_0x29b412;this[_0x2e2606(0x337)]()[_0x2e2606(0x232)](()=>super['dispose']());}async[_0x29b412(0x2db)](_0x36edda){const _0x569688=_0x29b412;return this[_0x569688(0x184)]?null:this['_localStorageService']['getItem']((0x0,_0x18e88d['getLocalCacheKey'])(_0x36edda));}async['saveOfflineData'](_0x32c0e9,_0x411d7a){const _0x417c9b=_0x29b412;return!!this[_0x417c9b(0x308)][_0x417c9b(0x3f6)](_0x32c0e9,_0x411d7a);}[_0x29b412(0x3b8)](_0x410647,_0x3b3a3c,_0x5e3515,_0x448abd){const _0x337add=_0x29b412;let _0x43b28b=this[_0x337add(0x256)][_0x337add(0x17d)](_0x410647);this[_0x337add(0x2cd)][_0x337add(0x1dc)](_0x410647,{'unitID':_0x410647,'type':_0x3b3a3c,'awaitingChangeset':_0x5e3515,'mutations':_0x448abd,'rev':_0x43b28b}),this[_0x337add(0x2b5)][_0x337add(0x411)](_0x410647)||this[_0x337add(0x178)](_0x410647);}[_0x29b412(0x178)](_0x2b27bd){const _0x12e3ab=_0x29b412;let _0x48f44e=this['_getSaveTimeout']();_0x48f44e===0x0?this[_0x12e3ab(0x240)](_0x2b27bd):this['_saveTaskMap']['set'](_0x2b27bd,setTimeout(()=>this[_0x12e3ab(0x240)](_0x2b27bd),_0x48f44e));}[_0x29b412(0x199)](){const _0x38f477=_0x29b412;var _0x912de2;return(_0x912de2=this[_0x38f477(0x363)][_0x38f477(0x1f5)](_0x18e88d[_0x38f477(0x18d)]))==null?_0x18e88d[_0x38f477(0x32c)]:_0x912de2;}[_0x29b412(0x240)](_0x20d5be){const _0x2899b7=_0x29b412;let _0xb67ecb=this[_0x2899b7(0x2b5)][_0x2899b7(0x17b)](_0x20d5be);return _0xb67ecb!==void 0x0&&window['clearTimeout'](_0xb67ecb),this[_0x2899b7(0x308)][_0x2899b7(0x3f6)]((0x0,_0x18e88d[_0x2899b7(0x2c6)])(_0x20d5be),this[_0x2899b7(0x2cd)][_0x2899b7(0x17b)](_0x20d5be))[_0x2899b7(0x232)](()=>this[_0x2899b7(0x2b5)]['delete'](_0x20d5be));}async['exhaustSavingTask'](){const _0x4265c5=_0x29b412;let _0x1a2b7e=[];this[_0x4265c5(0x2b5)][_0x4265c5(0x312)]((_0x4026a7,_0x48094c)=>{const _0x3ad648=_0x4265c5;window['clearTimeout'](_0x4026a7),_0x1a2b7e[_0x3ad648(0x3ec)](this['_saveCache'](_0x48094c)[_0x3ad648(0x232)](()=>{const _0x5ae92d=_0x3ad648;this[_0x5ae92d(0x2b5)][_0x5ae92d(0x24d)](_0x48094c);}));}),await Promise[_0x4265c5(0x291)](_0x1a2b7e);}};_0x4ee559=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x1,_0x1e96bc['ILocalStorageService']),_0x19fee6(0x2,(0x0,_0x1e96bc['Inject'])(_0x55fb1d[_0x29b412(0x239)]))],_0x4ee559);var _0x294890=class extends _0x1e96bc['RxDisposable']{constructor(){const _0xd3f5bc=_0x29b412;super(),_0x4878f2(this,_0xd3f5bc(0x3ca),void 0x0),this[_0xd3f5bc(0x3ca)]=(0x0,_0x25f103[_0xd3f5bc(0x2f1)])(window,_0xd3f5bc(0x2c7))[_0xd3f5bc(0x23c)]((0x0,_0x25f103[_0xd3f5bc(0x3c7)])(this['dispose$']),(0x0,_0x25f103['shareReplay'])(0x1),(0x0,_0x25f103[_0xd3f5bc(0x3b3)])(void 0x0));}[_0x29b412(0x346)](_0x413666,_0x326232,_0x3e0221=!0x1){const _0x1b3183=_0x29b412;let _0x6ccd70=new URL(window[_0x1b3183(0x3ed)][_0x1b3183(0x168)]);_0x6ccd70[_0x1b3183(0x1c0)][_0x1b3183(0x1dc)](_0x413666,_0x326232),_0x3e0221?window[_0x1b3183(0x451)]['replaceState']('','',_0x6ccd70['toString']()):window[_0x1b3183(0x451)][_0x1b3183(0x32d)]('','',_0x6ccd70[_0x1b3183(0x28f)]());}[_0x29b412(0x383)](_0x11f5a1,_0x471ce2=!0x1){const _0x5a9f1d=_0x29b412;let _0x3ddd6f=new URL(window[_0x5a9f1d(0x3ed)][_0x5a9f1d(0x168)]);_0x3ddd6f[_0x5a9f1d(0x1c0)]['delete'](_0x11f5a1),_0x471ce2?window[_0x5a9f1d(0x451)][_0x5a9f1d(0x438)]('','',_0x3ddd6f[_0x5a9f1d(0x28f)]()):window[_0x5a9f1d(0x451)][_0x5a9f1d(0x32d)]('','',_0x3ddd6f[_0x5a9f1d(0x28f)]());}[_0x29b412(0x263)](_0x5ae4f3){const _0x5d996a=_0x29b412;var _0x33fbf2;return(_0x33fbf2=new URL(window[_0x5d996a(0x3ed)]['href'])[_0x5d996a(0x1c0)]['get'](_0x5ae4f3))==null?void 0x0:_0x33fbf2;}};let _0x5003be=class extends _0x1e96bc[_0x29b412(0x3e4)]{constructor(_0x3277a9=_0x26ee57,_0x2a4ba0,_0x42caf8,_0x581d62){const _0xecfc8c=_0x29b412;super(),this[_0xecfc8c(0x324)]=_0x3277a9,this['_renderManagerService']=_0x2a4ba0,this['_injector']=_0x42caf8,this[_0xecfc8c(0x363)]=_0x581d62;let {..._0x16b781}=(0x0,_0x1e96bc[_0xecfc8c(0x371)])({},_0x26ee57,this['_config']);this[_0xecfc8c(0x363)][_0xecfc8c(0x176)](_0x2eef91,_0x16b781);}[_0x29b412(0x28e)](){const _0x1f9c22=_0x29b412;this[_0x1f9c22(0x3c5)](),this[_0x1f9c22(0x2fe)]();}[_0x29b412(0x3d6)](){const _0x118bc5=_0x29b412;this[_0x118bc5(0x284)]();}[_0x29b412(0x3c5)](){const _0xfc99aa=_0x29b412;var _0x53d6dc;let _0x5ba7a0=[[_0x447e19],[_0x1e5951],[_0x12c66b],[_0x548b99],[_0x164d7f],[_0x54c1c7],[_0x19d706,{'useClass':_0x294890}],[_0xe453ac[_0xfc99aa(0x42b)],{'useClass':_0xe453ac[_0xfc99aa(0x3bd)]}],[_0x18e88d[_0xfc99aa(0x2ec)],{'useClass':_0x4ee559}],[_0x31d8d2],[_0xfbf66],[_0x3bab23],[_0x396377],[_0x3048a8],[_0x4bd713]];this[_0xfc99aa(0x324)]['enableFrontendLog']&&_0x5ba7a0['push']([_0x50b38e]),(0x0,_0x1e96bc[_0xfc99aa(0x2bb)])(this['_injector'],(0x0,_0x1e96bc[_0xfc99aa(0x1c8)])(_0x5ba7a0,(_0x53d6dc=this['_config'])==null?void 0x0:_0x53d6dc[_0xfc99aa(0x270)]));}[_0x29b412(0x284)](){const _0x6a358c=_0x29b412;this[_0x6a358c(0x434)](this[_0x6a358c(0x16e)][_0x6a358c(0x2e3)](_0x1e96bc[_0x6a358c(0x20d)][_0x6a358c(0x1dd)],[_0x303d04])),this['disposeWithMe'](this[_0x6a358c(0x16e)][_0x6a358c(0x2e3)](_0x1e96bc[_0x6a358c(0x20d)][_0x6a358c(0x3b4)],[_0x1225ba]));}['_initDependencies'](){const _0x7ac55d=_0x29b412;(0x0,_0x1e96bc[_0x7ac55d(0x311)])(this[_0x7ac55d(0x21f)],[[_0x396377],[_0x31d8d2],[_0xfbf66],[_0x3bab23],[_0x4bd713],[_0x1e5951]]),this[_0x7ac55d(0x324)][_0x7ac55d(0x2af)]&&(0x0,_0x1e96bc[_0x7ac55d(0x311)])(this[_0x7ac55d(0x21f)],[[_0x50b38e]]);}};_0x4878f2(_0x5003be,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x4878f2(_0x5003be,_0x29b412(0x2aa),_0x3a7710),_0x4878f2(_0x5003be,_0x29b412(0x32e),_0x4df1c3),_0x5003be=_0x1c9c51([(0x0,_0x1e96bc[_0x29b412(0x3df)])(_0x18e88d[_0x29b412(0x33d)]),_0x19fee6(0x1,_0x42ac73[_0x29b412(0x417)]),_0x19fee6(0x2,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x3,_0x1e96bc['IConfigService'])],_0x5003be);let _0x10dd44=class extends _0x18e88d[_0x29b412(0x3d5)]{constructor(_0x28b029,_0x5c4938,_0x2de144,_0x3e716b,_0x291f72){super(_0x28b029,_0x5c4938,_0x2de144,_0x3e716b,_0x291f72);}async[_0x29b412(0x340)](_0x232ed9){const _0x4d569d=_0x29b412;let _0x49fc19=await this[_0x4d569d(0x400)](),_0x2ffcc0=this['_createSocketURL'](_0x232ed9,_0x49fc19);return this[_0x4d569d(0x44e)](_0x2ffcc0);}['_createSocketURL'](_0x265d40,_0x5ca5c9){const _0x5954ca=_0x29b412;let _0x2a278a=typeof window>'u'?new URL(_0x265d40):new URL(_0x265d40,window[_0x5954ca(0x3ed)]['origin']);_0x2a278a[_0x5954ca(0x1c0)][_0x5954ca(0x1dc)](_0x5954ca(0x35b),_0x5ca5c9);let _0x2fb8ee=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5954ca(0x3ed)][_0x5954ca(0x361)]);return _0x2fb8ee[_0x5954ca(0x17b)]('runId')&&_0x2a278a[_0x5954ca(0x1c0)]['set']('runId',_0x2fb8ee[_0x5954ca(0x17b)](_0x5954ca(0x422))),_0x2a278a[_0x5954ca(0x28f)]();}async['_getSessionTicket'](){const _0x2cd5bc=_0x29b412;var _0x44de20,_0x54941b,_0x414ddb;let _0x5b99c9=this[_0x2cd5bc(0x363)][_0x2cd5bc(0x1f5)](_0x18e88d[_0x2cd5bc(0x342)]),_0x7aafde=(_0x44de20=_0x5b99c9==null?void 0x0:_0x5b99c9['wsSessionTicketUrl'])==null?_0x18e88d['DEFAULT_WS_SESSION_TICKET_URL']:_0x44de20;return(_0x54941b=(_0x414ddb=(await this[_0x2cd5bc(0x20f)][_0x2cd5bc(0x17b)](_0x7aafde,{'headers':{'Content-Type':_0x2cd5bc(0x3b0)}}))[_0x2cd5bc(0x2eb)])==null?void 0x0:_0x414ddb[_0x2cd5bc(0x3de)])==null?'':_0x54941b;}};_0x10dd44=_0x1c9c51([_0x19fee6(0x0,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0x1e96bc[_0x29b412(0x3dd)])),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc[_0x29b412(0x41b)]),_0x19fee6(0x3,_0x1e96bc[_0x29b412(0x24a)]),_0x19fee6(0x4,_0x55fb1d[_0x29b412(0x407)])],_0x10dd44);let _0x24bc76=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(_0x514373,_0x1ca4d4,_0x3ab589){const _0x448d2d=_0x29b412;super(),this['_instanceService']=_0x514373,this[_0x448d2d(0x20f)]=_0x1ca4d4,this[_0x448d2d(0x363)]=_0x3ab589;}async['runOnServer'](_0x7ae2c7,_0x2a9ed8,_0x22d292,..._0x1fec78){const _0x553f84=_0x29b412;var _0x11c2cf,_0x5b555a,_0x31f17d,_0x20e274;let _0x85692a=this[_0x553f84(0x31d)][_0x553f84(0x37d)]();if(!_0x85692a)throw Error(_0x553f84(0x1fe));let _0x172f98=((_0x11c2cf=this['_configService'][_0x553f84(0x1f5)](_0x18e88d['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x18e88d[_0x553f84(0x2d2)]:_0x11c2cf)+'/'+_0x7ae2c7+'/run/'+_0x2a9ed8,_0x1dabef={'scriptId':_0x7ae2c7,'runId':(_0x5b555a=new URL(window[_0x553f84(0x3ed)][_0x553f84(0x168)])[_0x553f84(0x1c0)][_0x553f84(0x17b)](_0x553f84(0x422)))==null?'':_0x5b555a,'function':_0x2a9ed8,'unitId':_0x85692a['getUnitId'](),'argsOfFunction':JSON[_0x553f84(0x3fb)](_0x1fec78),'invokeId':(_0x31f17d=_0x22d292[_0x553f84(0x27a)])==null?'':_0x31f17d,'executionId':(_0x20e274=_0x22d292[_0x553f84(0x395)])==null?'':_0x20e274};try{let _0x1bc09b=await this['_httpService'][_0x553f84(0x1a4)](_0x172f98,{'body':_0x1dabef});return _0x1bc09b['body'][_0x553f84(0x1cf)]&&_0x1bc09b[_0x553f84(0x2eb)][_0x553f84(0x1cf)]['code']!==_0x3beb10['OK']?'Failed':_0x1bc09b['body'][_0x553f84(0x399)];}catch{return _0x553f84(0x25c);}}};_0x24bc76=_0x1c9c51([_0x19fee6(0x0,_0x1e96bc[_0x29b412(0x28a)]),_0x19fee6(0x1,(0x0,_0x1e96bc[_0x29b412(0x1ff)])(_0xe453ac[_0x29b412(0x30f)])),_0x19fee6(0x2,_0x1e96bc['IConfigService'])],_0x24bc76);var _0x5ba476=function(_0x1ae756){const _0x551be8=_0x29b412;return _0x1ae756[_0x1ae756[_0x551be8(0x462)]=0x0]=_0x551be8(0x462),_0x1ae756[_0x1ae756[_0x551be8(0x22a)]=0x1]=_0x551be8(0x22a),_0x1ae756[_0x1ae756['HEARTBEAT']=0x2]=_0x551be8(0x436),_0x1ae756;}(_0x5ba476||{});let _0x484776=0x7530,_0x12e800=_0x29b412(0x1c5);var _0xa6a228=class extends _0x1e96bc[_0x29b412(0x299)]{constructor(){const _0x314ece=_0x29b412;super(),_0x4878f2(this,_0x314ece(0x174),(0x0,_0x1e96bc[_0x314ece(0x1f9)])()),_0x4878f2(this,'_selfUnitIDs',new Set()),_0x4878f2(this,'_unitOnClients',new Map()),_0x4878f2(this,_0x314ece(0x45e),null),_0x4878f2(this,'_clearOtherTimers',new Map()),_0x4878f2(this,_0x314ece(0x374),new Map()),this[_0x314ece(0x19b)]();}[_0x29b412(0x1e7)](){const _0xaba82e=_0x29b412;super[_0xaba82e(0x1e7)](),this[_0xaba82e(0x1e0)][_0xaba82e(0x312)]((_0x1314f8,_0xb530e0)=>this[_0xaba82e(0x377)](_0xb530e0)),this[_0xaba82e(0x45e)]&&window[_0xaba82e(0x2d6)](this['_heartbeatTimer']);}[_0x29b412(0x172)](_0x3f6b34){const _0x5cde09=_0x29b412;return this[_0x5cde09(0x167)](_0x3f6b34)[_0x5cde09(0x23c)]((0x0,_0x25f103[_0x5cde09(0x1d1)])());}[_0x29b412(0x257)](_0x3789d5){const _0x312bda=_0x29b412;this['_selfUnitIDs'][_0x312bda(0x2e1)]===0x0&&this[_0x312bda(0x1c7)](),this[_0x312bda(0x1f2)][_0x312bda(0x20c)](_0x3789d5),this[_0x312bda(0x3a9)]({'type':_0x5ba476[_0x312bda(0x462)],'memberID':this['_id'],'unitIDs':[_0x3789d5],'isForwarded':!0x1});}[_0x29b412(0x427)](_0xf9e57f){const _0x3ce809=_0x29b412;this[_0x3ce809(0x1f2)][_0x3ce809(0x24d)](_0xf9e57f),this[_0x3ce809(0x1f2)][_0x3ce809(0x2e1)]===0x0&&this[_0x3ce809(0x45e)]&&window[_0x3ce809(0x2d6)](this[_0x3ce809(0x45e)]);}['_init'](){const _0x4023cd=_0x29b412;this['disposeWithMe']((0x0,_0x1e96bc[_0x4023cd(0x202)])((0x0,_0x25f103['fromEvent'])(window,_0x4023cd(0x162))['subscribe'](_0x1d3ae4=>{const _0x255133=_0x4023cd;if(_0x1d3ae4[_0x255133(0x310)]!==_0x12e800||!_0x1d3ae4[_0x255133(0x350)])return;let _0x33b0ff=JSON[_0x255133(0x1da)](_0x1d3ae4['newValue']);this[_0x255133(0x2c8)](_0x33b0ff);}))),window[_0x4023cd(0x234)](_0x4023cd(0x2a3),()=>this['_send']({'type':_0x5ba476['LEAVE'],'memberID':this[_0x4023cd(0x174)],'unitIDs':Array['from'](this[_0x4023cd(0x1f2)])}));}[_0x29b412(0x2c8)](_0x168819){const _0x55543c=_0x29b412;switch(_0x168819['type']){case _0x5ba476[_0x55543c(0x462)]:this['_handleJoinEvent'](_0x168819);break;case _0x5ba476[_0x55543c(0x22a)]:this['_handleLeaveEvent'](_0x168819);break;case _0x5ba476['HEARTBEAT']:this[_0x55543c(0x3f2)](_0x168819);break;}}[_0x29b412(0x32f)](_0x9726a0){const _0xe37db4=_0x29b412;let {unitIDs:_0x377a14,memberID:_0x5c6e93,isForwarded:_0x46b543}=_0x9726a0;_0x377a14[_0xe37db4(0x312)](_0x2a033a=>{const _0x4c3a4e=_0xe37db4;if(!_0x46b543&&this[_0x4c3a4e(0x33b)][_0x4c3a4e(0x411)](_0x2a033a)&&this['_ensureSubject'](_0x2a033a)[_0x4c3a4e(0x1db)](_0x18e88d[_0x4c3a4e(0x327)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x4c3a4e(0x411)](_0x2a033a)||!this[_0x4c3a4e(0x33b)][_0x4c3a4e(0x17b)](_0x2a033a)['has'](_0x5c6e93)){let _0x504774=this[_0x4c3a4e(0x33b)]['get'](_0x2a033a)||new Set();_0x504774[_0x4c3a4e(0x20c)](_0x5c6e93),this[_0x4c3a4e(0x33b)]['set'](_0x2a033a,_0x504774),this[_0x4c3a4e(0x1a8)](_0x5c6e93);}}),_0x46b543||this[_0xe37db4(0x3a9)]({'type':_0x5ba476[_0xe37db4(0x462)],'memberID':this[_0xe37db4(0x174)],'unitIDs':[...this[_0xe37db4(0x1f2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x378d36){const _0x12e442=_0x29b412;this[_0x12e442(0x377)](_0x378d36);let _0x294b79=window[_0x12e442(0x20a)](()=>{const _0xbc866d=_0x12e442;this[_0xbc866d(0x33b)][_0xbc866d(0x312)](_0x4ac55d=>{_0x4ac55d['delete'](_0x378d36);});},_0x484776*0x2);this[_0x12e442(0x1e0)][_0x12e442(0x1dc)](_0x378d36,_0x294b79);}[_0x29b412(0x377)](_0x4c6fbf){const _0xa18723=_0x29b412;if(this[_0xa18723(0x1e0)][_0xa18723(0x411)](_0x4c6fbf)){let _0x1a25a3=this[_0xa18723(0x1e0)][_0xa18723(0x17b)](_0x4c6fbf);_0x1a25a3&&window[_0xa18723(0x325)](_0x1a25a3),this[_0xa18723(0x1e0)][_0xa18723(0x1dc)](_0x4c6fbf,null);}}['_handleLeaveEvent'](_0x378933){const _0x1f2c32=_0x29b412;let {memberID:_0x379f84,unitIDs:_0x5d2b22}=_0x378933;_0x5d2b22[_0x1f2c32(0x312)](_0x5a1483=>{const _0x4ffb66=_0x1f2c32;var _0x2455a3;let _0x401af4=this['_unitOnClients'][_0x4ffb66(0x17b)](_0x5a1483);_0x401af4&&(_0x401af4[_0x4ffb66(0x24d)](_0x379f84),(_0x2455a3=this['_ensureSubject'](_0x5a1483))==null||_0x2455a3['next'](_0x401af4[_0x4ffb66(0x2e1)]===0x0?_0x18e88d['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x18e88d['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x379f84);}[_0x29b412(0x3f2)](_0x21243b){const _0xb54d03=_0x29b412;this[_0xb54d03(0x1a8)](_0x21243b[_0xb54d03(0x242)]);}[_0x29b412(0x3a9)](_0x58ebbb){const _0x49bf5c=_0x29b412;localStorage[_0x49bf5c(0x3f6)](_0x12e800,JSON[_0x49bf5c(0x3fb)](_0x58ebbb));}[_0x29b412(0x1c7)](){const _0x31b8b1=_0x29b412;this[_0x31b8b1(0x45e)]=window[_0x31b8b1(0x19a)](()=>{const _0x46feb0=_0x31b8b1;this[_0x46feb0(0x3a9)]({'type':_0x5ba476['HEARTBEAT'],'memberID':this['_id']});},_0x484776);}[_0x29b412(0x167)](_0x18b938){const _0x7745ff=_0x29b412;return this['_unitStatus'][_0x7745ff(0x411)](_0x18b938)||this['_unitStatus'][_0x7745ff(0x1dc)](_0x18b938,new _0x25f103[(_0x7745ff(0x177))](_0x18e88d[_0x7745ff(0x327)][_0x7745ff(0x320)])),this['_unitStatus']['get'](_0x18b938);}};Object['defineProperty'](_0x2f0af9,_0x29b412(0x373),{'enumerable':!0x0,'get':function(){return _0x10dd44;}}),Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x2c5),{'enumerable':!0x0,'get':function(){return _0x4bd713;}}),Object[_0x29b412(0x45a)](_0x2f0af9,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x31d8d2;}}),_0x2f0af9['IURLService']=_0x19d706,Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x26b),{'enumerable':!0x0,'get':function(){return _0x24bc76;}}),_0x2f0af9[_0x29b412(0x1e9)]=_0x5a9d20,Object[_0x29b412(0x45a)](_0x2f0af9,_0x29b412(0x306),{'enumerable':!0x0,'get':function(){return _0x5003be;}}),_0x2f0af9[_0x29b412(0x159)]=_0xa6a228,_0x2f0af9[_0x29b412(0x430)]=_0x294890;}));function _0x1f09(_0x10e4fb,_0x4ac7e0){_0x10e4fb=_0x10e4fb-0x152;const _0x59b470=_0x59b4();let _0x1f094f=_0x59b470[_0x10e4fb];return _0x1f094f;}function _0x59b4(){const _0x2f001b=['touchDependencies','forEach','DocIMEInputManagerService','ONLINE','_backgroundColor','_collaborationUIEventService','_hover','_collaborationSessionService','TEXT','subscribeEvent','height','clsx','_instanceService','ERROR_AGAIN','getTypeOfUnitDisposed$','NO_OTHER_CLIENTS_EDITING','Subject','CollaborationController','fillStyle','_config','clearTimeout','uni.network.url-service','UnitStatus','_color','@univerjs/drawing','_onCursorUpdate','LOGIN_FAILED','LOCAL_CACHE_INTERVAL','pushState','version','_handleJoinEvent','path','Active','SUCCESS','_docSyncEditingCollabCursorService','_blinkIntervalTimer','_colorIndex','url(#on-line-icon_clip0_910_349)','exhaustSavingTask','_imageIoService','_cursor','Warning','_unitOnClients','_docStateChangeManagerService','UniverCollaborationClientPlugin','...','_themeService','createSocket','asObservable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DocStateChangeManagerService','fillRule','EffectRefRangId','setParam','getAncestorScale','SetWorksheetActivateCommand','isEditing','getCoordByCell','PAYMENT_CHANNEL_NOT_SUPPORT','isFormulaString','undoState','eventID','none','newValue','_collabCursorState$','getMemberID','highlightSecond','getSheetBySheetId','InsertRowCommandId','min','Unknown\x20user','executeCommand','_initUnhandledRejectionListener','univerjs-icon\x20univerjs-icon-','sessionTicket','743302wgMTmn','YUUMI_ASYNCIO_CANCELLED','_drawAnchor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','stack','search','SHEET_VIEWPORT_KEY','_configService','UniverEngineRender','formula.calculation.unable','YUUMI_SUBSCRIPTION_NOT_FOUND','getUndoRedoMutationParamsCache','addObject','Error','COMPLETION_FINISHED','idSuffix','UniverRpc','_setupBeforeClosingHandler','#FFF','FormulaExecuteStageType','red.300','merge','LICENSE_MAX_UNITS_EXCEEDED','BrowserCollaborationSocketService','_unitStatus','CollaborationUIEventService','actions','_removeClearOtherTimer','unitId','MOBILE_VERIFY_CODE_MISMATCH','init','INVITE_CODE_HAS_BEEN_UES','_docTransformIMECacheService','getFocusedUnit','disableLocalCache','34xuqZej','endRow','PENDING','_localeService','removeParam','_removeCollabCursors','CollaborationUIEventId','runRefRangeMutations','startRow','INVALID_ARGUMENT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_getFormulaLimitStatus','getCurrentUnitForType','toStringTag','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSessionService','UniverNetwork','_initCommandExecutedListener','parseInt','_cursorShapes','getUnitId','DisposableCollection','executionId','UniverDrawing','FormulaExecutedStateType','TOO_MANY_REQUESTS','result','addObjects','UNAUTHENTICATED','NodePositionConvertToCursor','getStateCache','transformMutationsWithChangeset','getUnhiddenWorksheets','defIds','deepClone','_taskIds','JOIN_ROOM_FAILED','_toggleOnline','_hideTimer','with','YUUMI_RATE_OVER_LIMIT','useCallback','_send','_transformHistoryAndStateStack','session.will-retry','doc.mutation.rich-text-editing','DeleteRangeMoveUpCommandId','shift','/universer-api/license/formula/limit/start','application/json','collabStatus.fetchMiss','createElement','mapTo','UNIVER_SHEET','stage','throttleTime','arc','updateOfflineData','top','?taskId=','transformByState','unsubscribe','WebSocketService','isTransformMutationsWithChangesetSuccess','_updateLocalCursor','_releaseCalculationLimit','restore','SetTextSelectionsOperation','YUUMI_UNABLE_LOAD_URL','getColor','_registerDependencies','_syncEditingCollabCursorService','takeUntil','SetDocZoomRatioOperation','operators','urlChange$','limitInfo','LICENSE_IMPORT_SIZE_EXCEEDED','catch','_name','session.collaboration-timeout','_logService','ENTITLE_REPORT_LIMIT_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_getLighterColor','_uploadLog','CollaborationSocketService','onRendered','_entityInit$','DocSelectionManagerService','Inactive','getActiveRange','loadUnit','off-line-icon_clip0_910_343','Injector','ticket','DependentOn','tag','REDEMPTION_CODE_FULLY_REDEEMED','COLORS','ENSURE_SNAPSHOT_EXECUTION','Plugin','xlink:href','handleMoveRange','SheetsSelectionsService','send','_render','getColorFromTheme','FETCH_MISS','push','location','rgb','Shape','_initStatusComponent','[Unhandled\x20Rejection]:\x20','_handleHeartbeatEvent','NOT_FOUND','trim','rxjs','setItem','_highlight','http://www.w3.org/2000/svg','textRanges','Module','stringify','handleInsertRangeMoveDown','_localCacheService','_getScale','skeleton','_getSessionTicket','_document','attrs','map','engine','RichTextEditingMutation','BuiltInUIPart','ISnapshotServerService','_getMergeRange','some','_range','LICENSE_EXPORT_SIZE_EXCEEDED','RefRangeService','saveImage','clipPath','HEADER_MENU','_blinkTimer','has','_initStatusListener','REDEMPTION_CODE_INACTIVE','getCellMatrix','ENTITLE_INSUFFICIENT_QUOTA','string','IRenderManagerService','_initUserListener','serializeRangeWithSheet','column','IConfigService','isArray','totalFormulasToCalculate','react','stageInfo','event$','addClipboardHook','runId','PY_RUNTIME_SCRIPT_ERROR','debug','saveTaskMap','colorChannel1','disposeUnit','onLocalMutation','_startSheetCollabCursor','ITransformService','ISocketService','ICommandService','_clearPolling','endColumn','SOCKET_FAILED_RETRY','WebURLService','params','jiqing.500','_urlService','disposeWithMe','React','HEARTBEAT','getSheetObject','replaceState','EMAIL_VERIFY_CODE_MISMATCH','switchMap','transform','isActive','TRANSFORM_CHANGE_OBSERVABLE_TYPE','[CollaborationDataLoaderController]','@univerjs-pro/collaboration-client','filename','Vector2','filter','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','complete','33lApEUK','_transformService','m2Prime','collaboration.offline-data-not-saved','moveTo','max','mask','color','MUTATION','_doCreateSocket','LOGIN_TOKEN_PROCESSING_FAILED','show','history','_sheetSkeletonManagerService','_showText','handleInsertRangeMoveRight','isFormulaId','current','1em','_memberID','PERMISSION_DENIED','defineProperty','_applyCommand','getDocRanges','RECT','_heartbeatTimer','collaboration.closeRoom','@univerjs/rpc','11460jnClSV','JOIN','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','216324KxrgPW','prototype','removeEventListener','DOC_RANGE_TYPE','getRenderById','transformSelections','_context','WebBrowserSingleActiveUnitService','addHandlerCallback','functionsExecutedState','join','text','CanceledError','REDEMPTION_INVALID_CODE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getRelativeToViewportCoord','storage','toPrimitive','_setupSubUnitSync','dispose$','save','_ensureSubject','href','on-line-icon_clip0_910_349','_maxFormulaLimit','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_drawTextRange','_renderManagerService','UniverSheetsUi','UniverProCollaboration','_uiPartsService','getUnitStatus$','_notificationService','_id','UniverProCollaborationClientUi','setConfig','BehaviorSubject','_scheduleSaving','_onCursorDelete','REDEMPTION_CODE_HAS_BEEN_CREATED','get','currentTheme$','getCurrentRevOfUnit','handleIRemoveRow','collabStatus.synced','unitID','displayName','UNRECOGNIZED','WECHAT_HAS_BEEN_BOUND','_disabled','replaceDocRanges','SetFormulaCalculationNotificationMutation','DeleteRangeMoveLeftCommandId','_docSkeleton','transformStateCache','142863KHaNrg','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createInstance','LOCAL_CACHE_INTERVAL_KEY','SetFormulaCalculationStartMutation','_getAnchorBounding','drawWith','ENTITLE_DUP_SUBSCRIPTION','_updateCollabCursors','hide','_transformUndoRedoStack','UniverUi','12LeHlXt','getCollabCursors$','offsetY','_getSaveTimeout','setInterval','_init','combineLatest','_cursors','_monkeyPatchLogService','NOT_COLLAB','RemoveRowCommandId','connectInjector','evenodd','@univerjs/design','post','_shapes','_memberService','USER_NOT_FOUND','_scheduleClearOtherTimer','_entities','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','_initCommandInterceptor','docStateChange$','setShapeProps','selections','_toggleOffline','contains','USERS_LEAVE','MessageType','getCollabEntity$','_roomMembers$','_docClipboardService','default','length','bottom','div','ranges','entityInit$','selection','@univerjs-pro/collaboration-client-ui','SetSelectionsOperation','unit','searchParams','START_CALCULATION','flatMap','ENTITLE_CHAT_LIMIT_EXCEED','startFormulaLimitUrl','ACTIVE_UNIT_EVENT_CHANNEL','OFFLINE','_scheduleHeartbeat','mergeOverrideWithDependencies','_initResize','lineTo','UniverCore','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','assign','on-line-icon','error','APPLY_NON_SEQUENTIAL_REVISION','distinctUntilChanged','INTERNAL_ERROR','_drawRectRange','font','YUUMI_AI_RUN_FAILED','SOCKET_FAILED','split','includes','LocaleService','parse','next','set','UNIVER_DOC','collabStatus.offline','InsertRangeMoveDownCommandId','_clearOtherTimers','YUUMI_ALL_TABLES_IS_INVALID','formula.calculation.waiting','@univerjs/network','_commandService','roomMembers$','permission.content','dispose','AUTHORIZE_CODE_ILLEGAL','SheetCollabCursorShape','setUndoRedoMutationParamsCache','INVITE_CODE_REQUIRED','OffLineIcon','rgba(255,\x20255,\x20255,\x200.01)','rxjs/operators','getRangePointData','ColorKit','symbol','_selfUnitIDs','CollaborationEvent','_beforeCloseService','getConfig','_status$','SessionStatus','handleDeleteRangeMoveLeft','generateRandomId','_highlightSecond','status$',',\x200.2)','@univerjs/core','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Inject','getFormulaLimitStatusUrl','Loading','toDisposable','UNDEFINED','_initEvent','_offsetY','_isBlinkVisible','INVITE_CODE_ALREADY_BOUND','@univerjs/sheets-ui','react/jsx-runtime','setTimeout','Optional','add','UniverInstanceType','debounce','_httpService','_startBlinking','_updateURLWithCurrentState','@univerjs/engine-render','debounceTime','CURRENT_STATUS_CANNOT_OPERATE','SUBMIT_CHANGESET_TIMEOUT','getOffsetConfig','message','OTHER_CLIENT_EDITING','getSkeleton','onTransformChange$','_collabCursorController','setAlpha','_colorAssignService','_eventUnsubscribe','_injector','startsWith','InsertRangeMoveRightCommandId','_refreshCollabCursors','_online','highlight','YUUMI_CONNECTOR_URL_NOT_FOUND','_cursorInfo$','FromArray','_initEntityListener','use','LEAVE','RegularPolygon','setActiveRange','labelPosition','cursorInfo','CollaborationStatus','_pollingInterval','url(#$1','then','range','addEventListener','ENTITLE_COUPON_USED_UP','NodePositionConvertToRectRange','DocSkeletonManagerService','IRemoteInstanceService','RevisionService','collabStatus.conflict','_lastResponseTimestamp','pipe','_setFormulaLimitStatus','getCurrentSelections','OnLineIcon','_saveCache','_labelPosition','memberID','toRgbString','transformRemoteChangeset','_dataLoaderService','_checkCalculationAvailable','startColumn','CHANGESET_REVISION_CONFILICT','forwardRef','ILogService','[Window\x20Error]:\x20','requireSession','delete','currentSkeleton$','now','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_refRangeService','_updateSubUnitFromURLParams','values','onPointerLeave$','transformMutation','_revisionService','editingUnit','_hasFormulaInDirtyRanges','SNAPSHOT_INVALID_SNAPSHOT','USER_IS_ANONYMOUS','955DscQLb','Failed','_hovered','svg','source','mutations','Tooltip','getVpScrollXYInfoByPosToVp','getParam','transformIMECache','UniverProCollaborationClient','backgroundColor','RxDisposable','IMessageService','jsxs','measureText','RemoteUniscriptService','replace','_currentUsage','collabStatus.syncing','Success','override','APPLY_REJECT','handleDeleteRangeMoveUp','onPointerMove$','redoState','_docTransformStateCacheService','DATA_SOURCE_TOO_LARGE','subunit','1308730AVRXjb','getMergeData','invokeId','registerRefRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getValue','_collaborationController','onMouseMove','@univerjs/sheets','_collabSessionService','decorate','findNodePositionByCharIndex','_registerRenderDependencies','_scene','reason','Tools','permission.title','jsx','IUniverInstanceService','IImageIoService','_docTransformSelectionsService','useDependency','onStarting','toString','USER_NOT_INVITED_CODE','all','black','handleIRemoveCol','_anchor','imageSourceType','m1Prime','UniverDocsUi','name','Disposable','YUUMI_NO_CUBOID_FOR_QUESTION','strokeWidth','UniverEngineFormula','getUniverSheetInstance','createIdentifier','round','_initWindowErrorListener','setStateCache','getSheetId','unload','_checkAndWaitForCalculationPermission','white','INVALID_INVITE_CODE','CommandType','_draw','_assignedColors','packageName','DocCollaborationEntity','@univerjs/docs','IDocClipboardService','width','enableFrontendLog','MemberService','13028340AnCfWH','getViewport','collaboration-client-ui.config','green.600','_saveTaskMap','dirtyRanges','row','APPLY_DUPLICATED','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','16709ASTYzO','registerDependencies','sessionStatus$','getOwnPropertyDescriptor','TEXT_RANGE_LAYER_INDEX','exports','releaseFormulaLimitUrl','APPLY_REVISION_CONFILICT','SYNCED','0\x200\x2017\x2016','data','CollaborationDataLoaderController','getLocalCacheKey','popstate','_handleEvent','_startCalculationLimit','subscribe','_stopBlinking','rgba(','_cachedData','0.19.0','focused$','YUUMI_URL_COL_OUT_OF_RANGE','_univerInstanceService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_messageService','entries','sheetID','clearInterval','session.connection-failed','104RgBQah','onCommandExecuted','ALREADY_EXISTS','loadOfflineData','[LogService\x20Error]:\x20','_onRefRangeChange','fillText','M0\x200H16V16H0z','UPDATE_CURSOR','size','_transformPreviousActiveRange','registerRenderModule','ENTITLE_USE_COUPON_NOT_1ST_TRADE','unshift','fill','defs','APPLY_PERMISSION_DENIED','_anchorDot','isTransformMutationFailure','body','ILocalCacheService','_lastPointer','subUnitId','call','function','fromEvent','ENTITLE_COUPON_EXPIRED','collab-client.tooltip.reconnect','_showGuardMessage','makeDirty','REDEMPTION_USER_NOT_ELIGIBLE','blue.400','type','children','unhandledrejection','bind','assignAColorForMemberID','_docSkeletonManagerService','_initDependencies','currentColor','/universer-api/frontend/logs','getMember','_handleHover','code','roomMembers','_textBubble','UniverCollaborationClientUIPlugin','_getSheetObject','_localStorageService','cursorInfo$','EMAIL_HAS_BEEN_BOUND','object','from','fromEventSubject','syncEditingCollabCursor','HTTPService','key'];_0x59b4=function(){return _0x2f001b;};return _0x59b4();}
1
+ (function(_0x1392d0,_0x815005){const _0xf15b67=_0xff8c,_0x5a94bb=_0x1392d0();while(!![]){try{const _0x5f4c3e=-parseInt(_0xf15b67(0x33c))/0x1*(parseInt(_0xf15b67(0x35a))/0x2)+parseInt(_0xf15b67(0x2b0))/0x3*(-parseInt(_0xf15b67(0x258))/0x4)+-parseInt(_0xf15b67(0x1b5))/0x5+parseInt(_0xf15b67(0x459))/0x6+parseInt(_0xf15b67(0x3e1))/0x7+-parseInt(_0xf15b67(0x23f))/0x8*(parseInt(_0xf15b67(0x2d7))/0x9)+parseInt(_0xf15b67(0x309))/0xa;if(_0x5f4c3e===_0x815005)break;else _0x5a94bb['push'](_0x5a94bb['shift']());}catch(_0x2baf60){_0x5a94bb['push'](_0x5a94bb['shift']());}}}(_0x178d,0x2570d),function(_0x2fdb2a,_0x528d4b){const _0x54ecd9=_0xff8c;typeof exports==_0x54ecd9(0x207)&&typeof module<'u'?_0x528d4b(exports,require(`@univerjs-pro/collaboration-client`),require(`@univerjs/core`),require(`@univerjs/ui`),require(`rxjs`),require(`@univerjs/design`),require(`react`),require(`react/jsx-runtime`),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==_0x54ecd9(0x441)&&define[_0x54ecd9(0x492)]?define([_0x54ecd9(0x279),_0x54ecd9(0x23c),'@univerjs/core','@univerjs/ui',_0x54ecd9(0x34b),_0x54ecd9(0x46f),_0x54ecd9(0x334),_0x54ecd9(0x2f0),_0x54ecd9(0x1f1),_0x54ecd9(0x2a2),'@univerjs/engine-render',_0x54ecd9(0x218),_0x54ecd9(0x30e),_0x54ecd9(0x244),_0x54ecd9(0x3de),_0x54ecd9(0x406),_0x54ecd9(0x299),_0x54ecd9(0x1ff),_0x54ecd9(0x363)],_0x528d4b):(_0x2fdb2a=typeof globalThis<'u'?globalThis:_0x2fdb2a||self,_0x528d4b(_0x2fdb2a[_0x54ecd9(0x21f)]={},_0x2fdb2a['UniverProCollaborationClient'],_0x2fdb2a[_0x54ecd9(0x429)],_0x2fdb2a['UniverUi'],_0x2fdb2a[_0x54ecd9(0x34b)],_0x2fdb2a[_0x54ecd9(0x43a)],_0x2fdb2a['React'],_0x2fdb2a[_0x54ecd9(0x370)],_0x2fdb2a[_0x54ecd9(0x301)],_0x2fdb2a['UniverSheets'],_0x2fdb2a[_0x54ecd9(0x498)],_0x2fdb2a[_0x54ecd9(0x1a1)],_0x2fdb2a[_0x54ecd9(0x321)],_0x2fdb2a[_0x54ecd9(0x46d)],_0x2fdb2a[_0x54ecd9(0x425)],_0x2fdb2a[_0x54ecd9(0x3d6)],_0x2fdb2a[_0x54ecd9(0x281)],_0x2fdb2a['rxjs'][_0x54ecd9(0x2a5)],_0x2fdb2a[_0x54ecd9(0x37a)]));}(this,function(_0x4bdf46,_0x3839b9,_0x412392,_0x197442,_0x1af95b,_0x39ba33,_0x41dd93,_0xec8f0c,_0x3d3cc4,_0x36e5e1,_0x6b7952,_0x1aaf00,_0x493739,_0x556f51,_0x584220,_0x5bad8c,_0x3eef3a,_0x5a2ef1,_0x2e45e6){const _0x2c832d=_0xff8c;Object[_0x2c832d(0x361)](_0x4bdf46,Symbol['toStringTag'],{'value':'Module'});function _0xe4b778({ref:_0x36c7fc,..._0x587935}){const _0x2bd681=_0x2c832d;let {icon:_0x3f07ed,id:_0x3f611f,className:_0xc0840d,extend:_0x5abbbf,..._0x442d0a}=_0x587935,_0x4546fa=(_0x2bd681(0x2ff)+_0x3f611f+'\x20'+(_0xc0840d||''))[_0x2bd681(0x25d)](),_0x5564c9=(0x0,_0x41dd93[_0x2bd681(0x4b2)])('_'+_0xbf0d7());return _0x240f6f(_0x3f07ed,''+_0x3f611f,{'defIds':_0x3f07ed['defIds'],'idSuffix':_0x5564c9['current']},{'ref':_0x36c7fc,'className':_0x4546fa,..._0x442d0a},_0x5abbbf);}function _0x240f6f(_0xa7189e,_0x5ec8e0,_0xb39865,_0xe5bd7a,_0x508609){const _0x5d0656=_0x2c832d;return(0x0,_0x41dd93['createElement'])(_0xa7189e[_0x5d0656(0x499)],{'key':_0x5ec8e0,..._0x3e2625(_0xa7189e,_0xb39865,_0x508609),..._0xe5bd7a},(_0x203da1(_0xa7189e,_0xb39865)['children']||[])[_0x5d0656(0x464)]((_0x25f654,_0x56ebac)=>_0x240f6f(_0x25f654,_0x5ec8e0+'-'+_0xa7189e['tag']+'-'+_0x56ebac,_0xb39865,void 0x0,_0x508609)));}function _0x3e2625(_0x4e46f2,_0x396b23,_0x1e610a){const _0x4da0b6=_0x2c832d;let _0x39676d={..._0x4e46f2[_0x4da0b6(0x230)]};_0x1e610a!=null&&_0x1e610a[_0x4da0b6(0x3f4)]&&_0x39676d[_0x4da0b6(0x3be)]==='colorChannel1'&&(_0x39676d[_0x4da0b6(0x3be)]=_0x1e610a[_0x4da0b6(0x3f4)]),_0x4e46f2[_0x4da0b6(0x499)]===_0x4da0b6(0x1bd)&&_0x39676d['id']&&(_0x39676d['id']+=_0x396b23['idSuffix']),Object[_0x4da0b6(0x473)](_0x39676d)[_0x4da0b6(0x341)](([_0x2f6345,_0x5e6200])=>{const _0x3b64aa=_0x4da0b6;_0x2f6345===_0x3b64aa(0x1bd)&&typeof _0x5e6200==_0x3b64aa(0x1ba)&&(_0x39676d[_0x2f6345]=_0x5e6200[_0x3b64aa(0x23e)](/url\(#(.*)\)/,'url(#$1'+_0x396b23['idSuffix']+')'));});let {defIds:_0x5e336a}=_0x396b23;return!_0x5e336a||_0x5e336a['length']===0x0?_0x39676d:(_0x4e46f2['tag']==='use'&&_0x39676d[_0x4da0b6(0x247)]&&(_0x39676d['xlink:href']+=_0x396b23[_0x4da0b6(0x261)]),Object['entries'](_0x39676d)['forEach'](([_0x2f91a7,_0x197521])=>{const _0x49adae=_0x4da0b6;typeof _0x197521==_0x49adae(0x1ba)&&(_0x39676d[_0x2f91a7]=_0x197521[_0x49adae(0x23e)](/url\(#(.*)\)/,_0x49adae(0x28a)+_0x396b23[_0x49adae(0x261)]+')'));}),_0x39676d);}function _0x203da1(_0x2cbb4b,_0x3f03ab){const _0x4eb7c2=_0x2c832d;var _0xa4daed;let {defIds:_0x330fa5}=_0x3f03ab;return!_0x330fa5||_0x330fa5[_0x4eb7c2(0x1e6)]===0x0?_0x2cbb4b:_0x2cbb4b[_0x4eb7c2(0x499)]===_0x4eb7c2(0x2ac)&&(_0xa4daed=_0x2cbb4b[_0x4eb7c2(0x2e6)])!=null&&_0xa4daed[_0x4eb7c2(0x1e6)]?{..._0x2cbb4b,'children':_0x2cbb4b['children']['map'](_0x5d3ff7=>typeof _0x5d3ff7[_0x4eb7c2(0x230)]['id']==_0x4eb7c2(0x1ba)&&_0x330fa5&&_0x330fa5['includes'](_0x5d3ff7[_0x4eb7c2(0x230)]['id'])?{..._0x5d3ff7,'attrs':{..._0x5d3ff7[_0x4eb7c2(0x230)],'id':_0x5d3ff7['attrs']['id']+_0x3f03ab[_0x4eb7c2(0x261)]}}:_0x5d3ff7)}:_0x2cbb4b;}function _0xbf0d7(){const _0xc4a080=_0x2c832d;return Math[_0xc4a080(0x1dd)]()[_0xc4a080(0x263)](0x24)[_0xc4a080(0x25e)](0x2,0x8);}_0xe4b778[_0x2c832d(0x25a)]=_0x2c832d(0x482);let _0x2ccd5e={'tag':_0x2c832d(0x20a),'attrs':{'xmlns':_0x2c832d(0x3ec),'fill':_0x2c832d(0x484),'viewBox':_0x2c832d(0x1e0),'width':'1em','height':_0x2c832d(0x311)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'stroke':_0x2c832d(0x1d2),'d':_0x2c832d(0x3f2),'strokeLinecap':_0x2c832d(0x47c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'fill':_0x2c832d(0x461),'d':_0x2c832d(0x1e8)}}]}]}],'defIds':[_0x2c832d(0x337)]},_0x206c92=(0x0,_0x41dd93[_0x2c832d(0x2fd)])(function(_0x5566b3,_0x48aeb0){const _0xe07734=_0x2c832d;return(0x0,_0x41dd93[_0xe07734(0x310)])(_0xe4b778,Object[_0xe07734(0x32d)]({},_0x5566b3,{'id':'off-line-icon','ref':_0x48aeb0,'icon':_0x2ccd5e}));});_0x206c92[_0x2c832d(0x25a)]=_0x2c832d(0x1b2);let _0x5e8e3d={'tag':_0x2c832d(0x20a),'attrs':{'xmlns':_0x2c832d(0x3ec),'fill':_0x2c832d(0x484),'viewBox':_0x2c832d(0x40c),'width':_0x2c832d(0x311),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c832d(0x326)},'children':[{'tag':_0x2c832d(0x20f),'attrs':{'stroke':_0x2c832d(0x1d2),'d':_0x2c832d(0x20b),'strokeLinecap':_0x2c832d(0x47c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2c832d(0x2ac),'attrs':{},'children':[{'tag':_0x2c832d(0x277),'attrs':{'id':_0x2c832d(0x3f6)},'children':[{'tag':'path','attrs':{'fill':_0x2c832d(0x461),'d':_0x2c832d(0x1e8),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2c832d(0x3f6)]},_0x4ca495=(0x0,_0x41dd93['forwardRef'])(function(_0x12fa26,_0x2eb8ac){const _0x3abf78=_0x2c832d;return(0x0,_0x41dd93[_0x3abf78(0x310)])(_0xe4b778,Object[_0x3abf78(0x32d)]({},_0x12fa26,{'id':_0x3abf78(0x351),'ref':_0x2eb8ac,'icon':_0x5e8e3d}));});_0x4ca495[_0x2c832d(0x25a)]=_0x2c832d(0x1a0);function _0x4e19d0(_0x3a4399){const _0x2d68bb=_0x2c832d;switch(_0x3a4399){case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x289)]:return _0x2d68bb(0x27b);case _0x3839b9['CollaborationStatus'][_0x2d68bb(0x3a6)]:return _0x2d68bb(0x43e);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x414)]:return'collabStatus.fetchMiss';case _0x3839b9[_0x2d68bb(0x2b6)]['NOT_COLLAB']:return _0x2d68bb(0x426);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x1c8)]:case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x47b)]:return _0x2d68bb(0x38e);case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x493)]:case _0x3839b9[_0x2d68bb(0x2b6)][_0x2d68bb(0x42b)]:return'collabStatus.synced';}}function _0x2e5e12(_0x4d5491){const _0x217ba2=_0x2c832d;let {status$:_0x435c9a}=_0x4d5491,_0x17b16f=(0x0,_0x197442['useObservable'])(_0x435c9a,_0x3839b9[_0x217ba2(0x2b6)][_0x217ba2(0x222)]),_0x1a9ada=(0x0,_0x197442['useDependency'])(_0x412392['LocaleService']),_0x2d7f0c=(0x0,_0x197442[_0x217ba2(0x3d9)])(_0x3839b9[_0x217ba2(0x37f)]),_0x2227ba=_0x17b16f!==_0x3839b9['CollaborationStatus']['OFFLINE'],_0x21b371=_0x1a9ada['t'](_0x4e19d0(_0x17b16f)),_0x294cf8=_0x2227ba?(0x0,_0xec8f0c['jsx'])(_0x4ca495,{}):(0x0,_0xec8f0c[_0x217ba2(0x1db)])(_0x206c92,{}),_0xbc7ce4=(0x0,_0x41dd93[_0x217ba2(0x2fb)])(()=>{const _0x2f18ed=_0x217ba2;_0x2227ba||_0x2d7f0c[_0x2f18ed(0x39c)]();},[_0x2227ba,_0x2d7f0c]);function _0x5cdb4b(){const _0x12bc6c=_0x217ba2;return(0x0,_0xec8f0c[_0x12bc6c(0x39b)])(_0x12bc6c(0x4a8),{'className':_0x12bc6c(0x3f7),'onClick':_0xbc7ce4,'children':[(0x0,_0xec8f0c[_0x12bc6c(0x1db)])(_0x12bc6c(0x4a8),{'className':(0x0,_0x39ba33[_0x12bc6c(0x34e)])(_0x12bc6c(0x24f),{'univer-text-green-500':_0x2227ba,'univer-text-red-500':!_0x2227ba}),'children':_0x294cf8}),(0x0,_0xec8f0c[_0x12bc6c(0x1db)])(_0x12bc6c(0x4a8),{'className':_0x12bc6c(0x30b),'children':_0x21b371})]});}return _0x2227ba?_0x5cdb4b():(0x0,_0xec8f0c[_0x217ba2(0x1db)])(_0x39ba33[_0x217ba2(0x451)],{'title':_0x1a9ada['t'](_0x217ba2(0x3b3)),'children':_0x5cdb4b()});}function _0x38acbe(_0x3c162a){'@babel/helpers - typeof';const _0x2dd107=_0x2c832d;return _0x38acbe=typeof Symbol==_0x2dd107(0x441)&&typeof Symbol[_0x2dd107(0x347)]==_0x2dd107(0x26d)?function(_0x1d3f67){return typeof _0x1d3f67;}:function(_0x2c35e4){const _0x2d429d=_0x2dd107;return _0x2c35e4&&typeof Symbol==_0x2d429d(0x441)&&_0x2c35e4[_0x2d429d(0x249)]===Symbol&&_0x2c35e4!==Symbol[_0x2d429d(0x278)]?_0x2d429d(0x26d):typeof _0x2c35e4;},_0x38acbe(_0x3c162a);}function _0x5dc897(_0x28a693,_0x252bd4){const _0x28c637=_0x2c832d;if(_0x38acbe(_0x28a693)!='object'||!_0x28a693)return _0x28a693;var _0x237dee=_0x28a693[Symbol[_0x28c637(0x3a7)]];if(_0x237dee!==void 0x0){var _0x2fd15a=_0x237dee[_0x28c637(0x3a9)](_0x28a693,_0x252bd4||_0x28c637(0x2c8));if(_0x38acbe(_0x2fd15a)!=_0x28c637(0x207))return _0x2fd15a;throw TypeError(_0x28c637(0x254));}return(_0x252bd4===_0x28c637(0x1ba)?String:Number)(_0x28a693);}function _0x4e7b89(_0x3cbe0b){const _0x4377b2=_0x2c832d;var _0xf5954f=_0x5dc897(_0x3cbe0b,_0x4377b2(0x1ba));return _0x38acbe(_0xf5954f)==_0x4377b2(0x26d)?_0xf5954f:_0xf5954f+'';}function _0x4a0977(_0x223235,_0x41c30d,_0x15f8e5){return(_0x41c30d=_0x4e7b89(_0x41c30d))in _0x223235?Object['defineProperty'](_0x223235,_0x41c30d,{'value':_0x15f8e5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x223235[_0x41c30d]=_0x15f8e5,_0x223235;}function _0x144f1b(_0x47e639,_0x31249a){return function(_0x433476,_0x42875c){_0x31249a(_0x433476,_0x42875c,_0x47e639);};}function _0x568561(_0x2642f6,_0x1dad74,_0x5b14e8,_0x295d86){const _0x91ac43=_0x2c832d;var _0x40424d=arguments[_0x91ac43(0x1e6)],_0x438277=_0x40424d<0x3?_0x1dad74:_0x295d86===null?_0x295d86=Object[_0x91ac43(0x320)](_0x1dad74,_0x5b14e8):_0x295d86,_0x92b869;if(typeof Reflect==_0x91ac43(0x207)&&typeof Reflect[_0x91ac43(0x1bb)]=='function')_0x438277=Reflect[_0x91ac43(0x1bb)](_0x2642f6,_0x1dad74,_0x5b14e8,_0x295d86);else{for(var _0xc8e714=_0x2642f6[_0x91ac43(0x1e6)]-0x1;_0xc8e714>=0x0;_0xc8e714--)(_0x92b869=_0x2642f6[_0xc8e714])&&(_0x438277=(_0x40424d<0x3?_0x92b869(_0x438277):_0x40424d>0x3?_0x92b869(_0x1dad74,_0x5b14e8,_0x438277):_0x92b869(_0x1dad74,_0x5b14e8))||_0x438277);}return _0x40424d>0x3&&_0x438277&&Object[_0x91ac43(0x361)](_0x1dad74,_0x5b14e8,_0x438277),_0x438277;}let _0x51fe36=class extends _0x412392['Disposable']{constructor(_0x5cadb5,_0x2b7ce9,_0x4d8385,_0x2d6edb){const _0x14b7d7=_0x2c832d;super(),this[_0x14b7d7(0x206)]=_0x5cadb5,this[_0x14b7d7(0x3b8)]=_0x2b7ce9,this[_0x14b7d7(0x389)]=_0x4d8385,this['_uiPartsService']=_0x2d6edb,_0x4a0977(this,_0x14b7d7(0x471),new _0x1af95b[(_0x14b7d7(0x3d7))](_0x3839b9[_0x14b7d7(0x2b6)][_0x14b7d7(0x222)])),this[_0x14b7d7(0x1df)](),this[_0x14b7d7(0x390)]();}[_0x2c832d(0x390)](){const _0x425ce4=_0x2c832d;this['disposeWithMe'](this[_0x425ce4(0x206)][_0x425ce4(0x1f5)][_0x425ce4(0x1ed)]((0x0,_0x1af95b['switchMap'])(()=>{const _0x58e5c8=_0x425ce4;let _0x5cd474=this['_univerInstanceService'][_0x58e5c8(0x4a0)]();return _0x5cd474?this[_0x58e5c8(0x389)]['getCollabEntity$'](_0x5cd474[_0x58e5c8(0x418)]()):(0x0,_0x1af95b['of'])(null);}),(0x0,_0x1af95b[_0x425ce4(0x2e1)])(_0x43394d=>_0x43394d?_0x43394d[_0x425ce4(0x34f)]:(0x0,_0x1af95b['of'])(_0x3839b9[_0x425ce4(0x2b6)][_0x425ce4(0x222)])))[_0x425ce4(0x2ef)](_0x26901f=>{const _0x98ac4=_0x425ce4;this[_0x98ac4(0x471)][_0x98ac4(0x34a)](_0x26901f);}));}[_0x2c832d(0x1df)](){const _0x1c757f=_0x2c832d;this[_0x1c757f(0x319)](this[_0x1c757f(0x4a5)][_0x1c757f(0x495)](_0x197442['BuiltInUIPart'][_0x1c757f(0x386)],()=>(0x0,_0x197442[_0x1c757f(0x30d)])(_0x409b3f({'status$':this['_status$'][_0x1c757f(0x280)]()}),this['_injector'])));}};_0x51fe36=_0x568561([_0x144f1b(0x0,_0x412392['IUniverInstanceService']),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x3839b9['CollaborationController'])),_0x144f1b(0x3,_0x197442[_0x2c832d(0x1bf)])],_0x51fe36);function _0x409b3f(_0x42363e){let {status$:_0x5d12f3}=_0x42363e;return function(){const _0x57423d=_0xff8c;return(0x0,_0xec8f0c[_0x57423d(0x1db)])(_0x2e5e12,{'status$':_0x5d12f3});};}let _0x8c589b=(0x0,_0x412392[_0x2c832d(0x35d)])(_0x2c832d(0x3c0)),_0x2109df=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x3f4370,_0x452d40,_0x5c861a,_0x1e7bfd,_0x1ca64b){const _0xc97d17=_0x2c832d;super(),this[_0xc97d17(0x423)]=_0x3f4370,this[_0xc97d17(0x436)]=_0x452d40,this[_0xc97d17(0x3b6)]=_0x5c861a,this['_dataLoaderService']=_0x1e7bfd,_0x1ca64b?_0x1ca64b==null||_0x1ca64b[_0xc97d17(0x2c3)]()['then'](()=>this['_init']()):(this[_0xc97d17(0x436)][_0xc97d17(0x456)]('[CollaborationDataLoaderController]',_0xc97d17(0x2ea)),this[_0xc97d17(0x21c)]());}async[_0x2c832d(0x21c)](){const _0x564ec6=_0x2c832d;let _0x4734ad=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x36c)),_0x3c5773=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x199)),_0x5da80f=this[_0x564ec6(0x423)][_0x564ec6(0x25f)](_0x564ec6(0x417));if(!_0x4734ad||!_0x3c5773){this[_0x564ec6(0x436)][_0x564ec6(0x456)](_0x564ec6(0x2bd),_0x564ec6(0x240));return;}let _0x1dcb4e=await this['_dataLoaderService'][_0x564ec6(0x2ce)](_0x4734ad,Number(_0x3c5773),_0x5da80f);_0x1dcb4e&&_0x1dcb4e instanceof _0x412392[_0x564ec6(0x3c6)]&&this[_0x564ec6(0x33e)](_0x1dcb4e);}async['_setupSubUnitSync'](_0x563676){const _0x2d4bd1=_0x2c832d;await this[_0x2d4bd1(0x276)](_0x563676),_0x563676[_0x2d4bd1(0x1a9)][_0x2d4bd1(0x1ed)]((0x0,_0x1af95b[_0x2d4bd1(0x37d)])(this[_0x2d4bd1(0x378)]))['subscribe'](_0x3cb0f5=>{_0x3cb0f5&&this['_updateURLWithCurrentState'](_0x3cb0f5);}),this[_0x2d4bd1(0x423)][_0x2d4bd1(0x1e7)]['pipe']((0x0,_0x1af95b[_0x2d4bd1(0x37d)])(this[_0x2d4bd1(0x378)]))['subscribe'](()=>this[_0x2d4bd1(0x276)](_0x563676));}[_0x2c832d(0x437)](_0xf3c661,_0x2eb34a=!0x1){const _0x645c9c=_0x2c832d;let _0x2c00a7=this[_0x645c9c(0x423)]['getParam'](_0x645c9c(0x417));_0xf3c661[_0x645c9c(0x38d)]()!==_0x2c00a7&&this[_0x645c9c(0x423)][_0x645c9c(0x1a6)](_0x645c9c(0x417),_0xf3c661[_0x645c9c(0x38d)](),_0x2eb34a);}async['_updateSubUnitFromURLParams'](_0x5a1f3d){const _0x4d5bfc=_0x2c832d;var _0x15cc2c;let _0x3b87e9=this[_0x4d5bfc(0x423)][_0x4d5bfc(0x25f)](_0x4d5bfc(0x417));if(!_0x3b87e9||!_0x5a1f3d[_0x4d5bfc(0x2a9)](_0x3b87e9)){let _0x24f313=_0x5a1f3d[_0x4d5bfc(0x224)]()[0x0],_0x27270d=_0x5a1f3d[_0x4d5bfc(0x2a9)](_0x24f313);if(!_0x27270d)return;this[_0x4d5bfc(0x437)](_0x27270d,!0x0),await this['_commandService']['executeCommand'](_0x36e5e1['SetWorksheetActivateCommand']['id'],{'unitId':_0x5a1f3d[_0x4d5bfc(0x418)](),'subUnitId':_0x24f313});return;}((_0x15cc2c=_0x5a1f3d[_0x4d5bfc(0x48f)]())==null?void 0x0:_0x15cc2c[_0x4d5bfc(0x38d)]())!==_0x3b87e9&&await this[_0x4d5bfc(0x3b6)][_0x4d5bfc(0x2d6)](_0x36e5e1['SetWorksheetActivateCommand']['id'],{'unitId':_0x5a1f3d[_0x4d5bfc(0x418)](),'subUnitId':_0x3b87e9});}};_0x2109df=_0x568561([_0x144f1b(0x0,_0x8c589b),_0x144f1b(0x1,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x2,_0x412392[_0x2c832d(0x335)]),_0x144f1b(0x3,(0x0,_0x412392['Inject'])(_0x3839b9[_0x2c832d(0x360)])),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x20d)])(_0x3d3cc4['IRemoteInstanceService']))],_0x2109df);var _0x29c032='@univerjs-pro/collaboration-client-ui',_0x35beee=_0x2c832d(0x257);let _0x3d1d63=class extends _0x412392['RxDisposable']{constructor(_0x564d80,_0x44621c){const _0x2ab993=_0x2c832d;super(),this[_0x2ab993(0x318)]=_0x564d80,this['_imageIoService']=_0x44621c,this[_0x2ab993(0x21c)]();}['_init'](){const _0x3f8733=_0x2c832d;let _0x31866e=this;this[_0x3f8733(0x319)](this[_0x3f8733(0x318)][_0x3f8733(0x412)]({'onBeforePasteImage':async _0x337244=>{const _0x2baae9=_0x3f8733;let _0x1635d2=await _0x31866e[_0x2baae9(0x3cb)][_0x2baae9(0x205)](_0x337244);return _0x1635d2?{'source':_0x1635d2[_0x2baae9(0x497)],'imageSourceType':_0x1635d2[_0x2baae9(0x287)]}:null;}}));}};_0x3d1d63=_0x568561([_0x144f1b(0x0,_0x493739[_0x2c832d(0x4a2)]),_0x144f1b(0x1,_0x556f51[_0x2c832d(0x1da)])],_0x3d1d63);let _0x2df781=['purple.300','jiqing.500',_0x2c832d(0x267),_0x2c832d(0x2f6),_0x2c832d(0x3db),_0x2c832d(0x489)];var _0x4ad64a=class extends _0x412392[_0x2c832d(0x29e)]{constructor(..._0x5e1730){const _0x2461c7=_0x2c832d;super(..._0x5e1730),_0x4a0977(this,'_assignedColors',new Map()),_0x4a0977(this,_0x2461c7(0x2dd),0x0);}['assignAColorForMemberID'](_0x3a8544){const _0x5dd90f=_0x2c832d;if(this[_0x5dd90f(0x331)][_0x5dd90f(0x27c)](_0x3a8544))return this[_0x5dd90f(0x331)][_0x5dd90f(0x24d)](_0x3a8544);let _0x158f71=_0x2df781[this[_0x5dd90f(0x2dd)]];return this[_0x5dd90f(0x2dd)]=(this[_0x5dd90f(0x2dd)]+0x1)%_0x2df781[_0x5dd90f(0x1e6)],this[_0x5dd90f(0x331)]['set'](_0x3a8544,_0x158f71),_0x158f71;}},_0x573e6b=function(_0x36341c){const _0x10ac47=_0x2c832d;return _0x36341c['Active']='1',_0x36341c[_0x10ac47(0x21a)]='0',_0x36341c;}(_0x573e6b||{});function _0x17be86(_0x54ca13){const _0x1cc3c7=_0x2c832d;let _0x120dd5='';for(let _0x3713aa of _0x54ca13){let {startOffset:_0x2a3046,endOffset:_0x1cc35c,isActive:_0x3727c6,rangeType:_0x40550c,segmentId:_0x4c18d1,segmentPage:_0x3bb238}=_0x3713aa;_0x120dd5[_0x1cc3c7(0x1e6)]&&(_0x120dd5+=','),_0x120dd5+=_0x2a3046+':'+_0x1cc35c+':'+(_0x3727c6?_0x573e6b['Active']:_0x573e6b[_0x1cc3c7(0x21a)])+':'+_0x40550c+':'+_0x4c18d1+':'+_0x3bb238;}return _0x120dd5;}function _0xe8c5f2(_0xd6e311){const _0x11d47d=_0x2c832d;let _0xb0b110=_0xd6e311['split'](','),_0x4f4751=[];for(let _0x302e55 of _0xb0b110){let [_0x9f4661,_0x1e9e3d,_0x2dd8a9,_0x2a63c4,_0x5cc43c,_0x3e4071]=_0x302e55[_0x11d47d(0x49f)](':');_0x4f4751[_0x11d47d(0x1ee)]({'startOffset':Number(_0x9f4661),'endOffset':Number(_0x1e9e3d),'collapsed':_0x9f4661===_0x1e9e3d,'isActive':_0x2dd8a9===_0x573e6b[_0x11d47d(0x293)],'rangeType':_0x2a63c4===_0x412392['DOC_RANGE_TYPE'][_0x11d47d(0x246)]?_0x412392[_0x11d47d(0x398)][_0x11d47d(0x246)]:_0x412392[_0x11d47d(0x398)]['RECT'],'segmentId':typeof _0x5cc43c==_0x11d47d(0x1ba)?String(_0x5cc43c):'','segmentPage':Number(_0x3e4071==null?-0x1:_0x3e4071)});}return _0x4f4751['some'](_0x461781=>_0x461781['isActive'])||(_0x4f4751[0x0]['isActive']=!0x0),_0x4f4751;}var _0x1fb69b=class extends _0x412392[_0x2c832d(0x2df)]{constructor(..._0x186721){const _0xce53eb=_0x2c832d;super(..._0x186721),_0x4a0977(this,_0xce53eb(0x248),new _0x1af95b[(_0xce53eb(0x3d7))](null)),_0x4a0977(this,_0xce53eb(0x21b),this[_0xce53eb(0x248)]['asObservable']());}[_0x2c832d(0x3b0)](_0x2b6740){const _0x5886d2=_0x2c832d;let {unitID:_0x214141,memberID:_0x5c2e1e,textRanges:_0x454c1b}=_0x2b6740,_0x34392a=_0x17be86(_0x454c1b);if(_0x34392a==='')return;let _0x4c0be6={'unitID':_0x214141,'memberID':_0x5c2e1e,'selection':_0x34392a};this[_0x5886d2(0x248)][_0x5886d2(0x34a)](_0x4c0be6);}};let _0x56c11f=class extends _0x412392['RxDisposable']{get['cursorInfo'](){const _0x295d3f=_0x2c832d;return this[_0x295d3f(0x355)]['getValue']();}get[_0x2c832d(0x3ad)](){const _0x584ee3=_0x2c832d;return this['_roomMembers$'][_0x584ee3(0x42c)]();}constructor(_0x3d61cf,_0x3477ed,_0x1f2441,_0x4b4efb,_0x8ba546,_0x37db4d,_0xc2421c,_0x1ebfc8,_0x3c233b){const _0xba8cce=_0x2c832d;super(),this[_0xba8cce(0x3a5)]=_0x3d61cf,this[_0xba8cce(0x479)]=_0x3477ed,this[_0xba8cce(0x3b8)]=_0x1f2441,this[_0xba8cce(0x2c2)]=_0x4b4efb,this['_memberService']=_0x8ba546,this[_0xba8cce(0x22a)]=_0x37db4d,this[_0xba8cce(0x32c)]=_0xc2421c,this[_0xba8cce(0x206)]=_0x1ebfc8,this['_commandService']=_0x3c233b,_0x4a0977(this,_0xba8cce(0x202),!0x1),_0x4a0977(this,'_init',!0x1),_0x4a0977(this,'_cursorInfo$',new _0x1af95b[(_0xba8cce(0x3d7))](new Map())),_0x4a0977(this,_0xba8cce(0x1e3),this[_0xba8cce(0x355)]['asObservable']()),_0x4a0977(this,_0xba8cce(0x472),new _0x1af95b[(_0xba8cce(0x3d7))]([])),_0x4a0977(this,'roomMembers$',this[_0xba8cce(0x472)]['pipe']((0x0,_0x1af95b[_0xba8cce(0x3e2)])(0x12c))),_0x4a0977(this,_0xba8cce(0x3cc),(0x0,_0x412392[_0xba8cce(0x46e)])(_0x169118=>{const _0x24878a=_0xba8cce;let _0x12deb6={'eventID':_0x584220['CollaborationEvent'][_0x24878a(0x1a8)],'data':{'unitID':this[_0x24878a(0x3a5)],'memberID':this['_session']['getMemberID'](),'selection':_0x17be86(_0x169118)}};this[_0x24878a(0x479)]['send'](_0x12deb6,this[_0x24878a(0x3a5)]);},0x64));}['dispose'](){const _0x40789e=_0x2c832d;super[_0x40789e(0x43c)](),this[_0x40789e(0x355)][_0x40789e(0x34a)](new Map()),this['_cursorInfo$'][_0x40789e(0x46c)](),this[_0x40789e(0x472)]['next']([]),this['_roomMembers$'][_0x40789e(0x46c)]();}[_0x2c832d(0x305)](){const _0x5aa727=_0x2c832d;this['_init']||(this['_init']=!0x0,this['_session'][_0x5aa727(0x356)][_0x5aa727(0x1ed)]((0x0,_0x1af95b[_0x5aa727(0x37d)])(this[_0x5aa727(0x378)]))['subscribe'](_0x10a04f=>{const _0xf3dd51=_0x5aa727;_0x10a04f===_0x3839b9[_0xf3dd51(0x1f7)][_0xf3dd51(0x2a6)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5aa727(0x479)][_0x5aa727(0x1b0)][_0x5aa727(0x1ed)]((0x0,_0x1af95b['takeUntil'])(this[_0x5aa727(0x378)]))[_0x5aa727(0x2ef)](_0x10c243=>{const _0x1a00d8=_0x5aa727;let _0x207d0b=_0x10c243[_0x1a00d8(0x40b)];_0x207d0b===_0x584220['CollaborationEvent'][_0x1a00d8(0x1a8)]&&this[_0x1a00d8(0x2f4)](_0x10c243),_0x207d0b===_0x584220[_0x1a00d8(0x410)][_0x1a00d8(0x384)]&&this[_0x1a00d8(0x2af)](_0x10c243);}),this['disposeWithMe'](this[_0x5aa727(0x3b6)][_0x5aa727(0x30a)](_0x3a7e8a=>{const _0x1e422c=_0x5aa727;let _0x68397a=_0x3a7e8a[_0x1e422c(0x29c)];_0x68397a!=null&&this[_0x1e422c(0x202)]&&_0x3a7e8a['id']===_0x5bad8c[_0x1e422c(0x367)]['id']&&_0x68397a[_0x1e422c(0x366)]===this['unitID']&&_0x68397a[_0x1e422c(0x2da)]===!0x1&&_0x68397a[_0x1e422c(0x239)][_0x1e422c(0x1e6)]>0x0&&this[_0x1e422c(0x3cc)](_0x68397a[_0x1e422c(0x239)]);})),this[_0x5aa727(0x22a)][_0x5aa727(0x21b)][_0x5aa727(0x1ed)]((0x0,_0x1af95b[_0x5aa727(0x37d)])(this[_0x5aa727(0x378)]))[_0x5aa727(0x2ef)](_0x63c5da=>{const _0x3cdcd0=_0x5aa727;if((_0x63c5da==null?void 0x0:_0x63c5da[_0x3cdcd0(0x3a5)])!==this[_0x3cdcd0(0x3a5)])return;let _0x4b5661={'eventID':_0x584220[_0x3cdcd0(0x410)]['UPDATE_CURSOR'],'data':_0x63c5da};this[_0x3cdcd0(0x2f4)](_0x4b5661);}),this[_0x5aa727(0x319)](this[_0x5aa727(0x3b6)][_0x5aa727(0x30a)](_0x312ea1=>{const _0x2c5133=_0x5aa727;if(_0x312ea1[_0x2c5133(0x29c)]==null)return;let _0x2b7a14=_0x312ea1[_0x2c5133(0x29c)];if(_0x312ea1['id']!==_0x5bad8c[_0x2c5133(0x3ac)]['id']||_0x2b7a14[_0x2c5133(0x366)]!==this[_0x2c5133(0x3a5)])return;let _0x3d7194={'id':'doc.mutation.rich-text-editing','params':_0x2b7a14},_0x4f3fd2=this[_0x2c5133(0x37e)];for(let [_0x4b8328,_0x39b019]of _0x4f3fd2){let _0x2fdec6={'id':_0x2c5133(0x44a),'params':{'unitId':this[_0x2c5133(0x3a5)],'actions':null,'textRanges':_0x39b019['ranges']}},_0x4b3dc3=this[_0x2c5133(0x32c)][_0x2c5133(0x48b)](_0x3d7194,_0x2fdec6,!0x1);if((0x0,_0x584220[_0x2c5133(0x270)])(_0x4b3dc3))throw _0x4b3dc3[_0x2c5133(0x286)];_0x4f3fd2[_0x2c5133(0x2c9)](_0x4b8328,{..._0x39b019,'ranges':_0x4b3dc3[_0x2c5133(0x39a)]['params']['textRanges']});}queueMicrotask(()=>{const _0x391745=_0x2c5133;this[_0x391745(0x355)][_0x391745(0x34a)](_0x4f3fd2);});})));}[_0x2c832d(0x2f4)](_0x984952){const _0x4772af=_0x2c832d;var _0x30341d,_0x18685d;let {memberID:_0x37f48c,selection:_0x56d379}=_0x984952[_0x4772af(0x496)],_0x261701=_0xe8c5f2(_0x56d379),_0x4ea620=(_0x30341d=(_0x18685d=this[_0x4772af(0x454)][_0x4772af(0x38f)](this['unitID'],_0x37f48c))==null?void 0x0:_0x18685d[_0x4772af(0x2b7)])==null?'Unknown\x20user':_0x30341d,_0xde7537={'color':this['_colorAssignService'][_0x4772af(0x300)](_0x37f48c),'name':_0x4ea620,'ranges':_0x261701},_0x55b222=this[_0x4772af(0x37e)];_0x55b222[_0x4772af(0x2c9)](_0x37f48c,_0xde7537),this[_0x4772af(0x355)][_0x4772af(0x34a)](_0x55b222);}[_0x2c832d(0x2af)](_0x71b779){const _0x2883ad=_0x2c832d;let {memberID:_0x61bf49}=_0x71b779[_0x2883ad(0x496)],_0x5a480b=this[_0x2883ad(0x37e)];_0x5a480b[_0x2883ad(0x44c)](_0x61bf49),this[_0x2883ad(0x355)][_0x2883ad(0x34a)](_0x5a480b);}[_0x2c832d(0x1d5)](){const _0x5ba697=_0x2c832d;var _0x21b3b6;if(this[_0x5ba697(0x202)]=!0x0,((_0x21b3b6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x21b3b6[_0x5ba697(0x418)]())!==this[_0x5ba697(0x3a5)])return;let _0x43cda8=this['_injector'][_0x5ba697(0x24d)](_0x5bad8c[_0x5ba697(0x2ec)])[_0x5ba697(0x3d0)]();Array['isArray'](_0x43cda8)&&_0x43cda8['length']>0x0&&this['_updateLocalCursor'](_0x43cda8);}[_0x2c832d(0x24a)](){const _0x1fcc7e=_0x2c832d;this[_0x1fcc7e(0x202)]=!0x1;}};_0x56c11f=_0x568561([_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x4ad64a)),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x26c)])),_0x144f1b(0x5,(0x0,_0x412392['Inject'])(_0x1fb69b)),_0x144f1b(0x6,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x7,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x8,_0x412392[_0x2c832d(0x335)])],_0x56c11f);let _0x145f34=()=>{let _0x33afdd=[],_0x4472d1=!0x1;return _0x454827=>{const _0x5600d8=_0xff8c;_0x33afdd[_0x5600d8(0x1ee)](_0x454827),_0x4472d1||(_0x4472d1=!0x0,setTimeout(()=>{const _0x1115f7=_0x5600d8;_0x33afdd[_0x1115f7(0x341)](_0x15e179=>_0x15e179()),_0x33afdd=[],_0x4472d1=!0x1;}));};},_0x66be99=class extends _0x412392[_0x2c832d(0x2df)]{get['cursorInfo'](){const _0xe2f175=_0x2c832d;return this['_cursorInfo$'][_0xe2f175(0x42c)]();}get['roomMembers'](){const _0x40db0a=_0x2c832d;return this[_0x40db0a(0x472)]['getValue']();}constructor(_0x5d908d,_0x189fdd,_0xd94cf1,_0x7d1824,_0xbd01f5,_0x11bcf8,_0x2fa631,_0x312344){const _0x4f3db0=_0x2c832d;super(),this[_0x4f3db0(0x3a5)]=_0x5d908d,this['_session']=_0x189fdd,this['_injector']=_0xd94cf1,this[_0x4f3db0(0x2c2)]=_0x7d1824,this['_memberService']=_0xbd01f5,this['_univerInstanceService']=_0x11bcf8,this[_0x4f3db0(0x3b6)]=_0x2fa631,this[_0x4f3db0(0x33b)]=_0x312344,_0x4a0977(this,_0x4f3db0(0x202),!0x1),_0x4a0977(this,'_init',!0x1),_0x4a0977(this,_0x4f3db0(0x355),new _0x1af95b[(_0x4f3db0(0x3d7))](new Map())),_0x4a0977(this,_0x4f3db0(0x1e3),this[_0x4f3db0(0x355)][_0x4f3db0(0x280)]()),_0x4a0977(this,_0x4f3db0(0x472),new _0x1af95b[(_0x4f3db0(0x3d7))]([])),_0x4a0977(this,_0x4f3db0(0x265),this[_0x4f3db0(0x472)][_0x4f3db0(0x1ed)]((0x0,_0x1af95b[_0x4f3db0(0x3e2)])(0x12c))),_0x4a0977(this,_0x4f3db0(0x3cc),(0x0,_0x412392['debounce'])((_0x38f0ff,_0x3dfba0)=>{const _0x2c9d84=_0x4f3db0;let _0x24a1c0={'eventID':_0x584220[_0x2c9d84(0x410)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2c9d84(0x3a5)],'memberID':this[_0x2c9d84(0x479)]['getMemberID'](),'selection':(0x0,_0x3eef3a['serializeRangeWithSheet'])(_0x38f0ff,_0x3dfba0[_0x2c9d84(0x25c)])}};this[_0x2c9d84(0x479)][_0x2c9d84(0x3e8)](_0x24a1c0,this[_0x2c9d84(0x3a5)]);},0x64));}[_0x2c832d(0x43c)](){const _0x15a4b4=_0x2c832d;super[_0x15a4b4(0x43c)](),this[_0x15a4b4(0x355)][_0x15a4b4(0x34a)](new Map()),this['_cursorInfo$']['complete'](),this[_0x15a4b4(0x472)][_0x15a4b4(0x34a)]([]),this['_roomMembers$'][_0x15a4b4(0x46c)]();}[_0x2c832d(0x305)](){const _0x2b9a69=_0x2c832d;this[_0x2b9a69(0x21c)]||(this[_0x2b9a69(0x21c)]=!0x0,this[_0x2b9a69(0x479)][_0x2b9a69(0x356)][_0x2b9a69(0x1ed)]((0x0,_0x1af95b[_0x2b9a69(0x37d)])(this['dispose$']))[_0x2b9a69(0x2ef)](_0x350f2c=>{const _0x4311f6=_0x2b9a69;_0x350f2c===_0x3839b9[_0x4311f6(0x1f7)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x2b9a69(0x1b0)][_0x2b9a69(0x1ed)]((0x0,_0x1af95b[_0x2b9a69(0x37d)])(this['dispose$']))[_0x2b9a69(0x2ef)](_0xde394a=>{const _0xb8472a=_0x2b9a69;let _0x5bcbc3=_0xde394a[_0xb8472a(0x40b)];_0x5bcbc3===_0x584220[_0xb8472a(0x410)]['UPDATE_CURSOR']&&this[_0xb8472a(0x2f4)](_0xde394a),_0x5bcbc3===_0x584220[_0xb8472a(0x410)]['USERS_LEAVE']&&this[_0xb8472a(0x2af)](_0xde394a);}),this[_0x2b9a69(0x49c)](),this['disposeWithMe'](this[_0x2b9a69(0x3b6)]['onCommandExecuted'](_0x1989e0=>{const _0x4f84ee=_0x2b9a69;if(this[_0x4f84ee(0x202)]&&_0x1989e0['id']===_0x36e5e1[_0x4f84ee(0x446)]['id']&&_0x1989e0[_0x4f84ee(0x29c)][_0x4f84ee(0x366)]===this['unitID']){let _0x36b1e5=_0x1989e0[_0x4f84ee(0x29c)];this[_0x4f84ee(0x3cc)](_0x36b1e5[_0x4f84ee(0x29f)],_0x36b1e5[_0x4f84ee(0x26e)][0x0]);}})));}[_0x2c832d(0x2f4)](_0x484688){const _0x4c9af=_0x2c832d;var _0x3a8dfb,_0x219863;let {memberID:_0x335525,selection:_0x4c04a4}=_0x484688['data'],{sheetName:_0x16385b,range:_0x45aa0a}=(0x0,_0x3eef3a[_0x4c9af(0x433)])(_0x4c04a4),_0x1126b1={'name':(_0x3a8dfb=(_0x219863=this[_0x4c9af(0x454)]['getMember'](this[_0x4c9af(0x3a5)],_0x335525))==null?void 0x0:_0x219863[_0x4c9af(0x2b7)])==null?_0x4c9af(0x3a3):_0x3a8dfb,'range':this['_getMergeRange'](_0x16385b,_0x45aa0a),'sheetID':_0x16385b,'color':this[_0x4c9af(0x2c2)][_0x4c9af(0x300)](_0x335525),'selection':_0x4c04a4},_0xad093a=this[_0x4c9af(0x37e)];_0xad093a['set'](_0x335525,_0x1126b1),this[_0x4c9af(0x355)][_0x4c9af(0x34a)](_0xad093a);}[_0x2c832d(0x2af)](_0x34dcb8){const _0x95f9f8=_0x2c832d;let {memberID:_0x15cf2f}=_0x34dcb8[_0x95f9f8(0x496)],_0x90fabb=this['cursorInfo'];_0x90fabb[_0x95f9f8(0x44c)](_0x15cf2f),this[_0x95f9f8(0x355)][_0x95f9f8(0x34a)](_0x90fabb);}[_0x2c832d(0x259)](_0x42ee86,_0x3966c8){const _0x34799b=_0x2c832d;var _0x518c0d;let _0x9fe70c=(_0x518c0d=this[_0x34799b(0x206)][_0x34799b(0x252)](this[_0x34799b(0x3a5)]))==null||(_0x518c0d=_0x518c0d[_0x34799b(0x2a9)](_0x42ee86))==null?void 0x0:_0x518c0d[_0x34799b(0x3fa)]();return(_0x9fe70c==null?void 0x0:_0x9fe70c[_0x34799b(0x215)](_0x126c45=>_0x412392[_0x34799b(0x392)]['contains'](_0x126c45,_0x3966c8)))||_0x3966c8;}['_onRefRangeChange'](){const _0x40ef54=_0x2c832d;let _0x3f9201=new _0x412392[(_0x40ef54(0x236))](),_0x5bec7f=_0x145f34(),_0x3e6881=()=>{const _0x4d67d5=_0x40ef54;_0x3f9201[_0x4d67d5(0x43c)]();let _0x4465c1=(_0x14b258,_0x7c09dd,_0x36555a,_0x178861)=>{const _0xb7e809=_0x4d67d5;let _0x1d9022=[];switch(_0x14b258['id']){case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x39e)]:_0x1d9022=(0x0,_0x36e5e1['handleDeleteRangeMoveLeft'])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)]['DeleteRangeMoveUpCommandId']:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x2d4)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x2d0)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x316)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x3dd)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x235)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x3ba)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x242)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x223)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x1fe)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId']['MoveRangeCommandId']:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x36d)])(_0x14b258,_0x178861);break;case _0x36e5e1[_0xb7e809(0x403)][_0xb7e809(0x47f)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x3e4)])(_0x14b258,_0x178861);break;case _0x36e5e1['EffectRefRangId'][_0xb7e809(0x3d1)]:_0x1d9022=(0x0,_0x36e5e1[_0xb7e809(0x444)])(_0x14b258,_0x178861);break;}let _0x522c7d=(0x0,_0x36e5e1['runRefRangeMutations'])(_0x1d9022,_0x178861),_0x27be13=this[_0xb7e809(0x37e)][_0xb7e809(0x24d)](_0x7c09dd);if(_0x27be13&&_0x522c7d){let _0x4f62fc={..._0x27be13,'range':_0x522c7d};this[_0xb7e809(0x37e)][_0xb7e809(0x2c9)](_0x7c09dd,_0x4f62fc),_0x5bec7f(()=>{const _0x17ec8d=_0xb7e809;let _0x264ed3=this[_0x17ec8d(0x33b)][_0x17ec8d(0x396)](_0x522c7d,_0x43cdd8=>(_0x264ed3[_0x17ec8d(0x43c)](),_0x4465c1(_0x43cdd8,_0x7c09dd,_0x36555a,_0x522c7d)));_0x3f9201[_0x17ec8d(0x36a)](_0x264ed3);});}return{'redos':[],'undos':[]};};this[_0x4d67d5(0x37e)][_0x4d67d5(0x341)]((_0x3e43ea,_0x7d8252)=>{const _0x3dc77a=_0x4d67d5;let {range:_0x326f18,sheetID:_0x532950}=_0x3e43ea,_0x461c4=this['_refRangeService'][_0x3dc77a(0x396)](_0x326f18,_0x352910=>(_0x461c4[_0x3dc77a(0x43c)](),_0x4465c1(_0x352910,_0x7d8252,_0x532950,_0x326f18)));_0x3f9201[_0x3dc77a(0x36a)](_0x461c4);});};this[_0x40ef54(0x319)]((0x0,_0x412392[_0x40ef54(0x1fa)])(this[_0x40ef54(0x355)][_0x40ef54(0x2ef)](()=>{_0x3e6881();})));}[_0x2c832d(0x1d5)](){const _0x225d6a=_0x2c832d;var _0x47eed0,_0x25caa5;if(this[_0x225d6a(0x202)]=!0x0,((_0x47eed0=this[_0x225d6a(0x206)]['getFocusedUnit']())==null?void 0x0:_0x47eed0['getUnitId']())!==this[_0x225d6a(0x3a5)])return;let _0x2ae040=(_0x25caa5=this[_0x225d6a(0x3b8)][_0x225d6a(0x24d)](_0x36e5e1['SheetsSelectionsService'])[_0x225d6a(0x1ab)]())==null?void 0x0:_0x25caa5[0x0],_0x16ec7a=this[_0x225d6a(0x206)][_0x225d6a(0x306)](_0x412392[_0x225d6a(0x32f)]['UNIVER_SHEET'])[_0x225d6a(0x48f)]();_0x2ae040&&_0x16ec7a&&this[_0x225d6a(0x3cc)](_0x16ec7a['getSheetId'](),_0x2ae040);}[_0x2c832d(0x24a)](){const _0x274a8a=_0x2c832d;this[_0x274a8a(0x202)]=!0x1;}};_0x66be99=_0x568561([_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x4ad64a)),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x26c)])),_0x144f1b(0x5,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x6,_0x412392['ICommandService']),_0x144f1b(0x7,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x36e5e1[_0x2c832d(0x2cb)]))],_0x66be99);let _0x270b73=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x56e6b4,_0x4b3324,_0x4fe39e){const _0x10af7a=_0x2c832d;super(),this['_univerInstanceService']=_0x56e6b4,this[_0x10af7a(0x3b8)]=_0x4b3324,this['_collabSessionService']=_0x4fe39e,_0x4a0977(this,_0x10af7a(0x36e),new Map()),_0x4a0977(this,_0x10af7a(0x40f),new _0x1af95b[(_0x10af7a(0x350))]()),this[_0x10af7a(0x21c)]();}[_0x2c832d(0x43c)](){const _0x153945=_0x2c832d;super['dispose'](),this[_0x153945(0x40f)][_0x153945(0x46c)](),this[_0x153945(0x36e)][_0x153945(0x341)](_0x4e208d=>_0x4e208d[_0x153945(0x43c)]());}[_0x2c832d(0x38c)](_0x3120f2){const _0x336074=_0x2c832d;return this[_0x336074(0x36e)][_0x336074(0x27c)](_0x3120f2)?this[_0x336074(0x36e)][_0x336074(0x24d)](_0x3120f2)['cursorInfo$']:this['_entityInit$']['pipe']((0x0,_0x1af95b[_0x336074(0x2cf)])(_0x14ece3=>_0x14ece3[_0x336074(0x3a5)]===_0x3120f2),(0x0,_0x1af95b['switchMap'])(_0x1d77fc=>_0x1d77fc[_0x336074(0x1e3)]));}[_0x2c832d(0x21c)](){const _0x173dc3=_0x2c832d;this[_0x173dc3(0x206)]['getTypeOfUnitAdded$'](_0x412392['UniverInstanceType']['UNIVER_SHEET'])[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))['subscribe'](async _0x125b8a=>{const _0x484719=_0x173dc3;let _0x243971=_0x125b8a[_0x484719(0x418)](),_0xf46322=await this[_0x484719(0x292)](_0x243971);this[_0x484719(0x40f)]['next'](_0xf46322),this[_0x484719(0x36e)][_0x484719(0x2c9)](_0x243971,_0xf46322);}),this[_0x173dc3(0x206)][_0x173dc3(0x443)](_0x412392[_0x173dc3(0x32f)]['UNIVER_DOC'])[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))[_0x173dc3(0x1ed)]((0x0,_0x1af95b['filter'])(_0x55ad62=>!_0x55ad62[_0x173dc3(0x418)]()[_0x173dc3(0x1c6)]('__')))[_0x173dc3(0x2ef)](async _0x492b7b=>{const _0x3ef25a=_0x173dc3;let _0x43d975=_0x492b7b['getUnitId'](),_0x31f141=await this[_0x3ef25a(0x245)](_0x43d975);this[_0x3ef25a(0x40f)][_0x3ef25a(0x34a)](_0x31f141),this[_0x3ef25a(0x36e)][_0x3ef25a(0x2c9)](_0x43d975,_0x31f141);}),(0x0,_0x1af95b[_0x173dc3(0x203)])(this[_0x173dc3(0x206)][_0x173dc3(0x317)](_0x412392[_0x173dc3(0x32f)][_0x173dc3(0x1a2)]),this[_0x173dc3(0x206)]['getTypeOfUnitDisposed$'](_0x412392[_0x173dc3(0x32f)][_0x173dc3(0x348)]))[_0x173dc3(0x1ed)]((0x0,_0x1af95b[_0x173dc3(0x37d)])(this[_0x173dc3(0x378)]))[_0x173dc3(0x2ef)](_0x5ccf34=>{const _0x5ef6b0=_0x173dc3;let _0x4ffa5b=_0x5ccf34[_0x5ef6b0(0x418)](),_0x57242f=this[_0x5ef6b0(0x36e)][_0x5ef6b0(0x24d)](_0x4ffa5b);_0x57242f&&(_0x57242f[_0x5ef6b0(0x43c)](),this[_0x5ef6b0(0x36e)]['delete'](_0x4ffa5b));});}async[_0x2c832d(0x292)](_0x499016){const _0xef4ac1=_0x2c832d;let _0x164861=await this[_0xef4ac1(0x1ae)][_0xef4ac1(0x271)](_0x499016),_0x6af485=this[_0xef4ac1(0x3b8)][_0xef4ac1(0x3bc)](_0x66be99,_0x499016,_0x164861);return _0x6af485[_0xef4ac1(0x305)](),_0x6af485;}async[_0x2c832d(0x245)](_0x47a6a5){const _0x221e89=_0x2c832d;let _0x331ccf=await this[_0x221e89(0x1ae)]['requireSession'](_0x47a6a5),_0x29fc1e=this[_0x221e89(0x3b8)][_0x221e89(0x3bc)](_0x56c11f,_0x47a6a5,_0x331ccf);return _0x29fc1e[_0x221e89(0x305)](),_0x29fc1e;}};_0x270b73=_0x568561([_0x144f1b(0x0,_0x412392['IUniverInstanceService']),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9['CollaborationSessionService']))],_0x270b73);function _0x3b878e(_0x27fb96,_0x2224d9){const _0x3da9d0=_0x2c832d;var _0x26c0ac,_0x5d79ea,_0x3d0153;let {radius:_0x4a5d52,width:_0x53ee44,height:_0x1907a0}=_0x2224d9;_0x4a5d52=(_0x26c0ac=_0x4a5d52)==null?0x0:_0x26c0ac,_0x53ee44=(_0x5d79ea=_0x53ee44)==null?0x1e:_0x5d79ea,_0x1907a0=(_0x3d0153=_0x1907a0)==null?0x1e:_0x3d0153;let _0x3a3cb6=0x0,_0x16051d=0x0,_0x56a317=0x0;_0x3a3cb6=_0x16051d=_0x56a317=Math[_0x3da9d0(0x26f)](_0x4a5d52,_0x53ee44/0x2,_0x1907a0/0x2),_0x27fb96[_0x3da9d0(0x35f)](),_0x27fb96[_0x3da9d0(0x208)](_0x3a3cb6,0x0),_0x27fb96['lineTo'](_0x53ee44-_0x16051d,0x0),_0x27fb96[_0x3da9d0(0x30c)](_0x53ee44-_0x16051d,_0x16051d,_0x16051d,Math['PI']*0x3/0x2,0x0,!0x1),_0x27fb96['lineTo'](_0x53ee44,_0x1907a0-_0x56a317),_0x27fb96[_0x3da9d0(0x30c)](_0x53ee44-_0x56a317,_0x1907a0-_0x56a317,_0x56a317,0x0,Math['PI']/0x2,!0x1),_0x27fb96['lineTo'](0x0,_0x1907a0),_0x27fb96[_0x3da9d0(0x3c2)](0x0,_0x3a3cb6),_0x27fb96['arc'](_0x3a3cb6,_0x3a3cb6,_0x3a3cb6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x27fb96[_0x3da9d0(0x448)](),_0x2224d9[_0x3da9d0(0x3be)]&&(_0x27fb96[_0x3da9d0(0x226)](),_0x27fb96[_0x3da9d0(0x2fa)]=_0x2224d9[_0x3da9d0(0x3be)],_0x2224d9[_0x3da9d0(0x217)]===_0x3da9d0(0x31e)?_0x27fb96[_0x3da9d0(0x3be)](_0x3da9d0(0x31e)):_0x27fb96[_0x3da9d0(0x3be)](),_0x27fb96[_0x3da9d0(0x422)]());}var _0x2c341e=class _0x241ae4 extends _0x6b7952[_0x2c832d(0x1fd)]{constructor(_0x8ae16e,_0x38b2e1){const _0x18a56b=_0x2c832d;super(_0x8ae16e,_0x38b2e1),_0x4a0977(this,_0x18a56b(0x438),void 0x0),_0x4a0977(this,_0x18a56b(0x41e),void 0x0),this[_0x18a56b(0x438)]=_0x38b2e1==null?void 0x0:_0x38b2e1[_0x18a56b(0x438)],this[_0x18a56b(0x41e)]=_0x38b2e1==null?void 0x0:_0x38b2e1[_0x18a56b(0x41e)];}static[_0x2c832d(0x1b8)](_0x51a489,_0x26de4d){const _0x1ec98f=_0x2c832d;let {text:_0x65ded4,color:_0x477cff}=_0x26de4d;_0x51a489['save'](),_0x51a489[_0x1ec98f(0x432)]=_0x1ec98f(0x400);let _0x33428d=_0x51a489[_0x1ec98f(0x1a7)](_0x65ded4)[_0x1ec98f(0x405)];if(_0x3b878e(_0x51a489,{'height':0x14,'radius':0x4,'width':Math[_0x1ec98f(0x26f)](_0x33428d+0x8,0xc8),'fill':_0x477cff,'evented':!0x1}),_0x51a489[_0x1ec98f(0x2fa)]=_0x1ec98f(0x1c3),_0x33428d>0xc0){let _0x170b9a='',_0x166434=0x0;for(let _0x15618d of _0x65ded4){let _0x5d989a=_0x51a489[_0x1ec98f(0x1a7)](_0x15618d)['width'];if(_0x166434+_0x5d989a<=0xc0-_0x51a489[_0x1ec98f(0x1a7)](_0x1ec98f(0x2bc))[_0x1ec98f(0x405)])_0x170b9a+=_0x15618d,_0x166434+=_0x5d989a;else{_0x170b9a+='...';break;}}_0x51a489[_0x1ec98f(0x467)](_0x170b9a,0x4,0xf);}else _0x51a489['fillText'](_0x65ded4,0x4,0xf);_0x51a489[_0x1ec98f(0x422)]();}[_0x2c832d(0x2e3)](_0x57002c){_0x241ae4['drawWith'](_0x57002c,this);}};let _0x2a500b=_0x2c832d(0x1de);var _0x52dc37=class{constructor(_0x4c1342,_0x330827,_0x487a15,_0x1b0b93){const _0x44fe63=_0x2c832d;this[_0x44fe63(0x256)]=_0x4c1342,this[_0x44fe63(0x3ab)]=_0x330827,this[_0x44fe63(0x272)]=_0x487a15,this[_0x44fe63(0x352)]=_0x1b0b93,_0x4a0977(this,_0x44fe63(0x3cf),[]),_0x4a0977(this,_0x44fe63(0x234),null),_0x4a0977(this,'_textBubble',null),_0x4a0977(this,_0x44fe63(0x19c),null),_0x4a0977(this,_0x44fe63(0x346),null),_0x4a0977(this,'_eventUnsubscribe',null),this['_render']();}set['_hover'](_0x304a87){const _0x284e28=_0x2c832d;_0x304a87?(this[_0x284e28(0x19c)]&&this[_0x284e28(0x19c)][_0x284e28(0x1f2)](),this[_0x284e28(0x4ad)]&&this[_0x284e28(0x4ad)]['show']()):(this[_0x284e28(0x19c)]&&this[_0x284e28(0x19c)][_0x284e28(0x251)](),this['_textBubble']&&this['_textBubble'][_0x284e28(0x1f2)]());}['dispose'](){const _0x2b4573=_0x2c832d;for(let _0x2e36c3 of this['_shapes'])_0x2e36c3[_0x2b4573(0x43c)]();this[_0x2b4573(0x4ad)]&&this[_0x2b4573(0x4ad)]['dispose'](),this['_anchorDot']&&this[_0x2b4573(0x19c)][_0x2b4573(0x43c)](),this[_0x2b4573(0x234)]&&this[_0x2b4573(0x234)][_0x2b4573(0x43c)](),this[_0x2b4573(0x3fe)]&&this[_0x2b4573(0x3fe)]();}['_render'](){const _0x34a616=_0x2c832d;let {_docSkeleton:_0x10cac7,_document:_0x408981}=this,{color:_0x53119d,name:_0x23a2d6,ranges:_0x4a93d7}=this['_cursor'],_0x573501=_0x408981['getOffsetConfig'](),{docsLeft:_0x4fc525,docsTop:_0x16ea09}=_0x573501,_0x2ae7b9=new _0x493739[(_0x34a616(0x3eb))](_0x573501,_0x10cac7);for(let {startOffset:_0x54c94e,endOffset:_0x127e45,rangeType:_0x933a78,segmentId:_0x4cb7ee,segmentPage:_0x44dede,collapsed:_0x53e076,isActive:_0x4a9f08}of _0x4a93d7){let _0x1c9202=_0x10cac7[_0x34a616(0x38b)](_0x54c94e,!0x0,_0x4cb7ee,_0x44dede),_0x47b672=_0x10cac7[_0x34a616(0x38b)](_0x127e45,!0x0,_0x4cb7ee,_0x44dede);if(_0x47b672==null&&(_0x47b672=_0x10cac7[_0x34a616(0x38b)](_0x127e45-0x1,!0x1,_0x4cb7ee,_0x44dede)),_0x4a9f08){let {contentBoxPointGroup:_0x16abd9}=_0x2ae7b9['getRangePointData'](_0x47b672,_0x47b672);if(_0x16abd9[_0x34a616(0x1e6)]===0x0)continue;this['_drawAnchor'](_0x53119d,_0x16abd9,_0x4fc525,_0x16ea09,_0x23a2d6),this[_0x34a616(0x3fe)]=this[_0x34a616(0x394)]();}if(_0x1c9202&&_0x47b672){if(_0x933a78===_0x412392['DOC_RANGE_TYPE'][_0x34a616(0x2f2)]){var _0x1abf0f;let {pointGroup:_0x14f88e}=(_0x1abf0f=new _0x493739[(_0x34a616(0x2d9))](_0x573501,_0x10cac7)[_0x34a616(0x4aa)](_0x1c9202,_0x47b672))==null?{}:_0x1abf0f;if(_0x14f88e==null||_0x14f88e['length']===0x0)continue;this[_0x34a616(0x427)](_0x53119d,_0x14f88e,_0x4fc525,_0x16ea09);}else{if(!_0x53e076){let {borderBoxPointGroup:_0xe47d35}=_0x2ae7b9[_0x34a616(0x4aa)](_0x1c9202,_0x47b672);if(_0xe47d35[_0x34a616(0x1e6)]===0x0)continue;this[_0x34a616(0x33f)](_0x53119d,_0xe47d35,_0x4fc525,_0x16ea09);}}}}}[_0x2c832d(0x453)](_0x593966,_0x1efef3,_0x5c6158,_0x47056f,_0x152dc5){const _0x88890f=_0x2c832d;let {left:_0x5e4d59,top:_0x11f912,height:_0xbc4612}=this['_getAnchorBounding'](_0x1efef3),_0x4f1953=1.5/this[_0x88890f(0x3e0)](),_0x149cb5=new _0x6b7952[(_0x88890f(0x3bb))](_0x2a500b+(0x0,_0x412392[_0x88890f(0x29a)])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f,'height':_0xbc4612,'width':1.5,'fill':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392['COLORS']['black'],0x0),'strokeWidth':_0x4f1953,'stroke':_0x88890f(0x430),'evented':!0x0});this['_anchor']=_0x149cb5,this[_0x88890f(0x3ab)]['addObject'](_0x149cb5,_0x493739[_0x88890f(0x1a3)]);let _0xdb4ef2=new _0x6b7952['Rect'](_0x2a500b+(0x0,_0x412392['generateRandomId'])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392[_0x88890f(0x1c2)][_0x88890f(0x19b)],0x0),'strokeWidth':0x0,'stroke':_0x593966||(0x0,_0x6b7952[_0x88890f(0x283)])(_0x412392['COLORS']['black'],0x0),'evented':!0x1});this[_0x88890f(0x19c)]=_0xdb4ef2,this[_0x88890f(0x3ab)]['addObject'](_0xdb4ef2,_0x493739[_0x88890f(0x1a3)]);let _0x4a2fba=new _0x2c341e(_0x2a500b+(0x0,_0x412392['generateRandomId'])(0x6),{'left':_0x5e4d59+_0x5c6158-_0x4f1953,'top':_0x11f912+_0x47056f-0x14,'text':_0x152dc5,'color':_0x593966});this['_textBubble']=_0x4a2fba,this[_0x88890f(0x3ab)]['addObject'](_0x4a2fba,_0x493739['TEXT_RANGE_LAYER_INDEX']),this[_0x88890f(0x269)]=!0x1;}[_0x2c832d(0x394)](){const _0x3bf672=_0x2c832d;let _0x187a03=this['_anchor'][_0x3bf672(0x20c)]['subscribeEvent'](()=>{const _0x7e97c1=_0x3bf672;this[_0x7e97c1(0x269)]=!0x0;}),_0x56ac18=this[_0x3bf672(0x234)][_0x3bf672(0x3d5)]['subscribeEvent'](()=>{const _0x432a17=_0x3bf672;this[_0x432a17(0x346)]&&clearTimeout(this[_0x432a17(0x346)]),this[_0x432a17(0x346)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x472e64=_0x3bf672;_0x187a03[_0x472e64(0x212)](),_0x56ac18[_0x472e64(0x212)]();};}['_drawTextRange'](_0x135edc,_0x6c2f63,_0x5951b8,_0x70493){const _0x1e03aa=_0x2c832d;let _0xa94fb5=0.2,_0x300d6a=new _0x412392[(_0x1e03aa(0x452))](_0x135edc)[_0x1e03aa(0x465)](_0xa94fb5)[_0x1e03aa(0x385)](),_0x638d1=new _0x6b7952[(_0x1e03aa(0x458))](_0x1e03aa(0x3d8)+(0x0,_0x412392['generateRandomId'])(0x6),{'pointsGroup':_0x6c2f63,'fill':_0x300d6a||(0x0,_0x6b7952[_0x1e03aa(0x283)])(_0x412392['COLORS'][_0x1e03aa(0x19b)],_0xa94fb5),'left':_0x5951b8,'top':_0x70493,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x638d1),this[_0x1e03aa(0x3ab)]['addObject'](_0x638d1,_0x493739[_0x1e03aa(0x1a3)]);}[_0x2c832d(0x427)](_0x2fd9ef,_0x24e17a,_0x14e0c3,_0x1073fe){const _0xa77391=_0x2c832d;let _0x39f04e=0.2,_0x2bcabf=new _0x412392[(_0xa77391(0x452))](_0x2fd9ef)[_0xa77391(0x465)](_0x39f04e)[_0xa77391(0x385)](),_0x210f33=new _0x6b7952[(_0xa77391(0x458))](_0xa77391(0x4b5)+(0x0,_0x412392['generateRandomId'])(0x6),{'pointsGroup':_0x24e17a,'fill':_0x2bcabf||(0x0,_0x6b7952['getColor'])(_0x412392[_0xa77391(0x1c2)][_0xa77391(0x19b)],_0x39f04e),'left':_0x14e0c3,'top':_0x1073fe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xa77391(0x3cf)]['push'](_0x210f33),this['_scene']['addObject'](_0x210f33,_0x493739[_0xa77391(0x1a3)]);}['_getAnchorBounding'](_0x59a421){let _0x4fbbaf=_0x59a421[0x0],_0x43991d=_0x4fbbaf[0x0],_0x2d41bd=_0x4fbbaf[0x2],{x:_0xe3dc6,y:_0x301be3}=_0x43991d,{x:_0x20a790,y:_0x31c791}=_0x2d41bd;return{'left':_0xe3dc6,'top':_0x301be3,'width':_0x20a790-_0xe3dc6,'height':_0x31c791-_0x301be3};}[_0x2c832d(0x3e0)](){const _0x3f404c=_0x2c832d;let {scaleX:_0xa221c3,scaleY:_0x470248}=this['_scene'][_0x3f404c(0x35c)]();return Math[_0x3f404c(0x1d9)](_0xa221c3,_0x470248);}};let _0x3e3eab=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x35af49,_0x2661f4,_0x4b42fc,_0x30ee99,_0x2732a4){const _0xbeae94=_0x2c832d;super(),this[_0xbeae94(0x1d6)]=_0x35af49,this[_0xbeae94(0x204)]=_0x2661f4,this['_collabCursorController']=_0x4b42fc,this[_0xbeae94(0x3b6)]=_0x30ee99,this[_0xbeae94(0x262)]=_0x2732a4,_0x4a0977(this,_0xbeae94(0x3c4),[]),_0x4a0977(this,_0xbeae94(0x31a),[]),this['_init']();}[_0x2c832d(0x21c)](){const _0x8c1e6f=_0x2c832d;let _0x48800e=this[_0x8c1e6f(0x1d6)][_0x8c1e6f(0x366)],_0x58a877=this['_docSkeletonManagerService'];this[_0x8c1e6f(0x319)]((0x0,_0x1af95b['combineLatest'])([this[_0x8c1e6f(0x3e5)][_0x8c1e6f(0x38c)](_0x48800e),this[_0x8c1e6f(0x262)][_0x8c1e6f(0x49a)]])[_0x8c1e6f(0x1ed)]((0x0,_0x5a2ef1['map'])(([_0x45c4e8,_0x769228])=>({'skeleton':_0x58a877[_0x8c1e6f(0x2b2)](),'cursors':[..._0x45c4e8[_0x8c1e6f(0x383)]()]['flatMap'](_0x184b16=>({..._0x184b16,'color':this[_0x8c1e6f(0x262)][_0x8c1e6f(0x38a)](_0x184b16[_0x8c1e6f(0x438)])}))})))[_0x8c1e6f(0x2ef)](_0x85469e=>{const _0x5aaacf=_0x8c1e6f;if(this[_0x5aaacf(0x3c3)](),_0x85469e){let {skeleton:_0x3139a8,cursors:_0x4e5c46}=_0x85469e;this[_0x5aaacf(0x1b7)](_0x3139a8,_0x4e5c46);}})),this['_initResize'](),this[_0x8c1e6f(0x231)]();}[_0x2c832d(0x1b7)](_0x4fe464,_0x3a296a){const _0x56c267=_0x2c832d;let {scene:_0xf99016,mainComponent:_0x5ee3da}=this[_0x56c267(0x1d6)];this[_0x56c267(0x3c4)]=_0x3a296a['map'](_0xa5e08d=>new _0x52dc37(_0xa5e08d,_0xf99016,_0x4fe464,_0x5ee3da)),this[_0x56c267(0x31a)]=_0x3a296a;}['_refreshCollabCursors'](){const _0x36d009=_0x2c832d;this[_0x36d009(0x3c3)]();let {scene:_0x568eed,mainComponent:_0x44ec5b}=this[_0x36d009(0x1d6)],_0x32c3a6=this[_0x36d009(0x204)]['getSkeleton']();this[_0x36d009(0x3c4)]=this[_0x36d009(0x31a)][_0x36d009(0x464)](_0x3df546=>new _0x52dc37(_0x3df546,_0x568eed,_0x32c3a6,_0x44ec5b));}['_removeCollabCursors'](){const _0x483fe0=_0x2c832d;this[_0x483fe0(0x3c4)][_0x483fe0(0x341)](_0x2cc1ba=>_0x2cc1ba[_0x483fe0(0x43c)]()),this[_0x483fe0(0x3c4)]=[];}[_0x2c832d(0x231)](){const _0x167b4b=_0x2c832d;let _0x121bef=[_0x493739[_0x167b4b(0x2d1)]['id']];this[_0x167b4b(0x319)](this[_0x167b4b(0x3b6)][_0x167b4b(0x30a)](_0x5d498d=>{const _0x30720e=_0x167b4b;_0x121bef['includes'](_0x5d498d['id'])&&_0x5d498d[_0x30720e(0x29c)][_0x30720e(0x366)]===this[_0x30720e(0x1d6)][_0x30720e(0x366)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x167564=_0x2c832d;this[_0x167564(0x319)]((0x0,_0x412392[_0x167564(0x374)])(this[_0x167564(0x1d6)][_0x167564(0x1e4)][_0x167564(0x2b1)])[_0x167564(0x1ed)]((0x0,_0x5a2ef1[_0x167564(0x2cf)])(_0x3d334e=>_0x3d334e[_0x167564(0x199)]===_0x6b7952[_0x167564(0x487)]['resize']),(0x0,_0x5a2ef1['throttleTime'])(0x10))[_0x167564(0x2ef)](()=>{const _0xd381e8=_0x167564;this[_0xd381e8(0x43f)]();}));}};_0x3e3eab=_0x568561([_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x5bad8c[_0x2c832d(0x2a3)])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x270b73)),_0x144f1b(0x3,_0x412392['ICommandService']),_0x144f1b(0x4,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x2f1)]))],_0x3e3eab);var _0x1c5797=class extends _0x6b7952[_0x2c832d(0x1fd)]{constructor(_0x3e2e39,_0x3f2e5b){const _0x1fd753=_0x2c832d;if(super(_0x3e2e39,_0x3f2e5b),_0x4a0977(this,_0x1fd753(0x399),void 0x0),_0x4a0977(this,_0x1fd753(0x19f),!0x1),_0x4a0977(this,_0x1fd753(0x2b5),void 0x0),_0x4a0977(this,_0x1fd753(0x3a2),''),_0x4a0977(this,'_labelPosition','top'),_0x4a0977(this,'_backgroundColor',void 0x0),_0x4a0977(this,_0x1fd753(0x1f8),void 0x0),_0x4a0977(this,_0x1fd753(0x1ca),void 0x0),_0x4a0977(this,'_highlightSecond',0x4),_0x4a0977(this,_0x1fd753(0x4b4),void 0x0),_0x4a0977(this,_0x1fd753(0x2c5),void 0x0),_0x4a0977(this,'_isBlinkVisible',!0x0),_0x4a0977(this,'_offsetY',0x0),_0x3f2e5b){var _0x8b4d96;if(this[_0x1fd753(0x1f0)](_0x3f2e5b),_0x3f2e5b[_0x1fd753(0x291)]&&((_0x8b4d96=_0x3f2e5b[_0x1fd753(0x29d)])==null?this[_0x1fd753(0x402)]:_0x8b4d96)){var _0x2b7fcd;this[_0x1fd753(0x358)]((_0x2b7fcd=_0x3f2e5b[_0x1fd753(0x29d)])==null?this['_highlightSecond']:_0x2b7fcd);}}this['onPointerEnter$'][_0x1fd753(0x2d8)](()=>this[_0x1fd753(0x1f0)]({'hovered':!0x0})),this[_0x1fd753(0x3d5)]['subscribeEvent'](()=>this[_0x1fd753(0x1f0)]({'hovered':!0x1}));}['setOffsetY'](_0x2d9525){const _0x2b2033=_0x2c832d;this[_0x2b2033(0x1c4)]=_0x2d9525;}['setShapeProps'](_0x4b2d62){const _0x5d0696=_0x2c832d;var _0x3e939d,_0x448aaf,_0x2429d3,_0x301e7e,_0x2e6181,_0x33969a,_0x3a376e;this[_0x5d0696(0x399)]=(_0x3e939d=_0x4b2d62[_0x5d0696(0x438)])==null?this[_0x5d0696(0x399)]:_0x3e939d,this[_0x5d0696(0x19f)]=(_0x448aaf=_0x4b2d62[_0x5d0696(0x37b)])==null?this['_hovered']:_0x448aaf,this[_0x5d0696(0x2b5)]=(_0x2429d3=_0x4b2d62['range'])==null?this[_0x5d0696(0x2b5)]:_0x2429d3,this['_name']=(_0x301e7e=_0x4b2d62['name'])==null?this[_0x5d0696(0x3a2)]:_0x301e7e,this[_0x5d0696(0x3c9)]=(_0x2e6181=_0x4b2d62[_0x5d0696(0x344)])==null?this[_0x5d0696(0x3c9)]:_0x2e6181,this[_0x5d0696(0x19a)]=(_0x33969a=_0x4b2d62[_0x5d0696(0x44d)])==null?this[_0x5d0696(0x19a)]:_0x33969a,this['_showText']=(_0x3a376e=_0x4b2d62[_0x5d0696(0x1c0)])==null?this['_showText']:_0x3a376e,_0x4b2d62['highlightSecond']!==void 0x0&&(this[_0x5d0696(0x402)]=_0x4b2d62[_0x5d0696(0x29d)]),_0x4b2d62[_0x5d0696(0x291)]!==void 0x0&&(this[_0x5d0696(0x1ca)]=_0x4b2d62['highlight']),_0x4b2d62[_0x5d0696(0x36f)]!==void 0x0&&(this[_0x5d0696(0x1c4)]=_0x4b2d62['offsetY']),this[_0x5d0696(0x219)]({'width':_0x4b2d62[_0x5d0696(0x405)],'height':_0x4b2d62[_0x5d0696(0x228)]});}[_0x2c832d(0x2e2)](_0x2ba731){const _0x16cbec=_0x2c832d;let {row:_0x4354f7,column:_0x93aa74}=_0x2ba731;if(_0x4354f7>=this['_range'][_0x16cbec(0x45d)]&&_0x4354f7<=this['_range'][_0x16cbec(0x397)]&&_0x93aa74>=this[_0x16cbec(0x2b5)][_0x16cbec(0x253)]&&_0x93aa74<=this[_0x16cbec(0x2b5)][_0x16cbec(0x35e)]){this[_0x16cbec(0x1f0)]({'hovered':!0x0});return;}this[_0x16cbec(0x1f0)]({'hovered':!0x1});}[_0x2c832d(0x358)](_0x27849){const _0x508be7=_0x2c832d;this[_0x508be7(0x2dc)](),this['_isBlinkVisible']=!0x0,this[_0x508be7(0x2c5)]=window[_0x508be7(0x333)](()=>{const _0x415925=_0x508be7;this[_0x415925(0x303)]=!this[_0x415925(0x303)],this[_0x415925(0x45e)](!0x0);},0x1f4),this[_0x508be7(0x4b4)]=window[_0x508be7(0x2e5)](()=>{const _0xd75849=_0x508be7;this[_0xd75849(0x2dc)](),this[_0xd75849(0x303)]=!0x0,this[_0xd75849(0x45e)](!0x0);},_0x27849*0x3e8);}['_stopBlinking'](){const _0x26cb7b=_0x2c832d;this[_0x26cb7b(0x2c5)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x26cb7b(0x2c5)]=void 0x0),this[_0x26cb7b(0x4b4)]&&(window[_0x26cb7b(0x4a1)](this[_0x26cb7b(0x4b4)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x5c88f8){return!0x1;}[_0x2c832d(0x43c)](){const _0xe1c64b=_0x2c832d;this[_0xe1c64b(0x2dc)](),super['dispose']();}[_0x2c832d(0x2e3)](_0xfe1209){const _0x29b163=_0x2c832d;var _0x26ce4f;let _0x397231=this[_0x29b163(0x399)],_0x293a0d=this[_0x29b163(0x19a)];if(this[_0x29b163(0x1ca)]&&!this[_0x29b163(0x303)]&&(_0x397231=this[_0x29b163(0x221)](this[_0x29b163(0x399)]),_0x293a0d=this['_backgroundColor']?this[_0x29b163(0x221)](this[_0x29b163(0x19a)]):void 0x0),_0x6b7952[_0x29b163(0x3bb)][_0x29b163(0x1b8)](_0xfe1209,{'width':this[_0x29b163(0x405)],'height':this[_0x29b163(0x228)],'strokeWidth':(_0x26ce4f=this[_0x29b163(0x478)])==null?1.5:_0x26ce4f,'stroke':_0x397231,'evented':!0x1,'fill':_0x293a0d}),this[_0x29b163(0x19f)]||this[_0x29b163(0x1f8)]){var _0xa96007;_0xfe1209['save'](),_0xfe1209[_0x29b163(0x462)](0x1,0x0,0x0,0x1,this[_0x29b163(0x405)],(this[_0x29b163(0x3c9)]===_0x29b163(0x2ee)?0x0:-0x14)+((_0xa96007=this[_0x29b163(0x1c4)])==null?0x0:_0xa96007)),_0x2c341e[_0x29b163(0x1b8)](_0xfe1209,{'text':this[_0x29b163(0x3a2)],'color':_0x397231}),_0xfe1209[_0x29b163(0x422)]();}}[_0x2c832d(0x221)](_0x2853a1){const _0x2585c3=_0x2c832d;return _0x2853a1[_0x2585c3(0x1c6)]('#')?_0x2585c3(0x25b)+Number['parseInt'](_0x2853a1[_0x2585c3(0x2db)](0x1,0x3),0x10)+',\x20'+Number[_0x2585c3(0x1f9)](_0x2853a1[_0x2585c3(0x2db)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x2853a1[_0x2585c3(0x2db)](0x5,0x7),0x10)+_0x2585c3(0x1d3):_0x2853a1[_0x2585c3(0x1c6)](_0x2585c3(0x288))?_0x2853a1[_0x2585c3(0x23e)](/[\d.]+\)$/g,'0.2)'):_0x2853a1[_0x2585c3(0x1c6)](_0x2585c3(0x45f))?_0x2853a1['replace'](_0x2585c3(0x45f),_0x2585c3(0x288))[_0x2585c3(0x23e)](')',_0x2585c3(0x1d3)):_0x2853a1;}};let _0x19300d=class extends _0x412392[_0x2c832d(0x2df)]{constructor(_0x889b10,_0x2ba4c8,_0x3d3860,_0x23b493){const _0x47c220=_0x2c832d;super(),this[_0x47c220(0x1d6)]=_0x889b10,this[_0x47c220(0x31c)]=_0x2ba4c8,this['_collabCursorController']=_0x3d3860,this[_0x47c220(0x262)]=_0x23b493,_0x4a0977(this,_0x47c220(0x31a),new Set()),_0x4a0977(this,_0x47c220(0x28e),null),this[_0x47c220(0x21c)]();}[_0x2c832d(0x21c)](){const _0x47baca=_0x2c832d;this[_0x47baca(0x31c)][_0x47baca(0x2cc)]['pipe']((0x0,_0x5a2ef1[_0x47baca(0x37d)])(this[_0x47baca(0x378)]),(0x0,_0x5a2ef1[_0x47baca(0x2e1)])(_0xc91c2c=>{const _0x397876=_0x47baca;if(_0xc91c2c){let _0x3f50bf=_0xc91c2c['sheetId'];return(0x0,_0x1af95b[_0x397876(0x373)])(this[_0x397876(0x3e5)][_0x397876(0x38c)](this[_0x397876(0x1d6)][_0x397876(0x366)]),this[_0x397876(0x262)][_0x397876(0x49a)])[_0x397876(0x1ed)]((0x0,_0x5a2ef1['map'])(([_0x193895,_0x259f23])=>{const _0x3c235e=_0x397876;let _0x37a0f1=new Map();return _0x193895[_0x3c235e(0x341)]((_0x3155c5,_0x1b2d2a)=>{const _0x4378ba=_0x3c235e;if(_0x3155c5[_0x4378ba(0x32e)]===_0x3f50bf){let _0x36a546={..._0x3155c5};_0x36a546[_0x4378ba(0x438)]=this['_themeService'][_0x4378ba(0x38a)](_0x3155c5[_0x4378ba(0x438)]),_0x37a0f1[_0x4378ba(0x2c9)](_0x1b2d2a,_0x36a546);}}),{'skeleton':_0xc91c2c,'cursors':_0x37a0f1};}));}return(0x0,_0x1af95b['of'])({'skeleton':null,'cursors':new Map()});}))[_0x47baca(0x2ef)](({skeleton:_0x21a561,cursors:_0x3faa41})=>{const _0x1f73e3=_0x47baca;this[_0x1f73e3(0x3c3)](),_0x21a561&&this['_updateCollabCursors'](_0x21a561,_0x3faa41);}),this[_0x47baca(0x31c)][_0x47baca(0x2cc)]['subscribe'](_0x877919=>{const _0x2f5f77=_0x47baca;if(_0x877919==null)return;let {skeleton:_0x3d2072}=_0x877919,{scene:_0x473e7e}=this[_0x2f5f77(0x1d6)];_0x473e7e[_0x2f5f77(0x2de)][_0x2f5f77(0x2d8)]((0x0,_0x412392['debounce'])(_0x18633d=>{const _0x1540d0=_0x2f5f77;var _0x46b32a,_0x4350cc;let {offsetX:_0x260d44,offsetY:_0x1b4e7e}=_0x18633d,{x:_0x28a155,y:_0x46b4f1}=_0x473e7e[_0x1540d0(0x449)](_0x6b7952['Vector2']['FromArray']([_0x260d44,_0x1b4e7e])),{scaleX:_0x1d56ff,scaleY:_0x9bb788}=_0x473e7e[_0x1540d0(0x35c)](),_0x5d5c93=_0x473e7e[_0x1540d0(0x4af)](_0x6b7952[_0x1540d0(0x3ce)][_0x1540d0(0x3b1)]),_0x55ae09=_0x473e7e[_0x1540d0(0x3f3)](_0x6b7952[_0x1540d0(0x243)][_0x1540d0(0x365)]([_0x28a155,_0x46b4f1]),_0x5d5c93),_0x1facd8=_0x3d2072['getCellPositionByOffset'](_0x260d44,_0x1b4e7e,_0x1d56ff,_0x9bb788,_0x55ae09);((_0x46b32a=this[_0x1540d0(0x28e)])==null?void 0x0:_0x46b32a[_0x1540d0(0x380)])===_0x1facd8['column']&&((_0x4350cc=this['_lastPointer'])==null?void 0x0:_0x4350cc[_0x1540d0(0x2e8)])===_0x1facd8[_0x1540d0(0x2e8)]||this[_0x1540d0(0x31a)][_0x1540d0(0x341)](_0x11382f=>{_0x11382f['onMouseMove'](_0x1facd8);});},0x64));});}['_updateCollabCursors'](_0x4b1614,_0x45211e){const _0x2a7980=_0x2c832d;let _0x2f5b8a=this[_0x2a7980(0x31c)][_0x2a7980(0x3a0)]();if(!_0x2f5b8a)return;let _0x460ed1=this[_0x2a7980(0x40e)]();if(!_0x460ed1)return;this['_cursors']['forEach'](_0x5c4b0b=>{_0x5c4b0b['makeDirty']();});let {scene:_0x56eba1}=_0x460ed1,_0x281ab2=_0x2cdc88(Array['from'](_0x45211e[_0x2a7980(0x383)]()))[_0x2a7980(0x464)](_0x5b2fa9=>{const _0x5ce57d=_0x2a7980;let {color:_0x49dfb5,range:_0x3238c5,name:_0x8c90c8,selection:_0x3074a3,sheetID:_0x56fa47}=_0x5b2fa9,{startColumn:_0x537ad6,startRow:_0x1876f5,endColumn:_0x406c0e,endRow:_0x364f93}=_0x3238c5,_0x3aa9a6=(0x0,_0x2e45e6[_0x5ce57d(0x1eb)])(_0x1876f5,_0x537ad6,_0x56eba1,_0x2f5b8a),_0x1addf8=(0x0,_0x2e45e6[_0x5ce57d(0x1eb)])(_0x364f93,_0x406c0e,_0x56eba1,_0x2f5b8a),{columnHeaderHeightAndMarginTop:_0x48f13b}=_0x2f5b8a,{startX:_0x397237,startY:_0x5d66ff}=_0x3aa9a6,{endX:_0x27a337,endY:_0x3caf4d}=_0x1addf8,_0x3b2d96=_0x27a337-_0x397237,_0x16b5fb=_0x3caf4d-_0x5d66ff;return new _0x1c5797(_0x8c90c8,{'labelPosition':_0x5d66ff-_0x48f13b>=0x14?_0x5ce57d(0x469):'bottom','sheetID':_0x56fa47,'range':_0x3238c5,'color':_0x49dfb5,'name':_0x8c90c8,'selection':_0x3074a3,'left':_0x397237,'top':_0x5d66ff,'width':_0x3b2d96,'height':_0x16b5fb,'evented':!0x1,'zIndex':0x1389});});_0x56eba1['addObjects'](_0x281ab2,0x1),this['_cursors']=new Set(_0x281ab2);}['_removeCollabCursors'](){const _0x1492b4=_0x2c832d;var _0x5bb3bb;(_0x5bb3bb=this[_0x1492b4(0x31a)])==null||_0x5bb3bb[_0x1492b4(0x341)](_0x15c642=>_0x15c642[_0x1492b4(0x43c)]());}[_0x2c832d(0x40e)](){const _0x2202b7=_0x2c832d;return(0x0,_0x2e45e6['getSheetObject'])(this[_0x2202b7(0x1d6)][_0x2202b7(0x36c)],this[_0x2202b7(0x1d6)]);}};_0x19300d=_0x568561([_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x2e45e6[_0x2c832d(0x1fb)])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x270b73)),_0x144f1b(0x3,(0x0,_0x412392['Inject'])(_0x412392[_0x2c832d(0x2f1)]))],_0x19300d);function _0x2cdc88(_0x78978){const _0x286b90=_0x2c832d;let _0x29a75c=new Map();return _0x78978[_0x286b90(0x341)](_0x704099=>{const _0x2d374f=_0x286b90;if(_0x29a75c[_0x2d374f(0x27c)](_0x704099[_0x2d374f(0x21e)])){let _0x812324=_0x29a75c[_0x2d374f(0x24d)](_0x704099['selection']);_0x812324[_0x2d374f(0x2b7)]+=',\x20'+_0x704099[_0x2d374f(0x2b7)];}else _0x29a75c[_0x2d374f(0x2c9)](_0x704099[_0x2d374f(0x21e)],_0x704099);}),Array[_0x286b90(0x238)](_0x29a75c[_0x286b90(0x383)]());}let _0x3a5846=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x54305e,_0x40314d,_0x434ef5,_0x32fe32,_0x2aa916,_0x77f0b8){const _0x2c9e0c=_0x2c832d;super(),this['_beforeCloseService']=_0x54305e,this[_0x2c9e0c(0x3cd)]=_0x40314d,this['_collaborationUIEventService']=_0x434ef5,this[_0x2c9e0c(0x2aa)]=_0x32fe32,this[_0x2c9e0c(0x304)]=_0x2aa916,this['_localeService']=_0x77f0b8,this[_0x2c9e0c(0x260)](),this[_0x2c9e0c(0x393)]();}[_0x2c832d(0x260)](){const _0x3e2934=_0x2c832d;this['disposeWithMe'](this['_beforeCloseService'][_0x3e2934(0x41d)](()=>{const _0x169dc5=_0x3e2934;if(this[_0x169dc5(0x3cd)][_0x169dc5(0x45b)][_0x169dc5(0x48a)])return this[_0x169dc5(0x2c6)]['t'](_0x169dc5(0x255));}));}['_initEvent'](){const _0x5ad39c=_0x2c832d;this[_0x5ad39c(0x319)](this[_0x5ad39c(0x2ba)][_0x5ad39c(0x1b0)]['subscribe'](_0xabb2d2=>{const _0x1cebfe=_0x5ad39c;_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId'][_0x1cebfe(0x2a8)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType'][_0x1cebfe(0x45c)],'content':this['_localeService']['t'](_0x1cebfe(0x2f3))}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x3ee)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33[_0x1cebfe(0x2b3)]['Warning'],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x229))}),_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x28d)),'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x1cc)),'type':_0x1cebfe(0x286),'duration':0x0}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)]['CONFLICT']&&this[_0x1cebfe(0x2aa)]['show']({'type':_0x39ba33['MessageType'][_0x1cebfe(0x1d8)],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x229))+'('+_0xabb2d2[_0x1cebfe(0x496)]+')'}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)]['JOIN_ROOM_FAILED']&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33[_0x1cebfe(0x2b3)][_0x1cebfe(0x45c)],'content':this['_localeService']['t'](_0xabb2d2[_0x1cebfe(0x496)]||'')}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x1e2)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType'][_0x1cebfe(0x45c)],'content':this['_localeService']['t']('session.will-retry')}),_0xabb2d2['id']===_0x3839b9[_0x1cebfe(0x220)][_0x1cebfe(0x266)]&&this[_0x1cebfe(0x2aa)]['show']({'type':_0x39ba33[_0x1cebfe(0x2b3)]['Error'],'content':this['_localeService']['t'](_0x1cebfe(0x447))}),_0xabb2d2['id']===_0x3839b9['CollaborationUIEventId'][_0x1cebfe(0x4ab)]&&this[_0x1cebfe(0x2aa)][_0x1cebfe(0x251)]({'type':_0x39ba33['MessageType']['Error'],'content':this[_0x1cebfe(0x2c6)]['t'](_0x1cebfe(0x439))});}));}};_0x3a5846=_0x568561([_0x144f1b(0x0,_0x197442[_0x2c832d(0x3fc)]),_0x144f1b(0x1,_0x3839b9[_0x2c832d(0x391)]),_0x144f1b(0x2,(0x0,_0x412392['Inject'])(_0x3839b9[_0x2c832d(0x3c8)])),_0x144f1b(0x3,_0x197442[_0x2c832d(0x49d)]),_0x144f1b(0x4,_0x197442[_0x2c832d(0x2f8)]),_0x144f1b(0x5,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x1c1)]))],_0x3a5846);let _0x45e6c7='collaboration-client-ui.config';Symbol(_0x45e6c7);let _0x43887c={},_0x564baf=class{constructor(_0x120a99,_0x5a537a){const _0x4cfb80=_0x2c832d;this[_0x4cfb80(0x32c)]=_0x120a99,this[_0x4cfb80(0x4a6)]=_0x5a537a;}[_0x2c832d(0x4a9)](_0x3e2769){const _0x6dd024=_0x2c832d;this[_0x6dd024(0x2f9)](_0x3e2769),this[_0x6dd024(0x2a0)](_0x3e2769);}[_0x2c832d(0x3c1)](_0x59644a){const _0x52a360=_0x2c832d;let {unitID:_0x4c4f6b}=_0x59644a,{redoCache:_0x3076e5}=this[_0x52a360(0x4a6)][_0x52a360(0x48c)](_0x4c4f6b)[_0x52a360(0x468)](_0x493739[_0x52a360(0x376)])[_0x52a360(0x200)]();if(_0x3076e5[_0x52a360(0x1e6)]===0x0)return _0x59644a;let _0x1d5119=_0x412392[_0x52a360(0x39d)]['deepClone'](_0x59644a[_0x52a360(0x294)][0x0]);for(let _0x435a32=0x0;_0x435a32<_0x3076e5[_0x52a360(0x1e6)];_0x435a32++){let _0x2a95c9={'id':_0x52a360(0x44a),'params':{..._0x3076e5[_0x435a32]}},_0x36977a=this[_0x52a360(0x32c)][_0x52a360(0x48b)](_0x1d5119,_0x2a95c9,!0x1);if((0x0,_0x584220[_0x52a360(0x270)])(_0x36977a))throw _0x36977a[_0x52a360(0x286)];_0x1d5119=_0x36977a[_0x52a360(0x284)];}return{..._0x412392[_0x52a360(0x39d)][_0x52a360(0x3ff)](_0x59644a),'mutations':[_0x1d5119]};}['_transformUndoRedoStack'](_0x6f80a5){const _0x30b5bc=_0x2c832d;let {unitID:_0x4288cf}=_0x6f80a5,_0x4da1f8=this[_0x30b5bc(0x4a6)][_0x30b5bc(0x48c)](_0x4288cf)[_0x30b5bc(0x468)](_0x493739[_0x30b5bc(0x376)]),{undoCache:_0x53868b,redoCache:_0x3c1ed8}=_0x4da1f8[_0x30b5bc(0x200)]();if(_0x53868b[_0x30b5bc(0x1e6)]===0x0||_0x3c1ed8[_0x30b5bc(0x1e6)]===0x0)return;let _0x42fd04=[],_0x1fb0e1=[],_0xb8278c=_0x412392['Tools'][_0x30b5bc(0x3ff)](_0x6f80a5[_0x30b5bc(0x294)][0x0]),_0x5b0e6a=_0x412392[_0x30b5bc(0x39d)][_0x30b5bc(0x3ff)](_0x6f80a5[_0x30b5bc(0x294)][0x0]);for(let _0x48a9d7=_0x53868b['length']-0x1;_0x48a9d7>=0x0;_0x48a9d7--){let _0x1bf178={'id':'doc.mutation.rich-text-editing','params':{..._0x53868b[_0x48a9d7]}},_0x4be818={'id':_0x30b5bc(0x44a),'params':{..._0x3c1ed8[_0x48a9d7]}},_0x30604e=this[_0x30b5bc(0x32c)][_0x30b5bc(0x48b)](_0xb8278c,_0x1bf178,!0x1),_0x2d1e71=this['_transformService'][_0x30b5bc(0x48b)](_0x5b0e6a,_0x4be818,!0x1);if((0x0,_0x584220['isTransformMutationFailure'])(_0x30604e))throw _0x30604e[_0x30b5bc(0x286)];if((0x0,_0x584220[_0x30b5bc(0x270)])(_0x2d1e71))throw _0x2d1e71[_0x30b5bc(0x286)];_0x42fd04[_0x30b5bc(0x1dc)](_0x30604e[_0x30b5bc(0x39a)][_0x30b5bc(0x29c)]),_0x1fb0e1['unshift'](_0x2d1e71[_0x30b5bc(0x39a)][_0x30b5bc(0x29c)]),_0xb8278c=_0x30604e['m1Prime'],_0x5b0e6a=_0x2d1e71[_0x30b5bc(0x284)];}_0x4da1f8[_0x30b5bc(0x2b4)]({'undoCache':_0x42fd04,'redoCache':_0x1fb0e1});}[_0x2c832d(0x2a0)](_0x2d1286){const _0x2c0ca6=_0x2c832d;let {unitID:_0x3a9d28}=_0x2d1286,_0x52e784=this[_0x2c0ca6(0x4a6)]['getRenderById'](_0x3a9d28)[_0x2c0ca6(0x468)](_0x493739[_0x2c0ca6(0x376)]),_0x1df6df=_0x52e784['getActiveRange']();if(_0x1df6df==null)return;let _0x4e102f=[{'id':_0x2c0ca6(0x44a),'params':{'unitId':_0x2d1286[_0x2c0ca6(0x3a5)],'actions':null,'textRanges':[_0x1df6df]}}],_0x1fdc54=this['_transformService']['transformMutationsWithChangeset'](_0x2d1286,_0x4e102f);if(!(0x0,_0x584220['isTransformMutationsWithChangesetSuccess'])(_0x1fdc54))throw _0x1fdc54[_0x2c0ca6(0x286)];let _0x41a691=_0x1fdc54[_0x2c0ca6(0x39a)][0x0]['params'][_0x2c0ca6(0x475)];Array['isArray'](_0x41a691)&&_0x41a691[_0x2c0ca6(0x1e6)]&&_0x52e784[_0x2c0ca6(0x2c7)](_0x41a691[0x0]);}};_0x564baf=_0x568561([_0x144f1b(0x0,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x1,_0x6b7952[_0x2c832d(0x368)])],_0x564baf);let _0xcacb51=class{constructor(_0x2bde94,_0x101315,_0x5c8c43){const _0x4f10fb=_0x2c832d;this[_0x4f10fb(0x3b8)]=_0x2bde94,this['_transformService']=_0x101315,this[_0x4f10fb(0x3b7)]=_0x5c8c43;}['transformStateCache'](_0x46bd0a){this['_transformHistoryAndStateStack'](_0x46bd0a);}[_0x2c832d(0x3c1)](_0x4eb7d8){const _0x5484e1=_0x2c832d;let {unitID:_0x359948}=_0x4eb7d8,{collaboration:_0x384db7}=this[_0x5484e1(0x3b7)]['getStateCache'](_0x359948);if(_0x384db7['length']===0x0)return _0x4eb7d8;let _0x55f792=_0x412392[_0x5484e1(0x39d)][_0x5484e1(0x3ff)](_0x4eb7d8[_0x5484e1(0x294)][0x0]);for(let _0x2fcd0e=0x0;_0x2fcd0e<_0x384db7[_0x5484e1(0x1e6)];_0x2fcd0e++){let _0x4a6aca={'id':_0x5484e1(0x44a),'params':{'unitId':_0x384db7[_0x2fcd0e][_0x5484e1(0x366)],..._0x384db7[_0x2fcd0e][_0x5484e1(0x2d2)]}},_0x2000e9=this[_0x5484e1(0x32c)]['transformMutation'](_0x55f792,_0x4a6aca,!0x1);if((0x0,_0x584220['isTransformMutationFailure'])(_0x2000e9))throw _0x2000e9[_0x5484e1(0x286)];_0x55f792=_0x2000e9[_0x5484e1(0x284)];}return{..._0x412392[_0x5484e1(0x39d)][_0x5484e1(0x3ff)](_0x4eb7d8),'mutations':[_0x55f792]};}[_0x2c832d(0x41f)](_0x3c4dbd){const _0x27b8f9=_0x2c832d;let {unitID:_0x5d1b7d}=_0x3c4dbd,{history:_0x4ae092,collaboration:_0x4a2457}=this['_docStateChangeManagerService'][_0x27b8f9(0x19e)](_0x5d1b7d);if(_0x4ae092[_0x27b8f9(0x1e6)]===0x0&&_0x4a2457[_0x27b8f9(0x1e6)]===0x0)return;let _0x191269=[],_0x381be6=[],_0xfbc186=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]),_0x7506af=_0x412392['Tools']['deepClone'](_0x3c4dbd[_0x27b8f9(0x294)][0x0]);for(let _0x52964e=_0x4ae092[_0x27b8f9(0x1e6)]-0x1;_0x52964e>=0x0;_0x52964e--){let _0x548bfe={'id':_0x27b8f9(0x44a),'params':{'unitId':_0x4ae092[_0x52964e][_0x27b8f9(0x366)],..._0x4ae092[_0x52964e][_0x27b8f9(0x407)]}},_0x4ca958={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ae092[_0x52964e]['unitId'],..._0x4ae092[_0x52964e][_0x27b8f9(0x2d2)]}},_0x254e6d=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0xfbc186,_0x548bfe,!0x1),_0x8e17b2=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0x7506af,_0x4ca958,!0x1);if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x254e6d))throw _0x254e6d[_0x27b8f9(0x286)];if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x8e17b2))throw _0x8e17b2[_0x27b8f9(0x286)];_0x191269[_0x27b8f9(0x1dc)]({..._0x4ae092[_0x52964e],'undoState':_0x254e6d[_0x27b8f9(0x39a)]['params'],'redoState':_0x8e17b2[_0x27b8f9(0x39a)][_0x27b8f9(0x29c)]}),_0xfbc186=_0x254e6d[_0x27b8f9(0x284)],_0x7506af=_0x8e17b2[_0x27b8f9(0x284)];}_0xfbc186=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]),_0x7506af=_0x412392[_0x27b8f9(0x39d)][_0x27b8f9(0x3ff)](_0x3c4dbd[_0x27b8f9(0x294)][0x0]);for(let _0xed96fb=_0x4a2457['length']-0x1;_0xed96fb>=0x0;_0xed96fb--){let _0x140564={'id':_0x27b8f9(0x44a),'params':{'unitId':_0x4a2457[_0xed96fb][_0x27b8f9(0x366)],..._0x4a2457[_0xed96fb][_0x27b8f9(0x407)]}},_0x33787a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a2457[_0xed96fb]['unitId'],..._0x4a2457[_0xed96fb][_0x27b8f9(0x2d2)]}},_0x2c7c3c=this['_transformService']['transformMutation'](_0xfbc186,_0x140564,!0x1),_0x3c07aa=this[_0x27b8f9(0x32c)][_0x27b8f9(0x48b)](_0x7506af,_0x33787a,!0x1);if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x2c7c3c))throw _0x2c7c3c[_0x27b8f9(0x286)];if((0x0,_0x584220[_0x27b8f9(0x270)])(_0x3c07aa))throw _0x3c07aa[_0x27b8f9(0x286)];_0x381be6[_0x27b8f9(0x1dc)]({..._0x4a2457[_0xed96fb],'undoState':_0x2c7c3c['m2Prime'][_0x27b8f9(0x29c)],'redoState':_0x3c07aa[_0x27b8f9(0x39a)][_0x27b8f9(0x29c)]}),_0xfbc186=_0x2c7c3c[_0x27b8f9(0x284)],_0x7506af=_0x3c07aa[_0x27b8f9(0x284)];}this[_0x27b8f9(0x3b7)][_0x27b8f9(0x3bd)](_0x5d1b7d,{'history':_0x191269,'collaboration':_0x381be6});}};_0xcacb51=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x1,_0x584220[_0x2c832d(0x28b)]),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x493739[_0x2c832d(0x32a)]))],_0xcacb51);let _0x2842fb=class{constructor(_0x4b0f3f,_0x2e42fb){const _0x1bd5a0=_0x2c832d;this[_0x1bd5a0(0x3b8)]=_0x4b0f3f,this[_0x1bd5a0(0x32c)]=_0x2e42fb;}['transformSelections'](_0x2c73f9){const _0x237f30=_0x2c832d;var _0x297a7e;let _0x28cedf=this[_0x237f30(0x3b8)]['get'](_0x5bad8c['DocSelectionManagerService']),_0x5e069f=(_0x297a7e=_0x28cedf[_0x237f30(0x3d0)]())==null?[]:_0x297a7e;if(_0x5e069f['length']===0x0)return;let _0x1641b2=_0x2c73f9['unitID'],_0x22f77b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1641b2,'actions':null,'textRanges':_0x5e069f}}],_0x42495b=this[_0x237f30(0x32c)][_0x237f30(0x33a)](_0x2c73f9,_0x22f77b);if(!(0x0,_0x584220[_0x237f30(0x1ce)])(_0x42495b))throw _0x42495b['error'];let _0x14f65c=_0x42495b[_0x237f30(0x39a)][0x0][_0x237f30(0x29c)][_0x237f30(0x475)];Array[_0x237f30(0x285)](_0x14f65c)&&_0x14f65c[_0x237f30(0x1e6)]&&_0x28cedf[_0x237f30(0x457)](_0x14f65c,{'unitId':_0x1641b2,'subUnitId':_0x1641b2},!0x1);}};_0x2842fb=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x1,_0x584220[_0x2c832d(0x28b)])],_0x2842fb);let _0x524fbf=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x47a250,_0x1652df,_0x42e607,_0x1c4d0d,_0x5c39dc,_0x566ee9,_0x34727b,_0x3bc5ba){const _0x337e43=_0x2c832d;super(),this[_0x337e43(0x3b7)]=_0x47a250,this[_0x337e43(0x389)]=_0x1652df,this['_docTransformIMECacheService']=_0x42e607,this[_0x337e43(0x1b4)]=_0x1c4d0d,this['_docTransformSelectionsService']=_0x5c39dc,this['_docSyncEditingCollabCursorService']=_0x566ee9,this['_messageService']=_0x34727b,this[_0x337e43(0x2c6)]=_0x3bc5ba,_0x4a0977(this,_0x337e43(0x471),new _0x1af95b[(_0x337e43(0x3d7))](_0x3839b9[_0x337e43(0x2b6)][_0x337e43(0x222)])),this[_0x337e43(0x40d)]();}[_0x2c832d(0x40d)](){const _0x1cef1d=_0x2c832d;this[_0x1cef1d(0x319)](this[_0x1cef1d(0x389)]['entityInit$'][_0x1cef1d(0x2ef)](_0x340687=>{const _0x581bd6=_0x1cef1d;let _0x2e3e77=this['_docStateChangeManagerService'][_0x581bd6(0x274)][_0x581bd6(0x2ef)](_0x13a398=>{const _0x3223f3=_0x581bd6;if(_0x13a398==null)return;let {unitId:_0x22868e,redoState:_0x3e51a1,commandId:_0x53f95e}=_0x13a398;if(_0x22868e!==_0x340687['unitID'])return;let _0x5ccda9={'id':_0x53f95e,'type':_0x412392[_0x3223f3(0x1c5)]['MUTATION'],'params':{'unitId':_0x22868e,'actions':_0x3e51a1[_0x3223f3(0x329)],'textRanges':null}};_0x340687[_0x3223f3(0x3bf)](_0x5ccda9);});_0x340687[_0x581bd6(0x319)](_0x2e3e77),_0x340687 instanceof _0x3839b9[_0x581bd6(0x1b9)]&&_0x340687[_0x581bd6(0x3a1)]({'onTransformIME':_0x3d5bf2=>this[_0x581bd6(0x460)]['transformIMECache'](_0x3d5bf2),'onTransformState':_0x8470d5=>this[_0x581bd6(0x1b4)][_0x581bd6(0x42a)](_0x8470d5),'onTransformSelections':_0x2f833e=>this[_0x581bd6(0x364)][_0x581bd6(0x3f5)](_0x2f833e),'onSyncEditingCollabCursor':_0x5ae4f2=>this[_0x581bd6(0x2bf)]['syncEditingCollabCursor'](_0x5ae4f2),'onTransformRemoteChangesetByIMECache':_0x3519fc=>this['_docTransformIMECacheService'][_0x581bd6(0x3c1)](_0x3519fc),'onTransformRemoteChangesetByStateCache':_0x20ef24=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x20ef24)});}));}};_0x524fbf=_0x568561([_0x144f1b(0x0,(0x0,_0x412392['Inject'])(_0x493739[_0x2c832d(0x32a)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9['CollaborationController'])),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x564baf)),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0xcacb51)),_0x144f1b(0x4,(0x0,_0x412392['Inject'])(_0x2842fb)),_0x144f1b(0x5,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1fb69b)),_0x144f1b(0x6,_0x197442[_0x2c832d(0x49d)]),_0x144f1b(0x7,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x1c1)]))],_0x524fbf);let _0x5325d3=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0x27b851,_0x5095a7,_0xc77870,_0x4e433f){const _0x42a2ed=_0x2c832d;super(),this[_0x42a2ed(0x3b8)]=_0x27b851,this[_0x42a2ed(0x1ea)]=_0x5095a7,this[_0x42a2ed(0x436)]=_0xc77870,this['_collaborationSessionService']=_0x4e433f,_0x4a0977(this,'_memberID',void 0x0),this[_0x42a2ed(0x21c)]();}[_0x2c832d(0x21c)](){const _0x51396c=_0x2c832d;this[_0x51396c(0x1d4)](),this[_0x51396c(0x388)](),this[_0x51396c(0x372)](),this['_initUserListener']();}[_0x2c832d(0x2bb)](){const _0x35ba3f=_0x2c832d;this[_0x35ba3f(0x319)](this[_0x35ba3f(0x2be)][_0x35ba3f(0x290)][_0x35ba3f(0x2ef)](_0x27facb=>{const _0x2fdd8e=_0x35ba3f;this[_0x2fdd8e(0x442)]=_0x27facb==null?void 0x0:_0x27facb[_0x2fdd8e(0x4a3)];}));}[_0x2c832d(0x1d4)](){const _0x2a28f7=_0x2c832d;let _0x1082e5=_0x4081af=>{const _0x393a79=_0xff8c;var _0x2b0140;this['_uploadLog'](_0x393a79(0x286),_0x393a79(0x354)+_0x4081af[_0x393a79(0x474)]+_0x393a79(0x342)+_0x4081af['filename']+':'+_0x4081af[_0x393a79(0x46b)]+':'+_0x4081af[_0x393a79(0x3c7)]+'\x0a'+(((_0x2b0140=_0x4081af['error'])==null?void 0x0:_0x2b0140[_0x393a79(0x419)])||''));};window[_0x2a28f7(0x42d)]('error',_0x1082e5),this[_0x2a28f7(0x319)](()=>{const _0x2bad16=_0x2a28f7;window[_0x2bad16(0x476)](_0x2bad16(0x286),_0x1082e5);});}[_0x2c832d(0x388)](){const _0x5eaa7e=_0x2c832d;let _0x438d85=_0x3a8fe6=>{const _0x5efbd3=_0xff8c;this[_0x5efbd3(0x43d)](_0x5efbd3(0x286),'[Unhandled\x20Rejection]:\x20'+_0x3a8fe6[_0x5efbd3(0x2fe)]);};window[_0x5eaa7e(0x42d)]('unhandledrejection',_0x438d85),this[_0x5eaa7e(0x319)](()=>{const _0xe3a030=_0x5eaa7e;window[_0xe3a030(0x476)](_0xe3a030(0x250),_0x438d85);});}[_0x2c832d(0x372)](){const _0x5be6ad=_0x2c832d;let _0xb14842=this[_0x5be6ad(0x436)][_0x5be6ad(0x286)][_0x5be6ad(0x3af)](this[_0x5be6ad(0x436)]);this[_0x5be6ad(0x436)][_0x5be6ad(0x286)]=(..._0x53863e)=>{const _0x38a16f=_0x5be6ad;let _0x436b67=_0x53863e[_0x38a16f(0x464)](_0x393333=>_0x393333 instanceof Error?_0x393333[_0x38a16f(0x474)]+'\x0a'+_0x393333[_0x38a16f(0x419)]:String(_0x393333))[_0x38a16f(0x2f7)]('\x20');this[_0x38a16f(0x43d)](_0x38a16f(0x286),_0x38a16f(0x1c9)+_0x436b67),_0xb14842(..._0x53863e);},this[_0x5be6ad(0x319)](()=>{const _0x15b424=_0x5be6ad;this[_0x15b424(0x436)][_0x15b424(0x286)]=_0xb14842;});}['_uploadLog'](_0x18d3d8,_0xe92647){const _0x4c8196=_0x2c832d;try{let _0x30c6f1={'userId':this[_0x4c8196(0x442)],'logLabel':_0x18d3d8,'content':_0xe92647};this['_httpService']['post'](_0x4c8196(0x268),{'body':_0x30c6f1})['catch'](()=>{});}catch{}}};_0x5325d3=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00['HTTPService'])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x3839b9[_0x2c832d(0x37f)]))],_0x5325d3);let _0x32a119=function(_0x43665a){const _0x2f9e39=_0x2c832d;return _0x43665a[_0x43665a[_0x2f9e39(0x39f)]=0x0]=_0x2f9e39(0x39f),_0x43665a[_0x43665a['OK']=0x1]='OK',_0x43665a[_0x43665a['INTERNAL_ERROR']=0x2]=_0x2f9e39(0x494),_0x43665a[_0x43665a[_0x2f9e39(0x1ad)]=0x3]=_0x2f9e39(0x1ad),_0x43665a[_0x43665a[_0x2f9e39(0x435)]=0x4]=_0x2f9e39(0x435),_0x43665a[_0x43665a[_0x2f9e39(0x381)]=0x5]=_0x2f9e39(0x381),_0x43665a[_0x43665a[_0x2f9e39(0x491)]=0x6]='ALREADY_EXISTS',_0x43665a[_0x43665a[_0x2f9e39(0x466)]=0x7]=_0x2f9e39(0x466),_0x43665a[_0x43665a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x43665a[_0x43665a[_0x2f9e39(0x1f6)]=0x9]='COMPLETION_FINISHED',_0x43665a[_0x43665a[_0x2f9e39(0x404)]=0xa]=_0x2f9e39(0x404),_0x43665a[_0x43665a[_0x2f9e39(0x2c0)]=0xb]=_0x2f9e39(0x2c0),_0x43665a[_0x43665a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2f9e39(0x2ca),_0x43665a[_0x43665a[_0x2f9e39(0x264)]=0xd]=_0x2f9e39(0x264),_0x43665a[_0x43665a[_0x2f9e39(0x213)]=0xe]=_0x2f9e39(0x213),_0x43665a[_0x43665a[_0x2f9e39(0x375)]=0xf]=_0x2f9e39(0x375),_0x43665a[_0x43665a[_0x2f9e39(0x1ec)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x43665a[_0x43665a['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x2f9e39(0x1cb),_0x43665a[_0x43665a[_0x2f9e39(0x323)]=0x65]=_0x2f9e39(0x323),_0x43665a[_0x43665a[_0x2f9e39(0x37c)]=0xc9]=_0x2f9e39(0x37c),_0x43665a[_0x43665a[_0x2f9e39(0x349)]=0xca]=_0x2f9e39(0x349),_0x43665a[_0x43665a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2f9e39(0x340),_0x43665a[_0x43665a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2f9e39(0x1e5),_0x43665a[_0x43665a[_0x2f9e39(0x1a4)]=0x1772]=_0x2f9e39(0x1a4),_0x43665a[_0x43665a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2f9e39(0x2b9),_0x43665a[_0x43665a[_0x2f9e39(0x3ed)]=0x1b59]=_0x2f9e39(0x3ed),_0x43665a[_0x43665a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2f9e39(0x3ea),_0x43665a[_0x43665a[_0x2f9e39(0x463)]=0x1b5b]=_0x2f9e39(0x463),_0x43665a[_0x43665a[_0x2f9e39(0x42e)]=0x1b5c]=_0x2f9e39(0x42e),_0x43665a[_0x43665a[_0x2f9e39(0x225)]=0x1b5d]=_0x2f9e39(0x225),_0x43665a[_0x43665a[_0x2f9e39(0x227)]=0x1f41]=_0x2f9e39(0x227),_0x43665a[_0x43665a[_0x2f9e39(0x1b6)]=0x2329]=_0x2f9e39(0x1b6),_0x43665a[_0x43665a[_0x2f9e39(0x1af)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x43665a[_0x43665a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2f9e39(0x434),_0x43665a[_0x43665a[_0x2f9e39(0x2a1)]=0x232c]=_0x2f9e39(0x2a1),_0x43665a[_0x43665a[_0x2f9e39(0x371)]=0x232d]=_0x2f9e39(0x371),_0x43665a[_0x43665a[_0x2f9e39(0x1d7)]=0x2711]=_0x2f9e39(0x1d7),_0x43665a[_0x43665a[_0x2f9e39(0x214)]=0x2712]=_0x2f9e39(0x214),_0x43665a[_0x43665a['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2f9e39(0x369),_0x43665a[_0x43665a[_0x2f9e39(0x24e)]=0x2714]=_0x2f9e39(0x24e),_0x43665a[_0x43665a[_0x2f9e39(0x1f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x43665a[_0x43665a[_0x2f9e39(0x27e)]=0x271b]=_0x2f9e39(0x27e),_0x43665a[_0x43665a['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2f9e39(0x2cd),_0x43665a[_0x43665a[_0x2f9e39(0x209)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x43665a[_0x43665a['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x2f9e39(0x1b3),_0x43665a[_0x43665a['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2f9e39(0x3b5),_0x43665a[_0x43665a[_0x2f9e39(0x19d)]=0x2720]=_0x2f9e39(0x19d),_0x43665a[_0x43665a[_0x2f9e39(0x31d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x43665a[_0x43665a[_0x2f9e39(0x483)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x43665a[_0x43665a[_0x2f9e39(0x3b4)]=0x2ee2]='INVALID_INVITE_CODE',_0x43665a[_0x43665a['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2f9e39(0x332),_0x43665a[_0x43665a[_0x2f9e39(0x1d1)]=0x2ee4]=_0x2f9e39(0x1d1),_0x43665a[_0x43665a[_0x2f9e39(0x48e)]=0x2ee5]=_0x2f9e39(0x48e),_0x43665a[_0x43665a[_0x2f9e39(0x23b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x2ae)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x2d3)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x43665a[_0x43665a[_0x2f9e39(0x296)]=0x36b1]=_0x2f9e39(0x296),_0x43665a[_0x43665a[_0x2f9e39(0x345)]=0x36b2]=_0x2f9e39(0x345),_0x43665a[_0x43665a[_0x2f9e39(0x4a7)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x43665a[_0x43665a[_0x2f9e39(0x415)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x43665a[_0x43665a[_0x2f9e39(0x1e1)]=0x36b5]=_0x2f9e39(0x1e1),_0x43665a[_0x43665a[_0x2f9e39(0x2e7)]=0x36b6]=_0x2f9e39(0x2e7),_0x43665a[_0x43665a[_0x2f9e39(0x211)]=0x36b7]=_0x2f9e39(0x211),_0x43665a[_0x43665a[_0x2f9e39(0x450)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x43665a[_0x43665a[_0x2f9e39(0x298)]=0x3715]=_0x2f9e39(0x298),_0x43665a[_0x43665a['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x2f9e39(0x420),_0x43665a[_0x43665a['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x2f9e39(0x44f),_0x43665a[_0x43665a[_0x2f9e39(0x33d)]=0x37dd]=_0x2f9e39(0x33d),_0x43665a[_0x43665a['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x43665a[_0x43665a[_0x2f9e39(0x40a)]=0x3a9a]=_0x2f9e39(0x40a),_0x43665a[_0x43665a[_0x2f9e39(0x308)]=0x3a9b]=_0x2f9e39(0x308),_0x43665a[_0x43665a[_0x2f9e39(0x3d3)]=0x3a9c]=_0x2f9e39(0x3d3),_0x43665a[_0x43665a[_0x2f9e39(0x359)]=0x3a9d]=_0x2f9e39(0x359),_0x43665a[_0x43665a['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2f9e39(0x3ef),_0x43665a[_0x43665a[_0x2f9e39(0x23d)]=0x3a9f]=_0x2f9e39(0x23d),_0x43665a[_0x43665a['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x2f9e39(0x4ae),_0x43665a[_0x43665a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x43665a;}({});function _0x1b274c(_0xf8a65c){const _0x5baf2d=_0x2c832d;var _0x3a4059,_0x6cfd20;let _0x5b96ec=(_0x3a4059=_0xf8a65c['stageInfo'])==null?void 0x0:_0x3a4059[_0x5baf2d(0x233)],_0x40dc45=((_0x6cfd20=_0xf8a65c[_0x5baf2d(0x46a)])==null?void 0x0:_0x6cfd20['totalFormulasToCalculate'])||0x0;return _0x5b96ec===_0x3eef3a[_0x5baf2d(0x282)]['START_CALCULATION']&&_0x40dc45>0x0;}function _0x324149(_0xbb2aec){const _0x3a818c=_0x2c832d;return _0xbb2aec[_0x3a818c(0x2c1)]===_0x3eef3a[_0x3a818c(0x2ad)][_0x3a818c(0x31b)];}let _0x381f4e=class extends _0x412392['Disposable']{constructor(_0x4f9596,_0x480af2,_0x4f21f6,_0x56c08b,_0x1b92ab,_0x40cc24,_0x134de5){const _0x31bfad=_0x2c832d;super(),this[_0x31bfad(0x2aa)]=_0x4f9596,this['_commandService']=_0x480af2,this[_0x31bfad(0x44e)]=_0x4f21f6,this[_0x31bfad(0x1ea)]=_0x56c08b,this[_0x31bfad(0x206)]=_0x1b92ab,this['_logService']=_0x40cc24,this[_0x31bfad(0x2c6)]=_0x134de5,_0x4a0977(this,'_pollingInterval',null),_0x4a0977(this,_0x31bfad(0x324),0x0),_0x4a0977(this,_0x31bfad(0x2a7),0x0),_0x4a0977(this,_0x31bfad(0x273),[]),_0x4a0977(this,_0x31bfad(0x382),0x0),this[_0x31bfad(0x210)]();}['_initCommandInterceptor'](){const _0x8422a7=_0x2c832d;this[_0x8422a7(0x319)](this[_0x8422a7(0x3b6)]['beforeCommandExecuted']((_0x359d45,_0x1467e8)=>{const _0x4a9aee=_0x8422a7;var _0x31d52b;if(_0x359d45['id']!==_0x3eef3a[_0x4a9aee(0x322)]['id'])return;let _0x2cf2f5=_0x359d45[_0x4a9aee(0x29c)];if(this['_hasFormulaInDirtyRanges']((_0x31d52b=_0x2cf2f5[_0x4a9aee(0x2fc)])==null?[]:_0x31d52b)&&!this[_0x4a9aee(0x22d)]())throw this[_0x4a9aee(0x314)](_0x359d45,_0x1467e8),this[_0x4a9aee(0x27a)](),new _0x412392[(_0x4a9aee(0x48d))]();})),this[_0x8422a7(0x319)](this['_commandService']['onCommandExecuted']((_0x193f06,_0x302f40)=>{const _0x387760=_0x8422a7;if(_0x193f06['id']!==_0x3eef3a[_0x387760(0x34c)]['id'])return;let _0x4e5f8b=_0x193f06[_0x387760(0x29c)];if(_0x1b274c(_0x4e5f8b)){let _0x3fc97a=(0x0,_0x412392['generateRandomId'])();this[_0x387760(0x273)][_0x387760(0x1ee)](_0x3fc97a),this[_0x387760(0x41c)](_0x3fc97a);}else{if(_0x324149(_0x4e5f8b)&&this[_0x387760(0x273)][_0x387760(0x1e6)]>0x0){let _0x2567f7=this[_0x387760(0x273)][_0x387760(0x22f)]();this['_releaseCalculationLimit'](_0x2567f7);}}}));}[_0x2c832d(0x43c)](){const _0x4f9a1f=_0x2c832d;super['dispose'](),this[_0x4f9a1f(0x428)](),this[_0x4f9a1f(0x273)]=[],this[_0x4f9a1f(0x2a7)]=0x0,this[_0x4f9a1f(0x324)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x2c832d(0x314)](_0x363923,_0x3ca14e){const _0x364506=_0x2c832d;for(let _0x42913f=0x0;_0x42913f<0x1e;_0x42913f++)try{if(await this['_getFormulaLimitStatus'](),this[_0x364506(0x22d)]()){this[_0x364506(0x36b)](_0x363923,_0x3ca14e),this[_0x364506(0x2aa)][_0x364506(0x251)]({'content':this[_0x364506(0x2c6)]['t'](_0x364506(0x312)),'type':_0x39ba33[_0x364506(0x2b3)][_0x364506(0x275)]});return;}await new Promise(_0xc0dd85=>{const _0x1ad9fa=_0x364506;this[_0x1ad9fa(0x3ca)]=window[_0x1ad9fa(0x2e5)](_0xc0dd85,0x3e8);});}catch(_0x3fac32){this[_0x364506(0x436)]['error'](_0x3fac32);}this[_0x364506(0x2aa)][_0x364506(0x251)]({'content':this[_0x364506(0x2c6)]['t']('formula.calculation.unable'),'type':_0x39ba33[_0x364506(0x2b3)][_0x364506(0x1d8)]});}[_0x2c832d(0x36b)](_0x3033e4,_0x1b6e46){const _0x4add4d=_0x2c832d;try{this['_commandService'][_0x4add4d(0x2d6)](_0x3033e4['id'],_0x3033e4[_0x4add4d(0x29c)],_0x1b6e46);}catch(_0x78c37){this[_0x4add4d(0x436)][_0x4add4d(0x286)](_0x78c37);}}[_0x2c832d(0x339)](_0x35cdce,_0x10cd2f){const _0x24bcde=_0x2c832d;_0x10cd2f<this[_0x24bcde(0x382)]||(this['_lastResponseTimestamp']=_0x10cd2f,this['_maxFormulaLimit']=Number[_0x24bcde(0x1f9)](_0x35cdce[_0x24bcde(0x4a4)]),this[_0x24bcde(0x2a7)]=Number[_0x24bcde(0x1f9)](_0x35cdce[_0x24bcde(0x35b)]));}async['_startCalculationLimit'](_0xf4f313){const _0x10d4d8=_0x2c832d;let _0x3daac2=Date[_0x10d4d8(0x2ed)]();try{var _0x43da57,_0x51d4a9;let _0x15c939=((_0x43da57=this[_0x10d4d8(0x44e)][_0x10d4d8(0x1aa)](_0x3839b9[_0x10d4d8(0x377)]))==null?void 0x0:_0x43da57[_0x10d4d8(0x2e0)])||'/universer-api/license/formula/limit/start',_0x41be66=(await this[_0x10d4d8(0x1ea)][_0x10d4d8(0x2f5)](_0x15c939,{'body':JSON[_0x10d4d8(0x47d)]({'taskId':_0xf4f313})}))[_0x10d4d8(0x21d)];if(((_0x51d4a9=_0x41be66[_0x10d4d8(0x286)])==null?void 0x0:_0x51d4a9[_0x10d4d8(0x28f)])!==_0x32a119['OK'])return;this[_0x10d4d8(0x339)](_0x41be66[_0x10d4d8(0x32b)],_0x3daac2);}catch(_0x7268e7){this[_0x10d4d8(0x436)][_0x10d4d8(0x286)](_0x7268e7);}}async[_0x2c832d(0x3d2)](_0x549b36){const _0x4a809b=_0x2c832d;let _0x4931e8=Date[_0x4a809b(0x2ed)]();try{var _0x5174d5,_0x5699af;let _0x35ede1=((_0x5174d5=this[_0x4a809b(0x44e)]['getConfig'](_0x3839b9[_0x4a809b(0x377)]))==null?void 0x0:_0x5174d5[_0x4a809b(0x1f3)])||_0x4a809b(0x24c),_0x463cf5=_0x549b36?_0x35ede1+_0x4a809b(0x395)+encodeURIComponent(_0x549b36):_0x35ede1,_0x51ae92=(await this[_0x4a809b(0x1ea)][_0x4a809b(0x24d)](_0x463cf5))['body'];if(((_0x5699af=_0x51ae92[_0x4a809b(0x286)])==null?void 0x0:_0x5699af['code'])!==_0x32a119['OK'])return;this[_0x4a809b(0x339)](_0x51ae92[_0x4a809b(0x32b)],_0x4931e8);}catch(_0x1c8c8a){this['_logService'][_0x4a809b(0x286)](_0x1c8c8a);}}async[_0x2c832d(0x1ef)](_0xaeb0c3){const _0x1a048a=_0x2c832d;let _0x408d86=Date[_0x1a048a(0x2ed)]();try{var _0x307667,_0x3e0e47;let _0x2cc5ae=((_0x307667=this['_configService']['getConfig'](_0x3839b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x307667['releaseFormulaLimitUrl'])||_0x1a048a(0x2ab),_0x5c11c8=(await this[_0x1a048a(0x1ea)]['post'](_0x2cc5ae,{'body':JSON['stringify']({'taskId':_0xaeb0c3})}))[_0x1a048a(0x21d)];if(((_0x3e0e47=_0x5c11c8[_0x1a048a(0x286)])==null?void 0x0:_0x3e0e47[_0x1a048a(0x28f)])!==_0x32a119['OK'])return;this[_0x1a048a(0x339)](_0x5c11c8[_0x1a048a(0x32b)],_0x408d86);}catch(_0x2db552){this[_0x1a048a(0x436)][_0x1a048a(0x286)](_0x2db552);}}[_0x2c832d(0x22d)](){const _0x202862=_0x2c832d;return this[_0x202862(0x324)]===0x0?!0x0:this[_0x202862(0x324)]-this[_0x202862(0x2a7)]>0x0;}[_0x2c832d(0x428)](){const _0x3ce997=_0x2c832d;this[_0x3ce997(0x3ca)]&&(clearTimeout(this[_0x3ce997(0x3ca)]),this[_0x3ce997(0x3ca)]=null);}[_0x2c832d(0x27a)](){const _0x4173ba=_0x2c832d;this[_0x4173ba(0x2aa)][_0x4173ba(0x251)]({'content':this[_0x4173ba(0x2c6)]['t'](_0x4173ba(0x3c5)),'type':_0x39ba33['MessageType'][_0x4173ba(0x44b)]});}[_0x2c832d(0x3da)](_0x249914){const _0x2aa197=_0x2c832d;for(let _0x5d8da3 of _0x249914){let {unitId:_0x12265f,sheetId:_0x10247e,range:_0x56d544}=_0x5d8da3,_0x12042b=this[_0x2aa197(0x206)]['getUnit'](_0x12265f);if(!_0x12042b)continue;let _0x49244f=_0x12042b['getSheetBySheetId'](_0x10247e);if(!_0x49244f)continue;let _0x290f0e=_0x49244f[_0x2aa197(0x307)]();for(let _0x50ea9e=_0x56d544['startRow'];_0x50ea9e<=_0x56d544['endRow'];_0x50ea9e++)for(let _0xc547a9=_0x56d544[_0x2aa197(0x253)];_0xc547a9<=_0x56d544[_0x2aa197(0x35e)];_0xc547a9++){let _0x425cfd=_0x290f0e[_0x2aa197(0x42c)](_0x50ea9e,_0xc547a9);if(_0x425cfd&&((0x0,_0x412392[_0x2aa197(0x26a)])(_0x425cfd['f'])||(0x0,_0x412392[_0x2aa197(0x3d4)])(_0x425cfd['si'])))return!0x0;}}return!0x1;}};_0x381f4e=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x197442[_0x2c832d(0x49d)])),_0x144f1b(0x1,_0x412392[_0x2c832d(0x335)]),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x3,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x4,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x5,_0x412392[_0x2c832d(0x4b3)]),_0x144f1b(0x6,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['LocaleService']))],_0x381f4e);let _0x490512=class extends _0x412392['Disposable']{constructor(_0x391c05,_0x4c51db,_0x2de54f){const _0x47a776=_0x2c832d;super(),this[_0x47a776(0x44e)]=_0x391c05,this[_0x47a776(0x42f)]=_0x4c51db,this['_revisionService']=_0x2de54f,_0x4a0977(this,_0x47a776(0x2a4),new Map()),_0x4a0977(this,_0x47a776(0x295),new Map()),_0x4a0977(this,_0x47a776(0x3e6),!0x1);}[_0x2c832d(0x2e9)](){const _0x3a2124=_0x2c832d;this[_0x3a2124(0x3e6)]=!0x0;}[_0x2c832d(0x3e7)](){this['_disabled']=!0x1;}get[_0x2c832d(0x45b)](){const _0x5f572d=_0x2c832d;return this[_0x5f572d(0x295)];}[_0x2c832d(0x43c)](){const _0x1e6a04=_0x2c832d;this['exhaustSavingTask']()['then'](()=>super[_0x1e6a04(0x43c)]());}async[_0x2c832d(0x1be)](_0x3a12ee){const _0x22fad6=_0x2c832d;return this[_0x22fad6(0x3e6)]?null:this[_0x22fad6(0x42f)][_0x22fad6(0x3b2)]((0x0,_0x3839b9[_0x22fad6(0x416)])(_0x3a12ee));}async[_0x2c832d(0x237)](_0x3b74d8,_0x59f3ee){const _0x15e3a3=_0x2c832d;return!!this[_0x15e3a3(0x42f)][_0x15e3a3(0x408)](_0x3b74d8,_0x59f3ee);}[_0x2c832d(0x3fb)](_0x306593,_0x5818b3,_0x4f23ba,_0x524981){const _0x44dd28=_0x2c832d;let _0x437286=this[_0x44dd28(0x353)]['getCurrentRevOfUnit'](_0x306593);this[_0x44dd28(0x2a4)][_0x44dd28(0x2c9)](_0x306593,{'unitID':_0x306593,'type':_0x5818b3,'awaitingChangeset':_0x4f23ba,'mutations':_0x524981,'rev':_0x437286}),this[_0x44dd28(0x295)][_0x44dd28(0x27c)](_0x306593)||this[_0x44dd28(0x328)](_0x306593);}[_0x2c832d(0x328)](_0x3411dc){const _0x4da5d3=_0x2c832d;let _0x40e695=this['_getSaveTimeout']();_0x40e695===0x0?this[_0x4da5d3(0x1cd)](_0x3411dc):this['_saveTaskMap'][_0x4da5d3(0x2c9)](_0x3411dc,setTimeout(()=>this[_0x4da5d3(0x1cd)](_0x3411dc),_0x40e695));}[_0x2c832d(0x28c)](){const _0x2c34ac=_0x2c832d;var _0x4196a2;return(_0x4196a2=this[_0x2c34ac(0x44e)][_0x2c34ac(0x1aa)](_0x3839b9[_0x2c34ac(0x302)]))==null?_0x3839b9[_0x2c34ac(0x3ae)]:_0x4196a2;}['_saveCache'](_0x1b4a91){const _0x551440=_0x2c832d;let _0x2b528a=this[_0x551440(0x295)][_0x551440(0x24d)](_0x1b4a91);return _0x2b528a!==void 0x0&&window[_0x551440(0x4a1)](_0x2b528a),this[_0x551440(0x42f)][_0x551440(0x408)]((0x0,_0x3839b9['getLocalCacheKey'])(_0x1b4a91),this['_cachedData'][_0x551440(0x24d)](_0x1b4a91))[_0x551440(0x486)](()=>this[_0x551440(0x295)]['delete'](_0x1b4a91));}async[_0x2c832d(0x22e)](){const _0x504a12=_0x2c832d;let _0x7d90e7=[];this[_0x504a12(0x295)][_0x504a12(0x341)]((_0x44a9ef,_0x25975a)=>{const _0x59c90c=_0x504a12;window[_0x59c90c(0x4a1)](_0x44a9ef),_0x7d90e7[_0x59c90c(0x1ee)](this[_0x59c90c(0x1cd)](_0x25975a)[_0x59c90c(0x486)](()=>{const _0xa0593b=_0x59c90c;this[_0xa0593b(0x295)][_0xa0593b(0x44c)](_0x25975a);}));}),await Promise['all'](_0x7d90e7);}};_0x490512=_0x568561([_0x144f1b(0x0,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x1,_0x412392['ILocalStorageService']),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x584220['RevisionService']))],_0x490512);var _0x2f801c=class extends _0x412392[_0x2c832d(0x2df)]{constructor(){const _0x18e055=_0x2c832d;super(),_0x4a0977(this,_0x18e055(0x1e7),void 0x0),this['urlChange$']=(0x0,_0x1af95b['fromEvent'])(window,_0x18e055(0x470))[_0x18e055(0x1ed)]((0x0,_0x1af95b[_0x18e055(0x37d)])(this[_0x18e055(0x378)]),(0x0,_0x1af95b[_0x18e055(0x481)])(0x1),(0x0,_0x1af95b['mapTo'])(void 0x0));}[_0x2c832d(0x1a6)](_0x5a5a5d,_0x1e4657,_0x49bad8=!0x1){const _0x5c703a=_0x2c832d;let _0x642509=new URL(window[_0x5c703a(0x297)][_0x5c703a(0x343)]);_0x642509[_0x5c703a(0x480)][_0x5c703a(0x2c9)](_0x5a5a5d,_0x1e4657),_0x49bad8?window['history'][_0x5c703a(0x1fc)]('','',_0x642509[_0x5c703a(0x263)]()):window['history'][_0x5c703a(0x41b)]('','',_0x642509['toString']());}[_0x2c832d(0x409)](_0x56a534,_0x1aebcd=!0x1){const _0x26cdd2=_0x2c832d;let _0x5a24f8=new URL(window['location']['href']);_0x5a24f8[_0x26cdd2(0x480)][_0x26cdd2(0x44c)](_0x56a534),_0x1aebcd?window[_0x26cdd2(0x3e9)][_0x26cdd2(0x1fc)]('','',_0x5a24f8[_0x26cdd2(0x263)]()):window[_0x26cdd2(0x3e9)][_0x26cdd2(0x41b)]('','',_0x5a24f8[_0x26cdd2(0x263)]());}[_0x2c832d(0x25f)](_0x5dd86c){const _0x4b68c3=_0x2c832d;var _0x439fc2;return(_0x439fc2=new URL(window['location'][_0x4b68c3(0x343)])[_0x4b68c3(0x480)]['get'](_0x5dd86c))==null?void 0x0:_0x439fc2;}};let _0x2383b6=class extends _0x412392['Plugin']{constructor(_0x1f408e=_0x43887c,_0xc42a9f,_0x254b2c,_0xbee01){const _0x3dc0bc=_0x2c832d;super(),this['_config']=_0x1f408e,this[_0x3dc0bc(0x4a6)]=_0xc42a9f,this[_0x3dc0bc(0x3b8)]=_0x254b2c,this['_configService']=_0xbee01;let {..._0x17699b}=(0x0,_0x412392[_0x3dc0bc(0x203)])({},_0x43887c,this[_0x3dc0bc(0x3f8)]);this['_configService']['setConfig'](_0x45e6c7,_0x17699b);}[_0x2c832d(0x1cf)](){const _0x4f08d8=_0x2c832d;this[_0x4f08d8(0x216)](),this[_0x4f08d8(0x241)]();}[_0x2c832d(0x455)](){const _0x429316=_0x2c832d;this[_0x429316(0x26b)]();}[_0x2c832d(0x216)](){const _0x5b9f89=_0x2c832d;var _0x2a7bd6;let _0x400de4=[[_0x4ad64a],[_0x381f4e],[_0x2842fb],[_0x564baf],[_0xcacb51],[_0x1fb69b],[_0x8c589b,{'useClass':_0x2f801c}],[_0x1aaf00[_0x5b9f89(0x1a5)],{'useClass':_0x1aaf00[_0x5b9f89(0x401)]}],[_0x3839b9[_0x5b9f89(0x391)],{'useClass':_0x490512}],[_0x51fe36],[_0x524fbf],[_0x3a5846],[_0x270b73],[_0x3d1d63],[_0x2109df]];this[_0x5b9f89(0x3f8)][_0x5b9f89(0x315)]&&_0x400de4[_0x5b9f89(0x1ee)]([_0x5325d3]),(0x0,_0x412392[_0x5b9f89(0x477)])(this['_injector'],(0x0,_0x412392[_0x5b9f89(0x485)])(_0x400de4,(_0x2a7bd6=this[_0x5b9f89(0x3f8)])==null?void 0x0:_0x2a7bd6[_0x5b9f89(0x4b1)]));}[_0x2c832d(0x26b)](){const _0x63aac1=_0x2c832d;this['disposeWithMe'](this[_0x63aac1(0x4a6)][_0x63aac1(0x387)](_0x412392[_0x63aac1(0x32f)][_0x63aac1(0x1a2)],[_0x3e3eab])),this[_0x63aac1(0x319)](this[_0x63aac1(0x4a6)][_0x63aac1(0x387)](_0x412392['UniverInstanceType']['UNIVER_SHEET'],[_0x19300d]));}['_initDependencies'](){const _0x549631=_0x2c832d;(0x0,_0x412392['touchDependencies'])(this[_0x549631(0x3b8)],[[_0x270b73],[_0x51fe36],[_0x524fbf],[_0x3a5846],[_0x2109df],[_0x381f4e]]),this[_0x549631(0x3f8)]['enableFrontendLog']&&(0x0,_0x412392[_0x549631(0x327)])(this[_0x549631(0x3b8)],[[_0x5325d3]]);}};_0x4a0977(_0x2383b6,_0x2c832d(0x1c7),_0x2c832d(0x22c)),_0x4a0977(_0x2383b6,_0x2c832d(0x27f),_0x29c032),_0x4a0977(_0x2383b6,'version',_0x35beee),_0x2383b6=_0x568561([(0x0,_0x412392[_0x2c832d(0x445)])(_0x3839b9[_0x2c832d(0x3b9)]),_0x144f1b(0x1,_0x6b7952[_0x2c832d(0x368)]),_0x144f1b(0x2,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392['Injector'])),_0x144f1b(0x3,_0x412392[_0x2c832d(0x49b)])],_0x2383b6);let _0x5c710b=class extends _0x3839b9[_0x2c832d(0x3a4)]{constructor(_0xacfa59,_0x2b05a8,_0x2f881a,_0x57b5a8,_0x234aa3){super(_0xacfa59,_0x2b05a8,_0x2f881a,_0x57b5a8,_0x234aa3);}async['createSocket'](_0x505e92){const _0x16496=_0x2c832d;let _0x4605ce=await this['_getSessionTicket'](),_0x12712c=this[_0x16496(0x45a)](_0x505e92,_0x4605ce);return this[_0x16496(0x338)](_0x12712c);}[_0x2c832d(0x45a)](_0x390e17,_0x24d4fc){const _0x4c3460=_0x2c832d;let _0x5c7d23=typeof window>'u'?new URL(_0x390e17):new URL(_0x390e17,window[_0x4c3460(0x297)][_0x4c3460(0x379)]);_0x5c7d23[_0x4c3460(0x480)][_0x4c3460(0x2c9)](_0x4c3460(0x4b0),_0x24d4fc);let _0x3baed0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4c3460(0x297)][_0x4c3460(0x1d0)]);return _0x3baed0[_0x4c3460(0x24d)](_0x4c3460(0x2b8))&&_0x5c7d23[_0x4c3460(0x480)][_0x4c3460(0x2c9)]('runId',_0x3baed0[_0x4c3460(0x24d)](_0x4c3460(0x2b8))),_0x5c7d23['toString']();}async[_0x2c832d(0x488)](){const _0x4a5740=_0x2c832d;var _0x110cfb,_0x487347,_0x1ce08c;let _0x537013=this['_configService']['getConfig'](_0x3839b9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x40f0b8=(_0x110cfb=_0x537013==null?void 0x0:_0x537013[_0x4a5740(0x232)])==null?_0x3839b9[_0x4a5740(0x490)]:_0x110cfb;return(_0x487347=(_0x1ce08c=(await this[_0x4a5740(0x1ea)][_0x4a5740(0x24d)](_0x40f0b8,{'headers':{'Content-Type':_0x4a5740(0x3f1)}}))[_0x4a5740(0x21d)])==null?void 0x0:_0x1ce08c[_0x4a5740(0x20e)])==null?'':_0x487347;}};_0x5c710b=_0x568561([_0x144f1b(0x0,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x412392[_0x2c832d(0x22b)])),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)]),_0x144f1b(0x3,_0x412392['ILogService']),_0x144f1b(0x4,_0x584220['ISnapshotServerService'])],_0x5c710b);let _0x160a0f=class extends _0x412392[_0x2c832d(0x29e)]{constructor(_0xed4db0,_0x5a84e0,_0x55303e){const _0x55acee=_0x2c832d;super(),this[_0x55acee(0x24b)]=_0xed4db0,this[_0x55acee(0x1ea)]=_0x5a84e0,this[_0x55acee(0x44e)]=_0x55303e;}async[_0x2c832d(0x431)](_0x52f092,_0xdd806,_0x3c98af,..._0x5c42f6){const _0xe41a69=_0x2c832d;var _0x9638d5,_0x34b2b6,_0x58e6aa,_0x229643;let _0x598069=this[_0xe41a69(0x24b)]['getFocusedUnit']();if(!_0x598069)throw Error(_0xe41a69(0x2c4));let _0x187d4b=((_0x9638d5=this[_0xe41a69(0x44e)]['getConfig'](_0x3839b9['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x3839b9[_0xe41a69(0x4ac)]:_0x9638d5)+'/'+_0x52f092+_0xe41a69(0x2e4)+_0xdd806,_0x2ff607={'scriptId':_0x52f092,'runId':(_0x34b2b6=new URL(window[_0xe41a69(0x297)][_0xe41a69(0x343)])[_0xe41a69(0x480)][_0xe41a69(0x24d)]('runId'))==null?'':_0x34b2b6,'function':_0xdd806,'unitId':_0x598069[_0xe41a69(0x418)](),'argsOfFunction':JSON[_0xe41a69(0x47d)](_0x5c42f6),'invokeId':(_0x58e6aa=_0x3c98af['invokeId'])==null?'':_0x58e6aa,'executionId':(_0x229643=_0x3c98af['executionId'])==null?'':_0x229643};try{let _0x5a0ddb=await this[_0xe41a69(0x1ea)][_0xe41a69(0x2f5)](_0x187d4b,{'body':_0x2ff607});return _0x5a0ddb[_0xe41a69(0x21d)][_0xe41a69(0x286)]&&_0x5a0ddb[_0xe41a69(0x21d)][_0xe41a69(0x286)][_0xe41a69(0x28f)]!==_0x32a119['OK']?_0xe41a69(0x3f9):_0x5a0ddb['body']['result'];}catch{return'Failed';}}};_0x160a0f=_0x568561([_0x144f1b(0x0,_0x412392[_0x2c832d(0x1ac)]),_0x144f1b(0x1,(0x0,_0x412392[_0x2c832d(0x2d5)])(_0x1aaf00[_0x2c832d(0x357)])),_0x144f1b(0x2,_0x412392[_0x2c832d(0x49b)])],_0x160a0f);var _0x4b1d71=function(_0x3c1f3f){const _0x100dc2=_0x2c832d;return _0x3c1f3f[_0x3c1f3f[_0x100dc2(0x1b1)]=0x0]=_0x100dc2(0x1b1),_0x3c1f3f[_0x3c1f3f['LEAVE']=0x1]='LEAVE',_0x3c1f3f[_0x3c1f3f[_0x100dc2(0x43b)]=0x2]=_0x100dc2(0x43b),_0x3c1f3f;}(_0x4b1d71||{});let _0x3277b1=0x7530,_0x186652=_0x2c832d(0x325);var _0x1e3d69=class extends _0x412392[_0x2c832d(0x29e)]{constructor(){const _0x5e0a9c=_0x2c832d;super(),_0x4a0977(this,_0x5e0a9c(0x2eb),(0x0,_0x412392['generateRandomId'])()),_0x4a0977(this,_0x5e0a9c(0x362),new Set()),_0x4a0977(this,'_unitOnClients',new Map()),_0x4a0977(this,_0x5e0a9c(0x440),null),_0x4a0977(this,_0x5e0a9c(0x27d),new Map()),_0x4a0977(this,_0x5e0a9c(0x47e),new Map()),this[_0x5e0a9c(0x21c)]();}[_0x2c832d(0x43c)](){const _0xb6aaa7=_0x2c832d;super['dispose'](),this['_clearOtherTimers'][_0xb6aaa7(0x341)]((_0x19744b,_0x25058c)=>this[_0xb6aaa7(0x31f)](_0x25058c)),this[_0xb6aaa7(0x440)]&&window['clearInterval'](this[_0xb6aaa7(0x440)]);}['getUnitStatus$'](_0x36e4bf){const _0x3aec2a=_0x2c832d;return this[_0x3aec2a(0x29b)](_0x36e4bf)[_0x3aec2a(0x1ed)]((0x0,_0x1af95b[_0x3aec2a(0x3fd)])());}['editingUnit'](_0x35828f){const _0x561b77=_0x2c832d;this['_selfUnitIDs'][_0x561b77(0x48a)]===0x0&&this[_0x561b77(0x201)](),this['_selfUnitIDs'][_0x561b77(0x36a)](_0x35828f),this[_0x561b77(0x413)]({'type':_0x4b1d71[_0x561b77(0x1b1)],'memberID':this[_0x561b77(0x2eb)],'unitIDs':[_0x35828f],'isForwarded':!0x1});}['disposeUnit'](_0x30ab96){const _0x4c5218=_0x2c832d;this['_selfUnitIDs'][_0x4c5218(0x44c)](_0x30ab96),this[_0x4c5218(0x362)][_0x4c5218(0x48a)]===0x0&&this[_0x4c5218(0x440)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2c832d(0x21c)](){const _0x747d37=_0x2c832d;this[_0x747d37(0x319)]((0x0,_0x412392[_0x747d37(0x1fa)])((0x0,_0x1af95b[_0x747d37(0x411)])(window,_0x747d37(0x3dc))[_0x747d37(0x2ef)](_0x4e0d95=>{const _0xf8bb97=_0x747d37;if(_0x4e0d95[_0xf8bb97(0x3f0)]!==_0x186652||!_0x4e0d95[_0xf8bb97(0x30f)])return;let _0x23f301=JSON[_0xf8bb97(0x336)](_0x4e0d95[_0xf8bb97(0x30f)]);this[_0xf8bb97(0x1e9)](_0x23f301);}))),window[_0x747d37(0x42d)]('unload',()=>this[_0x747d37(0x413)]({'type':_0x4b1d71['LEAVE'],'memberID':this[_0x747d37(0x2eb)],'unitIDs':Array[_0x747d37(0x238)](this[_0x747d37(0x362)])}));}[_0x2c832d(0x1e9)](_0x1502dd){const _0x3ecc2b=_0x2c832d;switch(_0x1502dd[_0x3ecc2b(0x199)]){case _0x4b1d71[_0x3ecc2b(0x1b1)]:this[_0x3ecc2b(0x34d)](_0x1502dd);break;case _0x4b1d71['LEAVE']:this[_0x3ecc2b(0x3aa)](_0x1502dd);break;case _0x4b1d71[_0x3ecc2b(0x43b)]:this[_0x3ecc2b(0x47a)](_0x1502dd);break;}}[_0x2c832d(0x34d)](_0xf0c75){const _0x1db770=_0x2c832d;let {unitIDs:_0x4973d7,memberID:_0x11164a,isForwarded:_0x39ff39}=_0xf0c75;_0x4973d7['forEach'](_0x4fd6c4=>{const _0x56d87d=_0xff8c;if(!_0x39ff39&&this[_0x56d87d(0x41a)]['has'](_0x4fd6c4)&&this[_0x56d87d(0x29b)](_0x4fd6c4)[_0x56d87d(0x34a)](_0x3839b9['UnitStatus'][_0x56d87d(0x49e)]),!this[_0x56d87d(0x41a)][_0x56d87d(0x27c)](_0x4fd6c4)||!this[_0x56d87d(0x41a)][_0x56d87d(0x24d)](_0x4fd6c4)[_0x56d87d(0x27c)](_0x11164a)){let _0x1437fa=this['_unitOnClients']['get'](_0x4fd6c4)||new Set();_0x1437fa[_0x56d87d(0x36a)](_0x11164a),this[_0x56d87d(0x41a)][_0x56d87d(0x2c9)](_0x4fd6c4,_0x1437fa),this['_scheduleClearOtherTimer'](_0x11164a);}}),_0x39ff39||this[_0x1db770(0x413)]({'type':_0x4b1d71[_0x1db770(0x1b1)],'memberID':this[_0x1db770(0x2eb)],'unitIDs':[...this[_0x1db770(0x362)]],'isForwarded':!0x0});}[_0x2c832d(0x3df)](_0x1f4294){const _0x31083b=_0x2c832d;this[_0x31083b(0x31f)](_0x1f4294);let _0x28848d=window[_0x31083b(0x2e5)](()=>{const _0x5197e0=_0x31083b;this[_0x5197e0(0x41a)][_0x5197e0(0x341)](_0x45bd9a=>{const _0x2a02f9=_0x5197e0;_0x45bd9a[_0x2a02f9(0x44c)](_0x1f4294);});},_0x3277b1*0x2);this[_0x31083b(0x27d)][_0x31083b(0x2c9)](_0x1f4294,_0x28848d);}[_0x2c832d(0x31f)](_0x181a85){const _0x523a79=_0x2c832d;if(this[_0x523a79(0x27d)][_0x523a79(0x27c)](_0x181a85)){let _0x36a4f2=this['_clearOtherTimers'][_0x523a79(0x24d)](_0x181a85);_0x36a4f2&&window['clearTimeout'](_0x36a4f2),this[_0x523a79(0x27d)][_0x523a79(0x2c9)](_0x181a85,null);}}[_0x2c832d(0x3aa)](_0xd73bb7){const _0x3ee694=_0x2c832d;let {memberID:_0x338de5,unitIDs:_0x5d2e02}=_0xd73bb7;_0x5d2e02[_0x3ee694(0x341)](_0x445658=>{const _0x2346e6=_0x3ee694;var _0x4b4fa0;let _0x2ccc09=this['_unitOnClients']['get'](_0x445658);_0x2ccc09&&(_0x2ccc09[_0x2346e6(0x44c)](_0x338de5),(_0x4b4fa0=this[_0x2346e6(0x29b)](_0x445658))==null||_0x4b4fa0['next'](_0x2ccc09['size']===0x0?_0x3839b9[_0x2346e6(0x330)][_0x2346e6(0x421)]:_0x3839b9[_0x2346e6(0x330)][_0x2346e6(0x49e)]));}),this[_0x3ee694(0x31f)](_0x338de5);}[_0x2c832d(0x47a)](_0xb150f6){const _0x23d8d5=_0x2c832d;this[_0x23d8d5(0x3df)](_0xb150f6['memberID']);}[_0x2c832d(0x413)](_0x3f4508){const _0x4170a8=_0x2c832d;localStorage[_0x4170a8(0x408)](_0x186652,JSON['stringify'](_0x3f4508));}[_0x2c832d(0x201)](){const _0x45082a=_0x2c832d;this[_0x45082a(0x440)]=window[_0x45082a(0x333)](()=>{const _0x4c58d9=_0x45082a;this[_0x4c58d9(0x413)]({'type':_0x4b1d71[_0x4c58d9(0x43b)],'memberID':this[_0x4c58d9(0x2eb)]});},_0x3277b1);}['_ensureSubject'](_0x2e5e4c){const _0x199b6d=_0x2c832d;return this[_0x199b6d(0x47e)][_0x199b6d(0x27c)](_0x2e5e4c)||this['_unitStatus'][_0x199b6d(0x2c9)](_0x2e5e4c,new _0x1af95b[(_0x199b6d(0x3d7))](_0x3839b9['UnitStatus'][_0x199b6d(0x421)])),this[_0x199b6d(0x47e)][_0x199b6d(0x24d)](_0x2e5e4c);}};Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x313),{'enumerable':!0x0,'get':function(){return _0x5c710b;}}),Object[_0x2c832d(0x361)](_0x4bdf46,'CollaborationDataLoaderController',{'enumerable':!0x0,'get':function(){return _0x2109df;}}),Object['defineProperty'](_0x4bdf46,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x51fe36;}}),_0x4bdf46[_0x2c832d(0x1bc)]=_0x8c589b,Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x23a),{'enumerable':!0x0,'get':function(){return _0x160a0f;}}),_0x4bdf46[_0x2c832d(0x424)]=_0x1c5797,Object[_0x2c832d(0x361)](_0x4bdf46,_0x2c832d(0x3a8),{'enumerable':!0x0,'get':function(){return _0x2383b6;}}),_0x4bdf46['WebBrowserSingleActiveUnitService']=_0x1e3d69,_0x4bdf46[_0x2c832d(0x3e3)]=_0x2f801c;}));function _0xff8c(_0x49b17b,_0x2b9df1){_0x49b17b=_0x49b17b-0x199;const _0x178d38=_0x178d();let _0xff8c1a=_0x178d38[_0x49b17b];return _0xff8c1a;}function _0x178d(){const _0xf3e4a4=['_id','DocSelectionManagerService','now','bottom','subscribe','react/jsx-runtime','ThemeService','RECT','collaboration.single-unit.warning','_onCursorUpdate','post','red.300','join','INotificationService','_transformUndoRedoStack','fillStyle','useCallback','dirtyRanges','forwardRef','reason','univerjs-icon\x20univerjs-icon-','assignAColorForMemberID','UniverRpc','LOCAL_CACHE_INTERVAL_KEY','_isBlinkVisible','_notificationService','init','getCurrentUnitForType','getCellMatrix','REDEMPTION_CODE_FULLY_REDEEMED','2775780sWgCnR','onCommandExecuted','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','arc','connectInjector','@univerjs/docs-ui','newValue','createElement','1em','formula.calculation.started','BrowserCollaborationSocketService','_checkAndWaitForCalculationPermission','enableFrontendLog','handleInsertCol','getTypeOfUnitDisposed$','_docClipboardService','disposeWithMe','_cursors','SUCCESS','_sheetSkeletonManagerService','PY_RUNTIME_SCRIPT_ERROR','evenodd','_removeClearOtherTimer','getOwnPropertyDescriptor','UniverDocsUi','SetFormulaCalculationStartMutation','ERROR_AGAIN','_maxFormulaLimit','ACTIVE_UNIT_EVENT_CHANNEL','url(#on-line-icon_clip0_910_349)','touchDependencies','_scheduleSaving','actions','DocStateChangeManagerService','limitInfo','_transformService','assign','sheetID','UniverInstanceType','UnitStatus','_assignedColors','INVITE_CODE_REQUIRED','setInterval','react','ICommandService','parse','off-line-icon_clip0_910_343','_doCreateSocket','_setFormulaLimitStatus','transformMutationsWithChangeset','_refRangeService','4mVCEtt','ENTITLE_NEED_BILLING_ADDRESS','_setupSubUnitSync','_drawTextRange','CHANGESET_REVISION_CONFILICT','forEach','\x20at\x20','href','labelPosition','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_hideTimer','iterator','UNIVER_SHEET','USER_IS_ANONYMOUS','next','rxjs','SetFormulaCalculationNotificationMutation','_handleJoinEvent','clsx','status$','Subject','on-line-icon','_document','_revisionService','[Window\x20Error]:\x20','_cursorInfo$','sessionStatus$','HTTPService','_startBlinking','REDEMPTION_USER_NOT_ELIGIBLE','38966QbCEJA','currentUsage','getAncestorScale','createIdentifier','endColumn','beginPath','DataLoaderService','defineProperty','_selfUnitIDs','@univerjs/sheets-ui','_docTransformSelectionsService','FromArray','unitId','SetTextSelectionsOperation','IRenderManagerService','YUUMI_RATE_OVER_LIMIT','add','_applyCommand','unit','handleMoveRange','_entities','offsetY','React','LICENSE_DISTRO_REJECTED','_monkeyPatchLogService','combineLatest','fromEventSubject','AUTHORIZE_CODE_ILLEGAL','DocIMEInputManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','dispose$','origin','UniverSheetsUi','hovered','USER_NOT_FOUND','takeUntil','cursorInfo','CollaborationSessionService','column','UNAUTHENTICATED','_lastResponseTimestamp','values','USERS_LEAVE','toRgbString','HEADER_MENU','registerRenderModule','_initUnhandledRejectionListener','_collaborationController','getColorFromTheme','findNodePositionByCharIndex','getCollabCursors$','getSheetId','collabStatus.syncing','getMember','_initStatusListener','ILocalCacheService','Rectangle','_initEvent','_handleHover','?taskId=','registerRefRange','endRow','DOC_RANGE_TYPE','_color','m2Prime','jsxs','reconnect','Tools','DeleteRangeMoveLeftCommandId','UNDEFINED','getCurrentSkeleton','addHandlerCallback','_name','Unknown\x20user','CollaborationSocketService','unitID','CONFLICT','toPrimitive','UniverCollaborationClientUIPlugin','call','_handleLeaveEvent','_scene','RichTextEditingMutation','roomMembers','LOCAL_CACHE_INTERVAL','bind','syncEditingCollabCursor','VIEW_MAIN','getItem','collab-client.tooltip.reconnect','INVALID_INVITE_CODE','YUUMI_AI_RUN_FAILED','_commandService','_docStateChangeManagerService','_injector','UniverCollaborationClientPlugin','InsertRangeMoveRightCommandId','Rect','createInstance','setStateCache','fill','onLocalMutation','uni.network.url-service','transformRemoteChangeset','lineTo','_removeCollabCursors','_cursorShapes','formula.calculation.waiting','Workbook','colno','CollaborationUIEventService','_labelPosition','_pollingInterval','_imageIoService','_updateLocalCursor','_localCacheService','SHEET_VIEWPORT_KEY','_shapes','getDocRanges','RemoveRowCommandId','_getFormulaLimitStatus','REDEMPTION_CODE_NOT_STARTED','isFormulaId','onPointerLeave$','UniverDocs','BehaviorSubject','collab-text-range-','useDependency','_hasFormulaInDirtyRanges','blue.400','storage','InsertRangeMoveDownCommandId','@univerjs-pro/collaboration','_scheduleClearOtherTimer','_getScale','1614536oFBGjO','debounceTime','WebURLService','handleIRemoveCol','_collabCursorController','_disabled','enableLocalCache','send','history','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToCursor','http://www.w3.org/2000/svg','APPLY_REJECT','CLOSE_ROOM','REDEMPTION_USER_REDEEM_TIMES_EXCEED','key','application/json','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','getVpScrollXYInfoByPosToVp','colorChannel1','transformSelections','on-line-icon_clip0_910_349','univer-flex\x20univer-items-center','_config','Failed','getMergeData','updateOfflineData','IBeforeCloseService','distinctUntilChanged','_eventUnsubscribe','deepClone','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','WebSocketService','_highlightSecond','EffectRefRangId','LOGIN_FAILED','width','@univerjs/docs','undoState','setItem','removeParam','REDEMPTION_CODE_INACTIVE','eventID','0\x200\x2017\x2016','_initEntityListener','_getSheetObject','_entityInit$','CollaborationEvent','fromEvent','addClipboardHook','_send','FETCH_MISS','PAYMENT_CHANNEL_NOT_SUPPORT','getLocalCacheKey','subunit','getUnitId','stack','_unitOnClients','pushState','_startCalculationLimit','registerBeforeClose','text','_transformHistoryAndStateStack','ENTITLE_REPORT_LIMIT_EXCEED','NO_OTHER_CLIENTS_EDITING','restore','_urlService','SheetCollabCursorShape','UniverProCollaboration','collabStatus.notCollab','_drawRectRange','_clearPolling','UniverCore','transformStateCache','PENDING','getValue','addEventListener','APPLY_PERMISSION_DENIED','_localStorageService','rgba(255,\x20255,\x20255,\x200.01)','runOnServer','font','deserializeRangeWithSheet','LICENSE_IMPORT_SIZE_EXCEEDED','NOT_FOUND','_logService','_updateURLWithCurrentState','color','session.collaboration-timeout','UniverDesign','HEARTBEAT','dispose','_uploadLog','collabStatus.conflict','_refreshCollabCursors','_heartbeatTimer','function','_memberID','getTypeOfUnitAdded$','handleIRemoveRow','DependentOn','SetSelectionsOperation','session.connection-failed','closePath','getRelativeToViewportCoord','doc.mutation.rich-text-editing','Loading','delete','backgroundColor','_configService','ENTITLE_INSUFFICIENT_QUOTA','ENTITLE_USE_COUPON_NOT_1ST_TRADE','Tooltip','ColorKit','_drawAnchor','_memberService','onRendered','debug','replaceDocRanges','RegularPolygon','1112106pmqmEz','_createSocketURL','saveTaskMap','Warning','startRow','makeDirty','rgb','_docTransformIMECacheService','white','transform','APPLY_REVISION_CONFILICT','map','setAlpha','INVALID_ARGUMENT','fillText','with','top','stageInfo','lineno','complete','UniverDrawing','debounce','@univerjs/design','popstate','_status$','_roomMembers$','entries','message','textRanges','removeEventListener','registerDependencies','strokeWidth','_session','_handleHeartbeatEvent','AWAITING_WITH_PENDING','round','stringify','_unitStatus','RemoveColCommandId','searchParams','shareReplay','UniverIcon','INVITE_CODE_HAS_BEEN_UES','none','mergeOverrideWithDependencies','then','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','yellow.400','size','transformMutation','getRenderById','CanceledError','INVITE_CODE_ALREADY_BOUND','getActiveSheet','DEFAULT_WS_SESSION_TICKET_URL','ALREADY_EXISTS','amd','SYNCED','INTERNAL_ERROR','registerComponent','data','source','UniverEngineRender','tag','currentTheme$','IConfigService','_onRefRangeChange','IMessageService','OTHER_CLIENTS_EDITING','split','getFocusedUnit','clearTimeout','IDocClipboardService','memberID','maxFormulaLimit','_uiPartsService','_renderManagerService','ENTITLE_DUP_SUBSCRIPTION','div','transformIMECache','getRangePointData','SUBMIT_CHANGESET_TIMEOUT','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_textBubble','DATA_SOURCE_TOO_LARGE','getViewport','sessionTicket','override','useRef','ILogService','_blinkTimer','collab-rect-range-','type','_backgroundColor','black','_anchorDot','YUUMI_CONNECTOR_URL_NOT_FOUND','getStateCache','_hovered','OnLineIcon','UniverNetwork','UNIVER_DOC','TEXT_RANGE_LAYER_INDEX','SNAPSHOT_HAS_BEEN_REMOVED','ISocketService','setParam','measureText','UPDATE_CURSOR','activeSheet$','getConfig','getCurrentSelections','IUniverInstanceService','PERMISSION_DENIED','_collabSessionService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','event$','JOIN','OffLineIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_docTransformStateCacheService','501765wPzMyI','LICENSE_MAX_UNITS_EXCEEDED','_updateCollabCursors','drawWith','DocCollaborationEntity','string','decorate','IURLService','mask','loadOfflineData','IUIPartsService','showText','LocaleService','COLORS','#FFF','_offsetY','CommandType','startsWith','pluginName','AWAITING','[LogService\x20Error]:\x20','_highlight','CURRENT_STATUS_CANNOT_OPERATE','permission.content','_saveCache','isTransformMutationsWithChangesetSuccess','onStarting','search','USER_NOT_INVITED_CODE','currentColor',',\x200.2)','_initWindowErrorListener','_toggleOnline','_context','YUUMI_UNABLE_LOAD_URL','Error','max','IImageIoService','jsx','unshift','random','collab-text-anchor-','_initStatusComponent','0\x200\x2016\x2016','ENTITLE_INVALID_COUPON_CODE','SOCKET_FAILED_RETRY','cursorInfo$','engine','SNAPSHOT_INVALID_SNAPSHOT','length','urlChange$','M0\x200H16V16H0z','_handleEvent','_httpService','getCoordByCell','LOGIN_TOKEN_PROCESSING_FAILED','pipe','push','_releaseCalculationLimit','setShapeProps','@univerjs/rpc','hide','getFormulaLimitStatusUrl','YUUMI_NO_CUBOID_FOR_QUESTION','focused$','COMPLETION_FINISHED','SessionStatus','_showText','parseInt','toDisposable','SheetSkeletonManagerService','replaceState','Shape','handleInsertRow','rxjs/operators','getUndoRedoMutationParamsCache','_scheduleHeartbeat','_online','merge','_docSkeletonManagerService','saveImage','_univerInstanceService','object','moveTo','YUUMI_ALL_TABLES_IS_INVALID','svg','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','onPointerEnter$','Optional','ticket','path','_initCommandInterceptor','ENTITLE_COUPON_USED_UP','unsubscribe','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_URL_COL_OUT_OF_RANGE','find','_registerDependencies','fillRule','@univerjs/network','transformByState','Inactive','collabCursorState$','_init','body','selection','UniverProCollaborationClientUi','CollaborationUIEventId','_getLighterColor','NOT_COLLAB','InsertRowCommandId','getUnhiddenWorksheets','APPLY_DUPLICATED','save','CONNECTOR_DATA_TOO_LARGE','height','collaboration.closeRoom','_syncEditingCollabCursorService','Injector','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_checkCalculationAvailable','exhaustSavingTask','shift','attrs','_initCommandExecutedListener','wsSessionTicketUrl','stage','_anchor','handleInsertRangeMoveDown','DisposableCollection','saveOfflineData','from','ranges','RemoteUniscriptService','WECHAT_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','REDEMPTION_CODE_HAS_BEEN_CREATED','replace','849336QyUptz','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initDependencies','handleInsertRangeMoveRight','Vector2','@univerjs/drawing','_startDocCollabCursor','TEXT','xlink:href','_collabCursorState$','constructor','_toggleOffline','_instanceService','/universer-api/license/formula/limit/status','get','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-mr-2\x20univer-flex\x20univer-text-xl','unhandledrejection','show','getUniverSheetInstance','startColumn','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','collaboration.offline-data-not-saved','_cursor','0.20.0','12aXxOtX','_getMergeRange','displayName','rgba(','range','trim','substring','getParam','_setupBeforeClosingHandler','idSuffix','_themeService','toString','EMAIL_VERIFY_CODE_MISMATCH','roomMembers$','SOCKET_FAILED','green.600','/universer-api/frontend/logs','_hover','isFormulaString','_registerRenderDependencies','MemberService','symbol','selections','min','isTransformMutationFailure','requireSession','_docSkeleton','_taskIds','docStateChange$','Success','_updateSubUnitFromURLParams','clipPath','prototype','exports','_showGuardMessage','collabStatus.offline','has','_clearOtherTimers','YUUMI_ASYNCIO_CANCELLED','packageName','asObservable','UniverEngineFormula','FormulaExecuteStageType','getColor','m1Prime','isArray','error','imageSourceType','rgba','OFFLINE','url(#$1','ITransformService','_getSaveTimeout','permission.title','_lastPointer','code','socket$','highlight','_startSheetCollabCursor','Active','mutations','_saveTaskMap','ENTITLE_CAN_NOT_BUY_LOWER_OTP','location','ENTITLE_CHAT_LIMIT_EXCEED','@univerjs/engine-formula','generateRandomId','_ensureSubject','params','highlightSecond','Disposable','subUnitId','_transformPreviousActiveRange','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/sheets','DocSkeletonManagerService','_cachedData','operators','ONLINE','_currentUsage','OTHER_CLIENT_EDITING','getSheetBySheetId','_messageService','/universer-api/license/formula/limit/done','defs','FormulaExecutedStateType','MOBILE_HAS_BEEN_BOUND','_onCursorDelete','149601NjnSPC','onTransformChange$','getSkeleton','MessageType','setUndoRedoMutationParamsCache','_range','CollaborationStatus','name','runId','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','_initUserListener','...','[CollaborationDataLoaderController]','_collaborationSessionService','_docSyncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','functionsExecutedState','_colorAssignService','whenReady','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_blinkIntervalTimer','_localeService','setActiveRange','default','set','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RefRangeService','currentSkeleton$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','loadUnit','filter','InsertColCommandId','SetDocZoomRatioOperation','redoState','EMAIL_HAS_BEEN_BOUND','handleDeleteRangeMoveUp','Inject','executeCommand','18SFJlXL','subscribeEvent','NodePositionConvertToRectRange','isEditing','slice','_stopBlinking','_colorIndex','onPointerMove$','RxDisposable','startFormulaLimitUrl','switchMap','onMouseMove','_draw','/run/','setTimeout','children','ENTITLE_COUPON_EXPIRED','row','disableLocalCache','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'];_0x178d=function(){return _0xf3e4a4;};return _0x178d();}