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

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 (97) hide show
  1. package/README.md +6 -3
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -1
  5. package/lib/cjs/locale/ca-ES.js +1 -1
  6. package/lib/cjs/locale/de-DE.js +1 -1
  7. package/lib/cjs/locale/en-US.js +1 -1
  8. package/lib/cjs/locale/es-ES.js +1 -1
  9. package/lib/cjs/locale/fa-IR.js +1 -1
  10. package/lib/cjs/locale/fr-FR.js +1 -1
  11. package/lib/cjs/locale/id-ID.js +1 -1
  12. package/lib/cjs/locale/it-IT.js +1 -1
  13. package/lib/cjs/locale/ja-JP.js +1 -1
  14. package/lib/cjs/locale/ko-KR.js +1 -1
  15. package/lib/cjs/locale/pl-PL.js +1 -1
  16. package/lib/cjs/locale/pt-BR.js +1 -1
  17. package/lib/cjs/locale/ru-RU.js +1 -1
  18. package/lib/cjs/locale/sk-SK.js +1 -1
  19. package/lib/cjs/locale/vi-VN.js +1 -1
  20. package/lib/cjs/locale/zh-CN.js +1 -1
  21. package/lib/cjs/locale/zh-HK.js +1 -1
  22. package/lib/cjs/locale/zh-TW.js +1 -1
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/facade.js +1 -1
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/controllers/clipboard/docs/image/image-paste.controller.d.ts +1 -2
  66. package/lib/types/controllers/collab-cursor/board-collab-cursor-entity.d.ts +31 -0
  67. package/lib/types/controllers/collab-cursor/board-collab-cursor-render.controller.d.ts +21 -0
  68. package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +3 -2
  69. package/lib/types/controllers/collab-cursor/slide-collab-cursor-entity.d.ts +1 -1
  70. package/lib/types/controllers/collab-status/collab-status.controller.d.ts +11 -0
  71. package/lib/types/index.d.ts +0 -2
  72. package/lib/types/models/cursor.d.ts +12 -8
  73. package/lib/types/views/shapes/sheet-collab-cursor.shape.d.ts +2 -0
  74. package/lib/types/views/shapes/slide-collab-cursor.shape.d.ts +2 -2
  75. package/lib/types/views/shapes/text-bubble.shape.d.ts +1 -0
  76. package/lib/umd/facade.js +1 -1
  77. package/lib/umd/index.js +1 -1
  78. package/lib/umd/locale/ar-SA.js +1 -1
  79. package/lib/umd/locale/ca-ES.js +1 -1
  80. package/lib/umd/locale/de-DE.js +1 -1
  81. package/lib/umd/locale/en-US.js +1 -1
  82. package/lib/umd/locale/es-ES.js +1 -1
  83. package/lib/umd/locale/fa-IR.js +1 -1
  84. package/lib/umd/locale/fr-FR.js +1 -1
  85. package/lib/umd/locale/id-ID.js +1 -1
  86. package/lib/umd/locale/it-IT.js +1 -1
  87. package/lib/umd/locale/ja-JP.js +1 -1
  88. package/lib/umd/locale/ko-KR.js +1 -1
  89. package/lib/umd/locale/pl-PL.js +1 -1
  90. package/lib/umd/locale/pt-BR.js +1 -1
  91. package/lib/umd/locale/ru-RU.js +1 -1
  92. package/lib/umd/locale/sk-SK.js +1 -1
  93. package/lib/umd/locale/vi-VN.js +1 -1
  94. package/lib/umd/locale/zh-CN.js +1 -1
  95. package/lib/umd/locale/zh-HK.js +1 -1
  96. package/lib/umd/locale/zh-TW.js +1 -1
  97. package/package.json +23 -22
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5889dd,_0x5a7423){const _0x505eef=_0x101e,_0x3857a4=_0x5889dd();while(!![]){try{const _0x109a2d=parseInt(_0x505eef(0x276))/0x1*(-parseInt(_0x505eef(0x4ac))/0x2)+parseInt(_0x505eef(0x2b3))/0x3*(-parseInt(_0x505eef(0x360))/0x4)+parseInt(_0x505eef(0x31b))/0x5*(-parseInt(_0x505eef(0x3ab))/0x6)+parseInt(_0x505eef(0x1d5))/0x7+-parseInt(_0x505eef(0x310))/0x8+parseInt(_0x505eef(0x2ff))/0x9+parseInt(_0x505eef(0x3da))/0xa*(parseInt(_0x505eef(0x2bb))/0xb);if(_0x109a2d===_0x5a7423)break;else _0x3857a4['push'](_0x3857a4['shift']());}catch(_0x57c74c){_0x3857a4['push'](_0x3857a4['shift']());}}}(_0x304c,0xbd22f),function(_0x58a47b,_0x1e4e0d){const _0x1dde08=_0x101e;typeof exports==_0x1dde08(0x243)&&typeof module<'u'?_0x1e4e0d(exports,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/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x1dde08(0x36c)&&define[_0x1dde08(0x23d)]?define([_0x1dde08(0x37a),'@univerjs-pro/collaboration-client',_0x1dde08(0x2b7),_0x1dde08(0x24a),_0x1dde08(0x4c2),_0x1dde08(0x4b0),_0x1dde08(0x3fb),_0x1dde08(0x33b),_0x1dde08(0x313),_0x1dde08(0x26e),_0x1dde08(0x2cb),_0x1dde08(0x388),_0x1dde08(0x309),'@univerjs/docs-ui',_0x1dde08(0x1f8),_0x1dde08(0x3c6),_0x1dde08(0x465),_0x1dde08(0x2bf),'@univerjs-pro/slides-ui',_0x1dde08(0x296),_0x1dde08(0x491)],_0x1e4e0d):(_0x58a47b=typeof globalThis<'u'?globalThis:_0x58a47b||self,_0x1e4e0d(_0x58a47b['UniverProCollaborationClientUi']={},_0x58a47b['UniverProCollaborationClient'],_0x58a47b[_0x1dde08(0x370)],_0x58a47b['UniverUi'],_0x58a47b['rxjs'],_0x58a47b['rxjs']['operators'],_0x58a47b['UniverDesign'],_0x58a47b[_0x1dde08(0x359)],_0x58a47b[_0x1dde08(0x359)],_0x58a47b[_0x1dde08(0x277)],_0x58a47b[_0x1dde08(0x282)],_0x58a47b['UniverEngineRender'],_0x58a47b['UniverNetwork'],_0x58a47b[_0x1dde08(0x2a9)],_0x58a47b['UniverDrawing'],_0x58a47b[_0x1dde08(0x3c9)],_0x58a47b[_0x1dde08(0x287)],_0x58a47b['UniverEngineFormula'],_0x58a47b['UniverProSlidesUi'],_0x58a47b['UniverSheetsUi'],_0x58a47b[_0x1dde08(0x2e7)]));}(this,function(_0x4a6aec,_0x2de759,_0x3c58c0,_0x2acf41,_0x159beb,_0x54efda,_0x1de54e,_0x4efb19,_0x5b7ea8,_0x50933f,_0xf743a1,_0x5425ea,_0x5573b7,_0x1323e7,_0x856448,_0x130b54,_0x355cfd,_0x27a59a,_0x181083,_0x4f86bd,_0x247beb){const _0x5bd31d=_0x101e;Object[_0x5bd31d(0x41f)](_0x4a6aec,Symbol[_0x5bd31d(0x2c7)],{'value':_0x5bd31d(0x1cf)});function _0x55f58c({ref:_0x4dc04f,..._0x3a3c06}){const _0x36d7cb=_0x5bd31d;let {icon:_0x5a2cdd,id:_0x42c403,className:_0x114776,extend:_0x136521,..._0x2746ed}=_0x3a3c06,_0x440437=(_0x36d7cb(0x35e)+_0x42c403+'\x20'+(_0x114776||''))[_0x36d7cb(0x457)](),_0x19a432=(0x0,_0x4efb19[_0x36d7cb(0x40b)])('_'+_0x471ef6());return _0xefc1cb(_0x5a2cdd,''+_0x42c403,{'defIds':_0x5a2cdd[_0x36d7cb(0x341)],'idSuffix':_0x19a432[_0x36d7cb(0x478)]},{'ref':_0x4dc04f,'className':_0x440437,..._0x2746ed},_0x136521);}function _0xefc1cb(_0x4827d1,_0x5d8496,_0x3e2664,_0x573079,_0x2aa907){const _0x4c2b65=_0x5bd31d;return(0x0,_0x4efb19[_0x4c2b65(0x3b1)])(_0x4827d1[_0x4c2b65(0x44c)],{'key':_0x5d8496,..._0x24300d(_0x4827d1,_0x3e2664,_0x2aa907),..._0x573079},(_0x31047e(_0x4827d1,_0x3e2664)[_0x4c2b65(0x1f1)]||[])[_0x4c2b65(0x389)]((_0x1ca6bd,_0x1e7649)=>_0xefc1cb(_0x1ca6bd,_0x5d8496+'-'+_0x4827d1[_0x4c2b65(0x44c)]+'-'+_0x1e7649,_0x3e2664,void 0x0,_0x2aa907)));}function _0x24300d(_0x479223,_0x3e83e8,_0x1fcb58){const _0x24b9d4=_0x5bd31d;let _0x32ee62={..._0x479223[_0x24b9d4(0x293)]};_0x1fcb58!=null&&_0x1fcb58[_0x24b9d4(0x3cc)]&&_0x32ee62['fill']===_0x24b9d4(0x3cc)&&(_0x32ee62['fill']=_0x1fcb58[_0x24b9d4(0x3cc)]),_0x1fcb58!=null&&_0x1fcb58[_0x24b9d4(0x3cc)]&&_0x32ee62[_0x24b9d4(0x217)]===_0x24b9d4(0x3cc)&&(_0x32ee62[_0x24b9d4(0x217)]=_0x1fcb58[_0x24b9d4(0x3cc)]),_0x479223[_0x24b9d4(0x44c)]==='mask'&&_0x32ee62['id']&&(_0x32ee62['id']+=_0x3e83e8[_0x24b9d4(0x371)]),Object[_0x24b9d4(0x292)](_0x32ee62)['forEach'](([_0x3ce00b,_0x1bf9d3])=>{const _0x1664fb=_0x24b9d4;_0x3ce00b===_0x1664fb(0x46e)&&typeof _0x1bf9d3==_0x1664fb(0x45b)&&(_0x32ee62[_0x3ce00b]=_0x1bf9d3['replace'](/url\(#(.*)\)/,'url(#$1'+_0x3e83e8[_0x1664fb(0x371)]+')'));});let {defIds:_0x17c682}=_0x3e83e8;return!_0x17c682||_0x17c682[_0x24b9d4(0x433)]===0x0?_0x32ee62:(_0x479223[_0x24b9d4(0x44c)]===_0x24b9d4(0x1e7)&&_0x32ee62[_0x24b9d4(0x40d)]&&(_0x32ee62['xlink:href']+=_0x3e83e8[_0x24b9d4(0x371)]),Object[_0x24b9d4(0x292)](_0x32ee62)[_0x24b9d4(0x241)](([_0x43b30d,_0x4c828d])=>{const _0x115e8b=_0x24b9d4;typeof _0x4c828d==_0x115e8b(0x45b)&&(_0x32ee62[_0x43b30d]=_0x4c828d['replace'](/url\(#(.*)\)/,'url(#$1'+_0x3e83e8['idSuffix']+')'));}),_0x32ee62);}function _0x31047e(_0x67007a,_0x5a43af){const _0x529922=_0x5bd31d;var _0x204a13;let {defIds:_0x144f20}=_0x5a43af;return!_0x144f20||_0x144f20['length']===0x0?_0x67007a:_0x67007a[_0x529922(0x44c)]===_0x529922(0x3aa)&&(_0x204a13=_0x67007a['children'])!=null&&_0x204a13[_0x529922(0x433)]?{..._0x67007a,'children':_0x67007a['children']['map'](_0x377990=>typeof _0x377990[_0x529922(0x293)]['id']==_0x529922(0x45b)&&_0x144f20&&_0x144f20[_0x529922(0x376)](_0x377990[_0x529922(0x293)]['id'])?{..._0x377990,'attrs':{..._0x377990['attrs'],'id':_0x377990[_0x529922(0x293)]['id']+_0x5a43af[_0x529922(0x371)]}}:_0x377990)}:_0x67007a;}function _0x471ef6(){const _0x29cbe9=_0x5bd31d;return Math['random']()[_0x29cbe9(0x462)](0x24)[_0x29cbe9(0x23a)](0x2,0x8);}_0x55f58c[_0x5bd31d(0x2bc)]=_0x5bd31d(0x35a);let _0x3debd3={'tag':_0x5bd31d(0x2d7),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5bd31d(0x258),'viewBox':_0x5bd31d(0x45a),'width':_0x5bd31d(0x4c6),'height':_0x5bd31d(0x4c6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5bd31d(0x492),'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':_0x5bd31d(0x447),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5bd31d(0x3aa),'attrs':{},'children':[{'tag':_0x5bd31d(0x26a),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x5bd31d(0x24f),'attrs':{'fill':_0x5bd31d(0x31c),'d':_0x5bd31d(0x361)}}]}]}],'defIds':[_0x5bd31d(0x3e1)]},_0xbaf87e=(0x0,_0x4efb19[_0x5bd31d(0x4c3)])(function(_0x225b94,_0x38d412){const _0x59e1b9=_0x5bd31d;return(0x0,_0x4efb19[_0x59e1b9(0x3b1)])(_0x55f58c,Object['assign']({},_0x225b94,{'id':'off-line-icon','ref':_0x38d412,'icon':_0x3debd3}));});_0xbaf87e['displayName']='OffLineIcon';let _0x442d0c={'tag':'svg','attrs':{'xmlns':_0x5bd31d(0x340),'fill':_0x5bd31d(0x258),'viewBox':_0x5bd31d(0x45c),'width':'1em','height':_0x5bd31d(0x4c6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5bd31d(0x24f),'attrs':{'stroke':'currentColor','d':_0x5bd31d(0x24e),'strokeLinecap':_0x5bd31d(0x447),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5bd31d(0x3aa),'attrs':{},'children':[{'tag':_0x5bd31d(0x26a),'attrs':{'id':_0x5bd31d(0x498)},'children':[{'tag':_0x5bd31d(0x24f),'attrs':{'fill':_0x5bd31d(0x31c),'d':_0x5bd31d(0x361),'transform':_0x5bd31d(0x1e4)}}]}]}],'defIds':[_0x5bd31d(0x498)]},_0x249519=(0x0,_0x4efb19[_0x5bd31d(0x4c3)])(function(_0x3a0d16,_0x210be0){const _0x31e378=_0x5bd31d;return(0x0,_0x4efb19[_0x31e378(0x3b1)])(_0x55f58c,Object[_0x31e378(0x286)]({},_0x3a0d16,{'id':_0x31e378(0x38d),'ref':_0x210be0,'icon':_0x442d0c}));});_0x249519[_0x5bd31d(0x2bc)]=_0x5bd31d(0x23e);let _0x581a60={'tag':_0x5bd31d(0x2d7),'attrs':{'xmlns':_0x5bd31d(0x340),'fill':'none','viewBox':_0x5bd31d(0x45a),'width':_0x5bd31d(0x4c6),'height':_0x5bd31d(0x4c6)},'children':[{'tag':_0x5bd31d(0x24f),'attrs':{'fill':_0x5bd31d(0x4c5),'d':_0x5bd31d(0x33d),'fillOpacity':0.2,'fillRule':_0x5bd31d(0x2a3),'clipRule':_0x5bd31d(0x2a3)}},{'tag':_0x5bd31d(0x24f),'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':_0x5bd31d(0x2a3),'clipRule':_0x5bd31d(0x2a3)}}]},_0x2db195=(0x0,_0x4efb19['forwardRef'])(function(_0xd33e3f,_0x2cdcb9){const _0x44e73b=_0x5bd31d;return(0x0,_0x4efb19[_0x44e73b(0x3b1)])(_0x55f58c,Object[_0x44e73b(0x286)]({},_0xd33e3f,{'id':_0x44e73b(0x4b9),'ref':_0x2cdcb9,'icon':_0x581a60}));});_0x2db195[_0x5bd31d(0x2bc)]=_0x5bd31d(0x244);function _0x54840b(_0x5c996e){const _0x5d8368=_0x5bd31d;switch(_0x5c996e){case _0x2de759[_0x5d8368(0x474)]['OFFLINE']:return{'icon':(0x0,_0x5b7ea8[_0x5d8368(0x4b3)])(_0xbaf87e,{}),'colorClass':_0x5d8368(0x366),'i18nKey':_0x5d8368(0x4a5),'tooltipKey':_0x5d8368(0x3fe),'clickable':!0x0,'indicator':_0x5d8368(0x22a)};case _0x2de759[_0x5d8368(0x474)][_0x5d8368(0x32c)]:return{'icon':(0x0,_0x5b7ea8['jsx'])(_0xbaf87e,{}),'colorClass':_0x5d8368(0x4b2),'i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':_0x5d8368(0x22a)};case _0x2de759[_0x5d8368(0x474)][_0x5d8368(0x3a3)]:return{'icon':(0x0,_0x5b7ea8[_0x5d8368(0x4b3)])(_0x2db195,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x5d8368(0x36f)};case _0x2de759['CollaborationStatus'][_0x5d8368(0x373)]:return{'icon':(0x0,_0x5b7ea8[_0x5d8368(0x4b3)])(_0x249519,{}),'colorClass':_0x5d8368(0x3f9),'i18nKey':_0x5d8368(0x445),'clickable':!0x1,'indicator':_0x5d8368(0x22a)};case _0x2de759[_0x5d8368(0x474)][_0x5d8368(0x346)]:case _0x2de759['CollaborationStatus']['AWAITING_WITH_PENDING']:return{'icon':(0x0,_0x5b7ea8[_0x5d8368(0x4b3)])(_0x2db195,{}),'colorClass':_0x5d8368(0x1db),'i18nKey':_0x5d8368(0x280),'clickable':!0x1,'indicator':_0x5d8368(0x36f)};case _0x2de759['CollaborationStatus'][_0x5d8368(0x43b)]:return{'icon':(0x0,_0x5b7ea8[_0x5d8368(0x4b3)])(_0x2db195,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x5d8368(0x36f)};case _0x2de759[_0x5d8368(0x474)][_0x5d8368(0x2e4)]:return{'icon':(0x0,_0x5b7ea8['jsx'])(_0x249519,{}),'colorClass':'univer-text-green-500','i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':_0x5d8368(0x22a)};}}function _0x9fc3a3(_0x13c2af){const _0x1cfc9a=_0x5bd31d;let {status$:_0x5853cd}=_0x13c2af,_0x4b69c9=(0x0,_0x2acf41['useObservable'])(_0x5853cd,_0x2de759['CollaborationStatus']['NOT_COLLAB']),_0x42e819=(0x0,_0x2acf41[_0x1cfc9a(0x233)])(_0x3c58c0[_0x1cfc9a(0x4c1)]),_0x100a1b=(0x0,_0x2acf41[_0x1cfc9a(0x233)])(_0x2de759['CollaborationSessionService']),_0x479195=(0x0,_0x4efb19[_0x1cfc9a(0x1d4)])(()=>_0x54840b(_0x4b69c9),[_0x4b69c9]),_0xeea0e=_0x4b69c9!==_0x2de759['CollaborationStatus']['OFFLINE'],_0x4c90ba=_0x42e819['t'](_0x479195[_0x1cfc9a(0x4ba)]),_0x30a50f=_0x479195['tooltipKey']?_0x42e819['t'](_0x479195[_0x1cfc9a(0x2dc)]):_0x4c90ba,_0x40852e=(0x0,_0x4efb19[_0x1cfc9a(0x328)])(()=>{const _0x3631b9=_0x1cfc9a;_0xeea0e||_0x100a1b[_0x3631b9(0x4cc)]();},[_0xeea0e,_0x100a1b]),_0x2f003c=(0x0,_0x4efb19['useCallback'])(_0x398726=>{const _0x432af0=_0x1cfc9a;!_0xeea0e&&(_0x398726['key']===_0x432af0(0x1d8)||_0x398726[_0x432af0(0x452)]==='\x20')&&(_0x398726[_0x432af0(0x23b)](),_0x100a1b[_0x432af0(0x4cc)]());},[_0xeea0e,_0x100a1b]),_0x54b24d=(0x0,_0x5b7ea8[_0x1cfc9a(0x4b3)])(_0x1cfc9a(0x3c2),{'className':(0x0,_0x1de54e[_0x1cfc9a(0x1da)])(_0x1cfc9a(0x404),_0x1cfc9a(0x1cd),_0x479195[_0x1cfc9a(0x357)],{'univer-animate-spin':_0x479195['indicator']===_0x1cfc9a(0x36f),'univer-animate-pulse':_0x479195[_0x1cfc9a(0x39c)]===_0x1cfc9a(0x3de)}),'aria-hidden':'true','children':_0x479195[_0x1cfc9a(0x3a2)]}),_0x8c4143=(0x0,_0x5b7ea8[_0x1cfc9a(0x4b3)])(_0x1cfc9a(0x3c2),{'className':(0x0,_0x1de54e[_0x1cfc9a(0x1da)])(_0x1cfc9a(0x404),_0x1cfc9a(0x495),_0x1cfc9a(0x316),'focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2',_0x1cfc9a(0x2ab),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x479195[_0x1cfc9a(0x400)],'univer-cursor-default':!_0x479195[_0x1cfc9a(0x400)]}),'children':_0x54b24d});return _0x479195[_0x1cfc9a(0x400)]?(0x0,_0x5b7ea8[_0x1cfc9a(0x4b3)])(_0x1de54e[_0x1cfc9a(0x3b2)],{'title':_0x30a50f,'placement':_0x1cfc9a(0x44f),'children':(0x0,_0x5b7ea8[_0x1cfc9a(0x4b3)])(_0x1cfc9a(0x327),{'type':_0x1cfc9a(0x327),'onClick':_0x40852e,'onKeyDown':_0x2f003c,'className':(0x0,_0x1de54e[_0x1cfc9a(0x1da)])(_0x1cfc9a(0x260),_0x1cfc9a(0x4b4),_0x1cfc9a(0x4d2),_0x1cfc9a(0x1d3)),'aria-label':_0x4c90ba+'\x20-\x20'+_0x30a50f,'role':_0x1cfc9a(0x202),'aria-live':_0x1cfc9a(0x36b),'aria-atomic':_0x1cfc9a(0x488),'children':_0x8c4143})}):(0x0,_0x5b7ea8['jsx'])(_0x1de54e[_0x1cfc9a(0x3b2)],{'title':_0x30a50f,'placement':_0x1cfc9a(0x44f),'children':(0x0,_0x5b7ea8['jsx'])('div',{'className':(0x0,_0x1de54e['clsx'])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x1cfc9a(0x4b4),_0x1cfc9a(0x4d2)),'aria-label':_0x4c90ba,'role':'status','aria-live':_0x1cfc9a(0x36b),'aria-atomic':_0x1cfc9a(0x488),'children':_0x8c4143})});}function _0x28b48d(_0x5cbdf0){'@babel/helpers - typeof';const _0x31b853=_0x5bd31d;return _0x28b48d=typeof Symbol==_0x31b853(0x36c)&&typeof Symbol['iterator']==_0x31b853(0x2c1)?function(_0x4f6bb1){return typeof _0x4f6bb1;}:function(_0x3dbd9b){const _0x331c31=_0x31b853;return _0x3dbd9b&&typeof Symbol==_0x331c31(0x36c)&&_0x3dbd9b[_0x331c31(0x3cf)]===Symbol&&_0x3dbd9b!==Symbol[_0x331c31(0x2a6)]?_0x331c31(0x2c1):typeof _0x3dbd9b;},_0x28b48d(_0x5cbdf0);}function _0x1d6f62(_0x310124,_0x3dccea){const _0x198303=_0x5bd31d;if(_0x28b48d(_0x310124)!=_0x198303(0x243)||!_0x310124)return _0x310124;var _0x545202=_0x310124[Symbol['toPrimitive']];if(_0x545202!==void 0x0){var _0xcb8e1f=_0x545202[_0x198303(0x487)](_0x310124,_0x3dccea||_0x198303(0x29f));if(_0x28b48d(_0xcb8e1f)!=_0x198303(0x243))return _0xcb8e1f;throw TypeError(_0x198303(0x1fb));}return(_0x3dccea===_0x198303(0x45b)?String:Number)(_0x310124);}function _0x3e6383(_0xf0f0f1){const _0x30c91f=_0x5bd31d;var _0x2834ce=_0x1d6f62(_0xf0f0f1,_0x30c91f(0x45b));return _0x28b48d(_0x2834ce)==_0x30c91f(0x2c1)?_0x2834ce:_0x2834ce+'';}function _0x18bf9d(_0x1dd461,_0x190a22,_0x38862b){const _0x149c50=_0x5bd31d;return(_0x190a22=_0x3e6383(_0x190a22))in _0x1dd461?Object[_0x149c50(0x41f)](_0x1dd461,_0x190a22,{'value':_0x38862b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1dd461[_0x190a22]=_0x38862b,_0x1dd461;}function _0x285b7d(_0x4a90aa,_0x436cfc){return function(_0x3e7e52,_0x270c92){_0x436cfc(_0x3e7e52,_0x270c92,_0x4a90aa);};}function _0x355c08(_0x47a6e5,_0x27d72e,_0x3edbd9,_0x27d0d7){const _0x34857a=_0x5bd31d;var _0x1539e5=arguments['length'],_0x24f2ce=_0x1539e5<0x3?_0x27d72e:_0x27d0d7===null?_0x27d0d7=Object[_0x34857a(0x2a5)](_0x27d72e,_0x3edbd9):_0x27d0d7,_0x366c3e;if(typeof Reflect=='object'&&typeof Reflect[_0x34857a(0x42e)]==_0x34857a(0x36c))_0x24f2ce=Reflect[_0x34857a(0x42e)](_0x47a6e5,_0x27d72e,_0x3edbd9,_0x27d0d7);else{for(var _0x1690b9=_0x47a6e5[_0x34857a(0x433)]-0x1;_0x1690b9>=0x0;_0x1690b9--)(_0x366c3e=_0x47a6e5[_0x1690b9])&&(_0x24f2ce=(_0x1539e5<0x3?_0x366c3e(_0x24f2ce):_0x1539e5>0x3?_0x366c3e(_0x27d72e,_0x3edbd9,_0x24f2ce):_0x366c3e(_0x27d72e,_0x3edbd9))||_0x24f2ce);}return _0x1539e5>0x3&&_0x24f2ce&&Object['defineProperty'](_0x27d72e,_0x3edbd9,_0x24f2ce),_0x24f2ce;}let _0x3ff328=class extends _0x3c58c0[_0x5bd31d(0x342)]{constructor(_0x3a00c2,_0x29060a,_0x48b27d,_0x571e62){const _0x23f6f9=_0x5bd31d;super(),this[_0x23f6f9(0x1ce)]=_0x3a00c2,this[_0x23f6f9(0x281)]=_0x29060a,this[_0x23f6f9(0x3be)]=_0x48b27d,this[_0x23f6f9(0x2af)]=_0x571e62,_0x18bf9d(this,_0x23f6f9(0x451),new _0x159beb['BehaviorSubject'](_0x2de759[_0x23f6f9(0x474)][_0x23f6f9(0x373)])),this[_0x23f6f9(0x473)](),this[_0x23f6f9(0x222)]();}[_0x5bd31d(0x222)](){const _0x4578d0=_0x5bd31d;this[_0x4578d0(0x387)]((0x0,_0x159beb['merge'])(this[_0x4578d0(0x1ce)][_0x4578d0(0x240)],this[_0x4578d0(0x1ce)][_0x4578d0(0x485)](_0x3c58c0[_0x4578d0(0x230)]['UNIVER_DOC']),this['_univerInstanceService'][_0x4578d0(0x485)](_0x3c58c0[_0x4578d0(0x230)]['UNIVER_SHEET']))[_0x4578d0(0x47c)]((0x0,_0x54efda['map'])(()=>_0x1a76d6(this[_0x4578d0(0x1ce)])),(0x0,_0x54efda[_0x4578d0(0x3f7)])(),(0x0,_0x159beb[_0x4578d0(0x2e6)])(_0x4cdfff=>_0x4cdfff?this[_0x4578d0(0x3be)]['getCollabEntity$'](_0x4cdfff):(0x0,_0x159beb['of'])(null)),(0x0,_0x159beb[_0x4578d0(0x2e6)])(_0x66cbf8=>_0x66cbf8?_0x66cbf8[_0x4578d0(0x254)]:(0x0,_0x159beb['of'])(_0x2de759[_0x4578d0(0x474)]['NOT_COLLAB'])))[_0x4578d0(0x264)](_0xf95058=>{const _0x1f0a09=_0x4578d0;this[_0x1f0a09(0x451)][_0x1f0a09(0x1cc)](_0xf95058);}));}[_0x5bd31d(0x473)](){const _0x1eb955=_0x5bd31d;this[_0x1eb955(0x387)](this[_0x1eb955(0x2af)][_0x1eb955(0x416)](_0x2acf41[_0x1eb955(0x484)][_0x1eb955(0x35c)],()=>(0x0,_0x2acf41['connectInjector'])(_0x426a1a({'status$':this[_0x1eb955(0x451)]['asObservable']()}),this[_0x1eb955(0x281)])));}};_0x3ff328=_0x355c08([_0x285b7d(0x0,_0x3c58c0[_0x5bd31d(0x3af)]),_0x285b7d(0x1,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0['Injector'])),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759['CollaborationController'])),_0x285b7d(0x3,_0x2acf41[_0x5bd31d(0x374)])],_0x3ff328);function _0x1a76d6(_0x18c1ce){const _0x2e2e37=_0x5bd31d;let _0x346774=_0x18c1ce['getFocusedUnit'](),_0x3b72d2=_0x346774==null?void 0x0:_0x346774[_0x2e2e37(0x345)]();if(_0x3b72d2&&!(0x0,_0x3c58c0[_0x2e2e37(0x34a)])(_0x3b72d2))return _0x3b72d2;let _0x26d2d8=_0x18c1ce[_0x2e2e37(0x29a)](_0x3c58c0[_0x2e2e37(0x230)][_0x2e2e37(0x2a4)]),_0x44cd6b=_0x26d2d8==null?void 0x0:_0x26d2d8[_0x2e2e37(0x345)]();if(_0x44cd6b&&!(0x0,_0x3c58c0[_0x2e2e37(0x34a)])(_0x44cd6b))return _0x44cd6b;let _0x4c1b25=_0x18c1ce[_0x2e2e37(0x29a)](_0x3c58c0[_0x2e2e37(0x230)][_0x2e2e37(0x3e2)]);if(_0x4c1b25)return _0x4c1b25[_0x2e2e37(0x345)]();let _0x5e779b=_0x18c1ce[_0x2e2e37(0x333)](_0x3c58c0[_0x2e2e37(0x230)][_0x2e2e37(0x2a4)])[_0x2e2e37(0x362)](_0x182c14=>!(0x0,_0x3c58c0[_0x2e2e37(0x34a)])(_0x182c14['getUnitId']()));return _0x5e779b?_0x5e779b[_0x2e2e37(0x345)]():null;}function _0x426a1a(_0x273976){let {status$:_0x1a495b}=_0x273976;return function(){const _0x4d7049=_0x101e;return(0x0,_0x5b7ea8[_0x4d7049(0x4b3)])(_0x9fc3a3,{'status$':_0x1a495b});};}let _0x4b069f=(0x0,_0x3c58c0[_0x5bd31d(0x437)])(_0x5bd31d(0x1e1)),_0x575dbc=class extends _0x3c58c0[_0x5bd31d(0x304)]{constructor(_0x53f8e0,_0x507074,_0x47115b,_0x55f7ae,_0x35c354){const _0x4aaeb2=_0x5bd31d;super(),this['_urlService']=_0x53f8e0,this[_0x4aaeb2(0x26c)]=_0x507074,this[_0x4aaeb2(0x234)]=_0x47115b,this[_0x4aaeb2(0x3b8)]=_0x55f7ae,_0x35c354?_0x35c354==null||_0x35c354[_0x4aaeb2(0x407)]()[_0x4aaeb2(0x414)](()=>this['_init']()):(this['_logService']['debug'](_0x4aaeb2(0x2c3),_0x4aaeb2(0x269)),this[_0x4aaeb2(0x236)]());}async[_0x5bd31d(0x236)](){const _0x528ff1=_0x5bd31d;let _0x3a87e1=this['_urlService'][_0x528ff1(0x21d)](_0x528ff1(0x3c7)),_0x4009b5=this[_0x528ff1(0x315)]['getParam']('type'),_0x41bd40=this[_0x528ff1(0x315)][_0x528ff1(0x21d)]('subunit');if(!_0x3a87e1||!_0x4009b5){this['_logService'][_0x528ff1(0x3d6)](_0x528ff1(0x2c3),_0x528ff1(0x1cb));return;}let _0x1f8abe=await this[_0x528ff1(0x3b8)][_0x528ff1(0x3f3)](_0x3a87e1,Number(_0x4009b5),_0x41bd40);_0x1f8abe&&_0x1f8abe instanceof _0x3c58c0[_0x528ff1(0x383)]&&this['_setupSubUnitSync'](_0x1f8abe);}async[_0x5bd31d(0x4bc)](_0x78bd74){const _0x5b94b7=_0x5bd31d;await this[_0x5b94b7(0x425)](_0x78bd74),_0x78bd74[_0x5b94b7(0x493)][_0x5b94b7(0x47c)]((0x0,_0x159beb['takeUntil'])(this['dispose$']))['subscribe'](_0x27acc6=>{const _0xa691e9=_0x5b94b7;_0x27acc6&&this[_0xa691e9(0x231)](_0x27acc6);}),this[_0x5b94b7(0x315)][_0x5b94b7(0x2fa)][_0x5b94b7(0x47c)]((0x0,_0x159beb[_0x5b94b7(0x440)])(this[_0x5b94b7(0x33c)]))[_0x5b94b7(0x264)](()=>this['_updateSubUnitFromURLParams'](_0x78bd74));}[_0x5bd31d(0x231)](_0xbdef85,_0x40e356=!0x1){const _0x24f800=_0x5bd31d;let _0x1f18e0=this[_0x24f800(0x315)][_0x24f800(0x21d)]('subunit');_0xbdef85[_0x24f800(0x436)]()!==_0x1f18e0&&this[_0x24f800(0x315)][_0x24f800(0x43a)](_0x24f800(0x353),_0xbdef85[_0x24f800(0x436)](),_0x40e356);}async['_updateSubUnitFromURLParams'](_0xee277a){const _0x35ca90=_0x5bd31d;var _0x43c14f;let _0x426804=this[_0x35ca90(0x315)][_0x35ca90(0x21d)]('subunit');if(!_0x426804||!_0xee277a[_0x35ca90(0x4aa)](_0x426804)){let _0x41e273=_0xee277a['getUnhiddenWorksheets']()[0x0],_0x458668=_0xee277a['getSheetBySheetId'](_0x41e273);if(!_0x458668)return;this[_0x35ca90(0x231)](_0x458668,!0x0),await this[_0x35ca90(0x234)][_0x35ca90(0x4a4)](_0xf743a1['SetWorksheetActivateCommand']['id'],{'unitId':_0xee277a[_0x35ca90(0x345)](),'subUnitId':_0x41e273});return;}((_0x43c14f=_0xee277a['getActiveSheet']())==null?void 0x0:_0x43c14f['getSheetId']())!==_0x426804&&await this[_0x35ca90(0x234)][_0x35ca90(0x4a4)](_0xf743a1[_0x35ca90(0x251)]['id'],{'unitId':_0xee277a['getUnitId'](),'subUnitId':_0x426804});}};_0x575dbc=_0x355c08([_0x285b7d(0x0,_0x4b069f),_0x285b7d(0x1,_0x3c58c0['ILogService']),_0x285b7d(0x2,_0x3c58c0[_0x5bd31d(0x34c)]),_0x285b7d(0x3,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759[_0x5bd31d(0x439)])),_0x285b7d(0x4,(0x0,_0x3c58c0['Optional'])(_0x50933f[_0x5bd31d(0x367)]))],_0x575dbc);var _0x419541='@univerjs-pro/collaboration-client-ui',_0x526597='1.0.0-alpha.1';let _0x101909={},_0x19955d=class extends _0x3c58c0[_0x5bd31d(0x304)]{constructor(_0xace895,_0x3f480e){const _0x1ab0fe=_0x5bd31d;super(),this[_0x1ab0fe(0x324)]=_0xace895,this[_0x1ab0fe(0x410)]=_0x3f480e,this[_0x1ab0fe(0x236)]();}[_0x5bd31d(0x236)](){const _0x327e91=_0x5bd31d;let _0x219b77=this;this[_0x327e91(0x387)](this['_docClipboardService'][_0x327e91(0x24d)]({'onBeforePasteImage':async _0x48e9b4=>{const _0x33375f=_0x327e91;let _0x597a64=await _0x219b77[_0x33375f(0x410)]['saveImage'](_0x48e9b4);return _0x597a64?{'source':_0x597a64[_0x33375f(0x2f2)],'imageSourceType':_0x597a64['imageSourceType']}:null;}}));}};_0x19955d=_0x355c08([_0x285b7d(0x0,_0x1323e7[_0x5bd31d(0x44a)]),_0x285b7d(0x1,_0x856448[_0x5bd31d(0x2df)])],_0x19955d);let _0x4312ea=[_0x5bd31d(0x1d0),'jiqing.500',_0x5bd31d(0x470),_0x5bd31d(0x461),_0x5bd31d(0x2ad),'yellow.400'];var _0x5e0331=class extends _0x3c58c0['Disposable']{constructor(..._0x965140){const _0x5dcb73=_0x5bd31d;super(..._0x965140),_0x18bf9d(this,_0x5dcb73(0x399),new Map()),_0x18bf9d(this,_0x5dcb73(0x352),0x0);}[_0x5bd31d(0x350)](_0x4ea9e4){const _0x3c1314=_0x5bd31d;if(this[_0x3c1314(0x399)][_0x3c1314(0x200)](_0x4ea9e4))return this[_0x3c1314(0x399)][_0x3c1314(0x294)](_0x4ea9e4);let _0x4c7100=_0x4312ea[this[_0x3c1314(0x352)]];return this[_0x3c1314(0x352)]=(this[_0x3c1314(0x352)]+0x1)%_0x4312ea['length'],this[_0x3c1314(0x399)][_0x3c1314(0x2b2)](_0x4ea9e4,_0x4c7100),_0x4c7100;}};function _0x4119f2(_0x2dfa87){const _0x578cd9=_0x5bd31d;let _0x5c4df8='';for(let _0x4c3bab of _0x2dfa87){let {startOffset:_0x49f3ea,endOffset:_0x4dc754,isActive:_0x19dc9b,rangeType:_0x5e439a,segmentId:_0x18e6fb,segmentPage:_0x5438b4}=_0x4c3bab;_0x5c4df8[_0x578cd9(0x433)]&&(_0x5c4df8+=','),_0x5c4df8+=_0x49f3ea+':'+_0x4dc754+':'+(_0x19dc9b?'1':'0')+':'+_0x5e439a+':'+_0x18e6fb+':'+_0x5438b4;}return _0x5c4df8;}function _0x3d9e64(_0x360a12){const _0x2b88d9=_0x5bd31d;let _0x1ecf88=_0x360a12[_0x2b88d9(0x3ea)](','),_0x460ef6=[];for(let _0xaf3821 of _0x1ecf88){let [_0x5d9ec4,_0x210c08,_0x565c4c,_0x203a86,_0x203cf0,_0x11ac8b]=_0xaf3821[_0x2b88d9(0x3ea)](':');_0x460ef6[_0x2b88d9(0x2e9)]({'startOffset':Number(_0x5d9ec4),'endOffset':Number(_0x210c08),'collapsed':_0x5d9ec4===_0x210c08,'isActive':_0x565c4c==='1','rangeType':_0x203a86===_0x3c58c0[_0x2b88d9(0x2ec)][_0x2b88d9(0x418)]?_0x3c58c0[_0x2b88d9(0x2ec)]['TEXT']:_0x3c58c0[_0x2b88d9(0x2ec)][_0x2b88d9(0x36d)],'segmentId':typeof _0x203cf0==_0x2b88d9(0x45b)?String(_0x203cf0):'','segmentPage':Number(_0x11ac8b==null?-0x1:_0x11ac8b)});}return _0x460ef6[_0x2b88d9(0x255)](_0x187a0d=>_0x187a0d[_0x2b88d9(0x2de)])||(_0x460ef6[0x0][_0x2b88d9(0x2de)]=!0x0),_0x460ef6;}var _0xb42c6c=class extends _0x3c58c0[_0x5bd31d(0x304)]{constructor(..._0x2bdf73){const _0x3564c3=_0x5bd31d;super(..._0x2bdf73),_0x18bf9d(this,_0x3564c3(0x271),new _0x159beb['BehaviorSubject'](null)),_0x18bf9d(this,_0x3564c3(0x27f),this[_0x3564c3(0x271)][_0x3564c3(0x3f5)]());}[_0x5bd31d(0x2cd)](_0x538404){const _0x271712=_0x5bd31d;let {unitID:_0x2b2a62,memberID:_0x831ed8,textRanges:_0x382b3c}=_0x538404,_0x5d3a19=_0x4119f2(_0x382b3c);if(_0x5d3a19==='')return;let _0x50f85f={'unitID':_0x2b2a62,'memberID':_0x831ed8,'selection':_0x5d3a19};this[_0x271712(0x271)][_0x271712(0x1cc)](_0x50f85f);}};let _0x4a33df=class extends _0x3c58c0[_0x5bd31d(0x304)]{get[_0x5bd31d(0x4c0)](){const _0x5a4fc0=_0x5bd31d;return this[_0x5a4fc0(0x2bd)]['getValue']();}get[_0x5bd31d(0x33a)](){const _0x14543=_0x5bd31d;return this['_roomMembers$'][_0x14543(0x48b)]();}constructor(_0x205c62,_0x2c5fc8,_0x192da5,_0x57de0a,_0x5e0223,_0x1b041b,_0x4e288c,_0x413544,_0x38a0f6){const _0xb13661=_0x5bd31d;super(),this[_0xb13661(0x396)]=_0x205c62,this[_0xb13661(0x2c0)]=_0x2c5fc8,this[_0xb13661(0x281)]=_0x192da5,this[_0xb13661(0x38e)]=_0x57de0a,this['_memberService']=_0x5e0223,this['_syncEditingCollabCursorService']=_0x1b041b,this['_transformService']=_0x4e288c,this['_univerInstanceService']=_0x413544,this['_commandService']=_0x38a0f6,_0x18bf9d(this,_0xb13661(0x257),!0x1),_0x18bf9d(this,_0xb13661(0x236),!0x1),_0x18bf9d(this,_0xb13661(0x2bd),new _0x159beb[(_0xb13661(0x31a))](new Map())),_0x18bf9d(this,_0xb13661(0x2c8),this[_0xb13661(0x2bd)]['asObservable']()),_0x18bf9d(this,_0xb13661(0x2cf),new _0x159beb[(_0xb13661(0x31a))]([])),_0x18bf9d(this,_0xb13661(0x265),this[_0xb13661(0x2cf)][_0xb13661(0x47c)]((0x0,_0x159beb[_0xb13661(0x2f5)])(0x12c))),_0x18bf9d(this,_0xb13661(0x22e),(0x0,_0x3c58c0[_0xb13661(0x2fd)])(_0x17d370=>{const _0x464dc4=_0xb13661;let _0x296360={'eventID':_0x130b54['CollaborationEvent'][_0x464dc4(0x449)],'data':{'unitID':this[_0x464dc4(0x396)],'memberID':this[_0x464dc4(0x2c0)][_0x464dc4(0x2c2)](),'selection':_0x4119f2(_0x17d370)}};this['_session']['send'](_0x296360,this[_0x464dc4(0x396)]);},0x64));}[_0x5bd31d(0x303)](){const _0x332952=_0x5bd31d;super[_0x332952(0x303)](),this[_0x332952(0x2bd)][_0x332952(0x1cc)](new Map()),this['_cursorInfo$'][_0x332952(0x41d)](),this['_roomMembers$'][_0x332952(0x1cc)]([]),this['_roomMembers$'][_0x332952(0x41d)]();}[_0x5bd31d(0x301)](){const _0x462ff7=_0x5bd31d;this[_0x462ff7(0x236)]||(this['_init']=!0x0,this[_0x462ff7(0x2c0)][_0x462ff7(0x409)][_0x462ff7(0x47c)]((0x0,_0x159beb[_0x462ff7(0x440)])(this[_0x462ff7(0x33c)]))['subscribe'](_0x41ea95=>{const _0x13425a=_0x462ff7;_0x41ea95===_0x2de759[_0x13425a(0x4b1)]['ONLINE']?this[_0x13425a(0x2fb)]():this[_0x13425a(0x2e5)]();}),this[_0x462ff7(0x2c0)]['event$'][_0x462ff7(0x47c)]((0x0,_0x159beb[_0x462ff7(0x440)])(this[_0x462ff7(0x33c)]))[_0x462ff7(0x264)](_0x2ab01a=>{const _0x32d70e=_0x462ff7;let _0x249000=_0x2ab01a[_0x32d70e(0x221)];_0x249000===_0x130b54[_0x32d70e(0x209)][_0x32d70e(0x449)]&&this[_0x32d70e(0x3c1)](_0x2ab01a),_0x249000===_0x130b54[_0x32d70e(0x209)][_0x32d70e(0x381)]&&this['_onCursorDelete'](_0x2ab01a);}),this[_0x462ff7(0x387)](this[_0x462ff7(0x234)]['onCommandExecuted'](_0x2fd307=>{const _0x523fbd=_0x462ff7;let _0x593bad=_0x2fd307[_0x523fbd(0x417)];_0x593bad!=null&&this[_0x523fbd(0x257)]&&_0x2fd307['id']===_0x355cfd['SetTextSelectionsOperation']['id']&&_0x593bad[_0x523fbd(0x411)]===this['unitID']&&_0x593bad[_0x523fbd(0x27a)]===!0x1&&_0x593bad['ranges'][_0x523fbd(0x433)]>0x0&&this[_0x523fbd(0x22e)](_0x593bad[_0x523fbd(0x226)]);})),this[_0x462ff7(0x479)]['collabCursorState$'][_0x462ff7(0x47c)]((0x0,_0x159beb[_0x462ff7(0x440)])(this[_0x462ff7(0x33c)]))[_0x462ff7(0x264)](_0x3f5395=>{const _0x1c3c5f=_0x462ff7;if((_0x3f5395==null?void 0x0:_0x3f5395['unitID'])!==this[_0x1c3c5f(0x396)])return;let _0x4e3b74={'eventID':_0x130b54[_0x1c3c5f(0x209)]['UPDATE_CURSOR'],'data':_0x3f5395};this[_0x1c3c5f(0x3c1)](_0x4e3b74);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x16a0ab=>{const _0x2b311c=_0x462ff7;if(_0x16a0ab[_0x2b311c(0x417)]==null)return;let _0x19b1d6=_0x16a0ab[_0x2b311c(0x417)];if(_0x16a0ab['id']!==_0x355cfd['RichTextEditingMutation']['id']||_0x19b1d6['unitId']!==this[_0x2b311c(0x396)])return;let _0x18b088={'id':_0x2b311c(0x4a9),'params':_0x19b1d6},_0x3b3348=this[_0x2b311c(0x4c0)];for(let [_0x146585,_0x46cc5f]of _0x3b3348){let _0x1afe72={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2b311c(0x396)],'actions':null,'textRanges':_0x46cc5f['ranges']}},_0x3c5c06=this[_0x2b311c(0x3e3)][_0x2b311c(0x363)](_0x18b088,_0x1afe72,!0x1);if((0x0,_0x130b54[_0x2b311c(0x3b3)])(_0x3c5c06))throw _0x3c5c06[_0x2b311c(0x1fa)];_0x3b3348[_0x2b311c(0x2b2)](_0x146585,{..._0x46cc5f,'ranges':_0x3c5c06[_0x2b311c(0x3c5)]['params'][_0x2b311c(0x1ed)]});}queueMicrotask(()=>{const _0xe58dcb=_0x2b311c;this[_0xe58dcb(0x2bd)][_0xe58dcb(0x1cc)](_0x3b3348);});})));}[_0x5bd31d(0x3c1)](_0x53745c){const _0x9072f9=_0x5bd31d;var _0x314423,_0x48029a;let {memberID:_0x5e589c,selection:_0x2d014e}=_0x53745c[_0x9072f9(0x4bb)],_0x5a32a3=_0x3d9e64(_0x2d014e),_0x2d2f86=(_0x314423=(_0x48029a=this[_0x9072f9(0x275)][_0x9072f9(0x466)](this['unitID'],_0x5e589c))==null?void 0x0:_0x48029a[_0x9072f9(0x34f)])==null?_0x9072f9(0x208):_0x314423,_0x32addf={'color':this[_0x9072f9(0x38e)]['assignAColorForMemberID'](_0x5e589c),'name':_0x2d2f86,'ranges':_0x5a32a3},_0x185ccd=this[_0x9072f9(0x4c0)];_0x185ccd[_0x9072f9(0x2b2)](_0x5e589c,_0x32addf),this['_cursorInfo$'][_0x9072f9(0x1cc)](_0x185ccd);}[_0x5bd31d(0x426)](_0x548ebc){const _0x5953d0=_0x5bd31d;let {memberID:_0x26a3a3}=_0x548ebc[_0x5953d0(0x4bb)],_0x276957=this[_0x5953d0(0x4c0)];_0x276957['delete'](_0x26a3a3),this[_0x5953d0(0x2bd)][_0x5953d0(0x1cc)](_0x276957);}[_0x5bd31d(0x2fb)](){const _0x2dd48c=_0x5bd31d;var _0x10eba7;if(this[_0x2dd48c(0x257)]=!0x0,((_0x10eba7=this[_0x2dd48c(0x1ce)]['getFocusedUnit']())==null?void 0x0:_0x10eba7[_0x2dd48c(0x345)]())!==this[_0x2dd48c(0x396)])return;let _0x344a3b=this[_0x2dd48c(0x281)][_0x2dd48c(0x294)](_0x355cfd['DocSelectionManagerService'])['getDocRanges']();Array['isArray'](_0x344a3b)&&_0x344a3b[_0x2dd48c(0x433)]>0x0&&this['_updateLocalCursor'](_0x344a3b);}[_0x5bd31d(0x2e5)](){const _0x4f41a2=_0x5bd31d;this[_0x4f41a2(0x257)]=!0x1;}};_0x4a33df=_0x355c08([_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0['Injector'])),_0x285b7d(0x3,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x5e0331)),_0x285b7d(0x4,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759[_0x5bd31d(0x278)])),_0x285b7d(0x5,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0xb42c6c)),_0x285b7d(0x6,_0x130b54[_0x5bd31d(0x2b4)]),_0x285b7d(0x7,_0x3c58c0[_0x5bd31d(0x3af)]),_0x285b7d(0x8,_0x3c58c0['ICommandService'])],_0x4a33df);let _0x4454b1=()=>{let _0x26e29c=[],_0x4a482d=!0x1;return _0x43e18f=>{const _0x15e5dd=_0x101e;_0x26e29c[_0x15e5dd(0x2e9)](_0x43e18f),_0x4a482d||(_0x4a482d=!0x0,setTimeout(()=>{const _0x333bff=_0x15e5dd;_0x26e29c[_0x333bff(0x241)](_0x368de2=>_0x368de2()),_0x26e29c=[],_0x4a482d=!0x1;}));};},_0xa76905=class extends _0x3c58c0[_0x5bd31d(0x304)]{get[_0x5bd31d(0x4c0)](){const _0xa55bc1=_0x5bd31d;return this[_0xa55bc1(0x2bd)][_0xa55bc1(0x48b)]();}get['roomMembers'](){const _0x551635=_0x5bd31d;return this[_0x551635(0x2cf)][_0x551635(0x48b)]();}constructor(_0x112272,_0x1cd8fa,_0xe899c7,_0x17ad09,_0x2dd2d7,_0x10b291,_0x37c789,_0x2b635c){const _0x13b8a1=_0x5bd31d;super(),this[_0x13b8a1(0x396)]=_0x112272,this[_0x13b8a1(0x2c0)]=_0x1cd8fa,this['_injector']=_0xe899c7,this[_0x13b8a1(0x38e)]=_0x17ad09,this[_0x13b8a1(0x275)]=_0x2dd2d7,this['_univerInstanceService']=_0x10b291,this[_0x13b8a1(0x234)]=_0x37c789,this[_0x13b8a1(0x330)]=_0x2b635c,_0x18bf9d(this,_0x13b8a1(0x257),!0x1),_0x18bf9d(this,'_init',!0x1),_0x18bf9d(this,_0x13b8a1(0x2bd),new _0x159beb[(_0x13b8a1(0x31a))](new Map())),_0x18bf9d(this,_0x13b8a1(0x2c8),this[_0x13b8a1(0x2bd)][_0x13b8a1(0x3f5)]()),_0x18bf9d(this,_0x13b8a1(0x2cf),new _0x159beb[(_0x13b8a1(0x31a))]([])),_0x18bf9d(this,'roomMembers$',this[_0x13b8a1(0x2cf)][_0x13b8a1(0x47c)]((0x0,_0x159beb[_0x13b8a1(0x2f5)])(0x12c))),_0x18bf9d(this,_0x13b8a1(0x22e),(0x0,_0x3c58c0[_0x13b8a1(0x2fd)])((_0x3bea56,_0x4c8322)=>{const _0x533835=_0x13b8a1;let _0x14a42a={'eventID':_0x130b54[_0x533835(0x209)][_0x533835(0x449)],'data':{'unitID':this['unitID'],'memberID':this[_0x533835(0x2c0)]['getMemberID'](),'selection':(0x0,_0x27a59a[_0x533835(0x1d6)])(_0x3bea56,_0x4c8322[_0x533835(0x21a)])}};this['_session'][_0x533835(0x245)](_0x14a42a,this[_0x533835(0x396)]);},0x64));}[_0x5bd31d(0x303)](){const _0x79e4ee=_0x5bd31d;super[_0x79e4ee(0x303)](),this['_cursorInfo$'][_0x79e4ee(0x1cc)](new Map()),this[_0x79e4ee(0x2bd)]['complete'](),this[_0x79e4ee(0x2cf)][_0x79e4ee(0x1cc)]([]),this[_0x79e4ee(0x2cf)]['complete']();}[_0x5bd31d(0x301)](){const _0x1a9ec6=_0x5bd31d;this['_init']||(this['_init']=!0x0,this[_0x1a9ec6(0x2c0)][_0x1a9ec6(0x409)][_0x1a9ec6(0x47c)]((0x0,_0x159beb[_0x1a9ec6(0x440)])(this[_0x1a9ec6(0x33c)]))[_0x1a9ec6(0x264)](_0x52dc2a=>{const _0x59ef48=_0x1a9ec6;_0x52dc2a===_0x2de759[_0x59ef48(0x4b1)][_0x59ef48(0x252)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1a9ec6(0x2c0)][_0x1a9ec6(0x422)][_0x1a9ec6(0x47c)]((0x0,_0x159beb[_0x1a9ec6(0x440)])(this[_0x1a9ec6(0x33c)]))[_0x1a9ec6(0x264)](_0x497304=>{const _0x17ed09=_0x1a9ec6;let _0x133e86=_0x497304[_0x17ed09(0x221)];_0x133e86===_0x130b54[_0x17ed09(0x209)][_0x17ed09(0x449)]&&this['_onCursorUpdate'](_0x497304),_0x133e86===_0x130b54[_0x17ed09(0x209)][_0x17ed09(0x381)]&&this[_0x17ed09(0x426)](_0x497304);}),this[_0x1a9ec6(0x247)](),this[_0x1a9ec6(0x387)](this[_0x1a9ec6(0x234)][_0x1a9ec6(0x365)](_0xb36e70=>{const _0x561320=_0x1a9ec6;if(this[_0x561320(0x257)]&&_0xb36e70['id']===_0xf743a1['SetSelectionsOperation']['id']&&_0xb36e70[_0x561320(0x417)]['unitId']===this[_0x561320(0x396)]){let _0x5c30f8=_0xb36e70[_0x561320(0x417)];this[_0x561320(0x22e)](_0x5c30f8[_0x561320(0x40f)],_0x5c30f8[_0x561320(0x46c)][0x0]);}})));}[_0x5bd31d(0x3c1)](_0x41be7f){const _0x58990f=_0x5bd31d;var _0xe33cb3,_0x1f3ebe;let {memberID:_0x3f7939,selection:_0x51c3ea}=_0x41be7f[_0x58990f(0x4bb)],{sheetName:_0x49ca7c,range:_0x3567fb}=(0x0,_0x27a59a[_0x58990f(0x35b)])(_0x51c3ea),_0x403bf8={'name':(_0xe33cb3=(_0x1f3ebe=this[_0x58990f(0x275)][_0x58990f(0x466)](this[_0x58990f(0x396)],_0x3f7939))==null?void 0x0:_0x1f3ebe[_0x58990f(0x34f)])==null?_0x58990f(0x208):_0xe33cb3,'range':this[_0x58990f(0x1de)](_0x49ca7c,_0x3567fb),'sheetID':_0x49ca7c,'color':this['_colorAssignService'][_0x58990f(0x350)](_0x3f7939),'selection':_0x51c3ea},_0x335f04=this[_0x58990f(0x4c0)];_0x335f04[_0x58990f(0x2b2)](_0x3f7939,_0x403bf8),this[_0x58990f(0x2bd)][_0x58990f(0x1cc)](_0x335f04);}[_0x5bd31d(0x426)](_0x277e7f){const _0x282ad9=_0x5bd31d;let {memberID:_0x1ab698}=_0x277e7f[_0x282ad9(0x4bb)],_0x34082d=this[_0x282ad9(0x4c0)];_0x34082d[_0x282ad9(0x237)](_0x1ab698),this[_0x282ad9(0x2bd)]['next'](_0x34082d);}[_0x5bd31d(0x1de)](_0x3a6f13,_0x2aa1d3){const _0x44d923=_0x5bd31d;var _0x5610f4;let _0x4fe1d9=(_0x5610f4=this[_0x44d923(0x1ce)][_0x44d923(0x460)](this[_0x44d923(0x396)]))==null||(_0x5610f4=_0x5610f4[_0x44d923(0x4aa)](_0x3a6f13))==null?void 0x0:_0x5610f4['getMergeData']();return(_0x4fe1d9==null?void 0x0:_0x4fe1d9[_0x44d923(0x362)](_0x51f5c1=>_0x3c58c0['Rectangle'][_0x44d923(0x43f)](_0x51f5c1,_0x2aa1d3)))||_0x2aa1d3;}[_0x5bd31d(0x247)](){const _0x51a831=_0x5bd31d;let _0x5f4525=new _0x3c58c0[(_0x51a831(0x41a))](),_0x12e3a1=_0x4454b1(),_0x181b03=()=>{const _0x38369a=_0x51a831;_0x5f4525['dispose']();let _0x47b41a=(_0x3c100b,_0x14a92b,_0x53dc94,_0x253768)=>{const _0x143fb9=_0x101e;let _0x5aa20d=[];switch(_0x3c100b['id']){case _0xf743a1['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x5aa20d=(0x0,_0xf743a1['handleDeleteRangeMoveLeft'])(_0x3c100b,_0x253768);break;case _0xf743a1[_0x143fb9(0x2ea)][_0x143fb9(0x28d)]:_0x5aa20d=(0x0,_0xf743a1[_0x143fb9(0x2f7)])(_0x3c100b,_0x253768);break;case _0xf743a1[_0x143fb9(0x2ea)]['InsertColCommandId']:_0x5aa20d=(0x0,_0xf743a1[_0x143fb9(0x24c)])(_0x3c100b,_0x253768);break;case _0xf743a1[_0x143fb9(0x2ea)][_0x143fb9(0x48e)]:_0x5aa20d=(0x0,_0xf743a1[_0x143fb9(0x27d)])(_0x3c100b,_0x253768);break;case _0xf743a1[_0x143fb9(0x2ea)][_0x143fb9(0x421)]:_0x5aa20d=(0x0,_0xf743a1['handleInsertRangeMoveRight'])(_0x3c100b,_0x253768);break;case _0xf743a1[_0x143fb9(0x2ea)]['InsertRowCommandId']:_0x5aa20d=(0x0,_0xf743a1[_0x143fb9(0x21f)])(_0x3c100b,_0x253768);break;case _0xf743a1[_0x143fb9(0x2ea)][_0x143fb9(0x49c)]:_0x5aa20d=(0x0,_0xf743a1['handleMoveRange'])(_0x3c100b,_0x253768);break;case _0xf743a1[_0x143fb9(0x2ea)][_0x143fb9(0x4b7)]:_0x5aa20d=(0x0,_0xf743a1[_0x143fb9(0x403)])(_0x3c100b,_0x253768);break;case _0xf743a1['EffectRefRangId']['RemoveRowCommandId']:_0x5aa20d=(0x0,_0xf743a1[_0x143fb9(0x42d)])(_0x3c100b,_0x253768);break;}let _0x84fe03=(0x0,_0xf743a1['runRefRangeMutations'])(_0x5aa20d,_0x253768),_0x10401f=this[_0x143fb9(0x4c0)][_0x143fb9(0x294)](_0x14a92b);if(_0x10401f&&_0x84fe03){let _0x5d9cf9={..._0x10401f,'range':_0x84fe03};this[_0x143fb9(0x4c0)]['set'](_0x14a92b,_0x5d9cf9),_0x12e3a1(()=>{const _0x44ecfb=_0x143fb9;let _0x1a379d=this[_0x44ecfb(0x330)][_0x44ecfb(0x45d)](_0x84fe03,_0x117b47=>(_0x1a379d['dispose'](),_0x47b41a(_0x117b47,_0x14a92b,_0x53dc94,_0x84fe03)));_0x5f4525[_0x44ecfb(0x443)](_0x1a379d);});}return{'redos':[],'undos':[]};};this[_0x38369a(0x4c0)][_0x38369a(0x241)]((_0x5c28e0,_0x85a7d7)=>{const _0x32b429=_0x38369a;let {range:_0x15dcad,sheetID:_0x367278}=_0x5c28e0,_0x16c7e3=this[_0x32b429(0x330)][_0x32b429(0x45d)](_0x15dcad,_0x3fa98a=>(_0x16c7e3[_0x32b429(0x303)](),_0x47b41a(_0x3fa98a,_0x85a7d7,_0x367278,_0x15dcad)));_0x5f4525['add'](_0x16c7e3);});};this[_0x51a831(0x387)]((0x0,_0x3c58c0[_0x51a831(0x2aa)])(this['_cursorInfo$'][_0x51a831(0x264)](()=>{_0x181b03();})));}[_0x5bd31d(0x2fb)](){const _0x342712=_0x5bd31d;var _0x194c0c,_0x183c2f;if(this[_0x342712(0x257)]=!0x0,((_0x194c0c=this[_0x342712(0x1ce)][_0x342712(0x2be)]())==null?void 0x0:_0x194c0c[_0x342712(0x345)]())!==this[_0x342712(0x396)])return;let _0xc4aa9a=(_0x183c2f=this[_0x342712(0x281)][_0x342712(0x294)](_0xf743a1['SheetsSelectionsService'])[_0x342712(0x39b)]())==null?void 0x0:_0x183c2f[0x0],_0x53a874=this['_univerInstanceService']['getCurrentUnitOfType'](_0x3c58c0['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0xc4aa9a&&_0x53a874&&this[_0x342712(0x22e)](_0x53a874[_0x342712(0x436)](),_0xc4aa9a);}[_0x5bd31d(0x2e5)](){const _0x80ccea=_0x5bd31d;this[_0x80ccea(0x257)]=!0x1;}};_0xa76905=_0x355c08([_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0[_0x5bd31d(0x386)])),_0x285b7d(0x3,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x5e0331)),_0x285b7d(0x4,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759['MemberService'])),_0x285b7d(0x5,_0x3c58c0[_0x5bd31d(0x3af)]),_0x285b7d(0x6,_0x3c58c0[_0x5bd31d(0x34c)]),_0x285b7d(0x7,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0xf743a1[_0x5bd31d(0x438)]))],_0xa76905);function _0x5833a8(_0x4964c2){const _0x468099=_0x5bd31d;let _0x3cdfab;try{_0x3cdfab=JSON['parse'](_0x4964c2);}catch{return null;}if(typeof _0x3cdfab!=_0x468099(0x243)||!_0x3cdfab)return null;let _0x543d44=_0x3cdfab;if(_0x543d44['kind']!==_0x468099(0x213)||typeof _0x543d44[_0x468099(0x411)]!=_0x468099(0x45b)||typeof _0x543d44[_0x468099(0x40f)]!=_0x468099(0x45b))return null;let _0x2359e1=Array[_0x468099(0x1d9)](_0x543d44[_0x468099(0x4d3)])?_0x543d44[_0x468099(0x4d3)][_0x468099(0x489)](_0x3acd11=>typeof _0x3acd11==_0x468099(0x45b)):[],_0x3f92b0=typeof _0x543d44[_0x468099(0x3bc)]==_0x468099(0x45b)?_0x543d44[_0x468099(0x3bc)]:null;return{'kind':_0x468099(0x213),'unitId':_0x543d44['unitId'],'subUnitId':_0x543d44[_0x468099(0x40f)],'selectedIds':_0x2359e1,'focusedId':_0x3f92b0};}let _0x229a73=class extends _0x3c58c0[_0x5bd31d(0x304)]{get[_0x5bd31d(0x4c0)](){const _0x1abe1d=_0x5bd31d;return this['_cursorInfo$'][_0x1abe1d(0x48b)]();}get[_0x5bd31d(0x33a)](){return this['_roomMembers$']['getValue']();}constructor(_0x1c21e6,_0x264234,_0x2cd2a6,_0x2ec4be,_0x4eb785){const _0x4b5ec5=_0x5bd31d;super(),this[_0x4b5ec5(0x396)]=_0x1c21e6,this['_session']=_0x264234,this[_0x4b5ec5(0x38e)]=_0x2cd2a6,this['_memberService']=_0x2ec4be,this[_0x4b5ec5(0x4be)]=_0x4eb785,_0x18bf9d(this,_0x4b5ec5(0x257),!0x1),_0x18bf9d(this,_0x4b5ec5(0x236),!0x1),_0x18bf9d(this,'_cursorInfo$',new _0x159beb[(_0x4b5ec5(0x31a))](new Map())),_0x18bf9d(this,_0x4b5ec5(0x2c8),this[_0x4b5ec5(0x2bd)][_0x4b5ec5(0x3f5)]()),_0x18bf9d(this,'_roomMembers$',new _0x159beb[(_0x4b5ec5(0x31a))]([])),_0x18bf9d(this,_0x4b5ec5(0x265),this[_0x4b5ec5(0x2cf)][_0x4b5ec5(0x47c)]((0x0,_0x159beb[_0x4b5ec5(0x2f5)])(0x12c))),_0x18bf9d(this,_0x4b5ec5(0x22e),(0x0,_0x3c58c0[_0x4b5ec5(0x2fd)])(_0x363d92=>{const _0x29635a=_0x4b5ec5;let _0x19a202=_0x363d92[_0x29635a(0x4a1)];if(!_0x19a202||_0x19a202['unitId']!==this[_0x29635a(0x396)])return;let _0x3e7069={'kind':_0x29635a(0x213),'unitId':_0x19a202[_0x29635a(0x411)],'subUnitId':_0x19a202[_0x29635a(0x40f)],'selectedIds':_0x363d92[_0x29635a(0x4d3)]['filter'](_0x339709=>typeof _0x339709==_0x29635a(0x45b)),'focusedId':_0x363d92[_0x29635a(0x3bc)]},_0x4d6f85={'eventID':_0x130b54[_0x29635a(0x209)][_0x29635a(0x449)],'data':{'unitID':this[_0x29635a(0x396)],'memberID':this[_0x29635a(0x2c0)][_0x29635a(0x2c2)](),'selection':JSON[_0x29635a(0x228)](_0x3e7069)}};this[_0x29635a(0x2c0)]['send'](_0x4d6f85,this[_0x29635a(0x396)]);},0x64));}[_0x5bd31d(0x303)](){const _0x1891c3=_0x5bd31d;super[_0x1891c3(0x303)](),this[_0x1891c3(0x2bd)][_0x1891c3(0x1cc)](new Map()),this[_0x1891c3(0x2bd)][_0x1891c3(0x41d)](),this[_0x1891c3(0x2cf)][_0x1891c3(0x1cc)]([]),this['_roomMembers$'][_0x1891c3(0x41d)]();}[_0x5bd31d(0x301)](){const _0xc7ae35=_0x5bd31d;this[_0xc7ae35(0x236)]||(this[_0xc7ae35(0x236)]=!0x0,this[_0xc7ae35(0x2c0)][_0xc7ae35(0x409)][_0xc7ae35(0x47c)]((0x0,_0x159beb[_0xc7ae35(0x440)])(this[_0xc7ae35(0x33c)]))[_0xc7ae35(0x264)](_0x2cb965=>{const _0x136c2e=_0xc7ae35;_0x2cb965===_0x2de759[_0x136c2e(0x4b1)]['ONLINE']?this[_0x136c2e(0x2fb)]():this['_toggleOffline']();}),this[_0xc7ae35(0x2c0)][_0xc7ae35(0x422)]['pipe']((0x0,_0x159beb[_0xc7ae35(0x440)])(this[_0xc7ae35(0x33c)]))[_0xc7ae35(0x264)](_0x479857=>{const _0x5d3114=_0xc7ae35;let _0x1c4dce=_0x479857[_0x5d3114(0x221)];_0x1c4dce===_0x130b54[_0x5d3114(0x209)][_0x5d3114(0x449)]&&this[_0x5d3114(0x3c1)](_0x479857),_0x1c4dce===_0x130b54['CollaborationEvent'][_0x5d3114(0x381)]&&this[_0x5d3114(0x426)](_0x479857);}),this[_0xc7ae35(0x4be)][_0xc7ae35(0x4d1)][_0xc7ae35(0x47c)]((0x0,_0x159beb['takeUntil'])(this[_0xc7ae35(0x33c)]))['subscribe'](_0x271fb3=>{const _0xf4aacb=_0xc7ae35;this[_0xf4aacb(0x257)]&&this[_0xf4aacb(0x22e)](_0x271fb3);}));}[_0x5bd31d(0x3c1)](_0x1d72fc){const _0x2f259b=_0x5bd31d;var _0x32380d,_0x4dffbf,_0x23f881,_0x44258c;let {memberID:_0x29d334,selection:_0x5cfc80}=_0x1d72fc[_0x2f259b(0x4bb)];if(_0x29d334===((_0x32380d=(_0x4dffbf=this[_0x2f259b(0x2c0)])[_0x2f259b(0x2c2)])==null?void 0x0:_0x32380d[_0x2f259b(0x487)](_0x4dffbf)))return;let _0x30a93a=_0x5833a8(_0x5cfc80);if(!_0x30a93a||_0x30a93a[_0x2f259b(0x411)]!==this[_0x2f259b(0x396)])return;let _0x451b71=(_0x23f881=(_0x44258c=this['_memberService'][_0x2f259b(0x466)](this[_0x2f259b(0x396)],_0x29d334))==null?void 0x0:_0x44258c[_0x2f259b(0x34f)])==null?_0x2f259b(0x208):_0x23f881,_0x5b45d7={'color':this['_colorAssignService'][_0x2f259b(0x350)](_0x29d334),'name':_0x451b71,'unitId':_0x30a93a[_0x2f259b(0x411)],'subUnitId':_0x30a93a[_0x2f259b(0x40f)],'selectedIds':_0x30a93a['selectedIds'],'focusedId':_0x30a93a['focusedId'],'selection':_0x5cfc80},_0x23e3b7=new Map(this[_0x2f259b(0x4c0)]);_0x23e3b7[_0x2f259b(0x2b2)](_0x29d334,_0x5b45d7),this[_0x2f259b(0x2bd)][_0x2f259b(0x1cc)](_0x23e3b7);}[_0x5bd31d(0x426)](_0xff5176){const _0x313096=_0x5bd31d;let {memberID:_0x2d60a5}=_0xff5176[_0x313096(0x4bb)],_0x5926e8=new Map(this[_0x313096(0x4c0)]);_0x5926e8['delete'](_0x2d60a5),this['_cursorInfo$'][_0x313096(0x1cc)](_0x5926e8);}[_0x5bd31d(0x2fb)](){const _0x375b81=_0x5bd31d;this[_0x375b81(0x257)]=!0x0,this[_0x375b81(0x22e)](this[_0x375b81(0x4be)][_0x375b81(0x475)]());}[_0x5bd31d(0x2e5)](){this['_online']=!0x1;}};_0x229a73=_0x355c08([_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x5e0331)),_0x285b7d(0x3,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759[_0x5bd31d(0x278)])),_0x285b7d(0x4,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x181083['ISlideDrawingStateService']))],_0x229a73);let _0x138c14=class extends _0x3c58c0[_0x5bd31d(0x304)]{constructor(_0x587f18,_0x55465b,_0x56b436){const _0x5374a3=_0x5bd31d;super(),this['_univerInstanceService']=_0x587f18,this['_injector']=_0x55465b,this['_collabSessionService']=_0x56b436,_0x18bf9d(this,_0x5374a3(0x442),new Map()),_0x18bf9d(this,_0x5374a3(0x249),new _0x159beb[(_0x5374a3(0x2b5))]()),this[_0x5374a3(0x236)]();}[_0x5bd31d(0x303)](){const _0x4a2524=_0x5bd31d;super['dispose'](),this[_0x4a2524(0x249)][_0x4a2524(0x41d)](),this[_0x4a2524(0x442)][_0x4a2524(0x241)](_0x417208=>_0x417208[_0x4a2524(0x303)]());}[_0x5bd31d(0x43d)](_0xa3dbb4){const _0x25f400=_0x5bd31d;return this[_0x25f400(0x442)]['has'](_0xa3dbb4)?this[_0x25f400(0x442)][_0x25f400(0x294)](_0xa3dbb4)[_0x25f400(0x2c8)]:this['_entityInit$'][_0x25f400(0x47c)]((0x0,_0x159beb[_0x25f400(0x489)])(_0x266cfd=>_0x266cfd['unitID']===_0xa3dbb4),(0x0,_0x159beb[_0x25f400(0x2e6)])(_0x32232b=>_0x32232b[_0x25f400(0x2c8)]));}[_0x5bd31d(0x236)](){const _0x1d988d=_0x5bd31d;this[_0x1d988d(0x1ce)][_0x1d988d(0x3e9)](_0x3c58c0[_0x1d988d(0x230)][_0x1d988d(0x3e2)])[_0x1d988d(0x47c)]((0x0,_0x159beb[_0x1d988d(0x440)])(this[_0x1d988d(0x33c)]))[_0x1d988d(0x264)](async _0x2c7655=>{const _0x4104ef=_0x1d988d;let _0x2a8282=_0x2c7655[_0x4104ef(0x3c7)][_0x4104ef(0x345)](),_0x3bb713=await this[_0x4104ef(0x431)](_0x2a8282);this[_0x4104ef(0x249)][_0x4104ef(0x1cc)](_0x3bb713),this[_0x4104ef(0x442)][_0x4104ef(0x2b2)](_0x2a8282,_0x3bb713);}),this[_0x1d988d(0x1ce)]['getTypeOfUnitAdded$'](_0x3c58c0[_0x1d988d(0x230)][_0x1d988d(0x2a4)])[_0x1d988d(0x47c)]((0x0,_0x159beb[_0x1d988d(0x440)])(this['dispose$']))['pipe']((0x0,_0x159beb['filter'])(_0x44134a=>!_0x44134a['unit'][_0x1d988d(0x345)]()[_0x1d988d(0x28e)]('__')))['subscribe'](async _0x43d2c6=>{const _0x5ed3ef=_0x1d988d;let {unit:_0x299a9a}=_0x43d2c6,_0x34b7f7=_0x299a9a[_0x5ed3ef(0x345)](),_0x3fe14a=await this[_0x5ed3ef(0x295)](_0x34b7f7);this[_0x5ed3ef(0x249)][_0x5ed3ef(0x1cc)](_0x3fe14a),this[_0x5ed3ef(0x442)]['set'](_0x34b7f7,_0x3fe14a);}),this[_0x1d988d(0x1ce)]['getTypeOfUnitAdded$'](_0x3c58c0[_0x1d988d(0x230)][_0x1d988d(0x2c6)])[_0x1d988d(0x47c)]((0x0,_0x159beb[_0x1d988d(0x440)])(this['dispose$']))[_0x1d988d(0x264)](async _0x41d035=>{const _0x3f2f3f=_0x1d988d;let _0x86aeef=_0x41d035[_0x3f2f3f(0x3c7)][_0x3f2f3f(0x345)](),_0x57117c=await this[_0x3f2f3f(0x39e)](_0x86aeef);this['_entityInit$']['next'](_0x57117c),this[_0x3f2f3f(0x442)][_0x3f2f3f(0x2b2)](_0x86aeef,_0x57117c);}),(0x0,_0x159beb[_0x1d988d(0x2f0)])(this[_0x1d988d(0x1ce)][_0x1d988d(0x220)](_0x3c58c0['UniverInstanceType'][_0x1d988d(0x2a4)]),this[_0x1d988d(0x1ce)][_0x1d988d(0x220)](_0x3c58c0['UniverInstanceType'][_0x1d988d(0x3e2)]),this[_0x1d988d(0x1ce)][_0x1d988d(0x220)](_0x3c58c0[_0x1d988d(0x230)][_0x1d988d(0x2c6)]))[_0x1d988d(0x47c)]((0x0,_0x159beb[_0x1d988d(0x440)])(this[_0x1d988d(0x33c)]))[_0x1d988d(0x264)](_0x3e1d5d=>{const _0x2375aa=_0x1d988d;let _0x1590ef=_0x3e1d5d[_0x2375aa(0x345)](),_0x34b6da=this['_entities']['get'](_0x1590ef);_0x34b6da&&(_0x34b6da[_0x2375aa(0x303)](),this[_0x2375aa(0x442)][_0x2375aa(0x237)](_0x1590ef));});}async[_0x5bd31d(0x431)](_0x1af36b){const _0x1a0841=_0x5bd31d;let _0x31c6e4=await this[_0x1a0841(0x33f)]['requireSession'](_0x1af36b),_0x49da8e=this[_0x1a0841(0x281)][_0x1a0841(0x2c4)](_0xa76905,_0x1af36b,_0x31c6e4);return _0x49da8e[_0x1a0841(0x301)](),_0x49da8e;}async[_0x5bd31d(0x295)](_0x431b8e){const _0x3803e7=_0x5bd31d;let _0x6e58bd=await this['_collabSessionService'][_0x3803e7(0x267)](_0x431b8e),_0x337bb2=this[_0x3803e7(0x281)]['createInstance'](_0x4a33df,_0x431b8e,_0x6e58bd);return _0x337bb2['init'](),_0x337bb2;}async[_0x5bd31d(0x39e)](_0x17c74b){const _0x1f83bc=_0x5bd31d;let _0x488881=await this[_0x1f83bc(0x33f)][_0x1f83bc(0x267)](_0x17c74b),_0x1e0556=this['_injector'][_0x1f83bc(0x2c4)](_0x229a73,_0x17c74b,_0x488881);return _0x1e0556[_0x1f83bc(0x301)](),_0x1e0556;}};_0x138c14=_0x355c08([_0x285b7d(0x0,_0x3c58c0[_0x5bd31d(0x3af)]),_0x285b7d(0x1,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0[_0x5bd31d(0x386)])),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759['CollaborationSessionService']))],_0x138c14);function _0x2be770(_0x1972f0,_0x43a144){const _0x4bc375=_0x5bd31d;var _0x123df9,_0x1ccc30,_0x18a5cd;let {radius:_0x2b8798,width:_0x1373d0,height:_0x3e2303}=_0x43a144;_0x2b8798=(_0x123df9=_0x2b8798)==null?0x0:_0x123df9,_0x1373d0=(_0x1ccc30=_0x1373d0)==null?0x1e:_0x1ccc30,_0x3e2303=(_0x18a5cd=_0x3e2303)==null?0x1e:_0x18a5cd;let _0x28a2b0=0x0,_0x73a6f=0x0,_0x1bd4e9=0x0;_0x28a2b0=_0x73a6f=_0x1bd4e9=Math['min'](_0x2b8798,_0x1373d0/0x2,_0x3e2303/0x2),_0x1972f0[_0x4bc375(0x1df)](),_0x1972f0[_0x4bc375(0x3e7)](_0x28a2b0,0x0),_0x1972f0[_0x4bc375(0x2d6)](_0x1373d0-_0x73a6f,0x0),_0x1972f0[_0x4bc375(0x3ec)](_0x1373d0-_0x73a6f,_0x73a6f,_0x73a6f,Math['PI']*0x3/0x2,0x0,!0x1),_0x1972f0[_0x4bc375(0x2d6)](_0x1373d0,_0x3e2303-_0x1bd4e9),_0x1972f0['arc'](_0x1373d0-_0x1bd4e9,_0x3e2303-_0x1bd4e9,_0x1bd4e9,0x0,Math['PI']/0x2,!0x1),_0x1972f0[_0x4bc375(0x2d6)](0x0,_0x3e2303),_0x1972f0['lineTo'](0x0,_0x28a2b0),_0x1972f0[_0x4bc375(0x3ec)](_0x28a2b0,_0x28a2b0,_0x28a2b0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1972f0['closePath'](),_0x43a144['fill']&&(_0x1972f0['save'](),_0x1972f0['fillStyle']=_0x43a144[_0x4bc375(0x483)],_0x43a144[_0x4bc375(0x441)]==='evenodd'?_0x1972f0[_0x4bc375(0x483)](_0x4bc375(0x2a3)):_0x1972f0[_0x4bc375(0x483)](),_0x1972f0[_0x4bc375(0x1e8)]());}var _0x5876a=class _0x1a95ae extends _0x5425ea[_0x5bd31d(0x3b7)]{constructor(_0x1ce76f,_0x146d02){const _0x1ad72e=_0x5bd31d;super(_0x1ce76f,_0x146d02),_0x18bf9d(this,'color',void 0x0),_0x18bf9d(this,_0x1ad72e(0x3b5),void 0x0),this[_0x1ad72e(0x3b9)]=_0x146d02==null?void 0x0:_0x146d02[_0x1ad72e(0x3b9)],this[_0x1ad72e(0x3b5)]=_0x146d02==null?void 0x0:_0x146d02[_0x1ad72e(0x3b5)];}static[_0x5bd31d(0x38a)](_0x80e058,_0x225568){const _0x3bafc4=_0x5bd31d;let {text:_0x333a0c,color:_0x298b14}=_0x225568;_0x80e058[_0x3bafc4(0x47e)](),_0x80e058[_0x3bafc4(0x1f6)]=_0x3bafc4(0x2d8);let _0x533a4c=_0x80e058[_0x3bafc4(0x3ee)](_0x333a0c)['width'];if(_0x2be770(_0x80e058,{'height':0x14,'radius':0x4,'width':Math[_0x3bafc4(0x4cf)](_0x533a4c+0x8,0xc8),'fill':_0x298b14,'evented':!0x1}),_0x80e058[_0x3bafc4(0x31e)]='#FFF',_0x533a4c>0xc0){let _0x5d0da3='',_0x425520=0x0;for(let _0x37be8a of _0x333a0c){let _0x2dd0e9=_0x80e058['measureText'](_0x37be8a)[_0x3bafc4(0x25a)];if(_0x425520+_0x2dd0e9<=0xc0-_0x80e058[_0x3bafc4(0x3ee)]('...')['width'])_0x5d0da3+=_0x37be8a,_0x425520+=_0x2dd0e9;else{_0x5d0da3+=_0x3bafc4(0x2b8);break;}}_0x80e058['fillText'](_0x5d0da3,0x4,0xf);}else _0x80e058['fillText'](_0x333a0c,0x4,0xf);_0x80e058[_0x3bafc4(0x1e8)]();}[_0x5bd31d(0x412)](_0x244d42){_0x1a95ae['drawWith'](_0x244d42,this);}};let _0x1b3759=_0x5bd31d(0x1fd);var _0xdce1e9=class{constructor(_0x2e406b,_0x5b78eb,_0x5de8d2,_0x1986cd){const _0x283c57=_0x5bd31d;this['_cursor']=_0x2e406b,this['_scene']=_0x5b78eb,this[_0x283c57(0x1ee)]=_0x5de8d2,this[_0x283c57(0x20f)]=_0x1986cd,_0x18bf9d(this,'_shapes',[]),_0x18bf9d(this,_0x283c57(0x34e),null),_0x18bf9d(this,_0x283c57(0x25f),null),_0x18bf9d(this,_0x283c57(0x459),null),_0x18bf9d(this,_0x283c57(0x297),null),_0x18bf9d(this,_0x283c57(0x402),null),this[_0x283c57(0x23f)]();}set['_hover'](_0x1c7d58){const _0x2a2bd5=_0x5bd31d;_0x1c7d58?(this[_0x2a2bd5(0x459)]&&this[_0x2a2bd5(0x459)]['hide'](),this['_textBubble']&&this[_0x2a2bd5(0x25f)][_0x2a2bd5(0x3a7)]()):(this[_0x2a2bd5(0x459)]&&this['_anchorDot'][_0x2a2bd5(0x3a7)](),this[_0x2a2bd5(0x25f)]&&this[_0x2a2bd5(0x25f)][_0x2a2bd5(0x1dc)]());}['dispose'](){const _0x14f3ec=_0x5bd31d;for(let _0x311864 of this[_0x14f3ec(0x3ce)])_0x311864[_0x14f3ec(0x303)]();this[_0x14f3ec(0x25f)]&&this[_0x14f3ec(0x25f)]['dispose'](),this[_0x14f3ec(0x459)]&&this[_0x14f3ec(0x459)][_0x14f3ec(0x303)](),this[_0x14f3ec(0x34e)]&&this[_0x14f3ec(0x34e)][_0x14f3ec(0x303)](),this[_0x14f3ec(0x402)]&&this[_0x14f3ec(0x402)]();}[_0x5bd31d(0x23f)](){const _0x33cc52=_0x5bd31d;let {_docSkeleton:_0x33b64a,_document:_0x1403b5}=this,{color:_0x2f32bf,name:_0x1199d2,ranges:_0x54dfad}=this['_cursor'],_0x56512a=_0x1403b5[_0x33cc52(0x1eb)](),{docsLeft:_0x59bb9b,docsTop:_0x21afaf}=_0x56512a,_0x2ca710=new _0x1323e7[(_0x33cc52(0x22c))](_0x56512a,_0x33b64a);for(let {startOffset:_0x85c47,endOffset:_0x56c54d,rangeType:_0x1ff151,segmentId:_0x5af11c,segmentPage:_0x355c9a,collapsed:_0x32e7dd,isActive:_0x58cf76}of _0x54dfad){let _0x1c1cec=_0x33b64a['findNodePositionByCharIndex'](_0x85c47,!0x0,_0x5af11c,_0x355c9a),_0x44016f=_0x33b64a[_0x33cc52(0x424)](_0x56c54d,!0x0,_0x5af11c,_0x355c9a);if(_0x44016f==null&&(_0x44016f=_0x33b64a[_0x33cc52(0x424)](_0x56c54d-0x1,!0x1,_0x5af11c,_0x355c9a)),_0x58cf76){let {contentBoxPointGroup:_0x2acb9a}=_0x2ca710['getRangePointData'](_0x44016f,_0x44016f);if(_0x2acb9a['length']===0x0)continue;this[_0x33cc52(0x337)](_0x2f32bf,_0x2acb9a,_0x59bb9b,_0x21afaf,_0x1199d2),this[_0x33cc52(0x402)]=this[_0x33cc52(0x3f8)]();}if(_0x1c1cec&&_0x44016f){if(_0x1ff151===_0x3c58c0[_0x33cc52(0x2ec)][_0x33cc52(0x36d)]){var _0x1fd498;let {pointGroup:_0x2f5de6}=(_0x1fd498=new _0x1323e7[(_0x33cc52(0x3b6))](_0x56512a,_0x33b64a)[_0x33cc52(0x42a)](_0x1c1cec,_0x44016f))==null?{}:_0x1fd498;if(_0x2f5de6==null||_0x2f5de6['length']===0x0)continue;this['_drawRectRange'](_0x2f32bf,_0x2f5de6,_0x59bb9b,_0x21afaf);}else{if(!_0x32e7dd){let {borderBoxPointGroup:_0x4affc8}=_0x2ca710[_0x33cc52(0x42a)](_0x1c1cec,_0x44016f);if(_0x4affc8[_0x33cc52(0x433)]===0x0)continue;this[_0x33cc52(0x259)](_0x2f32bf,_0x4affc8,_0x59bb9b,_0x21afaf);}}}}}[_0x5bd31d(0x337)](_0x4d66e2,_0x27b4e8,_0x5733fb,_0x3bef3b,_0x5cebb1){const _0x258ab0=_0x5bd31d;let {left:_0x1f5ff9,top:_0x5a0eb4,height:_0x10444b}=this[_0x258ab0(0x2fc)](_0x27b4e8),_0x5eda84=1.5/this[_0x258ab0(0x3dc)](),_0x56a0fa=new _0x5425ea[(_0x258ab0(0x4a3))](_0x1b3759+(0x0,_0x3c58c0[_0x258ab0(0x219)])(0x6),{'left':_0x1f5ff9+_0x5733fb-_0x5eda84,'top':_0x5a0eb4+_0x3bef3b,'height':_0x10444b,'width':1.5,'fill':_0x4d66e2||(0x0,_0x5425ea['getColor'])(_0x3c58c0[_0x258ab0(0x384)]['black'],0x0),'strokeWidth':_0x5eda84,'stroke':_0x258ab0(0x339),'evented':!0x0});this[_0x258ab0(0x34e)]=_0x56a0fa,this['_scene'][_0x258ab0(0x49a)](_0x56a0fa,_0x1323e7['TEXT_RANGE_LAYER_INDEX']);let _0x3441e3=new _0x5425ea[(_0x258ab0(0x4a3))](_0x1b3759+(0x0,_0x3c58c0[_0x258ab0(0x219)])(0x6),{'left':_0x1f5ff9+_0x5733fb-_0x5eda84,'top':_0x5a0eb4+_0x3bef3b-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x4d66e2||(0x0,_0x5425ea['getColor'])(_0x3c58c0['COLORS'][_0x258ab0(0x45e)],0x0),'strokeWidth':0x0,'stroke':_0x4d66e2||(0x0,_0x5425ea[_0x258ab0(0x285)])(_0x3c58c0['COLORS']['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x3441e3,this[_0x258ab0(0x32f)][_0x258ab0(0x49a)](_0x3441e3,_0x1323e7[_0x258ab0(0x2b9)]);let _0x12a260=new _0x5876a(_0x1b3759+(0x0,_0x3c58c0[_0x258ab0(0x219)])(0x6),{'left':_0x1f5ff9+_0x5733fb-_0x5eda84,'top':_0x5a0eb4+_0x3bef3b-0x14,'text':_0x5cebb1,'color':_0x4d66e2});this['_textBubble']=_0x12a260,this[_0x258ab0(0x32f)]['addObject'](_0x12a260,_0x1323e7[_0x258ab0(0x2b9)]),this[_0x258ab0(0x1f3)]=!0x1;}[_0x5bd31d(0x3f8)](){const _0x3d5aaa=_0x5bd31d;let _0x530853=this[_0x3d5aaa(0x34e)][_0x3d5aaa(0x20c)]['subscribeEvent'](()=>{const _0x274628=_0x3d5aaa;this[_0x274628(0x1f3)]=!0x0;}),_0x4e0613=this[_0x3d5aaa(0x34e)][_0x3d5aaa(0x4ae)][_0x3d5aaa(0x1f7)](()=>{const _0x531a04=_0x3d5aaa;this[_0x531a04(0x297)]&&clearTimeout(this['_hideTimer']),this[_0x531a04(0x297)]=setTimeout(()=>{const _0x4a51ee=_0x531a04;this[_0x4a51ee(0x1f3)]=!0x1;},0x7d0);});return()=>{const _0x2de4ce=_0x3d5aaa;_0x530853[_0x2de4ce(0x375)](),_0x4e0613['unsubscribe']();};}['_drawTextRange'](_0x11f79,_0x22d2cc,_0x3628d0,_0x5d4c84){const _0x538a72=_0x5bd31d;let _0x4b9ace=0.2,_0x2c49d8=new _0x3c58c0[(_0x538a72(0x299))](_0x11f79)[_0x538a72(0x26f)](_0x4b9ace)[_0x538a72(0x42c)](),_0xc32339=new _0x5425ea[(_0x538a72(0x368))](_0x538a72(0x268)+(0x0,_0x3c58c0[_0x538a72(0x219)])(0x6),{'pointsGroup':_0x22d2cc,'fill':_0x2c49d8||(0x0,_0x5425ea[_0x538a72(0x285)])(_0x3c58c0['COLORS'][_0x538a72(0x45e)],_0x4b9ace),'left':_0x3628d0,'top':_0x5d4c84,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x538a72(0x3ce)][_0x538a72(0x2e9)](_0xc32339),this['_scene'][_0x538a72(0x49a)](_0xc32339,_0x1323e7[_0x538a72(0x2b9)]);}[_0x5bd31d(0x2a2)](_0xb2b343,_0x1a12e9,_0x58caa1,_0x2c2b4c){const _0x2d83a6=_0x5bd31d;let _0x3cf0c5=0.2,_0x20a5ea=new _0x3c58c0['ColorKit'](_0xb2b343)[_0x2d83a6(0x26f)](_0x3cf0c5)[_0x2d83a6(0x42c)](),_0x4470eb=new _0x5425ea[(_0x2d83a6(0x368))](_0x2d83a6(0x28c)+(0x0,_0x3c58c0[_0x2d83a6(0x219)])(0x6),{'pointsGroup':_0x1a12e9,'fill':_0x20a5ea||(0x0,_0x5425ea[_0x2d83a6(0x285)])(_0x3c58c0['COLORS'][_0x2d83a6(0x45e)],_0x3cf0c5),'left':_0x58caa1,'top':_0x2c2b4c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d83a6(0x3ce)][_0x2d83a6(0x2e9)](_0x4470eb),this[_0x2d83a6(0x32f)][_0x2d83a6(0x49a)](_0x4470eb,_0x1323e7['TEXT_RANGE_LAYER_INDEX']);}[_0x5bd31d(0x2fc)](_0x35c290){let _0x5354ec=_0x35c290[0x0],_0x2eba9b=_0x5354ec[0x0],_0x291ea2=_0x5354ec[0x2],{x:_0x238cdf,y:_0x30d1d5}=_0x2eba9b,{x:_0x263cc8,y:_0x4bc41f}=_0x291ea2;return{'left':_0x238cdf,'top':_0x30d1d5,'width':_0x263cc8-_0x238cdf,'height':_0x4bc41f-_0x30d1d5};}['_getScale'](){const _0x51c25d=_0x5bd31d;let {scaleX:_0xb49699,scaleY:_0x5d6a87}=this[_0x51c25d(0x32f)][_0x51c25d(0x3ad)]();return Math['max'](_0xb49699,_0x5d6a87);}};let _0x38b461=class extends _0x3c58c0[_0x5bd31d(0x304)]{constructor(_0x4f9aff,_0xaf4fe3,_0x1dc085,_0x3f50ac,_0x1b5ec1){const _0x181add=_0x5bd31d;super(),this[_0x181add(0x430)]=_0x4f9aff,this[_0x181add(0x453)]=_0xaf4fe3,this['_collabCursorController']=_0x1dc085,this['_commandService']=_0x3f50ac,this['_themeService']=_0x1b5ec1,_0x18bf9d(this,'_cursorShapes',[]),_0x18bf9d(this,_0x181add(0x43c),[]),this['_init']();}['_init'](){const _0x429c8d=_0x5bd31d;let _0xba835b=this[_0x429c8d(0x430)][_0x429c8d(0x411)],_0x51a143=this[_0x429c8d(0x453)];this['disposeWithMe']((0x0,_0x159beb[_0x429c8d(0x4a6)])([this[_0x429c8d(0x4b6)]['getCollabCursors$'](_0xba835b),this[_0x429c8d(0x203)][_0x429c8d(0x38f)]])[_0x429c8d(0x47c)]((0x0,_0x54efda[_0x429c8d(0x389)])(([_0x23ac44,_0x3cfc45])=>({'skeleton':_0x51a143[_0x429c8d(0x415)](),'cursors':[..._0x23ac44['values']()][_0x429c8d(0x1ec)](_0x52c443=>({..._0x52c443,'color':this[_0x429c8d(0x203)]['getColorFromTheme'](_0x52c443[_0x429c8d(0x3b9)])}))})))[_0x429c8d(0x264)](_0x135779=>{const _0x225575=_0x429c8d;if(this[_0x225575(0x3ef)](),_0x135779){let {skeleton:_0x41eb83,cursors:_0x1203a5}=_0x135779;this[_0x225575(0x225)](_0x41eb83,_0x1203a5);}})),this[_0x429c8d(0x450)](),this[_0x429c8d(0x321)]();}[_0x5bd31d(0x225)](_0x4e2b61,_0x17f4a6){const _0x5b2310=_0x5bd31d;let {scene:_0x494853,mainComponent:_0x396eff}=this[_0x5b2310(0x430)],_0x2b6bb2=_0x17f4a6[_0x5b2310(0x389)](_0x385c97=>new _0xdce1e9(_0x385c97,_0x494853,_0x4e2b61,_0x396eff));this['_cursorShapes']=_0x2b6bb2,this[_0x5b2310(0x43c)]=_0x17f4a6;}[_0x5bd31d(0x38c)](){const _0x15cfe4=_0x5bd31d;this[_0x15cfe4(0x3ef)]();let {scene:_0x76c04f,mainComponent:_0x1638d3}=this[_0x15cfe4(0x430)],_0x35e989=this['_docSkeletonManagerService'][_0x15cfe4(0x415)](),_0x9656c1=this[_0x15cfe4(0x43c)][_0x15cfe4(0x389)](_0x2a1794=>new _0xdce1e9(_0x2a1794,_0x76c04f,_0x35e989,_0x1638d3));this[_0x15cfe4(0x3ba)]=_0x9656c1;}[_0x5bd31d(0x3ef)](){const _0x2ffef0=_0x5bd31d;this[_0x2ffef0(0x3ba)]['forEach'](_0x5f5785=>_0x5f5785[_0x2ffef0(0x303)]()),this[_0x2ffef0(0x3ba)]=[];}[_0x5bd31d(0x321)](){const _0x2aba2a=_0x5bd31d;let _0x5fb5c0=[_0x1323e7[_0x2aba2a(0x4cd)]['id']];this[_0x2aba2a(0x387)](this[_0x2aba2a(0x234)][_0x2aba2a(0x365)](_0x3912db=>{const _0x5a26a8=_0x2aba2a;_0x5fb5c0[_0x5a26a8(0x376)](_0x3912db['id'])&&_0x3912db[_0x5a26a8(0x417)][_0x5a26a8(0x411)]===this[_0x5a26a8(0x430)][_0x5a26a8(0x411)]&&this[_0x5a26a8(0x38c)]();}));}[_0x5bd31d(0x450)](){const _0x589df7=_0x5bd31d;this[_0x589df7(0x387)]((0x0,_0x3c58c0[_0x589df7(0x27c)])(this[_0x589df7(0x430)][_0x589df7(0x3e5)]['onTransformChange$'])[_0x589df7(0x47c)]((0x0,_0x54efda[_0x589df7(0x489)])(_0x121ffc=>_0x121ffc['type']===_0x5425ea[_0x589df7(0x20b)][_0x589df7(0x3d4)]),(0x0,_0x54efda['throttleTime'])(0x10))[_0x589df7(0x264)](()=>{const _0x4abb58=_0x589df7;this[_0x4abb58(0x38c)]();}));}};_0x38b461=_0x355c08([_0x285b7d(0x1,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x355cfd[_0x5bd31d(0x435)])),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x138c14)),_0x285b7d(0x3,_0x3c58c0[_0x5bd31d(0x34c)]),_0x285b7d(0x4,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0['ThemeService']))],_0x38b461);var _0x51ab5a=class extends _0x5425ea['Shape']{constructor(_0x176d64,_0x550686){const _0x40cb34=_0x5bd31d;if(super(_0x176d64,_0x550686),_0x18bf9d(this,_0x40cb34(0x3c3),void 0x0),_0x18bf9d(this,_0x40cb34(0x214),!0x1),_0x18bf9d(this,_0x40cb34(0x4c9),void 0x0),_0x18bf9d(this,_0x40cb34(0x394),''),_0x18bf9d(this,_0x40cb34(0x2d4),'top'),_0x18bf9d(this,'_backgroundColor',void 0x0),_0x18bf9d(this,_0x40cb34(0x20a),void 0x0),_0x18bf9d(this,_0x40cb34(0x1d1),void 0x0),_0x18bf9d(this,_0x40cb34(0x347),0x4),_0x18bf9d(this,_0x40cb34(0x397),void 0x0),_0x18bf9d(this,_0x40cb34(0x279),void 0x0),_0x18bf9d(this,_0x40cb34(0x305),!0x0),_0x18bf9d(this,'_offsetY',0x0),_0x550686){var _0x2bf7f4;if(this['setShapeProps'](_0x550686),_0x550686['highlight']&&((_0x2bf7f4=_0x550686[_0x40cb34(0x2e2)])==null?this[_0x40cb34(0x347)]:_0x2bf7f4)){var _0x1c5fcf;this[_0x40cb34(0x3e8)]((_0x1c5fcf=_0x550686[_0x40cb34(0x2e2)])==null?this[_0x40cb34(0x347)]:_0x1c5fcf);}}this[_0x40cb34(0x20c)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x40cb34(0x4ae)][_0x40cb34(0x1f7)](()=>this[_0x40cb34(0x47f)]({'hovered':!0x1}));}[_0x5bd31d(0x318)](_0x4a0068){const _0x364099=_0x5bd31d;this[_0x364099(0x311)]=_0x4a0068;}['setShapeProps'](_0x3c056f){const _0x49494a=_0x5bd31d;var _0x25b899,_0x5843fa,_0x54b20c,_0x38c65f,_0x1e3bb8,_0x4e574c,_0xe81dd4;this[_0x49494a(0x3c3)]=(_0x25b899=_0x3c056f['color'])==null?this['_color']:_0x25b899,this[_0x49494a(0x214)]=(_0x5843fa=_0x3c056f['hovered'])==null?this[_0x49494a(0x214)]:_0x5843fa,this['_range']=(_0x54b20c=_0x3c056f[_0x49494a(0x21a)])==null?this['_range']:_0x54b20c,this[_0x49494a(0x394)]=(_0x38c65f=_0x3c056f[_0x49494a(0x34f)])==null?this[_0x49494a(0x394)]:_0x38c65f,this[_0x49494a(0x2d4)]=(_0x1e3bb8=_0x3c056f[_0x49494a(0x242)])==null?this[_0x49494a(0x2d4)]:_0x1e3bb8,this['_backgroundColor']=(_0x4e574c=_0x3c056f['backgroundColor'])==null?this[_0x49494a(0x4a7)]:_0x4e574c,this[_0x49494a(0x20a)]=(_0xe81dd4=_0x3c056f[_0x49494a(0x30d)])==null?this[_0x49494a(0x20a)]:_0xe81dd4,_0x3c056f[_0x49494a(0x2e2)]!==void 0x0&&(this['_highlightSecond']=_0x3c056f['highlightSecond']),_0x3c056f[_0x49494a(0x446)]!==void 0x0&&(this[_0x49494a(0x1d1)]=_0x3c056f['highlight']),_0x3c056f[_0x49494a(0x49b)]!==void 0x0&&(this[_0x49494a(0x311)]=_0x3c056f[_0x49494a(0x49b)]),this['transformByState']({'width':_0x3c056f[_0x49494a(0x25a)],'height':_0x3c056f[_0x49494a(0x3d5)]});}[_0x5bd31d(0x1e2)](_0x2d4333){const _0x18edbd=_0x5bd31d;let {row:_0x47ec38,column:_0x575da4}=_0x2d4333;if(_0x47ec38>=this[_0x18edbd(0x4c9)][_0x18edbd(0x284)]&&_0x47ec38<=this[_0x18edbd(0x4c9)][_0x18edbd(0x3cd)]&&_0x575da4>=this[_0x18edbd(0x4c9)]['startColumn']&&_0x575da4<=this[_0x18edbd(0x4c9)][_0x18edbd(0x211)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5bd31d(0x3e8)](_0x87f4c1){const _0x178a38=_0x5bd31d;this['_stopBlinking'](),this[_0x178a38(0x305)]=!0x0,this[_0x178a38(0x279)]=window[_0x178a38(0x329)](()=>{const _0x29081d=_0x178a38;this[_0x29081d(0x305)]=!this[_0x29081d(0x305)],this[_0x29081d(0x3d1)](!0x0);},0x1f4),this[_0x178a38(0x397)]=window[_0x178a38(0x308)](()=>{this['_stopBlinking'](),this['_isBlinkVisible']=!0x0,this['makeDirty'](!0x0);},_0x87f4c1*0x3e8);}[_0x5bd31d(0x298)](){const _0x489cdc=_0x5bd31d;this[_0x489cdc(0x279)]&&(window[_0x489cdc(0x3d2)](this['_blinkIntervalTimer']),this[_0x489cdc(0x279)]=void 0x0),this['_blinkTimer']&&(window[_0x489cdc(0x201)](this[_0x489cdc(0x397)]),this[_0x489cdc(0x397)]=void 0x0);}[_0x5bd31d(0x1e6)](_0x4ace4b){return!0x1;}[_0x5bd31d(0x303)](){this['_stopBlinking'](),super['dispose']();}[_0x5bd31d(0x412)](_0x26715f){const _0x2cfe2f=_0x5bd31d;let _0x220999=this['_color'],_0x2e5025=this[_0x2cfe2f(0x4a7)];if(this[_0x2cfe2f(0x1d1)]&&!this[_0x2cfe2f(0x305)]&&(_0x220999=this[_0x2cfe2f(0x3ed)](this[_0x2cfe2f(0x3c3)]),_0x2e5025=this[_0x2cfe2f(0x4a7)]?this[_0x2cfe2f(0x3ed)](this[_0x2cfe2f(0x4a7)]):void 0x0),_0x5425ea['Rect'][_0x2cfe2f(0x38a)](_0x26715f,{'width':this['width'],'height':this[_0x2cfe2f(0x3d5)],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x220999,'evented':!0x1,'fill':_0x2e5025}),this[_0x2cfe2f(0x214)]||this['_showText']){var _0x58adf4;_0x26715f[_0x2cfe2f(0x47e)](),_0x26715f[_0x2cfe2f(0x3c0)](0x1,0x0,0x0,0x1,this[_0x2cfe2f(0x25a)],(this[_0x2cfe2f(0x2d4)]===_0x2cfe2f(0x44f)?0x0:-0x14)+((_0x58adf4=this[_0x2cfe2f(0x311)])==null?0x0:_0x58adf4)),_0x5876a['drawWith'](_0x26715f,{'text':this[_0x2cfe2f(0x394)],'color':_0x220999}),_0x26715f[_0x2cfe2f(0x1e8)]();}}[_0x5bd31d(0x3ed)](_0x4fee94){const _0x5802c6=_0x5bd31d;return _0x4fee94[_0x5802c6(0x28e)]('#')?_0x5802c6(0x338)+Number[_0x5802c6(0x3db)](_0x4fee94[_0x5802c6(0x212)](0x1,0x3),0x10)+',\x20'+Number[_0x5802c6(0x3db)](_0x4fee94[_0x5802c6(0x212)](0x3,0x5),0x10)+',\x20'+Number[_0x5802c6(0x3db)](_0x4fee94[_0x5802c6(0x212)](0x5,0x7),0x10)+_0x5802c6(0x39a):_0x4fee94[_0x5802c6(0x28e)](_0x5802c6(0x3f2))?_0x4fee94[_0x5802c6(0x2b6)](/[\d.]+\)$/g,_0x5802c6(0x482)):_0x4fee94[_0x5802c6(0x28e)](_0x5802c6(0x428))?_0x4fee94[_0x5802c6(0x2b6)]('rgb','rgba')[_0x5802c6(0x2b6)](')',',\x200.2)'):_0x4fee94;}};let _0xbd2359=class extends _0x3c58c0[_0x5bd31d(0x304)]{constructor(_0x29030f,_0x4c8284,_0x11b80e,_0x11b833){const _0x1e228b=_0x5bd31d;super(),this['_context']=_0x29030f,this[_0x1e228b(0x21e)]=_0x4c8284,this[_0x1e228b(0x4b6)]=_0x11b80e,this[_0x1e228b(0x203)]=_0x11b833,_0x18bf9d(this,_0x1e228b(0x43c),new Set()),_0x18bf9d(this,_0x1e228b(0x325),null),_0x18bf9d(this,_0x1e228b(0x3b4),null),this['_init']();}[_0x5bd31d(0x236)](){const _0x1de1f1=_0x5bd31d;this[_0x1de1f1(0x21e)][_0x1de1f1(0x22f)]['pipe']((0x0,_0x54efda[_0x1de1f1(0x440)])(this['dispose$']),(0x0,_0x54efda[_0x1de1f1(0x2e6)])(_0x130cb8=>{const _0x5d50c0=_0x1de1f1;if(_0x130cb8){let _0x3d270d=_0x130cb8[_0x5d50c0(0x29b)];return(0x0,_0x159beb[_0x5d50c0(0x4a6)])(this['_collabCursorController']['getCollabCursors$'](this[_0x5d50c0(0x430)][_0x5d50c0(0x411)]),this[_0x5d50c0(0x203)][_0x5d50c0(0x38f)])[_0x5d50c0(0x47c)]((0x0,_0x54efda['map'])(([_0x1896e3,_0x335ec0])=>{const _0x153139=_0x5d50c0;let _0x1ada02=new Map();return _0x1896e3[_0x153139(0x241)]((_0x4f0eb1,_0x426483)=>{const _0x4af3ba=_0x153139;if(_0x4f0eb1['sheetID']===_0x3d270d){let _0x4f5d8f={..._0x4f0eb1};_0x4f5d8f[_0x4af3ba(0x3b9)]=this[_0x4af3ba(0x203)][_0x4af3ba(0x36a)](_0x4f0eb1['color']),_0x1ada02[_0x4af3ba(0x2b2)](_0x426483,_0x4f5d8f);}}),{'skeleton':_0x130cb8,'cursors':_0x1ada02};}));}return(0x0,_0x159beb['of'])({'skeleton':null,'cursors':new Map()});}))[_0x1de1f1(0x264)](({skeleton:_0x262226,cursors:_0x37e167})=>{const _0x2c5239=_0x1de1f1;this[_0x2c5239(0x3ef)](),_0x262226&&this[_0x2c5239(0x225)](_0x262226,_0x37e167);}),this[_0x1de1f1(0x387)](this[_0x1de1f1(0x21e)][_0x1de1f1(0x22f)][_0x1de1f1(0x47c)]((0x0,_0x54efda[_0x1de1f1(0x440)])(this[_0x1de1f1(0x33c)]))['subscribe'](_0x78675d=>{const _0x4a2ed1=_0x1de1f1;var _0xf2631c;if(_0x78675d==null)return;(_0xf2631c=this[_0x4a2ed1(0x3b4)])==null||_0xf2631c['unsubscribe'](),this[_0x4a2ed1(0x3b4)]=null;let {skeleton:_0x742940}=_0x78675d,{scene:_0x19623a}=this[_0x4a2ed1(0x430)];this['_pointerMoveDisposable']=_0x19623a[_0x4a2ed1(0x223)][_0x4a2ed1(0x1f7)]((0x0,_0x3c58c0[_0x4a2ed1(0x2fd)])(_0x52bfdf=>{const _0xef35bb=_0x4a2ed1;var _0x2e7c1e,_0x4d594f;let {offsetX:_0x33c608,offsetY:_0x5db3f7}=_0x52bfdf,{x:_0x4e7724,y:_0x5d6839}=_0x19623a[_0xef35bb(0x1f9)](_0x5425ea['Vector2'][_0xef35bb(0x358)]([_0x33c608,_0x5db3f7])),{scaleX:_0x576127,scaleY:_0xdc2ef4}=_0x19623a[_0xef35bb(0x3ad)](),_0x2189c1=_0x19623a[_0xef35bb(0x31f)](_0x5425ea[_0xef35bb(0x20e)][_0xef35bb(0x30c)]),_0x51ed27=_0x19623a[_0xef35bb(0x2c9)](_0x5425ea['Vector2'][_0xef35bb(0x358)]([_0x4e7724,_0x5d6839]),_0x2189c1),_0x566f24=_0x742940['getCellPositionByOffset'](_0x33c608,_0x5db3f7,_0x576127,_0xdc2ef4,_0x51ed27);((_0x2e7c1e=this['_lastPointer'])==null?void 0x0:_0x2e7c1e['column'])===_0x566f24[_0xef35bb(0x32b)]&&((_0x4d594f=this[_0xef35bb(0x325)])==null?void 0x0:_0x4d594f[_0xef35bb(0x22b)])===_0x566f24[_0xef35bb(0x22b)]||this[_0xef35bb(0x43c)][_0xef35bb(0x241)](_0x37bc71=>{const _0x50e9d1=_0xef35bb;_0x37bc71[_0x50e9d1(0x1e2)](_0x566f24);});},0x64));})),this[_0x1de1f1(0x387)]((0x0,_0x3c58c0[_0x1de1f1(0x2aa)])(()=>{const _0x363a3d=_0x1de1f1;var _0x11dbdb;(_0x11dbdb=this[_0x363a3d(0x3b4)])==null||_0x11dbdb[_0x363a3d(0x375)](),this[_0x363a3d(0x3b4)]=null;}));}['_updateCollabCursors'](_0x491a26,_0x20fe76){const _0x740ec6=_0x5bd31d;let _0x3eb492=this[_0x740ec6(0x21e)][_0x740ec6(0x379)]();if(!_0x3eb492)return;let _0x280ab2=this[_0x740ec6(0x1f5)]();if(!_0x280ab2)return;this[_0x740ec6(0x43c)][_0x740ec6(0x241)](_0x38a2b8=>{const _0xa87193=_0x740ec6;_0x38a2b8[_0xa87193(0x3d1)]();});let {scene:_0x336dc6}=_0x280ab2,_0x373fd8=_0x130f69(Array[_0x740ec6(0x2f4)](_0x20fe76['values']()))[_0x740ec6(0x389)](_0x57f99d=>{const _0x18f468=_0x740ec6;let {color:_0x2625a1,range:_0x146db5,name:_0x38e7a1,selection:_0x163b08,sheetID:_0x10a3ce}=_0x57f99d,{startColumn:_0x52e13a,startRow:_0x492f8e,endColumn:_0x2940e3,endRow:_0x8230dc}=_0x146db5,_0x28077b=(0x0,_0x4f86bd[_0x18f468(0x2f9)])(_0x492f8e,_0x52e13a,_0x336dc6,_0x3eb492),_0xdccd58=(0x0,_0x4f86bd[_0x18f468(0x2f9)])(_0x8230dc,_0x2940e3,_0x336dc6,_0x3eb492),{columnHeaderHeightAndMarginTop:_0x35a1e2}=_0x3eb492,{startX:_0x1236a8,startY:_0x329aec}=_0x28077b,{endX:_0x3093f4,endY:_0x314e55}=_0xdccd58,_0x3f95a6=_0x3093f4-_0x1236a8,_0x3cca30=_0x314e55-_0x329aec;return new _0x51ab5a(_0x38e7a1,{'labelPosition':_0x329aec-_0x35a1e2>=0x14?_0x18f468(0x273):_0x18f468(0x44f),'sheetID':_0x10a3ce,'range':_0x146db5,'color':_0x2625a1,'name':_0x38e7a1,'selection':_0x163b08,'left':_0x1236a8,'top':_0x329aec,'width':_0x3f95a6,'height':_0x3cca30,'evented':!0x1,'zIndex':0x1389});});_0x336dc6['addObjects'](_0x373fd8,0x1),this['_cursors']=new Set(_0x373fd8);}[_0x5bd31d(0x3ef)](){const _0x5efe77=_0x5bd31d;var _0xf7430a;(_0xf7430a=this[_0x5efe77(0x43c)])==null||_0xf7430a[_0x5efe77(0x241)](_0x323e83=>_0x323e83[_0x5efe77(0x303)]());}[_0x5bd31d(0x1f5)](){const _0x1a8f39=_0x5bd31d;return(0x0,_0x4f86bd[_0x1a8f39(0x322)])(this[_0x1a8f39(0x430)][_0x1a8f39(0x3c7)],this[_0x1a8f39(0x430)]);}};_0xbd2359=_0x355c08([_0x285b7d(0x1,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x4f86bd[_0x5bd31d(0x47b)])),_0x285b7d(0x2,(0x0,_0x3c58c0['Inject'])(_0x138c14)),_0x285b7d(0x3,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0['ThemeService']))],_0xbd2359);function _0x130f69(_0x4875e0){const _0x34f85c=_0x5bd31d;let _0x2e665b=new Map();return _0x4875e0[_0x34f85c(0x241)](_0x131c33=>{const _0x5b6acc=_0x34f85c;if(_0x2e665b['has'](_0x131c33[_0x5b6acc(0x41e)])){let _0x15a7a6=_0x2e665b[_0x5b6acc(0x294)](_0x131c33[_0x5b6acc(0x41e)]);_0x15a7a6[_0x5b6acc(0x34f)]+=',\x20'+_0x131c33['name'];}else _0x2e665b[_0x5b6acc(0x2b2)](_0x131c33[_0x5b6acc(0x41e)],_0x131c33);}),Array['from'](_0x2e665b[_0x34f85c(0x48d)]());}let _0x8e8048=0x138a;var _0x295680=class extends _0x5425ea[_0x5bd31d(0x3b7)]{constructor(_0x1c16f6,_0x267f30){const _0x5aba9f=_0x5bd31d;super(_0x1c16f6,{..._0x267f30,'evented':!0x1}),_0x18bf9d(this,_0x5aba9f(0x3c3),_0x5aba9f(0x3a6)),_0x18bf9d(this,_0x5aba9f(0x394),''),_0x18bf9d(this,_0x5aba9f(0x20a),!0x0),_0x267f30&&this[_0x5aba9f(0x47f)](_0x267f30);}[_0x5bd31d(0x47f)](_0x16a7e4){const _0x53b207=_0x5bd31d;var _0x2fff42,_0x198a2e,_0x15fd24,_0x5c3637,_0x27b535,_0x74b8a1,_0x4b393c,_0x3fbda1;this[_0x53b207(0x3c3)]=(_0x2fff42=_0x16a7e4['color'])==null?this[_0x53b207(0x3c3)]:_0x2fff42,this[_0x53b207(0x394)]=(_0x198a2e=_0x16a7e4['name'])==null?this[_0x53b207(0x394)]:_0x198a2e,this[_0x53b207(0x20a)]=(_0x15fd24=_0x16a7e4['showText'])==null?this[_0x53b207(0x20a)]:_0x15fd24,this['evented']=!0x1,this[_0x53b207(0x468)]({'left':(_0x5c3637=_0x16a7e4[_0x53b207(0x3a8)])==null?this['left']:_0x5c3637,'top':(_0x27b535=_0x16a7e4[_0x53b207(0x273)])==null?this[_0x53b207(0x273)]:_0x27b535,'width':(_0x74b8a1=_0x16a7e4[_0x53b207(0x25a)])==null?this[_0x53b207(0x25a)]:_0x74b8a1,'height':(_0x4b393c=_0x16a7e4[_0x53b207(0x3d5)])==null?this['height']:_0x4b393c,'angle':(_0x3fbda1=_0x16a7e4[_0x53b207(0x471)])==null?this[_0x53b207(0x471)]:_0x3fbda1});}[_0x5bd31d(0x412)](_0x5703bc){const _0x9bfd86=_0x5bd31d;_0x5703bc[_0x9bfd86(0x47e)](),_0x5703bc[_0x9bfd86(0x497)]=this[_0x9bfd86(0x3c3)],_0x5703bc['lineWidth']=this[_0x9bfd86(0x382)]||1.5,_0x5703bc[_0x9bfd86(0x235)]([0x6,0x4]),_0x5703bc[_0x9bfd86(0x46f)](0x0,0x0,this[_0x9bfd86(0x25a)],this[_0x9bfd86(0x3d5)]),_0x5703bc['restore'](),this[_0x9bfd86(0x20a)]&&(_0x5703bc[_0x9bfd86(0x47e)](),_0x5703bc[_0x9bfd86(0x3c0)](0x1,0x0,0x0,0x1,this[_0x9bfd86(0x25a)],-0x14),_0x5876a[_0x9bfd86(0x38a)](_0x5703bc,{'text':this[_0x9bfd86(0x394)],'color':this[_0x9bfd86(0x3c3)]}),_0x5703bc[_0x9bfd86(0x1e8)]());}};let _0x2408e6=class extends _0x3c58c0['RxDisposable']{constructor(_0x465874,_0x4554e8,_0x2183a3){const _0x2c7c7e=_0x5bd31d;super(),this[_0x2c7c7e(0x430)]=_0x465874,this[_0x2c7c7e(0x4b6)]=_0x4554e8,this[_0x2c7c7e(0x203)]=_0x2183a3,_0x18bf9d(this,_0x2c7c7e(0x43c),new Set()),_0x18bf9d(this,_0x2c7c7e(0x496),!0x1),_0x18bf9d(this,_0x2c7c7e(0x3e4),!0x1),_0x18bf9d(this,_0x2c7c7e(0x427),new Map()),this[_0x2c7c7e(0x236)]();}[_0x5bd31d(0x303)](){const _0x1d2e96=_0x5bd31d;this[_0x1d2e96(0x3ef)](),super[_0x1d2e96(0x303)]();}['_init'](){const _0xa53a87=_0x5bd31d;let _0xe7c93d=this[_0xa53a87(0x430)]['unit'][_0xa53a87(0x312)][_0xa53a87(0x4a2)],_0x2c179e=this[_0xa53a87(0x4b6)]['getCollabCursors$'](this[_0xa53a87(0x430)][_0xa53a87(0x411)]);this[_0xa53a87(0x387)]((0x0,_0x3c58c0[_0xa53a87(0x2aa)])((0x0,_0x159beb['combineLatest'])([_0x2c179e,_0xe7c93d,this[_0xa53a87(0x203)][_0xa53a87(0x38f)]])[_0xa53a87(0x47c)]((0x0,_0x159beb[_0xa53a87(0x440)])(this[_0xa53a87(0x33c)]))['subscribe'](([_0x4afd6f,_0x1f6ad4])=>{const _0x29b999=_0xa53a87;let _0x532ede=new Map();_0x4afd6f['forEach']((_0x150ef6,_0x3cd874)=>{const _0x4ec1ee=_0x101e;_0x150ef6[_0x4ec1ee(0x40f)]===_0x1f6ad4&&_0x532ede[_0x4ec1ee(0x2b2)](_0x3cd874,{..._0x150ef6,'color':this['_themeService']['getColorFromTheme'](_0x150ef6[_0x4ec1ee(0x3b9)])});}),this[_0x29b999(0x427)]=_0x532ede,this['_scheduleRender']();})));let _0x39d971=this[_0xa53a87(0x430)][_0xa53a87(0x26d)];this[_0xa53a87(0x387)]((0x0,_0x3c58c0[_0xa53a87(0x2aa)])(_0x39d971[_0xa53a87(0x3bf)][_0xa53a87(0x47c)]((0x0,_0x159beb[_0xa53a87(0x440)])(this['dispose$']))['subscribe'](()=>{const _0x2cdcdd=_0xa53a87;this['_isApplyingOverlays']||this[_0x2cdcdd(0x454)]();})));}[_0x5bd31d(0x454)](){const _0x30c126=_0x5bd31d;this['_renderScheduled']||(this[_0x30c126(0x496)]=!0x0,Promise[_0x30c126(0x332)]()['then'](()=>{const _0x1ad4f8=_0x30c126;this['_renderScheduled']=!0x1,this[_0x1ad4f8(0x23f)]();}));}[_0x5bd31d(0x23f)](){const _0x4a7fb9=_0x5bd31d;var _0x1e8d9e;this[_0x4a7fb9(0x3ef)]();let _0x116e03=(_0x1e8d9e=this[_0x4a7fb9(0x430)][_0x4a7fb9(0x3c7)][_0x4a7fb9(0x312)]['getActiveSlide']())==null?void 0x0:_0x1e8d9e[_0x4a7fb9(0x429)]();if(!_0x116e03)return;let _0x4a8c0b=[];if(this[_0x4a7fb9(0x427)][_0x4a7fb9(0x241)]((_0xbf758a,_0x277dd4)=>{const _0x174c78=_0x4a7fb9;_0xbf758a[_0x174c78(0x40f)]===_0x116e03&&_0xbf758a[_0x174c78(0x4d3)][_0x174c78(0x241)](_0x39363b=>{const _0x52380e=_0x174c78;let _0xff9422=(0x0,_0x181083[_0x52380e(0x206)])(_0xbf758a[_0x52380e(0x411)],_0xbf758a[_0x52380e(0x40f)],_0x39363b),_0x244c50=this['_getSceneObjectByKey'](_0xff9422);if(!_0x244c50)return;let _0x252020=this['_getObjectBounds'](_0x244c50);_0x4a8c0b['push'](new _0x295680(_0x52380e(0x46d)+_0x277dd4+'-'+_0x39363b,{..._0xbf758a,'left':_0x252020[_0x52380e(0x3a8)],'top':_0x252020[_0x52380e(0x273)],'width':_0x252020[_0x52380e(0x25a)],'height':_0x252020[_0x52380e(0x3d5)],'angle':_0x244c50['angle'],'evented':!0x1,'zIndex':_0x8e8048}));});}),_0x4a8c0b[_0x4a7fb9(0x433)]===0x0){this['_context'][_0x4a7fb9(0x26d)][_0x4a7fb9(0x3d1)](!0x0);return;}this[_0x4a7fb9(0x3e4)]=!0x0,this['_context']['scene']['addObjects'](_0x4a8c0b,_0x8e8048),this[_0x4a7fb9(0x3e4)]=!0x1,this[_0x4a7fb9(0x43c)]=new Set(_0x4a8c0b),this[_0x4a7fb9(0x430)]['scene'][_0x4a7fb9(0x3d1)](!0x0);}[_0x5bd31d(0x3ef)](){const _0x21c973=_0x5bd31d;let _0x4b5021=Array['from'](this['_cursors']);if(_0x4b5021['length']===0x0)return;let _0x50327e=this['_context'][_0x21c973(0x26d)];_0x21c973(0x229)in _0x50327e&&typeof _0x50327e[_0x21c973(0x229)]==_0x21c973(0x36c)?_0x50327e[_0x21c973(0x229)](_0x4b5021):_0x4b5021['forEach'](_0x223f0a=>{const _0x53d987=_0x21c973;_0x53d987(0x2ce)in _0x50327e&&typeof _0x50327e[_0x53d987(0x2ce)]==_0x53d987(0x36c)?_0x50327e[_0x53d987(0x2ce)](_0x223f0a):_0x223f0a[_0x53d987(0x303)]();}),this[_0x21c973(0x43c)][_0x21c973(0x48c)](),_0x50327e['makeDirty'](!0x0);}[_0x5bd31d(0x319)](_0x5ae81e){const _0x52dc5a=_0x5bd31d;var _0x205374,_0x21c114,_0xa61cbc;let _0x130788=this[_0x52dc5a(0x430)][_0x52dc5a(0x26d)];return(_0x205374=(_0x21c114=(_0xa61cbc=_0x130788[_0x52dc5a(0x467)])==null?void 0x0:_0xa61cbc['call'](_0x130788,_0x5ae81e))==null?_0x130788[_0x52dc5a(0x355)](_0x5ae81e):_0x21c114)==null?null:_0x205374;}[_0x5bd31d(0x432)](_0x3a332f){const _0x3c3b0f=_0x5bd31d;var _0x5b7e13,_0x197763;let _0x1dbac0=_0x3a332f;return(_0x5b7e13=(_0x197763=_0x1dbac0[_0x3c3b0f(0x42b)])==null?void 0x0:_0x197763['call'](_0x1dbac0))==null?{'left':_0x3a332f[_0x3c3b0f(0x3a8)],'top':_0x3a332f['top'],'width':_0x3a332f[_0x3c3b0f(0x25a)],'height':_0x3a332f[_0x3c3b0f(0x3d5)]}:_0x5b7e13;}};_0x2408e6=_0x355c08([_0x285b7d(0x1,(0x0,_0x3c58c0['Inject'])(_0x138c14)),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0['ThemeService']))],_0x2408e6);let _0x16c540=class extends _0x3c58c0[_0x5bd31d(0x342)]{constructor(_0x3bd583,_0x39c178,_0xe343ca,_0x4e5383,_0x37a445,_0x29e2da){const _0x574027=_0x5bd31d;super(),this[_0x574027(0x3eb)]=_0x3bd583,this['_localCacheService']=_0x39c178,this['_collaborationUIEventService']=_0xe343ca,this[_0x574027(0x3d8)]=_0x4e5383,this[_0x574027(0x2c5)]=_0x37a445,this['_localeService']=_0x29e2da,this['_setupBeforeClosingHandler'](),this[_0x574027(0x3b0)]();}[_0x5bd31d(0x2da)](){const _0x5743f0=_0x5bd31d;this['disposeWithMe'](this[_0x5743f0(0x3eb)][_0x5743f0(0x3a9)](()=>{const _0xaed4a1=_0x5743f0;if(this[_0xaed4a1(0x2ac)][_0xaed4a1(0x207)][_0xaed4a1(0x4ab)])return this[_0xaed4a1(0x326)]['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}['_initEvent'](){const _0x47634d=_0x5bd31d;this['disposeWithMe'](this[_0x47634d(0x25e)][_0x47634d(0x422)]['subscribe'](_0x3dcc09=>{const _0x2d451e=_0x47634d;_0x3dcc09['id']===_0x2de759['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x2d451e(0x3d8)][_0x2d451e(0x3a7)]({'type':_0x1de54e[_0x2d451e(0x351)][_0x2d451e(0x2a8)],'content':this[_0x2d451e(0x326)]['t'](_0x2d451e(0x3c4))}),_0x3dcc09['id']===_0x2de759[_0x2d451e(0x3fd)][_0x2d451e(0x349)]&&this[_0x2d451e(0x3d8)][_0x2d451e(0x3a7)]({'type':_0x1de54e[_0x2d451e(0x351)]['Warning'],'content':this[_0x2d451e(0x326)]['t'](_0x2d451e(0x29c))}),_0x3dcc09['id']===_0x2de759['CollaborationUIEventId'][_0x2d451e(0x408)]&&this[_0x2d451e(0x2c5)][_0x2d451e(0x3a7)]({'title':this['_localeService']['t'](_0x2d451e(0x380)),'content':this[_0x2d451e(0x326)]['t'](_0x2d451e(0x480)),'type':'error','duration':0x0}),_0x3dcc09['id']===_0x2de759[_0x2d451e(0x3fd)][_0x2d451e(0x32c)]&&this[_0x2d451e(0x2c5)][_0x2d451e(0x3a7)]({'title':this[_0x2d451e(0x326)]['t'](_0x2d451e(0x2dd)),'content':this[_0x2d451e(0x326)]['t'](_0x2d451e(0x30f)),'type':_0x2d451e(0x1fa),'duration':0x0}),_0x3dcc09['id']===_0x2de759['CollaborationUIEventId'][_0x2d451e(0x1dd)]&&this[_0x2d451e(0x3d8)][_0x2d451e(0x3a7)]({'type':_0x1de54e[_0x2d451e(0x351)][_0x2d451e(0x2a8)],'content':this[_0x2d451e(0x326)]['t'](_0x3dcc09[_0x2d451e(0x4bb)]||'')}),_0x3dcc09['id']===_0x2de759[_0x2d451e(0x3fd)][_0x2d451e(0x3e6)]&&this['_messageService'][_0x2d451e(0x3a7)]({'type':_0x1de54e[_0x2d451e(0x351)][_0x2d451e(0x2a8)],'content':this[_0x2d451e(0x326)]['t'](_0x2d451e(0x395))}),_0x3dcc09['id']===_0x2de759[_0x2d451e(0x3fd)][_0x2d451e(0x29e)]&&this['_messageService'][_0x2d451e(0x3a7)]({'type':_0x1de54e[_0x2d451e(0x351)][_0x2d451e(0x1fc)],'content':this[_0x2d451e(0x326)]['t']('collaboration-client-ui.session.connection-failed')}),_0x3dcc09['id']===_0x2de759[_0x2d451e(0x3fd)][_0x2d451e(0x3bd)]&&this[_0x2d451e(0x3d8)][_0x2d451e(0x3a7)]({'type':_0x1de54e[_0x2d451e(0x351)][_0x2d451e(0x1fc)],'content':this['_localeService']['t'](_0x2d451e(0x391))});}));}};_0x16c540=_0x355c08([_0x285b7d(0x0,_0x2acf41['IBeforeCloseService']),_0x285b7d(0x1,_0x2de759[_0x5bd31d(0x43e)]),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759[_0x5bd31d(0x3fc)])),_0x285b7d(0x3,_0x2acf41['IMessageService']),_0x285b7d(0x4,_0x2acf41[_0x5bd31d(0x40e)]),_0x285b7d(0x5,(0x0,_0x3c58c0['Inject'])(_0x3c58c0[_0x5bd31d(0x4c1)]))],_0x16c540);let _0x56da58=class{constructor(_0x1e4742,_0x5229c2){const _0x7a7d9f=_0x5bd31d;this[_0x7a7d9f(0x3e3)]=_0x1e4742,this[_0x7a7d9f(0x2e1)]=_0x5229c2;}[_0x5bd31d(0x46b)](_0x21c1c0){const _0x4b4544=_0x5bd31d;this[_0x4b4544(0x2f8)](_0x21c1c0),this['_transformPreviousActiveRange'](_0x21c1c0);}[_0x5bd31d(0x28f)](_0x5cb0d0){const _0x53e5fe=_0x5bd31d;let {unitID:_0x43c85c}=_0x5cb0d0,{redoCache:_0x414f3f}=this[_0x53e5fe(0x2e1)][_0x53e5fe(0x4b8)](_0x43c85c)[_0x53e5fe(0x2d3)](_0x1323e7[_0x53e5fe(0x4d0)])[_0x53e5fe(0x25d)]();if(_0x414f3f[_0x53e5fe(0x433)]===0x0)return _0x5cb0d0;let _0x227ab4=_0x3c58c0['Tools'][_0x53e5fe(0x3fa)](_0x5cb0d0[_0x53e5fe(0x34d)][0x0]);for(let _0x440023=0x0;_0x440023<_0x414f3f['length'];_0x440023++){let _0x545b94={'id':_0x53e5fe(0x4a9),'params':{..._0x414f3f[_0x440023]}},_0x13adb8=this['_transformService'][_0x53e5fe(0x363)](_0x227ab4,_0x545b94,!0x1);if((0x0,_0x130b54[_0x53e5fe(0x3b3)])(_0x13adb8))throw _0x13adb8['error'];_0x227ab4=_0x13adb8[_0x53e5fe(0x248)];}return{..._0x3c58c0[_0x53e5fe(0x3f6)]['deepClone'](_0x5cb0d0),'mutations':[_0x227ab4]};}[_0x5bd31d(0x2f8)](_0x15780b){const _0x237228=_0x5bd31d;let {unitID:_0x548124}=_0x15780b,_0x12c05f=this[_0x237228(0x2e1)][_0x237228(0x4b8)](_0x548124)[_0x237228(0x2d3)](_0x1323e7[_0x237228(0x4d0)]),{undoCache:_0x49bfec,redoCache:_0x5b7abd}=_0x12c05f['getUndoRedoMutationParamsCache']();if(_0x49bfec['length']===0x0||_0x5b7abd['length']===0x0)return;let _0xda33e7=[],_0x1b9e07=[],_0x1d7eff=_0x3c58c0[_0x237228(0x3f6)][_0x237228(0x3fa)](_0x15780b[_0x237228(0x34d)][0x0]),_0x47231d=_0x3c58c0['Tools'][_0x237228(0x3fa)](_0x15780b[_0x237228(0x34d)][0x0]);for(let _0x407005=_0x49bfec[_0x237228(0x433)]-0x1;_0x407005>=0x0;_0x407005--){let _0x4d6b6e={'id':_0x237228(0x4a9),'params':{..._0x49bfec[_0x407005]}},_0x21686b={'id':_0x237228(0x4a9),'params':{..._0x5b7abd[_0x407005]}},_0x57e0da=this[_0x237228(0x3e3)][_0x237228(0x363)](_0x1d7eff,_0x4d6b6e,!0x1),_0x3c8a63=this['_transformService'][_0x237228(0x363)](_0x47231d,_0x21686b,!0x1);if((0x0,_0x130b54['isTransformMutationFailure'])(_0x57e0da))throw _0x57e0da[_0x237228(0x1fa)];if((0x0,_0x130b54[_0x237228(0x3b3)])(_0x3c8a63))throw _0x3c8a63[_0x237228(0x1fa)];_0xda33e7[_0x237228(0x38b)](_0x57e0da['m2Prime'][_0x237228(0x417)]),_0x1b9e07[_0x237228(0x38b)](_0x3c8a63[_0x237228(0x3c5)]['params']),_0x1d7eff=_0x57e0da['m1Prime'],_0x47231d=_0x3c8a63[_0x237228(0x248)];}_0x12c05f['setUndoRedoMutationParamsCache']({'undoCache':_0xda33e7,'redoCache':_0x1b9e07});}[_0x5bd31d(0x291)](_0x4d3a0f){const _0x37c8b6=_0x5bd31d;let {unitID:_0x59299a}=_0x4d3a0f,_0x3f7dd0=this[_0x37c8b6(0x2e1)][_0x37c8b6(0x4b8)](_0x59299a)[_0x37c8b6(0x2d3)](_0x1323e7['DocIMEInputManagerService']),_0x2feaba=_0x3f7dd0[_0x37c8b6(0x4a8)]();if(_0x2feaba==null)return;let _0x365a54=[{'id':_0x37c8b6(0x4a9),'params':{'unitId':_0x4d3a0f['unitID'],'actions':null,'textRanges':[_0x2feaba]}}],_0x49f12f=this[_0x37c8b6(0x3e3)]['transformMutationsWithChangeset'](_0x4d3a0f,_0x365a54);if(!(0x0,_0x130b54[_0x37c8b6(0x419)])(_0x49f12f))throw _0x49f12f[_0x37c8b6(0x1fa)];let _0x590ee0=_0x49f12f[_0x37c8b6(0x3c5)][0x0]['params']['textRanges'];Array[_0x37c8b6(0x1d9)](_0x590ee0)&&_0x590ee0[_0x37c8b6(0x433)]&&_0x3f7dd0[_0x37c8b6(0x36e)](_0x590ee0[0x0]);}};_0x56da58=_0x355c08([_0x285b7d(0x0,_0x130b54[_0x5bd31d(0x2b4)]),_0x285b7d(0x1,_0x5425ea[_0x5bd31d(0x24b)])],_0x56da58);let _0x2b0c0d=class{constructor(_0xdd668c,_0x47051c,_0x2ff1b6){const _0x34e1da=_0x5bd31d;this[_0x34e1da(0x281)]=_0xdd668c,this[_0x34e1da(0x3e3)]=_0x47051c,this[_0x34e1da(0x4cb)]=_0x2ff1b6;}[_0x5bd31d(0x3dd)](_0x3ca23a){const _0x119451=_0x5bd31d;this[_0x119451(0x390)](_0x3ca23a);}[_0x5bd31d(0x28f)](_0x4894f1){const _0x3d81d3=_0x5bd31d;let {unitID:_0x42f9bf}=_0x4894f1,{collaboration:_0x10cf75}=this[_0x3d81d3(0x4cb)][_0x3d81d3(0x40c)](_0x42f9bf);if(_0x10cf75['length']===0x0)return _0x4894f1;let _0x27d2fa=_0x3c58c0[_0x3d81d3(0x3f6)][_0x3d81d3(0x3fa)](_0x4894f1['mutations'][0x0]);for(let _0x52c228=0x0;_0x52c228<_0x10cf75[_0x3d81d3(0x433)];_0x52c228++){let _0x43537a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10cf75[_0x52c228][_0x3d81d3(0x411)],..._0x10cf75[_0x52c228][_0x3d81d3(0x35f)]}},_0x16901e=this[_0x3d81d3(0x3e3)]['transformMutation'](_0x27d2fa,_0x43537a,!0x1);if((0x0,_0x130b54[_0x3d81d3(0x3b3)])(_0x16901e))throw _0x16901e['error'];_0x27d2fa=_0x16901e['m1Prime'];}return{..._0x3c58c0['Tools'][_0x3d81d3(0x3fa)](_0x4894f1),'mutations':[_0x27d2fa]};}[_0x5bd31d(0x390)](_0x4464b0){const _0x568ba6=_0x5bd31d;let {unitID:_0xc3d9e}=_0x4464b0,{history:_0xc9ee2,collaboration:_0x201ea2}=this[_0x568ba6(0x4cb)]['getStateCache'](_0xc3d9e);if(_0xc9ee2['length']===0x0&&_0x201ea2[_0x568ba6(0x433)]===0x0)return;let _0xaf2e43=[],_0x485770=[],_0x1014e7=_0x3c58c0[_0x568ba6(0x3f6)][_0x568ba6(0x3fa)](_0x4464b0[_0x568ba6(0x34d)][0x0]),_0x13edd9=_0x3c58c0['Tools']['deepClone'](_0x4464b0[_0x568ba6(0x34d)][0x0]);for(let _0x170c2c=_0xc9ee2['length']-0x1;_0x170c2c>=0x0;_0x170c2c--){let _0x34acd7={'id':_0x568ba6(0x4a9),'params':{'unitId':_0xc9ee2[_0x170c2c]['unitId'],..._0xc9ee2[_0x170c2c][_0x568ba6(0x494)]}},_0x81391c={'id':_0x568ba6(0x4a9),'params':{'unitId':_0xc9ee2[_0x170c2c][_0x568ba6(0x411)],..._0xc9ee2[_0x170c2c][_0x568ba6(0x35f)]}},_0x3390ee=this[_0x568ba6(0x3e3)][_0x568ba6(0x363)](_0x1014e7,_0x34acd7,!0x1),_0x118547=this[_0x568ba6(0x3e3)][_0x568ba6(0x363)](_0x13edd9,_0x81391c,!0x1);if((0x0,_0x130b54[_0x568ba6(0x3b3)])(_0x3390ee))throw _0x3390ee[_0x568ba6(0x1fa)];if((0x0,_0x130b54[_0x568ba6(0x3b3)])(_0x118547))throw _0x118547[_0x568ba6(0x1fa)];_0xaf2e43[_0x568ba6(0x38b)]({..._0xc9ee2[_0x170c2c],'undoState':_0x3390ee[_0x568ba6(0x3c5)][_0x568ba6(0x417)],'redoState':_0x118547['m2Prime'][_0x568ba6(0x417)]}),_0x1014e7=_0x3390ee[_0x568ba6(0x248)],_0x13edd9=_0x118547[_0x568ba6(0x248)];}_0x1014e7=_0x3c58c0['Tools'][_0x568ba6(0x3fa)](_0x4464b0[_0x568ba6(0x34d)][0x0]),_0x13edd9=_0x3c58c0[_0x568ba6(0x3f6)][_0x568ba6(0x3fa)](_0x4464b0[_0x568ba6(0x34d)][0x0]);for(let _0x2600b7=_0x201ea2[_0x568ba6(0x433)]-0x1;_0x2600b7>=0x0;_0x2600b7--){let _0x2d4160={'id':_0x568ba6(0x4a9),'params':{'unitId':_0x201ea2[_0x2600b7][_0x568ba6(0x411)],..._0x201ea2[_0x2600b7]['undoState']}},_0x3b80bc={'id':_0x568ba6(0x4a9),'params':{'unitId':_0x201ea2[_0x2600b7][_0x568ba6(0x411)],..._0x201ea2[_0x2600b7][_0x568ba6(0x35f)]}},_0x34d7c3=this[_0x568ba6(0x3e3)][_0x568ba6(0x363)](_0x1014e7,_0x2d4160,!0x1),_0x564b9b=this[_0x568ba6(0x3e3)]['transformMutation'](_0x13edd9,_0x3b80bc,!0x1);if((0x0,_0x130b54[_0x568ba6(0x3b3)])(_0x34d7c3))throw _0x34d7c3[_0x568ba6(0x1fa)];if((0x0,_0x130b54['isTransformMutationFailure'])(_0x564b9b))throw _0x564b9b[_0x568ba6(0x1fa)];_0x485770[_0x568ba6(0x38b)]({..._0x201ea2[_0x2600b7],'undoState':_0x34d7c3[_0x568ba6(0x3c5)][_0x568ba6(0x417)],'redoState':_0x564b9b[_0x568ba6(0x3c5)][_0x568ba6(0x417)]}),_0x1014e7=_0x34d7c3[_0x568ba6(0x248)],_0x13edd9=_0x564b9b[_0x568ba6(0x248)];}this[_0x568ba6(0x4cb)][_0x568ba6(0x2ba)](_0xc3d9e,{'history':_0xaf2e43,'collaboration':_0x485770});}};_0x2b0c0d=_0x355c08([_0x285b7d(0x0,(0x0,_0x3c58c0['Inject'])(_0x3c58c0['Injector'])),_0x285b7d(0x1,_0x130b54['ITransformService']),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x355cfd[_0x5bd31d(0x369)]))],_0x2b0c0d);let _0x51cb18=class{constructor(_0x4d9dd0,_0x5d7676){const _0x1687cb=_0x5bd31d;this[_0x1687cb(0x281)]=_0x4d9dd0,this['_transformService']=_0x5d7676;}[_0x5bd31d(0x4bd)](_0xbacb63){const _0x45d0c3=_0x5bd31d;var _0xaa0373;let _0x58191d=this['_injector'][_0x45d0c3(0x294)](_0x355cfd['DocSelectionManagerService']),_0x3485de=(_0xaa0373=_0x58191d[_0x45d0c3(0x39f)]())==null?[]:_0xaa0373;if(_0x3485de[_0x45d0c3(0x433)]===0x0)return;let _0x180d7e=_0xbacb63[_0x45d0c3(0x396)],_0x251dea=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x180d7e,'actions':null,'textRanges':_0x3485de}}],_0x5123db=this['_transformService'][_0x45d0c3(0x44b)](_0xbacb63,_0x251dea);if(!(0x0,_0x130b54[_0x45d0c3(0x419)])(_0x5123db))throw _0x5123db[_0x45d0c3(0x1fa)];let _0x2419a6=_0x5123db[_0x45d0c3(0x3c5)][0x0][_0x45d0c3(0x417)][_0x45d0c3(0x1ed)];Array['isArray'](_0x2419a6)&&_0x2419a6[_0x45d0c3(0x433)]&&_0x58191d[_0x45d0c3(0x3ac)](_0x2419a6,{'unitId':_0x180d7e,'subUnitId':_0x180d7e},!0x1);}};_0x51cb18=_0x355c08([_0x285b7d(0x0,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0['Injector'])),_0x285b7d(0x1,_0x130b54[_0x5bd31d(0x2b4)])],_0x51cb18);let _0x52d562=class extends _0x3c58c0[_0x5bd31d(0x342)]{constructor(_0xcd881f,_0x4d9ec5,_0x4c67bc,_0x561a6b,_0x2ac152,_0x13580d,_0x18ad62){const _0x13cfbc=_0x5bd31d;super(),this[_0x13cfbc(0x3be)]=_0xcd881f,this[_0x13cfbc(0x1ff)]=_0x4d9ec5,this[_0x13cfbc(0x476)]=_0x4c67bc,this[_0x13cfbc(0x28a)]=_0x561a6b,this[_0x13cfbc(0x3a0)]=_0x2ac152,this[_0x13cfbc(0x3d8)]=_0x13580d,this[_0x13cfbc(0x326)]=_0x18ad62,_0x18bf9d(this,'_status$',new _0x159beb[(_0x13cfbc(0x31a))](_0x2de759[_0x13cfbc(0x474)]['NOT_COLLAB'])),this[_0x13cfbc(0x1f4)]();}[_0x5bd31d(0x1f4)](){const _0x219730=_0x5bd31d;this['disposeWithMe'](this['_collaborationController'][_0x219730(0x398)][_0x219730(0x264)](_0x4cfa02=>{const _0x2493aa=_0x219730;_0x4cfa02 instanceof _0x2de759[_0x2493aa(0x2f6)]&&_0x4cfa02[_0x2493aa(0x405)]({'onTransformIME':_0x3f2280=>this[_0x2493aa(0x1ff)][_0x2493aa(0x46b)](_0x3f2280),'onTransformState':_0x3a754d=>this[_0x2493aa(0x476)][_0x2493aa(0x3dd)](_0x3a754d),'onTransformSelections':_0xa74b90=>this[_0x2493aa(0x28a)]['transformSelections'](_0xa74b90),'onSyncEditingCollabCursor':_0x38f383=>this[_0x2493aa(0x3a0)][_0x2493aa(0x2cd)](_0x38f383),'onTransformRemoteChangesetByIMECache':_0x56cc17=>this[_0x2493aa(0x1ff)][_0x2493aa(0x28f)](_0x56cc17),'onTransformRemoteChangesetByStateCache':_0x2a2476=>this[_0x2493aa(0x476)][_0x2493aa(0x28f)](_0x2a2476)});}));}};_0x52d562=_0x355c08([_0x285b7d(0x0,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759['CollaborationController'])),_0x285b7d(0x1,(0x0,_0x3c58c0['Inject'])(_0x56da58)),_0x285b7d(0x2,(0x0,_0x3c58c0['Inject'])(_0x2b0c0d)),_0x285b7d(0x3,(0x0,_0x3c58c0['Inject'])(_0x51cb18)),_0x285b7d(0x4,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0xb42c6c)),_0x285b7d(0x5,_0x2acf41['IMessageService']),_0x285b7d(0x6,(0x0,_0x3c58c0['Inject'])(_0x3c58c0['LocaleService']))],_0x52d562);let _0x104185=class extends _0x3c58c0['Disposable']{constructor(_0x387fe8,_0x5ca24e,_0x48da71,_0x1c17da){const _0x2641e0=_0x5bd31d;super(),this[_0x2641e0(0x281)]=_0x387fe8,this[_0x2641e0(0x47d)]=_0x5ca24e,this[_0x2641e0(0x26c)]=_0x48da71,this[_0x2641e0(0x25b)]=_0x1c17da,_0x18bf9d(this,'_memberID',void 0x0),this['_init']();}[_0x5bd31d(0x236)](){const _0x1ee8da=_0x5bd31d;this['_initWindowErrorListener'](),this[_0x1ee8da(0x1e9)](),this[_0x1ee8da(0x21b)](),this[_0x1ee8da(0x274)]();}[_0x5bd31d(0x274)](){const _0x32b465=_0x5bd31d;this[_0x32b465(0x387)](this[_0x32b465(0x25b)][_0x32b465(0x335)]['subscribe'](_0x4f353c=>{const _0x4ad27a=_0x32b465;this[_0x4ad27a(0x23c)]=_0x4f353c==null?void 0x0:_0x4f353c['memberID'];}));}[_0x5bd31d(0x29d)](){const _0x5a81da=_0x5bd31d;let _0x578108=_0xba57cd=>{const _0x228bc7=_0x101e;var _0x323454;this[_0x228bc7(0x455)](_0x228bc7(0x1fa),'[Window\x20Error]:\x20'+_0xba57cd[_0x228bc7(0x35d)]+_0x228bc7(0x263)+_0xba57cd[_0x228bc7(0x32a)]+':'+_0xba57cd['lineno']+':'+_0xba57cd[_0x228bc7(0x3f1)]+'\x0a'+(((_0x323454=_0xba57cd[_0x228bc7(0x1fa)])==null?void 0x0:_0x323454[_0x228bc7(0x232)])||''));};window[_0x5a81da(0x45f)]('error',_0x578108),this['disposeWithMe'](()=>{const _0x2dfcc0=_0x5a81da;window[_0x2dfcc0(0x3a4)](_0x2dfcc0(0x1fa),_0x578108);});}['_initUnhandledRejectionListener'](){const _0x2dfe3c=_0x5bd31d;let _0x2c723f=_0x1f4169=>{const _0x5f5750=_0x101e;this[_0x5f5750(0x455)](_0x5f5750(0x1fa),'[Unhandled\x20Rejection]:\x20'+_0x1f4169[_0x5f5750(0x2ca)]);};window[_0x2dfe3c(0x45f)](_0x2dfe3c(0x3cb),_0x2c723f),this[_0x2dfe3c(0x387)](()=>{const _0xd5ff56=_0x2dfe3c;window['removeEventListener'](_0xd5ff56(0x3cb),_0x2c723f);});}[_0x5bd31d(0x21b)](){const _0x248009=_0x5bd31d;let _0x11aea7=this['_logService']['error']['bind'](this[_0x248009(0x26c)]);this[_0x248009(0x26c)][_0x248009(0x1fa)]=(..._0x17c8d1)=>{const _0x57d858=_0x248009;let _0xdbb04f=_0x17c8d1[_0x57d858(0x389)](_0x5c4f0f=>_0x5c4f0f instanceof Error?_0x5c4f0f[_0x57d858(0x35d)]+'\x0a'+_0x5c4f0f[_0x57d858(0x232)]:String(_0x5c4f0f))['join']('\x20');this[_0x57d858(0x455)](_0x57d858(0x1fa),_0x57d858(0x364)+_0xdbb04f),_0x11aea7(..._0x17c8d1);},this[_0x248009(0x387)](()=>{const _0x2733d5=_0x248009;this['_logService'][_0x2733d5(0x1fa)]=_0x11aea7;});}['_uploadLog'](_0x54651d,_0x43d110){const _0xd00081=_0x5bd31d;try{let _0x11ce52={'userId':this[_0xd00081(0x23c)],'logLabel':_0x54651d,'content':_0x43d110};this[_0xd00081(0x47d)][_0xd00081(0x238)](_0xd00081(0x3d3),{'body':_0x11ce52})[_0xd00081(0x306)](()=>{});}catch{}}};_0x104185=_0x355c08([_0x285b7d(0x0,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0[_0x5bd31d(0x386)])),_0x285b7d(0x1,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x5573b7[_0x5bd31d(0x317)])),_0x285b7d(0x2,_0x3c58c0['ILogService']),_0x285b7d(0x3,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2de759[_0x5bd31d(0x2f1)]))],_0x104185);function _0x4e1a8d(_0x9d7a1c){const _0x2c7e0c=_0x5bd31d;var _0x42b9be,_0x5e9ee8;let _0x3334b3=(_0x42b9be=_0x9d7a1c['stageInfo'])==null?void 0x0:_0x42b9be[_0x2c7e0c(0x4c8)],_0x13bbb1=((_0x5e9ee8=_0x9d7a1c[_0x2c7e0c(0x28b)])==null?void 0x0:_0x5e9ee8['totalFormulasToCalculate'])||0x0;return _0x3334b3===_0x27a59a[_0x2c7e0c(0x4b5)][_0x2c7e0c(0x37e)]&&_0x13bbb1>0x0;}function _0x48a981(_0x19063e){const _0x15f809=_0x5bd31d;return _0x19063e['functionsExecutedState']===_0x27a59a[_0x15f809(0x1ea)][_0x15f809(0x3f0)];}let _0x294115=class extends _0x3c58c0[_0x5bd31d(0x342)]{constructor(_0x2d8411,_0x427128,_0x24669e,_0x85d6f1,_0xf5c7e6,_0x37ff36,_0x12d161){const _0x339335=_0x5bd31d;super(),this[_0x339335(0x3d8)]=_0x2d8411,this[_0x339335(0x234)]=_0x427128,this[_0x339335(0x216)]=_0x24669e,this[_0x339335(0x47d)]=_0x85d6f1,this[_0x339335(0x1ce)]=_0xf5c7e6,this[_0x339335(0x26c)]=_0x37ff36,this[_0x339335(0x326)]=_0x12d161,_0x18bf9d(this,'_pollingInterval',null),_0x18bf9d(this,_0x339335(0x288),0x0),_0x18bf9d(this,'_currentUsage',0x0),_0x18bf9d(this,_0x339335(0x20d),[]),_0x18bf9d(this,_0x339335(0x2db),0x0),this[_0x339335(0x49f)]();}[_0x5bd31d(0x49f)](){const _0x277c4e=_0x5bd31d;this[_0x277c4e(0x387)](this['_commandService'][_0x277c4e(0x2e3)]((_0x1fc4e3,_0x57911a)=>{const _0x26fb3e=_0x277c4e;var _0x4826d0;if(_0x1fc4e3['id']!==_0x27a59a[_0x26fb3e(0x44d)]['id'])return;let _0x252f19=_0x1fc4e3['params'];if(this[_0x26fb3e(0x3f4)]((_0x4826d0=_0x252f19[_0x26fb3e(0x289)])==null?[]:_0x4826d0)&&!this[_0x26fb3e(0x4ca)]())throw this['_checkAndWaitForCalculationPermission'](_0x1fc4e3,_0x57911a),this[_0x26fb3e(0x224)](),new _0x3c58c0[(_0x26fb3e(0x469))]();})),this[_0x277c4e(0x387)](this[_0x277c4e(0x234)][_0x277c4e(0x365)]((_0x4ac77b,_0x3fd429)=>{const _0x1b8296=_0x277c4e;if(_0x4ac77b['id']!==_0x27a59a[_0x1b8296(0x2d1)]['id'])return;let _0x39af05=_0x4ac77b[_0x1b8296(0x417)];if(_0x4e1a8d(_0x39af05)){let _0x5c223b=(0x0,_0x3c58c0[_0x1b8296(0x219)])();this[_0x1b8296(0x20d)]['push'](_0x5c223b),this[_0x1b8296(0x34b)](_0x5c223b);}else{if(_0x48a981(_0x39af05)&&this[_0x1b8296(0x20d)][_0x1b8296(0x433)]>0x0){let _0x1aaf8c=this[_0x1b8296(0x20d)][_0x1b8296(0x49e)]();this[_0x1b8296(0x378)](_0x1aaf8c);}}}));}[_0x5bd31d(0x303)](){const _0x145de6=_0x5bd31d;super[_0x145de6(0x303)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x145de6(0x239)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x5bd31d(0x392)](_0x1925df,_0x5ba1a8){const _0x45cf1e=_0x5bd31d;for(let _0x4e07ec=0x0;_0x4e07ec<0x1e;_0x4e07ec++)try{if(await this['_getFormulaLimitStatus'](),this[_0x45cf1e(0x4ca)]()){this[_0x45cf1e(0x3ae)](_0x1925df,_0x5ba1a8),this['_messageService'][_0x45cf1e(0x3a7)]({'content':this[_0x45cf1e(0x326)]['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x1de54e[_0x45cf1e(0x351)][_0x45cf1e(0x423)]});return;}await new Promise(_0x1bd837=>{const _0xeb5309=_0x45cf1e;this[_0xeb5309(0x2ef)]=window[_0xeb5309(0x308)](_0x1bd837,0x3e8);});}catch(_0x8e2532){this[_0x45cf1e(0x26c)]['error'](_0x8e2532);}this['_messageService']['show']({'content':this['_localeService']['t'](_0x45cf1e(0x464)),'type':_0x1de54e[_0x45cf1e(0x351)][_0x45cf1e(0x1fc)]});}['_applyCommand'](_0x1ae218,_0x18cb86){const _0x2ccf0c=_0x5bd31d;try{this[_0x2ccf0c(0x234)]['executeCommand'](_0x1ae218['id'],_0x1ae218['params'],_0x18cb86);}catch(_0xd9c33b){this[_0x2ccf0c(0x26c)][_0x2ccf0c(0x1fa)](_0xd9c33b);}}['_setFormulaLimitStatus'](_0x2429c0,_0x23b3b3){const _0x1c8a63=_0x5bd31d;_0x23b3b3<this[_0x1c8a63(0x2db)]||(this[_0x1c8a63(0x2db)]=_0x23b3b3,this[_0x1c8a63(0x288)]=Number[_0x1c8a63(0x3db)](_0x2429c0['maxFormulaLimit']),this[_0x1c8a63(0x239)]=Number['parseInt'](_0x2429c0[_0x1c8a63(0x30b)]));}async[_0x5bd31d(0x34b)](_0x2ccd8d){const _0xc31776=_0x5bd31d;let _0x149f0e=Date[_0xc31776(0x270)]();try{var _0x216d65,_0x33e3ef;let _0x51f1f6=((_0x216d65=this[_0xc31776(0x216)][_0xc31776(0x314)](_0x2de759[_0xc31776(0x4c4)]))==null?void 0x0:_0x216d65[_0xc31776(0x27e)])||_0xc31776(0x4a0),_0x5a4cf4=(await this[_0xc31776(0x47d)][_0xc31776(0x238)](_0x51f1f6,{'body':JSON[_0xc31776(0x228)]({'taskId':_0x2ccd8d})}))[_0xc31776(0x1f2)];if(((_0x33e3ef=_0x5a4cf4[_0xc31776(0x1fa)])==null?void 0x0:_0x33e3ef['code'])!==_0x247beb['ErrorCode']['OK'])return;this[_0xc31776(0x434)](_0x5a4cf4[_0xc31776(0x253)],_0x149f0e);}catch(_0x13fdab){this['_logService'][_0xc31776(0x1fa)](_0x13fdab);}}async[_0x5bd31d(0x3df)](_0x2030e2){const _0x3f39e8=_0x5bd31d;let _0x16b291=Date[_0x3f39e8(0x270)]();try{var _0x54f119,_0x5a3a93;let _0x308db5=((_0x54f119=this['_configService']['getConfig'](_0x2de759[_0x3f39e8(0x4c4)]))==null?void 0x0:_0x54f119[_0x3f39e8(0x49d)])||_0x3f39e8(0x44e),_0x2cd095=_0x2030e2?_0x308db5+_0x3f39e8(0x2d2)+encodeURIComponent(_0x2030e2):_0x308db5,_0x1fcc3d=(await this[_0x3f39e8(0x47d)][_0x3f39e8(0x294)](_0x2cd095))[_0x3f39e8(0x1f2)];if(((_0x5a3a93=_0x1fcc3d[_0x3f39e8(0x1fa)])==null?void 0x0:_0x5a3a93['code'])!==_0x247beb[_0x3f39e8(0x2e8)]['OK'])return;this[_0x3f39e8(0x434)](_0x1fcc3d['limitInfo'],_0x16b291);}catch(_0x3ed36d){this['_logService'][_0x3f39e8(0x1fa)](_0x3ed36d);}}async['_releaseCalculationLimit'](_0xed5946){const _0x2aae43=_0x5bd31d;let _0x537f91=Date[_0x2aae43(0x270)]();try{var _0x1d84b7,_0x1382b4;let _0x17b35e=((_0x1d84b7=this[_0x2aae43(0x216)][_0x2aae43(0x314)](_0x2de759[_0x2aae43(0x4c4)]))==null?void 0x0:_0x1d84b7['releaseFormulaLimitUrl'])||_0x2aae43(0x27b),_0x3c9236=(await this[_0x2aae43(0x47d)][_0x2aae43(0x238)](_0x17b35e,{'body':JSON[_0x2aae43(0x228)]({'taskId':_0xed5946})}))[_0x2aae43(0x1f2)];if(((_0x1382b4=_0x3c9236[_0x2aae43(0x1fa)])==null?void 0x0:_0x1382b4['code'])!==_0x247beb[_0x2aae43(0x2e8)]['OK'])return;this[_0x2aae43(0x434)](_0x3c9236[_0x2aae43(0x253)],_0x537f91);}catch(_0x39ad1e){this[_0x2aae43(0x26c)]['error'](_0x39ad1e);}}[_0x5bd31d(0x4ca)](){const _0x395346=_0x5bd31d;return this[_0x395346(0x288)]===0x0?!0x0:this[_0x395346(0x288)]-this[_0x395346(0x239)]>0x0;}[_0x5bd31d(0x2eb)](){const _0x3f2059=_0x5bd31d;this[_0x3f2059(0x2ef)]&&(clearTimeout(this[_0x3f2059(0x2ef)]),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x366745=_0x5bd31d;this['_messageService'][_0x366745(0x3a7)]({'content':this[_0x366745(0x326)]['t'](_0x366745(0x37d)),'type':_0x1de54e['MessageType'][_0x366745(0x3e0)]});}['_hasFormulaInDirtyRanges'](_0x473292){const _0x428b8d=_0x5bd31d;for(let _0x3492c5 of _0x473292){let {unitId:_0x4a79a3,sheetId:_0x602b29,range:_0x7a8a8}=_0x3492c5,_0x32a337=this[_0x428b8d(0x1ce)][_0x428b8d(0x31d)](_0x4a79a3);if(!_0x32a337)continue;let _0x3cf728=_0x32a337[_0x428b8d(0x4aa)](_0x602b29);if(!_0x3cf728)continue;let _0x2a7c04=_0x3cf728[_0x428b8d(0x456)]();for(let _0x31a2b6=_0x7a8a8[_0x428b8d(0x284)];_0x31a2b6<=_0x7a8a8[_0x428b8d(0x3cd)];_0x31a2b6++)for(let _0x3f2383=_0x7a8a8[_0x428b8d(0x3d9)];_0x3f2383<=_0x7a8a8[_0x428b8d(0x211)];_0x3f2383++){let _0x1b2594=_0x2a7c04[_0x428b8d(0x48b)](_0x31a2b6,_0x3f2383);if(_0x1b2594&&((0x0,_0x3c58c0[_0x428b8d(0x4bf)])(_0x1b2594['f'])||(0x0,_0x3c58c0[_0x428b8d(0x48f)])(_0x1b2594['si'])))return!0x0;}}return!0x1;}};_0x294115=_0x355c08([_0x285b7d(0x0,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x2acf41[_0x5bd31d(0x1ca)])),_0x285b7d(0x1,_0x3c58c0[_0x5bd31d(0x34c)]),_0x285b7d(0x2,_0x3c58c0[_0x5bd31d(0x420)]),_0x285b7d(0x3,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x5573b7[_0x5bd31d(0x317)])),_0x285b7d(0x4,_0x3c58c0[_0x5bd31d(0x3af)]),_0x285b7d(0x5,_0x3c58c0[_0x5bd31d(0x354)]),_0x285b7d(0x6,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0[_0x5bd31d(0x4c1)]))],_0x294115);let _0x162515=class extends _0x3c58c0[_0x5bd31d(0x342)]{constructor(_0x5a6374,_0x1416eb,_0x56dea5){const _0x2244cf=_0x5bd31d;super(),this[_0x2244cf(0x216)]=_0x5a6374,this['_localStorageService']=_0x1416eb,this['_revisionService']=_0x56dea5,_0x18bf9d(this,'_cachedData',new Map()),_0x18bf9d(this,_0x2244cf(0x37c),new Map()),_0x18bf9d(this,_0x2244cf(0x48a),!0x1);}['disableLocalCache'](){const _0x2d4d19=_0x5bd31d;this[_0x2d4d19(0x48a)]=!0x0;}[_0x5bd31d(0x46a)](){const _0x409a91=_0x5bd31d;this[_0x409a91(0x48a)]=!0x1;}get[_0x5bd31d(0x207)](){const _0x304866=_0x5bd31d;return this[_0x304866(0x37c)];}['dispose'](){const _0x2ab48b=_0x5bd31d;this['exhaustSavingTask']()[_0x2ab48b(0x414)](()=>super['dispose']());}async[_0x5bd31d(0x3a5)](_0x4d3200){const _0x184758=_0x5bd31d;return this[_0x184758(0x48a)]?null:this[_0x184758(0x356)]['getItem']((0x0,_0x2de759[_0x184758(0x401)])(_0x4d3200));}async[_0x5bd31d(0x2ee)](_0x39a4ed,_0x7dd5bb){const _0x190706=_0x5bd31d;return!!this[_0x190706(0x356)]['setItem']((0x0,_0x2de759['getLocalCacheKey'])(_0x39a4ed),_0x7dd5bb);}async[_0x5bd31d(0x32e)](_0xb26396,_0x4d0b9c){const _0x158482=_0x5bd31d;var _0x38630f;let _0x4bb2b1=(_0x38630f=this[_0x158482(0x1e5)]['get'](_0xb26396))==null?await this['_localStorageService'][_0x158482(0x41b)]((0x0,_0x2de759[_0x158482(0x401)])(_0xb26396)):_0x38630f;if(!_0x4bb2b1)return;let _0x2c3fce=Date[_0x158482(0x270)](),_0x2a4ad0=new Date(_0x2c3fce)[_0x158482(0x3c8)]();await this[_0x158482(0x356)][_0x158482(0x1d2)]((0x0,_0x2de759[_0x158482(0x401)])(_0xb26396)+_0x158482(0x47a)+_0x2c3fce,{'reason':_0x4d0b9c,'createdAt':_0x2a4ad0,'data':_0x4bb2b1});}[_0x5bd31d(0x256)](_0x4081df,_0x47e4c8,_0x5b842f,_0x2e69a5){const _0xb1cb4a=_0x5bd31d;let _0x5c57bd=this['_revisionService'][_0xb1cb4a(0x40a)](_0x4081df);this[_0xb1cb4a(0x1e5)]['set'](_0x4081df,{'unitID':_0x4081df,'type':_0x47e4c8,'awaitingChangeset':_0x5b842f,'mutations':_0x2e69a5,'rev':_0x5c57bd}),this[_0xb1cb4a(0x37c)][_0xb1cb4a(0x200)](_0x4081df)||this[_0xb1cb4a(0x3ff)](_0x4081df);}['_scheduleSaving'](_0x33ef84){const _0x28ba14=_0x5bd31d;let _0x2ce96b=this[_0x28ba14(0x272)]();_0x2ce96b===0x0?this[_0x28ba14(0x37b)](_0x33ef84):this[_0x28ba14(0x37c)][_0x28ba14(0x2b2)](_0x33ef84,setTimeout(()=>this[_0x28ba14(0x37b)](_0x33ef84),_0x2ce96b));}[_0x5bd31d(0x272)](){const _0x44ff53=_0x5bd31d;var _0x2c3c3a;return(_0x2c3c3a=this[_0x44ff53(0x216)][_0x44ff53(0x314)](_0x2de759['LOCAL_CACHE_INTERVAL_KEY']))==null?_0x2de759[_0x44ff53(0x4ad)]:_0x2c3c3a;}[_0x5bd31d(0x37b)](_0x58a476){const _0x30da23=_0x5bd31d;let _0x4142e5=this[_0x30da23(0x37c)]['get'](_0x58a476);return _0x4142e5!==void 0x0&&window[_0x30da23(0x201)](_0x4142e5),this[_0x30da23(0x356)]['setItem']((0x0,_0x2de759['getLocalCacheKey'])(_0x58a476),this[_0x30da23(0x1e5)][_0x30da23(0x294)](_0x58a476))[_0x30da23(0x414)](()=>this[_0x30da23(0x37c)][_0x30da23(0x237)](_0x58a476));}async[_0x5bd31d(0x323)](){const _0x74c1e8=_0x5bd31d;let _0x1cd78d=[];this[_0x74c1e8(0x37c)][_0x74c1e8(0x241)]((_0xbf6355,_0x218285)=>{const _0x451d0b=_0x74c1e8;window[_0x451d0b(0x201)](_0xbf6355),_0x1cd78d['push'](this[_0x451d0b(0x37b)](_0x218285)['then'](()=>{const _0x4cdc2b=_0x451d0b;this[_0x4cdc2b(0x37c)]['delete'](_0x218285);}));}),await Promise['all'](_0x1cd78d);}};_0x162515=_0x355c08([_0x285b7d(0x0,_0x3c58c0[_0x5bd31d(0x420)]),_0x285b7d(0x1,_0x3c58c0[_0x5bd31d(0x22d)]),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x130b54[_0x5bd31d(0x246)]))],_0x162515);var _0x32a43a=class extends _0x3c58c0[_0x5bd31d(0x304)]{constructor(){const _0x173cd1=_0x5bd31d;super(),_0x18bf9d(this,_0x173cd1(0x2fa),void 0x0),this[_0x173cd1(0x2fa)]=(0x0,_0x159beb[_0x173cd1(0x2d5)])(window,_0x173cd1(0x210))[_0x173cd1(0x47c)]((0x0,_0x159beb[_0x173cd1(0x440)])(this[_0x173cd1(0x33c)]),(0x0,_0x159beb[_0x173cd1(0x458)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x159beb['mapTo'])(void 0x0));}[_0x5bd31d(0x43a)](_0x3b8e8e,_0x4bea1f,_0xdde634=!0x1){const _0x102919=_0x5bd31d;let _0x7816b0=new URL(window[_0x102919(0x4d4)][_0x102919(0x2d0)]);_0x7816b0[_0x102919(0x2a1)][_0x102919(0x2b2)](_0x3b8e8e,_0x4bea1f),_0xdde634?window[_0x102919(0x30e)]['replaceState']('','',_0x7816b0[_0x102919(0x462)]()):window[_0x102919(0x30e)][_0x102919(0x2b0)]('','',_0x7816b0[_0x102919(0x462)]());}['removeParam'](_0x49a1c6,_0x5cfbb2=!0x1){const _0x11468e=_0x5bd31d;let _0x5e781e=new URL(window[_0x11468e(0x4d4)][_0x11468e(0x2d0)]);_0x5e781e[_0x11468e(0x2a1)][_0x11468e(0x237)](_0x49a1c6),_0x5cfbb2?window['history'][_0x11468e(0x477)]('','',_0x5e781e['toString']()):window[_0x11468e(0x30e)][_0x11468e(0x2b0)]('','',_0x5e781e[_0x11468e(0x462)]());}[_0x5bd31d(0x21d)](_0x175198){const _0x344051=_0x5bd31d;var _0x5463f6;return(_0x5463f6=new URL(window['location'][_0x344051(0x2d0)])[_0x344051(0x2a1)]['get'](_0x175198))==null?void 0x0:_0x5463f6;}};let _0xd02751=class extends _0x3c58c0['Plugin']{constructor(_0x5d6e0b=_0x101909,_0x417a4,_0x5c195a,_0x3f6747){const _0x4829f9=_0x5bd31d;super(),this['_config']=_0x5d6e0b,this['_renderManagerService']=_0x417a4,this[_0x4829f9(0x281)]=_0x5c195a,this[_0x4829f9(0x216)]=_0x3f6747;let {..._0x2b882b}=(0x0,_0x3c58c0[_0x4829f9(0x2f0)])({},_0x101909,this[_0x4829f9(0x472)]);this[_0x4829f9(0x216)][_0x4829f9(0x300)]('collaboration-client-ui.config',_0x2b882b);}['onStarting'](){const _0x34fbf9=_0x5bd31d;this['_registerDependencies'](),this[_0x34fbf9(0x1d7)]();}[_0x5bd31d(0x37f)](){this['_registerRenderDependencies']();}[_0x5bd31d(0x1c9)](){const _0x4b0e37=_0x5bd31d;var _0x17037d;let _0x4b26ea=[[_0x5e0331],[_0x294115],[_0x4b069f,{'useClass':_0x32a43a}],[_0x5573b7[_0x4b0e37(0x334)],{'useClass':_0x5573b7[_0x4b0e37(0x406)]}],[_0x2de759[_0x4b0e37(0x43e)],{'useClass':_0x162515}],[_0x3ff328],[_0x16c540],[_0x138c14],[_0x575dbc]];this[_0x4b0e37(0x472)][_0x4b0e37(0x444)]!==!0x1&&_0x4b26ea[_0x4b0e37(0x2e9)]([_0x51cb18],[_0x56da58],[_0x2b0c0d],[_0xb42c6c],[_0x52d562],[_0x19955d]),this[_0x4b0e37(0x472)][_0x4b0e37(0x448)]&&_0x4b26ea[_0x4b0e37(0x2e9)]([_0x104185]),(0x0,_0x3c58c0[_0x4b0e37(0x25c)])(this['_injector'],(0x0,_0x3c58c0[_0x4b0e37(0x302)])(_0x4b26ea,(_0x17037d=this[_0x4b0e37(0x472)])==null?void 0x0:_0x17037d['override']));}[_0x5bd31d(0x4ce)](){const _0x2997ff=_0x5bd31d;this[_0x2997ff(0x472)]['enableDocumentCollaborationUI']!==!0x1&&this[_0x2997ff(0x387)](this['_renderManagerService'][_0x2997ff(0x4c7)](_0x3c58c0[_0x2997ff(0x230)][_0x2997ff(0x2a4)],[_0x38b461])),this['disposeWithMe'](this[_0x2997ff(0x2e1)]['registerRenderModule'](_0x3c58c0[_0x2997ff(0x230)][_0x2997ff(0x3e2)],[_0xbd2359])),this[_0x2997ff(0x387)](this[_0x2997ff(0x2e1)][_0x2997ff(0x4c7)](_0x3c58c0[_0x2997ff(0x230)][_0x2997ff(0x2c6)],[_0x2408e6]));}[_0x5bd31d(0x1d7)](){const _0x295996=_0x5bd31d;(0x0,_0x3c58c0['touchDependencies'])(this[_0x295996(0x281)],[[_0x138c14],[_0x3ff328],[_0x16c540],[_0x575dbc],[_0x294115]]),this['_config']['enableDocumentCollaborationUI']!==!0x1&&(0x0,_0x3c58c0[_0x295996(0x215)])(this[_0x295996(0x281)],[[_0x52d562],[_0x19955d]]),this[_0x295996(0x472)][_0x295996(0x448)]&&(0x0,_0x3c58c0['touchDependencies'])(this['_injector'],[[_0x104185]]);}};_0x18bf9d(_0xd02751,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x18bf9d(_0xd02751,_0x5bd31d(0x307),_0x419541),_0x18bf9d(_0xd02751,'version',_0x526597),_0xd02751=_0x355c08([(0x0,_0x3c58c0[_0x5bd31d(0x2ed)])(_0x2de759['UniverCollaborationClientPlugin']),_0x285b7d(0x1,_0x5425ea[_0x5bd31d(0x24b)]),_0x285b7d(0x2,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x3c58c0[_0x5bd31d(0x386)])),_0x285b7d(0x3,_0x3c58c0[_0x5bd31d(0x420)])],_0xd02751);let _0xea700e=class extends _0x2de759[_0x5bd31d(0x2fe)]{constructor(_0x109669,_0x4f6e19,_0x1a8063,_0x2c214c,_0x377eaf){super(_0x109669,_0x4f6e19,_0x1a8063,_0x2c214c,_0x377eaf);}async[_0x5bd31d(0x331)](_0x485236){const _0x258950=_0x5bd31d;let _0x3ae888=await this[_0x258950(0x3a1)](),_0x32f92a=this[_0x258950(0x336)](_0x485236,_0x3ae888);return this[_0x258950(0x2a0)](_0x32f92a);}[_0x5bd31d(0x336)](_0x22aa2d,_0x17ce46){const _0x4a0436=_0x5bd31d;let _0x277941=typeof window>'u'?new URL(_0x22aa2d):new URL(_0x22aa2d,window[_0x4a0436(0x4d4)][_0x4a0436(0x30a)]);_0x277941[_0x4a0436(0x2a1)][_0x4a0436(0x2b2)]('sessionTicket',_0x17ce46);let _0x20f59a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4a0436(0x4d4)][_0x4a0436(0x283)]);return _0x20f59a[_0x4a0436(0x294)]('runId')&&_0x277941[_0x4a0436(0x2a1)][_0x4a0436(0x2b2)]('runId',_0x20f59a[_0x4a0436(0x294)](_0x4a0436(0x39d))),_0x277941['toString']();}async[_0x5bd31d(0x3a1)](){const _0xe036da=_0x5bd31d;var _0x32eff7,_0x2afa6f,_0x278926;let _0xe16cd9=this['_configService'][_0xe036da(0x314)](_0x2de759[_0xe036da(0x4c4)]),_0x314ec4=(_0x32eff7=_0xe16cd9==null?void 0x0:_0xe16cd9[_0xe036da(0x4af)])==null?_0x2de759['DEFAULT_WS_SESSION_TICKET_URL']:_0x32eff7;return(_0x2afa6f=(_0x278926=(await this['_httpService']['get'](_0x314ec4,{'headers':{'Content-Type':_0xe036da(0x1ef)}}))['body'])==null?void 0x0:_0x278926[_0xe036da(0x2cc)])==null?'':_0x2afa6f;}};_0xea700e=_0x355c08([_0x285b7d(0x0,(0x0,_0x3c58c0['Inject'])(_0x3c58c0[_0x5bd31d(0x386)])),_0x285b7d(0x1,(0x0,_0x3c58c0['Inject'])(_0x5573b7['HTTPService'])),_0x285b7d(0x2,_0x3c58c0['IConfigService']),_0x285b7d(0x3,_0x3c58c0[_0x5bd31d(0x354)]),_0x285b7d(0x4,_0x130b54[_0x5bd31d(0x2b1)])],_0xea700e);let _0x1f3467=class extends _0x3c58c0[_0x5bd31d(0x342)]{constructor(_0x2718b4,_0x5c8074,_0x1a4cfc){const _0x195f38=_0x5bd31d;super(),this[_0x195f38(0x218)]=_0x2718b4,this[_0x195f38(0x47d)]=_0x5c8074,this['_configService']=_0x1a4cfc;}async[_0x5bd31d(0x290)](_0x466755,_0x2f28d3,_0x696950,..._0x19a42f){const _0xa1a941=_0x5bd31d;var _0x518c2b,_0x32ae28,_0x3cbda5,_0x14e625;let _0x320265=this[_0xa1a941(0x218)][_0xa1a941(0x2be)]();if(!_0x320265)throw Error(_0xa1a941(0x204));let _0x367d81=((_0x518c2b=this[_0xa1a941(0x216)][_0xa1a941(0x314)](_0x2de759[_0xa1a941(0x344)]))==null?_0x2de759[_0xa1a941(0x3bb)]:_0x518c2b)+'/'+_0x466755+_0xa1a941(0x2f3)+_0x2f28d3,_0x5a6061={'scriptId':_0x466755,'runId':(_0x32ae28=new URL(window[_0xa1a941(0x4d4)][_0xa1a941(0x2d0)])['searchParams'][_0xa1a941(0x294)](_0xa1a941(0x39d)))==null?'':_0x32ae28,'function':_0x2f28d3,'unitId':_0x320265[_0xa1a941(0x345)](),'argsOfFunction':JSON[_0xa1a941(0x228)](_0x19a42f),'invokeId':(_0x3cbda5=_0x696950['invokeId'])==null?'':_0x3cbda5,'executionId':(_0x14e625=_0x696950[_0xa1a941(0x205)])==null?'':_0x14e625};try{let _0x3002f6=await this[_0xa1a941(0x47d)][_0xa1a941(0x238)](_0x367d81,{'body':_0x5a6061});return _0x3002f6[_0xa1a941(0x1f2)]['error']&&_0x3002f6['body'][_0xa1a941(0x1fa)][_0xa1a941(0x490)]!==_0x247beb[_0xa1a941(0x2e8)]['OK']?_0xa1a941(0x262):_0x3002f6[_0xa1a941(0x1f2)]['result'];}catch{return _0xa1a941(0x262);}}};_0x1f3467=_0x355c08([_0x285b7d(0x0,_0x3c58c0[_0x5bd31d(0x3af)]),_0x285b7d(0x1,(0x0,_0x3c58c0[_0x5bd31d(0x3d0)])(_0x5573b7[_0x5bd31d(0x317)])),_0x285b7d(0x2,_0x3c58c0[_0x5bd31d(0x420)])],_0x1f3467);let _0x53bd6e=0x7530,_0x167f47=_0x5bd31d(0x499);var _0x36332a=class extends _0x3c58c0[_0x5bd31d(0x342)]{constructor(){const _0xb63963=_0x5bd31d;super(),_0x18bf9d(this,_0xb63963(0x2ae),(0x0,_0x3c58c0[_0xb63963(0x219)])()),_0x18bf9d(this,_0xb63963(0x1fe),new Set()),_0x18bf9d(this,_0xb63963(0x343),new Map()),_0x18bf9d(this,_0xb63963(0x2e0),null),_0x18bf9d(this,'_clearOtherTimers',new Map()),_0x18bf9d(this,_0xb63963(0x372),new Map()),this[_0xb63963(0x236)]();}[_0x5bd31d(0x303)](){const _0x178091=_0x5bd31d;super[_0x178091(0x303)](),this['_clearOtherTimers']['forEach']((_0x5a3184,_0x469c5b)=>this[_0x178091(0x481)](_0x469c5b)),this[_0x178091(0x2e0)]&&window[_0x178091(0x3d2)](this['_heartbeatTimer']);}[_0x5bd31d(0x320)](_0x47614e){const _0x14de36=_0x5bd31d;return this['_ensureSubject'](_0x47614e)[_0x14de36(0x47c)]((0x0,_0x159beb['distinctUntilChanged'])());}['editingUnit'](_0xfe58bc){const _0x1c6f97=_0x5bd31d;this[_0x1c6f97(0x1fe)][_0x1c6f97(0x4ab)]===0x0&&this[_0x1c6f97(0x385)](),this[_0x1c6f97(0x1fe)]['add'](_0xfe58bc),this[_0x1c6f97(0x26b)]({'type':0x0,'memberID':this[_0x1c6f97(0x2ae)],'unitIDs':[_0xfe58bc],'isForwarded':!0x1});}[_0x5bd31d(0x1f0)](_0x354e3e){const _0x2faf09=_0x5bd31d;this['_selfUnitIDs']['delete'](_0x354e3e),this['_selfUnitIDs']['size']===0x0&&this[_0x2faf09(0x2e0)]&&window[_0x2faf09(0x3d2)](this[_0x2faf09(0x2e0)]);}['_init'](){const _0x3853ae=_0x5bd31d;this[_0x3853ae(0x387)]((0x0,_0x3c58c0[_0x3853ae(0x2aa)])((0x0,_0x159beb[_0x3853ae(0x2d5)])(window,_0x3853ae(0x33e))[_0x3853ae(0x264)](_0x3e208f=>{const _0x13c39f=_0x3853ae;if(_0x3e208f[_0x13c39f(0x452)]!==_0x167f47||!_0x3e208f[_0x13c39f(0x377)])return;let _0x5a8de2=JSON[_0x13c39f(0x486)](_0x3e208f[_0x13c39f(0x377)]);this['_handleEvent'](_0x5a8de2);}))),window[_0x3853ae(0x45f)](_0x3853ae(0x393),()=>this[_0x3853ae(0x26b)]({'type':0x1,'memberID':this[_0x3853ae(0x2ae)],'unitIDs':Array[_0x3853ae(0x2f4)](this[_0x3853ae(0x1fe)])}));}[_0x5bd31d(0x3d7)](_0x4c14aa){const _0x416a55=_0x5bd31d;switch(_0x4c14aa['type']){case 0x0:this[_0x416a55(0x1e0)](_0x4c14aa);break;case 0x1:this[_0x416a55(0x42f)](_0x4c14aa);break;case 0x2:this['_handleHeartbeatEvent'](_0x4c14aa);break;}}['_handleJoinEvent'](_0x281b67){const _0x5b20c1=_0x5bd31d;let {unitIDs:_0x2be044,memberID:_0x13e76d,isForwarded:_0x4c1c7e}=_0x281b67;_0x2be044[_0x5b20c1(0x241)](_0x17d6b3=>{const _0x42e88a=_0x5b20c1;if(!_0x4c1c7e&&this[_0x42e88a(0x343)][_0x42e88a(0x200)](_0x17d6b3)&&this['_ensureSubject'](_0x17d6b3)[_0x42e88a(0x1cc)](_0x2de759['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x42e88a(0x343)]['has'](_0x17d6b3)||!this[_0x42e88a(0x343)][_0x42e88a(0x294)](_0x17d6b3)[_0x42e88a(0x200)](_0x13e76d)){let _0x4a4614=this['_unitOnClients'][_0x42e88a(0x294)](_0x17d6b3)||new Set();_0x4a4614[_0x42e88a(0x443)](_0x13e76d),this[_0x42e88a(0x343)][_0x42e88a(0x2b2)](_0x17d6b3,_0x4a4614),this['_scheduleClearOtherTimer'](_0x13e76d);}}),_0x4c1c7e||this[_0x5b20c1(0x26b)]({'type':0x0,'memberID':this[_0x5b20c1(0x2ae)],'unitIDs':[...this[_0x5b20c1(0x1fe)]],'isForwarded':!0x0});}[_0x5bd31d(0x463)](_0x1ac4f9){const _0x3f740d=_0x5bd31d;this[_0x3f740d(0x481)](_0x1ac4f9);let _0x509135=window[_0x3f740d(0x308)](()=>{const _0x411ce6=_0x3f740d;this[_0x411ce6(0x343)]['forEach'](_0x4b29b4=>{const _0x574e62=_0x411ce6;_0x4b29b4[_0x574e62(0x237)](_0x1ac4f9);});},_0x53bd6e*0x2);this[_0x3f740d(0x261)][_0x3f740d(0x2b2)](_0x1ac4f9,_0x509135);}[_0x5bd31d(0x481)](_0x5abce3){const _0x1e5854=_0x5bd31d;if(this[_0x1e5854(0x261)][_0x1e5854(0x200)](_0x5abce3)){let _0x135289=this['_clearOtherTimers']['get'](_0x5abce3);_0x135289&&window['clearTimeout'](_0x135289),this[_0x1e5854(0x261)][_0x1e5854(0x2b2)](_0x5abce3,null);}}[_0x5bd31d(0x42f)](_0xafe59d){const _0x34f6f4=_0x5bd31d;let {memberID:_0x36fb0c,unitIDs:_0x321abf}=_0xafe59d;_0x321abf['forEach'](_0x10d9b9=>{const _0x41d316=_0x101e;var _0x3b04bd;let _0x503b58=this[_0x41d316(0x343)]['get'](_0x10d9b9);_0x503b58&&(_0x503b58[_0x41d316(0x237)](_0x36fb0c),(_0x3b04bd=this['_ensureSubject'](_0x10d9b9))==null||_0x3b04bd['next'](_0x503b58['size']===0x0?_0x2de759[_0x41d316(0x2d9)]['NO_OTHER_CLIENTS_EDITING']:_0x2de759[_0x41d316(0x2d9)][_0x41d316(0x3ca)]));}),this[_0x34f6f4(0x481)](_0x36fb0c);}[_0x5bd31d(0x21c)](_0x1bda54){const _0x10da4f=_0x5bd31d;this['_scheduleClearOtherTimer'](_0x1bda54[_0x10da4f(0x413)]);}[_0x5bd31d(0x26b)](_0x55f41b){const _0x3f7311=_0x5bd31d;localStorage[_0x3f7311(0x1d2)](_0x167f47,JSON[_0x3f7311(0x228)](_0x55f41b));}[_0x5bd31d(0x385)](){const _0xa6d749=_0x5bd31d;this[_0xa6d749(0x2e0)]=window[_0xa6d749(0x329)](()=>{const _0x2154d1=_0xa6d749;this[_0x2154d1(0x26b)]({'type':0x2,'memberID':this['_id']});},_0x53bd6e);}['_ensureSubject'](_0x55da88){const _0x343d59=_0x5bd31d;return this[_0x343d59(0x372)][_0x343d59(0x200)](_0x55da88)||this[_0x343d59(0x372)]['set'](_0x55da88,new _0x159beb[(_0x343d59(0x31a))](_0x2de759[_0x343d59(0x2d9)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x55da88);}};Object['defineProperty'](_0x4a6aec,_0x5bd31d(0x41c),{'enumerable':!0x0,'get':function(){return _0xea700e;}}),Object[_0x5bd31d(0x41f)](_0x4a6aec,_0x5bd31d(0x266),{'enumerable':!0x0,'get':function(){return _0x575dbc;}}),Object[_0x5bd31d(0x41f)](_0x4a6aec,_0x5bd31d(0x32d),{'enumerable':!0x0,'get':function(){return _0x3ff328;}}),_0x4a6aec[_0x5bd31d(0x2a7)]=_0x4b069f,Object[_0x5bd31d(0x41f)](_0x4a6aec,_0x5bd31d(0x250),{'enumerable':!0x0,'get':function(){return _0x1f3467;}}),_0x4a6aec[_0x5bd31d(0x1e3)]=_0x51ab5a,Object[_0x5bd31d(0x41f)](_0x4a6aec,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0xd02751;}}),_0x4a6aec[_0x5bd31d(0x227)]=_0x36332a,_0x4a6aec[_0x5bd31d(0x348)]=_0x32a43a;}));function _0x101e(_0x5a8108,_0xbb9def){_0x5a8108=_0x5a8108-0x1c9;const _0x304cac=_0x304c();let _0x101e96=_0x304cac[_0x5a8108];return _0x101e96;}function _0x304c(){const _0x24882b=['setTimeout','@univerjs/network','origin','currentUsage','VIEW_MAIN','showText','history','collaboration-client-ui.conflict.content','6171528TVkBCt','_offsetY','pageManager','react/jsx-runtime','getConfig','_urlService','univer-transition-all\x20univer-duration-200','HTTPService','setOffsetY','_getSceneObjectByKey','BehaviorSubject','156990ufdLaq','white','getUnit','fillStyle','getViewport','getUnitStatus$','_initCommandExecutedListener','getSheetObject','exhaustSavingTask','_docClipboardService','_lastPointer','_localeService','button','useCallback','setInterval','filename','column','CONFLICT','DesktopCollaborationStatusDisplayController','backupOfflineData','_scene','_refRangeService','createSocket','resolve','getAllUnitsForType','ISocketService','socket$','_createSocketURL','_drawAnchor','rgba(','rgba(255,\x20255,\x20255,\x200.01)','roomMembers','react','dispose$','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','storage','_collabSessionService','http://www.w3.org/2000/svg','defIds','Disposable','_unitOnClients','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getUnitId','AWAITING','_highlightSecond','WebURLService','CLOSE_ROOM','isInternalEditorID','_startCalculationLimit','ICommandService','mutations','_anchor','name','assignAColorForMemberID','MessageType','_colorIndex','subunit','ILogService','getObject','_localStorageService','colorClass','FromArray','React','UniverIcon','deserializeRangeWithSheet','HEADER_MENU','message','univerjs-icon\x20univerjs-icon-','redoState','4011752CLUjmI','M0\x200H16V16H0z','find','transformMutation','[LogService\x20Error]:\x20','onCommandExecuted','univer-text-red-500','IRemoteInstanceService','RegularPolygon','DocStateChangeManagerService','getColorFromTheme','polite','function','RECT','setActiveRange','spin','UniverCore','idSuffix','_unitStatus','NOT_COLLAB','IUIPartsService','unsubscribe','includes','newValue','_releaseCalculationLimit','getCurrentSkeleton','exports','_saveCache','_saveTaskMap','collaboration-client-ui.formula.calculation.waiting','START_CALCULATION','onRendered','collaboration-client-ui.permission.title','USERS_LEAVE','strokeWidth','Workbook','COLORS','_scheduleHeartbeat','Injector','disposeWithMe','@univerjs/engine-render','map','drawWith','unshift','_refreshCollabCursors','on-line-icon','_colorAssignService','currentTheme$','_transformHistoryAndStateStack','collaboration-client-ui.session.collaboration-timeout','_checkAndWaitForCalculationPermission','unload','_name','collaboration-client-ui.session.will-retry','unitID','_blinkTimer','entityInit$','_assignedColors',',\x200.2)','getCurrentSelections','indicator','runId','_startSlideCollabCursor','getDocRanges','_docSyncEditingCollabCursorService','_getSessionTicket','icon','FETCH_MISS','removeEventListener','loadOfflineData','#4f46e5','show','left','registerBeforeClose','defs','54VWiGDX','replaceDocRanges','getAncestorScale','_applyCommand','IUniverInstanceService','_initEvent','createElement','Tooltip','isTransformMutationFailure','_pointerMoveDisposable','text','NodePositionConvertToRectRange','Shape','_dataLoaderService','color','_cursorShapes','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','focusedId','SUBMIT_CHANGESET_TIMEOUT','_collaborationController','addObject$','transform','_onCursorUpdate','span','_color','collaboration-client-ui.collaboration.single-unit.warning','m2Prime','@univerjs-pro/collaboration','unit','toISOString','UniverProCollaboration','OTHER_CLIENTS_EDITING','unhandledrejection','colorChannel1','endRow','_shapes','constructor','Inject','makeDirty','clearInterval','/universer-api/frontend/logs','resize','height','debug','_handleEvent','_messageService','startColumn','710510yykLSg','parseInt','_getScale','transformStateCache','pulse','_getFormulaLimitStatus','Loading','off-line-icon_clip0_910_343','UNIVER_SHEET','_transformService','_isApplyingOverlays','engine','SOCKET_FAILED_RETRY','moveTo','_startBlinking','getTypeOfUnitAdded$','split','_beforeCloseService','arc','_getLighterColor','measureText','_removeCollabCursors','SUCCESS','colno','rgba','loadUnit','_hasFormulaInDirtyRanges','asObservable','Tools','distinctUntilChanged','_handleHover','univer-text-gray-400','deepClone','@univerjs/design','CollaborationUIEventService','CollaborationUIEventId','collaboration-client-ui.collabClient.tooltip.reconnect','_scheduleSaving','clickable','getLocalCacheKey','_eventUnsubscribe','handleIRemoveCol','univer-flex\x20univer-items-center\x20univer-justify-center','addHandlerCallback','WebSocketService','whenReady','PERMISSION_DENIED','sessionStatus$','getCurrentRevOfUnit','useRef','getStateCache','xlink:href','INotificationService','subUnitId','_imageIoService','unitId','_draw','memberID','then','getSkeleton','registerComponent','params','TEXT','isTransformMutationsWithChangesetSuccess','DisposableCollection','getItem','BrowserCollaborationSocketService','complete','selection','defineProperty','IConfigService','InsertRangeMoveRightCommandId','event$','Success','findNodePositionByCharIndex','_updateSubUnitFromURLParams','_onCursorDelete','_latestCursors','rgb','getId','getRangePointData','getRealBound','toRgbString','handleIRemoveRow','decorate','_handleLeaveEvent','_context','_startSheetCollabCursor','_getObjectBounds','length','_setFormulaLimitStatus','DocSkeletonManagerService','getSheetId','createIdentifier','RefRangeService','DataLoaderService','setParam','PENDING','_cursors','getCollabCursors$','ILocalCacheService','contains','takeUntil','fillRule','_entities','add','enableDocumentCollaborationUI','collaboration-client-ui.collabStatus.notCollab','highlight','round','enableFrontendLog','UPDATE_CURSOR','IDocClipboardService','transformMutationsWithChangeset','tag','SetFormulaCalculationStartMutation','/universer-api/license/formula/limit/status','bottom','_initResize','_status$','key','_docSkeletonManagerService','_scheduleRender','_uploadLog','getCellMatrix','trim','shareReplay','_anchorDot','0\x200\x2016\x2016','string','0\x200\x2017\x2016','registerRefRange','black','addEventListener','getUniverSheetInstance','red.300','toString','_scheduleClearOtherTimer','collaboration-client-ui.formula.calculation.unable','@univerjs/docs','getMember','getObjectIncludeInGroup','transformByState','CanceledError','enableLocalCache','transformIMECache','selections','slide-collab-cursor-','mask','strokeRect','green.600','angle','_config','_initStatusComponent','CollaborationStatus','getSnapshot','_docTransformStateCacheService','replaceState','current','_syncEditingCollabCursorService',':backup:','SheetSkeletonManagerService','pipe','_httpService','save','setShapeProps','collaboration-client-ui.permission.content','_removeClearOtherTimer','0.2)','fill','BuiltInUIPart','getCurrentTypeOfUnit$','parse','call','true','filter','_disabled','getValue','clear','values','InsertRangeMoveDownCommandId','isFormulaId','code','@univerjs/protocol','currentColor','activeSheet$','undoState','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_renderScheduled','strokeStyle','on-line-icon_clip0_910_349','ACTIVE_UNIT_EVENT_CHANNEL','addObject','offsetY','MoveRangeCommandId','getFormulaLimitStatusUrl','shift','_initCommandInterceptor','/universer-api/license/formula/limit/start','context','activeSlideId$','Rect','executeCommand','collaboration-client-ui.collabStatus.offline','combineLatest','_backgroundColor','getActiveRange','doc.mutation.rich-text-editing','getSheetBySheetId','size','18jWWGHx','LOCAL_CACHE_INTERVAL','onPointerLeave$','wsSessionTicketUrl','rxjs/operators','SessionStatus','univer-text-orange-500','jsx','univer-border-none\x20univer-bg-transparent','FormulaExecuteStageType','_collabCursorController','RemoveColCommandId','getRenderById','loading-multi-icon','i18nKey','data','_setupSubUnitSync','transformSelections','_slideDrawingStateService','isFormulaString','cursorInfo','LocaleService','rxjs','forwardRef','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','#0B9EFB','1em','registerRenderModule','stage','_range','_checkCalculationAvailable','_docStateChangeManagerService','reconnect','SetDocZoomRatioOperation','_registerRenderDependencies','min','DocIMEInputManagerService','state$','univer-m-0\x20univer-p-0','selectedIds','location','_registerDependencies','IMessageService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','next','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_univerInstanceService','Module','purple.300','_highlight','setItem','univer-appearance-none','useMemo','6607636OaCZIk','serializeRangeWithSheet','_initDependencies','Enter','isArray','clsx','univer-text-blue-500','hide','JOIN_ROOM_FAILED','_getMergeRange','beginPath','_handleJoinEvent','uni.network.url-service','onMouseMove','SheetCollabCursorShape','translate(.97)','_cachedData','triggerDblclick','use','restore','_initUnhandledRejectionListener','FormulaExecutedStateType','getOffsetConfig','flatMap','textRanges','_docSkeleton','application/json','disposeUnit','children','body','_hover','_initEntityListener','_getSheetObject','font','subscribeEvent','@univerjs/drawing','getRelativeToViewportCoord','error','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Error','collab-text-anchor-','_selfUnitIDs','_docTransformIMECacheService','has','clearTimeout','status','_themeService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','executionId','buildDrawingOKey','saveTaskMap','Unknown\x20user','CollaborationEvent','_showText','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onPointerEnter$','_taskIds','SHEET_VIEWPORT_KEY','_document','popstate','endColumn','slice','slide-element-selection','_hovered','touchDependencies','_configService','stroke','_instanceService','generateRandomId','range','_monkeyPatchLogService','_handleHeartbeatEvent','getParam','_sheetSkeletonManagerService','handleInsertRow','getTypeOfUnitDisposed$','eventID','_initStatusListener','onPointerMove$','_showGuardMessage','_updateCollabCursors','ranges','WebBrowserSingleActiveUnitService','stringify','removeObjects','static','row','NodePositionConvertToCursor','ILocalStorageService','_updateLocalCursor','currentSkeleton$','UniverInstanceType','_updateURLWithCurrentState','stack','useDependency','_commandService','setLineDash','_init','delete','post','_currentUsage','substring','preventDefault','_memberID','amd','OnLineIcon','_render','focused$','forEach','labelPosition','object','LoadingMultiIcon','send','RevisionService','_onRefRangeChange','m1Prime','_entityInit$','@univerjs/ui','IRenderManagerService','handleInsertCol','addClipboardHook','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','path','RemoteUniscriptService','SetWorksheetActivateCommand','ONLINE','limitInfo','status$','some','updateOfflineData','_online','none','_drawTextRange','width','_collaborationSessionService','registerDependencies','getUndoRedoMutationParamsCache','_collaborationUIEventService','_textBubble','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_clearOtherTimers','Failed','\x20at\x20','subscribe','roomMembers$','CollaborationDataLoaderController','requireSession','collab-text-range-','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clipPath','_send','_logService','scene','@univerjs/rpc','setAlpha','now','_collabCursorState$','_getSaveTimeout','top','_initUserListener','_memberService','46673kgJsCn','UniverRpc','MemberService','_blinkIntervalTimer','isEditing','/universer-api/license/formula/limit/done','fromEventSubject','handleInsertRangeMoveDown','startFormulaLimitUrl','collabCursorState$','collaboration-client-ui.collabStatus.syncing','_injector','UniverSheets','search','startRow','getColor','assign','UniverDocs','_maxFormulaLimit','dirtyRanges','_docTransformSelectionsService','stageInfo','collab-rect-range-','DeleteRangeMoveUpCommandId','startsWith','transformRemoteChangeset','runOnServer','_transformPreviousActiveRange','entries','attrs','get','_startDocCollabCursor','@univerjs/sheets-ui','_hideTimer','_stopBlinking','ColorKit','getCurrentUnitOfType','sheetId','collaboration-client-ui.collaboration.closeRoom','_initWindowErrorListener','SOCKET_FAILED','default','_doCreateSocket','searchParams','_drawRectRange','evenodd','UNIVER_DOC','getOwnPropertyDescriptor','prototype','IURLService','Warning','UniverDocsUi','toDisposable','dark:focus:!univer-ring-offset-gray-800','_localCacheService','blue.400','_id','_uiPartsService','pushState','ISnapshotServerService','set','3fXENlb','ITransformService','Subject','replace','@univerjs/core','...','TEXT_RANGE_LAYER_INDEX','setStateCache','341RBOoae','displayName','_cursorInfo$','getFocusedUnit','@univerjs/engine-formula','_session','symbol','getMemberID','[CollaborationDataLoaderController]','createInstance','_notificationService','UNIVER_SLIDE','toStringTag','cursorInfo$','getVpScrollXYInfoByPosToVp','reason','@univerjs/sheets','ticket','syncEditingCollabCursor','removeObject','_roomMembers$','href','SetFormulaCalculationNotificationMutation','?taskId=','with','_labelPosition','fromEvent','lineTo','svg','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UnitStatus','_setupBeforeClosingHandler','_lastResponseTimestamp','tooltipKey','collaboration-client-ui.conflict.title','isActive','IImageIoService','_heartbeatTimer','_renderManagerService','highlightSecond','beforeCommandExecuted','SYNCED','_toggleOffline','switchMap','UniverProtocol','ErrorCode','push','EffectRefRangId','_clearPolling','DOC_RANGE_TYPE','DependentOn','saveOfflineData','_pollingInterval','merge','CollaborationSessionService','source','/run/','from','debounceTime','DocCollaborationEntity','handleDeleteRangeMoveUp','_transformUndoRedoStack','getCoordByCell','urlChange$','_toggleOnline','_getAnchorBounding','debounce','CollaborationSocketService','946728gbCXAP','setConfig','init','mergeOverrideWithDependencies','dispose','RxDisposable','_isBlinkVisible','catch','packageName'];_0x304c=function(){return _0x24882b;};return _0x304c();}
1
+ function _0x7aae(_0x3b59d1,_0x4be9f9){_0x3b59d1=_0x3b59d1-0xff;const _0x32c884=_0x32c8();let _0x7aae8f=_0x32c884[_0x3b59d1];return _0x7aae8f;}(function(_0x43d3a0,_0x4943e3){const _0x1fdc48=_0x7aae,_0x2f8c26=_0x43d3a0();while(!![]){try{const _0xb8b9b1=parseInt(_0x1fdc48(0x193))/0x1+-parseInt(_0x1fdc48(0x11f))/0x2+-parseInt(_0x1fdc48(0x3b8))/0x3*(parseInt(_0x1fdc48(0x183))/0x4)+parseInt(_0x1fdc48(0x17a))/0x5*(-parseInt(_0x1fdc48(0x3cb))/0x6)+parseInt(_0x1fdc48(0x1a6))/0x7*(parseInt(_0x1fdc48(0x17e))/0x8)+-parseInt(_0x1fdc48(0x2ab))/0x9+-parseInt(_0x1fdc48(0x262))/0xa*(-parseInt(_0x1fdc48(0x161))/0xb);if(_0xb8b9b1===_0x4943e3)break;else _0x2f8c26['push'](_0x2f8c26['shift']());}catch(_0x4a6dbf){_0x2f8c26['push'](_0x2f8c26['shift']());}}}(_0x32c8,0x250f6),function(_0x3eb93f,_0x5c09e3){const _0x5ab343=_0x7aae;typeof exports==_0x5ab343(0x361)&&typeof module<'u'?_0x5c09e3(exports,require('@univerjs-pro/boards-ui'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs-pro/slides-ui'),require('@univerjs/sheets-ui'),require('@univerjs/rpc'),require('@univerjs/protocol')):typeof define==_0x5ab343(0x3a2)&&define[_0x5ab343(0x1fe)]?define([_0x5ab343(0x2f5),_0x5ab343(0x101),_0x5ab343(0x1cc),'@univerjs/core',_0x5ab343(0x362),'rxjs','rxjs/operators',_0x5ab343(0x2b9),_0x5ab343(0x302),'react/jsx-runtime',_0x5ab343(0x352),_0x5ab343(0x3c1),_0x5ab343(0x155),_0x5ab343(0x3e9),_0x5ab343(0x198),'@univerjs/engine-formula',_0x5ab343(0x1f9),_0x5ab343(0x13c),'@univerjs/sheets-ui','@univerjs/rpc',_0x5ab343(0x3d0)],_0x5c09e3):(_0x3eb93f=typeof globalThis<'u'?globalThis:_0x3eb93f||self,_0x5c09e3(_0x3eb93f[_0x5ab343(0x126)]={},_0x3eb93f[_0x5ab343(0x20b)],_0x3eb93f[_0x5ab343(0x34c)],_0x3eb93f['UniverCore'],_0x3eb93f[_0x5ab343(0x32a)],_0x3eb93f[_0x5ab343(0x2ca)],_0x3eb93f[_0x5ab343(0x2ca)][_0x5ab343(0x347)],_0x3eb93f[_0x5ab343(0x3f4)],_0x3eb93f[_0x5ab343(0x2d2)],_0x3eb93f[_0x5ab343(0x2d2)],_0x3eb93f[_0x5ab343(0x280)],_0x3eb93f['UniverNetwork'],_0x3eb93f[_0x5ab343(0x26e)],_0x3eb93f[_0x5ab343(0x11b)],_0x3eb93f['UniverDocs'],_0x3eb93f['UniverEngineFormula'],_0x3eb93f[_0x5ab343(0x3f8)],_0x3eb93f[_0x5ab343(0x26c)],_0x3eb93f[_0x5ab343(0x1e9)],_0x3eb93f[_0x5ab343(0x31a)],_0x3eb93f['UniverProtocol']));}(this,function(_0x158154,_0x512abf,_0x35fa89,_0x2b0173,_0x161125,_0xc05c0c,_0x4be982,_0x96a8b5,_0x34db69,_0x140dd6,_0x15ed3a,_0x5499b2,_0x56f9a3,_0xd76d4d,_0x3ad445,_0x170b1c,_0x384008,_0x304b4c,_0x50b664,_0x3ab178,_0x2e0273){const _0x1a58e5=_0x7aae;Object['defineProperty'](_0x158154,Symbol[_0x1a58e5(0x106)],{'value':_0x1a58e5(0x234)});function _0x36d807({ref:_0x49adfb,..._0x5226ec}){const _0x304a82=_0x1a58e5;let {icon:_0x3d7c62,id:_0xd3bb0e,className:_0x499c77,extend:_0x1cb60d,..._0x909d9f}=_0x5226ec,_0x5e9aa4=(_0x304a82(0x3ff)+_0xd3bb0e+'\x20'+(_0x499c77||''))['trim'](),_0x2f9472=(0x0,_0x34db69[_0x304a82(0x296)])('_'+_0x63cd74());return _0x340f0b(_0x3d7c62,''+_0xd3bb0e,{'defIds':_0x3d7c62[_0x304a82(0x120)],'idSuffix':_0x2f9472[_0x304a82(0x390)]},{'ref':_0x49adfb,'className':_0x5e9aa4,..._0x909d9f},_0x1cb60d);}function _0x340f0b(_0x344b63,_0x539729,_0x3001bb,_0x5b207d,_0x32dee4){const _0x1423f1=_0x1a58e5;return(0x0,_0x34db69[_0x1423f1(0x185)])(_0x344b63[_0x1423f1(0x1f6)],{'key':_0x539729,..._0x30d6ef(_0x344b63,_0x3001bb,_0x32dee4),..._0x5b207d},(_0x3b7ba8(_0x344b63,_0x3001bb)[_0x1423f1(0x2bc)]||[])[_0x1423f1(0x230)]((_0x5dba94,_0x4b9b0d)=>_0x340f0b(_0x5dba94,_0x539729+'-'+_0x344b63[_0x1423f1(0x1f6)]+'-'+_0x4b9b0d,_0x3001bb,void 0x0,_0x32dee4)));}function _0x30d6ef(_0x2b1f0e,_0x52a5b,_0x14f9d8){const _0x4cb442=_0x1a58e5;let _0x2adc5f={..._0x2b1f0e[_0x4cb442(0x27e)]};_0x14f9d8!=null&&_0x14f9d8[_0x4cb442(0x207)]&&_0x2adc5f['fill']==='colorChannel1'&&(_0x2adc5f[_0x4cb442(0x2ec)]=_0x14f9d8[_0x4cb442(0x207)]),_0x14f9d8!=null&&_0x14f9d8[_0x4cb442(0x207)]&&_0x2adc5f[_0x4cb442(0x27b)]==='colorChannel1'&&(_0x2adc5f[_0x4cb442(0x27b)]=_0x14f9d8['colorChannel1']),_0x2b1f0e[_0x4cb442(0x1f6)]===_0x4cb442(0x171)&&_0x2adc5f['id']&&(_0x2adc5f['id']+=_0x52a5b[_0x4cb442(0x373)]),Object[_0x4cb442(0x1fd)](_0x2adc5f)[_0x4cb442(0xff)](([_0x1812ee,_0x49fa14])=>{const _0x1d4f84=_0x4cb442;_0x1812ee===_0x1d4f84(0x171)&&typeof _0x49fa14=='string'&&(_0x2adc5f[_0x1812ee]=_0x49fa14[_0x1d4f84(0x2e5)](/url\(#(.*)\)/,_0x1d4f84(0x16b)+_0x52a5b[_0x1d4f84(0x373)]+')'));});let {defIds:_0x1537c2}=_0x52a5b;return!_0x1537c2||_0x1537c2[_0x4cb442(0x371)]===0x0?_0x2adc5f:(_0x2b1f0e[_0x4cb442(0x1f6)]===_0x4cb442(0x414)&&_0x2adc5f[_0x4cb442(0x1c1)]&&(_0x2adc5f[_0x4cb442(0x1c1)]+=_0x52a5b[_0x4cb442(0x373)]),Object[_0x4cb442(0x1fd)](_0x2adc5f)[_0x4cb442(0xff)](([_0x1fc631,_0x6ea999])=>{const _0x1ce03b=_0x4cb442;typeof _0x6ea999==_0x1ce03b(0x31b)&&(_0x2adc5f[_0x1fc631]=_0x6ea999[_0x1ce03b(0x2e5)](/url\(#(.*)\)/,'url(#$1'+_0x52a5b[_0x1ce03b(0x373)]+')'));}),_0x2adc5f);}function _0x3b7ba8(_0x55600b,_0x9c5c58){const _0x57254e=_0x1a58e5;var _0x25a2fc;let {defIds:_0x4ac828}=_0x9c5c58;return!_0x4ac828||_0x4ac828[_0x57254e(0x371)]===0x0?_0x55600b:_0x55600b['tag']===_0x57254e(0x300)&&(_0x25a2fc=_0x55600b[_0x57254e(0x2bc)])!=null&&_0x25a2fc['length']?{..._0x55600b,'children':_0x55600b['children'][_0x57254e(0x230)](_0x1eb002=>typeof _0x1eb002[_0x57254e(0x27e)]['id']==_0x57254e(0x31b)&&_0x4ac828&&_0x4ac828[_0x57254e(0x39c)](_0x1eb002[_0x57254e(0x27e)]['id'])?{..._0x1eb002,'attrs':{..._0x1eb002[_0x57254e(0x27e)],'id':_0x1eb002[_0x57254e(0x27e)]['id']+_0x9c5c58['idSuffix']}}:_0x1eb002)}:_0x55600b;}function _0x63cd74(){const _0x46dfa5=_0x1a58e5;return Math[_0x46dfa5(0x38c)]()[_0x46dfa5(0x3d4)](0x24)[_0x46dfa5(0x1fb)](0x2,0x8);}_0x36d807[_0x1a58e5(0x2f8)]='UniverIcon';let _0x1b3dfa={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':_0x1a58e5(0x38f),'viewBox':_0x1a58e5(0x2d1),'width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a58e5(0x405)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'stroke':_0x1a58e5(0x27f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1a58e5(0x16e),'strokeLinejoin':_0x1a58e5(0x16e),'strokeWidth':1.2}}]},{'tag':_0x1a58e5(0x300),'attrs':{},'children':[{'tag':_0x1a58e5(0x2ba),'attrs':{'id':_0x1a58e5(0x25d)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'fill':_0x1a58e5(0x33f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1a58e5(0x25d)]},_0x291369=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0x1f4975,_0x9214ac){const _0x362306=_0x1a58e5;return(0x0,_0x34db69[_0x362306(0x185)])(_0x36d807,Object['assign']({},_0x1f4975,{'id':'off-line-icon','ref':_0x9214ac,'icon':_0x1b3dfa}));});_0x291369[_0x1a58e5(0x2f8)]='OffLineIcon';let _0x26d5ae={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':_0x1a58e5(0x38f),'viewBox':'0\x200\x2017\x2016','width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a58e5(0x270)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'stroke':_0x1a58e5(0x27f),'d':_0x1a58e5(0x30c),'strokeLinecap':'round','strokeLinejoin':_0x1a58e5(0x16e),'strokeWidth':1.2}}]},{'tag':_0x1a58e5(0x300),'attrs':{},'children':[{'tag':_0x1a58e5(0x2ba),'attrs':{'id':_0x1a58e5(0x3c3)},'children':[{'tag':_0x1a58e5(0x239),'attrs':{'fill':_0x1a58e5(0x33f),'d':_0x1a58e5(0x2ed),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x32fe5e=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0xf8d936,_0x194a4d){const _0x2137f1=_0x1a58e5;return(0x0,_0x34db69[_0x2137f1(0x185)])(_0x36d807,Object['assign']({},_0xf8d936,{'id':'on-line-icon','ref':_0x194a4d,'icon':_0x26d5ae}));});_0x32fe5e[_0x1a58e5(0x2f8)]=_0x1a58e5(0x3fc);let _0x2efdf4={'tag':_0x1a58e5(0x408),'attrs':{'xmlns':_0x1a58e5(0x2b1),'fill':'none','viewBox':_0x1a58e5(0x2d1),'width':_0x1a58e5(0x3b2),'height':_0x1a58e5(0x3b2)},'children':[{'tag':'path','attrs':{'fill':_0x1a58e5(0x2de),'d':_0x1a58e5(0x2fb),'fillOpacity':0.2,'fillRule':_0x1a58e5(0x2fa),'clipRule':_0x1a58e5(0x2fa)}},{'tag':_0x1a58e5(0x239),'attrs':{'fill':'#0B9EFB','d':_0x1a58e5(0x1bf),'fillRule':_0x1a58e5(0x2fa),'clipRule':_0x1a58e5(0x2fa)}}]},_0x318625=(0x0,_0x34db69[_0x1a58e5(0x1c2)])(function(_0x2d7c2b,_0x19d94d){const _0x557a30=_0x1a58e5;return(0x0,_0x34db69['createElement'])(_0x36d807,Object[_0x557a30(0x208)]({},_0x2d7c2b,{'id':_0x557a30(0x189),'ref':_0x19d94d,'icon':_0x2efdf4}));});_0x318625[_0x1a58e5(0x2f8)]=_0x1a58e5(0x14f);function _0x17446a(_0x1a6f29){const _0xea4c73=_0x1a58e5;switch(_0x1a6f29){case _0x35fa89[_0xea4c73(0x315)]['OFFLINE']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x291369,{}),'colorClass':_0xea4c73(0x1f8),'i18nKey':_0xea4c73(0x18b),'tooltipKey':_0xea4c73(0x3da),'clickable':!0x0,'indicator':_0xea4c73(0x279)};case _0x35fa89[_0xea4c73(0x315)]['CONFLICT']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x291369,{}),'colorClass':_0xea4c73(0x38a),'i18nKey':_0xea4c73(0x181),'clickable':!0x1,'indicator':_0xea4c73(0x279)};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x413)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x1ab),'clickable':!0x1,'indicator':_0xea4c73(0x2f2)};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x3b3)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x32fe5e,{}),'colorClass':_0xea4c73(0x14a),'i18nKey':_0xea4c73(0x19f),'clickable':!0x1,'indicator':_0xea4c73(0x279)};case _0x35fa89['CollaborationStatus'][_0xea4c73(0x37f)]:case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x111)]:return{'icon':(0x0,_0x140dd6['jsx'])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x11e),'clickable':!0x1,'indicator':'spin'};case _0x35fa89[_0xea4c73(0x315)]['PENDING']:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x318625,{}),'colorClass':_0xea4c73(0x325),'i18nKey':_0xea4c73(0x11e),'clickable':!0x1,'indicator':'spin'};case _0x35fa89[_0xea4c73(0x315)][_0xea4c73(0x1b2)]:return{'icon':(0x0,_0x140dd6[_0xea4c73(0x36e)])(_0x32fe5e,{}),'colorClass':'univer-text-green-500','i18nKey':_0xea4c73(0x2aa),'clickable':!0x1,'indicator':'static'};}}function _0x1f9c87(_0x3cc3c9){const _0x40965f=_0x1a58e5;let {status$:_0x3a47d7}=_0x3cc3c9,_0x49f279=(0x0,_0x161125[_0x40965f(0x22a)])(_0x3a47d7,_0x35fa89[_0x40965f(0x315)][_0x40965f(0x3b3)]),_0xca0dc2=(0x0,_0x161125[_0x40965f(0x2ea)])(_0x2b0173['LocaleService']),_0x2af5e5=(0x0,_0x161125[_0x40965f(0x2ea)])(_0x35fa89[_0x40965f(0x122)]),_0x4d95d0=(0x0,_0x34db69[_0x40965f(0x199)])(()=>_0x17446a(_0x49f279),[_0x49f279]),_0x365ab9=_0x49f279!==_0x35fa89[_0x40965f(0x315)][_0x40965f(0x29d)],_0x1510ce=_0xca0dc2['t'](_0x4d95d0[_0x40965f(0x21c)]),_0xaa0bc5=_0x4d95d0[_0x40965f(0x1e5)]?_0xca0dc2['t'](_0x4d95d0[_0x40965f(0x1e5)]):_0x1510ce,_0x436c9e=(0x0,_0x34db69[_0x40965f(0x3ad)])(()=>{const _0x2c43cd=_0x40965f;_0x365ab9||_0x2af5e5[_0x2c43cd(0x370)]();},[_0x365ab9,_0x2af5e5]),_0x84fc48=(0x0,_0x34db69[_0x40965f(0x3ad)])(_0x24c1f2=>{const _0x45de9c=_0x40965f;!_0x365ab9&&(_0x24c1f2[_0x45de9c(0x2cd)]===_0x45de9c(0x284)||_0x24c1f2['key']==='\x20')&&(_0x24c1f2['preventDefault'](),_0x2af5e5[_0x45de9c(0x370)]());},[_0x365ab9,_0x2af5e5]),_0x1fc46a=(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x209),{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])(_0x40965f(0x1bd),_0x40965f(0x22f),_0x4d95d0[_0x40965f(0x2ef)],{'univer-animate-spin':_0x4d95d0[_0x40965f(0x38e)]==='spin','univer-animate-pulse':_0x4d95d0['indicator']===_0x40965f(0x283)}),'aria-hidden':'true','children':_0x4d95d0[_0x40965f(0x115)]}),_0x51368b=(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x209),{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x40965f(0x327),'univer-transition-all\x20univer-duration-200',_0x40965f(0x36f),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x4d95d0[_0x40965f(0x241)],'univer-cursor-default':!_0x4d95d0[_0x40965f(0x241)]}),'children':_0x1fc46a});return _0x4d95d0[_0x40965f(0x241)]?(0x0,_0x140dd6['jsx'])(_0x96a8b5[_0x40965f(0x2dd)],{'title':_0xaa0bc5,'placement':_0x40965f(0x37e),'children':(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x40965f(0x11c),{'type':_0x40965f(0x11c),'onClick':_0x436c9e,'onKeyDown':_0x84fc48,'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])(_0x40965f(0x118),'univer-border-none\x20univer-bg-transparent',_0x40965f(0x2f1),_0x40965f(0x22c)),'aria-label':_0x1510ce+_0x40965f(0x2df)+_0xaa0bc5,'role':'status','aria-live':'polite','aria-atomic':_0x40965f(0x233),'children':_0x51368b})}):(0x0,_0x140dd6[_0x40965f(0x36e)])(_0x96a8b5[_0x40965f(0x2dd)],{'title':_0xaa0bc5,'placement':_0x40965f(0x37e),'children':(0x0,_0x140dd6['jsx'])('div',{'className':(0x0,_0x96a8b5[_0x40965f(0x32c)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x40965f(0x281),_0x40965f(0x2f1)),'aria-label':_0x1510ce,'role':_0x40965f(0x314),'aria-live':_0x40965f(0x243),'aria-atomic':_0x40965f(0x233),'children':_0x51368b})});}function _0x41ef2b(_0x4bd265){'@babel/helpers - typeof';const _0x1d0fe8=_0x1a58e5;return _0x41ef2b=typeof Symbol==_0x1d0fe8(0x3a2)&&typeof Symbol['iterator']=='symbol'?function(_0xc4afa5){return typeof _0xc4afa5;}:function(_0x3d74cc){const _0x47bff6=_0x1d0fe8;return _0x3d74cc&&typeof Symbol==_0x47bff6(0x3a2)&&_0x3d74cc[_0x47bff6(0x1df)]===Symbol&&_0x3d74cc!==Symbol['prototype']?_0x47bff6(0x3a6):typeof _0x3d74cc;},_0x41ef2b(_0x4bd265);}function _0x345895(_0x4d88ad,_0x149574){const _0x2c72da=_0x1a58e5;if(_0x41ef2b(_0x4d88ad)!='object'||!_0x4d88ad)return _0x4d88ad;var _0x2f191c=_0x4d88ad[Symbol[_0x2c72da(0x331)]];if(_0x2f191c!==void 0x0){var _0x14e4d7=_0x2f191c[_0x2c72da(0x213)](_0x4d88ad,_0x149574||_0x2c72da(0x2c3));if(_0x41ef2b(_0x14e4d7)!='object')return _0x14e4d7;throw TypeError(_0x2c72da(0x1c7));}return(_0x149574===_0x2c72da(0x31b)?String:Number)(_0x4d88ad);}function _0x2f4b2e(_0x17b27b){const _0x5c69b6=_0x1a58e5;var _0x1c5603=_0x345895(_0x17b27b,_0x5c69b6(0x31b));return _0x41ef2b(_0x1c5603)=='symbol'?_0x1c5603:_0x1c5603+'';}function _0x42526d(_0x516cce,_0x5b59c1,_0x44f824){return(_0x5b59c1=_0x2f4b2e(_0x5b59c1))in _0x516cce?Object['defineProperty'](_0x516cce,_0x5b59c1,{'value':_0x44f824,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x516cce[_0x5b59c1]=_0x44f824,_0x516cce;}function _0x215337(_0x21b792,_0x330a26){return function(_0x5cfaf5,_0x3dade7){_0x330a26(_0x5cfaf5,_0x3dade7,_0x21b792);};}function _0x202e73(_0x8b3fb6,_0x3d35aa,_0xa68d67,_0x253f8b){const _0x5c0af3=_0x1a58e5;var _0x5157bb=arguments['length'],_0x252d0f=_0x5157bb<0x3?_0x3d35aa:_0x253f8b===null?_0x253f8b=Object['getOwnPropertyDescriptor'](_0x3d35aa,_0xa68d67):_0x253f8b,_0x2c5b21;if(typeof Reflect==_0x5c0af3(0x361)&&typeof Reflect['decorate']==_0x5c0af3(0x3a2))_0x252d0f=Reflect[_0x5c0af3(0x28f)](_0x8b3fb6,_0x3d35aa,_0xa68d67,_0x253f8b);else{for(var _0x43310=_0x8b3fb6[_0x5c0af3(0x371)]-0x1;_0x43310>=0x0;_0x43310--)(_0x2c5b21=_0x8b3fb6[_0x43310])&&(_0x252d0f=(_0x5157bb<0x3?_0x2c5b21(_0x252d0f):_0x5157bb>0x3?_0x2c5b21(_0x3d35aa,_0xa68d67,_0x252d0f):_0x2c5b21(_0x3d35aa,_0xa68d67))||_0x252d0f);}return _0x5157bb>0x3&&_0x252d0f&&Object[_0x5c0af3(0x2cf)](_0x3d35aa,_0xa68d67,_0x252d0f),_0x252d0f;}let _0x1f1a4f=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x38235d,_0x2b9be8,_0x1d5d6b,_0x148656){const _0x212a11=_0x1a58e5;super(),this['_univerInstanceService']=_0x38235d,this[_0x212a11(0x412)]=_0x2b9be8,this['_collaborationController']=_0x1d5d6b,this['_uiPartsService']=_0x148656,_0x42526d(this,_0x212a11(0x297),new _0xc05c0c[(_0x212a11(0x334))](_0x35fa89['CollaborationStatus'][_0x212a11(0x3b3)])),this[_0x212a11(0x404)](),this[_0x212a11(0x130)]();}[_0x1a58e5(0x130)](){const _0x4e9338=_0x1a58e5;this[_0x4e9338(0x119)]((0x0,_0xc05c0c['merge'])(this[_0x4e9338(0x3e5)][_0x4e9338(0x188)],this[_0x4e9338(0x3e5)][_0x4e9338(0x38b)](_0x2b0173['UniverInstanceType'][_0x4e9338(0x313)]),this[_0x4e9338(0x3e5)]['getCurrentTypeOfUnit$'](_0x2b0173['UniverInstanceType'][_0x4e9338(0x104)]))[_0x4e9338(0x154)]((0x0,_0x4be982[_0x4e9338(0x230)])(()=>_0x5bc8a8(this[_0x4e9338(0x3e5)])),(0x0,_0x4be982[_0x4e9338(0x342)])(),(0x0,_0xc05c0c[_0x4e9338(0x310)])(_0x2c22d0=>_0x2c22d0?this[_0x4e9338(0x191)][_0x4e9338(0x19d)](_0x2c22d0):(0x0,_0xc05c0c['of'])(null)),(0x0,_0xc05c0c[_0x4e9338(0x310)])(_0x36f993=>_0x36f993?_0x36f993['status$']:(0x0,_0xc05c0c['of'])(_0x35fa89['CollaborationStatus'][_0x4e9338(0x3b3)])))['subscribe'](_0x32f733=>{const _0x29d329=_0x4e9338;this[_0x29d329(0x297)][_0x29d329(0x3b0)](_0x32f733);}));}[_0x1a58e5(0x404)](){const _0x1ac7f9=_0x1a58e5;this[_0x1ac7f9(0x119)](this[_0x1ac7f9(0x220)][_0x1ac7f9(0x2dc)](_0x161125[_0x1ac7f9(0x377)][_0x1ac7f9(0x376)],()=>(0x0,_0x161125[_0x1ac7f9(0x3eb)])(_0x4d4f4a({'status$':this[_0x1ac7f9(0x297)][_0x1ac7f9(0x2c9)]()}),this[_0x1ac7f9(0x412)])));}};_0x1f1a4f=_0x202e73([_0x215337(0x0,_0x2b0173['IUniverInstanceService']),_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['CollaborationController'])),_0x215337(0x3,_0x161125['IUIPartsService'])],_0x1f1a4f);let _0x380180=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x55b6e5,_0x21cae3,_0x3478d3,_0x2fb759){const _0x5bff9d=_0x1a58e5;super(),this['_univerInstanceService']=_0x55b6e5,this[_0x5bff9d(0x412)]=_0x21cae3,this[_0x5bff9d(0x191)]=_0x3478d3,this[_0x5bff9d(0x220)]=_0x2fb759,_0x42526d(this,_0x5bff9d(0x297),new _0xc05c0c[(_0x5bff9d(0x334))](_0x35fa89[_0x5bff9d(0x315)]['NOT_COLLAB'])),this[_0x5bff9d(0x404)](),this[_0x5bff9d(0x130)]();}[_0x1a58e5(0x130)](){const _0x371785=_0x1a58e5;this[_0x371785(0x119)]((0x0,_0xc05c0c['merge'])((0x0,_0xc05c0c['of'])(null),this[_0x371785(0x3e5)][_0x371785(0x38b)](_0x2b0173[_0x371785(0x102)][_0x371785(0x217)]))[_0x371785(0x154)]((0x0,_0x4be982['map'])(()=>_0x1e65fc(this[_0x371785(0x3e5)])),(0x0,_0x4be982[_0x371785(0x342)])(),(0x0,_0xc05c0c['switchMap'])(_0x5d6d1f=>_0x5d6d1f?this['_collaborationController'][_0x371785(0x19d)](_0x5d6d1f):(0x0,_0xc05c0c['of'])(null)),(0x0,_0xc05c0c[_0x371785(0x310)])(_0x102012=>_0x102012?_0x102012['status$']:(0x0,_0xc05c0c['of'])(_0x35fa89['CollaborationStatus'][_0x371785(0x3b3)])))[_0x371785(0x224)](_0x1afd1a=>{const _0x16c137=_0x371785;this[_0x16c137(0x297)][_0x16c137(0x3b0)](_0x1afd1a);}));}['_initStatusComponent'](){const _0x5b74cb=_0x1a58e5;this[_0x5b74cb(0x119)](this[_0x5b74cb(0x220)][_0x5b74cb(0x2dc)](_0x512abf[_0x5b74cb(0x3bf)],()=>(0x0,_0x161125[_0x5b74cb(0x3eb)])(_0x4d4f4a({'status$':this['_status$'][_0x5b74cb(0x2c9)]()}),this[_0x5b74cb(0x412)])));}};_0x380180=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x2b0173['Injector'])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['CollaborationController'])),_0x215337(0x3,_0x161125['IUIPartsService'])],_0x380180);function _0x5bc8a8(_0x1086d4){const _0x38ddcf=_0x1a58e5;let _0xba779c=_0x1086d4[_0x38ddcf(0x215)](),_0x1283e4=_0xba779c==null?void 0x0:_0xba779c[_0x38ddcf(0x36d)]();if(_0x1283e4&&!(0x0,_0x2b0173[_0x38ddcf(0x1ba)])(_0x1283e4))return _0x1283e4;let _0x1a79e0=_0x1086d4[_0x38ddcf(0x163)](_0x2b0173['UniverInstanceType'][_0x38ddcf(0x313)]),_0x2b3d1=_0x1a79e0==null?void 0x0:_0x1a79e0[_0x38ddcf(0x36d)]();if(_0x2b3d1&&!(0x0,_0x2b0173['isInternalEditorID'])(_0x2b3d1))return _0x2b3d1;let _0x59c4d5=_0x1086d4[_0x38ddcf(0x163)](_0x2b0173[_0x38ddcf(0x102)][_0x38ddcf(0x104)]);if(_0x59c4d5)return _0x59c4d5[_0x38ddcf(0x36d)]();let _0x5eab54=_0x1086d4['getAllUnitsForType'](_0x2b0173[_0x38ddcf(0x102)][_0x38ddcf(0x313)])[_0x38ddcf(0x3e3)](_0x1d270b=>!(0x0,_0x2b0173[_0x38ddcf(0x1ba)])(_0x1d270b[_0x38ddcf(0x36d)]()));return _0x5eab54?_0x5eab54[_0x38ddcf(0x36d)]():null;}function _0x1e65fc(_0x4c66a7){const _0x1ff003=_0x1a58e5;var _0x447bdc;let _0xacfe6f=_0x4c66a7['getCurrentUnitOfType'](_0x2b0173[_0x1ff003(0x102)][_0x1ff003(0x217)]);return(_0x447bdc=_0xacfe6f==null?void 0x0:_0xacfe6f[_0x1ff003(0x36d)]())==null?null:_0x447bdc;}function _0x4d4f4a(_0x3773e4){let {status$:_0x48d63f}=_0x3773e4;return function(){const _0x6a2480=_0x7aae;return(0x0,_0x140dd6[_0x6a2480(0x36e)])(_0x1f9c87,{'status$':_0x48d63f});};}var _0x546ec3='@univerjs-pro/collaboration-client-ui',_0x5d8e38='1.0.0-alpha.3';let _0x494f70={},_0x5b162a=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x16867d,_0x5f4b8e){const _0xd75a0=_0x1a58e5;super(),this[_0xd75a0(0x275)]=_0x16867d,this[_0xd75a0(0x1e1)]=_0x5f4b8e,this['_init']();}[_0x1a58e5(0x1ec)](){const _0x529809=_0x1a58e5;let _0x4ff768=this;this['disposeWithMe'](this[_0x529809(0x275)]['addClipboardHook']({'onBeforePasteImage':async _0x340893=>{const _0x1cf406=_0x529809;let _0x2de66b=await _0x4ff768[_0x1cf406(0x1e1)][_0x1cf406(0x177)](_0x340893);return _0x2de66b?{'source':_0x2de66b[_0x1cf406(0x164)],'imageSourceType':_0x2de66b[_0x1cf406(0x282)]}:null;}}));}};_0x5b162a=_0x202e73([_0x215337(0x0,_0x56f9a3[_0x1a58e5(0x24e)]),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x1aa)])],_0x5b162a);function _0x366aaa(_0x10e5be,_0x27bc3e){const _0x3ba316=_0x1a58e5;_0x10e5be[_0x3ba316(0x304)](),_0x10e5be[_0x3ba316(0x1bc)]=_0x3ba316(0x357);let _0x1ab46c=_0x10e5be[_0x3ba316(0x218)](_0x27bc3e)['width'];return _0x10e5be['restore'](),Math[_0x3ba316(0x339)](_0x1ab46c+0x8,0xc8);}function _0x159f9c(_0x253969,_0x1fe74d){const _0x37d559=_0x1a58e5;var _0x329df3,_0x2a9121,_0x2daae1;let {radius:_0x506539,width:_0x22ef22,height:_0x519bbe}=_0x1fe74d;_0x506539=(_0x329df3=_0x506539)==null?0x0:_0x329df3,_0x22ef22=(_0x2a9121=_0x22ef22)==null?0x1e:_0x2a9121,_0x519bbe=(_0x2daae1=_0x519bbe)==null?0x1e:_0x2daae1;let _0x879df0=0x0,_0x3e9a95=0x0,_0x12d16f=0x0;_0x879df0=_0x3e9a95=_0x12d16f=Math['min'](_0x506539,_0x22ef22/0x2,_0x519bbe/0x2),_0x253969[_0x37d559(0x1a1)](),_0x253969['moveTo'](_0x879df0,0x0),_0x253969[_0x37d559(0x3e6)](_0x22ef22-_0x3e9a95,0x0),_0x253969[_0x37d559(0x210)](_0x22ef22-_0x3e9a95,_0x3e9a95,_0x3e9a95,Math['PI']*0x3/0x2,0x0,!0x1),_0x253969[_0x37d559(0x3e6)](_0x22ef22,_0x519bbe-_0x12d16f),_0x253969[_0x37d559(0x210)](_0x22ef22-_0x12d16f,_0x519bbe-_0x12d16f,_0x12d16f,0x0,Math['PI']/0x2,!0x1),_0x253969['lineTo'](0x0,_0x519bbe),_0x253969[_0x37d559(0x3e6)](0x0,_0x879df0),_0x253969[_0x37d559(0x210)](_0x879df0,_0x879df0,_0x879df0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x253969[_0x37d559(0x35b)](),_0x1fe74d[_0x37d559(0x2ec)]&&(_0x253969[_0x37d559(0x304)](),_0x253969[_0x37d559(0x21d)]=_0x1fe74d[_0x37d559(0x2ec)],_0x1fe74d['fillRule']===_0x37d559(0x2fa)?_0x253969['fill'](_0x37d559(0x2fa)):_0x253969[_0x37d559(0x2ec)](),_0x253969[_0x37d559(0x31f)]());}var _0x548107=class _0x1a657a extends _0x15ed3a['Shape']{constructor(_0x4a66df,_0x41cfa5){const _0xe40a59=_0x1a58e5;super(_0x4a66df,_0x41cfa5),_0x42526d(this,_0xe40a59(0x1e2),void 0x0),_0x42526d(this,'text',void 0x0),this[_0xe40a59(0x1e2)]=_0x41cfa5==null?void 0x0:_0x41cfa5[_0xe40a59(0x1e2)],this[_0xe40a59(0x174)]=_0x41cfa5==null?void 0x0:_0x41cfa5['text'];}static[_0x1a58e5(0x160)](_0x12306a,_0x33f14a){const _0x355652=_0x1a58e5;let {text:_0x2c0942,color:_0x2b5ced}=_0x33f14a;_0x12306a[_0x355652(0x304)](),_0x12306a[_0x355652(0x1bc)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x463d23=_0x12306a['measureText'](_0x2c0942)[_0x355652(0x381)];if(_0x159f9c(_0x12306a,{'height':0x14,'radius':0x4,'width':_0x366aaa(_0x12306a,_0x2c0942),'fill':_0x2b5ced,'evented':!0x1}),_0x12306a[_0x355652(0x21d)]=_0x355652(0x2e7),_0x463d23>0xc0){let _0x5782fe='',_0x1709cd=0x0;for(let _0x322978 of _0x2c0942){let _0x2583df=_0x12306a[_0x355652(0x218)](_0x322978)[_0x355652(0x381)];if(_0x1709cd+_0x2583df<=0xc0-_0x12306a[_0x355652(0x218)](_0x355652(0x3a4))[_0x355652(0x381)])_0x5782fe+=_0x322978,_0x1709cd+=_0x2583df;else{_0x5782fe+=_0x355652(0x3a4);break;}}_0x12306a[_0x355652(0x228)](_0x5782fe,0x4,0xf);}else _0x12306a['fillText'](_0x2c0942,0x4,0xf);_0x12306a[_0x355652(0x31f)]();}[_0x1a58e5(0x363)](_0x4cd40c){_0x1a657a['drawWith'](_0x4cd40c,this);}};let _0x19234f=0x138a;var _0x28af6f=class extends _0x15ed3a[_0x1a58e5(0x1d2)]{constructor(_0x2c4ce9,_0x10d235){const _0x10a591=_0x1a58e5;super(_0x2c4ce9,{..._0x10d235,'evented':!0x1}),_0x42526d(this,'_color','#4f46e5'),_0x42526d(this,'_name',''),_0x42526d(this,_0x10a591(0x3f3),!0x0),_0x10d235&&this[_0x10a591(0x317)](_0x10d235);}['setShapeProps'](_0xd8c7d5){const _0x292fe4=_0x1a58e5;var _0x44c5fa,_0x36ea5d,_0x3811ee,_0x2c8f60,_0xd985cd,_0x49ca49,_0x5450b6,_0x151b7c;this[_0x292fe4(0x1c8)]=(_0x44c5fa=_0xd8c7d5[_0x292fe4(0x1e2)])==null?this['_color']:_0x44c5fa,this[_0x292fe4(0x1f4)]=(_0x36ea5d=_0xd8c7d5['name'])==null?this[_0x292fe4(0x1f4)]:_0x36ea5d,this[_0x292fe4(0x3f3)]=(_0x3811ee=_0xd8c7d5[_0x292fe4(0x23c)])==null?this[_0x292fe4(0x3f3)]:_0x3811ee,this[_0x292fe4(0x20a)]=!0x1,this[_0x292fe4(0x30d)]({'left':(_0x2c8f60=_0xd8c7d5[_0x292fe4(0x1e7)])==null?this['left']:_0x2c8f60,'top':(_0xd985cd=_0xd8c7d5[_0x292fe4(0x132)])==null?this['top']:_0xd985cd,'width':(_0x49ca49=_0xd8c7d5[_0x292fe4(0x381)])==null?this[_0x292fe4(0x381)]:_0x49ca49,'height':(_0x5450b6=_0xd8c7d5[_0x292fe4(0x2f9)])==null?this[_0x292fe4(0x2f9)]:_0x5450b6,'angle':(_0x151b7c=_0xd8c7d5[_0x292fe4(0x33b)])==null?this[_0x292fe4(0x33b)]:_0x151b7c});}['_draw'](_0x4ce686){const _0x50e9ae=_0x1a58e5;_0x4ce686[_0x50e9ae(0x304)](),_0x4ce686[_0x50e9ae(0x3e2)]=this[_0x50e9ae(0x1c8)],_0x4ce686[_0x50e9ae(0x3e1)]=this[_0x50e9ae(0x3fa)]||1.5,_0x4ce686[_0x50e9ae(0x388)]([0x6,0x4]),_0x4ce686[_0x50e9ae(0x290)](0x0,0x0,this[_0x50e9ae(0x381)],this[_0x50e9ae(0x2f9)]),_0x4ce686[_0x50e9ae(0x31f)](),this[_0x50e9ae(0x3f3)]&&(_0x4ce686[_0x50e9ae(0x304)](),_0x4ce686['transform'](0x1,0x0,0x0,0x1,this[_0x50e9ae(0x381)],-0x14),_0x548107['drawWith'](_0x4ce686,{'text':this[_0x50e9ae(0x1f4)],'color':this[_0x50e9ae(0x1c8)]}),_0x4ce686[_0x50e9ae(0x31f)]());}};let _0x59df71=[_0x1a58e5(0x1ca),'jiqing.500',_0x1a58e5(0x1c4),_0x1a58e5(0x348),'blue.400',_0x1a58e5(0x1d4)];var _0x2fe220=class extends _0x2b0173['Disposable']{constructor(..._0x4e6b86){const _0x31acbc=_0x1a58e5;super(..._0x4e6b86),_0x42526d(this,_0x31acbc(0x303),new Map()),_0x42526d(this,_0x31acbc(0x307),0x0);}['assignAColorForMemberID'](_0x2fd879){const _0x2b48a4=_0x1a58e5;if(this[_0x2b48a4(0x303)][_0x2b48a4(0x2c2)](_0x2fd879))return this[_0x2b48a4(0x303)][_0x2b48a4(0x1db)](_0x2fd879);let _0x162afa=_0x59df71[this[_0x2b48a4(0x307)]];return this[_0x2b48a4(0x307)]=(this[_0x2b48a4(0x307)]+0x1)%_0x59df71[_0x2b48a4(0x371)],this[_0x2b48a4(0x303)]['set'](_0x2fd879,_0x162afa),_0x162afa;}};function _0x13324f(_0x47474c){const _0x4ff495=_0x1a58e5;let _0x48bf3c;try{_0x48bf3c=JSON[_0x4ff495(0x26f)](_0x47474c);}catch{return null;}if(typeof _0x48bf3c!=_0x4ff495(0x361)||!_0x48bf3c)return null;let _0x3da962=_0x48bf3c;if(_0x3da962[_0x4ff495(0x2d7)]!==_0x4ff495(0x385)||typeof _0x3da962[_0x4ff495(0x268)]!=_0x4ff495(0x31b)||typeof _0x3da962[_0x4ff495(0x149)]!=_0x4ff495(0x31b))return null;let _0x1a8ae1=Array[_0x4ff495(0x3bc)](_0x3da962['selectedIds'])?_0x3da962['selectedIds'][_0x4ff495(0x409)](_0x5f4d90=>typeof _0x5f4d90==_0x4ff495(0x31b)):[],_0xf5bf2=typeof _0x3da962[_0x4ff495(0x36c)]==_0x4ff495(0x31b)?_0x3da962[_0x4ff495(0x36c)]:null;return{'kind':_0x4ff495(0x385),'unitId':_0x3da962['unitId'],'subUnitId':_0x3da962[_0x4ff495(0x149)],'selectedIds':_0x1a8ae1,'focusedId':_0xf5bf2};}let _0x12a7db=class extends _0x2b0173['RxDisposable']{get['cursorInfo'](){const _0x1f09e0=_0x1a58e5;return this[_0x1f09e0(0x33e)][_0x1f09e0(0x35c)]();}get['roomMembers'](){const _0xa969be=_0x1a58e5;return this[_0xa969be(0x3f5)]['getValue']();}constructor(_0x25ff3c,_0x328ed7,_0x1147dc,_0x1d6f4e,_0xdd168c){const _0xb1193=_0x1a58e5;super(),this[_0xb1193(0x3a0)]=_0x25ff3c,this[_0xb1193(0x26b)]=_0x328ed7,this[_0xb1193(0x1cd)]=_0x1147dc,this[_0xb1193(0x24b)]=_0x1d6f4e,this['_boardElementStateService']=_0xdd168c,_0x42526d(this,_0xb1193(0x169),!0x1),_0x42526d(this,_0xb1193(0x1ec),!0x1),_0x42526d(this,_0xb1193(0x33e),new _0xc05c0c['BehaviorSubject'](new Map())),_0x42526d(this,_0xb1193(0x3c9),this[_0xb1193(0x33e)][_0xb1193(0x2c9)]()),_0x42526d(this,_0xb1193(0x3f5),new _0xc05c0c['BehaviorSubject']([])),_0x42526d(this,_0xb1193(0x367),this['_roomMembers$'][_0xb1193(0x154)]((0x0,_0xc05c0c[_0xb1193(0x24d)])(0x12c))),_0x42526d(this,_0xb1193(0x294),(0x0,_0x2b0173[_0xb1193(0x186)])(_0x2b3fdf=>{const _0x2e247b=_0xb1193;let _0x27078f=_0x2b3fdf[_0x2e247b(0x250)];if(!_0x27078f||_0x27078f[_0x2e247b(0x268)]!==this[_0x2e247b(0x3a0)])return;let _0x288ff5={'kind':_0x2e247b(0x385),'unitId':_0x27078f[_0x2e247b(0x268)],'subUnitId':_0x27078f[_0x2e247b(0x149)],'selectedIds':_0x2b3fdf[_0x2e247b(0x3c8)][_0x2e247b(0x409)](_0x323e5a=>typeof _0x323e5a==_0x2e247b(0x31b)),'focusedId':_0x2b3fdf[_0x2e247b(0x36c)]},_0x1302d4={'eventID':_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2e247b(0x26b)][_0x2e247b(0x192)](),'selection':JSON[_0x2e247b(0x249)](_0x288ff5)}};this['_session'][_0x2e247b(0x190)](_0x1302d4,this[_0x2e247b(0x3a0)]);},0x64));}[_0x1a58e5(0x34f)](){const _0x2e4740=_0x1a58e5;super[_0x2e4740(0x34f)](),this['_cursorInfo$']['next'](new Map()),this[_0x2e4740(0x33e)]['complete'](),this[_0x2e4740(0x3f5)][_0x2e4740(0x3b0)]([]),this[_0x2e4740(0x3f5)][_0x2e4740(0x1c0)]();}['init'](){const _0x57a7f5=_0x1a58e5;this['_init']||(this[_0x57a7f5(0x1ec)]=!0x0,this[_0x57a7f5(0x26b)]['sessionStatus$'][_0x57a7f5(0x154)]((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))[_0x57a7f5(0x224)](_0x5efb4e=>{const _0x411150=_0x57a7f5;_0x5efb4e===_0x35fa89['SessionStatus']['ONLINE']?this[_0x411150(0x2db)]():this['_toggleOffline']();}),this[_0x57a7f5(0x26b)][_0x57a7f5(0x3f2)]['pipe']((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))[_0x57a7f5(0x224)](_0x466e24=>{const _0x3603c5=_0x57a7f5;let _0x403de1=_0x466e24[_0x3603c5(0x231)];_0x403de1===_0xd76d4d[_0x3603c5(0x3df)][_0x3603c5(0x2b4)]&&this['_onCursorUpdate'](_0x466e24),_0x403de1===_0xd76d4d[_0x3603c5(0x3df)][_0x3603c5(0x386)]&&this[_0x3603c5(0x1a0)](_0x466e24);}),this[_0x57a7f5(0x311)][_0x57a7f5(0x2f4)][_0x57a7f5(0x154)]((0x0,_0xc05c0c[_0x57a7f5(0x1d1)])(this[_0x57a7f5(0x195)]))['subscribe'](_0x277d90=>{const _0x80e686=_0x57a7f5;this[_0x80e686(0x169)]&&this[_0x80e686(0x294)](_0x277d90);}));}[_0x1a58e5(0x2ae)](_0xcada28){const _0x418ed3=_0x1a58e5;var _0xbe4d72,_0xba964d,_0x53d8cb,_0x2dc0c0;let {memberID:_0x3f0047,selection:_0x564e26}=_0xcada28['data'];if(_0x3f0047===((_0xbe4d72=(_0xba964d=this[_0x418ed3(0x26b)])['getMemberID'])==null?void 0x0:_0xbe4d72[_0x418ed3(0x213)](_0xba964d)))return;let _0x137100=_0x13324f(_0x564e26);if(!_0x137100||_0x137100['unitId']!==this['unitID'])return;let _0x26e212=(_0x53d8cb=(_0x2dc0c0=this[_0x418ed3(0x24b)][_0x418ed3(0x3a8)](this[_0x418ed3(0x3a0)],_0x3f0047))==null?void 0x0:_0x2dc0c0['name'])==null?_0x418ed3(0x3d7):_0x53d8cb,_0x26af07={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x3f0047),'name':_0x26e212,'unitId':_0x137100[_0x418ed3(0x268)],'subUnitId':_0x137100[_0x418ed3(0x149)],'selectedIds':_0x137100[_0x418ed3(0x3c8)],'focusedId':_0x137100[_0x418ed3(0x36c)],'selection':_0x564e26},_0x1074d6=new Map(this['cursorInfo']);_0x1074d6['set'](_0x3f0047,_0x26af07),this[_0x418ed3(0x33e)]['next'](_0x1074d6);}[_0x1a58e5(0x1a0)](_0x282666){const _0x599a73=_0x1a58e5;let {memberID:_0x1cd181}=_0x282666['data'],_0x4f8aad=new Map(this[_0x599a73(0x2af)]);_0x4f8aad[_0x599a73(0x182)](_0x1cd181),this[_0x599a73(0x33e)][_0x599a73(0x3b0)](_0x4f8aad);}['_toggleOnline'](){const _0x5be26c=_0x1a58e5;this[_0x5be26c(0x169)]=!0x0,this[_0x5be26c(0x294)](this[_0x5be26c(0x311)]['getSnapshot']());}[_0x1a58e5(0x206)](){this['_online']=!0x1;}};_0x12a7db=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x512abf[_0x1a58e5(0x295)]))],_0x12a7db);function _0x14245(_0x3da0ef){let _0x743c41='';for(let _0x5483aa of _0x3da0ef){let {startOffset:_0x3e7b71,endOffset:_0xe9ec2e,isActive:_0x273553,rangeType:_0x53b528,segmentId:_0x5629a0,segmentPage:_0x43a7ea}=_0x5483aa;_0x743c41['length']&&(_0x743c41+=','),_0x743c41+=_0x3e7b71+':'+_0xe9ec2e+':'+(_0x273553?'1':'0')+':'+_0x53b528+':'+_0x5629a0+':'+_0x43a7ea;}return _0x743c41;}function _0x3078aa(_0x401b3c){const _0x52dfeb=_0x1a58e5;let _0x4d8d9d=_0x401b3c[_0x52dfeb(0x3ec)](','),_0x5ddfa2=[];for(let _0x576868 of _0x4d8d9d){let [_0x17ba14,_0x1e4df1,_0x472485,_0x4c7a71,_0x424edd,_0x343ae7]=_0x576868[_0x52dfeb(0x3ec)](':');_0x5ddfa2[_0x52dfeb(0x285)]({'startOffset':Number(_0x17ba14),'endOffset':Number(_0x1e4df1),'collapsed':_0x17ba14===_0x1e4df1,'isActive':_0x472485==='1','rangeType':_0x4c7a71===_0x2b0173[_0x52dfeb(0x13e)][_0x52dfeb(0x245)]?_0x2b0173['DOC_RANGE_TYPE']['TEXT']:_0x2b0173['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x424edd==_0x52dfeb(0x31b)?String(_0x424edd):'','segmentPage':Number(_0x343ae7==null?-0x1:_0x343ae7)});}return _0x5ddfa2[_0x52dfeb(0x335)](_0x44591c=>_0x44591c[_0x52dfeb(0x349)])||(_0x5ddfa2[0x0][_0x52dfeb(0x349)]=!0x0),_0x5ddfa2;}var _0x50b94c=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(..._0x1e840f){const _0x117e48=_0x1a58e5;super(..._0x1e840f),_0x42526d(this,_0x117e48(0x29a),new _0xc05c0c['BehaviorSubject'](null)),_0x42526d(this,_0x117e48(0x1ee),this['_collabCursorState$'][_0x117e48(0x2c9)]());}[_0x1a58e5(0x14e)](_0x10b938){const _0xf5c949=_0x1a58e5;let {unitID:_0x2cc091,memberID:_0x329493,textRanges:_0x494f92}=_0x10b938,_0x2892e5=_0x14245(_0x494f92);if(_0x2892e5==='')return;let _0x52f88b={'unitID':_0x2cc091,'memberID':_0x329493,'selection':_0x2892e5};this[_0xf5c949(0x29a)][_0xf5c949(0x3b0)](_0x52f88b);}};let _0x254aea=class extends _0x2b0173['RxDisposable']{get['cursorInfo'](){const _0x31e79b=_0x1a58e5;return this['_cursorInfo$'][_0x31e79b(0x35c)]();}get[_0x1a58e5(0x2c8)](){const _0x38b445=_0x1a58e5;return this[_0x38b445(0x3f5)][_0x38b445(0x35c)]();}constructor(_0x1cae14,_0xb46557,_0x3f03e4,_0x31eb53,_0x24b1fd,_0x347b7b,_0x219cbe,_0x5b0088,_0x4a03ae){const _0x2b39d1=_0x1a58e5;super(),this[_0x2b39d1(0x3a0)]=_0x1cae14,this[_0x2b39d1(0x26b)]=_0xb46557,this[_0x2b39d1(0x412)]=_0x3f03e4,this[_0x2b39d1(0x1cd)]=_0x31eb53,this[_0x2b39d1(0x24b)]=_0x24b1fd,this[_0x2b39d1(0x21a)]=_0x347b7b,this[_0x2b39d1(0x3aa)]=_0x219cbe,this[_0x2b39d1(0x3e5)]=_0x5b0088,this[_0x2b39d1(0x2d5)]=_0x4a03ae,_0x42526d(this,_0x2b39d1(0x169),!0x1),_0x42526d(this,_0x2b39d1(0x1ec),!0x1),_0x42526d(this,'_cursorInfo$',new _0xc05c0c[(_0x2b39d1(0x334))](new Map())),_0x42526d(this,'cursorInfo$',this[_0x2b39d1(0x33e)][_0x2b39d1(0x2c9)]()),_0x42526d(this,'_roomMembers$',new _0xc05c0c[(_0x2b39d1(0x334))]([])),_0x42526d(this,_0x2b39d1(0x367),this['_roomMembers$'][_0x2b39d1(0x154)]((0x0,_0xc05c0c[_0x2b39d1(0x24d)])(0x12c))),_0x42526d(this,_0x2b39d1(0x294),(0x0,_0x2b0173['debounce'])(_0x1b4e60=>{const _0x11fc11=_0x2b39d1;let _0x897e48={'eventID':_0xd76d4d[_0x11fc11(0x3df)][_0x11fc11(0x2b4)],'data':{'unitID':this[_0x11fc11(0x3a0)],'memberID':this[_0x11fc11(0x26b)][_0x11fc11(0x192)](),'selection':_0x14245(_0x1b4e60)}};this[_0x11fc11(0x26b)]['send'](_0x897e48,this[_0x11fc11(0x3a0)]);},0x64));}['dispose'](){const _0x57789a=_0x1a58e5;super[_0x57789a(0x34f)](),this[_0x57789a(0x33e)][_0x57789a(0x3b0)](new Map()),this['_cursorInfo$'][_0x57789a(0x1c0)](),this['_roomMembers$']['next']([]),this[_0x57789a(0x3f5)][_0x57789a(0x1c0)]();}['init'](){const _0x348949=_0x1a58e5;this[_0x348949(0x1ec)]||(this[_0x348949(0x1ec)]=!0x0,this[_0x348949(0x26b)]['sessionStatus$']['pipe']((0x0,_0xc05c0c[_0x348949(0x1d1)])(this[_0x348949(0x195)]))[_0x348949(0x224)](_0x16b3c2=>{const _0x5328a9=_0x348949;_0x16b3c2===_0x35fa89['SessionStatus'][_0x5328a9(0x3d3)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x348949(0x26b)]['event$'][_0x348949(0x154)]((0x0,_0xc05c0c['takeUntil'])(this[_0x348949(0x195)]))[_0x348949(0x224)](_0x280c3e=>{const _0x3d0200=_0x348949;let _0x1676ac=_0x280c3e[_0x3d0200(0x231)];_0x1676ac===_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3d0200(0x2ae)](_0x280c3e),_0x1676ac===_0xd76d4d[_0x3d0200(0x3df)][_0x3d0200(0x386)]&&this[_0x3d0200(0x1a0)](_0x280c3e);}),this[_0x348949(0x119)](this[_0x348949(0x2d5)]['onCommandExecuted'](_0x3f8e69=>{const _0x2d3483=_0x348949;let _0x368af1=_0x3f8e69[_0x2d3483(0x3fb)];_0x368af1!=null&&this[_0x2d3483(0x169)]&&_0x3f8e69['id']===_0x3ad445[_0x2d3483(0x2e4)]['id']&&_0x368af1[_0x2d3483(0x268)]===this[_0x2d3483(0x3a0)]&&_0x368af1['isEditing']===!0x1&&_0x368af1[_0x2d3483(0x237)][_0x2d3483(0x371)]>0x0&&this[_0x2d3483(0x294)](_0x368af1[_0x2d3483(0x237)]);})),this['_syncEditingCollabCursorService'][_0x348949(0x1ee)]['pipe']((0x0,_0xc05c0c[_0x348949(0x1d1)])(this['dispose$']))[_0x348949(0x224)](_0x32bc00=>{const _0x4c6845=_0x348949;if((_0x32bc00==null?void 0x0:_0x32bc00[_0x4c6845(0x3a0)])!==this[_0x4c6845(0x3a0)])return;let _0x1619b9={'eventID':_0xd76d4d['CollaborationEvent'][_0x4c6845(0x2b4)],'data':_0x32bc00};this[_0x4c6845(0x2ae)](_0x1619b9);}),this[_0x348949(0x119)](this[_0x348949(0x2d5)][_0x348949(0x157)](_0x3da3c9=>{const _0x3e28ff=_0x348949;if(_0x3da3c9['params']==null)return;let _0x4316a7=_0x3da3c9[_0x3e28ff(0x3fb)];if(_0x3da3c9['id']!==_0x3ad445[_0x3e28ff(0x18d)]['id']||_0x4316a7[_0x3e28ff(0x268)]!==this['unitID'])return;let _0x5a5990={'id':_0x3e28ff(0x37b),'params':_0x4316a7},_0x51e411=this['cursorInfo'];for(let [_0x2964c6,_0x2adf1a]of _0x51e411){let _0x4e7699={'id':_0x3e28ff(0x37b),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2adf1a['ranges']}},_0x5bd1b6=this[_0x3e28ff(0x3aa)][_0x3e28ff(0x22d)](_0x5a5990,_0x4e7699,!0x1);if((0x0,_0xd76d4d[_0x3e28ff(0x3a1)])(_0x5bd1b6))throw _0x5bd1b6['error'];_0x51e411[_0x3e28ff(0x148)](_0x2964c6,{..._0x2adf1a,'ranges':_0x5bd1b6[_0x3e28ff(0x1a5)][_0x3e28ff(0x3fb)][_0x3e28ff(0x1ac)]});}queueMicrotask(()=>{const _0x589d6f=_0x3e28ff;this[_0x589d6f(0x33e)][_0x589d6f(0x3b0)](_0x51e411);});})));}['_onCursorUpdate'](_0x55b48b){const _0x292b42=_0x1a58e5;var _0x2286ff,_0x21c898;let {memberID:_0x40dafb,selection:_0x3bf23f}=_0x55b48b['data'],_0x1c7339=_0x3078aa(_0x3bf23f),_0x30c9c7=(_0x2286ff=(_0x21c898=this[_0x292b42(0x24b)]['getMember'](this[_0x292b42(0x3a0)],_0x40dafb))==null?void 0x0:_0x21c898[_0x292b42(0x3d5)])==null?_0x292b42(0x3d7):_0x2286ff,_0x4bcb5f={'color':this[_0x292b42(0x1cd)][_0x292b42(0x263)](_0x40dafb),'name':_0x30c9c7,'ranges':_0x1c7339},_0x44ccd1=this[_0x292b42(0x2af)];_0x44ccd1[_0x292b42(0x148)](_0x40dafb,_0x4bcb5f),this['_cursorInfo$'][_0x292b42(0x3b0)](_0x44ccd1);}['_onCursorDelete'](_0x12d6f2){const _0x5e59e9=_0x1a58e5;let {memberID:_0x157f52}=_0x12d6f2[_0x5e59e9(0x3d8)],_0x19fb9e=this['cursorInfo'];_0x19fb9e[_0x5e59e9(0x182)](_0x157f52),this['_cursorInfo$'][_0x5e59e9(0x3b0)](_0x19fb9e);}['_toggleOnline'](){const _0x59ac5f=_0x1a58e5;var _0x3c1f53;if(this[_0x59ac5f(0x169)]=!0x0,((_0x3c1f53=this[_0x59ac5f(0x3e5)][_0x59ac5f(0x215)]())==null?void 0x0:_0x3c1f53[_0x59ac5f(0x36d)]())!==this[_0x59ac5f(0x3a0)])return;let _0x1066a1=this['_injector'][_0x59ac5f(0x1db)](_0x3ad445['DocSelectionManagerService'])['getDocRanges']();Array[_0x59ac5f(0x3bc)](_0x1066a1)&&_0x1066a1[_0x59ac5f(0x371)]>0x0&&this[_0x59ac5f(0x294)](_0x1066a1);}[_0x1a58e5(0x206)](){const _0x2e13d7=_0x1a58e5;this[_0x2e13d7(0x169)]=!0x1;}};_0x254aea=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x5,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x50b94c)),_0x215337(0x6,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x7,_0x2b0173['IUniverInstanceService']),_0x215337(0x8,_0x2b0173['ICommandService'])],_0x254aea);let _0x3e2259=()=>{let _0x4d9aaf=[],_0x5d34e8=!0x1;return _0x191424=>{_0x4d9aaf['push'](_0x191424),_0x5d34e8||(_0x5d34e8=!0x0,setTimeout(()=>{const _0x47d948=_0x7aae;_0x4d9aaf[_0x47d948(0xff)](_0x3acd35=>_0x3acd35()),_0x4d9aaf=[],_0x5d34e8=!0x1;}));};},_0x43b780=class extends _0x2b0173[_0x1a58e5(0x323)]{get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x1a58e5(0x2c8)](){const _0xeb2a21=_0x1a58e5;return this[_0xeb2a21(0x3f5)][_0xeb2a21(0x35c)]();}constructor(_0x3db930,_0x30a134,_0x295919,_0x3e2a39,_0x3ab3f5,_0x28ea00,_0x204f29,_0x22b04d){const _0x5255e4=_0x1a58e5;super(),this[_0x5255e4(0x3a0)]=_0x3db930,this[_0x5255e4(0x26b)]=_0x30a134,this[_0x5255e4(0x412)]=_0x295919,this[_0x5255e4(0x1cd)]=_0x3e2a39,this['_memberService']=_0x3ab3f5,this[_0x5255e4(0x3e5)]=_0x28ea00,this[_0x5255e4(0x2d5)]=_0x204f29,this['_refRangeService']=_0x22b04d,_0x42526d(this,'_online',!0x1),_0x42526d(this,'_init',!0x1),_0x42526d(this,_0x5255e4(0x33e),new _0xc05c0c[(_0x5255e4(0x334))](new Map())),_0x42526d(this,_0x5255e4(0x3c9),this[_0x5255e4(0x33e)][_0x5255e4(0x2c9)]()),_0x42526d(this,'_roomMembers$',new _0xc05c0c['BehaviorSubject']([])),_0x42526d(this,'roomMembers$',this['_roomMembers$'][_0x5255e4(0x154)]((0x0,_0xc05c0c[_0x5255e4(0x24d)])(0x12c))),_0x42526d(this,_0x5255e4(0x294),(0x0,_0x2b0173[_0x5255e4(0x186)])((_0x21e243,_0x2f42bf)=>{const _0x262c1a=_0x5255e4;let _0x12ce93={'eventID':_0xd76d4d[_0x262c1a(0x3df)][_0x262c1a(0x2b4)],'data':{'unitID':this[_0x262c1a(0x3a0)],'memberID':this[_0x262c1a(0x26b)]['getMemberID'](),'selection':(0x0,_0x170b1c[_0x262c1a(0x340)])(_0x21e243,_0x2f42bf[_0x262c1a(0x2fc)])}};this[_0x262c1a(0x26b)][_0x262c1a(0x190)](_0x12ce93,this[_0x262c1a(0x3a0)]);},0x64));}[_0x1a58e5(0x34f)](){const _0x3ce9b3=_0x1a58e5;super['dispose'](),this[_0x3ce9b3(0x33e)]['next'](new Map()),this['_cursorInfo$'][_0x3ce9b3(0x1c0)](),this[_0x3ce9b3(0x3f5)][_0x3ce9b3(0x3b0)]([]),this[_0x3ce9b3(0x3f5)][_0x3ce9b3(0x1c0)]();}[_0x1a58e5(0x145)](){const _0x2ff710=_0x1a58e5;this[_0x2ff710(0x1ec)]||(this['_init']=!0x0,this[_0x2ff710(0x26b)][_0x2ff710(0x168)][_0x2ff710(0x154)]((0x0,_0xc05c0c[_0x2ff710(0x1d1)])(this[_0x2ff710(0x195)]))['subscribe'](_0x584167=>{const _0x265a7f=_0x2ff710;_0x584167===_0x35fa89['SessionStatus'][_0x265a7f(0x3d3)]?this[_0x265a7f(0x2db)]():this[_0x265a7f(0x206)]();}),this[_0x2ff710(0x26b)]['event$'][_0x2ff710(0x154)]((0x0,_0xc05c0c[_0x2ff710(0x1d1)])(this[_0x2ff710(0x195)]))[_0x2ff710(0x224)](_0x3a72fb=>{const _0x58f5e3=_0x2ff710;let _0xd3bc41=_0x3a72fb['eventID'];_0xd3bc41===_0xd76d4d[_0x58f5e3(0x3df)][_0x58f5e3(0x2b4)]&&this[_0x58f5e3(0x2ae)](_0x3a72fb),_0xd3bc41===_0xd76d4d[_0x58f5e3(0x3df)][_0x58f5e3(0x386)]&&this[_0x58f5e3(0x1a0)](_0x3a72fb);}),this['_onRefRangeChange'](),this[_0x2ff710(0x119)](this[_0x2ff710(0x2d5)][_0x2ff710(0x157)](_0xb06f29=>{const _0x589891=_0x2ff710;if(this[_0x589891(0x169)]&&_0xb06f29['id']===_0x384008[_0x589891(0x24a)]['id']&&_0xb06f29['params'][_0x589891(0x268)]===this[_0x589891(0x3a0)]){let _0x436b93=_0xb06f29[_0x589891(0x3fb)];this[_0x589891(0x294)](_0x436b93[_0x589891(0x149)],_0x436b93['selections'][0x0]);}})));}[_0x1a58e5(0x2ae)](_0x2801b9){const _0x1513b=_0x1a58e5;var _0x3f859f,_0x290748;let {memberID:_0x5978e5,selection:_0x56012f}=_0x2801b9[_0x1513b(0x3d8)],{sheetName:_0x8c5d01,range:_0x4451d0}=(0x0,_0x170b1c[_0x1513b(0x173)])(_0x56012f),_0xd99540={'name':(_0x3f859f=(_0x290748=this['_memberService']['getMember'](this[_0x1513b(0x3a0)],_0x5978e5))==null?void 0x0:_0x290748[_0x1513b(0x3d5)])==null?'Unknown\x20user':_0x3f859f,'range':this[_0x1513b(0x3a3)](_0x8c5d01,_0x4451d0),'sheetID':_0x8c5d01,'color':this[_0x1513b(0x1cd)][_0x1513b(0x263)](_0x5978e5),'selection':_0x56012f},_0x1cf4fb=this[_0x1513b(0x2af)];_0x1cf4fb[_0x1513b(0x148)](_0x5978e5,_0xd99540),this[_0x1513b(0x33e)][_0x1513b(0x3b0)](_0x1cf4fb);}[_0x1a58e5(0x1a0)](_0x7818bc){const _0x21c7f8=_0x1a58e5;let {memberID:_0x320e65}=_0x7818bc[_0x21c7f8(0x3d8)],_0x48dabf=this[_0x21c7f8(0x2af)];_0x48dabf[_0x21c7f8(0x182)](_0x320e65),this[_0x21c7f8(0x33e)]['next'](_0x48dabf);}[_0x1a58e5(0x3a3)](_0x4876c3,_0x3b613f){const _0x38b190=_0x1a58e5;var _0x3f4397;let _0x225f9c=(_0x3f4397=this[_0x38b190(0x3e5)][_0x38b190(0x28a)](this[_0x38b190(0x3a0)]))==null||(_0x3f4397=_0x3f4397[_0x38b190(0x20c)](_0x4876c3))==null?void 0x0:_0x3f4397[_0x38b190(0x3c7)]();return(_0x225f9c==null?void 0x0:_0x225f9c[_0x38b190(0x3e3)](_0x3932fb=>_0x2b0173[_0x38b190(0x121)][_0x38b190(0x3fe)](_0x3932fb,_0x3b613f)))||_0x3b613f;}[_0x1a58e5(0x40b)](){const _0x131c4e=_0x1a58e5;let _0x1c4992=new _0x2b0173[(_0x131c4e(0x392))](),_0x1d8fa7=_0x3e2259(),_0x4a62d4=()=>{const _0x2a06a4=_0x131c4e;_0x1c4992[_0x2a06a4(0x34f)]();let _0x139844=(_0x97c0f2,_0x35a595,_0x1f4afc,_0x2343e3)=>{const _0x10ea41=_0x2a06a4;let _0x208a64=[];switch(_0x97c0f2['id']){case _0x384008['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x208a64=(0x0,_0x384008[_0x10ea41(0x394)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x15e)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x396)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x167)]:_0x208a64=(0x0,_0x384008['handleInsertCol'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['InsertRangeMoveDownCommandId']:_0x208a64=(0x0,_0x384008['handleInsertRangeMoveDown'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['InsertRangeMoveRightCommandId']:_0x208a64=(0x0,_0x384008['handleInsertRangeMoveRight'])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x19a)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x271)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)][_0x10ea41(0x2f3)]:_0x208a64=(0x0,_0x384008[_0x10ea41(0x252)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['RemoveColCommandId']:_0x208a64=(0x0,_0x384008[_0x10ea41(0x34d)])(_0x97c0f2,_0x2343e3);break;case _0x384008[_0x10ea41(0x415)]['RemoveRowCommandId']:_0x208a64=(0x0,_0x384008['handleIRemoveRow'])(_0x97c0f2,_0x2343e3);break;}let _0x4bef05=(0x0,_0x384008[_0x10ea41(0x1af)])(_0x208a64,_0x2343e3),_0x38a0cd=this[_0x10ea41(0x2af)][_0x10ea41(0x1db)](_0x35a595);if(_0x38a0cd&&_0x4bef05){let _0x582b16={..._0x38a0cd,'range':_0x4bef05};this['cursorInfo'][_0x10ea41(0x148)](_0x35a595,_0x582b16),_0x1d8fa7(()=>{const _0x293589=_0x10ea41;let _0x2a2f64=this[_0x293589(0x117)][_0x293589(0x3ca)](_0x4bef05,_0x28f3f4=>(_0x2a2f64[_0x293589(0x34f)](),_0x139844(_0x28f3f4,_0x35a595,_0x1f4afc,_0x4bef05)));_0x1c4992[_0x293589(0x10e)](_0x2a2f64);});}return{'redos':[],'undos':[]};};this[_0x2a06a4(0x2af)]['forEach']((_0x16405d,_0x35e2d6)=>{const _0x597574=_0x2a06a4;let {range:_0x5e8e7c,sheetID:_0x2e0f04}=_0x16405d,_0x441b27=this[_0x597574(0x117)][_0x597574(0x3ca)](_0x5e8e7c,_0x5294c3=>(_0x441b27[_0x597574(0x34f)](),_0x139844(_0x5294c3,_0x35e2d6,_0x2e0f04,_0x5e8e7c)));_0x1c4992['add'](_0x441b27);});};this['disposeWithMe']((0x0,_0x2b0173[_0x131c4e(0x399)])(this[_0x131c4e(0x33e)][_0x131c4e(0x224)](()=>{_0x4a62d4();})));}[_0x1a58e5(0x2db)](){const _0x1434ef=_0x1a58e5;var _0x20bde3,_0x1d34b7;if(this[_0x1434ef(0x169)]=!0x0,((_0x20bde3=this[_0x1434ef(0x3e5)][_0x1434ef(0x215)]())==null?void 0x0:_0x20bde3['getUnitId']())!==this['unitID'])return;let _0x4668d8=(_0x1d34b7=this[_0x1434ef(0x412)][_0x1434ef(0x1db)](_0x384008['SheetsSelectionsService'])[_0x1434ef(0x2a8)]())==null?void 0x0:_0x1d34b7[0x0],_0x2181e6=this[_0x1434ef(0x3e5)][_0x1434ef(0x163)](_0x2b0173[_0x1434ef(0x102)][_0x1434ef(0x104)])[_0x1434ef(0x20d)]();_0x4668d8&&_0x2181e6&&this[_0x1434ef(0x294)](_0x2181e6['getSheetId'](),_0x4668d8);}['_toggleOffline'](){const _0x483df9=_0x1a58e5;this[_0x483df9(0x169)]=!0x1;}};_0x43b780=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x5,_0x2b0173['IUniverInstanceService']),_0x215337(0x6,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x7,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x384008['RefRangeService']))],_0x43b780);function _0x3cc1b7(_0x22624b){const _0x235280=_0x1a58e5;let _0x30d194;try{_0x30d194=JSON[_0x235280(0x26f)](_0x22624b);}catch{return null;}if(typeof _0x30d194!=_0x235280(0x361)||!_0x30d194)return null;let _0x278706=_0x30d194;if(_0x278706[_0x235280(0x2d7)]!==_0x235280(0x365)||typeof _0x278706['unitId']!='string'||typeof _0x278706[_0x235280(0x149)]!=_0x235280(0x31b))return null;let _0x4692fa=Array[_0x235280(0x3bc)](_0x278706[_0x235280(0x3c8)])?_0x278706[_0x235280(0x3c8)]['filter'](_0x38171f=>typeof _0x38171f==_0x235280(0x31b)):[],_0x427b3b=typeof _0x278706[_0x235280(0x36c)]==_0x235280(0x31b)?_0x278706['focusedId']:null;return{'kind':_0x235280(0x365),'unitId':_0x278706['unitId'],'subUnitId':_0x278706[_0x235280(0x149)],'selectedIds':_0x4692fa,'focusedId':_0x427b3b};}let _0x31b8fb=class extends _0x2b0173[_0x1a58e5(0x323)]{get['cursorInfo'](){const _0x13f39b=_0x1a58e5;return this[_0x13f39b(0x33e)][_0x13f39b(0x35c)]();}get['roomMembers'](){const _0x12b0d5=_0x1a58e5;return this[_0x12b0d5(0x3f5)]['getValue']();}constructor(_0x5108b7,_0x45d257,_0x17237d,_0x4cca78,_0x153b6e){const _0x518a32=_0x1a58e5;super(),this['unitID']=_0x5108b7,this['_session']=_0x45d257,this[_0x518a32(0x1cd)]=_0x17237d,this[_0x518a32(0x24b)]=_0x4cca78,this['_slideDrawingStateService']=_0x153b6e,_0x42526d(this,'_online',!0x1),_0x42526d(this,'_init',!0x1),_0x42526d(this,_0x518a32(0x33e),new _0xc05c0c[(_0x518a32(0x334))](new Map())),_0x42526d(this,_0x518a32(0x3c9),this[_0x518a32(0x33e)][_0x518a32(0x2c9)]()),_0x42526d(this,_0x518a32(0x3f5),new _0xc05c0c[(_0x518a32(0x334))]([])),_0x42526d(this,_0x518a32(0x367),this[_0x518a32(0x3f5)][_0x518a32(0x154)]((0x0,_0xc05c0c[_0x518a32(0x24d)])(0x12c))),_0x42526d(this,'_updateLocalCursor',(0x0,_0x2b0173['debounce'])(_0x421194=>{const _0x55ee88=_0x518a32;let _0x4a83e4=_0x421194[_0x55ee88(0x250)];if(!_0x4a83e4||_0x4a83e4[_0x55ee88(0x268)]!==this[_0x55ee88(0x3a0)])return;let _0x59dfbc={'kind':_0x55ee88(0x365),'unitId':_0x4a83e4[_0x55ee88(0x268)],'subUnitId':_0x4a83e4[_0x55ee88(0x149)],'selectedIds':_0x421194['selectedIds'][_0x55ee88(0x409)](_0x1d3c9a=>typeof _0x1d3c9a==_0x55ee88(0x31b)),'focusedId':_0x421194[_0x55ee88(0x36c)]},_0x3a728a={'eventID':_0xd76d4d[_0x55ee88(0x3df)][_0x55ee88(0x2b4)],'data':{'unitID':this[_0x55ee88(0x3a0)],'memberID':this[_0x55ee88(0x26b)][_0x55ee88(0x192)](),'selection':JSON['stringify'](_0x59dfbc)}};this['_session']['send'](_0x3a728a,this[_0x55ee88(0x3a0)]);},0x64));}['dispose'](){const _0x106310=_0x1a58e5;super[_0x106310(0x34f)](),this['_cursorInfo$'][_0x106310(0x3b0)](new Map()),this[_0x106310(0x33e)][_0x106310(0x1c0)](),this[_0x106310(0x3f5)][_0x106310(0x3b0)]([]),this[_0x106310(0x3f5)][_0x106310(0x1c0)]();}[_0x1a58e5(0x145)](){const _0x4c98ad=_0x1a58e5;this[_0x4c98ad(0x1ec)]||(this['_init']=!0x0,this[_0x4c98ad(0x26b)][_0x4c98ad(0x168)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))[_0x4c98ad(0x224)](_0x48c778=>{const _0x45464b=_0x4c98ad;_0x48c778===_0x35fa89['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x45464b(0x206)]();}),this[_0x4c98ad(0x26b)][_0x4c98ad(0x3f2)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))[_0x4c98ad(0x224)](_0x556232=>{const _0x3a826d=_0x4c98ad;let _0x4db99f=_0x556232[_0x3a826d(0x231)];_0x4db99f===_0xd76d4d['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x3a826d(0x2ae)](_0x556232),_0x4db99f===_0xd76d4d[_0x3a826d(0x3df)][_0x3a826d(0x386)]&&this[_0x3a826d(0x1a0)](_0x556232);}),this['_slideDrawingStateService'][_0x4c98ad(0x2f4)][_0x4c98ad(0x154)]((0x0,_0xc05c0c[_0x4c98ad(0x1d1)])(this[_0x4c98ad(0x195)]))['subscribe'](_0x371253=>{const _0x3f1bc0=_0x4c98ad;this[_0x3f1bc0(0x169)]&&this[_0x3f1bc0(0x294)](_0x371253);}));}[_0x1a58e5(0x2ae)](_0x4314d2){const _0x5f355e=_0x1a58e5;var _0x28ae70,_0x16578b,_0x527354,_0x3d2a27;let {memberID:_0x3a0111,selection:_0x451f85}=_0x4314d2[_0x5f355e(0x3d8)];if(_0x3a0111===((_0x28ae70=(_0x16578b=this['_session'])[_0x5f355e(0x192)])==null?void 0x0:_0x28ae70['call'](_0x16578b)))return;let _0x8470ee=_0x3cc1b7(_0x451f85);if(!_0x8470ee||_0x8470ee[_0x5f355e(0x268)]!==this['unitID'])return;let _0x512c58=(_0x527354=(_0x3d2a27=this[_0x5f355e(0x24b)][_0x5f355e(0x3a8)](this[_0x5f355e(0x3a0)],_0x3a0111))==null?void 0x0:_0x3d2a27[_0x5f355e(0x3d5)])==null?_0x5f355e(0x3d7):_0x527354,_0x1e033d={'color':this[_0x5f355e(0x1cd)][_0x5f355e(0x263)](_0x3a0111),'name':_0x512c58,'unitId':_0x8470ee[_0x5f355e(0x268)],'subUnitId':_0x8470ee[_0x5f355e(0x149)],'selectedIds':_0x8470ee[_0x5f355e(0x3c8)],'focusedId':_0x8470ee[_0x5f355e(0x36c)],'selection':_0x451f85},_0x3d3b62=new Map(this[_0x5f355e(0x2af)]);_0x3d3b62['set'](_0x3a0111,_0x1e033d),this[_0x5f355e(0x33e)]['next'](_0x3d3b62);}['_onCursorDelete'](_0x5731e2){const _0x236817=_0x1a58e5;let {memberID:_0x2ac2d9}=_0x5731e2['data'],_0x4a6f7a=new Map(this[_0x236817(0x2af)]);_0x4a6f7a[_0x236817(0x182)](_0x2ac2d9),this[_0x236817(0x33e)]['next'](_0x4a6f7a);}[_0x1a58e5(0x2db)](){const _0x25a71b=_0x1a58e5;this[_0x25a71b(0x169)]=!0x0,this[_0x25a71b(0x294)](this['_slideDrawingStateService'][_0x25a71b(0x278)]());}[_0x1a58e5(0x206)](){const _0x161270=_0x1a58e5;this[_0x161270(0x169)]=!0x1;}};_0x31b8fb=_0x202e73([_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2fe220)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3c2)])),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x304b4c[_0x1a58e5(0x180)]))],_0x31b8fb);let _0x5077b=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x26e90c,_0x5ea519,_0x232de2){const _0x2bc052=_0x1a58e5;super(),this[_0x2bc052(0x3e5)]=_0x26e90c,this[_0x2bc052(0x412)]=_0x5ea519,this[_0x2bc052(0x330)]=_0x232de2,_0x42526d(this,_0x2bc052(0x29b),new Map()),_0x42526d(this,_0x2bc052(0x246),new _0xc05c0c[(_0x2bc052(0x3e4))]()),this[_0x2bc052(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x23fdb6=_0x1a58e5;super['dispose'](),this[_0x23fdb6(0x246)][_0x23fdb6(0x1c0)](),this['_entities'][_0x23fdb6(0xff)](_0x38b173=>_0x38b173[_0x23fdb6(0x34f)]());}[_0x1a58e5(0x3ab)](_0x1b755e){const _0xe7b204=_0x1a58e5;return this[_0xe7b204(0x29b)]['has'](_0x1b755e)?this[_0xe7b204(0x29b)][_0xe7b204(0x1db)](_0x1b755e)[_0xe7b204(0x3c9)]:this[_0xe7b204(0x246)]['pipe']((0x0,_0xc05c0c[_0xe7b204(0x409)])(_0x596c18=>_0x596c18[_0xe7b204(0x3a0)]===_0x1b755e),(0x0,_0xc05c0c[_0xe7b204(0x310)])(_0x55a257=>_0x55a257[_0xe7b204(0x3c9)]));}['_init'](){const _0x178b4b=_0x1a58e5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2b0173['UniverInstanceType'][_0x178b4b(0x104)])[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this['dispose$']))[_0x178b4b(0x224)](async _0x241f6e=>{const _0x560137=_0x178b4b;let _0x5a1b42=_0x241f6e['unit']['getUnitId'](),_0x40ca4b=await this[_0x560137(0x2b8)](_0x5a1b42);this[_0x560137(0x246)][_0x560137(0x3b0)](_0x40ca4b),this[_0x560137(0x29b)][_0x560137(0x148)](_0x5a1b42,_0x40ca4b);}),this[_0x178b4b(0x3e5)][_0x178b4b(0x156)](_0x2b0173[_0x178b4b(0x102)]['UNIVER_DOC'])[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this[_0x178b4b(0x195)]))[_0x178b4b(0x154)]((0x0,_0xc05c0c[_0x178b4b(0x409)])(_0xdc2a2e=>!_0xdc2a2e[_0x178b4b(0x29f)][_0x178b4b(0x36d)]()[_0x178b4b(0x1ea)]('__')))['subscribe'](async _0xa8bdbb=>{const _0x111489=_0x178b4b;let {unit:_0x68b94a}=_0xa8bdbb,_0x707b40=_0x68b94a[_0x111489(0x36d)](),_0x22ddbf=await this[_0x111489(0x39e)](_0x707b40);this['_entityInit$'][_0x111489(0x3b0)](_0x22ddbf),this[_0x111489(0x29b)]['set'](_0x707b40,_0x22ddbf);}),this[_0x178b4b(0x3e5)][_0x178b4b(0x156)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x175)])['pipe']((0x0,_0xc05c0c['takeUntil'])(this[_0x178b4b(0x195)]))['subscribe'](async _0x39229a=>{const _0x1eac9d=_0x178b4b;let _0x32cbbd=_0x39229a[_0x1eac9d(0x29f)][_0x1eac9d(0x36d)](),_0x3cf1a0=await this[_0x1eac9d(0x416)](_0x32cbbd);this[_0x1eac9d(0x246)][_0x1eac9d(0x3b0)](_0x3cf1a0),this['_entities']['set'](_0x32cbbd,_0x3cf1a0);}),this['_univerInstanceService'][_0x178b4b(0x156)](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x217)])['pipe']((0x0,_0xc05c0c[_0x178b4b(0x1d1)])(this[_0x178b4b(0x195)]))[_0x178b4b(0x224)](async _0x34c9ba=>{const _0x9ccd6d=_0x178b4b;let _0x50c514=_0x34c9ba['unit'][_0x9ccd6d(0x36d)](),_0x4c315f=await this[_0x9ccd6d(0x1be)](_0x50c514);this[_0x9ccd6d(0x246)][_0x9ccd6d(0x3b0)](_0x4c315f),this[_0x9ccd6d(0x29b)][_0x9ccd6d(0x148)](_0x50c514,_0x4c315f);}),(0x0,_0xc05c0c['merge'])(this[_0x178b4b(0x3e5)][_0x178b4b(0x298)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x313)]),this['_univerInstanceService'][_0x178b4b(0x298)](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x104)]),this[_0x178b4b(0x3e5)]['getTypeOfUnitDisposed$'](_0x2b0173[_0x178b4b(0x102)][_0x178b4b(0x175)]),this[_0x178b4b(0x3e5)][_0x178b4b(0x298)](_0x2b0173['UniverInstanceType'][_0x178b4b(0x217)]))[_0x178b4b(0x154)]((0x0,_0xc05c0c['takeUntil'])(this[_0x178b4b(0x195)]))[_0x178b4b(0x224)](_0x4ccc65=>{const _0x59d9bc=_0x178b4b;let _0x3255f1=_0x4ccc65[_0x59d9bc(0x36d)](),_0x354022=this[_0x59d9bc(0x29b)][_0x59d9bc(0x1db)](_0x3255f1);_0x354022&&(_0x354022['dispose'](),this[_0x59d9bc(0x29b)][_0x59d9bc(0x182)](_0x3255f1));});}async['_startSheetCollabCursor'](_0x375e7f){const _0x3fce2f=_0x1a58e5;let _0x56c609=await this[_0x3fce2f(0x330)][_0x3fce2f(0x267)](_0x375e7f),_0x57a89f=this[_0x3fce2f(0x412)]['createInstance'](_0x43b780,_0x375e7f,_0x56c609);return _0x57a89f['init'](),_0x57a89f;}async['_startDocCollabCursor'](_0xcf10d2){const _0x30a54d=_0x1a58e5;let _0x4b7bf6=await this[_0x30a54d(0x330)][_0x30a54d(0x267)](_0xcf10d2),_0x21e11f=this['_injector']['createInstance'](_0x254aea,_0xcf10d2,_0x4b7bf6);return _0x21e11f[_0x30a54d(0x145)](),_0x21e11f;}async[_0x1a58e5(0x416)](_0xdb5443){const _0x2a4486=_0x1a58e5;let _0x387b25=await this[_0x2a4486(0x330)][_0x2a4486(0x267)](_0xdb5443),_0x199de1=this[_0x2a4486(0x412)][_0x2a4486(0x3ef)](_0x31b8fb,_0xdb5443,_0x387b25);return _0x199de1[_0x2a4486(0x145)](),_0x199de1;}async[_0x1a58e5(0x1be)](_0x2605e1){const _0x30ec13=_0x1a58e5;let _0x8ff312=await this[_0x30ec13(0x330)][_0x30ec13(0x267)](_0x2605e1),_0x589dd2=this[_0x30ec13(0x412)][_0x30ec13(0x3ef)](_0x12a7db,_0x2605e1,_0x8ff312);return _0x589dd2[_0x30ec13(0x145)](),_0x589dd2;}};_0x5077b=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x122)]))],_0x5077b);let _0x57e97e=class extends _0x2b0173['RxDisposable']{constructor(_0x4da14c,_0xd603f1,_0x7bd45c){const _0x791b3f=_0x1a58e5;super(),this[_0x791b3f(0x356)]=_0x4da14c,this[_0x791b3f(0x23e)]=_0xd603f1,this[_0x791b3f(0x103)]=_0x7bd45c,_0x42526d(this,_0x791b3f(0x226),new Set()),_0x42526d(this,_0x791b3f(0x10b),!0x1),_0x42526d(this,_0x791b3f(0x16f),!0x1),_0x42526d(this,'_latestCursors',new Map()),this[_0x791b3f(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x33a7ed=_0x1a58e5;this[_0x33a7ed(0x35e)](),super['dispose']();}['_init'](){const _0x31c4a5=_0x1a58e5;let _0x1f1c22=this[_0x31c4a5(0x23e)][_0x31c4a5(0x3ab)](this[_0x31c4a5(0x356)][_0x31c4a5(0x268)]);this[_0x31c4a5(0x119)]((0x0,_0x2b0173[_0x31c4a5(0x399)])((0x0,_0xc05c0c[_0x31c4a5(0x1ce)])([_0x1f1c22,this[_0x31c4a5(0x356)]['unit'][_0x31c4a5(0x333)],this[_0x31c4a5(0x103)][_0x31c4a5(0x2d6)]])[_0x31c4a5(0x154)]((0x0,_0xc05c0c[_0x31c4a5(0x1d1)])(this[_0x31c4a5(0x195)]))['subscribe'](([_0x578119])=>{const _0x2030ad=_0x31c4a5;let _0x5da1bd=this['_context'][_0x2030ad(0x29f)][_0x2030ad(0x1c5)](),_0xcbefa3=new Map();_0x578119[_0x2030ad(0xff)]((_0x39c134,_0x535743)=>{const _0x73c67d=_0x2030ad;_0x39c134[_0x73c67d(0x149)]===_0x5da1bd&&_0xcbefa3[_0x73c67d(0x148)](_0x535743,{..._0x39c134,'color':this[_0x73c67d(0x103)]['getColorFromTheme'](_0x39c134[_0x73c67d(0x1e2)])});}),this[_0x2030ad(0x1f5)]=_0xcbefa3,this[_0x2030ad(0x3b4)]();})));let _0x3e04b4=this[_0x31c4a5(0x356)]['scene'];this['disposeWithMe']((0x0,_0x2b0173[_0x31c4a5(0x399)])(_0x3e04b4[_0x31c4a5(0x293)]['pipe']((0x0,_0xc05c0c[_0x31c4a5(0x1d1)])(this[_0x31c4a5(0x195)]))['subscribe'](()=>{const _0x4d3813=_0x31c4a5;this[_0x4d3813(0x16f)]||this[_0x4d3813(0x3b4)]();})));}[_0x1a58e5(0x3b4)](){const _0x3ac3bf=_0x1a58e5;this[_0x3ac3bf(0x10b)]||(this['_renderScheduled']=!0x0,Promise['resolve']()['then'](()=>{const _0x5436ae=_0x3ac3bf;this[_0x5436ae(0x10b)]=!0x1,this[_0x5436ae(0x3c5)]();}));}[_0x1a58e5(0x3c5)](){const _0x22001a=_0x1a58e5;this['_removeCollabCursors']();let _0x179df2=this[_0x22001a(0x356)]['unit']['getActivePageId'](),_0x4a740e=[];if(this[_0x22001a(0x1f5)][_0x22001a(0xff)]((_0x5397c1,_0x3ab8fe)=>{const _0x1c12ce=_0x22001a;_0x5397c1[_0x1c12ce(0x149)]===_0x179df2&&_0x5397c1['selectedIds']['forEach'](_0x340fee=>{const _0x44e8ed=_0x1c12ce;let _0x43ea1c=(0x0,_0x512abf[_0x44e8ed(0x2e2)])(_0x5397c1[_0x44e8ed(0x268)],_0x340fee),_0xe7fabc=this[_0x44e8ed(0x36a)](_0x43ea1c);if(!_0xe7fabc)return;let _0x5959d8=this[_0x44e8ed(0x152)](_0xe7fabc);_0x4a740e[_0x44e8ed(0x285)](new _0x28af6f(_0x44e8ed(0x23f)+_0x3ab8fe+'-'+_0x340fee,{..._0x5397c1,'left':_0x5959d8['left'],'top':_0x5959d8[_0x44e8ed(0x132)],'width':_0x5959d8[_0x44e8ed(0x381)],'height':_0x5959d8['height'],'angle':_0xe7fabc['angle'],'evented':!0x1,'zIndex':_0x19234f}));});}),_0x4a740e['length']===0x0){this[_0x22001a(0x356)][_0x22001a(0x258)][_0x22001a(0x14d)](!0x0);return;}this[_0x22001a(0x16f)]=!0x0,this['_context'][_0x22001a(0x258)][_0x22001a(0x2e1)](_0x4a740e,_0x19234f),this[_0x22001a(0x16f)]=!0x1,this[_0x22001a(0x226)]=new Set(_0x4a740e),this[_0x22001a(0x356)][_0x22001a(0x258)][_0x22001a(0x14d)](!0x0);}[_0x1a58e5(0x35e)](){const _0x4212d7=_0x1a58e5;let _0x3c6818=Array[_0x4212d7(0x2bb)](this[_0x4212d7(0x226)]);if(_0x3c6818[_0x4212d7(0x371)]===0x0)return;let _0x105917=this[_0x4212d7(0x356)][_0x4212d7(0x258)];'removeObjects'in _0x105917&&typeof _0x105917[_0x4212d7(0x3ba)]==_0x4212d7(0x3a2)?_0x105917[_0x4212d7(0x3ba)](_0x3c6818):_0x3c6818['forEach'](_0x53503b=>{const _0x28bffc=_0x4212d7;_0x28bffc(0x15f)in _0x105917&&typeof _0x105917[_0x28bffc(0x15f)]==_0x28bffc(0x3a2)?_0x105917['removeObject'](_0x53503b):_0x53503b[_0x28bffc(0x34f)]();}),this[_0x4212d7(0x226)]['clear'](),_0x105917[_0x4212d7(0x14d)](!0x0);}['_getSceneObjectByKey'](_0x1ff434){const _0x40c049=_0x1a58e5;var _0x45c3b0,_0xe2a432,_0x5e0595;let _0x1147db=this[_0x40c049(0x356)][_0x40c049(0x258)];return(_0x45c3b0=(_0xe2a432=(_0x5e0595=_0x1147db[_0x40c049(0x3ea)])==null?void 0x0:_0x5e0595[_0x40c049(0x213)](_0x1147db,_0x1ff434))==null?_0x1147db[_0x40c049(0x1b4)](_0x1ff434):_0xe2a432)==null?null:_0x45c3b0;}['_getObjectBounds'](_0x7bf56f){const _0x3ef410=_0x1a58e5;var _0x212f7a,_0xf7adce;let _0x72a448=_0x7bf56f;return(_0x212f7a=(_0xf7adce=_0x72a448['getRealBound'])==null?void 0x0:_0xf7adce['call'](_0x72a448))==null?{'left':_0x7bf56f[_0x3ef410(0x1e7)],'top':_0x7bf56f[_0x3ef410(0x132)],'width':_0x7bf56f[_0x3ef410(0x381)],'height':_0x7bf56f[_0x3ef410(0x2f9)]}:_0x212f7a;}};_0x57e97e=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x5077b)),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173['ThemeService']))],_0x57e97e);let _0x5bc9fb=_0x1a58e5(0x322);var _0x23a650=class{constructor(_0x248536,_0x2c6f5a,_0x2f84cc,_0x2d499d){const _0x5e43f7=_0x1a58e5;this['_cursor']=_0x248536,this['_scene']=_0x2c6f5a,this['_docSkeleton']=_0x2f84cc,this[_0x5e43f7(0x10a)]=_0x2d499d,_0x42526d(this,_0x5e43f7(0x2a9),[]),_0x42526d(this,_0x5e43f7(0x143),null),_0x42526d(this,_0x5e43f7(0x133),null),_0x42526d(this,_0x5e43f7(0x407),null),_0x42526d(this,_0x5e43f7(0x13b),null),_0x42526d(this,_0x5e43f7(0x2a4),null),this[_0x5e43f7(0x3c5)]();}set[_0x1a58e5(0x11d)](_0x42ae18){const _0x38ccae=_0x1a58e5;_0x42ae18?(this[_0x38ccae(0x407)]&&this['_anchorDot'][_0x38ccae(0x1dd)](),this[_0x38ccae(0x133)]&&this[_0x38ccae(0x133)][_0x38ccae(0x265)]()):(this[_0x38ccae(0x407)]&&this['_anchorDot'][_0x38ccae(0x265)](),this['_textBubble']&&this['_textBubble'][_0x38ccae(0x1dd)]());}[_0x1a58e5(0x34f)](){const _0x1a0d1f=_0x1a58e5;for(let _0x4f7642 of this[_0x1a0d1f(0x2a9)])_0x4f7642[_0x1a0d1f(0x34f)]();this[_0x1a0d1f(0x133)]&&this[_0x1a0d1f(0x133)][_0x1a0d1f(0x34f)](),this[_0x1a0d1f(0x407)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x1a0d1f(0x143)][_0x1a0d1f(0x34f)](),this[_0x1a0d1f(0x2a4)]&&this[_0x1a0d1f(0x2a4)]();}[_0x1a58e5(0x3c5)](){const _0x46fe1a=_0x1a58e5;let {_docSkeleton:_0xc53a47,_document:_0x524338}=this,{color:_0x47fc08,name:_0x33a058,ranges:_0x3ae69b}=this[_0x46fe1a(0x40e)],_0x45df8c=_0x524338[_0x46fe1a(0x39d)](),{docsLeft:_0x284811,docsTop:_0x3ceeaa}=_0x45df8c,_0x371983=new _0x56f9a3[(_0x46fe1a(0x14b))](_0x45df8c,_0xc53a47);for(let {startOffset:_0x1e7c85,endOffset:_0x1682fc,rangeType:_0x3c0061,segmentId:_0x42f315,segmentPage:_0x20127b,collapsed:_0x5792a9,isActive:_0x1ad347}of _0x3ae69b){let _0x3189ff=_0xc53a47[_0x46fe1a(0x3ae)](_0x1e7c85,!0x0,_0x42f315,_0x20127b),_0x3c22e4=_0xc53a47[_0x46fe1a(0x3ae)](_0x1682fc,!0x0,_0x42f315,_0x20127b);if(_0x3c22e4==null&&(_0x3c22e4=_0xc53a47[_0x46fe1a(0x3ae)](_0x1682fc-0x1,!0x1,_0x42f315,_0x20127b)),_0x1ad347){let {contentBoxPointGroup:_0x24f432}=_0x371983[_0x46fe1a(0x3cc)](_0x3c22e4,_0x3c22e4);if(_0x24f432[_0x46fe1a(0x371)]===0x0)continue;this['_drawAnchor'](_0x47fc08,_0x24f432,_0x284811,_0x3ceeaa,_0x33a058),this[_0x46fe1a(0x2a4)]=this[_0x46fe1a(0x12e)]();}if(_0x3189ff&&_0x3c22e4){if(_0x3c0061===_0x2b0173[_0x46fe1a(0x13e)]['RECT']){var _0x53bc3e;let {pointGroup:_0x4b7dc6}=(_0x53bc3e=new _0x56f9a3['NodePositionConvertToRectRange'](_0x45df8c,_0xc53a47)[_0x46fe1a(0x3cc)](_0x3189ff,_0x3c22e4))==null?{}:_0x53bc3e;if(_0x4b7dc6==null||_0x4b7dc6[_0x46fe1a(0x371)]===0x0)continue;this[_0x46fe1a(0x28e)](_0x47fc08,_0x4b7dc6,_0x284811,_0x3ceeaa);}else{if(!_0x5792a9){let {borderBoxPointGroup:_0x1e1411}=_0x371983[_0x46fe1a(0x3cc)](_0x3189ff,_0x3c22e4);if(_0x1e1411['length']===0x0)continue;this[_0x46fe1a(0x306)](_0x47fc08,_0x1e1411,_0x284811,_0x3ceeaa);}}}}}[_0x1a58e5(0x3b1)](_0x36cbfd,_0xf2509f,_0x312f39,_0x19d35e,_0x4a072d){const _0xc03012=_0x1a58e5;let {left:_0x353c14,top:_0x57a24b,height:_0x1a992f}=this['_getAnchorBounding'](_0xf2509f),_0x19253b=1.5/this[_0xc03012(0x260)](),_0x299bfe=new _0x15ed3a['Rect'](_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e,'height':_0x1a992f,'width':1.5,'fill':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)][_0xc03012(0x1e6)],0x0),'strokeWidth':_0x19253b,'stroke':_0xc03012(0x112),'evented':!0x0});this[_0xc03012(0x143)]=_0x299bfe,this[_0xc03012(0x13f)]['addObject'](_0x299bfe,_0x56f9a3[_0xc03012(0x1d6)]);let _0x4288e1=new _0x15ed3a[(_0xc03012(0x141))](_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x36cbfd||(0x0,_0x15ed3a[_0xc03012(0x1d7)])(_0x2b0173[_0xc03012(0x2d4)]['black'],0x0),'evented':!0x1});this[_0xc03012(0x407)]=_0x4288e1,this['_scene']['addObject'](_0x4288e1,_0x56f9a3['TEXT_RANGE_LAYER_INDEX']);let _0x39c507=new _0x548107(_0x5bc9fb+(0x0,_0x2b0173[_0xc03012(0x1b9)])(0x6),{'left':_0x353c14+_0x312f39-_0x19253b,'top':_0x57a24b+_0x19d35e-0x14,'text':_0x4a072d,'color':_0x36cbfd});this['_textBubble']=_0x39c507,this[_0xc03012(0x13f)][_0xc03012(0x21e)](_0x39c507,_0x56f9a3['TEXT_RANGE_LAYER_INDEX']),this[_0xc03012(0x11d)]=!0x1;}['_handleHover'](){const _0x47ed86=_0x1a58e5;let _0x97ff6b=this[_0x47ed86(0x143)]['onPointerEnter$'][_0x47ed86(0x351)](()=>{const _0x210a67=_0x47ed86;this[_0x210a67(0x11d)]=!0x0;}),_0x3c46e3=this['_anchor'][_0x47ed86(0x1e8)][_0x47ed86(0x351)](()=>{const _0xf86586=_0x47ed86;this[_0xf86586(0x13b)]&&clearTimeout(this[_0xf86586(0x13b)]),this[_0xf86586(0x13b)]=setTimeout(()=>{const _0x5d970a=_0xf86586;this[_0x5d970a(0x11d)]=!0x1;},0x7d0);});return()=>{const _0x4b57d4=_0x47ed86;_0x97ff6b[_0x4b57d4(0x27a)](),_0x3c46e3[_0x4b57d4(0x27a)]();};}[_0x1a58e5(0x306)](_0x45598b,_0x3ee306,_0x199ff2,_0x2f9d66){const _0x28ebbb=_0x1a58e5;let _0x1bb545=0.2,_0x4b4c6f=new _0x2b0173['ColorKit'](_0x45598b)[_0x28ebbb(0x184)](_0x1bb545)['toRgbString'](),_0x506151=new _0x15ed3a[(_0x28ebbb(0x35d))](_0x28ebbb(0x34b)+(0x0,_0x2b0173[_0x28ebbb(0x1b9)])(0x6),{'pointsGroup':_0x3ee306,'fill':_0x4b4c6f||(0x0,_0x15ed3a[_0x28ebbb(0x1d7)])(_0x2b0173['COLORS'][_0x28ebbb(0x1e6)],_0x1bb545),'left':_0x199ff2,'top':_0x2f9d66,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28ebbb(0x285)](_0x506151),this[_0x28ebbb(0x13f)][_0x28ebbb(0x21e)](_0x506151,_0x56f9a3[_0x28ebbb(0x1d6)]);}[_0x1a58e5(0x28e)](_0x60347,_0x44b8f2,_0x17e3b8,_0x4269a6){const _0x1cbc13=_0x1a58e5;let _0x11e43b=0.2,_0x23c155=new _0x2b0173[(_0x1cbc13(0x3f7))](_0x60347)['setAlpha'](_0x11e43b)[_0x1cbc13(0x3cf)](),_0x422a1d=new _0x15ed3a[(_0x1cbc13(0x35d))](_0x1cbc13(0x1a3)+(0x0,_0x2b0173[_0x1cbc13(0x1b9)])(0x6),{'pointsGroup':_0x44b8f2,'fill':_0x23c155||(0x0,_0x15ed3a[_0x1cbc13(0x1d7)])(_0x2b0173[_0x1cbc13(0x2d4)]['black'],_0x11e43b),'left':_0x17e3b8,'top':_0x4269a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1cbc13(0x285)](_0x422a1d),this[_0x1cbc13(0x13f)][_0x1cbc13(0x21e)](_0x422a1d,_0x56f9a3[_0x1cbc13(0x1d6)]);}[_0x1a58e5(0x235)](_0x562a5a){let _0x32e92b=_0x562a5a[0x0],_0x747c12=_0x32e92b[0x0],_0x3e4f13=_0x32e92b[0x2],{x:_0x3697a0,y:_0x37e77d}=_0x747c12,{x:_0x44050a,y:_0x2379cd}=_0x3e4f13;return{'left':_0x3697a0,'top':_0x37e77d,'width':_0x44050a-_0x3697a0,'height':_0x2379cd-_0x37e77d};}[_0x1a58e5(0x260)](){const _0x1e3d64=_0x1a58e5;let {scaleX:_0x1b19ef,scaleY:_0x4af04f}=this[_0x1e3d64(0x13f)]['getAncestorScale']();return Math[_0x1e3d64(0x3a7)](_0x1b19ef,_0x4af04f);}};let _0x2ec85a=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x1fd444,_0x2b0761,_0x424ec6,_0x7e7d04,_0x356f4d){const _0x2d915c=_0x1a58e5;super(),this[_0x2d915c(0x356)]=_0x1fd444,this[_0x2d915c(0x40d)]=_0x2b0761,this[_0x2d915c(0x23e)]=_0x424ec6,this[_0x2d915c(0x2d5)]=_0x7e7d04,this['_themeService']=_0x356f4d,_0x42526d(this,_0x2d915c(0x380),[]),_0x42526d(this,_0x2d915c(0x226),[]),this['_init']();}['_init'](){const _0x468028=_0x1a58e5;let _0x122182=this[_0x468028(0x356)][_0x468028(0x268)],_0xeae8da=this[_0x468028(0x40d)];this['disposeWithMe']((0x0,_0xc05c0c[_0x468028(0x1ce)])([this[_0x468028(0x23e)][_0x468028(0x3ab)](_0x122182),this[_0x468028(0x103)][_0x468028(0x2d6)]])[_0x468028(0x154)]((0x0,_0x4be982[_0x468028(0x230)])(([_0x6e4dd9,_0x58831c])=>({'skeleton':_0xeae8da[_0x468028(0x28d)](),'cursors':[..._0x6e4dd9[_0x468028(0x30e)]()][_0x468028(0x346)](_0x3bbe5f=>({..._0x3bbe5f,'color':this[_0x468028(0x103)]['getColorFromTheme'](_0x3bbe5f[_0x468028(0x1e2)])}))})))['subscribe'](_0x596f74=>{const _0x5c1b96=_0x468028;if(this[_0x5c1b96(0x35e)](),_0x596f74){let {skeleton:_0x40af95,cursors:_0x5add0d}=_0x596f74;this[_0x5c1b96(0x151)](_0x40af95,_0x5add0d);}})),this[_0x468028(0x2a6)](),this[_0x468028(0x292)]();}['_updateCollabCursors'](_0x41cf18,_0x2d9be4){const _0x35a944=_0x1a58e5;let {scene:_0xf50fa5,mainComponent:_0xebb05a}=this[_0x35a944(0x356)],_0x3870c1=_0x2d9be4[_0x35a944(0x230)](_0x2fc414=>new _0x23a650(_0x2fc414,_0xf50fa5,_0x41cf18,_0xebb05a));this['_cursorShapes']=_0x3870c1,this['_cursors']=_0x2d9be4;}[_0x1a58e5(0x39b)](){const _0x15204b=_0x1a58e5;this[_0x15204b(0x35e)]();let {scene:_0x1b5c1d,mainComponent:_0x59be67}=this[_0x15204b(0x356)],_0x1becc3=this[_0x15204b(0x40d)][_0x15204b(0x28d)](),_0x5076f7=this[_0x15204b(0x226)][_0x15204b(0x230)](_0x1e8485=>new _0x23a650(_0x1e8485,_0x1b5c1d,_0x1becc3,_0x59be67));this['_cursorShapes']=_0x5076f7;}[_0x1a58e5(0x35e)](){const _0x4aec9d=_0x1a58e5;this[_0x4aec9d(0x380)][_0x4aec9d(0xff)](_0x36474a=>_0x36474a[_0x4aec9d(0x34f)]()),this[_0x4aec9d(0x380)]=[];}[_0x1a58e5(0x292)](){const _0x47b206=_0x1a58e5;let _0xf39875=[_0x56f9a3['SetDocZoomRatioOperation']['id']];this[_0x47b206(0x119)](this[_0x47b206(0x2d5)][_0x47b206(0x157)](_0x75ba0d=>{const _0x4e9a2e=_0x47b206;_0xf39875[_0x4e9a2e(0x39c)](_0x75ba0d['id'])&&_0x75ba0d[_0x4e9a2e(0x3fb)]['unitId']===this[_0x4e9a2e(0x356)][_0x4e9a2e(0x268)]&&this[_0x4e9a2e(0x39b)]();}));}['_initResize'](){const _0x397daa=_0x1a58e5;this[_0x397daa(0x119)]((0x0,_0x2b0173[_0x397daa(0x379)])(this[_0x397daa(0x356)]['engine'][_0x397daa(0x158)])[_0x397daa(0x154)]((0x0,_0x4be982[_0x397daa(0x409)])(_0x5db2ad=>_0x5db2ad[_0x397daa(0x350)]===_0x15ed3a[_0x397daa(0x2eb)][_0x397daa(0x21b)]),(0x0,_0x4be982[_0x397daa(0x1cf)])(0x10))[_0x397daa(0x224)](()=>{const _0x295392=_0x397daa;this[_0x295392(0x39b)]();}));}};_0x2ec85a=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3ad445[_0x1a58e5(0x29c)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173['ThemeService']))],_0x2ec85a);var _0x4e747a=class extends _0x15ed3a[_0x1a58e5(0x1d2)]{constructor(_0x39e4b2,_0x4422cc){const _0x18ac29=_0x1a58e5;if(super(_0x39e4b2,_0x4422cc),_0x42526d(this,_0x18ac29(0x1c8),void 0x0),_0x42526d(this,_0x18ac29(0x39a),!0x1),_0x42526d(this,_0x18ac29(0x309),void 0x0),_0x42526d(this,'_name',''),_0x42526d(this,_0x18ac29(0x2a3),_0x18ac29(0x132)),_0x42526d(this,'_backgroundColor',void 0x0),_0x42526d(this,_0x18ac29(0x3f3),void 0x0),_0x42526d(this,_0x18ac29(0x194),void 0x0),_0x42526d(this,_0x18ac29(0x2c0),0x4),_0x42526d(this,_0x18ac29(0x1ef),void 0x0),_0x42526d(this,'_blinkIntervalTimer',void 0x0),_0x42526d(this,_0x18ac29(0x23d),!0x0),_0x42526d(this,'_offsetY',0x0),_0x42526d(this,_0x18ac29(0x40a),_0x18ac29(0x34a)),_0x4422cc){var _0x1c2ad3;if(this[_0x18ac29(0x317)](_0x4422cc),_0x4422cc[_0x18ac29(0x147)]&&((_0x1c2ad3=_0x4422cc[_0x18ac29(0x3b7)])==null?this[_0x18ac29(0x2c0)]:_0x1c2ad3)){var _0x204460;this[_0x18ac29(0x360)]((_0x204460=_0x4422cc['highlightSecond'])==null?this[_0x18ac29(0x2c0)]:_0x204460);}}this[_0x18ac29(0x1cb)][_0x18ac29(0x351)](()=>this[_0x18ac29(0x317)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x18ac29(0x317)]({'hovered':!0x1}));}[_0x1a58e5(0x232)](_0x5b1866){const _0x2f26ed=_0x1a58e5;this[_0x2f26ed(0x336)]=_0x5b1866;}[_0x1a58e5(0x317)](_0x2d13f2){const _0x2bf17e=_0x1a58e5;var _0x5abc80,_0x482aca,_0x55a1cd,_0x45920a,_0x4a5b66,_0x582b78,_0x8697eb,_0x114958;this[_0x2bf17e(0x1c8)]=(_0x5abc80=_0x2d13f2[_0x2bf17e(0x1e2)])==null?this[_0x2bf17e(0x1c8)]:_0x5abc80,this[_0x2bf17e(0x39a)]=(_0x482aca=_0x2d13f2[_0x2bf17e(0x1da)])==null?this[_0x2bf17e(0x39a)]:_0x482aca,this[_0x2bf17e(0x309)]=(_0x55a1cd=_0x2d13f2[_0x2bf17e(0x2fc)])==null?this[_0x2bf17e(0x309)]:_0x55a1cd,this[_0x2bf17e(0x1f4)]=(_0x45920a=_0x2d13f2['name'])==null?this[_0x2bf17e(0x1f4)]:_0x45920a,this[_0x2bf17e(0x2a3)]=(_0x4a5b66=_0x2d13f2[_0x2bf17e(0x1c3)])==null?this['_labelPosition']:_0x4a5b66,this[_0x2bf17e(0x1a7)]=(_0x582b78=_0x2d13f2[_0x2bf17e(0x166)])==null?this['_backgroundColor']:_0x582b78,this['_showText']=(_0x8697eb=_0x2d13f2[_0x2bf17e(0x23c)])==null?this[_0x2bf17e(0x3f3)]:_0x8697eb,this[_0x2bf17e(0x40a)]=(_0x114958=_0x2d13f2['labelHorizontalPosition'])==null?this['_labelHorizontalPosition']:_0x114958,_0x2d13f2[_0x2bf17e(0x3b7)]!==void 0x0&&(this['_highlightSecond']=_0x2d13f2[_0x2bf17e(0x3b7)]),_0x2d13f2[_0x2bf17e(0x147)]!==void 0x0&&(this[_0x2bf17e(0x194)]=_0x2d13f2[_0x2bf17e(0x147)]),_0x2d13f2[_0x2bf17e(0x2b5)]!==void 0x0&&(this[_0x2bf17e(0x336)]=_0x2d13f2[_0x2bf17e(0x2b5)]),this[_0x2bf17e(0x30d)]({'width':_0x2d13f2['width'],'height':_0x2d13f2[_0x2bf17e(0x2f9)]});}[_0x1a58e5(0x261)](_0x2e895c){const _0x4445cb=_0x1a58e5;let {row:_0x4c3fcf,column:_0xecf80f}=_0x2e895c;if(_0x4c3fcf>=this[_0x4445cb(0x309)][_0x4445cb(0x30b)]&&_0x4c3fcf<=this[_0x4445cb(0x309)]['endRow']&&_0xecf80f>=this[_0x4445cb(0x309)][_0x4445cb(0x2b0)]&&_0xecf80f<=this[_0x4445cb(0x309)][_0x4445cb(0x341)]){this[_0x4445cb(0x317)]({'hovered':!0x0});return;}this[_0x4445cb(0x317)]({'hovered':!0x1});}[_0x1a58e5(0x360)](_0x2fa9b5){const _0x2c4a5a=_0x1a58e5;this['_stopBlinking'](),this[_0x2c4a5a(0x23d)]=!0x0,this['_blinkIntervalTimer']=window[_0x2c4a5a(0x34e)](()=>{const _0xb803b3=_0x2c4a5a;this[_0xb803b3(0x23d)]=!this[_0xb803b3(0x23d)],this['makeDirty'](!0x0);},0x1f4),this[_0x2c4a5a(0x1ef)]=window['setTimeout'](()=>{const _0x4bda23=_0x2c4a5a;this[_0x4bda23(0x3e8)](),this[_0x4bda23(0x23d)]=!0x0,this[_0x4bda23(0x14d)](!0x0);},_0x2fa9b5*0x3e8);}[_0x1a58e5(0x3e8)](){const _0x89b3a6=_0x1a58e5;this[_0x89b3a6(0x1fc)]&&(window[_0x89b3a6(0x40f)](this[_0x89b3a6(0x1fc)]),this['_blinkIntervalTimer']=void 0x0),this[_0x89b3a6(0x1ef)]&&(window[_0x89b3a6(0x12b)](this[_0x89b3a6(0x1ef)]),this[_0x89b3a6(0x1ef)]=void 0x0);}[_0x1a58e5(0x274)](_0x4797e5){return!0x1;}['dispose'](){const _0x4bfe4e=_0x1a58e5;this[_0x4bfe4e(0x3e8)](),super[_0x4bfe4e(0x34f)]();}[_0x1a58e5(0x363)](_0x2af928){const _0x7cfd5e=_0x1a58e5;let _0x5b334c=this['_color'],_0xd3707c=this['_backgroundColor'];if(this[_0x7cfd5e(0x194)]&&!this['_isBlinkVisible']&&(_0x5b334c=this['_getLighterColor'](this[_0x7cfd5e(0x1c8)]),_0xd3707c=this[_0x7cfd5e(0x1a7)]?this['_getLighterColor'](this[_0x7cfd5e(0x1a7)]):void 0x0),_0x15ed3a[_0x7cfd5e(0x141)][_0x7cfd5e(0x160)](_0x2af928,{'width':this[_0x7cfd5e(0x381)],'height':this[_0x7cfd5e(0x2f9)],'strokeWidth':this[_0x7cfd5e(0x3fa)]||1.5,'stroke':_0x5b334c,'evented':!0x1,'fill':_0xd3707c}),this['_hovered']||this[_0x7cfd5e(0x3f3)]){var _0x4ca40c;_0x2af928['save']();let _0x1d4995=this[_0x7cfd5e(0x40a)]==='left'?-_0x366aaa(_0x2af928,this[_0x7cfd5e(0x1f4)]):this[_0x7cfd5e(0x381)];_0x2af928[_0x7cfd5e(0x375)](0x1,0x0,0x0,0x1,_0x1d4995,(this[_0x7cfd5e(0x2a3)]===_0x7cfd5e(0x37e)?0x0:-0x14)+((_0x4ca40c=this[_0x7cfd5e(0x336)])==null?0x0:_0x4ca40c)),_0x548107[_0x7cfd5e(0x160)](_0x2af928,{'text':this[_0x7cfd5e(0x1f4)],'color':_0x5b334c}),_0x2af928[_0x7cfd5e(0x31f)]();}}['_getLighterColor'](_0x5de73b){const _0xd9d651=_0x1a58e5;return _0x5de73b['startsWith']('#')?_0xd9d651(0x200)+Number[_0xd9d651(0x23a)](_0x5de73b[_0xd9d651(0x1f0)](0x1,0x3),0x10)+',\x20'+Number[_0xd9d651(0x23a)](_0x5de73b[_0xd9d651(0x1f0)](0x3,0x5),0x10)+',\x20'+Number[_0xd9d651(0x23a)](_0x5de73b['slice'](0x5,0x7),0x10)+_0xd9d651(0x40c):_0x5de73b[_0xd9d651(0x1ea)](_0xd9d651(0x15c))?_0x5de73b[_0xd9d651(0x2e5)](/[\d.]+\)$/g,_0xd9d651(0x3be)):_0x5de73b[_0xd9d651(0x1ea)](_0xd9d651(0x257))?_0x5de73b[_0xd9d651(0x2e5)](_0xd9d651(0x257),_0xd9d651(0x15c))['replace'](')',_0xd9d651(0x40c)):_0x5de73b;}};let _0x31b326=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x5e4da3,_0x1c7f1e,_0x30a91b,_0x292ad5){const _0x2d6e65=_0x1a58e5;super(),this[_0x2d6e65(0x356)]=_0x5e4da3,this['_sheetSkeletonManagerService']=_0x1c7f1e,this[_0x2d6e65(0x23e)]=_0x30a91b,this['_themeService']=_0x292ad5,_0x42526d(this,'_cursors',new Set()),_0x42526d(this,'_lastPointer',null),_0x42526d(this,_0x2d6e65(0x1e3),null),this[_0x2d6e65(0x1ec)]();}[_0x1a58e5(0x1ec)](){const _0x308cff=_0x1a58e5;this[_0x308cff(0x2bf)][_0x308cff(0x18e)][_0x308cff(0x154)]((0x0,_0x4be982[_0x308cff(0x1d1)])(this['dispose$']),(0x0,_0x4be982[_0x308cff(0x310)])(_0x7625cc=>{const _0x2fa97a=_0x308cff;if(_0x7625cc){let _0x5c8eac=_0x7625cc[_0x2fa97a(0x24f)];return(0x0,_0xc05c0c[_0x2fa97a(0x1ce)])(this[_0x2fa97a(0x23e)][_0x2fa97a(0x3ab)](this['_context'][_0x2fa97a(0x268)]),this[_0x2fa97a(0x103)][_0x2fa97a(0x2d6)])[_0x2fa97a(0x154)]((0x0,_0x4be982[_0x2fa97a(0x230)])(([_0x1fd01b,_0x2eb683])=>{const _0x568fe6=_0x2fa97a;let _0x3a6aa5=new Map();return _0x1fd01b[_0x568fe6(0xff)]((_0x5f5718,_0x3d7d26)=>{const _0x2e9d40=_0x568fe6;if(_0x5f5718[_0x2e9d40(0x162)]===_0x5c8eac){let _0x14be16={..._0x5f5718};_0x14be16[_0x2e9d40(0x1e2)]=this[_0x2e9d40(0x103)][_0x2e9d40(0x401)](_0x5f5718[_0x2e9d40(0x1e2)]),_0x3a6aa5[_0x2e9d40(0x148)](_0x3d7d26,_0x14be16);}}),{'skeleton':_0x7625cc,'cursors':_0x3a6aa5};}));}return(0x0,_0xc05c0c['of'])({'skeleton':null,'cursors':new Map()});}))[_0x308cff(0x224)](({skeleton:_0x7e6e33,cursors:_0x4b61ec})=>{const _0x10d2fc=_0x308cff;this[_0x10d2fc(0x35e)](),_0x7e6e33&&this[_0x10d2fc(0x151)](_0x7e6e33,_0x4b61ec);}),this['disposeWithMe'](this[_0x308cff(0x2bf)][_0x308cff(0x18e)][_0x308cff(0x154)]((0x0,_0x4be982['takeUntil'])(this[_0x308cff(0x195)]))[_0x308cff(0x224)](_0x3195db=>{const _0x21d486=_0x308cff;var _0x480573;if(_0x3195db==null)return;(_0x480573=this[_0x21d486(0x1e3)])==null||_0x480573[_0x21d486(0x27a)](),this[_0x21d486(0x1e3)]=null;let {skeleton:_0x47ef24}=_0x3195db,{scene:_0x3fe4e6}=this['_context'];this[_0x21d486(0x1e3)]=_0x3fe4e6['onPointerMove$'][_0x21d486(0x351)]((0x0,_0x2b0173[_0x21d486(0x186)])(_0x292f43=>{const _0x40a4f2=_0x21d486;var _0x3325ac,_0x5e6ea2;let {offsetX:_0x1d6411,offsetY:_0x1666d9}=_0x292f43,{x:_0x59451f,y:_0x5a50d9}=_0x3fe4e6['getRelativeToViewportCoord'](_0x15ed3a[_0x40a4f2(0x2f0)]['FromArray']([_0x1d6411,_0x1666d9])),{scaleX:_0x51b194,scaleY:_0x3502cd}=_0x3fe4e6[_0x40a4f2(0x1eb)](),_0x38ed53=_0x3fe4e6['getViewport'](_0x15ed3a[_0x40a4f2(0x136)][_0x40a4f2(0x3ac)]),_0x47413f=_0x3fe4e6[_0x40a4f2(0x2c4)](_0x15ed3a[_0x40a4f2(0x2f0)][_0x40a4f2(0x2da)]([_0x59451f,_0x5a50d9]),_0x38ed53),_0x3c7110=_0x47ef24[_0x40a4f2(0x1d5)](_0x1d6411,_0x1666d9,_0x51b194,_0x3502cd,_0x47413f);((_0x3325ac=this[_0x40a4f2(0x3b5)])==null?void 0x0:_0x3325ac[_0x40a4f2(0x24c)])===_0x3c7110[_0x40a4f2(0x24c)]&&((_0x5e6ea2=this['_lastPointer'])==null?void 0x0:_0x5e6ea2[_0x40a4f2(0x1f3)])===_0x3c7110['row']||this[_0x40a4f2(0x226)][_0x40a4f2(0xff)](_0x468054=>{const _0x578f55=_0x40a4f2;_0x468054[_0x578f55(0x261)](_0x3c7110);});},0x64));})),this[_0x308cff(0x119)]((0x0,_0x2b0173[_0x308cff(0x399)])(()=>{const _0xfb46d0=_0x308cff;var _0xbf7f26;(_0xbf7f26=this[_0xfb46d0(0x1e3)])==null||_0xbf7f26[_0xfb46d0(0x27a)](),this[_0xfb46d0(0x1e3)]=null;}));}['_updateCollabCursors'](_0x2ae794,_0x19a20b){const _0x53ce93=_0x1a58e5;let _0x484c21=this[_0x53ce93(0x2bf)][_0x53ce93(0x391)]();if(!_0x484c21)return;let _0x57aef2=this[_0x53ce93(0x359)]();if(!_0x57aef2)return;this[_0x53ce93(0x226)][_0x53ce93(0xff)](_0x28ffa2=>{const _0xae3278=_0x53ce93;_0x28ffa2[_0xae3278(0x14d)]();});let {scene:_0x130be9}=_0x57aef2,_0x12bb29=_0x419c5a(Array['from'](_0x19a20b[_0x53ce93(0x30e)]()))['map'](_0x4e1f96=>{const _0xab7c97=_0x53ce93;let {color:_0x1d4f3e,range:_0x322de3,name:_0x4c5799,selection:_0x5c2eca,sheetID:_0x12c178}=_0x4e1f96,{startColumn:_0x2759a3,startRow:_0x2aa54f,endColumn:_0x1b3df3,endRow:_0x2bb82b}=_0x322de3,_0x196465=(0x0,_0x50b664['getCoordByCell'])(_0x2aa54f,_0x2759a3,_0x130be9,_0x484c21),_0x429915=(0x0,_0x50b664[_0xab7c97(0x364)])(_0x2bb82b,_0x1b3df3,_0x130be9,_0x484c21),{columnHeaderHeightAndMarginTop:_0x360fa9}=_0x484c21,{startX:_0x2eb164,startY:_0x1fd0ae}=_0x196465,{endX:_0x37af65,endY:_0x31a541}=_0x429915,_0x59f6d7=_0x37af65-_0x2eb164,_0x5d26e9=_0x31a541-_0x1fd0ae;return new _0x4e747a(_0x4c5799,{'labelPosition':_0x1fd0ae-_0x360fa9>=0x14?_0xab7c97(0x132):_0xab7c97(0x37e),'sheetID':_0x12c178,'range':_0x322de3,'color':_0x1d4f3e,'name':_0x4c5799,'selection':_0x5c2eca,'left':_0x2eb164,'top':_0x1fd0ae,'width':_0x59f6d7,'height':_0x5d26e9,'evented':!0x1,'zIndex':0x1389});});_0x130be9['addObjects'](_0x12bb29,0x1),this[_0x53ce93(0x226)]=new Set(_0x12bb29);}[_0x1a58e5(0x35e)](){const _0x1ba97e=_0x1a58e5;var _0xd88968;(_0xd88968=this['_cursors'])==null||_0xd88968[_0x1ba97e(0xff)](_0x221a8d=>_0x221a8d['dispose']());}[_0x1a58e5(0x359)](){const _0x2782ab=_0x1a58e5;return(0x0,_0x50b664[_0x2782ab(0x1fa)])(this[_0x2782ab(0x356)][_0x2782ab(0x29f)],this[_0x2782ab(0x356)]);}};_0x31b326=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173['Inject'])(_0x50b664[_0x1a58e5(0x393)])),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x1b6)]))],_0x31b326);function _0x419c5a(_0x125b9c){const _0x23a246=_0x1a58e5;let _0x23f9aa=new Map();return _0x125b9c[_0x23a246(0xff)](_0x49a6e7=>{const _0x4b3c6c=_0x23a246;if(_0x23f9aa['has'](_0x49a6e7[_0x4b3c6c(0x272)])){let _0x45ce9a=_0x23f9aa[_0x4b3c6c(0x1db)](_0x49a6e7['selection']);_0x45ce9a[_0x4b3c6c(0x3d5)]+=',\x20'+_0x49a6e7[_0x4b3c6c(0x3d5)];}else _0x23f9aa[_0x4b3c6c(0x148)](_0x49a6e7['selection'],_0x49a6e7);}),Array[_0x23a246(0x2bb)](_0x23f9aa['values']());}let _0x85e88f=class extends _0x2b0173[_0x1a58e5(0x323)]{constructor(_0x8ec372,_0x4edc98,_0xe0836e){const _0x4aae30=_0x1a58e5;super(),this[_0x4aae30(0x356)]=_0x8ec372,this[_0x4aae30(0x23e)]=_0x4edc98,this[_0x4aae30(0x103)]=_0xe0836e,_0x42526d(this,_0x4aae30(0x226),new Set()),_0x42526d(this,'_renderScheduled',!0x1),_0x42526d(this,_0x4aae30(0x16f),!0x1),_0x42526d(this,_0x4aae30(0x1f5),new Map()),this[_0x4aae30(0x1ec)]();}[_0x1a58e5(0x34f)](){const _0x2da4b3=_0x1a58e5;this[_0x2da4b3(0x35e)](),super[_0x2da4b3(0x34f)]();}[_0x1a58e5(0x1ec)](){const _0x87a222=_0x1a58e5;let _0x33e4f3=this[_0x87a222(0x356)][_0x87a222(0x29f)][_0x87a222(0x33a)]['activeSlideId$'],_0xd84650=this[_0x87a222(0x23e)][_0x87a222(0x3ab)](this[_0x87a222(0x356)][_0x87a222(0x268)]);this[_0x87a222(0x119)]((0x0,_0x2b0173['toDisposable'])((0x0,_0xc05c0c[_0x87a222(0x1ce)])([_0xd84650,_0x33e4f3,this[_0x87a222(0x103)][_0x87a222(0x2d6)]])['pipe']((0x0,_0xc05c0c[_0x87a222(0x1d1)])(this[_0x87a222(0x195)]))['subscribe'](([_0x254cf2,_0x2210a5])=>{const _0x445470=_0x87a222;let _0x3e4359=new Map();_0x254cf2[_0x445470(0xff)]((_0x26f5b4,_0x3b2145)=>{const _0x225982=_0x445470;_0x26f5b4[_0x225982(0x149)]===_0x2210a5&&_0x3e4359['set'](_0x3b2145,{..._0x26f5b4,'color':this[_0x225982(0x103)][_0x225982(0x401)](_0x26f5b4[_0x225982(0x1e2)])});}),this[_0x445470(0x1f5)]=_0x3e4359,this[_0x445470(0x3b4)]();})));let _0x3ce575=this[_0x87a222(0x356)][_0x87a222(0x258)];this[_0x87a222(0x119)]((0x0,_0x2b0173['toDisposable'])(_0x3ce575[_0x87a222(0x293)][_0x87a222(0x154)]((0x0,_0xc05c0c[_0x87a222(0x1d1)])(this['dispose$']))[_0x87a222(0x224)](()=>{const _0x522af8=_0x87a222;this[_0x522af8(0x16f)]||this['_scheduleRender']();})));}[_0x1a58e5(0x3b4)](){const _0x5c888b=_0x1a58e5;this[_0x5c888b(0x10b)]||(this['_renderScheduled']=!0x0,Promise[_0x5c888b(0x2c6)]()[_0x5c888b(0x12c)](()=>{const _0x27a356=_0x5c888b;this[_0x27a356(0x10b)]=!0x1,this[_0x27a356(0x3c5)]();}));}[_0x1a58e5(0x3c5)](){const _0x14889f=_0x1a58e5;var _0x2b47d1;this[_0x14889f(0x35e)]();let _0xe3f0ad=(_0x2b47d1=this[_0x14889f(0x356)]['unit'][_0x14889f(0x33a)]['getActiveSlide']())==null?void 0x0:_0x2b47d1[_0x14889f(0x1a9)]();if(!_0xe3f0ad)return;let _0x40f694=[];if(this[_0x14889f(0x1f5)][_0x14889f(0xff)]((_0x3808db,_0x55e7fa)=>{const _0x348eb7=_0x14889f;_0x3808db[_0x348eb7(0x149)]===_0xe3f0ad&&_0x3808db['selectedIds'][_0x348eb7(0xff)](_0x4af52e=>{const _0xa72eb1=_0x348eb7;let _0x21be7d=(0x0,_0x304b4c[_0xa72eb1(0x3e7)])(_0x3808db['unitId'],_0x3808db[_0xa72eb1(0x149)],_0x4af52e),_0x4e8508=this[_0xa72eb1(0x36a)](_0x21be7d);if(!_0x4e8508)return;let _0x133adf=this['_getObjectBounds'](_0x4e8508);_0x40f694[_0xa72eb1(0x285)](new _0x28af6f('slide-collab-cursor-'+_0x55e7fa+'-'+_0x4af52e,{..._0x3808db,'left':_0x133adf[_0xa72eb1(0x1e7)],'top':_0x133adf[_0xa72eb1(0x132)],'width':_0x133adf[_0xa72eb1(0x381)],'height':_0x133adf[_0xa72eb1(0x2f9)],'angle':_0x4e8508[_0xa72eb1(0x33b)],'evented':!0x1,'zIndex':_0x19234f}));});}),_0x40f694[_0x14889f(0x371)]===0x0){this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x14d)](!0x0);return;}this[_0x14889f(0x16f)]=!0x0,this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x2e1)](_0x40f694,_0x19234f),this[_0x14889f(0x16f)]=!0x1,this[_0x14889f(0x226)]=new Set(_0x40f694),this[_0x14889f(0x356)][_0x14889f(0x258)][_0x14889f(0x14d)](!0x0);}[_0x1a58e5(0x35e)](){const _0x20c736=_0x1a58e5;let _0x1c7274=Array['from'](this[_0x20c736(0x226)]);if(_0x1c7274[_0x20c736(0x371)]===0x0)return;let _0x5b8203=this[_0x20c736(0x356)][_0x20c736(0x258)];'removeObjects'in _0x5b8203&&typeof _0x5b8203[_0x20c736(0x3ba)]==_0x20c736(0x3a2)?_0x5b8203['removeObjects'](_0x1c7274):_0x1c7274[_0x20c736(0xff)](_0x45164f=>{const _0x39a295=_0x20c736;_0x39a295(0x15f)in _0x5b8203&&typeof _0x5b8203[_0x39a295(0x15f)]==_0x39a295(0x3a2)?_0x5b8203[_0x39a295(0x15f)](_0x45164f):_0x45164f[_0x39a295(0x34f)]();}),this[_0x20c736(0x226)][_0x20c736(0x3ce)](),_0x5b8203[_0x20c736(0x14d)](!0x0);}[_0x1a58e5(0x36a)](_0x2fe4fd){const _0x5998a8=_0x1a58e5;var _0x299f57,_0x39a1c1,_0x14d53e;let _0x3f9c39=this['_context'][_0x5998a8(0x258)];return(_0x299f57=(_0x39a1c1=(_0x14d53e=_0x3f9c39[_0x5998a8(0x3ea)])==null?void 0x0:_0x14d53e['call'](_0x3f9c39,_0x2fe4fd))==null?_0x3f9c39[_0x5998a8(0x1b4)](_0x2fe4fd):_0x39a1c1)==null?null:_0x299f57;}[_0x1a58e5(0x152)](_0x463ab0){const _0x341d57=_0x1a58e5;var _0x1d7e9c,_0x2792dc;let _0x2cc72b=_0x463ab0;return(_0x1d7e9c=(_0x2792dc=_0x2cc72b[_0x341d57(0x12d)])==null?void 0x0:_0x2792dc['call'](_0x2cc72b))==null?{'left':_0x463ab0[_0x341d57(0x1e7)],'top':_0x463ab0[_0x341d57(0x132)],'width':_0x463ab0[_0x341d57(0x381)],'height':_0x463ab0[_0x341d57(0x2f9)]}:_0x1d7e9c;}};_0x85e88f=_0x202e73([_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5077b)),_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x1b6)]))],_0x85e88f);let _0x3a5ab5=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x185dbb,_0x18d3bf,_0x276aa2,_0x5f5579,_0x51ebd8,_0x5ca185){const _0x8a5279=_0x1a58e5;super(),this[_0x8a5279(0x355)]=_0x185dbb,this['_localCacheService']=_0x18d3bf,this['_collaborationUIEventService']=_0x276aa2,this[_0x8a5279(0x39f)]=_0x5f5579,this[_0x8a5279(0x25a)]=_0x51ebd8,this[_0x8a5279(0x135)]=_0x5ca185,this['_setupBeforeClosingHandler'](),this[_0x8a5279(0x320)]();}['_setupBeforeClosingHandler'](){const _0x47f06f=_0x1a58e5;this[_0x47f06f(0x119)](this['_beforeCloseService'][_0x47f06f(0x16c)](()=>{const _0x24e26e=_0x47f06f;if(this[_0x24e26e(0x312)][_0x24e26e(0x2d8)][_0x24e26e(0x332)])return this['_localeService']['t'](_0x24e26e(0x316));}));}[_0x1a58e5(0x320)](){const _0x5016de=_0x1a58e5;this[_0x5016de(0x119)](this['_collaborationUIEventService'][_0x5016de(0x3f2)][_0x5016de(0x224)](_0x4c886e=>{const _0x3a11f0=_0x5016de;_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)]['OTHER_CLIENT_EDITING']&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this['_localeService']['t'](_0x3a11f0(0x197))}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x19b)]&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.collaboration.closeRoom')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x140)]&&this[_0x3a11f0(0x25a)][_0x3a11f0(0x265)]({'title':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x259)),'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.permission.content'),'type':_0x3a11f0(0x3cd),'duration':0x0}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x37d)]&&this[_0x3a11f0(0x25a)][_0x3a11f0(0x265)]({'title':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t'](_0x3a11f0(0x35a)),'type':_0x3a11f0(0x3cd),'duration':0x0}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)]['JOIN_ROOM_FAILED']&&this[_0x3a11f0(0x39f)]['show']({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x30f)],'content':this['_localeService']['t'](_0x4c886e[_0x3a11f0(0x3d8)]||'')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x238)]&&this['_messageService'][_0x3a11f0(0x265)]({'type':_0x96a8b5['MessageType'][_0x3a11f0(0x30f)],'content':this[_0x3a11f0(0x135)]['t']('collaboration-client-ui.session.will-retry')}),_0x4c886e['id']===_0x35fa89[_0x3a11f0(0x1d9)][_0x3a11f0(0x205)]&&this['_messageService']['show']({'type':_0x96a8b5[_0x3a11f0(0x2ff)]['Error'],'content':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x139))}),_0x4c886e['id']===_0x35fa89['CollaborationUIEventId'][_0x3a11f0(0x146)]&&this[_0x3a11f0(0x39f)][_0x3a11f0(0x265)]({'type':_0x96a8b5[_0x3a11f0(0x2ff)][_0x3a11f0(0x14c)],'content':this[_0x3a11f0(0x135)]['t'](_0x3a11f0(0x26a))});}));}};_0x3a5ab5=_0x202e73([_0x215337(0x0,_0x161125[_0x1a58e5(0x1c6)]),_0x215337(0x1,_0x35fa89['ILocalCacheService']),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x269)])),_0x215337(0x3,_0x161125[_0x1a58e5(0x32b)]),_0x215337(0x4,_0x161125[_0x1a58e5(0x299)]),_0x215337(0x5,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x3a5ab5);let _0x1ccd84=(0x0,_0x2b0173['createIdentifier'])('uni.network.url-service'),_0x2dbe21=class extends _0x2b0173['RxDisposable']{constructor(_0x33a687,_0x503d74,_0x4729cc,_0x5bb035,_0x16907e){const _0x241a59=_0x1a58e5;super(),this[_0x241a59(0x397)]=_0x33a687,this[_0x241a59(0x3d6)]=_0x503d74,this[_0x241a59(0x2d5)]=_0x4729cc,this[_0x241a59(0x178)]=_0x5bb035,_0x16907e?_0x16907e==null||_0x16907e[_0x241a59(0x1ae)]()[_0x241a59(0x12c)](()=>this['_init']()):(this[_0x241a59(0x3d6)][_0x241a59(0x17f)](_0x241a59(0x114),_0x241a59(0x15b)),this['_init']());}async['_init'](){const _0x3fa58e=_0x1a58e5;let _0x532aa5=this['_urlService'][_0x3fa58e(0x410)](_0x3fa58e(0x29f)),_0xe9598a=this['_urlService'][_0x3fa58e(0x410)](_0x3fa58e(0x350)),_0x590ad6=this[_0x3fa58e(0x397)][_0x3fa58e(0x410)](_0x3fa58e(0x203));if(!_0x532aa5||!_0xe9598a){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x3fa58e(0x3f0));return;}let _0x66a0bb=await this[_0x3fa58e(0x178)][_0x3fa58e(0x123)](_0x532aa5,Number(_0xe9598a),_0x590ad6);_0x66a0bb&&_0x66a0bb instanceof _0x2b0173[_0x3fa58e(0x1dc)]&&this['_setupSubUnitSync'](_0x66a0bb);}async['_setupSubUnitSync'](_0x1502f0){const _0x84616e=_0x1a58e5;await this[_0x84616e(0x2fe)](_0x1502f0),_0x1502f0[_0x84616e(0x138)][_0x84616e(0x154)]((0x0,_0xc05c0c[_0x84616e(0x1d1)])(this[_0x84616e(0x195)]))[_0x84616e(0x224)](_0x34b824=>{_0x34b824&&this['_updateURLWithCurrentState'](_0x34b824);}),this['_urlService'][_0x84616e(0x328)][_0x84616e(0x154)]((0x0,_0xc05c0c[_0x84616e(0x1d1)])(this[_0x84616e(0x195)]))[_0x84616e(0x224)](()=>this[_0x84616e(0x2fe)](_0x1502f0));}[_0x1a58e5(0x1b3)](_0x4db077,_0x20cc43=!0x1){const _0x135fff=_0x1a58e5;let _0x1fe6d7=this[_0x135fff(0x397)]['getParam'](_0x135fff(0x203));_0x4db077[_0x135fff(0x3dc)]()!==_0x1fe6d7&&this['_urlService'][_0x135fff(0x288)](_0x135fff(0x203),_0x4db077[_0x135fff(0x3dc)](),_0x20cc43);}async[_0x1a58e5(0x2fe)](_0x396e24){const _0xecd83=_0x1a58e5;var _0x26e140;let _0x4ca536=this[_0xecd83(0x397)][_0xecd83(0x410)](_0xecd83(0x203));if(!_0x4ca536||!_0x396e24['getSheetBySheetId'](_0x4ca536)){let _0x37e315=_0x396e24[_0xecd83(0x35f)]()[0x0],_0x29f1d9=_0x396e24[_0xecd83(0x20c)](_0x37e315);if(!_0x29f1d9)return;this[_0xecd83(0x1b3)](_0x29f1d9,!0x0),await this['_commandService']['executeCommand'](_0x384008[_0xecd83(0x2ee)]['id'],{'unitId':_0x396e24[_0xecd83(0x36d)](),'subUnitId':_0x37e315});return;}((_0x26e140=_0x396e24[_0xecd83(0x20d)]())==null?void 0x0:_0x26e140[_0xecd83(0x3dc)]())!==_0x4ca536&&await this[_0xecd83(0x2d5)][_0xecd83(0x37a)](_0x384008[_0xecd83(0x2ee)]['id'],{'unitId':_0x396e24[_0xecd83(0x36d)](),'subUnitId':_0x4ca536});}};_0x2dbe21=_0x202e73([_0x215337(0x0,_0x1ccd84),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x3,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89['DataLoaderService'])),_0x215337(0x4,(0x0,_0x2b0173[_0x1a58e5(0x287)])(_0x3ab178[_0x1a58e5(0x204)]))],_0x2dbe21);let _0x3f2545=class{constructor(_0x39cf4e,_0x3aa094){const _0x59e22c=_0x1a58e5;this[_0x59e22c(0x3aa)]=_0x39cf4e,this[_0x59e22c(0x1f1)]=_0x3aa094;}[_0x1a58e5(0x150)](_0x435f46){const _0x23b937=_0x1a58e5;this[_0x23b937(0x244)](_0x435f46),this[_0x23b937(0x1b7)](_0x435f46);}[_0x1a58e5(0x417)](_0x46b1d0){const _0x372158=_0x1a58e5;let {unitID:_0xdf5fdb}=_0x46b1d0,{redoCache:_0x4dbfcc}=this[_0x372158(0x1f1)][_0x372158(0x170)](_0xdf5fdb)[_0x372158(0x2e0)](_0x56f9a3[_0x372158(0x165)])[_0x372158(0x134)]();if(_0x4dbfcc[_0x372158(0x371)]===0x0)return _0x46b1d0;let _0x19ba44=_0x2b0173[_0x372158(0x20f)][_0x372158(0x403)](_0x46b1d0['mutations'][0x0]);for(let _0x450381=0x0;_0x450381<_0x4dbfcc[_0x372158(0x371)];_0x450381++){let _0x49d4a9={'id':_0x372158(0x37b),'params':{..._0x4dbfcc[_0x450381]}},_0x21351b=this[_0x372158(0x3aa)][_0x372158(0x22d)](_0x19ba44,_0x49d4a9,!0x1);if((0x0,_0xd76d4d[_0x372158(0x3a1)])(_0x21351b))throw _0x21351b[_0x372158(0x3cd)];_0x19ba44=_0x21351b[_0x372158(0x125)];}return{..._0x2b0173[_0x372158(0x20f)]['deepClone'](_0x46b1d0),'mutations':[_0x19ba44]};}['_transformUndoRedoStack'](_0x220513){const _0x2a8a89=_0x1a58e5;let {unitID:_0x416f5b}=_0x220513,_0x4aa108=this[_0x2a8a89(0x1f1)][_0x2a8a89(0x170)](_0x416f5b)[_0x2a8a89(0x2e0)](_0x56f9a3[_0x2a8a89(0x165)]),{undoCache:_0x42df81,redoCache:_0x3d6cc8}=_0x4aa108['getUndoRedoMutationParamsCache']();if(_0x42df81[_0x2a8a89(0x371)]===0x0||_0x3d6cc8[_0x2a8a89(0x371)]===0x0)return;let _0x2d5f99=[],_0x305d9f=[],_0x52142d=_0x2b0173[_0x2a8a89(0x20f)][_0x2a8a89(0x403)](_0x220513[_0x2a8a89(0x264)][0x0]),_0x5d39d7=_0x2b0173[_0x2a8a89(0x20f)]['deepClone'](_0x220513[_0x2a8a89(0x264)][0x0]);for(let _0x3afc48=_0x42df81[_0x2a8a89(0x371)]-0x1;_0x3afc48>=0x0;_0x3afc48--){let _0x304157={'id':_0x2a8a89(0x37b),'params':{..._0x42df81[_0x3afc48]}},_0x15c567={'id':_0x2a8a89(0x37b),'params':{..._0x3d6cc8[_0x3afc48]}},_0x218bc5=this[_0x2a8a89(0x3aa)][_0x2a8a89(0x22d)](_0x52142d,_0x304157,!0x1),_0x6f6141=this[_0x2a8a89(0x3aa)]['transformMutation'](_0x5d39d7,_0x15c567,!0x1);if((0x0,_0xd76d4d[_0x2a8a89(0x3a1)])(_0x218bc5))throw _0x218bc5[_0x2a8a89(0x3cd)];if((0x0,_0xd76d4d[_0x2a8a89(0x3a1)])(_0x6f6141))throw _0x6f6141[_0x2a8a89(0x3cd)];_0x2d5f99[_0x2a8a89(0x10f)](_0x218bc5['m2Prime']['params']),_0x305d9f[_0x2a8a89(0x10f)](_0x6f6141[_0x2a8a89(0x1a5)]['params']),_0x52142d=_0x218bc5[_0x2a8a89(0x125)],_0x5d39d7=_0x6f6141[_0x2a8a89(0x125)];}_0x4aa108[_0x2a8a89(0x236)]({'undoCache':_0x2d5f99,'redoCache':_0x305d9f});}[_0x1a58e5(0x1b7)](_0x338506){const _0x478014=_0x1a58e5;let {unitID:_0x41f66e}=_0x338506,_0xb700be=this[_0x478014(0x1f1)]['getRenderById'](_0x41f66e)[_0x478014(0x2e0)](_0x56f9a3[_0x478014(0x165)]),_0x32b7bd=_0xb700be['getActiveRange']();if(_0x32b7bd==null)return;let _0x45ce37=[{'id':_0x478014(0x37b),'params':{'unitId':_0x338506[_0x478014(0x3a0)],'actions':null,'textRanges':[_0x32b7bd]}}],_0x4db9eb=this['_transformService']['transformMutationsWithChangeset'](_0x338506,_0x45ce37);if(!(0x0,_0xd76d4d[_0x478014(0x12a)])(_0x4db9eb))throw _0x4db9eb[_0x478014(0x3cd)];let _0x2ebf6a=_0x4db9eb[_0x478014(0x1a5)][0x0][_0x478014(0x3fb)]['textRanges'];Array[_0x478014(0x3bc)](_0x2ebf6a)&&_0x2ebf6a[_0x478014(0x371)]&&_0xb700be['setActiveRange'](_0x2ebf6a[0x0]);}};_0x3f2545=_0x202e73([_0x215337(0x0,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x1,_0x15ed3a[_0x1a58e5(0x32e)])],_0x3f2545);let _0x2875ec=class{constructor(_0x39f9a5,_0x363765,_0x2e5b02){const _0x40cc9b=_0x1a58e5;this[_0x40cc9b(0x412)]=_0x39f9a5,this['_transformService']=_0x363765,this[_0x40cc9b(0x124)]=_0x2e5b02;}['transformStateCache'](_0x2b4e29){const _0x4259c1=_0x1a58e5;this[_0x4259c1(0x253)](_0x2b4e29);}[_0x1a58e5(0x417)](_0x1be348){const _0x3fc910=_0x1a58e5;let {unitID:_0x9f5c6d}=_0x1be348,{collaboration:_0x40d9dc}=this[_0x3fc910(0x124)][_0x3fc910(0x30a)](_0x9f5c6d);if(_0x40d9dc[_0x3fc910(0x371)]===0x0)return _0x1be348;let _0x1a2d74=_0x2b0173['Tools']['deepClone'](_0x1be348[_0x3fc910(0x264)][0x0]);for(let _0x12e047=0x0;_0x12e047<_0x40d9dc[_0x3fc910(0x371)];_0x12e047++){let _0x53403f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d9dc[_0x12e047][_0x3fc910(0x268)],..._0x40d9dc[_0x12e047][_0x3fc910(0x366)]}},_0x104533=this['_transformService'][_0x3fc910(0x22d)](_0x1a2d74,_0x53403f,!0x1);if((0x0,_0xd76d4d[_0x3fc910(0x3a1)])(_0x104533))throw _0x104533[_0x3fc910(0x3cd)];_0x1a2d74=_0x104533[_0x3fc910(0x125)];}return{..._0x2b0173[_0x3fc910(0x20f)][_0x3fc910(0x403)](_0x1be348),'mutations':[_0x1a2d74]};}[_0x1a58e5(0x253)](_0x2684e4){const _0x4d27be=_0x1a58e5;let {unitID:_0x4e1fd3}=_0x2684e4,{history:_0x595ac5,collaboration:_0x15aa25}=this[_0x4d27be(0x124)][_0x4d27be(0x30a)](_0x4e1fd3);if(_0x595ac5['length']===0x0&&_0x15aa25[_0x4d27be(0x371)]===0x0)return;let _0x14280f=[],_0x51bcc5=[],_0x3d0dba=_0x2b0173[_0x4d27be(0x20f)][_0x4d27be(0x403)](_0x2684e4[_0x4d27be(0x264)][0x0]),_0xe1edbd=_0x2b0173[_0x4d27be(0x20f)][_0x4d27be(0x403)](_0x2684e4[_0x4d27be(0x264)][0x0]);for(let _0x51f8eb=_0x595ac5[_0x4d27be(0x371)]-0x1;_0x51f8eb>=0x0;_0x51f8eb--){let _0xf9d72d={'id':_0x4d27be(0x37b),'params':{'unitId':_0x595ac5[_0x51f8eb]['unitId'],..._0x595ac5[_0x51f8eb]['undoState']}},_0x121fcb={'id':_0x4d27be(0x37b),'params':{'unitId':_0x595ac5[_0x51f8eb][_0x4d27be(0x268)],..._0x595ac5[_0x51f8eb]['redoState']}},_0x19fdf6=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0x3d0dba,_0xf9d72d,!0x1),_0x340094=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0xe1edbd,_0x121fcb,!0x1);if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x19fdf6))throw _0x19fdf6['error'];if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x340094))throw _0x340094[_0x4d27be(0x3cd)];_0x14280f[_0x4d27be(0x10f)]({..._0x595ac5[_0x51f8eb],'undoState':_0x19fdf6[_0x4d27be(0x1a5)][_0x4d27be(0x3fb)],'redoState':_0x340094['m2Prime'][_0x4d27be(0x3fb)]}),_0x3d0dba=_0x19fdf6[_0x4d27be(0x125)],_0xe1edbd=_0x340094[_0x4d27be(0x125)];}_0x3d0dba=_0x2b0173[_0x4d27be(0x20f)]['deepClone'](_0x2684e4[_0x4d27be(0x264)][0x0]),_0xe1edbd=_0x2b0173[_0x4d27be(0x20f)]['deepClone'](_0x2684e4[_0x4d27be(0x264)][0x0]);for(let _0x4221fb=_0x15aa25['length']-0x1;_0x4221fb>=0x0;_0x4221fb--){let _0x562f11={'id':_0x4d27be(0x37b),'params':{'unitId':_0x15aa25[_0x4221fb][_0x4d27be(0x268)],..._0x15aa25[_0x4221fb]['undoState']}},_0x272aa3={'id':_0x4d27be(0x37b),'params':{'unitId':_0x15aa25[_0x4221fb][_0x4d27be(0x268)],..._0x15aa25[_0x4221fb]['redoState']}},_0x342680=this[_0x4d27be(0x3aa)]['transformMutation'](_0x3d0dba,_0x562f11,!0x1),_0x2be9b3=this[_0x4d27be(0x3aa)][_0x4d27be(0x22d)](_0xe1edbd,_0x272aa3,!0x1);if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x342680))throw _0x342680[_0x4d27be(0x3cd)];if((0x0,_0xd76d4d[_0x4d27be(0x3a1)])(_0x2be9b3))throw _0x2be9b3[_0x4d27be(0x3cd)];_0x51bcc5[_0x4d27be(0x10f)]({..._0x15aa25[_0x4221fb],'undoState':_0x342680[_0x4d27be(0x1a5)][_0x4d27be(0x3fb)],'redoState':_0x2be9b3['m2Prime'][_0x4d27be(0x3fb)]}),_0x3d0dba=_0x342680[_0x4d27be(0x125)],_0xe1edbd=_0x2be9b3[_0x4d27be(0x125)];}this[_0x4d27be(0x124)]['setStateCache'](_0x4e1fd3,{'history':_0x14280f,'collaboration':_0x51bcc5});}};_0x2875ec=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,_0xd76d4d[_0x1a58e5(0x28b)]),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3ad445[_0x1a58e5(0x395)]))],_0x2875ec);let _0x583759=class{constructor(_0x1cd0bd,_0x3a9287){const _0x4b3f15=_0x1a58e5;this[_0x4b3f15(0x412)]=_0x1cd0bd,this[_0x4b3f15(0x3aa)]=_0x3a9287;}[_0x1a58e5(0x289)](_0xadde0d){const _0x31f24f=_0x1a58e5;var _0xbab3f;let _0x3ff305=this[_0x31f24f(0x412)][_0x31f24f(0x1db)](_0x3ad445[_0x31f24f(0x196)]),_0x22e820=(_0xbab3f=_0x3ff305['getDocRanges']())==null?[]:_0xbab3f;if(_0x22e820[_0x31f24f(0x371)]===0x0)return;let _0x43524d=_0xadde0d[_0x31f24f(0x3a0)],_0x27826a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x43524d,'actions':null,'textRanges':_0x22e820}}],_0x48c69e=this[_0x31f24f(0x3aa)][_0x31f24f(0x358)](_0xadde0d,_0x27826a);if(!(0x0,_0xd76d4d[_0x31f24f(0x12a)])(_0x48c69e))throw _0x48c69e['error'];let _0x2e2857=_0x48c69e['m2Prime'][0x0][_0x31f24f(0x3fb)]['textRanges'];Array[_0x31f24f(0x3bc)](_0x2e2857)&&_0x2e2857[_0x31f24f(0x371)]&&_0x3ff305['replaceDocRanges'](_0x2e2857,{'unitId':_0x43524d,'subUnitId':_0x43524d},!0x1);}};_0x583759=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,_0xd76d4d['ITransformService'])],_0x583759);let _0x4c54e4=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x36d1b5,_0x1c6737,_0x1f74d5,_0x9aa207,_0x45c679,_0x175a09,_0x261807){const _0x3ee91b=_0x1a58e5;super(),this[_0x3ee91b(0x191)]=_0x36d1b5,this['_docTransformIMECacheService']=_0x1c6737,this[_0x3ee91b(0x2b6)]=_0x1f74d5,this[_0x3ee91b(0x251)]=_0x9aa207,this[_0x3ee91b(0x276)]=_0x45c679,this[_0x3ee91b(0x39f)]=_0x175a09,this[_0x3ee91b(0x135)]=_0x261807,_0x42526d(this,_0x3ee91b(0x297),new _0xc05c0c[(_0x3ee91b(0x334))](_0x35fa89[_0x3ee91b(0x315)]['NOT_COLLAB'])),this[_0x3ee91b(0x212)]();}[_0x1a58e5(0x212)](){const _0x568f32=_0x1a58e5;this[_0x568f32(0x119)](this['_collaborationController']['entityInit$']['subscribe'](_0x11256e=>{const _0x378d7f=_0x568f32;_0x11256e instanceof _0x35fa89['DocCollaborationEntity']&&_0x11256e['addHandlerCallback']({'onTransformIME':_0xc215de=>this[_0x378d7f(0x23b)][_0x378d7f(0x150)](_0xc215de),'onTransformState':_0x4a83b3=>this[_0x378d7f(0x2b6)]['transformStateCache'](_0x4a83b3),'onTransformSelections':_0x14f8fb=>this[_0x378d7f(0x251)]['transformSelections'](_0x14f8fb),'onSyncEditingCollabCursor':_0x144f80=>this[_0x378d7f(0x276)][_0x378d7f(0x14e)](_0x144f80),'onTransformRemoteChangesetByIMECache':_0x2040f6=>this[_0x378d7f(0x23b)]['transformRemoteChangeset'](_0x2040f6),'onTransformRemoteChangesetByStateCache':_0x4f6bf3=>this[_0x378d7f(0x2b6)][_0x378d7f(0x417)](_0x4f6bf3)});}));}};_0x4c54e4=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x35fa89[_0x1a58e5(0x3e0)])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x3f2545)),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2875ec)),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x583759)),_0x215337(0x4,(0x0,_0x2b0173['Inject'])(_0x50b94c)),_0x215337(0x5,_0x161125[_0x1a58e5(0x32b)]),_0x215337(0x6,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x4c54e4);let _0x36cace=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x32b9c4,_0x539fc0,_0x4d0c77,_0x3961d6){const _0x341621=_0x1a58e5;super(),this[_0x341621(0x412)]=_0x32b9c4,this[_0x341621(0x255)]=_0x539fc0,this['_logService']=_0x4d0c77,this[_0x341621(0x16d)]=_0x3961d6,_0x42526d(this,_0x341621(0x2e9),void 0x0),this['_init']();}[_0x1a58e5(0x1ec)](){const _0x3ea77d=_0x1a58e5;this[_0x3ea77d(0x221)](),this[_0x3ea77d(0x2c5)](),this['_monkeyPatchLogService'](),this[_0x3ea77d(0x3d2)]();}[_0x1a58e5(0x3d2)](){const _0x2151d1=_0x1a58e5;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x2151d1(0x224)](_0x3962b0=>{const _0x51dcd3=_0x2151d1;this[_0x51dcd3(0x2e9)]=_0x3962b0==null?void 0x0:_0x3962b0[_0x51dcd3(0x3f6)];}));}[_0x1a58e5(0x221)](){const _0x265d0b=_0x1a58e5;let _0xb2d539=_0x4e30a5=>{const _0x56ab8f=_0x7aae;var _0x58f585;this[_0x56ab8f(0x1b5)](_0x56ab8f(0x3cd),_0x56ab8f(0x266)+_0x4e30a5[_0x56ab8f(0x321)]+_0x56ab8f(0x33d)+_0x4e30a5['filename']+':'+_0x4e30a5[_0x56ab8f(0x2f6)]+':'+_0x4e30a5[_0x56ab8f(0x3c0)]+'\x0a'+(((_0x58f585=_0x4e30a5[_0x56ab8f(0x3cd)])==null?void 0x0:_0x58f585[_0x56ab8f(0x1a8)])||''));};window['addEventListener'](_0x265d0b(0x3cd),_0xb2d539),this[_0x265d0b(0x119)](()=>{const _0x2ae11c=_0x265d0b;window[_0x2ae11c(0x22e)]('error',_0xb2d539);});}[_0x1a58e5(0x2c5)](){const _0x2a0533=_0x1a58e5;let _0x566ff6=_0x5ba781=>{const _0x20ccc1=_0x7aae;this['_uploadLog'](_0x20ccc1(0x3cd),_0x20ccc1(0x19e)+_0x5ba781[_0x20ccc1(0x3bd)]);};window[_0x2a0533(0x219)](_0x2a0533(0x18f),_0x566ff6),this[_0x2a0533(0x119)](()=>{const _0x53ca11=_0x2a0533;window[_0x53ca11(0x22e)](_0x53ca11(0x18f),_0x566ff6);});}[_0x1a58e5(0x398)](){const _0x3b1809=_0x1a58e5;let _0x400070=this[_0x3b1809(0x3d6)]['error'][_0x3b1809(0x3d9)](this[_0x3b1809(0x3d6)]);this[_0x3b1809(0x3d6)][_0x3b1809(0x3cd)]=(..._0x219e8f)=>{const _0x3e9742=_0x3b1809;let _0x399c19=_0x219e8f[_0x3e9742(0x230)](_0x56ee83=>_0x56ee83 instanceof Error?_0x56ee83[_0x3e9742(0x321)]+'\x0a'+_0x56ee83['stack']:String(_0x56ee83))[_0x3e9742(0x3f1)]('\x20');this['_uploadLog'](_0x3e9742(0x3cd),_0x3e9742(0x1d0)+_0x399c19),_0x400070(..._0x219e8f);},this['disposeWithMe'](()=>{const _0x5e525e=_0x3b1809;this['_logService'][_0x5e525e(0x3cd)]=_0x400070;});}[_0x1a58e5(0x1b5)](_0x141760,_0x16507c){const _0x411b5d=_0x1a58e5;try{let _0x713851={'userId':this[_0x411b5d(0x2e9)],'logLabel':_0x141760,'content':_0x16507c};this[_0x411b5d(0x255)][_0x411b5d(0x387)](_0x411b5d(0x291),{'body':_0x713851})['catch'](()=>{});}catch{}}};_0x36cace=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x35fa89[_0x1a58e5(0x122)]))],_0x36cace);function _0x43b16e(_0x5b90eb){const _0x180376=_0x1a58e5;var _0x1b6d80,_0x1bea0f;let _0x2b7d79=(_0x1b6d80=_0x5b90eb['stageInfo'])==null?void 0x0:_0x1b6d80[_0x180376(0x3ed)],_0x950fea=((_0x1bea0f=_0x5b90eb[_0x180376(0x15d)])==null?void 0x0:_0x1bea0f[_0x180376(0x3f9)])||0x0;return _0x2b7d79===_0x170b1c['FormulaExecuteStageType']['START_CALCULATION']&&_0x950fea>0x0;}function _0x59acf9(_0x2413a3){const _0x350155=_0x1a58e5;return _0x2413a3['functionsExecutedState']===_0x170b1c[_0x350155(0x1f7)][_0x350155(0x2ad)];}let _0x15068b=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x4f21cf,_0x7ed08c,_0x1c45c7,_0x569fd2,_0x52dabe,_0x34b35f,_0x2c2439){const _0x3e0306=_0x1a58e5;super(),this[_0x3e0306(0x39f)]=_0x4f21cf,this[_0x3e0306(0x2d5)]=_0x7ed08c,this[_0x3e0306(0x2ac)]=_0x1c45c7,this[_0x3e0306(0x255)]=_0x569fd2,this[_0x3e0306(0x3e5)]=_0x52dabe,this[_0x3e0306(0x3d6)]=_0x34b35f,this[_0x3e0306(0x135)]=_0x2c2439,_0x42526d(this,_0x3e0306(0x1ff),null),_0x42526d(this,_0x3e0306(0x3af),0x0),_0x42526d(this,'_currentUsage',0x0),_0x42526d(this,'_taskIds',[]),_0x42526d(this,_0x3e0306(0x18c),0x0),this['_initCommandInterceptor']();}[_0x1a58e5(0x21f)](){const _0x2e8579=_0x1a58e5;this[_0x2e8579(0x119)](this[_0x2e8579(0x2d5)][_0x2e8579(0x2ce)]((_0x126226,_0x1769ad)=>{const _0x4b7be4=_0x2e8579;var _0x2090cc;if(_0x126226['id']!==_0x170b1c[_0x4b7be4(0x2e6)]['id'])return;let _0x372619=_0x126226[_0x4b7be4(0x3fb)];if(this['_hasFormulaInDirtyRanges']((_0x2090cc=_0x372619[_0x4b7be4(0x1d3)])==null?[]:_0x2090cc)&&!this['_checkCalculationAvailable']())throw this[_0x4b7be4(0x2e8)](_0x126226,_0x1769ad),this[_0x4b7be4(0x38d)](),new _0x2b0173[(_0x4b7be4(0x319))]();})),this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x24aec5,_0x108cfe)=>{const _0x27a893=_0x2e8579;if(_0x24aec5['id']!==_0x170b1c[_0x27a893(0x25b)]['id'])return;let _0x17a8d5=_0x24aec5[_0x27a893(0x3fb)];if(_0x43b16e(_0x17a8d5)){let _0x52731b=(0x0,_0x2b0173[_0x27a893(0x1b9)])();this['_taskIds'][_0x27a893(0x285)](_0x52731b),this[_0x27a893(0x137)](_0x52731b);}else{if(_0x59acf9(_0x17a8d5)&&this[_0x27a893(0x3bb)]['length']>0x0){let _0x52cc7a=this[_0x27a893(0x3bb)][_0x27a893(0x19c)]();this[_0x27a893(0x343)](_0x52cc7a);}}}));}['dispose'](){const _0x3a5b2f=_0x1a58e5;super['dispose'](),this[_0x3a5b2f(0x187)](),this[_0x3a5b2f(0x3bb)]=[],this[_0x3a5b2f(0x3a9)]=0x0,this[_0x3a5b2f(0x3af)]=0x0,this[_0x3a5b2f(0x18c)]=0x0;}async[_0x1a58e5(0x2e8)](_0x345f28,_0x557750){const _0x5d99eb=_0x1a58e5;for(let _0x3d1521=0x0;_0x3d1521<0x1e;_0x3d1521++)try{if(await this[_0x5d99eb(0x2b2)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x345f28,_0x557750),this[_0x5d99eb(0x39f)][_0x5d99eb(0x265)]({'content':this[_0x5d99eb(0x135)]['t'](_0x5d99eb(0x411)),'type':_0x96a8b5[_0x5d99eb(0x2ff)][_0x5d99eb(0x301)]});return;}await new Promise(_0x120fcc=>{const _0x3d81f7=_0x5d99eb;this[_0x3d81f7(0x1ff)]=window[_0x3d81f7(0x3de)](_0x120fcc,0x3e8);});}catch(_0x348b18){this[_0x5d99eb(0x3d6)][_0x5d99eb(0x3cd)](_0x348b18);}this[_0x5d99eb(0x39f)][_0x5d99eb(0x265)]({'content':this['_localeService']['t'](_0x5d99eb(0x2cc)),'type':_0x96a8b5['MessageType'][_0x5d99eb(0x14c)]});}[_0x1a58e5(0x10d)](_0x8f68b7,_0x244b1b){const _0x29c3f4=_0x1a58e5;try{this['_commandService'][_0x29c3f4(0x37a)](_0x8f68b7['id'],_0x8f68b7[_0x29c3f4(0x3fb)],_0x244b1b);}catch(_0x504b82){this['_logService'][_0x29c3f4(0x3cd)](_0x504b82);}}[_0x1a58e5(0x142)](_0x22cddb,_0x3dac2d){const _0xa3ab06=_0x1a58e5;_0x3dac2d<this['_lastResponseTimestamp']||(this[_0xa3ab06(0x18c)]=_0x3dac2d,this[_0xa3ab06(0x3af)]=Number[_0xa3ab06(0x23a)](_0x22cddb[_0xa3ab06(0x1ed)]),this['_currentUsage']=Number['parseInt'](_0x22cddb['currentUsage']));}async[_0x1a58e5(0x137)](_0x35bdbd){const _0xb163f6=_0x1a58e5;let _0x213e39=Date[_0xb163f6(0x33c)]();try{var _0x1ab2e4,_0x5f4f1d;let _0x38c2bd=((_0x1ab2e4=this[_0xb163f6(0x2ac)]['getConfig'](_0x35fa89[_0xb163f6(0x108)]))==null?void 0x0:_0x1ab2e4[_0xb163f6(0x1bb)])||_0xb163f6(0x100),_0x29b52b=(await this['_httpService'][_0xb163f6(0x387)](_0x38c2bd,{'body':JSON['stringify']({'taskId':_0x35bdbd})}))[_0xb163f6(0x2b3)];if(((_0x5f4f1d=_0x29b52b[_0xb163f6(0x3cd)])==null?void 0x0:_0x5f4f1d[_0xb163f6(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0xb163f6(0x142)](_0x29b52b[_0xb163f6(0x227)],_0x213e39);}catch(_0x3f14ad){this[_0xb163f6(0x3d6)]['error'](_0x3f14ad);}}async[_0x1a58e5(0x2b2)](_0x32b690){const _0x26fdcf=_0x1a58e5;let _0x27ff19=Date['now']();try{var _0x38043e,_0x50c4c6;let _0x1a5435=((_0x38043e=this[_0x26fdcf(0x2ac)]['getConfig'](_0x35fa89[_0x26fdcf(0x108)]))==null?void 0x0:_0x38043e[_0x26fdcf(0x3ee)])||_0x26fdcf(0x382),_0x53876f=_0x32b690?_0x1a5435+_0x26fdcf(0x254)+encodeURIComponent(_0x32b690):_0x1a5435,_0x6ac372=(await this['_httpService'][_0x26fdcf(0x1db)](_0x53876f))[_0x26fdcf(0x2b3)];if(((_0x50c4c6=_0x6ac372[_0x26fdcf(0x3cd)])==null?void 0x0:_0x50c4c6[_0x26fdcf(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0x26fdcf(0x142)](_0x6ac372[_0x26fdcf(0x227)],_0x27ff19);}catch(_0x2da344){this['_logService'][_0x26fdcf(0x3cd)](_0x2da344);}}async[_0x1a58e5(0x343)](_0x2b74df){const _0x331970=_0x1a58e5;let _0x4d8701=Date[_0x331970(0x33c)]();try{var _0x54e6d5,_0xc40a5f;let _0x387e21=((_0x54e6d5=this[_0x331970(0x2ac)][_0x331970(0x2c1)](_0x35fa89[_0x331970(0x108)]))==null?void 0x0:_0x54e6d5[_0x331970(0x372)])||_0x331970(0x216),_0x1396ab=(await this[_0x331970(0x255)]['post'](_0x387e21,{'body':JSON[_0x331970(0x249)]({'taskId':_0x2b74df})}))[_0x331970(0x2b3)];if(((_0xc40a5f=_0x1396ab['error'])==null?void 0x0:_0xc40a5f[_0x331970(0x2be)])!==_0x2e0273['ErrorCode']['OK'])return;this[_0x331970(0x142)](_0x1396ab[_0x331970(0x227)],_0x4d8701);}catch(_0x4457d1){this[_0x331970(0x3d6)][_0x331970(0x3cd)](_0x4457d1);}}[_0x1a58e5(0x2d0)](){const _0x31e091=_0x1a58e5;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x31e091(0x3af)]-this[_0x31e091(0x3a9)]>0x0;}[_0x1a58e5(0x187)](){const _0x435767=_0x1a58e5;this[_0x435767(0x1ff)]&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}[_0x1a58e5(0x38d)](){const _0x320760=_0x1a58e5;this['_messageService'][_0x320760(0x265)]({'content':this[_0x320760(0x135)]['t'](_0x320760(0x3b6)),'type':_0x96a8b5['MessageType'][_0x320760(0x2bd)]});}[_0x1a58e5(0x2fd)](_0x4fe9b0){const _0x170612=_0x1a58e5;for(let _0x330af3 of _0x4fe9b0){let {unitId:_0x1ace26,sheetId:_0xefedf1,range:_0x1a3965}=_0x330af3,_0x58c16e=this['_univerInstanceService']['getUnit'](_0x1ace26);if(!_0x58c16e)continue;let _0x484c30=_0x58c16e[_0x170612(0x20c)](_0xefedf1);if(!_0x484c30)continue;let _0x4c00bf=_0x484c30[_0x170612(0x277)]();for(let _0x5ee622=_0x1a3965[_0x170612(0x30b)];_0x5ee622<=_0x1a3965['endRow'];_0x5ee622++)for(let _0x25a929=_0x1a3965[_0x170612(0x2b0)];_0x25a929<=_0x1a3965[_0x170612(0x341)];_0x25a929++){let _0x27ca54=_0x4c00bf['getValue'](_0x5ee622,_0x25a929);if(_0x27ca54&&((0x0,_0x2b0173['isFormulaString'])(_0x27ca54['f'])||(0x0,_0x2b0173[_0x170612(0x12f)])(_0x27ca54['si'])))return!0x0;}}return!0x1;}};_0x15068b=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x161125[_0x1a58e5(0x32b)])),_0x215337(0x1,_0x2b0173[_0x1a58e5(0x202)]),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x2a1)]),_0x215337(0x3,(0x0,_0x2b0173['Inject'])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x4,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x5,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x6,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x2b0173[_0x1a58e5(0x25f)]))],_0x15068b);let _0x54825a=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x5b294b,_0x1a310a,_0xc697d8){const _0x4e5f10=_0x1a58e5;super(),this['_configService']=_0x5b294b,this[_0x4e5f10(0x2f7)]=_0x1a310a,this[_0x4e5f10(0x369)]=_0xc697d8,_0x42526d(this,'_cachedData',new Map()),_0x42526d(this,_0x4e5f10(0x1de),new Map()),_0x42526d(this,'_disabled',!0x1);}['disableLocalCache'](){const _0x14c958=_0x1a58e5;this[_0x14c958(0x2e3)]=!0x0;}[_0x1a58e5(0x305)](){const _0x4504de=_0x1a58e5;this[_0x4504de(0x2e3)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1a58e5(0x34f)](){const _0x52b52c=_0x1a58e5;this[_0x52b52c(0x384)]()['then'](()=>super['dispose']());}async[_0x1a58e5(0x11a)](_0x2ad414){const _0x1fa5c3=_0x1a58e5;return this['_disabled']?null:this[_0x1fa5c3(0x2f7)]['getItem']((0x0,_0x35fa89[_0x1fa5c3(0x273)])(_0x2ad414));}async[_0x1a58e5(0x3b9)](_0x10b76b,_0x128b57){const _0x55cdb0=_0x1a58e5;return!!this[_0x55cdb0(0x2f7)][_0x55cdb0(0x344)]((0x0,_0x35fa89['getLocalCacheKey'])(_0x10b76b),_0x128b57);}async[_0x1a58e5(0x248)](_0x18862f,_0x1b97f1){const _0x26b690=_0x1a58e5;var _0x5060d6;let _0x266654=(_0x5060d6=this[_0x26b690(0x31e)][_0x26b690(0x1db)](_0x18862f))==null?await this[_0x26b690(0x2f7)]['getItem']((0x0,_0x35fa89[_0x26b690(0x273)])(_0x18862f)):_0x5060d6;if(!_0x266654)return;let _0x7e7dd8=Date[_0x26b690(0x33c)](),_0x369aa4=new Date(_0x7e7dd8)[_0x26b690(0x32f)]();await this[_0x26b690(0x2f7)][_0x26b690(0x344)]((0x0,_0x35fa89['getLocalCacheKey'])(_0x18862f)+_0x26b690(0x13d)+_0x7e7dd8,{'reason':_0x1b97f1,'createdAt':_0x369aa4,'data':_0x266654});}[_0x1a58e5(0x329)](_0x4068da,_0x4f06a6,_0xde1b70,_0x22b819){const _0x3b7176=_0x1a58e5;let _0x247c8f=this[_0x3b7176(0x369)][_0x3b7176(0x201)](_0x4068da);this['_cachedData'][_0x3b7176(0x148)](_0x4068da,{'unitID':_0x4068da,'type':_0x4f06a6,'awaitingChangeset':_0xde1b70,'mutations':_0x22b819,'rev':_0x247c8f}),this[_0x3b7176(0x1de)][_0x3b7176(0x2c2)](_0x4068da)||this['_scheduleSaving'](_0x4068da);}[_0x1a58e5(0x2a7)](_0x2769f7){const _0x50e2be=_0x1a58e5;let _0x509e94=this[_0x50e2be(0x1e4)]();_0x509e94===0x0?this[_0x50e2be(0x1d8)](_0x2769f7):this[_0x50e2be(0x1de)][_0x50e2be(0x148)](_0x2769f7,window[_0x50e2be(0x3de)](()=>this['_saveCache'](_0x2769f7),_0x509e94));}[_0x1a58e5(0x1e4)](){const _0x319b48=_0x1a58e5;var _0xe927cc;return(_0xe927cc=this['_configService']['getConfig'](_0x35fa89[_0x319b48(0x2d3)]))==null?_0x35fa89[_0x319b48(0x353)]:_0xe927cc;}[_0x1a58e5(0x1d8)](_0x119d7d){const _0x37e300=_0x1a58e5;let _0x584dc6=this['_saveTaskMap'][_0x37e300(0x1db)](_0x119d7d);return _0x584dc6!==void 0x0&&window[_0x37e300(0x12b)](_0x584dc6),this[_0x37e300(0x2f7)][_0x37e300(0x344)]((0x0,_0x35fa89[_0x37e300(0x273)])(_0x119d7d),this[_0x37e300(0x31e)][_0x37e300(0x1db)](_0x119d7d))['then'](()=>this[_0x37e300(0x1de)][_0x37e300(0x182)](_0x119d7d));}async['exhaustSavingTask'](){const _0x2c524d=_0x1a58e5;let _0x3d21c9=[];this['_saveTaskMap'][_0x2c524d(0xff)]((_0x5c5382,_0x179c61)=>{const _0x127991=_0x2c524d;window['clearTimeout'](_0x5c5382),_0x3d21c9[_0x127991(0x285)](this[_0x127991(0x1d8)](_0x179c61)['then'](()=>{const _0x2f5947=_0x127991;this[_0x2f5947(0x1de)][_0x2f5947(0x182)](_0x179c61);}));}),await Promise[_0x2c524d(0x378)](_0x3d21c9);}};_0x54825a=_0x202e73([_0x215337(0x0,_0x2b0173['IConfigService']),_0x215337(0x1,_0x2b0173['ILocalStorageService']),_0x215337(0x2,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0xd76d4d[_0x1a58e5(0x1a4)]))],_0x54825a);var _0x55ff9c=class extends _0x2b0173['RxDisposable']{constructor(){const _0x171b72=_0x1a58e5;super(),_0x42526d(this,_0x171b72(0x328),void 0x0),this[_0x171b72(0x328)]=(0x0,_0xc05c0c[_0x171b72(0x3dd)])(window,_0x171b72(0x32d))[_0x171b72(0x154)]((0x0,_0xc05c0c[_0x171b72(0x1d1)])(this[_0x171b72(0x195)]),(0x0,_0xc05c0c['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0xc05c0c['mapTo'])(void 0x0));}['setParam'](_0xa744f0,_0x26cdd4,_0x31efe5=!0x1){const _0x4365e3=_0x1a58e5;let _0xc4e830=new URL(window[_0x4365e3(0x286)][_0x4365e3(0x15a)]);_0xc4e830[_0x4365e3(0x28c)][_0x4365e3(0x148)](_0xa744f0,_0x26cdd4),_0x31efe5?window[_0x4365e3(0x27c)]['replaceState']('','',_0xc4e830[_0x4365e3(0x3d4)]()):window[_0x4365e3(0x27c)][_0x4365e3(0x172)]('','',_0xc4e830[_0x4365e3(0x3d4)]());}[_0x1a58e5(0x37c)](_0x4edd96,_0x3f1071=!0x1){const _0x1a0802=_0x1a58e5;let _0x1b4219=new URL(window[_0x1a0802(0x286)][_0x1a0802(0x15a)]);_0x1b4219[_0x1a0802(0x28c)][_0x1a0802(0x182)](_0x4edd96),_0x3f1071?window['history']['replaceState']('','',_0x1b4219['toString']()):window['history']['pushState']('','',_0x1b4219[_0x1a0802(0x3d4)]());}['getParam'](_0x19648a){const _0x17f864=_0x1a58e5;var _0x1426a7;return(_0x1426a7=new URL(window[_0x17f864(0x286)][_0x17f864(0x15a)])[_0x17f864(0x28c)][_0x17f864(0x1db)](_0x19648a))==null?void 0x0:_0x1426a7;}};let _0x24efbb=class extends _0x2b0173['Plugin']{constructor(_0x4e056c=_0x494f70,_0x52e43f,_0xbb52d,_0x32819b){const _0x3c4470=_0x1a58e5;super(),this[_0x3c4470(0x1a2)]=_0x4e056c,this[_0x3c4470(0x1f1)]=_0x52e43f,this[_0x3c4470(0x412)]=_0xbb52d,this[_0x3c4470(0x2ac)]=_0x32819b;let {..._0x23e066}=(0x0,_0x2b0173[_0x3c4470(0x10c)])({},_0x494f70,this[_0x3c4470(0x1a2)]);this[_0x3c4470(0x2ac)][_0x3c4470(0x2a5)](_0x3c4470(0x110),_0x23e066);}[_0x1a58e5(0x368)](){const _0x5651be=_0x1a58e5;this[_0x5651be(0x308)](),this['_initDependencies']();}['onRendered'](){const _0x18ad66=_0x1a58e5;this[_0x18ad66(0x107)]();}[_0x1a58e5(0x308)](){const _0xeb28b9=_0x1a58e5;var _0x19a508;let _0x562306=[[_0x2fe220],[_0x15068b],[_0x1ccd84,{'useClass':_0x55ff9c}],[_0x5499b2[_0xeb28b9(0x2a0)],{'useClass':_0x5499b2[_0xeb28b9(0x225)]}],[_0x35fa89[_0xeb28b9(0x128)],{'useClass':_0x54825a}],[_0x1f1a4f],[_0x380180],[_0x3a5ab5],[_0x5077b],[_0x2dbe21]];this[_0xeb28b9(0x1a2)][_0xeb28b9(0x109)]!==!0x1&&_0x562306[_0xeb28b9(0x285)]([_0x583759],[_0x3f2545],[_0x2875ec],[_0x50b94c],[_0x4c54e4],[_0x5b162a]),this['_config']['enableFrontendLog']&&_0x562306[_0xeb28b9(0x285)]([_0x36cace]),(0x0,_0x2b0173[_0xeb28b9(0x222)])(this[_0xeb28b9(0x412)],(0x0,_0x2b0173[_0xeb28b9(0x324)])(_0x562306,(_0x19a508=this[_0xeb28b9(0x1a2)])==null?void 0x0:_0x19a508['override']));}[_0x1a58e5(0x107)](){const _0x30020b=_0x1a58e5;this['_config']['enableDocumentCollaborationUI']!==!0x1&&this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x2b0173['UniverInstanceType'][_0x30020b(0x313)],[_0x2ec85a])),this[_0x30020b(0x119)](this[_0x30020b(0x1f1)][_0x30020b(0x229)](_0x2b0173[_0x30020b(0x102)][_0x30020b(0x104)],[_0x31b326])),this[_0x30020b(0x119)](this['_renderManagerService']['registerRenderModule'](_0x2b0173[_0x30020b(0x102)]['UNIVER_SLIDE'],[_0x85e88f])),this['disposeWithMe'](this[_0x30020b(0x1f1)][_0x30020b(0x229)](_0x2b0173[_0x30020b(0x102)][_0x30020b(0x217)],[_0x57e97e]));}[_0x1a58e5(0x2a2)](){const _0x300382=_0x1a58e5;(0x0,_0x2b0173[_0x300382(0x13a)])(this[_0x300382(0x412)],[[_0x5077b],[_0x1f1a4f],[_0x380180],[_0x3a5ab5],[_0x2dbe21],[_0x15068b]]),this[_0x300382(0x1a2)][_0x300382(0x109)]!==!0x1&&(0x0,_0x2b0173[_0x300382(0x13a)])(this[_0x300382(0x412)],[[_0x4c54e4],[_0x5b162a]]),this[_0x300382(0x1a2)][_0x300382(0x17d)]&&(0x0,_0x2b0173[_0x300382(0x13a)])(this['_injector'],[[_0x36cace]]);}};_0x42526d(_0x24efbb,_0x1a58e5(0x374),'UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x42526d(_0x24efbb,_0x1a58e5(0x223),_0x546ec3),_0x42526d(_0x24efbb,_0x1a58e5(0x318),_0x5d8e38),_0x24efbb=_0x202e73([(0x0,_0x2b0173[_0x1a58e5(0x383)])(_0x35fa89[_0x1a58e5(0x256)]),_0x215337(0x1,_0x15ed3a[_0x1a58e5(0x32e)]),_0x215337(0x2,(0x0,_0x2b0173['Inject'])(_0x2b0173[_0x1a58e5(0x2b7)])),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x2a1)])],_0x24efbb);let _0x37fffa=class extends _0x35fa89[_0x1a58e5(0x144)]{constructor(_0x93aef0,_0x518bed,_0x2d8416,_0x5638e5,_0x25f4f6){super(_0x93aef0,_0x518bed,_0x2d8416,_0x5638e5,_0x25f4f6);}async[_0x1a58e5(0x17c)](_0x5839cd){const _0x504d68=_0x1a58e5;let _0x2840de=await this['_getSessionTicket'](),_0x363042=this[_0x504d68(0x26d)](_0x5839cd,_0x2840de);return this[_0x504d68(0x1e0)](_0x363042);}[_0x1a58e5(0x26d)](_0x384a1b,_0x2d37eb){const _0x3b860a=_0x1a58e5;let _0x151a48=typeof window>'u'?new URL(_0x384a1b):new URL(_0x384a1b,window['location'][_0x3b860a(0x2d9)]);_0x151a48[_0x3b860a(0x28c)][_0x3b860a(0x148)](_0x3b860a(0x129),_0x2d37eb);let _0x463c0b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3b860a(0x286)][_0x3b860a(0x211)]);return _0x463c0b[_0x3b860a(0x1db)](_0x3b860a(0x31d))&&_0x151a48[_0x3b860a(0x28c)][_0x3b860a(0x148)](_0x3b860a(0x31d),_0x463c0b[_0x3b860a(0x1db)](_0x3b860a(0x31d))),_0x151a48['toString']();}async[_0x1a58e5(0x1b8)](){const _0x273069=_0x1a58e5;var _0x3e84b5,_0x35c0c2,_0x232bef;let _0x4c042c=this[_0x273069(0x2ac)][_0x273069(0x2c1)](_0x35fa89[_0x273069(0x108)]),_0x8920ef=(_0x3e84b5=_0x4c042c==null?void 0x0:_0x4c042c[_0x273069(0x27d)])==null?_0x35fa89['DEFAULT_WS_SESSION_TICKET_URL']:_0x3e84b5;return(_0x35c0c2=(_0x232bef=(await this[_0x273069(0x255)][_0x273069(0x1db)](_0x8920ef,{'headers':{'Content-Type':_0x273069(0x36b)}}))[_0x273069(0x2b3)])==null?void 0x0:_0x232bef[_0x273069(0x3c6)])==null?'':_0x35c0c2;}};_0x37fffa=_0x202e73([_0x215337(0x0,(0x0,_0x2b0173['Inject'])(_0x2b0173['Injector'])),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2['HTTPService'])),_0x215337(0x2,_0x2b0173[_0x1a58e5(0x2a1)]),_0x215337(0x3,_0x2b0173[_0x1a58e5(0x25e)]),_0x215337(0x4,_0xd76d4d[_0x1a58e5(0x159)])],_0x37fffa);let _0x124024=class extends _0x2b0173[_0x1a58e5(0x153)]{constructor(_0x504b27,_0x16f56e,_0x27bd9e){const _0x4b5e5a=_0x1a58e5;super(),this[_0x4b5e5a(0x176)]=_0x504b27,this[_0x4b5e5a(0x255)]=_0x16f56e,this['_configService']=_0x27bd9e;}async[_0x1a58e5(0x105)](_0x76f06d,_0x291ca3,_0xefdff2,..._0x48e3c5){const _0x5cadf8=_0x1a58e5;var _0xf7eecf,_0x410231,_0x7d9256,_0x12974e;let _0x3f2817=this[_0x5cadf8(0x176)][_0x5cadf8(0x215)]();if(!_0x3f2817)throw Error(_0x5cadf8(0x1f2));let _0x178624=((_0xf7eecf=this[_0x5cadf8(0x2ac)][_0x5cadf8(0x2c1)](_0x35fa89[_0x5cadf8(0x345)]))==null?_0x35fa89[_0x5cadf8(0x406)]:_0xf7eecf)+'/'+_0x76f06d+_0x5cadf8(0x20e)+_0x291ca3,_0x1d9916={'scriptId':_0x76f06d,'runId':(_0x410231=new URL(window['location'][_0x5cadf8(0x15a)])['searchParams']['get'](_0x5cadf8(0x31d)))==null?'':_0x410231,'function':_0x291ca3,'unitId':_0x3f2817[_0x5cadf8(0x36d)](),'argsOfFunction':JSON[_0x5cadf8(0x249)](_0x48e3c5),'invokeId':(_0x7d9256=_0xefdff2[_0x5cadf8(0x22b)])==null?'':_0x7d9256,'executionId':(_0x12974e=_0xefdff2[_0x5cadf8(0x1b0)])==null?'':_0x12974e};try{let _0x1b1ed8=await this[_0x5cadf8(0x255)][_0x5cadf8(0x387)](_0x178624,{'body':_0x1d9916});return _0x1b1ed8['body']['error']&&_0x1b1ed8[_0x5cadf8(0x2b3)][_0x5cadf8(0x3cd)][_0x5cadf8(0x2be)]!==_0x2e0273[_0x5cadf8(0x113)]['OK']?_0x5cadf8(0x179):_0x1b1ed8['body'][_0x5cadf8(0x240)];}catch{return _0x5cadf8(0x179);}}};_0x124024=_0x202e73([_0x215337(0x0,_0x2b0173[_0x1a58e5(0x31c)]),_0x215337(0x1,(0x0,_0x2b0173[_0x1a58e5(0x247)])(_0x5499b2[_0x1a58e5(0x326)])),_0x215337(0x2,_0x2b0173['IConfigService'])],_0x124024);let _0x5bfddd=0x7530,_0x10b693='ACTIVE_UNIT_EVENT_CHANNEL';var _0x5a01e1=class extends _0x2b0173['Disposable']{constructor(){const _0xc5afa7=_0x1a58e5;super(),_0x42526d(this,_0xc5afa7(0x3a5),(0x0,_0x2b0173[_0xc5afa7(0x1b9)])()),_0x42526d(this,_0xc5afa7(0x1c9),new Set()),_0x42526d(this,'_unitOnClients',new Map()),_0x42526d(this,_0xc5afa7(0x131),null),_0x42526d(this,'_clearOtherTimers',new Map()),_0x42526d(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x3352ff=_0x1a58e5;super['dispose'](),this[_0x3352ff(0x2cb)]['forEach']((_0x297acf,_0x2ac88a)=>this[_0x3352ff(0x29e)](_0x2ac88a)),this['_heartbeatTimer']&&window[_0x3352ff(0x40f)](this[_0x3352ff(0x131)]);}[_0x1a58e5(0x116)](_0x517761){const _0x3c4e91=_0x1a58e5;return this['_ensureSubject'](_0x517761)[_0x3c4e91(0x154)]((0x0,_0xc05c0c[_0x3c4e91(0x342)])());}[_0x1a58e5(0x338)](_0x5cb948){const _0x3b8932=_0x1a58e5;this[_0x3b8932(0x1c9)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x3b8932(0x1c9)]['add'](_0x5cb948),this[_0x3b8932(0x242)]({'type':0x0,'memberID':this[_0x3b8932(0x3a5)],'unitIDs':[_0x5cb948],'isForwarded':!0x1});}[_0x1a58e5(0x17b)](_0x12fa77){const _0xfe222=_0x1a58e5;this[_0xfe222(0x1c9)][_0xfe222(0x182)](_0x12fa77),this['_selfUnitIDs'][_0xfe222(0x332)]===0x0&&this[_0xfe222(0x131)]&&window[_0xfe222(0x40f)](this['_heartbeatTimer']);}['_init'](){const _0x2819ea=_0x1a58e5;this['disposeWithMe']((0x0,_0x2b0173[_0x2819ea(0x399)])((0x0,_0xc05c0c[_0x2819ea(0x3dd)])(window,_0x2819ea(0x402))[_0x2819ea(0x224)](_0x41941b=>{const _0x477879=_0x2819ea;if(_0x41941b[_0x477879(0x2cd)]!==_0x10b693||!_0x41941b[_0x477879(0x25c)])return;let _0x5857f0=JSON['parse'](_0x41941b[_0x477879(0x25c)]);this[_0x477879(0x3fd)](_0x5857f0);}))),window[_0x2819ea(0x219)]('unload',()=>this[_0x2819ea(0x242)]({'type':0x1,'memberID':this[_0x2819ea(0x3a5)],'unitIDs':Array[_0x2819ea(0x2bb)](this[_0x2819ea(0x1c9)])}));}['_handleEvent'](_0x5cb023){const _0x53ac1f=_0x1a58e5;switch(_0x5cb023[_0x53ac1f(0x350)]){case 0x0:this['_handleJoinEvent'](_0x5cb023);break;case 0x1:this[_0x53ac1f(0x127)](_0x5cb023);break;case 0x2:this[_0x53ac1f(0x1ad)](_0x5cb023);break;}}[_0x1a58e5(0x3d1)](_0x22f4ef){const _0x495808=_0x1a58e5;let {unitIDs:_0x55c31f,memberID:_0x5bdc42,isForwarded:_0x855e19}=_0x22f4ef;_0x55c31f['forEach'](_0x4fca97=>{const _0x24e2eb=_0x7aae;if(!_0x855e19&&this[_0x24e2eb(0x2c7)][_0x24e2eb(0x2c2)](_0x4fca97)&&this[_0x24e2eb(0x1b1)](_0x4fca97)['next'](_0x35fa89[_0x24e2eb(0x3c4)][_0x24e2eb(0x16a)]),!this[_0x24e2eb(0x2c7)][_0x24e2eb(0x2c2)](_0x4fca97)||!this[_0x24e2eb(0x2c7)][_0x24e2eb(0x1db)](_0x4fca97)['has'](_0x5bdc42)){let _0x1ec68a=this[_0x24e2eb(0x2c7)][_0x24e2eb(0x1db)](_0x4fca97)||new Set();_0x1ec68a['add'](_0x5bdc42),this[_0x24e2eb(0x2c7)][_0x24e2eb(0x148)](_0x4fca97,_0x1ec68a),this[_0x24e2eb(0x337)](_0x5bdc42);}}),_0x855e19||this['_send']({'type':0x0,'memberID':this[_0x495808(0x3a5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1a58e5(0x337)](_0x327b0b){const _0x48cc8f=_0x1a58e5;this[_0x48cc8f(0x29e)](_0x327b0b);let _0x1f06a8=window[_0x48cc8f(0x3de)](()=>{const _0xf70d92=_0x48cc8f;this[_0xf70d92(0x2c7)][_0xf70d92(0xff)](_0x2e11c4=>{const _0x17283e=_0xf70d92;_0x2e11c4[_0x17283e(0x182)](_0x327b0b);});},_0x5bfddd*0x2);this['_clearOtherTimers'][_0x48cc8f(0x148)](_0x327b0b,_0x1f06a8);}[_0x1a58e5(0x29e)](_0xcdb2a2){const _0x507515=_0x1a58e5;if(this[_0x507515(0x2cb)][_0x507515(0x2c2)](_0xcdb2a2)){let _0x303682=this[_0x507515(0x2cb)][_0x507515(0x1db)](_0xcdb2a2);_0x303682&&window['clearTimeout'](_0x303682),this['_clearOtherTimers']['set'](_0xcdb2a2,null);}}[_0x1a58e5(0x127)](_0x4c6ef3){const _0x9cd4f4=_0x1a58e5;let {memberID:_0x209f45,unitIDs:_0x1743b1}=_0x4c6ef3;_0x1743b1[_0x9cd4f4(0xff)](_0x25359f=>{const _0xc751ab=_0x9cd4f4;var _0x3d8f0a;let _0x244ded=this[_0xc751ab(0x2c7)]['get'](_0x25359f);_0x244ded&&(_0x244ded['delete'](_0x209f45),(_0x3d8f0a=this[_0xc751ab(0x1b1)](_0x25359f))==null||_0x3d8f0a[_0xc751ab(0x3b0)](_0x244ded['size']===0x0?_0x35fa89[_0xc751ab(0x3c4)][_0xc751ab(0x3db)]:_0x35fa89[_0xc751ab(0x3c4)][_0xc751ab(0x16a)]));}),this[_0x9cd4f4(0x29e)](_0x209f45);}['_handleHeartbeatEvent'](_0x241f54){const _0x12c572=_0x1a58e5;this[_0x12c572(0x337)](_0x241f54[_0x12c572(0x3f6)]);}['_send'](_0x54513d){const _0x46cdf2=_0x1a58e5;localStorage[_0x46cdf2(0x344)](_0x10b693,JSON['stringify'](_0x54513d));}['_scheduleHeartbeat'](){const _0x411ae8=_0x1a58e5;this[_0x411ae8(0x131)]=window[_0x411ae8(0x34e)](()=>{const _0x18733c=_0x411ae8;this['_send']({'type':0x2,'memberID':this[_0x18733c(0x3a5)]});},_0x5bfddd);}['_ensureSubject'](_0x51a02f){const _0x4a4833=_0x1a58e5;return this[_0x4a4833(0x389)]['has'](_0x51a02f)||this[_0x4a4833(0x389)][_0x4a4833(0x148)](_0x51a02f,new _0xc05c0c[(_0x4a4833(0x334))](_0x35fa89['UnitStatus'][_0x4a4833(0x3db)])),this[_0x4a4833(0x389)][_0x4a4833(0x1db)](_0x51a02f);}};Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x400),{'enumerable':!0x0,'get':function(){return _0x37fffa;}}),Object['defineProperty'](_0x158154,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x1f1a4f;}}),_0x158154['IURLService']=_0x1ccd84,Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x18a),{'enumerable':!0x0,'get':function(){return _0x124024;}}),_0x158154[_0x1a58e5(0x214)]=_0x4e747a,Object[_0x1a58e5(0x2cf)](_0x158154,_0x1a58e5(0x354),{'enumerable':!0x0,'get':function(){return _0x24efbb;}}),_0x158154['WebBrowserSingleActiveUnitService']=_0x5a01e1;}));function _0x32c8(){const _0x374349=['useRef','_status$','getTypeOfUnitDisposed$','INotificationService','_collabCursorState$','_entities','DocSkeletonManagerService','OFFLINE','_removeClearOtherTimer','unit','ISocketService','IConfigService','_initDependencies','_labelPosition','_eventUnsubscribe','setConfig','_initResize','_scheduleSaving','getCurrentSelections','_shapes','collaboration-client-ui.collabStatus.synced','2423088YgsyaZ','_configService','SUCCESS','_onCursorUpdate','cursorInfo','startColumn','http://www.w3.org/2000/svg','_getFormulaLimitStatus','body','UPDATE_CURSOR','offsetY','_docTransformStateCacheService','Injector','_startSheetCollabCursor','@univerjs/design','clipPath','from','children','Loading','code','_sheetSkeletonManagerService','_highlightSecond','getConfig','has','default','getVpScrollXYInfoByPosToVp','_initUnhandledRejectionListener','resolve','_unitOnClients','roomMembers','asObservable','rxjs','_clearOtherTimers','collaboration-client-ui.formula.calculation.unable','key','beforeCommandExecuted','defineProperty','_checkCalculationAvailable','0\x200\x2016\x2016','React','LOCAL_CACHE_INTERVAL_KEY','COLORS','_commandService','currentTheme$','kind','saveTaskMap','origin','FromArray','_toggleOnline','registerComponent','Tooltip','#0B9EFB','\x20-\x20','with','addObjects','getBoardElementRenderObjectKey','_disabled','SetTextSelectionsOperation','replace','SetFormulaCalculationStartMutation','#FFF','_checkAndWaitForCalculationPermission','_memberID','useDependency','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fill','M0\x200H16V16H0z','SetWorksheetActivateCommand','colorClass','Vector2','univer-m-0\x20univer-p-0','spin','MoveRangeCommandId','state$','exports','lineno','_localStorageService','displayName','height','evenodd','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','range','_hasFormulaInDirtyRanges','_updateSubUnitFromURLParams','MessageType','defs','Success','react','_assignedColors','save','enableLocalCache','_drawTextRange','_colorIndex','_registerDependencies','_range','getStateCache','startRow','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','transformByState','values','Warning','switchMap','_boardElementStateService','_localCacheService','UNIVER_DOC','status','CollaborationStatus','collaboration-client-ui.collaboration.offline-data-not-saved','setShapeProps','version','CanceledError','UniverRpc','string','IUniverInstanceService','runId','_cachedData','restore','_initEvent','message','collab-text-anchor-','RxDisposable','mergeOverrideWithDependencies','univer-text-blue-500','HTTPService','univer-h-8\x20univer-w-8\x20univer-rounded-lg','urlChange$','updateOfflineData','UniverUi','IMessageService','clsx','popstate','IRenderManagerService','toISOString','_collabSessionService','toPrimitive','size','theme$','BehaviorSubject','some','_offsetY','_scheduleClearOtherTimer','editingUnit','min','pageManager','angle','now','\x20at\x20','_cursorInfo$','white','serializeRangeWithSheet','endColumn','distinctUntilChanged','_releaseCalculationLimit','setItem','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','flatMap','operators','red.300','isActive','right','collab-text-range-','UniverProCollaborationClient','handleIRemoveCol','setInterval','dispose','type','subscribeEvent','@univerjs/engine-render','LOCAL_CACHE_INTERVAL','UniverCollaborationClientUIPlugin','_beforeCloseService','_context','bold\x2013px\x20Arial,\x20sans-serif','transformMutationsWithChangeset','_getSheetObject','collaboration-client-ui.conflict.content','closePath','getValue','RegularPolygon','_removeCollabCursors','getUnhiddenWorksheets','_startBlinking','object','@univerjs/ui','_draw','getCoordByCell','slide-element-selection','redoState','roomMembers$','onStarting','_revisionService','_getSceneObjectByKey','application/json','focusedId','getUnitId','jsx','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','reconnect','length','releaseFormulaLimitUrl','idSuffix','pluginName','transform','HEADER_MENU','BuiltInUIPart','all','fromEventSubject','executeCommand','doc.mutation.rich-text-editing','removeParam','CONFLICT','bottom','AWAITING','_cursorShapes','width','/universer-api/license/formula/limit/status','DependentOn','exhaustSavingTask','board-element-selection','USERS_LEAVE','post','setLineDash','_unitStatus','univer-text-orange-500','getCurrentTypeOfUnit$','random','_showGuardMessage','indicator','none','current','getCurrentSkeleton','DisposableCollection','SheetSkeletonManagerService','handleDeleteRangeMoveLeft','DocStateChangeManagerService','handleDeleteRangeMoveUp','_urlService','_monkeyPatchLogService','toDisposable','_hovered','_refreshCollabCursors','includes','getOffsetConfig','_startDocCollabCursor','_messageService','unitID','isTransformMutationFailure','function','_getMergeRange','...','_id','symbol','max','getMember','_currentUsage','_transformService','getCollabCursors$','VIEW_MAIN','useCallback','findNodePositionByCharIndex','_maxFormulaLimit','next','_drawAnchor','1em','NOT_COLLAB','_scheduleRender','_lastPointer','collaboration-client-ui.formula.calculation.waiting','highlightSecond','684gKZhYj','saveOfflineData','removeObjects','_taskIds','isArray','reason','0.2)','BOARD_TOP_RIGHT_MENU_LEADING_PART','colno','@univerjs/network','MemberService','on-line-icon_clip0_910_349','UnitStatus','_render','ticket','getMergeData','selectedIds','cursorInfo$','registerRefRange','6RDBTvc','getRangePointData','error','clear','toRgbString','@univerjs/protocol','_handleJoinEvent','_initUserListener','ONLINE','toString','name','_logService','Unknown\x20user','data','bind','collaboration-client-ui.collabClient.tooltip.reconnect','NO_OTHER_CLIENTS_EDITING','getSheetId','fromEvent','setTimeout','CollaborationEvent','CollaborationController','lineWidth','strokeStyle','find','Subject','_univerInstanceService','lineTo','buildDrawingOKey','_stopBlinking','@univerjs-pro/collaboration','getObjectIncludeInGroup','connectInjector','split','stage','getFormulaLimitStatusUrl','createInstance','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','join','event$','_showText','UniverDesign','_roomMembers$','memberID','ColorKit','UniverSheets','totalFormulasToCalculate','strokeWidth','params','OnLineIcon','_handleEvent','contains','univerjs-icon\x20univerjs-icon-','BrowserCollaborationSocketService','getColorFromTheme','storage','deepClone','_initStatusComponent','url(#off-line-icon_clip0_910_343)','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_anchorDot','svg','filter','_labelHorizontalPosition','_onRefRangeChange',',\x200.2)','_docSkeletonManagerService','_cursor','clearInterval','getParam','collaboration-client-ui.formula.calculation.started','_injector','FETCH_MISS','use','EffectRefRangId','_startSlideCollabCursor','transformRemoteChangeset','forEach','/universer-api/license/formula/limit/start','@univerjs-pro/boards-ui','UniverInstanceType','_themeService','UNIVER_SHEET','runOnServer','toStringTag','_registerRenderDependencies','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','enableDocumentCollaborationUI','_document','_renderScheduled','merge','_applyCommand','add','unshift','collaboration-client-ui.config','AWAITING_WITH_PENDING','rgba(255,\x20255,\x20255,\x200.01)','ErrorCode','[CollaborationDataLoaderController]','icon','getUnitStatus$','_refRangeService','univer-inline-flex\x20univer-items-center\x20univer-justify-center','disposeWithMe','loadOfflineData','UniverProCollaboration','button','_hover','collaboration-client-ui.collabStatus.syncing','410898xNIGLv','defIds','Rectangle','CollaborationSessionService','loadUnit','_docStateChangeManagerService','m1Prime','UniverProCollaborationClientUi','_handleLeaveEvent','ILocalCacheService','sessionTicket','isTransformMutationsWithChangesetSuccess','clearTimeout','then','getRealBound','_handleHover','isFormulaId','_initStatusListener','_heartbeatTimer','top','_textBubble','getUndoRedoMutationParamsCache','_localeService','SHEET_VIEWPORT_KEY','_startCalculationLimit','activeSheet$','collaboration-client-ui.session.connection-failed','touchDependencies','_hideTimer','@univerjs-pro/slides-ui',':backup:','DOC_RANGE_TYPE','_scene','PERMISSION_DENIED','Rect','_setFormulaLimitStatus','_anchor','CollaborationSocketService','init','SUBMIT_CHANGESET_TIMEOUT','highlight','set','subUnitId','univer-text-gray-400','NodePositionConvertToCursor','Error','makeDirty','syncEditingCollabCursor','LoadingMultiIcon','transformIMECache','_updateCollabCursors','_getObjectBounds','Disposable','pipe','@univerjs/docs-ui','getTypeOfUnitAdded$','onCommandExecuted','onTransformChange$','ISnapshotServerService','href','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','rgba','stageInfo','DeleteRangeMoveUpCommandId','removeObject','drawWith','1804uVChBY','sheetID','getCurrentUnitOfType','source','DocIMEInputManagerService','backgroundColor','InsertColCommandId','sessionStatus$','_online','OTHER_CLIENTS_EDITING','url(#$1','registerBeforeClose','_collaborationSessionService','round','_isApplyingOverlays','getRenderById','mask','pushState','deserializeRangeWithSheet','text','UNIVER_SLIDE','_instanceService','saveImage','_dataLoaderService','Failed','1384185COFcID','disposeUnit','createSocket','enableFrontendLog','56vYqBGQ','debug','ISlideDrawingStateService','collaboration-client-ui.collabStatus.conflict','delete','4280HmpbMs','setAlpha','createElement','debounce','_clearPolling','focused$','loading-multi-icon','RemoteUniscriptService','collaboration-client-ui.collabStatus.offline','_lastResponseTimestamp','RichTextEditingMutation','currentSkeleton$','unhandledrejection','send','_collaborationController','getMemberID','109913sKbNgw','_highlight','dispose$','DocSelectionManagerService','collaboration-client-ui.collaboration.single-unit.warning','@univerjs/docs','useMemo','InsertRowCommandId','CLOSE_ROOM','shift','getCollabEntity$','[Unhandled\x20Rejection]:\x20','collaboration-client-ui.collabStatus.notCollab','_onCursorDelete','beginPath','_config','collab-rect-range-','RevisionService','m2Prime','257215yjlSPL','_backgroundColor','stack','getId','IImageIoService','collaboration-client-ui.collabStatus.fetchMiss','textRanges','_handleHeartbeatEvent','whenReady','runRefRangeMutations','executionId','_ensureSubject','SYNCED','_updateURLWithCurrentState','getObject','_uploadLog','ThemeService','_transformPreviousActiveRange','_getSessionTicket','generateRandomId','isInternalEditorID','startFormulaLimitUrl','font','univer-flex\x20univer-items-center\x20univer-justify-center','_startBoardCollabCursor','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','complete','xlink:href','forwardRef','labelPosition','green.600','getActivePageId','IBeforeCloseService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_color','_selfUnitIDs','purple.300','onPointerEnter$','@univerjs-pro/collaboration-client','_colorAssignService','combineLatest','throttleTime','[LogService\x20Error]:\x20','takeUntil','Shape','dirtyRanges','yellow.400','getCellPositionByOffset','TEXT_RANGE_LAYER_INDEX','getColor','_saveCache','CollaborationUIEventId','hovered','get','Workbook','hide','_saveTaskMap','constructor','_doCreateSocket','_imageIoService','color','_pointerMoveDisposable','_getSaveTimeout','tooltipKey','black','left','onPointerLeave$','UniverSheetsUi','startsWith','getAncestorScale','_init','maxFormulaLimit','collabCursorState$','_blinkTimer','slice','_renderManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','row','_name','_latestCursors','tag','FormulaExecutedStateType','univer-text-red-500','@univerjs/sheets','getSheetObject','substring','_blinkIntervalTimer','entries','amd','_pollingInterval','rgba(','getCurrentRevOfUnit','ICommandService','subunit','IRemoteInstanceService','SOCKET_FAILED','_toggleOffline','colorChannel1','assign','span','evented','UniverProBoardsUi','getSheetBySheetId','getActiveSheet','/run/','Tools','arc','search','_initEntityListener','call','SheetCollabCursorShape','getFocusedUnit','/universer-api/license/formula/limit/done','UNIVER_BOARD','measureText','addEventListener','_syncEditingCollabCursorService','resize','i18nKey','fillStyle','addObject','_initCommandInterceptor','_uiPartsService','_initWindowErrorListener','registerDependencies','packageName','subscribe','WebSocketService','_cursors','limitInfo','fillText','registerRenderModule','useObservable','invokeId','univer-appearance-none','transformMutation','removeEventListener','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','map','eventID','setOffsetY','true','Module','_getAnchorBounding','setUndoRedoMutationParamsCache','ranges','SOCKET_FAILED_RETRY','path','parseInt','_docTransformIMECacheService','showText','_isBlinkVisible','_collabCursorController','board-collab-cursor-','result','clickable','_send','polite','_transformUndoRedoStack','TEXT','_entityInit$','Inject','backupOfflineData','stringify','SetSelectionsOperation','_memberService','column','debounceTime','IDocClipboardService','sheetId','context','_docTransformSelectionsService','handleMoveRange','_transformHistoryAndStateStack','?taskId=','_httpService','UniverCollaborationClientPlugin','rgb','scene','collaboration-client-ui.permission.title','_notificationService','SetFormulaCalculationNotificationMutation','newValue','off-line-icon_clip0_910_343','ILogService','LocaleService','_getScale','onMouseMove','47570KEYzXf','assignAColorForMemberID','mutations','show','[Window\x20Error]:\x20','requireSession','unitId','CollaborationUIEventService','collaboration-client-ui.session.collaboration-timeout','_session','UniverProSlidesUi','_createSocketURL','UniverDocsUi','parse','url(#on-line-icon_clip0_910_349)','handleInsertRow','selection','getLocalCacheKey','triggerDblclick','_docClipboardService','_docSyncEditingCollabCursorService','getCellMatrix','getSnapshot','static','unsubscribe','stroke','history','wsSessionTicketUrl','attrs','currentColor','UniverEngineRender','univer-border-none\x20univer-bg-transparent','imageSourceType','pulse','Enter','push','location','Optional','setParam','transformSelections','getUniverSheetInstance','ITransformService','searchParams','getSkeleton','_drawRectRange','decorate','strokeRect','/universer-api/frontend/logs','_initCommandExecutedListener','addObject$','_updateLocalCursor','IBoardElementStateService'];_0x32c8=function(){return _0x374349;};return _0x32c8();}