@univerjs-pro/collaboration-client-ui 1.0.0-alpha.3 → 1.0.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.css +87 -0
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/controllers/snapshot-loading/snapshot-loading.controller.d.ts +36 -0
  66. package/lib/types/locale/en-US.d.ts +5 -0
  67. package/lib/types/views/components/SnapshotLoadingTimeout.d.ts +15 -0
  68. package/lib/umd/facade.js +1 -1
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -1
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -1
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -1
  78. package/lib/umd/locale/it-IT.js +1 -1
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -1
  82. package/lib/umd/locale/pt-BR.js +1 -1
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +22 -22
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x7aae(_0x3b59d1,_0x4be9f9){_0x3b59d1=_0x3b59d1-0xff;const _0x32c884=_0x32c8();let _0x7aae8f=_0x32c884[_0x3b59d1];return _0x7aae8f;}(function(_0x43d3a0,_0x4943e3){const _0x1fdc48=_0x7aae,_0x2f8c26=_0x43d3a0();while(!![]){try{const _0xb8b9b1=parseInt(_0x1fdc48(0x193))/0x1+-parseInt(_0x1fdc48(0x11f))/0x2+-parseInt(_0x1fdc48(0x3b8))/0x3*(parseInt(_0x1fdc48(0x183))/0x4)+parseInt(_0x1fdc48(0x17a))/0x5*(-parseInt(_0x1fdc48(0x3cb))/0x6)+parseInt(_0x1fdc48(0x1a6))/0x7*(parseInt(_0x1fdc48(0x17e))/0x8)+-parseInt(_0x1fdc48(0x2ab))/0x9+-parseInt(_0x1fdc48(0x262))/0xa*(-parseInt(_0x1fdc48(0x161))/0xb);if(_0xb8b9b1===_0x4943e3)break;else _0x2f8c26['push'](_0x2f8c26['shift']());}catch(_0x4a6dbf){_0x2f8c26['push'](_0x2f8c26['shift']());}}}(_0x32c8,0x250f6),function(_0x3eb93f,_0x5c09e3){const _0x5ab343=_0x7aae;typeof exports==_0x5ab343(0x361)&&typeof module<'u'?_0x5c09e3(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x5ab343(0x3a2)&&define[_0x5ab343(0x1fe)]?define([_0x5ab343(0x2f5),_0x5ab343(0x101),_0x5ab343(0x1cc),'@univerjs/core',_0x5ab343(0x362),'rxjs','rxjs/operators',_0x5ab343(0x2b9),_0x5ab343(0x302),'react/jsx-runtime',_0x5ab343(0x352),_0x5ab343(0x3c1),_0x5ab343(0x155),_0x5ab343(0x3e9),_0x5ab343(0x198),'@univerjs/engine-formula',_0x5ab343(0x1f9),_0x5ab343(0x13c),'@univerjs/sheets-ui','@univerjs/rpc',_0x5ab343(0x3d0)],_0x5c09e3):(_0x3eb93f=typeof globalThis<'u'?globalThis:_0x3eb93f||self,_0x5c09e3(_0x3eb93f[_0x5ab343(0x126)]={},_0x3eb93f[_0x5ab343(0x20b)],_0x3eb93f[_0x5ab343(0x34c)],_0x3eb93f['UniverCore'],_0x3eb93f[_0x5ab343(0x32a)],_0x3eb93f[_0x5ab343(0x2ca)],_0x3eb93f[_0x5ab343(0x2ca)][_0x5ab343(0x347)],_0x3eb93f[_0x5ab343(0x3f4)],_0x3eb93f[_0x5ab343(0x2d2)],_0x3eb93f[_0x5ab343(0x2d2)],_0x3eb93f[_0x5ab343(0x280)],_0x3eb93f['UniverNetwork'],_0x3eb93f[_0x5ab343(0x26e)],_0x3eb93f[_0x5ab343(0x11b)],_0x3eb93f['UniverDocs'],_0x3eb93f['UniverEngineFormula'],_0x3eb93f[_0x5ab343(0x3f8)],_0x3eb93f[_0x5ab343(0x26c)],_0x3eb93f[_0x5ab343(0x1e9)],_0x3eb93f[_0x5ab343(0x31a)],_0x3eb93f['UniverProtocol']));}(this,function(_0x158154,_0x512abf,_0x35fa89,_0x2b0173,_0x161125,_0xc05c0c,_0x4be982,_0x96a8b5,_0x34db69,_0x140dd6,_0x15ed3a,_0x5499b2,_0x56f9a3,_0xd76d4d,_0x3ad445,_0x170b1c,_0x384008,_0x304b4c,_0x50b664,_0x3ab178,_0x2e0273){const _0x1a58e5=_0x7aae;Object['defineProperty'](_0x158154,Symbol[_0x1a58e5(0x106)],{'value':_0x1a58e5(0x234)});function _0x36d807({ref:_0x49adfb,..._0x5226ec}){const _0x304a82=_0x1a58e5;let {icon:_0x3d7c62,id:_0xd3bb0e,className:_0x499c77,extend:_0x1cb60d,..._0x909d9f}=_0x5226ec,_0x5e9aa4=(_0x304a82(0x3ff)+_0xd3bb0e+'\x20'+(_0x499c77||''))['trim'](),_0x2f9472=(0x0,_0x34db69[_0x304a82(0x296)])('_'+_0x63cd74());return _0x340f0b(_0x3d7c62,''+_0xd3bb0e,{'defIds':_0x3d7c62[_0x304a82(0x120)],'idSuffix':_0x2f9472[_0x304a82(0x390)]},{'ref':_0x49adfb,'className':_0x5e9aa4,..._0x909d9f},_0x1cb60d);}function _0x340f0b(_0x344b63,_0x539729,_0x3001bb,_0x5b207d,_0x32dee4){const _0x1423f1=_0x1a58e5;return(0x0,_0x34db69[_0x1423f1(0x185)])(_0x344b63[_0x1423f1(0x1f6)],{'key':_0x539729,..._0x30d6ef(_0x344b63,_0x3001bb,_0x32dee4),..._0x5b207d},(_0x3b7ba8(_0x344b63,_0x3001bb)[_0x1423f1(0x2bc)]||[])[_0x1423f1(0x230)]((_0x5dba94,_0x4b9b0d)=>_0x340f0b(_0x5dba94,_0x539729+'-'+_0x344b63[_0x1423f1(0x1f6)]+'-'+_0x4b9b0d,_0x3001bb,void 0x0,_0x32dee4)));}function _0x30d6ef(_0x2b1f0e,_0x52a5b,_0x14f9d8){const _0x4cb442=_0x1a58e5;let _0x2adc5f={..._0x2b1f0e[_0x4cb442(0x27e)]};_0x14f9d8!=null&&_0x14f9d8[_0x4cb442(0x207)]&&_0x2adc5f['fill']==='colorChannel1'&&(_0x2adc5f[_0x4cb442(0x2ec)]=_0x14f9d8[_0x4cb442(0x207)]),_0x14f9d8!=null&&_0x14f9d8[_0x4cb442(0x207)]&&_0x2adc5f[_0x4cb442(0x27b)]==='colorChannel1'&&(_0x2adc5f[_0x4cb442(0x27b)]=_0x14f9d8['colorChannel1']),_0x2b1f0e[_0x4cb442(0x1f6)]===_0x4cb442(0x171)&&_0x2adc5f['id']&&(_0x2adc5f['id']+=_0x52a5b[_0x4cb442(0x373)]),Object[_0x4cb442(0x1fd)](_0x2adc5f)[_0x4cb442(0xff)](([_0x1812ee,_0x49fa14])=>{const _0x1d4f84=_0x4cb442;_0x1812ee===_0x1d4f84(0x171)&&typeof _0x49fa14=='string'&&(_0x2adc5f[_0x1812ee]=_0x49fa14[_0x1d4f84(0x2e5)](/url\(#(.*)\)/,_0x1d4f84(0x16b)+_0x52a5b[_0x1d4f84(0x373)]+')'));});let {defIds:_0x1537c2}=_0x52a5b;return!_0x1537c2||_0x1537c2[_0x4cb442(0x371)]===0x0?_0x2adc5f:(_0x2b1f0e[_0x4cb442(0x1f6)]===_0x4cb442(0x414)&&_0x2adc5f[_0x4cb442(0x1c1)]&&(_0x2adc5f[_0x4cb442(0x1c1)]+=_0x52a5b[_0x4cb442(0x373)]),Object[_0x4cb442(0x1fd)](_0x2adc5f)[_0x4cb442(0xff)](([_0x1fc631,_0x6ea999])=>{const _0x1ce03b=_0x4cb442;typeof _0x6ea999==_0x1ce03b(0x31b)&&(_0x2adc5f[_0x1fc631]=_0x6ea999[_0x1ce03b(0x2e5)](/url\(#(.*)\)/,'url(#$1'+_0x52a5b[_0x1ce03b(0x373)]+')'));}),_0x2adc5f);}function _0x3b7ba8(_0x55600b,_0x9c5c58){const _0x57254e=_0x1a58e5;var _0x25a2fc;let {defIds:_0x4ac828}=_0x9c5c58;return!_0x4ac828||_0x4ac828[_0x57254e(0x371)]===0x0?_0x55600b:_0x55600b['tag']===_0x57254e(0x300)&&(_0x25a2fc=_0x55600b[_0x57254e(0x2bc)])!=null&&_0x25a2fc['length']?{..._0x55600b,'children':_0x55600b['children'][_0x57254e(0x230)](_0x1eb002=>typeof _0x1eb002[_0x57254e(0x27e)]['id']==_0x57254e(0x31b)&&_0x4ac828&&_0x4ac828[_0x57254e(0x39c)](_0x1eb002[_0x57254e(0x27e)]['id'])?{..._0x1eb002,'attrs':{..._0x1eb002[_0x57254e(0x27e)],'id':_0x1eb002[_0x57254e(0x27e)]['id']+_0x9c5c58['idSuffix']}}:_0x1eb002)}:_0x55600b;}function _0x63cd74(){const _0x46dfa5=_0x1a58e5;return Math[_0x46dfa5(0x38c)]()[_0x46dfa5(0x3d4)](0x24)[_0x46dfa5(0x1fb)](0x2,0x8);}_0x36d807[_0x1a58e5(0x2f8)]='UniverIcon';let _0x1b3dfa={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':_0x1a58e5(0x38f),'viewBox':_0x1a58e5(0x2d1),'width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a58e5(0x405)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'stroke':_0x1a58e5(0x27f),'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':_0x1a58e5(0x16e),'strokeLinejoin':_0x1a58e5(0x16e),'strokeWidth':1.2}}]},{'tag':_0x1a58e5(0x300),'attrs':{},'children':[{'tag':_0x1a58e5(0x2ba),'attrs':{'id':_0x1a58e5(0x25d)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'fill':_0x1a58e5(0x33f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1a58e5(0x25d)]},_0x291369=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0x1f4975,_0x9214ac){const _0x362306=_0x1a58e5;return(0x0,_0x34db69[_0x362306(0x185)])(_0x36d807,Object['assign']({},_0x1f4975,{'id':'off-line-icon','ref':_0x9214ac,'icon':_0x1b3dfa}));});_0x291369[_0x1a58e5(0x2f8)]='OffLineIcon';let _0x26d5ae={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':_0x1a58e5(0x38f),'viewBox':'0\x200\x2017\x2016','width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a58e5(0x270)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'stroke':_0x1a58e5(0x27f),'d':_0x1a58e5(0x30c),'strokeLinecap':'round','strokeLinejoin':_0x1a58e5(0x16e),'strokeWidth':1.2}}]},{'tag':_0x1a58e5(0x300),'attrs':{},'children':[{'tag':_0x1a58e5(0x2ba),'attrs':{'id':_0x1a58e5(0x3c3)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'fill':_0x1a58e5(0x33f),'d':_0x1a58e5(0x2ed),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x32fe5e=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0xf8d936,_0x194a4d){const _0x2137f1=_0x1a58e5;return(0x0,_0x34db69[_0x2137f1(0x185)])(_0x36d807,Object['assign']({},_0xf8d936,{'id':'on-line-icon','ref':_0x194a4d,'icon':_0x26d5ae}));});_0x32fe5e[_0x1a58e5(0x2f8)]=_0x1a58e5(0x3fc);let _0x2efdf4={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':'none','viewBox':_0x1a58e5(0x2d1),'width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'path','attrs':{'fill':_0x1a58e5(0x2de),'d':_0x1a58e5(0x2fb),'fillOpacity':0.2,'fillRule':_0x1a58e5(0x2fa),'clipRule':_0x1a58e5(0x2fa)}},{'tag':_0x1a58e5(0x239),'attrs':{'fill':'#0B9EFB','d':_0x1a58e5(0x1bf),'fillRule':_0x1a58e5(0x2fa),'clipRule':_0x1a58e5(0x2fa)}}]},_0x318625=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0x2d7c2b,_0x19d94d){const _0x557a30=_0x1a58e5;return(0x0,_0x34db69['createElement'])(_0x36d807,Object[_0x557a30(0x208)]({},_0x2d7c2b,{'id':_0x557a30(0x189),'ref':_0x19d94d,'icon':_0x2efdf4}));});_0x318625[_0x1a58e5(0x2f8)]=_0x1a58e5(0x14f);function _0x17446a(_0x1a6f29){const _0xea4c73=_0x1a58e5;switch(_0x1a6f29){case _0x35fa89[_0xea4c73(0x315)]['OFFLINE']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x291369,{}),'colorClass':_0xea4c73(0x1f8),'i18nKey':_0xea4c73(0x18b),'tooltipKey':_0xea4c73(0x3da),'clickable':!0x0,'indicator':_0xea4c73(0x279)};case _0x35fa89[_0xea4c73(0x315)]['CONFLICT']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x291369,{}),'colorClass':_0xea4c73(0x38a),'i18nKey':_0xea4c73(0x181),'clickable':!0x1,'indicator':_0xea4c73(0x279)};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x413)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x1ab),'clickable':!0x1,'indicator':_0xea4c73(0x2f2)};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x3b3)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x32fe5e,{}),'colorClass':_0xea4c73(0x14a),'i18nKey':_0xea4c73(0x19f),'clickable':!0x1,'indicator':_0xea4c73(0x279)};case _0x35fa89['CollaborationStatus'][_0xea4c73(0x37f)]:case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x111)]:return{'icon':(0x0,_0x140dd6['jsx'])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x11e),'clickable':!0x1,'indicator':'spin'};case _0x35fa89[_0xea4c73(0x315)]['PENDING']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x11e),'clickable':!0x1,'indicator':'spin'};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x1b2)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x32fe5e,{}),'colorClass':'univer-text-green-500','i18nKey':_0xea4c73(0x2aa),'clickable':!0x1,'indicator':'static'};}}function _0x1f9c87(_0x3cc3c9){const _0x40965f=_0x1a58e5;let {status$:_0x3a47d7}=_0x3cc3c9,_0x49f279=(0x0,_0x161125[_0x40965f(0x22a)])(_0x3a47d7,_0x35fa89[_0x40965f(0x315)][_0x40965f(0x3b3)]),_0xca0dc2=(0x0,_0x161125[_0x40965f(0x2ea)])(_0x2b0173['LocaleService']),_0x2af5e5=(0x0,_0x161125[_0x40965f(0x2ea)])(_0x35fa89[_0x40965f(0x122)]),_0x4d95d0=(0x0,_0x34db69[_0x40965f(0x199)])(()=>_0x17446a(_0x49f279),[_0x49f279]),_0x365ab9=_0x49f279!==_0x35fa89[_0x40965f(0x315)][_0x40965f(0x29d)],_0x1510ce=_0xca0dc2['t'](_0x4d95d0[_0x40965f(0x21c)]),_0xaa0bc5=_0x4d95d0[_0x40965f(0x1e5)]?_0xca0dc2['t'](_0x4d95d0[_0x40965f(0x1e5)]):_0x1510ce,_0x436c9e=(0x0,_0x34db69[_0x40965f(0x3ad)])(()=>{const _0x2c43cd=_0x40965f;_0x365ab9||_0x2af5e5[_0x2c43cd(0x370)]();},[_0x365ab9,_0x2af5e5]),_0x84fc48=(0x0,_0x34db69[_0x40965f(0x3ad)])(_0x24c1f2=>{const _0x45de9c=_0x40965f;!_0x365ab9&&(_0x24c1f2[_0x45de9c(0x2cd)]===_0x45de9c(0x284)||_0x24c1f2['key']==='\x20')&&(_0x24c1f2['preventDefault'](),_0x2af5e5[_0x45de9c(0x370)]());},[_0x365ab9,_0x2af5e5]),_0x1fc46a=(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x209),{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])(_0x40965f(0x1bd),_0x40965f(0x22f),_0x4d95d0[_0x40965f(0x2ef)],{'univer-animate-spin':_0x4d95d0[_0x40965f(0x38e)]==='spin','univer-animate-pulse':_0x4d95d0['indicator']===_0x40965f(0x283)}),'aria-hidden':'true','children':_0x4d95d0[_0x40965f(0x115)]}),_0x51368b=(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x209),{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x40965f(0x327),'univer-transition-all\x20univer-duration-200',_0x40965f(0x36f),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x4d95d0[_0x40965f(0x241)],'univer-cursor-default':!_0x4d95d0[_0x40965f(0x241)]}),'children':_0x1fc46a});return _0x4d95d0[_0x40965f(0x241)]?(0x0,_0x140dd6['jsx'])(_0x96a8b5[_0x40965f(0x2dd)],{'title':_0xaa0bc5,'placement':_0x40965f(0x37e),'children':(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x11c),{'type':_0x40965f(0x11c),'onClick':_0x436c9e,'onKeyDown':_0x84fc48,'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])(_0x40965f(0x118),'univer-border-none\x20univer-bg-transparent',_0x40965f(0x2f1),_0x40965f(0x22c)),'aria-label':_0x1510ce+_0x40965f(0x2df)+_0xaa0bc5,'role':'status','aria-live':'polite','aria-atomic':_0x40965f(0x233),'children':_0x51368b})}):(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x96a8b5[_0x40965f(0x2dd)],{'title':_0xaa0bc5,'placement':_0x40965f(0x37e),'children':(0x0,_0x140dd6['jsx'])('div',{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x40965f(0x281),_0x40965f(0x2f1)),'aria-label':_0x1510ce,'role':_0x40965f(0x314),'aria-live':_0x40965f(0x243),'aria-atomic':_0x40965f(0x233),'children':_0x51368b})});}function _0x41ef2b(_0x4bd265){'@babel/helpers - typeof';const _0x1d0fe8=_0x1a58e5;return _0x41ef2b=typeof Symbol==_0x1d0fe8(0x3a2)&&typeof Symbol['iterator']=='symbol'?function(_0xc4afa5){return typeof _0xc4afa5;}:function(_0x3d74cc){const _0x47bff6=_0x1d0fe8;return _0x3d74cc&&typeof Symbol==_0x47bff6(0x3a2)&&_0x3d74cc[_0x47bff6(0x1df)]===Symbol&&_0x3d74cc!==Symbol['prototype']?_0x47bff6(0x3a6):typeof _0x3d74cc;},_0x41ef2b(_0x4bd265);}function _0x345895(_0x4d88ad,_0x149574){const _0x2c72da=_0x1a58e5;if(_0x41ef2b(_0x4d88ad)!='object'||!_0x4d88ad)return _0x4d88ad;var _0x2f191c=_0x4d88ad[Symbol[_0x2c72da(0x331)]];if(_0x2f191c!==void 0x0){var _0x14e4d7=_0x2f191c[_0x2c72da(0x213)](_0x4d88ad,_0x149574||_0x2c72da(0x2c3));if(_0x41ef2b(_0x14e4d7)!='object')return _0x14e4d7;throw TypeError(_0x2c72da(0x1c7));}return(_0x149574===_0x2c72da(0x31b)?String:Number)(_0x4d88ad);}function _0x2f4b2e(_0x17b27b){const _0x5c69b6=_0x1a58e5;var _0x1c5603=_0x345895(_0x17b27b,_0x5c69b6(0x31b));return _0x41ef2b(_0x1c5603)=='symbol'?_0x1c5603:_0x1c5603+'';}function _0x42526d(_0x516cce,_0x5b59c1,_0x44f824){return(_0x5b59c1=_0x2f4b2e(_0x5b59c1))in _0x516cce?Object['defineProperty'](_0x516cce,_0x5b59c1,{'value':_0x44f824,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x516cce[_0x5b59c1]=_0x44f824,_0x516cce;}function _0x215337(_0x21b792,_0x330a26){return function(_0x5cfaf5,_0x3dade7){_0x330a26(_0x5cfaf5,_0x3dade7,_0x21b792);};}function _0x202e73(_0x8b3fb6,_0x3d35aa,_0xa68d67,_0x253f8b){const _0x5c0af3=_0x1a58e5;var _0x5157bb=arguments['length'],_0x252d0f=_0x5157bb<0x3?_0x3d35aa:_0x253f8b===null?_0x253f8b=Object['getOwnPropertyDescriptor'](_0x3d35aa,_0xa68d67):_0x253f8b,_0x2c5b21;if(typeof Reflect==_0x5c0af3(0x361)&&typeof Reflect['decorate']==_0x5c0af3(0x3a2))_0x252d0f=Reflect[_0x5c0af3(0x28f)](_0x8b3fb6,_0x3d35aa,_0xa68d67,_0x253f8b);else{for(var _0x43310=_0x8b3fb6[_0x5c0af3(0x371)]-0x1;_0x43310>=0x0;_0x43310--)(_0x2c5b21=_0x8b3fb6[_0x43310])&&(_0x252d0f=(_0x5157bb<0x3?_0x2c5b21(_0x252d0f):_0x5157bb>0x3?_0x2c5b21(_0x3d35aa,_0xa68d67,_0x252d0f):_0x2c5b21(_0x3d35aa,_0xa68d67))||_0x252d0f);}return _0x5157bb>0x3&&_0x252d0f&&Object[_0x5c0af3(0x2cf)](_0x3d35aa,_0xa68d67,_0x252d0f),_0x252d0f;}let _0x1f1a4f=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x38235d,_0x2b9be8,_0x1d5d6b,_0x148656){const _0x212a11=_0x1a58e5;super(),this['_univerInstanceService']=_0x38235d,this[_0x212a11(0x412)]=_0x2b9be8,this['_collaborationController']=_0x1d5d6b,this['_uiPartsService']=_0x148656,_0x42526d(this,_0x212a11(0x297),new _0xc05c0c[(_0x212a11(0x334))](_0x35fa89['CollaborationStatus'][_0x212a11(0x3b3)])),this[_0x212a11(0x404)](),this[_0x212a11(0x130)]();}[_0x1a58e5(0x130)](){const _0x4e9338=_0x1a58e5;this[_0x4e9338(0x119)]((0x0,_0xc05c0c['merge'])(this[_0x4e9338(0x3e5)][_0x4e9338(0x188)],this[_0x4e9338(0x3e5)][_0x4e9338(0x38b)](_0x2b0173['UniverInstanceType'][_0x4e9338(0x313)]),this[_0x4e9338(0x3e5)]['getCurrentTypeOfUnit$'](_0x2b0173['UniverInstanceType'][_0x4e9338(0x104)]))[_0x4e9338(0x154)]((0x0,_0x4be982[_0x4e9338(0x230)])(()=>_0x5bc8a8(this[_0x4e9338(0x3e5)])),(0x0,_0x4be982[_0x4e9338(0x342)])(),(0x0,_0xc05c0c[_0x4e9338(0x310)])(_0x2c22d0=>_0x2c22d0?this[_0x4e9338(0x191)][_0x4e9338(0x19d)](_0x2c22d0):(0x0,_0xc05c0c['of'])(null)),(0x0,_0xc05c0c[_0x4e9338(0x310)])(_0x36f993=>_0x36f993?_0x36f993['status$']:(0x0,_0xc05c0c['of'])(_0x35fa89['CollaborationStatus'][_0x4e9338(0x3b3)])))['subscribe'](_0x32f733=>{const _0x29d329=_0x4e9338;this[_0x29d329(0x297)][_0x29d329(0x3b0)](_0x32f733);}));}[_0x1a58e5(0x404)](){const _0x1ac7f9=_0x1a58e5;this[_0x1ac7f9(0x119)](this[_0x1ac7f9(0x220)][_0x1ac7f9(0x2dc)](_0x161125[_0x1ac7f9(0x377)][_0x1ac7f9(0x376)],()=>(0x0,_0x161125[_0x1ac7f9(0x3eb)])(_0x4d4f4a({'status$':this[_0x1ac7f9(0x297)][_0x1ac7f9(0x2c9)]()}),this[_0x1ac7f9(0x412)])));}};_0x1f1a4f=_0x202e73([_0x215337(0x0,_0x2b0173['IUniverInstanceService']),_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['CollaborationController'])),_0x215337(0x3,_0x161125['IUIPartsService'])],_0x1f1a4f);let _0x380180=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x55b6e5,_0x21cae3,_0x3478d3,_0x2fb759){const _0x5bff9d=_0x1a58e5;super(),this['_univerInstanceService']=_0x55b6e5,this[_0x5bff9d(0x412)]=_0x21cae3,this[_0x5bff9d(0x191)]=_0x3478d3,this[_0x5bff9d(0x220)]=_0x2fb759,_0x42526d(this,_0x5bff9d(0x297),new _0xc05c0c[(_0x5bff9d(0x334))](_0x35fa89[_0x5bff9d(0x315)]['NOT_COLLAB'])),this[_0x5bff9d(0x404)](),this[_0x5bff9d(0x130)]();}[_0x1a58e5(0x130)](){const _0x371785=_0x1a58e5;this[_0x371785(0x119)]((0x0,_0xc05c0c['merge'])((0x0,_0xc05c0c['of'])(null),this[_0x371785(0x3e5)][_0x371785(0x38b)](_0x2b0173[_0x371785(0x102)][_0x371785(0x217)]))[_0x371785(0x154)]((0x0,_0x4be982['map'])(()=>_0x1e65fc(this[_0x371785(0x3e5)])),(0x0,_0x4be982[_0x371785(0x342)])(),(0x0,_0xc05c0c['switchMap'])(_0x5d6d1f=>_0x5d6d1f?this['_collaborationController'][_0x371785(0x19d)](_0x5d6d1f):(0x0,_0xc05c0c['of'])(null)),(0x0,_0xc05c0c[_0x371785(0x310)])(_0x102012=>_0x102012?_0x102012['status$']:(0x0,_0xc05c0c['of'])(_0x35fa89['CollaborationStatus'][_0x371785(0x3b3)])))[_0x371785(0x224)](_0x1afd1a=>{const _0x16c137=_0x371785;this[_0x16c137(0x297)][_0x16c137(0x3b0)](_0x1afd1a);}));}['_initStatusComponent'](){const _0x5b74cb=_0x1a58e5;this[_0x5b74cb(0x119)](this[_0x5b74cb(0x220)][_0x5b74cb(0x2dc)](_0x512abf[_0x5b74cb(0x3bf)],()=>(0x0,_0x161125[_0x5b74cb(0x3eb)])(_0x4d4f4a({'status$':this['_status$'][_0x5b74cb(0x2c9)]()}),this[_0x5b74cb(0x412)])));}};_0x380180=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x2b0173['Injector'])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['CollaborationController'])),_0x215337(0x3,_0x161125['IUIPartsService'])],_0x380180);function _0x5bc8a8(_0x1086d4){const _0x38ddcf=_0x1a58e5;let _0xba779c=_0x1086d4[_0x38ddcf(0x215)](),_0x1283e4=_0xba779c==null?void 0x0:_0xba779c[_0x38ddcf(0x36d)]();if(_0x1283e4&&!(0x0,_0x2b0173[_0x38ddcf(0x1ba)])(_0x1283e4))return _0x1283e4;let _0x1a79e0=_0x1086d4[_0x38ddcf(0x163)](_0x2b0173['UniverInstanceType'][_0x38ddcf(0x313)]),_0x2b3d1=_0x1a79e0==null?void 0x0:_0x1a79e0[_0x38ddcf(0x36d)]();if(_0x2b3d1&&!(0x0,_0x2b0173['isInternalEditorID'])(_0x2b3d1))return _0x2b3d1;let _0x59c4d5=_0x1086d4[_0x38ddcf(0x163)](_0x2b0173[_0x38ddcf(0x102)][_0x38ddcf(0x104)]);if(_0x59c4d5)return _0x59c4d5[_0x38ddcf(0x36d)]();let _0x5eab54=_0x1086d4['getAllUnitsForType'](_0x2b0173[_0x38ddcf(0x102)][_0x38ddcf(0x313)])[_0x38ddcf(0x3e3)](_0x1d270b=>!(0x0,_0x2b0173[_0x38ddcf(0x1ba)])(_0x1d270b[_0x38ddcf(0x36d)]()));return _0x5eab54?_0x5eab54[_0x38ddcf(0x36d)]():null;}function _0x1e65fc(_0x4c66a7){const _0x1ff003=_0x1a58e5;var _0x447bdc;let _0xacfe6f=_0x4c66a7['getCurrentUnitOfType'](_0x2b0173[_0x1ff003(0x102)][_0x1ff003(0x217)]);return(_0x447bdc=_0xacfe6f==null?void 0x0:_0xacfe6f[_0x1ff003(0x36d)]())==null?null:_0x447bdc;}function _0x4d4f4a(_0x3773e4){let {status$:_0x48d63f}=_0x3773e4;return function(){const _0x6a2480=_0x7aae;return(0x0,_0x140dd6[_0x6a2480(0x36e)])(_0x1f9c87,{'status$':_0x48d63f});};}var _0x546ec3='@univerjs-pro/collaboration-client-ui',_0x5d8e38='1.0.0-alpha.3';let _0x494f70={},_0x5b162a=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x16867d,_0x5f4b8e){const _0xd75a0=_0x1a58e5;super(),this[_0xd75a0(0x275)]=_0x16867d,this[_0xd75a0(0x1e1)]=_0x5f4b8e,this['_init']();}[_0x1a58e5(0x1ec)](){const _0x529809=_0x1a58e5;let _0x4ff768=this;this['disposeWithMe'](this[_0x529809(0x275)]['addClipboardHook']({'onBeforePasteImage':async _0x340893=>{const _0x1cf406=_0x529809;let _0x2de66b=await _0x4ff768[_0x1cf406(0x1e1)][_0x1cf406(0x177)](_0x340893);return _0x2de66b?{'source':_0x2de66b[_0x1cf406(0x164)],'imageSourceType':_0x2de66b[_0x1cf406(0x282)]}:null;}}));}};_0x5b162a=_0x202e73([_0x215337(0x0,_0x56f9a3[_0x1a58e5(0x24e)]),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x1aa)])],_0x5b162a);function _0x366aaa(_0x10e5be,_0x27bc3e){const _0x3ba316=_0x1a58e5;_0x10e5be[_0x3ba316(0x304)](),_0x10e5be[_0x3ba316(0x1bc)]=_0x3ba316(0x357);let _0x1ab46c=_0x10e5be[_0x3ba316(0x218)](_0x27bc3e)['width'];return _0x10e5be['restore'](),Math[_0x3ba316(0x339)](_0x1ab46c+0x8,0xc8);}function _0x159f9c(_0x253969,_0x1fe74d){const _0x37d559=_0x1a58e5;var _0x329df3,_0x2a9121,_0x2daae1;let {radius:_0x506539,width:_0x22ef22,height:_0x519bbe}=_0x1fe74d;_0x506539=(_0x329df3=_0x506539)==null?0x0:_0x329df3,_0x22ef22=(_0x2a9121=_0x22ef22)==null?0x1e:_0x2a9121,_0x519bbe=(_0x2daae1=_0x519bbe)==null?0x1e:_0x2daae1;let _0x879df0=0x0,_0x3e9a95=0x0,_0x12d16f=0x0;_0x879df0=_0x3e9a95=_0x12d16f=Math['min'](_0x506539,_0x22ef22/0x2,_0x519bbe/0x2),_0x253969[_0x37d559(0x1a1)](),_0x253969['moveTo'](_0x879df0,0x0),_0x253969[_0x37d559(0x3e6)](_0x22ef22-_0x3e9a95,0x0),_0x253969[_0x37d559(0x210)](_0x22ef22-_0x3e9a95,_0x3e9a95,_0x3e9a95,Math['PI']*0x3/0x2,0x0,!0x1),_0x253969[_0x37d559(0x3e6)](_0x22ef22,_0x519bbe-_0x12d16f),_0x253969[_0x37d559(0x210)](_0x22ef22-_0x12d16f,_0x519bbe-_0x12d16f,_0x12d16f,0x0,Math['PI']/0x2,!0x1),_0x253969['lineTo'](0x0,_0x519bbe),_0x253969[_0x37d559(0x3e6)](0x0,_0x879df0),_0x253969[_0x37d559(0x210)](_0x879df0,_0x879df0,_0x879df0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x253969[_0x37d559(0x35b)](),_0x1fe74d[_0x37d559(0x2ec)]&&(_0x253969[_0x37d559(0x304)](),_0x253969[_0x37d559(0x21d)]=_0x1fe74d[_0x37d559(0x2ec)],_0x1fe74d['fillRule']===_0x37d559(0x2fa)?_0x253969['fill'](_0x37d559(0x2fa)):_0x253969[_0x37d559(0x2ec)](),_0x253969[_0x37d559(0x31f)]());}var _0x548107=class _0x1a657a extends _0x15ed3a['Shape']{constructor(_0x4a66df,_0x41cfa5){const _0xe40a59=_0x1a58e5;super(_0x4a66df,_0x41cfa5),_0x42526d(this,_0xe40a59(0x1e2),void 0x0),_0x42526d(this,'text',void 0x0),this[_0xe40a59(0x1e2)]=_0x41cfa5==null?void 0x0:_0x41cfa5[_0xe40a59(0x1e2)],this[_0xe40a59(0x174)]=_0x41cfa5==null?void 0x0:_0x41cfa5['text'];}static[_0x1a58e5(0x160)](_0x12306a,_0x33f14a){const _0x355652=_0x1a58e5;let {text:_0x2c0942,color:_0x2b5ced}=_0x33f14a;_0x12306a[_0x355652(0x304)](),_0x12306a[_0x355652(0x1bc)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x463d23=_0x12306a['measureText'](_0x2c0942)[_0x355652(0x381)];if(_0x159f9c(_0x12306a,{'height':0x14,'radius':0x4,'width':_0x366aaa(_0x12306a,_0x2c0942),'fill':_0x2b5ced,'evented':!0x1}),_0x12306a[_0x355652(0x21d)]=_0x355652(0x2e7),_0x463d23>0xc0){let _0x5782fe='',_0x1709cd=0x0;for(let _0x322978 of _0x2c0942){let _0x2583df=_0x12306a[_0x355652(0x218)](_0x322978)[_0x355652(0x381)];if(_0x1709cd+_0x2583df<=0xc0-_0x12306a[_0x355652(0x218)](_0x355652(0x3a4))[_0x355652(0x381)])_0x5782fe+=_0x322978,_0x1709cd+=_0x2583df;else{_0x5782fe+=_0x355652(0x3a4);break;}}_0x12306a[_0x355652(0x228)](_0x5782fe,0x4,0xf);}else _0x12306a['fillText'](_0x2c0942,0x4,0xf);_0x12306a[_0x355652(0x31f)]();}[_0x1a58e5(0x363)](_0x4cd40c){_0x1a657a['drawWith'](_0x4cd40c,this);}};let _0x19234f=0x138a;var _0x28af6f=class extends _0x15ed3a[_0x1a58e5(0x1d2)]{constructor(_0x2c4ce9,_0x10d235){const _0x10a591=_0x1a58e5;super(_0x2c4ce9,{..._0x10d235,'evented':!0x1}),_0x42526d(this,'_color','#4f46e5'),_0x42526d(this,'_name',''),_0x42526d(this,_0x10a591(0x3f3),!0x0),_0x10d235&&this[_0x10a591(0x317)](_0x10d235);}['setShapeProps'](_0xd8c7d5){const _0x292fe4=_0x1a58e5;var _0x44c5fa,_0x36ea5d,_0x3811ee,_0x2c8f60,_0xd985cd,_0x49ca49,_0x5450b6,_0x151b7c;this[_0x292fe4(0x1c8)]=(_0x44c5fa=_0xd8c7d5[_0x292fe4(0x1e2)])==null?this['_color']:_0x44c5fa,this[_0x292fe4(0x1f4)]=(_0x36ea5d=_0xd8c7d5['name'])==null?this[_0x292fe4(0x1f4)]:_0x36ea5d,this[_0x292fe4(0x3f3)]=(_0x3811ee=_0xd8c7d5[_0x292fe4(0x23c)])==null?this[_0x292fe4(0x3f3)]:_0x3811ee,this[_0x292fe4(0x20a)]=!0x1,this[_0x292fe4(0x30d)]({'left':(_0x2c8f60=_0xd8c7d5[_0x292fe4(0x1e7)])==null?this['left']:_0x2c8f60,'top':(_0xd985cd=_0xd8c7d5[_0x292fe4(0x132)])==null?this['top']:_0xd985cd,'width':(_0x49ca49=_0xd8c7d5[_0x292fe4(0x381)])==null?this[_0x292fe4(0x381)]:_0x49ca49,'height':(_0x5450b6=_0xd8c7d5[_0x292fe4(0x2f9)])==null?this[_0x292fe4(0x2f9)]:_0x5450b6,'angle':(_0x151b7c=_0xd8c7d5[_0x292fe4(0x33b)])==null?this[_0x292fe4(0x33b)]:_0x151b7c});}['_draw'](_0x4ce686){const _0x50e9ae=_0x1a58e5;_0x4ce686[_0x50e9ae(0x304)](),_0x4ce686[_0x50e9ae(0x3e2)]=this[_0x50e9ae(0x1c8)],_0x4ce686[_0x50e9ae(0x3e1)]=this[_0x50e9ae(0x3fa)]||1.5,_0x4ce686[_0x50e9ae(0x388)]([0x6,0x4]),_0x4ce686[_0x50e9ae(0x290)](0x0,0x0,this[_0x50e9ae(0x381)],this[_0x50e9ae(0x2f9)]),_0x4ce686[_0x50e9ae(0x31f)](),this[_0x50e9ae(0x3f3)]&&(_0x4ce686[_0x50e9ae(0x304)](),_0x4ce686['transform'](0x1,0x0,0x0,0x1,this[_0x50e9ae(0x381)],-0x14),_0x548107['drawWith'](_0x4ce686,{'text':this[_0x50e9ae(0x1f4)],'color':this[_0x50e9ae(0x1c8)]}),_0x4ce686[_0x50e9ae(0x31f)]());}};let _0x59df71=[_0x1a58e5(0x1ca),'jiqing.500',_0x1a58e5(0x1c4),_0x1a58e5(0x348),'blue.400',_0x1a58e5(0x1d4)];var _0x2fe220=class extends _0x2b0173['Disposable']{constructor(..._0x4e6b86){const _0x31acbc=_0x1a58e5;super(..._0x4e6b86),_0x42526d(this,_0x31acbc(0x303),new Map()),_0x42526d(this,_0x31acbc(0x307),0x0);}['assignAColorForMemberID'](_0x2fd879){const _0x2b48a4=_0x1a58e5;if(this[_0x2b48a4(0x303)][_0x2b48a4(0x2c2)](_0x2fd879))return this[_0x2b48a4(0x303)][_0x2b48a4(0x1db)](_0x2fd879);let _0x162afa=_0x59df71[this[_0x2b48a4(0x307)]];return this[_0x2b48a4(0x307)]=(this[_0x2b48a4(0x307)]+0x1)%_0x59df71[_0x2b48a4(0x371)],this[_0x2b48a4(0x303)]['set'](_0x2fd879,_0x162afa),_0x162afa;}};function _0x13324f(_0x47474c){const _0x4ff495=_0x1a58e5;let _0x48bf3c;try{_0x48bf3c=JSON[_0x4ff495(0x26f)](_0x47474c);}catch{return null;}if(typeof _0x48bf3c!=_0x4ff495(0x361)||!_0x48bf3c)return null;let _0x3da962=_0x48bf3c;if(_0x3da962[_0x4ff495(0x2d7)]!==_0x4ff495(0x385)||typeof _0x3da962[_0x4ff495(0x268)]!=_0x4ff495(0x31b)||typeof _0x3da962[_0x4ff495(0x149)]!=_0x4ff495(0x31b))return null;let _0x1a8ae1=Array[_0x4ff495(0x3bc)](_0x3da962['selectedIds'])?_0x3da962['selectedIds'][_0x4ff495(0x409)](_0x5f4d90=>typeof _0x5f4d90==_0x4ff495(0x31b)):[],_0xf5bf2=typeof _0x3da962[_0x4ff495(0x36c)]==_0x4ff495(0x31b)?_0x3da962[_0x4ff495(0x36c)]:null;return{'kind':_0x4ff495(0x385),'unitId':_0x3da962['unitId'],'subUnitId':_0x3da962[_0x4ff495(0x149)],'selectedIds':_0x1a8ae1,'focusedId':_0xf5bf2};}let _0x12a7db=class extends _0x2b0173['RxDisposable']{get['cursorInfo'](){const _0x1f09e0=_0x1a58e5;return this[_0x1f09e0(0x33e)][_0x1f09e0(0x35c)]();}get['roomMembers'](){const _0xa969be=_0x1a58e5;return this[_0xa969be(0x3f5)]['getValue']();}constructor(_0x25ff3c,_0x328ed7,_0x1147dc,_0x1d6f4e,_0xdd168c){const _0xb1193=_0x1a58e5;super(),this[_0xb1193(0x3a0)]=_0x25ff3c,this[_0xb1193(0x26b)]=_0x328ed7,this[_0xb1193(0x1cd)]=_0x1147dc,this[_0xb1193(0x24b)]=_0x1d6f4e,this['_boardElementStateService']=_0xdd168c,_0x42526d(this,_0xb1193(0x169),!0x1),_0x42526d(this,_0xb1193(0x1ec),!0x1),_0x42526d(this,_0xb1193(0x33e),new _0xc05c0c['BehaviorSubject'](new Map())),_0x42526d(this,_0xb1193(0x3c9),this[_0xb1193(0x33e)][_0xb1193(0x2c9)]()),_0x42526d(this,_0xb1193(0x3f5),new _0xc05c0c['BehaviorSubject']([])),_0x42526d(this,_0xb1193(0x367),this['_roomMembers$'][_0xb1193(0x154)]((0x0,_0xc05c0c[_0xb1193(0x24d)])(0x12c))),_0x42526d(this,_0xb1193(0x294),(0x0,_0x2b0173[_0xb1193(0x186)])(_0x2b3fdf=>{const _0x2e247b=_0xb1193;let _0x27078f=_0x2b3fdf[_0x2e247b(0x250)];if(!_0x27078f||_0x27078f[_0x2e247b(0x268)]!==this[_0x2e247b(0x3a0)])return;let _0x288ff5={'kind':_0x2e247b(0x385),'unitId':_0x27078f[_0x2e247b(0x268)],'subUnitId':_0x27078f[_0x2e247b(0x149)],'selectedIds':_0x2b3fdf[_0x2e247b(0x3c8)][_0x2e247b(0x409)](_0x323e5a=>typeof _0x323e5a==_0x2e247b(0x31b)),'focusedId':_0x2b3fdf[_0x2e247b(0x36c)]},_0x1302d4={'eventID':_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2e247b(0x26b)][_0x2e247b(0x192)](),'selection':JSON[_0x2e247b(0x249)](_0x288ff5)}};this['_session'][_0x2e247b(0x190)](_0x1302d4,this[_0x2e247b(0x3a0)]);},0x64));}[_0x1a58e5(0x34f)](){const _0x2e4740=_0x1a58e5;super[_0x2e4740(0x34f)](),this['_cursorInfo$']['next'](new Map()),this[_0x2e4740(0x33e)]['complete'](),this[_0x2e4740(0x3f5)][_0x2e4740(0x3b0)]([]),this[_0x2e4740(0x3f5)][_0x2e4740(0x1c0)]();}['init'](){const _0x57a7f5=_0x1a58e5;this['_init']||(this[_0x57a7f5(0x1ec)]=!0x0,this[_0x57a7f5(0x26b)]['sessionStatus$'][_0x57a7f5(0x154)]((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))[_0x57a7f5(0x224)](_0x5efb4e=>{const _0x411150=_0x57a7f5;_0x5efb4e===_0x35fa89['SessionStatus']['ONLINE']?this[_0x411150(0x2db)]():this['_toggleOffline']();}),this[_0x57a7f5(0x26b)][_0x57a7f5(0x3f2)]['pipe']((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))[_0x57a7f5(0x224)](_0x466e24=>{const _0x3603c5=_0x57a7f5;let _0x403de1=_0x466e24[_0x3603c5(0x231)];_0x403de1===_0xd76d4d[_0x3603c5(0x3df)][_0x3603c5(0x2b4)]&&this['_onCursorUpdate'](_0x466e24),_0x403de1===_0xd76d4d[_0x3603c5(0x3df)][_0x3603c5(0x386)]&&this[_0x3603c5(0x1a0)](_0x466e24);}),this[_0x57a7f5(0x311)][_0x57a7f5(0x2f4)][_0x57a7f5(0x154)]((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))['subscribe'](_0x277d90=>{const _0x80e686=_0x57a7f5;this[_0x80e686(0x169)]&&this[_0x80e686(0x294)](_0x277d90);}));}[_0x1a58e5(0x2ae)](_0xcada28){const _0x418ed3=_0x1a58e5;var _0xbe4d72,_0xba964d,_0x53d8cb,_0x2dc0c0;let {memberID:_0x3f0047,selection:_0x564e26}=_0xcada28['data'];if(_0x3f0047===((_0xbe4d72=(_0xba964d=this[_0x418ed3(0x26b)])['getMemberID'])==null?void 0x0:_0xbe4d72[_0x418ed3(0x213)](_0xba964d)))return;let _0x137100=_0x13324f(_0x564e26);if(!_0x137100||_0x137100['unitId']!==this['unitID'])return;let _0x26e212=(_0x53d8cb=(_0x2dc0c0=this[_0x418ed3(0x24b)][_0x418ed3(0x3a8)](this[_0x418ed3(0x3a0)],_0x3f0047))==null?void 0x0:_0x2dc0c0['name'])==null?_0x418ed3(0x3d7):_0x53d8cb,_0x26af07={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x3f0047),'name':_0x26e212,'unitId':_0x137100[_0x418ed3(0x268)],'subUnitId':_0x137100[_0x418ed3(0x149)],'selectedIds':_0x137100[_0x418ed3(0x3c8)],'focusedId':_0x137100[_0x418ed3(0x36c)],'selection':_0x564e26},_0x1074d6=new Map(this['cursorInfo']);_0x1074d6['set'](_0x3f0047,_0x26af07),this[_0x418ed3(0x33e)]['next'](_0x1074d6);}[_0x1a58e5(0x1a0)](_0x282666){const _0x599a73=_0x1a58e5;let {memberID:_0x1cd181}=_0x282666['data'],_0x4f8aad=new Map(this[_0x599a73(0x2af)]);_0x4f8aad[_0x599a73(0x182)](_0x1cd181),this[_0x599a73(0x33e)][_0x599a73(0x3b0)](_0x4f8aad);}['_toggleOnline'](){const _0x5be26c=_0x1a58e5;this[_0x5be26c(0x169)]=!0x0,this[_0x5be26c(0x294)](this[_0x5be26c(0x311)]['getSnapshot']());}[_0x1a58e5(0x206)](){this['_online']=!0x1;}};_0x12a7db=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x512abf[_0x1a58e5(0x295)]))],_0x12a7db);function _0x14245(_0x3da0ef){let _0x743c41='';for(let _0x5483aa of _0x3da0ef){let {startOffset:_0x3e7b71,endOffset:_0xe9ec2e,isActive:_0x273553,rangeType:_0x53b528,segmentId:_0x5629a0,segmentPage:_0x43a7ea}=_0x5483aa;_0x743c41['length']&&(_0x743c41+=','),_0x743c41+=_0x3e7b71+':'+_0xe9ec2e+':'+(_0x273553?'1':'0')+':'+_0x53b528+':'+_0x5629a0+':'+_0x43a7ea;}return _0x743c41;}function _0x3078aa(_0x401b3c){const _0x52dfeb=_0x1a58e5;let _0x4d8d9d=_0x401b3c[_0x52dfeb(0x3ec)](','),_0x5ddfa2=[];for(let _0x576868 of _0x4d8d9d){let [_0x17ba14,_0x1e4df1,_0x472485,_0x4c7a71,_0x424edd,_0x343ae7]=_0x576868[_0x52dfeb(0x3ec)](':');_0x5ddfa2[_0x52dfeb(0x285)]({'startOffset':Number(_0x17ba14),'endOffset':Number(_0x1e4df1),'collapsed':_0x17ba14===_0x1e4df1,'isActive':_0x472485==='1','rangeType':_0x4c7a71===_0x2b0173[_0x52dfeb(0x13e)][_0x52dfeb(0x245)]?_0x2b0173['DOC_RANGE_TYPE']['TEXT']:_0x2b0173['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x424edd==_0x52dfeb(0x31b)?String(_0x424edd):'','segmentPage':Number(_0x343ae7==null?-0x1:_0x343ae7)});}return _0x5ddfa2[_0x52dfeb(0x335)](_0x44591c=>_0x44591c[_0x52dfeb(0x349)])||(_0x5ddfa2[0x0][_0x52dfeb(0x349)]=!0x0),_0x5ddfa2;}var _0x50b94c=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(..._0x1e840f){const _0x117e48=_0x1a58e5;super(..._0x1e840f),_0x42526d(this,_0x117e48(0x29a),new _0xc05c0c['BehaviorSubject'](null)),_0x42526d(this,_0x117e48(0x1ee),this['_collabCursorState$'][_0x117e48(0x2c9)]());}[_0x1a58e5(0x14e)](_0x10b938){const _0xf5c949=_0x1a58e5;let {unitID:_0x2cc091,memberID:_0x329493,textRanges:_0x494f92}=_0x10b938,_0x2892e5=_0x14245(_0x494f92);if(_0x2892e5==='')return;let _0x52f88b={'unitID':_0x2cc091,'memberID':_0x329493,'selection':_0x2892e5};this[_0xf5c949(0x29a)][_0xf5c949(0x3b0)](_0x52f88b);}};let _0x254aea=class extends _0x2b0173['RxDisposable']{get['cursorInfo'](){const _0x31e79b=_0x1a58e5;return this['_cursorInfo$'][_0x31e79b(0x35c)]();}get[_0x1a58e5(0x2c8)](){const _0x38b445=_0x1a58e5;return this[_0x38b445(0x3f5)][_0x38b445(0x35c)]();}constructor(_0x1cae14,_0xb46557,_0x3f03e4,_0x31eb53,_0x24b1fd,_0x347b7b,_0x219cbe,_0x5b0088,_0x4a03ae){const _0x2b39d1=_0x1a58e5;super(),this[_0x2b39d1(0x3a0)]=_0x1cae14,this[_0x2b39d1(0x26b)]=_0xb46557,this[_0x2b39d1(0x412)]=_0x3f03e4,this[_0x2b39d1(0x1cd)]=_0x31eb53,this[_0x2b39d1(0x24b)]=_0x24b1fd,this[_0x2b39d1(0x21a)]=_0x347b7b,this[_0x2b39d1(0x3aa)]=_0x219cbe,this[_0x2b39d1(0x3e5)]=_0x5b0088,this[_0x2b39d1(0x2d5)]=_0x4a03ae,_0x42526d(this,_0x2b39d1(0x169),!0x1),_0x42526d(this,_0x2b39d1(0x1ec),!0x1),_0x42526d(this,'_cursorInfo$',new _0xc05c0c[(_0x2b39d1(0x334))](new Map())),_0x42526d(this,'cursorInfo$',this[_0x2b39d1(0x33e)][_0x2b39d1(0x2c9)]()),_0x42526d(this,'_roomMembers$',new _0xc05c0c[(_0x2b39d1(0x334))]([])),_0x42526d(this,_0x2b39d1(0x367),this['_roomMembers$'][_0x2b39d1(0x154)]((0x0,_0xc05c0c[_0x2b39d1(0x24d)])(0x12c))),_0x42526d(this,_0x2b39d1(0x294),(0x0,_0x2b0173['debounce'])(_0x1b4e60=>{const _0x11fc11=_0x2b39d1;let _0x897e48={'eventID':_0xd76d4d[_0x11fc11(0x3df)][_0x11fc11(0x2b4)],'data':{'unitID':this[_0x11fc11(0x3a0)],'memberID':this[_0x11fc11(0x26b)][_0x11fc11(0x192)](),'selection':_0x14245(_0x1b4e60)}};this[_0x11fc11(0x26b)]['send'](_0x897e48,this[_0x11fc11(0x3a0)]);},0x64));}['dispose'](){const _0x57789a=_0x1a58e5;super[_0x57789a(0x34f)](),this[_0x57789a(0x33e)][_0x57789a(0x3b0)](new Map()),this['_cursorInfo$'][_0x57789a(0x1c0)](),this['_roomMembers$']['next']([]),this[_0x57789a(0x3f5)][_0x57789a(0x1c0)]();}['init'](){const _0x348949=_0x1a58e5;this[_0x348949(0x1ec)]||(this[_0x348949(0x1ec)]=!0x0,this[_0x348949(0x26b)]['sessionStatus$']['pipe']((0x0,_0xc05c0c[_0x348949(0x1d1)])(this[_0x348949(0x195)]))[_0x348949(0x224)](_0x16b3c2=>{const _0x5328a9=_0x348949;_0x16b3c2===_0x35fa89['SessionStatus'][_0x5328a9(0x3d3)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x348949(0x26b)]['event$'][_0x348949(0x154)]((0x0,_0xc05c0c['takeUntil'])(this[_0x348949(0x195)]))[_0x348949(0x224)](_0x280c3e=>{const _0x3d0200=_0x348949;let _0x1676ac=_0x280c3e[_0x3d0200(0x231)];_0x1676ac===_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3d0200(0x2ae)](_0x280c3e),_0x1676ac===_0xd76d4d[_0x3d0200(0x3df)][_0x3d0200(0x386)]&&this[_0x3d0200(0x1a0)](_0x280c3e);}),this[_0x348949(0x119)](this[_0x348949(0x2d5)]['onCommandExecuted'](_0x3f8e69=>{const _0x2d3483=_0x348949;let _0x368af1=_0x3f8e69[_0x2d3483(0x3fb)];_0x368af1!=null&&this[_0x2d3483(0x169)]&&_0x3f8e69['id']===_0x3ad445[_0x2d3483(0x2e4)]['id']&&_0x368af1[_0x2d3483(0x268)]===this[_0x2d3483(0x3a0)]&&_0x368af1['isEditing']===!0x1&&_0x368af1[_0x2d3483(0x237)][_0x2d3483(0x371)]>0x0&&this[_0x2d3483(0x294)](_0x368af1[_0x2d3483(0x237)]);})),this['_syncEditingCollabCursorService'][_0x348949(0x1ee)]['pipe']((0x0,_0xc05c0c[_0x348949(0x1d1)])(this['dispose$']))[_0x348949(0x224)](_0x32bc00=>{const _0x4c6845=_0x348949;if((_0x32bc00==null?void 0x0:_0x32bc00[_0x4c6845(0x3a0)])!==this[_0x4c6845(0x3a0)])return;let _0x1619b9={'eventID':_0xd76d4d['CollaborationEvent'][_0x4c6845(0x2b4)],'data':_0x32bc00};this[_0x4c6845(0x2ae)](_0x1619b9);}),this[_0x348949(0x119)](this[_0x348949(0x2d5)][_0x348949(0x157)](_0x3da3c9=>{const _0x3e28ff=_0x348949;if(_0x3da3c9['params']==null)return;let _0x4316a7=_0x3da3c9[_0x3e28ff(0x3fb)];if(_0x3da3c9['id']!==_0x3ad445[_0x3e28ff(0x18d)]['id']||_0x4316a7[_0x3e28ff(0x268)]!==this['unitID'])return;let _0x5a5990={'id':_0x3e28ff(0x37b),'params':_0x4316a7},_0x51e411=this['cursorInfo'];for(let [_0x2964c6,_0x2adf1a]of _0x51e411){let _0x4e7699={'id':_0x3e28ff(0x37b),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2adf1a['ranges']}},_0x5bd1b6=this[_0x3e28ff(0x3aa)][_0x3e28ff(0x22d)](_0x5a5990,_0x4e7699,!0x1);if((0x0,_0xd76d4d[_0x3e28ff(0x3a1)])(_0x5bd1b6))throw _0x5bd1b6['error'];_0x51e411[_0x3e28ff(0x148)](_0x2964c6,{..._0x2adf1a,'ranges':_0x5bd1b6[_0x3e28ff(0x1a5)][_0x3e28ff(0x3fb)][_0x3e28ff(0x1ac)]});}queueMicrotask(()=>{const _0x589d6f=_0x3e28ff;this[_0x589d6f(0x33e)][_0x589d6f(0x3b0)](_0x51e411);});})));}['_onCursorUpdate'](_0x55b48b){const _0x292b42=_0x1a58e5;var _0x2286ff,_0x21c898;let {memberID:_0x40dafb,selection:_0x3bf23f}=_0x55b48b['data'],_0x1c7339=_0x3078aa(_0x3bf23f),_0x30c9c7=(_0x2286ff=(_0x21c898=this[_0x292b42(0x24b)]['getMember'](this[_0x292b42(0x3a0)],_0x40dafb))==null?void 0x0:_0x21c898[_0x292b42(0x3d5)])==null?_0x292b42(0x3d7):_0x2286ff,_0x4bcb5f={'color':this[_0x292b42(0x1cd)][_0x292b42(0x263)](_0x40dafb),'name':_0x30c9c7,'ranges':_0x1c7339},_0x44ccd1=this[_0x292b42(0x2af)];_0x44ccd1[_0x292b42(0x148)](_0x40dafb,_0x4bcb5f),this['_cursorInfo$'][_0x292b42(0x3b0)](_0x44ccd1);}['_onCursorDelete'](_0x12d6f2){const _0x5e59e9=_0x1a58e5;let {memberID:_0x157f52}=_0x12d6f2[_0x5e59e9(0x3d8)],_0x19fb9e=this['cursorInfo'];_0x19fb9e[_0x5e59e9(0x182)](_0x157f52),this['_cursorInfo$'][_0x5e59e9(0x3b0)](_0x19fb9e);}['_toggleOnline'](){const _0x59ac5f=_0x1a58e5;var _0x3c1f53;if(this[_0x59ac5f(0x169)]=!0x0,((_0x3c1f53=this[_0x59ac5f(0x3e5)][_0x59ac5f(0x215)]())==null?void 0x0:_0x3c1f53[_0x59ac5f(0x36d)]())!==this[_0x59ac5f(0x3a0)])return;let _0x1066a1=this['_injector'][_0x59ac5f(0x1db)](_0x3ad445['DocSelectionManagerService'])['getDocRanges']();Array[_0x59ac5f(0x3bc)](_0x1066a1)&&_0x1066a1[_0x59ac5f(0x371)]>0x0&&this[_0x59ac5f(0x294)](_0x1066a1);}[_0x1a58e5(0x206)](){const _0x2e13d7=_0x1a58e5;this[_0x2e13d7(0x169)]=!0x1;}};_0x254aea=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x5,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x50b94c)),_0x215337(0x6,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x7,_0x2b0173['IUniverInstanceService']),_0x215337(0x8,_0x2b0173['ICommandService'])],_0x254aea);let _0x3e2259=()=>{let _0x4d9aaf=[],_0x5d34e8=!0x1;return _0x191424=>{_0x4d9aaf['push'](_0x191424),_0x5d34e8||(_0x5d34e8=!0x0,setTimeout(()=>{const _0x47d948=_0x7aae;_0x4d9aaf[_0x47d948(0xff)](_0x3acd35=>_0x3acd35()),_0x4d9aaf=[],_0x5d34e8=!0x1;}));};},_0x43b780=class extends _0x2b0173[_0x1a58e5(0x323)]{get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x1a58e5(0x2c8)](){const _0xeb2a21=_0x1a58e5;return this[_0xeb2a21(0x3f5)][_0xeb2a21(0x35c)]();}constructor(_0x3db930,_0x30a134,_0x295919,_0x3e2a39,_0x3ab3f5,_0x28ea00,_0x204f29,_0x22b04d){const _0x5255e4=_0x1a58e5;super(),this[_0x5255e4(0x3a0)]=_0x3db930,this[_0x5255e4(0x26b)]=_0x30a134,this[_0x5255e4(0x412)]=_0x295919,this[_0x5255e4(0x1cd)]=_0x3e2a39,this['_memberService']=_0x3ab3f5,this[_0x5255e4(0x3e5)]=_0x28ea00,this[_0x5255e4(0x2d5)]=_0x204f29,this['_refRangeService']=_0x22b04d,_0x42526d(this,'_online',!0x1),_0x42526d(this,'_init',!0x1),_0x42526d(this,_0x5255e4(0x33e),new _0xc05c0c[(_0x5255e4(0x334))](new Map())),_0x42526d(this,_0x5255e4(0x3c9),this[_0x5255e4(0x33e)][_0x5255e4(0x2c9)]()),_0x42526d(this,'_roomMembers$',new _0xc05c0c['BehaviorSubject']([])),_0x42526d(this,'roomMembers$',this['_roomMembers$'][_0x5255e4(0x154)]((0x0,_0xc05c0c[_0x5255e4(0x24d)])(0x12c))),_0x42526d(this,_0x5255e4(0x294),(0x0,_0x2b0173[_0x5255e4(0x186)])((_0x21e243,_0x2f42bf)=>{const _0x262c1a=_0x5255e4;let _0x12ce93={'eventID':_0xd76d4d[_0x262c1a(0x3df)][_0x262c1a(0x2b4)],'data':{'unitID':this[_0x262c1a(0x3a0)],'memberID':this[_0x262c1a(0x26b)]['getMemberID'](),'selection':(0x0,_0x170b1c[_0x262c1a(0x340)])(_0x21e243,_0x2f42bf[_0x262c1a(0x2fc)])}};this[_0x262c1a(0x26b)][_0x262c1a(0x190)](_0x12ce93,this[_0x262c1a(0x3a0)]);},0x64));}[_0x1a58e5(0x34f)](){const _0x3ce9b3=_0x1a58e5;super['dispose'](),this[_0x3ce9b3(0x33e)]['next'](new Map()),this['_cursorInfo$'][_0x3ce9b3(0x1c0)](),this[_0x3ce9b3(0x3f5)][_0x3ce9b3(0x3b0)]([]),this[_0x3ce9b3(0x3f5)][_0x3ce9b3(0x1c0)]();}[_0x1a58e5(0x145)](){const _0x2ff710=_0x1a58e5;this[_0x2ff710(0x1ec)]||(this['_init']=!0x0,this[_0x2ff710(0x26b)][_0x2ff710(0x168)][_0x2ff710(0x154)]((0x0,_0xc05c0c[_0x2ff710(0x1d1)])(this[_0x2ff710(0x195)]))['subscribe'](_0x584167=>{const _0x265a7f=_0x2ff710;_0x584167===_0x35fa89['SessionStatus'][_0x265a7f(0x3d3)]?this[_0x265a7f(0x2db)]():this[_0x265a7f(0x206)]();}),this[_0x2ff710(0x26b)]['event$'][_0x2ff710(0x154)]((0x0,_0xc05c0c[_0x2ff710(0x1d1)])(this[_0x2ff710(0x195)]))[_0x2ff710(0x224)](_0x3a72fb=>{const _0x58f5e3=_0x2ff710;let _0xd3bc41=_0x3a72fb['eventID'];_0xd3bc41===_0xd76d4d[_0x58f5e3(0x3df)][_0x58f5e3(0x2b4)]&&this[_0x58f5e3(0x2ae)](_0x3a72fb),_0xd3bc41===_0xd76d4d[_0x58f5e3(0x3df)][_0x58f5e3(0x386)]&&this[_0x58f5e3(0x1a0)](_0x3a72fb);}),this['_onRefRangeChange'](),this[_0x2ff710(0x119)](this[_0x2ff710(0x2d5)][_0x2ff710(0x157)](_0xb06f29=>{const _0x589891=_0x2ff710;if(this[_0x589891(0x169)]&&_0xb06f29['id']===_0x384008[_0x589891(0x24a)]['id']&&_0xb06f29['params'][_0x589891(0x268)]===this[_0x589891(0x3a0)]){let _0x436b93=_0xb06f29[_0x589891(0x3fb)];this[_0x589891(0x294)](_0x436b93[_0x589891(0x149)],_0x436b93['selections'][0x0]);}})));}[_0x1a58e5(0x2ae)](_0x2801b9){const _0x1513b=_0x1a58e5;var _0x3f859f,_0x290748;let {memberID:_0x5978e5,selection:_0x56012f}=_0x2801b9[_0x1513b(0x3d8)],{sheetName:_0x8c5d01,range:_0x4451d0}=(0x0,_0x170b1c[_0x1513b(0x173)])(_0x56012f),_0xd99540={'name':(_0x3f859f=(_0x290748=this['_memberService']['getMember'](this[_0x1513b(0x3a0)],_0x5978e5))==null?void 0x0:_0x290748[_0x1513b(0x3d5)])==null?'Unknown\x20user':_0x3f859f,'range':this[_0x1513b(0x3a3)](_0x8c5d01,_0x4451d0),'sheetID':_0x8c5d01,'color':this[_0x1513b(0x1cd)][_0x1513b(0x263)](_0x5978e5),'selection':_0x56012f},_0x1cf4fb=this[_0x1513b(0x2af)];_0x1cf4fb[_0x1513b(0x148)](_0x5978e5,_0xd99540),this[_0x1513b(0x33e)][_0x1513b(0x3b0)](_0x1cf4fb);}[_0x1a58e5(0x1a0)](_0x7818bc){const _0x21c7f8=_0x1a58e5;let {memberID:_0x320e65}=_0x7818bc[_0x21c7f8(0x3d8)],_0x48dabf=this[_0x21c7f8(0x2af)];_0x48dabf[_0x21c7f8(0x182)](_0x320e65),this[_0x21c7f8(0x33e)]['next'](_0x48dabf);}[_0x1a58e5(0x3a3)](_0x4876c3,_0x3b613f){const _0x38b190=_0x1a58e5;var _0x3f4397;let _0x225f9c=(_0x3f4397=this[_0x38b190(0x3e5)][_0x38b190(0x28a)](this[_0x38b190(0x3a0)]))==null||(_0x3f4397=_0x3f4397[_0x38b190(0x20c)](_0x4876c3))==null?void 0x0:_0x3f4397[_0x38b190(0x3c7)]();return(_0x225f9c==null?void 0x0:_0x225f9c[_0x38b190(0x3e3)](_0x3932fb=>_0x2b0173[_0x38b190(0x121)][_0x38b190(0x3fe)](_0x3932fb,_0x3b613f)))||_0x3b613f;}[_0x1a58e5(0x40b)](){const _0x131c4e=_0x1a58e5;let _0x1c4992=new _0x2b0173[(_0x131c4e(0x392))](),_0x1d8fa7=_0x3e2259(),_0x4a62d4=()=>{const _0x2a06a4=_0x131c4e;_0x1c4992[_0x2a06a4(0x34f)]();let _0x139844=(_0x97c0f2,_0x35a595,_0x1f4afc,_0x2343e3)=>{const _0x10ea41=_0x2a06a4;let _0x208a64=[];switch(_0x97c0f2['id']){case _0x384008['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x208a64=(0x0,_0x384008[_0x10ea41(0x394)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x15e)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x396)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x167)]:_0x208a64=(0x0,_0x384008['handleInsertCol'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['InsertRangeMoveDownCommandId']:_0x208a64=(0x0,_0x384008['handleInsertRangeMoveDown'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['InsertRangeMoveRightCommandId']:_0x208a64=(0x0,_0x384008['handleInsertRangeMoveRight'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x19a)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x271)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x2f3)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x252)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['RemoveColCommandId']:_0x208a64=(0x0,_0x384008[_0x10ea41(0x34d)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['RemoveRowCommandId']:_0x208a64=(0x0,_0x384008['handleIRemoveRow'])(_0x97c0f2,_0x2343e3);break;}let _0x4bef05=(0x0,_0x384008[_0x10ea41(0x1af)])(_0x208a64,_0x2343e3),_0x38a0cd=this[_0x10ea41(0x2af)][_0x10ea41(0x1db)](_0x35a595);if(_0x38a0cd&&_0x4bef05){let _0x582b16={..._0x38a0cd,'range':_0x4bef05};this['cursorInfo'][_0x10ea41(0x148)](_0x35a595,_0x582b16),_0x1d8fa7(()=>{const _0x293589=_0x10ea41;let _0x2a2f64=this[_0x293589(0x117)][_0x293589(0x3ca)](_0x4bef05,_0x28f3f4=>(_0x2a2f64[_0x293589(0x34f)](),_0x139844(_0x28f3f4,_0x35a595,_0x1f4afc,_0x4bef05)));_0x1c4992[_0x293589(0x10e)](_0x2a2f64);});}return{'redos':[],'undos':[]};};this[_0x2a06a4(0x2af)]['forEach']((_0x16405d,_0x35e2d6)=>{const _0x597574=_0x2a06a4;let {range:_0x5e8e7c,sheetID:_0x2e0f04}=_0x16405d,_0x441b27=this[_0x597574(0x117)][_0x597574(0x3ca)](_0x5e8e7c,_0x5294c3=>(_0x441b27[_0x597574(0x34f)](),_0x139844(_0x5294c3,_0x35e2d6,_0x2e0f04,_0x5e8e7c)));_0x1c4992['add'](_0x441b27);});};this['disposeWithMe']((0x0,_0x2b0173[_0x131c4e(0x399)])(this[_0x131c4e(0x33e)][_0x131c4e(0x224)](()=>{_0x4a62d4();})));}[_0x1a58e5(0x2db)](){const _0x1434ef=_0x1a58e5;var _0x20bde3,_0x1d34b7;if(this[_0x1434ef(0x169)]=!0x0,((_0x20bde3=this[_0x1434ef(0x3e5)][_0x1434ef(0x215)]())==null?void 0x0:_0x20bde3['getUnitId']())!==this['unitID'])return;let _0x4668d8=(_0x1d34b7=this[_0x1434ef(0x412)][_0x1434ef(0x1db)](_0x384008['SheetsSelectionsService'])[_0x1434ef(0x2a8)]())==null?void 0x0:_0x1d34b7[0x0],_0x2181e6=this[_0x1434ef(0x3e5)][_0x1434ef(0x163)](_0x2b0173[_0x1434ef(0x102)][_0x1434ef(0x104)])[_0x1434ef(0x20d)]();_0x4668d8&&_0x2181e6&&this[_0x1434ef(0x294)](_0x2181e6['getSheetId'](),_0x4668d8);}['_toggleOffline'](){const _0x483df9=_0x1a58e5;this[_0x483df9(0x169)]=!0x1;}};_0x43b780=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x5,_0x2b0173['IUniverInstanceService']),_0x215337(0x6,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x7,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x384008['RefRangeService']))],_0x43b780);function _0x3cc1b7(_0x22624b){const _0x235280=_0x1a58e5;let _0x30d194;try{_0x30d194=JSON[_0x235280(0x26f)](_0x22624b);}catch{return null;}if(typeof _0x30d194!=_0x235280(0x361)||!_0x30d194)return null;let _0x278706=_0x30d194;if(_0x278706[_0x235280(0x2d7)]!==_0x235280(0x365)||typeof _0x278706['unitId']!='string'||typeof _0x278706[_0x235280(0x149)]!=_0x235280(0x31b))return null;let _0x4692fa=Array[_0x235280(0x3bc)](_0x278706[_0x235280(0x3c8)])?_0x278706[_0x235280(0x3c8)]['filter'](_0x38171f=>typeof _0x38171f==_0x235280(0x31b)):[],_0x427b3b=typeof _0x278706[_0x235280(0x36c)]==_0x235280(0x31b)?_0x278706['focusedId']:null;return{'kind':_0x235280(0x365),'unitId':_0x278706['unitId'],'subUnitId':_0x278706[_0x235280(0x149)],'selectedIds':_0x4692fa,'focusedId':_0x427b3b};}let _0x31b8fb=class extends _0x2b0173[_0x1a58e5(0x323)]{get['cursorInfo'](){const _0x13f39b=_0x1a58e5;return this[_0x13f39b(0x33e)][_0x13f39b(0x35c)]();}get['roomMembers'](){const _0x12b0d5=_0x1a58e5;return this[_0x12b0d5(0x3f5)]['getValue']();}constructor(_0x5108b7,_0x45d257,_0x17237d,_0x4cca78,_0x153b6e){const _0x518a32=_0x1a58e5;super(),this['unitID']=_0x5108b7,this['_session']=_0x45d257,this[_0x518a32(0x1cd)]=_0x17237d,this[_0x518a32(0x24b)]=_0x4cca78,this['_slideDrawingStateService']=_0x153b6e,_0x42526d(this,'_online',!0x1),_0x42526d(this,'_init',!0x1),_0x42526d(this,_0x518a32(0x33e),new _0xc05c0c[(_0x518a32(0x334))](new Map())),_0x42526d(this,_0x518a32(0x3c9),this[_0x518a32(0x33e)][_0x518a32(0x2c9)]()),_0x42526d(this,_0x518a32(0x3f5),new _0xc05c0c[(_0x518a32(0x334))]([])),_0x42526d(this,_0x518a32(0x367),this[_0x518a32(0x3f5)][_0x518a32(0x154)]((0x0,_0xc05c0c[_0x518a32(0x24d)])(0x12c))),_0x42526d(this,'_updateLocalCursor',(0x0,_0x2b0173['debounce'])(_0x421194=>{const _0x55ee88=_0x518a32;let _0x4a83e4=_0x421194[_0x55ee88(0x250)];if(!_0x4a83e4||_0x4a83e4[_0x55ee88(0x268)]!==this[_0x55ee88(0x3a0)])return;let _0x59dfbc={'kind':_0x55ee88(0x365),'unitId':_0x4a83e4[_0x55ee88(0x268)],'subUnitId':_0x4a83e4[_0x55ee88(0x149)],'selectedIds':_0x421194['selectedIds'][_0x55ee88(0x409)](_0x1d3c9a=>typeof _0x1d3c9a==_0x55ee88(0x31b)),'focusedId':_0x421194[_0x55ee88(0x36c)]},_0x3a728a={'eventID':_0xd76d4d[_0x55ee88(0x3df)][_0x55ee88(0x2b4)],'data':{'unitID':this[_0x55ee88(0x3a0)],'memberID':this[_0x55ee88(0x26b)][_0x55ee88(0x192)](),'selection':JSON['stringify'](_0x59dfbc)}};this['_session']['send'](_0x3a728a,this[_0x55ee88(0x3a0)]);},0x64));}['dispose'](){const _0x106310=_0x1a58e5;super[_0x106310(0x34f)](),this['_cursorInfo$'][_0x106310(0x3b0)](new Map()),this[_0x106310(0x33e)][_0x106310(0x1c0)](),this[_0x106310(0x3f5)][_0x106310(0x3b0)]([]),this[_0x106310(0x3f5)][_0x106310(0x1c0)]();}[_0x1a58e5(0x145)](){const _0x4c98ad=_0x1a58e5;this[_0x4c98ad(0x1ec)]||(this['_init']=!0x0,this[_0x4c98ad(0x26b)][_0x4c98ad(0x168)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))[_0x4c98ad(0x224)](_0x48c778=>{const _0x45464b=_0x4c98ad;_0x48c778===_0x35fa89['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x45464b(0x206)]();}),this[_0x4c98ad(0x26b)][_0x4c98ad(0x3f2)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))[_0x4c98ad(0x224)](_0x556232=>{const _0x3a826d=_0x4c98ad;let _0x4db99f=_0x556232[_0x3a826d(0x231)];_0x4db99f===_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3a826d(0x2ae)](_0x556232),_0x4db99f===_0xd76d4d[_0x3a826d(0x3df)][_0x3a826d(0x386)]&&this[_0x3a826d(0x1a0)](_0x556232);}),this['_slideDrawingStateService'][_0x4c98ad(0x2f4)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))['subscribe'](_0x371253=>{const _0x3f1bc0=_0x4c98ad;this[_0x3f1bc0(0x169)]&&this[_0x3f1bc0(0x294)](_0x371253);}));}[_0x1a58e5(0x2ae)](_0x4314d2){const _0x5f355e=_0x1a58e5;var _0x28ae70,_0x16578b,_0x527354,_0x3d2a27;let {memberID:_0x3a0111,selection:_0x451f85}=_0x4314d2[_0x5f355e(0x3d8)];if(_0x3a0111===((_0x28ae70=(_0x16578b=this['_session'])[_0x5f355e(0x192)])==null?void 0x0:_0x28ae70['call'](_0x16578b)))return;let _0x8470ee=_0x3cc1b7(_0x451f85);if(!_0x8470ee||_0x8470ee[_0x5f355e(0x268)]!==this['unitID'])return;let _0x512c58=(_0x527354=(_0x3d2a27=this[_0x5f355e(0x24b)][_0x5f355e(0x3a8)](this[_0x5f355e(0x3a0)],_0x3a0111))==null?void 0x0:_0x3d2a27[_0x5f355e(0x3d5)])==null?_0x5f355e(0x3d7):_0x527354,_0x1e033d={'color':this[_0x5f355e(0x1cd)][_0x5f355e(0x263)](_0x3a0111),'name':_0x512c58,'unitId':_0x8470ee[_0x5f355e(0x268)],'subUnitId':_0x8470ee[_0x5f355e(0x149)],'selectedIds':_0x8470ee[_0x5f355e(0x3c8)],'focusedId':_0x8470ee[_0x5f355e(0x36c)],'selection':_0x451f85},_0x3d3b62=new Map(this[_0x5f355e(0x2af)]);_0x3d3b62['set'](_0x3a0111,_0x1e033d),this[_0x5f355e(0x33e)]['next'](_0x3d3b62);}['_onCursorDelete'](_0x5731e2){const _0x236817=_0x1a58e5;let {memberID:_0x2ac2d9}=_0x5731e2['data'],_0x4a6f7a=new Map(this[_0x236817(0x2af)]);_0x4a6f7a[_0x236817(0x182)](_0x2ac2d9),this[_0x236817(0x33e)]['next'](_0x4a6f7a);}[_0x1a58e5(0x2db)](){const _0x25a71b=_0x1a58e5;this[_0x25a71b(0x169)]=!0x0,this[_0x25a71b(0x294)](this['_slideDrawingStateService'][_0x25a71b(0x278)]());}[_0x1a58e5(0x206)](){const _0x161270=_0x1a58e5;this[_0x161270(0x169)]=!0x1;}};_0x31b8fb=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x304b4c[_0x1a58e5(0x180)]))],_0x31b8fb);let _0x5077b=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x26e90c,_0x5ea519,_0x232de2){const _0x2bc052=_0x1a58e5;super(),this[_0x2bc052(0x3e5)]=_0x26e90c,this[_0x2bc052(0x412)]=_0x5ea519,this[_0x2bc052(0x330)]=_0x232de2,_0x42526d(this,_0x2bc052(0x29b),new Map()),_0x42526d(this,_0x2bc052(0x246),new _0xc05c0c[(_0x2bc052(0x3e4))]()),this[_0x2bc052(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x23fdb6=_0x1a58e5;super['dispose'](),this[_0x23fdb6(0x246)][_0x23fdb6(0x1c0)](),this['_entities'][_0x23fdb6(0xff)](_0x38b173=>_0x38b173[_0x23fdb6(0x34f)]());}[_0x1a58e5(0x3ab)](_0x1b755e){const _0xe7b204=_0x1a58e5;return this[_0xe7b204(0x29b)]['has'](_0x1b755e)?this[_0xe7b204(0x29b)][_0xe7b204(0x1db)](_0x1b755e)[_0xe7b204(0x3c9)]:this[_0xe7b204(0x246)]['pipe']((0x0,_0xc05c0c[_0xe7b204(0x409)])(_0x596c18=>_0x596c18[_0xe7b204(0x3a0)]===_0x1b755e),(0x0,_0xc05c0c[_0xe7b204(0x310)])(_0x55a257=>_0x55a257[_0xe7b204(0x3c9)]));}['_init'](){const _0x178b4b=_0x1a58e5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2b0173['UniverInstanceType'][_0x178b4b(0x104)])[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this['dispose$']))[_0x178b4b(0x224)](async _0x241f6e=>{const _0x560137=_0x178b4b;let _0x5a1b42=_0x241f6e['unit']['getUnitId'](),_0x40ca4b=await this[_0x560137(0x2b8)](_0x5a1b42);this[_0x560137(0x246)][_0x560137(0x3b0)](_0x40ca4b),this[_0x560137(0x29b)][_0x560137(0x148)](_0x5a1b42,_0x40ca4b);}),this[_0x178b4b(0x3e5)][_0x178b4b(0x156)](_0x2b0173[_0x178b4b(0x102)]['UNIVER_DOC'])[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this[_0x178b4b(0x195)]))[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x409)])(_0xdc2a2e=>!_0xdc2a2e[_0x178b4b(0x29f)][_0x178b4b(0x36d)]()[_0x178b4b(0x1ea)]('__')))['subscribe'](async _0xa8bdbb=>{const _0x111489=_0x178b4b;let {unit:_0x68b94a}=_0xa8bdbb,_0x707b40=_0x68b94a[_0x111489(0x36d)](),_0x22ddbf=await this[_0x111489(0x39e)](_0x707b40);this['_entityInit$'][_0x111489(0x3b0)](_0x22ddbf),this[_0x111489(0x29b)]['set'](_0x707b40,_0x22ddbf);}),this[_0x178b4b(0x3e5)][_0x178b4b(0x156)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x175)])['pipe']((0x0,_0xc05c0c['takeUntil'])(this[_0x178b4b(0x195)]))['subscribe'](async _0x39229a=>{const _0x1eac9d=_0x178b4b;let _0x32cbbd=_0x39229a[_0x1eac9d(0x29f)][_0x1eac9d(0x36d)](),_0x3cf1a0=await this[_0x1eac9d(0x416)](_0x32cbbd);this[_0x1eac9d(0x246)][_0x1eac9d(0x3b0)](_0x3cf1a0),this['_entities']['set'](_0x32cbbd,_0x3cf1a0);}),this['_univerInstanceService'][_0x178b4b(0x156)](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x217)])['pipe']((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this[_0x178b4b(0x195)]))[_0x178b4b(0x224)](async _0x34c9ba=>{const _0x9ccd6d=_0x178b4b;let _0x50c514=_0x34c9ba['unit'][_0x9ccd6d(0x36d)](),_0x4c315f=await this[_0x9ccd6d(0x1be)](_0x50c514);this[_0x9ccd6d(0x246)][_0x9ccd6d(0x3b0)](_0x4c315f),this[_0x9ccd6d(0x29b)][_0x9ccd6d(0x148)](_0x50c514,_0x4c315f);}),(0x0,_0xc05c0c['merge'])(this[_0x178b4b(0x3e5)][_0x178b4b(0x298)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x313)]),this['_univerInstanceService'][_0x178b4b(0x298)](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x104)]),this[_0x178b4b(0x3e5)]['getTypeOfUnitDisposed$'](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x175)]),this[_0x178b4b(0x3e5)][_0x178b4b(0x298)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x217)]))[_0x178b4b(0x154)]((0x0,_0xc05c0c['takeUntil'])(this[_0x178b4b(0x195)]))[_0x178b4b(0x224)](_0x4ccc65=>{const _0x59d9bc=_0x178b4b;let _0x3255f1=_0x4ccc65[_0x59d9bc(0x36d)](),_0x354022=this[_0x59d9bc(0x29b)][_0x59d9bc(0x1db)](_0x3255f1);_0x354022&&(_0x354022['dispose'](),this[_0x59d9bc(0x29b)][_0x59d9bc(0x182)](_0x3255f1));});}async['_startSheetCollabCursor'](_0x375e7f){const _0x3fce2f=_0x1a58e5;let _0x56c609=await this[_0x3fce2f(0x330)][_0x3fce2f(0x267)](_0x375e7f),_0x57a89f=this[_0x3fce2f(0x412)]['createInstance'](_0x43b780,_0x375e7f,_0x56c609);return _0x57a89f['init'](),_0x57a89f;}async['_startDocCollabCursor'](_0xcf10d2){const _0x30a54d=_0x1a58e5;let _0x4b7bf6=await this[_0x30a54d(0x330)][_0x30a54d(0x267)](_0xcf10d2),_0x21e11f=this['_injector']['createInstance'](_0x254aea,_0xcf10d2,_0x4b7bf6);return _0x21e11f[_0x30a54d(0x145)](),_0x21e11f;}async[_0x1a58e5(0x416)](_0xdb5443){const _0x2a4486=_0x1a58e5;let _0x387b25=await this[_0x2a4486(0x330)][_0x2a4486(0x267)](_0xdb5443),_0x199de1=this[_0x2a4486(0x412)][_0x2a4486(0x3ef)](_0x31b8fb,_0xdb5443,_0x387b25);return _0x199de1[_0x2a4486(0x145)](),_0x199de1;}async[_0x1a58e5(0x1be)](_0x2605e1){const _0x30ec13=_0x1a58e5;let _0x8ff312=await this[_0x30ec13(0x330)][_0x30ec13(0x267)](_0x2605e1),_0x589dd2=this[_0x30ec13(0x412)][_0x30ec13(0x3ef)](_0x12a7db,_0x2605e1,_0x8ff312);return _0x589dd2[_0x30ec13(0x145)](),_0x589dd2;}};_0x5077b=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x122)]))],_0x5077b);let _0x57e97e=class extends _0x2b0173['RxDisposable']{constructor(_0x4da14c,_0xd603f1,_0x7bd45c){const _0x791b3f=_0x1a58e5;super(),this[_0x791b3f(0x356)]=_0x4da14c,this[_0x791b3f(0x23e)]=_0xd603f1,this[_0x791b3f(0x103)]=_0x7bd45c,_0x42526d(this,_0x791b3f(0x226),new Set()),_0x42526d(this,_0x791b3f(0x10b),!0x1),_0x42526d(this,_0x791b3f(0x16f),!0x1),_0x42526d(this,'_latestCursors',new Map()),this[_0x791b3f(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x33a7ed=_0x1a58e5;this[_0x33a7ed(0x35e)](),super['dispose']();}['_init'](){const _0x31c4a5=_0x1a58e5;let _0x1f1c22=this[_0x31c4a5(0x23e)][_0x31c4a5(0x3ab)](this[_0x31c4a5(0x356)][_0x31c4a5(0x268)]);this[_0x31c4a5(0x119)]((0x0,_0x2b0173[_0x31c4a5(0x399)])((0x0,_0xc05c0c[_0x31c4a5(0x1ce)])([_0x1f1c22,this[_0x31c4a5(0x356)]['unit'][_0x31c4a5(0x333)],this[_0x31c4a5(0x103)][_0x31c4a5(0x2d6)]])[_0x31c4a5(0x154)]((0x0,_0xc05c0c[_0x31c4a5(0x1d1)])(this[_0x31c4a5(0x195)]))['subscribe'](([_0x578119])=>{const _0x2030ad=_0x31c4a5;let _0x5da1bd=this['_context'][_0x2030ad(0x29f)][_0x2030ad(0x1c5)](),_0xcbefa3=new Map();_0x578119[_0x2030ad(0xff)]((_0x39c134,_0x535743)=>{const _0x73c67d=_0x2030ad;_0x39c134[_0x73c67d(0x149)]===_0x5da1bd&&_0xcbefa3[_0x73c67d(0x148)](_0x535743,{..._0x39c134,'color':this[_0x73c67d(0x103)]['getColorFromTheme'](_0x39c134[_0x73c67d(0x1e2)])});}),this[_0x2030ad(0x1f5)]=_0xcbefa3,this[_0x2030ad(0x3b4)]();})));let _0x3e04b4=this[_0x31c4a5(0x356)]['scene'];this['disposeWithMe']((0x0,_0x2b0173[_0x31c4a5(0x399)])(_0x3e04b4[_0x31c4a5(0x293)]['pipe']((0x0,_0xc05c0c[_0x31c4a5(0x1d1)])(this[_0x31c4a5(0x195)]))['subscribe'](()=>{const _0x4d3813=_0x31c4a5;this[_0x4d3813(0x16f)]||this[_0x4d3813(0x3b4)]();})));}[_0x1a58e5(0x3b4)](){const _0x3ac3bf=_0x1a58e5;this[_0x3ac3bf(0x10b)]||(this['_renderScheduled']=!0x0,Promise['resolve']()['then'](()=>{const _0x5436ae=_0x3ac3bf;this[_0x5436ae(0x10b)]=!0x1,this[_0x5436ae(0x3c5)]();}));}[_0x1a58e5(0x3c5)](){const _0x22001a=_0x1a58e5;this['_removeCollabCursors']();let _0x179df2=this[_0x22001a(0x356)]['unit']['getActivePageId'](),_0x4a740e=[];if(this[_0x22001a(0x1f5)][_0x22001a(0xff)]((_0x5397c1,_0x3ab8fe)=>{const _0x1c12ce=_0x22001a;_0x5397c1[_0x1c12ce(0x149)]===_0x179df2&&_0x5397c1['selectedIds']['forEach'](_0x340fee=>{const _0x44e8ed=_0x1c12ce;let _0x43ea1c=(0x0,_0x512abf[_0x44e8ed(0x2e2)])(_0x5397c1[_0x44e8ed(0x268)],_0x340fee),_0xe7fabc=this[_0x44e8ed(0x36a)](_0x43ea1c);if(!_0xe7fabc)return;let _0x5959d8=this[_0x44e8ed(0x152)](_0xe7fabc);_0x4a740e[_0x44e8ed(0x285)](new _0x28af6f(_0x44e8ed(0x23f)+_0x3ab8fe+'-'+_0x340fee,{..._0x5397c1,'left':_0x5959d8['left'],'top':_0x5959d8[_0x44e8ed(0x132)],'width':_0x5959d8[_0x44e8ed(0x381)],'height':_0x5959d8['height'],'angle':_0xe7fabc['angle'],'evented':!0x1,'zIndex':_0x19234f}));});}),_0x4a740e['length']===0x0){this[_0x22001a(0x356)][_0x22001a(0x258)][_0x22001a(0x14d)](!0x0);return;}this[_0x22001a(0x16f)]=!0x0,this['_context'][_0x22001a(0x258)][_0x22001a(0x2e1)](_0x4a740e,_0x19234f),this[_0x22001a(0x16f)]=!0x1,this[_0x22001a(0x226)]=new Set(_0x4a740e),this[_0x22001a(0x356)][_0x22001a(0x258)][_0x22001a(0x14d)](!0x0);}[_0x1a58e5(0x35e)](){const _0x4212d7=_0x1a58e5;let _0x3c6818=Array[_0x4212d7(0x2bb)](this[_0x4212d7(0x226)]);if(_0x3c6818[_0x4212d7(0x371)]===0x0)return;let _0x105917=this[_0x4212d7(0x356)][_0x4212d7(0x258)];'removeObjects'in _0x105917&&typeof _0x105917[_0x4212d7(0x3ba)]==_0x4212d7(0x3a2)?_0x105917[_0x4212d7(0x3ba)](_0x3c6818):_0x3c6818['forEach'](_0x53503b=>{const _0x28bffc=_0x4212d7;_0x28bffc(0x15f)in _0x105917&&typeof _0x105917[_0x28bffc(0x15f)]==_0x28bffc(0x3a2)?_0x105917['removeObject'](_0x53503b):_0x53503b[_0x28bffc(0x34f)]();}),this[_0x4212d7(0x226)]['clear'](),_0x105917[_0x4212d7(0x14d)](!0x0);}['_getSceneObjectByKey'](_0x1ff434){const _0x40c049=_0x1a58e5;var _0x45c3b0,_0xe2a432,_0x5e0595;let _0x1147db=this[_0x40c049(0x356)][_0x40c049(0x258)];return(_0x45c3b0=(_0xe2a432=(_0x5e0595=_0x1147db[_0x40c049(0x3ea)])==null?void 0x0:_0x5e0595[_0x40c049(0x213)](_0x1147db,_0x1ff434))==null?_0x1147db[_0x40c049(0x1b4)](_0x1ff434):_0xe2a432)==null?null:_0x45c3b0;}['_getObjectBounds'](_0x7bf56f){const _0x3ef410=_0x1a58e5;var _0x212f7a,_0xf7adce;let _0x72a448=_0x7bf56f;return(_0x212f7a=(_0xf7adce=_0x72a448['getRealBound'])==null?void 0x0:_0xf7adce['call'](_0x72a448))==null?{'left':_0x7bf56f[_0x3ef410(0x1e7)],'top':_0x7bf56f[_0x3ef410(0x132)],'width':_0x7bf56f[_0x3ef410(0x381)],'height':_0x7bf56f[_0x3ef410(0x2f9)]}:_0x212f7a;}};_0x57e97e=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x5077b)),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173['ThemeService']))],_0x57e97e);let _0x5bc9fb=_0x1a58e5(0x322);var _0x23a650=class{constructor(_0x248536,_0x2c6f5a,_0x2f84cc,_0x2d499d){const _0x5e43f7=_0x1a58e5;this['_cursor']=_0x248536,this['_scene']=_0x2c6f5a,this['_docSkeleton']=_0x2f84cc,this[_0x5e43f7(0x10a)]=_0x2d499d,_0x42526d(this,_0x5e43f7(0x2a9),[]),_0x42526d(this,_0x5e43f7(0x143),null),_0x42526d(this,_0x5e43f7(0x133),null),_0x42526d(this,_0x5e43f7(0x407),null),_0x42526d(this,_0x5e43f7(0x13b),null),_0x42526d(this,_0x5e43f7(0x2a4),null),this[_0x5e43f7(0x3c5)]();}set[_0x1a58e5(0x11d)](_0x42ae18){const _0x38ccae=_0x1a58e5;_0x42ae18?(this[_0x38ccae(0x407)]&&this['_anchorDot'][_0x38ccae(0x1dd)](),this[_0x38ccae(0x133)]&&this[_0x38ccae(0x133)][_0x38ccae(0x265)]()):(this[_0x38ccae(0x407)]&&this['_anchorDot'][_0x38ccae(0x265)](),this['_textBubble']&&this['_textBubble'][_0x38ccae(0x1dd)]());}[_0x1a58e5(0x34f)](){const _0x1a0d1f=_0x1a58e5;for(let _0x4f7642 of this[_0x1a0d1f(0x2a9)])_0x4f7642[_0x1a0d1f(0x34f)]();this[_0x1a0d1f(0x133)]&&this[_0x1a0d1f(0x133)][_0x1a0d1f(0x34f)](),this[_0x1a0d1f(0x407)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x1a0d1f(0x143)][_0x1a0d1f(0x34f)](),this[_0x1a0d1f(0x2a4)]&&this[_0x1a0d1f(0x2a4)]();}[_0x1a58e5(0x3c5)](){const _0x46fe1a=_0x1a58e5;let {_docSkeleton:_0xc53a47,_document:_0x524338}=this,{color:_0x47fc08,name:_0x33a058,ranges:_0x3ae69b}=this[_0x46fe1a(0x40e)],_0x45df8c=_0x524338[_0x46fe1a(0x39d)](),{docsLeft:_0x284811,docsTop:_0x3ceeaa}=_0x45df8c,_0x371983=new _0x56f9a3[(_0x46fe1a(0x14b))](_0x45df8c,_0xc53a47);for(let {startOffset:_0x1e7c85,endOffset:_0x1682fc,rangeType:_0x3c0061,segmentId:_0x42f315,segmentPage:_0x20127b,collapsed:_0x5792a9,isActive:_0x1ad347}of _0x3ae69b){let _0x3189ff=_0xc53a47[_0x46fe1a(0x3ae)](_0x1e7c85,!0x0,_0x42f315,_0x20127b),_0x3c22e4=_0xc53a47[_0x46fe1a(0x3ae)](_0x1682fc,!0x0,_0x42f315,_0x20127b);if(_0x3c22e4==null&&(_0x3c22e4=_0xc53a47[_0x46fe1a(0x3ae)](_0x1682fc-0x1,!0x1,_0x42f315,_0x20127b)),_0x1ad347){let {contentBoxPointGroup:_0x24f432}=_0x371983[_0x46fe1a(0x3cc)](_0x3c22e4,_0x3c22e4);if(_0x24f432[_0x46fe1a(0x371)]===0x0)continue;this['_drawAnchor'](_0x47fc08,_0x24f432,_0x284811,_0x3ceeaa,_0x33a058),this[_0x46fe1a(0x2a4)]=this[_0x46fe1a(0x12e)]();}if(_0x3189ff&&_0x3c22e4){if(_0x3c0061===_0x2b0173[_0x46fe1a(0x13e)]['RECT']){var _0x53bc3e;let {pointGroup:_0x4b7dc6}=(_0x53bc3e=new _0x56f9a3['NodePositionConvertToRectRange'](_0x45df8c,_0xc53a47)[_0x46fe1a(0x3cc)](_0x3189ff,_0x3c22e4))==null?{}:_0x53bc3e;if(_0x4b7dc6==null||_0x4b7dc6[_0x46fe1a(0x371)]===0x0)continue;this[_0x46fe1a(0x28e)](_0x47fc08,_0x4b7dc6,_0x284811,_0x3ceeaa);}else{if(!_0x5792a9){let {borderBoxPointGroup:_0x1e1411}=_0x371983[_0x46fe1a(0x3cc)](_0x3189ff,_0x3c22e4);if(_0x1e1411['length']===0x0)continue;this[_0x46fe1a(0x306)](_0x47fc08,_0x1e1411,_0x284811,_0x3ceeaa);}}}}}[_0x1a58e5(0x3b1)](_0x36cbfd,_0xf2509f,_0x312f39,_0x19d35e,_0x4a072d){const _0xc03012=_0x1a58e5;let {left:_0x353c14,top:_0x57a24b,height:_0x1a992f}=this['_getAnchorBounding'](_0xf2509f),_0x19253b=1.5/this[_0xc03012(0x260)](),_0x299bfe=new _0x15ed3a['Rect'](_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e,'height':_0x1a992f,'width':1.5,'fill':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)][_0xc03012(0x1e6)],0x0),'strokeWidth':_0x19253b,'stroke':_0xc03012(0x112),'evented':!0x0});this[_0xc03012(0x143)]=_0x299bfe,this[_0xc03012(0x13f)]['addObject'](_0x299bfe,_0x56f9a3[_0xc03012(0x1d6)]);let _0x4288e1=new _0x15ed3a[(_0xc03012(0x141))](_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)]['black'],0x0),'evented':!0x1});this[_0xc03012(0x407)]=_0x4288e1,this['_scene']['addObject'](_0x4288e1,_0x56f9a3['TEXT_RANGE_LAYER_INDEX']);let _0x39c507=new _0x548107(_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e-0x14,'text':_0x4a072d,'color':_0x36cbfd});this['_textBubble']=_0x39c507,this[_0xc03012(0x13f)][_0xc03012(0x21e)](_0x39c507,_0x56f9a3['TEXT_RANGE_LAYER_INDEX']),this[_0xc03012(0x11d)]=!0x1;}['_handleHover'](){const _0x47ed86=_0x1a58e5;let _0x97ff6b=this[_0x47ed86(0x143)]['onPointerEnter$'][_0x47ed86(0x351)](()=>{const _0x210a67=_0x47ed86;this[_0x210a67(0x11d)]=!0x0;}),_0x3c46e3=this['_anchor'][_0x47ed86(0x1e8)][_0x47ed86(0x351)](()=>{const _0xf86586=_0x47ed86;this[_0xf86586(0x13b)]&&clearTimeout(this[_0xf86586(0x13b)]),this[_0xf86586(0x13b)]=setTimeout(()=>{const _0x5d970a=_0xf86586;this[_0x5d970a(0x11d)]=!0x1;},0x7d0);});return()=>{const _0x4b57d4=_0x47ed86;_0x97ff6b[_0x4b57d4(0x27a)](),_0x3c46e3[_0x4b57d4(0x27a)]();};}[_0x1a58e5(0x306)](_0x45598b,_0x3ee306,_0x199ff2,_0x2f9d66){const _0x28ebbb=_0x1a58e5;let _0x1bb545=0.2,_0x4b4c6f=new _0x2b0173['ColorKit'](_0x45598b)[_0x28ebbb(0x184)](_0x1bb545)['toRgbString'](),_0x506151=new _0x15ed3a[(_0x28ebbb(0x35d))](_0x28ebbb(0x34b)+(0x0,_0x2b0173[_0x28ebbb(0x1b9)])(0x6),{'pointsGroup':_0x3ee306,'fill':_0x4b4c6f||(0x0,_0x15ed3a[_0x28ebbb(0x1d7)])(_0x2b0173['COLORS'][_0x28ebbb(0x1e6)],_0x1bb545),'left':_0x199ff2,'top':_0x2f9d66,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28ebbb(0x285)](_0x506151),this[_0x28ebbb(0x13f)][_0x28ebbb(0x21e)](_0x506151,_0x56f9a3[_0x28ebbb(0x1d6)]);}[_0x1a58e5(0x28e)](_0x60347,_0x44b8f2,_0x17e3b8,_0x4269a6){const _0x1cbc13=_0x1a58e5;let _0x11e43b=0.2,_0x23c155=new _0x2b0173[(_0x1cbc13(0x3f7))](_0x60347)['setAlpha'](_0x11e43b)[_0x1cbc13(0x3cf)](),_0x422a1d=new _0x15ed3a[(_0x1cbc13(0x35d))](_0x1cbc13(0x1a3)+(0x0,_0x2b0173[_0x1cbc13(0x1b9)])(0x6),{'pointsGroup':_0x44b8f2,'fill':_0x23c155||(0x0,_0x15ed3a[_0x1cbc13(0x1d7)])(_0x2b0173[_0x1cbc13(0x2d4)]['black'],_0x11e43b),'left':_0x17e3b8,'top':_0x4269a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1cbc13(0x285)](_0x422a1d),this[_0x1cbc13(0x13f)][_0x1cbc13(0x21e)](_0x422a1d,_0x56f9a3[_0x1cbc13(0x1d6)]);}[_0x1a58e5(0x235)](_0x562a5a){let _0x32e92b=_0x562a5a[0x0],_0x747c12=_0x32e92b[0x0],_0x3e4f13=_0x32e92b[0x2],{x:_0x3697a0,y:_0x37e77d}=_0x747c12,{x:_0x44050a,y:_0x2379cd}=_0x3e4f13;return{'left':_0x3697a0,'top':_0x37e77d,'width':_0x44050a-_0x3697a0,'height':_0x2379cd-_0x37e77d};}[_0x1a58e5(0x260)](){const _0x1e3d64=_0x1a58e5;let {scaleX:_0x1b19ef,scaleY:_0x4af04f}=this[_0x1e3d64(0x13f)]['getAncestorScale']();return Math[_0x1e3d64(0x3a7)](_0x1b19ef,_0x4af04f);}};let _0x2ec85a=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x1fd444,_0x2b0761,_0x424ec6,_0x7e7d04,_0x356f4d){const _0x2d915c=_0x1a58e5;super(),this[_0x2d915c(0x356)]=_0x1fd444,this[_0x2d915c(0x40d)]=_0x2b0761,this[_0x2d915c(0x23e)]=_0x424ec6,this[_0x2d915c(0x2d5)]=_0x7e7d04,this['_themeService']=_0x356f4d,_0x42526d(this,_0x2d915c(0x380),[]),_0x42526d(this,_0x2d915c(0x226),[]),this['_init']();}['_init'](){const _0x468028=_0x1a58e5;let _0x122182=this[_0x468028(0x356)][_0x468028(0x268)],_0xeae8da=this[_0x468028(0x40d)];this['disposeWithMe']((0x0,_0xc05c0c[_0x468028(0x1ce)])([this[_0x468028(0x23e)][_0x468028(0x3ab)](_0x122182),this[_0x468028(0x103)][_0x468028(0x2d6)]])[_0x468028(0x154)]((0x0,_0x4be982[_0x468028(0x230)])(([_0x6e4dd9,_0x58831c])=>({'skeleton':_0xeae8da[_0x468028(0x28d)](),'cursors':[..._0x6e4dd9[_0x468028(0x30e)]()][_0x468028(0x346)](_0x3bbe5f=>({..._0x3bbe5f,'color':this[_0x468028(0x103)]['getColorFromTheme'](_0x3bbe5f[_0x468028(0x1e2)])}))})))['subscribe'](_0x596f74=>{const _0x5c1b96=_0x468028;if(this[_0x5c1b96(0x35e)](),_0x596f74){let {skeleton:_0x40af95,cursors:_0x5add0d}=_0x596f74;this[_0x5c1b96(0x151)](_0x40af95,_0x5add0d);}})),this[_0x468028(0x2a6)](),this[_0x468028(0x292)]();}['_updateCollabCursors'](_0x41cf18,_0x2d9be4){const _0x35a944=_0x1a58e5;let {scene:_0xf50fa5,mainComponent:_0xebb05a}=this[_0x35a944(0x356)],_0x3870c1=_0x2d9be4[_0x35a944(0x230)](_0x2fc414=>new _0x23a650(_0x2fc414,_0xf50fa5,_0x41cf18,_0xebb05a));this['_cursorShapes']=_0x3870c1,this['_cursors']=_0x2d9be4;}[_0x1a58e5(0x39b)](){const _0x15204b=_0x1a58e5;this[_0x15204b(0x35e)]();let {scene:_0x1b5c1d,mainComponent:_0x59be67}=this[_0x15204b(0x356)],_0x1becc3=this[_0x15204b(0x40d)][_0x15204b(0x28d)](),_0x5076f7=this[_0x15204b(0x226)][_0x15204b(0x230)](_0x1e8485=>new _0x23a650(_0x1e8485,_0x1b5c1d,_0x1becc3,_0x59be67));this['_cursorShapes']=_0x5076f7;}[_0x1a58e5(0x35e)](){const _0x4aec9d=_0x1a58e5;this[_0x4aec9d(0x380)][_0x4aec9d(0xff)](_0x36474a=>_0x36474a[_0x4aec9d(0x34f)]()),this[_0x4aec9d(0x380)]=[];}[_0x1a58e5(0x292)](){const _0x47b206=_0x1a58e5;let _0xf39875=[_0x56f9a3['SetDocZoomRatioOperation']['id']];this[_0x47b206(0x119)](this[_0x47b206(0x2d5)][_0x47b206(0x157)](_0x75ba0d=>{const _0x4e9a2e=_0x47b206;_0xf39875[_0x4e9a2e(0x39c)](_0x75ba0d['id'])&&_0x75ba0d[_0x4e9a2e(0x3fb)]['unitId']===this[_0x4e9a2e(0x356)][_0x4e9a2e(0x268)]&&this[_0x4e9a2e(0x39b)]();}));}['_initResize'](){const _0x397daa=_0x1a58e5;this[_0x397daa(0x119)]((0x0,_0x2b0173[_0x397daa(0x379)])(this[_0x397daa(0x356)]['engine'][_0x397daa(0x158)])[_0x397daa(0x154)]((0x0,_0x4be982[_0x397daa(0x409)])(_0x5db2ad=>_0x5db2ad[_0x397daa(0x350)]===_0x15ed3a[_0x397daa(0x2eb)][_0x397daa(0x21b)]),(0x0,_0x4be982[_0x397daa(0x1cf)])(0x10))[_0x397daa(0x224)](()=>{const _0x295392=_0x397daa;this[_0x295392(0x39b)]();}));}};_0x2ec85a=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3ad445[_0x1a58e5(0x29c)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173['ThemeService']))],_0x2ec85a);var _0x4e747a=class extends _0x15ed3a[_0x1a58e5(0x1d2)]{constructor(_0x39e4b2,_0x4422cc){const _0x18ac29=_0x1a58e5;if(super(_0x39e4b2,_0x4422cc),_0x42526d(this,_0x18ac29(0x1c8),void 0x0),_0x42526d(this,_0x18ac29(0x39a),!0x1),_0x42526d(this,_0x18ac29(0x309),void 0x0),_0x42526d(this,'_name',''),_0x42526d(this,_0x18ac29(0x2a3),_0x18ac29(0x132)),_0x42526d(this,'_backgroundColor',void 0x0),_0x42526d(this,_0x18ac29(0x3f3),void 0x0),_0x42526d(this,_0x18ac29(0x194),void 0x0),_0x42526d(this,_0x18ac29(0x2c0),0x4),_0x42526d(this,_0x18ac29(0x1ef),void 0x0),_0x42526d(this,'_blinkIntervalTimer',void 0x0),_0x42526d(this,_0x18ac29(0x23d),!0x0),_0x42526d(this,'_offsetY',0x0),_0x42526d(this,_0x18ac29(0x40a),_0x18ac29(0x34a)),_0x4422cc){var _0x1c2ad3;if(this[_0x18ac29(0x317)](_0x4422cc),_0x4422cc[_0x18ac29(0x147)]&&((_0x1c2ad3=_0x4422cc[_0x18ac29(0x3b7)])==null?this[_0x18ac29(0x2c0)]:_0x1c2ad3)){var _0x204460;this[_0x18ac29(0x360)]((_0x204460=_0x4422cc['highlightSecond'])==null?this[_0x18ac29(0x2c0)]:_0x204460);}}this[_0x18ac29(0x1cb)][_0x18ac29(0x351)](()=>this[_0x18ac29(0x317)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x18ac29(0x317)]({'hovered':!0x1}));}[_0x1a58e5(0x232)](_0x5b1866){const _0x2f26ed=_0x1a58e5;this[_0x2f26ed(0x336)]=_0x5b1866;}[_0x1a58e5(0x317)](_0x2d13f2){const _0x2bf17e=_0x1a58e5;var _0x5abc80,_0x482aca,_0x55a1cd,_0x45920a,_0x4a5b66,_0x582b78,_0x8697eb,_0x114958;this[_0x2bf17e(0x1c8)]=(_0x5abc80=_0x2d13f2[_0x2bf17e(0x1e2)])==null?this[_0x2bf17e(0x1c8)]:_0x5abc80,this[_0x2bf17e(0x39a)]=(_0x482aca=_0x2d13f2[_0x2bf17e(0x1da)])==null?this[_0x2bf17e(0x39a)]:_0x482aca,this[_0x2bf17e(0x309)]=(_0x55a1cd=_0x2d13f2[_0x2bf17e(0x2fc)])==null?this[_0x2bf17e(0x309)]:_0x55a1cd,this[_0x2bf17e(0x1f4)]=(_0x45920a=_0x2d13f2['name'])==null?this[_0x2bf17e(0x1f4)]:_0x45920a,this[_0x2bf17e(0x2a3)]=(_0x4a5b66=_0x2d13f2[_0x2bf17e(0x1c3)])==null?this['_labelPosition']:_0x4a5b66,this[_0x2bf17e(0x1a7)]=(_0x582b78=_0x2d13f2[_0x2bf17e(0x166)])==null?this['_backgroundColor']:_0x582b78,this['_showText']=(_0x8697eb=_0x2d13f2[_0x2bf17e(0x23c)])==null?this[_0x2bf17e(0x3f3)]:_0x8697eb,this[_0x2bf17e(0x40a)]=(_0x114958=_0x2d13f2['labelHorizontalPosition'])==null?this['_labelHorizontalPosition']:_0x114958,_0x2d13f2[_0x2bf17e(0x3b7)]!==void 0x0&&(this['_highlightSecond']=_0x2d13f2[_0x2bf17e(0x3b7)]),_0x2d13f2[_0x2bf17e(0x147)]!==void 0x0&&(this[_0x2bf17e(0x194)]=_0x2d13f2[_0x2bf17e(0x147)]),_0x2d13f2[_0x2bf17e(0x2b5)]!==void 0x0&&(this[_0x2bf17e(0x336)]=_0x2d13f2[_0x2bf17e(0x2b5)]),this[_0x2bf17e(0x30d)]({'width':_0x2d13f2['width'],'height':_0x2d13f2[_0x2bf17e(0x2f9)]});}[_0x1a58e5(0x261)](_0x2e895c){const _0x4445cb=_0x1a58e5;let {row:_0x4c3fcf,column:_0xecf80f}=_0x2e895c;if(_0x4c3fcf>=this[_0x4445cb(0x309)][_0x4445cb(0x30b)]&&_0x4c3fcf<=this[_0x4445cb(0x309)]['endRow']&&_0xecf80f>=this[_0x4445cb(0x309)][_0x4445cb(0x2b0)]&&_0xecf80f<=this[_0x4445cb(0x309)][_0x4445cb(0x341)]){this[_0x4445cb(0x317)]({'hovered':!0x0});return;}this[_0x4445cb(0x317)]({'hovered':!0x1});}[_0x1a58e5(0x360)](_0x2fa9b5){const _0x2c4a5a=_0x1a58e5;this['_stopBlinking'](),this[_0x2c4a5a(0x23d)]=!0x0,this['_blinkIntervalTimer']=window[_0x2c4a5a(0x34e)](()=>{const _0xb803b3=_0x2c4a5a;this[_0xb803b3(0x23d)]=!this[_0xb803b3(0x23d)],this['makeDirty'](!0x0);},0x1f4),this[_0x2c4a5a(0x1ef)]=window['setTimeout'](()=>{const _0x4bda23=_0x2c4a5a;this[_0x4bda23(0x3e8)](),this[_0x4bda23(0x23d)]=!0x0,this[_0x4bda23(0x14d)](!0x0);},_0x2fa9b5*0x3e8);}[_0x1a58e5(0x3e8)](){const _0x89b3a6=_0x1a58e5;this[_0x89b3a6(0x1fc)]&&(window[_0x89b3a6(0x40f)](this[_0x89b3a6(0x1fc)]),this['_blinkIntervalTimer']=void 0x0),this[_0x89b3a6(0x1ef)]&&(window[_0x89b3a6(0x12b)](this[_0x89b3a6(0x1ef)]),this[_0x89b3a6(0x1ef)]=void 0x0);}[_0x1a58e5(0x274)](_0x4797e5){return!0x1;}['dispose'](){const _0x4bfe4e=_0x1a58e5;this[_0x4bfe4e(0x3e8)](),super[_0x4bfe4e(0x34f)]();}[_0x1a58e5(0x363)](_0x2af928){const _0x7cfd5e=_0x1a58e5;let _0x5b334c=this['_color'],_0xd3707c=this['_backgroundColor'];if(this[_0x7cfd5e(0x194)]&&!this['_isBlinkVisible']&&(_0x5b334c=this['_getLighterColor'](this[_0x7cfd5e(0x1c8)]),_0xd3707c=this[_0x7cfd5e(0x1a7)]?this['_getLighterColor'](this[_0x7cfd5e(0x1a7)]):void 0x0),_0x15ed3a[_0x7cfd5e(0x141)][_0x7cfd5e(0x160)](_0x2af928,{'width':this[_0x7cfd5e(0x381)],'height':this[_0x7cfd5e(0x2f9)],'strokeWidth':this[_0x7cfd5e(0x3fa)]||1.5,'stroke':_0x5b334c,'evented':!0x1,'fill':_0xd3707c}),this['_hovered']||this[_0x7cfd5e(0x3f3)]){var _0x4ca40c;_0x2af928['save']();let _0x1d4995=this[_0x7cfd5e(0x40a)]==='left'?-_0x366aaa(_0x2af928,this[_0x7cfd5e(0x1f4)]):this[_0x7cfd5e(0x381)];_0x2af928[_0x7cfd5e(0x375)](0x1,0x0,0x0,0x1,_0x1d4995,(this[_0x7cfd5e(0x2a3)]===_0x7cfd5e(0x37e)?0x0:-0x14)+((_0x4ca40c=this[_0x7cfd5e(0x336)])==null?0x0:_0x4ca40c)),_0x548107[_0x7cfd5e(0x160)](_0x2af928,{'text':this[_0x7cfd5e(0x1f4)],'color':_0x5b334c}),_0x2af928[_0x7cfd5e(0x31f)]();}}['_getLighterColor'](_0x5de73b){const _0xd9d651=_0x1a58e5;return _0x5de73b['startsWith']('#')?_0xd9d651(0x200)+Number[_0xd9d651(0x23a)](_0x5de73b[_0xd9d651(0x1f0)](0x1,0x3),0x10)+',\x20'+Number[_0xd9d651(0x23a)](_0x5de73b[_0xd9d651(0x1f0)](0x3,0x5),0x10)+',\x20'+Number[_0xd9d651(0x23a)](_0x5de73b['slice'](0x5,0x7),0x10)+_0xd9d651(0x40c):_0x5de73b[_0xd9d651(0x1ea)](_0xd9d651(0x15c))?_0x5de73b[_0xd9d651(0x2e5)](/[\d.]+\)$/g,_0xd9d651(0x3be)):_0x5de73b[_0xd9d651(0x1ea)](_0xd9d651(0x257))?_0x5de73b[_0xd9d651(0x2e5)](_0xd9d651(0x257),_0xd9d651(0x15c))['replace'](')',_0xd9d651(0x40c)):_0x5de73b;}};let _0x31b326=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x5e4da3,_0x1c7f1e,_0x30a91b,_0x292ad5){const _0x2d6e65=_0x1a58e5;super(),this[_0x2d6e65(0x356)]=_0x5e4da3,this['_sheetSkeletonManagerService']=_0x1c7f1e,this[_0x2d6e65(0x23e)]=_0x30a91b,this['_themeService']=_0x292ad5,_0x42526d(this,'_cursors',new Set()),_0x42526d(this,'_lastPointer',null),_0x42526d(this,_0x2d6e65(0x1e3),null),this[_0x2d6e65(0x1ec)]();}[_0x1a58e5(0x1ec)](){const _0x308cff=_0x1a58e5;this[_0x308cff(0x2bf)][_0x308cff(0x18e)][_0x308cff(0x154)]((0x0,_0x4be982[_0x308cff(0x1d1)])(this['dispose$']),(0x0,_0x4be982[_0x308cff(0x310)])(_0x7625cc=>{const _0x2fa97a=_0x308cff;if(_0x7625cc){let _0x5c8eac=_0x7625cc[_0x2fa97a(0x24f)];return(0x0,_0xc05c0c[_0x2fa97a(0x1ce)])(this[_0x2fa97a(0x23e)][_0x2fa97a(0x3ab)](this['_context'][_0x2fa97a(0x268)]),this[_0x2fa97a(0x103)][_0x2fa97a(0x2d6)])[_0x2fa97a(0x154)]((0x0,_0x4be982[_0x2fa97a(0x230)])(([_0x1fd01b,_0x2eb683])=>{const _0x568fe6=_0x2fa97a;let _0x3a6aa5=new Map();return _0x1fd01b[_0x568fe6(0xff)]((_0x5f5718,_0x3d7d26)=>{const _0x2e9d40=_0x568fe6;if(_0x5f5718[_0x2e9d40(0x162)]===_0x5c8eac){let _0x14be16={..._0x5f5718};_0x14be16[_0x2e9d40(0x1e2)]=this[_0x2e9d40(0x103)][_0x2e9d40(0x401)](_0x5f5718[_0x2e9d40(0x1e2)]),_0x3a6aa5[_0x2e9d40(0x148)](_0x3d7d26,_0x14be16);}}),{'skeleton':_0x7625cc,'cursors':_0x3a6aa5};}));}return(0x0,_0xc05c0c['of'])({'skeleton':null,'cursors':new Map()});}))[_0x308cff(0x224)](({skeleton:_0x7e6e33,cursors:_0x4b61ec})=>{const _0x10d2fc=_0x308cff;this[_0x10d2fc(0x35e)](),_0x7e6e33&&this[_0x10d2fc(0x151)](_0x7e6e33,_0x4b61ec);}),this['disposeWithMe'](this[_0x308cff(0x2bf)][_0x308cff(0x18e)][_0x308cff(0x154)]((0x0,_0x4be982['takeUntil'])(this[_0x308cff(0x195)]))[_0x308cff(0x224)](_0x3195db=>{const _0x21d486=_0x308cff;var _0x480573;if(_0x3195db==null)return;(_0x480573=this[_0x21d486(0x1e3)])==null||_0x480573[_0x21d486(0x27a)](),this[_0x21d486(0x1e3)]=null;let {skeleton:_0x47ef24}=_0x3195db,{scene:_0x3fe4e6}=this['_context'];this[_0x21d486(0x1e3)]=_0x3fe4e6['onPointerMove$'][_0x21d486(0x351)]((0x0,_0x2b0173[_0x21d486(0x186)])(_0x292f43=>{const _0x40a4f2=_0x21d486;var _0x3325ac,_0x5e6ea2;let {offsetX:_0x1d6411,offsetY:_0x1666d9}=_0x292f43,{x:_0x59451f,y:_0x5a50d9}=_0x3fe4e6['getRelativeToViewportCoord'](_0x15ed3a[_0x40a4f2(0x2f0)]['FromArray']([_0x1d6411,_0x1666d9])),{scaleX:_0x51b194,scaleY:_0x3502cd}=_0x3fe4e6[_0x40a4f2(0x1eb)](),_0x38ed53=_0x3fe4e6['getViewport'](_0x15ed3a[_0x40a4f2(0x136)][_0x40a4f2(0x3ac)]),_0x47413f=_0x3fe4e6[_0x40a4f2(0x2c4)](_0x15ed3a[_0x40a4f2(0x2f0)][_0x40a4f2(0x2da)]([_0x59451f,_0x5a50d9]),_0x38ed53),_0x3c7110=_0x47ef24[_0x40a4f2(0x1d5)](_0x1d6411,_0x1666d9,_0x51b194,_0x3502cd,_0x47413f);((_0x3325ac=this[_0x40a4f2(0x3b5)])==null?void 0x0:_0x3325ac[_0x40a4f2(0x24c)])===_0x3c7110[_0x40a4f2(0x24c)]&&((_0x5e6ea2=this['_lastPointer'])==null?void 0x0:_0x5e6ea2[_0x40a4f2(0x1f3)])===_0x3c7110['row']||this[_0x40a4f2(0x226)][_0x40a4f2(0xff)](_0x468054=>{const _0x578f55=_0x40a4f2;_0x468054[_0x578f55(0x261)](_0x3c7110);});},0x64));})),this[_0x308cff(0x119)]((0x0,_0x2b0173[_0x308cff(0x399)])(()=>{const _0xfb46d0=_0x308cff;var _0xbf7f26;(_0xbf7f26=this[_0xfb46d0(0x1e3)])==null||_0xbf7f26[_0xfb46d0(0x27a)](),this[_0xfb46d0(0x1e3)]=null;}));}['_updateCollabCursors'](_0x2ae794,_0x19a20b){const _0x53ce93=_0x1a58e5;let _0x484c21=this[_0x53ce93(0x2bf)][_0x53ce93(0x391)]();if(!_0x484c21)return;let _0x57aef2=this[_0x53ce93(0x359)]();if(!_0x57aef2)return;this[_0x53ce93(0x226)][_0x53ce93(0xff)](_0x28ffa2=>{const _0xae3278=_0x53ce93;_0x28ffa2[_0xae3278(0x14d)]();});let {scene:_0x130be9}=_0x57aef2,_0x12bb29=_0x419c5a(Array['from'](_0x19a20b[_0x53ce93(0x30e)]()))['map'](_0x4e1f96=>{const _0xab7c97=_0x53ce93;let {color:_0x1d4f3e,range:_0x322de3,name:_0x4c5799,selection:_0x5c2eca,sheetID:_0x12c178}=_0x4e1f96,{startColumn:_0x2759a3,startRow:_0x2aa54f,endColumn:_0x1b3df3,endRow:_0x2bb82b}=_0x322de3,_0x196465=(0x0,_0x50b664['getCoordByCell'])(_0x2aa54f,_0x2759a3,_0x130be9,_0x484c21),_0x429915=(0x0,_0x50b664[_0xab7c97(0x364)])(_0x2bb82b,_0x1b3df3,_0x130be9,_0x484c21),{columnHeaderHeightAndMarginTop:_0x360fa9}=_0x484c21,{startX:_0x2eb164,startY:_0x1fd0ae}=_0x196465,{endX:_0x37af65,endY:_0x31a541}=_0x429915,_0x59f6d7=_0x37af65-_0x2eb164,_0x5d26e9=_0x31a541-_0x1fd0ae;return new _0x4e747a(_0x4c5799,{'labelPosition':_0x1fd0ae-_0x360fa9>=0x14?_0xab7c97(0x132):_0xab7c97(0x37e),'sheetID':_0x12c178,'range':_0x322de3,'color':_0x1d4f3e,'name':_0x4c5799,'selection':_0x5c2eca,'left':_0x2eb164,'top':_0x1fd0ae,'width':_0x59f6d7,'height':_0x5d26e9,'evented':!0x1,'zIndex':0x1389});});_0x130be9['addObjects'](_0x12bb29,0x1),this[_0x53ce93(0x226)]=new Set(_0x12bb29);}[_0x1a58e5(0x35e)](){const _0x1ba97e=_0x1a58e5;var _0xd88968;(_0xd88968=this['_cursors'])==null||_0xd88968[_0x1ba97e(0xff)](_0x221a8d=>_0x221a8d['dispose']());}[_0x1a58e5(0x359)](){const _0x2782ab=_0x1a58e5;return(0x0,_0x50b664[_0x2782ab(0x1fa)])(this[_0x2782ab(0x356)][_0x2782ab(0x29f)],this[_0x2782ab(0x356)]);}};_0x31b326=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x50b664[_0x1a58e5(0x393)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x1b6)]))],_0x31b326);function _0x419c5a(_0x125b9c){const _0x23a246=_0x1a58e5;let _0x23f9aa=new Map();return _0x125b9c[_0x23a246(0xff)](_0x49a6e7=>{const _0x4b3c6c=_0x23a246;if(_0x23f9aa['has'](_0x49a6e7[_0x4b3c6c(0x272)])){let _0x45ce9a=_0x23f9aa[_0x4b3c6c(0x1db)](_0x49a6e7['selection']);_0x45ce9a[_0x4b3c6c(0x3d5)]+=',\x20'+_0x49a6e7[_0x4b3c6c(0x3d5)];}else _0x23f9aa[_0x4b3c6c(0x148)](_0x49a6e7['selection'],_0x49a6e7);}),Array[_0x23a246(0x2bb)](_0x23f9aa['values']());}let _0x85e88f=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x8ec372,_0x4edc98,_0xe0836e){const _0x4aae30=_0x1a58e5;super(),this[_0x4aae30(0x356)]=_0x8ec372,this[_0x4aae30(0x23e)]=_0x4edc98,this[_0x4aae30(0x103)]=_0xe0836e,_0x42526d(this,_0x4aae30(0x226),new Set()),_0x42526d(this,'_renderScheduled',!0x1),_0x42526d(this,_0x4aae30(0x16f),!0x1),_0x42526d(this,_0x4aae30(0x1f5),new Map()),this[_0x4aae30(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x2da4b3=_0x1a58e5;this[_0x2da4b3(0x35e)](),super[_0x2da4b3(0x34f)]();}[_0x1a58e5(0x1ec)](){const _0x87a222=_0x1a58e5;let _0x33e4f3=this[_0x87a222(0x356)][_0x87a222(0x29f)][_0x87a222(0x33a)]['activeSlideId$'],_0xd84650=this[_0x87a222(0x23e)][_0x87a222(0x3ab)](this[_0x87a222(0x356)][_0x87a222(0x268)]);this[_0x87a222(0x119)]((0x0,_0x2b0173['toDisposable'])((0x0,_0xc05c0c[_0x87a222(0x1ce)])([_0xd84650,_0x33e4f3,this[_0x87a222(0x103)][_0x87a222(0x2d6)]])['pipe']((0x0,_0xc05c0c[_0x87a222(0x1d1)])(this[_0x87a222(0x195)]))['subscribe'](([_0x254cf2,_0x2210a5])=>{const _0x445470=_0x87a222;let _0x3e4359=new Map();_0x254cf2[_0x445470(0xff)]((_0x26f5b4,_0x3b2145)=>{const _0x225982=_0x445470;_0x26f5b4[_0x225982(0x149)]===_0x2210a5&&_0x3e4359['set'](_0x3b2145,{..._0x26f5b4,'color':this[_0x225982(0x103)][_0x225982(0x401)](_0x26f5b4[_0x225982(0x1e2)])});}),this[_0x445470(0x1f5)]=_0x3e4359,this[_0x445470(0x3b4)]();})));let _0x3ce575=this[_0x87a222(0x356)][_0x87a222(0x258)];this[_0x87a222(0x119)]((0x0,_0x2b0173['toDisposable'])(_0x3ce575[_0x87a222(0x293)][_0x87a222(0x154)]((0x0,_0xc05c0c[_0x87a222(0x1d1)])(this['dispose$']))[_0x87a222(0x224)](()=>{const _0x522af8=_0x87a222;this[_0x522af8(0x16f)]||this['_scheduleRender']();})));}[_0x1a58e5(0x3b4)](){const _0x5c888b=_0x1a58e5;this[_0x5c888b(0x10b)]||(this['_renderScheduled']=!0x0,Promise[_0x5c888b(0x2c6)]()[_0x5c888b(0x12c)](()=>{const _0x27a356=_0x5c888b;this[_0x27a356(0x10b)]=!0x1,this[_0x27a356(0x3c5)]();}));}[_0x1a58e5(0x3c5)](){const _0x14889f=_0x1a58e5;var _0x2b47d1;this[_0x14889f(0x35e)]();let _0xe3f0ad=(_0x2b47d1=this[_0x14889f(0x356)]['unit'][_0x14889f(0x33a)]['getActiveSlide']())==null?void 0x0:_0x2b47d1[_0x14889f(0x1a9)]();if(!_0xe3f0ad)return;let _0x40f694=[];if(this[_0x14889f(0x1f5)][_0x14889f(0xff)]((_0x3808db,_0x55e7fa)=>{const _0x348eb7=_0x14889f;_0x3808db[_0x348eb7(0x149)]===_0xe3f0ad&&_0x3808db['selectedIds'][_0x348eb7(0xff)](_0x4af52e=>{const _0xa72eb1=_0x348eb7;let _0x21be7d=(0x0,_0x304b4c[_0xa72eb1(0x3e7)])(_0x3808db['unitId'],_0x3808db[_0xa72eb1(0x149)],_0x4af52e),_0x4e8508=this[_0xa72eb1(0x36a)](_0x21be7d);if(!_0x4e8508)return;let _0x133adf=this['_getObjectBounds'](_0x4e8508);_0x40f694[_0xa72eb1(0x285)](new _0x28af6f('slide-collab-cursor-'+_0x55e7fa+'-'+_0x4af52e,{..._0x3808db,'left':_0x133adf[_0xa72eb1(0x1e7)],'top':_0x133adf[_0xa72eb1(0x132)],'width':_0x133adf[_0xa72eb1(0x381)],'height':_0x133adf[_0xa72eb1(0x2f9)],'angle':_0x4e8508[_0xa72eb1(0x33b)],'evented':!0x1,'zIndex':_0x19234f}));});}),_0x40f694[_0x14889f(0x371)]===0x0){this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x14d)](!0x0);return;}this[_0x14889f(0x16f)]=!0x0,this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x2e1)](_0x40f694,_0x19234f),this[_0x14889f(0x16f)]=!0x1,this[_0x14889f(0x226)]=new Set(_0x40f694),this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x14d)](!0x0);}[_0x1a58e5(0x35e)](){const _0x20c736=_0x1a58e5;let _0x1c7274=Array['from'](this[_0x20c736(0x226)]);if(_0x1c7274[_0x20c736(0x371)]===0x0)return;let _0x5b8203=this[_0x20c736(0x356)][_0x20c736(0x258)];'removeObjects'in _0x5b8203&&typeof _0x5b8203[_0x20c736(0x3ba)]==_0x20c736(0x3a2)?_0x5b8203['removeObjects'](_0x1c7274):_0x1c7274[_0x20c736(0xff)](_0x45164f=>{const _0x39a295=_0x20c736;_0x39a295(0x15f)in _0x5b8203&&typeof _0x5b8203[_0x39a295(0x15f)]==_0x39a295(0x3a2)?_0x5b8203[_0x39a295(0x15f)](_0x45164f):_0x45164f[_0x39a295(0x34f)]();}),this[_0x20c736(0x226)][_0x20c736(0x3ce)](),_0x5b8203[_0x20c736(0x14d)](!0x0);}[_0x1a58e5(0x36a)](_0x2fe4fd){const _0x5998a8=_0x1a58e5;var _0x299f57,_0x39a1c1,_0x14d53e;let _0x3f9c39=this['_context'][_0x5998a8(0x258)];return(_0x299f57=(_0x39a1c1=(_0x14d53e=_0x3f9c39[_0x5998a8(0x3ea)])==null?void 0x0:_0x14d53e['call'](_0x3f9c39,_0x2fe4fd))==null?_0x3f9c39[_0x5998a8(0x1b4)](_0x2fe4fd):_0x39a1c1)==null?null:_0x299f57;}[_0x1a58e5(0x152)](_0x463ab0){const _0x341d57=_0x1a58e5;var _0x1d7e9c,_0x2792dc;let _0x2cc72b=_0x463ab0;return(_0x1d7e9c=(_0x2792dc=_0x2cc72b[_0x341d57(0x12d)])==null?void 0x0:_0x2792dc['call'](_0x2cc72b))==null?{'left':_0x463ab0[_0x341d57(0x1e7)],'top':_0x463ab0[_0x341d57(0x132)],'width':_0x463ab0[_0x341d57(0x381)],'height':_0x463ab0[_0x341d57(0x2f9)]}:_0x1d7e9c;}};_0x85e88f=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x1b6)]))],_0x85e88f);let _0x3a5ab5=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x185dbb,_0x18d3bf,_0x276aa2,_0x5f5579,_0x51ebd8,_0x5ca185){const _0x8a5279=_0x1a58e5;super(),this[_0x8a5279(0x355)]=_0x185dbb,this['_localCacheService']=_0x18d3bf,this['_collaborationUIEventService']=_0x276aa2,this[_0x8a5279(0x39f)]=_0x5f5579,this[_0x8a5279(0x25a)]=_0x51ebd8,this[_0x8a5279(0x135)]=_0x5ca185,this['_setupBeforeClosingHandler'](),this[_0x8a5279(0x320)]();}['_setupBeforeClosingHandler'](){const _0x47f06f=_0x1a58e5;this[_0x47f06f(0x119)](this['_beforeCloseService'][_0x47f06f(0x16c)](()=>{const _0x24e26e=_0x47f06f;if(this[_0x24e26e(0x312)][_0x24e26e(0x2d8)][_0x24e26e(0x332)])return this['_localeService']['t'](_0x24e26e(0x316));}));}[_0x1a58e5(0x320)](){const _0x5016de=_0x1a58e5;this[_0x5016de(0x119)](this['_collaborationUIEventService'][_0x5016de(0x3f2)][_0x5016de(0x224)](_0x4c886e=>{const _0x3a11f0=_0x5016de;_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)]['OTHER_CLIENT_EDITING']&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this['_localeService']['t'](_0x3a11f0(0x197))}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x19b)]&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x140)]&&this[_0x3a11f0(0x25a)][_0x3a11f0(0x265)]({'title':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x259)),'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.permission.content'),'type':_0x3a11f0(0x3cd),'duration':0x0}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x37d)]&&this[_0x3a11f0(0x25a)][_0x3a11f0(0x265)]({'title':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t'](_0x3a11f0(0x35a)),'type':_0x3a11f0(0x3cd),'duration':0x0}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)]['JOIN_ROOM_FAILED']&&this[_0x3a11f0(0x39f)]['show']({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this['_localeService']['t'](_0x4c886e[_0x3a11f0(0x3d8)]||'')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x238)]&&this['_messageService'][_0x3a11f0(0x265)]({'type':_0x96a8b5['MessageType'][_0x3a11f0(0x30f)],'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.session.will-retry')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x205)]&&this['_messageService']['show']({'type':_0x96a8b5[_0x3a11f0(0x2ff)]['Error'],'content':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x139))}),_0x4c886e['id']===_0x35fa89['CollaborationUIEventId'][_0x3a11f0(0x146)]&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x14c)],'content':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x26a))});}));}};_0x3a5ab5=_0x202e73([_0x215337(0x0,_0x161125[_0x1a58e5(0x1c6)]),_0x215337(0x1,_0x35fa89['ILocalCacheService']),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x269)])),_0x215337(0x3,_0x161125[_0x1a58e5(0x32b)]),_0x215337(0x4,_0x161125[_0x1a58e5(0x299)]),_0x215337(0x5,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x3a5ab5);let _0x1ccd84=(0x0,_0x2b0173['createIdentifier'])('uni.network.url-service'),_0x2dbe21=class extends _0x2b0173['RxDisposable']{constructor(_0x33a687,_0x503d74,_0x4729cc,_0x5bb035,_0x16907e){const _0x241a59=_0x1a58e5;super(),this[_0x241a59(0x397)]=_0x33a687,this[_0x241a59(0x3d6)]=_0x503d74,this[_0x241a59(0x2d5)]=_0x4729cc,this[_0x241a59(0x178)]=_0x5bb035,_0x16907e?_0x16907e==null||_0x16907e[_0x241a59(0x1ae)]()[_0x241a59(0x12c)](()=>this['_init']()):(this[_0x241a59(0x3d6)][_0x241a59(0x17f)](_0x241a59(0x114),_0x241a59(0x15b)),this['_init']());}async['_init'](){const _0x3fa58e=_0x1a58e5;let _0x532aa5=this['_urlService'][_0x3fa58e(0x410)](_0x3fa58e(0x29f)),_0xe9598a=this['_urlService'][_0x3fa58e(0x410)](_0x3fa58e(0x350)),_0x590ad6=this[_0x3fa58e(0x397)][_0x3fa58e(0x410)](_0x3fa58e(0x203));if(!_0x532aa5||!_0xe9598a){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x3fa58e(0x3f0));return;}let _0x66a0bb=await this[_0x3fa58e(0x178)][_0x3fa58e(0x123)](_0x532aa5,Number(_0xe9598a),_0x590ad6);_0x66a0bb&&_0x66a0bb instanceof _0x2b0173[_0x3fa58e(0x1dc)]&&this['_setupSubUnitSync'](_0x66a0bb);}async['_setupSubUnitSync'](_0x1502f0){const _0x84616e=_0x1a58e5;await this[_0x84616e(0x2fe)](_0x1502f0),_0x1502f0[_0x84616e(0x138)][_0x84616e(0x154)]((0x0,_0xc05c0c[_0x84616e(0x1d1)])(this[_0x84616e(0x195)]))[_0x84616e(0x224)](_0x34b824=>{_0x34b824&&this['_updateURLWithCurrentState'](_0x34b824);}),this['_urlService'][_0x84616e(0x328)][_0x84616e(0x154)]((0x0,_0xc05c0c[_0x84616e(0x1d1)])(this[_0x84616e(0x195)]))[_0x84616e(0x224)](()=>this[_0x84616e(0x2fe)](_0x1502f0));}[_0x1a58e5(0x1b3)](_0x4db077,_0x20cc43=!0x1){const _0x135fff=_0x1a58e5;let _0x1fe6d7=this[_0x135fff(0x397)]['getParam'](_0x135fff(0x203));_0x4db077[_0x135fff(0x3dc)]()!==_0x1fe6d7&&this['_urlService'][_0x135fff(0x288)](_0x135fff(0x203),_0x4db077[_0x135fff(0x3dc)](),_0x20cc43);}async[_0x1a58e5(0x2fe)](_0x396e24){const _0xecd83=_0x1a58e5;var _0x26e140;let _0x4ca536=this[_0xecd83(0x397)][_0xecd83(0x410)](_0xecd83(0x203));if(!_0x4ca536||!_0x396e24['getSheetBySheetId'](_0x4ca536)){let _0x37e315=_0x396e24[_0xecd83(0x35f)]()[0x0],_0x29f1d9=_0x396e24[_0xecd83(0x20c)](_0x37e315);if(!_0x29f1d9)return;this[_0xecd83(0x1b3)](_0x29f1d9,!0x0),await this['_commandService']['executeCommand'](_0x384008[_0xecd83(0x2ee)]['id'],{'unitId':_0x396e24[_0xecd83(0x36d)](),'subUnitId':_0x37e315});return;}((_0x26e140=_0x396e24[_0xecd83(0x20d)]())==null?void 0x0:_0x26e140[_0xecd83(0x3dc)]())!==_0x4ca536&&await this[_0xecd83(0x2d5)][_0xecd83(0x37a)](_0x384008[_0xecd83(0x2ee)]['id'],{'unitId':_0x396e24[_0xecd83(0x36d)](),'subUnitId':_0x4ca536});}};_0x2dbe21=_0x202e73([_0x215337(0x0,_0x1ccd84),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['DataLoaderService'])),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x287)])(_0x3ab178[_0x1a58e5(0x204)]))],_0x2dbe21);let _0x3f2545=class{constructor(_0x39cf4e,_0x3aa094){const _0x59e22c=_0x1a58e5;this[_0x59e22c(0x3aa)]=_0x39cf4e,this[_0x59e22c(0x1f1)]=_0x3aa094;}[_0x1a58e5(0x150)](_0x435f46){const _0x23b937=_0x1a58e5;this[_0x23b937(0x244)](_0x435f46),this[_0x23b937(0x1b7)](_0x435f46);}[_0x1a58e5(0x417)](_0x46b1d0){const _0x372158=_0x1a58e5;let {unitID:_0xdf5fdb}=_0x46b1d0,{redoCache:_0x4dbfcc}=this[_0x372158(0x1f1)][_0x372158(0x170)](_0xdf5fdb)[_0x372158(0x2e0)](_0x56f9a3[_0x372158(0x165)])[_0x372158(0x134)]();if(_0x4dbfcc[_0x372158(0x371)]===0x0)return _0x46b1d0;let _0x19ba44=_0x2b0173[_0x372158(0x20f)][_0x372158(0x403)](_0x46b1d0['mutations'][0x0]);for(let _0x450381=0x0;_0x450381<_0x4dbfcc[_0x372158(0x371)];_0x450381++){let _0x49d4a9={'id':_0x372158(0x37b),'params':{..._0x4dbfcc[_0x450381]}},_0x21351b=this[_0x372158(0x3aa)][_0x372158(0x22d)](_0x19ba44,_0x49d4a9,!0x1);if((0x0,_0xd76d4d[_0x372158(0x3a1)])(_0x21351b))throw _0x21351b[_0x372158(0x3cd)];_0x19ba44=_0x21351b[_0x372158(0x125)];}return{..._0x2b0173[_0x372158(0x20f)]['deepClone'](_0x46b1d0),'mutations':[_0x19ba44]};}['_transformUndoRedoStack'](_0x220513){const _0x2a8a89=_0x1a58e5;let {unitID:_0x416f5b}=_0x220513,_0x4aa108=this[_0x2a8a89(0x1f1)][_0x2a8a89(0x170)](_0x416f5b)[_0x2a8a89(0x2e0)](_0x56f9a3[_0x2a8a89(0x165)]),{undoCache:_0x42df81,redoCache:_0x3d6cc8}=_0x4aa108['getUndoRedoMutationParamsCache']();if(_0x42df81[_0x2a8a89(0x371)]===0x0||_0x3d6cc8[_0x2a8a89(0x371)]===0x0)return;let _0x2d5f99=[],_0x305d9f=[],_0x52142d=_0x2b0173[_0x2a8a89(0x20f)][_0x2a8a89(0x403)](_0x220513[_0x2a8a89(0x264)][0x0]),_0x5d39d7=_0x2b0173[_0x2a8a89(0x20f)]['deepClone'](_0x220513[_0x2a8a89(0x264)][0x0]);for(let _0x3afc48=_0x42df81[_0x2a8a89(0x371)]-0x1;_0x3afc48>=0x0;_0x3afc48--){let _0x304157={'id':_0x2a8a89(0x37b),'params':{..._0x42df81[_0x3afc48]}},_0x15c567={'id':_0x2a8a89(0x37b),'params':{..._0x3d6cc8[_0x3afc48]}},_0x218bc5=this[_0x2a8a89(0x3aa)][_0x2a8a89(0x22d)](_0x52142d,_0x304157,!0x1),_0x6f6141=this[_0x2a8a89(0x3aa)]['transformMutation'](_0x5d39d7,_0x15c567,!0x1);if((0x0,_0xd76d4d[_0x2a8a89(0x3a1)])(_0x218bc5))throw _0x218bc5[_0x2a8a89(0x3cd)];if((0x0,_0xd76d4d[_0x2a8a89(0x3a1)])(_0x6f6141))throw _0x6f6141[_0x2a8a89(0x3cd)];_0x2d5f99[_0x2a8a89(0x10f)](_0x218bc5['m2Prime']['params']),_0x305d9f[_0x2a8a89(0x10f)](_0x6f6141[_0x2a8a89(0x1a5)]['params']),_0x52142d=_0x218bc5[_0x2a8a89(0x125)],_0x5d39d7=_0x6f6141[_0x2a8a89(0x125)];}_0x4aa108[_0x2a8a89(0x236)]({'undoCache':_0x2d5f99,'redoCache':_0x305d9f});}[_0x1a58e5(0x1b7)](_0x338506){const _0x478014=_0x1a58e5;let {unitID:_0x41f66e}=_0x338506,_0xb700be=this[_0x478014(0x1f1)]['getRenderById'](_0x41f66e)[_0x478014(0x2e0)](_0x56f9a3[_0x478014(0x165)]),_0x32b7bd=_0xb700be['getActiveRange']();if(_0x32b7bd==null)return;let _0x45ce37=[{'id':_0x478014(0x37b),'params':{'unitId':_0x338506[_0x478014(0x3a0)],'actions':null,'textRanges':[_0x32b7bd]}}],_0x4db9eb=this['_transformService']['transformMutationsWithChangeset'](_0x338506,_0x45ce37);if(!(0x0,_0xd76d4d[_0x478014(0x12a)])(_0x4db9eb))throw _0x4db9eb[_0x478014(0x3cd)];let _0x2ebf6a=_0x4db9eb[_0x478014(0x1a5)][0x0][_0x478014(0x3fb)]['textRanges'];Array[_0x478014(0x3bc)](_0x2ebf6a)&&_0x2ebf6a[_0x478014(0x371)]&&_0xb700be['setActiveRange'](_0x2ebf6a[0x0]);}};_0x3f2545=_0x202e73([_0x215337(0x0,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x1,_0x15ed3a[_0x1a58e5(0x32e)])],_0x3f2545);let _0x2875ec=class{constructor(_0x39f9a5,_0x363765,_0x2e5b02){const _0x40cc9b=_0x1a58e5;this[_0x40cc9b(0x412)]=_0x39f9a5,this['_transformService']=_0x363765,this[_0x40cc9b(0x124)]=_0x2e5b02;}['transformStateCache'](_0x2b4e29){const _0x4259c1=_0x1a58e5;this[_0x4259c1(0x253)](_0x2b4e29);}[_0x1a58e5(0x417)](_0x1be348){const _0x3fc910=_0x1a58e5;let {unitID:_0x9f5c6d}=_0x1be348,{collaboration:_0x40d9dc}=this[_0x3fc910(0x124)][_0x3fc910(0x30a)](_0x9f5c6d);if(_0x40d9dc[_0x3fc910(0x371)]===0x0)return _0x1be348;let _0x1a2d74=_0x2b0173['Tools']['deepClone'](_0x1be348[_0x3fc910(0x264)][0x0]);for(let _0x12e047=0x0;_0x12e047<_0x40d9dc[_0x3fc910(0x371)];_0x12e047++){let _0x53403f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d9dc[_0x12e047][_0x3fc910(0x268)],..._0x40d9dc[_0x12e047][_0x3fc910(0x366)]}},_0x104533=this['_transformService'][_0x3fc910(0x22d)](_0x1a2d74,_0x53403f,!0x1);if((0x0,_0xd76d4d[_0x3fc910(0x3a1)])(_0x104533))throw _0x104533[_0x3fc910(0x3cd)];_0x1a2d74=_0x104533[_0x3fc910(0x125)];}return{..._0x2b0173[_0x3fc910(0x20f)][_0x3fc910(0x403)](_0x1be348),'mutations':[_0x1a2d74]};}[_0x1a58e5(0x253)](_0x2684e4){const _0x4d27be=_0x1a58e5;let {unitID:_0x4e1fd3}=_0x2684e4,{history:_0x595ac5,collaboration:_0x15aa25}=this[_0x4d27be(0x124)][_0x4d27be(0x30a)](_0x4e1fd3);if(_0x595ac5['length']===0x0&&_0x15aa25[_0x4d27be(0x371)]===0x0)return;let _0x14280f=[],_0x51bcc5=[],_0x3d0dba=_0x2b0173[_0x4d27be(0x20f)][_0x4d27be(0x403)](_0x2684e4[_0x4d27be(0x264)][0x0]),_0xe1edbd=_0x2b0173[_0x4d27be(0x20f)][_0x4d27be(0x403)](_0x2684e4[_0x4d27be(0x264)][0x0]);for(let _0x51f8eb=_0x595ac5[_0x4d27be(0x371)]-0x1;_0x51f8eb>=0x0;_0x51f8eb--){let _0xf9d72d={'id':_0x4d27be(0x37b),'params':{'unitId':_0x595ac5[_0x51f8eb]['unitId'],..._0x595ac5[_0x51f8eb]['undoState']}},_0x121fcb={'id':_0x4d27be(0x37b),'params':{'unitId':_0x595ac5[_0x51f8eb][_0x4d27be(0x268)],..._0x595ac5[_0x51f8eb]['redoState']}},_0x19fdf6=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0x3d0dba,_0xf9d72d,!0x1),_0x340094=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0xe1edbd,_0x121fcb,!0x1);if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x19fdf6))throw _0x19fdf6['error'];if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x340094))throw _0x340094[_0x4d27be(0x3cd)];_0x14280f[_0x4d27be(0x10f)]({..._0x595ac5[_0x51f8eb],'undoState':_0x19fdf6[_0x4d27be(0x1a5)][_0x4d27be(0x3fb)],'redoState':_0x340094['m2Prime'][_0x4d27be(0x3fb)]}),_0x3d0dba=_0x19fdf6[_0x4d27be(0x125)],_0xe1edbd=_0x340094[_0x4d27be(0x125)];}_0x3d0dba=_0x2b0173[_0x4d27be(0x20f)]['deepClone'](_0x2684e4[_0x4d27be(0x264)][0x0]),_0xe1edbd=_0x2b0173[_0x4d27be(0x20f)]['deepClone'](_0x2684e4[_0x4d27be(0x264)][0x0]);for(let _0x4221fb=_0x15aa25['length']-0x1;_0x4221fb>=0x0;_0x4221fb--){let _0x562f11={'id':_0x4d27be(0x37b),'params':{'unitId':_0x15aa25[_0x4221fb][_0x4d27be(0x268)],..._0x15aa25[_0x4221fb]['undoState']}},_0x272aa3={'id':_0x4d27be(0x37b),'params':{'unitId':_0x15aa25[_0x4221fb][_0x4d27be(0x268)],..._0x15aa25[_0x4221fb]['redoState']}},_0x342680=this[_0x4d27be(0x3aa)]['transformMutation'](_0x3d0dba,_0x562f11,!0x1),_0x2be9b3=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0xe1edbd,_0x272aa3,!0x1);if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x342680))throw _0x342680[_0x4d27be(0x3cd)];if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x2be9b3))throw _0x2be9b3[_0x4d27be(0x3cd)];_0x51bcc5[_0x4d27be(0x10f)]({..._0x15aa25[_0x4221fb],'undoState':_0x342680[_0x4d27be(0x1a5)][_0x4d27be(0x3fb)],'redoState':_0x2be9b3['m2Prime'][_0x4d27be(0x3fb)]}),_0x3d0dba=_0x342680[_0x4d27be(0x125)],_0xe1edbd=_0x2be9b3[_0x4d27be(0x125)];}this[_0x4d27be(0x124)]['setStateCache'](_0x4e1fd3,{'history':_0x14280f,'collaboration':_0x51bcc5});}};_0x2875ec=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3ad445[_0x1a58e5(0x395)]))],_0x2875ec);let _0x583759=class{constructor(_0x1cd0bd,_0x3a9287){const _0x4b3f15=_0x1a58e5;this[_0x4b3f15(0x412)]=_0x1cd0bd,this[_0x4b3f15(0x3aa)]=_0x3a9287;}[_0x1a58e5(0x289)](_0xadde0d){const _0x31f24f=_0x1a58e5;var _0xbab3f;let _0x3ff305=this[_0x31f24f(0x412)][_0x31f24f(0x1db)](_0x3ad445[_0x31f24f(0x196)]),_0x22e820=(_0xbab3f=_0x3ff305['getDocRanges']())==null?[]:_0xbab3f;if(_0x22e820[_0x31f24f(0x371)]===0x0)return;let _0x43524d=_0xadde0d[_0x31f24f(0x3a0)],_0x27826a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x43524d,'actions':null,'textRanges':_0x22e820}}],_0x48c69e=this[_0x31f24f(0x3aa)][_0x31f24f(0x358)](_0xadde0d,_0x27826a);if(!(0x0,_0xd76d4d[_0x31f24f(0x12a)])(_0x48c69e))throw _0x48c69e['error'];let _0x2e2857=_0x48c69e['m2Prime'][0x0][_0x31f24f(0x3fb)]['textRanges'];Array[_0x31f24f(0x3bc)](_0x2e2857)&&_0x2e2857[_0x31f24f(0x371)]&&_0x3ff305['replaceDocRanges'](_0x2e2857,{'unitId':_0x43524d,'subUnitId':_0x43524d},!0x1);}};_0x583759=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,_0xd76d4d['ITransformService'])],_0x583759);let _0x4c54e4=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x36d1b5,_0x1c6737,_0x1f74d5,_0x9aa207,_0x45c679,_0x175a09,_0x261807){const _0x3ee91b=_0x1a58e5;super(),this[_0x3ee91b(0x191)]=_0x36d1b5,this['_docTransformIMECacheService']=_0x1c6737,this[_0x3ee91b(0x2b6)]=_0x1f74d5,this[_0x3ee91b(0x251)]=_0x9aa207,this[_0x3ee91b(0x276)]=_0x45c679,this[_0x3ee91b(0x39f)]=_0x175a09,this[_0x3ee91b(0x135)]=_0x261807,_0x42526d(this,_0x3ee91b(0x297),new _0xc05c0c[(_0x3ee91b(0x334))](_0x35fa89[_0x3ee91b(0x315)]['NOT_COLLAB'])),this[_0x3ee91b(0x212)]();}[_0x1a58e5(0x212)](){const _0x568f32=_0x1a58e5;this[_0x568f32(0x119)](this['_collaborationController']['entityInit$']['subscribe'](_0x11256e=>{const _0x378d7f=_0x568f32;_0x11256e instanceof _0x35fa89['DocCollaborationEntity']&&_0x11256e['addHandlerCallback']({'onTransformIME':_0xc215de=>this[_0x378d7f(0x23b)][_0x378d7f(0x150)](_0xc215de),'onTransformState':_0x4a83b3=>this[_0x378d7f(0x2b6)]['transformStateCache'](_0x4a83b3),'onTransformSelections':_0x14f8fb=>this[_0x378d7f(0x251)]['transformSelections'](_0x14f8fb),'onSyncEditingCollabCursor':_0x144f80=>this[_0x378d7f(0x276)][_0x378d7f(0x14e)](_0x144f80),'onTransformRemoteChangesetByIMECache':_0x2040f6=>this[_0x378d7f(0x23b)]['transformRemoteChangeset'](_0x2040f6),'onTransformRemoteChangesetByStateCache':_0x4f6bf3=>this[_0x378d7f(0x2b6)][_0x378d7f(0x417)](_0x4f6bf3)});}));}};_0x4c54e4=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3e0)])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3f2545)),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2875ec)),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x583759)),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x50b94c)),_0x215337(0x5,_0x161125[_0x1a58e5(0x32b)]),_0x215337(0x6,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x4c54e4);let _0x36cace=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x32b9c4,_0x539fc0,_0x4d0c77,_0x3961d6){const _0x341621=_0x1a58e5;super(),this[_0x341621(0x412)]=_0x32b9c4,this[_0x341621(0x255)]=_0x539fc0,this['_logService']=_0x4d0c77,this[_0x341621(0x16d)]=_0x3961d6,_0x42526d(this,_0x341621(0x2e9),void 0x0),this['_init']();}[_0x1a58e5(0x1ec)](){const _0x3ea77d=_0x1a58e5;this[_0x3ea77d(0x221)](),this[_0x3ea77d(0x2c5)](),this['_monkeyPatchLogService'](),this[_0x3ea77d(0x3d2)]();}[_0x1a58e5(0x3d2)](){const _0x2151d1=_0x1a58e5;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x2151d1(0x224)](_0x3962b0=>{const _0x51dcd3=_0x2151d1;this[_0x51dcd3(0x2e9)]=_0x3962b0==null?void 0x0:_0x3962b0[_0x51dcd3(0x3f6)];}));}[_0x1a58e5(0x221)](){const _0x265d0b=_0x1a58e5;let _0xb2d539=_0x4e30a5=>{const _0x56ab8f=_0x7aae;var _0x58f585;this[_0x56ab8f(0x1b5)](_0x56ab8f(0x3cd),_0x56ab8f(0x266)+_0x4e30a5[_0x56ab8f(0x321)]+_0x56ab8f(0x33d)+_0x4e30a5['filename']+':'+_0x4e30a5[_0x56ab8f(0x2f6)]+':'+_0x4e30a5[_0x56ab8f(0x3c0)]+'\x0a'+(((_0x58f585=_0x4e30a5[_0x56ab8f(0x3cd)])==null?void 0x0:_0x58f585[_0x56ab8f(0x1a8)])||''));};window['addEventListener'](_0x265d0b(0x3cd),_0xb2d539),this[_0x265d0b(0x119)](()=>{const _0x2ae11c=_0x265d0b;window[_0x2ae11c(0x22e)]('error',_0xb2d539);});}[_0x1a58e5(0x2c5)](){const _0x2a0533=_0x1a58e5;let _0x566ff6=_0x5ba781=>{const _0x20ccc1=_0x7aae;this['_uploadLog'](_0x20ccc1(0x3cd),_0x20ccc1(0x19e)+_0x5ba781[_0x20ccc1(0x3bd)]);};window[_0x2a0533(0x219)](_0x2a0533(0x18f),_0x566ff6),this[_0x2a0533(0x119)](()=>{const _0x53ca11=_0x2a0533;window[_0x53ca11(0x22e)](_0x53ca11(0x18f),_0x566ff6);});}[_0x1a58e5(0x398)](){const _0x3b1809=_0x1a58e5;let _0x400070=this[_0x3b1809(0x3d6)]['error'][_0x3b1809(0x3d9)](this[_0x3b1809(0x3d6)]);this[_0x3b1809(0x3d6)][_0x3b1809(0x3cd)]=(..._0x219e8f)=>{const _0x3e9742=_0x3b1809;let _0x399c19=_0x219e8f[_0x3e9742(0x230)](_0x56ee83=>_0x56ee83 instanceof Error?_0x56ee83[_0x3e9742(0x321)]+'\x0a'+_0x56ee83['stack']:String(_0x56ee83))[_0x3e9742(0x3f1)]('\x20');this['_uploadLog'](_0x3e9742(0x3cd),_0x3e9742(0x1d0)+_0x399c19),_0x400070(..._0x219e8f);},this['disposeWithMe'](()=>{const _0x5e525e=_0x3b1809;this['_logService'][_0x5e525e(0x3cd)]=_0x400070;});}[_0x1a58e5(0x1b5)](_0x141760,_0x16507c){const _0x411b5d=_0x1a58e5;try{let _0x713851={'userId':this[_0x411b5d(0x2e9)],'logLabel':_0x141760,'content':_0x16507c};this[_0x411b5d(0x255)][_0x411b5d(0x387)](_0x411b5d(0x291),{'body':_0x713851})['catch'](()=>{});}catch{}}};_0x36cace=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x35fa89[_0x1a58e5(0x122)]))],_0x36cace);function _0x43b16e(_0x5b90eb){const _0x180376=_0x1a58e5;var _0x1b6d80,_0x1bea0f;let _0x2b7d79=(_0x1b6d80=_0x5b90eb['stageInfo'])==null?void 0x0:_0x1b6d80[_0x180376(0x3ed)],_0x950fea=((_0x1bea0f=_0x5b90eb[_0x180376(0x15d)])==null?void 0x0:_0x1bea0f[_0x180376(0x3f9)])||0x0;return _0x2b7d79===_0x170b1c['FormulaExecuteStageType']['START_CALCULATION']&&_0x950fea>0x0;}function _0x59acf9(_0x2413a3){const _0x350155=_0x1a58e5;return _0x2413a3['functionsExecutedState']===_0x170b1c[_0x350155(0x1f7)][_0x350155(0x2ad)];}let _0x15068b=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x4f21cf,_0x7ed08c,_0x1c45c7,_0x569fd2,_0x52dabe,_0x34b35f,_0x2c2439){const _0x3e0306=_0x1a58e5;super(),this[_0x3e0306(0x39f)]=_0x4f21cf,this[_0x3e0306(0x2d5)]=_0x7ed08c,this[_0x3e0306(0x2ac)]=_0x1c45c7,this[_0x3e0306(0x255)]=_0x569fd2,this[_0x3e0306(0x3e5)]=_0x52dabe,this[_0x3e0306(0x3d6)]=_0x34b35f,this[_0x3e0306(0x135)]=_0x2c2439,_0x42526d(this,_0x3e0306(0x1ff),null),_0x42526d(this,_0x3e0306(0x3af),0x0),_0x42526d(this,'_currentUsage',0x0),_0x42526d(this,'_taskIds',[]),_0x42526d(this,_0x3e0306(0x18c),0x0),this['_initCommandInterceptor']();}[_0x1a58e5(0x21f)](){const _0x2e8579=_0x1a58e5;this[_0x2e8579(0x119)](this[_0x2e8579(0x2d5)][_0x2e8579(0x2ce)]((_0x126226,_0x1769ad)=>{const _0x4b7be4=_0x2e8579;var _0x2090cc;if(_0x126226['id']!==_0x170b1c[_0x4b7be4(0x2e6)]['id'])return;let _0x372619=_0x126226[_0x4b7be4(0x3fb)];if(this['_hasFormulaInDirtyRanges']((_0x2090cc=_0x372619[_0x4b7be4(0x1d3)])==null?[]:_0x2090cc)&&!this['_checkCalculationAvailable']())throw this[_0x4b7be4(0x2e8)](_0x126226,_0x1769ad),this[_0x4b7be4(0x38d)](),new _0x2b0173[(_0x4b7be4(0x319))]();})),this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x24aec5,_0x108cfe)=>{const _0x27a893=_0x2e8579;if(_0x24aec5['id']!==_0x170b1c[_0x27a893(0x25b)]['id'])return;let _0x17a8d5=_0x24aec5[_0x27a893(0x3fb)];if(_0x43b16e(_0x17a8d5)){let _0x52731b=(0x0,_0x2b0173[_0x27a893(0x1b9)])();this['_taskIds'][_0x27a893(0x285)](_0x52731b),this[_0x27a893(0x137)](_0x52731b);}else{if(_0x59acf9(_0x17a8d5)&&this[_0x27a893(0x3bb)]['length']>0x0){let _0x52cc7a=this[_0x27a893(0x3bb)][_0x27a893(0x19c)]();this[_0x27a893(0x343)](_0x52cc7a);}}}));}['dispose'](){const _0x3a5b2f=_0x1a58e5;super['dispose'](),this[_0x3a5b2f(0x187)](),this[_0x3a5b2f(0x3bb)]=[],this[_0x3a5b2f(0x3a9)]=0x0,this[_0x3a5b2f(0x3af)]=0x0,this[_0x3a5b2f(0x18c)]=0x0;}async[_0x1a58e5(0x2e8)](_0x345f28,_0x557750){const _0x5d99eb=_0x1a58e5;for(let _0x3d1521=0x0;_0x3d1521<0x1e;_0x3d1521++)try{if(await this[_0x5d99eb(0x2b2)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x345f28,_0x557750),this[_0x5d99eb(0x39f)][_0x5d99eb(0x265)]({'content':this[_0x5d99eb(0x135)]['t'](_0x5d99eb(0x411)),'type':_0x96a8b5[_0x5d99eb(0x2ff)][_0x5d99eb(0x301)]});return;}await new Promise(_0x120fcc=>{const _0x3d81f7=_0x5d99eb;this[_0x3d81f7(0x1ff)]=window[_0x3d81f7(0x3de)](_0x120fcc,0x3e8);});}catch(_0x348b18){this[_0x5d99eb(0x3d6)][_0x5d99eb(0x3cd)](_0x348b18);}this[_0x5d99eb(0x39f)][_0x5d99eb(0x265)]({'content':this['_localeService']['t'](_0x5d99eb(0x2cc)),'type':_0x96a8b5['MessageType'][_0x5d99eb(0x14c)]});}[_0x1a58e5(0x10d)](_0x8f68b7,_0x244b1b){const _0x29c3f4=_0x1a58e5;try{this['_commandService'][_0x29c3f4(0x37a)](_0x8f68b7['id'],_0x8f68b7[_0x29c3f4(0x3fb)],_0x244b1b);}catch(_0x504b82){this['_logService'][_0x29c3f4(0x3cd)](_0x504b82);}}[_0x1a58e5(0x142)](_0x22cddb,_0x3dac2d){const _0xa3ab06=_0x1a58e5;_0x3dac2d<this['_lastResponseTimestamp']||(this[_0xa3ab06(0x18c)]=_0x3dac2d,this[_0xa3ab06(0x3af)]=Number[_0xa3ab06(0x23a)](_0x22cddb[_0xa3ab06(0x1ed)]),this['_currentUsage']=Number['parseInt'](_0x22cddb['currentUsage']));}async[_0x1a58e5(0x137)](_0x35bdbd){const _0xb163f6=_0x1a58e5;let _0x213e39=Date[_0xb163f6(0x33c)]();try{var _0x1ab2e4,_0x5f4f1d;let _0x38c2bd=((_0x1ab2e4=this[_0xb163f6(0x2ac)]['getConfig'](_0x35fa89[_0xb163f6(0x108)]))==null?void 0x0:_0x1ab2e4[_0xb163f6(0x1bb)])||_0xb163f6(0x100),_0x29b52b=(await this['_httpService'][_0xb163f6(0x387)](_0x38c2bd,{'body':JSON['stringify']({'taskId':_0x35bdbd})}))[_0xb163f6(0x2b3)];if(((_0x5f4f1d=_0x29b52b[_0xb163f6(0x3cd)])==null?void 0x0:_0x5f4f1d[_0xb163f6(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0xb163f6(0x142)](_0x29b52b[_0xb163f6(0x227)],_0x213e39);}catch(_0x3f14ad){this[_0xb163f6(0x3d6)]['error'](_0x3f14ad);}}async[_0x1a58e5(0x2b2)](_0x32b690){const _0x26fdcf=_0x1a58e5;let _0x27ff19=Date['now']();try{var _0x38043e,_0x50c4c6;let _0x1a5435=((_0x38043e=this[_0x26fdcf(0x2ac)]['getConfig'](_0x35fa89[_0x26fdcf(0x108)]))==null?void 0x0:_0x38043e[_0x26fdcf(0x3ee)])||_0x26fdcf(0x382),_0x53876f=_0x32b690?_0x1a5435+_0x26fdcf(0x254)+encodeURIComponent(_0x32b690):_0x1a5435,_0x6ac372=(await this['_httpService'][_0x26fdcf(0x1db)](_0x53876f))[_0x26fdcf(0x2b3)];if(((_0x50c4c6=_0x6ac372[_0x26fdcf(0x3cd)])==null?void 0x0:_0x50c4c6[_0x26fdcf(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0x26fdcf(0x142)](_0x6ac372[_0x26fdcf(0x227)],_0x27ff19);}catch(_0x2da344){this['_logService'][_0x26fdcf(0x3cd)](_0x2da344);}}async[_0x1a58e5(0x343)](_0x2b74df){const _0x331970=_0x1a58e5;let _0x4d8701=Date[_0x331970(0x33c)]();try{var _0x54e6d5,_0xc40a5f;let _0x387e21=((_0x54e6d5=this[_0x331970(0x2ac)][_0x331970(0x2c1)](_0x35fa89[_0x331970(0x108)]))==null?void 0x0:_0x54e6d5[_0x331970(0x372)])||_0x331970(0x216),_0x1396ab=(await this[_0x331970(0x255)]['post'](_0x387e21,{'body':JSON[_0x331970(0x249)]({'taskId':_0x2b74df})}))[_0x331970(0x2b3)];if(((_0xc40a5f=_0x1396ab['error'])==null?void 0x0:_0xc40a5f[_0x331970(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0x331970(0x142)](_0x1396ab[_0x331970(0x227)],_0x4d8701);}catch(_0x4457d1){this[_0x331970(0x3d6)][_0x331970(0x3cd)](_0x4457d1);}}[_0x1a58e5(0x2d0)](){const _0x31e091=_0x1a58e5;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x31e091(0x3af)]-this[_0x31e091(0x3a9)]>0x0;}[_0x1a58e5(0x187)](){const _0x435767=_0x1a58e5;this[_0x435767(0x1ff)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x1a58e5(0x38d)](){const _0x320760=_0x1a58e5;this['_messageService'][_0x320760(0x265)]({'content':this[_0x320760(0x135)]['t'](_0x320760(0x3b6)),'type':_0x96a8b5['MessageType'][_0x320760(0x2bd)]});}[_0x1a58e5(0x2fd)](_0x4fe9b0){const _0x170612=_0x1a58e5;for(let _0x330af3 of _0x4fe9b0){let {unitId:_0x1ace26,sheetId:_0xefedf1,range:_0x1a3965}=_0x330af3,_0x58c16e=this['_univerInstanceService']['getUnit'](_0x1ace26);if(!_0x58c16e)continue;let _0x484c30=_0x58c16e[_0x170612(0x20c)](_0xefedf1);if(!_0x484c30)continue;let _0x4c00bf=_0x484c30[_0x170612(0x277)]();for(let _0x5ee622=_0x1a3965[_0x170612(0x30b)];_0x5ee622<=_0x1a3965['endRow'];_0x5ee622++)for(let _0x25a929=_0x1a3965[_0x170612(0x2b0)];_0x25a929<=_0x1a3965[_0x170612(0x341)];_0x25a929++){let _0x27ca54=_0x4c00bf['getValue'](_0x5ee622,_0x25a929);if(_0x27ca54&&((0x0,_0x2b0173['isFormulaString'])(_0x27ca54['f'])||(0x0,_0x2b0173[_0x170612(0x12f)])(_0x27ca54['si'])))return!0x0;}}return!0x1;}};_0x15068b=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x161125[_0x1a58e5(0x32b)])),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x2a1)]),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x4,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x5,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x6,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x15068b);let _0x54825a=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x5b294b,_0x1a310a,_0xc697d8){const _0x4e5f10=_0x1a58e5;super(),this['_configService']=_0x5b294b,this[_0x4e5f10(0x2f7)]=_0x1a310a,this[_0x4e5f10(0x369)]=_0xc697d8,_0x42526d(this,'_cachedData',new Map()),_0x42526d(this,_0x4e5f10(0x1de),new Map()),_0x42526d(this,'_disabled',!0x1);}['disableLocalCache'](){const _0x14c958=_0x1a58e5;this[_0x14c958(0x2e3)]=!0x0;}[_0x1a58e5(0x305)](){const _0x4504de=_0x1a58e5;this[_0x4504de(0x2e3)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1a58e5(0x34f)](){const _0x52b52c=_0x1a58e5;this[_0x52b52c(0x384)]()['then'](()=>super['dispose']());}async[_0x1a58e5(0x11a)](_0x2ad414){const _0x1fa5c3=_0x1a58e5;return this['_disabled']?null:this[_0x1fa5c3(0x2f7)]['getItem']((0x0,_0x35fa89[_0x1fa5c3(0x273)])(_0x2ad414));}async[_0x1a58e5(0x3b9)](_0x10b76b,_0x128b57){const _0x55cdb0=_0x1a58e5;return!!this[_0x55cdb0(0x2f7)][_0x55cdb0(0x344)]((0x0,_0x35fa89['getLocalCacheKey'])(_0x10b76b),_0x128b57);}async[_0x1a58e5(0x248)](_0x18862f,_0x1b97f1){const _0x26b690=_0x1a58e5;var _0x5060d6;let _0x266654=(_0x5060d6=this[_0x26b690(0x31e)][_0x26b690(0x1db)](_0x18862f))==null?await this[_0x26b690(0x2f7)]['getItem']((0x0,_0x35fa89[_0x26b690(0x273)])(_0x18862f)):_0x5060d6;if(!_0x266654)return;let _0x7e7dd8=Date[_0x26b690(0x33c)](),_0x369aa4=new Date(_0x7e7dd8)[_0x26b690(0x32f)]();await this[_0x26b690(0x2f7)][_0x26b690(0x344)]((0x0,_0x35fa89['getLocalCacheKey'])(_0x18862f)+_0x26b690(0x13d)+_0x7e7dd8,{'reason':_0x1b97f1,'createdAt':_0x369aa4,'data':_0x266654});}[_0x1a58e5(0x329)](_0x4068da,_0x4f06a6,_0xde1b70,_0x22b819){const _0x3b7176=_0x1a58e5;let _0x247c8f=this[_0x3b7176(0x369)][_0x3b7176(0x201)](_0x4068da);this['_cachedData'][_0x3b7176(0x148)](_0x4068da,{'unitID':_0x4068da,'type':_0x4f06a6,'awaitingChangeset':_0xde1b70,'mutations':_0x22b819,'rev':_0x247c8f}),this[_0x3b7176(0x1de)][_0x3b7176(0x2c2)](_0x4068da)||this['_scheduleSaving'](_0x4068da);}[_0x1a58e5(0x2a7)](_0x2769f7){const _0x50e2be=_0x1a58e5;let _0x509e94=this[_0x50e2be(0x1e4)]();_0x509e94===0x0?this[_0x50e2be(0x1d8)](_0x2769f7):this[_0x50e2be(0x1de)][_0x50e2be(0x148)](_0x2769f7,window[_0x50e2be(0x3de)](()=>this['_saveCache'](_0x2769f7),_0x509e94));}[_0x1a58e5(0x1e4)](){const _0x319b48=_0x1a58e5;var _0xe927cc;return(_0xe927cc=this['_configService']['getConfig'](_0x35fa89[_0x319b48(0x2d3)]))==null?_0x35fa89[_0x319b48(0x353)]:_0xe927cc;}[_0x1a58e5(0x1d8)](_0x119d7d){const _0x37e300=_0x1a58e5;let _0x584dc6=this['_saveTaskMap'][_0x37e300(0x1db)](_0x119d7d);return _0x584dc6!==void 0x0&&window[_0x37e300(0x12b)](_0x584dc6),this[_0x37e300(0x2f7)][_0x37e300(0x344)]((0x0,_0x35fa89[_0x37e300(0x273)])(_0x119d7d),this[_0x37e300(0x31e)][_0x37e300(0x1db)](_0x119d7d))['then'](()=>this[_0x37e300(0x1de)][_0x37e300(0x182)](_0x119d7d));}async['exhaustSavingTask'](){const _0x2c524d=_0x1a58e5;let _0x3d21c9=[];this['_saveTaskMap'][_0x2c524d(0xff)]((_0x5c5382,_0x179c61)=>{const _0x127991=_0x2c524d;window['clearTimeout'](_0x5c5382),_0x3d21c9[_0x127991(0x285)](this[_0x127991(0x1d8)](_0x179c61)['then'](()=>{const _0x2f5947=_0x127991;this[_0x2f5947(0x1de)][_0x2f5947(0x182)](_0x179c61);}));}),await Promise[_0x2c524d(0x378)](_0x3d21c9);}};_0x54825a=_0x202e73([_0x215337(0x0,_0x2b0173['IConfigService']),_0x215337(0x1,_0x2b0173['ILocalStorageService']),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0xd76d4d[_0x1a58e5(0x1a4)]))],_0x54825a);var _0x55ff9c=class extends _0x2b0173['RxDisposable']{constructor(){const _0x171b72=_0x1a58e5;super(),_0x42526d(this,_0x171b72(0x328),void 0x0),this[_0x171b72(0x328)]=(0x0,_0xc05c0c[_0x171b72(0x3dd)])(window,_0x171b72(0x32d))[_0x171b72(0x154)]((0x0,_0xc05c0c[_0x171b72(0x1d1)])(this[_0x171b72(0x195)]),(0x0,_0xc05c0c['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0xc05c0c['mapTo'])(void 0x0));}['setParam'](_0xa744f0,_0x26cdd4,_0x31efe5=!0x1){const _0x4365e3=_0x1a58e5;let _0xc4e830=new URL(window[_0x4365e3(0x286)][_0x4365e3(0x15a)]);_0xc4e830[_0x4365e3(0x28c)][_0x4365e3(0x148)](_0xa744f0,_0x26cdd4),_0x31efe5?window[_0x4365e3(0x27c)]['replaceState']('','',_0xc4e830[_0x4365e3(0x3d4)]()):window[_0x4365e3(0x27c)][_0x4365e3(0x172)]('','',_0xc4e830[_0x4365e3(0x3d4)]());}[_0x1a58e5(0x37c)](_0x4edd96,_0x3f1071=!0x1){const _0x1a0802=_0x1a58e5;let _0x1b4219=new URL(window[_0x1a0802(0x286)][_0x1a0802(0x15a)]);_0x1b4219[_0x1a0802(0x28c)][_0x1a0802(0x182)](_0x4edd96),_0x3f1071?window['history']['replaceState']('','',_0x1b4219['toString']()):window['history']['pushState']('','',_0x1b4219[_0x1a0802(0x3d4)]());}['getParam'](_0x19648a){const _0x17f864=_0x1a58e5;var _0x1426a7;return(_0x1426a7=new URL(window[_0x17f864(0x286)][_0x17f864(0x15a)])[_0x17f864(0x28c)][_0x17f864(0x1db)](_0x19648a))==null?void 0x0:_0x1426a7;}};let _0x24efbb=class extends _0x2b0173['Plugin']{constructor(_0x4e056c=_0x494f70,_0x52e43f,_0xbb52d,_0x32819b){const _0x3c4470=_0x1a58e5;super(),this[_0x3c4470(0x1a2)]=_0x4e056c,this[_0x3c4470(0x1f1)]=_0x52e43f,this[_0x3c4470(0x412)]=_0xbb52d,this[_0x3c4470(0x2ac)]=_0x32819b;let {..._0x23e066}=(0x0,_0x2b0173[_0x3c4470(0x10c)])({},_0x494f70,this[_0x3c4470(0x1a2)]);this[_0x3c4470(0x2ac)][_0x3c4470(0x2a5)](_0x3c4470(0x110),_0x23e066);}[_0x1a58e5(0x368)](){const _0x5651be=_0x1a58e5;this[_0x5651be(0x308)](),this['_initDependencies']();}['onRendered'](){const _0x18ad66=_0x1a58e5;this[_0x18ad66(0x107)]();}[_0x1a58e5(0x308)](){const _0xeb28b9=_0x1a58e5;var _0x19a508;let _0x562306=[[_0x2fe220],[_0x15068b],[_0x1ccd84,{'useClass':_0x55ff9c}],[_0x5499b2[_0xeb28b9(0x2a0)],{'useClass':_0x5499b2[_0xeb28b9(0x225)]}],[_0x35fa89[_0xeb28b9(0x128)],{'useClass':_0x54825a}],[_0x1f1a4f],[_0x380180],[_0x3a5ab5],[_0x5077b],[_0x2dbe21]];this[_0xeb28b9(0x1a2)][_0xeb28b9(0x109)]!==!0x1&&_0x562306[_0xeb28b9(0x285)]([_0x583759],[_0x3f2545],[_0x2875ec],[_0x50b94c],[_0x4c54e4],[_0x5b162a]),this['_config']['enableFrontendLog']&&_0x562306[_0xeb28b9(0x285)]([_0x36cace]),(0x0,_0x2b0173[_0xeb28b9(0x222)])(this[_0xeb28b9(0x412)],(0x0,_0x2b0173[_0xeb28b9(0x324)])(_0x562306,(_0x19a508=this[_0xeb28b9(0x1a2)])==null?void 0x0:_0x19a508['override']));}[_0x1a58e5(0x107)](){const _0x30020b=_0x1a58e5;this['_config']['enableDocumentCollaborationUI']!==!0x1&&this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x2b0173['UniverInstanceType'][_0x30020b(0x313)],[_0x2ec85a])),this[_0x30020b(0x119)](this[_0x30020b(0x1f1)][_0x30020b(0x229)](_0x2b0173[_0x30020b(0x102)][_0x30020b(0x104)],[_0x31b326])),this[_0x30020b(0x119)](this['_renderManagerService']['registerRenderModule'](_0x2b0173[_0x30020b(0x102)]['UNIVER_SLIDE'],[_0x85e88f])),this['disposeWithMe'](this[_0x30020b(0x1f1)][_0x30020b(0x229)](_0x2b0173[_0x30020b(0x102)][_0x30020b(0x217)],[_0x57e97e]));}[_0x1a58e5(0x2a2)](){const _0x300382=_0x1a58e5;(0x0,_0x2b0173[_0x300382(0x13a)])(this[_0x300382(0x412)],[[_0x5077b],[_0x1f1a4f],[_0x380180],[_0x3a5ab5],[_0x2dbe21],[_0x15068b]]),this[_0x300382(0x1a2)][_0x300382(0x109)]!==!0x1&&(0x0,_0x2b0173[_0x300382(0x13a)])(this[_0x300382(0x412)],[[_0x4c54e4],[_0x5b162a]]),this[_0x300382(0x1a2)][_0x300382(0x17d)]&&(0x0,_0x2b0173[_0x300382(0x13a)])(this['_injector'],[[_0x36cace]]);}};_0x42526d(_0x24efbb,_0x1a58e5(0x374),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x42526d(_0x24efbb,_0x1a58e5(0x223),_0x546ec3),_0x42526d(_0x24efbb,_0x1a58e5(0x318),_0x5d8e38),_0x24efbb=_0x202e73([(0x0,_0x2b0173[_0x1a58e5(0x383)])(_0x35fa89[_0x1a58e5(0x256)]),_0x215337(0x1,_0x15ed3a[_0x1a58e5(0x32e)]),_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x2a1)])],_0x24efbb);let _0x37fffa=class extends _0x35fa89[_0x1a58e5(0x144)]{constructor(_0x93aef0,_0x518bed,_0x2d8416,_0x5638e5,_0x25f4f6){super(_0x93aef0,_0x518bed,_0x2d8416,_0x5638e5,_0x25f4f6);}async[_0x1a58e5(0x17c)](_0x5839cd){const _0x504d68=_0x1a58e5;let _0x2840de=await this['_getSessionTicket'](),_0x363042=this[_0x504d68(0x26d)](_0x5839cd,_0x2840de);return this[_0x504d68(0x1e0)](_0x363042);}[_0x1a58e5(0x26d)](_0x384a1b,_0x2d37eb){const _0x3b860a=_0x1a58e5;let _0x151a48=typeof window>'u'?new URL(_0x384a1b):new URL(_0x384a1b,window['location'][_0x3b860a(0x2d9)]);_0x151a48[_0x3b860a(0x28c)][_0x3b860a(0x148)](_0x3b860a(0x129),_0x2d37eb);let _0x463c0b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3b860a(0x286)][_0x3b860a(0x211)]);return _0x463c0b[_0x3b860a(0x1db)](_0x3b860a(0x31d))&&_0x151a48[_0x3b860a(0x28c)][_0x3b860a(0x148)](_0x3b860a(0x31d),_0x463c0b[_0x3b860a(0x1db)](_0x3b860a(0x31d))),_0x151a48['toString']();}async[_0x1a58e5(0x1b8)](){const _0x273069=_0x1a58e5;var _0x3e84b5,_0x35c0c2,_0x232bef;let _0x4c042c=this[_0x273069(0x2ac)][_0x273069(0x2c1)](_0x35fa89[_0x273069(0x108)]),_0x8920ef=(_0x3e84b5=_0x4c042c==null?void 0x0:_0x4c042c[_0x273069(0x27d)])==null?_0x35fa89['DEFAULT_WS_SESSION_TICKET_URL']:_0x3e84b5;return(_0x35c0c2=(_0x232bef=(await this[_0x273069(0x255)][_0x273069(0x1db)](_0x8920ef,{'headers':{'Content-Type':_0x273069(0x36b)}}))[_0x273069(0x2b3)])==null?void 0x0:_0x232bef[_0x273069(0x3c6)])==null?'':_0x35c0c2;}};_0x37fffa=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173['Inject'])(_0x2b0173['Injector'])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2['HTTPService'])),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x2a1)]),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x4,_0xd76d4d[_0x1a58e5(0x159)])],_0x37fffa);let _0x124024=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x504b27,_0x16f56e,_0x27bd9e){const _0x4b5e5a=_0x1a58e5;super(),this[_0x4b5e5a(0x176)]=_0x504b27,this[_0x4b5e5a(0x255)]=_0x16f56e,this['_configService']=_0x27bd9e;}async[_0x1a58e5(0x105)](_0x76f06d,_0x291ca3,_0xefdff2,..._0x48e3c5){const _0x5cadf8=_0x1a58e5;var _0xf7eecf,_0x410231,_0x7d9256,_0x12974e;let _0x3f2817=this[_0x5cadf8(0x176)][_0x5cadf8(0x215)]();if(!_0x3f2817)throw Error(_0x5cadf8(0x1f2));let _0x178624=((_0xf7eecf=this[_0x5cadf8(0x2ac)][_0x5cadf8(0x2c1)](_0x35fa89[_0x5cadf8(0x345)]))==null?_0x35fa89[_0x5cadf8(0x406)]:_0xf7eecf)+'/'+_0x76f06d+_0x5cadf8(0x20e)+_0x291ca3,_0x1d9916={'scriptId':_0x76f06d,'runId':(_0x410231=new URL(window['location'][_0x5cadf8(0x15a)])['searchParams']['get'](_0x5cadf8(0x31d)))==null?'':_0x410231,'function':_0x291ca3,'unitId':_0x3f2817[_0x5cadf8(0x36d)](),'argsOfFunction':JSON[_0x5cadf8(0x249)](_0x48e3c5),'invokeId':(_0x7d9256=_0xefdff2[_0x5cadf8(0x22b)])==null?'':_0x7d9256,'executionId':(_0x12974e=_0xefdff2[_0x5cadf8(0x1b0)])==null?'':_0x12974e};try{let _0x1b1ed8=await this[_0x5cadf8(0x255)][_0x5cadf8(0x387)](_0x178624,{'body':_0x1d9916});return _0x1b1ed8['body']['error']&&_0x1b1ed8[_0x5cadf8(0x2b3)][_0x5cadf8(0x3cd)][_0x5cadf8(0x2be)]!==_0x2e0273[_0x5cadf8(0x113)]['OK']?_0x5cadf8(0x179):_0x1b1ed8['body'][_0x5cadf8(0x240)];}catch{return _0x5cadf8(0x179);}}};_0x124024=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x2,_0x2b0173['IConfigService'])],_0x124024);let _0x5bfddd=0x7530,_0x10b693='ACTIVE_UNIT_EVENT_CHANNEL';var _0x5a01e1=class extends _0x2b0173['Disposable']{constructor(){const _0xc5afa7=_0x1a58e5;super(),_0x42526d(this,_0xc5afa7(0x3a5),(0x0,_0x2b0173[_0xc5afa7(0x1b9)])()),_0x42526d(this,_0xc5afa7(0x1c9),new Set()),_0x42526d(this,'_unitOnClients',new Map()),_0x42526d(this,_0xc5afa7(0x131),null),_0x42526d(this,'_clearOtherTimers',new Map()),_0x42526d(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x3352ff=_0x1a58e5;super['dispose'](),this[_0x3352ff(0x2cb)]['forEach']((_0x297acf,_0x2ac88a)=>this[_0x3352ff(0x29e)](_0x2ac88a)),this['_heartbeatTimer']&&window[_0x3352ff(0x40f)](this[_0x3352ff(0x131)]);}[_0x1a58e5(0x116)](_0x517761){const _0x3c4e91=_0x1a58e5;return this['_ensureSubject'](_0x517761)[_0x3c4e91(0x154)]((0x0,_0xc05c0c[_0x3c4e91(0x342)])());}[_0x1a58e5(0x338)](_0x5cb948){const _0x3b8932=_0x1a58e5;this[_0x3b8932(0x1c9)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3b8932(0x1c9)]['add'](_0x5cb948),this[_0x3b8932(0x242)]({'type':0x0,'memberID':this[_0x3b8932(0x3a5)],'unitIDs':[_0x5cb948],'isForwarded':!0x1});}[_0x1a58e5(0x17b)](_0x12fa77){const _0xfe222=_0x1a58e5;this[_0xfe222(0x1c9)][_0xfe222(0x182)](_0x12fa77),this['_selfUnitIDs'][_0xfe222(0x332)]===0x0&&this[_0xfe222(0x131)]&&window[_0xfe222(0x40f)](this['_heartbeatTimer']);}['_init'](){const _0x2819ea=_0x1a58e5;this['disposeWithMe']((0x0,_0x2b0173[_0x2819ea(0x399)])((0x0,_0xc05c0c[_0x2819ea(0x3dd)])(window,_0x2819ea(0x402))[_0x2819ea(0x224)](_0x41941b=>{const _0x477879=_0x2819ea;if(_0x41941b[_0x477879(0x2cd)]!==_0x10b693||!_0x41941b[_0x477879(0x25c)])return;let _0x5857f0=JSON['parse'](_0x41941b[_0x477879(0x25c)]);this[_0x477879(0x3fd)](_0x5857f0);}))),window[_0x2819ea(0x219)]('unload',()=>this[_0x2819ea(0x242)]({'type':0x1,'memberID':this[_0x2819ea(0x3a5)],'unitIDs':Array[_0x2819ea(0x2bb)](this[_0x2819ea(0x1c9)])}));}['_handleEvent'](_0x5cb023){const _0x53ac1f=_0x1a58e5;switch(_0x5cb023[_0x53ac1f(0x350)]){case 0x0:this['_handleJoinEvent'](_0x5cb023);break;case 0x1:this[_0x53ac1f(0x127)](_0x5cb023);break;case 0x2:this[_0x53ac1f(0x1ad)](_0x5cb023);break;}}[_0x1a58e5(0x3d1)](_0x22f4ef){const _0x495808=_0x1a58e5;let {unitIDs:_0x55c31f,memberID:_0x5bdc42,isForwarded:_0x855e19}=_0x22f4ef;_0x55c31f['forEach'](_0x4fca97=>{const _0x24e2eb=_0x7aae;if(!_0x855e19&&this[_0x24e2eb(0x2c7)][_0x24e2eb(0x2c2)](_0x4fca97)&&this[_0x24e2eb(0x1b1)](_0x4fca97)['next'](_0x35fa89[_0x24e2eb(0x3c4)][_0x24e2eb(0x16a)]),!this[_0x24e2eb(0x2c7)][_0x24e2eb(0x2c2)](_0x4fca97)||!this[_0x24e2eb(0x2c7)][_0x24e2eb(0x1db)](_0x4fca97)['has'](_0x5bdc42)){let _0x1ec68a=this[_0x24e2eb(0x2c7)][_0x24e2eb(0x1db)](_0x4fca97)||new Set();_0x1ec68a['add'](_0x5bdc42),this[_0x24e2eb(0x2c7)][_0x24e2eb(0x148)](_0x4fca97,_0x1ec68a),this[_0x24e2eb(0x337)](_0x5bdc42);}}),_0x855e19||this['_send']({'type':0x0,'memberID':this[_0x495808(0x3a5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1a58e5(0x337)](_0x327b0b){const _0x48cc8f=_0x1a58e5;this[_0x48cc8f(0x29e)](_0x327b0b);let _0x1f06a8=window[_0x48cc8f(0x3de)](()=>{const _0xf70d92=_0x48cc8f;this[_0xf70d92(0x2c7)][_0xf70d92(0xff)](_0x2e11c4=>{const _0x17283e=_0xf70d92;_0x2e11c4[_0x17283e(0x182)](_0x327b0b);});},_0x5bfddd*0x2);this['_clearOtherTimers'][_0x48cc8f(0x148)](_0x327b0b,_0x1f06a8);}[_0x1a58e5(0x29e)](_0xcdb2a2){const _0x507515=_0x1a58e5;if(this[_0x507515(0x2cb)][_0x507515(0x2c2)](_0xcdb2a2)){let _0x303682=this[_0x507515(0x2cb)][_0x507515(0x1db)](_0xcdb2a2);_0x303682&&window['clearTimeout'](_0x303682),this['_clearOtherTimers']['set'](_0xcdb2a2,null);}}[_0x1a58e5(0x127)](_0x4c6ef3){const _0x9cd4f4=_0x1a58e5;let {memberID:_0x209f45,unitIDs:_0x1743b1}=_0x4c6ef3;_0x1743b1[_0x9cd4f4(0xff)](_0x25359f=>{const _0xc751ab=_0x9cd4f4;var _0x3d8f0a;let _0x244ded=this[_0xc751ab(0x2c7)]['get'](_0x25359f);_0x244ded&&(_0x244ded['delete'](_0x209f45),(_0x3d8f0a=this[_0xc751ab(0x1b1)](_0x25359f))==null||_0x3d8f0a[_0xc751ab(0x3b0)](_0x244ded['size']===0x0?_0x35fa89[_0xc751ab(0x3c4)][_0xc751ab(0x3db)]:_0x35fa89[_0xc751ab(0x3c4)][_0xc751ab(0x16a)]));}),this[_0x9cd4f4(0x29e)](_0x209f45);}['_handleHeartbeatEvent'](_0x241f54){const _0x12c572=_0x1a58e5;this[_0x12c572(0x337)](_0x241f54[_0x12c572(0x3f6)]);}['_send'](_0x54513d){const _0x46cdf2=_0x1a58e5;localStorage[_0x46cdf2(0x344)](_0x10b693,JSON['stringify'](_0x54513d));}['_scheduleHeartbeat'](){const _0x411ae8=_0x1a58e5;this[_0x411ae8(0x131)]=window[_0x411ae8(0x34e)](()=>{const _0x18733c=_0x411ae8;this['_send']({'type':0x2,'memberID':this[_0x18733c(0x3a5)]});},_0x5bfddd);}['_ensureSubject'](_0x51a02f){const _0x4a4833=_0x1a58e5;return this[_0x4a4833(0x389)]['has'](_0x51a02f)||this[_0x4a4833(0x389)][_0x4a4833(0x148)](_0x51a02f,new _0xc05c0c[(_0x4a4833(0x334))](_0x35fa89['UnitStatus'][_0x4a4833(0x3db)])),this[_0x4a4833(0x389)][_0x4a4833(0x1db)](_0x51a02f);}};Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x400),{'enumerable':!0x0,'get':function(){return _0x37fffa;}}),Object['defineProperty'](_0x158154,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x1f1a4f;}}),_0x158154['IURLService']=_0x1ccd84,Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x18a),{'enumerable':!0x0,'get':function(){return _0x124024;}}),_0x158154[_0x1a58e5(0x214)]=_0x4e747a,Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x354),{'enumerable':!0x0,'get':function(){return _0x24efbb;}}),_0x158154['WebBrowserSingleActiveUnitService']=_0x5a01e1;}));function _0x32c8(){const _0x374349=['useRef','_status$','getTypeOfUnitDisposed$','INotificationService','_collabCursorState$','_entities','DocSkeletonManagerService','OFFLINE','_removeClearOtherTimer','unit','ISocketService','IConfigService','_initDependencies','_labelPosition','_eventUnsubscribe','setConfig','_initResize','_scheduleSaving','getCurrentSelections','_shapes','collaboration-client-ui.collabStatus.synced','2423088YgsyaZ','_configService','SUCCESS','_onCursorUpdate','cursorInfo','startColumn','http://www.w3.org/2000/svg','_getFormulaLimitStatus','body','UPDATE_CURSOR','offsetY','_docTransformStateCacheService','Injector','_startSheetCollabCursor','@univerjs/design','clipPath','from','children','Loading','code','_sheetSkeletonManagerService','_highlightSecond','getConfig','has','default','getVpScrollXYInfoByPosToVp','_initUnhandledRejectionListener','resolve','_unitOnClients','roomMembers','asObservable','rxjs','_clearOtherTimers','collaboration-client-ui.formula.calculation.unable','key','beforeCommandExecuted','defineProperty','_checkCalculationAvailable','0\x200\x2016\x2016','React','LOCAL_CACHE_INTERVAL_KEY','COLORS','_commandService','currentTheme$','kind','saveTaskMap','origin','FromArray','_toggleOnline','registerComponent','Tooltip','#0B9EFB','\x20-\x20','with','addObjects','getBoardElementRenderObjectKey','_disabled','SetTextSelectionsOperation','replace','SetFormulaCalculationStartMutation','#FFF','_checkAndWaitForCalculationPermission','_memberID','useDependency','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fill','M0\x200H16V16H0z','SetWorksheetActivateCommand','colorClass','Vector2','univer-m-0\x20univer-p-0','spin','MoveRangeCommandId','state$','exports','lineno','_localStorageService','displayName','height','evenodd','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','range','_hasFormulaInDirtyRanges','_updateSubUnitFromURLParams','MessageType','defs','Success','react','_assignedColors','save','enableLocalCache','_drawTextRange','_colorIndex','_registerDependencies','_range','getStateCache','startRow','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','transformByState','values','Warning','switchMap','_boardElementStateService','_localCacheService','UNIVER_DOC','status','CollaborationStatus','collaboration-client-ui.collaboration.offline-data-not-saved','setShapeProps','version','CanceledError','UniverRpc','string','IUniverInstanceService','runId','_cachedData','restore','_initEvent','message','collab-text-anchor-','RxDisposable','mergeOverrideWithDependencies','univer-text-blue-500','HTTPService','univer-h-8\x20univer-w-8\x20univer-rounded-lg','urlChange$','updateOfflineData','UniverUi','IMessageService','clsx','popstate','IRenderManagerService','toISOString','_collabSessionService','toPrimitive','size','theme$','BehaviorSubject','some','_offsetY','_scheduleClearOtherTimer','editingUnit','min','pageManager','angle','now','\x20at\x20','_cursorInfo$','white','serializeRangeWithSheet','endColumn','distinctUntilChanged','_releaseCalculationLimit','setItem','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','flatMap','operators','red.300','isActive','right','collab-text-range-','UniverProCollaborationClient','handleIRemoveCol','setInterval','dispose','type','subscribeEvent','@univerjs/engine-render','LOCAL_CACHE_INTERVAL','UniverCollaborationClientUIPlugin','_beforeCloseService','_context','bold\x2013px\x20Arial,\x20sans-serif','transformMutationsWithChangeset','_getSheetObject','collaboration-client-ui.conflict.content','closePath','getValue','RegularPolygon','_removeCollabCursors','getUnhiddenWorksheets','_startBlinking','object','@univerjs/ui','_draw','getCoordByCell','slide-element-selection','redoState','roomMembers$','onStarting','_revisionService','_getSceneObjectByKey','application/json','focusedId','getUnitId','jsx','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','reconnect','length','releaseFormulaLimitUrl','idSuffix','pluginName','transform','HEADER_MENU','BuiltInUIPart','all','fromEventSubject','executeCommand','doc.mutation.rich-text-editing','removeParam','CONFLICT','bottom','AWAITING','_cursorShapes','width','/universer-api/license/formula/limit/status','DependentOn','exhaustSavingTask','board-element-selection','USERS_LEAVE','post','setLineDash','_unitStatus','univer-text-orange-500','getCurrentTypeOfUnit$','random','_showGuardMessage','indicator','none','current','getCurrentSkeleton','DisposableCollection','SheetSkeletonManagerService','handleDeleteRangeMoveLeft','DocStateChangeManagerService','handleDeleteRangeMoveUp','_urlService','_monkeyPatchLogService','toDisposable','_hovered','_refreshCollabCursors','includes','getOffsetConfig','_startDocCollabCursor','_messageService','unitID','isTransformMutationFailure','function','_getMergeRange','...','_id','symbol','max','getMember','_currentUsage','_transformService','getCollabCursors$','VIEW_MAIN','useCallback','findNodePositionByCharIndex','_maxFormulaLimit','next','_drawAnchor','1em','NOT_COLLAB','_scheduleRender','_lastPointer','collaboration-client-ui.formula.calculation.waiting','highlightSecond','684gKZhYj','saveOfflineData','removeObjects','_taskIds','isArray','reason','0.2)','BOARD_TOP_RIGHT_MENU_LEADING_PART','colno','@univerjs/network','MemberService','on-line-icon_clip0_910_349','UnitStatus','_render','ticket','getMergeData','selectedIds','cursorInfo$','registerRefRange','6RDBTvc','getRangePointData','error','clear','toRgbString','@univerjs/protocol','_handleJoinEvent','_initUserListener','ONLINE','toString','name','_logService','Unknown\x20user','data','bind','collaboration-client-ui.collabClient.tooltip.reconnect','NO_OTHER_CLIENTS_EDITING','getSheetId','fromEvent','setTimeout','CollaborationEvent','CollaborationController','lineWidth','strokeStyle','find','Subject','_univerInstanceService','lineTo','buildDrawingOKey','_stopBlinking','@univerjs-pro/collaboration','getObjectIncludeInGroup','connectInjector','split','stage','getFormulaLimitStatusUrl','createInstance','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','join','event$','_showText','UniverDesign','_roomMembers$','memberID','ColorKit','UniverSheets','totalFormulasToCalculate','strokeWidth','params','OnLineIcon','_handleEvent','contains','univerjs-icon\x20univerjs-icon-','BrowserCollaborationSocketService','getColorFromTheme','storage','deepClone','_initStatusComponent','url(#off-line-icon_clip0_910_343)','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_anchorDot','svg','filter','_labelHorizontalPosition','_onRefRangeChange',',\x200.2)','_docSkeletonManagerService','_cursor','clearInterval','getParam','collaboration-client-ui.formula.calculation.started','_injector','FETCH_MISS','use','EffectRefRangId','_startSlideCollabCursor','transformRemoteChangeset','forEach','/universer-api/license/formula/limit/start','@univerjs-pro/boards-ui','UniverInstanceType','_themeService','UNIVER_SHEET','runOnServer','toStringTag','_registerRenderDependencies','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','enableDocumentCollaborationUI','_document','_renderScheduled','merge','_applyCommand','add','unshift','collaboration-client-ui.config','AWAITING_WITH_PENDING','rgba(255,\x20255,\x20255,\x200.01)','ErrorCode','[CollaborationDataLoaderController]','icon','getUnitStatus$','_refRangeService','univer-inline-flex\x20univer-items-center\x20univer-justify-center','disposeWithMe','loadOfflineData','UniverProCollaboration','button','_hover','collaboration-client-ui.collabStatus.syncing','410898xNIGLv','defIds','Rectangle','CollaborationSessionService','loadUnit','_docStateChangeManagerService','m1Prime','UniverProCollaborationClientUi','_handleLeaveEvent','ILocalCacheService','sessionTicket','isTransformMutationsWithChangesetSuccess','clearTimeout','then','getRealBound','_handleHover','isFormulaId','_initStatusListener','_heartbeatTimer','top','_textBubble','getUndoRedoMutationParamsCache','_localeService','SHEET_VIEWPORT_KEY','_startCalculationLimit','activeSheet$','collaboration-client-ui.session.connection-failed','touchDependencies','_hideTimer','@univerjs-pro/slides-ui',':backup:','DOC_RANGE_TYPE','_scene','PERMISSION_DENIED','Rect','_setFormulaLimitStatus','_anchor','CollaborationSocketService','init','SUBMIT_CHANGESET_TIMEOUT','highlight','set','subUnitId','univer-text-gray-400','NodePositionConvertToCursor','Error','makeDirty','syncEditingCollabCursor','LoadingMultiIcon','transformIMECache','_updateCollabCursors','_getObjectBounds','Disposable','pipe','@univerjs/docs-ui','getTypeOfUnitAdded$','onCommandExecuted','onTransformChange$','ISnapshotServerService','href','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','rgba','stageInfo','DeleteRangeMoveUpCommandId','removeObject','drawWith','1804uVChBY','sheetID','getCurrentUnitOfType','source','DocIMEInputManagerService','backgroundColor','InsertColCommandId','sessionStatus$','_online','OTHER_CLIENTS_EDITING','url(#$1','registerBeforeClose','_collaborationSessionService','round','_isApplyingOverlays','getRenderById','mask','pushState','deserializeRangeWithSheet','text','UNIVER_SLIDE','_instanceService','saveImage','_dataLoaderService','Failed','1384185COFcID','disposeUnit','createSocket','enableFrontendLog','56vYqBGQ','debug','ISlideDrawingStateService','collaboration-client-ui.collabStatus.conflict','delete','4280HmpbMs','setAlpha','createElement','debounce','_clearPolling','focused$','loading-multi-icon','RemoteUniscriptService','collaboration-client-ui.collabStatus.offline','_lastResponseTimestamp','RichTextEditingMutation','currentSkeleton$','unhandledrejection','send','_collaborationController','getMemberID','109913sKbNgw','_highlight','dispose$','DocSelectionManagerService','collaboration-client-ui.collaboration.single-unit.warning','@univerjs/docs','useMemo','InsertRowCommandId','CLOSE_ROOM','shift','getCollabEntity$','[Unhandled\x20Rejection]:\x20','collaboration-client-ui.collabStatus.notCollab','_onCursorDelete','beginPath','_config','collab-rect-range-','RevisionService','m2Prime','257215yjlSPL','_backgroundColor','stack','getId','IImageIoService','collaboration-client-ui.collabStatus.fetchMiss','textRanges','_handleHeartbeatEvent','whenReady','runRefRangeMutations','executionId','_ensureSubject','SYNCED','_updateURLWithCurrentState','getObject','_uploadLog','ThemeService','_transformPreviousActiveRange','_getSessionTicket','generateRandomId','isInternalEditorID','startFormulaLimitUrl','font','univer-flex\x20univer-items-center\x20univer-justify-center','_startBoardCollabCursor','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','complete','xlink:href','forwardRef','labelPosition','green.600','getActivePageId','IBeforeCloseService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_color','_selfUnitIDs','purple.300','onPointerEnter$','@univerjs-pro/collaboration-client','_colorAssignService','combineLatest','throttleTime','[LogService\x20Error]:\x20','takeUntil','Shape','dirtyRanges','yellow.400','getCellPositionByOffset','TEXT_RANGE_LAYER_INDEX','getColor','_saveCache','CollaborationUIEventId','hovered','get','Workbook','hide','_saveTaskMap','constructor','_doCreateSocket','_imageIoService','color','_pointerMoveDisposable','_getSaveTimeout','tooltipKey','black','left','onPointerLeave$','UniverSheetsUi','startsWith','getAncestorScale','_init','maxFormulaLimit','collabCursorState$','_blinkTimer','slice','_renderManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','row','_name','_latestCursors','tag','FormulaExecutedStateType','univer-text-red-500','@univerjs/sheets','getSheetObject','substring','_blinkIntervalTimer','entries','amd','_pollingInterval','rgba(','getCurrentRevOfUnit','ICommandService','subunit','IRemoteInstanceService','SOCKET_FAILED','_toggleOffline','colorChannel1','assign','span','evented','UniverProBoardsUi','getSheetBySheetId','getActiveSheet','/run/','Tools','arc','search','_initEntityListener','call','SheetCollabCursorShape','getFocusedUnit','/universer-api/license/formula/limit/done','UNIVER_BOARD','measureText','addEventListener','_syncEditingCollabCursorService','resize','i18nKey','fillStyle','addObject','_initCommandInterceptor','_uiPartsService','_initWindowErrorListener','registerDependencies','packageName','subscribe','WebSocketService','_cursors','limitInfo','fillText','registerRenderModule','useObservable','invokeId','univer-appearance-none','transformMutation','removeEventListener','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','map','eventID','setOffsetY','true','Module','_getAnchorBounding','setUndoRedoMutationParamsCache','ranges','SOCKET_FAILED_RETRY','path','parseInt','_docTransformIMECacheService','showText','_isBlinkVisible','_collabCursorController','board-collab-cursor-','result','clickable','_send','polite','_transformUndoRedoStack','TEXT','_entityInit$','Inject','backupOfflineData','stringify','SetSelectionsOperation','_memberService','column','debounceTime','IDocClipboardService','sheetId','context','_docTransformSelectionsService','handleMoveRange','_transformHistoryAndStateStack','?taskId=','_httpService','UniverCollaborationClientPlugin','rgb','scene','collaboration-client-ui.permission.title','_notificationService','SetFormulaCalculationNotificationMutation','newValue','off-line-icon_clip0_910_343','ILogService','LocaleService','_getScale','onMouseMove','47570KEYzXf','assignAColorForMemberID','mutations','show','[Window\x20Error]:\x20','requireSession','unitId','CollaborationUIEventService','collaboration-client-ui.session.collaboration-timeout','_session','UniverProSlidesUi','_createSocketURL','UniverDocsUi','parse','url(#on-line-icon_clip0_910_349)','handleInsertRow','selection','getLocalCacheKey','triggerDblclick','_docClipboardService','_docSyncEditingCollabCursorService','getCellMatrix','getSnapshot','static','unsubscribe','stroke','history','wsSessionTicketUrl','attrs','currentColor','UniverEngineRender','univer-border-none\x20univer-bg-transparent','imageSourceType','pulse','Enter','push','location','Optional','setParam','transformSelections','getUniverSheetInstance','ITransformService','searchParams','getSkeleton','_drawRectRange','decorate','strokeRect','/universer-api/frontend/logs','_initCommandExecutedListener','addObject$','_updateLocalCursor','IBoardElementStateService'];_0x32c8=function(){return _0x374349;};return _0x32c8();}
1
+ function _0x3a65(_0x115474,_0x2c5b0f){_0x115474=_0x115474-0x67;const _0x485a2e=_0x485a();let _0x3a6571=_0x485a2e[_0x115474];return _0x3a6571;}function _0x485a(){const _0x40c659=['_id','_selfUnitIDs','_localStorageService','pipe','message','_handleLeaveEvent','USERS_LEAVE','forEach','_registerDependencies','WebBrowserSingleActiveUnitService','RxDisposable','collaboration-client-ui.collabStatus.fetchMiss','_docTransformIMECacheService','reload','_uploadLog','object','subUnitId','_handoffPreview','forwardRef','takeUntil','limitInfo','SheetCollabCursorShape','handleIRemoveCol','getActivePageId','_httpService','_color','1HytODF','round','UniverEngineRender','INotificationService','collaboration-client-ui.conflict.content','distinctUntilChanged','activeSheet$','_highlight','collaboration-client-ui.session.will-retry','getCurrentTypeOfUnit$','mergeOverrideWithDependencies','IBoardElementStateService','_monkeyPatchLogService','handoff','TEXT_RANGE_LAYER_INDEX','Vector2','idSuffix','handleMoveRange','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','M0\x200H16V16H0z','add','code','DependentOn','_renderManagerService','collab-rect-range-','div','RemoveColCommandId','values','_highlightSecond','_messageService','_anchorDot','_messageIds','use','getAncestorScale','_setInteractionBlocked','indicator','m1Prime','handleInsertRow','fill','getConfig','arc','fromEvent','addObject$','univer-m-0\x20univer-p-0','CollaborationUIEventId','_draw','lineWidth','collaboration-client-ui.session.connection-failed','collaboration-client-ui.collaboration.single-unit.warning','LocaleService','_getSessionTicket','Loading','onRendered','constructor','_blinkIntervalTimer','split','AWAITING','getSheetObject','@univerjs/rpc','column','transformSelections','_notificationService','getUnitId','span','_getScale','\x20at\x20','addHandlerCallback','string','activeSlideId$','dark:focus:!univer-ring-offset-gray-800','unsubscribe','textRanges','@univerjs/ui','currentUsage','memberID','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_configService','isInternalEditorID','toISOString','ERROR','_initEvent','_name','slide-element-selection','_urlService','rgba(','SetDocZoomRatioOperation','labelPosition','saveTaskMap','_isVisibleUnit','searchParams','then','beforeCommandExecuted','OTHER_CLIENT_EDITING','toRgbString','_lastResponseTimestamp','content','getOffsetConfig','height','addObject','size','combineLatest','buildDrawingOKey','addClipboardHook','updateOfflineData','Tooltip','UniverSheetsUi','_getSaveTimeout','_shortcutService','_logService','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-white','DataLoaderService','_assignedColors','_getMergeRange','_send','ticket','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','connectInjector','snapshot-loading-interaction-guard','_isBlinkVisible','deserializeRangeWithSheet','_ensureSubject','_docTransformStateCacheService','PERMISSION_DENIED','TEXT','OFFLINE','getUnit','_unitStatus','RefRangeService','collabCursorState$','registerDependencies','react/jsx-runtime','_docSkeletonManagerService','contains','shareReplay','labelHorizontalPosition','_collaborationUIEventService','getTypeOfUnitDisposed$','527778Nfczgt','_hovered','/universer-api/license/formula/limit/start','startFormulaLimitUrl','_backgroundColor','_textBubble','/universer-api/license/formula/limit/done','highlightSecond','Module','join','_showGuardMessage','remove','getActiveRange','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','_startBoardCollabCursor','board-collab-cursor-','VIEW_MAIN','toDisposable','Plugin','_online','params','executionId','set','startsWith','UniverNetwork','collaboration-client-ui.config','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','handleInsertRangeMoveRight','_updateSheetPreview','ColorKit','default','Inject','pluginName','getRangePointData','_transformService','univer-text-orange-500','_startCalculationLimit','transformStateCache','length','_heartbeatTimer','_collaborationController','univer-text-gray-400','_hidePreview','timedOut','RemoteUniscriptService','ThemeService','_injector','redoState','#4f46e5','mapTo','_config','onMouseMove','setTimeout','stroke','replace','from','push','_roomMembers$','_toggleOnline','getUnitStatus$','_labelPosition','_updateLocalCursor','getObject','disposeWithMe','SetTextSelectionsOperation','wsSessionTicketUrl','RevisionService','previewReady','unhandledrejection','_startDocCollabCursor','createSocket','socket$','currentColor','ONLINE','warning-icon','throttleTime','debug','_toggleOffline','key','_cachedData','IConfigService','Shape','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','focusedId','selectedIds','Failed','sessionStatus$','_colorIndex','loadUnit','removeObjects','stageInfo','clsx','@univerjs-pro/collaboration','_context','UniverProtocol','handleInsertRangeMoveDown','getMember','_setupBeforeClosingHandler','engine','toPrimitive','_offsetY','_range','path','_initDependencies','FromArray','DocSelectionManagerService','getUnhiddenWorksheets','search','useObservable','removeParam','merge','LOCAL_CACHE_INTERVAL','ISheetLoadingRenderService','UniverDocsUi','blue.400','roomMembers','dirtyRanges','_transformUndoRedoStack','_initStatusComponent','resize','_getSheetObject','@univerjs/engine-formula','setUndoRedoMutationParamsCache','getId','undoState','bold\x2013px\x20Arial,\x20sans-serif','_entityInit$','onPointerEnter$','function','filter','cursorInfo$','isFormulaString','assign','deepClone','subscribe','0.2)','subunit','width','_setFormulaLimitStatus','isTransformMutationFailure','SetWorksheetActivateCommand','Rect','_scheduleHeartbeat','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_localeService','setActiveRange','_handleEvent','makeDirty','getUniverSheetInstance','OffLineIcon','3236978NxRNEj','prototype','_unitOnClients','startColumn','addObjects','rxjs/operators','SetFormulaCalculationNotificationMutation','isArray','runOnServer','_updateMessage','drawWith','call','_docStateChangeManagerService','OTHER_CLIENTS_EDITING','strokeStyle','_startSlideCollabCursor','moveTo','_eventUnsubscribe','_shapes','_getFormulaLimitStatus','angle','clearTimeout','useCallback','getCurrentUnitOfType','RegularPolygon','AWAITING_WITH_PENDING','unitId','_removeCollabCursors','80ZqKBxr','UniverRpc','onPointerMove$','findNodePositionByCharIndex','START_CALCULATION','BehaviorSubject','_registerRenderDependencies','univer-transition-all\x20univer-duration-200','row','_renderScheduled','Warning',':backup:','_anchor','clickable','right','cursorInfo','_sheetLoadingRenderService','_collabCursorController','[CollaborationDataLoaderController]','UniverCollaborationClientPlugin','post','collaboration-client-ui.permission.content','UniverCore','getParam','_maxFormulaLimit','createIdentifier','UniverUi','_getSceneObjectByKey','_showText','application/json','getLocalCacheKey','totalBlocks','_stopBlinking','startPluginsForType','[RemoteUniscriptService]:\x20no\x20focused\x20unit','switchMap','SOCKET_FAILED','showText','React','body','SUBMIT_CHANGESET_TIMEOUT','touchDependencies','_blockProgressWatches','status$','url(#$1','currentTheme$','_updateCollabCursors','stringify','yellow.400','m2Prime','LOADING_BLOCKS','off-line-icon','_snapshotLoadingService','getColor','_getLighterColor','storage','init','collaboration-client-ui.formula.calculation.started','MessageType','0\x200\x2016\x2016','collaboration-client-ui.formula.calculation.unable','2710292uHxTAz','black','_docSyncEditingCollabCursorService','activeSheetId','flatMap','SessionStatus','_localCacheService','triggerDblclick','univer-text-red-500','left','eventID','DocIMEInputManagerService','_cursor','_init','_clearBlockProgressWatch','/universer-api/license/formula/limit/status','requireSession','_themeService','getRenderById','Button','_commandService','NO_OTHER_CLIENTS_EDITING','@univerjs/docs-ui','5772055OSCnVL','url(#on-line-icon_clip0_910_349)','_slideDrawingStateService','UNIVER_DOC','font','location','_handleHeartbeatEvent','_pollingInterval','saveOfflineData','strokeWidth','CanceledError','_isApplyingOverlays','debounceTime','getCurrentSelections','map','range','_colorAssignService','_scheduleSaving','beginPath','UniverProCollaboration','_entities','restore','button','UNIVER_BOARD','getActiveSlide','send','EffectRefRangId','name','delete','history','SnapshotLoadStage','previewCellData','onCommandExecuted','decorate','serializeRangeWithSheet','IRemoteInstanceService','min','getTypeOfUnitAdded$','defineProperty','DesktopCollaborationStatusDisplayController','i18nKey','0\x200\x2017\x2016','registerRefRange','1481095RxSnHo','slice','shift','5982396cswcXr','setOffsetY','text','collaboration-client-ui.collaboration.offline-data-not-saved','colorChannel1','3lnobyx','_uiPartsService','top','DeleteRangeMoveUpCommandId','stack','IUIPartsService','_revisionService','useMemo','_updateSubUnitFromURLParams','CollaborationSessionService','Disposable','runRefRangeMutations','CLOSE_ROOM','LOADING_SNAPSHOT','Fragment','_initCommandInterceptor','getRealBound','ILocalCacheService','event$','getCoordByCell','filename','imageSourceType','symbol','icon','univer-flex\x20univer-items-center\x20univer-justify-center','ITransformService','editingUnit','defs','all','generateRandomId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getColorFromTheme','_onCursorDelete','jsx','strokeRect','@univerjs/docs','getObjectIncludeInGroup','backupOfflineData','collaboration-client-ui.snapshotLoading.refresh','http://www.w3.org/2000/svg','now','Error','_syncEditingCollabCursorService','UnitStatus','UniverDocs','IUniverInstanceService','_instanceService','ISnapshotServerService','getOwnPropertyDescriptor','_latestStates','transformRemoteChangeset','NOT_COLLAB','UNIVER_SLIDE','BrowserCollaborationSocketService','_dataLoaderService','xlink:href','timeoutId','onStarting','Optional','_updateURLWithCurrentState','dispose$','href','bottom','_blinkTimer','ISocketService','_startSheetCollabCursor','saveImage','_previewUnitId','selection','handleDeleteRangeMoveUp','SnapshotLoadingService','_beforeCloseService','MemberService','parseInt','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_interactionBlocked$','transformIMECache','getViewport','_clearTimeoutState','_onRefRangeChange','svg','getUndoRedoMutationParamsCache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_imageIoService','\x20-\x20','collab-text-anchor-','substring','attrs','27535700zwTpIj','M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','doc.mutation.rich-text-editing','IImageIoService','highlight','CollaborationSocketService','UPDATE_CURSOR','removeEventListener','_initStatusListener','disableLocalCache','OnLineIcon','_univerInstanceService','_docClipboardService','_initResize','slide-collab-cursor-','setLineDash','unitID','_cursorInfo$','getCurrentSkeleton','resolve','spin','_setupSubUnitSync','ErrorCode','univer-text-blue-500','clear','DOC_RANGE_TYPE','_collabCursorState$','createElement','BuiltInUIPart','setParam','InsertRangeMoveDownCommandId','iterator','_pointerMoveDisposable','override','collaboration-client-ui.snapshotLoading.timeout','UniverProSlidesUi','get','replaceState','react','color','value','maxFormulaLimit','replaceDocRanges','11CVRjES','data','_applyCommand','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_initUnhandledRejectionListener','pulse','ranges','?taskId=','hovered','_cursorShapes','/universer-api/frontend/logs','univerjs-icon\x20univerjs-icon-','loadedBlocks','scene','functionsExecutedState','SOCKET_FAILED_RETRY','_taskIds','UniverProCollaborationClientUi','removeObject','setAlpha','setConfig','_render','WarningIcon','univer-border-none\x20univer-bg-transparent','onTransformChange$','complete','_getAnchorBounding','#0B9EFB','unshift','UniverDesign','mask','IURLService','getCollabCursors$','hide','handleIRemoveRow','runId','clipPath','status','fromEventSubject','ILogService','totalFormulasToCalculate','RECT','_scheduleClearOtherTimer','_saveTaskMap','addEventListener','endColumn','fillText','tag','UniverInstanceType','isTransformMutationsWithChangesetSuccess','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','red.300','registerBeforeClose','parse','_cursors','executeCommand','@univerjs/engine-render','IShortcutService','Injector','max','_removeClearOtherTimer','dispose','collab-text-range-','@univerjs-pro/collaboration-client-ui','isEditing','_checkAndWaitForCalculationPermission','uni.network.url-service','loadOfflineData','showSkeleton','_collabSessionService','releaseFormulaLimitUrl','reconnect','SUCCESS','DocSkeletonManagerService','rxjs','1em','getValue','_refRangeService','SheetsSelectionsService','tooltipKey','_getSheetLoadingRenderService','jsxs','_latestCursors','sessionTicket','closePath','JOIN_ROOM_FAILED','_startBlinking','has','enableLocalCache','forceDisable','disposeUnit','getVpScrollXYInfoByPosToVp','_collaborationSessionService',',\x200.2)','setItem','includes','context','getSnapshot','setShapeProps','_transformHistoryAndStateStack','stage','toString','show','transform','collaboration-client-ui.collaboration.closeRoom','IMessageService','@univerjs/core','_labelHorizontalPosition','mutations','_disabled','enableFrontendLog','asObservable','registerComponent','static','registerRenderModule','HTTPService','_lastPointer','_drawTextRange','Subject','_hideTimer','@univerjs/network','getCellMatrix','_initCommandExecutedListener','ILocalStorageService','endRow','_createSocketURL','getFocusedUnit','exports','onPointerLeave$','measureText','lineTo','IRenderManagerService','url(#off-line-icon_clip0_910_343)','save','_saveCache','packageName','currentSkeleton$','_sheetSkeletonManagerService','getSheetBySheetId','collaboration-client-ui.collabStatus.conflict','isActive','UNIVER_SHEET','DisposableCollection','_drawRectRange','_docTransformSelectionsService','evented','result','IDocClipboardService','getCurrentRevOfUnit','type','CollaborationEvent','_refreshCollabCursors','NodePositionConvertToCursor','useDependency','exhaustSavingTask','getSheetId','kind','[Window\x20Error]:\x20','urlChange$','transformMutation','_scene','getCollabEntity$','_boardElementStateService','UniverProBoardsUi','1.0.0-alpha.5','pushState','_drawAnchor','_handoffUnitIds','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','polite','startRow','_memberService','_timeoutState$','origin','fillStyle','none','COLORS','DocStateChangeManagerService','SHEET_VIEWPORT_KEY','off-line-icon_clip0_910_343','transformMutationsWithChangeset','_docSkeleton','_status$','colorClass','snapshot-loading-','newValue','timeoutState$','_handleJoinEvent','enableDocumentCollaborationUI','clearInterval','createInstance','assignAColorForMemberID','_scheduleRender','CONFLICT','_transformPreviousActiveRange','operators','workbookShell','_onCursorUpdate','on-line-icon','getStateCache','FETCH_MISS','roomMembers$','backgroundColor','_getObjectBounds','_currentUsage','BOARD_TOP_RIGHT_MENU_LEADING_PART','defIds','current','entries','next','transformByState','_releaseCalculationLimit','setInterval','find','getMergeData','unit','debounce','evenodd','_checkCalculationAvailable','true','_session','getCellPositionByOffset','_shortcutBlock','_clearOtherTimers','@univerjs-pro/collaboration-client','reason','handleInsertCol','Rectangle','green.600','toStringTag','children','with','collaboration-client-ui.permission.title','ICommandService','on-line-icon_clip0_910_349','CollaborationStatus','[Unhandled\x20Rejection]:\x20','CollaborationController','offsetY','Tools','FormulaExecuteStageType','collaboration-client-ui.session.collaboration-timeout','ISlideDrawingStateService','RemoveRowCommandId','displayName','error','selections','_memberID','_hover','board-element-selection','state$','_clearPolling','getMemberID','pageManager','source','collaboration-client-ui.collabStatus.syncing','_handleHover','getActiveSheet','unload','univer-text-green-500','subscribeEvent','PluginService','CollaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','MoveRangeCommandId'];_0x485a=function(){return _0x40c659;};return _0x485a();}(function(_0x1d8392,_0x3a431f){const _0x19447a=_0x3a65,_0x23f591=_0x1d8392();while(!![]){try{const _0x458c87=parseInt(_0x19447a(0x2a2))/0x1*(-parseInt(_0x19447a(0x3c1))/0x2)+-parseInt(_0x19447a(0xfc))/0x3*(-parseInt(_0x19447a(0xb2))/0x4)+-parseInt(_0x19447a(0xc9))/0x5+parseInt(_0x19447a(0xf7))/0x6+-parseInt(_0x19447a(0xf4))/0x7+parseInt(_0x19447a(0x75))/0x8*(-parseInt(_0x19447a(0x32b))/0x9)+-parseInt(_0x19447a(0x154))/0xa*(-parseInt(_0x19447a(0x17f))/0xb);if(_0x458c87===_0x3a431f)break;else _0x23f591['push'](_0x23f591['shift']());}catch(_0x3966f8){_0x23f591['push'](_0x23f591['shift']());}}}(_0x485a,0xd14d8),function(_0x4acf10,_0x42d11a){const _0x20dbad=_0x3a65;typeof exports==_0x20dbad(0x297)&&typeof module<'u'?_0x42d11a(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define=='function'&&define['amd']?define([_0x20dbad(0x1fe),'@univerjs-pro/boards-ui',_0x20dbad(0x25f),_0x20dbad(0x1e9),_0x20dbad(0x2ea),'rxjs',_0x20dbad(0x3c6),'@univerjs/design',_0x20dbad(0x17a),_0x20dbad(0x324),_0x20dbad(0x1b7),_0x20dbad(0x1f7),_0x20dbad(0xc8),_0x20dbad(0x387),_0x20dbad(0x11f),_0x20dbad(0x3a4),'@univerjs/sheets','@univerjs-pro/slides-ui','@univerjs/sheets-ui',_0x20dbad(0x2dc),'@univerjs/protocol'],_0x42d11a):(_0x4acf10=typeof globalThis<'u'?globalThis:_0x4acf10||self,_0x42d11a(_0x4acf10[_0x20dbad(0x190)]={},_0x4acf10[_0x20dbad(0x222)],_0x4acf10['UniverProCollaborationClient'],_0x4acf10[_0x20dbad(0x8b)],_0x4acf10[_0x20dbad(0x8f)],_0x4acf10['rxjs'],_0x4acf10[_0x20dbad(0x1c9)][_0x20dbad(0x242)],_0x4acf10[_0x20dbad(0x19c)],_0x4acf10[_0x20dbad(0x9b)],_0x4acf10[_0x20dbad(0x9b)],_0x4acf10[_0x20dbad(0x2a4)],_0x4acf10[_0x20dbad(0x343)],_0x4acf10[_0x20dbad(0x39c)],_0x4acf10[_0x20dbad(0xdc)],_0x4acf10[_0x20dbad(0x128)],_0x4acf10['UniverEngineFormula'],_0x4acf10['UniverSheets'],_0x4acf10[_0x20dbad(0x177)],_0x4acf10[_0x20dbad(0x30b)],_0x4acf10[_0x20dbad(0x76)],_0x4acf10[_0x20dbad(0x389)]));}(this,function(_0x2b48e1,_0x52faa1,_0x21847c,_0x542ae8,_0x50ea5d,_0x381980,_0x1c9ca5,_0x42c8e3,_0x4ba5b5,_0x60312a,_0x19aeb8,_0x41ecf8,_0x10603f,_0x1e0a90,_0x13b229,_0x335eab,_0x585920,_0x1c6381,_0x17f229,_0x2a062f,_0x44736d){const _0x23887d=_0x3a65;Object[_0x23887d(0xef)](_0x2b48e1,Symbol[_0x23887d(0x264)],{'value':_0x23887d(0x333)});function _0x1fe0b4({ref:_0x2e1df6,..._0x37985b}){const _0xf5389f=_0x23887d;let {icon:_0x15f9c4,id:_0x29faf8,className:_0x48e9df,extend:_0x5a4c42,..._0x52c6ec}=_0x37985b,_0x43cebe=(_0xf5389f(0x18a)+_0x29faf8+'\x20'+(_0x48e9df||''))['trim'](),_0xd2fa57=(0x0,_0x4ba5b5['useRef'])('_'+_0xf3b752());return _0x45c802(_0x15f9c4,''+_0x29faf8,{'defIds':_0x15f9c4[_0xf5389f(0x24d)],'idSuffix':_0xd2fa57[_0xf5389f(0x24e)]},{'ref':_0x2e1df6,'className':_0x43cebe,..._0x52c6ec},_0x5a4c42);}function _0x45c802(_0x4f365d,_0x247652,_0x4aaf82,_0x16053b,_0x15a680){const _0x155aba=_0x23887d;return(0x0,_0x4ba5b5['createElement'])(_0x4f365d[_0x155aba(0x1ae)],{'key':_0x247652,..._0x4eb0df(_0x4f365d,_0x4aaf82,_0x15a680),..._0x16053b},(_0x9975fa(_0x4f365d,_0x4aaf82)[_0x155aba(0x265)]||[])[_0x155aba(0xd7)]((_0x41d36f,_0x4e1d0b)=>_0x45c802(_0x41d36f,_0x247652+'-'+_0x4f365d[_0x155aba(0x1ae)]+'-'+_0x4e1d0b,_0x4aaf82,void 0x0,_0x15a680)));}function _0x4eb0df(_0x2d5c94,_0x24685f,_0x21975f){const _0x547032=_0x23887d;let _0x12256={..._0x2d5c94['attrs']};_0x21975f!=null&&_0x21975f[_0x547032(0xfb)]&&_0x12256['fill']===_0x547032(0xfb)&&(_0x12256['fill']=_0x21975f[_0x547032(0xfb)]),_0x21975f!=null&&_0x21975f[_0x547032(0xfb)]&&_0x12256[_0x547032(0x360)]===_0x547032(0xfb)&&(_0x12256[_0x547032(0x360)]=_0x21975f['colorChannel1']),_0x2d5c94[_0x547032(0x1ae)]===_0x547032(0x19d)&&_0x12256['id']&&(_0x12256['id']+=_0x24685f[_0x547032(0x2b2)]),Object['entries'](_0x12256)['forEach'](([_0xd44414,_0xb6bacc])=>{const _0x28d132=_0x547032;_0xd44414==='mask'&&typeof _0xb6bacc==_0x28d132(0x2e5)&&(_0x12256[_0xd44414]=_0xb6bacc['replace'](/url\(#(.*)\)/,_0x28d132(0xa1)+_0x24685f['idSuffix']+')'));});let {defIds:_0x3a7c84}=_0x24685f;return!_0x3a7c84||_0x3a7c84[_0x547032(0x351)]===0x0?_0x12256:(_0x2d5c94['tag']===_0x547032(0x2c2)&&_0x12256[_0x547032(0x133)]&&(_0x12256[_0x547032(0x133)]+=_0x24685f[_0x547032(0x2b2)]),Object[_0x547032(0x24f)](_0x12256)[_0x547032(0x28f)](([_0x45685c,_0x2af154])=>{const _0x9c9162=_0x547032;typeof _0x2af154=='string'&&(_0x12256[_0x45685c]=_0x2af154[_0x9c9162(0x361)](/url\(#(.*)\)/,_0x9c9162(0xa1)+_0x24685f[_0x9c9162(0x2b2)]+')'));}),_0x12256);}function _0x9975fa(_0x334ab7,_0x420fa8){const _0x16f98c=_0x23887d;var _0x4f2277;let {defIds:_0x1ff0f8}=_0x420fa8;return!_0x1ff0f8||_0x1ff0f8[_0x16f98c(0x351)]===0x0?_0x334ab7:_0x334ab7['tag']===_0x16f98c(0x117)&&(_0x4f2277=_0x334ab7[_0x16f98c(0x265)])!=null&&_0x4f2277[_0x16f98c(0x351)]?{..._0x334ab7,'children':_0x334ab7[_0x16f98c(0x265)][_0x16f98c(0xd7)](_0x460407=>typeof _0x460407['attrs']['id']==_0x16f98c(0x2e5)&&_0x1ff0f8&&_0x1ff0f8[_0x16f98c(0x1de)](_0x460407[_0x16f98c(0x153)]['id'])?{..._0x460407,'attrs':{..._0x460407[_0x16f98c(0x153)],'id':_0x460407[_0x16f98c(0x153)]['id']+_0x420fa8[_0x16f98c(0x2b2)]}}:_0x460407)}:_0x334ab7;}function _0xf3b752(){const _0x8cf6be=_0x23887d;return Math['random']()[_0x8cf6be(0x1e4)](0x24)[_0x8cf6be(0x152)](0x2,0x8);}_0x1fe0b4[_0x23887d(0x273)]='UniverIcon';let _0x185eda={'tag':_0x23887d(0x14c),'attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xb0),'width':'1em','height':_0x23887d(0x1ca)},'children':[{'tag':'g','attrs':{'clipPath':_0x23887d(0x203)},'children':[{'tag':_0x23887d(0x391),'attrs':{'stroke':'currentColor','d':_0x23887d(0x345),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x23887d(0x1a3),'attrs':{'id':_0x23887d(0x232)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x23887d(0x2b5)}}]}]}],'defIds':[_0x23887d(0x232)]},_0x28d822=(0x0,_0x4ba5b5['forwardRef'])(function(_0x7a8213,_0x4295d1){const _0x3e83ce=_0x23887d;return(0x0,_0x4ba5b5['createElement'])(_0x1fe0b4,Object[_0x3e83ce(0x3af)]({},_0x7a8213,{'id':_0x3e83ce(0xa8),'ref':_0x4295d1,'icon':_0x185eda}));});_0x28d822['displayName']=_0x23887d(0x3c0);let _0x2f25d0={'tag':'svg','attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xf2),'width':_0x23887d(0x1ca),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x23887d(0xca)},'children':[{'tag':_0x23887d(0x391),'attrs':{'stroke':_0x23887d(0x373),'d':_0x23887d(0x1b1),'strokeLinecap':_0x23887d(0x2a3),'strokeLinejoin':_0x23887d(0x2a3),'strokeWidth':1.2}}]},{'tag':_0x23887d(0x117),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x23887d(0x269)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x23887d(0x2b5),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0xe7e591=(0x0,_0x4ba5b5[_0x23887d(0x29a)])(function(_0x45d397,_0x27b3ba){const _0x2c507a=_0x23887d;return(0x0,_0x4ba5b5[_0x2c507a(0x16f)])(_0x1fe0b4,Object[_0x2c507a(0x3af)]({},_0x45d397,{'id':_0x2c507a(0x245),'ref':_0x27b3ba,'icon':_0x2f25d0}));});_0xe7e591[_0x23887d(0x273)]=_0x23887d(0x15e);let _0xc1559d={'tag':'svg','attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xb0),'width':_0x23887d(0x1ca),'height':_0x23887d(0x1ca)},'children':[{'tag':_0x23887d(0x391),'attrs':{'fill':_0x23887d(0x373),'d':_0x23887d(0x155),'fillRule':_0x23887d(0x258),'clipRule':_0x23887d(0x258)}}]},_0x51823e=(0x0,_0x4ba5b5[_0x23887d(0x29a)])(function(_0x4de759,_0x8c069c){const _0x366008=_0x23887d;return(0x0,_0x4ba5b5[_0x366008(0x16f)])(_0x1fe0b4,Object[_0x366008(0x3af)]({},_0x4de759,{'id':_0x366008(0x375),'ref':_0x8c069c,'icon':_0xc1559d}));});_0x51823e[_0x23887d(0x273)]=_0x23887d(0x195);let _0x6a08a3={'tag':'svg','attrs':{'xmlns':_0x23887d(0x123),'fill':_0x23887d(0x22e),'viewBox':_0x23887d(0xb0),'width':_0x23887d(0x1ca),'height':_0x23887d(0x1ca)},'children':[{'tag':_0x23887d(0x391),'attrs':{'fill':_0x23887d(0x19a),'d':'M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','fillOpacity':0.2,'fillRule':_0x23887d(0x258),'clipRule':_0x23887d(0x258)}},{'tag':_0x23887d(0x391),'attrs':{'fill':_0x23887d(0x19a),'d':_0x23887d(0x2b4),'fillRule':_0x23887d(0x258),'clipRule':_0x23887d(0x258)}}]},_0x53b627=(0x0,_0x4ba5b5[_0x23887d(0x29a)])(function(_0x42bb35,_0x251bb0){const _0x265069=_0x23887d;return(0x0,_0x4ba5b5[_0x265069(0x16f)])(_0x1fe0b4,Object[_0x265069(0x3af)]({},_0x42bb35,{'id':'loading-multi-icon','ref':_0x251bb0,'icon':_0x6a08a3}));});_0x53b627[_0x23887d(0x273)]='LoadingMultiIcon';function _0x381fcb(_0x31d67b){const _0x2e0503=_0x23887d;switch(_0x31d67b){case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x31e)]:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0x28d822,{}),'colorClass':_0x2e0503(0xba),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':'static'};case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x240)]:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0x28d822,{}),'colorClass':_0x2e0503(0x34e),'i18nKey':_0x2e0503(0x20a),'clickable':!0x1,'indicator':_0x2e0503(0x1f0)};case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x247)]:return{'icon':(0x0,_0x60312a['jsx'])(_0x53b627,{}),'colorClass':_0x2e0503(0x16b),'i18nKey':_0x2e0503(0x293),'clickable':!0x1,'indicator':_0x2e0503(0x168)};case _0x21847c[_0x2e0503(0x26a)]['NOT_COLLAB']:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0xe7e591,{}),'colorClass':_0x2e0503(0x354),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x2e0503(0x1f0)};case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x2da)]:case _0x21847c[_0x2e0503(0x26a)][_0x2e0503(0x72)]:return{'icon':(0x0,_0x60312a['jsx'])(_0x53b627,{}),'colorClass':_0x2e0503(0x16b),'i18nKey':_0x2e0503(0x27e),'clickable':!0x1,'indicator':'spin'};case _0x21847c['CollaborationStatus']['PENDING']:return{'icon':(0x0,_0x60312a[_0x2e0503(0x11d)])(_0x53b627,{}),'colorClass':_0x2e0503(0x16b),'i18nKey':_0x2e0503(0x27e),'clickable':!0x1,'indicator':_0x2e0503(0x168)};case _0x21847c[_0x2e0503(0x26a)]['SYNCED']:return{'icon':(0x0,_0x60312a['jsx'])(_0xe7e591,{}),'colorClass':_0x2e0503(0x282),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x128c47(_0x334d3c){const _0x13feb5=_0x23887d;let {status$:_0x457209}=_0x334d3c,_0x61806c=(0x0,_0x50ea5d[_0x13feb5(0x397)])(_0x457209,_0x21847c['CollaborationStatus'][_0x13feb5(0x12f)]),_0x2510d3=(0x0,_0x50ea5d[_0x13feb5(0x218)])(_0x542ae8[_0x13feb5(0x2d3)]),_0x388c83=(0x0,_0x50ea5d['useDependency'])(_0x21847c[_0x13feb5(0x105)]),_0x10c5b7=(0x0,_0x4ba5b5[_0x13feb5(0x103)])(()=>_0x381fcb(_0x61806c),[_0x61806c]),_0x1a95b3=_0x61806c!==_0x21847c[_0x13feb5(0x26a)]['OFFLINE'],_0x41b908=_0x2510d3['t'](_0x10c5b7[_0x13feb5(0xf1)]),_0x1d73f1=_0x10c5b7[_0x13feb5(0x1ce)]?_0x2510d3['t'](_0x10c5b7[_0x13feb5(0x1ce)]):_0x41b908,_0x1ddeb3=(0x0,_0x4ba5b5[_0x13feb5(0x6f)])(()=>{_0x1a95b3||_0x388c83['reconnect']();},[_0x1a95b3,_0x388c83]),_0x32a517=(0x0,_0x4ba5b5['useCallback'])(_0x3a72d9=>{const _0x10f7c7=_0x13feb5;!_0x1a95b3&&(_0x3a72d9[_0x10f7c7(0x379)]==='Enter'||_0x3a72d9['key']==='\x20')&&(_0x3a72d9['preventDefault'](),_0x388c83[_0x10f7c7(0x1c6)]());},[_0x1a95b3,_0x388c83]),_0x18812a=(0x0,_0x60312a[_0x13feb5(0x11d)])(_0x13feb5(0x2e1),{'className':(0x0,_0x42c8e3[_0x13feb5(0x386)])(_0x13feb5(0x114),'univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x10c5b7[_0x13feb5(0x236)],{'univer-animate-spin':_0x10c5b7[_0x13feb5(0x2c5)]===_0x13feb5(0x168),'univer-animate-pulse':_0x10c5b7['indicator']===_0x13feb5(0x184)}),'aria-hidden':_0x13feb5(0x25a),'children':_0x10c5b7[_0x13feb5(0x113)]}),_0x1b355a=(0x0,_0x60312a['jsx'])(_0x13feb5(0x2e1),{'className':(0x0,_0x42c8e3['clsx'])(_0x13feb5(0x114),'univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x13feb5(0x7c),_0x13feb5(0x182),_0x13feb5(0x2e7),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x10c5b7['clickable'],'univer-cursor-default':!_0x10c5b7[_0x13feb5(0x82)]}),'children':_0x18812a});return _0x10c5b7[_0x13feb5(0x82)]?(0x0,_0x60312a[_0x13feb5(0x11d)])(_0x42c8e3[_0x13feb5(0x30a)],{'title':_0x1d73f1,'placement':'bottom','children':(0x0,_0x60312a[_0x13feb5(0x11d)])(_0x13feb5(0xdf),{'type':_0x13feb5(0xdf),'onClick':_0x1ddeb3,'onKeyDown':_0x32a517,'className':(0x0,_0x42c8e3['clsx'])(_0x13feb5(0x146),_0x13feb5(0x196),_0x13feb5(0x2cd),'univer-appearance-none'),'aria-label':_0x41b908+_0x13feb5(0x150)+_0x1d73f1,'role':_0x13feb5(0x1a4),'aria-live':_0x13feb5(0x228),'aria-atomic':_0x13feb5(0x25a),'children':_0x1b355a})}):(0x0,_0x60312a['jsx'])(_0x42c8e3[_0x13feb5(0x30a)],{'title':_0x1d73f1,'placement':_0x13feb5(0x13a),'children':(0x0,_0x60312a[_0x13feb5(0x11d)])('div',{'className':(0x0,_0x42c8e3['clsx'])(_0x13feb5(0x146),_0x13feb5(0x196),_0x13feb5(0x2cd)),'aria-label':_0x41b908,'role':_0x13feb5(0x1a4),'aria-live':'polite','aria-atomic':'true','children':_0x1b355a})});}function _0x1ab264(_0x59d92a){'@babel/helpers - typeof';const _0x428a1c=_0x23887d;return _0x1ab264=typeof Symbol==_0x428a1c(0x3ab)&&typeof Symbol[_0x428a1c(0x173)]==_0x428a1c(0x112)?function(_0x23df6a){return typeof _0x23df6a;}:function(_0x51e3ad){const _0x316e21=_0x428a1c;return _0x51e3ad&&typeof Symbol=='function'&&_0x51e3ad[_0x316e21(0x2d7)]===Symbol&&_0x51e3ad!==Symbol[_0x316e21(0x3c2)]?_0x316e21(0x112):typeof _0x51e3ad;},_0x1ab264(_0x59d92a);}function _0x4e8db2(_0x1dedba,_0x54314e){const _0x54a221=_0x23887d;if(_0x1ab264(_0x1dedba)!=_0x54a221(0x297)||!_0x1dedba)return _0x1dedba;var _0x44faf0=_0x1dedba[Symbol[_0x54a221(0x38e)]];if(_0x44faf0!==void 0x0){var _0x5d4bde=_0x44faf0[_0x54a221(0x3cc)](_0x1dedba,_0x54314e||_0x54a221(0x349));if(_0x1ab264(_0x5d4bde)!=_0x54a221(0x297))return _0x5d4bde;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x54314e==='string'?String:Number)(_0x1dedba);}function _0x3e37f4(_0x41527e){const _0x39e97d=_0x23887d;var _0x44a5cc=_0x4e8db2(_0x41527e,_0x39e97d(0x2e5));return _0x1ab264(_0x44a5cc)==_0x39e97d(0x112)?_0x44a5cc:_0x44a5cc+'';}function _0x24a4e0(_0x3c3695,_0x5af18f,_0x4fb81b){const _0x5a03da=_0x23887d;return(_0x5af18f=_0x3e37f4(_0x5af18f))in _0x3c3695?Object[_0x5a03da(0xef)](_0x3c3695,_0x5af18f,{'value':_0x4fb81b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3c3695[_0x5af18f]=_0x4fb81b,_0x3c3695;}function _0x518e4c(_0x564f92,_0x11d1c7){return function(_0x24fa6e,_0x2dfcae){_0x11d1c7(_0x24fa6e,_0x2dfcae,_0x564f92);};}function _0xfa6df6(_0x16df23,_0x4df4f2,_0x5ac302,_0x49245a){const _0x4ddad7=_0x23887d;var _0x1a968b=arguments['length'],_0x47f7f1=_0x1a968b<0x3?_0x4df4f2:_0x49245a===null?_0x49245a=Object[_0x4ddad7(0x12c)](_0x4df4f2,_0x5ac302):_0x49245a,_0x3fe72c;if(typeof Reflect==_0x4ddad7(0x297)&&typeof Reflect[_0x4ddad7(0xea)]=='function')_0x47f7f1=Reflect[_0x4ddad7(0xea)](_0x16df23,_0x4df4f2,_0x5ac302,_0x49245a);else{for(var _0x4721de=_0x16df23[_0x4ddad7(0x351)]-0x1;_0x4721de>=0x0;_0x4721de--)(_0x3fe72c=_0x16df23[_0x4721de])&&(_0x47f7f1=(_0x1a968b<0x3?_0x3fe72c(_0x47f7f1):_0x1a968b>0x3?_0x3fe72c(_0x4df4f2,_0x5ac302,_0x47f7f1):_0x3fe72c(_0x4df4f2,_0x5ac302))||_0x47f7f1);}return _0x1a968b>0x3&&_0x47f7f1&&Object[_0x4ddad7(0xef)](_0x4df4f2,_0x5ac302,_0x47f7f1),_0x47f7f1;}let _0x433869=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x94726f,_0x2435cd,_0x2e4ad8,_0x4ae3d0){const _0x286ac3=_0x23887d;super(),this[_0x286ac3(0x15f)]=_0x94726f,this[_0x286ac3(0x359)]=_0x2435cd,this[_0x286ac3(0x353)]=_0x2e4ad8,this['_uiPartsService']=_0x4ae3d0,_0x24a4e0(this,'_status$',new _0x381980['BehaviorSubject'](_0x21847c[_0x286ac3(0x26a)][_0x286ac3(0x12f)])),this[_0x286ac3(0x3a1)](),this[_0x286ac3(0x15c)]();}[_0x23887d(0x15c)](){const _0x2bf53e=_0x23887d;this['disposeWithMe']((0x0,_0x381980[_0x2bf53e(0x399)])(this[_0x2bf53e(0x15f)]['focused$'],this['_univerInstanceService'][_0x2bf53e(0x2ab)](_0x542ae8[_0x2bf53e(0x1af)][_0x2bf53e(0xcc)]),this[_0x2bf53e(0x15f)][_0x2bf53e(0x2ab)](_0x542ae8['UniverInstanceType']['UNIVER_SHEET']))[_0x2bf53e(0x28b)]((0x0,_0x1c9ca5[_0x2bf53e(0xd7)])(()=>_0x18ff21(this[_0x2bf53e(0x15f)])),(0x0,_0x1c9ca5['distinctUntilChanged'])(),(0x0,_0x381980['switchMap'])(_0x7e6840=>_0x7e6840?this['_collaborationController']['getCollabEntity$'](_0x7e6840):(0x0,_0x381980['of'])(null)),(0x0,_0x381980[_0x2bf53e(0x98)])(_0x49f315=>_0x49f315?_0x49f315[_0x2bf53e(0xa0)]:(0x0,_0x381980['of'])(_0x21847c['CollaborationStatus'][_0x2bf53e(0x12f)])))[_0x2bf53e(0x3b1)](_0x1fcc6f=>{const _0x47afa9=_0x2bf53e;this[_0x47afa9(0x235)][_0x47afa9(0x250)](_0x1fcc6f);}));}[_0x23887d(0x3a1)](){const _0x145bf9=_0x23887d;this[_0x145bf9(0x36a)](this[_0x145bf9(0xfd)][_0x145bf9(0x1ef)](_0x50ea5d[_0x145bf9(0x170)]['HEADER_MENU'],()=>(0x0,_0x50ea5d[_0x145bf9(0x316)])(_0x8b28c9({'status$':this[_0x145bf9(0x235)][_0x145bf9(0x1ee)]()}),this[_0x145bf9(0x359)])));}};_0x433869=_0xfa6df6([_0x518e4c(0x0,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x26c)])),_0x518e4c(0x3,_0x50ea5d['IUIPartsService'])],_0x433869);let _0x3c7cf3=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x168601,_0x1d7c28,_0x46ebd5,_0x271ef8){const _0x1bf559=_0x23887d;super(),this[_0x1bf559(0x15f)]=_0x168601,this[_0x1bf559(0x359)]=_0x1d7c28,this[_0x1bf559(0x353)]=_0x46ebd5,this['_uiPartsService']=_0x271ef8,_0x24a4e0(this,'_status$',new _0x381980['BehaviorSubject'](_0x21847c[_0x1bf559(0x26a)][_0x1bf559(0x12f)])),this[_0x1bf559(0x3a1)](),this[_0x1bf559(0x15c)]();}[_0x23887d(0x15c)](){const _0x1ec746=_0x23887d;this[_0x1ec746(0x36a)]((0x0,_0x381980[_0x1ec746(0x399)])((0x0,_0x381980['of'])(null),this[_0x1ec746(0x15f)]['getCurrentTypeOfUnit$'](_0x542ae8[_0x1ec746(0x1af)][_0x1ec746(0xe0)]))[_0x1ec746(0x28b)]((0x0,_0x1c9ca5['map'])(()=>_0xc90c7a(this[_0x1ec746(0x15f)])),(0x0,_0x1c9ca5[_0x1ec746(0x2a7)])(),(0x0,_0x381980[_0x1ec746(0x98)])(_0x7c3556=>_0x7c3556?this[_0x1ec746(0x353)][_0x1ec746(0x220)](_0x7c3556):(0x0,_0x381980['of'])(null)),(0x0,_0x381980[_0x1ec746(0x98)])(_0x2ff7d2=>_0x2ff7d2?_0x2ff7d2['status$']:(0x0,_0x381980['of'])(_0x21847c[_0x1ec746(0x26a)][_0x1ec746(0x12f)])))[_0x1ec746(0x3b1)](_0x22779e=>{const _0xce50d9=_0x1ec746;this['_status$'][_0xce50d9(0x250)](_0x22779e);}));}[_0x23887d(0x3a1)](){const _0x2278fe=_0x23887d;this[_0x2278fe(0x36a)](this['_uiPartsService'][_0x2278fe(0x1ef)](_0x52faa1[_0x2278fe(0x24c)],()=>(0x0,_0x50ea5d[_0x2278fe(0x316)])(_0x8b28c9({'status$':this[_0x2278fe(0x235)]['asObservable']()}),this[_0x2278fe(0x359)])));}};_0x3c7cf3=_0xfa6df6([_0x518e4c(0x0,_0x542ae8['IUniverInstanceService']),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['Injector'])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x26c)])),_0x518e4c(0x3,_0x50ea5d[_0x23887d(0x101)])],_0x3c7cf3);function _0x18ff21(_0x3e111b){const _0x1fc2d6=_0x23887d;let _0x342ba3=_0x3e111b['getFocusedUnit'](),_0x588f01=_0x342ba3==null?void 0x0:_0x342ba3[_0x1fc2d6(0x2e0)]();if(_0x588f01&&!(0x0,_0x542ae8['isInternalEditorID'])(_0x588f01))return _0x588f01;let _0x50f61e=_0x3e111b[_0x1fc2d6(0x70)](_0x542ae8[_0x1fc2d6(0x1af)][_0x1fc2d6(0xcc)]),_0x9a2455=_0x50f61e==null?void 0x0:_0x50f61e['getUnitId']();if(_0x9a2455&&!(0x0,_0x542ae8[_0x1fc2d6(0x2ef)])(_0x9a2455))return _0x9a2455;let _0x7561ab=_0x3e111b[_0x1fc2d6(0x70)](_0x542ae8[_0x1fc2d6(0x1af)][_0x1fc2d6(0x20c)]);if(_0x7561ab)return _0x7561ab['getUnitId']();let _0x20a424=_0x3e111b['getAllUnitsForType'](_0x542ae8['UniverInstanceType'][_0x1fc2d6(0xcc)])[_0x1fc2d6(0x254)](_0x1eab76=>!(0x0,_0x542ae8[_0x1fc2d6(0x2ef)])(_0x1eab76[_0x1fc2d6(0x2e0)]()));return _0x20a424?_0x20a424[_0x1fc2d6(0x2e0)]():null;}function _0xc90c7a(_0x1034f2){const _0x576680=_0x23887d;var _0x2d603a;let _0xafad4b=_0x1034f2[_0x576680(0x70)](_0x542ae8['UniverInstanceType'][_0x576680(0xe0)]);return(_0x2d603a=_0xafad4b==null?void 0x0:_0xafad4b[_0x576680(0x2e0)]())==null?null:_0x2d603a;}function _0x8b28c9(_0x4dc0f7){let {status$:_0x3739bd}=_0x4dc0f7;return function(){const _0xe74a67=_0x3a65;return(0x0,_0x60312a[_0xe74a67(0x11d)])(_0x128c47,{'status$':_0x3739bd});};}var _0xadf74d=_0x23887d(0x1be),_0x15f26a=_0x23887d(0x223);let _0x2e5170={},_0x5df0dc=class extends _0x542ae8['RxDisposable']{constructor(_0x3e85eb,_0x17cfd2){const _0x11753c=_0x23887d;super(),this[_0x11753c(0x160)]=_0x3e85eb,this[_0x11753c(0x14f)]=_0x17cfd2,this[_0x11753c(0xbf)]();}[_0x23887d(0xbf)](){const _0x315807=_0x23887d;let _0x250e24=this;this[_0x315807(0x36a)](this[_0x315807(0x160)][_0x315807(0x308)]({'onBeforePasteImage':async _0x48df13=>{const _0x35c1b9=_0x315807;let _0x1caee3=await _0x250e24['_imageIoService'][_0x35c1b9(0x13e)](_0x48df13);return _0x1caee3?{'source':_0x1caee3[_0x35c1b9(0x27d)],'imageSourceType':_0x1caee3[_0x35c1b9(0x111)]}:null;}}));}};_0x5df0dc=_0xfa6df6([_0x518e4c(0x0,_0x10603f[_0x23887d(0x212)]),_0x518e4c(0x1,_0x542ae8[_0x23887d(0x157)])],_0x5df0dc);function _0x25f63f(_0x391466,_0x2713a9){const _0x289d23=_0x23887d;_0x391466[_0x289d23(0x204)](),_0x391466[_0x289d23(0xcd)]=_0x289d23(0x3a8);let _0x2ad665=_0x391466[_0x289d23(0x200)](_0x2713a9)[_0x289d23(0x3b4)];return _0x391466['restore'](),Math['min'](_0x2ad665+0x8,0xc8);}function _0x2231c9(_0x55c21d,_0x232b45){const _0x418748=_0x23887d;var _0x194559,_0x32f41d,_0x398c0f;let {radius:_0x29dec3,width:_0x1cd2e2,height:_0x22d26c}=_0x232b45;_0x29dec3=(_0x194559=_0x29dec3)==null?0x0:_0x194559,_0x1cd2e2=(_0x32f41d=_0x1cd2e2)==null?0x1e:_0x32f41d,_0x22d26c=(_0x398c0f=_0x22d26c)==null?0x1e:_0x398c0f;let _0x2380ae=0x0,_0x29f9ef=0x0,_0x4ac6a2=0x0;_0x2380ae=_0x29f9ef=_0x4ac6a2=Math[_0x418748(0xed)](_0x29dec3,_0x1cd2e2/0x2,_0x22d26c/0x2),_0x55c21d[_0x418748(0xdb)](),_0x55c21d[_0x418748(0x69)](_0x2380ae,0x0),_0x55c21d[_0x418748(0x201)](_0x1cd2e2-_0x29f9ef,0x0),_0x55c21d['arc'](_0x1cd2e2-_0x29f9ef,_0x29f9ef,_0x29f9ef,Math['PI']*0x3/0x2,0x0,!0x1),_0x55c21d['lineTo'](_0x1cd2e2,_0x22d26c-_0x4ac6a2),_0x55c21d[_0x418748(0x2ca)](_0x1cd2e2-_0x4ac6a2,_0x22d26c-_0x4ac6a2,_0x4ac6a2,0x0,Math['PI']/0x2,!0x1),_0x55c21d[_0x418748(0x201)](0x0,_0x22d26c),_0x55c21d['lineTo'](0x0,_0x2380ae),_0x55c21d['arc'](_0x2380ae,_0x2380ae,_0x2380ae,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55c21d[_0x418748(0x1d3)](),_0x232b45[_0x418748(0x2c8)]&&(_0x55c21d['save'](),_0x55c21d[_0x418748(0x22d)]=_0x232b45[_0x418748(0x2c8)],_0x232b45['fillRule']==='evenodd'?_0x55c21d[_0x418748(0x2c8)](_0x418748(0x258)):_0x55c21d['fill'](),_0x55c21d[_0x418748(0xde)]());}var _0x5bb6af=class _0x2a9214 extends _0x19aeb8[_0x23887d(0x37c)]{constructor(_0x478b41,_0x1556f3){const _0x41e49e=_0x23887d;super(_0x478b41,_0x1556f3),_0x24a4e0(this,_0x41e49e(0x17b),void 0x0),_0x24a4e0(this,_0x41e49e(0xf9),void 0x0),this['color']=_0x1556f3==null?void 0x0:_0x1556f3[_0x41e49e(0x17b)],this[_0x41e49e(0xf9)]=_0x1556f3==null?void 0x0:_0x1556f3[_0x41e49e(0xf9)];}static['drawWith'](_0x3c0ecc,_0x47c5bb){const _0x1e59ba=_0x23887d;let {text:_0x494999,color:_0x4b8fea}=_0x47c5bb;_0x3c0ecc[_0x1e59ba(0x204)](),_0x3c0ecc[_0x1e59ba(0xcd)]=_0x1e59ba(0x227);let _0x22c19d=_0x3c0ecc[_0x1e59ba(0x200)](_0x494999)[_0x1e59ba(0x3b4)];if(_0x2231c9(_0x3c0ecc,{'height':0x14,'radius':0x4,'width':_0x25f63f(_0x3c0ecc,_0x494999),'fill':_0x4b8fea,'evented':!0x1}),_0x3c0ecc[_0x1e59ba(0x22d)]='#FFF',_0x22c19d>0xc0){let _0x189252='',_0x22abc2=0x0;for(let _0x4aacd9 of _0x494999){let _0x300066=_0x3c0ecc[_0x1e59ba(0x200)](_0x4aacd9)['width'];if(_0x22abc2+_0x300066<=0xc0-_0x3c0ecc[_0x1e59ba(0x200)]('...')[_0x1e59ba(0x3b4)])_0x189252+=_0x4aacd9,_0x22abc2+=_0x300066;else{_0x189252+='...';break;}}_0x3c0ecc[_0x1e59ba(0x1ad)](_0x189252,0x4,0xf);}else _0x3c0ecc['fillText'](_0x494999,0x4,0xf);_0x3c0ecc[_0x1e59ba(0xde)]();}[_0x23887d(0x2cf)](_0x13ab42){const _0xd74fca=_0x23887d;_0x2a9214[_0xd74fca(0x3cb)](_0x13ab42,this);}};let _0x12a03d=0x138a;var _0x271694=class extends _0x19aeb8[_0x23887d(0x37c)]{constructor(_0x3f656d,_0x20ca36){const _0x226899=_0x23887d;super(_0x3f656d,{..._0x20ca36,'evented':!0x1}),_0x24a4e0(this,_0x226899(0x2a1),_0x226899(0x35b)),_0x24a4e0(this,_0x226899(0x2f3),''),_0x24a4e0(this,_0x226899(0x91),!0x0),_0x20ca36&&this[_0x226899(0x1e1)](_0x20ca36);}[_0x23887d(0x1e1)](_0x5842b5){const _0x1bd15e=_0x23887d;var _0x1d5988,_0x3dc25a,_0xa98ca5,_0x290b60,_0x198cf4,_0x24d4ea,_0x4e4417,_0x40d3ee;this[_0x1bd15e(0x2a1)]=(_0x1d5988=_0x5842b5['color'])==null?this[_0x1bd15e(0x2a1)]:_0x1d5988,this[_0x1bd15e(0x2f3)]=(_0x3dc25a=_0x5842b5[_0x1bd15e(0xe4)])==null?this[_0x1bd15e(0x2f3)]:_0x3dc25a,this[_0x1bd15e(0x91)]=(_0xa98ca5=_0x5842b5['showText'])==null?this[_0x1bd15e(0x91)]:_0xa98ca5,this[_0x1bd15e(0x210)]=!0x1,this[_0x1bd15e(0x251)]({'left':(_0x290b60=_0x5842b5['left'])==null?this['left']:_0x290b60,'top':(_0x198cf4=_0x5842b5[_0x1bd15e(0xfe)])==null?this['top']:_0x198cf4,'width':(_0x24d4ea=_0x5842b5['width'])==null?this[_0x1bd15e(0x3b4)]:_0x24d4ea,'height':(_0x4e4417=_0x5842b5[_0x1bd15e(0x303)])==null?this['height']:_0x4e4417,'angle':(_0x40d3ee=_0x5842b5['angle'])==null?this[_0x1bd15e(0x6d)]:_0x40d3ee});}[_0x23887d(0x2cf)](_0x36823c){const _0x199314=_0x23887d;_0x36823c[_0x199314(0x204)](),_0x36823c[_0x199314(0x67)]=this[_0x199314(0x2a1)],_0x36823c[_0x199314(0x2d0)]=this[_0x199314(0xd2)]||1.5,_0x36823c[_0x199314(0x163)]([0x6,0x4]),_0x36823c[_0x199314(0x11e)](0x0,0x0,this[_0x199314(0x3b4)],this[_0x199314(0x303)]),_0x36823c['restore'](),this[_0x199314(0x91)]&&(_0x36823c[_0x199314(0x204)](),_0x36823c['transform'](0x1,0x0,0x0,0x1,this[_0x199314(0x3b4)],-0x14),_0x5bb6af[_0x199314(0x3cb)](_0x36823c,{'text':this[_0x199314(0x2f3)],'color':this[_0x199314(0x2a1)]}),_0x36823c[_0x199314(0xde)]());}};let _0x225178=['purple.300','jiqing.500',_0x23887d(0x263),_0x23887d(0x1b2),_0x23887d(0x39d),_0x23887d(0xa5)];var _0x5fa53e=class extends _0x542ae8[_0x23887d(0x106)]{constructor(..._0x544af2){const _0x2b3c32=_0x23887d;super(..._0x544af2),_0x24a4e0(this,_0x2b3c32(0x311),new Map()),_0x24a4e0(this,_0x2b3c32(0x382),0x0);}[_0x23887d(0x23e)](_0x4396e4){const _0x32f53f=_0x23887d;if(this[_0x32f53f(0x311)]['has'](_0x4396e4))return this[_0x32f53f(0x311)][_0x32f53f(0x178)](_0x4396e4);let _0x5cbc46=_0x225178[this[_0x32f53f(0x382)]];return this[_0x32f53f(0x382)]=(this[_0x32f53f(0x382)]+0x1)%_0x225178[_0x32f53f(0x351)],this[_0x32f53f(0x311)]['set'](_0x4396e4,_0x5cbc46),_0x5cbc46;}};function _0x5c2da8(_0x48e1c7){const _0x4a458e=_0x23887d;let _0x53ffca;try{_0x53ffca=JSON['parse'](_0x48e1c7);}catch{return null;}if(typeof _0x53ffca!=_0x4a458e(0x297)||!_0x53ffca)return null;let _0x5a0f50=_0x53ffca;if(_0x5a0f50[_0x4a458e(0x21b)]!==_0x4a458e(0x278)||typeof _0x5a0f50[_0x4a458e(0x73)]!=_0x4a458e(0x2e5)||typeof _0x5a0f50[_0x4a458e(0x298)]!=_0x4a458e(0x2e5))return null;let _0x4a0ce4=Array[_0x4a458e(0x3c8)](_0x5a0f50[_0x4a458e(0x37f)])?_0x5a0f50[_0x4a458e(0x37f)]['filter'](_0x13592d=>typeof _0x13592d==_0x4a458e(0x2e5)):[],_0x6f9cb7=typeof _0x5a0f50['focusedId']==_0x4a458e(0x2e5)?_0x5a0f50['focusedId']:null;return{'kind':_0x4a458e(0x278),'unitId':_0x5a0f50[_0x4a458e(0x73)],'subUnitId':_0x5a0f50[_0x4a458e(0x298)],'selectedIds':_0x4a0ce4,'focusedId':_0x6f9cb7};}let _0x3bf62a=class extends _0x542ae8['RxDisposable']{get['cursorInfo'](){const _0x955adb=_0x23887d;return this[_0x955adb(0x165)][_0x955adb(0x1cb)]();}get[_0x23887d(0x39e)](){return this['_roomMembers$']['getValue']();}constructor(_0xd6fc4,_0x92eaec,_0x522e9e,_0x505926,_0x12bf71){const _0x2b9091=_0x23887d;super(),this[_0x2b9091(0x164)]=_0xd6fc4,this[_0x2b9091(0x25b)]=_0x92eaec,this[_0x2b9091(0xd9)]=_0x522e9e,this[_0x2b9091(0x22a)]=_0x505926,this[_0x2b9091(0x221)]=_0x12bf71,_0x24a4e0(this,_0x2b9091(0x33e),!0x1),_0x24a4e0(this,_0x2b9091(0xbf),!0x1),_0x24a4e0(this,_0x2b9091(0x165),new _0x381980[(_0x2b9091(0x7a))](new Map())),_0x24a4e0(this,_0x2b9091(0x3ad),this['_cursorInfo$'][_0x2b9091(0x1ee)]()),_0x24a4e0(this,'_roomMembers$',new _0x381980[(_0x2b9091(0x7a))]([])),_0x24a4e0(this,_0x2b9091(0x248),this[_0x2b9091(0x364)][_0x2b9091(0x28b)]((0x0,_0x381980[_0x2b9091(0xd5)])(0x12c))),_0x24a4e0(this,_0x2b9091(0x368),(0x0,_0x542ae8[_0x2b9091(0x257)])(_0x6e66d2=>{const _0x117b9e=_0x2b9091;let _0x4d4e19=_0x6e66d2['context'];if(!_0x4d4e19||_0x4d4e19[_0x117b9e(0x73)]!==this['unitID'])return;let _0x21fd11={'kind':_0x117b9e(0x278),'unitId':_0x4d4e19[_0x117b9e(0x73)],'subUnitId':_0x4d4e19[_0x117b9e(0x298)],'selectedIds':_0x6e66d2[_0x117b9e(0x37f)]['filter'](_0x570922=>typeof _0x570922==_0x117b9e(0x2e5)),'focusedId':_0x6e66d2[_0x117b9e(0x37e)]},_0x1b09d4={'eventID':_0x1e0a90['CollaborationEvent'][_0x117b9e(0x15a)],'data':{'unitID':this[_0x117b9e(0x164)],'memberID':this[_0x117b9e(0x25b)][_0x117b9e(0x27b)](),'selection':JSON[_0x117b9e(0xa4)](_0x21fd11)}};this[_0x117b9e(0x25b)][_0x117b9e(0xe2)](_0x1b09d4,this[_0x117b9e(0x164)]);},0x64));}[_0x23887d(0x1bc)](){const _0x367a1f=_0x23887d;super['dispose'](),this[_0x367a1f(0x165)][_0x367a1f(0x250)](new Map()),this[_0x367a1f(0x165)][_0x367a1f(0x198)](),this[_0x367a1f(0x364)][_0x367a1f(0x250)]([]),this[_0x367a1f(0x364)][_0x367a1f(0x198)]();}[_0x23887d(0xad)](){const _0x478912=_0x23887d;this['_init']||(this['_init']=!0x0,this[_0x478912(0x25b)]['sessionStatus$'][_0x478912(0x28b)]((0x0,_0x381980[_0x478912(0x29b)])(this[_0x478912(0x138)]))[_0x478912(0x3b1)](_0x17e739=>{const _0x2c73f7=_0x478912;_0x17e739===_0x21847c[_0x2c73f7(0xb7)][_0x2c73f7(0x374)]?this[_0x2c73f7(0x365)]():this[_0x2c73f7(0x378)]();}),this[_0x478912(0x25b)]['event$'][_0x478912(0x28b)]((0x0,_0x381980[_0x478912(0x29b)])(this['dispose$']))[_0x478912(0x3b1)](_0x37e5f4=>{const _0x35b9fa=_0x478912;let _0x2f1247=_0x37e5f4[_0x35b9fa(0xbc)];_0x2f1247===_0x1e0a90['CollaborationEvent'][_0x35b9fa(0x15a)]&&this[_0x35b9fa(0x244)](_0x37e5f4),_0x2f1247===_0x1e0a90[_0x35b9fa(0x215)][_0x35b9fa(0x28e)]&&this[_0x35b9fa(0x11c)](_0x37e5f4);}),this[_0x478912(0x221)][_0x478912(0x279)]['pipe']((0x0,_0x381980[_0x478912(0x29b)])(this['dispose$']))[_0x478912(0x3b1)](_0x4da90e=>{const _0x45c95e=_0x478912;this[_0x45c95e(0x33e)]&&this['_updateLocalCursor'](_0x4da90e);}));}[_0x23887d(0x244)](_0x8f781f){const _0x193bc7=_0x23887d;var _0x510985,_0x2e7853,_0x481bbe,_0x94b0a;let {memberID:_0x42db0e,selection:_0x1cbbcc}=_0x8f781f['data'];if(_0x42db0e===((_0x510985=(_0x2e7853=this[_0x193bc7(0x25b)])[_0x193bc7(0x27b)])==null?void 0x0:_0x510985[_0x193bc7(0x3cc)](_0x2e7853)))return;let _0x4ad302=_0x5c2da8(_0x1cbbcc);if(!_0x4ad302||_0x4ad302[_0x193bc7(0x73)]!==this['unitID'])return;let _0x28903f=(_0x481bbe=(_0x94b0a=this[_0x193bc7(0x22a)][_0x193bc7(0x38b)](this[_0x193bc7(0x164)],_0x42db0e))==null?void 0x0:_0x94b0a[_0x193bc7(0xe4)])==null?'Unknown\x20user':_0x481bbe,_0x5e063f={'color':this[_0x193bc7(0xd9)]['assignAColorForMemberID'](_0x42db0e),'name':_0x28903f,'unitId':_0x4ad302['unitId'],'subUnitId':_0x4ad302[_0x193bc7(0x298)],'selectedIds':_0x4ad302['selectedIds'],'focusedId':_0x4ad302[_0x193bc7(0x37e)],'selection':_0x1cbbcc},_0x26befa=new Map(this['cursorInfo']);_0x26befa[_0x193bc7(0x341)](_0x42db0e,_0x5e063f),this['_cursorInfo$'][_0x193bc7(0x250)](_0x26befa);}[_0x23887d(0x11c)](_0x48a727){const _0x157ea4=_0x23887d;let {memberID:_0xbcaaac}=_0x48a727['data'],_0x45c00e=new Map(this['cursorInfo']);_0x45c00e[_0x157ea4(0xe5)](_0xbcaaac),this[_0x157ea4(0x165)][_0x157ea4(0x250)](_0x45c00e);}[_0x23887d(0x365)](){const _0x1e54da=_0x23887d;this['_online']=!0x0,this[_0x1e54da(0x368)](this[_0x1e54da(0x221)][_0x1e54da(0x1e0)]());}[_0x23887d(0x378)](){const _0x36ce23=_0x23887d;this[_0x36ce23(0x33e)]=!0x1;}};_0x3bf62a=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x5fa53e)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c['MemberService'])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x52faa1[_0x23887d(0x2ad)]))],_0x3bf62a);function _0x374fbc(_0x22a8c6){const _0x1c65db=_0x23887d;let _0x5d41d7='';for(let _0x520b75 of _0x22a8c6){let {startOffset:_0x394cac,endOffset:_0x1cb2cb,isActive:_0x36ede1,rangeType:_0x207535,segmentId:_0x2c6185,segmentPage:_0x560809}=_0x520b75;_0x5d41d7[_0x1c65db(0x351)]&&(_0x5d41d7+=','),_0x5d41d7+=_0x394cac+':'+_0x1cb2cb+':'+(_0x36ede1?'1':'0')+':'+_0x207535+':'+_0x2c6185+':'+_0x560809;}return _0x5d41d7;}function _0x3a33d5(_0x50642e){const _0x6d4bb6=_0x23887d;let _0x480812=_0x50642e['split'](','),_0x2a0152=[];for(let _0xc00abb of _0x480812){let [_0x3159f1,_0x3e846c,_0x46da31,_0x3fc0c8,_0x3cfd6e,_0x110935]=_0xc00abb[_0x6d4bb6(0x2d9)](':');_0x2a0152['push']({'startOffset':Number(_0x3159f1),'endOffset':Number(_0x3e846c),'collapsed':_0x3159f1===_0x3e846c,'isActive':_0x46da31==='1','rangeType':_0x3fc0c8===_0x542ae8['DOC_RANGE_TYPE']['TEXT']?_0x542ae8['DOC_RANGE_TYPE'][_0x6d4bb6(0x31d)]:_0x542ae8[_0x6d4bb6(0x16d)][_0x6d4bb6(0x1a8)],'segmentId':typeof _0x3cfd6e=='string'?String(_0x3cfd6e):'','segmentPage':Number(_0x110935==null?-0x1:_0x110935)});}return _0x2a0152['some'](_0x2f26cc=>_0x2f26cc[_0x6d4bb6(0x20b)])||(_0x2a0152[0x0][_0x6d4bb6(0x20b)]=!0x0),_0x2a0152;}var _0x2126a8=class extends _0x542ae8['RxDisposable']{constructor(..._0x305bd6){const _0x16c044=_0x23887d;super(..._0x305bd6),_0x24a4e0(this,_0x16c044(0x16e),new _0x381980[(_0x16c044(0x7a))](null)),_0x24a4e0(this,_0x16c044(0x322),this[_0x16c044(0x16e)][_0x16c044(0x1ee)]());}['syncEditingCollabCursor'](_0x272df7){const _0x5215f5=_0x23887d;let {unitID:_0x52e3d5,memberID:_0x51de15,textRanges:_0x20f502}=_0x272df7,_0x27b9de=_0x374fbc(_0x20f502);if(_0x27b9de==='')return;let _0x78ddef={'unitID':_0x52e3d5,'memberID':_0x51de15,'selection':_0x27b9de};this[_0x5215f5(0x16e)][_0x5215f5(0x250)](_0x78ddef);}};let _0xf186a3=class extends _0x542ae8[_0x23887d(0x292)]{get['cursorInfo'](){const _0xad0222=_0x23887d;return this[_0xad0222(0x165)][_0xad0222(0x1cb)]();}get[_0x23887d(0x39e)](){return this['_roomMembers$']['getValue']();}constructor(_0x4efc13,_0x251c7f,_0x4892b7,_0x2e92f1,_0x198581,_0x28f3fd,_0x5dac7e,_0x4d6a6b,_0x259031){const _0x1cab0e=_0x23887d;super(),this[_0x1cab0e(0x164)]=_0x4efc13,this['_session']=_0x251c7f,this[_0x1cab0e(0x359)]=_0x4892b7,this[_0x1cab0e(0xd9)]=_0x2e92f1,this[_0x1cab0e(0x22a)]=_0x198581,this[_0x1cab0e(0x126)]=_0x28f3fd,this[_0x1cab0e(0x34d)]=_0x5dac7e,this[_0x1cab0e(0x15f)]=_0x4d6a6b,this['_commandService']=_0x259031,_0x24a4e0(this,'_online',!0x1),_0x24a4e0(this,_0x1cab0e(0xbf),!0x1),_0x24a4e0(this,_0x1cab0e(0x165),new _0x381980[(_0x1cab0e(0x7a))](new Map())),_0x24a4e0(this,'cursorInfo$',this[_0x1cab0e(0x165)][_0x1cab0e(0x1ee)]()),_0x24a4e0(this,_0x1cab0e(0x364),new _0x381980['BehaviorSubject']([])),_0x24a4e0(this,_0x1cab0e(0x248),this['_roomMembers$'][_0x1cab0e(0x28b)]((0x0,_0x381980[_0x1cab0e(0xd5)])(0x12c))),_0x24a4e0(this,_0x1cab0e(0x368),(0x0,_0x542ae8[_0x1cab0e(0x257)])(_0x4d3d6d=>{const _0x12ed3c=_0x1cab0e;let _0x443334={'eventID':_0x1e0a90[_0x12ed3c(0x215)][_0x12ed3c(0x15a)],'data':{'unitID':this['unitID'],'memberID':this[_0x12ed3c(0x25b)][_0x12ed3c(0x27b)](),'selection':_0x374fbc(_0x4d3d6d)}};this['_session']['send'](_0x443334,this[_0x12ed3c(0x164)]);},0x64));}[_0x23887d(0x1bc)](){const _0x2024bb=_0x23887d;super['dispose'](),this[_0x2024bb(0x165)][_0x2024bb(0x250)](new Map()),this[_0x2024bb(0x165)][_0x2024bb(0x198)](),this[_0x2024bb(0x364)][_0x2024bb(0x250)]([]),this[_0x2024bb(0x364)][_0x2024bb(0x198)]();}[_0x23887d(0xad)](){const _0x11a89b=_0x23887d;this[_0x11a89b(0xbf)]||(this[_0x11a89b(0xbf)]=!0x0,this[_0x11a89b(0x25b)][_0x11a89b(0x381)]['pipe']((0x0,_0x381980[_0x11a89b(0x29b)])(this[_0x11a89b(0x138)]))['subscribe'](_0x20a327=>{const _0x1e2e23=_0x11a89b;_0x20a327===_0x21847c[_0x1e2e23(0xb7)][_0x1e2e23(0x374)]?this[_0x1e2e23(0x365)]():this[_0x1e2e23(0x378)]();}),this[_0x11a89b(0x25b)]['event$'][_0x11a89b(0x28b)]((0x0,_0x381980[_0x11a89b(0x29b)])(this[_0x11a89b(0x138)]))[_0x11a89b(0x3b1)](_0x5694ad=>{const _0x5b232f=_0x11a89b;let _0x5b7b2a=_0x5694ad[_0x5b232f(0xbc)];_0x5b7b2a===_0x1e0a90['CollaborationEvent'][_0x5b232f(0x15a)]&&this[_0x5b232f(0x244)](_0x5694ad),_0x5b7b2a===_0x1e0a90[_0x5b232f(0x215)][_0x5b232f(0x28e)]&&this['_onCursorDelete'](_0x5694ad);}),this[_0x11a89b(0x36a)](this[_0x11a89b(0xc6)][_0x11a89b(0xe9)](_0x46ff5e=>{const _0x34e82d=_0x11a89b;let _0x209e59=_0x46ff5e[_0x34e82d(0x33f)];_0x209e59!=null&&this[_0x34e82d(0x33e)]&&_0x46ff5e['id']===_0x13b229[_0x34e82d(0x36b)]['id']&&_0x209e59['unitId']===this[_0x34e82d(0x164)]&&_0x209e59[_0x34e82d(0x1bf)]===!0x1&&_0x209e59['ranges'][_0x34e82d(0x351)]>0x0&&this[_0x34e82d(0x368)](_0x209e59[_0x34e82d(0x185)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x11a89b(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x11a89b(0x138)]))['subscribe'](_0x3cc5cf=>{const _0x1fc34c=_0x11a89b;if((_0x3cc5cf==null?void 0x0:_0x3cc5cf[_0x1fc34c(0x164)])!==this[_0x1fc34c(0x164)])return;let _0x424cba={'eventID':_0x1e0a90[_0x1fc34c(0x215)][_0x1fc34c(0x15a)],'data':_0x3cc5cf};this['_onCursorUpdate'](_0x424cba);}),this['disposeWithMe'](this[_0x11a89b(0xc6)][_0x11a89b(0xe9)](_0x1b637e=>{const _0x206ebf=_0x11a89b;if(_0x1b637e[_0x206ebf(0x33f)]==null)return;let _0x21684d=_0x1b637e[_0x206ebf(0x33f)];if(_0x1b637e['id']!==_0x13b229['RichTextEditingMutation']['id']||_0x21684d[_0x206ebf(0x73)]!==this[_0x206ebf(0x164)])return;let _0x37754b={'id':_0x206ebf(0x156),'params':_0x21684d},_0x384859=this[_0x206ebf(0x84)];for(let [_0xf593d4,_0x321c34]of _0x384859){let _0x2fa4dd={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x206ebf(0x164)],'actions':null,'textRanges':_0x321c34[_0x206ebf(0x185)]}},_0xa24cf5=this['_transformService'][_0x206ebf(0x21e)](_0x37754b,_0x2fa4dd,!0x1);if((0x0,_0x1e0a90[_0x206ebf(0x3b6)])(_0xa24cf5))throw _0xa24cf5[_0x206ebf(0x274)];_0x384859[_0x206ebf(0x341)](_0xf593d4,{..._0x321c34,'ranges':_0xa24cf5['m2Prime']['params'][_0x206ebf(0x2e9)]});}queueMicrotask(()=>{const _0x381043=_0x206ebf;this[_0x381043(0x165)][_0x381043(0x250)](_0x384859);});})));}[_0x23887d(0x244)](_0x582a6a){const _0xbf16d1=_0x23887d;var _0x43bcc3,_0x38df54;let {memberID:_0x19a54c,selection:_0x52beb3}=_0x582a6a['data'],_0x892c00=_0x3a33d5(_0x52beb3),_0x3ccae9=(_0x43bcc3=(_0x38df54=this['_memberService']['getMember'](this[_0xbf16d1(0x164)],_0x19a54c))==null?void 0x0:_0x38df54[_0xbf16d1(0xe4)])==null?'Unknown\x20user':_0x43bcc3,_0x2492aa={'color':this[_0xbf16d1(0xd9)][_0xbf16d1(0x23e)](_0x19a54c),'name':_0x3ccae9,'ranges':_0x892c00},_0x5386fe=this[_0xbf16d1(0x84)];_0x5386fe[_0xbf16d1(0x341)](_0x19a54c,_0x2492aa),this[_0xbf16d1(0x165)][_0xbf16d1(0x250)](_0x5386fe);}[_0x23887d(0x11c)](_0x8f911e){const _0x3f3476=_0x23887d;let {memberID:_0x3a9f82}=_0x8f911e['data'],_0x22d40f=this['cursorInfo'];_0x22d40f[_0x3f3476(0xe5)](_0x3a9f82),this[_0x3f3476(0x165)][_0x3f3476(0x250)](_0x22d40f);}['_toggleOnline'](){const _0x2a7e97=_0x23887d;var _0x13cc65;if(this[_0x2a7e97(0x33e)]=!0x0,((_0x13cc65=this[_0x2a7e97(0x15f)][_0x2a7e97(0x1fd)]())==null?void 0x0:_0x13cc65[_0x2a7e97(0x2e0)]())!==this[_0x2a7e97(0x164)])return;let _0x51b66d=this[_0x2a7e97(0x359)][_0x2a7e97(0x178)](_0x13b229[_0x2a7e97(0x394)])['getDocRanges']();Array['isArray'](_0x51b66d)&&_0x51b66d[_0x2a7e97(0x351)]>0x0&&this[_0x2a7e97(0x368)](_0x51b66d);}[_0x23887d(0x378)](){const _0x536f5e=_0x23887d;this[_0x536f5e(0x33e)]=!0x1;}};_0xf186a3=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['Injector'])),_0x518e4c(0x3,(0x0,_0x542ae8['Inject'])(_0x5fa53e)),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x144)])),_0x518e4c(0x5,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x2126a8)),_0x518e4c(0x6,_0x1e0a90[_0x23887d(0x115)]),_0x518e4c(0x7,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x8,_0x542ae8[_0x23887d(0x268)])],_0xf186a3);let _0x13d8cc=()=>{let _0x5dea7f=[],_0x3ae609=!0x1;return _0x41faf5=>{const _0x4615c8=_0x3a65;_0x5dea7f[_0x4615c8(0x363)](_0x41faf5),_0x3ae609||(_0x3ae609=!0x0,setTimeout(()=>{const _0x218417=_0x4615c8;_0x5dea7f[_0x218417(0x28f)](_0x23297d=>_0x23297d()),_0x5dea7f=[],_0x3ae609=!0x1;}));};},_0x222460=class extends _0x542ae8[_0x23887d(0x292)]{get[_0x23887d(0x84)](){const _0x27ba0c=_0x23887d;return this[_0x27ba0c(0x165)][_0x27ba0c(0x1cb)]();}get[_0x23887d(0x39e)](){const _0x400718=_0x23887d;return this[_0x400718(0x364)][_0x400718(0x1cb)]();}constructor(_0x2773d4,_0x30c12a,_0x520cb5,_0x2a8dea,_0x289894,_0x17ad28,_0x119e49,_0x1add5b){const _0x5218e9=_0x23887d;super(),this[_0x5218e9(0x164)]=_0x2773d4,this[_0x5218e9(0x25b)]=_0x30c12a,this[_0x5218e9(0x359)]=_0x520cb5,this[_0x5218e9(0xd9)]=_0x2a8dea,this[_0x5218e9(0x22a)]=_0x289894,this[_0x5218e9(0x15f)]=_0x17ad28,this[_0x5218e9(0xc6)]=_0x119e49,this[_0x5218e9(0x1cc)]=_0x1add5b,_0x24a4e0(this,'_online',!0x1),_0x24a4e0(this,_0x5218e9(0xbf),!0x1),_0x24a4e0(this,_0x5218e9(0x165),new _0x381980[(_0x5218e9(0x7a))](new Map())),_0x24a4e0(this,_0x5218e9(0x3ad),this[_0x5218e9(0x165)][_0x5218e9(0x1ee)]()),_0x24a4e0(this,_0x5218e9(0x364),new _0x381980[(_0x5218e9(0x7a))]([])),_0x24a4e0(this,_0x5218e9(0x248),this[_0x5218e9(0x364)][_0x5218e9(0x28b)]((0x0,_0x381980['debounceTime'])(0x12c))),_0x24a4e0(this,_0x5218e9(0x368),(0x0,_0x542ae8['debounce'])((_0x54bd88,_0x3f8058)=>{const _0x2c1ddb=_0x5218e9;let _0x35d72d={'eventID':_0x1e0a90['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2c1ddb(0x164)],'memberID':this[_0x2c1ddb(0x25b)]['getMemberID'](),'selection':(0x0,_0x335eab[_0x2c1ddb(0xeb)])(_0x54bd88,_0x3f8058[_0x2c1ddb(0xd8)])}};this[_0x2c1ddb(0x25b)][_0x2c1ddb(0xe2)](_0x35d72d,this['unitID']);},0x64));}[_0x23887d(0x1bc)](){const _0x4bd00b=_0x23887d;super['dispose'](),this[_0x4bd00b(0x165)]['next'](new Map()),this[_0x4bd00b(0x165)]['complete'](),this[_0x4bd00b(0x364)]['next']([]),this[_0x4bd00b(0x364)][_0x4bd00b(0x198)]();}[_0x23887d(0xad)](){const _0x3a2836=_0x23887d;this[_0x3a2836(0xbf)]||(this[_0x3a2836(0xbf)]=!0x0,this[_0x3a2836(0x25b)][_0x3a2836(0x381)][_0x3a2836(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x3a2836(0x138)]))['subscribe'](_0x30a712=>{const _0x312d2d=_0x3a2836;_0x30a712===_0x21847c[_0x312d2d(0xb7)][_0x312d2d(0x374)]?this[_0x312d2d(0x365)]():this[_0x312d2d(0x378)]();}),this[_0x3a2836(0x25b)][_0x3a2836(0x10e)][_0x3a2836(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x3a2836(0x138)]))[_0x3a2836(0x3b1)](_0x4d74a2=>{const _0x3c8688=_0x3a2836;let _0xd44498=_0x4d74a2[_0x3c8688(0xbc)];_0xd44498===_0x1e0a90['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3c8688(0x244)](_0x4d74a2),_0xd44498===_0x1e0a90['CollaborationEvent'][_0x3c8688(0x28e)]&&this[_0x3c8688(0x11c)](_0x4d74a2);}),this[_0x3a2836(0x14b)](),this[_0x3a2836(0x36a)](this['_commandService'][_0x3a2836(0xe9)](_0x103295=>{const _0xb4b8f2=_0x3a2836;if(this[_0xb4b8f2(0x33e)]&&_0x103295['id']===_0x585920['SetSelectionsOperation']['id']&&_0x103295[_0xb4b8f2(0x33f)][_0xb4b8f2(0x73)]===this[_0xb4b8f2(0x164)]){let _0x80da1e=_0x103295['params'];this['_updateLocalCursor'](_0x80da1e[_0xb4b8f2(0x298)],_0x80da1e[_0xb4b8f2(0x275)][0x0]);}})));}[_0x23887d(0x244)](_0x1a615e){const _0x3a185c=_0x23887d;var _0x802b70,_0x3a3496;let {memberID:_0x2210ff,selection:_0x327363}=_0x1a615e[_0x3a185c(0x180)],{sheetName:_0xcfa40e,range:_0x421ba2}=(0x0,_0x335eab[_0x3a185c(0x319)])(_0x327363),_0x5b5e43={'name':(_0x802b70=(_0x3a3496=this['_memberService'][_0x3a185c(0x38b)](this['unitID'],_0x2210ff))==null?void 0x0:_0x3a3496[_0x3a185c(0xe4)])==null?'Unknown\x20user':_0x802b70,'range':this['_getMergeRange'](_0xcfa40e,_0x421ba2),'sheetID':_0xcfa40e,'color':this['_colorAssignService'][_0x3a185c(0x23e)](_0x2210ff),'selection':_0x327363},_0x8a7180=this[_0x3a185c(0x84)];_0x8a7180[_0x3a185c(0x341)](_0x2210ff,_0x5b5e43),this['_cursorInfo$'][_0x3a185c(0x250)](_0x8a7180);}[_0x23887d(0x11c)](_0x1f9cb5){const _0x1fe2b8=_0x23887d;let {memberID:_0x5262f9}=_0x1f9cb5[_0x1fe2b8(0x180)],_0x5d455b=this[_0x1fe2b8(0x84)];_0x5d455b['delete'](_0x5262f9),this[_0x1fe2b8(0x165)][_0x1fe2b8(0x250)](_0x5d455b);}[_0x23887d(0x312)](_0x2c8468,_0x22a02b){const _0x356889=_0x23887d;var _0x2f35e6;let _0x334a11=(_0x2f35e6=this[_0x356889(0x15f)][_0x356889(0x3bf)](this[_0x356889(0x164)]))==null||(_0x2f35e6=_0x2f35e6[_0x356889(0x209)](_0x2c8468))==null?void 0x0:_0x2f35e6[_0x356889(0x255)]();return(_0x334a11==null?void 0x0:_0x334a11['find'](_0x5219ce=>_0x542ae8[_0x356889(0x262)][_0x356889(0x326)](_0x5219ce,_0x22a02b)))||_0x22a02b;}[_0x23887d(0x14b)](){const _0x163822=_0x23887d;let _0x2eab1e=new _0x542ae8[(_0x163822(0x20d))](),_0x3f32c0=_0x13d8cc(),_0x1a8e64=()=>{const _0x3bc1fc=_0x163822;_0x2eab1e['dispose']();let _0x5a0584=(_0xe7e10f,_0xce9a35,_0x1d1ca7,_0x5e665e)=>{const _0x12c79f=_0x3a65;let _0x5024da=[];switch(_0xe7e10f['id']){case _0x585920[_0x12c79f(0xe3)]['DeleteRangeMoveLeftCommandId']:_0x5024da=(0x0,_0x585920['handleDeleteRangeMoveLeft'])(_0xe7e10f,_0x5e665e);break;case _0x585920['EffectRefRangId'][_0x12c79f(0xff)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x141)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)]['InsertColCommandId']:_0x5024da=(0x0,_0x585920[_0x12c79f(0x261)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)][_0x12c79f(0x172)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x38a)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)]['InsertRangeMoveRightCommandId']:_0x5024da=(0x0,_0x585920[_0x12c79f(0x346)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)]['InsertRowCommandId']:_0x5024da=(0x0,_0x585920[_0x12c79f(0x2c7)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)][_0x12c79f(0x287)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x2b3)])(_0xe7e10f,_0x5e665e);break;case _0x585920[_0x12c79f(0xe3)][_0x12c79f(0x2bc)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x29e)])(_0xe7e10f,_0x5e665e);break;case _0x585920['EffectRefRangId'][_0x12c79f(0x272)]:_0x5024da=(0x0,_0x585920[_0x12c79f(0x1a1)])(_0xe7e10f,_0x5e665e);break;}let _0x5bcbd7=(0x0,_0x585920[_0x12c79f(0x107)])(_0x5024da,_0x5e665e),_0x3930e9=this[_0x12c79f(0x84)][_0x12c79f(0x178)](_0xce9a35);if(_0x3930e9&&_0x5bcbd7){let _0x2873d2={..._0x3930e9,'range':_0x5bcbd7};this[_0x12c79f(0x84)][_0x12c79f(0x341)](_0xce9a35,_0x2873d2),_0x3f32c0(()=>{const _0x6aa630=_0x12c79f;let _0x504999=this[_0x6aa630(0x1cc)][_0x6aa630(0xf3)](_0x5bcbd7,_0x2390b8=>(_0x504999[_0x6aa630(0x1bc)](),_0x5a0584(_0x2390b8,_0xce9a35,_0x1d1ca7,_0x5bcbd7)));_0x2eab1e[_0x6aa630(0x2b6)](_0x504999);});}return{'redos':[],'undos':[]};};this[_0x3bc1fc(0x84)][_0x3bc1fc(0x28f)]((_0x5c1d7a,_0x3c7576)=>{const _0x52ac1a=_0x3bc1fc;let {range:_0x234463,sheetID:_0x347ba1}=_0x5c1d7a,_0x3c7321=this[_0x52ac1a(0x1cc)]['registerRefRange'](_0x234463,_0x406351=>(_0x3c7321[_0x52ac1a(0x1bc)](),_0x5a0584(_0x406351,_0x3c7576,_0x347ba1,_0x234463)));_0x2eab1e[_0x52ac1a(0x2b6)](_0x3c7321);});};this[_0x163822(0x36a)]((0x0,_0x542ae8[_0x163822(0x33c)])(this[_0x163822(0x165)][_0x163822(0x3b1)](()=>{_0x1a8e64();})));}[_0x23887d(0x365)](){const _0x470c3e=_0x23887d;var _0x435a46,_0x4d140a;if(this[_0x470c3e(0x33e)]=!0x0,((_0x435a46=this['_univerInstanceService'][_0x470c3e(0x1fd)]())==null?void 0x0:_0x435a46[_0x470c3e(0x2e0)]())!==this[_0x470c3e(0x164)])return;let _0x18f205=(_0x4d140a=this[_0x470c3e(0x359)][_0x470c3e(0x178)](_0x585920[_0x470c3e(0x1cd)])[_0x470c3e(0xd6)]())==null?void 0x0:_0x4d140a[0x0],_0x57b16e=this['_univerInstanceService'][_0x470c3e(0x70)](_0x542ae8[_0x470c3e(0x1af)][_0x470c3e(0x20c)])['getActiveSheet']();_0x18f205&&_0x57b16e&&this[_0x470c3e(0x368)](_0x57b16e[_0x470c3e(0x21a)](),_0x18f205);}['_toggleOffline'](){const _0x51ac3d=_0x23887d;this[_0x51ac3d(0x33e)]=!0x1;}};_0x222460=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x5fa53e)),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x144)])),_0x518e4c(0x5,_0x542ae8['IUniverInstanceService']),_0x518e4c(0x6,_0x542ae8[_0x23887d(0x268)]),_0x518e4c(0x7,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x585920[_0x23887d(0x321)]))],_0x222460);function _0x3c785d(_0x181e4d){const _0x16df05=_0x23887d;let _0x273701;try{_0x273701=JSON[_0x16df05(0x1b4)](_0x181e4d);}catch{return null;}if(typeof _0x273701!='object'||!_0x273701)return null;let _0x232840=_0x273701;if(_0x232840[_0x16df05(0x21b)]!=='slide-element-selection'||typeof _0x232840[_0x16df05(0x73)]!=_0x16df05(0x2e5)||typeof _0x232840[_0x16df05(0x298)]!=_0x16df05(0x2e5))return null;let _0x185627=Array[_0x16df05(0x3c8)](_0x232840[_0x16df05(0x37f)])?_0x232840['selectedIds'][_0x16df05(0x3ac)](_0x55d1e0=>typeof _0x55d1e0==_0x16df05(0x2e5)):[],_0x38d1fc=typeof _0x232840[_0x16df05(0x37e)]=='string'?_0x232840[_0x16df05(0x37e)]:null;return{'kind':_0x16df05(0x2f4),'unitId':_0x232840[_0x16df05(0x73)],'subUnitId':_0x232840[_0x16df05(0x298)],'selectedIds':_0x185627,'focusedId':_0x38d1fc};}let _0x59c1a8=class extends _0x542ae8[_0x23887d(0x292)]{get['cursorInfo'](){const _0x3c243f=_0x23887d;return this[_0x3c243f(0x165)][_0x3c243f(0x1cb)]();}get['roomMembers'](){const _0x1da6ee=_0x23887d;return this['_roomMembers$'][_0x1da6ee(0x1cb)]();}constructor(_0x52c2c6,_0x58b868,_0x5863cc,_0xa1fc86,_0x28af5c){const _0x22d81e=_0x23887d;super(),this[_0x22d81e(0x164)]=_0x52c2c6,this[_0x22d81e(0x25b)]=_0x58b868,this[_0x22d81e(0xd9)]=_0x5863cc,this[_0x22d81e(0x22a)]=_0xa1fc86,this[_0x22d81e(0xcb)]=_0x28af5c,_0x24a4e0(this,'_online',!0x1),_0x24a4e0(this,_0x22d81e(0xbf),!0x1),_0x24a4e0(this,_0x22d81e(0x165),new _0x381980[(_0x22d81e(0x7a))](new Map())),_0x24a4e0(this,_0x22d81e(0x3ad),this[_0x22d81e(0x165)][_0x22d81e(0x1ee)]()),_0x24a4e0(this,_0x22d81e(0x364),new _0x381980[(_0x22d81e(0x7a))]([])),_0x24a4e0(this,'roomMembers$',this[_0x22d81e(0x364)][_0x22d81e(0x28b)]((0x0,_0x381980['debounceTime'])(0x12c))),_0x24a4e0(this,'_updateLocalCursor',(0x0,_0x542ae8[_0x22d81e(0x257)])(_0x40d095=>{const _0x4ae1d5=_0x22d81e;let _0xeb3f0b=_0x40d095[_0x4ae1d5(0x1df)];if(!_0xeb3f0b||_0xeb3f0b['unitId']!==this[_0x4ae1d5(0x164)])return;let _0xf1fa85={'kind':'slide-element-selection','unitId':_0xeb3f0b[_0x4ae1d5(0x73)],'subUnitId':_0xeb3f0b[_0x4ae1d5(0x298)],'selectedIds':_0x40d095[_0x4ae1d5(0x37f)][_0x4ae1d5(0x3ac)](_0x2a9ad9=>typeof _0x2a9ad9=='string'),'focusedId':_0x40d095[_0x4ae1d5(0x37e)]},_0x549419={'eventID':_0x1e0a90[_0x4ae1d5(0x215)][_0x4ae1d5(0x15a)],'data':{'unitID':this[_0x4ae1d5(0x164)],'memberID':this[_0x4ae1d5(0x25b)][_0x4ae1d5(0x27b)](),'selection':JSON['stringify'](_0xf1fa85)}};this[_0x4ae1d5(0x25b)]['send'](_0x549419,this[_0x4ae1d5(0x164)]);},0x64));}['dispose'](){const _0x384506=_0x23887d;super[_0x384506(0x1bc)](),this[_0x384506(0x165)][_0x384506(0x250)](new Map()),this[_0x384506(0x165)][_0x384506(0x198)](),this[_0x384506(0x364)][_0x384506(0x250)]([]),this[_0x384506(0x364)][_0x384506(0x198)]();}[_0x23887d(0xad)](){const _0x2961a1=_0x23887d;this['_init']||(this[_0x2961a1(0xbf)]=!0x0,this[_0x2961a1(0x25b)][_0x2961a1(0x381)][_0x2961a1(0x28b)]((0x0,_0x381980[_0x2961a1(0x29b)])(this[_0x2961a1(0x138)]))['subscribe'](_0x1dd317=>{const _0x3d5884=_0x2961a1;_0x1dd317===_0x21847c[_0x3d5884(0xb7)]['ONLINE']?this[_0x3d5884(0x365)]():this[_0x3d5884(0x378)]();}),this[_0x2961a1(0x25b)]['event$'][_0x2961a1(0x28b)]((0x0,_0x381980[_0x2961a1(0x29b)])(this[_0x2961a1(0x138)]))['subscribe'](_0x124e0e=>{const _0x584c71=_0x2961a1;let _0x1a51e1=_0x124e0e['eventID'];_0x1a51e1===_0x1e0a90['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x584c71(0x244)](_0x124e0e),_0x1a51e1===_0x1e0a90[_0x584c71(0x215)]['USERS_LEAVE']&&this[_0x584c71(0x11c)](_0x124e0e);}),this['_slideDrawingStateService']['state$'][_0x2961a1(0x28b)]((0x0,_0x381980[_0x2961a1(0x29b)])(this['dispose$']))[_0x2961a1(0x3b1)](_0x287298=>{this['_online']&&this['_updateLocalCursor'](_0x287298);}));}[_0x23887d(0x244)](_0x584532){const _0x2778f6=_0x23887d;var _0x131f1f,_0x3b5b40,_0x426520,_0x3f60fe;let {memberID:_0x1294fb,selection:_0x4d4537}=_0x584532[_0x2778f6(0x180)];if(_0x1294fb===((_0x131f1f=(_0x3b5b40=this['_session'])[_0x2778f6(0x27b)])==null?void 0x0:_0x131f1f[_0x2778f6(0x3cc)](_0x3b5b40)))return;let _0xfba033=_0x3c785d(_0x4d4537);if(!_0xfba033||_0xfba033[_0x2778f6(0x73)]!==this['unitID'])return;let _0x18f67c=(_0x426520=(_0x3f60fe=this[_0x2778f6(0x22a)][_0x2778f6(0x38b)](this[_0x2778f6(0x164)],_0x1294fb))==null?void 0x0:_0x3f60fe['name'])==null?'Unknown\x20user':_0x426520,_0x584abf={'color':this['_colorAssignService'][_0x2778f6(0x23e)](_0x1294fb),'name':_0x18f67c,'unitId':_0xfba033['unitId'],'subUnitId':_0xfba033[_0x2778f6(0x298)],'selectedIds':_0xfba033[_0x2778f6(0x37f)],'focusedId':_0xfba033['focusedId'],'selection':_0x4d4537},_0x458235=new Map(this[_0x2778f6(0x84)]);_0x458235[_0x2778f6(0x341)](_0x1294fb,_0x584abf),this[_0x2778f6(0x165)][_0x2778f6(0x250)](_0x458235);}[_0x23887d(0x11c)](_0x3a3a31){const _0x1c72b3=_0x23887d;let {memberID:_0x5ea10f}=_0x3a3a31[_0x1c72b3(0x180)],_0x4fadcf=new Map(this[_0x1c72b3(0x84)]);_0x4fadcf[_0x1c72b3(0xe5)](_0x5ea10f),this[_0x1c72b3(0x165)][_0x1c72b3(0x250)](_0x4fadcf);}['_toggleOnline'](){const _0x625567=_0x23887d;this[_0x625567(0x33e)]=!0x0,this[_0x625567(0x368)](this[_0x625567(0xcb)][_0x625567(0x1e0)]());}['_toggleOffline'](){const _0x3fb08d=_0x23887d;this[_0x3fb08d(0x33e)]=!0x1;}};_0x59c1a8=_0xfa6df6([_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x5fa53e)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x144)])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x1c6381[_0x23887d(0x271)]))],_0x59c1a8);let _0x4e58f9=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x182645,_0x46c7d4,_0x3fec21){const _0xe27cb6=_0x23887d;super(),this[_0xe27cb6(0x15f)]=_0x182645,this['_injector']=_0x46c7d4,this['_collabSessionService']=_0x3fec21,_0x24a4e0(this,_0xe27cb6(0xdd),new Map()),_0x24a4e0(this,_0xe27cb6(0x3a9),new _0x381980[(_0xe27cb6(0x1f5))]()),this[_0xe27cb6(0xbf)]();}['dispose'](){const _0x14108b=_0x23887d;super[_0x14108b(0x1bc)](),this[_0x14108b(0x3a9)][_0x14108b(0x198)](),this[_0x14108b(0xdd)][_0x14108b(0x28f)](_0x44c64b=>_0x44c64b[_0x14108b(0x1bc)]());}[_0x23887d(0x19f)](_0xda39cb){const _0x5f2c12=_0x23887d;return this['_entities'][_0x5f2c12(0x1d6)](_0xda39cb)?this[_0x5f2c12(0xdd)][_0x5f2c12(0x178)](_0xda39cb)[_0x5f2c12(0x3ad)]:this['_entityInit$'][_0x5f2c12(0x28b)]((0x0,_0x381980[_0x5f2c12(0x3ac)])(_0x2cb708=>_0x2cb708['unitID']===_0xda39cb),(0x0,_0x381980['switchMap'])(_0x56d93f=>_0x56d93f[_0x5f2c12(0x3ad)]));}[_0x23887d(0xbf)](){const _0x4a44aa=_0x23887d;this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8[_0x4a44aa(0x1af)]['UNIVER_SHEET'])[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))[_0x4a44aa(0x3b1)](async _0x57dd97=>{const _0x59f5f3=_0x4a44aa;let _0x179594=_0x57dd97['unit']['getUnitId'](),_0x43ce7c=await this[_0x59f5f3(0x13d)](_0x179594);this[_0x59f5f3(0x3a9)][_0x59f5f3(0x250)](_0x43ce7c),this[_0x59f5f3(0xdd)]['set'](_0x179594,_0x43ce7c);}),this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8[_0x4a44aa(0x1af)]['UNIVER_DOC'])[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x3ac)])(_0x37f99e=>!_0x37f99e[_0x4a44aa(0x256)]['getUnitId']()[_0x4a44aa(0x342)]('__')))[_0x4a44aa(0x3b1)](async _0xad622b=>{const _0xbf8efb=_0x4a44aa;let {unit:_0x34e541}=_0xad622b,_0x34477d=_0x34e541[_0xbf8efb(0x2e0)](),_0x5e9354=await this[_0xbf8efb(0x370)](_0x34477d);this[_0xbf8efb(0x3a9)][_0xbf8efb(0x250)](_0x5e9354),this[_0xbf8efb(0xdd)][_0xbf8efb(0x341)](_0x34477d,_0x5e9354);}),this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8[_0x4a44aa(0x1af)][_0x4a44aa(0x130)])['pipe']((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))['subscribe'](async _0xbe9a3f=>{const _0x478d58=_0x4a44aa;let _0x53102e=_0xbe9a3f[_0x478d58(0x256)]['getUnitId'](),_0x1ad4b2=await this[_0x478d58(0x68)](_0x53102e);this[_0x478d58(0x3a9)][_0x478d58(0x250)](_0x1ad4b2),this['_entities'][_0x478d58(0x341)](_0x53102e,_0x1ad4b2);}),this[_0x4a44aa(0x15f)][_0x4a44aa(0xee)](_0x542ae8['UniverInstanceType'][_0x4a44aa(0xe0)])['pipe']((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))[_0x4a44aa(0x3b1)](async _0x21a932=>{const _0x1b220f=_0x4a44aa;let _0x252cbf=_0x21a932[_0x1b220f(0x256)][_0x1b220f(0x2e0)](),_0x32f609=await this[_0x1b220f(0x339)](_0x252cbf);this[_0x1b220f(0x3a9)]['next'](_0x32f609),this[_0x1b220f(0xdd)][_0x1b220f(0x341)](_0x252cbf,_0x32f609);}),(0x0,_0x381980[_0x4a44aa(0x399)])(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x542ae8[_0x4a44aa(0x1af)]['UNIVER_DOC']),this[_0x4a44aa(0x15f)][_0x4a44aa(0x32a)](_0x542ae8['UniverInstanceType'][_0x4a44aa(0x20c)]),this[_0x4a44aa(0x15f)][_0x4a44aa(0x32a)](_0x542ae8[_0x4a44aa(0x1af)][_0x4a44aa(0x130)]),this[_0x4a44aa(0x15f)][_0x4a44aa(0x32a)](_0x542ae8['UniverInstanceType'][_0x4a44aa(0xe0)]))[_0x4a44aa(0x28b)]((0x0,_0x381980[_0x4a44aa(0x29b)])(this[_0x4a44aa(0x138)]))['subscribe'](_0x4a7f80=>{const _0x3992eb=_0x4a44aa;let _0x2663d8=_0x4a7f80[_0x3992eb(0x2e0)](),_0x56585e=this[_0x3992eb(0xdd)][_0x3992eb(0x178)](_0x2663d8);_0x56585e&&(_0x56585e['dispose'](),this[_0x3992eb(0xdd)]['delete'](_0x2663d8));});}async[_0x23887d(0x13d)](_0x50a745){const _0x390321=_0x23887d;let _0x32d9d6=await this[_0x390321(0x1c4)]['requireSession'](_0x50a745),_0x855354=this[_0x390321(0x359)][_0x390321(0x23d)](_0x222460,_0x50a745,_0x32d9d6);return _0x855354[_0x390321(0xad)](),_0x855354;}async[_0x23887d(0x370)](_0x2ac890){const _0xb2e7f3=_0x23887d;let _0x406c41=await this[_0xb2e7f3(0x1c4)][_0xb2e7f3(0xc2)](_0x2ac890),_0x2caa3e=this[_0xb2e7f3(0x359)][_0xb2e7f3(0x23d)](_0xf186a3,_0x2ac890,_0x406c41);return _0x2caa3e[_0xb2e7f3(0xad)](),_0x2caa3e;}async[_0x23887d(0x68)](_0x28bd15){const _0x330f85=_0x23887d;let _0x476af0=await this[_0x330f85(0x1c4)][_0x330f85(0xc2)](_0x28bd15),_0x3b5a34=this['_injector'][_0x330f85(0x23d)](_0x59c1a8,_0x28bd15,_0x476af0);return _0x3b5a34[_0x330f85(0xad)](),_0x3b5a34;}async[_0x23887d(0x339)](_0x39e0b3){const _0x408e76=_0x23887d;let _0x59fb24=await this[_0x408e76(0x1c4)]['requireSession'](_0x39e0b3),_0xc8f3d5=this[_0x408e76(0x359)][_0x408e76(0x23d)](_0x3bf62a,_0x39e0b3,_0x59fb24);return _0xc8f3d5[_0x408e76(0xad)](),_0xc8f3d5;}};_0x4e58f9=_0xfa6df6([_0x518e4c(0x0,_0x542ae8['IUniverInstanceService']),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x105)]))],_0x4e58f9);let _0x6dc481=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x4f5bd5,_0x25bbdf,_0x4240e3){const _0x1316af=_0x23887d;super(),this[_0x1316af(0x388)]=_0x4f5bd5,this[_0x1316af(0x86)]=_0x25bbdf,this[_0x1316af(0xc3)]=_0x4240e3,_0x24a4e0(this,_0x1316af(0x1b5),new Set()),_0x24a4e0(this,'_renderScheduled',!0x1),_0x24a4e0(this,'_isApplyingOverlays',!0x1),_0x24a4e0(this,'_latestCursors',new Map()),this[_0x1316af(0xbf)]();}[_0x23887d(0x1bc)](){const _0x425ac8=_0x23887d;this['_removeCollabCursors'](),super[_0x425ac8(0x1bc)]();}[_0x23887d(0xbf)](){const _0x5c1b6d=_0x23887d;let _0x5ee296=this['_collabCursorController']['getCollabCursors$'](this[_0x5c1b6d(0x388)][_0x5c1b6d(0x73)]);this[_0x5c1b6d(0x36a)]((0x0,_0x542ae8[_0x5c1b6d(0x33c)])((0x0,_0x381980[_0x5c1b6d(0x306)])([_0x5ee296,this[_0x5c1b6d(0x388)][_0x5c1b6d(0x256)]['theme$'],this[_0x5c1b6d(0xc3)][_0x5c1b6d(0xa2)]])['pipe']((0x0,_0x381980[_0x5c1b6d(0x29b)])(this[_0x5c1b6d(0x138)]))[_0x5c1b6d(0x3b1)](([_0x1e972f])=>{const _0x4f504f=_0x5c1b6d;let _0x5a81ab=this[_0x4f504f(0x388)][_0x4f504f(0x256)]['getActivePageId'](),_0x2f6007=new Map();_0x1e972f['forEach']((_0x394056,_0x32d24e)=>{const _0x229b3=_0x4f504f;_0x394056[_0x229b3(0x298)]===_0x5a81ab&&_0x2f6007[_0x229b3(0x341)](_0x32d24e,{..._0x394056,'color':this['_themeService'][_0x229b3(0x11b)](_0x394056[_0x229b3(0x17b)])});}),this[_0x4f504f(0x1d1)]=_0x2f6007,this[_0x4f504f(0x23f)]();})));let _0x3241c5=this[_0x5c1b6d(0x388)][_0x5c1b6d(0x18c)];this[_0x5c1b6d(0x36a)]((0x0,_0x542ae8['toDisposable'])(_0x3241c5['addObject$']['pipe']((0x0,_0x381980[_0x5c1b6d(0x29b)])(this[_0x5c1b6d(0x138)]))['subscribe'](()=>{const _0x596a8f=_0x5c1b6d;this[_0x596a8f(0xd4)]||this['_scheduleRender']();})));}['_scheduleRender'](){const _0x24d1f9=_0x23887d;this[_0x24d1f9(0x7e)]||(this[_0x24d1f9(0x7e)]=!0x0,Promise[_0x24d1f9(0x167)]()['then'](()=>{const _0x1d2413=_0x24d1f9;this[_0x1d2413(0x7e)]=!0x1,this[_0x1d2413(0x194)]();}));}[_0x23887d(0x194)](){const _0x4d6fa5=_0x23887d;this[_0x4d6fa5(0x74)]();let _0xd8cd9e=this[_0x4d6fa5(0x388)][_0x4d6fa5(0x256)][_0x4d6fa5(0x29f)](),_0x492280=[];if(this[_0x4d6fa5(0x1d1)][_0x4d6fa5(0x28f)]((_0x4146ff,_0x2d8c44)=>{const _0x493198=_0x4d6fa5;_0x4146ff[_0x493198(0x298)]===_0xd8cd9e&&_0x4146ff['selectedIds'][_0x493198(0x28f)](_0x20f742=>{const _0x4d6b39=_0x493198;let _0x41dcb3=(0x0,_0x52faa1['getBoardElementRenderObjectKey'])(_0x4146ff[_0x4d6b39(0x73)],_0x20f742),_0x161edb=this[_0x4d6b39(0x90)](_0x41dcb3);if(!_0x161edb)return;let _0x372879=this[_0x4d6b39(0x24a)](_0x161edb);_0x492280[_0x4d6b39(0x363)](new _0x271694(_0x4d6b39(0x33a)+_0x2d8c44+'-'+_0x20f742,{..._0x4146ff,'left':_0x372879[_0x4d6b39(0xbb)],'top':_0x372879[_0x4d6b39(0xfe)],'width':_0x372879[_0x4d6b39(0x3b4)],'height':_0x372879[_0x4d6b39(0x303)],'angle':_0x161edb[_0x4d6b39(0x6d)],'evented':!0x1,'zIndex':_0x12a03d}));});}),_0x492280[_0x4d6fa5(0x351)]===0x0){this[_0x4d6fa5(0x388)][_0x4d6fa5(0x18c)][_0x4d6fa5(0x3be)](!0x0);return;}this[_0x4d6fa5(0xd4)]=!0x0,this[_0x4d6fa5(0x388)][_0x4d6fa5(0x18c)][_0x4d6fa5(0x3c5)](_0x492280,_0x12a03d),this['_isApplyingOverlays']=!0x1,this['_cursors']=new Set(_0x492280),this[_0x4d6fa5(0x388)]['scene'][_0x4d6fa5(0x3be)](!0x0);}['_removeCollabCursors'](){const _0x286f7a=_0x23887d;let _0x5dfaaa=Array[_0x286f7a(0x362)](this[_0x286f7a(0x1b5)]);if(_0x5dfaaa['length']===0x0)return;let _0x401fbc=this['_context'][_0x286f7a(0x18c)];_0x286f7a(0x384)in _0x401fbc&&typeof _0x401fbc[_0x286f7a(0x384)]=='function'?_0x401fbc['removeObjects'](_0x5dfaaa):_0x5dfaaa[_0x286f7a(0x28f)](_0x260ac4=>{const _0x4a737c=_0x286f7a;_0x4a737c(0x191)in _0x401fbc&&typeof _0x401fbc[_0x4a737c(0x191)]==_0x4a737c(0x3ab)?_0x401fbc[_0x4a737c(0x191)](_0x260ac4):_0x260ac4['dispose']();}),this[_0x286f7a(0x1b5)][_0x286f7a(0x16c)](),_0x401fbc[_0x286f7a(0x3be)](!0x0);}['_getSceneObjectByKey'](_0x7f1c73){const _0x504608=_0x23887d;var _0xca2648,_0x44bba2,_0x41ece7;let _0x5d1669=this[_0x504608(0x388)][_0x504608(0x18c)];return(_0xca2648=(_0x44bba2=(_0x41ece7=_0x5d1669['getObjectIncludeInGroup'])==null?void 0x0:_0x41ece7['call'](_0x5d1669,_0x7f1c73))==null?_0x5d1669[_0x504608(0x369)](_0x7f1c73):_0x44bba2)==null?null:_0xca2648;}[_0x23887d(0x24a)](_0xe74791){const _0x1b7cc4=_0x23887d;var _0xdee67c,_0xcf22cb;let _0x225fb1=_0xe74791;return(_0xdee67c=(_0xcf22cb=_0x225fb1[_0x1b7cc4(0x10c)])==null?void 0x0:_0xcf22cb[_0x1b7cc4(0x3cc)](_0x225fb1))==null?{'left':_0xe74791[_0x1b7cc4(0xbb)],'top':_0xe74791['top'],'width':_0xe74791[_0x1b7cc4(0x3b4)],'height':_0xe74791[_0x1b7cc4(0x303)]}:_0xdee67c;}};_0x6dc481=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x4e58f9)),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x542ae8[_0x23887d(0x358)]))],_0x6dc481);let _0x5d220c=_0x23887d(0x151);var _0x47408c=class{constructor(_0x1d99e1,_0x3d7161,_0x1d381e,_0x302f01){const _0x21602c=_0x23887d;this[_0x21602c(0xbe)]=_0x1d99e1,this[_0x21602c(0x21f)]=_0x3d7161,this[_0x21602c(0x234)]=_0x1d381e,this['_document']=_0x302f01,_0x24a4e0(this,_0x21602c(0x6b),[]),_0x24a4e0(this,_0x21602c(0x81),null),_0x24a4e0(this,_0x21602c(0x330),null),_0x24a4e0(this,'_anchorDot',null),_0x24a4e0(this,'_hideTimer',null),_0x24a4e0(this,_0x21602c(0x6a),null),this[_0x21602c(0x194)]();}set['_hover'](_0x60708d){const _0x3fa46d=_0x23887d;_0x60708d?(this['_anchorDot']&&this[_0x3fa46d(0x2c0)][_0x3fa46d(0x1a0)](),this[_0x3fa46d(0x330)]&&this[_0x3fa46d(0x330)][_0x3fa46d(0x1e5)]()):(this['_anchorDot']&&this[_0x3fa46d(0x2c0)][_0x3fa46d(0x1e5)](),this['_textBubble']&&this['_textBubble'][_0x3fa46d(0x1a0)]());}[_0x23887d(0x1bc)](){const _0x528c29=_0x23887d;for(let _0x41a1e8 of this[_0x528c29(0x6b)])_0x41a1e8['dispose']();this[_0x528c29(0x330)]&&this[_0x528c29(0x330)][_0x528c29(0x1bc)](),this[_0x528c29(0x2c0)]&&this[_0x528c29(0x2c0)][_0x528c29(0x1bc)](),this[_0x528c29(0x81)]&&this['_anchor'][_0x528c29(0x1bc)](),this[_0x528c29(0x6a)]&&this[_0x528c29(0x6a)]();}[_0x23887d(0x194)](){const _0x1360fa=_0x23887d;let {_docSkeleton:_0x28b0c8,_document:_0x544a74}=this,{color:_0x5d0aa4,name:_0x3bb64e,ranges:_0x3e9f11}=this['_cursor'],_0x2a34c7=_0x544a74[_0x1360fa(0x302)](),{docsLeft:_0x44cf34,docsTop:_0x14029f}=_0x2a34c7,_0x1e080f=new _0x10603f[(_0x1360fa(0x217))](_0x2a34c7,_0x28b0c8);for(let {startOffset:_0x464cd2,endOffset:_0x1e4c57,rangeType:_0x2a92bf,segmentId:_0x2c671a,segmentPage:_0x3f5205,collapsed:_0x67ceca,isActive:_0x2f1e52}of _0x3e9f11){let _0x2bfc01=_0x28b0c8['findNodePositionByCharIndex'](_0x464cd2,!0x0,_0x2c671a,_0x3f5205),_0x22f4a1=_0x28b0c8[_0x1360fa(0x78)](_0x1e4c57,!0x0,_0x2c671a,_0x3f5205);if(_0x22f4a1==null&&(_0x22f4a1=_0x28b0c8[_0x1360fa(0x78)](_0x1e4c57-0x1,!0x1,_0x2c671a,_0x3f5205)),_0x2f1e52){let {contentBoxPointGroup:_0x364a80}=_0x1e080f[_0x1360fa(0x34c)](_0x22f4a1,_0x22f4a1);if(_0x364a80[_0x1360fa(0x351)]===0x0)continue;this[_0x1360fa(0x225)](_0x5d0aa4,_0x364a80,_0x44cf34,_0x14029f,_0x3bb64e),this['_eventUnsubscribe']=this[_0x1360fa(0x27f)]();}if(_0x2bfc01&&_0x22f4a1){if(_0x2a92bf===_0x542ae8[_0x1360fa(0x16d)][_0x1360fa(0x1a8)]){var _0x5c2c02;let {pointGroup:_0x53d69}=(_0x5c2c02=new _0x10603f['NodePositionConvertToRectRange'](_0x2a34c7,_0x28b0c8)[_0x1360fa(0x34c)](_0x2bfc01,_0x22f4a1))==null?{}:_0x5c2c02;if(_0x53d69==null||_0x53d69[_0x1360fa(0x351)]===0x0)continue;this[_0x1360fa(0x20e)](_0x5d0aa4,_0x53d69,_0x44cf34,_0x14029f);}else{if(!_0x67ceca){let {borderBoxPointGroup:_0x204aa7}=_0x1e080f[_0x1360fa(0x34c)](_0x2bfc01,_0x22f4a1);if(_0x204aa7[_0x1360fa(0x351)]===0x0)continue;this[_0x1360fa(0x1f4)](_0x5d0aa4,_0x204aa7,_0x44cf34,_0x14029f);}}}}}[_0x23887d(0x225)](_0x25a06c,_0x81e5a0,_0x5ab6a7,_0x7e0d78,_0x5a1eb4){const _0x2b9fa4=_0x23887d;let {left:_0x192d04,top:_0x5f3456,height:_0x230cbe}=this[_0x2b9fa4(0x199)](_0x81e5a0),_0x42bc34=1.5/this[_0x2b9fa4(0x2e2)](),_0x2dd29c=new _0x19aeb8['Rect'](_0x5d220c+(0x0,_0x542ae8[_0x2b9fa4(0x119)])(0x6),{'left':_0x192d04+_0x5ab6a7-_0x42bc34,'top':_0x5f3456+_0x7e0d78,'height':_0x230cbe,'width':1.5,'fill':_0x25a06c||(0x0,_0x19aeb8[_0x2b9fa4(0xaa)])(_0x542ae8[_0x2b9fa4(0x22f)]['black'],0x0),'strokeWidth':_0x42bc34,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this[_0x2b9fa4(0x81)]=_0x2dd29c,this['_scene'][_0x2b9fa4(0x304)](_0x2dd29c,_0x10603f[_0x2b9fa4(0x2b0)]);let _0x77a8ec=new _0x19aeb8[(_0x2b9fa4(0x3b8))](_0x5d220c+(0x0,_0x542ae8['generateRandomId'])(0x6),{'left':_0x192d04+_0x5ab6a7-_0x42bc34,'top':_0x5f3456+_0x7e0d78-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x25a06c||(0x0,_0x19aeb8[_0x2b9fa4(0xaa)])(_0x542ae8[_0x2b9fa4(0x22f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x25a06c||(0x0,_0x19aeb8['getColor'])(_0x542ae8[_0x2b9fa4(0x22f)][_0x2b9fa4(0xb3)],0x0),'evented':!0x1});this['_anchorDot']=_0x77a8ec,this[_0x2b9fa4(0x21f)][_0x2b9fa4(0x304)](_0x77a8ec,_0x10603f['TEXT_RANGE_LAYER_INDEX']);let _0x5e41d7=new _0x5bb6af(_0x5d220c+(0x0,_0x542ae8[_0x2b9fa4(0x119)])(0x6),{'left':_0x192d04+_0x5ab6a7-_0x42bc34,'top':_0x5f3456+_0x7e0d78-0x14,'text':_0x5a1eb4,'color':_0x25a06c});this['_textBubble']=_0x5e41d7,this[_0x2b9fa4(0x21f)][_0x2b9fa4(0x304)](_0x5e41d7,_0x10603f[_0x2b9fa4(0x2b0)]),this[_0x2b9fa4(0x277)]=!0x1;}[_0x23887d(0x27f)](){const _0x5e6f1a=_0x23887d;let _0x4b5a1a=this['_anchor']['onPointerEnter$'][_0x5e6f1a(0x283)](()=>{const _0x43d79f=_0x5e6f1a;this[_0x43d79f(0x277)]=!0x0;}),_0x167513=this['_anchor'][_0x5e6f1a(0x1ff)]['subscribeEvent'](()=>{const _0x3a57b6=_0x5e6f1a;this['_hideTimer']&&clearTimeout(this[_0x3a57b6(0x1f6)]),this[_0x3a57b6(0x1f6)]=setTimeout(()=>{const _0x1ce835=_0x3a57b6;this[_0x1ce835(0x277)]=!0x1;},0x7d0);});return()=>{const _0x36f2e4=_0x5e6f1a;_0x4b5a1a[_0x36f2e4(0x2e8)](),_0x167513[_0x36f2e4(0x2e8)]();};}['_drawTextRange'](_0x575190,_0x5c71cc,_0x339947,_0x4ef3be){const _0x23e2f4=_0x23887d;let _0x483b42=0.2,_0x2d5b0f=new _0x542ae8[(_0x23e2f4(0x348))](_0x575190)[_0x23e2f4(0x192)](_0x483b42)['toRgbString'](),_0x523c3c=new _0x19aeb8[(_0x23e2f4(0x71))](_0x23e2f4(0x1bd)+(0x0,_0x542ae8[_0x23e2f4(0x119)])(0x6),{'pointsGroup':_0x5c71cc,'fill':_0x2d5b0f||(0x0,_0x19aeb8['getColor'])(_0x542ae8[_0x23e2f4(0x22f)]['black'],_0x483b42),'left':_0x339947,'top':_0x4ef3be,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23e2f4(0x6b)][_0x23e2f4(0x363)](_0x523c3c),this[_0x23e2f4(0x21f)][_0x23e2f4(0x304)](_0x523c3c,_0x10603f[_0x23e2f4(0x2b0)]);}[_0x23887d(0x20e)](_0x27efcc,_0x59d9b0,_0x1f10c7,_0x56f4fe){const _0x5e749f=_0x23887d;let _0x2114f9=0.2,_0x15e119=new _0x542ae8['ColorKit'](_0x27efcc)[_0x5e749f(0x192)](_0x2114f9)[_0x5e749f(0x2ff)](),_0x295272=new _0x19aeb8[(_0x5e749f(0x71))](_0x5e749f(0x2ba)+(0x0,_0x542ae8[_0x5e749f(0x119)])(0x6),{'pointsGroup':_0x59d9b0,'fill':_0x15e119||(0x0,_0x19aeb8['getColor'])(_0x542ae8[_0x5e749f(0x22f)][_0x5e749f(0xb3)],_0x2114f9),'left':_0x1f10c7,'top':_0x56f4fe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e749f(0x6b)][_0x5e749f(0x363)](_0x295272),this[_0x5e749f(0x21f)][_0x5e749f(0x304)](_0x295272,_0x10603f[_0x5e749f(0x2b0)]);}[_0x23887d(0x199)](_0x24fa9d){let _0xaf04df=_0x24fa9d[0x0],_0x1bb654=_0xaf04df[0x0],_0x1e6b9c=_0xaf04df[0x2],{x:_0x46bd19,y:_0x48823d}=_0x1bb654,{x:_0x2df278,y:_0x5ba7b7}=_0x1e6b9c;return{'left':_0x46bd19,'top':_0x48823d,'width':_0x2df278-_0x46bd19,'height':_0x5ba7b7-_0x48823d};}['_getScale'](){const _0xe8c6b0=_0x23887d;let {scaleX:_0x4e577f,scaleY:_0x3cd188}=this[_0xe8c6b0(0x21f)][_0xe8c6b0(0x2c3)]();return Math[_0xe8c6b0(0x1ba)](_0x4e577f,_0x3cd188);}};let _0x170348=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x41e539,_0x2610ce,_0x33b174,_0x59bcaa,_0x46b015){const _0x8bd1b0=_0x23887d;super(),this[_0x8bd1b0(0x388)]=_0x41e539,this['_docSkeletonManagerService']=_0x2610ce,this[_0x8bd1b0(0x86)]=_0x33b174,this[_0x8bd1b0(0xc6)]=_0x59bcaa,this[_0x8bd1b0(0xc3)]=_0x46b015,_0x24a4e0(this,_0x8bd1b0(0x188),[]),_0x24a4e0(this,_0x8bd1b0(0x1b5),[]),this[_0x8bd1b0(0xbf)]();}[_0x23887d(0xbf)](){const _0x3574f6=_0x23887d;let _0x576c1a=this[_0x3574f6(0x388)][_0x3574f6(0x73)],_0x4f6789=this[_0x3574f6(0x325)];this[_0x3574f6(0x36a)]((0x0,_0x381980[_0x3574f6(0x306)])([this[_0x3574f6(0x86)]['getCollabCursors$'](_0x576c1a),this[_0x3574f6(0xc3)][_0x3574f6(0xa2)]])[_0x3574f6(0x28b)]((0x0,_0x1c9ca5[_0x3574f6(0xd7)])(([_0x1c1fe3,_0x3dcb15])=>({'skeleton':_0x4f6789['getSkeleton'](),'cursors':[..._0x1c1fe3['values']()][_0x3574f6(0xb6)](_0x3061b0=>({..._0x3061b0,'color':this[_0x3574f6(0xc3)][_0x3574f6(0x11b)](_0x3061b0[_0x3574f6(0x17b)])}))})))[_0x3574f6(0x3b1)](_0x14f75d=>{const _0x339a8a=_0x3574f6;if(this[_0x339a8a(0x74)](),_0x14f75d){let {skeleton:_0x1b2130,cursors:_0x5f14d1}=_0x14f75d;this[_0x339a8a(0xa3)](_0x1b2130,_0x5f14d1);}})),this[_0x3574f6(0x161)](),this[_0x3574f6(0x1f9)]();}[_0x23887d(0xa3)](_0x313e9f,_0x33e8f1){const _0x3975b1=_0x23887d;let {scene:_0x14e2cc,mainComponent:_0x4d1ef6}=this['_context'],_0x2a84e5=_0x33e8f1[_0x3975b1(0xd7)](_0x34406e=>new _0x47408c(_0x34406e,_0x14e2cc,_0x313e9f,_0x4d1ef6));this['_cursorShapes']=_0x2a84e5,this['_cursors']=_0x33e8f1;}['_refreshCollabCursors'](){const _0xc78d7f=_0x23887d;this[_0xc78d7f(0x74)]();let {scene:_0x30de9a,mainComponent:_0x524c01}=this[_0xc78d7f(0x388)],_0x46f115=this[_0xc78d7f(0x325)]['getSkeleton'](),_0x4bf005=this[_0xc78d7f(0x1b5)][_0xc78d7f(0xd7)](_0x5b76be=>new _0x47408c(_0x5b76be,_0x30de9a,_0x46f115,_0x524c01));this['_cursorShapes']=_0x4bf005;}[_0x23887d(0x74)](){const _0x18e87c=_0x23887d;this['_cursorShapes'][_0x18e87c(0x28f)](_0x3baad4=>_0x3baad4['dispose']()),this[_0x18e87c(0x188)]=[];}[_0x23887d(0x1f9)](){const _0x444efb=_0x23887d;let _0x19d88f=[_0x10603f[_0x444efb(0x2f7)]['id']];this[_0x444efb(0x36a)](this[_0x444efb(0xc6)][_0x444efb(0xe9)](_0x5a3909=>{const _0xebdc27=_0x444efb;_0x19d88f[_0xebdc27(0x1de)](_0x5a3909['id'])&&_0x5a3909[_0xebdc27(0x33f)][_0xebdc27(0x73)]===this[_0xebdc27(0x388)]['unitId']&&this[_0xebdc27(0x216)]();}));}[_0x23887d(0x161)](){const _0x422b08=_0x23887d;this[_0x422b08(0x36a)]((0x0,_0x542ae8[_0x422b08(0x1a5)])(this[_0x422b08(0x388)][_0x422b08(0x38d)][_0x422b08(0x197)])['pipe']((0x0,_0x1c9ca5['filter'])(_0x560384=>_0x560384[_0x422b08(0x214)]===_0x19aeb8[_0x422b08(0x14e)][_0x422b08(0x3a2)]),(0x0,_0x1c9ca5[_0x422b08(0x376)])(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x170348=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x13b229[_0x23887d(0x1c8)])),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x4e58f9)),_0x518e4c(0x3,_0x542ae8[_0x23887d(0x268)]),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x358)]))],_0x170348);var _0x523d82=class extends _0x19aeb8[_0x23887d(0x37c)]{constructor(_0x3dadb9,_0x243e46){const _0x321817=_0x23887d;if(super(_0x3dadb9,_0x243e46),_0x24a4e0(this,_0x321817(0x2a1),void 0x0),_0x24a4e0(this,'_hovered',!0x1),_0x24a4e0(this,_0x321817(0x390),void 0x0),_0x24a4e0(this,_0x321817(0x2f3),''),_0x24a4e0(this,_0x321817(0x367),'top'),_0x24a4e0(this,'_backgroundColor',void 0x0),_0x24a4e0(this,_0x321817(0x91),void 0x0),_0x24a4e0(this,_0x321817(0x2a9),void 0x0),_0x24a4e0(this,_0x321817(0x2be),0x4),_0x24a4e0(this,_0x321817(0x13b),void 0x0),_0x24a4e0(this,_0x321817(0x2d8),void 0x0),_0x24a4e0(this,_0x321817(0x318),!0x0),_0x24a4e0(this,_0x321817(0x38f),0x0),_0x24a4e0(this,_0x321817(0x1ea),_0x321817(0x83)),_0x243e46){var _0x2b0f19;if(this['setShapeProps'](_0x243e46),_0x243e46[_0x321817(0x158)]&&((_0x2b0f19=_0x243e46[_0x321817(0x332)])==null?this[_0x321817(0x2be)]:_0x2b0f19)){var _0xcdc632;this[_0x321817(0x1d5)]((_0xcdc632=_0x243e46['highlightSecond'])==null?this[_0x321817(0x2be)]:_0xcdc632);}}this[_0x321817(0x3aa)][_0x321817(0x283)](()=>this[_0x321817(0x1e1)]({'hovered':!0x0})),this['onPointerLeave$'][_0x321817(0x283)](()=>this[_0x321817(0x1e1)]({'hovered':!0x1}));}[_0x23887d(0xf8)](_0x1deae0){this['_offsetY']=_0x1deae0;}['setShapeProps'](_0x25e4af){const _0x5971b0=_0x23887d;var _0x500ed2,_0x1a4d9a,_0x248c1f,_0x1fd32f,_0x29f5b9,_0x432a39,_0x4296b0,_0x5a5493;this[_0x5971b0(0x2a1)]=(_0x500ed2=_0x25e4af[_0x5971b0(0x17b)])==null?this['_color']:_0x500ed2,this[_0x5971b0(0x32c)]=(_0x1a4d9a=_0x25e4af[_0x5971b0(0x187)])==null?this[_0x5971b0(0x32c)]:_0x1a4d9a,this[_0x5971b0(0x390)]=(_0x248c1f=_0x25e4af[_0x5971b0(0xd8)])==null?this[_0x5971b0(0x390)]:_0x248c1f,this[_0x5971b0(0x2f3)]=(_0x1fd32f=_0x25e4af[_0x5971b0(0xe4)])==null?this[_0x5971b0(0x2f3)]:_0x1fd32f,this[_0x5971b0(0x367)]=(_0x29f5b9=_0x25e4af[_0x5971b0(0x2f8)])==null?this[_0x5971b0(0x367)]:_0x29f5b9,this[_0x5971b0(0x32f)]=(_0x432a39=_0x25e4af[_0x5971b0(0x249)])==null?this['_backgroundColor']:_0x432a39,this[_0x5971b0(0x91)]=(_0x4296b0=_0x25e4af[_0x5971b0(0x9a)])==null?this[_0x5971b0(0x91)]:_0x4296b0,this[_0x5971b0(0x1ea)]=(_0x5a5493=_0x25e4af[_0x5971b0(0x328)])==null?this[_0x5971b0(0x1ea)]:_0x5a5493,_0x25e4af[_0x5971b0(0x332)]!==void 0x0&&(this[_0x5971b0(0x2be)]=_0x25e4af[_0x5971b0(0x332)]),_0x25e4af['highlight']!==void 0x0&&(this[_0x5971b0(0x2a9)]=_0x25e4af[_0x5971b0(0x158)]),_0x25e4af[_0x5971b0(0x26d)]!==void 0x0&&(this[_0x5971b0(0x38f)]=_0x25e4af['offsetY']),this['transformByState']({'width':_0x25e4af[_0x5971b0(0x3b4)],'height':_0x25e4af[_0x5971b0(0x303)]});}[_0x23887d(0x35e)](_0x63496e){const _0x2e496a=_0x23887d;let {row:_0x5b0d66,column:_0x2a75e2}=_0x63496e;if(_0x5b0d66>=this[_0x2e496a(0x390)]['startRow']&&_0x5b0d66<=this[_0x2e496a(0x390)][_0x2e496a(0x1fb)]&&_0x2a75e2>=this['_range'][_0x2e496a(0x3c4)]&&_0x2a75e2<=this[_0x2e496a(0x390)][_0x2e496a(0x1ac)]){this[_0x2e496a(0x1e1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['_startBlinking'](_0x2e419c){const _0x34bafc=_0x23887d;this[_0x34bafc(0x95)](),this[_0x34bafc(0x318)]=!0x0,this[_0x34bafc(0x2d8)]=window[_0x34bafc(0x253)](()=>{const _0x22d5f5=_0x34bafc;this[_0x22d5f5(0x318)]=!this[_0x22d5f5(0x318)],this[_0x22d5f5(0x3be)](!0x0);},0x1f4),this['_blinkTimer']=window[_0x34bafc(0x35f)](()=>{const _0x401daa=_0x34bafc;this[_0x401daa(0x95)](),this[_0x401daa(0x318)]=!0x0,this['makeDirty'](!0x0);},_0x2e419c*0x3e8);}[_0x23887d(0x95)](){const _0x29555a=_0x23887d;this[_0x29555a(0x2d8)]&&(window[_0x29555a(0x23c)](this['_blinkIntervalTimer']),this[_0x29555a(0x2d8)]=void 0x0),this[_0x29555a(0x13b)]&&(window['clearTimeout'](this[_0x29555a(0x13b)]),this[_0x29555a(0x13b)]=void 0x0);}[_0x23887d(0xb9)](_0x5a2514){return!0x1;}[_0x23887d(0x1bc)](){this['_stopBlinking'](),super['dispose']();}[_0x23887d(0x2cf)](_0x54db10){const _0x260470=_0x23887d;let _0x1cca8d=this['_color'],_0x305ec3=this[_0x260470(0x32f)];if(this['_highlight']&&!this[_0x260470(0x318)]&&(_0x1cca8d=this[_0x260470(0xab)](this[_0x260470(0x2a1)]),_0x305ec3=this[_0x260470(0x32f)]?this[_0x260470(0xab)](this[_0x260470(0x32f)]):void 0x0),_0x19aeb8[_0x260470(0x3b8)][_0x260470(0x3cb)](_0x54db10,{'width':this[_0x260470(0x3b4)],'height':this[_0x260470(0x303)],'strokeWidth':this[_0x260470(0xd2)]||1.5,'stroke':_0x1cca8d,'evented':!0x1,'fill':_0x305ec3}),this['_hovered']||this[_0x260470(0x91)]){var _0x26a73a;_0x54db10[_0x260470(0x204)]();let _0x3b555a=this[_0x260470(0x1ea)]===_0x260470(0xbb)?-_0x25f63f(_0x54db10,this[_0x260470(0x2f3)]):this[_0x260470(0x3b4)];_0x54db10[_0x260470(0x1e6)](0x1,0x0,0x0,0x1,_0x3b555a,(this[_0x260470(0x367)]===_0x260470(0x13a)?0x0:-0x14)+((_0x26a73a=this[_0x260470(0x38f)])==null?0x0:_0x26a73a)),_0x5bb6af['drawWith'](_0x54db10,{'text':this[_0x260470(0x2f3)],'color':_0x1cca8d}),_0x54db10[_0x260470(0xde)]();}}[_0x23887d(0xab)](_0x3a0b87){const _0x9c7cca=_0x23887d;return _0x3a0b87[_0x9c7cca(0x342)]('#')?_0x9c7cca(0x2f6)+Number['parseInt'](_0x3a0b87[_0x9c7cca(0xf5)](0x1,0x3),0x10)+',\x20'+Number[_0x9c7cca(0x145)](_0x3a0b87[_0x9c7cca(0xf5)](0x3,0x5),0x10)+',\x20'+Number[_0x9c7cca(0x145)](_0x3a0b87[_0x9c7cca(0xf5)](0x5,0x7),0x10)+',\x200.2)':_0x3a0b87[_0x9c7cca(0x342)]('rgba')?_0x3a0b87[_0x9c7cca(0x361)](/[\d.]+\)$/g,_0x9c7cca(0x3b2)):_0x3a0b87[_0x9c7cca(0x342)]('rgb')?_0x3a0b87[_0x9c7cca(0x361)]('rgb','rgba')[_0x9c7cca(0x361)](')',_0x9c7cca(0x1dc)):_0x3a0b87;}};let _0x3d555b=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x4ed3e0,_0x1f49fd,_0x142a10,_0x109d14){const _0x21ee36=_0x23887d;super(),this[_0x21ee36(0x388)]=_0x4ed3e0,this[_0x21ee36(0x208)]=_0x1f49fd,this[_0x21ee36(0x86)]=_0x142a10,this['_themeService']=_0x109d14,_0x24a4e0(this,_0x21ee36(0x1b5),new Set()),_0x24a4e0(this,_0x21ee36(0x1f3),null),_0x24a4e0(this,_0x21ee36(0x174),null),this['_init']();}[_0x23887d(0xbf)](){const _0x913401=_0x23887d;this[_0x913401(0x208)][_0x913401(0x207)][_0x913401(0x28b)]((0x0,_0x1c9ca5[_0x913401(0x29b)])(this['dispose$']),(0x0,_0x1c9ca5[_0x913401(0x98)])(_0x297822=>{const _0x216068=_0x913401;if(_0x297822){let _0x3781d4=_0x297822['sheetId'];return(0x0,_0x381980[_0x216068(0x306)])(this[_0x216068(0x86)][_0x216068(0x19f)](this[_0x216068(0x388)]['unitId']),this[_0x216068(0xc3)][_0x216068(0xa2)])[_0x216068(0x28b)]((0x0,_0x1c9ca5[_0x216068(0xd7)])(([_0x49bcd6,_0x215948])=>{const _0x40fda5=_0x216068;let _0x34fa7b=new Map();return _0x49bcd6[_0x40fda5(0x28f)]((_0x18d65b,_0xdc1a10)=>{const _0x3ec9ea=_0x40fda5;if(_0x18d65b['sheetID']===_0x3781d4){let _0x55962a={..._0x18d65b};_0x55962a[_0x3ec9ea(0x17b)]=this['_themeService']['getColorFromTheme'](_0x18d65b[_0x3ec9ea(0x17b)]),_0x34fa7b[_0x3ec9ea(0x341)](_0xdc1a10,_0x55962a);}}),{'skeleton':_0x297822,'cursors':_0x34fa7b};}));}return(0x0,_0x381980['of'])({'skeleton':null,'cursors':new Map()});}))[_0x913401(0x3b1)](({skeleton:_0x31191e,cursors:_0x44c67a})=>{const _0x34e1f0=_0x913401;this[_0x34e1f0(0x74)](),_0x31191e&&this[_0x34e1f0(0xa3)](_0x31191e,_0x44c67a);}),this[_0x913401(0x36a)](this[_0x913401(0x208)][_0x913401(0x207)][_0x913401(0x28b)]((0x0,_0x1c9ca5['takeUntil'])(this[_0x913401(0x138)]))['subscribe'](_0x369602=>{const _0x8b4035=_0x913401;var _0x1692b2;if(_0x369602==null)return;(_0x1692b2=this['_pointerMoveDisposable'])==null||_0x1692b2['unsubscribe'](),this[_0x8b4035(0x174)]=null;let {skeleton:_0x20a9ba}=_0x369602,{scene:_0x40bb2b}=this['_context'];this[_0x8b4035(0x174)]=_0x40bb2b[_0x8b4035(0x77)]['subscribeEvent']((0x0,_0x542ae8[_0x8b4035(0x257)])(_0x577691=>{const _0x400fac=_0x8b4035;var _0x91b3e8,_0x22f751;let {offsetX:_0x21158a,offsetY:_0x27f976}=_0x577691,{x:_0x240068,y:_0x5bacd2}=_0x40bb2b['getRelativeToViewportCoord'](_0x19aeb8[_0x400fac(0x2b1)][_0x400fac(0x393)]([_0x21158a,_0x27f976])),{scaleX:_0x3712da,scaleY:_0x531f58}=_0x40bb2b[_0x400fac(0x2c3)](),_0x314ff5=_0x40bb2b[_0x400fac(0x149)](_0x19aeb8[_0x400fac(0x231)][_0x400fac(0x33b)]),_0x1d872d=_0x40bb2b[_0x400fac(0x1da)](_0x19aeb8[_0x400fac(0x2b1)]['FromArray']([_0x240068,_0x5bacd2]),_0x314ff5),_0x771027=_0x20a9ba[_0x400fac(0x25c)](_0x21158a,_0x27f976,_0x3712da,_0x531f58,_0x1d872d);((_0x91b3e8=this[_0x400fac(0x1f3)])==null?void 0x0:_0x91b3e8[_0x400fac(0x2dd)])===_0x771027[_0x400fac(0x2dd)]&&((_0x22f751=this[_0x400fac(0x1f3)])==null?void 0x0:_0x22f751[_0x400fac(0x7d)])===_0x771027[_0x400fac(0x7d)]||this[_0x400fac(0x1b5)][_0x400fac(0x28f)](_0x1cc2fd=>{_0x1cc2fd['onMouseMove'](_0x771027);});},0x64));})),this[_0x913401(0x36a)]((0x0,_0x542ae8[_0x913401(0x33c)])(()=>{const _0x40811a=_0x913401;var _0x5c6e19;(_0x5c6e19=this[_0x40811a(0x174)])==null||_0x5c6e19[_0x40811a(0x2e8)](),this[_0x40811a(0x174)]=null;}));}['_updateCollabCursors'](_0x36910b,_0x2c9997){const _0x1c2853=_0x23887d;let _0x1e81fc=this[_0x1c2853(0x208)][_0x1c2853(0x166)]();if(!_0x1e81fc)return;let _0x18116c=this[_0x1c2853(0x3a3)]();if(!_0x18116c)return;this['_cursors'][_0x1c2853(0x28f)](_0x45eaea=>{const _0x1ce5db=_0x1c2853;_0x45eaea[_0x1ce5db(0x3be)]();});let {scene:_0x53e4da}=_0x18116c,_0x2b160b=_0x2293e4(Array[_0x1c2853(0x362)](_0x2c9997['values']()))[_0x1c2853(0xd7)](_0x5e2bad=>{const _0x24538c=_0x1c2853;let {color:_0x1fa0f4,range:_0x4e7007,name:_0x2a3e32,selection:_0x310126,sheetID:_0xd06611}=_0x5e2bad,{startColumn:_0x1899b4,startRow:_0x462a4b,endColumn:_0x219f2a,endRow:_0x16d4de}=_0x4e7007,_0x20f7e1=(0x0,_0x17f229[_0x24538c(0x10f)])(_0x462a4b,_0x1899b4,_0x53e4da,_0x1e81fc),_0x31c392=(0x0,_0x17f229[_0x24538c(0x10f)])(_0x16d4de,_0x219f2a,_0x53e4da,_0x1e81fc),{columnHeaderHeightAndMarginTop:_0x5c35c7}=_0x1e81fc,{startX:_0x52677f,startY:_0x138447}=_0x20f7e1,{endX:_0x17917c,endY:_0x59cf4c}=_0x31c392,_0x361806=_0x17917c-_0x52677f,_0x136129=_0x59cf4c-_0x138447;return new _0x523d82(_0x2a3e32,{'labelPosition':_0x138447-_0x5c35c7>=0x14?_0x24538c(0xfe):_0x24538c(0x13a),'sheetID':_0xd06611,'range':_0x4e7007,'color':_0x1fa0f4,'name':_0x2a3e32,'selection':_0x310126,'left':_0x52677f,'top':_0x138447,'width':_0x361806,'height':_0x136129,'evented':!0x1,'zIndex':0x1389});});_0x53e4da[_0x1c2853(0x3c5)](_0x2b160b,0x1),this[_0x1c2853(0x1b5)]=new Set(_0x2b160b);}['_removeCollabCursors'](){const _0x40d08a=_0x23887d;var _0x391b1c;(_0x391b1c=this[_0x40d08a(0x1b5)])==null||_0x391b1c['forEach'](_0x34b610=>_0x34b610['dispose']());}['_getSheetObject'](){const _0x3d86ed=_0x23887d;return(0x0,_0x17f229[_0x3d86ed(0x2db)])(this[_0x3d86ed(0x388)][_0x3d86ed(0x256)],this[_0x3d86ed(0x388)]);}};_0x3d555b=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x17f229['SheetSkeletonManagerService'])),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x4e58f9)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['ThemeService']))],_0x3d555b);function _0x2293e4(_0x544a82){const _0x1929ca=_0x23887d;let _0x48df11=new Map();return _0x544a82['forEach'](_0x328286=>{const _0x2fd02c=_0x3a65;if(_0x48df11[_0x2fd02c(0x1d6)](_0x328286['selection'])){let _0xa64ec1=_0x48df11[_0x2fd02c(0x178)](_0x328286[_0x2fd02c(0x140)]);_0xa64ec1['name']+=',\x20'+_0x328286[_0x2fd02c(0xe4)];}else _0x48df11[_0x2fd02c(0x341)](_0x328286[_0x2fd02c(0x140)],_0x328286);}),Array['from'](_0x48df11[_0x1929ca(0x2bd)]());}let _0x2d7875=class extends _0x542ae8[_0x23887d(0x292)]{constructor(_0x1abdb4,_0x5b4200,_0x40acfd){const _0x10b5c6=_0x23887d;super(),this[_0x10b5c6(0x388)]=_0x1abdb4,this[_0x10b5c6(0x86)]=_0x5b4200,this[_0x10b5c6(0xc3)]=_0x40acfd,_0x24a4e0(this,_0x10b5c6(0x1b5),new Set()),_0x24a4e0(this,_0x10b5c6(0x7e),!0x1),_0x24a4e0(this,_0x10b5c6(0xd4),!0x1),_0x24a4e0(this,_0x10b5c6(0x1d1),new Map()),this['_init']();}['dispose'](){const _0x3e36ef=_0x23887d;this[_0x3e36ef(0x74)](),super[_0x3e36ef(0x1bc)]();}[_0x23887d(0xbf)](){const _0x4d0743=_0x23887d;let _0x38c820=this[_0x4d0743(0x388)][_0x4d0743(0x256)][_0x4d0743(0x27c)][_0x4d0743(0x2e6)],_0x476dc9=this[_0x4d0743(0x86)][_0x4d0743(0x19f)](this[_0x4d0743(0x388)][_0x4d0743(0x73)]);this[_0x4d0743(0x36a)]((0x0,_0x542ae8[_0x4d0743(0x33c)])((0x0,_0x381980[_0x4d0743(0x306)])([_0x476dc9,_0x38c820,this[_0x4d0743(0xc3)][_0x4d0743(0xa2)]])[_0x4d0743(0x28b)]((0x0,_0x381980[_0x4d0743(0x29b)])(this[_0x4d0743(0x138)]))['subscribe'](([_0x142350,_0x233a85])=>{const _0x15b84b=_0x4d0743;let _0x53404f=new Map();_0x142350[_0x15b84b(0x28f)]((_0x3e0d44,_0x5069d1)=>{const _0x13ea96=_0x15b84b;_0x3e0d44[_0x13ea96(0x298)]===_0x233a85&&_0x53404f[_0x13ea96(0x341)](_0x5069d1,{..._0x3e0d44,'color':this[_0x13ea96(0xc3)]['getColorFromTheme'](_0x3e0d44[_0x13ea96(0x17b)])});}),this[_0x15b84b(0x1d1)]=_0x53404f,this[_0x15b84b(0x23f)]();})));let _0x4848a3=this[_0x4d0743(0x388)][_0x4d0743(0x18c)];this[_0x4d0743(0x36a)]((0x0,_0x542ae8['toDisposable'])(_0x4848a3[_0x4d0743(0x2cc)][_0x4d0743(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x4d0743(0x138)]))[_0x4d0743(0x3b1)](()=>{const _0x240dd3=_0x4d0743;this[_0x240dd3(0xd4)]||this['_scheduleRender']();})));}[_0x23887d(0x23f)](){const _0xd27daf=_0x23887d;this[_0xd27daf(0x7e)]||(this['_renderScheduled']=!0x0,Promise[_0xd27daf(0x167)]()['then'](()=>{const _0x59f792=_0xd27daf;this[_0x59f792(0x7e)]=!0x1,this['_render']();}));}[_0x23887d(0x194)](){const _0x52d552=_0x23887d;var _0x5e60d7;this[_0x52d552(0x74)]();let _0x332398=(_0x5e60d7=this[_0x52d552(0x388)][_0x52d552(0x256)][_0x52d552(0x27c)][_0x52d552(0xe1)]())==null?void 0x0:_0x5e60d7[_0x52d552(0x3a6)]();if(!_0x332398)return;let _0x4d63a8=[];if(this[_0x52d552(0x1d1)]['forEach']((_0x5871a2,_0x1f4a8d)=>{const _0x262a24=_0x52d552;_0x5871a2[_0x262a24(0x298)]===_0x332398&&_0x5871a2[_0x262a24(0x37f)]['forEach'](_0xf6fc0d=>{const _0x43b685=_0x262a24;let _0x471285=(0x0,_0x1c6381[_0x43b685(0x307)])(_0x5871a2[_0x43b685(0x73)],_0x5871a2[_0x43b685(0x298)],_0xf6fc0d),_0x8b0f34=this['_getSceneObjectByKey'](_0x471285);if(!_0x8b0f34)return;let _0x5cff1d=this[_0x43b685(0x24a)](_0x8b0f34);_0x4d63a8[_0x43b685(0x363)](new _0x271694(_0x43b685(0x162)+_0x1f4a8d+'-'+_0xf6fc0d,{..._0x5871a2,'left':_0x5cff1d[_0x43b685(0xbb)],'top':_0x5cff1d[_0x43b685(0xfe)],'width':_0x5cff1d[_0x43b685(0x3b4)],'height':_0x5cff1d['height'],'angle':_0x8b0f34[_0x43b685(0x6d)],'evented':!0x1,'zIndex':_0x12a03d}));});}),_0x4d63a8[_0x52d552(0x351)]===0x0){this[_0x52d552(0x388)][_0x52d552(0x18c)][_0x52d552(0x3be)](!0x0);return;}this[_0x52d552(0xd4)]=!0x0,this[_0x52d552(0x388)][_0x52d552(0x18c)][_0x52d552(0x3c5)](_0x4d63a8,_0x12a03d),this[_0x52d552(0xd4)]=!0x1,this[_0x52d552(0x1b5)]=new Set(_0x4d63a8),this[_0x52d552(0x388)][_0x52d552(0x18c)][_0x52d552(0x3be)](!0x0);}[_0x23887d(0x74)](){const _0x58a939=_0x23887d;let _0x380cdd=Array[_0x58a939(0x362)](this[_0x58a939(0x1b5)]);if(_0x380cdd[_0x58a939(0x351)]===0x0)return;let _0x5f4670=this[_0x58a939(0x388)][_0x58a939(0x18c)];_0x58a939(0x384)in _0x5f4670&&typeof _0x5f4670[_0x58a939(0x384)]==_0x58a939(0x3ab)?_0x5f4670[_0x58a939(0x384)](_0x380cdd):_0x380cdd[_0x58a939(0x28f)](_0x1cb8fa=>{const _0x1aede2=_0x58a939;_0x1aede2(0x191)in _0x5f4670&&typeof _0x5f4670['removeObject']==_0x1aede2(0x3ab)?_0x5f4670['removeObject'](_0x1cb8fa):_0x1cb8fa[_0x1aede2(0x1bc)]();}),this[_0x58a939(0x1b5)]['clear'](),_0x5f4670['makeDirty'](!0x0);}[_0x23887d(0x90)](_0x39cb26){const _0x3f2203=_0x23887d;var _0x119357,_0x1ae068,_0x3fca63;let _0x1b6743=this['_context'][_0x3f2203(0x18c)];return(_0x119357=(_0x1ae068=(_0x3fca63=_0x1b6743[_0x3f2203(0x120)])==null?void 0x0:_0x3fca63[_0x3f2203(0x3cc)](_0x1b6743,_0x39cb26))==null?_0x1b6743[_0x3f2203(0x369)](_0x39cb26):_0x1ae068)==null?null:_0x119357;}[_0x23887d(0x24a)](_0x3746be){const _0x3e6870=_0x23887d;var _0x291b07,_0x3c3f09;let _0x2a5ccf=_0x3746be;return(_0x291b07=(_0x3c3f09=_0x2a5ccf[_0x3e6870(0x10c)])==null?void 0x0:_0x3c3f09[_0x3e6870(0x3cc)](_0x2a5ccf))==null?{'left':_0x3746be[_0x3e6870(0xbb)],'top':_0x3746be[_0x3e6870(0xfe)],'width':_0x3746be['width'],'height':_0x3746be[_0x3e6870(0x303)]}:_0x291b07;}};_0x2d7875=_0xfa6df6([_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x4e58f9)),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x542ae8[_0x23887d(0x358)]))],_0x2d7875);let _0x36b37d=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0xa065ec,_0x466af2,_0x497cc6,_0x127450,_0x2e2407,_0x53d297){const _0x2e97cd=_0x23887d;super(),this[_0x2e97cd(0x143)]=_0xa065ec,this[_0x2e97cd(0xb8)]=_0x466af2,this[_0x2e97cd(0x329)]=_0x497cc6,this[_0x2e97cd(0x2bf)]=_0x127450,this[_0x2e97cd(0x2df)]=_0x2e2407,this[_0x2e97cd(0x3bb)]=_0x53d297,this[_0x2e97cd(0x38c)](),this[_0x2e97cd(0x2f2)]();}[_0x23887d(0x38c)](){const _0x2cb29b=_0x23887d;this[_0x2cb29b(0x36a)](this[_0x2cb29b(0x143)][_0x2cb29b(0x1b3)](()=>{const _0x47b4c0=_0x2cb29b;if(this[_0x47b4c0(0xb8)][_0x47b4c0(0x2f9)]['size'])return this['_localeService']['t'](_0x47b4c0(0xfa));}));}[_0x23887d(0x2f2)](){const _0x5b6574=_0x23887d;this[_0x5b6574(0x36a)](this[_0x5b6574(0x329)]['event$'][_0x5b6574(0x3b1)](_0x330b68=>{const _0x49e88a=_0x5b6574;_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x2fe)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType'][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x2d2))}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x108)]&&this['_messageService'][_0x49e88a(0x1e5)]({'type':_0x42c8e3[_0x49e88a(0xaf)][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x1e7))}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x31c)]&&this[_0x49e88a(0x2df)]['show']({'title':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x267)),'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x8a)),'type':_0x49e88a(0x274),'duration':0x0}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x240)]&&this[_0x49e88a(0x2df)][_0x49e88a(0x1e5)]({'title':this[_0x49e88a(0x3bb)]['t']('collaboration-client-ui.conflict.title'),'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x2a6)),'type':_0x49e88a(0x274),'duration':0x0}),_0x330b68['id']===_0x21847c['CollaborationUIEventId'][_0x49e88a(0x1d4)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType'][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x330b68[_0x49e88a(0x180)]||'')}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x18e)]&&this[_0x49e88a(0x2bf)]['show']({'type':_0x42c8e3[_0x49e88a(0xaf)][_0x49e88a(0x7f)],'content':this[_0x49e88a(0x3bb)]['t'](_0x49e88a(0x2aa))}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x99)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType']['Error'],'content':this[_0x49e88a(0x3bb)]['t']('collaboration-client-ui.session.connection-failed')}),_0x330b68['id']===_0x21847c[_0x49e88a(0x2ce)][_0x49e88a(0x9d)]&&this[_0x49e88a(0x2bf)][_0x49e88a(0x1e5)]({'type':_0x42c8e3['MessageType'][_0x49e88a(0x125)],'content':this['_localeService']['t'](_0x49e88a(0x270))});}));}};_0x36b37d=_0xfa6df6([_0x518e4c(0x0,_0x50ea5d['IBeforeCloseService']),_0x518e4c(0x1,_0x21847c[_0x23887d(0x10d)]),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x21847c[_0x23887d(0x285)])),_0x518e4c(0x3,_0x50ea5d[_0x23887d(0x1e8)]),_0x518e4c(0x4,_0x50ea5d[_0x23887d(0x2a5)]),_0x518e4c(0x5,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['LocaleService']))],_0x36b37d);let _0x2b0332=(0x0,_0x542ae8[_0x23887d(0x8e)])(_0x23887d(0x1c1)),_0x4be763=class extends _0x542ae8['RxDisposable']{constructor(_0xd5be35,_0x57124e,_0x250cb1,_0x464a12,_0x3dffef){const _0x30d978=_0x23887d;super(),this[_0x30d978(0x2f5)]=_0xd5be35,this['_logService']=_0x57124e,this[_0x30d978(0xc6)]=_0x250cb1,this[_0x30d978(0x132)]=_0x464a12,_0x3dffef?_0x3dffef['whenReady']()['then'](()=>this['_init']()):(this[_0x30d978(0x30e)][_0x30d978(0x377)]('[CollaborationDataLoaderController]',_0x30d978(0x37d)),this['_init']());}async[_0x23887d(0xbf)](){const _0x169d59=_0x23887d;let _0x209676=this[_0x169d59(0x2f5)][_0x169d59(0x8c)](_0x169d59(0x256)),_0x11eb70=this[_0x169d59(0x2f5)][_0x169d59(0x8c)]('type'),_0x1df522=this[_0x169d59(0x2f5)][_0x169d59(0x8c)](_0x169d59(0x3b3));if(!_0x209676||!_0x11eb70){this[_0x169d59(0x30e)][_0x169d59(0x377)](_0x169d59(0x87),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x3375b8=await this['_dataLoaderService'][_0x169d59(0x383)](_0x209676,Number(_0x11eb70),_0x1df522);_0x3375b8&&_0x3375b8 instanceof _0x542ae8['Workbook']&&this['_setupSubUnitSync'](_0x3375b8);}async[_0x23887d(0x169)](_0x2144a1){const _0x57c5aa=_0x23887d;await this[_0x57c5aa(0x104)](_0x2144a1),_0x2144a1[_0x57c5aa(0x2a8)][_0x57c5aa(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x57c5aa(0x138)]))[_0x57c5aa(0x3b1)](_0x14cf3b=>{const _0x243ec4=_0x57c5aa;_0x14cf3b&&this[_0x243ec4(0x137)](_0x14cf3b);}),this[_0x57c5aa(0x2f5)][_0x57c5aa(0x21d)][_0x57c5aa(0x28b)]((0x0,_0x381980['takeUntil'])(this[_0x57c5aa(0x138)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x2144a1));}[_0x23887d(0x137)](_0x1bca3f,_0x386cd0=!0x1){const _0x1456d3=_0x23887d;let _0x38ba7e=this[_0x1456d3(0x2f5)][_0x1456d3(0x8c)](_0x1456d3(0x3b3));_0x1bca3f[_0x1456d3(0x21a)]()!==_0x38ba7e&&this[_0x1456d3(0x2f5)][_0x1456d3(0x171)](_0x1456d3(0x3b3),_0x1bca3f[_0x1456d3(0x21a)](),_0x386cd0);}async[_0x23887d(0x104)](_0x583302){const _0x366319=_0x23887d;var _0x48210b;let _0x157bef=this[_0x366319(0x2f5)][_0x366319(0x8c)](_0x366319(0x3b3));if(!_0x157bef||!_0x583302['getSheetBySheetId'](_0x157bef)){let _0x1d8b18=_0x583302[_0x366319(0x395)]()[0x0],_0x3f0b98=_0x583302['getSheetBySheetId'](_0x1d8b18);if(!_0x3f0b98)return;this[_0x366319(0x137)](_0x3f0b98,!0x0),await this['_commandService'][_0x366319(0x1b6)](_0x585920[_0x366319(0x3b7)]['id'],{'unitId':_0x583302[_0x366319(0x2e0)](),'subUnitId':_0x1d8b18});return;}((_0x48210b=_0x583302[_0x366319(0x280)]())==null?void 0x0:_0x48210b[_0x366319(0x21a)]())!==_0x157bef&&await this[_0x366319(0xc6)][_0x366319(0x1b6)](_0x585920[_0x366319(0x3b7)]['id'],{'unitId':_0x583302[_0x366319(0x2e0)](),'subUnitId':_0x157bef});}};_0x4be763=_0xfa6df6([_0x518e4c(0x0,_0x2b0332),_0x518e4c(0x1,_0x542ae8[_0x23887d(0x1a6)]),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x268)]),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x310)])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x136)])(_0x2a062f[_0x23887d(0xec)]))],_0x4be763);let _0x2742bf=class{constructor(_0xc424af,_0x213584){const _0x521130=_0x23887d;this[_0x521130(0x34d)]=_0xc424af,this[_0x521130(0x2b9)]=_0x213584;}[_0x23887d(0x148)](_0x5063fb){const _0x4320c8=_0x23887d;this[_0x4320c8(0x3a0)](_0x5063fb),this[_0x4320c8(0x241)](_0x5063fb);}[_0x23887d(0x12e)](_0x2663b1){const _0x5b43cb=_0x23887d;let {unitID:_0x26833c}=_0x2663b1,{redoCache:_0x43a791}=this[_0x5b43cb(0x2b9)][_0x5b43cb(0xc4)](_0x26833c)[_0x5b43cb(0x266)](_0x10603f['DocIMEInputManagerService'])['getUndoRedoMutationParamsCache']();if(_0x43a791[_0x5b43cb(0x351)]===0x0)return _0x2663b1;let _0x37332c=_0x542ae8[_0x5b43cb(0x26e)][_0x5b43cb(0x3b0)](_0x2663b1[_0x5b43cb(0x1eb)][0x0]);for(let _0xd9e3b6=0x0;_0xd9e3b6<_0x43a791['length'];_0xd9e3b6++){let _0x36d889={'id':_0x5b43cb(0x156),'params':{..._0x43a791[_0xd9e3b6]}},_0x47e69f=this['_transformService'][_0x5b43cb(0x21e)](_0x37332c,_0x36d889,!0x1);if((0x0,_0x1e0a90[_0x5b43cb(0x3b6)])(_0x47e69f))throw _0x47e69f[_0x5b43cb(0x274)];_0x37332c=_0x47e69f['m1Prime'];}return{..._0x542ae8[_0x5b43cb(0x26e)][_0x5b43cb(0x3b0)](_0x2663b1),'mutations':[_0x37332c]};}['_transformUndoRedoStack'](_0x404627){const _0x2ce8e1=_0x23887d;let {unitID:_0x4d45ac}=_0x404627,_0x9a8a14=this[_0x2ce8e1(0x2b9)]['getRenderById'](_0x4d45ac)[_0x2ce8e1(0x266)](_0x10603f[_0x2ce8e1(0xbd)]),{undoCache:_0x5db3c5,redoCache:_0x245e48}=_0x9a8a14[_0x2ce8e1(0x14d)]();if(_0x5db3c5[_0x2ce8e1(0x351)]===0x0||_0x245e48[_0x2ce8e1(0x351)]===0x0)return;let _0x145d2c=[],_0xce20bc=[],_0x20684e=_0x542ae8['Tools'][_0x2ce8e1(0x3b0)](_0x404627[_0x2ce8e1(0x1eb)][0x0]),_0x1fcebc=_0x542ae8[_0x2ce8e1(0x26e)]['deepClone'](_0x404627['mutations'][0x0]);for(let _0x2a2d4e=_0x5db3c5['length']-0x1;_0x2a2d4e>=0x0;_0x2a2d4e--){let _0xb6c508={'id':_0x2ce8e1(0x156),'params':{..._0x5db3c5[_0x2a2d4e]}},_0x158e33={'id':_0x2ce8e1(0x156),'params':{..._0x245e48[_0x2a2d4e]}},_0x4d3040=this['_transformService'][_0x2ce8e1(0x21e)](_0x20684e,_0xb6c508,!0x1),_0x33027a=this[_0x2ce8e1(0x34d)][_0x2ce8e1(0x21e)](_0x1fcebc,_0x158e33,!0x1);if((0x0,_0x1e0a90[_0x2ce8e1(0x3b6)])(_0x4d3040))throw _0x4d3040['error'];if((0x0,_0x1e0a90[_0x2ce8e1(0x3b6)])(_0x33027a))throw _0x33027a[_0x2ce8e1(0x274)];_0x145d2c[_0x2ce8e1(0x19b)](_0x4d3040['m2Prime']['params']),_0xce20bc[_0x2ce8e1(0x19b)](_0x33027a['m2Prime'][_0x2ce8e1(0x33f)]),_0x20684e=_0x4d3040[_0x2ce8e1(0x2c6)],_0x1fcebc=_0x33027a[_0x2ce8e1(0x2c6)];}_0x9a8a14[_0x2ce8e1(0x3a5)]({'undoCache':_0x145d2c,'redoCache':_0xce20bc});}['_transformPreviousActiveRange'](_0x35b90c){const _0x3a24d4=_0x23887d;let {unitID:_0x3fa594}=_0x35b90c,_0x536776=this['_renderManagerService'][_0x3a24d4(0xc4)](_0x3fa594)[_0x3a24d4(0x266)](_0x10603f[_0x3a24d4(0xbd)]),_0x208d34=_0x536776[_0x3a24d4(0x337)]();if(_0x208d34==null)return;let _0x349a93=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x35b90c[_0x3a24d4(0x164)],'actions':null,'textRanges':[_0x208d34]}}],_0x2bf356=this[_0x3a24d4(0x34d)][_0x3a24d4(0x233)](_0x35b90c,_0x349a93);if(!(0x0,_0x1e0a90['isTransformMutationsWithChangesetSuccess'])(_0x2bf356))throw _0x2bf356[_0x3a24d4(0x274)];let _0x160767=_0x2bf356[_0x3a24d4(0xa6)][0x0][_0x3a24d4(0x33f)]['textRanges'];Array[_0x3a24d4(0x3c8)](_0x160767)&&_0x160767[_0x3a24d4(0x351)]&&_0x536776[_0x3a24d4(0x3bc)](_0x160767[0x0]);}};_0x2742bf=_0xfa6df6([_0x518e4c(0x0,_0x1e0a90[_0x23887d(0x115)]),_0x518e4c(0x1,_0x19aeb8[_0x23887d(0x202)])],_0x2742bf);let _0x485a9c=class{constructor(_0x27e795,_0x537627,_0x30fff9){const _0x464f4d=_0x23887d;this[_0x464f4d(0x359)]=_0x27e795,this[_0x464f4d(0x34d)]=_0x537627,this[_0x464f4d(0x3cd)]=_0x30fff9;}[_0x23887d(0x350)](_0x2e1217){const _0x9a9da4=_0x23887d;this[_0x9a9da4(0x1e2)](_0x2e1217);}['transformRemoteChangeset'](_0x129867){const _0x3881be=_0x23887d;let {unitID:_0x410c07}=_0x129867,{collaboration:_0x17bfd2}=this[_0x3881be(0x3cd)][_0x3881be(0x246)](_0x410c07);if(_0x17bfd2['length']===0x0)return _0x129867;let _0x648803=_0x542ae8[_0x3881be(0x26e)][_0x3881be(0x3b0)](_0x129867[_0x3881be(0x1eb)][0x0]);for(let _0x22fbb7=0x0;_0x22fbb7<_0x17bfd2[_0x3881be(0x351)];_0x22fbb7++){let _0x14ed7c={'id':_0x3881be(0x156),'params':{'unitId':_0x17bfd2[_0x22fbb7]['unitId'],..._0x17bfd2[_0x22fbb7][_0x3881be(0x35a)]}},_0x70ff35=this[_0x3881be(0x34d)][_0x3881be(0x21e)](_0x648803,_0x14ed7c,!0x1);if((0x0,_0x1e0a90[_0x3881be(0x3b6)])(_0x70ff35))throw _0x70ff35[_0x3881be(0x274)];_0x648803=_0x70ff35['m1Prime'];}return{..._0x542ae8['Tools']['deepClone'](_0x129867),'mutations':[_0x648803]};}['_transformHistoryAndStateStack'](_0x33656e){const _0x5e1840=_0x23887d;let {unitID:_0x29d3a6}=_0x33656e,{history:_0xd139d5,collaboration:_0x33af7c}=this[_0x5e1840(0x3cd)][_0x5e1840(0x246)](_0x29d3a6);if(_0xd139d5['length']===0x0&&_0x33af7c[_0x5e1840(0x351)]===0x0)return;let _0x49b1d3=[],_0x28a043=[],_0x2877dd=_0x542ae8['Tools'][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]),_0x3136f2=_0x542ae8[_0x5e1840(0x26e)][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]);for(let _0x360bcf=_0xd139d5[_0x5e1840(0x351)]-0x1;_0x360bcf>=0x0;_0x360bcf--){let _0x362ea6={'id':_0x5e1840(0x156),'params':{'unitId':_0xd139d5[_0x360bcf]['unitId'],..._0xd139d5[_0x360bcf][_0x5e1840(0x3a7)]}},_0x4de8d8={'id':_0x5e1840(0x156),'params':{'unitId':_0xd139d5[_0x360bcf][_0x5e1840(0x73)],..._0xd139d5[_0x360bcf][_0x5e1840(0x35a)]}},_0x301b6c=this[_0x5e1840(0x34d)]['transformMutation'](_0x2877dd,_0x362ea6,!0x1),_0x19e87a=this['_transformService']['transformMutation'](_0x3136f2,_0x4de8d8,!0x1);if((0x0,_0x1e0a90[_0x5e1840(0x3b6)])(_0x301b6c))throw _0x301b6c[_0x5e1840(0x274)];if((0x0,_0x1e0a90['isTransformMutationFailure'])(_0x19e87a))throw _0x19e87a[_0x5e1840(0x274)];_0x49b1d3[_0x5e1840(0x19b)]({..._0xd139d5[_0x360bcf],'undoState':_0x301b6c[_0x5e1840(0xa6)][_0x5e1840(0x33f)],'redoState':_0x19e87a['m2Prime'][_0x5e1840(0x33f)]}),_0x2877dd=_0x301b6c[_0x5e1840(0x2c6)],_0x3136f2=_0x19e87a['m1Prime'];}_0x2877dd=_0x542ae8[_0x5e1840(0x26e)][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]),_0x3136f2=_0x542ae8[_0x5e1840(0x26e)][_0x5e1840(0x3b0)](_0x33656e[_0x5e1840(0x1eb)][0x0]);for(let _0x36c685=_0x33af7c['length']-0x1;_0x36c685>=0x0;_0x36c685--){let _0xff1726={'id':_0x5e1840(0x156),'params':{'unitId':_0x33af7c[_0x36c685][_0x5e1840(0x73)],..._0x33af7c[_0x36c685][_0x5e1840(0x3a7)]}},_0x3bc882={'id':_0x5e1840(0x156),'params':{'unitId':_0x33af7c[_0x36c685][_0x5e1840(0x73)],..._0x33af7c[_0x36c685][_0x5e1840(0x35a)]}},_0x5c8d67=this[_0x5e1840(0x34d)][_0x5e1840(0x21e)](_0x2877dd,_0xff1726,!0x1),_0x46918e=this['_transformService'][_0x5e1840(0x21e)](_0x3136f2,_0x3bc882,!0x1);if((0x0,_0x1e0a90[_0x5e1840(0x3b6)])(_0x5c8d67))throw _0x5c8d67['error'];if((0x0,_0x1e0a90[_0x5e1840(0x3b6)])(_0x46918e))throw _0x46918e[_0x5e1840(0x274)];_0x28a043[_0x5e1840(0x19b)]({..._0x33af7c[_0x36c685],'undoState':_0x5c8d67[_0x5e1840(0xa6)]['params'],'redoState':_0x46918e[_0x5e1840(0xa6)]['params']}),_0x2877dd=_0x5c8d67[_0x5e1840(0x2c6)],_0x3136f2=_0x46918e[_0x5e1840(0x2c6)];}this['_docStateChangeManagerService']['setStateCache'](_0x29d3a6,{'history':_0x49b1d3,'collaboration':_0x28a043});}};_0x485a9c=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,_0x1e0a90['ITransformService']),_0x518e4c(0x2,(0x0,_0x542ae8['Inject'])(_0x13b229[_0x23887d(0x230)]))],_0x485a9c);let _0x28af33=class{constructor(_0x59a528,_0x16aa30){const _0x50286c=_0x23887d;this['_injector']=_0x59a528,this[_0x50286c(0x34d)]=_0x16aa30;}['transformSelections'](_0x121c2f){const _0x414049=_0x23887d;var _0xecaaaf;let _0x29d9fe=this[_0x414049(0x359)][_0x414049(0x178)](_0x13b229['DocSelectionManagerService']),_0x3b4a6f=(_0xecaaaf=_0x29d9fe['getDocRanges']())==null?[]:_0xecaaaf;if(_0x3b4a6f[_0x414049(0x351)]===0x0)return;let _0x5e45b1=_0x121c2f['unitID'],_0x10f659=[{'id':_0x414049(0x156),'params':{'unitId':_0x5e45b1,'actions':null,'textRanges':_0x3b4a6f}}],_0x514693=this[_0x414049(0x34d)][_0x414049(0x233)](_0x121c2f,_0x10f659);if(!(0x0,_0x1e0a90[_0x414049(0x1b0)])(_0x514693))throw _0x514693[_0x414049(0x274)];let _0x5134cb=_0x514693['m2Prime'][0x0][_0x414049(0x33f)][_0x414049(0x2e9)];Array[_0x414049(0x3c8)](_0x5134cb)&&_0x5134cb['length']&&_0x29d9fe[_0x414049(0x17e)](_0x5134cb,{'unitId':_0x5e45b1,'subUnitId':_0x5e45b1},!0x1);}};_0x28af33=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,_0x1e0a90[_0x23887d(0x115)])],_0x28af33);let _0x52bd12=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x115d42,_0x50fc0b,_0x2738eb,_0x4b1e3f,_0x59eccd,_0x461afc,_0x3dd122){const _0xf0f024=_0x23887d;super(),this['_collaborationController']=_0x115d42,this[_0xf0f024(0x294)]=_0x50fc0b,this['_docTransformStateCacheService']=_0x2738eb,this['_docTransformSelectionsService']=_0x4b1e3f,this[_0xf0f024(0xb4)]=_0x59eccd,this[_0xf0f024(0x2bf)]=_0x461afc,this[_0xf0f024(0x3bb)]=_0x3dd122,_0x24a4e0(this,_0xf0f024(0x235),new _0x381980[(_0xf0f024(0x7a))](_0x21847c[_0xf0f024(0x26a)][_0xf0f024(0x12f)])),this['_initEntityListener']();}['_initEntityListener'](){const _0x3b9402=_0x23887d;this[_0x3b9402(0x36a)](this[_0x3b9402(0x353)]['entityInit$'][_0x3b9402(0x3b1)](_0xc6fa2=>{const _0x323108=_0x3b9402;_0xc6fa2 instanceof _0x21847c['DocCollaborationEntity']&&_0xc6fa2[_0x323108(0x2e4)]({'onTransformIME':_0x53b719=>this['_docTransformIMECacheService']['transformIMECache'](_0x53b719),'onTransformState':_0x219b97=>this[_0x323108(0x31b)][_0x323108(0x350)](_0x219b97),'onTransformSelections':_0x511b66=>this[_0x323108(0x20f)][_0x323108(0x2de)](_0x511b66),'onSyncEditingCollabCursor':_0x158839=>this[_0x323108(0xb4)]['syncEditingCollabCursor'](_0x158839),'onTransformRemoteChangesetByIMECache':_0x49eb0f=>this['_docTransformIMECacheService'][_0x323108(0x12e)](_0x49eb0f),'onTransformRemoteChangesetByStateCache':_0x163478=>this[_0x323108(0x31b)]['transformRemoteChangeset'](_0x163478)});}));}};_0x52bd12=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x26c)])),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x2742bf)),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x485a9c)),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x28af33)),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x2126a8)),_0x518e4c(0x5,_0x50ea5d['IMessageService']),_0x518e4c(0x6,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x2d3)]))],_0x52bd12);let _0x14f469=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x412f85,_0x4036e7,_0x2437a1,_0x3badbf){const _0x1b09ae=_0x23887d;super(),this['_injector']=_0x412f85,this[_0x1b09ae(0x2a0)]=_0x4036e7,this[_0x1b09ae(0x30e)]=_0x2437a1,this[_0x1b09ae(0x1db)]=_0x3badbf,_0x24a4e0(this,'_memberID',void 0x0),this[_0x1b09ae(0xbf)]();}['_init'](){const _0x48a146=_0x23887d;this['_initWindowErrorListener'](),this[_0x48a146(0x183)](),this[_0x48a146(0x2ae)](),this['_initUserListener']();}['_initUserListener'](){const _0x3fed38=_0x23887d;this[_0x3fed38(0x36a)](this[_0x3fed38(0x1db)][_0x3fed38(0x372)][_0x3fed38(0x3b1)](_0x45933f=>{const _0x35a050=_0x3fed38;this['_memberID']=_0x45933f==null?void 0x0:_0x45933f[_0x35a050(0x2ec)];}));}['_initWindowErrorListener'](){const _0x44f11e=_0x23887d;let _0x57d5bf=_0x1b3681=>{const _0x57dc0d=_0x3a65;var _0x9d1854;this['_uploadLog'](_0x57dc0d(0x274),_0x57dc0d(0x21c)+_0x1b3681[_0x57dc0d(0x28c)]+_0x57dc0d(0x2e3)+_0x1b3681[_0x57dc0d(0x110)]+':'+_0x1b3681['lineno']+':'+_0x1b3681['colno']+'\x0a'+(((_0x9d1854=_0x1b3681[_0x57dc0d(0x274)])==null?void 0x0:_0x9d1854[_0x57dc0d(0x100)])||''));};window[_0x44f11e(0x1ab)](_0x44f11e(0x274),_0x57d5bf),this[_0x44f11e(0x36a)](()=>{const _0x4a5618=_0x44f11e;window[_0x4a5618(0x15b)](_0x4a5618(0x274),_0x57d5bf);});}[_0x23887d(0x183)](){const _0x328948=_0x23887d;let _0x439693=_0x2932dc=>{const _0x2ed144=_0x3a65;this[_0x2ed144(0x296)](_0x2ed144(0x274),_0x2ed144(0x26b)+_0x2932dc[_0x2ed144(0x260)]);};window[_0x328948(0x1ab)](_0x328948(0x36f),_0x439693),this[_0x328948(0x36a)](()=>{window['removeEventListener']('unhandledrejection',_0x439693);});}[_0x23887d(0x2ae)](){const _0x4619ed=_0x23887d;let _0x446e0b=this['_logService'][_0x4619ed(0x274)]['bind'](this['_logService']);this[_0x4619ed(0x30e)][_0x4619ed(0x274)]=(..._0x38d101)=>{const _0x55cb0e=_0x4619ed;let _0xe08720=_0x38d101[_0x55cb0e(0xd7)](_0x503581=>_0x503581 instanceof Error?_0x503581[_0x55cb0e(0x28c)]+'\x0a'+_0x503581['stack']:String(_0x503581))[_0x55cb0e(0x334)]('\x20');this[_0x55cb0e(0x296)]('error','[LogService\x20Error]:\x20'+_0xe08720),_0x446e0b(..._0x38d101);},this['disposeWithMe'](()=>{const _0x21d5dc=_0x4619ed;this['_logService'][_0x21d5dc(0x274)]=_0x446e0b;});}[_0x23887d(0x296)](_0x48e302,_0x143496){const _0x41dc06=_0x23887d;try{let _0x241a6d={'userId':this[_0x41dc06(0x276)],'logLabel':_0x48e302,'content':_0x143496};this['_httpService']['post'](_0x41dc06(0x189),{'body':_0x241a6d})['catch'](()=>{});}catch{}}};_0x14f469=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x41ecf8[_0x23887d(0x1f2)])),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x1a6)]),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x21847c[_0x23887d(0x105)]))],_0x14f469);function _0x26f17b({state$:_0x39681e,interactionBlocked$:_0x5aab21}){const _0x5cd0b8=_0x23887d;return(0x0,_0x60312a[_0x5cd0b8(0x1d0)])(_0x60312a[_0x5cd0b8(0x10a)],{'children':[(0x0,_0x50ea5d['useObservable'])(_0x5aab21,!0x1,!0x0)&&(0x0,_0x60312a[_0x5cd0b8(0x11d)])(_0x5cd0b8(0x2bb),{'data-u-comp':_0x5cd0b8(0x317),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x60312a[_0x5cd0b8(0x11d)])(_0x11168,{'state$':_0x39681e})]});}function _0x11168({state$:_0x5f22f9}){const _0x311660=_0x23887d;let _0x590fc8=(0x0,_0x50ea5d['useObservable'])(_0x5f22f9,null,!0x0);return _0x590fc8?(0x0,_0x60312a[_0x311660(0x1d0)])(_0x311660(0x2bb),{'data-u-comp':'snapshot-loading-timeout','role':'alert','className':_0x311660(0x30f),'children':[(0x0,_0x60312a[_0x311660(0x11d)])(_0x51823e,{'className':_0x311660(0x338)}),(0x0,_0x60312a[_0x311660(0x11d)])(_0x311660(0x2e1),{'children':_0x590fc8[_0x311660(0x301)]}),(0x0,_0x60312a['jsx'])(_0x42c8e3[_0x311660(0xc5)],{'size':'small','variant':'primary','onClick':()=>window[_0x311660(0xce)][_0x311660(0x295)](),'children':_0x590fc8['refreshLabel']})]}):null;}let _0x4919ba=_0x23887d(0x237),_0x55e0a=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x32d6d9,_0x23b2b4,_0x30c2df,_0x371506,_0x532758,_0x494593,_0x5ef880,_0x4c929f){const _0x5658d5=_0x23887d;super(),this[_0x5658d5(0xa9)]=_0x32d6d9,this[_0x5658d5(0x2bf)]=_0x23b2b4,this[_0x5658d5(0x3bb)]=_0x30c2df,this[_0x5658d5(0x359)]=_0x371506,this['_pluginService']=_0x532758,this[_0x5658d5(0x30d)]=_0x5ef880,this[_0x5658d5(0x2f5)]=_0x4c929f,_0x24a4e0(this,_0x5658d5(0x22b),new _0x381980[(_0x5658d5(0x7a))](null)),_0x24a4e0(this,'_interactionBlocked$',new _0x381980[(_0x5658d5(0x7a))](!0x1)),_0x24a4e0(this,_0x5658d5(0x2c1),new Set()),_0x24a4e0(this,_0x5658d5(0x9f),new Map()),_0x24a4e0(this,_0x5658d5(0x226),new Set()),_0x24a4e0(this,_0x5658d5(0x12d),new Map()),_0x24a4e0(this,_0x5658d5(0x13f),void 0x0),_0x24a4e0(this,_0x5658d5(0x25d),void 0x0),_0x24a4e0(this,_0x5658d5(0x85),void 0x0),_0x24a4e0(this,_0x5658d5(0x239),this[_0x5658d5(0x22b)][_0x5658d5(0x1ee)]());let _0x60dc78=()=>(0x0,_0x4ba5b5[_0x5658d5(0x16f)])(_0x26f17b,{'state$':this[_0x5658d5(0x239)],'interactionBlocked$':this[_0x5658d5(0x147)]});this[_0x5658d5(0x36a)](_0x494593['registerComponent'](_0x50ea5d[_0x5658d5(0x170)]['GLOBAL'],()=>(0x0,_0x50ea5d['connectInjector'])(_0x60dc78,this[_0x5658d5(0x359)]))),this[_0x5658d5(0x36a)](this[_0x5658d5(0xa9)][_0x5658d5(0x279)][_0x5658d5(0x3b1)](_0x1b1bf5=>{const _0x40cf18=_0x5658d5;this[_0x40cf18(0x12d)]=_0x1b1bf5,_0x1b1bf5[_0x40cf18(0x28f)](_0x301d84=>{const _0x5c6126=_0x40cf18;this[_0x5c6126(0x3ca)](_0x301d84),this['_updateSheetPreview'](_0x301d84);});})),this['disposeWithMe'](this['_urlService'][_0x5658d5(0x21d)][_0x5658d5(0x3b1)](()=>{const _0x401246=_0x5658d5;this['_latestStates'][_0x401246(0x28f)](_0x522e66=>{const _0xb80839=_0x401246;this[_0xb80839(0x3ca)](_0x522e66),this['_updateSheetPreview'](_0x522e66);});}));}['dispose'](){const _0x39650b=_0x23887d;var _0x45ce93;if(this[_0x39650b(0x2c1)]['forEach'](_0x33d2bf=>this['_messageService'][_0x39650b(0x336)](_0x33d2bf)),this[_0x39650b(0x2c1)][_0x39650b(0x16c)](),this[_0x39650b(0x13f)]){var _0x4a0319;(_0x4a0319=this[_0x39650b(0x85)])==null||_0x4a0319[_0x39650b(0x1a0)](this[_0x39650b(0x13f)]);}this['_previewUnitId']=void 0x0,this[_0x39650b(0x9f)][_0x39650b(0x28f)](({timeoutId:_0xe7aef4})=>clearTimeout(_0xe7aef4)),this[_0x39650b(0x9f)][_0x39650b(0x16c)](),(_0x45ce93=this[_0x39650b(0x25d)])==null||_0x45ce93[_0x39650b(0x1bc)](),this['_shortcutBlock']=void 0x0,this[_0x39650b(0x22b)][_0x39650b(0x198)](),this[_0x39650b(0x147)][_0x39650b(0x198)](),super[_0x39650b(0x1bc)]();}[_0x23887d(0x3ca)](_0x8cea65){const _0x13cfd6=_0x23887d;let _0x35d247=''+_0x4919ba+_0x8cea65[_0x13cfd6(0x73)];if(_0x8cea65[_0x13cfd6(0x1e3)]===_0x1e0a90[_0x13cfd6(0xe7)]['COMPLETE']){if(this['_clearBlockProgressWatch'](_0x8cea65[_0x13cfd6(0x73)]),this[_0x13cfd6(0x2fa)](_0x8cea65[_0x13cfd6(0x73)])&&this['_previewUnitId']===_0x8cea65[_0x13cfd6(0x73)]){this[_0x13cfd6(0x2bf)][_0x13cfd6(0x1e5)]({'id':_0x35d247,'type':_0x42c8e3[_0x13cfd6(0xaf)]['Loading'],'duration':0x1/0x0,'content':this[_0x13cfd6(0x3bb)]['t']('collaboration-client-ui.snapshotLoading.loadingSheet')}),this[_0x13cfd6(0x2c1)][_0x13cfd6(0x2b6)](_0x35d247);return;}this[_0x13cfd6(0x14a)](_0x8cea65[_0x13cfd6(0x73)]),this['_messageService'][_0x13cfd6(0x336)](_0x35d247),this[_0x13cfd6(0x2c1)]['delete'](_0x35d247);return;}if(!this[_0x13cfd6(0x2fa)](_0x8cea65[_0x13cfd6(0x73)])){this['_clearBlockProgressWatch'](_0x8cea65[_0x13cfd6(0x73)]),this[_0x13cfd6(0x14a)](_0x8cea65[_0x13cfd6(0x73)]),this['_messageService'][_0x13cfd6(0x336)](_0x35d247),this[_0x13cfd6(0x2c1)]['delete'](_0x35d247);return;}if(_0x8cea65[_0x13cfd6(0x1e3)]===_0x1e0a90[_0x13cfd6(0xe7)][_0x13cfd6(0x2f1)]){this[_0x13cfd6(0xc0)](_0x8cea65['unitId']),this[_0x13cfd6(0x14a)](_0x8cea65[_0x13cfd6(0x73)]),this[_0x13cfd6(0x2bf)]['show']({'id':_0x35d247,'type':_0x42c8e3[_0x13cfd6(0xaf)][_0x13cfd6(0x125)],'content':this[_0x13cfd6(0x3bb)]['t'](_0x13cfd6(0x2d1))}),this[_0x13cfd6(0x2c1)][_0x13cfd6(0xe5)](_0x35d247);return;}if(_0x8cea65['stage']!==_0x1e0a90[_0x13cfd6(0xe7)][_0x13cfd6(0xa7)]||_0x8cea65[_0x13cfd6(0x94)]<=0xa){this[_0x13cfd6(0xc0)](_0x8cea65[_0x13cfd6(0x73)]),this['_messageService'][_0x13cfd6(0x336)](_0x35d247),this[_0x13cfd6(0x2c1)][_0x13cfd6(0xe5)](_0x35d247);return;}this['_watchBlockProgress'](_0x8cea65)||(this[_0x13cfd6(0x2bf)]['show']({'id':_0x35d247,'type':_0x42c8e3['MessageType'][_0x13cfd6(0x2d5)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x8cea65[_0x13cfd6(0x18b)]+'/'+_0x8cea65[_0x13cfd6(0x94)]}),this[_0x13cfd6(0x2c1)][_0x13cfd6(0x2b6)](_0x35d247));}['_watchBlockProgress'](_0x1d054b){const _0x609150=_0x23887d;let _0x343040=this['_blockProgressWatches'][_0x609150(0x178)](_0x1d054b[_0x609150(0x73)]);if((_0x343040==null?void 0x0:_0x343040[_0x609150(0x18b)])===_0x1d054b[_0x609150(0x18b)])return _0x343040[_0x609150(0x356)];this[_0x609150(0xc0)](_0x1d054b[_0x609150(0x73)]);let _0x2b9bc4=setTimeout(()=>{const _0x2b03b5=_0x609150;let _0x4c9caa=this[_0x2b03b5(0x9f)]['get'](_0x1d054b[_0x2b03b5(0x73)]);if(!_0x4c9caa||_0x4c9caa[_0x2b03b5(0x134)]!==_0x2b9bc4)return;_0x4c9caa[_0x2b03b5(0x356)]=!0x0;let _0x189549=''+_0x4919ba+_0x1d054b[_0x2b03b5(0x73)];this[_0x2b03b5(0x2bf)][_0x2b03b5(0x336)](_0x189549),this[_0x2b03b5(0x2c1)]['delete'](_0x189549),this[_0x2b03b5(0x22b)][_0x2b03b5(0x250)]({'unitId':_0x1d054b[_0x2b03b5(0x73)],'content':this[_0x2b03b5(0x3bb)]['t'](_0x2b03b5(0x176),String(_0x1d054b[_0x2b03b5(0x18b)]),String(_0x1d054b[_0x2b03b5(0x94)])),'refreshLabel':this[_0x2b03b5(0x3bb)]['t'](_0x2b03b5(0x122))});},0xea60);return this[_0x609150(0x9f)][_0x609150(0x341)](_0x1d054b[_0x609150(0x73)],{'loadedBlocks':_0x1d054b[_0x609150(0x18b)],'timedOut':!0x1,'timeoutId':_0x2b9bc4}),!0x1;}[_0x23887d(0xc0)](_0x6f6763){const _0x552a4d=_0x23887d;let _0x28b76c=this[_0x552a4d(0x9f)]['get'](_0x6f6763);_0x28b76c&&(clearTimeout(_0x28b76c[_0x552a4d(0x134)]),this[_0x552a4d(0x9f)][_0x552a4d(0xe5)](_0x6f6763),this[_0x552a4d(0x14a)](_0x6f6763));}['_clearTimeoutState'](_0x44fef2){const _0x4cafad=_0x23887d;var _0x408b60;((_0x408b60=this[_0x4cafad(0x22b)][_0x4cafad(0x17c)])==null?void 0x0:_0x408b60[_0x4cafad(0x73)])===_0x44fef2&&this[_0x4cafad(0x22b)][_0x4cafad(0x250)](null);}[_0x23887d(0x347)](_0x5d3b50){const _0x42fea1=_0x23887d;if(_0x5d3b50['stage']===_0x1e0a90[_0x42fea1(0xe7)][_0x42fea1(0x109)]&&this[_0x42fea1(0x226)][_0x42fea1(0xe5)](_0x5d3b50['unitId']),!this['_isVisibleUnit'](_0x5d3b50[_0x42fea1(0x73)])){this[_0x42fea1(0x355)](_0x5d3b50[_0x42fea1(0x73)]);return;}if(_0x5d3b50[_0x42fea1(0x1e3)]===_0x1e0a90[_0x42fea1(0xe7)][_0x42fea1(0x2f1)]||_0x5d3b50[_0x42fea1(0x94)]<=0xa){this['_hidePreview'](_0x5d3b50[_0x42fea1(0x73)]);return;}if(_0x5d3b50[_0x42fea1(0x1e3)]===_0x1e0a90['SnapshotLoadStage']['COMPLETE']){this[_0x42fea1(0x299)](_0x5d3b50[_0x42fea1(0x73)]);return;}if(_0x5d3b50[_0x42fea1(0x1e3)]===_0x1e0a90[_0x42fea1(0xe7)]['LOADING_BLOCKS']&&_0x5d3b50[_0x42fea1(0x243)]&&_0x5d3b50[_0x42fea1(0xb5)]){let _0x4258b7=this[_0x42fea1(0x1cf)]();if(!_0x4258b7)return;this[_0x42fea1(0x13f)]&&this[_0x42fea1(0x13f)]!==_0x5d3b50['unitId']&&this[_0x42fea1(0x355)](this['_previewUnitId']),_0x4258b7[_0x42fea1(0x1c3)](_0x5d3b50['workbookShell'],_0x5d3b50[_0x42fea1(0xb5)]),this[_0x42fea1(0x13f)]=_0x5d3b50[_0x42fea1(0x73)],this['_setInteractionBlocked'](!0x0),_0x5d3b50[_0x42fea1(0x36e)]&&_0x4258b7['show'](_0x5d3b50[_0x42fea1(0x243)],_0x5d3b50[_0x42fea1(0xb5)],_0x5d3b50[_0x42fea1(0xe8)]);}}[_0x23887d(0x299)](_0x2177ff){const _0x232395=_0x23887d;if(this[_0x232395(0x13f)]!==_0x2177ff||this[_0x232395(0x226)][_0x232395(0x1d6)](_0x2177ff))return;let _0x585025=this[_0x232395(0x85)];_0x585025&&(this['_handoffUnitIds'][_0x232395(0x2b6)](_0x2177ff),_0x585025[_0x232395(0x2af)](_0x2177ff,0x2710)[_0x232395(0x2fc)](_0x2740bf=>{const _0x3a2f9f=_0x232395;if(this[_0x3a2f9f(0x13f)]!==_0x2177ff)return;if(_0x2740bf){let _0x141935=''+_0x4919ba+_0x2177ff;this[_0x3a2f9f(0x2bf)][_0x3a2f9f(0x336)](_0x141935),this[_0x3a2f9f(0x2c1)][_0x3a2f9f(0xe5)](_0x141935),this[_0x3a2f9f(0x13f)]=void 0x0,this[_0x3a2f9f(0x2c4)](!0x1);return;}let _0x59026a=''+_0x4919ba+_0x2177ff;this[_0x3a2f9f(0x2bf)][_0x3a2f9f(0x336)](_0x59026a),this[_0x3a2f9f(0x2c1)][_0x3a2f9f(0xe5)](_0x59026a),this['_timeoutState$'][_0x3a2f9f(0x250)]({'unitId':_0x2177ff,'content':this[_0x3a2f9f(0x3bb)]['t'](_0x3a2f9f(0x2d1)),'refreshLabel':this[_0x3a2f9f(0x3bb)]['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x23887d(0x355)](_0x4f743b){const _0x199f5b=_0x23887d;var _0x408af2;this[_0x199f5b(0x13f)]===_0x4f743b&&((_0x408af2=this[_0x199f5b(0x85)])==null||_0x408af2[_0x199f5b(0x1a0)](_0x4f743b),this['_previewUnitId']=void 0x0,this['_setInteractionBlocked'](!0x1));}[_0x23887d(0x2c4)](_0x508ad4){const _0x522cfd=_0x23887d;if(_0x508ad4!==this['_interactionBlocked$'][_0x522cfd(0x17c)]){if(_0x508ad4)this['_shortcutBlock']=this['_shortcutService'][_0x522cfd(0x1d8)]();else{var _0x593f2e;(_0x593f2e=this[_0x522cfd(0x25d)])==null||_0x593f2e['dispose'](),this[_0x522cfd(0x25d)]=void 0x0;}this[_0x522cfd(0x147)][_0x522cfd(0x250)](_0x508ad4);}}[_0x23887d(0x2fa)](_0x3ac2f6){const _0x223c01=_0x23887d;let _0x3cfe94=this['_urlService']['getParam'](_0x223c01(0x256));return!_0x3cfe94||_0x3cfe94===_0x3ac2f6;}['_getSheetLoadingRenderService'](){const _0x5e27a5=_0x23887d;return this[_0x5e27a5(0x85)]?this['_sheetLoadingRenderService']:(this['_pluginService'][_0x5e27a5(0x96)](_0x542ae8[_0x5e27a5(0x1af)][_0x5e27a5(0x20c)]),this['_injector'][_0x5e27a5(0x1d6)](_0x17f229[_0x5e27a5(0x39b)])&&(this[_0x5e27a5(0x85)]=this[_0x5e27a5(0x359)][_0x5e27a5(0x178)](_0x17f229[_0x5e27a5(0x39b)])),this[_0x5e27a5(0x85)]);}};_0x55e0a=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x1e0a90[_0x23887d(0x142)])),_0x518e4c(0x1,_0x50ea5d[_0x23887d(0x1e8)]),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x2d3)])),_0x518e4c(0x3,(0x0,_0x542ae8['Inject'])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x4,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x284)])),_0x518e4c(0x5,_0x50ea5d[_0x23887d(0x101)]),_0x518e4c(0x6,_0x50ea5d[_0x23887d(0x1b8)]),_0x518e4c(0x7,_0x2b0332)],_0x55e0a);function _0x5f3ef0(_0x2a2073){const _0x5ccbfd=_0x23887d;var _0x39780e,_0x34fc1b;let _0x143f0a=(_0x39780e=_0x2a2073[_0x5ccbfd(0x385)])==null?void 0x0:_0x39780e[_0x5ccbfd(0x1e3)],_0xe5c4c2=((_0x34fc1b=_0x2a2073[_0x5ccbfd(0x385)])==null?void 0x0:_0x34fc1b[_0x5ccbfd(0x1a7)])||0x0;return _0x143f0a===_0x335eab[_0x5ccbfd(0x26f)][_0x5ccbfd(0x79)]&&_0xe5c4c2>0x0;}function _0x512c7e(_0x5a4147){const _0xe5330f=_0x23887d;return _0x5a4147[_0xe5330f(0x18d)]===_0x335eab['FormulaExecutedStateType'][_0xe5330f(0x1c7)];}let _0x493c0d=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x44b01c,_0x5a926a,_0x2d0820,_0x284eb0,_0x2186bb,_0x3adff6,_0x2c032b){const _0x3aad47=_0x23887d;super(),this[_0x3aad47(0x2bf)]=_0x44b01c,this[_0x3aad47(0xc6)]=_0x5a926a,this[_0x3aad47(0x2ee)]=_0x2d0820,this[_0x3aad47(0x2a0)]=_0x284eb0,this['_univerInstanceService']=_0x2186bb,this[_0x3aad47(0x30e)]=_0x3adff6,this['_localeService']=_0x2c032b,_0x24a4e0(this,_0x3aad47(0xd0),null),_0x24a4e0(this,'_maxFormulaLimit',0x0),_0x24a4e0(this,'_currentUsage',0x0),_0x24a4e0(this,_0x3aad47(0x18f),[]),_0x24a4e0(this,_0x3aad47(0x300),0x0),this[_0x3aad47(0x10b)]();}[_0x23887d(0x10b)](){const _0x1d8ab6=_0x23887d;this[_0x1d8ab6(0x36a)](this[_0x1d8ab6(0xc6)][_0x1d8ab6(0x2fd)]((_0x332395,_0x1338e5)=>{const _0x3ad493=_0x1d8ab6;var _0x5e4588;if(_0x332395['id']!==_0x335eab['SetFormulaCalculationStartMutation']['id'])return;let _0x2d1f3f=_0x332395['params'];if(this['_hasFormulaInDirtyRanges']((_0x5e4588=_0x2d1f3f[_0x3ad493(0x39f)])==null?[]:_0x5e4588)&&!this[_0x3ad493(0x259)]())throw this[_0x3ad493(0x1c0)](_0x332395,_0x1338e5),this[_0x3ad493(0x335)](),new _0x542ae8[(_0x3ad493(0xd3))]();})),this[_0x1d8ab6(0x36a)](this['_commandService'][_0x1d8ab6(0xe9)]((_0x5552ec,_0x233599)=>{const _0x3e3fc5=_0x1d8ab6;if(_0x5552ec['id']!==_0x335eab[_0x3e3fc5(0x3c7)]['id'])return;let _0x327079=_0x5552ec['params'];if(_0x5f3ef0(_0x327079)){let _0x3876a8=(0x0,_0x542ae8[_0x3e3fc5(0x119)])();this[_0x3e3fc5(0x18f)][_0x3e3fc5(0x363)](_0x3876a8),this[_0x3e3fc5(0x34f)](_0x3876a8);}else{if(_0x512c7e(_0x327079)&&this['_taskIds'][_0x3e3fc5(0x351)]>0x0){let _0x2c1177=this[_0x3e3fc5(0x18f)][_0x3e3fc5(0xf6)]();this[_0x3e3fc5(0x252)](_0x2c1177);}}}));}[_0x23887d(0x1bc)](){const _0x2fa15c=_0x23887d;super[_0x2fa15c(0x1bc)](),this[_0x2fa15c(0x27a)](),this[_0x2fa15c(0x18f)]=[],this[_0x2fa15c(0x24b)]=0x0,this[_0x2fa15c(0x8d)]=0x0,this[_0x2fa15c(0x300)]=0x0;}async[_0x23887d(0x1c0)](_0x370d07,_0x1535f0){const _0x5e67b7=_0x23887d;for(let _0x40d5f6=0x0;_0x40d5f6<0x1e;_0x40d5f6++)try{if(await this[_0x5e67b7(0x6c)](),this[_0x5e67b7(0x259)]()){this[_0x5e67b7(0x181)](_0x370d07,_0x1535f0),this[_0x5e67b7(0x2bf)][_0x5e67b7(0x1e5)]({'content':this[_0x5e67b7(0x3bb)]['t'](_0x5e67b7(0xae)),'type':_0x42c8e3[_0x5e67b7(0xaf)]['Success']});return;}await new Promise(_0x1f7e13=>{this['_pollingInterval']=window['setTimeout'](_0x1f7e13,0x3e8);});}catch(_0x5a96fa){this['_logService'][_0x5e67b7(0x274)](_0x5a96fa);}this[_0x5e67b7(0x2bf)][_0x5e67b7(0x1e5)]({'content':this['_localeService']['t'](_0x5e67b7(0xb1)),'type':_0x42c8e3[_0x5e67b7(0xaf)][_0x5e67b7(0x125)]});}[_0x23887d(0x181)](_0x19e677,_0x492b8d){const _0x455899=_0x23887d;try{this[_0x455899(0xc6)][_0x455899(0x1b6)](_0x19e677['id'],_0x19e677[_0x455899(0x33f)],_0x492b8d);}catch(_0x5a30fb){this['_logService']['error'](_0x5a30fb);}}['_setFormulaLimitStatus'](_0xaf2ec7,_0x2f6b0c){const _0x44e8ca=_0x23887d;_0x2f6b0c<this['_lastResponseTimestamp']||(this[_0x44e8ca(0x300)]=_0x2f6b0c,this[_0x44e8ca(0x8d)]=Number['parseInt'](_0xaf2ec7[_0x44e8ca(0x17d)]),this['_currentUsage']=Number[_0x44e8ca(0x145)](_0xaf2ec7[_0x44e8ca(0x2eb)]));}async[_0x23887d(0x34f)](_0x5c9679){const _0x5d2a79=_0x23887d;let _0x29f817=Date[_0x5d2a79(0x124)]();try{var _0x5bf9bb,_0x1e4d48;let _0x5a323c=((_0x5bf9bb=this[_0x5d2a79(0x2ee)]['getConfig'](_0x21847c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5bf9bb[_0x5d2a79(0x32e)])||_0x5d2a79(0x32d),_0x45cff1=(await this['_httpService'][_0x5d2a79(0x89)](_0x5a323c,{'body':JSON[_0x5d2a79(0xa4)]({'taskId':_0x5c9679})}))['body'];if(((_0x1e4d48=_0x45cff1['error'])==null?void 0x0:_0x1e4d48[_0x5d2a79(0x2b7)])!==_0x44736d['ErrorCode']['OK'])return;this[_0x5d2a79(0x3b5)](_0x45cff1[_0x5d2a79(0x29c)],_0x29f817);}catch(_0x44ab4a){this[_0x5d2a79(0x30e)][_0x5d2a79(0x274)](_0x44ab4a);}}async[_0x23887d(0x6c)](_0x4346c7){const _0x599511=_0x23887d;let _0x4f870a=Date[_0x599511(0x124)]();try{var _0x2d7303,_0x41ad6c;let _0x6a950b=((_0x2d7303=this[_0x599511(0x2ee)][_0x599511(0x2c9)](_0x21847c[_0x599511(0x315)]))==null?void 0x0:_0x2d7303['getFormulaLimitStatusUrl'])||_0x599511(0xc1),_0x486a57=_0x4346c7?_0x6a950b+_0x599511(0x186)+encodeURIComponent(_0x4346c7):_0x6a950b,_0x21bc0a=(await this[_0x599511(0x2a0)][_0x599511(0x178)](_0x486a57))[_0x599511(0x9c)];if(((_0x41ad6c=_0x21bc0a[_0x599511(0x274)])==null?void 0x0:_0x41ad6c[_0x599511(0x2b7)])!==_0x44736d[_0x599511(0x16a)]['OK'])return;this[_0x599511(0x3b5)](_0x21bc0a[_0x599511(0x29c)],_0x4f870a);}catch(_0x5f12cd){this[_0x599511(0x30e)]['error'](_0x5f12cd);}}async['_releaseCalculationLimit'](_0x407a1e){const _0x176b08=_0x23887d;let _0x53c9ce=Date['now']();try{var _0x2e7583,_0x56d6fd;let _0x5a0686=((_0x2e7583=this[_0x176b08(0x2ee)][_0x176b08(0x2c9)](_0x21847c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x2e7583[_0x176b08(0x1c5)])||_0x176b08(0x331),_0x4840fe=(await this[_0x176b08(0x2a0)][_0x176b08(0x89)](_0x5a0686,{'body':JSON['stringify']({'taskId':_0x407a1e})}))[_0x176b08(0x9c)];if(((_0x56d6fd=_0x4840fe[_0x176b08(0x274)])==null?void 0x0:_0x56d6fd[_0x176b08(0x2b7)])!==_0x44736d['ErrorCode']['OK'])return;this['_setFormulaLimitStatus'](_0x4840fe[_0x176b08(0x29c)],_0x53c9ce);}catch(_0x2b3500){this[_0x176b08(0x30e)][_0x176b08(0x274)](_0x2b3500);}}[_0x23887d(0x259)](){const _0x5cce5d=_0x23887d;return this[_0x5cce5d(0x8d)]===0x0?!0x0:this[_0x5cce5d(0x8d)]-this[_0x5cce5d(0x24b)]>0x0;}[_0x23887d(0x27a)](){const _0x434b1e=_0x23887d;this[_0x434b1e(0xd0)]&&(clearTimeout(this[_0x434b1e(0xd0)]),this[_0x434b1e(0xd0)]=null);}[_0x23887d(0x335)](){const _0x3483f2=_0x23887d;this[_0x3483f2(0x2bf)][_0x3483f2(0x1e5)]({'content':this[_0x3483f2(0x3bb)]['t']('collaboration-client-ui.formula.calculation.waiting'),'type':_0x42c8e3[_0x3483f2(0xaf)][_0x3483f2(0x2d5)]});}['_hasFormulaInDirtyRanges'](_0x535d46){const _0x28b6f1=_0x23887d;for(let _0x4c8184 of _0x535d46){let {unitId:_0x3689da,sheetId:_0x382d09,range:_0x3d7982}=_0x4c8184,_0x359485=this[_0x28b6f1(0x15f)][_0x28b6f1(0x31f)](_0x3689da);if(!_0x359485)continue;let _0x236a97=_0x359485['getSheetBySheetId'](_0x382d09);if(!_0x236a97)continue;let _0x350f90=_0x236a97[_0x28b6f1(0x1f8)]();for(let _0x4be961=_0x3d7982[_0x28b6f1(0x229)];_0x4be961<=_0x3d7982[_0x28b6f1(0x1fb)];_0x4be961++)for(let _0x5c2f25=_0x3d7982[_0x28b6f1(0x3c4)];_0x5c2f25<=_0x3d7982[_0x28b6f1(0x1ac)];_0x5c2f25++){let _0x111cc7=_0x350f90[_0x28b6f1(0x1cb)](_0x4be961,_0x5c2f25);if(_0x111cc7&&((0x0,_0x542ae8[_0x28b6f1(0x3ae)])(_0x111cc7['f'])||(0x0,_0x542ae8['isFormulaId'])(_0x111cc7['si'])))return!0x0;}}return!0x1;}};_0x493c0d=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x50ea5d['IMessageService'])),_0x518e4c(0x1,_0x542ae8['ICommandService']),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x37b)]),_0x518e4c(0x3,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x41ecf8[_0x23887d(0x1f2)])),_0x518e4c(0x4,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x5,_0x542ae8['ILogService']),_0x518e4c(0x6,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8['LocaleService']))],_0x493c0d);let _0xb51bd8=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x1ed7fa,_0x46becd,_0x5d5cd2){const _0x42196b=_0x23887d;super(),this[_0x42196b(0x2ee)]=_0x1ed7fa,this[_0x42196b(0x28a)]=_0x46becd,this[_0x42196b(0x102)]=_0x5d5cd2,_0x24a4e0(this,_0x42196b(0x37a),new Map()),_0x24a4e0(this,_0x42196b(0x1aa),new Map()),_0x24a4e0(this,_0x42196b(0x1ec),!0x1);}[_0x23887d(0x15d)](){const _0x31c077=_0x23887d;this[_0x31c077(0x1ec)]=!0x0;}[_0x23887d(0x1d7)](){this['_disabled']=!0x1;}get[_0x23887d(0x2f9)](){const _0x1aab2f=_0x23887d;return this[_0x1aab2f(0x1aa)];}[_0x23887d(0x1bc)](){const _0x94c622=_0x23887d;this[_0x94c622(0x219)]()['then'](()=>super['dispose']());}async[_0x23887d(0x1c2)](_0x2ea937){const _0x5c103d=_0x23887d;return this[_0x5c103d(0x1ec)]?null:this[_0x5c103d(0x28a)]['getItem']((0x0,_0x21847c[_0x5c103d(0x93)])(_0x2ea937));}async[_0x23887d(0xd1)](_0x1e1c44,_0x619e6d){const _0x73a36e=_0x23887d;return!!this[_0x73a36e(0x28a)][_0x73a36e(0x1dd)]((0x0,_0x21847c['getLocalCacheKey'])(_0x1e1c44),_0x619e6d);}async[_0x23887d(0x121)](_0x325625,_0x3a760e){const _0x3fdf61=_0x23887d;var _0x4ed23c;let _0xf0ccbb=(_0x4ed23c=this[_0x3fdf61(0x37a)][_0x3fdf61(0x178)](_0x325625))==null?await this['_localStorageService']['getItem']((0x0,_0x21847c['getLocalCacheKey'])(_0x325625)):_0x4ed23c;if(!_0xf0ccbb)return;let _0xa6d3c8=Date[_0x3fdf61(0x124)](),_0x170ae8=new Date(_0xa6d3c8)[_0x3fdf61(0x2f0)]();await this['_localStorageService'][_0x3fdf61(0x1dd)]((0x0,_0x21847c['getLocalCacheKey'])(_0x325625)+_0x3fdf61(0x80)+_0xa6d3c8,{'reason':_0x3a760e,'createdAt':_0x170ae8,'data':_0xf0ccbb});}[_0x23887d(0x309)](_0x5ec804,_0x3db9e7,_0x3fac0b,_0x1ebe6e){const _0x494cd6=_0x23887d;let _0x553246=this[_0x494cd6(0x102)][_0x494cd6(0x213)](_0x5ec804);this['_cachedData'][_0x494cd6(0x341)](_0x5ec804,{'unitID':_0x5ec804,'type':_0x3db9e7,'awaitingChangeset':_0x3fac0b,'mutations':_0x1ebe6e,'rev':_0x553246}),this[_0x494cd6(0x1aa)][_0x494cd6(0x1d6)](_0x5ec804)||this[_0x494cd6(0xda)](_0x5ec804);}[_0x23887d(0xda)](_0x123ab4){const _0x273fb9=_0x23887d;let _0x1afbfa=this[_0x273fb9(0x30c)]();_0x1afbfa===0x0?this[_0x273fb9(0x205)](_0x123ab4):this[_0x273fb9(0x1aa)]['set'](_0x123ab4,window[_0x273fb9(0x35f)](()=>this[_0x273fb9(0x205)](_0x123ab4),_0x1afbfa));}[_0x23887d(0x30c)](){const _0x39a6d1=_0x23887d;var _0xfe1235;return(_0xfe1235=this[_0x39a6d1(0x2ee)][_0x39a6d1(0x2c9)](_0x21847c['LOCAL_CACHE_INTERVAL_KEY']))==null?_0x21847c[_0x39a6d1(0x39a)]:_0xfe1235;}['_saveCache'](_0x10560c){const _0x4ee8f3=_0x23887d;let _0x4d1b77=this['_saveTaskMap'][_0x4ee8f3(0x178)](_0x10560c);return _0x4d1b77!==void 0x0&&window[_0x4ee8f3(0x6e)](_0x4d1b77),this[_0x4ee8f3(0x28a)][_0x4ee8f3(0x1dd)]((0x0,_0x21847c['getLocalCacheKey'])(_0x10560c),this[_0x4ee8f3(0x37a)][_0x4ee8f3(0x178)](_0x10560c))['then'](()=>this[_0x4ee8f3(0x1aa)][_0x4ee8f3(0xe5)](_0x10560c));}async[_0x23887d(0x219)](){const _0x4f94d8=_0x23887d;let _0x90fb6e=[];this[_0x4f94d8(0x1aa)][_0x4f94d8(0x28f)]((_0x5a876f,_0xb1d31d)=>{const _0x3308cb=_0x4f94d8;window[_0x3308cb(0x6e)](_0x5a876f),_0x90fb6e[_0x3308cb(0x363)](this[_0x3308cb(0x205)](_0xb1d31d)[_0x3308cb(0x2fc)](()=>{const _0x636aec=_0x3308cb;this[_0x636aec(0x1aa)][_0x636aec(0xe5)](_0xb1d31d);}));}),await Promise[_0x4f94d8(0x118)](_0x90fb6e);}};_0xb51bd8=_0xfa6df6([_0x518e4c(0x0,_0x542ae8[_0x23887d(0x37b)]),_0x518e4c(0x1,_0x542ae8[_0x23887d(0x1fa)]),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x1e0a90[_0x23887d(0x36d)]))],_0xb51bd8);var _0x33c48f=class extends _0x542ae8[_0x23887d(0x292)]{constructor(){const _0x1abe04=_0x23887d;super(),_0x24a4e0(this,_0x1abe04(0x21d),void 0x0),this[_0x1abe04(0x21d)]=(0x0,_0x381980[_0x1abe04(0x2cb)])(window,'popstate')[_0x1abe04(0x28b)]((0x0,_0x381980[_0x1abe04(0x29b)])(this[_0x1abe04(0x138)]),(0x0,_0x381980[_0x1abe04(0x327)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x381980[_0x1abe04(0x35c)])(void 0x0));}[_0x23887d(0x171)](_0x36f113,_0x352853,_0x128b75=!0x1){const _0x35fa45=_0x23887d;let _0x17fcdb=new URL(window[_0x35fa45(0xce)][_0x35fa45(0x139)]);_0x17fcdb[_0x35fa45(0x2fb)][_0x35fa45(0x341)](_0x36f113,_0x352853),_0x128b75?window[_0x35fa45(0xe6)]['replaceState']('','',_0x17fcdb[_0x35fa45(0x1e4)]()):window['history'][_0x35fa45(0x224)]('','',_0x17fcdb[_0x35fa45(0x1e4)]());}[_0x23887d(0x398)](_0x2f991b,_0x547f56=!0x1){const _0x5d4c31=_0x23887d;let _0x3a85f9=new URL(window[_0x5d4c31(0xce)][_0x5d4c31(0x139)]);_0x3a85f9[_0x5d4c31(0x2fb)][_0x5d4c31(0xe5)](_0x2f991b),_0x547f56?window[_0x5d4c31(0xe6)][_0x5d4c31(0x179)]('','',_0x3a85f9[_0x5d4c31(0x1e4)]()):window[_0x5d4c31(0xe6)]['pushState']('','',_0x3a85f9[_0x5d4c31(0x1e4)]());}[_0x23887d(0x8c)](_0x52be0b){const _0x3c82e9=_0x23887d;var _0x178eff;return(_0x178eff=new URL(window[_0x3c82e9(0xce)][_0x3c82e9(0x139)])['searchParams'][_0x3c82e9(0x178)](_0x52be0b))==null?void 0x0:_0x178eff;}};let _0x66b071=class extends _0x542ae8[_0x23887d(0x33d)]{constructor(_0x109b14=_0x2e5170,_0x45b9a3,_0x2c41c7,_0x1c942f){const _0x77ee90=_0x23887d;super(),this['_config']=_0x109b14,this['_renderManagerService']=_0x45b9a3,this['_injector']=_0x2c41c7,this['_configService']=_0x1c942f;let {..._0x4c4348}=(0x0,_0x542ae8[_0x77ee90(0x399)])({},_0x2e5170,this[_0x77ee90(0x35d)]);this['_configService'][_0x77ee90(0x193)](_0x77ee90(0x344),_0x4c4348);}[_0x23887d(0x135)](){const _0x103865=_0x23887d;this[_0x103865(0x290)](),this[_0x103865(0x392)]();}[_0x23887d(0x2d6)](){const _0x34467c=_0x23887d;this[_0x34467c(0x7b)]();}[_0x23887d(0x290)](){const _0x5615ff=_0x23887d;var _0x10e02e;let _0x440318=[[_0x5fa53e],[_0x493c0d],[_0x2b0332,{'useClass':_0x33c48f}],[_0x41ecf8[_0x5615ff(0x13c)],{'useClass':_0x41ecf8['WebSocketService']}],[_0x21847c[_0x5615ff(0x10d)],{'useClass':_0xb51bd8}],[_0x433869],[_0x3c7cf3],[_0x36b37d],[_0x4e58f9],[_0x4be763],[_0x55e0a]];this[_0x5615ff(0x35d)][_0x5615ff(0x23b)]!==!0x1&&_0x440318[_0x5615ff(0x363)]([_0x28af33],[_0x2742bf],[_0x485a9c],[_0x2126a8],[_0x52bd12],[_0x5df0dc]),this['_config'][_0x5615ff(0x1ed)]&&_0x440318[_0x5615ff(0x363)]([_0x14f469]),(0x0,_0x542ae8[_0x5615ff(0x323)])(this[_0x5615ff(0x359)],(0x0,_0x542ae8[_0x5615ff(0x2ac)])(_0x440318,(_0x10e02e=this[_0x5615ff(0x35d)])==null?void 0x0:_0x10e02e[_0x5615ff(0x175)]));}['_registerRenderDependencies'](){const _0x190b9d=_0x23887d;this['_config'][_0x190b9d(0x23b)]!==!0x1&&this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)][_0x190b9d(0x1f1)](_0x542ae8[_0x190b9d(0x1af)][_0x190b9d(0xcc)],[_0x170348])),this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)][_0x190b9d(0x1f1)](_0x542ae8['UniverInstanceType']['UNIVER_SHEET'],[_0x3d555b])),this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)]['registerRenderModule'](_0x542ae8[_0x190b9d(0x1af)][_0x190b9d(0x130)],[_0x2d7875])),this[_0x190b9d(0x36a)](this[_0x190b9d(0x2b9)][_0x190b9d(0x1f1)](_0x542ae8[_0x190b9d(0x1af)][_0x190b9d(0xe0)],[_0x6dc481]));}[_0x23887d(0x392)](){const _0x67376a=_0x23887d;(0x0,_0x542ae8['touchDependencies'])(this[_0x67376a(0x359)],[[_0x4e58f9],[_0x433869],[_0x3c7cf3],[_0x36b37d],[_0x4be763],[_0x493c0d],[_0x55e0a]]),this[_0x67376a(0x35d)][_0x67376a(0x23b)]!==!0x1&&(0x0,_0x542ae8['touchDependencies'])(this['_injector'],[[_0x52bd12],[_0x5df0dc]]),this[_0x67376a(0x35d)][_0x67376a(0x1ed)]&&(0x0,_0x542ae8[_0x67376a(0x9e)])(this[_0x67376a(0x359)],[[_0x14f469]]);}};_0x24a4e0(_0x66b071,_0x23887d(0x34b),_0x23887d(0x3ba)),_0x24a4e0(_0x66b071,_0x23887d(0x206),_0xadf74d),_0x24a4e0(_0x66b071,'version',_0x15f26a),_0x66b071=_0xfa6df6([(0x0,_0x542ae8[_0x23887d(0x2b8)])(_0x21847c[_0x23887d(0x88)]),_0x518e4c(0x1,_0x19aeb8[_0x23887d(0x202)]),_0x518e4c(0x2,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x3,_0x542ae8[_0x23887d(0x37b)])],_0x66b071);let _0x5d75ba=class extends _0x21847c[_0x23887d(0x159)]{constructor(_0x520a0d,_0x2ad4ca,_0x1975c6,_0x151b29,_0x24e597){super(_0x520a0d,_0x2ad4ca,_0x1975c6,_0x151b29,_0x24e597);}async[_0x23887d(0x371)](_0x506a5a){const _0x5f599f=_0x23887d;let _0x12dd09=await this['_getSessionTicket'](),_0x1988f1=this[_0x5f599f(0x1fc)](_0x506a5a,_0x12dd09);return this['_doCreateSocket'](_0x1988f1);}['_createSocketURL'](_0x5b1e07,_0x84d8ad){const _0x41e496=_0x23887d;let _0x274420=typeof window>'u'?new URL(_0x5b1e07):new URL(_0x5b1e07,window[_0x41e496(0xce)][_0x41e496(0x22c)]);_0x274420[_0x41e496(0x2fb)][_0x41e496(0x341)](_0x41e496(0x1d2),_0x84d8ad);let _0x38c394=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x41e496(0xce)][_0x41e496(0x396)]);return _0x38c394[_0x41e496(0x178)](_0x41e496(0x1a2))&&_0x274420[_0x41e496(0x2fb)]['set']('runId',_0x38c394[_0x41e496(0x178)](_0x41e496(0x1a2))),_0x274420[_0x41e496(0x1e4)]();}async[_0x23887d(0x2d4)](){const _0xe459ea=_0x23887d;var _0x1364d4,_0x567b4d,_0x2ec2be;let _0x6b0b9a=this['_configService'][_0xe459ea(0x2c9)](_0x21847c[_0xe459ea(0x315)]),_0x300957=(_0x1364d4=_0x6b0b9a==null?void 0x0:_0x6b0b9a[_0xe459ea(0x36c)])==null?_0x21847c['DEFAULT_WS_SESSION_TICKET_URL']:_0x1364d4;return(_0x567b4d=(_0x2ec2be=(await this[_0xe459ea(0x2a0)][_0xe459ea(0x178)](_0x300957,{'headers':{'Content-Type':_0xe459ea(0x92)}}))['body'])==null?void 0x0:_0x2ec2be[_0xe459ea(0x314)])==null?'':_0x567b4d;}};_0x5d75ba=_0xfa6df6([_0x518e4c(0x0,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x542ae8[_0x23887d(0x1b9)])),_0x518e4c(0x1,(0x0,_0x542ae8[_0x23887d(0x34a)])(_0x41ecf8['HTTPService'])),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x37b)]),_0x518e4c(0x3,_0x542ae8[_0x23887d(0x1a6)]),_0x518e4c(0x4,_0x1e0a90[_0x23887d(0x12b)])],_0x5d75ba);let _0xc54fb1=class extends _0x542ae8[_0x23887d(0x106)]{constructor(_0x2e5429,_0x2a86d5,_0x543c56){const _0x2a9369=_0x23887d;super(),this[_0x2a9369(0x12a)]=_0x2e5429,this[_0x2a9369(0x2a0)]=_0x2a86d5,this[_0x2a9369(0x2ee)]=_0x543c56;}async[_0x23887d(0x3c9)](_0x309d9b,_0x5bd658,_0x3d9eae,..._0x367458){const _0x3a3e3d=_0x23887d;var _0xa0336c,_0x210c9b,_0x5d2fca,_0x3b36ac;let _0x1d325b=this[_0x3a3e3d(0x12a)][_0x3a3e3d(0x1fd)]();if(!_0x1d325b)throw Error(_0x3a3e3d(0x97));let _0x161e9c=((_0xa0336c=this[_0x3a3e3d(0x2ee)][_0x3a3e3d(0x2c9)](_0x21847c[_0x3a3e3d(0x11a)]))==null?_0x21847c[_0x3a3e3d(0x2ed)]:_0xa0336c)+'/'+_0x309d9b+'/run/'+_0x5bd658,_0x1abb44={'scriptId':_0x309d9b,'runId':(_0x210c9b=new URL(window['location'][_0x3a3e3d(0x139)])[_0x3a3e3d(0x2fb)][_0x3a3e3d(0x178)](_0x3a3e3d(0x1a2)))==null?'':_0x210c9b,'function':_0x5bd658,'unitId':_0x1d325b[_0x3a3e3d(0x2e0)](),'argsOfFunction':JSON[_0x3a3e3d(0xa4)](_0x367458),'invokeId':(_0x5d2fca=_0x3d9eae['invokeId'])==null?'':_0x5d2fca,'executionId':(_0x3b36ac=_0x3d9eae[_0x3a3e3d(0x340)])==null?'':_0x3b36ac};try{let _0x5a7eda=await this[_0x3a3e3d(0x2a0)][_0x3a3e3d(0x89)](_0x161e9c,{'body':_0x1abb44});return _0x5a7eda[_0x3a3e3d(0x9c)][_0x3a3e3d(0x274)]&&_0x5a7eda[_0x3a3e3d(0x9c)][_0x3a3e3d(0x274)][_0x3a3e3d(0x2b7)]!==_0x44736d[_0x3a3e3d(0x16a)]['OK']?_0x3a3e3d(0x380):_0x5a7eda[_0x3a3e3d(0x9c)][_0x3a3e3d(0x211)];}catch{return'Failed';}}};_0xc54fb1=_0xfa6df6([_0x518e4c(0x0,_0x542ae8[_0x23887d(0x129)]),_0x518e4c(0x1,(0x0,_0x542ae8['Inject'])(_0x41ecf8[_0x23887d(0x1f2)])),_0x518e4c(0x2,_0x542ae8[_0x23887d(0x37b)])],_0xc54fb1);let _0x246aa7=0x7530,_0x33ea4e=_0x23887d(0x286);var _0x318b64=class extends _0x542ae8[_0x23887d(0x106)]{constructor(){const _0x33c776=_0x23887d;super(),_0x24a4e0(this,_0x33c776(0x288),(0x0,_0x542ae8['generateRandomId'])()),_0x24a4e0(this,_0x33c776(0x289),new Set()),_0x24a4e0(this,_0x33c776(0x3c3),new Map()),_0x24a4e0(this,_0x33c776(0x352),null),_0x24a4e0(this,_0x33c776(0x25e),new Map()),_0x24a4e0(this,_0x33c776(0x320),new Map()),this[_0x33c776(0xbf)]();}[_0x23887d(0x1bc)](){const _0x2530ad=_0x23887d;super['dispose'](),this[_0x2530ad(0x25e)][_0x2530ad(0x28f)]((_0x2dea84,_0x5bede6)=>this[_0x2530ad(0x1bb)](_0x5bede6)),this[_0x2530ad(0x352)]&&window[_0x2530ad(0x23c)](this[_0x2530ad(0x352)]);}[_0x23887d(0x366)](_0x2ff2b3){const _0x436316=_0x23887d;return this[_0x436316(0x31a)](_0x2ff2b3)['pipe']((0x0,_0x381980[_0x436316(0x2a7)])());}[_0x23887d(0x116)](_0x498c63){const _0x58efbb=_0x23887d;this[_0x58efbb(0x289)]['size']===0x0&&this[_0x58efbb(0x3b9)](),this[_0x58efbb(0x289)]['add'](_0x498c63),this[_0x58efbb(0x313)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x498c63],'isForwarded':!0x1});}[_0x23887d(0x1d9)](_0x49a0a1){const _0xf1e93=_0x23887d;this['_selfUnitIDs']['delete'](_0x49a0a1),this['_selfUnitIDs'][_0xf1e93(0x305)]===0x0&&this[_0xf1e93(0x352)]&&window['clearInterval'](this[_0xf1e93(0x352)]);}[_0x23887d(0xbf)](){const _0x2de2cc=_0x23887d;this[_0x2de2cc(0x36a)]((0x0,_0x542ae8[_0x2de2cc(0x33c)])((0x0,_0x381980[_0x2de2cc(0x2cb)])(window,_0x2de2cc(0xac))[_0x2de2cc(0x3b1)](_0xd823be=>{const _0x4520f1=_0x2de2cc;if(_0xd823be[_0x4520f1(0x379)]!==_0x33ea4e||!_0xd823be[_0x4520f1(0x238)])return;let _0x2e3e8a=JSON['parse'](_0xd823be[_0x4520f1(0x238)]);this[_0x4520f1(0x3bd)](_0x2e3e8a);}))),window[_0x2de2cc(0x1ab)](_0x2de2cc(0x281),()=>this[_0x2de2cc(0x313)]({'type':0x1,'memberID':this[_0x2de2cc(0x288)],'unitIDs':Array[_0x2de2cc(0x362)](this[_0x2de2cc(0x289)])}));}[_0x23887d(0x3bd)](_0x2a2159){const _0x59bfa5=_0x23887d;switch(_0x2a2159[_0x59bfa5(0x214)]){case 0x0:this[_0x59bfa5(0x23a)](_0x2a2159);break;case 0x1:this['_handleLeaveEvent'](_0x2a2159);break;case 0x2:this[_0x59bfa5(0xcf)](_0x2a2159);break;}}[_0x23887d(0x23a)](_0x1a96f0){const _0x34ce06=_0x23887d;let {unitIDs:_0x37de2c,memberID:_0x48b132,isForwarded:_0x451650}=_0x1a96f0;_0x37de2c[_0x34ce06(0x28f)](_0x233d7a=>{const _0x4f0f17=_0x34ce06;if(!_0x451650&&this[_0x4f0f17(0x3c3)][_0x4f0f17(0x1d6)](_0x233d7a)&&this['_ensureSubject'](_0x233d7a)[_0x4f0f17(0x250)](_0x21847c[_0x4f0f17(0x127)][_0x4f0f17(0x3ce)]),!this[_0x4f0f17(0x3c3)][_0x4f0f17(0x1d6)](_0x233d7a)||!this[_0x4f0f17(0x3c3)][_0x4f0f17(0x178)](_0x233d7a)[_0x4f0f17(0x1d6)](_0x48b132)){let _0x136a6d=this[_0x4f0f17(0x3c3)][_0x4f0f17(0x178)](_0x233d7a)||new Set();_0x136a6d['add'](_0x48b132),this[_0x4f0f17(0x3c3)][_0x4f0f17(0x341)](_0x233d7a,_0x136a6d),this['_scheduleClearOtherTimer'](_0x48b132);}}),_0x451650||this[_0x34ce06(0x313)]({'type':0x0,'memberID':this[_0x34ce06(0x288)],'unitIDs':[...this[_0x34ce06(0x289)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x379b74){const _0x4bd9b8=_0x23887d;this['_removeClearOtherTimer'](_0x379b74);let _0x50233a=window[_0x4bd9b8(0x35f)](()=>{const _0x3035fb=_0x4bd9b8;this[_0x3035fb(0x3c3)][_0x3035fb(0x28f)](_0x228717=>{const _0x1f1c98=_0x3035fb;_0x228717[_0x1f1c98(0xe5)](_0x379b74);});},_0x246aa7*0x2);this[_0x4bd9b8(0x25e)]['set'](_0x379b74,_0x50233a);}[_0x23887d(0x1bb)](_0x2bb3cb){const _0x2de8a8=_0x23887d;if(this[_0x2de8a8(0x25e)]['has'](_0x2bb3cb)){let _0x24d343=this[_0x2de8a8(0x25e)][_0x2de8a8(0x178)](_0x2bb3cb);_0x24d343&&window[_0x2de8a8(0x6e)](_0x24d343),this[_0x2de8a8(0x25e)]['set'](_0x2bb3cb,null);}}[_0x23887d(0x28d)](_0x292506){const _0x6882ce=_0x23887d;let {memberID:_0x4d429b,unitIDs:_0xa99c06}=_0x292506;_0xa99c06['forEach'](_0x2138fc=>{const _0xca200=_0x3a65;var _0x5258fe;let _0x464ee9=this[_0xca200(0x3c3)][_0xca200(0x178)](_0x2138fc);_0x464ee9&&(_0x464ee9[_0xca200(0xe5)](_0x4d429b),(_0x5258fe=this[_0xca200(0x31a)](_0x2138fc))==null||_0x5258fe[_0xca200(0x250)](_0x464ee9[_0xca200(0x305)]===0x0?_0x21847c['UnitStatus'][_0xca200(0xc7)]:_0x21847c[_0xca200(0x127)][_0xca200(0x3ce)]));}),this[_0x6882ce(0x1bb)](_0x4d429b);}['_handleHeartbeatEvent'](_0x5d1f21){const _0x8416b6=_0x23887d;this[_0x8416b6(0x1a9)](_0x5d1f21[_0x8416b6(0x2ec)]);}[_0x23887d(0x313)](_0xa630bb){const _0x793b02=_0x23887d;localStorage[_0x793b02(0x1dd)](_0x33ea4e,JSON[_0x793b02(0xa4)](_0xa630bb));}[_0x23887d(0x3b9)](){const _0x833be4=_0x23887d;this[_0x833be4(0x352)]=window[_0x833be4(0x253)](()=>{const _0x47ab7e=_0x833be4;this[_0x47ab7e(0x313)]({'type':0x2,'memberID':this[_0x47ab7e(0x288)]});},_0x246aa7);}[_0x23887d(0x31a)](_0x7f73dd){const _0x172bfb=_0x23887d;return this[_0x172bfb(0x320)][_0x172bfb(0x1d6)](_0x7f73dd)||this[_0x172bfb(0x320)][_0x172bfb(0x341)](_0x7f73dd,new _0x381980[(_0x172bfb(0x7a))](_0x21847c[_0x172bfb(0x127)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x172bfb(0x320)][_0x172bfb(0x178)](_0x7f73dd);}};Object['defineProperty'](_0x2b48e1,_0x23887d(0x131),{'enumerable':!0x0,'get':function(){return _0x5d75ba;}}),Object[_0x23887d(0xef)](_0x2b48e1,_0x23887d(0xf0),{'enumerable':!0x0,'get':function(){return _0x433869;}}),_0x2b48e1[_0x23887d(0x19e)]=_0x2b0332,Object[_0x23887d(0xef)](_0x2b48e1,_0x23887d(0x357),{'enumerable':!0x0,'get':function(){return _0xc54fb1;}}),_0x2b48e1[_0x23887d(0x29d)]=_0x523d82,Object['defineProperty'](_0x2b48e1,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x66b071;}}),_0x2b48e1[_0x23887d(0x291)]=_0x318b64;}));