@univerjs-pro/collaboration-client-ui 1.0.0-alpha.7 → 1.0.0-alpha.8

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.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +3 -3
  65. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +2 -2
  66. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +3 -3
  67. package/lib/types/models/cursor.d.ts +0 -2
  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 -21
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3840f9,_0x4c21ad){const _0x595b94=_0x3560,_0x34761e=_0x3840f9();while(!![]){try{const _0x510c13=parseInt(_0x595b94(0x234))/0x1*(-parseInt(_0x595b94(0x32b))/0x2)+parseInt(_0x595b94(0x2d3))/0x3*(parseInt(_0x595b94(0x36e))/0x4)+-parseInt(_0x595b94(0x262))/0x5*(-parseInt(_0x595b94(0x197))/0x6)+parseInt(_0x595b94(0x1e4))/0x7+-parseInt(_0x595b94(0x19a))/0x8*(parseInt(_0x595b94(0x362))/0x9)+-parseInt(_0x595b94(0x48d))/0xa+parseInt(_0x595b94(0x3b7))/0xb;if(_0x510c13===_0x4c21ad)break;else _0x34761e['push'](_0x34761e['shift']());}catch(_0x5071e1){_0x34761e['push'](_0x34761e['shift']());}}}(_0x5654,0x3153d),function(_0x29684a,_0x210bb9){const _0x2a308a=_0x3560;typeof exports==_0x2a308a(0x416)&&typeof module<'u'?_0x210bb9(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==_0x2a308a(0x489)&&define[_0x2a308a(0x3b5)]?define(['exports',_0x2a308a(0x491),_0x2a308a(0x278),_0x2a308a(0x237),_0x2a308a(0x252),_0x2a308a(0x486),_0x2a308a(0x3b3),_0x2a308a(0x1bb),_0x2a308a(0x1d3),'react/jsx-runtime',_0x2a308a(0x1c8),_0x2a308a(0x287),'@univerjs/docs-ui','@univerjs-pro/collaboration',_0x2a308a(0x399),_0x2a308a(0x213),_0x2a308a(0x227),'@univerjs-pro/slides-ui','@univerjs/sheets-ui',_0x2a308a(0x409),_0x2a308a(0x294)],_0x210bb9):(_0x29684a=typeof globalThis<'u'?globalThis:_0x29684a||self,_0x210bb9(_0x29684a[_0x2a308a(0x46f)]={},_0x29684a[_0x2a308a(0x39d)],_0x29684a[_0x2a308a(0x4cd)],_0x29684a[_0x2a308a(0x2e0)],_0x29684a[_0x2a308a(0x488)],_0x29684a[_0x2a308a(0x486)],_0x29684a[_0x2a308a(0x486)][_0x2a308a(0x1db)],_0x29684a[_0x2a308a(0x317)],_0x29684a['React'],_0x29684a[_0x2a308a(0x457)],_0x29684a[_0x2a308a(0x25b)],_0x29684a[_0x2a308a(0x496)],_0x29684a[_0x2a308a(0x3de)],_0x29684a[_0x2a308a(0x198)],_0x29684a['UniverDocs'],_0x29684a['UniverEngineFormula'],_0x29684a[_0x2a308a(0x253)],_0x29684a[_0x2a308a(0x4b8)],_0x29684a['UniverSheetsUi'],_0x29684a[_0x2a308a(0x46e)],_0x29684a[_0x2a308a(0x439)]));}(this,function(_0x288673,_0x199609,_0x289c2c,_0x3378d6,_0x4dab43,_0x5515fe,_0x18241c,_0x472933,_0x477dc2,_0x2d4a70,_0x21620d,_0x301182,_0xe8b960,_0x518a46,_0x904e3,_0x4599c2,_0x277df0,_0x524d80,_0x4fe045,_0x418f3f,_0x6c7a){const _0x470848=_0x3560;Object[_0x470848(0x3f4)](_0x288673,Symbol[_0x470848(0x2f2)],{'value':_0x470848(0x483)});function _0xf61d2c({ref:_0x151ed4,..._0x2fff91}){const _0x1b7b33=_0x470848;let {icon:_0x172aac,id:_0x3965ed,className:_0x18837b,extend:_0x441704,..._0x408dca}=_0x2fff91,_0x32ee62=('univerjs-icon\x20univerjs-icon-'+_0x3965ed+'\x20'+(_0x18837b||''))['trim'](),_0xdc328d=(0x0,_0x477dc2['useRef'])('_'+_0x40e54e());return _0x50b086(_0x172aac,''+_0x3965ed,{'defIds':_0x172aac[_0x1b7b33(0x1e1)],'idSuffix':_0xdc328d[_0x1b7b33(0x1ca)]},{'ref':_0x151ed4,'className':_0x32ee62,..._0x408dca},_0x441704);}function _0x50b086(_0x4b5301,_0x149b6a,_0xe644c,_0x50f7e8,_0x4d1cb7){const _0x994ba3=_0x470848;return(0x0,_0x477dc2['createElement'])(_0x4b5301['tag'],{'key':_0x149b6a,..._0x3383d9(_0x4b5301,_0xe644c,_0x4d1cb7),..._0x50f7e8},(_0x494106(_0x4b5301,_0xe644c)[_0x994ba3(0x208)]||[])[_0x994ba3(0x40f)]((_0xb07a5e,_0xde16d7)=>_0x50b086(_0xb07a5e,_0x149b6a+'-'+_0x4b5301[_0x994ba3(0x232)]+'-'+_0xde16d7,_0xe644c,void 0x0,_0x4d1cb7)));}function _0x3383d9(_0x1cfef5,_0x2a5601,_0x10fb5d){const _0xf8a0f1=_0x470848;let _0x2ec49f={..._0x1cfef5[_0xf8a0f1(0x17e)]};_0x10fb5d!=null&&_0x10fb5d[_0xf8a0f1(0x424)]&&_0x2ec49f['fill']===_0xf8a0f1(0x424)&&(_0x2ec49f[_0xf8a0f1(0x478)]=_0x10fb5d[_0xf8a0f1(0x424)]),_0x10fb5d!=null&&_0x10fb5d[_0xf8a0f1(0x424)]&&_0x2ec49f[_0xf8a0f1(0x353)]===_0xf8a0f1(0x424)&&(_0x2ec49f['stroke']=_0x10fb5d[_0xf8a0f1(0x424)]),_0x1cfef5['tag']===_0xf8a0f1(0x484)&&_0x2ec49f['id']&&(_0x2ec49f['id']+=_0x2a5601[_0xf8a0f1(0x3bb)]),Object[_0xf8a0f1(0x2dd)](_0x2ec49f)[_0xf8a0f1(0x315)](([_0x5667b8,_0x52e895])=>{const _0x551960=_0xf8a0f1;_0x5667b8===_0x551960(0x484)&&typeof _0x52e895==_0x551960(0x245)&&(_0x2ec49f[_0x5667b8]=_0x52e895[_0x551960(0x2aa)](/url\(#(.*)\)/,'url(#$1'+_0x2a5601[_0x551960(0x3bb)]+')'));});let {defIds:_0x37e736}=_0x2a5601;return!_0x37e736||_0x37e736[_0xf8a0f1(0x254)]===0x0?_0x2ec49f:(_0x1cfef5[_0xf8a0f1(0x232)]===_0xf8a0f1(0x23a)&&_0x2ec49f[_0xf8a0f1(0x37f)]&&(_0x2ec49f[_0xf8a0f1(0x37f)]+=_0x2a5601['idSuffix']),Object[_0xf8a0f1(0x2dd)](_0x2ec49f)['forEach'](([_0x255cab,_0x28737f])=>{const _0x476576=_0xf8a0f1;typeof _0x28737f==_0x476576(0x245)&&(_0x2ec49f[_0x255cab]=_0x28737f[_0x476576(0x2aa)](/url\(#(.*)\)/,_0x476576(0x43e)+_0x2a5601[_0x476576(0x3bb)]+')'));}),_0x2ec49f);}function _0x494106(_0x66349f,_0x55a324){const _0x3db146=_0x470848;var _0x4447e8;let {defIds:_0x148797}=_0x55a324;return!_0x148797||_0x148797['length']===0x0?_0x66349f:_0x66349f[_0x3db146(0x232)]===_0x3db146(0x2d9)&&(_0x4447e8=_0x66349f['children'])!=null&&_0x4447e8[_0x3db146(0x254)]?{..._0x66349f,'children':_0x66349f['children'][_0x3db146(0x40f)](_0x54d32f=>typeof _0x54d32f[_0x3db146(0x17e)]['id']=='string'&&_0x148797&&_0x148797['includes'](_0x54d32f[_0x3db146(0x17e)]['id'])?{..._0x54d32f,'attrs':{..._0x54d32f[_0x3db146(0x17e)],'id':_0x54d32f['attrs']['id']+_0x55a324[_0x3db146(0x3bb)]}}:_0x54d32f)}:_0x66349f;}function _0x40e54e(){const _0x2a0a45=_0x470848;return Math[_0x2a0a45(0x327)]()[_0x2a0a45(0x31f)](0x24)[_0x2a0a45(0x22b)](0x2,0x8);}_0xf61d2c[_0x470848(0x25a)]=_0x470848(0x34c);let _0x491331={'tag':_0x470848(0x3df),'attrs':{'xmlns':_0x470848(0x1fa),'fill':_0x470848(0x36d),'viewBox':_0x470848(0x3a3),'width':'1em','height':_0x470848(0x18d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x470848(0x453),'attrs':{'stroke':_0x470848(0x2a4),'d':_0x470848(0x292),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x470848(0x2d9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x470848(0x391)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x271),'d':_0x470848(0x2ff)}}]}]}],'defIds':[_0x470848(0x391)]},_0x4525e8=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x1e616a,_0x1093ef){const _0x12f917=_0x470848;return(0x0,_0x477dc2[_0x12f917(0x218)])(_0xf61d2c,Object[_0x12f917(0x480)]({},_0x1e616a,{'id':'off-line-icon','ref':_0x1093ef,'icon':_0x491331}));});_0x4525e8[_0x470848(0x25a)]=_0x470848(0x367);let _0x25d82a={'tag':_0x470848(0x3df),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x470848(0x36d),'viewBox':_0x470848(0x26a),'width':_0x470848(0x18d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x470848(0x453),'attrs':{'stroke':_0x470848(0x2a4),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x470848(0x365),'strokeLinejoin':_0x470848(0x365),'strokeWidth':1.2}}]},{'tag':_0x470848(0x2d9),'attrs':{},'children':[{'tag':_0x470848(0x4ce),'attrs':{'id':_0x470848(0x40b)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x271),'d':_0x470848(0x2ff),'transform':_0x470848(0x35d)}}]}]}],'defIds':[_0x470848(0x40b)]},_0x32b485=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x1a22e8,_0x5b4530){const _0x52de87=_0x470848;return(0x0,_0x477dc2['createElement'])(_0xf61d2c,Object[_0x52de87(0x480)]({},_0x1a22e8,{'id':_0x52de87(0x2c0),'ref':_0x5b4530,'icon':_0x25d82a}));});_0x32b485[_0x470848(0x25a)]=_0x470848(0x177);let _0x57fe21={'tag':_0x470848(0x3df),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x470848(0x36d),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':'currentColor','d':_0x470848(0x26c),'fillRule':_0x470848(0x268),'clipRule':_0x470848(0x268)}}]},_0x4f71da=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0xfb2399,_0xd58bc2){const _0x2727eb=_0x470848;return(0x0,_0x477dc2[_0x2727eb(0x218)])(_0xf61d2c,Object[_0x2727eb(0x480)]({},_0xfb2399,{'id':_0x2727eb(0x1cd),'ref':_0xd58bc2,'icon':_0x57fe21}));});_0x4f71da[_0x470848(0x25a)]=_0x470848(0x473);let _0x590a66={'tag':_0x470848(0x3df),'attrs':{'xmlns':_0x470848(0x1fa),'fill':'none','viewBox':_0x470848(0x3a3),'width':_0x470848(0x18d),'height':_0x470848(0x18d)},'children':[{'tag':_0x470848(0x453),'attrs':{'fill':_0x470848(0x351),'d':_0x470848(0x363),'fillOpacity':0.2,'fillRule':_0x470848(0x268),'clipRule':'evenodd'}},{'tag':_0x470848(0x453),'attrs':{'fill':'#0B9EFB','d':'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','fillRule':'evenodd','clipRule':_0x470848(0x268)}}]},_0x1858c5=(0x0,_0x477dc2[_0x470848(0x2fa)])(function(_0x5949cf,_0x1a3b88){const _0x13fce0=_0x470848;return(0x0,_0x477dc2[_0x13fce0(0x218)])(_0xf61d2c,Object[_0x13fce0(0x480)]({},_0x5949cf,{'id':_0x13fce0(0x1ac),'ref':_0x1a3b88,'icon':_0x590a66}));});_0x1858c5[_0x470848(0x25a)]=_0x470848(0x450);function _0x4921e(_0x3bb6e2){const _0x3cf141=_0x470848;switch(_0x3bb6e2){case _0x289c2c[_0x3cf141(0x49f)]['OFFLINE']:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x4525e8,{}),'colorClass':_0x3cf141(0x3e6),'i18nKey':_0x3cf141(0x2bb),'tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':_0x3cf141(0x1f7)};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x266)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x4525e8,{}),'colorClass':'univer-text-orange-500','i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':'static'};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x1b6)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x1858c5,{}),'colorClass':_0x3cf141(0x3d0),'i18nKey':_0x3cf141(0x2da),'clickable':!0x1,'indicator':'spin'};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x4d1)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x32b485,{}),'colorClass':_0x3cf141(0x2e6),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x3cf141(0x1f7)};case _0x289c2c[_0x3cf141(0x49f)]['AWAITING']:case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x270)]:return{'icon':(0x0,_0x2d4a70['jsx'])(_0x1858c5,{}),'colorClass':_0x3cf141(0x3d0),'i18nKey':_0x3cf141(0x23e),'clickable':!0x1,'indicator':_0x3cf141(0x24a)};case _0x289c2c[_0x3cf141(0x49f)][_0x3cf141(0x3eb)]:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x1858c5,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x3cf141(0x23e),'clickable':!0x1,'indicator':_0x3cf141(0x24a)};case _0x289c2c[_0x3cf141(0x49f)]['SYNCED']:return{'icon':(0x0,_0x2d4a70[_0x3cf141(0x4bd)])(_0x32b485,{}),'colorClass':_0x3cf141(0x22d),'i18nKey':_0x3cf141(0x19d),'clickable':!0x1,'indicator':_0x3cf141(0x1f7)};}}function _0x2f381a(_0x3a8948){const _0x59ee8a=_0x470848;let {status$:_0x40bfde}=_0x3a8948,_0x2e546e=(0x0,_0x4dab43[_0x59ee8a(0x238)])(_0x40bfde,_0x289c2c['CollaborationStatus']['NOT_COLLAB']),_0xab1b58=(0x0,_0x4dab43['useDependency'])(_0x3378d6[_0x59ee8a(0x23b)]),_0x2d7d3b=(0x0,_0x4dab43[_0x59ee8a(0x2a3)])(_0x289c2c['CollaborationSessionService']),_0x585cab=(0x0,_0x477dc2[_0x59ee8a(0x46a)])(()=>_0x4921e(_0x2e546e),[_0x2e546e]),_0x4a9174=_0x2e546e!==_0x289c2c[_0x59ee8a(0x49f)][_0x59ee8a(0x3d1)],_0x38faf6=_0xab1b58['t'](_0x585cab[_0x59ee8a(0x1a0)]),_0x5d1b40=_0x585cab['tooltipKey']?_0xab1b58['t'](_0x585cab[_0x59ee8a(0x2b6)]):_0x38faf6,_0x38ee35=(0x0,_0x477dc2['useCallback'])(()=>{const _0x3ddec2=_0x59ee8a;_0x4a9174||_0x2d7d3b[_0x3ddec2(0x302)]();},[_0x4a9174,_0x2d7d3b]),_0x5bf4c5=(0x0,_0x477dc2['useCallback'])(_0x4b476b=>{const _0x5b3d81=_0x59ee8a;!_0x4a9174&&(_0x4b476b['key']===_0x5b3d81(0x371)||_0x4b476b[_0x5b3d81(0x354)]==='\x20')&&(_0x4b476b[_0x5b3d81(0x23f)](),_0x2d7d3b[_0x5b3d81(0x302)]());},[_0x4a9174,_0x2d7d3b]),_0x352691=(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x261),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])(_0x59ee8a(0x3ed),_0x59ee8a(0x19c),_0x585cab[_0x59ee8a(0x3d7)],{'univer-animate-spin':_0x585cab[_0x59ee8a(0x2d0)]===_0x59ee8a(0x24a),'univer-animate-pulse':_0x585cab[_0x59ee8a(0x2d0)]===_0x59ee8a(0x35f)}),'aria-hidden':_0x59ee8a(0x349),'children':_0x585cab['icon']}),_0x3eff91=(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x261),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-h-8\x20univer-w-8\x20univer-rounded-lg',_0x59ee8a(0x21e),_0x59ee8a(0x37b),_0x59ee8a(0x27e),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x585cab[_0x59ee8a(0x4cb)],'univer-cursor-default':!_0x585cab['clickable']}),'children':_0x352691});return _0x585cab['clickable']?(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x472933[_0x59ee8a(0x1e5)],{'title':_0x5d1b40,'placement':_0x59ee8a(0x192),'children':(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x35a),{'type':_0x59ee8a(0x35a),'onClick':_0x38ee35,'onKeyDown':_0x5bf4c5,'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])(_0x59ee8a(0x4ba),_0x59ee8a(0x1a7),'univer-m-0\x20univer-p-0',_0x59ee8a(0x3a0)),'aria-label':_0x38faf6+_0x59ee8a(0x38a)+_0x5d1b40,'role':'status','aria-live':_0x59ee8a(0x3d6),'aria-atomic':_0x59ee8a(0x349),'children':_0x3eff91})}):(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x472933[_0x59ee8a(0x1e5)],{'title':_0x5d1b40,'placement':_0x59ee8a(0x192),'children':(0x0,_0x2d4a70[_0x59ee8a(0x4bd)])(_0x59ee8a(0x332),{'className':(0x0,_0x472933[_0x59ee8a(0x2d5)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x59ee8a(0x1a7),_0x59ee8a(0x476)),'aria-label':_0x38faf6,'role':_0x59ee8a(0x44a),'aria-live':'polite','aria-atomic':_0x59ee8a(0x349),'children':_0x3eff91})});}function _0x5a2bff(_0x2d9c55){'@babel/helpers - typeof';const _0x418192=_0x470848;return _0x5a2bff=typeof Symbol==_0x418192(0x489)&&typeof Symbol[_0x418192(0x3fa)]==_0x418192(0x282)?function(_0x5d07d7){return typeof _0x5d07d7;}:function(_0x4dc908){const _0x6ee37a=_0x418192;return _0x4dc908&&typeof Symbol=='function'&&_0x4dc908[_0x6ee37a(0x350)]===Symbol&&_0x4dc908!==Symbol['prototype']?'symbol':typeof _0x4dc908;},_0x5a2bff(_0x2d9c55);}function _0x303d16(_0x340c40,_0x1dbc09){const _0xf5776=_0x470848;if(_0x5a2bff(_0x340c40)!='object'||!_0x340c40)return _0x340c40;var _0x4f4506=_0x340c40[Symbol[_0xf5776(0x269)]];if(_0x4f4506!==void 0x0){var _0xc4ca00=_0x4f4506[_0xf5776(0x442)](_0x340c40,_0x1dbc09||_0xf5776(0x182));if(_0x5a2bff(_0xc4ca00)!=_0xf5776(0x416))return _0xc4ca00;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x1dbc09===_0xf5776(0x245)?String:Number)(_0x340c40);}function _0x37b905(_0x540654){const _0xa1a9de=_0x470848;var _0x5e2985=_0x303d16(_0x540654,_0xa1a9de(0x245));return _0x5a2bff(_0x5e2985)=='symbol'?_0x5e2985:_0x5e2985+'';}function _0x317deb(_0x4aed0b,_0xeb393a,_0x1e93d2){const _0x299344=_0x470848;return(_0xeb393a=_0x37b905(_0xeb393a))in _0x4aed0b?Object[_0x299344(0x3f4)](_0x4aed0b,_0xeb393a,{'value':_0x1e93d2,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4aed0b[_0xeb393a]=_0x1e93d2,_0x4aed0b;}function _0x4f2c8d(_0x54f3a5,_0x401663){return function(_0x1f0268,_0xd184b9){_0x401663(_0x1f0268,_0xd184b9,_0x54f3a5);};}function _0x265259(_0x158366,_0xd41668,_0xa7e177,_0x3517db){const _0x415c3c=_0x470848;var _0x22ed9a=arguments[_0x415c3c(0x254)],_0x595586=_0x22ed9a<0x3?_0xd41668:_0x3517db===null?_0x3517db=Object[_0x415c3c(0x17a)](_0xd41668,_0xa7e177):_0x3517db,_0x3f91c9;if(typeof Reflect==_0x415c3c(0x416)&&typeof Reflect[_0x415c3c(0x47b)]=='function')_0x595586=Reflect[_0x415c3c(0x47b)](_0x158366,_0xd41668,_0xa7e177,_0x3517db);else{for(var _0x16be54=_0x158366[_0x415c3c(0x254)]-0x1;_0x16be54>=0x0;_0x16be54--)(_0x3f91c9=_0x158366[_0x16be54])&&(_0x595586=(_0x22ed9a<0x3?_0x3f91c9(_0x595586):_0x22ed9a>0x3?_0x3f91c9(_0xd41668,_0xa7e177,_0x595586):_0x3f91c9(_0xd41668,_0xa7e177))||_0x595586);}return _0x22ed9a>0x3&&_0x595586&&Object[_0x415c3c(0x3f4)](_0xd41668,_0xa7e177,_0x595586),_0x595586;}let _0x35e9ef=class extends _0x3378d6['Disposable']{constructor(_0xa1d21b,_0x465238,_0x426117,_0x5d12af){const _0x240ebb=_0x470848;super(),this[_0x240ebb(0x48a)]=_0xa1d21b,this['_injector']=_0x465238,this[_0x240ebb(0x2d1)]=_0x426117,this['_uiPartsService']=_0x5d12af,_0x317deb(this,'_status$',new _0x5515fe[(_0x240ebb(0x4b4))](_0x289c2c[_0x240ebb(0x49f)][_0x240ebb(0x4d1)])),this[_0x240ebb(0x174)](),this[_0x240ebb(0x348)]();}[_0x470848(0x348)](){const _0x566eb7=_0x470848;this[_0x566eb7(0x3a7)]((0x0,_0x5515fe[_0x566eb7(0x443)])(this[_0x566eb7(0x48a)][_0x566eb7(0x329)],this[_0x566eb7(0x48a)][_0x566eb7(0x2bf)](_0x3378d6[_0x566eb7(0x2b5)]['UNIVER_DOC']),this[_0x566eb7(0x48a)]['getCurrentTypeOfUnit$'](_0x3378d6[_0x566eb7(0x2b5)]['UNIVER_SHEET']))['pipe']((0x0,_0x18241c['map'])(()=>_0x25bce7(this[_0x566eb7(0x48a)])),(0x0,_0x18241c[_0x566eb7(0x1b1)])(),(0x0,_0x5515fe[_0x566eb7(0x187)])(_0x3cf225=>_0x3cf225?this[_0x566eb7(0x2d1)][_0x566eb7(0x396)](_0x3cf225):(0x0,_0x5515fe['of'])(null)),(0x0,_0x5515fe[_0x566eb7(0x187)])(_0x39ed1f=>_0x39ed1f?_0x39ed1f[_0x566eb7(0x239)]:(0x0,_0x5515fe['of'])(_0x289c2c[_0x566eb7(0x49f)]['NOT_COLLAB'])))[_0x566eb7(0x31e)](_0x426b5a=>{const _0x207d16=_0x566eb7;this['_status$'][_0x207d16(0x29d)](_0x426b5a);}));}[_0x470848(0x174)](){const _0x63f48d=_0x470848;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x4dab43[_0x63f48d(0x2ab)]['HEADER_MENU'],()=>(0x0,_0x4dab43[_0x63f48d(0x427)])(_0x5be910({'status$':this[_0x63f48d(0x281)]['asObservable']()}),this[_0x63f48d(0x240)])));}};_0x35e9ef=_0x265259([_0x4f2c8d(0x0,_0x3378d6['IUniverInstanceService']),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x3,_0x4dab43['IUIPartsService'])],_0x35e9ef);let _0x4ab697=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x3e9a7d,_0x3dd847,_0xf4da9d,_0x53c9a6){const _0x20addf=_0x470848;super(),this['_univerInstanceService']=_0x3e9a7d,this['_injector']=_0x3dd847,this[_0x20addf(0x2d1)]=_0xf4da9d,this[_0x20addf(0x1bc)]=_0x53c9a6,_0x317deb(this,_0x20addf(0x281),new _0x5515fe['BehaviorSubject'](_0x289c2c[_0x20addf(0x49f)]['NOT_COLLAB'])),this['_initStatusComponent'](),this[_0x20addf(0x348)]();}['_initStatusListener'](){const _0x40fda5=_0x470848;this['disposeWithMe']((0x0,_0x5515fe[_0x40fda5(0x443)])((0x0,_0x5515fe['of'])(null),this[_0x40fda5(0x48a)][_0x40fda5(0x2bf)](_0x3378d6['UniverInstanceType'][_0x40fda5(0x346)]))[_0x40fda5(0x376)]((0x0,_0x18241c[_0x40fda5(0x40f)])(()=>_0x223372(this[_0x40fda5(0x48a)])),(0x0,_0x18241c[_0x40fda5(0x1b1)])(),(0x0,_0x5515fe[_0x40fda5(0x187)])(_0x153491=>_0x153491?this[_0x40fda5(0x2d1)][_0x40fda5(0x396)](_0x153491):(0x0,_0x5515fe['of'])(null)),(0x0,_0x5515fe[_0x40fda5(0x187)])(_0x34593d=>_0x34593d?_0x34593d[_0x40fda5(0x239)]:(0x0,_0x5515fe['of'])(_0x289c2c[_0x40fda5(0x49f)][_0x40fda5(0x4d1)])))[_0x40fda5(0x31e)](_0x2d4b68=>{const _0x28e0ef=_0x40fda5;this[_0x28e0ef(0x281)]['next'](_0x2d4b68);}));}['_initStatusComponent'](){const _0x5423a8=_0x470848;this['disposeWithMe'](this[_0x5423a8(0x1bc)]['registerComponent'](_0x199609[_0x5423a8(0x17b)],()=>(0x0,_0x4dab43[_0x5423a8(0x427)])(_0x5be910({'status$':this['_status$'][_0x5423a8(0x38e)]()}),this[_0x5423a8(0x240)])));}};_0x4ab697=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x3,_0x4dab43['IUIPartsService'])],_0x4ab697);function _0x25bce7(_0x42cc61){const _0x238310=_0x470848;let _0x58a0e0=_0x42cc61['getFocusedUnit'](),_0x218db1=_0x58a0e0==null?void 0x0:_0x58a0e0['getUnitId']();if(_0x218db1&&!(0x0,_0x3378d6[_0x238310(0x46b)])(_0x218db1))return _0x218db1;let _0x2b5f17=_0x42cc61[_0x238310(0x3a9)](_0x3378d6[_0x238310(0x2b5)]['UNIVER_DOC']),_0x32843d=_0x2b5f17==null?void 0x0:_0x2b5f17[_0x238310(0x2fe)]();if(_0x32843d&&!(0x0,_0x3378d6['isInternalEditorID'])(_0x32843d))return _0x32843d;let _0x4a0877=_0x42cc61[_0x238310(0x3a9)](_0x3378d6['UniverInstanceType'][_0x238310(0x1ab)]);if(_0x4a0877)return _0x4a0877[_0x238310(0x2fe)]();let _0xa66070=_0x42cc61[_0x238310(0x422)](_0x3378d6[_0x238310(0x2b5)][_0x238310(0x43f)])[_0x238310(0x403)](_0x2acdd5=>!(0x0,_0x3378d6['isInternalEditorID'])(_0x2acdd5[_0x238310(0x2fe)]()));return _0xa66070?_0xa66070[_0x238310(0x2fe)]():null;}function _0x223372(_0x1b2df0){const _0x201d18=_0x470848;var _0x337dfd;let _0x3e8625=_0x1b2df0[_0x201d18(0x3a9)](_0x3378d6['UniverInstanceType'][_0x201d18(0x346)]);return(_0x337dfd=_0x3e8625==null?void 0x0:_0x3e8625[_0x201d18(0x2fe)]())==null?null:_0x337dfd;}function _0x5be910(_0x48aaf5){let {status$:_0x3fe12d}=_0x48aaf5;return function(){return(0x0,_0x2d4a70['jsx'])(_0x2f381a,{'status$':_0x3fe12d});};}var _0xe45e57=_0x470848(0x35b),_0x3e2282='1.0.0-alpha.7';let _0x2ca37d={},_0x563a43=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x3f7dc3,_0x2ab5a9){const _0x3c66af=_0x470848;super(),this[_0x3c66af(0x423)]=_0x3f7dc3,this[_0x3c66af(0x38f)]=_0x2ab5a9,this[_0x3c66af(0x1a4)]();}[_0x470848(0x1a4)](){const _0x4b2b7=_0x470848;let _0x17d0f3=this;this[_0x4b2b7(0x3a7)](this['_docClipboardService'][_0x4b2b7(0x31a)]({'onBeforePasteImage':async _0x1c40f2=>{const _0x427f6c=_0x4b2b7;let _0x511f08=await _0x17d0f3[_0x427f6c(0x38f)][_0x427f6c(0x1ff)](_0x1c40f2);return _0x511f08?{'source':_0x511f08[_0x427f6c(0x375)],'imageSourceType':_0x511f08[_0x427f6c(0x215)]}:null;}}));}};_0x563a43=_0x265259([_0x4f2c8d(0x0,_0xe8b960[_0x470848(0x228)]),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3ab)])],_0x563a43);function _0x12ec35(_0x414554,_0xe5d936){const _0x9c796c=_0x470848;_0x414554[_0x9c796c(0x38c)](),_0x414554[_0x9c796c(0x1d1)]=_0x9c796c(0x1c7);let _0x4e668f=_0x414554[_0x9c796c(0x3fd)](_0xe5d936)[_0x9c796c(0x2a6)];return _0x414554[_0x9c796c(0x417)](),Math['min'](_0x4e668f+0x8,0xc8);}function _0x106c06(_0x556879,_0x3cd4d9){const _0x1095c0=_0x470848;var _0x58c252,_0xc4d71c,_0x22630a;let {radius:_0x14d3c7,width:_0xd52e4a,height:_0x4f4bde}=_0x3cd4d9;_0x14d3c7=(_0x58c252=_0x14d3c7)==null?0x0:_0x58c252,_0xd52e4a=(_0xc4d71c=_0xd52e4a)==null?0x1e:_0xc4d71c,_0x4f4bde=(_0x22630a=_0x4f4bde)==null?0x1e:_0x22630a;let _0xf53860=0x0,_0x5e2dbb=0x0,_0xfeb3c5=0x0;_0xf53860=_0x5e2dbb=_0xfeb3c5=Math['min'](_0x14d3c7,_0xd52e4a/0x2,_0x4f4bde/0x2),_0x556879['beginPath'](),_0x556879['moveTo'](_0xf53860,0x0),_0x556879[_0x1095c0(0x3ec)](_0xd52e4a-_0x5e2dbb,0x0),_0x556879['arc'](_0xd52e4a-_0x5e2dbb,_0x5e2dbb,_0x5e2dbb,Math['PI']*0x3/0x2,0x0,!0x1),_0x556879['lineTo'](_0xd52e4a,_0x4f4bde-_0xfeb3c5),_0x556879[_0x1095c0(0x2cb)](_0xd52e4a-_0xfeb3c5,_0x4f4bde-_0xfeb3c5,_0xfeb3c5,0x0,Math['PI']/0x2,!0x1),_0x556879['lineTo'](0x0,_0x4f4bde),_0x556879[_0x1095c0(0x3ec)](0x0,_0xf53860),_0x556879[_0x1095c0(0x2cb)](_0xf53860,_0xf53860,_0xf53860,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x556879[_0x1095c0(0x45d)](),_0x3cd4d9[_0x1095c0(0x478)]&&(_0x556879['save'](),_0x556879[_0x1095c0(0x301)]=_0x3cd4d9[_0x1095c0(0x478)],_0x3cd4d9['fillRule']===_0x1095c0(0x268)?_0x556879[_0x1095c0(0x478)](_0x1095c0(0x268)):_0x556879[_0x1095c0(0x478)](),_0x556879['restore']());}var _0x576e12=class _0xfe95c1 extends _0x21620d[_0x470848(0x404)]{constructor(_0x5c23ab,_0x53ce57){const _0xb08ce7=_0x470848;super(_0x5c23ab,_0x53ce57),_0x317deb(this,_0xb08ce7(0x1e6),void 0x0),_0x317deb(this,'text',void 0x0),this[_0xb08ce7(0x1e6)]=_0x53ce57==null?void 0x0:_0x53ce57[_0xb08ce7(0x1e6)],this[_0xb08ce7(0x231)]=_0x53ce57==null?void 0x0:_0x53ce57[_0xb08ce7(0x231)];}static[_0x470848(0x3f8)](_0x14b20d,_0x10d0f3){const _0x49173a=_0x470848;let {text:_0x25e1d9,color:_0xc180ec}=_0x10d0f3;_0x14b20d[_0x49173a(0x38c)](),_0x14b20d[_0x49173a(0x1d1)]=_0x49173a(0x3ce);let _0x3f1406=_0x14b20d[_0x49173a(0x3fd)](_0x25e1d9)[_0x49173a(0x2a6)];if(_0x106c06(_0x14b20d,{'height':0x14,'radius':0x4,'width':_0x12ec35(_0x14b20d,_0x25e1d9),'fill':_0xc180ec,'evented':!0x1}),_0x14b20d[_0x49173a(0x301)]='#FFF',_0x3f1406>0xc0){let _0x96adce='',_0x1c9bcf=0x0;for(let _0x634c90 of _0x25e1d9){let _0x4fa8d9=_0x14b20d[_0x49173a(0x3fd)](_0x634c90)[_0x49173a(0x2a6)];if(_0x1c9bcf+_0x4fa8d9<=0xc0-_0x14b20d[_0x49173a(0x3fd)](_0x49173a(0x425))[_0x49173a(0x2a6)])_0x96adce+=_0x634c90,_0x1c9bcf+=_0x4fa8d9;else{_0x96adce+=_0x49173a(0x425);break;}}_0x14b20d[_0x49173a(0x300)](_0x96adce,0x4,0xf);}else _0x14b20d[_0x49173a(0x300)](_0x25e1d9,0x4,0xf);_0x14b20d['restore']();}[_0x470848(0x3e4)](_0x5f56cc){const _0x152ad6=_0x470848;_0xfe95c1[_0x152ad6(0x3f8)](_0x5f56cc,this);}};let _0x344036=0x138a;var _0xac951d=class extends _0x21620d[_0x470848(0x404)]{constructor(_0x1ced72,_0x485dd5){const _0x1accc8=_0x470848;super(_0x1ced72,{..._0x485dd5,'evented':!0x1}),_0x317deb(this,_0x1accc8(0x1cf),_0x1accc8(0x250)),_0x317deb(this,_0x1accc8(0x273),''),_0x317deb(this,_0x1accc8(0x20a),!0x0),_0x485dd5&&this[_0x1accc8(0x467)](_0x485dd5);}[_0x470848(0x467)](_0xb3d36c){const _0x5a736e=_0x470848;var _0x2cbf90,_0x4dd8b0,_0x25d602,_0x469988,_0x56a28e,_0x8eeb0d,_0x13ea0a,_0x30102b;this[_0x5a736e(0x1cf)]=(_0x2cbf90=_0xb3d36c[_0x5a736e(0x1e6)])==null?this[_0x5a736e(0x1cf)]:_0x2cbf90,this[_0x5a736e(0x273)]=(_0x4dd8b0=_0xb3d36c[_0x5a736e(0x4a9)])==null?this['_name']:_0x4dd8b0,this['_showText']=(_0x25d602=_0xb3d36c[_0x5a736e(0x3f6)])==null?this[_0x5a736e(0x20a)]:_0x25d602,this[_0x5a736e(0x28c)]=!0x1,this[_0x5a736e(0x402)]({'left':(_0x469988=_0xb3d36c[_0x5a736e(0x3c2)])==null?this[_0x5a736e(0x3c2)]:_0x469988,'top':(_0x56a28e=_0xb3d36c[_0x5a736e(0x2f7)])==null?this[_0x5a736e(0x2f7)]:_0x56a28e,'width':(_0x8eeb0d=_0xb3d36c['width'])==null?this[_0x5a736e(0x2a6)]:_0x8eeb0d,'height':(_0x13ea0a=_0xb3d36c[_0x5a736e(0x279)])==null?this[_0x5a736e(0x279)]:_0x13ea0a,'angle':(_0x30102b=_0xb3d36c[_0x5a736e(0x33a)])==null?this[_0x5a736e(0x33a)]:_0x30102b});}['_draw'](_0xcad7e){const _0x18fafd=_0x470848;_0xcad7e[_0x18fafd(0x38c)](),_0xcad7e[_0x18fafd(0x25e)]=this[_0x18fafd(0x1cf)],_0xcad7e[_0x18fafd(0x22c)]=this[_0x18fafd(0x408)]||1.5,_0xcad7e[_0x18fafd(0x28d)]([0x6,0x4]),_0xcad7e[_0x18fafd(0x27d)](0x0,0x0,this[_0x18fafd(0x2a6)],this[_0x18fafd(0x279)]),_0xcad7e[_0x18fafd(0x417)](),this[_0x18fafd(0x20a)]&&(_0xcad7e[_0x18fafd(0x38c)](),_0xcad7e[_0x18fafd(0x485)](0x1,0x0,0x0,0x1,this[_0x18fafd(0x2a6)],-0x14),_0x576e12[_0x18fafd(0x3f8)](_0xcad7e,{'text':this[_0x18fafd(0x273)],'color':this[_0x18fafd(0x1cf)]}),_0xcad7e[_0x18fafd(0x417)]());}};let _0x4489e7=[_0x470848(0x337),'jiqing.500',_0x470848(0x1ae),_0x470848(0x2ad),_0x470848(0x201),_0x470848(0x37a)];var _0x5a49d8=class extends _0x3378d6[_0x470848(0x380)]{constructor(..._0x5db8d7){const _0x567cd8=_0x470848;super(..._0x5db8d7),_0x317deb(this,'_assignedColors',new Map()),_0x317deb(this,_0x567cd8(0x171),0x0);}[_0x470848(0x360)](_0x157e48){const _0xe9b581=_0x470848;if(this[_0xe9b581(0x1da)][_0xe9b581(0x1c9)](_0x157e48))return this[_0xe9b581(0x1da)][_0xe9b581(0x226)](_0x157e48);let _0x361595=_0x4489e7[this[_0xe9b581(0x171)]];return this[_0xe9b581(0x171)]=(this[_0xe9b581(0x171)]+0x1)%_0x4489e7[_0xe9b581(0x254)],this[_0xe9b581(0x1da)][_0xe9b581(0x406)](_0x157e48,_0x361595),_0x361595;}};function _0x1d8f8e(_0x3086c3){const _0x587b85=_0x470848;let _0x423d70;try{_0x423d70=JSON[_0x587b85(0x1ea)](_0x3086c3);}catch{return null;}if(typeof _0x423d70!=_0x587b85(0x416)||!_0x423d70)return null;let _0x3e96d3=_0x423d70;if(_0x3e96d3[_0x587b85(0x470)]!==_0x587b85(0x2a7)||typeof _0x3e96d3[_0x587b85(0x1fb)]!=_0x587b85(0x245)||typeof _0x3e96d3[_0x587b85(0x3cb)]!=_0x587b85(0x245))return null;let _0x354eac=Array[_0x587b85(0x26e)](_0x3e96d3[_0x587b85(0x1ce)])?_0x3e96d3['selectedIds'][_0x587b85(0x25d)](_0xd52dfc=>typeof _0xd52dfc==_0x587b85(0x245)):[],_0x5bddc5=typeof _0x3e96d3['focusedId']==_0x587b85(0x245)?_0x3e96d3[_0x587b85(0x49a)]:null;return{'kind':'board-element-selection','unitId':_0x3e96d3[_0x587b85(0x1fb)],'subUnitId':_0x3e96d3[_0x587b85(0x3cb)],'selectedIds':_0x354eac,'focusedId':_0x5bddc5};}let _0x308f67=class extends _0x3378d6['RxDisposable']{get[_0x470848(0x33d)](){const _0x42b637=_0x470848;return this[_0x42b637(0x1af)][_0x42b637(0x434)]();}get['roomMembers'](){const _0x2f1d6f=_0x470848;return this[_0x2f1d6f(0x1e2)][_0x2f1d6f(0x434)]();}constructor(_0x42cad0,_0x529a93,_0x4cc6de,_0x184b6f,_0xa96047){const _0x3cdbce=_0x470848;super(),this[_0x3cdbce(0x44c)]=_0x42cad0,this[_0x3cdbce(0x248)]=_0x529a93,this[_0x3cdbce(0x2c7)]=_0x4cc6de,this[_0x3cdbce(0x34e)]=_0x184b6f,this[_0x3cdbce(0x1c0)]=_0xa96047,_0x317deb(this,_0x3cdbce(0x358),!0x1),_0x317deb(this,_0x3cdbce(0x1a4),!0x1),_0x317deb(this,_0x3cdbce(0x1af),new _0x5515fe[(_0x3cdbce(0x4b4))](new Map())),_0x317deb(this,'cursorInfo$',this[_0x3cdbce(0x1af)][_0x3cdbce(0x38e)]()),_0x317deb(this,_0x3cdbce(0x1e2),new _0x5515fe['BehaviorSubject']([])),_0x317deb(this,'roomMembers$',this[_0x3cdbce(0x1e2)][_0x3cdbce(0x376)]((0x0,_0x5515fe[_0x3cdbce(0x22a)])(0x12c))),_0x317deb(this,_0x3cdbce(0x451),(0x0,_0x3378d6[_0x3cdbce(0x1fd)])(_0x2fa19c=>{const _0x138a35=_0x3cdbce;let _0x595ffd=_0x2fa19c[_0x138a35(0x39b)];if(!_0x595ffd||_0x595ffd[_0x138a35(0x1fb)]!==this[_0x138a35(0x44c)])return;let _0x31a8cf={'kind':_0x138a35(0x2a7),'unitId':_0x595ffd[_0x138a35(0x1fb)],'subUnitId':_0x595ffd['subUnitId'],'selectedIds':_0x2fa19c[_0x138a35(0x1ce)][_0x138a35(0x25d)](_0x4e0fda=>typeof _0x4e0fda==_0x138a35(0x245)),'focusedId':_0x2fa19c[_0x138a35(0x49a)]},_0x3e6b17={'eventID':_0x518a46[_0x138a35(0x45c)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x138a35(0x44c)],'memberID':this['_session'][_0x138a35(0x4a5)](),'selection':JSON[_0x138a35(0x3aa)](_0x31a8cf)}};this[_0x138a35(0x248)]['send'](_0x3e6b17,this['unitID']);},0x64));}[_0x470848(0x39c)](){const _0x26364f=_0x470848;super['dispose'](),this[_0x26364f(0x1af)][_0x26364f(0x29d)](new Map()),this[_0x26364f(0x1af)][_0x26364f(0x28f)](),this['_roomMembers$'][_0x26364f(0x29d)]([]),this['_roomMembers$'][_0x26364f(0x28f)]();}['init'](){const _0x365d2d=_0x470848;this['_init']||(this[_0x365d2d(0x1a4)]=!0x0,this[_0x365d2d(0x248)]['sessionStatus$']['pipe']((0x0,_0x5515fe[_0x365d2d(0x3e2)])(this[_0x365d2d(0x173)]))['subscribe'](_0x37e4e3=>{const _0x1f489c=_0x365d2d;_0x37e4e3===_0x289c2c[_0x1f489c(0x3c7)][_0x1f489c(0x1b5)]?this['_toggleOnline']():this[_0x1f489c(0x30d)]();}),this[_0x365d2d(0x248)]['event$'][_0x365d2d(0x376)]((0x0,_0x5515fe[_0x365d2d(0x3e2)])(this[_0x365d2d(0x173)]))[_0x365d2d(0x31e)](_0x45e986=>{const _0xdae324=_0x365d2d;let _0x504332=_0x45e986[_0xdae324(0x32d)];_0x504332===_0x518a46[_0xdae324(0x45c)][_0xdae324(0x1c6)]&&this[_0xdae324(0x1bf)](_0x45e986),_0x504332===_0x518a46['CollaborationEvent'][_0xdae324(0x4a0)]&&this[_0xdae324(0x4c7)](_0x45e986);}),this[_0x365d2d(0x1c0)]['state$'][_0x365d2d(0x376)]((0x0,_0x5515fe['takeUntil'])(this[_0x365d2d(0x173)]))[_0x365d2d(0x31e)](_0x210b0d=>{const _0xc4ba89=_0x365d2d;this[_0xc4ba89(0x358)]&&this[_0xc4ba89(0x451)](_0x210b0d);}));}[_0x470848(0x1bf)](_0x5cd1d3){const _0x254f8c=_0x470848;var _0x7ff250,_0x3ee0c7,_0x15898b,_0x2f4f4a;let {memberID:_0x1c57be,selection:_0x3abd96}=_0x5cd1d3['data'];if(_0x1c57be===((_0x7ff250=(_0x3ee0c7=this[_0x254f8c(0x248)])[_0x254f8c(0x4a5)])==null?void 0x0:_0x7ff250[_0x254f8c(0x442)](_0x3ee0c7)))return;let _0x45c562=_0x1d8f8e(_0x3abd96);if(!_0x45c562||_0x45c562['unitId']!==this['unitID'])return;let _0x47947a=(_0x15898b=(_0x2f4f4a=this[_0x254f8c(0x34e)][_0x254f8c(0x283)](this[_0x254f8c(0x44c)],_0x1c57be))==null?void 0x0:_0x2f4f4a[_0x254f8c(0x4a9)])==null?_0x254f8c(0x2b2):_0x15898b,_0xf4a827={'color':this[_0x254f8c(0x2c7)][_0x254f8c(0x360)](_0x1c57be),'name':_0x47947a,'unitId':_0x45c562[_0x254f8c(0x1fb)],'subUnitId':_0x45c562[_0x254f8c(0x3cb)],'selectedIds':_0x45c562[_0x254f8c(0x1ce)],'focusedId':_0x45c562[_0x254f8c(0x49a)],'selection':_0x3abd96},_0x3f5a8e=new Map(this[_0x254f8c(0x33d)]);_0x3f5a8e[_0x254f8c(0x406)](_0x1c57be,_0xf4a827),this[_0x254f8c(0x1af)][_0x254f8c(0x29d)](_0x3f5a8e);}['_onCursorDelete'](_0x8c68ff){const _0x29b3b4=_0x470848;let {memberID:_0x538c27}=_0x8c68ff['data'],_0x37ac9e=new Map(this[_0x29b3b4(0x33d)]);_0x37ac9e[_0x29b3b4(0x460)](_0x538c27),this[_0x29b3b4(0x1af)][_0x29b3b4(0x29d)](_0x37ac9e);}[_0x470848(0x2f4)](){const _0x583737=_0x470848;this[_0x583737(0x358)]=!0x0,this[_0x583737(0x451)](this['_boardElementStateService'][_0x583737(0x3be)]());}[_0x470848(0x30d)](){const _0x5538f7=_0x470848;this[_0x5538f7(0x358)]=!0x1;}};_0x308f67=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c['MemberService'])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x199609['IBoardElementStateService']))],_0x308f67);function _0xdfe849(_0x58a28e){const _0x46bf75=_0x470848;let _0x14e18f='';for(let _0x17d370 of _0x58a28e){let {startOffset:_0x362773,endOffset:_0x39a9dd,isActive:_0x295dfe,rangeType:_0x32e5ce,segmentId:_0xc4a858,segmentPage:_0x578eb0}=_0x17d370;_0x14e18f[_0x46bf75(0x254)]&&(_0x14e18f+=','),_0x14e18f+=_0x362773+':'+_0x39a9dd+':'+(_0x295dfe?'1':'0')+':'+_0x32e5ce+':'+_0xc4a858+':'+_0x578eb0;}return _0x14e18f;}function _0x10278c(_0x14a7e2){const _0x5d5450=_0x470848;let _0x42eb4d=_0x14a7e2[_0x5d5450(0x2cd)](','),_0x4c6386=[];for(let _0x1bcc02 of _0x42eb4d){let [_0x52a814,_0x559e1d,_0x3ab06f,_0x590968,_0xb2226e,_0x19e66c]=_0x1bcc02[_0x5d5450(0x2cd)](':');_0x4c6386['push']({'startOffset':Number(_0x52a814),'endOffset':Number(_0x559e1d),'collapsed':_0x52a814===_0x559e1d,'isActive':_0x3ab06f==='1','rangeType':_0x590968===_0x3378d6[_0x5d5450(0x1e8)][_0x5d5450(0x33c)]?_0x3378d6[_0x5d5450(0x1e8)][_0x5d5450(0x33c)]:_0x3378d6['DOC_RANGE_TYPE'][_0x5d5450(0x3da)],'segmentId':typeof _0xb2226e==_0x5d5450(0x245)?String(_0xb2226e):'','segmentPage':Number(_0x19e66c==null?-0x1:_0x19e66c)});}return _0x4c6386[_0x5d5450(0x3b2)](_0x4f7961=>_0x4f7961[_0x5d5450(0x2c6)])||(_0x4c6386[0x0]['isActive']=!0x0),_0x4c6386;}var _0x3ebe55=class extends _0x3378d6['RxDisposable']{constructor(..._0x4d279c){const _0x1ce2af=_0x470848;super(..._0x4d279c),_0x317deb(this,_0x1ce2af(0x382),new _0x5515fe[(_0x1ce2af(0x4b4))](null)),_0x317deb(this,_0x1ce2af(0x47c),this[_0x1ce2af(0x382)][_0x1ce2af(0x38e)]());}[_0x470848(0x1b4)](_0x4c4cb4){const _0x152384=_0x470848;let {unitID:_0x4aff94,memberID:_0x34a78a,textRanges:_0x44a0be}=_0x4c4cb4,_0x1cb121=_0xdfe849(_0x44a0be);if(_0x1cb121==='')return;let _0x400e1b={'unitID':_0x4aff94,'memberID':_0x34a78a,'selection':_0x1cb121};this[_0x152384(0x382)][_0x152384(0x29d)](_0x400e1b);}};let _0x1be286=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x58e88a=_0x470848;return this[_0x58e88a(0x1af)][_0x58e88a(0x434)]();}get[_0x470848(0x330)](){const _0x4de0a7=_0x470848;return this[_0x4de0a7(0x1e2)]['getValue']();}constructor(_0x13c779,_0x3c7797,_0x21b51c,_0x1b9390,_0x3a1a32,_0x1cbb9d,_0x145783,_0x3dabd7,_0x40f423){const _0x374a1e=_0x470848;super(),this[_0x374a1e(0x44c)]=_0x13c779,this[_0x374a1e(0x248)]=_0x3c7797,this[_0x374a1e(0x240)]=_0x21b51c,this['_colorAssignService']=_0x1b9390,this[_0x374a1e(0x34e)]=_0x3a1a32,this[_0x374a1e(0x255)]=_0x1cbb9d,this[_0x374a1e(0x475)]=_0x145783,this[_0x374a1e(0x48a)]=_0x3dabd7,this[_0x374a1e(0x3cf)]=_0x40f423,_0x317deb(this,_0x374a1e(0x358),!0x1),_0x317deb(this,'_init',!0x1),_0x317deb(this,_0x374a1e(0x1af),new _0x5515fe[(_0x374a1e(0x4b4))](new Map())),_0x317deb(this,_0x374a1e(0x4ad),this[_0x374a1e(0x1af)][_0x374a1e(0x38e)]()),_0x317deb(this,_0x374a1e(0x1e2),new _0x5515fe[(_0x374a1e(0x4b4))]([])),_0x317deb(this,'roomMembers$',this['_roomMembers$'][_0x374a1e(0x376)]((0x0,_0x5515fe[_0x374a1e(0x22a)])(0x12c))),_0x317deb(this,'_updateLocalCursor',(0x0,_0x3378d6[_0x374a1e(0x1fd)])(_0x144d7c=>{const _0x13176e=_0x374a1e;let _0x509e22={'eventID':_0x518a46[_0x13176e(0x45c)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x13176e(0x248)][_0x13176e(0x4a5)](),'selection':_0xdfe849(_0x144d7c)}};this[_0x13176e(0x248)]['send'](_0x509e22,this[_0x13176e(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0x225009=_0x470848;super[_0x225009(0x39c)](),this['_cursorInfo$'][_0x225009(0x29d)](new Map()),this[_0x225009(0x1af)][_0x225009(0x28f)](),this[_0x225009(0x1e2)][_0x225009(0x29d)]([]),this[_0x225009(0x1e2)][_0x225009(0x28f)]();}[_0x470848(0x21d)](){const _0x2214a6=_0x470848;this[_0x2214a6(0x1a4)]||(this[_0x2214a6(0x1a4)]=!0x0,this[_0x2214a6(0x248)][_0x2214a6(0x472)][_0x2214a6(0x376)]((0x0,_0x5515fe[_0x2214a6(0x3e2)])(this[_0x2214a6(0x173)]))['subscribe'](_0x4f0715=>{const _0xb8c15d=_0x2214a6;_0x4f0715===_0x289c2c[_0xb8c15d(0x3c7)][_0xb8c15d(0x1b5)]?this[_0xb8c15d(0x2f4)]():this[_0xb8c15d(0x30d)]();}),this[_0x2214a6(0x248)][_0x2214a6(0x4c6)][_0x2214a6(0x376)]((0x0,_0x5515fe[_0x2214a6(0x3e2)])(this[_0x2214a6(0x173)]))['subscribe'](_0x34cc0e=>{const _0x2b2415=_0x2214a6;let _0x5b9ef2=_0x34cc0e['eventID'];_0x5b9ef2===_0x518a46['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2b2415(0x1bf)](_0x34cc0e),_0x5b9ef2===_0x518a46[_0x2b2415(0x45c)][_0x2b2415(0x4a0)]&&this[_0x2b2415(0x4c7)](_0x34cc0e);}),this[_0x2214a6(0x3a7)](this[_0x2214a6(0x3cf)][_0x2214a6(0x21f)](_0x5de9f6=>{const _0x5c2a71=_0x2214a6;let _0x122893=_0x5de9f6[_0x5c2a71(0x31c)];_0x122893!=null&&this['_online']&&_0x5de9f6['id']===_0x904e3[_0x5c2a71(0x202)]['id']&&_0x122893[_0x5c2a71(0x1fb)]===this[_0x5c2a71(0x44c)]&&_0x122893[_0x5c2a71(0x4b5)]===!0x1&&_0x122893[_0x5c2a71(0x318)][_0x5c2a71(0x254)]>0x0&&this[_0x5c2a71(0x451)](_0x122893[_0x5c2a71(0x318)]);})),this[_0x2214a6(0x255)][_0x2214a6(0x47c)]['pipe']((0x0,_0x5515fe['takeUntil'])(this['dispose$']))[_0x2214a6(0x31e)](_0x2a73ad=>{const _0x55f7e4=_0x2214a6;if((_0x2a73ad==null?void 0x0:_0x2a73ad[_0x55f7e4(0x44c)])!==this[_0x55f7e4(0x44c)])return;let _0x5d0137={'eventID':_0x518a46[_0x55f7e4(0x45c)][_0x55f7e4(0x1c6)],'data':_0x2a73ad};this[_0x55f7e4(0x1bf)](_0x5d0137);}),this[_0x2214a6(0x3a7)](this[_0x2214a6(0x3cf)][_0x2214a6(0x21f)](_0x2b2ff1=>{const _0x1e883f=_0x2214a6;if(_0x2b2ff1[_0x1e883f(0x31c)]==null)return;let _0x1c4009=_0x2b2ff1['params'];if(_0x2b2ff1['id']!==_0x904e3['RichTextEditingMutation']['id']||_0x1c4009['unitId']!==this['unitID'])return;let _0x3975b2={'id':_0x1e883f(0x3b0),'params':_0x1c4009},_0x1bb996=this['cursorInfo'];for(let [_0x5afdbf,_0x5b6447]of _0x1bb996){let _0x39b52d={'id':_0x1e883f(0x3b0),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5b6447[_0x1e883f(0x318)]}},_0x10a373=this[_0x1e883f(0x475)]['transformMutation'](_0x3975b2,_0x39b52d,!0x1);if((0x0,_0x518a46[_0x1e883f(0x4c0)])(_0x10a373))throw _0x10a373[_0x1e883f(0x194)];_0x1bb996[_0x1e883f(0x406)](_0x5afdbf,{..._0x5b6447,'ranges':_0x10a373[_0x1e883f(0x24f)][_0x1e883f(0x31c)][_0x1e883f(0x1dd)]});}queueMicrotask(()=>{const _0x56a2e6=_0x1e883f;this['_cursorInfo$'][_0x56a2e6(0x29d)](_0x1bb996);});})));}[_0x470848(0x1bf)](_0x2118a9){const _0x58e3d6=_0x470848;var _0x54caf5,_0x69e501;let {memberID:_0x170310,selection:_0x389ac8}=_0x2118a9[_0x58e3d6(0x3f5)],_0x4a06d6=_0x10278c(_0x389ac8),_0x58f88b=(_0x54caf5=(_0x69e501=this[_0x58e3d6(0x34e)][_0x58e3d6(0x283)](this[_0x58e3d6(0x44c)],_0x170310))==null?void 0x0:_0x69e501[_0x58e3d6(0x4a9)])==null?_0x58e3d6(0x2b2):_0x54caf5,_0x384498={'color':this[_0x58e3d6(0x2c7)][_0x58e3d6(0x360)](_0x170310),'name':_0x58f88b,'ranges':_0x4a06d6},_0x1a3a22=this['cursorInfo'];_0x1a3a22[_0x58e3d6(0x406)](_0x170310,_0x384498),this[_0x58e3d6(0x1af)][_0x58e3d6(0x29d)](_0x1a3a22);}[_0x470848(0x4c7)](_0x50f53f){const _0xc52a20=_0x470848;let {memberID:_0x4d093c}=_0x50f53f[_0xc52a20(0x3f5)],_0x3e4823=this[_0xc52a20(0x33d)];_0x3e4823[_0xc52a20(0x460)](_0x4d093c),this[_0xc52a20(0x1af)]['next'](_0x3e4823);}['_toggleOnline'](){const _0x4caa45=_0x470848;var _0x248a85;if(this[_0x4caa45(0x358)]=!0x0,((_0x248a85=this[_0x4caa45(0x48a)][_0x4caa45(0x31d)]())==null?void 0x0:_0x248a85[_0x4caa45(0x2fe)]())!==this[_0x4caa45(0x44c)])return;let _0x353c34=this[_0x4caa45(0x240)]['get'](_0x904e3[_0x4caa45(0x1d0)])['getDocRanges']();Array[_0x4caa45(0x26e)](_0x353c34)&&_0x353c34[_0x4caa45(0x254)]>0x0&&this[_0x4caa45(0x451)](_0x353c34);}[_0x470848(0x30d)](){const _0x1064ef=_0x470848;this[_0x1064ef(0x358)]=!0x1;}};_0x1be286=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x209)])),_0x4f2c8d(0x5,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3ebe55)),_0x4f2c8d(0x6,_0x518a46['ITransformService']),_0x4f2c8d(0x7,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x8,_0x3378d6[_0x470848(0x3d2)])],_0x1be286);let _0x54b4b6=()=>{let _0x2c6934=[],_0x38f232=!0x1;return _0xcb4dc3=>{_0x2c6934['push'](_0xcb4dc3),_0x38f232||(_0x38f232=!0x0,setTimeout(()=>{const _0x4bee28=_0x3560;_0x2c6934[_0x4bee28(0x315)](_0x27c24e=>_0x27c24e()),_0x2c6934=[],_0x38f232=!0x1;}));};},_0x3b554b=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x501c0f=_0x470848;return this['_cursorInfo$'][_0x501c0f(0x434)]();}get[_0x470848(0x330)](){const _0xdf65c0=_0x470848;return this[_0xdf65c0(0x1e2)][_0xdf65c0(0x434)]();}constructor(_0x55e8f9,_0x9b51f7,_0xfd2be3,_0xb8488d,_0x47f407,_0x3e4572,_0x1e9317,_0x30d495){const _0x1ed816=_0x470848;super(),this[_0x1ed816(0x44c)]=_0x55e8f9,this[_0x1ed816(0x248)]=_0x9b51f7,this[_0x1ed816(0x240)]=_0xfd2be3,this[_0x1ed816(0x2c7)]=_0xb8488d,this[_0x1ed816(0x34e)]=_0x47f407,this[_0x1ed816(0x48a)]=_0x3e4572,this[_0x1ed816(0x3cf)]=_0x1e9317,this['_refRangeService']=_0x30d495,_0x317deb(this,_0x1ed816(0x358),!0x1),_0x317deb(this,_0x1ed816(0x1a4),!0x1),_0x317deb(this,_0x1ed816(0x1af),new _0x5515fe[(_0x1ed816(0x4b4))](new Map())),_0x317deb(this,'cursorInfo$',this['_cursorInfo$'][_0x1ed816(0x38e)]()),_0x317deb(this,'_roomMembers$',new _0x5515fe[(_0x1ed816(0x4b4))]([])),_0x317deb(this,'roomMembers$',this[_0x1ed816(0x1e2)][_0x1ed816(0x376)]((0x0,_0x5515fe[_0x1ed816(0x22a)])(0x12c))),_0x317deb(this,_0x1ed816(0x451),(0x0,_0x3378d6[_0x1ed816(0x1fd)])((_0x2bf1e4,_0x41abf4)=>{const _0xe83931=_0x1ed816;let _0x4ea363={'eventID':_0x518a46['CollaborationEvent'][_0xe83931(0x1c6)],'data':{'unitID':this['unitID'],'memberID':this[_0xe83931(0x248)]['getMemberID'](),'selection':(0x0,_0x4599c2[_0xe83931(0x321)])(_0x2bf1e4,_0x41abf4[_0xe83931(0x429)])}};this[_0xe83931(0x248)][_0xe83931(0x22f)](_0x4ea363,this[_0xe83931(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0xa5780e=_0x470848;super['dispose'](),this[_0xa5780e(0x1af)][_0xa5780e(0x29d)](new Map()),this[_0xa5780e(0x1af)][_0xa5780e(0x28f)](),this[_0xa5780e(0x1e2)][_0xa5780e(0x29d)]([]),this[_0xa5780e(0x1e2)][_0xa5780e(0x28f)]();}['init'](){const _0x43ed5d=_0x470848;this[_0x43ed5d(0x1a4)]||(this[_0x43ed5d(0x1a4)]=!0x0,this['_session']['sessionStatus$'][_0x43ed5d(0x376)]((0x0,_0x5515fe[_0x43ed5d(0x3e2)])(this['dispose$']))['subscribe'](_0x15f3f0=>{const _0x2e9d18=_0x43ed5d;_0x15f3f0===_0x289c2c[_0x2e9d18(0x3c7)][_0x2e9d18(0x1b5)]?this[_0x2e9d18(0x2f4)]():this[_0x2e9d18(0x30d)]();}),this['_session']['event$'][_0x43ed5d(0x376)]((0x0,_0x5515fe[_0x43ed5d(0x3e2)])(this[_0x43ed5d(0x173)]))[_0x43ed5d(0x31e)](_0x4064d8=>{const _0xd111ea=_0x43ed5d;let _0x34fe02=_0x4064d8[_0xd111ea(0x32d)];_0x34fe02===_0x518a46[_0xd111ea(0x45c)][_0xd111ea(0x1c6)]&&this[_0xd111ea(0x1bf)](_0x4064d8),_0x34fe02===_0x518a46[_0xd111ea(0x45c)][_0xd111ea(0x4a0)]&&this[_0xd111ea(0x4c7)](_0x4064d8);}),this['_onRefRangeChange'](),this[_0x43ed5d(0x3a7)](this['_commandService'][_0x43ed5d(0x21f)](_0x4de03d=>{const _0x2689b9=_0x43ed5d;if(this['_online']&&_0x4de03d['id']===_0x277df0[_0x2689b9(0x4b2)]['id']&&_0x4de03d[_0x2689b9(0x31c)][_0x2689b9(0x1fb)]===this[_0x2689b9(0x44c)]){let _0x30251a=_0x4de03d[_0x2689b9(0x31c)];this[_0x2689b9(0x451)](_0x30251a[_0x2689b9(0x3cb)],_0x30251a['selections'][0x0]);}})));}['_onCursorUpdate'](_0x10a0f0){const _0x521957=_0x470848;var _0x306fee,_0x23a041;let {memberID:_0xb53e53,selection:_0x8026cd}=_0x10a0f0['data'],{sheetName:_0x14b153,range:_0x5ddada}=(0x0,_0x4599c2[_0x521957(0x1f5)])(_0x8026cd),_0xf818d6={'name':(_0x306fee=(_0x23a041=this[_0x521957(0x34e)][_0x521957(0x283)](this[_0x521957(0x44c)],_0xb53e53))==null?void 0x0:_0x23a041[_0x521957(0x4a9)])==null?_0x521957(0x2b2):_0x306fee,'range':this['_getMergeRange'](_0x14b153,_0x5ddada),'sheetID':_0x14b153,'color':this[_0x521957(0x2c7)][_0x521957(0x360)](_0xb53e53),'selection':_0x8026cd},_0x162d7a=this[_0x521957(0x33d)];_0x162d7a[_0x521957(0x406)](_0xb53e53,_0xf818d6),this[_0x521957(0x1af)]['next'](_0x162d7a);}[_0x470848(0x4c7)](_0x341f18){const _0x3e4858=_0x470848;let {memberID:_0x5ac9cb}=_0x341f18[_0x3e4858(0x3f5)],_0x434edf=this[_0x3e4858(0x33d)];_0x434edf[_0x3e4858(0x460)](_0x5ac9cb),this['_cursorInfo$'][_0x3e4858(0x29d)](_0x434edf);}[_0x470848(0x172)](_0x185b51,_0x4d3670){const _0x145516=_0x470848;var _0x238b85;let _0x459317=(_0x238b85=this[_0x145516(0x48a)][_0x145516(0x3ee)](this['unitID']))==null||(_0x238b85=_0x238b85['getSheetBySheetId'](_0x185b51))==null?void 0x0:_0x238b85[_0x145516(0x34b)]();return(_0x459317==null?void 0x0:_0x459317[_0x145516(0x403)](_0x74bf43=>_0x3378d6[_0x145516(0x20c)][_0x145516(0x2ed)](_0x74bf43,_0x4d3670)))||_0x4d3670;}[_0x470848(0x479)](){const _0x3bec26=_0x470848;let _0x53fb24=new _0x3378d6[(_0x3bec26(0x2a9))](),_0x2599b3=_0x54b4b6(),_0x5c97be=()=>{const _0x20a5e1=_0x3bec26;_0x53fb24[_0x20a5e1(0x39c)]();let _0x4d8d18=(_0x247876,_0x53601c,_0x2a9fe2,_0x2fe41f)=>{const _0x4d130f=_0x20a5e1;let _0x2dbced=[];switch(_0x247876['id']){case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x30c)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x322)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x1c2)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x1f6)])(_0x247876,_0x2fe41f);break;case _0x277df0['EffectRefRangId']['InsertColCommandId']:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x2df)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x203)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x289)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)]['InsertRangeMoveRightCommandId']:_0x2dbced=(0x0,_0x277df0['handleInsertRangeMoveRight'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)]['InsertRowCommandId']:_0x2dbced=(0x0,_0x277df0['handleInsertRow'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x2ae)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x44b)])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x298)]:_0x2dbced=(0x0,_0x277df0['handleIRemoveCol'])(_0x247876,_0x2fe41f);break;case _0x277df0[_0x4d130f(0x18f)][_0x4d130f(0x326)]:_0x2dbced=(0x0,_0x277df0[_0x4d130f(0x184)])(_0x247876,_0x2fe41f);break;}let _0xad374d=(0x0,_0x277df0[_0x4d130f(0x32c)])(_0x2dbced,_0x2fe41f),_0x5e8e22=this[_0x4d130f(0x33d)][_0x4d130f(0x226)](_0x53601c);if(_0x5e8e22&&_0xad374d){let _0x51ae36={..._0x5e8e22,'range':_0xad374d};this[_0x4d130f(0x33d)][_0x4d130f(0x406)](_0x53601c,_0x51ae36),_0x2599b3(()=>{const _0x2f7dc9=_0x4d130f;let _0x9653b8=this[_0x2f7dc9(0x418)][_0x2f7dc9(0x441)](_0xad374d,_0x528d4d=>(_0x9653b8['dispose'](),_0x4d8d18(_0x528d4d,_0x53601c,_0x2a9fe2,_0xad374d)));_0x53fb24[_0x2f7dc9(0x345)](_0x9653b8);});}return{'redos':[],'undos':[]};};this[_0x20a5e1(0x33d)][_0x20a5e1(0x315)]((_0x4c477c,_0x43d463)=>{const _0x4f3d69=_0x20a5e1;let {range:_0x100f17,sheetID:_0x5ace62}=_0x4c477c,_0x3e878a=this['_refRangeService'][_0x4f3d69(0x441)](_0x100f17,_0x1f7d92=>(_0x3e878a[_0x4f3d69(0x39c)](),_0x4d8d18(_0x1f7d92,_0x43d463,_0x5ace62,_0x100f17)));_0x53fb24['add'](_0x3e878a);});};this[_0x3bec26(0x3a7)]((0x0,_0x3378d6[_0x3bec26(0x44d)])(this[_0x3bec26(0x1af)][_0x3bec26(0x31e)](()=>{_0x5c97be();})));}[_0x470848(0x2f4)](){const _0x1ba50b=_0x470848;var _0x1b733b,_0x32d1cd;if(this['_online']=!0x0,((_0x1b733b=this[_0x1ba50b(0x48a)][_0x1ba50b(0x31d)]())==null?void 0x0:_0x1b733b['getUnitId']())!==this[_0x1ba50b(0x44c)])return;let _0x5d25a8=(_0x32d1cd=this[_0x1ba50b(0x240)][_0x1ba50b(0x226)](_0x277df0[_0x1ba50b(0x21b)])[_0x1ba50b(0x42f)]())==null?void 0x0:_0x32d1cd[0x0],_0x2537b7=this[_0x1ba50b(0x48a)]['getCurrentUnitOfType'](_0x3378d6['UniverInstanceType'][_0x1ba50b(0x1ab)])['getActiveSheet']();_0x5d25a8&&_0x2537b7&&this[_0x1ba50b(0x451)](_0x2537b7[_0x1ba50b(0x293)](),_0x5d25a8);}[_0x470848(0x30d)](){const _0x33d19a=_0x470848;this[_0x33d19a(0x358)]=!0x1;}};_0x3b554b=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x5a49d8)),_0x4f2c8d(0x4,(0x0,_0x3378d6['Inject'])(_0x289c2c['MemberService'])),_0x4f2c8d(0x5,_0x3378d6['IUniverInstanceService']),_0x4f2c8d(0x6,_0x3378d6['ICommandService']),_0x4f2c8d(0x7,(0x0,_0x3378d6[_0x470848(0x331)])(_0x277df0[_0x470848(0x3c0)]))],_0x3b554b);function _0x263f46(_0x1f68e3){const _0x371621=_0x470848;let _0x1443df;try{_0x1443df=JSON[_0x371621(0x1ea)](_0x1f68e3);}catch{return null;}if(typeof _0x1443df!=_0x371621(0x416)||!_0x1443df)return null;let _0x1ed8b3=_0x1443df;if(_0x1ed8b3[_0x371621(0x470)]!==_0x371621(0x357)||typeof _0x1ed8b3['unitId']!='string'||typeof _0x1ed8b3[_0x371621(0x3cb)]!=_0x371621(0x245))return null;let _0x4d1e7c=Array[_0x371621(0x26e)](_0x1ed8b3['selectedIds'])?_0x1ed8b3[_0x371621(0x1ce)][_0x371621(0x25d)](_0x1a8747=>typeof _0x1a8747==_0x371621(0x245)):[],_0x1cd7ab=typeof _0x1ed8b3[_0x371621(0x49a)]==_0x371621(0x245)?_0x1ed8b3['focusedId']:null;return{'kind':_0x371621(0x357),'unitId':_0x1ed8b3[_0x371621(0x1fb)],'subUnitId':_0x1ed8b3[_0x371621(0x3cb)],'selectedIds':_0x4d1e7c,'focusedId':_0x1cd7ab};}let _0x35adea=class extends _0x3378d6[_0x470848(0x42a)]{get[_0x470848(0x33d)](){const _0x6dd2ad=_0x470848;return this['_cursorInfo$'][_0x6dd2ad(0x434)]();}get[_0x470848(0x330)](){const _0x13657d=_0x470848;return this['_roomMembers$'][_0x13657d(0x434)]();}constructor(_0x4f65e2,_0x56c90a,_0x7bb386,_0x223b47,_0x35569f){const _0x313c8a=_0x470848;super(),this[_0x313c8a(0x44c)]=_0x4f65e2,this['_session']=_0x56c90a,this['_colorAssignService']=_0x7bb386,this[_0x313c8a(0x34e)]=_0x223b47,this['_slideDrawingStateService']=_0x35569f,_0x317deb(this,_0x313c8a(0x358),!0x1),_0x317deb(this,_0x313c8a(0x1a4),!0x1),_0x317deb(this,'_cursorInfo$',new _0x5515fe[(_0x313c8a(0x4b4))](new Map())),_0x317deb(this,_0x313c8a(0x4ad),this[_0x313c8a(0x1af)][_0x313c8a(0x38e)]()),_0x317deb(this,_0x313c8a(0x1e2),new _0x5515fe[(_0x313c8a(0x4b4))]([])),_0x317deb(this,_0x313c8a(0x2fb),this['_roomMembers$'][_0x313c8a(0x376)]((0x0,_0x5515fe[_0x313c8a(0x22a)])(0x12c))),_0x317deb(this,_0x313c8a(0x451),(0x0,_0x3378d6['debounce'])(_0x29fd91=>{const _0x2f83a3=_0x313c8a;let _0x2e7119=_0x29fd91[_0x2f83a3(0x39b)];if(!_0x2e7119||_0x2e7119[_0x2f83a3(0x1fb)]!==this['unitID'])return;let _0x28be49={'kind':'slide-element-selection','unitId':_0x2e7119[_0x2f83a3(0x1fb)],'subUnitId':_0x2e7119[_0x2f83a3(0x3cb)],'selectedIds':_0x29fd91[_0x2f83a3(0x1ce)][_0x2f83a3(0x25d)](_0x30c766=>typeof _0x30c766==_0x2f83a3(0x245)),'focusedId':_0x29fd91['focusedId']},_0x46da54={'eventID':_0x518a46[_0x2f83a3(0x45c)][_0x2f83a3(0x1c6)],'data':{'unitID':this[_0x2f83a3(0x44c)],'memberID':this['_session']['getMemberID'](),'selection':JSON[_0x2f83a3(0x3aa)](_0x28be49)}};this[_0x2f83a3(0x248)][_0x2f83a3(0x22f)](_0x46da54,this[_0x2f83a3(0x44c)]);},0x64));}[_0x470848(0x39c)](){const _0x503831=_0x470848;super[_0x503831(0x39c)](),this[_0x503831(0x1af)][_0x503831(0x29d)](new Map()),this[_0x503831(0x1af)][_0x503831(0x28f)](),this[_0x503831(0x1e2)][_0x503831(0x29d)]([]),this[_0x503831(0x1e2)][_0x503831(0x28f)]();}[_0x470848(0x21d)](){const _0x24eef2=_0x470848;this[_0x24eef2(0x1a4)]||(this['_init']=!0x0,this[_0x24eef2(0x248)]['sessionStatus$']['pipe']((0x0,_0x5515fe['takeUntil'])(this['dispose$']))[_0x24eef2(0x31e)](_0x35fb90=>{const _0x498cb6=_0x24eef2;_0x35fb90===_0x289c2c['SessionStatus'][_0x498cb6(0x1b5)]?this[_0x498cb6(0x2f4)]():this[_0x498cb6(0x30d)]();}),this[_0x24eef2(0x248)][_0x24eef2(0x4c6)][_0x24eef2(0x376)]((0x0,_0x5515fe[_0x24eef2(0x3e2)])(this[_0x24eef2(0x173)]))['subscribe'](_0x243baf=>{const _0x40fd03=_0x24eef2;let _0x2e89a7=_0x243baf[_0x40fd03(0x32d)];_0x2e89a7===_0x518a46['CollaborationEvent'][_0x40fd03(0x1c6)]&&this['_onCursorUpdate'](_0x243baf),_0x2e89a7===_0x518a46[_0x40fd03(0x45c)][_0x40fd03(0x4a0)]&&this[_0x40fd03(0x4c7)](_0x243baf);}),this[_0x24eef2(0x47d)][_0x24eef2(0x4bf)][_0x24eef2(0x376)]((0x0,_0x5515fe[_0x24eef2(0x3e2)])(this[_0x24eef2(0x173)]))[_0x24eef2(0x31e)](_0x2b42f3=>{const _0x1866aa=_0x24eef2;this[_0x1866aa(0x358)]&&this['_updateLocalCursor'](_0x2b42f3);}));}[_0x470848(0x1bf)](_0x33bff1){const _0x472a96=_0x470848;var _0x21ae0c,_0x2ea766,_0x481013,_0x1291fa;let {memberID:_0x45ae46,selection:_0x1e0c19}=_0x33bff1[_0x472a96(0x3f5)];if(_0x45ae46===((_0x21ae0c=(_0x2ea766=this[_0x472a96(0x248)])['getMemberID'])==null?void 0x0:_0x21ae0c[_0x472a96(0x442)](_0x2ea766)))return;let _0x553fe6=_0x263f46(_0x1e0c19);if(!_0x553fe6||_0x553fe6[_0x472a96(0x1fb)]!==this[_0x472a96(0x44c)])return;let _0x3be4f2=(_0x481013=(_0x1291fa=this[_0x472a96(0x34e)]['getMember'](this[_0x472a96(0x44c)],_0x45ae46))==null?void 0x0:_0x1291fa[_0x472a96(0x4a9)])==null?_0x472a96(0x2b2):_0x481013,_0x2b2e99={'color':this['_colorAssignService'][_0x472a96(0x360)](_0x45ae46),'name':_0x3be4f2,'unitId':_0x553fe6['unitId'],'subUnitId':_0x553fe6['subUnitId'],'selectedIds':_0x553fe6['selectedIds'],'focusedId':_0x553fe6['focusedId'],'selection':_0x1e0c19},_0x59db0d=new Map(this[_0x472a96(0x33d)]);_0x59db0d[_0x472a96(0x406)](_0x45ae46,_0x2b2e99),this['_cursorInfo$']['next'](_0x59db0d);}[_0x470848(0x4c7)](_0xde524){const _0x90c8b=_0x470848;let {memberID:_0x2eaf00}=_0xde524[_0x90c8b(0x3f5)],_0x3b2828=new Map(this[_0x90c8b(0x33d)]);_0x3b2828[_0x90c8b(0x460)](_0x2eaf00),this[_0x90c8b(0x1af)]['next'](_0x3b2828);}[_0x470848(0x2f4)](){const _0x41efd6=_0x470848;this[_0x41efd6(0x358)]=!0x0,this[_0x41efd6(0x451)](this['_slideDrawingStateService']['getSnapshot']());}['_toggleOffline'](){const _0x305716=_0x470848;this[_0x305716(0x358)]=!0x1;}};_0x35adea=_0x265259([_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x5a49d8)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x209)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x524d80[_0x470848(0x383)]))],_0x35adea);let _0x3b029d=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x202496,_0x4bd7e1,_0x2553a2){const _0x57195e=_0x470848;super(),this[_0x57195e(0x48a)]=_0x202496,this[_0x57195e(0x240)]=_0x4bd7e1,this[_0x57195e(0x386)]=_0x2553a2,_0x317deb(this,'_entities',new Map()),_0x317deb(this,_0x57195e(0x24b),new _0x5515fe[(_0x57195e(0x44f))]()),this[_0x57195e(0x1a4)]();}[_0x470848(0x39c)](){const _0x22093d=_0x470848;super['dispose'](),this[_0x22093d(0x24b)][_0x22093d(0x28f)](),this[_0x22093d(0x243)][_0x22093d(0x315)](_0x2681f9=>_0x2681f9[_0x22093d(0x39c)]());}['getCollabCursors$'](_0x554740){const _0x4af581=_0x470848;return this[_0x4af581(0x243)][_0x4af581(0x1c9)](_0x554740)?this[_0x4af581(0x243)][_0x4af581(0x226)](_0x554740)[_0x4af581(0x4ad)]:this[_0x4af581(0x24b)][_0x4af581(0x376)]((0x0,_0x5515fe[_0x4af581(0x25d)])(_0x117c8e=>_0x117c8e[_0x4af581(0x44c)]===_0x554740),(0x0,_0x5515fe[_0x4af581(0x187)])(_0x2204f2=>_0x2204f2[_0x4af581(0x4ad)]));}[_0x470848(0x1a4)](){const _0x1731d5=_0x470848;this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x1ab)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))[_0x1731d5(0x31e)](async _0x4d5eec=>{const _0x29ac60=_0x1731d5;let _0x4617b9=_0x4d5eec[_0x29ac60(0x18a)][_0x29ac60(0x2fe)](),_0x55f70e=await this[_0x29ac60(0x286)](_0x4617b9);this[_0x29ac60(0x24b)][_0x29ac60(0x29d)](_0x55f70e),this[_0x29ac60(0x243)][_0x29ac60(0x406)](_0x4617b9,_0x55f70e);}),this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)]['UNIVER_DOC'])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this['dispose$']))['pipe']((0x0,_0x5515fe['filter'])(_0x344048=>!_0x344048[_0x1731d5(0x18a)]['getUnitId']()[_0x1731d5(0x42b)]('__')))['subscribe'](async _0x440143=>{const _0x253c82=_0x1731d5;let {unit:_0x3b733c}=_0x440143,_0xa76572=_0x3b733c[_0x253c82(0x2fe)](),_0x43a7e4=await this[_0x253c82(0x19f)](_0xa76572);this[_0x253c82(0x24b)][_0x253c82(0x29d)](_0x43a7e4),this[_0x253c82(0x243)]['set'](_0xa76572,_0x43a7e4);}),this[_0x1731d5(0x48a)][_0x1731d5(0x1e7)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x352)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))['subscribe'](async _0x11aa99=>{const _0x44a341=_0x1731d5;let _0x4c85bd=_0x11aa99[_0x44a341(0x18a)][_0x44a341(0x2fe)](),_0x3a6e8f=await this[_0x44a341(0x378)](_0x4c85bd);this[_0x44a341(0x24b)][_0x44a341(0x29d)](_0x3a6e8f),this[_0x44a341(0x243)][_0x44a341(0x406)](_0x4c85bd,_0x3a6e8f);}),this[_0x1731d5(0x48a)]['getTypeOfUnitAdded$'](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x346)])[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this[_0x1731d5(0x173)]))[_0x1731d5(0x31e)](async _0x44930b=>{const _0x184343=_0x1731d5;let _0x3b19fb=_0x44930b[_0x184343(0x18a)][_0x184343(0x2fe)](),_0x510128=await this[_0x184343(0x217)](_0x3b19fb);this['_entityInit$'][_0x184343(0x29d)](_0x510128),this[_0x184343(0x243)]['set'](_0x3b19fb,_0x510128);}),(0x0,_0x5515fe[_0x1731d5(0x443)])(this[_0x1731d5(0x48a)]['getTypeOfUnitDisposed$'](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x43f)]),this[_0x1731d5(0x48a)][_0x1731d5(0x2c2)](_0x3378d6['UniverInstanceType'][_0x1731d5(0x1ab)]),this[_0x1731d5(0x48a)][_0x1731d5(0x2c2)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x352)]),this['_univerInstanceService'][_0x1731d5(0x2c2)](_0x3378d6[_0x1731d5(0x2b5)][_0x1731d5(0x346)]))[_0x1731d5(0x376)]((0x0,_0x5515fe[_0x1731d5(0x3e2)])(this['dispose$']))[_0x1731d5(0x31e)](_0x18dfc1=>{const _0x20162c=_0x1731d5;let _0xf8d673=_0x18dfc1[_0x20162c(0x2fe)](),_0x142daa=this['_entities'][_0x20162c(0x226)](_0xf8d673);_0x142daa&&(_0x142daa[_0x20162c(0x39c)](),this[_0x20162c(0x243)][_0x20162c(0x460)](_0xf8d673));});}async[_0x470848(0x286)](_0x4e03d0){const _0x23dcf5=_0x470848;let _0x1b8b5f=await this[_0x23dcf5(0x386)][_0x23dcf5(0x390)](_0x4e03d0),_0x4ee4e0=this[_0x23dcf5(0x240)]['createInstance'](_0x3b554b,_0x4e03d0,_0x1b8b5f);return _0x4ee4e0['init'](),_0x4ee4e0;}async[_0x470848(0x19f)](_0x598dce){const _0x59e091=_0x470848;let _0x4461db=await this[_0x59e091(0x386)][_0x59e091(0x390)](_0x598dce),_0x5561f0=this[_0x59e091(0x240)]['createInstance'](_0x1be286,_0x598dce,_0x4461db);return _0x5561f0[_0x59e091(0x21d)](),_0x5561f0;}async[_0x470848(0x378)](_0x3118f1){const _0x6886aa=_0x470848;let _0x3f7edc=await this[_0x6886aa(0x386)]['requireSession'](_0x3118f1),_0x416652=this[_0x6886aa(0x240)][_0x6886aa(0x1a9)](_0x35adea,_0x3118f1,_0x3f7edc);return _0x416652[_0x6886aa(0x21d)](),_0x416652;}async[_0x470848(0x217)](_0x25e170){const _0x4d4e06=_0x470848;let _0x4879b0=await this[_0x4d4e06(0x386)][_0x4d4e06(0x390)](_0x25e170),_0x54d52a=this['_injector'][_0x4d4e06(0x1a9)](_0x308f67,_0x25e170,_0x4879b0);return _0x54d52a[_0x4d4e06(0x21d)](),_0x54d52a;}};_0x3b029d=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x1f4)]))],_0x3b029d);let _0x4f3792=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x25f028,_0x1e3e1d,_0x309ec4){const _0x4c9bad=_0x470848;super(),this[_0x4c9bad(0x40a)]=_0x25f028,this['_collabCursorController']=_0x1e3e1d,this[_0x4c9bad(0x1f3)]=_0x309ec4,_0x317deb(this,'_cursors',new Set()),_0x317deb(this,_0x4c9bad(0x2cf),!0x1),_0x317deb(this,_0x4c9bad(0x23c),!0x1),_0x317deb(this,_0x4c9bad(0x44e),new Map()),this['_init']();}[_0x470848(0x39c)](){const _0x3ca614=_0x470848;this[_0x3ca614(0x400)](),super[_0x3ca614(0x39c)]();}['_init'](){const _0x4d0f4b=_0x470848;let _0x499c97=this[_0x4d0f4b(0x405)][_0x4d0f4b(0x16c)](this[_0x4d0f4b(0x40a)][_0x4d0f4b(0x1fb)]);this[_0x4d0f4b(0x3a7)]((0x0,_0x3378d6[_0x4d0f4b(0x44d)])((0x0,_0x5515fe[_0x4d0f4b(0x297)])([_0x499c97,this[_0x4d0f4b(0x40a)]['unit'][_0x4d0f4b(0x1d8)],this[_0x4d0f4b(0x1f3)][_0x4d0f4b(0x305)]])['pipe']((0x0,_0x5515fe['takeUntil'])(this[_0x4d0f4b(0x173)]))[_0x4d0f4b(0x31e)](([_0x15d55a])=>{const _0x36f339=_0x4d0f4b;let _0x4f83f3=this[_0x36f339(0x40a)][_0x36f339(0x18a)][_0x36f339(0x299)](),_0x398693=new Map();_0x15d55a['forEach']((_0x2e6858,_0x4f5606)=>{const _0x52a2be=_0x36f339;_0x2e6858[_0x52a2be(0x3cb)]===_0x4f83f3&&_0x398693['set'](_0x4f5606,{..._0x2e6858,'color':this['_themeService'][_0x52a2be(0x28b)](_0x2e6858[_0x52a2be(0x1e6)])});}),this[_0x36f339(0x44e)]=_0x398693,this['_scheduleRender']();})));let _0x50e671=this[_0x4d0f4b(0x40a)][_0x4d0f4b(0x1cb)];this['disposeWithMe']((0x0,_0x3378d6[_0x4d0f4b(0x44d)])(_0x50e671['addObject$'][_0x4d0f4b(0x376)]((0x0,_0x5515fe[_0x4d0f4b(0x3e2)])(this[_0x4d0f4b(0x173)]))[_0x4d0f4b(0x31e)](()=>{const _0x15be72=_0x4d0f4b;this[_0x15be72(0x23c)]||this[_0x15be72(0x49c)]();})));}[_0x470848(0x49c)](){const _0x416b67=_0x470848;this[_0x416b67(0x2cf)]||(this[_0x416b67(0x2cf)]=!0x0,Promise[_0x416b67(0x4a8)]()[_0x416b67(0x308)](()=>{const _0xa2c4b0=_0x416b67;this[_0xa2c4b0(0x2cf)]=!0x1,this['_render']();}));}[_0x470848(0x2d4)](){const _0x21d946=_0x470848;this[_0x21d946(0x400)]();let _0x3d5398=this['_context'][_0x21d946(0x18a)]['getActivePageId'](),_0x3972aa=[];if(this[_0x21d946(0x44e)]['forEach']((_0x11f90b,_0x208908)=>{const _0x67cf8b=_0x21d946;_0x11f90b[_0x67cf8b(0x3cb)]===_0x3d5398&&_0x11f90b[_0x67cf8b(0x1ce)][_0x67cf8b(0x315)](_0x3e9600=>{const _0x2dbfcc=_0x67cf8b;let _0x33fc55=(0x0,_0x199609[_0x2dbfcc(0x340)])(_0x11f90b[_0x2dbfcc(0x1fb)],_0x3e9600),_0x5cccd9=this[_0x2dbfcc(0x43a)](_0x33fc55);if(!_0x5cccd9)return;let _0x360fd0=this[_0x2dbfcc(0x2bd)](_0x5cccd9);_0x3972aa['push'](new _0xac951d(_0x2dbfcc(0x49e)+_0x208908+'-'+_0x3e9600,{..._0x11f90b,'left':_0x360fd0[_0x2dbfcc(0x3c2)],'top':_0x360fd0['top'],'width':_0x360fd0['width'],'height':_0x360fd0[_0x2dbfcc(0x279)],'angle':_0x5cccd9[_0x2dbfcc(0x33a)],'evented':!0x1,'zIndex':_0x344036}));});}),_0x3972aa[_0x21d946(0x254)]===0x0){this['_context'][_0x21d946(0x1cb)]['makeDirty'](!0x0);return;}this[_0x21d946(0x23c)]=!0x0,this[_0x21d946(0x40a)][_0x21d946(0x1cb)][_0x21d946(0x16e)](_0x3972aa,_0x344036),this['_isApplyingOverlays']=!0x1,this[_0x21d946(0x196)]=new Set(_0x3972aa),this['_context'][_0x21d946(0x1cb)][_0x21d946(0x188)](!0x0);}[_0x470848(0x400)](){const _0x5a3bd4=_0x470848;let _0x1c982f=Array[_0x5a3bd4(0x452)](this[_0x5a3bd4(0x196)]);if(_0x1c982f[_0x5a3bd4(0x254)]===0x0)return;let _0x5898fa=this['_context'][_0x5a3bd4(0x1cb)];_0x5a3bd4(0x1a6)in _0x5898fa&&typeof _0x5898fa['removeObjects']==_0x5a3bd4(0x489)?_0x5898fa[_0x5a3bd4(0x1a6)](_0x1c982f):_0x1c982f['forEach'](_0x5b82a0=>{const _0x3885d8=_0x5a3bd4;'removeObject'in _0x5898fa&&typeof _0x5898fa[_0x3885d8(0x259)]==_0x3885d8(0x489)?_0x5898fa['removeObject'](_0x5b82a0):_0x5b82a0['dispose']();}),this[_0x5a3bd4(0x196)][_0x5a3bd4(0x2f8)](),_0x5898fa[_0x5a3bd4(0x188)](!0x0);}[_0x470848(0x43a)](_0x57714d){const _0x3af592=_0x470848;var _0x5a1a66,_0x16a3e7,_0x55faf0;let _0x7d43ad=this[_0x3af592(0x40a)][_0x3af592(0x1cb)];return(_0x5a1a66=(_0x16a3e7=(_0x55faf0=_0x7d43ad[_0x3af592(0x2e2)])==null?void 0x0:_0x55faf0[_0x3af592(0x442)](_0x7d43ad,_0x57714d))==null?_0x7d43ad['getObject'](_0x57714d):_0x16a3e7)==null?null:_0x5a1a66;}[_0x470848(0x2bd)](_0x59319a){const _0x4d17d5=_0x470848;var _0x4e64fc,_0x5271da;let _0x5e13cf=_0x59319a;return(_0x4e64fc=(_0x5271da=_0x5e13cf[_0x4d17d5(0x463)])==null?void 0x0:_0x5271da[_0x4d17d5(0x442)](_0x5e13cf))==null?{'left':_0x59319a[_0x4d17d5(0x3c2)],'top':_0x59319a[_0x4d17d5(0x2f7)],'width':_0x59319a[_0x4d17d5(0x2a6)],'height':_0x59319a['height']}:_0x4e64fc;}};_0x4f3792=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x3a2)]))],_0x4f3792);let _0x469998=_0x470848(0x275);var _0x33bf4d=class{constructor(_0x2754d6,_0x14698e,_0xdeb0ed,_0x24b4fb){const _0x158acd=_0x470848;this['_cursor']=_0x2754d6,this['_scene']=_0x14698e,this['_docSkeleton']=_0xdeb0ed,this[_0x158acd(0x462)]=_0x24b4fb,_0x317deb(this,'_shapes',[]),_0x317deb(this,_0x158acd(0x23d),null),_0x317deb(this,'_textBubble',null),_0x317deb(this,'_anchorDot',null),_0x317deb(this,_0x158acd(0x28e),null),_0x317deb(this,_0x158acd(0x392),null),this[_0x158acd(0x2d4)]();}set[_0x470848(0x2d7)](_0x419529){const _0x3e23b0=_0x470848;_0x419529?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x3e23b0(0x1d4)]&&this['_textBubble'][_0x3e23b0(0x3ea)]()):(this[_0x3e23b0(0x4b6)]&&this[_0x3e23b0(0x4b6)]['show'](),this['_textBubble']&&this[_0x3e23b0(0x1d4)][_0x3e23b0(0x26f)]());}[_0x470848(0x39c)](){const _0x27e374=_0x470848;for(let _0xae1db7 of this[_0x27e374(0x272)])_0xae1db7[_0x27e374(0x39c)]();this[_0x27e374(0x1d4)]&&this[_0x27e374(0x1d4)][_0x27e374(0x39c)](),this['_anchorDot']&&this[_0x27e374(0x4b6)][_0x27e374(0x39c)](),this[_0x27e374(0x23d)]&&this[_0x27e374(0x23d)][_0x27e374(0x39c)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x5a0f28=_0x470848;let {_docSkeleton:_0x189445,_document:_0x10968f}=this,{color:_0x440980,name:_0x127901,ranges:_0x1542ca}=this[_0x5a0f28(0x401)],_0x775317=_0x10968f['getOffsetConfig'](),{docsLeft:_0x97e37b,docsTop:_0x1561d0}=_0x775317,_0x1775b6=new _0xe8b960[(_0x5a0f28(0x34d))](_0x775317,_0x189445);for(let {startOffset:_0x32c70c,endOffset:_0x217dd0,rangeType:_0x5e5b1d,segmentId:_0x424f25,segmentPage:_0x739348,collapsed:_0x438491,isActive:_0x11c377}of _0x1542ca){let _0x481665=_0x189445[_0x5a0f28(0x304)](_0x32c70c,!0x0,_0x424f25,_0x739348),_0x32daad=_0x189445[_0x5a0f28(0x304)](_0x217dd0,!0x0,_0x424f25,_0x739348);if(_0x32daad==null&&(_0x32daad=_0x189445[_0x5a0f28(0x304)](_0x217dd0-0x1,!0x1,_0x424f25,_0x739348)),_0x11c377){let {contentBoxPointGroup:_0xc29ab0}=_0x1775b6[_0x5a0f28(0x2ef)](_0x32daad,_0x32daad);if(_0xc29ab0['length']===0x0)continue;this[_0x5a0f28(0x3cd)](_0x440980,_0xc29ab0,_0x97e37b,_0x1561d0,_0x127901),this['_eventUnsubscribe']=this[_0x5a0f28(0x428)]();}if(_0x481665&&_0x32daad){if(_0x5e5b1d===_0x3378d6[_0x5a0f28(0x1e8)][_0x5a0f28(0x3da)]){var _0x5a043b;let {pointGroup:_0x2013d1}=(_0x5a043b=new _0xe8b960['NodePositionConvertToRectRange'](_0x775317,_0x189445)['getRangePointData'](_0x481665,_0x32daad))==null?{}:_0x5a043b;if(_0x2013d1==null||_0x2013d1[_0x5a0f28(0x254)]===0x0)continue;this[_0x5a0f28(0x36a)](_0x440980,_0x2013d1,_0x97e37b,_0x1561d0);}else{if(!_0x438491){let {borderBoxPointGroup:_0x9fe1a5}=_0x1775b6[_0x5a0f28(0x2ef)](_0x481665,_0x32daad);if(_0x9fe1a5[_0x5a0f28(0x254)]===0x0)continue;this[_0x5a0f28(0x48c)](_0x440980,_0x9fe1a5,_0x97e37b,_0x1561d0);}}}}}[_0x470848(0x3cd)](_0x591d35,_0x13196e,_0x3404c7,_0xa12e52,_0x3e142b){const _0xaf1dde=_0x470848;let {left:_0x2912f5,top:_0x16c64a,height:_0x503fff}=this['_getAnchorBounding'](_0x13196e),_0x34e5ba=1.5/this[_0xaf1dde(0x296)](),_0xc1c7d4=new _0x21620d[(_0xaf1dde(0x465))](_0x469998+(0x0,_0x3378d6[_0xaf1dde(0x4c4)])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52,'height':_0x503fff,'width':1.5,'fill':_0x591d35||(0x0,_0x21620d['getColor'])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'strokeWidth':_0x34e5ba,'stroke':'rgba(255,\x20255,\x20255,\x200.01)','evented':!0x0});this[_0xaf1dde(0x23d)]=_0xc1c7d4,this['_scene']['addObject'](_0xc1c7d4,_0xe8b960[_0xaf1dde(0x3c5)]);let _0x156f8=new _0x21620d[(_0xaf1dde(0x465))](_0x469998+(0x0,_0x3378d6[_0xaf1dde(0x4c4)])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x591d35||(0x0,_0x21620d['getColor'])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'strokeWidth':0x0,'stroke':_0x591d35||(0x0,_0x21620d[_0xaf1dde(0x3d3)])(_0x3378d6[_0xaf1dde(0x1d5)][_0xaf1dde(0x30e)],0x0),'evented':!0x1});this[_0xaf1dde(0x4b6)]=_0x156f8,this[_0xaf1dde(0x1b3)][_0xaf1dde(0x41a)](_0x156f8,_0xe8b960[_0xaf1dde(0x3c5)]);let _0x500f21=new _0x576e12(_0x469998+(0x0,_0x3378d6['generateRandomId'])(0x6),{'left':_0x2912f5+_0x3404c7-_0x34e5ba,'top':_0x16c64a+_0xa12e52-0x14,'text':_0x3e142b,'color':_0x591d35});this[_0xaf1dde(0x1d4)]=_0x500f21,this[_0xaf1dde(0x1b3)]['addObject'](_0x500f21,_0xe8b960['TEXT_RANGE_LAYER_INDEX']),this[_0xaf1dde(0x2d7)]=!0x1;}[_0x470848(0x428)](){const _0x319085=_0x470848;let _0x190405=this['_anchor'][_0x319085(0x1bd)][_0x319085(0x49b)](()=>{const _0x3da89c=_0x319085;this[_0x3da89c(0x2d7)]=!0x0;}),_0x37db2b=this[_0x319085(0x23d)]['onPointerLeave$'][_0x319085(0x49b)](()=>{const _0x3f03b4=_0x319085;this[_0x3f03b4(0x28e)]&&clearTimeout(this['_hideTimer']),this[_0x3f03b4(0x28e)]=setTimeout(()=>{const _0x5eebc6=_0x3f03b4;this[_0x5eebc6(0x2d7)]=!0x1;},0x7d0);});return()=>{const _0x28db24=_0x319085;_0x190405[_0x28db24(0x1d9)](),_0x37db2b[_0x28db24(0x1d9)]();};}[_0x470848(0x48c)](_0x4c6b0f,_0x368dfe,_0x5c06a2,_0x2b3542){const _0x592702=_0x470848;let _0x1e046d=0.2,_0x5cc0d7=new _0x3378d6[(_0x592702(0x1a1))](_0x4c6b0f)[_0x592702(0x1a5)](_0x1e046d)[_0x592702(0x33e)](),_0x363474=new _0x21620d[(_0x592702(0x2e4))](_0x592702(0x2ee)+(0x0,_0x3378d6[_0x592702(0x4c4)])(0x6),{'pointsGroup':_0x368dfe,'fill':_0x5cc0d7||(0x0,_0x21620d['getColor'])(_0x3378d6[_0x592702(0x1d5)][_0x592702(0x30e)],_0x1e046d),'left':_0x5c06a2,'top':_0x2b3542,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x592702(0x272)][_0x592702(0x207)](_0x363474),this['_scene'][_0x592702(0x41a)](_0x363474,_0xe8b960['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5af5fb,_0x296e76,_0x4735a2,_0x159674){const _0x52fe90=_0x470848;let _0x3c0fb2=0.2,_0x4b4b5a=new _0x3378d6[(_0x52fe90(0x1a1))](_0x5af5fb)['setAlpha'](_0x3c0fb2)['toRgbString'](),_0xef8584=new _0x21620d['RegularPolygon'](_0x52fe90(0x497)+(0x0,_0x3378d6['generateRandomId'])(0x6),{'pointsGroup':_0x296e76,'fill':_0x4b4b5a||(0x0,_0x21620d[_0x52fe90(0x3d3)])(_0x3378d6[_0x52fe90(0x1d5)][_0x52fe90(0x30e)],_0x3c0fb2),'left':_0x4735a2,'top':_0x159674,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52fe90(0x272)][_0x52fe90(0x207)](_0xef8584),this[_0x52fe90(0x1b3)][_0x52fe90(0x41a)](_0xef8584,_0xe8b960['TEXT_RANGE_LAYER_INDEX']);}[_0x470848(0x449)](_0x1eaac2){let _0xb862dc=_0x1eaac2[0x0],_0x5be60e=_0xb862dc[0x0],_0x2cb52d=_0xb862dc[0x2],{x:_0x21083a,y:_0x40a939}=_0x5be60e,{x:_0x543591,y:_0x1817b8}=_0x2cb52d;return{'left':_0x21083a,'top':_0x40a939,'width':_0x543591-_0x21083a,'height':_0x1817b8-_0x40a939};}[_0x470848(0x296)](){const _0x320a66=_0x470848;let {scaleX:_0xc73a71,scaleY:_0x24ea84}=this[_0x320a66(0x1b3)][_0x320a66(0x369)]();return Math[_0x320a66(0x24e)](_0xc73a71,_0x24ea84);}};let _0x42c69d=class extends _0x3378d6['RxDisposable']{constructor(_0x5e3ce7,_0x1103a3,_0x80dc36,_0x4afc9e,_0x20116d){const _0x34c4ee=_0x470848;super(),this[_0x34c4ee(0x40a)]=_0x5e3ce7,this[_0x34c4ee(0x291)]=_0x1103a3,this[_0x34c4ee(0x405)]=_0x80dc36,this[_0x34c4ee(0x3cf)]=_0x4afc9e,this[_0x34c4ee(0x1f3)]=_0x20116d,_0x317deb(this,_0x34c4ee(0x431),[]),_0x317deb(this,_0x34c4ee(0x196),[]),this[_0x34c4ee(0x1a4)]();}['_init'](){const _0xfa924a=_0x470848;let _0x1ab01b=this[_0xfa924a(0x40a)][_0xfa924a(0x1fb)],_0x46296c=this[_0xfa924a(0x291)];this[_0xfa924a(0x3a7)]((0x0,_0x5515fe['combineLatest'])([this['_collabCursorController']['getCollabCursors$'](_0x1ab01b),this[_0xfa924a(0x1f3)][_0xfa924a(0x305)]])[_0xfa924a(0x376)]((0x0,_0x18241c['map'])(([_0x3869a8,_0x2d8063])=>({'skeleton':_0x46296c[_0xfa924a(0x251)](),'cursors':[..._0x3869a8['values']()][_0xfa924a(0x176)](_0x3a262d=>({..._0x3a262d,'color':this['_themeService'][_0xfa924a(0x28b)](_0x3a262d['color'])}))})))[_0xfa924a(0x31e)](_0x12fa82=>{const _0x34f80c=_0xfa924a;if(this[_0x34f80c(0x400)](),_0x12fa82){let {skeleton:_0x575c0e,cursors:_0x3cb942}=_0x12fa82;this[_0x34f80c(0x2db)](_0x575c0e,_0x3cb942);}})),this[_0xfa924a(0x2c9)](),this[_0xfa924a(0x3d9)]();}[_0x470848(0x2db)](_0xe7f342,_0x1f76c7){const _0x5290b2=_0x470848;let {scene:_0x7b0600,mainComponent:_0x3aa745}=this['_context'],_0x34ca63=_0x1f76c7[_0x5290b2(0x40f)](_0x3ed41a=>new _0x33bf4d(_0x3ed41a,_0x7b0600,_0xe7f342,_0x3aa745));this[_0x5290b2(0x431)]=_0x34ca63,this[_0x5290b2(0x196)]=_0x1f76c7;}['_refreshCollabCursors'](){const _0x1567a9=_0x470848;this['_removeCollabCursors']();let {scene:_0x3da2ae,mainComponent:_0x3d4a7c}=this[_0x1567a9(0x40a)],_0x44bb70=this[_0x1567a9(0x291)][_0x1567a9(0x251)](),_0x3c0b6c=this['_cursors'][_0x1567a9(0x40f)](_0x4659f4=>new _0x33bf4d(_0x4659f4,_0x3da2ae,_0x44bb70,_0x3d4a7c));this[_0x1567a9(0x431)]=_0x3c0b6c;}[_0x470848(0x400)](){const _0x1aaadc=_0x470848;this[_0x1aaadc(0x431)][_0x1aaadc(0x315)](_0x1128ee=>_0x1128ee['dispose']()),this[_0x1aaadc(0x431)]=[];}[_0x470848(0x3d9)](){const _0x18a98a=_0x470848;let _0x29699e=[_0xe8b960['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x18a98a(0x3cf)][_0x18a98a(0x21f)](_0x218f24=>{const _0x132420=_0x18a98a;_0x29699e[_0x132420(0x18b)](_0x218f24['id'])&&_0x218f24[_0x132420(0x31c)][_0x132420(0x1fb)]===this[_0x132420(0x40a)][_0x132420(0x1fb)]&&this[_0x132420(0x4cf)]();}));}[_0x470848(0x2c9)](){const _0x5e40b1=_0x470848;this[_0x5e40b1(0x3a7)]((0x0,_0x3378d6[_0x5e40b1(0x33f)])(this[_0x5e40b1(0x40a)][_0x5e40b1(0x3bd)][_0x5e40b1(0x258)])[_0x5e40b1(0x376)]((0x0,_0x18241c[_0x5e40b1(0x25d)])(_0x38d302=>_0x38d302['type']===_0x21620d[_0x5e40b1(0x2e7)][_0x5e40b1(0x1be)]),(0x0,_0x18241c[_0x5e40b1(0x493)])(0x10))[_0x5e40b1(0x31e)](()=>{this['_refreshCollabCursors']();}));}};_0x42c69d=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6['Inject'])(_0x904e3[_0x470848(0x494)])),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x3,_0x3378d6[_0x470848(0x3d2)]),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x3a2)]))],_0x42c69d);var _0x4b97e2=class extends _0x21620d[_0x470848(0x404)]{constructor(_0x4a1cb6,_0x2b317b){const _0x35107b=_0x470848;if(super(_0x4a1cb6,_0x2b317b),_0x317deb(this,_0x35107b(0x1cf),void 0x0),_0x317deb(this,_0x35107b(0x16d),!0x1),_0x317deb(this,_0x35107b(0x222),void 0x0),_0x317deb(this,_0x35107b(0x273),''),_0x317deb(this,_0x35107b(0x3bc),_0x35107b(0x2f7)),_0x317deb(this,_0x35107b(0x310),void 0x0),_0x317deb(this,_0x35107b(0x20a),void 0x0),_0x317deb(this,_0x35107b(0x29a),void 0x0),_0x317deb(this,_0x35107b(0x359),0x4),_0x317deb(this,_0x35107b(0x3ad),void 0x0),_0x317deb(this,'_blinkIntervalTimer',void 0x0),_0x317deb(this,_0x35107b(0x189),!0x0),_0x317deb(this,_0x35107b(0x3e7),0x0),_0x317deb(this,_0x35107b(0x432),'right'),_0x2b317b){var _0xad54d;if(this['setShapeProps'](_0x2b317b),_0x2b317b[_0x35107b(0x41b)]&&((_0xad54d=_0x2b317b[_0x35107b(0x3ff)])==null?this['_highlightSecond']:_0xad54d)){var _0x2e3c14;this[_0x35107b(0x3d4)]((_0x2e3c14=_0x2b317b[_0x35107b(0x3ff)])==null?this[_0x35107b(0x359)]:_0x2e3c14);}}this[_0x35107b(0x1bd)]['subscribeEvent'](()=>this[_0x35107b(0x467)]({'hovered':!0x0})),this['onPointerLeave$'][_0x35107b(0x49b)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x470848(0x454)](_0x3a70a8){const _0x399160=_0x470848;this[_0x399160(0x3e7)]=_0x3a70a8;}[_0x470848(0x467)](_0x2c8b53){const _0x15cb06=_0x470848;var _0x214e3e,_0x1772dd,_0xa8c6f1,_0x444875,_0x28bfc7,_0x397691,_0x1578f3,_0x49879b;this[_0x15cb06(0x1cf)]=(_0x214e3e=_0x2c8b53['color'])==null?this[_0x15cb06(0x1cf)]:_0x214e3e,this[_0x15cb06(0x16d)]=(_0x1772dd=_0x2c8b53[_0x15cb06(0x314)])==null?this[_0x15cb06(0x16d)]:_0x1772dd,this[_0x15cb06(0x222)]=(_0xa8c6f1=_0x2c8b53[_0x15cb06(0x429)])==null?this[_0x15cb06(0x222)]:_0xa8c6f1,this[_0x15cb06(0x273)]=(_0x444875=_0x2c8b53['name'])==null?this['_name']:_0x444875,this[_0x15cb06(0x3bc)]=(_0x28bfc7=_0x2c8b53['labelPosition'])==null?this['_labelPosition']:_0x28bfc7,this[_0x15cb06(0x310)]=(_0x397691=_0x2c8b53[_0x15cb06(0x2dc)])==null?this[_0x15cb06(0x310)]:_0x397691,this[_0x15cb06(0x20a)]=(_0x1578f3=_0x2c8b53[_0x15cb06(0x3f6)])==null?this['_showText']:_0x1578f3,this[_0x15cb06(0x432)]=(_0x49879b=_0x2c8b53[_0x15cb06(0x3c4)])==null?this[_0x15cb06(0x432)]:_0x49879b,_0x2c8b53[_0x15cb06(0x3ff)]!==void 0x0&&(this['_highlightSecond']=_0x2c8b53['highlightSecond']),_0x2c8b53[_0x15cb06(0x41b)]!==void 0x0&&(this['_highlight']=_0x2c8b53[_0x15cb06(0x41b)]),_0x2c8b53[_0x15cb06(0x1b2)]!==void 0x0&&(this[_0x15cb06(0x3e7)]=_0x2c8b53[_0x15cb06(0x1b2)]),this[_0x15cb06(0x402)]({'width':_0x2c8b53[_0x15cb06(0x2a6)],'height':_0x2c8b53[_0x15cb06(0x279)]});}[_0x470848(0x389)](_0x106169){const _0x14640a=_0x470848;let {row:_0x18023f,column:_0x35a5c8}=_0x106169;if(_0x18023f>=this[_0x14640a(0x222)][_0x14640a(0x288)]&&_0x18023f<=this[_0x14640a(0x222)][_0x14640a(0x199)]&&_0x35a5c8>=this[_0x14640a(0x222)][_0x14640a(0x3f2)]&&_0x35a5c8<=this[_0x14640a(0x222)][_0x14640a(0x370)]){this[_0x14640a(0x467)]({'hovered':!0x0});return;}this[_0x14640a(0x467)]({'hovered':!0x1});}[_0x470848(0x3d4)](_0x38e9ae){const _0x186d15=_0x470848;this[_0x186d15(0x477)](),this[_0x186d15(0x189)]=!0x0,this[_0x186d15(0x459)]=window[_0x186d15(0x1aa)](()=>{const _0x4f1f46=_0x186d15;this[_0x4f1f46(0x189)]=!this['_isBlinkVisible'],this[_0x4f1f46(0x188)](!0x0);},0x1f4),this[_0x186d15(0x3ad)]=window['setTimeout'](()=>{const _0x29773b=_0x186d15;this[_0x29773b(0x477)](),this[_0x29773b(0x189)]=!0x0,this['makeDirty'](!0x0);},_0x38e9ae*0x3e8);}[_0x470848(0x477)](){const _0x1187b3=_0x470848;this['_blinkIntervalTimer']&&(window[_0x1187b3(0x284)](this[_0x1187b3(0x459)]),this['_blinkIntervalTimer']=void 0x0),this[_0x1187b3(0x3ad)]&&(window[_0x1187b3(0x373)](this['_blinkTimer']),this['_blinkTimer']=void 0x0);}[_0x470848(0x27c)](_0x5f1271){return!0x1;}[_0x470848(0x39c)](){const _0x21c080=_0x470848;this[_0x21c080(0x477)](),super[_0x21c080(0x39c)]();}[_0x470848(0x3e4)](_0x3bac3c){const _0x43fe87=_0x470848;let _0x1a8dfd=this[_0x43fe87(0x1cf)],_0x568092=this[_0x43fe87(0x310)];if(this['_highlight']&&!this[_0x43fe87(0x189)]&&(_0x1a8dfd=this[_0x43fe87(0x43b)](this['_color']),_0x568092=this['_backgroundColor']?this[_0x43fe87(0x43b)](this[_0x43fe87(0x310)]):void 0x0),_0x21620d[_0x43fe87(0x465)][_0x43fe87(0x3f8)](_0x3bac3c,{'width':this['width'],'height':this[_0x43fe87(0x279)],'strokeWidth':this[_0x43fe87(0x408)]||1.5,'stroke':_0x1a8dfd,'evented':!0x1,'fill':_0x568092}),this[_0x43fe87(0x16d)]||this[_0x43fe87(0x20a)]){var _0x1149a0;_0x3bac3c[_0x43fe87(0x38c)]();let _0x4a856a=this[_0x43fe87(0x432)]===_0x43fe87(0x3c2)?-_0x12ec35(_0x3bac3c,this[_0x43fe87(0x273)]):this[_0x43fe87(0x2a6)];_0x3bac3c['transform'](0x1,0x0,0x0,0x1,_0x4a856a,(this[_0x43fe87(0x3bc)]==='bottom'?0x0:-0x14)+((_0x1149a0=this[_0x43fe87(0x3e7)])==null?0x0:_0x1149a0)),_0x576e12['drawWith'](_0x3bac3c,{'text':this[_0x43fe87(0x273)],'color':_0x1a8dfd}),_0x3bac3c[_0x43fe87(0x417)]();}}[_0x470848(0x43b)](_0x2d0799){const _0x4e5d5c=_0x470848;return _0x2d0799[_0x4e5d5c(0x42b)]('#')?_0x4e5d5c(0x4c8)+Number[_0x4e5d5c(0x2a1)](_0x2d0799['slice'](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x2d0799['slice'](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x2d0799['slice'](0x5,0x7),0x10)+_0x4e5d5c(0x183):_0x2d0799[_0x4e5d5c(0x42b)]('rgba')?_0x2d0799[_0x4e5d5c(0x2aa)](/[\d.]+\)$/g,_0x4e5d5c(0x4ca)):_0x2d0799[_0x4e5d5c(0x42b)](_0x4e5d5c(0x3a8))?_0x2d0799[_0x4e5d5c(0x2aa)](_0x4e5d5c(0x3a8),_0x4e5d5c(0x18e))[_0x4e5d5c(0x2aa)](')',_0x4e5d5c(0x183)):_0x2d0799;}};let _0x13f49e=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x32a416,_0x31aae0,_0x41c4da,_0x41a4da){const _0x4bc5f3=_0x470848;super(),this['_context']=_0x32a416,this[_0x4bc5f3(0x1a3)]=_0x31aae0,this[_0x4bc5f3(0x405)]=_0x41c4da,this['_themeService']=_0x41a4da,_0x317deb(this,_0x4bc5f3(0x196),new Set()),_0x317deb(this,_0x4bc5f3(0x482),null),_0x317deb(this,_0x4bc5f3(0x2ec),null),this[_0x4bc5f3(0x1a4)]();}[_0x470848(0x1a4)](){const _0x4534d2=_0x470848;this[_0x4534d2(0x1a3)][_0x4534d2(0x2a2)][_0x4534d2(0x376)]((0x0,_0x18241c[_0x4534d2(0x3e2)])(this['dispose$']),(0x0,_0x18241c[_0x4534d2(0x187)])(_0x5df1b5=>{const _0x1c70ba=_0x4534d2;if(_0x5df1b5){let _0x14ea96=_0x5df1b5['sheetId'];return(0x0,_0x5515fe[_0x1c70ba(0x297)])(this['_collabCursorController'][_0x1c70ba(0x16c)](this[_0x1c70ba(0x40a)][_0x1c70ba(0x1fb)]),this['_themeService']['currentTheme$'])[_0x1c70ba(0x376)]((0x0,_0x18241c[_0x1c70ba(0x40f)])(([_0x27baa2,_0x462333])=>{const _0x160e73=_0x1c70ba;let _0x323ca8=new Map();return _0x27baa2[_0x160e73(0x315)]((_0x47cdca,_0x286a1f)=>{const _0x348136=_0x160e73;if(_0x47cdca[_0x348136(0x41e)]===_0x14ea96){let _0x14b11c={..._0x47cdca};_0x14b11c[_0x348136(0x1e6)]=this['_themeService'][_0x348136(0x28b)](_0x47cdca[_0x348136(0x1e6)]),_0x323ca8[_0x348136(0x406)](_0x286a1f,_0x14b11c);}}),{'skeleton':_0x5df1b5,'cursors':_0x323ca8};}));}return(0x0,_0x5515fe['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4acc4c,cursors:_0x1d13fe})=>{const _0xddd00e=_0x4534d2;this[_0xddd00e(0x400)](),_0x4acc4c&&this[_0xddd00e(0x2db)](_0x4acc4c,_0x1d13fe);}),this[_0x4534d2(0x3a7)](this[_0x4534d2(0x1a3)]['currentSkeleton$'][_0x4534d2(0x376)]((0x0,_0x18241c['takeUntil'])(this['dispose$']))['subscribe'](_0x417806=>{const _0x1fd1f9=_0x4534d2;var _0x2044b9;if(_0x417806==null)return;(_0x2044b9=this[_0x1fd1f9(0x2ec)])==null||_0x2044b9[_0x1fd1f9(0x1d9)](),this['_pointerMoveDisposable']=null;let {skeleton:_0xfea463}=_0x417806,{scene:_0x5456a9}=this[_0x1fd1f9(0x40a)];this['_pointerMoveDisposable']=_0x5456a9[_0x1fd1f9(0x221)][_0x1fd1f9(0x49b)]((0x0,_0x3378d6[_0x1fd1f9(0x1fd)])(_0x219817=>{const _0xe24049=_0x1fd1f9;var _0x513915,_0x69ae3c;let {offsetX:_0x49c3bd,offsetY:_0x1910b8}=_0x219817,{x:_0x2b2ede,y:_0x5bad8e}=_0x5456a9['getRelativeToViewportCoord'](_0x21620d[_0xe24049(0x178)][_0xe24049(0x328)]([_0x49c3bd,_0x1910b8])),{scaleX:_0x257a44,scaleY:_0x4d31a9}=_0x5456a9['getAncestorScale'](),_0x1591f9=_0x5456a9[_0xe24049(0x230)](_0x21620d[_0xe24049(0x219)][_0xe24049(0x42c)]),_0x12c9c4=_0x5456a9[_0xe24049(0x3ef)](_0x21620d[_0xe24049(0x178)][_0xe24049(0x328)]([_0x2b2ede,_0x5bad8e]),_0x1591f9),_0x1c6a44=_0xfea463[_0xe24049(0x21c)](_0x49c3bd,_0x1910b8,_0x257a44,_0x4d31a9,_0x12c9c4);((_0x513915=this[_0xe24049(0x482)])==null?void 0x0:_0x513915[_0xe24049(0x41d)])===_0x1c6a44['column']&&((_0x69ae3c=this['_lastPointer'])==null?void 0x0:_0x69ae3c[_0xe24049(0x499)])===_0x1c6a44[_0xe24049(0x499)]||this[_0xe24049(0x196)]['forEach'](_0x17467f=>{const _0x2ba75d=_0xe24049;_0x17467f[_0x2ba75d(0x389)](_0x1c6a44);});},0x64));})),this[_0x4534d2(0x3a7)]((0x0,_0x3378d6[_0x4534d2(0x44d)])(()=>{const _0x493dad=_0x4534d2;var _0x3db703;(_0x3db703=this[_0x493dad(0x2ec)])==null||_0x3db703[_0x493dad(0x1d9)](),this[_0x493dad(0x2ec)]=null;}));}[_0x470848(0x2db)](_0x4bada3,_0x4df86e){const _0x5759d7=_0x470848;let _0x396a96=this[_0x5759d7(0x1a3)][_0x5759d7(0x303)]();if(!_0x396a96)return;let _0x33c184=this[_0x5759d7(0x39f)]();if(!_0x33c184)return;this[_0x5759d7(0x196)]['forEach'](_0x21f642=>{_0x21f642['makeDirty']();});let {scene:_0x7c7e98}=_0x33c184,_0x11a152=_0x24cfc1(Array['from'](_0x4df86e['values']()))[_0x5759d7(0x40f)](_0x2376ac=>{const _0x5cd022=_0x5759d7;let {color:_0xf30109,range:_0x54f8ac,name:_0x1dfb39,selection:_0xb81b86,sheetID:_0x3cbe21}=_0x2376ac,{startColumn:_0xea7497,startRow:_0x5042f1,endColumn:_0x325fde,endRow:_0x53a286}=_0x54f8ac,_0x39eb05=(0x0,_0x4fe045[_0x5cd022(0x47f)])(_0x5042f1,_0xea7497,_0x7c7e98,_0x396a96),_0x2a24f3=(0x0,_0x4fe045[_0x5cd022(0x47f)])(_0x53a286,_0x325fde,_0x7c7e98,_0x396a96),{columnHeaderHeightAndMarginTop:_0x1061f2}=_0x396a96,{startX:_0x43da9f,startY:_0x1a2f80}=_0x39eb05,{endX:_0x4d7dbf,endY:_0x67b6a2}=_0x2a24f3,_0x4a8757=_0x4d7dbf-_0x43da9f,_0x11f797=_0x67b6a2-_0x1a2f80;return new _0x4b97e2(_0x1dfb39,{'labelPosition':_0x1a2f80-_0x1061f2>=0x14?_0x5cd022(0x2f7):_0x5cd022(0x192),'sheetID':_0x3cbe21,'range':_0x54f8ac,'color':_0xf30109,'name':_0x1dfb39,'selection':_0xb81b86,'left':_0x43da9f,'top':_0x1a2f80,'width':_0x4a8757,'height':_0x11f797,'evented':!0x1,'zIndex':0x1389});});_0x7c7e98[_0x5759d7(0x16e)](_0x11a152,0x1),this['_cursors']=new Set(_0x11a152);}[_0x470848(0x400)](){const _0x37267d=_0x470848;var _0xe4897c;(_0xe4897c=this[_0x37267d(0x196)])==null||_0xe4897c['forEach'](_0x11a7a2=>_0x11a7a2[_0x37267d(0x39c)]());}['_getSheetObject'](){const _0x5ac654=_0x470848;return(0x0,_0x4fe045[_0x5ac654(0x3ac)])(this[_0x5ac654(0x40a)]['unit'],this[_0x5ac654(0x40a)]);}};_0x13f49e=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x4fe045[_0x470848(0x3b8)])),_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3b029d)),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x3a2)]))],_0x13f49e);function _0x24cfc1(_0x3af242){const _0x458cf8=_0x470848;let _0x1c3354=new Map();return _0x3af242[_0x458cf8(0x315)](_0xb48463=>{const _0x7932b2=_0x458cf8;if(_0x1c3354[_0x7932b2(0x1c9)](_0xb48463[_0x7932b2(0x466)])){let _0x535116=_0x1c3354[_0x7932b2(0x226)](_0xb48463[_0x7932b2(0x466)]);_0x535116['name']+=',\x20'+_0xb48463[_0x7932b2(0x4a9)];}else _0x1c3354[_0x7932b2(0x406)](_0xb48463['selection'],_0xb48463);}),Array['from'](_0x1c3354[_0x458cf8(0x3f9)]());}let _0xab6e53=class extends _0x3378d6['RxDisposable']{constructor(_0x5d2e3e,_0x491ffb,_0x2f8a8d){const _0x45bdc8=_0x470848;super(),this[_0x45bdc8(0x40a)]=_0x5d2e3e,this['_collabCursorController']=_0x491ffb,this[_0x45bdc8(0x1f3)]=_0x2f8a8d,_0x317deb(this,_0x45bdc8(0x196),new Set()),_0x317deb(this,_0x45bdc8(0x2cf),!0x1),_0x317deb(this,'_isApplyingOverlays',!0x1),_0x317deb(this,'_latestCursors',new Map()),this[_0x45bdc8(0x1a4)]();}[_0x470848(0x39c)](){const _0x27638c=_0x470848;this[_0x27638c(0x400)](),super[_0x27638c(0x39c)]();}['_init'](){const _0x509e9e=_0x470848;let _0x2624a6=this[_0x509e9e(0x40a)][_0x509e9e(0x18a)]['pageManager'][_0x509e9e(0x36c)],_0x456f40=this[_0x509e9e(0x405)][_0x509e9e(0x16c)](this[_0x509e9e(0x40a)][_0x509e9e(0x1fb)]);this[_0x509e9e(0x3a7)]((0x0,_0x3378d6[_0x509e9e(0x44d)])((0x0,_0x5515fe['combineLatest'])([_0x456f40,_0x2624a6,this['_themeService'][_0x509e9e(0x305)]])['pipe']((0x0,_0x5515fe[_0x509e9e(0x3e2)])(this['dispose$']))['subscribe'](([_0x5da030,_0x26c764])=>{const _0x22432b=_0x509e9e;let _0xbd68d1=new Map();_0x5da030[_0x22432b(0x315)]((_0x3e553d,_0x48c8bb)=>{const _0x455ee4=_0x22432b;_0x3e553d[_0x455ee4(0x3cb)]===_0x26c764&&_0xbd68d1[_0x455ee4(0x406)](_0x48c8bb,{..._0x3e553d,'color':this[_0x455ee4(0x1f3)][_0x455ee4(0x28b)](_0x3e553d['color'])});}),this[_0x22432b(0x44e)]=_0xbd68d1,this[_0x22432b(0x49c)]();})));let _0x47498b=this[_0x509e9e(0x40a)][_0x509e9e(0x1cb)];this['disposeWithMe']((0x0,_0x3378d6['toDisposable'])(_0x47498b[_0x509e9e(0x415)][_0x509e9e(0x376)]((0x0,_0x5515fe[_0x509e9e(0x3e2)])(this[_0x509e9e(0x173)]))[_0x509e9e(0x31e)](()=>{const _0x318640=_0x509e9e;this[_0x318640(0x23c)]||this['_scheduleRender']();})));}[_0x470848(0x49c)](){const _0x851126=_0x470848;this['_renderScheduled']||(this['_renderScheduled']=!0x0,Promise['resolve']()[_0x851126(0x308)](()=>{const _0x166165=_0x851126;this[_0x166165(0x2cf)]=!0x1,this[_0x166165(0x2d4)]();}));}[_0x470848(0x2d4)](){const _0x16198d=_0x470848;var _0x430b34;this[_0x16198d(0x400)]();let _0x462a4b=(_0x430b34=this[_0x16198d(0x40a)][_0x16198d(0x18a)][_0x16198d(0x2a0)]['getActiveSlide']())==null?void 0x0:_0x430b34[_0x16198d(0x426)]();if(!_0x462a4b)return;let _0x1e2811=[];if(this[_0x16198d(0x44e)][_0x16198d(0x315)]((_0x16406e,_0x580cf3)=>{const _0x2ab93c=_0x16198d;_0x16406e[_0x2ab93c(0x3cb)]===_0x462a4b&&_0x16406e['selectedIds'][_0x2ab93c(0x315)](_0x59e251=>{const _0x28b74a=_0x2ab93c;let _0x348dbc=(0x0,_0x524d80['buildDrawingOKey'])(_0x16406e[_0x28b74a(0x1fb)],_0x16406e['subUnitId'],_0x59e251),_0x14fcb7=this[_0x28b74a(0x43a)](_0x348dbc);if(!_0x14fcb7)return;let _0x1a1d18=this[_0x28b74a(0x2bd)](_0x14fcb7);_0x1e2811[_0x28b74a(0x207)](new _0xac951d(_0x28b74a(0x2c1)+_0x580cf3+'-'+_0x59e251,{..._0x16406e,'left':_0x1a1d18[_0x28b74a(0x3c2)],'top':_0x1a1d18[_0x28b74a(0x2f7)],'width':_0x1a1d18['width'],'height':_0x1a1d18[_0x28b74a(0x279)],'angle':_0x14fcb7[_0x28b74a(0x33a)],'evented':!0x1,'zIndex':_0x344036}));});}),_0x1e2811[_0x16198d(0x254)]===0x0){this[_0x16198d(0x40a)]['scene'][_0x16198d(0x188)](!0x0);return;}this['_isApplyingOverlays']=!0x0,this[_0x16198d(0x40a)][_0x16198d(0x1cb)][_0x16198d(0x16e)](_0x1e2811,_0x344036),this['_isApplyingOverlays']=!0x1,this['_cursors']=new Set(_0x1e2811),this[_0x16198d(0x40a)][_0x16198d(0x1cb)][_0x16198d(0x188)](!0x0);}[_0x470848(0x400)](){const _0x1b29a6=_0x470848;let _0x280061=Array[_0x1b29a6(0x452)](this['_cursors']);if(_0x280061[_0x1b29a6(0x254)]===0x0)return;let _0x577362=this[_0x1b29a6(0x40a)]['scene'];_0x1b29a6(0x1a6)in _0x577362&&typeof _0x577362[_0x1b29a6(0x1a6)]=='function'?_0x577362[_0x1b29a6(0x1a6)](_0x280061):_0x280061[_0x1b29a6(0x315)](_0x50f1d3=>{const _0x5aa8af=_0x1b29a6;'removeObject'in _0x577362&&typeof _0x577362[_0x5aa8af(0x259)]==_0x5aa8af(0x489)?_0x577362[_0x5aa8af(0x259)](_0x50f1d3):_0x50f1d3[_0x5aa8af(0x39c)]();}),this['_cursors'][_0x1b29a6(0x2f8)](),_0x577362[_0x1b29a6(0x188)](!0x0);}['_getSceneObjectByKey'](_0x2b189d){const _0x546ece=_0x470848;var _0x16e568,_0x3938fc,_0x3e5157;let _0x53f855=this[_0x546ece(0x40a)][_0x546ece(0x1cb)];return(_0x16e568=(_0x3938fc=(_0x3e5157=_0x53f855[_0x546ece(0x2e2)])==null?void 0x0:_0x3e5157[_0x546ece(0x442)](_0x53f855,_0x2b189d))==null?_0x53f855[_0x546ece(0x4af)](_0x2b189d):_0x3938fc)==null?null:_0x16e568;}[_0x470848(0x2bd)](_0x67b974){const _0x27e9aa=_0x470848;var _0x67362c,_0x359412;let _0x50b06d=_0x67b974;return(_0x67362c=(_0x359412=_0x50b06d[_0x27e9aa(0x463)])==null?void 0x0:_0x359412['call'](_0x50b06d))==null?{'left':_0x67b974[_0x27e9aa(0x3c2)],'top':_0x67b974[_0x27e9aa(0x2f7)],'width':_0x67b974[_0x27e9aa(0x2a6)],'height':_0x67b974['height']}:_0x67362c;}};_0xab6e53=_0x265259([_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3b029d)),_0x4f2c8d(0x2,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x3a2)]))],_0xab6e53);let _0x3b11db=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x361ece,_0x4b225e,_0xa5a274,_0x2f604e,_0x3fd34c,_0x20c515){const _0x2e1d83=_0x470848;super(),this[_0x2e1d83(0x256)]=_0x361ece,this[_0x2e1d83(0x42e)]=_0x4b225e,this['_collaborationUIEventService']=_0xa5a274,this['_messageService']=_0x2f604e,this[_0x2e1d83(0x249)]=_0x3fd34c,this[_0x2e1d83(0x235)]=_0x20c515,this[_0x2e1d83(0x27a)](),this[_0x2e1d83(0x225)]();}['_setupBeforeClosingHandler'](){const _0xc7e49e=_0x470848;this[_0xc7e49e(0x3a7)](this[_0xc7e49e(0x256)][_0xc7e49e(0x1ed)](()=>{const _0x519552=_0xc7e49e;if(this[_0x519552(0x42e)]['saveTaskMap'][_0x519552(0x309)])return this[_0x519552(0x235)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x470848(0x225)](){const _0x55730c=_0x470848;this[_0x55730c(0x3a7)](this[_0x55730c(0x185)][_0x55730c(0x4c6)][_0x55730c(0x31e)](_0x16b369=>{const _0x182ed6=_0x55730c;_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x384)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933['MessageType']['Warning'],'content':this[_0x182ed6(0x235)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x3f3)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x179)],'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x421))}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x393)]&&this[_0x182ed6(0x249)][_0x182ed6(0x3ea)]({'title':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x2b9)),'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x2de)),'type':_0x182ed6(0x194),'duration':0x0}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)]['CONFLICT']&&this['_notificationService'][_0x182ed6(0x3ea)]({'title':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x444)),'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x469)),'type':_0x182ed6(0x194),'duration':0x0}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x1f0)]&&this['_messageService'][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x179)],'content':this[_0x182ed6(0x235)]['t'](_0x16b369[_0x182ed6(0x3f5)]||'')}),_0x16b369['id']===_0x289c2c['CollaborationUIEventId'][_0x182ed6(0x3ba)]&&this['_messageService'][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)]['Warning'],'content':this[_0x182ed6(0x235)]['t']('collaboration-client-ui.session.will-retry')}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x3b6)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933[_0x182ed6(0x2d2)][_0x182ed6(0x3cc)],'content':this['_localeService']['t'](_0x182ed6(0x45b))}),_0x16b369['id']===_0x289c2c[_0x182ed6(0x464)][_0x182ed6(0x2b4)]&&this[_0x182ed6(0x4c3)][_0x182ed6(0x3ea)]({'type':_0x472933['MessageType'][_0x182ed6(0x3cc)],'content':this[_0x182ed6(0x235)]['t'](_0x182ed6(0x29e))});}));}};_0x3b11db=_0x265259([_0x4f2c8d(0x0,_0x4dab43[_0x470848(0x244)]),_0x4f2c8d(0x1,_0x289c2c[_0x470848(0x4b7)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c['CollaborationUIEventService'])),_0x4f2c8d(0x3,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x4,_0x4dab43[_0x470848(0x339)]),_0x4f2c8d(0x5,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x23b)]))],_0x3b11db);let _0x48f9b0=(0x0,_0x3378d6[_0x470848(0x4a6)])(_0x470848(0x1c1)),_0x48aa1e=class extends _0x3378d6[_0x470848(0x42a)]{constructor(_0x348a40,_0xed9e11,_0x39695b,_0x499e7e,_0x2c8d34){const _0x542e91=_0x470848;super(),this[_0x542e91(0x190)]=_0x348a40,this[_0x542e91(0x468)]=_0xed9e11,this[_0x542e91(0x3cf)]=_0x39695b,this[_0x542e91(0x181)]=_0x499e7e,_0x2c8d34?_0x2c8d34[_0x542e91(0x394)]()[_0x542e91(0x308)](()=>this[_0x542e91(0x1a4)]()):(this[_0x542e91(0x468)][_0x542e91(0x3a6)](_0x542e91(0x3c3),_0x542e91(0x4c5)),this['_init']());}async[_0x470848(0x1a4)](){const _0x2a4098=_0x470848;let _0x4c9aee=this['_urlService'][_0x2a4098(0x490)](_0x2a4098(0x18a)),_0x54be83=this[_0x2a4098(0x190)][_0x2a4098(0x490)](_0x2a4098(0x36b)),_0x62bebe=this[_0x2a4098(0x190)][_0x2a4098(0x490)](_0x2a4098(0x414));if(!_0x4c9aee||!_0x54be83){this[_0x2a4098(0x468)][_0x2a4098(0x3a6)]('[CollaborationDataLoaderController]',_0x2a4098(0x195));return;}let _0x8caf57=await this[_0x2a4098(0x181)][_0x2a4098(0x2f1)](_0x4c9aee,Number(_0x54be83),_0x62bebe);_0x8caf57&&_0x8caf57 instanceof _0x3378d6[_0x2a4098(0x356)]&&this[_0x2a4098(0x311)](_0x8caf57);}async[_0x470848(0x311)](_0x1f338a){const _0x366689=_0x470848;await this[_0x366689(0x325)](_0x1f338a),_0x1f338a[_0x366689(0x34f)][_0x366689(0x376)]((0x0,_0x5515fe[_0x366689(0x3e2)])(this['dispose$']))[_0x366689(0x31e)](_0x197bdf=>{const _0x48452d=_0x366689;_0x197bdf&&this[_0x48452d(0x204)](_0x197bdf);}),this[_0x366689(0x190)][_0x366689(0x216)][_0x366689(0x376)]((0x0,_0x5515fe[_0x366689(0x3e2)])(this['dispose$']))[_0x366689(0x31e)](()=>this['_updateSubUnitFromURLParams'](_0x1f338a));}['_updateURLWithCurrentState'](_0x886c8d,_0x4e9342=!0x1){const _0x281fd1=_0x470848;let _0x2538f0=this[_0x281fd1(0x190)]['getParam'](_0x281fd1(0x414));_0x886c8d['getSheetId']()!==_0x2538f0&&this['_urlService']['setParam'](_0x281fd1(0x414),_0x886c8d[_0x281fd1(0x293)](),_0x4e9342);}async[_0x470848(0x325)](_0x4b047e){const _0x1743b4=_0x470848;var _0x391465;let _0x1faa9e=this['_urlService'][_0x1743b4(0x490)](_0x1743b4(0x414));if(!_0x1faa9e||!_0x4b047e['getSheetBySheetId'](_0x1faa9e)){let _0x42811d=_0x4b047e[_0x1743b4(0x306)]()[0x0],_0x173c8b=_0x4b047e[_0x1743b4(0x4c2)](_0x42811d);if(!_0x173c8b)return;this['_updateURLWithCurrentState'](_0x173c8b,!0x0),await this[_0x1743b4(0x3cf)]['executeCommand'](_0x277df0[_0x1743b4(0x39a)]['id'],{'unitId':_0x4b047e['getUnitId'](),'subUnitId':_0x42811d});return;}((_0x391465=_0x4b047e['getActiveSheet']())==null?void 0x0:_0x391465[_0x1743b4(0x293)]())!==_0x1faa9e&&await this[_0x1743b4(0x3cf)][_0x1743b4(0x16b)](_0x277df0[_0x1743b4(0x39a)]['id'],{'unitId':_0x4b047e[_0x1743b4(0x2fe)](),'subUnitId':_0x1faa9e});}};_0x48aa1e=_0x265259([_0x4f2c8d(0x0,_0x48f9b0),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x2,_0x3378d6['ICommandService']),_0x4f2c8d(0x3,(0x0,_0x3378d6['Inject'])(_0x289c2c[_0x470848(0x4ac)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x24d)])(_0x418f3f[_0x470848(0x319)]))],_0x48aa1e);let _0x2c292f=class{constructor(_0x58f35,_0x252bc6){const _0x48a5c9=_0x470848;this[_0x48a5c9(0x475)]=_0x58f35,this[_0x48a5c9(0x381)]=_0x252bc6;}['transformIMECache'](_0x3c31b0){const _0x12a79a=_0x470848;this[_0x12a79a(0x2ac)](_0x3c31b0),this[_0x12a79a(0x2b0)](_0x3c31b0);}['transformRemoteChangeset'](_0x3e7af8){const _0x3636f7=_0x470848;let {unitID:_0x42e197}=_0x3e7af8,{redoCache:_0x438004}=this['_renderManagerService']['getRenderById'](_0x42e197)['with'](_0xe8b960['DocIMEInputManagerService'])[_0x3636f7(0x471)]();if(_0x438004[_0x3636f7(0x254)]===0x0)return _0x3e7af8;let _0x4f7e30=_0x3378d6[_0x3636f7(0x29f)][_0x3636f7(0x2f6)](_0x3e7af8[_0x3636f7(0x3e3)][0x0]);for(let _0x44d072=0x0;_0x44d072<_0x438004['length'];_0x44d072++){let _0x583da7={'id':'doc.mutation.rich-text-editing','params':{..._0x438004[_0x44d072]}},_0xf0b212=this[_0x3636f7(0x475)][_0x3636f7(0x211)](_0x4f7e30,_0x583da7,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0xf0b212))throw _0xf0b212[_0x3636f7(0x194)];_0x4f7e30=_0xf0b212[_0x3636f7(0x48f)];}return{..._0x3378d6[_0x3636f7(0x29f)][_0x3636f7(0x2f6)](_0x3e7af8),'mutations':[_0x4f7e30]};}[_0x470848(0x2ac)](_0x837641){const _0x322827=_0x470848;let {unitID:_0x4d6a47}=_0x837641,_0x1ecab5=this['_renderManagerService'][_0x322827(0x1f2)](_0x4d6a47)[_0x322827(0x3f0)](_0xe8b960['DocIMEInputManagerService']),{undoCache:_0x3e2540,redoCache:_0x574496}=_0x1ecab5[_0x322827(0x471)]();if(_0x3e2540[_0x322827(0x254)]===0x0||_0x574496[_0x322827(0x254)]===0x0)return;let _0x56c499=[],_0xaa65b2=[],_0xf5bcf1=_0x3378d6[_0x322827(0x29f)][_0x322827(0x2f6)](_0x837641[_0x322827(0x3e3)][0x0]),_0x328384=_0x3378d6[_0x322827(0x29f)]['deepClone'](_0x837641[_0x322827(0x3e3)][0x0]);for(let _0x42e3c3=_0x3e2540[_0x322827(0x254)]-0x1;_0x42e3c3>=0x0;_0x42e3c3--){let _0x12e4bd={'id':_0x322827(0x3b0),'params':{..._0x3e2540[_0x42e3c3]}},_0x43bd93={'id':_0x322827(0x3b0),'params':{..._0x574496[_0x42e3c3]}},_0x2454e5=this[_0x322827(0x475)][_0x322827(0x211)](_0xf5bcf1,_0x12e4bd,!0x1),_0x50697e=this['_transformService'][_0x322827(0x211)](_0x328384,_0x43bd93,!0x1);if((0x0,_0x518a46[_0x322827(0x4c0)])(_0x2454e5))throw _0x2454e5[_0x322827(0x194)];if((0x0,_0x518a46[_0x322827(0x4c0)])(_0x50697e))throw _0x50697e['error'];_0x56c499[_0x322827(0x372)](_0x2454e5[_0x322827(0x24f)][_0x322827(0x31c)]),_0xaa65b2['unshift'](_0x50697e['m2Prime'][_0x322827(0x31c)]),_0xf5bcf1=_0x2454e5[_0x322827(0x48f)],_0x328384=_0x50697e[_0x322827(0x48f)];}_0x1ecab5[_0x322827(0x412)]({'undoCache':_0x56c499,'redoCache':_0xaa65b2});}['_transformPreviousActiveRange'](_0x554578){const _0x496411=_0x470848;let {unitID:_0x4592dd}=_0x554578,_0x4f2f93=this[_0x496411(0x381)]['getRenderById'](_0x4592dd)[_0x496411(0x3f0)](_0xe8b960[_0x496411(0x4c9)]),_0x2f0942=_0x4f2f93[_0x496411(0x3a1)]();if(_0x2f0942==null)return;let _0x478c8d=[{'id':_0x496411(0x3b0),'params':{'unitId':_0x554578[_0x496411(0x44c)],'actions':null,'textRanges':[_0x2f0942]}}],_0x481d33=this['_transformService']['transformMutationsWithChangeset'](_0x554578,_0x478c8d);if(!(0x0,_0x518a46[_0x496411(0x1fe)])(_0x481d33))throw _0x481d33[_0x496411(0x194)];let _0x5830de=_0x481d33[_0x496411(0x24f)][0x0][_0x496411(0x31c)][_0x496411(0x1dd)];Array[_0x496411(0x26e)](_0x5830de)&&_0x5830de[_0x496411(0x254)]&&_0x4f2f93[_0x496411(0x241)](_0x5830de[0x0]);}};_0x2c292f=_0x265259([_0x4f2c8d(0x0,_0x518a46[_0x470848(0x43c)]),_0x4f2c8d(0x1,_0x21620d['IRenderManagerService'])],_0x2c292f);let _0x42f65a=class{constructor(_0x5ed4df,_0x5f31d7,_0x410179){const _0x5c0043=_0x470848;this[_0x5c0043(0x240)]=_0x5ed4df,this[_0x5c0043(0x475)]=_0x5f31d7,this['_docStateChangeManagerService']=_0x410179;}[_0x470848(0x1e0)](_0xbf78d){const _0x3d2d8f=_0x470848;this[_0x3d2d8f(0x481)](_0xbf78d);}[_0x470848(0x170)](_0xadb259){const _0x17c039=_0x470848;let {unitID:_0x5c6fb5}=_0xadb259,{collaboration:_0x153101}=this[_0x17c039(0x458)]['getStateCache'](_0x5c6fb5);if(_0x153101[_0x17c039(0x254)]===0x0)return _0xadb259;let _0x412067=_0x3378d6['Tools'][_0x17c039(0x2f6)](_0xadb259[_0x17c039(0x3e3)][0x0]);for(let _0x182745=0x0;_0x182745<_0x153101[_0x17c039(0x254)];_0x182745++){let _0x2cb69e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x153101[_0x182745][_0x17c039(0x1fb)],..._0x153101[_0x182745][_0x17c039(0x46d)]}},_0x507201=this['_transformService'][_0x17c039(0x211)](_0x412067,_0x2cb69e,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0x507201))throw _0x507201[_0x17c039(0x194)];_0x412067=_0x507201[_0x17c039(0x48f)];}return{..._0x3378d6[_0x17c039(0x29f)][_0x17c039(0x2f6)](_0xadb259),'mutations':[_0x412067]};}['_transformHistoryAndStateStack'](_0xda8e6e){const _0x1d4edc=_0x470848;let {unitID:_0x16a710}=_0xda8e6e,{history:_0x210970,collaboration:_0xa73d37}=this[_0x1d4edc(0x458)][_0x1d4edc(0x3c9)](_0x16a710);if(_0x210970[_0x1d4edc(0x254)]===0x0&&_0xa73d37[_0x1d4edc(0x254)]===0x0)return;let _0x3a1955=[],_0x19633d=[],_0x2336e4=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]),_0x21108d=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]);for(let _0xf31d02=_0x210970['length']-0x1;_0xf31d02>=0x0;_0xf31d02--){let _0x26f2e1={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0x210970[_0xf31d02][_0x1d4edc(0x1fb)],..._0x210970[_0xf31d02][_0x1d4edc(0x290)]}},_0x2398fd={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0x210970[_0xf31d02]['unitId'],..._0x210970[_0xf31d02][_0x1d4edc(0x46d)]}},_0x260df6=this[_0x1d4edc(0x475)][_0x1d4edc(0x211)](_0x2336e4,_0x26f2e1,!0x1),_0x1d5ba6=this[_0x1d4edc(0x475)]['transformMutation'](_0x21108d,_0x2398fd,!0x1);if((0x0,_0x518a46[_0x1d4edc(0x4c0)])(_0x260df6))throw _0x260df6[_0x1d4edc(0x194)];if((0x0,_0x518a46[_0x1d4edc(0x4c0)])(_0x1d5ba6))throw _0x1d5ba6[_0x1d4edc(0x194)];_0x3a1955[_0x1d4edc(0x372)]({..._0x210970[_0xf31d02],'undoState':_0x260df6[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)],'redoState':_0x1d5ba6[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)]}),_0x2336e4=_0x260df6[_0x1d4edc(0x48f)],_0x21108d=_0x1d5ba6['m1Prime'];}_0x2336e4=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]),_0x21108d=_0x3378d6[_0x1d4edc(0x29f)][_0x1d4edc(0x2f6)](_0xda8e6e[_0x1d4edc(0x3e3)][0x0]);for(let _0x57fb5a=_0xa73d37[_0x1d4edc(0x254)]-0x1;_0x57fb5a>=0x0;_0x57fb5a--){let _0x382508={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0xa73d37[_0x57fb5a][_0x1d4edc(0x1fb)],..._0xa73d37[_0x57fb5a]['undoState']}},_0x328415={'id':_0x1d4edc(0x3b0),'params':{'unitId':_0xa73d37[_0x57fb5a]['unitId'],..._0xa73d37[_0x57fb5a][_0x1d4edc(0x46d)]}},_0x52b8ee=this['_transformService'][_0x1d4edc(0x211)](_0x2336e4,_0x382508,!0x1),_0x12fe22=this[_0x1d4edc(0x475)][_0x1d4edc(0x211)](_0x21108d,_0x328415,!0x1);if((0x0,_0x518a46['isTransformMutationFailure'])(_0x52b8ee))throw _0x52b8ee[_0x1d4edc(0x194)];if((0x0,_0x518a46['isTransformMutationFailure'])(_0x12fe22))throw _0x12fe22[_0x1d4edc(0x194)];_0x19633d[_0x1d4edc(0x372)]({..._0xa73d37[_0x57fb5a],'undoState':_0x52b8ee[_0x1d4edc(0x24f)][_0x1d4edc(0x31c)],'redoState':_0x12fe22['m2Prime'][_0x1d4edc(0x31c)]}),_0x2336e4=_0x52b8ee[_0x1d4edc(0x48f)],_0x21108d=_0x12fe22['m1Prime'];}this[_0x1d4edc(0x458)][_0x1d4edc(0x385)](_0x16a710,{'history':_0x3a1955,'collaboration':_0x19633d});}};_0x42f65a=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,_0x518a46['ITransformService']),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x904e3[_0x470848(0x3b1)]))],_0x42f65a);let _0x3cc37c=class{constructor(_0x31a2f6,_0x4e1134){const _0x498247=_0x470848;this[_0x498247(0x240)]=_0x31a2f6,this[_0x498247(0x475)]=_0x4e1134;}[_0x470848(0x32f)](_0x2c2168){const _0x3f7121=_0x470848;var _0x5e67c7;let _0x12fbea=this[_0x3f7121(0x240)][_0x3f7121(0x226)](_0x904e3['DocSelectionManagerService']),_0x3c4837=(_0x5e67c7=_0x12fbea[_0x3f7121(0x387)]())==null?[]:_0x5e67c7;if(_0x3c4837[_0x3f7121(0x254)]===0x0)return;let _0x1a7bc1=_0x2c2168[_0x3f7121(0x44c)],_0x441c28=[{'id':_0x3f7121(0x3b0),'params':{'unitId':_0x1a7bc1,'actions':null,'textRanges':_0x3c4837}}],_0x496b4d=this[_0x3f7121(0x475)][_0x3f7121(0x18c)](_0x2c2168,_0x441c28);if(!(0x0,_0x518a46[_0x3f7121(0x1fe)])(_0x496b4d))throw _0x496b4d[_0x3f7121(0x194)];let _0x1f2619=_0x496b4d[_0x3f7121(0x24f)][0x0][_0x3f7121(0x31c)]['textRanges'];Array['isArray'](_0x1f2619)&&_0x1f2619[_0x3f7121(0x254)]&&_0x12fbea[_0x3f7121(0x4a1)](_0x1f2619,{'unitId':_0x1a7bc1,'subUnitId':_0x1a7bc1},!0x1);}};_0x3cc37c=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,_0x518a46[_0x470848(0x43c)])],_0x3cc37c);let _0x1d32b6=class extends _0x3378d6['Disposable']{constructor(_0x9cdc31,_0x2cc782,_0x24a925,_0x1a1f08,_0x180e36,_0x4af7ec,_0x23151b){const _0x6aa8fe=_0x470848;super(),this[_0x6aa8fe(0x2d1)]=_0x9cdc31,this[_0x6aa8fe(0x2d6)]=_0x2cc782,this[_0x6aa8fe(0x1e3)]=_0x24a925,this[_0x6aa8fe(0x436)]=_0x1a1f08,this[_0x6aa8fe(0x4bc)]=_0x180e36,this[_0x6aa8fe(0x4c3)]=_0x4af7ec,this[_0x6aa8fe(0x235)]=_0x23151b,_0x317deb(this,'_status$',new _0x5515fe[(_0x6aa8fe(0x4b4))](_0x289c2c[_0x6aa8fe(0x49f)][_0x6aa8fe(0x4d1)])),this[_0x6aa8fe(0x2fd)]();}[_0x470848(0x2fd)](){const _0x389667=_0x470848;this['disposeWithMe'](this[_0x389667(0x2d1)][_0x389667(0x2e8)][_0x389667(0x31e)](_0x58c6e7=>{const _0x482a44=_0x389667;_0x58c6e7 instanceof _0x289c2c[_0x482a44(0x32a)]&&_0x58c6e7[_0x482a44(0x1b9)]({'onTransformIME':_0x20c40d=>this[_0x482a44(0x2d6)][_0x482a44(0x366)](_0x20c40d),'onTransformState':_0xdba63d=>this['_docTransformStateCacheService'][_0x482a44(0x1e0)](_0xdba63d),'onTransformSelections':_0x7c26fa=>this['_docTransformSelectionsService'][_0x482a44(0x32f)](_0x7c26fa),'onSyncEditingCollabCursor':_0x42eeca=>this[_0x482a44(0x4bc)][_0x482a44(0x1b4)](_0x42eeca),'onTransformRemoteChangesetByIMECache':_0x4226f5=>this[_0x482a44(0x2d6)][_0x482a44(0x170)](_0x4226f5),'onTransformRemoteChangesetByStateCache':_0x45c1d7=>this[_0x482a44(0x1e3)][_0x482a44(0x170)](_0x45c1d7)});}));}};_0x1d32b6=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x32e)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x2c292f)),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x42f65a)),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3cc37c)),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3ebe55)),_0x4f2c8d(0x5,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x6,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)]))],_0x1d32b6);let _0x129cf2=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x1c1bcd,_0x2d4fe8,_0x283d60,_0x2fa5c4){const _0x4c5503=_0x470848;super(),this[_0x4c5503(0x240)]=_0x1c1bcd,this[_0x4c5503(0x4bb)]=_0x2d4fe8,this[_0x4c5503(0x468)]=_0x283d60,this[_0x4c5503(0x2b7)]=_0x2fa5c4,_0x317deb(this,'_memberID',void 0x0),this[_0x4c5503(0x1a4)]();}[_0x470848(0x1a4)](){const _0x130347=_0x470848;this[_0x130347(0x27f)](),this['_initUnhandledRejectionListener'](),this[_0x130347(0x335)](),this[_0x130347(0x48b)]();}['_initUserListener'](){const _0x264dd9=_0x470848;this[_0x264dd9(0x3a7)](this[_0x264dd9(0x2b7)][_0x264dd9(0x3e8)][_0x264dd9(0x31e)](_0x3b71ad=>{const _0x30d009=_0x264dd9;this['_memberID']=_0x3b71ad==null?void 0x0:_0x3b71ad[_0x30d009(0x263)];}));}['_initWindowErrorListener'](){const _0x174afc=_0x470848;let _0x34db25=_0x2ccca4=>{const _0x4566f1=_0x3560;var _0x564704;this[_0x4566f1(0x446)](_0x4566f1(0x194),_0x4566f1(0x433)+_0x2ccca4['message']+'\x20at\x20'+_0x2ccca4[_0x4566f1(0x25c)]+':'+_0x2ccca4[_0x4566f1(0x1b8)]+':'+_0x2ccca4[_0x4566f1(0x41f)]+'\x0a'+(((_0x564704=_0x2ccca4[_0x4566f1(0x194)])==null?void 0x0:_0x564704[_0x4566f1(0x407)])||''));};window[_0x174afc(0x2b1)](_0x174afc(0x194),_0x34db25),this[_0x174afc(0x3a7)](()=>{const _0x296f6c=_0x174afc;window[_0x296f6c(0x307)](_0x296f6c(0x194),_0x34db25);});}[_0x470848(0x1de)](){const _0x239c45=_0x470848;let _0x3f02bb=_0x568338=>{const _0x2f7bae=_0x3560;this[_0x2f7bae(0x446)]('error',_0x2f7bae(0x24c)+_0x568338['reason']);};window['addEventListener'](_0x239c45(0x27b),_0x3f02bb),this['disposeWithMe'](()=>{const _0x546041=_0x239c45;window[_0x546041(0x307)](_0x546041(0x27b),_0x3f02bb);});}[_0x470848(0x335)](){const _0x4187c4=_0x470848;let _0x588acb=this['_logService'][_0x4187c4(0x194)][_0x4187c4(0x39e)](this[_0x4187c4(0x468)]);this[_0x4187c4(0x468)][_0x4187c4(0x194)]=(..._0x55325c)=>{const _0xc54691=_0x4187c4;let _0x43a57e=_0x55325c['map'](_0x192729=>_0x192729 instanceof Error?_0x192729[_0xc54691(0x4b3)]+'\x0a'+_0x192729['stack']:String(_0x192729))[_0xc54691(0x368)]('\x20');this[_0xc54691(0x446)](_0xc54691(0x194),_0xc54691(0x35e)+_0x43a57e),_0x588acb(..._0x55325c);},this[_0x4187c4(0x3a7)](()=>{const _0xd9106f=_0x4187c4;this[_0xd9106f(0x468)]['error']=_0x588acb;});}['_uploadLog'](_0x2abc43,_0x5ede58){const _0x5818da=_0x470848;try{let _0x51cc7a={'userId':this['_memberID'],'logLabel':_0x2abc43,'content':_0x5ede58};this[_0x5818da(0x4bb)][_0x5818da(0x2be)](_0x5818da(0x33b),{'body':_0x51cc7a})['catch'](()=>{});}catch{}}};_0x129cf2=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182['HTTPService'])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x289c2c[_0x470848(0x1f4)]))],_0x129cf2);function _0x3afd20({state$:_0x4cdf19,interactionBlocked$:_0x613c31}){const _0x36140f=_0x470848;return(0x0,_0x2d4a70[_0x36140f(0x236)])(_0x2d4a70[_0x36140f(0x34a)],{'children':[(0x0,_0x4dab43[_0x36140f(0x238)])(_0x613c31,!0x1,!0x0)&&(0x0,_0x2d4a70[_0x36140f(0x4bd)])(_0x36140f(0x332),{'data-u-comp':_0x36140f(0x29b),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x2d4a70[_0x36140f(0x4bd)])(_0x2ace38,{'state$':_0x4cdf19})]});}function _0x2ace38({state$:_0x7addd5}){const _0x14fa04=_0x470848;let _0x1654f6=(0x0,_0x4dab43[_0x14fa04(0x238)])(_0x7addd5,null,!0x0);return _0x1654f6?(0x0,_0x2d4a70['jsxs'])(_0x14fa04(0x332),{'data-u-comp':_0x14fa04(0x2c3),'role':_0x14fa04(0x48e),'className':_0x14fa04(0x361),'children':[(0x0,_0x2d4a70[_0x14fa04(0x4bd)])(_0x4f71da,{'className':'univer-size-4\x20univer-shrink-0\x20univer-text-amber-500'}),(0x0,_0x2d4a70[_0x14fa04(0x4bd)])(_0x14fa04(0x261),{'children':_0x1654f6[_0x14fa04(0x343)]}),(0x0,_0x2d4a70['jsx'])(_0x472933[_0x14fa04(0x4d0)],{'size':_0x14fa04(0x2f3),'variant':_0x14fa04(0x224),'onClick':()=>window[_0x14fa04(0x19e)][_0x14fa04(0x374)](),'children':_0x1654f6[_0x14fa04(0x40d)]})]}):null;}let _0x50ed8d=_0x470848(0x1c3),_0x3328cc=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x304261,_0xf17629,_0x327e72,_0x20d49a,_0x39d156,_0x4d8022,_0x4cea98,_0x5a1843){const _0x120523=_0x470848;super(),this[_0x120523(0x212)]=_0x304261,this[_0x120523(0x4c3)]=_0xf17629,this['_localeService']=_0x327e72,this[_0x120523(0x240)]=_0x20d49a,this[_0x120523(0x2b3)]=_0x39d156,this[_0x120523(0x3ca)]=_0x4cea98,this[_0x120523(0x190)]=_0x5a1843,_0x317deb(this,'_timeoutState$',new _0x5515fe['BehaviorSubject'](null)),_0x317deb(this,_0x120523(0x43d),new _0x5515fe[(_0x120523(0x4b4))](!0x1)),_0x317deb(this,_0x120523(0x1e9),new Set()),_0x317deb(this,_0x120523(0x26b),new Map()),_0x317deb(this,_0x120523(0x276),new Set()),_0x317deb(this,'_latestStates',new Map()),_0x317deb(this,_0x120523(0x28a),void 0x0),_0x317deb(this,_0x120523(0x4aa),void 0x0),_0x317deb(this,_0x120523(0x1a8),void 0x0),_0x317deb(this,'timeoutState$',this[_0x120523(0x47e)][_0x120523(0x38e)]());let _0xfe1cb9=()=>(0x0,_0x477dc2['createElement'])(_0x3afd20,{'state$':this[_0x120523(0x4cc)],'interactionBlocked$':this[_0x120523(0x43d)]});this[_0x120523(0x3a7)](_0x4d8022[_0x120523(0x1fc)](_0x4dab43[_0x120523(0x2ab)][_0x120523(0x191)],()=>(0x0,_0x4dab43[_0x120523(0x427)])(_0xfe1cb9,this['_injector']))),this[_0x120523(0x3a7)](this['_snapshotLoadingService'][_0x120523(0x4bf)][_0x120523(0x31e)](_0x595807=>{const _0x3847ee=_0x120523;this['_latestStates']=_0x595807,_0x595807[_0x3847ee(0x315)](_0x12400d=>{const _0x40bd5b=_0x3847ee;this[_0x40bd5b(0x440)](_0x12400d),this['_updateSheetPreview'](_0x12400d);});})),this[_0x120523(0x3a7)](this['_urlService'][_0x120523(0x216)]['subscribe'](()=>{const _0x469281=_0x120523;this[_0x469281(0x20d)]['forEach'](_0x2d7849=>{const _0x1ac55a=_0x469281;this[_0x1ac55a(0x440)](_0x2d7849),this[_0x1ac55a(0x3f1)](_0x2d7849);});}));}['dispose'](){const _0x2af6cf=_0x470848;var _0x3e21bc;if(this[_0x2af6cf(0x1e9)][_0x2af6cf(0x315)](_0x187174=>this['_messageService'][_0x2af6cf(0x4a2)](_0x187174)),this[_0x2af6cf(0x1e9)][_0x2af6cf(0x2f8)](),this['_previewUnitId']){var _0x55b31a;(_0x55b31a=this[_0x2af6cf(0x1a8)])==null||_0x55b31a[_0x2af6cf(0x26f)](this[_0x2af6cf(0x28a)]);}this[_0x2af6cf(0x28a)]=void 0x0,this[_0x2af6cf(0x26b)][_0x2af6cf(0x315)](({timeoutId:_0x1d274f})=>clearTimeout(_0x1d274f)),this['_blockProgressWatches']['clear'](),(_0x3e21bc=this[_0x2af6cf(0x4aa)])==null||_0x3e21bc[_0x2af6cf(0x39c)](),this['_shortcutBlock']=void 0x0,this[_0x2af6cf(0x47e)][_0x2af6cf(0x28f)](),this[_0x2af6cf(0x43d)][_0x2af6cf(0x28f)](),super[_0x2af6cf(0x39c)]();}[_0x470848(0x440)](_0x4a8313){const _0xa2aaa4=_0x470848;let _0x3ce751=''+_0x50ed8d+_0x4a8313[_0xa2aaa4(0x1fb)];if(_0x4a8313[_0xa2aaa4(0x448)]===_0x518a46[_0xa2aaa4(0x435)][_0xa2aaa4(0x260)]){if(this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this['_isVisibleUnit'](_0x4a8313[_0xa2aaa4(0x1fb)])&&this['_previewUnitId']===_0x4a8313[_0xa2aaa4(0x1fb)]){this['_messageService']['show']({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)][_0xa2aaa4(0x1f8)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.loadingSheet')}),this[_0xa2aaa4(0x1e9)]['add'](_0x3ce751);return;}this['_clearTimeoutState'](_0x4a8313['unitId']),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this['_messageIds'][_0xa2aaa4(0x460)](_0x3ce751);return;}if(!this[_0xa2aaa4(0x364)](_0x4a8313['unitId'])){this[_0xa2aaa4(0x498)](_0x4a8313['unitId']),this[_0xa2aaa4(0x377)](_0x4a8313['unitId']),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this[_0xa2aaa4(0x1e9)][_0xa2aaa4(0x460)](_0x3ce751);return;}if(_0x4a8313['stage']===_0x518a46[_0xa2aaa4(0x435)][_0xa2aaa4(0x1eb)]){this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x377)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x3ea)]({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)][_0xa2aaa4(0x3cc)],'content':this[_0xa2aaa4(0x235)]['t'](_0xa2aaa4(0x45b))}),this['_messageIds'][_0xa2aaa4(0x460)](_0x3ce751);return;}if(_0x4a8313['stage']!==_0x518a46['SnapshotLoadStage'][_0xa2aaa4(0x420)]||_0x4a8313[_0xa2aaa4(0x280)]<=0xa){this[_0xa2aaa4(0x498)](_0x4a8313[_0xa2aaa4(0x1fb)]),this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x4a2)](_0x3ce751),this[_0xa2aaa4(0x1e9)]['delete'](_0x3ce751);return;}this[_0xa2aaa4(0x347)](_0x4a8313)||(this[_0xa2aaa4(0x4c3)][_0xa2aaa4(0x3ea)]({'id':_0x3ce751,'type':_0x472933[_0xa2aaa4(0x2d2)]['Loading'],'duration':0x1/0x0,'content':this[_0xa2aaa4(0x235)]['t'](_0xa2aaa4(0x2da))+'\x20'+_0x4a8313[_0xa2aaa4(0x2af)]+'/'+_0x4a8313['totalBlocks']}),this[_0xa2aaa4(0x1e9)][_0xa2aaa4(0x345)](_0x3ce751));}[_0x470848(0x347)](_0x4a2962){const _0x29db28=_0x470848;let _0x1f1aca=this['_blockProgressWatches'][_0x29db28(0x226)](_0x4a2962[_0x29db28(0x1fb)]);if((_0x1f1aca==null?void 0x0:_0x1f1aca['loadedBlocks'])===_0x4a2962[_0x29db28(0x2af)])return _0x1f1aca[_0x29db28(0x1ba)];this[_0x29db28(0x498)](_0x4a2962[_0x29db28(0x1fb)]);let _0x527402=setTimeout(()=>{const _0x3034c0=_0x29db28;let _0x5c23a8=this[_0x3034c0(0x26b)][_0x3034c0(0x226)](_0x4a2962['unitId']);if(!_0x5c23a8||_0x5c23a8[_0x3034c0(0x3a5)]!==_0x527402)return;_0x5c23a8[_0x3034c0(0x1ba)]=!0x0;let _0x292135=''+_0x50ed8d+_0x4a2962[_0x3034c0(0x1fb)];this[_0x3034c0(0x4c3)][_0x3034c0(0x4a2)](_0x292135),this['_messageIds'][_0x3034c0(0x460)](_0x292135),this[_0x3034c0(0x47e)][_0x3034c0(0x29d)]({'unitId':_0x4a2962[_0x3034c0(0x1fb)],'content':this[_0x3034c0(0x235)]['t'](_0x3034c0(0x25f),String(_0x4a2962[_0x3034c0(0x2af)]),String(_0x4a2962[_0x3034c0(0x280)])),'refreshLabel':this[_0x3034c0(0x235)]['t'](_0x3034c0(0x46c))});},0xea60);return this[_0x29db28(0x26b)]['set'](_0x4a2962[_0x29db28(0x1fb)],{'loadedBlocks':_0x4a2962[_0x29db28(0x2af)],'timedOut':!0x1,'timeoutId':_0x527402}),!0x1;}[_0x470848(0x498)](_0x4de1e7){const _0x20e199=_0x470848;let _0x38d0e3=this[_0x20e199(0x26b)][_0x20e199(0x226)](_0x4de1e7);_0x38d0e3&&(clearTimeout(_0x38d0e3[_0x20e199(0x3a5)]),this[_0x20e199(0x26b)][_0x20e199(0x460)](_0x4de1e7),this['_clearTimeoutState'](_0x4de1e7));}[_0x470848(0x377)](_0x1c3ecb){const _0x1156c8=_0x470848;var _0x5101d5;((_0x5101d5=this[_0x1156c8(0x47e)][_0x1156c8(0x411)])==null?void 0x0:_0x5101d5[_0x1156c8(0x1fb)])===_0x1c3ecb&&this[_0x1156c8(0x47e)][_0x1156c8(0x29d)](null);}[_0x470848(0x3f1)](_0x41b72a){const _0x118242=_0x470848;if(_0x41b72a[_0x118242(0x448)]===_0x518a46['SnapshotLoadStage']['LOADING_SNAPSHOT']&&this[_0x118242(0x276)][_0x118242(0x460)](_0x41b72a[_0x118242(0x1fb)]),!this[_0x118242(0x364)](_0x41b72a['unitId'])){this[_0x118242(0x30b)](_0x41b72a['unitId']);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46['SnapshotLoadStage'][_0x118242(0x1eb)]||_0x41b72a[_0x118242(0x280)]<=0xa){this[_0x118242(0x30b)](_0x41b72a['unitId']);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46[_0x118242(0x435)]['COMPLETE']){this['_handoffPreview'](_0x41b72a[_0x118242(0x1fb)]);return;}if(_0x41b72a[_0x118242(0x448)]===_0x518a46[_0x118242(0x435)][_0x118242(0x420)]&&_0x41b72a[_0x118242(0x324)]&&_0x41b72a[_0x118242(0x264)]){let _0x173843=this[_0x118242(0x4a4)]();if(!_0x173843)return;this[_0x118242(0x28a)]&&this[_0x118242(0x28a)]!==_0x41b72a[_0x118242(0x1fb)]&&this[_0x118242(0x30b)](this[_0x118242(0x28a)]),_0x173843[_0x118242(0x1ee)](_0x41b72a['workbookShell'],_0x41b72a[_0x118242(0x264)]),this['_previewUnitId']=_0x41b72a['unitId'],this[_0x118242(0x4a3)](!0x0),_0x41b72a['previewReady']&&_0x173843[_0x118242(0x3ea)](_0x41b72a[_0x118242(0x324)],_0x41b72a[_0x118242(0x264)],_0x41b72a[_0x118242(0x4c1)]);}}['_handoffPreview'](_0x477088){const _0x4a232a=_0x470848;if(this[_0x4a232a(0x28a)]!==_0x477088||this[_0x4a232a(0x276)][_0x4a232a(0x1c9)](_0x477088))return;let _0x4c4882=this['_sheetLoadingRenderService'];_0x4c4882&&(this[_0x4a232a(0x276)][_0x4a232a(0x345)](_0x477088),_0x4c4882[_0x4a232a(0x38d)](_0x477088,0x2710)[_0x4a232a(0x308)](_0x43207b=>{const _0x16cccf=_0x4a232a;if(this[_0x16cccf(0x28a)]!==_0x477088)return;if(_0x43207b){let _0x12e3a3=''+_0x50ed8d+_0x477088;this[_0x16cccf(0x4c3)]['remove'](_0x12e3a3),this[_0x16cccf(0x1e9)]['delete'](_0x12e3a3),this['_previewUnitId']=void 0x0,this['_setInteractionBlocked'](!0x1);return;}let _0x92d66f=''+_0x50ed8d+_0x477088;this[_0x16cccf(0x4c3)]['remove'](_0x92d66f),this[_0x16cccf(0x1e9)]['delete'](_0x92d66f),this['_timeoutState$'][_0x16cccf(0x29d)]({'unitId':_0x477088,'content':this[_0x16cccf(0x235)]['t'](_0x16cccf(0x45b)),'refreshLabel':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x470848(0x30b)](_0x4c4382){const _0x116921=_0x470848;var _0xb56d5a;this[_0x116921(0x28a)]===_0x4c4382&&((_0xb56d5a=this[_0x116921(0x1a8)])==null||_0xb56d5a[_0x116921(0x26f)](_0x4c4382),this[_0x116921(0x28a)]=void 0x0,this[_0x116921(0x4a3)](!0x1));}[_0x470848(0x4a3)](_0x139389){const _0x5c2a01=_0x470848;if(_0x139389!==this[_0x5c2a01(0x43d)][_0x5c2a01(0x411)]){if(_0x139389)this['_shortcutBlock']=this[_0x5c2a01(0x3ca)]['forceDisable']();else{var _0x59f370;(_0x59f370=this[_0x5c2a01(0x4aa)])==null||_0x59f370[_0x5c2a01(0x39c)](),this['_shortcutBlock']=void 0x0;}this[_0x5c2a01(0x43d)][_0x5c2a01(0x29d)](_0x139389);}}[_0x470848(0x364)](_0x577bde){const _0x542f94=_0x470848;let _0x447a54=this[_0x542f94(0x190)][_0x542f94(0x490)](_0x542f94(0x18a));return!_0x447a54||_0x447a54===_0x577bde;}[_0x470848(0x4a4)](){const _0x537e2b=_0x470848;return this[_0x537e2b(0x1a8)]?this['_sheetLoadingRenderService']:(this[_0x537e2b(0x2b3)]['startPluginsForType'](_0x3378d6[_0x537e2b(0x2b5)][_0x537e2b(0x1ab)]),this[_0x537e2b(0x240)]['has'](_0x4fe045[_0x537e2b(0x397)])&&(this[_0x537e2b(0x1a8)]=this[_0x537e2b(0x240)]['get'](_0x4fe045[_0x537e2b(0x397)])),this[_0x537e2b(0x1a8)]);}};_0x3328cc=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x518a46['SnapshotLoadingService'])),_0x4f2c8d(0x1,_0x4dab43[_0x470848(0x2cc)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)])),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x4,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x2e3)])),_0x4f2c8d(0x5,_0x4dab43[_0x470848(0x2f9)]),_0x4f2c8d(0x6,_0x4dab43[_0x470848(0x2b8)]),_0x4f2c8d(0x7,_0x48f9b0)],_0x3328cc);function _0x59fd14(_0x296c35){const _0x33f1e6=_0x470848;var _0x2707b5,_0x4fb7e6;let _0x37c9c7=(_0x2707b5=_0x296c35[_0x33f1e6(0x205)])==null?void 0x0:_0x2707b5[_0x33f1e6(0x448)],_0x1e5d59=((_0x4fb7e6=_0x296c35['stageInfo'])==null?void 0x0:_0x4fb7e6[_0x33f1e6(0x246)])||0x0;return _0x37c9c7===_0x4599c2[_0x33f1e6(0x313)][_0x33f1e6(0x26d)]&&_0x1e5d59>0x0;}function _0x3ae71d(_0x57a888){const _0x47ca6a=_0x470848;return _0x57a888[_0x47ca6a(0x445)]===_0x4599c2['FormulaExecutedStateType'][_0x47ca6a(0x437)];}let _0x16758d=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x4185e6,_0x5b650a,_0x1c1a7c,_0x17d8b2,_0x67966e,_0x5e4fe4,_0xfe03e0){const _0x57cae3=_0x470848;super(),this[_0x57cae3(0x4c3)]=_0x4185e6,this['_commandService']=_0x5b650a,this[_0x57cae3(0x40e)]=_0x1c1a7c,this['_httpService']=_0x17d8b2,this[_0x57cae3(0x48a)]=_0x67966e,this['_logService']=_0x5e4fe4,this[_0x57cae3(0x235)]=_0xfe03e0,_0x317deb(this,'_pollingInterval',null),_0x317deb(this,'_maxFormulaLimit',0x0),_0x317deb(this,'_currentUsage',0x0),_0x317deb(this,_0x57cae3(0x267),[]),_0x317deb(this,_0x57cae3(0x45f),0x0),this[_0x57cae3(0x1b7)]();}[_0x470848(0x1b7)](){const _0x25fbd0=_0x470848;this['disposeWithMe'](this[_0x25fbd0(0x3cf)][_0x25fbd0(0x2bc)]((_0x1cf2b9,_0x5bab77)=>{const _0x473393=_0x25fbd0;var _0x513154;if(_0x1cf2b9['id']!==_0x4599c2['SetFormulaCalculationStartMutation']['id'])return;let _0x437e07=_0x1cf2b9[_0x473393(0x31c)];if(this[_0x473393(0x210)]((_0x513154=_0x437e07[_0x473393(0x285)])==null?[]:_0x513154)&&!this[_0x473393(0x1dc)]())throw this[_0x473393(0x2c4)](_0x1cf2b9,_0x5bab77),this['_showGuardMessage'](),new _0x3378d6['CanceledError']();})),this[_0x25fbd0(0x3a7)](this['_commandService']['onCommandExecuted']((_0x4e1f2a,_0x3d81c7)=>{const _0x3941fd=_0x25fbd0;if(_0x4e1f2a['id']!==_0x4599c2[_0x3941fd(0x3c8)]['id'])return;let _0x4308bd=_0x4e1f2a[_0x3941fd(0x31c)];if(_0x59fd14(_0x4308bd)){let _0x439360=(0x0,_0x3378d6['generateRandomId'])();this[_0x3941fd(0x267)][_0x3941fd(0x207)](_0x439360),this['_startCalculationLimit'](_0x439360);}else{if(_0x3ae71d(_0x4308bd)&&this[_0x3941fd(0x267)]['length']>0x0){let _0x2b9dd5=this['_taskIds'][_0x3941fd(0x1df)]();this[_0x3941fd(0x1ef)](_0x2b9dd5);}}}));}[_0x470848(0x39c)](){const _0x3ac656=_0x470848;super[_0x3ac656(0x39c)](),this[_0x3ac656(0x2c8)](),this[_0x3ac656(0x267)]=[],this[_0x3ac656(0x21a)]=0x0,this[_0x3ac656(0x49d)]=0x0,this[_0x3ac656(0x45f)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2c1109,_0x1441b9){const _0x3586f2=_0x470848;for(let _0x525685=0x0;_0x525685<0x1e;_0x525685++)try{if(await this[_0x3586f2(0x2d8)](),this[_0x3586f2(0x1dc)]()){this[_0x3586f2(0x274)](_0x2c1109,_0x1441b9),this[_0x3586f2(0x4c3)][_0x3586f2(0x3ea)]({'content':this[_0x3586f2(0x235)]['t'](_0x3586f2(0x3dd)),'type':_0x472933['MessageType'][_0x3586f2(0x214)]});return;}await new Promise(_0x5ab3ab=>{const _0x3ea0a2=_0x3586f2;this[_0x3ea0a2(0x17c)]=window[_0x3ea0a2(0x333)](_0x5ab3ab,0x3e8);});}catch(_0x4851cf){this[_0x3586f2(0x468)][_0x3586f2(0x194)](_0x4851cf);}this['_messageService']['show']({'content':this[_0x3586f2(0x235)]['t'](_0x3586f2(0x47a)),'type':_0x472933[_0x3586f2(0x2d2)]['Error']});}[_0x470848(0x274)](_0x1f834c,_0x3ee323){const _0x15bced=_0x470848;try{this[_0x15bced(0x3cf)][_0x15bced(0x16b)](_0x1f834c['id'],_0x1f834c['params'],_0x3ee323);}catch(_0xb75ce6){this[_0x15bced(0x468)]['error'](_0xb75ce6);}}['_setFormulaLimitStatus'](_0x1717b4,_0x489081){const _0x20a2eb=_0x470848;_0x489081<this['_lastResponseTimestamp']||(this[_0x20a2eb(0x45f)]=_0x489081,this[_0x20a2eb(0x49d)]=Number[_0x20a2eb(0x2a1)](_0x1717b4[_0x20a2eb(0x4ab)]),this[_0x20a2eb(0x21a)]=Number['parseInt'](_0x1717b4[_0x20a2eb(0x45a)]));}async[_0x470848(0x2eb)](_0x456dca){const _0x58414b=_0x470848;let _0x1d8a2e=Date['now']();try{var _0x67507c,_0x21485a;let _0x193a15=((_0x67507c=this[_0x58414b(0x40e)][_0x58414b(0x461)](_0x289c2c[_0x58414b(0x3e5)]))==null?void 0x0:_0x67507c['startFormulaLimitUrl'])||_0x58414b(0x474),_0xe112a6=(await this[_0x58414b(0x4bb)]['post'](_0x193a15,{'body':JSON[_0x58414b(0x3aa)]({'taskId':_0x456dca})}))[_0x58414b(0x316)];if(((_0x21485a=_0xe112a6[_0x58414b(0x194)])==null?void 0x0:_0x21485a[_0x58414b(0x1d2)])!==_0x6c7a[_0x58414b(0x3e9)]['OK'])return;this[_0x58414b(0x2e9)](_0xe112a6[_0x58414b(0x3e1)],_0x1d8a2e);}catch(_0x25644a){this[_0x58414b(0x468)]['error'](_0x25644a);}}async[_0x470848(0x2d8)](_0x39bdd7){const _0x4402f7=_0x470848;let _0x48c137=Date[_0x4402f7(0x344)]();try{var _0xbb2d3e,_0x3580cf;let _0x3d4aac=((_0xbb2d3e=this[_0x4402f7(0x40e)][_0x4402f7(0x461)](_0x289c2c[_0x4402f7(0x3e5)]))==null?void 0x0:_0xbb2d3e[_0x4402f7(0x334)])||_0x4402f7(0x20b),_0x1f36ec=_0x39bdd7?_0x3d4aac+_0x4402f7(0x20f)+encodeURIComponent(_0x39bdd7):_0x3d4aac,_0x47546f=(await this[_0x4402f7(0x4bb)]['get'](_0x1f36ec))[_0x4402f7(0x316)];if(((_0x3580cf=_0x47546f[_0x4402f7(0x194)])==null?void 0x0:_0x3580cf[_0x4402f7(0x1d2)])!==_0x6c7a[_0x4402f7(0x3e9)]['OK'])return;this[_0x4402f7(0x2e9)](_0x47546f[_0x4402f7(0x3e1)],_0x48c137);}catch(_0x331416){this[_0x4402f7(0x468)]['error'](_0x331416);}}async[_0x470848(0x1ef)](_0x3376ca){const _0x576852=_0x470848;let _0x300a44=Date[_0x576852(0x344)]();try{var _0x58668f,_0x779e92;let _0x27066d=((_0x58668f=this[_0x576852(0x40e)][_0x576852(0x461)](_0x289c2c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x58668f[_0x576852(0x20e)])||_0x576852(0x295),_0x314d2d=(await this[_0x576852(0x4bb)]['post'](_0x27066d,{'body':JSON[_0x576852(0x3aa)]({'taskId':_0x3376ca})}))[_0x576852(0x316)];if(((_0x779e92=_0x314d2d[_0x576852(0x194)])==null?void 0x0:_0x779e92[_0x576852(0x1d2)])!==_0x6c7a['ErrorCode']['OK'])return;this[_0x576852(0x2e9)](_0x314d2d['limitInfo'],_0x300a44);}catch(_0x678c47){this[_0x576852(0x468)]['error'](_0x678c47);}}[_0x470848(0x1dc)](){const _0x21ecf9=_0x470848;return this[_0x21ecf9(0x49d)]===0x0?!0x0:this[_0x21ecf9(0x49d)]-this[_0x21ecf9(0x21a)]>0x0;}[_0x470848(0x2c8)](){const _0x11bf79=_0x470848;this[_0x11bf79(0x17c)]&&(clearTimeout(this[_0x11bf79(0x17c)]),this[_0x11bf79(0x17c)]=null);}[_0x470848(0x2ca)](){const _0x1e5c65=_0x470848;this[_0x1e5c65(0x4c3)][_0x1e5c65(0x3ea)]({'content':this[_0x1e5c65(0x235)]['t'](_0x1e5c65(0x388)),'type':_0x472933[_0x1e5c65(0x2d2)][_0x1e5c65(0x1f8)]});}['_hasFormulaInDirtyRanges'](_0x4cf7c6){const _0x15b4b0=_0x470848;for(let _0x58ccc8 of _0x4cf7c6){let {unitId:_0x59a435,sheetId:_0x5d9bf1,range:_0x707241}=_0x58ccc8,_0x3d7b6c=this[_0x15b4b0(0x48a)]['getUnit'](_0x59a435);if(!_0x3d7b6c)continue;let _0x25aa62=_0x3d7b6c['getSheetBySheetId'](_0x5d9bf1);if(!_0x25aa62)continue;let _0x502290=_0x25aa62['getCellMatrix']();for(let _0x25f073=_0x707241['startRow'];_0x25f073<=_0x707241[_0x15b4b0(0x199)];_0x25f073++)for(let _0x2517ed=_0x707241['startColumn'];_0x2517ed<=_0x707241[_0x15b4b0(0x370)];_0x2517ed++){let _0x3f239d=_0x502290[_0x15b4b0(0x434)](_0x25f073,_0x2517ed);if(_0x3f239d&&((0x0,_0x3378d6[_0x15b4b0(0x22e)])(_0x3f239d['f'])||(0x0,_0x3378d6[_0x15b4b0(0x30f)])(_0x3f239d['si'])))return!0x0;}}return!0x1;}};_0x16758d=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6[_0x470848(0x331)])(_0x4dab43[_0x470848(0x2cc)])),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x3d2)]),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x3,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x4,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x5,_0x3378d6[_0x470848(0x3fb)]),_0x4f2c8d(0x6,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6[_0x470848(0x23b)]))],_0x16758d);let _0x2bc207=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0xcec0b2,_0x38b219,_0x229f77){const _0x5897dd=_0x470848;super(),this[_0x5897dd(0x40e)]=_0xcec0b2,this[_0x5897dd(0x2ce)]=_0x38b219,this[_0x5897dd(0x242)]=_0x229f77,_0x317deb(this,_0x5897dd(0x265),new Map()),_0x317deb(this,_0x5897dd(0x29c),new Map()),_0x317deb(this,'_disabled',!0x1);}[_0x470848(0x1c4)](){const _0x25fa28=_0x470848;this[_0x25fa28(0x3bf)]=!0x0;}[_0x470848(0x2f5)](){const _0x150aa1=_0x470848;this[_0x150aa1(0x3bf)]=!0x1;}get[_0x470848(0x419)](){const _0x29d07c=_0x470848;return this[_0x29d07c(0x29c)];}[_0x470848(0x39c)](){const _0x41b91a=_0x470848;this['exhaustSavingTask']()[_0x41b91a(0x308)](()=>super[_0x41b91a(0x39c)]());}async[_0x470848(0x3fc)](_0x265f37){const _0x111711=_0x470848;return this[_0x111711(0x3bf)]?null:this['_localStorageService'][_0x111711(0x455)]((0x0,_0x289c2c[_0x111711(0x16a)])(_0x265f37));}async[_0x470848(0x3b9)](_0x2c5321,_0x469e74){const _0x52626=_0x470848;return!!this[_0x52626(0x2ce)][_0x52626(0x206)]((0x0,_0x289c2c[_0x52626(0x16a)])(_0x2c5321),_0x469e74);}async[_0x470848(0x42d)](_0xb0bc1d,_0x8848bb){const _0x270b78=_0x470848;var _0x2ea75d;let _0x189a0b=(_0x2ea75d=this[_0x270b78(0x265)][_0x270b78(0x226)](_0xb0bc1d))==null?await this[_0x270b78(0x2ce)][_0x270b78(0x455)]((0x0,_0x289c2c['getLocalCacheKey'])(_0xb0bc1d)):_0x2ea75d;if(!_0x189a0b)return;let _0x103daa=Date[_0x270b78(0x344)](),_0x564dc2=new Date(_0x103daa)['toISOString']();await this[_0x270b78(0x2ce)][_0x270b78(0x206)]((0x0,_0x289c2c[_0x270b78(0x16a)])(_0xb0bc1d)+':backup:'+_0x103daa,{'reason':_0x8848bb,'createdAt':_0x564dc2,'data':_0x189a0b});}['updateOfflineData'](_0x20f9c1,_0x56e504,_0xdb11a7,_0x26cb6e){const _0x261e6b=_0x470848;let _0x10f09a=this[_0x261e6b(0x242)]['getCurrentRevOfUnit'](_0x20f9c1);this[_0x261e6b(0x265)][_0x261e6b(0x406)](_0x20f9c1,{'unitID':_0x20f9c1,'type':_0x56e504,'awaitingChangeset':_0xdb11a7,'mutations':_0x26cb6e,'rev':_0x10f09a}),this[_0x261e6b(0x29c)][_0x261e6b(0x1c9)](_0x20f9c1)||this[_0x261e6b(0x35c)](_0x20f9c1);}['_scheduleSaving'](_0x3d6311){const _0x2682b6=_0x470848;let _0xe3ca2b=this[_0x2682b6(0x3af)]();_0xe3ca2b===0x0?this[_0x2682b6(0x45e)](_0x3d6311):this[_0x2682b6(0x29c)][_0x2682b6(0x406)](_0x3d6311,window[_0x2682b6(0x333)](()=>this[_0x2682b6(0x45e)](_0x3d6311),_0xe3ca2b));}[_0x470848(0x3af)](){const _0x407848=_0x470848;var _0x2bde39;return(_0x2bde39=this[_0x407848(0x40e)][_0x407848(0x461)](_0x289c2c[_0x407848(0x41c)]))==null?_0x289c2c[_0x407848(0x193)]:_0x2bde39;}[_0x470848(0x45e)](_0x466848){const _0x4ba473=_0x470848;let _0x1dc1d4=this[_0x4ba473(0x29c)][_0x4ba473(0x226)](_0x466848);return _0x1dc1d4!==void 0x0&&window[_0x4ba473(0x373)](_0x1dc1d4),this[_0x4ba473(0x2ce)][_0x4ba473(0x206)]((0x0,_0x289c2c[_0x4ba473(0x16a)])(_0x466848),this['_cachedData']['get'](_0x466848))[_0x4ba473(0x308)](()=>this[_0x4ba473(0x29c)][_0x4ba473(0x460)](_0x466848));}async[_0x470848(0x3dc)](){const _0x2b8dbc=_0x470848;let _0xac9580=[];this[_0x2b8dbc(0x29c)][_0x2b8dbc(0x315)]((_0x2a954a,_0x22b0d0)=>{const _0x1968c7=_0x2b8dbc;window[_0x1968c7(0x373)](_0x2a954a),_0xac9580['push'](this[_0x1968c7(0x45e)](_0x22b0d0)['then'](()=>{const _0x192951=_0x1968c7;this[_0x192951(0x29c)][_0x192951(0x460)](_0x22b0d0);}));}),await Promise[_0x2b8dbc(0x1f1)](_0xac9580);}};_0x2bc207=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x1,_0x3378d6[_0x470848(0x277)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x518a46[_0x470848(0x379)]))],_0x2bc207);var _0x40f874=class extends _0x3378d6[_0x470848(0x42a)]{constructor(){const _0x3ee546=_0x470848;super(),_0x317deb(this,'urlChange$',void 0x0),this[_0x3ee546(0x216)]=(0x0,_0x5515fe[_0x3ee546(0x30a)])(window,_0x3ee546(0x3d8))['pipe']((0x0,_0x5515fe[_0x3ee546(0x3e2)])(this['dispose$']),(0x0,_0x5515fe[_0x3ee546(0x2a8)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x5515fe[_0x3ee546(0x40c)])(void 0x0));}['setParam'](_0x297a58,_0x4aaa68,_0x37c526=!0x1){const _0x1c1dce=_0x470848;let _0x28fbd3=new URL(window[_0x1c1dce(0x19e)][_0x1c1dce(0x338)]);_0x28fbd3[_0x1c1dce(0x37d)][_0x1c1dce(0x406)](_0x297a58,_0x4aaa68),_0x37c526?window[_0x1c1dce(0x3c6)][_0x1c1dce(0x342)]('','',_0x28fbd3['toString']()):window[_0x1c1dce(0x3c6)][_0x1c1dce(0x3f7)]('','',_0x28fbd3['toString']());}[_0x470848(0x229)](_0x3b2c8c,_0x2c890e=!0x1){const _0x245e49=_0x470848;let _0xa457ba=new URL(window[_0x245e49(0x19e)][_0x245e49(0x338)]);_0xa457ba[_0x245e49(0x37d)][_0x245e49(0x460)](_0x3b2c8c),_0x2c890e?window[_0x245e49(0x3c6)][_0x245e49(0x342)]('','',_0xa457ba[_0x245e49(0x31f)]()):window[_0x245e49(0x3c6)][_0x245e49(0x3f7)]('','',_0xa457ba[_0x245e49(0x31f)]());}[_0x470848(0x490)](_0x255ec1){const _0x34583b=_0x470848;var _0x5e8058;return(_0x5e8058=new URL(window['location'][_0x34583b(0x338)])['searchParams'][_0x34583b(0x226)](_0x255ec1))==null?void 0x0:_0x5e8058;}};let _0x35d42e=class extends _0x3378d6['Plugin']{constructor(_0x3479a8=_0x2ca37d,_0x2e308f,_0xbde081,_0x39d72a){const _0x50e9fc=_0x470848;super(),this[_0x50e9fc(0x492)]=_0x3479a8,this[_0x50e9fc(0x381)]=_0x2e308f,this[_0x50e9fc(0x240)]=_0xbde081,this['_configService']=_0x39d72a;let {..._0x3608fd}=(0x0,_0x3378d6[_0x50e9fc(0x443)])({},_0x2ca37d,this[_0x50e9fc(0x492)]);this[_0x50e9fc(0x40e)]['setConfig']('collaboration-client-ui.config',_0x3608fd);}[_0x470848(0x4b9)](){const _0x602f19=_0x470848;this[_0x602f19(0x4b0)](),this['_initDependencies']();}[_0x470848(0x413)](){this['_registerRenderDependencies']();}[_0x470848(0x4b0)](){const _0x4e4436=_0x470848;var _0x55d50a;let _0x54ca41=[[_0x5a49d8],[_0x16758d],[_0x48f9b0,{'useClass':_0x40f874}],[_0x301182[_0x4e4436(0x3a4)],{'useClass':_0x301182['WebSocketService']}],[_0x289c2c[_0x4e4436(0x4b7)],{'useClass':_0x2bc207}],[_0x35e9ef],[_0x4ab697],[_0x3b11db],[_0x3b029d],[_0x48aa1e],[_0x3328cc]];this[_0x4e4436(0x492)]['enableDocumentCollaborationUI']!==!0x1&&_0x54ca41[_0x4e4436(0x207)]([_0x3cc37c],[_0x2c292f],[_0x42f65a],[_0x3ebe55],[_0x1d32b6],[_0x563a43]),this[_0x4e4436(0x492)][_0x4e4436(0x1b0)]&&_0x54ca41[_0x4e4436(0x207)]([_0x129cf2]),(0x0,_0x3378d6['registerDependencies'])(this['_injector'],(0x0,_0x3378d6[_0x4e4436(0x1f9)])(_0x54ca41,(_0x55d50a=this[_0x4e4436(0x492)])==null?void 0x0:_0x55d50a[_0x4e4436(0x456)]));}[_0x470848(0x410)](){const _0x27b03b=_0x470848;this['_config'][_0x27b03b(0x17d)]!==!0x1&&this['disposeWithMe'](this[_0x27b03b(0x381)][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x43f)],[_0x42c69d])),this[_0x27b03b(0x3a7)](this['_renderManagerService'][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x1ab)],[_0x13f49e])),this[_0x27b03b(0x3a7)](this[_0x27b03b(0x381)][_0x27b03b(0x355)](_0x3378d6[_0x27b03b(0x2b5)]['UNIVER_SLIDE'],[_0xab6e53])),this[_0x27b03b(0x3a7)](this[_0x27b03b(0x381)]['registerRenderModule'](_0x3378d6[_0x27b03b(0x2b5)][_0x27b03b(0x346)],[_0x4f3792]));}[_0x470848(0x487)](){const _0x4e70aa=_0x470848;(0x0,_0x3378d6['touchDependencies'])(this[_0x4e70aa(0x240)],[[_0x3b029d],[_0x35e9ef],[_0x4ab697],[_0x3b11db],[_0x48aa1e],[_0x16758d],[_0x3328cc]]),this[_0x4e70aa(0x492)]['enableDocumentCollaborationUI']!==!0x1&&(0x0,_0x3378d6[_0x4e70aa(0x2c5)])(this[_0x4e70aa(0x240)],[[_0x1d32b6],[_0x563a43]]),this[_0x4e70aa(0x492)][_0x4e70aa(0x1b0)]&&(0x0,_0x3378d6[_0x4e70aa(0x2c5)])(this[_0x4e70aa(0x240)],[[_0x129cf2]]);}};_0x317deb(_0x35d42e,_0x470848(0x495),_0x470848(0x31b)),_0x317deb(_0x35d42e,'packageName',_0xe45e57),_0x317deb(_0x35d42e,'version',_0x3e2282),_0x35d42e=_0x265259([(0x0,_0x3378d6[_0x470848(0x3e0)])(_0x289c2c[_0x470848(0x4ae)]),_0x4f2c8d(0x1,_0x21620d[_0x470848(0x3c1)]),_0x4f2c8d(0x2,(0x0,_0x3378d6[_0x470848(0x331)])(_0x3378d6['Injector'])),_0x4f2c8d(0x3,_0x3378d6[_0x470848(0x1cc)])],_0x35d42e);let _0x1b89fe=class extends _0x289c2c[_0x470848(0x37e)]{constructor(_0x52c57d,_0x42fcda,_0x5af00c,_0x239336,_0x514da5){super(_0x52c57d,_0x42fcda,_0x5af00c,_0x239336,_0x514da5);}async[_0x470848(0x2a5)](_0x39ca54){const _0x36ac18=_0x470848;let _0x409e82=await this[_0x36ac18(0x2fc)](),_0x58fda9=this[_0x36ac18(0x2ba)](_0x39ca54,_0x409e82);return this[_0x36ac18(0x19b)](_0x58fda9);}['_createSocketURL'](_0x1c6d37,_0x53daa9){const _0x491bc9=_0x470848;let _0x9e36d5=typeof window>'u'?new URL(_0x1c6d37):new URL(_0x1c6d37,window[_0x491bc9(0x19e)]['origin']);_0x9e36d5[_0x491bc9(0x37d)][_0x491bc9(0x406)](_0x491bc9(0x36f),_0x53daa9);let _0x3c844f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x491bc9(0x19e)]['search']);return _0x3c844f[_0x491bc9(0x226)](_0x491bc9(0x38b))&&_0x9e36d5[_0x491bc9(0x37d)][_0x491bc9(0x406)](_0x491bc9(0x38b),_0x3c844f[_0x491bc9(0x226)](_0x491bc9(0x38b))),_0x9e36d5[_0x491bc9(0x31f)]();}async[_0x470848(0x2fc)](){const _0x2bf644=_0x470848;var _0x1c2555,_0x48de92,_0x5d2673;let _0x2181ff=this[_0x2bf644(0x40e)][_0x2bf644(0x461)](_0x289c2c[_0x2bf644(0x3e5)]),_0x101143=(_0x1c2555=_0x2181ff==null?void 0x0:_0x2181ff['wsSessionTicketUrl'])==null?_0x289c2c[_0x2bf644(0x175)]:_0x1c2555;return(_0x48de92=(_0x5d2673=(await this[_0x2bf644(0x4bb)][_0x2bf644(0x226)](_0x101143,{'headers':{'Content-Type':'application/json'}}))[_0x2bf644(0x316)])==null?void 0x0:_0x5d2673['ticket'])==null?'':_0x48de92;}};_0x1b89fe=_0x265259([_0x4f2c8d(0x0,(0x0,_0x3378d6['Inject'])(_0x3378d6[_0x470848(0x200)])),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)]),_0x4f2c8d(0x3,_0x3378d6['ILogService']),_0x4f2c8d(0x4,_0x518a46[_0x470848(0x37c)])],_0x1b89fe);let _0x1bb327=class extends _0x3378d6[_0x470848(0x380)]{constructor(_0x4434e3,_0x1c5d2a,_0x582553){const _0x103ce1=_0x470848;super(),this[_0x103ce1(0x3d5)]=_0x4434e3,this['_httpService']=_0x1c5d2a,this[_0x103ce1(0x40e)]=_0x582553;}async[_0x470848(0x438)](_0x29c458,_0x3b4b94,_0x59d4a6,..._0x4a1a17){const _0x5dcc69=_0x470848;var _0x49bd7d,_0x27ee58,_0x1886bb,_0xe55ae3;let _0x1676ad=this[_0x5dcc69(0x3d5)][_0x5dcc69(0x31d)]();if(!_0x1676ad)throw Error(_0x5dcc69(0x2f0));let _0x28cd27=((_0x49bd7d=this[_0x5dcc69(0x40e)][_0x5dcc69(0x461)](_0x289c2c[_0x5dcc69(0x1c5)]))==null?_0x289c2c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT']:_0x49bd7d)+'/'+_0x29c458+_0x5dcc69(0x4b1)+_0x3b4b94,_0x313345={'scriptId':_0x29c458,'runId':(_0x27ee58=new URL(window[_0x5dcc69(0x19e)]['href'])[_0x5dcc69(0x37d)][_0x5dcc69(0x226)]('runId'))==null?'':_0x27ee58,'function':_0x3b4b94,'unitId':_0x1676ad['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x4a1a17),'invokeId':(_0x1886bb=_0x59d4a6[_0x5dcc69(0x233)])==null?'':_0x1886bb,'executionId':(_0xe55ae3=_0x59d4a6['executionId'])==null?'':_0xe55ae3};try{let _0x3d30bc=await this[_0x5dcc69(0x4bb)][_0x5dcc69(0x2be)](_0x28cd27,{'body':_0x313345});return _0x3d30bc[_0x5dcc69(0x316)][_0x5dcc69(0x194)]&&_0x3d30bc['body'][_0x5dcc69(0x194)][_0x5dcc69(0x1d2)]!==_0x6c7a['ErrorCode']['OK']?_0x5dcc69(0x320):_0x3d30bc[_0x5dcc69(0x316)][_0x5dcc69(0x223)];}catch{return _0x5dcc69(0x320);}}};_0x1bb327=_0x265259([_0x4f2c8d(0x0,_0x3378d6[_0x470848(0x180)]),_0x4f2c8d(0x1,(0x0,_0x3378d6[_0x470848(0x331)])(_0x301182[_0x470848(0x17f)])),_0x4f2c8d(0x2,_0x3378d6[_0x470848(0x1cc)])],_0x1bb327);let _0x3667a4=0x7530,_0x5a7e93=_0x470848(0x186);var _0x30dce7=class extends _0x3378d6[_0x470848(0x380)]{constructor(){const _0x43ee9b=_0x470848;super(),_0x317deb(this,_0x43ee9b(0x1d6),(0x0,_0x3378d6[_0x43ee9b(0x4c4)])()),_0x317deb(this,_0x43ee9b(0x395),new Set()),_0x317deb(this,'_unitOnClients',new Map()),_0x317deb(this,'_heartbeatTimer',null),_0x317deb(this,_0x43ee9b(0x3fe),new Map()),_0x317deb(this,_0x43ee9b(0x430),new Map()),this[_0x43ee9b(0x1a4)]();}[_0x470848(0x39c)](){const _0x4542e5=_0x470848;super['dispose'](),this[_0x4542e5(0x3fe)][_0x4542e5(0x315)]((_0x5320d0,_0x24f8ec)=>this['_removeClearOtherTimer'](_0x24f8ec)),this[_0x4542e5(0x2ea)]&&window[_0x4542e5(0x284)](this[_0x4542e5(0x2ea)]);}[_0x470848(0x4be)](_0x363631){const _0x57bc60=_0x470848;return this['_ensureSubject'](_0x363631)[_0x57bc60(0x376)]((0x0,_0x5515fe[_0x57bc60(0x1b1)])());}[_0x470848(0x447)](_0x16048a){const _0x39e478=_0x470848;this[_0x39e478(0x395)][_0x39e478(0x309)]===0x0&&this['_scheduleHeartbeat'](),this[_0x39e478(0x395)]['add'](_0x16048a),this[_0x39e478(0x4a7)]({'type':0x0,'memberID':this[_0x39e478(0x1d6)],'unitIDs':[_0x16048a],'isForwarded':!0x1});}[_0x470848(0x1a2)](_0x95352e){const _0x47b24d=_0x470848;this[_0x47b24d(0x395)][_0x47b24d(0x460)](_0x95352e),this[_0x47b24d(0x395)][_0x47b24d(0x309)]===0x0&&this[_0x47b24d(0x2ea)]&&window[_0x47b24d(0x284)](this['_heartbeatTimer']);}[_0x470848(0x1a4)](){const _0x1ff163=_0x470848;this[_0x1ff163(0x3a7)]((0x0,_0x3378d6[_0x1ff163(0x44d)])((0x0,_0x5515fe[_0x1ff163(0x30a)])(window,'storage')[_0x1ff163(0x31e)](_0x103520=>{const _0x1cc959=_0x1ff163;if(_0x103520[_0x1cc959(0x354)]!==_0x5a7e93||!_0x103520[_0x1cc959(0x2e5)])return;let _0x468c8e=JSON[_0x1cc959(0x1ea)](_0x103520[_0x1cc959(0x2e5)]);this[_0x1cc959(0x1ad)](_0x468c8e);}))),window[_0x1ff163(0x2b1)]('unload',()=>this[_0x1ff163(0x4a7)]({'type':0x1,'memberID':this[_0x1ff163(0x1d6)],'unitIDs':Array[_0x1ff163(0x452)](this[_0x1ff163(0x395)])}));}[_0x470848(0x1ad)](_0x33bc75){const _0x11e43d=_0x470848;switch(_0x33bc75[_0x11e43d(0x36b)]){case 0x0:this[_0x11e43d(0x312)](_0x33bc75);break;case 0x1:this['_handleLeaveEvent'](_0x33bc75);break;case 0x2:this[_0x11e43d(0x16f)](_0x33bc75);break;}}[_0x470848(0x312)](_0x35f81d){const _0x404733=_0x470848;let {unitIDs:_0x462546,memberID:_0x3ba37e,isForwarded:_0x8606e2}=_0x35f81d;_0x462546[_0x404733(0x315)](_0x175a64=>{const _0x49d2b8=_0x404733;if(!_0x8606e2&&this['_unitOnClients'][_0x49d2b8(0x1c9)](_0x175a64)&&this[_0x49d2b8(0x1d7)](_0x175a64)[_0x49d2b8(0x29d)](_0x289c2c[_0x49d2b8(0x1ec)][_0x49d2b8(0x3ae)]),!this[_0x49d2b8(0x341)][_0x49d2b8(0x1c9)](_0x175a64)||!this[_0x49d2b8(0x341)][_0x49d2b8(0x226)](_0x175a64)[_0x49d2b8(0x1c9)](_0x3ba37e)){let _0x1d7175=this['_unitOnClients'][_0x49d2b8(0x226)](_0x175a64)||new Set();_0x1d7175['add'](_0x3ba37e),this[_0x49d2b8(0x341)]['set'](_0x175a64,_0x1d7175),this[_0x49d2b8(0x220)](_0x3ba37e);}}),_0x8606e2||this[_0x404733(0x4a7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x470848(0x220)](_0x106a38){const _0xf98c5c=_0x470848;this[_0xf98c5c(0x398)](_0x106a38);let _0xd8a8dd=window['setTimeout'](()=>{const _0x15370c=_0xf98c5c;this[_0x15370c(0x341)][_0x15370c(0x315)](_0xefe6d=>{const _0x193d14=_0x15370c;_0xefe6d[_0x193d14(0x460)](_0x106a38);});},_0x3667a4*0x2);this[_0xf98c5c(0x3fe)]['set'](_0x106a38,_0xd8a8dd);}['_removeClearOtherTimer'](_0x3a00a5){const _0x1cdbc7=_0x470848;if(this[_0x1cdbc7(0x3fe)][_0x1cdbc7(0x1c9)](_0x3a00a5)){let _0xa4139f=this['_clearOtherTimers']['get'](_0x3a00a5);_0xa4139f&&window['clearTimeout'](_0xa4139f),this[_0x1cdbc7(0x3fe)][_0x1cdbc7(0x406)](_0x3a00a5,null);}}[_0x470848(0x3b4)](_0x15bf3b){let {memberID:_0x3aeae9,unitIDs:_0x473a2f}=_0x15bf3b;_0x473a2f['forEach'](_0x46710b=>{const _0x1e3bf5=_0x3560;var _0x13ec37;let _0x201ba8=this['_unitOnClients'][_0x1e3bf5(0x226)](_0x46710b);_0x201ba8&&(_0x201ba8['delete'](_0x3aeae9),(_0x13ec37=this[_0x1e3bf5(0x1d7)](_0x46710b))==null||_0x13ec37[_0x1e3bf5(0x29d)](_0x201ba8[_0x1e3bf5(0x309)]===0x0?_0x289c2c['UnitStatus'][_0x1e3bf5(0x2e1)]:_0x289c2c[_0x1e3bf5(0x1ec)][_0x1e3bf5(0x3ae)]));}),this['_removeClearOtherTimer'](_0x3aeae9);}[_0x470848(0x16f)](_0x9c9c0a){const _0x498e16=_0x470848;this[_0x498e16(0x220)](_0x9c9c0a[_0x498e16(0x263)]);}['_send'](_0x5f2656){const _0x5dd98d=_0x470848;localStorage[_0x5dd98d(0x206)](_0x5a7e93,JSON[_0x5dd98d(0x3aa)](_0x5f2656));}['_scheduleHeartbeat'](){const _0x4a3158=_0x470848;this['_heartbeatTimer']=window[_0x4a3158(0x1aa)](()=>{const _0x50fc03=_0x4a3158;this[_0x50fc03(0x4a7)]({'type':0x2,'memberID':this[_0x50fc03(0x1d6)]});},_0x3667a4);}[_0x470848(0x1d7)](_0x493f2b){const _0x102fc3=_0x470848;return this['_unitStatus']['has'](_0x493f2b)||this[_0x102fc3(0x430)][_0x102fc3(0x406)](_0x493f2b,new _0x5515fe[(_0x102fc3(0x4b4))](_0x289c2c[_0x102fc3(0x1ec)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x102fc3(0x430)][_0x102fc3(0x226)](_0x493f2b);}};Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x323),{'enumerable':!0x0,'get':function(){return _0x1b89fe;}}),Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x3db),{'enumerable':!0x0,'get':function(){return _0x35e9ef;}}),_0x288673['IURLService']=_0x48f9b0,Object[_0x470848(0x3f4)](_0x288673,_0x470848(0x257),{'enumerable':!0x0,'get':function(){return _0x1bb327;}}),_0x288673['SheetCollabCursorShape']=_0x4b97e2,Object['defineProperty'](_0x288673,_0x470848(0x336),{'enumerable':!0x0,'get':function(){return _0x35d42e;}}),_0x288673[_0x470848(0x247)]=_0x30dce7;}));function _0x3560(_0x281b41,_0xf1f998){_0x281b41=_0x281b41-0x16a;const _0x5654cf=_0x5654();let _0x3560e6=_0x5654cf[_0x281b41];return _0x3560e6;}function _0x5654(){const _0xa62d59=['black','isFormulaId','_backgroundColor','_setupSubUnitSync','_handleJoinEvent','FormulaExecuteStageType','hovered','forEach','body','UniverDesign','ranges','IRemoteInstanceService','addClipboardHook','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','params','getFocusedUnit','subscribe','toString','Failed','serializeRangeWithSheet','handleDeleteRangeMoveLeft','BrowserCollaborationSocketService','workbookShell','_updateSubUnitFromURLParams','RemoveRowCommandId','random','FromArray','focused$','DocCollaborationEntity','2IYDjRb','runRefRangeMutations','eventID','CollaborationController','transformSelections','roomMembers','Inject','div','setTimeout','getFormulaLimitStatusUrl','_monkeyPatchLogService','UniverCollaborationClientUIPlugin','purple.300','href','INotificationService','angle','/universer-api/frontend/logs','TEXT','cursorInfo','toRgbString','fromEventSubject','getBoardElementRenderObjectKey','_unitOnClients','replaceState','content','now','add','UNIVER_BOARD','_watchBlockProgress','_initStatusListener','true','Fragment','getMergeData','UniverIcon','NodePositionConvertToCursor','_memberService','activeSheet$','constructor','#0B9EFB','UNIVER_SLIDE','stroke','key','registerRenderModule','Workbook','slide-element-selection','_online','_highlightSecond','button','@univerjs-pro/collaboration-client-ui','_scheduleSaving','translate(.97)','[LogService\x20Error]:\x20','pulse','assignAColorForMemberID','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','62334bmrnmR','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','_isVisibleUnit','round','transformIMECache','OffLineIcon','join','getAncestorScale','_drawRectRange','type','activeSlideId$','none','32008cLWyNa','sessionTicket','endColumn','Enter','unshift','clearTimeout','reload','source','pipe','_clearTimeoutState','_startSlideCollabCursor','RevisionService','yellow.400','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','ISnapshotServerService','searchParams','CollaborationSocketService','xlink:href','Disposable','_renderManagerService','_collabCursorState$','ISlideDrawingStateService','OTHER_CLIENT_EDITING','setStateCache','_collabSessionService','getDocRanges','collaboration-client-ui.formula.calculation.waiting','onMouseMove','\x20-\x20','runId','save','handoff','asObservable','_imageIoService','requireSession','off-line-icon_clip0_910_343','_eventUnsubscribe','PERMISSION_DENIED','whenReady','_selfUnitIDs','getCollabEntity$','ISheetLoadingRenderService','_removeClearOtherTimer','@univerjs/docs','SetWorksheetActivateCommand','context','dispose','UniverProBoardsUi','bind','_getSheetObject','univer-appearance-none','getActiveRange','ThemeService','0\x200\x2016\x2016','ISocketService','timeoutId','debug','disposeWithMe','rgb','getCurrentUnitOfType','stringify','IImageIoService','getSheetObject','_blinkTimer','OTHER_CLIENTS_EDITING','_getSaveTimeout','doc.mutation.rich-text-editing','DocStateChangeManagerService','some','rxjs/operators','_handleLeaveEvent','amd','SOCKET_FAILED','2465705rcwCqf','SheetSkeletonManagerService','saveOfflineData','SOCKET_FAILED_RETRY','idSuffix','_labelPosition','engine','getSnapshot','_disabled','RefRangeService','IRenderManagerService','left','[CollaborationDataLoaderController]','labelHorizontalPosition','TEXT_RANGE_LAYER_INDEX','history','SessionStatus','SetFormulaCalculationNotificationMutation','getStateCache','_shortcutService','subUnitId','Error','_drawAnchor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_commandService','univer-text-blue-500','OFFLINE','ICommandService','getColor','_startBlinking','_instanceService','polite','colorClass','popstate','_initCommandExecutedListener','RECT','DesktopCollaborationStatusDisplayController','exhaustSavingTask','collaboration-client-ui.formula.calculation.started','UniverDocsUi','svg','DependentOn','limitInfo','takeUntil','mutations','_draw','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univer-text-red-500','_offsetY','socket$','ErrorCode','show','PENDING','lineTo','univer-flex\x20univer-items-center\x20univer-justify-center','getUniverSheetInstance','getVpScrollXYInfoByPosToVp','with','_updateSheetPreview','startColumn','CLOSE_ROOM','defineProperty','data','showText','pushState','drawWith','values','iterator','ILogService','loadOfflineData','measureText','_clearOtherTimers','highlightSecond','_removeCollabCursors','_cursor','transformByState','find','Shape','_collabCursorController','set','stack','strokeWidth','@univerjs/rpc','_context','on-line-icon_clip0_910_349','mapTo','refreshLabel','_configService','map','_registerRenderDependencies','value','setUndoRedoMutationParamsCache','onRendered','subunit','addObject$','object','restore','_refRangeService','saveTaskMap','addObject','highlight','LOCAL_CACHE_INTERVAL_KEY','column','sheetID','colno','LOADING_BLOCKS','collaboration-client-ui.collaboration.closeRoom','getAllUnitsForType','_docClipboardService','colorChannel1','...','getId','connectInjector','_handleHover','range','RxDisposable','startsWith','VIEW_MAIN','backupOfflineData','_localCacheService','getCurrentSelections','_unitStatus','_cursorShapes','_labelHorizontalPosition','[Window\x20Error]:\x20','getValue','SnapshotLoadStage','_docTransformSelectionsService','SUCCESS','runOnServer','UniverProtocol','_getSceneObjectByKey','_getLighterColor','ITransformService','_interactionBlocked$','url(#$1','UNIVER_DOC','_updateMessage','registerRefRange','call','merge','collaboration-client-ui.conflict.title','functionsExecutedState','_uploadLog','editingUnit','stage','_getAnchorBounding','status','handleMoveRange','unitID','toDisposable','_latestCursors','Subject','LoadingMultiIcon','_updateLocalCursor','from','path','setOffsetY','getItem','override','React','_docStateChangeManagerService','_blinkIntervalTimer','currentUsage','collaboration-client-ui.session.connection-failed','CollaborationEvent','closePath','_saveCache','_lastResponseTimestamp','delete','getConfig','_document','getRealBound','CollaborationUIEventId','Rect','selection','setShapeProps','_logService','collaboration-client-ui.conflict.content','useMemo','isInternalEditorID','collaboration-client-ui.snapshotLoading.refresh','redoState','UniverRpc','UniverProCollaborationClientUi','kind','getUndoRedoMutationParamsCache','sessionStatus$','WarningIcon','/universer-api/license/formula/limit/start','_transformService','univer-m-0\x20univer-p-0','_stopBlinking','fill','_onRefRangeChange','collaboration-client-ui.formula.calculation.unable','decorate','collabCursorState$','_slideDrawingStateService','_timeoutState$','getCoordByCell','assign','_transformHistoryAndStateStack','_lastPointer','Module','mask','transform','rxjs','_initDependencies','UniverUi','function','_univerInstanceService','_initUserListener','_drawTextRange','831510wOovRD','alert','m1Prime','getParam','@univerjs-pro/boards-ui','_config','throttleTime','DocSkeletonManagerService','pluginName','UniverNetwork','collab-rect-range-','_clearBlockProgressWatch','row','focusedId','subscribeEvent','_scheduleRender','_maxFormulaLimit','board-collab-cursor-','CollaborationStatus','USERS_LEAVE','replaceDocRanges','remove','_setInteractionBlocked','_getSheetLoadingRenderService','getMemberID','createIdentifier','_send','resolve','name','_shortcutBlock','maxFormulaLimit','DataLoaderService','cursorInfo$','UniverCollaborationClientPlugin','getObject','_registerDependencies','/run/','SetSelectionsOperation','message','BehaviorSubject','isEditing','_anchorDot','ILocalCacheService','UniverProSlidesUi','onStarting','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_httpService','_docSyncEditingCollabCursorService','jsx','getUnitStatus$','state$','isTransformMutationFailure','previewCellData','getSheetBySheetId','_messageService','generateRandomId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','event$','_onCursorDelete','rgba(','DocIMEInputManagerService','0.2)','clickable','timeoutState$','UniverProCollaborationClient','clipPath','_refreshCollabCursors','Button','NOT_COLLAB','getLocalCacheKey','executeCommand','getCollabCursors$','_hovered','addObjects','_handleHeartbeatEvent','transformRemoteChangeset','_colorIndex','_getMergeRange','dispose$','_initStatusComponent','DEFAULT_WS_SESSION_TICKET_URL','flatMap','OnLineIcon','Vector2','Warning','getOwnPropertyDescriptor','BOARD_TOP_RIGHT_MENU_LEADING_PART','_pollingInterval','enableDocumentCollaborationUI','attrs','HTTPService','IUniverInstanceService','_dataLoaderService','default',',\x200.2)','handleIRemoveRow','_collaborationUIEventService','ACTIVE_UNIT_EVENT_CHANNEL','switchMap','makeDirty','_isBlinkVisible','unit','includes','transformMutationsWithChangeset','1em','rgba','EffectRefRangId','_urlService','GLOBAL','bottom','LOCAL_CACHE_INTERVAL','error','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursors','12rhSQli','UniverProCollaboration','endRow','200VxSKFV','_doCreateSocket','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','collaboration-client-ui.collabStatus.synced','location','_startDocCollabCursor','i18nKey','ColorKit','disposeUnit','_sheetSkeletonManagerService','_init','setAlpha','removeObjects','univer-border-none\x20univer-bg-transparent','_sheetLoadingRenderService','createInstance','setInterval','UNIVER_SHEET','loading-multi-icon','_handleEvent','green.600','_cursorInfo$','enableFrontendLog','distinctUntilChanged','offsetY','_scene','syncEditingCollabCursor','ONLINE','FETCH_MISS','_initCommandInterceptor','lineno','addHandlerCallback','timedOut','@univerjs/design','_uiPartsService','onPointerEnter$','resize','_onCursorUpdate','_boardElementStateService','uni.network.url-service','DeleteRangeMoveUpCommandId','snapshot-loading-','disableLocalCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','UPDATE_CURSOR','bold\x2013px\x20Arial,\x20sans-serif','@univerjs/engine-render','has','current','scene','IConfigService','warning-icon','selectedIds','_color','DocSelectionManagerService','font','code','react','_textBubble','COLORS','_id','_ensureSubject','theme$','unsubscribe','_assignedColors','operators','_checkCalculationAvailable','textRanges','_initUnhandledRejectionListener','shift','transformStateCache','defIds','_roomMembers$','_docTransformStateCacheService','1126643VSYMUi','Tooltip','color','getTypeOfUnitAdded$','DOC_RANGE_TYPE','_messageIds','parse','ERROR','UnitStatus','registerBeforeClose','showSkeleton','_releaseCalculationLimit','JOIN_ROOM_FAILED','all','getRenderById','_themeService','CollaborationSessionService','deserializeRangeWithSheet','handleDeleteRangeMoveUp','static','Loading','mergeOverrideWithDependencies','http://www.w3.org/2000/svg','unitId','registerComponent','debounce','isTransformMutationsWithChangesetSuccess','saveImage','Injector','blue.400','SetTextSelectionsOperation','InsertRangeMoveDownCommandId','_updateURLWithCurrentState','stageInfo','setItem','push','children','MemberService','_showText','/universer-api/license/formula/limit/status','Rectangle','_latestStates','releaseFormulaLimitUrl','?taskId=','_hasFormulaInDirtyRanges','transformMutation','_snapshotLoadingService','@univerjs/engine-formula','Success','imageSourceType','urlChange$','_startBoardCollabCursor','createElement','SHEET_VIEWPORT_KEY','_currentUsage','SheetsSelectionsService','getCellPositionByOffset','init','univer-transition-all\x20univer-duration-200','onCommandExecuted','_scheduleClearOtherTimer','onPointerMove$','_range','result','primary','_initEvent','get','@univerjs/sheets','IDocClipboardService','removeParam','debounceTime','substring','lineWidth','univer-text-green-500','isFormulaString','send','getViewport','text','tag','invokeId','338218uZyrsA','_localeService','jsxs','@univerjs/core','useObservable','status$','use','LocaleService','_isApplyingOverlays','_anchor','collaboration-client-ui.collabStatus.syncing','preventDefault','_injector','setActiveRange','_revisionService','_entities','IBeforeCloseService','string','totalFormulasToCalculate','WebBrowserSingleActiveUnitService','_session','_notificationService','spin','_entityInit$','[Unhandled\x20Rejection]:\x20','Optional','max','m2Prime','#4f46e5','getSkeleton','@univerjs/ui','UniverSheets','length','_syncEditingCollabCursorService','_beforeCloseService','RemoteUniscriptService','onTransformChange$','removeObject','displayName','UniverEngineRender','filename','filter','strokeStyle','collaboration-client-ui.snapshotLoading.timeout','COMPLETE','span','688565Vdfbhn','memberID','activeSheetId','_cachedData','CONFLICT','_taskIds','evenodd','toPrimitive','0\x200\x2017\x2016','_blockProgressWatches','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','START_CALCULATION','isArray','hide','AWAITING_WITH_PENDING','white','_shapes','_name','_applyCommand','collab-text-anchor-','_handoffUnitIds','ILocalStorageService','@univerjs-pro/collaboration-client','height','_setupBeforeClosingHandler','unhandledrejection','triggerDblclick','strokeRect','dark:focus:!univer-ring-offset-gray-800','_initWindowErrorListener','totalBlocks','_status$','symbol','getMember','clearInterval','dirtyRanges','_startSheetCollabCursor','@univerjs/network','startRow','handleInsertRangeMoveDown','_previewUnitId','getColorFromTheme','evented','setLineDash','_hideTimer','complete','undoState','_docSkeletonManagerService','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','getSheetId','@univerjs/protocol','/universer-api/license/formula/limit/done','_getScale','combineLatest','RemoveColCommandId','getActivePageId','_highlight','snapshot-loading-interaction-guard','_saveTaskMap','next','collaboration-client-ui.session.collaboration-timeout','Tools','pageManager','parseInt','currentSkeleton$','useDependency','currentColor','createSocket','width','board-element-selection','shareReplay','DisposableCollection','replace','BuiltInUIPart','_transformUndoRedoStack','red.300','MoveRangeCommandId','loadedBlocks','_transformPreviousActiveRange','addEventListener','Unknown\x20user','_pluginService','SUBMIT_CHANGESET_TIMEOUT','UniverInstanceType','tooltipKey','_collaborationSessionService','IShortcutService','collaboration-client-ui.permission.title','_createSocketURL','collaboration-client-ui.collabStatus.offline','beforeCommandExecuted','_getObjectBounds','post','getCurrentTypeOfUnit$','on-line-icon','slide-collab-cursor-','getTypeOfUnitDisposed$','snapshot-loading-timeout','_checkAndWaitForCalculationPermission','touchDependencies','isActive','_colorAssignService','_clearPolling','_initResize','_showGuardMessage','arc','IMessageService','split','_localStorageService','_renderScheduled','indicator','_collaborationController','MessageType','51VrcoSS','_render','clsx','_docTransformIMECacheService','_hover','_getFormulaLimitStatus','defs','collaboration-client-ui.collabStatus.fetchMiss','_updateCollabCursors','backgroundColor','entries','collaboration-client-ui.permission.content','handleInsertCol','UniverCore','NO_OTHER_CLIENTS_EDITING','getObjectIncludeInGroup','PluginService','RegularPolygon','newValue','univer-text-gray-400','TRANSFORM_CHANGE_OBSERVABLE_TYPE','entityInit$','_setFormulaLimitStatus','_heartbeatTimer','_startCalculationLimit','_pointerMoveDisposable','contains','collab-text-range-','getRangePointData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loadUnit','toStringTag','small','_toggleOnline','enableLocalCache','deepClone','top','clear','IUIPartsService','forwardRef','roomMembers$','_getSessionTicket','_initEntityListener','getUnitId','M0\x200H16V16H0z','fillText','fillStyle','reconnect','getCurrentSkeleton','findNodePositionByCharIndex','currentTheme$','getUnhiddenWorksheets','removeEventListener','then','size','fromEvent','_hidePreview','DeleteRangeMoveLeftCommandId','_toggleOffline'];_0x5654=function(){return _0xa62d59;};return _0x5654();}
1
+ function _0xbfb2(_0x50c090,_0x25e45a){_0x50c090=_0x50c090-0x9e;const _0x29c834=_0x29c8();let _0xbfb270=_0x29c834[_0x50c090];return _0xbfb270;}(function(_0x128892,_0x1cb711){const _0x648847=_0xbfb2,_0x48750e=_0x128892();while(!![]){try{const _0xa17ac0=parseInt(_0x648847(0xe0))/0x1*(-parseInt(_0x648847(0xf6))/0x2)+parseInt(_0x648847(0x3b1))/0x3+parseInt(_0x648847(0x1c3))/0x4+parseInt(_0x648847(0x1a5))/0x5*(-parseInt(_0x648847(0x35f))/0x6)+parseInt(_0x648847(0x2b8))/0x7+-parseInt(_0x648847(0x189))/0x8*(parseInt(_0x648847(0x3e1))/0x9)+-parseInt(_0x648847(0x262))/0xa;if(_0xa17ac0===_0x1cb711)break;else _0x48750e['push'](_0x48750e['shift']());}catch(_0x57ccad){_0x48750e['push'](_0x48750e['shift']());}}}(_0x29c8,0x6ad57),function(_0x2be312,_0xd782b4){const _0x41e34f=_0xbfb2;typeof exports==_0x41e34f(0x2a7)&&typeof module<'u'?_0xd782b4(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-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x41e34f(0x14f)&&define[_0x41e34f(0x33d)]?define([_0x41e34f(0x292),_0x41e34f(0xb6),_0x41e34f(0x1ea),_0x41e34f(0xfa),_0x41e34f(0x31c),_0x41e34f(0x3a8),_0x41e34f(0x188),'@univerjs/design',_0x41e34f(0x219),_0x41e34f(0x1a4),_0x41e34f(0xc2),'@univerjs-pro/license',_0x41e34f(0x338),'@univerjs/docs-ui','@univerjs/engine-render',_0x41e34f(0x198),_0x41e34f(0x185),_0x41e34f(0xee),_0x41e34f(0x124),_0x41e34f(0x239),_0x41e34f(0x407),'@univerjs/protocol'],_0xd782b4):(_0x2be312=typeof globalThis<'u'?globalThis:_0x2be312||self,_0xd782b4(_0x2be312[_0x41e34f(0xfc)]={},_0x2be312['UniverProBoardsUi'],_0x2be312[_0x41e34f(0x1e9)],_0x2be312[_0x41e34f(0x402)],_0x2be312[_0x41e34f(0x267)],_0x2be312['rxjs'],_0x2be312['rxjs'][_0x41e34f(0x297)],_0x2be312[_0x41e34f(0x345)],_0x2be312[_0x41e34f(0x25b)],_0x2be312[_0x41e34f(0x25b)],_0x2be312[_0x41e34f(0x2d0)],_0x2be312[_0x41e34f(0x211)],_0x2be312['UniverDocs'],_0x2be312[_0x41e34f(0x14c)],_0x2be312[_0x41e34f(0x30d)],_0x2be312[_0x41e34f(0x139)],_0x2be312[_0x41e34f(0x35a)],_0x2be312[_0x41e34f(0x3a1)],_0x2be312[_0x41e34f(0x14a)],_0x2be312[_0x41e34f(0x162)],_0x2be312[_0x41e34f(0x9e)],_0x2be312['UniverProtocol']));}(this,function(_0x73ee80,_0x20b4fa,_0x2248ce,_0x3188ec,_0xad5ce,_0x3a9a2c,_0x30c188,_0x36a1a4,_0x1f628d,_0x418e4f,_0x1cdb30,_0x427b41,_0x12c761,_0x390782,_0x38b39d,_0x29944c,_0x3b4f90,_0x14f8c0,_0x2c454c,_0x4d43bb,_0x157a03,_0x46dd95){const _0x386c9a=_0xbfb2;Object[_0x386c9a(0x12f)](_0x73ee80,Symbol[_0x386c9a(0x3d3)],{'value':'Module'});function _0xff9b60({ref:_0x278a3a,..._0x5e11a5}){const _0x4793ce=_0x386c9a;let {icon:_0x283a57,id:_0xe64492,className:_0x1ee019,extend:_0x4cf8bc,..._0x194e2e}=_0x5e11a5,_0x1f45e2=('univerjs-icon\x20univerjs-icon-'+_0xe64492+'\x20'+(_0x1ee019||''))[_0x4793ce(0x1e2)](),_0x46fc18=(0x0,_0x1f628d[_0x4793ce(0x2cc)])('_'+_0x2ab16d());return _0x4c2809(_0x283a57,''+_0xe64492,{'defIds':_0x283a57[_0x4793ce(0x12a)],'idSuffix':_0x46fc18['current']},{'ref':_0x278a3a,'className':_0x1f45e2,..._0x194e2e},_0x4cf8bc);}function _0x4c2809(_0x5e2089,_0x607033,_0x3dd61c,_0x3b4fc6,_0x4268ae){const _0x1029b9=_0x386c9a;return(0x0,_0x1f628d[_0x1029b9(0x3f9)])(_0x5e2089[_0x1029b9(0x354)],{'key':_0x607033,..._0x343df6(_0x5e2089,_0x3dd61c,_0x4268ae),..._0x3b4fc6},(_0x28bbe7(_0x5e2089,_0x3dd61c)[_0x1029b9(0x176)]||[])[_0x1029b9(0x2a3)]((_0x41486e,_0x2b32e2)=>_0x4c2809(_0x41486e,_0x607033+'-'+_0x5e2089[_0x1029b9(0x354)]+'-'+_0x2b32e2,_0x3dd61c,void 0x0,_0x4268ae)));}function _0x343df6(_0x213113,_0x2bf855,_0x30ac2a){const _0x2c486a=_0x386c9a;let _0x51e1b5={..._0x213113['attrs']};_0x30ac2a!=null&&_0x30ac2a[_0x2c486a(0x352)]&&_0x51e1b5[_0x2c486a(0x15c)]===_0x2c486a(0x352)&&(_0x51e1b5[_0x2c486a(0x15c)]=_0x30ac2a['colorChannel1']),_0x30ac2a!=null&&_0x30ac2a[_0x2c486a(0x352)]&&_0x51e1b5[_0x2c486a(0x11b)]==='colorChannel1'&&(_0x51e1b5[_0x2c486a(0x11b)]=_0x30ac2a['colorChannel1']),_0x213113['tag']===_0x2c486a(0x1f7)&&_0x51e1b5['id']&&(_0x51e1b5['id']+=_0x2bf855[_0x2c486a(0x36a)]),Object[_0x2c486a(0x215)](_0x51e1b5)[_0x2c486a(0x32f)](([_0x286c32,_0x4470aa])=>{const _0x33d206=_0x2c486a;_0x286c32===_0x33d206(0x1f7)&&typeof _0x4470aa==_0x33d206(0x1b0)&&(_0x51e1b5[_0x286c32]=_0x4470aa[_0x33d206(0x131)](/url\(#(.*)\)/,_0x33d206(0x15b)+_0x2bf855[_0x33d206(0x36a)]+')'));});let {defIds:_0x1182e6}=_0x2bf855;return!_0x1182e6||_0x1182e6[_0x2c486a(0x368)]===0x0?_0x51e1b5:(_0x213113[_0x2c486a(0x354)]===_0x2c486a(0x38c)&&_0x51e1b5[_0x2c486a(0xec)]&&(_0x51e1b5['xlink:href']+=_0x2bf855['idSuffix']),Object[_0x2c486a(0x215)](_0x51e1b5)['forEach'](([_0x30544f,_0x48b3e8])=>{const _0xf291c1=_0x2c486a;typeof _0x48b3e8==_0xf291c1(0x1b0)&&(_0x51e1b5[_0x30544f]=_0x48b3e8[_0xf291c1(0x131)](/url\(#(.*)\)/,_0xf291c1(0x15b)+_0x2bf855[_0xf291c1(0x36a)]+')'));}),_0x51e1b5);}function _0x28bbe7(_0x5cc590,_0x54445b){const _0x2634c4=_0x386c9a;var _0x5eb355;let {defIds:_0x1b2204}=_0x54445b;return!_0x1b2204||_0x1b2204[_0x2634c4(0x368)]===0x0?_0x5cc590:_0x5cc590[_0x2634c4(0x354)]===_0x2634c4(0x197)&&(_0x5eb355=_0x5cc590[_0x2634c4(0x176)])!=null&&_0x5eb355[_0x2634c4(0x368)]?{..._0x5cc590,'children':_0x5cc590[_0x2634c4(0x176)][_0x2634c4(0x2a3)](_0x32db79=>typeof _0x32db79[_0x2634c4(0x16c)]['id']==_0x2634c4(0x1b0)&&_0x1b2204&&_0x1b2204[_0x2634c4(0x261)](_0x32db79[_0x2634c4(0x16c)]['id'])?{..._0x32db79,'attrs':{..._0x32db79['attrs'],'id':_0x32db79[_0x2634c4(0x16c)]['id']+_0x54445b[_0x2634c4(0x36a)]}}:_0x32db79)}:_0x5cc590;}function _0x2ab16d(){const _0x56ecbc=_0x386c9a;return Math[_0x56ecbc(0x224)]()['toString'](0x24)['substring'](0x2,0x8);}_0xff9b60[_0x386c9a(0x13d)]='UniverIcon';let _0x59f1ea={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x386c9a(0x3a9),'viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x386c9a(0xa6)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'stroke':_0x386c9a(0x3a0),'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':_0x386c9a(0xa2),'strokeLinejoin':_0x386c9a(0xa2),'strokeWidth':1.2}}]},{'tag':_0x386c9a(0x197),'attrs':{},'children':[{'tag':_0x386c9a(0x3ce),'attrs':{'id':_0x386c9a(0x1f8)},'children':[{'tag':'path','attrs':{'fill':_0x386c9a(0x371),'d':_0x386c9a(0x3c8)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2e4189=(0x0,_0x1f628d[_0x386c9a(0x27f)])(function(_0x356ea1,_0x10600a){const _0x3da23c=_0x386c9a;return(0x0,_0x1f628d[_0x3da23c(0x3f9)])(_0xff9b60,Object[_0x3da23c(0x33e)]({},_0x356ea1,{'id':'off-line-icon','ref':_0x10600a,'icon':_0x59f1ea}));});_0x2e4189[_0x386c9a(0x13d)]=_0x386c9a(0x38f);let _0x3a8e99={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':_0x386c9a(0xe7),'fill':_0x386c9a(0x3a9),'viewBox':'0\x200\x2017\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'stroke':_0x386c9a(0x3a0),'d':_0x386c9a(0x1d8),'strokeLinecap':_0x386c9a(0xa2),'strokeLinejoin':_0x386c9a(0xa2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x386c9a(0x3ce),'attrs':{'id':_0x386c9a(0x333)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'fill':_0x386c9a(0x371),'d':'M0\x200H16V16H0z','transform':_0x386c9a(0x398)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4f1d14=(0x0,_0x1f628d['forwardRef'])(function(_0x1eb0b5,_0x22813b){const _0x43be9d=_0x386c9a;return(0x0,_0x1f628d[_0x43be9d(0x3f9)])(_0xff9b60,Object[_0x43be9d(0x33e)]({},_0x1eb0b5,{'id':_0x43be9d(0x3fa),'ref':_0x22813b,'icon':_0x3a8e99}));});_0x4f1d14[_0x386c9a(0x13d)]=_0x386c9a(0xef);let _0x26c483={'tag':'svg','attrs':{'xmlns':_0x386c9a(0xe7),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':_0x386c9a(0xbe),'attrs':{'fill':'currentColor','d':_0x386c9a(0x25f),'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}}]},_0x183917=(0x0,_0x1f628d[_0x386c9a(0x27f)])(function(_0x346ecc,_0x129179){const _0x5ca8fc=_0x386c9a;return(0x0,_0x1f628d[_0x5ca8fc(0x3f9)])(_0xff9b60,Object[_0x5ca8fc(0x33e)]({},_0x346ecc,{'id':_0x5ca8fc(0xdb),'ref':_0x129179,'icon':_0x26c483}));});_0x183917[_0x386c9a(0x13d)]=_0x386c9a(0x108);let _0x1ca886={'tag':_0x386c9a(0x19b),'attrs':{'xmlns':_0x386c9a(0xe7),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x386c9a(0x190),'height':_0x386c9a(0x190)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','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':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}},{'tag':_0x386c9a(0xbe),'attrs':{'fill':_0x386c9a(0x332),'d':_0x386c9a(0x40d),'fillRule':_0x386c9a(0x329),'clipRule':_0x386c9a(0x329)}}]},_0x458409=(0x0,_0x1f628d['forwardRef'])(function(_0x245995,_0x39fe58){const _0xc79763=_0x386c9a;return(0x0,_0x1f628d[_0xc79763(0x3f9)])(_0xff9b60,Object[_0xc79763(0x33e)]({},_0x245995,{'id':_0xc79763(0x2b2),'ref':_0x39fe58,'icon':_0x1ca886}));});_0x458409[_0x386c9a(0x13d)]=_0x386c9a(0x28d);function _0x4de66d(_0x2e7f30){const _0xc2ca27=_0x386c9a;switch(_0x2e7f30){case _0x2248ce[_0xc2ca27(0x323)][_0xc2ca27(0x1e0)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x2e4189,{}),'colorClass':'univer-text-red-500','i18nKey':_0xc2ca27(0x406),'tooltipKey':_0xc2ca27(0xe8),'clickable':!0x0,'indicator':_0xc2ca27(0x3a5)};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0xbc)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x2e4189,{}),'colorClass':_0xc2ca27(0xa9),'i18nKey':_0xc2ca27(0xc4),'clickable':!0x1,'indicator':'static'};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0x105)]:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xab),'clickable':!0x1,'indicator':_0xc2ca27(0x1aa)};case _0x2248ce[_0xc2ca27(0x323)]['NOT_COLLAB']:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x4f1d14,{}),'colorClass':'univer-text-gray-400','i18nKey':_0xc2ca27(0x20a),'clickable':!0x1,'indicator':'static'};case _0x2248ce[_0xc2ca27(0x323)]['AWAITING']:case _0x2248ce['CollaborationStatus'][_0xc2ca27(0x1a8)]:return{'icon':(0x0,_0x418e4f['jsx'])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xa3),'clickable':!0x1,'indicator':'spin'};case _0x2248ce['CollaborationStatus'][_0xc2ca27(0xe6)]:return{'icon':(0x0,_0x418e4f[_0xc2ca27(0x1df)])(_0x458409,{}),'colorClass':_0xc2ca27(0x3e5),'i18nKey':_0xc2ca27(0xa3),'clickable':!0x1,'indicator':_0xc2ca27(0x1aa)};case _0x2248ce[_0xc2ca27(0x323)]['SYNCED']:return{'icon':(0x0,_0x418e4f['jsx'])(_0x4f1d14,{}),'colorClass':_0xc2ca27(0x27c),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':'static'};}}function _0x597e4b(_0x1cdbd0){const _0x495b42=_0x386c9a;let {status$:_0x2c0d95}=_0x1cdbd0,_0x260417=(0x0,_0xad5ce['useObservable'])(_0x2c0d95,_0x2248ce[_0x495b42(0x323)][_0x495b42(0x376)]),_0x1ceed3=(0x0,_0xad5ce[_0x495b42(0x36b)])(_0x3188ec[_0x495b42(0x2cb)]),_0x28379f=(0x0,_0xad5ce[_0x495b42(0x36b)])(_0x2248ce['CollaborationSessionService']),_0x2c7f42=(0x0,_0x1f628d['useMemo'])(()=>_0x4de66d(_0x260417),[_0x260417]),_0x3a77c5=_0x260417!==_0x2248ce[_0x495b42(0x323)][_0x495b42(0x1e0)],_0x301286=_0x1ceed3['t'](_0x2c7f42[_0x495b42(0x1dd)]),_0x5b5e23=_0x2c7f42[_0x495b42(0x24a)]?_0x1ceed3['t'](_0x2c7f42[_0x495b42(0x24a)]):_0x301286,_0x41b602=(0x0,_0x1f628d[_0x495b42(0x165)])(()=>{const _0x1a0387=_0x495b42;_0x3a77c5||_0x28379f[_0x1a0387(0x243)]();},[_0x3a77c5,_0x28379f]),_0x31f3f3=(0x0,_0x1f628d[_0x495b42(0x165)])(_0x508766=>{const _0x36238e=_0x495b42;!_0x3a77c5&&(_0x508766[_0x36238e(0x155)]===_0x36238e(0x2c8)||_0x508766[_0x36238e(0x155)]==='\x20')&&(_0x508766[_0x36238e(0x11e)](),_0x28379f['reconnect']());},[_0x3a77c5,_0x28379f]),_0x4ea4e7=(0x0,_0x418e4f[_0x495b42(0x1df)])('span',{'className':(0x0,_0x36a1a4['clsx'])(_0x495b42(0x3e9),_0x495b42(0x337),_0x2c7f42['colorClass'],{'univer-animate-spin':_0x2c7f42['indicator']===_0x495b42(0x1aa),'univer-animate-pulse':_0x2c7f42[_0x495b42(0x23a)]===_0x495b42(0x343)}),'aria-hidden':_0x495b42(0xe3),'children':_0x2c7f42[_0x495b42(0x327)]}),_0x4e1212=(0x0,_0x418e4f[_0x495b42(0x1df)])('span',{'className':(0x0,_0x36a1a4[_0x495b42(0x35c)])(_0x495b42(0x3e9),_0x495b42(0x356),_0x495b42(0x10a),_0x495b42(0x291),_0x495b42(0x363),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x2c7f42[_0x495b42(0x2dd)],'univer-cursor-default':!_0x2c7f42[_0x495b42(0x2dd)]}),'children':_0x4ea4e7});return _0x2c7f42[_0x495b42(0x2dd)]?(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x36a1a4['Tooltip'],{'title':_0x5b5e23,'placement':_0x495b42(0x123),'children':(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x495b42(0x396),{'type':_0x495b42(0x396),'onClick':_0x41b602,'onKeyDown':_0x31f3f3,'className':(0x0,_0x36a1a4[_0x495b42(0x35c)])(_0x495b42(0x259),_0x495b42(0x17d),_0x495b42(0x1e4),'univer-appearance-none'),'aria-label':_0x301286+'\x20-\x20'+_0x5b5e23,'role':_0x495b42(0xcf),'aria-live':_0x495b42(0x3d0),'aria-atomic':_0x495b42(0xe3),'children':_0x4e1212})}):(0x0,_0x418e4f[_0x495b42(0x1df)])(_0x36a1a4[_0x495b42(0x121)],{'title':_0x5b5e23,'placement':_0x495b42(0x123),'children':(0x0,_0x418e4f[_0x495b42(0x1df)])('div',{'className':(0x0,_0x36a1a4['clsx'])(_0x495b42(0x259),_0x495b42(0x17d),_0x495b42(0x1e4)),'aria-label':_0x301286,'role':_0x495b42(0xcf),'aria-live':_0x495b42(0x3d0),'aria-atomic':_0x495b42(0xe3),'children':_0x4e1212})});}function _0x3507b1(_0x1d829f){'@babel/helpers - typeof';const _0x1d0673=_0x386c9a;return _0x3507b1=typeof Symbol==_0x1d0673(0x14f)&&typeof Symbol[_0x1d0673(0x3c9)]==_0x1d0673(0x3af)?function(_0x478dc0){return typeof _0x478dc0;}:function(_0x2c2a6a){const _0x3596ba=_0x1d0673;return _0x2c2a6a&&typeof Symbol=='function'&&_0x2c2a6a[_0x3596ba(0x277)]===Symbol&&_0x2c2a6a!==Symbol[_0x3596ba(0x253)]?'symbol':typeof _0x2c2a6a;},_0x3507b1(_0x1d829f);}function _0x3fbce2(_0x12b551,_0x12d08f){const _0x381023=_0x386c9a;if(_0x3507b1(_0x12b551)!=_0x381023(0x2a7)||!_0x12b551)return _0x12b551;var _0x54a885=_0x12b551[Symbol['toPrimitive']];if(_0x54a885!==void 0x0){var _0x521a13=_0x54a885['call'](_0x12b551,_0x12d08f||'default');if(_0x3507b1(_0x521a13)!=_0x381023(0x2a7))return _0x521a13;throw TypeError(_0x381023(0x33a));}return(_0x12d08f==='string'?String:Number)(_0x12b551);}function _0x3f1545(_0x273e5d){const _0x1cf015=_0x386c9a;var _0x108d1f=_0x3fbce2(_0x273e5d,_0x1cf015(0x1b0));return _0x3507b1(_0x108d1f)=='symbol'?_0x108d1f:_0x108d1f+'';}function _0x2109ac(_0x11582b,_0xe205f8,_0x4b429b){const _0x1d4c74=_0x386c9a;return(_0xe205f8=_0x3f1545(_0xe205f8))in _0x11582b?Object[_0x1d4c74(0x12f)](_0x11582b,_0xe205f8,{'value':_0x4b429b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x11582b[_0xe205f8]=_0x4b429b,_0x11582b;}function _0x148b43(_0x13c930,_0x36678c){return function(_0x736173,_0x1a62be){_0x36678c(_0x736173,_0x1a62be,_0x13c930);};}function _0x442f80(_0x14eeed,_0x278574,_0x320587,_0x4933d){const _0x2340d8=_0x386c9a;var _0x4b0ecb=arguments['length'],_0x1ac346=_0x4b0ecb<0x3?_0x278574:_0x4933d===null?_0x4933d=Object[_0x2340d8(0x303)](_0x278574,_0x320587):_0x4933d,_0xcc60de;if(typeof Reflect==_0x2340d8(0x2a7)&&typeof Reflect['decorate']==_0x2340d8(0x14f))_0x1ac346=Reflect[_0x2340d8(0x1af)](_0x14eeed,_0x278574,_0x320587,_0x4933d);else{for(var _0x4ee377=_0x14eeed['length']-0x1;_0x4ee377>=0x0;_0x4ee377--)(_0xcc60de=_0x14eeed[_0x4ee377])&&(_0x1ac346=(_0x4b0ecb<0x3?_0xcc60de(_0x1ac346):_0x4b0ecb>0x3?_0xcc60de(_0x278574,_0x320587,_0x1ac346):_0xcc60de(_0x278574,_0x320587))||_0x1ac346);}return _0x4b0ecb>0x3&&_0x1ac346&&Object[_0x2340d8(0x12f)](_0x278574,_0x320587,_0x1ac346),_0x1ac346;}let _0x1152cb=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x530a37,_0xf1b526,_0x3e4387,_0x10d5a9){const _0x2ccce0=_0x386c9a;super(),this[_0x2ccce0(0x315)]=_0x530a37,this[_0x2ccce0(0x2f4)]=_0xf1b526,this[_0x2ccce0(0x33b)]=_0x3e4387,this['_uiPartsService']=_0x10d5a9,_0x2109ac(this,_0x2ccce0(0x3a2),new _0x3a9a2c[(_0x2ccce0(0x1ba))](_0x2248ce[_0x2ccce0(0x323)][_0x2ccce0(0x376)])),this[_0x2ccce0(0x1f4)](),this['_initStatusListener']();}[_0x386c9a(0x2fc)](){const _0x4dcfd3=_0x386c9a;this['disposeWithMe']((0x0,_0x3a9a2c[_0x4dcfd3(0x252)])(this[_0x4dcfd3(0x315)][_0x4dcfd3(0x3c7)],this['_univerInstanceService'][_0x4dcfd3(0x150)](_0x3188ec[_0x4dcfd3(0x28e)][_0x4dcfd3(0x3ae)]),this[_0x4dcfd3(0x315)][_0x4dcfd3(0x150)](_0x3188ec[_0x4dcfd3(0x28e)][_0x4dcfd3(0x133)]))[_0x4dcfd3(0x32a)]((0x0,_0x30c188[_0x4dcfd3(0x2a3)])(()=>_0x3c4059(this['_univerInstanceService'])),(0x0,_0x30c188[_0x4dcfd3(0x3e2)])(),(0x0,_0x3a9a2c[_0x4dcfd3(0x177)])(_0x15d214=>_0x15d214?this[_0x4dcfd3(0x33b)][_0x4dcfd3(0x2a8)](_0x15d214):(0x0,_0x3a9a2c['of'])(null)),(0x0,_0x3a9a2c[_0x4dcfd3(0x177)])(_0x219c6a=>_0x219c6a?_0x219c6a[_0x4dcfd3(0x272)]:(0x0,_0x3a9a2c['of'])(_0x2248ce[_0x4dcfd3(0x323)]['NOT_COLLAB'])))[_0x4dcfd3(0x341)](_0x10a3af=>{const _0x535d57=_0x4dcfd3;this[_0x535d57(0x3a2)][_0x535d57(0x362)](_0x10a3af);}));}[_0x386c9a(0x1f4)](){const _0x5d719e=_0x386c9a;this[_0x5d719e(0x2da)](this['_uiPartsService'][_0x5d719e(0x210)](_0xad5ce[_0x5d719e(0xaf)][_0x5d719e(0x104)],()=>(0x0,_0xad5ce[_0x5d719e(0x3ad)])(_0x13426a({'status$':this[_0x5d719e(0x3a2)][_0x5d719e(0x12b)]()}),this[_0x5d719e(0x2f4)])));}};_0x1152cb=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec['Injector'])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x3,_0xad5ce['IUIPartsService'])],_0x1152cb);let _0x21e743=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x4a7df2,_0x46b55f,_0x270310,_0x746a70){const _0x579665=_0x386c9a;super(),this['_univerInstanceService']=_0x4a7df2,this['_injector']=_0x46b55f,this['_collaborationController']=_0x270310,this['_uiPartsService']=_0x746a70,_0x2109ac(this,_0x579665(0x3a2),new _0x3a9a2c['BehaviorSubject'](_0x2248ce['CollaborationStatus']['NOT_COLLAB'])),this[_0x579665(0x1f4)](),this[_0x579665(0x2fc)]();}['_initStatusListener'](){const _0x3f0d32=_0x386c9a;this['disposeWithMe']((0x0,_0x3a9a2c[_0x3f0d32(0x252)])((0x0,_0x3a9a2c['of'])(null),this[_0x3f0d32(0x315)][_0x3f0d32(0x150)](_0x3188ec[_0x3f0d32(0x28e)][_0x3f0d32(0xa0)]))[_0x3f0d32(0x32a)]((0x0,_0x30c188[_0x3f0d32(0x2a3)])(()=>_0xcb9171(this[_0x3f0d32(0x315)])),(0x0,_0x30c188['distinctUntilChanged'])(),(0x0,_0x3a9a2c[_0x3f0d32(0x177)])(_0x230646=>_0x230646?this[_0x3f0d32(0x33b)][_0x3f0d32(0x2a8)](_0x230646):(0x0,_0x3a9a2c['of'])(null)),(0x0,_0x3a9a2c[_0x3f0d32(0x177)])(_0x1a0a75=>_0x1a0a75?_0x1a0a75[_0x3f0d32(0x272)]:(0x0,_0x3a9a2c['of'])(_0x2248ce['CollaborationStatus'][_0x3f0d32(0x376)])))[_0x3f0d32(0x341)](_0x38d2cb=>{const _0x1735e5=_0x3f0d32;this['_status$'][_0x1735e5(0x362)](_0x38d2cb);}));}[_0x386c9a(0x1f4)](){const _0x17813b=_0x386c9a;this['disposeWithMe'](this['_uiPartsService'][_0x17813b(0x210)](_0x20b4fa[_0x17813b(0x24f)],()=>(0x0,_0xad5ce[_0x17813b(0x3ad)])(_0x13426a({'status$':this[_0x17813b(0x3a2)][_0x17813b(0x12b)]()}),this[_0x17813b(0x2f4)])));}};_0x21e743=_0x442f80([_0x148b43(0x0,_0x3188ec['IUniverInstanceService']),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x3,_0xad5ce[_0x386c9a(0x214)])],_0x21e743);function _0x3c4059(_0x1ea994){const _0x3c58b9=_0x386c9a;let _0x4a8152=_0x1ea994[_0x3c58b9(0x369)](),_0x28d6bd=_0x4a8152==null?void 0x0:_0x4a8152[_0x3c58b9(0x3e8)]();if(_0x28d6bd&&!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x28d6bd))return _0x28d6bd;let _0x542605=_0x1ea994[_0x3c58b9(0x2ca)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x3ae)]),_0x4c1962=_0x542605==null?void 0x0:_0x542605[_0x3c58b9(0x3e8)]();if(_0x4c1962&&!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x4c1962))return _0x4c1962;let _0x16b256=_0x1ea994[_0x3c58b9(0x2ca)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x133)]);if(_0x16b256)return _0x16b256[_0x3c58b9(0x3e8)]();let _0x587432=_0x1ea994[_0x3c58b9(0x1f9)](_0x3188ec[_0x3c58b9(0x28e)][_0x3c58b9(0x3ae)])['find'](_0x5d9595=>!(0x0,_0x3188ec[_0x3c58b9(0x3f4)])(_0x5d9595['getUnitId']()));return _0x587432?_0x587432[_0x3c58b9(0x3e8)]():null;}function _0xcb9171(_0x35cbdd){const _0x293728=_0x386c9a;var _0x3b5045;let _0x38291c=_0x35cbdd['getCurrentUnitOfType'](_0x3188ec['UniverInstanceType'][_0x293728(0xa0)]);return(_0x3b5045=_0x38291c==null?void 0x0:_0x38291c[_0x293728(0x3e8)]())==null?null:_0x3b5045;}function _0x13426a(_0x2b5368){let {status$:_0x118677}=_0x2b5368;return function(){const _0x343102=_0xbfb2;return(0x0,_0x418e4f[_0x343102(0x1df)])(_0x597e4b,{'status$':_0x118677});};}var _0x573e1f=_0x386c9a(0x317),_0x161965=_0x386c9a(0x2d4);let _0x38b360={},_0x4c0fe9=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x59b3be,_0xeb7225){const _0x478ab3=_0x386c9a;super(),this[_0x478ab3(0x346)]=_0x59b3be,this[_0x478ab3(0xfb)]=_0xeb7225,this['_init']();}['_init'](){const _0x379403=_0x386c9a;let _0x4e779a=this;this[_0x379403(0x2da)](this[_0x379403(0x346)][_0x379403(0xd7)]({'onBeforePasteImage':async _0x398b3c=>{const _0x215d01=_0x379403;let _0x384a80=await _0x4e779a[_0x215d01(0xfb)]['saveImage'](_0x398b3c);return _0x384a80?{'source':_0x384a80[_0x215d01(0xc5)],'imageSourceType':_0x384a80[_0x215d01(0x3b8)]}:null;}}));}};_0x4c0fe9=_0x442f80([_0x148b43(0x0,_0x390782['IDocClipboardService']),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x2e0)])],_0x4c0fe9);function _0x25e53d(_0x4bfba0,_0x1a9861){const _0x4e7fa1=_0x386c9a;_0x4bfba0['save'](),_0x4bfba0[_0x4e7fa1(0x113)]=_0x4e7fa1(0x2c6);let _0x2d8240=_0x4bfba0['measureText'](_0x1a9861)['width'];return _0x4bfba0[_0x4e7fa1(0xad)](),Math[_0x4e7fa1(0x3f2)](_0x2d8240+0x8,0xc8);}function _0x30d44b(_0x3aba42,_0x58a2dc){const _0x5acc13=_0x386c9a;var _0x34e5d1,_0x42bdc8,_0x3e0649;let {radius:_0x32541b,width:_0x28f4b5,height:_0xef1ad9}=_0x58a2dc;_0x32541b=(_0x34e5d1=_0x32541b)==null?0x0:_0x34e5d1,_0x28f4b5=(_0x42bdc8=_0x28f4b5)==null?0x1e:_0x42bdc8,_0xef1ad9=(_0x3e0649=_0xef1ad9)==null?0x1e:_0x3e0649;let _0xa097c1=0x0,_0x103e64=0x0,_0x49adde=0x0;_0xa097c1=_0x103e64=_0x49adde=Math[_0x5acc13(0x3f2)](_0x32541b,_0x28f4b5/0x2,_0xef1ad9/0x2),_0x3aba42['beginPath'](),_0x3aba42[_0x5acc13(0xa1)](_0xa097c1,0x0),_0x3aba42[_0x5acc13(0x37c)](_0x28f4b5-_0x103e64,0x0),_0x3aba42[_0x5acc13(0x390)](_0x28f4b5-_0x103e64,_0x103e64,_0x103e64,Math['PI']*0x3/0x2,0x0,!0x1),_0x3aba42[_0x5acc13(0x37c)](_0x28f4b5,_0xef1ad9-_0x49adde),_0x3aba42[_0x5acc13(0x390)](_0x28f4b5-_0x49adde,_0xef1ad9-_0x49adde,_0x49adde,0x0,Math['PI']/0x2,!0x1),_0x3aba42[_0x5acc13(0x37c)](0x0,_0xef1ad9),_0x3aba42[_0x5acc13(0x37c)](0x0,_0xa097c1),_0x3aba42[_0x5acc13(0x390)](_0xa097c1,_0xa097c1,_0xa097c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3aba42[_0x5acc13(0x3cf)](),_0x58a2dc[_0x5acc13(0x15c)]&&(_0x3aba42[_0x5acc13(0x2f6)](),_0x3aba42[_0x5acc13(0x2a6)]=_0x58a2dc[_0x5acc13(0x15c)],_0x58a2dc[_0x5acc13(0x3b7)]===_0x5acc13(0x329)?_0x3aba42['fill']('evenodd'):_0x3aba42['fill'](),_0x3aba42['restore']());}var _0x19e9c3=class _0x576de9 extends _0x38b39d[_0x386c9a(0xf2)]{constructor(_0x48f3ec,_0x20124f){const _0x4b28f6=_0x386c9a;super(_0x48f3ec,_0x20124f),_0x2109ac(this,_0x4b28f6(0x325),void 0x0),_0x2109ac(this,_0x4b28f6(0x3ec),void 0x0),this['color']=_0x20124f==null?void 0x0:_0x20124f['color'],this['text']=_0x20124f==null?void 0x0:_0x20124f[_0x4b28f6(0x3ec)];}static[_0x386c9a(0x282)](_0x589e71,_0x2f9109){const _0x3176a2=_0x386c9a;let {text:_0x4a7e2a,color:_0xfdc559}=_0x2f9109;_0x589e71[_0x3176a2(0x2f6)](),_0x589e71['font']=_0x3176a2(0x17a);let _0x3533d9=_0x589e71['measureText'](_0x4a7e2a)[_0x3176a2(0x380)];if(_0x30d44b(_0x589e71,{'height':0x14,'radius':0x4,'width':_0x25e53d(_0x589e71,_0x4a7e2a),'fill':_0xfdc559,'evented':!0x1}),_0x589e71[_0x3176a2(0x2a6)]=_0x3176a2(0x37a),_0x3533d9>0xc0){let _0x36033c='',_0x4a2e20=0x0;for(let _0x1eba5a of _0x4a7e2a){let _0x4e0826=_0x589e71[_0x3176a2(0x312)](_0x1eba5a)[_0x3176a2(0x380)];if(_0x4a2e20+_0x4e0826<=0xc0-_0x589e71[_0x3176a2(0x312)]('...')[_0x3176a2(0x380)])_0x36033c+=_0x1eba5a,_0x4a2e20+=_0x4e0826;else{_0x36033c+='...';break;}}_0x589e71[_0x3176a2(0x147)](_0x36033c,0x4,0xf);}else _0x589e71[_0x3176a2(0x147)](_0x4a7e2a,0x4,0xf);_0x589e71[_0x3176a2(0xad)]();}['_draw'](_0x52431e){const _0x42c7e7=_0x386c9a;_0x576de9[_0x42c7e7(0x282)](_0x52431e,this);}};let _0x4f92ff=0x138a;var _0x36c05d=class extends _0x38b39d['Shape']{constructor(_0x29d8a4,_0x279d32){const _0xdacb74=_0x386c9a;super(_0x29d8a4,{..._0x279d32,'evented':!0x1}),_0x2109ac(this,_0xdacb74(0xa7),_0xdacb74(0x1d3)),_0x2109ac(this,'_name',''),_0x2109ac(this,_0xdacb74(0x318),!0x0),_0x279d32&&this[_0xdacb74(0x3b4)](_0x279d32);}[_0x386c9a(0x3b4)](_0x371de6){const _0x25812b=_0x386c9a;var _0x96690f,_0x5a4ef8,_0x2bcdf7,_0x5df5a2,_0x2a598c,_0x28b85b,_0x4b1847,_0x5d6b7c;this[_0x25812b(0xa7)]=(_0x96690f=_0x371de6[_0x25812b(0x325)])==null?this[_0x25812b(0xa7)]:_0x96690f,this[_0x25812b(0x1bd)]=(_0x5a4ef8=_0x371de6[_0x25812b(0x10e)])==null?this['_name']:_0x5a4ef8,this[_0x25812b(0x318)]=(_0x2bcdf7=_0x371de6['showText'])==null?this[_0x25812b(0x318)]:_0x2bcdf7,this[_0x25812b(0x238)]=!0x1,this[_0x25812b(0x1f0)]({'left':(_0x5df5a2=_0x371de6[_0x25812b(0x268)])==null?this[_0x25812b(0x268)]:_0x5df5a2,'top':(_0x2a598c=_0x371de6[_0x25812b(0x138)])==null?this[_0x25812b(0x138)]:_0x2a598c,'width':(_0x28b85b=_0x371de6[_0x25812b(0x380)])==null?this[_0x25812b(0x380)]:_0x28b85b,'height':(_0x4b1847=_0x371de6[_0x25812b(0x302)])==null?this['height']:_0x4b1847,'angle':(_0x5d6b7c=_0x371de6[_0x25812b(0x2b7)])==null?this['angle']:_0x5d6b7c});}['_draw'](_0x30e5d8){const _0x405713=_0x386c9a;_0x30e5d8[_0x405713(0x2f6)](),_0x30e5d8[_0x405713(0x114)]=this[_0x405713(0xa7)],_0x30e5d8[_0x405713(0x33c)]=this['strokeWidth']||1.5,_0x30e5d8[_0x405713(0x353)]([0x6,0x4]),_0x30e5d8[_0x405713(0x27e)](0x0,0x0,this[_0x405713(0x380)],this[_0x405713(0x302)]),_0x30e5d8[_0x405713(0xad)](),this[_0x405713(0x318)]&&(_0x30e5d8[_0x405713(0x2f6)](),_0x30e5d8[_0x405713(0x2c1)](0x1,0x0,0x0,0x1,this[_0x405713(0x380)],-0x14),_0x19e9c3['drawWith'](_0x30e5d8,{'text':this[_0x405713(0x1bd)],'color':this[_0x405713(0xa7)]}),_0x30e5d8[_0x405713(0xad)]());}};let _0x31665e=[_0x386c9a(0x174),_0x386c9a(0x21d),'green.600','red.300',_0x386c9a(0x23c),_0x386c9a(0x12e)];var _0x4cf754=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(..._0x5575cc){super(..._0x5575cc),_0x2109ac(this,'_assignedColors',new Map()),_0x2109ac(this,'_colorIndex',0x0);}[_0x386c9a(0xb4)](_0xca3190){const _0x5672d3=_0x386c9a;if(this[_0x5672d3(0x196)]['has'](_0xca3190))return this[_0x5672d3(0x196)]['get'](_0xca3190);let _0x45004e=_0x31665e[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x31665e[_0x5672d3(0x368)],this[_0x5672d3(0x196)]['set'](_0xca3190,_0x45004e),_0x45004e;}};function _0xaf36e2(_0x29c420){const _0x1823b6=_0x386c9a;let _0x2ca6bf;try{_0x2ca6bf=JSON['parse'](_0x29c420);}catch{return null;}if(typeof _0x2ca6bf!=_0x1823b6(0x2a7)||!_0x2ca6bf)return null;let _0x3abf0f=_0x2ca6bf;if(_0x3abf0f[_0x1823b6(0x1b1)]!==_0x1823b6(0x2b6)||typeof _0x3abf0f['unitId']!=_0x1823b6(0x1b0)||typeof _0x3abf0f[_0x1823b6(0x2f0)]!=_0x1823b6(0x1b0))return null;let _0x36942d=Array[_0x1823b6(0x1bc)](_0x3abf0f[_0x1823b6(0x2bc)])?_0x3abf0f[_0x1823b6(0x2bc)][_0x1823b6(0x26a)](_0x1920bb=>typeof _0x1920bb==_0x1823b6(0x1b0)):[],_0x1952c2=typeof _0x3abf0f[_0x1823b6(0x16e)]==_0x1823b6(0x1b0)?_0x3abf0f[_0x1823b6(0x16e)]:null;return{'kind':_0x1823b6(0x2b6),'unitId':_0x3abf0f[_0x1823b6(0x232)],'subUnitId':_0x3abf0f['subUnitId'],'selectedIds':_0x36942d,'focusedId':_0x1952c2};}let _0x3e60a0=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x22f4c6=_0x386c9a;return this['_cursorInfo$'][_0x22f4c6(0x1c7)]();}get['roomMembers'](){const _0x332bb3=_0x386c9a;return this[_0x332bb3(0x205)]['getValue']();}constructor(_0x1b13d3,_0x539e7d,_0xb28dd6,_0x5af13c,_0x377b60){const _0x41c743=_0x386c9a;super(),this['unitID']=_0x1b13d3,this[_0x41c743(0x35e)]=_0x539e7d,this[_0x41c743(0xd0)]=_0xb28dd6,this['_memberService']=_0x5af13c,this[_0x41c743(0x3f3)]=_0x377b60,_0x2109ac(this,_0x41c743(0x39f),!0x1),_0x2109ac(this,_0x41c743(0x34d),!0x1),_0x2109ac(this,'_cursorInfo$',new _0x3a9a2c[(_0x41c743(0x1ba))](new Map())),_0x2109ac(this,_0x41c743(0x169),this[_0x41c743(0x21c)][_0x41c743(0x12b)]()),_0x2109ac(this,_0x41c743(0x205),new _0x3a9a2c[(_0x41c743(0x1ba))]([])),_0x2109ac(this,_0x41c743(0x19f),this[_0x41c743(0x205)][_0x41c743(0x32a)]((0x0,_0x3a9a2c[_0x41c743(0x21a)])(0x12c))),_0x2109ac(this,_0x41c743(0x404),(0x0,_0x3188ec[_0x41c743(0x15a)])(_0x52fb78=>{const _0x5da77e=_0x41c743;let _0x18b4bf=_0x52fb78[_0x5da77e(0xcc)];if(!_0x18b4bf||_0x18b4bf[_0x5da77e(0x232)]!==this['unitID'])return;let _0x23155b={'kind':_0x5da77e(0x2b6),'unitId':_0x18b4bf[_0x5da77e(0x232)],'subUnitId':_0x18b4bf['subUnitId'],'selectedIds':_0x52fb78[_0x5da77e(0x2bc)][_0x5da77e(0x26a)](_0x14154e=>typeof _0x14154e=='string'),'focusedId':_0x52fb78[_0x5da77e(0x16e)]},_0xd0bb49={'eventID':_0x1cdb30[_0x5da77e(0x2e8)][_0x5da77e(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x5da77e(0x35e)]['getMemberID'](),'selection':JSON['stringify'](_0x23155b)}};this[_0x5da77e(0x35e)][_0x5da77e(0x36e)](_0xd0bb49,this[_0x5da77e(0x141)]);},0x64));}[_0x386c9a(0x228)](){const _0x4d2df8=_0x386c9a;super['dispose'](),this[_0x4d2df8(0x21c)][_0x4d2df8(0x362)](new Map()),this['_cursorInfo$'][_0x4d2df8(0x30c)](),this['_roomMembers$'][_0x4d2df8(0x362)]([]),this['_roomMembers$'][_0x4d2df8(0x30c)]();}[_0x386c9a(0x206)](){const _0x274b45=_0x386c9a;this[_0x274b45(0x34d)]||(this[_0x274b45(0x34d)]=!0x0,this[_0x274b45(0x35e)][_0x274b45(0x157)][_0x274b45(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x274b45(0x181)]))[_0x274b45(0x341)](_0x2f57f5=>{const _0x235714=_0x274b45;_0x2f57f5===_0x2248ce[_0x235714(0x31b)]['ONLINE']?this['_toggleOnline']():this[_0x235714(0x34a)]();}),this[_0x274b45(0x35e)][_0x274b45(0x365)]['pipe']((0x0,_0x3a9a2c['takeUntil'])(this['dispose$']))[_0x274b45(0x341)](_0x43716e=>{const _0x1c82f6=_0x274b45;let _0x2c8f50=_0x43716e[_0x1c82f6(0x11f)];_0x2c8f50===_0x1cdb30['CollaborationEvent'][_0x1c82f6(0x1d9)]&&this[_0x1c82f6(0x128)](_0x43716e),_0x2c8f50===_0x1cdb30['CollaborationEvent']['USERS_LEAVE']&&this[_0x1c82f6(0x149)](_0x43716e);}),this['_boardElementStateService'][_0x274b45(0x3e7)][_0x274b45(0x32a)]((0x0,_0x3a9a2c[_0x274b45(0x1ef)])(this['dispose$']))['subscribe'](_0x2aba4a=>{const _0x539821=_0x274b45;this['_online']&&this[_0x539821(0x404)](_0x2aba4a);}));}[_0x386c9a(0x128)](_0x5b1e0d){const _0x59687d=_0x386c9a;var _0x317b03,_0x2f3351,_0x25b01e,_0x78d4;let {memberID:_0x276d0b,selection:_0xf7da95}=_0x5b1e0d[_0x59687d(0x17c)];if(_0x276d0b===((_0x317b03=(_0x2f3351=this[_0x59687d(0x35e)])[_0x59687d(0xd5)])==null?void 0x0:_0x317b03[_0x59687d(0x266)](_0x2f3351)))return;let _0x2e95d0=_0xaf36e2(_0xf7da95);if(!_0x2e95d0||_0x2e95d0[_0x59687d(0x232)]!==this[_0x59687d(0x141)])return;let _0x4721bb=(_0x25b01e=(_0x78d4=this['_memberService'][_0x59687d(0x1ae)](this['unitID'],_0x276d0b))==null?void 0x0:_0x78d4['name'])==null?_0x59687d(0x284):_0x25b01e,_0x277d0d={'color':this[_0x59687d(0xd0)][_0x59687d(0xb4)](_0x276d0b),'name':_0x4721bb,'unitId':_0x2e95d0[_0x59687d(0x232)],'subUnitId':_0x2e95d0[_0x59687d(0x2f0)],'selectedIds':_0x2e95d0[_0x59687d(0x2bc)],'focusedId':_0x2e95d0[_0x59687d(0x16e)],'selection':_0xf7da95},_0x58c410=new Map(this[_0x59687d(0x202)]);_0x58c410[_0x59687d(0x2eb)](_0x276d0b,_0x277d0d),this['_cursorInfo$']['next'](_0x58c410);}[_0x386c9a(0x149)](_0x14a057){const _0x533375=_0x386c9a;let {memberID:_0x5083c8}=_0x14a057[_0x533375(0x17c)],_0x20725e=new Map(this[_0x533375(0x202)]);_0x20725e[_0x533375(0x22f)](_0x5083c8),this['_cursorInfo$'][_0x533375(0x362)](_0x20725e);}['_toggleOnline'](){const _0x4d0cb8=_0x386c9a;this[_0x4d0cb8(0x39f)]=!0x0,this['_updateLocalCursor'](this[_0x4d0cb8(0x3f3)]['getSnapshot']());}['_toggleOffline'](){const _0x1704a1=_0x386c9a;this[_0x1704a1(0x39f)]=!0x1;}};_0x3e60a0=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x20b4fa[_0x386c9a(0x18a)]))],_0x3e60a0);function _0x551653(_0x8df430){let _0xf732df='';for(let _0x1985da of _0x8df430){let {startOffset:_0x229be5,endOffset:_0x47d8ae,isActive:_0x221eab,rangeType:_0x270ed8,segmentId:_0x5a771b,segmentPage:_0x3d30eb}=_0x1985da;_0xf732df['length']&&(_0xf732df+=','),_0xf732df+=_0x229be5+':'+_0x47d8ae+':'+(_0x221eab?'1':'0')+':'+_0x270ed8+':'+_0x5a771b+':'+_0x3d30eb;}return _0xf732df;}function _0x17e0b3(_0x157440){const _0x1acb22=_0x386c9a;let _0x27c750=_0x157440['split'](','),_0x308cc2=[];for(let _0x2204bb of _0x27c750){let [_0x5c238c,_0x376b95,_0x3188ea,_0x11cc79,_0x320585,_0x842085]=_0x2204bb[_0x1acb22(0x1c1)](':');_0x308cc2[_0x1acb22(0x18e)]({'startOffset':Number(_0x5c238c),'endOffset':Number(_0x376b95),'collapsed':_0x5c238c===_0x376b95,'isActive':_0x3188ea==='1','rangeType':_0x11cc79===_0x3188ec[_0x1acb22(0x35d)][_0x1acb22(0x22b)]?_0x3188ec[_0x1acb22(0x35d)]['TEXT']:_0x3188ec['DOC_RANGE_TYPE'][_0x1acb22(0x260)],'segmentId':typeof _0x320585==_0x1acb22(0x1b0)?String(_0x320585):'','segmentPage':Number(_0x842085==null?-0x1:_0x842085)});}return _0x308cc2[_0x1acb22(0x2af)](_0x29c625=>_0x29c625['isActive'])||(_0x308cc2[0x0]['isActive']=!0x0),_0x308cc2;}var _0x31641e=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(..._0x348eb2){const _0x5e65a1=_0x386c9a;super(..._0x348eb2),_0x2109ac(this,_0x5e65a1(0x220),new _0x3a9a2c['BehaviorSubject'](null)),_0x2109ac(this,_0x5e65a1(0x237),this[_0x5e65a1(0x220)]['asObservable']());}[_0x386c9a(0x229)](_0x471dc){const _0x32bfcc=_0x386c9a;let {unitID:_0x6cf922,memberID:_0x1d32fe,textRanges:_0x3f6bae}=_0x471dc,_0x3dc8ac=_0x551653(_0x3f6bae);if(_0x3dc8ac==='')return;let _0x13d9df={'unitID':_0x6cf922,'memberID':_0x1d32fe,'selection':_0x3dc8ac};this[_0x32bfcc(0x220)]['next'](_0x13d9df);}};let _0x155527=class extends _0x3188ec['RxDisposable']{get[_0x386c9a(0x202)](){const _0x2eaa76=_0x386c9a;return this[_0x2eaa76(0x21c)]['getValue']();}get[_0x386c9a(0x256)](){const _0xbddb80=_0x386c9a;return this['_roomMembers$'][_0xbddb80(0x1c7)]();}constructor(_0x408910,_0x2761c3,_0x111ed9,_0x4c77ae,_0xe58017,_0x50d134,_0x2bc841,_0x556e18,_0x549206){const _0x39a06a=_0x386c9a;super(),this[_0x39a06a(0x141)]=_0x408910,this[_0x39a06a(0x35e)]=_0x2761c3,this[_0x39a06a(0x2f4)]=_0x111ed9,this['_colorAssignService']=_0x4c77ae,this[_0x39a06a(0x236)]=_0xe58017,this[_0x39a06a(0x301)]=_0x50d134,this[_0x39a06a(0x246)]=_0x2bc841,this['_univerInstanceService']=_0x556e18,this['_commandService']=_0x549206,_0x2109ac(this,'_online',!0x1),_0x2109ac(this,_0x39a06a(0x34d),!0x1),_0x2109ac(this,'_cursorInfo$',new _0x3a9a2c['BehaviorSubject'](new Map())),_0x2109ac(this,_0x39a06a(0x169),this[_0x39a06a(0x21c)][_0x39a06a(0x12b)]()),_0x2109ac(this,_0x39a06a(0x205),new _0x3a9a2c['BehaviorSubject']([])),_0x2109ac(this,_0x39a06a(0x19f),this[_0x39a06a(0x205)][_0x39a06a(0x32a)]((0x0,_0x3a9a2c['debounceTime'])(0x12c))),_0x2109ac(this,_0x39a06a(0x404),(0x0,_0x3188ec[_0x39a06a(0x15a)])(_0x4e7e7d=>{const _0x116451=_0x39a06a;let _0x34ecea={'eventID':_0x1cdb30[_0x116451(0x2e8)][_0x116451(0x1d9)],'data':{'unitID':this[_0x116451(0x141)],'memberID':this['_session']['getMemberID'](),'selection':_0x551653(_0x4e7e7d)}};this[_0x116451(0x35e)][_0x116451(0x36e)](_0x34ecea,this[_0x116451(0x141)]);},0x64));}[_0x386c9a(0x228)](){const _0x21b10e=_0x386c9a;super['dispose'](),this[_0x21b10e(0x21c)][_0x21b10e(0x362)](new Map()),this[_0x21b10e(0x21c)][_0x21b10e(0x30c)](),this['_roomMembers$'][_0x21b10e(0x362)]([]),this[_0x21b10e(0x205)][_0x21b10e(0x30c)]();}[_0x386c9a(0x206)](){const _0x349492=_0x386c9a;this[_0x349492(0x34d)]||(this[_0x349492(0x34d)]=!0x0,this[_0x349492(0x35e)][_0x349492(0x157)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this[_0x349492(0x181)]))['subscribe'](_0x451be4=>{const _0x6e611d=_0x349492;_0x451be4===_0x2248ce[_0x6e611d(0x31b)]['ONLINE']?this[_0x6e611d(0x213)]():this['_toggleOffline']();}),this['_session'][_0x349492(0x365)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this['dispose$']))[_0x349492(0x341)](_0x1c149c=>{const _0x30c35f=_0x349492;let _0x21e2d9=_0x1c149c[_0x30c35f(0x11f)];_0x21e2d9===_0x1cdb30[_0x30c35f(0x2e8)][_0x30c35f(0x1d9)]&&this[_0x30c35f(0x128)](_0x1c149c),_0x21e2d9===_0x1cdb30[_0x30c35f(0x2e8)][_0x30c35f(0x109)]&&this[_0x30c35f(0x149)](_0x1c149c);}),this[_0x349492(0x2da)](this['_commandService'][_0x349492(0xaa)](_0x825027=>{const _0x462979=_0x349492;let _0xfc3a6b=_0x825027['params'];_0xfc3a6b!=null&&this[_0x462979(0x39f)]&&_0x825027['id']===_0x12c761[_0x462979(0xe9)]['id']&&_0xfc3a6b['unitId']===this[_0x462979(0x141)]&&_0xfc3a6b[_0x462979(0x1b8)]===!0x1&&_0xfc3a6b[_0x462979(0x24c)]['length']>0x0&&this[_0x462979(0x404)](_0xfc3a6b['ranges']);})),this[_0x349492(0x301)][_0x349492(0x237)][_0x349492(0x32a)]((0x0,_0x3a9a2c[_0x349492(0x1ef)])(this[_0x349492(0x181)]))[_0x349492(0x341)](_0x1b2743=>{const _0x5f08e0=_0x349492;if((_0x1b2743==null?void 0x0:_0x1b2743[_0x5f08e0(0x141)])!==this[_0x5f08e0(0x141)])return;let _0x53c809={'eventID':_0x1cdb30[_0x5f08e0(0x2e8)][_0x5f08e0(0x1d9)],'data':_0x1b2743};this['_onCursorUpdate'](_0x53c809);}),this[_0x349492(0x2da)](this[_0x349492(0xc7)][_0x349492(0xaa)](_0x16cd11=>{const _0x49c2d8=_0x349492;if(_0x16cd11[_0x49c2d8(0x3a4)]==null)return;let _0x29cfad=_0x16cd11[_0x49c2d8(0x3a4)];if(_0x16cd11['id']!==_0x12c761[_0x49c2d8(0x322)]['id']||_0x29cfad[_0x49c2d8(0x232)]!==this[_0x49c2d8(0x141)])return;let _0x301df3={'id':'doc.mutation.rich-text-editing','params':_0x29cfad},_0x1248ce=this[_0x49c2d8(0x202)];for(let [_0x347e48,_0x1fcb37]of _0x1248ce){let _0x3fa963={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x49c2d8(0x141)],'actions':null,'textRanges':_0x1fcb37[_0x49c2d8(0x24c)]}},_0x1d0c2f=this[_0x49c2d8(0x246)][_0x49c2d8(0x27b)](_0x301df3,_0x3fa963,!0x1);if((0x0,_0x1cdb30['isTransformMutationFailure'])(_0x1d0c2f))throw _0x1d0c2f[_0x49c2d8(0x3f1)];_0x1248ce[_0x49c2d8(0x2eb)](_0x347e48,{..._0x1fcb37,'ranges':_0x1d0c2f[_0x49c2d8(0x25d)][_0x49c2d8(0x3a4)]['textRanges']});}queueMicrotask(()=>{const _0x5573e3=_0x49c2d8;this[_0x5573e3(0x21c)][_0x5573e3(0x362)](_0x1248ce);});})));}[_0x386c9a(0x128)](_0x2277b4){const _0x2b9d06=_0x386c9a;var _0x2eb84b,_0x4ccaa9;let {memberID:_0x1d9032,selection:_0x29e464}=_0x2277b4[_0x2b9d06(0x17c)],_0x218c84=_0x17e0b3(_0x29e464),_0x23b4fb=(_0x2eb84b=(_0x4ccaa9=this['_memberService']['getMember'](this[_0x2b9d06(0x141)],_0x1d9032))==null?void 0x0:_0x4ccaa9[_0x2b9d06(0x10e)])==null?_0x2b9d06(0x284):_0x2eb84b,_0xfb67a8={'color':this[_0x2b9d06(0xd0)][_0x2b9d06(0xb4)](_0x1d9032),'name':_0x23b4fb,'ranges':_0x218c84},_0xdc8461=this[_0x2b9d06(0x202)];_0xdc8461[_0x2b9d06(0x2eb)](_0x1d9032,_0xfb67a8),this[_0x2b9d06(0x21c)][_0x2b9d06(0x362)](_0xdc8461);}[_0x386c9a(0x149)](_0x179d85){const _0x3fd3dd=_0x386c9a;let {memberID:_0x5f1660}=_0x179d85[_0x3fd3dd(0x17c)],_0x2e1a3a=this[_0x3fd3dd(0x202)];_0x2e1a3a['delete'](_0x5f1660),this[_0x3fd3dd(0x21c)][_0x3fd3dd(0x362)](_0x2e1a3a);}[_0x386c9a(0x213)](){const _0x5b173c=_0x386c9a;var _0x2c93ba;if(this[_0x5b173c(0x39f)]=!0x0,((_0x2c93ba=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x2c93ba[_0x5b173c(0x3e8)]())!==this[_0x5b173c(0x141)])return;let _0x697970=this[_0x5b173c(0x2f4)]['get'](_0x12c761[_0x5b173c(0x409)])[_0x5b173c(0x2ab)]();Array[_0x5b173c(0x1bc)](_0x697970)&&_0x697970[_0x5b173c(0x368)]>0x0&&this[_0x5b173c(0x404)](_0x697970);}[_0x386c9a(0x34a)](){const _0x228db1=_0x386c9a;this[_0x228db1(0x39f)]=!0x1;}};_0x155527=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x5,(0x0,_0x3188ec['Inject'])(_0x31641e)),_0x148b43(0x6,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x7,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x8,_0x3188ec[_0x386c9a(0x13c)])],_0x155527);let _0x20638e=()=>{let _0x2bc350=[],_0x53ffd2=!0x1;return _0x7c3866=>{const _0x4be8c5=_0xbfb2;_0x2bc350[_0x4be8c5(0x18e)](_0x7c3866),_0x53ffd2||(_0x53ffd2=!0x0,setTimeout(()=>{const _0x55c85a=_0x4be8c5;_0x2bc350[_0x55c85a(0x32f)](_0x152abd=>_0x152abd()),_0x2bc350=[],_0x53ffd2=!0x1;}));};},_0x2e20c9=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x5c2111=_0x386c9a;return this[_0x5c2111(0x21c)][_0x5c2111(0x1c7)]();}get[_0x386c9a(0x256)](){const _0x5b9b1f=_0x386c9a;return this[_0x5b9b1f(0x205)][_0x5b9b1f(0x1c7)]();}constructor(_0x514810,_0x4adb04,_0x2826d7,_0x3ec1c4,_0x166156,_0x9a23f2,_0x4b9e75,_0x2e569c){const _0x470571=_0x386c9a;super(),this[_0x470571(0x141)]=_0x514810,this[_0x470571(0x35e)]=_0x4adb04,this[_0x470571(0x2f4)]=_0x2826d7,this[_0x470571(0xd0)]=_0x3ec1c4,this['_memberService']=_0x166156,this['_univerInstanceService']=_0x9a23f2,this[_0x470571(0xc7)]=_0x4b9e75,this[_0x470571(0x3c2)]=_0x2e569c,_0x2109ac(this,_0x470571(0x39f),!0x1),_0x2109ac(this,_0x470571(0x34d),!0x1),_0x2109ac(this,_0x470571(0x21c),new _0x3a9a2c[(_0x470571(0x1ba))](new Map())),_0x2109ac(this,'cursorInfo$',this[_0x470571(0x21c)]['asObservable']()),_0x2109ac(this,_0x470571(0x205),new _0x3a9a2c[(_0x470571(0x1ba))]([])),_0x2109ac(this,_0x470571(0x19f),this[_0x470571(0x205)][_0x470571(0x32a)]((0x0,_0x3a9a2c['debounceTime'])(0x12c))),_0x2109ac(this,_0x470571(0x404),(0x0,_0x3188ec[_0x470571(0x15a)])((_0x5245a7,_0x506cc3)=>{const _0x513eca=_0x470571;let _0x204f45={'eventID':_0x1cdb30[_0x513eca(0x2e8)][_0x513eca(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x513eca(0x35e)][_0x513eca(0xd5)](),'selection':(0x0,_0x3b4f90[_0x513eca(0x3de)])(_0x5245a7,_0x506cc3[_0x513eca(0x3b6)])}};this[_0x513eca(0x35e)][_0x513eca(0x36e)](_0x204f45,this['unitID']);},0x64));}[_0x386c9a(0x228)](){const _0x3e408d=_0x386c9a;super[_0x3e408d(0x228)](),this[_0x3e408d(0x21c)][_0x3e408d(0x362)](new Map()),this[_0x3e408d(0x21c)]['complete'](),this['_roomMembers$'][_0x3e408d(0x362)]([]),this[_0x3e408d(0x205)][_0x3e408d(0x30c)]();}['init'](){const _0x16fcb7=_0x386c9a;this[_0x16fcb7(0x34d)]||(this[_0x16fcb7(0x34d)]=!0x0,this['_session'][_0x16fcb7(0x157)]['pipe']((0x0,_0x3a9a2c[_0x16fcb7(0x1ef)])(this[_0x16fcb7(0x181)]))['subscribe'](_0x6bbce4=>{const _0x196d24=_0x16fcb7;_0x6bbce4===_0x2248ce[_0x196d24(0x31b)]['ONLINE']?this[_0x196d24(0x213)]():this['_toggleOffline']();}),this[_0x16fcb7(0x35e)][_0x16fcb7(0x365)][_0x16fcb7(0x32a)]((0x0,_0x3a9a2c[_0x16fcb7(0x1ef)])(this['dispose$']))[_0x16fcb7(0x341)](_0x4be10e=>{const _0x1a6f48=_0x16fcb7;let _0x2dd664=_0x4be10e[_0x1a6f48(0x11f)];_0x2dd664===_0x1cdb30['CollaborationEvent'][_0x1a6f48(0x1d9)]&&this[_0x1a6f48(0x128)](_0x4be10e),_0x2dd664===_0x1cdb30[_0x1a6f48(0x2e8)][_0x1a6f48(0x109)]&&this[_0x1a6f48(0x149)](_0x4be10e);}),this[_0x16fcb7(0x170)](),this[_0x16fcb7(0x2da)](this[_0x16fcb7(0xc7)][_0x16fcb7(0xaa)](_0x443ae4=>{const _0x33ba72=_0x16fcb7;if(this[_0x33ba72(0x39f)]&&_0x443ae4['id']===_0x14f8c0[_0x33ba72(0x359)]['id']&&_0x443ae4[_0x33ba72(0x3a4)][_0x33ba72(0x232)]===this[_0x33ba72(0x141)]){let _0x5233d6=_0x443ae4['params'];this[_0x33ba72(0x404)](_0x5233d6[_0x33ba72(0x2f0)],_0x5233d6[_0x33ba72(0x18b)][0x0]);}})));}[_0x386c9a(0x128)](_0x3f8b66){const _0x24822d=_0x386c9a;var _0x1219ee,_0x1c92e3;let {memberID:_0x365572,selection:_0x5a0999}=_0x3f8b66[_0x24822d(0x17c)],{sheetName:_0x553b67,range:_0x44e425}=(0x0,_0x3b4f90[_0x24822d(0x231)])(_0x5a0999),_0x3e3b6e={'name':(_0x1219ee=(_0x1c92e3=this['_memberService'][_0x24822d(0x1ae)](this[_0x24822d(0x141)],_0x365572))==null?void 0x0:_0x1c92e3[_0x24822d(0x10e)])==null?_0x24822d(0x284):_0x1219ee,'range':this['_getMergeRange'](_0x553b67,_0x44e425),'sheetID':_0x553b67,'color':this[_0x24822d(0xd0)]['assignAColorForMemberID'](_0x365572),'selection':_0x5a0999},_0x5b4797=this[_0x24822d(0x202)];_0x5b4797[_0x24822d(0x2eb)](_0x365572,_0x3e3b6e),this['_cursorInfo$'][_0x24822d(0x362)](_0x5b4797);}['_onCursorDelete'](_0x2881c2){const _0x248021=_0x386c9a;let {memberID:_0x272d1f}=_0x2881c2[_0x248021(0x17c)],_0x18a25c=this[_0x248021(0x202)];_0x18a25c[_0x248021(0x22f)](_0x272d1f),this[_0x248021(0x21c)][_0x248021(0x362)](_0x18a25c);}['_getMergeRange'](_0x311061,_0x44c34c){const _0x3ff0d0=_0x386c9a;var _0xc10ecf;let _0x544551=(_0xc10ecf=this['_univerInstanceService'][_0x3ff0d0(0x1a1)](this[_0x3ff0d0(0x141)],_0x3188ec[_0x3ff0d0(0x28e)][_0x3ff0d0(0x133)]))==null||(_0xc10ecf=_0xc10ecf[_0x3ff0d0(0x2e6)](_0x311061))==null?void 0x0:_0xc10ecf[_0x3ff0d0(0x1e5)]();return(_0x544551==null?void 0x0:_0x544551['find'](_0x2b749b=>_0x3188ec[_0x3ff0d0(0x2b9)][_0x3ff0d0(0x271)](_0x2b749b,_0x44c34c)))||_0x44c34c;}['_onRefRangeChange'](){const _0x3f46fb=_0x386c9a;let _0x1a535f=new _0x3188ec[(_0x3f46fb(0x1c2))](),_0x108cf6=_0x20638e(),_0x213ac0=()=>{const _0x57498e=_0x3f46fb;_0x1a535f[_0x57498e(0x228)]();let _0x1bf1cc=(_0x30a3b7,_0x6a6733,_0x2331c3,_0x1ac68d)=>{const _0x1805db=_0x57498e;let _0x1105bc=[];switch(_0x30a3b7['id']){case _0x14f8c0[_0x1805db(0xe2)]['DeleteRangeMoveLeftCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x110)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)][_0x1805db(0x10d)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x1ad)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['InsertColCommandId']:_0x1105bc=(0x0,_0x14f8c0['handleInsertCol'])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x38b)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x3b5)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['InsertRangeMoveRightCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x2ff)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)][_0x1805db(0xa5)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x195)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0[_0x1805db(0xe2)]['MoveRangeCommandId']:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x242)])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x335)]:_0x1105bc=(0x0,_0x14f8c0['handleIRemoveCol'])(_0x30a3b7,_0x1ac68d);break;case _0x14f8c0['EffectRefRangId'][_0x1805db(0x19d)]:_0x1105bc=(0x0,_0x14f8c0[_0x1805db(0x3f0)])(_0x30a3b7,_0x1ac68d);break;}let _0x3c34c8=(0x0,_0x14f8c0['runRefRangeMutations'])(_0x1105bc,_0x1ac68d),_0x1657bb=this[_0x1805db(0x202)][_0x1805db(0x26b)](_0x6a6733);if(_0x1657bb&&_0x3c34c8){let _0x38a2f9={..._0x1657bb,'range':_0x3c34c8};this[_0x1805db(0x202)][_0x1805db(0x2eb)](_0x6a6733,_0x38a2f9),_0x108cf6(()=>{const _0x376463=_0x1805db;let _0x414029=this[_0x376463(0x3c2)][_0x376463(0x383)](_0x3c34c8,_0x2a8a9e=>(_0x414029[_0x376463(0x228)](),_0x1bf1cc(_0x2a8a9e,_0x6a6733,_0x2331c3,_0x3c34c8)));_0x1a535f[_0x376463(0x3d8)](_0x414029);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x57498e(0x32f)]((_0x12be94,_0x1f4ce7)=>{const _0x134021=_0x57498e;let {range:_0x57d2db,sheetID:_0x3fe8f8}=_0x12be94,_0x4897e2=this['_refRangeService'][_0x134021(0x383)](_0x57d2db,_0x82a934=>(_0x4897e2['dispose'](),_0x1bf1cc(_0x82a934,_0x1f4ce7,_0x3fe8f8,_0x57d2db)));_0x1a535f['add'](_0x4897e2);});};this['disposeWithMe']((0x0,_0x3188ec['toDisposable'])(this['_cursorInfo$'][_0x3f46fb(0x341)](()=>{_0x213ac0();})));}[_0x386c9a(0x213)](){const _0x12698b=_0x386c9a;var _0x530b68,_0x5011a2;if(this['_online']=!0x0,((_0x530b68=this[_0x12698b(0x315)]['getFocusedUnit']())==null?void 0x0:_0x530b68['getUnitId']())!==this[_0x12698b(0x141)])return;let _0xaf46e1=(_0x5011a2=this[_0x12698b(0x2f4)]['get'](_0x14f8c0[_0x12698b(0x102)])[_0x12698b(0x136)]())==null?void 0x0:_0x5011a2[0x0],_0x1361bb=this[_0x12698b(0x315)][_0x12698b(0x2ca)](_0x3188ec['UniverInstanceType'][_0x12698b(0x133)])[_0x12698b(0x29d)]();_0xaf46e1&&_0x1361bb&&this[_0x12698b(0x404)](_0x1361bb['getSheetId'](),_0xaf46e1);}['_toggleOffline'](){const _0x515c1e=_0x386c9a;this[_0x515c1e(0x39f)]=!0x1;}};_0x2e20c9=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x5,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x6,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x7,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x14f8c0[_0x386c9a(0x32d)]))],_0x2e20c9);function _0x3ab7d9(_0x2e8dd0){const _0x21ba51=_0x386c9a;let _0x286249;try{_0x286249=JSON[_0x21ba51(0x3dc)](_0x2e8dd0);}catch{return null;}if(typeof _0x286249!=_0x21ba51(0x2a7)||!_0x286249)return null;let _0x2650c4=_0x286249;if(_0x2650c4[_0x21ba51(0x1b1)]!=='slide-element-selection'||typeof _0x2650c4[_0x21ba51(0x232)]!=_0x21ba51(0x1b0)||typeof _0x2650c4[_0x21ba51(0x2f0)]!='string')return null;let _0x35f340=Array[_0x21ba51(0x1bc)](_0x2650c4[_0x21ba51(0x2bc)])?_0x2650c4['selectedIds'][_0x21ba51(0x26a)](_0x10743a=>typeof _0x10743a==_0x21ba51(0x1b0)):[],_0x38cf08=typeof _0x2650c4[_0x21ba51(0x16e)]==_0x21ba51(0x1b0)?_0x2650c4['focusedId']:null;return{'kind':_0x21ba51(0x392),'unitId':_0x2650c4[_0x21ba51(0x232)],'subUnitId':_0x2650c4[_0x21ba51(0x2f0)],'selectedIds':_0x35f340,'focusedId':_0x38cf08};}let _0x2c552f=class extends _0x3188ec[_0x386c9a(0x164)]{get[_0x386c9a(0x202)](){const _0x585030=_0x386c9a;return this['_cursorInfo$'][_0x585030(0x1c7)]();}get['roomMembers'](){const _0x1ee19a=_0x386c9a;return this[_0x1ee19a(0x205)]['getValue']();}constructor(_0x244ece,_0xced533,_0x6eda01,_0x3b363f,_0x359226){const _0x2a169d=_0x386c9a;super(),this[_0x2a169d(0x141)]=_0x244ece,this[_0x2a169d(0x35e)]=_0xced533,this[_0x2a169d(0xd0)]=_0x6eda01,this[_0x2a169d(0x236)]=_0x3b363f,this[_0x2a169d(0x191)]=_0x359226,_0x2109ac(this,_0x2a169d(0x39f),!0x1),_0x2109ac(this,_0x2a169d(0x34d),!0x1),_0x2109ac(this,_0x2a169d(0x21c),new _0x3a9a2c['BehaviorSubject'](new Map())),_0x2109ac(this,'cursorInfo$',this[_0x2a169d(0x21c)][_0x2a169d(0x12b)]()),_0x2109ac(this,_0x2a169d(0x205),new _0x3a9a2c[(_0x2a169d(0x1ba))]([])),_0x2109ac(this,_0x2a169d(0x19f),this[_0x2a169d(0x205)][_0x2a169d(0x32a)]((0x0,_0x3a9a2c[_0x2a169d(0x21a)])(0x12c))),_0x2109ac(this,_0x2a169d(0x404),(0x0,_0x3188ec[_0x2a169d(0x15a)])(_0x3e60ed=>{const _0x364f15=_0x2a169d;let _0x2260b=_0x3e60ed[_0x364f15(0xcc)];if(!_0x2260b||_0x2260b['unitId']!==this[_0x364f15(0x141)])return;let _0x35b8c3={'kind':'slide-element-selection','unitId':_0x2260b[_0x364f15(0x232)],'subUnitId':_0x2260b[_0x364f15(0x2f0)],'selectedIds':_0x3e60ed[_0x364f15(0x2bc)]['filter'](_0x32e15e=>typeof _0x32e15e==_0x364f15(0x1b0)),'focusedId':_0x3e60ed['focusedId']},_0xe5cb28={'eventID':_0x1cdb30[_0x364f15(0x2e8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x364f15(0x141)],'memberID':this[_0x364f15(0x35e)]['getMemberID'](),'selection':JSON[_0x364f15(0x257)](_0x35b8c3)}};this[_0x364f15(0x35e)]['send'](_0xe5cb28,this['unitID']);},0x64));}[_0x386c9a(0x228)](){const _0x1de85b=_0x386c9a;super[_0x1de85b(0x228)](),this[_0x1de85b(0x21c)][_0x1de85b(0x362)](new Map()),this['_cursorInfo$'][_0x1de85b(0x30c)](),this[_0x1de85b(0x205)][_0x1de85b(0x362)]([]),this[_0x1de85b(0x205)]['complete']();}[_0x386c9a(0x206)](){const _0x3d48b3=_0x386c9a;this[_0x3d48b3(0x34d)]||(this[_0x3d48b3(0x34d)]=!0x0,this[_0x3d48b3(0x35e)][_0x3d48b3(0x157)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c[_0x3d48b3(0x1ef)])(this['dispose$']))[_0x3d48b3(0x341)](_0x71789d=>{const _0x838f39=_0x3d48b3;_0x71789d===_0x2248ce[_0x838f39(0x31b)][_0x838f39(0x221)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3d48b3(0x35e)][_0x3d48b3(0x365)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c[_0x3d48b3(0x1ef)])(this[_0x3d48b3(0x181)]))[_0x3d48b3(0x341)](_0x13cee7=>{const _0x3c3d51=_0x3d48b3;let _0x5ef904=_0x13cee7[_0x3c3d51(0x11f)];_0x5ef904===_0x1cdb30[_0x3c3d51(0x2e8)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x13cee7),_0x5ef904===_0x1cdb30[_0x3c3d51(0x2e8)][_0x3c3d51(0x109)]&&this[_0x3c3d51(0x149)](_0x13cee7);}),this[_0x3d48b3(0x191)][_0x3d48b3(0x3e7)][_0x3d48b3(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this['dispose$']))['subscribe'](_0x2f2cda=>{const _0x287b93=_0x3d48b3;this[_0x287b93(0x39f)]&&this[_0x287b93(0x404)](_0x2f2cda);}));}[_0x386c9a(0x128)](_0x1631a0){const _0x42d9c8=_0x386c9a;var _0x5e1554,_0x5be7ac,_0x4e4f36,_0x19ec25;let {memberID:_0x57907e,selection:_0x40fea5}=_0x1631a0[_0x42d9c8(0x17c)];if(_0x57907e===((_0x5e1554=(_0x5be7ac=this[_0x42d9c8(0x35e)])[_0x42d9c8(0xd5)])==null?void 0x0:_0x5e1554[_0x42d9c8(0x266)](_0x5be7ac)))return;let _0x1f210c=_0x3ab7d9(_0x40fea5);if(!_0x1f210c||_0x1f210c[_0x42d9c8(0x232)]!==this[_0x42d9c8(0x141)])return;let _0x3ec2c5=(_0x4e4f36=(_0x19ec25=this['_memberService'][_0x42d9c8(0x1ae)](this[_0x42d9c8(0x141)],_0x57907e))==null?void 0x0:_0x19ec25[_0x42d9c8(0x10e)])==null?_0x42d9c8(0x284):_0x4e4f36,_0x5894e6={'color':this[_0x42d9c8(0xd0)][_0x42d9c8(0xb4)](_0x57907e),'name':_0x3ec2c5,'unitId':_0x1f210c['unitId'],'subUnitId':_0x1f210c[_0x42d9c8(0x2f0)],'selectedIds':_0x1f210c['selectedIds'],'focusedId':_0x1f210c[_0x42d9c8(0x16e)],'selection':_0x40fea5},_0x4f548a=new Map(this[_0x42d9c8(0x202)]);_0x4f548a['set'](_0x57907e,_0x5894e6),this['_cursorInfo$'][_0x42d9c8(0x362)](_0x4f548a);}[_0x386c9a(0x149)](_0x2587ef){const _0x404825=_0x386c9a;let {memberID:_0x2492b8}=_0x2587ef['data'],_0x2dd438=new Map(this[_0x404825(0x202)]);_0x2dd438[_0x404825(0x22f)](_0x2492b8),this['_cursorInfo$']['next'](_0x2dd438);}['_toggleOnline'](){const _0x1b915=_0x386c9a;this['_online']=!0x0,this[_0x1b915(0x404)](this[_0x1b915(0x191)][_0x1b915(0x31a)]());}[_0x386c9a(0x34a)](){const _0x2a3446=_0x386c9a;this[_0x2a3446(0x39f)]=!0x1;}};_0x2c552f=_0x442f80([_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4cf754)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x2248ce[_0x386c9a(0x1e1)])),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x2c454c[_0x386c9a(0x2de)]))],_0x2c552f);let _0x54c193=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x472ade,_0x30cb4e,_0x63155){const _0x2b29d7=_0x386c9a;super(),this[_0x2b29d7(0x315)]=_0x472ade,this[_0x2b29d7(0x2f4)]=_0x30cb4e,this[_0x2b29d7(0x310)]=_0x63155,_0x2109ac(this,'_entities',new Map()),_0x2109ac(this,_0x2b29d7(0x331),new _0x3a9a2c[(_0x2b29d7(0x2fa))]()),this[_0x2b29d7(0x34d)]();}[_0x386c9a(0x228)](){const _0x3555be=_0x386c9a;super[_0x3555be(0x228)](),this[_0x3555be(0x331)][_0x3555be(0x30c)](),this[_0x3555be(0x120)][_0x3555be(0x32f)](_0x140454=>_0x140454[_0x3555be(0x228)]());}['getCollabCursors$'](_0x5c652b){const _0x3c37da=_0x386c9a;return this[_0x3c37da(0x120)][_0x3c37da(0x244)](_0x5c652b)?this[_0x3c37da(0x120)][_0x3c37da(0x26b)](_0x5c652b)['cursorInfo$']:this[_0x3c37da(0x331)][_0x3c37da(0x32a)]((0x0,_0x3a9a2c[_0x3c37da(0x26a)])(_0xc9c316=>_0xc9c316[_0x3c37da(0x141)]===_0x5c652b),(0x0,_0x3a9a2c['switchMap'])(_0x2d003a=>_0x2d003a['cursorInfo$']));}[_0x386c9a(0x34d)](){const _0x273de6=_0x386c9a;this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec['UniverInstanceType'][_0x273de6(0x133)])['pipe']((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x5eb045=>{const _0x37f55f=_0x273de6;let _0x567e18=_0x5eb045[_0x37f55f(0x1f3)]['getUnitId'](),_0x42bdfa=await this[_0x37f55f(0x117)](_0x567e18);this[_0x37f55f(0x331)][_0x37f55f(0x362)](_0x42bdfa),this[_0x37f55f(0x120)][_0x37f55f(0x2eb)](_0x567e18,_0x42bdfa);}),this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x3ae)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x26a)])(_0x46a122=>!_0x46a122['unit'][_0x273de6(0x3e8)]()['startsWith']('__')))[_0x273de6(0x341)](async _0x183078=>{const _0xa34bab=_0x273de6;let {unit:_0x1af156}=_0x183078,_0x23a1e8=_0x1af156[_0xa34bab(0x3e8)](),_0x58dbc4=await this['_startDocCollabCursor'](_0x23a1e8);this[_0xa34bab(0x331)][_0xa34bab(0x362)](_0x58dbc4),this[_0xa34bab(0x120)][_0xa34bab(0x2eb)](_0x23a1e8,_0x58dbc4);}),this[_0x273de6(0x315)][_0x273de6(0x1b2)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x11c)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x5b0cf8=>{const _0x29775d=_0x273de6;let _0x1f3ece=_0x5b0cf8[_0x29775d(0x1f3)][_0x29775d(0x3e8)](),_0x19351f=await this[_0x29775d(0x15e)](_0x1f3ece);this[_0x29775d(0x331)][_0x29775d(0x362)](_0x19351f),this[_0x29775d(0x120)][_0x29775d(0x2eb)](_0x1f3ece,_0x19351f);}),this[_0x273de6(0x315)]['getTypeOfUnitAdded$'](_0x3188ec['UniverInstanceType'][_0x273de6(0xa0)])[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](async _0x415e7a=>{const _0x2627dd=_0x273de6;let _0x4ccc99=_0x415e7a['unit'][_0x2627dd(0x3e8)](),_0x5c2256=await this[_0x2627dd(0x3a7)](_0x4ccc99);this[_0x2627dd(0x331)]['next'](_0x5c2256),this[_0x2627dd(0x120)][_0x2627dd(0x2eb)](_0x4ccc99,_0x5c2256);}),(0x0,_0x3a9a2c[_0x273de6(0x252)])(this[_0x273de6(0x315)]['getTypeOfUnitDisposed$'](_0x3188ec[_0x273de6(0x28e)]['UNIVER_DOC']),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec[_0x273de6(0x28e)][_0x273de6(0x133)]),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec['UniverInstanceType'][_0x273de6(0x11c)]),this[_0x273de6(0x315)][_0x273de6(0x361)](_0x3188ec[_0x273de6(0x28e)]['UNIVER_BOARD']))[_0x273de6(0x32a)]((0x0,_0x3a9a2c[_0x273de6(0x1ef)])(this[_0x273de6(0x181)]))[_0x273de6(0x341)](_0x11ada6=>{const _0x3e8edf=_0x273de6;let _0x32d78b=_0x11ada6['getUnitId'](),_0x5c30fd=this[_0x3e8edf(0x120)][_0x3e8edf(0x26b)](_0x32d78b);_0x5c30fd&&(_0x5c30fd[_0x3e8edf(0x228)](),this[_0x3e8edf(0x120)]['delete'](_0x32d78b));});}async[_0x386c9a(0x117)](_0x316d68){const _0x4dbd31=_0x386c9a;let _0x3b45ff=await this['_collabSessionService']['requireSession'](_0x316d68),_0x42e759=this['_injector'][_0x4dbd31(0x300)](_0x2e20c9,_0x316d68,_0x3b45ff);return _0x42e759[_0x4dbd31(0x206)](),_0x42e759;}async[_0x386c9a(0x23b)](_0x1425eb){const _0x28b245=_0x386c9a;let _0x2a5698=await this[_0x28b245(0x310)]['requireSession'](_0x1425eb),_0x10f152=this[_0x28b245(0x2f4)][_0x28b245(0x300)](_0x155527,_0x1425eb,_0x2a5698);return _0x10f152[_0x28b245(0x206)](),_0x10f152;}async[_0x386c9a(0x15e)](_0x3f932){const _0x81d7fe=_0x386c9a;let _0x5d593a=await this[_0x81d7fe(0x310)][_0x81d7fe(0x140)](_0x3f932),_0x4a33e6=this[_0x81d7fe(0x2f4)][_0x81d7fe(0x300)](_0x2c552f,_0x3f932,_0x5d593a);return _0x4a33e6['init'](),_0x4a33e6;}async[_0x386c9a(0x3a7)](_0x1398c3){const _0x327748=_0x386c9a;let _0x5a90b5=await this['_collabSessionService'][_0x327748(0x140)](_0x1398c3),_0x322ff8=this['_injector'][_0x327748(0x300)](_0x3e60a0,_0x1398c3,_0x5a90b5);return _0x322ff8[_0x327748(0x206)](),_0x322ff8;}};_0x54c193=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0xed)]))],_0x54c193);let _0x53ff03=class extends _0x3188ec['RxDisposable']{constructor(_0x2b6258,_0x4113be,_0x451d70){const _0x4ece41=_0x386c9a;super(),this[_0x4ece41(0x334)]=_0x2b6258,this[_0x4ece41(0x1ca)]=_0x4113be,this[_0x4ece41(0x342)]=_0x451d70,_0x2109ac(this,'_cursors',new Set()),_0x2109ac(this,_0x4ece41(0xc6),!0x1),_0x2109ac(this,_0x4ece41(0xf9),!0x1),_0x2109ac(this,_0x4ece41(0x3bd),new Map()),this[_0x4ece41(0x34d)]();}[_0x386c9a(0x228)](){const _0x23d2a5=_0x386c9a;this[_0x23d2a5(0x289)](),super[_0x23d2a5(0x228)]();}[_0x386c9a(0x34d)](){const _0x598b23=_0x386c9a;let _0x4c826b=this[_0x598b23(0x1ca)]['getCollabCursors$'](this[_0x598b23(0x334)][_0x598b23(0x232)]);this[_0x598b23(0x2da)]((0x0,_0x3188ec[_0x598b23(0x34e)])((0x0,_0x3a9a2c[_0x598b23(0x2f9)])([_0x4c826b,this['_context']['unit']['theme$'],this[_0x598b23(0x342)][_0x598b23(0x29c)]])[_0x598b23(0x32a)]((0x0,_0x3a9a2c[_0x598b23(0x1ef)])(this[_0x598b23(0x181)]))[_0x598b23(0x341)](([_0x1c86f1])=>{const _0xd568ab=_0x598b23;let _0x9e68c6=this[_0xd568ab(0x334)][_0xd568ab(0x1f3)][_0xd568ab(0x22a)](),_0x5356e1=new Map();_0x1c86f1[_0xd568ab(0x32f)]((_0x138706,_0x1ceb52)=>{const _0x28216d=_0xd568ab;_0x138706[_0x28216d(0x2f0)]===_0x9e68c6&&_0x5356e1[_0x28216d(0x2eb)](_0x1ceb52,{..._0x138706,'color':this[_0x28216d(0x342)][_0x28216d(0x38e)](_0x138706[_0x28216d(0x325)])});}),this[_0xd568ab(0x3bd)]=_0x5356e1,this[_0xd568ab(0xbd)]();})));let _0x4a0076=this[_0x598b23(0x334)][_0x598b23(0x1a3)];this[_0x598b23(0x2da)]((0x0,_0x3188ec[_0x598b23(0x34e)])(_0x4a0076[_0x598b23(0xb5)]['pipe']((0x0,_0x3a9a2c[_0x598b23(0x1ef)])(this[_0x598b23(0x181)]))[_0x598b23(0x341)](()=>{const _0x5639c4=_0x598b23;this[_0x5639c4(0xf9)]||this['_scheduleRender']();})));}[_0x386c9a(0xbd)](){const _0x36a0f8=_0x386c9a;this['_renderScheduled']||(this['_renderScheduled']=!0x0,Promise['resolve']()[_0x36a0f8(0x11a)](()=>{const _0xf241b7=_0x36a0f8;this[_0xf241b7(0xc6)]=!0x1,this[_0xf241b7(0x15f)]();}));}[_0x386c9a(0x15f)](){const _0x393b9c=_0x386c9a;this[_0x393b9c(0x289)]();let _0x4eed57=this[_0x393b9c(0x334)][_0x393b9c(0x1f3)][_0x393b9c(0x22a)](),_0x113017=[];if(this[_0x393b9c(0x3bd)][_0x393b9c(0x32f)]((_0x5e1932,_0x431422)=>{const _0x1886d2=_0x393b9c;_0x5e1932[_0x1886d2(0x2f0)]===_0x4eed57&&_0x5e1932[_0x1886d2(0x2bc)][_0x1886d2(0x32f)](_0x1a6047=>{const _0x273312=_0x1886d2;let _0x1637a7=(0x0,_0x20b4fa[_0x273312(0x20c)])(_0x5e1932[_0x273312(0x232)],_0x1a6047),_0x429387=this[_0x273312(0x37e)](_0x1637a7);if(!_0x429387)return;let _0x1dfae2=this[_0x273312(0x19e)](_0x429387);_0x113017['push'](new _0x36c05d(_0x273312(0x3e6)+_0x431422+'-'+_0x1a6047,{..._0x5e1932,'left':_0x1dfae2[_0x273312(0x268)],'top':_0x1dfae2[_0x273312(0x138)],'width':_0x1dfae2['width'],'height':_0x1dfae2[_0x273312(0x302)],'angle':_0x429387[_0x273312(0x2b7)],'evented':!0x1,'zIndex':_0x4f92ff}));});}),_0x113017[_0x393b9c(0x368)]===0x0){this[_0x393b9c(0x334)][_0x393b9c(0x1a3)]['makeDirty'](!0x0);return;}this[_0x393b9c(0xf9)]=!0x0,this[_0x393b9c(0x334)][_0x393b9c(0x1a3)][_0x393b9c(0x1b6)](_0x113017,_0x4f92ff),this[_0x393b9c(0xf9)]=!0x1,this[_0x393b9c(0x160)]=new Set(_0x113017),this[_0x393b9c(0x334)][_0x393b9c(0x1a3)][_0x393b9c(0x216)](!0x0);}['_removeCollabCursors'](){const _0x1500bd=_0x386c9a;let _0x4aba3d=Array[_0x1500bd(0x143)](this[_0x1500bd(0x160)]);if(_0x4aba3d[_0x1500bd(0x368)]===0x0)return;let _0x340cb8=this[_0x1500bd(0x334)][_0x1500bd(0x1a3)];_0x1500bd(0x12c)in _0x340cb8&&typeof _0x340cb8[_0x1500bd(0x12c)]=='function'?_0x340cb8['removeObjects'](_0x4aba3d):_0x4aba3d['forEach'](_0x24b359=>{const _0xaeb2f0=_0x1500bd;_0xaeb2f0(0x1fa)in _0x340cb8&&typeof _0x340cb8[_0xaeb2f0(0x1fa)]==_0xaeb2f0(0x14f)?_0x340cb8[_0xaeb2f0(0x1fa)](_0x24b359):_0x24b359[_0xaeb2f0(0x228)]();}),this[_0x1500bd(0x160)][_0x1500bd(0x2e2)](),_0x340cb8[_0x1500bd(0x216)](!0x0);}[_0x386c9a(0x37e)](_0x1543a9){const _0x4a6e45=_0x386c9a;var _0x3d9d4c,_0x2d76d3,_0x55a486;let _0xbbc8d8=this[_0x4a6e45(0x334)][_0x4a6e45(0x1a3)];return(_0x3d9d4c=(_0x2d76d3=(_0x55a486=_0xbbc8d8[_0x4a6e45(0x1fe)])==null?void 0x0:_0x55a486[_0x4a6e45(0x266)](_0xbbc8d8,_0x1543a9))==null?_0xbbc8d8[_0x4a6e45(0x2a1)](_0x1543a9):_0x2d76d3)==null?null:_0x3d9d4c;}[_0x386c9a(0x19e)](_0x239332){const _0x21c0a5=_0x386c9a;var _0x2e6b5f,_0x4c9d3f;let _0x530439=_0x239332;return(_0x2e6b5f=(_0x4c9d3f=_0x530439[_0x21c0a5(0x1a0)])==null?void 0x0:_0x4c9d3f[_0x21c0a5(0x266)](_0x530439))==null?{'left':_0x239332[_0x21c0a5(0x268)],'top':_0x239332['top'],'width':_0x239332['width'],'height':_0x239332[_0x21c0a5(0x302)]}:_0x2e6b5f;}};_0x53ff03=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x53ff03);let _0x33ebc2=_0x386c9a(0x3b9);var _0x2946af=class{constructor(_0x4ab7d8,_0x5d32f8,_0x3008a7,_0x217592){const _0x327ce1=_0x386c9a;this[_0x327ce1(0x132)]=_0x4ab7d8,this[_0x327ce1(0x23d)]=_0x5d32f8,this[_0x327ce1(0x385)]=_0x3008a7,this[_0x327ce1(0xf7)]=_0x217592,_0x2109ac(this,'_shapes',[]),_0x2109ac(this,_0x327ce1(0x20d),null),_0x2109ac(this,_0x327ce1(0x194),null),_0x2109ac(this,_0x327ce1(0x2f7),null),_0x2109ac(this,_0x327ce1(0x25a),null),_0x2109ac(this,'_eventUnsubscribe',null),this[_0x327ce1(0x15f)]();}set[_0x386c9a(0x336)](_0x229536){const _0x2b8aa2=_0x386c9a;_0x229536?(this[_0x2b8aa2(0x2f7)]&&this['_anchorDot'][_0x2b8aa2(0x397)](),this['_textBubble']&&this[_0x2b8aa2(0x194)][_0x2b8aa2(0x386)]()):(this['_anchorDot']&&this[_0x2b8aa2(0x2f7)][_0x2b8aa2(0x386)](),this['_textBubble']&&this[_0x2b8aa2(0x194)][_0x2b8aa2(0x397)]());}['dispose'](){const _0x166f3f=_0x386c9a;for(let _0x4a0d48 of this[_0x166f3f(0x26c)])_0x4a0d48[_0x166f3f(0x228)]();this[_0x166f3f(0x194)]&&this[_0x166f3f(0x194)][_0x166f3f(0x228)](),this[_0x166f3f(0x2f7)]&&this[_0x166f3f(0x2f7)][_0x166f3f(0x228)](),this[_0x166f3f(0x20d)]&&this[_0x166f3f(0x20d)]['dispose'](),this['_eventUnsubscribe']&&this[_0x166f3f(0x34c)]();}['_render'](){const _0x461c6f=_0x386c9a;let {_docSkeleton:_0x11245e,_document:_0x5c2926}=this,{color:_0x1e043c,name:_0x5377e5,ranges:_0x43e8df}=this[_0x461c6f(0x132)],_0x2ef92f=_0x5c2926[_0x461c6f(0x192)](),{docsLeft:_0x1f3538,docsTop:_0x58b0d1}=_0x2ef92f,_0x341831=new _0x390782[(_0x461c6f(0x393))](_0x2ef92f,_0x11245e);for(let {startOffset:_0x28c384,endOffset:_0x4e1f93,rangeType:_0x2e048e,segmentId:_0x517789,segmentPage:_0x33bf8e,collapsed:_0x8cc3ad,isActive:_0x2c221f}of _0x43e8df){let _0x28db49=_0x11245e[_0x461c6f(0x1e8)](_0x28c384,!0x0,_0x517789,_0x33bf8e),_0xe0611f=_0x11245e['findNodePositionByCharIndex'](_0x4e1f93,!0x0,_0x517789,_0x33bf8e);if(_0xe0611f==null&&(_0xe0611f=_0x11245e[_0x461c6f(0x1e8)](_0x4e1f93-0x1,!0x1,_0x517789,_0x33bf8e)),_0x2c221f){let {contentBoxPointGroup:_0x3d6378}=_0x341831[_0x461c6f(0x2e3)](_0xe0611f,_0xe0611f);if(_0x3d6378[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x3ab)](_0x1e043c,_0x3d6378,_0x1f3538,_0x58b0d1,_0x5377e5),this[_0x461c6f(0x34c)]=this['_handleHover']();}if(_0x28db49&&_0xe0611f){if(_0x2e048e===_0x3188ec[_0x461c6f(0x35d)]['RECT']){var _0x30eb08;let {pointGroup:_0x13df13}=(_0x30eb08=new _0x390782['NodePositionConvertToRectRange'](_0x2ef92f,_0x11245e)['getRangePointData'](_0x28db49,_0xe0611f))==null?{}:_0x30eb08;if(_0x13df13==null||_0x13df13[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x137)](_0x1e043c,_0x13df13,_0x1f3538,_0x58b0d1);}else{if(!_0x8cc3ad){let {borderBoxPointGroup:_0x520205}=_0x341831[_0x461c6f(0x2e3)](_0x28db49,_0xe0611f);if(_0x520205[_0x461c6f(0x368)]===0x0)continue;this[_0x461c6f(0x3e0)](_0x1e043c,_0x520205,_0x1f3538,_0x58b0d1);}}}}}[_0x386c9a(0x3ab)](_0x5a8e14,_0x82cbb0,_0x444ac0,_0x3f9f2e,_0x4f996b){const _0xf41ec4=_0x386c9a;let {left:_0x31597f,top:_0x365767,height:_0x261072}=this[_0xf41ec4(0xb2)](_0x82cbb0),_0x5c2f74=1.5/this[_0xf41ec4(0x173)](),_0xa0eaa=new _0x38b39d[(_0xf41ec4(0x281))](_0x33ebc2+(0x0,_0x3188ec['generateRandomId'])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e,'height':_0x261072,'width':1.5,'fill':_0x5a8e14||(0x0,_0x38b39d[_0xf41ec4(0x3c0)])(_0x3188ec[_0xf41ec4(0x319)]['black'],0x0),'strokeWidth':_0x5c2f74,'stroke':_0xf41ec4(0x3ef),'evented':!0x0});this['_anchor']=_0xa0eaa,this[_0xf41ec4(0x23d)][_0xf41ec4(0x30f)](_0xa0eaa,_0x390782[_0xf41ec4(0x23f)]);let _0x5a711d=new _0x38b39d[(_0xf41ec4(0x281))](_0x33ebc2+(0x0,_0x3188ec['generateRandomId'])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x5a8e14||(0x0,_0x38b39d['getColor'])(_0x3188ec[_0xf41ec4(0x319)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5a8e14||(0x0,_0x38b39d['getColor'])(_0x3188ec[_0xf41ec4(0x319)][_0xf41ec4(0x1da)],0x0),'evented':!0x1});this[_0xf41ec4(0x2f7)]=_0x5a711d,this['_scene'][_0xf41ec4(0x30f)](_0x5a711d,_0x390782[_0xf41ec4(0x23f)]);let _0x2af94c=new _0x19e9c3(_0x33ebc2+(0x0,_0x3188ec[_0xf41ec4(0x1b4)])(0x6),{'left':_0x31597f+_0x444ac0-_0x5c2f74,'top':_0x365767+_0x3f9f2e-0x14,'text':_0x4f996b,'color':_0x5a8e14});this[_0xf41ec4(0x194)]=_0x2af94c,this['_scene']['addObject'](_0x2af94c,_0x390782['TEXT_RANGE_LAYER_INDEX']),this[_0xf41ec4(0x336)]=!0x1;}[_0x386c9a(0x296)](){const _0x467340=_0x386c9a;let _0x5b3cf3=this['_anchor'][_0x467340(0x29b)][_0x467340(0x347)](()=>{const _0x302e88=_0x467340;this[_0x302e88(0x336)]=!0x0;}),_0x4b6c6e=this[_0x467340(0x20d)][_0x467340(0x40c)]['subscribeEvent'](()=>{const _0x4df926=_0x467340;this['_hideTimer']&&clearTimeout(this[_0x4df926(0x25a)]),this[_0x4df926(0x25a)]=setTimeout(()=>{const _0x1c4ef7=_0x4df926;this[_0x1c4ef7(0x336)]=!0x1;},0x7d0);});return()=>{const _0x25e87e=_0x467340;_0x5b3cf3[_0x25e87e(0x2db)](),_0x4b6c6e[_0x25e87e(0x2db)]();};}[_0x386c9a(0x3e0)](_0x46e43a,_0x2e1b28,_0x2a02db,_0x18b46f){const _0x489113=_0x386c9a;let _0x304c95=0.2,_0x4d34ff=new _0x3188ec['ColorKit'](_0x46e43a)['setAlpha'](_0x304c95)[_0x489113(0x2be)](),_0x53703c=new _0x38b39d[(_0x489113(0x2b1))](_0x489113(0x13b)+(0x0,_0x3188ec[_0x489113(0x1b4)])(0x6),{'pointsGroup':_0x2e1b28,'fill':_0x4d34ff||(0x0,_0x38b39d[_0x489113(0x3c0)])(_0x3188ec[_0x489113(0x319)][_0x489113(0x1da)],_0x304c95),'left':_0x2a02db,'top':_0x18b46f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x489113(0x18e)](_0x53703c),this[_0x489113(0x23d)][_0x489113(0x30f)](_0x53703c,_0x390782[_0x489113(0x23f)]);}['_drawRectRange'](_0x2fe901,_0x1dcc5f,_0x1bf09a,_0x247707){const _0x820638=_0x386c9a;let _0x59e587=0.2,_0x1d44e9=new _0x3188ec['ColorKit'](_0x2fe901)['setAlpha'](_0x59e587)[_0x820638(0x2be)](),_0x433ca6=new _0x38b39d[(_0x820638(0x2b1))](_0x820638(0xd3)+(0x0,_0x3188ec[_0x820638(0x1b4)])(0x6),{'pointsGroup':_0x1dcc5f,'fill':_0x1d44e9||(0x0,_0x38b39d[_0x820638(0x3c0)])(_0x3188ec['COLORS'][_0x820638(0x1da)],_0x59e587),'left':_0x1bf09a,'top':_0x247707,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x820638(0x26c)][_0x820638(0x18e)](_0x433ca6),this[_0x820638(0x23d)][_0x820638(0x30f)](_0x433ca6,_0x390782[_0x820638(0x23f)]);}[_0x386c9a(0xb2)](_0x272318){let _0x1fb558=_0x272318[0x0],_0x12d0c5=_0x1fb558[0x0],_0x2ccfde=_0x1fb558[0x2],{x:_0x1e8edc,y:_0x32a908}=_0x12d0c5,{x:_0x46ec63,y:_0x497341}=_0x2ccfde;return{'left':_0x1e8edc,'top':_0x32a908,'width':_0x46ec63-_0x1e8edc,'height':_0x497341-_0x32a908};}[_0x386c9a(0x173)](){const _0xf29d5f=_0x386c9a;let {scaleX:_0x26ddbe,scaleY:_0x238f7f}=this['_scene']['getAncestorScale']();return Math[_0xf29d5f(0x3da)](_0x26ddbe,_0x238f7f);}};let _0x55d48b=class extends _0x3188ec['RxDisposable']{constructor(_0x2769f8,_0xa25ba6,_0x1b53f8,_0x107656,_0x54f27d){const _0xf29a13=_0x386c9a;super(),this[_0xf29a13(0x334)]=_0x2769f8,this[_0xf29a13(0x145)]=_0xa25ba6,this[_0xf29a13(0x1ca)]=_0x1b53f8,this['_commandService']=_0x107656,this[_0xf29a13(0x342)]=_0x54f27d,_0x2109ac(this,_0xf29a13(0x313),[]),_0x2109ac(this,'_cursors',[]),this[_0xf29a13(0x34d)]();}[_0x386c9a(0x34d)](){const _0x4436f9=_0x386c9a;let _0x50058b=this[_0x4436f9(0x334)][_0x4436f9(0x232)],_0x1d400e=this[_0x4436f9(0x145)];this[_0x4436f9(0x2da)]((0x0,_0x3a9a2c[_0x4436f9(0x2f9)])([this[_0x4436f9(0x1ca)][_0x4436f9(0x203)](_0x50058b),this[_0x4436f9(0x342)][_0x4436f9(0x29c)]])[_0x4436f9(0x32a)]((0x0,_0x30c188['map'])(([_0x2fa5b7,_0x295257])=>({'skeleton':_0x1d400e['getSkeleton'](),'cursors':[..._0x2fa5b7['values']()][_0x4436f9(0x366)](_0x421d19=>({..._0x421d19,'color':this[_0x4436f9(0x342)][_0x4436f9(0x38e)](_0x421d19[_0x4436f9(0x325)])}))})))[_0x4436f9(0x341)](_0x341f9d=>{const _0x4c7dc2=_0x4436f9;if(this[_0x4c7dc2(0x289)](),_0x341f9d){let {skeleton:_0x3602f7,cursors:_0x10f5bf}=_0x341f9d;this[_0x4c7dc2(0x2ce)](_0x3602f7,_0x10f5bf);}})),this[_0x4436f9(0x13e)](),this[_0x4436f9(0x2ae)]();}[_0x386c9a(0x2ce)](_0x35ba6a,_0x387b92){const _0x40aed8=_0x386c9a;let {scene:_0x5e5d37,mainComponent:_0x33e316}=this['_context'],_0x564f6a=_0x387b92[_0x40aed8(0x2a3)](_0x295e99=>new _0x2946af(_0x295e99,_0x5e5d37,_0x35ba6a,_0x33e316));this[_0x40aed8(0x313)]=_0x564f6a,this['_cursors']=_0x387b92;}['_refreshCollabCursors'](){const _0xd0a8f5=_0x386c9a;this[_0xd0a8f5(0x289)]();let {scene:_0x32d847,mainComponent:_0x50e2ec}=this[_0xd0a8f5(0x334)],_0x3c2064=this['_docSkeletonManagerService']['getSkeleton'](),_0x1d0aef=this[_0xd0a8f5(0x160)][_0xd0a8f5(0x2a3)](_0x264f6b=>new _0x2946af(_0x264f6b,_0x32d847,_0x3c2064,_0x50e2ec));this[_0xd0a8f5(0x313)]=_0x1d0aef;}[_0x386c9a(0x289)](){const _0x2bb587=_0x386c9a;this[_0x2bb587(0x313)][_0x2bb587(0x32f)](_0x304795=>_0x304795[_0x2bb587(0x228)]()),this['_cursorShapes']=[];}[_0x386c9a(0x2ae)](){const _0x87b6e=_0x386c9a;let _0xde2eb0=[_0x390782[_0x87b6e(0x340)]['id']];this[_0x87b6e(0x2da)](this[_0x87b6e(0xc7)]['onCommandExecuted'](_0x5bfaf0=>{const _0x133ad3=_0x87b6e;_0xde2eb0[_0x133ad3(0x261)](_0x5bfaf0['id'])&&_0x5bfaf0[_0x133ad3(0x3a4)]['unitId']===this[_0x133ad3(0x334)][_0x133ad3(0x232)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x46bbaa=_0x386c9a;this[_0x46bbaa(0x2da)]((0x0,_0x3188ec[_0x46bbaa(0x1ab)])(this[_0x46bbaa(0x334)][_0x46bbaa(0x2b0)][_0x46bbaa(0x382)])[_0x46bbaa(0x32a)]((0x0,_0x30c188[_0x46bbaa(0x26a)])(_0x2b3fae=>_0x2b3fae['type']===_0x38b39d[_0x46bbaa(0x2ec)][_0x46bbaa(0x112)]),(0x0,_0x30c188[_0x46bbaa(0x10f)])(0x10))['subscribe'](()=>{const _0x1e1778=_0x46bbaa;this[_0x1e1778(0x1ee)]();}));}};_0x55d48b=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x12c761[_0x386c9a(0x349)])),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x54c193)),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec['ThemeService']))],_0x55d48b);var _0x294254=class extends _0x38b39d['Shape']{constructor(_0x5c3c8a,_0x3b6708){const _0x4fdad6=_0x386c9a;if(super(_0x5c3c8a,_0x3b6708),_0x2109ac(this,_0x4fdad6(0xa7),void 0x0),_0x2109ac(this,_0x4fdad6(0x13a),!0x1),_0x2109ac(this,_0x4fdad6(0x344),void 0x0),_0x2109ac(this,_0x4fdad6(0x1bd),''),_0x2109ac(this,_0x4fdad6(0x1b7),_0x4fdad6(0x138)),_0x2109ac(this,'_backgroundColor',void 0x0),_0x2109ac(this,'_showText',void 0x0),_0x2109ac(this,'_highlight',void 0x0),_0x2109ac(this,_0x4fdad6(0x25e),0x4),_0x2109ac(this,_0x4fdad6(0x314),void 0x0),_0x2109ac(this,_0x4fdad6(0x14e),void 0x0),_0x2109ac(this,_0x4fdad6(0x278),!0x0),_0x2109ac(this,_0x4fdad6(0xca),0x0),_0x2109ac(this,_0x4fdad6(0x1f6),_0x4fdad6(0x28c)),_0x3b6708){var _0x36e437;if(this['setShapeProps'](_0x3b6708),_0x3b6708[_0x4fdad6(0x40a)]&&((_0x36e437=_0x3b6708[_0x4fdad6(0x2d7)])==null?this['_highlightSecond']:_0x36e437)){var _0x2403c6;this['_startBlinking']((_0x2403c6=_0x3b6708[_0x4fdad6(0x2d7)])==null?this['_highlightSecond']:_0x2403c6);}}this[_0x4fdad6(0x29b)][_0x4fdad6(0x347)](()=>this[_0x4fdad6(0x3b4)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x4fdad6(0x3b4)]({'hovered':!0x1}));}[_0x386c9a(0x280)](_0x2025ad){const _0x1cc82a=_0x386c9a;this[_0x1cc82a(0xca)]=_0x2025ad;}[_0x386c9a(0x3b4)](_0x2dbc2e){const _0x4cb65a=_0x386c9a;var _0x489b9a,_0x31bbb2,_0x4a480f,_0x5831a2,_0x13271b,_0x341f20,_0x2890ad,_0x3c0ea0;this[_0x4cb65a(0xa7)]=(_0x489b9a=_0x2dbc2e[_0x4cb65a(0x325)])==null?this[_0x4cb65a(0xa7)]:_0x489b9a,this[_0x4cb65a(0x13a)]=(_0x31bbb2=_0x2dbc2e[_0x4cb65a(0x372)])==null?this[_0x4cb65a(0x13a)]:_0x31bbb2,this['_range']=(_0x4a480f=_0x2dbc2e['range'])==null?this[_0x4cb65a(0x344)]:_0x4a480f,this[_0x4cb65a(0x1bd)]=(_0x5831a2=_0x2dbc2e[_0x4cb65a(0x10e)])==null?this[_0x4cb65a(0x1bd)]:_0x5831a2,this['_labelPosition']=(_0x13271b=_0x2dbc2e[_0x4cb65a(0x1d4)])==null?this[_0x4cb65a(0x1b7)]:_0x13271b,this[_0x4cb65a(0x285)]=(_0x341f20=_0x2dbc2e[_0x4cb65a(0x1ce)])==null?this[_0x4cb65a(0x285)]:_0x341f20,this['_showText']=(_0x2890ad=_0x2dbc2e[_0x4cb65a(0x40f)])==null?this['_showText']:_0x2890ad,this[_0x4cb65a(0x1f6)]=(_0x3c0ea0=_0x2dbc2e[_0x4cb65a(0xda)])==null?this[_0x4cb65a(0x1f6)]:_0x3c0ea0,_0x2dbc2e[_0x4cb65a(0x2d7)]!==void 0x0&&(this[_0x4cb65a(0x25e)]=_0x2dbc2e[_0x4cb65a(0x2d7)]),_0x2dbc2e[_0x4cb65a(0x40a)]!==void 0x0&&(this[_0x4cb65a(0x2f5)]=_0x2dbc2e[_0x4cb65a(0x40a)]),_0x2dbc2e['offsetY']!==void 0x0&&(this['_offsetY']=_0x2dbc2e[_0x4cb65a(0x130)]),this['transformByState']({'width':_0x2dbc2e['width'],'height':_0x2dbc2e[_0x4cb65a(0x302)]});}[_0x386c9a(0x1f1)](_0xd7e83f){const _0x5028b8=_0x386c9a;let {row:_0x269506,column:_0xd745a1}=_0xd7e83f;if(_0x269506>=this['_range'][_0x5028b8(0x200)]&&_0x269506<=this[_0x5028b8(0x344)][_0x5028b8(0x39a)]&&_0xd745a1>=this[_0x5028b8(0x344)]['startColumn']&&_0xd745a1<=this[_0x5028b8(0x344)][_0x5028b8(0x279)]){this[_0x5028b8(0x3b4)]({'hovered':!0x0});return;}this[_0x5028b8(0x3b4)]({'hovered':!0x1});}['_startBlinking'](_0x8e7300){const _0x292dd3=_0x386c9a;this[_0x292dd3(0x16a)](),this[_0x292dd3(0x278)]=!0x0,this[_0x292dd3(0x14e)]=window['setInterval'](()=>{const _0x54edc0=_0x292dd3;this[_0x54edc0(0x278)]=!this[_0x54edc0(0x278)],this[_0x54edc0(0x216)](!0x0);},0x1f4),this[_0x292dd3(0x314)]=window['setTimeout'](()=>{const _0x4d4d86=_0x292dd3;this[_0x4d4d86(0x16a)](),this['_isBlinkVisible']=!0x0,this[_0x4d4d86(0x216)](!0x0);},_0x8e7300*0x3e8);}[_0x386c9a(0x16a)](){const _0x445d7e=_0x386c9a;this[_0x445d7e(0x14e)]&&(window['clearInterval'](this['_blinkIntervalTimer']),this[_0x445d7e(0x14e)]=void 0x0),this[_0x445d7e(0x314)]&&(window[_0x445d7e(0x3c6)](this[_0x445d7e(0x314)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x4e7a85){return!0x1;}['dispose'](){const _0x39893e=_0x386c9a;this[_0x39893e(0x16a)](),super[_0x39893e(0x228)]();}[_0x386c9a(0x263)](_0x12f729){const _0x4384df=_0x386c9a;let _0x2a36ff=this[_0x4384df(0xa7)],_0x2063df=this[_0x4384df(0x285)];if(this[_0x4384df(0x2f5)]&&!this[_0x4384df(0x278)]&&(_0x2a36ff=this['_getLighterColor'](this['_color']),_0x2063df=this['_backgroundColor']?this[_0x4384df(0xb9)](this[_0x4384df(0x285)]):void 0x0),_0x38b39d[_0x4384df(0x281)]['drawWith'](_0x12f729,{'width':this[_0x4384df(0x380)],'height':this[_0x4384df(0x302)],'strokeWidth':this[_0x4384df(0x115)]||1.5,'stroke':_0x2a36ff,'evented':!0x1,'fill':_0x2063df}),this[_0x4384df(0x13a)]||this[_0x4384df(0x318)]){var _0xc3ffe;_0x12f729['save']();let _0x39b5b7=this['_labelHorizontalPosition']===_0x4384df(0x268)?-_0x25e53d(_0x12f729,this[_0x4384df(0x1bd)]):this[_0x4384df(0x380)];_0x12f729[_0x4384df(0x2c1)](0x1,0x0,0x0,0x1,_0x39b5b7,(this[_0x4384df(0x1b7)]===_0x4384df(0x123)?0x0:-0x14)+((_0xc3ffe=this[_0x4384df(0xca)])==null?0x0:_0xc3ffe)),_0x19e9c3[_0x4384df(0x282)](_0x12f729,{'text':this['_name'],'color':_0x2a36ff}),_0x12f729[_0x4384df(0xad)]();}}['_getLighterColor'](_0x4d8269){const _0x47c9d3=_0x386c9a;return _0x4d8269[_0x47c9d3(0x2bb)]('#')?_0x47c9d3(0x33f)+Number[_0x47c9d3(0x11d)](_0x4d8269['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x47c9d3(0x11d)](_0x4d8269[_0x47c9d3(0x400)](0x3,0x5),0x10)+',\x20'+Number[_0x47c9d3(0x11d)](_0x4d8269[_0x47c9d3(0x400)](0x5,0x7),0x10)+',\x200.2)':_0x4d8269[_0x47c9d3(0x2bb)](_0x47c9d3(0x2ad))?_0x4d8269[_0x47c9d3(0x131)](/[\d.]+\)$/g,_0x47c9d3(0xb7)):_0x4d8269[_0x47c9d3(0x2bb)](_0x47c9d3(0x265))?_0x4d8269[_0x47c9d3(0x131)](_0x47c9d3(0x265),'rgba')[_0x47c9d3(0x131)](')',_0x47c9d3(0x29f)):_0x4d8269;}};let _0x460895=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x4f44e9,_0x4df486,_0x2778e4,_0x3a9441){const _0x179a5a=_0x386c9a;super(),this['_context']=_0x4f44e9,this[_0x179a5a(0x264)]=_0x4df486,this[_0x179a5a(0x1ca)]=_0x2778e4,this[_0x179a5a(0x342)]=_0x3a9441,_0x2109ac(this,_0x179a5a(0x160),new Set()),_0x2109ac(this,_0x179a5a(0x321),null),_0x2109ac(this,_0x179a5a(0x3f6),null),this[_0x179a5a(0x34d)]();}[_0x386c9a(0x34d)](){const _0x54ff73=_0x386c9a;this[_0x54ff73(0x264)][_0x54ff73(0x27d)][_0x54ff73(0x32a)]((0x0,_0x30c188['takeUntil'])(this['dispose$']),(0x0,_0x30c188[_0x54ff73(0x177)])(_0x45ab55=>{const _0x5b4981=_0x54ff73;if(_0x45ab55){let _0x57f5db=_0x45ab55['sheetId'];return(0x0,_0x3a9a2c[_0x5b4981(0x2f9)])(this[_0x5b4981(0x1ca)]['getCollabCursors$'](this[_0x5b4981(0x334)][_0x5b4981(0x232)]),this['_themeService'][_0x5b4981(0x29c)])[_0x5b4981(0x32a)]((0x0,_0x30c188[_0x5b4981(0x2a3)])(([_0x30bc77,_0x347dd4])=>{let _0x43ec61=new Map();return _0x30bc77['forEach']((_0x1b716e,_0x2da8b1)=>{const _0x4ef92f=_0xbfb2;if(_0x1b716e[_0x4ef92f(0x2ef)]===_0x57f5db){let _0x456a3d={..._0x1b716e};_0x456a3d[_0x4ef92f(0x325)]=this[_0x4ef92f(0x342)]['getColorFromTheme'](_0x1b716e['color']),_0x43ec61[_0x4ef92f(0x2eb)](_0x2da8b1,_0x456a3d);}}),{'skeleton':_0x45ab55,'cursors':_0x43ec61};}));}return(0x0,_0x3a9a2c['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x15b869,cursors:_0x46ab18})=>{const _0x39ff7c=_0x54ff73;this['_removeCollabCursors'](),_0x15b869&&this[_0x39ff7c(0x2ce)](_0x15b869,_0x46ab18);}),this[_0x54ff73(0x2da)](this[_0x54ff73(0x264)][_0x54ff73(0x27d)][_0x54ff73(0x32a)]((0x0,_0x30c188[_0x54ff73(0x1ef)])(this['dispose$']))[_0x54ff73(0x341)](_0x249d91=>{const _0xe27445=_0x54ff73;var _0x378597;if(_0x249d91==null)return;(_0x378597=this[_0xe27445(0x3f6)])==null||_0x378597[_0xe27445(0x2db)](),this[_0xe27445(0x3f6)]=null;let {skeleton:_0x2214ae}=_0x249d91,{scene:_0x5c2e61}=this[_0xe27445(0x334)];this[_0xe27445(0x3f6)]=_0x5c2e61['onPointerMove$']['subscribeEvent']((0x0,_0x3188ec[_0xe27445(0x15a)])(_0x45a40e=>{const _0x153430=_0xe27445;var _0x2fd930,_0x20d34c;let {offsetX:_0x32de3b,offsetY:_0x55a9bf}=_0x45a40e,{x:_0x40cbb4,y:_0x290025}=_0x5c2e61[_0x153430(0x1e3)](_0x38b39d[_0x153430(0x3fc)]['FromArray']([_0x32de3b,_0x55a9bf])),{scaleX:_0x4270a2,scaleY:_0x1884db}=_0x5c2e61[_0x153430(0xdd)](),_0x273a8a=_0x5c2e61[_0x153430(0x2e9)](_0x38b39d[_0x153430(0x218)][_0x153430(0xf8)]),_0x5ae0b8=_0x5c2e61[_0x153430(0x306)](_0x38b39d[_0x153430(0x3fc)][_0x153430(0x36c)]([_0x40cbb4,_0x290025]),_0x273a8a),_0x483f5b=_0x2214ae['getCellIndexByOffset'](_0x32de3b,_0x55a9bf,_0x4270a2,_0x1884db,_0x5ae0b8);(((_0x2fd930=this[_0x153430(0x321)])==null?void 0x0:_0x2fd930['column'])!==_0x483f5b[_0x153430(0x187)]||((_0x20d34c=this['_lastPointer'])==null?void 0x0:_0x20d34c['row'])!==_0x483f5b[_0x153430(0x2cf)])&&this[_0x153430(0x160)][_0x153430(0x32f)](_0x3a89ab=>{const _0x478040=_0x153430;_0x3a89ab[_0x478040(0x1f1)](_0x483f5b);});},0x64));})),this['disposeWithMe']((0x0,_0x3188ec[_0x54ff73(0x34e)])(()=>{const _0x1f0556=_0x54ff73;var _0xb383e0;(_0xb383e0=this[_0x1f0556(0x3f6)])==null||_0xb383e0[_0x1f0556(0x2db)](),this[_0x1f0556(0x3f6)]=null;}));}[_0x386c9a(0x2ce)](_0x17519c,_0x4ac487){const _0x404c47=_0x386c9a;let _0x1dd9ee=this['_sheetSkeletonManagerService'][_0x404c47(0x2c0)]();if(!_0x1dd9ee)return;let _0x4e412d=this[_0x404c47(0x247)]();if(!_0x4e412d)return;this[_0x404c47(0x160)][_0x404c47(0x32f)](_0x2d07c4=>{const _0x3594f1=_0x404c47;_0x2d07c4[_0x3594f1(0x216)]();});let {scene:_0x132792}=_0x4e412d,_0x210c37=_0x12cd55(Array[_0x404c47(0x143)](_0x4ac487['values']()))[_0x404c47(0x2a3)](_0x25dcda=>{const _0x5575fb=_0x404c47;let {color:_0x18c0cf,range:_0xa3365d,name:_0x4a1faa,selection:_0x26517a,sheetID:_0x545f92}=_0x25dcda,{startColumn:_0x4d39a6,startRow:_0x4d8a51,endColumn:_0x3babd3,endRow:_0x487f07}=_0xa3365d,_0x3c073a=(0x0,_0x4d43bb[_0x5575fb(0x17f)])(_0x4d8a51,_0x4d39a6,_0x132792,_0x1dd9ee),_0x27052f=(0x0,_0x4d43bb[_0x5575fb(0x17f)])(_0x487f07,_0x3babd3,_0x132792,_0x1dd9ee),{columnHeaderHeightAndMarginTop:_0xee6839}=_0x1dd9ee,{startX:_0x34c4b5,startY:_0x4fd421}=_0x3c073a,{endX:_0x1d6421,endY:_0x5b857f}=_0x27052f,_0x391a44=_0x1d6421-_0x34c4b5,_0x4789ad=_0x5b857f-_0x4fd421;return new _0x294254(_0x4a1faa,{'labelPosition':_0x4fd421-_0xee6839>=0x14?'top':_0x5575fb(0x123),'sheetID':_0x545f92,'range':_0xa3365d,'color':_0x18c0cf,'name':_0x4a1faa,'selection':_0x26517a,'left':_0x34c4b5,'top':_0x4fd421,'width':_0x391a44,'height':_0x4789ad,'evented':!0x1,'zIndex':0x1389});});_0x132792[_0x404c47(0x1b6)](_0x210c37,0x1),this['_cursors']=new Set(_0x210c37);}['_removeCollabCursors'](){var _0x1f01b2;(_0x1f01b2=this['_cursors'])==null||_0x1f01b2['forEach'](_0x56aeae=>_0x56aeae['dispose']());}[_0x386c9a(0x247)](){const _0x324672=_0x386c9a;return(0x0,_0x4d43bb[_0x324672(0x10b)])(this['_context']['unit'],this[_0x324672(0x334)]);}};_0x460895=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x4d43bb['SheetSkeletonManagerService'])),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x460895);function _0x12cd55(_0x2d5472){const _0x517b14=_0x386c9a;let _0x48ab54=new Map();return _0x2d5472['forEach'](_0x2fc8c5=>{const _0x3a2953=_0xbfb2;if(_0x48ab54['has'](_0x2fc8c5['selection'])){let _0x38f932=_0x48ab54[_0x3a2953(0x26b)](_0x2fc8c5['selection']);_0x38f932['name']+=',\x20'+_0x2fc8c5[_0x3a2953(0x10e)];}else _0x48ab54[_0x3a2953(0x2eb)](_0x2fc8c5[_0x3a2953(0x126)],_0x2fc8c5);}),Array['from'](_0x48ab54[_0x517b14(0x2a0)]());}let _0x5b52a2=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0x5035a1,_0x3a3df5,_0x43b465){const _0xbac833=_0x386c9a;super(),this[_0xbac833(0x334)]=_0x5035a1,this[_0xbac833(0x1ca)]=_0x3a3df5,this[_0xbac833(0x342)]=_0x43b465,_0x2109ac(this,_0xbac833(0x160),new Set()),_0x2109ac(this,_0xbac833(0xc6),!0x1),_0x2109ac(this,_0xbac833(0xf9),!0x1),_0x2109ac(this,_0xbac833(0x3bd),new Map()),this[_0xbac833(0x34d)]();}[_0x386c9a(0x228)](){const _0x2f2045=_0x386c9a;this[_0x2f2045(0x289)](),super[_0x2f2045(0x228)]();}[_0x386c9a(0x34d)](){const _0xa09a06=_0x386c9a;let _0x423903=this[_0xa09a06(0x334)]['unit'][_0xa09a06(0x1a2)][_0xa09a06(0xb0)],_0x3e7a94=this['_collabCursorController']['getCollabCursors$'](this['_context'][_0xa09a06(0x232)]);this['disposeWithMe']((0x0,_0x3188ec['toDisposable'])((0x0,_0x3a9a2c[_0xa09a06(0x2f9)])([_0x3e7a94,_0x423903,this[_0xa09a06(0x342)][_0xa09a06(0x29c)]])[_0xa09a06(0x32a)]((0x0,_0x3a9a2c[_0xa09a06(0x1ef)])(this[_0xa09a06(0x181)]))['subscribe'](([_0x569b31,_0x4dfb69])=>{const _0x24e72a=_0xa09a06;let _0xa868d2=new Map();_0x569b31[_0x24e72a(0x32f)]((_0x31f236,_0x13814a)=>{const _0x57cb23=_0x24e72a;_0x31f236[_0x57cb23(0x2f0)]===_0x4dfb69&&_0xa868d2[_0x57cb23(0x2eb)](_0x13814a,{..._0x31f236,'color':this[_0x57cb23(0x342)][_0x57cb23(0x38e)](_0x31f236[_0x57cb23(0x325)])});}),this[_0x24e72a(0x3bd)]=_0xa868d2,this['_scheduleRender']();})));let _0x3c9ba8=this[_0xa09a06(0x334)]['scene'];this[_0xa09a06(0x2da)]((0x0,_0x3188ec[_0xa09a06(0x34e)])(_0x3c9ba8[_0xa09a06(0xb5)]['pipe']((0x0,_0x3a9a2c[_0xa09a06(0x1ef)])(this[_0xa09a06(0x181)]))['subscribe'](()=>{const _0x340a51=_0xa09a06;this[_0x340a51(0xf9)]||this['_scheduleRender']();})));}['_scheduleRender'](){const _0x2b9570=_0x386c9a;this['_renderScheduled']||(this[_0x2b9570(0xc6)]=!0x0,Promise['resolve']()['then'](()=>{const _0x13ea40=_0x2b9570;this[_0x13ea40(0xc6)]=!0x1,this[_0x13ea40(0x15f)]();}));}[_0x386c9a(0x15f)](){const _0x470dcf=_0x386c9a;var _0x1cba4f;this[_0x470dcf(0x289)]();let _0x4a3c3a=(_0x1cba4f=this[_0x470dcf(0x334)]['unit'][_0x470dcf(0x1a2)][_0x470dcf(0x20f)]())==null?void 0x0:_0x1cba4f[_0x470dcf(0x1eb)]();if(!_0x4a3c3a)return;let _0x532c85=[];if(this[_0x470dcf(0x3bd)]['forEach']((_0x4c2ec6,_0x53b556)=>{const _0x11a9ab=_0x470dcf;_0x4c2ec6[_0x11a9ab(0x2f0)]===_0x4a3c3a&&_0x4c2ec6[_0x11a9ab(0x2bc)][_0x11a9ab(0x32f)](_0x2e8dba=>{const _0x29e2d1=_0x11a9ab;let _0x1ad806=(0x0,_0x2c454c[_0x29e2d1(0x37d)])(_0x4c2ec6[_0x29e2d1(0x232)],_0x4c2ec6[_0x29e2d1(0x2f0)],_0x2e8dba),_0x3dcd34=this[_0x29e2d1(0x37e)](_0x1ad806);if(!_0x3dcd34)return;let _0x5df3c7=this[_0x29e2d1(0x19e)](_0x3dcd34);_0x532c85[_0x29e2d1(0x18e)](new _0x36c05d(_0x29e2d1(0x179)+_0x53b556+'-'+_0x2e8dba,{..._0x4c2ec6,'left':_0x5df3c7['left'],'top':_0x5df3c7[_0x29e2d1(0x138)],'width':_0x5df3c7[_0x29e2d1(0x380)],'height':_0x5df3c7[_0x29e2d1(0x302)],'angle':_0x3dcd34[_0x29e2d1(0x2b7)],'evented':!0x1,'zIndex':_0x4f92ff}));});}),_0x532c85[_0x470dcf(0x368)]===0x0){this[_0x470dcf(0x334)][_0x470dcf(0x1a3)][_0x470dcf(0x216)](!0x0);return;}this[_0x470dcf(0xf9)]=!0x0,this['_context'][_0x470dcf(0x1a3)][_0x470dcf(0x1b6)](_0x532c85,_0x4f92ff),this['_isApplyingOverlays']=!0x1,this[_0x470dcf(0x160)]=new Set(_0x532c85),this[_0x470dcf(0x334)][_0x470dcf(0x1a3)][_0x470dcf(0x216)](!0x0);}[_0x386c9a(0x289)](){const _0x2a2091=_0x386c9a;let _0x20a5d7=Array[_0x2a2091(0x143)](this['_cursors']);if(_0x20a5d7[_0x2a2091(0x368)]===0x0)return;let _0x1abddd=this[_0x2a2091(0x334)][_0x2a2091(0x1a3)];'removeObjects'in _0x1abddd&&typeof _0x1abddd[_0x2a2091(0x12c)]==_0x2a2091(0x14f)?_0x1abddd['removeObjects'](_0x20a5d7):_0x20a5d7[_0x2a2091(0x32f)](_0x18b166=>{const _0x319df6=_0x2a2091;_0x319df6(0x1fa)in _0x1abddd&&typeof _0x1abddd[_0x319df6(0x1fa)]=='function'?_0x1abddd[_0x319df6(0x1fa)](_0x18b166):_0x18b166[_0x319df6(0x228)]();}),this[_0x2a2091(0x160)][_0x2a2091(0x2e2)](),_0x1abddd['makeDirty'](!0x0);}[_0x386c9a(0x37e)](_0x977743){const _0x377dcd=_0x386c9a;var _0x493711,_0x3b19aa,_0x2d7faf;let _0x25c96f=this['_context'][_0x377dcd(0x1a3)];return(_0x493711=(_0x3b19aa=(_0x2d7faf=_0x25c96f[_0x377dcd(0x1fe)])==null?void 0x0:_0x2d7faf[_0x377dcd(0x266)](_0x25c96f,_0x977743))==null?_0x25c96f[_0x377dcd(0x2a1)](_0x977743):_0x3b19aa)==null?null:_0x493711;}[_0x386c9a(0x19e)](_0x2c8ede){const _0x216f35=_0x386c9a;var _0xd432e3,_0x24d0fd;let _0x3866f3=_0x2c8ede;return(_0xd432e3=(_0x24d0fd=_0x3866f3[_0x216f35(0x1a0)])==null?void 0x0:_0x24d0fd[_0x216f35(0x266)](_0x3866f3))==null?{'left':_0x2c8ede['left'],'top':_0x2c8ede[_0x216f35(0x138)],'width':_0x2c8ede[_0x216f35(0x380)],'height':_0x2c8ede[_0x216f35(0x302)]}:_0xd432e3;}};_0x5b52a2=_0x442f80([_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x54c193)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x3d6)]))],_0x5b52a2);let _0x4e3b37=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x16c00e,_0x3a00c2,_0x4556d1,_0x5b0a11,_0x1ddd78,_0x110c83){const _0x57cad3=_0x386c9a;super(),this[_0x57cad3(0x27a)]=_0x16c00e,this[_0x57cad3(0x299)]=_0x3a00c2,this[_0x57cad3(0x40b)]=_0x4556d1,this['_messageService']=_0x5b0a11,this[_0x57cad3(0x16d)]=_0x1ddd78,this['_localeService']=_0x110c83,this[_0x57cad3(0x255)](),this[_0x57cad3(0x2a9)]();}[_0x386c9a(0x255)](){const _0x422d1b=_0x386c9a;this['disposeWithMe'](this[_0x422d1b(0x27a)][_0x422d1b(0xdc)](()=>{const _0x56d626=_0x422d1b;if(this[_0x56d626(0x299)]['saveTaskMap'][_0x56d626(0x1cd)])return this[_0x56d626(0xeb)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x386c9a(0x2a9)](){const _0x5f3d61=_0x386c9a;this['disposeWithMe'](this[_0x5f3d61(0x40b)]['event$'][_0x5f3d61(0x341)](_0x4f2e3f=>{const _0x558621=_0x5f3d61;_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId'][_0x558621(0x233)]&&this[_0x558621(0x1dc)][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)][_0x558621(0xba)],'content':this[_0x558621(0xeb)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)]['CLOSE_ROOM']&&this[_0x558621(0x1dc)][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)]['Warning'],'content':this[_0x558621(0xeb)]['t'](_0x558621(0x10c))}),_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x558621(0x386)]({'title':this[_0x558621(0xeb)]['t'](_0x558621(0x39d)),'content':this[_0x558621(0xeb)]['t'](_0x558621(0x16b)),'type':_0x558621(0x3f1),'duration':0x0}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0xbc)]&&this[_0x558621(0x16d)][_0x558621(0x386)]({'title':this[_0x558621(0xeb)]['t'](_0x558621(0x1ac)),'content':this[_0x558621(0xeb)]['t'](_0x558621(0x22c)),'type':'error','duration':0x0}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0x9f)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4[_0x558621(0x212)][_0x558621(0xba)],'content':this['_localeService']['t'](_0x4f2e3f['data']||'')}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0xae)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4['MessageType'][_0x558621(0xba)],'content':this[_0x558621(0xeb)]['t'](_0x558621(0x1d5))}),_0x4f2e3f['id']===_0x2248ce['CollaborationUIEventId'][_0x558621(0x106)]&&this[_0x558621(0x1dc)]['show']({'type':_0x36a1a4[_0x558621(0x212)]['Error'],'content':this['_localeService']['t'](_0x558621(0x3bc))}),_0x4f2e3f['id']===_0x2248ce[_0x558621(0xff)][_0x558621(0x184)]&&this['_messageService'][_0x558621(0x386)]({'type':_0x36a1a4[_0x558621(0x212)]['Error'],'content':this['_localeService']['t'](_0x558621(0x3fe))});}));}};_0x4e3b37=_0x442f80([_0x148b43(0x0,_0xad5ce[_0x386c9a(0x3d7)]),_0x148b43(0x1,_0x2248ce[_0x386c9a(0x251)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce['CollaborationUIEventService'])),_0x148b43(0x3,_0xad5ce[_0x386c9a(0xf1)]),_0x148b43(0x4,_0xad5ce[_0x386c9a(0x3ff)]),_0x148b43(0x5,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x4e3b37);let _0x34f04d=(0x0,_0x3188ec[_0x386c9a(0x370)])(_0x386c9a(0x193)),_0x1f1812=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(_0xe7d706,_0x4c2e71,_0x5daf0a,_0x1855f0,_0x122017){const _0x56f600=_0x386c9a;super(),this[_0x56f600(0xcd)]=_0xe7d706,this['_logService']=_0x4c2e71,this[_0x56f600(0xc7)]=_0x5daf0a,this['_dataLoaderService']=_0x1855f0,_0x122017?_0x122017[_0x56f600(0x1d7)]()[_0x56f600(0x11a)](()=>this['_init']()):(this[_0x56f600(0x125)]['debug'](_0x56f600(0x28f),_0x56f600(0x3fd)),this['_init']());}async[_0x386c9a(0x34d)](){const _0x371da7=_0x386c9a;let _0x2875fa=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x1f3)),_0x34be5d=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x2fd)),_0xc38b58=this[_0x371da7(0xcd)][_0x371da7(0x3c4)](_0x371da7(0x290));if(!_0x2875fa||!_0x34be5d){this[_0x371da7(0x125)]['debug'](_0x371da7(0x28f),_0x371da7(0x151));return;}let _0x3f567a=await this[_0x371da7(0x3aa)][_0x371da7(0x1f5)](_0x2875fa,Number(_0x34be5d),_0xc38b58);_0x3f567a&&_0x3f567a instanceof _0x3188ec[_0x371da7(0x283)]&&this[_0x371da7(0x134)](_0x3f567a);}async['_setupSubUnitSync'](_0x411460){const _0x2122a1=_0x386c9a;await this['_updateSubUnitFromURLParams'](_0x411460),_0x411460[_0x2122a1(0x144)][_0x2122a1(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x2122a1(0x181)]))[_0x2122a1(0x341)](_0x276cb8=>{const _0x23fe91=_0x2122a1;_0x276cb8&&this[_0x23fe91(0x3b2)](_0x276cb8);}),this[_0x2122a1(0xcd)][_0x2122a1(0xe1)][_0x2122a1(0x32a)]((0x0,_0x3a9a2c['takeUntil'])(this[_0x2122a1(0x181)]))[_0x2122a1(0x341)](()=>this['_updateSubUnitFromURLParams'](_0x411460));}[_0x386c9a(0x3b2)](_0xd25de1,_0x378538=!0x1){const _0x487c23=_0x386c9a;let _0x1de19d=this[_0x487c23(0xcd)][_0x487c23(0x3c4)](_0x487c23(0x290));_0xd25de1[_0x487c23(0x3d4)]()!==_0x1de19d&&this['_urlService'][_0x487c23(0x408)](_0x487c23(0x290),_0xd25de1[_0x487c23(0x3d4)](),_0x378538);}async[_0x386c9a(0xb3)](_0x5987e){const _0x37006d=_0x386c9a;var _0x2d67bd;let _0x279977=this[_0x37006d(0xcd)][_0x37006d(0x3c4)](_0x37006d(0x290));if(!_0x279977||!_0x5987e[_0x37006d(0x2e6)](_0x279977)){let _0x57d06a=_0x5987e[_0x37006d(0x19a)]()[0x0],_0x491832=_0x5987e[_0x37006d(0x2e6)](_0x57d06a);if(!_0x491832)return;this[_0x37006d(0x3b2)](_0x491832,!0x0),await this[_0x37006d(0xc7)][_0x37006d(0x381)](_0x14f8c0[_0x37006d(0x3ea)]['id'],{'unitId':_0x5987e[_0x37006d(0x3e8)](),'subUnitId':_0x57d06a});return;}((_0x2d67bd=_0x5987e[_0x37006d(0x29d)]())==null?void 0x0:_0x2d67bd['getSheetId']())!==_0x279977&&await this[_0x37006d(0xc7)][_0x37006d(0x381)](_0x14f8c0['SetWorksheetActivateCommand']['id'],{'unitId':_0x5987e[_0x37006d(0x3e8)](),'subUnitId':_0x279977});}};_0x1f1812=_0x442f80([_0x148b43(0x0,_0x34f04d),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce['DataLoaderService'])),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x22d)])(_0x157a03['IRemoteInstanceService']))],_0x1f1812);let _0x10c576=class{constructor(_0x39fb7a,_0x40a6f1){const _0xf6811c=_0x386c9a;this[_0xf6811c(0x246)]=_0x39fb7a,this['_renderManagerService']=_0x40a6f1;}['transformIMECache'](_0x46a573){const _0x22bf37=_0x386c9a;this['_transformUndoRedoStack'](_0x46a573),this[_0x22bf37(0x1c6)](_0x46a573);}[_0x386c9a(0x161)](_0x3c04e1){const _0x54a144=_0x386c9a;let {unitID:_0x85d36c}=_0x3c04e1,{redoCache:_0x3a1d40}=this[_0x54a144(0x3c5)][_0x54a144(0x389)](_0x85d36c)[_0x54a144(0x30e)](_0x390782[_0x54a144(0x2b4)])[_0x54a144(0x178)]();if(_0x3a1d40['length']===0x0)return _0x3c04e1;let _0x5354e1=_0x3188ec['Tools'][_0x54a144(0x209)](_0x3c04e1[_0x54a144(0x304)][0x0]);for(let _0x166716=0x0;_0x166716<_0x3a1d40[_0x54a144(0x368)];_0x166716++){let _0x215e52={'id':_0x54a144(0x394),'params':{..._0x3a1d40[_0x166716]}},_0x39a796=this[_0x54a144(0x246)]['transformMutation'](_0x5354e1,_0x215e52,!0x1);if((0x0,_0x1cdb30[_0x54a144(0x116)])(_0x39a796))throw _0x39a796[_0x54a144(0x3f1)];_0x5354e1=_0x39a796['m1Prime'];}return{..._0x3188ec[_0x54a144(0x31e)]['deepClone'](_0x3c04e1),'mutations':[_0x5354e1]};}[_0x386c9a(0x269)](_0x2fffb5){const _0x568e3e=_0x386c9a;let {unitID:_0x555a98}=_0x2fffb5,_0x5ed06a=this['_renderManagerService'][_0x568e3e(0x389)](_0x555a98)[_0x568e3e(0x30e)](_0x390782[_0x568e3e(0x2b4)]),{undoCache:_0x34f121,redoCache:_0x489a37}=_0x5ed06a['getUndoRedoMutationParamsCache']();if(_0x34f121[_0x568e3e(0x368)]===0x0||_0x489a37[_0x568e3e(0x368)]===0x0)return;let _0x28af55=[],_0x85770=[],_0x34fc93=_0x3188ec[_0x568e3e(0x31e)][_0x568e3e(0x209)](_0x2fffb5[_0x568e3e(0x304)][0x0]),_0x152f15=_0x3188ec[_0x568e3e(0x31e)][_0x568e3e(0x209)](_0x2fffb5['mutations'][0x0]);for(let _0x4aa371=_0x34f121[_0x568e3e(0x368)]-0x1;_0x4aa371>=0x0;_0x4aa371--){let _0x59db1a={'id':_0x568e3e(0x394),'params':{..._0x34f121[_0x4aa371]}},_0x3b5079={'id':_0x568e3e(0x394),'params':{..._0x489a37[_0x4aa371]}},_0x499ae9=this[_0x568e3e(0x246)][_0x568e3e(0x27b)](_0x34fc93,_0x59db1a,!0x1),_0x19df38=this[_0x568e3e(0x246)][_0x568e3e(0x27b)](_0x152f15,_0x3b5079,!0x1);if((0x0,_0x1cdb30['isTransformMutationFailure'])(_0x499ae9))throw _0x499ae9[_0x568e3e(0x3f1)];if((0x0,_0x1cdb30[_0x568e3e(0x116)])(_0x19df38))throw _0x19df38[_0x568e3e(0x3f1)];_0x28af55[_0x568e3e(0x20b)](_0x499ae9[_0x568e3e(0x25d)][_0x568e3e(0x3a4)]),_0x85770[_0x568e3e(0x20b)](_0x19df38[_0x568e3e(0x25d)][_0x568e3e(0x3a4)]),_0x34fc93=_0x499ae9[_0x568e3e(0x311)],_0x152f15=_0x19df38[_0x568e3e(0x311)];}_0x5ed06a[_0x568e3e(0x15d)]({'undoCache':_0x28af55,'redoCache':_0x85770});}[_0x386c9a(0x1c6)](_0x39ae87){const _0x505140=_0x386c9a;let {unitID:_0x2fe39e}=_0x39ae87,_0x3c8cbd=this['_renderManagerService'][_0x505140(0x389)](_0x2fe39e)['with'](_0x390782[_0x505140(0x2b4)]),_0x2b70a5=_0x3c8cbd[_0x505140(0x40e)]();if(_0x2b70a5==null)return;let _0x52a685=[{'id':_0x505140(0x394),'params':{'unitId':_0x39ae87['unitID'],'actions':null,'textRanges':[_0x2b70a5]}}],_0x2ce26f=this[_0x505140(0x246)][_0x505140(0x167)](_0x39ae87,_0x52a685);if(!(0x0,_0x1cdb30[_0x505140(0x273)])(_0x2ce26f))throw _0x2ce26f[_0x505140(0x3f1)];let _0x2b2996=_0x2ce26f['m2Prime'][0x0][_0x505140(0x3a4)][_0x505140(0x1d2)];Array['isArray'](_0x2b2996)&&_0x2b2996[_0x505140(0x368)]&&_0x3c8cbd[_0x505140(0x122)](_0x2b2996[0x0]);}};_0x10c576=_0x442f80([_0x148b43(0x0,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x1,_0x38b39d[_0x386c9a(0x373)])],_0x10c576);let _0x5e6353=class{constructor(_0x41dd22,_0x47d23a,_0x167e71){const _0x2e3736=_0x386c9a;this[_0x2e3736(0x2f4)]=_0x41dd22,this['_transformService']=_0x47d23a,this['_docStateChangeManagerService']=_0x167e71;}['transformStateCache'](_0x4dd07f){this['_transformHistoryAndStateStack'](_0x4dd07f);}[_0x386c9a(0x161)](_0x29a86c){const _0x4c437b=_0x386c9a;let {unitID:_0x207bd7}=_0x29a86c,{collaboration:_0x55f60d}=this[_0x4c437b(0x1de)][_0x4c437b(0x316)](_0x207bd7);if(_0x55f60d[_0x4c437b(0x368)]===0x0)return _0x29a86c;let _0x3d1775=_0x3188ec[_0x4c437b(0x31e)][_0x4c437b(0x209)](_0x29a86c[_0x4c437b(0x304)][0x0]);for(let _0x1a48aa=0x0;_0x1a48aa<_0x55f60d[_0x4c437b(0x368)];_0x1a48aa++){let _0x30bbbe={'id':_0x4c437b(0x394),'params':{'unitId':_0x55f60d[_0x1a48aa][_0x4c437b(0x232)],..._0x55f60d[_0x1a48aa]['redoState']}},_0x259f93=this[_0x4c437b(0x246)]['transformMutation'](_0x3d1775,_0x30bbbe,!0x1);if((0x0,_0x1cdb30[_0x4c437b(0x116)])(_0x259f93))throw _0x259f93[_0x4c437b(0x3f1)];_0x3d1775=_0x259f93[_0x4c437b(0x311)];}return{..._0x3188ec[_0x4c437b(0x31e)][_0x4c437b(0x209)](_0x29a86c),'mutations':[_0x3d1775]};}[_0x386c9a(0x30b)](_0x4ab1c1){const _0xbd018a=_0x386c9a;let {unitID:_0x4095ab}=_0x4ab1c1,{history:_0x28997c,collaboration:_0x4c61ee}=this[_0xbd018a(0x1de)][_0xbd018a(0x316)](_0x4095ab);if(_0x28997c[_0xbd018a(0x368)]===0x0&&_0x4c61ee['length']===0x0)return;let _0x198db2=[],_0x474acd=[],_0x38c545=_0x3188ec[_0xbd018a(0x31e)]['deepClone'](_0x4ab1c1['mutations'][0x0]),_0x516e9=_0x3188ec['Tools'][_0xbd018a(0x209)](_0x4ab1c1[_0xbd018a(0x304)][0x0]);for(let _0x19eeb7=_0x28997c['length']-0x1;_0x19eeb7>=0x0;_0x19eeb7--){let _0x3b8ac2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x28997c[_0x19eeb7]['unitId'],..._0x28997c[_0x19eeb7][_0xbd018a(0x166)]}},_0x36b4b7={'id':_0xbd018a(0x394),'params':{'unitId':_0x28997c[_0x19eeb7][_0xbd018a(0x232)],..._0x28997c[_0x19eeb7][_0xbd018a(0xf3)]}},_0x81b3d9=this['_transformService'][_0xbd018a(0x27b)](_0x38c545,_0x3b8ac2,!0x1),_0x5b1187=this['_transformService'][_0xbd018a(0x27b)](_0x516e9,_0x36b4b7,!0x1);if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x81b3d9))throw _0x81b3d9[_0xbd018a(0x3f1)];if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x5b1187))throw _0x5b1187[_0xbd018a(0x3f1)];_0x198db2['unshift']({..._0x28997c[_0x19eeb7],'undoState':_0x81b3d9[_0xbd018a(0x25d)][_0xbd018a(0x3a4)],'redoState':_0x5b1187[_0xbd018a(0x25d)]['params']}),_0x38c545=_0x81b3d9['m1Prime'],_0x516e9=_0x5b1187['m1Prime'];}_0x38c545=_0x3188ec['Tools']['deepClone'](_0x4ab1c1[_0xbd018a(0x304)][0x0]),_0x516e9=_0x3188ec[_0xbd018a(0x31e)][_0xbd018a(0x209)](_0x4ab1c1[_0xbd018a(0x304)][0x0]);for(let _0x121e6f=_0x4c61ee[_0xbd018a(0x368)]-0x1;_0x121e6f>=0x0;_0x121e6f--){let _0x4cf502={'id':_0xbd018a(0x394),'params':{'unitId':_0x4c61ee[_0x121e6f][_0xbd018a(0x232)],..._0x4c61ee[_0x121e6f][_0xbd018a(0x166)]}},_0x40f76e={'id':_0xbd018a(0x394),'params':{'unitId':_0x4c61ee[_0x121e6f][_0xbd018a(0x232)],..._0x4c61ee[_0x121e6f]['redoState']}},_0x3f3546=this['_transformService'][_0xbd018a(0x27b)](_0x38c545,_0x4cf502,!0x1),_0x4b4828=this['_transformService'][_0xbd018a(0x27b)](_0x516e9,_0x40f76e,!0x1);if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x3f3546))throw _0x3f3546['error'];if((0x0,_0x1cdb30[_0xbd018a(0x116)])(_0x4b4828))throw _0x4b4828[_0xbd018a(0x3f1)];_0x474acd[_0xbd018a(0x20b)]({..._0x4c61ee[_0x121e6f],'undoState':_0x3f3546[_0xbd018a(0x25d)][_0xbd018a(0x3a4)],'redoState':_0x4b4828['m2Prime'][_0xbd018a(0x3a4)]}),_0x38c545=_0x3f3546[_0xbd018a(0x311)],_0x516e9=_0x4b4828[_0xbd018a(0x311)];}this['_docStateChangeManagerService'][_0xbd018a(0x287)](_0x4095ab,{'history':_0x198db2,'collaboration':_0x474acd});}};_0x5e6353=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,_0x1cdb30[_0x386c9a(0xd6)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x12c761['DocStateChangeManagerService']))],_0x5e6353);let _0x51eddf=class{constructor(_0x2c2711,_0x9c0938){const _0x55b51e=_0x386c9a;this[_0x55b51e(0x2f4)]=_0x2c2711,this[_0x55b51e(0x246)]=_0x9c0938;}[_0x386c9a(0x350)](_0x3559c5){const _0x441642=_0x386c9a;var _0x30283e;let _0x4df543=this[_0x441642(0x2f4)][_0x441642(0x26b)](_0x12c761[_0x441642(0x409)]),_0x4d06f4=(_0x30283e=_0x4df543['getDocRanges']())==null?[]:_0x30283e;if(_0x4d06f4['length']===0x0)return;let _0x3c834d=_0x3559c5[_0x441642(0x141)],_0x284e60=[{'id':_0x441642(0x394),'params':{'unitId':_0x3c834d,'actions':null,'textRanges':_0x4d06f4}}],_0x2433d6=this[_0x441642(0x246)][_0x441642(0x167)](_0x3559c5,_0x284e60);if(!(0x0,_0x1cdb30[_0x441642(0x273)])(_0x2433d6))throw _0x2433d6[_0x441642(0x3f1)];let _0x41e669=_0x2433d6[_0x441642(0x25d)][0x0]['params']['textRanges'];Array[_0x441642(0x1bc)](_0x41e669)&&_0x41e669[_0x441642(0x368)]&&_0x4df543[_0x441642(0x391)](_0x41e669,{'unitId':_0x3c834d,'subUnitId':_0x3c834d},!0x1);}};_0x51eddf=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,_0x1cdb30['ITransformService'])],_0x51eddf);let _0x2ea462=class extends _0x3188ec['Disposable']{constructor(_0x2dc2db,_0x2cafd7,_0x19eace,_0x538c6f,_0xbd2b7f,_0x36a10c,_0xd71791){const _0x16c326=_0x386c9a;super(),this[_0x16c326(0x33b)]=_0x2dc2db,this[_0x16c326(0x153)]=_0x2cafd7,this[_0x16c326(0x378)]=_0x19eace,this[_0x16c326(0x111)]=_0x538c6f,this['_docSyncEditingCollabCursorService']=_0xbd2b7f,this['_messageService']=_0x36a10c,this[_0x16c326(0xeb)]=_0xd71791,_0x2109ac(this,_0x16c326(0x3a2),new _0x3a9a2c[(_0x16c326(0x1ba))](_0x2248ce[_0x16c326(0x323)][_0x16c326(0x376)])),this[_0x16c326(0xcb)]();}[_0x386c9a(0xcb)](){const _0xb77b3a=_0x386c9a;this[_0xb77b3a(0x2da)](this[_0xb77b3a(0x33b)]['entityInit$']['subscribe'](_0x127e9c=>{const _0x3ecf74=_0xb77b3a;_0x127e9c instanceof _0x2248ce[_0x3ecf74(0x326)]&&_0x127e9c[_0x3ecf74(0xc1)]({'onTransformIME':_0x404bf7=>this[_0x3ecf74(0x153)]['transformIMECache'](_0x404bf7),'onTransformState':_0x3bdf16=>this[_0x3ecf74(0x378)][_0x3ecf74(0x2a2)](_0x3bdf16),'onTransformSelections':_0x5fe9f9=>this[_0x3ecf74(0x111)]['transformSelections'](_0x5fe9f9),'onSyncEditingCollabCursor':_0x1a35d1=>this[_0x3ecf74(0x339)][_0x3ecf74(0x229)](_0x1a35d1),'onTransformRemoteChangesetByIMECache':_0x49fac4=>this[_0x3ecf74(0x153)][_0x3ecf74(0x161)](_0x49fac4),'onTransformRemoteChangesetByStateCache':_0x404868=>this[_0x3ecf74(0x378)][_0x3ecf74(0x161)](_0x404868)});}));}};_0x2ea462=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0x1ed)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x10c576)),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x5e6353)),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x51eddf)),_0x148b43(0x4,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x31641e)),_0x148b43(0x5,_0xad5ce['IMessageService']),_0x148b43(0x6,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x2ea462);let _0x450c2a=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x2db8fa,_0x453794,_0x24e604,_0x4ed0dd){const _0x2dae0d=_0x386c9a;super(),this[_0x2dae0d(0x2f4)]=_0x2db8fa,this[_0x2dae0d(0x2b3)]=_0x453794,this[_0x2dae0d(0x125)]=_0x24e604,this[_0x2dae0d(0x405)]=_0x4ed0dd,_0x2109ac(this,_0x2dae0d(0x235),void 0x0),this[_0x2dae0d(0x34d)]();}[_0x386c9a(0x34d)](){const _0x11499d=_0x386c9a;this[_0x11499d(0xea)](),this['_initUnhandledRejectionListener'](),this[_0x11499d(0x1b9)](),this[_0x11499d(0x3d2)]();}[_0x386c9a(0x3d2)](){const _0x2a7561=_0x386c9a;this[_0x2a7561(0x2da)](this['_collaborationSessionService'][_0x2a7561(0xd1)][_0x2a7561(0x341)](_0x366875=>{const _0x2d053b=_0x2a7561;this[_0x2d053b(0x235)]=_0x366875==null?void 0x0:_0x366875['memberID'];}));}[_0x386c9a(0xea)](){const _0x1770b5=_0x386c9a;let _0x5e8c91=_0x1226b3=>{const _0x25bffc=_0xbfb2;var _0x503179;this[_0x25bffc(0x1cb)](_0x25bffc(0x3f1),_0x25bffc(0x2a4)+_0x1226b3[_0x25bffc(0xf5)]+_0x25bffc(0x29e)+_0x1226b3[_0x25bffc(0x403)]+':'+_0x1226b3[_0x25bffc(0x39e)]+':'+_0x1226b3[_0x25bffc(0x3b3)]+'\x0a'+(((_0x503179=_0x1226b3[_0x25bffc(0x3f1)])==null?void 0x0:_0x503179[_0x25bffc(0x32c)])||''));};window[_0x1770b5(0x2f2)](_0x1770b5(0x3f1),_0x5e8c91),this[_0x1770b5(0x2da)](()=>{const _0x1f00c2=_0x1770b5;window['removeEventListener'](_0x1f00c2(0x3f1),_0x5e8c91);});}[_0x386c9a(0x295)](){const _0x218bdd=_0x386c9a;let _0x31efae=_0x4ba96b=>{const _0x1a3d15=_0xbfb2;this[_0x1a3d15(0x1cb)](_0x1a3d15(0x3f1),_0x1a3d15(0x330)+_0x4ba96b[_0x1a3d15(0x207)]);};window[_0x218bdd(0x2f2)](_0x218bdd(0x1bf),_0x31efae),this['disposeWithMe'](()=>{const _0x46179b=_0x218bdd;window[_0x46179b(0x2d2)](_0x46179b(0x1bf),_0x31efae);});}[_0x386c9a(0x1b9)](){const _0x3870a2=_0x386c9a;let _0x3ed245=this[_0x3870a2(0x125)][_0x3870a2(0x3f1)][_0x3870a2(0x1c5)](this['_logService']);this['_logService'][_0x3870a2(0x3f1)]=(..._0x5134ea)=>{const _0x22d1eb=_0x3870a2;let _0x46edf9=_0x5134ea[_0x22d1eb(0x2a3)](_0x5634d4=>_0x5634d4 instanceof Error?_0x5634d4[_0x22d1eb(0xf5)]+'\x0a'+_0x5634d4['stack']:String(_0x5634d4))[_0x22d1eb(0x1b3)]('\x20');this['_uploadLog'](_0x22d1eb(0x3f1),_0x22d1eb(0x305)+_0x46edf9),_0x3ed245(..._0x5134ea);},this[_0x3870a2(0x2da)](()=>{const _0x2eb49c=_0x3870a2;this[_0x2eb49c(0x125)][_0x2eb49c(0x3f1)]=_0x3ed245;});}[_0x386c9a(0x1cb)](_0x2d4fc3,_0x2a4bf2){const _0x508607=_0x386c9a;try{let _0x5a2b02={'userId':this[_0x508607(0x235)],'logLabel':_0x2d4fc3,'content':_0x2a4bf2};this[_0x508607(0x2b3)][_0x508607(0x172)](_0x508607(0x1a6),{'body':_0x5a2b02})[_0x508607(0x180)](()=>{});}catch{}}};_0x450c2a=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x2248ce[_0x386c9a(0xed)]))],_0x450c2a);function _0x3e995f({state$:_0xa67e29,interactionBlocked$:_0x2ae779}){const _0x4263a3=_0x386c9a;return(0x0,_0x418e4f['jsxs'])(_0x418e4f[_0x4263a3(0x26d)],{'children':[(0x0,_0xad5ce[_0x4263a3(0x3dd)])(_0x2ae779,!0x1,!0x0)&&(0x0,_0x418e4f[_0x4263a3(0x1df)])('div',{'data-u-comp':_0x4263a3(0x374),'aria-hidden':!0x0,'className':'univer-fixed\x20univer-inset-0\x20univer-z-[1000]\x20univer-cursor-wait'}),(0x0,_0x418e4f[_0x4263a3(0x1df)])(_0x383236,{'state$':_0xa67e29})]});}function _0x383236({state$:_0x1436bb}){const _0x304ef9=_0x386c9a;let _0x56dbdb=(0x0,_0xad5ce['useObservable'])(_0x1436bb,null,!0x0);return _0x56dbdb?(0x0,_0x418e4f[_0x304ef9(0xc0)])('div',{'data-u-comp':_0x304ef9(0x3d9),'role':'alert','className':_0x304ef9(0x2e7),'children':[(0x0,_0x418e4f[_0x304ef9(0x1df)])(_0x183917,{'className':_0x304ef9(0x1bb)}),(0x0,_0x418e4f[_0x304ef9(0x1df)])('span',{'children':_0x56dbdb[_0x304ef9(0x358)]}),(0x0,_0x418e4f[_0x304ef9(0x1df)])(_0x36a1a4[_0x304ef9(0x3fb)],{'size':_0x304ef9(0x309),'variant':_0x304ef9(0x3bf),'onClick':()=>window['location'][_0x304ef9(0x18f)](),'children':_0x56dbdb['refreshLabel']})]}):null;}let _0x432166=_0x386c9a(0x1e6),_0x122225=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x1497e5,_0x5b4c39,_0x34e86a,_0x32a955,_0x27ea65,_0x58a932,_0x5c420d,_0x417a2c){const _0x53cd8c=_0x386c9a;super(),this[_0x53cd8c(0x142)]=_0x1497e5,this[_0x53cd8c(0x1dc)]=_0x5b4c39,this[_0x53cd8c(0xeb)]=_0x34e86a,this['_injector']=_0x32a955,this[_0x53cd8c(0x14d)]=_0x27ea65,this[_0x53cd8c(0x3d5)]=_0x5c420d,this[_0x53cd8c(0xcd)]=_0x417a2c,_0x2109ac(this,'_timeoutState$',new _0x3a9a2c[(_0x53cd8c(0x1ba))](null)),_0x2109ac(this,'_interactionBlocked$',new _0x3a9a2c[(_0x53cd8c(0x1ba))](!0x1)),_0x2109ac(this,'_messageIds',new Set()),_0x2109ac(this,'_blockProgressWatches',new Map()),_0x2109ac(this,_0x53cd8c(0x28a),new Set()),_0x2109ac(this,_0x53cd8c(0x2f8),new Map()),_0x2109ac(this,_0x53cd8c(0x24e),void 0x0),_0x2109ac(this,_0x53cd8c(0x3a3),void 0x0),_0x2109ac(this,_0x53cd8c(0x17b),void 0x0),_0x2109ac(this,_0x53cd8c(0x3d1),this[_0x53cd8c(0x2c2)][_0x53cd8c(0x12b)]());let _0x1d1c3a=()=>(0x0,_0x1f628d[_0x53cd8c(0x3f9)])(_0x3e995f,{'state$':this[_0x53cd8c(0x3d1)],'interactionBlocked$':this[_0x53cd8c(0x26f)]});this['disposeWithMe'](_0x58a932[_0x53cd8c(0x210)](_0xad5ce[_0x53cd8c(0xaf)][_0x53cd8c(0x163)],()=>(0x0,_0xad5ce[_0x53cd8c(0x3ad)])(_0x1d1c3a,this[_0x53cd8c(0x2f4)]))),this[_0x53cd8c(0x2da)](this[_0x53cd8c(0x142)][_0x53cd8c(0x3e7)][_0x53cd8c(0x341)](_0x2c9aa3=>{const _0x2fce55=_0x53cd8c;this[_0x2fce55(0x2f8)]=_0x2c9aa3,_0x2c9aa3[_0x2fce55(0x32f)](_0x105c62=>{const _0x5796d0=_0x2fce55;this[_0x5796d0(0x286)](_0x105c62),this['_updateSheetPreview'](_0x105c62);});})),this['disposeWithMe'](this['_urlService']['urlChange$'][_0x53cd8c(0x341)](()=>{const _0x5a6e09=_0x53cd8c;this[_0x5a6e09(0x2f8)]['forEach'](_0x45fe11=>{const _0x2526ff=_0x5a6e09;this['_updateMessage'](_0x45fe11),this[_0x2526ff(0xf0)](_0x45fe11);});}));}[_0x386c9a(0x228)](){const _0x41a5e9=_0x386c9a;var _0x341291;if(this[_0x41a5e9(0x245)]['forEach'](_0x5a1b1a=>this['_messageService'][_0x41a5e9(0x294)](_0x5a1b1a)),this[_0x41a5e9(0x245)][_0x41a5e9(0x2e2)](),this[_0x41a5e9(0x24e)]){var _0x177776;(_0x177776=this[_0x41a5e9(0x17b)])==null||_0x177776[_0x41a5e9(0x397)](this[_0x41a5e9(0x24e)]);}this[_0x41a5e9(0x24e)]=void 0x0,this[_0x41a5e9(0x399)][_0x41a5e9(0x32f)](({timeoutId:_0x285695})=>clearTimeout(_0x285695)),this[_0x41a5e9(0x399)]['clear'](),(_0x341291=this['_shortcutBlock'])==null||_0x341291['dispose'](),this[_0x41a5e9(0x3a3)]=void 0x0,this[_0x41a5e9(0x2c2)][_0x41a5e9(0x30c)](),this[_0x41a5e9(0x26f)][_0x41a5e9(0x30c)](),super[_0x41a5e9(0x228)]();}[_0x386c9a(0x286)](_0xc3effe){const _0x401dc4=_0x386c9a;let _0x1cfe2d=''+_0x432166+_0xc3effe[_0x401dc4(0x232)];if(_0xc3effe[_0x401dc4(0x258)]===_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x298)]){if(this['_clearBlockProgressWatch'](_0xc3effe['unitId']),this['_isVisibleUnit'](_0xc3effe[_0x401dc4(0x232)])&&this[_0x401dc4(0x24e)]===_0xc3effe[_0x401dc4(0x232)]){this[_0x401dc4(0x1dc)][_0x401dc4(0x386)]({'id':_0x1cfe2d,'type':_0x36a1a4[_0x401dc4(0x212)][_0x401dc4(0x28b)],'duration':0x1/0x0,'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0xfe))}),this['_messageIds'][_0x401dc4(0x3d8)](_0x1cfe2d);return;}this[_0x401dc4(0x36d)](_0xc3effe[_0x401dc4(0x232)]),this[_0x401dc4(0x1dc)][_0x401dc4(0x294)](_0x1cfe2d),this['_messageIds'][_0x401dc4(0x22f)](_0x1cfe2d);return;}if(!this[_0x401dc4(0x308)](_0xc3effe[_0x401dc4(0x232)])){this[_0x401dc4(0x35b)](_0xc3effe[_0x401dc4(0x232)]),this[_0x401dc4(0x36d)](_0xc3effe['unitId']),this['_messageService'][_0x401dc4(0x294)](_0x1cfe2d),this[_0x401dc4(0x245)]['delete'](_0x1cfe2d);return;}if(_0xc3effe[_0x401dc4(0x258)]===_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x379)]){this[_0x401dc4(0x35b)](_0xc3effe[_0x401dc4(0x232)]),this['_clearTimeoutState'](_0xc3effe['unitId']),this[_0x401dc4(0x1dc)][_0x401dc4(0x386)]({'id':_0x1cfe2d,'type':_0x36a1a4[_0x401dc4(0x212)][_0x401dc4(0xc9)],'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0x3bc))}),this[_0x401dc4(0x245)][_0x401dc4(0x22f)](_0x1cfe2d);return;}if(_0xc3effe['stage']!==_0x1cdb30[_0x401dc4(0x34b)][_0x401dc4(0x2d9)]||_0xc3effe[_0x401dc4(0x387)]<=0xa){this['_clearBlockProgressWatch'](_0xc3effe['unitId']),this['_messageService'][_0x401dc4(0x294)](_0x1cfe2d),this[_0x401dc4(0x245)]['delete'](_0x1cfe2d);return;}this[_0x401dc4(0x24b)](_0xc3effe)||(this['_messageService']['show']({'id':_0x1cfe2d,'type':_0x36a1a4['MessageType'][_0x401dc4(0x28b)],'duration':0x1/0x0,'content':this[_0x401dc4(0xeb)]['t'](_0x401dc4(0xab))+'\x20'+_0xc3effe['loadedBlocks']+'/'+_0xc3effe[_0x401dc4(0x387)]}),this[_0x401dc4(0x245)][_0x401dc4(0x3d8)](_0x1cfe2d));}[_0x386c9a(0x24b)](_0x4ab6a5){const _0x89d8f0=_0x386c9a;let _0x2fb3d9=this['_blockProgressWatches'][_0x89d8f0(0x26b)](_0x4ab6a5[_0x89d8f0(0x232)]);if((_0x2fb3d9==null?void 0x0:_0x2fb3d9[_0x89d8f0(0xac)])===_0x4ab6a5[_0x89d8f0(0xac)])return _0x2fb3d9[_0x89d8f0(0x3be)];this[_0x89d8f0(0x35b)](_0x4ab6a5['unitId']);let _0x25eeed=setTimeout(()=>{const _0x3bc852=_0x89d8f0;let _0x15d630=this[_0x3bc852(0x399)][_0x3bc852(0x26b)](_0x4ab6a5[_0x3bc852(0x232)]);if(!_0x15d630||_0x15d630[_0x3bc852(0x2f3)]!==_0x25eeed)return;_0x15d630[_0x3bc852(0x3be)]=!0x0;let _0xa29fc2=''+_0x432166+_0x4ab6a5[_0x3bc852(0x232)];this['_messageService'][_0x3bc852(0x294)](_0xa29fc2),this[_0x3bc852(0x245)][_0x3bc852(0x22f)](_0xa29fc2),this[_0x3bc852(0x2c2)][_0x3bc852(0x362)]({'unitId':_0x4ab6a5[_0x3bc852(0x232)],'content':this[_0x3bc852(0xeb)]['t']('collaboration-client-ui.snapshotLoading.timeout',String(_0x4ab6a5[_0x3bc852(0xac)]),String(_0x4ab6a5['totalBlocks'])),'refreshLabel':this[_0x3bc852(0xeb)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x89d8f0(0x399)][_0x89d8f0(0x2eb)](_0x4ab6a5[_0x89d8f0(0x232)],{'loadedBlocks':_0x4ab6a5[_0x89d8f0(0xac)],'timedOut':!0x1,'timeoutId':_0x25eeed}),!0x1;}[_0x386c9a(0x35b)](_0x190147){const _0xcce99e=_0x386c9a;let _0x15ef57=this[_0xcce99e(0x399)][_0xcce99e(0x26b)](_0x190147);_0x15ef57&&(clearTimeout(_0x15ef57[_0xcce99e(0x2f3)]),this[_0xcce99e(0x399)][_0xcce99e(0x22f)](_0x190147),this[_0xcce99e(0x36d)](_0x190147));}['_clearTimeoutState'](_0x185f33){const _0x1ef7c5=_0x386c9a;var _0x227907;((_0x227907=this[_0x1ef7c5(0x2c2)][_0x1ef7c5(0x401)])==null?void 0x0:_0x227907[_0x1ef7c5(0x232)])===_0x185f33&&this[_0x1ef7c5(0x2c2)][_0x1ef7c5(0x362)](null);}[_0x386c9a(0xf0)](_0x4dd801){const _0x1be82d=_0x386c9a;if(_0x4dd801['stage']===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x1d0)]&&this[_0x1be82d(0x28a)][_0x1be82d(0x22f)](_0x4dd801[_0x1be82d(0x232)]),!this[_0x1be82d(0x308)](_0x4dd801['unitId'])){this[_0x1be82d(0x2ba)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801['stage']===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x379)]||_0x4dd801[_0x1be82d(0x387)]<=0xa){this[_0x1be82d(0x2ba)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801[_0x1be82d(0x258)]===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x298)]){this[_0x1be82d(0x129)](_0x4dd801[_0x1be82d(0x232)]);return;}if(_0x4dd801[_0x1be82d(0x258)]===_0x1cdb30[_0x1be82d(0x34b)][_0x1be82d(0x2d9)]&&_0x4dd801[_0x1be82d(0x17e)]&&_0x4dd801[_0x1be82d(0xd4)]){let _0x28e6cf=this[_0x1be82d(0x25c)]();if(!_0x28e6cf)return;this[_0x1be82d(0x24e)]&&this['_previewUnitId']!==_0x4dd801['unitId']&&this['_hidePreview'](this[_0x1be82d(0x24e)]),_0x28e6cf[_0x1be82d(0x3cc)](_0x4dd801[_0x1be82d(0x17e)],_0x4dd801[_0x1be82d(0xd4)]),this[_0x1be82d(0x24e)]=_0x4dd801[_0x1be82d(0x232)],this['_setInteractionBlocked'](!0x0),_0x4dd801[_0x1be82d(0x324)]&&_0x28e6cf[_0x1be82d(0x386)](_0x4dd801[_0x1be82d(0x17e)],_0x4dd801[_0x1be82d(0xd4)],_0x4dd801[_0x1be82d(0x168)]);}}[_0x386c9a(0x129)](_0x2df5e5){const _0x21f0b0=_0x386c9a;if(this['_previewUnitId']!==_0x2df5e5||this['_handoffUnitIds'][_0x21f0b0(0x244)](_0x2df5e5))return;let _0x4bca67=this[_0x21f0b0(0x17b)];_0x4bca67&&(this[_0x21f0b0(0x28a)][_0x21f0b0(0x3d8)](_0x2df5e5),_0x4bca67[_0x21f0b0(0x348)](_0x2df5e5,0x2710)[_0x21f0b0(0x11a)](_0x496f46=>{const _0x39a5d3=_0x21f0b0;if(this[_0x39a5d3(0x24e)]!==_0x2df5e5)return;if(_0x496f46){let _0x1831e0=''+_0x432166+_0x2df5e5;this[_0x39a5d3(0x1dc)][_0x39a5d3(0x294)](_0x1831e0),this['_messageIds'][_0x39a5d3(0x22f)](_0x1831e0),this[_0x39a5d3(0x24e)]=void 0x0,this[_0x39a5d3(0x377)](!0x1);return;}let _0xff6f8e=''+_0x432166+_0x2df5e5;this[_0x39a5d3(0x1dc)][_0x39a5d3(0x294)](_0xff6f8e),this[_0x39a5d3(0x245)][_0x39a5d3(0x22f)](_0xff6f8e),this['_timeoutState$'][_0x39a5d3(0x362)]({'unitId':_0x2df5e5,'content':this[_0x39a5d3(0xeb)]['t'](_0x39a5d3(0x3bc)),'refreshLabel':this['_localeService']['t']('collaboration-client-ui.snapshotLoading.refresh')});}));}[_0x386c9a(0x2ba)](_0x8a8692){const _0x563a3d=_0x386c9a;var _0x1953bb;this['_previewUnitId']===_0x8a8692&&((_0x1953bb=this['_sheetLoadingRenderService'])==null||_0x1953bb[_0x563a3d(0x397)](_0x8a8692),this[_0x563a3d(0x24e)]=void 0x0,this[_0x563a3d(0x377)](!0x1));}[_0x386c9a(0x377)](_0xc9f758){const _0x56db51=_0x386c9a;if(_0xc9f758!==this['_interactionBlocked$'][_0x56db51(0x401)]){if(_0xc9f758)this[_0x56db51(0x3a3)]=this[_0x56db51(0x3d5)][_0x56db51(0x240)]();else{var _0x567a38;(_0x567a38=this['_shortcutBlock'])==null||_0x567a38[_0x56db51(0x228)](),this[_0x56db51(0x3a3)]=void 0x0;}this[_0x56db51(0x26f)][_0x56db51(0x362)](_0xc9f758);}}['_isVisibleUnit'](_0xf1f16b){const _0x1911be=_0x386c9a;let _0x39e440=this[_0x1911be(0xcd)][_0x1911be(0x3c4)](_0x1911be(0x1f3));return!_0x39e440||_0x39e440===_0xf1f16b;}[_0x386c9a(0x25c)](){const _0x118b69=_0x386c9a;return this[_0x118b69(0x17b)]?this['_sheetLoadingRenderService']:(this[_0x118b69(0x14d)]['startPluginsForType'](_0x3188ec[_0x118b69(0x28e)][_0x118b69(0x133)]),this[_0x118b69(0x2f4)][_0x118b69(0x244)](_0x4d43bb[_0x118b69(0x39c)])&&(this[_0x118b69(0x17b)]=this['_injector'][_0x118b69(0x26b)](_0x4d43bb[_0x118b69(0x39c)])),this['_sheetLoadingRenderService']);}};_0x122225=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x1cdb30[_0x386c9a(0x226)])),_0x148b43(0x1,_0xad5ce[_0x386c9a(0xf1)]),_0x148b43(0x2,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x2cb)])),_0x148b43(0x3,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x4,(0x0,_0x3188ec['Inject'])(_0x3188ec[_0x386c9a(0xde)])),_0x148b43(0x5,_0xad5ce[_0x386c9a(0x214)]),_0x148b43(0x6,_0xad5ce[_0x386c9a(0x1c9)]),_0x148b43(0x7,_0x34f04d)],_0x122225);function _0x5116fe(_0x18f564){const _0x1bc9de=_0x386c9a;var _0x2d4caa,_0x505fe7;let _0x10c939=(_0x2d4caa=_0x18f564[_0x1bc9de(0x101)])==null?void 0x0:_0x2d4caa[_0x1bc9de(0x258)],_0x40375c=((_0x505fe7=_0x18f564['stageInfo'])==null?void 0x0:_0x505fe7[_0x1bc9de(0x2bd)])||0x0;return _0x10c939===_0x3b4f90['FormulaExecuteStageType'][_0x1bc9de(0xb1)]&&_0x40375c>0x0;}function _0x4cde66(_0x251ed2){const _0x4f9f00=_0x386c9a;return _0x251ed2[_0x4f9f00(0x1ec)]===_0x3b4f90[_0x4f9f00(0x3f5)][_0x4f9f00(0x148)];}let _0x5165a0=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0xdd191a,_0x5673d4,_0x20bc1f,_0x877669,_0x1cd3e0,_0x207971,_0x3b560c){const _0x23d20d=_0x386c9a;super(),this[_0x23d20d(0x1dc)]=_0xdd191a,this[_0x23d20d(0xc7)]=_0x5673d4,this['_configService']=_0x20bc1f,this[_0x23d20d(0x2b3)]=_0x877669,this[_0x23d20d(0x315)]=_0x1cd3e0,this[_0x23d20d(0x125)]=_0x207971,this[_0x23d20d(0xeb)]=_0x3b560c,_0x2109ac(this,_0x23d20d(0x234),null),_0x2109ac(this,_0x23d20d(0x154),0x0),_0x2109ac(this,_0x23d20d(0x2a5),0x0),_0x2109ac(this,'_taskIds',[]),_0x2109ac(this,_0x23d20d(0x1fb),0x0),this['_initCommandInterceptor']();}[_0x386c9a(0x230)](){const _0x3274dc=_0x386c9a;this[_0x3274dc(0x2da)](this[_0x3274dc(0xc7)][_0x3274dc(0x2bf)]((_0x1bb264,_0x1f4a37)=>{const _0x277d4c=_0x3274dc;var _0x5c0520;if(_0x1bb264['id']!==_0x3b4f90[_0x277d4c(0x18d)]['id'])return;let _0x5a4e21=_0x1bb264[_0x277d4c(0x3a4)];if(this[_0x277d4c(0x1cc)]((_0x5c0520=_0x5a4e21[_0x277d4c(0x31f)])==null?[]:_0x5c0520)&&!this[_0x277d4c(0x2d3)]())throw this['_checkAndWaitForCalculationPermission'](_0x1bb264,_0x1f4a37),this[_0x277d4c(0x2cd)](),new _0x3188ec[(_0x277d4c(0x1c0))]();})),this[_0x3274dc(0x2da)](this['_commandService'][_0x3274dc(0xaa)]((_0xd0504b,_0x131e1a)=>{const _0x11e644=_0x3274dc;if(_0xd0504b['id']!==_0x3b4f90[_0x11e644(0x20e)]['id'])return;let _0x56ce2d=_0xd0504b[_0x11e644(0x3a4)];if(_0x5116fe(_0x56ce2d)){let _0x59b955=(0x0,_0x3188ec[_0x11e644(0x1b4)])();this[_0x11e644(0x3e4)][_0x11e644(0x18e)](_0x59b955),this[_0x11e644(0xce)](_0x59b955);}else{if(_0x4cde66(_0x56ce2d)&&this[_0x11e644(0x3e4)][_0x11e644(0x368)]>0x0){let _0x30a659=this['_taskIds'][_0x11e644(0x23e)]();this[_0x11e644(0x36f)](_0x30a659);}}}));}[_0x386c9a(0x228)](){const _0x263841=_0x386c9a;super[_0x263841(0x228)](),this[_0x263841(0x222)](),this[_0x263841(0x3e4)]=[],this[_0x263841(0x2a5)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x263841(0x1fb)]=0x0;}async[_0x386c9a(0x34f)](_0x4e4d85,_0x1ecd08){const _0x48362f=_0x386c9a;for(let _0x2fd993=0x0;_0x2fd993<0x1e;_0x2fd993++)try{if(await this['_getFormulaLimitStatus'](),this[_0x48362f(0x2d3)]()){this[_0x48362f(0x1b5)](_0x4e4d85,_0x1ecd08),this[_0x48362f(0x1dc)][_0x48362f(0x386)]({'content':this['_localeService']['t'](_0x48362f(0x2b5)),'type':_0x36a1a4['MessageType'][_0x48362f(0x241)]});return;}await new Promise(_0x1b0bb0=>{const _0x31203d=_0x48362f;this[_0x31203d(0x234)]=window['setTimeout'](_0x1b0bb0,0x3e8);});}catch(_0x3e2b03){this['_logService'][_0x48362f(0x3f1)](_0x3e2b03);}this[_0x48362f(0x1dc)][_0x48362f(0x386)]({'content':this[_0x48362f(0xeb)]['t'](_0x48362f(0x288)),'type':_0x36a1a4[_0x48362f(0x212)]['Error']});}[_0x386c9a(0x1b5)](_0xffd661,_0x26027b){const _0x5c7ca4=_0x386c9a;try{this['_commandService'][_0x5c7ca4(0x381)](_0xffd661['id'],_0xffd661['params'],_0x26027b);}catch(_0x1d76b6){this[_0x5c7ca4(0x125)][_0x5c7ca4(0x3f1)](_0x1d76b6);}}['_setFormulaLimitStatus'](_0x1a2f1b,_0x205297){const _0x2aa1fe=_0x386c9a;_0x205297<this[_0x2aa1fe(0x1fb)]||(this[_0x2aa1fe(0x1fb)]=_0x205297,this['_maxFormulaLimit']=Number['parseInt'](_0x1a2f1b[_0x2aa1fe(0x2d6)]),this[_0x2aa1fe(0x2a5)]=Number[_0x2aa1fe(0x11d)](_0x1a2f1b[_0x2aa1fe(0x186)]));}async[_0x386c9a(0xce)](_0x1df892){const _0x3f232a=_0x386c9a;let _0x157b76=Date[_0x3f232a(0x26e)]();try{var _0x245885,_0x214ff7;let _0x10a964=((_0x245885=this[_0x3f232a(0x270)][_0x3f232a(0x29a)](_0x2248ce[_0x3f232a(0xfd)]))==null?void 0x0:_0x245885[_0x3f232a(0x39b)])||_0x3f232a(0x249),_0xfb0302=(await this[_0x3f232a(0x2b3)][_0x3f232a(0x172)](_0x10a964,{'body':JSON[_0x3f232a(0x257)]({'taskId':_0x1df892})}))['body'];if(((_0x214ff7=_0xfb0302[_0x3f232a(0x3f1)])==null?void 0x0:_0x214ff7['code'])!==_0x46dd95[_0x3f232a(0x2e1)]['OK'])return;this[_0x3f232a(0x384)](_0xfb0302[_0x3f232a(0x3ee)],_0x157b76);}catch(_0x1a8921){this[_0x3f232a(0x125)][_0x3f232a(0x3f1)](_0x1a8921);}}async['_getFormulaLimitStatus'](_0x3e5118){const _0x597294=_0x386c9a;let _0x38d704=Date[_0x597294(0x26e)]();try{var _0x3bbdfe,_0x17cc00;let _0x302eaf=((_0x3bbdfe=this[_0x597294(0x270)][_0x597294(0x29a)](_0x2248ce[_0x597294(0xfd)]))==null?void 0x0:_0x3bbdfe[_0x597294(0x1db)])||'/universer-api/license/formula/limit/status',_0x335066=_0x3e5118?_0x302eaf+_0x597294(0x1a9)+encodeURIComponent(_0x3e5118):_0x302eaf,_0x39a360=(await this[_0x597294(0x2b3)][_0x597294(0x26b)](_0x335066))[_0x597294(0xd9)];if(((_0x17cc00=_0x39a360[_0x597294(0x3f1)])==null?void 0x0:_0x17cc00[_0x597294(0x225)])!==_0x46dd95[_0x597294(0x2e1)]['OK'])return;this[_0x597294(0x384)](_0x39a360[_0x597294(0x3ee)],_0x38d704);}catch(_0x571f78){this[_0x597294(0x125)]['error'](_0x571f78);}}async['_releaseCalculationLimit'](_0x50b9c8){const _0x476d58=_0x386c9a;let _0x1311fc=Date[_0x476d58(0x26e)]();try{var _0x148287,_0x4b2b02;let _0x5ec5f5=((_0x148287=this[_0x476d58(0x270)][_0x476d58(0x29a)](_0x2248ce[_0x476d58(0xfd)]))==null?void 0x0:_0x148287['releaseFormulaLimitUrl'])||_0x476d58(0xc3),_0x47b674=(await this[_0x476d58(0x2b3)][_0x476d58(0x172)](_0x5ec5f5,{'body':JSON[_0x476d58(0x257)]({'taskId':_0x50b9c8})}))[_0x476d58(0xd9)];if(((_0x4b2b02=_0x47b674[_0x476d58(0x3f1)])==null?void 0x0:_0x4b2b02[_0x476d58(0x225)])!==_0x46dd95['ErrorCode']['OK'])return;this[_0x476d58(0x384)](_0x47b674['limitInfo'],_0x1311fc);}catch(_0x1202b8){this[_0x476d58(0x125)][_0x476d58(0x3f1)](_0x1202b8);}}['_checkCalculationAvailable'](){const _0x2eb254=_0x386c9a;return this[_0x2eb254(0x154)]===0x0||this[_0x2eb254(0x154)]-this['_currentUsage']>0x0;}[_0x386c9a(0x222)](){const _0x12b199=_0x386c9a;this[_0x12b199(0x234)]&&(clearTimeout(this[_0x12b199(0x234)]),this[_0x12b199(0x234)]=null);}['_showGuardMessage'](){const _0x2114b7=_0x386c9a;this[_0x2114b7(0x1dc)][_0x2114b7(0x386)]({'content':this['_localeService']['t'](_0x2114b7(0x1a7)),'type':_0x36a1a4['MessageType'][_0x2114b7(0x28b)]});}['_hasFormulaInDirtyRanges'](_0x401bb3){const _0x1c2873=_0x386c9a;for(let _0x3b564f of _0x401bb3){let {unitId:_0x4464e8,sheetId:_0x523250,range:_0x4d5d31}=_0x3b564f,_0x2a1ae2=this['_univerInstanceService']['getUnit'](_0x4464e8,_0x3188ec['UniverInstanceType']['UNIVER_SHEET']);if(!_0x2a1ae2)continue;let _0x36c16c=_0x2a1ae2[_0x1c2873(0x2e6)](_0x523250);if(!_0x36c16c)continue;let _0x34fb8d=_0x36c16c[_0x1c2873(0x21f)]();for(let _0x12934d=_0x4d5d31[_0x1c2873(0x200)];_0x12934d<=_0x4d5d31['endRow'];_0x12934d++)for(let _0x2932c8=_0x4d5d31[_0x1c2873(0x2fb)];_0x2932c8<=_0x4d5d31[_0x1c2873(0x279)];_0x2932c8++){let _0x29b9e3=_0x34fb8d[_0x1c2873(0x1c7)](_0x12934d,_0x2932c8);if(_0x29b9e3&&((0x0,_0x3188ec[_0x1c2873(0x307)])(_0x29b9e3['f'])||(0x0,_0x3188ec['isFormulaId'])(_0x29b9e3['si'])))return!0x0;}}return!0x1;}};_0x5165a0=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0xad5ce[_0x386c9a(0xf1)])),_0x148b43(0x1,_0x3188ec[_0x386c9a(0x13c)]),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x146)]),_0x148b43(0x3,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x4,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x5,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x6,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x2cb)]))],_0x5165a0);let _0x26b43b=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x4cc32e,_0x2581e5,_0x13bc21){const _0x4dfa3c=_0x386c9a;super(),this[_0x4dfa3c(0x270)]=_0x4cc32e,this[_0x4dfa3c(0x204)]=_0x2581e5,this[_0x4dfa3c(0x1d6)]=_0x13bc21,_0x2109ac(this,_0x4dfa3c(0x118),new Map()),_0x2109ac(this,'_saveTaskMap',new Map()),_0x2109ac(this,_0x4dfa3c(0x1f2),!0x1);}[_0x386c9a(0x182)](){const _0x522413=_0x386c9a;this[_0x522413(0x1f2)]=!0x0;}[_0x386c9a(0x2c5)](){const _0x2f2496=_0x386c9a;this[_0x2f2496(0x1f2)]=!0x1;}get[_0x386c9a(0x24d)](){const _0x35c914=_0x386c9a;return this[_0x35c914(0x14b)];}['dispose'](){const _0x5e636d=_0x386c9a;this[_0x5e636d(0x171)]()[_0x5e636d(0x11a)](()=>super[_0x5e636d(0x228)]());}async['loadOfflineData'](_0x487cfe){const _0x10fd60=_0x386c9a;return this[_0x10fd60(0x1f2)]?null:this[_0x10fd60(0x204)]['getItem']((0x0,_0x2248ce['getLocalCacheKey'])(_0x487cfe));}async['saveOfflineData'](_0x5d44e5,_0x4725a1){const _0x574ec1=_0x386c9a;return!!this[_0x574ec1(0x204)][_0x574ec1(0x21e)]((0x0,_0x2248ce[_0x574ec1(0x2aa)])(_0x5d44e5),_0x4725a1);}async[_0x386c9a(0x1c8)](_0x5044a4,_0x2715ae){const _0x1c4b76=_0x386c9a;var _0x26fa55;let _0x286529=(_0x26fa55=this[_0x1c4b76(0x118)][_0x1c4b76(0x26b)](_0x5044a4))==null?await this['_localStorageService'][_0x1c4b76(0x360)]((0x0,_0x2248ce['getLocalCacheKey'])(_0x5044a4)):_0x26fa55;if(!_0x286529)return;let _0x403f3f=Date['now'](),_0x2f1540=new Date(_0x403f3f)[_0x1c4b76(0x208)]();await this[_0x1c4b76(0x204)][_0x1c4b76(0x21e)]((0x0,_0x2248ce[_0x1c4b76(0x2aa)])(_0x5044a4)+_0x1c4b76(0x320)+_0x403f3f,{'reason':_0x2715ae,'createdAt':_0x2f1540,'data':_0x286529});}[_0x386c9a(0x2c7)](_0x1abe52,_0x2f8657,_0x441fb7,_0x561653){const _0x90495d=_0x386c9a;let _0x5677b1=this['_revisionService']['getCurrentRevOfUnit'](_0x1abe52);this['_cachedData']['set'](_0x1abe52,{'unitID':_0x1abe52,'type':_0x2f8657,'awaitingChangeset':_0x441fb7,'mutations':_0x561653,'rev':_0x5677b1}),this[_0x90495d(0x14b)][_0x90495d(0x244)](_0x1abe52)||this[_0x90495d(0x1fc)](_0x1abe52);}[_0x386c9a(0x1fc)](_0x5ef1ad){const _0x6f21fb=_0x386c9a;let _0x4147f1=this['_getSaveTimeout']();_0x4147f1===0x0?this[_0x6f21fb(0x3f7)](_0x5ef1ad):this['_saveTaskMap'][_0x6f21fb(0x2eb)](_0x5ef1ad,window[_0x6f21fb(0x2f1)](()=>this[_0x6f21fb(0x3f7)](_0x5ef1ad),_0x4147f1));}[_0x386c9a(0x13f)](){const _0xa2d941=_0x386c9a;var _0x1e17ee;return(_0x1e17ee=this[_0xa2d941(0x270)][_0xa2d941(0x29a)](_0x2248ce[_0xa2d941(0x21b)]))==null?_0x2248ce[_0xa2d941(0x3bb)]:_0x1e17ee;}[_0x386c9a(0x3f7)](_0x31ba1f){const _0x53b4d6=_0x386c9a;let _0x2569f=this[_0x53b4d6(0x14b)][_0x53b4d6(0x26b)](_0x31ba1f);return _0x2569f!==void 0x0&&window[_0x53b4d6(0x3c6)](_0x2569f),this[_0x53b4d6(0x204)][_0x53b4d6(0x21e)]((0x0,_0x2248ce[_0x53b4d6(0x2aa)])(_0x31ba1f),this['_cachedData'][_0x53b4d6(0x26b)](_0x31ba1f))['then'](()=>this[_0x53b4d6(0x14b)]['delete'](_0x31ba1f));}async['exhaustSavingTask'](){const _0x5d1166=_0x386c9a;let _0x2db30c=[];this[_0x5d1166(0x14b)][_0x5d1166(0x32f)]((_0xab3411,_0x59973a)=>{const _0x102c8f=_0x5d1166;window[_0x102c8f(0x3c6)](_0xab3411),_0x2db30c['push'](this[_0x102c8f(0x3f7)](_0x59973a)[_0x102c8f(0x11a)](()=>{const _0x39f783=_0x102c8f;this[_0x39f783(0x14b)][_0x39f783(0x22f)](_0x59973a);}));}),await Promise[_0x5d1166(0x32e)](_0x2db30c);}};_0x26b43b=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x146)]),_0x148b43(0x1,_0x3188ec[_0x386c9a(0xa8)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x1cdb30[_0x386c9a(0xbf)]))],_0x26b43b);var _0x2c2ba3=class extends _0x3188ec[_0x386c9a(0x164)]{constructor(){const _0x235b22=_0x386c9a;super(),_0x2109ac(this,_0x235b22(0xe1),void 0x0),this[_0x235b22(0xe1)]=(0x0,_0x3a9a2c[_0x235b22(0x293)])(window,_0x235b22(0xd8))[_0x235b22(0x32a)]((0x0,_0x3a9a2c[_0x235b22(0x1ef)])(this[_0x235b22(0x181)]),(0x0,_0x3a9a2c[_0x235b22(0x16f)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x3a9a2c[_0x235b22(0x32b)])(void 0x0));}['setParam'](_0x2bc58b,_0x3fcf7f,_0x29bbab=!0x1){const _0x3d30b1=_0x386c9a;let _0x151dde=new URL(window[_0x3d30b1(0x1c4)][_0x3d30b1(0x351)]);_0x151dde[_0x3d30b1(0x1ff)][_0x3d30b1(0x2eb)](_0x2bc58b,_0x3fcf7f),_0x29bbab?window[_0x3d30b1(0x2e5)][_0x3d30b1(0x37b)]('','',_0x151dde[_0x3d30b1(0xe5)]()):window['history']['pushState']('','',_0x151dde['toString']());}[_0x386c9a(0x1fd)](_0x2c0244,_0xb9e8f2=!0x1){const _0x444434=_0x386c9a;let _0x106431=new URL(window['location']['href']);_0x106431[_0x444434(0x1ff)]['delete'](_0x2c0244),_0xb9e8f2?window['history'][_0x444434(0x37b)]('','',_0x106431[_0x444434(0xe5)]()):window[_0x444434(0x2e5)][_0x444434(0x135)]('','',_0x106431['toString']());}[_0x386c9a(0x3c4)](_0x5979fd){const _0x499b9b=_0x386c9a;var _0x416884;return(_0x416884=new URL(window[_0x499b9b(0x1c4)][_0x499b9b(0x351)])[_0x499b9b(0x1ff)][_0x499b9b(0x26b)](_0x5979fd))==null?void 0x0:_0x416884;}};let _0x523635=class extends _0x3188ec[_0x386c9a(0xe4)]{constructor(_0x2c316e=_0x38b360,_0x20a138,_0x30ddc6,_0x35ee6d){const _0x343fe0=_0x386c9a;super(),this[_0x343fe0(0x364)]=_0x2c316e,this[_0x343fe0(0x3c5)]=_0x20a138,this[_0x343fe0(0x2f4)]=_0x30ddc6,this[_0x343fe0(0x270)]=_0x35ee6d;let {..._0x5cd935}=(0x0,_0x3188ec[_0x343fe0(0x252)])({},_0x38b360,this['_config']);this['_configService'][_0x343fe0(0xdf)](_0x343fe0(0x119),_0x5cd935);}[_0x386c9a(0x18c)](){const _0x5b827c=_0x386c9a;this[_0x5b827c(0xd2)](),this[_0x5b827c(0x2d1)]();}[_0x386c9a(0x152)](){const _0x4ec24e=_0x386c9a;this[_0x4ec24e(0x175)]();}[_0x386c9a(0xd2)](){const _0x427b88=_0x386c9a;var _0x3afbfd;let _0x77d732=[[_0x4cf754],[_0x5165a0],[_0x34f04d,{'useClass':_0x2c2ba3}],[_0x29944c[_0x427b88(0x1cf)],{'useClass':_0x29944c[_0x427b88(0x3db)]}],[_0x2248ce[_0x427b88(0x251)],{'useClass':_0x26b43b}],[_0x1152cb],[_0x21e743],[_0x4e3b37],[_0x54c193],[_0x1f1812],[_0x122225]];this[_0x427b88(0x364)][_0x427b88(0x3cb)]!==!0x1&&_0x77d732[_0x427b88(0x18e)]([_0x51eddf],[_0x10c576],[_0x5e6353],[_0x31641e],[_0x2ea462],[_0x4c0fe9]),this[_0x427b88(0x364)][_0x427b88(0x156)]&&_0x77d732[_0x427b88(0x18e)]([_0x450c2a]),(0x0,_0x3188ec[_0x427b88(0x2ea)])(this[_0x427b88(0x2f4)],(0x0,_0x3188ec[_0x427b88(0x217)])(_0x77d732,(_0x3afbfd=this[_0x427b88(0x364)])==null?void 0x0:_0x3afbfd[_0x427b88(0x3f8)]));}['_registerRenderDependencies'](){const _0x533ef3=_0x386c9a;this[_0x533ef3(0x364)][_0x533ef3(0x3cb)]!==!0x1&&this[_0x533ef3(0x2da)](this['_renderManagerService']['registerRenderModule'](_0x3188ec[_0x533ef3(0x28e)][_0x533ef3(0x3ae)],[_0x55d48b])),this['disposeWithMe'](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec[_0x533ef3(0x28e)][_0x533ef3(0x133)],[_0x460895])),this[_0x533ef3(0x2da)](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec['UniverInstanceType'][_0x533ef3(0x11c)],[_0x5b52a2])),this[_0x533ef3(0x2da)](this[_0x533ef3(0x3c5)][_0x533ef3(0x2d5)](_0x3188ec['UniverInstanceType'][_0x533ef3(0xa0)],[_0x53ff03]));}[_0x386c9a(0x2d1)](){const _0x51ecf8=_0x386c9a;(0x0,_0x3188ec[_0x51ecf8(0x254)])(this[_0x51ecf8(0x2f4)],[[_0x54c193],[_0x1152cb],[_0x21e743],[_0x4e3b37],[_0x1f1812],[_0x5165a0],[_0x122225]]),this[_0x51ecf8(0x364)][_0x51ecf8(0x3cb)]!==!0x1&&(0x0,_0x3188ec['touchDependencies'])(this[_0x51ecf8(0x2f4)],[[_0x2ea462],[_0x4c0fe9]]),this['_config'][_0x51ecf8(0x156)]&&(0x0,_0x3188ec[_0x51ecf8(0x254)])(this[_0x51ecf8(0x2f4)],[[_0x450c2a]]);}};_0x2109ac(_0x523635,_0x386c9a(0x22e),_0x386c9a(0x2ed)),_0x2109ac(_0x523635,_0x386c9a(0x2c3),_0x573e1f),_0x2109ac(_0x523635,_0x386c9a(0x30a),_0x161965),_0x523635=_0x442f80([(0x0,_0x3188ec[_0x386c9a(0x3cd)])(_0x427b41[_0x386c9a(0x127)],_0x12c761[_0x386c9a(0x2c4)],_0x38b39d['UniverRenderEnginePlugin'],_0x29944c[_0x386c9a(0x3ac)],_0x1cdb30['UniverCollaborationPlugin'],_0x390782['UniverDocsUIPlugin'],_0xad5ce['UniverUIPlugin'],_0x2248ce[_0x386c9a(0x227)]),_0x148b43(0x1,_0x38b39d[_0x386c9a(0x373)]),_0x148b43(0x2,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x146)])],_0x523635);let _0x1c42f1=class extends _0x2248ce['CollaborationSocketService']{constructor(_0x1e093d,_0x1f6773,_0x37fd7e,_0xc871d5,_0x550bc4){super(_0x1e093d,_0x1f6773,_0x37fd7e,_0xc871d5,_0x550bc4);}async[_0x386c9a(0x3a6)](_0x1aefd2){const _0xf2c3d2=_0x386c9a;let _0x3ed75b=await this[_0xf2c3d2(0x3c3)](),_0x2a0fbe=this['_createSocketURL'](_0x1aefd2,_0x3ed75b);return this[_0xf2c3d2(0xc8)](_0x2a0fbe);}['_createSocketURL'](_0x13f1e3,_0x177eb5){const _0x19baad=_0x386c9a;let _0xf7c7e5=typeof window>'u'?new URL(_0x13f1e3):new URL(_0x13f1e3,window['location']['origin']);_0xf7c7e5[_0x19baad(0x1ff)][_0x19baad(0x2eb)]('sessionTicket',_0x177eb5);let _0x3c2847=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x19baad(0x1c4)][_0x19baad(0x1be)]);return _0x3c2847[_0x19baad(0x26b)](_0x19baad(0x375))&&_0xf7c7e5[_0x19baad(0x1ff)][_0x19baad(0x2eb)]('runId',_0x3c2847[_0x19baad(0x26b)]('runId')),_0xf7c7e5[_0x19baad(0xe5)]();}async[_0x386c9a(0x3c3)](){const _0x5a97fa=_0x386c9a;var _0xa4137a,_0x127f28,_0x2183c0;let _0x53dc7c=this[_0x5a97fa(0x270)]['getConfig'](_0x2248ce['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x23dd92=(_0xa4137a=_0x53dc7c==null?void 0x0:_0x53dc7c['wsSessionTicketUrl'])==null?_0x2248ce['DEFAULT_WS_SESSION_TICKET_URL']:_0xa4137a;return(_0x127f28=(_0x2183c0=(await this[_0x5a97fa(0x2b3)][_0x5a97fa(0x26b)](_0x23dd92,{'headers':{'Content-Type':'application/json'}}))[_0x5a97fa(0xd9)])==null?void 0x0:_0x2183c0[_0x5a97fa(0x12d)])==null?'':_0x127f28;}};_0x1c42f1=_0x442f80([_0x148b43(0x0,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x3188ec[_0x386c9a(0x395)])),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c[_0x386c9a(0xb8)])),_0x148b43(0x2,_0x3188ec['IConfigService']),_0x148b43(0x3,_0x3188ec[_0x386c9a(0x3eb)]),_0x148b43(0x4,_0x1cdb30[_0x386c9a(0x275)])],_0x1c42f1);let _0x25d2c1=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(_0x3589b8,_0x555689,_0x217354){const _0x51003c=_0x386c9a;super(),this[_0x51003c(0x388)]=_0x3589b8,this[_0x51003c(0x2b3)]=_0x555689,this['_configService']=_0x217354;}async[_0x386c9a(0xa4)](_0x151d4e,_0x590593,_0x3d6b04,..._0x3378e7){const _0x568ece=_0x386c9a;var _0x2c1782,_0x5d1dde,_0x229991,_0x212aa6;let _0x2ebc22=this[_0x568ece(0x388)]['getFocusedUnit']();if(!_0x2ebc22)throw Error(_0x568ece(0x38d));let _0x49c944=((_0x2c1782=this['_configService'][_0x568ece(0x29a)](_0x2248ce['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))==null?_0x2248ce[_0x568ece(0x276)]:_0x2c1782)+'/'+_0x151d4e+_0x568ece(0x3c1)+_0x590593,_0x53a433={'scriptId':_0x151d4e,'runId':(_0x5d1dde=new URL(window['location'][_0x568ece(0x351)])[_0x568ece(0x1ff)][_0x568ece(0x26b)]('runId'))==null?'':_0x5d1dde,'function':_0x590593,'unitId':_0x2ebc22['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3378e7),'invokeId':(_0x229991=_0x3d6b04[_0x568ece(0x2fe)])==null?'':_0x229991,'executionId':(_0x212aa6=_0x3d6b04[_0x568ece(0x2d8)])==null?'':_0x212aa6};try{let _0x3f5a2c=await this['_httpService']['post'](_0x49c944,{'body':_0x53a433});return _0x3f5a2c[_0x568ece(0xd9)][_0x568ece(0x3f1)]&&_0x3f5a2c['body'][_0x568ece(0x3f1)][_0x568ece(0x225)]!==_0x46dd95['ErrorCode']['OK']?_0x568ece(0x2ac):_0x3f5a2c[_0x568ece(0xd9)]['result'];}catch{return _0x568ece(0x2ac);}}};_0x25d2c1=_0x442f80([_0x148b43(0x0,_0x3188ec[_0x386c9a(0x1d1)]),_0x148b43(0x1,(0x0,_0x3188ec[_0x386c9a(0x3e3)])(_0x29944c['HTTPService'])),_0x148b43(0x2,_0x3188ec[_0x386c9a(0x146)])],_0x25d2c1);let _0x3ce3ad=0x7530,_0x42121d='ACTIVE_UNIT_EVENT_CHANNEL';var _0x4806b2=class extends _0x3188ec[_0x386c9a(0x201)]{constructor(){const _0x19a1f9=_0x386c9a;super(),_0x2109ac(this,_0x19a1f9(0x183),(0x0,_0x3188ec['generateRandomId'])()),_0x2109ac(this,_0x19a1f9(0x100),new Set()),_0x2109ac(this,_0x19a1f9(0x3df),new Map()),_0x2109ac(this,_0x19a1f9(0x199),null),_0x2109ac(this,_0x19a1f9(0x3ba),new Map()),_0x2109ac(this,_0x19a1f9(0x2dc),new Map()),this[_0x19a1f9(0x34d)]();}['dispose'](){const _0x11b8b7=_0x386c9a;super['dispose'](),this[_0x11b8b7(0x3ba)][_0x11b8b7(0x32f)]((_0x65cf57,_0x5db19f)=>this[_0x11b8b7(0x367)](_0x5db19f)),this[_0x11b8b7(0x199)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x386c9a(0x248)](_0x496798){const _0x44ed88=_0x386c9a;return this[_0x44ed88(0x355)](_0x496798)['pipe']((0x0,_0x3a9a2c[_0x44ed88(0x3e2)])());}[_0x386c9a(0x3ed)](_0x163352){const _0x1138fb=_0x386c9a;this[_0x1138fb(0x100)][_0x1138fb(0x1cd)]===0x0&&this[_0x1138fb(0x357)](),this['_selfUnitIDs']['add'](_0x163352),this['_send']({'type':0x0,'memberID':this[_0x1138fb(0x183)],'unitIDs':[_0x163352],'isForwarded':!0x1});}['disposeUnit'](_0x457c3c){const _0x144574=_0x386c9a;this[_0x144574(0x100)][_0x144574(0x22f)](_0x457c3c),this[_0x144574(0x100)][_0x144574(0x1cd)]===0x0&&this[_0x144574(0x199)]&&window[_0x144574(0x3ca)](this[_0x144574(0x199)]);}[_0x386c9a(0x34d)](){const _0x3a003e=_0x386c9a;this[_0x3a003e(0x2da)]((0x0,_0x3188ec[_0x3a003e(0x34e)])((0x0,_0x3a9a2c[_0x3a003e(0x293)])(window,_0x3a003e(0x328))[_0x3a003e(0x341)](_0x2e5f18=>{const _0x40bf80=_0x3a003e;if(_0x2e5f18[_0x40bf80(0x155)]!==_0x42121d||!_0x2e5f18[_0x40bf80(0x159)])return;let _0x5a1dd7=JSON[_0x40bf80(0x3dc)](_0x2e5f18[_0x40bf80(0x159)]);this[_0x40bf80(0x107)](_0x5a1dd7);}))),window[_0x3a003e(0x2f2)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x3a003e(0x183)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x386c9a(0x107)](_0x3224c5){const _0x59ee13=_0x386c9a;switch(_0x3224c5[_0x59ee13(0x2fd)]){case 0x0:this[_0x59ee13(0x3b0)](_0x3224c5);break;case 0x1:this[_0x59ee13(0xf4)](_0x3224c5);break;case 0x2:this[_0x59ee13(0x274)](_0x3224c5);break;}}[_0x386c9a(0x3b0)](_0x314845){const _0x10ef42=_0x386c9a;let {unitIDs:_0x5efefe,memberID:_0x352963,isForwarded:_0x543545}=_0x314845;_0x5efefe['forEach'](_0x394246=>{const _0xc3b99e=_0xbfb2;if(!_0x543545&&this[_0xc3b99e(0x3df)][_0xc3b99e(0x244)](_0x394246)&&this[_0xc3b99e(0x355)](_0x394246)['next'](_0x2248ce[_0xc3b99e(0x31d)][_0xc3b99e(0x2c9)]),!this[_0xc3b99e(0x3df)][_0xc3b99e(0x244)](_0x394246)||!this[_0xc3b99e(0x3df)][_0xc3b99e(0x26b)](_0x394246)[_0xc3b99e(0x244)](_0x352963)){let _0x33dd86=this[_0xc3b99e(0x3df)][_0xc3b99e(0x26b)](_0x394246)||new Set();_0x33dd86['add'](_0x352963),this[_0xc3b99e(0x3df)][_0xc3b99e(0x2eb)](_0x394246,_0x33dd86),this[_0xc3b99e(0x2df)](_0x352963);}}),_0x543545||this['_send']({'type':0x0,'memberID':this[_0x10ef42(0x183)],'unitIDs':[...this[_0x10ef42(0x100)]],'isForwarded':!0x0});}[_0x386c9a(0x2df)](_0x465119){const _0x426784=_0x386c9a;this[_0x426784(0x367)](_0x465119);let _0x5674f5=window[_0x426784(0x2f1)](()=>{const _0x4a745a=_0x426784;this[_0x4a745a(0x3df)][_0x4a745a(0x32f)](_0xf26b74=>{const _0x253735=_0x4a745a;_0xf26b74[_0x253735(0x22f)](_0x465119);});},_0x3ce3ad*0x2);this[_0x426784(0x3ba)]['set'](_0x465119,_0x5674f5);}[_0x386c9a(0x367)](_0x48569d){const _0x3354ec=_0x386c9a;if(this[_0x3354ec(0x3ba)][_0x3354ec(0x244)](_0x48569d)){let _0x115fd8=this[_0x3354ec(0x3ba)]['get'](_0x48569d);_0x115fd8&&window['clearTimeout'](_0x115fd8),this['_clearOtherTimers']['set'](_0x48569d,null);}}['_handleLeaveEvent'](_0x58f748){const _0x3d042c=_0x386c9a;let {memberID:_0x334ac9,unitIDs:_0x1b7425}=_0x58f748;_0x1b7425[_0x3d042c(0x32f)](_0x3b6302=>{const _0x22de51=_0x3d042c;var _0x5f5a10;let _0x44f819=this[_0x22de51(0x3df)][_0x22de51(0x26b)](_0x3b6302);_0x44f819&&(_0x44f819[_0x22de51(0x22f)](_0x334ac9),(_0x5f5a10=this[_0x22de51(0x355)](_0x3b6302))==null||_0x5f5a10[_0x22de51(0x362)](_0x44f819[_0x22de51(0x1cd)]===0x0?_0x2248ce[_0x22de51(0x31d)][_0x22de51(0x223)]:_0x2248ce[_0x22de51(0x31d)][_0x22de51(0x2c9)]));}),this[_0x3d042c(0x367)](_0x334ac9);}['_handleHeartbeatEvent'](_0x3d26d){const _0x52b09b=_0x386c9a;this[_0x52b09b(0x2df)](_0x3d26d[_0x52b09b(0x38a)]);}['_send'](_0x1ed564){const _0x549178=_0x386c9a;localStorage[_0x549178(0x21e)](_0x42121d,JSON[_0x549178(0x257)](_0x1ed564));}[_0x386c9a(0x357)](){const _0x53741f=_0x386c9a;this[_0x53741f(0x199)]=window[_0x53741f(0x2e4)](()=>{const _0x9267bd=_0x53741f;this[_0x9267bd(0x37f)]({'type':0x2,'memberID':this[_0x9267bd(0x183)]});},_0x3ce3ad);}[_0x386c9a(0x355)](_0x328c40){const _0x4ff1ee=_0x386c9a;return this[_0x4ff1ee(0x2dc)]['has'](_0x328c40)||this['_unitStatus'][_0x4ff1ee(0x2eb)](_0x328c40,new _0x3a9a2c[(_0x4ff1ee(0x1ba))](_0x2248ce['UnitStatus'][_0x4ff1ee(0x223)])),this[_0x4ff1ee(0x2dc)][_0x4ff1ee(0x26b)](_0x328c40);}};Object[_0x386c9a(0x12f)](_0x73ee80,_0x386c9a(0x2ee),{'enumerable':!0x0,'get':function(){return _0x1c42f1;}}),Object['defineProperty'](_0x73ee80,_0x386c9a(0x19c),{'enumerable':!0x0,'get':function(){return _0x1152cb;}}),_0x73ee80[_0x386c9a(0x103)]=_0x34f04d,Object[_0x386c9a(0x12f)](_0x73ee80,_0x386c9a(0x158),{'enumerable':!0x0,'get':function(){return _0x25d2c1;}}),_0x73ee80[_0x386c9a(0xbb)]=_0x294254,Object['defineProperty'](_0x73ee80,_0x386c9a(0x250),{'enumerable':!0x0,'get':function(){return _0x523635;}}),_0x73ee80[_0x386c9a(0x1e7)]=_0x4806b2;}));function _0x29c8(){const _0x16fca0=['getFocusedUnit','idSuffix','useDependency','FromArray','_clearTimeoutState','send','_releaseCalculationLimit','createIdentifier','white','hovered','IRenderManagerService','snapshot-loading-interaction-guard','runId','NOT_COLLAB','_setInteractionBlocked','_docTransformStateCacheService','ERROR','#FFF','replaceState','lineTo','buildDrawingOKey','_getSceneObjectByKey','_send','width','executeCommand','onTransformChange$','registerRefRange','_setFormulaLimitStatus','_docSkeleton','show','totalBlocks','_instanceService','getRenderUnitById','memberID','InsertRangeMoveDownCommandId','use','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getColorFromTheme','OffLineIcon','arc','replaceDocRanges','slide-element-selection','NodePositionConvertToCursor','doc.mutation.rich-text-editing','Injector','button','hide','translate(.97)','_blockProgressWatches','endRow','startFormulaLimitUrl','ISheetLoadingRenderService','collaboration-client-ui.permission.title','lineno','_online','currentColor','UniverSheets','_status$','_shortcutBlock','params','static','createSocket','_startBoardCollabCursor','rxjs','none','_dataLoaderService','_drawAnchor','UniverNetworkPlugin','connectInjector','UNIVER_DOC','symbol','_handleJoinEvent','1956765rVkShi','_updateURLWithCurrentState','colno','setShapeProps','handleInsertRangeMoveDown','range','fillRule','imageSourceType','collab-text-anchor-','_clearOtherTimers','LOCAL_CACHE_INTERVAL','collaboration-client-ui.session.connection-failed','_latestCursors','timedOut','primary','getColor','/run/','_refRangeService','_getSessionTicket','getParam','_renderManagerService','clearTimeout','focused$','M0\x200H16V16H0z','iterator','clearInterval','enableDocumentCollaborationUI','showSkeleton','DependentOn','clipPath','closePath','polite','timeoutState$','_initUserListener','toStringTag','getSheetId','_shortcutService','ThemeService','IBeforeCloseService','add','snapshot-loading-timeout','max','WebSocketService','parse','useObservable','serializeRangeWithSheet','_unitOnClients','_drawTextRange','9PWnhVl','distinctUntilChanged','Inject','_taskIds','univer-text-blue-500','board-collab-cursor-','state$','getUnitId','univer-flex\x20univer-items-center\x20univer-justify-center','SetWorksheetActivateCommand','ILogService','text','editingUnit','limitInfo','rgba(255,\x20255,\x20255,\x200.01)','handleIRemoveRow','error','min','_boardElementStateService','isInternalEditorID','FormulaExecutedStateType','_pointerMoveDisposable','_saveCache','override','createElement','on-line-icon','Button','Vector2','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collaboration-client-ui.session.collaboration-timeout','INotificationService','slice','value','UniverCore','filename','_updateLocalCursor','_collaborationSessionService','collaboration-client-ui.collabStatus.offline','@univerjs/rpc','setParam','DocSelectionManagerService','highlight','_collaborationUIEventService','onPointerLeave$','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','getActiveRange','showText','UniverRpc','JOIN_ROOM_FAILED','UNIVER_BOARD','moveTo','round','collaboration-client-ui.collabStatus.syncing','runOnServer','InsertRowCommandId','url(#off-line-icon_clip0_910_343)','_color','ILocalStorageService','univer-text-orange-500','onCommandExecuted','collaboration-client-ui.collabStatus.fetchMiss','loadedBlocks','restore','SOCKET_FAILED_RETRY','BuiltInUIPart','activeSlideId$','START_CALCULATION','_getAnchorBounding','_updateSubUnitFromURLParams','assignAColorForMemberID','addObject$','@univerjs-pro/boards-ui','0.2)','HTTPService','_getLighterColor','Warning','SheetCollabCursorShape','CONFLICT','_scheduleRender','path','RevisionService','jsxs','addHandlerCallback','@univerjs-pro/collaboration','/universer-api/license/formula/limit/done','collaboration-client-ui.collabStatus.conflict','source','_renderScheduled','_commandService','_doCreateSocket','Error','_offsetY','_initEntityListener','context','_urlService','_startCalculationLimit','status','_colorAssignService','socket$','_registerDependencies','collab-rect-range-','activeSheetId','getMemberID','ITransformService','addClipboardHook','popstate','body','labelHorizontalPosition','warning-icon','registerBeforeClose','getAncestorScale','PluginService','setConfig','88247xbSnaS','urlChange$','EffectRefRangId','true','Plugin','toString','PENDING','http://www.w3.org/2000/svg','collaboration-client-ui.collabClient.tooltip.reconnect','SetTextSelectionsOperation','_initWindowErrorListener','_localeService','xlink:href','CollaborationSessionService','@univerjs/sheets','OnLineIcon','_updateSheetPreview','IMessageService','Shape','redoState','_handleLeaveEvent','message','16rvwOPu','_document','VIEW_MAIN','_isApplyingOverlays','@univerjs/core','_imageIoService','UniverProCollaborationClientUi','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collaboration-client-ui.snapshotLoading.loadingSheet','CollaborationUIEventId','_selfUnitIDs','stageInfo','SheetsSelectionsService','IURLService','HEADER_MENU','FETCH_MISS','SOCKET_FAILED','_handleEvent','WarningIcon','USERS_LEAVE','univer-transition-all\x20univer-duration-200','getSheetObject','collaboration-client-ui.collaboration.closeRoom','DeleteRangeMoveUpCommandId','name','throttleTime','handleDeleteRangeMoveLeft','_docTransformSelectionsService','resize','font','strokeStyle','strokeWidth','isTransformMutationFailure','_startSheetCollabCursor','_cachedData','collaboration-client-ui.config','then','stroke','UNIVER_SLIDE','parseInt','preventDefault','eventID','_entities','Tooltip','setActiveRange','bottom','@univerjs-pro/slides-ui','_logService','selection','UniverLicensePlugin','_onCursorUpdate','_handoffPreview','defIds','asObservable','removeObjects','ticket','yellow.400','defineProperty','offsetY','replace','_cursor','UNIVER_SHEET','_setupSubUnitSync','pushState','getCurrentSelections','_drawRectRange','top','UniverNetwork','_hovered','collab-text-range-','ICommandService','displayName','_initResize','_getSaveTimeout','requireSession','unitID','_snapshotLoadingService','from','activeSheet$','_docSkeletonManagerService','IConfigService','fillText','SUCCESS','_onCursorDelete','UniverProSlidesUi','_saveTaskMap','UniverDocsUi','_pluginService','_blinkIntervalTimer','function','getCurrentTypeOfUnit$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onRendered','_docTransformIMECacheService','_maxFormulaLimit','key','enableFrontendLog','sessionStatus$','RemoteUniscriptService','newValue','debounce','url(#$1','fill','setUndoRedoMutationParamsCache','_startSlideCollabCursor','_render','_cursors','transformRemoteChangeset','UniverSheetsUi','GLOBAL','RxDisposable','useCallback','undoState','transformMutationsWithChangeset','previewCellData','cursorInfo$','_stopBlinking','collaboration-client-ui.permission.content','attrs','_notificationService','focusedId','shareReplay','_onRefRangeChange','exhaustSavingTask','post','_getScale','purple.300','_registerRenderDependencies','children','switchMap','getUndoRedoMutationParamsCache','slide-collab-cursor-','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_sheetLoadingRenderService','data','univer-border-none\x20univer-bg-transparent','workbookShell','getCoordByCell','catch','dispose$','disableLocalCache','_id','SUBMIT_CHANGESET_TIMEOUT','@univerjs/engine-formula','currentUsage','column','rxjs/operators','855272nYTDqC','IBoardElementStateService','selections','onStarting','SetFormulaCalculationStartMutation','push','reload','1em','_slideDrawingStateService','getOffsetConfig','uni.network.url-service','_textBubble','handleInsertRow','_assignedColors','defs','@univerjs/network','_heartbeatTimer','getUnhiddenWorksheets','svg','DesktopCollaborationStatusDisplayController','RemoveRowCommandId','_getObjectBounds','roomMembers$','getRealBound','getUnit','pageManager','scene','react/jsx-runtime','710480iltnoq','/universer-api/frontend/logs','collaboration-client-ui.formula.calculation.waiting','AWAITING_WITH_PENDING','?taskId=','spin','fromEventSubject','collaboration-client-ui.conflict.title','handleDeleteRangeMoveUp','getMember','decorate','string','kind','getTypeOfUnitAdded$','join','generateRandomId','_applyCommand','addObjects','_labelPosition','isEditing','_monkeyPatchLogService','BehaviorSubject','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','isArray','_name','search','unhandledrejection','CanceledError','split','DisposableCollection','3337200WjNAkY','location','bind','_transformPreviousActiveRange','getValue','backupOfflineData','IShortcutService','_collabCursorController','_uploadLog','_hasFormulaInDirtyRanges','size','backgroundColor','ISocketService','LOADING_SNAPSHOT','IUniverInstanceService','textRanges','#4f46e5','labelPosition','collaboration-client-ui.session.will-retry','_revisionService','whenReady','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','UPDATE_CURSOR','black','getFormulaLimitStatusUrl','_messageService','i18nKey','_docStateChangeManagerService','jsx','OFFLINE','MemberService','trim','getCoordRelativeToViewport','univer-m-0\x20univer-p-0','getMergeData','snapshot-loading-','WebBrowserSingleActiveUnitService','findNodePositionByCharIndex','UniverProCollaborationClient','@univerjs-pro/collaboration-client','getId','functionsExecutedState','CollaborationController','_refreshCollabCursors','takeUntil','transformByState','onMouseMove','_disabled','unit','_initStatusComponent','loadUnit','_labelHorizontalPosition','mask','off-line-icon_clip0_910_343','getAllUnitsForType','removeObject','_lastResponseTimestamp','_scheduleSaving','removeParam','getObjectIncludeInGroup','searchParams','startRow','Disposable','cursorInfo','getCollabCursors$','_localStorageService','_roomMembers$','init','reason','toISOString','deepClone','collaboration-client-ui.collabStatus.notCollab','unshift','getBoardElementRenderObjectKey','_anchor','SetFormulaCalculationNotificationMutation','getActiveSlide','registerComponent','UniverProLicense','MessageType','_toggleOnline','IUIPartsService','entries','makeDirty','mergeOverrideWithDependencies','SHEET_VIEWPORT_KEY','react','debounceTime','LOCAL_CACHE_INTERVAL_KEY','_cursorInfo$','jiqing.500','setItem','getCellMatrix','_collabCursorState$','ONLINE','_clearPolling','NO_OTHER_CLIENTS_EDITING','random','code','SnapshotLoadingService','UniverCollaborationClientPlugin','dispose','syncEditingCollabCursor','getActivePageId','TEXT','collaboration-client-ui.conflict.content','Optional','pluginName','delete','_initCommandInterceptor','deserializeRangeWithSheet','unitId','OTHER_CLIENT_EDITING','_pollingInterval','_memberID','_memberService','collabCursorState$','evented','@univerjs/sheets-ui','indicator','_startDocCollabCursor','blue.400','_scene','shift','TEXT_RANGE_LAYER_INDEX','forceDisable','Success','handleMoveRange','reconnect','has','_messageIds','_transformService','_getSheetObject','getUnitStatus$','/universer-api/license/formula/limit/start','tooltipKey','_watchBlockProgress','ranges','saveTaskMap','_previewUnitId','BOARD_TOP_RIGHT_MENU_LEADING_PART','UniverCollaborationClientUIPlugin','ILocalCacheService','merge','prototype','touchDependencies','_setupBeforeClosingHandler','roomMembers','stringify','stage','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_hideTimer','React','_getSheetLoadingRenderService','m2Prime','_highlightSecond','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','RECT','includes','8256320pzqHSd','_draw','_sheetSkeletonManagerService','rgb','call','UniverUi','left','_transformUndoRedoStack','filter','get','_shapes','Fragment','now','_interactionBlocked$','_configService','contains','status$','isTransformMutationsWithChangesetSuccess','_handleHeartbeatEvent','ISnapshotServerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','constructor','_isBlinkVisible','endColumn','_beforeCloseService','transformMutation','univer-text-green-500','currentSkeleton$','strokeRect','forwardRef','setOffsetY','Rect','drawWith','Workbook','Unknown\x20user','_backgroundColor','_updateMessage','setStateCache','collaboration-client-ui.formula.calculation.unable','_removeCollabCursors','_handoffUnitIds','Loading','right','LoadingMultiIcon','UniverInstanceType','[CollaborationDataLoaderController]','subunit','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','exports','fromEvent','remove','_initUnhandledRejectionListener','_handleHover','operators','COMPLETE','_localCacheService','getConfig','onPointerEnter$','currentTheme$','getActiveSheet','\x20at\x20',',\x200.2)','values','getObject','transformStateCache','map','[Window\x20Error]:\x20','_currentUsage','fillStyle','object','getCollabEntity$','_initEvent','getLocalCacheKey','getDocRanges','Failed','rgba','_initCommandExecutedListener','some','engine','RegularPolygon','loading-multi-icon','_httpService','DocIMEInputManagerService','collaboration-client-ui.formula.calculation.started','board-element-selection','angle','6116215boPmgF','Rectangle','_hidePreview','startsWith','selectedIds','totalFormulasToCalculate','toRgbString','beforeCommandExecuted','getCurrentSkeleton','transform','_timeoutState$','packageName','UniverDocsPlugin','enableLocalCache','bold\x2013px\x20Arial,\x20sans-serif','updateOfflineData','Enter','OTHER_CLIENTS_EDITING','getCurrentUnitOfType','LocaleService','useRef','_showGuardMessage','_updateCollabCursors','row','UniverProCollaboration','_initDependencies','removeEventListener','_checkCalculationAvailable','1.0.0-alpha.8','registerRenderModule','maxFormulaLimit','highlightSecond','executionId','LOADING_BLOCKS','disposeWithMe','unsubscribe','_unitStatus','clickable','ISlideDrawingStateService','_scheduleClearOtherTimer','IImageIoService','ErrorCode','clear','getRangePointData','setInterval','history','getSheetBySheetId','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','CollaborationEvent','getViewport','registerDependencies','set','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','BrowserCollaborationSocketService','sheetID','subUnitId','setTimeout','addEventListener','timeoutId','_injector','_highlight','save','_anchorDot','_latestStates','combineLatest','Subject','startColumn','_initStatusListener','type','invokeId','handleInsertRangeMoveRight','createInstance','_syncEditingCollabCursorService','height','getOwnPropertyDescriptor','mutations','[LogService\x20Error]:\x20','getScrollXYInfoByViewport','isFormulaString','_isVisibleUnit','small','version','_transformHistoryAndStateStack','complete','UniverEngineRender','with','addObject','_collabSessionService','m1Prime','measureText','_cursorShapes','_blinkTimer','_univerInstanceService','getStateCache','@univerjs-pro/collaboration-client-ui','_showText','COLORS','getSnapshot','SessionStatus','@univerjs/ui','UnitStatus','Tools','dirtyRanges',':backup:','_lastPointer','RichTextEditingMutation','CollaborationStatus','previewReady','color','DocCollaborationEntity','icon','storage','evenodd','pipe','mapTo','stack','RefRangeService','all','forEach','[Unhandled\x20Rejection]:\x20','_entityInit$','#0B9EFB','on-line-icon_clip0_910_349','_context','RemoveColCommandId','_hover','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','@univerjs/docs','_docSyncEditingCollabCursorService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_collaborationController','lineWidth','amd','assign','rgba(','SetDocZoomRatioOperation','subscribe','_themeService','pulse','_range','UniverDesign','_docClipboardService','subscribeEvent','handoff','DocSkeletonManagerService','_toggleOffline','SnapshotLoadStage','_eventUnsubscribe','_init','toDisposable','_checkAndWaitForCalculationPermission','transformSelections','href','colorChannel1','setLineDash','tag','_ensureSubject','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_scheduleHeartbeat','content','SetSelectionsOperation','UniverEngineFormula','_clearBlockProgressWatch','clsx','DOC_RANGE_TYPE','_session','12jvezPb','getItem','getTypeOfUnitDisposed$','next','dark:focus:!univer-ring-offset-gray-800','_config','event$','flatMap','_removeClearOtherTimer','length'];_0x29c8=function(){return _0x16fca0;};return _0x29c8();}