@univerjs-pro/collaboration-client-ui 0.14.0-insiders.20251227-b250a8d → 0.15.0-insiders.20251227-dafc157

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 +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3ee58a,_0x20bf73){const _0x8144c3=_0x9ceb,_0x3c1f86=_0x3ee58a();while(!![]){try{const _0x4d485e=parseInt(_0x8144c3(0x371))/0x1+parseInt(_0x8144c3(0x3a4))/0x2+parseInt(_0x8144c3(0x3fe))/0x3+parseInt(_0x8144c3(0x2e1))/0x4+-parseInt(_0x8144c3(0x27a))/0x5*(-parseInt(_0x8144c3(0x2dd))/0x6)+parseInt(_0x8144c3(0x26c))/0x7*(-parseInt(_0x8144c3(0x248))/0x8)+-parseInt(_0x8144c3(0x320))/0x9;if(_0x4d485e===_0x20bf73)break;else _0x3c1f86['push'](_0x3c1f86['shift']());}catch(_0x4cf7d9){_0x3c1f86['push'](_0x3c1f86['shift']());}}}(_0x1fb5,0x99d9a),function(_0x4d4a84,_0x50713f){const _0x5cda00=_0x9ceb;typeof exports=='object'&&typeof module<'u'?_0x50713f(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==_0x5cda00(0x169)&&define[_0x5cda00(0x400)]?define([_0x5cda00(0x393),_0x5cda00(0x234),'@univerjs-pro/collaboration-client',_0x5cda00(0x29c),_0x5cda00(0x2d9),_0x5cda00(0x28d),'@univerjs/design',_0x5cda00(0x2b2),'@univerjs/rpc','@univerjs/sheets',_0x5cda00(0x245),_0x5cda00(0x162),_0x5cda00(0x41e),_0x5cda00(0x23e),_0x5cda00(0x29f),'@univerjs/docs',_0x5cda00(0x41b),_0x5cda00(0x3cb),_0x5cda00(0x2db)],_0x50713f):(_0x4d4a84=typeof globalThis<'u'?globalThis:_0x4d4a84||self,_0x50713f(_0x4d4a84[_0x5cda00(0x405)]={},_0x4d4a84['React'],_0x4d4a84['UniverProCollaborationClient'],_0x4d4a84[_0x5cda00(0x1c7)],_0x4d4a84[_0x5cda00(0x3f7)],_0x4d4a84[_0x5cda00(0x28d)],_0x4d4a84['UniverDesign'],_0x4d4a84[_0x5cda00(0x158)],_0x4d4a84[_0x5cda00(0x3bb)],_0x4d4a84['UniverSheets'],_0x4d4a84[_0x5cda00(0x22a)],_0x4d4a84[_0x5cda00(0x2fc)],_0x4d4a84[_0x5cda00(0x30d)],_0x4d4a84[_0x5cda00(0x25e)],_0x4d4a84[_0x5cda00(0x208)],_0x4d4a84['UniverDocs'],_0x4d4a84[_0x5cda00(0x28c)],_0x4d4a84[_0x5cda00(0x28d)][_0x5cda00(0x39c)],_0x4d4a84[_0x5cda00(0x154)]));}(this,function(_0x4f91bb,_0x3fb505,_0x41402f,_0x41608e,_0x6166b9,_0x163839,_0x3ec05e,_0x150f7a,_0x4c4cab,_0x5bba74,_0x59ca38,_0x12ee65,_0x32e209,_0x284e1e,_0x44a289,_0x39889c,_0x150f25,_0x1502db,_0x2c6e67){'use strict';const _0x1d54d9=_0x9ceb;var _0x5e597e=Object[_0x1d54d9(0x3e8)],_0x4d72e9=(_0x253d42,_0x5a15c4,_0xb64cd8)=>_0x5a15c4 in _0x253d42?_0x5e597e(_0x253d42,_0x5a15c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb64cd8}):_0x253d42[_0x5a15c4]=_0xb64cd8,_0x2af801=(_0x52911d,_0x5bc475,_0x3dfe35)=>_0x4d72e9(_0x52911d,typeof _0x5bc475!='symbol'?_0x5bc475+'':_0x5bc475,_0x3dfe35);function _0x1ad606({ref:_0x1e857b,..._0xfedd80}){const _0x19d828=_0x1d54d9,{icon:_0x211042,id:_0x2d1738,className:_0x323e0a,extend:_0x5afa5b,..._0x573a94}=_0xfedd80,_0x1e256e=('univerjs-icon\x20univerjs-icon-'+_0x2d1738+'\x20'+(_0x323e0a||''))[_0x19d828(0x268)](),_0x3c000b=_0x150f7a[_0x19d828(0x1aa)]('_'+_0x4a921e());return _0x59782e(_0x211042,''+_0x2d1738,{'defIds':_0x211042[_0x19d828(0x1de)],'idSuffix':_0x3c000b[_0x19d828(0x1ab)]},{'ref':_0x1e857b,'className':_0x1e256e,..._0x573a94},_0x5afa5b);}function _0x59782e(_0x331fda,_0xcbff2f,_0x1e5e0c,_0x386aca,_0xd7a9ef){const _0xbbb561=_0x1d54d9;return _0x150f7a[_0xbbb561(0x2f1)](_0x331fda[_0xbbb561(0x2aa)],{'key':_0xcbff2f,..._0xdfd8c9(_0x331fda,_0x1e5e0c,_0xd7a9ef),..._0x386aca},(_0x5b2e70(_0x331fda,_0x1e5e0c)[_0xbbb561(0x23c)]||[])['map']((_0x444729,_0x3ace1b)=>_0x59782e(_0x444729,_0xcbff2f+'-'+_0x331fda[_0xbbb561(0x2aa)]+'-'+_0x3ace1b,_0x1e5e0c,void 0x0,_0xd7a9ef)));}function _0xdfd8c9(_0x381abf,_0x585f2f,_0x3d40b5){const _0x1b5692=_0x1d54d9,_0x1a58d7={..._0x381abf[_0x1b5692(0x3a7)]};_0x3d40b5!=null&&_0x3d40b5[_0x1b5692(0x3ec)]&&_0x1a58d7[_0x1b5692(0x36a)]===_0x1b5692(0x3ec)&&(_0x1a58d7[_0x1b5692(0x36a)]=_0x3d40b5['colorChannel1']),_0x381abf[_0x1b5692(0x2aa)]==='mask'&&_0x1a58d7['id']&&(_0x1a58d7['id']=_0x1a58d7['id']+_0x585f2f[_0x1b5692(0x1cb)]),Object[_0x1b5692(0x423)](_0x1a58d7)[_0x1b5692(0x1d1)](([_0x431e85,_0x4454ff])=>{const _0x53f5b8=_0x1b5692;_0x431e85===_0x53f5b8(0x35f)&&typeof _0x4454ff=='string'&&(_0x1a58d7[_0x431e85]=_0x4454ff[_0x53f5b8(0x3da)](/url\(#(.*)\)/,'url(#$1'+_0x585f2f[_0x53f5b8(0x1cb)]+')'));});const {defIds:_0x236510}=_0x585f2f;return!_0x236510||_0x236510[_0x1b5692(0x15d)]===0x0||(_0x381abf[_0x1b5692(0x2aa)]===_0x1b5692(0x354)&&_0x1a58d7[_0x1b5692(0x386)]&&(_0x1a58d7[_0x1b5692(0x386)]=_0x1a58d7[_0x1b5692(0x386)]+_0x585f2f['idSuffix']),Object[_0x1b5692(0x423)](_0x1a58d7)['forEach'](([_0x4ed887,_0xbc337e])=>{const _0x1610c7=_0x1b5692;typeof _0xbc337e==_0x1610c7(0x24c)&&(_0x1a58d7[_0x4ed887]=_0xbc337e[_0x1610c7(0x3da)](/url\(#(.*)\)/,_0x1610c7(0x3b4)+_0x585f2f['idSuffix']+')'));})),_0x1a58d7;}function _0x5b2e70(_0x15a44b,_0x24c71a){const _0x2496d6=_0x1d54d9;var _0x5a00c0;const {defIds:_0x392f4b}=_0x24c71a;return!_0x392f4b||_0x392f4b[_0x2496d6(0x15d)]===0x0?_0x15a44b:_0x15a44b[_0x2496d6(0x2aa)]===_0x2496d6(0x2ee)&&((_0x5a00c0=_0x15a44b[_0x2496d6(0x23c)])!=null&&_0x5a00c0[_0x2496d6(0x15d)])?{..._0x15a44b,'children':_0x15a44b[_0x2496d6(0x23c)]['map'](_0xd9beea=>typeof _0xd9beea['attrs']['id']==_0x2496d6(0x24c)&&_0x392f4b&&_0x392f4b['includes'](_0xd9beea[_0x2496d6(0x3a7)]['id'])?{..._0xd9beea,'attrs':{..._0xd9beea[_0x2496d6(0x3a7)],'id':_0xd9beea[_0x2496d6(0x3a7)]['id']+_0x24c71a[_0x2496d6(0x1cb)]}}:_0xd9beea)}:_0x15a44b;}function _0x4a921e(){const _0x4ef1f2=_0x1d54d9;return Math[_0x4ef1f2(0x3a6)]()[_0x4ef1f2(0x2cd)](0x24)[_0x4ef1f2(0x224)](0x2,0x8);}_0x1ad606[_0x1d54d9(0x1d7)]='UniverIcon';const _0x11845f={'tag':_0x1d54d9(0x429),'attrs':{'xmlns':_0x1d54d9(0x3f2),'fill':_0x1d54d9(0x1ba),'viewBox':_0x1d54d9(0x319),'width':_0x1d54d9(0x1b8),'height':_0x1d54d9(0x1b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d54d9(0x31a)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1d54d9(0x362),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d54d9(0x2ee),'attrs':{},'children':[{'tag':_0x1d54d9(0x3c3),'attrs':{'id':_0x1d54d9(0x2c4)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'fill':_0x1d54d9(0x241),'d':_0x1d54d9(0x3df)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2d1bc9=_0x150f7a[_0x1d54d9(0x2cf)](function(_0x2fe67b,_0x3302af){const _0x22caa7=_0x1d54d9;return _0x150f7a[_0x22caa7(0x2f1)](_0x1ad606,Object['assign']({},_0x2fe67b,{'id':'off-line-icon','ref':_0x3302af,'icon':_0x11845f}));});_0x2d1bc9[_0x1d54d9(0x1d7)]=_0x1d54d9(0x402);const _0x3aaa51={'tag':_0x1d54d9(0x429),'attrs':{'xmlns':_0x1d54d9(0x3f2),'fill':'none','viewBox':_0x1d54d9(0x1d0),'width':_0x1d54d9(0x1b8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1d54d9(0x2c8)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'stroke':_0x1d54d9(0x39f),'d':_0x1d54d9(0x1cc),'strokeLinecap':_0x1d54d9(0x362),'strokeLinejoin':_0x1d54d9(0x362),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d54d9(0x301)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'fill':_0x1d54d9(0x241),'d':_0x1d54d9(0x3df),'transform':_0x1d54d9(0x35b)}}]}]}],'defIds':[_0x1d54d9(0x301)]},_0x403927=_0x150f7a[_0x1d54d9(0x2cf)](function(_0x3254ec,_0x2bde53){const _0x1b1d43=_0x1d54d9;return _0x150f7a[_0x1b1d43(0x2f1)](_0x1ad606,Object['assign']({},_0x3254ec,{'id':_0x1b1d43(0x210),'ref':_0x2bde53,'icon':_0x3aaa51}));});_0x403927['displayName']=_0x1d54d9(0x157);function _0x18b0d3(_0x3b2165){const _0x323286=_0x1d54d9;switch(_0x3b2165){case _0x41402f['CollaborationStatus'][_0x323286(0x1ac)]:return _0x323286(0x41d);case _0x41402f['CollaborationStatus']['CONFLICT']:return _0x323286(0x29b);case _0x41402f[_0x323286(0x1da)]['FETCH_MISS']:return _0x323286(0x242);case _0x41402f[_0x323286(0x1da)][_0x323286(0x267)]:return'collabStatus.notCollab';case _0x41402f['CollaborationStatus'][_0x323286(0x297)]:case _0x41402f[_0x323286(0x1da)][_0x323286(0x28e)]:return'collabStatus.syncing';case _0x41402f['CollaborationStatus'][_0x323286(0x226)]:case _0x41402f[_0x323286(0x1da)][_0x323286(0x427)]:return _0x323286(0x408);}}function _0x41f110(_0xf0ba4c){const _0x5792d8=_0x1d54d9,{status$:_0x20c1f3}=_0xf0ba4c,_0x157c54=_0x6166b9[_0x5792d8(0x24a)](_0x20c1f3,_0x41402f[_0x5792d8(0x1da)][_0x5792d8(0x267)]),_0x114cfc=_0x6166b9[_0x5792d8(0x258)](_0x41608e[_0x5792d8(0x377)]),_0x3de2dc=_0x6166b9[_0x5792d8(0x258)](_0x41402f[_0x5792d8(0x27b)]),_0x4cef91=_0x157c54!==_0x41402f[_0x5792d8(0x1da)]['OFFLINE'],_0x114dc8=_0x114cfc['t'](_0x18b0d3(_0x157c54)),_0x2ea350=_0x4cef91?_0x3fb505[_0x5792d8(0x3e5)](_0x403927,{}):_0x3fb505[_0x5792d8(0x3e5)](_0x2d1bc9,{}),_0x59e527=_0x150f7a[_0x5792d8(0x372)](()=>{_0x4cef91||_0x3de2dc['reconnect']();},[_0x4cef91,_0x3de2dc]);function _0x1dbd74(){const _0x53f0fd=_0x5792d8;return _0x3fb505[_0x53f0fd(0x2e8)](_0x53f0fd(0x350),{'className':_0x53f0fd(0x1d3),'onClick':_0x59e527,'children':[_0x3fb505[_0x53f0fd(0x3e5)]('div',{'className':_0x3ec05e[_0x53f0fd(0x32f)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4cef91,'univer-text-red-500':!_0x4cef91}),'children':_0x2ea350}),_0x3fb505[_0x53f0fd(0x3e5)](_0x53f0fd(0x350),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x114dc8})]});}return _0x4cef91?_0x1dbd74():_0x3fb505['jsx'](_0x3ec05e[_0x5792d8(0x207)],{'title':_0x114cfc['t'](_0x5792d8(0x16e)),'children':_0x1dbd74()});}var _0x12e612=Object[_0x1d54d9(0x369)],_0xd50a72=(_0x165da1,_0x10c7aa,_0x5c9047,_0xf6c51f)=>{const _0x5edf4d=_0x1d54d9;for(var _0x53a02d=_0xf6c51f>0x1?void 0x0:_0xf6c51f?_0x12e612(_0x10c7aa,_0x5c9047):_0x10c7aa,_0xa91466=_0x165da1[_0x5edf4d(0x15d)]-0x1,_0x16105d;_0xa91466>=0x0;_0xa91466--)(_0x16105d=_0x165da1[_0xa91466])&&(_0x53a02d=_0x16105d(_0x53a02d)||_0x53a02d);return _0x53a02d;},_0x4c1318=(_0x16b8d7,_0x1ad385)=>(_0x5a276d,_0x458778)=>_0x1ad385(_0x5a276d,_0x458778,_0x16b8d7);_0x4f91bb[_0x1d54d9(0x38f)]=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x40b60a,_0x21887a,_0x201288,_0x2a1e2c){const _0x1e48a1=_0x1d54d9;super(),_0x2af801(this,_0x1e48a1(0x412),new _0x163839[(_0x1e48a1(0x1c5))](_0x41402f[_0x1e48a1(0x1da)]['NOT_COLLAB'])),(this[_0x1e48a1(0x378)]=_0x40b60a,this['_injector']=_0x21887a,this[_0x1e48a1(0x209)]=_0x201288,this['_uiPartsService']=_0x2a1e2c,this['_initStatusComponent'](),this[_0x1e48a1(0x257)]());}['_initStatusListener'](){const _0x4082fc=_0x1d54d9;this[_0x4082fc(0x416)](this[_0x4082fc(0x378)]['focused$'][_0x4082fc(0x18b)](_0x163839[_0x4082fc(0x3ce)](()=>{const _0x189c50=_0x4082fc,_0x2b9335=this[_0x189c50(0x378)]['getFocusedUnit']();return _0x2b9335?this[_0x189c50(0x209)][_0x189c50(0x206)](_0x2b9335[_0x189c50(0x2e2)]()):_0x163839['of'](null);}),_0x163839[_0x4082fc(0x3ce)](_0x1fc0af=>_0x1fc0af?_0x1fc0af['status$']:_0x163839['of'](_0x41402f[_0x4082fc(0x1da)][_0x4082fc(0x267)])))[_0x4082fc(0x431)](_0x67b97e=>{const _0x304f7f=_0x4082fc;this['_status$'][_0x304f7f(0x34e)](_0x67b97e);}));}[_0x1d54d9(0x42d)](){const _0x4e6a4f=_0x1d54d9;this['disposeWithMe'](this[_0x4e6a4f(0x364)][_0x4e6a4f(0x193)](_0x6166b9[_0x4e6a4f(0x3ba)]['HEADER_MENU'],()=>_0x6166b9['connectInjector'](_0x31af36({'status$':this[_0x4e6a4f(0x412)]['asObservable']()}),this['_injector'])));}},_0x4f91bb[_0x1d54d9(0x38f)]=_0xd50a72([_0x4c1318(0x0,_0x41608e[_0x1d54d9(0x189)]),_0x4c1318(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x4c1318(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x404)])),_0x4c1318(0x3,_0x6166b9[_0x1d54d9(0x2d8)])],_0x4f91bb[_0x1d54d9(0x38f)]);function _0x31af36(_0x123824){const {status$:_0x578ea9}=_0x123824;return function(){const _0x55e361=_0x9ceb;return _0x3fb505[_0x55e361(0x3e5)](_0x41f110,{'status$':_0x578ea9});};}const _0x49794a=_0x41608e['createIdentifier'](_0x1d54d9(0x1a3));var _0x47b550=Object['getOwnPropertyDescriptor'],_0xcc2b4b=(_0x6e396b,_0x29cf94,_0x5d94fc,_0x2d4497)=>{const _0x4bda6a=_0x1d54d9;for(var _0x10491e=_0x2d4497>0x1?void 0x0:_0x2d4497?_0x47b550(_0x29cf94,_0x5d94fc):_0x29cf94,_0x2ec676=_0x6e396b[_0x4bda6a(0x15d)]-0x1,_0x2f85de;_0x2ec676>=0x0;_0x2ec676--)(_0x2f85de=_0x6e396b[_0x2ec676])&&(_0x10491e=_0x2f85de(_0x10491e)||_0x10491e);return _0x10491e;},_0x448f86=(_0x3bf85a,_0x1af869)=>(_0x1a7296,_0x328e94)=>_0x1af869(_0x1a7296,_0x328e94,_0x3bf85a);_0x4f91bb[_0x1d54d9(0x22b)]=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x5e720c,_0x4c6e84,_0x36491e,_0x569d64,_0x9ea135){const _0x2a3d4d=_0x1d54d9;super(),this[_0x2a3d4d(0x2b1)]=_0x5e720c,this[_0x2a3d4d(0x29d)]=_0x4c6e84,this[_0x2a3d4d(0x186)]=_0x36491e,this[_0x2a3d4d(0x3ff)]=_0x569d64,_0x9ea135?_0x9ea135==null||_0x9ea135[_0x2a3d4d(0x288)]()[_0x2a3d4d(0x336)](()=>this[_0x2a3d4d(0x37b)]()):(this[_0x2a3d4d(0x29d)][_0x2a3d4d(0x2b7)](_0x2a3d4d(0x315),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2a3d4d(0x37b)]());}async[_0x1d54d9(0x37b)](){const _0x53d469=_0x1d54d9,_0x99406c=this[_0x53d469(0x2b1)][_0x53d469(0x19c)]('unit'),_0x2acc62=this[_0x53d469(0x2b1)][_0x53d469(0x19c)](_0x53d469(0x1d2)),_0x1a6c36=this[_0x53d469(0x2b1)][_0x53d469(0x19c)]('subunit');if(!_0x99406c||!_0x2acc62){this[_0x53d469(0x29d)][_0x53d469(0x2b7)](_0x53d469(0x315),_0x53d469(0x290));return;}const _0x327f07=await this[_0x53d469(0x3ff)][_0x53d469(0x1ff)](_0x99406c,Number(_0x2acc62),_0x1a6c36);_0x327f07&&_0x327f07 instanceof _0x41608e['Workbook']&&this['_setupSubUnitSync'](_0x327f07);}async[_0x1d54d9(0x37d)](_0x1731c3){const _0x589559=_0x1d54d9;await this[_0x589559(0x381)](_0x1731c3),_0x1731c3[_0x589559(0x1e0)][_0x589559(0x18b)](_0x163839['takeUntil'](this[_0x589559(0x1bc)]))[_0x589559(0x431)](_0x29b483=>{_0x29b483&&this['_updateURLWithCurrentState'](_0x29b483);}),this[_0x589559(0x2b1)][_0x589559(0x1c3)][_0x589559(0x18b)](_0x163839[_0x589559(0x1e4)](this[_0x589559(0x1bc)]))[_0x589559(0x431)](()=>this[_0x589559(0x381)](_0x1731c3));}['_updateURLWithCurrentState'](_0x5b4a6f,_0x1198a9=!0x1){const _0x319bf7=_0x1d54d9,_0x4d84e6=this[_0x319bf7(0x2b1)][_0x319bf7(0x19c)](_0x319bf7(0x2e3));_0x5b4a6f[_0x319bf7(0x26b)]()!==_0x4d84e6&&this[_0x319bf7(0x2b1)]['setParam']('subunit',_0x5b4a6f[_0x319bf7(0x26b)](),_0x1198a9);}async[_0x1d54d9(0x381)](_0x79e57){const _0xa9b4f1=_0x1d54d9;var _0xa6f278;const _0x30e01d=this[_0xa9b4f1(0x2b1)][_0xa9b4f1(0x19c)](_0xa9b4f1(0x2e3));if(!_0x30e01d||!_0x79e57[_0xa9b4f1(0x28f)](_0x30e01d)){const _0x41cce0=_0x79e57['getUnhiddenWorksheets']()[0x0],_0x341db1=_0x79e57[_0xa9b4f1(0x28f)](_0x41cce0);if(!_0x341db1)return;this[_0xa9b4f1(0x1f6)](_0x341db1,!0x0),await this[_0xa9b4f1(0x186)]['executeCommand'](_0x5bba74[_0xa9b4f1(0x318)]['id'],{'unitId':_0x79e57[_0xa9b4f1(0x2e2)](),'subUnitId':_0x41cce0});return;}((_0xa6f278=_0x79e57['getActiveSheet']())==null?void 0x0:_0xa6f278['getSheetId']())!==_0x30e01d&&await this[_0xa9b4f1(0x186)][_0xa9b4f1(0x39b)](_0x5bba74['SetWorksheetActivateCommand']['id'],{'unitId':_0x79e57[_0xa9b4f1(0x2e2)](),'subUnitId':_0x30e01d});}},_0x4f91bb[_0x1d54d9(0x22b)]=_0xcc2b4b([_0x448f86(0x0,_0x49794a),_0x448f86(0x1,_0x41608e[_0x1d54d9(0x1dc)]),_0x448f86(0x2,_0x41608e[_0x1d54d9(0x417)]),_0x448f86(0x3,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x247)])),_0x448f86(0x4,_0x41608e['Optional'](_0x4c4cab['IRemoteInstanceService']))],_0x4f91bb[_0x1d54d9(0x22b)]);var _0x32cd8e=Object['getOwnPropertyDescriptor'],_0x9cde4b=(_0x5b5a2e,_0x31042f,_0x4d854a,_0x1e6a49)=>{const _0x21b0f3=_0x1d54d9;for(var _0x5cfe83=_0x1e6a49>0x1?void 0x0:_0x1e6a49?_0x32cd8e(_0x31042f,_0x4d854a):_0x31042f,_0x76f6cc=_0x5b5a2e[_0x21b0f3(0x15d)]-0x1,_0x2a6978;_0x76f6cc>=0x0;_0x76f6cc--)(_0x2a6978=_0x5b5a2e[_0x76f6cc])&&(_0x5cfe83=_0x2a6978(_0x5cfe83)||_0x5cfe83);return _0x5cfe83;},_0x2f6c82=(_0x5efe53,_0x186073)=>(_0x32c066,_0xf2d12d)=>_0x186073(_0x32c066,_0xf2d12d,_0x5efe53);let _0x7d3f8b=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x214296,_0x453683){const _0x5565ff=_0x1d54d9;super(),this[_0x5565ff(0x1f8)]=_0x214296,this[_0x5565ff(0x1fb)]=_0x453683,this[_0x5565ff(0x37b)]();}[_0x1d54d9(0x37b)](){const _0x2e64c2=_0x1d54d9,_0x521528=this;this[_0x2e64c2(0x416)](this['_docClipboardService'][_0x2e64c2(0x3cf)]({'onBeforePasteImage':async _0x190b53=>{const _0x1b4d5b=_0x2e64c2,_0x43775c=await _0x521528['_imageIoService'][_0x1b4d5b(0x2b4)](_0x190b53);return _0x43775c?{'source':_0x43775c['source'],'imageSourceType':_0x43775c['imageSourceType']}:null;}}));}};_0x7d3f8b=_0x9cde4b([_0x2f6c82(0x0,_0x32e209[_0x1d54d9(0x299)]),_0x2f6c82(0x1,_0x284e1e[_0x1d54d9(0x19f)])],_0x7d3f8b);const _0xda7e23=['purple.300',_0x1d54d9(0x3a3),_0x1d54d9(0x1bb),'red.300',_0x1d54d9(0x2ce),_0x1d54d9(0x33d)];class _0x1fb581 extends _0x41608e[_0x1d54d9(0x38a)]{constructor(){const _0x7fc94e=_0x1d54d9;super(...arguments),_0x2af801(this,'_assignedColors',new Map()),_0x2af801(this,_0x7fc94e(0x309),0x0);}['assignAColorForMemberID'](_0x193d20){const _0xe60339=_0x1d54d9;if(this[_0xe60339(0x2b9)][_0xe60339(0x41f)](_0x193d20))return this['_assignedColors'][_0xe60339(0x38e)](_0x193d20);const _0x4391e5=_0xda7e23[this[_0xe60339(0x309)]];return this['_colorIndex']=(this[_0xe60339(0x309)]+0x1)%_0xda7e23[_0xe60339(0x15d)],this[_0xe60339(0x2b9)][_0xe60339(0x3b7)](_0x193d20,_0x4391e5),_0x4391e5;}}function _0x40ed8c(_0x6e7da){let _0x310b5e='';for(const _0x33beaf of _0x6e7da){const {startOffset:_0x5a50f9,endOffset:_0x4c8591,isActive:_0x10d24a,rangeType:_0x398dfd,segmentId:_0x30b66f,segmentPage:_0x356bfa}=_0x33beaf;_0x310b5e['length']&&(_0x310b5e+=','),_0x310b5e+=_0x5a50f9+':'+_0x4c8591+':'+(_0x10d24a?'1':'0')+':'+_0x398dfd+':'+_0x30b66f+':'+_0x356bfa;}return _0x310b5e;}function _0x132a9d(_0x572160){const _0x2707fd=_0x1d54d9,_0x229af5=_0x572160[_0x2707fd(0x332)](','),_0x154ce2=[];for(const _0x429fc3 of _0x229af5){const [_0x57df21,_0x2e4062,_0x10ff77,_0x3304e6,_0x2173f2,_0x1f0350]=_0x429fc3[_0x2707fd(0x332)](':');_0x154ce2['push']({'startOffset':Number(_0x57df21),'endOffset':Number(_0x2e4062),'collapsed':_0x57df21===_0x2e4062,'isActive':_0x10ff77==='1','rangeType':_0x3304e6===_0x41608e['DOC_RANGE_TYPE']['TEXT']?_0x41608e[_0x2707fd(0x202)][_0x2707fd(0x3b2)]:_0x41608e[_0x2707fd(0x202)][_0x2707fd(0x1f1)],'segmentId':typeof _0x2173f2=='string'?String(_0x2173f2):'','segmentPage':Number(_0x1f0350!=null?_0x1f0350:-0x1)});}return _0x154ce2[_0x2707fd(0x214)](_0x2ad2c=>_0x2ad2c[_0x2707fd(0x312)])||(_0x154ce2[0x0][_0x2707fd(0x312)]=!0x0),_0x154ce2;}class _0x1b17e2 extends _0x41608e[_0x1d54d9(0x3be)]{constructor(){const _0x15b97e=_0x1d54d9;super(...arguments),_0x2af801(this,_0x15b97e(0x255),new _0x163839[(_0x15b97e(0x1c5))](null)),_0x2af801(this,_0x15b97e(0x352),this[_0x15b97e(0x255)][_0x15b97e(0x225)]());}['syncEditingCollabCursor'](_0x3f5368){const _0x36c823=_0x1d54d9,{unitID:_0x5355c0,memberID:_0x506f89,textRanges:_0xbbf8af}=_0x3f5368,_0x55bada=_0x40ed8c(_0xbbf8af);if(_0x55bada==='')return;const _0x5d923c={'unitID':_0x5355c0,'memberID':_0x506f89,'selection':_0x55bada};this[_0x36c823(0x255)][_0x36c823(0x34e)](_0x5d923c);}}var _0x27de1e=Object[_0x1d54d9(0x369)],_0x511744=(_0x4372eb,_0x38451a,_0xadc578,_0x2c3754)=>{const _0x93f9fa=_0x1d54d9;for(var _0x3b9260=_0x2c3754>0x1?void 0x0:_0x2c3754?_0x27de1e(_0x38451a,_0xadc578):_0x38451a,_0x12c13d=_0x4372eb[_0x93f9fa(0x15d)]-0x1,_0xb30893;_0x12c13d>=0x0;_0x12c13d--)(_0xb30893=_0x4372eb[_0x12c13d])&&(_0x3b9260=_0xb30893(_0x3b9260)||_0x3b9260);return _0x3b9260;},_0x32aa2a=(_0x1f9739,_0x1e0709)=>(_0x5d0dc6,_0x185c52)=>_0x1e0709(_0x5d0dc6,_0x185c52,_0x1f9739);const _0x53a966=0x12c,_0x1cb063=0x64;let _0x1c0d99=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x1467be,_0x13224b,_0x102b41,_0x17378d,_0xd66659,_0x193803,_0x2b891a,_0x2b616a,_0x388c53){const _0x2b6f12=_0x1d54d9;super(),_0x2af801(this,_0x2b6f12(0x339),!0x1),_0x2af801(this,'_init',!0x1),_0x2af801(this,_0x2b6f12(0x20f),new _0x163839[(_0x2b6f12(0x1c5))](new Map())),_0x2af801(this,_0x2b6f12(0x36f),this[_0x2b6f12(0x20f)][_0x2b6f12(0x225)]()),_0x2af801(this,_0x2b6f12(0x203),new _0x163839[(_0x2b6f12(0x1c5))]([])),_0x2af801(this,_0x2b6f12(0x3d5),this[_0x2b6f12(0x203)][_0x2b6f12(0x18b)](_0x163839[_0x2b6f12(0x14d)](_0x53a966))),_0x2af801(this,_0x2b6f12(0x37a),_0x41608e[_0x2b6f12(0x3de)](_0x40bbf7=>{const _0x3487f2=_0x2b6f12,_0x3f1160={'eventID':_0x44a289[_0x3487f2(0x2dc)][_0x3487f2(0x236)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3487f2(0x32c)](),'selection':_0x40ed8c(_0x40bbf7)}};this[_0x3487f2(0x2c9)][_0x3487f2(0x15a)](_0x3f1160,this[_0x3487f2(0x187)]);},_0x1cb063)),(this['unitID']=_0x1467be,this[_0x2b6f12(0x2c9)]=_0x13224b,this['_injector']=_0x102b41,this['_colorAssignService']=_0x17378d,this[_0x2b6f12(0x260)]=_0xd66659,this[_0x2b6f12(0x273)]=_0x193803,this['_transformService']=_0x2b891a,this['_univerInstanceService']=_0x2b616a,this[_0x2b6f12(0x186)]=_0x388c53);}get[_0x1d54d9(0x175)](){const _0x56b3e6=_0x1d54d9;return this[_0x56b3e6(0x20f)][_0x56b3e6(0x1e2)]();}get[_0x1d54d9(0x3dd)](){const _0x50a8f3=_0x1d54d9;return this['_roomMembers$'][_0x50a8f3(0x1e2)]();}['dispose'](){const _0xa6cb4d=_0x1d54d9;super[_0xa6cb4d(0x14a)](),this['_cursorInfo$'][_0xa6cb4d(0x34e)](new Map()),this[_0xa6cb4d(0x20f)][_0xa6cb4d(0x368)](),this[_0xa6cb4d(0x203)][_0xa6cb4d(0x34e)]([]),this[_0xa6cb4d(0x203)]['complete']();}[_0x1d54d9(0x36e)](){const _0x4c323c=_0x1d54d9;this['_init']||(this['_init']=!0x0,this[_0x4c323c(0x2c9)][_0x4c323c(0x2a9)][_0x4c323c(0x18b)](_0x163839[_0x4c323c(0x1e4)](this[_0x4c323c(0x1bc)]))[_0x4c323c(0x431)](_0x1852cb=>{const _0x435736=_0x4c323c;_0x1852cb===_0x41402f['SessionStatus'][_0x435736(0x3e1)]?this[_0x435736(0x333)]():this['_toggleOffline']();}),this[_0x4c323c(0x2c9)][_0x4c323c(0x25d)][_0x4c323c(0x18b)](_0x163839['takeUntil'](this[_0x4c323c(0x1bc)]))[_0x4c323c(0x431)](_0x2a2c44=>{const _0xfbb4d1=_0x4c323c,_0x2f4227=_0x2a2c44[_0xfbb4d1(0x291)];_0x2f4227===_0x44a289[_0xfbb4d1(0x2dc)][_0xfbb4d1(0x236)]&&this[_0xfbb4d1(0x37c)](_0x2a2c44),_0x2f4227===_0x44a289[_0xfbb4d1(0x2dc)][_0xfbb4d1(0x3d8)]&&this['_onCursorDelete'](_0x2a2c44);}),this[_0x4c323c(0x416)](this[_0x4c323c(0x186)]['onCommandExecuted'](_0x3dd18d=>{const _0x1e885b=_0x4c323c,_0x4e92cd=_0x3dd18d[_0x1e885b(0x373)];_0x4e92cd!=null&&this[_0x1e885b(0x339)]&&_0x3dd18d['id']===_0x39889c[_0x1e885b(0x2e6)]['id']&&_0x4e92cd[_0x1e885b(0x216)]===this[_0x1e885b(0x187)]&&_0x4e92cd[_0x1e885b(0x329)]===!0x1&&_0x4e92cd[_0x1e885b(0x3cc)][_0x1e885b(0x15d)]>0x0&&this[_0x1e885b(0x37a)](_0x4e92cd[_0x1e885b(0x3cc)]);})),this[_0x4c323c(0x273)]['collabCursorState$'][_0x4c323c(0x18b)](_0x163839['takeUntil'](this[_0x4c323c(0x1bc)]))['subscribe'](_0x256cfe=>{const _0x3b6976=_0x4c323c;if((_0x256cfe==null?void 0x0:_0x256cfe[_0x3b6976(0x187)])!==this[_0x3b6976(0x187)])return;const _0x42184e={'eventID':_0x44a289[_0x3b6976(0x2dc)][_0x3b6976(0x236)],'data':_0x256cfe};this[_0x3b6976(0x37c)](_0x42184e);}),this[_0x4c323c(0x416)](this[_0x4c323c(0x186)][_0x4c323c(0x415)](_0x473930=>{const _0x5a708e=_0x4c323c;if(_0x473930['params']==null)return;const _0x5a6b5f=_0x473930[_0x5a708e(0x373)];if(_0x473930['id']!==_0x39889c[_0x5a708e(0x250)]['id']||_0x5a6b5f['unitId']!==this[_0x5a708e(0x187)])return;const _0x3aa5dd={'id':_0x5a708e(0x167),'params':_0x5a6b5f},_0x4f88f4=this['cursorInfo'];for(const [_0x4e4cf1,_0x2b3f98]of _0x4f88f4){const _0x5c6236={'id':_0x5a708e(0x167),'params':{'unitId':this[_0x5a708e(0x187)],'actions':null,'textRanges':_0x2b3f98[_0x5a708e(0x3cc)]}},_0x3e6c6b=this[_0x5a708e(0x3f1)]['transformMutation'](_0x3aa5dd,_0x5c6236,!0x1);if(_0x44a289[_0x5a708e(0x285)](_0x3e6c6b))throw _0x3e6c6b[_0x5a708e(0x22c)];_0x4f88f4['set'](_0x4e4cf1,{..._0x2b3f98,'ranges':_0x3e6c6b[_0x5a708e(0x1b7)][_0x5a708e(0x373)][_0x5a708e(0x2ad)]});}queueMicrotask(()=>{const _0x4f4a6c=_0x5a708e;this['_cursorInfo$'][_0x4f4a6c(0x34e)](_0x4f88f4);});})));}['_onCursorUpdate'](_0x477213){const _0x2a2b25=_0x1d54d9;var _0x428d5b,_0x47638f;const {memberID:_0x496456,selection:_0x304ef7}=_0x477213[_0x2a2b25(0x2d1)],_0x48124b=_0x132a9d(_0x304ef7),_0x4af1f0=(_0x47638f=(_0x428d5b=this[_0x2a2b25(0x260)][_0x2a2b25(0x280)](this['unitID'],_0x496456))==null?void 0x0:_0x428d5b['name'])!=null?_0x47638f:_0x2a2b25(0x388),_0x262af1={'color':this['_colorAssignService'][_0x2a2b25(0x3f6)](_0x496456),'name':_0x4af1f0,'ranges':_0x48124b},_0x462976=this['cursorInfo'];_0x462976[_0x2a2b25(0x3b7)](_0x496456,_0x262af1),this[_0x2a2b25(0x20f)]['next'](_0x462976);}[_0x1d54d9(0x310)](_0x12341c){const _0x39c784=_0x1d54d9,{memberID:_0x5f5b61}=_0x12341c[_0x39c784(0x2d1)],_0x393712=this[_0x39c784(0x175)];_0x393712[_0x39c784(0x35c)](_0x5f5b61),this[_0x39c784(0x20f)][_0x39c784(0x34e)](_0x393712);}[_0x1d54d9(0x333)](){const _0x414fd4=_0x1d54d9;var _0x15c455;if(this[_0x414fd4(0x339)]=!0x0,((_0x15c455=this[_0x414fd4(0x378)][_0x414fd4(0x353)]())==null?void 0x0:_0x15c455[_0x414fd4(0x2e2)]())!==this[_0x414fd4(0x187)])return;const _0x18fdb6=this[_0x414fd4(0x3e0)]['get'](_0x39889c[_0x414fd4(0x3a5)])[_0x414fd4(0x3b0)]();Array[_0x414fd4(0x3a0)](_0x18fdb6)&&_0x18fdb6[_0x414fd4(0x15d)]>0x0&&this[_0x414fd4(0x37a)](_0x18fdb6);}[_0x1d54d9(0x360)](){this['_online']=!0x1;}};_0x1c0d99=_0x511744([_0x32aa2a(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41608e['Injector'])),_0x32aa2a(0x3,_0x41608e['Inject'](_0x1fb581)),_0x32aa2a(0x4,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x365)])),_0x32aa2a(0x5,_0x41608e[_0x1d54d9(0x227)](_0x1b17e2)),_0x32aa2a(0x6,_0x44a289[_0x1d54d9(0x35d)]),_0x32aa2a(0x7,_0x41608e['IUniverInstanceService']),_0x32aa2a(0x8,_0x41608e['ICommandService'])],_0x1c0d99);var _0x5108d1=Object['getOwnPropertyDescriptor'],_0x2286ad=(_0x157e5e,_0x263467,_0x34576a,_0x332014)=>{const _0x4d79ee=_0x1d54d9;for(var _0xefd1a9=_0x332014>0x1?void 0x0:_0x332014?_0x5108d1(_0x263467,_0x34576a):_0x263467,_0x2f7954=_0x157e5e[_0x4d79ee(0x15d)]-0x1,_0x18bd13;_0x2f7954>=0x0;_0x2f7954--)(_0x18bd13=_0x157e5e[_0x2f7954])&&(_0xefd1a9=_0x18bd13(_0xefd1a9)||_0xefd1a9);return _0xefd1a9;},_0x4255f6=(_0x14efb4,_0x21ab4d)=>(_0xe8a3df,_0x4fc33e)=>_0x21ab4d(_0xe8a3df,_0x4fc33e,_0x14efb4);const _0x3179db=0x12c,_0x445ace=0x64,_0xdae86e=()=>{let _0x41418d=[],_0x3fb074=!0x1;return _0x3cc8f0=>{const _0x352287=_0x9ceb;_0x41418d[_0x352287(0x3dc)](_0x3cc8f0),_0x3fb074||(_0x3fb074=!0x0,setTimeout(()=>{const _0x1fe0ce=_0x352287;_0x41418d[_0x1fe0ce(0x1d1)](_0x1b5c86=>_0x1b5c86()),_0x41418d=[],_0x3fb074=!0x1;}));};};let _0x5cfeed=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x5b1c7c,_0x46e1cf,_0x290217,_0x96dff2,_0xbc857b,_0x7fc0bd,_0x38cf42,_0x4a62a5){const _0x567420=_0x1d54d9;super(),_0x2af801(this,'_online',!0x1),_0x2af801(this,'_init',!0x1),_0x2af801(this,_0x567420(0x20f),new _0x163839[(_0x567420(0x1c5))](new Map())),_0x2af801(this,'cursorInfo$',this['_cursorInfo$'][_0x567420(0x225)]()),_0x2af801(this,_0x567420(0x203),new _0x163839[(_0x567420(0x1c5))]([])),_0x2af801(this,_0x567420(0x3d5),this[_0x567420(0x203)][_0x567420(0x18b)](_0x163839[_0x567420(0x14d)](_0x3179db))),_0x2af801(this,_0x567420(0x37a),_0x41608e['debounce']((_0x57de20,_0x5032ab)=>{const _0x143b2f=_0x567420,_0x360362={'eventID':_0x44a289['CollaborationEvent'][_0x143b2f(0x236)],'data':{'unitID':this['unitID'],'memberID':this[_0x143b2f(0x2c9)][_0x143b2f(0x32c)](),'selection':_0x150f25[_0x143b2f(0x3fc)](_0x57de20,_0x5032ab[_0x143b2f(0x1ed)])}};this[_0x143b2f(0x2c9)]['send'](_0x360362,this[_0x143b2f(0x187)]);},_0x445ace)),(this['unitID']=_0x5b1c7c,this[_0x567420(0x2c9)]=_0x46e1cf,this[_0x567420(0x3e0)]=_0x290217,this[_0x567420(0x3b8)]=_0x96dff2,this[_0x567420(0x260)]=_0xbc857b,this[_0x567420(0x378)]=_0x7fc0bd,this['_commandService']=_0x38cf42,this[_0x567420(0x3d7)]=_0x4a62a5);}get['cursorInfo'](){const _0x2028f2=_0x1d54d9;return this[_0x2028f2(0x20f)][_0x2028f2(0x1e2)]();}get['roomMembers'](){const _0x44ae8e=_0x1d54d9;return this[_0x44ae8e(0x203)][_0x44ae8e(0x1e2)]();}[_0x1d54d9(0x14a)](){const _0x1fe48a=_0x1d54d9;super['dispose'](),this['_cursorInfo$'][_0x1fe48a(0x34e)](new Map()),this['_cursorInfo$'][_0x1fe48a(0x368)](),this['_roomMembers$'][_0x1fe48a(0x34e)]([]),this[_0x1fe48a(0x203)]['complete']();}[_0x1d54d9(0x36e)](){const _0x2736da=_0x1d54d9;this[_0x2736da(0x37b)]||(this[_0x2736da(0x37b)]=!0x0,this[_0x2736da(0x2c9)][_0x2736da(0x2a9)][_0x2736da(0x18b)](_0x163839[_0x2736da(0x1e4)](this['dispose$']))[_0x2736da(0x431)](_0x4e813f=>{const _0xfe0b38=_0x2736da;_0x4e813f===_0x41402f['SessionStatus'][_0xfe0b38(0x3e1)]?this[_0xfe0b38(0x333)]():this['_toggleOffline']();}),this[_0x2736da(0x2c9)][_0x2736da(0x25d)][_0x2736da(0x18b)](_0x163839[_0x2736da(0x1e4)](this[_0x2736da(0x1bc)]))[_0x2736da(0x431)](_0x5ceff1=>{const _0x373d7a=_0x2736da,_0x376280=_0x5ceff1[_0x373d7a(0x291)];_0x376280===_0x44a289['CollaborationEvent'][_0x373d7a(0x236)]&&this[_0x373d7a(0x37c)](_0x5ceff1),_0x376280===_0x44a289[_0x373d7a(0x2dc)][_0x373d7a(0x3d8)]&&this[_0x373d7a(0x310)](_0x5ceff1);}),this['_onRefRangeChange'](),this[_0x2736da(0x416)](this['_commandService'][_0x2736da(0x415)](_0x4ea4bc=>{const _0x3689c7=_0x2736da;if(this[_0x3689c7(0x339)]&&_0x4ea4bc['id']===_0x5bba74['SetSelectionsOperation']['id']&&_0x4ea4bc['params'][_0x3689c7(0x216)]===this[_0x3689c7(0x187)]){const _0x7d6fbb=_0x4ea4bc[_0x3689c7(0x373)];this[_0x3689c7(0x37a)](_0x7d6fbb[_0x3689c7(0x3c1)],_0x7d6fbb[_0x3689c7(0x3a9)][0x0]);}})));}[_0x1d54d9(0x37c)](_0x181a4a){const _0x19a39c=_0x1d54d9;var _0x1621c7,_0x575f77;const {memberID:_0x378223,selection:_0x5b20eb}=_0x181a4a[_0x19a39c(0x2d1)],{sheetName:_0x45ff6a,range:_0x14eb26}=_0x150f25[_0x19a39c(0x2eb)](_0x5b20eb),_0x3c9599={'name':(_0x575f77=(_0x1621c7=this[_0x19a39c(0x260)][_0x19a39c(0x280)](this[_0x19a39c(0x187)],_0x378223))==null?void 0x0:_0x1621c7['name'])!=null?_0x575f77:_0x19a39c(0x388),'range':this[_0x19a39c(0x424)](_0x45ff6a,_0x14eb26),'sheetID':_0x45ff6a,'color':this[_0x19a39c(0x3b8)][_0x19a39c(0x3f6)](_0x378223),'selection':_0x5b20eb},_0x4d3b8c=this[_0x19a39c(0x175)];_0x4d3b8c['set'](_0x378223,_0x3c9599),this['_cursorInfo$']['next'](_0x4d3b8c);}[_0x1d54d9(0x310)](_0x49a445){const _0x52a52f=_0x1d54d9,{memberID:_0x4a841b}=_0x49a445['data'],_0x9192d4=this[_0x52a52f(0x175)];_0x9192d4['delete'](_0x4a841b),this['_cursorInfo$'][_0x52a52f(0x34e)](_0x9192d4);}[_0x1d54d9(0x424)](_0x3385e6,_0x150369){const _0x47ded8=_0x1d54d9;var _0x5be38a,_0xc41019;const _0x1af46d=(_0xc41019=(_0x5be38a=this['_univerInstanceService'][_0x47ded8(0x1ee)](this[_0x47ded8(0x187)]))==null?void 0x0:_0x5be38a[_0x47ded8(0x28f)](_0x3385e6))==null?void 0x0:_0xc41019[_0x47ded8(0x19a)]();return(_0x1af46d==null?void 0x0:_0x1af46d[_0x47ded8(0x254)](_0x90a47e=>_0x41608e[_0x47ded8(0x159)][_0x47ded8(0x330)](_0x90a47e,_0x150369)))||_0x150369;}[_0x1d54d9(0x205)](){const _0x30ef29=_0x1d54d9,_0x1064f9=new _0x41608e['DisposableCollection'](),_0x4070c4=_0xdae86e(),_0x3fb182=()=>{const _0x319053=_0x9ceb;_0x1064f9[_0x319053(0x14a)]();const _0x4b37b8=(_0x8001c0,_0x9a0de4,_0x1b10f0,_0xeece53)=>{const _0x343450=_0x319053;let _0x5a03c4=[];switch(_0x8001c0['id']){case _0x5bba74[_0x343450(0x165)][_0x343450(0x3e2)]:{_0x5a03c4=_0x5bba74['handleDeleteRangeMoveLeft'](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x219)]:{_0x5a03c4=_0x5bba74['handleDeleteRangeMoveUp'](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId']['InsertColCommandId']:{_0x5a03c4=_0x5bba74[_0x343450(0x1cf)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x1ca)]:{_0x5a03c4=_0x5bba74[_0x343450(0x262)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x2a1)]:{_0x5a03c4=_0x5bba74[_0x343450(0x324)](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId'][_0x343450(0x313)]:{_0x5a03c4=_0x5bba74['handleInsertRow'](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId'][_0x343450(0x229)]:{_0x5a03c4=_0x5bba74[_0x343450(0x1b1)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)]['RemoveColCommandId']:{_0x5a03c4=_0x5bba74[_0x343450(0x21d)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x2c3)]:{_0x5a03c4=_0x5bba74[_0x343450(0x343)](_0x8001c0,_0xeece53);break;}}const _0x4acff9=_0x5bba74[_0x343450(0x347)](_0x5a03c4,_0xeece53),_0x7e746f=this[_0x343450(0x175)][_0x343450(0x38e)](_0x9a0de4);if(_0x7e746f&&_0x4acff9){const _0x44fa10={..._0x7e746f,'range':_0x4acff9};this[_0x343450(0x175)][_0x343450(0x3b7)](_0x9a0de4,_0x44fa10),_0x4070c4(()=>{const _0x4d0ac2=_0x343450,_0x165d4e=this[_0x4d0ac2(0x3d7)][_0x4d0ac2(0x325)](_0x4acff9,_0x49fe59=>(_0x165d4e[_0x4d0ac2(0x14a)](),_0x4b37b8(_0x49fe59,_0x9a0de4,_0x1b10f0,_0x4acff9)));_0x1064f9[_0x4d0ac2(0x239)](_0x165d4e);});}return{'redos':[],'undos':[]};};this[_0x319053(0x175)][_0x319053(0x1d1)]((_0x489dad,_0x398400)=>{const _0xf2df04=_0x319053,{range:_0x4370ab,sheetID:_0x5b4ea1}=_0x489dad,_0x5b6a43=this[_0xf2df04(0x3d7)][_0xf2df04(0x325)](_0x4370ab,_0x326146=>(_0x5b6a43[_0xf2df04(0x14a)](),_0x4b37b8(_0x326146,_0x398400,_0x5b4ea1,_0x4370ab)));_0x1064f9['add'](_0x5b6a43);});};this['disposeWithMe'](_0x41608e['toDisposable'](this['_cursorInfo$'][_0x30ef29(0x431)](()=>{_0x3fb182();})));}['_toggleOnline'](){const _0x423b28=_0x1d54d9;var _0x100cc9,_0x97e632;if(this['_online']=!0x0,((_0x100cc9=this[_0x423b28(0x378)]['getFocusedUnit']())==null?void 0x0:_0x100cc9[_0x423b28(0x2e2)]())!==this[_0x423b28(0x187)])return;const _0x209fd3=(_0x97e632=this[_0x423b28(0x3e0)][_0x423b28(0x38e)](_0x5bba74[_0x423b28(0x411)])[_0x423b28(0x190)]())==null?void 0x0:_0x97e632[0x0],_0x6a6aa6=this[_0x423b28(0x378)][_0x423b28(0x2b3)](_0x41608e['UniverInstanceType']['UNIVER_SHEET'])[_0x423b28(0x1a8)]();_0x209fd3&&_0x6a6aa6&&this[_0x423b28(0x37a)](_0x6a6aa6[_0x423b28(0x26b)](),_0x209fd3);}['_toggleOffline'](){this['_online']=!0x1;}};_0x5cfeed=_0x2286ad([_0x4255f6(0x2,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x4255f6(0x3,_0x41608e[_0x1d54d9(0x227)](_0x1fb581)),_0x4255f6(0x4,_0x41608e['Inject'](_0x41402f[_0x1d54d9(0x365)])),_0x4255f6(0x5,_0x41608e[_0x1d54d9(0x189)]),_0x4255f6(0x6,_0x41608e['ICommandService']),_0x4255f6(0x7,_0x41608e['Inject'](_0x5bba74[_0x1d54d9(0x432)]))],_0x5cfeed);var _0x2e07ab=Object[_0x1d54d9(0x369)],_0x4e6a5f=(_0x27241c,_0x2fb0a3,_0x146517,_0x1ffa13)=>{const _0x381db0=_0x1d54d9;for(var _0x4f0b35=_0x1ffa13>0x1?void 0x0:_0x1ffa13?_0x2e07ab(_0x2fb0a3,_0x146517):_0x2fb0a3,_0x319782=_0x27241c[_0x381db0(0x15d)]-0x1,_0x1fdc94;_0x319782>=0x0;_0x319782--)(_0x1fdc94=_0x27241c[_0x319782])&&(_0x4f0b35=_0x1fdc94(_0x4f0b35)||_0x4f0b35);return _0x4f0b35;},_0x4415b7=(_0x309148,_0x3ebd81)=>(_0x39427f,_0x475c58)=>_0x3ebd81(_0x39427f,_0x475c58,_0x309148);let _0x13f4ff=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x3bc703,_0x32b8e9,_0x4bfd60){const _0x51d917=_0x1d54d9;super(),_0x2af801(this,_0x51d917(0x37f),new Map()),_0x2af801(this,_0x51d917(0x322),new _0x163839[(_0x51d917(0x31d))]()),(this[_0x51d917(0x378)]=_0x3bc703,this['_injector']=_0x32b8e9,this['_collabSessionService']=_0x4bfd60,this[_0x51d917(0x37b)]());}[_0x1d54d9(0x14a)](){const _0x5a0623=_0x1d54d9;super[_0x5a0623(0x14a)](),this[_0x5a0623(0x322)][_0x5a0623(0x368)](),this['_entities'][_0x5a0623(0x1d1)](_0x2b71b2=>_0x2b71b2[_0x5a0623(0x14a)]());}['getCollabCursors$'](_0x147ce1){const _0x374744=_0x1d54d9;return this[_0x374744(0x37f)][_0x374744(0x41f)](_0x147ce1)?this['_entities'][_0x374744(0x38e)](_0x147ce1)[_0x374744(0x36f)]:this[_0x374744(0x322)]['pipe'](_0x163839[_0x374744(0x152)](_0x1d8a58=>_0x1d8a58[_0x374744(0x187)]===_0x147ce1),_0x163839['switchMap'](_0xcec791=>_0xcec791[_0x374744(0x36f)]));}['_init'](){const _0x3468df=_0x1d54d9;this[_0x3468df(0x378)]['getTypeOfUnitAdded$'](_0x41608e['UniverInstanceType'][_0x3468df(0x18c)])[_0x3468df(0x18b)](_0x163839[_0x3468df(0x1e4)](this[_0x3468df(0x1bc)]))['subscribe'](async _0xbc0585=>{const _0x48d588=_0x3468df,_0x23ea02=_0xbc0585[_0x48d588(0x2e2)](),_0x4d7416=await this[_0x48d588(0x344)](_0x23ea02);this[_0x48d588(0x322)][_0x48d588(0x34e)](_0x4d7416),this[_0x48d588(0x37f)][_0x48d588(0x3b7)](_0x23ea02,_0x4d7416);}),this['_univerInstanceService'][_0x3468df(0x3c9)](_0x41608e[_0x3468df(0x3ee)][_0x3468df(0x14c)])[_0x3468df(0x18b)](_0x163839[_0x3468df(0x1e4)](this[_0x3468df(0x1bc)]))[_0x3468df(0x18b)](_0x163839[_0x3468df(0x152)](_0x35fcb8=>!_0x35fcb8['getUnitId']()[_0x3468df(0x33b)]('__')))['subscribe'](async _0x5d6163=>{const _0x2a585c=_0x3468df,_0x3904e4=_0x5d6163[_0x2a585c(0x2e2)](),_0x55b80a=await this['_startDocCollabCursor'](_0x3904e4);this[_0x2a585c(0x322)][_0x2a585c(0x34e)](_0x55b80a),this[_0x2a585c(0x37f)]['set'](_0x3904e4,_0x55b80a);}),_0x163839['merge'](this[_0x3468df(0x378)]['getTypeOfUnitDisposed$'](_0x41608e[_0x3468df(0x3ee)][_0x3468df(0x14c)]),this[_0x3468df(0x378)]['getTypeOfUnitDisposed$'](_0x41608e['UniverInstanceType'][_0x3468df(0x18c)]))[_0x3468df(0x18b)](_0x163839['takeUntil'](this['dispose$']))[_0x3468df(0x431)](_0x1df76a=>{const _0x2b206e=_0x3468df,_0xccacdf=_0x1df76a[_0x2b206e(0x2e2)](),_0x3b3a4e=this['_entities']['get'](_0xccacdf);_0x3b3a4e&&(_0x3b3a4e['dispose'](),this['_entities']['delete'](_0xccacdf));});}async[_0x1d54d9(0x344)](_0x3a16a9){const _0x3ca7f8=_0x1d54d9,_0x283d04=await this[_0x3ca7f8(0x39d)]['requireSession'](_0x3a16a9),_0x145b6f=this[_0x3ca7f8(0x3e0)]['createInstance'](_0x5cfeed,_0x3a16a9,_0x283d04);return _0x145b6f['init'](),_0x145b6f;}async['_startDocCollabCursor'](_0x5e9cec){const _0x82cbe=_0x1d54d9,_0x343f59=await this[_0x82cbe(0x39d)][_0x82cbe(0x264)](_0x5e9cec),_0x690e63=this['_injector'][_0x82cbe(0x2df)](_0x1c0d99,_0x5e9cec,_0x343f59);return _0x690e63[_0x82cbe(0x36e)](),_0x690e63;}};_0x13f4ff=_0x4e6a5f([_0x4415b7(0x0,_0x41608e['IUniverInstanceService']),_0x4415b7(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x4415b7(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f['CollaborationSessionService']))],_0x13f4ff);const _0x250e0c=0x14,_0x4fe6f=0xc8,_0x67aa1c=0x4,_0x5a4a11=0x5;function _0x52b4d9(_0x1b2b71,_0x5cab45){const _0x1dece8=_0x1d54d9;let {radius:_0x5d29f8,width:_0x3c4545,height:_0x446cf9}=_0x5cab45;_0x5d29f8=_0x5d29f8!=null?_0x5d29f8:0x0,_0x3c4545=_0x3c4545!=null?_0x3c4545:0x1e,_0x446cf9=_0x446cf9!=null?_0x446cf9:0x1e;let _0x28507c=0x0,_0x4dc55b=0x0,_0x3e8cca=0x0;_0x28507c=_0x4dc55b=_0x3e8cca=Math[_0x1dece8(0x32b)](_0x5d29f8,_0x3c4545/0x2,_0x446cf9/0x2),_0x1b2b71[_0x1dece8(0x1d9)](),_0x1b2b71['moveTo'](_0x28507c,0x0),_0x1b2b71['lineTo'](_0x3c4545-_0x4dc55b,0x0),_0x1b2b71['arc'](_0x3c4545-_0x4dc55b,_0x4dc55b,_0x4dc55b,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b2b71[_0x1dece8(0x251)](_0x3c4545,_0x446cf9-_0x3e8cca),_0x1b2b71[_0x1dece8(0x382)](_0x3c4545-_0x3e8cca,_0x446cf9-_0x3e8cca,_0x3e8cca,0x0,Math['PI']/0x2,!0x1),_0x1b2b71[_0x1dece8(0x251)](0x0,_0x446cf9),_0x1b2b71[_0x1dece8(0x251)](0x0,_0x28507c),_0x1b2b71['arc'](_0x28507c,_0x28507c,_0x28507c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b2b71[_0x1dece8(0x304)](),_0x5cab45[_0x1dece8(0x36a)]&&(_0x1b2b71[_0x1dece8(0x16a)](),_0x1b2b71[_0x1dece8(0x28a)]=_0x5cab45[_0x1dece8(0x36a)],_0x5cab45[_0x1dece8(0x341)]===_0x1dece8(0x1b5)?_0x1b2b71[_0x1dece8(0x36a)](_0x1dece8(0x1b5)):_0x1b2b71[_0x1dece8(0x36a)](),_0x1b2b71[_0x1dece8(0x2e0)]());}class _0x1c4925 extends _0x59ca38['Shape']{constructor(_0x32de4c,_0x33fb4f){const _0x27c9d6=_0x1d54d9;super(_0x32de4c,_0x33fb4f),_0x2af801(this,'color'),_0x2af801(this,'text'),(this[_0x27c9d6(0x282)]=_0x33fb4f==null?void 0x0:_0x33fb4f[_0x27c9d6(0x282)],this[_0x27c9d6(0x223)]=_0x33fb4f==null?void 0x0:_0x33fb4f[_0x27c9d6(0x223)]);}static[_0x1d54d9(0x351)](_0x1d8656,_0x337a6d){const _0x515941=_0x1d54d9,{text:_0xc49e71,color:_0x18afd1}=_0x337a6d;_0x1d8656[_0x515941(0x16a)](),_0x1d8656[_0x515941(0x383)]=_0x515941(0x1db);const _0x29ff3d=_0x1d8656[_0x515941(0x328)](_0xc49e71)['width'],_0x4d53a5=Math[_0x515941(0x32b)](_0x29ff3d+0x2*_0x67aa1c,_0x4fe6f);_0x52b4d9(_0x1d8656,{'height':_0x250e0c,'radius':0x4,'width':_0x4d53a5,'fill':_0x18afd1}),_0x1d8656[_0x515941(0x28a)]=_0x515941(0x34f);const _0x5d0cd9=_0x67aa1c,_0x5efb8=_0x250e0c-_0x5a4a11,_0xd270a2=_0x4fe6f-0x2*_0x67aa1c;if(_0x29ff3d>_0xd270a2){let _0x53642d='',_0x12d3ab=0x0;for(const _0x1cf950 of _0xc49e71){const _0xa95bc5=_0x1d8656[_0x515941(0x328)](_0x1cf950)['width'];if(_0x12d3ab+_0xa95bc5<=_0xd270a2-_0x1d8656['measureText'](_0x515941(0x2e7))[_0x515941(0x391)])_0x53642d+=_0x1cf950,_0x12d3ab+=_0xa95bc5;else{_0x53642d+=_0x515941(0x2e7);break;}}_0x1d8656[_0x515941(0x31b)](_0x53642d,_0x5d0cd9,_0x5efb8);}else _0x1d8656[_0x515941(0x31b)](_0xc49e71,_0x5d0cd9,_0x5efb8);_0x1d8656[_0x515941(0x2e0)]();}['_draw'](_0x5b18f7){const _0x35c510=_0x1d54d9;_0x1c4925[_0x35c510(0x351)](_0x5b18f7,this);}}const _0x2ab4a2=_0x1d54d9(0x269),_0x54cf3b='collab-text-range-',_0x539ca3='collab-rect-range-',_0x3c286f=0x6,_0x415fd5=1.5,_0x8933a5=0x4,_0x195505=1.5,_0x2f6cf2=_0x1d54d9(0x1e5);class _0x5c237c{constructor(_0x85c384,_0x23822e,_0x4e9fe5,_0x3d23ed){const _0x4f4c17=_0x1d54d9;_0x2af801(this,_0x4f4c17(0x17e),[]),_0x2af801(this,_0x4f4c17(0x3a8),null),_0x2af801(this,_0x4f4c17(0x1e1),null),_0x2af801(this,_0x4f4c17(0x27c),null),_0x2af801(this,_0x4f4c17(0x2be),null),_0x2af801(this,_0x4f4c17(0x2a0),null),(this['_cursor']=_0x85c384,this[_0x4f4c17(0x27d)]=_0x23822e,this['_docSkeleton']=_0x4e9fe5,this[_0x4f4c17(0x401)]=_0x3d23ed,this[_0x4f4c17(0x2e5)]());}set[_0x1d54d9(0x1bf)](_0x549b25){const _0x40a8ad=_0x1d54d9;_0x549b25?(this[_0x40a8ad(0x27c)]&&this[_0x40a8ad(0x27c)][_0x40a8ad(0x30c)](),this['_textBubble']&&this['_textBubble'][_0x40a8ad(0x181)]()):(this[_0x40a8ad(0x27c)]&&this[_0x40a8ad(0x27c)][_0x40a8ad(0x181)](),this[_0x40a8ad(0x1e1)]&&this[_0x40a8ad(0x1e1)][_0x40a8ad(0x30c)]());}[_0x1d54d9(0x14a)](){const _0x24ca49=_0x1d54d9;for(const _0x11e0ec of this[_0x24ca49(0x17e)])_0x11e0ec[_0x24ca49(0x14a)]();this[_0x24ca49(0x1e1)]&&this[_0x24ca49(0x1e1)]['dispose'](),this[_0x24ca49(0x27c)]&&this[_0x24ca49(0x27c)][_0x24ca49(0x14a)](),this[_0x24ca49(0x3a8)]&&this[_0x24ca49(0x3a8)][_0x24ca49(0x14a)](),this[_0x24ca49(0x2a0)]&&this[_0x24ca49(0x2a0)]();}[_0x1d54d9(0x2e5)](){const _0x831b06=_0x1d54d9;var _0xe1029;const {_docSkeleton:_0x2c0dca,_document:_0xb454ac}=this,{color:_0x42d606,name:_0x55b911,ranges:_0x29fddd}=this[_0x831b06(0x2c2)],_0x58dd4f=_0xb454ac[_0x831b06(0x17c)](),{docsLeft:_0xb4a0ea,docsTop:_0x3b162d}=_0x58dd4f,_0x529b7d=new _0x32e209[(_0x831b06(0x2fb))](_0x58dd4f,_0x2c0dca);for(const {startOffset:_0x41bd97,endOffset:_0x4436b3,rangeType:_0xe36ab0,segmentId:_0x226d40,segmentPage:_0x2d8b42,collapsed:_0x544ee4,isActive:_0x1cb7cb}of _0x29fddd){const _0x360cb4=_0x2c0dca[_0x831b06(0x374)](_0x41bd97,!0x0,_0x226d40,_0x2d8b42);let _0x2b3a4f=_0x2c0dca[_0x831b06(0x374)](_0x4436b3,!0x0,_0x226d40,_0x2d8b42);if(_0x2b3a4f==null&&(_0x2b3a4f=_0x2c0dca[_0x831b06(0x374)](_0x4436b3-0x1,!0x1,_0x226d40,_0x2d8b42)),_0x1cb7cb){const {contentBoxPointGroup:_0xaf1f25}=_0x529b7d['getRangePointData'](_0x2b3a4f,_0x2b3a4f);if(_0xaf1f25['length']===0x0)continue;this[_0x831b06(0x17f)](_0x42d606,_0xaf1f25,_0xb4a0ea,_0x3b162d,_0x55b911),this[_0x831b06(0x2a0)]=this[_0x831b06(0x326)]();}if(_0x360cb4&&_0x2b3a4f){if(_0xe36ab0===_0x41608e[_0x831b06(0x202)][_0x831b06(0x1f1)]){const _0x1f1082=new _0x32e209[(_0x831b06(0x217))](_0x58dd4f,_0x2c0dca),{pointGroup:_0x4027e0}=(_0xe1029=_0x1f1082[_0x831b06(0x355)](_0x360cb4,_0x2b3a4f))!=null?_0xe1029:{};if(_0x4027e0==null||_0x4027e0[_0x831b06(0x15d)]===0x0)continue;this['_drawRectRange'](_0x42d606,_0x4027e0,_0xb4a0ea,_0x3b162d);}else{if(!_0x544ee4){const {borderBoxPointGroup:_0x8cd7fd}=_0x529b7d[_0x831b06(0x355)](_0x360cb4,_0x2b3a4f);if(_0x8cd7fd[_0x831b06(0x15d)]===0x0)continue;this[_0x831b06(0x28b)](_0x42d606,_0x8cd7fd,_0xb4a0ea,_0x3b162d);}}}}}[_0x1d54d9(0x17f)](_0x1e0150,_0x4e013b,_0x105fb5,_0x2c6be5,_0x2b6014){const _0x4d8de0=_0x1d54d9,_0x2959e4=this[_0x4d8de0(0x183)](_0x4e013b),{left:_0x482b79,top:_0x31b15a,height:_0x68fee4}=_0x2959e4,_0x5df71d=this['_getScale'](),_0x6d3605=_0x195505/_0x5df71d,_0x1d29e5=new _0x59ca38[(_0x4d8de0(0x1d8))](_0x2ab4a2+_0x41608e['generateRandomId'](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5,'height':_0x68fee4,'width':_0x415fd5,'fill':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'strokeWidth':_0x6d3605,'stroke':_0x2f6cf2,'evented':!0x0});this[_0x4d8de0(0x3a8)]=_0x1d29e5,this[_0x4d8de0(0x27d)]['addObject'](_0x1d29e5,_0x32e209['TEXT_RANGE_LAYER_INDEX']);const _0x11f21b=new _0x59ca38['Rect'](_0x2ab4a2+_0x41608e[_0x4d8de0(0x2ec)](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5-_0x8933a5/0x2,'height':_0x8933a5,'width':_0x8933a5,'fill':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'strokeWidth':0x0,'stroke':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'evented':!0x1});this[_0x4d8de0(0x27c)]=_0x11f21b,this[_0x4d8de0(0x27d)][_0x4d8de0(0x34c)](_0x11f21b,_0x32e209[_0x4d8de0(0x2b6)]);const _0x4173d7=new _0x1c4925(_0x2ab4a2+_0x41608e[_0x4d8de0(0x2ec)](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5-_0x250e0c,'text':_0x2b6014,'color':_0x1e0150});this[_0x4d8de0(0x1e1)]=_0x4173d7,this[_0x4d8de0(0x27d)][_0x4d8de0(0x34c)](_0x4173d7,_0x32e209[_0x4d8de0(0x2b6)]),this[_0x4d8de0(0x1bf)]=!0x1;}['_handleHover'](){const _0x761046=_0x1d54d9,_0x4fcf33=this[_0x761046(0x3a8)][_0x761046(0x379)][_0x761046(0x2ed)](()=>{this['_hover']=!0x0;}),_0x199728=this[_0x761046(0x3a8)][_0x761046(0x275)]['subscribeEvent'](()=>{const _0x469834=_0x761046;this[_0x469834(0x2be)]&&clearTimeout(this[_0x469834(0x2be)]),this[_0x469834(0x2be)]=setTimeout(()=>{const _0x4db936=_0x469834;this[_0x4db936(0x1bf)]=!0x1;},0x7d0);});return()=>{const _0x1b653e=_0x761046;_0x4fcf33[_0x1b653e(0x16c)](),_0x199728[_0x1b653e(0x16c)]();};}[_0x1d54d9(0x28b)](_0x464191,_0x2100b0,_0x2cc5d8,_0x23082f){const _0x21209b=_0x1d54d9,_0x5c5f3e=new _0x41608e[(_0x21209b(0x265))](_0x464191)[_0x21209b(0x177)](0.2)[_0x21209b(0x410)](),_0x403757=new _0x59ca38['RegularPolygon'](_0x54cf3b+_0x41608e['generateRandomId'](_0x3c286f),{'pointsGroup':_0x2100b0,'fill':_0x5c5f3e||_0x59ca38['getColor'](_0x41608e[_0x21209b(0x40e)][_0x21209b(0x24b)],0.2),'left':_0x2cc5d8,'top':_0x23082f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21209b(0x17e)][_0x21209b(0x3dc)](_0x403757),this[_0x21209b(0x27d)]['addObject'](_0x403757,_0x32e209[_0x21209b(0x2b6)]);}['_drawRectRange'](_0x47b4ae,_0x24b44d,_0x4f1add,_0x23cc83){const _0x473eba=_0x1d54d9,_0x9febe8=new _0x41608e[(_0x473eba(0x265))](_0x47b4ae)[_0x473eba(0x177)](0.2)[_0x473eba(0x410)](),_0x2fccdc=new _0x59ca38['RegularPolygon'](_0x539ca3+_0x41608e['generateRandomId'](_0x3c286f),{'pointsGroup':_0x24b44d,'fill':_0x9febe8||_0x59ca38[_0x473eba(0x2af)](_0x41608e[_0x473eba(0x40e)][_0x473eba(0x24b)],0.2),'left':_0x4f1add,'top':_0x23cc83,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x473eba(0x17e)][_0x473eba(0x3dc)](_0x2fccdc),this[_0x473eba(0x27d)][_0x473eba(0x34c)](_0x2fccdc,_0x32e209[_0x473eba(0x2b6)]);}['_getAnchorBounding'](_0x537be3){const _0x1cf522=_0x537be3[0x0],_0x2a0e00=_0x1cf522[0x0],_0x231ddd=_0x1cf522[0x2],{x:_0x256e7c,y:_0x15a36c}=_0x2a0e00,{x:_0xa106e8,y:_0x38d213}=_0x231ddd;return{'left':_0x256e7c,'top':_0x15a36c,'width':_0xa106e8-_0x256e7c,'height':_0x38d213-_0x15a36c};}[_0x1d54d9(0x2c0)](){const _0x3033b8=_0x1d54d9,{scaleX:_0x2e1179,scaleY:_0x5685e4}=this[_0x3033b8(0x27d)][_0x3033b8(0x277)]();return Math[_0x3033b8(0x3d4)](_0x2e1179,_0x5685e4);}}var _0x3ccf0d=Object[_0x1d54d9(0x369)],_0x287bf0=(_0x44476b,_0x1a917c,_0x431eb5,_0xf60817)=>{for(var _0x5e573c=_0xf60817>0x1?void 0x0:_0xf60817?_0x3ccf0d(_0x1a917c,_0x431eb5):_0x1a917c,_0x632b18=_0x44476b['length']-0x1,_0xd75509;_0x632b18>=0x0;_0x632b18--)(_0xd75509=_0x44476b[_0x632b18])&&(_0x5e573c=_0xd75509(_0x5e573c)||_0x5e573c);return _0x5e573c;},_0x53ab81=(_0x1b281f,_0x1c7fb0)=>(_0x49baaf,_0x164724)=>_0x1c7fb0(_0x49baaf,_0x164724,_0x1b281f);let _0x4b0629=class extends _0x41608e['RxDisposable']{constructor(_0x4af39b,_0x429db6,_0x4bf583,_0x308686,_0x174b5b){const _0x4a68b7=_0x1d54d9;super(),_0x2af801(this,'_cursorShapes',[]),_0x2af801(this,'_cursors',[]),(this[_0x4a68b7(0x27f)]=_0x4af39b,this[_0x4a68b7(0x1f7)]=_0x429db6,this[_0x4a68b7(0x31f)]=_0x4bf583,this['_commandService']=_0x308686,this[_0x4a68b7(0x420)]=_0x174b5b,this[_0x4a68b7(0x37b)]());}[_0x1d54d9(0x37b)](){const _0x3c4617=_0x1d54d9,_0x34fc5f=this[_0x3c4617(0x27f)][_0x3c4617(0x216)],_0x5e477f=this['_docSkeletonManagerService'];this[_0x3c4617(0x416)](_0x163839[_0x3c4617(0x2a3)]([this[_0x3c4617(0x31f)]['getCollabCursors$'](_0x34fc5f),this['_themeService'][_0x3c4617(0x168)]])['pipe'](_0x1502db[_0x3c4617(0x41a)](([_0x2dd6f3,_0x3a8a33])=>({'skeleton':_0x5e477f[_0x3c4617(0x3ca)](),'cursors':[..._0x2dd6f3[_0x3c4617(0x1b0)]()][_0x3c4617(0x261)](_0x5b294d=>({..._0x5b294d,'color':this[_0x3c4617(0x420)][_0x3c4617(0x334)](_0x5b294d[_0x3c4617(0x282)])}))})))[_0x3c4617(0x431)](_0x44b7c4=>{const _0x49bbfd=_0x3c4617;if(this[_0x49bbfd(0x396)](),_0x44b7c4){const {skeleton:_0x17e02b,cursors:_0x29e03c}=_0x44b7c4;this[_0x49bbfd(0x337)](_0x17e02b,_0x29e03c);}})),this[_0x3c4617(0x357)](),this[_0x3c4617(0x3f9)]();}['_updateCollabCursors'](_0x4d6415,_0x424883){const _0x37202b=_0x1d54d9,{scene:_0x311873,mainComponent:_0x4a86bf}=this[_0x37202b(0x27f)],_0xcd64fd=_0x424883[_0x37202b(0x41a)](_0x38154e=>new _0x5c237c(_0x38154e,_0x311873,_0x4d6415,_0x4a86bf));this[_0x37202b(0x384)]=_0xcd64fd,this['_cursors']=_0x424883;}['_refreshCollabCursors'](){const _0x2b7700=_0x1d54d9;this[_0x2b7700(0x396)]();const {scene:_0x339cd9,mainComponent:_0x2940de}=this[_0x2b7700(0x27f)],_0x478659=this[_0x2b7700(0x1f7)][_0x2b7700(0x3ca)](),_0x57eaa3=this[_0x2b7700(0x20c)][_0x2b7700(0x41a)](_0x1435f2=>new _0x5c237c(_0x1435f2,_0x339cd9,_0x478659,_0x2940de));this[_0x2b7700(0x384)]=_0x57eaa3;}[_0x1d54d9(0x396)](){const _0x4d56c0=_0x1d54d9;this[_0x4d56c0(0x384)][_0x4d56c0(0x1d1)](_0x185e03=>_0x185e03[_0x4d56c0(0x14a)]()),this[_0x4d56c0(0x384)]=[];}[_0x1d54d9(0x3f9)](){const _0x2df125=_0x1d54d9,_0x503494=[_0x32e209[_0x2df125(0x39e)]['id']];this[_0x2df125(0x416)](this['_commandService'][_0x2df125(0x415)](_0x1d94b9=>{const _0x40261b=_0x2df125;_0x503494[_0x40261b(0x1ea)](_0x1d94b9['id'])&&_0x1d94b9[_0x40261b(0x373)][_0x40261b(0x216)]===this[_0x40261b(0x27f)][_0x40261b(0x216)]&&this[_0x40261b(0x1c0)]();}));}['_initResize'](){const _0x4861a6=_0x1d54d9;this['disposeWithMe'](_0x41608e[_0x4861a6(0x2b5)](this[_0x4861a6(0x27f)][_0x4861a6(0x220)]['onTransformChange$'])[_0x4861a6(0x18b)](_0x1502db[_0x4861a6(0x152)](_0x2edfee=>_0x2edfee[_0x4861a6(0x1d2)]===_0x59ca38[_0x4861a6(0x3e6)][_0x4861a6(0x172)]),_0x1502db['throttleTime'](0x10))[_0x4861a6(0x431)](()=>{const _0x1e6074=_0x4861a6;this[_0x1e6074(0x1c0)]();}));}};_0x4b0629=_0x287bf0([_0x53ab81(0x1,_0x41608e[_0x1d54d9(0x227)](_0x39889c[_0x1d54d9(0x23d)])),_0x53ab81(0x2,_0x41608e[_0x1d54d9(0x227)](_0x13f4ff)),_0x53ab81(0x3,_0x41608e['ICommandService']),_0x53ab81(0x4,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x307)]))],_0x4b0629);const _0x2a6788=0x1,_0x333c29=1.5;class _0x8d5a84 extends _0x59ca38['Shape']{constructor(_0x53fbf6,_0x45212f){const _0x132225=_0x1d54d9;super(_0x53fbf6,_0x45212f),_0x2af801(this,_0x132225(0x1c8)),_0x2af801(this,_0x132225(0x2ae),!0x1),_0x2af801(this,'_range'),_0x2af801(this,_0x132225(0x196),''),_0x2af801(this,_0x132225(0x2e4),_0x132225(0x30b)),_0x2af801(this,_0x132225(0x23a)),(_0x45212f&&this[_0x132225(0x398)](_0x45212f),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x132225(0x398)]({'hovered':!0x0})),this[_0x132225(0x275)][_0x132225(0x2ed)](()=>this[_0x132225(0x398)]({'hovered':!0x1})));}[_0x1d54d9(0x398)](_0x5b827b){const _0x37ec85=_0x1d54d9;var _0x1bd060,_0x176f83,_0x42f1c5,_0x15762a,_0x1227b5,_0x82c9e8;this['_color']=(_0x1bd060=_0x5b827b[_0x37ec85(0x282)])!=null?_0x1bd060:this[_0x37ec85(0x1c8)],this[_0x37ec85(0x2ae)]=(_0x176f83=_0x5b827b[_0x37ec85(0x166)])!=null?_0x176f83:this[_0x37ec85(0x2ae)],this[_0x37ec85(0x184)]=(_0x42f1c5=_0x5b827b[_0x37ec85(0x1ed)])!=null?_0x42f1c5:this[_0x37ec85(0x184)],this[_0x37ec85(0x196)]=(_0x15762a=_0x5b827b['name'])!=null?_0x15762a:this[_0x37ec85(0x196)],this[_0x37ec85(0x2e4)]=(_0x1227b5=_0x5b827b[_0x37ec85(0x233)])!=null?_0x1227b5:this[_0x37ec85(0x2e4)],this['_backgroundColor']=(_0x82c9e8=_0x5b827b['backgroundColor'])!=null?_0x82c9e8:this[_0x37ec85(0x23a)],this[_0x37ec85(0x3ab)]({'width':_0x5b827b['width'],'height':_0x5b827b['height']});}[_0x1d54d9(0x407)](_0x4e3b68){const _0xc4120a=_0x1d54d9,{row:_0x1a4501,column:_0x465475}=_0x4e3b68;if(_0x1a4501>=this[_0xc4120a(0x184)][_0xc4120a(0x2f9)]&&_0x1a4501<=this[_0xc4120a(0x184)][_0xc4120a(0x1cd)]&&_0x465475>=this['_range'][_0xc4120a(0x3bd)]&&_0x465475<=this[_0xc4120a(0x184)][_0xc4120a(0x358)]){this[_0xc4120a(0x398)]({'hovered':!0x0});return;}this[_0xc4120a(0x398)]({'hovered':!0x1});}[_0x1d54d9(0x3c0)](_0x1d8564){return!0x1;}[_0x1d54d9(0x188)](_0xc165e0){const _0x3587c0=_0x1d54d9;_0x59ca38[_0x3587c0(0x1d8)][_0x3587c0(0x351)](_0xc165e0,{'width':this['width'],'height':this[_0x3587c0(0x1a0)],'strokeWidth':_0x333c29,'stroke':this[_0x3587c0(0x1c8)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3587c0(0x2ae)]&&(_0xc165e0[_0x3587c0(0x16a)](),_0xc165e0[_0x3587c0(0x3b3)](0x1,0x0,0x0,0x1,this[_0x3587c0(0x391)],this[_0x3587c0(0x2e4)]===_0x3587c0(0x246)?0x0:-_0x250e0c),_0x1c4925[_0x3587c0(0x351)](_0xc165e0,{'text':this[_0x3587c0(0x196)],'color':this[_0x3587c0(0x1c8)]}),_0xc165e0[_0x3587c0(0x2e0)]());}}var _0x4c3653=Object[_0x1d54d9(0x369)],_0x5c7e38=(_0x29d0bf,_0x43cbe7,_0x240ae7,_0x10aed3)=>{for(var _0x3be4c7=_0x10aed3>0x1?void 0x0:_0x10aed3?_0x4c3653(_0x43cbe7,_0x240ae7):_0x43cbe7,_0x30c5b4=_0x29d0bf['length']-0x1,_0x2f1e04;_0x30c5b4>=0x0;_0x30c5b4--)(_0x2f1e04=_0x29d0bf[_0x30c5b4])&&(_0x3be4c7=_0x2f1e04(_0x3be4c7)||_0x3be4c7);return _0x3be4c7;},_0x4a99ce=(_0x2c0198,_0x40217d)=>(_0x4166ad,_0x34e035)=>_0x40217d(_0x4166ad,_0x34e035,_0x2c0198);const _0x492326=0x1389;let _0x47ed4b=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x4bceae,_0x1924f3,_0x25b839,_0x18dd49){const _0x3394d2=_0x1d54d9;super(),_0x2af801(this,_0x3394d2(0x20c),new Set()),_0x2af801(this,'_lastPointer',null),(this[_0x3394d2(0x27f)]=_0x4bceae,this[_0x3394d2(0x178)]=_0x1924f3,this[_0x3394d2(0x31f)]=_0x25b839,this[_0x3394d2(0x420)]=_0x18dd49,this['_init']());}[_0x1d54d9(0x37b)](){const _0x4a67a2=_0x1d54d9;this[_0x4a67a2(0x178)][_0x4a67a2(0x25b)][_0x4a67a2(0x18b)](_0x1502db[_0x4a67a2(0x1e4)](this[_0x4a67a2(0x1bc)]),_0x1502db[_0x4a67a2(0x3ce)](_0x181b96=>{const _0x1b9a85=_0x4a67a2;if(_0x181b96){const _0x28bd23=_0x181b96['sheetId'];return _0x163839[_0x1b9a85(0x2a3)](this['_collabCursorController']['getCollabCursors$'](this[_0x1b9a85(0x27f)][_0x1b9a85(0x216)]),this[_0x1b9a85(0x420)]['currentTheme$'])['pipe'](_0x1502db[_0x1b9a85(0x41a)](([_0x644f54,_0x42d540])=>{const _0x53a753=_0x1b9a85,_0x2ea230=new Map();return _0x644f54[_0x53a753(0x1d1)]((_0x57367f,_0x423bb7)=>{const _0xa83059=_0x53a753;if(_0x57367f[_0xa83059(0x222)]===_0x28bd23){const _0x265b47={..._0x57367f};_0x265b47[_0xa83059(0x282)]=this[_0xa83059(0x420)][_0xa83059(0x334)](_0x57367f[_0xa83059(0x282)]),_0x2ea230['set'](_0x423bb7,_0x265b47);}}),{'skeleton':_0x181b96,'cursors':_0x2ea230};}));}return _0x163839['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a67a2(0x431)](({skeleton:_0x54dcef,cursors:_0x2029d6})=>{const _0x4ac861=_0x4a67a2;this[_0x4ac861(0x396)](),_0x54dcef&&this[_0x4ac861(0x337)](_0x54dcef,_0x2029d6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4a67a2(0x431)](_0x3a8ad5=>{const _0x39aff1=_0x4a67a2;if(_0x3a8ad5==null)return;const {skeleton:_0x79c9cd}=_0x3a8ad5,{scene:_0x5612e6}=this[_0x39aff1(0x27f)];_0x5612e6[_0x39aff1(0x25c)][_0x39aff1(0x2ed)](_0x41608e[_0x39aff1(0x3de)](_0x8948c0=>{const _0x25260e=_0x39aff1;var _0x5f32ba,_0x91563c;const {offsetX:_0x34190d,offsetY:_0x435dbd}=_0x8948c0,{x:_0x5584f8,y:_0xf84d9c}=_0x5612e6[_0x25260e(0x24f)](_0x59ca38[_0x25260e(0x3eb)][_0x25260e(0x33e)]([_0x34190d,_0x435dbd])),{scaleX:_0x32a709,scaleY:_0x3c2ab1}=_0x5612e6[_0x25260e(0x277)](),_0x112069=_0x5612e6[_0x25260e(0x31c)](_0x59ca38[_0x25260e(0x2c7)][_0x25260e(0x3a1)]),_0x254820=_0x5612e6[_0x25260e(0x3bf)](_0x59ca38[_0x25260e(0x3eb)]['FromArray']([_0x5584f8,_0xf84d9c]),_0x112069),_0x65ca48=_0x79c9cd['getCellPositionByOffset'](_0x34190d,_0x435dbd,_0x32a709,_0x3c2ab1,_0x254820);((_0x5f32ba=this[_0x25260e(0x1a9)])==null?void 0x0:_0x5f32ba[_0x25260e(0x201)])===_0x65ca48[_0x25260e(0x201)]&&((_0x91563c=this[_0x25260e(0x1a9)])==null?void 0x0:_0x91563c[_0x25260e(0x1fd)])===_0x65ca48['row']||this['_cursors'][_0x25260e(0x1d1)](_0x56812f=>{const _0x4be8ef=_0x25260e;_0x56812f[_0x4be8ef(0x407)](_0x65ca48);});},0x64));});}[_0x1d54d9(0x337)](_0x28d7f5,_0x5cf7f8){const _0x137f04=_0x1d54d9;var _0x4389ec;const _0x4f816a=(_0x4389ec=this[_0x137f04(0x178)][_0x137f04(0x259)]())==null?void 0x0:_0x4389ec[_0x137f04(0x40b)];if(!_0x4f816a)return;const _0x72136c=this['_getSheetObject']();if(!_0x72136c)return;this['_cursors']['forEach'](_0x26e9ee=>{const _0x48f801=_0x137f04;_0x26e9ee[_0x48f801(0x406)]();});const {scene:_0x9225fb}=_0x72136c,_0x4999ba=_0x1027bf(Array[_0x137f04(0x338)](_0x5cf7f8[_0x137f04(0x1b0)]()))[_0x137f04(0x41a)](_0x17a164=>{const _0x4e773f=_0x137f04,{color:_0x4629da,range:_0x41b773,name:_0x4a4c86,selection:_0x403236,sheetID:_0x97c38}=_0x17a164,{startColumn:_0x23e7c9,startRow:_0x69e124,endColumn:_0x33e063,endRow:_0x4e6254}=_0x41b773,_0x3f0743=_0x2c6e67[_0x4e773f(0x2f5)](_0x69e124,_0x23e7c9,_0x9225fb,_0x4f816a),_0x47ac67=_0x2c6e67[_0x4e773f(0x2f5)](_0x4e6254,_0x33e063,_0x9225fb,_0x4f816a),{columnHeaderHeightAndMarginTop:_0x10b506}=_0x4f816a,{startX:_0x27abb0,startY:_0x5538b0}=_0x3f0743,{endX:_0x3766bd,endY:_0x1da1f1}=_0x47ac67,_0x2788a1=_0x3766bd-_0x27abb0,_0x37c3e5=_0x1da1f1-_0x5538b0,_0xadc836={'labelPosition':_0x5538b0-_0x10b506>=_0x250e0c?_0x4e773f(0x30b):_0x4e773f(0x246),'sheetID':_0x97c38,'range':_0x41b773,'color':_0x4629da,'name':_0x4a4c86,'selection':_0x403236,'left':_0x27abb0,'top':_0x5538b0,'width':_0x2788a1,'height':_0x37c3e5,'evented':!0x1,'zIndex':_0x492326};return new _0x8d5a84(_0x4a4c86,_0xadc836);});_0x9225fb['addObjects'](_0x4999ba,_0x2a6788),this['_cursors']=new Set(_0x4999ba);}['_removeCollabCursors'](){const _0x206721=_0x1d54d9;var _0x416b5c;(_0x416b5c=this['_cursors'])==null||_0x416b5c[_0x206721(0x1d1)](_0x2779c0=>_0x2779c0[_0x206721(0x14a)]());}[_0x1d54d9(0x2cb)](){const _0x16b8e0=_0x1d54d9;return _0x2c6e67[_0x16b8e0(0x3b9)](this[_0x16b8e0(0x27f)][_0x16b8e0(0x3fd)],this['_context']);}};_0x47ed4b=_0x5c7e38([_0x4a99ce(0x1,_0x41608e['Inject'](_0x2c6e67[_0x1d54d9(0x266)])),_0x4a99ce(0x2,_0x41608e[_0x1d54d9(0x227)](_0x13f4ff)),_0x4a99ce(0x3,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x307)]))],_0x47ed4b);function _0x1027bf(_0x500928){const _0x5ac432=_0x1d54d9,_0x2fdecd=new Map();return _0x500928[_0x5ac432(0x1d1)](_0x853b08=>{const _0x5427eb=_0x5ac432;if(_0x2fdecd[_0x5427eb(0x41f)](_0x853b08[_0x5427eb(0x253)])){const _0x10115f=_0x2fdecd[_0x5427eb(0x38e)](_0x853b08[_0x5427eb(0x253)]);_0x10115f['name']+=',\x20'+_0x853b08['name'];}else _0x2fdecd[_0x5427eb(0x3b7)](_0x853b08[_0x5427eb(0x253)],_0x853b08);}),Array['from'](_0x2fdecd[_0x5ac432(0x1b0)]());}var _0x382645=Object[_0x1d54d9(0x369)],_0x4dbda8=(_0x1f2514,_0x31be1a,_0x4d9f50,_0xbdd402)=>{const _0x80229a=_0x1d54d9;for(var _0x35561c=_0xbdd402>0x1?void 0x0:_0xbdd402?_0x382645(_0x31be1a,_0x4d9f50):_0x31be1a,_0x40ea78=_0x1f2514[_0x80229a(0x15d)]-0x1,_0x19e196;_0x40ea78>=0x0;_0x40ea78--)(_0x19e196=_0x1f2514[_0x40ea78])&&(_0x35561c=_0x19e196(_0x35561c)||_0x35561c);return _0x35561c;},_0x965df3=(_0x5b4b55,_0x24a726)=>(_0x36aa38,_0x13bc07)=>_0x24a726(_0x36aa38,_0x13bc07,_0x5b4b55);let _0x1270f3=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x1c0cef,_0x3341bd,_0x3e928b,_0x294178,_0x543f30,_0x745b9d){const _0x6dddea=_0x1d54d9;super(),this[_0x6dddea(0x2ca)]=_0x1c0cef,this[_0x6dddea(0x14e)]=_0x3341bd,this[_0x6dddea(0x191)]=_0x3e928b,this['_messageService']=_0x294178,this[_0x6dddea(0x2f4)]=_0x543f30,this[_0x6dddea(0x390)]=_0x745b9d,this[_0x6dddea(0x3d9)](),this['_initEvent']();}[_0x1d54d9(0x3d9)](){const _0x46dd4a=_0x1d54d9;this[_0x46dd4a(0x416)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x27a6cf=_0x46dd4a;if(this[_0x27a6cf(0x14e)][_0x27a6cf(0x3c8)][_0x27a6cf(0x38b)])return this[_0x27a6cf(0x390)]['t'](_0x27a6cf(0x2ea));}));}[_0x1d54d9(0x283)](){const _0x458ca1=_0x1d54d9;this[_0x458ca1(0x416)](this[_0x458ca1(0x191)][_0x458ca1(0x25d)][_0x458ca1(0x431)](_0x4a3f74=>{const _0x31073a=_0x458ca1;_0x4a3f74['id']===_0x41402f['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x3ec05e[_0x31073a(0x292)]['Warning'],'content':this[_0x31073a(0x390)]['t']('collaboration.single-unit.warning')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x361)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x2b0)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)]['PERMISSION_DENIED']&&this[_0x31073a(0x2f4)][_0x31073a(0x181)]({'title':this['_localeService']['t'](_0x31073a(0x17b)),'content':this['_localeService']['t'](_0x31073a(0x387)),'type':_0x31073a(0x22c),'duration':0x0}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x1e9)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x204)],'content':this[_0x31073a(0x390)]['t']('collaboration.closeRoom')+'('+_0x4a3f74[_0x31073a(0x2d1)]+')'}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x2bb)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x2b0)],'content':this['_localeService']['t'](_0x4a3f74[_0x31073a(0x2d1)]||'')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x289)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e['MessageType'][_0x31073a(0x2b0)],'content':this[_0x31073a(0x390)]['t'](_0x31073a(0x249))}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x36b)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x204)],'content':this['_localeService']['t'](_0x31073a(0x199))}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x1af)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)]['Error'],'content':this['_localeService']['t'](_0x31073a(0x1fc))});}));}};_0x1270f3=_0x4dbda8([_0x965df3(0x0,_0x6166b9[_0x1d54d9(0x31e)]),_0x965df3(0x1,_0x41402f[_0x1d54d9(0x33c)]),_0x965df3(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x367)])),_0x965df3(0x3,_0x6166b9['IMessageService']),_0x965df3(0x4,_0x6166b9[_0x1d54d9(0x436)]),_0x965df3(0x5,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x377)]))],_0x1270f3);var _0x19338=Object[_0x1d54d9(0x369)],_0x220882=(_0x5d4062,_0x298b76,_0x90a99d,_0x532a3c)=>{const _0x3fcc63=_0x1d54d9;for(var _0x4807f4=_0x532a3c>0x1?void 0x0:_0x532a3c?_0x19338(_0x298b76,_0x90a99d):_0x298b76,_0x8465b0=_0x5d4062[_0x3fcc63(0x15d)]-0x1,_0x24aba9;_0x8465b0>=0x0;_0x8465b0--)(_0x24aba9=_0x5d4062[_0x8465b0])&&(_0x4807f4=_0x24aba9(_0x4807f4)||_0x4807f4);return _0x4807f4;},_0x2f7da3=(_0x3bf716,_0xe65617)=>(_0x23acd9,_0x24b5fe)=>_0xe65617(_0x23acd9,_0x24b5fe,_0x3bf716);let _0x3ffdc4=class extends _0x41608e['Disposable']{constructor(_0x5523a3,_0x1b554f,_0x3af100,_0x375465){const _0x164a10=_0x1d54d9;super(),_0x2af801(this,_0x164a10(0x1d6)),(this[_0x164a10(0x3e0)]=_0x5523a3,this['_httpService']=_0x1b554f,this[_0x164a10(0x29d)]=_0x3af100,this['_collaborationSessionService']=_0x375465,this[_0x164a10(0x37b)]());}[_0x1d54d9(0x37b)](){const _0x323a8c=_0x1d54d9;this[_0x323a8c(0x1b6)](),this[_0x323a8c(0x395)](),this['_monkeyPatchLogService'](),this[_0x323a8c(0x2ac)]();}[_0x1d54d9(0x2ac)](){const _0x237711=_0x1d54d9;this[_0x237711(0x416)](this[_0x237711(0x38c)]['socket$'][_0x237711(0x431)](_0x53680b=>{this['_memberID']=_0x53680b==null?void 0x0:_0x53680b['memberID'];}));}[_0x1d54d9(0x1b6)](){const _0x1bb738=_0x1d54d9,_0x4c9a67=_0x1c6abf=>{const _0x250500=_0x9ceb;var _0x227990;this[_0x250500(0x418)]('error',_0x250500(0x3bc)+_0x1c6abf['message']+_0x250500(0x30e)+_0x1c6abf[_0x250500(0x244)]+':'+_0x1c6abf[_0x250500(0x1d4)]+':'+_0x1c6abf[_0x250500(0x20b)]+'\x0a'+(((_0x227990=_0x1c6abf[_0x250500(0x22c)])==null?void 0x0:_0x227990[_0x250500(0x19e)])||''));};window[_0x1bb738(0x3e9)]('error',_0x4c9a67),this[_0x1bb738(0x416)](()=>{const _0x389669=_0x1bb738;window[_0x389669(0x1e7)](_0x389669(0x22c),_0x4c9a67);});}[_0x1d54d9(0x395)](){const _0xd6b7db=_0x1d54d9,_0x459f83=_0x4e0298=>{const _0x2831e8=_0x9ceb;this[_0x2831e8(0x418)](_0x2831e8(0x22c),_0x2831e8(0x413)+_0x4e0298['reason']);};window[_0xd6b7db(0x3e9)]('unhandledrejection',_0x459f83),this[_0xd6b7db(0x416)](()=>{const _0x50560b=_0xd6b7db;window[_0x50560b(0x1e7)](_0x50560b(0x392),_0x459f83);});}['_monkeyPatchLogService'](){const _0x387b73=_0x1d54d9,_0x3d958e=this[_0x387b73(0x29d)][_0x387b73(0x22c)][_0x387b73(0x23b)](this['_logService']);this['_logService'][_0x387b73(0x22c)]=(..._0x5d5fff)=>{const _0x465ba0=_0x387b73,_0x2046ef=_0x5d5fff[_0x465ba0(0x41a)](_0x1e0641=>_0x1e0641 instanceof Error?_0x1e0641[_0x465ba0(0x34a)]+'\x0a'+_0x1e0641[_0x465ba0(0x19e)]:String(_0x1e0641))[_0x465ba0(0x2fe)]('\x20');this[_0x465ba0(0x418)]('error',_0x465ba0(0x174)+_0x2046ef),_0x3d958e(..._0x5d5fff);},this[_0x387b73(0x416)](()=>{const _0x51300a=_0x387b73;this['_logService'][_0x51300a(0x22c)]=_0x3d958e;});}[_0x1d54d9(0x418)](_0x156c54,_0x5886a3){const _0x5c3b49=_0x1d54d9;try{const _0x547956={'userId':this[_0x5c3b49(0x1d6)],'logLabel':_0x156c54,'content':_0x5886a3};this[_0x5c3b49(0x1f2)]['post']('/universer-api/frontend/logs',{'body':_0x547956})[_0x5c3b49(0x252)](()=>{});}catch{}}};_0x3ffdc4=_0x220882([_0x2f7da3(0x0,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x2f7da3(0x1,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x2f7da3(0x2,_0x41608e['ILogService']),_0x2f7da3(0x3,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x27b)]))],_0x3ffdc4);const _0x247127=_0x1d54d9(0x42f),_0x4e5c93={};var _0x6889af=Object[_0x1d54d9(0x369)],_0x29f015=(_0x5ad0b4,_0xb4b19a,_0x305fd7,_0x4608be)=>{const _0x437482=_0x1d54d9;for(var _0x4f791c=_0x4608be>0x1?void 0x0:_0x4608be?_0x6889af(_0xb4b19a,_0x305fd7):_0xb4b19a,_0x3e4ecb=_0x5ad0b4[_0x437482(0x15d)]-0x1,_0xd1a753;_0x3e4ecb>=0x0;_0x3e4ecb--)(_0xd1a753=_0x5ad0b4[_0x3e4ecb])&&(_0x4f791c=_0xd1a753(_0x4f791c)||_0x4f791c);return _0x4f791c;},_0x267fa4=(_0x12defd,_0x446118)=>(_0x2946b6,_0x133fe8)=>_0x446118(_0x2946b6,_0x133fe8,_0x12defd);let _0x385043=class{constructor(_0x2b27c6,_0x15803d){const _0x300dd8=_0x1d54d9;this[_0x300dd8(0x3f1)]=_0x2b27c6,this['_renderManagerService']=_0x15803d;}[_0x1d54d9(0x228)](_0x48f3ba){const _0x336bcc=_0x1d54d9;this[_0x336bcc(0x29e)](_0x48f3ba),this[_0x336bcc(0x2a6)](_0x48f3ba);}[_0x1d54d9(0x153)](_0x4d20bb){const _0x28fff6=_0x1d54d9,{unitID:_0x3cd62c}=_0x4d20bb,_0x237d31=this[_0x28fff6(0x434)][_0x28fff6(0x317)](_0x3cd62c)[_0x28fff6(0x3e7)](_0x32e209[_0x28fff6(0x359)]),{redoCache:_0x4a2f11}=_0x237d31['getUndoRedoMutationParamsCache']();if(_0x4a2f11[_0x28fff6(0x15d)]===0x0)return _0x4d20bb;let _0x16b424=_0x41608e[_0x28fff6(0x2f6)][_0x28fff6(0x1f5)](_0x4d20bb[_0x28fff6(0x15b)][0x0]);for(let _0x2a1e6d=0x0;_0x2a1e6d<_0x4a2f11[_0x28fff6(0x15d)];_0x2a1e6d++){const _0x98adb4={'id':_0x28fff6(0x167),'params':{..._0x4a2f11[_0x2a1e6d]}},_0x23c0eb=this[_0x28fff6(0x3f1)][_0x28fff6(0x40a)](_0x16b424,_0x98adb4,!0x1);if(_0x44a289[_0x28fff6(0x285)](_0x23c0eb))throw _0x23c0eb['error'];_0x16b424=_0x23c0eb['m1Prime'];}return{..._0x41608e[_0x28fff6(0x2f6)][_0x28fff6(0x1f5)](_0x4d20bb),'mutations':[_0x16b424]};}[_0x1d54d9(0x29e)](_0x52501b){const _0x4208f8=_0x1d54d9,{unitID:_0x379335}=_0x52501b,_0x4f2d4f=this[_0x4208f8(0x434)][_0x4208f8(0x317)](_0x379335)[_0x4208f8(0x3e7)](_0x32e209[_0x4208f8(0x359)]),{undoCache:_0x538ef7,redoCache:_0x16eaca}=_0x4f2d4f[_0x4208f8(0x2c1)]();if(_0x538ef7['length']===0x0||_0x16eaca['length']===0x0)return;const _0x251637=[],_0x30fd82=[];let _0x27b2e3=_0x41608e[_0x4208f8(0x2f6)][_0x4208f8(0x1f5)](_0x52501b[_0x4208f8(0x15b)][0x0]),_0x879f97=_0x41608e[_0x4208f8(0x2f6)][_0x4208f8(0x1f5)](_0x52501b[_0x4208f8(0x15b)][0x0]);for(let _0x285d31=_0x538ef7[_0x4208f8(0x15d)]-0x1;_0x285d31>=0x0;_0x285d31--){const _0x313769={'id':_0x4208f8(0x167),'params':{..._0x538ef7[_0x285d31]}},_0x59ff07={'id':_0x4208f8(0x167),'params':{..._0x16eaca[_0x285d31]}},_0x4af416=this[_0x4208f8(0x3f1)][_0x4208f8(0x40a)](_0x27b2e3,_0x313769,!0x1),_0x20cc37=this[_0x4208f8(0x3f1)][_0x4208f8(0x40a)](_0x879f97,_0x59ff07,!0x1);if(_0x44a289[_0x4208f8(0x285)](_0x4af416))throw _0x4af416[_0x4208f8(0x22c)];if(_0x44a289['isTransformMutationFailure'](_0x20cc37))throw _0x20cc37[_0x4208f8(0x22c)];_0x251637[_0x4208f8(0x279)](_0x4af416[_0x4208f8(0x1b7)][_0x4208f8(0x373)]),_0x30fd82[_0x4208f8(0x279)](_0x20cc37[_0x4208f8(0x1b7)][_0x4208f8(0x373)]),_0x27b2e3=_0x4af416[_0x4208f8(0x348)],_0x879f97=_0x20cc37[_0x4208f8(0x348)];}_0x4f2d4f[_0x4208f8(0x306)]({'undoCache':_0x251637,'redoCache':_0x30fd82});}[_0x1d54d9(0x2a6)](_0x248e9c){const _0x382c83=_0x1d54d9,{unitID:_0x40ad23}=_0x248e9c,_0xbcce04=this[_0x382c83(0x434)][_0x382c83(0x317)](_0x40ad23)['with'](_0x32e209[_0x382c83(0x359)]),_0x1a6898=_0xbcce04[_0x382c83(0x399)]();if(_0x1a6898==null)return;const _0x5a578e=[{'id':_0x382c83(0x167),'params':{'unitId':_0x248e9c[_0x382c83(0x187)],'actions':null,'textRanges':[_0x1a6898]}}],_0x56aa24=this[_0x382c83(0x3f1)][_0x382c83(0x380)](_0x248e9c,_0x5a578e);if(!_0x44a289['isTransformMutationsWithChangesetSuccess'](_0x56aa24))throw _0x56aa24[_0x382c83(0x22c)];const _0x5d4251=_0x56aa24[_0x382c83(0x1b7)][0x0][_0x382c83(0x373)][_0x382c83(0x2ad)];Array[_0x382c83(0x3a0)](_0x5d4251)&&_0x5d4251['length']&&_0xbcce04[_0x382c83(0x1a7)](_0x5d4251[0x0]);}};_0x385043=_0x29f015([_0x267fa4(0x0,_0x44a289[_0x1d54d9(0x35d)]),_0x267fa4(0x1,_0x59ca38[_0x1d54d9(0x23f)])],_0x385043);var _0x56a642=Object['getOwnPropertyDescriptor'],_0x255716=(_0x1f5e7e,_0x4a75f9,_0x283e20,_0x31e4c9)=>{const _0x3b0fd5=_0x1d54d9;for(var _0x539eca=_0x31e4c9>0x1?void 0x0:_0x31e4c9?_0x56a642(_0x4a75f9,_0x283e20):_0x4a75f9,_0x4c3607=_0x1f5e7e[_0x3b0fd5(0x15d)]-0x1,_0x546927;_0x4c3607>=0x0;_0x4c3607--)(_0x546927=_0x1f5e7e[_0x4c3607])&&(_0x539eca=_0x546927(_0x539eca)||_0x539eca);return _0x539eca;},_0x3d9e07=(_0x1de59e,_0x440dc2)=>(_0x1afcea,_0x1e2543)=>_0x440dc2(_0x1afcea,_0x1e2543,_0x1de59e);let _0x5877a5=class{constructor(_0x3ca3f9,_0x1ccfe,_0x464d79){const _0x54b7d3=_0x1d54d9;this[_0x54b7d3(0x3e0)]=_0x3ca3f9,this[_0x54b7d3(0x3f1)]=_0x1ccfe,this[_0x54b7d3(0x2cc)]=_0x464d79;}[_0x1d54d9(0x303)](_0x52954c){const _0x373073=_0x1d54d9;this[_0x373073(0x3f4)](_0x52954c);}[_0x1d54d9(0x153)](_0x14d427){const _0x16f782=_0x1d54d9,{unitID:_0x32bacb}=_0x14d427,{collaboration:_0x96984a}=this[_0x16f782(0x2cc)]['getStateCache'](_0x32bacb);if(_0x96984a['length']===0x0)return _0x14d427;let _0x4412f9=_0x41608e[_0x16f782(0x2f6)][_0x16f782(0x1f5)](_0x14d427[_0x16f782(0x15b)][0x0]);for(let _0x1c609b=0x0;_0x1c609b<_0x96984a[_0x16f782(0x15d)];_0x1c609b++){const _0x3a4556={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x96984a[_0x1c609b][_0x16f782(0x216)],..._0x96984a[_0x1c609b][_0x16f782(0x42e)]}},_0x4ead98=this[_0x16f782(0x3f1)][_0x16f782(0x40a)](_0x4412f9,_0x3a4556,!0x1);if(_0x44a289[_0x16f782(0x285)](_0x4ead98))throw _0x4ead98['error'];_0x4412f9=_0x4ead98[_0x16f782(0x348)];}return{..._0x41608e[_0x16f782(0x2f6)][_0x16f782(0x1f5)](_0x14d427),'mutations':[_0x4412f9]};}[_0x1d54d9(0x3f4)](_0x3138fe){const _0x1ca257=_0x1d54d9,{unitID:_0x1eaed5}=_0x3138fe,{history:_0x3ab407,collaboration:_0x28eb01}=this[_0x1ca257(0x2cc)]['getStateCache'](_0x1eaed5);if(_0x3ab407[_0x1ca257(0x15d)]===0x0&&_0x28eb01[_0x1ca257(0x15d)]===0x0)return;const _0x39b18f=[],_0x2fff5=[];let _0x45687c=_0x41608e['Tools'][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]),_0x3ddf1c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe['mutations'][0x0]);for(let _0x319acc=_0x3ab407[_0x1ca257(0x15d)]-0x1;_0x319acc>=0x0;_0x319acc--){const _0x2c0e8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ab407[_0x319acc]['unitId'],..._0x3ab407[_0x319acc][_0x1ca257(0x270)]}},_0x26cef4={'id':_0x1ca257(0x167),'params':{'unitId':_0x3ab407[_0x319acc][_0x1ca257(0x216)],..._0x3ab407[_0x319acc][_0x1ca257(0x42e)]}},_0x5c6378=this[_0x1ca257(0x3f1)][_0x1ca257(0x40a)](_0x45687c,_0x2c0e8e,!0x1),_0x1f60f5=this['_transformService'][_0x1ca257(0x40a)](_0x3ddf1c,_0x26cef4,!0x1);if(_0x44a289['isTransformMutationFailure'](_0x5c6378))throw _0x5c6378[_0x1ca257(0x22c)];if(_0x44a289[_0x1ca257(0x285)](_0x1f60f5))throw _0x1f60f5[_0x1ca257(0x22c)];_0x39b18f[_0x1ca257(0x279)]({..._0x3ab407[_0x319acc],'undoState':_0x5c6378[_0x1ca257(0x1b7)][_0x1ca257(0x373)],'redoState':_0x1f60f5['m2Prime'][_0x1ca257(0x373)]}),_0x45687c=_0x5c6378[_0x1ca257(0x348)],_0x3ddf1c=_0x1f60f5[_0x1ca257(0x348)];}_0x45687c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]),_0x3ddf1c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]);for(let _0x4e9810=_0x28eb01[_0x1ca257(0x15d)]-0x1;_0x4e9810>=0x0;_0x4e9810--){const _0x57b223={'id':_0x1ca257(0x167),'params':{'unitId':_0x28eb01[_0x4e9810]['unitId'],..._0x28eb01[_0x4e9810][_0x1ca257(0x270)]}},_0x4b0975={'id':_0x1ca257(0x167),'params':{'unitId':_0x28eb01[_0x4e9810][_0x1ca257(0x216)],..._0x28eb01[_0x4e9810][_0x1ca257(0x42e)]}},_0x2254d6=this[_0x1ca257(0x3f1)]['transformMutation'](_0x45687c,_0x57b223,!0x1),_0x4f702e=this[_0x1ca257(0x3f1)]['transformMutation'](_0x3ddf1c,_0x4b0975,!0x1);if(_0x44a289[_0x1ca257(0x285)](_0x2254d6))throw _0x2254d6[_0x1ca257(0x22c)];if(_0x44a289[_0x1ca257(0x285)](_0x4f702e))throw _0x4f702e[_0x1ca257(0x22c)];_0x2fff5[_0x1ca257(0x279)]({..._0x28eb01[_0x4e9810],'undoState':_0x2254d6['m2Prime']['params'],'redoState':_0x4f702e[_0x1ca257(0x1b7)][_0x1ca257(0x373)]}),_0x45687c=_0x2254d6[_0x1ca257(0x348)],_0x3ddf1c=_0x4f702e[_0x1ca257(0x348)];}this['_docStateChangeManagerService'][_0x1ca257(0x422)](_0x1eaed5,{'history':_0x39b18f,'collaboration':_0x2fff5});}};_0x5877a5=_0x255716([_0x3d9e07(0x0,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x3d9e07(0x1,_0x44a289[_0x1d54d9(0x35d)]),_0x3d9e07(0x2,_0x41608e[_0x1d54d9(0x227)](_0x32e209['DocStateChangeManagerService']))],_0x5877a5);var _0x2c09a8=Object['getOwnPropertyDescriptor'],_0x9de1f3=(_0x4e6f67,_0x9189e3,_0x18c238,_0x252783)=>{const _0x4c826e=_0x1d54d9;for(var _0xf4bf58=_0x252783>0x1?void 0x0:_0x252783?_0x2c09a8(_0x9189e3,_0x18c238):_0x9189e3,_0x581f9f=_0x4e6f67[_0x4c826e(0x15d)]-0x1,_0x7e8e74;_0x581f9f>=0x0;_0x581f9f--)(_0x7e8e74=_0x4e6f67[_0x581f9f])&&(_0xf4bf58=_0x7e8e74(_0xf4bf58)||_0xf4bf58);return _0xf4bf58;},_0x256adc=(_0x37b9a9,_0x563a6a)=>(_0x35dd95,_0x514a68)=>_0x563a6a(_0x35dd95,_0x514a68,_0x37b9a9);let _0x1adf40=class{constructor(_0x2779dc,_0x42c6b7){const _0x3f0bbe=_0x1d54d9;this[_0x3f0bbe(0x3e0)]=_0x2779dc,this[_0x3f0bbe(0x3f1)]=_0x42c6b7;}[_0x1d54d9(0x16b)](_0x2bf127){const _0x67d513=_0x1d54d9;var _0x1a1f2f;const _0x278a6b=this[_0x67d513(0x3e0)][_0x67d513(0x38e)](_0x39889c['DocSelectionManagerService']),_0x4db5da=(_0x1a1f2f=_0x278a6b[_0x67d513(0x3b0)]())!=null?_0x1a1f2f:[];if(_0x4db5da[_0x67d513(0x15d)]===0x0)return;const _0x5fdd4e=_0x2bf127[_0x67d513(0x187)],_0x2a0f1c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5fdd4e,'actions':null,'textRanges':_0x4db5da}}],_0x23a9ea=this[_0x67d513(0x3f1)][_0x67d513(0x380)](_0x2bf127,_0x2a0f1c);if(!_0x44a289['isTransformMutationsWithChangesetSuccess'](_0x23a9ea))throw _0x23a9ea[_0x67d513(0x22c)];const _0x1cbf2b=_0x23a9ea[_0x67d513(0x1b7)][0x0][_0x67d513(0x373)][_0x67d513(0x2ad)];Array[_0x67d513(0x3a0)](_0x1cbf2b)&&_0x1cbf2b[_0x67d513(0x15d)]&&_0x278a6b[_0x67d513(0x3ef)](_0x1cbf2b,{'unitId':_0x5fdd4e,'subUnitId':_0x5fdd4e},!0x1);}};_0x1adf40=_0x9de1f3([_0x256adc(0x0,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x256adc(0x1,_0x44a289[_0x1d54d9(0x35d)])],_0x1adf40);var _0x16c0bb=Object[_0x1d54d9(0x369)],_0x18f285=(_0xd5201f,_0x1c1ce4,_0xbf8a80,_0x455d02)=>{const _0x577999=_0x1d54d9;for(var _0x3dff22=_0x455d02>0x1?void 0x0:_0x455d02?_0x16c0bb(_0x1c1ce4,_0xbf8a80):_0x1c1ce4,_0x52f84c=_0xd5201f[_0x577999(0x15d)]-0x1,_0x1a0b47;_0x52f84c>=0x0;_0x52f84c--)(_0x1a0b47=_0xd5201f[_0x52f84c])&&(_0x3dff22=_0x1a0b47(_0x3dff22)||_0x3dff22);return _0x3dff22;},_0x4d66a9=(_0xe70a1a,_0x4dc3ee)=>(_0x458953,_0x448d28)=>_0x4dc3ee(_0x458953,_0x448d28,_0xe70a1a);let _0x5234a9=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x54ecfc,_0x3454e2,_0xdf999d,_0x14af4b,_0x4e99ed,_0x2a31b5,_0x13561a,_0x1182a9){const _0x23653a=_0x1d54d9;super(),_0x2af801(this,_0x23653a(0x412),new _0x163839[(_0x23653a(0x1c5))](_0x41402f['CollaborationStatus'][_0x23653a(0x267)])),(this[_0x23653a(0x2cc)]=_0x54ecfc,this[_0x23653a(0x209)]=_0x3454e2,this[_0x23653a(0x38d)]=_0xdf999d,this[_0x23653a(0x3ad)]=_0x14af4b,this['_docTransformSelectionsService']=_0x4e99ed,this[_0x23653a(0x302)]=_0x2a31b5,this[_0x23653a(0x14f)]=_0x13561a,this[_0x23653a(0x390)]=_0x1182a9,this[_0x23653a(0x18a)]());}[_0x1d54d9(0x18a)](){const _0x36642e=_0x1d54d9;this['disposeWithMe'](this[_0x36642e(0x209)][_0x36642e(0x1a4)][_0x36642e(0x431)](_0x28ed20=>{const _0x3877a3=_0x36642e,_0x266093=this[_0x3877a3(0x2cc)][_0x3877a3(0x321)][_0x3877a3(0x431)](_0x384177=>{const _0x26848d=_0x3877a3;if(_0x384177==null)return;const {unitId:_0x69220d,redoState:_0x205521,commandId:_0x55ab1d}=_0x384177;if(_0x69220d!==_0x28ed20[_0x26848d(0x187)])return;const _0x538d66={'id':_0x55ab1d,'type':_0x41608e[_0x26848d(0x26e)][_0x26848d(0x150)],'params':{'unitId':_0x69220d,'actions':_0x205521[_0x26848d(0x284)],'textRanges':null}};_0x28ed20[_0x26848d(0x1c6)](_0x538d66);});if(_0x28ed20[_0x3877a3(0x416)](_0x266093),_0x28ed20 instanceof _0x41402f[_0x3877a3(0x3c5)]){const _0x2cdf4e={'onTransformIME':_0x30bcd7=>this[_0x3877a3(0x38d)][_0x3877a3(0x228)](_0x30bcd7),'onTransformState':_0x26ac54=>this[_0x3877a3(0x3ad)][_0x3877a3(0x303)](_0x26ac54),'onTransformSelections':_0x4335da=>this[_0x3877a3(0x20e)]['transformSelections'](_0x4335da),'onSyncEditingCollabCursor':_0x23ee19=>this[_0x3877a3(0x302)][_0x3877a3(0x3ed)](_0x23ee19),'onTransformRemoteChangesetByIMECache':_0x47117f=>this[_0x3877a3(0x38d)]['transformRemoteChangeset'](_0x47117f),'onTransformRemoteChangesetByStateCache':_0x5ed7b1=>this[_0x3877a3(0x3ad)]['transformRemoteChangeset'](_0x5ed7b1)};_0x28ed20['addHandlerCallback'](_0x2cdf4e);}}));}};_0x5234a9=_0x18f285([_0x4d66a9(0x0,_0x41608e['Inject'](_0x32e209['DocStateChangeManagerService'])),_0x4d66a9(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x404)])),_0x4d66a9(0x2,_0x41608e[_0x1d54d9(0x227)](_0x385043)),_0x4d66a9(0x3,_0x41608e[_0x1d54d9(0x227)](_0x5877a5)),_0x4d66a9(0x4,_0x41608e[_0x1d54d9(0x227)](_0x1adf40)),_0x4d66a9(0x5,_0x41608e[_0x1d54d9(0x227)](_0x1b17e2)),_0x4d66a9(0x6,_0x6166b9[_0x1d54d9(0x2f7)]),_0x4d66a9(0x7,_0x41608e['Inject'](_0x41608e['LocaleService']))],_0x5234a9);var _0xd9f64c=(_0x2818b4=>(_0x2818b4[_0x2818b4[_0x1d54d9(0x161)]=0x0]='UNDEFINED',_0x2818b4[_0x2818b4['OK']=0x1]='OK',_0x2818b4[_0x2818b4[_0x1d54d9(0x1a5)]=0x2]=_0x1d54d9(0x1a5),_0x2818b4[_0x2818b4['PERMISSION_DENIED']=0x3]=_0x1d54d9(0x293),_0x2818b4[_0x2818b4[_0x1d54d9(0x3fb)]=0x4]=_0x1d54d9(0x3fb),_0x2818b4[_0x2818b4[_0x1d54d9(0x16f)]=0x5]=_0x1d54d9(0x16f),_0x2818b4[_0x2818b4[_0x1d54d9(0x2ab)]=0x6]=_0x1d54d9(0x2ab),_0x2818b4[_0x2818b4['INVALID_ARGUMENT']=0x7]=_0x1d54d9(0x192),_0x2818b4[_0x2818b4['TOO_MANY_REQUESTS']=0x8]=_0x1d54d9(0x40c),_0x2818b4[_0x2818b4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x2818b4[_0x2818b4[_0x1d54d9(0x33f)]=0xa]=_0x1d54d9(0x33f),_0x2818b4[_0x2818b4[_0x1d54d9(0x3a2)]=0xb]=_0x1d54d9(0x3a2),_0x2818b4[_0x2818b4[_0x1d54d9(0x421)]=0xc]=_0x1d54d9(0x421),_0x2818b4[_0x2818b4[_0x1d54d9(0x18f)]=0xd]=_0x1d54d9(0x18f),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d0)]=0xe]=_0x1d54d9(0x2d0),_0x2818b4[_0x2818b4[_0x1d54d9(0x3f5)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2818b4[_0x2818b4['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1d54d9(0x1ec),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d2)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2818b4[_0x2818b4[_0x1d54d9(0x1bd)]=0x65]=_0x1d54d9(0x1bd),_0x2818b4[_0x2818b4[_0x1d54d9(0x15c)]=0xc9]=_0x1d54d9(0x15c),_0x2818b4[_0x2818b4[_0x1d54d9(0x151)]=0xca]=_0x1d54d9(0x151),_0x2818b4[_0x2818b4[_0x1d54d9(0x160)]=0x1389]=_0x1d54d9(0x160),_0x2818b4[_0x2818b4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1d54d9(0x3d3),_0x2818b4[_0x2818b4[_0x1d54d9(0x2fa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2818b4[_0x2818b4[_0x1d54d9(0x2a4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2818b4[_0x2818b4[_0x1d54d9(0x3f0)]=0x1b59]=_0x1d54d9(0x3f0),_0x2818b4[_0x2818b4[_0x1d54d9(0x397)]=0x1b5a]=_0x1d54d9(0x397),_0x2818b4[_0x2818b4[_0x1d54d9(0x1be)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2818b4[_0x2818b4[_0x1d54d9(0x286)]=0x1b5c]=_0x1d54d9(0x286),_0x2818b4[_0x2818b4['APPLY_DUPLICATED']=0x1b5d]=_0x1d54d9(0x33a),_0x2818b4[_0x2818b4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1d54d9(0x346),_0x2818b4[_0x2818b4[_0x1d54d9(0x425)]=0x2329]=_0x1d54d9(0x425),_0x2818b4[_0x2818b4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1d54d9(0x3ae),_0x2818b4[_0x2818b4[_0x1d54d9(0x3b1)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2818b4[_0x2818b4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d54d9(0x3d2),_0x2818b4[_0x2818b4[_0x1d54d9(0x295)]=0x232d]=_0x1d54d9(0x295),_0x2818b4[_0x2818b4[_0x1d54d9(0x385)]=0x2711]=_0x1d54d9(0x385),_0x2818b4[_0x2818b4[_0x1d54d9(0x164)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2818b4[_0x2818b4[_0x1d54d9(0x179)]=0x2713]=_0x1d54d9(0x179),_0x2818b4[_0x2818b4[_0x1d54d9(0x42c)]=0x2714]=_0x1d54d9(0x42c),_0x2818b4[_0x2818b4[_0x1d54d9(0x363)]=0x271a]=_0x1d54d9(0x363),_0x2818b4[_0x2818b4[_0x1d54d9(0x370)]=0x271b]=_0x1d54d9(0x370),_0x2818b4[_0x2818b4[_0x1d54d9(0x430)]=0x271c]=_0x1d54d9(0x430),_0x2818b4[_0x2818b4[_0x1d54d9(0x3d6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2818b4[_0x2818b4['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d54d9(0x238),_0x2818b4[_0x2818b4[_0x1d54d9(0x240)]=0x271f]=_0x1d54d9(0x240),_0x2818b4[_0x2818b4[_0x1d54d9(0x235)]=0x2720]=_0x1d54d9(0x235),_0x2818b4[_0x2818b4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d54d9(0x281),_0x2818b4[_0x2818b4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1d54d9(0x1eb),_0x2818b4[_0x2818b4[_0x1d54d9(0x1ae)]=0x2ee2]=_0x1d54d9(0x1ae),_0x2818b4[_0x2818b4[_0x1d54d9(0x42b)]=0x2ee3]=_0x1d54d9(0x42b),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d3)]=0x2ee4]=_0x1d54d9(0x2d3),_0x2818b4[_0x2818b4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1d54d9(0x156),_0x2818b4[_0x2818b4[_0x1d54d9(0x1e8)]=0x32c9]=_0x1d54d9(0x1e8),_0x2818b4[_0x2818b4[_0x1d54d9(0x311)]=0x32ca]=_0x1d54d9(0x311),_0x2818b4[_0x2818b4[_0x1d54d9(0x20d)]=0x32cb]=_0x1d54d9(0x20d),_0x2818b4[_0x2818b4[_0x1d54d9(0x40f)]=0x36b1]=_0x1d54d9(0x40f),_0x2818b4[_0x2818b4[_0x1d54d9(0x1a2)]=0x36b2]=_0x1d54d9(0x1a2),_0x2818b4[_0x2818b4['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1d54d9(0x1c9),_0x2818b4[_0x2818b4[_0x1d54d9(0x2bf)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2818b4[_0x2818b4[_0x1d54d9(0x22f)]=0x36b5]=_0x1d54d9(0x22f),_0x2818b4[_0x2818b4[_0x1d54d9(0x256)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x2818b4[_0x2818b4[_0x1d54d9(0x3b6)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x2818b4[_0x2818b4[_0x1d54d9(0x2f0)]=0x36b8]=_0x1d54d9(0x2f0),_0x2818b4[_0x2818b4[_0x1d54d9(0x195)]=0x3715]=_0x1d54d9(0x195),_0x2818b4[_0x2818b4[_0x1d54d9(0x3f8)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2818b4[_0x2818b4[_0x1d54d9(0x25f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2818b4[_0x2818b4['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1d54d9(0x221),_0x2818b4[_0x2818b4[_0x1d54d9(0x198)]=0x3a99]=_0x1d54d9(0x198),_0x2818b4[_0x2818b4[_0x1d54d9(0x21b)]=0x3a9a]=_0x1d54d9(0x21b),_0x2818b4[_0x2818b4[_0x1d54d9(0x278)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2818b4[_0x2818b4[_0x1d54d9(0x14b)]=0x3a9c]=_0x1d54d9(0x14b),_0x2818b4[_0x2818b4[_0x1d54d9(0x18e)]=0x3a9d]=_0x1d54d9(0x18e),_0x2818b4[_0x2818b4['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1d54d9(0x194),_0x2818b4[_0x2818b4[_0x1d54d9(0x200)]=0x3a9f]=_0x1d54d9(0x200),_0x2818b4[_0x2818b4[_0x1d54d9(0x3ea)]=0x3e81]=_0x1d54d9(0x3ea),_0x2818b4[_0x2818b4[_0x1d54d9(0x3c2)]=-0x1]='UNRECOGNIZED',_0x2818b4))(_0xd9f64c||{});function _0x31c493(_0x537cb5){const _0x50052b=_0x1d54d9;var _0x363b55,_0x46942c;const _0x2eba2c=(_0x363b55=_0x537cb5[_0x50052b(0x3af)])==null?void 0x0:_0x363b55['stage'],_0x1ce15b=((_0x46942c=_0x537cb5['stageInfo'])==null?void 0x0:_0x46942c['totalFormulasToCalculate'])||0x0;return _0x2eba2c===_0x150f25[_0x50052b(0x316)][_0x50052b(0x2d6)]&&_0x1ce15b>0x0;}function _0x49647d(_0x7e7b91){const _0x2f0d07=_0x1d54d9;return _0x7e7b91[_0x2f0d07(0x2d7)]===_0x150f25['FormulaExecutedStateType'][_0x2f0d07(0x3fa)];}var _0x4cd4ff=Object['getOwnPropertyDescriptor'],_0x39fc4f=(_0x106b66,_0x2a5bc8,_0x3e24b2,_0x23ff11)=>{const _0x402946=_0x1d54d9;for(var _0xb9b28c=_0x23ff11>0x1?void 0x0:_0x23ff11?_0x4cd4ff(_0x2a5bc8,_0x3e24b2):_0x2a5bc8,_0x25e535=_0x106b66[_0x402946(0x15d)]-0x1,_0x24cf77;_0x25e535>=0x0;_0x25e535--)(_0x24cf77=_0x106b66[_0x25e535])&&(_0xb9b28c=_0x24cf77(_0xb9b28c)||_0xb9b28c);return _0xb9b28c;},_0x5703e7=(_0x3b1a22,_0x55b6ed)=>(_0x282dcf,_0x31699c)=>_0x55b6ed(_0x282dcf,_0x31699c,_0x3b1a22);const _0x54269a=_0x1d54d9(0x2c5),_0x214d89=_0x1d54d9(0x21e),_0xd48869=_0x1d54d9(0x2f3);let _0x5a17a7=class extends _0x41608e['Disposable']{constructor(_0x3c5ce1,_0x56d549,_0x434267,_0xa0d82b,_0x489ae5,_0x2453e8,_0x1e7102){const _0x42d693=_0x1d54d9;super(),_0x2af801(this,_0x42d693(0x2ba),null),_0x2af801(this,_0x42d693(0x335),0x0),_0x2af801(this,'_currentUsage',0x0),_0x2af801(this,_0x42d693(0x2a2),[]),_0x2af801(this,_0x42d693(0x32e),0x0),(this[_0x42d693(0x14f)]=_0x3c5ce1,this['_commandService']=_0x56d549,this['_configService']=_0x434267,this[_0x42d693(0x1f2)]=_0xa0d82b,this[_0x42d693(0x378)]=_0x489ae5,this[_0x42d693(0x29d)]=_0x2453e8,this[_0x42d693(0x390)]=_0x1e7102,this[_0x42d693(0x25a)]());}[_0x1d54d9(0x25a)](){const _0x33dfba=_0x1d54d9;this[_0x33dfba(0x416)](this[_0x33dfba(0x186)][_0x33dfba(0x182)]((_0x6e9b64,_0x183323)=>{const _0x1dd1b2=_0x33dfba;var _0x561dfd;if(_0x6e9b64['id']!==_0x150f25[_0x1dd1b2(0x1b4)]['id'])return;const _0xe79386=_0x6e9b64[_0x1dd1b2(0x373)];if(!this[_0x1dd1b2(0x37e)]((_0x561dfd=_0xe79386['dirtyRanges'])!=null?_0x561dfd:[]))return;if(!this[_0x1dd1b2(0x42a)]())throw this['_checkAndWaitForCalculationPermission'](_0x6e9b64,_0x183323),this[_0x1dd1b2(0x19b)](),new _0x41608e['CanceledError']();})),this[_0x33dfba(0x416)](this[_0x33dfba(0x186)][_0x33dfba(0x415)]((_0xd531ef,_0x479ae0)=>{const _0x300b55=_0x33dfba;if(_0xd531ef['id']!==_0x150f25[_0x300b55(0x314)]['id'])return;const _0x48dcec=_0xd531ef[_0x300b55(0x373)];if(_0x31c493(_0x48dcec)){const _0xe9bb30=_0x41608e[_0x300b55(0x2ec)]();this[_0x300b55(0x2a2)]['push'](_0xe9bb30),this[_0x300b55(0x232)](_0xe9bb30);}else{if(_0x49647d(_0x48dcec)&&this['_taskIds'][_0x300b55(0x15d)]>0x0){const _0x39800c=this[_0x300b55(0x2a2)][_0x300b55(0x1b3)]();this[_0x300b55(0x3cd)](_0x39800c);}}}));}[_0x1d54d9(0x14a)](){const _0x187a77=_0x1d54d9;super[_0x187a77(0x14a)](),this[_0x187a77(0x1a6)](),this['_taskIds']=[],this[_0x187a77(0x1c1)]=0x0,this[_0x187a77(0x335)]=0x0,this[_0x187a77(0x32e)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x12350a,_0x3b298f){const _0x5f2b28=_0x1d54d9;for(let _0x55ce5d=0x0;_0x55ce5d<0x1e;_0x55ce5d++)try{if(await this['_getFormulaLimitStatus'](),this[_0x5f2b28(0x42a)]()){this[_0x5f2b28(0x3aa)](_0x12350a,_0x3b298f),this[_0x5f2b28(0x14f)][_0x5f2b28(0x181)]({'content':this['_localeService']['t'](_0x5f2b28(0x2ef)),'type':_0x3ec05e[_0x5f2b28(0x292)]['Success']});return;}await new Promise(_0x560a55=>{const _0x3d3d89=_0x5f2b28;this[_0x3d3d89(0x2ba)]=window[_0x3d3d89(0x2c6)](_0x560a55,0x3e8);});}catch(_0x10146f){this[_0x5f2b28(0x29d)][_0x5f2b28(0x22c)](_0x10146f);}this[_0x5f2b28(0x14f)][_0x5f2b28(0x181)]({'content':this[_0x5f2b28(0x390)]['t'](_0x5f2b28(0x1f4)),'type':_0x3ec05e[_0x5f2b28(0x292)][_0x5f2b28(0x204)]});}[_0x1d54d9(0x3aa)](_0x472ddd,_0x2216d9){const _0x4cdb58=_0x1d54d9;try{this[_0x4cdb58(0x186)][_0x4cdb58(0x39b)](_0x472ddd['id'],_0x472ddd['params'],_0x2216d9);}catch(_0x29c818){this['_logService']['error'](_0x29c818);}}[_0x1d54d9(0x32a)](_0x149538,_0x374689){const _0x504e75=_0x1d54d9;_0x374689<this[_0x504e75(0x32e)]||(this[_0x504e75(0x32e)]=_0x374689,this[_0x504e75(0x335)]=Number[_0x504e75(0x3e3)](_0x149538[_0x504e75(0x243)]),this['_currentUsage']=Number[_0x504e75(0x3e3)](_0x149538[_0x504e75(0x3c6)]));}async['_startCalculationLimit'](_0x2494e4){const _0x53d29f=_0x1d54d9;var _0x12bea3,_0x2974e1;const _0x619e8a=Date[_0x53d29f(0x215)]();try{const _0x40d8d5=((_0x12bea3=this[_0x53d29f(0x155)][_0x53d29f(0x2fd)](_0x41402f[_0x53d29f(0x3b5)]))==null?void 0x0:_0x12bea3[_0x53d29f(0x3d0)])||_0x214d89,_0x21e205=(await this['_httpService']['post'](_0x40d8d5,{'body':JSON['stringify']({'taskId':_0x2494e4})}))[_0x53d29f(0x2b8)];if(((_0x2974e1=_0x21e205[_0x53d29f(0x22c)])==null?void 0x0:_0x2974e1['code'])!==_0xd9f64c['OK'])return;this[_0x53d29f(0x32a)](_0x21e205['limitInfo'],_0x619e8a);}catch(_0xb5a876){this[_0x53d29f(0x29d)][_0x53d29f(0x22c)](_0xb5a876);}}async[_0x1d54d9(0x1c2)](_0x569a17){const _0x1543c1=_0x1d54d9;var _0x160f46,_0x33538d;const _0x2c5d02=Date[_0x1543c1(0x215)]();try{const _0x4554d9=((_0x160f46=this[_0x1543c1(0x155)][_0x1543c1(0x2fd)](_0x41402f[_0x1543c1(0x3b5)]))==null?void 0x0:_0x160f46[_0x1543c1(0x2d4)])||_0x54269a,_0x22be80=_0x569a17?_0x4554d9+'?taskId='+encodeURIComponent(_0x569a17):_0x4554d9,_0x4d4a7d=(await this['_httpService']['get'](_0x22be80))[_0x1543c1(0x2b8)];if(((_0x33538d=_0x4d4a7d['error'])==null?void 0x0:_0x33538d[_0x1543c1(0x298)])!==_0xd9f64c['OK'])return;this['_setFormulaLimitStatus'](_0x4d4a7d[_0x1543c1(0x21c)],_0x2c5d02);}catch(_0x4f9987){this['_logService'][_0x1543c1(0x22c)](_0x4f9987);}}async[_0x1d54d9(0x3cd)](_0x1978d3){const _0x415f08=_0x1d54d9;var _0x1266b1,_0x3c0dd0;const _0x3a2ad0=Date[_0x415f08(0x215)]();try{const _0x191515=((_0x1266b1=this[_0x415f08(0x155)][_0x415f08(0x2fd)](_0x41402f[_0x415f08(0x3b5)]))==null?void 0x0:_0x1266b1[_0x415f08(0x1e3)])||_0xd48869,_0x2b28a0=(await this['_httpService'][_0x415f08(0x212)](_0x191515,{'body':JSON[_0x415f08(0x356)]({'taskId':_0x1978d3})}))[_0x415f08(0x2b8)];if(((_0x3c0dd0=_0x2b28a0[_0x415f08(0x22c)])==null?void 0x0:_0x3c0dd0[_0x415f08(0x298)])!==_0xd9f64c['OK'])return;this[_0x415f08(0x32a)](_0x2b28a0['limitInfo'],_0x3a2ad0);}catch(_0x1cabf0){this[_0x415f08(0x29d)][_0x415f08(0x22c)](_0x1cabf0);}}['_checkCalculationAvailable'](){const _0x2c5092=_0x1d54d9;return this[_0x2c5092(0x335)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2c5092(0x1c1)]>0x0;}['_clearPolling'](){const _0x53d3ea=_0x1d54d9;this[_0x53d3ea(0x2ba)]&&(clearTimeout(this[_0x53d3ea(0x2ba)]),this[_0x53d3ea(0x2ba)]=null);}[_0x1d54d9(0x19b)](){const _0x1658b7=_0x1d54d9;this[_0x1658b7(0x14f)][_0x1658b7(0x181)]({'content':this[_0x1658b7(0x390)]['t'](_0x1658b7(0x1f0)),'type':_0x3ec05e[_0x1658b7(0x292)][_0x1658b7(0x389)]});}[_0x1d54d9(0x37e)](_0x4dcd47){const _0x4f797f=_0x1d54d9;for(const _0x28a238 of _0x4dcd47){const {unitId:_0x3873e6,sheetId:_0x11f61d,range:_0x17b136}=_0x28a238,_0x425e8d=this['_univerInstanceService'][_0x4f797f(0x376)](_0x3873e6);if(!_0x425e8d)continue;const _0x4b8d05=_0x425e8d[_0x4f797f(0x28f)](_0x11f61d);if(!_0x4b8d05)continue;const _0x20b47e=_0x4b8d05[_0x4f797f(0x375)]();for(let _0x1e4b90=_0x17b136[_0x4f797f(0x2f9)];_0x1e4b90<=_0x17b136[_0x4f797f(0x1cd)];_0x1e4b90++)for(let _0x3ca167=_0x17b136['startColumn'];_0x3ca167<=_0x17b136[_0x4f797f(0x358)];_0x3ca167++){const _0x428a82=_0x20b47e[_0x4f797f(0x1e2)](_0x1e4b90,_0x3ca167);if(_0x428a82&&(_0x41608e[_0x4f797f(0x3f3)](_0x428a82['f'])||_0x41608e[_0x4f797f(0x36c)](_0x428a82['si'])))return!0x0;}}return!0x1;}};_0x5a17a7=_0x39fc4f([_0x5703e7(0x0,_0x41608e[_0x1d54d9(0x227)](_0x6166b9[_0x1d54d9(0x2f7)])),_0x5703e7(0x1,_0x41608e['ICommandService']),_0x5703e7(0x2,_0x41608e[_0x1d54d9(0x1ce)]),_0x5703e7(0x3,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x5703e7(0x4,_0x41608e['IUniverInstanceService']),_0x5703e7(0x5,_0x41608e[_0x1d54d9(0x1dc)]),_0x5703e7(0x6,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x377)]))],_0x5a17a7);var _0x2b9e96=Object[_0x1d54d9(0x369)],_0x2a9521=(_0x27692c,_0x1f83e2,_0x3fa559,_0xf511e)=>{const _0x1bfda2=_0x1d54d9;for(var _0x5496a7=_0xf511e>0x1?void 0x0:_0xf511e?_0x2b9e96(_0x1f83e2,_0x3fa559):_0x1f83e2,_0x10363e=_0x27692c[_0x1bfda2(0x15d)]-0x1,_0x14d2dd;_0x10363e>=0x0;_0x10363e--)(_0x14d2dd=_0x27692c[_0x10363e])&&(_0x5496a7=_0x14d2dd(_0x5496a7)||_0x5496a7);return _0x5496a7;},_0x303125=(_0x2294b9,_0x442305)=>(_0x41ed15,_0x59693c)=>_0x442305(_0x41ed15,_0x59693c,_0x2294b9);let _0x3d059b=class extends _0x41608e['Disposable']{constructor(_0x12427f,_0x1a7c15,_0x193c9c){const _0x98b0f9=_0x1d54d9;super(),_0x2af801(this,'_cachedData',new Map()),_0x2af801(this,_0x98b0f9(0x2a8),new Map()),_0x2af801(this,_0x98b0f9(0x171),!0x1),(this['_configService']=_0x12427f,this[_0x98b0f9(0x1d5)]=_0x1a7c15,this['_revisionService']=_0x193c9c);}[_0x1d54d9(0x230)](){this['_disabled']=!0x0;}[_0x1d54d9(0x287)](){const _0x1621eb=_0x1d54d9;this[_0x1621eb(0x171)]=!0x1;}get[_0x1d54d9(0x3c8)](){const _0x36dda9=_0x1d54d9;return this[_0x36dda9(0x2a8)];}['dispose'](){const _0x4799a9=_0x1d54d9;this[_0x4799a9(0x176)]()['then'](()=>super[_0x4799a9(0x14a)]());}async[_0x1d54d9(0x271)](_0x57a9f0){const _0x52d1e9=_0x1d54d9;return this[_0x52d1e9(0x171)]?null:this[_0x52d1e9(0x1d5)]['getItem'](_0x41402f[_0x52d1e9(0x27e)](_0x57a9f0));}async[_0x1d54d9(0x274)](_0x14b462,_0x5d9904){const _0x244b3d=_0x1d54d9;return!!this[_0x244b3d(0x1d5)][_0x244b3d(0x349)](_0x14b462,_0x5d9904);}[_0x1d54d9(0x26d)](_0x9a247b,_0x188aec,_0x2cf6e4,_0x3bea18){const _0x2a2501=_0x1d54d9,_0x390a14=this[_0x2a2501(0x213)]['getCurrentRevOfUnit'](_0x9a247b);this[_0x2a2501(0x1f9)]['set'](_0x9a247b,{'unitID':_0x9a247b,'type':_0x188aec,'awaitingChangeset':_0x2cf6e4,'mutations':_0x3bea18,'rev':_0x390a14}),this['_saveTaskMap']['has'](_0x9a247b)||this['_scheduleSaving'](_0x9a247b);}[_0x1d54d9(0x1a1)](_0x490b2a){const _0x4de346=_0x1d54d9,_0x5b0875=this[_0x4de346(0x1f3)]();_0x5b0875===0x0?this[_0x4de346(0x294)](_0x490b2a):this[_0x4de346(0x2a8)][_0x4de346(0x3b7)](_0x490b2a,setTimeout(()=>this['_saveCache'](_0x490b2a),_0x5b0875));}[_0x1d54d9(0x1f3)](){const _0x212f0d=_0x1d54d9;var _0x45138d;return(_0x45138d=this['_configService'][_0x212f0d(0x2fd)](_0x41402f[_0x212f0d(0x35a)]))!=null?_0x45138d:_0x41402f['LOCAL_CACHE_INTERVAL'];}[_0x1d54d9(0x294)](_0x132fa7){const _0x165996=_0x1d54d9,_0x21af89=this[_0x165996(0x2a8)][_0x165996(0x38e)](_0x132fa7);return _0x21af89!==void 0x0&&window[_0x165996(0x394)](_0x21af89),this[_0x165996(0x1d5)][_0x165996(0x349)](_0x41402f['getLocalCacheKey'](_0x132fa7),this['_cachedData'][_0x165996(0x38e)](_0x132fa7))['then'](()=>this[_0x165996(0x2a8)][_0x165996(0x35c)](_0x132fa7));}async[_0x1d54d9(0x176)](){const _0x3b5961=_0x1d54d9,_0x240d2d=[];this[_0x3b5961(0x2a8)][_0x3b5961(0x1d1)]((_0x2ac4ba,_0x3cc3f9)=>{window['clearTimeout'](_0x2ac4ba),_0x240d2d['push'](this['_saveCache'](_0x3cc3f9)['then'](()=>{const _0x4ece3b=_0x9ceb;this[_0x4ece3b(0x2a8)][_0x4ece3b(0x35c)](_0x3cc3f9);}));}),await Promise['all'](_0x240d2d);}};_0x3d059b=_0x2a9521([_0x303125(0x0,_0x41608e[_0x1d54d9(0x1ce)]),_0x303125(0x1,_0x41608e[_0x1d54d9(0x1b9)]),_0x303125(0x2,_0x41608e[_0x1d54d9(0x227)](_0x44a289['RevisionService']))],_0x3d059b);class _0xc24a22 extends _0x41608e['RxDisposable']{constructor(){const _0xc2e8d1=_0x1d54d9;super(),_0x2af801(this,_0xc2e8d1(0x1c3)),this[_0xc2e8d1(0x1c3)]=_0x163839[_0xc2e8d1(0x263)](window,_0xc2e8d1(0x3e4))[_0xc2e8d1(0x18b)](_0x163839[_0xc2e8d1(0x1e4)](this[_0xc2e8d1(0x1bc)]),_0x163839[_0xc2e8d1(0x170)](0x1),_0x163839[_0xc2e8d1(0x34b)](void 0x0));}[_0x1d54d9(0x21a)](_0x3472f4,_0x4dc94d,_0x1390f6=!0x1){const _0x4d0fcf=_0x1d54d9,_0x529c76=new URL(window[_0x4d0fcf(0x1fa)][_0x4d0fcf(0x22d)]);_0x529c76[_0x4d0fcf(0x30f)][_0x4d0fcf(0x3b7)](_0x3472f4,_0x4dc94d),_0x1390f6?window['history'][_0x4d0fcf(0x2a7)]('','',_0x529c76['toString']()):window[_0x4d0fcf(0x24d)]['pushState']('','',_0x529c76[_0x4d0fcf(0x2cd)]());}['removeParam'](_0x4e5589,_0x564f3e=!0x1){const _0x1d54c2=_0x1d54d9,_0x41eaed=new URL(window[_0x1d54c2(0x1fa)][_0x1d54c2(0x22d)]);_0x41eaed[_0x1d54c2(0x30f)]['delete'](_0x4e5589),_0x564f3e?window['history'][_0x1d54c2(0x2a7)]('','',_0x41eaed[_0x1d54c2(0x2cd)]()):window[_0x1d54c2(0x24d)][_0x1d54c2(0x296)]('','',_0x41eaed[_0x1d54c2(0x2cd)]());}[_0x1d54d9(0x19c)](_0x15d49b){const _0x3fd48f=_0x1d54d9;var _0x197243;return(_0x197243=new URL(window[_0x3fd48f(0x1fa)]['href'])[_0x3fd48f(0x30f)]['get'](_0x15d49b))!=null?_0x197243:void 0x0;}}var _0x510e57=Object[_0x1d54d9(0x3e8)],_0x5498d2=Object['getOwnPropertyDescriptor'],_0xe9f21d=(_0x15e5d3,_0x13a7bb,_0x240f9d)=>_0x13a7bb in _0x15e5d3?_0x510e57(_0x15e5d3,_0x13a7bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x240f9d}):_0x15e5d3[_0x13a7bb]=_0x240f9d,_0x42befa=(_0x3fd090,_0x57659d,_0x52c5c4,_0x4a17fa)=>{const _0x3e8f8d=_0x1d54d9;for(var _0x1004d4=_0x4a17fa>0x1?void 0x0:_0x4a17fa?_0x5498d2(_0x57659d,_0x52c5c4):_0x57659d,_0x39439d=_0x3fd090[_0x3e8f8d(0x15d)]-0x1,_0x4c43e9;_0x39439d>=0x0;_0x39439d--)(_0x4c43e9=_0x3fd090[_0x39439d])&&(_0x1004d4=_0x4c43e9(_0x1004d4)||_0x1004d4);return _0x1004d4;},_0x17e933=(_0x208d2d,_0x4db3d9)=>(_0xa2d9,_0x5a2d28)=>_0x4db3d9(_0xa2d9,_0x5a2d28,_0x208d2d),_0x37f2c9=(_0x2cd933,_0x53573c,_0x287876)=>_0xe9f21d(_0x2cd933,_0x53573c+'',_0x287876);const _0x1bd38c=_0x1d54d9(0x435);_0x4f91bb[_0x1d54d9(0x29a)]=class extends _0x41608e['Plugin']{constructor(_0x3e3dc9=_0x4e5c93,_0x5f24f2,_0x38df31,_0x2aa052){const _0x110cd5=_0x1d54d9;super(),this[_0x110cd5(0x197)]=_0x3e3dc9,this[_0x110cd5(0x434)]=_0x5f24f2,this[_0x110cd5(0x3e0)]=_0x38df31,this[_0x110cd5(0x155)]=_0x2aa052;const {..._0x3f51f9}=_0x41608e[_0x110cd5(0x35e)]({},_0x4e5c93,this[_0x110cd5(0x197)]);this[_0x110cd5(0x155)][_0x110cd5(0x15f)](_0x247127,_0x3f51f9);}['onStarting'](){const _0xa1321c=_0x1d54d9;this[_0xa1321c(0x19d)](),this[_0xa1321c(0x342)]();}[_0x1d54d9(0x30a)](){const _0x1159e1=_0x1d54d9;this[_0x1159e1(0x3ac)]();}[_0x1d54d9(0x19d)](){const _0xb648e5=_0x1d54d9;var _0x941820;const _0x2d8212=[[_0x1fb581],[_0x5a17a7],[_0x1adf40],[_0x385043],[_0x5877a5],[_0x1b17e2],[_0x49794a,{'useClass':_0xc24a22}],[_0x12ee65[_0xb648e5(0x409)],{'useClass':_0x12ee65[_0xb648e5(0x2f2)]}],[_0x41402f[_0xb648e5(0x33c)],{'useClass':_0x3d059b}],[_0x4f91bb[_0xb648e5(0x38f)]],[_0x5234a9],[_0x1270f3],[_0x13f4ff],[_0x7d3f8b],[_0x4f91bb['CollaborationDataLoaderController']]];this[_0xb648e5(0x197)]['enableFrontendLog']&&_0x2d8212['push']([_0x3ffdc4]),_0x41608e[_0xb648e5(0x300)](this[_0xb648e5(0x3e0)],_0x41608e[_0xb648e5(0x1df)](_0x2d8212,(_0x941820=this[_0xb648e5(0x197)])==null?void 0x0:_0x941820[_0xb648e5(0x2a5)]));}[_0x1d54d9(0x3ac)](){const _0x326e6d=_0x1d54d9;this['disposeWithMe'](this[_0x326e6d(0x434)][_0x326e6d(0x366)](_0x41608e[_0x326e6d(0x3ee)][_0x326e6d(0x14c)],[_0x4b0629])),this[_0x326e6d(0x416)](this[_0x326e6d(0x434)][_0x326e6d(0x366)](_0x41608e[_0x326e6d(0x3ee)][_0x326e6d(0x18c)],[_0x47ed4b]));}[_0x1d54d9(0x342)](){const _0x402745=_0x1d54d9;_0x41608e[_0x402745(0x2e9)](this[_0x402745(0x3e0)],[[_0x13f4ff],[_0x4f91bb['DesktopCollaborationStatusDisplayController']],[_0x5234a9],[_0x1270f3],[_0x4f91bb[_0x402745(0x22b)]],[_0x5a17a7]]),this[_0x402745(0x197)][_0x402745(0x218)]&&_0x41608e['touchDependencies'](this['_injector'],[[_0x3ffdc4]]);}},_0x37f2c9(_0x4f91bb[_0x1d54d9(0x29a)],_0x1d54d9(0x2bd),_0x1bd38c),_0x4f91bb[_0x1d54d9(0x29a)]=_0x42befa([_0x41608e[_0x1d54d9(0x180)](_0x41402f['UniverCollaborationClientPlugin']),_0x17e933(0x1,_0x59ca38['IRenderManagerService']),_0x17e933(0x2,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x17e933(0x3,_0x41608e['IConfigService'])],_0x4f91bb['UniverCollaborationClientUIPlugin']);var _0x492bb9=Object[_0x1d54d9(0x369)],_0x35ce7f=(_0x33ee79,_0x357ac5,_0x5c34b4,_0x5512a0)=>{const _0x1134b3=_0x1d54d9;for(var _0x1c09fe=_0x5512a0>0x1?void 0x0:_0x5512a0?_0x492bb9(_0x357ac5,_0x5c34b4):_0x357ac5,_0x86c630=_0x33ee79[_0x1134b3(0x15d)]-0x1,_0x265dcd;_0x86c630>=0x0;_0x86c630--)(_0x265dcd=_0x33ee79[_0x86c630])&&(_0x1c09fe=_0x265dcd(_0x1c09fe)||_0x1c09fe);return _0x1c09fe;},_0x420152=(_0x163bf1,_0x4a2ef9)=>(_0x5b8b4e,_0x576312)=>_0x4a2ef9(_0x5b8b4e,_0x576312,_0x163bf1);_0x4f91bb[_0x1d54d9(0x1ef)]=class extends _0x41402f['CollaborationSocketService']{constructor(_0x2d1ad3,_0x372d05,_0x5d4618,_0xad4182,_0x22793b){super(_0x2d1ad3,_0x372d05,_0x5d4618,_0xad4182,_0x22793b);}async[_0x1d54d9(0x1ad)](_0x3a618f){const _0x1b3a9b=_0x1d54d9,_0x396f10=await this[_0x1b3a9b(0x2bc)](),_0x4f628=this[_0x1b3a9b(0x36d)](_0x3a618f,_0x396f10);return this[_0x1b3a9b(0x40d)](_0x4f628);}['_createSocketURL'](_0x4342e0,_0x5d758f){const _0x256188=_0x1d54d9,_0x1525ca=typeof window>'u'?new URL(_0x4342e0):new URL(_0x4342e0,window[_0x256188(0x1fa)]['origin']);_0x1525ca[_0x256188(0x30f)]['set'](_0x256188(0x327),_0x5d758f);const _0x4f7f24=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x256188(0x17d)]);return _0x4f7f24[_0x256188(0x38e)](_0x256188(0x18d))&&_0x1525ca['searchParams'][_0x256188(0x3b7)](_0x256188(0x18d),_0x4f7f24['get'](_0x256188(0x18d))),_0x1525ca['toString']();}async[_0x1d54d9(0x2bc)](){const _0x21139c=_0x1d54d9;var _0x463bf2,_0x354b64,_0x1bece5;const _0x312d7e=this[_0x21139c(0x155)][_0x21139c(0x2fd)](_0x41402f[_0x21139c(0x3b5)]),_0x37f708=(_0x463bf2=_0x312d7e==null?void 0x0:_0x312d7e['wsSessionTicketUrl'])!=null?_0x463bf2:_0x41402f[_0x21139c(0x2ff)];return(_0x1bece5=(_0x354b64=(await this['_httpService'][_0x21139c(0x38e)](_0x37f708,{'headers':{'Content-Type':_0x21139c(0x308)}}))[_0x21139c(0x2b8)])==null?void 0x0:_0x354b64['ticket'])!=null?_0x1bece5:'';}},_0x4f91bb['BrowserCollaborationSocketService']=_0x35ce7f([_0x420152(0x0,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x420152(0x1,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x420152(0x2,_0x41608e['IConfigService']),_0x420152(0x3,_0x41608e[_0x1d54d9(0x1dc)]),_0x420152(0x4,_0x44a289[_0x1d54d9(0x185)])],_0x4f91bb[_0x1d54d9(0x1ef)]);var _0x3b73a7=Object[_0x1d54d9(0x369)],_0x1d3fe9=(_0x4d7177,_0x3c73ae,_0xc762b5,_0x392005)=>{for(var _0x3f21d5=_0x392005>0x1?void 0x0:_0x392005?_0x3b73a7(_0x3c73ae,_0xc762b5):_0x3c73ae,_0x440235=_0x4d7177['length']-0x1,_0x45d2f7;_0x440235>=0x0;_0x440235--)(_0x45d2f7=_0x4d7177[_0x440235])&&(_0x3f21d5=_0x45d2f7(_0x3f21d5)||_0x3f21d5);return _0x3f21d5;},_0x14ed15=(_0x4fe46e,_0x3bacbc)=>(_0x2fa083,_0x1aaf62)=>_0x3bacbc(_0x2fa083,_0x1aaf62,_0x4fe46e);_0x4f91bb[_0x1d54d9(0x428)]=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x4d76bb,_0x2ccee7,_0x45ad86){const _0x54c75a=_0x1d54d9;super(),this['_instanceService']=_0x4d76bb,this[_0x54c75a(0x1f2)]=_0x2ccee7,this[_0x54c75a(0x155)]=_0x45ad86;}async[_0x1d54d9(0x2de)](_0x2b4de1,_0x46821e,_0x1fd17e,..._0x118759){const _0x1aa7eb=_0x1d54d9;var _0x2c8f3e,_0x5f58d8,_0x596fb4,_0x24e48f;const _0x518490=this['_instanceService'][_0x1aa7eb(0x353)]();if(!_0x518490)throw new Error(_0x1aa7eb(0x21f));const _0x37ace2=((_0x2c8f3e=this['_configService']['getConfig'](_0x41402f[_0x1aa7eb(0x211)]))!=null?_0x2c8f3e:_0x41402f[_0x1aa7eb(0x1fe)])+'/'+_0x2b4de1+'/run/'+_0x46821e,_0x41c12f=new URL(window['location'][_0x1aa7eb(0x22d)]),_0x88c1d9={'scriptId':_0x2b4de1,'runId':(_0x5f58d8=_0x41c12f[_0x1aa7eb(0x30f)]['get'](_0x1aa7eb(0x18d)))!=null?_0x5f58d8:'','function':_0x46821e,'unitId':_0x518490[_0x1aa7eb(0x2e2)](),'argsOfFunction':JSON[_0x1aa7eb(0x356)](_0x118759),'invokeId':(_0x596fb4=_0x1fd17e[_0x1aa7eb(0x15e)])!=null?_0x596fb4:'','executionId':(_0x24e48f=_0x1fd17e['executionId'])!=null?_0x24e48f:''};try{const _0x4e2eba=await this[_0x1aa7eb(0x1f2)][_0x1aa7eb(0x212)](_0x37ace2,{'body':_0x88c1d9});return _0x4e2eba[_0x1aa7eb(0x2b8)][_0x1aa7eb(0x22c)]&&_0x4e2eba[_0x1aa7eb(0x2b8)][_0x1aa7eb(0x22c)][_0x1aa7eb(0x298)]!==_0xd9f64c['OK']?_0x1aa7eb(0x3c7):_0x4e2eba['body']['result'];}catch{return _0x1aa7eb(0x3c7);}}},_0x4f91bb[_0x1d54d9(0x428)]=_0x1d3fe9([_0x14ed15(0x0,_0x41608e['IUniverInstanceService']),_0x14ed15(0x1,_0x41608e['Inject'](_0x12ee65[_0x1d54d9(0x2f8)])),_0x14ed15(0x2,_0x41608e['IConfigService'])],_0x4f91bb['RemoteUniscriptService']);const _0x57bb34=0x7530,_0x34c232=_0x1d54d9(0x22e);class _0x155ac3 extends _0x41608e[_0x1d54d9(0x38a)]{constructor(){const _0x2b337e=_0x1d54d9;super(),_0x2af801(this,'_id',_0x41608e['generateRandomId']()),_0x2af801(this,'_selfUnitIDs',new Set()),_0x2af801(this,'_unitOnClients',new Map()),_0x2af801(this,_0x2b337e(0x272),null),_0x2af801(this,_0x2b337e(0x433),new Map()),_0x2af801(this,_0x2b337e(0x3d1),new Map()),this[_0x2b337e(0x37b)]();}[_0x1d54d9(0x14a)](){const _0x25873d=_0x1d54d9;super[_0x25873d(0x14a)](),this['_clearOtherTimers'][_0x25873d(0x1d1)]((_0x36e780,_0x579b15)=>this[_0x25873d(0x231)](_0x579b15)),this[_0x25873d(0x272)]&&window[_0x25873d(0x20a)](this[_0x25873d(0x272)]);}[_0x1d54d9(0x32d)](_0x27da5e){const _0xa1f8a=_0x1d54d9;return this[_0xa1f8a(0x3db)](_0x27da5e)['pipe'](_0x163839[_0xa1f8a(0x414)]());}[_0x1d54d9(0x305)](_0x378e89){const _0x3b82fd=_0x1d54d9;this['_selfUnitIDs'][_0x3b82fd(0x38b)]===0x0&&this[_0x3b82fd(0x340)](),this[_0x3b82fd(0x276)][_0x3b82fd(0x239)](_0x378e89),this[_0x3b82fd(0x403)]({'type':0x0,'memberID':this[_0x3b82fd(0x26a)],'unitIDs':[_0x378e89],'isForwarded':!0x1});}['disposeUnit'](_0x2590a2){const _0x42acab=_0x1d54d9;this['_selfUnitIDs'][_0x42acab(0x35c)](_0x2590a2),this['_selfUnitIDs'][_0x42acab(0x38b)]===0x0&&this[_0x42acab(0x272)]&&window[_0x42acab(0x20a)](this[_0x42acab(0x272)]);}[_0x1d54d9(0x37b)](){const _0x53b907=_0x1d54d9;this[_0x53b907(0x416)](_0x41608e[_0x53b907(0x3c4)](_0x163839['fromEvent'](window,_0x53b907(0x1dd))[_0x53b907(0x431)](_0x3900c0=>{const _0x589308=_0x53b907;if(_0x3900c0[_0x589308(0x419)]!==_0x34c232||!_0x3900c0['newValue'])return;const _0x17a025=JSON['parse'](_0x3900c0[_0x589308(0x1e6)]);this['_handleEvent'](_0x17a025);}))),window[_0x53b907(0x3e9)](_0x53b907(0x39a),()=>this[_0x53b907(0x403)]({'type':0x1,'memberID':this[_0x53b907(0x26a)],'unitIDs':Array[_0x53b907(0x338)](this[_0x53b907(0x276)])}));}[_0x1d54d9(0x163)](_0x312e01){const _0x340a40=_0x1d54d9;switch(_0x312e01[_0x340a40(0x1d2)]){case 0x0:this[_0x340a40(0x17a)](_0x312e01);break;case 0x1:this[_0x340a40(0x24e)](_0x312e01);break;case 0x2:this[_0x340a40(0x2d5)](_0x312e01);break;}}['_handleJoinEvent'](_0x60eae5){const _0x3d779b=_0x1d54d9,{unitIDs:_0x303193,memberID:_0x229644,isForwarded:_0x231036}=_0x60eae5;_0x303193[_0x3d779b(0x1d1)](_0x640d6a=>{const _0x1da2a3=_0x3d779b;if(!_0x231036&&this['_unitOnClients'][_0x1da2a3(0x41f)](_0x640d6a)&&this[_0x1da2a3(0x3db)](_0x640d6a)[_0x1da2a3(0x34e)](_0x41402f[_0x1da2a3(0x237)]['OTHER_CLIENTS_EDITING']),!this[_0x1da2a3(0x345)][_0x1da2a3(0x41f)](_0x640d6a)||!this[_0x1da2a3(0x345)]['get'](_0x640d6a)[_0x1da2a3(0x41f)](_0x229644)){const _0x47900b=this[_0x1da2a3(0x345)][_0x1da2a3(0x38e)](_0x640d6a)||new Set();_0x47900b['add'](_0x229644),this[_0x1da2a3(0x345)][_0x1da2a3(0x3b7)](_0x640d6a,_0x47900b),this[_0x1da2a3(0x323)](_0x229644);}}),_0x231036||this[_0x3d779b(0x403)]({'type':0x0,'memberID':this[_0x3d779b(0x26a)],'unitIDs':[...this[_0x3d779b(0x276)]],'isForwarded':!0x0});}[_0x1d54d9(0x323)](_0x170662){const _0x464b99=_0x1d54d9;this[_0x464b99(0x231)](_0x170662);const _0xf2c2be=window[_0x464b99(0x2c6)](()=>{const _0x18dc2d=_0x464b99;this[_0x18dc2d(0x345)][_0x18dc2d(0x1d1)](_0x15747a=>{const _0x4df646=_0x18dc2d;_0x15747a[_0x4df646(0x35c)](_0x170662);});},_0x57bb34*0x2);this[_0x464b99(0x433)][_0x464b99(0x3b7)](_0x170662,_0xf2c2be);}[_0x1d54d9(0x231)](_0x456d63){const _0x16c32e=_0x1d54d9;if(this[_0x16c32e(0x433)][_0x16c32e(0x41f)](_0x456d63)){const _0x1cf13c=this[_0x16c32e(0x433)][_0x16c32e(0x38e)](_0x456d63);_0x1cf13c&&window[_0x16c32e(0x394)](_0x1cf13c),this[_0x16c32e(0x433)][_0x16c32e(0x3b7)](_0x456d63,null);}}['_handleLeaveEvent'](_0x362b5f){const _0x234de8=_0x1d54d9,{memberID:_0x25e889,unitIDs:_0x218c2c}=_0x362b5f;_0x218c2c[_0x234de8(0x1d1)](_0x20b06b=>{const _0x1674cd=_0x234de8;var _0x1ecb51;const _0x2f1d3f=this['_unitOnClients']['get'](_0x20b06b);_0x2f1d3f&&(_0x2f1d3f[_0x1674cd(0x35c)](_0x25e889),(_0x1ecb51=this[_0x1674cd(0x3db)](_0x20b06b))==null||_0x1ecb51[_0x1674cd(0x34e)](_0x2f1d3f[_0x1674cd(0x38b)]===0x0?_0x41402f['UnitStatus'][_0x1674cd(0x1b2)]:_0x41402f['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x234de8(0x231)](_0x25e889);}['_handleHeartbeatEvent'](_0x2448ab){const _0x6015b0=_0x1d54d9;this['_scheduleClearOtherTimer'](_0x2448ab[_0x6015b0(0x26f)]);}['_send'](_0x2ee3ef){const _0x1db313=_0x1d54d9;localStorage['setItem'](_0x34c232,JSON[_0x1db313(0x356)](_0x2ee3ef));}[_0x1d54d9(0x340)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x28b63a=_0x9ceb;this['_send']({'type':0x2,'memberID':this[_0x28b63a(0x26a)]});},_0x57bb34);}['_ensureSubject'](_0xcf627){const _0x351b84=_0x1d54d9;return this[_0x351b84(0x3d1)][_0x351b84(0x41f)](_0xcf627)||this[_0x351b84(0x3d1)]['set'](_0xcf627,new _0x163839[(_0x351b84(0x1c5))](_0x41402f[_0x351b84(0x237)][_0x351b84(0x1b2)])),this[_0x351b84(0x3d1)][_0x351b84(0x38e)](_0xcf627);}}_0x4f91bb[_0x1d54d9(0x2da)]=_0x49794a,_0x4f91bb[_0x1d54d9(0x331)]=_0x8d5a84,_0x4f91bb['WebBrowserSingleActiveUnitService']=_0x155ac3,_0x4f91bb[_0x1d54d9(0x173)]=_0xc24a22,Object[_0x1d54d9(0x3e8)](_0x4f91bb,Symbol[_0x1d54d9(0x1c4)],{'value':_0x1d54d9(0x16d)});}));function _0x9ceb(_0x34ef1f,_0x28c154){_0x34ef1f=_0x34ef1f-0x14a;const _0x1fb534=_0x1fb5();let _0x9ceb5c=_0x1fb534[_0x34ef1f];return _0x9ceb5c;}function _0x1fb5(){const _0x5a4156=['params','findNodePositionByCharIndex','getCellMatrix','getUnit','LocaleService','_univerInstanceService','onPointerEnter$','_updateLocalCursor','_init','_onCursorUpdate','_setupSubUnitSync','_hasFormulaInDirtyRanges','_entities','transformMutationsWithChangeset','_updateSubUnitFromURLParams','arc','font','_cursorShapes','YUUMI_UNABLE_LOAD_URL','xlink:href','permission.content','Unknown\x20user','Loading','Disposable','size','_collaborationSessionService','_docTransformIMECacheService','get','DesktopCollaborationStatusDisplayController','_localeService','width','unhandledrejection','exports','clearTimeout','_initUnhandledRejectionListener','_removeCollabCursors','APPLY_NON_SEQUENTIAL_REVISION','setShapeProps','getActiveRange','unload','executeCommand','operators','_collabSessionService','SetDocZoomRatioOperation','currentColor','isArray','VIEW_MAIN','MOBILE_VERIFY_CODE_MISMATCH','jiqing.500','1809642hpZXJl','DocSelectionManagerService','random','attrs','_anchor','selections','_applyCommand','transformByState','_registerRenderDependencies','_docTransformStateCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','stageInfo','getDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','TEXT','transform','url(#$1','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ENTITLE_COUPON_USED_UP','set','_colorAssignService','getSheetObject','BuiltInUIPart','UniverRpc','[Window\x20Error]:\x20','startColumn','RxDisposable','getVpScrollXYInfoByPosToVp','triggerDblclick','subUnitId','UNRECOGNIZED','clipPath','toDisposable','DocCollaborationEntity','currentUsage','Failed','saveTaskMap','getTypeOfUnitAdded$','getSkeleton','rxjs/operators','ranges','_releaseCalculationLimit','switchMap','addClipboardHook','startFormulaLimitUrl','_unitStatus','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','max','roomMembers$','YUUMI_ALL_TABLES_IS_INVALID','_refRangeService','USERS_LEAVE','_setupBeforeClosingHandler','replace','_ensureSubject','push','roomMembers','debounce','M0\x200H16V16H0z','_injector','ONLINE','DeleteRangeMoveLeftCommandId','parseInt','popstate','jsx','TRANSFORM_CHANGE_OBSERVABLE_TYPE','with','defineProperty','addEventListener','DATA_SOURCE_TOO_LARGE','Vector2','colorChannel1','syncEditingCollabCursor','UniverInstanceType','replaceDocRanges','APPLY_REJECT','_transformService','http://www.w3.org/2000/svg','isFormulaString','_transformHistoryAndStateStack','AUTHORIZE_CODE_ILLEGAL','assignAColorForMemberID','UniverUi','ENTITLE_REPORT_LIMIT_EXCEED','_initCommandExecutedListener','SUCCESS','NOT_FOUND','serializeRangeWithSheet','unit','1304658zYEmSD','_dataLoaderService','amd','_document','OffLineIcon','_send','CollaborationController','UniverProCollaborationClientUi','makeDirty','onMouseMove','collabStatus.synced','ISocketService','transformMutation','skeleton','TOO_MANY_REQUESTS','_doCreateSocket','COLORS','ENTITLE_CAN_NOT_BUY_LOWER_OTP','toRgbString','SheetsSelectionsService','_status$','[Unhandled\x20Rejection]:\x20','distinctUntilChanged','onCommandExecuted','disposeWithMe','ICommandService','_uploadLog','key','map','@univerjs/engine-formula','path','collabStatus.offline','@univerjs/docs-ui','has','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setStateCache','entries','_getMergeRange','LICENSE_MAX_UNITS_EXCEEDED','Injector','PENDING','RemoteUniscriptService','svg','_checkCalculationAvailable','INVITE_CODE_REQUIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','_initStatusComponent','redoState','collaboration-client-ui.config','YUUMI_TABLE_NOT_FOUND_IN_UNIT','subscribe','RefRangeService','_clearOtherTimers','_renderManagerService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INotificationService','dispose','REDEMPTION_CODE_NOT_STARTED','UNIVER_DOC','debounceTime','_localCacheService','_messageService','MUTATION','USER_IS_ANONYMOUS','filter','transformRemoteChangeset','UniverSheetsUi','_configService','INVITE_CODE_ALREADY_BOUND','OnLineIcon','React','Rectangle','send','mutations','USER_NOT_FOUND','length','invokeId','setConfig','CHANGESET_REVISION_CONFILICT','UNDEFINED','@univerjs/network','_handleEvent','YUUMI_URL_COL_OUT_OF_RANGE','EffectRefRangId','hovered','doc.mutation.rich-text-editing','currentTheme$','function','save','transformSelections','unsubscribe','Module','collab-client.tooltip.reconnect','UNAUTHENTICATED','shareReplay','_disabled','resize','WebURLService','[LogService\x20Error]:\x20','cursorInfo','exhaustSavingTask','setAlpha','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','_handleJoinEvent','permission.title','getOffsetConfig','search','_shapes','_drawAnchor','DependentOn','show','beforeCommandExecuted','_getAnchorBounding','_range','ISnapshotServerService','_commandService','unitID','_draw','IUniverInstanceService','_initEntityListener','pipe','UNIVER_SHEET','runId','REDEMPTION_USER_NOT_ELIGIBLE','EMAIL_VERIFY_CODE_MISMATCH','getCurrentSelections','_collaborationUIEventService','INVALID_ARGUMENT','registerComponent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_CHAT_LIMIT_EXCEED','_name','_config','REDEMPTION_INVALID_CODE','session.connection-failed','getMergeData','_showGuardMessage','getParam','_registerDependencies','stack','IImageIoService','height','_scheduleSaving','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','uni.network.url-service','entityInit$','INTERNAL_ERROR','_clearPolling','setActiveRange','getActiveSheet','_lastPointer','useRef','current','OFFLINE','createSocket','INVALID_INVITE_CODE','SUBMIT_CHANGESET_TIMEOUT','values','handleMoveRange','NO_OTHER_CLIENTS_EDITING','shift','SetFormulaCalculationStartMutation','evenodd','_initWindowErrorListener','m2Prime','1em','ILocalStorageService','none','green.600','dispose$','ERROR_AGAIN','APPLY_REVISION_CONFILICT','_hover','_refreshCollabCursors','_currentUsage','_getFormulaLimitStatus','urlChange$','toStringTag','BehaviorSubject','onLocalMutation','UniverCore','_color','ENTITLE_DUP_SUBSCRIPTION','InsertRangeMoveDownCommandId','idSuffix','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','endRow','IConfigService','handleInsertCol','0\x200\x2017\x2016','forEach','type','univer-flex\x20univer-items-center','lineno','_localStorageService','_memberID','displayName','Rect','beginPath','CollaborationStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ILogService','storage','defIds','mergeOverrideWithDependencies','activeSheet$','_textBubble','getValue','releaseFormulaLimitUrl','takeUntil','rgba(255,\x20255,\x20255,\x200.01)','newValue','removeEventListener','WECHAT_HAS_BEEN_BOUND','CONFLICT','includes','INVITE_CODE_HAS_BEEN_UES','LOGIN_TOKEN_PROCESSING_FAILED','range','getUniverSheetInstance','BrowserCollaborationSocketService','formula.calculation.waiting','RECT','_httpService','_getSaveTimeout','formula.calculation.unable','deepClone','_updateURLWithCurrentState','_docSkeletonManagerService','_docClipboardService','_cachedData','location','_imageIoService','session.collaboration-timeout','row','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','column','DOC_RANGE_TYPE','_roomMembers$','Error','_onRefRangeChange','getCollabEntity$','Tooltip','UniverProCollaboration','_collaborationController','clearInterval','colno','_cursors','EMAIL_HAS_BEEN_BOUND','_docTransformSelectionsService','_cursorInfo$','on-line-icon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','post','_revisionService','some','now','unitId','NodePositionConvertToRectRange','enableFrontendLog','DeleteRangeMoveUpCommandId','setParam','REDEMPTION_CODE_INACTIVE','limitInfo','handleIRemoveCol','/universer-api/license/formula/limit/start','[RemoteUniscriptService]:\x20no\x20focused\x20unit','engine','ENTITLE_NEED_BILLING_ADDRESS','sheetID','text','substring','asObservable','SYNCED','Inject','transformIMECache','MoveRangeCommandId','UniverEngineRender','CollaborationDataLoaderController','error','href','ACTIVE_UNIT_EVENT_CHANNEL','ENTITLE_INVALID_COUPON_CODE','disableLocalCache','_removeClearOtherTimer','_startCalculationLimit','labelPosition','react/jsx-runtime','YUUMI_CONNECTOR_URL_NOT_FOUND','UPDATE_CURSOR','UnitStatus','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','add','_backgroundColor','bind','children','DocSkeletonManagerService','@univerjs/drawing','IRenderManagerService','YUUMI_AI_RUN_FAILED','white','collabStatus.fetchMiss','maxFormulaLimit','filename','@univerjs/engine-render','bottom','DataLoaderService','8lasEBJ','session.will-retry','useObservable','black','string','history','_handleLeaveEvent','getRelativeToViewportCoord','RichTextEditingMutation','lineTo','catch','selection','find','_collabCursorState$','ENTITLE_COUPON_EXPIRED','_initStatusListener','useDependency','getCurrent','_initCommandInterceptor','currentSkeleton$','onPointerMove$','event$','UniverDrawing','ENTITLE_INSUFFICIENT_QUOTA','_memberService','flatMap','handleInsertRangeMoveDown','fromEvent','requireSession','ColorKit','SheetSkeletonManagerService','NOT_COLLAB','trim','collab-text-anchor-','_id','getSheetId','7729470XxXWZr','updateOfflineData','CommandType','memberID','undoState','loadOfflineData','_heartbeatTimer','_syncEditingCollabCursorService','saveOfflineData','onPointerLeave$','_selfUnitIDs','getAncestorScale','REDEMPTION_CODE_FULLY_REDEEMED','unshift','1437745fmbETJ','CollaborationSessionService','_anchorDot','_scene','getLocalCacheKey','_context','getMember','PY_RUNTIME_SCRIPT_ERROR','color','_initEvent','actions','isTransformMutationFailure','APPLY_PERMISSION_DENIED','enableLocalCache','whenReady','SOCKET_FAILED_RETRY','fillStyle','_drawTextRange','UniverEngineFormula','rxjs','AWAITING_WITH_PENDING','getSheetBySheetId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','eventID','MessageType','PERMISSION_DENIED','_saveCache','LICENSE_DISTRO_REJECTED','pushState','AWAITING','code','IDocClipboardService','UniverCollaborationClientUIPlugin','collabStatus.conflict','@univerjs/core','_logService','_transformUndoRedoStack','@univerjs-pro/collaboration','_eventUnsubscribe','InsertRangeMoveRightCommandId','_taskIds','combineLatest','ENSURE_SNAPSHOT_EXECUTION','override','_transformPreviousActiveRange','replaceState','_saveTaskMap','sessionStatus$','tag','ALREADY_EXISTS','_initUserListener','textRanges','_hovered','getColor','Warning','_urlService','react','getCurrentUnitForType','saveImage','fromEventSubject','TEXT_RANGE_LAYER_INDEX','debug','body','_assignedColors','_pollingInterval','JOIN_ROOM_FAILED','_getSessionTicket','pluginName','_hideTimer','PAYMENT_CHANNEL_NOT_SUPPORT','_getScale','getUndoRedoMutationParamsCache','_cursor','RemoveRowCommandId','off-line-icon_clip0_910_343','/universer-api/license/formula/limit/status','setTimeout','SHEET_VIEWPORT_KEY','url(#on-line-icon_clip0_910_349)','_session','_beforeCloseService','_getSheetObject','_docStateChangeManagerService','toString','blue.400','forwardRef','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','data','CURRENT_STATUS_CANNOT_OPERATE','USER_NOT_INVITED_CODE','getformulaLimitStatusUrl','_handleHeartbeatEvent','START_CALCULATION','functionsExecutedState','IUIPartsService','@univerjs/ui','IURLService','@univerjs/sheets-ui','CollaborationEvent','6zrLtdR','runOnServer','createInstance','restore','4651412hNXuOw','getUnitId','subunit','_labelPosition','_render','SetTextSelectionsOperation','...','jsxs','touchDependencies','collaboration.offline-data-not-saved','deserializeRangeWithSheet','generateRandomId','subscribeEvent','defs','formula.calculation.started','ENTITLE_USE_COUPON_NOT_1ST_TRADE','createElement','WebSocketService','/universer-api/license/formula/limit/done','_notificationService','getCoordByCell','Tools','IMessageService','HTTPService','startRow','SNAPSHOT_HAS_BEEN_REMOVED','NodePositionConvertToCursor','UniverNetwork','getConfig','join','DEFAULT_WS_SESSION_TICKET_URL','registerDependencies','on-line-icon_clip0_910_349','_docSyncEditingCollabCursorService','transformStateCache','closePath','editingUnit','setUndoRedoMutationParamsCache','ThemeService','application/json','_colorIndex','onRendered','top','hide','UniverDocsUi','\x20at\x20','searchParams','_onCursorDelete','MOBILE_HAS_BEEN_BOUND','isActive','InsertRowCommandId','SetFormulaCalculationNotificationMutation','[CollaborationDataLoaderController]','FormulaExecuteStageType','getRenderById','SetWorksheetActivateCommand','0\x200\x2016\x2016','url(#off-line-icon_clip0_910_343)','fillText','getViewport','Subject','IBeforeCloseService','_collabCursorController','9621054ooeELE','docStateChange$','_entityInit$','_scheduleClearOtherTimer','handleInsertRangeMoveRight','registerRefRange','_handleHover','sessionTicket','measureText','isEditing','_setFormulaLimitStatus','min','getMemberID','getUnitStatus$','_lastResponseTimestamp','clsx','contains','SheetCollabCursorShape','split','_toggleOnline','getColorFromTheme','_maxFormulaLimit','then','_updateCollabCursors','from','_online','APPLY_DUPLICATED','startsWith','ILocalCacheService','yellow.400','FromArray','LOGIN_FAILED','_scheduleHeartbeat','fillRule','_initDependencies','handleIRemoveRow','_startSheetCollabCursor','_unitOnClients','CONNECTOR_DATA_TOO_LARGE','runRefRangeMutations','m1Prime','setItem','message','mapTo','addObject','CollaborationUIEventId','next','#FFF','div','drawWith','collabCursorState$','getFocusedUnit','use','getRangePointData','stringify','_initResize','endColumn','DocIMEInputManagerService','LOCAL_CACHE_INTERVAL_KEY','translate(.97)','delete','ITransformService','merge','mask','_toggleOffline','CLOSE_ROOM','round','YUUMI_NO_CUBOID_FOR_QUESTION','_uiPartsService','MemberService','registerRenderModule','CollaborationUIEventService','complete','getOwnPropertyDescriptor','fill','SOCKET_FAILED','isFormulaId','_createSocketURL','init','cursorInfo$','YUUMI_ASYNCIO_CANCELLED','13277zDwNnB','useCallback'];_0x1fb5=function(){return _0x5a4156;};return _0x1fb5();}
1
+ function _0x9a99(_0x79325f,_0x468abd){_0x79325f=_0x79325f-0x188;const _0x44b445=_0x44b4();let _0x9a9994=_0x44b445[_0x79325f];return _0x9a9994;}function _0x44b4(){const _0x1226d4=['_setupBeforeClosingHandler','HEADER_MENU','437370aoyHbB','_configService','disableLocalCache','_cursors','_memberID','ENTITLE_INSUFFICIENT_QUOTA','@univerjs/docs','find','black','undoState','toRgbString','REDEMPTION_USER_NOT_ELIGIBLE','_releaseCalculationLimit','post','SOCKET_FAILED_RETRY','collabCursorState$','_doCreateSocket','drawWith','mapTo','UniverCollaborationClientPlugin','isArray','on-line-icon_clip0_910_349','_updateURLWithCurrentState','univerjs-icon\x20univerjs-icon-','_id','RegularPolygon','CollaborationSessionService','MessageType','getSkeleton','_entities','requireSession','ISnapshotServerService','_render','startRow','OTHER_CLIENT_EDITING','_uiPartsService','color','_initCommandInterceptor','displayName','set','beginPath','handleIRemoveRow','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UniverProCollaboration','Disposable','searchParams','unitID','getRenderById','filename','unload','message','jsx','DocCollaborationEntity','_docTransformStateCacheService','IUIPartsService','round','parseInt','transformIMECache','TEXT','event$','colorChannel1','SNAPSHOT_HAS_BEEN_REMOVED','_localCacheService','WebSocketService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_instanceService','getStateCache','_ensureSubject','LICENSE_IMPORT_SIZE_EXCEEDED','saveTaskMap','jsxs','_monkeyPatchLogService','colno','[CollaborationDataLoaderController]','entityInit$','replaceDocRanges','hide','IRenderManagerService','handleDeleteRangeMoveLeft','SheetsSelectionsService','moveTo','_initCommandExecutedListener','backgroundColor','_initStatusListener','contains','CHANGESET_REVISION_CONFILICT','docStateChange$','IConfigService','ENTITLE_NEED_BILLING_ADDRESS','getCoordByCell','_draw','forwardRef','YUUMI_URL_COL_OUT_OF_RANGE','univer-flex\x20univer-items-center','_transformUndoRedoStack','/universer-api/frontend/logs','fromEventSubject','@univerjs/engine-formula','_unitOnClients','_scheduleClearOtherTimer','includes','createSocket','roomMembers$','_injector','getUnitId','USER_NOT_INVITED_CODE','_initUnhandledRejectionListener','onStarting','subUnitId','Error','transformStateCache','_initUserListener','get','doc.mutation.rich-text-editing','sheetId','dispose','_entityInit$','UniverDrawing','_createSocketURL','UniverEngineFormula','send','collab-text-anchor-','7505800msashr','save','RxDisposable','_scene','REDEMPTION_CODE_FULLY_REDEEMED','@univerjs/core','ENTITLE_COUPON_EXPIRED','ranges','START_CALCULATION','DeleteRangeMoveUpCommandId','_colorAssignService','lineTo','_startDocCollabCursor','_checkCalculationAvailable','_selfUnitIDs','SessionStatus','location','off-line-icon','_toggleOnline','_applyCommand','_docTransformSelectionsService','_themeService','runOnServer','FormulaExecuteStageType','LOCAL_CACHE_INTERVAL','_transformPreviousActiveRange','UnitStatus','transformMutationsWithChangeset','_cursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','clearTimeout','dispose$','RemoveColCommandId','syncEditingCollabCursor','_send','saveImage','getOffsetConfig','_saveCache','getConfig','range','_anchorDot','then','NO_OTHER_CLIENTS_EDITING','setStateCache','deepClone','top','collaboration-client-ui.config','getActiveSheet','EffectRefRangId','VIEW_MAIN','current','YUUMI_UNABLE_LOAD_URL','INVITE_CODE_ALREADY_BOUND','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','/universer-api/license/formula/limit/status','reconnect','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_setupSubUnitSync','replace','pushState','stageInfo','imageSourceType','collabStatus.notCollab','_colorIndex','Failed','_checkAndWaitForCalculationPermission','getUnitStatus$','UNDEFINED','BuiltInUIPart','Plugin','LICENSE_DISTRO_REJECTED','_updateCollabCursors','_eventUnsubscribe','closePath','getformulaLimitStatusUrl','_collaborationUIEventService','CONFLICT','InsertRangeMoveDownCommandId','HTTPService','#FFF','getRangePointData','children','application/json','getUnit','_transformHistoryAndStateStack','IURLService','clipPath','unitId','text','SheetSkeletonManagerService','getViewport','_cachedData','onMouseMove','DataLoaderService','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/sheets','m2Prime','REDEMPTION_INVALID_CODE','_showGuardMessage','idSuffix','10VOaMVX','collab-rect-range-','0\x200\x2017\x2016','SetFormulaCalculationStartMutation','permission.content','white','USERS_LEAVE','replaceState','ISocketService','SNAPSHOT_INVALID_SNAPSHOT','source','add','runRefRangeMutations','_startCalculationLimit','MOBILE_HAS_BEEN_BOUND','TEXT_RANGE_LAYER_INDEX','getAncestorScale','useObservable','_startSheetCollabCursor','m1Prime','AUTHORIZE_CODE_ILLEGAL','sessionStatus$','unsubscribe','evenodd','addEventListener','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','10536NFfGKF','rxjs','getTypeOfUnitAdded$','PENDING','setConfig','_initDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','xlink:href','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','executionId','UniverDocsUi','SetTextSelectionsOperation','_onRefRangeChange','bottom','saveOfflineData','LOGIN_TOKEN_PROCESSING_FAILED','@univerjs/sheets-ui','_docClipboardService','href','textRanges','endColumn','type','forEach','loadOfflineData','name','pipe','_initResize','INVITE_CODE_HAS_BEEN_UES','DisposableCollection','LOGIN_FAILED','APPLY_REVISION_CONFILICT','onPointerMove$','getMember','updateOfflineData','OffLineIcon','AWAITING','REDEMPTION_CODE_NOT_STARTED','amd','onLocalMutation','executeCommand','_getSheetObject','getUndoRedoMutationParamsCache','CollaborationDataLoaderController','loadUnit','touchDependencies','INVITE_CODE_REQUIRED','error','Unknown\x20user','APPLY_REJECT','_setFormulaLimitStatus','mergeOverrideWithDependencies','_unitStatus','unshift','_docSyncEditingCollabCursorService','_handleLeaveEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','join','makeDirty','http://www.w3.org/2000/svg','result','59868VAwNmT','getCollabEntity$','trim','USER_IS_ANONYMOUS','_getFormulaLimitStatus','values','width','React','max','subscribe','isFormulaId','[Unhandled\x20Rejection]:\x20','whenReady','_initEvent','_clearPolling','LOCAL_CACHE_INTERVAL_KEY','createElement','triggerDblclick','UniverSheets','CollaborationUIEventService','_removeCollabCursors','_beforeCloseService','_docSkeleton','DATA_SOURCE_TOO_LARGE','formula.calculation.waiting','DependentOn','Module','handleInsertRow','url(#on-line-icon_clip0_910_349)','actions','_cursorInfo$','_sheetSkeletonManagerService','_dataLoaderService','IMessageService','PY_RUNTIME_SCRIPT_ERROR','getTypeOfUnitDisposed$','_textBubble','UniverProCollaborationClient','COLORS','EMAIL_HAS_BEEN_BOUND','session.collaboration-timeout','_collabCursorController','getCollabCursors$','CollaborationController','pluginName','Warning','disposeWithMe','filter','SetSelectionsOperation','_onCursorDelete','TOO_MANY_REQUESTS','unhandledrejection','onTransformChange$','APPLY_DUPLICATED','getCurrentSelections','createInstance','measureText','_anchor','enableFrontendLog','_onCursorUpdate','flatMap','min','IImageIoService','activeSheet$','UNRECOGNIZED','_notificationService','collabStatus.syncing','_drawRectRange','_session','_getSessionTicket','CollaborationSocketService','CanceledError','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','ThemeService','roomMembers','[LogService\x20Error]:\x20','Injector','collaboration.single-unit.warning','DeleteRangeMoveLeftCommandId','registerComponent','init','JOIN_ROOM_FAILED','APPLY_PERMISSION_DENIED','SetFormulaCalculationNotificationMutation','UNIVER_SHEET','none','registerRefRange','startsWith','3545530SHskth','CURRENT_STATUS_CANNOT_OPERATE','_hideTimer','subscribeEvent','map','@univerjs-pro/collaboration','addObject','memberID','SYNCED','collaboration.closeRoom','url(#off-line-icon_clip0_910_343)','_messageService','_config','CollaborationUIEventId','formula.calculation.unable','arc','runId','UNIVER_DOC','maxFormulaLimit','registerDependencies','switchMap','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','resize','endRow','NodePositionConvertToRectRange','code','DesktopCollaborationStatusDisplayController','wsSessionTicketUrl','_httpService','UPDATE_CURSOR','object','length','_docStateChangeManagerService','font','column','RECT','transformMutation','_handleHeartbeatEvent','show','onCommandExecuted','NOT_COLLAB','MemberService','height','div','_currentUsage','status$','NodePositionConvertToCursor','delete','getColor','collab-client.tooltip.reconnect','ILogService','UniverInstanceType','_univerInstanceService','_lastPointer','getFocusedUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','setItem','ONLINE','defIds','INotificationService','DOC_RANGE_TYPE','_refRangeService','getCurrentUnitForType','setShapeProps','transformRemoteChangeset','@univerjs/drawing','_scheduleSaving','_logService','_docTransformIMECacheService','SetWorksheetActivateCommand','UniverDocs','SOCKET_FAILED','IBeforeCloseService','_lastResponseTimestamp','releaseFormulaLimitUrl','PERMISSION_DENIED','_hover','attrs','_context','substring','_getScale','exports','_name','IRemoteInstanceService','getOwnPropertyDescriptor','RichTextEditingMutation','isEditing','popstate','focused$','sessionTicket','CollaborationEvent','green.600','_labelPosition','_assignedColors','distinctUntilChanged','Optional','getUniverSheetInstance','UniverRpc','shareReplay','ENTITLE_INVALID_COUPON_CODE','RemoveRowCommandId','complete','CollaborationStatus','fillText','deserializeRangeWithSheet','clsx','entries','_pollingInterval','svg','shift','28292157NRurXb','transformByState','restore','ITransformService','disposeUnit','ENTITLE_CHAT_LIMIT_EXCEED','_initEntityListener','currentTheme$','cursorInfo$','RefRangeService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_collabCursorState$','catch','react/jsx-runtime','formula.calculation.started','REDEMPTION_CODE_INACTIVE','getSheetId','selections','ticket','_cursorShapes','addClipboardHook','history','ENSURE_SNAPSHOT_EXECUTION','mutations','FormulaExecutedStateType','UniverCollaborationClientUIPlugin','INVALID_INVITE_CODE','getMemberID','useDependency','_handleHover','_transformService','setParam','ICommandService','getColorFromTheme','ENTITLE_REPORT_LIMIT_EXCEED','_localStorageService','_urlService','222gXZbxl','labelPosition','BehaviorSubject','collab-text-range-','push','cursorInfo','OFFLINE','random','removeParam','DocIMEInputManagerService','useCallback','with','_syncEditingCollabCursorService','startColumn','defineProperty','handleDeleteRangeMoveUp','enableLocalCache','stack','MOBILE_VERIFY_CODE_MISMATCH','_handleJoinEvent','ColorKit','selection','url(#$1','totalFormulasToCalculate','1em','off-line-icon_clip0_910_343','INVALID_ARGUMENT','_status$','YUUMI_RATE_OVER_LIMIT','split','next','handleInsertCol','functionsExecutedState','getRelativeToViewportCoord','ACTIVE_UNIT_EVENT_CHANNEL','COMPLETION_FINISHED','editingUnit','_commandService','transformSelections','addHandlerCallback','purple.300','_localeService','_clearOtherTimers','YUUMI_CONNECTOR_URL_NOT_FOUND','eventID','getCurrent','OnLineIcon','_drawAnchor','permission.title','isActive','isTransformMutationFailure','data','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','parse','_registerRenderDependencies','blue.400','_docSkeletonManagerService','getSheetBySheetId','_registerDependencies','_maxFormulaLimit','debug','Shape','YUUMI_NO_CUBOID_FOR_QUESTION','_memberService','WECHAT_HAS_BEEN_BOUND','_online','session.connection-failed','onPointerLeave$','LocaleService','_hasFormulaInDirtyRanges','_updateSubUnitFromURLParams','157717PrSHdQ','CLOSE_ROOM','generateRandomId','storage','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/docs-ui','_heartbeatTimer','Tools','ENTITLE_DUP_SUBSCRIPTION','_removeClearOtherTimer','size','params','currentSkeleton$','limitInfo','...','createIdentifier','_uploadLog','IUniverInstanceService','InsertRangeMoveRightCommandId','YUUMI_ALL_TABLES_IS_INVALID','_saveTaskMap','ILocalCacheService','handleIRemoveCol','_collabSessionService','_getSaveTimeout','ILocalStorageService','debounceTime','M0\x200H16V16H0z','_backgroundColor','yellow.400','exhaustSavingTask','stringify','path','_imageIoService','CONNECTOR_DATA_TOO_LARGE','YUUMI_ASYNCIO_CANCELLED','fillStyle','ALREADY_EXISTS','_getMergeRange','_refreshCollabCursors','removeEventListener','_disabled','ERROR_AGAIN','_drawTextRange','assign','_hovered','newValue','mask','UniverCore','FromArray','_color','findNodePositionByCharIndex','fill','_initStatusComponent','_initWindowErrorListener','tag','invokeId','SetDocZoomRatioOperation','asObservable','key','getCellMatrix','_renderManagerService','collabStatus.offline','_scheduleHeartbeat','getActiveRange','clearInterval','_taskIds','RevisionService','toString','isFormulaString','FETCH_MISS','combineLatest','body','_revisionService','LICENSE_EXPORT_SIZE_EXCEEDED','REDEMPTION_USER_REDEEM_TIMES_EXCEED','operators','urlChange$','DocStateChangeManagerService','uni.network.url-service','toDisposable','_shapes','Rect','WebBrowserSingleActiveUnitService','BrowserCollaborationSocketService','onPointerEnter$','272lAGggZ','APPLY_NON_SEQUENTIAL_REVISION','redoState','RemoteUniscriptService','[Window\x20Error]:\x20','/universer-api/license/formula/limit/start','stage','_roomMembers$','getParam','takeUntil','NOT_FOUND','Inject','UniverDesign','Subject','getDocRanges','ENTITLE_COUPON_USED_UP','unit','socket$','string','collabStatus.fetchMiss','\x20at\x20','_range','react','UniverUi','getValue','setTimeout','setActiveRange','assignAColorForMemberID','DocSelectionManagerService','defs','origin','getMergeData','OTHER_CLIENTS_EDITING','collabStatus.conflict','debounce','UNAUTHENTICATED','_handleEvent','EMAIL_VERIFY_CODE_MISMATCH','has','_updateLocalCursor','_init','row','_collaborationController','registerBeforeClose','subunit','on-line-icon','connectInjector','_getAnchorBounding','now','from','fromEvent','USER_NOT_FOUND','Workbook','_toggleOffline'];_0x44b4=function(){return _0x1226d4;};return _0x44b4();}(function(_0x67c75,_0x4d7432){const _0x4214ef=_0x9a99,_0x4c87ee=_0x67c75();while(!![]){try{const _0x2aa8ae=-parseInt(_0x4214ef(0x43f))/0x1+-parseInt(_0x4214ef(0x30b))/0x2+parseInt(_0x4214ef(0x403))/0x3*(parseInt(_0x4214ef(0x2d3))/0x4)+-parseInt(_0x4214ef(0x1a3))/0x5+-parseInt(_0x4214ef(0x236))/0x6*(parseInt(_0x4214ef(0x27d))/0x7)+-parseInt(_0x4214ef(0x385))/0x8+-parseInt(_0x4214ef(0x211))/0x9*(-parseInt(_0x4214ef(0x3e9))/0xa);if(_0x2aa8ae===_0x4d7432)break;else _0x4c87ee['push'](_0x4c87ee['shift']());}catch(_0xb8ee04){_0x4c87ee['push'](_0x4c87ee['shift']());}}}(_0x44b4,0x9810a),function(_0x4a6d1e,_0x1fa6f1){const _0x46810e=_0x9a99;typeof exports==_0x46810e(0x1c1)&&typeof module<'u'?_0x1fa6f1(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=='function'&&define[_0x46810e(0x428)]?define([_0x46810e(0x1f4),_0x46810e(0x21e),'@univerjs-pro/collaboration-client',_0x46810e(0x38a),'@univerjs/ui',_0x46810e(0x404),'@univerjs/design',_0x46810e(0x2e9),'@univerjs/rpc',_0x46810e(0x3e4),'@univerjs/engine-render','@univerjs/network',_0x46810e(0x282),_0x46810e(0x1e4),_0x46810e(0x1a8),_0x46810e(0x311),_0x46810e(0x36c),'rxjs/operators',_0x46810e(0x413)],_0x1fa6f1):(_0x4a6d1e=typeof globalThis<'u'?globalThis:_0x4a6d1e||self,_0x1fa6f1(_0x4a6d1e['UniverProCollaborationClientUi']={},_0x4a6d1e[_0x46810e(0x446)],_0x4a6d1e[_0x46810e(0x464)],_0x4a6d1e[_0x46810e(0x2ad)],_0x4a6d1e[_0x46810e(0x2ea)],_0x4a6d1e[_0x46810e(0x404)],_0x4a6d1e[_0x46810e(0x2df)],_0x4a6d1e[_0x46810e(0x446)],_0x4a6d1e[_0x46810e(0x204)],_0x4a6d1e[_0x46810e(0x451)],_0x4a6d1e['UniverEngineRender'],_0x4a6d1e['UniverNetwork'],_0x4a6d1e[_0x46810e(0x40d)],_0x4a6d1e[_0x46810e(0x380)],_0x4a6d1e[_0x46810e(0x336)],_0x4a6d1e[_0x46810e(0x1e9)],_0x4a6d1e[_0x46810e(0x382)],_0x4a6d1e[_0x46810e(0x404)][_0x46810e(0x2c9)],_0x4a6d1e['UniverSheetsUi']));}(this,function(_0xaa14ec,_0x310529,_0x449191,_0x4d68d6,_0x443a5d,_0x376c8a,_0x3594df,_0x1d7e2a,_0x3a8a15,_0x18e703,_0x403935,_0x4e3f26,_0x39680d,_0x4783bb,_0x444278,_0x338c72,_0x231e97,_0x21fb3d,_0x2a211e){'use strict';const _0x38ff04=_0x9a99;var _0xa31e1c=Object[_0x38ff04(0x244)],_0x4929bd=(_0x51313c,_0x415a06,_0x4fba75)=>_0x415a06 in _0x51313c?_0xa31e1c(_0x51313c,_0x415a06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fba75}):_0x51313c[_0x415a06]=_0x4fba75,_0x3ccfb7=(_0x2f869b,_0x930dc4,_0x20da59)=>_0x4929bd(_0x2f869b,typeof _0x930dc4!='symbol'?_0x930dc4+'':_0x930dc4,_0x20da59);function _0x163702({ref:_0x2909d6,..._0x3e3367}){const _0x1bd0cc=_0x38ff04,{icon:_0x3d7091,id:_0x3d65bd,className:_0x3c0a51,extend:_0x34c309,..._0x37fec4}=_0x3e3367,_0x58eae6=(_0x1bd0cc(0x322)+_0x3d65bd+'\x20'+(_0x3c0a51||''))[_0x1bd0cc(0x441)](),_0x30b6db=_0x1d7e2a['useRef']('_'+_0x2b877f());return _0x4850a6(_0x3d7091,''+_0x3d65bd,{'defIds':_0x3d7091[_0x1bd0cc(0x1dd)],'idSuffix':_0x30b6db[_0x1bd0cc(0x3b7)]},{'ref':_0x2909d6,'className':_0x58eae6,..._0x37fec4},_0x34c309);}function _0x4850a6(_0x5097fe,_0x4025ec,_0x5d8689,_0x2e9c85,_0x1b6dc0){const _0x3fae78=_0x38ff04;return _0x1d7e2a['createElement'](_0x5097fe[_0x3fae78(0x2b4)],{'key':_0x4025ec,..._0x27ab9b(_0x5097fe,_0x5d8689,_0x1b6dc0),..._0x2e9c85},(_0xe60bf3(_0x5097fe,_0x5d8689)['children']||[])[_0x3fae78(0x1a7)]((_0x557372,_0x4291ac)=>_0x4850a6(_0x557372,_0x4025ec+'-'+_0x5097fe[_0x3fae78(0x2b4)]+'-'+_0x4291ac,_0x5d8689,void 0x0,_0x1b6dc0)));}function _0x27ab9b(_0x3955ba,_0x4f74af,_0x5c39a1){const _0x1a9ab7=_0x38ff04,_0x3b6627={..._0x3955ba['attrs']};_0x5c39a1!=null&&_0x5c39a1[_0x1a9ab7(0x347)]&&_0x3b6627['fill']===_0x1a9ab7(0x347)&&(_0x3b6627[_0x1a9ab7(0x2b1)]=_0x5c39a1['colorChannel1']),_0x3955ba[_0x1a9ab7(0x2b4)]===_0x1a9ab7(0x2ac)&&_0x3b6627['id']&&(_0x3b6627['id']=_0x3b6627['id']+_0x4f74af[_0x1a9ab7(0x3e8)]),Object[_0x1a9ab7(0x20d)](_0x3b6627)[_0x1a9ab7(0x419)](([_0x4a897c,_0x223c5c])=>{const _0x44ec84=_0x1a9ab7;_0x4a897c===_0x44ec84(0x2ac)&&typeof _0x223c5c==_0x44ec84(0x2e5)&&(_0x3b6627[_0x4a897c]=_0x223c5c[_0x44ec84(0x3bf)](/url\(#(.*)\)/,_0x44ec84(0x24c)+_0x4f74af[_0x44ec84(0x3e8)]+')'));});const {defIds:_0x34b39a}=_0x4f74af;return!_0x34b39a||_0x34b39a[_0x1a9ab7(0x1c2)]===0x0||(_0x3955ba[_0x1a9ab7(0x2b4)]==='use'&&_0x3b6627[_0x1a9ab7(0x40a)]&&(_0x3b6627[_0x1a9ab7(0x40a)]=_0x3b6627[_0x1a9ab7(0x40a)]+_0x4f74af[_0x1a9ab7(0x3e8)]),Object[_0x1a9ab7(0x20d)](_0x3b6627)[_0x1a9ab7(0x419)](([_0x1c1846,_0x54e04f])=>{const _0x103094=_0x1a9ab7;typeof _0x54e04f==_0x103094(0x2e5)&&(_0x3b6627[_0x1c1846]=_0x54e04f[_0x103094(0x3bf)](/url\(#(.*)\)/,'url(#$1'+_0x4f74af['idSuffix']+')'));})),_0x3b6627;}function _0xe60bf3(_0x52aaf5,_0x57d42d){const _0x45250e=_0x38ff04;var _0x17d38a;const {defIds:_0x4bf688}=_0x57d42d;return!_0x4bf688||_0x4bf688[_0x45250e(0x1c2)]===0x0?_0x52aaf5:_0x52aaf5['tag']===_0x45250e(0x2f0)&&((_0x17d38a=_0x52aaf5[_0x45250e(0x3d6)])!=null&&_0x17d38a[_0x45250e(0x1c2)])?{..._0x52aaf5,'children':_0x52aaf5[_0x45250e(0x3d6)][_0x45250e(0x1a7)](_0x503ee1=>typeof _0x503ee1[_0x45250e(0x1f0)]['id']==_0x45250e(0x2e5)&&_0x4bf688&&_0x4bf688[_0x45250e(0x36f)](_0x503ee1['attrs']['id'])?{..._0x503ee1,'attrs':{..._0x503ee1[_0x45250e(0x1f0)],'id':_0x503ee1['attrs']['id']+_0x57d42d[_0x45250e(0x3e8)]}}:_0x503ee1)}:_0x52aaf5;}function _0x2b877f(){const _0x5a0867=_0x38ff04;return Math[_0x5a0867(0x23d)]()['toString'](0x24)[_0x5a0867(0x1f2)](0x2,0x8);}_0x163702['displayName']='UniverIcon';const _0x5bf6f9={'tag':_0x38ff04(0x20f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38ff04(0x1a0),'viewBox':'0\x200\x2016\x2016','width':_0x38ff04(0x24e),'height':_0x38ff04(0x24e)},'children':[{'tag':'g','attrs':{'clipPath':_0x38ff04(0x1ad)},'children':[{'tag':_0x38ff04(0x29d),'attrs':{'stroke':'currentColor','d':_0x38ff04(0x1b8),'strokeLinecap':_0x38ff04(0x342),'strokeLinejoin':_0x38ff04(0x342),'strokeWidth':1.2}}]},{'tag':_0x38ff04(0x2f0),'attrs':{},'children':[{'tag':_0x38ff04(0x3db),'attrs':{'id':_0x38ff04(0x24f)},'children':[{'tag':_0x38ff04(0x29d),'attrs':{'fill':_0x38ff04(0x3ee),'d':_0x38ff04(0x298)}}]}]}],'defIds':[_0x38ff04(0x24f)]},_0x248009=_0x1d7e2a[_0x38ff04(0x366)](function(_0x58d919,_0x314757){const _0x5ccd5a=_0x38ff04;return _0x1d7e2a[_0x5ccd5a(0x44f)](_0x163702,Object[_0x5ccd5a(0x2a9)]({},_0x58d919,{'id':_0x5ccd5a(0x396),'ref':_0x314757,'icon':_0x5bf6f9}));});_0x248009[_0x38ff04(0x331)]=_0x38ff04(0x425);const _0x4dcfdb={'tag':_0x38ff04(0x20f),'attrs':{'xmlns':_0x38ff04(0x43d),'fill':'none','viewBox':_0x38ff04(0x3eb),'width':_0x38ff04(0x24e),'height':_0x38ff04(0x24e)},'children':[{'tag':'g','attrs':{'clipPath':_0x38ff04(0x45b)},'children':[{'tag':_0x38ff04(0x29d),'attrs':{'stroke':'currentColor','d':_0x38ff04(0x40b),'strokeLinecap':_0x38ff04(0x342),'strokeLinejoin':_0x38ff04(0x342),'strokeWidth':1.2}}]},{'tag':_0x38ff04(0x2f0),'attrs':{},'children':[{'tag':_0x38ff04(0x3db),'attrs':{'id':_0x38ff04(0x320)},'children':[{'tag':_0x38ff04(0x29d),'attrs':{'fill':'white','d':_0x38ff04(0x298),'transform':'translate(.97)'}}]}]}],'defIds':[_0x38ff04(0x320)]},_0x2d60bb=_0x1d7e2a[_0x38ff04(0x366)](function(_0x67f7a8,_0x49ba6e){const _0xd336dc=_0x38ff04;return _0x1d7e2a[_0xd336dc(0x44f)](_0x163702,Object[_0xd336dc(0x2a9)]({},_0x67f7a8,{'id':_0xd336dc(0x300),'ref':_0x49ba6e,'icon':_0x4dcfdb}));});_0x2d60bb[_0x38ff04(0x331)]=_0x38ff04(0x264);function _0x3a8507(_0x12e5e0){const _0x49b621=_0x38ff04;switch(_0x12e5e0){case _0x449191[_0x49b621(0x209)][_0x49b621(0x23c)]:return _0x49b621(0x2bb);case _0x449191[_0x49b621(0x209)][_0x49b621(0x3d1)]:return _0x49b621(0x2f4);case _0x449191['CollaborationStatus'][_0x49b621(0x2c3)]:return _0x49b621(0x2e6);case _0x449191[_0x49b621(0x209)][_0x49b621(0x1cb)]:return _0x49b621(0x3c3);case _0x449191[_0x49b621(0x209)][_0x49b621(0x426)]:case _0x449191[_0x49b621(0x209)]['AWAITING_WITH_PENDING']:return _0x49b621(0x18d);case _0x449191[_0x49b621(0x209)][_0x49b621(0x1ab)]:case _0x449191['CollaborationStatus'][_0x49b621(0x406)]:return'collabStatus.synced';}}function _0x150791(_0x1ebc97){const _0x608831=_0x38ff04,{status$:_0x2645a8}=_0x1ebc97,_0x1b0632=_0x443a5d[_0x608831(0x3fa)](_0x2645a8,_0x449191[_0x608831(0x209)][_0x608831(0x1cb)]),_0x5cf273=_0x443a5d[_0x608831(0x22d)](_0x4d68d6[_0x608831(0x27a)]),_0x1b81c5=_0x443a5d[_0x608831(0x22d)](_0x449191[_0x608831(0x325)]),_0x54f86f=_0x1b0632!==_0x449191[_0x608831(0x209)][_0x608831(0x23c)],_0x5cfccd=_0x5cf273['t'](_0x3a8507(_0x1b0632)),_0x2d4085=_0x54f86f?_0x310529[_0x608831(0x33e)](_0x2d60bb,{}):_0x310529[_0x608831(0x33e)](_0x248009,{}),_0x878f3b=_0x1d7e2a[_0x608831(0x240)](()=>{const _0x45a3b8=_0x608831;_0x54f86f||_0x1b81c5[_0x45a3b8(0x3bc)]();},[_0x54f86f,_0x1b81c5]);function _0x2cde7a(){const _0x74b465=_0x608831;return _0x310529[_0x74b465(0x351)](_0x74b465(0x1ce),{'className':_0x74b465(0x368),'onClick':_0x878f3b,'children':[_0x310529[_0x74b465(0x33e)](_0x74b465(0x1ce),{'className':_0x3594df[_0x74b465(0x20c)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x54f86f,'univer-text-red-500':!_0x54f86f}),'children':_0x2d4085}),_0x310529[_0x74b465(0x33e)](_0x74b465(0x1ce),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5cfccd})]});}return _0x54f86f?_0x2cde7a():_0x310529[_0x608831(0x33e)](_0x3594df['Tooltip'],{'title':_0x5cf273['t'](_0x608831(0x1d4)),'children':_0x2cde7a()});}var _0x295c14=Object[_0x38ff04(0x1f7)],_0x3c66f4=(_0x24ab6c,_0x4aaff9,_0x2f8e87,_0xe08ebb)=>{const _0xea54df=_0x38ff04;for(var _0xfe924d=_0xe08ebb>0x1?void 0x0:_0xe08ebb?_0x295c14(_0x4aaff9,_0x2f8e87):_0x4aaff9,_0x486910=_0x24ab6c[_0xea54df(0x1c2)]-0x1,_0x53cd06;_0x486910>=0x0;_0x486910--)(_0x53cd06=_0x24ab6c[_0x486910])&&(_0xfe924d=_0x53cd06(_0xfe924d)||_0xfe924d);return _0xfe924d;},_0xd7ff19=(_0xb834a3,_0xc50f3f)=>(_0x43ac06,_0x270c54)=>_0xc50f3f(_0x43ac06,_0x270c54,_0xb834a3);_0xaa14ec[_0x38ff04(0x1bd)]=class extends _0x4d68d6[_0x38ff04(0x337)]{constructor(_0x1e3ce9,_0x58af29,_0x5a3017,_0x2f7723){const _0x2af7f4=_0x38ff04;super(),_0x3ccfb7(this,_0x2af7f4(0x251),new _0x376c8a['BehaviorSubject'](_0x449191['CollaborationStatus'][_0x2af7f4(0x1cb)])),(this[_0x2af7f4(0x1d7)]=_0x1e3ce9,this[_0x2af7f4(0x372)]=_0x58af29,this['_collaborationController']=_0x5a3017,this[_0x2af7f4(0x32e)]=_0x2f7723,this[_0x2af7f4(0x2b2)](),this[_0x2af7f4(0x35e)]());}['_initStatusListener'](){const _0x4338ea=_0x38ff04;this[_0x4338ea(0x46d)](this[_0x4338ea(0x1d7)][_0x4338ea(0x1fb)][_0x4338ea(0x41c)](_0x376c8a[_0x4338ea(0x1b7)](()=>{const _0x16f551=_0x4338ea,_0x2f0048=this[_0x16f551(0x1d7)]['getFocusedUnit']();return _0x2f0048?this[_0x16f551(0x2fd)][_0x16f551(0x440)](_0x2f0048['getUnitId']()):_0x376c8a['of'](null);}),_0x376c8a[_0x4338ea(0x1b7)](_0x55d818=>_0x55d818?_0x55d818[_0x4338ea(0x1d0)]:_0x376c8a['of'](_0x449191[_0x4338ea(0x209)]['NOT_COLLAB'])))[_0x4338ea(0x448)](_0x4454ce=>{const _0x269b54=_0x4338ea;this[_0x269b54(0x251)][_0x269b54(0x254)](_0x4454ce);}));}[_0x38ff04(0x2b2)](){const _0xa286f5=_0x38ff04;this['disposeWithMe'](this[_0xa286f5(0x32e)][_0xa286f5(0x19a)](_0x443a5d[_0xa286f5(0x3c9)][_0xa286f5(0x30a)],()=>_0x443a5d[_0xa286f5(0x301)](_0x5dd936({'status$':this[_0xa286f5(0x251)]['asObservable']()}),this[_0xa286f5(0x372)])));}},_0xaa14ec['DesktopCollaborationStatusDisplayController']=_0x3c66f4([_0xd7ff19(0x0,_0x4d68d6[_0x38ff04(0x28e)]),_0xd7ff19(0x1,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6['Injector'])),_0xd7ff19(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x449191[_0x38ff04(0x46a)])),_0xd7ff19(0x3,_0x443a5d[_0x38ff04(0x341)])],_0xaa14ec['DesktopCollaborationStatusDisplayController']);function _0x5dd936(_0x107723){const {status$:_0x15a9be}=_0x107723;return function(){return _0x310529['jsx'](_0x150791,{'status$':_0x15a9be});};}const _0x156d7e=_0x4d68d6[_0x38ff04(0x28c)](_0x38ff04(0x2cc));var _0x2df004=Object[_0x38ff04(0x1f7)],_0xf9bc80=(_0x1ad714,_0x183ee2,_0x209a7d,_0x5c7f13)=>{const _0x17335a=_0x38ff04;for(var _0x59608a=_0x5c7f13>0x1?void 0x0:_0x5c7f13?_0x2df004(_0x183ee2,_0x209a7d):_0x183ee2,_0x390c17=_0x1ad714[_0x17335a(0x1c2)]-0x1,_0x3b074b;_0x390c17>=0x0;_0x390c17--)(_0x3b074b=_0x1ad714[_0x390c17])&&(_0x59608a=_0x3b074b(_0x59608a)||_0x59608a);return _0x59608a;},_0x38b57e=(_0x23d6b2,_0x411e1e)=>(_0x28a9ac,_0x1e6733)=>_0x411e1e(_0x28a9ac,_0x1e6733,_0x23d6b2);_0xaa14ec[_0x38ff04(0x42d)]=class extends _0x4d68d6[_0x38ff04(0x387)]{constructor(_0x5fc9d9,_0x10550d,_0x2251ba,_0x514ed5,_0xf832f9){const _0x319506=_0x38ff04;super(),this['_urlService']=_0x5fc9d9,this[_0x319506(0x1e6)]=_0x10550d,this[_0x319506(0x25b)]=_0x2251ba,this[_0x319506(0x45f)]=_0x514ed5,_0xf832f9?_0xf832f9==null||_0xf832f9[_0x319506(0x44b)]()[_0x319506(0x3ae)](()=>this['_init']()):(this[_0x319506(0x1e6)][_0x319506(0x272)](_0x319506(0x354),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x319506(0x2fb)]());}async['_init'](){const _0x19eaa4=_0x38ff04,_0x372b7f=this[_0x19eaa4(0x235)][_0x19eaa4(0x2db)](_0x19eaa4(0x2e3)),_0x4a420c=this['_urlService'][_0x19eaa4(0x2db)](_0x19eaa4(0x418)),_0x46861e=this[_0x19eaa4(0x235)][_0x19eaa4(0x2db)]('subunit');if(!_0x372b7f||!_0x4a420c){this[_0x19eaa4(0x1e6)][_0x19eaa4(0x272)](_0x19eaa4(0x354),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x30d817=await this[_0x19eaa4(0x45f)][_0x19eaa4(0x42e)](_0x372b7f,Number(_0x4a420c),_0x46861e);_0x30d817&&_0x30d817 instanceof _0x4d68d6[_0x19eaa4(0x307)]&&this[_0x19eaa4(0x3be)](_0x30d817);}async[_0x38ff04(0x3be)](_0x48aaf5){const _0x3cb291=_0x38ff04;await this[_0x3cb291(0x27c)](_0x48aaf5),_0x48aaf5[_0x3cb291(0x18a)][_0x3cb291(0x41c)](_0x376c8a['takeUntil'](this[_0x3cb291(0x3a4)]))[_0x3cb291(0x448)](_0x26667b=>{_0x26667b&&this['_updateURLWithCurrentState'](_0x26667b);}),this[_0x3cb291(0x235)][_0x3cb291(0x2ca)][_0x3cb291(0x41c)](_0x376c8a[_0x3cb291(0x2dc)](this[_0x3cb291(0x3a4)]))[_0x3cb291(0x448)](()=>this[_0x3cb291(0x27c)](_0x48aaf5));}[_0x38ff04(0x321)](_0x26b065,_0x3147c1=!0x1){const _0x3af23a=_0x38ff04,_0x45ce35=this[_0x3af23a(0x235)]['getParam'](_0x3af23a(0x2ff));_0x26b065[_0x3af23a(0x221)]()!==_0x45ce35&&this[_0x3af23a(0x235)][_0x3af23a(0x230)](_0x3af23a(0x2ff),_0x26b065['getSheetId'](),_0x3147c1);}async[_0x38ff04(0x27c)](_0x1b816f){const _0x57a0b7=_0x38ff04;var _0x1fe912;const _0xd1e869=this[_0x57a0b7(0x235)][_0x57a0b7(0x2db)](_0x57a0b7(0x2ff));if(!_0xd1e869||!_0x1b816f[_0x57a0b7(0x26f)](_0xd1e869)){const _0xdaac6=_0x1b816f['getUnhiddenWorksheets']()[0x0],_0x1bf83d=_0x1b816f[_0x57a0b7(0x26f)](_0xdaac6);if(!_0x1bf83d)return;this[_0x57a0b7(0x321)](_0x1bf83d,!0x0),await this[_0x57a0b7(0x25b)][_0x57a0b7(0x42a)](_0x18e703[_0x57a0b7(0x1e8)]['id'],{'unitId':_0x1b816f['getUnitId'](),'subUnitId':_0xdaac6});return;}((_0x1fe912=_0x1b816f['getActiveSheet']())==null?void 0x0:_0x1fe912[_0x57a0b7(0x221)]())!==_0xd1e869&&await this[_0x57a0b7(0x25b)]['executeCommand'](_0x18e703[_0x57a0b7(0x1e8)]['id'],{'unitId':_0x1b816f[_0x57a0b7(0x373)](),'subUnitId':_0xd1e869});}},_0xaa14ec[_0x38ff04(0x42d)]=_0xf9bc80([_0x38b57e(0x0,_0x156d7e),_0x38b57e(0x1,_0x4d68d6[_0x38ff04(0x1d5)]),_0x38b57e(0x2,_0x4d68d6[_0x38ff04(0x231)]),_0x38b57e(0x3,_0x4d68d6['Inject'](_0x449191[_0x38ff04(0x3e2)])),_0x38b57e(0x4,_0x4d68d6[_0x38ff04(0x202)](_0x3a8a15[_0x38ff04(0x1f6)]))],_0xaa14ec[_0x38ff04(0x42d)]);var _0xa2bec8=Object['getOwnPropertyDescriptor'],_0x5ef668=(_0x3c51a2,_0x295070,_0x35f800,_0x26eec9)=>{for(var _0x477ace=_0x26eec9>0x1?void 0x0:_0x26eec9?_0xa2bec8(_0x295070,_0x35f800):_0x295070,_0x37b08d=_0x3c51a2['length']-0x1,_0x43f0c7;_0x37b08d>=0x0;_0x37b08d--)(_0x43f0c7=_0x3c51a2[_0x37b08d])&&(_0x477ace=_0x43f0c7(_0x477ace)||_0x477ace);return _0x477ace;},_0x3256fa=(_0x22b93a,_0x5dbd64)=>(_0x349c6e,_0x2e13c3)=>_0x5dbd64(_0x349c6e,_0x2e13c3,_0x22b93a);let _0x3228b9=class extends _0x4d68d6[_0x38ff04(0x387)]{constructor(_0x23ba85,_0x29d9d5){const _0x3e1824=_0x38ff04;super(),this[_0x3e1824(0x414)]=_0x23ba85,this[_0x3e1824(0x29e)]=_0x29d9d5,this[_0x3e1824(0x2fb)]();}[_0x38ff04(0x2fb)](){const _0x34899f=_0x38ff04,_0x4a5a46=this;this[_0x34899f(0x46d)](this['_docClipboardService'][_0x34899f(0x225)]({'onBeforePasteImage':async _0x97dae6=>{const _0x4530b5=_0x34899f,_0x2d34da=await _0x4a5a46[_0x4530b5(0x29e)][_0x4530b5(0x3a8)](_0x97dae6);return _0x2d34da?{'source':_0x2d34da[_0x4530b5(0x3f3)],'imageSourceType':_0x2d34da[_0x4530b5(0x3c2)]}:null;}}));}};_0x3228b9=_0x5ef668([_0x3256fa(0x0,_0x39680d['IDocClipboardService']),_0x3256fa(0x1,_0x4783bb[_0x38ff04(0x189)])],_0x3228b9);const _0x562759=[_0x38ff04(0x25e),'jiqing.500',_0x38ff04(0x1fe),'red.300',_0x38ff04(0x26d),_0x38ff04(0x29a)];class _0x2b1ee3 extends _0x4d68d6['Disposable']{constructor(){const _0x5c4ab9=_0x38ff04;super(...arguments),_0x3ccfb7(this,_0x5c4ab9(0x200),new Map()),_0x3ccfb7(this,_0x5c4ab9(0x3c4),0x0);}[_0x38ff04(0x2ee)](_0x1083b0){const _0x4f65b3=_0x38ff04;if(this[_0x4f65b3(0x200)][_0x4f65b3(0x2f9)](_0x1083b0))return this[_0x4f65b3(0x200)]['get'](_0x1083b0);const _0x15d292=_0x562759[this[_0x4f65b3(0x3c4)]];return this[_0x4f65b3(0x3c4)]=(this['_colorIndex']+0x1)%_0x562759[_0x4f65b3(0x1c2)],this['_assignedColors'][_0x4f65b3(0x332)](_0x1083b0,_0x15d292),_0x15d292;}}function _0x54be7f(_0x33e35d){const _0x122c57=_0x38ff04;let _0x324809='';for(const _0xf49d71 of _0x33e35d){const {startOffset:_0x3032a8,endOffset:_0x5588ec,isActive:_0x4e7d35,rangeType:_0x325f26,segmentId:_0x22a1d9,segmentPage:_0x253204}=_0xf49d71;_0x324809[_0x122c57(0x1c2)]&&(_0x324809+=','),_0x324809+=_0x3032a8+':'+_0x5588ec+':'+(_0x4e7d35?'1':'0')+':'+_0x325f26+':'+_0x22a1d9+':'+_0x253204;}return _0x324809;}function _0xe05d7e(_0x5eeb79){const _0x23aa05=_0x38ff04,_0x590a10=_0x5eeb79[_0x23aa05(0x253)](','),_0x351cb0=[];for(const _0x411ee5 of _0x590a10){const [_0x1df6e4,_0x15343d,_0x55121b,_0x379cc9,_0x3974c3,_0x3ac78a]=_0x411ee5[_0x23aa05(0x253)](':');_0x351cb0[_0x23aa05(0x23a)]({'startOffset':Number(_0x1df6e4),'endOffset':Number(_0x15343d),'collapsed':_0x1df6e4===_0x15343d,'isActive':_0x55121b==='1','rangeType':_0x379cc9===_0x4d68d6[_0x23aa05(0x1df)][_0x23aa05(0x345)]?_0x4d68d6[_0x23aa05(0x1df)][_0x23aa05(0x345)]:_0x4d68d6['DOC_RANGE_TYPE'][_0x23aa05(0x1c6)],'segmentId':typeof _0x3974c3==_0x23aa05(0x2e5)?String(_0x3974c3):'','segmentPage':Number(_0x3ac78a!=null?_0x3ac78a:-0x1)});}return _0x351cb0['some'](_0x2fdafb=>_0x2fdafb[_0x23aa05(0x267)])||(_0x351cb0[0x0][_0x23aa05(0x267)]=!0x0),_0x351cb0;}class _0x1a4e23 extends _0x4d68d6['RxDisposable']{constructor(){const _0x54de62=_0x38ff04;super(...arguments),_0x3ccfb7(this,_0x54de62(0x21c),new _0x376c8a[(_0x54de62(0x238))](null)),_0x3ccfb7(this,_0x54de62(0x31a),this[_0x54de62(0x21c)][_0x54de62(0x2b7)]());}[_0x38ff04(0x3a6)](_0x2e0dae){const {unitID:_0x44f3eb,memberID:_0x2d9ece,textRanges:_0x300075}=_0x2e0dae,_0x24e7f2=_0x54be7f(_0x300075);if(_0x24e7f2==='')return;const _0x2c77d3={'unitID':_0x44f3eb,'memberID':_0x2d9ece,'selection':_0x24e7f2};this['_collabCursorState$']['next'](_0x2c77d3);}}var _0x153262=Object['getOwnPropertyDescriptor'],_0x59eaa5=(_0x4b9a1b,_0x39317e,_0x7c1016,_0x1e8c4d)=>{for(var _0x3de895=_0x1e8c4d>0x1?void 0x0:_0x1e8c4d?_0x153262(_0x39317e,_0x7c1016):_0x39317e,_0x4ca101=_0x4b9a1b['length']-0x1,_0x474f60;_0x4ca101>=0x0;_0x4ca101--)(_0x474f60=_0x4b9a1b[_0x4ca101])&&(_0x3de895=_0x474f60(_0x3de895)||_0x3de895);return _0x3de895;},_0x5d1e5a=(_0x9f7740,_0x5904a0)=>(_0x500110,_0x46e307)=>_0x5904a0(_0x500110,_0x46e307,_0x9f7740);const _0x40395b=0x12c,_0x39af4=0x64;let _0x764730=class extends _0x4d68d6[_0x38ff04(0x387)]{constructor(_0x5be45e,_0x22e320,_0x3ff1cc,_0x52fe49,_0x8edc14,_0x6d9e86,_0x3be2ef,_0x1fe629,_0x5c3c83){const _0x40c0ad=_0x38ff04;super(),_0x3ccfb7(this,_0x40c0ad(0x277),!0x1),_0x3ccfb7(this,_0x40c0ad(0x2fb),!0x1),_0x3ccfb7(this,_0x40c0ad(0x45d),new _0x376c8a[(_0x40c0ad(0x238))](new Map())),_0x3ccfb7(this,_0x40c0ad(0x219),this[_0x40c0ad(0x45d)]['asObservable']()),_0x3ccfb7(this,'_roomMembers$',new _0x376c8a[(_0x40c0ad(0x238))]([])),_0x3ccfb7(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x376c8a['debounceTime'](_0x40395b))),_0x3ccfb7(this,_0x40c0ad(0x2fa),_0x4d68d6['debounce'](_0x5f076f=>{const _0xfc101a=_0x40c0ad,_0xff825c={'eventID':_0x444278[_0xfc101a(0x1fd)][_0xfc101a(0x1c0)],'data':{'unitID':this[_0xfc101a(0x339)],'memberID':this[_0xfc101a(0x18f)][_0xfc101a(0x22c)](),'selection':_0x54be7f(_0x5f076f)}};this[_0xfc101a(0x18f)][_0xfc101a(0x383)](_0xff825c,this[_0xfc101a(0x339)]);},_0x39af4)),(this['unitID']=_0x5be45e,this[_0x40c0ad(0x18f)]=_0x22e320,this[_0x40c0ad(0x372)]=_0x3ff1cc,this[_0x40c0ad(0x38f)]=_0x52fe49,this[_0x40c0ad(0x275)]=_0x8edc14,this['_syncEditingCollabCursorService']=_0x6d9e86,this['_transformService']=_0x3be2ef,this[_0x40c0ad(0x1d7)]=_0x1fe629,this['_commandService']=_0x5c3c83);}get['cursorInfo'](){const _0x47cf5c=_0x38ff04;return this[_0x47cf5c(0x45d)][_0x47cf5c(0x2eb)]();}get[_0x38ff04(0x195)](){const _0x12690f=_0x38ff04;return this['_roomMembers$'][_0x12690f(0x2eb)]();}['dispose'](){const _0x4f51df=_0x38ff04;super[_0x4f51df(0x37e)](),this[_0x4f51df(0x45d)]['next'](new Map()),this[_0x4f51df(0x45d)][_0x4f51df(0x208)](),this[_0x4f51df(0x2da)]['next']([]),this[_0x4f51df(0x2da)]['complete']();}[_0x38ff04(0x19b)](){const _0x26e152=_0x38ff04;this[_0x26e152(0x2fb)]||(this['_init']=!0x0,this[_0x26e152(0x18f)][_0x26e152(0x3fe)]['pipe'](_0x376c8a[_0x26e152(0x2dc)](this['dispose$']))[_0x26e152(0x448)](_0x280cf9=>{const _0x944970=_0x26e152;_0x280cf9===_0x449191[_0x944970(0x394)][_0x944970(0x1dc)]?this[_0x944970(0x397)]():this['_toggleOffline']();}),this[_0x26e152(0x18f)][_0x26e152(0x346)]['pipe'](_0x376c8a[_0x26e152(0x2dc)](this[_0x26e152(0x3a4)]))[_0x26e152(0x448)](_0x335bae=>{const _0x476a22=_0x26e152,_0x4cacf7=_0x335bae[_0x476a22(0x262)];_0x4cacf7===_0x444278[_0x476a22(0x1fd)][_0x476a22(0x1c0)]&&this['_onCursorUpdate'](_0x335bae),_0x4cacf7===_0x444278[_0x476a22(0x1fd)][_0x476a22(0x3ef)]&&this[_0x476a22(0x470)](_0x335bae);}),this['disposeWithMe'](this['_commandService'][_0x26e152(0x1ca)](_0x4c4131=>{const _0xd2ac01=_0x26e152,_0x3a0bc7=_0x4c4131[_0xd2ac01(0x288)];_0x3a0bc7!=null&&this[_0xd2ac01(0x277)]&&_0x4c4131['id']===_0x338c72[_0xd2ac01(0x40e)]['id']&&_0x3a0bc7['unitId']===this[_0xd2ac01(0x339)]&&_0x3a0bc7[_0xd2ac01(0x1f9)]===!0x1&&_0x3a0bc7[_0xd2ac01(0x38c)][_0xd2ac01(0x1c2)]>0x0&&this['_updateLocalCursor'](_0x3a0bc7['ranges']);})),this[_0x26e152(0x242)]['collabCursorState$'][_0x26e152(0x41c)](_0x376c8a['takeUntil'](this[_0x26e152(0x3a4)]))[_0x26e152(0x448)](_0xd06847=>{const _0x1b82ae=_0x26e152;if((_0xd06847==null?void 0x0:_0xd06847[_0x1b82ae(0x339)])!==this[_0x1b82ae(0x339)])return;const _0x474ef6={'eventID':_0x444278[_0x1b82ae(0x1fd)][_0x1b82ae(0x1c0)],'data':_0xd06847};this[_0x1b82ae(0x47a)](_0x474ef6);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x280336=>{const _0x4cb98b=_0x26e152;if(_0x280336[_0x4cb98b(0x288)]==null)return;const _0x30d666=_0x280336[_0x4cb98b(0x288)];if(_0x280336['id']!==_0x338c72[_0x4cb98b(0x1f8)]['id']||_0x30d666[_0x4cb98b(0x3dc)]!==this[_0x4cb98b(0x339)])return;const _0xd89fd={'id':_0x4cb98b(0x37c),'params':_0x30d666},_0x13f9a2=this[_0x4cb98b(0x23b)];for(const [_0x3fa0a4,_0x2ef824]of _0x13f9a2){const _0x5430cd={'id':_0x4cb98b(0x37c),'params':{'unitId':this[_0x4cb98b(0x339)],'actions':null,'textRanges':_0x2ef824[_0x4cb98b(0x38c)]}},_0x1d39d4=this[_0x4cb98b(0x22f)][_0x4cb98b(0x1c7)](_0xd89fd,_0x5430cd,!0x1);if(_0x444278[_0x4cb98b(0x268)](_0x1d39d4))throw _0x1d39d4[_0x4cb98b(0x431)];_0x13f9a2[_0x4cb98b(0x332)](_0x3fa0a4,{..._0x2ef824,'ranges':_0x1d39d4[_0x4cb98b(0x3e5)][_0x4cb98b(0x288)][_0x4cb98b(0x416)]});}queueMicrotask(()=>{const _0x5eacfa=_0x4cb98b;this[_0x5eacfa(0x45d)]['next'](_0x13f9a2);});})));}[_0x38ff04(0x47a)](_0x7099a8){const _0x2e43d3=_0x38ff04;var _0x4d8ef9,_0x361c8d;const {memberID:_0x910ab2,selection:_0x355c93}=_0x7099a8[_0x2e43d3(0x269)],_0x4d67a4=_0xe05d7e(_0x355c93),_0x15e921=(_0x361c8d=(_0x4d8ef9=this[_0x2e43d3(0x275)][_0x2e43d3(0x423)](this[_0x2e43d3(0x339)],_0x910ab2))==null?void 0x0:_0x4d8ef9[_0x2e43d3(0x41b)])!=null?_0x361c8d:_0x2e43d3(0x432),_0x213314={'color':this['_colorAssignService'][_0x2e43d3(0x2ee)](_0x910ab2),'name':_0x15e921,'ranges':_0x4d67a4},_0x563dd4=this[_0x2e43d3(0x23b)];_0x563dd4[_0x2e43d3(0x332)](_0x910ab2,_0x213314),this[_0x2e43d3(0x45d)][_0x2e43d3(0x254)](_0x563dd4);}[_0x38ff04(0x470)](_0x791cbb){const _0x5c752a=_0x38ff04,{memberID:_0x33383e}=_0x791cbb[_0x5c752a(0x269)],_0x197a42=this[_0x5c752a(0x23b)];_0x197a42[_0x5c752a(0x1d2)](_0x33383e),this['_cursorInfo$'][_0x5c752a(0x254)](_0x197a42);}[_0x38ff04(0x397)](){const _0x283c04=_0x38ff04;var _0x5aae80;if(this[_0x283c04(0x277)]=!0x0,((_0x5aae80=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5aae80[_0x283c04(0x373)]())!==this['unitID'])return;const _0xc80f49=this['_injector']['get'](_0x338c72[_0x283c04(0x2ef)])[_0x283c04(0x2e1)]();Array[_0x283c04(0x31f)](_0xc80f49)&&_0xc80f49[_0x283c04(0x1c2)]>0x0&&this[_0x283c04(0x2fa)](_0xc80f49);}[_0x38ff04(0x308)](){const _0x415813=_0x38ff04;this[_0x415813(0x277)]=!0x1;}};_0x764730=_0x59eaa5([_0x5d1e5a(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6[_0x38ff04(0x197)])),_0x5d1e5a(0x3,_0x4d68d6[_0x38ff04(0x2de)](_0x2b1ee3)),_0x5d1e5a(0x4,_0x4d68d6['Inject'](_0x449191[_0x38ff04(0x1cc)])),_0x5d1e5a(0x5,_0x4d68d6[_0x38ff04(0x2de)](_0x1a4e23)),_0x5d1e5a(0x6,_0x444278[_0x38ff04(0x214)]),_0x5d1e5a(0x7,_0x4d68d6[_0x38ff04(0x28e)]),_0x5d1e5a(0x8,_0x4d68d6[_0x38ff04(0x231)])],_0x764730);var _0x3cb4cc=Object[_0x38ff04(0x1f7)],_0x272a26=(_0x2666b1,_0x3335bd,_0x44626c,_0xb70796)=>{const _0x1d3fcb=_0x38ff04;for(var _0x3c1573=_0xb70796>0x1?void 0x0:_0xb70796?_0x3cb4cc(_0x3335bd,_0x44626c):_0x3335bd,_0x3be504=_0x2666b1[_0x1d3fcb(0x1c2)]-0x1,_0x54db97;_0x3be504>=0x0;_0x3be504--)(_0x54db97=_0x2666b1[_0x3be504])&&(_0x3c1573=_0x54db97(_0x3c1573)||_0x3c1573);return _0x3c1573;},_0x51b441=(_0xedee52,_0x585d0e)=>(_0x410491,_0x4c136c)=>_0x585d0e(_0x410491,_0x4c136c,_0xedee52);const _0x529401=0x12c,_0x2000a1=0x64,_0xf9536c=()=>{let _0x19e604=[],_0x2f6345=!0x1;return _0x568f76=>{const _0x1009ef=_0x9a99;_0x19e604[_0x1009ef(0x23a)](_0x568f76),_0x2f6345||(_0x2f6345=!0x0,setTimeout(()=>{_0x19e604['forEach'](_0x4c1c42=>_0x4c1c42()),_0x19e604=[],_0x2f6345=!0x1;}));};};let _0x9a0eba=class extends _0x4d68d6['RxDisposable']{constructor(_0x4886c6,_0x1b979e,_0x36ba90,_0x22c272,_0x325fc8,_0x4211ad,_0x3eb8e2,_0x345367){const _0x5d2291=_0x38ff04;super(),_0x3ccfb7(this,'_online',!0x1),_0x3ccfb7(this,_0x5d2291(0x2fb),!0x1),_0x3ccfb7(this,_0x5d2291(0x45d),new _0x376c8a[(_0x5d2291(0x238))](new Map())),_0x3ccfb7(this,'cursorInfo$',this[_0x5d2291(0x45d)][_0x5d2291(0x2b7)]()),_0x3ccfb7(this,_0x5d2291(0x2da),new _0x376c8a[(_0x5d2291(0x238))]([])),_0x3ccfb7(this,_0x5d2291(0x371),this[_0x5d2291(0x2da)][_0x5d2291(0x41c)](_0x376c8a[_0x5d2291(0x297)](_0x529401))),_0x3ccfb7(this,_0x5d2291(0x2fa),_0x4d68d6['debounce']((_0x493d08,_0x5c0395)=>{const _0x43c7b2=_0x5d2291,_0x581b60={'eventID':_0x444278[_0x43c7b2(0x1fd)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x231e97['serializeRangeWithSheet'](_0x493d08,_0x5c0395['range'])}};this['_session']['send'](_0x581b60,this[_0x43c7b2(0x339)]);},_0x2000a1)),(this[_0x5d2291(0x339)]=_0x4886c6,this[_0x5d2291(0x18f)]=_0x1b979e,this[_0x5d2291(0x372)]=_0x36ba90,this[_0x5d2291(0x38f)]=_0x22c272,this['_memberService']=_0x325fc8,this[_0x5d2291(0x1d7)]=_0x4211ad,this['_commandService']=_0x3eb8e2,this['_refRangeService']=_0x345367);}get['cursorInfo'](){const _0x1d8637=_0x38ff04;return this[_0x1d8637(0x45d)][_0x1d8637(0x2eb)]();}get[_0x38ff04(0x195)](){const _0x268ff9=_0x38ff04;return this[_0x268ff9(0x2da)][_0x268ff9(0x2eb)]();}[_0x38ff04(0x37e)](){const _0x3b8681=_0x38ff04;super[_0x3b8681(0x37e)](),this[_0x3b8681(0x45d)][_0x3b8681(0x254)](new Map()),this[_0x3b8681(0x45d)][_0x3b8681(0x208)](),this[_0x3b8681(0x2da)][_0x3b8681(0x254)]([]),this['_roomMembers$'][_0x3b8681(0x208)]();}[_0x38ff04(0x19b)](){const _0x569d01=_0x38ff04;this[_0x569d01(0x2fb)]||(this[_0x569d01(0x2fb)]=!0x0,this[_0x569d01(0x18f)][_0x569d01(0x3fe)][_0x569d01(0x41c)](_0x376c8a[_0x569d01(0x2dc)](this['dispose$']))[_0x569d01(0x448)](_0x352976=>{const _0x585a99=_0x569d01;_0x352976===_0x449191['SessionStatus'][_0x585a99(0x1dc)]?this[_0x585a99(0x397)]():this[_0x585a99(0x308)]();}),this['_session'][_0x569d01(0x346)][_0x569d01(0x41c)](_0x376c8a[_0x569d01(0x2dc)](this[_0x569d01(0x3a4)]))['subscribe'](_0x34097a=>{const _0x31c6cc=_0x569d01,_0x4bfda1=_0x34097a['eventID'];_0x4bfda1===_0x444278[_0x31c6cc(0x1fd)][_0x31c6cc(0x1c0)]&&this['_onCursorUpdate'](_0x34097a),_0x4bfda1===_0x444278[_0x31c6cc(0x1fd)][_0x31c6cc(0x3ef)]&&this[_0x31c6cc(0x470)](_0x34097a);}),this['_onRefRangeChange'](),this[_0x569d01(0x46d)](this['_commandService'][_0x569d01(0x1ca)](_0x453b87=>{const _0x4444d6=_0x569d01;if(this[_0x4444d6(0x277)]&&_0x453b87['id']===_0x18e703[_0x4444d6(0x46f)]['id']&&_0x453b87[_0x4444d6(0x288)]['unitId']===this[_0x4444d6(0x339)]){const _0x34deeb=_0x453b87[_0x4444d6(0x288)];this[_0x4444d6(0x2fa)](_0x34deeb[_0x4444d6(0x377)],_0x34deeb[_0x4444d6(0x222)][0x0]);}})));}[_0x38ff04(0x47a)](_0x49bfbc){const _0x5f49c8=_0x38ff04;var _0x4ef22e,_0xfb0a8f;const {memberID:_0x347cda,selection:_0x5a9f03}=_0x49bfbc[_0x5f49c8(0x269)],{sheetName:_0x5e70da,range:_0x3395de}=_0x231e97[_0x5f49c8(0x20b)](_0x5a9f03),_0x3995c0={'name':(_0xfb0a8f=(_0x4ef22e=this[_0x5f49c8(0x275)][_0x5f49c8(0x423)](this[_0x5f49c8(0x339)],_0x347cda))==null?void 0x0:_0x4ef22e[_0x5f49c8(0x41b)])!=null?_0xfb0a8f:_0x5f49c8(0x432),'range':this[_0x5f49c8(0x2a3)](_0x5e70da,_0x3395de),'sheetID':_0x5e70da,'color':this['_colorAssignService'][_0x5f49c8(0x2ee)](_0x347cda),'selection':_0x5a9f03},_0x10bb40=this[_0x5f49c8(0x23b)];_0x10bb40['set'](_0x347cda,_0x3995c0),this[_0x5f49c8(0x45d)]['next'](_0x10bb40);}[_0x38ff04(0x470)](_0x3b471f){const _0x567aeb=_0x38ff04,{memberID:_0x47cf04}=_0x3b471f['data'],_0x3e5995=this[_0x567aeb(0x23b)];_0x3e5995[_0x567aeb(0x1d2)](_0x47cf04),this['_cursorInfo$']['next'](_0x3e5995);}[_0x38ff04(0x2a3)](_0x71b164,_0x4d1c19){const _0x321bc7=_0x38ff04;var _0x39bd69,_0xb3e612;const _0xc66e13=(_0xb3e612=(_0x39bd69=this[_0x321bc7(0x1d7)][_0x321bc7(0x203)](this[_0x321bc7(0x339)]))==null?void 0x0:_0x39bd69[_0x321bc7(0x26f)](_0x71b164))==null?void 0x0:_0xb3e612[_0x321bc7(0x2f2)]();return(_0xc66e13==null?void 0x0:_0xc66e13[_0x321bc7(0x312)](_0x5a24b1=>_0x4d68d6['Rectangle'][_0x321bc7(0x35f)](_0x5a24b1,_0x4d1c19)))||_0x4d1c19;}[_0x38ff04(0x40f)](){const _0x3dfd24=_0x38ff04,_0x5f1d60=new _0x4d68d6[(_0x3dfd24(0x41f))](),_0x3cf34e=_0xf9536c(),_0x33a7cb=()=>{const _0x5a004d=_0x3dfd24;_0x5f1d60[_0x5a004d(0x37e)]();const _0x260f7a=(_0x5d3c61,_0x5391b4,_0x3e6c16,_0x1c67ca)=>{const _0x136585=_0x5a004d;let _0x16bbb4=[];switch(_0x5d3c61['id']){case _0x18e703['EffectRefRangId'][_0x136585(0x199)]:{_0x16bbb4=_0x18e703[_0x136585(0x359)](_0x5d3c61,_0x1c67ca);break;}case _0x18e703[_0x136585(0x3b5)][_0x136585(0x38e)]:{_0x16bbb4=_0x18e703[_0x136585(0x245)](_0x5d3c61,_0x1c67ca);break;}case _0x18e703['EffectRefRangId']['InsertColCommandId']:{_0x16bbb4=_0x18e703[_0x136585(0x255)](_0x5d3c61,_0x1c67ca);break;}case _0x18e703['EffectRefRangId'][_0x136585(0x3d2)]:{_0x16bbb4=_0x18e703['handleInsertRangeMoveDown'](_0x5d3c61,_0x1c67ca);break;}case _0x18e703['EffectRefRangId'][_0x136585(0x28f)]:{_0x16bbb4=_0x18e703['handleInsertRangeMoveRight'](_0x5d3c61,_0x1c67ca);break;}case _0x18e703[_0x136585(0x3b5)]['InsertRowCommandId']:{_0x16bbb4=_0x18e703[_0x136585(0x45a)](_0x5d3c61,_0x1c67ca);break;}case _0x18e703['EffectRefRangId']['MoveRangeCommandId']:{_0x16bbb4=_0x18e703['handleMoveRange'](_0x5d3c61,_0x1c67ca);break;}case _0x18e703[_0x136585(0x3b5)][_0x136585(0x3a5)]:{_0x16bbb4=_0x18e703[_0x136585(0x293)](_0x5d3c61,_0x1c67ca);break;}case _0x18e703[_0x136585(0x3b5)][_0x136585(0x207)]:{_0x16bbb4=_0x18e703[_0x136585(0x334)](_0x5d3c61,_0x1c67ca);break;}}const _0xdd0dfc=_0x18e703[_0x136585(0x3f5)](_0x16bbb4,_0x1c67ca),_0x6d4518=this['cursorInfo'][_0x136585(0x37b)](_0x5391b4);if(_0x6d4518&&_0xdd0dfc){const _0x1035f7={..._0x6d4518,'range':_0xdd0dfc};this[_0x136585(0x23b)]['set'](_0x5391b4,_0x1035f7),_0x3cf34e(()=>{const _0x5c3f9e=_0x136585,_0x425088=this[_0x5c3f9e(0x1e0)][_0x5c3f9e(0x1a1)](_0xdd0dfc,_0x130983=>(_0x425088[_0x5c3f9e(0x37e)](),_0x260f7a(_0x130983,_0x5391b4,_0x3e6c16,_0xdd0dfc)));_0x5f1d60[_0x5c3f9e(0x3f4)](_0x425088);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5a004d(0x419)]((_0x587337,_0x386f99)=>{const _0x52df45=_0x5a004d,{range:_0x304774,sheetID:_0x47724a}=_0x587337,_0x137b5e=this[_0x52df45(0x1e0)][_0x52df45(0x1a1)](_0x304774,_0x3665a5=>(_0x137b5e[_0x52df45(0x37e)](),_0x260f7a(_0x3665a5,_0x386f99,_0x47724a,_0x304774)));_0x5f1d60['add'](_0x137b5e);});};this[_0x3dfd24(0x46d)](_0x4d68d6[_0x3dfd24(0x2cd)](this['_cursorInfo$'][_0x3dfd24(0x448)](()=>{_0x33a7cb();})));}[_0x38ff04(0x397)](){const _0x4edbdf=_0x38ff04;var _0x17e7c3,_0x14a4e0;if(this['_online']=!0x0,((_0x17e7c3=this[_0x4edbdf(0x1d7)][_0x4edbdf(0x1d9)]())==null?void 0x0:_0x17e7c3[_0x4edbdf(0x373)]())!==this[_0x4edbdf(0x339)])return;const _0x2c4759=(_0x14a4e0=this[_0x4edbdf(0x372)][_0x4edbdf(0x37b)](_0x18e703[_0x4edbdf(0x35a)])[_0x4edbdf(0x475)]())==null?void 0x0:_0x14a4e0[0x0],_0x5083e1=this[_0x4edbdf(0x1d7)][_0x4edbdf(0x1e1)](_0x4d68d6[_0x4edbdf(0x1d6)]['UNIVER_SHEET'])[_0x4edbdf(0x3b4)]();_0x2c4759&&_0x5083e1&&this[_0x4edbdf(0x2fa)](_0x5083e1[_0x4edbdf(0x221)](),_0x2c4759);}[_0x38ff04(0x308)](){const _0x403633=_0x38ff04;this[_0x403633(0x277)]=!0x1;}};_0x9a0eba=_0x272a26([_0x51b441(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6[_0x38ff04(0x197)])),_0x51b441(0x3,_0x4d68d6[_0x38ff04(0x2de)](_0x2b1ee3)),_0x51b441(0x4,_0x4d68d6[_0x38ff04(0x2de)](_0x449191[_0x38ff04(0x1cc)])),_0x51b441(0x5,_0x4d68d6[_0x38ff04(0x28e)]),_0x51b441(0x6,_0x4d68d6[_0x38ff04(0x231)]),_0x51b441(0x7,_0x4d68d6['Inject'](_0x18e703[_0x38ff04(0x21a)]))],_0x9a0eba);var _0x1bd9a8=Object['getOwnPropertyDescriptor'],_0x1cefdc=(_0x32e327,_0x3dafba,_0x395325,_0x4b000e)=>{const _0x62f0=_0x38ff04;for(var _0x44e5c9=_0x4b000e>0x1?void 0x0:_0x4b000e?_0x1bd9a8(_0x3dafba,_0x395325):_0x3dafba,_0x16a508=_0x32e327[_0x62f0(0x1c2)]-0x1,_0x141cd1;_0x16a508>=0x0;_0x16a508--)(_0x141cd1=_0x32e327[_0x16a508])&&(_0x44e5c9=_0x141cd1(_0x44e5c9)||_0x44e5c9);return _0x44e5c9;},_0x107c31=(_0x4a5c75,_0x13c609)=>(_0x1c78d4,_0x5a5cdf)=>_0x13c609(_0x1c78d4,_0x5a5cdf,_0x4a5c75);let _0x485889=class extends _0x4d68d6[_0x38ff04(0x387)]{constructor(_0x2f45e5,_0x594473,_0xa9c16){const _0x2a12bb=_0x38ff04;super(),_0x3ccfb7(this,'_entities',new Map()),_0x3ccfb7(this,_0x2a12bb(0x37f),new _0x376c8a[(_0x2a12bb(0x2e0))]()),(this['_univerInstanceService']=_0x2f45e5,this[_0x2a12bb(0x372)]=_0x594473,this[_0x2a12bb(0x294)]=_0xa9c16,this[_0x2a12bb(0x2fb)]());}[_0x38ff04(0x37e)](){const _0x5c1f0e=_0x38ff04;super[_0x5c1f0e(0x37e)](),this[_0x5c1f0e(0x37f)][_0x5c1f0e(0x208)](),this[_0x5c1f0e(0x328)][_0x5c1f0e(0x419)](_0x578af4=>_0x578af4['dispose']());}['getCollabCursors$'](_0x3205d6){const _0x53e1dd=_0x38ff04;return this[_0x53e1dd(0x328)][_0x53e1dd(0x2f9)](_0x3205d6)?this[_0x53e1dd(0x328)][_0x53e1dd(0x37b)](_0x3205d6)[_0x53e1dd(0x219)]:this[_0x53e1dd(0x37f)][_0x53e1dd(0x41c)](_0x376c8a[_0x53e1dd(0x46e)](_0x2d1669=>_0x2d1669['unitID']===_0x3205d6),_0x376c8a['switchMap'](_0x744b19=>_0x744b19[_0x53e1dd(0x219)]));}[_0x38ff04(0x2fb)](){const _0x5d005e=_0x38ff04;this[_0x5d005e(0x1d7)][_0x5d005e(0x405)](_0x4d68d6[_0x5d005e(0x1d6)]['UNIVER_SHEET'])[_0x5d005e(0x41c)](_0x376c8a[_0x5d005e(0x2dc)](this[_0x5d005e(0x3a4)]))[_0x5d005e(0x448)](async _0x2bdf42=>{const _0x358af0=_0x5d005e,_0xa5dc3f=_0x2bdf42[_0x358af0(0x373)](),_0x249270=await this[_0x358af0(0x3fb)](_0xa5dc3f);this[_0x358af0(0x37f)][_0x358af0(0x254)](_0x249270),this[_0x358af0(0x328)][_0x358af0(0x332)](_0xa5dc3f,_0x249270);}),this[_0x5d005e(0x1d7)][_0x5d005e(0x405)](_0x4d68d6[_0x5d005e(0x1d6)][_0x5d005e(0x1b4)])[_0x5d005e(0x41c)](_0x376c8a[_0x5d005e(0x2dc)](this[_0x5d005e(0x3a4)]))[_0x5d005e(0x41c)](_0x376c8a[_0x5d005e(0x46e)](_0x4a8f99=>!_0x4a8f99[_0x5d005e(0x373)]()[_0x5d005e(0x1a2)]('__')))[_0x5d005e(0x448)](async _0x24ca8b=>{const _0x4a1294=_0x5d005e,_0x4e5ca0=_0x24ca8b['getUnitId'](),_0x459ad8=await this[_0x4a1294(0x391)](_0x4e5ca0);this[_0x4a1294(0x37f)][_0x4a1294(0x254)](_0x459ad8),this['_entities'][_0x4a1294(0x332)](_0x4e5ca0,_0x459ad8);}),_0x376c8a['merge'](this[_0x5d005e(0x1d7)][_0x5d005e(0x462)](_0x4d68d6[_0x5d005e(0x1d6)][_0x5d005e(0x1b4)]),this['_univerInstanceService'][_0x5d005e(0x462)](_0x4d68d6['UniverInstanceType'][_0x5d005e(0x19f)]))['pipe'](_0x376c8a[_0x5d005e(0x2dc)](this[_0x5d005e(0x3a4)]))['subscribe'](_0x460dc6=>{const _0x252893=_0x5d005e,_0x484d8f=_0x460dc6[_0x252893(0x373)](),_0x16a4b4=this[_0x252893(0x328)]['get'](_0x484d8f);_0x16a4b4&&(_0x16a4b4[_0x252893(0x37e)](),this['_entities']['delete'](_0x484d8f));});}async[_0x38ff04(0x3fb)](_0x18e300){const _0x270ab8=_0x38ff04,_0x5d9726=await this[_0x270ab8(0x294)][_0x270ab8(0x329)](_0x18e300),_0x31edc3=this[_0x270ab8(0x372)][_0x270ab8(0x476)](_0x9a0eba,_0x18e300,_0x5d9726);return _0x31edc3[_0x270ab8(0x19b)](),_0x31edc3;}async[_0x38ff04(0x391)](_0x32d14f){const _0x9786c8=_0x38ff04,_0x5d4e62=await this[_0x9786c8(0x294)][_0x9786c8(0x329)](_0x32d14f),_0x504989=this[_0x9786c8(0x372)][_0x9786c8(0x476)](_0x764730,_0x32d14f,_0x5d4e62);return _0x504989[_0x9786c8(0x19b)](),_0x504989;}};_0x485889=_0x1cefdc([_0x107c31(0x0,_0x4d68d6['IUniverInstanceService']),_0x107c31(0x1,_0x4d68d6['Inject'](_0x4d68d6['Injector'])),_0x107c31(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x449191[_0x38ff04(0x325)]))],_0x485889);const _0x322664=0x14,_0x25bf28=0xc8,_0x3a44c9=0x4,_0xeaa18b=0x5;function _0x25cbcd(_0x3423a7,_0x4d4b51){const _0x13117d=_0x38ff04;let {radius:_0x5de9c7,width:_0x3a2552,height:_0x5739fe}=_0x4d4b51;_0x5de9c7=_0x5de9c7!=null?_0x5de9c7:0x0,_0x3a2552=_0x3a2552!=null?_0x3a2552:0x1e,_0x5739fe=_0x5739fe!=null?_0x5739fe:0x1e;let _0x3ea7f4=0x0,_0x348884=0x0,_0x235943=0x0;_0x3ea7f4=_0x348884=_0x235943=Math[_0x13117d(0x188)](_0x5de9c7,_0x3a2552/0x2,_0x5739fe/0x2),_0x3423a7[_0x13117d(0x333)](),_0x3423a7[_0x13117d(0x35b)](_0x3ea7f4,0x0),_0x3423a7[_0x13117d(0x390)](_0x3a2552-_0x348884,0x0),_0x3423a7['arc'](_0x3a2552-_0x348884,_0x348884,_0x348884,Math['PI']*0x3/0x2,0x0,!0x1),_0x3423a7[_0x13117d(0x390)](_0x3a2552,_0x5739fe-_0x235943),_0x3423a7[_0x13117d(0x1b2)](_0x3a2552-_0x235943,_0x5739fe-_0x235943,_0x235943,0x0,Math['PI']/0x2,!0x1),_0x3423a7[_0x13117d(0x390)](0x0,_0x5739fe),_0x3423a7[_0x13117d(0x390)](0x0,_0x3ea7f4),_0x3423a7[_0x13117d(0x1b2)](_0x3ea7f4,_0x3ea7f4,_0x3ea7f4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3423a7[_0x13117d(0x3ce)](),_0x4d4b51[_0x13117d(0x2b1)]&&(_0x3423a7['save'](),_0x3423a7[_0x13117d(0x2a1)]=_0x4d4b51[_0x13117d(0x2b1)],_0x4d4b51['fillRule']===_0x13117d(0x400)?_0x3423a7['fill'](_0x13117d(0x400)):_0x3423a7[_0x13117d(0x2b1)](),_0x3423a7[_0x13117d(0x213)]());}class _0xfc7fe9 extends _0x403935[_0x38ff04(0x273)]{constructor(_0x786c3e,_0x1d5c89){const _0x122aeb=_0x38ff04;super(_0x786c3e,_0x1d5c89),_0x3ccfb7(this,_0x122aeb(0x32f)),_0x3ccfb7(this,'text'),(this[_0x122aeb(0x32f)]=_0x1d5c89==null?void 0x0:_0x1d5c89[_0x122aeb(0x32f)],this[_0x122aeb(0x3dd)]=_0x1d5c89==null?void 0x0:_0x1d5c89[_0x122aeb(0x3dd)]);}static[_0x38ff04(0x31c)](_0x215e14,_0x1076e9){const _0x1b1d10=_0x38ff04,{text:_0x1e822f,color:_0x181962}=_0x1076e9;_0x215e14[_0x1b1d10(0x386)](),_0x215e14[_0x1b1d10(0x1c4)]=_0x1b1d10(0x26a);const _0x4a9fef=_0x215e14[_0x1b1d10(0x477)](_0x1e822f)[_0x1b1d10(0x445)],_0x1dcdec=Math[_0x1b1d10(0x188)](_0x4a9fef+0x2*_0x3a44c9,_0x25bf28);_0x25cbcd(_0x215e14,{'height':_0x322664,'radius':0x4,'width':_0x1dcdec,'fill':_0x181962}),_0x215e14['fillStyle']=_0x1b1d10(0x3d4);const _0xfd8296=_0x3a44c9,_0x26f229=_0x322664-_0xeaa18b,_0x5bf7d2=_0x25bf28-0x2*_0x3a44c9;if(_0x4a9fef>_0x5bf7d2){let _0x4de0c7='',_0x4b4c37=0x0;for(const _0x37d4db of _0x1e822f){const _0x55b32e=_0x215e14[_0x1b1d10(0x477)](_0x37d4db)['width'];if(_0x4b4c37+_0x55b32e<=_0x5bf7d2-_0x215e14[_0x1b1d10(0x477)]('...')[_0x1b1d10(0x445)])_0x4de0c7+=_0x37d4db,_0x4b4c37+=_0x55b32e;else{_0x4de0c7+=_0x1b1d10(0x28b);break;}}_0x215e14[_0x1b1d10(0x20a)](_0x4de0c7,_0xfd8296,_0x26f229);}else _0x215e14[_0x1b1d10(0x20a)](_0x1e822f,_0xfd8296,_0x26f229);_0x215e14['restore']();}[_0x38ff04(0x365)](_0x4f9b0e){const _0x142573=_0x38ff04;_0xfc7fe9[_0x142573(0x31c)](_0x4f9b0e,this);}}const _0x338afe=_0x38ff04(0x384),_0x2d251f=_0x38ff04(0x239),_0x267e00=_0x38ff04(0x3ea),_0x2510ee=0x6,_0x3be9b6=1.5,_0x357a24=0x4,_0x4cce84=1.5,_0xbe03fe=_0x38ff04(0x3e3);class _0x4ea1b3{constructor(_0x1601b0,_0xd92799,_0x139297,_0x19b316){const _0x1bd6d3=_0x38ff04;_0x3ccfb7(this,_0x1bd6d3(0x2ce),[]),_0x3ccfb7(this,_0x1bd6d3(0x478),null),_0x3ccfb7(this,_0x1bd6d3(0x463),null),_0x3ccfb7(this,_0x1bd6d3(0x3ad),null),_0x3ccfb7(this,_0x1bd6d3(0x1a5),null),_0x3ccfb7(this,_0x1bd6d3(0x3cd),null),(this[_0x1bd6d3(0x3a1)]=_0x1601b0,this['_scene']=_0xd92799,this[_0x1bd6d3(0x455)]=_0x139297,this['_document']=_0x19b316,this['_render']());}set[_0x38ff04(0x1ef)](_0x4f3163){const _0x4ef810=_0x38ff04;_0x4f3163?(this[_0x4ef810(0x3ad)]&&this[_0x4ef810(0x3ad)][_0x4ef810(0x357)](),this[_0x4ef810(0x463)]&&this[_0x4ef810(0x463)][_0x4ef810(0x1c9)]()):(this[_0x4ef810(0x3ad)]&&this['_anchorDot'][_0x4ef810(0x1c9)](),this['_textBubble']&&this[_0x4ef810(0x463)][_0x4ef810(0x357)]());}[_0x38ff04(0x37e)](){const _0x1467c4=_0x38ff04;for(const _0x5f5103 of this['_shapes'])_0x5f5103[_0x1467c4(0x37e)]();this['_textBubble']&&this[_0x1467c4(0x463)][_0x1467c4(0x37e)](),this[_0x1467c4(0x3ad)]&&this[_0x1467c4(0x3ad)]['dispose'](),this[_0x1467c4(0x478)]&&this[_0x1467c4(0x478)]['dispose'](),this['_eventUnsubscribe']&&this[_0x1467c4(0x3cd)]();}[_0x38ff04(0x32b)](){const _0x13858d=_0x38ff04;var _0x3d6a62;const {_docSkeleton:_0xc0d653,_document:_0x3d7af8}=this,{color:_0x5a60b5,name:_0x37d73f,ranges:_0x2636b0}=this[_0x13858d(0x3a1)],_0xe13b39=_0x3d7af8[_0x13858d(0x3a9)](),{docsLeft:_0x276561,docsTop:_0x4175e2}=_0xe13b39,_0x573131=new _0x39680d[(_0x13858d(0x1d1))](_0xe13b39,_0xc0d653);for(const {startOffset:_0x2caa62,endOffset:_0x28e714,rangeType:_0x59a33a,segmentId:_0x50c45f,segmentPage:_0xdc24f5,collapsed:_0x3d35d6,isActive:_0x10d444}of _0x2636b0){const _0x1217ac=_0xc0d653[_0x13858d(0x2b0)](_0x2caa62,!0x0,_0x50c45f,_0xdc24f5);let _0x49d567=_0xc0d653[_0x13858d(0x2b0)](_0x28e714,!0x0,_0x50c45f,_0xdc24f5);if(_0x49d567==null&&(_0x49d567=_0xc0d653[_0x13858d(0x2b0)](_0x28e714-0x1,!0x1,_0x50c45f,_0xdc24f5)),_0x10d444){const {contentBoxPointGroup:_0x5470bf}=_0x573131['getRangePointData'](_0x49d567,_0x49d567);if(_0x5470bf[_0x13858d(0x1c2)]===0x0)continue;this[_0x13858d(0x265)](_0x5a60b5,_0x5470bf,_0x276561,_0x4175e2,_0x37d73f),this[_0x13858d(0x3cd)]=this[_0x13858d(0x22e)]();}if(_0x1217ac&&_0x49d567){if(_0x59a33a===_0x4d68d6[_0x13858d(0x1df)][_0x13858d(0x1c6)]){const _0x3ddbe7=new _0x39680d[(_0x13858d(0x1bb))](_0xe13b39,_0xc0d653),{pointGroup:_0x34c8f9}=(_0x3d6a62=_0x3ddbe7[_0x13858d(0x3d5)](_0x1217ac,_0x49d567))!=null?_0x3d6a62:{};if(_0x34c8f9==null||_0x34c8f9[_0x13858d(0x1c2)]===0x0)continue;this['_drawRectRange'](_0x5a60b5,_0x34c8f9,_0x276561,_0x4175e2);}else{if(!_0x3d35d6){const {borderBoxPointGroup:_0xe0f3ba}=_0x573131[_0x13858d(0x3d5)](_0x1217ac,_0x49d567);if(_0xe0f3ba[_0x13858d(0x1c2)]===0x0)continue;this['_drawTextRange'](_0x5a60b5,_0xe0f3ba,_0x276561,_0x4175e2);}}}}}[_0x38ff04(0x265)](_0xd06e5b,_0x2e0bfa,_0x335f77,_0xf84cca,_0x40d75b){const _0x3eecde=_0x38ff04,_0x505469=this[_0x3eecde(0x302)](_0x2e0bfa),{left:_0x3cd0d6,top:_0xc3708d,height:_0x9d320c}=_0x505469,_0x59f609=this[_0x3eecde(0x1f3)](),_0x353ad9=_0x4cce84/_0x59f609,_0x19ef85=new _0x403935['Rect'](_0x338afe+_0x4d68d6[_0x3eecde(0x27f)](_0x2510ee),{'left':_0x3cd0d6+_0x335f77-_0x353ad9,'top':_0xc3708d+_0xf84cca,'height':_0x9d320c,'width':_0x3be9b6,'fill':_0xd06e5b||_0x403935['getColor'](_0x4d68d6['COLORS'][_0x3eecde(0x313)],0x0),'strokeWidth':_0x353ad9,'stroke':_0xbe03fe,'evented':!0x0});this[_0x3eecde(0x478)]=_0x19ef85,this[_0x3eecde(0x388)]['addObject'](_0x19ef85,_0x39680d[_0x3eecde(0x3f8)]);const _0x5180ed=new _0x403935[(_0x3eecde(0x2cf))](_0x338afe+_0x4d68d6[_0x3eecde(0x27f)](_0x2510ee),{'left':_0x3cd0d6+_0x335f77-_0x353ad9,'top':_0xc3708d+_0xf84cca-_0x357a24/0x2,'height':_0x357a24,'width':_0x357a24,'fill':_0xd06e5b||_0x403935[_0x3eecde(0x1d3)](_0x4d68d6['COLORS'][_0x3eecde(0x313)],0x0),'strokeWidth':0x0,'stroke':_0xd06e5b||_0x403935[_0x3eecde(0x1d3)](_0x4d68d6['COLORS'][_0x3eecde(0x313)],0x0),'evented':!0x1});this['_anchorDot']=_0x5180ed,this[_0x3eecde(0x388)][_0x3eecde(0x1a9)](_0x5180ed,_0x39680d[_0x3eecde(0x3f8)]);const _0x45a08e=new _0xfc7fe9(_0x338afe+_0x4d68d6[_0x3eecde(0x27f)](_0x2510ee),{'left':_0x3cd0d6+_0x335f77-_0x353ad9,'top':_0xc3708d+_0xf84cca-_0x322664,'text':_0x40d75b,'color':_0xd06e5b});this[_0x3eecde(0x463)]=_0x45a08e,this[_0x3eecde(0x388)][_0x3eecde(0x1a9)](_0x45a08e,_0x39680d[_0x3eecde(0x3f8)]),this[_0x3eecde(0x1ef)]=!0x1;}[_0x38ff04(0x22e)](){const _0x5d573b=_0x38ff04,_0x2753a2=this[_0x5d573b(0x478)]['onPointerEnter$'][_0x5d573b(0x1a6)](()=>{this['_hover']=!0x0;}),_0x488d0c=this[_0x5d573b(0x478)][_0x5d573b(0x279)][_0x5d573b(0x1a6)](()=>{const _0x52cd01=_0x5d573b;this[_0x52cd01(0x1a5)]&&clearTimeout(this[_0x52cd01(0x1a5)]),this[_0x52cd01(0x1a5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xbc48b1=_0x5d573b;_0x2753a2['unsubscribe'](),_0x488d0c[_0xbc48b1(0x3ff)]();};}[_0x38ff04(0x2a8)](_0x2e69ca,_0x4ddfa0,_0x2be2c5,_0x31c4cd){const _0x13a052=_0x38ff04,_0x1ea3a2=new _0x4d68d6[(_0x13a052(0x24a))](_0x2e69ca)['setAlpha'](0.2)[_0x13a052(0x315)](),_0x5b8a90=new _0x403935[(_0x13a052(0x324))](_0x2d251f+_0x4d68d6[_0x13a052(0x27f)](_0x2510ee),{'pointsGroup':_0x4ddfa0,'fill':_0x1ea3a2||_0x403935[_0x13a052(0x1d3)](_0x4d68d6[_0x13a052(0x465)]['black'],0.2),'left':_0x2be2c5,'top':_0x31c4cd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13a052(0x2ce)][_0x13a052(0x23a)](_0x5b8a90),this[_0x13a052(0x388)][_0x13a052(0x1a9)](_0x5b8a90,_0x39680d[_0x13a052(0x3f8)]);}[_0x38ff04(0x18e)](_0x968b33,_0x177939,_0x3f3750,_0x30b053){const _0x33f589=_0x38ff04,_0x4ddd44=new _0x4d68d6[(_0x33f589(0x24a))](_0x968b33)['setAlpha'](0.2)[_0x33f589(0x315)](),_0x5edcdf=new _0x403935['RegularPolygon'](_0x267e00+_0x4d68d6[_0x33f589(0x27f)](_0x2510ee),{'pointsGroup':_0x177939,'fill':_0x4ddd44||_0x403935[_0x33f589(0x1d3)](_0x4d68d6[_0x33f589(0x465)]['black'],0.2),'left':_0x3f3750,'top':_0x30b053,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x33f589(0x2ce)][_0x33f589(0x23a)](_0x5edcdf),this[_0x33f589(0x388)][_0x33f589(0x1a9)](_0x5edcdf,_0x39680d['TEXT_RANGE_LAYER_INDEX']);}[_0x38ff04(0x302)](_0x5c0981){const _0x2589d5=_0x5c0981[0x0],_0x55d691=_0x2589d5[0x0],_0x4810d0=_0x2589d5[0x2],{x:_0x133351,y:_0x1efa4d}=_0x55d691,{x:_0x4eb7d7,y:_0x3df287}=_0x4810d0;return{'left':_0x133351,'top':_0x1efa4d,'width':_0x4eb7d7-_0x133351,'height':_0x3df287-_0x1efa4d};}['_getScale'](){const _0x12c710=_0x38ff04,{scaleX:_0xabbb92,scaleY:_0x11ea69}=this[_0x12c710(0x388)][_0x12c710(0x3f9)]();return Math[_0x12c710(0x447)](_0xabbb92,_0x11ea69);}}var _0x350b98=Object[_0x38ff04(0x1f7)],_0x3807b9=(_0x249611,_0x52268d,_0x3617e8,_0x40057d)=>{const _0x484df2=_0x38ff04;for(var _0x785709=_0x40057d>0x1?void 0x0:_0x40057d?_0x350b98(_0x52268d,_0x3617e8):_0x52268d,_0x4e3973=_0x249611[_0x484df2(0x1c2)]-0x1,_0x5711d7;_0x4e3973>=0x0;_0x4e3973--)(_0x5711d7=_0x249611[_0x4e3973])&&(_0x785709=_0x5711d7(_0x785709)||_0x785709);return _0x785709;},_0x2d46dd=(_0x211364,_0x580641)=>(_0x326fa7,_0x444eac)=>_0x580641(_0x326fa7,_0x444eac,_0x211364);let _0x460a70=class extends _0x4d68d6[_0x38ff04(0x387)]{constructor(_0x403422,_0x21ac2d,_0xed55d9,_0x13c8c1,_0x3ba5b7){const _0x36046b=_0x38ff04;super(),_0x3ccfb7(this,_0x36046b(0x224),[]),_0x3ccfb7(this,_0x36046b(0x30e),[]),(this[_0x36046b(0x1f1)]=_0x403422,this[_0x36046b(0x26e)]=_0x21ac2d,this[_0x36046b(0x468)]=_0xed55d9,this[_0x36046b(0x25b)]=_0x13c8c1,this[_0x36046b(0x39a)]=_0x3ba5b7,this[_0x36046b(0x2fb)]());}['_init'](){const _0x1d2d8b=_0x38ff04,_0x11aa8d=this[_0x1d2d8b(0x1f1)]['unitId'],_0x3ef6f7=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x376c8a[_0x1d2d8b(0x2c4)]([this[_0x1d2d8b(0x468)][_0x1d2d8b(0x469)](_0x11aa8d),this[_0x1d2d8b(0x39a)][_0x1d2d8b(0x218)]])[_0x1d2d8b(0x41c)](_0x21fb3d[_0x1d2d8b(0x1a7)](([_0x13805f,_0x4d53ea])=>({'skeleton':_0x3ef6f7[_0x1d2d8b(0x327)](),'cursors':[..._0x13805f[_0x1d2d8b(0x444)]()][_0x1d2d8b(0x47b)](_0x26a9be=>({..._0x26a9be,'color':this[_0x1d2d8b(0x39a)][_0x1d2d8b(0x232)](_0x26a9be['color'])}))})))[_0x1d2d8b(0x448)](_0xd944d0=>{const _0x487d18=_0x1d2d8b;if(this[_0x487d18(0x453)](),_0xd944d0){const {skeleton:_0x3d7c15,cursors:_0x524ecb}=_0xd944d0;this[_0x487d18(0x3cc)](_0x3d7c15,_0x524ecb);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x38ff04(0x3cc)](_0x563a4f,_0x7cc12a){const _0x48f857=_0x38ff04,{scene:_0x4f2092,mainComponent:_0x531af2}=this['_context'],_0x523991=_0x7cc12a['map'](_0x1d1b42=>new _0x4ea1b3(_0x1d1b42,_0x4f2092,_0x563a4f,_0x531af2));this['_cursorShapes']=_0x523991,this[_0x48f857(0x30e)]=_0x7cc12a;}[_0x38ff04(0x2a4)](){const _0x365477=_0x38ff04;this[_0x365477(0x453)]();const {scene:_0x58886c,mainComponent:_0x5384d1}=this[_0x365477(0x1f1)],_0x2f52b8=this[_0x365477(0x26e)][_0x365477(0x327)](),_0x4b8414=this[_0x365477(0x30e)]['map'](_0x46ede2=>new _0x4ea1b3(_0x46ede2,_0x58886c,_0x2f52b8,_0x5384d1));this[_0x365477(0x224)]=_0x4b8414;}[_0x38ff04(0x453)](){const _0x573344=_0x38ff04;this['_cursorShapes']['forEach'](_0xbf7ca8=>_0xbf7ca8[_0x573344(0x37e)]()),this['_cursorShapes']=[];}[_0x38ff04(0x35c)](){const _0x5c40a7=_0x38ff04,_0x3e81e7=[_0x39680d[_0x5c40a7(0x2b6)]['id']];this[_0x5c40a7(0x46d)](this['_commandService'][_0x5c40a7(0x1ca)](_0x5f13df=>{const _0xfa09d2=_0x5c40a7;_0x3e81e7[_0xfa09d2(0x36f)](_0x5f13df['id'])&&_0x5f13df[_0xfa09d2(0x288)][_0xfa09d2(0x3dc)]===this['_context'][_0xfa09d2(0x3dc)]&&this[_0xfa09d2(0x2a4)]();}));}[_0x38ff04(0x41d)](){const _0x576725=_0x38ff04;this[_0x576725(0x46d)](_0x4d68d6[_0x576725(0x36b)](this['_context']['engine'][_0x576725(0x473)])[_0x576725(0x41c)](_0x21fb3d['filter'](_0x2d7f8e=>_0x2d7f8e[_0x576725(0x418)]===_0x403935[_0x576725(0x21b)][_0x576725(0x1b9)]),_0x21fb3d['throttleTime'](0x10))[_0x576725(0x448)](()=>{const _0x54e994=_0x576725;this[_0x54e994(0x2a4)]();}));}};_0x460a70=_0x3807b9([_0x2d46dd(0x1,_0x4d68d6[_0x38ff04(0x2de)](_0x338c72['DocSkeletonManagerService'])),_0x2d46dd(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x485889)),_0x2d46dd(0x3,_0x4d68d6[_0x38ff04(0x231)]),_0x2d46dd(0x4,_0x4d68d6['Inject'](_0x4d68d6['ThemeService']))],_0x460a70);const _0x23721f=0x1,_0x3eae79=1.5;class _0x462704 extends _0x403935[_0x38ff04(0x273)]{constructor(_0x145ea8,_0x52df95){const _0x36e0cf=_0x38ff04;super(_0x145ea8,_0x52df95),_0x3ccfb7(this,_0x36e0cf(0x2af)),_0x3ccfb7(this,_0x36e0cf(0x2aa),!0x1),_0x3ccfb7(this,_0x36e0cf(0x2e8)),_0x3ccfb7(this,_0x36e0cf(0x1f5),''),_0x3ccfb7(this,_0x36e0cf(0x1ff),_0x36e0cf(0x3b2)),_0x3ccfb7(this,_0x36e0cf(0x299)),(_0x52df95&&this['setShapeProps'](_0x52df95),this[_0x36e0cf(0x2d2)][_0x36e0cf(0x1a6)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x36e0cf(0x279)][_0x36e0cf(0x1a6)](()=>this[_0x36e0cf(0x1e2)]({'hovered':!0x1})));}[_0x38ff04(0x1e2)](_0x1abdf0){const _0x5d7f2b=_0x38ff04;var _0x57c4b8,_0x24bcf0,_0x342b08,_0x1e206b,_0x4f55bb,_0x738e22;this[_0x5d7f2b(0x2af)]=(_0x57c4b8=_0x1abdf0[_0x5d7f2b(0x32f)])!=null?_0x57c4b8:this[_0x5d7f2b(0x2af)],this[_0x5d7f2b(0x2aa)]=(_0x24bcf0=_0x1abdf0['hovered'])!=null?_0x24bcf0:this[_0x5d7f2b(0x2aa)],this['_range']=(_0x342b08=_0x1abdf0[_0x5d7f2b(0x3ac)])!=null?_0x342b08:this[_0x5d7f2b(0x2e8)],this['_name']=(_0x1e206b=_0x1abdf0[_0x5d7f2b(0x41b)])!=null?_0x1e206b:this[_0x5d7f2b(0x1f5)],this[_0x5d7f2b(0x1ff)]=(_0x4f55bb=_0x1abdf0[_0x5d7f2b(0x237)])!=null?_0x4f55bb:this[_0x5d7f2b(0x1ff)],this[_0x5d7f2b(0x299)]=(_0x738e22=_0x1abdf0[_0x5d7f2b(0x35d)])!=null?_0x738e22:this['_backgroundColor'],this[_0x5d7f2b(0x212)]({'width':_0x1abdf0[_0x5d7f2b(0x445)],'height':_0x1abdf0['height']});}['onMouseMove'](_0x55bf7c){const _0xd00d3b=_0x38ff04,{row:_0x23ff9a,column:_0x42439c}=_0x55bf7c;if(_0x23ff9a>=this[_0xd00d3b(0x2e8)][_0xd00d3b(0x32c)]&&_0x23ff9a<=this[_0xd00d3b(0x2e8)][_0xd00d3b(0x1ba)]&&_0x42439c>=this[_0xd00d3b(0x2e8)][_0xd00d3b(0x243)]&&_0x42439c<=this['_range'][_0xd00d3b(0x417)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xd00d3b(0x1e2)]({'hovered':!0x1});}[_0x38ff04(0x450)](_0x1d21f2){return!0x1;}[_0x38ff04(0x365)](_0x40bbae){const _0x4e7e9b=_0x38ff04;_0x403935[_0x4e7e9b(0x2cf)]['drawWith'](_0x40bbae,{'width':this['width'],'height':this[_0x4e7e9b(0x1cd)],'strokeWidth':_0x3eae79,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4e7e9b(0x299)]}),this[_0x4e7e9b(0x2aa)]&&(_0x40bbae['save'](),_0x40bbae['transform'](0x1,0x0,0x0,0x1,this[_0x4e7e9b(0x445)],this[_0x4e7e9b(0x1ff)]===_0x4e7e9b(0x410)?0x0:-_0x322664),_0xfc7fe9[_0x4e7e9b(0x31c)](_0x40bbae,{'text':this[_0x4e7e9b(0x1f5)],'color':this[_0x4e7e9b(0x2af)]}),_0x40bbae[_0x4e7e9b(0x213)]());}}var _0x1275bb=Object[_0x38ff04(0x1f7)],_0x3e6db2=(_0x1ff5a9,_0xba02ca,_0x32b5de,_0x3cbd82)=>{for(var _0xee4e64=_0x3cbd82>0x1?void 0x0:_0x3cbd82?_0x1275bb(_0xba02ca,_0x32b5de):_0xba02ca,_0x5a3807=_0x1ff5a9['length']-0x1,_0x247359;_0x5a3807>=0x0;_0x5a3807--)(_0x247359=_0x1ff5a9[_0x5a3807])&&(_0xee4e64=_0x247359(_0xee4e64)||_0xee4e64);return _0xee4e64;},_0x2082bd=(_0x12b667,_0x47d88f)=>(_0x4b81c7,_0xeefcb6)=>_0x47d88f(_0x4b81c7,_0xeefcb6,_0x12b667);const _0x104e16=0x1389;let _0xc0c12e=class extends _0x4d68d6[_0x38ff04(0x387)]{constructor(_0xc0bd4d,_0x799a58,_0x3f4f0a,_0x3a9f71){const _0xd69ab4=_0x38ff04;super(),_0x3ccfb7(this,_0xd69ab4(0x30e),new Set()),_0x3ccfb7(this,_0xd69ab4(0x1d8),null),(this[_0xd69ab4(0x1f1)]=_0xc0bd4d,this[_0xd69ab4(0x45e)]=_0x799a58,this[_0xd69ab4(0x468)]=_0x3f4f0a,this[_0xd69ab4(0x39a)]=_0x3a9f71,this[_0xd69ab4(0x2fb)]());}['_init'](){const _0xf9230=_0x38ff04;this[_0xf9230(0x45e)][_0xf9230(0x289)][_0xf9230(0x41c)](_0x21fb3d[_0xf9230(0x2dc)](this[_0xf9230(0x3a4)]),_0x21fb3d[_0xf9230(0x1b7)](_0x5d5335=>{const _0x2c31f6=_0xf9230;if(_0x5d5335){const _0x47510f=_0x5d5335[_0x2c31f6(0x37d)];return _0x376c8a[_0x2c31f6(0x2c4)](this[_0x2c31f6(0x468)]['getCollabCursors$'](this[_0x2c31f6(0x1f1)][_0x2c31f6(0x3dc)]),this['_themeService'][_0x2c31f6(0x218)])['pipe'](_0x21fb3d[_0x2c31f6(0x1a7)](([_0x453889,_0x7bea0d])=>{const _0x4bb146=_0x2c31f6,_0x5021ed=new Map();return _0x453889[_0x4bb146(0x419)]((_0x45faac,_0x5c8455)=>{const _0x53a9b5=_0x4bb146;if(_0x45faac['sheetID']===_0x47510f){const _0x3a2b19={..._0x45faac};_0x3a2b19[_0x53a9b5(0x32f)]=this[_0x53a9b5(0x39a)][_0x53a9b5(0x232)](_0x45faac[_0x53a9b5(0x32f)]),_0x5021ed[_0x53a9b5(0x332)](_0x5c8455,_0x3a2b19);}}),{'skeleton':_0x5d5335,'cursors':_0x5021ed};}));}return _0x376c8a['of']({'skeleton':null,'cursors':new Map()});}))[_0xf9230(0x448)](({skeleton:_0x2909b9,cursors:_0x5378a5})=>{const _0x2287f3=_0xf9230;this[_0x2287f3(0x453)](),_0x2909b9&&this[_0x2287f3(0x3cc)](_0x2909b9,_0x5378a5);}),this[_0xf9230(0x45e)][_0xf9230(0x289)]['subscribe'](_0x2c1a66=>{const _0x12c485=_0xf9230;if(_0x2c1a66==null)return;const {skeleton:_0x19db15}=_0x2c1a66,{scene:_0x3dcc0b}=this[_0x12c485(0x1f1)];_0x3dcc0b[_0x12c485(0x422)]['subscribeEvent'](_0x4d68d6[_0x12c485(0x2f5)](_0x3ea9cb=>{const _0xc0ee=_0x12c485;var _0x20ff83,_0x9db2d6;const {offsetX:_0x171556,offsetY:_0x19412c}=_0x3ea9cb,{x:_0x59b1e9,y:_0x55ae1f}=_0x3dcc0b[_0xc0ee(0x257)](_0x403935['Vector2'][_0xc0ee(0x2ae)]([_0x171556,_0x19412c])),{scaleX:_0xb9e638,scaleY:_0x2239b0}=_0x3dcc0b[_0xc0ee(0x3f9)](),_0x58cb45=_0x3dcc0b[_0xc0ee(0x3df)](_0x403935['SHEET_VIEWPORT_KEY'][_0xc0ee(0x3b6)]),_0x8cfa3=_0x3dcc0b['getVpScrollXYInfoByPosToVp'](_0x403935['Vector2'][_0xc0ee(0x2ae)]([_0x59b1e9,_0x55ae1f]),_0x58cb45),_0x47825c=_0x19db15['getCellPositionByOffset'](_0x171556,_0x19412c,_0xb9e638,_0x2239b0,_0x8cfa3);((_0x20ff83=this['_lastPointer'])==null?void 0x0:_0x20ff83[_0xc0ee(0x1c5)])===_0x47825c[_0xc0ee(0x1c5)]&&((_0x9db2d6=this[_0xc0ee(0x1d8)])==null?void 0x0:_0x9db2d6[_0xc0ee(0x2fc)])===_0x47825c[_0xc0ee(0x2fc)]||this[_0xc0ee(0x30e)]['forEach'](_0x238e2e=>{const _0x423e3e=_0xc0ee;_0x238e2e[_0x423e3e(0x3e1)](_0x47825c);});},0x64));});}['_updateCollabCursors'](_0x66906f,_0x4fcd19){const _0x5b11ba=_0x38ff04;var _0x1be582;const _0x181386=(_0x1be582=this['_sheetSkeletonManagerService'][_0x5b11ba(0x263)]())==null?void 0x0:_0x1be582['skeleton'];if(!_0x181386)return;const _0x24c5dc=this[_0x5b11ba(0x42b)]();if(!_0x24c5dc)return;this[_0x5b11ba(0x30e)][_0x5b11ba(0x419)](_0x225b48=>{const _0x49c36a=_0x5b11ba;_0x225b48[_0x49c36a(0x43c)]();});const {scene:_0x5676a9}=_0x24c5dc,_0x411669=_0x2484d9(Array[_0x5b11ba(0x304)](_0x4fcd19[_0x5b11ba(0x444)]()))[_0x5b11ba(0x1a7)](_0x21a7a5=>{const _0x19155e=_0x5b11ba,{color:_0x2f9085,range:_0x506124,name:_0xc35501,selection:_0x23e504,sheetID:_0x2982cf}=_0x21a7a5,{startColumn:_0x208cec,startRow:_0x1f99e2,endColumn:_0x3a7780,endRow:_0x2343b6}=_0x506124,_0x412356=_0x2a211e[_0x19155e(0x364)](_0x1f99e2,_0x208cec,_0x5676a9,_0x181386),_0x447fd8=_0x2a211e['getCoordByCell'](_0x2343b6,_0x3a7780,_0x5676a9,_0x181386),{columnHeaderHeightAndMarginTop:_0x295c43}=_0x181386,{startX:_0x4a2c65,startY:_0x431a6b}=_0x412356,{endX:_0x46f97d,endY:_0x2ec96c}=_0x447fd8,_0x340d95=_0x46f97d-_0x4a2c65,_0xb66c6c=_0x2ec96c-_0x431a6b,_0x2db1b4={'labelPosition':_0x431a6b-_0x295c43>=_0x322664?'top':_0x19155e(0x410),'sheetID':_0x2982cf,'range':_0x506124,'color':_0x2f9085,'name':_0xc35501,'selection':_0x23e504,'left':_0x4a2c65,'top':_0x431a6b,'width':_0x340d95,'height':_0xb66c6c,'evented':!0x1,'zIndex':_0x104e16};return new _0x462704(_0xc35501,_0x2db1b4);});_0x5676a9['addObjects'](_0x411669,_0x23721f),this[_0x5b11ba(0x30e)]=new Set(_0x411669);}[_0x38ff04(0x453)](){const _0x4e1eb2=_0x38ff04;var _0x18e7e9;(_0x18e7e9=this[_0x4e1eb2(0x30e)])==null||_0x18e7e9[_0x4e1eb2(0x419)](_0xdbed0c=>_0xdbed0c[_0x4e1eb2(0x37e)]());}[_0x38ff04(0x42b)](){const _0x105d59=_0x38ff04;return _0x2a211e['getSheetObject'](this[_0x105d59(0x1f1)][_0x105d59(0x2e3)],this[_0x105d59(0x1f1)]);}};_0xc0c12e=_0x3e6db2([_0x2082bd(0x1,_0x4d68d6['Inject'](_0x2a211e[_0x38ff04(0x3de)])),_0x2082bd(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x485889)),_0x2082bd(0x3,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6[_0x38ff04(0x194)]))],_0xc0c12e);function _0x2484d9(_0x1bfe57){const _0x230c21=_0x38ff04,_0x43257d=new Map();return _0x1bfe57[_0x230c21(0x419)](_0x58064f=>{const _0x267e75=_0x230c21;if(_0x43257d['has'](_0x58064f[_0x267e75(0x24b)])){const _0x3e183e=_0x43257d[_0x267e75(0x37b)](_0x58064f[_0x267e75(0x24b)]);_0x3e183e[_0x267e75(0x41b)]+=',\x20'+_0x58064f[_0x267e75(0x41b)];}else _0x43257d[_0x267e75(0x332)](_0x58064f[_0x267e75(0x24b)],_0x58064f);}),Array['from'](_0x43257d['values']());}var _0x2e6115=Object[_0x38ff04(0x1f7)],_0x52fc1b=(_0x57e096,_0x582c24,_0x3e115a,_0x22e5cd)=>{const _0x57617b=_0x38ff04;for(var _0x337786=_0x22e5cd>0x1?void 0x0:_0x22e5cd?_0x2e6115(_0x582c24,_0x3e115a):_0x582c24,_0x1048fe=_0x57e096[_0x57617b(0x1c2)]-0x1,_0x19fba4;_0x1048fe>=0x0;_0x1048fe--)(_0x19fba4=_0x57e096[_0x1048fe])&&(_0x337786=_0x19fba4(_0x337786)||_0x337786);return _0x337786;},_0x3eeb95=(_0x439bb1,_0x404e11)=>(_0x237cb7,_0x32cb5f)=>_0x404e11(_0x237cb7,_0x32cb5f,_0x439bb1);let _0x4cc2c2=class extends _0x4d68d6[_0x38ff04(0x337)]{constructor(_0x513ee6,_0x3af648,_0x56e936,_0x50783d,_0x3f6926,_0x390f33){const _0x53898d=_0x38ff04;super(),this[_0x53898d(0x454)]=_0x513ee6,this['_localCacheService']=_0x3af648,this['_collaborationUIEventService']=_0x56e936,this['_messageService']=_0x50783d,this[_0x53898d(0x18c)]=_0x3f6926,this[_0x53898d(0x25f)]=_0x390f33,this[_0x53898d(0x309)](),this[_0x53898d(0x44c)]();}['_setupBeforeClosingHandler'](){const _0x2b31b2=_0x38ff04;this['disposeWithMe'](this[_0x2b31b2(0x454)][_0x2b31b2(0x2fe)](()=>{const _0x36256e=_0x2b31b2;if(this[_0x36256e(0x349)][_0x36256e(0x350)][_0x36256e(0x287)])return this[_0x36256e(0x25f)]['t']('collaboration.offline-data-not-saved');}));}[_0x38ff04(0x44c)](){const _0x3652f7=_0x38ff04;this['disposeWithMe'](this[_0x3652f7(0x3d0)][_0x3652f7(0x346)][_0x3652f7(0x448)](_0x91037=>{const _0x5d2cf0=_0x3652f7;_0x91037['id']===_0x449191[_0x5d2cf0(0x1b0)][_0x5d2cf0(0x32d)]&&this[_0x5d2cf0(0x1ae)][_0x5d2cf0(0x1c9)]({'type':_0x3594df[_0x5d2cf0(0x326)][_0x5d2cf0(0x46c)],'content':this[_0x5d2cf0(0x25f)]['t'](_0x5d2cf0(0x198))}),_0x91037['id']===_0x449191[_0x5d2cf0(0x1b0)][_0x5d2cf0(0x27e)]&&this[_0x5d2cf0(0x1ae)]['show']({'type':_0x3594df[_0x5d2cf0(0x326)][_0x5d2cf0(0x46c)],'content':this['_localeService']['t'](_0x5d2cf0(0x1ac))}),_0x91037['id']===_0x449191[_0x5d2cf0(0x1b0)][_0x5d2cf0(0x1ee)]&&this['_notificationService'][_0x5d2cf0(0x1c9)]({'title':this[_0x5d2cf0(0x25f)]['t'](_0x5d2cf0(0x266)),'content':this[_0x5d2cf0(0x25f)]['t'](_0x5d2cf0(0x3ed)),'type':_0x5d2cf0(0x431),'duration':0x0}),_0x91037['id']===_0x449191['CollaborationUIEventId'][_0x5d2cf0(0x3d1)]&&this[_0x5d2cf0(0x1ae)][_0x5d2cf0(0x1c9)]({'type':_0x3594df[_0x5d2cf0(0x326)]['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x91037[_0x5d2cf0(0x269)]+')'}),_0x91037['id']===_0x449191['CollaborationUIEventId'][_0x5d2cf0(0x19c)]&&this['_messageService'][_0x5d2cf0(0x1c9)]({'type':_0x3594df[_0x5d2cf0(0x326)]['Warning'],'content':this[_0x5d2cf0(0x25f)]['t'](_0x91037['data']||'')}),_0x91037['id']===_0x449191[_0x5d2cf0(0x1b0)][_0x5d2cf0(0x319)]&&this[_0x5d2cf0(0x1ae)][_0x5d2cf0(0x1c9)]({'type':_0x3594df[_0x5d2cf0(0x326)][_0x5d2cf0(0x46c)],'content':this['_localeService']['t']('session.will-retry')}),_0x91037['id']===_0x449191['CollaborationUIEventId'][_0x5d2cf0(0x1ea)]&&this[_0x5d2cf0(0x1ae)][_0x5d2cf0(0x1c9)]({'type':_0x3594df[_0x5d2cf0(0x326)][_0x5d2cf0(0x378)],'content':this[_0x5d2cf0(0x25f)]['t'](_0x5d2cf0(0x278))}),_0x91037['id']===_0x449191[_0x5d2cf0(0x1b0)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x3594df[_0x5d2cf0(0x326)][_0x5d2cf0(0x378)],'content':this[_0x5d2cf0(0x25f)]['t'](_0x5d2cf0(0x467))});}));}};_0x4cc2c2=_0x52fc1b([_0x3eeb95(0x0,_0x443a5d[_0x38ff04(0x1eb)]),_0x3eeb95(0x1,_0x449191[_0x38ff04(0x292)]),_0x3eeb95(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x449191[_0x38ff04(0x452)])),_0x3eeb95(0x3,_0x443a5d[_0x38ff04(0x460)]),_0x3eeb95(0x4,_0x443a5d[_0x38ff04(0x1de)]),_0x3eeb95(0x5,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6[_0x38ff04(0x27a)]))],_0x4cc2c2);var _0x58894b=Object['getOwnPropertyDescriptor'],_0x39fc60=(_0x3c8e8b,_0x132b73,_0x249f3e,_0x237f52)=>{for(var _0x23e51a=_0x237f52>0x1?void 0x0:_0x237f52?_0x58894b(_0x132b73,_0x249f3e):_0x132b73,_0xab03a1=_0x3c8e8b['length']-0x1,_0x676c9c;_0xab03a1>=0x0;_0xab03a1--)(_0x676c9c=_0x3c8e8b[_0xab03a1])&&(_0x23e51a=_0x676c9c(_0x23e51a)||_0x23e51a);return _0x23e51a;},_0x847ec9=(_0xe4047d,_0x4c2366)=>(_0x50e966,_0x5a4982)=>_0x4c2366(_0x50e966,_0x5a4982,_0xe4047d);let _0x21fe90=class extends _0x4d68d6[_0x38ff04(0x337)]{constructor(_0x5813a5,_0x3894b2,_0x5b14f0,_0x56fa17){const _0x3f48a5=_0x38ff04;super(),_0x3ccfb7(this,'_memberID'),(this[_0x3f48a5(0x372)]=_0x5813a5,this[_0x3f48a5(0x1bf)]=_0x3894b2,this[_0x3f48a5(0x1e6)]=_0x5b14f0,this['_collaborationSessionService']=_0x56fa17,this[_0x3f48a5(0x2fb)]());}[_0x38ff04(0x2fb)](){const _0x3d3e56=_0x38ff04;this[_0x3d3e56(0x2b3)](),this['_initUnhandledRejectionListener'](),this[_0x3d3e56(0x352)](),this[_0x3d3e56(0x37a)]();}[_0x38ff04(0x37a)](){const _0x3e5712=_0x38ff04;this[_0x3e5712(0x46d)](this['_collaborationSessionService'][_0x3e5712(0x2e4)][_0x3e5712(0x448)](_0x2768a4=>{const _0x289567=_0x3e5712;this[_0x289567(0x30f)]=_0x2768a4==null?void 0x0:_0x2768a4['memberID'];}));}[_0x38ff04(0x2b3)](){const _0x382625=_0x38ff04,_0x1c8149=_0x38329d=>{const _0x128eb8=_0x9a99;var _0x487826;this[_0x128eb8(0x28d)](_0x128eb8(0x431),_0x128eb8(0x2d7)+_0x38329d[_0x128eb8(0x33d)]+_0x128eb8(0x2e7)+_0x38329d[_0x128eb8(0x33b)]+':'+_0x38329d['lineno']+':'+_0x38329d[_0x128eb8(0x353)]+'\x0a'+(((_0x487826=_0x38329d[_0x128eb8(0x431)])==null?void 0x0:_0x487826[_0x128eb8(0x247)])||''));};window[_0x382625(0x401)](_0x382625(0x431),_0x1c8149),this[_0x382625(0x46d)](()=>{const _0x51f2e8=_0x382625;window[_0x51f2e8(0x2a5)](_0x51f2e8(0x431),_0x1c8149);});}[_0x38ff04(0x375)](){const _0x37b8c4=_0x38ff04,_0x15e40f=_0x4e2cb2=>{const _0x35591d=_0x9a99;this[_0x35591d(0x28d)]('error',_0x35591d(0x44a)+_0x4e2cb2['reason']);};window[_0x37b8c4(0x401)](_0x37b8c4(0x472),_0x15e40f),this['disposeWithMe'](()=>{const _0xe0b056=_0x37b8c4;window[_0xe0b056(0x2a5)](_0xe0b056(0x472),_0x15e40f);});}[_0x38ff04(0x352)](){const _0x57f510=_0x38ff04,_0x35dd99=this[_0x57f510(0x1e6)][_0x57f510(0x431)]['bind'](this['_logService']);this[_0x57f510(0x1e6)][_0x57f510(0x431)]=(..._0x1206ac)=>{const _0x438be4=_0x57f510,_0xf8a242=_0x1206ac[_0x438be4(0x1a7)](_0x2ec369=>_0x2ec369 instanceof Error?_0x2ec369[_0x438be4(0x33d)]+'\x0a'+_0x2ec369[_0x438be4(0x247)]:String(_0x2ec369))[_0x438be4(0x43b)]('\x20');this[_0x438be4(0x28d)](_0x438be4(0x431),_0x438be4(0x196)+_0xf8a242),_0x35dd99(..._0x1206ac);},this['disposeWithMe'](()=>{const _0x78d8be=_0x57f510;this['_logService'][_0x78d8be(0x431)]=_0x35dd99;});}[_0x38ff04(0x28d)](_0x3c38b1,_0x27d963){const _0x128929=_0x38ff04;try{const _0x572429={'userId':this[_0x128929(0x30f)],'logLabel':_0x3c38b1,'content':_0x27d963};this[_0x128929(0x1bf)][_0x128929(0x318)](_0x128929(0x36a),{'body':_0x572429})[_0x128929(0x21d)](()=>{});}catch{}}};_0x21fe90=_0x39fc60([_0x847ec9(0x0,_0x4d68d6['Inject'](_0x4d68d6['Injector'])),_0x847ec9(0x1,_0x4d68d6[_0x38ff04(0x2de)](_0x4e3f26['HTTPService'])),_0x847ec9(0x2,_0x4d68d6['ILogService']),_0x847ec9(0x3,_0x4d68d6[_0x38ff04(0x2de)](_0x449191[_0x38ff04(0x325)]))],_0x21fe90);const _0x3b6d15=_0x38ff04(0x3b3),_0x134d4e={};var _0x28c690=Object[_0x38ff04(0x1f7)],_0x41d08b=(_0x5ebe1b,_0x550491,_0x4c359f,_0x4c4163)=>{const _0x34c763=_0x38ff04;for(var _0x1f8ca2=_0x4c4163>0x1?void 0x0:_0x4c4163?_0x28c690(_0x550491,_0x4c359f):_0x550491,_0x4e0333=_0x5ebe1b[_0x34c763(0x1c2)]-0x1,_0x398a74;_0x4e0333>=0x0;_0x4e0333--)(_0x398a74=_0x5ebe1b[_0x4e0333])&&(_0x1f8ca2=_0x398a74(_0x1f8ca2)||_0x1f8ca2);return _0x1f8ca2;},_0x221759=(_0x261061,_0x292c69)=>(_0x763731,_0x470c0c)=>_0x292c69(_0x763731,_0x470c0c,_0x261061);let _0x12d971=class{constructor(_0x431f71,_0x33fb5f){const _0x1cf102=_0x38ff04;this[_0x1cf102(0x22f)]=_0x431f71,this[_0x1cf102(0x2ba)]=_0x33fb5f;}[_0x38ff04(0x344)](_0x312c9b){const _0x23f5ce=_0x38ff04;this['_transformUndoRedoStack'](_0x312c9b),this[_0x23f5ce(0x39e)](_0x312c9b);}['transformRemoteChangeset'](_0x3faa40){const _0xb38aa=_0x38ff04,{unitID:_0x2c9a0f}=_0x3faa40,_0x41e6e7=this[_0xb38aa(0x2ba)][_0xb38aa(0x33a)](_0x2c9a0f)[_0xb38aa(0x241)](_0x39680d[_0xb38aa(0x23f)]),{redoCache:_0x2d1550}=_0x41e6e7[_0xb38aa(0x42c)]();if(_0x2d1550['length']===0x0)return _0x3faa40;let _0x42cb94=_0x4d68d6['Tools'][_0xb38aa(0x3b1)](_0x3faa40['mutations'][0x0]);for(let _0x3ce570=0x0;_0x3ce570<_0x2d1550[_0xb38aa(0x1c2)];_0x3ce570++){const _0x39d2d4={'id':_0xb38aa(0x37c),'params':{..._0x2d1550[_0x3ce570]}},_0xc1d1c3=this[_0xb38aa(0x22f)]['transformMutation'](_0x42cb94,_0x39d2d4,!0x1);if(_0x444278[_0xb38aa(0x268)](_0xc1d1c3))throw _0xc1d1c3[_0xb38aa(0x431)];_0x42cb94=_0xc1d1c3[_0xb38aa(0x3fc)];}return{..._0x4d68d6[_0xb38aa(0x284)][_0xb38aa(0x3b1)](_0x3faa40),'mutations':[_0x42cb94]};}[_0x38ff04(0x369)](_0x586458){const _0x2d7b86=_0x38ff04,{unitID:_0x255240}=_0x586458,_0x3647ef=this[_0x2d7b86(0x2ba)][_0x2d7b86(0x33a)](_0x255240)[_0x2d7b86(0x241)](_0x39680d['DocIMEInputManagerService']),{undoCache:_0x579397,redoCache:_0x5c8f96}=_0x3647ef['getUndoRedoMutationParamsCache']();if(_0x579397[_0x2d7b86(0x1c2)]===0x0||_0x5c8f96[_0x2d7b86(0x1c2)]===0x0)return;const _0x451f86=[],_0x3c7106=[];let _0x77703e=_0x4d68d6['Tools'][_0x2d7b86(0x3b1)](_0x586458[_0x2d7b86(0x228)][0x0]),_0x349d02=_0x4d68d6['Tools']['deepClone'](_0x586458['mutations'][0x0]);for(let _0x7e6441=_0x579397[_0x2d7b86(0x1c2)]-0x1;_0x7e6441>=0x0;_0x7e6441--){const _0x41bfc8={'id':_0x2d7b86(0x37c),'params':{..._0x579397[_0x7e6441]}},_0x4f7cc2={'id':'doc.mutation.rich-text-editing','params':{..._0x5c8f96[_0x7e6441]}},_0x1acbb9=this['_transformService'][_0x2d7b86(0x1c7)](_0x77703e,_0x41bfc8,!0x1),_0x51fd7e=this[_0x2d7b86(0x22f)][_0x2d7b86(0x1c7)](_0x349d02,_0x4f7cc2,!0x1);if(_0x444278[_0x2d7b86(0x268)](_0x1acbb9))throw _0x1acbb9[_0x2d7b86(0x431)];if(_0x444278[_0x2d7b86(0x268)](_0x51fd7e))throw _0x51fd7e[_0x2d7b86(0x431)];_0x451f86[_0x2d7b86(0x437)](_0x1acbb9[_0x2d7b86(0x3e5)]['params']),_0x3c7106['unshift'](_0x51fd7e[_0x2d7b86(0x3e5)][_0x2d7b86(0x288)]),_0x77703e=_0x1acbb9[_0x2d7b86(0x3fc)],_0x349d02=_0x51fd7e['m1Prime'];}_0x3647ef['setUndoRedoMutationParamsCache']({'undoCache':_0x451f86,'redoCache':_0x3c7106});}[_0x38ff04(0x39e)](_0x3e0e3e){const _0x12bc5e=_0x38ff04,{unitID:_0x266e1a}=_0x3e0e3e,_0x635442=this['_renderManagerService']['getRenderById'](_0x266e1a)[_0x12bc5e(0x241)](_0x39680d[_0x12bc5e(0x23f)]),_0x3c2e02=_0x635442[_0x12bc5e(0x2bd)]();if(_0x3c2e02==null)return;const _0x3c1c20=[{'id':_0x12bc5e(0x37c),'params':{'unitId':_0x3e0e3e[_0x12bc5e(0x339)],'actions':null,'textRanges':[_0x3c2e02]}}],_0x26ab2b=this[_0x12bc5e(0x22f)][_0x12bc5e(0x3a0)](_0x3e0e3e,_0x3c1c20);if(!_0x444278['isTransformMutationsWithChangesetSuccess'](_0x26ab2b))throw _0x26ab2b[_0x12bc5e(0x431)];const _0x340fb6=_0x26ab2b[_0x12bc5e(0x3e5)][0x0]['params'][_0x12bc5e(0x416)];Array[_0x12bc5e(0x31f)](_0x340fb6)&&_0x340fb6[_0x12bc5e(0x1c2)]&&_0x635442[_0x12bc5e(0x2ed)](_0x340fb6[0x0]);}};_0x12d971=_0x41d08b([_0x221759(0x0,_0x444278[_0x38ff04(0x214)]),_0x221759(0x1,_0x403935[_0x38ff04(0x358)])],_0x12d971);var _0x1d3f2e=Object['getOwnPropertyDescriptor'],_0xd0833c=(_0x92bccc,_0x5bb30f,_0x50c307,_0x58c086)=>{const _0x1256c7=_0x38ff04;for(var _0x142094=_0x58c086>0x1?void 0x0:_0x58c086?_0x1d3f2e(_0x5bb30f,_0x50c307):_0x5bb30f,_0x4f0b3c=_0x92bccc[_0x1256c7(0x1c2)]-0x1,_0x573f35;_0x4f0b3c>=0x0;_0x4f0b3c--)(_0x573f35=_0x92bccc[_0x4f0b3c])&&(_0x142094=_0x573f35(_0x142094)||_0x142094);return _0x142094;},_0x5902f6=(_0x5df37e,_0x2a1cff)=>(_0x4fdde6,_0x558181)=>_0x2a1cff(_0x4fdde6,_0x558181,_0x5df37e);let _0x238486=class{constructor(_0x387b31,_0x7edd68,_0x3ad0a2){const _0x3f4529=_0x38ff04;this[_0x3f4529(0x372)]=_0x387b31,this[_0x3f4529(0x22f)]=_0x7edd68,this[_0x3f4529(0x1c3)]=_0x3ad0a2;}[_0x38ff04(0x379)](_0x3840c7){const _0x22520d=_0x38ff04;this[_0x22520d(0x3d9)](_0x3840c7);}[_0x38ff04(0x1e3)](_0x4aeeec){const _0xf91d=_0x38ff04,{unitID:_0x4f8cff}=_0x4aeeec,{collaboration:_0x1e6017}=this[_0xf91d(0x1c3)][_0xf91d(0x34d)](_0x4f8cff);if(_0x1e6017['length']===0x0)return _0x4aeeec;let _0x463785=_0x4d68d6['Tools'][_0xf91d(0x3b1)](_0x4aeeec[_0xf91d(0x228)][0x0]);for(let _0x3df890=0x0;_0x3df890<_0x1e6017[_0xf91d(0x1c2)];_0x3df890++){const _0x3ba1c8={'id':_0xf91d(0x37c),'params':{'unitId':_0x1e6017[_0x3df890][_0xf91d(0x3dc)],..._0x1e6017[_0x3df890]['redoState']}},_0x2c634e=this[_0xf91d(0x22f)][_0xf91d(0x1c7)](_0x463785,_0x3ba1c8,!0x1);if(_0x444278[_0xf91d(0x268)](_0x2c634e))throw _0x2c634e[_0xf91d(0x431)];_0x463785=_0x2c634e['m1Prime'];}return{..._0x4d68d6['Tools']['deepClone'](_0x4aeeec),'mutations':[_0x463785]};}[_0x38ff04(0x3d9)](_0x3e7ee8){const _0x46a78e=_0x38ff04,{unitID:_0x46a014}=_0x3e7ee8,{history:_0x23c4be,collaboration:_0x3b34b5}=this[_0x46a78e(0x1c3)][_0x46a78e(0x34d)](_0x46a014);if(_0x23c4be['length']===0x0&&_0x3b34b5[_0x46a78e(0x1c2)]===0x0)return;const _0x4d55f1=[],_0x2c214c=[];let _0x1f809e=_0x4d68d6[_0x46a78e(0x284)][_0x46a78e(0x3b1)](_0x3e7ee8['mutations'][0x0]),_0x4ae32d=_0x4d68d6[_0x46a78e(0x284)][_0x46a78e(0x3b1)](_0x3e7ee8[_0x46a78e(0x228)][0x0]);for(let _0x172696=_0x23c4be[_0x46a78e(0x1c2)]-0x1;_0x172696>=0x0;_0x172696--){const _0x26c3bb={'id':_0x46a78e(0x37c),'params':{'unitId':_0x23c4be[_0x172696][_0x46a78e(0x3dc)],..._0x23c4be[_0x172696][_0x46a78e(0x314)]}},_0x21ae60={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23c4be[_0x172696][_0x46a78e(0x3dc)],..._0x23c4be[_0x172696][_0x46a78e(0x2d5)]}},_0x1c4376=this[_0x46a78e(0x22f)][_0x46a78e(0x1c7)](_0x1f809e,_0x26c3bb,!0x1),_0x4f9795=this['_transformService'][_0x46a78e(0x1c7)](_0x4ae32d,_0x21ae60,!0x1);if(_0x444278[_0x46a78e(0x268)](_0x1c4376))throw _0x1c4376[_0x46a78e(0x431)];if(_0x444278[_0x46a78e(0x268)](_0x4f9795))throw _0x4f9795[_0x46a78e(0x431)];_0x4d55f1[_0x46a78e(0x437)]({..._0x23c4be[_0x172696],'undoState':_0x1c4376[_0x46a78e(0x3e5)][_0x46a78e(0x288)],'redoState':_0x4f9795[_0x46a78e(0x3e5)]['params']}),_0x1f809e=_0x1c4376[_0x46a78e(0x3fc)],_0x4ae32d=_0x4f9795[_0x46a78e(0x3fc)];}_0x1f809e=_0x4d68d6[_0x46a78e(0x284)][_0x46a78e(0x3b1)](_0x3e7ee8[_0x46a78e(0x228)][0x0]),_0x4ae32d=_0x4d68d6[_0x46a78e(0x284)][_0x46a78e(0x3b1)](_0x3e7ee8[_0x46a78e(0x228)][0x0]);for(let _0x449560=_0x3b34b5[_0x46a78e(0x1c2)]-0x1;_0x449560>=0x0;_0x449560--){const _0x1f769c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b34b5[_0x449560][_0x46a78e(0x3dc)],..._0x3b34b5[_0x449560][_0x46a78e(0x314)]}},_0x174e50={'id':_0x46a78e(0x37c),'params':{'unitId':_0x3b34b5[_0x449560][_0x46a78e(0x3dc)],..._0x3b34b5[_0x449560][_0x46a78e(0x2d5)]}},_0x5e44f6=this['_transformService']['transformMutation'](_0x1f809e,_0x1f769c,!0x1),_0x2eb7f2=this[_0x46a78e(0x22f)][_0x46a78e(0x1c7)](_0x4ae32d,_0x174e50,!0x1);if(_0x444278[_0x46a78e(0x268)](_0x5e44f6))throw _0x5e44f6[_0x46a78e(0x431)];if(_0x444278[_0x46a78e(0x268)](_0x2eb7f2))throw _0x2eb7f2[_0x46a78e(0x431)];_0x2c214c[_0x46a78e(0x437)]({..._0x3b34b5[_0x449560],'undoState':_0x5e44f6['m2Prime']['params'],'redoState':_0x2eb7f2[_0x46a78e(0x3e5)][_0x46a78e(0x288)]}),_0x1f809e=_0x5e44f6[_0x46a78e(0x3fc)],_0x4ae32d=_0x2eb7f2[_0x46a78e(0x3fc)];}this[_0x46a78e(0x1c3)][_0x46a78e(0x3b0)](_0x46a014,{'history':_0x4d55f1,'collaboration':_0x2c214c});}};_0x238486=_0xd0833c([_0x5902f6(0x0,_0x4d68d6['Inject'](_0x4d68d6['Injector'])),_0x5902f6(0x1,_0x444278[_0x38ff04(0x214)]),_0x5902f6(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x39680d[_0x38ff04(0x2cb)]))],_0x238486);var _0x54250e=Object[_0x38ff04(0x1f7)],_0x5254f0=(_0x159108,_0xa48ab9,_0xcdbe21,_0x273139)=>{const _0x53aa40=_0x38ff04;for(var _0x51ecfb=_0x273139>0x1?void 0x0:_0x273139?_0x54250e(_0xa48ab9,_0xcdbe21):_0xa48ab9,_0x53534a=_0x159108[_0x53aa40(0x1c2)]-0x1,_0x86bd2b;_0x53534a>=0x0;_0x53534a--)(_0x86bd2b=_0x159108[_0x53534a])&&(_0x51ecfb=_0x86bd2b(_0x51ecfb)||_0x51ecfb);return _0x51ecfb;},_0x35346f=(_0x34146b,_0x1cbbb0)=>(_0x30f710,_0xc9a64d)=>_0x1cbbb0(_0x30f710,_0xc9a64d,_0x34146b);let _0x423a70=class{constructor(_0x49829f,_0x49580b){const _0x32d0fd=_0x38ff04;this[_0x32d0fd(0x372)]=_0x49829f,this[_0x32d0fd(0x22f)]=_0x49580b;}[_0x38ff04(0x25c)](_0x2ec00b){const _0x4381ac=_0x38ff04;var _0x1e6558;const _0x5ea8c7=this['_injector'][_0x4381ac(0x37b)](_0x338c72[_0x4381ac(0x2ef)]),_0x3ba14c=(_0x1e6558=_0x5ea8c7[_0x4381ac(0x2e1)]())!=null?_0x1e6558:[];if(_0x3ba14c[_0x4381ac(0x1c2)]===0x0)return;const _0x52c802=_0x2ec00b[_0x4381ac(0x339)],_0x31a4ec=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52c802,'actions':null,'textRanges':_0x3ba14c}}],_0x257cec=this['_transformService'][_0x4381ac(0x3a0)](_0x2ec00b,_0x31a4ec);if(!_0x444278['isTransformMutationsWithChangesetSuccess'](_0x257cec))throw _0x257cec[_0x4381ac(0x431)];const _0x23a3bd=_0x257cec[_0x4381ac(0x3e5)][0x0][_0x4381ac(0x288)][_0x4381ac(0x416)];Array[_0x4381ac(0x31f)](_0x23a3bd)&&_0x23a3bd[_0x4381ac(0x1c2)]&&_0x5ea8c7[_0x4381ac(0x356)](_0x23a3bd,{'unitId':_0x52c802,'subUnitId':_0x52c802},!0x1);}};_0x423a70=_0x5254f0([_0x35346f(0x0,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6[_0x38ff04(0x197)])),_0x35346f(0x1,_0x444278[_0x38ff04(0x214)])],_0x423a70);var _0x37afcc=Object[_0x38ff04(0x1f7)],_0x411ed0=(_0x28dd3a,_0x10d077,_0x5208da,_0x51dde7)=>{for(var _0x3ee00e=_0x51dde7>0x1?void 0x0:_0x51dde7?_0x37afcc(_0x10d077,_0x5208da):_0x10d077,_0x43d367=_0x28dd3a['length']-0x1,_0xe908a2;_0x43d367>=0x0;_0x43d367--)(_0xe908a2=_0x28dd3a[_0x43d367])&&(_0x3ee00e=_0xe908a2(_0x3ee00e)||_0x3ee00e);return _0x3ee00e;},_0x50704d=(_0x11f843,_0x2682d4)=>(_0x5047d7,_0x59e530)=>_0x2682d4(_0x5047d7,_0x59e530,_0x11f843);let _0x5b4124=class extends _0x4d68d6[_0x38ff04(0x337)]{constructor(_0x5cf62a,_0x3c2fe7,_0x50a6b4,_0x257fec,_0x552c27,_0x511afe,_0x2a5963,_0x20b9c7){const _0x12b8a5=_0x38ff04;super(),_0x3ccfb7(this,_0x12b8a5(0x251),new _0x376c8a[(_0x12b8a5(0x238))](_0x449191[_0x12b8a5(0x209)][_0x12b8a5(0x1cb)])),(this['_docStateChangeManagerService']=_0x5cf62a,this[_0x12b8a5(0x2fd)]=_0x3c2fe7,this['_docTransformIMECacheService']=_0x50a6b4,this[_0x12b8a5(0x340)]=_0x257fec,this[_0x12b8a5(0x399)]=_0x552c27,this['_docSyncEditingCollabCursorService']=_0x511afe,this['_messageService']=_0x2a5963,this[_0x12b8a5(0x25f)]=_0x20b9c7,this[_0x12b8a5(0x217)]());}[_0x38ff04(0x217)](){const _0x13861b=_0x38ff04;this['disposeWithMe'](this[_0x13861b(0x2fd)][_0x13861b(0x355)][_0x13861b(0x448)](_0x18cc1d=>{const _0x34bf81=_0x13861b,_0x21390b=this[_0x34bf81(0x1c3)][_0x34bf81(0x361)]['subscribe'](_0x35a79b=>{const _0x5f5dac=_0x34bf81;if(_0x35a79b==null)return;const {unitId:_0x35b5e9,redoState:_0x5f4576,commandId:_0x414ba1}=_0x35a79b;if(_0x35b5e9!==_0x18cc1d[_0x5f5dac(0x339)])return;const _0x7f4d3b={'id':_0x414ba1,'type':_0x4d68d6['CommandType']['MUTATION'],'params':{'unitId':_0x35b5e9,'actions':_0x5f4576[_0x5f5dac(0x45c)],'textRanges':null}};_0x18cc1d[_0x5f5dac(0x429)](_0x7f4d3b);});if(_0x18cc1d[_0x34bf81(0x46d)](_0x21390b),_0x18cc1d instanceof _0x449191[_0x34bf81(0x33f)]){const _0x14d2b4={'onTransformIME':_0x20ae4e=>this[_0x34bf81(0x1e7)][_0x34bf81(0x344)](_0x20ae4e),'onTransformState':_0x16e9ac=>this[_0x34bf81(0x340)][_0x34bf81(0x379)](_0x16e9ac),'onTransformSelections':_0x37dca2=>this['_docTransformSelectionsService'][_0x34bf81(0x25c)](_0x37dca2),'onSyncEditingCollabCursor':_0x1f2f4d=>this[_0x34bf81(0x438)][_0x34bf81(0x3a6)](_0x1f2f4d),'onTransformRemoteChangesetByIMECache':_0x4132c7=>this[_0x34bf81(0x1e7)][_0x34bf81(0x1e3)](_0x4132c7),'onTransformRemoteChangesetByStateCache':_0x2d71a7=>this[_0x34bf81(0x340)][_0x34bf81(0x1e3)](_0x2d71a7)};_0x18cc1d[_0x34bf81(0x25d)](_0x14d2b4);}}));}};_0x5b4124=_0x411ed0([_0x50704d(0x0,_0x4d68d6[_0x38ff04(0x2de)](_0x39680d[_0x38ff04(0x2cb)])),_0x50704d(0x1,_0x4d68d6[_0x38ff04(0x2de)](_0x449191[_0x38ff04(0x46a)])),_0x50704d(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x12d971)),_0x50704d(0x3,_0x4d68d6[_0x38ff04(0x2de)](_0x238486)),_0x50704d(0x4,_0x4d68d6[_0x38ff04(0x2de)](_0x423a70)),_0x50704d(0x5,_0x4d68d6[_0x38ff04(0x2de)](_0x1a4e23)),_0x50704d(0x6,_0x443a5d[_0x38ff04(0x460)]),_0x50704d(0x7,_0x4d68d6['Inject'](_0x4d68d6['LocaleService']))],_0x5b4124);var _0x2d9365=(_0x11f114=>(_0x11f114[_0x11f114[_0x38ff04(0x3c8)]=0x0]=_0x38ff04(0x3c8),_0x11f114[_0x11f114['OK']=0x1]='OK',_0x11f114[_0x11f114['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x11f114[_0x11f114['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x11f114[_0x11f114[_0x38ff04(0x2dd)]=0x4]='NOT_FOUND',_0x11f114[_0x11f114[_0x38ff04(0x2f6)]=0x5]=_0x38ff04(0x2f6),_0x11f114[_0x11f114[_0x38ff04(0x2a2)]=0x6]=_0x38ff04(0x2a2),_0x11f114[_0x11f114[_0x38ff04(0x250)]=0x7]='INVALID_ARGUMENT',_0x11f114[_0x11f114[_0x38ff04(0x471)]=0x8]=_0x38ff04(0x471),_0x11f114[_0x11f114[_0x38ff04(0x259)]=0x9]='COMPLETION_FINISHED',_0x11f114[_0x11f114['LOGIN_FAILED']=0xa]=_0x38ff04(0x420),_0x11f114[_0x11f114[_0x38ff04(0x248)]=0xb]=_0x38ff04(0x248),_0x11f114[_0x11f114['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x38ff04(0x3a2),_0x11f114[_0x11f114[_0x38ff04(0x2f8)]=0xd]=_0x38ff04(0x2f8),_0x11f114[_0x11f114[_0x38ff04(0x34b)]=0xe]=_0x38ff04(0x34b),_0x11f114[_0x11f114[_0x38ff04(0x3fd)]=0xf]=_0x38ff04(0x3fd),_0x11f114[_0x11f114[_0x38ff04(0x412)]=0x10]=_0x38ff04(0x412),_0x11f114[_0x11f114[_0x38ff04(0x1a4)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x11f114[_0x11f114[_0x38ff04(0x2a7)]=0x65]=_0x38ff04(0x2a7),_0x11f114[_0x11f114[_0x38ff04(0x306)]=0xc9]='USER_NOT_FOUND',_0x11f114[_0x11f114[_0x38ff04(0x442)]=0xca]=_0x38ff04(0x442),_0x11f114[_0x11f114[_0x38ff04(0x360)]=0x1389]=_0x38ff04(0x360),_0x11f114[_0x11f114[_0x38ff04(0x3f2)]=0x1771]=_0x38ff04(0x3f2),_0x11f114[_0x11f114[_0x38ff04(0x348)]=0x1772]=_0x38ff04(0x348),_0x11f114[_0x11f114[_0x38ff04(0x227)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x11f114[_0x11f114[_0x38ff04(0x433)]=0x1b59]=_0x38ff04(0x433),_0x11f114[_0x11f114[_0x38ff04(0x2d4)]=0x1b5a]=_0x38ff04(0x2d4),_0x11f114[_0x11f114[_0x38ff04(0x421)]=0x1b5b]=_0x38ff04(0x421),_0x11f114[_0x11f114[_0x38ff04(0x19d)]=0x1b5c]=_0x38ff04(0x19d),_0x11f114[_0x11f114[_0x38ff04(0x474)]=0x1b5d]=_0x38ff04(0x474),_0x11f114[_0x11f114[_0x38ff04(0x29f)]=0x1f41]=_0x38ff04(0x29f),_0x11f114[_0x11f114['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x11f114[_0x11f114['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x11f114[_0x11f114[_0x38ff04(0x34f)]=0x232b]=_0x38ff04(0x34f),_0x11f114[_0x11f114[_0x38ff04(0x2c7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x11f114[_0x11f114[_0x38ff04(0x3cb)]=0x232d]=_0x38ff04(0x3cb),_0x11f114[_0x11f114[_0x38ff04(0x3b8)]=0x2711]=_0x38ff04(0x3b8),_0x11f114[_0x11f114[_0x38ff04(0x367)]=0x2712]=_0x38ff04(0x367),_0x11f114[_0x11f114[_0x38ff04(0x252)]=0x2713]=_0x38ff04(0x252),_0x11f114[_0x11f114[_0x38ff04(0x409)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x11f114[_0x11f114[_0x38ff04(0x274)]=0x271a]=_0x38ff04(0x274),_0x11f114[_0x11f114[_0x38ff04(0x2a0)]=0x271b]=_0x38ff04(0x2a0),_0x11f114[_0x11f114[_0x38ff04(0x281)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x11f114[_0x11f114[_0x38ff04(0x290)]=0x271d]=_0x38ff04(0x290),_0x11f114[_0x11f114[_0x38ff04(0x402)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x11f114[_0x11f114['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x11f114[_0x11f114[_0x38ff04(0x261)]=0x2720]=_0x38ff04(0x261),_0x11f114[_0x11f114[_0x38ff04(0x461)]=0x2af9]=_0x38ff04(0x461),_0x11f114[_0x11f114[_0x38ff04(0x41e)]=0x2ee1]=_0x38ff04(0x41e),_0x11f114[_0x11f114[_0x38ff04(0x22b)]=0x2ee2]=_0x38ff04(0x22b),_0x11f114[_0x11f114['INVITE_CODE_REQUIRED']=0x2ee3]=_0x38ff04(0x430),_0x11f114[_0x11f114['USER_NOT_INVITED_CODE']=0x2ee4]=_0x38ff04(0x374),_0x11f114[_0x11f114[_0x38ff04(0x3b9)]=0x2ee5]=_0x38ff04(0x3b9),_0x11f114[_0x11f114['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x38ff04(0x276),_0x11f114[_0x11f114['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x38ff04(0x3f7),_0x11f114[_0x11f114[_0x38ff04(0x466)]=0x32cb]=_0x38ff04(0x466),_0x11f114[_0x11f114[_0x38ff04(0x3bd)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x11f114[_0x11f114['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x11f114[_0x11f114[_0x38ff04(0x285)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x11f114[_0x11f114['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x11f114[_0x11f114[_0x38ff04(0x206)]=0x36b5]=_0x38ff04(0x206),_0x11f114[_0x11f114[_0x38ff04(0x38b)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x11f114[_0x11f114[_0x38ff04(0x2e2)]=0x36b7]=_0x38ff04(0x2e2),_0x11f114[_0x11f114[_0x38ff04(0x335)]=0x36b8]=_0x38ff04(0x335),_0x11f114[_0x11f114[_0x38ff04(0x216)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x11f114[_0x11f114[_0x38ff04(0x233)]=0x3716]=_0x38ff04(0x233),_0x11f114[_0x11f114[_0x38ff04(0x310)]=0x3717]=_0x38ff04(0x310),_0x11f114[_0x11f114[_0x38ff04(0x363)]=0x37dd]=_0x38ff04(0x363),_0x11f114[_0x11f114[_0x38ff04(0x3e6)]=0x3a99]=_0x38ff04(0x3e6),_0x11f114[_0x11f114[_0x38ff04(0x220)]=0x3a9a]=_0x38ff04(0x220),_0x11f114[_0x11f114[_0x38ff04(0x389)]=0x3a9b]=_0x38ff04(0x389),_0x11f114[_0x11f114[_0x38ff04(0x427)]=0x3a9c]=_0x38ff04(0x427),_0x11f114[_0x11f114[_0x38ff04(0x316)]=0x3a9d]=_0x38ff04(0x316),_0x11f114[_0x11f114[_0x38ff04(0x2c8)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x11f114[_0x11f114[_0x38ff04(0x1da)]=0x3a9f]=_0x38ff04(0x1da),_0x11f114[_0x11f114[_0x38ff04(0x456)]=0x3e81]=_0x38ff04(0x456),_0x11f114[_0x11f114[_0x38ff04(0x18b)]=-0x1]=_0x38ff04(0x18b),_0x11f114))(_0x2d9365||{});function _0x3d90cb(_0x3dd9c3){const _0x75a947=_0x38ff04;var _0x22a79f,_0x3fda23;const _0x55d1fa=(_0x22a79f=_0x3dd9c3[_0x75a947(0x3c1)])==null?void 0x0:_0x22a79f[_0x75a947(0x2d9)],_0x488024=((_0x3fda23=_0x3dd9c3[_0x75a947(0x3c1)])==null?void 0x0:_0x3fda23[_0x75a947(0x24d)])||0x0;return _0x55d1fa===_0x231e97[_0x75a947(0x39c)][_0x75a947(0x38d)]&&_0x488024>0x0;}function _0x4594fa(_0x3854d4){const _0x17a718=_0x38ff04;return _0x3854d4[_0x17a718(0x256)]===_0x231e97[_0x17a718(0x229)]['SUCCESS'];}var _0x2e193a=Object[_0x38ff04(0x1f7)],_0x107bd0=(_0x4fd5e6,_0x214410,_0x35352a,_0x3cf18b)=>{const _0x3859ea=_0x38ff04;for(var _0x511b7c=_0x3cf18b>0x1?void 0x0:_0x3cf18b?_0x2e193a(_0x214410,_0x35352a):_0x214410,_0x1d597f=_0x4fd5e6[_0x3859ea(0x1c2)]-0x1,_0x2f0f76;_0x1d597f>=0x0;_0x1d597f--)(_0x2f0f76=_0x4fd5e6[_0x1d597f])&&(_0x511b7c=_0x2f0f76(_0x511b7c)||_0x511b7c);return _0x511b7c;},_0x216e69=(_0x3d081c,_0x69464)=>(_0x125319,_0x35c37d)=>_0x69464(_0x125319,_0x35c37d,_0x3d081c);const _0x4f5aa7=_0x38ff04(0x3bb),_0x301dd8=_0x38ff04(0x2d8),_0x11cf8a='/universer-api/license/formula/limit/done';let _0x57a8a3=class extends _0x4d68d6[_0x38ff04(0x337)]{constructor(_0x33e07d,_0xd07aea,_0x3d170b,_0x18ed50,_0x2b3cbe,_0x53ca64,_0x5d67c4){const _0x49b41f=_0x38ff04;super(),_0x3ccfb7(this,_0x49b41f(0x20e),null),_0x3ccfb7(this,'_maxFormulaLimit',0x0),_0x3ccfb7(this,'_currentUsage',0x0),_0x3ccfb7(this,'_taskIds',[]),_0x3ccfb7(this,'_lastResponseTimestamp',0x0),(this['_messageService']=_0x33e07d,this[_0x49b41f(0x25b)]=_0xd07aea,this[_0x49b41f(0x30c)]=_0x3d170b,this[_0x49b41f(0x1bf)]=_0x18ed50,this['_univerInstanceService']=_0x2b3cbe,this[_0x49b41f(0x1e6)]=_0x53ca64,this[_0x49b41f(0x25f)]=_0x5d67c4,this[_0x49b41f(0x330)]());}[_0x38ff04(0x330)](){const _0x108a18=_0x38ff04;this[_0x108a18(0x46d)](this[_0x108a18(0x25b)]['beforeCommandExecuted']((_0x3058c9,_0x108bf2)=>{const _0x1f998e=_0x108a18;var _0x3822d5;if(_0x3058c9['id']!==_0x231e97[_0x1f998e(0x3ec)]['id'])return;const _0x4a4eb3=_0x3058c9[_0x1f998e(0x288)];if(!this[_0x1f998e(0x27b)]((_0x3822d5=_0x4a4eb3['dirtyRanges'])!=null?_0x3822d5:[]))return;if(!this[_0x1f998e(0x392)]())throw this[_0x1f998e(0x3c6)](_0x3058c9,_0x108bf2),this[_0x1f998e(0x3e7)](),new _0x4d68d6[(_0x1f998e(0x192))]();})),this[_0x108a18(0x46d)](this[_0x108a18(0x25b)][_0x108a18(0x1ca)]((_0x4ff5e9,_0x3db86d)=>{const _0x4cf7ee=_0x108a18;if(_0x4ff5e9['id']!==_0x231e97[_0x4cf7ee(0x19e)]['id'])return;const _0x276bf6=_0x4ff5e9['params'];if(_0x3d90cb(_0x276bf6)){const _0xe9b628=_0x4d68d6[_0x4cf7ee(0x27f)]();this[_0x4cf7ee(0x2bf)][_0x4cf7ee(0x23a)](_0xe9b628),this['_startCalculationLimit'](_0xe9b628);}else{if(_0x4594fa(_0x276bf6)&&this[_0x4cf7ee(0x2bf)][_0x4cf7ee(0x1c2)]>0x0){const _0x1b4b51=this[_0x4cf7ee(0x2bf)][_0x4cf7ee(0x210)]();this[_0x4cf7ee(0x317)](_0x1b4b51);}}}));}[_0x38ff04(0x37e)](){const _0x517769=_0x38ff04;super['dispose'](),this['_clearPolling'](),this[_0x517769(0x2bf)]=[],this[_0x517769(0x1cf)]=0x0,this[_0x517769(0x271)]=0x0,this[_0x517769(0x1ec)]=0x0;}async[_0x38ff04(0x3c6)](_0x6bfd0f,_0xfedd25){const _0x478d33=_0x38ff04;for(let _0x52b965=0x0;_0x52b965<0x1e;_0x52b965++)try{if(await this[_0x478d33(0x443)](),this['_checkCalculationAvailable']()){this[_0x478d33(0x398)](_0x6bfd0f,_0xfedd25),this[_0x478d33(0x1ae)][_0x478d33(0x1c9)]({'content':this[_0x478d33(0x25f)]['t'](_0x478d33(0x21f)),'type':_0x3594df[_0x478d33(0x326)]['Success']});return;}await new Promise(_0x4d0851=>{const _0x89bd18=_0x478d33;this[_0x89bd18(0x20e)]=window[_0x89bd18(0x2ec)](_0x4d0851,0x3e8);});}catch(_0xe0f0bb){this[_0x478d33(0x1e6)][_0x478d33(0x431)](_0xe0f0bb);}this[_0x478d33(0x1ae)][_0x478d33(0x1c9)]({'content':this[_0x478d33(0x25f)]['t'](_0x478d33(0x1b1)),'type':_0x3594df['MessageType'][_0x478d33(0x378)]});}[_0x38ff04(0x398)](_0x319f5c,_0x11ef3d){const _0x307e6f=_0x38ff04;try{this[_0x307e6f(0x25b)][_0x307e6f(0x42a)](_0x319f5c['id'],_0x319f5c[_0x307e6f(0x288)],_0x11ef3d);}catch(_0x106982){this[_0x307e6f(0x1e6)][_0x307e6f(0x431)](_0x106982);}}[_0x38ff04(0x434)](_0x3132cc,_0x466968){const _0x4a6bd5=_0x38ff04;_0x466968<this['_lastResponseTimestamp']||(this[_0x4a6bd5(0x1ec)]=_0x466968,this['_maxFormulaLimit']=Number[_0x4a6bd5(0x343)](_0x3132cc[_0x4a6bd5(0x1b5)]),this['_currentUsage']=Number[_0x4a6bd5(0x343)](_0x3132cc['currentUsage']));}async[_0x38ff04(0x3f6)](_0x96c783){const _0x253646=_0x38ff04;var _0x3092ca,_0x31c4a8;const _0x1efc01=Date[_0x253646(0x303)]();try{const _0x448ec7=((_0x3092ca=this[_0x253646(0x30c)][_0x253646(0x3ab)](_0x449191[_0x253646(0x43a)]))==null?void 0x0:_0x3092ca['startFormulaLimitUrl'])||_0x301dd8,_0x296200=(await this[_0x253646(0x1bf)][_0x253646(0x318)](_0x448ec7,{'body':JSON[_0x253646(0x29c)]({'taskId':_0x96c783})}))[_0x253646(0x2c5)];if(((_0x31c4a8=_0x296200[_0x253646(0x431)])==null?void 0x0:_0x31c4a8['code'])!==_0x2d9365['OK'])return;this[_0x253646(0x434)](_0x296200[_0x253646(0x28a)],_0x1efc01);}catch(_0x581b15){this[_0x253646(0x1e6)][_0x253646(0x431)](_0x581b15);}}async[_0x38ff04(0x443)](_0x25884b){const _0x42f7b8=_0x38ff04;var _0x3ee204,_0x55948d;const _0x960256=Date[_0x42f7b8(0x303)]();try{const _0x4394e5=((_0x3ee204=this[_0x42f7b8(0x30c)][_0x42f7b8(0x3ab)](_0x449191[_0x42f7b8(0x43a)]))==null?void 0x0:_0x3ee204[_0x42f7b8(0x3cf)])||_0x4f5aa7,_0x35c1b9=_0x25884b?_0x4394e5+'?taskId='+encodeURIComponent(_0x25884b):_0x4394e5,_0x49b70e=(await this['_httpService'][_0x42f7b8(0x37b)](_0x35c1b9))['body'];if(((_0x55948d=_0x49b70e[_0x42f7b8(0x431)])==null?void 0x0:_0x55948d['code'])!==_0x2d9365['OK'])return;this[_0x42f7b8(0x434)](_0x49b70e[_0x42f7b8(0x28a)],_0x960256);}catch(_0x216062){this[_0x42f7b8(0x1e6)][_0x42f7b8(0x431)](_0x216062);}}async[_0x38ff04(0x317)](_0x18f79c){const _0x5d17da=_0x38ff04;var _0x5b17de,_0x50ed60;const _0x4e3872=Date[_0x5d17da(0x303)]();try{const _0x5645ce=((_0x5b17de=this['_configService']['getConfig'](_0x449191[_0x5d17da(0x43a)]))==null?void 0x0:_0x5b17de[_0x5d17da(0x1ed)])||_0x11cf8a,_0x392b3b=(await this[_0x5d17da(0x1bf)][_0x5d17da(0x318)](_0x5645ce,{'body':JSON[_0x5d17da(0x29c)]({'taskId':_0x18f79c})}))['body'];if(((_0x50ed60=_0x392b3b[_0x5d17da(0x431)])==null?void 0x0:_0x50ed60[_0x5d17da(0x1bc)])!==_0x2d9365['OK'])return;this[_0x5d17da(0x434)](_0x392b3b[_0x5d17da(0x28a)],_0x4e3872);}catch(_0x46ce9e){this[_0x5d17da(0x1e6)]['error'](_0x46ce9e);}}[_0x38ff04(0x392)](){const _0x647db3=_0x38ff04;return this[_0x647db3(0x271)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x38ff04(0x44d)](){const _0x35f606=_0x38ff04;this['_pollingInterval']&&(clearTimeout(this[_0x35f606(0x20e)]),this[_0x35f606(0x20e)]=null);}[_0x38ff04(0x3e7)](){const _0x414d8f=_0x38ff04;this[_0x414d8f(0x1ae)]['show']({'content':this[_0x414d8f(0x25f)]['t'](_0x414d8f(0x457)),'type':_0x3594df['MessageType']['Loading']});}['_hasFormulaInDirtyRanges'](_0x175fd7){const _0x583707=_0x38ff04;for(const _0x29f0f2 of _0x175fd7){const {unitId:_0xbab262,sheetId:_0x26511b,range:_0x5c77ac}=_0x29f0f2,_0x41e2db=this['_univerInstanceService'][_0x583707(0x3d8)](_0xbab262);if(!_0x41e2db)continue;const _0x434892=_0x41e2db[_0x583707(0x26f)](_0x26511b);if(!_0x434892)continue;const _0x4947c1=_0x434892[_0x583707(0x2b9)]();for(let _0x462816=_0x5c77ac[_0x583707(0x32c)];_0x462816<=_0x5c77ac[_0x583707(0x1ba)];_0x462816++)for(let _0x2290cc=_0x5c77ac['startColumn'];_0x2290cc<=_0x5c77ac[_0x583707(0x417)];_0x2290cc++){const _0xac6114=_0x4947c1['getValue'](_0x462816,_0x2290cc);if(_0xac6114&&(_0x4d68d6[_0x583707(0x2c2)](_0xac6114['f'])||_0x4d68d6[_0x583707(0x449)](_0xac6114['si'])))return!0x0;}}return!0x1;}};_0x57a8a3=_0x107bd0([_0x216e69(0x0,_0x4d68d6[_0x38ff04(0x2de)](_0x443a5d[_0x38ff04(0x460)])),_0x216e69(0x1,_0x4d68d6[_0x38ff04(0x231)]),_0x216e69(0x2,_0x4d68d6[_0x38ff04(0x362)]),_0x216e69(0x3,_0x4d68d6[_0x38ff04(0x2de)](_0x4e3f26[_0x38ff04(0x3d3)])),_0x216e69(0x4,_0x4d68d6[_0x38ff04(0x28e)]),_0x216e69(0x5,_0x4d68d6[_0x38ff04(0x1d5)]),_0x216e69(0x6,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6[_0x38ff04(0x27a)]))],_0x57a8a3);var _0x5e93b0=Object['getOwnPropertyDescriptor'],_0xc8c12e=(_0x5200e4,_0x183be3,_0x480fef,_0x51955e)=>{const _0x13daaa=_0x38ff04;for(var _0x461131=_0x51955e>0x1?void 0x0:_0x51955e?_0x5e93b0(_0x183be3,_0x480fef):_0x183be3,_0x9fa033=_0x5200e4[_0x13daaa(0x1c2)]-0x1,_0x29041d;_0x9fa033>=0x0;_0x9fa033--)(_0x29041d=_0x5200e4[_0x9fa033])&&(_0x461131=_0x29041d(_0x461131)||_0x461131);return _0x461131;},_0x16463b=(_0x44ac1d,_0x337779)=>(_0x187be0,_0x4a322b)=>_0x337779(_0x187be0,_0x4a322b,_0x44ac1d);let _0x32f066=class extends _0x4d68d6[_0x38ff04(0x337)]{constructor(_0x3e6934,_0xb38b55,_0x40434b){const _0x1a8c59=_0x38ff04;super(),_0x3ccfb7(this,'_cachedData',new Map()),_0x3ccfb7(this,'_saveTaskMap',new Map()),_0x3ccfb7(this,_0x1a8c59(0x2a6),!0x1),(this['_configService']=_0x3e6934,this['_localStorageService']=_0xb38b55,this[_0x1a8c59(0x2c6)]=_0x40434b);}[_0x38ff04(0x30d)](){const _0x4fffa0=_0x38ff04;this[_0x4fffa0(0x2a6)]=!0x0;}[_0x38ff04(0x246)](){const _0x3e8ea0=_0x38ff04;this[_0x3e8ea0(0x2a6)]=!0x1;}get['saveTaskMap'](){const _0x1296cd=_0x38ff04;return this[_0x1296cd(0x291)];}[_0x38ff04(0x37e)](){const _0x25ba79=_0x38ff04;this[_0x25ba79(0x29b)]()[_0x25ba79(0x3ae)](()=>super[_0x25ba79(0x37e)]());}async[_0x38ff04(0x41a)](_0x365d91){const _0x6bddda=_0x38ff04;return this[_0x6bddda(0x2a6)]?null:this[_0x6bddda(0x234)]['getItem'](_0x449191['getLocalCacheKey'](_0x365d91));}async[_0x38ff04(0x411)](_0x3fbebe,_0x39ce8c){const _0x370e4e=_0x38ff04;return!!this[_0x370e4e(0x234)]['setItem'](_0x3fbebe,_0x39ce8c);}[_0x38ff04(0x424)](_0x320fa0,_0x319f9b,_0x5ba889,_0x2b8f40){const _0x433072=_0x38ff04,_0x4b15f8=this[_0x433072(0x2c6)]['getCurrentRevOfUnit'](_0x320fa0);this[_0x433072(0x3e0)]['set'](_0x320fa0,{'unitID':_0x320fa0,'type':_0x319f9b,'awaitingChangeset':_0x5ba889,'mutations':_0x2b8f40,'rev':_0x4b15f8}),this['_saveTaskMap'][_0x433072(0x2f9)](_0x320fa0)||this['_scheduleSaving'](_0x320fa0);}[_0x38ff04(0x1e5)](_0x5111f6){const _0x50e146=_0x38ff04,_0x267a97=this[_0x50e146(0x295)]();_0x267a97===0x0?this[_0x50e146(0x3aa)](_0x5111f6):this[_0x50e146(0x291)][_0x50e146(0x332)](_0x5111f6,setTimeout(()=>this[_0x50e146(0x3aa)](_0x5111f6),_0x267a97));}[_0x38ff04(0x295)](){const _0x25788b=_0x38ff04;var _0x20b172;return(_0x20b172=this[_0x25788b(0x30c)][_0x25788b(0x3ab)](_0x449191[_0x25788b(0x44e)]))!=null?_0x20b172:_0x449191[_0x25788b(0x39d)];}['_saveCache'](_0x33bdd4){const _0x5d8c3b=_0x38ff04,_0x189df8=this[_0x5d8c3b(0x291)]['get'](_0x33bdd4);return _0x189df8!==void 0x0&&window['clearTimeout'](_0x189df8),this[_0x5d8c3b(0x234)]['setItem'](_0x449191['getLocalCacheKey'](_0x33bdd4),this['_cachedData'][_0x5d8c3b(0x37b)](_0x33bdd4))['then'](()=>this[_0x5d8c3b(0x291)][_0x5d8c3b(0x1d2)](_0x33bdd4));}async[_0x38ff04(0x29b)](){const _0x2afd78=[];this['_saveTaskMap']['forEach']((_0x59313f,_0x30a2d9)=>{const _0x80df50=_0x9a99;window[_0x80df50(0x3a3)](_0x59313f),_0x2afd78[_0x80df50(0x23a)](this['_saveCache'](_0x30a2d9)[_0x80df50(0x3ae)](()=>{const _0xd90a99=_0x80df50;this['_saveTaskMap'][_0xd90a99(0x1d2)](_0x30a2d9);}));}),await Promise['all'](_0x2afd78);}};_0x32f066=_0xc8c12e([_0x16463b(0x0,_0x4d68d6['IConfigService']),_0x16463b(0x1,_0x4d68d6[_0x38ff04(0x296)]),_0x16463b(0x2,_0x4d68d6['Inject'](_0x444278[_0x38ff04(0x2c0)]))],_0x32f066);class _0x4adc5e extends _0x4d68d6[_0x38ff04(0x387)]{constructor(){const _0x3474ea=_0x38ff04;super(),_0x3ccfb7(this,_0x3474ea(0x2ca)),this[_0x3474ea(0x2ca)]=_0x376c8a[_0x3474ea(0x305)](window,_0x3474ea(0x1fa))[_0x3474ea(0x41c)](_0x376c8a[_0x3474ea(0x2dc)](this[_0x3474ea(0x3a4)]),_0x376c8a[_0x3474ea(0x205)](0x1),_0x376c8a[_0x3474ea(0x31d)](void 0x0));}[_0x38ff04(0x230)](_0x3d3bb9,_0x27ca11,_0x3bacfa=!0x1){const _0x848645=_0x38ff04,_0x2fe1db=new URL(window[_0x848645(0x395)][_0x848645(0x415)]);_0x2fe1db[_0x848645(0x338)][_0x848645(0x332)](_0x3d3bb9,_0x27ca11),_0x3bacfa?window[_0x848645(0x226)][_0x848645(0x3f0)]('','',_0x2fe1db[_0x848645(0x2c1)]()):window[_0x848645(0x226)][_0x848645(0x3c0)]('','',_0x2fe1db[_0x848645(0x2c1)]());}[_0x38ff04(0x23e)](_0x5aa707,_0x145b07=!0x1){const _0x233dfa=_0x38ff04,_0xf8b75a=new URL(window[_0x233dfa(0x395)][_0x233dfa(0x415)]);_0xf8b75a[_0x233dfa(0x338)][_0x233dfa(0x1d2)](_0x5aa707),_0x145b07?window['history'][_0x233dfa(0x3f0)]('','',_0xf8b75a[_0x233dfa(0x2c1)]()):window[_0x233dfa(0x226)][_0x233dfa(0x3c0)]('','',_0xf8b75a[_0x233dfa(0x2c1)]());}[_0x38ff04(0x2db)](_0x4e1bc8){const _0x196d07=_0x38ff04;var _0x22e5a9;return(_0x22e5a9=new URL(window[_0x196d07(0x395)][_0x196d07(0x415)])[_0x196d07(0x338)][_0x196d07(0x37b)](_0x4e1bc8))!=null?_0x22e5a9:void 0x0;}}var _0x5d4867=Object[_0x38ff04(0x244)],_0x5f2358=Object[_0x38ff04(0x1f7)],_0x533823=(_0x49ab1b,_0x3b76e7,_0x3cc0da)=>_0x3b76e7 in _0x49ab1b?_0x5d4867(_0x49ab1b,_0x3b76e7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3cc0da}):_0x49ab1b[_0x3b76e7]=_0x3cc0da,_0x314c18=(_0x18733f,_0x17711b,_0x738894,_0x30e710)=>{const _0x26efdf=_0x38ff04;for(var _0x3df822=_0x30e710>0x1?void 0x0:_0x30e710?_0x5f2358(_0x17711b,_0x738894):_0x17711b,_0x5f17c4=_0x18733f[_0x26efdf(0x1c2)]-0x1,_0x405e90;_0x5f17c4>=0x0;_0x5f17c4--)(_0x405e90=_0x18733f[_0x5f17c4])&&(_0x3df822=_0x405e90(_0x3df822)||_0x3df822);return _0x3df822;},_0x463ebb=(_0x540f08,_0x3ba1d9)=>(_0x1bf746,_0x129026)=>_0x3ba1d9(_0x1bf746,_0x129026,_0x540f08),_0x5ee4dd=(_0x24aa92,_0xfce080,_0x15b870)=>_0x533823(_0x24aa92,_0xfce080+'',_0x15b870);const _0x5d8fcb='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0xaa14ec[_0x38ff04(0x22a)]=class extends _0x4d68d6[_0x38ff04(0x3ca)]{constructor(_0x31438e=_0x134d4e,_0x20e6f3,_0x797669,_0xc42c2c){const _0x2943ce=_0x38ff04;super(),this[_0x2943ce(0x1af)]=_0x31438e,this[_0x2943ce(0x2ba)]=_0x20e6f3,this[_0x2943ce(0x372)]=_0x797669,this['_configService']=_0xc42c2c;const {..._0x11bf57}=_0x4d68d6['merge']({},_0x134d4e,this[_0x2943ce(0x1af)]);this[_0x2943ce(0x30c)][_0x2943ce(0x407)](_0x3b6d15,_0x11bf57);}[_0x38ff04(0x376)](){const _0x1296d5=_0x38ff04;this[_0x1296d5(0x270)](),this[_0x1296d5(0x408)]();}['onRendered'](){const _0x460d88=_0x38ff04;this[_0x460d88(0x26c)]();}[_0x38ff04(0x270)](){const _0x25275b=_0x38ff04;var _0x192490;const _0x3a2399=[[_0x2b1ee3],[_0x57a8a3],[_0x423a70],[_0x12d971],[_0x238486],[_0x1a4e23],[_0x156d7e,{'useClass':_0x4adc5e}],[_0x4e3f26[_0x25275b(0x3f1)],{'useClass':_0x4e3f26[_0x25275b(0x34a)]}],[_0x449191[_0x25275b(0x292)],{'useClass':_0x32f066}],[_0xaa14ec[_0x25275b(0x1bd)]],[_0x5b4124],[_0x4cc2c2],[_0x485889],[_0x3228b9],[_0xaa14ec['CollaborationDataLoaderController']]];this['_config'][_0x25275b(0x479)]&&_0x3a2399[_0x25275b(0x23a)]([_0x21fe90]),_0x4d68d6[_0x25275b(0x1b6)](this[_0x25275b(0x372)],_0x4d68d6[_0x25275b(0x435)](_0x3a2399,(_0x192490=this[_0x25275b(0x1af)])==null?void 0x0:_0x192490['override']));}['_registerRenderDependencies'](){const _0x5c8955=_0x38ff04;this['disposeWithMe'](this[_0x5c8955(0x2ba)]['registerRenderModule'](_0x4d68d6[_0x5c8955(0x1d6)][_0x5c8955(0x1b4)],[_0x460a70])),this[_0x5c8955(0x46d)](this[_0x5c8955(0x2ba)]['registerRenderModule'](_0x4d68d6['UniverInstanceType'][_0x5c8955(0x19f)],[_0xc0c12e]));}[_0x38ff04(0x408)](){const _0x58b48c=_0x38ff04;_0x4d68d6[_0x58b48c(0x42f)](this['_injector'],[[_0x485889],[_0xaa14ec[_0x58b48c(0x1bd)]],[_0x5b4124],[_0x4cc2c2],[_0xaa14ec['CollaborationDataLoaderController']],[_0x57a8a3]]),this[_0x58b48c(0x1af)][_0x58b48c(0x479)]&&_0x4d68d6['touchDependencies'](this[_0x58b48c(0x372)],[[_0x21fe90]]);}},_0x5ee4dd(_0xaa14ec['UniverCollaborationClientUIPlugin'],_0x38ff04(0x46b),_0x5d8fcb),_0xaa14ec['UniverCollaborationClientUIPlugin']=_0x314c18([_0x4d68d6[_0x38ff04(0x458)](_0x449191[_0x38ff04(0x31e)]),_0x463ebb(0x1,_0x403935[_0x38ff04(0x358)]),_0x463ebb(0x2,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6['Injector'])),_0x463ebb(0x3,_0x4d68d6[_0x38ff04(0x362)])],_0xaa14ec[_0x38ff04(0x22a)]);var _0x285118=Object[_0x38ff04(0x1f7)],_0x986906=(_0xe3d91b,_0x5d715a,_0xd51f55,_0x182196)=>{const _0x375035=_0x38ff04;for(var _0x351b8e=_0x182196>0x1?void 0x0:_0x182196?_0x285118(_0x5d715a,_0xd51f55):_0x5d715a,_0x6fe6c7=_0xe3d91b[_0x375035(0x1c2)]-0x1,_0x4f1769;_0x6fe6c7>=0x0;_0x6fe6c7--)(_0x4f1769=_0xe3d91b[_0x6fe6c7])&&(_0x351b8e=_0x4f1769(_0x351b8e)||_0x351b8e);return _0x351b8e;},_0x147469=(_0x26b193,_0x5d2abd)=>(_0x372e97,_0x456ad4)=>_0x5d2abd(_0x372e97,_0x456ad4,_0x26b193);_0xaa14ec[_0x38ff04(0x2d1)]=class extends _0x449191[_0x38ff04(0x191)]{constructor(_0x3c1f4a,_0x493b3e,_0x48e46e,_0x11572d,_0x4af387){super(_0x3c1f4a,_0x493b3e,_0x48e46e,_0x11572d,_0x4af387);}async[_0x38ff04(0x370)](_0x287864){const _0x4015a7=_0x38ff04,_0x4cdc1d=await this[_0x4015a7(0x190)](),_0x5ccd48=this[_0x4015a7(0x381)](_0x287864,_0x4cdc1d);return this[_0x4015a7(0x31b)](_0x5ccd48);}[_0x38ff04(0x381)](_0x4c8d99,_0x2de2d1){const _0x1a7cef=_0x38ff04,_0x4ecbcd=typeof window>'u'?new URL(_0x4c8d99):new URL(_0x4c8d99,window[_0x1a7cef(0x395)][_0x1a7cef(0x2f1)]);_0x4ecbcd[_0x1a7cef(0x338)]['set'](_0x1a7cef(0x1fc),_0x2de2d1);const _0x410455=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1a7cef(0x395)]['search']);return _0x410455[_0x1a7cef(0x37b)](_0x1a7cef(0x1b3))&&_0x4ecbcd[_0x1a7cef(0x338)]['set']('runId',_0x410455[_0x1a7cef(0x37b)](_0x1a7cef(0x1b3))),_0x4ecbcd[_0x1a7cef(0x2c1)]();}async[_0x38ff04(0x190)](){const _0x14ed89=_0x38ff04;var _0xd52b18,_0x36f785,_0x435cc7;const _0x83a484=this['_configService']['getConfig'](_0x449191[_0x14ed89(0x43a)]),_0x50f714=(_0xd52b18=_0x83a484==null?void 0x0:_0x83a484[_0x14ed89(0x1be)])!=null?_0xd52b18:_0x449191['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x435cc7=(_0x36f785=(await this[_0x14ed89(0x1bf)][_0x14ed89(0x37b)](_0x50f714,{'headers':{'Content-Type':_0x14ed89(0x3d7)}}))[_0x14ed89(0x2c5)])==null?void 0x0:_0x36f785[_0x14ed89(0x223)])!=null?_0x435cc7:'';}},_0xaa14ec[_0x38ff04(0x2d1)]=_0x986906([_0x147469(0x0,_0x4d68d6[_0x38ff04(0x2de)](_0x4d68d6[_0x38ff04(0x197)])),_0x147469(0x1,_0x4d68d6[_0x38ff04(0x2de)](_0x4e3f26[_0x38ff04(0x3d3)])),_0x147469(0x2,_0x4d68d6['IConfigService']),_0x147469(0x3,_0x4d68d6[_0x38ff04(0x1d5)]),_0x147469(0x4,_0x444278[_0x38ff04(0x32a)])],_0xaa14ec['BrowserCollaborationSocketService']);var _0x1569f9=Object['getOwnPropertyDescriptor'],_0x5042bc=(_0x4cbb8f,_0x4576fb,_0x36e8ae,_0x4fd4af)=>{const _0x40e8cb=_0x38ff04;for(var _0x8152c6=_0x4fd4af>0x1?void 0x0:_0x4fd4af?_0x1569f9(_0x4576fb,_0x36e8ae):_0x4576fb,_0x468ebb=_0x4cbb8f[_0x40e8cb(0x1c2)]-0x1,_0x421aa8;_0x468ebb>=0x0;_0x468ebb--)(_0x421aa8=_0x4cbb8f[_0x468ebb])&&(_0x8152c6=_0x421aa8(_0x8152c6)||_0x8152c6);return _0x8152c6;},_0x36b923=(_0x2725e8,_0x6d0afa)=>(_0x223c80,_0x53075c)=>_0x6d0afa(_0x223c80,_0x53075c,_0x2725e8);_0xaa14ec[_0x38ff04(0x2d6)]=class extends _0x4d68d6[_0x38ff04(0x337)]{constructor(_0x9ae929,_0x56e55d,_0x36e61b){const _0x43c62a=_0x38ff04;super(),this[_0x43c62a(0x34c)]=_0x9ae929,this['_httpService']=_0x56e55d,this[_0x43c62a(0x30c)]=_0x36e61b;}async[_0x38ff04(0x39b)](_0xd7dea2,_0x250cfb,_0x89960b,..._0x3df065){const _0x497685=_0x38ff04;var _0x3c68f9,_0x48026a,_0x1dc3ed,_0xfdbebf;const _0x3c8fe3=this[_0x497685(0x34c)][_0x497685(0x1d9)]();if(!_0x3c8fe3)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x14c876=((_0x3c68f9=this[_0x497685(0x30c)][_0x497685(0x3ab)](_0x449191[_0x497685(0x3ba)]))!=null?_0x3c68f9:_0x449191[_0x497685(0x193)])+'/'+_0xd7dea2+'/run/'+_0x250cfb,_0x42aaef=new URL(window[_0x497685(0x395)][_0x497685(0x415)]),_0x278ad7={'scriptId':_0xd7dea2,'runId':(_0x48026a=_0x42aaef[_0x497685(0x338)][_0x497685(0x37b)]('runId'))!=null?_0x48026a:'','function':_0x250cfb,'unitId':_0x3c8fe3['getUnitId'](),'argsOfFunction':JSON[_0x497685(0x29c)](_0x3df065),'invokeId':(_0x1dc3ed=_0x89960b[_0x497685(0x2b5)])!=null?_0x1dc3ed:'','executionId':(_0xfdbebf=_0x89960b[_0x497685(0x40c)])!=null?_0xfdbebf:''};try{const _0x20dda3=await this['_httpService'][_0x497685(0x318)](_0x14c876,{'body':_0x278ad7});return _0x20dda3[_0x497685(0x2c5)][_0x497685(0x431)]&&_0x20dda3['body'][_0x497685(0x431)]['code']!==_0x2d9365['OK']?'Failed':_0x20dda3[_0x497685(0x2c5)][_0x497685(0x43e)];}catch{return _0x497685(0x3c5);}}},_0xaa14ec['RemoteUniscriptService']=_0x5042bc([_0x36b923(0x0,_0x4d68d6[_0x38ff04(0x28e)]),_0x36b923(0x1,_0x4d68d6[_0x38ff04(0x2de)](_0x4e3f26[_0x38ff04(0x3d3)])),_0x36b923(0x2,_0x4d68d6[_0x38ff04(0x362)])],_0xaa14ec[_0x38ff04(0x2d6)]);const _0x51daae=0x7530,_0x4179e1=_0x38ff04(0x258);class _0x2b4bfd extends _0x4d68d6[_0x38ff04(0x337)]{constructor(){const _0x4c1b1f=_0x38ff04;super(),_0x3ccfb7(this,_0x4c1b1f(0x323),_0x4d68d6[_0x4c1b1f(0x27f)]()),_0x3ccfb7(this,'_selfUnitIDs',new Set()),_0x3ccfb7(this,_0x4c1b1f(0x36d),new Map()),_0x3ccfb7(this,'_heartbeatTimer',null),_0x3ccfb7(this,_0x4c1b1f(0x260),new Map()),_0x3ccfb7(this,_0x4c1b1f(0x436),new Map()),this['_init']();}[_0x38ff04(0x37e)](){const _0x24086a=_0x38ff04;super['dispose'](),this[_0x24086a(0x260)][_0x24086a(0x419)]((_0x97859,_0x4f884d)=>this[_0x24086a(0x286)](_0x4f884d)),this['_heartbeatTimer']&&window[_0x24086a(0x2be)](this[_0x24086a(0x283)]);}[_0x38ff04(0x3c7)](_0x21a04b){const _0x1b38e0=_0x38ff04;return this[_0x1b38e0(0x34e)](_0x21a04b)[_0x1b38e0(0x41c)](_0x376c8a[_0x1b38e0(0x201)]());}[_0x38ff04(0x25a)](_0x406cf0){const _0x4c12fc=_0x38ff04;this[_0x4c12fc(0x393)]['size']===0x0&&this[_0x4c12fc(0x2bc)](),this['_selfUnitIDs'][_0x4c12fc(0x3f4)](_0x406cf0),this[_0x4c12fc(0x3a7)]({'type':0x0,'memberID':this[_0x4c12fc(0x323)],'unitIDs':[_0x406cf0],'isForwarded':!0x1});}[_0x38ff04(0x215)](_0x22a8b3){const _0x4f3991=_0x38ff04;this[_0x4f3991(0x393)][_0x4f3991(0x1d2)](_0x22a8b3),this[_0x4f3991(0x393)][_0x4f3991(0x287)]===0x0&&this[_0x4f3991(0x283)]&&window[_0x4f3991(0x2be)](this[_0x4f3991(0x283)]);}[_0x38ff04(0x2fb)](){const _0x5ef9eb=_0x38ff04;this[_0x5ef9eb(0x46d)](_0x4d68d6[_0x5ef9eb(0x2cd)](_0x376c8a[_0x5ef9eb(0x305)](window,_0x5ef9eb(0x280))[_0x5ef9eb(0x448)](_0x5884f2=>{const _0x2d3e35=_0x5ef9eb;if(_0x5884f2[_0x2d3e35(0x2b8)]!==_0x4179e1||!_0x5884f2['newValue'])return;const _0x280271=JSON[_0x2d3e35(0x26b)](_0x5884f2[_0x2d3e35(0x2ab)]);this[_0x2d3e35(0x2f7)](_0x280271);}))),window['addEventListener'](_0x5ef9eb(0x33c),()=>this[_0x5ef9eb(0x3a7)]({'type':0x1,'memberID':this[_0x5ef9eb(0x323)],'unitIDs':Array[_0x5ef9eb(0x304)](this[_0x5ef9eb(0x393)])}));}[_0x38ff04(0x2f7)](_0x3a8157){const _0x5a2b0c=_0x38ff04;switch(_0x3a8157[_0x5a2b0c(0x418)]){case 0x0:this[_0x5a2b0c(0x249)](_0x3a8157);break;case 0x1:this[_0x5a2b0c(0x439)](_0x3a8157);break;case 0x2:this[_0x5a2b0c(0x1c8)](_0x3a8157);break;}}[_0x38ff04(0x249)](_0x211dcb){const _0xb571fa=_0x38ff04,{unitIDs:_0x3bc08a,memberID:_0x59d3b5,isForwarded:_0x4cbab9}=_0x211dcb;_0x3bc08a[_0xb571fa(0x419)](_0x2cbfd4=>{const _0x51b027=_0xb571fa;if(!_0x4cbab9&&this['_unitOnClients'][_0x51b027(0x2f9)](_0x2cbfd4)&&this[_0x51b027(0x34e)](_0x2cbfd4)['next'](_0x449191[_0x51b027(0x39f)]['OTHER_CLIENTS_EDITING']),!this[_0x51b027(0x36d)]['has'](_0x2cbfd4)||!this[_0x51b027(0x36d)][_0x51b027(0x37b)](_0x2cbfd4)[_0x51b027(0x2f9)](_0x59d3b5)){const _0x1c276e=this[_0x51b027(0x36d)][_0x51b027(0x37b)](_0x2cbfd4)||new Set();_0x1c276e['add'](_0x59d3b5),this['_unitOnClients'][_0x51b027(0x332)](_0x2cbfd4,_0x1c276e),this[_0x51b027(0x36e)](_0x59d3b5);}}),_0x4cbab9||this[_0xb571fa(0x3a7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xb571fa(0x393)]],'isForwarded':!0x0});}[_0x38ff04(0x36e)](_0x15019c){const _0x258952=_0x38ff04;this[_0x258952(0x286)](_0x15019c);const _0x4e14f9=window[_0x258952(0x2ec)](()=>{const _0x5c8021=_0x258952;this[_0x5c8021(0x36d)][_0x5c8021(0x419)](_0x4f2950=>{const _0x2a7ce1=_0x5c8021;_0x4f2950[_0x2a7ce1(0x1d2)](_0x15019c);});},_0x51daae*0x2);this[_0x258952(0x260)][_0x258952(0x332)](_0x15019c,_0x4e14f9);}[_0x38ff04(0x286)](_0x43653){const _0x52b183=_0x38ff04;if(this[_0x52b183(0x260)][_0x52b183(0x2f9)](_0x43653)){const _0x38b08e=this[_0x52b183(0x260)][_0x52b183(0x37b)](_0x43653);_0x38b08e&&window[_0x52b183(0x3a3)](_0x38b08e),this[_0x52b183(0x260)][_0x52b183(0x332)](_0x43653,null);}}['_handleLeaveEvent'](_0x3272a1){const _0x490e31=_0x38ff04,{memberID:_0x4b69ec,unitIDs:_0x3d7fcd}=_0x3272a1;_0x3d7fcd[_0x490e31(0x419)](_0xa2a389=>{const _0x1540cf=_0x490e31;var _0x52ecb6;const _0x44063a=this['_unitOnClients'][_0x1540cf(0x37b)](_0xa2a389);_0x44063a&&(_0x44063a[_0x1540cf(0x1d2)](_0x4b69ec),(_0x52ecb6=this['_ensureSubject'](_0xa2a389))==null||_0x52ecb6[_0x1540cf(0x254)](_0x44063a[_0x1540cf(0x287)]===0x0?_0x449191[_0x1540cf(0x39f)][_0x1540cf(0x3af)]:_0x449191[_0x1540cf(0x39f)][_0x1540cf(0x2f3)]));}),this[_0x490e31(0x286)](_0x4b69ec);}[_0x38ff04(0x1c8)](_0x10a097){const _0xbfdce1=_0x38ff04;this['_scheduleClearOtherTimer'](_0x10a097[_0xbfdce1(0x1aa)]);}['_send'](_0x4fb406){const _0x5e24c9=_0x38ff04;localStorage[_0x5e24c9(0x1db)](_0x4179e1,JSON[_0x5e24c9(0x29c)](_0x4fb406));}[_0x38ff04(0x2bc)](){const _0x1502c5=_0x38ff04;this[_0x1502c5(0x283)]=window['setInterval'](()=>{const _0x42aeb9=_0x1502c5;this[_0x42aeb9(0x3a7)]({'type':0x2,'memberID':this[_0x42aeb9(0x323)]});},_0x51daae);}['_ensureSubject'](_0x4e126f){const _0x2828b2=_0x38ff04;return this[_0x2828b2(0x436)][_0x2828b2(0x2f9)](_0x4e126f)||this[_0x2828b2(0x436)][_0x2828b2(0x332)](_0x4e126f,new _0x376c8a[(_0x2828b2(0x238))](_0x449191[_0x2828b2(0x39f)][_0x2828b2(0x3af)])),this[_0x2828b2(0x436)][_0x2828b2(0x37b)](_0x4e126f);}}_0xaa14ec[_0x38ff04(0x3da)]=_0x156d7e,_0xaa14ec['SheetCollabCursorShape']=_0x462704,_0xaa14ec[_0x38ff04(0x2d0)]=_0x2b4bfd,_0xaa14ec['WebURLService']=_0x4adc5e,Object['defineProperty'](_0xaa14ec,Symbol['toStringTag'],{'value':_0x38ff04(0x459)});}));