@univerjs-pro/collaboration-client-ui 0.13.0-insiders.20251220-0a5ea4d → 0.13.0-insiders.20251223-857805c

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 (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x4d6c64,_0x7aac3d){const _0x54fd06=_0x4e18,_0x2b454c=_0x4d6c64();while(!![]){try{const _0x1dfa62=parseInt(_0x54fd06(0x254))/0x1*(-parseInt(_0x54fd06(0x44e))/0x2)+-parseInt(_0x54fd06(0x1c6))/0x3*(-parseInt(_0x54fd06(0x190))/0x4)+parseInt(_0x54fd06(0x298))/0x5+parseInt(_0x54fd06(0x22d))/0x6*(-parseInt(_0x54fd06(0x305))/0x7)+parseInt(_0x54fd06(0x36e))/0x8+-parseInt(_0x54fd06(0x295))/0x9*(parseInt(_0x54fd06(0x27d))/0xa)+-parseInt(_0x54fd06(0x21f))/0xb*(-parseInt(_0x54fd06(0x44f))/0xc);if(_0x1dfa62===_0x7aac3d)break;else _0x2b454c['push'](_0x2b454c['shift']());}catch(_0x41ad4c){_0x2b454c['push'](_0x2b454c['shift']());}}}(_0x1184,0xe258f),function(_0x2735e7,_0x5f3a06){const _0x100b9c=_0x4e18;typeof exports==_0x100b9c(0x2c5)&&typeof module<'u'?_0x5f3a06(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x100b9c(0x2d3)&&define['amd']?define([_0x100b9c(0x36a),_0x100b9c(0x435),_0x100b9c(0x3bf),_0x100b9c(0x32f),'@univerjs/ui',_0x100b9c(0x235),_0x100b9c(0x1a7),_0x100b9c(0x219),'@univerjs/rpc','@univerjs/sheets',_0x100b9c(0x29c),_0x100b9c(0x42c),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x100b9c(0x1b4),_0x100b9c(0x2b8),_0x100b9c(0x203),_0x100b9c(0x271)],_0x5f3a06):(_0x2735e7=typeof globalThis<'u'?globalThis:_0x2735e7||self,_0x5f3a06(_0x2735e7[_0x100b9c(0x256)]={},_0x2735e7['React'],_0x2735e7[_0x100b9c(0x250)],_0x2735e7[_0x100b9c(0x196)],_0x2735e7[_0x100b9c(0x369)],_0x2735e7[_0x100b9c(0x235)],_0x2735e7['UniverDesign'],_0x2735e7[_0x100b9c(0x42f)],_0x2735e7[_0x100b9c(0x3dd)],_0x2735e7[_0x100b9c(0x444)],_0x2735e7['UniverEngineRender'],_0x2735e7['UniverNetwork'],_0x2735e7['UniverDocsUi'],_0x2735e7[_0x100b9c(0x375)],_0x2735e7[_0x100b9c(0x20f)],_0x2735e7['UniverDocs'],_0x2735e7[_0x100b9c(0x45e)],_0x2735e7[_0x100b9c(0x235)][_0x100b9c(0x297)],_0x2735e7[_0x100b9c(0x37e)]));}(this,function(_0x3e0575,_0xc2d37a,_0x4d5f16,_0x1ca8c6,_0x535318,_0x3b6b5a,_0x5cbfd3,_0xa85357,_0x31931b,_0x5a44c7,_0x28adc3,_0x89ff74,_0x15e0d1,_0xc786dd,_0x598d32,_0x449e95,_0x4f0b9d,_0x3d6951,_0x5436e7){'use strict';const _0x1b1e14=_0x4e18;var _0x15dbc0=Object['defineProperty'],_0x1833cb=(_0x2f3e1f,_0x637e57,_0x497d4e)=>_0x637e57 in _0x2f3e1f?_0x15dbc0(_0x2f3e1f,_0x637e57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497d4e}):_0x2f3e1f[_0x637e57]=_0x497d4e,_0x215ae7=(_0x3f3123,_0x59b448,_0x4faac6)=>_0x1833cb(_0x3f3123,typeof _0x59b448!=_0x1b1e14(0x3b2)?_0x59b448+'':_0x59b448,_0x4faac6);function _0x5b1c89({ref:_0x3a7d34,..._0x1fbc30}){const _0x3977c4=_0x1b1e14,{icon:_0x3e90fb,id:_0x3f7c54,className:_0x357599,extend:_0x36fb29,..._0x36c195}=_0x1fbc30,_0x2df372=('univerjs-icon\x20univerjs-icon-'+_0x3f7c54+'\x20'+(_0x357599||''))[_0x3977c4(0x46c)](),_0x50169c=_0xa85357['useRef']('_'+_0x33b464());return _0x2b56c7(_0x3e90fb,''+_0x3f7c54,{'defIds':_0x3e90fb[_0x3977c4(0x45b)],'idSuffix':_0x50169c[_0x3977c4(0x3c8)]},{'ref':_0x3a7d34,'className':_0x2df372,..._0x36c195},_0x36fb29);}function _0x2b56c7(_0x45910d,_0x4c5517,_0x2fecc0,_0x39d5d8,_0x3ec5ce){const _0x1f5239=_0x1b1e14;return _0xa85357[_0x1f5239(0x34a)](_0x45910d[_0x1f5239(0x25e)],{'key':_0x4c5517,..._0x56a0e7(_0x45910d,_0x2fecc0,_0x3ec5ce),..._0x39d5d8},(_0xf5c93e(_0x45910d,_0x2fecc0)[_0x1f5239(0x29e)]||[])[_0x1f5239(0x42a)]((_0x3f92a0,_0x334f4e)=>_0x2b56c7(_0x3f92a0,_0x4c5517+'-'+_0x45910d[_0x1f5239(0x25e)]+'-'+_0x334f4e,_0x2fecc0,void 0x0,_0x3ec5ce)));}function _0x56a0e7(_0x18ffc5,_0x3df4c1,_0x324d56){const _0x52c86e=_0x1b1e14,_0x1f1da7={..._0x18ffc5[_0x52c86e(0x423)]};_0x324d56!=null&&_0x324d56[_0x52c86e(0x3a8)]&&_0x1f1da7['fill']===_0x52c86e(0x3a8)&&(_0x1f1da7[_0x52c86e(0x1dc)]=_0x324d56[_0x52c86e(0x3a8)]),_0x18ffc5['tag']===_0x52c86e(0x377)&&_0x1f1da7['id']&&(_0x1f1da7['id']=_0x1f1da7['id']+_0x3df4c1[_0x52c86e(0x286)]),Object[_0x52c86e(0x450)](_0x1f1da7)[_0x52c86e(0x459)](([_0x12655c,_0x819325])=>{const _0xb1a07c=_0x52c86e;_0x12655c===_0xb1a07c(0x377)&&typeof _0x819325==_0xb1a07c(0x3a0)&&(_0x1f1da7[_0x12655c]=_0x819325[_0xb1a07c(0x42e)](/url\(#(.*)\)/,_0xb1a07c(0x23a)+_0x3df4c1['idSuffix']+')'));});const {defIds:_0x44af92}=_0x3df4c1;return!_0x44af92||_0x44af92['length']===0x0||(_0x18ffc5[_0x52c86e(0x25e)]===_0x52c86e(0x3c9)&&_0x1f1da7[_0x52c86e(0x40e)]&&(_0x1f1da7[_0x52c86e(0x40e)]=_0x1f1da7[_0x52c86e(0x40e)]+_0x3df4c1[_0x52c86e(0x286)]),Object[_0x52c86e(0x450)](_0x1f1da7)['forEach'](([_0x4625de,_0x6c3ef5])=>{const _0x3983ae=_0x52c86e;typeof _0x6c3ef5==_0x3983ae(0x3a0)&&(_0x1f1da7[_0x4625de]=_0x6c3ef5[_0x3983ae(0x42e)](/url\(#(.*)\)/,_0x3983ae(0x23a)+_0x3df4c1[_0x3983ae(0x286)]+')'));})),_0x1f1da7;}function _0xf5c93e(_0x1c2afa,_0x5cd38b){const _0x305296=_0x1b1e14;var _0x56cf2c;const {defIds:_0x151a0d}=_0x5cd38b;return!_0x151a0d||_0x151a0d[_0x305296(0x300)]===0x0?_0x1c2afa:_0x1c2afa[_0x305296(0x25e)]===_0x305296(0x3d0)&&((_0x56cf2c=_0x1c2afa[_0x305296(0x29e)])!=null&&_0x56cf2c['length'])?{..._0x1c2afa,'children':_0x1c2afa[_0x305296(0x29e)][_0x305296(0x42a)](_0xbb7889=>typeof _0xbb7889['attrs']['id']==_0x305296(0x3a0)&&_0x151a0d&&_0x151a0d['includes'](_0xbb7889[_0x305296(0x423)]['id'])?{..._0xbb7889,'attrs':{..._0xbb7889[_0x305296(0x423)],'id':_0xbb7889[_0x305296(0x423)]['id']+_0x5cd38b[_0x305296(0x286)]}}:_0xbb7889)}:_0x1c2afa;}function _0x33b464(){const _0x4cc9af=_0x1b1e14;return Math[_0x4cc9af(0x214)]()['toString'](0x24)[_0x4cc9af(0x391)](0x2,0x8);}_0x5b1c89['displayName']=_0x1b1e14(0x2e0);const _0x226ee3={'tag':_0x1b1e14(0x3a2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b1e14(0x392),'viewBox':_0x1b1e14(0x193),'width':_0x1b1e14(0x428),'height':_0x1b1e14(0x428)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1b1e14(0x38d),'attrs':{'stroke':'currentColor','d':_0x1b1e14(0x24f),'strokeLinecap':_0x1b1e14(0x2a1),'strokeLinejoin':_0x1b1e14(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x1b1e14(0x3d0),'attrs':{},'children':[{'tag':_0x1b1e14(0x2d1),'attrs':{'id':_0x1b1e14(0x3c6)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1b1e14(0x189)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x66faef=_0xa85357[_0x1b1e14(0x32c)](function(_0x2e801d,_0xb95bea){const _0x443cd8=_0x1b1e14;return _0xa85357[_0x443cd8(0x34a)](_0x5b1c89,Object[_0x443cd8(0x1f0)]({},_0x2e801d,{'id':_0x443cd8(0x39a),'ref':_0xb95bea,'icon':_0x226ee3}));});_0x66faef['displayName']=_0x1b1e14(0x3ad);const _0x55d447={'tag':'svg','attrs':{'xmlns':_0x1b1e14(0x44d),'fill':_0x1b1e14(0x392),'viewBox':_0x1b1e14(0x1fd),'width':_0x1b1e14(0x428),'height':_0x1b1e14(0x428)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1b1e14(0x332),'d':_0x1b1e14(0x2b6),'strokeLinecap':_0x1b1e14(0x2a1),'strokeLinejoin':_0x1b1e14(0x2a1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b1e14(0x2d1),'attrs':{'id':_0x1b1e14(0x34c)},'children':[{'tag':_0x1b1e14(0x38d),'attrs':{'fill':'white','d':_0x1b1e14(0x189),'transform':_0x1b1e14(0x3a5)}}]}]}],'defIds':[_0x1b1e14(0x34c)]},_0x5717fc=_0xa85357[_0x1b1e14(0x32c)](function(_0xfed718,_0x275480){const _0x97423e=_0x1b1e14;return _0xa85357[_0x97423e(0x34a)](_0x5b1c89,Object[_0x97423e(0x1f0)]({},_0xfed718,{'id':_0x97423e(0x1c7),'ref':_0x275480,'icon':_0x55d447}));});_0x5717fc['displayName']=_0x1b1e14(0x27a);function _0x2ba689(_0x1d4bca){const _0x52173b=_0x1b1e14;switch(_0x1d4bca){case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x197)]:return _0x52173b(0x3be);case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x2c6)]:return'collabStatus.conflict';case _0x4d5f16['CollaborationStatus']['FETCH_MISS']:return _0x52173b(0x2d8);case _0x4d5f16[_0x52173b(0x437)]['NOT_COLLAB']:return _0x52173b(0x422);case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x326)]:case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x2bb)]:return'collabStatus.syncing';case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x3b6)]:case _0x4d5f16[_0x52173b(0x437)]['PENDING']:return _0x52173b(0x3e8);}}function _0x4beadc(_0xff0131){const _0x278eda=_0x1b1e14,{status$:_0x1329f9}=_0xff0131,_0x1d7823=_0x535318['useObservable'](_0x1329f9,_0x4d5f16[_0x278eda(0x437)]['NOT_COLLAB']),_0x1f8c40=_0x535318[_0x278eda(0x3c0)](_0x1ca8c6[_0x278eda(0x3fa)]),_0x2f7200=_0x535318[_0x278eda(0x3c0)](_0x4d5f16['CollaborationSessionService']),_0xf645d0=_0x1d7823!==_0x4d5f16['CollaborationStatus'][_0x278eda(0x197)],_0x4bedb6=_0x1f8c40['t'](_0x2ba689(_0x1d7823)),_0x160aff=_0xf645d0?_0xc2d37a['jsx'](_0x5717fc,{}):_0xc2d37a['jsx'](_0x66faef,{}),_0x3a42b9=_0xa85357[_0x278eda(0x279)](()=>{const _0x27d08b=_0x278eda;_0xf645d0||_0x2f7200[_0x27d08b(0x296)]();},[_0xf645d0,_0x2f7200]);function _0x44f5f5(){const _0xd1cf2b=_0x278eda;return _0xc2d37a[_0xd1cf2b(0x229)](_0xd1cf2b(0x424),{'className':_0xd1cf2b(0x1fb),'onClick':_0x3a42b9,'children':[_0xc2d37a[_0xd1cf2b(0x230)](_0xd1cf2b(0x424),{'className':_0x5cbfd3[_0xd1cf2b(0x371)](_0xd1cf2b(0x21d),{'univer-text-green-500':_0xf645d0,'univer-text-red-500':!_0xf645d0}),'children':_0x160aff}),_0xc2d37a[_0xd1cf2b(0x230)](_0xd1cf2b(0x424),{'className':_0xd1cf2b(0x2b2),'children':_0x4bedb6})]});}return _0xf645d0?_0x44f5f5():_0xc2d37a['jsx'](_0x5cbfd3['Tooltip'],{'title':_0x1f8c40['t']('collab-client.tooltip.reconnect'),'children':_0x44f5f5()});}var _0x44b00a=Object[_0x1b1e14(0x1ce)],_0x5417fe=(_0x17e4bf,_0x715fbe,_0x41fb5,_0x57bc8a)=>{for(var _0x1614d0=_0x57bc8a>0x1?void 0x0:_0x57bc8a?_0x44b00a(_0x715fbe,_0x41fb5):_0x715fbe,_0x57d49b=_0x17e4bf['length']-0x1,_0x2bdf8f;_0x57d49b>=0x0;_0x57d49b--)(_0x2bdf8f=_0x17e4bf[_0x57d49b])&&(_0x1614d0=_0x2bdf8f(_0x1614d0)||_0x1614d0);return _0x1614d0;},_0x4ac72a=(_0x1f61ef,_0x49fc65)=>(_0x35c062,_0x3a28f9)=>_0x49fc65(_0x35c062,_0x3a28f9,_0x1f61ef);_0x3e0575[_0x1b1e14(0x413)]=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x41bf5a,_0x589220,_0x4eac14,_0x1e9667){const _0x4a547e=_0x1b1e14;super(),_0x215ae7(this,'_status$',new _0x3b6b5a[(_0x4a547e(0x1b1))](_0x4d5f16['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x41bf5a,this[_0x4a547e(0x28c)]=_0x589220,this[_0x4a547e(0x44a)]=_0x4eac14,this[_0x4a547e(0x404)]=_0x1e9667,this[_0x4a547e(0x320)](),this[_0x4a547e(0x3a7)]());}[_0x1b1e14(0x3a7)](){const _0x17a069=_0x1b1e14;this[_0x17a069(0x215)](this[_0x17a069(0x23d)]['focused$']['pipe'](_0x3b6b5a[_0x17a069(0x185)](()=>{const _0x106092=_0x17a069,_0x569a79=this['_univerInstanceService'][_0x106092(0x282)]();return _0x569a79?this['_collaborationController']['getCollabEntity$'](_0x569a79[_0x106092(0x212)]()):_0x3b6b5a['of'](null);}),_0x3b6b5a['switchMap'](_0x1e0b6a=>_0x1e0b6a?_0x1e0b6a['status$']:_0x3b6b5a['of'](_0x4d5f16[_0x17a069(0x437)][_0x17a069(0x331)])))[_0x17a069(0x3b9)](_0x306da8=>{const _0x593164=_0x17a069;this[_0x593164(0x340)]['next'](_0x306da8);}));}['_initStatusComponent'](){const _0x3020bc=_0x1b1e14;this[_0x3020bc(0x215)](this[_0x3020bc(0x404)]['registerComponent'](_0x535318['BuiltInUIPart'][_0x3020bc(0x38b)],()=>_0x535318['connectInjector'](_0x16519e({'status$':this[_0x3020bc(0x340)][_0x3020bc(0x41a)]()}),this[_0x3020bc(0x28c)])));}},_0x3e0575['DesktopCollaborationStatusDisplayController']=_0x5417fe([_0x4ac72a(0x0,_0x1ca8c6['IUniverInstanceService']),_0x4ac72a(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x4ac72a(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2f5)])),_0x4ac72a(0x3,_0x535318[_0x1b1e14(0x45d)])],_0x3e0575['DesktopCollaborationStatusDisplayController']);function _0x16519e(_0x1b7734){const {status$:_0xd2575a}=_0x1b7734;return function(){const _0xd84626=_0x4e18;return _0xc2d37a[_0xd84626(0x230)](_0x4beadc,{'status$':_0xd2575a});};}const _0x4af2ba=_0x1ca8c6['createIdentifier'](_0x1b1e14(0x2e5));var _0x4c69b0=Object[_0x1b1e14(0x1ce)],_0x985034=(_0x84e65a,_0x120b32,_0x449f5a,_0x2ed8ef)=>{const _0x2dc9ba=_0x1b1e14;for(var _0x2b58ba=_0x2ed8ef>0x1?void 0x0:_0x2ed8ef?_0x4c69b0(_0x120b32,_0x449f5a):_0x120b32,_0x2b185a=_0x84e65a[_0x2dc9ba(0x300)]-0x1,_0x1ca8ef;_0x2b185a>=0x0;_0x2b185a--)(_0x1ca8ef=_0x84e65a[_0x2b185a])&&(_0x2b58ba=_0x1ca8ef(_0x2b58ba)||_0x2b58ba);return _0x2b58ba;},_0x3c20e5=(_0xc62c7d,_0x482dc5)=>(_0x90812e,_0x4f006c)=>_0x482dc5(_0x90812e,_0x4f006c,_0xc62c7d);_0x3e0575['CollaborationDataLoaderController']=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xa4c9cf,_0xbf26e4,_0x30475e,_0x1eb89d,_0x6c7346){const _0x508fc6=_0x1b1e14;super(),this['_urlService']=_0xa4c9cf,this[_0x508fc6(0x3e0)]=_0xbf26e4,this['_commandService']=_0x30475e,this[_0x508fc6(0x3fd)]=_0x1eb89d,_0x6c7346?_0x6c7346==null||_0x6c7346[_0x508fc6(0x3b0)]()['then'](()=>this[_0x508fc6(0x2f4)]()):(this[_0x508fc6(0x3e0)]['debug'](_0x508fc6(0x205),_0x508fc6(0x3a3)),this[_0x508fc6(0x2f4)]());}async['_init'](){const _0x1f107f=_0x1b1e14,_0x446af3=this[_0x1f107f(0x451)][_0x1f107f(0x1ac)](_0x1f107f(0x3db)),_0x5e2824=this[_0x1f107f(0x451)][_0x1f107f(0x1ac)]('type'),_0x24a0f9=this[_0x1f107f(0x451)]['getParam'](_0x1f107f(0x362));if(!_0x446af3||!_0x5e2824){this[_0x1f107f(0x3e0)][_0x1f107f(0x213)](_0x1f107f(0x205),_0x1f107f(0x2e3));return;}const _0x344f6b=await this['_dataLoaderService']['loadUnit'](_0x446af3,Number(_0x5e2824),_0x24a0f9);_0x344f6b&&_0x344f6b instanceof _0x1ca8c6['Workbook']&&this[_0x1f107f(0x46d)](_0x344f6b);}async['_setupSubUnitSync'](_0xda9c51){const _0x193c92=_0x1b1e14;await this[_0x193c92(0x18d)](_0xda9c51),_0xda9c51[_0x193c92(0x1be)][_0x193c92(0x22a)](_0x3b6b5a[_0x193c92(0x264)](this[_0x193c92(0x31c)]))[_0x193c92(0x3b9)](_0x22d991=>{const _0x34b24f=_0x193c92;_0x22d991&&this[_0x34b24f(0x1d5)](_0x22d991);}),this['_urlService'][_0x193c92(0x290)][_0x193c92(0x22a)](_0x3b6b5a[_0x193c92(0x264)](this[_0x193c92(0x31c)]))[_0x193c92(0x3b9)](()=>this[_0x193c92(0x18d)](_0xda9c51));}[_0x1b1e14(0x1d5)](_0x24570a,_0x5e440e=!0x1){const _0xf3e8c8=_0x1b1e14,_0x341d03=this[_0xf3e8c8(0x451)]['getParam'](_0xf3e8c8(0x362));_0x24570a[_0xf3e8c8(0x321)]()!==_0x341d03&&this[_0xf3e8c8(0x451)]['setParam']('subunit',_0x24570a['getSheetId'](),_0x5e440e);}async[_0x1b1e14(0x18d)](_0x1bf7c0){const _0x44c890=_0x1b1e14;var _0x410da9;const _0x961576=this[_0x44c890(0x451)]['getParam'](_0x44c890(0x362));if(!_0x961576||!_0x1bf7c0['getSheetBySheetId'](_0x961576)){const _0x2caca6=_0x1bf7c0[_0x44c890(0x1de)]()[0x0],_0xda4fe3=_0x1bf7c0[_0x44c890(0x46b)](_0x2caca6);if(!_0xda4fe3)return;this[_0x44c890(0x1d5)](_0xda4fe3,!0x0),await this[_0x44c890(0x3fb)][_0x44c890(0x2c2)](_0x5a44c7[_0x44c890(0x2a3)]['id'],{'unitId':_0x1bf7c0[_0x44c890(0x212)](),'subUnitId':_0x2caca6});return;}((_0x410da9=_0x1bf7c0[_0x44c890(0x2e6)]())==null?void 0x0:_0x410da9['getSheetId']())!==_0x961576&&await this[_0x44c890(0x3fb)][_0x44c890(0x2c2)](_0x5a44c7['SetWorksheetActivateCommand']['id'],{'unitId':_0x1bf7c0[_0x44c890(0x212)](),'subUnitId':_0x961576});}},_0x3e0575[_0x1b1e14(0x2ab)]=_0x985034([_0x3c20e5(0x0,_0x4af2ba),_0x3c20e5(0x1,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3c20e5(0x2,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x3c20e5(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x275)])),_0x3c20e5(0x4,_0x1ca8c6[_0x1b1e14(0x2db)](_0x31931b[_0x1b1e14(0x2c1)]))],_0x3e0575[_0x1b1e14(0x2ab)]);var _0x496cfa=Object[_0x1b1e14(0x1ce)],_0x5bc29d=(_0x3beed1,_0x56d1d3,_0x340c00,_0x24242b)=>{const _0x116bd9=_0x1b1e14;for(var _0x310167=_0x24242b>0x1?void 0x0:_0x24242b?_0x496cfa(_0x56d1d3,_0x340c00):_0x56d1d3,_0x1738c4=_0x3beed1[_0x116bd9(0x300)]-0x1,_0x165ed9;_0x1738c4>=0x0;_0x1738c4--)(_0x165ed9=_0x3beed1[_0x1738c4])&&(_0x310167=_0x165ed9(_0x310167)||_0x310167);return _0x310167;},_0x3edb1f=(_0x13ffec,_0x3a45ce)=>(_0x5971ec,_0x530082)=>_0x3a45ce(_0x5971ec,_0x530082,_0x13ffec);let _0x447eea=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x1edd1f,_0x2ea2f2){const _0x414aae=_0x1b1e14;super(),this['_docClipboardService']=_0x1edd1f,this[_0x414aae(0x1f5)]=_0x2ea2f2,this[_0x414aae(0x2f4)]();}[_0x1b1e14(0x2f4)](){const _0x4ab98f=_0x1b1e14,_0x238608=this;this[_0x4ab98f(0x215)](this[_0x4ab98f(0x443)][_0x4ab98f(0x3fe)]({'onBeforePasteImage':async _0x3dda2f=>{const _0x2d94d3=_0x4ab98f,_0x53b06b=await _0x238608[_0x2d94d3(0x1f5)][_0x2d94d3(0x30c)](_0x3dda2f);return _0x53b06b?{'source':_0x53b06b[_0x2d94d3(0x2ca)],'imageSourceType':_0x53b06b['imageSourceType']}:null;}}));}};_0x447eea=_0x5bc29d([_0x3edb1f(0x0,_0x15e0d1[_0x1b1e14(0x359)]),_0x3edb1f(0x1,_0xc786dd[_0x1b1e14(0x322)])],_0x447eea);const _0x54d1e9=[_0x1b1e14(0x1da),_0x1b1e14(0x3ae),_0x1b1e14(0x2ed),_0x1b1e14(0x2c8),_0x1b1e14(0x306),_0x1b1e14(0x218)];class _0x4829de extends _0x1ca8c6['Disposable']{constructor(){const _0x3411b7=_0x1b1e14;super(...arguments),_0x215ae7(this,_0x3411b7(0x1f9),new Map()),_0x215ae7(this,'_colorIndex',0x0);}[_0x1b1e14(0x30e)](_0x4536c5){const _0x35747f=_0x1b1e14;if(this[_0x35747f(0x1f9)][_0x35747f(0x33b)](_0x4536c5))return this[_0x35747f(0x1f9)]['get'](_0x4536c5);const _0x584530=_0x54d1e9[this[_0x35747f(0x385)]];return this[_0x35747f(0x385)]=(this[_0x35747f(0x385)]+0x1)%_0x54d1e9[_0x35747f(0x300)],this[_0x35747f(0x1f9)][_0x35747f(0x441)](_0x4536c5,_0x584530),_0x584530;}}function _0x5ecb99(_0x23b393){const _0xb80463=_0x1b1e14;let _0x3b3a3c='';for(const _0x56422e of _0x23b393){const {startOffset:_0x3400e8,endOffset:_0x45514f,isActive:_0x3fe5f6,rangeType:_0x4b4dec,segmentId:_0x3eafb6,segmentPage:_0x32e201}=_0x56422e;_0x3b3a3c[_0xb80463(0x300)]&&(_0x3b3a3c+=','),_0x3b3a3c+=_0x3400e8+':'+_0x45514f+':'+(_0x3fe5f6?'1':'0')+':'+_0x4b4dec+':'+_0x3eafb6+':'+_0x32e201;}return _0x3b3a3c;}function _0x1ecd1e(_0x37f44d){const _0x374ab7=_0x1b1e14,_0x1c674a=_0x37f44d['split'](','),_0x3f40b9=[];for(const _0xf71dd3 of _0x1c674a){const [_0x372b0e,_0x46d4e8,_0x4fe596,_0x370fa2,_0x1a7fae,_0x5065c]=_0xf71dd3['split'](':');_0x3f40b9['push']({'startOffset':Number(_0x372b0e),'endOffset':Number(_0x46d4e8),'collapsed':_0x372b0e===_0x46d4e8,'isActive':_0x4fe596==='1','rangeType':_0x370fa2===_0x1ca8c6[_0x374ab7(0x239)][_0x374ab7(0x21b)]?_0x1ca8c6[_0x374ab7(0x239)]['TEXT']:_0x1ca8c6[_0x374ab7(0x239)][_0x374ab7(0x429)],'segmentId':typeof _0x1a7fae==_0x374ab7(0x3a0)?String(_0x1a7fae):'','segmentPage':Number(_0x5065c!=null?_0x5065c:-0x1)});}return _0x3f40b9[_0x374ab7(0x360)](_0x39ab80=>_0x39ab80[_0x374ab7(0x2a7)])||(_0x3f40b9[0x0][_0x374ab7(0x2a7)]=!0x0),_0x3f40b9;}class _0x4a5f98 extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(){const _0x868f70=_0x1b1e14;super(...arguments),_0x215ae7(this,_0x868f70(0x1cf),new _0x3b6b5a['BehaviorSubject'](null)),_0x215ae7(this,_0x868f70(0x1f3),this[_0x868f70(0x1cf)][_0x868f70(0x41a)]());}[_0x1b1e14(0x1d9)](_0x2246d8){const _0x398d2e=_0x1b1e14,{unitID:_0x31737d,memberID:_0x2b172e,textRanges:_0x593f88}=_0x2246d8,_0x379f38=_0x5ecb99(_0x593f88);if(_0x379f38==='')return;const _0x2a6305={'unitID':_0x31737d,'memberID':_0x2b172e,'selection':_0x379f38};this[_0x398d2e(0x1cf)]['next'](_0x2a6305);}}var _0x25919f=Object[_0x1b1e14(0x1ce)],_0x34d18b=(_0x4b3d90,_0x1e9390,_0x4c67c5,_0x51c3a4)=>{for(var _0x2fcfe5=_0x51c3a4>0x1?void 0x0:_0x51c3a4?_0x25919f(_0x1e9390,_0x4c67c5):_0x1e9390,_0x49ccc8=_0x4b3d90['length']-0x1,_0x4d87f5;_0x49ccc8>=0x0;_0x49ccc8--)(_0x4d87f5=_0x4b3d90[_0x49ccc8])&&(_0x2fcfe5=_0x4d87f5(_0x2fcfe5)||_0x2fcfe5);return _0x2fcfe5;},_0x53970b=(_0xb3aede,_0x4552a9)=>(_0x311987,_0x6faba)=>_0x4552a9(_0x311987,_0x6faba,_0xb3aede);const _0x21f8f1=0x12c,_0x7a051f=0x64;let _0x409fe5=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x36345e,_0x76f27e,_0x28c3e3,_0x38aa0a,_0x48618e,_0x43ff11,_0x2083af,_0x1ae7b6,_0x5e94dc){const _0x54c233=_0x1b1e14;super(),_0x215ae7(this,'_online',!0x1),_0x215ae7(this,_0x54c233(0x2f4),!0x1),_0x215ae7(this,_0x54c233(0x281),new _0x3b6b5a[(_0x54c233(0x1b1))](new Map())),_0x215ae7(this,_0x54c233(0x358),this[_0x54c233(0x281)][_0x54c233(0x41a)]()),_0x215ae7(this,_0x54c233(0x2b1),new _0x3b6b5a[(_0x54c233(0x1b1))]([])),_0x215ae7(this,'roomMembers$',this[_0x54c233(0x2b1)][_0x54c233(0x22a)](_0x3b6b5a['debounceTime'](_0x21f8f1))),_0x215ae7(this,_0x54c233(0x257),_0x1ca8c6[_0x54c233(0x1d1)](_0x4c113e=>{const _0x3e641f=_0x54c233,_0x394852={'eventID':_0x598d32['CollaborationEvent'][_0x3e641f(0x243)],'data':{'unitID':this[_0x3e641f(0x30f)],'memberID':this[_0x3e641f(0x2be)][_0x3e641f(0x2fc)](),'selection':_0x5ecb99(_0x4c113e)}};this[_0x3e641f(0x2be)]['send'](_0x394852,this[_0x3e641f(0x30f)]);},_0x7a051f)),(this[_0x54c233(0x30f)]=_0x36345e,this[_0x54c233(0x2be)]=_0x76f27e,this[_0x54c233(0x28c)]=_0x28c3e3,this['_colorAssignService']=_0x38aa0a,this[_0x54c233(0x40c)]=_0x48618e,this['_syncEditingCollabCursorService']=_0x43ff11,this['_transformService']=_0x2083af,this[_0x54c233(0x23d)]=_0x1ae7b6,this[_0x54c233(0x3fb)]=_0x5e94dc);}get['cursorInfo'](){const _0x461b44=_0x1b1e14;return this['_cursorInfo$'][_0x461b44(0x42d)]();}get[_0x1b1e14(0x38c)](){const _0x3db82a=_0x1b1e14;return this[_0x3db82a(0x2b1)]['getValue']();}[_0x1b1e14(0x1cc)](){const _0xda2273=_0x1b1e14;super['dispose'](),this[_0xda2273(0x281)][_0xda2273(0x22e)](new Map()),this[_0xda2273(0x281)][_0xda2273(0x44b)](),this['_roomMembers$'][_0xda2273(0x22e)]([]),this[_0xda2273(0x2b1)][_0xda2273(0x44b)]();}[_0x1b1e14(0x3f9)](){const _0xa08e13=_0x1b1e14;this[_0xa08e13(0x2f4)]||(this[_0xa08e13(0x2f4)]=!0x0,this[_0xa08e13(0x2be)][_0xa08e13(0x1ab)][_0xa08e13(0x22a)](_0x3b6b5a[_0xa08e13(0x264)](this[_0xa08e13(0x31c)]))['subscribe'](_0x9692f4=>{const _0x4febd1=_0xa08e13;_0x9692f4===_0x4d5f16[_0x4febd1(0x3b7)][_0x4febd1(0x41c)]?this[_0x4febd1(0x3c5)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x3b6b5a[_0xa08e13(0x264)](this[_0xa08e13(0x31c)]))[_0xa08e13(0x3b9)](_0x102d7d=>{const _0xb101b6=_0xa08e13,_0xe9d5f9=_0x102d7d[_0xb101b6(0x367)];_0xe9d5f9===_0x598d32[_0xb101b6(0x421)][_0xb101b6(0x243)]&&this[_0xb101b6(0x1e4)](_0x102d7d),_0xe9d5f9===_0x598d32[_0xb101b6(0x421)][_0xb101b6(0x36d)]&&this['_onCursorDelete'](_0x102d7d);}),this['disposeWithMe'](this['_commandService'][_0xa08e13(0x27f)](_0x26c90d=>{const _0x41aaf7=_0xa08e13,_0x2cc23d=_0x26c90d[_0x41aaf7(0x309)];_0x2cc23d!=null&&this[_0x41aaf7(0x345)]&&_0x26c90d['id']===_0x449e95[_0x41aaf7(0x259)]['id']&&_0x2cc23d[_0x41aaf7(0x3da)]===this[_0x41aaf7(0x30f)]&&_0x2cc23d[_0x41aaf7(0x1ed)]===!0x1&&_0x2cc23d[_0x41aaf7(0x316)][_0x41aaf7(0x300)]>0x0&&this[_0x41aaf7(0x257)](_0x2cc23d[_0x41aaf7(0x316)]);})),this[_0xa08e13(0x370)][_0xa08e13(0x1f3)][_0xa08e13(0x22a)](_0x3b6b5a[_0xa08e13(0x264)](this['dispose$']))[_0xa08e13(0x3b9)](_0x3c78dc=>{const _0x446daa=_0xa08e13;if((_0x3c78dc==null?void 0x0:_0x3c78dc[_0x446daa(0x30f)])!==this[_0x446daa(0x30f)])return;const _0x125961={'eventID':_0x598d32[_0x446daa(0x421)][_0x446daa(0x243)],'data':_0x3c78dc};this[_0x446daa(0x1e4)](_0x125961);}),this[_0xa08e13(0x215)](this[_0xa08e13(0x3fb)]['onCommandExecuted'](_0x1df581=>{const _0x5e03a7=_0xa08e13;if(_0x1df581[_0x5e03a7(0x309)]==null)return;const _0x198016=_0x1df581[_0x5e03a7(0x309)];if(_0x1df581['id']!==_0x449e95[_0x5e03a7(0x2da)]['id']||_0x198016[_0x5e03a7(0x3da)]!==this[_0x5e03a7(0x30f)])return;const _0x5a1c01={'id':_0x5e03a7(0x354),'params':_0x198016},_0x1573d0=this['cursorInfo'];for(const [_0x59be55,_0x37dac7]of _0x1573d0){const _0x159989={'id':_0x5e03a7(0x354),'params':{'unitId':this[_0x5e03a7(0x30f)],'actions':null,'textRanges':_0x37dac7[_0x5e03a7(0x316)]}},_0x312a0e=this['_transformService'][_0x5e03a7(0x398)](_0x5a1c01,_0x159989,!0x1);if(_0x598d32[_0x5e03a7(0x1af)](_0x312a0e))throw _0x312a0e['error'];_0x1573d0[_0x5e03a7(0x441)](_0x59be55,{..._0x37dac7,'ranges':_0x312a0e[_0x5e03a7(0x384)][_0x5e03a7(0x309)][_0x5e03a7(0x40b)]});}queueMicrotask(()=>{const _0x305a83=_0x5e03a7;this[_0x305a83(0x281)][_0x305a83(0x22e)](_0x1573d0);});})));}[_0x1b1e14(0x1e4)](_0x8121ed){const _0x29b366=_0x1b1e14;var _0x58bab3,_0x5b4313;const {memberID:_0x21c2f7,selection:_0x4a4e2e}=_0x8121ed['data'],_0x4ccc34=_0x1ecd1e(_0x4a4e2e),_0x3711e0=(_0x5b4313=(_0x58bab3=this[_0x29b366(0x40c)][_0x29b366(0x200)](this[_0x29b366(0x30f)],_0x21c2f7))==null?void 0x0:_0x58bab3[_0x29b366(0x184)])!=null?_0x5b4313:'Unknown\x20user',_0x22fb42={'color':this[_0x29b366(0x338)][_0x29b366(0x30e)](_0x21c2f7),'name':_0x3711e0,'ranges':_0x4ccc34},_0x158220=this['cursorInfo'];_0x158220['set'](_0x21c2f7,_0x22fb42),this['_cursorInfo$'][_0x29b366(0x22e)](_0x158220);}[_0x1b1e14(0x2e9)](_0xf9bdd7){const _0x3a8dc9=_0x1b1e14,{memberID:_0x54550f}=_0xf9bdd7[_0x3a8dc9(0x45f)],_0x766e32=this['cursorInfo'];_0x766e32[_0x3a8dc9(0x1c0)](_0x54550f),this[_0x3a8dc9(0x281)][_0x3a8dc9(0x22e)](_0x766e32);}[_0x1b1e14(0x3c5)](){const _0xf75595=_0x1b1e14;var _0x230a11;if(this[_0xf75595(0x345)]=!0x0,((_0x230a11=this[_0xf75595(0x23d)][_0xf75595(0x282)]())==null?void 0x0:_0x230a11[_0xf75595(0x212)]())!==this['unitID'])return;const _0x41e3ac=this[_0xf75595(0x28c)]['get'](_0x449e95[_0xf75595(0x1bd)])[_0xf75595(0x23b)]();Array[_0xf75595(0x1fa)](_0x41e3ac)&&_0x41e3ac[_0xf75595(0x300)]>0x0&&this[_0xf75595(0x257)](_0x41e3ac);}[_0x1b1e14(0x1e3)](){this['_online']=!0x1;}};_0x409fe5=_0x34d18b([_0x53970b(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x53970b(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x4829de)),_0x53970b(0x4,_0x1ca8c6['Inject'](_0x4d5f16[_0x1b1e14(0x462)])),_0x53970b(0x5,_0x1ca8c6[_0x1b1e14(0x308)](_0x4a5f98)),_0x53970b(0x6,_0x598d32['ITransformService']),_0x53970b(0x7,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x53970b(0x8,_0x1ca8c6[_0x1b1e14(0x25a)])],_0x409fe5);var _0xefe886=Object[_0x1b1e14(0x1ce)],_0x3f7599=(_0x22e6e1,_0x5d4579,_0x396bf4,_0x3f9604)=>{const _0x5b5102=_0x1b1e14;for(var _0x3c2b76=_0x3f9604>0x1?void 0x0:_0x3f9604?_0xefe886(_0x5d4579,_0x396bf4):_0x5d4579,_0x425296=_0x22e6e1[_0x5b5102(0x300)]-0x1,_0x71599a;_0x425296>=0x0;_0x425296--)(_0x71599a=_0x22e6e1[_0x425296])&&(_0x3c2b76=_0x71599a(_0x3c2b76)||_0x3c2b76);return _0x3c2b76;},_0x5a5c75=(_0x1dbd7e,_0x410fcc)=>(_0x30972a,_0x1249ef)=>_0x410fcc(_0x30972a,_0x1249ef,_0x1dbd7e);const _0x51e9ef=0x12c,_0x423c5d=0x64,_0x1dfdb4=()=>{let _0x105d8c=[],_0x2e4912=!0x1;return _0x1fbe0b=>{_0x105d8c['push'](_0x1fbe0b),_0x2e4912||(_0x2e4912=!0x0,setTimeout(()=>{const _0x909956=_0x4e18;_0x105d8c[_0x909956(0x459)](_0x3eb54a=>_0x3eb54a()),_0x105d8c=[],_0x2e4912=!0x1;}));};};let _0x526322=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xa4741e,_0x4eb23f,_0x22c642,_0x383169,_0x50fa62,_0x6bbdc7,_0x37f2e3,_0x762af1){const _0x431e32=_0x1b1e14;super(),_0x215ae7(this,_0x431e32(0x345),!0x1),_0x215ae7(this,_0x431e32(0x2f4),!0x1),_0x215ae7(this,_0x431e32(0x281),new _0x3b6b5a[(_0x431e32(0x1b1))](new Map())),_0x215ae7(this,_0x431e32(0x358),this[_0x431e32(0x281)][_0x431e32(0x41a)]()),_0x215ae7(this,_0x431e32(0x2b1),new _0x3b6b5a['BehaviorSubject']([])),_0x215ae7(this,_0x431e32(0x403),this[_0x431e32(0x2b1)][_0x431e32(0x22a)](_0x3b6b5a['debounceTime'](_0x51e9ef))),_0x215ae7(this,_0x431e32(0x257),_0x1ca8c6[_0x431e32(0x1d1)]((_0x17bcbb,_0x213626)=>{const _0xfd25e7=_0x431e32,_0x58d87e={'eventID':_0x598d32[_0xfd25e7(0x421)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xfd25e7(0x30f)],'memberID':this['_session'][_0xfd25e7(0x2fc)](),'selection':_0x4f0b9d[_0xfd25e7(0x2c3)](_0x17bcbb,_0x213626[_0xfd25e7(0x449)])}};this[_0xfd25e7(0x2be)][_0xfd25e7(0x467)](_0x58d87e,this[_0xfd25e7(0x30f)]);},_0x423c5d)),(this[_0x431e32(0x30f)]=_0xa4741e,this[_0x431e32(0x2be)]=_0x4eb23f,this[_0x431e32(0x28c)]=_0x22c642,this[_0x431e32(0x338)]=_0x383169,this['_memberService']=_0x50fa62,this[_0x431e32(0x23d)]=_0x6bbdc7,this[_0x431e32(0x3fb)]=_0x37f2e3,this[_0x431e32(0x1e5)]=_0x762af1);}get[_0x1b1e14(0x29a)](){const _0xeba569=_0x1b1e14;return this[_0xeba569(0x281)][_0xeba569(0x42d)]();}get[_0x1b1e14(0x38c)](){const _0x3986c7=_0x1b1e14;return this[_0x3986c7(0x2b1)]['getValue']();}['dispose'](){const _0x45fc0a=_0x1b1e14;super['dispose'](),this[_0x45fc0a(0x281)][_0x45fc0a(0x22e)](new Map()),this[_0x45fc0a(0x281)]['complete'](),this[_0x45fc0a(0x2b1)][_0x45fc0a(0x22e)]([]),this[_0x45fc0a(0x2b1)]['complete']();}[_0x1b1e14(0x3f9)](){const _0x312756=_0x1b1e14;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x312756(0x22a)](_0x3b6b5a[_0x312756(0x264)](this[_0x312756(0x31c)]))[_0x312756(0x3b9)](_0x30658a=>{const _0x569c15=_0x312756;_0x30658a===_0x4d5f16[_0x569c15(0x3b7)][_0x569c15(0x41c)]?this[_0x569c15(0x3c5)]():this[_0x569c15(0x1e3)]();}),this[_0x312756(0x2be)][_0x312756(0x31e)][_0x312756(0x22a)](_0x3b6b5a[_0x312756(0x264)](this[_0x312756(0x31c)]))[_0x312756(0x3b9)](_0x19cc77=>{const _0x37cdde=_0x312756,_0x58bfde=_0x19cc77[_0x37cdde(0x367)];_0x58bfde===_0x598d32[_0x37cdde(0x421)][_0x37cdde(0x243)]&&this[_0x37cdde(0x1e4)](_0x19cc77),_0x58bfde===_0x598d32[_0x37cdde(0x421)][_0x37cdde(0x36d)]&&this[_0x37cdde(0x2e9)](_0x19cc77);}),this[_0x312756(0x2c7)](),this[_0x312756(0x215)](this[_0x312756(0x3fb)][_0x312756(0x27f)](_0x34d9cc=>{const _0x562a78=_0x312756;if(this[_0x562a78(0x345)]&&_0x34d9cc['id']===_0x5a44c7[_0x562a78(0x24c)]['id']&&_0x34d9cc[_0x562a78(0x309)][_0x562a78(0x3da)]===this[_0x562a78(0x30f)]){const _0x4afa97=_0x34d9cc[_0x562a78(0x309)];this['_updateLocalCursor'](_0x4afa97[_0x562a78(0x19a)],_0x4afa97[_0x562a78(0x40a)][0x0]);}})));}['_onCursorUpdate'](_0x2875bb){const _0x1762b0=_0x1b1e14;var _0x32a7bd,_0x5c920d;const {memberID:_0x29c045,selection:_0x28c613}=_0x2875bb['data'],{sheetName:_0x441413,range:_0x1666c8}=_0x4f0b9d[_0x1762b0(0x3eb)](_0x28c613),_0x42afbe={'name':(_0x5c920d=(_0x32a7bd=this[_0x1762b0(0x40c)][_0x1762b0(0x200)](this['unitID'],_0x29c045))==null?void 0x0:_0x32a7bd[_0x1762b0(0x184)])!=null?_0x5c920d:_0x1762b0(0x442),'range':this[_0x1762b0(0x294)](_0x441413,_0x1666c8),'sheetID':_0x441413,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x29c045),'selection':_0x28c613},_0x16724b=this[_0x1762b0(0x29a)];_0x16724b[_0x1762b0(0x441)](_0x29c045,_0x42afbe),this[_0x1762b0(0x281)][_0x1762b0(0x22e)](_0x16724b);}['_onCursorDelete'](_0x1bbcbc){const _0x12e198=_0x1b1e14,{memberID:_0x16b4ca}=_0x1bbcbc[_0x12e198(0x45f)],_0x935b5f=this[_0x12e198(0x29a)];_0x935b5f[_0x12e198(0x1c0)](_0x16b4ca),this[_0x12e198(0x281)]['next'](_0x935b5f);}[_0x1b1e14(0x294)](_0x521352,_0x3a1da1){const _0x61a532=_0x1b1e14;var _0x1a5a14,_0x54d133;const _0xc3f140=(_0x54d133=(_0x1a5a14=this['_univerInstanceService'][_0x61a532(0x25d)](this[_0x61a532(0x30f)]))==null?void 0x0:_0x1a5a14['getSheetBySheetId'](_0x521352))==null?void 0x0:_0x54d133[_0x61a532(0x431)]();return(_0xc3f140==null?void 0x0:_0xc3f140[_0x61a532(0x410)](_0x13e4d5=>_0x1ca8c6[_0x61a532(0x2e4)]['contains'](_0x13e4d5,_0x3a1da1)))||_0x3a1da1;}[_0x1b1e14(0x2c7)](){const _0x493d62=_0x1b1e14,_0xc7b5d=new _0x1ca8c6[(_0x493d62(0x234))](),_0x307c20=_0x1dfdb4(),_0x400e0c=()=>{const _0x13bf2c=_0x493d62;_0xc7b5d['dispose']();const _0x14aa77=(_0x15801f,_0xbae123,_0x641796,_0x1ffc52)=>{const _0x46a7db=_0x4e18;let _0x61cf6f=[];switch(_0x15801f['id']){case _0x5a44c7['EffectRefRangId'][_0x46a7db(0x28d)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x28b)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x2a0)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x1c2)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)]['InsertColCommandId']:{_0x61cf6f=_0x5a44c7['handleInsertCol'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x2a4)]:{_0x61cf6f=_0x5a44c7['handleInsertRangeMoveDown'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x402)]:{_0x61cf6f=_0x5a44c7['handleInsertRangeMoveRight'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7['EffectRefRangId'][_0x46a7db(0x302)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x34e)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x455)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x335)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)]['RemoveColCommandId']:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x430)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x18a)]:{_0x61cf6f=_0x5a44c7['handleIRemoveRow'](_0x15801f,_0x1ffc52);break;}}const _0x2395b6=_0x5a44c7[_0x46a7db(0x3ef)](_0x61cf6f,_0x1ffc52),_0x321b4a=this[_0x46a7db(0x29a)][_0x46a7db(0x318)](_0xbae123);if(_0x321b4a&&_0x2395b6){const _0xbb0791={..._0x321b4a,'range':_0x2395b6};this[_0x46a7db(0x29a)][_0x46a7db(0x441)](_0xbae123,_0xbb0791),_0x307c20(()=>{const _0x2b6268=_0x46a7db,_0x2d3cb0=this[_0x2b6268(0x1e5)][_0x2b6268(0x19f)](_0x2395b6,_0x487d46=>(_0x2d3cb0[_0x2b6268(0x1cc)](),_0x14aa77(_0x487d46,_0xbae123,_0x641796,_0x2395b6)));_0xc7b5d[_0x2b6268(0x231)](_0x2d3cb0);});}return{'redos':[],'undos':[]};};this[_0x13bf2c(0x29a)][_0x13bf2c(0x459)]((_0x380627,_0x4dade1)=>{const _0x4c64d5=_0x13bf2c,{range:_0x3a908e,sheetID:_0x3319c4}=_0x380627,_0x5b8e22=this[_0x4c64d5(0x1e5)][_0x4c64d5(0x19f)](_0x3a908e,_0x4253ea=>(_0x5b8e22['dispose'](),_0x14aa77(_0x4253ea,_0x4dade1,_0x3319c4,_0x3a908e)));_0xc7b5d[_0x4c64d5(0x231)](_0x5b8e22);});};this['disposeWithMe'](_0x1ca8c6[_0x493d62(0x226)](this[_0x493d62(0x281)]['subscribe'](()=>{_0x400e0c();})));}['_toggleOnline'](){const _0x3df6ac=_0x1b1e14;var _0x30a333,_0x5c08f2;if(this['_online']=!0x0,((_0x30a333=this[_0x3df6ac(0x23d)][_0x3df6ac(0x282)]())==null?void 0x0:_0x30a333[_0x3df6ac(0x212)]())!==this[_0x3df6ac(0x30f)])return;const _0x2bab0b=(_0x5c08f2=this[_0x3df6ac(0x28c)][_0x3df6ac(0x318)](_0x5a44c7[_0x3df6ac(0x263)])[_0x3df6ac(0x1f1)]())==null?void 0x0:_0x5c08f2[0x0],_0x2f0f14=this[_0x3df6ac(0x23d)][_0x3df6ac(0x1fe)](_0x1ca8c6[_0x3df6ac(0x30b)][_0x3df6ac(0x3de)])[_0x3df6ac(0x2e6)]();_0x2bab0b&&_0x2f0f14&&this[_0x3df6ac(0x257)](_0x2f0f14[_0x3df6ac(0x321)](),_0x2bab0b);}[_0x1b1e14(0x1e3)](){this['_online']=!0x1;}};_0x526322=_0x3f7599([_0x5a5c75(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x5a5c75(0x3,_0x1ca8c6['Inject'](_0x4829de)),_0x5a5c75(0x4,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x462)])),_0x5a5c75(0x5,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x5a5c75(0x6,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x5a5c75(0x7,_0x1ca8c6['Inject'](_0x5a44c7[_0x1b1e14(0x33e)]))],_0x526322);var _0x562835=Object[_0x1b1e14(0x1ce)],_0x103ff4=(_0x1ea899,_0x238bb2,_0xb0dc17,_0x23055c)=>{const _0x1d6ac0=_0x1b1e14;for(var _0x286ab9=_0x23055c>0x1?void 0x0:_0x23055c?_0x562835(_0x238bb2,_0xb0dc17):_0x238bb2,_0x16c5fc=_0x1ea899[_0x1d6ac0(0x300)]-0x1,_0x108087;_0x16c5fc>=0x0;_0x16c5fc--)(_0x108087=_0x1ea899[_0x16c5fc])&&(_0x286ab9=_0x108087(_0x286ab9)||_0x286ab9);return _0x286ab9;},_0x210ced=(_0xc768be,_0x14f238)=>(_0x10b24e,_0x2a1a11)=>_0x14f238(_0x10b24e,_0x2a1a11,_0xc768be);let _0x3bc722=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x72d0c4,_0x1a25a4,_0x55cfd6){const _0x41e7fb=_0x1b1e14;super(),_0x215ae7(this,'_entities',new Map()),_0x215ae7(this,'_entityInit$',new _0x3b6b5a[(_0x41e7fb(0x19d))]()),(this[_0x41e7fb(0x23d)]=_0x72d0c4,this[_0x41e7fb(0x28c)]=_0x1a25a4,this['_collabSessionService']=_0x55cfd6,this['_init']());}[_0x1b1e14(0x1cc)](){const _0x10a0c2=_0x1b1e14;super['dispose'](),this[_0x10a0c2(0x1c1)]['complete'](),this[_0x10a0c2(0x224)][_0x10a0c2(0x459)](_0x316d31=>_0x316d31['dispose']());}['getCollabCursors$'](_0x1ac46c){const _0x47619d=_0x1b1e14;return this[_0x47619d(0x224)][_0x47619d(0x33b)](_0x1ac46c)?this['_entities'][_0x47619d(0x318)](_0x1ac46c)[_0x47619d(0x358)]:this['_entityInit$'][_0x47619d(0x22a)](_0x3b6b5a[_0x47619d(0x195)](_0x32a46d=>_0x32a46d[_0x47619d(0x30f)]===_0x1ac46c),_0x3b6b5a[_0x47619d(0x185)](_0xaea62a=>_0xaea62a[_0x47619d(0x358)]));}['_init'](){const _0x21b2e9=_0x1b1e14;this[_0x21b2e9(0x23d)]['getTypeOfUnitAdded$'](_0x1ca8c6['UniverInstanceType'][_0x21b2e9(0x3de)])[_0x21b2e9(0x22a)](_0x3b6b5a['takeUntil'](this['dispose$']))['subscribe'](async _0x500423=>{const _0x2bb539=_0x21b2e9,_0x4dc9a6=_0x500423[_0x2bb539(0x212)](),_0x5ba8d2=await this[_0x2bb539(0x303)](_0x4dc9a6);this[_0x2bb539(0x1c1)][_0x2bb539(0x22e)](_0x5ba8d2),this[_0x2bb539(0x224)][_0x2bb539(0x441)](_0x4dc9a6,_0x5ba8d2);}),this['_univerInstanceService'][_0x21b2e9(0x382)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3b3)])[_0x21b2e9(0x22a)](_0x3b6b5a['takeUntil'](this['dispose$']))[_0x21b2e9(0x22a)](_0x3b6b5a[_0x21b2e9(0x195)](_0x35772e=>!_0x35772e[_0x21b2e9(0x212)]()[_0x21b2e9(0x283)]('__')))['subscribe'](async _0x67eb93=>{const _0xf5f10c=_0x21b2e9,_0x51e4b7=_0x67eb93['getUnitId'](),_0x2bd190=await this['_startDocCollabCursor'](_0x51e4b7);this[_0xf5f10c(0x1c1)][_0xf5f10c(0x22e)](_0x2bd190),this[_0xf5f10c(0x224)][_0xf5f10c(0x441)](_0x51e4b7,_0x2bd190);}),_0x3b6b5a['merge'](this[_0x21b2e9(0x23d)][_0x21b2e9(0x3b8)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3b3)]),this[_0x21b2e9(0x23d)][_0x21b2e9(0x3b8)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3de)]))['pipe'](_0x3b6b5a[_0x21b2e9(0x264)](this[_0x21b2e9(0x31c)]))[_0x21b2e9(0x3b9)](_0x1ea171=>{const _0x1c0229=_0x21b2e9,_0x2a58af=_0x1ea171[_0x1c0229(0x212)](),_0x20e8a1=this['_entities'][_0x1c0229(0x318)](_0x2a58af);_0x20e8a1&&(_0x20e8a1['dispose'](),this[_0x1c0229(0x224)][_0x1c0229(0x1c0)](_0x2a58af));});}async['_startSheetCollabCursor'](_0x2c1e6a){const _0x1d58ed=_0x1b1e14,_0x195e81=await this[_0x1d58ed(0x26e)][_0x1d58ed(0x344)](_0x2c1e6a),_0x27e3c4=this[_0x1d58ed(0x28c)][_0x1d58ed(0x28a)](_0x526322,_0x2c1e6a,_0x195e81);return _0x27e3c4[_0x1d58ed(0x3f9)](),_0x27e3c4;}async[_0x1b1e14(0x201)](_0x4f690a){const _0x33c831=_0x1b1e14,_0x25404a=await this[_0x33c831(0x26e)][_0x33c831(0x344)](_0x4f690a),_0x135e5b=this['_injector'][_0x33c831(0x28a)](_0x409fe5,_0x4f690a,_0x25404a);return _0x135e5b[_0x33c831(0x3f9)](),_0x135e5b;}};_0x3bc722=_0x103ff4([_0x210ced(0x0,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x210ced(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x210ced(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2ad)]))],_0x3bc722);const _0x178bb8=0x14,_0x2203b8=0xc8,_0x33ca65=0x4,_0x398e3c=0x5;function _0x52bcdd(_0x427560,_0x21a652){const _0x5a0946=_0x1b1e14;let {radius:_0xceb3e1,width:_0xed4a69,height:_0x2d5ed5}=_0x21a652;_0xceb3e1=_0xceb3e1!=null?_0xceb3e1:0x0,_0xed4a69=_0xed4a69!=null?_0xed4a69:0x1e,_0x2d5ed5=_0x2d5ed5!=null?_0x2d5ed5:0x1e;let _0x23cb97=0x0,_0x2fb2f1=0x0,_0x490a7c=0x0;_0x23cb97=_0x2fb2f1=_0x490a7c=Math[_0x5a0946(0x2c0)](_0xceb3e1,_0xed4a69/0x2,_0x2d5ed5/0x2),_0x427560[_0x5a0946(0x35b)](),_0x427560[_0x5a0946(0x2ae)](_0x23cb97,0x0),_0x427560[_0x5a0946(0x2d0)](_0xed4a69-_0x2fb2f1,0x0),_0x427560[_0x5a0946(0x1b0)](_0xed4a69-_0x2fb2f1,_0x2fb2f1,_0x2fb2f1,Math['PI']*0x3/0x2,0x0,!0x1),_0x427560['lineTo'](_0xed4a69,_0x2d5ed5-_0x490a7c),_0x427560[_0x5a0946(0x1b0)](_0xed4a69-_0x490a7c,_0x2d5ed5-_0x490a7c,_0x490a7c,0x0,Math['PI']/0x2,!0x1),_0x427560['lineTo'](0x0,_0x2d5ed5),_0x427560[_0x5a0946(0x2d0)](0x0,_0x23cb97),_0x427560[_0x5a0946(0x1b0)](_0x23cb97,_0x23cb97,_0x23cb97,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x427560['closePath'](),_0x21a652[_0x5a0946(0x1dc)]&&(_0x427560['save'](),_0x427560[_0x5a0946(0x33f)]=_0x21a652[_0x5a0946(0x1dc)],_0x21a652[_0x5a0946(0x3cf)]===_0x5a0946(0x223)?_0x427560[_0x5a0946(0x1dc)]('evenodd'):_0x427560['fill'](),_0x427560['restore']());}class _0x407ea4 extends _0x28adc3[_0x1b1e14(0x3f7)]{constructor(_0x28eb2b,_0x32a9ab){const _0x2745dc=_0x1b1e14;super(_0x28eb2b,_0x32a9ab),_0x215ae7(this,_0x2745dc(0x35f)),_0x215ae7(this,_0x2745dc(0x3d3)),(this[_0x2745dc(0x35f)]=_0x32a9ab==null?void 0x0:_0x32a9ab[_0x2745dc(0x35f)],this[_0x2745dc(0x3d3)]=_0x32a9ab==null?void 0x0:_0x32a9ab['text']);}static[_0x1b1e14(0x434)](_0xa1979b,_0xa9b811){const _0xd20178=_0x1b1e14,{text:_0x240c79,color:_0x1d5a32}=_0xa9b811;_0xa1979b[_0xd20178(0x42b)](),_0xa1979b[_0xd20178(0x236)]=_0xd20178(0x2f3);const _0x13d8e9=_0xa1979b[_0xd20178(0x1c3)](_0x240c79)[_0xd20178(0x43c)],_0xb2feb7=Math['min'](_0x13d8e9+0x2*_0x33ca65,_0x2203b8);_0x52bcdd(_0xa1979b,{'height':_0x178bb8,'radius':0x4,'width':_0xb2feb7,'fill':_0x1d5a32}),_0xa1979b[_0xd20178(0x33f)]=_0xd20178(0x21a);const _0x181134=_0x33ca65,_0xb49cca=_0x178bb8-_0x398e3c,_0xae0bd0=_0x2203b8-0x2*_0x33ca65;if(_0x13d8e9>_0xae0bd0){let _0x4226b2='',_0x399473=0x0;for(const _0x5466eb of _0x240c79){const _0x395847=_0xa1979b[_0xd20178(0x1c3)](_0x5466eb)[_0xd20178(0x43c)];if(_0x399473+_0x395847<=_0xae0bd0-_0xa1979b['measureText']('...')[_0xd20178(0x43c)])_0x4226b2+=_0x5466eb,_0x399473+=_0x395847;else{_0x4226b2+='...';break;}}_0xa1979b['fillText'](_0x4226b2,_0x181134,_0xb49cca);}else _0xa1979b['fillText'](_0x240c79,_0x181134,_0xb49cca);_0xa1979b[_0xd20178(0x1a0)]();}[_0x1b1e14(0x274)](_0x1ec4b3){const _0xe61d42=_0x1b1e14;_0x407ea4[_0xe61d42(0x434)](_0x1ec4b3,this);}}const _0xca0f1a=_0x1b1e14(0x2a5),_0x46567e='collab-text-range-',_0x3b1530='collab-rect-range-',_0x7e3dd4=0x6,_0x3e09f0=1.5,_0xcc75a0=0x4,_0x552899=1.5,_0x58b9aa=_0x1b1e14(0x3d8);class _0x4c87a6{constructor(_0x5414f3,_0x4d55f2,_0xff2b78,_0x553a89){const _0x1a5e4f=_0x1b1e14;_0x215ae7(this,'_shapes',[]),_0x215ae7(this,_0x1a5e4f(0x2d9),null),_0x215ae7(this,'_textBubble',null),_0x215ae7(this,_0x1a5e4f(0x293),null),_0x215ae7(this,'_hideTimer',null),_0x215ae7(this,_0x1a5e4f(0x33a),null),(this[_0x1a5e4f(0x188)]=_0x5414f3,this[_0x1a5e4f(0x1bc)]=_0x4d55f2,this[_0x1a5e4f(0x3d2)]=_0xff2b78,this[_0x1a5e4f(0x26b)]=_0x553a89,this['_render']());}set['_hover'](_0x4236c5){const _0x1754f6=_0x1b1e14;_0x4236c5?(this[_0x1754f6(0x293)]&&this[_0x1754f6(0x293)][_0x1754f6(0x355)](),this[_0x1754f6(0x255)]&&this[_0x1754f6(0x255)][_0x1754f6(0x25f)]()):(this[_0x1754f6(0x293)]&&this[_0x1754f6(0x293)][_0x1754f6(0x25f)](),this[_0x1754f6(0x255)]&&this[_0x1754f6(0x255)]['hide']());}['dispose'](){const _0x12f3af=_0x1b1e14;for(const _0x38bfd5 of this[_0x12f3af(0x2d5)])_0x38bfd5['dispose']();this['_textBubble']&&this[_0x12f3af(0x255)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x293)]&&this[_0x12f3af(0x293)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x2d9)]&&this[_0x12f3af(0x2d9)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x33a)]&&this[_0x12f3af(0x33a)]();}[_0x1b1e14(0x32a)](){const _0x38de22=_0x1b1e14;var _0x37f6f3;const {_docSkeleton:_0x1d9da2,_document:_0x5e96b2}=this,{color:_0x19f006,name:_0x5c594d,ranges:_0x3785d5}=this['_cursor'],_0x38091f=_0x5e96b2[_0x38de22(0x376)](),{docsLeft:_0x3a480c,docsTop:_0x4e6bb0}=_0x38091f,_0xf71ebb=new _0x15e0d1[(_0x38de22(0x46a))](_0x38091f,_0x1d9da2);for(const {startOffset:_0x5918e3,endOffset:_0x5d9205,rangeType:_0x314a87,segmentId:_0x1a69f0,segmentPage:_0x2b80f6,collapsed:_0x377a1b,isActive:_0x4adad7}of _0x3785d5){const _0x24aff4=_0x1d9da2[_0x38de22(0x3c4)](_0x5918e3,!0x0,_0x1a69f0,_0x2b80f6);let _0x247ea5=_0x1d9da2['findNodePositionByCharIndex'](_0x5d9205,!0x0,_0x1a69f0,_0x2b80f6);if(_0x247ea5==null&&(_0x247ea5=_0x1d9da2[_0x38de22(0x3c4)](_0x5d9205-0x1,!0x1,_0x1a69f0,_0x2b80f6)),_0x4adad7){const {contentBoxPointGroup:_0x5d134d}=_0xf71ebb[_0x38de22(0x1e8)](_0x247ea5,_0x247ea5);if(_0x5d134d['length']===0x0)continue;this[_0x38de22(0x1ca)](_0x19f006,_0x5d134d,_0x3a480c,_0x4e6bb0,_0x5c594d),this[_0x38de22(0x33a)]=this[_0x38de22(0x183)]();}if(_0x24aff4&&_0x247ea5){if(_0x314a87===_0x1ca8c6[_0x38de22(0x239)]['RECT']){const _0x42034e=new _0x15e0d1[(_0x38de22(0x225))](_0x38091f,_0x1d9da2),{pointGroup:_0x388dbe}=(_0x37f6f3=_0x42034e[_0x38de22(0x1e8)](_0x24aff4,_0x247ea5))!=null?_0x37f6f3:{};if(_0x388dbe==null||_0x388dbe['length']===0x0)continue;this[_0x38de22(0x2ba)](_0x19f006,_0x388dbe,_0x3a480c,_0x4e6bb0);}else{if(!_0x377a1b){const {borderBoxPointGroup:_0x3ba91c}=_0xf71ebb['getRangePointData'](_0x24aff4,_0x247ea5);if(_0x3ba91c[_0x38de22(0x300)]===0x0)continue;this[_0x38de22(0x439)](_0x19f006,_0x3ba91c,_0x3a480c,_0x4e6bb0);}}}}}[_0x1b1e14(0x1ca)](_0x1628a4,_0x592a69,_0x1cc9c6,_0x6213d4,_0x400a90){const _0x28d3ab=_0x1b1e14,_0x28ab7b=this['_getAnchorBounding'](_0x592a69),{left:_0xf75f02,top:_0x33edd2,height:_0x1728cc}=_0x28ab7b,_0x4e91bb=this['_getScale'](),_0x14aa10=_0x552899/_0x4e91bb,_0x4ec918=new _0x28adc3[(_0x28d3ab(0x31b))](_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4,'height':_0x1728cc,'width':_0x3e09f0,'fill':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)][_0x28d3ab(0x289)],0x0),'strokeWidth':_0x14aa10,'stroke':_0x58b9aa,'evented':!0x0});this[_0x28d3ab(0x2d9)]=_0x4ec918,this[_0x28d3ab(0x1bc)]['addObject'](_0x4ec918,_0x15e0d1[_0x28d3ab(0x1aa)]);const _0x2178b6=new _0x28adc3[(_0x28d3ab(0x31b))](_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4-_0xcc75a0/0x2,'height':_0xcc75a0,'width':_0xcc75a0,'fill':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)][_0x28d3ab(0x289)],0x0),'strokeWidth':0x0,'stroke':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)]['black'],0x0),'evented':!0x1});this[_0x28d3ab(0x293)]=_0x2178b6,this['_scene']['addObject'](_0x2178b6,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']);const _0x1c4c3b=new _0x407ea4(_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4-_0x178bb8,'text':_0x400a90,'color':_0x1628a4});this['_textBubble']=_0x1c4c3b,this[_0x28d3ab(0x1bc)][_0x28d3ab(0x284)](_0x1c4c3b,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']),this[_0x28d3ab(0x238)]=!0x1;}[_0x1b1e14(0x183)](){const _0x50c965=_0x1b1e14,_0x277bc2=this[_0x50c965(0x2d9)][_0x50c965(0x315)][_0x50c965(0x2e7)](()=>{const _0x36bc02=_0x50c965;this[_0x36bc02(0x238)]=!0x0;}),_0xfc8946=this[_0x50c965(0x2d9)][_0x50c965(0x3cd)][_0x50c965(0x2e7)](()=>{const _0x467dcd=_0x50c965;this[_0x467dcd(0x351)]&&clearTimeout(this[_0x467dcd(0x351)]),this[_0x467dcd(0x351)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4dac2c=_0x50c965;_0x277bc2[_0x4dac2c(0x2fb)](),_0xfc8946[_0x4dac2c(0x2fb)]();};}['_drawTextRange'](_0x3dc63d,_0x507aa9,_0xc3e44b,_0x46569a){const _0x4adc18=_0x1b1e14,_0x4bdb8f=new _0x1ca8c6[(_0x4adc18(0x405))](_0x3dc63d)['setAlpha'](0.2)[_0x4adc18(0x314)](),_0x7ebdee=new _0x28adc3[(_0x4adc18(0x3b4))](_0x46567e+_0x1ca8c6[_0x4adc18(0x1a1)](_0x7e3dd4),{'pointsGroup':_0x507aa9,'fill':_0x4bdb8f||_0x28adc3[_0x4adc18(0x432)](_0x1ca8c6[_0x4adc18(0x27e)][_0x4adc18(0x289)],0.2),'left':_0xc3e44b,'top':_0x46569a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4adc18(0x2d5)][_0x4adc18(0x456)](_0x7ebdee),this[_0x4adc18(0x1bc)][_0x4adc18(0x284)](_0x7ebdee,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']);}[_0x1b1e14(0x2ba)](_0x5c235f,_0x417cf1,_0x4d57e0,_0x3bb6a8){const _0x49daa3=_0x1b1e14,_0x2a9ae7=new _0x1ca8c6[(_0x49daa3(0x405))](_0x5c235f)['setAlpha'](0.2)[_0x49daa3(0x314)](),_0x181f6d=new _0x28adc3['RegularPolygon'](_0x3b1530+_0x1ca8c6['generateRandomId'](_0x7e3dd4),{'pointsGroup':_0x417cf1,'fill':_0x2a9ae7||_0x28adc3[_0x49daa3(0x432)](_0x1ca8c6['COLORS'][_0x49daa3(0x289)],0.2),'left':_0x4d57e0,'top':_0x3bb6a8,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x49daa3(0x456)](_0x181f6d),this[_0x49daa3(0x1bc)]['addObject'](_0x181f6d,_0x15e0d1[_0x49daa3(0x1aa)]);}[_0x1b1e14(0x3c1)](_0x1de892){const _0x5408f6=_0x1de892[0x0],_0x4816b0=_0x5408f6[0x0],_0x1f8ef3=_0x5408f6[0x2],{x:_0xd17bae,y:_0x1732a5}=_0x4816b0,{x:_0x56484c,y:_0x55d96a}=_0x1f8ef3;return{'left':_0xd17bae,'top':_0x1732a5,'width':_0x56484c-_0xd17bae,'height':_0x55d96a-_0x1732a5};}[_0x1b1e14(0x2ff)](){const _0x2a6895=_0x1b1e14,{scaleX:_0xf3bb35,scaleY:_0x104495}=this[_0x2a6895(0x1bc)]['getAncestorScale']();return Math['max'](_0xf3bb35,_0x104495);}}var _0x3d6402=Object[_0x1b1e14(0x1ce)],_0x90f1aa=(_0x5295fb,_0x41d5db,_0xc32001,_0x1bcf00)=>{for(var _0x57284a=_0x1bcf00>0x1?void 0x0:_0x1bcf00?_0x3d6402(_0x41d5db,_0xc32001):_0x41d5db,_0xa944a8=_0x5295fb['length']-0x1,_0x30f4a0;_0xa944a8>=0x0;_0xa944a8--)(_0x30f4a0=_0x5295fb[_0xa944a8])&&(_0x57284a=_0x30f4a0(_0x57284a)||_0x57284a);return _0x57284a;},_0x36ae28=(_0x414eea,_0x26a6c1)=>(_0x3d6390,_0x5e77ae)=>_0x26a6c1(_0x3d6390,_0x5e77ae,_0x414eea);let _0x153663=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x4deeaf,_0x2acf49,_0x29cafe,_0x5857ef,_0x5a6ce2){const _0x291fba=_0x1b1e14;super(),_0x215ae7(this,_0x291fba(0x209),[]),_0x215ae7(this,_0x291fba(0x40f),[]),(this['_context']=_0x4deeaf,this[_0x291fba(0x268)]=_0x2acf49,this[_0x291fba(0x2c9)]=_0x29cafe,this[_0x291fba(0x3fb)]=_0x5857ef,this['_themeService']=_0x5a6ce2,this[_0x291fba(0x2f4)]());}[_0x1b1e14(0x2f4)](){const _0x5b9f9a=_0x1b1e14,_0x59710c=this[_0x5b9f9a(0x1e9)][_0x5b9f9a(0x3da)],_0x407d7e=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x3b6b5a['combineLatest']([this[_0x5b9f9a(0x2c9)][_0x5b9f9a(0x3c7)](_0x59710c),this['_themeService'][_0x5b9f9a(0x334)]])[_0x5b9f9a(0x22a)](_0x3d6951[_0x5b9f9a(0x42a)](([_0x48dc69,_0x2d8b54])=>({'skeleton':_0x407d7e[_0x5b9f9a(0x1e2)](),'cursors':[..._0x48dc69[_0x5b9f9a(0x31f)]()][_0x5b9f9a(0x32b)](_0x114887=>({..._0x114887,'color':this[_0x5b9f9a(0x319)][_0x5b9f9a(0x30a)](_0x114887[_0x5b9f9a(0x35f)])}))})))[_0x5b9f9a(0x3b9)](_0x2fe64f=>{const _0x1615d3=_0x5b9f9a;if(this[_0x1615d3(0x446)](),_0x2fe64f){const {skeleton:_0xe4cb99,cursors:_0x3ed149}=_0x2fe64f;this[_0x1615d3(0x1f6)](_0xe4cb99,_0x3ed149);}})),this[_0x5b9f9a(0x419)](),this[_0x5b9f9a(0x1db)]();}[_0x1b1e14(0x1f6)](_0x81d861,_0x4d9b0c){const _0x522ec7=_0x1b1e14,{scene:_0xbe4445,mainComponent:_0x5a99a3}=this['_context'],_0x531311=_0x4d9b0c[_0x522ec7(0x42a)](_0x2e3afe=>new _0x4c87a6(_0x2e3afe,_0xbe4445,_0x81d861,_0x5a99a3));this[_0x522ec7(0x209)]=_0x531311,this[_0x522ec7(0x40f)]=_0x4d9b0c;}[_0x1b1e14(0x2a9)](){const _0x477dc0=_0x1b1e14;this['_removeCollabCursors']();const {scene:_0x1f0448,mainComponent:_0x581f52}=this[_0x477dc0(0x1e9)],_0x5f4bb2=this[_0x477dc0(0x268)][_0x477dc0(0x1e2)](),_0x314c51=this['_cursors'][_0x477dc0(0x42a)](_0x58079=>new _0x4c87a6(_0x58079,_0x1f0448,_0x5f4bb2,_0x581f52));this[_0x477dc0(0x209)]=_0x314c51;}['_removeCollabCursors'](){const _0x302c8c=_0x1b1e14;this['_cursorShapes'][_0x302c8c(0x459)](_0x2cbeff=>_0x2cbeff[_0x302c8c(0x1cc)]()),this[_0x302c8c(0x209)]=[];}[_0x1b1e14(0x1db)](){const _0x12af37=_0x1b1e14,_0x1acea4=[_0x15e0d1[_0x12af37(0x1b6)]['id']];this['disposeWithMe'](this[_0x12af37(0x3fb)][_0x12af37(0x27f)](_0x22b0bb=>{const _0x1ec8c9=_0x12af37;_0x1acea4['includes'](_0x22b0bb['id'])&&_0x22b0bb[_0x1ec8c9(0x309)][_0x1ec8c9(0x3da)]===this[_0x1ec8c9(0x1e9)][_0x1ec8c9(0x3da)]&&this[_0x1ec8c9(0x2a9)]();}));}['_initResize'](){const _0x21cd38=_0x1b1e14;this[_0x21cd38(0x215)](_0x1ca8c6[_0x21cd38(0x280)](this[_0x21cd38(0x1e9)][_0x21cd38(0x2bf)][_0x21cd38(0x192)])[_0x21cd38(0x22a)](_0x3d6951[_0x21cd38(0x195)](_0x4de6fb=>_0x4de6fb['type']===_0x28adc3[_0x21cd38(0x2b4)]['resize']),_0x3d6951[_0x21cd38(0x26a)](0x10))[_0x21cd38(0x3b9)](()=>{const _0x467a44=_0x21cd38;this[_0x467a44(0x2a9)]();}));}};_0x153663=_0x90f1aa([_0x36ae28(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x449e95[_0x1b1e14(0x222)])),_0x36ae28(0x2,_0x1ca8c6['Inject'](_0x3bc722)),_0x36ae28(0x3,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x36ae28(0x4,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x20d)]))],_0x153663);const _0x4e005b=0x1,_0x3cb029=1.5;class _0x14419a extends _0x28adc3[_0x1b1e14(0x3f7)]{constructor(_0x558434,_0x2a8f5e){const _0x2757c8=_0x1b1e14;super(_0x558434,_0x2a8f5e),_0x215ae7(this,_0x2757c8(0x211)),_0x215ae7(this,_0x2757c8(0x440),!0x1),_0x215ae7(this,_0x2757c8(0x39b)),_0x215ae7(this,_0x2757c8(0x38f),''),_0x215ae7(this,'_labelPosition',_0x2757c8(0x35d)),_0x215ae7(this,_0x2757c8(0x33d)),(_0x2a8f5e&&this['setShapeProps'](_0x2a8f5e),this[_0x2757c8(0x315)]['subscribeEvent'](()=>this[_0x2757c8(0x247)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2757c8(0x2e7)](()=>this[_0x2757c8(0x247)]({'hovered':!0x1})));}[_0x1b1e14(0x247)](_0x465fbf){const _0x5d9d69=_0x1b1e14;var _0x279fc2,_0x45649b,_0x35ff83,_0x4f0b63,_0x5080f5,_0x3d6e7d;this[_0x5d9d69(0x211)]=(_0x279fc2=_0x465fbf[_0x5d9d69(0x35f)])!=null?_0x279fc2:this[_0x5d9d69(0x211)],this['_hovered']=(_0x45649b=_0x465fbf[_0x5d9d69(0x3f5)])!=null?_0x45649b:this[_0x5d9d69(0x440)],this[_0x5d9d69(0x39b)]=(_0x35ff83=_0x465fbf[_0x5d9d69(0x449)])!=null?_0x35ff83:this[_0x5d9d69(0x39b)],this[_0x5d9d69(0x38f)]=(_0x4f0b63=_0x465fbf[_0x5d9d69(0x184)])!=null?_0x4f0b63:this[_0x5d9d69(0x38f)],this[_0x5d9d69(0x368)]=(_0x5080f5=_0x465fbf['labelPosition'])!=null?_0x5080f5:this[_0x5d9d69(0x368)],this[_0x5d9d69(0x33d)]=(_0x3d6e7d=_0x465fbf[_0x5d9d69(0x3ee)])!=null?_0x3d6e7d:this[_0x5d9d69(0x33d)],this[_0x5d9d69(0x2ac)]({'width':_0x465fbf[_0x5d9d69(0x43c)],'height':_0x465fbf[_0x5d9d69(0x39f)]});}['onMouseMove'](_0x37b67a){const _0x510f69=_0x1b1e14,{row:_0x2be295,column:_0x395661}=_0x37b67a;if(_0x2be295>=this[_0x510f69(0x39b)]['startRow']&&_0x2be295<=this[_0x510f69(0x39b)][_0x510f69(0x24d)]&&_0x395661>=this[_0x510f69(0x39b)][_0x510f69(0x39c)]&&_0x395661<=this[_0x510f69(0x39b)][_0x510f69(0x270)]){this[_0x510f69(0x247)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1b1e14(0x1f7)](_0x36f638){return!0x1;}['_draw'](_0x58ca59){const _0x29693e=_0x1b1e14;_0x28adc3[_0x29693e(0x31b)][_0x29693e(0x434)](_0x58ca59,{'width':this[_0x29693e(0x43c)],'height':this[_0x29693e(0x39f)],'strokeWidth':_0x3cb029,'stroke':this[_0x29693e(0x211)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x58ca59[_0x29693e(0x42b)](),_0x58ca59[_0x29693e(0x1ec)](0x1,0x0,0x0,0x1,this['width'],this[_0x29693e(0x368)]===_0x29693e(0x22f)?0x0:-_0x178bb8),_0x407ea4[_0x29693e(0x434)](_0x58ca59,{'text':this[_0x29693e(0x38f)],'color':this[_0x29693e(0x211)]}),_0x58ca59[_0x29693e(0x1a0)]());}}var _0x1ad02c=Object['getOwnPropertyDescriptor'],_0x320861=(_0x5c09ef,_0x549118,_0x12fb59,_0x3223b7)=>{const _0x287ed3=_0x1b1e14;for(var _0x1f6ceb=_0x3223b7>0x1?void 0x0:_0x3223b7?_0x1ad02c(_0x549118,_0x12fb59):_0x549118,_0xb95196=_0x5c09ef[_0x287ed3(0x300)]-0x1,_0x2aa156;_0xb95196>=0x0;_0xb95196--)(_0x2aa156=_0x5c09ef[_0xb95196])&&(_0x1f6ceb=_0x2aa156(_0x1f6ceb)||_0x1f6ceb);return _0x1f6ceb;},_0x3dbc37=(_0x1b4d13,_0x2d795b)=>(_0xa56d05,_0x278fe4)=>_0x2d795b(_0xa56d05,_0x278fe4,_0x1b4d13);const _0x606660=0x1389;let _0x2da07f=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xc2f092,_0x44c7c2,_0x1539d4,_0x22607b){const _0x265915=_0x1b1e14;super(),_0x215ae7(this,_0x265915(0x40f),new Set()),_0x215ae7(this,_0x265915(0x3f8),null),(this['_context']=_0xc2f092,this[_0x265915(0x18e)]=_0x44c7c2,this[_0x265915(0x2c9)]=_0x1539d4,this[_0x265915(0x319)]=_0x22607b,this[_0x265915(0x2f4)]());}[_0x1b1e14(0x2f4)](){const _0x5d5447=_0x1b1e14;this['_sheetSkeletonManagerService'][_0x5d5447(0x2ce)][_0x5d5447(0x22a)](_0x3d6951[_0x5d5447(0x264)](this['dispose$']),_0x3d6951['switchMap'](_0x1d2c0c=>{const _0x4ba2ff=_0x5d5447;if(_0x1d2c0c){const _0x46e767=_0x1d2c0c[_0x4ba2ff(0x3e2)];return _0x3b6b5a[_0x4ba2ff(0x2fa)](this[_0x4ba2ff(0x2c9)][_0x4ba2ff(0x3c7)](this[_0x4ba2ff(0x1e9)]['unitId']),this[_0x4ba2ff(0x319)]['currentTheme$'])[_0x4ba2ff(0x22a)](_0x3d6951['map'](([_0x3d4966,_0x209e7b])=>{const _0x2e3522=new Map();return _0x3d4966['forEach']((_0x3cd5ed,_0x349058)=>{const _0x4d98f8=_0x4e18;if(_0x3cd5ed[_0x4d98f8(0x339)]===_0x46e767){const _0x45685f={..._0x3cd5ed};_0x45685f['color']=this[_0x4d98f8(0x319)][_0x4d98f8(0x30a)](_0x3cd5ed['color']),_0x2e3522['set'](_0x349058,_0x45685f);}}),{'skeleton':_0x1d2c0c,'cursors':_0x2e3522};}));}return _0x3b6b5a['of']({'skeleton':null,'cursors':new Map()});}))[_0x5d5447(0x3b9)](({skeleton:_0x3b5e3d,cursors:_0x407875})=>{const _0x41d3e3=_0x5d5447;this['_removeCollabCursors'](),_0x3b5e3d&&this[_0x41d3e3(0x1f6)](_0x3b5e3d,_0x407875);}),this['_sheetSkeletonManagerService'][_0x5d5447(0x2ce)][_0x5d5447(0x3b9)](_0x2a7f44=>{const _0x111d34=_0x5d5447;if(_0x2a7f44==null)return;const {skeleton:_0x3254f8}=_0x2a7f44,{scene:_0x424988}=this[_0x111d34(0x1e9)];_0x424988[_0x111d34(0x285)]['subscribeEvent'](_0x1ca8c6[_0x111d34(0x1d1)](_0x5734fc=>{const _0x150daf=_0x111d34;var _0x1be33b,_0x5ca894;const {offsetX:_0x2e4771,offsetY:_0x4f0d60}=_0x5734fc,{x:_0x6e88dc,y:_0x13ce38}=_0x424988[_0x150daf(0x3ac)](_0x28adc3[_0x150daf(0x27b)]['FromArray']([_0x2e4771,_0x4f0d60])),{scaleX:_0x49c92e,scaleY:_0x5076c5}=_0x424988['getAncestorScale'](),_0x3eac77=_0x424988[_0x150daf(0x401)](_0x28adc3[_0x150daf(0x356)][_0x150daf(0x420)]),_0x39b902=_0x424988[_0x150daf(0x2d6)](_0x28adc3['Vector2'][_0x150daf(0x399)]([_0x6e88dc,_0x13ce38]),_0x3eac77),_0x8d7b58=_0x3254f8[_0x150daf(0x1d8)](_0x2e4771,_0x4f0d60,_0x49c92e,_0x5076c5,_0x39b902);((_0x1be33b=this[_0x150daf(0x3f8)])==null?void 0x0:_0x1be33b[_0x150daf(0x3e4)])===_0x8d7b58[_0x150daf(0x3e4)]&&((_0x5ca894=this[_0x150daf(0x3f8)])==null?void 0x0:_0x5ca894[_0x150daf(0x313)])===_0x8d7b58[_0x150daf(0x313)]||this[_0x150daf(0x40f)]['forEach'](_0x870d70=>{const _0x5c7544=_0x150daf;_0x870d70[_0x5c7544(0x386)](_0x8d7b58);});},0x64));});}['_updateCollabCursors'](_0xcb7c67,_0x3c85f0){const _0x5f3e8b=_0x1b1e14;var _0x4a6027;const _0x3d81b1=(_0x4a6027=this[_0x5f3e8b(0x18e)][_0x5f3e8b(0x310)]())==null?void 0x0:_0x4a6027[_0x5f3e8b(0x20c)];if(!_0x3d81b1)return;const _0x37cdbe=this['_getSheetObject']();if(!_0x37cdbe)return;this[_0x5f3e8b(0x40f)][_0x5f3e8b(0x459)](_0x172363=>{const _0x2fb0f0=_0x5f3e8b;_0x172363[_0x2fb0f0(0x1b9)]();});const {scene:_0x1f2a9d}=_0x37cdbe,_0x275de1=_0x3fb8bf(Array[_0x5f3e8b(0x2f2)](_0x3c85f0['values']()))[_0x5f3e8b(0x42a)](_0x2a9d52=>{const _0x3e401a=_0x5f3e8b,{color:_0x411114,range:_0x4f30e9,name:_0x191145,selection:_0xd9a044,sheetID:_0x32810d}=_0x2a9d52,{startColumn:_0x30ac0a,startRow:_0x2d2de0,endColumn:_0x1043ed,endRow:_0x4959bc}=_0x4f30e9,_0x3b99d1=_0x5436e7['getCoordByCell'](_0x2d2de0,_0x30ac0a,_0x1f2a9d,_0x3d81b1),_0x28d1e1=_0x5436e7[_0x3e401a(0x34b)](_0x4959bc,_0x1043ed,_0x1f2a9d,_0x3d81b1),{columnHeaderHeightAndMarginTop:_0x193b90}=_0x3d81b1,{startX:_0x617c6e,startY:_0x5449c7}=_0x3b99d1,{endX:_0x12787f,endY:_0x2e99a3}=_0x28d1e1,_0x40703d=_0x12787f-_0x617c6e,_0x311794=_0x2e99a3-_0x5449c7,_0x1ca54b={'labelPosition':_0x5449c7-_0x193b90>=_0x178bb8?_0x3e401a(0x35d):_0x3e401a(0x22f),'sheetID':_0x32810d,'range':_0x4f30e9,'color':_0x411114,'name':_0x191145,'selection':_0xd9a044,'left':_0x617c6e,'top':_0x5449c7,'width':_0x40703d,'height':_0x311794,'evented':!0x1,'zIndex':_0x606660};return new _0x14419a(_0x191145,_0x1ca54b);});_0x1f2a9d[_0x5f3e8b(0x2cd)](_0x275de1,_0x4e005b),this[_0x5f3e8b(0x40f)]=new Set(_0x275de1);}[_0x1b1e14(0x446)](){const _0x3bae88=_0x1b1e14;var _0x584a32;(_0x584a32=this[_0x3bae88(0x40f)])==null||_0x584a32[_0x3bae88(0x459)](_0x334a1b=>_0x334a1b['dispose']());}[_0x1b1e14(0x1ae)](){const _0x2e663c=_0x1b1e14;return _0x5436e7['getSheetObject'](this[_0x2e663c(0x1e9)]['unit'],this['_context']);}};_0x2da07f=_0x320861([_0x3dbc37(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x5436e7[_0x1b1e14(0x19c)])),_0x3dbc37(0x2,_0x1ca8c6['Inject'](_0x3bc722)),_0x3dbc37(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x20d)]))],_0x2da07f);function _0x3fb8bf(_0x1062a3){const _0x45f62b=_0x1b1e14,_0x14e467=new Map();return _0x1062a3['forEach'](_0x190598=>{const _0x44e2cf=_0x4e18;if(_0x14e467['has'](_0x190598[_0x44e2cf(0x35e)])){const _0x57c23f=_0x14e467['get'](_0x190598['selection']);_0x57c23f[_0x44e2cf(0x184)]+=',\x20'+_0x190598['name'];}else _0x14e467['set'](_0x190598[_0x44e2cf(0x35e)],_0x190598);}),Array[_0x45f62b(0x2f2)](_0x14e467['values']());}var _0x355e19=Object[_0x1b1e14(0x1ce)],_0x26578d=(_0x45b48d,_0x2be71d,_0x3aa54f,_0x2fba10)=>{const _0x4e37d9=_0x1b1e14;for(var _0xf282e6=_0x2fba10>0x1?void 0x0:_0x2fba10?_0x355e19(_0x2be71d,_0x3aa54f):_0x2be71d,_0x577d6c=_0x45b48d[_0x4e37d9(0x300)]-0x1,_0x5ecb8c;_0x577d6c>=0x0;_0x577d6c--)(_0x5ecb8c=_0x45b48d[_0x577d6c])&&(_0xf282e6=_0x5ecb8c(_0xf282e6)||_0xf282e6);return _0xf282e6;},_0x5460fe=(_0x5a7757,_0x42d0f0)=>(_0x29e7cb,_0x451280)=>_0x42d0f0(_0x29e7cb,_0x451280,_0x5a7757);let _0x22380c=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x46e717,_0x5099c0,_0x246ace,_0x3a0533,_0x42dd3d,_0x391a68){const _0x42abea=_0x1b1e14;super(),this[_0x42abea(0x1b8)]=_0x46e717,this[_0x42abea(0x46e)]=_0x5099c0,this[_0x42abea(0x45a)]=_0x246ace,this[_0x42abea(0x3d7)]=_0x3a0533,this['_notificationService']=_0x42dd3d,this[_0x42abea(0x34d)]=_0x391a68,this[_0x42abea(0x37c)](),this[_0x42abea(0x3d4)]();}[_0x1b1e14(0x37c)](){const _0x545487=_0x1b1e14;this['disposeWithMe'](this['_beforeCloseService'][_0x545487(0x1f8)](()=>{const _0x48c49d=_0x545487;if(this[_0x48c49d(0x46e)][_0x48c49d(0x22c)]['size'])return this[_0x48c49d(0x34d)]['t'](_0x48c49d(0x426));}));}[_0x1b1e14(0x3d4)](){const _0x56d394=_0x1b1e14;this[_0x56d394(0x215)](this[_0x56d394(0x45a)][_0x56d394(0x31e)][_0x56d394(0x3b9)](_0x16d6aa=>{const _0x3795fc=_0x56d394;_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x1df)]&&this[_0x3795fc(0x3d7)][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x411))}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x2e2))}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x44c)]&&this[_0x3795fc(0x2dd)]['show']({'title':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x389)),'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x378)),'type':'error','duration':0x0}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId'][_0x3795fc(0x2c6)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3['MessageType'][_0x3795fc(0x37a)],'content':this['_localeService']['t'](_0x3795fc(0x2e2))+'('+_0x16d6aa[_0x3795fc(0x45f)]+')'}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x33c)]&&this[_0x3795fc(0x3d7)]['show']({'type':_0x5cbfd3['MessageType']['Warning'],'content':this[_0x3795fc(0x34d)]['t'](_0x16d6aa[_0x3795fc(0x45f)]||'')}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x3e9)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t']('session.will-retry')}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId'][_0x3795fc(0x3d5)]&&this[_0x3795fc(0x3d7)][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x37a)],'content':this[_0x3795fc(0x34d)]['t']('session.connection-failed')}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x2cc)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x37a)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x342))});}));}};_0x22380c=_0x26578d([_0x5460fe(0x0,_0x535318[_0x1b1e14(0x1a4)]),_0x5460fe(0x1,_0x4d5f16[_0x1b1e14(0x3d6)]),_0x5460fe(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16['CollaborationUIEventService'])),_0x5460fe(0x3,_0x535318[_0x1b1e14(0x447)]),_0x5460fe(0x4,_0x535318['INotificationService']),_0x5460fe(0x5,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x22380c);var _0x57a7f3=Object['getOwnPropertyDescriptor'],_0x35675a=(_0x569fc6,_0x58944f,_0x43ab52,_0x30a512)=>{const _0x49a5b5=_0x1b1e14;for(var _0x107779=_0x30a512>0x1?void 0x0:_0x30a512?_0x57a7f3(_0x58944f,_0x43ab52):_0x58944f,_0x25caf4=_0x569fc6[_0x49a5b5(0x300)]-0x1,_0x11d9b9;_0x25caf4>=0x0;_0x25caf4--)(_0x11d9b9=_0x569fc6[_0x25caf4])&&(_0x107779=_0x11d9b9(_0x107779)||_0x107779);return _0x107779;},_0x1d72be=(_0x3ddf90,_0x4ef2fb)=>(_0xcb66b3,_0x261e54)=>_0x4ef2fb(_0xcb66b3,_0x261e54,_0x3ddf90);let _0x4b7de8=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x1e85df,_0x3d2ad6,_0x548719,_0x39853d){const _0x434e8e=_0x1b1e14;super(),_0x215ae7(this,_0x434e8e(0x25b)),(this[_0x434e8e(0x28c)]=_0x1e85df,this[_0x434e8e(0x208)]=_0x3d2ad6,this[_0x434e8e(0x3e0)]=_0x548719,this[_0x434e8e(0x40d)]=_0x39853d,this[_0x434e8e(0x2f4)]());}[_0x1b1e14(0x2f4)](){this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x1b1e14(0x32e)](){const _0x1f76d8=_0x1b1e14;this['disposeWithMe'](this[_0x1f76d8(0x40d)][_0x1f76d8(0x317)][_0x1f76d8(0x3b9)](_0x3282dc=>{const _0x28eda6=_0x1f76d8;this[_0x28eda6(0x25b)]=_0x3282dc==null?void 0x0:_0x3282dc[_0x28eda6(0x252)];}));}['_initWindowErrorListener'](){const _0x246990=_0x1b1e14,_0x55c39c=_0x2aee80=>{const _0x46266b=_0x4e18;var _0x55029b;this[_0x46266b(0x198)](_0x46266b(0x191),'[Window\x20Error]:\x20'+_0x2aee80[_0x46266b(0x2de)]+_0x46266b(0x43b)+_0x2aee80[_0x46266b(0x350)]+':'+_0x2aee80[_0x46266b(0x3fc)]+':'+_0x2aee80[_0x46266b(0x427)]+'\x0a'+(((_0x55029b=_0x2aee80[_0x46266b(0x191)])==null?void 0x0:_0x55029b[_0x46266b(0x2f1)])||''));};window[_0x246990(0x469)](_0x246990(0x191),_0x55c39c),this['disposeWithMe'](()=>{const _0xd9454b=_0x246990;window[_0xd9454b(0x3cb)](_0xd9454b(0x191),_0x55c39c);});}[_0x1b1e14(0x23e)](){const _0x54103f=_0x1b1e14,_0x221799=_0x53372b=>{const _0x2d3d4b=_0x4e18;this[_0x2d3d4b(0x198)](_0x2d3d4b(0x191),_0x2d3d4b(0x41d)+_0x53372b['reason']);};window[_0x54103f(0x469)](_0x54103f(0x19e),_0x221799),this[_0x54103f(0x215)](()=>{const _0x16d4fb=_0x54103f;window[_0x16d4fb(0x3cb)](_0x16d4fb(0x19e),_0x221799);});}[_0x1b1e14(0x278)](){const _0x367252=_0x1b1e14,_0x388f4d=this[_0x367252(0x3e0)][_0x367252(0x191)]['bind'](this['_logService']);this[_0x367252(0x3e0)][_0x367252(0x191)]=(..._0x58c8f9)=>{const _0x20ab19=_0x367252,_0x42f805=_0x58c8f9[_0x20ab19(0x42a)](_0x2a0e5f=>_0x2a0e5f instanceof Error?_0x2a0e5f[_0x20ab19(0x2de)]+'\x0a'+_0x2a0e5f[_0x20ab19(0x2f1)]:String(_0x2a0e5f))[_0x20ab19(0x2cb)]('\x20');this[_0x20ab19(0x198)]('error',_0x20ab19(0x21c)+_0x42f805),_0x388f4d(..._0x58c8f9);},this[_0x367252(0x215)](()=>{const _0x222a00=_0x367252;this[_0x222a00(0x3e0)][_0x222a00(0x191)]=_0x388f4d;});}[_0x1b1e14(0x198)](_0x62fb32,_0x40b830){const _0x1c42fa=_0x1b1e14;try{const _0x57091b={'userId':this[_0x1c42fa(0x25b)],'logLabel':_0x62fb32,'content':_0x40b830};this[_0x1c42fa(0x208)][_0x1c42fa(0x1a3)](_0x1c42fa(0x18b),{'body':_0x57091b})[_0x1c42fa(0x461)](()=>{});}catch{}}};_0x4b7de8=_0x35675a([_0x1d72be(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x1d72be(0x1,_0x1ca8c6['Inject'](_0x89ff74['HTTPService'])),_0x1d72be(0x2,_0x1ca8c6[_0x1b1e14(0x353)]),_0x1d72be(0x3,_0x1ca8c6['Inject'](_0x4d5f16[_0x1b1e14(0x2ad)]))],_0x4b7de8);const _0x44d605='collaboration-client-ui.config',_0x41c00e={};var _0x2de86e=Object[_0x1b1e14(0x1ce)],_0x1da1e0=(_0x85712,_0x23fd9e,_0x2d4015,_0xaabfb5)=>{const _0x236da8=_0x1b1e14;for(var _0x360ac6=_0xaabfb5>0x1?void 0x0:_0xaabfb5?_0x2de86e(_0x23fd9e,_0x2d4015):_0x23fd9e,_0x5db1f3=_0x85712[_0x236da8(0x300)]-0x1,_0x351b83;_0x5db1f3>=0x0;_0x5db1f3--)(_0x351b83=_0x85712[_0x5db1f3])&&(_0x360ac6=_0x351b83(_0x360ac6)||_0x360ac6);return _0x360ac6;},_0x4e73ae=(_0x18fb1c,_0x406bb4)=>(_0x2fb16a,_0xe7dfec)=>_0x406bb4(_0x2fb16a,_0xe7dfec,_0x18fb1c);let _0x41d520=class{constructor(_0x17c5ac,_0x4a00af){const _0x374638=_0x1b1e14;this[_0x374638(0x38a)]=_0x17c5ac,this[_0x374638(0x416)]=_0x4a00af;}['transformIMECache'](_0xcfa78a){const _0x4276cb=_0x1b1e14;this[_0x4276cb(0x409)](_0xcfa78a),this['_transformPreviousActiveRange'](_0xcfa78a);}[_0x1b1e14(0x2cf)](_0x360b95){const _0x2f312c=_0x1b1e14,{unitID:_0x46d853}=_0x360b95,_0x1c3384=this[_0x2f312c(0x416)][_0x2f312c(0x199)](_0x46d853)[_0x2f312c(0x39d)](_0x15e0d1['DocIMEInputManagerService']),{redoCache:_0x49810d}=_0x1c3384[_0x2f312c(0x457)]();if(_0x49810d[_0x2f312c(0x300)]===0x0)return _0x360b95;let _0x312d5f=_0x1ca8c6['Tools'][_0x2f312c(0x261)](_0x360b95[_0x2f312c(0x216)][0x0]);for(let _0x560981=0x0;_0x560981<_0x49810d['length'];_0x560981++){const _0x3594e4={'id':'doc.mutation.rich-text-editing','params':{..._0x49810d[_0x560981]}},_0x504bfb=this['_transformService']['transformMutation'](_0x312d5f,_0x3594e4,!0x1);if(_0x598d32[_0x2f312c(0x1af)](_0x504bfb))throw _0x504bfb[_0x2f312c(0x191)];_0x312d5f=_0x504bfb['m1Prime'];}return{..._0x1ca8c6[_0x2f312c(0x438)]['deepClone'](_0x360b95),'mutations':[_0x312d5f]};}[_0x1b1e14(0x409)](_0x51e933){const _0x32ccf7=_0x1b1e14,{unitID:_0x1d49c5}=_0x51e933,_0x26d112=this[_0x32ccf7(0x416)][_0x32ccf7(0x199)](_0x1d49c5)['with'](_0x15e0d1[_0x32ccf7(0x202)]),{undoCache:_0x8128ca,redoCache:_0x4824f9}=_0x26d112['getUndoRedoMutationParamsCache']();if(_0x8128ca[_0x32ccf7(0x300)]===0x0||_0x4824f9['length']===0x0)return;const _0x2618e3=[],_0x2abc95=[];let _0x2e3596=_0x1ca8c6['Tools']['deepClone'](_0x51e933['mutations'][0x0]),_0x3f7e4b=_0x1ca8c6[_0x32ccf7(0x438)][_0x32ccf7(0x261)](_0x51e933[_0x32ccf7(0x216)][0x0]);for(let _0x513247=_0x8128ca[_0x32ccf7(0x300)]-0x1;_0x513247>=0x0;_0x513247--){const _0xe66eaf={'id':_0x32ccf7(0x354),'params':{..._0x8128ca[_0x513247]}},_0x3e5bd5={'id':_0x32ccf7(0x354),'params':{..._0x4824f9[_0x513247]}},_0x1a9e92=this['_transformService'][_0x32ccf7(0x398)](_0x2e3596,_0xe66eaf,!0x1),_0x3835b2=this[_0x32ccf7(0x38a)][_0x32ccf7(0x398)](_0x3f7e4b,_0x3e5bd5,!0x1);if(_0x598d32['isTransformMutationFailure'](_0x1a9e92))throw _0x1a9e92[_0x32ccf7(0x191)];if(_0x598d32[_0x32ccf7(0x1af)](_0x3835b2))throw _0x3835b2['error'];_0x2618e3['unshift'](_0x1a9e92['m2Prime'][_0x32ccf7(0x309)]),_0x2abc95[_0x32ccf7(0x453)](_0x3835b2['m2Prime'][_0x32ccf7(0x309)]),_0x2e3596=_0x1a9e92[_0x32ccf7(0x304)],_0x3f7e4b=_0x3835b2[_0x32ccf7(0x304)];}_0x26d112[_0x32ccf7(0x393)]({'undoCache':_0x2618e3,'redoCache':_0x2abc95});}['_transformPreviousActiveRange'](_0x434cdb){const _0x2deea1=_0x1b1e14,{unitID:_0xd4a07c}=_0x434cdb,_0x37f0ba=this[_0x2deea1(0x416)]['getRenderById'](_0xd4a07c)[_0x2deea1(0x39d)](_0x15e0d1['DocIMEInputManagerService']),_0x22a49a=_0x37f0ba['getActiveRange']();if(_0x22a49a==null)return;const _0xdde130=[{'id':_0x2deea1(0x354),'params':{'unitId':_0x434cdb[_0x2deea1(0x30f)],'actions':null,'textRanges':[_0x22a49a]}}],_0x7920bf=this[_0x2deea1(0x38a)][_0x2deea1(0x3b1)](_0x434cdb,_0xdde130);if(!_0x598d32['isTransformMutationsWithChangesetSuccess'](_0x7920bf))throw _0x7920bf[_0x2deea1(0x191)];const _0xabf817=_0x7920bf[_0x2deea1(0x384)][0x0][_0x2deea1(0x309)][_0x2deea1(0x40b)];Array['isArray'](_0xabf817)&&_0xabf817[_0x2deea1(0x300)]&&_0x37f0ba[_0x2deea1(0x464)](_0xabf817[0x0]);}};_0x41d520=_0x1da1e0([_0x4e73ae(0x0,_0x598d32[_0x1b1e14(0x27c)]),_0x4e73ae(0x1,_0x28adc3['IRenderManagerService'])],_0x41d520);var _0x24a99f=Object[_0x1b1e14(0x1ce)],_0x52124f=(_0x591263,_0x33149c,_0x191491,_0x28c5c1)=>{const _0x4b9217=_0x1b1e14;for(var _0x1018ed=_0x28c5c1>0x1?void 0x0:_0x28c5c1?_0x24a99f(_0x33149c,_0x191491):_0x33149c,_0x5de699=_0x591263[_0x4b9217(0x300)]-0x1,_0x3de76c;_0x5de699>=0x0;_0x5de699--)(_0x3de76c=_0x591263[_0x5de699])&&(_0x1018ed=_0x3de76c(_0x1018ed)||_0x1018ed);return _0x1018ed;},_0x4dda8b=(_0x35fe77,_0x3ffc00)=>(_0xc8cb1d,_0x35a731)=>_0x3ffc00(_0xc8cb1d,_0x35a731,_0x35fe77);let _0x939c01=class{constructor(_0x29b969,_0x34ed1e,_0x1ba877){const _0x5dd242=_0x1b1e14;this[_0x5dd242(0x28c)]=_0x29b969,this['_transformService']=_0x34ed1e,this[_0x5dd242(0x436)]=_0x1ba877;}[_0x1b1e14(0x18c)](_0x4ccc8f){const _0x2e4b23=_0x1b1e14;this[_0x2e4b23(0x348)](_0x4ccc8f);}[_0x1b1e14(0x2cf)](_0x1afcfa){const _0x3af402=_0x1b1e14,{unitID:_0x2a3d29}=_0x1afcfa,{collaboration:_0x4cfabe}=this[_0x3af402(0x436)][_0x3af402(0x2d4)](_0x2a3d29);if(_0x4cfabe[_0x3af402(0x300)]===0x0)return _0x1afcfa;let _0x3ef4ae=_0x1ca8c6[_0x3af402(0x438)][_0x3af402(0x261)](_0x1afcfa[_0x3af402(0x216)][0x0]);for(let _0x55bb5d=0x0;_0x55bb5d<_0x4cfabe[_0x3af402(0x300)];_0x55bb5d++){const _0x122bb5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cfabe[_0x55bb5d][_0x3af402(0x3da)],..._0x4cfabe[_0x55bb5d][_0x3af402(0x2f9)]}},_0x541c9f=this[_0x3af402(0x38a)][_0x3af402(0x398)](_0x3ef4ae,_0x122bb5,!0x1);if(_0x598d32[_0x3af402(0x1af)](_0x541c9f))throw _0x541c9f['error'];_0x3ef4ae=_0x541c9f[_0x3af402(0x304)];}return{..._0x1ca8c6['Tools']['deepClone'](_0x1afcfa),'mutations':[_0x3ef4ae]};}[_0x1b1e14(0x348)](_0x83412d){const _0x10882a=_0x1b1e14,{unitID:_0x13ebed}=_0x83412d,{history:_0x1853d8,collaboration:_0x4f0201}=this[_0x10882a(0x436)][_0x10882a(0x2d4)](_0x13ebed);if(_0x1853d8['length']===0x0&&_0x4f0201[_0x10882a(0x300)]===0x0)return;const _0x31ed9c=[],_0x40382e=[];let _0xd20927=_0x1ca8c6['Tools'][_0x10882a(0x261)](_0x83412d['mutations'][0x0]),_0x1f5cc1=_0x1ca8c6['Tools']['deepClone'](_0x83412d[_0x10882a(0x216)][0x0]);for(let _0x492478=_0x1853d8[_0x10882a(0x300)]-0x1;_0x492478>=0x0;_0x492478--){const _0x36cc0f={'id':_0x10882a(0x354),'params':{'unitId':_0x1853d8[_0x492478][_0x10882a(0x3da)],..._0x1853d8[_0x492478][_0x10882a(0x408)]}},_0x2aac9b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1853d8[_0x492478][_0x10882a(0x3da)],..._0x1853d8[_0x492478][_0x10882a(0x2f9)]}},_0x3a3008=this['_transformService'][_0x10882a(0x398)](_0xd20927,_0x36cc0f,!0x1),_0x3e67fb=this['_transformService'][_0x10882a(0x398)](_0x1f5cc1,_0x2aac9b,!0x1);if(_0x598d32['isTransformMutationFailure'](_0x3a3008))throw _0x3a3008[_0x10882a(0x191)];if(_0x598d32[_0x10882a(0x1af)](_0x3e67fb))throw _0x3e67fb[_0x10882a(0x191)];_0x31ed9c[_0x10882a(0x453)]({..._0x1853d8[_0x492478],'undoState':_0x3a3008[_0x10882a(0x384)]['params'],'redoState':_0x3e67fb[_0x10882a(0x384)][_0x10882a(0x309)]}),_0xd20927=_0x3a3008[_0x10882a(0x304)],_0x1f5cc1=_0x3e67fb['m1Prime'];}_0xd20927=_0x1ca8c6[_0x10882a(0x438)][_0x10882a(0x261)](_0x83412d['mutations'][0x0]),_0x1f5cc1=_0x1ca8c6['Tools']['deepClone'](_0x83412d[_0x10882a(0x216)][0x0]);for(let _0x17ae9=_0x4f0201[_0x10882a(0x300)]-0x1;_0x17ae9>=0x0;_0x17ae9--){const _0x51cf07={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f0201[_0x17ae9][_0x10882a(0x3da)],..._0x4f0201[_0x17ae9][_0x10882a(0x408)]}},_0x53ca3e={'id':_0x10882a(0x354),'params':{'unitId':_0x4f0201[_0x17ae9][_0x10882a(0x3da)],..._0x4f0201[_0x17ae9][_0x10882a(0x2f9)]}},_0x5cb597=this[_0x10882a(0x38a)]['transformMutation'](_0xd20927,_0x51cf07,!0x1),_0x172d01=this[_0x10882a(0x38a)][_0x10882a(0x398)](_0x1f5cc1,_0x53ca3e,!0x1);if(_0x598d32[_0x10882a(0x1af)](_0x5cb597))throw _0x5cb597[_0x10882a(0x191)];if(_0x598d32[_0x10882a(0x1af)](_0x172d01))throw _0x172d01['error'];_0x40382e['unshift']({..._0x4f0201[_0x17ae9],'undoState':_0x5cb597[_0x10882a(0x384)][_0x10882a(0x309)],'redoState':_0x172d01['m2Prime'][_0x10882a(0x309)]}),_0xd20927=_0x5cb597[_0x10882a(0x304)],_0x1f5cc1=_0x172d01['m1Prime'];}this[_0x10882a(0x436)][_0x10882a(0x366)](_0x13ebed,{'history':_0x31ed9c,'collaboration':_0x40382e});}};_0x939c01=_0x52124f([_0x4dda8b(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x4dda8b(0x1,_0x598d32[_0x1b1e14(0x27c)]),_0x4dda8b(0x2,_0x1ca8c6['Inject'](_0x15e0d1['DocStateChangeManagerService']))],_0x939c01);var _0x1b9c38=Object['getOwnPropertyDescriptor'],_0x3a8e2f=(_0x584f16,_0x221525,_0x719bbc,_0x2f1261)=>{for(var _0x18e939=_0x2f1261>0x1?void 0x0:_0x2f1261?_0x1b9c38(_0x221525,_0x719bbc):_0x221525,_0x17ea1d=_0x584f16['length']-0x1,_0xbb4e23;_0x17ea1d>=0x0;_0x17ea1d--)(_0xbb4e23=_0x584f16[_0x17ea1d])&&(_0x18e939=_0xbb4e23(_0x18e939)||_0x18e939);return _0x18e939;},_0x1b5a72=(_0x1a3f27,_0x39c109)=>(_0x4cb7d6,_0x21b408)=>_0x39c109(_0x4cb7d6,_0x21b408,_0x1a3f27);let _0x79c0f7=class{constructor(_0x113775,_0x2d24fc){const _0x39a4a=_0x1b1e14;this[_0x39a4a(0x28c)]=_0x113775,this[_0x39a4a(0x38a)]=_0x2d24fc;}['transformSelections'](_0x18c970){const _0x2b3df0=_0x1b1e14;var _0x38bc2b;const _0x335c2b=this[_0x2b3df0(0x28c)][_0x2b3df0(0x318)](_0x449e95[_0x2b3df0(0x1bd)]),_0x40d6a7=(_0x38bc2b=_0x335c2b[_0x2b3df0(0x23b)]())!=null?_0x38bc2b:[];if(_0x40d6a7[_0x2b3df0(0x300)]===0x0)return;const _0x253df5=_0x18c970[_0x2b3df0(0x30f)],_0x4d53a1=[{'id':_0x2b3df0(0x354),'params':{'unitId':_0x253df5,'actions':null,'textRanges':_0x40d6a7}}],_0x4c5bb3=this[_0x2b3df0(0x38a)]['transformMutationsWithChangeset'](_0x18c970,_0x4d53a1);if(!_0x598d32[_0x2b3df0(0x1ef)](_0x4c5bb3))throw _0x4c5bb3[_0x2b3df0(0x191)];const _0x4981fa=_0x4c5bb3[_0x2b3df0(0x384)][0x0][_0x2b3df0(0x309)][_0x2b3df0(0x40b)];Array[_0x2b3df0(0x1fa)](_0x4981fa)&&_0x4981fa['length']&&_0x335c2b[_0x2b3df0(0x1b2)](_0x4981fa,{'unitId':_0x253df5,'subUnitId':_0x253df5},!0x1);}};_0x79c0f7=_0x3a8e2f([_0x1b5a72(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x1b5a72(0x1,_0x598d32[_0x1b1e14(0x27c)])],_0x79c0f7);var _0x55b9c5=Object['getOwnPropertyDescriptor'],_0x5f16a=(_0x9790c6,_0x24a6fb,_0x42efb7,_0x529f67)=>{const _0x1bf09e=_0x1b1e14;for(var _0x389e07=_0x529f67>0x1?void 0x0:_0x529f67?_0x55b9c5(_0x24a6fb,_0x42efb7):_0x24a6fb,_0xbcb4bb=_0x9790c6[_0x1bf09e(0x300)]-0x1,_0x5b6bde;_0xbcb4bb>=0x0;_0xbcb4bb--)(_0x5b6bde=_0x9790c6[_0xbcb4bb])&&(_0x389e07=_0x5b6bde(_0x389e07)||_0x389e07);return _0x389e07;},_0x512418=(_0x3c30f4,_0x3e7da9)=>(_0x347033,_0x4e2e9d)=>_0x3e7da9(_0x347033,_0x4e2e9d,_0x3c30f4);let _0x231b71=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x3bbe5d,_0x1fbe8a,_0x4c8c47,_0x7e8456,_0x457a8e,_0xf250f4,_0x3e122e,_0x5bb0b4){const _0x2b9b57=_0x1b1e14;super(),_0x215ae7(this,'_status$',new _0x3b6b5a[(_0x2b9b57(0x1b1))](_0x4d5f16[_0x2b9b57(0x437)][_0x2b9b57(0x331)])),(this[_0x2b9b57(0x436)]=_0x3bbe5d,this[_0x2b9b57(0x44a)]=_0x1fbe8a,this[_0x2b9b57(0x383)]=_0x4c8c47,this[_0x2b9b57(0x1d7)]=_0x7e8456,this[_0x2b9b57(0x352)]=_0x457a8e,this[_0x2b9b57(0x1a8)]=_0xf250f4,this[_0x2b9b57(0x3d7)]=_0x3e122e,this[_0x2b9b57(0x34d)]=_0x5bb0b4,this[_0x2b9b57(0x2b5)]());}[_0x1b1e14(0x2b5)](){const _0x59b507=_0x1b1e14;this['disposeWithMe'](this[_0x59b507(0x44a)][_0x59b507(0x347)]['subscribe'](_0x16196e=>{const _0x11e0f4=_0x59b507,_0x313873=this['_docStateChangeManagerService'][_0x11e0f4(0x3f3)][_0x11e0f4(0x3b9)](_0x33c234=>{const _0x31cd68=_0x11e0f4;if(_0x33c234==null)return;const {unitId:_0x269805,redoState:_0x550334,commandId:_0x46cf1e}=_0x33c234;if(_0x269805!==_0x16196e[_0x31cd68(0x30f)])return;const _0x2e14ad={'id':_0x46cf1e,'type':_0x1ca8c6[_0x31cd68(0x311)][_0x31cd68(0x333)],'params':{'unitId':_0x269805,'actions':_0x550334[_0x31cd68(0x3b5)],'textRanges':null}};_0x16196e[_0x31cd68(0x217)](_0x2e14ad);});if(_0x16196e[_0x11e0f4(0x215)](_0x313873),_0x16196e instanceof _0x4d5f16[_0x11e0f4(0x248)]){const _0x47f56c={'onTransformIME':_0x7fd6df=>this[_0x11e0f4(0x383)][_0x11e0f4(0x251)](_0x7fd6df),'onTransformState':_0x123576=>this[_0x11e0f4(0x1d7)]['transformStateCache'](_0x123576),'onTransformSelections':_0x45883d=>this[_0x11e0f4(0x352)]['transformSelections'](_0x45883d),'onSyncEditingCollabCursor':_0x24c389=>this[_0x11e0f4(0x1a8)]['syncEditingCollabCursor'](_0x24c389),'onTransformRemoteChangesetByIMECache':_0x22f04e=>this[_0x11e0f4(0x383)][_0x11e0f4(0x2cf)](_0x22f04e),'onTransformRemoteChangesetByStateCache':_0x112880=>this[_0x11e0f4(0x1d7)]['transformRemoteChangeset'](_0x112880)};_0x16196e['addHandlerCallback'](_0x47f56c);}}));}};_0x231b71=_0x5f16a([_0x512418(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x15e0d1[_0x1b1e14(0x2b7)])),_0x512418(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2f5)])),_0x512418(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x41d520)),_0x512418(0x3,_0x1ca8c6['Inject'](_0x939c01)),_0x512418(0x4,_0x1ca8c6[_0x1b1e14(0x308)](_0x79c0f7)),_0x512418(0x5,_0x1ca8c6['Inject'](_0x4a5f98)),_0x512418(0x6,_0x535318['IMessageService']),_0x512418(0x7,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x231b71);var _0x665846=(_0x2f5d70=>(_0x2f5d70[_0x2f5d70[_0x1b1e14(0x41b)]=0x0]=_0x1b1e14(0x41b),_0x2f5d70[_0x2f5d70['OK']=0x1]='OK',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3e1)]=0x2]=_0x1b1e14(0x3e1),_0x2f5d70[_0x2f5d70['PERMISSION_DENIED']=0x3]=_0x1b1e14(0x44c),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x379)]=0x4]=_0x1b1e14(0x379),_0x2f5d70[_0x2f5d70['UNAUTHENTICATED']=0x5]=_0x1b1e14(0x28e),_0x2f5d70[_0x2f5d70['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ed)]=0x7]=_0x1b1e14(0x3ed),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x244)]=0x8]=_0x1b1e14(0x244),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2dc)]=0x9]=_0x1b1e14(0x2dc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x387)]=0xa]=_0x1b1e14(0x387),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x452)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2f5d70[_0x2f5d70['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b1e14(0x249),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2a6)]=0xd]=_0x1b1e14(0x2a6),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x343)]=0xe]=_0x1b1e14(0x343),_0x2f5d70[_0x2f5d70['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x1b1e14(0x1fc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1d6)]=0x10]=_0x1b1e14(0x1d6),_0x2f5d70[_0x2f5d70['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1b1e14(0x32d),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x301)]=0x65]=_0x1b1e14(0x301),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1f2)]=0xc9]=_0x1b1e14(0x1f2),_0x2f5d70[_0x2f5d70['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3bd)]=0x1389]=_0x1b1e14(0x3bd),_0x2f5d70[_0x2f5d70['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b1e14(0x336),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2ef)]=0x1772]=_0x1b1e14(0x2ef),_0x2f5d70[_0x2f5d70['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x20b)]=0x1b59]=_0x1b1e14(0x20b),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x220)]=0x1b5a]=_0x1b1e14(0x220),_0x2f5d70[_0x2f5d70['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b1e14(0x3ff),_0x2f5d70[_0x2f5d70['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1b1e14(0x35c),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c4)]=0x1b5d]=_0x1b1e14(0x1c4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x288)]=0x1f41]=_0x1b1e14(0x288),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x324)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1ad)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x31a)]=0x232b]=_0x1b1e14(0x31a),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x299)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3f4)]=0x232d]=_0x1b1e14(0x3f4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1b7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x365)]=0x2712]=_0x1b1e14(0x365),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3a6)]=0x2713]=_0x1b1e14(0x3a6),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x30d)]=0x2714]=_0x1b1e14(0x30d),_0x2f5d70[_0x2f5d70['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b1e14(0x3e5),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c9)]=0x271b]=_0x1b1e14(0x1c9),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x277)]=0x271c]=_0x1b1e14(0x277),_0x2f5d70[_0x2f5d70['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c8)]=0x271e]=_0x1b1e14(0x1c8),_0x2f5d70[_0x2f5d70['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1b1e14(0x3bc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1f4)]=0x2720]=_0x1b1e14(0x1f4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x465)]=0x2af9]=_0x1b1e14(0x465),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1d2)]=0x2ee1]=_0x1b1e14(0x1d2),_0x2f5d70[_0x2f5d70['INVALID_INVITE_CODE']=0x2ee2]=_0x1b1e14(0x373),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ea)]=0x2ee3]=_0x1b1e14(0x3ea),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x28f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f5d70[_0x2f5d70['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2f7)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x260)]=0x32ca]=_0x1b1e14(0x260),_0x2f5d70[_0x2f5d70['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2f8)]=0x36b1]=_0x1b1e14(0x2f8),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2ee)]=0x36b2]=_0x1b1e14(0x2ee),_0x2f5d70[_0x2f5d70['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1b1e14(0x36f),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x26d)]=0x36b4]=_0x1b1e14(0x26d),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1a2)]=0x36b5]=_0x1b1e14(0x1a2),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x396)]=0x36b6]=_0x1b1e14(0x396),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x374)]=0x36b7]=_0x1b1e14(0x374),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x458)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2f5d70[_0x2f5d70['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1b1e14(0x463),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x23f)]=0x3716]=_0x1b1e14(0x23f),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1ee)]=0x3717]=_0x1b1e14(0x1ee),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1bb)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x187)]=0x3a99]=_0x1b1e14(0x187),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3df)]=0x3a9a]=_0x1b1e14(0x3df),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3e7)]=0x3a9b]=_0x1b1e14(0x3e7),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x38e)]=0x3a9c]=_0x1b1e14(0x38e),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x194)]=0x3a9d]=_0x1b1e14(0x194),_0x2f5d70[_0x2f5d70['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1b1e14(0x1ba),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x415)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ca)]=0x3e81]=_0x1b1e14(0x3ca),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x246)]=-0x1]=_0x1b1e14(0x246),_0x2f5d70))(_0x665846||{});function _0x38f6df(_0x2a3ca4){const _0x1ea395=_0x1b1e14;var _0x3be5e0,_0x29be1b;const _0x108d46=(_0x3be5e0=_0x2a3ca4[_0x1ea395(0x323)])==null?void 0x0:_0x3be5e0[_0x1ea395(0x2d7)],_0x41d837=((_0x29be1b=_0x2a3ca4[_0x1ea395(0x323)])==null?void 0x0:_0x29be1b['totalFormulasToCalculate'])||0x0;return _0x108d46===_0x4f0b9d[_0x1ea395(0x325)]['START_CALCULATION']&&_0x41d837>0x0;}function _0x121a4d(_0x25b491){const _0x2b7d2b=_0x1b1e14;return _0x25b491['functionsExecutedState']===_0x4f0b9d['FormulaExecutedStateType'][_0x2b7d2b(0x3cc)];}var _0xed100b=Object[_0x1b1e14(0x1ce)],_0x1af5c7=(_0x5ef989,_0x4035a6,_0xa96a6f,_0x56edaa)=>{const _0x1ab5e9=_0x1b1e14;for(var _0x407a36=_0x56edaa>0x1?void 0x0:_0x56edaa?_0xed100b(_0x4035a6,_0xa96a6f):_0x4035a6,_0x6b5cc8=_0x5ef989[_0x1ab5e9(0x300)]-0x1,_0x383bf2;_0x6b5cc8>=0x0;_0x6b5cc8--)(_0x383bf2=_0x5ef989[_0x6b5cc8])&&(_0x407a36=_0x383bf2(_0x407a36)||_0x407a36);return _0x407a36;},_0x3e03b0=(_0x4613fe,_0x4224de)=>(_0x403e6d,_0x189512)=>_0x4224de(_0x403e6d,_0x189512,_0x4613fe);const _0x9d2270=_0x1b1e14(0x337),_0x471d7c='/universer-api/license/formula/limit/start',_0x5d4735=_0x1b1e14(0x287);let _0x2cbcd5=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x41201a,_0x1c008c,_0x3a95a4,_0x511bcf,_0x530d75,_0x2c1be0,_0x32bbea){const _0xfb8df=_0x1b1e14;super(),_0x215ae7(this,_0xfb8df(0x466),null),_0x215ae7(this,'_maxFormulaLimit',0x0),_0x215ae7(this,'_currentUsage',0x0),_0x215ae7(this,_0xfb8df(0x425),[]),_0x215ae7(this,_0xfb8df(0x24a),0x0),(this['_messageService']=_0x41201a,this[_0xfb8df(0x3fb)]=_0x1c008c,this[_0xfb8df(0x357)]=_0x3a95a4,this[_0xfb8df(0x208)]=_0x511bcf,this[_0xfb8df(0x23d)]=_0x530d75,this[_0xfb8df(0x3e0)]=_0x2c1be0,this[_0xfb8df(0x34d)]=_0x32bbea,this[_0xfb8df(0x2b3)]());}[_0x1b1e14(0x2b3)](){const _0x4e9131=_0x1b1e14;this[_0x4e9131(0x215)](this[_0x4e9131(0x3fb)][_0x4e9131(0x1d0)]((_0x110822,_0x49e35b)=>{const _0x5e89ae=_0x4e9131;var _0x5d8381;if(_0x110822['id']!==_0x4f0b9d[_0x5e89ae(0x240)]['id'])return;const _0x5a82bc=_0x110822[_0x5e89ae(0x309)];if(!this[_0x5e89ae(0x29f)]((_0x5d8381=_0x5a82bc[_0x5e89ae(0x364)])!=null?_0x5d8381:[]))return;if(!this[_0x5e89ae(0x328)]())throw this[_0x5e89ae(0x3ce)](_0x110822,_0x49e35b),this[_0x5e89ae(0x273)](),new _0x1ca8c6['CanceledError']();})),this[_0x4e9131(0x215)](this[_0x4e9131(0x3fb)][_0x4e9131(0x27f)]((_0x4b4131,_0x31e4ee)=>{const _0x14fe59=_0x4e9131;if(_0x4b4131['id']!==_0x4f0b9d[_0x14fe59(0x292)]['id'])return;const _0x378e8d=_0x4b4131[_0x14fe59(0x309)];if(_0x38f6df(_0x378e8d)){const _0x4a3614=_0x1ca8c6[_0x14fe59(0x1a1)]();this[_0x14fe59(0x425)][_0x14fe59(0x456)](_0x4a3614),this[_0x14fe59(0x1ff)](_0x4a3614);}else{if(_0x121a4d(_0x378e8d)&&this[_0x14fe59(0x425)][_0x14fe59(0x300)]>0x0){const _0x2261c7=this[_0x14fe59(0x425)][_0x14fe59(0x407)]();this[_0x14fe59(0x380)](_0x2261c7);}}}));}['dispose'](){const _0x17da7f=_0x1b1e14;super[_0x17da7f(0x1cc)](),this[_0x17da7f(0x406)](),this[_0x17da7f(0x425)]=[],this[_0x17da7f(0x37d)]=0x0,this[_0x17da7f(0x468)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x4e6192,_0x2fd7bd){const _0x218094=_0x1b1e14;for(let _0x43c4c5=0x0;_0x43c4c5<0x1e;_0x43c4c5++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x218094(0x1c5)](_0x4e6192,_0x2fd7bd),this[_0x218094(0x3d7)]['show']({'content':this[_0x218094(0x34d)]['t']('formula.calculation.started'),'type':_0x5cbfd3['MessageType']['Success']});return;}await new Promise(_0xc9ab37=>{const _0x2c3455=_0x218094;this['_pollingInterval']=window[_0x2c3455(0x346)](_0xc9ab37,0x3e8);});}catch(_0x2b6c9c){this[_0x218094(0x3e0)]['error'](_0x2b6c9c);}this[_0x218094(0x3d7)][_0x218094(0x25f)]({'content':this[_0x218094(0x34d)]['t'](_0x218094(0x460)),'type':_0x5cbfd3[_0x218094(0x1e6)][_0x218094(0x37a)]});}[_0x1b1e14(0x1c5)](_0x226515,_0x2503ea){const _0x22f9de=_0x1b1e14;try{this[_0x22f9de(0x3fb)][_0x22f9de(0x2c2)](_0x226515['id'],_0x226515[_0x22f9de(0x309)],_0x2503ea);}catch(_0x6314d3){this[_0x22f9de(0x3e0)][_0x22f9de(0x191)](_0x6314d3);}}['_setFormulaLimitStatus'](_0x4f346d,_0x268ca3){const _0x293b6c=_0x1b1e14;_0x268ca3<this['_lastResponseTimestamp']||(this[_0x293b6c(0x24a)]=_0x268ca3,this[_0x293b6c(0x468)]=Number[_0x293b6c(0x29b)](_0x4f346d[_0x293b6c(0x3a4)]),this[_0x293b6c(0x37d)]=Number[_0x293b6c(0x29b)](_0x4f346d[_0x293b6c(0x2b9)]));}async[_0x1b1e14(0x1ff)](_0x4f29c9){const _0x1c5347=_0x1b1e14;var _0xc0c4e5,_0x4e2b04;const _0x3fcc68=Date[_0x1c5347(0x1cb)]();try{const _0x188cda=((_0xc0c4e5=this['_configService'][_0x1c5347(0x22b)](_0x4d5f16[_0x1c5347(0x207)]))==null?void 0x0:_0xc0c4e5[_0x1c5347(0x433)])||_0x471d7c,_0x5b49f7=(await this[_0x1c5347(0x208)][_0x1c5347(0x1a3)](_0x188cda,{'body':JSON['stringify']({'taskId':_0x4f29c9})}))['body'];if(((_0x4e2b04=_0x5b49f7['error'])==null?void 0x0:_0x4e2b04[_0x1c5347(0x37b)])!==_0x665846['OK'])return;this[_0x1c5347(0x2b0)](_0x5b49f7['limitInfo'],_0x3fcc68);}catch(_0x2f90af){this['_logService']['error'](_0x2f90af);}}async[_0x1b1e14(0x3d9)](_0x442066){const _0x4cc2da=_0x1b1e14;var _0xc8073b,_0x48e265;const _0x500f60=Date[_0x4cc2da(0x1cb)]();try{const _0x530315=((_0xc8073b=this[_0x4cc2da(0x357)][_0x4cc2da(0x22b)](_0x4d5f16[_0x4cc2da(0x207)]))==null?void 0x0:_0xc8073b[_0x4cc2da(0x265)])||_0x9d2270,_0x554dd1=_0x442066?_0x530315+_0x4cc2da(0x41e)+encodeURIComponent(_0x442066):_0x530315,_0x2dec6f=(await this[_0x4cc2da(0x208)][_0x4cc2da(0x318)](_0x554dd1))[_0x4cc2da(0x46f)];if(((_0x48e265=_0x2dec6f[_0x4cc2da(0x191)])==null?void 0x0:_0x48e265[_0x4cc2da(0x37b)])!==_0x665846['OK'])return;this['_setFormulaLimitStatus'](_0x2dec6f[_0x4cc2da(0x2bd)],_0x500f60);}catch(_0xeaedd){this[_0x4cc2da(0x3e0)][_0x4cc2da(0x191)](_0xeaedd);}}async['_releaseCalculationLimit'](_0x594dca){const _0x46e12c=_0x1b1e14;var _0x1c7751,_0x5197ca;const _0x384ef0=Date['now']();try{const _0x9024c5=((_0x1c7751=this[_0x46e12c(0x357)][_0x46e12c(0x22b)](_0x4d5f16[_0x46e12c(0x207)]))==null?void 0x0:_0x1c7751['releaseFormulaLimitUrl'])||_0x5d4735,_0xfd10d9=(await this[_0x46e12c(0x208)][_0x46e12c(0x1a3)](_0x9024c5,{'body':JSON['stringify']({'taskId':_0x594dca})}))['body'];if(((_0x5197ca=_0xfd10d9[_0x46e12c(0x191)])==null?void 0x0:_0x5197ca[_0x46e12c(0x37b)])!==_0x665846['OK'])return;this[_0x46e12c(0x2b0)](_0xfd10d9[_0x46e12c(0x2bd)],_0x384ef0);}catch(_0xc06ede){this['_logService'][_0x46e12c(0x191)](_0xc06ede);}}[_0x1b1e14(0x328)](){const _0x184c61=_0x1b1e14;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x184c61(0x468)]-this['_currentUsage']>0x0;}[_0x1b1e14(0x406)](){const _0x29dc54=_0x1b1e14;this[_0x29dc54(0x466)]&&(clearTimeout(this[_0x29dc54(0x466)]),this[_0x29dc54(0x466)]=null);}[_0x1b1e14(0x273)](){const _0x247350=_0x1b1e14;this['_messageService'][_0x247350(0x25f)]({'content':this['_localeService']['t'](_0x247350(0x1a6)),'type':_0x5cbfd3[_0x247350(0x1e6)][_0x247350(0x381)]});}[_0x1b1e14(0x29f)](_0x503450){const _0x1bb25d=_0x1b1e14;for(const _0x49d29f of _0x503450){const {unitId:_0x31dfb6,sheetId:_0x52ade3,range:_0x37826b}=_0x49d29f,_0x522db9=this['_univerInstanceService'][_0x1bb25d(0x24b)](_0x31dfb6);if(!_0x522db9)continue;const _0x186e1d=_0x522db9[_0x1bb25d(0x46b)](_0x52ade3);if(!_0x186e1d)continue;const _0x2b5ce7=_0x186e1d[_0x1bb25d(0x43e)]();for(let _0x32f26a=_0x37826b[_0x1bb25d(0x245)];_0x32f26a<=_0x37826b[_0x1bb25d(0x24d)];_0x32f26a++)for(let _0x992f3e=_0x37826b['startColumn'];_0x992f3e<=_0x37826b[_0x1bb25d(0x270)];_0x992f3e++){const _0x297bc0=_0x2b5ce7['getValue'](_0x32f26a,_0x992f3e);if(_0x297bc0&&(_0x1ca8c6[_0x1bb25d(0x258)](_0x297bc0['f'])||_0x1ca8c6[_0x1bb25d(0x237)](_0x297bc0['si'])))return!0x0;}}return!0x1;}};_0x2cbcd5=_0x1af5c7([_0x3e03b0(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x535318['IMessageService'])),_0x3e03b0(0x1,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x3e03b0(0x2,_0x1ca8c6[_0x1b1e14(0x3e6)]),_0x3e03b0(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74[_0x1b1e14(0x276)])),_0x3e03b0(0x4,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x3e03b0(0x5,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3e03b0(0x6,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x2cbcd5);var _0x5b6581=Object[_0x1b1e14(0x1ce)],_0x2a7e32=(_0x5c3c0d,_0x1aabec,_0x3664fe,_0x5c28c5)=>{for(var _0x341238=_0x5c28c5>0x1?void 0x0:_0x5c28c5?_0x5b6581(_0x1aabec,_0x3664fe):_0x1aabec,_0x55419e=_0x5c3c0d['length']-0x1,_0xa104d9;_0x55419e>=0x0;_0x55419e--)(_0xa104d9=_0x5c3c0d[_0x55419e])&&(_0x341238=_0xa104d9(_0x341238)||_0x341238);return _0x341238;},_0x487589=(_0x129d91,_0x3a1b37)=>(_0x2de877,_0x286d3b)=>_0x3a1b37(_0x2de877,_0x286d3b,_0x129d91);let _0x407c01=class extends _0x1ca8c6['Disposable']{constructor(_0x40f709,_0x1aa7f6,_0x3d1244){const _0x2e3185=_0x1b1e14;super(),_0x215ae7(this,_0x2e3185(0x204),new Map()),_0x215ae7(this,_0x2e3185(0x414),new Map()),_0x215ae7(this,_0x2e3185(0x266),!0x1),(this[_0x2e3185(0x357)]=_0x40f709,this[_0x2e3185(0x241)]=_0x1aa7f6,this[_0x2e3185(0x2aa)]=_0x3d1244);}['disableLocalCache'](){const _0x40b60c=_0x1b1e14;this[_0x40b60c(0x266)]=!0x0;}[_0x1b1e14(0x25c)](){const _0x59e487=_0x1b1e14;this[_0x59e487(0x266)]=!0x1;}get[_0x1b1e14(0x22c)](){const _0x226812=_0x1b1e14;return this[_0x226812(0x414)];}[_0x1b1e14(0x1cc)](){const _0x47fe8b=_0x1b1e14;this[_0x47fe8b(0x2c4)]()[_0x47fe8b(0x1a5)](()=>super[_0x47fe8b(0x1cc)]());}async[_0x1b1e14(0x43a)](_0x589be5){const _0x2e1f79=_0x1b1e14;return this[_0x2e1f79(0x266)]?null:this['_localStorageService'][_0x2e1f79(0x448)](_0x4d5f16[_0x2e1f79(0x228)](_0x589be5));}async[_0x1b1e14(0x36c)](_0x58330b,_0x6d0890){const _0x172eb5=_0x1b1e14;return!!this[_0x172eb5(0x241)]['setItem'](_0x58330b,_0x6d0890);}[_0x1b1e14(0x417)](_0x595140,_0x5509b6,_0x33946d,_0x24c251){const _0x127ae7=_0x1b1e14,_0x413c42=this['_revisionService'][_0x127ae7(0x312)](_0x595140);this['_cachedData']['set'](_0x595140,{'unitID':_0x595140,'type':_0x5509b6,'awaitingChangeset':_0x33946d,'mutations':_0x24c251,'rev':_0x413c42}),this['_saveTaskMap'][_0x127ae7(0x33b)](_0x595140)||this['_scheduleSaving'](_0x595140);}[_0x1b1e14(0x182)](_0x892068){const _0x34294e=_0x1b1e14,_0x228c23=this['_getSaveTimeout']();_0x228c23===0x0?this['_saveCache'](_0x892068):this[_0x34294e(0x414)][_0x34294e(0x441)](_0x892068,setTimeout(()=>this[_0x34294e(0x36b)](_0x892068),_0x228c23));}['_getSaveTimeout'](){const _0x584aea=_0x1b1e14;var _0x2a5a24;return(_0x2a5a24=this[_0x584aea(0x357)]['getConfig'](_0x4d5f16['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2a5a24:_0x4d5f16['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x4cba76){const _0x12d47a=_0x1b1e14,_0x1e7a94=this[_0x12d47a(0x414)][_0x12d47a(0x318)](_0x4cba76);return _0x1e7a94!==void 0x0&&window['clearTimeout'](_0x1e7a94),this[_0x12d47a(0x241)][_0x12d47a(0x1b5)](_0x4d5f16[_0x12d47a(0x228)](_0x4cba76),this['_cachedData']['get'](_0x4cba76))['then'](()=>this[_0x12d47a(0x414)][_0x12d47a(0x1c0)](_0x4cba76));}async['exhaustSavingTask'](){const _0x267d90=_0x1b1e14,_0x32641c=[];this[_0x267d90(0x414)][_0x267d90(0x459)]((_0x42b8bc,_0x155ba9)=>{const _0x175499=_0x267d90;window['clearTimeout'](_0x42b8bc),_0x32641c[_0x175499(0x456)](this[_0x175499(0x36b)](_0x155ba9)[_0x175499(0x1a5)](()=>{const _0x3d5d59=_0x175499;this[_0x3d5d59(0x414)][_0x3d5d59(0x1c0)](_0x155ba9);}));}),await Promise['all'](_0x32641c);}};_0x407c01=_0x2a7e32([_0x487589(0x0,_0x1ca8c6[_0x1b1e14(0x3e6)]),_0x487589(0x1,_0x1ca8c6[_0x1b1e14(0x26f)]),_0x487589(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x598d32['RevisionService']))],_0x407c01);class _0x48f0ff extends _0x1ca8c6['RxDisposable']{constructor(){const _0x2b1098=_0x1b1e14;super(),_0x215ae7(this,_0x2b1098(0x290)),this[_0x2b1098(0x290)]=_0x3b6b5a['fromEvent'](window,_0x2b1098(0x2a2))['pipe'](_0x3b6b5a[_0x2b1098(0x264)](this[_0x2b1098(0x31c)]),_0x3b6b5a[_0x2b1098(0x262)](0x1),_0x3b6b5a['mapTo'](void 0x0));}[_0x1b1e14(0x186)](_0x367e08,_0x468cf1,_0x35a3c5=!0x1){const _0x118f58=_0x1b1e14,_0x50d369=new URL(window[_0x118f58(0x3f2)][_0x118f58(0x23c)]);_0x50d369['searchParams']['set'](_0x367e08,_0x468cf1),_0x35a3c5?window[_0x118f58(0x272)][_0x118f58(0x269)]('','',_0x50d369[_0x118f58(0x242)]()):window[_0x118f58(0x272)][_0x118f58(0x35a)]('','',_0x50d369[_0x118f58(0x242)]());}[_0x1b1e14(0x400)](_0x4baa1c,_0x60b1e9=!0x1){const _0x10ed3c=_0x1b1e14,_0x4cc9b5=new URL(window['location'][_0x10ed3c(0x23c)]);_0x4cc9b5['searchParams'][_0x10ed3c(0x1c0)](_0x4baa1c),_0x60b1e9?window['history'][_0x10ed3c(0x269)]('','',_0x4cc9b5[_0x10ed3c(0x242)]()):window[_0x10ed3c(0x272)]['pushState']('','',_0x4cc9b5['toString']());}[_0x1b1e14(0x1ac)](_0x17adb4){const _0x2ab71d=_0x1b1e14;var _0x4bc171;return(_0x4bc171=new URL(window[_0x2ab71d(0x3f2)][_0x2ab71d(0x23c)])[_0x2ab71d(0x3f1)][_0x2ab71d(0x318)](_0x17adb4))!=null?_0x4bc171:void 0x0;}}var _0xd9d1f4=Object[_0x1b1e14(0x394)],_0x2bcf42=Object[_0x1b1e14(0x1ce)],_0x5e52b6=(_0x12e3ad,_0x51ede4,_0x52b197)=>_0x51ede4 in _0x12e3ad?_0xd9d1f4(_0x12e3ad,_0x51ede4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52b197}):_0x12e3ad[_0x51ede4]=_0x52b197,_0x455818=(_0x331b31,_0x53e831,_0x3444b4,_0x4773d5)=>{const _0x429523=_0x1b1e14;for(var _0x370f4b=_0x4773d5>0x1?void 0x0:_0x4773d5?_0x2bcf42(_0x53e831,_0x3444b4):_0x53e831,_0x234b70=_0x331b31[_0x429523(0x300)]-0x1,_0x5bac09;_0x234b70>=0x0;_0x234b70--)(_0x5bac09=_0x331b31[_0x234b70])&&(_0x370f4b=_0x5bac09(_0x370f4b)||_0x370f4b);return _0x370f4b;},_0x40ed5f=(_0x36f225,_0x2d6ef0)=>(_0x5836b4,_0x2e97aa)=>_0x2d6ef0(_0x5836b4,_0x2e97aa,_0x36f225),_0x59876f=(_0x25a2b7,_0x542098,_0x3a4ff8)=>_0x5e52b6(_0x25a2b7,_0x542098+'',_0x3a4ff8);const _0x45106e='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e0575[_0x1b1e14(0x2a8)]=class extends _0x1ca8c6[_0x1b1e14(0x2ea)]{constructor(_0x5f1956=_0x41c00e,_0x538a0d,_0x296eae,_0xd487bf){const _0x54cca4=_0x1b1e14;super(),this[_0x54cca4(0x3aa)]=_0x5f1956,this[_0x54cca4(0x416)]=_0x538a0d,this['_injector']=_0x296eae,this[_0x54cca4(0x357)]=_0xd487bf;const {..._0x267a02}=_0x1ca8c6[_0x54cca4(0x1d3)]({},_0x41c00e,this[_0x54cca4(0x3aa)]);this['_configService'][_0x54cca4(0x2e1)](_0x44d605,_0x267a02);}[_0x1b1e14(0x3c3)](){const _0x4a773c=_0x1b1e14;this['_registerDependencies'](),this[_0x4a773c(0x206)]();}[_0x1b1e14(0x21e)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x58d9bc=_0x1b1e14;var _0x25bdf6;const _0x2e2301=[[_0x4829de],[_0x2cbcd5],[_0x79c0f7],[_0x41d520],[_0x939c01],[_0x4a5f98],[_0x4af2ba,{'useClass':_0x48f0ff}],[_0x89ff74[_0x58d9bc(0x2fe)],{'useClass':_0x89ff74[_0x58d9bc(0x2bc)]}],[_0x4d5f16['ILocalCacheService'],{'useClass':_0x407c01}],[_0x3e0575['DesktopCollaborationStatusDisplayController']],[_0x231b71],[_0x22380c],[_0x3bc722],[_0x447eea],[_0x3e0575[_0x58d9bc(0x2ab)]]];this['_config'][_0x58d9bc(0x1e0)]&&_0x2e2301[_0x58d9bc(0x456)]([_0x4b7de8]),_0x1ca8c6[_0x58d9bc(0x2ec)](this[_0x58d9bc(0x28c)],_0x1ca8c6[_0x58d9bc(0x37f)](_0x2e2301,(_0x25bdf6=this[_0x58d9bc(0x3aa)])==null?void 0x0:_0x25bdf6['override']));}[_0x1b1e14(0x34f)](){const _0xecc786=_0x1b1e14;this[_0xecc786(0x215)](this['_renderManagerService'][_0xecc786(0x454)](_0x1ca8c6[_0xecc786(0x30b)][_0xecc786(0x3b3)],[_0x153663])),this[_0xecc786(0x215)](this[_0xecc786(0x416)][_0xecc786(0x454)](_0x1ca8c6['UniverInstanceType'][_0xecc786(0x3de)],[_0x2da07f]));}[_0x1b1e14(0x206)](){const _0x4a42a9=_0x1b1e14;_0x1ca8c6[_0x4a42a9(0x253)](this[_0x4a42a9(0x28c)],[[_0x3bc722],[_0x3e0575[_0x4a42a9(0x413)]],[_0x231b71],[_0x22380c],[_0x3e0575[_0x4a42a9(0x2ab)]],[_0x2cbcd5]]),this[_0x4a42a9(0x3aa)]['enableFrontendLog']&&_0x1ca8c6[_0x4a42a9(0x253)](this[_0x4a42a9(0x28c)],[[_0x4b7de8]]);}},_0x59876f(_0x3e0575[_0x1b1e14(0x2a8)],'pluginName',_0x45106e),_0x3e0575[_0x1b1e14(0x2a8)]=_0x455818([_0x1ca8c6[_0x1b1e14(0x291)](_0x4d5f16[_0x1b1e14(0x1eb)]),_0x40ed5f(0x1,_0x28adc3['IRenderManagerService']),_0x40ed5f(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x40ed5f(0x3,_0x1ca8c6[_0x1b1e14(0x3e6)])],_0x3e0575[_0x1b1e14(0x2a8)]);var _0x2cf821=Object[_0x1b1e14(0x1ce)],_0x2c5176=(_0x33cca3,_0x4c656d,_0x1c67d6,_0x1204ae)=>{const _0x26a592=_0x1b1e14;for(var _0xce62c2=_0x1204ae>0x1?void 0x0:_0x1204ae?_0x2cf821(_0x4c656d,_0x1c67d6):_0x4c656d,_0x199bc2=_0x33cca3[_0x26a592(0x300)]-0x1,_0x30a209;_0x199bc2>=0x0;_0x199bc2--)(_0x30a209=_0x33cca3[_0x199bc2])&&(_0xce62c2=_0x30a209(_0xce62c2)||_0xce62c2);return _0xce62c2;},_0x3fcd23=(_0x328ea8,_0x4cbc2f)=>(_0x4e3b29,_0x59a059)=>_0x4cbc2f(_0x4e3b29,_0x59a059,_0x328ea8);_0x3e0575[_0x1b1e14(0x232)]=class extends _0x4d5f16['CollaborationSocketService']{constructor(_0x4fc246,_0x3dbc8e,_0x154073,_0x155f3d,_0x451a59){super(_0x4fc246,_0x3dbc8e,_0x154073,_0x155f3d,_0x451a59);}async[_0x1b1e14(0x390)](_0x5938cd){const _0x5437e0=_0x1b1e14,_0x358db0=await this['_getSessionTicket'](),_0xbd6218=this[_0x5437e0(0x41f)](_0x5938cd,_0x358db0);return this[_0x5437e0(0x3f6)](_0xbd6218);}[_0x1b1e14(0x41f)](_0x47070b,_0x4aab12){const _0x5c969f=_0x1b1e14,_0x3a682d=typeof window>'u'?new URL(_0x47070b):new URL(_0x47070b,window[_0x5c969f(0x3f2)][_0x5c969f(0x395)]);_0x3a682d['searchParams']['set'](_0x5c969f(0x3f0),_0x4aab12);const _0x4d50fb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c969f(0x3f2)][_0x5c969f(0x24e)]);return _0x4d50fb[_0x5c969f(0x318)]('runId')&&_0x3a682d[_0x5c969f(0x3f1)]['set'](_0x5c969f(0x221),_0x4d50fb[_0x5c969f(0x318)](_0x5c969f(0x221))),_0x3a682d[_0x5c969f(0x242)]();}async[_0x1b1e14(0x267)](){const _0x466823=_0x1b1e14;var _0x3603d1,_0x4d86b9,_0x98070f;const _0x2d6e6c=this['_configService'][_0x466823(0x22b)](_0x4d5f16[_0x466823(0x207)]),_0x456c3b=(_0x3603d1=_0x2d6e6c==null?void 0x0:_0x2d6e6c[_0x466823(0x2af)])!=null?_0x3603d1:_0x4d5f16['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x98070f=(_0x4d86b9=(await this['_httpService'][_0x466823(0x318)](_0x456c3b,{'headers':{'Content-Type':'application/json'}}))[_0x466823(0x46f)])==null?void 0x0:_0x4d86b9[_0x466823(0x363)])!=null?_0x98070f:'';}},_0x3e0575[_0x1b1e14(0x232)]=_0x2c5176([_0x3fcd23(0x0,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x3fcd23(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74[_0x1b1e14(0x276)])),_0x3fcd23(0x2,_0x1ca8c6['IConfigService']),_0x3fcd23(0x3,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3fcd23(0x4,_0x598d32[_0x1b1e14(0x3ec)])],_0x3e0575[_0x1b1e14(0x232)]);var _0x4aef90=Object[_0x1b1e14(0x1ce)],_0x572cb4=(_0x4487e5,_0x4b9a2b,_0x54de5f,_0x25dc60)=>{const _0x515586=_0x1b1e14;for(var _0x51a8d8=_0x25dc60>0x1?void 0x0:_0x25dc60?_0x4aef90(_0x4b9a2b,_0x54de5f):_0x4b9a2b,_0x3e795d=_0x4487e5[_0x515586(0x300)]-0x1,_0x1bfc99;_0x3e795d>=0x0;_0x3e795d--)(_0x1bfc99=_0x4487e5[_0x3e795d])&&(_0x51a8d8=_0x1bfc99(_0x51a8d8)||_0x51a8d8);return _0x51a8d8;},_0x44ca9d=(_0x29e36b,_0x3dd87f)=>(_0x92890a,_0x3ea417)=>_0x3dd87f(_0x92890a,_0x3ea417,_0x29e36b);_0x3e0575[_0x1b1e14(0x39e)]=class extends _0x1ca8c6['Disposable']{constructor(_0x5d1c03,_0x195c50,_0x45c473){const _0x48d895=_0x1b1e14;super(),this['_instanceService']=_0x5d1c03,this[_0x48d895(0x208)]=_0x195c50,this['_configService']=_0x45c473;}async['runOnServer'](_0x43fda0,_0x4520bc,_0x10429a,..._0xbdd719){const _0x3fd8f0=_0x1b1e14;var _0x233e46,_0x5bf294,_0x1902f1,_0x244b74;const _0x359ab3=this[_0x3fd8f0(0x29d)][_0x3fd8f0(0x282)]();if(!_0x359ab3)throw new Error(_0x3fd8f0(0x26c));const _0x80a936=((_0x233e46=this['_configService'][_0x3fd8f0(0x22b)](_0x4d5f16[_0x3fd8f0(0x3bb)]))!=null?_0x233e46:_0x4d5f16[_0x3fd8f0(0x2eb)])+'/'+_0x43fda0+_0x3fd8f0(0x349)+_0x4520bc,_0xcd045=new URL(window[_0x3fd8f0(0x3f2)][_0x3fd8f0(0x23c)]),_0x424dcc={'scriptId':_0x43fda0,'runId':(_0x5bf294=_0xcd045[_0x3fd8f0(0x3f1)][_0x3fd8f0(0x318)](_0x3fd8f0(0x221)))!=null?_0x5bf294:'','function':_0x4520bc,'unitId':_0x359ab3[_0x3fd8f0(0x212)](),'argsOfFunction':JSON[_0x3fd8f0(0x227)](_0xbdd719),'invokeId':(_0x1902f1=_0x10429a[_0x3fd8f0(0x1d4)])!=null?_0x1902f1:'','executionId':(_0x244b74=_0x10429a[_0x3fd8f0(0x19b)])!=null?_0x244b74:''};try{const _0x4650f9=await this[_0x3fd8f0(0x208)][_0x3fd8f0(0x1a3)](_0x80a936,{'body':_0x424dcc});return _0x4650f9[_0x3fd8f0(0x46f)]['error']&&_0x4650f9[_0x3fd8f0(0x46f)][_0x3fd8f0(0x191)][_0x3fd8f0(0x37b)]!==_0x665846['OK']?_0x3fd8f0(0x1ea):_0x4650f9[_0x3fd8f0(0x46f)][_0x3fd8f0(0x327)];}catch{return _0x3fd8f0(0x1ea);}}},_0x3e0575[_0x1b1e14(0x39e)]=_0x572cb4([_0x44ca9d(0x0,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x44ca9d(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74['HTTPService'])),_0x44ca9d(0x2,_0x1ca8c6[_0x1b1e14(0x3e6)])],_0x3e0575[_0x1b1e14(0x39e)]);const _0x3070e7=0x7530,_0x5ed521=_0x1b1e14(0x397);class _0x894f92 extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(){const _0x4bdcc5=_0x1b1e14;super(),_0x215ae7(this,_0x4bdcc5(0x20a),_0x1ca8c6[_0x4bdcc5(0x1a1)]()),_0x215ae7(this,_0x4bdcc5(0x330),new Set()),_0x215ae7(this,'_unitOnClients',new Map()),_0x215ae7(this,'_heartbeatTimer',null),_0x215ae7(this,_0x4bdcc5(0x388),new Map()),_0x215ae7(this,_0x4bdcc5(0x445),new Map()),this[_0x4bdcc5(0x2f4)]();}[_0x1b1e14(0x1cc)](){const _0x59b412=_0x1b1e14;super[_0x59b412(0x1cc)](),this[_0x59b412(0x388)]['forEach']((_0xf3bc73,_0x50c6b9)=>this[_0x59b412(0x1a9)](_0x50c6b9)),this[_0x59b412(0x418)]&&window[_0x59b412(0x2df)](this[_0x59b412(0x418)]);}[_0x1b1e14(0x1b3)](_0x563cc9){const _0x4e3bf1=_0x1b1e14;return this[_0x4e3bf1(0x20e)](_0x563cc9)[_0x4e3bf1(0x22a)](_0x3b6b5a[_0x4e3bf1(0x1e7)]());}[_0x1b1e14(0x233)](_0x14b760){const _0x36b56e=_0x1b1e14;this[_0x36b56e(0x330)][_0x36b56e(0x307)]===0x0&&this[_0x36b56e(0x1bf)](),this[_0x36b56e(0x330)][_0x36b56e(0x231)](_0x14b760),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x14b760],'isForwarded':!0x1});}[_0x1b1e14(0x1dd)](_0x55fd64){const _0x939acb=_0x1b1e14;this[_0x939acb(0x330)]['delete'](_0x55fd64),this[_0x939acb(0x330)]['size']===0x0&&this[_0x939acb(0x418)]&&window[_0x939acb(0x2df)](this[_0x939acb(0x418)]);}[_0x1b1e14(0x2f4)](){const _0xcf2c9c=_0x1b1e14;this[_0xcf2c9c(0x215)](_0x1ca8c6[_0xcf2c9c(0x226)](_0x3b6b5a[_0xcf2c9c(0x372)](window,_0xcf2c9c(0x3a1))[_0xcf2c9c(0x3b9)](_0x1464e5=>{const _0xf8c7b2=_0xcf2c9c;if(_0x1464e5[_0xf8c7b2(0x3ba)]!==_0x5ed521||!_0x1464e5[_0xf8c7b2(0x2f6)])return;const _0x361d6d=JSON[_0xf8c7b2(0x412)](_0x1464e5[_0xf8c7b2(0x2f6)]);this[_0xf8c7b2(0x2f0)](_0x361d6d);}))),window[_0xcf2c9c(0x469)]('unload',()=>this[_0xcf2c9c(0x361)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xcf2c9c(0x2f2)](this[_0xcf2c9c(0x330)])}));}[_0x1b1e14(0x2f0)](_0x4d634a){const _0x20742c=_0x1b1e14;switch(_0x4d634a[_0x20742c(0x43d)]){case 0x0:this['_handleJoinEvent'](_0x4d634a);break;case 0x1:this[_0x20742c(0x2d2)](_0x4d634a);break;case 0x2:this[_0x20742c(0x3d1)](_0x4d634a);break;}}[_0x1b1e14(0x18f)](_0x2d201d){const _0x27ca7e=_0x1b1e14,{unitIDs:_0x28527c,memberID:_0x22aa02,isForwarded:_0x12d869}=_0x2d201d;_0x28527c[_0x27ca7e(0x459)](_0x3671bd=>{const _0x35414b=_0x27ca7e;if(!_0x12d869&&this[_0x35414b(0x45c)][_0x35414b(0x33b)](_0x3671bd)&&this[_0x35414b(0x20e)](_0x3671bd)[_0x35414b(0x22e)](_0x4d5f16[_0x35414b(0x3dc)][_0x35414b(0x2e8)]),!this[_0x35414b(0x45c)][_0x35414b(0x33b)](_0x3671bd)||!this[_0x35414b(0x45c)][_0x35414b(0x318)](_0x3671bd)['has'](_0x22aa02)){const _0x390978=this[_0x35414b(0x45c)][_0x35414b(0x318)](_0x3671bd)||new Set();_0x390978[_0x35414b(0x231)](_0x22aa02),this['_unitOnClients'][_0x35414b(0x441)](_0x3671bd,_0x390978),this[_0x35414b(0x1e1)](_0x22aa02);}}),_0x12d869||this[_0x27ca7e(0x361)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x27ca7e(0x330)]],'isForwarded':!0x0});}[_0x1b1e14(0x1e1)](_0x15b7e9){const _0x28f498=_0x1b1e14;this[_0x28f498(0x1a9)](_0x15b7e9);const _0x386d45=window[_0x28f498(0x346)](()=>{const _0x477042=_0x28f498;this[_0x477042(0x45c)][_0x477042(0x459)](_0xf06e9e=>{const _0x57e679=_0x477042;_0xf06e9e[_0x57e679(0x1c0)](_0x15b7e9);});},_0x3070e7*0x2);this[_0x28f498(0x388)][_0x28f498(0x441)](_0x15b7e9,_0x386d45);}['_removeClearOtherTimer'](_0x2b6c40){const _0x3b3439=_0x1b1e14;if(this[_0x3b3439(0x388)][_0x3b3439(0x33b)](_0x2b6c40)){const _0x1ad18a=this['_clearOtherTimers'][_0x3b3439(0x318)](_0x2b6c40);_0x1ad18a&&window['clearTimeout'](_0x1ad18a),this['_clearOtherTimers']['set'](_0x2b6c40,null);}}[_0x1b1e14(0x2d2)](_0x26ff58){const _0x2b1ee9=_0x1b1e14,{memberID:_0x40c473,unitIDs:_0xeec867}=_0x26ff58;_0xeec867[_0x2b1ee9(0x459)](_0x2a926c=>{const _0x249c44=_0x2b1ee9;var _0x57b93b;const _0x5ec9a9=this[_0x249c44(0x45c)][_0x249c44(0x318)](_0x2a926c);_0x5ec9a9&&(_0x5ec9a9[_0x249c44(0x1c0)](_0x40c473),(_0x57b93b=this[_0x249c44(0x20e)](_0x2a926c))==null||_0x57b93b[_0x249c44(0x22e)](_0x5ec9a9[_0x249c44(0x307)]===0x0?_0x4d5f16['UnitStatus'][_0x249c44(0x3c2)]:_0x4d5f16[_0x249c44(0x3dc)][_0x249c44(0x2e8)]));}),this[_0x2b1ee9(0x1a9)](_0x40c473);}['_handleHeartbeatEvent'](_0x127fb5){const _0x57a3ac=_0x1b1e14;this['_scheduleClearOtherTimer'](_0x127fb5[_0x57a3ac(0x252)]);}[_0x1b1e14(0x361)](_0x514311){const _0x724296=_0x1b1e14;localStorage[_0x724296(0x1b5)](_0x5ed521,JSON[_0x724296(0x227)](_0x514311));}['_scheduleHeartbeat'](){const _0x4306e8=_0x1b1e14;this[_0x4306e8(0x418)]=window['setInterval'](()=>{const _0x2e1174=_0x4306e8;this[_0x2e1174(0x361)]({'type':0x2,'memberID':this[_0x2e1174(0x20a)]});},_0x3070e7);}['_ensureSubject'](_0x17d97c){const _0x1585e3=_0x1b1e14;return this[_0x1585e3(0x445)][_0x1585e3(0x33b)](_0x17d97c)||this[_0x1585e3(0x445)]['set'](_0x17d97c,new _0x3b6b5a[(_0x1585e3(0x1b1))](_0x4d5f16[_0x1585e3(0x3dc)][_0x1585e3(0x3c2)])),this[_0x1585e3(0x445)]['get'](_0x17d97c);}}_0x3e0575['IURLService']=_0x4af2ba,_0x3e0575[_0x1b1e14(0x43f)]=_0x14419a,_0x3e0575[_0x1b1e14(0x3e3)]=_0x894f92,_0x3e0575[_0x1b1e14(0x3a9)]=_0x48f0ff,Object[_0x1b1e14(0x394)](_0x3e0575,Symbol[_0x1b1e14(0x31d)],{'value':'Module'});}));function _0x4e18(_0x46c3f4,_0x45ff0b){_0x46c3f4=_0x46c3f4-0x182;const _0x118454=_0x1184();let _0x4e18f4=_0x118454[_0x46c3f4];return _0x4e18f4;}function _0x1184(){const _0xf3cc8d=['SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','stack','from','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_init','CollaborationController','newValue','WECHAT_HAS_BEEN_BOUND','ENTITLE_CAN_NOT_BUY_LOWER_OTP','redoState','combineLatest','unsubscribe','getMemberID','RxDisposable','ISocketService','_getScale','length','ERROR_AGAIN','InsertRowCommandId','_startSheetCollabCursor','m1Prime','7MKGOFU','blue.400','size','Inject','params','getColorFromTheme','UniverInstanceType','saveImage','YUUMI_SUBSCRIPTION_NOT_FOUND','assignAColorForMemberID','unitID','getCurrent','CommandType','getCurrentRevOfUnit','row','toRgbString','onPointerEnter$','ranges','socket$','get','_themeService','LICENSE_IMPORT_SIZE_EXCEEDED','Rect','dispose$','toStringTag','event$','values','_initStatusComponent','getSheetId','IImageIoService','stageInfo','LICENSE_MAX_UNITS_EXCEEDED','FormulaExecuteStageType','AWAITING','result','_checkCalculationAvailable','Warning','_render','flatMap','forwardRef','CURRENT_STATUS_CANNOT_OPERATE','_initUserListener','@univerjs/core','_selfUnitIDs','NOT_COLLAB','currentColor','MUTATION','currentTheme$','handleMoveRange','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/license/formula/limit/status','_colorAssignService','sheetID','_eventUnsubscribe','has','JOIN_ROOM_FAILED','_backgroundColor','RefRangeService','fillStyle','_status$','Disposable','session.collaboration-timeout','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','requireSession','_online','setTimeout','entityInit$','_transformHistoryAndStateStack','/run/','createElement','getCoordByCell','on-line-icon_clip0_910_349','_localeService','handleInsertRow','_registerRenderDependencies','filename','_hideTimer','_docTransformSelectionsService','ILogService','doc.mutation.rich-text-editing','hide','SHEET_VIEWPORT_KEY','_configService','cursorInfo$','IDocClipboardService','pushState','beginPath','APPLY_PERMISSION_DENIED','top','selection','color','some','_send','subunit','ticket','dirtyRanges','YUUMI_URL_COL_OUT_OF_RANGE','setStateCache','eventID','_labelPosition','UniverUi','exports','_saveCache','saveOfflineData','USERS_LEAVE','3640200ezyXqZ','ENTITLE_DUP_SUBSCRIPTION','_syncEditingCollabCursorService','clsx','fromEvent','INVALID_INVITE_CODE','ENTITLE_COUPON_USED_UP','UniverDrawing','getOffsetConfig','mask','permission.content','NOT_FOUND','Error','code','_setupBeforeClosingHandler','_currentUsage','UniverSheetsUi','mergeOverrideWithDependencies','_releaseCalculationLimit','Loading','getTypeOfUnitAdded$','_docTransformIMECacheService','m2Prime','_colorIndex','onMouseMove','LOGIN_FAILED','_clearOtherTimers','permission.title','_transformService','HEADER_MENU','roomMembers','path','REDEMPTION_CODE_NOT_STARTED','_name','createSocket','substring','none','setUndoRedoMutationParamsCache','defineProperty','origin','ENTITLE_COUPON_EXPIRED','ACTIVE_UNIT_EVENT_CHANNEL','transformMutation','FromArray','off-line-icon','_range','startColumn','with','RemoteUniscriptService','height','string','storage','svg','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','maxFormulaLimit','translate(.97)','YUUMI_RATE_OVER_LIMIT','_initStatusListener','colorChannel1','WebURLService','_config','EffectRefRangId','getRelativeToViewportCoord','OffLineIcon','jiqing.500','IUniverInstanceService','whenReady','transformMutationsWithChangeset','symbol','UNIVER_DOC','RegularPolygon','actions','SYNCED','SessionStatus','getTypeOfUnitDisposed$','subscribe','key','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','collabStatus.offline','@univerjs-pro/collaboration-client','useDependency','_getAnchorBounding','NO_OTHER_CLIENTS_EDITING','onStarting','findNodePositionByCharIndex','_toggleOnline','off-line-icon_clip0_910_343','getCollabCursors$','current','use','DATA_SOURCE_TOO_LARGE','removeEventListener','SUCCESS','onPointerLeave$','_checkAndWaitForCalculationPermission','fillRule','defs','_handleHeartbeatEvent','_docSkeleton','text','_initEvent','SOCKET_FAILED','ILocalCacheService','_messageService','rgba(255,\x20255,\x20255,\x200.01)','_getFormulaLimitStatus','unitId','unit','UnitStatus','UniverRpc','UNIVER_SHEET','REDEMPTION_CODE_INACTIVE','_logService','INTERNAL_ERROR','sheetId','WebBrowserSingleActiveUnitService','column','YUUMI_NO_CUBOID_FOR_QUESTION','IConfigService','REDEMPTION_CODE_FULLY_REDEEMED','collabStatus.synced','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','deserializeRangeWithSheet','ISnapshotServerService','INVALID_ARGUMENT','backgroundColor','runRefRangeMutations','sessionTicket','searchParams','location','docStateChange$','LICENSE_DISTRO_REJECTED','hovered','_doCreateSocket','Shape','_lastPointer','init','LocaleService','_commandService','lineno','_dataLoaderService','addClipboardHook','APPLY_REVISION_CONFILICT','removeParam','getViewport','InsertRangeMoveRightCommandId','roomMembers$','_uiPartsService','ColorKit','_clearPolling','shift','undoState','_transformUndoRedoStack','selections','textRanges','_memberService','_collaborationSessionService','xlink:href','_cursors','find','collaboration.single-unit.warning','parse','DesktopCollaborationStatusDisplayController','_saveTaskMap','REDEMPTION_CODE_HAS_BEEN_CREATED','_renderManagerService','updateOfflineData','_heartbeatTimer','_initResize','asObservable','UNDEFINED','ONLINE','[Unhandled\x20Rejection]:\x20','?taskId=','_createSocketURL','VIEW_MAIN','CollaborationEvent','collabStatus.notCollab','attrs','div','_taskIds','collaboration.offline-data-not-saved','colno','1em','RECT','map','save','@univerjs/network','getValue','replace','React','handleIRemoveCol','getMergeData','getColor','startFormulaLimitUrl','drawWith','react/jsx-runtime','_docStateChangeManagerService','CollaborationStatus','Tools','_drawTextRange','loadOfflineData','\x20at\x20','width','type','getCellMatrix','SheetCollabCursorShape','_hovered','set','Unknown\x20user','_docClipboardService','UniverSheets','_unitStatus','_removeCollabCursors','IMessageService','getItem','range','_collaborationController','complete','PERMISSION_DENIED','http://www.w3.org/2000/svg','2FCIxfm','115044piEnxR','entries','_urlService','MOBILE_VERIFY_CODE_MISMATCH','unshift','registerRenderModule','MoveRangeCommandId','push','getUndoRedoMutationParamsCache','ENTITLE_USE_COUPON_NOT_1ST_TRADE','forEach','_collaborationUIEventService','defIds','_unitOnClients','IUIPartsService','UniverEngineFormula','data','formula.calculation.unable','catch','MemberService','ENTITLE_CHAT_LIMIT_EXCEED','setActiveRange','PY_RUNTIME_SCRIPT_ERROR','_pollingInterval','send','_maxFormulaLimit','addEventListener','NodePositionConvertToCursor','getSheetBySheetId','trim','_setupSubUnitSync','_localCacheService','body','_scheduleSaving','_handleHover','name','switchMap','setParam','REDEMPTION_INVALID_CODE','_cursor','M0\x200H16V16H0z','RemoveRowCommandId','/universer-api/frontend/logs','transformStateCache','_updateSubUnitFromURLParams','_sheetSkeletonManagerService','_handleJoinEvent','4xVtQYU','error','onTransformChange$','0\x200\x2016\x2016','REDEMPTION_USER_NOT_ELIGIBLE','filter','UniverCore','OFFLINE','_uploadLog','getRenderById','subUnitId','executionId','SheetSkeletonManagerService','Subject','unhandledrejection','registerRefRange','restore','generateRandomId','ENTITLE_INVALID_COUPON_CODE','post','IBeforeCloseService','then','formula.calculation.waiting','@univerjs/design','_docSyncEditingCollabCursorService','_removeClearOtherTimer','TEXT_RANGE_LAYER_INDEX','sessionStatus$','getParam','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getSheetObject','isTransformMutationFailure','arc','BehaviorSubject','replaceDocRanges','getUnitStatus$','@univerjs/docs','setItem','SetDocZoomRatioOperation','YUUMI_UNABLE_LOAD_URL','_beforeCloseService','makeDirty','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_scene','DocSelectionManagerService','activeSheet$','_scheduleHeartbeat','delete','_entityInit$','handleDeleteRangeMoveUp','measureText','APPLY_DUPLICATED','_applyCommand','5202279QOTFDN','on-line-icon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','_drawAnchor','now','dispose','Injector','getOwnPropertyDescriptor','_collabCursorState$','beforeCommandExecuted','debounce','INVITE_CODE_HAS_BEEN_UES','merge','invokeId','_updateURLWithCurrentState','LOGIN_TOKEN_PROCESSING_FAILED','_docTransformStateCacheService','getCellPositionByOffset','syncEditingCollabCursor','purple.300','_initCommandExecutedListener','fill','disposeUnit','getUnhiddenWorksheets','OTHER_CLIENT_EDITING','enableFrontendLog','_scheduleClearOtherTimer','getSkeleton','_toggleOffline','_onCursorUpdate','_refRangeService','MessageType','distinctUntilChanged','getRangePointData','_context','Failed','UniverCollaborationClientPlugin','transform','isEditing','ENTITLE_INSUFFICIENT_QUOTA','isTransformMutationsWithChangesetSuccess','assign','getCurrentSelections','USER_NOT_FOUND','collabCursorState$','YUUMI_CONNECTOR_URL_NOT_FOUND','_imageIoService','_updateCollabCursors','triggerDblclick','registerBeforeClose','_assignedColors','isArray','univer-flex\x20univer-items-center','AUTHORIZE_CODE_ILLEGAL','0\x200\x2017\x2016','getCurrentUnitForType','_startCalculationLimit','getMember','_startDocCollabCursor','DocIMEInputManagerService','rxjs/operators','_cachedData','[CollaborationDataLoaderController]','_initDependencies','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_httpService','_cursorShapes','_id','APPLY_REJECT','skeleton','ThemeService','_ensureSubject','UniverProCollaboration','CollaborationUIEventId','_color','getUnitId','debug','random','disposeWithMe','mutations','onLocalMutation','yellow.400','react','#FFF','TEXT','[LogService\x20Error]:\x20','univer-mr-2\x20univer-flex\x20univer-text-xl','onRendered','1419bpXChT','APPLY_NON_SEQUENTIAL_REVISION','runId','DocSkeletonManagerService','evenodd','_entities','NodePositionConvertToRectRange','toDisposable','stringify','getLocalCacheKey','jsxs','pipe','getConfig','saveTaskMap','6338298lJALpj','next','bottom','jsx','add','BrowserCollaborationSocketService','editingUnit','DisposableCollection','rxjs','font','isFormulaId','_hover','DOC_RANGE_TYPE','url(#$1','getDocRanges','href','_univerInstanceService','_initUnhandledRejectionListener','ENTITLE_REPORT_LIMIT_EXCEED','SetFormulaCalculationStartMutation','_localStorageService','toString','UPDATE_CURSOR','TOO_MANY_REQUESTS','startRow','UNRECOGNIZED','setShapeProps','DocCollaborationEntity','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_lastResponseTimestamp','getUnit','SetSelectionsOperation','endRow','search','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','UniverProCollaborationClient','transformIMECache','memberID','touchDependencies','636985wcgOob','_textBubble','UniverProCollaborationClientUi','_updateLocalCursor','isFormulaString','SetTextSelectionsOperation','ICommandService','_memberID','enableLocalCache','getUniverSheetInstance','tag','show','MOBILE_HAS_BEEN_BOUND','deepClone','shareReplay','SheetsSelectionsService','takeUntil','getformulaLimitStatusUrl','_disabled','_getSessionTicket','_docSkeletonManagerService','replaceState','throttleTime','_document','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PAYMENT_CHANNEL_NOT_SUPPORT','_collabSessionService','ILocalStorageService','endColumn','@univerjs/sheets-ui','history','_showGuardMessage','_draw','DataLoaderService','HTTPService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','useCallback','OnLineIcon','Vector2','ITransformService','10iggSoA','COLORS','onCommandExecuted','fromEventSubject','_cursorInfo$','getFocusedUnit','startsWith','addObject','onPointerMove$','idSuffix','/universer-api/license/formula/limit/done','CONNECTOR_DATA_TOO_LARGE','black','createInstance','handleDeleteRangeMoveLeft','_injector','DeleteRangeMoveLeftCommandId','UNAUTHENTICATED','USER_NOT_INVITED_CODE','urlChange$','DependentOn','SetFormulaCalculationNotificationMutation','_anchorDot','_getMergeRange','11799828fJnqmI','reconnect','operators','2528690TYCwLp','LICENSE_EXPORT_SIZE_EXCEEDED','cursorInfo','parseInt','@univerjs/engine-render','_instanceService','children','_hasFormulaInDirtyRanges','DeleteRangeMoveUpCommandId','round','popstate','SetWorksheetActivateCommand','InsertRangeMoveDownCommandId','collab-text-anchor-','EMAIL_VERIFY_CODE_MISMATCH','isActive','UniverCollaborationClientUIPlugin','_refreshCollabCursors','_revisionService','CollaborationDataLoaderController','transformByState','CollaborationSessionService','moveTo','wsSessionTicketUrl','_setFormulaLimitStatus','_roomMembers$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initCommandInterceptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initEntityListener','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','DocStateChangeManagerService','@univerjs/engine-formula','currentUsage','_drawRectRange','AWAITING_WITH_PENDING','WebSocketService','limitInfo','_session','engine','min','IRemoteInstanceService','executeCommand','serializeRangeWithSheet','exhaustSavingTask','object','CONFLICT','_onRefRangeChange','red.300','_collabCursorController','source','join','SUBMIT_CHANGESET_TIMEOUT','addObjects','currentSkeleton$','transformRemoteChangeset','lineTo','clipPath','_handleLeaveEvent','function','getStateCache','_shapes','getVpScrollXYInfoByPosToVp','stage','collabStatus.fetchMiss','_anchor','RichTextEditingMutation','Optional','COMPLETION_FINISHED','_notificationService','message','clearInterval','UniverIcon','setConfig','collaboration.closeRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Rectangle','uni.network.url-service','getActiveSheet','subscribeEvent','OTHER_CLIENTS_EDITING','_onCursorDelete','Plugin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','registerDependencies','green.600','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT'];_0x1184=function(){return _0xf3cc8d;};return _0x1184();}
1
+ (function(_0x43be42,_0xc9d533){const _0x27b6bf=_0x21d5,_0x46a5c3=_0x43be42();while(!![]){try{const _0x168c60=-parseInt(_0x27b6bf(0x386))/0x1+-parseInt(_0x27b6bf(0x1f1))/0x2+-parseInt(_0x27b6bf(0x1bf))/0x3*(-parseInt(_0x27b6bf(0x354))/0x4)+-parseInt(_0x27b6bf(0x253))/0x5*(-parseInt(_0x27b6bf(0x31a))/0x6)+-parseInt(_0x27b6bf(0x1fc))/0x7*(parseInt(_0x27b6bf(0x437))/0x8)+parseInt(_0x27b6bf(0x293))/0x9*(parseInt(_0x27b6bf(0x299))/0xa)+-parseInt(_0x27b6bf(0x184))/0xb*(-parseInt(_0x27b6bf(0x2c5))/0xc);if(_0x168c60===_0xc9d533)break;else _0x46a5c3['push'](_0x46a5c3['shift']());}catch(_0x28a21d){_0x46a5c3['push'](_0x46a5c3['shift']());}}}(_0x5702,0x6f2f0),function(_0x283bf4,_0x239514){const _0x2f96cd=_0x21d5;typeof exports=='object'&&typeof module<'u'?_0x239514(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2f96cd(0x3a2)&&define[_0x2f96cd(0x388)]?define([_0x2f96cd(0x455),_0x2f96cd(0x46b),_0x2f96cd(0x28e),_0x2f96cd(0x39c),_0x2f96cd(0x383),'rxjs','@univerjs/design','react','@univerjs/rpc',_0x2f96cd(0x3af),_0x2f96cd(0x466),'@univerjs/network',_0x2f96cd(0x1b0),_0x2f96cd(0x332),_0x2f96cd(0x2d9),_0x2f96cd(0x2e6),_0x2f96cd(0x463),_0x2f96cd(0x3db),_0x2f96cd(0x358)],_0x239514):(_0x283bf4=typeof globalThis<'u'?globalThis:_0x283bf4||self,_0x239514(_0x283bf4[_0x2f96cd(0x21e)]={},_0x283bf4[_0x2f96cd(0x234)],_0x283bf4[_0x2f96cd(0x310)],_0x283bf4[_0x2f96cd(0x1ca)],_0x283bf4[_0x2f96cd(0x1f8)],_0x283bf4[_0x2f96cd(0x1dd)],_0x283bf4['UniverDesign'],_0x283bf4[_0x2f96cd(0x234)],_0x283bf4[_0x2f96cd(0x2ad)],_0x283bf4['UniverSheets'],_0x283bf4[_0x2f96cd(0x38f)],_0x283bf4[_0x2f96cd(0x18c)],_0x283bf4[_0x2f96cd(0x460)],_0x283bf4[_0x2f96cd(0x42a)],_0x283bf4[_0x2f96cd(0x237)],_0x283bf4[_0x2f96cd(0x1c3)],_0x283bf4[_0x2f96cd(0x297)],_0x283bf4[_0x2f96cd(0x1dd)]['operators'],_0x283bf4[_0x2f96cd(0x1cf)]));}(this,function(_0x2ad26e,_0x1f11ec,_0x3c2922,_0x46b8ad,_0x1188a4,_0x1e9e4e,_0x2472b7,_0x51862a,_0x434d31,_0x13171a,_0x432809,_0x3f1a6a,_0x25822b,_0x2780ca,_0x45ac64,_0x137448,_0x21c000,_0xb836bd,_0x33fa1b){'use strict';const _0xa8de06=_0x21d5;var _0x126d07=Object[_0xa8de06(0x45d)],_0x3859c3=(_0x5e2d2b,_0x2eb618,_0x38b1a3)=>_0x2eb618 in _0x5e2d2b?_0x126d07(_0x5e2d2b,_0x2eb618,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38b1a3}):_0x5e2d2b[_0x2eb618]=_0x38b1a3,_0xa13482=(_0x31ab54,_0x4e03f5,_0x23fb6d)=>_0x3859c3(_0x31ab54,typeof _0x4e03f5!=_0xa8de06(0x31b)?_0x4e03f5+'':_0x4e03f5,_0x23fb6d);function _0x5297ba({ref:_0x1e26be,..._0x4de3c7}){const _0x571088=_0xa8de06,{icon:_0x5b139e,id:_0x50e5a2,className:_0x5eb363,extend:_0x4ebcde,..._0x1ae696}=_0x4de3c7,_0x1f39f8=(_0x571088(0x20c)+_0x50e5a2+'\x20'+(_0x5eb363||''))[_0x571088(0x19d)](),_0x493d76=_0x51862a['useRef']('_'+_0x285e55());return _0x252ac4(_0x5b139e,''+_0x50e5a2,{'defIds':_0x5b139e[_0x571088(0x27b)],'idSuffix':_0x493d76[_0x571088(0x2a7)]},{'ref':_0x1e26be,'className':_0x1f39f8,..._0x1ae696},_0x4ebcde);}function _0x252ac4(_0x2af3d6,_0x17a2d1,_0x2bffcc,_0xbb5ba6,_0x39f251){const _0x48ae64=_0xa8de06;return _0x51862a[_0x48ae64(0x3a4)](_0x2af3d6[_0x48ae64(0x22b)],{'key':_0x17a2d1,..._0x436ed2(_0x2af3d6,_0x2bffcc,_0x39f251),..._0xbb5ba6},(_0x70904c(_0x2af3d6,_0x2bffcc)[_0x48ae64(0x3c1)]||[])[_0x48ae64(0x3c9)]((_0x589c0a,_0x464d59)=>_0x252ac4(_0x589c0a,_0x17a2d1+'-'+_0x2af3d6['tag']+'-'+_0x464d59,_0x2bffcc,void 0x0,_0x39f251)));}function _0x436ed2(_0x253e76,_0x1da5ff,_0x150a6e){const _0x555619=_0xa8de06,_0x22ce6b={..._0x253e76[_0x555619(0x450)]};_0x150a6e!=null&&_0x150a6e[_0x555619(0x2c8)]&&_0x22ce6b[_0x555619(0x419)]===_0x555619(0x2c8)&&(_0x22ce6b['fill']=_0x150a6e[_0x555619(0x2c8)]),_0x253e76['tag']===_0x555619(0x39e)&&_0x22ce6b['id']&&(_0x22ce6b['id']=_0x22ce6b['id']+_0x1da5ff[_0x555619(0x20e)]),Object[_0x555619(0x42d)](_0x22ce6b)[_0x555619(0x2bf)](([_0x26d2e2,_0x32fd87])=>{const _0x43cc18=_0x555619;_0x26d2e2==='mask'&&typeof _0x32fd87=='string'&&(_0x22ce6b[_0x26d2e2]=_0x32fd87[_0x43cc18(0x459)](/url\(#(.*)\)/,_0x43cc18(0x262)+_0x1da5ff['idSuffix']+')'));});const {defIds:_0x58bb9e}=_0x1da5ff;return!_0x58bb9e||_0x58bb9e[_0x555619(0x370)]===0x0||(_0x253e76[_0x555619(0x22b)]===_0x555619(0x337)&&_0x22ce6b['xlink:href']&&(_0x22ce6b[_0x555619(0x1e5)]=_0x22ce6b['xlink:href']+_0x1da5ff['idSuffix']),Object[_0x555619(0x42d)](_0x22ce6b)['forEach'](([_0x3090e2,_0x41cec4])=>{const _0x1dc2d0=_0x555619;typeof _0x41cec4=='string'&&(_0x22ce6b[_0x3090e2]=_0x41cec4[_0x1dc2d0(0x459)](/url\(#(.*)\)/,_0x1dc2d0(0x262)+_0x1da5ff[_0x1dc2d0(0x20e)]+')'));})),_0x22ce6b;}function _0x70904c(_0xa118d1,_0x304f92){const _0x3ca8b2=_0xa8de06;var _0x12f283;const {defIds:_0x17abd1}=_0x304f92;return!_0x17abd1||_0x17abd1['length']===0x0?_0xa118d1:_0xa118d1[_0x3ca8b2(0x22b)]===_0x3ca8b2(0x448)&&((_0x12f283=_0xa118d1[_0x3ca8b2(0x3c1)])!=null&&_0x12f283[_0x3ca8b2(0x370)])?{..._0xa118d1,'children':_0xa118d1[_0x3ca8b2(0x3c1)]['map'](_0x3e8930=>typeof _0x3e8930[_0x3ca8b2(0x450)]['id']=='string'&&_0x17abd1&&_0x17abd1['includes'](_0x3e8930[_0x3ca8b2(0x450)]['id'])?{..._0x3e8930,'attrs':{..._0x3e8930[_0x3ca8b2(0x450)],'id':_0x3e8930['attrs']['id']+_0x304f92['idSuffix']}}:_0x3e8930)}:_0xa118d1;}function _0x285e55(){const _0x447691=_0xa8de06;return Math['random']()[_0x447691(0x3c4)](0x24)[_0x447691(0x19f)](0x2,0x8);}_0x5297ba['displayName']=_0xa8de06(0x441);const _0x4f531e={'tag':'svg','attrs':{'xmlns':_0xa8de06(0x414),'fill':_0xa8de06(0x3aa),'viewBox':_0xa8de06(0x203),'width':_0xa8de06(0x25b),'height':_0xa8de06(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':_0xa8de06(0x334)},'children':[{'tag':_0xa8de06(0x329),'attrs':{'stroke':'currentColor','d':_0xa8de06(0x3c8),'strokeLinecap':'round','strokeLinejoin':_0xa8de06(0x304),'strokeWidth':1.2}}]},{'tag':_0xa8de06(0x448),'attrs':{},'children':[{'tag':_0xa8de06(0x2be),'attrs':{'id':_0xa8de06(0x2ed)},'children':[{'tag':_0xa8de06(0x329),'attrs':{'fill':_0xa8de06(0x2a6),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xa8de06(0x2ed)]},_0x1dd792=_0x51862a[_0xa8de06(0x209)](function(_0x15c630,_0x3ba71d){const _0x2eeffd=_0xa8de06;return _0x51862a[_0x2eeffd(0x3a4)](_0x5297ba,Object['assign']({},_0x15c630,{'id':_0x2eeffd(0x27e),'ref':_0x3ba71d,'icon':_0x4f531e}));});_0x1dd792['displayName']='OffLineIcon';const _0x42c0c3={'tag':'svg','attrs':{'xmlns':_0xa8de06(0x414),'fill':_0xa8de06(0x3aa),'viewBox':_0xa8de06(0x399),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xa8de06(0x331)},'children':[{'tag':_0xa8de06(0x329),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0xa8de06(0x304),'strokeWidth':1.2}}]},{'tag':_0xa8de06(0x448),'attrs':{},'children':[{'tag':_0xa8de06(0x2be),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xa8de06(0x2a6),'d':'M0\x200H16V16H0z','transform':_0xa8de06(0x26d)}}]}]}],'defIds':[_0xa8de06(0x2e3)]},_0x3e074e=_0x51862a[_0xa8de06(0x209)](function(_0x82592f,_0x27d664){const _0x3df34f=_0xa8de06;return _0x51862a[_0x3df34f(0x3a4)](_0x5297ba,Object[_0x3df34f(0x206)]({},_0x82592f,{'id':'on-line-icon','ref':_0x27d664,'icon':_0x42c0c3}));});_0x3e074e[_0xa8de06(0x30e)]=_0xa8de06(0x3d7);function _0x29c26b(_0x1f3b2f){const _0x24b6d0=_0xa8de06;switch(_0x1f3b2f){case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x2e9)]:return _0x24b6d0(0x3f9);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x24e)]:return'collabStatus.conflict';case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x1b7)]:return _0x24b6d0(0x280);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x33d)]:return _0x24b6d0(0x2fc);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x411)]:case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x182)]:return _0x24b6d0(0x238);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x3e5)]:case _0x3c2922['CollaborationStatus'][_0x24b6d0(0x342)]:return _0x24b6d0(0x26a);}}function _0x47498b(_0xc132bd){const _0x4d8df5=_0xa8de06,{status$:_0x4690c2}=_0xc132bd,_0x21970e=_0x1188a4[_0x4d8df5(0x296)](_0x4690c2,_0x3c2922['CollaborationStatus'][_0x4d8df5(0x33d)]),_0xc3ab30=_0x1188a4[_0x4d8df5(0x3f6)](_0x46b8ad['LocaleService']),_0x36bdfe=_0x1188a4[_0x4d8df5(0x3f6)](_0x3c2922[_0x4d8df5(0x2f1)]),_0x332c9f=_0x21970e!==_0x3c2922[_0x4d8df5(0x356)][_0x4d8df5(0x2e9)],_0x47ce53=_0xc3ab30['t'](_0x29c26b(_0x21970e)),_0x58e5f2=_0x332c9f?_0x1f11ec[_0x4d8df5(0x3b0)](_0x3e074e,{}):_0x1f11ec[_0x4d8df5(0x3b0)](_0x1dd792,{}),_0x2cd004=_0x51862a[_0x4d8df5(0x3fa)](()=>{const _0x338160=_0x4d8df5;_0x332c9f||_0x36bdfe[_0x338160(0x1c0)]();},[_0x332c9f,_0x36bdfe]);function _0x85a203(){const _0x415eff=_0x4d8df5;return _0x1f11ec[_0x415eff(0x333)](_0x415eff(0x436),{'className':'univer-flex\x20univer-items-center','onClick':_0x2cd004,'children':[_0x1f11ec[_0x415eff(0x3b0)](_0x415eff(0x436),{'className':_0x2472b7[_0x415eff(0x3fe)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x332c9f,'univer-text-red-500':!_0x332c9f}),'children':_0x58e5f2}),_0x1f11ec['jsx']('div',{'className':_0x415eff(0x239),'children':_0x47ce53})]});}return _0x332c9f?_0x85a203():_0x1f11ec[_0x4d8df5(0x3b0)](_0x2472b7[_0x4d8df5(0x1e7)],{'title':_0xc3ab30['t'](_0x4d8df5(0x286)),'children':_0x85a203()});}var _0x1c7643=Object[_0xa8de06(0x2fb)],_0x433735=(_0x4b6ff5,_0x1d9cdb,_0x3c3474,_0x4d68e0)=>{for(var _0x2809f7=_0x4d68e0>0x1?void 0x0:_0x4d68e0?_0x1c7643(_0x1d9cdb,_0x3c3474):_0x1d9cdb,_0x49e11a=_0x4b6ff5['length']-0x1,_0x110ca4;_0x49e11a>=0x0;_0x49e11a--)(_0x110ca4=_0x4b6ff5[_0x49e11a])&&(_0x2809f7=_0x110ca4(_0x2809f7)||_0x2809f7);return _0x2809f7;},_0xf83b65=(_0x4a61f9,_0x3c28a0)=>(_0x5353eb,_0x22d9c4)=>_0x3c28a0(_0x5353eb,_0x22d9c4,_0x4a61f9);_0x2ad26e[_0xa8de06(0x2c6)]=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0xec3f6,_0x502559,_0xd70218,_0x162c04){const _0x2977a6=_0xa8de06;super(),_0xa13482(this,_0x2977a6(0x314),new _0x1e9e4e[(_0x2977a6(0x23c))](_0x3c2922['CollaborationStatus'][_0x2977a6(0x33d)])),(this[_0x2977a6(0x274)]=_0xec3f6,this[_0x2977a6(0x1e3)]=_0x502559,this['_collaborationController']=_0xd70218,this['_uiPartsService']=_0x162c04,this[_0x2977a6(0x462)](),this[_0x2977a6(0x368)]());}[_0xa8de06(0x368)](){const _0x28a934=_0xa8de06;this[_0x28a934(0x418)](this[_0x28a934(0x274)][_0x28a934(0x2f9)][_0x28a934(0x2bb)](_0x1e9e4e['switchMap'](()=>{const _0x46c28b=_0x28a934,_0x3b49fa=this['_univerInstanceService'][_0x46c28b(0x21f)]();return _0x3b49fa?this[_0x46c28b(0x3f5)][_0x46c28b(0x3a8)](_0x3b49fa[_0x46c28b(0x3e8)]()):_0x1e9e4e['of'](null);}),_0x1e9e4e[_0x28a934(0x2c0)](_0x827ed0=>_0x827ed0?_0x827ed0[_0x28a934(0x23a)]:_0x1e9e4e['of'](_0x3c2922[_0x28a934(0x356)]['NOT_COLLAB'])))[_0x28a934(0x2ab)](_0x6e46ae=>{const _0x2fd27f=_0x28a934;this[_0x2fd27f(0x314)][_0x2fd27f(0x2dc)](_0x6e46ae);}));}[_0xa8de06(0x462)](){const _0x2d20b0=_0xa8de06;this[_0x2d20b0(0x418)](this[_0x2d20b0(0x258)][_0x2d20b0(0x452)](_0x1188a4['BuiltInUIPart'][_0x2d20b0(0x387)],()=>_0x1188a4[_0x2d20b0(0x43c)](_0x4e8cdf({'status$':this[_0x2d20b0(0x314)][_0x2d20b0(0x3a7)]()}),this[_0x2d20b0(0x1e3)])));}},_0x2ad26e[_0xa8de06(0x2c6)]=_0x433735([_0xf83b65(0x0,_0x46b8ad[_0xa8de06(0x21b)]),_0xf83b65(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0xf83b65(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x454)])),_0xf83b65(0x3,_0x1188a4['IUIPartsService'])],_0x2ad26e['DesktopCollaborationStatusDisplayController']);function _0x4e8cdf(_0x2c3106){const {status$:_0x5a968a}=_0x2c3106;return function(){const _0x587955=_0x21d5;return _0x1f11ec[_0x587955(0x3b0)](_0x47498b,{'status$':_0x5a968a});};}const _0x165cd6=_0x46b8ad['createIdentifier']('uni.network.url-service');var _0xaf425a=Object['getOwnPropertyDescriptor'],_0x5ace99=(_0x381599,_0x22f968,_0x3bda04,_0x46c4ce)=>{const _0x3f674a=_0xa8de06;for(var _0x3a7ae4=_0x46c4ce>0x1?void 0x0:_0x46c4ce?_0xaf425a(_0x22f968,_0x3bda04):_0x22f968,_0xe77965=_0x381599[_0x3f674a(0x370)]-0x1,_0x403576;_0xe77965>=0x0;_0xe77965--)(_0x403576=_0x381599[_0xe77965])&&(_0x3a7ae4=_0x403576(_0x3a7ae4)||_0x3a7ae4);return _0x3a7ae4;},_0x5787ca=(_0x4ba5ac,_0x5d240b)=>(_0x454617,_0x45b732)=>_0x5d240b(_0x454617,_0x45b732,_0x4ba5ac);_0x2ad26e[_0xa8de06(0x23b)]=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x199f03,_0x268466,_0x529d2e,_0x389ebf,_0x1698f4){const _0x36d6bf=_0xa8de06;super(),this['_urlService']=_0x199f03,this[_0x36d6bf(0x2ce)]=_0x268466,this['_commandService']=_0x529d2e,this[_0x36d6bf(0x1b2)]=_0x389ebf,_0x1698f4?_0x1698f4==null||_0x1698f4[_0x36d6bf(0x445)]()[_0x36d6bf(0x218)](()=>this[_0x36d6bf(0x435)]()):(this[_0x36d6bf(0x2ce)][_0x36d6bf(0x2cf)](_0x36d6bf(0x217),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x36d6bf(0x435)]());}async[_0xa8de06(0x435)](){const _0x270184=_0xa8de06,_0x447a0e=this[_0x270184(0x2c9)][_0x270184(0x201)]('unit'),_0x27a2cf=this[_0x270184(0x2c9)][_0x270184(0x201)](_0x270184(0x288)),_0x3ca46f=this[_0x270184(0x2c9)][_0x270184(0x201)](_0x270184(0x187));if(!_0x447a0e||!_0x27a2cf){this['_logService'][_0x270184(0x2cf)]('[CollaborationDataLoaderController]',_0x270184(0x26b));return;}const _0x49cb30=await this[_0x270184(0x1b2)]['loadUnit'](_0x447a0e,Number(_0x27a2cf),_0x3ca46f);_0x49cb30&&_0x49cb30 instanceof _0x46b8ad[_0x270184(0x40f)]&&this[_0x270184(0x248)](_0x49cb30);}async[_0xa8de06(0x248)](_0x5b6d6b){const _0x5664dd=_0xa8de06;await this['_updateSubUnitFromURLParams'](_0x5b6d6b),_0x5b6d6b[_0x5664dd(0x3ea)][_0x5664dd(0x2bb)](_0x1e9e4e['takeUntil'](this[_0x5664dd(0x37b)]))['subscribe'](_0x2ad2e3=>{const _0x38b0cf=_0x5664dd;_0x2ad2e3&&this[_0x38b0cf(0x295)](_0x2ad2e3);}),this[_0x5664dd(0x2c9)][_0x5664dd(0x205)][_0x5664dd(0x2bb)](_0x1e9e4e[_0x5664dd(0x1cb)](this[_0x5664dd(0x37b)]))[_0x5664dd(0x2ab)](()=>this[_0x5664dd(0x1af)](_0x5b6d6b));}[_0xa8de06(0x295)](_0x45ca98,_0x4e4b2d=!0x1){const _0x206145=_0xa8de06,_0x53ffa5=this[_0x206145(0x2c9)]['getParam'](_0x206145(0x187));_0x45ca98['getSheetId']()!==_0x53ffa5&&this[_0x206145(0x2c9)][_0x206145(0x36f)](_0x206145(0x187),_0x45ca98[_0x206145(0x32d)](),_0x4e4b2d);}async[_0xa8de06(0x1af)](_0x51ac1f){const _0x5e73ba=_0xa8de06;var _0x5459a7;const _0x569c19=this[_0x5e73ba(0x2c9)][_0x5e73ba(0x201)](_0x5e73ba(0x187));if(!_0x569c19||!_0x51ac1f[_0x5e73ba(0x351)](_0x569c19)){const _0xba3ec6=_0x51ac1f[_0x5e73ba(0x1a4)]()[0x0],_0x45d862=_0x51ac1f[_0x5e73ba(0x351)](_0xba3ec6);if(!_0x45d862)return;this[_0x5e73ba(0x295)](_0x45d862,!0x0),await this[_0x5e73ba(0x197)][_0x5e73ba(0x352)](_0x13171a[_0x5e73ba(0x39f)]['id'],{'unitId':_0x51ac1f[_0x5e73ba(0x3e8)](),'subUnitId':_0xba3ec6});return;}((_0x5459a7=_0x51ac1f[_0x5e73ba(0x39b)]())==null?void 0x0:_0x5459a7[_0x5e73ba(0x32d)]())!==_0x569c19&&await this[_0x5e73ba(0x197)][_0x5e73ba(0x352)](_0x13171a[_0x5e73ba(0x39f)]['id'],{'unitId':_0x51ac1f['getUnitId'](),'subUnitId':_0x569c19});}},_0x2ad26e[_0xa8de06(0x23b)]=_0x5ace99([_0x5787ca(0x0,_0x165cd6),_0x5787ca(0x1,_0x46b8ad['ILogService']),_0x5787ca(0x2,_0x46b8ad[_0xa8de06(0x21d)]),_0x5787ca(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x186)])),_0x5787ca(0x4,_0x46b8ad[_0xa8de06(0x24c)](_0x434d31['IRemoteInstanceService']))],_0x2ad26e[_0xa8de06(0x23b)]);var _0x32c572=Object[_0xa8de06(0x2fb)],_0xd993ae=(_0x228202,_0x3e4404,_0x4ca046,_0x22e9c5)=>{for(var _0x377377=_0x22e9c5>0x1?void 0x0:_0x22e9c5?_0x32c572(_0x3e4404,_0x4ca046):_0x3e4404,_0x4f661b=_0x228202['length']-0x1,_0x532f4e;_0x4f661b>=0x0;_0x4f661b--)(_0x532f4e=_0x228202[_0x4f661b])&&(_0x377377=_0x532f4e(_0x377377)||_0x377377);return _0x377377;},_0xf837a1=(_0x16abe0,_0xa57ba3)=>(_0x436585,_0x12f6ae)=>_0xa57ba3(_0x436585,_0x12f6ae,_0x16abe0);let _0x3f2971=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x39e668,_0x5bc0d2){const _0x58499b=_0xa8de06;super(),this['_docClipboardService']=_0x39e668,this[_0x58499b(0x3bc)]=_0x5bc0d2,this[_0x58499b(0x435)]();}['_init'](){const _0x1865ac=_0xa8de06,_0xf61522=this;this['disposeWithMe'](this[_0x1865ac(0x409)][_0x1865ac(0x27d)]({'onBeforePasteImage':async _0x3662dc=>{const _0x55d5c3=_0x1865ac,_0x1c34b3=await _0xf61522['_imageIoService'][_0x55d5c3(0x3e2)](_0x3662dc);return _0x1c34b3?{'source':_0x1c34b3[_0x55d5c3(0x397)],'imageSourceType':_0x1c34b3[_0x55d5c3(0x3be)]}:null;}}));}};_0x3f2971=_0xd993ae([_0xf837a1(0x0,_0x25822b[_0xa8de06(0x372)]),_0xf837a1(0x1,_0x2780ca[_0xa8de06(0x43e)])],_0x3f2971);const _0x154062=[_0xa8de06(0x19e),'jiqing.500','green.600','red.300',_0xa8de06(0x245),_0xa8de06(0x3c7)];class _0x7dd548 extends _0x46b8ad['Disposable']{constructor(){const _0x296627=_0xa8de06;super(...arguments),_0xa13482(this,_0x296627(0x41e),new Map()),_0xa13482(this,_0x296627(0x3ae),0x0);}[_0xa8de06(0x181)](_0xab8378){const _0x2d975f=_0xa8de06;if(this[_0x2d975f(0x41e)][_0x2d975f(0x3de)](_0xab8378))return this[_0x2d975f(0x41e)][_0x2d975f(0x3ca)](_0xab8378);const _0x4cab6c=_0x154062[this[_0x2d975f(0x3ae)]];return this[_0x2d975f(0x3ae)]=(this['_colorIndex']+0x1)%_0x154062['length'],this[_0x2d975f(0x41e)][_0x2d975f(0x1f9)](_0xab8378,_0x4cab6c),_0x4cab6c;}}function _0x29c04d(_0x1c96b9){const _0x183718=_0xa8de06;let _0x27f0c6='';for(const _0x36aea7 of _0x1c96b9){const {startOffset:_0x3fcafe,endOffset:_0x409fdf,isActive:_0x2b9dbc,rangeType:_0x596dd6,segmentId:_0x100971,segmentPage:_0x2dc24e}=_0x36aea7;_0x27f0c6[_0x183718(0x370)]&&(_0x27f0c6+=','),_0x27f0c6+=_0x3fcafe+':'+_0x409fdf+':'+(_0x2b9dbc?'1':'0')+':'+_0x596dd6+':'+_0x100971+':'+_0x2dc24e;}return _0x27f0c6;}function _0x14ab96(_0x133036){const _0x3c504a=_0xa8de06,_0x450ed0=_0x133036['split'](','),_0x1f8a64=[];for(const _0x41232c of _0x450ed0){const [_0x183772,_0x4a4dcf,_0x561a9a,_0x569a0f,_0x2f06f4,_0x2738be]=_0x41232c[_0x3c504a(0x451)](':');_0x1f8a64[_0x3c504a(0x392)]({'startOffset':Number(_0x183772),'endOffset':Number(_0x4a4dcf),'collapsed':_0x183772===_0x4a4dcf,'isActive':_0x561a9a==='1','rangeType':_0x569a0f===_0x46b8ad[_0x3c504a(0x1c1)][_0x3c504a(0x36e)]?_0x46b8ad[_0x3c504a(0x1c1)]['TEXT']:_0x46b8ad['DOC_RANGE_TYPE'][_0x3c504a(0x17d)],'segmentId':typeof _0x2f06f4==_0x3c504a(0x405)?String(_0x2f06f4):'','segmentPage':Number(_0x2738be!=null?_0x2738be:-0x1)});}return _0x1f8a64[_0x3c504a(0x32a)](_0x41ecef=>_0x41ecef[_0x3c504a(0x1cd)])||(_0x1f8a64[0x0]['isActive']=!0x0),_0x1f8a64;}class _0x3aaf60 extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(){const _0xac0a74=_0xa8de06;super(...arguments),_0xa13482(this,'_collabCursorState$',new _0x1e9e4e[(_0xac0a74(0x23c))](null)),_0xa13482(this,'collabCursorState$',this['_collabCursorState$'][_0xac0a74(0x3a7)]());}[_0xa8de06(0x227)](_0x48d6d7){const _0x2d0385=_0xa8de06,{unitID:_0x399a68,memberID:_0xdf62c5,textRanges:_0x2e6a46}=_0x48d6d7,_0x139764=_0x29c04d(_0x2e6a46);if(_0x139764==='')return;const _0x5abb0d={'unitID':_0x399a68,'memberID':_0xdf62c5,'selection':_0x139764};this[_0x2d0385(0x423)][_0x2d0385(0x2dc)](_0x5abb0d);}}var _0x11ed28=Object[_0xa8de06(0x2fb)],_0x377498=(_0x137201,_0x5a48ef,_0x33d690,_0x2304b6)=>{for(var _0x5f18ac=_0x2304b6>0x1?void 0x0:_0x2304b6?_0x11ed28(_0x5a48ef,_0x33d690):_0x5a48ef,_0x282515=_0x137201['length']-0x1,_0x36742c;_0x282515>=0x0;_0x282515--)(_0x36742c=_0x137201[_0x282515])&&(_0x5f18ac=_0x36742c(_0x5f18ac)||_0x5f18ac);return _0x5f18ac;},_0x47e373=(_0x17b91e,_0x49c03d)=>(_0x241a57,_0x41aa90)=>_0x49c03d(_0x241a57,_0x41aa90,_0x17b91e);const _0x3ea779=0x12c,_0x997ca8=0x64;let _0x337e0b=class extends _0x46b8ad['RxDisposable']{constructor(_0x365ff7,_0x3872eb,_0x5043f3,_0x3e19f6,_0x21a143,_0x268e03,_0xf12f7d,_0x8f3cca,_0x14db70){const _0x6d5f95=_0xa8de06;super(),_0xa13482(this,_0x6d5f95(0x1b3),!0x1),_0xa13482(this,'_init',!0x1),_0xa13482(this,_0x6d5f95(0x2d8),new _0x1e9e4e[(_0x6d5f95(0x23c))](new Map())),_0xa13482(this,'cursorInfo$',this[_0x6d5f95(0x2d8)]['asObservable']()),_0xa13482(this,_0x6d5f95(0x270),new _0x1e9e4e[(_0x6d5f95(0x23c))]([])),_0xa13482(this,_0x6d5f95(0x3fc),this[_0x6d5f95(0x270)][_0x6d5f95(0x2bb)](_0x1e9e4e[_0x6d5f95(0x3bd)](_0x3ea779))),_0xa13482(this,_0x6d5f95(0x2c3),_0x46b8ad[_0x6d5f95(0x244)](_0x435317=>{const _0x1f7c61=_0x6d5f95,_0x26e87e={'eventID':_0x45ac64['CollaborationEvent'][_0x1f7c61(0x26e)],'data':{'unitID':this[_0x1f7c61(0x3bf)],'memberID':this[_0x1f7c61(0x231)][_0x1f7c61(0x2d4)](),'selection':_0x29c04d(_0x435317)}};this[_0x1f7c61(0x231)][_0x1f7c61(0x43a)](_0x26e87e,this[_0x1f7c61(0x3bf)]);},_0x997ca8)),(this[_0x6d5f95(0x3bf)]=_0x365ff7,this[_0x6d5f95(0x231)]=_0x3872eb,this[_0x6d5f95(0x1e3)]=_0x5043f3,this['_colorAssignService']=_0x3e19f6,this[_0x6d5f95(0x34c)]=_0x21a143,this['_syncEditingCollabCursorService']=_0x268e03,this[_0x6d5f95(0x198)]=_0xf12f7d,this['_univerInstanceService']=_0x8f3cca,this['_commandService']=_0x14db70);}get[_0xa8de06(0x275)](){const _0x3ff4cb=_0xa8de06;return this[_0x3ff4cb(0x2d8)][_0x3ff4cb(0x3d6)]();}get[_0xa8de06(0x3fd)](){const _0x228182=_0xa8de06;return this[_0x228182(0x270)][_0x228182(0x3d6)]();}[_0xa8de06(0x208)](){const _0x4aa041=_0xa8de06;super[_0x4aa041(0x208)](),this['_cursorInfo$']['next'](new Map()),this[_0x4aa041(0x2d8)]['complete'](),this[_0x4aa041(0x270)][_0x4aa041(0x2dc)]([]),this[_0x4aa041(0x270)][_0x4aa041(0x3f2)]();}[_0xa8de06(0x38d)](){const _0x4a2175=_0xa8de06;this[_0x4a2175(0x435)]||(this[_0x4a2175(0x435)]=!0x0,this[_0x4a2175(0x231)][_0x4a2175(0x224)][_0x4a2175(0x2bb)](_0x1e9e4e[_0x4a2175(0x1cb)](this[_0x4a2175(0x37b)]))[_0x4a2175(0x2ab)](_0x4680b7=>{const _0x1d05c0=_0x4a2175;_0x4680b7===_0x3c2922['SessionStatus'][_0x1d05c0(0x32f)]?this['_toggleOnline']():this[_0x1d05c0(0x1f7)]();}),this[_0x4a2175(0x231)][_0x4a2175(0x2ae)]['pipe'](_0x1e9e4e[_0x4a2175(0x1cb)](this[_0x4a2175(0x37b)]))[_0x4a2175(0x2ab)](_0x1ae1be=>{const _0x1b3ee2=_0x4a2175,_0x251989=_0x1ae1be[_0x1b3ee2(0x34d)];_0x251989===_0x45ac64[_0x1b3ee2(0x303)][_0x1b3ee2(0x26e)]&&this[_0x1b3ee2(0x34a)](_0x1ae1be),_0x251989===_0x45ac64[_0x1b3ee2(0x303)][_0x1b3ee2(0x26c)]&&this[_0x1b3ee2(0x307)](_0x1ae1be);}),this['disposeWithMe'](this['_commandService'][_0x4a2175(0x340)](_0x2e5c25=>{const _0x4da2e8=_0x4a2175,_0x581564=_0x2e5c25[_0x4da2e8(0x267)];_0x581564!=null&&this[_0x4da2e8(0x1b3)]&&_0x2e5c25['id']===_0x137448[_0x4da2e8(0x242)]['id']&&_0x581564['unitId']===this['unitID']&&_0x581564[_0x4da2e8(0x346)]===!0x1&&_0x581564[_0x4da2e8(0x1f5)][_0x4da2e8(0x370)]>0x0&&this[_0x4da2e8(0x2c3)](_0x581564[_0x4da2e8(0x1f5)]);})),this[_0x4a2175(0x228)][_0x4a2175(0x385)]['pipe'](_0x1e9e4e[_0x4a2175(0x1cb)](this['dispose$']))['subscribe'](_0x2354ee=>{const _0x466e08=_0x4a2175;if((_0x2354ee==null?void 0x0:_0x2354ee[_0x466e08(0x3bf)])!==this['unitID'])return;const _0x4305d6={'eventID':_0x45ac64[_0x466e08(0x303)][_0x466e08(0x26e)],'data':_0x2354ee};this[_0x466e08(0x34a)](_0x4305d6);}),this[_0x4a2175(0x418)](this[_0x4a2175(0x197)][_0x4a2175(0x340)](_0x57b615=>{const _0x1a6b03=_0x4a2175;if(_0x57b615[_0x1a6b03(0x267)]==null)return;const _0x26872d=_0x57b615['params'];if(_0x57b615['id']!==_0x137448['RichTextEditingMutation']['id']||_0x26872d[_0x1a6b03(0x319)]!==this['unitID'])return;const _0x41999f={'id':_0x1a6b03(0x35e),'params':_0x26872d},_0x4cceca=this[_0x1a6b03(0x275)];for(const [_0x2c0f3e,_0xf0c4a3]of _0x4cceca){const _0x2863e0={'id':_0x1a6b03(0x35e),'params':{'unitId':this[_0x1a6b03(0x3bf)],'actions':null,'textRanges':_0xf0c4a3['ranges']}},_0x1a9b3e=this['_transformService'][_0x1a6b03(0x3e3)](_0x41999f,_0x2863e0,!0x1);if(_0x45ac64[_0x1a6b03(0x20a)](_0x1a9b3e))throw _0x1a9b3e['error'];_0x4cceca[_0x1a6b03(0x1f9)](_0x2c0f3e,{..._0xf0c4a3,'ranges':_0x1a9b3e[_0x1a6b03(0x421)][_0x1a6b03(0x267)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4cceca);});})));}['_onCursorUpdate'](_0x50f39b){const _0x2ffc23=_0xa8de06;var _0x30a0ab,_0x214e40;const {memberID:_0x2faf62,selection:_0x5454de}=_0x50f39b[_0x2ffc23(0x257)],_0x2d65be=_0x14ab96(_0x5454de),_0x32977b=(_0x214e40=(_0x30a0ab=this[_0x2ffc23(0x34c)][_0x2ffc23(0x22a)](this[_0x2ffc23(0x3bf)],_0x2faf62))==null?void 0x0:_0x30a0ab[_0x2ffc23(0x272)])!=null?_0x214e40:'Unknown\x20user',_0x3b2ad0={'color':this[_0x2ffc23(0x1d9)][_0x2ffc23(0x181)](_0x2faf62),'name':_0x32977b,'ranges':_0x2d65be},_0x210b78=this['cursorInfo'];_0x210b78[_0x2ffc23(0x1f9)](_0x2faf62,_0x3b2ad0),this[_0x2ffc23(0x2d8)][_0x2ffc23(0x2dc)](_0x210b78);}[_0xa8de06(0x307)](_0xc6443){const _0x36097c=_0xa8de06,{memberID:_0x2e99a1}=_0xc6443[_0x36097c(0x257)],_0xf4dc27=this[_0x36097c(0x275)];_0xf4dc27['delete'](_0x2e99a1),this[_0x36097c(0x2d8)][_0x36097c(0x2dc)](_0xf4dc27);}[_0xa8de06(0x415)](){const _0x32f55d=_0xa8de06;var _0x5981ba;if(this['_online']=!0x0,((_0x5981ba=this[_0x32f55d(0x274)][_0x32f55d(0x21f)]())==null?void 0x0:_0x5981ba['getUnitId']())!==this[_0x32f55d(0x3bf)])return;const _0xdedd2b=this[_0x32f55d(0x1e3)][_0x32f55d(0x3ca)](_0x137448[_0x32f55d(0x338)])[_0x32f55d(0x3cf)]();Array[_0x32f55d(0x30b)](_0xdedd2b)&&_0xdedd2b['length']>0x0&&this['_updateLocalCursor'](_0xdedd2b);}['_toggleOffline'](){const _0x420ca5=_0xa8de06;this[_0x420ca5(0x1b3)]=!0x1;}};_0x337e0b=_0x377498([_0x47e373(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x47e373(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x7dd548)),_0x47e373(0x4,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x18e)])),_0x47e373(0x5,_0x46b8ad[_0xa8de06(0x20b)](_0x3aaf60)),_0x47e373(0x6,_0x45ac64[_0xa8de06(0x40a)]),_0x47e373(0x7,_0x46b8ad[_0xa8de06(0x21b)]),_0x47e373(0x8,_0x46b8ad['ICommandService'])],_0x337e0b);var _0x3268e4=Object[_0xa8de06(0x2fb)],_0x118ce0=(_0x2aa8c2,_0x20d388,_0x3ec45f,_0x4807a)=>{for(var _0x3e6622=_0x4807a>0x1?void 0x0:_0x4807a?_0x3268e4(_0x20d388,_0x3ec45f):_0x20d388,_0xa5c902=_0x2aa8c2['length']-0x1,_0x267f71;_0xa5c902>=0x0;_0xa5c902--)(_0x267f71=_0x2aa8c2[_0xa5c902])&&(_0x3e6622=_0x267f71(_0x3e6622)||_0x3e6622);return _0x3e6622;},_0x5915ae=(_0x3872b4,_0x50232b)=>(_0x25bbec,_0x436faf)=>_0x50232b(_0x25bbec,_0x436faf,_0x3872b4);const _0x5ea361=0x12c,_0x3a59b4=0x64,_0xb1203a=()=>{let _0x287c6a=[],_0x3b7e4d=!0x1;return _0x463661=>{const _0x334ac1=_0x21d5;_0x287c6a[_0x334ac1(0x392)](_0x463661),_0x3b7e4d||(_0x3b7e4d=!0x0,setTimeout(()=>{_0x287c6a['forEach'](_0x20bbe5=>_0x20bbe5()),_0x287c6a=[],_0x3b7e4d=!0x1;}));};};let _0x5ca679=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x49a342,_0x3d1b1d,_0x106bb5,_0x3c68cc,_0xf898eb,_0x1abee4,_0x2d5a4c,_0x1c3426){const _0x58a63d=_0xa8de06;super(),_0xa13482(this,_0x58a63d(0x1b3),!0x1),_0xa13482(this,_0x58a63d(0x435),!0x1),_0xa13482(this,_0x58a63d(0x2d8),new _0x1e9e4e[(_0x58a63d(0x23c))](new Map())),_0xa13482(this,'cursorInfo$',this[_0x58a63d(0x2d8)][_0x58a63d(0x3a7)]()),_0xa13482(this,_0x58a63d(0x270),new _0x1e9e4e[(_0x58a63d(0x23c))]([])),_0xa13482(this,'roomMembers$',this[_0x58a63d(0x270)][_0x58a63d(0x2bb)](_0x1e9e4e['debounceTime'](_0x5ea361))),_0xa13482(this,_0x58a63d(0x2c3),_0x46b8ad[_0x58a63d(0x244)]((_0x47f566,_0x59cdeb)=>{const _0x752ac6=_0x58a63d,_0x5e5e55={'eventID':_0x45ac64[_0x752ac6(0x303)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x752ac6(0x3bf)],'memberID':this['_session'][_0x752ac6(0x2d4)](),'selection':_0x21c000['serializeRangeWithSheet'](_0x47f566,_0x59cdeb[_0x752ac6(0x2f6)])}};this[_0x752ac6(0x231)]['send'](_0x5e5e55,this['unitID']);},_0x3a59b4)),(this[_0x58a63d(0x3bf)]=_0x49a342,this['_session']=_0x3d1b1d,this[_0x58a63d(0x1e3)]=_0x106bb5,this[_0x58a63d(0x1d9)]=_0x3c68cc,this['_memberService']=_0xf898eb,this[_0x58a63d(0x274)]=_0x1abee4,this['_commandService']=_0x2d5a4c,this['_refRangeService']=_0x1c3426);}get['cursorInfo'](){const _0x2ba5b5=_0xa8de06;return this[_0x2ba5b5(0x2d8)][_0x2ba5b5(0x3d6)]();}get[_0xa8de06(0x3fd)](){const _0x112251=_0xa8de06;return this[_0x112251(0x270)][_0x112251(0x3d6)]();}['dispose'](){const _0x11502b=_0xa8de06;super[_0x11502b(0x208)](),this[_0x11502b(0x2d8)][_0x11502b(0x2dc)](new Map()),this[_0x11502b(0x2d8)][_0x11502b(0x3f2)](),this[_0x11502b(0x270)][_0x11502b(0x2dc)]([]),this[_0x11502b(0x270)]['complete']();}['init'](){const _0x215d93=_0xa8de06;this[_0x215d93(0x435)]||(this[_0x215d93(0x435)]=!0x0,this['_session']['sessionStatus$'][_0x215d93(0x2bb)](_0x1e9e4e[_0x215d93(0x1cb)](this[_0x215d93(0x37b)]))['subscribe'](_0x21b7e7=>{const _0x145d31=_0x215d93;_0x21b7e7===_0x3c2922[_0x145d31(0x210)]['ONLINE']?this[_0x145d31(0x415)]():this[_0x145d31(0x1f7)]();}),this[_0x215d93(0x231)][_0x215d93(0x2ae)]['pipe'](_0x1e9e4e[_0x215d93(0x1cb)](this[_0x215d93(0x37b)]))[_0x215d93(0x2ab)](_0x10f4c2=>{const _0x205925=_0x215d93,_0x409776=_0x10f4c2['eventID'];_0x409776===_0x45ac64[_0x205925(0x303)][_0x205925(0x26e)]&&this[_0x205925(0x34a)](_0x10f4c2),_0x409776===_0x45ac64['CollaborationEvent'][_0x205925(0x26c)]&&this[_0x205925(0x307)](_0x10f4c2);}),this[_0x215d93(0x3f0)](),this['disposeWithMe'](this[_0x215d93(0x197)][_0x215d93(0x340)](_0x5aaee6=>{const _0x481ae4=_0x215d93;if(this['_online']&&_0x5aaee6['id']===_0x13171a['SetSelectionsOperation']['id']&&_0x5aaee6[_0x481ae4(0x267)][_0x481ae4(0x319)]===this[_0x481ae4(0x3bf)]){const _0x2f5cc3=_0x5aaee6[_0x481ae4(0x267)];this[_0x481ae4(0x2c3)](_0x2f5cc3['subUnitId'],_0x2f5cc3[_0x481ae4(0x24f)][0x0]);}})));}[_0xa8de06(0x34a)](_0xc9ef8c){const _0xba027b=_0xa8de06;var _0x53dba7,_0x4c9f3d;const {memberID:_0x15ceea,selection:_0x223b04}=_0xc9ef8c['data'],{sheetName:_0x3d24bf,range:_0x1130dd}=_0x21c000[_0xba027b(0x400)](_0x223b04),_0x55ca4d={'name':(_0x4c9f3d=(_0x53dba7=this[_0xba027b(0x34c)][_0xba027b(0x22a)](this[_0xba027b(0x3bf)],_0x15ceea))==null?void 0x0:_0x53dba7[_0xba027b(0x272)])!=null?_0x4c9f3d:_0xba027b(0x31c),'range':this[_0xba027b(0x327)](_0x3d24bf,_0x1130dd),'sheetID':_0x3d24bf,'color':this['_colorAssignService'][_0xba027b(0x181)](_0x15ceea),'selection':_0x223b04},_0x3295d5=this[_0xba027b(0x275)];_0x3295d5[_0xba027b(0x1f9)](_0x15ceea,_0x55ca4d),this[_0xba027b(0x2d8)][_0xba027b(0x2dc)](_0x3295d5);}[_0xa8de06(0x307)](_0x3a3cd7){const _0x433062=_0xa8de06,{memberID:_0x5efd1f}=_0x3a3cd7['data'],_0x489fb8=this[_0x433062(0x275)];_0x489fb8[_0x433062(0x31e)](_0x5efd1f),this[_0x433062(0x2d8)][_0x433062(0x2dc)](_0x489fb8);}[_0xa8de06(0x327)](_0x40c84b,_0x4fae78){const _0x1ab17a=_0xa8de06;var _0x4f719f,_0x4a7eaf;const _0x402748=(_0x4a7eaf=(_0x4f719f=this[_0x1ab17a(0x274)][_0x1ab17a(0x1ed)](this[_0x1ab17a(0x3bf)]))==null?void 0x0:_0x4f719f['getSheetBySheetId'](_0x40c84b))==null?void 0x0:_0x4a7eaf['getMergeData']();return(_0x402748==null?void 0x0:_0x402748['find'](_0x21d231=>_0x46b8ad['Rectangle'][_0x1ab17a(0x19b)](_0x21d231,_0x4fae78)))||_0x4fae78;}[_0xa8de06(0x3f0)](){const _0x4a2452=_0xa8de06,_0x3de0df=new _0x46b8ad[(_0x4a2452(0x35a))](),_0x23d4a2=_0xb1203a(),_0x172347=()=>{const _0x53e6df=_0x4a2452;_0x3de0df[_0x53e6df(0x208)]();const _0x5e63e6=(_0x5ec076,_0x4f6316,_0x478d9b,_0x125e25)=>{const _0x31d19d=_0x53e6df;let _0x40914b=[];switch(_0x5ec076['id']){case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x25a)]:{_0x40914b=_0x13171a['handleDeleteRangeMoveLeft'](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x2cc)]:{_0x40914b=_0x13171a[_0x31d19d(0x3c2)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['InsertColCommandId']:{_0x40914b=_0x13171a['handleInsertCol'](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x2d0)]:{_0x40914b=_0x13171a[_0x31d19d(0x312)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x27f)]:{_0x40914b=_0x13171a[_0x31d19d(0x1c9)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['InsertRowCommandId']:{_0x40914b=_0x13171a[_0x31d19d(0x1ce)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x424)]:{_0x40914b=_0x13171a[_0x31d19d(0x3a1)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['RemoveColCommandId']:{_0x40914b=_0x13171a[_0x31d19d(0x35b)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['RemoveRowCommandId']:{_0x40914b=_0x13171a[_0x31d19d(0x202)](_0x5ec076,_0x125e25);break;}}const _0x312cb0=_0x13171a['runRefRangeMutations'](_0x40914b,_0x125e25),_0x1b00a3=this[_0x31d19d(0x275)][_0x31d19d(0x3ca)](_0x4f6316);if(_0x1b00a3&&_0x312cb0){const _0x24fe7b={..._0x1b00a3,'range':_0x312cb0};this[_0x31d19d(0x275)][_0x31d19d(0x1f9)](_0x4f6316,_0x24fe7b),_0x23d4a2(()=>{const _0x437bf4=_0x31d19d,_0x35e630=this['_refRangeService'][_0x437bf4(0x336)](_0x312cb0,_0xf872b4=>(_0x35e630[_0x437bf4(0x208)](),_0x5e63e6(_0xf872b4,_0x4f6316,_0x478d9b,_0x312cb0)));_0x3de0df['add'](_0x35e630);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x53e6df(0x2bf)]((_0x42b7d7,_0x4fc752)=>{const _0x43a467=_0x53e6df,{range:_0x4b7100,sheetID:_0xe2b321}=_0x42b7d7,_0x4ae40c=this[_0x43a467(0x403)][_0x43a467(0x336)](_0x4b7100,_0x34a991=>(_0x4ae40c[_0x43a467(0x208)](),_0x5e63e6(_0x34a991,_0x4fc752,_0xe2b321,_0x4b7100)));_0x3de0df[_0x43a467(0x24b)](_0x4ae40c);});};this[_0x4a2452(0x418)](_0x46b8ad[_0x4a2452(0x3e9)](this[_0x4a2452(0x2d8)][_0x4a2452(0x2ab)](()=>{_0x172347();})));}[_0xa8de06(0x415)](){const _0x522fa4=_0xa8de06;var _0x142a15,_0x45a211;if(this[_0x522fa4(0x1b3)]=!0x0,((_0x142a15=this[_0x522fa4(0x274)][_0x522fa4(0x21f)]())==null?void 0x0:_0x142a15[_0x522fa4(0x3e8)]())!==this[_0x522fa4(0x3bf)])return;const _0x373a50=(_0x45a211=this[_0x522fa4(0x1e3)][_0x522fa4(0x3ca)](_0x13171a[_0x522fa4(0x17f)])[_0x522fa4(0x29a)]())==null?void 0x0:_0x45a211[0x0],_0x55576f=this[_0x522fa4(0x274)][_0x522fa4(0x395)](_0x46b8ad['UniverInstanceType'][_0x522fa4(0x27a)])[_0x522fa4(0x39b)]();_0x373a50&&_0x55576f&&this[_0x522fa4(0x2c3)](_0x55576f[_0x522fa4(0x32d)](),_0x373a50);}['_toggleOffline'](){const _0x492331=_0xa8de06;this[_0x492331(0x1b3)]=!0x1;}};_0x5ca679=_0x118ce0([_0x5915ae(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x5915ae(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x7dd548)),_0x5915ae(0x4,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x18e)])),_0x5915ae(0x5,_0x46b8ad[_0xa8de06(0x21b)]),_0x5915ae(0x6,_0x46b8ad[_0xa8de06(0x21d)]),_0x5915ae(0x7,_0x46b8ad['Inject'](_0x13171a['RefRangeService']))],_0x5ca679);var _0x15a083=Object['getOwnPropertyDescriptor'],_0xdbb88b=(_0x58010b,_0x43bb1e,_0x6aee9d,_0x3f2705)=>{const _0x459999=_0xa8de06;for(var _0xaba552=_0x3f2705>0x1?void 0x0:_0x3f2705?_0x15a083(_0x43bb1e,_0x6aee9d):_0x43bb1e,_0x3d8d62=_0x58010b[_0x459999(0x370)]-0x1,_0x16ef33;_0x3d8d62>=0x0;_0x3d8d62--)(_0x16ef33=_0x58010b[_0x3d8d62])&&(_0xaba552=_0x16ef33(_0xaba552)||_0xaba552);return _0xaba552;},_0x2ed48f=(_0xdf0610,_0x35313c)=>(_0x26a09f,_0x327ca0)=>_0x35313c(_0x26a09f,_0x327ca0,_0xdf0610);let _0x12c067=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x14a0c3,_0x204179,_0x2df166){const _0x25a825=_0xa8de06;super(),_0xa13482(this,_0x25a825(0x291),new Map()),_0xa13482(this,_0x25a825(0x22f),new _0x1e9e4e[(_0x25a825(0x446))]()),(this[_0x25a825(0x274)]=_0x14a0c3,this[_0x25a825(0x1e3)]=_0x204179,this[_0x25a825(0x3ad)]=_0x2df166,this[_0x25a825(0x435)]());}[_0xa8de06(0x208)](){const _0x2e20bd=_0xa8de06;super[_0x2e20bd(0x208)](),this[_0x2e20bd(0x22f)]['complete'](),this['_entities'][_0x2e20bd(0x2bf)](_0x27ba7f=>_0x27ba7f[_0x2e20bd(0x208)]());}['getCollabCursors$'](_0x39a407){const _0x84692b=_0xa8de06;return this[_0x84692b(0x291)]['has'](_0x39a407)?this['_entities'][_0x84692b(0x3ca)](_0x39a407)['cursorInfo$']:this['_entityInit$'][_0x84692b(0x2bb)](_0x1e9e4e['filter'](_0x2bc5d6=>_0x2bc5d6[_0x84692b(0x3bf)]===_0x39a407),_0x1e9e4e[_0x84692b(0x2c0)](_0x1ac9bb=>_0x1ac9bb[_0x84692b(0x2d6)]));}[_0xa8de06(0x435)](){const _0x393a98=_0xa8de06;this[_0x393a98(0x274)][_0x393a98(0x40b)](_0x46b8ad['UniverInstanceType']['UNIVER_SHEET'])[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x1cb)](this['dispose$']))[_0x393a98(0x2ab)](async _0x20caf4=>{const _0x20ae2c=_0x393a98,_0x3ffb56=_0x20caf4['getUnitId'](),_0x4508ab=await this[_0x20ae2c(0x17c)](_0x3ffb56);this[_0x20ae2c(0x22f)][_0x20ae2c(0x2dc)](_0x4508ab),this[_0x20ae2c(0x291)][_0x20ae2c(0x1f9)](_0x3ffb56,_0x4508ab);}),this[_0x393a98(0x274)][_0x393a98(0x40b)](_0x46b8ad[_0x393a98(0x193)][_0x393a98(0x40e)])[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x1cb)](this['dispose$']))[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x3e0)](_0x47e4f8=>!_0x47e4f8[_0x393a98(0x3e8)]()['startsWith']('__')))['subscribe'](async _0x160cce=>{const _0x4e9c8e=_0x393a98,_0x5cb704=_0x160cce[_0x4e9c8e(0x3e8)](),_0x6c94d3=await this[_0x4e9c8e(0x43d)](_0x5cb704);this[_0x4e9c8e(0x22f)][_0x4e9c8e(0x2dc)](_0x6c94d3),this[_0x4e9c8e(0x291)]['set'](_0x5cb704,_0x6c94d3);}),_0x1e9e4e[_0x393a98(0x428)](this[_0x393a98(0x274)]['getTypeOfUnitDisposed$'](_0x46b8ad[_0x393a98(0x193)]['UNIVER_DOC']),this[_0x393a98(0x274)]['getTypeOfUnitDisposed$'](_0x46b8ad[_0x393a98(0x193)][_0x393a98(0x27a)]))[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x1cb)](this[_0x393a98(0x37b)]))[_0x393a98(0x2ab)](_0x7ef48b=>{const _0x3f73a3=_0x393a98,_0x3dd6b2=_0x7ef48b[_0x3f73a3(0x3e8)](),_0x4d449a=this[_0x3f73a3(0x291)][_0x3f73a3(0x3ca)](_0x3dd6b2);_0x4d449a&&(_0x4d449a[_0x3f73a3(0x208)](),this[_0x3f73a3(0x291)][_0x3f73a3(0x31e)](_0x3dd6b2));});}async[_0xa8de06(0x17c)](_0x55f78b){const _0xb172a9=_0xa8de06,_0x2855ef=await this[_0xb172a9(0x3ad)][_0xb172a9(0x301)](_0x55f78b),_0x147d0b=this[_0xb172a9(0x1e3)][_0xb172a9(0x1b5)](_0x5ca679,_0x55f78b,_0x2855ef);return _0x147d0b['init'](),_0x147d0b;}async[_0xa8de06(0x43d)](_0x3c4909){const _0x30aede=_0xa8de06,_0x328e9d=await this['_collabSessionService'][_0x30aede(0x301)](_0x3c4909),_0x17bd84=this[_0x30aede(0x1e3)]['createInstance'](_0x337e0b,_0x3c4909,_0x328e9d);return _0x17bd84[_0x30aede(0x38d)](),_0x17bd84;}};_0x12c067=_0xdbb88b([_0x2ed48f(0x0,_0x46b8ad[_0xa8de06(0x21b)]),_0x2ed48f(0x1,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x2ed48f(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x2f1)]))],_0x12c067);const _0x45fd3f=0x14,_0x59b4c5=0xc8,_0x4ddb50=0x4,_0x49f70d=0x5;function _0x5ef410(_0x524749,_0x2dc56e){const _0x5ab598=_0xa8de06;let {radius:_0xee49ce,width:_0x17216f,height:_0x33008d}=_0x2dc56e;_0xee49ce=_0xee49ce!=null?_0xee49ce:0x0,_0x17216f=_0x17216f!=null?_0x17216f:0x1e,_0x33008d=_0x33008d!=null?_0x33008d:0x1e;let _0x5cc6eb=0x0,_0x3af5fd=0x0,_0x2fbdff=0x0;_0x5cc6eb=_0x3af5fd=_0x2fbdff=Math[_0x5ab598(0x1ef)](_0xee49ce,_0x17216f/0x2,_0x33008d/0x2),_0x524749[_0x5ab598(0x315)](),_0x524749[_0x5ab598(0x3d3)](_0x5cc6eb,0x0),_0x524749[_0x5ab598(0x1b6)](_0x17216f-_0x3af5fd,0x0),_0x524749[_0x5ab598(0x469)](_0x17216f-_0x3af5fd,_0x3af5fd,_0x3af5fd,Math['PI']*0x3/0x2,0x0,!0x1),_0x524749[_0x5ab598(0x1b6)](_0x17216f,_0x33008d-_0x2fbdff),_0x524749[_0x5ab598(0x469)](_0x17216f-_0x2fbdff,_0x33008d-_0x2fbdff,_0x2fbdff,0x0,Math['PI']/0x2,!0x1),_0x524749['lineTo'](0x0,_0x33008d),_0x524749['lineTo'](0x0,_0x5cc6eb),_0x524749[_0x5ab598(0x469)](_0x5cc6eb,_0x5cc6eb,_0x5cc6eb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x524749[_0x5ab598(0x458)](),_0x2dc56e[_0x5ab598(0x419)]&&(_0x524749[_0x5ab598(0x20d)](),_0x524749['fillStyle']=_0x2dc56e[_0x5ab598(0x419)],_0x2dc56e[_0x5ab598(0x1d7)]==='evenodd'?_0x524749[_0x5ab598(0x419)](_0x5ab598(0x3ef)):_0x524749[_0x5ab598(0x419)](),_0x524749[_0x5ab598(0x29d)]());}class _0x271a4b extends _0x432809[_0xa8de06(0x2a1)]{constructor(_0x4def48,_0x482c03){const _0x4da07=_0xa8de06;super(_0x4def48,_0x482c03),_0xa13482(this,_0x4da07(0x25d)),_0xa13482(this,_0x4da07(0x2a9)),(this[_0x4da07(0x25d)]=_0x482c03==null?void 0x0:_0x482c03[_0x4da07(0x25d)],this[_0x4da07(0x2a9)]=_0x482c03==null?void 0x0:_0x482c03['text']);}static['drawWith'](_0x5ca131,_0x7bca95){const _0x3bef3a=_0xa8de06,{text:_0x3759f0,color:_0xf9a5}=_0x7bca95;_0x5ca131[_0x3bef3a(0x20d)](),_0x5ca131[_0x3bef3a(0x200)]=_0x3bef3a(0x24a);const _0x59e3f5=_0x5ca131[_0x3bef3a(0x1a1)](_0x3759f0)[_0x3bef3a(0x3e1)],_0x2efaa7=Math['min'](_0x59e3f5+0x2*_0x4ddb50,_0x59b4c5);_0x5ef410(_0x5ca131,{'height':_0x45fd3f,'radius':0x4,'width':_0x2efaa7,'fill':_0xf9a5}),_0x5ca131[_0x3bef3a(0x1cc)]='#FFF';const _0x53f301=_0x4ddb50,_0x11aeb7=_0x45fd3f-_0x49f70d,_0x2e15af=_0x59b4c5-0x2*_0x4ddb50;if(_0x59e3f5>_0x2e15af){let _0xb038d0='',_0x45ada2=0x0;for(const _0x1f4bea of _0x3759f0){const _0xa47736=_0x5ca131[_0x3bef3a(0x1a1)](_0x1f4bea)[_0x3bef3a(0x3e1)];if(_0x45ada2+_0xa47736<=_0x2e15af-_0x5ca131[_0x3bef3a(0x1a1)](_0x3bef3a(0x2df))[_0x3bef3a(0x3e1)])_0xb038d0+=_0x1f4bea,_0x45ada2+=_0xa47736;else{_0xb038d0+=_0x3bef3a(0x2df);break;}}_0x5ca131['fillText'](_0xb038d0,_0x53f301,_0x11aeb7);}else _0x5ca131[_0x3bef3a(0x426)](_0x3759f0,_0x53f301,_0x11aeb7);_0x5ca131[_0x3bef3a(0x29d)]();}['_draw'](_0x1c980d){const _0x31a962=_0xa8de06;_0x271a4b[_0x31a962(0x2b0)](_0x1c980d,this);}}const _0x199faf=_0xa8de06(0x348),_0x51711b=_0xa8de06(0x3b6),_0x4180cd='collab-rect-range-',_0x54b3b5=0x6,_0x254df7=1.5,_0x53ac26=0x4,_0x24d902=1.5,_0x29ffed=_0xa8de06(0x29f);class _0x12931a{constructor(_0x24f525,_0x59359a,_0x5e267f,_0x5833d6){const _0x1c48ab=_0xa8de06;_0xa13482(this,_0x1c48ab(0x289),[]),_0xa13482(this,_0x1c48ab(0x3a0),null),_0xa13482(this,'_textBubble',null),_0xa13482(this,_0x1c48ab(0x1b1),null),_0xa13482(this,_0x1c48ab(0x1aa),null),_0xa13482(this,'_eventUnsubscribe',null),(this[_0x1c48ab(0x30d)]=_0x24f525,this[_0x1c48ab(0x30f)]=_0x59359a,this[_0x1c48ab(0x353)]=_0x5e267f,this['_document']=_0x5833d6,this[_0x1c48ab(0x21a)]());}set[_0xa8de06(0x456)](_0x5f452a){const _0x4d4eeb=_0xa8de06;_0x5f452a?(this[_0x4d4eeb(0x1b1)]&&this[_0x4d4eeb(0x1b1)][_0x4d4eeb(0x2b8)](),this[_0x4d4eeb(0x3dc)]&&this['_textBubble'][_0x4d4eeb(0x2e7)]()):(this['_anchorDot']&&this[_0x4d4eeb(0x1b1)][_0x4d4eeb(0x2e7)](),this[_0x4d4eeb(0x3dc)]&&this[_0x4d4eeb(0x3dc)]['hide']());}[_0xa8de06(0x208)](){const _0x3664f5=_0xa8de06;for(const _0x132328 of this[_0x3664f5(0x289)])_0x132328[_0x3664f5(0x208)]();this[_0x3664f5(0x3dc)]&&this['_textBubble']['dispose'](),this[_0x3664f5(0x1b1)]&&this['_anchorDot']['dispose'](),this[_0x3664f5(0x3a0)]&&this[_0x3664f5(0x3a0)][_0x3664f5(0x208)](),this[_0x3664f5(0x28f)]&&this[_0x3664f5(0x28f)]();}[_0xa8de06(0x21a)](){const _0x50f23e=_0xa8de06;var _0xe99d24;const {_docSkeleton:_0x38c22a,_document:_0x38b065}=this,{color:_0x5d30d0,name:_0x511e83,ranges:_0x4385f0}=this[_0x50f23e(0x30d)],_0x41da4c=_0x38b065[_0x50f23e(0x40c)](),{docsLeft:_0x3ae4ea,docsTop:_0x178229}=_0x41da4c,_0x33f3e8=new _0x25822b[(_0x50f23e(0x2ca))](_0x41da4c,_0x38c22a);for(const {startOffset:_0x76bb31,endOffset:_0x1f83b8,rangeType:_0xff74e2,segmentId:_0x142714,segmentPage:_0x4a9993,collapsed:_0x4acc4e,isActive:_0x18bea6}of _0x4385f0){const _0x4eff53=_0x38c22a[_0x50f23e(0x273)](_0x76bb31,!0x0,_0x142714,_0x4a9993);let _0x203fbe=_0x38c22a[_0x50f23e(0x273)](_0x1f83b8,!0x0,_0x142714,_0x4a9993);if(_0x203fbe==null&&(_0x203fbe=_0x38c22a[_0x50f23e(0x273)](_0x1f83b8-0x1,!0x1,_0x142714,_0x4a9993)),_0x18bea6){const {contentBoxPointGroup:_0x1fb9c0}=_0x33f3e8[_0x50f23e(0x180)](_0x203fbe,_0x203fbe);if(_0x1fb9c0[_0x50f23e(0x370)]===0x0)continue;this['_drawAnchor'](_0x5d30d0,_0x1fb9c0,_0x3ae4ea,_0x178229,_0x511e83),this[_0x50f23e(0x28f)]=this[_0x50f23e(0x199)]();}if(_0x4eff53&&_0x203fbe){if(_0xff74e2===_0x46b8ad[_0x50f23e(0x1c1)][_0x50f23e(0x17d)]){const _0x2aa443=new _0x25822b[(_0x50f23e(0x1f0))](_0x41da4c,_0x38c22a),{pointGroup:_0xbe769}=(_0xe99d24=_0x2aa443[_0x50f23e(0x180)](_0x4eff53,_0x203fbe))!=null?_0xe99d24:{};if(_0xbe769==null||_0xbe769['length']===0x0)continue;this[_0x50f23e(0x264)](_0x5d30d0,_0xbe769,_0x3ae4ea,_0x178229);}else{if(!_0x4acc4e){const {borderBoxPointGroup:_0x3aee9f}=_0x33f3e8['getRangePointData'](_0x4eff53,_0x203fbe);if(_0x3aee9f['length']===0x0)continue;this[_0x50f23e(0x3ba)](_0x5d30d0,_0x3aee9f,_0x3ae4ea,_0x178229);}}}}}[_0xa8de06(0x311)](_0x50f7c5,_0x2fd92a,_0x4bb80d,_0xc3d24b,_0x4a7fc6){const _0x420aff=_0xa8de06,_0xb76069=this[_0x420aff(0x2d3)](_0x2fd92a),{left:_0x244bf3,top:_0x5abaf8,height:_0x3c53ac}=_0xb76069,_0x5a4301=this[_0x420aff(0x416)](),_0x585b18=_0x24d902/_0x5a4301,_0x46f44c=new _0x432809[(_0x420aff(0x212))](_0x199faf+_0x46b8ad[_0x420aff(0x2cb)](_0x54b3b5),{'left':_0x244bf3+_0x4bb80d-_0x585b18,'top':_0x5abaf8+_0xc3d24b,'height':_0x3c53ac,'width':_0x254df7,'fill':_0x50f7c5||_0x432809[_0x420aff(0x1c7)](_0x46b8ad[_0x420aff(0x432)][_0x420aff(0x457)],0x0),'strokeWidth':_0x585b18,'stroke':_0x29ffed,'evented':!0x0});this[_0x420aff(0x3a0)]=_0x46f44c,this['_scene'][_0x420aff(0x240)](_0x46f44c,_0x25822b['TEXT_RANGE_LAYER_INDEX']);const _0x9a66de=new _0x432809[(_0x420aff(0x212))](_0x199faf+_0x46b8ad['generateRandomId'](_0x54b3b5),{'left':_0x244bf3+_0x4bb80d-_0x585b18,'top':_0x5abaf8+_0xc3d24b-_0x53ac26/0x2,'height':_0x53ac26,'width':_0x53ac26,'fill':_0x50f7c5||_0x432809[_0x420aff(0x1c7)](_0x46b8ad[_0x420aff(0x432)][_0x420aff(0x457)],0x0),'strokeWidth':0x0,'stroke':_0x50f7c5||_0x432809[_0x420aff(0x1c7)](_0x46b8ad[_0x420aff(0x432)][_0x420aff(0x457)],0x0),'evented':!0x1});this['_anchorDot']=_0x9a66de,this[_0x420aff(0x30f)][_0x420aff(0x240)](_0x9a66de,_0x25822b[_0x420aff(0x1ac)]);const _0x388c3a=new _0x271a4b(_0x199faf+_0x46b8ad[_0x420aff(0x2cb)](_0x54b3b5),{'left':_0x244bf3+_0x4bb80d-_0x585b18,'top':_0x5abaf8+_0xc3d24b-_0x45fd3f,'text':_0x4a7fc6,'color':_0x50f7c5});this[_0x420aff(0x3dc)]=_0x388c3a,this[_0x420aff(0x30f)][_0x420aff(0x240)](_0x388c3a,_0x25822b[_0x420aff(0x1ac)]),this['_hover']=!0x1;}[_0xa8de06(0x199)](){const _0x2dede8=_0xa8de06,_0x56e615=this['_anchor'][_0x2dede8(0x29e)][_0x2dede8(0x204)](()=>{const _0x12a9ec=_0x2dede8;this[_0x12a9ec(0x456)]=!0x0;}),_0x1b3e4f=this[_0x2dede8(0x3a0)][_0x2dede8(0x3df)][_0x2dede8(0x204)](()=>{const _0x5c84a4=_0x2dede8;this[_0x5c84a4(0x1aa)]&&clearTimeout(this['_hideTimer']),this[_0x5c84a4(0x1aa)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3bb0cb=_0x2dede8;_0x56e615[_0x3bb0cb(0x24d)](),_0x1b3e4f['unsubscribe']();};}[_0xa8de06(0x3ba)](_0x522846,_0x550cd7,_0x2c8a2c,_0xf3f3ee){const _0x3db24f=_0xa8de06,_0x4a8d31=new _0x46b8ad[(_0x3db24f(0x1e8))](_0x522846)[_0x3db24f(0x3b9)](0.2)[_0x3db24f(0x28a)](),_0x228e9f=new _0x432809['RegularPolygon'](_0x51711b+_0x46b8ad['generateRandomId'](_0x54b3b5),{'pointsGroup':_0x550cd7,'fill':_0x4a8d31||_0x432809[_0x3db24f(0x1c7)](_0x46b8ad[_0x3db24f(0x432)][_0x3db24f(0x457)],0.2),'left':_0x2c8a2c,'top':_0xf3f3ee,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3db24f(0x289)][_0x3db24f(0x392)](_0x228e9f),this[_0x3db24f(0x30f)][_0x3db24f(0x240)](_0x228e9f,_0x25822b['TEXT_RANGE_LAYER_INDEX']);}[_0xa8de06(0x264)](_0x22359e,_0x1ef89d,_0x180a13,_0x5f258e){const _0x271802=_0xa8de06,_0x1db6a6=new _0x46b8ad[(_0x271802(0x1e8))](_0x22359e)[_0x271802(0x3b9)](0.2)[_0x271802(0x28a)](),_0x1c3e0b=new _0x432809['RegularPolygon'](_0x4180cd+_0x46b8ad[_0x271802(0x2cb)](_0x54b3b5),{'pointsGroup':_0x1ef89d,'fill':_0x1db6a6||_0x432809[_0x271802(0x1c7)](_0x46b8ad[_0x271802(0x432)][_0x271802(0x457)],0.2),'left':_0x180a13,'top':_0x5f258e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x271802(0x289)][_0x271802(0x392)](_0x1c3e0b),this[_0x271802(0x30f)][_0x271802(0x240)](_0x1c3e0b,_0x25822b[_0x271802(0x1ac)]);}[_0xa8de06(0x2d3)](_0x45969c){const _0x2b231b=_0x45969c[0x0],_0x488772=_0x2b231b[0x0],_0x4b46aa=_0x2b231b[0x2],{x:_0x37af95,y:_0x59c4a0}=_0x488772,{x:_0x586b86,y:_0x2d5cd6}=_0x4b46aa;return{'left':_0x37af95,'top':_0x59c4a0,'width':_0x586b86-_0x37af95,'height':_0x2d5cd6-_0x59c4a0};}[_0xa8de06(0x416)](){const _0x59ca07=_0xa8de06,{scaleX:_0x4369e5,scaleY:_0x5044c3}=this[_0x59ca07(0x30f)][_0x59ca07(0x44c)]();return Math[_0x59ca07(0x20f)](_0x4369e5,_0x5044c3);}}var _0xd2ea27=Object[_0xa8de06(0x2fb)],_0x1aeda4=(_0x4a395b,_0x1c0f77,_0x1ac1c8,_0x417c6b)=>{const _0x1e6e00=_0xa8de06;for(var _0x387f1e=_0x417c6b>0x1?void 0x0:_0x417c6b?_0xd2ea27(_0x1c0f77,_0x1ac1c8):_0x1c0f77,_0x3e4fb5=_0x4a395b[_0x1e6e00(0x370)]-0x1,_0x4111d0;_0x3e4fb5>=0x0;_0x3e4fb5--)(_0x4111d0=_0x4a395b[_0x3e4fb5])&&(_0x387f1e=_0x4111d0(_0x387f1e)||_0x387f1e);return _0x387f1e;},_0x4a351c=(_0x535c23,_0x382c79)=>(_0x588850,_0x3ab7bb)=>_0x382c79(_0x588850,_0x3ab7bb,_0x535c23);let _0x442bb0=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x8f4592,_0x2cd274,_0x26732e,_0x40e9ff,_0x4c67fe){const _0x389f89=_0xa8de06;super(),_0xa13482(this,_0x389f89(0x41f),[]),_0xa13482(this,_0x389f89(0x412),[]),(this[_0x389f89(0x363)]=_0x8f4592,this[_0x389f89(0x2db)]=_0x2cd274,this[_0x389f89(0x440)]=_0x26732e,this[_0x389f89(0x197)]=_0x40e9ff,this[_0x389f89(0x2b6)]=_0x4c67fe,this[_0x389f89(0x435)]());}[_0xa8de06(0x435)](){const _0x119a4f=_0xa8de06,_0x9892da=this['_context']['unitId'],_0x57b1d1=this['_docSkeletonManagerService'];this[_0x119a4f(0x418)](_0x1e9e4e[_0x119a4f(0x3c3)]([this[_0x119a4f(0x440)][_0x119a4f(0x2bd)](_0x9892da),this[_0x119a4f(0x2b6)][_0x119a4f(0x394)]])['pipe'](_0xb836bd[_0x119a4f(0x3c9)](([_0x33eae2,_0x4e36e3])=>({'skeleton':_0x57b1d1[_0x119a4f(0x442)](),'cursors':[..._0x33eae2[_0x119a4f(0x2ec)]()]['flatMap'](_0x512e90=>({..._0x512e90,'color':this['_themeService'][_0x119a4f(0x431)](_0x512e90[_0x119a4f(0x25d)])}))})))['subscribe'](_0x4a62ea=>{const _0x3cebb5=_0x119a4f;if(this['_removeCollabCursors'](),_0x4a62ea){const {skeleton:_0x451278,cursors:_0x24431b}=_0x4a62ea;this[_0x3cebb5(0x1de)](_0x451278,_0x24431b);}})),this[_0x119a4f(0x2b2)](),this[_0x119a4f(0x433)]();}[_0xa8de06(0x1de)](_0x1bcaf6,_0x1e2325){const _0x49b93c=_0xa8de06,{scene:_0x4b2a5b,mainComponent:_0x44ed0c}=this[_0x49b93c(0x363)],_0x394906=_0x1e2325[_0x49b93c(0x3c9)](_0x5821f6=>new _0x12931a(_0x5821f6,_0x4b2a5b,_0x1bcaf6,_0x44ed0c));this['_cursorShapes']=_0x394906,this['_cursors']=_0x1e2325;}[_0xa8de06(0x3b1)](){const _0xee72be=_0xa8de06;this['_removeCollabCursors']();const {scene:_0x1d3d4b,mainComponent:_0x3b9838}=this[_0xee72be(0x363)],_0x3562de=this[_0xee72be(0x2db)][_0xee72be(0x442)](),_0x9d2bc3=this[_0xee72be(0x412)][_0xee72be(0x3c9)](_0x5d6fc6=>new _0x12931a(_0x5d6fc6,_0x1d3d4b,_0x3562de,_0x3b9838));this[_0xee72be(0x41f)]=_0x9d2bc3;}[_0xa8de06(0x3d2)](){const _0x234b64=_0xa8de06;this[_0x234b64(0x41f)][_0x234b64(0x2bf)](_0x40058a=>_0x40058a[_0x234b64(0x208)]()),this[_0x234b64(0x41f)]=[];}[_0xa8de06(0x433)](){const _0x5bd126=_0xa8de06,_0x579367=[_0x25822b[_0x5bd126(0x276)]['id']];this[_0x5bd126(0x418)](this[_0x5bd126(0x197)][_0x5bd126(0x340)](_0x33892a=>{const _0x184805=_0x5bd126;_0x579367[_0x184805(0x361)](_0x33892a['id'])&&_0x33892a[_0x184805(0x267)]['unitId']===this[_0x184805(0x363)][_0x184805(0x319)]&&this['_refreshCollabCursors']();}));}[_0xa8de06(0x2b2)](){const _0x1c1c0a=_0xa8de06;this[_0x1c1c0a(0x418)](_0x46b8ad[_0x1c1c0a(0x316)](this[_0x1c1c0a(0x363)]['engine'][_0x1c1c0a(0x1e1)])[_0x1c1c0a(0x2bb)](_0xb836bd[_0x1c1c0a(0x3e0)](_0x4e7d3e=>_0x4e7d3e[_0x1c1c0a(0x288)]===_0x432809['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1c1c0a(0x401)]),_0xb836bd[_0x1c1c0a(0x3b5)](0x10))['subscribe'](()=>{const _0x2fc11d=_0x1c1c0a;this[_0x2fc11d(0x3b1)]();}));}};_0x442bb0=_0x1aeda4([_0x4a351c(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x137448['DocSkeletonManagerService'])),_0x4a351c(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x12c067)),_0x4a351c(0x3,_0x46b8ad[_0xa8de06(0x21d)]),_0x4a351c(0x4,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad['ThemeService']))],_0x442bb0);const _0x9dcf46=0x1,_0x2e667a=1.5;class _0x160fa0 extends _0x432809[_0xa8de06(0x2a1)]{constructor(_0x279175,_0x1707db){const _0x5a7fcd=_0xa8de06;super(_0x279175,_0x1707db),_0xa13482(this,_0x5a7fcd(0x2e2)),_0xa13482(this,_0x5a7fcd(0x3cc),!0x1),_0xa13482(this,_0x5a7fcd(0x278)),_0xa13482(this,_0x5a7fcd(0x221),''),_0xa13482(this,_0x5a7fcd(0x3f3),_0x5a7fcd(0x2b1)),_0xa13482(this,_0x5a7fcd(0x1f2)),(_0x1707db&&this[_0x5a7fcd(0x2b7)](_0x1707db),this[_0x5a7fcd(0x29e)][_0x5a7fcd(0x204)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5a7fcd(0x3df)][_0x5a7fcd(0x204)](()=>this[_0x5a7fcd(0x2b7)]({'hovered':!0x1})));}[_0xa8de06(0x2b7)](_0x92d835){const _0x39c14e=_0xa8de06;var _0x6f1d69,_0x4bdb18,_0x57d2a0,_0xa71aff,_0x2cc8c5,_0x56b376;this[_0x39c14e(0x2e2)]=(_0x6f1d69=_0x92d835[_0x39c14e(0x25d)])!=null?_0x6f1d69:this[_0x39c14e(0x2e2)],this[_0x39c14e(0x3cc)]=(_0x4bdb18=_0x92d835[_0x39c14e(0x211)])!=null?_0x4bdb18:this[_0x39c14e(0x3cc)],this[_0x39c14e(0x278)]=(_0x57d2a0=_0x92d835[_0x39c14e(0x2f6)])!=null?_0x57d2a0:this[_0x39c14e(0x278)],this[_0x39c14e(0x221)]=(_0xa71aff=_0x92d835['name'])!=null?_0xa71aff:this[_0x39c14e(0x221)],this[_0x39c14e(0x3f3)]=(_0x2cc8c5=_0x92d835[_0x39c14e(0x2a2)])!=null?_0x2cc8c5:this['_labelPosition'],this[_0x39c14e(0x1f2)]=(_0x56b376=_0x92d835[_0x39c14e(0x3da)])!=null?_0x56b376:this[_0x39c14e(0x1f2)],this['transformByState']({'width':_0x92d835[_0x39c14e(0x3e1)],'height':_0x92d835[_0x39c14e(0x22c)]});}['onMouseMove'](_0x381bf9){const _0x10994a=_0xa8de06,{row:_0x4ebcba,column:_0x23e5f3}=_0x381bf9;if(_0x4ebcba>=this['_range']['startRow']&&_0x4ebcba<=this[_0x10994a(0x278)][_0x10994a(0x284)]&&_0x23e5f3>=this[_0x10994a(0x278)][_0x10994a(0x2d5)]&&_0x23e5f3<=this[_0x10994a(0x278)][_0x10994a(0x230)]){this[_0x10994a(0x2b7)]({'hovered':!0x0});return;}this[_0x10994a(0x2b7)]({'hovered':!0x1});}['triggerDblclick'](_0x2fa8cf){return!0x1;}[_0xa8de06(0x282)](_0x3e82ac){const _0x391bf5=_0xa8de06;_0x432809[_0x391bf5(0x212)][_0x391bf5(0x2b0)](_0x3e82ac,{'width':this[_0x391bf5(0x3e1)],'height':this[_0x391bf5(0x22c)],'strokeWidth':_0x2e667a,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x391bf5(0x1f2)]}),this[_0x391bf5(0x3cc)]&&(_0x3e82ac[_0x391bf5(0x20d)](),_0x3e82ac[_0x391bf5(0x19a)](0x1,0x0,0x0,0x1,this[_0x391bf5(0x3e1)],this[_0x391bf5(0x3f3)]==='bottom'?0x0:-_0x45fd3f),_0x271a4b[_0x391bf5(0x2b0)](_0x3e82ac,{'text':this['_name'],'color':this['_color']}),_0x3e82ac['restore']());}}var _0x2dd4d1=Object['getOwnPropertyDescriptor'],_0x39ca15=(_0x30b63e,_0x322fb6,_0xc1e405,_0x28e2c8)=>{const _0x1e56c9=_0xa8de06;for(var _0x326cca=_0x28e2c8>0x1?void 0x0:_0x28e2c8?_0x2dd4d1(_0x322fb6,_0xc1e405):_0x322fb6,_0x562570=_0x30b63e[_0x1e56c9(0x370)]-0x1,_0x2f7e5f;_0x562570>=0x0;_0x562570--)(_0x2f7e5f=_0x30b63e[_0x562570])&&(_0x326cca=_0x2f7e5f(_0x326cca)||_0x326cca);return _0x326cca;},_0x1f73f4=(_0x569b13,_0x25306a)=>(_0x66ce18,_0x3d5973)=>_0x25306a(_0x66ce18,_0x3d5973,_0x569b13);const _0x2ec12c=0x1389;let _0x2b7c36=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x57c5c9,_0xb682c4,_0x12bf6d,_0x462027){const _0x520f9f=_0xa8de06;super(),_0xa13482(this,_0x520f9f(0x412),new Set()),_0xa13482(this,_0x520f9f(0x229),null),(this[_0x520f9f(0x363)]=_0x57c5c9,this['_sheetSkeletonManagerService']=_0xb682c4,this[_0x520f9f(0x440)]=_0x12bf6d,this[_0x520f9f(0x2b6)]=_0x462027,this[_0x520f9f(0x435)]());}[_0xa8de06(0x435)](){const _0x5e54f0=_0xa8de06;this[_0x5e54f0(0x365)][_0x5e54f0(0x44a)]['pipe'](_0xb836bd['takeUntil'](this[_0x5e54f0(0x37b)]),_0xb836bd[_0x5e54f0(0x2c0)](_0xd4deb0=>{const _0x2502d6=_0x5e54f0;if(_0xd4deb0){const _0x14386a=_0xd4deb0[_0x2502d6(0x335)];return _0x1e9e4e[_0x2502d6(0x3c3)](this[_0x2502d6(0x440)]['getCollabCursors$'](this[_0x2502d6(0x363)][_0x2502d6(0x319)]),this[_0x2502d6(0x2b6)][_0x2502d6(0x394)])[_0x2502d6(0x2bb)](_0xb836bd[_0x2502d6(0x3c9)](([_0x46b598,_0x4f9abf])=>{const _0x3af4bb=_0x2502d6,_0x2380ad=new Map();return _0x46b598[_0x3af4bb(0x2bf)]((_0xd2dcec,_0x249171)=>{const _0x557ab1=_0x3af4bb;if(_0xd2dcec[_0x557ab1(0x226)]===_0x14386a){const _0x4ed544={..._0xd2dcec};_0x4ed544[_0x557ab1(0x25d)]=this[_0x557ab1(0x2b6)]['getColorFromTheme'](_0xd2dcec['color']),_0x2380ad[_0x557ab1(0x1f9)](_0x249171,_0x4ed544);}}),{'skeleton':_0xd4deb0,'cursors':_0x2380ad};}));}return _0x1e9e4e['of']({'skeleton':null,'cursors':new Map()});}))[_0x5e54f0(0x2ab)](({skeleton:_0x53f5db,cursors:_0x1678e5})=>{const _0x15a56c=_0x5e54f0;this['_removeCollabCursors'](),_0x53f5db&&this[_0x15a56c(0x1de)](_0x53f5db,_0x1678e5);}),this[_0x5e54f0(0x365)][_0x5e54f0(0x44a)]['subscribe'](_0x3f7b59=>{const _0x1272af=_0x5e54f0;if(_0x3f7b59==null)return;const {skeleton:_0x1d59f7}=_0x3f7b59,{scene:_0x4d1f3c}=this[_0x1272af(0x363)];_0x4d1f3c[_0x1272af(0x216)][_0x1272af(0x204)](_0x46b8ad[_0x1272af(0x244)](_0x518bdf=>{const _0x25ec7d=_0x1272af;var _0xfe75a8,_0x341fe8;const {offsetX:_0x4d79a2,offsetY:_0x471665}=_0x518bdf,{x:_0x1116bc,y:_0x531a84}=_0x4d1f3c[_0x25ec7d(0x2f8)](_0x432809['Vector2'][_0x25ec7d(0x2d1)]([_0x4d79a2,_0x471665])),{scaleX:_0x2f7403,scaleY:_0xcd4795}=_0x4d1f3c[_0x25ec7d(0x44c)](),_0x2acb7e=_0x4d1f3c['getViewport'](_0x432809['SHEET_VIEWPORT_KEY'][_0x25ec7d(0x3ee)]),_0x36f90b=_0x4d1f3c['getVpScrollXYInfoByPosToVp'](_0x432809['Vector2'][_0x25ec7d(0x2d1)]([_0x1116bc,_0x531a84]),_0x2acb7e),_0x2fd3d0=_0x1d59f7['getCellPositionByOffset'](_0x4d79a2,_0x471665,_0x2f7403,_0xcd4795,_0x36f90b);((_0xfe75a8=this['_lastPointer'])==null?void 0x0:_0xfe75a8[_0x25ec7d(0x277)])===_0x2fd3d0['column']&&((_0x341fe8=this[_0x25ec7d(0x229)])==null?void 0x0:_0x341fe8[_0x25ec7d(0x306)])===_0x2fd3d0['row']||this[_0x25ec7d(0x412)][_0x25ec7d(0x2bf)](_0x3097b3=>{const _0x49c240=_0x25ec7d;_0x3097b3[_0x49c240(0x300)](_0x2fd3d0);});},0x64));});}[_0xa8de06(0x1de)](_0x2b2aad,_0x361011){const _0x269201=_0xa8de06;var _0x3eeb7f;const _0x29c5ca=(_0x3eeb7f=this[_0x269201(0x365)][_0x269201(0x465)]())==null?void 0x0:_0x3eeb7f[_0x269201(0x3dd)];if(!_0x29c5ca)return;const _0x47a9b3=this[_0x269201(0x355)]();if(!_0x47a9b3)return;this['_cursors'][_0x269201(0x2bf)](_0x1aac0b=>{const _0x1c676a=_0x269201;_0x1aac0b[_0x1c676a(0x32e)]();});const {scene:_0xfc796e}=_0x47a9b3,_0x178de2=_0x53a530(Array[_0x269201(0x38e)](_0x361011[_0x269201(0x2ec)]()))[_0x269201(0x3c9)](_0x33c1ba=>{const _0x312da5=_0x269201,{color:_0x157a09,range:_0x56b983,name:_0x2fb7f2,selection:_0x3d3ba3,sheetID:_0xa72319}=_0x33c1ba,{startColumn:_0x3024ef,startRow:_0x22254d,endColumn:_0x282e92,endRow:_0x3ed974}=_0x56b983,_0x52e180=_0x33fa1b[_0x312da5(0x30c)](_0x22254d,_0x3024ef,_0xfc796e,_0x29c5ca),_0xbc3977=_0x33fa1b['getCoordByCell'](_0x3ed974,_0x282e92,_0xfc796e,_0x29c5ca),{columnHeaderHeightAndMarginTop:_0x19fd97}=_0x29c5ca,{startX:_0x338457,startY:_0x142f05}=_0x52e180,{endX:_0xa1ff05,endY:_0x18b30a}=_0xbc3977,_0x23102d=_0xa1ff05-_0x338457,_0x3f03a5=_0x18b30a-_0x142f05,_0x483d2a={'labelPosition':_0x142f05-_0x19fd97>=_0x45fd3f?_0x312da5(0x2b1):_0x312da5(0x359),'sheetID':_0xa72319,'range':_0x56b983,'color':_0x157a09,'name':_0x2fb7f2,'selection':_0x3d3ba3,'left':_0x338457,'top':_0x142f05,'width':_0x23102d,'height':_0x3f03a5,'evented':!0x1,'zIndex':_0x2ec12c};return new _0x160fa0(_0x2fb7f2,_0x483d2a);});_0xfc796e[_0x269201(0x425)](_0x178de2,_0x9dcf46),this[_0x269201(0x412)]=new Set(_0x178de2);}['_removeCollabCursors'](){const _0x306eaf=_0xa8de06;var _0x5a5782;(_0x5a5782=this[_0x306eaf(0x412)])==null||_0x5a5782[_0x306eaf(0x2bf)](_0xf1ab7=>_0xf1ab7[_0x306eaf(0x208)]());}['_getSheetObject'](){const _0x1f54bd=_0xa8de06;return _0x33fa1b[_0x1f54bd(0x1e6)](this[_0x1f54bd(0x363)][_0x1f54bd(0x398)],this[_0x1f54bd(0x363)]);}};_0x2b7c36=_0x39ca15([_0x1f73f4(0x1,_0x46b8ad['Inject'](_0x33fa1b[_0xa8de06(0x36c)])),_0x1f73f4(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x12c067)),_0x1f73f4(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x188)]))],_0x2b7c36);function _0x53a530(_0xdf798e){const _0x1082f4=_0xa8de06,_0x26728f=new Map();return _0xdf798e[_0x1082f4(0x2bf)](_0x4419e8=>{const _0x36a9e6=_0x1082f4;if(_0x26728f['has'](_0x4419e8[_0x36a9e6(0x25e)])){const _0x20a853=_0x26728f[_0x36a9e6(0x3ca)](_0x4419e8[_0x36a9e6(0x25e)]);_0x20a853[_0x36a9e6(0x272)]+=',\x20'+_0x4419e8[_0x36a9e6(0x272)];}else _0x26728f[_0x36a9e6(0x1f9)](_0x4419e8[_0x36a9e6(0x25e)],_0x4419e8);}),Array[_0x1082f4(0x38e)](_0x26728f['values']());}var _0x55034c=Object[_0xa8de06(0x2fb)],_0x3d0e0b=(_0x4d5f41,_0x393721,_0x27b514,_0x356b7c)=>{const _0x236bd3=_0xa8de06;for(var _0x24153f=_0x356b7c>0x1?void 0x0:_0x356b7c?_0x55034c(_0x393721,_0x27b514):_0x393721,_0xe3ed85=_0x4d5f41[_0x236bd3(0x370)]-0x1,_0x6b5b4a;_0xe3ed85>=0x0;_0xe3ed85--)(_0x6b5b4a=_0x4d5f41[_0xe3ed85])&&(_0x24153f=_0x6b5b4a(_0x24153f)||_0x24153f);return _0x24153f;},_0x44630b=(_0x3a8f6b,_0x34a874)=>(_0x597595,_0xda7e7f)=>_0x34a874(_0x597595,_0xda7e7f,_0x3a8f6b);let _0x479b7f=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x3555fc,_0x541bd2,_0x5f2ba9,_0x5509cd,_0x2bfd59,_0x1f8671){const _0x277d9b=_0xa8de06;super(),this[_0x277d9b(0x219)]=_0x3555fc,this['_localCacheService']=_0x541bd2,this[_0x277d9b(0x225)]=_0x5f2ba9,this[_0x277d9b(0x1c8)]=_0x5509cd,this[_0x277d9b(0x1a7)]=_0x2bfd59,this[_0x277d9b(0x1a8)]=_0x1f8671,this[_0x277d9b(0x29c)](),this[_0x277d9b(0x1a5)]();}[_0xa8de06(0x29c)](){const _0x59d261=_0xa8de06;this[_0x59d261(0x418)](this[_0x59d261(0x219)][_0x59d261(0x25f)](()=>{const _0x38ac00=_0x59d261;if(this['_localCacheService']['saveTaskMap'][_0x38ac00(0x396)])return this[_0x38ac00(0x1a8)]['t']('collaboration.offline-data-not-saved');}));}[_0xa8de06(0x1a5)](){const _0xd77993=_0xa8de06;this[_0xd77993(0x418)](this[_0xd77993(0x225)][_0xd77993(0x2ae)]['subscribe'](_0x269a17=>{const _0x5628f2=_0xd77993;_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x376)]&&this[_0x5628f2(0x1c8)][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x32c)],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x321))}),_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x362)]&&this[_0x5628f2(0x1c8)][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x32c)],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x339))}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x5628f2(0x1a7)][_0x5628f2(0x2e7)]({'title':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x2c7)),'content':this[_0x5628f2(0x1a8)]['t']('permission.content'),'type':_0x5628f2(0x2fe),'duration':0x0}),_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x24e)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7['MessageType'][_0x5628f2(0x349)],'content':this['_localeService']['t'](_0x5628f2(0x339))+'('+_0x269a17[_0x5628f2(0x257)]+')'}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId'][_0x5628f2(0x232)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7['MessageType'][_0x5628f2(0x32c)],'content':this[_0x5628f2(0x1a8)]['t'](_0x269a17[_0x5628f2(0x257)]||'')}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId'][_0x5628f2(0x3cb)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x32c)],'content':this['_localeService']['t'](_0x5628f2(0x2a4))}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x5628f2(0x1c8)][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)]['Error'],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x2a8))}),_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x39d)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x349)],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x461))});}));}};_0x479b7f=_0x3d0e0b([_0x44630b(0x0,_0x1188a4[_0xa8de06(0x3b2)]),_0x44630b(0x1,_0x3c2922['ILocalCacheService']),_0x44630b(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x268)])),_0x44630b(0x3,_0x1188a4['IMessageService']),_0x44630b(0x4,_0x1188a4['INotificationService']),_0x44630b(0x5,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x1ba)]))],_0x479b7f);var _0x2d156b=Object[_0xa8de06(0x2fb)],_0x5eb1a3=(_0x4ada85,_0x2cf04c,_0x224df8,_0x4352bf)=>{const _0x5dd8f6=_0xa8de06;for(var _0x377bc5=_0x4352bf>0x1?void 0x0:_0x4352bf?_0x2d156b(_0x2cf04c,_0x224df8):_0x2cf04c,_0x316b3f=_0x4ada85[_0x5dd8f6(0x370)]-0x1,_0x9a276e;_0x316b3f>=0x0;_0x316b3f--)(_0x9a276e=_0x4ada85[_0x316b3f])&&(_0x377bc5=_0x9a276e(_0x377bc5)||_0x377bc5);return _0x377bc5;},_0x3af25d=(_0x154db2,_0x195a35)=>(_0x5218d5,_0x1d8509)=>_0x195a35(_0x5218d5,_0x1d8509,_0x154db2);let _0x3a6d5b=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x47e68d,_0x40e3b1,_0x46f460,_0x1877b2){const _0x191384=_0xa8de06;super(),_0xa13482(this,'_memberID'),(this[_0x191384(0x1e3)]=_0x47e68d,this['_httpService']=_0x40e3b1,this[_0x191384(0x2ce)]=_0x46f460,this[_0x191384(0x377)]=_0x1877b2,this[_0x191384(0x435)]());}[_0xa8de06(0x435)](){const _0x4ed419=_0xa8de06;this[_0x4ed419(0x255)](),this['_initUnhandledRejectionListener'](),this[_0x4ed419(0x18a)](),this[_0x4ed419(0x344)]();}[_0xa8de06(0x344)](){const _0x45850d=_0xa8de06;this[_0x45850d(0x418)](this['_collaborationSessionService'][_0x45850d(0x3eb)][_0x45850d(0x2ab)](_0x4b0a37=>{const _0x4e2e09=_0x45850d;this[_0x4e2e09(0x357)]=_0x4b0a37==null?void 0x0:_0x4b0a37[_0x4e2e09(0x443)];}));}[_0xa8de06(0x255)](){const _0x364355=_0xa8de06,_0x53e10d=_0x5725b2=>{const _0x27301d=_0x21d5;var _0x29b70e;this['_uploadLog']('error',_0x27301d(0x2f2)+_0x5725b2[_0x27301d(0x32b)]+'\x20at\x20'+_0x5725b2['filename']+':'+_0x5725b2[_0x27301d(0x420)]+':'+_0x5725b2[_0x27301d(0x343)]+'\x0a'+(((_0x29b70e=_0x5725b2[_0x27301d(0x2fe)])==null?void 0x0:_0x29b70e[_0x27301d(0x246)])||''));};window[_0x364355(0x45c)](_0x364355(0x2fe),_0x53e10d),this[_0x364355(0x418)](()=>{const _0x1baa5c=_0x364355;window[_0x1baa5c(0x309)](_0x1baa5c(0x2fe),_0x53e10d);});}[_0xa8de06(0x3ce)](){const _0x27d75e=_0xa8de06,_0x149243=_0x46ac38=>{const _0x4d045d=_0x21d5;this[_0x4d045d(0x384)](_0x4d045d(0x2fe),'[Unhandled\x20Rejection]:\x20'+_0x46ac38[_0x4d045d(0x3a6)]);};window[_0x27d75e(0x45c)](_0x27d75e(0x23e),_0x149243),this[_0x27d75e(0x418)](()=>{const _0x4638c5=_0x27d75e;window[_0x4638c5(0x309)](_0x4638c5(0x23e),_0x149243);});}[_0xa8de06(0x18a)](){const _0x371f94=_0xa8de06,_0x2ac881=this['_logService']['error'][_0x371f94(0x194)](this[_0x371f94(0x2ce)]);this[_0x371f94(0x2ce)]['error']=(..._0x1eb5c3)=>{const _0x1f7e2b=_0x371f94,_0x298bf9=_0x1eb5c3[_0x1f7e2b(0x3c9)](_0x276bbd=>_0x276bbd instanceof Error?_0x276bbd[_0x1f7e2b(0x32b)]+'\x0a'+_0x276bbd['stack']:String(_0x276bbd))[_0x1f7e2b(0x23d)]('\x20');this[_0x1f7e2b(0x384)](_0x1f7e2b(0x2fe),_0x1f7e2b(0x3b4)+_0x298bf9),_0x2ac881(..._0x1eb5c3);},this[_0x371f94(0x418)](()=>{const _0x401c81=_0x371f94;this[_0x401c81(0x2ce)]['error']=_0x2ac881;});}[_0xa8de06(0x384)](_0x2dc026,_0x24b8a3){const _0x16e4ea=_0xa8de06;try{const _0x539076={'userId':this[_0x16e4ea(0x357)],'logLabel':_0x2dc026,'content':_0x24b8a3};this['_httpService']['post'](_0x16e4ea(0x1d2),{'body':_0x539076})[_0x16e4ea(0x2fd)](()=>{});}catch{}}};_0x3a6d5b=_0x5eb1a3([_0x3af25d(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x3af25d(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a['HTTPService'])),_0x3af25d(0x2,_0x46b8ad[_0xa8de06(0x25c)]),_0x3af25d(0x3,_0x46b8ad['Inject'](_0x3c2922[_0xa8de06(0x2f1)]))],_0x3a6d5b);const _0x25687d=_0xa8de06(0x382),_0x2b2758={};var _0x11a285=Object['getOwnPropertyDescriptor'],_0x477a56=(_0x5223a5,_0x1d3a15,_0x1a2808,_0x3ad457)=>{const _0x4aaaf7=_0xa8de06;for(var _0x16316b=_0x3ad457>0x1?void 0x0:_0x3ad457?_0x11a285(_0x1d3a15,_0x1a2808):_0x1d3a15,_0xd6fa26=_0x5223a5[_0x4aaaf7(0x370)]-0x1,_0x29175f;_0xd6fa26>=0x0;_0xd6fa26--)(_0x29175f=_0x5223a5[_0xd6fa26])&&(_0x16316b=_0x29175f(_0x16316b)||_0x16316b);return _0x16316b;},_0x47fc56=(_0x1ae1b6,_0x45a545)=>(_0x28b595,_0xb8d0dc)=>_0x45a545(_0x28b595,_0xb8d0dc,_0x1ae1b6);let _0x4b8f3c=class{constructor(_0x5d8d67,_0x42e0c8){const _0x137fb4=_0xa8de06;this['_transformService']=_0x5d8d67,this[_0x137fb4(0x292)]=_0x42e0c8;}['transformIMECache'](_0x51d69f){const _0x433ec8=_0xa8de06;this[_0x433ec8(0x3d5)](_0x51d69f),this[_0x433ec8(0x39a)](_0x51d69f);}[_0xa8de06(0x3f7)](_0x1a4f0e){const _0x39e7f9=_0xa8de06,{unitID:_0x51081d}=_0x1a4f0e,_0x4bc93d=this[_0x39e7f9(0x292)][_0x39e7f9(0x35c)](_0x51081d)[_0x39e7f9(0x3d0)](_0x25822b[_0x39e7f9(0x2ef)]),{redoCache:_0x13e33c}=_0x4bc93d['getUndoRedoMutationParamsCache']();if(_0x13e33c[_0x39e7f9(0x370)]===0x0)return _0x1a4f0e;let _0x463ab6=_0x46b8ad['Tools'][_0x39e7f9(0x254)](_0x1a4f0e[_0x39e7f9(0x350)][0x0]);for(let _0x23f34c=0x0;_0x23f34c<_0x13e33c['length'];_0x23f34c++){const _0xa74532={'id':_0x39e7f9(0x35e),'params':{..._0x13e33c[_0x23f34c]}},_0x700e30=this[_0x39e7f9(0x198)]['transformMutation'](_0x463ab6,_0xa74532,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x700e30))throw _0x700e30[_0x39e7f9(0x2fe)];_0x463ab6=_0x700e30[_0x39e7f9(0x21c)];}return{..._0x46b8ad[_0x39e7f9(0x408)]['deepClone'](_0x1a4f0e),'mutations':[_0x463ab6]};}[_0xa8de06(0x3d5)](_0x34b65e){const _0x52c61e=_0xa8de06,{unitID:_0x31c7be}=_0x34b65e,_0x19e272=this[_0x52c61e(0x292)]['getRenderById'](_0x31c7be)[_0x52c61e(0x3d0)](_0x25822b[_0x52c61e(0x2ef)]),{undoCache:_0x2a2041,redoCache:_0x39d4bf}=_0x19e272[_0x52c61e(0x3e7)]();if(_0x2a2041[_0x52c61e(0x370)]===0x0||_0x39d4bf[_0x52c61e(0x370)]===0x0)return;const _0x372982=[],_0x279c39=[];let _0x5a84e8=_0x46b8ad[_0x52c61e(0x408)]['deepClone'](_0x34b65e[_0x52c61e(0x350)][0x0]),_0x5c0b01=_0x46b8ad[_0x52c61e(0x408)][_0x52c61e(0x254)](_0x34b65e[_0x52c61e(0x350)][0x0]);for(let _0xd88b83=_0x2a2041['length']-0x1;_0xd88b83>=0x0;_0xd88b83--){const _0x18138e={'id':_0x52c61e(0x35e),'params':{..._0x2a2041[_0xd88b83]}},_0x294681={'id':_0x52c61e(0x35e),'params':{..._0x39d4bf[_0xd88b83]}},_0x4df8b9=this[_0x52c61e(0x198)][_0x52c61e(0x3e3)](_0x5a84e8,_0x18138e,!0x1),_0x39c402=this[_0x52c61e(0x198)][_0x52c61e(0x3e3)](_0x5c0b01,_0x294681,!0x1);if(_0x45ac64[_0x52c61e(0x20a)](_0x4df8b9))throw _0x4df8b9[_0x52c61e(0x2fe)];if(_0x45ac64[_0x52c61e(0x20a)](_0x39c402))throw _0x39c402[_0x52c61e(0x2fe)];_0x372982[_0x52c61e(0x1c2)](_0x4df8b9[_0x52c61e(0x421)]['params']),_0x279c39[_0x52c61e(0x1c2)](_0x39c402['m2Prime']['params']),_0x5a84e8=_0x4df8b9[_0x52c61e(0x21c)],_0x5c0b01=_0x39c402['m1Prime'];}_0x19e272['setUndoRedoMutationParamsCache']({'undoCache':_0x372982,'redoCache':_0x279c39});}['_transformPreviousActiveRange'](_0xec87f6){const _0x2dcdeb=_0xa8de06,{unitID:_0xf45981}=_0xec87f6,_0x20c10e=this[_0x2dcdeb(0x292)]['getRenderById'](_0xf45981)[_0x2dcdeb(0x3d0)](_0x25822b[_0x2dcdeb(0x2ef)]),_0xf67dee=_0x20c10e[_0x2dcdeb(0x44f)]();if(_0xf67dee==null)return;const _0x4fc81f=[{'id':_0x2dcdeb(0x35e),'params':{'unitId':_0xec87f6['unitID'],'actions':null,'textRanges':[_0xf67dee]}}],_0x16906e=this[_0x2dcdeb(0x198)][_0x2dcdeb(0x369)](_0xec87f6,_0x4fc81f);if(!_0x45ac64['isTransformMutationsWithChangesetSuccess'](_0x16906e))throw _0x16906e[_0x2dcdeb(0x2fe)];const _0x4330e0=_0x16906e[_0x2dcdeb(0x421)][0x0]['params']['textRanges'];Array[_0x2dcdeb(0x30b)](_0x4330e0)&&_0x4330e0['length']&&_0x20c10e[_0x2dcdeb(0x464)](_0x4330e0[0x0]);}};_0x4b8f3c=_0x477a56([_0x47fc56(0x0,_0x45ac64[_0xa8de06(0x40a)]),_0x47fc56(0x1,_0x432809['IRenderManagerService'])],_0x4b8f3c);var _0x5ca954=Object[_0xa8de06(0x2fb)],_0xf3339b=(_0x32539f,_0xd54780,_0x5ca5d5,_0x2af5c2)=>{const _0x24d574=_0xa8de06;for(var _0xdeedc0=_0x2af5c2>0x1?void 0x0:_0x2af5c2?_0x5ca954(_0xd54780,_0x5ca5d5):_0xd54780,_0x194e56=_0x32539f[_0x24d574(0x370)]-0x1,_0x438a29;_0x194e56>=0x0;_0x194e56--)(_0x438a29=_0x32539f[_0x194e56])&&(_0xdeedc0=_0x438a29(_0xdeedc0)||_0xdeedc0);return _0xdeedc0;},_0x3903e3=(_0x1cb2b4,_0x101755)=>(_0x51240a,_0x20db10)=>_0x101755(_0x51240a,_0x20db10,_0x1cb2b4);let _0x5b5dae=class{constructor(_0x42e809,_0x1368fd,_0x47eee5){const _0x1a0ccd=_0xa8de06;this[_0x1a0ccd(0x1e3)]=_0x42e809,this[_0x1a0ccd(0x198)]=_0x1368fd,this[_0x1a0ccd(0x243)]=_0x47eee5;}[_0xa8de06(0x3b8)](_0x40a809){const _0x53c5ad=_0xa8de06;this[_0x53c5ad(0x42b)](_0x40a809);}['transformRemoteChangeset'](_0x257f7f){const _0x49be3d=_0xa8de06,{unitID:_0x202c45}=_0x257f7f,{collaboration:_0x36ceac}=this[_0x49be3d(0x243)]['getStateCache'](_0x202c45);if(_0x36ceac[_0x49be3d(0x370)]===0x0)return _0x257f7f;let _0x16a7cb=_0x46b8ad['Tools'][_0x49be3d(0x254)](_0x257f7f[_0x49be3d(0x350)][0x0]);for(let _0x166766=0x0;_0x166766<_0x36ceac[_0x49be3d(0x370)];_0x166766++){const _0x4e85eb={'id':_0x49be3d(0x35e),'params':{'unitId':_0x36ceac[_0x166766][_0x49be3d(0x319)],..._0x36ceac[_0x166766][_0x49be3d(0x404)]}},_0x579ddd=this[_0x49be3d(0x198)][_0x49be3d(0x3e3)](_0x16a7cb,_0x4e85eb,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x579ddd))throw _0x579ddd[_0x49be3d(0x2fe)];_0x16a7cb=_0x579ddd[_0x49be3d(0x21c)];}return{..._0x46b8ad[_0x49be3d(0x408)][_0x49be3d(0x254)](_0x257f7f),'mutations':[_0x16a7cb]};}[_0xa8de06(0x42b)](_0x35283b){const _0xd9a00e=_0xa8de06,{unitID:_0x1d9c77}=_0x35283b,{history:_0x26e2cf,collaboration:_0x1fd595}=this[_0xd9a00e(0x243)]['getStateCache'](_0x1d9c77);if(_0x26e2cf[_0xd9a00e(0x370)]===0x0&&_0x1fd595[_0xd9a00e(0x370)]===0x0)return;const _0x16d9cc=[],_0x1860d2=[];let _0x4e20f9=_0x46b8ad['Tools']['deepClone'](_0x35283b[_0xd9a00e(0x350)][0x0]),_0x5dd5a0=_0x46b8ad['Tools'][_0xd9a00e(0x254)](_0x35283b[_0xd9a00e(0x350)][0x0]);for(let _0x54ce59=_0x26e2cf[_0xd9a00e(0x370)]-0x1;_0x54ce59>=0x0;_0x54ce59--){const _0x4a0ec7={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x26e2cf[_0x54ce59][_0xd9a00e(0x319)],..._0x26e2cf[_0x54ce59][_0xd9a00e(0x1a2)]}},_0x4a0743={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x26e2cf[_0x54ce59][_0xd9a00e(0x319)],..._0x26e2cf[_0x54ce59][_0xd9a00e(0x404)]}},_0x25b144=this[_0xd9a00e(0x198)][_0xd9a00e(0x3e3)](_0x4e20f9,_0x4a0ec7,!0x1),_0x253248=this['_transformService']['transformMutation'](_0x5dd5a0,_0x4a0743,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x25b144))throw _0x25b144['error'];if(_0x45ac64['isTransformMutationFailure'](_0x253248))throw _0x253248[_0xd9a00e(0x2fe)];_0x16d9cc['unshift']({..._0x26e2cf[_0x54ce59],'undoState':_0x25b144['m2Prime'][_0xd9a00e(0x267)],'redoState':_0x253248[_0xd9a00e(0x421)][_0xd9a00e(0x267)]}),_0x4e20f9=_0x25b144[_0xd9a00e(0x21c)],_0x5dd5a0=_0x253248[_0xd9a00e(0x21c)];}_0x4e20f9=_0x46b8ad[_0xd9a00e(0x408)][_0xd9a00e(0x254)](_0x35283b[_0xd9a00e(0x350)][0x0]),_0x5dd5a0=_0x46b8ad[_0xd9a00e(0x408)]['deepClone'](_0x35283b[_0xd9a00e(0x350)][0x0]);for(let _0xb3a63f=_0x1fd595['length']-0x1;_0xb3a63f>=0x0;_0xb3a63f--){const _0x314c74={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x1fd595[_0xb3a63f][_0xd9a00e(0x319)],..._0x1fd595[_0xb3a63f]['undoState']}},_0x1a07ff={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x1fd595[_0xb3a63f][_0xd9a00e(0x319)],..._0x1fd595[_0xb3a63f]['redoState']}},_0x2f8ba2=this['_transformService'][_0xd9a00e(0x3e3)](_0x4e20f9,_0x314c74,!0x1),_0x2dbd69=this['_transformService'][_0xd9a00e(0x3e3)](_0x5dd5a0,_0x1a07ff,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x2f8ba2))throw _0x2f8ba2[_0xd9a00e(0x2fe)];if(_0x45ac64[_0xd9a00e(0x20a)](_0x2dbd69))throw _0x2dbd69[_0xd9a00e(0x2fe)];_0x1860d2[_0xd9a00e(0x1c2)]({..._0x1fd595[_0xb3a63f],'undoState':_0x2f8ba2[_0xd9a00e(0x421)][_0xd9a00e(0x267)],'redoState':_0x2dbd69[_0xd9a00e(0x421)][_0xd9a00e(0x267)]}),_0x4e20f9=_0x2f8ba2[_0xd9a00e(0x21c)],_0x5dd5a0=_0x2dbd69[_0xd9a00e(0x21c)];}this[_0xd9a00e(0x243)][_0xd9a00e(0x42c)](_0x1d9c77,{'history':_0x16d9cc,'collaboration':_0x1860d2});}};_0x5b5dae=_0xf3339b([_0x3903e3(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x3903e3(0x1,_0x45ac64['ITransformService']),_0x3903e3(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x25822b[_0xa8de06(0x265)]))],_0x5b5dae);var _0x320526=Object[_0xa8de06(0x2fb)],_0x383493=(_0x3a70d9,_0x156986,_0x514d0a,_0x23cbde)=>{const _0x5aa6ef=_0xa8de06;for(var _0x5938f1=_0x23cbde>0x1?void 0x0:_0x23cbde?_0x320526(_0x156986,_0x514d0a):_0x156986,_0x18546d=_0x3a70d9[_0x5aa6ef(0x370)]-0x1,_0x34472b;_0x18546d>=0x0;_0x18546d--)(_0x34472b=_0x3a70d9[_0x18546d])&&(_0x5938f1=_0x34472b(_0x5938f1)||_0x5938f1);return _0x5938f1;},_0x10b767=(_0x5c5172,_0x1785b1)=>(_0x269d21,_0x5bb74d)=>_0x1785b1(_0x269d21,_0x5bb74d,_0x5c5172);let _0x11d904=class{constructor(_0x21acc2,_0x5e2b96){const _0x4658df=_0xa8de06;this[_0x4658df(0x1e3)]=_0x21acc2,this[_0x4658df(0x198)]=_0x5e2b96;}[_0xa8de06(0x1f6)](_0x9be670){const _0x25cb4e=_0xa8de06;var _0x2a65ef;const _0x476430=this['_injector'][_0x25cb4e(0x3ca)](_0x137448[_0x25cb4e(0x338)]),_0x45981=(_0x2a65ef=_0x476430[_0x25cb4e(0x3cf)]())!=null?_0x2a65ef:[];if(_0x45981[_0x25cb4e(0x370)]===0x0)return;const _0x2444f1=_0x9be670[_0x25cb4e(0x3bf)],_0x5959b7=[{'id':_0x25cb4e(0x35e),'params':{'unitId':_0x2444f1,'actions':null,'textRanges':_0x45981}}],_0xa0ff3e=this[_0x25cb4e(0x198)][_0x25cb4e(0x369)](_0x9be670,_0x5959b7);if(!_0x45ac64[_0x25cb4e(0x183)](_0xa0ff3e))throw _0xa0ff3e[_0x25cb4e(0x2fe)];const _0x2e5007=_0xa0ff3e[_0x25cb4e(0x421)][0x0][_0x25cb4e(0x267)][_0x25cb4e(0x2b9)];Array[_0x25cb4e(0x30b)](_0x2e5007)&&_0x2e5007[_0x25cb4e(0x370)]&&_0x476430[_0x25cb4e(0x290)](_0x2e5007,{'unitId':_0x2444f1,'subUnitId':_0x2444f1},!0x1);}};_0x11d904=_0x383493([_0x10b767(0x0,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x10b767(0x1,_0x45ac64['ITransformService'])],_0x11d904);var _0x552f16=Object['getOwnPropertyDescriptor'],_0xf151e=(_0x5c28af,_0x1d740e,_0x284915,_0x585881)=>{for(var _0x2b4bcf=_0x585881>0x1?void 0x0:_0x585881?_0x552f16(_0x1d740e,_0x284915):_0x1d740e,_0x137c43=_0x5c28af['length']-0x1,_0x5c926c;_0x137c43>=0x0;_0x137c43--)(_0x5c926c=_0x5c28af[_0x137c43])&&(_0x2b4bcf=_0x5c926c(_0x2b4bcf)||_0x2b4bcf);return _0x2b4bcf;},_0x33dd7e=(_0x53c9d8,_0x2932df)=>(_0x2a5c9f,_0x48d554)=>_0x2932df(_0x2a5c9f,_0x48d554,_0x53c9d8);let _0xa12047=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x271e27,_0x8b0615,_0x8cfc7e,_0x5e0984,_0x1f1681,_0x4a831d,_0x10aaa4,_0x227744){const _0x868e76=_0xa8de06;super(),_0xa13482(this,_0x868e76(0x314),new _0x1e9e4e[(_0x868e76(0x23c))](_0x3c2922['CollaborationStatus'][_0x868e76(0x33d)])),(this[_0x868e76(0x243)]=_0x271e27,this[_0x868e76(0x3f5)]=_0x8b0615,this[_0x868e76(0x3d8)]=_0x8cfc7e,this['_docTransformStateCacheService']=_0x5e0984,this['_docTransformSelectionsService']=_0x1f1681,this[_0x868e76(0x1a9)]=_0x4a831d,this['_messageService']=_0x10aaa4,this[_0x868e76(0x1a8)]=_0x227744,this[_0x868e76(0x380)]());}['_initEntityListener'](){const _0x29e7b3=_0xa8de06;this[_0x29e7b3(0x418)](this['_collaborationController']['entityInit$'][_0x29e7b3(0x2ab)](_0xeefe2=>{const _0x40f032=_0x29e7b3,_0x12c33b=this[_0x40f032(0x243)]['docStateChange$'][_0x40f032(0x2ab)](_0x4c3360=>{const _0x34c656=_0x40f032;if(_0x4c3360==null)return;const {unitId:_0x7d7943,redoState:_0x5490da,commandId:_0x4ee979}=_0x4c3360;if(_0x7d7943!==_0xeefe2[_0x34c656(0x3bf)])return;const _0x231327={'id':_0x4ee979,'type':_0x46b8ad[_0x34c656(0x375)][_0x34c656(0x222)],'params':{'unitId':_0x7d7943,'actions':_0x5490da[_0x34c656(0x213)],'textRanges':null}};_0xeefe2['onLocalMutation'](_0x231327);});if(_0xeefe2[_0x40f032(0x418)](_0x12c33b),_0xeefe2 instanceof _0x3c2922[_0x40f032(0x1b8)]){const _0xfdfbb={'onTransformIME':_0x23340e=>this['_docTransformIMECacheService']['transformIMECache'](_0x23340e),'onTransformState':_0x767a00=>this[_0x40f032(0x1f3)][_0x40f032(0x3b8)](_0x767a00),'onTransformSelections':_0x30d06a=>this[_0x40f032(0x1ad)][_0x40f032(0x1f6)](_0x30d06a),'onSyncEditingCollabCursor':_0x7962c9=>this[_0x40f032(0x1a9)][_0x40f032(0x227)](_0x7962c9),'onTransformRemoteChangesetByIMECache':_0x3aff9a=>this[_0x40f032(0x3d8)][_0x40f032(0x3f7)](_0x3aff9a),'onTransformRemoteChangesetByStateCache':_0x138b2a=>this[_0x40f032(0x1f3)][_0x40f032(0x3f7)](_0x138b2a)};_0xeefe2[_0x40f032(0x3d9)](_0xfdfbb);}}));}};_0xa12047=_0xf151e([_0x33dd7e(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x25822b[_0xa8de06(0x265)])),_0x33dd7e(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922['CollaborationController'])),_0x33dd7e(0x2,_0x46b8ad['Inject'](_0x4b8f3c)),_0x33dd7e(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x5b5dae)),_0x33dd7e(0x4,_0x46b8ad['Inject'](_0x11d904)),_0x33dd7e(0x5,_0x46b8ad[_0xa8de06(0x20b)](_0x3aaf60)),_0x33dd7e(0x6,_0x1188a4[_0xa8de06(0x2f7)]),_0x33dd7e(0x7,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x1ba)]))],_0xa12047);var _0x620c9e=(_0x341ff8=>(_0x341ff8[_0x341ff8[_0xa8de06(0x317)]=0x0]='UNDEFINED',_0x341ff8[_0x341ff8['OK']=0x1]='OK',_0x341ff8[_0x341ff8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x341ff8[_0x341ff8[_0xa8de06(0x449)]=0x3]=_0xa8de06(0x449),_0x341ff8[_0x341ff8['NOT_FOUND']=0x4]=_0xa8de06(0x37a),_0x341ff8[_0x341ff8[_0xa8de06(0x34f)]=0x5]=_0xa8de06(0x34f),_0x341ff8[_0x341ff8[_0xa8de06(0x241)]=0x6]=_0xa8de06(0x241),_0x341ff8[_0x341ff8['INVALID_ARGUMENT']=0x7]=_0xa8de06(0x220),_0x341ff8[_0x341ff8[_0xa8de06(0x45e)]=0x8]=_0xa8de06(0x45e),_0x341ff8[_0x341ff8[_0xa8de06(0x1ab)]=0x9]='COMPLETION_FINISHED',_0x341ff8[_0x341ff8['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x341ff8[_0x341ff8[_0xa8de06(0x33e)]=0xb]=_0xa8de06(0x33e),_0x341ff8[_0x341ff8[_0xa8de06(0x3ff)]=0xc]=_0xa8de06(0x3ff),_0x341ff8[_0x341ff8[_0xa8de06(0x1fa)]=0xd]=_0xa8de06(0x1fa),_0x341ff8[_0x341ff8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xa8de06(0x37c),_0x341ff8[_0x341ff8[_0xa8de06(0x42f)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x341ff8[_0x341ff8[_0xa8de06(0x45b)]=0x10]=_0xa8de06(0x45b),_0x341ff8[_0x341ff8[_0xa8de06(0x223)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x341ff8[_0x341ff8[_0xa8de06(0x371)]=0x65]=_0xa8de06(0x371),_0x341ff8[_0x341ff8['USER_NOT_FOUND']=0xc9]=_0xa8de06(0x3b3),_0x341ff8[_0x341ff8[_0xa8de06(0x45a)]=0xca]=_0xa8de06(0x45a),_0x341ff8[_0x341ff8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xa8de06(0x285),_0x341ff8[_0x341ff8[_0xa8de06(0x44d)]=0x1771]=_0xa8de06(0x44d),_0x341ff8[_0x341ff8[_0xa8de06(0x3a9)]=0x1772]=_0xa8de06(0x3a9),_0x341ff8[_0x341ff8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x341ff8[_0x341ff8[_0xa8de06(0x29b)]=0x1b59]=_0xa8de06(0x29b),_0x341ff8[_0x341ff8[_0xa8de06(0x41d)]=0x1b5a]=_0xa8de06(0x41d),_0x341ff8[_0x341ff8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xa8de06(0x393),_0x341ff8[_0x341ff8[_0xa8de06(0x35d)]=0x1b5c]=_0xa8de06(0x35d),_0x341ff8[_0x341ff8[_0xa8de06(0x189)]=0x1b5d]=_0xa8de06(0x189),_0x341ff8[_0x341ff8[_0xa8de06(0x1bd)]=0x1f41]=_0xa8de06(0x1bd),_0x341ff8[_0x341ff8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x341ff8[_0x341ff8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xa8de06(0x298),_0x341ff8[_0x341ff8[_0xa8de06(0x28b)]=0x232b]=_0xa8de06(0x28b),_0x341ff8[_0x341ff8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xa8de06(0x2af),_0x341ff8[_0x341ff8[_0xa8de06(0x3cd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x341ff8[_0x341ff8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xa8de06(0x467),_0x341ff8[_0x341ff8[_0xa8de06(0x22d)]=0x2712]=_0xa8de06(0x22d),_0x341ff8[_0x341ff8[_0xa8de06(0x1bb)]=0x2713]=_0xa8de06(0x1bb),_0x341ff8[_0x341ff8[_0xa8de06(0x35f)]=0x2714]=_0xa8de06(0x35f),_0x341ff8[_0x341ff8[_0xa8de06(0x3f1)]=0x271a]=_0xa8de06(0x3f1),_0x341ff8[_0x341ff8[_0xa8de06(0x266)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x341ff8[_0x341ff8[_0xa8de06(0x259)]=0x271c]=_0xa8de06(0x259),_0x341ff8[_0x341ff8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x341ff8[_0x341ff8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xa8de06(0x23f),_0x341ff8[_0x341ff8[_0xa8de06(0x45f)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x341ff8[_0x341ff8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0xa8de06(0x2b4),_0x341ff8[_0x341ff8[_0xa8de06(0x41a)]=0x2af9]=_0xa8de06(0x41a),_0x341ff8[_0x341ff8[_0xa8de06(0x444)]=0x2ee1]=_0xa8de06(0x444),_0x341ff8[_0x341ff8['INVALID_INVITE_CODE']=0x2ee2]=_0xa8de06(0x263),_0x341ff8[_0x341ff8['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x341ff8[_0x341ff8[_0xa8de06(0x1df)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x341ff8[_0x341ff8[_0xa8de06(0x250)]=0x2ee5]=_0xa8de06(0x250),_0x341ff8[_0x341ff8[_0xa8de06(0x1b4)]=0x32c9]=_0xa8de06(0x1b4),_0x341ff8[_0x341ff8['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x341ff8[_0x341ff8[_0xa8de06(0x1eb)]=0x32cb]=_0xa8de06(0x1eb),_0x341ff8[_0x341ff8[_0xa8de06(0x2a0)]=0x36b1]=_0xa8de06(0x2a0),_0x341ff8[_0x341ff8[_0xa8de06(0x30a)]=0x36b2]=_0xa8de06(0x30a),_0x341ff8[_0x341ff8['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x341ff8[_0x341ff8[_0xa8de06(0x3f4)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x341ff8[_0x341ff8[_0xa8de06(0x402)]=0x36b5]=_0xa8de06(0x402),_0x341ff8[_0x341ff8[_0xa8de06(0x33c)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x341ff8[_0x341ff8['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x341ff8[_0x341ff8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0xa8de06(0x36a),_0x341ff8[_0x341ff8[_0xa8de06(0x313)]=0x3715]=_0xa8de06(0x313),_0x341ff8[_0x341ff8[_0xa8de06(0x37f)]=0x3716]=_0xa8de06(0x37f),_0x341ff8[_0x341ff8['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x341ff8[_0x341ff8[_0xa8de06(0x192)]=0x37dd]=_0xa8de06(0x192),_0x341ff8[_0x341ff8[_0xa8de06(0x191)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x341ff8[_0x341ff8[_0xa8de06(0x413)]=0x3a9a]=_0xa8de06(0x413),_0x341ff8[_0x341ff8['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0xa8de06(0x2c1),_0x341ff8[_0x341ff8[_0xa8de06(0x287)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x341ff8[_0x341ff8[_0xa8de06(0x2f3)]=0x3a9d]=_0xa8de06(0x2f3),_0x341ff8[_0x341ff8[_0xa8de06(0x271)]=0x3a9e]=_0xa8de06(0x271),_0x341ff8[_0x341ff8[_0xa8de06(0x422)]=0x3a9f]=_0xa8de06(0x422),_0x341ff8[_0x341ff8['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0xa8de06(0x410),_0x341ff8[_0x341ff8[_0xa8de06(0x2ff)]=-0x1]='UNRECOGNIZED',_0x341ff8))(_0x620c9e||{});function _0x4f10b6(_0x4b35d2){const _0xb1130b=_0xa8de06;var _0xb253c9,_0x5428e9;const _0x57c6ff=(_0xb253c9=_0x4b35d2[_0xb1130b(0x1d1)])==null?void 0x0:_0xb253c9['stage'],_0x1d5621=((_0x5428e9=_0x4b35d2['stageInfo'])==null?void 0x0:_0x5428e9[_0xb1130b(0x1c4)])||0x0;return _0x57c6ff===_0x21c000[_0xb1130b(0x294)][_0xb1130b(0x283)]&&_0x1d5621>0x0;}function _0x38cee2(_0x36a532){const _0x3bfe74=_0xa8de06;return _0x36a532[_0x3bfe74(0x33f)]===_0x21c000['FormulaExecutedStateType'][_0x3bfe74(0x2bc)];}var _0x3d1f55=Object[_0xa8de06(0x2fb)],_0x2f048d=(_0xa76ca,_0x1d68ae,_0x4a8e21,_0x5192cf)=>{const _0x1e3f96=_0xa8de06;for(var _0x9ac923=_0x5192cf>0x1?void 0x0:_0x5192cf?_0x3d1f55(_0x1d68ae,_0x4a8e21):_0x1d68ae,_0x13e178=_0xa76ca[_0x1e3f96(0x370)]-0x1,_0x5dfbd3;_0x13e178>=0x0;_0x13e178--)(_0x5dfbd3=_0xa76ca[_0x13e178])&&(_0x9ac923=_0x5dfbd3(_0x9ac923)||_0x9ac923);return _0x9ac923;},_0x471873=(_0x44799c,_0x347a58)=>(_0x472531,_0x43e9cb)=>_0x347a58(_0x472531,_0x43e9cb,_0x44799c);const _0x2ae007=_0xa8de06(0x2a5),_0x3d052d=_0xa8de06(0x1d8),_0x5b2fb1=_0xa8de06(0x3fb);let _0x33fb0c=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x17ad8d,_0x2992b7,_0xf3883b,_0xa0d9ba,_0x3f4e17,_0x2d2aca,_0x1092ac){const _0x38dac1=_0xa8de06;super(),_0xa13482(this,_0x38dac1(0x1a0),null),_0xa13482(this,_0x38dac1(0x40d),0x0),_0xa13482(this,_0x38dac1(0x3c0),0x0),_0xa13482(this,'_taskIds',[]),_0xa13482(this,_0x38dac1(0x1a3),0x0),(this['_messageService']=_0x17ad8d,this[_0x38dac1(0x197)]=_0x2992b7,this['_configService']=_0xf3883b,this[_0x38dac1(0x2da)]=_0xa0d9ba,this['_univerInstanceService']=_0x3f4e17,this['_logService']=_0x2d2aca,this['_localeService']=_0x1092ac,this[_0x38dac1(0x305)]());}[_0xa8de06(0x305)](){const _0x36c3f6=_0xa8de06;this[_0x36c3f6(0x418)](this[_0x36c3f6(0x197)][_0x36c3f6(0x2de)]((_0x57848f,_0x19aedf)=>{const _0x41756c=_0x36c3f6;var _0x1b91b3;if(_0x57848f['id']!==_0x21c000[_0x41756c(0x27c)]['id'])return;const _0x289672=_0x57848f[_0x41756c(0x267)];if(!this[_0x41756c(0x2e0)]((_0x1b91b3=_0x289672[_0x41756c(0x3f8)])!=null?_0x1b91b3:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x41756c(0x3e4)](_0x57848f,_0x19aedf),this[_0x41756c(0x417)](),new _0x46b8ad['CanceledError']();})),this[_0x36c3f6(0x418)](this['_commandService']['onCommandExecuted']((_0x15f8ad,_0x20e067)=>{const _0x17d3bb=_0x36c3f6;if(_0x15f8ad['id']!==_0x21c000[_0x17d3bb(0x2eb)]['id'])return;const _0x4d0775=_0x15f8ad[_0x17d3bb(0x267)];if(_0x4f10b6(_0x4d0775)){const _0x36311a=_0x46b8ad[_0x17d3bb(0x2cb)]();this[_0x17d3bb(0x28c)][_0x17d3bb(0x392)](_0x36311a),this[_0x17d3bb(0x2fa)](_0x36311a);}else{if(_0x38cee2(_0x4d0775)&&this[_0x17d3bb(0x28c)][_0x17d3bb(0x370)]>0x0){const _0x4eccd5=this[_0x17d3bb(0x28c)][_0x17d3bb(0x1d6)]();this[_0x17d3bb(0x281)](_0x4eccd5);}}}));}[_0xa8de06(0x208)](){const _0x35fd31=_0xa8de06;super['dispose'](),this['_clearPolling'](),this['_taskIds']=[],this[_0x35fd31(0x3c0)]=0x0,this[_0x35fd31(0x40d)]=0x0,this[_0x35fd31(0x1a3)]=0x0;}async[_0xa8de06(0x3e4)](_0x2a6032,_0x36508b){const _0x3bbcaa=_0xa8de06;for(let _0x278b55=0x0;_0x278b55<0x1e;_0x278b55++)try{if(await this[_0x3bbcaa(0x233)](),this[_0x3bbcaa(0x279)]()){this[_0x3bbcaa(0x43f)](_0x2a6032,_0x36508b),this['_messageService'][_0x3bbcaa(0x2e7)]({'content':this[_0x3bbcaa(0x1a8)]['t'](_0x3bbcaa(0x3bb)),'type':_0x2472b7[_0x3bbcaa(0x1e4)][_0x3bbcaa(0x33b)]});return;}await new Promise(_0x36dede=>{const _0x549d89=_0x3bbcaa;this[_0x549d89(0x1a0)]=window[_0x549d89(0x468)](_0x36dede,0x3e8);});}catch(_0x3d08a8){this[_0x3bbcaa(0x2ce)]['error'](_0x3d08a8);}this['_messageService'][_0x3bbcaa(0x2e7)]({'content':this[_0x3bbcaa(0x1a8)]['t'](_0x3bbcaa(0x36d)),'type':_0x2472b7[_0x3bbcaa(0x1e4)][_0x3bbcaa(0x349)]});}[_0xa8de06(0x43f)](_0x1decad,_0x49b62e){const _0x5d54e1=_0xa8de06;try{this['_commandService']['executeCommand'](_0x1decad['id'],_0x1decad[_0x5d54e1(0x267)],_0x49b62e);}catch(_0x532fd5){this[_0x5d54e1(0x2ce)][_0x5d54e1(0x2fe)](_0x532fd5);}}['_setFormulaLimitStatus'](_0x49210c,_0x639829){const _0x16212e=_0xa8de06;_0x639829<this[_0x16212e(0x1a3)]||(this[_0x16212e(0x1a3)]=_0x639829,this[_0x16212e(0x40d)]=Number['parseInt'](_0x49210c[_0x16212e(0x3c5)]),this[_0x16212e(0x3c0)]=Number['parseInt'](_0x49210c[_0x16212e(0x1b9)]));}async[_0xa8de06(0x2fa)](_0x2277c1){const _0x458c58=_0xa8de06;var _0x3c825b,_0x343bdc;const _0x2f10b9=Date[_0x458c58(0x391)]();try{const _0x5c767e=((_0x3c825b=this[_0x458c58(0x2c2)][_0x458c58(0x235)](_0x3c2922['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3c825b[_0x458c58(0x214)])||_0x3d052d,_0x5eb4f1=(await this[_0x458c58(0x2da)][_0x458c58(0x2a3)](_0x5c767e,{'body':JSON[_0x458c58(0x2e1)]({'taskId':_0x2277c1})}))[_0x458c58(0x1a6)];if(((_0x343bdc=_0x5eb4f1[_0x458c58(0x2fe)])==null?void 0x0:_0x343bdc[_0x458c58(0x1da)])!==_0x620c9e['OK'])return;this[_0x458c58(0x389)](_0x5eb4f1[_0x458c58(0x44e)],_0x2f10b9);}catch(_0xf461cf){this['_logService'][_0x458c58(0x2fe)](_0xf461cf);}}async[_0xa8de06(0x233)](_0x42e5c7){const _0x492eb9=_0xa8de06;var _0x26ea29,_0x33a3b0;const _0x3f0e10=Date['now']();try{const _0x42f3cb=((_0x26ea29=this[_0x492eb9(0x2c2)]['getConfig'](_0x3c2922[_0x492eb9(0x1fe)]))==null?void 0x0:_0x26ea29['getformulaLimitStatusUrl'])||_0x2ae007,_0x4ad502=_0x42e5c7?_0x42f3cb+_0x492eb9(0x18d)+encodeURIComponent(_0x42e5c7):_0x42f3cb,_0x212715=(await this[_0x492eb9(0x2da)][_0x492eb9(0x3ca)](_0x4ad502))['body'];if(((_0x33a3b0=_0x212715[_0x492eb9(0x2fe)])==null?void 0x0:_0x33a3b0[_0x492eb9(0x1da)])!==_0x620c9e['OK'])return;this[_0x492eb9(0x389)](_0x212715[_0x492eb9(0x44e)],_0x3f0e10);}catch(_0x3930a9){this[_0x492eb9(0x2ce)][_0x492eb9(0x2fe)](_0x3930a9);}}async[_0xa8de06(0x281)](_0xfd6d7a){const _0x2e2482=_0xa8de06;var _0x2e91b7,_0x141131;const _0x5ee29f=Date['now']();try{const _0x1bf1c3=((_0x2e91b7=this['_configService'][_0x2e2482(0x235)](_0x3c2922[_0x2e2482(0x1fe)]))==null?void 0x0:_0x2e91b7[_0x2e2482(0x2d7)])||_0x5b2fb1,_0x43b18f=(await this[_0x2e2482(0x2da)]['post'](_0x1bf1c3,{'body':JSON['stringify']({'taskId':_0xfd6d7a})}))[_0x2e2482(0x1a6)];if(((_0x141131=_0x43b18f[_0x2e2482(0x2fe)])==null?void 0x0:_0x141131[_0x2e2482(0x1da)])!==_0x620c9e['OK'])return;this['_setFormulaLimitStatus'](_0x43b18f[_0x2e2482(0x44e)],_0x5ee29f);}catch(_0x43e6ac){this[_0x2e2482(0x2ce)]['error'](_0x43e6ac);}}[_0xa8de06(0x279)](){const _0x3d4aa6=_0xa8de06;return this[_0x3d4aa6(0x40d)]===0x0?!0x0:this[_0x3d4aa6(0x40d)]-this[_0x3d4aa6(0x3c0)]>0x0;}[_0xa8de06(0x3d4)](){const _0xfde5f7=_0xa8de06;this['_pollingInterval']&&(clearTimeout(this[_0xfde5f7(0x1a0)]),this[_0xfde5f7(0x1a0)]=null);}[_0xa8de06(0x417)](){const _0x51fdd1=_0xa8de06;this[_0x51fdd1(0x1c8)]['show']({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x2472b7['MessageType'][_0x51fdd1(0x341)]});}[_0xa8de06(0x2e0)](_0x4cf712){const _0x1f5249=_0xa8de06;for(const _0x45c55f of _0x4cf712){const {unitId:_0x5d6c69,sheetId:_0x4044c1,range:_0x15f2c8}=_0x45c55f,_0x3438fe=this[_0x1f5249(0x274)][_0x1f5249(0x2c4)](_0x5d6c69);if(!_0x3438fe)continue;const _0x2b2e61=_0x3438fe['getSheetBySheetId'](_0x4044c1);if(!_0x2b2e61)continue;const _0x520fb2=_0x2b2e61[_0x1f5249(0x407)]();for(let _0x1aecee=_0x15f2c8[_0x1f5249(0x46a)];_0x1aecee<=_0x15f2c8[_0x1f5249(0x284)];_0x1aecee++)for(let _0x25851b=_0x15f2c8['startColumn'];_0x25851b<=_0x15f2c8[_0x1f5249(0x230)];_0x25851b++){const _0x3da324=_0x520fb2[_0x1f5249(0x3d6)](_0x1aecee,_0x25851b);if(_0x3da324&&(_0x46b8ad[_0x1f5249(0x2cd)](_0x3da324['f'])||_0x46b8ad[_0x1f5249(0x323)](_0x3da324['si'])))return!0x0;}}return!0x1;}};_0x33fb0c=_0x2f048d([_0x471873(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x1188a4[_0xa8de06(0x2f7)])),_0x471873(0x1,_0x46b8ad['ICommandService']),_0x471873(0x2,_0x46b8ad[_0xa8de06(0x2b5)]),_0x471873(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a[_0xa8de06(0x1e0)])),_0x471873(0x4,_0x46b8ad['IUniverInstanceService']),_0x471873(0x5,_0x46b8ad[_0xa8de06(0x25c)]),_0x471873(0x6,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x1ba)]))],_0x33fb0c);var _0x5753f1=Object[_0xa8de06(0x2fb)],_0x552b5f=(_0x140067,_0x4b9d40,_0x54778b,_0x17afa5)=>{const _0x27561d=_0xa8de06;for(var _0x7564a=_0x17afa5>0x1?void 0x0:_0x17afa5?_0x5753f1(_0x4b9d40,_0x54778b):_0x4b9d40,_0x4465dd=_0x140067[_0x27561d(0x370)]-0x1,_0x3b8594;_0x4465dd>=0x0;_0x4465dd--)(_0x3b8594=_0x140067[_0x4465dd])&&(_0x7564a=_0x3b8594(_0x7564a)||_0x7564a);return _0x7564a;},_0xf5796d=(_0x37f1af,_0x562359)=>(_0x5b762d,_0x557665)=>_0x562359(_0x5b762d,_0x557665,_0x37f1af);let _0x221448=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x581299,_0x30ae62,_0x17b4f6){const _0x2be6be=_0xa8de06;super(),_0xa13482(this,_0x2be6be(0x1c5),new Map()),_0xa13482(this,_0x2be6be(0x2dd),new Map()),_0xa13482(this,'_disabled',!0x1),(this['_configService']=_0x581299,this['_localStorageService']=_0x30ae62,this[_0x2be6be(0x1dc)]=_0x17b4f6);}[_0xa8de06(0x247)](){this['_disabled']=!0x0;}[_0xa8de06(0x360)](){const _0x4f0485=_0xa8de06;this[_0x4f0485(0x1d3)]=!0x1;}get[_0xa8de06(0x34e)](){const _0x3a1534=_0xa8de06;return this[_0x3a1534(0x2dd)];}['dispose'](){const _0x12bf00=_0xa8de06;this[_0x12bf00(0x215)]()['then'](()=>super[_0x12bf00(0x208)]());}async[_0xa8de06(0x429)](_0x2dade2){const _0xcdc709=_0xa8de06;return this[_0xcdc709(0x1d3)]?null:this[_0xcdc709(0x2f5)][_0xcdc709(0x324)](_0x3c2922[_0xcdc709(0x17e)](_0x2dade2));}async[_0xa8de06(0x430)](_0x2a9f84,_0x4bc2f4){const _0x4b0c0a=_0xa8de06;return!!this['_localStorageService'][_0x4b0c0a(0x1f4)](_0x2a9f84,_0x4bc2f4);}[_0xa8de06(0x345)](_0x4c6da3,_0x3e4cb4,_0x4f39e6,_0x50c9f6){const _0x2a4398=_0xa8de06,_0x6a8d71=this['_revisionService'][_0x2a4398(0x3e6)](_0x4c6da3);this[_0x2a4398(0x1c5)]['set'](_0x4c6da3,{'unitID':_0x4c6da3,'type':_0x3e4cb4,'awaitingChangeset':_0x4f39e6,'mutations':_0x50c9f6,'rev':_0x6a8d71}),this[_0x2a4398(0x2dd)][_0x2a4398(0x3de)](_0x4c6da3)||this['_scheduleSaving'](_0x4c6da3);}[_0xa8de06(0x330)](_0x80a047){const _0x2a3338=_0xa8de06,_0x37e45c=this[_0x2a3338(0x3d1)]();_0x37e45c===0x0?this[_0x2a3338(0x438)](_0x80a047):this[_0x2a3338(0x2dd)][_0x2a3338(0x1f9)](_0x80a047,setTimeout(()=>this[_0x2a3338(0x438)](_0x80a047),_0x37e45c));}['_getSaveTimeout'](){const _0x29d64e=_0xa8de06;var _0x39641f;return(_0x39641f=this[_0x29d64e(0x2c2)][_0x29d64e(0x235)](_0x3c2922[_0x29d64e(0x434)]))!=null?_0x39641f:_0x3c2922[_0x29d64e(0x1fd)];}[_0xa8de06(0x438)](_0x5cd7e0){const _0x560afd=_0xa8de06,_0x3b5c71=this[_0x560afd(0x2dd)][_0x560afd(0x3ca)](_0x5cd7e0);return _0x3b5c71!==void 0x0&&window[_0x560afd(0x26f)](_0x3b5c71),this[_0x560afd(0x2f5)][_0x560afd(0x1f4)](_0x3c2922[_0x560afd(0x17e)](_0x5cd7e0),this[_0x560afd(0x1c5)][_0x560afd(0x3ca)](_0x5cd7e0))[_0x560afd(0x218)](()=>this[_0x560afd(0x2dd)]['delete'](_0x5cd7e0));}async[_0xa8de06(0x215)](){const _0x4bbed0=_0xa8de06,_0x16ac3e=[];this['_saveTaskMap']['forEach']((_0x44fc3d,_0x259f5b)=>{const _0x5bed8e=_0x21d5;window[_0x5bed8e(0x26f)](_0x44fc3d),_0x16ac3e[_0x5bed8e(0x392)](this[_0x5bed8e(0x438)](_0x259f5b)[_0x5bed8e(0x218)](()=>{const _0x5006b2=_0x5bed8e;this['_saveTaskMap'][_0x5006b2(0x31e)](_0x259f5b);}));}),await Promise[_0x4bbed0(0x31d)](_0x16ac3e);}};_0x221448=_0x552b5f([_0xf5796d(0x0,_0x46b8ad['IConfigService']),_0xf5796d(0x1,_0x46b8ad[_0xa8de06(0x1bc)]),_0xf5796d(0x2,_0x46b8ad['Inject'](_0x45ac64[_0xa8de06(0x18b)]))],_0x221448);class _0x3e26c7 extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(){const _0x2ce3ee=_0xa8de06;super(),_0xa13482(this,_0x2ce3ee(0x205)),this[_0x2ce3ee(0x205)]=_0x1e9e4e[_0x2ce3ee(0x1ae)](window,_0x2ce3ee(0x19c))[_0x2ce3ee(0x2bb)](_0x1e9e4e['takeUntil'](this[_0x2ce3ee(0x37b)]),_0x1e9e4e[_0x2ce3ee(0x3ed)](0x1),_0x1e9e4e[_0x2ce3ee(0x439)](void 0x0));}[_0xa8de06(0x36f)](_0x365c35,_0x56d01f,_0x789d3e=!0x1){const _0xdfb8ba=_0xa8de06,_0x4d4a80=new URL(window[_0xdfb8ba(0x381)][_0xdfb8ba(0x38c)]);_0x4d4a80[_0xdfb8ba(0x447)][_0xdfb8ba(0x1f9)](_0x365c35,_0x56d01f),_0x789d3e?window[_0xdfb8ba(0x406)]['replaceState']('','',_0x4d4a80[_0xdfb8ba(0x3c4)]()):window[_0xdfb8ba(0x406)][_0xdfb8ba(0x2e4)]('','',_0x4d4a80['toString']());}['removeParam'](_0x11bf9d,_0x2d21b0=!0x1){const _0x2f2eda=_0xa8de06,_0x47ad27=new URL(window[_0x2f2eda(0x381)][_0x2f2eda(0x38c)]);_0x47ad27[_0x2f2eda(0x447)][_0x2f2eda(0x31e)](_0x11bf9d),_0x2d21b0?window[_0x2f2eda(0x406)][_0x2f2eda(0x2ea)]('','',_0x47ad27[_0x2f2eda(0x3c4)]()):window[_0x2f2eda(0x406)][_0x2f2eda(0x2e4)]('','',_0x47ad27['toString']());}[_0xa8de06(0x201)](_0xb183e2){const _0x3b7f18=_0xa8de06;var _0x32f3e5;return(_0x32f3e5=new URL(window['location'][_0x3b7f18(0x38c)])['searchParams'][_0x3b7f18(0x3ca)](_0xb183e2))!=null?_0x32f3e5:void 0x0;}}var _0x4d7ff5=Object[_0xa8de06(0x45d)],_0x369ac7=Object[_0xa8de06(0x2fb)],_0x336c45=(_0x152f29,_0x43c00f,_0x340744)=>_0x43c00f in _0x152f29?_0x4d7ff5(_0x152f29,_0x43c00f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x340744}):_0x152f29[_0x43c00f]=_0x340744,_0x5813f5=(_0x2a40a2,_0x3577f4,_0x1532a3,_0x5e8c97)=>{const _0x27278c=_0xa8de06;for(var _0x229b16=_0x5e8c97>0x1?void 0x0:_0x5e8c97?_0x369ac7(_0x3577f4,_0x1532a3):_0x3577f4,_0xa82f32=_0x2a40a2[_0x27278c(0x370)]-0x1,_0x438683;_0xa82f32>=0x0;_0xa82f32--)(_0x438683=_0x2a40a2[_0xa82f32])&&(_0x229b16=_0x438683(_0x229b16)||_0x229b16);return _0x229b16;},_0x5c406f=(_0x4650a8,_0xf83ce6)=>(_0x477842,_0x13b76c)=>_0xf83ce6(_0x477842,_0x13b76c,_0x4650a8),_0x4d95d3=(_0x43a607,_0x201781,_0x509f90)=>_0x336c45(_0x43a607,_0x201781+'',_0x509f90);const _0x23703b=_0xa8de06(0x1d5);_0x2ad26e[_0xa8de06(0x1d0)]=class extends _0x46b8ad[_0xa8de06(0x2ba)]{constructor(_0x8a5dc7=_0x2b2758,_0x339a30,_0x35be3a,_0x2f2400){const _0x491ec7=_0xa8de06;super(),this['_config']=_0x8a5dc7,this[_0x491ec7(0x292)]=_0x339a30,this['_injector']=_0x35be3a,this[_0x491ec7(0x2c2)]=_0x2f2400;const {..._0x2658bc}=_0x46b8ad[_0x491ec7(0x428)]({},_0x2b2758,this['_config']);this[_0x491ec7(0x2c2)][_0x491ec7(0x3ac)](_0x25687d,_0x2658bc);}[_0xa8de06(0x256)](){const _0x29e295=_0xa8de06;this[_0x29e295(0x326)](),this[_0x29e295(0x308)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0xa8de06(0x326)](){const _0x44c25a=_0xa8de06;var _0x40b983;const _0x3c631e=[[_0x7dd548],[_0x33fb0c],[_0x11d904],[_0x4b8f3c],[_0x5b5dae],[_0x3aaf60],[_0x165cd6,{'useClass':_0x3e26c7}],[_0x3f1a6a[_0x44c25a(0x37e)],{'useClass':_0x3f1a6a['WebSocketService']}],[_0x3c2922[_0x44c25a(0x251)],{'useClass':_0x221448}],[_0x2ad26e[_0x44c25a(0x2c6)]],[_0xa12047],[_0x479b7f],[_0x12c067],[_0x3f2971],[_0x2ad26e[_0x44c25a(0x23b)]]];this[_0x44c25a(0x378)]['enableFrontendLog']&&_0x3c631e['push']([_0x3a6d5b]),_0x46b8ad['registerDependencies'](this['_injector'],_0x46b8ad[_0x44c25a(0x1c6)](_0x3c631e,(_0x40b983=this[_0x44c25a(0x378)])==null?void 0x0:_0x40b983[_0x44c25a(0x22e)]));}[_0xa8de06(0x322)](){const _0x50370d=_0xa8de06;this[_0x50370d(0x418)](this['_renderManagerService']['registerRenderModule'](_0x46b8ad['UniverInstanceType'][_0x50370d(0x40e)],[_0x442bb0])),this[_0x50370d(0x418)](this['_renderManagerService'][_0x50370d(0x374)](_0x46b8ad[_0x50370d(0x193)]['UNIVER_SHEET'],[_0x2b7c36]));}[_0xa8de06(0x308)](){const _0x2374d6=_0xa8de06;_0x46b8ad[_0x2374d6(0x3ec)](this[_0x2374d6(0x1e3)],[[_0x12c067],[_0x2ad26e[_0x2374d6(0x2c6)]],[_0xa12047],[_0x479b7f],[_0x2ad26e[_0x2374d6(0x23b)]],[_0x33fb0c]]),this['_config']['enableFrontendLog']&&_0x46b8ad[_0x2374d6(0x3ec)](this[_0x2374d6(0x1e3)],[[_0x3a6d5b]]);}},_0x4d95d3(_0x2ad26e['UniverCollaborationClientUIPlugin'],_0xa8de06(0x3a3),_0x23703b),_0x2ad26e[_0xa8de06(0x1d0)]=_0x5813f5([_0x46b8ad[_0xa8de06(0x453)](_0x3c2922[_0xa8de06(0x1ec)]),_0x5c406f(0x1,_0x432809['IRenderManagerService']),_0x5c406f(0x2,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x5c406f(0x3,_0x46b8ad[_0xa8de06(0x2b5)])],_0x2ad26e[_0xa8de06(0x1d0)]);var _0xb81b95=Object[_0xa8de06(0x2fb)],_0xd1137a=(_0x1439f2,_0x1b70a4,_0x5a3bc1,_0x2e9946)=>{const _0x1fa168=_0xa8de06;for(var _0x29705c=_0x2e9946>0x1?void 0x0:_0x2e9946?_0xb81b95(_0x1b70a4,_0x5a3bc1):_0x1b70a4,_0x18eacc=_0x1439f2[_0x1fa168(0x370)]-0x1,_0x1c3f91;_0x18eacc>=0x0;_0x18eacc--)(_0x1c3f91=_0x1439f2[_0x18eacc])&&(_0x29705c=_0x1c3f91(_0x29705c)||_0x29705c);return _0x29705c;},_0x3abe04=(_0x32cad8,_0x51e208)=>(_0x6c2b09,_0xa1a41d)=>_0x51e208(_0x6c2b09,_0xa1a41d,_0x32cad8);_0x2ad26e[_0xa8de06(0x18f)]=class extends _0x3c2922['CollaborationSocketService']{constructor(_0x2b7f5c,_0x455a0a,_0x468b8,_0x1d6459,_0x2ea32e){super(_0x2b7f5c,_0x455a0a,_0x468b8,_0x1d6459,_0x2ea32e);}async[_0xa8de06(0x38b)](_0x1425ed){const _0x187c98=_0xa8de06,_0x44fc52=await this['_getSessionTicket'](),_0x51944d=this['_createSocketURL'](_0x1425ed,_0x44fc52);return this[_0x187c98(0x28d)](_0x51944d);}[_0xa8de06(0x42e)](_0x56949f,_0x678140){const _0x307484=_0xa8de06,_0x2a3406=typeof window>'u'?new URL(_0x56949f):new URL(_0x56949f,window[_0x307484(0x381)][_0x307484(0x260)]);_0x2a3406['searchParams'][_0x307484(0x1f9)](_0x307484(0x2f0),_0x678140);const _0x2e01ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x307484(0x381)][_0x307484(0x2ee)]);return _0x2e01ab[_0x307484(0x3ca)](_0x307484(0x3c6))&&_0x2a3406[_0x307484(0x447)][_0x307484(0x1f9)]('runId',_0x2e01ab[_0x307484(0x3ca)]('runId')),_0x2a3406[_0x307484(0x3c4)]();}async[_0xa8de06(0x195)](){const _0x345016=_0xa8de06;var _0x487a50,_0x478c6c,_0x1ee372;const _0x4e720b=this['_configService'][_0x345016(0x235)](_0x3c2922[_0x345016(0x1fe)]),_0x5f46de=(_0x487a50=_0x4e720b==null?void 0x0:_0x4e720b[_0x345016(0x347)])!=null?_0x487a50:_0x3c2922[_0x345016(0x36b)];return(_0x1ee372=(_0x478c6c=(await this[_0x345016(0x2da)][_0x345016(0x3ca)](_0x5f46de,{'headers':{'Content-Type':_0x345016(0x249)}}))[_0x345016(0x1a6)])==null?void 0x0:_0x478c6c['ticket'])!=null?_0x1ee372:'';}},_0x2ad26e['BrowserCollaborationSocketService']=_0xd1137a([_0x3abe04(0x0,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x3abe04(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a[_0xa8de06(0x1e0)])),_0x3abe04(0x2,_0x46b8ad['IConfigService']),_0x3abe04(0x3,_0x46b8ad[_0xa8de06(0x25c)]),_0x3abe04(0x4,_0x45ac64[_0xa8de06(0x1d4)])],_0x2ad26e['BrowserCollaborationSocketService']);var _0x291c57=Object['getOwnPropertyDescriptor'],_0x2c726b=(_0x5d225b,_0x5d3f0c,_0x42ce62,_0x32d2ee)=>{const _0xa5bfd3=_0xa8de06;for(var _0x4ed42e=_0x32d2ee>0x1?void 0x0:_0x32d2ee?_0x291c57(_0x5d3f0c,_0x42ce62):_0x5d3f0c,_0x350003=_0x5d225b[_0xa5bfd3(0x370)]-0x1,_0x3f2b0f;_0x350003>=0x0;_0x350003--)(_0x3f2b0f=_0x5d225b[_0x350003])&&(_0x4ed42e=_0x3f2b0f(_0x4ed42e)||_0x4ed42e);return _0x4ed42e;},_0x140030=(_0x2efa04,_0x3e419e)=>(_0x35104b,_0xba5797)=>_0x3e419e(_0x35104b,_0xba5797,_0x2efa04);_0x2ad26e[_0xa8de06(0x43b)]=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x449657,_0x2ebdb9,_0x27c5f8){const _0x1976f8=_0xa8de06;super(),this[_0x1976f8(0x31f)]=_0x449657,this[_0x1976f8(0x2da)]=_0x2ebdb9,this['_configService']=_0x27c5f8;}async[_0xa8de06(0x320)](_0x131d3d,_0x36f80,_0x1230b1,..._0x3943f9){const _0x4647fa=_0xa8de06;var _0x20651e,_0x45c991,_0x29881f,_0x3e44ed;const _0x41024e=this[_0x4647fa(0x31f)]['getFocusedUnit']();if(!_0x41024e)throw new Error(_0x4647fa(0x34b));const _0x1b4677=((_0x20651e=this[_0x4647fa(0x2c2)][_0x4647fa(0x235)](_0x3c2922[_0x4647fa(0x1ea)]))!=null?_0x20651e:_0x3c2922[_0x4647fa(0x2e8)])+'/'+_0x131d3d+_0x4647fa(0x1ee)+_0x36f80,_0x2496b2=new URL(window[_0x4647fa(0x381)][_0x4647fa(0x38c)]),_0x4ad106={'scriptId':_0x131d3d,'runId':(_0x45c991=_0x2496b2[_0x4647fa(0x447)][_0x4647fa(0x3ca)](_0x4647fa(0x3c6)))!=null?_0x45c991:'','function':_0x36f80,'unitId':_0x41024e[_0x4647fa(0x3e8)](),'argsOfFunction':JSON[_0x4647fa(0x2e1)](_0x3943f9),'invokeId':(_0x29881f=_0x1230b1[_0x4647fa(0x325)])!=null?_0x29881f:'','executionId':(_0x3e44ed=_0x1230b1['executionId'])!=null?_0x3e44ed:''};try{const _0x31e741=await this[_0x4647fa(0x2da)]['post'](_0x1b4677,{'body':_0x4ad106});return _0x31e741[_0x4647fa(0x1a6)]['error']&&_0x31e741[_0x4647fa(0x1a6)][_0x4647fa(0x2fe)][_0x4647fa(0x1da)]!==_0x620c9e['OK']?'Failed':_0x31e741[_0x4647fa(0x1a6)][_0x4647fa(0x252)];}catch{return _0x4647fa(0x302);}}},_0x2ad26e[_0xa8de06(0x43b)]=_0x2c726b([_0x140030(0x0,_0x46b8ad[_0xa8de06(0x21b)]),_0x140030(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a[_0xa8de06(0x1e0)])),_0x140030(0x2,_0x46b8ad[_0xa8de06(0x2b5)])],_0x2ad26e['RemoteUniscriptService']);const _0x1e7119=0x7530,_0x259fea=_0xa8de06(0x1e9);class _0x2f0f3d extends _0x46b8ad['Disposable']{constructor(){const _0x2bedd4=_0xa8de06;super(),_0xa13482(this,_0x2bedd4(0x366),_0x46b8ad['generateRandomId']()),_0xa13482(this,_0x2bedd4(0x196),new Set()),_0xa13482(this,_0x2bedd4(0x44b),new Map()),_0xa13482(this,_0x2bedd4(0x1fb),null),_0xa13482(this,_0x2bedd4(0x207),new Map()),_0xa13482(this,'_unitStatus',new Map()),this[_0x2bedd4(0x435)]();}[_0xa8de06(0x208)](){const _0x58e7e2=_0xa8de06;super['dispose'](),this[_0x58e7e2(0x207)][_0x58e7e2(0x2bf)]((_0x4f67a1,_0x568e87)=>this[_0x58e7e2(0x328)](_0x568e87)),this['_heartbeatTimer']&&window[_0x58e7e2(0x2aa)](this[_0x58e7e2(0x1fb)]);}[_0xa8de06(0x373)](_0x5e3770){const _0x4f5905=_0xa8de06;return this[_0x4f5905(0x33a)](_0x5e3770)[_0x4f5905(0x2bb)](_0x1e9e4e[_0x4f5905(0x2d2)]());}[_0xa8de06(0x269)](_0x3dd34f){const _0x4e62fe=_0xa8de06;this[_0x4e62fe(0x196)][_0x4e62fe(0x396)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4e62fe(0x196)][_0x4e62fe(0x24b)](_0x3dd34f),this[_0x4e62fe(0x190)]({'type':0x0,'memberID':this[_0x4e62fe(0x366)],'unitIDs':[_0x3dd34f],'isForwarded':!0x1});}['disposeUnit'](_0x2ec67d){const _0x43f0a0=_0xa8de06;this[_0x43f0a0(0x196)][_0x43f0a0(0x31e)](_0x2ec67d),this[_0x43f0a0(0x196)][_0x43f0a0(0x396)]===0x0&&this[_0x43f0a0(0x1fb)]&&window[_0x43f0a0(0x2aa)](this[_0x43f0a0(0x1fb)]);}[_0xa8de06(0x435)](){const _0x30397b=_0xa8de06;this[_0x30397b(0x418)](_0x46b8ad[_0x30397b(0x3e9)](_0x1e9e4e[_0x30397b(0x1ae)](window,_0x30397b(0x3a5))[_0x30397b(0x2ab)](_0x5f36f4=>{const _0x1e2801=_0x30397b;if(_0x5f36f4[_0x1e2801(0x2e5)]!==_0x259fea||!_0x5f36f4[_0x1e2801(0x318)])return;const _0x1748a0=JSON['parse'](_0x5f36f4[_0x1e2801(0x318)]);this[_0x1e2801(0x1e2)](_0x1748a0);}))),window[_0x30397b(0x45c)](_0x30397b(0x41b),()=>this[_0x30397b(0x190)]({'type':0x1,'memberID':this[_0x30397b(0x366)],'unitIDs':Array[_0x30397b(0x38e)](this['_selfUnitIDs'])}));}[_0xa8de06(0x1e2)](_0x52ec18){const _0x5043a7=_0xa8de06;switch(_0x52ec18[_0x5043a7(0x288)]){case 0x0:this['_handleJoinEvent'](_0x52ec18);break;case 0x1:this[_0x5043a7(0x2ac)](_0x52ec18);break;case 0x2:this[_0x5043a7(0x367)](_0x52ec18);break;}}['_handleJoinEvent'](_0xee6507){const _0x530888=_0xa8de06,{unitIDs:_0x52110b,memberID:_0x30b438,isForwarded:_0x31b2d6}=_0xee6507;_0x52110b[_0x530888(0x2bf)](_0x2876f0=>{const _0x234527=_0x530888;if(!_0x31b2d6&&this['_unitOnClients'][_0x234527(0x3de)](_0x2876f0)&&this[_0x234527(0x33a)](_0x2876f0)[_0x234527(0x2dc)](_0x3c2922[_0x234527(0x3b7)][_0x234527(0x2b3)]),!this['_unitOnClients'][_0x234527(0x3de)](_0x2876f0)||!this[_0x234527(0x44b)][_0x234527(0x3ca)](_0x2876f0)[_0x234527(0x3de)](_0x30b438)){const _0x48efa8=this['_unitOnClients']['get'](_0x2876f0)||new Set();_0x48efa8[_0x234527(0x24b)](_0x30b438),this[_0x234527(0x44b)][_0x234527(0x1f9)](_0x2876f0,_0x48efa8),this[_0x234527(0x1ff)](_0x30b438);}}),_0x31b2d6||this['_send']({'type':0x0,'memberID':this[_0x530888(0x366)],'unitIDs':[...this[_0x530888(0x196)]],'isForwarded':!0x0});}[_0xa8de06(0x1ff)](_0x26c98b){const _0x576534=_0xa8de06;this[_0x576534(0x328)](_0x26c98b);const _0x2f114f=window[_0x576534(0x468)](()=>{const _0x1b5762=_0x576534;this[_0x1b5762(0x44b)]['forEach'](_0x85724c=>{_0x85724c['delete'](_0x26c98b);});},_0x1e7119*0x2);this['_clearOtherTimers'][_0x576534(0x1f9)](_0x26c98b,_0x2f114f);}[_0xa8de06(0x328)](_0x34820c){const _0x8a91bf=_0xa8de06;if(this['_clearOtherTimers'][_0x8a91bf(0x3de)](_0x34820c)){const _0x57646f=this[_0x8a91bf(0x207)][_0x8a91bf(0x3ca)](_0x34820c);_0x57646f&&window[_0x8a91bf(0x26f)](_0x57646f),this['_clearOtherTimers'][_0x8a91bf(0x1f9)](_0x34820c,null);}}[_0xa8de06(0x2ac)](_0x43cb9a){const _0x3fcba7=_0xa8de06,{memberID:_0x463986,unitIDs:_0x1af1df}=_0x43cb9a;_0x1af1df['forEach'](_0x589969=>{const _0x2ea987=_0x21d5;var _0x30285b;const _0x15f95d=this[_0x2ea987(0x44b)]['get'](_0x589969);_0x15f95d&&(_0x15f95d[_0x2ea987(0x31e)](_0x463986),(_0x30285b=this[_0x2ea987(0x33a)](_0x589969))==null||_0x30285b[_0x2ea987(0x2dc)](_0x15f95d[_0x2ea987(0x396)]===0x0?_0x3c2922[_0x2ea987(0x3b7)][_0x2ea987(0x379)]:_0x3c2922[_0x2ea987(0x3b7)]['OTHER_CLIENTS_EDITING']));}),this[_0x3fcba7(0x328)](_0x463986);}[_0xa8de06(0x367)](_0x45fe9e){const _0x525548=_0xa8de06;this[_0x525548(0x1ff)](_0x45fe9e[_0x525548(0x443)]);}[_0xa8de06(0x190)](_0x59a436){const _0x2043a1=_0xa8de06;localStorage[_0x2043a1(0x1f4)](_0x259fea,JSON[_0x2043a1(0x2e1)](_0x59a436));}[_0xa8de06(0x1be)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x5c7b56=_0x21d5;this['_send']({'type':0x2,'memberID':this[_0x5c7b56(0x366)]});},_0x1e7119);}[_0xa8de06(0x33a)](_0x45a459){const _0x38cae6=_0xa8de06;return this['_unitStatus'][_0x38cae6(0x3de)](_0x45a459)||this[_0x38cae6(0x3ab)][_0x38cae6(0x1f9)](_0x45a459,new _0x1e9e4e['BehaviorSubject'](_0x3c2922[_0x38cae6(0x3b7)][_0x38cae6(0x379)])),this[_0x38cae6(0x3ab)]['get'](_0x45a459);}}_0x2ad26e[_0xa8de06(0x236)]=_0x165cd6,_0x2ad26e[_0xa8de06(0x2f4)]=_0x160fa0,_0x2ad26e[_0xa8de06(0x37d)]=_0x2f0f3d,_0x2ad26e[_0xa8de06(0x427)]=_0x3e26c7,Object['defineProperty'](_0x2ad26e,Symbol[_0xa8de06(0x261)],{'value':_0xa8de06(0x185)});}));function _0x21d5(_0x15fa34,_0xae8786){_0x15fa34=_0x15fa34-0x17c;const _0x570285=_0x5702();let _0x21d545=_0x570285[_0x15fa34];return _0x21d545;}function _0x5702(){const _0x5a8df1=['setShapeProps','hide','textRanges','Plugin','pipe','SUCCESS','getCollabCursors$','clipPath','forEach','switchMap','REDEMPTION_CODE_FULLY_REDEEMED','_configService','_updateLocalCursor','getUnit','12mAApYY','DesktopCollaborationStatusDisplayController','permission.title','colorChannel1','_urlService','NodePositionConvertToCursor','generateRandomId','DeleteRangeMoveUpCommandId','isFormulaString','_logService','debug','InsertRangeMoveDownCommandId','FromArray','distinctUntilChanged','_getAnchorBounding','getMemberID','startColumn','cursorInfo$','releaseFormulaLimitUrl','_cursorInfo$','@univerjs-pro/collaboration','_httpService','_docSkeletonManagerService','next','_saveTaskMap','beforeCommandExecuted','...','_hasFormulaInDirtyRanges','stringify','_color','on-line-icon_clip0_910_349','pushState','key','@univerjs/docs','show','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','OFFLINE','replaceState','SetFormulaCalculationNotificationMutation','values','off-line-icon_clip0_910_343','search','DocIMEInputManagerService','sessionTicket','CollaborationSessionService','[Window\x20Error]:\x20','REDEMPTION_USER_NOT_ELIGIBLE','SheetCollabCursorShape','_localStorageService','range','IMessageService','getRelativeToViewportCoord','focused$','_startCalculationLimit','getOwnPropertyDescriptor','collabStatus.notCollab','catch','error','UNRECOGNIZED','onMouseMove','requireSession','Failed','CollaborationEvent','round','_initCommandInterceptor','row','_onCursorDelete','_initDependencies','removeEventListener','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','isArray','getCoordByCell','_cursor','displayName','_scene','UniverProCollaborationClient','_drawAnchor','handleInsertRangeMoveDown','ENTITLE_CHAT_LIMIT_EXCEED','_status$','beginPath','fromEventSubject','UNDEFINED','newValue','unitId','6UlpjfS','symbol','Unknown\x20user','all','delete','_instanceService','runOnServer','collaboration.single-unit.warning','_registerRenderDependencies','isFormulaId','getItem','invokeId','_registerDependencies','_getMergeRange','_removeClearOtherTimer','path','some','message','Warning','getSheetId','makeDirty','ONLINE','_scheduleSaving','url(#on-line-icon_clip0_910_349)','@univerjs/drawing','jsxs','url(#off-line-icon_clip0_910_343)','sheetId','registerRefRange','use','DocSelectionManagerService','collaboration.closeRoom','_ensureSubject','Success','ENTITLE_COUPON_EXPIRED','NOT_COLLAB','MOBILE_VERIFY_CODE_MISMATCH','functionsExecutedState','onCommandExecuted','Loading','PENDING','colno','_initUserListener','updateOfflineData','isEditing','wsSessionTicketUrl','collab-text-anchor-','Error','_onCursorUpdate','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_memberService','eventID','saveTaskMap','UNAUTHENTICATED','mutations','getSheetBySheetId','executeCommand','_docSkeleton','929520WvCeHJ','_getSheetObject','CollaborationStatus','_memberID','@univerjs/sheets-ui','bottom','DisposableCollection','handleIRemoveCol','getRenderById','APPLY_PERMISSION_DENIED','doc.mutation.rich-text-editing','YUUMI_SUBSCRIPTION_NOT_FOUND','enableLocalCache','includes','CLOSE_ROOM','_context','Injector','_sheetSkeletonManagerService','_id','_handleHeartbeatEvent','_initStatusListener','transformMutationsWithChangeset','ENTITLE_USE_COUPON_NOT_1ST_TRADE','DEFAULT_WS_SESSION_TICKET_URL','SheetSkeletonManagerService','formula.calculation.unable','TEXT','setParam','length','ERROR_AGAIN','IDocClipboardService','getUnitStatus$','registerRenderModule','CommandType','OTHER_CLIENT_EDITING','_collaborationSessionService','_config','NO_OTHER_CLIENTS_EDITING','NOT_FOUND','dispose$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','WebBrowserSingleActiveUnitService','ISocketService','ENTITLE_REPORT_LIMIT_EXCEED','_initEntityListener','location','collaboration-client-ui.config','@univerjs/ui','_uploadLog','collabCursorState$','118646iqHQzp','HEADER_MENU','amd','_setFormulaLimitStatus','CollaborationUIEventId','createSocket','href','init','from','UniverEngineRender','Disposable','now','push','APPLY_REVISION_CONFILICT','currentTheme$','getCurrentUnitForType','size','source','unit','0\x200\x2017\x2016','_transformPreviousActiveRange','getActiveSheet','@univerjs/core','SUBMIT_CHANGESET_TIMEOUT','mask','SetWorksheetActivateCommand','_anchor','handleMoveRange','function','pluginName','createElement','storage','reason','asObservable','getCollabEntity$','SNAPSHOT_HAS_BEEN_REMOVED','none','_unitStatus','setConfig','_collabSessionService','_colorIndex','@univerjs/sheets','jsx','_refreshCollabCursors','IBeforeCloseService','USER_NOT_FOUND','[LogService\x20Error]:\x20','throttleTime','collab-text-range-','UnitStatus','transformStateCache','setAlpha','_drawTextRange','formula.calculation.started','_imageIoService','debounceTime','imageSourceType','unitID','_currentUsage','children','handleDeleteRangeMoveUp','combineLatest','toString','maxFormulaLimit','runId','yellow.400','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','map','get','SOCKET_FAILED_RETRY','_hovered','LICENSE_DISTRO_REJECTED','_initUnhandledRejectionListener','getDocRanges','with','_getSaveTimeout','_removeCollabCursors','moveTo','_clearPolling','_transformUndoRedoStack','getValue','OnLineIcon','_docTransformIMECacheService','addHandlerCallback','backgroundColor','rxjs/operators','_textBubble','skeleton','has','onPointerLeave$','filter','width','saveImage','transformMutation','_checkAndWaitForCalculationPermission','SYNCED','getCurrentRevOfUnit','getUndoRedoMutationParamsCache','getUnitId','toDisposable','activeSheet$','socket$','touchDependencies','shareReplay','VIEW_MAIN','evenodd','_onRefRangeChange','YUUMI_NO_CUBOID_FOR_QUESTION','complete','_labelPosition','PAYMENT_CHANNEL_NOT_SUPPORT','_collaborationController','useDependency','transformRemoteChangeset','dirtyRanges','collabStatus.offline','useCallback','/universer-api/license/formula/limit/done','roomMembers$','roomMembers','clsx','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','deserializeRangeWithSheet','resize','ENTITLE_INVALID_COUPON_CODE','_refRangeService','redoState','string','history','getCellMatrix','Tools','_docClipboardService','ITransformService','getTypeOfUnitAdded$','getOffsetConfig','_maxFormulaLimit','UNIVER_DOC','Workbook','DATA_SOURCE_TOO_LARGE','AWAITING','_cursors','REDEMPTION_CODE_INACTIVE','http://www.w3.org/2000/svg','_toggleOnline','_getScale','_showGuardMessage','disposeWithMe','fill','PY_RUNTIME_SCRIPT_ERROR','unload','EffectRefRangId','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','_cursorShapes','lineno','m2Prime','REDEMPTION_CODE_HAS_BEEN_CREATED','_collabCursorState$','MoveRangeCommandId','addObjects','fillText','WebURLService','merge','loadOfflineData','UniverDrawing','_transformHistoryAndStateStack','setStateCache','entries','_createSocketURL','AUTHORIZE_CODE_ILLEGAL','saveOfflineData','getColorFromTheme','COLORS','_initCommandExecutedListener','LOCAL_CACHE_INTERVAL_KEY','_init','div','496kXyHMg','_saveCache','mapTo','send','RemoteUniscriptService','connectInjector','_startDocCollabCursor','IImageIoService','_applyCommand','_collabCursorController','UniverIcon','getSkeleton','memberID','INVITE_CODE_HAS_BEEN_UES','whenReady','Subject','searchParams','defs','PERMISSION_DENIED','currentSkeleton$','_unitOnClients','getAncestorScale','SNAPSHOT_INVALID_SNAPSHOT','limitInfo','getActiveRange','attrs','split','registerComponent','DependentOn','CollaborationController','exports','_hover','black','closePath','replace','USER_IS_ANONYMOUS','LOGIN_TOKEN_PROCESSING_FAILED','addEventListener','defineProperty','TOO_MANY_REQUESTS','YUUMI_AI_RUN_FAILED','UniverDocsUi','session.collaboration-timeout','_initStatusComponent','@univerjs/engine-formula','setActiveRange','getCurrent','@univerjs/engine-render','YUUMI_UNABLE_LOAD_URL','setTimeout','arc','startRow','react/jsx-runtime','_startSheetCollabCursor','RECT','getLocalCacheKey','SheetsSelectionsService','getRangePointData','assignAColorForMemberID','AWAITING_WITH_PENDING','isTransformMutationsWithChangesetSuccess','6857389vpafGD','Module','DataLoaderService','subunit','ThemeService','APPLY_DUPLICATED','_monkeyPatchLogService','RevisionService','UniverNetwork','?taskId=','MemberService','BrowserCollaborationSocketService','_send','REDEMPTION_INVALID_CODE','ENTITLE_NEED_BILLING_ADDRESS','UniverInstanceType','bind','_getSessionTicket','_selfUnitIDs','_commandService','_transformService','_handleHover','transform','contains','popstate','trim','purple.300','substring','_pollingInterval','measureText','undoState','_lastResponseTimestamp','getUnhiddenWorksheets','_initEvent','body','_notificationService','_localeService','_docSyncEditingCollabCursorService','_hideTimer','COMPLETION_FINISHED','TEXT_RANGE_LAYER_INDEX','_docTransformSelectionsService','fromEvent','_updateSubUnitFromURLParams','@univerjs/docs-ui','_anchorDot','_dataLoaderService','_online','WECHAT_HAS_BEEN_BOUND','createInstance','lineTo','FETCH_MISS','DocCollaborationEntity','currentUsage','LocaleService','YUUMI_RATE_OVER_LIMIT','ILocalStorageService','CONNECTOR_DATA_TOO_LARGE','_scheduleHeartbeat','3vUXLXv','reconnect','DOC_RANGE_TYPE','unshift','UniverDocs','totalFormulasToCalculate','_cachedData','mergeOverrideWithDependencies','getColor','_messageService','handleInsertRangeMoveRight','UniverCore','takeUntil','fillStyle','isActive','handleInsertRow','UniverSheetsUi','UniverCollaborationClientUIPlugin','stageInfo','/universer-api/frontend/logs','_disabled','ISnapshotServerService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','shift','fillRule','/universer-api/license/formula/limit/start','_colorAssignService','code','RxDisposable','_revisionService','rxjs','_updateCollabCursors','USER_NOT_INVITED_CODE','HTTPService','onTransformChange$','_handleEvent','_injector','MessageType','xlink:href','getSheetObject','Tooltip','ColorKit','ACTIVE_UNIT_EVENT_CHANNEL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','EMAIL_HAS_BEEN_BOUND','UniverCollaborationClientPlugin','getUniverSheetInstance','/run/','min','NodePositionConvertToRectRange','1491170BhpkIQ','_backgroundColor','_docTransformStateCacheService','setItem','ranges','transformSelections','_toggleOffline','UniverUi','set','EMAIL_VERIFY_CODE_MISMATCH','_heartbeatTimer','17668VNPoNq','LOCAL_CACHE_INTERVAL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_scheduleClearOtherTimer','font','getParam','handleIRemoveRow','0\x200\x2016\x2016','subscribeEvent','urlChange$','assign','_clearOtherTimers','dispose','forwardRef','isTransformMutationFailure','Inject','univerjs-icon\x20univerjs-icon-','save','idSuffix','max','SessionStatus','hovered','Rect','actions','startFormulaLimitUrl','exhaustSavingTask','onPointerMove$','[CollaborationDataLoaderController]','then','_beforeCloseService','_render','IUniverInstanceService','m1Prime','ICommandService','UniverProCollaborationClientUi','getFocusedUnit','INVALID_ARGUMENT','_name','MUTATION','CURRENT_STATUS_CANNOT_OPERATE','sessionStatus$','_collaborationUIEventService','sheetID','syncEditingCollabCursor','_syncEditingCollabCursorService','_lastPointer','getMember','tag','height','YUUMI_URL_COL_OUT_OF_RANGE','override','_entityInit$','endColumn','_session','JOIN_ROOM_FAILED','_getFormulaLimitStatus','React','getConfig','IURLService','UniverProCollaboration','collabStatus.syncing','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','status$','CollaborationDataLoaderController','BehaviorSubject','join','unhandledrejection','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addObject','ALREADY_EXISTS','SetTextSelectionsOperation','_docStateChangeManagerService','debounce','blue.400','stack','disableLocalCache','_setupSubUnitSync','application/json','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','add','Optional','unsubscribe','CONFLICT','selections','INVITE_CODE_ALREADY_BOUND','ILocalCacheService','result','1508640NnwZDO','deepClone','_initWindowErrorListener','onStarting','data','_uiPartsService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','DeleteRangeMoveLeftCommandId','1em','ILogService','color','selection','registerBeforeClose','origin','toStringTag','url(#$1','INVALID_INVITE_CODE','_drawRectRange','DocStateChangeManagerService','YUUMI_ASYNCIO_CANCELLED','params','CollaborationUIEventService','editingUnit','collabStatus.synced','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_LEAVE','translate(.97)','UPDATE_CURSOR','clearTimeout','_roomMembers$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','name','findNodePositionByCharIndex','_univerInstanceService','cursorInfo','SetDocZoomRatioOperation','column','_range','_checkCalculationAvailable','UNIVER_SHEET','defIds','SetFormulaCalculationStartMutation','addClipboardHook','off-line-icon','InsertRangeMoveRightCommandId','collabStatus.fetchMiss','_releaseCalculationLimit','_draw','START_CALCULATION','endRow','CHANGESET_REVISION_CONFILICT','collab-client.tooltip.reconnect','REDEMPTION_CODE_NOT_STARTED','type','_shapes','toRgbString','LICENSE_IMPORT_SIZE_EXCEEDED','_taskIds','_doCreateSocket','@univerjs-pro/collaboration-client','_eventUnsubscribe','replaceDocRanges','_entities','_renderManagerService','286758FHhyrt','FormulaExecuteStageType','_updateURLWithCurrentState','useObservable','UniverEngineFormula','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','100kZHbgQ','getCurrentSelections','APPLY_REJECT','_setupBeforeClosingHandler','restore','onPointerEnter$','rgba(255,\x20255,\x20255,\x200.01)','ENTITLE_CAN_NOT_BUY_LOWER_OTP','Shape','labelPosition','post','session.will-retry','/universer-api/license/formula/limit/status','white','current','session.connection-failed','text','clearInterval','subscribe','_handleLeaveEvent','UniverRpc','event$','LICENSE_EXPORT_SIZE_EXCEEDED','drawWith','top','_initResize','OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','IConfigService','_themeService'];_0x5702=function(){return _0x5a8df1;};return _0x5702();}