@univerjs-pro/collaboration-client-ui 0.10.14-nightly.202511070628 → 0.10.14-nightly.202511070939

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 (49) 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/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x7c34d4,_0x868877){const _0x53c119=_0x3278,_0x1d7916=_0x7c34d4();while(!![]){try{const _0x33abf8=-parseInt(_0x53c119(0x3c3))/0x1+-parseInt(_0x53c119(0x377))/0x2+-parseInt(_0x53c119(0x19f))/0x3+parseInt(_0x53c119(0x278))/0x4*(parseInt(_0x53c119(0x342))/0x5)+-parseInt(_0x53c119(0x3d7))/0x6*(-parseInt(_0x53c119(0x44c))/0x7)+parseInt(_0x53c119(0x23f))/0x8*(parseInt(_0x53c119(0x34a))/0x9)+parseInt(_0x53c119(0x204))/0xa;if(_0x33abf8===_0x868877)break;else _0x1d7916['push'](_0x1d7916['shift']());}catch(_0x32ed7f){_0x1d7916['push'](_0x1d7916['shift']());}}}(_0x162b,0xe4044),function(_0x5ceac0,_0x461a1f){const _0x274bfc=_0x3278;typeof exports==_0x274bfc(0x2a2)&&typeof module<'u'?_0x461a1f(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[_0x274bfc(0x401)]?define(['exports','react/jsx-runtime',_0x274bfc(0x349),_0x274bfc(0x243),_0x274bfc(0x1ec),_0x274bfc(0x388),_0x274bfc(0x1dc),_0x274bfc(0x301),_0x274bfc(0x37c),_0x274bfc(0x442),_0x274bfc(0x2e1),'@univerjs/network','@univerjs/docs-ui',_0x274bfc(0x38e),_0x274bfc(0x20a),_0x274bfc(0x313),_0x274bfc(0x42c),_0x274bfc(0x46b),_0x274bfc(0x373)],_0x461a1f):(_0x5ceac0=typeof globalThis<'u'?globalThis:_0x5ceac0||self,_0x461a1f(_0x5ceac0[_0x274bfc(0x260)]={},_0x5ceac0['React'],_0x5ceac0[_0x274bfc(0x2ea)],_0x5ceac0['UniverCore'],_0x5ceac0[_0x274bfc(0x1d5)],_0x5ceac0[_0x274bfc(0x388)],_0x5ceac0[_0x274bfc(0x2a0)],_0x5ceac0[_0x274bfc(0x432)],_0x5ceac0[_0x274bfc(0x383)],_0x5ceac0[_0x274bfc(0x2a8)],_0x5ceac0['UniverEngineRender'],_0x5ceac0[_0x274bfc(0x291)],_0x5ceac0[_0x274bfc(0x205)],_0x5ceac0[_0x274bfc(0x239)],_0x5ceac0[_0x274bfc(0x3ae)],_0x5ceac0['UniverDocs'],_0x5ceac0[_0x274bfc(0x215)],_0x5ceac0[_0x274bfc(0x388)]['operators'],_0x5ceac0[_0x274bfc(0x25d)]));}(this,function(_0x4c7ce2,_0x48ce84,_0x5f2bfa,_0x2ef637,_0xbf4494,_0x35d2e5,_0x364f41,_0x5b1343,_0x5ccdcc,_0x4c6aaa,_0x35408c,_0x416c4d,_0x1f0246,_0x5e2e9e,_0xffee1f,_0x431f46,_0x53a2c3,_0x493334,_0xd96da0){'use strict';const _0x2cf95d=_0x3278;var _0x23118c=Object['defineProperty'],_0x5b03e9=(_0xe5942a,_0x4c13d7,_0x841c4c)=>_0x4c13d7 in _0xe5942a?_0x23118c(_0xe5942a,_0x4c13d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x841c4c}):_0xe5942a[_0x4c13d7]=_0x841c4c,_0x536638=(_0x396aeb,_0x27a170,_0x3ace23)=>_0x5b03e9(_0x396aeb,typeof _0x27a170!=_0x2cf95d(0x1d3)?_0x27a170+'':_0x27a170,_0x3ace23);function _0xdf2932({ref:_0x11fc7f,..._0x1af20c}){const _0x26888f=_0x2cf95d,{icon:_0x115bf6,id:_0x53e2fd,className:_0x32a125,extend:_0x1573a1,..._0x43ea3c}=_0x1af20c,_0x65a097=(_0x26888f(0x45c)+_0x53e2fd+'\x20'+(_0x32a125||''))[_0x26888f(0x3e0)](),_0x16cdd8=_0x5b1343[_0x26888f(0x2b5)]('_'+_0xd2d7e3());return _0xc4d859(_0x115bf6,''+_0x53e2fd,{'defIds':_0x115bf6['defIds'],'idSuffix':_0x16cdd8['current']},{'ref':_0x11fc7f,'className':_0x65a097,..._0x43ea3c},_0x1573a1);}function _0xc4d859(_0x4ce3c6,_0x51d49a,_0x5a5b1e,_0x5d1b70,_0x40a921){const _0x32d4bb=_0x2cf95d;return _0x5b1343['createElement'](_0x4ce3c6[_0x32d4bb(0x1c3)],{'key':_0x51d49a,..._0x2fa190(_0x4ce3c6,_0x5a5b1e,_0x40a921),..._0x5d1b70},(_0x7034e7(_0x4ce3c6,_0x5a5b1e)[_0x32d4bb(0x1a2)]||[])['map']((_0x33d58b,_0x134f10)=>_0xc4d859(_0x33d58b,_0x51d49a+'-'+_0x4ce3c6[_0x32d4bb(0x1c3)]+'-'+_0x134f10,_0x5a5b1e,void 0x0,_0x40a921)));}function _0x2fa190(_0x26a8b8,_0x577e48,_0x170f95){const _0x4a168d=_0x2cf95d,_0x94d0e9={..._0x26a8b8['attrs']};_0x170f95!=null&&_0x170f95[_0x4a168d(0x395)]&&_0x94d0e9['fill']===_0x4a168d(0x395)&&(_0x94d0e9[_0x4a168d(0x436)]=_0x170f95[_0x4a168d(0x395)]),_0x26a8b8[_0x4a168d(0x1c3)]===_0x4a168d(0x423)&&_0x94d0e9['id']&&(_0x94d0e9['id']=_0x94d0e9['id']+_0x577e48[_0x4a168d(0x44e)]),Object[_0x4a168d(0x2d0)](_0x94d0e9)[_0x4a168d(0x35c)](([_0x174920,_0x13bfc5])=>{const _0x21d5d8=_0x4a168d;_0x174920===_0x21d5d8(0x423)&&typeof _0x13bfc5==_0x21d5d8(0x20c)&&(_0x94d0e9[_0x174920]=_0x13bfc5[_0x21d5d8(0x1ae)](/url\(#(.*)\)/,_0x21d5d8(0x37f)+_0x577e48[_0x21d5d8(0x44e)]+')'));});const {defIds:_0x18db6a}=_0x577e48;return!_0x18db6a||_0x18db6a['length']===0x0||(_0x26a8b8[_0x4a168d(0x1c3)]===_0x4a168d(0x20d)&&_0x94d0e9[_0x4a168d(0x305)]&&(_0x94d0e9[_0x4a168d(0x305)]=_0x94d0e9[_0x4a168d(0x305)]+_0x577e48[_0x4a168d(0x44e)]),Object[_0x4a168d(0x2d0)](_0x94d0e9)['forEach'](([_0x2fb3e6,_0x2da99d])=>{const _0x2b8faf=_0x4a168d;typeof _0x2da99d==_0x2b8faf(0x20c)&&(_0x94d0e9[_0x2fb3e6]=_0x2da99d['replace'](/url\(#(.*)\)/,_0x2b8faf(0x37f)+_0x577e48['idSuffix']+')'));})),_0x94d0e9;}function _0x7034e7(_0x2d7297,_0x4ba64e){const _0x3ff52e=_0x2cf95d;var _0x384df3;const {defIds:_0x84a853}=_0x4ba64e;return!_0x84a853||_0x84a853[_0x3ff52e(0x3e6)]===0x0?_0x2d7297:_0x2d7297[_0x3ff52e(0x1c3)]===_0x3ff52e(0x312)&&((_0x384df3=_0x2d7297[_0x3ff52e(0x1a2)])!=null&&_0x384df3['length'])?{..._0x2d7297,'children':_0x2d7297[_0x3ff52e(0x1a2)][_0x3ff52e(0x443)](_0x2533fc=>typeof _0x2533fc[_0x3ff52e(0x33b)]['id']=='string'&&_0x84a853&&_0x84a853[_0x3ff52e(0x2cc)](_0x2533fc[_0x3ff52e(0x33b)]['id'])?{..._0x2533fc,'attrs':{..._0x2533fc[_0x3ff52e(0x33b)],'id':_0x2533fc[_0x3ff52e(0x33b)]['id']+_0x4ba64e[_0x3ff52e(0x44e)]}}:_0x2533fc)}:_0x2d7297;}function _0xd2d7e3(){const _0xd145b9=_0x2cf95d;return Math[_0xd145b9(0x1d2)]()[_0xd145b9(0x2d9)](0x24)[_0xd145b9(0x379)](0x2,0x8);}_0xdf2932[_0x2cf95d(0x3c1)]='UniverIcon';const _0x4c83ba={'tag':'svg','attrs':{'xmlns':_0x2cf95d(0x3cd),'fill':_0x2cf95d(0x3af),'viewBox':_0x2cf95d(0x29f),'width':'1em','height':_0x2cf95d(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x2cf95d(0x1c2)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'stroke':_0x2cf95d(0x331),'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':_0x2cf95d(0x3fc),'strokeLinejoin':_0x2cf95d(0x3fc),'strokeWidth':1.2}}]},{'tag':_0x2cf95d(0x312),'attrs':{},'children':[{'tag':_0x2cf95d(0x251),'attrs':{'id':_0x2cf95d(0x3fb)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'fill':_0x2cf95d(0x36b),'d':_0x2cf95d(0x1c0)}}]}]}],'defIds':[_0x2cf95d(0x3fb)]},_0x415384=_0x5b1343['forwardRef'](function(_0x14c5ba,_0x5d9b8a){const _0x211b83=_0x2cf95d;return _0x5b1343[_0x211b83(0x30e)](_0xdf2932,Object[_0x211b83(0x225)]({},_0x14c5ba,{'id':'off-line-icon','ref':_0x5d9b8a,'icon':_0x4c83ba}));});_0x415384[_0x2cf95d(0x3c1)]=_0x2cf95d(0x2f7);const _0xf6125c={'tag':_0x2cf95d(0x19c),'attrs':{'xmlns':_0x2cf95d(0x3cd),'fill':'none','viewBox':_0x2cf95d(0x23e),'width':_0x2cf95d(0x314),'height':_0x2cf95d(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x2cf95d(0x2bc)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'stroke':_0x2cf95d(0x331),'d':_0x2cf95d(0x330),'strokeLinecap':_0x2cf95d(0x3fc),'strokeLinejoin':_0x2cf95d(0x3fc),'strokeWidth':1.2}}]},{'tag':_0x2cf95d(0x312),'attrs':{},'children':[{'tag':_0x2cf95d(0x251),'attrs':{'id':_0x2cf95d(0x1c1)},'children':[{'tag':'path','attrs':{'fill':_0x2cf95d(0x36b),'d':'M0\x200H16V16H0z','transform':_0x2cf95d(0x446)}}]}]}],'defIds':[_0x2cf95d(0x1c1)]},_0x1f629e=_0x5b1343[_0x2cf95d(0x382)](function(_0x463b96,_0x149e4e){const _0x32b58a=_0x2cf95d;return _0x5b1343[_0x32b58a(0x30e)](_0xdf2932,Object['assign']({},_0x463b96,{'id':'on-line-icon','ref':_0x149e4e,'icon':_0xf6125c}));});_0x1f629e[_0x2cf95d(0x3c1)]=_0x2cf95d(0x256);function _0x2a9534(_0x23dbd4){const _0x3aedf=_0x2cf95d;switch(_0x23dbd4){case _0x5f2bfa['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x3c2)]:return _0x3aedf(0x262);case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x3d2)]:return _0x3aedf(0x36e);case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x2fe)]:return _0x3aedf(0x232);case _0x5f2bfa['CollaborationStatus'][_0x3aedf(0x355)]:case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x1b4)]:return _0x3aedf(0x364);case _0x5f2bfa[_0x3aedf(0x469)]['SYNCED']:case _0x5f2bfa['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function _0x596c97(_0x47b13c){const _0x5100ed=_0x2cf95d,{status$:_0x12287f}=_0x47b13c,_0x51fdc4=_0xbf4494['useObservable'](_0x12287f,_0x5f2bfa[_0x5100ed(0x469)][_0x5100ed(0x2fe)]),_0x2e0fe6=_0xbf4494[_0x5100ed(0x3fd)](_0x2ef637['LocaleService']),_0x19dbe3=_0xbf4494[_0x5100ed(0x3fd)](_0x5f2bfa[_0x5100ed(0x240)]),_0x454844=_0x51fdc4!==_0x5f2bfa[_0x5100ed(0x469)][_0x5100ed(0x245)],_0x29d73b=_0x2e0fe6['t'](_0x2a9534(_0x51fdc4)),_0x4a8804=_0x454844?_0x48ce84[_0x5100ed(0x25c)](_0x1f629e,{}):_0x48ce84['jsx'](_0x415384,{}),_0x3f6c11=_0x5b1343[_0x5100ed(0x2b4)](()=>{const _0x2b76d9=_0x5100ed;_0x454844||_0x19dbe3[_0x2b76d9(0x1ea)]();},[_0x454844,_0x19dbe3]);function _0x48fdd0(){const _0x4c1ff5=_0x5100ed;return _0x48ce84['jsxs']('div',{'className':_0x4c1ff5(0x3d0),'onClick':_0x3f6c11,'children':[_0x48ce84[_0x4c1ff5(0x25c)]('div',{'className':_0x364f41[_0x4c1ff5(0x227)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x454844,'univer-text-red-500':!_0x454844}),'children':_0x4a8804}),_0x48ce84['jsx']('div',{'className':_0x4c1ff5(0x34e),'children':_0x29d73b})]});}return _0x454844?_0x48fdd0():_0x48ce84[_0x5100ed(0x25c)](_0x364f41[_0x5100ed(0x3d4)],{'title':_0x2e0fe6['t'](_0x5100ed(0x2e8)),'children':_0x48fdd0()});}var _0xde10fa=Object[_0x2cf95d(0x457)],_0x5cab94=(_0x5d83a3,_0x221e50,_0x586fd9,_0x2f8e50)=>{for(var _0x4a2dce=_0x2f8e50>0x1?void 0x0:_0x2f8e50?_0xde10fa(_0x221e50,_0x586fd9):_0x221e50,_0x560adc=_0x5d83a3['length']-0x1,_0x1ef6d2;_0x560adc>=0x0;_0x560adc--)(_0x1ef6d2=_0x5d83a3[_0x560adc])&&(_0x4a2dce=_0x1ef6d2(_0x4a2dce)||_0x4a2dce);return _0x4a2dce;},_0x3505d2=(_0x236e8c,_0x280c7b)=>(_0x165923,_0x5610a7)=>_0x280c7b(_0x165923,_0x5610a7,_0x236e8c);_0x4c7ce2[_0x2cf95d(0x418)]=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x5b636a,_0x4f4061,_0x4750c8,_0x5e6494){const _0x467d52=_0x2cf95d;super(),_0x536638(this,_0x467d52(0x203),new _0x35d2e5['BehaviorSubject'](_0x5f2bfa[_0x467d52(0x469)][_0x467d52(0x2fe)])),(this['_univerInstanceService']=_0x5b636a,this[_0x467d52(0x30c)]=_0x4f4061,this[_0x467d52(0x2a7)]=_0x4750c8,this[_0x467d52(0x285)]=_0x5e6494,this[_0x467d52(0x24d)](),this[_0x467d52(0x428)]());}[_0x2cf95d(0x428)](){const _0x55e0d2=_0x2cf95d;this['disposeWithMe'](this[_0x55e0d2(0x3f0)][_0x55e0d2(0x417)][_0x55e0d2(0x40f)](_0x35d2e5['switchMap'](()=>{const _0x1fcf50=_0x55e0d2,_0x36dca7=this[_0x1fcf50(0x3f0)][_0x1fcf50(0x235)]();return _0x36dca7?this['_collaborationController']['getCollabEntity$'](_0x36dca7[_0x1fcf50(0x35a)]()):_0x35d2e5['of'](null);}),_0x35d2e5[_0x55e0d2(0x441)](_0x46f38f=>_0x46f38f?_0x46f38f[_0x55e0d2(0x45f)]:_0x35d2e5['of'](_0x5f2bfa['CollaborationStatus'][_0x55e0d2(0x2fe)])))[_0x55e0d2(0x335)](_0xb967b=>{const _0x55ebda=_0x55e0d2;this[_0x55ebda(0x203)]['next'](_0xb967b);}));}[_0x2cf95d(0x24d)](){const _0x32cb4f=_0x2cf95d;this[_0x32cb4f(0x2c3)](this[_0x32cb4f(0x285)][_0x32cb4f(0x39b)](_0xbf4494[_0x32cb4f(0x2c2)][_0x32cb4f(0x3d1)],()=>_0xbf4494['connectInjector'](_0xe4f366({'status$':this[_0x32cb4f(0x203)][_0x32cb4f(0x339)]()}),this[_0x32cb4f(0x30c)])));}},_0x4c7ce2['DesktopCollaborationStatusDisplayController']=_0x5cab94([_0x3505d2(0x0,_0x2ef637['IUniverInstanceService']),_0x3505d2(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x3505d2(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x37b)])),_0x3505d2(0x3,_0xbf4494[_0x2cf95d(0x3e4)])],_0x4c7ce2[_0x2cf95d(0x418)]);function _0xe4f366(_0x45348e){const {status$:_0x583f76}=_0x45348e;return function(){return _0x48ce84['jsx'](_0x596c97,{'status$':_0x583f76});};}const _0x5026ec=_0x2ef637['createIdentifier'](_0x2cf95d(0x3b6));var _0x461521=Object[_0x2cf95d(0x457)],_0x4098c0=(_0x54f6d8,_0x3d2c5a,_0x20f508,_0x40222f)=>{for(var _0x3fd3ca=_0x40222f>0x1?void 0x0:_0x40222f?_0x461521(_0x3d2c5a,_0x20f508):_0x3d2c5a,_0x185fed=_0x54f6d8['length']-0x1,_0xfe97b0;_0x185fed>=0x0;_0x185fed--)(_0xfe97b0=_0x54f6d8[_0x185fed])&&(_0x3fd3ca=_0xfe97b0(_0x3fd3ca)||_0x3fd3ca);return _0x3fd3ca;},_0x51d0ae=(_0xc626ad,_0x59352a)=>(_0x5376ce,_0xb5b9e2)=>_0x59352a(_0x5376ce,_0xb5b9e2,_0xc626ad);_0x4c7ce2['CollaborationDataLoaderController']=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x47bf6d,_0x35beda,_0x3edf45,_0x113bcc,_0x1c6475){const _0x34fc9c=_0x2cf95d;super(),this[_0x34fc9c(0x28a)]=_0x47bf6d,this['_logService']=_0x35beda,this[_0x34fc9c(0x3a0)]=_0x3edf45,this[_0x34fc9c(0x36c)]=_0x113bcc,_0x1c6475?_0x1c6475==null||_0x1c6475[_0x34fc9c(0x1f6)]()[_0x34fc9c(0x1c7)](()=>this['_init']()):(this[_0x34fc9c(0x43a)][_0x34fc9c(0x328)](_0x34fc9c(0x427),_0x34fc9c(0x1f2)),this[_0x34fc9c(0x303)]());}async['_init'](){const _0x4801eb=_0x2cf95d,_0x32523a=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)]('unit'),_0x570bd4=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)](_0x4801eb(0x35b)),_0x5e3cc9=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)](_0x4801eb(0x459));if(!_0x32523a||!_0x570bd4){this[_0x4801eb(0x43a)][_0x4801eb(0x328)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x42d5b1=await this[_0x4801eb(0x36c)][_0x4801eb(0x362)](_0x32523a,Number(_0x570bd4),_0x5e3cc9);_0x42d5b1&&_0x42d5b1 instanceof _0x2ef637['Workbook']&&this['_setupSubUnitSync'](_0x42d5b1);}async[_0x2cf95d(0x2cb)](_0x56e3d3){const _0x2f4918=_0x2cf95d;await this[_0x2f4918(0x1ac)](_0x56e3d3),_0x56e3d3[_0x2f4918(0x1c9)][_0x2f4918(0x40f)](_0x35d2e5[_0x2f4918(0x2a5)](this[_0x2f4918(0x1e2)]))[_0x2f4918(0x335)](_0x325109=>{const _0x1f86a2=_0x2f4918;_0x325109&&this[_0x1f86a2(0x3ba)](_0x325109);}),this[_0x2f4918(0x28a)][_0x2f4918(0x284)]['pipe'](_0x35d2e5['takeUntil'](this[_0x2f4918(0x1e2)]))[_0x2f4918(0x335)](()=>this['_updateSubUnitFromURLParams'](_0x56e3d3));}['_updateURLWithCurrentState'](_0x18f15e,_0x7ef564=!0x1){const _0x1c9f69=_0x2cf95d,_0x16cdd4=this[_0x1c9f69(0x28a)][_0x1c9f69(0x1fb)](_0x1c9f69(0x459));_0x18f15e[_0x1c9f69(0x1ba)]()!==_0x16cdd4&&this['_urlService'][_0x1c9f69(0x3b8)](_0x1c9f69(0x459),_0x18f15e[_0x1c9f69(0x1ba)](),_0x7ef564);}async[_0x2cf95d(0x1ac)](_0x2fe989){const _0x180fa7=_0x2cf95d;var _0x406a0f;const _0x1c3811=this[_0x180fa7(0x28a)]['getParam'](_0x180fa7(0x459));if(!_0x1c3811||!_0x2fe989[_0x180fa7(0x3ac)](_0x1c3811)){const _0x3404c8=_0x2fe989[_0x180fa7(0x3f1)]()[0x0],_0x2646f4=_0x2fe989[_0x180fa7(0x3ac)](_0x3404c8);if(!_0x2646f4)return;this[_0x180fa7(0x3ba)](_0x2646f4,!0x0),await this[_0x180fa7(0x3a0)][_0x180fa7(0x311)](_0x4c6aaa[_0x180fa7(0x390)]['id'],{'unitId':_0x2fe989['getUnitId'](),'subUnitId':_0x3404c8});return;}((_0x406a0f=_0x2fe989['getActiveSheet']())==null?void 0x0:_0x406a0f[_0x180fa7(0x1ba)]())!==_0x1c3811&&await this[_0x180fa7(0x3a0)][_0x180fa7(0x311)](_0x4c6aaa[_0x180fa7(0x390)]['id'],{'unitId':_0x2fe989[_0x180fa7(0x35a)](),'subUnitId':_0x1c3811});}},_0x4c7ce2[_0x2cf95d(0x25b)]=_0x4098c0([_0x51d0ae(0x0,_0x5026ec),_0x51d0ae(0x1,_0x2ef637[_0x2cf95d(0x387)]),_0x51d0ae(0x2,_0x2ef637[_0x2cf95d(0x412)]),_0x51d0ae(0x3,_0x2ef637['Inject'](_0x5f2bfa[_0x2cf95d(0x20f)])),_0x51d0ae(0x4,_0x2ef637['Optional'](_0x5ccdcc['IRemoteInstanceService']))],_0x4c7ce2[_0x2cf95d(0x25b)]);var _0x57010f=Object[_0x2cf95d(0x457)],_0x3bb095=(_0x42e1f3,_0x30480f,_0x5b8e3d,_0x5c9cd8)=>{const _0x6edd89=_0x2cf95d;for(var _0x5c9c97=_0x5c9cd8>0x1?void 0x0:_0x5c9cd8?_0x57010f(_0x30480f,_0x5b8e3d):_0x30480f,_0x767b4=_0x42e1f3[_0x6edd89(0x3e6)]-0x1,_0x4d9312;_0x767b4>=0x0;_0x767b4--)(_0x4d9312=_0x42e1f3[_0x767b4])&&(_0x5c9c97=_0x4d9312(_0x5c9c97)||_0x5c9c97);return _0x5c9c97;},_0x413bd1=(_0x3703d2,_0x32d95b)=>(_0x311f58,_0x334228)=>_0x32d95b(_0x311f58,_0x334228,_0x3703d2);let _0x28ec89=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x6749eb,_0x1ef43b){const _0x5c40f0=_0x2cf95d;super(),this[_0x5c40f0(0x3a2)]=_0x6749eb,this[_0x5c40f0(0x1b7)]=_0x1ef43b,this[_0x5c40f0(0x303)]();}['_init'](){const _0x4b8060=_0x2cf95d,_0x5ec582=this;this[_0x4b8060(0x2c3)](this[_0x4b8060(0x3a2)]['addClipboardHook']({'onBeforePasteImage':async _0x355657=>{const _0x2a3f83=_0x4b8060,_0x3d528d=await _0x5ec582[_0x2a3f83(0x1b7)]['saveImage'](_0x355657);return _0x3d528d?{'source':_0x3d528d[_0x2a3f83(0x38c)],'imageSourceType':_0x3d528d[_0x2a3f83(0x238)]}:null;}}));}};_0x28ec89=_0x3bb095([_0x413bd1(0x0,_0x1f0246[_0x2cf95d(0x41b)]),_0x413bd1(0x1,_0x5e2e9e['IImageIoService'])],_0x28ec89);const _0x5a01da=['purple.300',_0x2cf95d(0x1dd),_0x2cf95d(0x407),'red.300',_0x2cf95d(0x325),_0x2cf95d(0x429)];class _0x371edb extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(){const _0x12f38f=_0x2cf95d;super(...arguments),_0x536638(this,'_assignedColors',new Map()),_0x536638(this,_0x12f38f(0x2b0),0x0);}[_0x2cf95d(0x3c0)](_0x525d85){const _0x2906bf=_0x2cf95d;if(this[_0x2906bf(0x2b3)]['has'](_0x525d85))return this[_0x2906bf(0x2b3)][_0x2906bf(0x3c7)](_0x525d85);const _0x54a8ae=_0x5a01da[this['_colorIndex']];return this[_0x2906bf(0x2b0)]=(this[_0x2906bf(0x2b0)]+0x1)%_0x5a01da['length'],this[_0x2906bf(0x2b3)][_0x2906bf(0x2f5)](_0x525d85,_0x54a8ae),_0x54a8ae;}}function _0xf9d6f6(_0x58bd29){const _0x5aa85e=_0x2cf95d;let _0x297ca5='';for(const _0x617e1b of _0x58bd29){const {startOffset:_0x3d2519,endOffset:_0x3012b0,isActive:_0x4b265f,rangeType:_0xe313f6,segmentId:_0x3179be,segmentPage:_0x5536d9}=_0x617e1b;_0x297ca5[_0x5aa85e(0x3e6)]&&(_0x297ca5+=','),_0x297ca5+=_0x3d2519+':'+_0x3012b0+':'+(_0x4b265f?'1':'0')+':'+_0xe313f6+':'+_0x3179be+':'+_0x5536d9;}return _0x297ca5;}function _0x5b73b2(_0x16b06a){const _0x4ffb8b=_0x2cf95d,_0x1bf3a0=_0x16b06a[_0x4ffb8b(0x3dd)](','),_0x25a408=[];for(const _0x361d6f of _0x1bf3a0){const [_0x4b16d1,_0x4efa17,_0xd7af28,_0x10477e,_0x272e53,_0x338555]=_0x361d6f[_0x4ffb8b(0x3dd)](':');_0x25a408['push']({'startOffset':Number(_0x4b16d1),'endOffset':Number(_0x4efa17),'collapsed':_0x4b16d1===_0x4efa17,'isActive':_0xd7af28==='1','rangeType':_0x10477e===_0x2ef637['DOC_RANGE_TYPE'][_0x4ffb8b(0x2f4)]?_0x2ef637[_0x4ffb8b(0x3de)][_0x4ffb8b(0x2f4)]:_0x2ef637[_0x4ffb8b(0x3de)]['RECT'],'segmentId':typeof _0x272e53==_0x4ffb8b(0x20c)?String(_0x272e53):'','segmentPage':Number(_0x338555!=null?_0x338555:-0x1)});}return _0x25a408[_0x4ffb8b(0x343)](_0x16a311=>_0x16a311[_0x4ffb8b(0x444)])||(_0x25a408[0x0][_0x4ffb8b(0x444)]=!0x0),_0x25a408;}class _0x5419b8 extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(){const _0x4fb53f=_0x2cf95d;super(...arguments),_0x536638(this,_0x4fb53f(0x2ab),new _0x35d2e5[(_0x4fb53f(0x27d))](null)),_0x536638(this,'collabCursorState$',this[_0x4fb53f(0x2ab)][_0x4fb53f(0x339)]());}['syncEditingCollabCursor'](_0x2679d5){const _0x408c51=_0x2cf95d,{unitID:_0x583fb9,memberID:_0x361d50,textRanges:_0xd69683}=_0x2679d5,_0x337579=_0xf9d6f6(_0xd69683);if(_0x337579==='')return;const _0x2cf5ad={'unitID':_0x583fb9,'memberID':_0x361d50,'selection':_0x337579};this[_0x408c51(0x2ab)][_0x408c51(0x248)](_0x2cf5ad);}}var _0x406468=Object[_0x2cf95d(0x457)],_0x2b28ca=(_0x1e1505,_0x1843bd,_0x47e031,_0x1e0a27)=>{const _0x2c1b44=_0x2cf95d;for(var _0x2ee155=_0x1e0a27>0x1?void 0x0:_0x1e0a27?_0x406468(_0x1843bd,_0x47e031):_0x1843bd,_0x216cc3=_0x1e1505[_0x2c1b44(0x3e6)]-0x1,_0x4e9fdb;_0x216cc3>=0x0;_0x216cc3--)(_0x4e9fdb=_0x1e1505[_0x216cc3])&&(_0x2ee155=_0x4e9fdb(_0x2ee155)||_0x2ee155);return _0x2ee155;},_0x5aaf17=(_0x5cd506,_0x11c85d)=>(_0x9d871f,_0x110d94)=>_0x11c85d(_0x9d871f,_0x110d94,_0x5cd506);const _0x19b645=0x12c,_0x49239b=0x64;let _0x6a47bb=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x5a1dfb,_0x283360,_0x2fc938,_0x1dabfc,_0x47d457,_0x42000a,_0x3f1dfc,_0x542bb5,_0xf5da7c){const _0x92cacb=_0x2cf95d;super(),_0x536638(this,_0x92cacb(0x336),!0x1),_0x536638(this,_0x92cacb(0x303),!0x1),_0x536638(this,_0x92cacb(0x27b),new _0x35d2e5[(_0x92cacb(0x27d))](new Map())),_0x536638(this,_0x92cacb(0x3e1),this['_cursorInfo$'][_0x92cacb(0x339)]()),_0x536638(this,_0x92cacb(0x26b),new _0x35d2e5[(_0x92cacb(0x27d))]([])),_0x536638(this,_0x92cacb(0x288),this[_0x92cacb(0x26b)][_0x92cacb(0x40f)](_0x35d2e5[_0x92cacb(0x320)](_0x19b645))),_0x536638(this,_0x92cacb(0x35f),_0x2ef637[_0x92cacb(0x3ce)](_0x4a01fa=>{const _0x24fae7=_0x92cacb,_0x233dae={'eventID':_0xffee1f[_0x24fae7(0x2b8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x24fae7(0x406)],'memberID':this[_0x24fae7(0x3a5)]['getMemberID'](),'selection':_0xf9d6f6(_0x4a01fa)}};this['_session'][_0x24fae7(0x3eb)](_0x233dae,this['unitID']);},_0x49239b)),(this['unitID']=_0x5a1dfb,this['_session']=_0x283360,this[_0x92cacb(0x30c)]=_0x2fc938,this[_0x92cacb(0x212)]=_0x1dabfc,this[_0x92cacb(0x392)]=_0x47d457,this[_0x92cacb(0x27a)]=_0x42000a,this[_0x92cacb(0x1a9)]=_0x3f1dfc,this['_univerInstanceService']=_0x542bb5,this[_0x92cacb(0x3a0)]=_0xf5da7c);}get['cursorInfo'](){const _0x4f5e0a=_0x2cf95d;return this[_0x4f5e0a(0x27b)][_0x4f5e0a(0x1f9)]();}get[_0x2cf95d(0x329)](){const _0x177e63=_0x2cf95d;return this[_0x177e63(0x26b)][_0x177e63(0x1f9)]();}[_0x2cf95d(0x359)](){const _0x2f6ca5=_0x2cf95d;super[_0x2f6ca5(0x359)](),this[_0x2f6ca5(0x27b)]['next'](new Map()),this['_cursorInfo$'][_0x2f6ca5(0x228)](),this[_0x2f6ca5(0x26b)][_0x2f6ca5(0x248)]([]),this[_0x2f6ca5(0x26b)][_0x2f6ca5(0x228)]();}[_0x2cf95d(0x3ff)](){const _0x2fe440=_0x2cf95d;this[_0x2fe440(0x303)]||(this[_0x2fe440(0x303)]=!0x0,this[_0x2fe440(0x3a5)][_0x2fe440(0x411)][_0x2fe440(0x40f)](_0x35d2e5[_0x2fe440(0x2a5)](this['dispose$']))[_0x2fe440(0x335)](_0x8d4449=>{const _0x1e6314=_0x2fe440;_0x8d4449===_0x5f2bfa[_0x1e6314(0x2e3)][_0x1e6314(0x1b3)]?this[_0x1e6314(0x3d9)]():this[_0x1e6314(0x1e6)]();}),this[_0x2fe440(0x3a5)]['event$'][_0x2fe440(0x40f)](_0x35d2e5['takeUntil'](this[_0x2fe440(0x1e2)]))['subscribe'](_0x53869=>{const _0x45cb20=_0x2fe440,_0x5be444=_0x53869[_0x45cb20(0x46a)];_0x5be444===_0xffee1f['CollaborationEvent'][_0x45cb20(0x323)]&&this['_onCursorUpdate'](_0x53869),_0x5be444===_0xffee1f[_0x45cb20(0x2b8)][_0x45cb20(0x292)]&&this[_0x45cb20(0x42a)](_0x53869);}),this[_0x2fe440(0x2c3)](this['_commandService'][_0x2fe440(0x289)](_0x43298f=>{const _0x45a392=_0x2fe440,_0x3057b5=_0x43298f[_0x45a392(0x23b)];_0x3057b5!=null&&this[_0x45a392(0x336)]&&_0x43298f['id']===_0x431f46[_0x45a392(0x3c4)]['id']&&_0x3057b5[_0x45a392(0x1b6)]===this[_0x45a392(0x406)]&&_0x3057b5[_0x45a392(0x1bb)]===!0x1&&_0x3057b5[_0x45a392(0x451)][_0x45a392(0x3e6)]>0x0&&this[_0x45a392(0x35f)](_0x3057b5[_0x45a392(0x451)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x2fe440(0x40f)](_0x35d2e5[_0x2fe440(0x2a5)](this[_0x2fe440(0x1e2)]))[_0x2fe440(0x335)](_0x5e14f1=>{const _0x34dc6d=_0x2fe440;if((_0x5e14f1==null?void 0x0:_0x5e14f1[_0x34dc6d(0x406)])!==this[_0x34dc6d(0x406)])return;const _0x19478c={'eventID':_0xffee1f[_0x34dc6d(0x2b8)]['UPDATE_CURSOR'],'data':_0x5e14f1};this['_onCursorUpdate'](_0x19478c);}),this[_0x2fe440(0x2c3)](this[_0x2fe440(0x3a0)]['onCommandExecuted'](_0x2db04f=>{const _0x10be49=_0x2fe440;if(_0x2db04f[_0x10be49(0x23b)]==null)return;const _0x4cf1a1=_0x2db04f[_0x10be49(0x23b)];if(_0x2db04f['id']!==_0x431f46[_0x10be49(0x2e0)]['id']||_0x4cf1a1[_0x10be49(0x1b6)]!==this['unitID'])return;const _0x222314={'id':_0x10be49(0x426),'params':_0x4cf1a1},_0x46727b=this[_0x10be49(0x297)];for(const [_0x32b675,_0xe9830f]of _0x46727b){const _0x3dd204={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x10be49(0x406)],'actions':null,'textRanges':_0xe9830f[_0x10be49(0x451)]}},_0x4f1475=this[_0x10be49(0x1a9)]['transformMutation'](_0x222314,_0x3dd204,!0x1);if(_0xffee1f[_0x10be49(0x1a0)](_0x4f1475))throw _0x4f1475['error'];_0x46727b['set'](_0x32b675,{..._0xe9830f,'ranges':_0x4f1475[_0x10be49(0x465)][_0x10be49(0x23b)]['textRanges']});}queueMicrotask(()=>{const _0x476f2d=_0x10be49;this[_0x476f2d(0x27b)][_0x476f2d(0x248)](_0x46727b);});})));}[_0x2cf95d(0x2ef)](_0x4b330c){const _0x3173c2=_0x2cf95d;var _0x5ea4ba,_0x23ae5d;const {memberID:_0x93f9fb,selection:_0x150055}=_0x4b330c[_0x3173c2(0x2bf)],_0x2332c2=_0x5b73b2(_0x150055),_0x47a3c8=(_0x23ae5d=(_0x5ea4ba=this[_0x3173c2(0x392)]['getMember'](this['unitID'],_0x93f9fb))==null?void 0x0:_0x5ea4ba['name'])!=null?_0x23ae5d:_0x3173c2(0x3b7),_0x144185={'color':this[_0x3173c2(0x212)][_0x3173c2(0x3c0)](_0x93f9fb),'name':_0x47a3c8,'ranges':_0x2332c2},_0x3f4d1c=this[_0x3173c2(0x297)];_0x3f4d1c[_0x3173c2(0x2f5)](_0x93f9fb,_0x144185),this['_cursorInfo$'][_0x3173c2(0x248)](_0x3f4d1c);}['_onCursorDelete'](_0x154a6b){const _0x26cee6=_0x2cf95d,{memberID:_0x128c62}=_0x154a6b['data'],_0x395ed5=this[_0x26cee6(0x297)];_0x395ed5['delete'](_0x128c62),this['_cursorInfo$'][_0x26cee6(0x248)](_0x395ed5);}[_0x2cf95d(0x3d9)](){const _0x918cca=_0x2cf95d;var _0xa5b527;if(this['_online']=!0x0,((_0xa5b527=this[_0x918cca(0x3f0)][_0x918cca(0x235)]())==null?void 0x0:_0xa5b527['getUnitId']())!==this['unitID'])return;const _0x5f42ea=this[_0x918cca(0x30c)]['get'](_0x431f46[_0x918cca(0x43c)])['getDocRanges']();Array['isArray'](_0x5f42ea)&&_0x5f42ea['length']>0x0&&this[_0x918cca(0x35f)](_0x5f42ea);}[_0x2cf95d(0x1e6)](){const _0x1f4e89=_0x2cf95d;this[_0x1f4e89(0x336)]=!0x1;}};_0x6a47bb=_0x2b28ca([_0x5aaf17(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x5aaf17(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x371edb)),_0x5aaf17(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x39d)])),_0x5aaf17(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x5419b8)),_0x5aaf17(0x6,_0xffee1f['ITransformService']),_0x5aaf17(0x7,_0x2ef637[_0x2cf95d(0x25f)]),_0x5aaf17(0x8,_0x2ef637[_0x2cf95d(0x412)])],_0x6a47bb);var _0x4a25be=Object['getOwnPropertyDescriptor'],_0x45bc07=(_0x46c463,_0x25efb3,_0x2d5b4e,_0x14dcd)=>{for(var _0x3f0c80=_0x14dcd>0x1?void 0x0:_0x14dcd?_0x4a25be(_0x25efb3,_0x2d5b4e):_0x25efb3,_0x112e19=_0x46c463['length']-0x1,_0x4f6ca9;_0x112e19>=0x0;_0x112e19--)(_0x4f6ca9=_0x46c463[_0x112e19])&&(_0x3f0c80=_0x4f6ca9(_0x3f0c80)||_0x3f0c80);return _0x3f0c80;},_0x3aa26c=(_0x5a8963,_0x186682)=>(_0x2105d1,_0x33f981)=>_0x186682(_0x2105d1,_0x33f981,_0x5a8963);const _0xf0137a=0x12c,_0x34a7ab=0x64,_0x25425f=()=>{let _0x55ba62=[],_0xcacbce=!0x1;return _0x338fee=>{const _0x495172=_0x3278;_0x55ba62[_0x495172(0x316)](_0x338fee),_0xcacbce||(_0xcacbce=!0x0,setTimeout(()=>{const _0x4e9c15=_0x495172;_0x55ba62[_0x4e9c15(0x35c)](_0x15bb4f=>_0x15bb4f()),_0x55ba62=[],_0xcacbce=!0x1;}));};};let _0x4b0008=class extends _0x2ef637['RxDisposable']{constructor(_0x39df5a,_0x58c214,_0x6cc569,_0x45d009,_0x2333c3,_0x299e70,_0x5cc914,_0x2c4872){const _0x2813aa=_0x2cf95d;super(),_0x536638(this,_0x2813aa(0x336),!0x1),_0x536638(this,'_init',!0x1),_0x536638(this,_0x2813aa(0x27b),new _0x35d2e5[(_0x2813aa(0x27d))](new Map())),_0x536638(this,'cursorInfo$',this[_0x2813aa(0x27b)]['asObservable']()),_0x536638(this,_0x2813aa(0x26b),new _0x35d2e5[(_0x2813aa(0x27d))]([])),_0x536638(this,_0x2813aa(0x288),this[_0x2813aa(0x26b)]['pipe'](_0x35d2e5[_0x2813aa(0x320)](_0xf0137a))),_0x536638(this,_0x2813aa(0x35f),_0x2ef637['debounce']((_0x400b5c,_0x294714)=>{const _0x4a2dff=_0x2813aa,_0x35d237={'eventID':_0xffee1f[_0x4a2dff(0x2b8)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4a2dff(0x3a5)][_0x4a2dff(0x2d1)](),'selection':_0x53a2c3[_0x4a2dff(0x3b2)](_0x400b5c,_0x294714['range'])}};this[_0x4a2dff(0x3a5)][_0x4a2dff(0x3eb)](_0x35d237,this['unitID']);},_0x34a7ab)),(this[_0x2813aa(0x406)]=_0x39df5a,this[_0x2813aa(0x3a5)]=_0x58c214,this[_0x2813aa(0x30c)]=_0x6cc569,this[_0x2813aa(0x212)]=_0x45d009,this['_memberService']=_0x2333c3,this[_0x2813aa(0x3f0)]=_0x299e70,this[_0x2813aa(0x3a0)]=_0x5cc914,this[_0x2813aa(0x39c)]=_0x2c4872);}get[_0x2cf95d(0x297)](){const _0x24b241=_0x2cf95d;return this[_0x24b241(0x27b)][_0x24b241(0x1f9)]();}get[_0x2cf95d(0x329)](){const _0x1dabfa=_0x2cf95d;return this[_0x1dabfa(0x26b)]['getValue']();}[_0x2cf95d(0x359)](){const _0xaa3d92=_0x2cf95d;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0xaa3d92(0x228)](),this['_roomMembers$'][_0xaa3d92(0x248)]([]),this[_0xaa3d92(0x26b)]['complete']();}[_0x2cf95d(0x3ff)](){const _0x3fa297=_0x2cf95d;this['_init']||(this[_0x3fa297(0x303)]=!0x0,this['_session'][_0x3fa297(0x411)][_0x3fa297(0x40f)](_0x35d2e5[_0x3fa297(0x2a5)](this[_0x3fa297(0x1e2)]))[_0x3fa297(0x335)](_0xbf51eb=>{const _0x383d32=_0x3fa297;_0xbf51eb===_0x5f2bfa[_0x383d32(0x2e3)][_0x383d32(0x1b3)]?this[_0x383d32(0x3d9)]():this[_0x383d32(0x1e6)]();}),this[_0x3fa297(0x3a5)][_0x3fa297(0x38f)][_0x3fa297(0x40f)](_0x35d2e5[_0x3fa297(0x2a5)](this[_0x3fa297(0x1e2)]))[_0x3fa297(0x335)](_0x1d3499=>{const _0x5b96a5=_0x3fa297,_0x293527=_0x1d3499[_0x5b96a5(0x46a)];_0x293527===_0xffee1f[_0x5b96a5(0x2b8)]['UPDATE_CURSOR']&&this[_0x5b96a5(0x2ef)](_0x1d3499),_0x293527===_0xffee1f[_0x5b96a5(0x2b8)][_0x5b96a5(0x292)]&&this[_0x5b96a5(0x42a)](_0x1d3499);}),this['_onRefRangeChange'](),this[_0x3fa297(0x2c3)](this[_0x3fa297(0x3a0)][_0x3fa297(0x289)](_0x5661b2=>{const _0x335893=_0x3fa297;if(this[_0x335893(0x336)]&&_0x5661b2['id']===_0x4c6aaa[_0x335893(0x298)]['id']&&_0x5661b2['params'][_0x335893(0x1b6)]===this[_0x335893(0x406)]){const _0x368e38=_0x5661b2[_0x335893(0x23b)];this[_0x335893(0x35f)](_0x368e38[_0x335893(0x3a7)],_0x368e38[_0x335893(0x22d)][0x0]);}})));}[_0x2cf95d(0x2ef)](_0x2e9637){const _0x164626=_0x2cf95d;var _0x246d60,_0x39013b;const {memberID:_0xce6da7,selection:_0x31f272}=_0x2e9637['data'],{sheetName:_0x1a3cc5,range:_0x435474}=_0x53a2c3[_0x164626(0x353)](_0x31f272),_0x5f2d87={'name':(_0x39013b=(_0x246d60=this[_0x164626(0x392)]['getMember'](this[_0x164626(0x406)],_0xce6da7))==null?void 0x0:_0x246d60['name'])!=null?_0x39013b:_0x164626(0x3b7),'range':this['_getMergeRange'](_0x1a3cc5,_0x435474),'sheetID':_0x1a3cc5,'color':this[_0x164626(0x212)][_0x164626(0x3c0)](_0xce6da7),'selection':_0x31f272},_0x2bd997=this[_0x164626(0x297)];_0x2bd997[_0x164626(0x2f5)](_0xce6da7,_0x5f2d87),this[_0x164626(0x27b)][_0x164626(0x248)](_0x2bd997);}[_0x2cf95d(0x42a)](_0x55195d){const _0x2de64c=_0x2cf95d,{memberID:_0x5b5e6c}=_0x55195d[_0x2de64c(0x2bf)],_0x3a2d4c=this[_0x2de64c(0x297)];_0x3a2d4c[_0x2de64c(0x226)](_0x5b5e6c),this[_0x2de64c(0x27b)]['next'](_0x3a2d4c);}['_getMergeRange'](_0x3d1db5,_0x411ec3){const _0x5288d8=_0x2cf95d;var _0x4395c6,_0x3dbe2c;const _0x2a22cd=(_0x3dbe2c=(_0x4395c6=this[_0x5288d8(0x3f0)][_0x5288d8(0x39e)](this['unitID']))==null?void 0x0:_0x4395c6[_0x5288d8(0x3ac)](_0x3d1db5))==null?void 0x0:_0x3dbe2c[_0x5288d8(0x439)]();return(_0x2a22cd==null?void 0x0:_0x2a22cd[_0x5288d8(0x319)](_0xe0a232=>_0x2ef637[_0x5288d8(0x27c)][_0x5288d8(0x19d)](_0xe0a232,_0x411ec3)))||_0x411ec3;}[_0x2cf95d(0x2ba)](){const _0x3f0188=_0x2cf95d,_0x5862ab=new _0x2ef637[(_0x3f0188(0x40e))](),_0x9bf0a7=_0x25425f(),_0x2b1837=()=>{const _0x364a0f=_0x3f0188;_0x5862ab['dispose']();const _0x10527a=(_0x415f5c,_0xdb8704,_0x3cd327,_0x7d21fb)=>{const _0x178597=_0x3278;let _0x4579a2=[];switch(_0x415f5c['id']){case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x467)]:{_0x4579a2=_0x4c6aaa['handleDeleteRangeMoveLeft'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa['EffectRefRangId'][_0x178597(0x3ab)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x447)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x326)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x365)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x30b)]:{_0x4579a2=_0x4c6aaa['handleInsertRangeMoveDown'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x2f6)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x3f8)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['InsertRowCommandId']:{_0x4579a2=_0x4c6aaa[_0x178597(0x1d7)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['MoveRangeCommandId']:{_0x4579a2=_0x4c6aaa['handleMoveRange'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa['EffectRefRangId'][_0x178597(0x218)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x2cd)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['RemoveRowCommandId']:{_0x4579a2=_0x4c6aaa[_0x178597(0x370)](_0x415f5c,_0x7d21fb);break;}}const _0x493951=_0x4c6aaa['runRefRangeMutations'](_0x4579a2,_0x7d21fb),_0xb2bdd5=this['cursorInfo']['get'](_0xdb8704);if(_0xb2bdd5&&_0x493951){const _0x186760={..._0xb2bdd5,'range':_0x493951};this[_0x178597(0x297)]['set'](_0xdb8704,_0x186760),_0x9bf0a7(()=>{const _0x3edb8e=_0x178597,_0x25fd40=this[_0x3edb8e(0x39c)][_0x3edb8e(0x393)](_0x493951,_0x355f30=>(_0x25fd40[_0x3edb8e(0x359)](),_0x10527a(_0x355f30,_0xdb8704,_0x3cd327,_0x493951)));_0x5862ab[_0x3edb8e(0x1de)](_0x25fd40);});}return{'redos':[],'undos':[]};};this[_0x364a0f(0x297)][_0x364a0f(0x35c)]((_0x39d0a2,_0x1966c9)=>{const _0x3ba674=_0x364a0f,{range:_0x2217a2,sheetID:_0x33d319}=_0x39d0a2,_0x35d78b=this[_0x3ba674(0x39c)][_0x3ba674(0x393)](_0x2217a2,_0x1feeda=>(_0x35d78b[_0x3ba674(0x359)](),_0x10527a(_0x1feeda,_0x1966c9,_0x33d319,_0x2217a2)));_0x5862ab[_0x3ba674(0x1de)](_0x35d78b);});};this[_0x3f0188(0x2c3)](_0x2ef637[_0x3f0188(0x236)](this[_0x3f0188(0x27b)][_0x3f0188(0x335)](()=>{_0x2b1837();})));}[_0x2cf95d(0x3d9)](){const _0x370f38=_0x2cf95d;var _0x3b5a4f,_0x39b7a1;if(this[_0x370f38(0x336)]=!0x0,((_0x3b5a4f=this[_0x370f38(0x3f0)][_0x370f38(0x235)]())==null?void 0x0:_0x3b5a4f['getUnitId']())!==this[_0x370f38(0x406)])return;const _0x1dcc7c=(_0x39b7a1=this[_0x370f38(0x30c)]['get'](_0x4c6aaa[_0x370f38(0x1f8)])[_0x370f38(0x1e7)]())==null?void 0x0:_0x39b7a1[0x0],_0x223b5b=this['_univerInstanceService'][_0x370f38(0x42e)](_0x2ef637[_0x370f38(0x29a)][_0x370f38(0x318)])['getActiveSheet']();_0x1dcc7c&&_0x223b5b&&this[_0x370f38(0x35f)](_0x223b5b['getSheetId'](),_0x1dcc7c);}[_0x2cf95d(0x1e6)](){const _0x260ad9=_0x2cf95d;this[_0x260ad9(0x336)]=!0x1;}};_0x4b0008=_0x45bc07([_0x3aa26c(0x2,_0x2ef637['Inject'](_0x2ef637[_0x2cf95d(0x3b0)])),_0x3aa26c(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x371edb)),_0x3aa26c(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x39d)])),_0x3aa26c(0x5,_0x2ef637[_0x2cf95d(0x25f)]),_0x3aa26c(0x6,_0x2ef637[_0x2cf95d(0x412)]),_0x3aa26c(0x7,_0x2ef637[_0x2cf95d(0x3fa)](_0x4c6aaa[_0x2cf95d(0x24a)]))],_0x4b0008);var _0x4a2e10=Object[_0x2cf95d(0x457)],_0x421ab2=(_0x3380c2,_0x871ff5,_0xc6de36,_0xb49974)=>{for(var _0x5cd504=_0xb49974>0x1?void 0x0:_0xb49974?_0x4a2e10(_0x871ff5,_0xc6de36):_0x871ff5,_0xf102ff=_0x3380c2['length']-0x1,_0x5797eb;_0xf102ff>=0x0;_0xf102ff--)(_0x5797eb=_0x3380c2[_0xf102ff])&&(_0x5cd504=_0x5797eb(_0x5cd504)||_0x5cd504);return _0x5cd504;},_0x37bb2b=(_0xfcebb4,_0xb3250b)=>(_0x482334,_0xc9bb27)=>_0xb3250b(_0x482334,_0xc9bb27,_0xfcebb4);let _0x41b2ac=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x43852c,_0x53eb75,_0x25fa0a){const _0x38e453=_0x2cf95d;super(),_0x536638(this,_0x38e453(0x247),new Map()),_0x536638(this,_0x38e453(0x23c),new _0x35d2e5['Subject']()),(this[_0x38e453(0x3f0)]=_0x43852c,this[_0x38e453(0x30c)]=_0x53eb75,this[_0x38e453(0x352)]=_0x25fa0a,this['_init']());}['dispose'](){const _0x21f6aa=_0x2cf95d;super['dispose'](),this[_0x21f6aa(0x23c)][_0x21f6aa(0x228)](),this[_0x21f6aa(0x247)][_0x21f6aa(0x35c)](_0x5c081a=>_0x5c081a[_0x21f6aa(0x359)]());}[_0x2cf95d(0x2e4)](_0x3e01bb){const _0x147667=_0x2cf95d;return this[_0x147667(0x247)]['has'](_0x3e01bb)?this['_entities'][_0x147667(0x3c7)](_0x3e01bb)[_0x147667(0x3e1)]:this[_0x147667(0x23c)]['pipe'](_0x35d2e5[_0x147667(0x1d9)](_0x3d6b6b=>_0x3d6b6b[_0x147667(0x406)]===_0x3e01bb),_0x35d2e5[_0x147667(0x441)](_0x52ef20=>_0x52ef20[_0x147667(0x3e1)]));}[_0x2cf95d(0x303)](){const _0xadd1ed=_0x2cf95d;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2ef637[_0xadd1ed(0x29a)][_0xadd1ed(0x318)])[_0xadd1ed(0x40f)](_0x35d2e5[_0xadd1ed(0x2a5)](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x335)](async _0x47c859=>{const _0x2b66a2=_0xadd1ed,_0xd83fcc=_0x47c859[_0x2b66a2(0x35a)](),_0x589949=await this[_0x2b66a2(0x397)](_0xd83fcc);this[_0x2b66a2(0x23c)][_0x2b66a2(0x248)](_0x589949),this[_0x2b66a2(0x247)]['set'](_0xd83fcc,_0x589949);}),this['_univerInstanceService'][_0xadd1ed(0x20e)](_0x2ef637['UniverInstanceType'][_0xadd1ed(0x2f1)])[_0xadd1ed(0x40f)](_0x35d2e5['takeUntil'](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x40f)](_0x35d2e5['filter'](_0x25badf=>!_0x25badf[_0xadd1ed(0x35a)]()[_0xadd1ed(0x2fc)]('__')))[_0xadd1ed(0x335)](async _0x2a2666=>{const _0x4b64f4=_0xadd1ed,_0x5b9670=_0x2a2666[_0x4b64f4(0x35a)](),_0x2d9c80=await this[_0x4b64f4(0x2d2)](_0x5b9670);this[_0x4b64f4(0x23c)][_0x4b64f4(0x248)](_0x2d9c80),this[_0x4b64f4(0x247)][_0x4b64f4(0x2f5)](_0x5b9670,_0x2d9c80);}),_0x35d2e5[_0xadd1ed(0x1ff)](this[_0xadd1ed(0x3f0)][_0xadd1ed(0x1e9)](_0x2ef637[_0xadd1ed(0x29a)][_0xadd1ed(0x2f1)]),this[_0xadd1ed(0x3f0)][_0xadd1ed(0x1e9)](_0x2ef637[_0xadd1ed(0x29a)]['UNIVER_SHEET']))[_0xadd1ed(0x40f)](_0x35d2e5[_0xadd1ed(0x2a5)](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x335)](_0x450dcc=>{const _0x8b812c=_0xadd1ed,_0x14c1c0=_0x450dcc[_0x8b812c(0x35a)](),_0x36cd4f=this[_0x8b812c(0x247)]['get'](_0x14c1c0);_0x36cd4f&&(_0x36cd4f[_0x8b812c(0x359)](),this['_entities'][_0x8b812c(0x226)](_0x14c1c0));});}async[_0x2cf95d(0x397)](_0x5679a5){const _0x35a63e=_0x2cf95d,_0x1e7536=await this[_0x35a63e(0x352)][_0x35a63e(0x2a4)](_0x5679a5),_0x48b420=this[_0x35a63e(0x30c)][_0x35a63e(0x1e4)](_0x4b0008,_0x5679a5,_0x1e7536);return _0x48b420[_0x35a63e(0x3ff)](),_0x48b420;}async[_0x2cf95d(0x2d2)](_0x1f6bab){const _0x4b7454=_0x2cf95d,_0x4da529=await this[_0x4b7454(0x352)]['requireSession'](_0x1f6bab),_0x1e9e12=this[_0x4b7454(0x30c)][_0x4b7454(0x1e4)](_0x6a47bb,_0x1f6bab,_0x4da529);return _0x1e9e12['init'](),_0x1e9e12;}};_0x41b2ac=_0x421ab2([_0x37bb2b(0x0,_0x2ef637['IUniverInstanceService']),_0x37bb2b(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x37bb2b(0x2,_0x2ef637['Inject'](_0x5f2bfa['CollaborationSessionService']))],_0x41b2ac);const _0x48f02e=0x14,_0x159165=0xc8,_0x4bfe05=0x4,_0x1c9117=0x5;function _0x26ba26(_0x5dd743,_0x4ace80){const _0x7748a=_0x2cf95d;let {radius:_0x57da92,width:_0x36aa18,height:_0xa40093}=_0x4ace80;_0x57da92=_0x57da92!=null?_0x57da92:0x0,_0x36aa18=_0x36aa18!=null?_0x36aa18:0x1e,_0xa40093=_0xa40093!=null?_0xa40093:0x1e;let _0x112abf=0x0,_0x403b91=0x0,_0x12433d=0x0;_0x112abf=_0x403b91=_0x12433d=Math[_0x7748a(0x42b)](_0x57da92,_0x36aa18/0x2,_0xa40093/0x2),_0x5dd743[_0x7748a(0x2b1)](),_0x5dd743[_0x7748a(0x438)](_0x112abf,0x0),_0x5dd743[_0x7748a(0x3e3)](_0x36aa18-_0x403b91,0x0),_0x5dd743['arc'](_0x36aa18-_0x403b91,_0x403b91,_0x403b91,Math['PI']*0x3/0x2,0x0,!0x1),_0x5dd743[_0x7748a(0x3e3)](_0x36aa18,_0xa40093-_0x12433d),_0x5dd743[_0x7748a(0x29e)](_0x36aa18-_0x12433d,_0xa40093-_0x12433d,_0x12433d,0x0,Math['PI']/0x2,!0x1),_0x5dd743[_0x7748a(0x3e3)](0x0,_0xa40093),_0x5dd743[_0x7748a(0x3e3)](0x0,_0x112abf),_0x5dd743['arc'](_0x112abf,_0x112abf,_0x112abf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5dd743['closePath'](),_0x4ace80[_0x7748a(0x436)]&&(_0x5dd743[_0x7748a(0x460)](),_0x5dd743[_0x7748a(0x3e7)]=_0x4ace80['fill'],_0x4ace80[_0x7748a(0x3c6)]===_0x7748a(0x1cb)?_0x5dd743[_0x7748a(0x436)](_0x7748a(0x1cb)):_0x5dd743[_0x7748a(0x436)](),_0x5dd743[_0x7748a(0x1b8)]());}class _0x5dbb68 extends _0x35408c[_0x2cf95d(0x31d)]{constructor(_0x5197f6,_0x56fc20){const _0x44b5d6=_0x2cf95d;super(_0x5197f6,_0x56fc20),_0x536638(this,'color'),_0x536638(this,_0x44b5d6(0x2de)),(this[_0x44b5d6(0x3be)]=_0x56fc20==null?void 0x0:_0x56fc20['color'],this[_0x44b5d6(0x2de)]=_0x56fc20==null?void 0x0:_0x56fc20[_0x44b5d6(0x2de)]);}static[_0x2cf95d(0x310)](_0x1bd331,_0x3ccf01){const _0x3a334b=_0x2cf95d,{text:_0x2e10ad,color:_0x64e0ba}=_0x3ccf01;_0x1bd331[_0x3a334b(0x460)](),_0x1bd331['font']=_0x3a334b(0x229);const _0x1e4d35=_0x1bd331[_0x3a334b(0x3bd)](_0x2e10ad)[_0x3a334b(0x430)],_0x372fc5=Math[_0x3a334b(0x42b)](_0x1e4d35+0x2*_0x4bfe05,_0x159165);_0x26ba26(_0x1bd331,{'height':_0x48f02e,'radius':0x4,'width':_0x372fc5,'fill':_0x64e0ba}),_0x1bd331[_0x3a334b(0x3e7)]=_0x3a334b(0x421);const _0x592297=_0x4bfe05,_0x1921e=_0x48f02e-_0x1c9117,_0x30ce7d=_0x159165-0x2*_0x4bfe05;if(_0x1e4d35>_0x30ce7d){let _0x533345='',_0x2ab95e=0x0;for(const _0x91a439 of _0x2e10ad){const _0x9f2bef=_0x1bd331[_0x3a334b(0x3bd)](_0x91a439)[_0x3a334b(0x430)];if(_0x2ab95e+_0x9f2bef<=_0x30ce7d-_0x1bd331[_0x3a334b(0x3bd)]('...')[_0x3a334b(0x430)])_0x533345+=_0x91a439,_0x2ab95e+=_0x9f2bef;else{_0x533345+=_0x3a334b(0x216);break;}}_0x1bd331[_0x3a334b(0x43d)](_0x533345,_0x592297,_0x1921e);}else _0x1bd331['fillText'](_0x2e10ad,_0x592297,_0x1921e);_0x1bd331['restore']();}[_0x2cf95d(0x338)](_0x16abcb){const _0x1b2d4c=_0x2cf95d;_0x5dbb68[_0x1b2d4c(0x310)](_0x16abcb,this);}}const _0x186186=_0x2cf95d(0x43b),_0x18a971=_0x2cf95d(0x2d3),_0x194de6=_0x2cf95d(0x258),_0x474d21=0x6,_0x1fd600=1.5,_0x1d1acd=0x4,_0x135b37=1.5,_0x211d36=_0x2cf95d(0x2ee);class _0x3b4a2a{constructor(_0x361df4,_0x52e826,_0x389018,_0x139bf9){const _0x299a5c=_0x2cf95d;_0x536638(this,_0x299a5c(0x34b),[]),_0x536638(this,'_anchor',null),_0x536638(this,_0x299a5c(0x3c5),null),_0x536638(this,_0x299a5c(0x346),null),_0x536638(this,_0x299a5c(0x2c0),null),_0x536638(this,_0x299a5c(0x2ca),null),(this[_0x299a5c(0x302)]=_0x361df4,this[_0x299a5c(0x461)]=_0x52e826,this['_docSkeleton']=_0x389018,this['_document']=_0x139bf9,this[_0x299a5c(0x1ef)]());}set[_0x2cf95d(0x3df)](_0x2854c5){const _0x3dca4d=_0x2cf95d;_0x2854c5?(this[_0x3dca4d(0x346)]&&this[_0x3dca4d(0x346)][_0x3dca4d(0x25a)](),this[_0x3dca4d(0x3c5)]&&this['_textBubble'][_0x3dca4d(0x3bb)]()):(this[_0x3dca4d(0x346)]&&this[_0x3dca4d(0x346)][_0x3dca4d(0x3bb)](),this[_0x3dca4d(0x3c5)]&&this['_textBubble']['hide']());}[_0x2cf95d(0x359)](){const _0x47d87a=_0x2cf95d;for(const _0xe0add7 of this['_shapes'])_0xe0add7[_0x47d87a(0x359)]();this[_0x47d87a(0x3c5)]&&this[_0x47d87a(0x3c5)]['dispose'](),this['_anchorDot']&&this[_0x47d87a(0x346)][_0x47d87a(0x359)](),this[_0x47d87a(0x2e2)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x47d87a(0x2ca)]();}[_0x2cf95d(0x1ef)](){const _0xe18252=_0x2cf95d;var _0x535148;const {_docSkeleton:_0x247e09,_document:_0xfab95c}=this,{color:_0x348b6d,name:_0x2ccfed,ranges:_0x23fd9a}=this[_0xe18252(0x302)],_0x5e0e44=_0xfab95c['getOffsetConfig'](),{docsLeft:_0x2d080e,docsTop:_0x15631c}=_0x5e0e44,_0x540f8c=new _0x1f0246[(_0xe18252(0x2f3))](_0x5e0e44,_0x247e09);for(const {startOffset:_0x687e6b,endOffset:_0xb51e7b,rangeType:_0xce7408,segmentId:_0x5257c9,segmentPage:_0x14d8d3,collapsed:_0x2437ec,isActive:_0x247600}of _0x23fd9a){const _0x260dee=_0x247e09[_0xe18252(0x242)](_0x687e6b,!0x0,_0x5257c9,_0x14d8d3);let _0x14b7a8=_0x247e09[_0xe18252(0x242)](_0xb51e7b,!0x0,_0x5257c9,_0x14d8d3);if(_0x14b7a8==null&&(_0x14b7a8=_0x247e09[_0xe18252(0x242)](_0xb51e7b-0x1,!0x1,_0x5257c9,_0x14d8d3)),_0x247600){const {contentBoxPointGroup:_0x4a6ff6}=_0x540f8c[_0xe18252(0x380)](_0x14b7a8,_0x14b7a8);if(_0x4a6ff6[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x419)](_0x348b6d,_0x4a6ff6,_0x2d080e,_0x15631c,_0x2ccfed),this[_0xe18252(0x2ca)]=this[_0xe18252(0x41e)]();}if(_0x260dee&&_0x14b7a8){if(_0xce7408===_0x2ef637[_0xe18252(0x3de)][_0xe18252(0x3b5)]){const _0x1cb66c=new _0x1f0246[(_0xe18252(0x219))](_0x5e0e44,_0x247e09),{pointGroup:_0x209ca7}=(_0x535148=_0x1cb66c[_0xe18252(0x380)](_0x260dee,_0x14b7a8))!=null?_0x535148:{};if(_0x209ca7==null||_0x209ca7[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x3a9)](_0x348b6d,_0x209ca7,_0x2d080e,_0x15631c);}else{if(!_0x2437ec){const {borderBoxPointGroup:_0x149f7a}=_0x540f8c[_0xe18252(0x380)](_0x260dee,_0x14b7a8);if(_0x149f7a[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x3bc)](_0x348b6d,_0x149f7a,_0x2d080e,_0x15631c);}}}}}[_0x2cf95d(0x419)](_0x44c364,_0x3415a4,_0x5052cb,_0x2a8205,_0x1ba682){const _0x4199aa=_0x2cf95d,_0x405685=this[_0x4199aa(0x32e)](_0x3415a4),{left:_0x35cdec,top:_0x3b83bd,height:_0x334bdd}=_0x405685,_0x129378=this['_getScale'](),_0xedb98f=_0x135b37/_0x129378,_0x3b0812=new _0x35408c[(_0x4199aa(0x31a))](_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205,'height':_0x334bdd,'width':_0x1fd600,'fill':_0x44c364||_0x35408c['getColor'](_0x2ef637[_0x4199aa(0x31e)]['black'],0x0),'strokeWidth':_0xedb98f,'stroke':_0x211d36,'evented':!0x0});this[_0x4199aa(0x2e2)]=_0x3b0812,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x3b0812,_0x1f0246[_0x4199aa(0x2ed)]);const _0x28b469=new _0x35408c[(_0x4199aa(0x31a))](_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205-_0x1d1acd/0x2,'height':_0x1d1acd,'width':_0x1d1acd,'fill':_0x44c364||_0x35408c[_0x4199aa(0x3d5)](_0x2ef637[_0x4199aa(0x31e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x44c364||_0x35408c[_0x4199aa(0x3d5)](_0x2ef637['COLORS'][_0x4199aa(0x424)],0x0),'evented':!0x1});this[_0x4199aa(0x346)]=_0x28b469,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x28b469,_0x1f0246[_0x4199aa(0x2ed)]);const _0x143c7f=new _0x5dbb68(_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205-_0x48f02e,'text':_0x1ba682,'color':_0x44c364});this[_0x4199aa(0x3c5)]=_0x143c7f,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x143c7f,_0x1f0246[_0x4199aa(0x2ed)]),this[_0x4199aa(0x3df)]=!0x1;}['_handleHover'](){const _0x49c57b=_0x2cf95d,_0x38bc3f=this[_0x49c57b(0x2e2)][_0x49c57b(0x334)][_0x49c57b(0x2a3)](()=>{const _0xabf54d=_0x49c57b;this[_0xabf54d(0x3df)]=!0x0;}),_0x5b0c0f=this[_0x49c57b(0x2e2)][_0x49c57b(0x32a)][_0x49c57b(0x2a3)](()=>{const _0x37a6c2=_0x49c57b;this[_0x37a6c2(0x2c0)]&&clearTimeout(this[_0x37a6c2(0x2c0)]),this[_0x37a6c2(0x2c0)]=setTimeout(()=>{const _0xfaab86=_0x37a6c2;this[_0xfaab86(0x3df)]=!0x1;},0x7d0);});return()=>{_0x38bc3f['unsubscribe'](),_0x5b0c0f['unsubscribe']();};}['_drawTextRange'](_0x34b8ed,_0x209142,_0x418d9b,_0x11d08d){const _0x1a40df=_0x2cf95d,_0x4e038b=new _0x2ef637['ColorKit'](_0x34b8ed)[_0x1a40df(0x3e2)](0.2)[_0x1a40df(0x1d1)](),_0x2d179f=new _0x35408c[(_0x1a40df(0x259))](_0x18a971+_0x2ef637[_0x1a40df(0x2ec)](_0x474d21),{'pointsGroup':_0x209142,'fill':_0x4e038b||_0x35408c[_0x1a40df(0x3d5)](_0x2ef637[_0x1a40df(0x31e)]['black'],0.2),'left':_0x418d9b,'top':_0x11d08d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a40df(0x34b)][_0x1a40df(0x316)](_0x2d179f),this[_0x1a40df(0x461)]['addObject'](_0x2d179f,_0x1f0246['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2e0325,_0x3e7866,_0x347a0d,_0x4a4da4){const _0x6f1d17=_0x2cf95d,_0x3dc296=new _0x2ef637[(_0x6f1d17(0x254))](_0x2e0325)['setAlpha'](0.2)[_0x6f1d17(0x1d1)](),_0x3039e9=new _0x35408c[(_0x6f1d17(0x259))](_0x194de6+_0x2ef637['generateRandomId'](_0x474d21),{'pointsGroup':_0x3e7866,'fill':_0x3dc296||_0x35408c[_0x6f1d17(0x3d5)](_0x2ef637[_0x6f1d17(0x31e)]['black'],0.2),'left':_0x347a0d,'top':_0x4a4da4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x6f1d17(0x316)](_0x3039e9),this[_0x6f1d17(0x461)][_0x6f1d17(0x345)](_0x3039e9,_0x1f0246['TEXT_RANGE_LAYER_INDEX']);}[_0x2cf95d(0x32e)](_0x3ba08b){const _0x4b4b17=_0x3ba08b[0x0],_0x3d8d85=_0x4b4b17[0x0],_0x2fd29d=_0x4b4b17[0x2],{x:_0x56f043,y:_0x3f64a1}=_0x3d8d85,{x:_0x5b0d7b,y:_0x33da99}=_0x2fd29d;return{'left':_0x56f043,'top':_0x3f64a1,'width':_0x5b0d7b-_0x56f043,'height':_0x33da99-_0x3f64a1};}['_getScale'](){const _0x18f78f=_0x2cf95d,{scaleX:_0x4a7c74,scaleY:_0x1ede24}=this[_0x18f78f(0x461)][_0x18f78f(0x466)]();return Math[_0x18f78f(0x1f1)](_0x4a7c74,_0x1ede24);}}var _0x4916b4=Object[_0x2cf95d(0x457)],_0x2dbca4=(_0x1078a7,_0xb2f410,_0x40ef2c,_0x53032b)=>{const _0x9302a3=_0x2cf95d;for(var _0x5d9f93=_0x53032b>0x1?void 0x0:_0x53032b?_0x4916b4(_0xb2f410,_0x40ef2c):_0xb2f410,_0x3be3d6=_0x1078a7[_0x9302a3(0x3e6)]-0x1,_0x22127f;_0x3be3d6>=0x0;_0x3be3d6--)(_0x22127f=_0x1078a7[_0x3be3d6])&&(_0x5d9f93=_0x22127f(_0x5d9f93)||_0x5d9f93);return _0x5d9f93;},_0x5ab68a=(_0x16701e,_0x16c1db)=>(_0x7efaf4,_0x3dfedc)=>_0x16c1db(_0x7efaf4,_0x3dfedc,_0x16701e);let _0x49cd9d=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x35d43b,_0x50925f,_0x4ee291,_0x160c32,_0xfc7675){const _0x33bafd=_0x2cf95d;super(),_0x536638(this,_0x33bafd(0x35e),[]),_0x536638(this,_0x33bafd(0x21b),[]),(this['_context']=_0x35d43b,this[_0x33bafd(0x44f)]=_0x50925f,this[_0x33bafd(0x30f)]=_0x4ee291,this[_0x33bafd(0x3a0)]=_0x160c32,this[_0x33bafd(0x315)]=_0xfc7675,this[_0x33bafd(0x303)]());}[_0x2cf95d(0x303)](){const _0x238b7f=_0x2cf95d,_0x95e171=this[_0x238b7f(0x274)]['unitId'],_0x361dc6=this['_docSkeletonManagerService'];this[_0x238b7f(0x2c3)](_0x35d2e5['combineLatest']([this[_0x238b7f(0x30f)][_0x238b7f(0x2e4)](_0x95e171),this['_themeService']['currentTheme$']])[_0x238b7f(0x40f)](_0x493334[_0x238b7f(0x443)](([_0x1f08f5,_0x41b586])=>({'skeleton':_0x361dc6[_0x238b7f(0x21c)](),'cursors':[..._0x1f08f5[_0x238b7f(0x32c)]()]['flatMap'](_0x53e2e6=>({..._0x53e2e6,'color':this[_0x238b7f(0x315)][_0x238b7f(0x348)](_0x53e2e6[_0x238b7f(0x3be)])}))})))['subscribe'](_0x4e54ed=>{const _0x36d22b=_0x238b7f;if(this[_0x36d22b(0x1a3)](),_0x4e54ed){const {skeleton:_0x3d0d4e,cursors:_0x400995}=_0x4e54ed;this[_0x36d22b(0x3e9)](_0x3d0d4e,_0x400995);}})),this['_initResize'](),this[_0x238b7f(0x455)]();}[_0x2cf95d(0x3e9)](_0x3cb3e7,_0x51a5c4){const _0x2075bc=_0x2cf95d,{scene:_0x379584,mainComponent:_0x2146f2}=this[_0x2075bc(0x274)],_0x157d76=_0x51a5c4[_0x2075bc(0x443)](_0x473970=>new _0x3b4a2a(_0x473970,_0x379584,_0x3cb3e7,_0x2146f2));this[_0x2075bc(0x35e)]=_0x157d76,this['_cursors']=_0x51a5c4;}['_refreshCollabCursors'](){const _0x1471d5=_0x2cf95d;this[_0x1471d5(0x1a3)]();const {scene:_0x348ffa,mainComponent:_0x490c80}=this[_0x1471d5(0x274)],_0x4964ee=this[_0x1471d5(0x44f)][_0x1471d5(0x21c)](),_0x14f8c5=this[_0x1471d5(0x21b)][_0x1471d5(0x443)](_0x238563=>new _0x3b4a2a(_0x238563,_0x348ffa,_0x4964ee,_0x490c80));this[_0x1471d5(0x35e)]=_0x14f8c5;}[_0x2cf95d(0x1a3)](){const _0x18c737=_0x2cf95d;this[_0x18c737(0x35e)][_0x18c737(0x35c)](_0x40705f=>_0x40705f['dispose']()),this['_cursorShapes']=[];}[_0x2cf95d(0x455)](){const _0xd1e384=_0x2cf95d,_0x5c969e=[_0x1f0246['SetDocZoomRatioOperation']['id']];this[_0xd1e384(0x2c3)](this[_0xd1e384(0x3a0)][_0xd1e384(0x289)](_0x585c0a=>{const _0x407e09=_0xd1e384;_0x5c969e[_0x407e09(0x2cc)](_0x585c0a['id'])&&_0x585c0a[_0x407e09(0x23b)][_0x407e09(0x1b6)]===this[_0x407e09(0x274)][_0x407e09(0x1b6)]&&this[_0x407e09(0x275)]();}));}[_0x2cf95d(0x3f2)](){const _0x48bdfd=_0x2cf95d;this[_0x48bdfd(0x2c3)](_0x2ef637[_0x48bdfd(0x39a)](this[_0x48bdfd(0x274)][_0x48bdfd(0x2da)][_0x48bdfd(0x400)])['pipe'](_0x493334['filter'](_0x4edf13=>_0x4edf13[_0x48bdfd(0x35b)]===_0x35408c[_0x48bdfd(0x38d)][_0x48bdfd(0x308)]),_0x493334[_0x48bdfd(0x234)](0x10))[_0x48bdfd(0x335)](()=>{const _0x39480e=_0x48bdfd;this[_0x39480e(0x275)]();}));}};_0x49cd9d=_0x2dbca4([_0x5ab68a(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x431f46[_0x2cf95d(0x2ce)])),_0x5ab68a(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x41b2ac)),_0x5ab68a(0x3,_0x2ef637[_0x2cf95d(0x412)]),_0x5ab68a(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['ThemeService']))],_0x49cd9d);const _0x2ab566=0x1,_0x5e5be0=1.5;class _0xf90746 extends _0x35408c['Shape']{constructor(_0x583f79,_0x5018dd){const _0x4393ea=_0x2cf95d;super(_0x583f79,_0x5018dd),_0x536638(this,_0x4393ea(0x1fa)),_0x536638(this,_0x4393ea(0x416),!0x1),_0x536638(this,_0x4393ea(0x2f9)),_0x536638(this,_0x4393ea(0x28c),''),_0x536638(this,_0x4393ea(0x33e),_0x4393ea(0x304)),_0x536638(this,'_backgroundColor'),(_0x5018dd&&this[_0x4393ea(0x350)](_0x5018dd),this[_0x4393ea(0x334)][_0x4393ea(0x2a3)](()=>this[_0x4393ea(0x350)]({'hovered':!0x0})),this[_0x4393ea(0x32a)][_0x4393ea(0x2a3)](()=>this[_0x4393ea(0x350)]({'hovered':!0x1})));}[_0x2cf95d(0x350)](_0x237b82){const _0x9ebc56=_0x2cf95d;var _0x1f6490,_0x5ae250,_0x67e669,_0x1ee148,_0x2b9ab2,_0xe82b4e;this['_color']=(_0x1f6490=_0x237b82[_0x9ebc56(0x3be)])!=null?_0x1f6490:this['_color'],this[_0x9ebc56(0x416)]=(_0x5ae250=_0x237b82[_0x9ebc56(0x1ab)])!=null?_0x5ae250:this[_0x9ebc56(0x416)],this['_range']=(_0x67e669=_0x237b82[_0x9ebc56(0x26e)])!=null?_0x67e669:this['_range'],this[_0x9ebc56(0x28c)]=(_0x1ee148=_0x237b82[_0x9ebc56(0x28e)])!=null?_0x1ee148:this[_0x9ebc56(0x28c)],this[_0x9ebc56(0x33e)]=(_0x2b9ab2=_0x237b82[_0x9ebc56(0x398)])!=null?_0x2b9ab2:this[_0x9ebc56(0x33e)],this[_0x9ebc56(0x2f8)]=(_0xe82b4e=_0x237b82[_0x9ebc56(0x1fd)])!=null?_0xe82b4e:this['_backgroundColor'],this[_0x9ebc56(0x3f4)]({'width':_0x237b82[_0x9ebc56(0x430)],'height':_0x237b82[_0x9ebc56(0x322)]});}[_0x2cf95d(0x2df)](_0x37f6ef){const _0x559649=_0x2cf95d,{row:_0x475daa,column:_0x27181b}=_0x37f6ef;if(_0x475daa>=this['_range'][_0x559649(0x30d)]&&_0x475daa<=this[_0x559649(0x2f9)][_0x559649(0x1a1)]&&_0x27181b>=this[_0x559649(0x2f9)][_0x559649(0x1f3)]&&_0x27181b<=this['_range'][_0x559649(0x1f5)]){this[_0x559649(0x350)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2e40b7){return!0x1;}['_draw'](_0x5cc645){const _0x669ce=_0x2cf95d;_0x35408c[_0x669ce(0x31a)]['drawWith'](_0x5cc645,{'width':this[_0x669ce(0x430)],'height':this[_0x669ce(0x322)],'strokeWidth':_0x5e5be0,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x669ce(0x2f8)]}),this['_hovered']&&(_0x5cc645['save'](),_0x5cc645[_0x669ce(0x45b)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-_0x48f02e),_0x5dbb68[_0x669ce(0x310)](_0x5cc645,{'text':this[_0x669ce(0x28c)],'color':this['_color']}),_0x5cc645[_0x669ce(0x1b8)]());}}var _0x351e01=Object['getOwnPropertyDescriptor'],_0x12b103=(_0x54ecc9,_0x344de3,_0x1a4c5f,_0x159229)=>{for(var _0x2519fc=_0x159229>0x1?void 0x0:_0x159229?_0x351e01(_0x344de3,_0x1a4c5f):_0x344de3,_0x395095=_0x54ecc9['length']-0x1,_0x273b29;_0x395095>=0x0;_0x395095--)(_0x273b29=_0x54ecc9[_0x395095])&&(_0x2519fc=_0x273b29(_0x2519fc)||_0x2519fc);return _0x2519fc;},_0x41f9f7=(_0x2577dd,_0x2dd01f)=>(_0x11d533,_0x12e447)=>_0x2dd01f(_0x11d533,_0x12e447,_0x2577dd);const _0x56d06c=0x1389;let _0x398529=class extends _0x2ef637['RxDisposable']{constructor(_0x3d997c,_0x4a4f5c,_0xa31324,_0x1ef3f0){const _0x3921b8=_0x2cf95d;super(),_0x536638(this,'_cursors',new Set()),_0x536638(this,_0x3921b8(0x21f),null),(this['_context']=_0x3d997c,this[_0x3921b8(0x23a)]=_0x4a4f5c,this['_collabCursorController']=_0xa31324,this[_0x3921b8(0x315)]=_0x1ef3f0,this[_0x3921b8(0x303)]());}['_init'](){const _0x23c757=_0x2cf95d;this[_0x23c757(0x23a)][_0x23c757(0x33c)][_0x23c757(0x40f)](_0x493334[_0x23c757(0x2a5)](this[_0x23c757(0x1e2)]),_0x493334[_0x23c757(0x441)](_0x1eaae7=>{const _0x228c0f=_0x23c757;if(_0x1eaae7){const _0x4b1266=_0x1eaae7[_0x228c0f(0x356)];return _0x35d2e5[_0x228c0f(0x321)](this[_0x228c0f(0x30f)][_0x228c0f(0x2e4)](this[_0x228c0f(0x274)][_0x228c0f(0x1b6)]),this[_0x228c0f(0x315)][_0x228c0f(0x1ee)])['pipe'](_0x493334[_0x228c0f(0x443)](([_0x1ff42c,_0x2274fa])=>{const _0x3278d7=_0x228c0f,_0x41496d=new Map();return _0x1ff42c[_0x3278d7(0x35c)]((_0x4194ee,_0xe09301)=>{const _0x22f2e8=_0x3278d7;if(_0x4194ee[_0x22f2e8(0x25e)]===_0x4b1266){const _0x37ae12={..._0x4194ee};_0x37ae12[_0x22f2e8(0x3be)]=this['_themeService']['getColorFromTheme'](_0x4194ee[_0x22f2e8(0x3be)]),_0x41496d[_0x22f2e8(0x2f5)](_0xe09301,_0x37ae12);}}),{'skeleton':_0x1eaae7,'cursors':_0x41496d};}));}return _0x35d2e5['of']({'skeleton':null,'cursors':new Map()});}))[_0x23c757(0x335)](({skeleton:_0x306526,cursors:_0x2d7295})=>{const _0x185dc4=_0x23c757;this[_0x185dc4(0x1a3)](),_0x306526&&this[_0x185dc4(0x3e9)](_0x306526,_0x2d7295);}),this[_0x23c757(0x23a)]['currentSkeleton$'][_0x23c757(0x335)](_0x1ce6f8=>{const _0x16e6bb=_0x23c757;if(_0x1ce6f8==null)return;const {skeleton:_0x2459c4}=_0x1ce6f8,{scene:_0x3489d9}=this[_0x16e6bb(0x274)];_0x3489d9[_0x16e6bb(0x1f4)][_0x16e6bb(0x2a3)](_0x2ef637[_0x16e6bb(0x3ce)](_0x2411cf=>{const _0x10383f=_0x16e6bb;var _0x5998ca,_0x347c24;const {offsetX:_0x3f9482,offsetY:_0x288062}=_0x2411cf,{x:_0x47f8cc,y:_0x5ee7ec}=_0x3489d9[_0x10383f(0x1ad)](_0x35408c[_0x10383f(0x46c)][_0x10383f(0x389)]([_0x3f9482,_0x288062])),{scaleX:_0x5c1d97,scaleY:_0x117f08}=_0x3489d9[_0x10383f(0x466)](),_0x3392a9=_0x3489d9[_0x10383f(0x46e)](_0x35408c[_0x10383f(0x332)][_0x10383f(0x24b)]),_0x1d8f6d=_0x3489d9[_0x10383f(0x1f0)](_0x35408c[_0x10383f(0x46c)][_0x10383f(0x389)]([_0x47f8cc,_0x5ee7ec]),_0x3392a9),_0xcf8904=_0x2459c4[_0x10383f(0x37e)](_0x3f9482,_0x288062,_0x5c1d97,_0x117f08,_0x1d8f6d);((_0x5998ca=this[_0x10383f(0x21f)])==null?void 0x0:_0x5998ca[_0x10383f(0x24c)])===_0xcf8904[_0x10383f(0x24c)]&&((_0x347c24=this[_0x10383f(0x21f)])==null?void 0x0:_0x347c24[_0x10383f(0x2b7)])===_0xcf8904[_0x10383f(0x2b7)]||this[_0x10383f(0x21b)][_0x10383f(0x35c)](_0x43e80c=>{const _0x437bcb=_0x10383f;_0x43e80c[_0x437bcb(0x2df)](_0xcf8904);});},0x64));});}[_0x2cf95d(0x3e9)](_0x387754,_0xda4e44){const _0x3cfe23=_0x2cf95d;var _0x46e450;const _0x39d3ba=(_0x46e450=this[_0x3cfe23(0x23a)]['getCurrent']())==null?void 0x0:_0x46e450[_0x3cfe23(0x1ed)];if(!_0x39d3ba)return;const _0x53fe9b=this[_0x3cfe23(0x1cf)]();if(!_0x53fe9b)return;this['_cursors']['forEach'](_0x3a1c5f=>{_0x3a1c5f['makeDirty']();});const {scene:_0x4dcfa6}=_0x53fe9b,_0x23869e=_0x3c454b(Array[_0x3cfe23(0x2e6)](_0xda4e44[_0x3cfe23(0x32c)]()))[_0x3cfe23(0x443)](_0x3ba1f5=>{const _0x100a64=_0x3cfe23,{color:_0x181d29,range:_0x28ee70,name:_0x1740a9,selection:_0x3de131,sheetID:_0x2338cf}=_0x3ba1f5,{startColumn:_0x313c02,startRow:_0x228650,endColumn:_0x2544b4,endRow:_0x1db71f}=_0x28ee70,_0x2c013b=_0xd96da0[_0x100a64(0x402)](_0x228650,_0x313c02,_0x4dcfa6,_0x39d3ba),_0x29bd20=_0xd96da0[_0x100a64(0x402)](_0x1db71f,_0x2544b4,_0x4dcfa6,_0x39d3ba),{columnHeaderHeightAndMarginTop:_0x5b3061}=_0x39d3ba,{startX:_0x196dfb,startY:_0x32298d}=_0x2c013b,{endX:_0x13c432,endY:_0x2a7df2}=_0x29bd20,_0x2615df=_0x13c432-_0x196dfb,_0x1a8189=_0x2a7df2-_0x32298d,_0x14b038={'labelPosition':_0x32298d-_0x5b3061>=_0x48f02e?'top':_0x100a64(0x249),'sheetID':_0x2338cf,'range':_0x28ee70,'color':_0x181d29,'name':_0x1740a9,'selection':_0x3de131,'left':_0x196dfb,'top':_0x32298d,'width':_0x2615df,'height':_0x1a8189,'evented':!0x1,'zIndex':_0x56d06c};return new _0xf90746(_0x1740a9,_0x14b038);});_0x4dcfa6[_0x3cfe23(0x217)](_0x23869e,_0x2ab566),this[_0x3cfe23(0x21b)]=new Set(_0x23869e);}[_0x2cf95d(0x1a3)](){const _0x11f552=_0x2cf95d;var _0x59c1b6;(_0x59c1b6=this[_0x11f552(0x21b)])==null||_0x59c1b6['forEach'](_0x268c96=>_0x268c96['dispose']());}[_0x2cf95d(0x1cf)](){const _0x2cc3a8=_0x2cf95d;return _0xd96da0[_0x2cc3a8(0x22a)](this[_0x2cc3a8(0x274)][_0x2cc3a8(0x3f5)],this[_0x2cc3a8(0x274)]);}};_0x398529=_0x12b103([_0x41f9f7(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0xd96da0[_0x2cf95d(0x21a)])),_0x41f9f7(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x41b2ac)),_0x41f9f7(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3bf)]))],_0x398529);function _0x3c454b(_0x16faac){const _0x2b0c85=_0x2cf95d,_0x406566=new Map();return _0x16faac[_0x2b0c85(0x35c)](_0x31e698=>{const _0x26a51c=_0x2b0c85;if(_0x406566[_0x26a51c(0x2ac)](_0x31e698[_0x26a51c(0x415)])){const _0x5ef312=_0x406566[_0x26a51c(0x3c7)](_0x31e698[_0x26a51c(0x415)]);_0x5ef312[_0x26a51c(0x28e)]+=',\x20'+_0x31e698[_0x26a51c(0x28e)];}else _0x406566[_0x26a51c(0x2f5)](_0x31e698['selection'],_0x31e698);}),Array[_0x2b0c85(0x2e6)](_0x406566['values']());}var _0x46cadc=Object[_0x2cf95d(0x457)],_0x59f211=(_0x55436c,_0x151f1b,_0x26737b,_0x48581a)=>{for(var _0x3c69df=_0x48581a>0x1?void 0x0:_0x48581a?_0x46cadc(_0x151f1b,_0x26737b):_0x151f1b,_0x28032c=_0x55436c['length']-0x1,_0x34e78f;_0x28032c>=0x0;_0x28032c--)(_0x34e78f=_0x55436c[_0x28032c])&&(_0x3c69df=_0x34e78f(_0x3c69df)||_0x3c69df);return _0x3c69df;},_0xb00749=(_0x3357f4,_0x214d28)=>(_0x1e2def,_0x11d495)=>_0x214d28(_0x1e2def,_0x11d495,_0x3357f4);let _0xd0660e=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x7ca3f6,_0x191423,_0xb76e08,_0x46cb99,_0x412f34,_0x4c2cba){const _0x39c8b7=_0x2cf95d;super(),this[_0x39c8b7(0x3ee)]=_0x7ca3f6,this[_0x39c8b7(0x369)]=_0x191423,this['_collaborationUIEventService']=_0xb76e08,this['_messageService']=_0x46cb99,this['_notificationService']=_0x412f34,this[_0x39c8b7(0x33d)]=_0x4c2cba,this[_0x39c8b7(0x2fa)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x4aa3ec=_0x2cf95d;this[_0x4aa3ec(0x2c3)](this['_beforeCloseService'][_0x4aa3ec(0x3ad)](()=>{const _0x6f9c34=_0x4aa3ec;if(this['_localCacheService'][_0x6f9c34(0x241)][_0x6f9c34(0x207)])return this['_localeService']['t'](_0x6f9c34(0x2cf));}));}[_0x2cf95d(0x2f0)](){const _0x32254f=_0x2cf95d;this[_0x32254f(0x2c3)](this[_0x32254f(0x1fe)][_0x32254f(0x38f)][_0x32254f(0x335)](_0x25a4af=>{const _0x2f6b82=_0x32254f;_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x3b4)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)]['Warning'],'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x1b2))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['CLOSE_ROOM']&&this['_messageService'][_0x2f6b82(0x3bb)]({'type':_0x364f41['MessageType'][_0x2f6b82(0x269)],'content':this['_localeService']['t'](_0x2f6b82(0x1fc))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x287)]&&this[_0x2f6b82(0x317)]['show']({'title':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x2d8)),'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x45e)),'type':'error','duration':0x0}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['CONFLICT']&&this[_0x2f6b82(0x3aa)]['show']({'type':_0x364f41['MessageType'][_0x2f6b82(0x30a)],'content':this['_localeService']['t'](_0x2f6b82(0x1fc))+'('+_0x25a4af[_0x2f6b82(0x2bf)]+')'}),_0x25a4af['id']===_0x5f2bfa['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x2f6b82(0x3aa)]['show']({'type':_0x364f41['MessageType'][_0x2f6b82(0x269)],'content':this[_0x2f6b82(0x33d)]['t'](_0x25a4af[_0x2f6b82(0x2bf)]||'')}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x1af)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)][_0x2f6b82(0x269)],'content':this['_localeService']['t'](_0x2f6b82(0x464))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x404)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)][_0x2f6b82(0x30a)],'content':this['_localeService']['t'](_0x2f6b82(0x396))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)]['Error'],'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x1e5))});}));}};_0xd0660e=_0x59f211([_0xb00749(0x0,_0xbf4494[_0x2cf95d(0x306)]),_0xb00749(0x1,_0x5f2bfa[_0x2cf95d(0x233)]),_0xb00749(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x40c)])),_0xb00749(0x3,_0xbf4494[_0x2cf95d(0x1ce)]),_0xb00749(0x4,_0xbf4494['INotificationService']),_0xb00749(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['LocaleService']))],_0xd0660e);const _0x206a74=_0x2cf95d(0x1df),_0x19c4b6={};var _0x5e89e5=Object['getOwnPropertyDescriptor'],_0x2df015=(_0x1a99f9,_0x322a7b,_0x2529a8,_0x569136)=>{for(var _0x16e0e7=_0x569136>0x1?void 0x0:_0x569136?_0x5e89e5(_0x322a7b,_0x2529a8):_0x322a7b,_0x4c9a89=_0x1a99f9['length']-0x1,_0x3af115;_0x4c9a89>=0x0;_0x4c9a89--)(_0x3af115=_0x1a99f9[_0x4c9a89])&&(_0x16e0e7=_0x3af115(_0x16e0e7)||_0x16e0e7);return _0x16e0e7;},_0x5e1b7a=(_0x19274d,_0x5c95b7)=>(_0x487bcf,_0x5245e6)=>_0x5c95b7(_0x487bcf,_0x5245e6,_0x19274d);let _0x241a2c=class{constructor(_0x2f11d8,_0x19b3e7){this['_transformService']=_0x2f11d8,this['_renderManagerService']=_0x19b3e7;}[_0x2cf95d(0x470)](_0x39322e){const _0x432bbf=_0x2cf95d;this[_0x432bbf(0x293)](_0x39322e),this[_0x432bbf(0x3ed)](_0x39322e);}['transformRemoteChangeset'](_0xbb4cb3){const _0x50f453=_0x2cf95d,{unitID:_0x59ff37}=_0xbb4cb3,_0x39bdcf=this['_renderManagerService'][_0x50f453(0x363)](_0x59ff37)[_0x50f453(0x368)](_0x1f0246[_0x50f453(0x2ff)]),{redoCache:_0x4376bc}=_0x39bdcf[_0x50f453(0x1a8)]();if(_0x4376bc[_0x50f453(0x3e6)]===0x0)return _0xbb4cb3;let _0x3ff134=_0x2ef637['Tools']['deepClone'](_0xbb4cb3[_0x50f453(0x27f)][0x0]);for(let _0x1e648c=0x0;_0x1e648c<_0x4376bc[_0x50f453(0x3e6)];_0x1e648c++){const _0x5358be={'id':'doc.mutation.rich-text-editing','params':{..._0x4376bc[_0x1e648c]}},_0xac3ce0=this[_0x50f453(0x1a9)][_0x50f453(0x29d)](_0x3ff134,_0x5358be,!0x1);if(_0xffee1f[_0x50f453(0x1a0)](_0xac3ce0))throw _0xac3ce0[_0x50f453(0x3f3)];_0x3ff134=_0xac3ce0['m1Prime'];}return{..._0x2ef637[_0x50f453(0x40a)][_0x50f453(0x24e)](_0xbb4cb3),'mutations':[_0x3ff134]};}[_0x2cf95d(0x293)](_0x29bea8){const _0x5bb9a9=_0x2cf95d,{unitID:_0x313efa}=_0x29bea8,_0x5613ea=this['_renderManagerService']['getRenderById'](_0x313efa)[_0x5bb9a9(0x368)](_0x1f0246[_0x5bb9a9(0x2ff)]),{undoCache:_0x763604,redoCache:_0x1c2708}=_0x5613ea[_0x5bb9a9(0x1a8)]();if(_0x763604['length']===0x0||_0x1c2708[_0x5bb9a9(0x3e6)]===0x0)return;const _0x1849dd=[],_0x55b8a0=[];let _0x2c7b6a=_0x2ef637['Tools'][_0x5bb9a9(0x24e)](_0x29bea8[_0x5bb9a9(0x27f)][0x0]),_0x573f5f=_0x2ef637[_0x5bb9a9(0x40a)][_0x5bb9a9(0x24e)](_0x29bea8[_0x5bb9a9(0x27f)][0x0]);for(let _0x5de896=_0x763604[_0x5bb9a9(0x3e6)]-0x1;_0x5de896>=0x0;_0x5de896--){const _0x20f7b4={'id':_0x5bb9a9(0x426),'params':{..._0x763604[_0x5de896]}},_0x1b3d34={'id':_0x5bb9a9(0x426),'params':{..._0x1c2708[_0x5de896]}},_0x5a89e8=this['_transformService'][_0x5bb9a9(0x29d)](_0x2c7b6a,_0x20f7b4,!0x1),_0x1a3f0f=this[_0x5bb9a9(0x1a9)][_0x5bb9a9(0x29d)](_0x573f5f,_0x1b3d34,!0x1);if(_0xffee1f[_0x5bb9a9(0x1a0)](_0x5a89e8))throw _0x5a89e8[_0x5bb9a9(0x3f3)];if(_0xffee1f[_0x5bb9a9(0x1a0)](_0x1a3f0f))throw _0x1a3f0f[_0x5bb9a9(0x3f3)];_0x1849dd[_0x5bb9a9(0x372)](_0x5a89e8[_0x5bb9a9(0x465)][_0x5bb9a9(0x23b)]),_0x55b8a0['unshift'](_0x1a3f0f['m2Prime'][_0x5bb9a9(0x23b)]),_0x2c7b6a=_0x5a89e8['m1Prime'],_0x573f5f=_0x1a3f0f[_0x5bb9a9(0x280)];}_0x5613ea[_0x5bb9a9(0x2c9)]({'undoCache':_0x1849dd,'redoCache':_0x55b8a0});}[_0x2cf95d(0x3ed)](_0x33a302){const _0x4d20de=_0x2cf95d,{unitID:_0x1465cb}=_0x33a302,_0x199fdb=this['_renderManagerService'][_0x4d20de(0x363)](_0x1465cb)['with'](_0x1f0246['DocIMEInputManagerService']),_0x137622=_0x199fdb[_0x4d20de(0x1aa)]();if(_0x137622==null)return;const _0x4e14bf=[{'id':_0x4d20de(0x426),'params':{'unitId':_0x33a302[_0x4d20de(0x406)],'actions':null,'textRanges':[_0x137622]}}],_0x49f62a=this[_0x4d20de(0x1a9)]['transformMutationsWithChangeset'](_0x33a302,_0x4e14bf);if(!_0xffee1f[_0x4d20de(0x1b9)](_0x49f62a))throw _0x49f62a['error'];const _0x5af7cb=_0x49f62a[_0x4d20de(0x465)][0x0][_0x4d20de(0x23b)][_0x4d20de(0x32f)];Array['isArray'](_0x5af7cb)&&_0x5af7cb[_0x4d20de(0x3e6)]&&_0x199fdb[_0x4d20de(0x2ad)](_0x5af7cb[0x0]);}};_0x241a2c=_0x2df015([_0x5e1b7a(0x0,_0xffee1f[_0x2cf95d(0x1e8)]),_0x5e1b7a(0x1,_0x35408c[_0x2cf95d(0x253)])],_0x241a2c);var _0x2dbb35=Object[_0x2cf95d(0x457)],_0xe68109=(_0x3acfef,_0x2c8c8f,_0x21b2c9,_0x2d8b6b)=>{const _0x2f4d09=_0x2cf95d;for(var _0x2a95e1=_0x2d8b6b>0x1?void 0x0:_0x2d8b6b?_0x2dbb35(_0x2c8c8f,_0x21b2c9):_0x2c8c8f,_0x5e1f3e=_0x3acfef[_0x2f4d09(0x3e6)]-0x1,_0x15902d;_0x5e1f3e>=0x0;_0x5e1f3e--)(_0x15902d=_0x3acfef[_0x5e1f3e])&&(_0x2a95e1=_0x15902d(_0x2a95e1)||_0x2a95e1);return _0x2a95e1;},_0x19b5c3=(_0x437a33,_0x6f9502)=>(_0x455bc8,_0x23106b)=>_0x6f9502(_0x455bc8,_0x23106b,_0x437a33);let _0x184a1d=class{constructor(_0x39689b,_0x2d7b72,_0x19e210){const _0xa9704f=_0x2cf95d;this[_0xa9704f(0x30c)]=_0x39689b,this['_transformService']=_0x2d7b72,this[_0xa9704f(0x45a)]=_0x19e210;}[_0x2cf95d(0x44a)](_0x2af817){const _0x51d9f1=_0x2cf95d;this[_0x51d9f1(0x2b6)](_0x2af817);}[_0x2cf95d(0x422)](_0x128072){const _0x1973e5=_0x2cf95d,{unitID:_0x50d26f}=_0x128072,{collaboration:_0x91c0c6}=this[_0x1973e5(0x45a)][_0x1973e5(0x1c8)](_0x50d26f);if(_0x91c0c6['length']===0x0)return _0x128072;let _0x8322db=_0x2ef637[_0x1973e5(0x40a)][_0x1973e5(0x24e)](_0x128072[_0x1973e5(0x27f)][0x0]);for(let _0x16b4e1=0x0;_0x16b4e1<_0x91c0c6[_0x1973e5(0x3e6)];_0x16b4e1++){const _0x932694={'id':_0x1973e5(0x426),'params':{'unitId':_0x91c0c6[_0x16b4e1][_0x1973e5(0x1b6)],..._0x91c0c6[_0x16b4e1][_0x1973e5(0x2c7)]}},_0x49a2b7=this['_transformService']['transformMutation'](_0x8322db,_0x932694,!0x1);if(_0xffee1f['isTransformMutationFailure'](_0x49a2b7))throw _0x49a2b7['error'];_0x8322db=_0x49a2b7['m1Prime'];}return{..._0x2ef637[_0x1973e5(0x40a)][_0x1973e5(0x24e)](_0x128072),'mutations':[_0x8322db]};}[_0x2cf95d(0x2b6)](_0x26ddcb){const _0x72a411=_0x2cf95d,{unitID:_0x3c7056}=_0x26ddcb,{history:_0x469518,collaboration:_0x11fb91}=this[_0x72a411(0x45a)][_0x72a411(0x1c8)](_0x3c7056);if(_0x469518[_0x72a411(0x3e6)]===0x0&&_0x11fb91[_0x72a411(0x3e6)]===0x0)return;const _0x1498da=[],_0x24bd01=[];let _0x581774=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb[_0x72a411(0x27f)][0x0]),_0x15b1c9=_0x2ef637[_0x72a411(0x40a)]['deepClone'](_0x26ddcb[_0x72a411(0x27f)][0x0]);for(let _0x435b75=_0x469518[_0x72a411(0x3e6)]-0x1;_0x435b75>=0x0;_0x435b75--){const _0x18e844={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x469518[_0x435b75][_0x72a411(0x1b6)],..._0x469518[_0x435b75][_0x72a411(0x394)]}},_0x5d5455={'id':_0x72a411(0x426),'params':{'unitId':_0x469518[_0x435b75][_0x72a411(0x1b6)],..._0x469518[_0x435b75][_0x72a411(0x2c7)]}},_0x501479=this['_transformService'][_0x72a411(0x29d)](_0x581774,_0x18e844,!0x1),_0xadd9ee=this[_0x72a411(0x1a9)][_0x72a411(0x29d)](_0x15b1c9,_0x5d5455,!0x1);if(_0xffee1f[_0x72a411(0x1a0)](_0x501479))throw _0x501479[_0x72a411(0x3f3)];if(_0xffee1f[_0x72a411(0x1a0)](_0xadd9ee))throw _0xadd9ee[_0x72a411(0x3f3)];_0x1498da[_0x72a411(0x372)]({..._0x469518[_0x435b75],'undoState':_0x501479['m2Prime'][_0x72a411(0x23b)],'redoState':_0xadd9ee[_0x72a411(0x465)][_0x72a411(0x23b)]}),_0x581774=_0x501479[_0x72a411(0x280)],_0x15b1c9=_0xadd9ee['m1Prime'];}_0x581774=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb['mutations'][0x0]),_0x15b1c9=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb['mutations'][0x0]);for(let _0x575e4d=_0x11fb91[_0x72a411(0x3e6)]-0x1;_0x575e4d>=0x0;_0x575e4d--){const _0x2a07e6={'id':_0x72a411(0x426),'params':{'unitId':_0x11fb91[_0x575e4d][_0x72a411(0x1b6)],..._0x11fb91[_0x575e4d]['undoState']}},_0x2e10c2={'id':_0x72a411(0x426),'params':{'unitId':_0x11fb91[_0x575e4d]['unitId'],..._0x11fb91[_0x575e4d][_0x72a411(0x2c7)]}},_0x435219=this[_0x72a411(0x1a9)][_0x72a411(0x29d)](_0x581774,_0x2a07e6,!0x1),_0x47d212=this[_0x72a411(0x1a9)]['transformMutation'](_0x15b1c9,_0x2e10c2,!0x1);if(_0xffee1f[_0x72a411(0x1a0)](_0x435219))throw _0x435219[_0x72a411(0x3f3)];if(_0xffee1f[_0x72a411(0x1a0)](_0x47d212))throw _0x47d212[_0x72a411(0x3f3)];_0x24bd01[_0x72a411(0x372)]({..._0x11fb91[_0x575e4d],'undoState':_0x435219[_0x72a411(0x465)][_0x72a411(0x23b)],'redoState':_0x47d212[_0x72a411(0x465)]['params']}),_0x581774=_0x435219[_0x72a411(0x280)],_0x15b1c9=_0x47d212['m1Prime'];}this[_0x72a411(0x45a)][_0x72a411(0x2e9)](_0x3c7056,{'history':_0x1498da,'collaboration':_0x24bd01});}};_0x184a1d=_0xe68109([_0x19b5c3(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x19b5c3(0x1,_0xffee1f[_0x2cf95d(0x1e8)]),_0x19b5c3(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x1f0246[_0x2cf95d(0x327)]))],_0x184a1d);var _0x5b57a6=Object['getOwnPropertyDescriptor'],_0x402166=(_0x13aba3,_0x223b40,_0x31a374,_0x3d85e1)=>{for(var _0x2a022f=_0x3d85e1>0x1?void 0x0:_0x3d85e1?_0x5b57a6(_0x223b40,_0x31a374):_0x223b40,_0x50cd98=_0x13aba3['length']-0x1,_0x1b5e09;_0x50cd98>=0x0;_0x50cd98--)(_0x1b5e09=_0x13aba3[_0x50cd98])&&(_0x2a022f=_0x1b5e09(_0x2a022f)||_0x2a022f);return _0x2a022f;},_0x5c1cb9=(_0x1e24d3,_0x124206)=>(_0x5a0e08,_0x359380)=>_0x124206(_0x5a0e08,_0x359380,_0x1e24d3);let _0x2621ee=class{constructor(_0x1222ef,_0x5693e7){const _0x421736=_0x2cf95d;this[_0x421736(0x30c)]=_0x1222ef,this[_0x421736(0x1a9)]=_0x5693e7;}[_0x2cf95d(0x283)](_0x52f342){const _0x3c8277=_0x2cf95d;var _0x24182f;const _0x3ad21d=this[_0x3c8277(0x30c)]['get'](_0x431f46[_0x3c8277(0x43c)]),_0x4a6d70=(_0x24182f=_0x3ad21d['getDocRanges']())!=null?_0x24182f:[];if(_0x4a6d70[_0x3c8277(0x3e6)]===0x0)return;const _0x9eac9f=_0x52f342[_0x3c8277(0x406)],_0x4e941f=[{'id':_0x3c8277(0x426),'params':{'unitId':_0x9eac9f,'actions':null,'textRanges':_0x4a6d70}}],_0x1820d9=this[_0x3c8277(0x1a9)][_0x3c8277(0x28d)](_0x52f342,_0x4e941f);if(!_0xffee1f[_0x3c8277(0x1b9)](_0x1820d9))throw _0x1820d9[_0x3c8277(0x3f3)];const _0x303943=_0x1820d9['m2Prime'][0x0]['params'][_0x3c8277(0x32f)];Array[_0x3c8277(0x2a9)](_0x303943)&&_0x303943[_0x3c8277(0x3e6)]&&_0x3ad21d[_0x3c8277(0x43f)](_0x303943,{'unitId':_0x9eac9f,'subUnitId':_0x9eac9f},!0x1);}};_0x2621ee=_0x402166([_0x5c1cb9(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x5c1cb9(0x1,_0xffee1f[_0x2cf95d(0x1e8)])],_0x2621ee);var _0x45cf44=Object['getOwnPropertyDescriptor'],_0x547533=(_0xf624f4,_0x1e8065,_0x1b1aaf,_0x30d76a)=>{const _0x13e8bc=_0x2cf95d;for(var _0x5d9334=_0x30d76a>0x1?void 0x0:_0x30d76a?_0x45cf44(_0x1e8065,_0x1b1aaf):_0x1e8065,_0x351b9a=_0xf624f4[_0x13e8bc(0x3e6)]-0x1,_0x492c99;_0x351b9a>=0x0;_0x351b9a--)(_0x492c99=_0xf624f4[_0x351b9a])&&(_0x5d9334=_0x492c99(_0x5d9334)||_0x5d9334);return _0x5d9334;},_0x46fb6c=(_0x25ae0c,_0x4f11c5)=>(_0x3ae0f0,_0x5b7a40)=>_0x4f11c5(_0x3ae0f0,_0x5b7a40,_0x25ae0c);let _0x40a03e=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x4997a7,_0x4bbcc6,_0x226cd6,_0x61bdd9,_0xe2f10c,_0x443a9f,_0x2babc0,_0x51cfb3){const _0x4f4f08=_0x2cf95d;super(),_0x536638(this,_0x4f4f08(0x203),new _0x35d2e5['BehaviorSubject'](_0x5f2bfa['CollaborationStatus'][_0x4f4f08(0x2fe)])),(this[_0x4f4f08(0x45a)]=_0x4997a7,this[_0x4f4f08(0x2a7)]=_0x4bbcc6,this['_docTransformIMECacheService']=_0x226cd6,this[_0x4f4f08(0x2c1)]=_0x61bdd9,this['_docTransformSelectionsService']=_0xe2f10c,this[_0x4f4f08(0x43e)]=_0x443a9f,this['_messageService']=_0x2babc0,this['_localeService']=_0x51cfb3,this[_0x4f4f08(0x214)]());}[_0x2cf95d(0x214)](){const _0x2ffea7=_0x2cf95d;this[_0x2ffea7(0x2c3)](this['_collaborationController']['entityInit$'][_0x2ffea7(0x335)](_0x13ed94=>{const _0x3a9936=_0x2ffea7,_0x11af21=this[_0x3a9936(0x45a)][_0x3a9936(0x223)][_0x3a9936(0x335)](_0x345c39=>{const _0x1e2ba6=_0x3a9936;if(_0x345c39==null)return;const {unitId:_0x3a121a,redoState:_0x4c2b7a,commandId:_0x5e8986}=_0x345c39;if(_0x3a121a!==_0x13ed94[_0x1e2ba6(0x406)])return;const _0x3ec80d={'id':_0x5e8986,'type':_0x2ef637[_0x1e2ba6(0x337)]['MUTATION'],'params':{'unitId':_0x3a121a,'actions':_0x4c2b7a['actions'],'textRanges':null}};_0x13ed94['onLocalMutation'](_0x3ec80d);});if(_0x13ed94[_0x3a9936(0x2c3)](_0x11af21),_0x13ed94 instanceof _0x5f2bfa['DocCollaborationEntity']){const _0x44141a={'onTransformIME':_0x1b31d2=>this['_docTransformIMECacheService'][_0x3a9936(0x470)](_0x1b31d2),'onTransformState':_0x559d5e=>this[_0x3a9936(0x2c1)][_0x3a9936(0x44a)](_0x559d5e),'onTransformSelections':_0x4ae0b8=>this[_0x3a9936(0x3c9)][_0x3a9936(0x283)](_0x4ae0b8),'onSyncEditingCollabCursor':_0x5a7081=>this[_0x3a9936(0x43e)][_0x3a9936(0x31c)](_0x5a7081),'onTransformRemoteChangesetByIMECache':_0x328b5c=>this[_0x3a9936(0x3e5)][_0x3a9936(0x422)](_0x328b5c),'onTransformRemoteChangesetByStateCache':_0x33198c=>this[_0x3a9936(0x2c1)][_0x3a9936(0x422)](_0x33198c)};_0x13ed94[_0x3a9936(0x3f9)](_0x44141a);}}));}};_0x40a03e=_0x547533([_0x46fb6c(0x0,_0x2ef637['Inject'](_0x1f0246[_0x2cf95d(0x327)])),_0x46fb6c(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x37b)])),_0x46fb6c(0x2,_0x2ef637['Inject'](_0x241a2c)),_0x46fb6c(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x184a1d)),_0x46fb6c(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x2621ee)),_0x46fb6c(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x5419b8)),_0x46fb6c(0x6,_0xbf4494[_0x2cf95d(0x1ce)]),_0x46fb6c(0x7,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['LocaleService']))],_0x40a03e);var _0x1c5d04=(_0x4f9b11=>(_0x4f9b11[_0x4f9b11[_0x2cf95d(0x354)]=0x0]='UNDEFINED',_0x4f9b11[_0x4f9b11['OK']=0x1]='OK',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x42d)]=0x2]='INTERNAL_ERROR',_0x4f9b11[_0x4f9b11['PERMISSION_DENIED']=0x3]=_0x2cf95d(0x287),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2be)]=0x4]=_0x2cf95d(0x2be),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bc)]=0x5]=_0x2cf95d(0x1bc),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x431)]=0x6]='ALREADY_EXISTS',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3ec)]=0x7]=_0x2cf95d(0x3ec),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x286)]=0x8]=_0x2cf95d(0x286),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1f7)]=0x9]='COMPLETION_FINISHED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x453)]=0xa]=_0x2cf95d(0x453),_0x4f9b11[_0x4f9b11['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2cf95d(0x2c6),_0x4f9b11[_0x4f9b11['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2cf95d(0x2a6),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bd)]=0xd]=_0x2cf95d(0x1bd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x333)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3d3)]=0xf]=_0x2cf95d(0x3d3),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1c4)]=0x10]=_0x2cf95d(0x1c4),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x46f)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4f9b11[_0x4f9b11['ERROR_AGAIN']=0x65]=_0x2cf95d(0x2bd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1d8)]=0xc9]=_0x2cf95d(0x1d8),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x220)]=0xca]=_0x2cf95d(0x220),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x213)]=0x1389]=_0x2cf95d(0x213),_0x4f9b11[_0x4f9b11['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3a3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x295)]=0x1773]=_0x2cf95d(0x295),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3cb)]=0x1b59]=_0x2cf95d(0x3cb),_0x4f9b11[_0x4f9b11['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2cf95d(0x3f7),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x340)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x261)]=0x1b5c]=_0x2cf95d(0x261),_0x4f9b11[_0x4f9b11['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1a5)]=0x1f41]=_0x2cf95d(0x1a5),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x200)]=0x2329]=_0x2cf95d(0x200),_0x4f9b11[_0x4f9b11['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3a6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x294)]=0x232c]=_0x2cf95d(0x294),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2e7)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x208)]=0x2711]=_0x2cf95d(0x208),_0x4f9b11[_0x4f9b11['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2cf95d(0x2b9),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x42f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x230)]=0x2714]=_0x2cf95d(0x230),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x360)]=0x271a]=_0x2cf95d(0x360),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1b5)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x28b)]=0x271c]=_0x2cf95d(0x28b),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x282)]=0x271d]=_0x2cf95d(0x282),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3b9)]=0x271e]=_0x2cf95d(0x3b9),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x445)]=0x271f]=_0x2cf95d(0x445),_0x4f9b11[_0x4f9b11['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2cf95d(0x371),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1d4)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x40d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1e0)]=0x2ee2]='INVALID_INVITE_CODE',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x391)]=0x2ee3]=_0x2cf95d(0x391),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x386)]=0x2ee4]=_0x2cf95d(0x386),_0x4f9b11[_0x4f9b11['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2cf95d(0x2eb),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x22b)]=0x32c9]=_0x2cf95d(0x22b),_0x4f9b11[_0x4f9b11['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2cf95d(0x231),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x456)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4f9b11[_0x4f9b11['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x222)]=0x36b2]=_0x2cf95d(0x222),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x36d)]=0x36b3]=_0x2cf95d(0x36d),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x26f)]=0x36b4]=_0x2cf95d(0x26f),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x210)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x344)]=0x3716]=_0x2cf95d(0x344),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x449)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x405)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bf)]=0x3a99]=_0x2cf95d(0x1bf),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x270)]=0x3a9a]=_0x2cf95d(0x270),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2aa)]=0x3a9b]=_0x2cf95d(0x2aa),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2fd)]=0x3a9c]=_0x2cf95d(0x2fd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x366)]=0x3a9d]=_0x2cf95d(0x366),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2d4)]=0x3a9e]=_0x2cf95d(0x2d4),_0x4f9b11[_0x4f9b11['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x29b)]=0x3e81]=_0x2cf95d(0x29b),_0x4f9b11[_0x4f9b11['UNRECOGNIZED']=-0x1]=_0x2cf95d(0x33f),_0x4f9b11))(_0x1c5d04||{});function _0x1d5e8f(_0x26cb5d){const _0x13e478=_0x2cf95d;var _0x5cbd48,_0x3d885e;const _0x384a09=(_0x5cbd48=_0x26cb5d[_0x13e478(0x246)])==null?void 0x0:_0x5cbd48[_0x13e478(0x2db)],_0x518039=((_0x3d885e=_0x26cb5d[_0x13e478(0x246)])==null?void 0x0:_0x3d885e[_0x13e478(0x3cf)])||0x0;return _0x384a09===_0x53a2c3[_0x13e478(0x2e5)][_0x13e478(0x2c5)]&&_0x518039>0x0;}function _0x546c57(_0x72d1fb){const _0x31e015=_0x2cf95d;return _0x72d1fb['functionsExecutedState']===_0x53a2c3[_0x31e015(0x468)][_0x31e015(0x347)];}var _0x5206b9=Object[_0x2cf95d(0x457)],_0xaff30f=(_0x28f5dd,_0x507002,_0x3c4cd7,_0x6c3f82)=>{for(var _0x1caec3=_0x6c3f82>0x1?void 0x0:_0x6c3f82?_0x5206b9(_0x507002,_0x3c4cd7):_0x507002,_0x59e007=_0x28f5dd['length']-0x1,_0x24a9ee;_0x59e007>=0x0;_0x59e007--)(_0x24a9ee=_0x28f5dd[_0x59e007])&&(_0x1caec3=_0x24a9ee(_0x1caec3)||_0x1caec3);return _0x1caec3;},_0x4e0209=(_0x5af526,_0x900473)=>(_0xb26a52,_0xedf74e)=>_0x900473(_0xb26a52,_0xedf74e,_0x5af526);const _0x22ef23=_0x2cf95d(0x266),_0x26361f=_0x2cf95d(0x2b2),_0x3e239e=_0x2cf95d(0x44b);let _0x1805a9=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x108d04,_0xeac7e4,_0x7bfbf5,_0x5efee7,_0x3bd37d,_0x312ea6,_0x2f7dd4){const _0x594401=_0x2cf95d;super(),_0x536638(this,'_pollingInterval',null),_0x536638(this,_0x594401(0x296),0x0),_0x536638(this,_0x594401(0x244),0x0),_0x536638(this,_0x594401(0x267),[]),_0x536638(this,'_lastResponseTimestamp',0x0),(this[_0x594401(0x3aa)]=_0x108d04,this[_0x594401(0x3a0)]=_0xeac7e4,this[_0x594401(0x23d)]=_0x7bfbf5,this[_0x594401(0x435)]=_0x5efee7,this[_0x594401(0x3f0)]=_0x3bd37d,this[_0x594401(0x43a)]=_0x312ea6,this[_0x594401(0x33d)]=_0x2f7dd4,this['_initCommandInterceptor']());}[_0x2cf95d(0x414)](){const _0x3dfdf6=_0x2cf95d;this[_0x3dfdf6(0x2c3)](this['_commandService'][_0x3dfdf6(0x3d6)]((_0x4568e1,_0x3f19fd)=>{const _0x18687e=_0x3dfdf6;var _0x30d1f9;if(_0x4568e1['id']!==_0x53a2c3[_0x18687e(0x420)]['id'])return;const _0xf755aa=_0x4568e1['params'];if(!this[_0x18687e(0x3f6)]((_0x30d1f9=_0xf755aa[_0x18687e(0x21d)])!=null?_0x30d1f9:[]))return;if(!this[_0x18687e(0x413)]())throw this[_0x18687e(0x1db)](_0x4568e1,_0x3f19fd),this['_showGuardMessage'](),new _0x2ef637[(_0x18687e(0x2d5))]();})),this[_0x3dfdf6(0x2c3)](this[_0x3dfdf6(0x3a0)][_0x3dfdf6(0x289)]((_0x331fe5,_0x546941)=>{const _0xc3a6c4=_0x3dfdf6;if(_0x331fe5['id']!==_0x53a2c3[_0xc3a6c4(0x26c)]['id'])return;const _0x588cb3=_0x331fe5[_0xc3a6c4(0x23b)];if(_0x1d5e8f(_0x588cb3)){const _0x476ae9=_0x2ef637[_0xc3a6c4(0x2ec)]();this[_0xc3a6c4(0x267)][_0xc3a6c4(0x316)](_0x476ae9),this['_startCalculationLimit'](_0x476ae9);}else{if(_0x546c57(_0x588cb3)&&this[_0xc3a6c4(0x267)]['length']>0x0){const _0x5c1b0e=this[_0xc3a6c4(0x267)][_0xc3a6c4(0x1ca)]();this[_0xc3a6c4(0x410)](_0x5c1b0e);}}}));}[_0x2cf95d(0x359)](){const _0x1f4946=_0x2cf95d;super[_0x1f4946(0x359)](),this[_0x1f4946(0x3db)](),this[_0x1f4946(0x267)]=[],this['_currentUsage']=0x0,this[_0x1f4946(0x296)]=0x0,this[_0x1f4946(0x2fb)]=0x0;}async[_0x2cf95d(0x1db)](_0x440d57,_0x3ea8e2){const _0x1ea086=_0x2cf95d;for(let _0x3c95db=0x0;_0x3c95db<0x1e;_0x3c95db++)try{if(await this[_0x1ea086(0x32b)](),this[_0x1ea086(0x413)]()){this[_0x1ea086(0x3e8)](_0x440d57,_0x3ea8e2),this['_messageService'][_0x1ea086(0x3bb)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x364f41[_0x1ea086(0x268)][_0x1ea086(0x2c4)]});return;}await new Promise(_0x37f19f=>{const _0x51ff99=_0x1ea086;this[_0x51ff99(0x409)]=window[_0x51ff99(0x358)](_0x37f19f,0x3e8);});}catch(_0x3c13be){this[_0x1ea086(0x43a)][_0x1ea086(0x3f3)](_0x3c13be);}this[_0x1ea086(0x3aa)][_0x1ea086(0x3bb)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x364f41[_0x1ea086(0x268)][_0x1ea086(0x30a)]});}['_applyCommand'](_0x50019c,_0x5292e8){const _0x1b7ce7=_0x2cf95d;try{this[_0x1b7ce7(0x3a0)][_0x1b7ce7(0x311)](_0x50019c['id'],_0x50019c['params'],_0x5292e8);}catch(_0x2d9952){this[_0x1b7ce7(0x43a)][_0x1b7ce7(0x3f3)](_0x2d9952);}}[_0x2cf95d(0x277)](_0x29a993,_0x23b40e){const _0x3c4199=_0x2cf95d;_0x23b40e<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x23b40e,this[_0x3c4199(0x296)]=Number['parseInt'](_0x29a993[_0x3c4199(0x440)]),this[_0x3c4199(0x244)]=Number[_0x3c4199(0x376)](_0x29a993[_0x3c4199(0x290)]));}async[_0x2cf95d(0x35d)](_0x26ffd0){const _0xc5d433=_0x2cf95d;var _0x17f04e,_0x3a8bac;const _0x189ab4=Date['now']();try{const _0x4c40c1=((_0x17f04e=this[_0xc5d433(0x23d)][_0xc5d433(0x361)](_0x5f2bfa[_0xc5d433(0x22e)]))==null?void 0x0:_0x17f04e[_0xc5d433(0x2bb)])||_0x26361f,_0x27c960=(await this[_0xc5d433(0x435)][_0xc5d433(0x3ef)](_0x4c40c1,{'body':JSON['stringify']({'taskId':_0x26ffd0})}))[_0xc5d433(0x3da)];if(((_0x3a8bac=_0x27c960['error'])==null?void 0x0:_0x3a8bac['code'])!==_0x1c5d04['OK'])return;this[_0xc5d433(0x277)](_0x27c960[_0xc5d433(0x357)],_0x189ab4);}catch(_0x204523){this[_0xc5d433(0x43a)][_0xc5d433(0x3f3)](_0x204523);}}async[_0x2cf95d(0x32b)](_0x16110e){const _0x495ef2=_0x2cf95d;var _0x4bab2c,_0x173d5a;const _0x4442eb=Date[_0x495ef2(0x28f)]();try{const _0x20f7d2=((_0x4bab2c=this['_configService']['getConfig'](_0x5f2bfa[_0x495ef2(0x22e)]))==null?void 0x0:_0x4bab2c[_0x495ef2(0x434)])||_0x22ef23,_0x1f523a=_0x16110e?_0x20f7d2+_0x495ef2(0x3ca)+encodeURIComponent(_0x16110e):_0x20f7d2,_0x479654=(await this['_httpService']['get'](_0x1f523a))[_0x495ef2(0x3da)];if(((_0x173d5a=_0x479654[_0x495ef2(0x3f3)])==null?void 0x0:_0x173d5a['code'])!==_0x1c5d04['OK'])return;this['_setFormulaLimitStatus'](_0x479654[_0x495ef2(0x357)],_0x4442eb);}catch(_0x209d53){this[_0x495ef2(0x43a)][_0x495ef2(0x3f3)](_0x209d53);}}async['_releaseCalculationLimit'](_0x235fea){const _0x4b821f=_0x2cf95d;var _0xe37e8d,_0x4b906c;const _0x3eceae=Date[_0x4b821f(0x28f)]();try{const _0x1123f5=((_0xe37e8d=this[_0x4b821f(0x23d)][_0x4b821f(0x361)](_0x5f2bfa['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xe37e8d[_0x4b821f(0x255)])||_0x3e239e,_0x27bf3a=(await this[_0x4b821f(0x435)][_0x4b821f(0x3ef)](_0x1123f5,{'body':JSON[_0x4b821f(0x39f)]({'taskId':_0x235fea})}))[_0x4b821f(0x3da)];if(((_0x4b906c=_0x27bf3a[_0x4b821f(0x3f3)])==null?void 0x0:_0x4b906c['code'])!==_0x1c5d04['OK'])return;this[_0x4b821f(0x277)](_0x27bf3a[_0x4b821f(0x357)],_0x3eceae);}catch(_0x18df84){this['_logService'][_0x4b821f(0x3f3)](_0x18df84);}}[_0x2cf95d(0x413)](){const _0x1d6d2a=_0x2cf95d;return this[_0x1d6d2a(0x296)]===0x0?!0x0:this[_0x1d6d2a(0x296)]-this[_0x1d6d2a(0x244)]>0x0;}['_clearPolling'](){const _0x220188=_0x2cf95d;this['_pollingInterval']&&(clearTimeout(this[_0x220188(0x409)]),this[_0x220188(0x409)]=null);}['_showGuardMessage'](){const _0x308d41=_0x2cf95d;this['_messageService']['show']({'content':this[_0x308d41(0x33d)]['t'](_0x308d41(0x44d)),'type':_0x364f41[_0x308d41(0x268)][_0x308d41(0x2dc)]});}[_0x2cf95d(0x3f6)](_0x416d48){const _0x3b59f4=_0x2cf95d;for(const _0x13b8eb of _0x416d48){const {unitId:_0x4c669b,sheetId:_0x33daac,range:_0x35c634}=_0x13b8eb,_0x26bf46=this[_0x3b59f4(0x3f0)][_0x3b59f4(0x221)](_0x4c669b);if(!_0x26bf46)continue;const _0x96b0cd=_0x26bf46[_0x3b59f4(0x3ac)](_0x33daac);if(!_0x96b0cd)continue;const _0x6523a1=_0x96b0cd[_0x3b59f4(0x1a4)]();for(let _0x29a67c=_0x35c634[_0x3b59f4(0x30d)];_0x29a67c<=_0x35c634['endRow'];_0x29a67c++)for(let _0x497e81=_0x35c634[_0x3b59f4(0x1f3)];_0x497e81<=_0x35c634[_0x3b59f4(0x1f5)];_0x497e81++){const _0x33a24f=_0x6523a1[_0x3b59f4(0x1f9)](_0x29a67c,_0x497e81);if(_0x33a24f&&(_0x2ef637['isFormulaString'](_0x33a24f['f'])||_0x2ef637[_0x3b59f4(0x462)](_0x33a24f['si'])))return!0x0;}}return!0x1;}};_0x1805a9=_0xaff30f([_0x4e0209(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0xbf4494[_0x2cf95d(0x1ce)])),_0x4e0209(0x1,_0x2ef637[_0x2cf95d(0x412)]),_0x4e0209(0x2,_0x2ef637[_0x2cf95d(0x1e1)]),_0x4e0209(0x3,_0x2ef637['Inject'](_0x416c4d[_0x2cf95d(0x276)])),_0x4e0209(0x4,_0x2ef637['IUniverInstanceService']),_0x4e0209(0x5,_0x2ef637[_0x2cf95d(0x387)]),_0x4e0209(0x6,_0x2ef637['Inject'](_0x2ef637[_0x2cf95d(0x33a)]))],_0x1805a9);var _0x5d9a1e=Object[_0x2cf95d(0x457)],_0xd28c35=(_0x1c44e0,_0x1e2d2f,_0x16cbb1,_0x456ebf)=>{const _0x12636b=_0x2cf95d;for(var _0x2e63d7=_0x456ebf>0x1?void 0x0:_0x456ebf?_0x5d9a1e(_0x1e2d2f,_0x16cbb1):_0x1e2d2f,_0x35753e=_0x1c44e0[_0x12636b(0x3e6)]-0x1,_0x325957;_0x35753e>=0x0;_0x35753e--)(_0x325957=_0x1c44e0[_0x35753e])&&(_0x2e63d7=_0x325957(_0x2e63d7)||_0x2e63d7);return _0x2e63d7;},_0x40fe95=(_0x2ce5ce,_0x111824)=>(_0x4be77a,_0x522688)=>_0x111824(_0x4be77a,_0x522688,_0x2ce5ce);let _0x1d3d25=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x33aad3,_0x1e4495,_0x96e8b8){const _0x4a83c0=_0x2cf95d;super(),_0x536638(this,'_cachedData',new Map()),_0x536638(this,'_saveTaskMap',new Map()),_0x536638(this,_0x4a83c0(0x36a),!0x1),(this['_configService']=_0x33aad3,this[_0x4a83c0(0x309)]=_0x1e4495,this[_0x4a83c0(0x448)]=_0x96e8b8);}[_0x2cf95d(0x450)](){const _0x41d41a=_0x2cf95d;this[_0x41d41a(0x36a)]=!0x0;}[_0x2cf95d(0x38b)](){const _0x1ce53f=_0x2cf95d;this[_0x1ce53f(0x36a)]=!0x1;}get['saveTaskMap'](){const _0xa9a78=_0x2cf95d;return this[_0xa9a78(0x3fe)];}['dispose'](){const _0x4318d5=_0x2cf95d;this[_0x4318d5(0x41a)]()[_0x4318d5(0x1c7)](()=>super[_0x4318d5(0x359)]());}async[_0x2cf95d(0x224)](_0xd02876){const _0xa1a37f=_0x2cf95d;return this[_0xa1a37f(0x36a)]?null:this['_localStorageService']['getItem'](_0x5f2bfa[_0xa1a37f(0x201)](_0xd02876));}async['saveOfflineData'](_0x1e1a0e,_0x5ae2cc){const _0x57a928=_0x2cf95d;return!!this[_0x57a928(0x309)][_0x57a928(0x2c8)](_0x1e1a0e,_0x5ae2cc);}[_0x2cf95d(0x32d)](_0x2e3041,_0x2552b1,_0x48a3e1,_0x2e415a){const _0x5f3ae6=_0x2cf95d,_0x315e66=this[_0x5f3ae6(0x448)]['getCurrentRevOfUnit'](_0x2e3041);this[_0x5f3ae6(0x374)][_0x5f3ae6(0x2f5)](_0x2e3041,{'unitID':_0x2e3041,'type':_0x2552b1,'awaitingChangeset':_0x48a3e1,'mutations':_0x2e415a,'rev':_0x315e66}),this[_0x5f3ae6(0x3fe)]['has'](_0x2e3041)||this[_0x5f3ae6(0x471)](_0x2e3041);}[_0x2cf95d(0x471)](_0x58665d){const _0x355e0e=_0x2cf95d,_0x1474f1=this[_0x355e0e(0x37a)]();_0x1474f1===0x0?this[_0x355e0e(0x40b)](_0x58665d):this[_0x355e0e(0x3fe)][_0x355e0e(0x2f5)](_0x58665d,setTimeout(()=>this[_0x355e0e(0x40b)](_0x58665d),_0x1474f1));}['_getSaveTimeout'](){const _0x3a8ae6=_0x2cf95d;var _0x443a8a;return(_0x443a8a=this[_0x3a8ae6(0x23d)][_0x3a8ae6(0x361)](_0x5f2bfa[_0x3a8ae6(0x250)]))!=null?_0x443a8a:_0x5f2bfa[_0x3a8ae6(0x324)];}[_0x2cf95d(0x40b)](_0x4a7a78){const _0x293ce2=_0x2cf95d,_0x1a4acc=this[_0x293ce2(0x3fe)][_0x293ce2(0x3c7)](_0x4a7a78);return _0x1a4acc!==void 0x0&&window[_0x293ce2(0x27e)](_0x1a4acc),this['_localStorageService'][_0x293ce2(0x2c8)](_0x5f2bfa[_0x293ce2(0x201)](_0x4a7a78),this['_cachedData'][_0x293ce2(0x3c7)](_0x4a7a78))['then'](()=>this[_0x293ce2(0x3fe)][_0x293ce2(0x226)](_0x4a7a78));}async[_0x2cf95d(0x41a)](){const _0x2961a2=_0x2cf95d,_0x2d799c=[];this['_saveTaskMap'][_0x2961a2(0x35c)]((_0x25affb,_0x330e8a)=>{const _0x26e8cc=_0x2961a2;window['clearTimeout'](_0x25affb),_0x2d799c[_0x26e8cc(0x316)](this['_saveCache'](_0x330e8a)[_0x26e8cc(0x1c7)](()=>{const _0x3424fd=_0x26e8cc;this[_0x3424fd(0x3fe)][_0x3424fd(0x226)](_0x330e8a);}));}),await Promise['all'](_0x2d799c);}};_0x1d3d25=_0xd28c35([_0x40fe95(0x0,_0x2ef637[_0x2cf95d(0x1e1)]),_0x40fe95(0x1,_0x2ef637[_0x2cf95d(0x272)]),_0x40fe95(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0xffee1f[_0x2cf95d(0x263)]))],_0x1d3d25);class _0x1dd4c1 extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(){const _0x384c92=_0x2cf95d;super(),_0x536638(this,_0x384c92(0x284)),this[_0x384c92(0x284)]=_0x35d2e5[_0x384c92(0x265)](window,'popstate')[_0x384c92(0x40f)](_0x35d2e5[_0x384c92(0x2a5)](this[_0x384c92(0x1e2)]),_0x35d2e5[_0x384c92(0x1be)](0x1),_0x35d2e5[_0x384c92(0x378)](void 0x0));}[_0x2cf95d(0x3b8)](_0x4e335a,_0x172748,_0x34ff9f=!0x1){const _0x8baf81=_0x2cf95d,_0x1fe8e3=new URL(window[_0x8baf81(0x2d7)][_0x8baf81(0x375)]);_0x1fe8e3[_0x8baf81(0x41f)][_0x8baf81(0x2f5)](_0x4e335a,_0x172748),_0x34ff9f?window['history'][_0x8baf81(0x34f)]('','',_0x1fe8e3['toString']()):window[_0x8baf81(0x22f)][_0x8baf81(0x381)]('','',_0x1fe8e3[_0x8baf81(0x2d9)]());}[_0x2cf95d(0x202)](_0xb8989f,_0x1ea047=!0x1){const _0x135061=_0x2cf95d,_0x6547b3=new URL(window[_0x135061(0x2d7)][_0x135061(0x375)]);_0x6547b3[_0x135061(0x41f)]['delete'](_0xb8989f),_0x1ea047?window['history'][_0x135061(0x34f)]('','',_0x6547b3[_0x135061(0x2d9)]()):window[_0x135061(0x22f)]['pushState']('','',_0x6547b3[_0x135061(0x2d9)]());}[_0x2cf95d(0x1fb)](_0x33b25c){const _0x5ede39=_0x2cf95d;var _0xaab1d8;return(_0xaab1d8=new URL(window['location'][_0x5ede39(0x375)])[_0x5ede39(0x41f)][_0x5ede39(0x3c7)](_0x33b25c))!=null?_0xaab1d8:void 0x0;}}var _0x37bc50=Object[_0x2cf95d(0x367)],_0x179ead=Object[_0x2cf95d(0x457)],_0x2cc478=(_0x2524a4,_0x3eaa65,_0x5dd0d8)=>_0x3eaa65 in _0x2524a4?_0x37bc50(_0x2524a4,_0x3eaa65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd0d8}):_0x2524a4[_0x3eaa65]=_0x5dd0d8,_0x51b7a6=(_0x54b256,_0x433019,_0x18ecbc,_0xf52538)=>{const _0x2cf0d7=_0x2cf95d;for(var _0x40de7d=_0xf52538>0x1?void 0x0:_0xf52538?_0x179ead(_0x433019,_0x18ecbc):_0x433019,_0x4ef9f3=_0x54b256[_0x2cf0d7(0x3e6)]-0x1,_0x539a21;_0x4ef9f3>=0x0;_0x4ef9f3--)(_0x539a21=_0x54b256[_0x4ef9f3])&&(_0x40de7d=_0x539a21(_0x40de7d)||_0x40de7d);return _0x40de7d;},_0x39a6ce=(_0x461fac,_0x215b5d)=>(_0x5b76dc,_0x14cde7)=>_0x215b5d(_0x5b76dc,_0x14cde7,_0x461fac),_0x3a3a1b=(_0x13144c,_0x8bd4de,_0x1d5b1c)=>_0x2cc478(_0x13144c,_0x8bd4de+'',_0x1d5b1c);const _0x434ece='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4c7ce2[_0x2cf95d(0x1d6)]=class extends _0x2ef637[_0x2cf95d(0x279)]{constructor(_0x2b6a91=_0x19c4b6,_0xe2375e,_0x2dec3f,_0x5e46eb){const _0x425737=_0x2cf95d;super(),this[_0x425737(0x1b1)]=_0x2b6a91,this['_renderManagerService']=_0xe2375e,this[_0x425737(0x30c)]=_0x2dec3f,this[_0x425737(0x23d)]=_0x5e46eb;const {..._0x5d287e}=_0x2ef637[_0x425737(0x1ff)]({},_0x19c4b6,this[_0x425737(0x1b1)]);this[_0x425737(0x23d)][_0x425737(0x31b)](_0x206a74,_0x5d287e);}[_0x2cf95d(0x24f)](){const _0x39bcbd=_0x2cf95d;this[_0x39bcbd(0x408)](),this['_initDependencies']();}[_0x2cf95d(0x34d)](){const _0x19bee3=_0x2cf95d;this[_0x19bee3(0x34c)]();}[_0x2cf95d(0x408)](){const _0x341c48=_0x2cf95d;var _0x2b3cb4;const _0xe8ac2f=[[_0x371edb],[_0x1805a9],[_0x2621ee],[_0x241a2c],[_0x184a1d],[_0x5419b8],[_0x5026ec,{'useClass':_0x1dd4c1}],[_0x416c4d[_0x341c48(0x45d)],{'useClass':_0x416c4d['WebSocketService']}],[_0x5f2bfa[_0x341c48(0x233)],{'useClass':_0x1d3d25}],[_0x4c7ce2['DesktopCollaborationStatusDisplayController']],[_0x40a03e],[_0xd0660e],[_0x41b2ac],[_0x28ec89],[_0x4c7ce2['CollaborationDataLoaderController']]];_0x2ef637[_0x341c48(0x1cd)](this['_injector'],_0x2ef637['mergeOverrideWithDependencies'](_0xe8ac2f,(_0x2b3cb4=this[_0x341c48(0x1b1)])==null?void 0x0:_0x2b3cb4[_0x341c48(0x206)]));}[_0x2cf95d(0x34c)](){const _0x569940=_0x2cf95d;this[_0x569940(0x2c3)](this[_0x569940(0x3cc)]['registerRenderModule'](_0x2ef637['UniverInstanceType'][_0x569940(0x2f1)],[_0x49cd9d])),this[_0x569940(0x2c3)](this[_0x569940(0x3cc)][_0x569940(0x384)](_0x2ef637[_0x569940(0x29a)][_0x569940(0x318)],[_0x398529]));}[_0x2cf95d(0x341)](){const _0x320a3e=_0x2cf95d;_0x2ef637['touchDependencies'](this[_0x320a3e(0x30c)],[[_0x41b2ac],[_0x4c7ce2[_0x320a3e(0x418)]],[_0x40a03e],[_0xd0660e],[_0x4c7ce2[_0x320a3e(0x25b)]],[_0x1805a9]]);}},_0x3a3a1b(_0x4c7ce2[_0x2cf95d(0x1d6)],_0x2cf95d(0x252),_0x434ece),_0x4c7ce2[_0x2cf95d(0x1d6)]=_0x51b7a6([_0x2ef637[_0x2cf95d(0x31f)](_0x5f2bfa[_0x2cf95d(0x403)]),_0x39a6ce(0x1,_0x35408c[_0x2cf95d(0x253)]),_0x39a6ce(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['Injector'])),_0x39a6ce(0x3,_0x2ef637[_0x2cf95d(0x1e1)])],_0x4c7ce2['UniverCollaborationClientUIPlugin']);var _0x19e725=Object['getOwnPropertyDescriptor'],_0x2de09e=(_0x3bdb70,_0x4dafcf,_0x3ed807,_0x5ad576)=>{for(var _0x5bdb39=_0x5ad576>0x1?void 0x0:_0x5ad576?_0x19e725(_0x4dafcf,_0x3ed807):_0x4dafcf,_0x23e7d2=_0x3bdb70['length']-0x1,_0x2a4aa5;_0x23e7d2>=0x0;_0x23e7d2--)(_0x2a4aa5=_0x3bdb70[_0x23e7d2])&&(_0x5bdb39=_0x2a4aa5(_0x5bdb39)||_0x5bdb39);return _0x5bdb39;},_0x55a2a9=(_0x2a98d1,_0x370b60)=>(_0x3a486b,_0x405589)=>_0x370b60(_0x3a486b,_0x405589,_0x2a98d1);_0x4c7ce2['BrowserCollaborationSocketService']=class extends _0x5f2bfa[_0x2cf95d(0x1b0)]{constructor(_0x253480,_0x325a6c,_0x32fd89,_0x68ee21,_0x13efdf){super(_0x253480,_0x325a6c,_0x32fd89,_0x68ee21,_0x13efdf);}async[_0x2cf95d(0x257)](_0x3ebba7){const _0x2027b3=_0x2cf95d,_0xfe8510=await this['_getSessionTicket'](),_0x50ba1c=this['_createSocketURL'](_0x3ebba7,_0xfe8510);return this[_0x2027b3(0x41d)](_0x50ba1c);}[_0x2cf95d(0x425)](_0x336ac9,_0x59aacb){const _0x5d2d92=_0x2cf95d,_0x2fdeed=typeof window>'u'?new URL(_0x336ac9):new URL(_0x336ac9,window['location'][_0x5d2d92(0x273)]);_0x2fdeed[_0x5d2d92(0x41f)][_0x5d2d92(0x2f5)](_0x5d2d92(0x1a6),_0x59aacb);const _0x658870=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d2d92(0x2d7)]['search']);return _0x658870[_0x5d2d92(0x3c7)](_0x5d2d92(0x22c))&&_0x2fdeed['searchParams'][_0x5d2d92(0x2f5)](_0x5d2d92(0x22c),_0x658870[_0x5d2d92(0x3c7)]('runId')),_0x2fdeed[_0x5d2d92(0x2d9)]();}async['_getSessionTicket'](){const _0x1f3a23=_0x2cf95d;var _0x2a9834,_0x1d14cd,_0x6d26f;const _0x1fa809=this['_configService']['getConfig'](_0x5f2bfa[_0x1f3a23(0x22e)]),_0x16c656=(_0x2a9834=_0x1fa809==null?void 0x0:_0x1fa809[_0x1f3a23(0x2ae)])!=null?_0x2a9834:_0x5f2bfa[_0x1f3a23(0x3ea)];return(_0x6d26f=(_0x1d14cd=(await this[_0x1f3a23(0x435)]['get'](_0x16c656,{'headers':{'Content-Type':_0x1f3a23(0x26d)}}))['body'])==null?void 0x0:_0x1d14cd['ticket'])!=null?_0x6d26f:'';}},_0x4c7ce2[_0x2cf95d(0x1c6)]=_0x2de09e([_0x55a2a9(0x0,_0x2ef637['Inject'](_0x2ef637['Injector'])),_0x55a2a9(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x416c4d['HTTPService'])),_0x55a2a9(0x2,_0x2ef637[_0x2cf95d(0x1e1)]),_0x55a2a9(0x3,_0x2ef637[_0x2cf95d(0x387)]),_0x55a2a9(0x4,_0xffee1f[_0x2cf95d(0x385)])],_0x4c7ce2['BrowserCollaborationSocketService']);var _0x38d47c=Object[_0x2cf95d(0x457)],_0x32390c=(_0x22f3c1,_0x536a1a,_0x3b80be,_0x22142a)=>{const _0x3bb38d=_0x2cf95d;for(var _0x2f0a10=_0x22142a>0x1?void 0x0:_0x22142a?_0x38d47c(_0x536a1a,_0x3b80be):_0x536a1a,_0x3c4d12=_0x22f3c1[_0x3bb38d(0x3e6)]-0x1,_0x1cd65f;_0x3c4d12>=0x0;_0x3c4d12--)(_0x1cd65f=_0x22f3c1[_0x3c4d12])&&(_0x2f0a10=_0x1cd65f(_0x2f0a10)||_0x2f0a10);return _0x2f0a10;},_0x2c289e=(_0x9a73c0,_0x267582)=>(_0x3b1548,_0x24421a)=>_0x267582(_0x3b1548,_0x24421a,_0x9a73c0);_0x4c7ce2[_0x2cf95d(0x307)]=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x2cb9c0,_0x199cd1,_0x498f6b){const _0x2eab3e=_0x2cf95d;super(),this[_0x2eab3e(0x19e)]=_0x2cb9c0,this[_0x2eab3e(0x435)]=_0x199cd1,this[_0x2eab3e(0x23d)]=_0x498f6b;}async[_0x2cf95d(0x433)](_0x30e4eb,_0x3f2ea0,_0x1fb3b5,..._0xb2539a){const _0x22f381=_0x2cf95d;var _0xe10d80,_0x238b81,_0x348fc6,_0xbf3771;const _0x48e854=this[_0x22f381(0x19e)]['getFocusedUnit']();if(!_0x48e854)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2057d4=((_0xe10d80=this[_0x22f381(0x23d)][_0x22f381(0x361)](_0x5f2bfa[_0x22f381(0x209)]))!=null?_0xe10d80:_0x5f2bfa[_0x22f381(0x399)])+'/'+_0x30e4eb+_0x22f381(0x38a)+_0x3f2ea0,_0x480099=new URL(window[_0x22f381(0x2d7)][_0x22f381(0x375)]),_0x1c52af={'scriptId':_0x30e4eb,'runId':(_0x238b81=_0x480099[_0x22f381(0x41f)][_0x22f381(0x3c7)](_0x22f381(0x22c)))!=null?_0x238b81:'','function':_0x3f2ea0,'unitId':_0x48e854[_0x22f381(0x35a)](),'argsOfFunction':JSON[_0x22f381(0x39f)](_0xb2539a),'invokeId':(_0x348fc6=_0x1fb3b5['invokeId'])!=null?_0x348fc6:'','executionId':(_0xbf3771=_0x1fb3b5['executionId'])!=null?_0xbf3771:''};try{const _0x254e79=await this[_0x22f381(0x435)]['post'](_0x2057d4,{'body':_0x1c52af});return _0x254e79[_0x22f381(0x3da)][_0x22f381(0x3f3)]&&_0x254e79[_0x22f381(0x3da)][_0x22f381(0x3f3)][_0x22f381(0x3b3)]!==_0x1c5d04['OK']?_0x22f381(0x437):_0x254e79[_0x22f381(0x3da)][_0x22f381(0x1d0)];}catch{return _0x22f381(0x437);}}},_0x4c7ce2[_0x2cf95d(0x307)]=_0x32390c([_0x2c289e(0x0,_0x2ef637[_0x2cf95d(0x25f)]),_0x2c289e(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x416c4d[_0x2cf95d(0x276)])),_0x2c289e(0x2,_0x2ef637[_0x2cf95d(0x1e1)])],_0x4c7ce2['RemoteUniscriptService']);const _0x3446c2=0x7530,_0x119a9e=_0x2cf95d(0x46d);class _0x3c3c67 extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(){const _0xa87645=_0x2cf95d;super(),_0x536638(this,_0xa87645(0x1eb),_0x2ef637[_0xa87645(0x2ec)]()),_0x536638(this,_0xa87645(0x454),new Set()),_0x536638(this,_0xa87645(0x452),new Map()),_0x536638(this,_0xa87645(0x2a1),null),_0x536638(this,_0xa87645(0x299),new Map()),_0x536638(this,_0xa87645(0x3a8),new Map()),this[_0xa87645(0x303)]();}['dispose'](){const _0x3ea54d=_0x2cf95d;super[_0x3ea54d(0x359)](),this[_0x3ea54d(0x299)][_0x3ea54d(0x35c)]((_0x2d1725,_0x441c57)=>this[_0x3ea54d(0x3a4)](_0x441c57)),this[_0x3ea54d(0x2a1)]&&window[_0x3ea54d(0x1c5)](this[_0x3ea54d(0x2a1)]);}['getUnitStatus$'](_0x32ec0c){const _0x10f2b0=_0x2cf95d;return this['_ensureSubject'](_0x32ec0c)['pipe'](_0x35d2e5[_0x10f2b0(0x1da)]());}[_0x2cf95d(0x1a7)](_0x2c234d){const _0x4c8ad8=_0x2cf95d;this['_selfUnitIDs'][_0x4c8ad8(0x207)]===0x0&&this[_0x4c8ad8(0x3a1)](),this[_0x4c8ad8(0x454)]['add'](_0x2c234d),this[_0x4c8ad8(0x2af)]({'type':0x0,'memberID':this[_0x4c8ad8(0x1eb)],'unitIDs':[_0x2c234d],'isForwarded':!0x1});}[_0x2cf95d(0x3b1)](_0x93bb18){const _0x39f906=_0x2cf95d;this[_0x39f906(0x454)][_0x39f906(0x226)](_0x93bb18),this[_0x39f906(0x454)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x39f906(0x1c5)](this[_0x39f906(0x2a1)]);}[_0x2cf95d(0x303)](){const _0x405925=_0x2cf95d;this[_0x405925(0x2c3)](_0x2ef637[_0x405925(0x236)](_0x35d2e5[_0x405925(0x265)](window,'storage')[_0x405925(0x335)](_0x17ad71=>{const _0x27f295=_0x405925;if(_0x17ad71['key']!==_0x119a9e||!_0x17ad71[_0x27f295(0x281)])return;const _0x2fafa4=JSON[_0x27f295(0x41c)](_0x17ad71[_0x27f295(0x281)]);this[_0x27f295(0x20b)](_0x2fafa4);}))),window['addEventListener'](_0x405925(0x237),()=>this[_0x405925(0x2af)]({'type':0x1,'memberID':this[_0x405925(0x1eb)],'unitIDs':Array[_0x405925(0x2e6)](this['_selfUnitIDs'])}));}[_0x2cf95d(0x20b)](_0x592779){const _0x60eff1=_0x2cf95d;switch(_0x592779[_0x60eff1(0x35b)]){case 0x0:this[_0x60eff1(0x21e)](_0x592779);break;case 0x1:this['_handleLeaveEvent'](_0x592779);break;case 0x2:this['_handleHeartbeatEvent'](_0x592779);break;}}['_handleJoinEvent'](_0x9c9344){const _0x35dc8b=_0x2cf95d,{unitIDs:_0x4c6e89,memberID:_0x1375da,isForwarded:_0x2ffef0}=_0x9c9344;_0x4c6e89[_0x35dc8b(0x35c)](_0x411145=>{const _0xf0a4b3=_0x35dc8b;if(!_0x2ffef0&&this[_0xf0a4b3(0x452)][_0xf0a4b3(0x2ac)](_0x411145)&&this[_0xf0a4b3(0x264)](_0x411145)[_0xf0a4b3(0x248)](_0x5f2bfa[_0xf0a4b3(0x2f2)][_0xf0a4b3(0x36f)]),!this[_0xf0a4b3(0x452)]['has'](_0x411145)||!this[_0xf0a4b3(0x452)]['get'](_0x411145)[_0xf0a4b3(0x2ac)](_0x1375da)){const _0x7244d8=this[_0xf0a4b3(0x452)][_0xf0a4b3(0x3c7)](_0x411145)||new Set();_0x7244d8[_0xf0a4b3(0x1de)](_0x1375da),this[_0xf0a4b3(0x452)][_0xf0a4b3(0x2f5)](_0x411145,_0x7244d8),this[_0xf0a4b3(0x211)](_0x1375da);}}),_0x2ffef0||this[_0x35dc8b(0x2af)]({'type':0x0,'memberID':this[_0x35dc8b(0x1eb)],'unitIDs':[...this[_0x35dc8b(0x454)]],'isForwarded':!0x0});}[_0x2cf95d(0x211)](_0x13cee5){const _0xeff8c7=_0x2cf95d;this[_0xeff8c7(0x3a4)](_0x13cee5);const _0x315f06=window[_0xeff8c7(0x358)](()=>{const _0x57d3b2=_0xeff8c7;this[_0x57d3b2(0x452)]['forEach'](_0x4754f7=>{const _0x3dfbd4=_0x57d3b2;_0x4754f7[_0x3dfbd4(0x226)](_0x13cee5);});},_0x3446c2*0x2);this['_clearOtherTimers']['set'](_0x13cee5,_0x315f06);}[_0x2cf95d(0x3a4)](_0x245853){const _0x6f51cd=_0x2cf95d;if(this['_clearOtherTimers'][_0x6f51cd(0x2ac)](_0x245853)){const _0x5ef841=this[_0x6f51cd(0x299)][_0x6f51cd(0x3c7)](_0x245853);_0x5ef841&&window[_0x6f51cd(0x27e)](_0x5ef841),this['_clearOtherTimers']['set'](_0x245853,null);}}[_0x2cf95d(0x458)](_0x77558){const _0x1e4111=_0x2cf95d,{memberID:_0x57ee20,unitIDs:_0x2133cc}=_0x77558;_0x2133cc['forEach'](_0x2d75dc=>{const _0x3a9a87=_0x3278;var _0x47b2d8;const _0x4e8d0a=this[_0x3a9a87(0x452)][_0x3a9a87(0x3c7)](_0x2d75dc);_0x4e8d0a&&(_0x4e8d0a[_0x3a9a87(0x226)](_0x57ee20),(_0x47b2d8=this[_0x3a9a87(0x264)](_0x2d75dc))==null||_0x47b2d8['next'](_0x4e8d0a[_0x3a9a87(0x207)]===0x0?_0x5f2bfa[_0x3a9a87(0x2f2)][_0x3a9a87(0x1cc)]:_0x5f2bfa[_0x3a9a87(0x2f2)][_0x3a9a87(0x36f)]));}),this[_0x1e4111(0x3a4)](_0x57ee20);}[_0x2cf95d(0x37d)](_0x2da709){const _0x1bebfa=_0x2cf95d;this[_0x1bebfa(0x211)](_0x2da709[_0x1bebfa(0x300)]);}['_send'](_0x3aaa85){const _0x280fe8=_0x2cf95d;localStorage[_0x280fe8(0x2c8)](_0x119a9e,JSON[_0x280fe8(0x39f)](_0x3aaa85));}['_scheduleHeartbeat'](){const _0x26cb6d=_0x2cf95d;this[_0x26cb6d(0x2a1)]=window[_0x26cb6d(0x3c8)](()=>{const _0x1255de=_0x26cb6d;this[_0x1255de(0x2af)]({'type':0x2,'memberID':this[_0x1255de(0x1eb)]});},_0x3446c2);}[_0x2cf95d(0x264)](_0x5a8e5a){const _0x272eff=_0x2cf95d;return this[_0x272eff(0x3a8)]['has'](_0x5a8e5a)||this[_0x272eff(0x3a8)][_0x272eff(0x2f5)](_0x5a8e5a,new _0x35d2e5[(_0x272eff(0x27d))](_0x5f2bfa[_0x272eff(0x2f2)][_0x272eff(0x1cc)])),this[_0x272eff(0x3a8)]['get'](_0x5a8e5a);}}_0x4c7ce2['IURLService']=_0x5026ec,_0x4c7ce2[_0x2cf95d(0x351)]=_0xf90746,_0x4c7ce2[_0x2cf95d(0x2dd)]=_0x3c3c67,_0x4c7ce2[_0x2cf95d(0x271)]=_0x1dd4c1,Object['defineProperty'](_0x4c7ce2,Symbol[_0x2cf95d(0x463)],{'value':_0x2cf95d(0x2d6)});}));function _0x3278(_0x2e6791,_0xcae251){const _0x162bac=_0x162b();return _0x3278=function(_0x3278ca,_0x525628){_0x3278ca=_0x3278ca-0x19c;let _0x512220=_0x162bac[_0x3278ca];return _0x512220;},_0x3278(_0x2e6791,_0xcae251);}function _0x162b(){const _0x48d8fc=['ERROR_AGAIN','NOT_FOUND','data','_hideTimer','_docTransformStateCacheService','BuiltInUIPart','disposeWithMe','Success','START_CALCULATION','MOBILE_VERIFY_CODE_MISMATCH','redoState','setItem','setUndoRedoMutationParamsCache','_eventUnsubscribe','_setupSubUnitSync','includes','handleIRemoveCol','DocSkeletonManagerService','collaboration-client.offline-data-not-saved','entries','getMemberID','_startDocCollabCursor','collab-text-range-','REDEMPTION_USER_REDEEM_TIMES_EXCEED','CanceledError','Module','location','permission.title','toString','engine','stage','Loading','WebBrowserSingleActiveUnitService','text','onMouseMove','RichTextEditingMutation','@univerjs/engine-render','_anchor','SessionStatus','getCollabCursors$','FormulaExecuteStageType','from','LICENSE_DISTRO_REJECTED','collab-client.tooltip.reconnect','setStateCache','UniverProCollaborationClient','INVITE_CODE_ALREADY_BOUND','generateRandomId','TEXT_RANGE_LAYER_INDEX','rgba(255,\x20255,\x20255,\x200.01)','_onCursorUpdate','_initEvent','UNIVER_DOC','UnitStatus','NodePositionConvertToCursor','TEXT','set','InsertRangeMoveRightCommandId','OffLineIcon','_backgroundColor','_range','_setupBeforeClosingHandler','_lastResponseTimestamp','startsWith','REDEMPTION_CODE_NOT_STARTED','NOT_COLLAB','DocIMEInputManagerService','memberID','react','_cursor','_init','top','xlink:href','IBeforeCloseService','RemoteUniscriptService','resize','_localStorageService','Error','InsertRangeMoveDownCommandId','_injector','startRow','createElement','_collabCursorController','drawWith','executeCommand','defs','@univerjs/docs','1em','_themeService','push','_notificationService','UNIVER_SHEET','find','Rect','setConfig','syncEditingCollabCursor','Shape','COLORS','DependentOn','debounceTime','combineLatest','height','UPDATE_CURSOR','LOCAL_CACHE_INTERVAL','blue.400','InsertColCommandId','DocStateChangeManagerService','debug','roomMembers','onPointerLeave$','_getFormulaLimitStatus','values','updateOfflineData','_getAnchorBounding','textRanges','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','currentColor','SHEET_VIEWPORT_KEY','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onPointerEnter$','subscribe','_online','CommandType','_draw','asObservable','LocaleService','attrs','currentSkeleton$','_localeService','_labelPosition','UNRECOGNIZED','APPLY_REVISION_CONFILICT','_initDependencies','72055USgrnr','some','ENTITLE_REPORT_LIMIT_EXCEED','addObject','_anchorDot','SUCCESS','getColorFromTheme','@univerjs-pro/collaboration-client','11025873LIUUIS','_shapes','_registerRenderDependencies','onRendered','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','replaceState','setShapeProps','SheetCollabCursorShape','_collabSessionService','deserializeRangeWithSheet','UNDEFINED','AWAITING','sheetId','limitInfo','setTimeout','dispose','getUnitId','type','forEach','_startCalculationLimit','_cursorShapes','_updateLocalCursor','YUUMI_NO_CUBOID_FOR_QUESTION','getConfig','loadUnit','getRenderById','collabStatus.syncing','handleInsertCol','REDEMPTION_USER_NOT_ELIGIBLE','defineProperty','with','_localCacheService','_disabled','white','_dataLoaderService','ENTITLE_DUP_SUBSCRIPTION','collabStatus.fetchMiss','OTHER_CLIENTS_EDITING','handleIRemoveRow','YUUMI_CONNECTOR_URL_NOT_FOUND','unshift','@univerjs/sheets-ui','_cachedData','href','parseInt','2595580nfTYZM','mapTo','substring','_getSaveTimeout','CollaborationController','@univerjs/rpc','_handleHeartbeatEvent','getCellPositionByOffset','url(#$1','getRangePointData','pushState','forwardRef','UniverRpc','registerRenderModule','ISnapshotServerService','USER_NOT_INVITED_CODE','ILogService','rxjs','FromArray','/run/','enableLocalCache','source','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/drawing','event$','SetWorksheetActivateCommand','INVITE_CODE_REQUIRED','_memberService','registerRefRange','undoState','colorChannel1','session.connection-failed','_startSheetCollabCursor','labelPosition','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fromEventSubject','registerComponent','_refRangeService','MemberService','getUniverSheetInstance','stringify','_commandService','_scheduleHeartbeat','_docClipboardService','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_session','LICENSE_IMPORT_SIZE_EXCEEDED','subUnitId','_unitStatus','_drawRectRange','_messageService','DeleteRangeMoveUpCommandId','getSheetBySheetId','registerBeforeClose','UniverProCollaboration','none','Injector','disposeUnit','serializeRangeWithSheet','code','OTHER_CLIENT_EDITING','RECT','uni.network.url-service','Unknown\x20user','setParam','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_updateURLWithCurrentState','show','_drawTextRange','measureText','color','ThemeService','assignAColorForMemberID','displayName','CONFLICT','1244793OGONGe','SetTextSelectionsOperation','_textBubble','fillRule','get','setInterval','_docTransformSelectionsService','?taskId=','APPLY_REJECT','_renderManagerService','http://www.w3.org/2000/svg','debounce','totalFormulasToCalculate','univer-flex\x20univer-items-center','HEADER_MENU','FETCH_MISS','AUTHORIZE_CODE_ILLEGAL','Tooltip','getColor','beforeCommandExecuted','658512uSFQcr','EffectRefRangId','_toggleOnline','body','_clearPolling','CollaborationUIEventId','split','DOC_RANGE_TYPE','_hover','trim','cursorInfo$','setAlpha','lineTo','IUIPartsService','_docTransformIMECacheService','length','fillStyle','_applyCommand','_updateCollabCursors','DEFAULT_WS_SESSION_TICKET_URL','send','INVALID_ARGUMENT','_transformPreviousActiveRange','_beforeCloseService','post','_univerInstanceService','getUnhiddenWorksheets','_initResize','error','transformByState','unit','_hasFormulaInDirtyRanges','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveRight','addHandlerCallback','Inject','off-line-icon_clip0_910_343','round','useDependency','_saveTaskMap','init','onTransformChange$','amd','getCoordByCell','UniverCollaborationClientPlugin','SOCKET_FAILED','ENTITLE_NEED_BILLING_ADDRESS','unitID','green.600','_registerDependencies','_pollingInterval','Tools','_saveCache','CollaborationUIEventService','INVITE_CODE_HAS_BEEN_UES','DisposableCollection','pipe','_releaseCalculationLimit','sessionStatus$','ICommandService','_checkCalculationAvailable','_initCommandInterceptor','selection','_hovered','focused$','DesktopCollaborationStatusDisplayController','_drawAnchor','exhaustSavingTask','IDocClipboardService','parse','_doCreateSocket','_handleHover','searchParams','SetFormulaCalculationStartMutation','#FFF','transformRemoteChangeset','mask','black','_createSocketURL','doc.mutation.rich-text-editing','[CollaborationDataLoaderController]','_initStatusListener','yellow.400','_onCursorDelete','min','@univerjs/engine-formula','INTERNAL_ERROR','getCurrentUnitForType','YUUMI_RATE_OVER_LIMIT','width','ALREADY_EXISTS','React','runOnServer','getformulaLimitStatusUrl','_httpService','fill','Failed','moveTo','getMergeData','_logService','collab-text-anchor-','DocSelectionManagerService','fillText','_docSyncEditingCollabCursorService','replaceDocRanges','maxFormulaLimit','switchMap','@univerjs/sheets','map','isActive','YUUMI_AI_RUN_FAILED','translate(.97)','handleDeleteRangeMoveUp','_revisionService','ENTITLE_INSUFFICIENT_QUOTA','transformStateCache','/universer-api/license/formula/limit/done','28RISMxj','formula.calculation.waiting','idSuffix','_docSkeletonManagerService','disableLocalCache','ranges','_unitOnClients','LOGIN_FAILED','_selfUnitIDs','_initCommandExecutedListener','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_handleLeaveEvent','subunit','_docStateChangeManagerService','transform','univerjs-icon\x20univerjs-icon-','ISocketService','permission.content','status$','save','_scene','isFormulaId','toStringTag','session.will-retry','m2Prime','getAncestorScale','DeleteRangeMoveLeftCommandId','FormulaExecutedStateType','CollaborationStatus','eventID','rxjs/operators','Vector2','ACTIVE_UNIT_EVENT_CHANNEL','getViewport','CURRENT_STATUS_CANNOT_OPERATE','transformIMECache','_scheduleSaving','svg','contains','_instanceService','5341134NMnFOW','isTransformMutationFailure','endRow','children','_removeCollabCursors','getCellMatrix','CONNECTOR_DATA_TOO_LARGE','sessionTicket','editingUnit','getUndoRedoMutationParamsCache','_transformService','getActiveRange','hovered','_updateSubUnitFromURLParams','getRelativeToViewportCoord','replace','SOCKET_FAILED_RETRY','CollaborationSocketService','_config','collaboration.single-unit.warning','ONLINE','AWAITING_WITH_PENDING','YUUMI_ASYNCIO_CANCELLED','unitId','_imageIoService','restore','isTransformMutationsWithChangesetSuccess','getSheetId','isEditing','UNAUTHENTICATED','EMAIL_VERIFY_CODE_MISMATCH','shareReplay','REDEMPTION_INVALID_CODE','M0\x200H16V16H0z','on-line-icon_clip0_910_349','url(#off-line-icon_clip0_910_343)','tag','LOGIN_TOKEN_PROCESSING_FAILED','clearInterval','BrowserCollaborationSocketService','then','getStateCache','activeSheet$','shift','evenodd','NO_OTHER_CLIENTS_EDITING','registerDependencies','IMessageService','_getSheetObject','result','toRgbString','random','symbol','PY_RUNTIME_SCRIPT_ERROR','UniverUi','UniverCollaborationClientUIPlugin','handleInsertRow','USER_NOT_FOUND','filter','distinctUntilChanged','_checkAndWaitForCalculationPermission','@univerjs/design','jiqing.500','add','collaboration-client-ui.config','INVALID_INVITE_CODE','IConfigService','dispose$','path','createInstance','session.collaboration-timeout','_toggleOffline','getCurrentSelections','ITransformService','getTypeOfUnitDisposed$','reconnect','_id','@univerjs/ui','skeleton','currentTheme$','_render','getVpScrollXYInfoByPosToVp','max','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','onPointerMove$','endColumn','whenReady','COMPLETION_FINISHED','SheetsSelectionsService','getValue','_color','getParam','collaboration.closeRoom','backgroundColor','_collaborationUIEventService','merge','LICENSE_MAX_UNITS_EXCEEDED','getLocalCacheKey','removeParam','_status$','20508350ShvQaB','UniverDocsUi','override','size','YUUMI_UNABLE_LOAD_URL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration','_handleEvent','string','use','getTypeOfUnitAdded$','DataLoaderService','ENTITLE_CHAT_LIMIT_EXCEED','_scheduleClearOtherTimer','_colorAssignService','CHANGESET_REVISION_CONFILICT','_initEntityListener','UniverEngineFormula','...','addObjects','RemoveColCommandId','NodePositionConvertToRectRange','SheetSkeletonManagerService','_cursors','getSkeleton','dirtyRanges','_handleJoinEvent','_lastPointer','USER_IS_ANONYMOUS','getUnit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','docStateChange$','loadOfflineData','assign','delete','clsx','complete','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSheetObject','WECHAT_HAS_BEEN_BOUND','runId','selections','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','history','YUUMI_SUBSCRIPTION_NOT_FOUND','MOBILE_HAS_BEEN_BOUND','collabStatus.notCollab','ILocalCacheService','throttleTime','getFocusedUnit','toDisposable','unload','imageSourceType','UniverDrawing','_sheetSkeletonManagerService','params','_entityInit$','_configService','0\x200\x2017\x2016','8EVXJTG','CollaborationSessionService','saveTaskMap','findNodePositionByCharIndex','@univerjs/core','_currentUsage','OFFLINE','stageInfo','_entities','next','bottom','RefRangeService','VIEW_MAIN','column','_initStatusComponent','deepClone','onStarting','LOCAL_CACHE_INTERVAL_KEY','clipPath','pluginName','IRenderManagerService','ColorKit','releaseFormulaLimitUrl','OnLineIcon','createSocket','collab-rect-range-','RegularPolygon','hide','CollaborationDataLoaderController','jsx','UniverSheetsUi','sheetID','IUniverInstanceService','UniverProCollaborationClientUi','APPLY_PERMISSION_DENIED','collabStatus.conflict','RevisionService','_ensureSubject','fromEvent','/universer-api/license/formula/limit/status','_taskIds','MessageType','Warning','Disposable','_roomMembers$','SetFormulaCalculationNotificationMutation','application/json','range','PAYMENT_CHANNEL_NOT_SUPPORT','REDEMPTION_CODE_INACTIVE','WebURLService','ILocalStorageService','origin','_context','_refreshCollabCursors','HTTPService','_setFormulaLimitStatus','428XMgCBh','Plugin','_syncEditingCollabCursorService','_cursorInfo$','Rectangle','BehaviorSubject','clearTimeout','mutations','m1Prime','newValue','YUUMI_ALL_TABLES_IS_INVALID','transformSelections','urlChange$','_uiPartsService','TOO_MANY_REQUESTS','PERMISSION_DENIED','roomMembers$','onCommandExecuted','_urlService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_name','transformMutationsWithChangeset','name','now','currentUsage','UniverNetwork','USERS_LEAVE','_transformUndoRedoStack','LICENSE_EXPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','_maxFormulaLimit','cursorInfo','SetSelectionsOperation','_clearOtherTimers','UniverInstanceType','DATA_SOURCE_TOO_LARGE','RxDisposable','transformMutation','arc','0\x200\x2016\x2016','UniverDesign','_heartbeatTimer','object','subscribeEvent','requireSession','takeUntil','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationController','UniverSheets','isArray','REDEMPTION_CODE_FULLY_REDEEMED','_collabCursorState$','has','setActiveRange','wsSessionTicketUrl','_send','_colorIndex','beginPath','/universer-api/license/formula/limit/start','_assignedColors','useCallback','useRef','_transformHistoryAndStateStack','row','CollaborationEvent','YUUMI_URL_COL_OUT_OF_RANGE','_onRefRangeChange','startFormulaLimitUrl','url(#on-line-icon_clip0_910_349)'];_0x162b=function(){return _0x48d8fc;};return _0x162b();}
1
+ function _0x4979(){const _0x53db31=['useCallback','values','_refreshCollabCursors','_transformHistoryAndStateStack','cursorInfo$','LICENSE_DISTRO_REJECTED','_docTransformIMECacheService','IUniverInstanceService','m1Prime','_doCreateSocket','UniverCollaborationClientUIPlugin','UniverRpc','_initEvent','_httpService','setStateCache','permission.title','NOT_COLLAB','UniverDocsUi','Loading','OFFLINE','http://www.w3.org/2000/svg','clearInterval','setShapeProps','_scheduleSaving','parseInt','getActiveRange','translate(.97)','onStarting','_initCommandExecutedListener','eventID','/run/','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_releaseCalculationLimit','CollaborationSocketService','AUTHORIZE_CODE_ILLEGAL','wsSessionTicketUrl','backgroundColor','_scheduleHeartbeat','startRow','_docSyncEditingCollabCursorService','white','location','INVITE_CODE_ALREADY_BOUND','0\x200\x2016\x2016','width','isEditing','debug','DisposableCollection','string','RegularPolygon','_initCommandInterceptor','REDEMPTION_INVALID_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unsubscribe','UniverSheetsUi','react/jsx-runtime','_colorIndex','_initStatusComponent','REDEMPTION_CODE_INACTIVE','_collabCursorState$','APPLY_NON_SEQUENTIAL_REVISION','forwardRef','_checkAndWaitForCalculationPermission','unshift','complete','WECHAT_HAS_BEEN_BOUND','_getSessionTicket','mapTo','15XQcUQE','CLOSE_ROOM','ENTITLE_INSUFFICIENT_QUOTA','setUndoRedoMutationParamsCache','entityInit$','loadUnit','Disposable','length','runId','CONNECTOR_DATA_TOO_LARGE','getCollabCursors$','#FFF','releaseFormulaLimitUrl','DocSelectionManagerService','round','formula.calculation.started','SUBMIT_CHANGESET_TIMEOUT','transformIMECache','onLocalMutation','isTransformMutationsWithChangesetSuccess','mutations','REDEMPTION_USER_NOT_ELIGIBLE','UniverIcon','session.collaboration-timeout','_maxFormulaLimit','_session','_cursorShapes','defs','_syncEditingCollabCursorService','connectInjector','USER_NOT_INVITED_CODE','_getScale','stage','filter','DeleteRangeMoveLeftCommandId','href','urlChange$','_id','OnLineIcon','PY_RUNTIME_SCRIPT_ERROR','1em','amd','INTERNAL_ERROR','generateRandomId','UniverInstanceType','uni.network.url-service','Rectangle','_selfUnitIDs','_unitStatus','unit','10euKbUB','REDEMPTION_CODE_NOT_STARTED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','on-line-icon_clip0_910_349','_scene','_collaborationController','React','ENSURE_SNAPSHOT_EXECUTION','_color','send','_injector','UniverDrawing','merge','ITransformService','functionsExecutedState','Workbook','dispose','totalFormulasToCalculate','save','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','handleInsertCol','parse','_getSaveTimeout','UNDEFINED','PAYMENT_CHANNEL_NOT_SUPPORT','combineLatest','_transformService','search','roomMembers$','currentColor','_disabled','useDependency','registerRenderModule','onMouseMove','handleInsertRow','@univerjs-pro/collaboration-client','useRef','skeleton','IDocClipboardService','limitInfo','forEach','url(#off-line-icon_clip0_910_343)','_instanceService','_onCursorUpdate','_updateCollabCursors','ENTITLE_DUP_SUBSCRIPTION','univer-flex\x20univer-items-center','handleInsertRangeMoveDown','collab-client.tooltip.reconnect','3349578MICfAe','_anchorDot','CollaborationUIEventId','_docStateChangeManagerService','APPLY_DUPLICATED','RemoveColCommandId','runOnServer','throttleTime','@univerjs/ui','init','getOwnPropertyDescriptor','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','shareReplay','ILogService','@univerjs/sheets-ui','_send','_handleHover','transformMutationsWithChangeset','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_backgroundColor','Module','disableLocalCache','redoState','debounceTime','removeParam','getUndoRedoMutationParamsCache','asObservable','AWAITING_WITH_PENDING','Vector2','url(#on-line-icon_clip0_910_349)','RECT','_getMergeRange','_drawRectRange','Failed','get','COMPLETION_FINISHED','@univerjs/network','getUnitStatus$','_currentUsage','clipPath','_imageIoService','...','subscribeEvent','yellow.400','getLocalCacheKey','includes','key','_startDocCollabCursor','origin','collaboration-client.offline-data-not-saved','flatMap','docStateChange$','exports','executionId','status$','YUUMI_SUBSCRIPTION_NOT_FOUND','colorChannel1','EffectRefRangId','ENTITLE_REPORT_LIMIT_EXCEED','UniverUi','1332oeTEfP','UNRECOGNIZED','assignAColorForMemberID','149788jMOdmt','PERMISSION_DENIED','getCurrentUnitForType','_online','_initEntityListener','blue.400','@univerjs/engine-render','HEADER_MENU','SheetsSelectionsService','LICENSE_MAX_UNITS_EXCEEDED','getSkeleton','/universer-api/license/formula/limit/done','collabStatus.notCollab','cursorInfo','_initResize','SYNCED','getItem','_onCursorDelete','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_setupSubUnitSync','_localCacheService','LOGIN_TOKEN_PROCESSING_FAILED','transformMutation','UniverProCollaborationClientUi','collab-text-range-','_handleHeartbeatEvent','color','now','_document','red.300','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getUnhiddenWorksheets','DesktopCollaborationStatusDisplayController','focused$','next','_cursorInfo$','use','off-line-icon','endColumn','RichTextEditingMutation','split','_initStatusListener','FormulaExecuteStageType','BrowserCollaborationSocketService','42248oEFjbC','source','YUUMI_AI_RUN_FAILED','RefRangeService','INVALID_INVITE_CODE','UniverDocs','getOffsetConfig','LocaleService','setConfig','_clearOtherTimers','_name','ALREADY_EXISTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','fill','Shape','createElement','_context','doc.mutation.rich-text-editing','delete','black','CURRENT_STATUS_CANNOT_OPERATE','switchMap','CollaborationDataLoaderController','getMemberID','INVITE_CODE_HAS_BEEN_UES','FormulaExecutedStateType','getTypeOfUnitAdded$','isTransformMutationFailure','UNAUTHENTICATED','getViewport','onCommandExecuted','UNIVER_SHEET','BehaviorSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_UNABLE_LOAD_URL','_commandService','drawWith','_collabSessionService','isFormulaString','collabStatus.offline','getCoordByCell','distinctUntilChanged','INVALID_ARGUMENT','_renderManagerService','MemberService','row','_handleJoinEvent','COLORS','IMessageService','getValue','_init','InsertRangeMoveDownCommandId','892572oqWFRf','column','_getSheetObject','getMergeData','UniverProCollaboration','history','UniverDesign','substring','OTHER_CLIENT_EDITING','_getFormulaLimitStatus','createInstance','disposeUnit','DATA_SOURCE_TOO_LARGE','getFocusedUnit','evenodd','REDEMPTION_CODE_FULLY_REDEEMED','_beforeCloseService','InsertRowCommandId','currentSkeleton$','unitId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','SUCCESS','2109486kYwnBf','DocIMEInputManagerService','_uiPartsService','getCellMatrix','undoState','type','_checkCalculationAvailable','3456255jokHiY','_memberService','_heartbeatTimer','7axmmyD','getCurrent','_assignedColors','OTHER_CLIENTS_EDITING','_docTransformStateCacheService','post','APPLY_REJECT','Tools','@univerjs/core','Subject','pipe','symbol','_startSheetCollabCursor','_toggleOffline','getDocRanges','Error','_collabCursorController','UniverCollaborationClientPlugin','ColorKit','_pollingInterval','getColor','requireSession','_entityInit$','pushState','IUIPartsService','operators','@univerjs/design','@univerjs/engine-formula','IBeforeCloseService','exhaustSavingTask','_toggleOnline','IConfigService','deepClone','SetFormulaCalculationStartMutation','hide','EMAIL_HAS_BEEN_BOUND','DOC_RANGE_TYPE','_getAnchorBounding','idSuffix','_revisionService','_removeClearOtherTimer','_messageService','SessionStatus','transformByState','START_CALCULATION','height','0\x200\x2017\x2016','assign','fromEventSubject','IRenderManagerService','range','_entities','ILocalCacheService','CollaborationSessionService','registerRefRange','_clearPolling','find','CollaborationEvent','updateOfflineData','_lastResponseTimestamp','Inject','purple.300','_anchor','MessageType','Unknown\x20user','replaceState','_docClipboardService','YUUMI_CONNECTOR_URL_NOT_FOUND','subunit','_localStorageService','MOBILE_HAS_BEEN_BOUND','_scheduleClearOtherTimer','collaboration.single-unit.warning','_notificationService','getCellPositionByOffset','Injector','_range','_hasFormulaInDirtyRanges','takeUntil','SNAPSHOT_INVALID_SNAPSHOT','startsWith','TEXT_RANGE_LAYER_INDEX','SHEET_VIEWPORT_KEY','rgba(255,\x20255,\x20255,\x200.01)','collabStatus.conflict','ThemeService','rxjs','_showGuardMessage','getRenderById','dispose$','handleIRemoveCol','popstate','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','with','_createSocketURL','_setupBeforeClosingHandler','getRangePointData','div','NodePositionConvertToCursor','onRendered','none','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers','setAlpha','triggerDblclick','_draw','set','arc','addHandlerCallback','startFormulaLimitUrl','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','INVITE_CODE_REQUIRED','getCurrentRevOfUnit','_lastPointer','RemoveRowCommandId','handleMoveRange','onTransformChange$','mask','entries','UniverSheets','Rect','_docTransformSelectionsService','_hover','toString','@univerjs/docs-ui','svg','getConfig','currentUsage','_setFormulaLimitStatus','attrs','_ensureSubject','moveTo','_drawTextRange','isArray','add','error','whenReady','findNodePositionByCharIndex','collabStatus.syncing','text','Warning','_startCalculationLimit','TOO_MANY_REQUESTS','fillStyle','on-line-icon','Optional','WebBrowserSingleActiveUnitService','WebURLService','UPDATE_CURSOR','_shapes','useObservable','MoveRangeCommandId','_textBubble','FETCH_MISS','/universer-api/license/formula/limit/start','session.connection-failed','@univerjs-pro/collaboration','addObjects','collabStatus.fetchMiss','_unitOnClients','invokeId','getSheetId','isActive','setActiveRange','APPLY_PERMISSION_DENIED','onPointerMove$','session.will-retry','object','syncEditingCollabCursor','REDEMPTION_CODE_HAS_BEEN_CREATED','map','m2Prime','ranges','CanceledError','_collaborationUIEventService','getMember','_taskIds','INotificationService','rxjs/operators','CONFLICT','[CollaborationDataLoaderController]','debounce','JOIN_ROOM_FAILED','VIEW_MAIN','collabCursorState$','_drawAnchor','CollaborationStatus','_status$','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','_configService','size','_hideTimer','USER_IS_ANONYMOUS','collabStatus.synced','endRow','disposeWithMe','_applyCommand','getVpScrollXYInfoByPosToVp','WebSocketService','unitID','_initDependencies','getAncestorScale','random','addObject','params','_colorAssignService','fillText','DocStateChangeManagerService','setItem','selection','event$','transformRemoteChangeset','toDisposable','saveTaskMap','from','fromEvent','_logService','hovered','makeDirty','top','_updateSubUnitFromURLParams','mergeOverrideWithDependencies','registerComponent','jsxs','getUnitId','_transformPreviousActiveRange','_saveCache','pluginName','_onRefRangeChange','push','ticket','_removeCollabCursors','body','max','unload','YUUMI_ALL_TABLES_IS_INVALID','bottom','measureText','_updateURLWithCurrentState','startColumn','collaboration-client-ui.config','_hovered','react','_updateLocalCursor','EMAIL_VERIFY_CODE_MISMATCH','getColorFromTheme','setParam','editingUnit','_render','replaceDocRanges','function','SheetCollabCursorShape','FromArray','RevisionService','actions','IRemoteInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','SetWorksheetActivateCommand','name','url(#$1','SetFormulaCalculationNotificationMutation','subscribe','currentTheme$','clearTimeout','_transformUndoRedoStack','deserializeRangeWithSheet','IURLService','univer-mr-2\x20univer-flex\x20univer-text-xl','863271bDTJFI','LOGIN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','_localeService','UNIVER_DOC','setTimeout','sessionTicket','shift','executeCommand','_cursor','UnitStatus','jsx','path','jiqing.500','NOT_FOUND','addEventListener','engine','sheetID','sheetId','_handleLeaveEvent','YUUMI_RATE_OVER_LIMIT','Tooltip','APPLY_REVISION_CONFILICT','stringify','ENTITLE_NEED_BILLING_ADDRESS','_docSkeletonManagerService','_handleEvent','_labelPosition','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','tag','TEXT','textRanges','getSheetBySheetId','CollaborationUIEventService','ICommandService','xlink:href','onPointerEnter$','green.600','beginPath','data','maxFormulaLimit','_themeService','_docSkeleton','font','getUniverSheetInstance','_registerRenderDependencies','getParam','SOCKET_FAILED_RETRY','_config','_saveTaskMap','off-line-icon_clip0_910_343','trim','searchParams','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/drawing','_univerInstanceService','_cursors','SetTextSelectionsOperation','show','code','children','defineProperty','ONLINE','getActiveSheet','onPointerLeave$','getSheetObject','_refRangeService','transformStateCache','serializeRangeWithSheet','YUUMI_ASYNCIO_CANCELLED','OffLineIcon','some','createIdentifier','ISocketService','imageSourceType','contains','_roomMembers$','_urlService','result','CHANGESET_REVISION_CONFILICT','lineTo','getCollabEntity$','restore','replace','RemoteUniscriptService','_eventUnsubscribe','displayName','_sheetSkeletonManagerService','RxDisposable','newValue','then'];_0x4979=function(){return _0x53db31;};return _0x4979();}function _0x102e(_0x58df1d,_0x5c38ea){const _0x4979fd=_0x4979();return _0x102e=function(_0x102e13,_0x567b95){_0x102e13=_0x102e13-0xf1;let _0x1f8066=_0x4979fd[_0x102e13];return _0x1f8066;},_0x102e(_0x58df1d,_0x5c38ea);}(function(_0x5b3a53,_0x4b8bf4){const _0x11d267=_0x102e,_0x106520=_0x5b3a53();while(!![]){try{const _0x5eba0f=-parseInt(_0x11d267(0x172))/0x1+parseInt(_0x11d267(0x2b5))/0x2+parseInt(_0x11d267(0x32b))/0x3+-parseInt(_0x11d267(0x315))/0x4*(-parseInt(_0x11d267(0x212))/0x5)+parseInt(_0x11d267(0x275))/0x6*(-parseInt(_0x11d267(0x335))/0x7)+parseInt(_0x11d267(0x2e1))/0x8*(parseInt(_0x11d267(0x2b2))/0x9)+-parseInt(_0x11d267(0x244))/0xa*(parseInt(_0x11d267(0x332))/0xb);if(_0x5eba0f===_0x4b8bf4)break;else _0x106520['push'](_0x106520['shift']());}catch(_0xb15753){_0x106520['push'](_0x106520['shift']());}}}(_0x4979,0x78716),function(_0x448c1a,_0x9747d5){const _0x579ec5=_0x102e;typeof exports==_0x579ec5(0x10d)&&typeof module<'u'?_0x9747d5(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==_0x579ec5(0x160)&&define[_0x579ec5(0x23b)]?define([_0x579ec5(0x2aa),_0x579ec5(0x205),_0x579ec5(0x267),_0x579ec5(0x33d),_0x579ec5(0x27d),_0x579ec5(0x38b),_0x579ec5(0x34f),_0x579ec5(0x158),'@univerjs/rpc','@univerjs/sheets',_0x579ec5(0x2bb),_0x579ec5(0x29a),_0x579ec5(0x3b1),_0x579ec5(0x1a9),_0x579ec5(0x102),'@univerjs/docs',_0x579ec5(0x350),_0x579ec5(0x118),_0x579ec5(0x284)],_0x9747d5):(_0x448c1a=typeof globalThis<'u'?globalThis:_0x448c1a||self,_0x9747d5(_0x448c1a[_0x579ec5(0x2cc)]={},_0x448c1a[_0x579ec5(0x24a)],_0x448c1a['UniverProCollaborationClient'],_0x448c1a['UniverCore'],_0x448c1a[_0x579ec5(0x2b1)],_0x448c1a[_0x579ec5(0x38b)],_0x448c1a[_0x579ec5(0x31b)],_0x448c1a[_0x579ec5(0x24a)],_0x448c1a[_0x579ec5(0x1d9)],_0x448c1a[_0x579ec5(0x3ac)],_0x448c1a['UniverEngineRender'],_0x448c1a['UniverNetwork'],_0x448c1a[_0x579ec5(0x1df)],_0x448c1a[_0x579ec5(0x24f)],_0x448c1a[_0x579ec5(0x319)],_0x448c1a[_0x579ec5(0x2e6)],_0x448c1a['UniverEngineFormula'],_0x448c1a[_0x579ec5(0x38b)][_0x579ec5(0x34e)],_0x448c1a[_0x579ec5(0x204)]));}(this,function(_0x1f8ef7,_0x1decf1,_0x41e580,_0x1f5e5b,_0x167676,_0x33c65e,_0x121096,_0x57692a,_0x45af0e,_0x1ab847,_0x1d0d67,_0x2d69ac,_0x5d0631,_0xfcb421,_0xe2b8d2,_0x28c037,_0x4a4c4d,_0x5401d8,_0x519bb2){'use strict';const _0x4af273=_0x102e;var _0x56321e=Object[_0x4af273(0x1b0)],_0x27051a=(_0x242a41,_0xc386fd,_0x1add81)=>_0xc386fd in _0x242a41?_0x56321e(_0x242a41,_0xc386fd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1add81}):_0x242a41[_0xc386fd]=_0x1add81,_0x2cf944=(_0x4d22ea,_0x3df5d8,_0x46ec92)=>_0x27051a(_0x4d22ea,typeof _0x3df5d8!=_0x4af273(0x340)?_0x3df5d8+'':_0x3df5d8,_0x46ec92);function _0x11032c({ref:_0x278643,..._0x496673}){const _0x468e42=_0x4af273,{icon:_0x54a1f9,id:_0x2fcfbc,className:_0x70ef3e,extend:_0x4f53f4,..._0x18aec2}=_0x496673,_0x5be3c0=('univerjs-icon\x20univerjs-icon-'+_0x2fcfbc+'\x20'+(_0x70ef3e||''))[_0x468e42(0x1a6)](),_0x53ebfa=_0x57692a[_0x468e42(0x268)]('_'+_0x116901());return _0x1c41ec(_0x54a1f9,''+_0x2fcfbc,{'defIds':_0x54a1f9['defIds'],'idSuffix':_0x53ebfa['current']},{'ref':_0x278643,'className':_0x5be3c0,..._0x18aec2},_0x4f53f4);}function _0x1c41ec(_0x3ab379,_0x2c4cf0,_0x2174f0,_0x3b4107,_0x34741a){const _0x465fb0=_0x4af273;return _0x57692a[_0x465fb0(0x2f0)](_0x3ab379[_0x465fb0(0x190)],{'key':_0x2c4cf0,..._0x64cb67(_0x3ab379,_0x2174f0,_0x34741a),..._0x3b4107},(_0x23921f(_0x3ab379,_0x2174f0)[_0x465fb0(0x1af)]||[])[_0x465fb0(0x110)]((_0x1e183b,_0x9b589a)=>_0x1c41ec(_0x1e183b,_0x2c4cf0+'-'+_0x3ab379[_0x465fb0(0x190)]+'-'+_0x9b589a,_0x2174f0,void 0x0,_0x34741a)));}function _0x64cb67(_0x321fbd,_0x2892f0,_0x15e990){const _0xb3083a=_0x4af273,_0x59296b={..._0x321fbd[_0xb3083a(0x3b6)]};_0x15e990!=null&&_0x15e990[_0xb3083a(0x2ae)]&&_0x59296b['fill']===_0xb3083a(0x2ae)&&(_0x59296b[_0xb3083a(0x2ee)]=_0x15e990['colorChannel1']),_0x321fbd[_0xb3083a(0x190)]===_0xb3083a(0x3aa)&&_0x59296b['id']&&(_0x59296b['id']=_0x59296b['id']+_0x2892f0[_0xb3083a(0x35b)]),Object[_0xb3083a(0x3ab)](_0x59296b)[_0xb3083a(0x26c)](([_0x202592,_0x152297])=>{const _0x5cb3d8=_0xb3083a;_0x202592===_0x5cb3d8(0x3aa)&&typeof _0x152297==_0x5cb3d8(0x1fe)&&(_0x59296b[_0x202592]=_0x152297['replace'](/url\(#(.*)\)/,_0x5cb3d8(0x169)+_0x2892f0[_0x5cb3d8(0x35b)]+')'));});const {defIds:_0x4442b3}=_0x2892f0;return!_0x4442b3||_0x4442b3[_0xb3083a(0x219)]===0x0||(_0x321fbd['tag']===_0xb3083a(0x2d9)&&_0x59296b[_0xb3083a(0x196)]&&(_0x59296b['xlink:href']=_0x59296b[_0xb3083a(0x196)]+_0x2892f0[_0xb3083a(0x35b)]),Object[_0xb3083a(0x3ab)](_0x59296b)[_0xb3083a(0x26c)](([_0x16115f,_0x4f82ba])=>{const _0x5c6e3b=_0xb3083a;typeof _0x4f82ba=='string'&&(_0x59296b[_0x16115f]=_0x4f82ba[_0x5c6e3b(0x1c6)](/url\(#(.*)\)/,_0x5c6e3b(0x169)+_0x2892f0[_0x5c6e3b(0x35b)]+')'));})),_0x59296b;}function _0x23921f(_0x283d7b,_0x2746a1){const _0x102671=_0x4af273;var _0x50f1f0;const {defIds:_0x52813c}=_0x2746a1;return!_0x52813c||_0x52813c[_0x102671(0x219)]===0x0?_0x283d7b:_0x283d7b[_0x102671(0x190)]===_0x102671(0x22d)&&((_0x50f1f0=_0x283d7b[_0x102671(0x1af)])!=null&&_0x50f1f0[_0x102671(0x219)])?{..._0x283d7b,'children':_0x283d7b[_0x102671(0x1af)][_0x102671(0x110)](_0x25cf14=>typeof _0x25cf14[_0x102671(0x3b6)]['id']==_0x102671(0x1fe)&&_0x52813c&&_0x52813c[_0x102671(0x2a3)](_0x25cf14[_0x102671(0x3b6)]['id'])?{..._0x25cf14,'attrs':{..._0x25cf14[_0x102671(0x3b6)],'id':_0x25cf14['attrs']['id']+_0x2746a1['idSuffix']}}:_0x25cf14)}:_0x283d7b;}function _0x116901(){const _0x2464b6=_0x4af273;return Math[_0x2464b6(0x130)]()['toString'](0x24)[_0x2464b6(0x31c)](0x2,0x8);}_0x11032c['displayName']=_0x4af273(0x228);const _0x16ec71={'tag':_0x4af273(0x3b2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4af273(0x399),'viewBox':_0x4af273(0x1f9),'width':'1em','height':_0x4af273(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af273(0x26d)},'children':[{'tag':_0x4af273(0x17f),'attrs':{'stroke':_0x4af273(0x261),'d':_0x4af273(0x122),'strokeLinecap':_0x4af273(0x220),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4af273(0x22d),'attrs':{},'children':[{'tag':_0x4af273(0x29d),'attrs':{'id':_0x4af273(0x1a5)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4af273(0x1a5)]},_0x3913d5=_0x57692a[_0x4af273(0x20b)](function(_0x4440f7,_0x287b67){const _0x517966=_0x4af273;return _0x57692a[_0x517966(0x2f0)](_0x11032c,Object[_0x517966(0x364)]({},_0x4440f7,{'id':_0x517966(0x2da),'ref':_0x287b67,'icon':_0x16ec71}));});_0x3913d5[_0x4af273(0x1c9)]=_0x4af273(0x1b9);const _0x4e5744={'tag':_0x4af273(0x3b2),'attrs':{'xmlns':_0x4af273(0x1e2),'fill':'none','viewBox':_0x4af273(0x363),'width':_0x4af273(0x23a),'height':_0x4af273(0x23a)},'children':[{'tag':'g','attrs':{'clipPath':_0x4af273(0x293)},'children':[{'tag':'path','attrs':{'stroke':_0x4af273(0x261),'d':_0x4af273(0x3a3),'strokeLinecap':_0x4af273(0x220),'strokeLinejoin':_0x4af273(0x220),'strokeWidth':1.2}}]},{'tag':_0x4af273(0x22d),'attrs':{},'children':[{'tag':_0x4af273(0x29d),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x4af273(0x1f6),'d':'M0\x200H16V16H0z','transform':_0x4af273(0x1e8)}}]}]}],'defIds':[_0x4af273(0x247)]},_0x3c5cf8=_0x57692a[_0x4af273(0x20b)](function(_0x27d01e,_0x49be2c){const _0x429a5a=_0x4af273;return _0x57692a['createElement'](_0x11032c,Object[_0x429a5a(0x364)]({},_0x27d01e,{'id':_0x429a5a(0xf6),'ref':_0x49be2c,'icon':_0x4e5744}));});_0x3c5cf8['displayName']=_0x4af273(0x238);function _0x2db869(_0x3089e5){const _0x18b585=_0x4af273;switch(_0x3089e5){case _0x41e580['CollaborationStatus'][_0x18b585(0x1e1)]:return _0x18b585(0x308);case _0x41e580[_0x18b585(0x120)][_0x18b585(0x119)]:return _0x18b585(0x389);case _0x41e580[_0x18b585(0x120)][_0x18b585(0xff)]:return _0x18b585(0x104);case _0x41e580['CollaborationStatus'][_0x18b585(0x1de)]:return _0x18b585(0x2c1);case _0x41e580[_0x18b585(0x120)]['AWAITING']:case _0x41e580[_0x18b585(0x120)][_0x18b585(0x291)]:return _0x18b585(0x3bf);case _0x41e580[_0x18b585(0x120)][_0x18b585(0x2c4)]:case _0x41e580[_0x18b585(0x120)]['PENDING']:return _0x18b585(0x127);}}function _0x510730(_0x325cd5){const _0xd31820=_0x4af273,{status$:_0x81c732}=_0x325cd5,_0x5ae9=_0x167676[_0xd31820(0xfc)](_0x81c732,_0x41e580[_0xd31820(0x120)][_0xd31820(0x1de)]),_0x24dba8=_0x167676[_0xd31820(0x263)](_0x1f5e5b['LocaleService']),_0x3e5d2a=_0x167676[_0xd31820(0x263)](_0x41e580['CollaborationSessionService']),_0x555306=_0x5ae9!==_0x41e580[_0xd31820(0x120)][_0xd31820(0x1e1)],_0x2677d4=_0x24dba8['t'](_0x2db869(_0x5ae9)),_0x369f59=_0x555306?_0x1decf1['jsx'](_0x3c5cf8,{}):_0x1decf1[_0xd31820(0x17e)](_0x3913d5,{}),_0x40ca02=_0x57692a[_0xd31820(0x1ce)](()=>{_0x555306||_0x3e5d2a['reconnect']();},[_0x555306,_0x3e5d2a]);function _0x3a2eb3(){const _0x3fccd5=_0xd31820;return _0x1decf1[_0x3fccd5(0x145)](_0x3fccd5(0x396),{'className':_0x3fccd5(0x272),'onClick':_0x40ca02,'children':[_0x1decf1[_0x3fccd5(0x17e)]('div',{'className':_0x121096['clsx'](_0x3fccd5(0x171),{'univer-text-green-500':_0x555306,'univer-text-red-500':!_0x555306}),'children':_0x369f59}),_0x1decf1[_0x3fccd5(0x17e)](_0x3fccd5(0x396),{'className':_0x3fccd5(0x288),'children':_0x2677d4})]});}return _0x555306?_0x3a2eb3():_0x1decf1[_0xd31820(0x17e)](_0x121096[_0xd31820(0x188)],{'title':_0x24dba8['t'](_0xd31820(0x274)),'children':_0x3a2eb3()});}var _0x401a4d=Object[_0x4af273(0x27f)],_0x45eafe=(_0x1bc7d5,_0x503fae,_0x14f366,_0x214316)=>{const _0x21aecd=_0x4af273;for(var _0x10a7f2=_0x214316>0x1?void 0x0:_0x214316?_0x401a4d(_0x503fae,_0x14f366):_0x503fae,_0x1e5d4b=_0x1bc7d5[_0x21aecd(0x219)]-0x1,_0x6d653;_0x1e5d4b>=0x0;_0x1e5d4b--)(_0x6d653=_0x1bc7d5[_0x1e5d4b])&&(_0x10a7f2=_0x6d653(_0x10a7f2)||_0x10a7f2);return _0x10a7f2;},_0x2e6e65=(_0x178fa3,_0x36dcd6)=>(_0x416c07,_0x556071)=>_0x36dcd6(_0x416c07,_0x556071,_0x178fa3);_0x1f8ef7[_0x4af273(0x2d5)]=class extends _0x1f5e5b['Disposable']{constructor(_0x171bd9,_0x5722fa,_0x38b838,_0xe4cc4){const _0x195bfb=_0x4af273;super(),_0x2cf944(this,_0x195bfb(0x121),new _0x33c65e[(_0x195bfb(0x301))](_0x41e580[_0x195bfb(0x120)][_0x195bfb(0x1de)])),(this[_0x195bfb(0x1aa)]=_0x171bd9,this[_0x195bfb(0x24e)]=_0x5722fa,this[_0x195bfb(0x249)]=_0x38b838,this[_0x195bfb(0x32d)]=_0xe4cc4,this[_0x195bfb(0x207)](),this[_0x195bfb(0x2de)]());}[_0x4af273(0x2de)](){const _0x53b25a=_0x4af273;this[_0x53b25a(0x129)](this['_univerInstanceService'][_0x53b25a(0x2d6)][_0x53b25a(0x33f)](_0x33c65e['switchMap'](()=>{const _0x3ed8ef=_0x53b25a,_0x283b53=this[_0x3ed8ef(0x1aa)]['getFocusedUnit']();return _0x283b53?this[_0x3ed8ef(0x249)][_0x3ed8ef(0x1c4)](_0x283b53[_0x3ed8ef(0x146)]()):_0x33c65e['of'](null);}),_0x33c65e[_0x53b25a(0x2f6)](_0x13f6cf=>_0x13f6cf?_0x13f6cf[_0x53b25a(0x2ac)]:_0x33c65e['of'](_0x41e580['CollaborationStatus'][_0x53b25a(0x1de)])))[_0x53b25a(0x16b)](_0x4e884a=>{const _0x2b9808=_0x53b25a;this[_0x2b9808(0x121)][_0x2b9808(0x2d7)](_0x4e884a);}));}['_initStatusComponent'](){const _0x50c7b4=_0x4af273;this[_0x50c7b4(0x129)](this[_0x50c7b4(0x32d)][_0x50c7b4(0x144)](_0x167676['BuiltInUIPart'][_0x50c7b4(0x2bc)],()=>_0x167676[_0x50c7b4(0x22f)](_0x36284a({'status$':this[_0x50c7b4(0x121)][_0x50c7b4(0x290)]()}),this[_0x50c7b4(0x24e)])));}},_0x1f8ef7[_0x4af273(0x2d5)]=_0x45eafe([_0x2e6e65(0x0,_0x1f5e5b[_0x4af273(0x1d5)]),_0x2e6e65(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x2e6e65(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x41e580['CollaborationController'])),_0x2e6e65(0x3,_0x167676[_0x4af273(0x34d)])],_0x1f8ef7[_0x4af273(0x2d5)]);function _0x36284a(_0x5ae692){const {status$:_0x1e9126}=_0x5ae692;return function(){const _0x5593b6=_0x102e;return _0x1decf1[_0x5593b6(0x17e)](_0x510730,{'status$':_0x1e9126});};}const _0x5994ee=_0x1f5e5b[_0x4af273(0x1bb)](_0x4af273(0x23f));var _0x2f97d2=Object[_0x4af273(0x27f)],_0x37e98d=(_0xffa60,_0x1ec2bf,_0x151d82,_0x196f62)=>{const _0x5cc734=_0x4af273;for(var _0x5d5856=_0x196f62>0x1?void 0x0:_0x196f62?_0x2f97d2(_0x1ec2bf,_0x151d82):_0x1ec2bf,_0x418789=_0xffa60[_0x5cc734(0x219)]-0x1,_0x212e34;_0x418789>=0x0;_0x418789--)(_0x212e34=_0xffa60[_0x418789])&&(_0x5d5856=_0x212e34(_0x5d5856)||_0x5d5856);return _0x5d5856;},_0x19c187=(_0x482a5f,_0x110100)=>(_0x1bb56e,_0x53b652)=>_0x110100(_0x1bb56e,_0x53b652,_0x482a5f);_0x1f8ef7[_0x4af273(0x2f7)]=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0xf6a6e4,_0x173fb6,_0x5a3de2,_0x3e55ef,_0x10ecbf){const _0x11873c=_0x4af273;super(),this[_0x11873c(0x1c0)]=_0xf6a6e4,this[_0x11873c(0x13e)]=_0x173fb6,this['_commandService']=_0x5a3de2,this['_dataLoaderService']=_0x3e55ef,_0x10ecbf?_0x10ecbf==null||_0x10ecbf[_0x11873c(0x3bd)]()[_0x11873c(0x1cd)](()=>this[_0x11873c(0x313)]()):(this[_0x11873c(0x13e)][_0x11873c(0x1fc)]('[CollaborationDataLoaderController]',_0x11873c(0x2d3)),this[_0x11873c(0x313)]());}async[_0x4af273(0x313)](){const _0xb9ddeb=_0x4af273,_0x71937c=this[_0xb9ddeb(0x1c0)][_0xb9ddeb(0x1a1)](_0xb9ddeb(0x243)),_0x44d71d=this[_0xb9ddeb(0x1c0)][_0xb9ddeb(0x1a1)](_0xb9ddeb(0x330)),_0x370099=this['_urlService'][_0xb9ddeb(0x1a1)](_0xb9ddeb(0x379));if(!_0x71937c||!_0x44d71d){this['_logService'][_0xb9ddeb(0x1fc)](_0xb9ddeb(0x11a),_0xb9ddeb(0x18f));return;}const _0x26e264=await this['_dataLoaderService'][_0xb9ddeb(0x217)](_0x71937c,Number(_0x44d71d),_0x370099);_0x26e264&&_0x26e264 instanceof _0x1f5e5b[_0xb9ddeb(0x253)]&&this['_setupSubUnitSync'](_0x26e264);}async[_0x4af273(0x2c8)](_0x20ac5a){const _0x2df933=_0x4af273;await this['_updateSubUnitFromURLParams'](_0x20ac5a),_0x20ac5a['activeSheet$'][_0x2df933(0x33f)](_0x33c65e[_0x2df933(0x383)](this[_0x2df933(0x38e)]))[_0x2df933(0x16b)](_0x5ebb3b=>{const _0x53ea5a=_0x2df933;_0x5ebb3b&&this[_0x53ea5a(0x154)](_0x5ebb3b);}),this[_0x2df933(0x1c0)][_0x2df933(0x236)]['pipe'](_0x33c65e[_0x2df933(0x383)](this['dispose$']))[_0x2df933(0x16b)](()=>this[_0x2df933(0x142)](_0x20ac5a));}[_0x4af273(0x154)](_0x8d12af,_0x21a314=!0x1){const _0x514c3a=_0x4af273,_0x276e47=this[_0x514c3a(0x1c0)][_0x514c3a(0x1a1)]('subunit');_0x8d12af[_0x514c3a(0x107)]()!==_0x276e47&&this[_0x514c3a(0x1c0)]['setParam'](_0x514c3a(0x379),_0x8d12af[_0x514c3a(0x107)](),_0x21a314);}async[_0x4af273(0x142)](_0x1729a9){const _0x2a5f59=_0x4af273;var _0xd5790d;const _0x5bab66=this[_0x2a5f59(0x1c0)][_0x2a5f59(0x1a1)](_0x2a5f59(0x379));if(!_0x5bab66||!_0x1729a9['getSheetBySheetId'](_0x5bab66)){const _0x40d2ff=_0x1729a9[_0x2a5f59(0x2d4)]()[0x0],_0x2260ef=_0x1729a9[_0x2a5f59(0x193)](_0x40d2ff);if(!_0x2260ef)return;this[_0x2a5f59(0x154)](_0x2260ef,!0x0),await this[_0x2a5f59(0x304)]['executeCommand'](_0x1ab847[_0x2a5f59(0x167)]['id'],{'unitId':_0x1729a9['getUnitId'](),'subUnitId':_0x40d2ff});return;}((_0xd5790d=_0x1729a9['getActiveSheet']())==null?void 0x0:_0xd5790d[_0x2a5f59(0x107)]())!==_0x5bab66&&await this[_0x2a5f59(0x304)]['executeCommand'](_0x1ab847[_0x2a5f59(0x167)]['id'],{'unitId':_0x1729a9[_0x2a5f59(0x146)](),'subUnitId':_0x5bab66});}},_0x1f8ef7[_0x4af273(0x2f7)]=_0x37e98d([_0x19c187(0x0,_0x5994ee),_0x19c187(0x1,_0x1f5e5b['ILogService']),_0x19c187(0x2,_0x1f5e5b[_0x4af273(0x195)]),_0x19c187(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x41e580['DataLoaderService'])),_0x19c187(0x4,_0x1f5e5b[_0x4af273(0xf7)](_0x45af0e[_0x4af273(0x165)]))],_0x1f8ef7[_0x4af273(0x2f7)]);var _0x1eef08=Object['getOwnPropertyDescriptor'],_0x329b7b=(_0x3d8ebe,_0x163f88,_0x2b6498,_0x1034a8)=>{const _0x2925c2=_0x4af273;for(var _0x1d82e1=_0x1034a8>0x1?void 0x0:_0x1034a8?_0x1eef08(_0x163f88,_0x2b6498):_0x163f88,_0x166d4e=_0x3d8ebe[_0x2925c2(0x219)]-0x1,_0x78e98b;_0x166d4e>=0x0;_0x166d4e--)(_0x78e98b=_0x3d8ebe[_0x166d4e])&&(_0x1d82e1=_0x78e98b(_0x1d82e1)||_0x1d82e1);return _0x1d82e1;},_0x1d434f=(_0xc8bfe2,_0x522aba)=>(_0x404d1c,_0x94376b)=>_0x522aba(_0x404d1c,_0x94376b,_0xc8bfe2);let _0x1c618c=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x4eee4e,_0x3dd229){const _0x85e0cb=_0x4af273;super(),this[_0x85e0cb(0x377)]=_0x4eee4e,this[_0x85e0cb(0x29e)]=_0x3dd229,this[_0x85e0cb(0x313)]();}[_0x4af273(0x313)](){const _0x5ca06f=_0x4af273,_0x22251d=this;this[_0x5ca06f(0x129)](this[_0x5ca06f(0x377)]['addClipboardHook']({'onBeforePasteImage':async _0x3b04f8=>{const _0x59bb3f=_0x5ca06f,_0xd7a0c6=await _0x22251d[_0x59bb3f(0x29e)]['saveImage'](_0x3b04f8);return _0xd7a0c6?{'source':_0xd7a0c6[_0x59bb3f(0x2e2)],'imageSourceType':_0xd7a0c6[_0x59bb3f(0x1bd)]}:null;}}));}};_0x1c618c=_0x329b7b([_0x1d434f(0x0,_0x5d0631[_0x4af273(0x26a)]),_0x1d434f(0x1,_0xfcb421['IImageIoService'])],_0x1c618c);const _0x5281d1=[_0x4af273(0x372),_0x4af273(0x180),_0x4af273(0x198),_0x4af273(0x2d2),_0x4af273(0x2ba),_0x4af273(0x2a1)];class _0x185c02 extends _0x1f5e5b[_0x4af273(0x218)]{constructor(){const _0x5e420c=_0x4af273;super(...arguments),_0x2cf944(this,_0x5e420c(0x337),new Map()),_0x2cf944(this,_0x5e420c(0x206),0x0);}[_0x4af273(0x2b4)](_0x3e919c){const _0x644cf6=_0x4af273;if(this[_0x644cf6(0x337)]['has'](_0x3e919c))return this['_assignedColors'][_0x644cf6(0x298)](_0x3e919c);const _0x317ed7=_0x5281d1[this['_colorIndex']];return this[_0x644cf6(0x206)]=(this[_0x644cf6(0x206)]+0x1)%_0x5281d1[_0x644cf6(0x219)],this['_assignedColors'][_0x644cf6(0x39f)](_0x3e919c,_0x317ed7),_0x317ed7;}}function _0x156730(_0xc7ea24){const _0x5be880=_0x4af273;let _0x1e6ef4='';for(const _0x253549 of _0xc7ea24){const {startOffset:_0x57000f,endOffset:_0x3b9fac,isActive:_0x16e25a,rangeType:_0x1c33a4,segmentId:_0x1b5e9f,segmentPage:_0x3b7bec}=_0x253549;_0x1e6ef4[_0x5be880(0x219)]&&(_0x1e6ef4+=','),_0x1e6ef4+=_0x57000f+':'+_0x3b9fac+':'+(_0x16e25a?'1':'0')+':'+_0x1c33a4+':'+_0x1b5e9f+':'+_0x3b7bec;}return _0x1e6ef4;}function _0x4d8b19(_0x384eca){const _0x416fa4=_0x4af273,_0x3d72f6=_0x384eca[_0x416fa4(0x2dd)](','),_0x2c3f91=[];for(const _0x185a21 of _0x3d72f6){const [_0x2eb2b1,_0x2a99d2,_0x491cfa,_0x2149b9,_0x27e000,_0x3c3f2e]=_0x185a21[_0x416fa4(0x2dd)](':');_0x2c3f91[_0x416fa4(0x14b)]({'startOffset':Number(_0x2eb2b1),'endOffset':Number(_0x2a99d2),'collapsed':_0x2eb2b1===_0x2a99d2,'isActive':_0x491cfa==='1','rangeType':_0x2149b9===_0x1f5e5b['DOC_RANGE_TYPE']['TEXT']?_0x1f5e5b[_0x416fa4(0x359)][_0x416fa4(0x191)]:_0x1f5e5b[_0x416fa4(0x359)][_0x416fa4(0x294)],'segmentId':typeof _0x27e000==_0x416fa4(0x1fe)?String(_0x27e000):'','segmentPage':Number(_0x3c3f2e!=null?_0x3c3f2e:-0x1)});}return _0x2c3f91[_0x416fa4(0x1ba)](_0x46e1b4=>_0x46e1b4[_0x416fa4(0x108)])||(_0x2c3f91[0x0][_0x416fa4(0x108)]=!0x0),_0x2c3f91;}class _0x1ecbcb extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(){const _0x65fe4=_0x4af273;super(...arguments),_0x2cf944(this,_0x65fe4(0x209),new _0x33c65e[(_0x65fe4(0x301))](null)),_0x2cf944(this,_0x65fe4(0x11e),this[_0x65fe4(0x209)][_0x65fe4(0x290)]());}[_0x4af273(0x10e)](_0x3aa98e){const _0x455e5e=_0x4af273,{unitID:_0x175be1,memberID:_0x21f4f7,textRanges:_0x2b043f}=_0x3aa98e,_0xa703c1=_0x156730(_0x2b043f);if(_0xa703c1==='')return;const _0x4694c1={'unitID':_0x175be1,'memberID':_0x21f4f7,'selection':_0xa703c1};this['_collabCursorState$'][_0x455e5e(0x2d7)](_0x4694c1);}}var _0x26ff68=Object[_0x4af273(0x27f)],_0x3caf11=(_0x3e95e2,_0xde2063,_0x3fc889,_0x2f02d0)=>{for(var _0x2d4d00=_0x2f02d0>0x1?void 0x0:_0x2f02d0?_0x26ff68(_0xde2063,_0x3fc889):_0xde2063,_0xf5a4e8=_0x3e95e2['length']-0x1,_0x28993e;_0xf5a4e8>=0x0;_0xf5a4e8--)(_0x28993e=_0x3e95e2[_0xf5a4e8])&&(_0x2d4d00=_0x28993e(_0x2d4d00)||_0x2d4d00);return _0x2d4d00;},_0x3e6aea=(_0x25c655,_0x169b64)=>(_0x4b8010,_0xbbf123)=>_0x169b64(_0x4b8010,_0xbbf123,_0x25c655);const _0x544c11=0x12c,_0x379f31=0x64;let _0x485df8=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0xebe513,_0x456242,_0x2940a3,_0x5a66b9,_0x299d07,_0x49ce7c,_0x584b24,_0xcf58f4,_0x426883){const _0x2bb1d8=_0x4af273;super(),_0x2cf944(this,_0x2bb1d8(0x2b8),!0x1),_0x2cf944(this,_0x2bb1d8(0x313),!0x1),_0x2cf944(this,'_cursorInfo$',new _0x33c65e[(_0x2bb1d8(0x301))](new Map())),_0x2cf944(this,'cursorInfo$',this['_cursorInfo$'][_0x2bb1d8(0x290)]()),_0x2cf944(this,_0x2bb1d8(0x1bf),new _0x33c65e[(_0x2bb1d8(0x301))]([])),_0x2cf944(this,'roomMembers$',this[_0x2bb1d8(0x1bf)][_0x2bb1d8(0x33f)](_0x33c65e[_0x2bb1d8(0x28d)](_0x544c11))),_0x2cf944(this,'_updateLocalCursor',_0x1f5e5b[_0x2bb1d8(0x11b)](_0x35b358=>{const _0x556554=_0x2bb1d8,_0x50ff5a={'eventID':_0xe2b8d2['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x556554(0x12d)],'memberID':this[_0x556554(0x22b)][_0x556554(0x2f8)](),'selection':_0x156730(_0x35b358)}};this[_0x556554(0x22b)]['send'](_0x50ff5a,this['unitID']);},_0x379f31)),(this[_0x2bb1d8(0x12d)]=_0xebe513,this[_0x2bb1d8(0x22b)]=_0x456242,this[_0x2bb1d8(0x24e)]=_0x2940a3,this[_0x2bb1d8(0x133)]=_0x5a66b9,this[_0x2bb1d8(0x333)]=_0x299d07,this[_0x2bb1d8(0x22e)]=_0x49ce7c,this[_0x2bb1d8(0x25e)]=_0x584b24,this['_univerInstanceService']=_0xcf58f4,this[_0x2bb1d8(0x304)]=_0x426883);}get['cursorInfo'](){const _0x3590c5=_0x4af273;return this['_cursorInfo$'][_0x3590c5(0x312)]();}get[_0x4af273(0x39b)](){const _0x5dee07=_0x4af273;return this[_0x5dee07(0x1bf)]['getValue']();}['dispose'](){const _0x582bcc=_0x4af273;super[_0x582bcc(0x254)](),this[_0x582bcc(0x2d8)][_0x582bcc(0x2d7)](new Map()),this[_0x582bcc(0x2d8)]['complete'](),this[_0x582bcc(0x1bf)][_0x582bcc(0x2d7)]([]),this[_0x582bcc(0x1bf)][_0x582bcc(0x20e)]();}[_0x4af273(0x27e)](){const _0x32d4f0=_0x4af273;this[_0x32d4f0(0x313)]||(this[_0x32d4f0(0x313)]=!0x0,this[_0x32d4f0(0x22b)]['sessionStatus$']['pipe'](_0x33c65e[_0x32d4f0(0x383)](this[_0x32d4f0(0x38e)]))[_0x32d4f0(0x16b)](_0x37d418=>{const _0xf6b0d=_0x32d4f0;_0x37d418===_0x41e580['SessionStatus'][_0xf6b0d(0x1b1)]?this[_0xf6b0d(0x353)]():this[_0xf6b0d(0x342)]();}),this[_0x32d4f0(0x22b)][_0x32d4f0(0x138)][_0x32d4f0(0x33f)](_0x33c65e['takeUntil'](this['dispose$']))[_0x32d4f0(0x16b)](_0x498861=>{const _0x52fde5=_0x32d4f0,_0x6de85d=_0x498861['eventID'];_0x6de85d===_0xe2b8d2[_0x52fde5(0x36e)][_0x52fde5(0xfa)]&&this[_0x52fde5(0x26f)](_0x498861),_0x6de85d===_0xe2b8d2[_0x52fde5(0x36e)]['USERS_LEAVE']&&this[_0x52fde5(0x2c6)](_0x498861);}),this[_0x32d4f0(0x129)](this[_0x32d4f0(0x304)]['onCommandExecuted'](_0x5e2890=>{const _0x1c86fc=_0x32d4f0,_0x94d974=_0x5e2890[_0x1c86fc(0x132)];_0x94d974!=null&&this[_0x1c86fc(0x2b8)]&&_0x5e2890['id']===_0x28c037[_0x1c86fc(0x1ac)]['id']&&_0x94d974['unitId']===this['unitID']&&_0x94d974[_0x1c86fc(0x1fb)]===!0x1&&_0x94d974[_0x1c86fc(0x112)][_0x1c86fc(0x219)]>0x0&&this['_updateLocalCursor'](_0x94d974[_0x1c86fc(0x112)]);})),this[_0x32d4f0(0x22e)][_0x32d4f0(0x11e)][_0x32d4f0(0x33f)](_0x33c65e[_0x32d4f0(0x383)](this[_0x32d4f0(0x38e)]))['subscribe'](_0xdad52f=>{const _0x231339=_0x32d4f0;if((_0xdad52f==null?void 0x0:_0xdad52f[_0x231339(0x12d)])!==this[_0x231339(0x12d)])return;const _0x8f1c77={'eventID':_0xe2b8d2[_0x231339(0x36e)]['UPDATE_CURSOR'],'data':_0xdad52f};this['_onCursorUpdate'](_0x8f1c77);}),this['disposeWithMe'](this[_0x32d4f0(0x304)][_0x32d4f0(0x2ff)](_0x337c30=>{const _0x31a7bf=_0x32d4f0;if(_0x337c30[_0x31a7bf(0x132)]==null)return;const _0x56c806=_0x337c30[_0x31a7bf(0x132)];if(_0x337c30['id']!==_0x28c037[_0x31a7bf(0x2dc)]['id']||_0x56c806[_0x31a7bf(0x328)]!==this[_0x31a7bf(0x12d)])return;const _0x1aad90={'id':_0x31a7bf(0x2f2),'params':_0x56c806},_0xa162bc=this[_0x31a7bf(0x2c2)];for(const [_0x19bd07,_0x4e4fe9]of _0xa162bc){const _0x2c6221={'id':_0x31a7bf(0x2f2),'params':{'unitId':this[_0x31a7bf(0x12d)],'actions':null,'textRanges':_0x4e4fe9[_0x31a7bf(0x112)]}},_0x26c093=this[_0x31a7bf(0x25e)][_0x31a7bf(0x2cb)](_0x1aad90,_0x2c6221,!0x1);if(_0xe2b8d2[_0x31a7bf(0x2fc)](_0x26c093))throw _0x26c093[_0x31a7bf(0x3bc)];_0xa162bc['set'](_0x19bd07,{..._0x4e4fe9,'ranges':_0x26c093[_0x31a7bf(0x111)]['params'][_0x31a7bf(0x192)]});}queueMicrotask(()=>{const _0xf3a0c5=_0x31a7bf;this[_0xf3a0c5(0x2d8)][_0xf3a0c5(0x2d7)](_0xa162bc);});})));}[_0x4af273(0x26f)](_0x57a7fa){const _0xd25aaf=_0x4af273;var _0x4402bf,_0x4515d4;const {memberID:_0x27d8cf,selection:_0xf8bbec}=_0x57a7fa[_0xd25aaf(0x19a)],_0x45aee9=_0x4d8b19(_0xf8bbec),_0x5a5a3e=(_0x4515d4=(_0x4402bf=this[_0xd25aaf(0x333)][_0xd25aaf(0x115)](this[_0xd25aaf(0x12d)],_0x27d8cf))==null?void 0x0:_0x4402bf['name'])!=null?_0x4515d4:_0xd25aaf(0x375),_0xa92bd4={'color':this['_colorAssignService'][_0xd25aaf(0x2b4)](_0x27d8cf),'name':_0x5a5a3e,'ranges':_0x45aee9},_0x4e83f6=this[_0xd25aaf(0x2c2)];_0x4e83f6['set'](_0x27d8cf,_0xa92bd4),this[_0xd25aaf(0x2d8)][_0xd25aaf(0x2d7)](_0x4e83f6);}['_onCursorDelete'](_0x4b4c70){const _0x2bcf8=_0x4af273,{memberID:_0x54563a}=_0x4b4c70[_0x2bcf8(0x19a)],_0xa9fe4=this['cursorInfo'];_0xa9fe4[_0x2bcf8(0x2f3)](_0x54563a),this['_cursorInfo$'][_0x2bcf8(0x2d7)](_0xa9fe4);}[_0x4af273(0x353)](){const _0x436f3b=_0x4af273;var _0x1a1c7d;if(this['_online']=!0x0,((_0x1a1c7d=this[_0x436f3b(0x1aa)]['getFocusedUnit']())==null?void 0x0:_0x1a1c7d[_0x436f3b(0x146)]())!==this[_0x436f3b(0x12d)])return;const _0xaef53=this[_0x436f3b(0x24e)]['get'](_0x28c037[_0x436f3b(0x21f)])[_0x436f3b(0x343)]();Array[_0x436f3b(0x3ba)](_0xaef53)&&_0xaef53['length']>0x0&&this[_0x436f3b(0x159)](_0xaef53);}[_0x4af273(0x342)](){const _0x4aac26=_0x4af273;this[_0x4aac26(0x2b8)]=!0x1;}};_0x485df8=_0x3caf11([_0x3e6aea(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b['Injector'])),_0x3e6aea(0x3,_0x1f5e5b['Inject'](_0x185c02)),_0x3e6aea(0x4,_0x1f5e5b['Inject'](_0x41e580[_0x4af273(0x30d)])),_0x3e6aea(0x5,_0x1f5e5b[_0x4af273(0x371)](_0x1ecbcb)),_0x3e6aea(0x6,_0xe2b8d2[_0x4af273(0x251)]),_0x3e6aea(0x7,_0x1f5e5b[_0x4af273(0x1d5)]),_0x3e6aea(0x8,_0x1f5e5b['ICommandService'])],_0x485df8);var _0x1350c7=Object['getOwnPropertyDescriptor'],_0x44b109=(_0x3b9e1c,_0x4bbb1f,_0xae6efb,_0x4950a5)=>{for(var _0x16611e=_0x4950a5>0x1?void 0x0:_0x4950a5?_0x1350c7(_0x4bbb1f,_0xae6efb):_0x4bbb1f,_0xa244c7=_0x3b9e1c['length']-0x1,_0x276d2f;_0xa244c7>=0x0;_0xa244c7--)(_0x276d2f=_0x3b9e1c[_0xa244c7])&&(_0x16611e=_0x276d2f(_0x16611e)||_0x16611e);return _0x16611e;},_0x31bd83=(_0x11d6d5,_0x1c3cb6)=>(_0xc79e0d,_0x53c5ab)=>_0x1c3cb6(_0xc79e0d,_0x53c5ab,_0x11d6d5);const _0xdfa7d4=0x12c,_0x2fb993=0x64,_0x807a84=()=>{let _0x37b0de=[],_0x3149f3=!0x1;return _0x49daa6=>{const _0x150a17=_0x102e;_0x37b0de[_0x150a17(0x14b)](_0x49daa6),_0x3149f3||(_0x3149f3=!0x0,setTimeout(()=>{const _0xaa3453=_0x150a17;_0x37b0de[_0xaa3453(0x26c)](_0x1dece8=>_0x1dece8()),_0x37b0de=[],_0x3149f3=!0x1;}));};};let _0x1bcb1e=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x445521,_0x260201,_0x459e77,_0x5589e0,_0xb2629,_0x31332c,_0x539fac,_0x41889d){const _0x17403a=_0x4af273;super(),_0x2cf944(this,_0x17403a(0x2b8),!0x1),_0x2cf944(this,'_init',!0x1),_0x2cf944(this,_0x17403a(0x2d8),new _0x33c65e['BehaviorSubject'](new Map())),_0x2cf944(this,_0x17403a(0x1d2),this[_0x17403a(0x2d8)][_0x17403a(0x290)]()),_0x2cf944(this,_0x17403a(0x1bf),new _0x33c65e[(_0x17403a(0x301))]([])),_0x2cf944(this,_0x17403a(0x260),this[_0x17403a(0x1bf)][_0x17403a(0x33f)](_0x33c65e[_0x17403a(0x28d)](_0xdfa7d4))),_0x2cf944(this,_0x17403a(0x159),_0x1f5e5b['debounce']((_0x293c54,_0x1dab80)=>{const _0x5be5df=_0x17403a,_0xe6d52a={'eventID':_0xe2b8d2[_0x5be5df(0x36e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5be5df(0x12d)],'memberID':this['_session'][_0x5be5df(0x2f8)](),'selection':_0x4a4c4d[_0x5be5df(0x1b7)](_0x293c54,_0x1dab80['range'])}};this[_0x5be5df(0x22b)][_0x5be5df(0x24d)](_0xe6d52a,this[_0x5be5df(0x12d)]);},_0x2fb993)),(this['unitID']=_0x445521,this[_0x17403a(0x22b)]=_0x260201,this[_0x17403a(0x24e)]=_0x459e77,this[_0x17403a(0x133)]=_0x5589e0,this[_0x17403a(0x333)]=_0xb2629,this['_univerInstanceService']=_0x31332c,this[_0x17403a(0x304)]=_0x539fac,this['_refRangeService']=_0x41889d);}get[_0x4af273(0x2c2)](){const _0x4d57ab=_0x4af273;return this['_cursorInfo$'][_0x4d57ab(0x312)]();}get[_0x4af273(0x39b)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x4c03e0=_0x4af273;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x4c03e0(0x2d8)][_0x4c03e0(0x20e)](),this['_roomMembers$'][_0x4c03e0(0x2d7)]([]),this[_0x4c03e0(0x1bf)]['complete']();}[_0x4af273(0x27e)](){const _0x3ace98=_0x4af273;this[_0x3ace98(0x313)]||(this[_0x3ace98(0x313)]=!0x0,this[_0x3ace98(0x22b)]['sessionStatus$'][_0x3ace98(0x33f)](_0x33c65e[_0x3ace98(0x383)](this['dispose$']))[_0x3ace98(0x16b)](_0x5b28a9=>{const _0x12072f=_0x3ace98;_0x5b28a9===_0x41e580[_0x12072f(0x35f)][_0x12072f(0x1b1)]?this[_0x12072f(0x353)]():this[_0x12072f(0x342)]();}),this[_0x3ace98(0x22b)]['event$'][_0x3ace98(0x33f)](_0x33c65e[_0x3ace98(0x383)](this['dispose$']))['subscribe'](_0x1997af=>{const _0x3b3991=_0x3ace98,_0x162e22=_0x1997af[_0x3b3991(0x1eb)];_0x162e22===_0xe2b8d2[_0x3b3991(0x36e)][_0x3b3991(0xfa)]&&this[_0x3b3991(0x26f)](_0x1997af),_0x162e22===_0xe2b8d2[_0x3b3991(0x36e)]['USERS_LEAVE']&&this[_0x3b3991(0x2c6)](_0x1997af);}),this[_0x3ace98(0x14a)](),this[_0x3ace98(0x129)](this['_commandService'][_0x3ace98(0x2ff)](_0x5e207c=>{const _0x512252=_0x3ace98;if(this[_0x512252(0x2b8)]&&_0x5e207c['id']===_0x1ab847['SetSelectionsOperation']['id']&&_0x5e207c['params'][_0x512252(0x328)]===this[_0x512252(0x12d)]){const _0x37b0c7=_0x5e207c[_0x512252(0x132)];this[_0x512252(0x159)](_0x37b0c7['subUnitId'],_0x37b0c7['selections'][0x0]);}})));}[_0x4af273(0x26f)](_0x3f9546){const _0x26dae5=_0x4af273;var _0xb0c153,_0x1af1af;const {memberID:_0x1b1454,selection:_0x29dfc1}=_0x3f9546['data'],{sheetName:_0x253443,range:_0x1b8e3a}=_0x4a4c4d[_0x26dae5(0x16f)](_0x29dfc1),_0x2445d9={'name':(_0x1af1af=(_0xb0c153=this[_0x26dae5(0x333)]['getMember'](this[_0x26dae5(0x12d)],_0x1b1454))==null?void 0x0:_0xb0c153[_0x26dae5(0x168)])!=null?_0x1af1af:_0x26dae5(0x375),'range':this[_0x26dae5(0x295)](_0x253443,_0x1b8e3a),'sheetID':_0x253443,'color':this[_0x26dae5(0x133)][_0x26dae5(0x2b4)](_0x1b1454),'selection':_0x29dfc1},_0x293129=this[_0x26dae5(0x2c2)];_0x293129[_0x26dae5(0x39f)](_0x1b1454,_0x2445d9),this[_0x26dae5(0x2d8)][_0x26dae5(0x2d7)](_0x293129);}['_onCursorDelete'](_0x4cb9f3){const _0x576d8b=_0x4af273,{memberID:_0x4c5e1a}=_0x4cb9f3[_0x576d8b(0x19a)],_0xa649ed=this['cursorInfo'];_0xa649ed[_0x576d8b(0x2f3)](_0x4c5e1a),this[_0x576d8b(0x2d8)]['next'](_0xa649ed);}['_getMergeRange'](_0x15878f,_0x5349f5){const _0x7244dd=_0x4af273;var _0x4f15bc,_0x4c9fbb;const _0x363248=(_0x4c9fbb=(_0x4f15bc=this[_0x7244dd(0x1aa)][_0x7244dd(0x19f)](this[_0x7244dd(0x12d)]))==null?void 0x0:_0x4f15bc[_0x7244dd(0x193)](_0x15878f))==null?void 0x0:_0x4c9fbb[_0x7244dd(0x318)]();return(_0x363248==null?void 0x0:_0x363248[_0x7244dd(0x36d)](_0x2d6e79=>_0x1f5e5b[_0x7244dd(0x240)][_0x7244dd(0x1be)](_0x2d6e79,_0x5349f5)))||_0x5349f5;}[_0x4af273(0x14a)](){const _0x215220=_0x4af273,_0x435964=new _0x1f5e5b[(_0x215220(0x1fd))](),_0x40d3a9=_0x807a84(),_0x48c8f9=()=>{const _0x2249a2=_0x215220;_0x435964['dispose']();const _0x1ef388=(_0x4aa4e7,_0x1c2a17,_0x616cda,_0x1eac64)=>{const _0x487980=_0x102e;let _0x15b1fa=[];switch(_0x4aa4e7['id']){case _0x1ab847['EffectRefRangId'][_0x487980(0x234)]:{_0x15b1fa=_0x1ab847['handleDeleteRangeMoveLeft'](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)]['DeleteRangeMoveUpCommandId']:{_0x15b1fa=_0x1ab847['handleDeleteRangeMoveUp'](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)]['InsertColCommandId']:{_0x15b1fa=_0x1ab847[_0x487980(0x258)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)][_0x487980(0x314)]:{_0x15b1fa=_0x1ab847[_0x487980(0x273)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)]['InsertRangeMoveRightCommandId']:{_0x15b1fa=_0x1ab847['handleInsertRangeMoveRight'](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)][_0x487980(0x326)]:{_0x15b1fa=_0x1ab847[_0x487980(0x266)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847[_0x487980(0x2af)][_0x487980(0xfd)]:{_0x15b1fa=_0x1ab847[_0x487980(0x3a8)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847['EffectRefRangId'][_0x487980(0x27a)]:{_0x15b1fa=_0x1ab847[_0x487980(0x38f)](_0x4aa4e7,_0x1eac64);break;}case _0x1ab847['EffectRefRangId'][_0x487980(0x3a7)]:{_0x15b1fa=_0x1ab847['handleIRemoveRow'](_0x4aa4e7,_0x1eac64);break;}}const _0x414ada=_0x1ab847['runRefRangeMutations'](_0x15b1fa,_0x1eac64),_0x2de56e=this['cursorInfo'][_0x487980(0x298)](_0x1c2a17);if(_0x2de56e&&_0x414ada){const _0x2fcf53={..._0x2de56e,'range':_0x414ada};this[_0x487980(0x2c2)][_0x487980(0x39f)](_0x1c2a17,_0x2fcf53),_0x40d3a9(()=>{const _0x573c63=_0x487980,_0x26f46a=this['_refRangeService'][_0x573c63(0x36b)](_0x414ada,_0x4dddfd=>(_0x26f46a['dispose'](),_0x1ef388(_0x4dddfd,_0x1c2a17,_0x616cda,_0x414ada)));_0x435964['add'](_0x26f46a);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2249a2(0x26c)]((_0x3dc8b0,_0x3093a3)=>{const _0xff6839=_0x2249a2,{range:_0x4af9c5,sheetID:_0x9a7b03}=_0x3dc8b0,_0x8df372=this[_0xff6839(0x1b5)][_0xff6839(0x36b)](_0x4af9c5,_0x3405f4=>(_0x8df372[_0xff6839(0x254)](),_0x1ef388(_0x3405f4,_0x3093a3,_0x9a7b03,_0x4af9c5)));_0x435964[_0xff6839(0x3bb)](_0x8df372);});};this[_0x215220(0x129)](_0x1f5e5b[_0x215220(0x13a)](this[_0x215220(0x2d8)]['subscribe'](()=>{_0x48c8f9();})));}['_toggleOnline'](){const _0x3b0795=_0x4af273;var _0x162912,_0x4d8f7e;if(this[_0x3b0795(0x2b8)]=!0x0,((_0x162912=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x162912[_0x3b0795(0x146)]())!==this[_0x3b0795(0x12d)])return;const _0x286640=(_0x4d8f7e=this['_injector'][_0x3b0795(0x298)](_0x1ab847[_0x3b0795(0x2bd)])['getCurrentSelections']())==null?void 0x0:_0x4d8f7e[0x0],_0x582266=this[_0x3b0795(0x1aa)][_0x3b0795(0x2b7)](_0x1f5e5b[_0x3b0795(0x23e)]['UNIVER_SHEET'])[_0x3b0795(0x1b2)]();_0x286640&&_0x582266&&this['_updateLocalCursor'](_0x582266[_0x3b0795(0x107)](),_0x286640);}[_0x4af273(0x342)](){const _0xff2dc0=_0x4af273;this[_0xff2dc0(0x2b8)]=!0x1;}};_0x1bcb1e=_0x44b109([_0x31bd83(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x31bd83(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x185c02)),_0x31bd83(0x4,_0x1f5e5b['Inject'](_0x41e580[_0x4af273(0x30d)])),_0x31bd83(0x5,_0x1f5e5b[_0x4af273(0x1d5)]),_0x31bd83(0x6,_0x1f5e5b[_0x4af273(0x195)]),_0x31bd83(0x7,_0x1f5e5b[_0x4af273(0x371)](_0x1ab847[_0x4af273(0x2e4)]))],_0x1bcb1e);var _0x4b879c=Object[_0x4af273(0x27f)],_0x377785=(_0x14d008,_0x55a115,_0x5a8f26,_0x5ec23a)=>{for(var _0x53b911=_0x5ec23a>0x1?void 0x0:_0x5ec23a?_0x4b879c(_0x55a115,_0x5a8f26):_0x55a115,_0xe81ae8=_0x14d008['length']-0x1,_0xec42de;_0xe81ae8>=0x0;_0xe81ae8--)(_0xec42de=_0x14d008[_0xe81ae8])&&(_0x53b911=_0xec42de(_0x53b911)||_0x53b911);return _0x53b911;},_0x405a72=(_0x52fb01,_0x5b7cd8)=>(_0x1412b8,_0x4eb705)=>_0x5b7cd8(_0x1412b8,_0x4eb705,_0x52fb01);let _0x171db6=class extends _0x1f5e5b['RxDisposable']{constructor(_0x5680e9,_0x47ec97,_0x26e613){const _0x43b295=_0x4af273;super(),_0x2cf944(this,_0x43b295(0x368),new Map()),_0x2cf944(this,_0x43b295(0x34b),new _0x33c65e[(_0x43b295(0x33e))]()),(this['_univerInstanceService']=_0x5680e9,this[_0x43b295(0x24e)]=_0x47ec97,this[_0x43b295(0x306)]=_0x26e613,this[_0x43b295(0x313)]());}[_0x4af273(0x254)](){const _0x3e1826=_0x4af273;super['dispose'](),this[_0x3e1826(0x34b)][_0x3e1826(0x20e)](),this[_0x3e1826(0x368)]['forEach'](_0x45a909=>_0x45a909[_0x3e1826(0x254)]());}[_0x4af273(0x21c)](_0x475338){const _0xd51bdb=_0x4af273;return this['_entities']['has'](_0x475338)?this[_0xd51bdb(0x368)][_0xd51bdb(0x298)](_0x475338)['cursorInfo$']:this[_0xd51bdb(0x34b)][_0xd51bdb(0x33f)](_0x33c65e[_0xd51bdb(0x233)](_0x57a783=>_0x57a783[_0xd51bdb(0x12d)]===_0x475338),_0x33c65e[_0xd51bdb(0x2f6)](_0x543518=>_0x543518[_0xd51bdb(0x1d2)]));}['_init'](){const _0x5ad304=_0x4af273;this[_0x5ad304(0x1aa)][_0x5ad304(0x2fb)](_0x1f5e5b[_0x5ad304(0x23e)][_0x5ad304(0x300)])[_0x5ad304(0x33f)](_0x33c65e['takeUntil'](this['dispose$']))[_0x5ad304(0x16b)](async _0x3832cc=>{const _0x3632f6=_0x5ad304,_0x37b14d=_0x3832cc['getUnitId'](),_0x330935=await this[_0x3632f6(0x341)](_0x37b14d);this[_0x3632f6(0x34b)]['next'](_0x330935),this['_entities'][_0x3632f6(0x39f)](_0x37b14d,_0x330935);}),this[_0x5ad304(0x1aa)][_0x5ad304(0x2fb)](_0x1f5e5b[_0x5ad304(0x23e)]['UNIVER_DOC'])['pipe'](_0x33c65e[_0x5ad304(0x383)](this['dispose$']))[_0x5ad304(0x33f)](_0x33c65e[_0x5ad304(0x233)](_0x1aea30=>!_0x1aea30['getUnitId']()[_0x5ad304(0x385)]('__')))[_0x5ad304(0x16b)](async _0x1fcad0=>{const _0x57537e=_0x5ad304,_0x1f598d=_0x1fcad0['getUnitId'](),_0x5117d2=await this[_0x57537e(0x2a5)](_0x1f598d);this[_0x57537e(0x34b)][_0x57537e(0x2d7)](_0x5117d2),this[_0x57537e(0x368)][_0x57537e(0x39f)](_0x1f598d,_0x5117d2);}),_0x33c65e[_0x5ad304(0x250)](this[_0x5ad304(0x1aa)]['getTypeOfUnitDisposed$'](_0x1f5e5b[_0x5ad304(0x23e)]['UNIVER_DOC']),this[_0x5ad304(0x1aa)]['getTypeOfUnitDisposed$'](_0x1f5e5b[_0x5ad304(0x23e)][_0x5ad304(0x300)]))[_0x5ad304(0x33f)](_0x33c65e[_0x5ad304(0x383)](this[_0x5ad304(0x38e)]))['subscribe'](_0xba34dd=>{const _0x2af61f=_0x5ad304,_0x1251f4=_0xba34dd[_0x2af61f(0x146)](),_0x5d9409=this[_0x2af61f(0x368)][_0x2af61f(0x298)](_0x1251f4);_0x5d9409&&(_0x5d9409[_0x2af61f(0x254)](),this[_0x2af61f(0x368)][_0x2af61f(0x2f3)](_0x1251f4));});}async['_startSheetCollabCursor'](_0x57c5b3){const _0x136ae8=_0x4af273,_0x53708e=await this[_0x136ae8(0x306)][_0x136ae8(0x34a)](_0x57c5b3),_0x4a7211=this['_injector'][_0x136ae8(0x31f)](_0x1bcb1e,_0x57c5b3,_0x53708e);return _0x4a7211[_0x136ae8(0x27e)](),_0x4a7211;}async['_startDocCollabCursor'](_0x15ca1b){const _0x211d78=_0x4af273,_0x1bbd50=await this[_0x211d78(0x306)][_0x211d78(0x34a)](_0x15ca1b),_0x4db773=this[_0x211d78(0x24e)]['createInstance'](_0x485df8,_0x15ca1b,_0x1bbd50);return _0x4db773[_0x211d78(0x27e)](),_0x4db773;}};_0x171db6=_0x377785([_0x405a72(0x0,_0x1f5e5b[_0x4af273(0x1d5)]),_0x405a72(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x405a72(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x41e580[_0x4af273(0x36a)]))],_0x171db6);const _0x32ef08=0x14,_0x315cd4=0xc8,_0x268e95=0x4,_0x4ebc3f=0x5;function _0x39b472(_0x547364,_0x443e86){const _0x4bd80e=_0x4af273;let {radius:_0x215b4a,width:_0x2a1b37,height:_0x1984b4}=_0x443e86;_0x215b4a=_0x215b4a!=null?_0x215b4a:0x0,_0x2a1b37=_0x2a1b37!=null?_0x2a1b37:0x1e,_0x1984b4=_0x1984b4!=null?_0x1984b4:0x1e;let _0x444d2c=0x0,_0x48d6ae=0x0,_0x16a249=0x0;_0x444d2c=_0x48d6ae=_0x16a249=Math['min'](_0x215b4a,_0x2a1b37/0x2,_0x1984b4/0x2),_0x547364[_0x4bd80e(0x199)](),_0x547364[_0x4bd80e(0x3b8)](_0x444d2c,0x0),_0x547364['lineTo'](_0x2a1b37-_0x48d6ae,0x0),_0x547364[_0x4bd80e(0x3a0)](_0x2a1b37-_0x48d6ae,_0x48d6ae,_0x48d6ae,Math['PI']*0x3/0x2,0x0,!0x1),_0x547364[_0x4bd80e(0x1c3)](_0x2a1b37,_0x1984b4-_0x16a249),_0x547364[_0x4bd80e(0x3a0)](_0x2a1b37-_0x16a249,_0x1984b4-_0x16a249,_0x16a249,0x0,Math['PI']/0x2,!0x1),_0x547364[_0x4bd80e(0x1c3)](0x0,_0x1984b4),_0x547364[_0x4bd80e(0x1c3)](0x0,_0x444d2c),_0x547364[_0x4bd80e(0x3a0)](_0x444d2c,_0x444d2c,_0x444d2c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x547364['closePath'](),_0x443e86[_0x4bd80e(0x2ee)]&&(_0x547364[_0x4bd80e(0x256)](),_0x547364[_0x4bd80e(0xf5)]=_0x443e86[_0x4bd80e(0x2ee)],_0x443e86['fillRule']===_0x4bd80e(0x323)?_0x547364[_0x4bd80e(0x2ee)]('evenodd'):_0x547364['fill'](),_0x547364[_0x4bd80e(0x1c5)]());}class _0x5dca7f extends _0x1d0d67[_0x4af273(0x2ef)]{constructor(_0x1618b4,_0x5bfb67){const _0x167dcd=_0x4af273;super(_0x1618b4,_0x5bfb67),_0x2cf944(this,_0x167dcd(0x2cf)),_0x2cf944(this,_0x167dcd(0xf1)),(this[_0x167dcd(0x2cf)]=_0x5bfb67==null?void 0x0:_0x5bfb67[_0x167dcd(0x2cf)],this[_0x167dcd(0xf1)]=_0x5bfb67==null?void 0x0:_0x5bfb67[_0x167dcd(0xf1)]);}static['drawWith'](_0x2a4a18,_0x38f7d7){const _0x993f8d=_0x4af273,{text:_0x6e8dcd,color:_0x1c5752}=_0x38f7d7;_0x2a4a18[_0x993f8d(0x256)](),_0x2a4a18[_0x993f8d(0x19e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x586067=_0x2a4a18[_0x993f8d(0x153)](_0x6e8dcd)[_0x993f8d(0x1fa)],_0x23e59f=Math['min'](_0x586067+0x2*_0x268e95,_0x315cd4);_0x39b472(_0x2a4a18,{'height':_0x32ef08,'radius':0x4,'width':_0x23e59f,'fill':_0x1c5752}),_0x2a4a18[_0x993f8d(0xf5)]=_0x993f8d(0x21d);const _0x5d17c6=_0x268e95,_0x10410a=_0x32ef08-_0x4ebc3f,_0x560fe1=_0x315cd4-0x2*_0x268e95;if(_0x586067>_0x560fe1){let _0x425f22='',_0x522d1d=0x0;for(const _0xbe7e77 of _0x6e8dcd){const _0x3dc6bf=_0x2a4a18[_0x993f8d(0x153)](_0xbe7e77)[_0x993f8d(0x1fa)];if(_0x522d1d+_0x3dc6bf<=_0x560fe1-_0x2a4a18[_0x993f8d(0x153)](_0x993f8d(0x29f))[_0x993f8d(0x1fa)])_0x425f22+=_0xbe7e77,_0x522d1d+=_0x3dc6bf;else{_0x425f22+=_0x993f8d(0x29f);break;}}_0x2a4a18[_0x993f8d(0x134)](_0x425f22,_0x5d17c6,_0x10410a);}else _0x2a4a18['fillText'](_0x6e8dcd,_0x5d17c6,_0x10410a);_0x2a4a18[_0x993f8d(0x1c5)]();}['_draw'](_0x34ba0b){const _0x4e2af3=_0x4af273;_0x5dca7f[_0x4e2af3(0x305)](_0x34ba0b,this);}}const _0x3aa804='collab-text-anchor-',_0x816b0f=_0x4af273(0x2cd),_0x55a6e7='collab-rect-range-',_0x30a49a=0x6,_0x74f930=1.5,_0x58273d=0x4,_0x1194e8=1.5,_0x32243d=_0x4af273(0x388);class _0x435740{constructor(_0x93aaf6,_0xef3f2f,_0x5b2bbc,_0x5e6c46){const _0x279157=_0x4af273;_0x2cf944(this,'_shapes',[]),_0x2cf944(this,_0x279157(0x373),null),_0x2cf944(this,_0x279157(0xfe),null),_0x2cf944(this,_0x279157(0x276),null),_0x2cf944(this,_0x279157(0x125),null),_0x2cf944(this,'_eventUnsubscribe',null),(this['_cursor']=_0x93aaf6,this[_0x279157(0x248)]=_0xef3f2f,this[_0x279157(0x19d)]=_0x5b2bbc,this[_0x279157(0x2d1)]=_0x5e6c46,this[_0x279157(0x15e)]());}set[_0x4af273(0x3af)](_0x55de3d){const _0x5902e0=_0x4af273;_0x55de3d?(this[_0x5902e0(0x276)]&&this[_0x5902e0(0x276)][_0x5902e0(0x357)](),this[_0x5902e0(0xfe)]&&this[_0x5902e0(0xfe)]['show']()):(this[_0x5902e0(0x276)]&&this['_anchorDot'][_0x5902e0(0x1ad)](),this[_0x5902e0(0xfe)]&&this[_0x5902e0(0xfe)][_0x5902e0(0x357)]());}[_0x4af273(0x254)](){const _0x4fdf4a=_0x4af273;for(const _0x1862af of this[_0x4fdf4a(0xfb)])_0x1862af[_0x4fdf4a(0x254)]();this[_0x4fdf4a(0xfe)]&&this[_0x4fdf4a(0xfe)][_0x4fdf4a(0x254)](),this[_0x4fdf4a(0x276)]&&this[_0x4fdf4a(0x276)][_0x4fdf4a(0x254)](),this['_anchor']&&this['_anchor'][_0x4fdf4a(0x254)](),this[_0x4fdf4a(0x1c8)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4babb7=_0x4af273;var _0x46f1d9;const {_docSkeleton:_0x2fe0bb,_document:_0x29af71}=this,{color:_0x56d1cc,name:_0x5deacb,ranges:_0x505659}=this[_0x4babb7(0x17c)],_0x40e9e8=_0x29af71[_0x4babb7(0x2e7)](),{docsLeft:_0xe0cccb,docsTop:_0x482e98}=_0x40e9e8,_0xd212f3=new _0x5d0631[(_0x4babb7(0x397))](_0x40e9e8,_0x2fe0bb);for(const {startOffset:_0x2aaed7,endOffset:_0x4316c7,rangeType:_0x172cda,segmentId:_0x17fab3,segmentPage:_0x232784,collapsed:_0x4fa198,isActive:_0x84217c}of _0x505659){const _0x3d9bbb=_0x2fe0bb[_0x4babb7(0x3be)](_0x2aaed7,!0x0,_0x17fab3,_0x232784);let _0x419a88=_0x2fe0bb['findNodePositionByCharIndex'](_0x4316c7,!0x0,_0x17fab3,_0x232784);if(_0x419a88==null&&(_0x419a88=_0x2fe0bb['findNodePositionByCharIndex'](_0x4316c7-0x1,!0x1,_0x17fab3,_0x232784)),_0x84217c){const {contentBoxPointGroup:_0x10a43f}=_0xd212f3[_0x4babb7(0x395)](_0x419a88,_0x419a88);if(_0x10a43f['length']===0x0)continue;this['_drawAnchor'](_0x56d1cc,_0x10a43f,_0xe0cccb,_0x482e98,_0x5deacb),this[_0x4babb7(0x1c8)]=this['_handleHover']();}if(_0x3d9bbb&&_0x419a88){if(_0x172cda===_0x1f5e5b[_0x4babb7(0x359)]['RECT']){const _0x161857=new _0x5d0631['NodePositionConvertToRectRange'](_0x40e9e8,_0x2fe0bb),{pointGroup:_0x5441b2}=(_0x46f1d9=_0x161857['getRangePointData'](_0x3d9bbb,_0x419a88))!=null?_0x46f1d9:{};if(_0x5441b2==null||_0x5441b2['length']===0x0)continue;this[_0x4babb7(0x296)](_0x56d1cc,_0x5441b2,_0xe0cccb,_0x482e98);}else{if(!_0x4fa198){const {borderBoxPointGroup:_0x3f3220}=_0xd212f3[_0x4babb7(0x395)](_0x3d9bbb,_0x419a88);if(_0x3f3220[_0x4babb7(0x219)]===0x0)continue;this[_0x4babb7(0x3b9)](_0x56d1cc,_0x3f3220,_0xe0cccb,_0x482e98);}}}}}[_0x4af273(0x11f)](_0x2608c9,_0x266bbc,_0x41bc3c,_0x4ca2d3,_0x20646e){const _0x3bc836=_0x4af273,_0x128f9f=this[_0x3bc836(0x35a)](_0x266bbc),{left:_0x10f082,top:_0x2c2b91,height:_0x249f95}=_0x128f9f,_0x132e0a=this[_0x3bc836(0x231)](),_0x9d604=_0x1194e8/_0x132e0a,_0x44c290=new _0x1d0d67[(_0x3bc836(0x3ad))](_0x3aa804+_0x1f5e5b[_0x3bc836(0x23d)](_0x30a49a),{'left':_0x10f082+_0x41bc3c-_0x9d604,'top':_0x2c2b91+_0x4ca2d3,'height':_0x249f95,'width':_0x74f930,'fill':_0x2608c9||_0x1d0d67[_0x3bc836(0x349)](_0x1f5e5b['COLORS'][_0x3bc836(0x2f4)],0x0),'strokeWidth':_0x9d604,'stroke':_0x32243d,'evented':!0x0});this[_0x3bc836(0x373)]=_0x44c290,this[_0x3bc836(0x248)][_0x3bc836(0x131)](_0x44c290,_0x5d0631[_0x3bc836(0x386)]);const _0x405902=new _0x1d0d67[(_0x3bc836(0x3ad))](_0x3aa804+_0x1f5e5b[_0x3bc836(0x23d)](_0x30a49a),{'left':_0x10f082+_0x41bc3c-_0x9d604,'top':_0x2c2b91+_0x4ca2d3-_0x58273d/0x2,'height':_0x58273d,'width':_0x58273d,'fill':_0x2608c9||_0x1d0d67['getColor'](_0x1f5e5b[_0x3bc836(0x310)][_0x3bc836(0x2f4)],0x0),'strokeWidth':0x0,'stroke':_0x2608c9||_0x1d0d67[_0x3bc836(0x349)](_0x1f5e5b[_0x3bc836(0x310)][_0x3bc836(0x2f4)],0x0),'evented':!0x1});this[_0x3bc836(0x276)]=_0x405902,this[_0x3bc836(0x248)]['addObject'](_0x405902,_0x5d0631[_0x3bc836(0x386)]);const _0x19b9ea=new _0x5dca7f(_0x3aa804+_0x1f5e5b[_0x3bc836(0x23d)](_0x30a49a),{'left':_0x10f082+_0x41bc3c-_0x9d604,'top':_0x2c2b91+_0x4ca2d3-_0x32ef08,'text':_0x20646e,'color':_0x2608c9});this['_textBubble']=_0x19b9ea,this[_0x3bc836(0x248)]['addObject'](_0x19b9ea,_0x5d0631['TEXT_RANGE_LAYER_INDEX']),this[_0x3bc836(0x3af)]=!0x1;}[_0x4af273(0x286)](){const _0x3c8764=_0x4af273,_0x5d116f=this['_anchor'][_0x3c8764(0x197)][_0x3c8764(0x2a0)](()=>{const _0x5d2b63=_0x3c8764;this[_0x5d2b63(0x3af)]=!0x0;}),_0x278c5a=this['_anchor'][_0x3c8764(0x1b3)][_0x3c8764(0x2a0)](()=>{const _0x51e0e5=_0x3c8764;this[_0x51e0e5(0x125)]&&clearTimeout(this[_0x51e0e5(0x125)]),this[_0x51e0e5(0x125)]=setTimeout(()=>{const _0x4e0589=_0x51e0e5;this[_0x4e0589(0x3af)]=!0x1;},0x7d0);});return()=>{const _0x21e026=_0x3c8764;_0x5d116f[_0x21e026(0x203)](),_0x278c5a[_0x21e026(0x203)]();};}['_drawTextRange'](_0x474349,_0x537331,_0x1f64c6,_0x527427){const _0x29091c=_0x4af273,_0x31bf49=new _0x1f5e5b[(_0x29091c(0x347))](_0x474349)[_0x29091c(0x39c)](0.2)['toRgbString'](),_0x33543a=new _0x1d0d67['RegularPolygon'](_0x816b0f+_0x1f5e5b[_0x29091c(0x23d)](_0x30a49a),{'pointsGroup':_0x537331,'fill':_0x31bf49||_0x1d0d67[_0x29091c(0x349)](_0x1f5e5b[_0x29091c(0x310)][_0x29091c(0x2f4)],0.2),'left':_0x1f64c6,'top':_0x527427,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x29091c(0xfb)][_0x29091c(0x14b)](_0x33543a),this['_scene'][_0x29091c(0x131)](_0x33543a,_0x5d0631[_0x29091c(0x386)]);}[_0x4af273(0x296)](_0x2b8e95,_0x1dc82b,_0x419fc8,_0x22feea){const _0x5d7141=_0x4af273,_0x576c2f=new _0x1f5e5b[(_0x5d7141(0x347))](_0x2b8e95)['setAlpha'](0.2)['toRgbString'](),_0x28a4d9=new _0x1d0d67[(_0x5d7141(0x1ff))](_0x55a6e7+_0x1f5e5b[_0x5d7141(0x23d)](_0x30a49a),{'pointsGroup':_0x1dc82b,'fill':_0x576c2f||_0x1d0d67[_0x5d7141(0x349)](_0x1f5e5b[_0x5d7141(0x310)]['black'],0.2),'left':_0x419fc8,'top':_0x22feea,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5d7141(0xfb)][_0x5d7141(0x14b)](_0x28a4d9),this['_scene'][_0x5d7141(0x131)](_0x28a4d9,_0x5d0631['TEXT_RANGE_LAYER_INDEX']);}[_0x4af273(0x35a)](_0x1f6b57){const _0x52c803=_0x1f6b57[0x0],_0x223680=_0x52c803[0x0],_0x4bcecf=_0x52c803[0x2],{x:_0x55d46a,y:_0x15ca68}=_0x223680,{x:_0x39b6fa,y:_0x3b314b}=_0x4bcecf;return{'left':_0x55d46a,'top':_0x15ca68,'width':_0x39b6fa-_0x55d46a,'height':_0x3b314b-_0x15ca68};}[_0x4af273(0x231)](){const _0x1938e7=_0x4af273,{scaleX:_0x339a57,scaleY:_0x17f441}=this[_0x1938e7(0x248)][_0x1938e7(0x12f)]();return Math[_0x1938e7(0x14f)](_0x339a57,_0x17f441);}}var _0x82f2f0=Object[_0x4af273(0x27f)],_0x2998fa=(_0x2d2d,_0x9f5bd2,_0x53af87,_0x3cda1a)=>{const _0x2d9e75=_0x4af273;for(var _0x59ad24=_0x3cda1a>0x1?void 0x0:_0x3cda1a?_0x82f2f0(_0x9f5bd2,_0x53af87):_0x9f5bd2,_0x14c0c8=_0x2d2d[_0x2d9e75(0x219)]-0x1,_0x4dbb28;_0x14c0c8>=0x0;_0x14c0c8--)(_0x4dbb28=_0x2d2d[_0x14c0c8])&&(_0x59ad24=_0x4dbb28(_0x59ad24)||_0x59ad24);return _0x59ad24;},_0x86540c=(_0x3cf466,_0x5a8879)=>(_0x29e79d,_0x4c8c1c)=>_0x5a8879(_0x29e79d,_0x4c8c1c,_0x3cf466);let _0x2204da=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x11d358,_0x22f0c6,_0x5eefcd,_0x35f476,_0x5ebe40){const _0x1c1717=_0x4af273;super(),_0x2cf944(this,_0x1c1717(0x22c),[]),_0x2cf944(this,'_cursors',[]),(this['_context']=_0x11d358,this[_0x1c1717(0x18c)]=_0x22f0c6,this[_0x1c1717(0x345)]=_0x5eefcd,this['_commandService']=_0x35f476,this['_themeService']=_0x5ebe40,this['_init']());}[_0x4af273(0x313)](){const _0x32d4ca=_0x4af273,_0x473a4c=this['_context'][_0x32d4ca(0x328)],_0x3d0f3f=this[_0x32d4ca(0x18c)];this['disposeWithMe'](_0x33c65e[_0x32d4ca(0x25d)]([this[_0x32d4ca(0x345)]['getCollabCursors$'](_0x473a4c),this[_0x32d4ca(0x19c)][_0x32d4ca(0x16c)]])[_0x32d4ca(0x33f)](_0x5401d8['map'](([_0x3783a0,_0x46443f])=>({'skeleton':_0x3d0f3f['getSkeleton'](),'cursors':[..._0x3783a0['values']()][_0x32d4ca(0x2a8)](_0x3a9a5c=>({..._0x3a9a5c,'color':this[_0x32d4ca(0x19c)]['getColorFromTheme'](_0x3a9a5c['color'])}))})))[_0x32d4ca(0x16b)](_0x232800=>{const _0x36d162=_0x32d4ca;if(this[_0x36d162(0x14d)](),_0x232800){const {skeleton:_0x4db392,cursors:_0x508fec}=_0x232800;this[_0x36d162(0x270)](_0x4db392,_0x508fec);}})),this[_0x32d4ca(0x2c3)](),this[_0x32d4ca(0x1ea)]();}[_0x4af273(0x270)](_0x21cf0a,_0x55bc9e){const _0x4d3f51=_0x4af273,{scene:_0x171409,mainComponent:_0x45fb92}=this[_0x4d3f51(0x2f1)],_0x36f63b=_0x55bc9e[_0x4d3f51(0x110)](_0x51b684=>new _0x435740(_0x51b684,_0x171409,_0x21cf0a,_0x45fb92));this['_cursorShapes']=_0x36f63b,this[_0x4d3f51(0x1ab)]=_0x55bc9e;}[_0x4af273(0x1d0)](){const _0x2e4d52=_0x4af273;this['_removeCollabCursors']();const {scene:_0x51221f,mainComponent:_0x2d23ae}=this[_0x2e4d52(0x2f1)],_0xf3fdd1=this[_0x2e4d52(0x18c)][_0x2e4d52(0x2bf)](),_0x47b1da=this[_0x2e4d52(0x1ab)]['map'](_0x26e165=>new _0x435740(_0x26e165,_0x51221f,_0xf3fdd1,_0x2d23ae));this[_0x2e4d52(0x22c)]=_0x47b1da;}['_removeCollabCursors'](){const _0xc8320d=_0x4af273;this[_0xc8320d(0x22c)][_0xc8320d(0x26c)](_0x33751c=>_0x33751c[_0xc8320d(0x254)]()),this[_0xc8320d(0x22c)]=[];}[_0x4af273(0x1ea)](){const _0x12d1b2=_0x4af273,_0x26afbf=[_0x5d0631['SetDocZoomRatioOperation']['id']];this[_0x12d1b2(0x129)](this[_0x12d1b2(0x304)]['onCommandExecuted'](_0x3c0a0a=>{const _0x2bb4a0=_0x12d1b2;_0x26afbf[_0x2bb4a0(0x2a3)](_0x3c0a0a['id'])&&_0x3c0a0a[_0x2bb4a0(0x132)][_0x2bb4a0(0x328)]===this['_context'][_0x2bb4a0(0x328)]&&this[_0x2bb4a0(0x1d0)]();}));}['_initResize'](){const _0x285bf3=_0x4af273;this[_0x285bf3(0x129)](_0x1f5e5b[_0x285bf3(0x365)](this[_0x285bf3(0x2f1)][_0x285bf3(0x183)][_0x285bf3(0x3a9)])['pipe'](_0x5401d8['filter'](_0x221857=>_0x221857[_0x285bf3(0x330)]===_0x1d0d67['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x5401d8[_0x285bf3(0x27c)](0x10))[_0x285bf3(0x16b)](()=>{const _0x467c0f=_0x285bf3;this[_0x467c0f(0x1d0)]();}));}};_0x2204da=_0x2998fa([_0x86540c(0x1,_0x1f5e5b['Inject'](_0x28c037['DocSkeletonManagerService'])),_0x86540c(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x171db6)),_0x86540c(0x3,_0x1f5e5b['ICommandService']),_0x86540c(0x4,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x38a)]))],_0x2204da);const _0x4c81d0=0x1,_0x30b008=1.5;class _0x4323d0 extends _0x1d0d67['Shape']{constructor(_0x542019,_0x326030){const _0x15e80d=_0x4af273;super(_0x542019,_0x326030),_0x2cf944(this,_0x15e80d(0x24c)),_0x2cf944(this,'_hovered',!0x1),_0x2cf944(this,'_range'),_0x2cf944(this,_0x15e80d(0x2eb),''),_0x2cf944(this,_0x15e80d(0x18e),_0x15e80d(0x141)),_0x2cf944(this,_0x15e80d(0x289)),(_0x326030&&this[_0x15e80d(0x1e4)](_0x326030),this[_0x15e80d(0x197)][_0x15e80d(0x2a0)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x15e80d(0x1b3)][_0x15e80d(0x2a0)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3caa1a){const _0x5c61fb=_0x4af273;var _0x5525b9,_0x8d3c1d,_0x5eca89,_0x4fc631,_0x2aa750,_0x25c50c;this[_0x5c61fb(0x24c)]=(_0x5525b9=_0x3caa1a['color'])!=null?_0x5525b9:this[_0x5c61fb(0x24c)],this[_0x5c61fb(0x157)]=(_0x8d3c1d=_0x3caa1a[_0x5c61fb(0x13f)])!=null?_0x8d3c1d:this['_hovered'],this[_0x5c61fb(0x381)]=(_0x5eca89=_0x3caa1a[_0x5c61fb(0x367)])!=null?_0x5eca89:this[_0x5c61fb(0x381)],this['_name']=(_0x4fc631=_0x3caa1a[_0x5c61fb(0x168)])!=null?_0x4fc631:this['_name'],this[_0x5c61fb(0x18e)]=(_0x2aa750=_0x3caa1a['labelPosition'])!=null?_0x2aa750:this[_0x5c61fb(0x18e)],this[_0x5c61fb(0x289)]=(_0x25c50c=_0x3caa1a[_0x5c61fb(0x1f2)])!=null?_0x25c50c:this[_0x5c61fb(0x289)],this[_0x5c61fb(0x360)]({'width':_0x3caa1a[_0x5c61fb(0x1fa)],'height':_0x3caa1a[_0x5c61fb(0x362)]});}[_0x4af273(0x265)](_0x3d9645){const _0x584b2a=_0x4af273,{row:_0xfb9a9d,column:_0x51579c}=_0x3d9645;if(_0xfb9a9d>=this[_0x584b2a(0x381)]['startRow']&&_0xfb9a9d<=this[_0x584b2a(0x381)][_0x584b2a(0x128)]&&_0x51579c>=this['_range'][_0x584b2a(0x155)]&&_0x51579c<=this['_range'][_0x584b2a(0x2db)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x584b2a(0x1e4)]({'hovered':!0x1});}[_0x4af273(0x39d)](_0x193db7){return!0x1;}[_0x4af273(0x39e)](_0x5f11f0){const _0x48920f=_0x4af273;_0x1d0d67[_0x48920f(0x3ad)][_0x48920f(0x305)](_0x5f11f0,{'width':this[_0x48920f(0x1fa)],'height':this[_0x48920f(0x362)],'strokeWidth':_0x30b008,'stroke':this[_0x48920f(0x24c)],'evented':!0x1,'fill':this[_0x48920f(0x289)]}),this[_0x48920f(0x157)]&&(_0x5f11f0[_0x48920f(0x256)](),_0x5f11f0['transform'](0x1,0x0,0x0,0x1,this[_0x48920f(0x1fa)],this[_0x48920f(0x18e)]==='bottom'?0x0:-_0x32ef08),_0x5dca7f[_0x48920f(0x305)](_0x5f11f0,{'text':this[_0x48920f(0x2eb)],'color':this[_0x48920f(0x24c)]}),_0x5f11f0[_0x48920f(0x1c5)]());}}var _0x15dc63=Object['getOwnPropertyDescriptor'],_0x582177=(_0x4a8ce6,_0x57201f,_0x1640e5,_0x4b0a70)=>{const _0x4c1501=_0x4af273;for(var _0x332d9b=_0x4b0a70>0x1?void 0x0:_0x4b0a70?_0x15dc63(_0x57201f,_0x1640e5):_0x57201f,_0xee41e8=_0x4a8ce6[_0x4c1501(0x219)]-0x1,_0x1e7b6b;_0xee41e8>=0x0;_0xee41e8--)(_0x1e7b6b=_0x4a8ce6[_0xee41e8])&&(_0x332d9b=_0x1e7b6b(_0x332d9b)||_0x332d9b);return _0x332d9b;},_0x118a2c=(_0x569e39,_0xbdd7c9)=>(_0x355f24,_0x28346c)=>_0xbdd7c9(_0x355f24,_0x28346c,_0x569e39);const _0x5b9de7=0x1389;let _0x48bdab=class extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(_0x5af72a,_0x3f0a86,_0x11a4ff,_0x4f8f26){const _0xabc48d=_0x4af273;super(),_0x2cf944(this,_0xabc48d(0x1ab),new Set()),_0x2cf944(this,_0xabc48d(0x3a6),null),(this[_0xabc48d(0x2f1)]=_0x5af72a,this[_0xabc48d(0x1ca)]=_0x3f0a86,this[_0xabc48d(0x345)]=_0x11a4ff,this['_themeService']=_0x4f8f26,this[_0xabc48d(0x313)]());}['_init'](){const _0x3438b2=_0x4af273;this[_0x3438b2(0x1ca)][_0x3438b2(0x327)][_0x3438b2(0x33f)](_0x5401d8[_0x3438b2(0x383)](this['dispose$']),_0x5401d8[_0x3438b2(0x2f6)](_0x520e5a=>{const _0x473ad6=_0x3438b2;if(_0x520e5a){const _0xaf33c9=_0x520e5a[_0x473ad6(0x185)];return _0x33c65e[_0x473ad6(0x25d)](this[_0x473ad6(0x345)][_0x473ad6(0x21c)](this[_0x473ad6(0x2f1)]['unitId']),this['_themeService'][_0x473ad6(0x16c)])['pipe'](_0x5401d8[_0x473ad6(0x110)](([_0x119e9a,_0x581324])=>{const _0x3de9a7=_0x473ad6,_0x3862a9=new Map();return _0x119e9a[_0x3de9a7(0x26c)]((_0x3bd0a0,_0x305823)=>{const _0xee2d52=_0x3de9a7;if(_0x3bd0a0[_0xee2d52(0x184)]===_0xaf33c9){const _0x52d33d={..._0x3bd0a0};_0x52d33d[_0xee2d52(0x2cf)]=this['_themeService'][_0xee2d52(0x15b)](_0x3bd0a0[_0xee2d52(0x2cf)]),_0x3862a9[_0xee2d52(0x39f)](_0x305823,_0x52d33d);}}),{'skeleton':_0x520e5a,'cursors':_0x3862a9};}));}return _0x33c65e['of']({'skeleton':null,'cursors':new Map()});}))[_0x3438b2(0x16b)](({skeleton:_0x1bb719,cursors:_0x4d2a2})=>{const _0x294306=_0x3438b2;this['_removeCollabCursors'](),_0x1bb719&&this[_0x294306(0x270)](_0x1bb719,_0x4d2a2);}),this[_0x3438b2(0x1ca)][_0x3438b2(0x327)]['subscribe'](_0x197d37=>{const _0x5da005=_0x3438b2;if(_0x197d37==null)return;const {skeleton:_0x58d2b4}=_0x197d37,{scene:_0x540904}=this[_0x5da005(0x2f1)];_0x540904[_0x5da005(0x10b)]['subscribeEvent'](_0x1f5e5b[_0x5da005(0x11b)](_0x2c6755=>{const _0x2e978f=_0x5da005;var _0x187703,_0x5cc33a;const {offsetX:_0x42bd70,offsetY:_0x2e08a3}=_0x2c6755,{x:_0xd97434,y:_0x5279a7}=_0x540904['getRelativeToViewportCoord'](_0x1d0d67[_0x2e978f(0x292)][_0x2e978f(0x162)]([_0x42bd70,_0x2e08a3])),{scaleX:_0x3ec1cb,scaleY:_0x2849d3}=_0x540904[_0x2e978f(0x12f)](),_0x51c0bf=_0x540904[_0x2e978f(0x2fe)](_0x1d0d67[_0x2e978f(0x387)][_0x2e978f(0x11d)]),_0xd0227d=_0x540904[_0x2e978f(0x12b)](_0x1d0d67[_0x2e978f(0x292)][_0x2e978f(0x162)]([_0xd97434,_0x5279a7]),_0x51c0bf),_0x86da6=_0x58d2b4[_0x2e978f(0x37f)](_0x42bd70,_0x2e08a3,_0x3ec1cb,_0x2849d3,_0xd0227d);((_0x187703=this[_0x2e978f(0x3a6)])==null?void 0x0:_0x187703[_0x2e978f(0x316)])===_0x86da6[_0x2e978f(0x316)]&&((_0x5cc33a=this['_lastPointer'])==null?void 0x0:_0x5cc33a[_0x2e978f(0x30e)])===_0x86da6[_0x2e978f(0x30e)]||this[_0x2e978f(0x1ab)][_0x2e978f(0x26c)](_0x330da2=>{const _0x55eecc=_0x2e978f;_0x330da2[_0x55eecc(0x265)](_0x86da6);});},0x64));});}[_0x4af273(0x270)](_0xddf351,_0x12ae45){const _0x5299c3=_0x4af273;var _0x2ff5ed;const _0x47e98b=(_0x2ff5ed=this[_0x5299c3(0x1ca)][_0x5299c3(0x336)]())==null?void 0x0:_0x2ff5ed[_0x5299c3(0x269)];if(!_0x47e98b)return;const _0x2ecf8b=this[_0x5299c3(0x317)]();if(!_0x2ecf8b)return;this[_0x5299c3(0x1ab)][_0x5299c3(0x26c)](_0xf44684=>{const _0x44d95f=_0x5299c3;_0xf44684[_0x44d95f(0x140)]();});const {scene:_0x1ad3cd}=_0x2ecf8b,_0x59de4f=_0x213df9(Array[_0x5299c3(0x13c)](_0x12ae45[_0x5299c3(0x1cf)]()))['map'](_0x295284=>{const _0x54b33f=_0x5299c3,{color:_0x367fbc,range:_0x5d47ae,name:_0x1e422c,selection:_0x1b74ab,sheetID:_0x55b8e6}=_0x295284,{startColumn:_0x125b2b,startRow:_0x1aaa30,endColumn:_0x1178bc,endRow:_0xbb9ae}=_0x5d47ae,_0x1cf68f=_0x519bb2['getCoordByCell'](_0x1aaa30,_0x125b2b,_0x1ad3cd,_0x47e98b),_0xc9c64=_0x519bb2[_0x54b33f(0x309)](_0xbb9ae,_0x1178bc,_0x1ad3cd,_0x47e98b),{columnHeaderHeightAndMarginTop:_0x24abde}=_0x47e98b,{startX:_0x37b7a7,startY:_0x1197ef}=_0x1cf68f,{endX:_0xa29eed,endY:_0x3b7b4a}=_0xc9c64,_0x3a2a3a=_0xa29eed-_0x37b7a7,_0x1cc060=_0x3b7b4a-_0x1197ef,_0x502151={'labelPosition':_0x1197ef-_0x24abde>=_0x32ef08?_0x54b33f(0x141):_0x54b33f(0x152),'sheetID':_0x55b8e6,'range':_0x5d47ae,'color':_0x367fbc,'name':_0x1e422c,'selection':_0x1b74ab,'left':_0x37b7a7,'top':_0x1197ef,'width':_0x3a2a3a,'height':_0x1cc060,'evented':!0x1,'zIndex':_0x5b9de7};return new _0x4323d0(_0x1e422c,_0x502151);});_0x1ad3cd[_0x5299c3(0x103)](_0x59de4f,_0x4c81d0),this[_0x5299c3(0x1ab)]=new Set(_0x59de4f);}['_removeCollabCursors'](){const _0x58f056=_0x4af273;var _0x1501ec;(_0x1501ec=this[_0x58f056(0x1ab)])==null||_0x1501ec[_0x58f056(0x26c)](_0x4ffe27=>_0x4ffe27[_0x58f056(0x254)]());}[_0x4af273(0x317)](){const _0x457a43=_0x4af273;return _0x519bb2[_0x457a43(0x1b4)](this[_0x457a43(0x2f1)][_0x457a43(0x243)],this[_0x457a43(0x2f1)]);}};_0x48bdab=_0x582177([_0x118a2c(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x519bb2['SheetSkeletonManagerService'])),_0x118a2c(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x171db6)),_0x118a2c(0x3,_0x1f5e5b['Inject'](_0x1f5e5b[_0x4af273(0x38a)]))],_0x48bdab);function _0x213df9(_0x167cd1){const _0x2a3d2=_0x4af273,_0x252840=new Map();return _0x167cd1['forEach'](_0x1da599=>{const _0x582072=_0x102e;if(_0x252840[_0x582072(0x280)](_0x1da599[_0x582072(0x137)])){const _0x272363=_0x252840[_0x582072(0x298)](_0x1da599[_0x582072(0x137)]);_0x272363[_0x582072(0x168)]+=',\x20'+_0x1da599[_0x582072(0x168)];}else _0x252840[_0x582072(0x39f)](_0x1da599[_0x582072(0x137)],_0x1da599);}),Array[_0x2a3d2(0x13c)](_0x252840[_0x2a3d2(0x1cf)]());}var _0x11cd8f=Object[_0x4af273(0x27f)],_0x1dfa63=(_0x5014d8,_0x2c7f20,_0x449802,_0x4adab3)=>{const _0x38610d=_0x4af273;for(var _0x308f3b=_0x4adab3>0x1?void 0x0:_0x4adab3?_0x11cd8f(_0x2c7f20,_0x449802):_0x2c7f20,_0x59ccd3=_0x5014d8[_0x38610d(0x219)]-0x1,_0x997cc5;_0x59ccd3>=0x0;_0x59ccd3--)(_0x997cc5=_0x5014d8[_0x59ccd3])&&(_0x308f3b=_0x997cc5(_0x308f3b)||_0x308f3b);return _0x308f3b;},_0x26fe92=(_0x340c70,_0x24249d)=>(_0x4040b4,_0x124150)=>_0x24249d(_0x4040b4,_0x124150,_0x340c70);let _0x35d63a=class extends _0x1f5e5b[_0x4af273(0x218)]{constructor(_0xb3399d,_0x43fa22,_0x38ab05,_0x56f018,_0x47a824,_0x1c31bd){const _0x3a34d9=_0x4af273;super(),this[_0x3a34d9(0x325)]=_0xb3399d,this[_0x3a34d9(0x2c9)]=_0x43fa22,this[_0x3a34d9(0x114)]=_0x38ab05,this[_0x3a34d9(0x35e)]=_0x56f018,this[_0x3a34d9(0x37e)]=_0x47a824,this['_localeService']=_0x1c31bd,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x4af273(0x394)](){const _0x46e567=_0x4af273;this['disposeWithMe'](this[_0x46e567(0x325)]['registerBeforeClose'](()=>{const _0x4d4e29=_0x46e567;if(this[_0x4d4e29(0x2c9)][_0x4d4e29(0x13b)][_0x4d4e29(0x124)])return this[_0x4d4e29(0x176)]['t'](_0x4d4e29(0x2a7));}));}[_0x4af273(0x1da)](){const _0x3c9ce4=_0x4af273;this[_0x3c9ce4(0x129)](this[_0x3c9ce4(0x114)][_0x3c9ce4(0x138)]['subscribe'](_0x477f93=>{const _0x448e1f=_0x3c9ce4;_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x31d)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0xf2)],'content':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x37d))}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x213)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0xf2)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x477f93['id']===_0x41e580['CollaborationUIEventId'][_0x448e1f(0x2b6)]&&this[_0x448e1f(0x37e)]['show']({'title':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x1dd)),'content':this['_localeService']['t']('permission.content'),'type':_0x448e1f(0x3bc),'duration':0x0}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x119)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)]['Error'],'content':this[_0x448e1f(0x176)]['t']('collaboration.closeRoom')+'('+_0x477f93[_0x448e1f(0x19a)]+')'}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x11c)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0xf2)],'content':this[_0x448e1f(0x176)]['t'](_0x477f93[_0x448e1f(0x19a)]||'')}),_0x477f93['id']===_0x41e580[_0x448e1f(0x277)][_0x448e1f(0x1a2)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)]['Warning'],'content':this['_localeService']['t'](_0x448e1f(0x10c))}),_0x477f93['id']===_0x41e580['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0x344)],'content':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x101))}),_0x477f93['id']===_0x41e580['CollaborationUIEventId'][_0x448e1f(0x222)]&&this[_0x448e1f(0x35e)][_0x448e1f(0x1ad)]({'type':_0x121096[_0x448e1f(0x374)][_0x448e1f(0x344)],'content':this[_0x448e1f(0x176)]['t'](_0x448e1f(0x229))});}));}};_0x35d63a=_0x1dfa63([_0x26fe92(0x0,_0x167676[_0x4af273(0x351)]),_0x26fe92(0x1,_0x41e580['ILocalCacheService']),_0x26fe92(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x41e580[_0x4af273(0x194)])),_0x26fe92(0x3,_0x167676[_0x4af273(0x311)]),_0x26fe92(0x4,_0x167676[_0x4af273(0x117)]),_0x26fe92(0x5,_0x1f5e5b['Inject'](_0x1f5e5b[_0x4af273(0x2e8)]))],_0x35d63a);const _0x5530ff=_0x4af273(0x156),_0x4e4498={};var _0x57c72e=Object['getOwnPropertyDescriptor'],_0x57ed93=(_0x5d8136,_0x485358,_0x45f2f2,_0x55afda)=>{const _0x3941df=_0x4af273;for(var _0x236125=_0x55afda>0x1?void 0x0:_0x55afda?_0x57c72e(_0x485358,_0x45f2f2):_0x485358,_0x4c7691=_0x5d8136[_0x3941df(0x219)]-0x1,_0x2b2702;_0x4c7691>=0x0;_0x4c7691--)(_0x2b2702=_0x5d8136[_0x4c7691])&&(_0x236125=_0x2b2702(_0x236125)||_0x236125);return _0x236125;},_0x33cf4d=(_0xaf9f2b,_0x1de71d)=>(_0x25c41e,_0x2b186f)=>_0x1de71d(_0x25c41e,_0x2b186f,_0xaf9f2b);let _0x5b440f=class{constructor(_0x2e1ea7,_0x12d139){const _0x4465cd=_0x4af273;this['_transformService']=_0x2e1ea7,this[_0x4465cd(0x30c)]=_0x12d139;}[_0x4af273(0x223)](_0x43f49c){const _0x535bbf=_0x4af273;this[_0x535bbf(0x16e)](_0x43f49c),this['_transformPreviousActiveRange'](_0x43f49c);}[_0x4af273(0x139)](_0x32f69d){const _0x4ef404=_0x4af273,{unitID:_0xafdd51}=_0x32f69d,_0x58db33=this[_0x4ef404(0x30c)]['getRenderById'](_0xafdd51)[_0x4ef404(0x392)](_0x5d0631[_0x4ef404(0x32c)]),{redoCache:_0x62a270}=_0x58db33[_0x4ef404(0x28f)]();if(_0x62a270[_0x4ef404(0x219)]===0x0)return _0x32f69d;let _0x10e779=_0x1f5e5b[_0x4ef404(0x33c)][_0x4ef404(0x355)](_0x32f69d[_0x4ef404(0x226)][0x0]);for(let _0x182557=0x0;_0x182557<_0x62a270[_0x4ef404(0x219)];_0x182557++){const _0x1e588d={'id':_0x4ef404(0x2f2),'params':{..._0x62a270[_0x182557]}},_0x5c517f=this[_0x4ef404(0x25e)][_0x4ef404(0x2cb)](_0x10e779,_0x1e588d,!0x1);if(_0xe2b8d2[_0x4ef404(0x2fc)](_0x5c517f))throw _0x5c517f['error'];_0x10e779=_0x5c517f['m1Prime'];}return{..._0x1f5e5b[_0x4ef404(0x33c)]['deepClone'](_0x32f69d),'mutations':[_0x10e779]};}[_0x4af273(0x16e)](_0x34dbeb){const _0x1db679=_0x4af273,{unitID:_0x459cdd}=_0x34dbeb,_0x545cc8=this[_0x1db679(0x30c)][_0x1db679(0x38d)](_0x459cdd)[_0x1db679(0x392)](_0x5d0631[_0x1db679(0x32c)]),{undoCache:_0x41c086,redoCache:_0x529fe6}=_0x545cc8[_0x1db679(0x28f)]();if(_0x41c086[_0x1db679(0x219)]===0x0||_0x529fe6['length']===0x0)return;const _0x528a53=[],_0x5c44a0=[];let _0x47a31f=_0x1f5e5b[_0x1db679(0x33c)][_0x1db679(0x355)](_0x34dbeb[_0x1db679(0x226)][0x0]),_0x227f0b=_0x1f5e5b[_0x1db679(0x33c)]['deepClone'](_0x34dbeb['mutations'][0x0]);for(let _0x2b6ef6=_0x41c086[_0x1db679(0x219)]-0x1;_0x2b6ef6>=0x0;_0x2b6ef6--){const _0x369fd={'id':'doc.mutation.rich-text-editing','params':{..._0x41c086[_0x2b6ef6]}},_0x2fa93f={'id':_0x1db679(0x2f2),'params':{..._0x529fe6[_0x2b6ef6]}},_0x14ebb3=this[_0x1db679(0x25e)][_0x1db679(0x2cb)](_0x47a31f,_0x369fd,!0x1),_0x3bda53=this[_0x1db679(0x25e)][_0x1db679(0x2cb)](_0x227f0b,_0x2fa93f,!0x1);if(_0xe2b8d2['isTransformMutationFailure'](_0x14ebb3))throw _0x14ebb3[_0x1db679(0x3bc)];if(_0xe2b8d2['isTransformMutationFailure'](_0x3bda53))throw _0x3bda53['error'];_0x528a53['unshift'](_0x14ebb3[_0x1db679(0x111)][_0x1db679(0x132)]),_0x5c44a0[_0x1db679(0x20d)](_0x3bda53[_0x1db679(0x111)][_0x1db679(0x132)]),_0x47a31f=_0x14ebb3['m1Prime'],_0x227f0b=_0x3bda53[_0x1db679(0x1d6)];}_0x545cc8[_0x1db679(0x215)]({'undoCache':_0x528a53,'redoCache':_0x5c44a0});}[_0x4af273(0x147)](_0x5dbbb2){const _0x1138c0=_0x4af273,{unitID:_0x104b83}=_0x5dbbb2,_0x3980ee=this[_0x1138c0(0x30c)][_0x1138c0(0x38d)](_0x104b83)[_0x1138c0(0x392)](_0x5d0631['DocIMEInputManagerService']),_0x234bc6=_0x3980ee[_0x1138c0(0x1e7)]();if(_0x234bc6==null)return;const _0x4dbfb0=[{'id':_0x1138c0(0x2f2),'params':{'unitId':_0x5dbbb2[_0x1138c0(0x12d)],'actions':null,'textRanges':[_0x234bc6]}}],_0xc93ad3=this[_0x1138c0(0x25e)][_0x1138c0(0x287)](_0x5dbbb2,_0x4dbfb0);if(!_0xe2b8d2[_0x1138c0(0x225)](_0xc93ad3))throw _0xc93ad3[_0x1138c0(0x3bc)];const _0x330337=_0xc93ad3['m2Prime'][0x0][_0x1138c0(0x132)][_0x1138c0(0x192)];Array[_0x1138c0(0x3ba)](_0x330337)&&_0x330337[_0x1138c0(0x219)]&&_0x3980ee[_0x1138c0(0x109)](_0x330337[0x0]);}};_0x5b440f=_0x57ed93([_0x33cf4d(0x0,_0xe2b8d2['ITransformService']),_0x33cf4d(0x1,_0x1d0d67[_0x4af273(0x366)])],_0x5b440f);var _0x3dc962=Object[_0x4af273(0x27f)],_0x422a78=(_0x1e7df9,_0x46e5bc,_0x27c2ed,_0x1fb487)=>{const _0x1b67b0=_0x4af273;for(var _0x5b31a9=_0x1fb487>0x1?void 0x0:_0x1fb487?_0x3dc962(_0x46e5bc,_0x27c2ed):_0x46e5bc,_0x1422e2=_0x1e7df9[_0x1b67b0(0x219)]-0x1,_0x3e26a6;_0x1422e2>=0x0;_0x1422e2--)(_0x3e26a6=_0x1e7df9[_0x1422e2])&&(_0x5b31a9=_0x3e26a6(_0x5b31a9)||_0x5b31a9);return _0x5b31a9;},_0x5353d7=(_0x3ad59d,_0x49e849)=>(_0x4e38c2,_0x14152b)=>_0x49e849(_0x4e38c2,_0x14152b,_0x3ad59d);let _0x4b5fc0=class{constructor(_0x157727,_0x24a928,_0x348007){const _0x7fbd8f=_0x4af273;this[_0x7fbd8f(0x24e)]=_0x157727,this[_0x7fbd8f(0x25e)]=_0x24a928,this[_0x7fbd8f(0x278)]=_0x348007;}[_0x4af273(0x1b6)](_0x4aae47){const _0x5a89ed=_0x4af273;this[_0x5a89ed(0x1d1)](_0x4aae47);}['transformRemoteChangeset'](_0x3f3cc7){const _0x2c4440=_0x4af273,{unitID:_0x2d8131}=_0x3f3cc7,{collaboration:_0x2d9855}=this['_docStateChangeManagerService']['getStateCache'](_0x2d8131);if(_0x2d9855[_0x2c4440(0x219)]===0x0)return _0x3f3cc7;let _0x421fd4=_0x1f5e5b[_0x2c4440(0x33c)][_0x2c4440(0x355)](_0x3f3cc7[_0x2c4440(0x226)][0x0]);for(let _0xd10bd6=0x0;_0xd10bd6<_0x2d9855[_0x2c4440(0x219)];_0xd10bd6++){const _0x8ad8a6={'id':_0x2c4440(0x2f2),'params':{'unitId':_0x2d9855[_0xd10bd6][_0x2c4440(0x328)],..._0x2d9855[_0xd10bd6]['redoState']}},_0x13bc6a=this[_0x2c4440(0x25e)][_0x2c4440(0x2cb)](_0x421fd4,_0x8ad8a6,!0x1);if(_0xe2b8d2[_0x2c4440(0x2fc)](_0x13bc6a))throw _0x13bc6a[_0x2c4440(0x3bc)];_0x421fd4=_0x13bc6a['m1Prime'];}return{..._0x1f5e5b[_0x2c4440(0x33c)][_0x2c4440(0x355)](_0x3f3cc7),'mutations':[_0x421fd4]};}[_0x4af273(0x1d1)](_0x22a668){const _0x5826c8=_0x4af273,{unitID:_0xeeab19}=_0x22a668,{history:_0xa98324,collaboration:_0x5da428}=this[_0x5826c8(0x278)]['getStateCache'](_0xeeab19);if(_0xa98324['length']===0x0&&_0x5da428['length']===0x0)return;const _0x2c6b0=[],_0x397f24=[];let _0x656cc9=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668['mutations'][0x0]),_0x4646cf=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668[_0x5826c8(0x226)][0x0]);for(let _0x4b62b5=_0xa98324['length']-0x1;_0x4b62b5>=0x0;_0x4b62b5--){const _0x4a8490={'id':_0x5826c8(0x2f2),'params':{'unitId':_0xa98324[_0x4b62b5]['unitId'],..._0xa98324[_0x4b62b5][_0x5826c8(0x32f)]}},_0x3bcd1b={'id':_0x5826c8(0x2f2),'params':{'unitId':_0xa98324[_0x4b62b5][_0x5826c8(0x328)],..._0xa98324[_0x4b62b5][_0x5826c8(0x28c)]}},_0x575659=this[_0x5826c8(0x25e)]['transformMutation'](_0x656cc9,_0x4a8490,!0x1),_0x405669=this[_0x5826c8(0x25e)]['transformMutation'](_0x4646cf,_0x3bcd1b,!0x1);if(_0xe2b8d2['isTransformMutationFailure'](_0x575659))throw _0x575659['error'];if(_0xe2b8d2[_0x5826c8(0x2fc)](_0x405669))throw _0x405669[_0x5826c8(0x3bc)];_0x2c6b0[_0x5826c8(0x20d)]({..._0xa98324[_0x4b62b5],'undoState':_0x575659[_0x5826c8(0x111)][_0x5826c8(0x132)],'redoState':_0x405669[_0x5826c8(0x111)]['params']}),_0x656cc9=_0x575659[_0x5826c8(0x1d6)],_0x4646cf=_0x405669[_0x5826c8(0x1d6)];}_0x656cc9=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668[_0x5826c8(0x226)][0x0]),_0x4646cf=_0x1f5e5b[_0x5826c8(0x33c)][_0x5826c8(0x355)](_0x22a668[_0x5826c8(0x226)][0x0]);for(let _0x18708b=_0x5da428[_0x5826c8(0x219)]-0x1;_0x18708b>=0x0;_0x18708b--){const _0x537742={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5da428[_0x18708b]['unitId'],..._0x5da428[_0x18708b][_0x5826c8(0x32f)]}},_0x464899={'id':_0x5826c8(0x2f2),'params':{'unitId':_0x5da428[_0x18708b][_0x5826c8(0x328)],..._0x5da428[_0x18708b]['redoState']}},_0x58bf30=this[_0x5826c8(0x25e)][_0x5826c8(0x2cb)](_0x656cc9,_0x537742,!0x1),_0x5a91e1=this[_0x5826c8(0x25e)][_0x5826c8(0x2cb)](_0x4646cf,_0x464899,!0x1);if(_0xe2b8d2[_0x5826c8(0x2fc)](_0x58bf30))throw _0x58bf30[_0x5826c8(0x3bc)];if(_0xe2b8d2[_0x5826c8(0x2fc)](_0x5a91e1))throw _0x5a91e1[_0x5826c8(0x3bc)];_0x397f24['unshift']({..._0x5da428[_0x18708b],'undoState':_0x58bf30['m2Prime'][_0x5826c8(0x132)],'redoState':_0x5a91e1[_0x5826c8(0x111)]['params']}),_0x656cc9=_0x58bf30[_0x5826c8(0x1d6)],_0x4646cf=_0x5a91e1[_0x5826c8(0x1d6)];}this[_0x5826c8(0x278)][_0x5826c8(0x1dc)](_0xeeab19,{'history':_0x2c6b0,'collaboration':_0x397f24});}};_0x4b5fc0=_0x422a78([_0x5353d7(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x5353d7(0x1,_0xe2b8d2[_0x4af273(0x251)]),_0x5353d7(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x5d0631[_0x4af273(0x135)]))],_0x4b5fc0);var _0x39e216=Object[_0x4af273(0x27f)],_0x3f1aaf=(_0x3335e1,_0x34129b,_0x1711f3,_0x48fb68)=>{const _0x39c40f=_0x4af273;for(var _0x486b07=_0x48fb68>0x1?void 0x0:_0x48fb68?_0x39e216(_0x34129b,_0x1711f3):_0x34129b,_0x362d1f=_0x3335e1[_0x39c40f(0x219)]-0x1,_0x1c08ba;_0x362d1f>=0x0;_0x362d1f--)(_0x1c08ba=_0x3335e1[_0x362d1f])&&(_0x486b07=_0x1c08ba(_0x486b07)||_0x486b07);return _0x486b07;},_0xed96fa=(_0x454898,_0x5f20e0)=>(_0x27984f,_0x403acd)=>_0x5f20e0(_0x27984f,_0x403acd,_0x454898);let _0x124e75=class{constructor(_0x331e49,_0x246426){const _0x4de4dc=_0x4af273;this[_0x4de4dc(0x24e)]=_0x331e49,this[_0x4de4dc(0x25e)]=_0x246426;}['transformSelections'](_0x2e2611){const _0x53a2d1=_0x4af273;var _0x26b5a9;const _0x2e60b4=this[_0x53a2d1(0x24e)][_0x53a2d1(0x298)](_0x28c037['DocSelectionManagerService']),_0x519359=(_0x26b5a9=_0x2e60b4['getDocRanges']())!=null?_0x26b5a9:[];if(_0x519359[_0x53a2d1(0x219)]===0x0)return;const _0x4a5edf=_0x2e2611[_0x53a2d1(0x12d)],_0x2f2f64=[{'id':_0x53a2d1(0x2f2),'params':{'unitId':_0x4a5edf,'actions':null,'textRanges':_0x519359}}],_0x2cdf57=this[_0x53a2d1(0x25e)][_0x53a2d1(0x287)](_0x2e2611,_0x2f2f64);if(!_0xe2b8d2['isTransformMutationsWithChangesetSuccess'](_0x2cdf57))throw _0x2cdf57['error'];const _0x26d5c7=_0x2cdf57[_0x53a2d1(0x111)][0x0][_0x53a2d1(0x132)][_0x53a2d1(0x192)];Array[_0x53a2d1(0x3ba)](_0x26d5c7)&&_0x26d5c7['length']&&_0x2e60b4[_0x53a2d1(0x15f)](_0x26d5c7,{'unitId':_0x4a5edf,'subUnitId':_0x4a5edf},!0x1);}};_0x124e75=_0x3f1aaf([_0xed96fa(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0xed96fa(0x1,_0xe2b8d2['ITransformService'])],_0x124e75);var _0x533f6c=Object[_0x4af273(0x27f)],_0x3cf917=(_0xcf2264,_0x553995,_0x210d7e,_0x3430da)=>{for(var _0x11cc14=_0x3430da>0x1?void 0x0:_0x3430da?_0x533f6c(_0x553995,_0x210d7e):_0x553995,_0x21f868=_0xcf2264['length']-0x1,_0x5822fd;_0x21f868>=0x0;_0x21f868--)(_0x5822fd=_0xcf2264[_0x21f868])&&(_0x11cc14=_0x5822fd(_0x11cc14)||_0x11cc14);return _0x11cc14;},_0x14f329=(_0x4a00a2,_0x497974)=>(_0x45d2a6,_0x1a1fa5)=>_0x497974(_0x45d2a6,_0x1a1fa5,_0x4a00a2);let _0x504fec=class extends _0x1f5e5b['Disposable']{constructor(_0x597a88,_0x4bf0ef,_0x1696fd,_0x147275,_0x2549c9,_0x36aece,_0x485f06,_0x53a827){const _0xc02d02=_0x4af273;super(),_0x2cf944(this,_0xc02d02(0x121),new _0x33c65e[(_0xc02d02(0x301))](_0x41e580[_0xc02d02(0x120)][_0xc02d02(0x1de)])),(this[_0xc02d02(0x278)]=_0x597a88,this['_collaborationController']=_0x4bf0ef,this[_0xc02d02(0x1d4)]=_0x1696fd,this[_0xc02d02(0x339)]=_0x147275,this['_docTransformSelectionsService']=_0x2549c9,this[_0xc02d02(0x1f5)]=_0x36aece,this['_messageService']=_0x485f06,this[_0xc02d02(0x176)]=_0x53a827,this[_0xc02d02(0x2b9)]());}[_0x4af273(0x2b9)](){const _0x4f9eb0=_0x4af273;this[_0x4f9eb0(0x129)](this[_0x4f9eb0(0x249)][_0x4f9eb0(0x216)][_0x4f9eb0(0x16b)](_0x5e4c7a=>{const _0x561934=_0x4f9eb0,_0x272709=this[_0x561934(0x278)][_0x561934(0x2a9)]['subscribe'](_0x5b92d8=>{const _0x1a8fa6=_0x561934;if(_0x5b92d8==null)return;const {unitId:_0x3ce3ee,redoState:_0x3cf5cd,commandId:_0x5854ce}=_0x5b92d8;if(_0x3ce3ee!==_0x5e4c7a['unitID'])return;const _0x2c551e={'id':_0x5854ce,'type':_0x1f5e5b['CommandType']['MUTATION'],'params':{'unitId':_0x3ce3ee,'actions':_0x3cf5cd[_0x1a8fa6(0x164)],'textRanges':null}};_0x5e4c7a[_0x1a8fa6(0x224)](_0x2c551e);});if(_0x5e4c7a[_0x561934(0x129)](_0x272709),_0x5e4c7a instanceof _0x41e580['DocCollaborationEntity']){const _0x1e5b4e={'onTransformIME':_0x53d794=>this[_0x561934(0x1d4)]['transformIMECache'](_0x53d794),'onTransformState':_0x35fe6a=>this[_0x561934(0x339)][_0x561934(0x1b6)](_0x35fe6a),'onTransformSelections':_0x2e5f6b=>this[_0x561934(0x3ae)]['transformSelections'](_0x2e5f6b),'onSyncEditingCollabCursor':_0xe7203b=>this['_docSyncEditingCollabCursorService'][_0x561934(0x10e)](_0xe7203b),'onTransformRemoteChangesetByIMECache':_0x554010=>this[_0x561934(0x1d4)][_0x561934(0x139)](_0x554010),'onTransformRemoteChangesetByStateCache':_0x42d085=>this[_0x561934(0x339)][_0x561934(0x139)](_0x42d085)};_0x5e4c7a[_0x561934(0x3a1)](_0x1e5b4e);}}));}};_0x504fec=_0x3cf917([_0x14f329(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x5d0631[_0x4af273(0x135)])),_0x14f329(0x1,_0x1f5e5b['Inject'](_0x41e580['CollaborationController'])),_0x14f329(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x5b440f)),_0x14f329(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x4b5fc0)),_0x14f329(0x4,_0x1f5e5b[_0x4af273(0x371)](_0x124e75)),_0x14f329(0x5,_0x1f5e5b[_0x4af273(0x371)](_0x1ecbcb)),_0x14f329(0x6,_0x167676[_0x4af273(0x311)]),_0x14f329(0x7,_0x1f5e5b['Inject'](_0x1f5e5b[_0x4af273(0x2e8)]))],_0x504fec);var _0x513a8d=(_0x2cdb10=>(_0x2cdb10[_0x2cdb10[_0x4af273(0x25b)]=0x0]=_0x4af273(0x25b),_0x2cdb10[_0x2cdb10['OK']=0x1]='OK',_0x2cdb10[_0x2cdb10[_0x4af273(0x23c)]=0x2]=_0x4af273(0x23c),_0x2cdb10[_0x2cdb10[_0x4af273(0x2b6)]=0x3]=_0x4af273(0x2b6),_0x2cdb10[_0x2cdb10['NOT_FOUND']=0x4]=_0x4af273(0x181),_0x2cdb10[_0x2cdb10[_0x4af273(0x2fd)]=0x5]=_0x4af273(0x2fd),_0x2cdb10[_0x2cdb10[_0x4af273(0x2ec)]=0x6]='ALREADY_EXISTS',_0x2cdb10[_0x2cdb10[_0x4af273(0x30b)]=0x7]='INVALID_ARGUMENT',_0x2cdb10[_0x2cdb10[_0x4af273(0xf4)]=0x8]=_0x4af273(0xf4),_0x2cdb10[_0x2cdb10['COMPLETION_FINISHED']=0x9]=_0x4af273(0x299),_0x2cdb10[_0x2cdb10['LOGIN_FAILED']=0xa]=_0x4af273(0x173),_0x2cdb10[_0x2cdb10['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2cdb10[_0x2cdb10[_0x4af273(0x2c7)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x2cdb10[_0x2cdb10[_0x4af273(0x15a)]=0xd]=_0x4af273(0x15a),_0x2cdb10[_0x2cdb10[_0x4af273(0x281)]=0xe]=_0x4af273(0x281),_0x2cdb10[_0x2cdb10[_0x4af273(0x1f0)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2cdb10[_0x2cdb10['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x4af273(0x2ca),_0x2cdb10[_0x2cdb10['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x4af273(0x2f5),_0x2cdb10[_0x2cdb10['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x2cdb10[_0x2cdb10['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x2cdb10[_0x2cdb10[_0x4af273(0x126)]=0xca]=_0x4af273(0x126),_0x2cdb10[_0x2cdb10[_0x4af273(0x1c2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2cdb10[_0x2cdb10[_0x4af273(0x384)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2cdb10[_0x2cdb10['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2cdb10[_0x2cdb10[_0x4af273(0x24b)]=0x1773]=_0x4af273(0x24b),_0x2cdb10[_0x2cdb10[_0x4af273(0x33b)]=0x1b59]=_0x4af273(0x33b),_0x2cdb10[_0x2cdb10['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4af273(0x20a),_0x2cdb10[_0x2cdb10[_0x4af273(0x189)]=0x1b5b]=_0x4af273(0x189),_0x2cdb10[_0x2cdb10[_0x4af273(0x10a)]=0x1b5c]=_0x4af273(0x10a),_0x2cdb10[_0x2cdb10[_0x4af273(0x279)]=0x1b5d]=_0x4af273(0x279),_0x2cdb10[_0x2cdb10['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4af273(0x21b),_0x2cdb10[_0x2cdb10['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4af273(0x2be),_0x2cdb10[_0x2cdb10['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4af273(0x174),_0x2cdb10[_0x2cdb10['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2cdb10[_0x2cdb10[_0x4af273(0x39a)]=0x232c]=_0x4af273(0x39a),_0x2cdb10[_0x2cdb10[_0x4af273(0x1d3)]=0x232d]=_0x4af273(0x1d3),_0x2cdb10[_0x2cdb10[_0x4af273(0x303)]=0x2711]=_0x4af273(0x303),_0x2cdb10[_0x2cdb10['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4af273(0x1a8),_0x2cdb10[_0x2cdb10['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x4af273(0x187),_0x2cdb10[_0x2cdb10[_0x4af273(0x2ad)]=0x2714]=_0x4af273(0x2ad),_0x2cdb10[_0x2cdb10['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2cdb10[_0x2cdb10[_0x4af273(0x1b8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2cdb10[_0x2cdb10['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4af273(0x2ed),_0x2cdb10[_0x2cdb10[_0x4af273(0x151)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2cdb10[_0x2cdb10[_0x4af273(0x391)]=0x271e]=_0x4af273(0x391),_0x2cdb10[_0x2cdb10[_0x4af273(0x2e3)]=0x271f]=_0x4af273(0x2e3),_0x2cdb10[_0x2cdb10[_0x4af273(0x378)]=0x2720]=_0x4af273(0x378),_0x2cdb10[_0x2cdb10[_0x4af273(0x239)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2cdb10[_0x2cdb10[_0x4af273(0x2f9)]=0x2ee1]=_0x4af273(0x2f9),_0x2cdb10[_0x2cdb10[_0x4af273(0x2e5)]=0x2ee2]='INVALID_INVITE_CODE',_0x2cdb10[_0x2cdb10[_0x4af273(0x3a4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2cdb10[_0x2cdb10[_0x4af273(0x230)]=0x2ee4]=_0x4af273(0x230),_0x2cdb10[_0x2cdb10['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4af273(0x1f8),_0x2cdb10[_0x2cdb10[_0x4af273(0x20f)]=0x32c9]=_0x4af273(0x20f),_0x2cdb10[_0x2cdb10[_0x4af273(0x37b)]=0x32ca]=_0x4af273(0x37b),_0x2cdb10[_0x2cdb10[_0x4af273(0x358)]=0x32cb]=_0x4af273(0x358),_0x2cdb10[_0x2cdb10[_0x4af273(0x329)]=0x36b1]=_0x4af273(0x329),_0x2cdb10[_0x2cdb10['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x4af273(0x257),_0x2cdb10[_0x2cdb10[_0x4af273(0x271)]=0x36b3]=_0x4af273(0x271),_0x2cdb10[_0x2cdb10[_0x4af273(0x25c)]=0x36b4]=_0x4af273(0x25c),_0x2cdb10[_0x2cdb10['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2cdb10[_0x2cdb10[_0x4af273(0x2b0)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2cdb10[_0x2cdb10[_0x4af273(0x214)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2cdb10[_0x2cdb10[_0x4af273(0x18b)]=0x37dd]=_0x4af273(0x18b),_0x2cdb10[_0x2cdb10[_0x4af273(0x201)]=0x3a99]=_0x4af273(0x201),_0x2cdb10[_0x2cdb10[_0x4af273(0x208)]=0x3a9a]=_0x4af273(0x208),_0x2cdb10[_0x2cdb10[_0x4af273(0x324)]=0x3a9b]=_0x4af273(0x324),_0x2cdb10[_0x2cdb10[_0x4af273(0x245)]=0x3a9c]=_0x4af273(0x245),_0x2cdb10[_0x2cdb10['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4af273(0x227),_0x2cdb10[_0x2cdb10['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x4af273(0x1ed),_0x2cdb10[_0x2cdb10[_0x4af273(0x10f)]=0x3a9f]=_0x4af273(0x10f),_0x2cdb10[_0x2cdb10[_0x4af273(0x321)]=0x3e81]=_0x4af273(0x321),_0x2cdb10[_0x2cdb10[_0x4af273(0x2b3)]=-0x1]=_0x4af273(0x2b3),_0x2cdb10))(_0x513a8d||{});function _0x2ec109(_0x61e9a8){const _0x32b727=_0x4af273;var _0x6b4974,_0x20d849;const _0x47a851=(_0x6b4974=_0x61e9a8['stageInfo'])==null?void 0x0:_0x6b4974[_0x32b727(0x232)],_0x3b4794=((_0x20d849=_0x61e9a8['stageInfo'])==null?void 0x0:_0x20d849[_0x32b727(0x255)])||0x0;return _0x47a851===_0x4a4c4d[_0x32b727(0x2df)][_0x32b727(0x361)]&&_0x3b4794>0x0;}function _0x58a88b(_0x373af0){const _0x912672=_0x4af273;return _0x373af0[_0x912672(0x252)]===_0x4a4c4d[_0x912672(0x2fa)][_0x912672(0x32a)];}var _0xda6719=Object['getOwnPropertyDescriptor'],_0x3b7a89=(_0x245ad6,_0x563331,_0x355994,_0x267412)=>{for(var _0x29eee6=_0x267412>0x1?void 0x0:_0x267412?_0xda6719(_0x563331,_0x355994):_0x563331,_0x2b31df=_0x245ad6['length']-0x1,_0x15cc9e;_0x2b31df>=0x0;_0x2b31df--)(_0x15cc9e=_0x245ad6[_0x2b31df])&&(_0x29eee6=_0x15cc9e(_0x29eee6)||_0x29eee6);return _0x29eee6;},_0x39b51f=(_0x4d5c18,_0x3f2794)=>(_0x5a5d64,_0x3ddcaf)=>_0x3f2794(_0x5a5d64,_0x3ddcaf,_0x4d5c18);const _0x30c68c='/universer-api/license/formula/limit/status',_0x5b805d=_0x4af273(0x100),_0x2fe067=_0x4af273(0x2c0);let _0x4d4746=class extends _0x1f5e5b[_0x4af273(0x218)]{constructor(_0x1e593e,_0x4f8fbb,_0x3db548,_0x14757c,_0x312967,_0xbf9b2,_0x17d451){const _0x286598=_0x4af273;super(),_0x2cf944(this,_0x286598(0x348),null),_0x2cf944(this,_0x286598(0x22a),0x0),_0x2cf944(this,_0x286598(0x29c),0x0),_0x2cf944(this,'_taskIds',[]),_0x2cf944(this,_0x286598(0x370),0x0),(this[_0x286598(0x35e)]=_0x1e593e,this['_commandService']=_0x4f8fbb,this[_0x286598(0x123)]=_0x3db548,this['_httpService']=_0x14757c,this['_univerInstanceService']=_0x312967,this[_0x286598(0x13e)]=_0xbf9b2,this[_0x286598(0x176)]=_0x17d451,this[_0x286598(0x200)]());}[_0x4af273(0x200)](){const _0x33c164=_0x4af273;this['disposeWithMe'](this['_commandService']['beforeCommandExecuted']((_0x316206,_0x311c4d)=>{const _0x4c4d60=_0x102e;var _0x30aca0;if(_0x316206['id']!==_0x4a4c4d[_0x4c4d60(0x356)]['id'])return;const _0x16109f=_0x316206[_0x4c4d60(0x132)];if(!this['_hasFormulaInDirtyRanges']((_0x30aca0=_0x16109f['dirtyRanges'])!=null?_0x30aca0:[]))return;if(!this[_0x4c4d60(0x331)]())throw this[_0x4c4d60(0x20c)](_0x316206,_0x311c4d),this[_0x4c4d60(0x38c)](),new _0x1f5e5b[(_0x4c4d60(0x113))]();})),this['disposeWithMe'](this[_0x33c164(0x304)]['onCommandExecuted']((_0x15fdbb,_0x3ae739)=>{const _0x2425c4=_0x33c164;if(_0x15fdbb['id']!==_0x4a4c4d[_0x2425c4(0x16a)]['id'])return;const _0x189a87=_0x15fdbb[_0x2425c4(0x132)];if(_0x2ec109(_0x189a87)){const _0xf98c5b=_0x1f5e5b['generateRandomId']();this['_taskIds'][_0x2425c4(0x14b)](_0xf98c5b),this['_startCalculationLimit'](_0xf98c5b);}else{if(_0x58a88b(_0x189a87)&&this[_0x2425c4(0x116)]['length']>0x0){const _0x1f0acf=this['_taskIds'][_0x2425c4(0x17a)]();this[_0x2425c4(0x1ee)](_0x1f0acf);}}}));}[_0x4af273(0x254)](){const _0x7ec170=_0x4af273;super['dispose'](),this[_0x7ec170(0x36c)](),this['_taskIds']=[],this[_0x7ec170(0x29c)]=0x0,this[_0x7ec170(0x22a)]=0x0,this[_0x7ec170(0x370)]=0x0;}async[_0x4af273(0x20c)](_0xed34f,_0xc201e1){const _0x19ed6c=_0x4af273;for(let _0x38b651=0x0;_0x38b651<0x1e;_0x38b651++)try{if(await this[_0x19ed6c(0x31e)](),this[_0x19ed6c(0x331)]()){this[_0x19ed6c(0x12a)](_0xed34f,_0xc201e1),this[_0x19ed6c(0x35e)][_0x19ed6c(0x1ad)]({'content':this[_0x19ed6c(0x176)]['t'](_0x19ed6c(0x221)),'type':_0x121096['MessageType']['Success']});return;}await new Promise(_0x129379=>{const _0x59a1cf=_0x19ed6c;this[_0x59a1cf(0x348)]=window[_0x59a1cf(0x178)](_0x129379,0x3e8);});}catch(_0x3c874f){this[_0x19ed6c(0x13e)][_0x19ed6c(0x3bc)](_0x3c874f);}this[_0x19ed6c(0x35e)][_0x19ed6c(0x1ad)]({'content':this[_0x19ed6c(0x176)]['t']('formula.calculation.unable'),'type':_0x121096[_0x19ed6c(0x374)][_0x19ed6c(0x344)]});}[_0x4af273(0x12a)](_0x513f87,_0x4a4859){const _0xf818c4=_0x4af273;try{this[_0xf818c4(0x304)][_0xf818c4(0x17b)](_0x513f87['id'],_0x513f87[_0xf818c4(0x132)],_0x4a4859);}catch(_0xbf664a){this['_logService']['error'](_0xbf664a);}}[_0x4af273(0x3b5)](_0x3391d1,_0x4648a6){const _0x26c1e7=_0x4af273;_0x4648a6<this[_0x26c1e7(0x370)]||(this[_0x26c1e7(0x370)]=_0x4648a6,this[_0x26c1e7(0x22a)]=Number[_0x26c1e7(0x1e6)](_0x3391d1[_0x26c1e7(0x19b)]),this[_0x26c1e7(0x29c)]=Number['parseInt'](_0x3391d1[_0x26c1e7(0x3b4)]));}async[_0x4af273(0xf3)](_0x251021){const _0x404404=_0x4af273;var _0x3ed0d3,_0x40e934;const _0x2c3e01=Date['now']();try{const _0x5403f2=((_0x3ed0d3=this[_0x404404(0x123)][_0x404404(0x3b3)](_0x41e580[_0x404404(0x302)]))==null?void 0x0:_0x3ed0d3[_0x404404(0x3a2)])||_0x5b805d,_0x2178e3=(await this[_0x404404(0x1db)][_0x404404(0x33a)](_0x5403f2,{'body':JSON[_0x404404(0x18a)]({'taskId':_0x251021})}))[_0x404404(0x14e)];if(((_0x40e934=_0x2178e3['error'])==null?void 0x0:_0x40e934[_0x404404(0x1ae)])!==_0x513a8d['OK'])return;this['_setFormulaLimitStatus'](_0x2178e3[_0x404404(0x26b)],_0x2c3e01);}catch(_0x711e13){this[_0x404404(0x13e)][_0x404404(0x3bc)](_0x711e13);}}async[_0x4af273(0x31e)](_0x39c5d9){const _0xb06ec3=_0x4af273;var _0x35cc15,_0x539bab;const _0x44e591=Date[_0xb06ec3(0x2d0)]();try{const _0x2512ad=((_0x35cc15=this[_0xb06ec3(0x123)][_0xb06ec3(0x3b3)](_0x41e580[_0xb06ec3(0x302)]))==null?void 0x0:_0x35cc15['getformulaLimitStatusUrl'])||_0x30c68c,_0x20dd25=_0x39c5d9?_0x2512ad+'?taskId='+encodeURIComponent(_0x39c5d9):_0x2512ad,_0x26e857=(await this[_0xb06ec3(0x1db)][_0xb06ec3(0x298)](_0x20dd25))[_0xb06ec3(0x14e)];if(((_0x539bab=_0x26e857[_0xb06ec3(0x3bc)])==null?void 0x0:_0x539bab[_0xb06ec3(0x1ae)])!==_0x513a8d['OK'])return;this[_0xb06ec3(0x3b5)](_0x26e857['limitInfo'],_0x44e591);}catch(_0x4accef){this[_0xb06ec3(0x13e)][_0xb06ec3(0x3bc)](_0x4accef);}}async['_releaseCalculationLimit'](_0x4f3719){const _0x366100=_0x4af273;var _0x1d77ea,_0x125ae5;const _0xdcc557=Date[_0x366100(0x2d0)]();try{const _0x10864d=((_0x1d77ea=this[_0x366100(0x123)]['getConfig'](_0x41e580[_0x366100(0x302)]))==null?void 0x0:_0x1d77ea[_0x366100(0x21e)])||_0x2fe067,_0x1a267c=(await this[_0x366100(0x1db)][_0x366100(0x33a)](_0x10864d,{'body':JSON['stringify']({'taskId':_0x4f3719})}))[_0x366100(0x14e)];if(((_0x125ae5=_0x1a267c['error'])==null?void 0x0:_0x125ae5[_0x366100(0x1ae)])!==_0x513a8d['OK'])return;this[_0x366100(0x3b5)](_0x1a267c[_0x366100(0x26b)],_0xdcc557);}catch(_0x4a003c){this[_0x366100(0x13e)][_0x366100(0x3bc)](_0x4a003c);}}['_checkCalculationAvailable'](){const _0x460ed6=_0x4af273;return this[_0x460ed6(0x22a)]===0x0?!0x0:this[_0x460ed6(0x22a)]-this['_currentUsage']>0x0;}[_0x4af273(0x36c)](){const _0x2985fe=_0x4af273;this[_0x2985fe(0x348)]&&(clearTimeout(this[_0x2985fe(0x348)]),this['_pollingInterval']=null);}[_0x4af273(0x38c)](){const _0x1f0374=_0x4af273;this[_0x1f0374(0x35e)][_0x1f0374(0x1ad)]({'content':this[_0x1f0374(0x176)]['t']('formula.calculation.waiting'),'type':_0x121096[_0x1f0374(0x374)][_0x1f0374(0x1e0)]});}[_0x4af273(0x382)](_0x6e2256){const _0x5a4c28=_0x4af273;for(const _0x5e379e of _0x6e2256){const {unitId:_0xd54007,sheetId:_0x72be9,range:_0x50b442}=_0x5e379e,_0x47b7c6=this[_0x5a4c28(0x1aa)]['getUnit'](_0xd54007);if(!_0x47b7c6)continue;const _0x37d61d=_0x47b7c6[_0x5a4c28(0x193)](_0x72be9);if(!_0x37d61d)continue;const _0x4f7496=_0x37d61d[_0x5a4c28(0x32e)]();for(let _0x363f40=_0x50b442[_0x5a4c28(0x1f4)];_0x363f40<=_0x50b442['endRow'];_0x363f40++)for(let _0x5f08ee=_0x50b442['startColumn'];_0x5f08ee<=_0x50b442[_0x5a4c28(0x2db)];_0x5f08ee++){const _0x18c320=_0x4f7496[_0x5a4c28(0x312)](_0x363f40,_0x5f08ee);if(_0x18c320&&(_0x1f5e5b[_0x5a4c28(0x307)](_0x18c320['f'])||_0x1f5e5b['isFormulaId'](_0x18c320['si'])))return!0x0;}}return!0x1;}};_0x4d4746=_0x3b7a89([_0x39b51f(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x167676[_0x4af273(0x311)])),_0x39b51f(0x1,_0x1f5e5b['ICommandService']),_0x39b51f(0x2,_0x1f5e5b[_0x4af273(0x354)]),_0x39b51f(0x3,_0x1f5e5b[_0x4af273(0x371)](_0x2d69ac['HTTPService'])),_0x39b51f(0x4,_0x1f5e5b[_0x4af273(0x1d5)]),_0x39b51f(0x5,_0x1f5e5b[_0x4af273(0x283)]),_0x39b51f(0x6,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x2e8)]))],_0x4d4746);var _0x110f34=Object['getOwnPropertyDescriptor'],_0x7ab3e8=(_0xa09582,_0x3eadc6,_0x1b8330,_0x30a61c)=>{for(var _0x5b69a9=_0x30a61c>0x1?void 0x0:_0x30a61c?_0x110f34(_0x3eadc6,_0x1b8330):_0x3eadc6,_0x306f08=_0xa09582['length']-0x1,_0x2ecccf;_0x306f08>=0x0;_0x306f08--)(_0x2ecccf=_0xa09582[_0x306f08])&&(_0x5b69a9=_0x2ecccf(_0x5b69a9)||_0x5b69a9);return _0x5b69a9;},_0x7beaf1=(_0x5e55d1,_0x2788f9)=>(_0x2c6769,_0x2ba1ec)=>_0x2788f9(_0x2c6769,_0x2ba1ec,_0x5e55d1);let _0x432348=class extends _0x1f5e5b['Disposable']{constructor(_0x3e2c2c,_0x1caca2,_0x4f00b8){const _0x5b4386=_0x4af273;super(),_0x2cf944(this,'_cachedData',new Map()),_0x2cf944(this,_0x5b4386(0x1a4),new Map()),_0x2cf944(this,_0x5b4386(0x262),!0x1),(this[_0x5b4386(0x123)]=_0x3e2c2c,this['_localStorageService']=_0x1caca2,this[_0x5b4386(0x35c)]=_0x4f00b8);}[_0x4af273(0x28b)](){const _0x3ad7a2=_0x4af273;this[_0x3ad7a2(0x262)]=!0x0;}['enableLocalCache'](){const _0x1bea1c=_0x4af273;this[_0x1bea1c(0x262)]=!0x1;}get[_0x4af273(0x13b)](){const _0xdac5e4=_0x4af273;return this[_0xdac5e4(0x1a4)];}[_0x4af273(0x254)](){const _0x54e517=_0x4af273;this[_0x54e517(0x352)]()['then'](()=>super[_0x54e517(0x254)]());}async['loadOfflineData'](_0x1fdbbd){const _0x2390cf=_0x4af273;return this[_0x2390cf(0x262)]?null:this['_localStorageService'][_0x2390cf(0x2c5)](_0x41e580['getLocalCacheKey'](_0x1fdbbd));}async['saveOfflineData'](_0xca7451,_0x317715){return!!this['_localStorageService']['setItem'](_0xca7451,_0x317715);}[_0x4af273(0x36f)](_0x37ab61,_0x4d1eb9,_0x4bdc79,_0x374694){const _0x52f059=_0x4af273,_0x44f5af=this['_revisionService'][_0x52f059(0x3a5)](_0x37ab61);this['_cachedData'][_0x52f059(0x39f)](_0x37ab61,{'unitID':_0x37ab61,'type':_0x4d1eb9,'awaitingChangeset':_0x4bdc79,'mutations':_0x374694,'rev':_0x44f5af}),this[_0x52f059(0x1a4)][_0x52f059(0x280)](_0x37ab61)||this[_0x52f059(0x1e5)](_0x37ab61);}[_0x4af273(0x1e5)](_0x452d73){const _0x4bced1=_0x4af273,_0x486075=this[_0x4bced1(0x25a)]();_0x486075===0x0?this[_0x4bced1(0x148)](_0x452d73):this[_0x4bced1(0x1a4)]['set'](_0x452d73,setTimeout(()=>this[_0x4bced1(0x148)](_0x452d73),_0x486075));}['_getSaveTimeout'](){const _0x15b576=_0x4af273;var _0x114bd0;return(_0x114bd0=this['_configService'][_0x15b576(0x3b3)](_0x41e580['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x114bd0:_0x41e580['LOCAL_CACHE_INTERVAL'];}[_0x4af273(0x148)](_0x5028e1){const _0x236c3a=_0x4af273,_0x2492f1=this[_0x236c3a(0x1a4)][_0x236c3a(0x298)](_0x5028e1);return _0x2492f1!==void 0x0&&window['clearTimeout'](_0x2492f1),this[_0x236c3a(0x37a)][_0x236c3a(0x136)](_0x41e580[_0x236c3a(0x2a2)](_0x5028e1),this['_cachedData'][_0x236c3a(0x298)](_0x5028e1))[_0x236c3a(0x1cd)](()=>this[_0x236c3a(0x1a4)]['delete'](_0x5028e1));}async['exhaustSavingTask'](){const _0x6c63b9=_0x4af273,_0x24a5c6=[];this['_saveTaskMap'][_0x6c63b9(0x26c)]((_0x21ce6a,_0x2dea59)=>{const _0x59cfad=_0x6c63b9;window[_0x59cfad(0x16d)](_0x21ce6a),_0x24a5c6[_0x59cfad(0x14b)](this[_0x59cfad(0x148)](_0x2dea59)[_0x59cfad(0x1cd)](()=>{const _0x51080f=_0x59cfad;this[_0x51080f(0x1a4)][_0x51080f(0x2f3)](_0x2dea59);}));}),await Promise['all'](_0x24a5c6);}};_0x432348=_0x7ab3e8([_0x7beaf1(0x0,_0x1f5e5b[_0x4af273(0x354)]),_0x7beaf1(0x1,_0x1f5e5b['ILocalStorageService']),_0x7beaf1(0x2,_0x1f5e5b[_0x4af273(0x371)](_0xe2b8d2[_0x4af273(0x163)]))],_0x432348);class _0x11f47e extends _0x1f5e5b[_0x4af273(0x1cb)]{constructor(){const _0x565e23=_0x4af273;super(),_0x2cf944(this,'urlChange$'),this[_0x565e23(0x236)]=_0x33c65e[_0x565e23(0x13d)](window,_0x565e23(0x390))[_0x565e23(0x33f)](_0x33c65e[_0x565e23(0x383)](this[_0x565e23(0x38e)]),_0x33c65e[_0x565e23(0x282)](0x1),_0x33c65e[_0x565e23(0x211)](void 0x0));}[_0x4af273(0x15c)](_0x3fff03,_0xa768b8,_0x15942c=!0x1){const _0x4c0fe4=_0x4af273,_0x33661f=new URL(window[_0x4c0fe4(0x1f7)][_0x4c0fe4(0x235)]);_0x33661f[_0x4c0fe4(0x1a7)][_0x4c0fe4(0x39f)](_0x3fff03,_0xa768b8),_0x15942c?window[_0x4c0fe4(0x31a)][_0x4c0fe4(0x376)]('','',_0x33661f[_0x4c0fe4(0x3b0)]()):window['history'][_0x4c0fe4(0x34c)]('','',_0x33661f[_0x4c0fe4(0x3b0)]());}[_0x4af273(0x28e)](_0x3e6f86,_0x31649a=!0x1){const _0x116f47=_0x4af273,_0x487009=new URL(window[_0x116f47(0x1f7)][_0x116f47(0x235)]);_0x487009[_0x116f47(0x1a7)][_0x116f47(0x2f3)](_0x3e6f86),_0x31649a?window[_0x116f47(0x31a)][_0x116f47(0x376)]('','',_0x487009['toString']()):window['history'][_0x116f47(0x34c)]('','',_0x487009[_0x116f47(0x3b0)]());}[_0x4af273(0x1a1)](_0x2b21fd){const _0xd2708b=_0x4af273;var _0x4ba88f;return(_0x4ba88f=new URL(window['location'][_0xd2708b(0x235)])[_0xd2708b(0x1a7)][_0xd2708b(0x298)](_0x2b21fd))!=null?_0x4ba88f:void 0x0;}}var _0x21cfec=Object[_0x4af273(0x1b0)],_0x2431e5=Object[_0x4af273(0x27f)],_0x16bdef=(_0x38e4e6,_0x615e72,_0x2e0025)=>_0x615e72 in _0x38e4e6?_0x21cfec(_0x38e4e6,_0x615e72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e0025}):_0x38e4e6[_0x615e72]=_0x2e0025,_0x39f7fc=(_0x99e78f,_0x1496fe,_0x46ffde,_0x24443e)=>{const _0x5963cf=_0x4af273;for(var _0x1e72aa=_0x24443e>0x1?void 0x0:_0x24443e?_0x2431e5(_0x1496fe,_0x46ffde):_0x1496fe,_0x17b647=_0x99e78f[_0x5963cf(0x219)]-0x1,_0x12c975;_0x17b647>=0x0;_0x17b647--)(_0x12c975=_0x99e78f[_0x17b647])&&(_0x1e72aa=_0x12c975(_0x1e72aa)||_0x1e72aa);return _0x1e72aa;},_0x5ed02e=(_0x38fff6,_0x286a9e)=>(_0x305005,_0x1cf520)=>_0x286a9e(_0x305005,_0x1cf520,_0x38fff6),_0x3f78d0=(_0x48b014,_0x51c06b,_0x3f69c8)=>_0x16bdef(_0x48b014,_0x51c06b+'',_0x3f69c8);const _0x2ad63d=_0x4af273(0x202);_0x1f8ef7[_0x4af273(0x1d8)]=class extends _0x1f5e5b['Plugin']{constructor(_0x2aaba8=_0x4e4498,_0x3f84b7,_0x4cd6bb,_0x88ed5e){const _0x5f5d38=_0x4af273;super(),this[_0x5f5d38(0x1a3)]=_0x2aaba8,this[_0x5f5d38(0x30c)]=_0x3f84b7,this[_0x5f5d38(0x24e)]=_0x4cd6bb,this[_0x5f5d38(0x123)]=_0x88ed5e;const {..._0x58e580}=_0x1f5e5b[_0x5f5d38(0x250)]({},_0x4e4498,this[_0x5f5d38(0x1a3)]);this['_configService'][_0x5f5d38(0x2e9)](_0x5530ff,_0x58e580);}[_0x4af273(0x1e9)](){const _0x5cfce1=_0x4af273;this['_registerDependencies'](),this[_0x5cfce1(0x12e)]();}[_0x4af273(0x398)](){const _0x412147=_0x4af273;this[_0x412147(0x1a0)]();}['_registerDependencies'](){const _0x1373a1=_0x4af273;var _0x59aae0;const _0x25acf2=[[_0x185c02],[_0x4d4746],[_0x124e75],[_0x5b440f],[_0x4b5fc0],[_0x1ecbcb],[_0x5994ee,{'useClass':_0x11f47e}],[_0x2d69ac[_0x1373a1(0x1bc)],{'useClass':_0x2d69ac[_0x1373a1(0x12c)]}],[_0x41e580[_0x1373a1(0x369)],{'useClass':_0x432348}],[_0x1f8ef7[_0x1373a1(0x2d5)]],[_0x504fec],[_0x35d63a],[_0x171db6],[_0x1c618c],[_0x1f8ef7[_0x1373a1(0x2f7)]]];_0x1f5e5b['registerDependencies'](this[_0x1373a1(0x24e)],_0x1f5e5b[_0x1373a1(0x143)](_0x25acf2,(_0x59aae0=this[_0x1373a1(0x1a3)])==null?void 0x0:_0x59aae0['override']));}[_0x4af273(0x1a0)](){const _0x3c17a4=_0x4af273;this['disposeWithMe'](this[_0x3c17a4(0x30c)][_0x3c17a4(0x264)](_0x1f5e5b[_0x3c17a4(0x23e)][_0x3c17a4(0x177)],[_0x2204da])),this[_0x3c17a4(0x129)](this['_renderManagerService']['registerRenderModule'](_0x1f5e5b['UniverInstanceType']['UNIVER_SHEET'],[_0x48bdab]));}[_0x4af273(0x12e)](){const _0x193a8a=_0x4af273;_0x1f5e5b['touchDependencies'](this['_injector'],[[_0x171db6],[_0x1f8ef7[_0x193a8a(0x2d5)]],[_0x504fec],[_0x35d63a],[_0x1f8ef7[_0x193a8a(0x2f7)]],[_0x4d4746]]);}},_0x3f78d0(_0x1f8ef7[_0x4af273(0x1d8)],_0x4af273(0x149),_0x2ad63d),_0x1f8ef7[_0x4af273(0x1d8)]=_0x39f7fc([_0x1f5e5b['DependentOn'](_0x41e580[_0x4af273(0x346)]),_0x5ed02e(0x1,_0x1d0d67[_0x4af273(0x366)]),_0x5ed02e(0x2,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x5ed02e(0x3,_0x1f5e5b['IConfigService'])],_0x1f8ef7[_0x4af273(0x1d8)]);var _0x35fbaa=Object['getOwnPropertyDescriptor'],_0xb96f6f=(_0x353e46,_0x2932a4,_0x4e3209,_0x1f6b66)=>{const _0x1204d4=_0x4af273;for(var _0x3188c9=_0x1f6b66>0x1?void 0x0:_0x1f6b66?_0x35fbaa(_0x2932a4,_0x4e3209):_0x2932a4,_0x11b683=_0x353e46[_0x1204d4(0x219)]-0x1,_0x1ee3e3;_0x11b683>=0x0;_0x11b683--)(_0x1ee3e3=_0x353e46[_0x11b683])&&(_0x3188c9=_0x1ee3e3(_0x3188c9)||_0x3188c9);return _0x3188c9;},_0x2ef432=(_0x1b27db,_0x10696e)=>(_0x48badc,_0x1714bf)=>_0x10696e(_0x48badc,_0x1714bf,_0x1b27db);_0x1f8ef7['BrowserCollaborationSocketService']=class extends _0x41e580[_0x4af273(0x1ef)]{constructor(_0x57980a,_0x195bb3,_0x2688cf,_0x289a44,_0x29dda9){super(_0x57980a,_0x195bb3,_0x2688cf,_0x289a44,_0x29dda9);}async['createSocket'](_0x2376a5){const _0x3b78f7=_0x4af273,_0x58837f=await this[_0x3b78f7(0x210)](),_0x585c87=this[_0x3b78f7(0x393)](_0x2376a5,_0x58837f);return this[_0x3b78f7(0x1d7)](_0x585c87);}[_0x4af273(0x393)](_0x403524,_0x3941ba){const _0x213b90=_0x4af273,_0x21e2ac=typeof window>'u'?new URL(_0x403524):new URL(_0x403524,window[_0x213b90(0x1f7)][_0x213b90(0x2a6)]);_0x21e2ac['searchParams'][_0x213b90(0x39f)](_0x213b90(0x179),_0x3941ba);const _0x3336bc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x213b90(0x1f7)][_0x213b90(0x25f)]);return _0x3336bc[_0x213b90(0x298)](_0x213b90(0x21a))&&_0x21e2ac[_0x213b90(0x1a7)][_0x213b90(0x39f)](_0x213b90(0x21a),_0x3336bc['get']('runId')),_0x21e2ac['toString']();}async[_0x4af273(0x210)](){const _0x3cd388=_0x4af273;var _0x5cdd30,_0x368065,_0xa6929a;const _0x192132=this[_0x3cd388(0x123)][_0x3cd388(0x3b3)](_0x41e580[_0x3cd388(0x302)]),_0x5f12a8=(_0x5cdd30=_0x192132==null?void 0x0:_0x192132[_0x3cd388(0x1f1)])!=null?_0x5cdd30:_0x41e580['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xa6929a=(_0x368065=(await this['_httpService'][_0x3cd388(0x298)](_0x5f12a8,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x368065[_0x3cd388(0x14c)])!=null?_0xa6929a:'';}},_0x1f8ef7[_0x4af273(0x2e0)]=_0xb96f6f([_0x2ef432(0x0,_0x1f5e5b[_0x4af273(0x371)](_0x1f5e5b[_0x4af273(0x380)])),_0x2ef432(0x1,_0x1f5e5b[_0x4af273(0x371)](_0x2d69ac['HTTPService'])),_0x2ef432(0x2,_0x1f5e5b['IConfigService']),_0x2ef432(0x3,_0x1f5e5b['ILogService']),_0x2ef432(0x4,_0xe2b8d2[_0x4af273(0x175)])],_0x1f8ef7[_0x4af273(0x2e0)]);var _0x1f6af1=Object['getOwnPropertyDescriptor'],_0x5d3325=(_0x564896,_0x30f713,_0x4cd07b,_0x143550)=>{const _0x52fb39=_0x4af273;for(var _0x3faee8=_0x143550>0x1?void 0x0:_0x143550?_0x1f6af1(_0x30f713,_0x4cd07b):_0x30f713,_0x184adf=_0x564896[_0x52fb39(0x219)]-0x1,_0x44bb6a;_0x184adf>=0x0;_0x184adf--)(_0x44bb6a=_0x564896[_0x184adf])&&(_0x3faee8=_0x44bb6a(_0x3faee8)||_0x3faee8);return _0x3faee8;},_0x582d26=(_0x1e5a68,_0x1fe197)=>(_0x48c97c,_0x297640)=>_0x1fe197(_0x48c97c,_0x297640,_0x1e5a68);_0x1f8ef7[_0x4af273(0x1c7)]=class extends _0x1f5e5b['Disposable']{constructor(_0x3c703d,_0x5c6351,_0x5016f4){super(),this['_instanceService']=_0x3c703d,this['_httpService']=_0x5c6351,this['_configService']=_0x5016f4;}async[_0x4af273(0x27b)](_0x5111f2,_0x3ff7d4,_0x72df05,..._0x2353ef){const _0x449c78=_0x4af273;var _0xb673d0,_0x137929,_0x596dae,_0x397ca2;const _0xf872f3=this[_0x449c78(0x26e)][_0x449c78(0x322)]();if(!_0xf872f3)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1bf363=((_0xb673d0=this[_0x449c78(0x123)][_0x449c78(0x3b3)](_0x41e580['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xb673d0:_0x41e580[_0x449c78(0x246)])+'/'+_0x5111f2+_0x449c78(0x1ec)+_0x3ff7d4,_0x1c8377=new URL(window[_0x449c78(0x1f7)][_0x449c78(0x235)]),_0x4a4ca1={'scriptId':_0x5111f2,'runId':(_0x137929=_0x1c8377[_0x449c78(0x1a7)][_0x449c78(0x298)](_0x449c78(0x21a)))!=null?_0x137929:'','function':_0x3ff7d4,'unitId':_0xf872f3['getUnitId'](),'argsOfFunction':JSON[_0x449c78(0x18a)](_0x2353ef),'invokeId':(_0x596dae=_0x72df05[_0x449c78(0x106)])!=null?_0x596dae:'','executionId':(_0x397ca2=_0x72df05[_0x449c78(0x2ab)])!=null?_0x397ca2:''};try{const _0x53c4e9=await this[_0x449c78(0x1db)]['post'](_0x1bf363,{'body':_0x4a4ca1});return _0x53c4e9[_0x449c78(0x14e)][_0x449c78(0x3bc)]&&_0x53c4e9[_0x449c78(0x14e)][_0x449c78(0x3bc)][_0x449c78(0x1ae)]!==_0x513a8d['OK']?_0x449c78(0x297):_0x53c4e9[_0x449c78(0x14e)][_0x449c78(0x1c1)];}catch{return _0x449c78(0x297);}}},_0x1f8ef7['RemoteUniscriptService']=_0x5d3325([_0x582d26(0x0,_0x1f5e5b[_0x4af273(0x1d5)]),_0x582d26(0x1,_0x1f5e5b['Inject'](_0x2d69ac['HTTPService'])),_0x582d26(0x2,_0x1f5e5b[_0x4af273(0x354)])],_0x1f8ef7[_0x4af273(0x1c7)]);const _0x3b63fd=0x7530,_0x2572c3=_0x4af273(0x166);class _0x4918ef extends _0x1f5e5b[_0x4af273(0x218)]{constructor(){const _0x100ac7=_0x4af273;super(),_0x2cf944(this,_0x100ac7(0x237),_0x1f5e5b[_0x100ac7(0x23d)]()),_0x2cf944(this,_0x100ac7(0x241),new Set()),_0x2cf944(this,_0x100ac7(0x105),new Map()),_0x2cf944(this,_0x100ac7(0x334),null),_0x2cf944(this,_0x100ac7(0x2ea),new Map()),_0x2cf944(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x1107bc=_0x4af273;super[_0x1107bc(0x254)](),this[_0x1107bc(0x2ea)][_0x1107bc(0x26c)]((_0x20a313,_0x1accdb)=>this['_removeClearOtherTimer'](_0x1accdb)),this['_heartbeatTimer']&&window[_0x1107bc(0x1e3)](this[_0x1107bc(0x334)]);}[_0x4af273(0x29b)](_0x352004){const _0x5d314a=_0x4af273;return this['_ensureSubject'](_0x352004)['pipe'](_0x33c65e[_0x5d314a(0x30a)]());}[_0x4af273(0x15d)](_0x4ea859){const _0x616d6e=_0x4af273;this[_0x616d6e(0x241)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x616d6e(0x241)][_0x616d6e(0x3bb)](_0x4ea859),this[_0x616d6e(0x285)]({'type':0x0,'memberID':this[_0x616d6e(0x237)],'unitIDs':[_0x4ea859],'isForwarded':!0x1});}[_0x4af273(0x320)](_0x2f3d09){const _0xb5edb2=_0x4af273;this['_selfUnitIDs'][_0xb5edb2(0x2f3)](_0x2f3d09),this[_0xb5edb2(0x241)]['size']===0x0&&this['_heartbeatTimer']&&window[_0xb5edb2(0x1e3)](this[_0xb5edb2(0x334)]);}[_0x4af273(0x313)](){const _0x2fe203=_0x4af273;this['disposeWithMe'](_0x1f5e5b['toDisposable'](_0x33c65e[_0x2fe203(0x13d)](window,'storage')[_0x2fe203(0x16b)](_0x25f440=>{const _0x5e2cc7=_0x2fe203;if(_0x25f440[_0x5e2cc7(0x2a4)]!==_0x2572c3||!_0x25f440[_0x5e2cc7(0x1cc)])return;const _0xa5f834=JSON[_0x5e2cc7(0x259)](_0x25f440[_0x5e2cc7(0x1cc)]);this[_0x5e2cc7(0x18d)](_0xa5f834);}))),window[_0x2fe203(0x182)](_0x2fe203(0x150),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2fe203(0x13c)](this[_0x2fe203(0x241)])}));}[_0x4af273(0x18d)](_0x6be073){const _0x5a5e12=_0x4af273;switch(_0x6be073[_0x5a5e12(0x330)]){case 0x0:this[_0x5a5e12(0x30f)](_0x6be073);break;case 0x1:this[_0x5a5e12(0x186)](_0x6be073);break;case 0x2:this[_0x5a5e12(0x2ce)](_0x6be073);break;}}['_handleJoinEvent'](_0x45b9b7){const _0x4dc987=_0x4af273,{unitIDs:_0xc70850,memberID:_0xfb32f6,isForwarded:_0x43e881}=_0x45b9b7;_0xc70850[_0x4dc987(0x26c)](_0x4676fc=>{const _0x467086=_0x4dc987;if(!_0x43e881&&this[_0x467086(0x105)][_0x467086(0x280)](_0x4676fc)&&this['_ensureSubject'](_0x4676fc)[_0x467086(0x2d7)](_0x41e580[_0x467086(0x17d)][_0x467086(0x338)]),!this[_0x467086(0x105)][_0x467086(0x280)](_0x4676fc)||!this[_0x467086(0x105)][_0x467086(0x298)](_0x4676fc)['has'](_0xfb32f6)){const _0x583c1e=this[_0x467086(0x105)][_0x467086(0x298)](_0x4676fc)||new Set();_0x583c1e[_0x467086(0x3bb)](_0xfb32f6),this['_unitOnClients'][_0x467086(0x39f)](_0x4676fc,_0x583c1e),this[_0x467086(0x37c)](_0xfb32f6);}}),_0x43e881||this[_0x4dc987(0x285)]({'type':0x0,'memberID':this[_0x4dc987(0x237)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4af273(0x37c)](_0x23366c){const _0x3d3844=_0x4af273;this['_removeClearOtherTimer'](_0x23366c);const _0x42291d=window[_0x3d3844(0x178)](()=>{const _0x1fb3d7=_0x3d3844;this[_0x1fb3d7(0x105)]['forEach'](_0x59f58a=>{const _0x1f39af=_0x1fb3d7;_0x59f58a[_0x1f39af(0x2f3)](_0x23366c);});},_0x3b63fd*0x2);this[_0x3d3844(0x2ea)][_0x3d3844(0x39f)](_0x23366c,_0x42291d);}[_0x4af273(0x35d)](_0x384236){const _0x454cda=_0x4af273;if(this[_0x454cda(0x2ea)][_0x454cda(0x280)](_0x384236)){const _0x5ea6f0=this[_0x454cda(0x2ea)][_0x454cda(0x298)](_0x384236);_0x5ea6f0&&window['clearTimeout'](_0x5ea6f0),this[_0x454cda(0x2ea)]['set'](_0x384236,null);}}['_handleLeaveEvent'](_0x2a9392){const _0x2c8b06=_0x4af273,{memberID:_0x11cc0d,unitIDs:_0x4bcaf3}=_0x2a9392;_0x4bcaf3[_0x2c8b06(0x26c)](_0x4c9c2d=>{const _0x548e8a=_0x2c8b06;var _0x29e610;const _0x6668f7=this[_0x548e8a(0x105)]['get'](_0x4c9c2d);_0x6668f7&&(_0x6668f7[_0x548e8a(0x2f3)](_0x11cc0d),(_0x29e610=this[_0x548e8a(0x3b7)](_0x4c9c2d))==null||_0x29e610['next'](_0x6668f7[_0x548e8a(0x124)]===0x0?_0x41e580[_0x548e8a(0x17d)]['NO_OTHER_CLIENTS_EDITING']:_0x41e580['UnitStatus'][_0x548e8a(0x338)]));}),this[_0x2c8b06(0x35d)](_0x11cc0d);}[_0x4af273(0x2ce)](_0x397d53){const _0x3c8187=_0x4af273;this[_0x3c8187(0x37c)](_0x397d53['memberID']);}['_send'](_0x1adc75){const _0x5b0a5e=_0x4af273;localStorage[_0x5b0a5e(0x136)](_0x2572c3,JSON[_0x5b0a5e(0x18a)](_0x1adc75));}[_0x4af273(0x1f3)](){const _0x5dbb61=_0x4af273;this[_0x5dbb61(0x334)]=window['setInterval'](()=>{const _0xc17aa3=_0x5dbb61;this[_0xc17aa3(0x285)]({'type':0x2,'memberID':this[_0xc17aa3(0x237)]});},_0x3b63fd);}[_0x4af273(0x3b7)](_0x25fbf9){const _0x1a36cd=_0x4af273;return this[_0x1a36cd(0x242)][_0x1a36cd(0x280)](_0x25fbf9)||this[_0x1a36cd(0x242)][_0x1a36cd(0x39f)](_0x25fbf9,new _0x33c65e[(_0x1a36cd(0x301))](_0x41e580[_0x1a36cd(0x17d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1a36cd(0x242)][_0x1a36cd(0x298)](_0x25fbf9);}}_0x1f8ef7[_0x4af273(0x170)]=_0x5994ee,_0x1f8ef7[_0x4af273(0x161)]=_0x4323d0,_0x1f8ef7[_0x4af273(0xf8)]=_0x4918ef,_0x1f8ef7[_0x4af273(0xf9)]=_0x11f47e,Object[_0x4af273(0x1b0)](_0x1f8ef7,Symbol['toStringTag'],{'value':_0x4af273(0x28a)});}));